{ // 获取包含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 }); }); } })(); \", StandardCharsets.UTF_8);\n// FullHttpResponse res = new DefaultFullHttpResponse(HTTP_1_1, HttpResponseStatus.OK, content);\n// sendHttpResponse(ctx, req, res);\n// } else {\n// sendHttpResponse(ctx, req, new DefaultFullHttpResponse(HTTP_1_1, NOT_FOUND));\n// }\n /* // Send the demo page and favicon.ico\n if (\"/\".equals(req.uri())) {\n ByteBuf content = WebSocketServerBenchmarkPage.getContent(getWebSocketLocation(req));\n FullHttpResponse res = new DefaultFullHttpResponse(HTTP_1_1, OK, content);\n\n res.headers().set(HttpHeaderNames.CONTENT_TYPE, \"text/html; charset=UTF-8\");\n HttpUtil.setContentLength(res, content.readableBytes());\n\n sendHttpResponse(ctx, req, res);\n return;\n } else {\n if (\"/favicon.ico\".equals(req.uri())) {\n FullHttpResponse res = new DefaultFullHttpResponse(HTTP_1_1, NOT_FOUND);\n sendHttpResponse(ctx, req, res);\n return;\n }\n*/\n // Handshake\n\n }","title":""},{"docid":"eef61986375043509c3b408effa35c26","score":"0.4558275","text":"private HTTPResponse connect(HttpURLConnection connection) throws HTTPException, IOException {\n\t\tHTTPResponse response = new HTTPResponse(connection);\n\t\tresponse.checkStatus();\n\t\treturn response;\n\t}","title":""},{"docid":"dab7c2156f3ac4ba9c8031e2e74bf4ff","score":"0.4551519","text":"private HTTPGETrequest(String host, int port)\r\n {\r\n BASE_URL = \"http://\" + host + \":\" + port + \"/\";\r\n }","title":""},{"docid":"a060c78ff26c3a614950e2916925df62","score":"0.45498735","text":"public String connectHeadNamespacedPodProxy(String name, String namespace, String path)\n throws ApiException {\n ApiResponse localVarResp =\n connectHeadNamespacedPodProxyWithHttpInfo(name, namespace, path);\n return localVarResp.getData();\n }","title":""},{"docid":"1665d82265dd5ae6080491d895f72a15","score":"0.45410076","text":"HttpMethod getHttpGetWithVirtualHost(String baseUrl,\n String virtualHost) throws UnknownHostException, MalformedURLException;","title":""},{"docid":"9483f93e0b31ee60df3837a90fc0d5d5","score":"0.45351315","text":"public final boolean exchangeHeaders(final com.koushikdutta.async.http.b.c r9) {\n /*\n r8 = this;\n java.lang.String r0 = r9.protocol\n com.koushikdutta.async.http.Protocol r0 = com.koushikdutta.async.http.Protocol.get(r0)\n if (r0 == 0) goto L_0x0015\n com.koushikdutta.async.http.Protocol r1 = com.koushikdutta.async.http.Protocol.HTTP_1_0\n if (r0 == r1) goto L_0x0015\n com.koushikdutta.async.http.Protocol r1 = com.koushikdutta.async.http.Protocol.HTTP_1_1\n if (r0 == r1) goto L_0x0015\n boolean r9 = super.exchangeHeaders(r9)\n return r9\n L_0x0015:\n com.koushikdutta.async.http.d r0 = r9.request\n com.koushikdutta.async.http.d r1 = r9.request\n com.koushikdutta.async.http.a.a r1 = r1.getBody()\n if (r1 == 0) goto L_0x006f\n int r2 = r1.length()\n if (r2 < 0) goto L_0x003e\n com.koushikdutta.async.http.n r2 = r0.getHeaders()\n int r3 = r1.length()\n java.lang.String r3 = java.lang.String.valueOf(r3)\n java.lang.String r4 = \"Content-Length\"\n r2.set(r4, r3)\n com.koushikdutta.async.http.b$h r2 = r9.response\n com.koushikdutta.async.j r3 = r9.socket\n r2.sink(r3)\n goto L_0x006f\n L_0x003e:\n com.koushikdutta.async.http.n r2 = r0.getHeaders()\n java.lang.String r3 = \"Connection\"\n java.lang.String r2 = r2.get(r3)\n java.lang.String r3 = \"close\"\n boolean r2 = r3.equals(r2)\n if (r2 == 0) goto L_0x0058\n com.koushikdutta.async.http.b$h r2 = r9.response\n com.koushikdutta.async.j r3 = r9.socket\n r2.sink(r3)\n goto L_0x006f\n L_0x0058:\n com.koushikdutta.async.http.n r2 = r0.getHeaders()\n java.lang.String r3 = \"Transfer-Encoding\"\n java.lang.String r4 = \"Chunked\"\n r2.set(r3, r4)\n com.koushikdutta.async.http.b$h r2 = r9.response\n com.koushikdutta.async.http.d.c r3 = new com.koushikdutta.async.http.d.c\n com.koushikdutta.async.j r4 = r9.socket\n r3.(r4)\n r2.sink(r3)\n L_0x006f:\n com.koushikdutta.async.http.w r2 = r0.getRequestLine()\n java.lang.String r2 = r2.toString()\n com.koushikdutta.async.http.n r3 = r0.getHeaders()\n java.lang.String r2 = r3.toPrefixString(r2)\n byte[] r3 = r2.getBytes()\n r4 = 1\n if (r1 == 0) goto L_0x0098\n int r5 = r1.length()\n if (r5 < 0) goto L_0x0098\n int r1 = r1.length()\n int r5 = r3.length\n int r1 = r1 + r5\n r5 = 1024(0x400, float:1.435E-42)\n if (r1 >= r5) goto L_0x0098\n r1 = 1\n goto L_0x0099\n L_0x0098:\n r1 = 0\n L_0x0099:\n if (r1 == 0) goto L_0x00b0\n com.koushikdutta.async.k r1 = new com.koushikdutta.async.k\n com.koushikdutta.async.http.b$h r5 = r9.response\n com.koushikdutta.async.q r5 = r5.sink()\n r1.(r5)\n r1.forceBuffering(r4)\n com.koushikdutta.async.http.b$h r5 = r9.response\n r5.sink(r1)\n r5 = r1\n goto L_0x00b6\n L_0x00b0:\n r1 = 0\n com.koushikdutta.async.j r5 = r9.socket\n r7 = r5\n r5 = r1\n r1 = r7\n L_0x00b6:\n java.lang.String r2 = java.lang.String.valueOf(r2)\n java.lang.String r6 = \"\\n\"\n java.lang.String r2 = r6.concat(r2)\n r0.logv(r2)\n com.koushikdutta.async.a.a r0 = r9.sendHeadersCallback\n com.koushikdutta.async.http.p$1 r2 = new com.koushikdutta.async.http.p$1\n r2.(r0, r5)\n com.koushikdutta.async.af.writeAll((com.koushikdutta.async.q) r1, (byte[]) r3, (com.koushikdutta.async.a.a) r2)\n com.koushikdutta.async.http.p$2 r0 = new com.koushikdutta.async.http.p$2\n r0.(r9)\n com.koushikdutta.async.y r1 = new com.koushikdutta.async.y\n r1.()\n com.koushikdutta.async.j r9 = r9.socket\n r9.setDataCallback(r1)\n r1.setLineCallback(r0)\n return r4\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.koushikdutta.async.http.p.exchangeHeaders(com.koushikdutta.async.http.b$c):boolean\");\n }","title":""},{"docid":"f910d425f0a472a2af68476cc775f9a3","score":"0.45262572","text":"public static void readHEAD() {\n File file = Utils.join(Repository.BRANCH_DIR, \"HEAD\");\n pointBranchName = readObject(file, String.class);\n }","title":""},{"docid":"965d5851fd7f6f3aafce13bcdb8dd3e9","score":"0.45250562","text":"public void sendServerPing();","title":""},{"docid":"e3100f00731e08599275afedb638d542","score":"0.45206952","text":"private static String processGet(String[] command) throws IOException {\r\n\t\tif (!command[0].equals(\"GET\")) {\r\n\t\t\treturn \"\" + 500 + getTimeAndDate();\r\n\t\t}\r\n\t\tString result = processHead(command);\r\n\t\tif (result.startsWith(\"200\")) {\r\n\t\t\treturn result;\r\n\t\t} else\r\n\t\t\treturn \"400\" + getTimeAndDate();\r\n\t}","title":""},{"docid":"760ae6ba2b65695893efcf4fed68eb5b","score":"0.450627","text":"public void handleRequest(HttpServerConnection conn, HttpContext context) throws IOException, HttpException {\n/* 302 */ context.setAttribute(\"http.connection\", conn);\n/* */ \n/* 304 */ HttpRequest request = null;\n/* 305 */ HttpResponse response = null;\n/* */ \n/* */ try {\n/* 308 */ request = conn.receiveRequestHeader();\n/* 309 */ if (request instanceof HttpEntityEnclosingRequest)\n/* */ {\n/* 311 */ if (((HttpEntityEnclosingRequest)request).expectContinue()) {\n/* 312 */ response = this.responseFactory.newHttpResponse((ProtocolVersion)HttpVersion.HTTP_1_1, 100, context);\n/* */ \n/* 314 */ if (this.expectationVerifier != null) {\n/* */ try {\n/* 316 */ this.expectationVerifier.verify(request, response, context);\n/* 317 */ } catch (HttpException ex) {\n/* 318 */ response = this.responseFactory.newHttpResponse((ProtocolVersion)HttpVersion.HTTP_1_0, 500, context);\n/* */ \n/* 320 */ handleException(ex, response);\n/* */ } \n/* */ }\n/* 323 */ if (response.getStatusLine().getStatusCode() < 200) {\n/* */ \n/* */ \n/* 326 */ conn.sendResponseHeader(response);\n/* 327 */ conn.flush();\n/* 328 */ response = null;\n/* 329 */ conn.receiveRequestEntity((HttpEntityEnclosingRequest)request);\n/* */ } \n/* */ } else {\n/* 332 */ conn.receiveRequestEntity((HttpEntityEnclosingRequest)request);\n/* */ } \n/* */ }\n/* */ \n/* 336 */ context.setAttribute(\"http.request\", request);\n/* */ \n/* 338 */ if (response == null) {\n/* 339 */ response = this.responseFactory.newHttpResponse((ProtocolVersion)HttpVersion.HTTP_1_1, 200, context);\n/* */ \n/* 341 */ this.processor.process(request, context);\n/* 342 */ doService(request, response, context);\n/* */ } \n/* */ \n/* */ \n/* 346 */ if (request instanceof HttpEntityEnclosingRequest) {\n/* 347 */ HttpEntity entity = ((HttpEntityEnclosingRequest)request).getEntity();\n/* 348 */ EntityUtils.consume(entity);\n/* */ }\n/* */ \n/* 351 */ } catch (HttpException ex) {\n/* 352 */ response = this.responseFactory.newHttpResponse((ProtocolVersion)HttpVersion.HTTP_1_0, 500, context);\n/* */ \n/* */ \n/* 355 */ handleException(ex, response);\n/* */ } \n/* */ \n/* 358 */ context.setAttribute(\"http.response\", response);\n/* */ \n/* 360 */ this.processor.process(response, context);\n/* 361 */ conn.sendResponseHeader(response);\n/* 362 */ if (canResponseHaveBody(request, response)) {\n/* 363 */ conn.sendResponseEntity(response);\n/* */ }\n/* 365 */ conn.flush();\n/* */ \n/* 367 */ if (!this.connStrategy.keepAlive(response, context)) {\n/* 368 */ conn.close();\n/* */ }\n/* */ }","title":""},{"docid":"0cee8d5cf9162bbe1b18b7b07fcf025c","score":"0.45007548","text":"StatusReply ping() throws RedisException;","title":""},{"docid":"3faf705c874046d7bb85c21deff7e91e","score":"0.44955114","text":"protected HandshakeStatus createCrawlerHandshakeStatus( )\n {\n HTTPHeaderGroup crawlerHeaders = new HTTPHeaderGroup( \n HTTPHeaderGroup.COMMON_HANDSHAKE_GROUP );\n \n boolean isUltrapeer = servent.isUltrapeer();\n \n crawlerHeaders.addHeader( new HTTPHeader(\n GnutellaHeaderNames.X_ULTRAPEER, String.valueOf( isUltrapeer ) ) );\n \n if ( isUltrapeer )\n {\n // add connected leaves...\n Host[] leafs = servent.getHostService().getLeafConnections();\n if ( leafs.length > 0 )\n {\n String leafAddressString = buildHostAddressString(leafs, leafs.length );\n crawlerHeaders.addHeader( new HTTPHeader( GnutellaHeaderNames.LEAVES,\n leafAddressString ) );\n }\n }\n \n // add connected ultrapeers \n Host[] ultrapeers = servent.getHostService().getUltrapeerConnections();\n if ( ultrapeers.length > 0 )\n {\n String ultrapeerAddressString = buildHostAddressString(ultrapeers, ultrapeers.length );\n crawlerHeaders.addHeader( new HTTPHeader( GnutellaHeaderNames.PEERS,\n ultrapeerAddressString ) );\n }\n \n return new HandshakeStatus( STATUS_CODE_OK,\n STATUS_MESSAGE_OK, crawlerHeaders );\n }","title":""},{"docid":"78dc78dcd880f20526db730149e4480b","score":"0.4494063","text":"HttpProtocol protocol();","title":""},{"docid":"fcf3a52f3479d21a6b88e16d0b0d2566","score":"0.44938645","text":"public Node getHead(){\n return this.head;\n }","title":""},{"docid":"d49c0914da014a4127871111a383e851","score":"0.44888487","text":"void proxyOpFailureClientOverloaded();","title":""},{"docid":"f4029cf8a6b839d539f1745e3f8995c1","score":"0.4486167","text":"@Override\n\tpublic void beforeRequest(Channel clientChannel, HttpRequest httpRequest, HttpProxyInterceptPipeline pipeline) throws Exception {\n\t\tif (log.isDebugEnabled()) {\n\t\t\tlog.debugf(\"resquest url : \\n\\t %s\", httpRequest.uri());\n\t\t}\n\t\tpipeline.beforeRequest(clientChannel, httpRequest);\n\t}","title":""},{"docid":"773b70c30a2c15c49b01f994a1828752","score":"0.4480619","text":"@Test\n public void PreemptiveAuthentication ()\n {\n\t given()\n\t\t.proxy(\"192.168.100.1\", 8081)\n\t .when()\n\t\t.get(\"http://restapi.demoqa.com/authentication/CheckForAuthentication/\")\n\t .then()\n\t\t.statusCode(200);\n\n }","title":""},{"docid":"8ab1a5b6869a801d47c9c966c8c636f8","score":"0.44775826","text":"@Test\n public void testGetAllRecipes() {\n\n System.out.println(webresall);\n\n System.out.println(webresall.get(String.class));\n ClientResponse head = webresall.head();\n\n if(head.getStatus()==200)\n assertEquals(200,head.getStatus());\n else\n fail(\"Some errors occurred\");\n }","title":""},{"docid":"b615e56807e409e184f050f4b941ff4f","score":"0.44720665","text":"@Override\n\tpublic void run() \n {\n\t\tBufferedReader in = null;\n PrintWriter headerOut = null;\n BufferedOutputStream dataOut = null;\n \n\t\tString filePath = null;\n List supportedMethods = new ArrayList<>(Arrays.asList(\"GET\", \"HEAD\"));\n\t\t\n\t\ttry \n {\n //input stream\n\t\t\tin = new BufferedReader(new InputStreamReader(socket.getInputStream()));\n\t\t\t//text output stream for headers\n\t\t\theaderOut = new PrintWriter(socket.getOutputStream());\n\t\t\t//binary output stream for data\n\t\t\tdataOut = new BufferedOutputStream(socket.getOutputStream());\n\t\t\t\n\t\t\t//get first line of the request from the client\n\t\t\tString input = in.readLine();\n\t\t\t//parse the request with a string tokenizer\n\t\t\tStringTokenizer parser = new StringTokenizer(input);\n\t\t\t//get method and file requested\n\t\t\tString method = parser.nextToken().toUpperCase();\n\t\t\tfilePath = parser.nextToken().toLowerCase();\n\t\t\t\n\t\t\t//check supported methods\n\t\t\tif(!supportedMethods.contains(method)) \n {\n\t\t\t\tif (verbose) \n\t\t\t\t\tSystem.out.println(\"501 Not Implemented : \" + method + \" method.\");\n\t\t\t\t\n\t\t\t\t//return the not supported file to the client\n\t\t\t\tbyte[] fileData = readFileData(WEB_ROOT + \"/\" + METHOD_NOT_SUPPORTED);\n\t\t\t\tint fileLength = fileData.length;\n\t\t\t\tString contentMimeType = \"text/html\";\n\t\t\t\t\t\n\t\t\t\t//send HTTP headers\n\t\t\t\theaderOut.println(\"HTTP/1.1 501 Not Implemented\");\n\t\t\t\theaderOut.println(\"Server: Java HTTP Server from samu902 : 1.0\");\n\t\t\t\theaderOut.println(\"Date: \" + new Date());\n\t\t\t\theaderOut.println(\"Content-type: \" + contentMimeType);\n\t\t\t\theaderOut.println(\"Content-length: \" + fileLength);\n\t\t\t\theaderOut.println(); //blank line between headers and content, very important!\n\t\t\t\theaderOut.flush(); \n\t\t\t\t//send file data\n\t\t\t\tdataOut.write(fileData, 0, fileLength);\n\t\t\t\tdataOut.flush();\t\n\t\t\t} \n else \n {\n //special treatment for this file\n if(filePath.endsWith(\"/punti-vendita.xml\"))\n {\n puntiVendita(headerOut, dataOut);\n return;\n }\n \n //DB paths\n if(filePath.equals(DB_JSON_URL) || filePath.equals(DB_XML_URL))\n {\n databaseData(headerOut, dataOut, filePath);\n return;\n }\n \n\t\t\t\t//if path is a folder, append the default file\n\t\t\t\tif (filePath.endsWith(\"/\"))\n\t\t\t\t\tfilePath += DEFAULT_FILE;\n \n //GET method so we return content\n\t\t\t\tif (method.equals(\"GET\")) \n {\n\t\t\t\t\tbyte[] fileData = readFileData(WEB_ROOT + filePath);\n int fileLength = fileData.length;\n String content = getContentType(filePath);\n\t\t\t\t\t\n\t\t\t\t\t//send HTTP headers\n\t\t\t\t\theaderOut.println(\"HTTP/1.1 200 OK\");\n\t\t\t\t\theaderOut.println(\"Server: Java HTTP Server from Samu902 : 1.0\");\n\t\t\t\t\theaderOut.println(\"Date: \" + new Date());\n\t\t\t\t\theaderOut.println(\"Content-type: \" + content);\n\t\t\t\t\theaderOut.println(\"Content-length: \" + fileLength);\n\t\t\t\t\theaderOut.println(); // blank line between headers and content, very important!\n\t\t\t\t\theaderOut.flush();\n //send file data\n dataOut.write(fileData, 0, fileLength);\n dataOut.flush();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (verbose)\n\t\t\t\t\tSystem.out.println(\"File \" + filePath + \" of type \" + getContentType(filePath) + \" returned\");\t\n\t\t\t}\n\t\t} \n catch (FileNotFoundException fnfe) \n {\n\t\t\ttry \n { \n //if file is without extension (and not a folder) and doesn't exist, try to redirect to a folder with the same name\n if(getFileExtension(filePath).equals(\"\") && !filePath.endsWith(\"/\"))\n {\n redirectToFolder(headerOut, filePath);\n return;\n }\n \n\t\t\t\tfileNotFound(headerOut, dataOut, filePath);\n\t\t\t} \n catch (IOException ioe) \n {\n\t\t\t\tSystem.err.println(\"Error with file not found exception : \" + ioe.getMessage());\n\t\t\t}\n\t\t}\n catch (IOException ioe) \n {\n\t\t\tSystem.err.println(\"Server error : \" + ioe);\n\t\t} \n finally \n {\n\t\t\ttry \n {\n //close streams and socket connection\n\t\t\t\tin.close();\n\t\t\t\theaderOut.close();\n\t\t\t\tdataOut.close();\n\t\t\t\tsocket.close();\n\t\t\t} \n catch (Exception e) \n {\n\t\t\t\tSystem.err.println(\"Error closing stream : \" + e.getMessage());\n\t\t\t} \n\t\t\t\n\t\t\tif (verbose)\n\t\t\t\tSystem.out.println(\"Connection closed.\\n\");\n\t\t}\n\t}","title":""},{"docid":"4df88af1624df25c4451ef7c664c924a","score":"0.4468773","text":"public okhttp3.Call connectHeadNamespacedPodProxyWithPathCall(\n String name, String namespace, String path, String path2, final ApiCallback _callback)\n throws ApiException {\n Object localVarPostBody = null;\n\n // create path and map variables\n String localVarPath =\n \"/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}\"\n .replaceAll(\"\\\\{\" + \"name\" + \"\\\\}\", localVarApiClient.escapeString(name.toString()))\n .replaceAll(\n \"\\\\{\" + \"namespace\" + \"\\\\}\", localVarApiClient.escapeString(namespace.toString()))\n .replaceAll(\"\\\\{\" + \"path\" + \"\\\\}\", localVarApiClient.escapeString(path.toString()));\n\n List localVarQueryParams = new ArrayList();\n List localVarCollectionQueryParams = new ArrayList();\n if (path2 != null) {\n localVarQueryParams.addAll(localVarApiClient.parameterToPair(\"path\", path2));\n }\n\n Map localVarHeaderParams = new HashMap();\n Map localVarCookieParams = new HashMap();\n Map localVarFormParams = new HashMap();\n final String[] localVarAccepts = {\"*/*\"};\n final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);\n if (localVarAccept != null) {\n localVarHeaderParams.put(\"Accept\", localVarAccept);\n }\n\n final String[] localVarContentTypes = {};\n\n final String localVarContentType =\n localVarApiClient.selectHeaderContentType(localVarContentTypes);\n localVarHeaderParams.put(\"Content-Type\", localVarContentType);\n\n String[] localVarAuthNames = new String[] {\"BearerToken\"};\n return localVarApiClient.buildCall(\n localVarPath,\n \"HEAD\",\n localVarQueryParams,\n localVarCollectionQueryParams,\n localVarPostBody,\n localVarHeaderParams,\n localVarCookieParams,\n localVarFormParams,\n localVarAuthNames,\n _callback);\n }","title":""},{"docid":"ba6c5647671aedaeb7f42891ec619bd7","score":"0.4465882","text":"public Head getHead() {\n return head;\n }","title":""},{"docid":"8de2790c4813b24d6c578c5b2a5e3e13","score":"0.4459128","text":"@Test\n public void seleniumTest() throws Exception\n {\n System.setProperty(\"webdriver.chrome.driver\", \"/Users/evgenyp/Downloads/chromedriver\");\n\n // start the proxy\n BrowserMobProxy proxy = new BrowserMobProxyServer();\n proxy.start(0);\n\n // get the Selenium proxy object\n Proxy seleniumProxy = ClientUtil.createSeleniumProxy(proxy);\n\n // configure it as a desired capability\n DesiredCapabilities capabilities = new DesiredCapabilities();\n capabilities.setCapability(CapabilityType.PROXY, seleniumProxy);\n\n ChromeOptions options = new ChromeOptions();\n options.merge(capabilities);\n\n // start the browser up\n WebDriver driver = new ChromeDriver(options);\n\n // enable more detailed HAR capture, if desired (see CaptureType for the complete list)\n proxy.enableHarCaptureTypes(CaptureType.REQUEST_CONTENT, CaptureType.RESPONSE_CONTENT, CaptureType.REQUEST_HEADERS, CaptureType.RESPONSE_HEADERS);\n\n /**\n * add custom header to request*\n **/\n //proxy.addHeader(\"User-Agent\", \"TEST_AGENT\");\n //proxy.addHeader(\"Custom-header\", \"CUSTOM_HEADER\");\n\n\n /**\n * Enable a response filter, which will monitor all responses and do some actions\n */\n\n ResponseFilter filter = new ResponseFilter() {\n public void filterResponse(HttpResponse httpResponse, HttpMessageContents httpMessageContents, HttpMessageInfo httpMessageInfo) {\n\n\n //Print all url's, so we can later use it to filter particular responses:\n System.out.println(\"intercepting response for url :\" + httpMessageInfo.getOriginalUrl());\n\n //Change http status to another for some url\n if (httpMessageInfo.getOriginalUrl().contains(\"homepage-hero-large.jpg\")) {\n\n System.out.println(\"FOUND URL\");\n HttpResponseStatus newStatus = new HttpResponseStatus(500,\"ERROR\");\n HttpResponse res = httpResponse;\n res.setStatus(newStatus);\n\n }\n\n //change all occurrences of the word Wix to SUCCESS\n //String messageContents = httpMessageContents.getTextContents();\n //String newContents = messageContents.replaceAll(\"Wix\", \"SUCCESS\");\n //httpMessageContents.setTextContents(newContents);\n }\n };\n\n proxy.addResponseFilter(filter);\n\n // create a new HAR with the label \"wix.com\"\n proxy.newHar(\"wix.com\");\n\n // open yahoo.com\n driver.get(\"http://wix.com\");\n TimeUnit.SECONDS.sleep(15);\n // get the HAR data which can be used later to analyze statistics\n Har har = proxy.getHar();\n\n String requestType = har.getLog().getEntries().get(0).getRequest().getMethod();\n String url = har.getLog().getEntries().get(0).getRequest().getUrl();\n int number = har.getLog().getEntries().size();\n\n\n System.out.println(\"Total: \" + number + \" requests/responses \");\n System.out.println(\"The first request was of type \" + requestType + \", to URL \" + url);\n\n TimeUnit.SECONDS.sleep(10);\n driver.close();\n driver.quit();\n }","title":""}],"string":"[\n {\n \"docid\": \"1c3de17bb57e0ac460feace89c96c363\",\n \"score\": \"0.70084625\",\n \"text\": \"@Override\\n public HttpResponse head() {\\n this.type = \\\"HEAD\\\";\\n try {\\n return new HttpAsyncResponse(prepare(prepareHead()).execute().get());\\n } catch (final Exception e) {\\n throw new RuntimeException(e);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"836b31324d019995f2a10f63b2f15189\",\n \"score\": \"0.68669283\",\n \"text\": \"public HTTPResponse head(String url) throws IOException {\\n\\t\\tHttpURLConnection connection = _connectionProvider.getConnection(url);\\n\\t\\tconnection.setDoOutput(true);\\n\\t\\tconnection.setRequestMethod(\\\"HEAD\\\");\\n\\t\\treturn connect(connection);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7e07d3df6cf18b96edd7b2ca11d42115\",\n \"score\": \"0.6846149\",\n \"text\": \"private static String processHead(String[] command) throws IOException {\\r\\n\\t\\tif (!(command[0].equals(\\\"HEAD\\\") || command[0].equals(\\\"GET\\\"))) {\\r\\n\\t\\t\\treturn \\\"\\\" + 500 + getTimeAndDate();\\r\\n\\t\\t}\\r\\n\\t\\tPath path = generatePath(command[1]);\\r\\n\\t\\tString contentType = \\\"\\\\nContent-Type: \\\" + Files.probeContentType(path);\\r\\n\\t\\tString contentLength = \\\"\\\\nContent-Length: \\\" + readFile(path).getBytes().length;\\r\\n\\t\\treturn 200 + \\\"\\\\nHost: localhost:6789\\\" + getTimeAndDate() + contentType + contentLength;\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"38b9731d2dae276e713ad18b47ed46fc\",\n \"score\": \"0.66871095\",\n \"text\": \"@Override\\n public Promise headAsync() {\\n this.type = \\\"HEAD\\\";\\n return execute(prepareHead());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"018fb89f112b807fc0636caa2280a120\",\n \"score\": \"0.6189115\",\n \"text\": \"private static NativeObject sendHttpHEADRequest(String urlVal, String invalidStatusCodesRegex) {\\n\\n boolean isConnectionError = true;\\n String response = null;\\n\\n NativeObject data = new NativeObject();\\n\\n HttpClient client = new DefaultHttpClient();\\n HttpHead head = new HttpHead(urlVal);\\n client.getParams().setParameter(\\\"http.socket.timeout\\\", 4000);\\n client.getParams().setParameter(\\\"http.connection.timeout\\\", 4000);\\n\\n\\n if (System.getProperty(APIConstants.HTTP_PROXY_HOST) != null &&\\n System.getProperty(APIConstants.HTTP_PROXY_PORT) != null) {\\n if (log.isDebugEnabled()) {\\n log.debug(\\\"Proxy configured, hence routing through configured proxy\\\");\\n }\\n String proxyHost = System.getProperty(APIConstants.HTTP_PROXY_HOST);\\n String proxyPort = System.getProperty(APIConstants.HTTP_PROXY_PORT);\\n client.getParams().setParameter(ConnRoutePNames.DEFAULT_PROXY,\\n new HttpHost(proxyHost, Integer.parseInt(proxyPort)));\\n }\\n\\n try {\\n HttpResponse httpResponse = client.execute(head);\\n String statusCode = String.valueOf(httpResponse.getStatusLine().getStatusCode());\\n String reasonPhrase = String.valueOf(httpResponse.getStatusLine().getReasonPhrase());\\n //If the endpoint doesn't match the regex which specify the invalid status code, it will return success.\\n if (!statusCode.matches(invalidStatusCodesRegex)) {\\n if (log.isDebugEnabled() && statusCode.equals(String.valueOf(HttpStatus.SC_METHOD_NOT_ALLOWED))) {\\n log.debug(\\\"Endpoint doesn't support HTTP HEAD\\\");\\n }\\n response = \\\"success\\\";\\n isConnectionError = false;\\n\\n } else {\\n //This forms the real backend response to be sent to the client\\n data.put(\\\"statusCode\\\", data, statusCode);\\n data.put(\\\"reasonPhrase\\\", data, reasonPhrase);\\n response = \\\"\\\";\\n isConnectionError = false;\\n }\\n } catch (IOException e) {\\n // sending a default error message.\\n log.error(\\\"Error occurred while connecting to backend : \\\" + urlVal + \\\", reason : \\\" + e.getMessage(), e);\\n String[] errorMsg = e.getMessage().split(\\\": \\\");\\n if (errorMsg.length > 1) {\\n response = errorMsg[errorMsg.length - 1]; //This is to get final readable part of the error message in the exception and send to the client\\n isConnectionError = false;\\n }\\n } finally {\\n client.getConnectionManager().shutdown();\\n }\\n data.put(\\\"response\\\", data, response);\\n data.put(\\\"isConnectionError\\\", data, isConnectionError);\\n return data;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b136d7c70da95f8dfda1a521157cc911\",\n \"score\": \"0.5872428\",\n \"text\": \"public static RequestRoute head() {\\n return new RequestRoute(Http.HEAD);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cdc181dae5f5718561a15359200315a9\",\n \"score\": \"0.57770544\",\n \"text\": \"public okhttp3.Call connectHeadNodeProxyCall(\\n String name, String path, final ApiCallback _callback) throws ApiException {\\n Object localVarPostBody = null;\\n\\n // create path and map variables\\n String localVarPath =\\n \\\"/api/v1/nodes/{name}/proxy\\\"\\n .replaceAll(\\\"\\\\\\\\{\\\" + \\\"name\\\" + \\\"\\\\\\\\}\\\", localVarApiClient.escapeString(name.toString()));\\n\\n List localVarQueryParams = new ArrayList();\\n List localVarCollectionQueryParams = new ArrayList();\\n if (path != null) {\\n localVarQueryParams.addAll(localVarApiClient.parameterToPair(\\\"path\\\", path));\\n }\\n\\n Map localVarHeaderParams = new HashMap();\\n Map localVarCookieParams = new HashMap();\\n Map localVarFormParams = new HashMap();\\n final String[] localVarAccepts = {\\\"*/*\\\"};\\n final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);\\n if (localVarAccept != null) {\\n localVarHeaderParams.put(\\\"Accept\\\", localVarAccept);\\n }\\n\\n final String[] localVarContentTypes = {};\\n\\n final String localVarContentType =\\n localVarApiClient.selectHeaderContentType(localVarContentTypes);\\n localVarHeaderParams.put(\\\"Content-Type\\\", localVarContentType);\\n\\n String[] localVarAuthNames = new String[] {\\\"BearerToken\\\"};\\n return localVarApiClient.buildCall(\\n localVarPath,\\n \\\"HEAD\\\",\\n localVarQueryParams,\\n localVarCollectionQueryParams,\\n localVarPostBody,\\n localVarHeaderParams,\\n localVarCookieParams,\\n localVarFormParams,\\n localVarAuthNames,\\n _callback);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fc96690fa1bab5b2d3055649fe254d46\",\n \"score\": \"0.56836325\",\n \"text\": \"public void getRequestHead() {\\n Header[] headers = this.response.getAllHeaders();\\n for (Header header : headers) {\\n System.out.println(header.toString());\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d6a3f7756b6fbb5ef77ecbc72e9426f4\",\n \"score\": \"0.5627052\",\n \"text\": \"public String connectHeadNodeProxy(String name, String path) throws ApiException {\\n ApiResponse localVarResp = connectHeadNodeProxyWithHttpInfo(name, path);\\n return localVarResp.getData();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0bb3bf1d30dac3f2f653acc114ab4728\",\n \"score\": \"0.5623863\",\n \"text\": \"public void headHandle(Socket client) throws IOException, NullPointerException\\n\\t{\\n\\t\\tlog.info(\\\"Inside HEAD\\\\n\\\");\\n\\t\\tfileNameOperation();\\n\\t\\t\\n\\t\\tString contentType=StartupUtility.getMimeType(fileName);\\n\\t\\tFile requestedFile=getFile(fileName);\\n\\t\\tif(requestedFile==null)\\n\\t\\t{\\n\\t\\t\\tresponseToClient.fileNotFound(client.getOutputStream());\\n\\t\\t}\\n\\t\\telse if(contentType==null)\\n\\t\\t{\\n\\t\\t\\tresponseToClient.fileTypeNotSupported(client.getOutputStream());\\n\\t\\t}\\n\\t\\t//if file exists\\n\\t\\telse\\n\\t\\t{\\n\\t\\t\\tlog.info(\\\"HEAD filename=\\\"+fileName+\\\" type= \\\"+contentType+\\\" size=\\\"+requestedFile.length()+\\\"\\\\n\\\");\\n\\t\\t\\t// send OK response along with the file\\n\\t\\t\\tresponseToClient.responseOkHEAD((int)requestedFile.length(),client.getOutputStream(), contentType);\\t\\t\\n\\t\\t}\\n\\t\\tlog.info(\\\"Exiting HEAD\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"85e75264c27672b2adccff8862d498f6\",\n \"score\": \"0.5618268\",\n \"text\": \"public void serveResource(HttpServletRequest request, HttpServletResponse response,\\n Resource resource, String xReproxy) throws IOException {\\n boolean content = \\\"HEAD\\\".equals(request.getMethod()) || xReproxy != null;\\n serveResource(request, response, !content, resource);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2bed3ea38cc5700a9f61abfbee49e83e\",\n \"score\": \"0.55763876\",\n \"text\": \"public String getHEAD() {\\r\\n return this.HEAD;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"82f2da2b8d09695838175856aac6cd19\",\n \"score\": \"0.54396695\",\n \"text\": \"public ApiResponse connectHeadNodeProxyWithHttpInfo(String name, String path)\\n throws ApiException {\\n okhttp3.Call localVarCall = connectHeadNodeProxyValidateBeforeCall(name, path, null);\\n Type localVarReturnType = new TypeToken() {}.getType();\\n return localVarApiClient.execute(localVarCall, localVarReturnType);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11c7f1f7479089c38606a5755b68fbaf\",\n \"score\": \"0.5437598\",\n \"text\": \"@Test\\n public void test1GBHead() throws Exception {\\n assertContentLength(200, HEAD, \\\"1GB\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"450ffdf63de262105b27026e103a86ef\",\n \"score\": \"0.5417226\",\n \"text\": \"private void handleProxy(OutputStream out, String url,\\n MimeHeader inmh) {\\n try {\\n int start = url.indexOf(\\\"://\\\") + 3;\\n int path = url.indexOf('/', start);\\n String site = url.substring(start, path).toLowerCase();\\n int port = 80;\\n String server_url = url.substring(path);\\n int colon = site.indexOf(':');\\n if (colon > 0) {\\n port = Integer.parseInt(site.substring(colon + 1));\\n site = site.substring(0, colon);\\n }\\n url = \\\"/cache/\\\" + site + ((port != 80) ? (\\\":\\\" + port) : \\\"\\\") +\\n server_url;\\n if (url.endsWith(\\\"/\\\"))\\n url += indexfile;\\n\\n if (!serveFromCache(out, url)) {\\n if (readFile(new File(docRoot + url), url) != null) {\\n serveFromCache(out, url);\\n return;\\n }\\n\\n // If we haven't already cached this page, open a socket\\n // to the site's port and send a GET command to it.\\n // We modify the user-agent to add ourselves... \\\"via\\\".\\n\\n Socket server = new Socket(site, port);\\n InputStream server_in = server.getInputStream();\\n OutputStream server_out = server.getOutputStream();\\n inmh.put(\\\"User-Agent\\\", inmh.get(\\\"User-Agent\\\") +\\n \\\" via JavaCompleteReferenceProxy/\\\" + version);\\n String req = \\\"GET \\\" + server_url + \\\" HTTP/1.0\\\" + CRLF +\\n inmh + CRLF;\\n writeString(server_out, req);\\n String raw_request = getRawRequest(server_in);\\n HttpResponse server_response =\\n new HttpResponse(raw_request);\\n writeString(out, server_response.toString());\\n if (server_response.statusCode == 200) {\\n UrlCacheEntry uce = loadFile(server_in, url,\\n server_response.mh);\\n out.write(uce.data, 0, uce.length);\\n writeDiskCache(uce);\\n logEntry(\\\"GET\\\", site + server_url, 200, uce.length);\\n }\\n server_out.close();\\n server.close();\\n }\\n } catch (IOException e) {\\n log.log(\\\"Exception: \\\" + e);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"20dcd025c628050b75650949a71303e4\",\n \"score\": \"0.5411755\",\n \"text\": \"public HttpResponse parseHead(SessionInputBuffer sessionBuffer) throws IOException, HttpException, ParseException {\\n this.lineBuf.clear();\\n if (sessionBuffer.readLine(this.lineBuf) != -1) {\\n return this.responseFactory.newHttpResponse(this.lineParser.parseStatusLine(this.lineBuf, new ParserCursor(0, this.lineBuf.length())), null);\\n }\\n throw new NoHttpResponseException(\\\"The target server failed to respond\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"72ccf7f4e832755fa981b7c1e0b4ee92\",\n \"score\": \"0.5364341\",\n \"text\": \"@HEAD\\r\\n @Path(\\\"/head-jersey\\\")\\r\\n @Produces(MediaType.TEXT_PLAIN)\\r\\n public String sayHEADPlainTextHello() {\\r\\n return \\\"Hello HEAD Jersey Plain\\\";\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e9fd906fdabb95328a4a91f5c746500\",\n \"score\": \"0.534376\",\n \"text\": \"@Override\\n\\tpublic void pingURL() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2688c394c54705b7f7a1ced97621cc9b\",\n \"score\": \"0.5330856\",\n \"text\": \"public okhttp3.Call connectHeadNodeProxyWithPathCall(\\n String name, String path, String path2, final ApiCallback _callback) throws ApiException {\\n Object localVarPostBody = null;\\n\\n // create path and map variables\\n String localVarPath =\\n \\\"/api/v1/nodes/{name}/proxy/{path}\\\"\\n .replaceAll(\\\"\\\\\\\\{\\\" + \\\"name\\\" + \\\"\\\\\\\\}\\\", localVarApiClient.escapeString(name.toString()))\\n .replaceAll(\\\"\\\\\\\\{\\\" + \\\"path\\\" + \\\"\\\\\\\\}\\\", localVarApiClient.escapeString(path.toString()));\\n\\n List localVarQueryParams = new ArrayList();\\n List localVarCollectionQueryParams = new ArrayList();\\n if (path2 != null) {\\n localVarQueryParams.addAll(localVarApiClient.parameterToPair(\\\"path\\\", path2));\\n }\\n\\n Map localVarHeaderParams = new HashMap();\\n Map localVarCookieParams = new HashMap();\\n Map localVarFormParams = new HashMap();\\n final String[] localVarAccepts = {\\\"*/*\\\"};\\n final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);\\n if (localVarAccept != null) {\\n localVarHeaderParams.put(\\\"Accept\\\", localVarAccept);\\n }\\n\\n final String[] localVarContentTypes = {};\\n\\n final String localVarContentType =\\n localVarApiClient.selectHeaderContentType(localVarContentTypes);\\n localVarHeaderParams.put(\\\"Content-Type\\\", localVarContentType);\\n\\n String[] localVarAuthNames = new String[] {\\\"BearerToken\\\"};\\n return localVarApiClient.buildCall(\\n localVarPath,\\n \\\"HEAD\\\",\\n localVarQueryParams,\\n localVarCollectionQueryParams,\\n localVarPostBody,\\n localVarHeaderParams,\\n localVarCookieParams,\\n localVarFormParams,\\n localVarAuthNames,\\n _callback);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cc8d7d7d6d13f9a2d482dbe584527f57\",\n \"score\": \"0.52025545\",\n \"text\": \"public int getContentLength(String pathname, int port, String host) \\n\\t{\\n\\t\\t//set up head request\\n\\t\\tString requestLine_1 = \\\"HEAD \\\" + pathname + \\\" HTTP/1.1\\\\r\\\\n\\\";\\n\\t\\tString requestLine_2 = \\\"Host: \\\" + host + \\\":\\\" + port + \\\"\\\\r\\\\n\\\";\\n\\t\\tString eoh_line = \\\"\\\\r\\\\n\\\";\\n\\t\\t\\n\\t\\t//initialize content length\\n\\t\\tint contentLength = 0;\\n\\t\\t\\n\\t\\ttry \\n\\t\\t{\\n\\t\\t\\t//open socket for communication\\n\\t\\t\\tSocket socket = new Socket(host, port);\\n \\t\\t\\n\\t\\t\\t//send head request\\n\\t\\t\\tString http_header = requestLine_1 + requestLine_2 + eoh_line;\\n\\t\\t\\tbyte[] http_header_in_bytes = http_header.getBytes(\\\"US-ASCII\\\");\\n\\t\\t\\tsocket.getOutputStream().write(http_header_in_bytes);\\n \\t\\t\\tsocket.getOutputStream().flush();\\n\\t\\t\\t\\n \\t\\t\\t//read response\\n \\t\\t\\tbyte[] responseBytes= new byte[2048];\\n \\t\\t\\tsocket.getInputStream().read(responseBytes);\\n \\t\\t\\tString responseString = new String(responseBytes, \\\"UTF-8\\\");\\n \\t\\t\\t\\n \\t\\t\\t//do nothing if file not found\\n \\t\\t\\tif(responseString.contains(\\\"404 NOT FOUND\\\"))\\n\\t\\t\\t{\\n \\t\\t\\t\\tSystem.out.println(\\\"NOT FOUND\\\");\\n\\t\\t\\t}\\n \\t\\t\\t//look for range length\\n \\t\\t\\telse if(responseString.contains(\\\"200 OK\\\"))\\n \\t\\t\\t{\\n\\t \\t\\t\\tif (responseString.contains(\\\"Accept-Ranges: bytes\\\"))\\n\\t \\t\\t\\t{\\n\\t \\t\\t\\t\\t//parse response to get content length\\n\\t \\t\\t\\t\\tString[] responses = responseString.split(\\\"\\\\n\\\", 8);\\n\\t \\t\\t\\t\\t//loop through the response lines\\n\\t\\t \\t\\t\\tfor (String line : responses) \\n\\t\\t \\t\\t\\t{\\n\\t\\t\\t \\t\\t\\tif (line.contains(\\\"Content-Length:\\\"))\\n\\t\\t\\t \\t\\t\\t{\\n\\t\\t\\t \\t\\t\\t\\t//Find the length of the file in bytes\\n\\t\\t\\t \\t\\t\\t\\tString[] content = line.split(\\\": \\\", 2);\\n\\t\\t\\t \\t\\t\\t\\t//remove last character to get just the numbers\\n\\t\\t\\t \\t\\t\\t\\tString length = content[1].substring(0, content[1].length()-1);\\n\\t\\t\\t \\t\\t\\t\\t//convert from string to integer\\n\\t\\t\\t \\t\\t\\t\\tcontentLength = Integer.parseInt(length);\\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\\t//does not support range request\\n \\t\\t\\telse\\n \\t\\t\\t{\\n\\t \\t\\t\\tSystem.out.println(\\\"Server does not support range requests.\\\");\\n\\t \\t\\t\\tSystem.exit(0);\\n \\t\\t\\t}\\n \\t\\t\\tsocket.close();\\n\\t\\t} \\n\\t\\tcatch (IOException e) \\n\\t\\t{\\n\\t\\t\\tSystem.out.println(\\\"Head Request Error\\\");\\n\\t\\t}\\t\\n\\t\\treturn contentLength;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5c6ec10113a61df7e6d14f1e90dcb330\",\n \"score\": \"0.5175773\",\n \"text\": \"public void fetchHeader() {\\n\\t\\ttry (Socket socket = new Socket(url.getHost(), PORT);\\n\\t\\t\\t\\tBufferedReader reader = new BufferedReader(\\n\\t\\t\\t\\t\\t\\tnew InputStreamReader(socket.getInputStream()));\\n\\t\\t\\t\\tPrintWriter writer = new PrintWriter(socket.getOutputStream());) {\\n\\n\\t\\t\\tString request = craftRequest();\\n\\t\\t\\twriter.println(request);\\n\\t\\t\\twriter.flush();\\n\\n\\t\\t\\tString nextLine = reader.readLine();\\n\\t\\t\\twhile (nextLine != null) {\\n\\t\\t\\t\\tif (nextLine.isEmpty()) {\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\theader.append(nextLine + \\\" \\\");\\n\\t\\t\\t\\t\\tnextLine = reader.readLine();\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\twhile (nextLine != null) {\\n\\t\\t\\t\\thtml.append(processLine(nextLine));\\n\\t\\t\\t\\tnextLine = reader.readLine();\\n\\t\\t\\t}\\n\\t\\t} catch (IOException e) {\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f29c20b56d7d64f608de36a9475855e8\",\n \"score\": \"0.5140016\",\n \"text\": \"protected HttpHost determineProxy(HttpHost target, HttpRequest request, HttpContext context) throws HttpException {\\n/* 64 */ return this.proxy;\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3b4a739d9280dbaa8fc3796549bcfe3b\",\n \"score\": \"0.51048476\",\n \"text\": \"public void performHEAD( String command)\\n {\\n int currow;\\n \\n ASPManager mgr = getASPManager();\\n ASPTransactionBuffer trans = mgr.newASPTransactionBuffer();\\n \\n currow = headset.getCurrentRowNo();\\n if(headlay.isMultirowLayout())\\n headset.storeSelections();\\n else\\n headset.selectRow();\\n headset.markSelectedRows( command );\\n mgr.submit(trans);\\n headset.refreshRow(); \\n headset.goTo(currow);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c8cfaacef988521273172dc11675fae6\",\n \"score\": \"0.50773734\",\n \"text\": \"HttpURLConnection mo240a(URL url, Proxy proxy);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fa9ef9c321f77656ecbb067867d3c488\",\n \"score\": \"0.506654\",\n \"text\": \"public String getHeadUrl() {\\n return headUrl;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a41217219a4db87ad5ebe2dd3893197c\",\n \"score\": \"0.5002527\",\n \"text\": \"public java.net.Socket tunnel(org.apache.http.HttpHost r17, org.apache.http.HttpHost r18, org.apache.http.auth.Credentials r19) throws java.io.IOException, org.apache.http.HttpException {\\n /*\\n r16 = this;\\n r3 = \\\"Proxy host\\\";\\n r0 = r17;\\n org.apache.http.util.Args.notNull(r0, r3);\\n r3 = \\\"Target host\\\";\\n r0 = r18;\\n org.apache.http.util.Args.notNull(r0, r3);\\n r3 = \\\"Credentials\\\";\\n r0 = r19;\\n org.apache.http.util.Args.notNull(r0, r3);\\n r2 = r18;\\n r3 = r2.getPort();\\n if (r3 > 0) goto L_0x002d;\\n L_0x001d:\\n r13 = new org.apache.http.HttpHost;\\n r3 = r2.getHostName();\\n r4 = 80;\\n r6 = r2.getSchemeName();\\n r13.(r3, r4, r6);\\n r2 = r13;\\n L_0x002d:\\n r1 = new org.apache.http.conn.routing.HttpRoute;\\n r0 = r16;\\n r3 = r0.requestConfig;\\n r3 = r3.getLocalAddress();\\n r5 = 0;\\n r6 = org.apache.http.conn.routing.RouteInfo.TunnelType.TUNNELLED;\\n r7 = org.apache.http.conn.routing.RouteInfo.LayerType.PLAIN;\\n r4 = r17;\\n r1.(r2, r3, r4, r5, r6, r7);\\n r0 = r16;\\n r3 = r0.connFactory;\\n r0 = r16;\\n r4 = r0.connectionConfig;\\n r9 = r3.create(r1, r4);\\n r9 = (org.apache.http.conn.ManagedHttpClientConnection) r9;\\n r8 = new org.apache.http.protocol.BasicHttpContext;\\n r8.();\\n r10 = new org.apache.http.message.BasicHttpRequest;\\n r3 = \\\"CONNECT\\\";\\n r4 = r2.toHostString();\\n r6 = org.apache.http.HttpVersion.HTTP_1_1;\\n r10.(r3, r4, r6);\\n r11 = new org.apache.http.impl.client.BasicCredentialsProvider;\\n r11.();\\n r3 = new org.apache.http.auth.AuthScope;\\n r0 = r17;\\n r3.(r0);\\n r0 = r19;\\n r11.setCredentials(r3, r0);\\n r3 = \\\"http.target_host\\\";\\n r0 = r18;\\n r8.setAttribute(r3, r0);\\n r3 = \\\"http.connection\\\";\\n r8.setAttribute(r3, r9);\\n r3 = \\\"http.request\\\";\\n r8.setAttribute(r3, r10);\\n r3 = \\\"http.route\\\";\\n r8.setAttribute(r3, r1);\\n r3 = \\\"http.auth.proxy-scope\\\";\\n r0 = r16;\\n r4 = r0.proxyAuthState;\\n r8.setAttribute(r3, r4);\\n r3 = \\\"http.auth.credentials-provider\\\";\\n r8.setAttribute(r3, r11);\\n r3 = \\\"http.authscheme-registry\\\";\\n r0 = r16;\\n r4 = r0.authSchemeRegistry;\\n r8.setAttribute(r3, r4);\\n r3 = \\\"http.request-config\\\";\\n r0 = r16;\\n r4 = r0.requestConfig;\\n r8.setAttribute(r3, r4);\\n r0 = r16;\\n r3 = r0.requestExec;\\n r0 = r16;\\n r4 = r0.httpProcessor;\\n r3.preProcess(r10, r4, r8);\\n L_0x00b3:\\n r3 = r9.isOpen();\\n if (r3 != 0) goto L_0x00c9;\\n L_0x00b9:\\n r14 = new java.net.Socket;\\n r3 = r17.getHostName();\\n r4 = r17.getPort();\\n r14.(r3, r4);\\n r9.bind(r14);\\n L_0x00c9:\\n r0 = r16;\\n r3 = r0.authenticator;\\n r0 = r16;\\n r4 = r0.proxyAuthState;\\n r3.generateAuthResponse(r10, r4, r8);\\n r0 = r16;\\n r3 = r0.requestExec;\\n r5 = r3.execute(r10, r9, r8);\\n r3 = r5.getStatusLine();\\n r15 = r3.getStatusCode();\\n r3 = 200; // 0xc8 float:2.8E-43 double:9.9E-322;\\n if (r15 >= r3) goto L_0x0105;\\n L_0x00e8:\\n r3 = new org.apache.http.HttpException;\\n r4 = new java.lang.StringBuilder;\\n r4.();\\n r6 = \\\"Unexpected response to CONNECT request: \\\";\\n r4 = r4.append(r6);\\n r6 = r5.getStatusLine();\\n r4 = r4.append(r6);\\n r4 = r4.toString();\\n r3.(r4);\\n throw r3;\\n L_0x0105:\\n r0 = r16;\\n r3 = r0.authenticator;\\n r0 = r16;\\n r6 = r0.proxyAuthStrategy;\\n r0 = r16;\\n r7 = r0.proxyAuthState;\\n r4 = r17;\\n r3 = r3.isAuthenticationRequested(r4, r5, r6, r7, r8);\\n if (r3 == 0) goto L_0x0149;\\n L_0x0119:\\n r0 = r16;\\n r3 = r0.authenticator;\\n r0 = r16;\\n r6 = r0.proxyAuthStrategy;\\n r0 = r16;\\n r7 = r0.proxyAuthState;\\n r4 = r17;\\n r3 = r3.handleAuthChallenge(r4, r5, r6, r7, r8);\\n if (r3 == 0) goto L_0x0149;\\n L_0x012d:\\n r0 = r16;\\n r3 = r0.reuseStrategy;\\n r3 = r3.keepAlive(r5, r8);\\n if (r3 == 0) goto L_0x0145;\\n L_0x0137:\\n r12 = r5.getEntity();\\n org.apache.http.util.EntityUtils.consume(r12);\\n L_0x013e:\\n r3 = \\\"Proxy-Authorization\\\";\\n r10.removeHeaders(r3);\\n goto L_0x00b3;\\n L_0x0145:\\n r9.close();\\n goto L_0x013e;\\n L_0x0149:\\n r3 = r5.getStatusLine();\\n r15 = r3.getStatusCode();\\n r3 = 299; // 0x12b float:4.19E-43 double:1.477E-321;\\n if (r15 <= r3) goto L_0x0183;\\n L_0x0155:\\n r12 = r5.getEntity();\\n if (r12 == 0) goto L_0x0163;\\n L_0x015b:\\n r3 = new org.apache.http.entity.BufferedHttpEntity;\\n r3.(r12);\\n r5.setEntity(r3);\\n L_0x0163:\\n r9.close();\\n r3 = new org.apache.http.impl.execchain.TunnelRefusedException;\\n r4 = new java.lang.StringBuilder;\\n r4.();\\n r6 = \\\"CONNECT refused by proxy: \\\";\\n r4 = r4.append(r6);\\n r6 = r5.getStatusLine();\\n r4 = r4.append(r6);\\n r4 = r4.toString();\\n r3.(r4, r5);\\n throw r3;\\n L_0x0183:\\n r3 = r9.getSocket();\\n return r3;\\n */\\n throw new UnsupportedOperationException(\\\"Method not decompiled: org.apache.http.impl.client.ProxyClient.tunnel(org.apache.http.HttpHost, org.apache.http.HttpHost, org.apache.http.auth.Credentials):java.net.Socket\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"501874c3e4f57e645ea416715c73eac4\",\n \"score\": \"0.5000113\",\n \"text\": \"@Test\\n\\tpublic void avalidateHomepage() throws InterruptedException, MalformedURLException, IOException {\\n\\t\\tThread.sleep(3000);\\n\\n\\t\\tString currentURL = driver.getCurrentUrl();\\n\\t\\tHttpURLConnection conn = (HttpURLConnection) new URL(currentURL).openConnection();\\n\\t\\tconn.setRequestMethod(\\\"HEAD\\\");\\n\\t\\tconn.connect();\\n\\t\\tint respCode = conn.getResponseCode();\\n\\n\\t\\tAssertJUnit.assertEquals(200, respCode);\\n\\t\\t\\n\\n\\t\\tlog.info(\\\"Response Code is \\\" + respCode);\\n\\t\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3bc23690b28ef283cccb5421b94cb2b2\",\n \"score\": \"0.498462\",\n \"text\": \"ServiceResponse head404() throws CloudException, IOException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b79fb23bac9e5df3064c6a88fb7c1e91\",\n \"score\": \"0.49787074\",\n \"text\": \"private String headCommand(File f) {\\n\\t\\tString returnMessage;\\n\\t\\tif (!f.exists()){\\n\\t\\t\\tcode = \\\"404 NOT FOUND\\\";\\n\\t\\t}\\n\\t\\telse {\\n\\t\\t\\tcode = \\\"200 OK\\\";\\n\\t\\t}\\n\\t\\treturnMessage = version + \\\" \\\" + code;\\n\\t\\treturnMessage = returnMessage.replace(\\\"\\\\r\\\\n\\\", \\\"\\\");\\n\\t\\tString extra = extraMessage(f);\\n\\t\\treturnMessage = returnMessage + \\\"\\\\r\\\\n\\\" + extra + \\\"\\\\r\\\\n\\\\r\\\\n\\\" ;\\n\\t\\treturn returnMessage;\\n\\t\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a7c9a385cb4119d4c71cf28aded0464\",\n \"score\": \"0.4959747\",\n \"text\": \"public okhttp3.Call connectHeadNodeProxyAsync(\\n String name, String path, final ApiCallback _callback) throws ApiException {\\n\\n okhttp3.Call localVarCall = connectHeadNodeProxyValidateBeforeCall(name, path, _callback);\\n Type localVarReturnType = new TypeToken() {}.getType();\\n localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);\\n return localVarCall;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2287165396bec157e46aef3c0ced8ea8\",\n \"score\": \"0.49463624\",\n \"text\": \"public String getHead(Handler h)\\r\\n {\\r\\n return super.getHead(h);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bb9803a531728bd86c8e14da5e15bc92\",\n \"score\": \"0.4925751\",\n \"text\": \"public void start() throws java.io.IOException {\\n InputStream inputStream = this.connection.getInputStream();\\n OutputStream outputStream = this.connection.getOutputStream();\\n BufferedReader bufferedReader =\\n new BufferedReader(new InputStreamReader(inputStream));\\n // 1. read the request from the client.\\n String line = bufferedReader.readLine();\\n // 2. if it is not starting by \\\"GET\\\" then ignore\\n if(!line.startsWith(\\\"GET\\\")){\\n return;\\n }\\n // 3. otherwise, extract the file name from the request.\\n // It will look like: \\\"GET /filename.html HTTP/1.1\\\"\\n // You can split the string by whitespaces.\\n String[] splited = line.split(\\\" \\\");\\n if(splited.length < 2){\\n return;\\n }\\n String filename = splited[1].replace(\\\"/\\\", \\\"\\\");\\n if(Objects.equals(filename, \\\"\\\")){\\n filename = \\\"index.html\\\";\\n }\\n // 4. open the file and reads its content\\n File file = new File(filename); // to be initialized somewhere with the obtained filename\\n byte[] content = {};\\n String headerStr;\\n try{\\n content = Files.readAllBytes(file.toPath());\\n headerStr = \\\"HTTP/1.0 200 OK\\\\r\\\\n\\\";\\n\\n }\\n catch (NoSuchFileException e){\\n headerStr = \\\"HTTP/1.0 404 Not Found\\\\r\\\\n\\\";\\n }\\n catch (Throwable e){\\n headerStr = \\\"HTTP/1.0 500 Internal Server Error\\\\r\\\\n\\\";\\n e.printStackTrace();\\n }\\n headerStr += \\\"Server: SimpleHTTPServer\\\\r\\\\n\\\"\\n + \\\"Content-length: \\\" + content.length + \\\"\\\\r\\\\n\\\"\\n + \\\"Content-type: text/html\\\"\\n + \\\"; charset=utf-8\\\" + \\\"\\\\r\\\\n\\\\r\\\\n\\\";\\n\\n // 5. create an HTTP header\\n byte[] header = headerStr.getBytes(StandardCharsets.UTF_8);\\n // 6. send the header then the content via the OutputStream\\n outputStream.write(header);\\n outputStream.write(content);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"797e800c35462081a2b24cd04bd18f7c\",\n \"score\": \"0.49184203\",\n \"text\": \"public interface IHttpProxy {\\n\\n /**\\n * 随机获取一个代理\\n * @return\\n */\\n public ProxyTuple randomProxy();\\n\\n /**\\n * 如果代理失效,从代理池中删除代理\\n *\\n * @param proxy\\n */\\n public void disable(ProxyTuple proxy);\\n\\n /**\\n * 是否为空\\n * @return\\n */\\n public boolean isEmpty();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f888999344f1147cb94304ce57744ff8\",\n \"score\": \"0.4901647\",\n \"text\": \"@Fluent\\n HttpRequest proxy(ProxyOptions proxyOptions);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed4a9bd359ba2cc43488086be397fed8\",\n \"score\": \"0.4899926\",\n \"text\": \"public okhttp3.Call connectHeadNamespacedPodProxyCall(\\n String name, String namespace, String path, final ApiCallback _callback) throws ApiException {\\n Object localVarPostBody = null;\\n\\n // create path and map variables\\n String localVarPath =\\n \\\"/api/v1/namespaces/{namespace}/pods/{name}/proxy\\\"\\n .replaceAll(\\\"\\\\\\\\{\\\" + \\\"name\\\" + \\\"\\\\\\\\}\\\", localVarApiClient.escapeString(name.toString()))\\n .replaceAll(\\n \\\"\\\\\\\\{\\\" + \\\"namespace\\\" + \\\"\\\\\\\\}\\\", localVarApiClient.escapeString(namespace.toString()));\\n\\n List localVarQueryParams = new ArrayList();\\n List localVarCollectionQueryParams = new ArrayList();\\n if (path != null) {\\n localVarQueryParams.addAll(localVarApiClient.parameterToPair(\\\"path\\\", path));\\n }\\n\\n Map localVarHeaderParams = new HashMap();\\n Map localVarCookieParams = new HashMap();\\n Map localVarFormParams = new HashMap();\\n final String[] localVarAccepts = {\\\"*/*\\\"};\\n final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);\\n if (localVarAccept != null) {\\n localVarHeaderParams.put(\\\"Accept\\\", localVarAccept);\\n }\\n\\n final String[] localVarContentTypes = {};\\n\\n final String localVarContentType =\\n localVarApiClient.selectHeaderContentType(localVarContentTypes);\\n localVarHeaderParams.put(\\\"Content-Type\\\", localVarContentType);\\n\\n String[] localVarAuthNames = new String[] {\\\"BearerToken\\\"};\\n return localVarApiClient.buildCall(\\n localVarPath,\\n \\\"HEAD\\\",\\n localVarQueryParams,\\n localVarCollectionQueryParams,\\n localVarPostBody,\\n localVarHeaderParams,\\n localVarCookieParams,\\n localVarFormParams,\\n localVarAuthNames,\\n _callback);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0dece395818d5c75b88bb76a37aec6ad\",\n \"score\": \"0.48934245\",\n \"text\": \"public abstract int beforeProxy(\\n HttpServletRequest originalRequest, HttpServletResponse originalResponse) throws NasException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2e84c1d2ed31f320326b1e9f2bfac5a5\",\n \"score\": \"0.48644942\",\n \"text\": \"public okhttp3.Call connectHeadNamespacedServiceProxyCall(\\n String name, String namespace, String path, final ApiCallback _callback) throws ApiException {\\n Object localVarPostBody = null;\\n\\n // create path and map variables\\n String localVarPath =\\n \\\"/api/v1/namespaces/{namespace}/services/{name}/proxy\\\"\\n .replaceAll(\\\"\\\\\\\\{\\\" + \\\"name\\\" + \\\"\\\\\\\\}\\\", localVarApiClient.escapeString(name.toString()))\\n .replaceAll(\\n \\\"\\\\\\\\{\\\" + \\\"namespace\\\" + \\\"\\\\\\\\}\\\", localVarApiClient.escapeString(namespace.toString()));\\n\\n List localVarQueryParams = new ArrayList();\\n List localVarCollectionQueryParams = new ArrayList();\\n if (path != null) {\\n localVarQueryParams.addAll(localVarApiClient.parameterToPair(\\\"path\\\", path));\\n }\\n\\n Map localVarHeaderParams = new HashMap();\\n Map localVarCookieParams = new HashMap();\\n Map localVarFormParams = new HashMap();\\n final String[] localVarAccepts = {\\\"*/*\\\"};\\n final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);\\n if (localVarAccept != null) {\\n localVarHeaderParams.put(\\\"Accept\\\", localVarAccept);\\n }\\n\\n final String[] localVarContentTypes = {};\\n\\n final String localVarContentType =\\n localVarApiClient.selectHeaderContentType(localVarContentTypes);\\n localVarHeaderParams.put(\\\"Content-Type\\\", localVarContentType);\\n\\n String[] localVarAuthNames = new String[] {\\\"BearerToken\\\"};\\n return localVarApiClient.buildCall(\\n localVarPath,\\n \\\"HEAD\\\",\\n localVarQueryParams,\\n localVarCollectionQueryParams,\\n localVarPostBody,\\n localVarHeaderParams,\\n localVarCookieParams,\\n localVarFormParams,\\n localVarAuthNames,\\n _callback);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fb86c87a19dbd029e8519b1872b27c66\",\n \"score\": \"0.48609057\",\n \"text\": \"boolean hasHttp();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1cb446b07f7335389d5c34be795f8958\",\n \"score\": \"0.48251265\",\n \"text\": \"public void run() {\\n\\n // Get Request from client\\n String requestString;\\n try{\\n requestString = proxyToClientBr.readLine();\\n } catch (IOException e) {\\n logger.error(\\\"Error reading request from client: \\\" + e.getMessage());\\n return;\\n }\\n\\n // Parse out URL\\n logger.info(\\\"Request Received: \\\" + requestString);\\n\\n // Get the Request type\\n String request = requestString.substring(0,requestString.indexOf(' '));\\n\\n // Remove request type and space\\n String urlString = requestString.substring(requestString.indexOf(' ')+1);\\n\\n // Remove everything past next space\\n urlString = urlString.substring(0, urlString.indexOf(' '));\\n\\n // Prepend http:// if necessary to create correct URL\\n if(!urlString.substring(0,4).equals(\\\"http\\\")){\\n String http = \\\"http://\\\";\\n urlString = http + urlString;\\n }\\n\\n String url;\\n HttpUriRequest target;\\n if(request.equals(\\\"CONNECT\\\")){\\n logger.info(\\\"HTTPS Request for : \\\" + urlString + \\\"\\\\n\\\");\\n // Extract the URL and port of remote\\n url = urlString.substring(7);\\n String[] pieces = url.split(\\\":\\\");\\n url = pieces[0];\\n } else {\\n url = urlString;\\n }\\n\\n target = new HttpGet(url);\\n try (CloseableHttpClient httpclient = getClientBuilder().build()) {\\n CloseableHttpResponse response = httpclient.execute(target);\\n try {\\n logger.debug(response.getStatusLine());\\n proxyToClientBw.write(EntityUtils.toString(response.getEntity()));\\n proxyToClientBw.flush();\\n\\n } finally {\\n response.close();\\n if(proxyToClientBr != null){\\n proxyToClientBr.close();\\n }\\n }\\n } catch (IOException ioe){\\n logger.error(ioe.getMessage());\\n }\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"877dec2116a794003dccf9cea9758cf6\",\n \"score\": \"0.48242545\",\n \"text\": \"@RequestMapping(path = \\\"/ping\\\", method = GET)\\n public ResponseEntity performShallowHealthCheck() {\\n return ResponseEntity.ok().build();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d2747dc0ede635300198796906ab1c47\",\n \"score\": \"0.48222706\",\n \"text\": \"private int streamHTTPData (InputStream in, OutputStream out, \\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tStringBuffer host, boolean waitForDisconnect)\\r\\n\\t{\\n\\t\\tStringBuffer header = new StringBuffer(\\\"\\\");\\r\\n\\t\\tString data = \\\"\\\";\\r\\n\\t\\tint responseCode = 200;\\r\\n\\t\\tint contentLength = 0;\\r\\n\\t\\tint pos = -1;\\r\\n\\t\\tint byteCount = 0;\\r\\n\\r\\n\\t\\ttry{\\r\\n\\t\\t\\t// get the first line of the header, so we know the response code\\r\\n\\t\\t\\tdata = readLine(in);\\r\\n\\t\\t\\tif (data != null){\\r\\n\\t\\t\\t\\theader.append(data + \\\"\\\\r\\\\n\\\");\\r\\n\\t\\t\\t\\tpos = data.indexOf(\\\" \\\");\\r\\n\\t\\t\\t\\tif ((data.toLowerCase().startsWith(\\\"http\\\")) && \\r\\n\\t\\t\\t\\t\\t(pos >= 0) && (data.indexOf(\\\" \\\", pos+1) >= 0))\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tString rcString = data.substring(pos+1, data.indexOf(\\\" \\\", pos+1));\\r\\n\\t\\t\\t\\t\\ttry{\\r\\n\\t\\t\\t\\t\\t\\tresponseCode = Integer.parseInt(rcString);\\r\\n\\t\\t\\t\\t\\t} catch (Exception e) {\\r\\n\\t\\t\\t\\t\\t\\tif (debugLevel > 0)\\r\\n\\t\\t\\t\\t\\t\\t\\tdebugOut.println(\\\"Error parsing response code \\\" + rcString);\\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\\t// get the rest of the header info\\r\\n\\t\\t\\twhile ((data = readLine(in)) != null){\\r\\n\\t\\t\\t\\t// the header ends at the first blank line\\r\\n\\t\\t\\t\\tif (data.length() == 0)\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\theader.append(data + \\\"\\\\r\\\\n\\\");\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t// check for the Host header\\r\\n\\t\\t\\t\\tpos = data.toLowerCase().indexOf(\\\"host:\\\");\\r\\n\\t\\t\\t\\tif (pos >= 0){\\r\\n\\t\\t\\t\\t\\thost.setLength(0);\\r\\n\\t\\t\\t\\t\\thost.append(data.substring(pos + 5).trim());\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t// check for the Content-Length header\\r\\n\\t\\t\\t\\tpos = data.toLowerCase().indexOf(\\\"content-length:\\\");\\r\\n\\t\\t\\t\\tif (pos >= 0)\\r\\n\\t\\t\\t\\t\\tcontentLength = Integer.parseInt(data.substring(pos + 15).trim());\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t// add a blank line to terminate the header info\\r\\n\\t\\t\\theader.append(\\\"\\\\r\\\\n\\\");\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t// convert the header to a byte array, and write it to our stream\\r\\n\\t\\t\\tout.write(header.toString().getBytes(), 0, header.length());\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t// if the header indicated that this was not a 200 response,\\r\\n\\t\\t\\t// just return what we've got if there is no Content-Length,\\r\\n\\t\\t\\t// because we may not be getting anything else\\r\\n\\t\\t\\tif ((responseCode != 200) && (contentLength == 0)){\\r\\n\\t\\t\\t\\tout.flush();\\r\\n\\t\\t\\t\\treturn header.length();\\r\\n\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t// get the body, if any; we try to use the Content-Length header to\\r\\n\\t\\t\\t// determine how much data we're supposed to be getting, because \\r\\n\\t\\t\\t// sometimes the client/server won't disconnect after sending us\\r\\n\\t\\t\\t// information...\\r\\n\\t\\t\\tif (contentLength > 0)\\r\\n\\t\\t\\t\\twaitForDisconnect = false;\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif ((contentLength > 0) || (waitForDisconnect)){\\r\\n\\t\\t\\t\\ttry {\\r\\n\\t\\t\\t\\t\\tbyte[] buf = new byte[4096];\\r\\n\\t\\t\\t\\t\\tint bytesIn = 0;\\r\\n\\t\\t\\t\\t\\twhile ( ((byteCount < contentLength) || (waitForDisconnect)) \\r\\n\\t\\t\\t\\t\\t\\t\\t&& ((bytesIn = in.read(buf)) >= 0) )\\r\\n\\t\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\t\\tout.write(buf, 0, bytesIn);\\r\\n\\t\\t\\t\\t\\t\\tbyteCount += bytesIn;\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t} catch (Exception e) {\\r\\n\\t\\t\\t\\t\\tString errMsg = \\\"Error getting HTTP body: \\\" + e;\\r\\n\\t\\t\\t\\t\\tif (debugLevel > 0)\\r\\n\\t\\t\\t\\t\\t\\tdebugOut.println(errMsg);\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\t\\t} catch (Exception e) {\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif (debugLevel > 0)\\r\\n\\t\\t\\t\\tdebugOut.println(\\\"Error getting HTTP data: \\\" + e);\\r\\n\\t\\t}\\r\\n\\t\\t\\r\\n\\t\\t//flush the OutputStream and return\\r\\n\\t\\ttry { out.flush(); } catch (Exception e) {}\\r\\n\\t\\treturn (header.length() + byteCount);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e10d563f406b7c235b5ef6dab0fda3d0\",\n \"score\": \"0.4814915\",\n \"text\": \"protected DLNode getHead() {\\n return head;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e69abfad39c0c8b41277434e66487428\",\n \"score\": \"0.47952095\",\n \"text\": \"public ApiResponse connectHeadNodeProxyWithPathWithHttpInfo(\\n String name, String path, String path2) throws ApiException {\\n okhttp3.Call localVarCall =\\n connectHeadNodeProxyWithPathValidateBeforeCall(name, path, path2, null);\\n Type localVarReturnType = new TypeToken() {}.getType();\\n return localVarApiClient.execute(localVarCall, localVarReturnType);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0bb75b4359e1bd7c7d7b207f9c0ad21d\",\n \"score\": \"0.47873592\",\n \"text\": \"public abstract void generateRequest(HttpClientRequest req, String hostHeader) throws Exception;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"928c4e239410545d7e52ec15d2f65199\",\n \"score\": \"0.47864592\",\n \"text\": \"interface HeadExceptionService {\\n @Headers(\\\"Content-Type: application/json; charset=utf-8\\\")\\n @HEAD(\\\"http/success/200\\\")\\n Call head200(@Header(\\\"accept-language\\\") String acceptLanguage);\\n\\n @Headers(\\\"Content-Type: application/json; charset=utf-8\\\")\\n @HEAD(\\\"http/success/204\\\")\\n Call head204(@Header(\\\"accept-language\\\") String acceptLanguage);\\n\\n @Headers(\\\"Content-Type: application/json; charset=utf-8\\\")\\n @HEAD(\\\"http/success/404\\\")\\n Call head404(@Header(\\\"accept-language\\\") String acceptLanguage);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8a58794267df0d7294fe9ac60ab44021\",\n \"score\": \"0.4785071\",\n \"text\": \"@Test\\n public void test1GBHeadChunked() throws Exception {\\n assertChunked(200, HEAD, \\\"1GB\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"83660a11141aa44b5bf79d0eaf66753a\",\n \"score\": \"0.47529295\",\n \"text\": \"public static HttpGet addProxyInformation (HttpGet instance) {\\n\\t\\tProxyConfiguration proxyConfig = Jenkins.getInstance().proxy;\\n\\t\\tif(proxyConfig != null){\\n\\t\\t\\tif((!isNullOrEmpty(proxyConfig.name)) && proxyConfig.port != 0) {\\n\\t\\t\\t\\tHttpHost proxy = new HttpHost(proxyConfig.name, proxyConfig.port, \\\"http\\\");\\n\\t\\t\\t\\tRequestConfig config = RequestConfig.custom().setProxy(proxy).build();\\n\\t\\t\\t\\tinstance.setConfig(config);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn instance;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4b5f1e51a49e7838bf43f4600b046e4f\",\n \"score\": \"0.47514123\",\n \"text\": \"public void setHead(Link head) {\\n\\t\\t_head = new Link(head);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eb974ce467df17f46b7bbd0018ea379\",\n \"score\": \"0.47452477\",\n \"text\": \"public abstract void onConnect(int statusCode);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42a0d7f418086ab2012fd95998026223\",\n \"score\": \"0.4724718\",\n \"text\": \"public boolean preConnect(InetSocketAddress address);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"890b7c702dae574fe37bf99a7080f3b1\",\n \"score\": \"0.47209805\",\n \"text\": \"private boolean isURLReachable(URL url) {\\n\\t\\tHttpURLConnection connection;\\n\\t\\ttry {\\n\\n\\t\\t\\tconnection = (HttpURLConnection) url.openConnection();\\n\\t\\t\\tconnection.setReadTimeout(INPUT_TIMEOUT);\\n\\t\\t\\tconnection.setConnectTimeout(INPUT_TIMEOUT);\\n\\n\\t\\t\\tconnection.setRequestMethod(\\\"HEAD\\\");\\n\\t\\t\\tint responseCode = connection.getResponseCode();\\n\\t\\t\\tconnection.disconnect();\\n\\t\\t\\treturn responseCode == 200;\\n\\n\\t\\t} catch (IOException e1) {\\n\\t\\t\\tthis.log(\\\"Unreachable URL : \\\" + e1.getMessage());\\n\\t\\t\\treturn false;\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e351fb23b755b3fac8279f7786dbe868\",\n \"score\": \"0.47080368\",\n \"text\": \"public static void getStatusProxy(ServiceDiscovery discovery, String id, HttpServerRequest request) {\\n VertxProxy.serviceProxyTo(discovery, MINITURBO_K8S, request, String.format(\\\"/%s/status\\\", id));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a51221f8232eba8c9b6141db334b641d\",\n \"score\": \"0.46993035\",\n \"text\": \"@HEAD\\n @Path(\\\"metaData\\\")\\n public Response status() {\\n return responseOk();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a51221f8232eba8c9b6141db334b641d\",\n \"score\": \"0.46993035\",\n \"text\": \"@HEAD\\n @Path(\\\"metaData\\\")\\n public Response status() {\\n return responseOk();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b5259aee62d468e54106559bb5e74945\",\n \"score\": \"0.46946424\",\n \"text\": \"@Test\\n public void createBitlinkHavingIncorrectURI() {\\n\\t try\\n\\t {\\n\\t\\t \\n\\t\\t RestAssured.baseURI=\\\"https://api-ssl.bitly.com\\\";\\n\\t\\t RequestSpecification rs=RestAssured.given();\\n\\t\\t Response response=rs.header(\\\"Authorization\\\", \\\"Bearer \\\"+token).contentType(\\\"application/json\\\").body(\\\"{\\\\\\\"long_url\\\\\\\":\\\\\\\"https://google.com\\\\\\\"}\\\").request(Method.POST,\\\"/v4/shorte\\\");\\n\\t\\t int statuscode=response.getStatusCode();\\n\\t\\t \\n\\t\\t//Validate status code\\n\\t\\t assertEquals(statuscode,404);\\n\\t \\n\\t }\\n\\t \\n\\t catch(Exception e)\\n\\t {\\n\\t\\t System.out.println(e);\\n\\t }\\n\\t \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eb63a164278b4088e4b1e93e283df457\",\n \"score\": \"0.46847042\",\n \"text\": \"Promise sendProxyRequest(String host, int port, ConnectionMessage.Type proxyType, EventExecutor eventExecutor);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c6e2f0034855d3f8a93dc7f99173745c\",\n \"score\": \"0.46828333\",\n \"text\": \"@Test\\n public void testWrongTargetHost() throws Exception {\\n final MockHttpServletRequest request = new MockHttpServletRequest();\\n request.setMethod(\\\"GET\\\");\\n request.setRequestURI(\\\"/dizzy.mp4\\\");\\n final MockHttpServletResponse response = new MockHttpServletResponse();\\n\\n final Future statusFuture = Executors.newSingleThreadExecutor().submit(new Callable() {\\n @Override\\n public Integer call() throws Exception {\\n AjpServletProxy.forHost(\\\"unknownhost.inexistentdomain.com\\\", 8415).forward(request, response);\\n return response.getStatus();\\n }\\n });\\n\\n final long start = System.currentTimeMillis();\\n\\n // should finish in less that seconds\\n final int status = statusFuture.get(10, TimeUnit.SECONDS);\\n\\n Assertions.assertTrue(System.currentTimeMillis() - start < 8000);\\n\\n Assertions.assertEquals(HttpServletResponse.SC_BAD_GATEWAY, status);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cb50f6b9196f3895e886dbb3fabcc4c1\",\n \"score\": \"0.46824917\",\n \"text\": \"public void ping();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3f8b6ebaaea314f31c67347a3861e846\",\n \"score\": \"0.46570164\",\n \"text\": \"public void loadHeaders() throws MessagingException {\\n // don't retrieve if already loaded.\\n if (headersLoaded) {\\n return;\\n }\\n\\n NNTPReply reply = connection.sendCommand(\\\"HEAD \\\" + messageID, NNTPReply.HEAD_FOLLOWS);\\n\\n if (reply.getCode() == NNTPReply.HEAD_FOLLOWS) {\\n try {\\n // wrap a stream around the reply data and read as headers.\\n updateHeaders(new StringListInputStream(reply.getData()));\\n } catch (IOException e) {\\n throw new MessagingException(\\\"Error retrieving article headers from server\\\", e);\\n }\\n } else {\\n throw new MessagingException(\\\"Error retrieving article headers from server: \\\" + reply);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6a9b560ecc2727c13928d8b7b21b03e0\",\n \"score\": \"0.46549284\",\n \"text\": \"@Test\\n void chunkedEncodingIsNotSentWhen304Status() throws IOException {\\n try (Socket socket = new Socket()) {\\n socket.connect(server.httpSocketAddress());\\n\\n final PrintWriter outWriter = new PrintWriter(socket.getOutputStream(), false);\\n outWriter.print(\\\"GET / HTTP/1.1\\\\r\\\\n\\\");\\n outWriter.print(\\\"\\\\r\\\\n\\\");\\n outWriter.flush();\\n\\n final InputStream is = socket.getInputStream();\\n final BufferedReader reader = new BufferedReader(new InputStreamReader(is));\\n\\n final String transferEncoding = HttpHeaderNames.TRANSFER_ENCODING.toString().toLowerCase();\\n for (;;) {\\n final String line = reader.readLine();\\n if (Strings.isNullOrEmpty(line)) {\\n break;\\n }\\n assertThat(line.toLowerCase()).doesNotContain(transferEncoding);\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78c5e4814e5abea932cc232024e7988b\",\n \"score\": \"0.46505204\",\n \"text\": \"@Override\\n\\tprotected void channelRead0(ChannelHandlerContext ctx, Object msg) throws URISyntaxException {\\n\\t\\tif (msg instanceof HttpRequest) {\\n\\t\\t\\tHttpRequest request = (HttpRequest) msg;\\n\\n\\t\\t\\tString uri = request.uri();\\n\\t\\t\\tString filename = \\\"loaderio-fbe3a1e6ef2f4ae69f460c0ae454538b.txt\\\";\\n\\t\\t\\tif (uri.endsWith(filename)) {\\n\\t\\t\\t\\ttry {\\n\\n\\t\\t\\t\\t\\tFile file = new File(\\\"../../../\\\" + filename);\\n\\t\\t\\t\\t\\tRandomAccessFile raf;\\n\\n\\t\\t\\t\\t\\traf = new RandomAccessFile(file, \\\"r\\\");\\n\\t\\t\\t\\t\\tlong fileLength = raf.length();\\n\\t\\t\\t\\t\\tHttpResponse response = new DefaultHttpResponse(HTTP_1_1, OK);\\n\\t\\t\\t\\t\\tHttpUtil.setContentLength(response, fileLength);\\n\\t\\t\\t\\t\\tsetContentTypeHeader(response, file);\\n\\t\\t\\t\\t\\tsetDateAndCacheHeaders(response, file);\\n\\t\\t\\t\\t\\tif (HttpUtil.isKeepAlive(request)) {\\n\\t\\t\\t\\t\\t\\tresponse.headers().set(HttpHeaderNames.CONNECTION, HttpHeaderValues.KEEP_ALIVE);\\n\\t\\t\\t\\t\\t}\\n\\n\\t\\t\\t\\t\\t// Write the initial line and the header.\\n\\t\\t\\t\\t\\tctx.write(response);\\n\\n\\t\\t\\t\\t\\tChannelFuture sendFileFuture;\\n\\t\\t\\t\\t\\tChannelFuture lastContentFuture;\\n\\t\\t\\t\\t\\tif (ctx.pipeline().get(SslHandler.class) == null) {\\n\\t\\t\\t\\t\\t\\tsendFileFuture = ctx.write(new DefaultFileRegion(raf.getChannel(), 0, fileLength),\\n\\t\\t\\t\\t\\t\\t\\t\\tctx.newProgressivePromise());\\n\\t\\t\\t\\t\\t\\t// Write the end marker.\\n\\t\\t\\t\\t\\t\\tlastContentFuture = ctx.writeAndFlush(LastHttpContent.EMPTY_LAST_CONTENT);\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\tsendFileFuture = ctx.writeAndFlush(\\n\\t\\t\\t\\t\\t\\t\\t\\tnew HttpChunkedInput(new ChunkedFile(raf, 0, fileLength, 8192)),\\n\\t\\t\\t\\t\\t\\t\\t\\tctx.newProgressivePromise());\\n\\t\\t\\t\\t\\t\\t// HttpChunkedInput will write the end marker\\n\\t\\t\\t\\t\\t\\t// (LastHttpContent) for us.\\n\\t\\t\\t\\t\\t\\tlastContentFuture = sendFileFuture;\\n\\t\\t\\t\\t\\t}\\n\\n\\t\\t\\t\\t\\tsendFileFuture.addListener(new ChannelProgressiveFutureListener() {\\n\\t\\t\\t\\t\\t\\tpublic void operationProgressed(ChannelProgressiveFuture future, long progress, long total) {\\n\\t\\t\\t\\t\\t\\t\\tif (total < 0) { // total unknown\\n\\t\\t\\t\\t\\t\\t\\t\\tSystem.err.println(future.channel() + \\\" Transfer progress: \\\" + progress);\\n\\t\\t\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t\\t\\tSystem.err\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t.println(future.channel() + \\\" Transfer progress: \\\" + progress + \\\" / \\\" + total);\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}\\n\\n\\t\\t\\t\\t\\t\\tpublic void operationComplete(ChannelProgressiveFuture future) {\\n\\t\\t\\t\\t\\t\\t\\tSystem.err.println(future.channel() + \\\" Transfer complete.\\\");\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t});\\n\\n\\t\\t\\t\\t} catch (FileNotFoundException ignore) {\\n\\t\\t\\t\\t\\tignore.printStackTrace();\\n\\t\\t\\t\\t\\tsendError(ctx, NOT_FOUND);\\n\\n\\t\\t\\t\\t\\treturn;\\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}\\n\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tQueryStringDecoder queryStringDecoder = new QueryStringDecoder(uri);\\n\\t\\t\\t\\tMap> params = queryStringDecoder.parameters();\\n\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tNettyServer.counter++;\\n\\t\\tnew ExecuteQuery().getDetailedCampaign(NettyServer.counter);\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"677a364ceeb45a01d6ee06c86d49c5a2\",\n \"score\": \"0.46454492\",\n \"text\": \"ServiceResponse head200() throws CloudException, IOException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0ce833eccf844fb6cfbff3f0e47d37ad\",\n \"score\": \"0.4641375\",\n \"text\": \"protected HttpClient setupConnection(URL url, HttpMethodBase httpMethod, HTTPSampleResult res) \\n throws IOException {\\n return hc.setupConnection(url, httpMethod, res);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fb0815c54872190142fb2b051d154ed8\",\n \"score\": \"0.46407115\",\n \"text\": \"protected void setHead(DLNode node) {\\n head = node;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"36d647032ebf94934c3ab66fc836f2ca\",\n \"score\": \"0.46369863\",\n \"text\": \"private void doGetMethod() throws Exception{ \\r\\n\\t String theLine;\\r\\n\\r\\n\\t try {\\r\\n\\r\\n\\t String req = action + \\\" \\\" + fileName + \\\" \\\"+ \\\"HTTP/1.0\\\" + \\\"\\\\n\\\\n\\\";\\r\\n\\t //Sending the request to the server\\r\\n to_server.write(req.getBytes()); \\r\\n//Reading the data into a buffer form the server\\r\\n BufferedReader br=new BufferedReader(new InputStreamReader(from_server));\\r\\n\\r\\n while ((theLine = br.readLine()) != null) {\\r\\n System.out.println(theLine);\\r\\n }\\r\\n\\r\\n}catch(Exception e){\\r\\n\\t e.printStackTrace();\\r\\n} finally {\\r\\n\\t\\tfrom_server.close();\\r\\n\\t\\tto_server.close();\\r\\n \\r\\n}\\r\\n\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f0eddb6d48f03270fd988109720dfef5\",\n \"score\": \"0.46315315\",\n \"text\": \"public void refs(HttpServletRequest request, HttpServletResponse response) throws IOException {\\n final ProtocolCommand command = ProtocolCommand.parse(request.getParameter(\\\"service\\\"));\\n\\n response.setHeader(\\\"Content-Type\\\",\\n \\\"application/x-\\\" + command.getService() + \\\"-advertisement\\\");\\n\\n response.setHeader(\\\"Cache-Control\\\", \\\"no-cache\\\");\\n\\n final ServletOutputStream out = response.getOutputStream();\\n\\n final String header = \\\"# service=git-\\\" + command.getService() + \\\"\\\\n\\\";\\n\\n out.write(String.format(\\\"%04X\\\", header.length() + 4).getBytes()); //header 4-byte hex length field\\n out.write(header.getBytes());\\n out.write(PADDING);\\n\\n // todo: --stateless-rpc --advertise-refs\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54917e29270c629763e0e5dca1785857\",\n \"score\": \"0.46247837\",\n \"text\": \"public String connectHeadNamespacedServiceProxy(String name, String namespace, String path)\\n throws ApiException {\\n ApiResponse localVarResp =\\n connectHeadNamespacedServiceProxyWithHttpInfo(name, namespace, path);\\n return localVarResp.getData();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0fe14f91f0da4b4810e8d0e9fbc628fd\",\n \"score\": \"0.46199107\",\n \"text\": \"public interface ProxyAutodetector {\\n\\n public ProxyInfo detectProxyForURL(String url);\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ea8748036e80bb103b7e477ee7635e0\",\n \"score\": \"0.46156627\",\n \"text\": \"@Test\\n public void proxyConfiguration() throws Exception {\\n\\n //wait for the server to be ready\\n server.await();\\n\\n //instantiating the client performs a single post request\\n //create a client with a bogus address (TEST-NET)\\n String mockProxyUser = \\\"alpha\\\";\\n String mockProxyPass = \\\"alphaPass\\\";\\n CloudantClient client = CloudantClientHelper.newTestAddressClient()\\n .proxyURL(new URL(server.getUrl()))\\n .proxyUser(mockProxyUser)\\n .proxyPassword(mockProxyPass)\\n .build();\\n\\n client.executeRequest(Http.GET(client.getBaseUri()));\\n //if it wasn't a 20x then an exception should have been thrown by now\\n\\n //assert that the request had the expected proxy auth header\\n boolean foundProxyAuthHeader = false;\\n for (String line : server.getLastInputRequestLines()) {\\n if (line.contains(\\\"Proxy-Authorization\\\")) {\\n foundProxyAuthHeader = true;\\n Matcher m = Pattern.compile(\\\"Proxy-Authorization: Basic (.*)\\\", Pattern\\n .CASE_INSENSITIVE).matcher(line);\\n assertTrue(\\\"The Proxy-Authorization header should match the pattern\\\", m.matches());\\n assertEquals(\\\"There should be 1 group for the value\\\", 1, m.groupCount());\\n //create an interceptor with the same creds so we can easily get the expected value\\n final String encodedCreds = new ProxyAuthInterceptor(mockProxyUser, mockProxyPass) {\\n String getEncodedCreds() {\\n return encodedAuth;\\n }\\n }.getEncodedCreds();\\n\\n assertEquals(\\\"The encoded credentials should match the expected value\\\",\\n encodedCreds, m.group(1));\\n\\n }\\n }\\n assertTrue(foundProxyAuthHeader);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"62ed46ed6910ddd8f47baa4a1f8de912\",\n \"score\": \"0.46077815\",\n \"text\": \"public void ping() throws RepositoryException {\\n prepareHttpRepoClient().ping();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd2aeeef267b650c035f21f9620b9d26\",\n \"score\": \"0.46050224\",\n \"text\": \"T getRemoteProxy();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"41fe4025ffb34bafea42b8a6781ea430\",\n \"score\": \"0.46034276\",\n \"text\": \"protected void copyRequestHeaders( HttpServletRequest servletRequest ) {\\n Enumeration enumerationOfHeaderNames = servletRequest.getHeaderNames();\\n while (enumerationOfHeaderNames.hasMoreElements()) {\\n String headerName = (String)enumerationOfHeaderNames.nextElement();\\n // Instead the content-length is effectively set via InputStreamEntity\\n if (headerName.equalsIgnoreCase( HttpHeaders.CONTENT_LENGTH )) {\\n continue;\\n }\\n if (hopByHopHeaders.containsHeader( headerName )) {\\n log.debug( \\\" Header: \\\" + headerName + \\\" ... skipped.\\\" );\\n continue;\\n }\\n\\n Enumeration headers = servletRequest.getHeaders( headerName );\\n while (headers.hasMoreElements()) {\\n String headerValue = (String)headers.nextElement();\\n // In case the proxy host is running multiple virtual servers,\\n // rewrite the Host header to ensure that we get content from\\n // the correct virtual server\\n if (headerName.equalsIgnoreCase( HttpHeaders.HOST )) {\\n HttpHost host = targetHost;\\n headerValue = host.getHostName();\\n if (host.getPort() != -1) {\\n headerValue += \\\":\\\" + host.getPort();\\n }\\n }\\n //\\n else if (headerName.equalsIgnoreCase( org.apache.http.cookie.SM.COOKIE )) {\\n headerValue = getRealCookie( headerValue );\\n }\\n proxyRequest.addHeader( headerName, headerValue );\\n log.debug( \\\" Header: \\\" + headerName + \\\" = \\\" + headerValue );\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b449e295140f5c53679d51174717ac6b\",\n \"score\": \"0.45977473\",\n \"text\": \"public int executeFetch(String protocol, int port, String urlPath, String userAgent, String from,\\n String proxyHost, int proxyPort, String proxyAuthDomain, String proxyAuthUsername, String proxyAuthPassword,\\n String lastETag, String lastModified)\\n throws LCFException, ServiceInterruption\\n {\\n \\n StringBuffer sb = new StringBuffer(protocol);\\n sb.append(\\\"://\\\").append(server.getServerName());\\n if (port != -1)\\n sb.append(\\\":\\\").append(Integer.toString(port));\\n sb.append(urlPath);\\n myUrl = sb.toString();\\n \\n if (recordEverything)\\n // Start a new data session\\n dataSession = dataRecorder.getSession(myUrl);\\n \\n try\\n {\\n HttpClient client = new HttpClient(connectionManager);\\n // Permit circular redirections, because that is how some sites set cookies\\n client.getParams().setParameter(org.apache.commons.httpclient.params.HttpClientParams.ALLOW_CIRCULAR_REDIRECTS,new Boolean(true));\\n fetchMethod = new GetMethod();\\n HostConfiguration config = new HostConfiguration();\\n \\n config.setHost(server.getServerName(),port,Protocol.getProtocol(protocol));\\n \\n // If there's a proxy, set that too.\\n if (proxyHost != null && proxyHost.length() > 0)\\n {\\n config.setProxy(proxyHost,proxyPort);\\n if (proxyAuthUsername != null && proxyAuthUsername.length() > 0)\\n {\\n if (proxyAuthPassword == null)\\n proxyAuthPassword = \\\"\\\";\\n if (proxyAuthDomain == null)\\n proxyAuthDomain = \\\"\\\";\\n // Set up NTLM credentials for this fetch too.\\n client.getState().setProxyCredentials(AuthScope.ANY,\\n new NTCredentials(proxyAuthUsername,proxyAuthPassword,currentHost,proxyAuthDomain));\\n }\\n }\\n \\n startFetchTime = System.currentTimeMillis();\\n fetchMethod.setURI(new URI(urlPath,true));\\n \\n // Set all appropriate headers\\n fetchMethod.setRequestHeader(\\\"User-Agent\\\",userAgent);\\n fetchMethod.setRequestHeader(\\\"From\\\",from);\\n if (lastETag != null)\\n fetchMethod.setRequestHeader(\\\"ETag\\\",lastETag);\\n if (lastModified != null)\\n fetchMethod.setRequestHeader(\\\"Last-Modified\\\",lastModified);\\n \\n fetchMethod.getParams().setSoTimeout(connectionTimeoutMilliseconds);\\n // fetchMethod.getParams().setIntParameter(\\\"http.socket.timeout\\\", connectionTimeoutMilliseconds);\\n \\n fetchMethod.setFollowRedirects(true);\\n \\n // Fire it off!\\n try\\n {\\n ExecuteMethodThread t = new ExecuteMethodThread(client,config,fetchMethod);\\n try\\n {\\n t.start();\\n t.join();\\n Throwable thr = t.getException();\\n if (thr != null)\\n {\\n throw thr;\\n }\\n statusCode = t.getResponse();\\n if (recordEverything)\\n dataSession.setResponseCode(statusCode);\\n }\\n catch (InterruptedException e)\\n {\\n t.interrupt();\\n // We need the caller to abandon any connections left around, so rethrow in a way that forces them to process the event properly.\\n throw e;\\n }\\n long currentTime;\\n switch (statusCode)\\n {\\n case HttpStatus.SC_OK:\\n return STATUS_OK;\\n case HttpStatus.SC_UNAUTHORIZED:\\n case HttpStatus.SC_USE_PROXY:\\n // Permanent errors that mean, \\\"fetch not allowed\\\"\\n return STATUS_SITEERROR;\\n case HttpStatus.SC_REQUEST_TIMEOUT:\\n case HttpStatus.SC_GATEWAY_TIMEOUT:\\n case HttpStatus.SC_SERVICE_UNAVAILABLE:\\n // Temporary service interruption\\n // May want to make the retry time a parameter someday\\n currentTime = System.currentTimeMillis();\\n throw new ServiceInterruption(\\\"Http response temporary error on '\\\"+myUrl+\\\"': \\\"+Integer.toString(statusCode),\\n null,currentTime + 60L * 60000L,currentTime + 1440L * 60000L,-1,false);\\n case HttpStatus.SC_NOT_MODIFIED:\\n return STATUS_NOCHANGE;\\n case HttpStatus.SC_INTERNAL_SERVER_ERROR:\\n // Fail for a while, but give up after 24 hours\\n currentTime = System.currentTimeMillis();\\n throw new ServiceInterruption(\\\"Http response internal server error on '\\\"+myUrl+\\\"': \\\"+Integer.toString(statusCode),\\n null,currentTime + 60L * 60000L,currentTime + 1440L * 60000L,-1,false);\\n case HttpStatus.SC_GONE:\\n case HttpStatus.SC_NOT_FOUND:\\n case HttpStatus.SC_BAD_GATEWAY:\\n case HttpStatus.SC_BAD_REQUEST:\\n default:\\n return STATUS_PAGEERROR;\\n }\\n \\n }\\n catch (java.net.SocketTimeoutException e)\\n {\\n throwable = e;\\n long currentTime = System.currentTimeMillis();\\n throw new ServiceInterruption(\\\"Timed out waiting for IO for '\\\"+myUrl+\\\"': \\\"+e.getMessage(), e, currentTime + 300000L,\\n currentTime + 120L * 60000L,-1,false);\\n }\\n catch (org.apache.commons.httpclient.ConnectTimeoutException e)\\n {\\n throwable = e;\\n long currentTime = System.currentTimeMillis();\\n throw new ServiceInterruption(\\\"Timed out waiting for connect for '\\\"+myUrl+\\\"': \\\"+e.getMessage(), e, currentTime + 60L * 60000L,\\n currentTime + 720L * 60000L,-1,false);\\n }\\n catch (InterruptedIOException e)\\n {\\n throw new LCFException(\\\"Interrupted\\\",LCFException.INTERRUPTED);\\n }\\n catch (org.apache.commons.httpclient.CircularRedirectException e)\\n {\\n throwable = e;\\n statusCode = FETCH_CIRCULAR_REDIRECT;\\n if (recordEverything)\\n dataSession.setResponseCode(statusCode);\\n return STATUS_PAGEERROR;\\n }\\n catch (org.apache.commons.httpclient.NoHttpResponseException e)\\n {\\n throwable = e;\\n // Give up after 2 hours.\\n long currentTime = System.currentTimeMillis();\\n throw new ServiceInterruption(\\\"Timed out waiting for response for '\\\"+myUrl+\\\"'\\\", e, currentTime + 15L * 60000L,\\n currentTime + 120L * 60000L,-1,false);\\n }\\n catch (java.net.ConnectException e)\\n {\\n throwable = e;\\n // Give up after 6 hours.\\n long currentTime = System.currentTimeMillis();\\n throw new ServiceInterruption(\\\"Timed out waiting for a connection for '\\\"+myUrl+\\\"'\\\", e, currentTime + 1000000L,\\n currentTime + 720L * 60000L,-1,false);\\n }\\n catch (IOException e)\\n {\\n // Treat this as a bad url. We don't know what happened, but it isn't something we are going to naively\\n // retry on.\\n throwable = e;\\n statusCode = FETCH_IO_ERROR;\\n if (recordEverything)\\n dataSession.setResponseCode(statusCode);\\n return STATUS_PAGEERROR;\\n }\\n \\n }\\n catch (InterruptedException e)\\n {\\n // Drop the current connection on the floor, so it cannot be reused.\\n fetchMethod = null;\\n throw new LCFException(\\\"Interrupted: \\\"+e.getMessage(),e,LCFException.INTERRUPTED);\\n }\\n catch (URIException e)\\n {\\n throwable = new LCFException(\\\"Illegal URI: '\\\"+myUrl+\\\"'\\\",e);\\n statusCode = FETCH_BAD_URI;\\n if (recordEverything)\\n dataSession.setResponseCode(statusCode);\\n return STATUS_PAGEERROR;\\n }\\n catch (IllegalArgumentException e)\\n {\\n throwable = new LCFException(\\\"Illegal URI: '\\\"+myUrl+\\\"'\\\",e);\\n statusCode = FETCH_BAD_URI;\\n if (recordEverything)\\n dataSession.setResponseCode(statusCode);\\n return STATUS_PAGEERROR;\\n }\\n catch (IllegalStateException e)\\n {\\n throwable = new LCFException(\\\"Illegal state while fetching URI: '\\\"+myUrl+\\\"'\\\",e);\\n statusCode = FETCH_SEQUENCE_ERROR;\\n if (recordEverything)\\n dataSession.setResponseCode(statusCode);\\n return STATUS_PAGEERROR;\\n }\\n catch (ServiceInterruption e)\\n {\\n throw e;\\n }\\n catch (LCFException e)\\n {\\n throw e;\\n }\\n catch (Throwable e)\\n {\\n Logging.connectors.debug(\\\"RSS: Caught an unexpected exception: \\\"+e.getMessage(),e);\\n throwable = e;\\n statusCode = FETCH_UNKNOWN_ERROR;\\n if (recordEverything)\\n dataSession.setResponseCode(statusCode);\\n return STATUS_PAGEERROR;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a27b36b40487f608d96b5397416d9658\",\n \"score\": \"0.45854628\",\n \"text\": \"@Override\\r\\n public void ping()\\r\\n {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c24ba8fc7fd8b45996c5bd82997f08a0\",\n \"score\": \"0.45783508\",\n \"text\": \"public static HttpStatus pingUrl(final String location) {\\n try {\\n val url = new URL(location);\\n val connection = (HttpURLConnection) url.openConnection();\\n connection.setConnectTimeout(PING_URL_TIMEOUT);\\n connection.setReadTimeout(PING_URL_TIMEOUT);\\n connection.setRequestMethod(HttpMethod.HEAD.name());\\n return HttpStatus.valueOf(connection.getResponseCode());\\n } catch (final Exception e) {\\n LoggingUtils.error(LOGGER, e);\\n }\\n return HttpStatus.SERVICE_UNAVAILABLE;\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f24a5016820d448959ff65d99ee43ab9\",\n \"score\": \"0.45770672\",\n \"text\": \"public static void main(String[] args) throws Exception {\\n String urlPath;\\n urlPath = args.length > 0 ? args[0] : \\\"http://cs.rocky.edu/~bennera/\\\";\\n URL url = new URL(urlPath);\\n\\n //Check if it is an HTTP request\\n if (!url.getProtocol().toLowerCase().equals(\\\"http\\\")) {\\n return;\\n }\\n\\n //Get the path of file\\n String filePath = url.getFile();\\n if(DEBUG){\\n System.out.println(\\\"File path: \\\" + filePath);\\n }\\n //Get the file of the url\\n String requestedFile = filePath.substring(filePath.lastIndexOf('/') + 1, filePath.length());\\n\\n if(DEBUG) {\\n System.out.println(\\\"Requested File: \\\" + requestedFile);\\n }\\n //Check if the requested file is empty\\n //If so, set it to an index.html file\\n if(requestedFile.equals(\\\"\\\")) {\\n requestedFile = \\\"index.html\\\";\\n }\\n\\n System.out.println(\\\"Output will be saved as: \\\" + requestedFile);\\n\\n //Start the output and the input streams\\n Socket httpSocket = new Socket(url.getHost(), url.getDefaultPort());\\n\\n InputStream httpInput = httpSocket.getInputStream();\\n OutputStream httpOutput = httpSocket.getOutputStream();\\n\\n StringBuilder headerInfo = new StringBuilder();\\n headerInfo.append(\\\"GET \\\" + filePath + \\\" HTTP/1.1\\\\r\\\\n\\\");\\n headerInfo.append(\\\"Host: \\\" + url.getHost() + \\\"\\\\r\\\\n\\\");\\n headerInfo.append(\\\"Connection: close\\\\r\\\\n\\\");\\n headerInfo.append(\\\"\\\\r\\\\n\\\");\\n\\n if(DEBUG) {\\n System.out.println(headerInfo.toString());\\n }\\n\\n //Output to the server\\n byte[] stringBytes = headerInfo.toString().getBytes();\\n httpOutput.write(stringBytes);\\n\\n ByteArrayOutputStream byteOutput = new ByteArrayOutputStream();\\n //Pull it into the byte array output stream\\n int character;\\n while((character = httpSocket.getInputStream().read()) != -1) {\\n byteOutput.write(character);\\n }\\n\\n //Convert bytes to a string\\n byte[] response = byteOutput.toByteArray();\\n String stringOutput = new String(response);\\n int index = stringOutput.indexOf(\\\"\\\\r\\\\n\\\\r\\\\n\\\");\\n\\n //Display our response header\\n String header = new String(response, 0, index);\\n System.out.println(header);\\n\\n while(response[index] == '\\\\r' || response[index] == '\\\\n'){\\n index++;\\n }\\n\\n\\n //Set the output stream of the file\\n File newFile = new File(requestedFile);\\n newFile.createNewFile();\\n OutputStream fileOutputStream = new FileOutputStream(newFile);\\n //Go through the file and write to it\\n fileOutputStream.write(response, index, (response.length - index));\\n\\n fileOutputStream.close();\\n httpSocket.close();\\n httpInput.close();\\n httpOutput.close();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1d0f006a7dfcedbef9bd1e74b3be740\",\n \"score\": \"0.4575637\",\n \"text\": \"@Override\\n\\t\\tpublic ServerResponse send() {\\n\\t\\t\\treturn new ServerResponse((char)200, \\\"\\\", new HashMap<>(), \\\"HTTP/1.1 200 OK\\\");\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"96ccc486e7e5412d35d570c6b6b2df05\",\n \"score\": \"0.4563716\",\n \"text\": \"public void setHead(Details head) {\\r\\n\\t\\tthis.head = head;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0767da0c326d5498a09018cf30a31d5\",\n \"score\": \"0.45605493\",\n \"text\": \"private void handleHttpRequest(ChannelHandlerContext ctx, FullHttpRequest req) {\\n if (!req.decoderResult().isSuccess()) {\\n sendHttpResponse(ctx, req, new DefaultFullHttpResponse(HTTP_1_1, BAD_REQUEST));\\n return;\\n }\\n\\n // Allow only GET methods.\\n if (!GET.equals(req.method())) {\\n sendHttpResponse(ctx, req, new DefaultFullHttpResponse(HTTP_1_1, FORBIDDEN));\\n return;\\n }\\n\\n// if (\\\"/test\\\".equals(req.uri())) {\\n// ByteBuf content = Unpooled.copiedBuffer(\\\"test\\\", StandardCharsets.UTF_8);\\n// FullHttpResponse res = new DefaultFullHttpResponse(HTTP_1_1, HttpResponseStatus.OK, content);\\n// sendHttpResponse(ctx, req, res);\\n// } else {\\n// sendHttpResponse(ctx, req, new DefaultFullHttpResponse(HTTP_1_1, NOT_FOUND));\\n// }\\n /* // Send the demo page and favicon.ico\\n if (\\\"/\\\".equals(req.uri())) {\\n ByteBuf content = WebSocketServerBenchmarkPage.getContent(getWebSocketLocation(req));\\n FullHttpResponse res = new DefaultFullHttpResponse(HTTP_1_1, OK, content);\\n\\n res.headers().set(HttpHeaderNames.CONTENT_TYPE, \\\"text/html; charset=UTF-8\\\");\\n HttpUtil.setContentLength(res, content.readableBytes());\\n\\n sendHttpResponse(ctx, req, res);\\n return;\\n } else {\\n if (\\\"/favicon.ico\\\".equals(req.uri())) {\\n FullHttpResponse res = new DefaultFullHttpResponse(HTTP_1_1, NOT_FOUND);\\n sendHttpResponse(ctx, req, res);\\n return;\\n }\\n*/\\n // Handshake\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eef61986375043509c3b408effa35c26\",\n \"score\": \"0.4558275\",\n \"text\": \"private HTTPResponse connect(HttpURLConnection connection) throws HTTPException, IOException {\\n\\t\\tHTTPResponse response = new HTTPResponse(connection);\\n\\t\\tresponse.checkStatus();\\n\\t\\treturn response;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dab7c2156f3ac4ba9c8031e2e74bf4ff\",\n \"score\": \"0.4551519\",\n \"text\": \"private HTTPGETrequest(String host, int port)\\r\\n {\\r\\n BASE_URL = \\\"http://\\\" + host + \\\":\\\" + port + \\\"/\\\";\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a060c78ff26c3a614950e2916925df62\",\n \"score\": \"0.45498735\",\n \"text\": \"public String connectHeadNamespacedPodProxy(String name, String namespace, String path)\\n throws ApiException {\\n ApiResponse localVarResp =\\n connectHeadNamespacedPodProxyWithHttpInfo(name, namespace, path);\\n return localVarResp.getData();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1665d82265dd5ae6080491d895f72a15\",\n \"score\": \"0.45410076\",\n \"text\": \"HttpMethod getHttpGetWithVirtualHost(String baseUrl,\\n String virtualHost) throws UnknownHostException, MalformedURLException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9483f93e0b31ee60df3837a90fc0d5d5\",\n \"score\": \"0.45351315\",\n \"text\": \"public final boolean exchangeHeaders(final com.koushikdutta.async.http.b.c r9) {\\n /*\\n r8 = this;\\n java.lang.String r0 = r9.protocol\\n com.koushikdutta.async.http.Protocol r0 = com.koushikdutta.async.http.Protocol.get(r0)\\n if (r0 == 0) goto L_0x0015\\n com.koushikdutta.async.http.Protocol r1 = com.koushikdutta.async.http.Protocol.HTTP_1_0\\n if (r0 == r1) goto L_0x0015\\n com.koushikdutta.async.http.Protocol r1 = com.koushikdutta.async.http.Protocol.HTTP_1_1\\n if (r0 == r1) goto L_0x0015\\n boolean r9 = super.exchangeHeaders(r9)\\n return r9\\n L_0x0015:\\n com.koushikdutta.async.http.d r0 = r9.request\\n com.koushikdutta.async.http.d r1 = r9.request\\n com.koushikdutta.async.http.a.a r1 = r1.getBody()\\n if (r1 == 0) goto L_0x006f\\n int r2 = r1.length()\\n if (r2 < 0) goto L_0x003e\\n com.koushikdutta.async.http.n r2 = r0.getHeaders()\\n int r3 = r1.length()\\n java.lang.String r3 = java.lang.String.valueOf(r3)\\n java.lang.String r4 = \\\"Content-Length\\\"\\n r2.set(r4, r3)\\n com.koushikdutta.async.http.b$h r2 = r9.response\\n com.koushikdutta.async.j r3 = r9.socket\\n r2.sink(r3)\\n goto L_0x006f\\n L_0x003e:\\n com.koushikdutta.async.http.n r2 = r0.getHeaders()\\n java.lang.String r3 = \\\"Connection\\\"\\n java.lang.String r2 = r2.get(r3)\\n java.lang.String r3 = \\\"close\\\"\\n boolean r2 = r3.equals(r2)\\n if (r2 == 0) goto L_0x0058\\n com.koushikdutta.async.http.b$h r2 = r9.response\\n com.koushikdutta.async.j r3 = r9.socket\\n r2.sink(r3)\\n goto L_0x006f\\n L_0x0058:\\n com.koushikdutta.async.http.n r2 = r0.getHeaders()\\n java.lang.String r3 = \\\"Transfer-Encoding\\\"\\n java.lang.String r4 = \\\"Chunked\\\"\\n r2.set(r3, r4)\\n com.koushikdutta.async.http.b$h r2 = r9.response\\n com.koushikdutta.async.http.d.c r3 = new com.koushikdutta.async.http.d.c\\n com.koushikdutta.async.j r4 = r9.socket\\n r3.(r4)\\n r2.sink(r3)\\n L_0x006f:\\n com.koushikdutta.async.http.w r2 = r0.getRequestLine()\\n java.lang.String r2 = r2.toString()\\n com.koushikdutta.async.http.n r3 = r0.getHeaders()\\n java.lang.String r2 = r3.toPrefixString(r2)\\n byte[] r3 = r2.getBytes()\\n r4 = 1\\n if (r1 == 0) goto L_0x0098\\n int r5 = r1.length()\\n if (r5 < 0) goto L_0x0098\\n int r1 = r1.length()\\n int r5 = r3.length\\n int r1 = r1 + r5\\n r5 = 1024(0x400, float:1.435E-42)\\n if (r1 >= r5) goto L_0x0098\\n r1 = 1\\n goto L_0x0099\\n L_0x0098:\\n r1 = 0\\n L_0x0099:\\n if (r1 == 0) goto L_0x00b0\\n com.koushikdutta.async.k r1 = new com.koushikdutta.async.k\\n com.koushikdutta.async.http.b$h r5 = r9.response\\n com.koushikdutta.async.q r5 = r5.sink()\\n r1.(r5)\\n r1.forceBuffering(r4)\\n com.koushikdutta.async.http.b$h r5 = r9.response\\n r5.sink(r1)\\n r5 = r1\\n goto L_0x00b6\\n L_0x00b0:\\n r1 = 0\\n com.koushikdutta.async.j r5 = r9.socket\\n r7 = r5\\n r5 = r1\\n r1 = r7\\n L_0x00b6:\\n java.lang.String r2 = java.lang.String.valueOf(r2)\\n java.lang.String r6 = \\\"\\\\n\\\"\\n java.lang.String r2 = r6.concat(r2)\\n r0.logv(r2)\\n com.koushikdutta.async.a.a r0 = r9.sendHeadersCallback\\n com.koushikdutta.async.http.p$1 r2 = new com.koushikdutta.async.http.p$1\\n r2.(r0, r5)\\n com.koushikdutta.async.af.writeAll((com.koushikdutta.async.q) r1, (byte[]) r3, (com.koushikdutta.async.a.a) r2)\\n com.koushikdutta.async.http.p$2 r0 = new com.koushikdutta.async.http.p$2\\n r0.(r9)\\n com.koushikdutta.async.y r1 = new com.koushikdutta.async.y\\n r1.()\\n com.koushikdutta.async.j r9 = r9.socket\\n r9.setDataCallback(r1)\\n r1.setLineCallback(r0)\\n return r4\\n */\\n throw new UnsupportedOperationException(\\\"Method not decompiled: com.koushikdutta.async.http.p.exchangeHeaders(com.koushikdutta.async.http.b$c):boolean\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f910d425f0a472a2af68476cc775f9a3\",\n \"score\": \"0.45262572\",\n \"text\": \"public static void readHEAD() {\\n File file = Utils.join(Repository.BRANCH_DIR, \\\"HEAD\\\");\\n pointBranchName = readObject(file, String.class);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"965d5851fd7f6f3aafce13bcdb8dd3e9\",\n \"score\": \"0.45250562\",\n \"text\": \"public void sendServerPing();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3100f00731e08599275afedb638d542\",\n \"score\": \"0.45206952\",\n \"text\": \"private static String processGet(String[] command) throws IOException {\\r\\n\\t\\tif (!command[0].equals(\\\"GET\\\")) {\\r\\n\\t\\t\\treturn \\\"\\\" + 500 + getTimeAndDate();\\r\\n\\t\\t}\\r\\n\\t\\tString result = processHead(command);\\r\\n\\t\\tif (result.startsWith(\\\"200\\\")) {\\r\\n\\t\\t\\treturn result;\\r\\n\\t\\t} else\\r\\n\\t\\t\\treturn \\\"400\\\" + getTimeAndDate();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"760ae6ba2b65695893efcf4fed68eb5b\",\n \"score\": \"0.450627\",\n \"text\": \"public void handleRequest(HttpServerConnection conn, HttpContext context) throws IOException, HttpException {\\n/* 302 */ context.setAttribute(\\\"http.connection\\\", conn);\\n/* */ \\n/* 304 */ HttpRequest request = null;\\n/* 305 */ HttpResponse response = null;\\n/* */ \\n/* */ try {\\n/* 308 */ request = conn.receiveRequestHeader();\\n/* 309 */ if (request instanceof HttpEntityEnclosingRequest)\\n/* */ {\\n/* 311 */ if (((HttpEntityEnclosingRequest)request).expectContinue()) {\\n/* 312 */ response = this.responseFactory.newHttpResponse((ProtocolVersion)HttpVersion.HTTP_1_1, 100, context);\\n/* */ \\n/* 314 */ if (this.expectationVerifier != null) {\\n/* */ try {\\n/* 316 */ this.expectationVerifier.verify(request, response, context);\\n/* 317 */ } catch (HttpException ex) {\\n/* 318 */ response = this.responseFactory.newHttpResponse((ProtocolVersion)HttpVersion.HTTP_1_0, 500, context);\\n/* */ \\n/* 320 */ handleException(ex, response);\\n/* */ } \\n/* */ }\\n/* 323 */ if (response.getStatusLine().getStatusCode() < 200) {\\n/* */ \\n/* */ \\n/* 326 */ conn.sendResponseHeader(response);\\n/* 327 */ conn.flush();\\n/* 328 */ response = null;\\n/* 329 */ conn.receiveRequestEntity((HttpEntityEnclosingRequest)request);\\n/* */ } \\n/* */ } else {\\n/* 332 */ conn.receiveRequestEntity((HttpEntityEnclosingRequest)request);\\n/* */ } \\n/* */ }\\n/* */ \\n/* 336 */ context.setAttribute(\\\"http.request\\\", request);\\n/* */ \\n/* 338 */ if (response == null) {\\n/* 339 */ response = this.responseFactory.newHttpResponse((ProtocolVersion)HttpVersion.HTTP_1_1, 200, context);\\n/* */ \\n/* 341 */ this.processor.process(request, context);\\n/* 342 */ doService(request, response, context);\\n/* */ } \\n/* */ \\n/* */ \\n/* 346 */ if (request instanceof HttpEntityEnclosingRequest) {\\n/* 347 */ HttpEntity entity = ((HttpEntityEnclosingRequest)request).getEntity();\\n/* 348 */ EntityUtils.consume(entity);\\n/* */ }\\n/* */ \\n/* 351 */ } catch (HttpException ex) {\\n/* 352 */ response = this.responseFactory.newHttpResponse((ProtocolVersion)HttpVersion.HTTP_1_0, 500, context);\\n/* */ \\n/* */ \\n/* 355 */ handleException(ex, response);\\n/* */ } \\n/* */ \\n/* 358 */ context.setAttribute(\\\"http.response\\\", response);\\n/* */ \\n/* 360 */ this.processor.process(response, context);\\n/* 361 */ conn.sendResponseHeader(response);\\n/* 362 */ if (canResponseHaveBody(request, response)) {\\n/* 363 */ conn.sendResponseEntity(response);\\n/* */ }\\n/* 365 */ conn.flush();\\n/* */ \\n/* 367 */ if (!this.connStrategy.keepAlive(response, context)) {\\n/* 368 */ conn.close();\\n/* */ }\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0cee8d5cf9162bbe1b18b7b07fcf025c\",\n \"score\": \"0.45007548\",\n \"text\": \"StatusReply ping() throws RedisException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3faf705c874046d7bb85c21deff7e91e\",\n \"score\": \"0.44955114\",\n \"text\": \"protected HandshakeStatus createCrawlerHandshakeStatus( )\\n {\\n HTTPHeaderGroup crawlerHeaders = new HTTPHeaderGroup( \\n HTTPHeaderGroup.COMMON_HANDSHAKE_GROUP );\\n \\n boolean isUltrapeer = servent.isUltrapeer();\\n \\n crawlerHeaders.addHeader( new HTTPHeader(\\n GnutellaHeaderNames.X_ULTRAPEER, String.valueOf( isUltrapeer ) ) );\\n \\n if ( isUltrapeer )\\n {\\n // add connected leaves...\\n Host[] leafs = servent.getHostService().getLeafConnections();\\n if ( leafs.length > 0 )\\n {\\n String leafAddressString = buildHostAddressString(leafs, leafs.length );\\n crawlerHeaders.addHeader( new HTTPHeader( GnutellaHeaderNames.LEAVES,\\n leafAddressString ) );\\n }\\n }\\n \\n // add connected ultrapeers \\n Host[] ultrapeers = servent.getHostService().getUltrapeerConnections();\\n if ( ultrapeers.length > 0 )\\n {\\n String ultrapeerAddressString = buildHostAddressString(ultrapeers, ultrapeers.length );\\n crawlerHeaders.addHeader( new HTTPHeader( GnutellaHeaderNames.PEERS,\\n ultrapeerAddressString ) );\\n }\\n \\n return new HandshakeStatus( STATUS_CODE_OK,\\n STATUS_MESSAGE_OK, crawlerHeaders );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78dc78dcd880f20526db730149e4480b\",\n \"score\": \"0.4494063\",\n \"text\": \"HttpProtocol protocol();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fcf3a52f3479d21a6b88e16d0b0d2566\",\n \"score\": \"0.44938645\",\n \"text\": \"public Node getHead(){\\n return this.head;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d49c0914da014a4127871111a383e851\",\n \"score\": \"0.44888487\",\n \"text\": \"void proxyOpFailureClientOverloaded();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4029cf8a6b839d539f1745e3f8995c1\",\n \"score\": \"0.4486167\",\n \"text\": \"@Override\\n\\tpublic void beforeRequest(Channel clientChannel, HttpRequest httpRequest, HttpProxyInterceptPipeline pipeline) throws Exception {\\n\\t\\tif (log.isDebugEnabled()) {\\n\\t\\t\\tlog.debugf(\\\"resquest url : \\\\n\\\\t %s\\\", httpRequest.uri());\\n\\t\\t}\\n\\t\\tpipeline.beforeRequest(clientChannel, httpRequest);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"773b70c30a2c15c49b01f994a1828752\",\n \"score\": \"0.4480619\",\n \"text\": \"@Test\\n public void PreemptiveAuthentication ()\\n {\\n\\t given()\\n\\t\\t.proxy(\\\"192.168.100.1\\\", 8081)\\n\\t .when()\\n\\t\\t.get(\\\"http://restapi.demoqa.com/authentication/CheckForAuthentication/\\\")\\n\\t .then()\\n\\t\\t.statusCode(200);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ab1a5b6869a801d47c9c966c8c636f8\",\n \"score\": \"0.44775826\",\n \"text\": \"@Test\\n public void testGetAllRecipes() {\\n\\n System.out.println(webresall);\\n\\n System.out.println(webresall.get(String.class));\\n ClientResponse head = webresall.head();\\n\\n if(head.getStatus()==200)\\n assertEquals(200,head.getStatus());\\n else\\n fail(\\\"Some errors occurred\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b615e56807e409e184f050f4b941ff4f\",\n \"score\": \"0.44720665\",\n \"text\": \"@Override\\n\\tpublic void run() \\n {\\n\\t\\tBufferedReader in = null;\\n PrintWriter headerOut = null;\\n BufferedOutputStream dataOut = null;\\n \\n\\t\\tString filePath = null;\\n List supportedMethods = new ArrayList<>(Arrays.asList(\\\"GET\\\", \\\"HEAD\\\"));\\n\\t\\t\\n\\t\\ttry \\n {\\n //input stream\\n\\t\\t\\tin = new BufferedReader(new InputStreamReader(socket.getInputStream()));\\n\\t\\t\\t//text output stream for headers\\n\\t\\t\\theaderOut = new PrintWriter(socket.getOutputStream());\\n\\t\\t\\t//binary output stream for data\\n\\t\\t\\tdataOut = new BufferedOutputStream(socket.getOutputStream());\\n\\t\\t\\t\\n\\t\\t\\t//get first line of the request from the client\\n\\t\\t\\tString input = in.readLine();\\n\\t\\t\\t//parse the request with a string tokenizer\\n\\t\\t\\tStringTokenizer parser = new StringTokenizer(input);\\n\\t\\t\\t//get method and file requested\\n\\t\\t\\tString method = parser.nextToken().toUpperCase();\\n\\t\\t\\tfilePath = parser.nextToken().toLowerCase();\\n\\t\\t\\t\\n\\t\\t\\t//check supported methods\\n\\t\\t\\tif(!supportedMethods.contains(method)) \\n {\\n\\t\\t\\t\\tif (verbose) \\n\\t\\t\\t\\t\\tSystem.out.println(\\\"501 Not Implemented : \\\" + method + \\\" method.\\\");\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t//return the not supported file to the client\\n\\t\\t\\t\\tbyte[] fileData = readFileData(WEB_ROOT + \\\"/\\\" + METHOD_NOT_SUPPORTED);\\n\\t\\t\\t\\tint fileLength = fileData.length;\\n\\t\\t\\t\\tString contentMimeType = \\\"text/html\\\";\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t//send HTTP headers\\n\\t\\t\\t\\theaderOut.println(\\\"HTTP/1.1 501 Not Implemented\\\");\\n\\t\\t\\t\\theaderOut.println(\\\"Server: Java HTTP Server from samu902 : 1.0\\\");\\n\\t\\t\\t\\theaderOut.println(\\\"Date: \\\" + new Date());\\n\\t\\t\\t\\theaderOut.println(\\\"Content-type: \\\" + contentMimeType);\\n\\t\\t\\t\\theaderOut.println(\\\"Content-length: \\\" + fileLength);\\n\\t\\t\\t\\theaderOut.println(); //blank line between headers and content, very important!\\n\\t\\t\\t\\theaderOut.flush(); \\n\\t\\t\\t\\t//send file data\\n\\t\\t\\t\\tdataOut.write(fileData, 0, fileLength);\\n\\t\\t\\t\\tdataOut.flush();\\t\\n\\t\\t\\t} \\n else \\n {\\n //special treatment for this file\\n if(filePath.endsWith(\\\"/punti-vendita.xml\\\"))\\n {\\n puntiVendita(headerOut, dataOut);\\n return;\\n }\\n \\n //DB paths\\n if(filePath.equals(DB_JSON_URL) || filePath.equals(DB_XML_URL))\\n {\\n databaseData(headerOut, dataOut, filePath);\\n return;\\n }\\n \\n\\t\\t\\t\\t//if path is a folder, append the default file\\n\\t\\t\\t\\tif (filePath.endsWith(\\\"/\\\"))\\n\\t\\t\\t\\t\\tfilePath += DEFAULT_FILE;\\n \\n //GET method so we return content\\n\\t\\t\\t\\tif (method.equals(\\\"GET\\\")) \\n {\\n\\t\\t\\t\\t\\tbyte[] fileData = readFileData(WEB_ROOT + filePath);\\n int fileLength = fileData.length;\\n String content = getContentType(filePath);\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t//send HTTP headers\\n\\t\\t\\t\\t\\theaderOut.println(\\\"HTTP/1.1 200 OK\\\");\\n\\t\\t\\t\\t\\theaderOut.println(\\\"Server: Java HTTP Server from Samu902 : 1.0\\\");\\n\\t\\t\\t\\t\\theaderOut.println(\\\"Date: \\\" + new Date());\\n\\t\\t\\t\\t\\theaderOut.println(\\\"Content-type: \\\" + content);\\n\\t\\t\\t\\t\\theaderOut.println(\\\"Content-length: \\\" + fileLength);\\n\\t\\t\\t\\t\\theaderOut.println(); // blank line between headers and content, very important!\\n\\t\\t\\t\\t\\theaderOut.flush();\\n //send file data\\n dataOut.write(fileData, 0, fileLength);\\n dataOut.flush();\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tif (verbose)\\n\\t\\t\\t\\t\\tSystem.out.println(\\\"File \\\" + filePath + \\\" of type \\\" + getContentType(filePath) + \\\" returned\\\");\\t\\n\\t\\t\\t}\\n\\t\\t} \\n catch (FileNotFoundException fnfe) \\n {\\n\\t\\t\\ttry \\n { \\n //if file is without extension (and not a folder) and doesn't exist, try to redirect to a folder with the same name\\n if(getFileExtension(filePath).equals(\\\"\\\") && !filePath.endsWith(\\\"/\\\"))\\n {\\n redirectToFolder(headerOut, filePath);\\n return;\\n }\\n \\n\\t\\t\\t\\tfileNotFound(headerOut, dataOut, filePath);\\n\\t\\t\\t} \\n catch (IOException ioe) \\n {\\n\\t\\t\\t\\tSystem.err.println(\\\"Error with file not found exception : \\\" + ioe.getMessage());\\n\\t\\t\\t}\\n\\t\\t}\\n catch (IOException ioe) \\n {\\n\\t\\t\\tSystem.err.println(\\\"Server error : \\\" + ioe);\\n\\t\\t} \\n finally \\n {\\n\\t\\t\\ttry \\n {\\n //close streams and socket connection\\n\\t\\t\\t\\tin.close();\\n\\t\\t\\t\\theaderOut.close();\\n\\t\\t\\t\\tdataOut.close();\\n\\t\\t\\t\\tsocket.close();\\n\\t\\t\\t} \\n catch (Exception e) \\n {\\n\\t\\t\\t\\tSystem.err.println(\\\"Error closing stream : \\\" + e.getMessage());\\n\\t\\t\\t} \\n\\t\\t\\t\\n\\t\\t\\tif (verbose)\\n\\t\\t\\t\\tSystem.out.println(\\\"Connection closed.\\\\n\\\");\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4df88af1624df25c4451ef7c664c924a\",\n \"score\": \"0.4468773\",\n \"text\": \"public okhttp3.Call connectHeadNamespacedPodProxyWithPathCall(\\n String name, String namespace, String path, String path2, final ApiCallback _callback)\\n throws ApiException {\\n Object localVarPostBody = null;\\n\\n // create path and map variables\\n String localVarPath =\\n \\\"/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}\\\"\\n .replaceAll(\\\"\\\\\\\\{\\\" + \\\"name\\\" + \\\"\\\\\\\\}\\\", localVarApiClient.escapeString(name.toString()))\\n .replaceAll(\\n \\\"\\\\\\\\{\\\" + \\\"namespace\\\" + \\\"\\\\\\\\}\\\", localVarApiClient.escapeString(namespace.toString()))\\n .replaceAll(\\\"\\\\\\\\{\\\" + \\\"path\\\" + \\\"\\\\\\\\}\\\", localVarApiClient.escapeString(path.toString()));\\n\\n List localVarQueryParams = new ArrayList();\\n List localVarCollectionQueryParams = new ArrayList();\\n if (path2 != null) {\\n localVarQueryParams.addAll(localVarApiClient.parameterToPair(\\\"path\\\", path2));\\n }\\n\\n Map localVarHeaderParams = new HashMap();\\n Map localVarCookieParams = new HashMap();\\n Map localVarFormParams = new HashMap();\\n final String[] localVarAccepts = {\\\"*/*\\\"};\\n final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);\\n if (localVarAccept != null) {\\n localVarHeaderParams.put(\\\"Accept\\\", localVarAccept);\\n }\\n\\n final String[] localVarContentTypes = {};\\n\\n final String localVarContentType =\\n localVarApiClient.selectHeaderContentType(localVarContentTypes);\\n localVarHeaderParams.put(\\\"Content-Type\\\", localVarContentType);\\n\\n String[] localVarAuthNames = new String[] {\\\"BearerToken\\\"};\\n return localVarApiClient.buildCall(\\n localVarPath,\\n \\\"HEAD\\\",\\n localVarQueryParams,\\n localVarCollectionQueryParams,\\n localVarPostBody,\\n localVarHeaderParams,\\n localVarCookieParams,\\n localVarFormParams,\\n localVarAuthNames,\\n _callback);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba6c5647671aedaeb7f42891ec619bd7\",\n \"score\": \"0.4465882\",\n \"text\": \"public Head getHead() {\\n return head;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8de2790c4813b24d6c578c5b2a5e3e13\",\n \"score\": \"0.4459128\",\n \"text\": \"@Test\\n public void seleniumTest() throws Exception\\n {\\n System.setProperty(\\\"webdriver.chrome.driver\\\", \\\"/Users/evgenyp/Downloads/chromedriver\\\");\\n\\n // start the proxy\\n BrowserMobProxy proxy = new BrowserMobProxyServer();\\n proxy.start(0);\\n\\n // get the Selenium proxy object\\n Proxy seleniumProxy = ClientUtil.createSeleniumProxy(proxy);\\n\\n // configure it as a desired capability\\n DesiredCapabilities capabilities = new DesiredCapabilities();\\n capabilities.setCapability(CapabilityType.PROXY, seleniumProxy);\\n\\n ChromeOptions options = new ChromeOptions();\\n options.merge(capabilities);\\n\\n // start the browser up\\n WebDriver driver = new ChromeDriver(options);\\n\\n // enable more detailed HAR capture, if desired (see CaptureType for the complete list)\\n proxy.enableHarCaptureTypes(CaptureType.REQUEST_CONTENT, CaptureType.RESPONSE_CONTENT, CaptureType.REQUEST_HEADERS, CaptureType.RESPONSE_HEADERS);\\n\\n /**\\n * add custom header to request*\\n **/\\n //proxy.addHeader(\\\"User-Agent\\\", \\\"TEST_AGENT\\\");\\n //proxy.addHeader(\\\"Custom-header\\\", \\\"CUSTOM_HEADER\\\");\\n\\n\\n /**\\n * Enable a response filter, which will monitor all responses and do some actions\\n */\\n\\n ResponseFilter filter = new ResponseFilter() {\\n public void filterResponse(HttpResponse httpResponse, HttpMessageContents httpMessageContents, HttpMessageInfo httpMessageInfo) {\\n\\n\\n //Print all url's, so we can later use it to filter particular responses:\\n System.out.println(\\\"intercepting response for url :\\\" + httpMessageInfo.getOriginalUrl());\\n\\n //Change http status to another for some url\\n if (httpMessageInfo.getOriginalUrl().contains(\\\"homepage-hero-large.jpg\\\")) {\\n\\n System.out.println(\\\"FOUND URL\\\");\\n HttpResponseStatus newStatus = new HttpResponseStatus(500,\\\"ERROR\\\");\\n HttpResponse res = httpResponse;\\n res.setStatus(newStatus);\\n\\n }\\n\\n //change all occurrences of the word Wix to SUCCESS\\n //String messageContents = httpMessageContents.getTextContents();\\n //String newContents = messageContents.replaceAll(\\\"Wix\\\", \\\"SUCCESS\\\");\\n //httpMessageContents.setTextContents(newContents);\\n }\\n };\\n\\n proxy.addResponseFilter(filter);\\n\\n // create a new HAR with the label \\\"wix.com\\\"\\n proxy.newHar(\\\"wix.com\\\");\\n\\n // open yahoo.com\\n driver.get(\\\"http://wix.com\\\");\\n TimeUnit.SECONDS.sleep(15);\\n // get the HAR data which can be used later to analyze statistics\\n Har har = proxy.getHar();\\n\\n String requestType = har.getLog().getEntries().get(0).getRequest().getMethod();\\n String url = har.getLog().getEntries().get(0).getRequest().getUrl();\\n int number = har.getLog().getEntries().size();\\n\\n\\n System.out.println(\\\"Total: \\\" + number + \\\" requests/responses \\\");\\n System.out.println(\\\"The first request was of type \\\" + requestType + \\\", to URL \\\" + url);\\n\\n TimeUnit.SECONDS.sleep(10);\\n driver.close();\\n driver.quit();\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":327,"cells":{"query_id":{"kind":"string","value":"25197b4cf814864ecd440f23b9149cb3"},"query":{"kind":"string","value":"TODO Autogenerated method stub"},"positive_passages":{"kind":"list like","value":[{"docid":"7cb7e3b0f922694e371515cc535b006d","score":"0.0","text":"@Override\n public ResultSet getResultSet(long index, int count, Map> map) throws SQLException {\n throw new UnsupportedOperationException(\"Unimplemented method 'getResultSet'\");\n }","title":""}],"string":"[\n {\n \"docid\": \"7cb7e3b0f922694e371515cc535b006d\",\n \"score\": \"0.0\",\n \"text\": \"@Override\\n public ResultSet getResultSet(long index, int count, Map> map) throws SQLException {\\n throw new UnsupportedOperationException(\\\"Unimplemented method 'getResultSet'\\\");\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"63a51b9825ac81396e1d7ad0b9f3ed82","score":"0.6866318","text":"@Override\n\tpublic void 군무() {\n\t\t\n\t}","title":""},{"docid":"15ae679aae74424c73fde647cf4332f6","score":"0.68461496","text":"@Override\r\n\t\t\tpublic void hissetmek() {\n\r\n\t\t\t}","title":""},{"docid":"76a80470fd21f5a9092c258ed3a8a632","score":"0.68199706","text":"private static void 로또번호리스트() {\n\t\t\r\n\t}","title":""},{"docid":"bfad11e436c98998f434617a4d2907e5","score":"0.6690517","text":"@Override\r\n\tpublic void adharno() {\n\t\t\r\n\t}","title":""},{"docid":"33d41636b65afa8267c9085dae3d1a2d","score":"0.6679176","text":"private void apparence() {\r\n\r\n\t}","title":""},{"docid":"9969c2cd0a26f223be9eea348d1c6160","score":"0.6571234","text":"private static void 로또수동생성() {\n\t\t\r\n\t}","title":""},{"docid":"0b5b11f4251ace8b3d0f5ead186f7beb","score":"0.65677965","text":"@Override\n\tpublic void comer() {\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":"1dd3d9bdd67d8cc8bddfe021796a9286","score":"0.6433148","text":"@Override\n protected void lodate() {\n\n }","title":""},{"docid":"b62655d47438ae6875a06d0702721dbc","score":"0.6424808","text":"@Override\r\n\t\t\tpublic void koklama() {\n\r\n\t\t\t}","title":""},{"docid":"d92d5fe4c6efcfe66d53457e76817518","score":"0.64108074","text":"@Override\r\n\t\t\tprotected void init() {\n\t\t\t\t\r\n\t\t\t}","title":""},{"docid":"5435fed6c0a9345524c30343d8ed9829","score":"0.63912827","text":"@Override\r\n\tpublic void entrenar() {\n\t\t\r\n\t}","title":""},{"docid":"dda3b5a5b8e9e69b6eec0807bf162606","score":"0.63636446","text":"@Override\r\n\tpublic void rozmnozovat() {\n\t\t\r\n\t}","title":""},{"docid":"00075c50e26b18237953cd05ffd5428b","score":"0.63032013","text":"@Override\n\tpublic void beber() {\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":"76e3d99118a00e74a082f6a955778f7d","score":"0.62293875","text":"Grensesnitt(){}","title":""},{"docid":"61358eff9372995c8157b02d47a44a6a","score":"0.6186996","text":"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}","title":""},{"docid":"bf8fefe7b85b49281edb456698bfd556","score":"0.616781","text":"@Override\r\n\tpublic void descansar() {\n\t\t\r\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":"c612bcadafd393d086f44fd19558a8be","score":"0.61533993","text":"@Override\r\n\tpublic void inicialize() {\n\t\t\r\n\t}","title":""},{"docid":"106ce0ada7b978eeffda7ec9cccc29e2","score":"0.61470556","text":"public void дразнит() {\n\n\t}","title":""},{"docid":"a6e9388ba580a030c48b527221f8e81a","score":"0.6139653","text":"@Override\n\tpublic void actuar() {\n\t\t\n\t}","title":""},{"docid":"958663dc976180cba7b91b2a4ebcb522","score":"0.61089844","text":"@Override\n\tpublic void atualiza() {\n\n\t}","title":""},{"docid":"2bd152bb33ecbe797b9818e175c5d4ec","score":"0.6105675","text":"public void mo55659a() {\n }","title":""},{"docid":"42693116fba02f3f07be1ab752c6d9bc","score":"0.6063955","text":"@Override\r\n\tpublic void concentrarse() {\n\t\t\r\n\t}","title":""},{"docid":"cce15f647f795017e06f2ca544477ccd","score":"0.6063628","text":"@Override\n\tpublic void chamCong() {\n\n\t}","title":""},{"docid":"c95af00aee2fa41e8a03e3640ca30750","score":"0.6041561","text":"@Override\n\tpublic void ligar() {\n\t\t\n\t}","title":""},{"docid":"b7d3c2b49702a5ed673b243bf8d2b7c0","score":"0.60215324","text":"@Override\n\tprotected void funcionario() {\n\t\t\n\t}","title":""},{"docid":"0d996fa345e18b74a73dce6394fc0b15","score":"0.60198766","text":"@Override\r\n\tpublic void sunricers() {\n\t\t\r\n\t}","title":""},{"docid":"a6c2db17f79f35f8fc3b8e99eee9ab48","score":"0.60124713","text":"@Override\r\n\tprotected void init() {\n\t\t\r\n\t}","title":""},{"docid":"27c725838f280928d869cc973588317c","score":"0.6001773","text":"@Override\r\n\tpublic void doSelfOpertion() {\n\t\t\r\n\t}","title":""},{"docid":"f350fb57d7c81ec6d70f2643960940a8","score":"0.5986621","text":"@Override \r\n public void init() {\n \r\n }","title":""},{"docid":"4f035da85a44bb830509e046190e6ee5","score":"0.59682363","text":"@Override\r\n\tpublic void rajastanroyals() {\n\t\t\r\n\t}","title":""},{"docid":"a0486d5f3890f3b56ce5a39122c4bdd7","score":"0.59527355","text":"@Override\r\n\tvoid metodo4() {\n\t\t\r\n\t}","title":""},{"docid":"c744960aa067b28111e99db9ddf6aeed","score":"0.59477377","text":"@Override\r\n\tpublic void fragancia() {\n\t\t\r\n\t}","title":""},{"docid":"288fd3ee71b736e770bbef790831c263","score":"0.59301406","text":"User mo18615e();","title":""},{"docid":"6f1e0cfaa7350cf143896dace56978f5","score":"0.59270483","text":"@Override\n\tpublic void respirar() {\n\t\t\n\t}","title":""},{"docid":"8b18fd12dbb5303a665e92c25393fb78","score":"0.59239364","text":"@Override\n\tprotected void initData() {\n\t\t\n\t}","title":""},{"docid":"9808ba3c113b79c3677f2c08c09e60a1","score":"0.59020513","text":"@Override\n\tpublic void resert() {\n\t\t\n\t}","title":""},{"docid":"416a053368cfd700d9d09414458911cd","score":"0.58986443","text":"@Override\n\tpublic void assamblyOfControlhead() {\n\t\t\n\t\t\n\t\t\n\t\n\n\t}","title":""},{"docid":"c9b74342d0ae0e22bc7119b60588c66a","score":"0.5897873","text":"@Override\n\t\t\tpublic int getType() {\n\t\t\t\treturn 0;\n\t\t\t}","title":""},{"docid":"c9b74342d0ae0e22bc7119b60588c66a","score":"0.5897873","text":"@Override\n\t\t\tpublic int getType() {\n\t\t\t\treturn 0;\n\t\t\t}","title":""},{"docid":"77d32d2a2070d9c3117ff146ac04f114","score":"0.5891585","text":"@Override\r\n\tpublic void climaChuvoso() {\n\r\n\t}","title":""},{"docid":"77f859c241fd5e1d997f67c3b890833e","score":"0.5886342","text":"@Override\n\tpublic void dormir() {\n\t\t\n\t}","title":""},{"docid":"40577cf33330bd70c08bc8e310b4436d","score":"0.58706117","text":"@Override\n\tpublic void falar() {\n\n\t}","title":""},{"docid":"79c707f3d28263fcc89902b0527d5c14","score":"0.58528596","text":"public void mo736a() {\n }","title":""},{"docid":"42c3f8e63385f8e328b6828c1f7243d4","score":"0.584987","text":"@Override\r\n\t\tpublic void method_4() {\n\t\t\t\r\n\t\t}","title":""},{"docid":"60e50abec8df6d4d5a80de13ba750171","score":"0.5842782","text":"@Override\r\n\tpublic void retour() {\n\t\t\r\n\t}","title":""},{"docid":"debc6b4612a5fe9f0680a6bff73f25e6","score":"0.58388203","text":"@Override\r\n\t\tpublic void emettreSon() {\n\t\t\t\r\n\t\t}","title":""},{"docid":"d56c498b25d1ea77dc09f49efcf80f6c","score":"0.58347356","text":"@Override\r\n\tpublic void aumentaFatorAcidade() {\n\r\n\t}","title":""},{"docid":"a5d63cf5eb472d80fba18b0149c96501","score":"0.5825308","text":"@Override\n\tpublic void memberSecession() {\n\t\t\n\t}","title":""},{"docid":"f4f7bcdf27874d7a17a80f57f8df43e0","score":"0.5822819","text":"public void mo10744d() {\n }","title":""},{"docid":"d45e7311f809d3019d7382af887cb3cf","score":"0.5799729","text":"@Override\r\n\tpublic void dehlidervels() {\n\t\t\r\n\t}","title":""},{"docid":"ce91051d32625345f2bf3562abbb93de","score":"0.5794177","text":"@Override\n\tprotected void inicializar() {\n\t}","title":""},{"docid":"89b37f5fcca98bdfa7c243fc99d06675","score":"0.5790634","text":"@Override\r\n\tpublic void reanudar() {\n\t\t\r\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":"4a3a3aeaffc4b367a8aa8488e4b59610","score":"0.57720804","text":"public void mo10856b() {\n }","title":""},{"docid":"1c10afc999966d89d84d1fb549910281","score":"0.5770528","text":"@Override \n\t\tprotected void parse() {\t\t\t\n\t\t}","title":""},{"docid":"a46afb3a57efda28ee1b37c4a9b1960f","score":"0.57642525","text":"private void getEx() {\n\r\n\t}","title":""},{"docid":"5e6804b1ba880a8cc8a98006ca4ba35b","score":"0.5761362","text":"@Override\n public void init() {\n\n }","title":""},{"docid":"518a761521ca9f5cb8a8055b32b72cda","score":"0.57596046","text":"@Override\n\tprotected void initialize() {\n\t\t\n\t}","title":""},{"docid":"518a761521ca9f5cb8a8055b32b72cda","score":"0.57596046","text":"@Override\n\tprotected void initialize() {\n\t\t\n\t}","title":""},{"docid":"518a761521ca9f5cb8a8055b32b72cda","score":"0.57596046","text":"@Override\n\tprotected void initialize() {\n\t\t\n\t}","title":""},{"docid":"b95bbed498007dfeba9b078798c02e53","score":"0.5754483","text":"@Override\r\n\tpublic void exibir() {\n\t\t\r\n\t}","title":""},{"docid":"03b93c6668ea7af171bbcdb3af74bb4a","score":"0.57524616","text":"@Override\n public void bicar() {\n }","title":""},{"docid":"b2cde12cf50e0ec60f909684878e936c","score":"0.57514966","text":"@Override\n\tpublic void wykonajZamknij() {\n\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":"a53d232dac89259f961cbc93762f65b2","score":"0.5731746","text":"@Override\r\n\t\t\tvoid n() {\n\t\t\t\t\r\n\t\t\t}","title":""},{"docid":"cf193ee51fc2ac8c94c94264e19ff99c","score":"0.57304704","text":"@Override\n public boolean cannibale() {\n return false;\n }","title":""},{"docid":"cf193ee51fc2ac8c94c94264e19ff99c","score":"0.57304704","text":"@Override\n public boolean cannibale() {\n return false;\n }","title":""},{"docid":"3b072172b17a5e5ab0081f24545795f2","score":"0.57235396","text":"public void przymocowac() {\n\t\t\n\t}","title":""},{"docid":"17e507b0166d99f88c8237ad30d967b7","score":"0.5716563","text":"public void zamowic() {\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":"7bbf3f0011f317b7faa88562e06495b7","score":"0.5714223","text":"@Override\r\n public void reculer() {\n }","title":""},{"docid":"1ba6f6b334c51461b3fe944110e91ef5","score":"0.5707728","text":"@Override\n\tpublic void comerHojas() {\n\t\t\n\t}","title":""},{"docid":"39132efb6b42f8ec625d96ff6226d80b","score":"0.56991017","text":"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}","title":""},{"docid":"2d9072b54f55f18557f92b99be58ec2f","score":"0.56886935","text":"@Override\r\n public String toString() {\n\treturn null;\r\n }","title":""},{"docid":"0ca16e78cddd3c7d9de74c662606bbac","score":"0.5686997","text":"public void mo4570b() {\n }","title":""},{"docid":"359579516b65b36ff8c4344d8363a3ed","score":"0.5686103","text":"@Override\r\n\tprotected void initData() {\n\t}","title":""},{"docid":"09488e6c7d4190869b37b126a578249f","score":"0.56821704","text":"@Override\r\n\t/**\r\n\t * \r\n\t */\r\n\tpublic int size() {\n\t\treturn 0;\r\n\t}","title":""},{"docid":"b6c641fa6ba40a5b14cc33cb07aa0671","score":"0.5669649","text":"@Override\n\tprotected void initData() {\n\t}","title":""},{"docid":"b6c641fa6ba40a5b14cc33cb07aa0671","score":"0.5669649","text":"@Override\n\tprotected void initData() {\n\t}","title":""},{"docid":"001227e6b58a587f9eb4f77b15fc3588","score":"0.5668976","text":"@Override\n\tprotected void local() {\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":""}],"string":"[\n {\n \"docid\": \"63a51b9825ac81396e1d7ad0b9f3ed82\",\n \"score\": \"0.6866318\",\n \"text\": \"@Override\\n\\tpublic void 군무() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"15ae679aae74424c73fde647cf4332f6\",\n \"score\": \"0.68461496\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void hissetmek() {\\n\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"76a80470fd21f5a9092c258ed3a8a632\",\n \"score\": \"0.68199706\",\n \"text\": \"private static void 로또번호리스트() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bfad11e436c98998f434617a4d2907e5\",\n \"score\": \"0.6690517\",\n \"text\": \"@Override\\r\\n\\tpublic void adharno() {\\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\": \"9969c2cd0a26f223be9eea348d1c6160\",\n \"score\": \"0.6571234\",\n \"text\": \"private static void 로또수동생성() {\\n\\t\\t\\r\\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\": \"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\": \"1dd3d9bdd67d8cc8bddfe021796a9286\",\n \"score\": \"0.6433148\",\n \"text\": \"@Override\\n protected void lodate() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b62655d47438ae6875a06d0702721dbc\",\n \"score\": \"0.6424808\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void koklama() {\\n\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d92d5fe4c6efcfe66d53457e76817518\",\n \"score\": \"0.64108074\",\n \"text\": \"@Override\\r\\n\\t\\t\\tprotected void init() {\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5435fed6c0a9345524c30343d8ed9829\",\n \"score\": \"0.63912827\",\n \"text\": \"@Override\\r\\n\\tpublic void entrenar() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dda3b5a5b8e9e69b6eec0807bf162606\",\n \"score\": \"0.63636446\",\n \"text\": \"@Override\\r\\n\\tpublic void rozmnozovat() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"00075c50e26b18237953cd05ffd5428b\",\n \"score\": \"0.63032013\",\n \"text\": \"@Override\\n\\tpublic void beber() {\\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\": \"76e3d99118a00e74a082f6a955778f7d\",\n \"score\": \"0.62293875\",\n \"text\": \"Grensesnitt(){}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"61358eff9372995c8157b02d47a44a6a\",\n \"score\": \"0.6186996\",\n \"text\": \"@Override\\n\\tpublic void gravarBd() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf8fefe7b85b49281edb456698bfd556\",\n \"score\": \"0.616781\",\n \"text\": \"@Override\\r\\n\\tpublic void descansar() {\\n\\t\\t\\r\\n\\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\": \"10ead2e988bf977cb8edb2bacf974891\",\n \"score\": \"0.61546874\",\n \"text\": \"@Override\\n\\tprotected void init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c612bcadafd393d086f44fd19558a8be\",\n \"score\": \"0.61533993\",\n \"text\": \"@Override\\r\\n\\tpublic void inicialize() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"106ce0ada7b978eeffda7ec9cccc29e2\",\n \"score\": \"0.61470556\",\n \"text\": \"public void дразнит() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a6e9388ba580a030c48b527221f8e81a\",\n \"score\": \"0.6139653\",\n \"text\": \"@Override\\n\\tpublic void actuar() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"958663dc976180cba7b91b2a4ebcb522\",\n \"score\": \"0.61089844\",\n \"text\": \"@Override\\n\\tpublic void atualiza() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2bd152bb33ecbe797b9818e175c5d4ec\",\n \"score\": \"0.6105675\",\n \"text\": \"public void mo55659a() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42693116fba02f3f07be1ab752c6d9bc\",\n \"score\": \"0.6063955\",\n \"text\": \"@Override\\r\\n\\tpublic void concentrarse() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cce15f647f795017e06f2ca544477ccd\",\n \"score\": \"0.6063628\",\n \"text\": \"@Override\\n\\tpublic void chamCong() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c95af00aee2fa41e8a03e3640ca30750\",\n \"score\": \"0.6041561\",\n \"text\": \"@Override\\n\\tpublic void ligar() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7d3c2b49702a5ed673b243bf8d2b7c0\",\n \"score\": \"0.60215324\",\n \"text\": \"@Override\\n\\tprotected void funcionario() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d996fa345e18b74a73dce6394fc0b15\",\n \"score\": \"0.60198766\",\n \"text\": \"@Override\\r\\n\\tpublic void sunricers() {\\n\\t\\t\\r\\n\\t}\",\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\": \"27c725838f280928d869cc973588317c\",\n \"score\": \"0.6001773\",\n \"text\": \"@Override\\r\\n\\tpublic void doSelfOpertion() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f350fb57d7c81ec6d70f2643960940a8\",\n \"score\": \"0.5986621\",\n \"text\": \"@Override \\r\\n public void init() {\\n \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4f035da85a44bb830509e046190e6ee5\",\n \"score\": \"0.59682363\",\n \"text\": \"@Override\\r\\n\\tpublic void rajastanroyals() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0486d5f3890f3b56ce5a39122c4bdd7\",\n \"score\": \"0.59527355\",\n \"text\": \"@Override\\r\\n\\tvoid metodo4() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c744960aa067b28111e99db9ddf6aeed\",\n \"score\": \"0.59477377\",\n \"text\": \"@Override\\r\\n\\tpublic void fragancia() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"288fd3ee71b736e770bbef790831c263\",\n \"score\": \"0.59301406\",\n \"text\": \"User mo18615e();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f1e0cfaa7350cf143896dace56978f5\",\n \"score\": \"0.59270483\",\n \"text\": \"@Override\\n\\tpublic void respirar() {\\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\": \"9808ba3c113b79c3677f2c08c09e60a1\",\n \"score\": \"0.59020513\",\n \"text\": \"@Override\\n\\tpublic void resert() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"416a053368cfd700d9d09414458911cd\",\n \"score\": \"0.58986443\",\n \"text\": \"@Override\\n\\tpublic void assamblyOfControlhead() {\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c9b74342d0ae0e22bc7119b60588c66a\",\n \"score\": \"0.5897873\",\n \"text\": \"@Override\\n\\t\\t\\tpublic int getType() {\\n\\t\\t\\t\\treturn 0;\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c9b74342d0ae0e22bc7119b60588c66a\",\n \"score\": \"0.5897873\",\n \"text\": \"@Override\\n\\t\\t\\tpublic int getType() {\\n\\t\\t\\t\\treturn 0;\\n\\t\\t\\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\": \"77f859c241fd5e1d997f67c3b890833e\",\n \"score\": \"0.5886342\",\n \"text\": \"@Override\\n\\tpublic void dormir() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"40577cf33330bd70c08bc8e310b4436d\",\n \"score\": \"0.58706117\",\n \"text\": \"@Override\\n\\tpublic void falar() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"79c707f3d28263fcc89902b0527d5c14\",\n \"score\": \"0.58528596\",\n \"text\": \"public void mo736a() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42c3f8e63385f8e328b6828c1f7243d4\",\n \"score\": \"0.584987\",\n \"text\": \"@Override\\r\\n\\t\\tpublic void method_4() {\\n\\t\\t\\t\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"60e50abec8df6d4d5a80de13ba750171\",\n \"score\": \"0.5842782\",\n \"text\": \"@Override\\r\\n\\tpublic void retour() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"debc6b4612a5fe9f0680a6bff73f25e6\",\n \"score\": \"0.58388203\",\n \"text\": \"@Override\\r\\n\\t\\tpublic void emettreSon() {\\n\\t\\t\\t\\r\\n\\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\": \"a5d63cf5eb472d80fba18b0149c96501\",\n \"score\": \"0.5825308\",\n \"text\": \"@Override\\n\\tpublic void memberSecession() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4f7bcdf27874d7a17a80f57f8df43e0\",\n \"score\": \"0.5822819\",\n \"text\": \"public void mo10744d() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d45e7311f809d3019d7382af887cb3cf\",\n \"score\": \"0.5799729\",\n \"text\": \"@Override\\r\\n\\tpublic void dehlidervels() {\\n\\t\\t\\r\\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\": \"89b37f5fcca98bdfa7c243fc99d06675\",\n \"score\": \"0.5790634\",\n \"text\": \"@Override\\r\\n\\tpublic void reanudar() {\\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\": \"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\": \"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\": \"4a3a3aeaffc4b367a8aa8488e4b59610\",\n \"score\": \"0.57720804\",\n \"text\": \"public void mo10856b() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1c10afc999966d89d84d1fb549910281\",\n \"score\": \"0.5770528\",\n \"text\": \"@Override \\n\\t\\tprotected void parse() {\\t\\t\\t\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a46afb3a57efda28ee1b37c4a9b1960f\",\n \"score\": \"0.57642525\",\n \"text\": \"private void getEx() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e6804b1ba880a8cc8a98006ca4ba35b\",\n \"score\": \"0.5761362\",\n \"text\": \"@Override\\n public void init() {\\n\\n }\",\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\": \"518a761521ca9f5cb8a8055b32b72cda\",\n \"score\": \"0.57596046\",\n \"text\": \"@Override\\n\\tprotected void initialize() {\\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\": \"b95bbed498007dfeba9b078798c02e53\",\n \"score\": \"0.5754483\",\n \"text\": \"@Override\\r\\n\\tpublic void exibir() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"03b93c6668ea7af171bbcdb3af74bb4a\",\n \"score\": \"0.57524616\",\n \"text\": \"@Override\\n public void bicar() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b2cde12cf50e0ec60f909684878e936c\",\n \"score\": \"0.57514966\",\n \"text\": \"@Override\\n\\tpublic void wykonajZamknij() {\\n\\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\": \"a53d232dac89259f961cbc93762f65b2\",\n \"score\": \"0.5731746\",\n \"text\": \"@Override\\r\\n\\t\\t\\tvoid n() {\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cf193ee51fc2ac8c94c94264e19ff99c\",\n \"score\": \"0.57304704\",\n \"text\": \"@Override\\n public boolean cannibale() {\\n return false;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cf193ee51fc2ac8c94c94264e19ff99c\",\n \"score\": \"0.57304704\",\n \"text\": \"@Override\\n public boolean cannibale() {\\n return false;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3b072172b17a5e5ab0081f24545795f2\",\n \"score\": \"0.57235396\",\n \"text\": \"public void przymocowac() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"17e507b0166d99f88c8237ad30d967b7\",\n \"score\": \"0.5716563\",\n \"text\": \"public void zamowic() {\\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\": \"7bbf3f0011f317b7faa88562e06495b7\",\n \"score\": \"0.5714223\",\n \"text\": \"@Override\\r\\n public void reculer() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1ba6f6b334c51461b3fe944110e91ef5\",\n \"score\": \"0.5707728\",\n \"text\": \"@Override\\n\\tpublic void comerHojas() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"39132efb6b42f8ec625d96ff6226d80b\",\n \"score\": \"0.56991017\",\n \"text\": \"@Override\\n\\tprotected void lazyLoad() {\\n\\t\\t\\n\\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\": \"0ca16e78cddd3c7d9de74c662606bbac\",\n \"score\": \"0.5686997\",\n \"text\": \"public void mo4570b() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"359579516b65b36ff8c4344d8363a3ed\",\n \"score\": \"0.5686103\",\n \"text\": \"@Override\\r\\n\\tprotected void initData() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"09488e6c7d4190869b37b126a578249f\",\n \"score\": \"0.56821704\",\n \"text\": \"@Override\\r\\n\\t/**\\r\\n\\t * \\r\\n\\t */\\r\\n\\tpublic int size() {\\n\\t\\treturn 0;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b6c641fa6ba40a5b14cc33cb07aa0671\",\n \"score\": \"0.5669649\",\n \"text\": \"@Override\\n\\tprotected void initData() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b6c641fa6ba40a5b14cc33cb07aa0671\",\n \"score\": \"0.5669649\",\n \"text\": \"@Override\\n\\tprotected void initData() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"001227e6b58a587f9eb4f77b15fc3588\",\n \"score\": \"0.5668976\",\n \"text\": \"@Override\\n\\tprotected void local() {\\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]"}}},{"rowIdx":328,"cells":{"query_id":{"kind":"string","value":"0da060e88dd25dd24d6557b94ac50844"},"query":{"kind":"string","value":"Get a properly formatted host for permission checking. Ignores port if 1,"},"positive_passages":{"kind":"list like","value":[{"docid":"5b43e8db972c346c30ed4028df878a0d","score":"0.8040338","text":"private String getHostForPermission(String host, int port) {\n if (host == null) {\n throw new NullPointerException(\"Host cannot be null.\");\n }\n // IPv6 check (if not already wrapped as a IPv6 literal, but is IPv6, then wrap).\n if (!host.startsWith(\"[\") && host.indexOf(':') != -1) {\n host = \"[\" + host + \"]\";\n }\n return port == -1 ? host : (host + \":\" + port);\n }","title":""}],"string":"[\n {\n \"docid\": \"5b43e8db972c346c30ed4028df878a0d\",\n \"score\": \"0.8040338\",\n \"text\": \"private String getHostForPermission(String host, int port) {\\n if (host == null) {\\n throw new NullPointerException(\\\"Host cannot be null.\\\");\\n }\\n // IPv6 check (if not already wrapped as a IPv6 literal, but is IPv6, then wrap).\\n if (!host.startsWith(\\\"[\\\") && host.indexOf(':') != -1) {\\n host = \\\"[\\\" + host + \\\"]\\\";\\n }\\n return port == -1 ? host : (host + \\\":\\\" + port);\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"25b22cc5a8e80f02732a0735bd5fdd4e","score":"0.7212839","text":"java.lang.String getHost();","title":""},{"docid":"25b22cc5a8e80f02732a0735bd5fdd4e","score":"0.7212839","text":"java.lang.String getHost();","title":""},{"docid":"25b22cc5a8e80f02732a0735bd5fdd4e","score":"0.7212839","text":"java.lang.String getHost();","title":""},{"docid":"d3c3176efcd71a130a02eae52d26387a","score":"0.68591493","text":"String getHost();","title":""},{"docid":"d3c3176efcd71a130a02eae52d26387a","score":"0.68591493","text":"String getHost();","title":""},{"docid":"d3c3176efcd71a130a02eae52d26387a","score":"0.68591493","text":"String getHost();","title":""},{"docid":"d3c3176efcd71a130a02eae52d26387a","score":"0.68591493","text":"String getHost();","title":""},{"docid":"d3c3176efcd71a130a02eae52d26387a","score":"0.68591493","text":"String getHost();","title":""},{"docid":"73cae735e0dacb944f4da5231455cfe0","score":"0.6572375","text":"private static String bracketedHostString(HostAndPort hostAndPort)\n {\n String host = hostAndPort.getHost();\n if (hostAndPort.toString().startsWith(\"[\")) {\n return \"[\" + host + \"]\";\n }\n return host;\n }","title":""},{"docid":"2d4093f42ebcb82e8a32a5fd20516e12","score":"0.64835083","text":"public String getHost();","title":""},{"docid":"0702a68622da0946488d21e26c28756b","score":"0.64261377","text":"public String getHost()\n\t{\n\t\tint i = origin.indexOf('@');\n\t\tif (i > 0)\n\t\t{\n\t\t\treturn origin.substring(i + 1);\n\t\t}\n\t\treturn origin;\n\t}","title":""},{"docid":"d1de5030e717856a0da9d1d51a3cb760","score":"0.6417998","text":"java.lang.String getLoginHost();","title":""},{"docid":"9ace57e64beef7c1451833adf8f07cfa","score":"0.6398204","text":"String getHostNumber();","title":""},{"docid":"108af6c1218ac9eb7430cfb9a3b2d0f1","score":"0.63761723","text":"String hostname();","title":""},{"docid":"108af6c1218ac9eb7430cfb9a3b2d0f1","score":"0.63761723","text":"String hostname();","title":""},{"docid":"433b743cb7bd163257a48e9a82375240","score":"0.6374633","text":"abstract public String getHost();","title":""},{"docid":"f07a06902ca699493d3e115b26099189","score":"0.6360381","text":"private static String getHostFull(SocketChannel client) {\r\n\t\tif(!allowDNSAccess) return getHostAddress(client);\r\n\t\ttry {\r\n\t\t\treturn getHostName(client) + \" (\" + getHostAddress(client) + \")\";\r\n\t\t} catch (Exception e) {}\r\n\t\treturn \"\";\r\n\t}","title":""},{"docid":"e6e896d7798b83612be5612824d96ea7","score":"0.63340175","text":"public String getHost() {\n return longToIP(address);\n }","title":""},{"docid":"1156bc5a69ac0d4ec37ed3f0fd65b982","score":"0.6333916","text":"public static String formatAddress(String host, Integer port) {\n return host.contains(\":\")\n ? \"[\" + host + \"]:\" + port // IPv6\n : host + \":\" + port;\n }","title":""},{"docid":"3d2f408f27fe8cc9ea95bb512a4d1377","score":"0.6291491","text":"public java.lang.CharSequence getHost() {\n return host;\n }","title":""},{"docid":"e9cb9bf360d2d530d6bf23d184148c56","score":"0.62764496","text":"java.lang.String getHostname();","title":""},{"docid":"81e99069f066f184f85ca6498a1465cd","score":"0.624807","text":"private String getHostname() {\n\t\tString host = \"\";\n\t\ttry {\n\t\t\tSocket s = new Socket(\"www.google.com\", 80);\n\t\t\thost = s.getLocalAddress().getHostAddress();\n\t\t}\n\t\tcatch (UnknownHostException e) {\n\t\t\tLoggerUtil.getLogger().warning(\"Could not determine host: \" + e);\n\t\t}\n\t\tcatch (IOException e) {\n\t\t\tLoggerUtil.getLogger().warning(e.toString());\n\t\t}\n\t\t\n\t\tLoggerUtil.getLogger().config(\"Determined host: \" + host);\n\t\treturn host;\n\t}","title":""},{"docid":"67925850d016c1ca3d952cf12af34901","score":"0.6239405","text":"Optional publicHost();","title":""},{"docid":"a4954e4deaebb863acb19d0c04fd359f","score":"0.6211671","text":"public java.lang.CharSequence getHost() {\n return host;\n }","title":""},{"docid":"449b5ee3983d377cda59f951a6e88731","score":"0.6162194","text":"Host getHost();","title":""},{"docid":"6b6d258cd6d07b9c994ab4f6800bc5c6","score":"0.6120998","text":"public String getHost() {\n/* 829 */ return this.host;\n/* */ }","title":""},{"docid":"ada33744db83d54270ec60538018d3f4","score":"0.6110119","text":"public String toString(){\n return (address.getHostName().trim() + \" \" + Integer.toString(portNumber).trim());\n }","title":""},{"docid":"9742a6f008582bd82dcd81807e5b364b","score":"0.609475","text":"public java.lang.String getHost() {\n java.lang.Object ref = host_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n host_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }","title":""},{"docid":"93f202081acbe6eb3d5cb652b5f95225","score":"0.60848546","text":"public java.lang.String getLoginHost() {\n java.lang.Object ref = loginHost_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n loginHost_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }","title":""},{"docid":"3de6ff353f2576da5f58d2c8c8adc3b8","score":"0.60811734","text":"String getHost() {\n/* 2881 */ return this.host;\n/* */ }","title":""},{"docid":"4c03ead29dafb352bb2aba5b57102e33","score":"0.6071827","text":"public String getHostName();","title":""},{"docid":"4c03ead29dafb352bb2aba5b57102e33","score":"0.6071827","text":"public String getHostName();","title":""},{"docid":"2680a1a86ba7cf97d85adcb30ea98e0a","score":"0.6045309","text":"public java.lang.String getLoginHost() {\n java.lang.Object ref = loginHost_;\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 loginHost_ = s;\n }\n return s;\n }\n }","title":""},{"docid":"3168cdfa3d70d071d0a78c3647693c44","score":"0.6036606","text":"Optional host();","title":""},{"docid":"9b707f25d1ae640b071ffaabcfd6396d","score":"0.60182077","text":"String getHostname();","title":""},{"docid":"9b707f25d1ae640b071ffaabcfd6396d","score":"0.60182077","text":"String getHostname();","title":""},{"docid":"47968df3c16e6daa81310eb1af03d4e7","score":"0.60121405","text":"public java.lang.String getHost()\n {\n return host;\n }","title":""},{"docid":"2e879382b6383a12c8c9c90b652ec42f","score":"0.5989541","text":"public java.lang.String getHost () {\n\t\treturn host;\n\t}","title":""},{"docid":"9f65c94040e85d74bc540db78fad36ab","score":"0.59875005","text":"public java.lang.String getHost() {\n java.lang.Object ref = host_;\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 host_ = s;\n return s;\n }\n }","title":""},{"docid":"0312aaaa1306a24c163129ca0113d300","score":"0.59710205","text":"@Override\n\tpublic String toString() {\n\t\treturn String.format(\"[%s]:%d\", address.getHostAddress(), port);\n\t}","title":""},{"docid":"94452cd480e890ae59c79a2dd1e82ace","score":"0.5956419","text":"public String getHost() {\n\t\treturn hostField.getText();\n\t}","title":""},{"docid":"2b8505f4da1d07ea925420aea747e71f","score":"0.59412","text":"public static String getSimpleHostName() {\r\n\treturn hostname;\r\n\t}","title":""},{"docid":"8841cdb4b6f7bfc632cbb4817d1c9536","score":"0.5939167","text":"private String getServerHost()\r\n {\r\n return JOptionPane.showInputDialog(this, \r\n \"Enter the server hostname/IP\", \r\n \"Server host\", \r\n JOptionPane.QUESTION_MESSAGE);\r\n }","title":""},{"docid":"7f20a051676744fb3d723a729c74ccf2","score":"0.5935809","text":"public java.lang.String getHost()\n {\n return host;\n }","title":""},{"docid":"48034d7761b9305a089b505f2fa13837","score":"0.5932457","text":"public String getHost()\n\t{\n\t\treturn getProp(\"host\");\n\t}","title":""},{"docid":"8a3834bffd30f0b65c2651f92fb32e71","score":"0.589853","text":"public String getHostName() {\n\t//\t/*DEBUG*/ try {throw new Exception(); } catch(Exception ex) {ex.printStackTrace();}\n\tif(hostname==null)\n\t hostname=DEFAULT_HOSTNAME;\n\treturn hostname;\n }","title":""},{"docid":"71026a9bee23a75a7002c7fae2baf2c9","score":"0.58827406","text":"public String getHost()\n {\n return host;\n }","title":""},{"docid":"8eb4d937452de98a3d115d83d374fa6d","score":"0.5853084","text":"public synchronized final String getHost() {\n if (host == null) {\n if (getEndpointAddress() != null && \n !getEndpointAddress().isUnresolved()) {\n host = getEndpointAddress().getHostName();\n }\n\n if (host == null && httpURI != null) {\n try {\n host = (new URL(httpURI)).getHost();\n } catch (MalformedURLException e) {\n logger.debug(\"Malformed URL\", e);\n }\n }\n }\n\n return host;\n }","title":""},{"docid":"4a0820dce24593c0ec841304d5d99078","score":"0.5834984","text":"public String getHost() {\n return host;\n }","title":""},{"docid":"1d265c2e576403413b64b723b7348620","score":"0.583421","text":"public String getHost() {\n return this.host;\n }","title":""},{"docid":"28feb2fe9173852e94294347849f4b38","score":"0.5822699","text":"protected String getHost() {\n return this.host;\n }","title":""},{"docid":"215e184ca495a417e6351cda7cdd4058","score":"0.57986754","text":"public synchronized String getLocalHost() {\n if (this.localHostName == null || this.localHostName.length() <= 0) {\n this.localHostName = this.props.getProperty(this.prefix + \".localhost\");\n }\n if (this.localHostName == null || this.localHostName.length() <= 0) {\n this.localHostName = this.props.getProperty(this.prefix + \".localaddress\");\n }\n try {\n if (this.localHostName == null || this.localHostName.length() <= 0) {\n InetAddress localHost = InetAddress.getLocalHost();\n this.localHostName = localHost.getCanonicalHostName();\n if (this.localHostName == null) {\n this.localHostName = \"[\" + localHost.getHostAddress() + \"]\";\n }\n }\n } catch (UnknownHostException e) {\n }\n if ((this.localHostName == null || this.localHostName.length() <= 0) && this.socket != null && this.socket.isBound()) {\n InetAddress localHost2 = this.socket.getLocalAddress();\n this.localHostName = localHost2.getCanonicalHostName();\n if (this.localHostName == null) {\n this.localHostName = \"[\" + localHost2.getHostAddress() + \"]\";\n }\n }\n return this.localHostName;\n }","title":""},{"docid":"b9fb76ad5706acc9b76270aee4a17c0f","score":"0.57957226","text":"private static String getHostOfUrl(final String url) throws NamingException {\n String host = null;\n // this would be simpler with a regexp :)\n try {\n // url is of the form protocol://:\n String[] tmpSplitStr = url.split(\":\");\n\n // array should be of length = 3\n // get 2nd element (should be //)\n String tmpHost = tmpSplitStr[1];\n\n // remove //\n String[] tmpSplitHost = tmpHost.split(\"/\");\n\n // Get last element of the array to get hostname\n host = tmpSplitHost[tmpSplitHost.length - 1];\n } catch (Exception e) {\n // don't rethrow original exception. only URL name is important\n throw new NamingException(\"Invalid URL '\" + url + \"'. It should be on the format ://:\");\n }\n return host;\n }","title":""},{"docid":"cf808e9a7eada710ad5072893d6b6250","score":"0.57868814","text":"java.lang.String getAddr();","title":""},{"docid":"df45529fbc01f3f33b29a741ebd4bce5","score":"0.57845825","text":"public String getHost() {\n return m_host;\n }","title":""},{"docid":"df45529fbc01f3f33b29a741ebd4bce5","score":"0.57845825","text":"public String getHost() {\n return m_host;\n }","title":""},{"docid":"42952bda8a89a9230fa86ca6d9b9c7b1","score":"0.5778878","text":"public String host() {\n return host;\n }","title":""},{"docid":"56343597f5143710f8abc25c93c86960","score":"0.57699054","text":"public String getHost() {\n return this.host;\n }","title":""},{"docid":"244b5048dedda6225095999508d65ab0","score":"0.57625425","text":"String getServerAddress();","title":""},{"docid":"3eef84cf3cace1d4c9cb87ad49302aff","score":"0.5753041","text":"public String getHost() {\n\t\treturn host;\n\t}","title":""},{"docid":"3eef84cf3cace1d4c9cb87ad49302aff","score":"0.5753041","text":"public String getHost() {\n\t\treturn host;\n\t}","title":""},{"docid":"3eef84cf3cace1d4c9cb87ad49302aff","score":"0.5753041","text":"public String getHost() {\n\t\treturn host;\n\t}","title":""},{"docid":"3eef84cf3cace1d4c9cb87ad49302aff","score":"0.5753041","text":"public String getHost() {\n\t\treturn host;\n\t}","title":""},{"docid":"3eef84cf3cace1d4c9cb87ad49302aff","score":"0.5753041","text":"public String getHost() {\n\t\treturn host;\n\t}","title":""},{"docid":"2a4a0625f42ab1dbfe097c4ef4db2ee7","score":"0.5751662","text":"public String getHost() {\n return host;\n }","title":""},{"docid":"2a4a0625f42ab1dbfe097c4ef4db2ee7","score":"0.5751662","text":"public String getHost() {\n return host;\n }","title":""},{"docid":"2a4a0625f42ab1dbfe097c4ef4db2ee7","score":"0.5751662","text":"public String getHost() {\n return host;\n }","title":""},{"docid":"2a4a0625f42ab1dbfe097c4ef4db2ee7","score":"0.5751662","text":"public String getHost() {\n return host;\n }","title":""},{"docid":"2a4a0625f42ab1dbfe097c4ef4db2ee7","score":"0.5751662","text":"public String getHost() {\n return host;\n }","title":""},{"docid":"df1d261a5fa3050a706f82d895dfa6ce","score":"0.5740196","text":"public static String getHostName() {\n String hostName = \"N/A\";\n try {\n hostName = InetAddress.getLocalHost().getHostName();\n } catch (UnknownHostException e) {\n\n }\n return hostName;\n }","title":""},{"docid":"1d4370c82999fc4a44ba1fc450a8dae2","score":"0.5707374","text":"public String getHost() {\n return mHost;\n }","title":""},{"docid":"d545266498cd8154ef2614e06b04ebf0","score":"0.57037616","text":"public String getHost() {\n return _theHost;\n }","title":""},{"docid":"bf3eff8083bc7cf5ff17003773c9c126","score":"0.5667157","text":"@VisibleForTesting\n public String getHostName() {\n if (omRequest.hasUserInfo()) {\n return omRequest.getUserInfo().getHostName();\n } else {\n return null;\n }\n }","title":""},{"docid":"ac406f5ed088dc2da6f9dbe2b758e72c","score":"0.5662486","text":"private String normalizeDualInetAddress(DualInetAddress host) {\n if (!host.hasInet4() && !host.hasInet6()) {\n return null;\n }\n if (host.hasInet4() && host.hasInet6()) {\n StringBuilder sb = new StringBuilder();\n sb.append(host.getInet4()).append(BackupConstants.HOSTS_IP_DELIMITER)\n .append(\"[\").append(host.getInet6()).append(\"]\");\n return sb.toString();\n } else if (host.hasInet4()) {\n return host.getInet4();\n } else {\n StringBuilder sb = new StringBuilder();\n sb.append(\"[\").append(host.getInet6()).append(\"]\");\n return sb.toString();\n }\n }","title":""},{"docid":"18f10b6c1c5112208cd3786764671eb4","score":"0.565586","text":"@Override\n public String getHostIP() {\n return hostIP;\n }","title":""},{"docid":"0d107fb2d3606747525b501ce177bc6a","score":"0.565371","text":"public String getHost() {\n return this.Host;\n }","title":""},{"docid":"25efa624c74b0350b53535210fc0e531","score":"0.56241196","text":"private String getHostIP() {\n try {\n for (Enumeration en = NetworkInterface.getNetworkInterfaces(); en\n .hasMoreElements();) {\n NetworkInterface intf = en.nextElement();\n\n for (Enumeration ipAddr = intf.getInetAddresses(); ipAddr\n .hasMoreElements();) {\n InetAddress inetAddress = ipAddr.nextElement();\n if (!inetAddress.isLoopbackAddress()) {\n return inetAddress.getHostAddress();\n }\n }\n }\n } catch (SocketException e) {\n e.printStackTrace();\n }\n return null;\n }","title":""},{"docid":"e638b042f8d77bb30bde66f7f48e9cad","score":"0.562331","text":"public String getHostName() { return hostName; }","title":""},{"docid":"cb8fcd5671bab74949841ade3d004538","score":"0.561968","text":"private String getLoginHost(Activity activity) {\n SharedPreferences prefs = activity.getSharedPreferences(PREFS_KEY, Context.MODE_PRIVATE);\n return prefs.getString(CONFIGURATION_LOGIN_HOST, getLoginHostFromAppRestrictions(activity));\n }","title":""},{"docid":"f78bfd060ade68617c1d977a89a544e3","score":"0.5618962","text":"private String getHostname() throws UnknownHostException {\n\t\treturn InetAddress.getLocalHost().getHostName();\n\t}","title":""},{"docid":"0201756b84dd86865f15b01015c5d45e","score":"0.5608021","text":"public String getHostName()\n {\n return _hostName;\n }","title":""},{"docid":"397a2ceabce1f3a785b49de30317ca41","score":"0.55892646","text":"public Pattern getHost() {\n return host;\n }","title":""},{"docid":"77cf277b47a05f2c1d585989b26e9d2b","score":"0.5587494","text":"private String getSystemHostName()\n\t{\n\t\tif (EventUtils.isEmptyOrNull(systemHostName)) {\n\t\t\ttry {\n\t\t\t\tsystemHostName = InetAddress.getLocalHost().getHostName();\n\t\t\t} catch (Throwable t) {\n\t\t\t\tsystemHostName = \"localhost\";\n\t\t\t}\n\t\t}\n\t\treturn systemHostName;\n\t}","title":""},{"docid":"b5d92685a3593b4f0b833662cd1d615c","score":"0.5559845","text":"@Override\n public String getName() {\n return hostInfo_.getName() + \":\" + hostInfo_.getPort();\n }","title":""},{"docid":"dd5b8ea78e0260170a3e901467fe6432","score":"0.5555265","text":"private static String m2470a() {\n String defaultHost;\n try {\n defaultHost = android.net.Proxy.getDefaultHost();\n } catch (Throwable th) {\n BasicLogHandler.m2542a(th, \"ProxyUtil\", \"getDefHost\");\n defaultHost = null;\n }\n if (defaultHost == null) {\n return SafeJsonPrimitive.NULL_STRING;\n }\n return defaultHost;\n }","title":""},{"docid":"b4176958c04e7864a5447b84a93f41c5","score":"0.5552048","text":"public String getRemoteHost() {\n if(remoteHost != null && remoteHost.length() != 0)\n return remoteHost;\n\n try{\n remoteHost = InetAddress.getByName(remoteAddr).getHostName();\n }catch(Exception e){\n // If anything went wrong then fall back to using the remote hosts IP address\n remoteHost = remoteAddr;\n }\n\n return remoteHost;\n }","title":""},{"docid":"e93bcd08127507bfafd3adc94a41b19c","score":"0.5539898","text":"public String getDestHost() {\n return getString(\"destHost\", null);\n }","title":""},{"docid":"6ec6b9e29e10898e82840df85671903b","score":"0.5532831","text":"String getKnownHostsFile();","title":""},{"docid":"0874cde7542c34c61604784d3c2baa86","score":"0.5511224","text":"public String getHostPort() {\n return host + \":\" + port;\n }","title":""},{"docid":"09603e588c7953f25f56b5895ecc8f46","score":"0.55108535","text":"public String hostName() {\n if (_hostName == null) {\n try {\n _hostName = java.net.InetAddress.getLocalHost().getHostName();\n } catch (java.net.UnknownHostException ehe) {\n log.warn(\"Caught unknown host exception.\", ehe);\n _hostName = \"UnknownHost\";\n }\n }\n return _hostName;\n }","title":""},{"docid":"ec1b4299cfef940a25e2f0c15e6c5ddb","score":"0.55009055","text":"public String getSSDPHost() {\n\t\treturn host;\n\t}","title":""},{"docid":"f8539c80b6c66797f83d07a0a99b5ff9","score":"0.5491392","text":"@Nullable\n String getHostname();","title":""},{"docid":"a334ada506f6b5123c8efd24dd9b3fbe","score":"0.54859585","text":"java.lang.String getHostNameOfQm();","title":""},{"docid":"3b3d0caee39050e98ef112262170dcef","score":"0.5479566","text":"public static String getHostAddress() {\n\t\treturn VM_NETADDR;\n\t}","title":""},{"docid":"57f67e85779db7ac3effd88e5768a7ef","score":"0.5476","text":"protected static synchronized String getPidHost(String pid) {\n Set keys = SnappyBB.getBB().getSharedMap().getMap().keySet();\n String pidHost = null;\n for (String key : keys) {\n if (key.startsWith(\"host\") && key.contains(pid)) {\n pidHost = (String) SnappyBB.getBB().getSharedMap().getMap().get(key);\n }\n }\n Log.getLogWriter().info(\"PID Host for : \" + pid + \" : \" + pidHost);\n return pidHost;\n }","title":""},{"docid":"627e7552a00aa72a880ab45301d77474","score":"0.5467953","text":"String getUserIpAddress();","title":""},{"docid":"d0ddf474c558b829c8e2ccd122244720","score":"0.54627925","text":"public interface HostUtils {\n public default String getHostName() throws UnknownHostException{\n InetAddress localMachine = InetAddress.getLocalHost();\n return localMachine.getHostName();\n }\n}","title":""},{"docid":"345bbe4d6de39ea1b33efa95438fd438","score":"0.54590243","text":"public String getAdress() {\n\t\ttry {\n\t\t\treturn serverSocket.getInetAddress().getLocalHost().getLoopbackAddress().getHostAddress();\n\t\t}\n\t\tcatch(UnknownHostException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn \"Brak połączenia z siecią\";\n\t\t\n\t}","title":""},{"docid":"a7d996457ac4b02b5ce5add7b5eef807","score":"0.5454644","text":"public static String extractHostName(String remaining) {\n int index = remaining.indexOf(':');\n if (index != -1) {\n return remaining.substring(0, index);\n } else {\n return VertxWebsocketConstants.DEFAULT_VERTX_SERVER_HOST;\n }\n }","title":""},{"docid":"93d98415f2257bf84c82513a15219edc","score":"0.54517204","text":"public String getHostName(){\n return hostName_;\n }","title":""}],"string":"[\n {\n \"docid\": \"25b22cc5a8e80f02732a0735bd5fdd4e\",\n \"score\": \"0.7212839\",\n \"text\": \"java.lang.String getHost();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"25b22cc5a8e80f02732a0735bd5fdd4e\",\n \"score\": \"0.7212839\",\n \"text\": \"java.lang.String getHost();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"25b22cc5a8e80f02732a0735bd5fdd4e\",\n \"score\": \"0.7212839\",\n \"text\": \"java.lang.String getHost();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d3c3176efcd71a130a02eae52d26387a\",\n \"score\": \"0.68591493\",\n \"text\": \"String getHost();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d3c3176efcd71a130a02eae52d26387a\",\n \"score\": \"0.68591493\",\n \"text\": \"String getHost();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d3c3176efcd71a130a02eae52d26387a\",\n \"score\": \"0.68591493\",\n \"text\": \"String getHost();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d3c3176efcd71a130a02eae52d26387a\",\n \"score\": \"0.68591493\",\n \"text\": \"String getHost();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d3c3176efcd71a130a02eae52d26387a\",\n \"score\": \"0.68591493\",\n \"text\": \"String getHost();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"73cae735e0dacb944f4da5231455cfe0\",\n \"score\": \"0.6572375\",\n \"text\": \"private static String bracketedHostString(HostAndPort hostAndPort)\\n {\\n String host = hostAndPort.getHost();\\n if (hostAndPort.toString().startsWith(\\\"[\\\")) {\\n return \\\"[\\\" + host + \\\"]\\\";\\n }\\n return host;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d4093f42ebcb82e8a32a5fd20516e12\",\n \"score\": \"0.64835083\",\n \"text\": \"public String getHost();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0702a68622da0946488d21e26c28756b\",\n \"score\": \"0.64261377\",\n \"text\": \"public String getHost()\\n\\t{\\n\\t\\tint i = origin.indexOf('@');\\n\\t\\tif (i > 0)\\n\\t\\t{\\n\\t\\t\\treturn origin.substring(i + 1);\\n\\t\\t}\\n\\t\\treturn origin;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1de5030e717856a0da9d1d51a3cb760\",\n \"score\": \"0.6417998\",\n \"text\": \"java.lang.String getLoginHost();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9ace57e64beef7c1451833adf8f07cfa\",\n \"score\": \"0.6398204\",\n \"text\": \"String getHostNumber();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"108af6c1218ac9eb7430cfb9a3b2d0f1\",\n \"score\": \"0.63761723\",\n \"text\": \"String hostname();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"108af6c1218ac9eb7430cfb9a3b2d0f1\",\n \"score\": \"0.63761723\",\n \"text\": \"String hostname();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"433b743cb7bd163257a48e9a82375240\",\n \"score\": \"0.6374633\",\n \"text\": \"abstract public String getHost();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f07a06902ca699493d3e115b26099189\",\n \"score\": \"0.6360381\",\n \"text\": \"private static String getHostFull(SocketChannel client) {\\r\\n\\t\\tif(!allowDNSAccess) return getHostAddress(client);\\r\\n\\t\\ttry {\\r\\n\\t\\t\\treturn getHostName(client) + \\\" (\\\" + getHostAddress(client) + \\\")\\\";\\r\\n\\t\\t} catch (Exception e) {}\\r\\n\\t\\treturn \\\"\\\";\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e6e896d7798b83612be5612824d96ea7\",\n \"score\": \"0.63340175\",\n \"text\": \"public String getHost() {\\n return longToIP(address);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1156bc5a69ac0d4ec37ed3f0fd65b982\",\n \"score\": \"0.6333916\",\n \"text\": \"public static String formatAddress(String host, Integer port) {\\n return host.contains(\\\":\\\")\\n ? \\\"[\\\" + host + \\\"]:\\\" + port // IPv6\\n : host + \\\":\\\" + port;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3d2f408f27fe8cc9ea95bb512a4d1377\",\n \"score\": \"0.6291491\",\n \"text\": \"public java.lang.CharSequence getHost() {\\n return host;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e9cb9bf360d2d530d6bf23d184148c56\",\n \"score\": \"0.62764496\",\n \"text\": \"java.lang.String getHostname();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"81e99069f066f184f85ca6498a1465cd\",\n \"score\": \"0.624807\",\n \"text\": \"private String getHostname() {\\n\\t\\tString host = \\\"\\\";\\n\\t\\ttry {\\n\\t\\t\\tSocket s = new Socket(\\\"www.google.com\\\", 80);\\n\\t\\t\\thost = s.getLocalAddress().getHostAddress();\\n\\t\\t}\\n\\t\\tcatch (UnknownHostException e) {\\n\\t\\t\\tLoggerUtil.getLogger().warning(\\\"Could not determine host: \\\" + e);\\n\\t\\t}\\n\\t\\tcatch (IOException e) {\\n\\t\\t\\tLoggerUtil.getLogger().warning(e.toString());\\n\\t\\t}\\n\\t\\t\\n\\t\\tLoggerUtil.getLogger().config(\\\"Determined host: \\\" + host);\\n\\t\\treturn host;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"67925850d016c1ca3d952cf12af34901\",\n \"score\": \"0.6239405\",\n \"text\": \"Optional publicHost();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a4954e4deaebb863acb19d0c04fd359f\",\n \"score\": \"0.6211671\",\n \"text\": \"public java.lang.CharSequence getHost() {\\n return host;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"449b5ee3983d377cda59f951a6e88731\",\n \"score\": \"0.6162194\",\n \"text\": \"Host getHost();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6b6d258cd6d07b9c994ab4f6800bc5c6\",\n \"score\": \"0.6120998\",\n \"text\": \"public String getHost() {\\n/* 829 */ return this.host;\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ada33744db83d54270ec60538018d3f4\",\n \"score\": \"0.6110119\",\n \"text\": \"public String toString(){\\n return (address.getHostName().trim() + \\\" \\\" + Integer.toString(portNumber).trim());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9742a6f008582bd82dcd81807e5b364b\",\n \"score\": \"0.609475\",\n \"text\": \"public java.lang.String getHost() {\\n java.lang.Object ref = host_;\\n if (!(ref instanceof java.lang.String)) {\\n com.google.protobuf.ByteString bs =\\n (com.google.protobuf.ByteString) ref;\\n java.lang.String s = bs.toStringUtf8();\\n host_ = s;\\n return s;\\n } else {\\n return (java.lang.String) ref;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"93f202081acbe6eb3d5cb652b5f95225\",\n \"score\": \"0.60848546\",\n \"text\": \"public java.lang.String getLoginHost() {\\n java.lang.Object ref = loginHost_;\\n if (!(ref instanceof java.lang.String)) {\\n com.google.protobuf.ByteString bs =\\n (com.google.protobuf.ByteString) ref;\\n java.lang.String s = bs.toStringUtf8();\\n if (bs.isValidUtf8()) {\\n loginHost_ = s;\\n }\\n return s;\\n } else {\\n return (java.lang.String) ref;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3de6ff353f2576da5f58d2c8c8adc3b8\",\n \"score\": \"0.60811734\",\n \"text\": \"String getHost() {\\n/* 2881 */ return this.host;\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4c03ead29dafb352bb2aba5b57102e33\",\n \"score\": \"0.6071827\",\n \"text\": \"public String getHostName();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4c03ead29dafb352bb2aba5b57102e33\",\n \"score\": \"0.6071827\",\n \"text\": \"public String getHostName();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2680a1a86ba7cf97d85adcb30ea98e0a\",\n \"score\": \"0.6045309\",\n \"text\": \"public java.lang.String getLoginHost() {\\n java.lang.Object ref = loginHost_;\\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 loginHost_ = s;\\n }\\n return s;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3168cdfa3d70d071d0a78c3647693c44\",\n \"score\": \"0.6036606\",\n \"text\": \"Optional host();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9b707f25d1ae640b071ffaabcfd6396d\",\n \"score\": \"0.60182077\",\n \"text\": \"String getHostname();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9b707f25d1ae640b071ffaabcfd6396d\",\n \"score\": \"0.60182077\",\n \"text\": \"String getHostname();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47968df3c16e6daa81310eb1af03d4e7\",\n \"score\": \"0.60121405\",\n \"text\": \"public java.lang.String getHost()\\n {\\n return host;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2e879382b6383a12c8c9c90b652ec42f\",\n \"score\": \"0.5989541\",\n \"text\": \"public java.lang.String getHost () {\\n\\t\\treturn host;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9f65c94040e85d74bc540db78fad36ab\",\n \"score\": \"0.59875005\",\n \"text\": \"public java.lang.String getHost() {\\n java.lang.Object ref = host_;\\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 host_ = s;\\n return s;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0312aaaa1306a24c163129ca0113d300\",\n \"score\": \"0.59710205\",\n \"text\": \"@Override\\n\\tpublic String toString() {\\n\\t\\treturn String.format(\\\"[%s]:%d\\\", address.getHostAddress(), port);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"94452cd480e890ae59c79a2dd1e82ace\",\n \"score\": \"0.5956419\",\n \"text\": \"public String getHost() {\\n\\t\\treturn hostField.getText();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2b8505f4da1d07ea925420aea747e71f\",\n \"score\": \"0.59412\",\n \"text\": \"public static String getSimpleHostName() {\\r\\n\\treturn hostname;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8841cdb4b6f7bfc632cbb4817d1c9536\",\n \"score\": \"0.5939167\",\n \"text\": \"private String getServerHost()\\r\\n {\\r\\n return JOptionPane.showInputDialog(this, \\r\\n \\\"Enter the server hostname/IP\\\", \\r\\n \\\"Server host\\\", \\r\\n JOptionPane.QUESTION_MESSAGE);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7f20a051676744fb3d723a729c74ccf2\",\n \"score\": \"0.5935809\",\n \"text\": \"public java.lang.String getHost()\\n {\\n return host;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"48034d7761b9305a089b505f2fa13837\",\n \"score\": \"0.5932457\",\n \"text\": \"public String getHost()\\n\\t{\\n\\t\\treturn getProp(\\\"host\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8a3834bffd30f0b65c2651f92fb32e71\",\n \"score\": \"0.589853\",\n \"text\": \"public String getHostName() {\\n\\t//\\t/*DEBUG*/ try {throw new Exception(); } catch(Exception ex) {ex.printStackTrace();}\\n\\tif(hostname==null)\\n\\t hostname=DEFAULT_HOSTNAME;\\n\\treturn hostname;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"71026a9bee23a75a7002c7fae2baf2c9\",\n \"score\": \"0.58827406\",\n \"text\": \"public String getHost()\\n {\\n return host;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8eb4d937452de98a3d115d83d374fa6d\",\n \"score\": \"0.5853084\",\n \"text\": \"public synchronized final String getHost() {\\n if (host == null) {\\n if (getEndpointAddress() != null && \\n !getEndpointAddress().isUnresolved()) {\\n host = getEndpointAddress().getHostName();\\n }\\n\\n if (host == null && httpURI != null) {\\n try {\\n host = (new URL(httpURI)).getHost();\\n } catch (MalformedURLException e) {\\n logger.debug(\\\"Malformed URL\\\", e);\\n }\\n }\\n }\\n\\n return host;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a0820dce24593c0ec841304d5d99078\",\n \"score\": \"0.5834984\",\n \"text\": \"public String getHost() {\\n return host;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1d265c2e576403413b64b723b7348620\",\n \"score\": \"0.583421\",\n \"text\": \"public String getHost() {\\n return this.host;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"28feb2fe9173852e94294347849f4b38\",\n \"score\": \"0.5822699\",\n \"text\": \"protected String getHost() {\\n return this.host;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"215e184ca495a417e6351cda7cdd4058\",\n \"score\": \"0.57986754\",\n \"text\": \"public synchronized String getLocalHost() {\\n if (this.localHostName == null || this.localHostName.length() <= 0) {\\n this.localHostName = this.props.getProperty(this.prefix + \\\".localhost\\\");\\n }\\n if (this.localHostName == null || this.localHostName.length() <= 0) {\\n this.localHostName = this.props.getProperty(this.prefix + \\\".localaddress\\\");\\n }\\n try {\\n if (this.localHostName == null || this.localHostName.length() <= 0) {\\n InetAddress localHost = InetAddress.getLocalHost();\\n this.localHostName = localHost.getCanonicalHostName();\\n if (this.localHostName == null) {\\n this.localHostName = \\\"[\\\" + localHost.getHostAddress() + \\\"]\\\";\\n }\\n }\\n } catch (UnknownHostException e) {\\n }\\n if ((this.localHostName == null || this.localHostName.length() <= 0) && this.socket != null && this.socket.isBound()) {\\n InetAddress localHost2 = this.socket.getLocalAddress();\\n this.localHostName = localHost2.getCanonicalHostName();\\n if (this.localHostName == null) {\\n this.localHostName = \\\"[\\\" + localHost2.getHostAddress() + \\\"]\\\";\\n }\\n }\\n return this.localHostName;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9fb76ad5706acc9b76270aee4a17c0f\",\n \"score\": \"0.57957226\",\n \"text\": \"private static String getHostOfUrl(final String url) throws NamingException {\\n String host = null;\\n // this would be simpler with a regexp :)\\n try {\\n // url is of the form protocol://:\\n String[] tmpSplitStr = url.split(\\\":\\\");\\n\\n // array should be of length = 3\\n // get 2nd element (should be //)\\n String tmpHost = tmpSplitStr[1];\\n\\n // remove //\\n String[] tmpSplitHost = tmpHost.split(\\\"/\\\");\\n\\n // Get last element of the array to get hostname\\n host = tmpSplitHost[tmpSplitHost.length - 1];\\n } catch (Exception e) {\\n // don't rethrow original exception. only URL name is important\\n throw new NamingException(\\\"Invalid URL '\\\" + url + \\\"'. It should be on the format ://:\\\");\\n }\\n return host;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cf808e9a7eada710ad5072893d6b6250\",\n \"score\": \"0.57868814\",\n \"text\": \"java.lang.String getAddr();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"df45529fbc01f3f33b29a741ebd4bce5\",\n \"score\": \"0.57845825\",\n \"text\": \"public String getHost() {\\n return m_host;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"df45529fbc01f3f33b29a741ebd4bce5\",\n \"score\": \"0.57845825\",\n \"text\": \"public String getHost() {\\n return m_host;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42952bda8a89a9230fa86ca6d9b9c7b1\",\n \"score\": \"0.5778878\",\n \"text\": \"public String host() {\\n return host;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"56343597f5143710f8abc25c93c86960\",\n \"score\": \"0.57699054\",\n \"text\": \"public String getHost() {\\n return this.host;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"244b5048dedda6225095999508d65ab0\",\n \"score\": \"0.57625425\",\n \"text\": \"String getServerAddress();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3eef84cf3cace1d4c9cb87ad49302aff\",\n \"score\": \"0.5753041\",\n \"text\": \"public String getHost() {\\n\\t\\treturn host;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3eef84cf3cace1d4c9cb87ad49302aff\",\n \"score\": \"0.5753041\",\n \"text\": \"public String getHost() {\\n\\t\\treturn host;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3eef84cf3cace1d4c9cb87ad49302aff\",\n \"score\": \"0.5753041\",\n \"text\": \"public String getHost() {\\n\\t\\treturn host;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3eef84cf3cace1d4c9cb87ad49302aff\",\n \"score\": \"0.5753041\",\n \"text\": \"public String getHost() {\\n\\t\\treturn host;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3eef84cf3cace1d4c9cb87ad49302aff\",\n \"score\": \"0.5753041\",\n \"text\": \"public String getHost() {\\n\\t\\treturn host;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2a4a0625f42ab1dbfe097c4ef4db2ee7\",\n \"score\": \"0.5751662\",\n \"text\": \"public String getHost() {\\n return host;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2a4a0625f42ab1dbfe097c4ef4db2ee7\",\n \"score\": \"0.5751662\",\n \"text\": \"public String getHost() {\\n return host;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2a4a0625f42ab1dbfe097c4ef4db2ee7\",\n \"score\": \"0.5751662\",\n \"text\": \"public String getHost() {\\n return host;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2a4a0625f42ab1dbfe097c4ef4db2ee7\",\n \"score\": \"0.5751662\",\n \"text\": \"public String getHost() {\\n return host;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2a4a0625f42ab1dbfe097c4ef4db2ee7\",\n \"score\": \"0.5751662\",\n \"text\": \"public String getHost() {\\n return host;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"df1d261a5fa3050a706f82d895dfa6ce\",\n \"score\": \"0.5740196\",\n \"text\": \"public static String getHostName() {\\n String hostName = \\\"N/A\\\";\\n try {\\n hostName = InetAddress.getLocalHost().getHostName();\\n } catch (UnknownHostException e) {\\n\\n }\\n return hostName;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1d4370c82999fc4a44ba1fc450a8dae2\",\n \"score\": \"0.5707374\",\n \"text\": \"public String getHost() {\\n return mHost;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d545266498cd8154ef2614e06b04ebf0\",\n \"score\": \"0.57037616\",\n \"text\": \"public String getHost() {\\n return _theHost;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf3eff8083bc7cf5ff17003773c9c126\",\n \"score\": \"0.5667157\",\n \"text\": \"@VisibleForTesting\\n public String getHostName() {\\n if (omRequest.hasUserInfo()) {\\n return omRequest.getUserInfo().getHostName();\\n } else {\\n return null;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ac406f5ed088dc2da6f9dbe2b758e72c\",\n \"score\": \"0.5662486\",\n \"text\": \"private String normalizeDualInetAddress(DualInetAddress host) {\\n if (!host.hasInet4() && !host.hasInet6()) {\\n return null;\\n }\\n if (host.hasInet4() && host.hasInet6()) {\\n StringBuilder sb = new StringBuilder();\\n sb.append(host.getInet4()).append(BackupConstants.HOSTS_IP_DELIMITER)\\n .append(\\\"[\\\").append(host.getInet6()).append(\\\"]\\\");\\n return sb.toString();\\n } else if (host.hasInet4()) {\\n return host.getInet4();\\n } else {\\n StringBuilder sb = new StringBuilder();\\n sb.append(\\\"[\\\").append(host.getInet6()).append(\\\"]\\\");\\n return sb.toString();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"18f10b6c1c5112208cd3786764671eb4\",\n \"score\": \"0.565586\",\n \"text\": \"@Override\\n public String getHostIP() {\\n return hostIP;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d107fb2d3606747525b501ce177bc6a\",\n \"score\": \"0.565371\",\n \"text\": \"public String getHost() {\\n return this.Host;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"25efa624c74b0350b53535210fc0e531\",\n \"score\": \"0.56241196\",\n \"text\": \"private String getHostIP() {\\n try {\\n for (Enumeration en = NetworkInterface.getNetworkInterfaces(); en\\n .hasMoreElements();) {\\n NetworkInterface intf = en.nextElement();\\n\\n for (Enumeration ipAddr = intf.getInetAddresses(); ipAddr\\n .hasMoreElements();) {\\n InetAddress inetAddress = ipAddr.nextElement();\\n if (!inetAddress.isLoopbackAddress()) {\\n return inetAddress.getHostAddress();\\n }\\n }\\n }\\n } catch (SocketException e) {\\n e.printStackTrace();\\n }\\n return null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e638b042f8d77bb30bde66f7f48e9cad\",\n \"score\": \"0.562331\",\n \"text\": \"public String getHostName() { return hostName; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cb8fcd5671bab74949841ade3d004538\",\n \"score\": \"0.561968\",\n \"text\": \"private String getLoginHost(Activity activity) {\\n SharedPreferences prefs = activity.getSharedPreferences(PREFS_KEY, Context.MODE_PRIVATE);\\n return prefs.getString(CONFIGURATION_LOGIN_HOST, getLoginHostFromAppRestrictions(activity));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f78bfd060ade68617c1d977a89a544e3\",\n \"score\": \"0.5618962\",\n \"text\": \"private String getHostname() throws UnknownHostException {\\n\\t\\treturn InetAddress.getLocalHost().getHostName();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0201756b84dd86865f15b01015c5d45e\",\n \"score\": \"0.5608021\",\n \"text\": \"public String getHostName()\\n {\\n return _hostName;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"397a2ceabce1f3a785b49de30317ca41\",\n \"score\": \"0.55892646\",\n \"text\": \"public Pattern getHost() {\\n return host;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"77cf277b47a05f2c1d585989b26e9d2b\",\n \"score\": \"0.5587494\",\n \"text\": \"private String getSystemHostName()\\n\\t{\\n\\t\\tif (EventUtils.isEmptyOrNull(systemHostName)) {\\n\\t\\t\\ttry {\\n\\t\\t\\t\\tsystemHostName = InetAddress.getLocalHost().getHostName();\\n\\t\\t\\t} catch (Throwable t) {\\n\\t\\t\\t\\tsystemHostName = \\\"localhost\\\";\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn systemHostName;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b5d92685a3593b4f0b833662cd1d615c\",\n \"score\": \"0.5559845\",\n \"text\": \"@Override\\n public String getName() {\\n return hostInfo_.getName() + \\\":\\\" + hostInfo_.getPort();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dd5b8ea78e0260170a3e901467fe6432\",\n \"score\": \"0.5555265\",\n \"text\": \"private static String m2470a() {\\n String defaultHost;\\n try {\\n defaultHost = android.net.Proxy.getDefaultHost();\\n } catch (Throwable th) {\\n BasicLogHandler.m2542a(th, \\\"ProxyUtil\\\", \\\"getDefHost\\\");\\n defaultHost = null;\\n }\\n if (defaultHost == null) {\\n return SafeJsonPrimitive.NULL_STRING;\\n }\\n return defaultHost;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b4176958c04e7864a5447b84a93f41c5\",\n \"score\": \"0.5552048\",\n \"text\": \"public String getRemoteHost() {\\n if(remoteHost != null && remoteHost.length() != 0)\\n return remoteHost;\\n\\n try{\\n remoteHost = InetAddress.getByName(remoteAddr).getHostName();\\n }catch(Exception e){\\n // If anything went wrong then fall back to using the remote hosts IP address\\n remoteHost = remoteAddr;\\n }\\n\\n return remoteHost;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e93bcd08127507bfafd3adc94a41b19c\",\n \"score\": \"0.5539898\",\n \"text\": \"public String getDestHost() {\\n return getString(\\\"destHost\\\", null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ec6b9e29e10898e82840df85671903b\",\n \"score\": \"0.5532831\",\n \"text\": \"String getKnownHostsFile();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0874cde7542c34c61604784d3c2baa86\",\n \"score\": \"0.5511224\",\n \"text\": \"public String getHostPort() {\\n return host + \\\":\\\" + port;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"09603e588c7953f25f56b5895ecc8f46\",\n \"score\": \"0.55108535\",\n \"text\": \"public String hostName() {\\n if (_hostName == null) {\\n try {\\n _hostName = java.net.InetAddress.getLocalHost().getHostName();\\n } catch (java.net.UnknownHostException ehe) {\\n log.warn(\\\"Caught unknown host exception.\\\", ehe);\\n _hostName = \\\"UnknownHost\\\";\\n }\\n }\\n return _hostName;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ec1b4299cfef940a25e2f0c15e6c5ddb\",\n \"score\": \"0.55009055\",\n \"text\": \"public String getSSDPHost() {\\n\\t\\treturn host;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f8539c80b6c66797f83d07a0a99b5ff9\",\n \"score\": \"0.5491392\",\n \"text\": \"@Nullable\\n String getHostname();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a334ada506f6b5123c8efd24dd9b3fbe\",\n \"score\": \"0.54859585\",\n \"text\": \"java.lang.String getHostNameOfQm();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3b3d0caee39050e98ef112262170dcef\",\n \"score\": \"0.5479566\",\n \"text\": \"public static String getHostAddress() {\\n\\t\\treturn VM_NETADDR;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"57f67e85779db7ac3effd88e5768a7ef\",\n \"score\": \"0.5476\",\n \"text\": \"protected static synchronized String getPidHost(String pid) {\\n Set keys = SnappyBB.getBB().getSharedMap().getMap().keySet();\\n String pidHost = null;\\n for (String key : keys) {\\n if (key.startsWith(\\\"host\\\") && key.contains(pid)) {\\n pidHost = (String) SnappyBB.getBB().getSharedMap().getMap().get(key);\\n }\\n }\\n Log.getLogWriter().info(\\\"PID Host for : \\\" + pid + \\\" : \\\" + pidHost);\\n return pidHost;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"627e7552a00aa72a880ab45301d77474\",\n \"score\": \"0.5467953\",\n \"text\": \"String getUserIpAddress();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d0ddf474c558b829c8e2ccd122244720\",\n \"score\": \"0.54627925\",\n \"text\": \"public interface HostUtils {\\n public default String getHostName() throws UnknownHostException{\\n InetAddress localMachine = InetAddress.getLocalHost();\\n return localMachine.getHostName();\\n }\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"345bbe4d6de39ea1b33efa95438fd438\",\n \"score\": \"0.54590243\",\n \"text\": \"public String getAdress() {\\n\\t\\ttry {\\n\\t\\t\\treturn serverSocket.getInetAddress().getLocalHost().getLoopbackAddress().getHostAddress();\\n\\t\\t}\\n\\t\\tcatch(UnknownHostException e) {\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\t\\treturn \\\"Brak połączenia z siecią\\\";\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7d996457ac4b02b5ce5add7b5eef807\",\n \"score\": \"0.5454644\",\n \"text\": \"public static String extractHostName(String remaining) {\\n int index = remaining.indexOf(':');\\n if (index != -1) {\\n return remaining.substring(0, index);\\n } else {\\n return VertxWebsocketConstants.DEFAULT_VERTX_SERVER_HOST;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"93d98415f2257bf84c82513a15219edc\",\n \"score\": \"0.54517204\",\n \"text\": \"public String getHostName(){\\n return hostName_;\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":329,"cells":{"query_id":{"kind":"string","value":"012bb22e2544185462ad720b9c062508"},"query":{"kind":"string","value":"Spring Data Elasticsearch repository for the Script entity."},"positive_passages":{"kind":"list like","value":[{"docid":"084e4931b086cf2bf17d5e9f72a32313","score":"0.79986393","text":"public interface ScriptSearchRepository extends ElasticsearchRepository {\n}","title":""}],"string":"[\n {\n \"docid\": \"084e4931b086cf2bf17d5e9f72a32313\",\n \"score\": \"0.79986393\",\n \"text\": \"public interface ScriptSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"821be732b0c797ed38e33254873b6ab9","score":"0.67494017","text":"public interface ShiftSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"d19c0ef46c6dcbe28f14ff225959ae61","score":"0.67235345","text":"public interface AssetSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"4ab64c248dcdd76d8d8bca1d56c6285c","score":"0.6521566","text":"public interface EmpresaSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"e4b2ab22b77f37c4c540f6905c98a805","score":"0.65070164","text":"public interface CashBookSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"3eb55dcf2ab199a6d44460646b71dfbe","score":"0.6491901","text":"public interface OpportunitySearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"d624bc7cb39ec965f431606a4f9811c0","score":"0.64827526","text":"public interface ComponentSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"d0643993141c40aa96854c04125acbb8","score":"0.64486","text":"public interface CampSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"a741d475c4bcc7666d323c0ae5a178df","score":"0.64428455","text":"public interface ItemSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"a1d0250a75f9b77dedb279bf097852fd","score":"0.6439597","text":"public interface SkillQuestionSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"cf272d570627026cb01f608249202577","score":"0.64294314","text":"public interface ModuleSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"eed38afad8379015d447914f9bd9127b","score":"0.6395328","text":"public interface FuncaoTransacaoSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"d12a6b0f3c5a2157e75bd2345432d3af","score":"0.63870066","text":"public interface AdministradorSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"3f6f8ce0b1136a861fd3c9964d6fd470","score":"0.6379151","text":"public interface TradeSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"7e053d227f48bca977db66ebffba62b2","score":"0.6365567","text":"public interface StoreIndexRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"2e0df83d1da198c2d0e6f45dd7254cdb","score":"0.6357886","text":"public interface TimersSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"87b93cfb1de6061d272ebdf455632f95","score":"0.6351951","text":"public interface StatusColumnValueSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"ac684f63e5a55a9c71cc2fb91a507dab","score":"0.63461494","text":"public interface ProductInBucketSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"29663380de8be6b07c6a0655f29d9da5","score":"0.6340505","text":"public interface CompteSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"bf74412ccb688b0ab2442a5d3b0a9553","score":"0.6326736","text":"public interface AirlineSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"44664a98d1be23e7736125d25b7da99f","score":"0.6319631","text":"public interface SystemConfigurationSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"d25e4e01bcc55f680eb610bf81c0a9d6","score":"0.6306257","text":"@Component\npublic interface DataDictRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"04b0c89c0a14a93d90a96a348cd38212","score":"0.62979853","text":"public interface PfmsEmpMonthlyAdjSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"195ea46c3bac9b799239b7972972a4aa","score":"0.626924","text":"public interface PassengerSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"2bd8a5bcb0ed4402f696ad8ef113e664","score":"0.62675023","text":"public interface ProductoSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"36038b632f12ebc3ea613a5c51a25eab","score":"0.6266527","text":"public interface TestDtoServiceSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"34fc27e956d36711079af0b50587aaa8","score":"0.62504613","text":"public interface DepartmentSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"20975442ebfea5f9cd9a58249c9ebaf8","score":"0.62308735","text":"public interface BandSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"70ea20988e56f52119819c91c4d39809","score":"0.62307125","text":"public interface NurseSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"84d98080f217752a383c0f4afdfe2f55","score":"0.622885","text":"public interface AuthorizationSetLinkSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"97e16b551a8df1a514783da6b70aef18","score":"0.62230617","text":"public interface OperantSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"1f09ce988e96c07d7fc45cc7c74e97a2","score":"0.61996335","text":"public interface OfferingDeliveryInfoSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"88bec984a2d2a57f6939b73b2d108804","score":"0.6198744","text":"public interface WordSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"b85e2cc8824e3137b5efd2fbdaa493d5","score":"0.61925954","text":"public interface KeyWordRepository extends ElasticsearchRepository {\n\n}","title":""},{"docid":"812d899090cde264a4bb73978964f262","score":"0.61923915","text":"public interface ResponseChoiceSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"b19518ca7851387dc61353525ea40876","score":"0.6188447","text":"public interface BorrowerSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"4ad6862352f75d7ac882180a10f7af68","score":"0.6178058","text":"public interface BidSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"8eca974263eb968784c95e975a124bdf","score":"0.6171568","text":"public interface Sustancia_activa_europaSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"53c917eb0672b1247d9ff06fd729348c","score":"0.6171137","text":"public interface DevisSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"3866204e2b5441119efcf5938efa03b0","score":"0.6165895","text":"public interface FieldSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"f4b818767edaf767271d27ead5d44d61","score":"0.61411405","text":"public interface BankAccountSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"2268793eca54fd47a868529322e17ea3","score":"0.6129806","text":"public interface SensorDeviceSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"ed06f874743f955c9d995f35b59e3df8","score":"0.61248225","text":"public interface MateriaSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"6db582cd46274963101668314d019fda","score":"0.6096217","text":"public interface BlockSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"3a09a750d3e34f29ff23df55f4fc81a6","score":"0.60950214","text":"public interface BenefitSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"a7f87059fa24bb1581cd4c418f9e0da0","score":"0.6091841","text":"public interface MovieSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"6f21724099a23c1b989717b9a351743d","score":"0.6091011","text":"public interface EsInternalCompaniesRepository extends ElasticsearchRepository {\n SearchableEntity findById(Integer id);\n}","title":""},{"docid":"3eddef6980d53620a55fa0ae5490e615","score":"0.6076565","text":"public interface RisNewAppFormTwoSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"e91c4ed144cee9d0cd0554306594bd48","score":"0.60596716","text":"public interface OrganizerSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"1c5361f7468842011e1d98eef5034389","score":"0.6053164","text":"public interface EmployeeLoanCheckRegisterSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"354230beac6773ddacbffbd83d93961e","score":"0.6040448","text":"public interface ContactRepository extends ElasticsearchRepository {\n\n /**\n * Find by company list.\n *\n * @param company the company\n * @return the list\n */\n List findByCompany(String company);\n Page findAll(Pageable pageable);\n}","title":""},{"docid":"a48bfda6bf73dcbd1fae737ebe67633f","score":"0.6040306","text":"public interface RefNatureContratSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"63e4565363b2e3b0fc06e29be748117c","score":"0.6016709","text":"public interface CemeterySearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"00c3dd7ed80022cf4e4378b2c5f88813","score":"0.60157067","text":"public interface ImobiliariaSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"9a91ae88dd1c703f6fde66d608ca0d28","score":"0.60094243","text":"public interface UsuarioExtraSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"47a2929a65c73cd0533c0fc2a495c148","score":"0.60060585","text":"public interface UserSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"47a2929a65c73cd0533c0fc2a495c148","score":"0.60060585","text":"public interface UserSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"47a2929a65c73cd0533c0fc2a495c148","score":"0.60060585","text":"public interface UserSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"47a2929a65c73cd0533c0fc2a495c148","score":"0.60060585","text":"public interface UserSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"1c331c05a99671b223d38881e23772a2","score":"0.5983092","text":"public interface FavouriteProductSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"e3f7c08c5af6ff6240dc2f195ab1e5c1","score":"0.59795606","text":"public interface DegaUserSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"71459d1548d55580242256491942d1f1","score":"0.5923832","text":"public interface ElectionTypeSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"4004ab07d8db2cd287c4a3789eec48f4","score":"0.5921938","text":"public interface GenreSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"730d52ac10d622af3ea54a15afe8b738","score":"0.58560646","text":"public interface GroupeUserSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"a7bb96fd8a748a551320793da04415d1","score":"0.58349144","text":"public interface FollowingListSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"670494148ff321ae5368ddae554d7792","score":"0.5822437","text":"public interface OrgUnitLevelSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"e3c03b3e21f1eeebc15dc2751378e18a","score":"0.57501215","text":"public interface HiringContactInternalCommentSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"2ee034c288aabc2a6364a63848579151","score":"0.573261","text":"public interface UniversityRepository extends ElasticsearchRepository {\n List findByNameLikeOrderById(String name);\n}","title":""},{"docid":"233843c973bfe68890c3653d86bb1b11","score":"0.5704514","text":"public interface RecruiterSearchRepository extends ElasticsearchRepository {\n}","title":""},{"docid":"109340dd3566287ceb764869e8e30880","score":"0.55437756","text":"@Repository\npublic interface ServiceSlaveRepo extends MongoRepository {\n}","title":""},{"docid":"cc55ae13d21c6ae387f637829b43f7ea","score":"0.5468077","text":"@Repository\npublic interface DataSourseRepository extends JpaRepository {\n}","title":""},{"docid":"28134f87a247256713d6662bb6862d2b","score":"0.54337066","text":"public interface AuthorizedSignatorySearchRepository extends JPASearchRepository {\n}","title":""},{"docid":"a326c3bdc9159e79566ca016e09b27c3","score":"0.53930247","text":"public interface AnalyticsProcessorService {\n\n /**\n * Save the script information and the queries in the analytics persistence store.\n * @param tenantId Id of the tenant for which this operation belongs to.\n * @param scriptName Name of the script which needs to be saved.\n * @param scriptContent queries content of the script.\n * @param cronExpression The cron expression to specify the\n * scheduling time interval of the script.\n * @throws AnalyticsPersistenceException\n */\n void saveScript(int tenantId, String scriptName, String scriptContent, String cronExpression)\n throws AnalyticsPersistenceException;\n\n /**\n * Delete the script with provided name, from the analytics store\n * from the provided tenant space.\n *\n * @param tenantId Id of the tenant for which this operation belongs to.\n * @param scriptName Name of the script which needs to be deleted.\n * @throws AnalyticsPersistenceException\n */\n void deleteScript(int tenantId, String scriptName) throws AnalyticsPersistenceException;\n\n /**\n * Update the script information with given details for the specified tenant.\n *\n * @param tenantId Id of the tenant for which this operation belongs to.\n * @param scriptName Name of the script for which the information needs to be updated.\n * @param scriptContent New queries content of the script.\n * @param cronExpression New cron expression of the script.\n * @throws AnalyticsPersistenceException\n */\n void updateScript(int tenantId, String scriptName, String scriptContent, String cronExpression)\n throws AnalyticsPersistenceException;\n\n /**\n * Get all the scripts in the provided tenant space and returns back.\n *\n * @param tenantId Id of the tenant for which this operation belongs to.\n * @return List of Analytics Scripts which will have associated name, queries, and cron expression.\n * @throws AnalyticsPersistenceException\n */\n List getAllScripts(int tenantId) throws AnalyticsPersistenceException;\n\n /**\n * Get a specific analytics scripts information with given script name in the provided tenant space.\n *\n * @param tenantId Id of the tenant for which this operation belongs to.\n * @param name Name of the script.\n * @return Complete information of the script.\n * @throws AnalyticsPersistenceException\n */\n AnalyticsScript getScript(int tenantId, String name) throws AnalyticsPersistenceException;\n\n /**\n * Execute the script with provided name, in the provided tenant space,\n * and return the results of the execution. This is a asynchronous call,\n * and the thread won't be returned until all it's queries has been executed.\n *\n * @param tenantId Id of the tenant for which this operation belongs to.\n * @param scriptName Name of the script which needs to be executed.\n * @return The Array of result of each queries of the script.\n * @throws AnalyticsExecutionException\n * @throws AnalyticsPersistenceException\n */\n AnalyticsQueryResult[] executeScript(int tenantId, String scriptName) throws AnalyticsExecutionException,\n AnalyticsPersistenceException;\n\n /**\n * Get each queries in the provided scripts content.\n *\n * @param scriptContent Content of the script.\n * @return Each queries existed in the script content.\n */\n String[] getQueries(String scriptContent);\n\n /**\n * Execute the provided single query in the provided tenant space, and return the results back.\n *\n * @param tenantId Id of the tenant for which this operation belongs to.\n * @param query An query which was asked to execute.\n * @return The result returned from the execution of the query.\n * @throws AnalyticsExecutionException\n */\n AnalyticsQueryResult executeQuery(int tenantId, String query) throws AnalyticsExecutionException;\n\n /**\n * Checks whether the analytics execution is enabled for this node.\n *\n * @return\n */\n boolean isAnalyticsExecutionEnabled();\n\n\n /**\n * Checks whether the analytics scheduled task for analytics script is running in background.\n *\n * @return\n */\n boolean isAnalyticsTaskExecuting(String scriptName) throws AnalyticsExecutionException;\n}","title":""},{"docid":"2d27718ad51ce5e164482736d85c5ea4","score":"0.5337583","text":"public interface FixtureRepository extends MongoRepository {\n\n}","title":""},{"docid":"9a5c30701657615f23eee7864a50e315","score":"0.53332144","text":"public interface ClientServiceRepository extends MongoRepository, ClientServiceRepositoryCustom {\n\t\n\t/**\n\t * To find service monitoring entry by host and port fields\n\t * \n\t * @param host the host field\n\t * @param port the port field\n\t * @return service monitoring record\n\t */\n\t@Query(\"{host: '?0', port: ?1}\")\n\tClientService findByHostAndPort(String host, Integer port);\n\t\n}","title":""},{"docid":"fbe64f4abd92547539e76a5b47622203","score":"0.52901673","text":"public interface AssetRepo extends MongoRepository {\n}","title":""},{"docid":"46e18d54684c0f8b9ec833fff25eb211","score":"0.52613646","text":"@Repository\npublic interface SequenceRuleLineRepository extends IRepository {\n\n}","title":""},{"docid":"289444e0d5634e1465f167c9eef7d7d3","score":"0.5242888","text":"public interface OutputRepository extends JpaRepository {\n\n}","title":""},{"docid":"0c9880654857781dbe33f5f27ea4015c","score":"0.5221569","text":"@Repository\npublic interface AssetRepo extends JpaRepository {\n}","title":""},{"docid":"c0d21c0b001f87d32019feed546ca213","score":"0.5218921","text":"public interface RecipeRepository extends MongoRepository{\n}","title":""},{"docid":"212e4b1527464a0232e3b860fb7bc9f3","score":"0.5216818","text":"public interface CopyRepository extends MongoRepository {\n\n}","title":""},{"docid":"907a013f1bf5757568bb0e00c5e16930","score":"0.52147","text":"@Repository\npublic interface TenderAddOnServiceRepository extends JpaRepository {\n\n /**\n * Get tender add on service by tender\n *\n * @param tender\n * @return\n */\n List findByTender(Tender tender);\n}","title":""},{"docid":"2650bfb262d1cf335b8341c91b082ef7","score":"0.51914734","text":"public interface LineRangeRepository extends JpaRepository {\n}","title":""},{"docid":"2aed43fd6ef6ec71da0b6a2764a24249","score":"0.5187297","text":"public interface JournalizeCrawlRepository extends JpaRepository {\n}","title":""},{"docid":"d9d3382ed28738b1e96f18867c0d672a","score":"0.5185401","text":"public interface SourceOverseasSitesRepository extends CrudRepository,\n JpaSpecificationExecutor {\n}","title":""},{"docid":"e68b93860eea05eb31a9e0ff8df54b3c","score":"0.5166029","text":"@Repository\npublic interface FileInfoRepository extends EntityGraphJpaRepository, EntityGraphQuerydslPredicateExecutor {\n\n FileInfo findByPath(String path);\n}","title":""},{"docid":"8bcea9ab2d3f1612772f5f75e203fbfb","score":"0.51614016","text":"@Transactional\npublic interface DepositOutcomeDocumentRepository extends CrudRepository, JpaSpecificationExecutor {\n DepositOutcomeDocument findByNum(String num);\n}","title":""},{"docid":"c9da3581ec7db943c5c1f184ed5676b7","score":"0.516002","text":"@Repository\npublic interface RoleRepository extends BaseRepository {\n\n RoleEntity findByRoleId(String role);\n}","title":""},{"docid":"435350aa66c32f7d04619d834f4a0ebb","score":"0.51477927","text":"@Repository\npublic interface ProductRepository extends MongoRepository {\n\n}","title":""},{"docid":"48a7fd3c912c3574149034d08d24a7c7","score":"0.5123684","text":"@Repository\npublic interface SchedulerRepository extends JpaRepository {\n}","title":""},{"docid":"b157d8fd2b0ce7e874774a04a1b34b05","score":"0.5117698","text":"@Repository\npublic interface EmployeeRepository extends MongoRepository\n{\n\n}","title":""},{"docid":"1b7726aa27803b8d7f02b34ab8a471ac","score":"0.5105871","text":"@SuppressWarnings(\"unused\")\n@Repository\n@JaversSpringDataAuditable\npublic interface ProductRepository extends MongoRepository {\n}","title":""},{"docid":"ed88ee0335afcdeecf57fb8f7092f118","score":"0.5097125","text":"public interface ParagraphJpaRepository extends JpaRepository {\n\n}","title":""},{"docid":"d77ac242dd5236b531ff5d58604fb8b9","score":"0.5077112","text":"@RepositoryRestResource\npublic interface SectionRepo extends BaseRepository {\n\n}","title":""},{"docid":"aec1b7e1e474b31b4b6aab9fdaae429a","score":"0.5071888","text":"@RepositoryRestResource(collectionResourceRel = \"DataStorage\", path = \"DataStorage\")\npublic interface DataStorageResource extends PagingAndSortingRepository {\n List findByTaskId ( @Param(\"taskId\") Long taskId );\n}","title":""},{"docid":"42111cc0649d49dc72dd88d455ec363b","score":"0.50696754","text":"public interface AuditRecordRepository extends MongoRepository, AuditRecordCustomRepository {\n\t\n}","title":""},{"docid":"135aa9f1938aa586026c7c9d8ead43cb","score":"0.5069058","text":"public interface TranslationRepository extends MongoRepository {\n /**\n * Find by key translation.\n *\n * @param key the key\n * @return the translation\n */\n Translation findByKey(String key);\n}","title":""},{"docid":"64a7fecf71deacb6bc6cb885b920dec9","score":"0.50368834","text":"@Repository\npublic interface IRepoSalida extends JpaRepository {\n\n}","title":""},{"docid":"36dfa665cc39c33d692c434d5a982cbb","score":"0.50365233","text":"public interface AssetsRepository extends CrudRepository\n{\n\n}","title":""},{"docid":"375825e4a6c6cf20f8bee6bf5ab49b0c","score":"0.5011036","text":"List getAllScripts(int tenantId) throws AnalyticsPersistenceException;","title":""},{"docid":"94af5a1059c02c251331c87430831e0a","score":"0.500313","text":"public interface IArticleRepository extends IEntityRepository
{\n}","title":""}],"string":"[\n {\n \"docid\": \"821be732b0c797ed38e33254873b6ab9\",\n \"score\": \"0.67494017\",\n \"text\": \"public interface ShiftSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d19c0ef46c6dcbe28f14ff225959ae61\",\n \"score\": \"0.67235345\",\n \"text\": \"public interface AssetSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4ab64c248dcdd76d8d8bca1d56c6285c\",\n \"score\": \"0.6521566\",\n \"text\": \"public interface EmpresaSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e4b2ab22b77f37c4c540f6905c98a805\",\n \"score\": \"0.65070164\",\n \"text\": \"public interface CashBookSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3eb55dcf2ab199a6d44460646b71dfbe\",\n \"score\": \"0.6491901\",\n \"text\": \"public interface OpportunitySearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d624bc7cb39ec965f431606a4f9811c0\",\n \"score\": \"0.64827526\",\n \"text\": \"public interface ComponentSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d0643993141c40aa96854c04125acbb8\",\n \"score\": \"0.64486\",\n \"text\": \"public interface CampSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a741d475c4bcc7666d323c0ae5a178df\",\n \"score\": \"0.64428455\",\n \"text\": \"public interface ItemSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1d0250a75f9b77dedb279bf097852fd\",\n \"score\": \"0.6439597\",\n \"text\": \"public interface SkillQuestionSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cf272d570627026cb01f608249202577\",\n \"score\": \"0.64294314\",\n \"text\": \"public interface ModuleSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eed38afad8379015d447914f9bd9127b\",\n \"score\": \"0.6395328\",\n \"text\": \"public interface FuncaoTransacaoSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d12a6b0f3c5a2157e75bd2345432d3af\",\n \"score\": \"0.63870066\",\n \"text\": \"public interface AdministradorSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3f6f8ce0b1136a861fd3c9964d6fd470\",\n \"score\": \"0.6379151\",\n \"text\": \"public interface TradeSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7e053d227f48bca977db66ebffba62b2\",\n \"score\": \"0.6365567\",\n \"text\": \"public interface StoreIndexRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2e0df83d1da198c2d0e6f45dd7254cdb\",\n \"score\": \"0.6357886\",\n \"text\": \"public interface TimersSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"87b93cfb1de6061d272ebdf455632f95\",\n \"score\": \"0.6351951\",\n \"text\": \"public interface StatusColumnValueSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ac684f63e5a55a9c71cc2fb91a507dab\",\n \"score\": \"0.63461494\",\n \"text\": \"public interface ProductInBucketSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"29663380de8be6b07c6a0655f29d9da5\",\n \"score\": \"0.6340505\",\n \"text\": \"public interface CompteSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf74412ccb688b0ab2442a5d3b0a9553\",\n \"score\": \"0.6326736\",\n \"text\": \"public interface AirlineSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"44664a98d1be23e7736125d25b7da99f\",\n \"score\": \"0.6319631\",\n \"text\": \"public interface SystemConfigurationSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d25e4e01bcc55f680eb610bf81c0a9d6\",\n \"score\": \"0.6306257\",\n \"text\": \"@Component\\npublic interface DataDictRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"04b0c89c0a14a93d90a96a348cd38212\",\n \"score\": \"0.62979853\",\n \"text\": \"public interface PfmsEmpMonthlyAdjSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"195ea46c3bac9b799239b7972972a4aa\",\n \"score\": \"0.626924\",\n \"text\": \"public interface PassengerSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2bd8a5bcb0ed4402f696ad8ef113e664\",\n \"score\": \"0.62675023\",\n \"text\": \"public interface ProductoSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"36038b632f12ebc3ea613a5c51a25eab\",\n \"score\": \"0.6266527\",\n \"text\": \"public interface TestDtoServiceSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"34fc27e956d36711079af0b50587aaa8\",\n \"score\": \"0.62504613\",\n \"text\": \"public interface DepartmentSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"20975442ebfea5f9cd9a58249c9ebaf8\",\n \"score\": \"0.62308735\",\n \"text\": \"public interface BandSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"70ea20988e56f52119819c91c4d39809\",\n \"score\": \"0.62307125\",\n \"text\": \"public interface NurseSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"84d98080f217752a383c0f4afdfe2f55\",\n \"score\": \"0.622885\",\n \"text\": \"public interface AuthorizationSetLinkSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"97e16b551a8df1a514783da6b70aef18\",\n \"score\": \"0.62230617\",\n \"text\": \"public interface OperantSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f09ce988e96c07d7fc45cc7c74e97a2\",\n \"score\": \"0.61996335\",\n \"text\": \"public interface OfferingDeliveryInfoSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"88bec984a2d2a57f6939b73b2d108804\",\n \"score\": \"0.6198744\",\n \"text\": \"public interface WordSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b85e2cc8824e3137b5efd2fbdaa493d5\",\n \"score\": \"0.61925954\",\n \"text\": \"public interface KeyWordRepository extends ElasticsearchRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"812d899090cde264a4bb73978964f262\",\n \"score\": \"0.61923915\",\n \"text\": \"public interface ResponseChoiceSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b19518ca7851387dc61353525ea40876\",\n \"score\": \"0.6188447\",\n \"text\": \"public interface BorrowerSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4ad6862352f75d7ac882180a10f7af68\",\n \"score\": \"0.6178058\",\n \"text\": \"public interface BidSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8eca974263eb968784c95e975a124bdf\",\n \"score\": \"0.6171568\",\n \"text\": \"public interface Sustancia_activa_europaSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"53c917eb0672b1247d9ff06fd729348c\",\n \"score\": \"0.6171137\",\n \"text\": \"public interface DevisSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3866204e2b5441119efcf5938efa03b0\",\n \"score\": \"0.6165895\",\n \"text\": \"public interface FieldSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4b818767edaf767271d27ead5d44d61\",\n \"score\": \"0.61411405\",\n \"text\": \"public interface BankAccountSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2268793eca54fd47a868529322e17ea3\",\n \"score\": \"0.6129806\",\n \"text\": \"public interface SensorDeviceSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed06f874743f955c9d995f35b59e3df8\",\n \"score\": \"0.61248225\",\n \"text\": \"public interface MateriaSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6db582cd46274963101668314d019fda\",\n \"score\": \"0.6096217\",\n \"text\": \"public interface BlockSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a09a750d3e34f29ff23df55f4fc81a6\",\n \"score\": \"0.60950214\",\n \"text\": \"public interface BenefitSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7f87059fa24bb1581cd4c418f9e0da0\",\n \"score\": \"0.6091841\",\n \"text\": \"public interface MovieSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f21724099a23c1b989717b9a351743d\",\n \"score\": \"0.6091011\",\n \"text\": \"public interface EsInternalCompaniesRepository extends ElasticsearchRepository {\\n SearchableEntity findById(Integer id);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3eddef6980d53620a55fa0ae5490e615\",\n \"score\": \"0.6076565\",\n \"text\": \"public interface RisNewAppFormTwoSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e91c4ed144cee9d0cd0554306594bd48\",\n \"score\": \"0.60596716\",\n \"text\": \"public interface OrganizerSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1c5361f7468842011e1d98eef5034389\",\n \"score\": \"0.6053164\",\n \"text\": \"public interface EmployeeLoanCheckRegisterSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"354230beac6773ddacbffbd83d93961e\",\n \"score\": \"0.6040448\",\n \"text\": \"public interface ContactRepository extends ElasticsearchRepository {\\n\\n /**\\n * Find by company list.\\n *\\n * @param company the company\\n * @return the list\\n */\\n List findByCompany(String company);\\n Page findAll(Pageable pageable);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a48bfda6bf73dcbd1fae737ebe67633f\",\n \"score\": \"0.6040306\",\n \"text\": \"public interface RefNatureContratSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"63e4565363b2e3b0fc06e29be748117c\",\n \"score\": \"0.6016709\",\n \"text\": \"public interface CemeterySearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"00c3dd7ed80022cf4e4378b2c5f88813\",\n \"score\": \"0.60157067\",\n \"text\": \"public interface ImobiliariaSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a91ae88dd1c703f6fde66d608ca0d28\",\n \"score\": \"0.60094243\",\n \"text\": \"public interface UsuarioExtraSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47a2929a65c73cd0533c0fc2a495c148\",\n \"score\": \"0.60060585\",\n \"text\": \"public interface UserSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47a2929a65c73cd0533c0fc2a495c148\",\n \"score\": \"0.60060585\",\n \"text\": \"public interface UserSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47a2929a65c73cd0533c0fc2a495c148\",\n \"score\": \"0.60060585\",\n \"text\": \"public interface UserSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47a2929a65c73cd0533c0fc2a495c148\",\n \"score\": \"0.60060585\",\n \"text\": \"public interface UserSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1c331c05a99671b223d38881e23772a2\",\n \"score\": \"0.5983092\",\n \"text\": \"public interface FavouriteProductSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3f7c08c5af6ff6240dc2f195ab1e5c1\",\n \"score\": \"0.59795606\",\n \"text\": \"public interface DegaUserSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"71459d1548d55580242256491942d1f1\",\n \"score\": \"0.5923832\",\n \"text\": \"public interface ElectionTypeSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4004ab07d8db2cd287c4a3789eec48f4\",\n \"score\": \"0.5921938\",\n \"text\": \"public interface GenreSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"730d52ac10d622af3ea54a15afe8b738\",\n \"score\": \"0.58560646\",\n \"text\": \"public interface GroupeUserSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7bb96fd8a748a551320793da04415d1\",\n \"score\": \"0.58349144\",\n \"text\": \"public interface FollowingListSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"670494148ff321ae5368ddae554d7792\",\n \"score\": \"0.5822437\",\n \"text\": \"public interface OrgUnitLevelSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3c03b3e21f1eeebc15dc2751378e18a\",\n \"score\": \"0.57501215\",\n \"text\": \"public interface HiringContactInternalCommentSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ee034c288aabc2a6364a63848579151\",\n \"score\": \"0.573261\",\n \"text\": \"public interface UniversityRepository extends ElasticsearchRepository {\\n List findByNameLikeOrderById(String name);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"233843c973bfe68890c3653d86bb1b11\",\n \"score\": \"0.5704514\",\n \"text\": \"public interface RecruiterSearchRepository extends ElasticsearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"109340dd3566287ceb764869e8e30880\",\n \"score\": \"0.55437756\",\n \"text\": \"@Repository\\npublic interface ServiceSlaveRepo extends MongoRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cc55ae13d21c6ae387f637829b43f7ea\",\n \"score\": \"0.5468077\",\n \"text\": \"@Repository\\npublic interface DataSourseRepository extends JpaRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"28134f87a247256713d6662bb6862d2b\",\n \"score\": \"0.54337066\",\n \"text\": \"public interface AuthorizedSignatorySearchRepository extends JPASearchRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a326c3bdc9159e79566ca016e09b27c3\",\n \"score\": \"0.53930247\",\n \"text\": \"public interface AnalyticsProcessorService {\\n\\n /**\\n * Save the script information and the queries in the analytics persistence store.\\n * @param tenantId Id of the tenant for which this operation belongs to.\\n * @param scriptName Name of the script which needs to be saved.\\n * @param scriptContent queries content of the script.\\n * @param cronExpression The cron expression to specify the\\n * scheduling time interval of the script.\\n * @throws AnalyticsPersistenceException\\n */\\n void saveScript(int tenantId, String scriptName, String scriptContent, String cronExpression)\\n throws AnalyticsPersistenceException;\\n\\n /**\\n * Delete the script with provided name, from the analytics store\\n * from the provided tenant space.\\n *\\n * @param tenantId Id of the tenant for which this operation belongs to.\\n * @param scriptName Name of the script which needs to be deleted.\\n * @throws AnalyticsPersistenceException\\n */\\n void deleteScript(int tenantId, String scriptName) throws AnalyticsPersistenceException;\\n\\n /**\\n * Update the script information with given details for the specified tenant.\\n *\\n * @param tenantId Id of the tenant for which this operation belongs to.\\n * @param scriptName Name of the script for which the information needs to be updated.\\n * @param scriptContent New queries content of the script.\\n * @param cronExpression New cron expression of the script.\\n * @throws AnalyticsPersistenceException\\n */\\n void updateScript(int tenantId, String scriptName, String scriptContent, String cronExpression)\\n throws AnalyticsPersistenceException;\\n\\n /**\\n * Get all the scripts in the provided tenant space and returns back.\\n *\\n * @param tenantId Id of the tenant for which this operation belongs to.\\n * @return List of Analytics Scripts which will have associated name, queries, and cron expression.\\n * @throws AnalyticsPersistenceException\\n */\\n List getAllScripts(int tenantId) throws AnalyticsPersistenceException;\\n\\n /**\\n * Get a specific analytics scripts information with given script name in the provided tenant space.\\n *\\n * @param tenantId Id of the tenant for which this operation belongs to.\\n * @param name Name of the script.\\n * @return Complete information of the script.\\n * @throws AnalyticsPersistenceException\\n */\\n AnalyticsScript getScript(int tenantId, String name) throws AnalyticsPersistenceException;\\n\\n /**\\n * Execute the script with provided name, in the provided tenant space,\\n * and return the results of the execution. This is a asynchronous call,\\n * and the thread won't be returned until all it's queries has been executed.\\n *\\n * @param tenantId Id of the tenant for which this operation belongs to.\\n * @param scriptName Name of the script which needs to be executed.\\n * @return The Array of result of each queries of the script.\\n * @throws AnalyticsExecutionException\\n * @throws AnalyticsPersistenceException\\n */\\n AnalyticsQueryResult[] executeScript(int tenantId, String scriptName) throws AnalyticsExecutionException,\\n AnalyticsPersistenceException;\\n\\n /**\\n * Get each queries in the provided scripts content.\\n *\\n * @param scriptContent Content of the script.\\n * @return Each queries existed in the script content.\\n */\\n String[] getQueries(String scriptContent);\\n\\n /**\\n * Execute the provided single query in the provided tenant space, and return the results back.\\n *\\n * @param tenantId Id of the tenant for which this operation belongs to.\\n * @param query An query which was asked to execute.\\n * @return The result returned from the execution of the query.\\n * @throws AnalyticsExecutionException\\n */\\n AnalyticsQueryResult executeQuery(int tenantId, String query) throws AnalyticsExecutionException;\\n\\n /**\\n * Checks whether the analytics execution is enabled for this node.\\n *\\n * @return\\n */\\n boolean isAnalyticsExecutionEnabled();\\n\\n\\n /**\\n * Checks whether the analytics scheduled task for analytics script is running in background.\\n *\\n * @return\\n */\\n boolean isAnalyticsTaskExecuting(String scriptName) throws AnalyticsExecutionException;\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d27718ad51ce5e164482736d85c5ea4\",\n \"score\": \"0.5337583\",\n \"text\": \"public interface FixtureRepository extends MongoRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a5c30701657615f23eee7864a50e315\",\n \"score\": \"0.53332144\",\n \"text\": \"public interface ClientServiceRepository extends MongoRepository, ClientServiceRepositoryCustom {\\n\\t\\n\\t/**\\n\\t * To find service monitoring entry by host and port fields\\n\\t * \\n\\t * @param host the host field\\n\\t * @param port the port field\\n\\t * @return service monitoring record\\n\\t */\\n\\t@Query(\\\"{host: '?0', port: ?1}\\\")\\n\\tClientService findByHostAndPort(String host, Integer port);\\n\\t\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fbe64f4abd92547539e76a5b47622203\",\n \"score\": \"0.52901673\",\n \"text\": \"public interface AssetRepo extends MongoRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"46e18d54684c0f8b9ec833fff25eb211\",\n \"score\": \"0.52613646\",\n \"text\": \"@Repository\\npublic interface SequenceRuleLineRepository extends IRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"289444e0d5634e1465f167c9eef7d7d3\",\n \"score\": \"0.5242888\",\n \"text\": \"public interface OutputRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0c9880654857781dbe33f5f27ea4015c\",\n \"score\": \"0.5221569\",\n \"text\": \"@Repository\\npublic interface AssetRepo extends JpaRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c0d21c0b001f87d32019feed546ca213\",\n \"score\": \"0.5218921\",\n \"text\": \"public interface RecipeRepository extends MongoRepository{\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"212e4b1527464a0232e3b860fb7bc9f3\",\n \"score\": \"0.5216818\",\n \"text\": \"public interface CopyRepository extends MongoRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"907a013f1bf5757568bb0e00c5e16930\",\n \"score\": \"0.52147\",\n \"text\": \"@Repository\\npublic interface TenderAddOnServiceRepository extends JpaRepository {\\n\\n /**\\n * Get tender add on service by tender\\n *\\n * @param tender\\n * @return\\n */\\n List findByTender(Tender tender);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2650bfb262d1cf335b8341c91b082ef7\",\n \"score\": \"0.51914734\",\n \"text\": \"public interface LineRangeRepository extends JpaRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2aed43fd6ef6ec71da0b6a2764a24249\",\n \"score\": \"0.5187297\",\n \"text\": \"public interface JournalizeCrawlRepository extends JpaRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d9d3382ed28738b1e96f18867c0d672a\",\n \"score\": \"0.5185401\",\n \"text\": \"public interface SourceOverseasSitesRepository extends CrudRepository,\\n JpaSpecificationExecutor {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e68b93860eea05eb31a9e0ff8df54b3c\",\n \"score\": \"0.5166029\",\n \"text\": \"@Repository\\npublic interface FileInfoRepository extends EntityGraphJpaRepository, EntityGraphQuerydslPredicateExecutor {\\n\\n FileInfo findByPath(String path);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8bcea9ab2d3f1612772f5f75e203fbfb\",\n \"score\": \"0.51614016\",\n \"text\": \"@Transactional\\npublic interface DepositOutcomeDocumentRepository extends CrudRepository, JpaSpecificationExecutor {\\n DepositOutcomeDocument findByNum(String num);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c9da3581ec7db943c5c1f184ed5676b7\",\n \"score\": \"0.516002\",\n \"text\": \"@Repository\\npublic interface RoleRepository extends BaseRepository {\\n\\n RoleEntity findByRoleId(String role);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"435350aa66c32f7d04619d834f4a0ebb\",\n \"score\": \"0.51477927\",\n \"text\": \"@Repository\\npublic interface ProductRepository extends MongoRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"48a7fd3c912c3574149034d08d24a7c7\",\n \"score\": \"0.5123684\",\n \"text\": \"@Repository\\npublic interface SchedulerRepository extends JpaRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b157d8fd2b0ce7e874774a04a1b34b05\",\n \"score\": \"0.5117698\",\n \"text\": \"@Repository\\npublic interface EmployeeRepository extends MongoRepository\\n{\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1b7726aa27803b8d7f02b34ab8a471ac\",\n \"score\": \"0.5105871\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\n@JaversSpringDataAuditable\\npublic interface ProductRepository extends MongoRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed88ee0335afcdeecf57fb8f7092f118\",\n \"score\": \"0.5097125\",\n \"text\": \"public interface ParagraphJpaRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d77ac242dd5236b531ff5d58604fb8b9\",\n \"score\": \"0.5077112\",\n \"text\": \"@RepositoryRestResource\\npublic interface SectionRepo extends BaseRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aec1b7e1e474b31b4b6aab9fdaae429a\",\n \"score\": \"0.5071888\",\n \"text\": \"@RepositoryRestResource(collectionResourceRel = \\\"DataStorage\\\", path = \\\"DataStorage\\\")\\npublic interface DataStorageResource extends PagingAndSortingRepository {\\n List findByTaskId ( @Param(\\\"taskId\\\") Long taskId );\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42111cc0649d49dc72dd88d455ec363b\",\n \"score\": \"0.50696754\",\n \"text\": \"public interface AuditRecordRepository extends MongoRepository, AuditRecordCustomRepository {\\n\\t\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"135aa9f1938aa586026c7c9d8ead43cb\",\n \"score\": \"0.5069058\",\n \"text\": \"public interface TranslationRepository extends MongoRepository {\\n /**\\n * Find by key translation.\\n *\\n * @param key the key\\n * @return the translation\\n */\\n Translation findByKey(String key);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"64a7fecf71deacb6bc6cb885b920dec9\",\n \"score\": \"0.50368834\",\n \"text\": \"@Repository\\npublic interface IRepoSalida extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"36dfa665cc39c33d692c434d5a982cbb\",\n \"score\": \"0.50365233\",\n \"text\": \"public interface AssetsRepository extends CrudRepository\\n{\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"375825e4a6c6cf20f8bee6bf5ab49b0c\",\n \"score\": \"0.5011036\",\n \"text\": \"List getAllScripts(int tenantId) throws AnalyticsPersistenceException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"94af5a1059c02c251331c87430831e0a\",\n \"score\": \"0.500313\",\n \"text\": \"public interface IArticleRepository extends IEntityRepository
{\\n}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":330,"cells":{"query_id":{"kind":"string","value":"af2ae711914fc2d6012344376fb6d88d"},"query":{"kind":"string","value":"The time that the window first starts. .google.protobuf.Timestamp start_time = 1;"},"positive_passages":{"kind":"list like","value":[{"docid":"be27420918124c1d247aa76cd467e5b8","score":"0.646845","text":"com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();","title":""}],"string":"[\n {\n \"docid\": \"be27420918124c1d247aa76cd467e5b8\",\n \"score\": \"0.646845\",\n \"text\": \"com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"18045fee4c25bac1e0324fe6799cec62","score":"0.72014976","text":"com.google.protobuf.Timestamp getStartedAt();","title":""},{"docid":"b054e6bef16d1610b14698526fd640e3","score":"0.7009661","text":"com.google.protobuf.Timestamp getStartTime();","title":""},{"docid":"143c1254341e8d27f286a8433194baa8","score":"0.69214326","text":"long getStartTimestamp();","title":""},{"docid":"2a6983a18b14a78e03506995c61212a4","score":"0.68045807","text":"public long getStartStamp ()\n {\n return _startTime;\n }","title":""},{"docid":"c2a7af43e19bf24b82ad0b5d2a8ad3a3","score":"0.6776061","text":"int getStartAutoTime();","title":""},{"docid":"84fbff5fd146d62fa9f8a657b93a7235","score":"0.676217","text":"public int getStartAutoTime() {\n return startAutoTime_;\n }","title":""},{"docid":"6794137cd3e57e8a4fd526f266ca8cd8","score":"0.6697054","text":"public int getStartAutoTime() {\n return startAutoTime_;\n }","title":""},{"docid":"064aa35e3d8ac671802e6ba930abf8db","score":"0.6694763","text":"public long getStartupTime() {\n return Parameters.startTime;\n }","title":""},{"docid":"0e8b0458462e642d5203ea0873ab723a","score":"0.66585636","text":"@ApiModelProperty(required = true, value = \"The start of the aggregation window for workflow metrics.\")\n public OffsetDateTime getWindowStart() {\n return windowStart;\n }","title":""},{"docid":"d7bae7d0f74294f442de837dae2451bb","score":"0.6651188","text":"public long getStarttime() {\n return starttime;\n }","title":""},{"docid":"2eb1770af4e4cc79218f039150cbea3b","score":"0.6649856","text":"@java.lang.Override\n public com.google.protobuf.Timestamp getStartedAt() {\n return startedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startedAt_;\n }","title":""},{"docid":"618b9cc71ee4c6181162d3ab067b4285","score":"0.66196346","text":"@Override\n public int getTimeActivityStart() { return TIME_ACTIVITY_START; }","title":""},{"docid":"ab219957237a055845145dce1ad6c25c","score":"0.6602232","text":"public Long getStartTimestamp() {\n return startTimestamp;\n }","title":""},{"docid":"a8dd6da4713ed9702f64a592d9971ac1","score":"0.6600074","text":"@Override\n\tpublic long getStartTime() {\n\t\treturn 0;\n\t}","title":""},{"docid":"e66a852a919d30b7f4602f24ef77a9fb","score":"0.6573403","text":"public Long getStartTimestamp() {\n return startTimestamp;\n }","title":""},{"docid":"d32e2fafff5d4cd6ad5eee7d04340d44","score":"0.65706074","text":"public int getStart(){return this.startTime;}","title":""},{"docid":"bc9ec56acc898c2db8d38224d99fb45d","score":"0.65493286","text":"com.google.protobuf.TimestampOrBuilder getStartedAtOrBuilder();","title":""},{"docid":"c73dcc30d77a51027bebf3a11b7d4221","score":"0.6528668","text":"public Date getTimeStart() {\n return timeStart;\n }","title":""},{"docid":"7bc4deaff74fbb236ec29aad3a68adb5","score":"0.6514224","text":"public long getStartTime(){\n\t\treturn lStart;\n\t}","title":""},{"docid":"8dbc3a3a4ddb4023bc9a746fc0936e4d","score":"0.6504698","text":"public int getStartTime() {\n return startTime;\n }","title":""},{"docid":"8dbc3a3a4ddb4023bc9a746fc0936e4d","score":"0.6504698","text":"public int getStartTime() {\n return startTime;\n }","title":""},{"docid":"c9a0a165bebf39b815f55b5152a28166","score":"0.6499209","text":"public long getStartTime() {\n return startTime;\n }","title":""},{"docid":"c9a0a165bebf39b815f55b5152a28166","score":"0.6499209","text":"public long getStartTime() {\n return startTime;\n }","title":""},{"docid":"19c67f7329860fcef0689fae0c4139a8","score":"0.64839125","text":"long getTimeStarted();","title":""},{"docid":"f69ba3b957ae9c75e42a362d91e3c58f","score":"0.6483531","text":"public long getStartTime() {\n\t\treturn startTime;\n\t}","title":""},{"docid":"f69ba3b957ae9c75e42a362d91e3c58f","score":"0.6483531","text":"public long getStartTime() {\n\t\treturn startTime;\n\t}","title":""},{"docid":"f69ba3b957ae9c75e42a362d91e3c58f","score":"0.6483531","text":"public long getStartTime() {\n\t\treturn startTime;\n\t}","title":""},{"docid":"d78b2deede839812f91e6adace18a984","score":"0.6479115","text":"public long getStartTime() {\r\n return startTime;\r\n }","title":""},{"docid":"d78b2deede839812f91e6adace18a984","score":"0.6479115","text":"public long getStartTime() {\r\n return startTime;\r\n }","title":""},{"docid":"3c348b7d70dc3fef0d62043bad4a3f44","score":"0.6466193","text":"public int getStartTime() {\r\n return this.startTime;\r\n }","title":""},{"docid":"509bf4dc12bcdfae81ec32a29cb85009","score":"0.6459675","text":"java.lang.String getStarttime();","title":""},{"docid":"7d5afdc57e4b2ce80b9845337b5da738","score":"0.6459488","text":"public String getStart_Time() {\r\n\t\treturn start_Time;\r\n\t}","title":""},{"docid":"d27623b6e3c7bd34ae27f3d51ad9837e","score":"0.64296466","text":"public long getStartTime(){\n\t\treturn startTime;\n\t}","title":""},{"docid":"fb1ab4c82de27c35cda0966d1ac66469","score":"0.64278996","text":"public long getStartedTime() {\n return this.mStarted;\n }","title":""},{"docid":"6d6042c99b87eba6eb4578f03c05bbdb","score":"0.64278835","text":"public long getStartTime() {\r\n\t\treturn this.startTime;\r\n\t}","title":""},{"docid":"b8c936a5a63ff6ea93433e4ba92f924e","score":"0.6422132","text":"@java.lang.Override\n public long getStartTime() {\n return startTime_;\n }","title":""},{"docid":"e01d40bfabf7830973fb3ce1659dfb98","score":"0.6400593","text":"public synchronized double getStartTime()\t\t{ return startTime ; }","title":""},{"docid":"cdc48eafa938d270a3507b1048060733","score":"0.6391545","text":"public long getStartTime() {\n return startTime;\n }","title":""},{"docid":"acdc9fc8bd6fb9afa64869633597f3fc","score":"0.6368176","text":"@java.lang.Override\n public long getStartTime() {\n return startTime_;\n }","title":""},{"docid":"16191bc0cc7042e221faf4139b19623a","score":"0.6360859","text":"public com.google.protobuf.Timestamp getStartedAt() {\n if (startedAtBuilder_ == null) {\n return startedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startedAt_;\n } else {\n return startedAtBuilder_.getMessage();\n }\n }","title":""},{"docid":"6c95d0a261fe3e31fe48e75dd64817f0","score":"0.63593113","text":"public Time getAccessWindowStart() {\n return accessWindowStart;\n }","title":""},{"docid":"8b9cf90e7e0dab4604ad526c45803ede","score":"0.6356113","text":"public String getDisplayStartTime()\n\t\t{\n\t\t\treturn this.timeRange.firstTime().toStringLocalTime();\n\t\t}","title":""},{"docid":"5506c1de583742be187de173126e2844","score":"0.635537","text":"@Override\n public Date getBeginTime(){\n return begin;\n }","title":""},{"docid":"a3e9f4826526d12436c121d9e8194ab5","score":"0.63548887","text":"long getStartTime();","title":""},{"docid":"a3e9f4826526d12436c121d9e8194ab5","score":"0.63548887","text":"long getStartTime();","title":""},{"docid":"a3e9f4826526d12436c121d9e8194ab5","score":"0.63548887","text":"long getStartTime();","title":""},{"docid":"a40b19f9526276e57a5ca22abb8090a8","score":"0.6350608","text":"public Time getStartTime()\n {\n return startTime;\n }","title":""},{"docid":"f96cb3bcc8971bd712e144a870c5ef39","score":"0.6334617","text":"public Time getStartTime() {\r\n return new Time(start);\r\n }","title":""},{"docid":"e9340cb472509e53ec8d1c241d560ecb","score":"0.63219285","text":"public Date getStartTime() {\r\n\t\treturn startTime;\r\n\t}","title":""},{"docid":"8b73600dfe2c92fc522cd83e656fb96b","score":"0.6319956","text":"public long getStartTime() {\n return mStartTime;\n }","title":""},{"docid":"1d5086bd7695dfe10998c9f9d66084a9","score":"0.6284705","text":"public Date getStartTime() {\n\t\treturn startTime;\n\t}","title":""},{"docid":"b24d20c0a55817c0c12c0a8fc65476b5","score":"0.62794226","text":"public long getStartSpawningTime() {\r\n\t\treturn startSpawningTime;\r\n\t}","title":""},{"docid":"76750ad4a92b1808efe844f5e725c31a","score":"0.62719357","text":"public String getStartTime() {\r\n return startTime;\r\n }","title":""},{"docid":"a1534fc66ad8e2429075b786f729b7b1","score":"0.62704617","text":"public LocalTime getStart() {\n\t\treturn start;\n\t}","title":""},{"docid":"7812c89dd6fa873390c75b71df1b452a","score":"0.62630427","text":"public LocalTime getStartTime() { \n\t\treturn startTime;\n\t}","title":""},{"docid":"508197116eb0ce16d93401dc40699a79","score":"0.62593985","text":"public Time getStartTime()\n {\n return startTime;\n }","title":""},{"docid":"9a7c1484acda58d4bc80935469ea496b","score":"0.6248496","text":"public void logStart() {\n lastStart = System.nanoTime();\n }","title":""},{"docid":"f49c9953f446b8d36d7dcbe76675f271","score":"0.6247743","text":"public static long startTime() {\r\n\t\ttime = new Date();\r\n\t\tif (startTime == 0)\r\n\t\t\tstartTime = time.getTime();\r\n\t\treturn startTime;\r\n\t}","title":""},{"docid":"639e4495cd4f6493b275e3a2c883b947","score":"0.6240745","text":"public Date getStartTime() {\n return startTime;\n }","title":""},{"docid":"2200d213f2e01b9e135b55d306d2c806","score":"0.62339693","text":"@ApiModelProperty(value = \"Timestamp indicating the earliest time to instantiate the NS. Cardinality \\\"0\\\" indicates the NS instantiation takes place immediately. \")\n public String getStartTime() {\n return startTime;\n }","title":""},{"docid":"ae9f1cd6402d9cddb22c00e3d6b99588","score":"0.62315845","text":"public String getBeginTime(){\t\t\r\n\t\treturn beginTime;\r\n\t}","title":""},{"docid":"5b8019f72bd6bc5a8063376ba1962710","score":"0.6231187","text":"public java.util.Date getStartingTime() {\n return (java.util.Date) this.getEvent().getStartingTime();\n }","title":""},{"docid":"7e39456f08bc3b0df511ddf7134941f8","score":"0.6228726","text":"public long getGameStartTime() {\n\t\treturn gameStartTime;\n\t}","title":""},{"docid":"9acebd6193f9bbd4d1d728c98c2ea20d","score":"0.6224658","text":"public String getStartTime() {\n\t\treturn startTime;\n\t}","title":""},{"docid":"b20c7471d9d560d98d5b0b4329f5b99b","score":"0.62238246","text":"private int getStartBeat() {\r\n return this.start.getValue() - 1;\r\n }","title":""},{"docid":"0e60eab43176b74033b8fd0ca85a65f3","score":"0.6221788","text":"public long getStartMillis() {\n\t\treturn this.startMillis;\n\t}","title":""},{"docid":"965f29b2f686fc5a608c63bc26029f4e","score":"0.621965","text":"@Override\n public Date getStartTime()\n {\n GregorianCalendar vCalendar = new GregorianCalendar();\n return vCalendar.getTime();\n }","title":""},{"docid":"35dfbdded42727ff4acd5e9a834768e8","score":"0.6212879","text":"public Date getStartTime() {\n\t return this.startTime;\n\t}","title":""},{"docid":"2a52bef131e9ae4859d4386888bf1658","score":"0.6212608","text":"public String getStartTime() {\n return startTime;\n }","title":""},{"docid":"3c89d73230bd936dcc16ed20302a7060","score":"0.6204649","text":"void setStart(int newTime);","title":""},{"docid":"b7036504ea664f448c9dcadd983e4b91","score":"0.6203703","text":"public void setStart() {\n\t\tstartTime = getSystemTime();\n\t}","title":""},{"docid":"fb062078158ca4e2a95f3967f984eaec","score":"0.6198943","text":"public DateTimeStamp getTimeOfFirstEvent() {\n return timeOfFirstEvent != null ? timeOfFirstEvent : new DateTimeStamp(0.0);\n }","title":""},{"docid":"12d508149226cb40669c56bfaece78a3","score":"0.6197379","text":"public Date getStartTime();","title":""},{"docid":"126fc12701e2456583a7786f79c07d2d","score":"0.61924607","text":"public String getStartTime() {\r\n\t\treturn this.getTime(this.startTime);\r\n\t}","title":""},{"docid":"4473ef356c9690d5b07d2150ea26c8d8","score":"0.61891264","text":"public LocalTime getStartTime() {\n return startTime;\n }","title":""},{"docid":"4b12ecca32bbd797783d06dbbf51aee9","score":"0.6188816","text":"public Date getStarttime() {\n\t\treturn starttime;\n\t}","title":""},{"docid":"d057bf35c130670ba32c0d665870b011","score":"0.61824787","text":"public Date getStarttime() {\r\n\t\treturn this.starttime;\r\n\t}","title":""},{"docid":"1950d78eb0dd9c3f7681d3fbf50e63b0","score":"0.6174401","text":"public DateTime startTime() {\n return this.startTime;\n }","title":""},{"docid":"5d273dd4428d60e1c5abf27a7e396808","score":"0.61734164","text":"public long getRealStartTimeMillis() {\n\t\treturn _realStartTime;\n\t}","title":""},{"docid":"5bf0060e934fd031747053125ce4b089","score":"0.61706394","text":"@Override\n public int getRunningTimeTicks()\n {\n return 0;\n }","title":""},{"docid":"6f64475494561476a045bc6f19bc8969","score":"0.61690307","text":"private long startFlag()\r\n\t{\r\n\t\treturn System.currentTimeMillis();\r\n\t}","title":""},{"docid":"1f5fb00812e9948c1b32fcd37b569043","score":"0.61600685","text":"long getStart();","title":""},{"docid":"1f5fb00812e9948c1b32fcd37b569043","score":"0.61600685","text":"long getStart();","title":""},{"docid":"1f5fb00812e9948c1b32fcd37b569043","score":"0.61600685","text":"long getStart();","title":""},{"docid":"2486323cdb6db18163ee2eebe4e5a52e","score":"0.6154281","text":"public void setBeginTime() {\n\t\tbeginTime = System.currentTimeMillis();\n\t}","title":""},{"docid":"f20542ec650558123a90e28a1f41cc94","score":"0.61526376","text":"public abstract long getStartTime();","title":""},{"docid":"ffef4dcd4f3e2895d07e97e3cec7dc42","score":"0.6147117","text":"public long getStart() {\n return start_;\n }","title":""},{"docid":"5cae49df61629aaa801d7ab13874c5ce","score":"0.61459047","text":"@java.lang.Override\n public com.google.protobuf.TimestampOrBuilder getStartedAtOrBuilder() {\n return getStartedAt();\n }","title":""},{"docid":"aad94f10b2a835b58937a0222617e4b2","score":"0.6145123","text":"public long getStartFixedTime() {\n return startFixedTime;\n }","title":""},{"docid":"20dee21c4cc1e4b68e0e9997ddb834c7","score":"0.6140195","text":"public Long getShowtimeStart() {\n\t\treturn showtimeStart;\n\t}","title":""},{"docid":"519f72314a73c181948f7bff7edda35e","score":"0.6136579","text":"public String getStartTime() {\n return this.StartTime;\n }","title":""},{"docid":"519f72314a73c181948f7bff7edda35e","score":"0.6136579","text":"public String getStartTime() {\n return this.StartTime;\n }","title":""},{"docid":"519f72314a73c181948f7bff7edda35e","score":"0.6136579","text":"public String getStartTime() {\n return this.StartTime;\n }","title":""},{"docid":"519f72314a73c181948f7bff7edda35e","score":"0.6136579","text":"public String getStartTime() {\n return this.StartTime;\n }","title":""},{"docid":"519f72314a73c181948f7bff7edda35e","score":"0.6136579","text":"public String getStartTime() {\n return this.StartTime;\n }","title":""},{"docid":"2366c9adb69daa51642d5b3685fb88ee","score":"0.613396","text":"public LocalTime getStartTime() {\n\t\t\treturn startTimePicker.getTime();\n\t\t}","title":""},{"docid":"df33a001c968c6da5509217f1981c0ea","score":"0.61319536","text":"public LocalDateTime getTime()\n {\n return start;\n }","title":""},{"docid":"e58edb01415572af159de8ea1907ba87","score":"0.61289054","text":"public Date getStarttime() {\n return starttime;\n }","title":""},{"docid":"fd385646512976dd3368afbd38ab4473","score":"0.6125876","text":"public String getStartTime() {\n return this.startTime;\n }","title":""},{"docid":"fd385646512976dd3368afbd38ab4473","score":"0.6125876","text":"public String getStartTime() {\n return this.startTime;\n }","title":""}],"string":"[\n {\n \"docid\": \"18045fee4c25bac1e0324fe6799cec62\",\n \"score\": \"0.72014976\",\n \"text\": \"com.google.protobuf.Timestamp getStartedAt();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b054e6bef16d1610b14698526fd640e3\",\n \"score\": \"0.7009661\",\n \"text\": \"com.google.protobuf.Timestamp getStartTime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"143c1254341e8d27f286a8433194baa8\",\n \"score\": \"0.69214326\",\n \"text\": \"long getStartTimestamp();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2a6983a18b14a78e03506995c61212a4\",\n \"score\": \"0.68045807\",\n \"text\": \"public long getStartStamp ()\\n {\\n return _startTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c2a7af43e19bf24b82ad0b5d2a8ad3a3\",\n \"score\": \"0.6776061\",\n \"text\": \"int getStartAutoTime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"84fbff5fd146d62fa9f8a657b93a7235\",\n \"score\": \"0.676217\",\n \"text\": \"public int getStartAutoTime() {\\n return startAutoTime_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6794137cd3e57e8a4fd526f266ca8cd8\",\n \"score\": \"0.6697054\",\n \"text\": \"public int getStartAutoTime() {\\n return startAutoTime_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"064aa35e3d8ac671802e6ba930abf8db\",\n \"score\": \"0.6694763\",\n \"text\": \"public long getStartupTime() {\\n return Parameters.startTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e8b0458462e642d5203ea0873ab723a\",\n \"score\": \"0.66585636\",\n \"text\": \"@ApiModelProperty(required = true, value = \\\"The start of the aggregation window for workflow metrics.\\\")\\n public OffsetDateTime getWindowStart() {\\n return windowStart;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d7bae7d0f74294f442de837dae2451bb\",\n \"score\": \"0.6651188\",\n \"text\": \"public long getStarttime() {\\n return starttime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2eb1770af4e4cc79218f039150cbea3b\",\n \"score\": \"0.6649856\",\n \"text\": \"@java.lang.Override\\n public com.google.protobuf.Timestamp getStartedAt() {\\n return startedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startedAt_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"618b9cc71ee4c6181162d3ab067b4285\",\n \"score\": \"0.66196346\",\n \"text\": \"@Override\\n public int getTimeActivityStart() { return TIME_ACTIVITY_START; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab219957237a055845145dce1ad6c25c\",\n \"score\": \"0.6602232\",\n \"text\": \"public Long getStartTimestamp() {\\n return startTimestamp;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a8dd6da4713ed9702f64a592d9971ac1\",\n \"score\": \"0.6600074\",\n \"text\": \"@Override\\n\\tpublic long getStartTime() {\\n\\t\\treturn 0;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e66a852a919d30b7f4602f24ef77a9fb\",\n \"score\": \"0.6573403\",\n \"text\": \"public Long getStartTimestamp() {\\n return startTimestamp;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d32e2fafff5d4cd6ad5eee7d04340d44\",\n \"score\": \"0.65706074\",\n \"text\": \"public int getStart(){return this.startTime;}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc9ec56acc898c2db8d38224d99fb45d\",\n \"score\": \"0.65493286\",\n \"text\": \"com.google.protobuf.TimestampOrBuilder getStartedAtOrBuilder();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c73dcc30d77a51027bebf3a11b7d4221\",\n \"score\": \"0.6528668\",\n \"text\": \"public Date getTimeStart() {\\n return timeStart;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7bc4deaff74fbb236ec29aad3a68adb5\",\n \"score\": \"0.6514224\",\n \"text\": \"public long getStartTime(){\\n\\t\\treturn lStart;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8dbc3a3a4ddb4023bc9a746fc0936e4d\",\n \"score\": \"0.6504698\",\n \"text\": \"public int getStartTime() {\\n return startTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8dbc3a3a4ddb4023bc9a746fc0936e4d\",\n \"score\": \"0.6504698\",\n \"text\": \"public int getStartTime() {\\n return startTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c9a0a165bebf39b815f55b5152a28166\",\n \"score\": \"0.6499209\",\n \"text\": \"public long getStartTime() {\\n return startTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c9a0a165bebf39b815f55b5152a28166\",\n \"score\": \"0.6499209\",\n \"text\": \"public long getStartTime() {\\n return startTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"19c67f7329860fcef0689fae0c4139a8\",\n \"score\": \"0.64839125\",\n \"text\": \"long getTimeStarted();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f69ba3b957ae9c75e42a362d91e3c58f\",\n \"score\": \"0.6483531\",\n \"text\": \"public long getStartTime() {\\n\\t\\treturn startTime;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f69ba3b957ae9c75e42a362d91e3c58f\",\n \"score\": \"0.6483531\",\n \"text\": \"public long getStartTime() {\\n\\t\\treturn startTime;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f69ba3b957ae9c75e42a362d91e3c58f\",\n \"score\": \"0.6483531\",\n \"text\": \"public long getStartTime() {\\n\\t\\treturn startTime;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d78b2deede839812f91e6adace18a984\",\n \"score\": \"0.6479115\",\n \"text\": \"public long getStartTime() {\\r\\n return startTime;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d78b2deede839812f91e6adace18a984\",\n \"score\": \"0.6479115\",\n \"text\": \"public long getStartTime() {\\r\\n return startTime;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3c348b7d70dc3fef0d62043bad4a3f44\",\n \"score\": \"0.6466193\",\n \"text\": \"public int getStartTime() {\\r\\n return this.startTime;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"509bf4dc12bcdfae81ec32a29cb85009\",\n \"score\": \"0.6459675\",\n \"text\": \"java.lang.String getStarttime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7d5afdc57e4b2ce80b9845337b5da738\",\n \"score\": \"0.6459488\",\n \"text\": \"public String getStart_Time() {\\r\\n\\t\\treturn start_Time;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d27623b6e3c7bd34ae27f3d51ad9837e\",\n \"score\": \"0.64296466\",\n \"text\": \"public long getStartTime(){\\n\\t\\treturn startTime;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fb1ab4c82de27c35cda0966d1ac66469\",\n \"score\": \"0.64278996\",\n \"text\": \"public long getStartedTime() {\\n return this.mStarted;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6d6042c99b87eba6eb4578f03c05bbdb\",\n \"score\": \"0.64278835\",\n \"text\": \"public long getStartTime() {\\r\\n\\t\\treturn this.startTime;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b8c936a5a63ff6ea93433e4ba92f924e\",\n \"score\": \"0.6422132\",\n \"text\": \"@java.lang.Override\\n public long getStartTime() {\\n return startTime_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e01d40bfabf7830973fb3ce1659dfb98\",\n \"score\": \"0.6400593\",\n \"text\": \"public synchronized double getStartTime()\\t\\t{ return startTime ; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cdc48eafa938d270a3507b1048060733\",\n \"score\": \"0.6391545\",\n \"text\": \"public long getStartTime() {\\n return startTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"acdc9fc8bd6fb9afa64869633597f3fc\",\n \"score\": \"0.6368176\",\n \"text\": \"@java.lang.Override\\n public long getStartTime() {\\n return startTime_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"16191bc0cc7042e221faf4139b19623a\",\n \"score\": \"0.6360859\",\n \"text\": \"public com.google.protobuf.Timestamp getStartedAt() {\\n if (startedAtBuilder_ == null) {\\n return startedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startedAt_;\\n } else {\\n return startedAtBuilder_.getMessage();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c95d0a261fe3e31fe48e75dd64817f0\",\n \"score\": \"0.63593113\",\n \"text\": \"public Time getAccessWindowStart() {\\n return accessWindowStart;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8b9cf90e7e0dab4604ad526c45803ede\",\n \"score\": \"0.6356113\",\n \"text\": \"public String getDisplayStartTime()\\n\\t\\t{\\n\\t\\t\\treturn this.timeRange.firstTime().toStringLocalTime();\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5506c1de583742be187de173126e2844\",\n \"score\": \"0.635537\",\n \"text\": \"@Override\\n public Date getBeginTime(){\\n return begin;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a3e9f4826526d12436c121d9e8194ab5\",\n \"score\": \"0.63548887\",\n \"text\": \"long getStartTime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a3e9f4826526d12436c121d9e8194ab5\",\n \"score\": \"0.63548887\",\n \"text\": \"long getStartTime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a3e9f4826526d12436c121d9e8194ab5\",\n \"score\": \"0.63548887\",\n \"text\": \"long getStartTime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a40b19f9526276e57a5ca22abb8090a8\",\n \"score\": \"0.6350608\",\n \"text\": \"public Time getStartTime()\\n {\\n return startTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f96cb3bcc8971bd712e144a870c5ef39\",\n \"score\": \"0.6334617\",\n \"text\": \"public Time getStartTime() {\\r\\n return new Time(start);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e9340cb472509e53ec8d1c241d560ecb\",\n \"score\": \"0.63219285\",\n \"text\": \"public Date getStartTime() {\\r\\n\\t\\treturn startTime;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8b73600dfe2c92fc522cd83e656fb96b\",\n \"score\": \"0.6319956\",\n \"text\": \"public long getStartTime() {\\n return mStartTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1d5086bd7695dfe10998c9f9d66084a9\",\n \"score\": \"0.6284705\",\n \"text\": \"public Date getStartTime() {\\n\\t\\treturn startTime;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b24d20c0a55817c0c12c0a8fc65476b5\",\n \"score\": \"0.62794226\",\n \"text\": \"public long getStartSpawningTime() {\\r\\n\\t\\treturn startSpawningTime;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"76750ad4a92b1808efe844f5e725c31a\",\n \"score\": \"0.62719357\",\n \"text\": \"public String getStartTime() {\\r\\n return startTime;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1534fc66ad8e2429075b786f729b7b1\",\n \"score\": \"0.62704617\",\n \"text\": \"public LocalTime getStart() {\\n\\t\\treturn start;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7812c89dd6fa873390c75b71df1b452a\",\n \"score\": \"0.62630427\",\n \"text\": \"public LocalTime getStartTime() { \\n\\t\\treturn startTime;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"508197116eb0ce16d93401dc40699a79\",\n \"score\": \"0.62593985\",\n \"text\": \"public Time getStartTime()\\n {\\n return startTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a7c1484acda58d4bc80935469ea496b\",\n \"score\": \"0.6248496\",\n \"text\": \"public void logStart() {\\n lastStart = System.nanoTime();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f49c9953f446b8d36d7dcbe76675f271\",\n \"score\": \"0.6247743\",\n \"text\": \"public static long startTime() {\\r\\n\\t\\ttime = new Date();\\r\\n\\t\\tif (startTime == 0)\\r\\n\\t\\t\\tstartTime = time.getTime();\\r\\n\\t\\treturn startTime;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"639e4495cd4f6493b275e3a2c883b947\",\n \"score\": \"0.6240745\",\n \"text\": \"public Date getStartTime() {\\n return startTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2200d213f2e01b9e135b55d306d2c806\",\n \"score\": \"0.62339693\",\n \"text\": \"@ApiModelProperty(value = \\\"Timestamp indicating the earliest time to instantiate the NS. Cardinality \\\\\\\"0\\\\\\\" indicates the NS instantiation takes place immediately. \\\")\\n public String getStartTime() {\\n return startTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae9f1cd6402d9cddb22c00e3d6b99588\",\n \"score\": \"0.62315845\",\n \"text\": \"public String getBeginTime(){\\t\\t\\r\\n\\t\\treturn beginTime;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5b8019f72bd6bc5a8063376ba1962710\",\n \"score\": \"0.6231187\",\n \"text\": \"public java.util.Date getStartingTime() {\\n return (java.util.Date) this.getEvent().getStartingTime();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7e39456f08bc3b0df511ddf7134941f8\",\n \"score\": \"0.6228726\",\n \"text\": \"public long getGameStartTime() {\\n\\t\\treturn gameStartTime;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9acebd6193f9bbd4d1d728c98c2ea20d\",\n \"score\": \"0.6224658\",\n \"text\": \"public String getStartTime() {\\n\\t\\treturn startTime;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b20c7471d9d560d98d5b0b4329f5b99b\",\n \"score\": \"0.62238246\",\n \"text\": \"private int getStartBeat() {\\r\\n return this.start.getValue() - 1;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e60eab43176b74033b8fd0ca85a65f3\",\n \"score\": \"0.6221788\",\n \"text\": \"public long getStartMillis() {\\n\\t\\treturn this.startMillis;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"965f29b2f686fc5a608c63bc26029f4e\",\n \"score\": \"0.621965\",\n \"text\": \"@Override\\n public Date getStartTime()\\n {\\n GregorianCalendar vCalendar = new GregorianCalendar();\\n return vCalendar.getTime();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"35dfbdded42727ff4acd5e9a834768e8\",\n \"score\": \"0.6212879\",\n \"text\": \"public Date getStartTime() {\\n\\t return this.startTime;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2a52bef131e9ae4859d4386888bf1658\",\n \"score\": \"0.6212608\",\n \"text\": \"public String getStartTime() {\\n return startTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3c89d73230bd936dcc16ed20302a7060\",\n \"score\": \"0.6204649\",\n \"text\": \"void setStart(int newTime);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7036504ea664f448c9dcadd983e4b91\",\n \"score\": \"0.6203703\",\n \"text\": \"public void setStart() {\\n\\t\\tstartTime = getSystemTime();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fb062078158ca4e2a95f3967f984eaec\",\n \"score\": \"0.6198943\",\n \"text\": \"public DateTimeStamp getTimeOfFirstEvent() {\\n return timeOfFirstEvent != null ? timeOfFirstEvent : new DateTimeStamp(0.0);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"12d508149226cb40669c56bfaece78a3\",\n \"score\": \"0.6197379\",\n \"text\": \"public Date getStartTime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"126fc12701e2456583a7786f79c07d2d\",\n \"score\": \"0.61924607\",\n \"text\": \"public String getStartTime() {\\r\\n\\t\\treturn this.getTime(this.startTime);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4473ef356c9690d5b07d2150ea26c8d8\",\n \"score\": \"0.61891264\",\n \"text\": \"public LocalTime getStartTime() {\\n return startTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4b12ecca32bbd797783d06dbbf51aee9\",\n \"score\": \"0.6188816\",\n \"text\": \"public Date getStarttime() {\\n\\t\\treturn starttime;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d057bf35c130670ba32c0d665870b011\",\n \"score\": \"0.61824787\",\n \"text\": \"public Date getStarttime() {\\r\\n\\t\\treturn this.starttime;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1950d78eb0dd9c3f7681d3fbf50e63b0\",\n \"score\": \"0.6174401\",\n \"text\": \"public DateTime startTime() {\\n return this.startTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d273dd4428d60e1c5abf27a7e396808\",\n \"score\": \"0.61734164\",\n \"text\": \"public long getRealStartTimeMillis() {\\n\\t\\treturn _realStartTime;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5bf0060e934fd031747053125ce4b089\",\n \"score\": \"0.61706394\",\n \"text\": \"@Override\\n public int getRunningTimeTicks()\\n {\\n return 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f64475494561476a045bc6f19bc8969\",\n \"score\": \"0.61690307\",\n \"text\": \"private long startFlag()\\r\\n\\t{\\r\\n\\t\\treturn System.currentTimeMillis();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f5fb00812e9948c1b32fcd37b569043\",\n \"score\": \"0.61600685\",\n \"text\": \"long getStart();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f5fb00812e9948c1b32fcd37b569043\",\n \"score\": \"0.61600685\",\n \"text\": \"long getStart();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f5fb00812e9948c1b32fcd37b569043\",\n \"score\": \"0.61600685\",\n \"text\": \"long getStart();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2486323cdb6db18163ee2eebe4e5a52e\",\n \"score\": \"0.6154281\",\n \"text\": \"public void setBeginTime() {\\n\\t\\tbeginTime = System.currentTimeMillis();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f20542ec650558123a90e28a1f41cc94\",\n \"score\": \"0.61526376\",\n \"text\": \"public abstract long getStartTime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ffef4dcd4f3e2895d07e97e3cec7dc42\",\n \"score\": \"0.6147117\",\n \"text\": \"public long getStart() {\\n return start_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5cae49df61629aaa801d7ab13874c5ce\",\n \"score\": \"0.61459047\",\n \"text\": \"@java.lang.Override\\n public com.google.protobuf.TimestampOrBuilder getStartedAtOrBuilder() {\\n return getStartedAt();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aad94f10b2a835b58937a0222617e4b2\",\n \"score\": \"0.6145123\",\n \"text\": \"public long getStartFixedTime() {\\n return startFixedTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"20dee21c4cc1e4b68e0e9997ddb834c7\",\n \"score\": \"0.6140195\",\n \"text\": \"public Long getShowtimeStart() {\\n\\t\\treturn showtimeStart;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"519f72314a73c181948f7bff7edda35e\",\n \"score\": \"0.6136579\",\n \"text\": \"public String getStartTime() {\\n return this.StartTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"519f72314a73c181948f7bff7edda35e\",\n \"score\": \"0.6136579\",\n \"text\": \"public String getStartTime() {\\n return this.StartTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"519f72314a73c181948f7bff7edda35e\",\n \"score\": \"0.6136579\",\n \"text\": \"public String getStartTime() {\\n return this.StartTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"519f72314a73c181948f7bff7edda35e\",\n \"score\": \"0.6136579\",\n \"text\": \"public String getStartTime() {\\n return this.StartTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"519f72314a73c181948f7bff7edda35e\",\n \"score\": \"0.6136579\",\n \"text\": \"public String getStartTime() {\\n return this.StartTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2366c9adb69daa51642d5b3685fb88ee\",\n \"score\": \"0.613396\",\n \"text\": \"public LocalTime getStartTime() {\\n\\t\\t\\treturn startTimePicker.getTime();\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"df33a001c968c6da5509217f1981c0ea\",\n \"score\": \"0.61319536\",\n \"text\": \"public LocalDateTime getTime()\\n {\\n return start;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e58edb01415572af159de8ea1907ba87\",\n \"score\": \"0.61289054\",\n \"text\": \"public Date getStarttime() {\\n return starttime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fd385646512976dd3368afbd38ab4473\",\n \"score\": \"0.6125876\",\n \"text\": \"public String getStartTime() {\\n return this.startTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fd385646512976dd3368afbd38ab4473\",\n \"score\": \"0.6125876\",\n \"text\": \"public String getStartTime() {\\n return this.startTime;\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":331,"cells":{"query_id":{"kind":"string","value":"3936c29fc8ced0ce714ace18e034dba8"},"query":{"kind":"string","value":"$ANTLR end \"rule__Implementation_type_definition__Group__0__Impl\" $ANTLR start \"rule__Implementation_type_definition__Group__1\" InternalMyDsl.g:29475:1: rule__Implementation_type_definition__Group__1 : rule__Implementation_type_definition__Group__1__Impl rule__Implementation_type_definition__Group__2 ;"},"positive_passages":{"kind":"list like","value":[{"docid":"74c5630637b690b4c77ec145685ae904","score":"0.8310519","text":"public final void rule__Implementation_type_definition__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:29479:1: ( rule__Implementation_type_definition__Group__1__Impl rule__Implementation_type_definition__Group__2 )\n // InternalMyDsl.g:29480:2: rule__Implementation_type_definition__Group__1__Impl rule__Implementation_type_definition__Group__2\n {\n pushFollow(FOLLOW_12);\n rule__Implementation_type_definition__Group__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Implementation_type_definition__Group__2();\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":""}],"string":"[\n {\n \"docid\": \"74c5630637b690b4c77ec145685ae904\",\n \"score\": \"0.8310519\",\n \"text\": \"public final void rule__Implementation_type_definition__Group__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:29479:1: ( rule__Implementation_type_definition__Group__1__Impl rule__Implementation_type_definition__Group__2 )\\n // InternalMyDsl.g:29480:2: rule__Implementation_type_definition__Group__1__Impl rule__Implementation_type_definition__Group__2\\n {\\n pushFollow(FOLLOW_12);\\n rule__Implementation_type_definition__Group__1__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__Implementation_type_definition__Group__2();\\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 }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"c92bddb7e108880982fed50c39691d77","score":"0.8221106","text":"public final void rule__Implementation_type_definition__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:29452:1: ( rule__Implementation_type_definition__Group__0__Impl rule__Implementation_type_definition__Group__1 )\n // InternalMyDsl.g:29453:2: rule__Implementation_type_definition__Group__0__Impl rule__Implementation_type_definition__Group__1\n {\n pushFollow(FOLLOW_26);\n rule__Implementation_type_definition__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Implementation_type_definition__Group__1();\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":"5e79d1c551fe2643cec286f240c503cf","score":"0.80109876","text":"public final void rule__Implementation_type_definition__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:29506:1: ( rule__Implementation_type_definition__Group__2__Impl rule__Implementation_type_definition__Group__3 )\n // InternalMyDsl.g:29507:2: rule__Implementation_type_definition__Group__2__Impl rule__Implementation_type_definition__Group__3\n {\n pushFollow(FOLLOW_11);\n rule__Implementation_type_definition__Group__2__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Implementation_type_definition__Group__3();\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":"64b2a3fbe36e994c2bb2ed2174c68e09","score":"0.79558593","text":"public final void rule__Implementation_definition__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:23268:1: ( rule__Implementation_definition__Group__1__Impl rule__Implementation_definition__Group__2 )\n // InternalMyDsl.g:23269:2: rule__Implementation_definition__Group__1__Impl rule__Implementation_definition__Group__2\n {\n pushFollow(FOLLOW_12);\n rule__Implementation_definition__Group__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Implementation_definition__Group__2();\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":"387212a476fdfe27d02a3f4c5f3a034c","score":"0.7945309","text":"public final void rule__Implementation_type_definition__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:29464:1: ( ( 'implementationtype' ) )\n // InternalMyDsl.g:29465:1: ( 'implementationtype' )\n {\n // InternalMyDsl.g:29465:1: ( 'implementationtype' )\n // InternalMyDsl.g:29466:2: 'implementationtype'\n {\n before(grammarAccess.getImplementation_type_definitionAccess().getImplementationtypeKeyword_0()); \n match(input,216,FOLLOW_2); \n after(grammarAccess.getImplementation_type_definitionAccess().getImplementationtypeKeyword_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":"cddc681ba64696b163d0eccfde7bcdc1","score":"0.7938405","text":"public final void ruleimplementation_type_definition() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:3291:2: ( ( ( rule__Implementation_type_definition__Group__0 ) ) )\n // InternalMyDsl.g:3292:2: ( ( rule__Implementation_type_definition__Group__0 ) )\n {\n // InternalMyDsl.g:3292:2: ( ( rule__Implementation_type_definition__Group__0 ) )\n // InternalMyDsl.g:3293:3: ( rule__Implementation_type_definition__Group__0 )\n {\n before(grammarAccess.getImplementation_type_definitionAccess().getGroup()); \n // InternalMyDsl.g:3294:3: ( rule__Implementation_type_definition__Group__0 )\n // InternalMyDsl.g:3294:4: rule__Implementation_type_definition__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__Implementation_type_definition__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getImplementation_type_definitionAccess().getGroup()); \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":"a9c518fb1027cfb4e5d84f082495eab2","score":"0.7778347","text":"public final void rule__Implementation_definition__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:23241:1: ( rule__Implementation_definition__Group__0__Impl rule__Implementation_definition__Group__1 )\n // InternalMyDsl.g:23242:2: rule__Implementation_definition__Group__0__Impl rule__Implementation_definition__Group__1\n {\n pushFollow(FOLLOW_26);\n rule__Implementation_definition__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Implementation_definition__Group__1();\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":"8645e58904778575e147902521d3176e","score":"0.77542573","text":"public final void rule__Implementation_type_definition__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:29533:1: ( rule__Implementation_type_definition__Group__3__Impl )\n // InternalMyDsl.g:29534:2: rule__Implementation_type_definition__Group__3__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Implementation_type_definition__Group__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":"331eb6830424717633027dd7efd33036","score":"0.77051353","text":"public final void rule__Implementation_definition__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:23253:1: ( ( 'implementation' ) )\n // InternalMyDsl.g:23254:1: ( 'implementation' )\n {\n // InternalMyDsl.g:23254:1: ( 'implementation' )\n // InternalMyDsl.g:23255:2: 'implementation'\n {\n before(grammarAccess.getImplementation_definitionAccess().getImplementationKeyword_0()); \n match(input,185,FOLLOW_2); \n after(grammarAccess.getImplementation_definitionAccess().getImplementationKeyword_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":"d318b5adcbf36479fdf53e8d4f7ad6ed","score":"0.7679572","text":"public final void rule__Type_definition__Group_17_2_12_3__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:23106:1: ( rule__Type_definition__Group_17_2_12_3__1__Impl )\n // InternalMyDsl.g:23107:2: rule__Type_definition__Group_17_2_12_3__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_12_3__1__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":"37ea4706c4c693b85b218909aec10cb1","score":"0.7666984","text":"public final void rule__Type_definition__Group_6_1_2__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21405:1: ( rule__Type_definition__Group_6_1_2__1__Impl )\n // InternalMyDsl.g:21406:2: rule__Type_definition__Group_6_1_2__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_6_1_2__1__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":"5df23d4f68ce0805b17d4dcedfba0d4b","score":"0.7648597","text":"public final void rule__Type_definition__Group_6__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21243:1: ( rule__Type_definition__Group_6__1__Impl )\n // InternalMyDsl.g:21244:2: rule__Type_definition__Group_6__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_6__1__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":"8b14f9cdbbe4a6198aa3ade329590a93","score":"0.7625966","text":"public final void rule__Implementation_definition__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:23295:1: ( rule__Implementation_definition__Group__2__Impl rule__Implementation_definition__Group__3 )\n // InternalMyDsl.g:23296:2: rule__Implementation_definition__Group__2__Impl rule__Implementation_definition__Group__3\n {\n pushFollow(FOLLOW_11);\n rule__Implementation_definition__Group__2__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Implementation_definition__Group__3();\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":"21011f9d04ace503a62c32a44c148ade","score":"0.76216066","text":"public final void rule__Type_definition__Group_6_1__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21351:1: ( rule__Type_definition__Group_6_1__3__Impl )\n // InternalMyDsl.g:21352:2: rule__Type_definition__Group_6_1__3__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_6_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":"3040b2cb69d4bf569376e5fcf3fe7465","score":"0.75712013","text":"public final void rule__Type_definition__Group_11__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21594:1: ( rule__Type_definition__Group_11__1__Impl )\n // InternalMyDsl.g:21595:2: rule__Type_definition__Group_11__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_11__1__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":"18ad7db7abfda770ece8b838403feaed","score":"0.75676876","text":"public final void rule__Type_definition__Group_17_2_3__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22350:1: ( rule__Type_definition__Group_17_2_3__1__Impl )\n // InternalMyDsl.g:22351:2: rule__Type_definition__Group_17_2_3__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_3__1__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":"45e6a302da07255d7b045dbc661de82d","score":"0.7555916","text":"public final void rule__Type_definition__Group_17_2_3_1__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22485:1: ( rule__Type_definition__Group_17_2_3_1__4__Impl )\n // InternalMyDsl.g:22486:2: rule__Type_definition__Group_17_2_3_1__4__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_3_1__4__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":"3bcfd820a090b3ca4089f6cec9a6db42","score":"0.75193757","text":"public final void rule__Type_definition__Group_4__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21108:1: ( rule__Type_definition__Group_4__1__Impl )\n // InternalMyDsl.g:21109:2: rule__Type_definition__Group_4__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_4__1__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":"913d3eaae2a93016cd305afa25778d20","score":"0.7480873","text":"public final void rule__Type_definition__Group_11_1__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21675:1: ( rule__Type_definition__Group_11_1__2__Impl )\n // InternalMyDsl.g:21676:2: rule__Type_definition__Group_11_1__2__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_11_1__2__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":"d1d42faf27456bfbcb4bd39a7a99f6d9","score":"0.7467746","text":"public final void rule__Type_definition__Group_4_1__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21189:1: ( rule__Type_definition__Group_4_1__2__Impl )\n // InternalMyDsl.g:21190:2: rule__Type_definition__Group_4_1__2__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_4_1__2__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":"edf1395a55ea29e5b9ee8e2f60408652","score":"0.74574864","text":"public final void ruleimplementation_definition() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:2366:2: ( ( ( rule__Implementation_definition__Group__0 ) ) )\n // InternalMyDsl.g:2367:2: ( ( rule__Implementation_definition__Group__0 ) )\n {\n // InternalMyDsl.g:2367:2: ( ( rule__Implementation_definition__Group__0 ) )\n // InternalMyDsl.g:2368:3: ( rule__Implementation_definition__Group__0 )\n {\n before(grammarAccess.getImplementation_definitionAccess().getGroup()); \n // InternalMyDsl.g:2369:3: ( rule__Implementation_definition__Group__0 )\n // InternalMyDsl.g:2369:4: rule__Implementation_definition__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__Implementation_definition__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getImplementation_definitionAccess().getGroup()); \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":"84e0ae035f8a1a29f00567c55c919aba","score":"0.74551976","text":"public final void rule__Type_definition__Group_17_2_12__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:23052:1: ( rule__Type_definition__Group_17_2_12__4__Impl )\n // InternalMyDsl.g:23053:2: rule__Type_definition__Group_17_2_12__4__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_12__4__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":"e80ca74d86eafaac3a788604b872fbad","score":"0.7454416","text":"public final void rule__Type_definition__Group_6_1__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21336:1: ( ( ( rule__Type_definition__Group_6_1_2__0 )? ) )\n // InternalMyDsl.g:21337:1: ( ( rule__Type_definition__Group_6_1_2__0 )? )\n {\n // InternalMyDsl.g:21337:1: ( ( rule__Type_definition__Group_6_1_2__0 )? )\n // InternalMyDsl.g:21338:2: ( rule__Type_definition__Group_6_1_2__0 )?\n {\n before(grammarAccess.getType_definitionAccess().getGroup_6_1_2()); \n // InternalMyDsl.g:21339:2: ( rule__Type_definition__Group_6_1_2__0 )?\n int alt149=2;\n int LA149_0 = input.LA(1);\n\n if ( (LA149_0==115) ) {\n alt149=1;\n }\n switch (alt149) {\n case 1 :\n // InternalMyDsl.g:21339:3: rule__Type_definition__Group_6_1_2__0\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_6_1_2__0();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n\n after(grammarAccess.getType_definitionAccess().getGroup_6_1_2()); \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":"b0adce852440bab9e8161ddb60dbf16f","score":"0.7452321","text":"public final void rule__Type_definition__Group_17_2_11__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22917:1: ( rule__Type_definition__Group_17_2_11__3__Impl )\n // InternalMyDsl.g:22918:2: rule__Type_definition__Group_17_2_11__3__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_11__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":"c1e379bf76eedb213863a803d5908803","score":"0.74456215","text":"public final void rule__Type_definition__Group_3_1__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21054:1: ( rule__Type_definition__Group_3_1__4__Impl )\n // InternalMyDsl.g:21055:2: rule__Type_definition__Group_3_1__4__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_3_1__4__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":"e856d169bae14b4143592d642f0b029e","score":"0.7408626","text":"public final void rule__Type_definition__Group_15_3__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22080:1: ( rule__Type_definition__Group_15_3__1__Impl )\n // InternalMyDsl.g:22081:2: rule__Type_definition__Group_15_3__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_15_3__1__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":"5efd874de406131df799cf954df6a51c","score":"0.7392882","text":"public final void rule__Type_definition__Group_17_2_3__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22361:1: ( ( ( rule__Type_definition__Group_17_2_3_1__0 )? ) )\n // InternalMyDsl.g:22362:1: ( ( rule__Type_definition__Group_17_2_3_1__0 )? )\n {\n // InternalMyDsl.g:22362:1: ( ( rule__Type_definition__Group_17_2_3_1__0 )? )\n // InternalMyDsl.g:22363:2: ( rule__Type_definition__Group_17_2_3_1__0 )?\n {\n before(grammarAccess.getType_definitionAccess().getGroup_17_2_3_1()); \n // InternalMyDsl.g:22364:2: ( rule__Type_definition__Group_17_2_3_1__0 )?\n int alt153=2;\n int LA153_0 = input.LA(1);\n\n if ( (LA153_0==113) ) {\n alt153=1;\n }\n switch (alt153) {\n case 1 :\n // InternalMyDsl.g:22364:3: rule__Type_definition__Group_17_2_3_1__0\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_3_1__0();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n\n after(grammarAccess.getType_definitionAccess().getGroup_17_2_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":"0ecf1893840983ba6f80ffc13affe3a3","score":"0.73884004","text":"public final void rule__Type_definition__Group_10__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21459:1: ( rule__Type_definition__Group_10__1__Impl )\n // InternalMyDsl.g:21460:2: rule__Type_definition__Group_10__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_10__1__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":"3ec2528453038d2033050a9766bf95ef","score":"0.738385","text":"public final void rule__Type_definition__Group_11__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21605:1: ( ( ( rule__Type_definition__Group_11_1__0 )? ) )\n // InternalMyDsl.g:21606:1: ( ( rule__Type_definition__Group_11_1__0 )? )\n {\n // InternalMyDsl.g:21606:1: ( ( rule__Type_definition__Group_11_1__0 )? )\n // InternalMyDsl.g:21607:2: ( rule__Type_definition__Group_11_1__0 )?\n {\n before(grammarAccess.getType_definitionAccess().getGroup_11_1()); \n // InternalMyDsl.g:21608:2: ( rule__Type_definition__Group_11_1__0 )?\n int alt151=2;\n int LA151_0 = input.LA(1);\n\n if ( (LA151_0==113) ) {\n alt151=1;\n }\n switch (alt151) {\n case 1 :\n // InternalMyDsl.g:21608:3: rule__Type_definition__Group_11_1__0\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_11_1__0();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n\n after(grammarAccess.getType_definitionAccess().getGroup_11_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":"13047fd3c6ba09701e4adbb8ee3c5963","score":"0.7374498","text":"public final void rule__Type_definition__Group_6__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21254:1: ( ( ( rule__Type_definition__Group_6_1__0 )? ) )\n // InternalMyDsl.g:21255:1: ( ( rule__Type_definition__Group_6_1__0 )? )\n {\n // InternalMyDsl.g:21255:1: ( ( rule__Type_definition__Group_6_1__0 )? )\n // InternalMyDsl.g:21256:2: ( rule__Type_definition__Group_6_1__0 )?\n {\n before(grammarAccess.getType_definitionAccess().getGroup_6_1()); \n // InternalMyDsl.g:21257:2: ( rule__Type_definition__Group_6_1__0 )?\n int alt148=2;\n int LA148_0 = input.LA(1);\n\n if ( (LA148_0==113) ) {\n alt148=1;\n }\n switch (alt148) {\n case 1 :\n // InternalMyDsl.g:21257:3: rule__Type_definition__Group_6_1__0\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_6_1__0();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n\n after(grammarAccess.getType_definitionAccess().getGroup_6_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":"97a2e9a9cc9173a4db7089ab47396c1a","score":"0.7364473","text":"public final void rule__Type_definition__Group_10_1__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21540:1: ( rule__Type_definition__Group_10_1__2__Impl )\n // InternalMyDsl.g:21541:2: rule__Type_definition__Group_10_1__2__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_10_1__2__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":"4095379e9b35e1ca8aa63b7b1f3bfe03","score":"0.7355431","text":"public final void rule__Type_definition__Group_3__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:20919:1: ( rule__Type_definition__Group_3__1__Impl )\n // InternalMyDsl.g:20920:2: rule__Type_definition__Group_3__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_3__1__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":"6003b1f254935d0eb720c14fa52023b7","score":"0.73535204","text":"public final void rule__Implementation_definition__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:23322:1: ( rule__Implementation_definition__Group__3__Impl )\n // InternalMyDsl.g:23323:2: rule__Implementation_definition__Group__3__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Implementation_definition__Group__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":"d1c7b11406b41210756022075903c3d2","score":"0.7347999","text":"public final void rule__Type_definition__Group_17_2_10__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22809:1: ( rule__Type_definition__Group_17_2_10__3__Impl )\n // InternalMyDsl.g:22810:2: rule__Type_definition__Group_17_2_10__3__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_10__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":"3b8a9a51b54346c1701ca28d07797bee","score":"0.73305076","text":"public final void rule__Type_definition__Group_14__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21891:1: ( rule__Type_definition__Group_14__3__Impl )\n // InternalMyDsl.g:21892:2: rule__Type_definition__Group_14__3__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_14__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":"b56e4fca94a3fcafb172b7b4604d6901","score":"0.7319029","text":"public final void rule__Type_definition__Group_6_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21297:1: ( rule__Type_definition__Group_6_1__1__Impl rule__Type_definition__Group_6_1__2 )\n // InternalMyDsl.g:21298:2: rule__Type_definition__Group_6_1__1__Impl rule__Type_definition__Group_6_1__2\n {\n pushFollow(FOLLOW_47);\n rule__Type_definition__Group_6_1__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_6_1__2();\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":"4078a29a7326dca3e35d3d4df9492efd","score":"0.73172736","text":"public final void rule__Type_definition__Group_15__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22026:1: ( rule__Type_definition__Group_15__4__Impl )\n // InternalMyDsl.g:22027:2: rule__Type_definition__Group_15__4__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_15__4__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":"4baa84fd35eecb59fb9ede7c80bccd7a","score":"0.7282944","text":"public final void rule__Type_definition__Group_17_2_5__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22539:1: ( rule__Type_definition__Group_17_2_5__1__Impl )\n // InternalMyDsl.g:22540:2: rule__Type_definition__Group_17_2_5__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_5__1__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":"9cd638f55990c0eb8a3ae382e73efb06","score":"0.72785425","text":"public final void rule__Type_definition__Group_6_1__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21324:1: ( rule__Type_definition__Group_6_1__2__Impl rule__Type_definition__Group_6_1__3 )\n // InternalMyDsl.g:21325:2: rule__Type_definition__Group_6_1__2__Impl rule__Type_definition__Group_6_1__3\n {\n pushFollow(FOLLOW_47);\n rule__Type_definition__Group_6_1__2__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_6_1__3();\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":"9699785586aa7c0e3879eadafca19ce1","score":"0.72702056","text":"public final void rule__Type_definition__Group_6_1_2__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21378:1: ( rule__Type_definition__Group_6_1_2__0__Impl rule__Type_definition__Group_6_1_2__1 )\n // InternalMyDsl.g:21379:2: rule__Type_definition__Group_6_1_2__0__Impl rule__Type_definition__Group_6_1_2__1\n {\n pushFollow(FOLLOW_74);\n rule__Type_definition__Group_6_1_2__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_6_1_2__1();\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":"91f4dc9330b75dc512c2a32f0b57def8","score":"0.72688425","text":"public final void rule__Type_definition_part__Group_1__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalPascal.g:3595:1: ( rule__Type_definition_part__Group_1__1__Impl )\r\n // InternalPascal.g:3596:2: rule__Type_definition_part__Group_1__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__Type_definition_part__Group_1__1__Impl();\r\n\r\n state._fsp--;\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":"6798efc4dc22e029ae91995950168bc3","score":"0.726634","text":"public final void rule__Type_definition__Group_6_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21270:1: ( rule__Type_definition__Group_6_1__0__Impl rule__Type_definition__Group_6_1__1 )\n // InternalMyDsl.g:21271:2: rule__Type_definition__Group_6_1__0__Impl rule__Type_definition__Group_6_1__1\n {\n pushFollow(FOLLOW_74);\n rule__Type_definition__Group_6_1__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_6_1__1();\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":"33f3c27a68d7dbcbbcaa09db8cfdbd30","score":"0.72552156","text":"public final void rule__Type_definition__Group__2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalPascal.g:3676:1: ( rule__Type_definition__Group__2__Impl )\r\n // InternalPascal.g:3677:2: rule__Type_definition__Group__2__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__Type_definition__Group__2__Impl();\r\n\r\n state._fsp--;\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":"0bed3ab886e4cd198f2f1b9d4bef25eb","score":"0.7252911","text":"public final void rule__Type_definition__Group_17_2_5_1_2__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22701:1: ( rule__Type_definition__Group_17_2_5_1_2__1__Impl )\n // InternalMyDsl.g:22702:2: rule__Type_definition__Group_17_2_5_1_2__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_5_1_2__1__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":"63cbfda42f1003cbce83ad57a9f091bf","score":"0.7250994","text":"public final void rule__Type_definition_part__Group__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalPascal.g:3534:1: ( rule__Type_definition_part__Group__1__Impl )\r\n // InternalPascal.g:3535:2: rule__Type_definition_part__Group__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__Type_definition_part__Group__1__Impl();\r\n\r\n state._fsp--;\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":"4c85e39e4aae6c544dc4eae713fe3ab3","score":"0.72400045","text":"public final void rule__Type_definition__Group_17_2_13__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:23214:1: ( rule__Type_definition__Group_17_2_13__3__Impl )\n // InternalMyDsl.g:23215:2: rule__Type_definition__Group_17_2_13__3__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_13__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":"8b799e2e71ca6bf97fec8eb0bac70382","score":"0.723518","text":"public final void rule__Type_definition__Group_4__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21119:1: ( ( ( rule__Type_definition__Group_4_1__0 )? ) )\n // InternalMyDsl.g:21120:1: ( ( rule__Type_definition__Group_4_1__0 )? )\n {\n // InternalMyDsl.g:21120:1: ( ( rule__Type_definition__Group_4_1__0 )? )\n // InternalMyDsl.g:21121:2: ( rule__Type_definition__Group_4_1__0 )?\n {\n before(grammarAccess.getType_definitionAccess().getGroup_4_1()); \n // InternalMyDsl.g:21122:2: ( rule__Type_definition__Group_4_1__0 )?\n int alt147=2;\n int LA147_0 = input.LA(1);\n\n if ( (LA147_0==113) ) {\n alt147=1;\n }\n switch (alt147) {\n case 1 :\n // InternalMyDsl.g:21122:3: rule__Type_definition__Group_4_1__0\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_4_1__0();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n\n after(grammarAccess.getType_definitionAccess().getGroup_4_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":"acbd7193d89dbb5241c1279d8089a81f","score":"0.7224558","text":"public final void rule__Type_definition__Group_6__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21216:1: ( rule__Type_definition__Group_6__0__Impl rule__Type_definition__Group_6__1 )\n // InternalMyDsl.g:21217:2: rule__Type_definition__Group_6__0__Impl rule__Type_definition__Group_6__1\n {\n pushFollow(FOLLOW_27);\n rule__Type_definition__Group_6__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_6__1();\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":"2c769f18e648cea985e37ba1b9d1ebf2","score":"0.7217333","text":"public final void rule__ImplementationBody__Group__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalAadlV3.g:7240:1: ( rule__ImplementationBody__Group__1__Impl rule__ImplementationBody__Group__2 )\r\n // InternalAadlV3.g:7241:2: rule__ImplementationBody__Group__1__Impl rule__ImplementationBody__Group__2\r\n {\r\n pushFollow(FOLLOW_37);\r\n rule__ImplementationBody__Group__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_2);\r\n rule__ImplementationBody__Group__2();\r\n\r\n state._fsp--;\r\n 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 \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }","title":""},{"docid":"695220f034200d0bc2e9b3ed8d79b762","score":"0.7200886","text":"public final void rule__Type_definition__Group_17_2_5_1__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22647:1: ( rule__Type_definition__Group_17_2_5_1__3__Impl )\n // InternalMyDsl.g:22648:2: rule__Type_definition__Group_17_2_5_1__3__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_5_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":"0e43d1d9bbaf5dbd92f2bfc38b8ef5ff","score":"0.72006994","text":"public final void rule__Type_definition__Group_4_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21162:1: ( rule__Type_definition__Group_4_1__1__Impl rule__Type_definition__Group_4_1__2 )\n // InternalMyDsl.g:21163:2: rule__Type_definition__Group_4_1__1__Impl rule__Type_definition__Group_4_1__2\n {\n pushFollow(FOLLOW_28);\n rule__Type_definition__Group_4_1__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_4_1__2();\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":"b0a2d4772d279e50fc69dd0ad96a760e","score":"0.7198649","text":"public final void rule__Type_definition__Group_11_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21621:1: ( rule__Type_definition__Group_11_1__0__Impl rule__Type_definition__Group_11_1__1 )\n // InternalMyDsl.g:21622:2: rule__Type_definition__Group_11_1__0__Impl rule__Type_definition__Group_11_1__1\n {\n pushFollow(FOLLOW_12);\n rule__Type_definition__Group_11_1__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_11_1__1();\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":"324ef4955da719a981ee3145d5e7f837","score":"0.7180607","text":"public final void rule__Type_definition__Group_4_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21135:1: ( rule__Type_definition__Group_4_1__0__Impl rule__Type_definition__Group_4_1__1 )\n // InternalMyDsl.g:21136:2: rule__Type_definition__Group_4_1__0__Impl rule__Type_definition__Group_4_1__1\n {\n pushFollow(FOLLOW_12);\n rule__Type_definition__Group_4_1__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_4_1__1();\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":"e0f685ce4fd8c0d66ad3ae6ffc7a1aaa","score":"0.71732223","text":"public final void rule__Type_definition__Group_11_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21648:1: ( rule__Type_definition__Group_11_1__1__Impl rule__Type_definition__Group_11_1__2 )\n // InternalMyDsl.g:21649:2: rule__Type_definition__Group_11_1__1__Impl rule__Type_definition__Group_11_1__2\n {\n pushFollow(FOLLOW_28);\n rule__Type_definition__Group_11_1__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_11_1__2();\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":"bb79511530ca9fdfab4be3c333bff65b","score":"0.7124697","text":"public final void rule__Type_definition__Group_17__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22296:1: ( rule__Type_definition__Group_17__3__Impl )\n // InternalMyDsl.g:22297:2: rule__Type_definition__Group_17__3__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17__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":"ed8e5a244411977b03e09b9c745219ff","score":"0.71232426","text":"public final void rule__Term__Group_1_0_0__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:3105:1: ( rule__Term__Group_1_0_0__1__Impl )\r\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:3106:2: rule__Term__Group_1_0_0__1__Impl\r\n {\r\n pushFollow(FOLLOW_rule__Term__Group_1_0_0__1__Impl_in_rule__Term__Group_1_0_0__16339);\r\n rule__Term__Group_1_0_0__1__Impl();\r\n\r\n state._fsp--;\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":"0d03a978a4984cfb9c5f02405b79f796","score":"0.7114866","text":"public final void rule__ImplementationBody__Group__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalAadlV3.g:7213:1: ( rule__ImplementationBody__Group__0__Impl rule__ImplementationBody__Group__1 )\r\n // InternalAadlV3.g:7214:2: rule__ImplementationBody__Group__0__Impl rule__ImplementationBody__Group__1\r\n {\r\n pushFollow(FOLLOW_37);\r\n rule__ImplementationBody__Group__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_2);\r\n rule__ImplementationBody__Group__1();\r\n\r\n state._fsp--;\r\n 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 \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }","title":""},{"docid":"298ec98da1786e75a23ce3fa325ff5a5","score":"0.70880795","text":"public final void rule__ImplementationBody__Group__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalAadlV3.g:7252:1: ( ( ( ruleImplementationElement )* ) )\r\n // InternalAadlV3.g:7253:1: ( ( ruleImplementationElement )* )\r\n {\r\n // InternalAadlV3.g:7253:1: ( ( ruleImplementationElement )* )\r\n // InternalAadlV3.g:7254:2: ( ruleImplementationElement )*\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getImplementationBodyAccess().getImplementationElementParserRuleCall_1()); \r\n }\r\n // InternalAadlV3.g:7255:2: ( ruleImplementationElement )*\r\n loop69:\r\n do {\r\n int alt69=2;\r\n int LA69_0 = input.LA(1);\r\n\r\n if ( (LA69_0==RULE_ID||LA69_0==50||LA69_0==59||LA69_0==71) ) {\r\n alt69=1;\r\n }\r\n\r\n\r\n switch (alt69) {\r\n \tcase 1 :\r\n \t // InternalAadlV3.g:7255:3: ruleImplementationElement\r\n \t {\r\n \t pushFollow(FOLLOW_38);\r\n \t ruleImplementationElement();\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 loop69;\r\n }\r\n } while (true);\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getImplementationBodyAccess().getImplementationElementParserRuleCall_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":"1804907edd92434fa9745e9860e7720e","score":"0.70798117","text":"public final void rule__Term__Group_1_0_1__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:3170:1: ( rule__Term__Group_1_0_1__1__Impl )\r\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:3171:2: rule__Term__Group_1_0_1__1__Impl\r\n {\r\n pushFollow(FOLLOW_rule__Term__Group_1_0_1__1__Impl_in_rule__Term__Group_1_0_1__16463);\r\n rule__Term__Group_1_0_1__1__Impl();\r\n\r\n state._fsp--;\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":"c7f3ca2dfd7fa9f6237de70ef5730591","score":"0.7076708","text":"public final void rule__Type_definition__Group_3__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:20930:1: ( ( ( rule__Type_definition__Group_3_1__0 )? ) )\n // InternalMyDsl.g:20931:1: ( ( rule__Type_definition__Group_3_1__0 )? )\n {\n // InternalMyDsl.g:20931:1: ( ( rule__Type_definition__Group_3_1__0 )? )\n // InternalMyDsl.g:20932:2: ( rule__Type_definition__Group_3_1__0 )?\n {\n before(grammarAccess.getType_definitionAccess().getGroup_3_1()); \n // InternalMyDsl.g:20933:2: ( rule__Type_definition__Group_3_1__0 )?\n int alt146=2;\n int LA146_0 = input.LA(1);\n\n if ( (LA146_0==113) ) {\n alt146=1;\n }\n switch (alt146) {\n case 1 :\n // InternalMyDsl.g:20933:3: rule__Type_definition__Group_3_1__0\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_3_1__0();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n\n after(grammarAccess.getType_definitionAccess().getGroup_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":"56caedac09d60fd9424964fa3274063b","score":"0.70632493","text":"public final void rule__Type_definition__Group_17_2_11__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22863:1: ( rule__Type_definition__Group_17_2_11__1__Impl rule__Type_definition__Group_17_2_11__2 )\n // InternalMyDsl.g:22864:2: rule__Type_definition__Group_17_2_11__1__Impl rule__Type_definition__Group_17_2_11__2\n {\n pushFollow(FOLLOW_10);\n rule__Type_definition__Group_17_2_11__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_11__2();\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":"1ed8a9a3f2b81bfb34b630450716e177","score":"0.7061942","text":"public final void rule__Type_definition__Group_16__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22188:1: ( rule__Type_definition__Group_16__3__Impl )\n // InternalMyDsl.g:22189:2: rule__Type_definition__Group_16__3__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_16__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":"8d9a9d432e6660857792e55207e419ce","score":"0.70563954","text":"public final void rule__Type_definition__Group_3_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:20973:1: ( rule__Type_definition__Group_3_1__1__Impl rule__Type_definition__Group_3_1__2 )\n // InternalMyDsl.g:20974:2: rule__Type_definition__Group_3_1__1__Impl rule__Type_definition__Group_3_1__2\n {\n pushFollow(FOLLOW_45);\n rule__Type_definition__Group_3_1__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_3_1__2();\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":"de215e44c823efa5477a4c4437d1888c","score":"0.7034417","text":"public final void rule__Type_definition__Group_4__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21081:1: ( rule__Type_definition__Group_4__0__Impl rule__Type_definition__Group_4__1 )\n // InternalMyDsl.g:21082:2: rule__Type_definition__Group_4__0__Impl rule__Type_definition__Group_4__1\n {\n pushFollow(FOLLOW_27);\n rule__Type_definition__Group_4__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_4__1();\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":"a775ce08d442ae5359387f7a157388aa","score":"0.7034247","text":"public final void rule__Type_definition__Group_17_2_11__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22836:1: ( rule__Type_definition__Group_17_2_11__0__Impl rule__Type_definition__Group_17_2_11__1 )\n // InternalMyDsl.g:22837:2: rule__Type_definition__Group_17_2_11__0__Impl rule__Type_definition__Group_17_2_11__1\n {\n pushFollow(FOLLOW_27);\n rule__Type_definition__Group_17_2_11__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_11__1();\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":"0a6e62ecd419683c28e12fecb38231cd","score":"0.70280963","text":"public final void rule__Type_definition__Group_10__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21470:1: ( ( ( rule__Type_definition__Group_10_1__0 )? ) )\n // InternalMyDsl.g:21471:1: ( ( rule__Type_definition__Group_10_1__0 )? )\n {\n // InternalMyDsl.g:21471:1: ( ( rule__Type_definition__Group_10_1__0 )? )\n // InternalMyDsl.g:21472:2: ( rule__Type_definition__Group_10_1__0 )?\n {\n before(grammarAccess.getType_definitionAccess().getGroup_10_1()); \n // InternalMyDsl.g:21473:2: ( rule__Type_definition__Group_10_1__0 )?\n int alt150=2;\n int LA150_0 = input.LA(1);\n\n if ( (LA150_0==113) ) {\n alt150=1;\n }\n switch (alt150) {\n case 1 :\n // InternalMyDsl.g:21473:3: rule__Type_definition__Group_10_1__0\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_10_1__0();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n\n after(grammarAccess.getType_definitionAccess().getGroup_10_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":"2b26aca8ff1a311d556dcdaa84e94528","score":"0.7027795","text":"public final void rule__Type_definition__Group_3_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:20946:1: ( rule__Type_definition__Group_3_1__0__Impl rule__Type_definition__Group_3_1__1 )\n // InternalMyDsl.g:20947:2: rule__Type_definition__Group_3_1__0__Impl rule__Type_definition__Group_3_1__1\n {\n pushFollow(FOLLOW_12);\n rule__Type_definition__Group_3_1__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_3_1__1();\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":"e770d66c3618d007a8e2270d9c1081ac","score":"0.70246166","text":"public final void rule__Type_definition__Group_14__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21837:1: ( rule__Type_definition__Group_14__1__Impl rule__Type_definition__Group_14__2 )\n // InternalMyDsl.g:21838:2: rule__Type_definition__Group_14__1__Impl rule__Type_definition__Group_14__2\n {\n pushFollow(FOLLOW_10);\n rule__Type_definition__Group_14__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_14__2();\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":"c291a5d87b753ddd630e20382a1043c9","score":"0.702067","text":"public final void rule__Type_definition__Group_17_2_3_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22377:1: ( rule__Type_definition__Group_17_2_3_1__0__Impl rule__Type_definition__Group_17_2_3_1__1 )\n // InternalMyDsl.g:22378:2: rule__Type_definition__Group_17_2_3_1__0__Impl rule__Type_definition__Group_17_2_3_1__1\n {\n pushFollow(FOLLOW_12);\n rule__Type_definition__Group_17_2_3_1__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_3_1__1();\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":"4607b33da68614633f45ef03b251abf9","score":"0.7020339","text":"public final void rule__Type_definition__Group_10_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21486:1: ( rule__Type_definition__Group_10_1__0__Impl rule__Type_definition__Group_10_1__1 )\n // InternalMyDsl.g:21487:2: rule__Type_definition__Group_10_1__0__Impl rule__Type_definition__Group_10_1__1\n {\n pushFollow(FOLLOW_12);\n rule__Type_definition__Group_10_1__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_10_1__1();\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":"d96deec8291c3d844d12af1b221ed105","score":"0.70195276","text":"public final void rule__Type_definition__Group_17_2_12__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:23037:1: ( ( ( rule__Type_definition__Group_17_2_12_3__0 )? ) )\n // InternalMyDsl.g:23038:1: ( ( rule__Type_definition__Group_17_2_12_3__0 )? )\n {\n // InternalMyDsl.g:23038:1: ( ( rule__Type_definition__Group_17_2_12_3__0 )? )\n // InternalMyDsl.g:23039:2: ( rule__Type_definition__Group_17_2_12_3__0 )?\n {\n before(grammarAccess.getType_definitionAccess().getGroup_17_2_12_3()); \n // InternalMyDsl.g:23040:2: ( rule__Type_definition__Group_17_2_12_3__0 )?\n int alt156=2;\n int LA156_0 = input.LA(1);\n\n if ( (LA156_0==123) ) {\n alt156=1;\n }\n switch (alt156) {\n case 1 :\n // InternalMyDsl.g:23040:3: rule__Type_definition__Group_17_2_12_3__0\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_12_3__0();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n\n after(grammarAccess.getType_definitionAccess().getGroup_17_2_12_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":"445fe75fbe2b344e6d9faf53202b72e0","score":"0.70173514","text":"public final void rule__Type_definition__Group_11__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21567:1: ( rule__Type_definition__Group_11__0__Impl rule__Type_definition__Group_11__1 )\n // InternalMyDsl.g:21568:2: rule__Type_definition__Group_11__0__Impl rule__Type_definition__Group_11__1\n {\n pushFollow(FOLLOW_27);\n rule__Type_definition__Group_11__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_11__1();\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":"e0cc7c500f5670046dc78a408ceb8d47","score":"0.70158225","text":"public final void rule__Validation_definition__Group__6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:29425:1: ( rule__Validation_definition__Group__6__Impl )\n // InternalMyDsl.g:29426:2: rule__Validation_definition__Group__6__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Validation_definition__Group__6__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":"667a58f88401425054551bc4d856f8d2","score":"0.70022345","text":"public final void rule__Type_definition__Group_14__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21810:1: ( rule__Type_definition__Group_14__0__Impl rule__Type_definition__Group_14__1 )\n // InternalMyDsl.g:21811:2: rule__Type_definition__Group_14__0__Impl rule__Type_definition__Group_14__1\n {\n pushFollow(FOLLOW_27);\n rule__Type_definition__Group_14__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_14__1();\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":"bbfeffffd9d655fd343931b15a3e3e95","score":"0.69990987","text":"public final void rule__Type_definition__Group__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalPascal.g:3622:1: ( rule__Type_definition__Group__0__Impl rule__Type_definition__Group__1 )\r\n // InternalPascal.g:3623:2: rule__Type_definition__Group__0__Impl rule__Type_definition__Group__1\r\n {\r\n pushFollow(FOLLOW_15);\r\n rule__Type_definition__Group__0__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FOLLOW_2);\r\n rule__Type_definition__Group__1();\r\n\r\n state._fsp--;\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":"2f6ad74ad2de924839a28da80326f7db","score":"0.69981253","text":"public final void rule__Type_definition__Group_17_2_5_1__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22632:1: ( ( ( rule__Type_definition__Group_17_2_5_1_2__0 )? ) )\n // InternalMyDsl.g:22633:1: ( ( rule__Type_definition__Group_17_2_5_1_2__0 )? )\n {\n // InternalMyDsl.g:22633:1: ( ( rule__Type_definition__Group_17_2_5_1_2__0 )? )\n // InternalMyDsl.g:22634:2: ( rule__Type_definition__Group_17_2_5_1_2__0 )?\n {\n before(grammarAccess.getType_definitionAccess().getGroup_17_2_5_1_2()); \n // InternalMyDsl.g:22635:2: ( rule__Type_definition__Group_17_2_5_1_2__0 )?\n int alt155=2;\n int LA155_0 = input.LA(1);\n\n if ( (LA155_0==115) ) {\n alt155=1;\n }\n switch (alt155) {\n case 1 :\n // InternalMyDsl.g:22635:3: rule__Type_definition__Group_17_2_5_1_2__0\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_5_1_2__0();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n\n after(grammarAccess.getType_definitionAccess().getGroup_17_2_5_1_2()); \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":"c9bdabeff9edb90be6ecf93f6bc6aaa8","score":"0.69970596","text":"public final void rule__XRelationalExpression__Group_1_0_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalSequence.g:4684:1: ( rule__XRelationalExpression__Group_1_0_0_0__1__Impl )\n // InternalSequence.g:4685:2: rule__XRelationalExpression__Group_1_0_0_0__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__XRelationalExpression__Group_1_0_0_0__1__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":"8f9017514c68677d29a1c4924ba86b73","score":"0.6991253","text":"public final void rule__Exec_definition__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:19332:1: ( rule__Exec_definition__Group__1__Impl rule__Exec_definition__Group__2 )\n // InternalMyDsl.g:19333:2: rule__Exec_definition__Group__1__Impl rule__Exec_definition__Group__2\n {\n pushFollow(FOLLOW_12);\n rule__Exec_definition__Group__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Exec_definition__Group__2();\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":"76e586db3ade24b84fc19876f1786669","score":"0.6971607","text":"public final void rule__ImplementationBody__Group__2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalAadlV3.g:7267:1: ( rule__ImplementationBody__Group__2__Impl )\r\n // InternalAadlV3.g:7268:2: rule__ImplementationBody__Group__2__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__ImplementationBody__Group__2__Impl();\r\n\r\n state._fsp--;\r\n 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 \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }","title":""},{"docid":"72420978c938cbf27b59787731608e0b","score":"0.6967742","text":"public final void rule__Term__Group_1__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:3042:1: ( rule__Term__Group_1__1__Impl )\r\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:3043:2: rule__Term__Group_1__1__Impl\r\n {\r\n pushFollow(FOLLOW_rule__Term__Group_1__1__Impl_in_rule__Term__Group_1__16217);\r\n rule__Term__Group_1__1__Impl();\r\n\r\n state._fsp--;\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":"394732b7bfdf85788731ccdf488379c3","score":"0.6965112","text":"public final void rule__Implementation_type_definition__Group__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:29518:1: ( ( ( rule__Implementation_type_definition__StringAssignment_2 ) ) )\n // InternalMyDsl.g:29519:1: ( ( rule__Implementation_type_definition__StringAssignment_2 ) )\n {\n // InternalMyDsl.g:29519:1: ( ( rule__Implementation_type_definition__StringAssignment_2 ) )\n // InternalMyDsl.g:29520:2: ( rule__Implementation_type_definition__StringAssignment_2 )\n {\n before(grammarAccess.getImplementation_type_definitionAccess().getStringAssignment_2()); \n // InternalMyDsl.g:29521:2: ( rule__Implementation_type_definition__StringAssignment_2 )\n // InternalMyDsl.g:29521:3: rule__Implementation_type_definition__StringAssignment_2\n {\n pushFollow(FOLLOW_2);\n rule__Implementation_type_definition__StringAssignment_2();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getImplementation_type_definitionAccess().getStringAssignment_2()); \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":"8414fc90bdd04a1dec3de94cc6318afb","score":"0.69600105","text":"public final void rule__Type_definition__Group_10_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21513:1: ( rule__Type_definition__Group_10_1__1__Impl rule__Type_definition__Group_10_1__2 )\n // InternalMyDsl.g:21514:2: rule__Type_definition__Group_10_1__1__Impl rule__Type_definition__Group_10_1__2\n {\n pushFollow(FOLLOW_28);\n rule__Type_definition__Group_10_1__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_10_1__2();\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":"403f9ad911fd7c28ebd2e42f81177dd1","score":"0.69575864","text":"public final void rule__XRelationalExpression__Group_1_1_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalSequence.g:4819:1: ( rule__XRelationalExpression__Group_1_1_0_0__1__Impl )\n // InternalSequence.g:4820:2: rule__XRelationalExpression__Group_1_1_0_0__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__XRelationalExpression__Group_1_1_0_0__1__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":"cbd5e4427d535ecb91191a2f8e9520cb","score":"0.6954363","text":"public final void rule__ImplementationBody__Group__2__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalAadlV3.g:7278:1: ( ( 'end' ) )\r\n // InternalAadlV3.g:7279:1: ( 'end' )\r\n {\r\n // InternalAadlV3.g:7279:1: ( 'end' )\r\n // InternalAadlV3.g:7280:2: 'end'\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getImplementationBodyAccess().getEndKeyword_2()); \r\n }\r\n match(input,57,FOLLOW_2); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getImplementationBodyAccess().getEndKeyword_2()); \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":"3f335ec691a43c4f8808c0a963f30bf5","score":"0.6952594","text":"public final void rule__Implementation_type_definition__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:29544:1: ( ( ';' ) )\n // InternalMyDsl.g:29545:1: ( ';' )\n {\n // InternalMyDsl.g:29545:1: ( ';' )\n // InternalMyDsl.g:29546:2: ';'\n {\n before(grammarAccess.getImplementation_type_definitionAccess().getSemicolonKeyword_3()); \n match(input,20,FOLLOW_2); \n after(grammarAccess.getImplementation_type_definitionAccess().getSemicolonKeyword_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":"c4f478927faef04e931403204e0c3c81","score":"0.6951117","text":"public final void rule__Type_definition__Group_17_2_3_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22404:1: ( rule__Type_definition__Group_17_2_3_1__1__Impl rule__Type_definition__Group_17_2_3_1__2 )\n // InternalMyDsl.g:22405:2: rule__Type_definition__Group_17_2_3_1__1__Impl rule__Type_definition__Group_17_2_3_1__2\n {\n pushFollow(FOLLOW_45);\n rule__Type_definition__Group_17_2_3_1__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_3_1__2();\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":"ed7b7cd155d758cd6fd7b4fa8837c80f","score":"0.6947543","text":"public final void rule__Type_definition__Group_13__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21783:1: ( rule__Type_definition__Group_13__3__Impl )\n // InternalMyDsl.g:21784:2: rule__Type_definition__Group_13__3__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_13__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":"055eb57bad66b1664b8d8428c47fce4a","score":"0.6937274","text":"public final void rule__Aggregate_definition__Group_6_1_2_0_1_3__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:31025:1: ( rule__Aggregate_definition__Group_6_1_2_0_1_3__1__Impl )\n // InternalMyDsl.g:31026:2: rule__Aggregate_definition__Group_6_1_2_0_1_3__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Aggregate_definition__Group_6_1_2_0_1_3__1__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":"2bb1ce1234183a6592a3f8c8587e46ec","score":"0.6930533","text":"public final void rule__Type_definition__Group_17_2_5__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22550:1: ( ( ( rule__Type_definition__Group_17_2_5_1__0 )? ) )\n // InternalMyDsl.g:22551:1: ( ( rule__Type_definition__Group_17_2_5_1__0 )? )\n {\n // InternalMyDsl.g:22551:1: ( ( rule__Type_definition__Group_17_2_5_1__0 )? )\n // InternalMyDsl.g:22552:2: ( rule__Type_definition__Group_17_2_5_1__0 )?\n {\n before(grammarAccess.getType_definitionAccess().getGroup_17_2_5_1()); \n // InternalMyDsl.g:22553:2: ( rule__Type_definition__Group_17_2_5_1__0 )?\n int alt154=2;\n int LA154_0 = input.LA(1);\n\n if ( (LA154_0==113) ) {\n alt154=1;\n }\n switch (alt154) {\n case 1 :\n // InternalMyDsl.g:22553:3: rule__Type_definition__Group_17_2_5_1__0\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_5_1__0();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n\n after(grammarAccess.getType_definitionAccess().getGroup_17_2_5_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":"f40b4bf2df2952081525ad41776f3bc3","score":"0.69229174","text":"public final void rule__Expression__Group_1_0_0__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:2853:1: ( rule__Expression__Group_1_0_0__1__Impl )\r\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:2854:2: rule__Expression__Group_1_0_0__1__Impl\r\n {\r\n pushFollow(FOLLOW_rule__Expression__Group_1_0_0__1__Impl_in_rule__Expression__Group_1_0_0__15849);\r\n rule__Expression__Group_1_0_0__1__Impl();\r\n\r\n state._fsp--;\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":"3cdd7e82492ea3a8b74b09ee19e31513","score":"0.69102377","text":"public final void rule__Type_definition__Group_3_1__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21000:1: ( rule__Type_definition__Group_3_1__2__Impl rule__Type_definition__Group_3_1__3 )\n // InternalMyDsl.g:21001:2: rule__Type_definition__Group_3_1__2__Impl rule__Type_definition__Group_3_1__3\n {\n pushFollow(FOLLOW_12);\n rule__Type_definition__Group_3_1__2__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_3_1__3();\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":"16bc0783f287d83187dc7e2281538170","score":"0.6896395","text":"public final void rule__XRelationalExpression__Group_1_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalSequence.g:4603:1: ( rule__XRelationalExpression__Group_1_0__1__Impl )\n // InternalSequence.g:4604:2: rule__XRelationalExpression__Group_1_0__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__XRelationalExpression__Group_1_0__1__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":"73a40fe07f482ab4c7d7b34843c5b7cf","score":"0.6892073","text":"public final void rule__Term__Group__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:2981:1: ( rule__Term__Group__1__Impl )\r\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:2982:2: rule__Term__Group__1__Impl\r\n {\r\n pushFollow(FOLLOW_rule__Term__Group__1__Impl_in_rule__Term__Group__16095);\r\n rule__Term__Group__1__Impl();\r\n\r\n state._fsp--;\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":"d7b82eec4bee8a88e940d67fa45e5378","score":"0.6886802","text":"public final void rule__XRelationalExpression__Group_1_1_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalSequence.g:4765:1: ( rule__XRelationalExpression__Group_1_1_0__0__Impl )\n // InternalSequence.g:4766:2: rule__XRelationalExpression__Group_1_1_0__0__Impl\n {\n pushFollow(FOLLOW_2);\n rule__XRelationalExpression__Group_1_1_0__0__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":"d2343986a4324c60008d648db26f764e","score":"0.6886253","text":"public final void rule__Aggregate_definition__Group_6_1_2_0__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:30971:1: ( rule__Aggregate_definition__Group_6_1_2_0__2__Impl )\n // InternalMyDsl.g:30972:2: rule__Aggregate_definition__Group_6_1_2_0__2__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Aggregate_definition__Group_6_1_2_0__2__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":"3698f1a9d7d89f0c663a34fed6fbb80d","score":"0.6879921","text":"public final void rule__Decl__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMGPL.g:1372:1: ( rule__Decl__Group__1__Impl )\n // InternalMGPL.g:1373:2: rule__Decl__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Decl__Group__1__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":"09e15b2a27e95c22097de1bc7c3b38bf","score":"0.68757606","text":"public final void rule__Expression__Group_1_0_1__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:2918:1: ( rule__Expression__Group_1_0_1__1__Impl )\r\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:2919:2: rule__Expression__Group_1_0_1__1__Impl\r\n {\r\n pushFollow(FOLLOW_rule__Expression__Group_1_0_1__1__Impl_in_rule__Expression__Group_1_0_1__15973);\r\n rule__Expression__Group_1_0_1__1__Impl();\r\n\r\n state._fsp--;\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":"e37484d92b6e9abadd1c80ed521a156b","score":"0.6874414","text":"public final void rule__Aggregate_definition__Group_6_1_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:30883:1: ( rule__Aggregate_definition__Group_6_1_1__1__Impl )\n // InternalMyDsl.g:30884:2: rule__Aggregate_definition__Group_6_1_1__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Aggregate_definition__Group_6_1_1__1__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":"c34d39227f994e3c4793c307d1765e68","score":"0.6871992","text":"public final void rule__Type_definition__Group__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalPascal.g:3649:1: ( rule__Type_definition__Group__1__Impl rule__Type_definition__Group__2 )\r\n // InternalPascal.g:3650:2: rule__Type_definition__Group__1__Impl rule__Type_definition__Group__2\r\n {\r\n pushFollow(FOLLOW_17);\r\n rule__Type_definition__Group__1__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FOLLOW_2);\r\n rule__Type_definition__Group__2();\r\n\r\n state._fsp--;\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":"2e516786b1f155cce69e185b864163ca","score":"0.6869694","text":"public final void rule__Type_definition__Group_17_2_10__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22755:1: ( rule__Type_definition__Group_17_2_10__1__Impl rule__Type_definition__Group_17_2_10__2 )\n // InternalMyDsl.g:22756:2: rule__Type_definition__Group_17_2_10__1__Impl rule__Type_definition__Group_17_2_10__2\n {\n pushFollow(FOLLOW_10);\n rule__Type_definition__Group_17_2_10__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_10__2();\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":"f1f4c980e11c096b19d8fe5a827ec473","score":"0.68682414","text":"public final void rule__To_function_definition__Group_2_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:31484:1: ( rule__To_function_definition__Group_2_1__1__Impl )\n // InternalMyDsl.g:31485:2: rule__To_function_definition__Group_2_1__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__To_function_definition__Group_2_1__1__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":""}],"string":"[\n {\n \"docid\": \"c92bddb7e108880982fed50c39691d77\",\n \"score\": \"0.8221106\",\n \"text\": \"public final void rule__Implementation_type_definition__Group__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:29452:1: ( rule__Implementation_type_definition__Group__0__Impl rule__Implementation_type_definition__Group__1 )\\n // InternalMyDsl.g:29453:2: rule__Implementation_type_definition__Group__0__Impl rule__Implementation_type_definition__Group__1\\n {\\n pushFollow(FOLLOW_26);\\n rule__Implementation_type_definition__Group__0__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__Implementation_type_definition__Group__1();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e79d1c551fe2643cec286f240c503cf\",\n \"score\": \"0.80109876\",\n \"text\": \"public final void rule__Implementation_type_definition__Group__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:29506:1: ( rule__Implementation_type_definition__Group__2__Impl rule__Implementation_type_definition__Group__3 )\\n // InternalMyDsl.g:29507:2: rule__Implementation_type_definition__Group__2__Impl rule__Implementation_type_definition__Group__3\\n {\\n pushFollow(FOLLOW_11);\\n rule__Implementation_type_definition__Group__2__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__Implementation_type_definition__Group__3();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"64b2a3fbe36e994c2bb2ed2174c68e09\",\n \"score\": \"0.79558593\",\n \"text\": \"public final void rule__Implementation_definition__Group__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:23268:1: ( rule__Implementation_definition__Group__1__Impl rule__Implementation_definition__Group__2 )\\n // InternalMyDsl.g:23269:2: rule__Implementation_definition__Group__1__Impl rule__Implementation_definition__Group__2\\n {\\n pushFollow(FOLLOW_12);\\n rule__Implementation_definition__Group__1__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__Implementation_definition__Group__2();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"387212a476fdfe27d02a3f4c5f3a034c\",\n \"score\": \"0.7945309\",\n \"text\": \"public final void rule__Implementation_type_definition__Group__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:29464:1: ( ( 'implementationtype' ) )\\n // InternalMyDsl.g:29465:1: ( 'implementationtype' )\\n {\\n // InternalMyDsl.g:29465:1: ( 'implementationtype' )\\n // InternalMyDsl.g:29466:2: 'implementationtype'\\n {\\n before(grammarAccess.getImplementation_type_definitionAccess().getImplementationtypeKeyword_0()); \\n match(input,216,FOLLOW_2); \\n after(grammarAccess.getImplementation_type_definitionAccess().getImplementationtypeKeyword_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\": \"cddc681ba64696b163d0eccfde7bcdc1\",\n \"score\": \"0.7938405\",\n \"text\": \"public final void ruleimplementation_type_definition() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:3291:2: ( ( ( rule__Implementation_type_definition__Group__0 ) ) )\\n // InternalMyDsl.g:3292:2: ( ( rule__Implementation_type_definition__Group__0 ) )\\n {\\n // InternalMyDsl.g:3292:2: ( ( rule__Implementation_type_definition__Group__0 ) )\\n // InternalMyDsl.g:3293:3: ( rule__Implementation_type_definition__Group__0 )\\n {\\n before(grammarAccess.getImplementation_type_definitionAccess().getGroup()); \\n // InternalMyDsl.g:3294:3: ( rule__Implementation_type_definition__Group__0 )\\n // InternalMyDsl.g:3294:4: rule__Implementation_type_definition__Group__0\\n {\\n pushFollow(FOLLOW_2);\\n rule__Implementation_type_definition__Group__0();\\n\\n state._fsp--;\\n\\n\\n }\\n\\n after(grammarAccess.getImplementation_type_definitionAccess().getGroup()); \\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\": \"a9c518fb1027cfb4e5d84f082495eab2\",\n \"score\": \"0.7778347\",\n \"text\": \"public final void rule__Implementation_definition__Group__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:23241:1: ( rule__Implementation_definition__Group__0__Impl rule__Implementation_definition__Group__1 )\\n // InternalMyDsl.g:23242:2: rule__Implementation_definition__Group__0__Impl rule__Implementation_definition__Group__1\\n {\\n pushFollow(FOLLOW_26);\\n rule__Implementation_definition__Group__0__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__Implementation_definition__Group__1();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8645e58904778575e147902521d3176e\",\n \"score\": \"0.77542573\",\n \"text\": \"public final void rule__Implementation_type_definition__Group__3() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:29533:1: ( rule__Implementation_type_definition__Group__3__Impl )\\n // InternalMyDsl.g:29534:2: rule__Implementation_type_definition__Group__3__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Implementation_type_definition__Group__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"331eb6830424717633027dd7efd33036\",\n \"score\": \"0.77051353\",\n \"text\": \"public final void rule__Implementation_definition__Group__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:23253:1: ( ( 'implementation' ) )\\n // InternalMyDsl.g:23254:1: ( 'implementation' )\\n {\\n // InternalMyDsl.g:23254:1: ( 'implementation' )\\n // InternalMyDsl.g:23255:2: 'implementation'\\n {\\n before(grammarAccess.getImplementation_definitionAccess().getImplementationKeyword_0()); \\n match(input,185,FOLLOW_2); \\n after(grammarAccess.getImplementation_definitionAccess().getImplementationKeyword_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\": \"d318b5adcbf36479fdf53e8d4f7ad6ed\",\n \"score\": \"0.7679572\",\n \"text\": \"public final void rule__Type_definition__Group_17_2_12_3__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:23106:1: ( rule__Type_definition__Group_17_2_12_3__1__Impl )\\n // InternalMyDsl.g:23107:2: rule__Type_definition__Group_17_2_12_3__1__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_17_2_12_3__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"37ea4706c4c693b85b218909aec10cb1\",\n \"score\": \"0.7666984\",\n \"text\": \"public final void rule__Type_definition__Group_6_1_2__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:21405:1: ( rule__Type_definition__Group_6_1_2__1__Impl )\\n // InternalMyDsl.g:21406:2: rule__Type_definition__Group_6_1_2__1__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_6_1_2__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5df23d4f68ce0805b17d4dcedfba0d4b\",\n \"score\": \"0.7648597\",\n \"text\": \"public final void rule__Type_definition__Group_6__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:21243:1: ( rule__Type_definition__Group_6__1__Impl )\\n // InternalMyDsl.g:21244:2: rule__Type_definition__Group_6__1__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_6__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8b14f9cdbbe4a6198aa3ade329590a93\",\n \"score\": \"0.7625966\",\n \"text\": \"public final void rule__Implementation_definition__Group__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:23295:1: ( rule__Implementation_definition__Group__2__Impl rule__Implementation_definition__Group__3 )\\n // InternalMyDsl.g:23296:2: rule__Implementation_definition__Group__2__Impl rule__Implementation_definition__Group__3\\n {\\n pushFollow(FOLLOW_11);\\n rule__Implementation_definition__Group__2__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__Implementation_definition__Group__3();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"21011f9d04ace503a62c32a44c148ade\",\n \"score\": \"0.76216066\",\n \"text\": \"public final void rule__Type_definition__Group_6_1__3() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:21351:1: ( rule__Type_definition__Group_6_1__3__Impl )\\n // InternalMyDsl.g:21352:2: rule__Type_definition__Group_6_1__3__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_6_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3040b2cb69d4bf569376e5fcf3fe7465\",\n \"score\": \"0.75712013\",\n \"text\": \"public final void rule__Type_definition__Group_11__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:21594:1: ( rule__Type_definition__Group_11__1__Impl )\\n // InternalMyDsl.g:21595:2: rule__Type_definition__Group_11__1__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_11__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"18ad7db7abfda770ece8b838403feaed\",\n \"score\": \"0.75676876\",\n \"text\": \"public final void rule__Type_definition__Group_17_2_3__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:22350:1: ( rule__Type_definition__Group_17_2_3__1__Impl )\\n // InternalMyDsl.g:22351:2: rule__Type_definition__Group_17_2_3__1__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_17_2_3__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45e6a302da07255d7b045dbc661de82d\",\n \"score\": \"0.7555916\",\n \"text\": \"public final void rule__Type_definition__Group_17_2_3_1__4() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:22485:1: ( rule__Type_definition__Group_17_2_3_1__4__Impl )\\n // InternalMyDsl.g:22486:2: rule__Type_definition__Group_17_2_3_1__4__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_17_2_3_1__4__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3bcfd820a090b3ca4089f6cec9a6db42\",\n \"score\": \"0.75193757\",\n \"text\": \"public final void rule__Type_definition__Group_4__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:21108:1: ( rule__Type_definition__Group_4__1__Impl )\\n // InternalMyDsl.g:21109:2: rule__Type_definition__Group_4__1__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_4__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"913d3eaae2a93016cd305afa25778d20\",\n \"score\": \"0.7480873\",\n \"text\": \"public final void rule__Type_definition__Group_11_1__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:21675:1: ( rule__Type_definition__Group_11_1__2__Impl )\\n // InternalMyDsl.g:21676:2: rule__Type_definition__Group_11_1__2__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_11_1__2__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1d42faf27456bfbcb4bd39a7a99f6d9\",\n \"score\": \"0.7467746\",\n \"text\": \"public final void rule__Type_definition__Group_4_1__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:21189:1: ( rule__Type_definition__Group_4_1__2__Impl )\\n // InternalMyDsl.g:21190:2: rule__Type_definition__Group_4_1__2__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_4_1__2__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"edf1395a55ea29e5b9ee8e2f60408652\",\n \"score\": \"0.74574864\",\n \"text\": \"public final void ruleimplementation_definition() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:2366:2: ( ( ( rule__Implementation_definition__Group__0 ) ) )\\n // InternalMyDsl.g:2367:2: ( ( rule__Implementation_definition__Group__0 ) )\\n {\\n // InternalMyDsl.g:2367:2: ( ( rule__Implementation_definition__Group__0 ) )\\n // InternalMyDsl.g:2368:3: ( rule__Implementation_definition__Group__0 )\\n {\\n before(grammarAccess.getImplementation_definitionAccess().getGroup()); \\n // InternalMyDsl.g:2369:3: ( rule__Implementation_definition__Group__0 )\\n // InternalMyDsl.g:2369:4: rule__Implementation_definition__Group__0\\n {\\n pushFollow(FOLLOW_2);\\n rule__Implementation_definition__Group__0();\\n\\n state._fsp--;\\n\\n\\n }\\n\\n after(grammarAccess.getImplementation_definitionAccess().getGroup()); \\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\": \"84e0ae035f8a1a29f00567c55c919aba\",\n \"score\": \"0.74551976\",\n \"text\": \"public final void rule__Type_definition__Group_17_2_12__4() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:23052:1: ( rule__Type_definition__Group_17_2_12__4__Impl )\\n // InternalMyDsl.g:23053:2: rule__Type_definition__Group_17_2_12__4__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_17_2_12__4__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e80ca74d86eafaac3a788604b872fbad\",\n \"score\": \"0.7454416\",\n \"text\": \"public final void rule__Type_definition__Group_6_1__2__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:21336:1: ( ( ( rule__Type_definition__Group_6_1_2__0 )? ) )\\n // InternalMyDsl.g:21337:1: ( ( rule__Type_definition__Group_6_1_2__0 )? )\\n {\\n // InternalMyDsl.g:21337:1: ( ( rule__Type_definition__Group_6_1_2__0 )? )\\n // InternalMyDsl.g:21338:2: ( rule__Type_definition__Group_6_1_2__0 )?\\n {\\n before(grammarAccess.getType_definitionAccess().getGroup_6_1_2()); \\n // InternalMyDsl.g:21339:2: ( rule__Type_definition__Group_6_1_2__0 )?\\n int alt149=2;\\n int LA149_0 = input.LA(1);\\n\\n if ( (LA149_0==115) ) {\\n alt149=1;\\n }\\n switch (alt149) {\\n case 1 :\\n // InternalMyDsl.g:21339:3: rule__Type_definition__Group_6_1_2__0\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_6_1_2__0();\\n\\n state._fsp--;\\n\\n\\n }\\n break;\\n\\n }\\n\\n after(grammarAccess.getType_definitionAccess().getGroup_6_1_2()); \\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\": \"b0adce852440bab9e8161ddb60dbf16f\",\n \"score\": \"0.7452321\",\n \"text\": \"public final void rule__Type_definition__Group_17_2_11__3() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:22917:1: ( rule__Type_definition__Group_17_2_11__3__Impl )\\n // InternalMyDsl.g:22918:2: rule__Type_definition__Group_17_2_11__3__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_17_2_11__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c1e379bf76eedb213863a803d5908803\",\n \"score\": \"0.74456215\",\n \"text\": \"public final void rule__Type_definition__Group_3_1__4() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:21054:1: ( rule__Type_definition__Group_3_1__4__Impl )\\n // InternalMyDsl.g:21055:2: rule__Type_definition__Group_3_1__4__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_3_1__4__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e856d169bae14b4143592d642f0b029e\",\n \"score\": \"0.7408626\",\n \"text\": \"public final void rule__Type_definition__Group_15_3__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:22080:1: ( rule__Type_definition__Group_15_3__1__Impl )\\n // InternalMyDsl.g:22081:2: rule__Type_definition__Group_15_3__1__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_15_3__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5efd874de406131df799cf954df6a51c\",\n \"score\": \"0.7392882\",\n \"text\": \"public final void rule__Type_definition__Group_17_2_3__1__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:22361:1: ( ( ( rule__Type_definition__Group_17_2_3_1__0 )? ) )\\n // InternalMyDsl.g:22362:1: ( ( rule__Type_definition__Group_17_2_3_1__0 )? )\\n {\\n // InternalMyDsl.g:22362:1: ( ( rule__Type_definition__Group_17_2_3_1__0 )? )\\n // InternalMyDsl.g:22363:2: ( rule__Type_definition__Group_17_2_3_1__0 )?\\n {\\n before(grammarAccess.getType_definitionAccess().getGroup_17_2_3_1()); \\n // InternalMyDsl.g:22364:2: ( rule__Type_definition__Group_17_2_3_1__0 )?\\n int alt153=2;\\n int LA153_0 = input.LA(1);\\n\\n if ( (LA153_0==113) ) {\\n alt153=1;\\n }\\n switch (alt153) {\\n case 1 :\\n // InternalMyDsl.g:22364:3: rule__Type_definition__Group_17_2_3_1__0\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_17_2_3_1__0();\\n\\n state._fsp--;\\n\\n\\n }\\n break;\\n\\n }\\n\\n after(grammarAccess.getType_definitionAccess().getGroup_17_2_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0ecf1893840983ba6f80ffc13affe3a3\",\n \"score\": \"0.73884004\",\n \"text\": \"public final void rule__Type_definition__Group_10__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:21459:1: ( rule__Type_definition__Group_10__1__Impl )\\n // InternalMyDsl.g:21460:2: rule__Type_definition__Group_10__1__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_10__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3ec2528453038d2033050a9766bf95ef\",\n \"score\": \"0.738385\",\n \"text\": \"public final void rule__Type_definition__Group_11__1__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:21605:1: ( ( ( rule__Type_definition__Group_11_1__0 )? ) )\\n // InternalMyDsl.g:21606:1: ( ( rule__Type_definition__Group_11_1__0 )? )\\n {\\n // InternalMyDsl.g:21606:1: ( ( rule__Type_definition__Group_11_1__0 )? )\\n // InternalMyDsl.g:21607:2: ( rule__Type_definition__Group_11_1__0 )?\\n {\\n before(grammarAccess.getType_definitionAccess().getGroup_11_1()); \\n // InternalMyDsl.g:21608:2: ( rule__Type_definition__Group_11_1__0 )?\\n int alt151=2;\\n int LA151_0 = input.LA(1);\\n\\n if ( (LA151_0==113) ) {\\n alt151=1;\\n }\\n switch (alt151) {\\n case 1 :\\n // InternalMyDsl.g:21608:3: rule__Type_definition__Group_11_1__0\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_11_1__0();\\n\\n state._fsp--;\\n\\n\\n }\\n break;\\n\\n }\\n\\n after(grammarAccess.getType_definitionAccess().getGroup_11_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13047fd3c6ba09701e4adbb8ee3c5963\",\n \"score\": \"0.7374498\",\n \"text\": \"public final void rule__Type_definition__Group_6__1__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:21254:1: ( ( ( rule__Type_definition__Group_6_1__0 )? ) )\\n // InternalMyDsl.g:21255:1: ( ( rule__Type_definition__Group_6_1__0 )? )\\n {\\n // InternalMyDsl.g:21255:1: ( ( rule__Type_definition__Group_6_1__0 )? )\\n // InternalMyDsl.g:21256:2: ( rule__Type_definition__Group_6_1__0 )?\\n {\\n before(grammarAccess.getType_definitionAccess().getGroup_6_1()); \\n // InternalMyDsl.g:21257:2: ( rule__Type_definition__Group_6_1__0 )?\\n int alt148=2;\\n int LA148_0 = input.LA(1);\\n\\n if ( (LA148_0==113) ) {\\n alt148=1;\\n }\\n switch (alt148) {\\n case 1 :\\n // InternalMyDsl.g:21257:3: rule__Type_definition__Group_6_1__0\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_6_1__0();\\n\\n state._fsp--;\\n\\n\\n }\\n break;\\n\\n }\\n\\n after(grammarAccess.getType_definitionAccess().getGroup_6_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"97a2e9a9cc9173a4db7089ab47396c1a\",\n \"score\": \"0.7364473\",\n \"text\": \"public final void rule__Type_definition__Group_10_1__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:21540:1: ( rule__Type_definition__Group_10_1__2__Impl )\\n // InternalMyDsl.g:21541:2: rule__Type_definition__Group_10_1__2__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_10_1__2__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4095379e9b35e1ca8aa63b7b1f3bfe03\",\n \"score\": \"0.7355431\",\n \"text\": \"public final void rule__Type_definition__Group_3__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:20919:1: ( rule__Type_definition__Group_3__1__Impl )\\n // InternalMyDsl.g:20920:2: rule__Type_definition__Group_3__1__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_3__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6003b1f254935d0eb720c14fa52023b7\",\n \"score\": \"0.73535204\",\n \"text\": \"public final void rule__Implementation_definition__Group__3() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:23322:1: ( rule__Implementation_definition__Group__3__Impl )\\n // InternalMyDsl.g:23323:2: rule__Implementation_definition__Group__3__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Implementation_definition__Group__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1c7b11406b41210756022075903c3d2\",\n \"score\": \"0.7347999\",\n \"text\": \"public final void rule__Type_definition__Group_17_2_10__3() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:22809:1: ( rule__Type_definition__Group_17_2_10__3__Impl )\\n // InternalMyDsl.g:22810:2: rule__Type_definition__Group_17_2_10__3__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_17_2_10__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3b8a9a51b54346c1701ca28d07797bee\",\n \"score\": \"0.73305076\",\n \"text\": \"public final void rule__Type_definition__Group_14__3() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:21891:1: ( rule__Type_definition__Group_14__3__Impl )\\n // InternalMyDsl.g:21892:2: rule__Type_definition__Group_14__3__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_14__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b56e4fca94a3fcafb172b7b4604d6901\",\n \"score\": \"0.7319029\",\n \"text\": \"public final void rule__Type_definition__Group_6_1__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:21297:1: ( rule__Type_definition__Group_6_1__1__Impl rule__Type_definition__Group_6_1__2 )\\n // InternalMyDsl.g:21298:2: rule__Type_definition__Group_6_1__1__Impl rule__Type_definition__Group_6_1__2\\n {\\n pushFollow(FOLLOW_47);\\n rule__Type_definition__Group_6_1__1__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_6_1__2();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4078a29a7326dca3e35d3d4df9492efd\",\n \"score\": \"0.73172736\",\n \"text\": \"public final void rule__Type_definition__Group_15__4() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:22026:1: ( rule__Type_definition__Group_15__4__Impl )\\n // InternalMyDsl.g:22027:2: rule__Type_definition__Group_15__4__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_15__4__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4baa84fd35eecb59fb9ede7c80bccd7a\",\n \"score\": \"0.7282944\",\n \"text\": \"public final void rule__Type_definition__Group_17_2_5__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:22539:1: ( rule__Type_definition__Group_17_2_5__1__Impl )\\n // InternalMyDsl.g:22540:2: rule__Type_definition__Group_17_2_5__1__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_17_2_5__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9cd638f55990c0eb8a3ae382e73efb06\",\n \"score\": \"0.72785425\",\n \"text\": \"public final void rule__Type_definition__Group_6_1__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:21324:1: ( rule__Type_definition__Group_6_1__2__Impl rule__Type_definition__Group_6_1__3 )\\n // InternalMyDsl.g:21325:2: rule__Type_definition__Group_6_1__2__Impl rule__Type_definition__Group_6_1__3\\n {\\n pushFollow(FOLLOW_47);\\n rule__Type_definition__Group_6_1__2__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_6_1__3();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9699785586aa7c0e3879eadafca19ce1\",\n \"score\": \"0.72702056\",\n \"text\": \"public final void rule__Type_definition__Group_6_1_2__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:21378:1: ( rule__Type_definition__Group_6_1_2__0__Impl rule__Type_definition__Group_6_1_2__1 )\\n // InternalMyDsl.g:21379:2: rule__Type_definition__Group_6_1_2__0__Impl rule__Type_definition__Group_6_1_2__1\\n {\\n pushFollow(FOLLOW_74);\\n rule__Type_definition__Group_6_1_2__0__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_6_1_2__1();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"91f4dc9330b75dc512c2a32f0b57def8\",\n \"score\": \"0.72688425\",\n \"text\": \"public final void rule__Type_definition_part__Group_1__1() throws RecognitionException {\\r\\n\\r\\n \\t\\tint stackSize = keepStackSize();\\r\\n \\t\\r\\n try {\\r\\n // InternalPascal.g:3595:1: ( rule__Type_definition_part__Group_1__1__Impl )\\r\\n // InternalPascal.g:3596:2: rule__Type_definition_part__Group_1__1__Impl\\r\\n {\\r\\n pushFollow(FOLLOW_2);\\r\\n rule__Type_definition_part__Group_1__1__Impl();\\r\\n\\r\\n state._fsp--;\\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\": \"6798efc4dc22e029ae91995950168bc3\",\n \"score\": \"0.726634\",\n \"text\": \"public final void rule__Type_definition__Group_6_1__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:21270:1: ( rule__Type_definition__Group_6_1__0__Impl rule__Type_definition__Group_6_1__1 )\\n // InternalMyDsl.g:21271:2: rule__Type_definition__Group_6_1__0__Impl rule__Type_definition__Group_6_1__1\\n {\\n pushFollow(FOLLOW_74);\\n rule__Type_definition__Group_6_1__0__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_6_1__1();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"33f3c27a68d7dbcbbcaa09db8cfdbd30\",\n \"score\": \"0.72552156\",\n \"text\": \"public final void rule__Type_definition__Group__2() throws RecognitionException {\\r\\n\\r\\n \\t\\tint stackSize = keepStackSize();\\r\\n \\t\\r\\n try {\\r\\n // InternalPascal.g:3676:1: ( rule__Type_definition__Group__2__Impl )\\r\\n // InternalPascal.g:3677:2: rule__Type_definition__Group__2__Impl\\r\\n {\\r\\n pushFollow(FOLLOW_2);\\r\\n rule__Type_definition__Group__2__Impl();\\r\\n\\r\\n state._fsp--;\\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\": \"0bed3ab886e4cd198f2f1b9d4bef25eb\",\n \"score\": \"0.7252911\",\n \"text\": \"public final void rule__Type_definition__Group_17_2_5_1_2__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:22701:1: ( rule__Type_definition__Group_17_2_5_1_2__1__Impl )\\n // InternalMyDsl.g:22702:2: rule__Type_definition__Group_17_2_5_1_2__1__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_17_2_5_1_2__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"63cbfda42f1003cbce83ad57a9f091bf\",\n \"score\": \"0.7250994\",\n \"text\": \"public final void rule__Type_definition_part__Group__1() throws RecognitionException {\\r\\n\\r\\n \\t\\tint stackSize = keepStackSize();\\r\\n \\t\\r\\n try {\\r\\n // InternalPascal.g:3534:1: ( rule__Type_definition_part__Group__1__Impl )\\r\\n // InternalPascal.g:3535:2: rule__Type_definition_part__Group__1__Impl\\r\\n {\\r\\n pushFollow(FOLLOW_2);\\r\\n rule__Type_definition_part__Group__1__Impl();\\r\\n\\r\\n state._fsp--;\\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\": \"4c85e39e4aae6c544dc4eae713fe3ab3\",\n \"score\": \"0.72400045\",\n \"text\": \"public final void rule__Type_definition__Group_17_2_13__3() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:23214:1: ( rule__Type_definition__Group_17_2_13__3__Impl )\\n // InternalMyDsl.g:23215:2: rule__Type_definition__Group_17_2_13__3__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_17_2_13__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8b799e2e71ca6bf97fec8eb0bac70382\",\n \"score\": \"0.723518\",\n \"text\": \"public final void rule__Type_definition__Group_4__1__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:21119:1: ( ( ( rule__Type_definition__Group_4_1__0 )? ) )\\n // InternalMyDsl.g:21120:1: ( ( rule__Type_definition__Group_4_1__0 )? )\\n {\\n // InternalMyDsl.g:21120:1: ( ( rule__Type_definition__Group_4_1__0 )? )\\n // InternalMyDsl.g:21121:2: ( rule__Type_definition__Group_4_1__0 )?\\n {\\n before(grammarAccess.getType_definitionAccess().getGroup_4_1()); \\n // InternalMyDsl.g:21122:2: ( rule__Type_definition__Group_4_1__0 )?\\n int alt147=2;\\n int LA147_0 = input.LA(1);\\n\\n if ( (LA147_0==113) ) {\\n alt147=1;\\n }\\n switch (alt147) {\\n case 1 :\\n // InternalMyDsl.g:21122:3: rule__Type_definition__Group_4_1__0\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_4_1__0();\\n\\n state._fsp--;\\n\\n\\n }\\n break;\\n\\n }\\n\\n after(grammarAccess.getType_definitionAccess().getGroup_4_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"acbd7193d89dbb5241c1279d8089a81f\",\n \"score\": \"0.7224558\",\n \"text\": \"public final void rule__Type_definition__Group_6__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:21216:1: ( rule__Type_definition__Group_6__0__Impl rule__Type_definition__Group_6__1 )\\n // InternalMyDsl.g:21217:2: rule__Type_definition__Group_6__0__Impl rule__Type_definition__Group_6__1\\n {\\n pushFollow(FOLLOW_27);\\n rule__Type_definition__Group_6__0__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_6__1();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2c769f18e648cea985e37ba1b9d1ebf2\",\n \"score\": \"0.7217333\",\n \"text\": \"public final void rule__ImplementationBody__Group__1() throws RecognitionException {\\r\\n\\r\\n \\t\\tint stackSize = keepStackSize();\\r\\n \\t\\r\\n try {\\r\\n // InternalAadlV3.g:7240:1: ( rule__ImplementationBody__Group__1__Impl rule__ImplementationBody__Group__2 )\\r\\n // InternalAadlV3.g:7241:2: rule__ImplementationBody__Group__1__Impl rule__ImplementationBody__Group__2\\r\\n {\\r\\n pushFollow(FOLLOW_37);\\r\\n rule__ImplementationBody__Group__1__Impl();\\r\\n\\r\\n state._fsp--;\\r\\n if (state.failed) return ;\\r\\n pushFollow(FOLLOW_2);\\r\\n rule__ImplementationBody__Group__2();\\r\\n\\r\\n state._fsp--;\\r\\n 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 \\trestoreStackSize(stackSize);\\r\\n\\r\\n }\\r\\n return ;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"695220f034200d0bc2e9b3ed8d79b762\",\n \"score\": \"0.7200886\",\n \"text\": \"public final void rule__Type_definition__Group_17_2_5_1__3() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:22647:1: ( rule__Type_definition__Group_17_2_5_1__3__Impl )\\n // InternalMyDsl.g:22648:2: rule__Type_definition__Group_17_2_5_1__3__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_17_2_5_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e43d1d9bbaf5dbd92f2bfc38b8ef5ff\",\n \"score\": \"0.72006994\",\n \"text\": \"public final void rule__Type_definition__Group_4_1__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:21162:1: ( rule__Type_definition__Group_4_1__1__Impl rule__Type_definition__Group_4_1__2 )\\n // InternalMyDsl.g:21163:2: rule__Type_definition__Group_4_1__1__Impl rule__Type_definition__Group_4_1__2\\n {\\n pushFollow(FOLLOW_28);\\n rule__Type_definition__Group_4_1__1__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_4_1__2();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b0a2d4772d279e50fc69dd0ad96a760e\",\n \"score\": \"0.7198649\",\n \"text\": \"public final void rule__Type_definition__Group_11_1__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:21621:1: ( rule__Type_definition__Group_11_1__0__Impl rule__Type_definition__Group_11_1__1 )\\n // InternalMyDsl.g:21622:2: rule__Type_definition__Group_11_1__0__Impl rule__Type_definition__Group_11_1__1\\n {\\n pushFollow(FOLLOW_12);\\n rule__Type_definition__Group_11_1__0__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_11_1__1();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"324ef4955da719a981ee3145d5e7f837\",\n \"score\": \"0.7180607\",\n \"text\": \"public final void rule__Type_definition__Group_4_1__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:21135:1: ( rule__Type_definition__Group_4_1__0__Impl rule__Type_definition__Group_4_1__1 )\\n // InternalMyDsl.g:21136:2: rule__Type_definition__Group_4_1__0__Impl rule__Type_definition__Group_4_1__1\\n {\\n pushFollow(FOLLOW_12);\\n rule__Type_definition__Group_4_1__0__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_4_1__1();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0f685ce4fd8c0d66ad3ae6ffc7a1aaa\",\n \"score\": \"0.71732223\",\n \"text\": \"public final void rule__Type_definition__Group_11_1__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:21648:1: ( rule__Type_definition__Group_11_1__1__Impl rule__Type_definition__Group_11_1__2 )\\n // InternalMyDsl.g:21649:2: rule__Type_definition__Group_11_1__1__Impl rule__Type_definition__Group_11_1__2\\n {\\n pushFollow(FOLLOW_28);\\n rule__Type_definition__Group_11_1__1__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_11_1__2();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bb79511530ca9fdfab4be3c333bff65b\",\n \"score\": \"0.7124697\",\n \"text\": \"public final void rule__Type_definition__Group_17__3() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:22296:1: ( rule__Type_definition__Group_17__3__Impl )\\n // InternalMyDsl.g:22297:2: rule__Type_definition__Group_17__3__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_17__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed8e5a244411977b03e09b9c745219ff\",\n \"score\": \"0.71232426\",\n \"text\": \"public final void rule__Term__Group_1_0_0__1() throws RecognitionException {\\r\\n\\r\\n \\t\\tint stackSize = keepStackSize();\\r\\n \\r\\n try {\\r\\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:3105:1: ( rule__Term__Group_1_0_0__1__Impl )\\r\\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:3106:2: rule__Term__Group_1_0_0__1__Impl\\r\\n {\\r\\n pushFollow(FOLLOW_rule__Term__Group_1_0_0__1__Impl_in_rule__Term__Group_1_0_0__16339);\\r\\n rule__Term__Group_1_0_0__1__Impl();\\r\\n\\r\\n state._fsp--;\\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\": \"0d03a978a4984cfb9c5f02405b79f796\",\n \"score\": \"0.7114866\",\n \"text\": \"public final void rule__ImplementationBody__Group__0() throws RecognitionException {\\r\\n\\r\\n \\t\\tint stackSize = keepStackSize();\\r\\n \\t\\r\\n try {\\r\\n // InternalAadlV3.g:7213:1: ( rule__ImplementationBody__Group__0__Impl rule__ImplementationBody__Group__1 )\\r\\n // InternalAadlV3.g:7214:2: rule__ImplementationBody__Group__0__Impl rule__ImplementationBody__Group__1\\r\\n {\\r\\n pushFollow(FOLLOW_37);\\r\\n rule__ImplementationBody__Group__0__Impl();\\r\\n\\r\\n state._fsp--;\\r\\n if (state.failed) return ;\\r\\n pushFollow(FOLLOW_2);\\r\\n rule__ImplementationBody__Group__1();\\r\\n\\r\\n state._fsp--;\\r\\n 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 \\trestoreStackSize(stackSize);\\r\\n\\r\\n }\\r\\n return ;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"298ec98da1786e75a23ce3fa325ff5a5\",\n \"score\": \"0.70880795\",\n \"text\": \"public final void rule__ImplementationBody__Group__1__Impl() throws RecognitionException {\\r\\n\\r\\n \\t\\tint stackSize = keepStackSize();\\r\\n \\t\\r\\n try {\\r\\n // InternalAadlV3.g:7252:1: ( ( ( ruleImplementationElement )* ) )\\r\\n // InternalAadlV3.g:7253:1: ( ( ruleImplementationElement )* )\\r\\n {\\r\\n // InternalAadlV3.g:7253:1: ( ( ruleImplementationElement )* )\\r\\n // InternalAadlV3.g:7254:2: ( ruleImplementationElement )*\\r\\n {\\r\\n if ( state.backtracking==0 ) {\\r\\n before(grammarAccess.getImplementationBodyAccess().getImplementationElementParserRuleCall_1()); \\r\\n }\\r\\n // InternalAadlV3.g:7255:2: ( ruleImplementationElement )*\\r\\n loop69:\\r\\n do {\\r\\n int alt69=2;\\r\\n int LA69_0 = input.LA(1);\\r\\n\\r\\n if ( (LA69_0==RULE_ID||LA69_0==50||LA69_0==59||LA69_0==71) ) {\\r\\n alt69=1;\\r\\n }\\r\\n\\r\\n\\r\\n switch (alt69) {\\r\\n \\tcase 1 :\\r\\n \\t // InternalAadlV3.g:7255:3: ruleImplementationElement\\r\\n \\t {\\r\\n \\t pushFollow(FOLLOW_38);\\r\\n \\t ruleImplementationElement();\\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 loop69;\\r\\n }\\r\\n } while (true);\\r\\n\\r\\n if ( state.backtracking==0 ) {\\r\\n after(grammarAccess.getImplementationBodyAccess().getImplementationElementParserRuleCall_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1804907edd92434fa9745e9860e7720e\",\n \"score\": \"0.70798117\",\n \"text\": \"public final void rule__Term__Group_1_0_1__1() throws RecognitionException {\\r\\n\\r\\n \\t\\tint stackSize = keepStackSize();\\r\\n \\r\\n try {\\r\\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:3170:1: ( rule__Term__Group_1_0_1__1__Impl )\\r\\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:3171:2: rule__Term__Group_1_0_1__1__Impl\\r\\n {\\r\\n pushFollow(FOLLOW_rule__Term__Group_1_0_1__1__Impl_in_rule__Term__Group_1_0_1__16463);\\r\\n rule__Term__Group_1_0_1__1__Impl();\\r\\n\\r\\n state._fsp--;\\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\": \"c7f3ca2dfd7fa9f6237de70ef5730591\",\n \"score\": \"0.7076708\",\n \"text\": \"public final void rule__Type_definition__Group_3__1__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:20930:1: ( ( ( rule__Type_definition__Group_3_1__0 )? ) )\\n // InternalMyDsl.g:20931:1: ( ( rule__Type_definition__Group_3_1__0 )? )\\n {\\n // InternalMyDsl.g:20931:1: ( ( rule__Type_definition__Group_3_1__0 )? )\\n // InternalMyDsl.g:20932:2: ( rule__Type_definition__Group_3_1__0 )?\\n {\\n before(grammarAccess.getType_definitionAccess().getGroup_3_1()); \\n // InternalMyDsl.g:20933:2: ( rule__Type_definition__Group_3_1__0 )?\\n int alt146=2;\\n int LA146_0 = input.LA(1);\\n\\n if ( (LA146_0==113) ) {\\n alt146=1;\\n }\\n switch (alt146) {\\n case 1 :\\n // InternalMyDsl.g:20933:3: rule__Type_definition__Group_3_1__0\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_3_1__0();\\n\\n state._fsp--;\\n\\n\\n }\\n break;\\n\\n }\\n\\n after(grammarAccess.getType_definitionAccess().getGroup_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"56caedac09d60fd9424964fa3274063b\",\n \"score\": \"0.70632493\",\n \"text\": \"public final void rule__Type_definition__Group_17_2_11__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:22863:1: ( rule__Type_definition__Group_17_2_11__1__Impl rule__Type_definition__Group_17_2_11__2 )\\n // InternalMyDsl.g:22864:2: rule__Type_definition__Group_17_2_11__1__Impl rule__Type_definition__Group_17_2_11__2\\n {\\n pushFollow(FOLLOW_10);\\n rule__Type_definition__Group_17_2_11__1__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_17_2_11__2();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1ed8a9a3f2b81bfb34b630450716e177\",\n \"score\": \"0.7061942\",\n \"text\": \"public final void rule__Type_definition__Group_16__3() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:22188:1: ( rule__Type_definition__Group_16__3__Impl )\\n // InternalMyDsl.g:22189:2: rule__Type_definition__Group_16__3__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_16__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8d9a9d432e6660857792e55207e419ce\",\n \"score\": \"0.70563954\",\n \"text\": \"public final void rule__Type_definition__Group_3_1__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:20973:1: ( rule__Type_definition__Group_3_1__1__Impl rule__Type_definition__Group_3_1__2 )\\n // InternalMyDsl.g:20974:2: rule__Type_definition__Group_3_1__1__Impl rule__Type_definition__Group_3_1__2\\n {\\n pushFollow(FOLLOW_45);\\n rule__Type_definition__Group_3_1__1__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_3_1__2();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"de215e44c823efa5477a4c4437d1888c\",\n \"score\": \"0.7034417\",\n \"text\": \"public final void rule__Type_definition__Group_4__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:21081:1: ( rule__Type_definition__Group_4__0__Impl rule__Type_definition__Group_4__1 )\\n // InternalMyDsl.g:21082:2: rule__Type_definition__Group_4__0__Impl rule__Type_definition__Group_4__1\\n {\\n pushFollow(FOLLOW_27);\\n rule__Type_definition__Group_4__0__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_4__1();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a775ce08d442ae5359387f7a157388aa\",\n \"score\": \"0.7034247\",\n \"text\": \"public final void rule__Type_definition__Group_17_2_11__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:22836:1: ( rule__Type_definition__Group_17_2_11__0__Impl rule__Type_definition__Group_17_2_11__1 )\\n // InternalMyDsl.g:22837:2: rule__Type_definition__Group_17_2_11__0__Impl rule__Type_definition__Group_17_2_11__1\\n {\\n pushFollow(FOLLOW_27);\\n rule__Type_definition__Group_17_2_11__0__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_17_2_11__1();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0a6e62ecd419683c28e12fecb38231cd\",\n \"score\": \"0.70280963\",\n \"text\": \"public final void rule__Type_definition__Group_10__1__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:21470:1: ( ( ( rule__Type_definition__Group_10_1__0 )? ) )\\n // InternalMyDsl.g:21471:1: ( ( rule__Type_definition__Group_10_1__0 )? )\\n {\\n // InternalMyDsl.g:21471:1: ( ( rule__Type_definition__Group_10_1__0 )? )\\n // InternalMyDsl.g:21472:2: ( rule__Type_definition__Group_10_1__0 )?\\n {\\n before(grammarAccess.getType_definitionAccess().getGroup_10_1()); \\n // InternalMyDsl.g:21473:2: ( rule__Type_definition__Group_10_1__0 )?\\n int alt150=2;\\n int LA150_0 = input.LA(1);\\n\\n if ( (LA150_0==113) ) {\\n alt150=1;\\n }\\n switch (alt150) {\\n case 1 :\\n // InternalMyDsl.g:21473:3: rule__Type_definition__Group_10_1__0\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_10_1__0();\\n\\n state._fsp--;\\n\\n\\n }\\n break;\\n\\n }\\n\\n after(grammarAccess.getType_definitionAccess().getGroup_10_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2b26aca8ff1a311d556dcdaa84e94528\",\n \"score\": \"0.7027795\",\n \"text\": \"public final void rule__Type_definition__Group_3_1__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:20946:1: ( rule__Type_definition__Group_3_1__0__Impl rule__Type_definition__Group_3_1__1 )\\n // InternalMyDsl.g:20947:2: rule__Type_definition__Group_3_1__0__Impl rule__Type_definition__Group_3_1__1\\n {\\n pushFollow(FOLLOW_12);\\n rule__Type_definition__Group_3_1__0__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_3_1__1();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e770d66c3618d007a8e2270d9c1081ac\",\n \"score\": \"0.70246166\",\n \"text\": \"public final void rule__Type_definition__Group_14__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:21837:1: ( rule__Type_definition__Group_14__1__Impl rule__Type_definition__Group_14__2 )\\n // InternalMyDsl.g:21838:2: rule__Type_definition__Group_14__1__Impl rule__Type_definition__Group_14__2\\n {\\n pushFollow(FOLLOW_10);\\n rule__Type_definition__Group_14__1__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_14__2();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c291a5d87b753ddd630e20382a1043c9\",\n \"score\": \"0.702067\",\n \"text\": \"public final void rule__Type_definition__Group_17_2_3_1__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:22377:1: ( rule__Type_definition__Group_17_2_3_1__0__Impl rule__Type_definition__Group_17_2_3_1__1 )\\n // InternalMyDsl.g:22378:2: rule__Type_definition__Group_17_2_3_1__0__Impl rule__Type_definition__Group_17_2_3_1__1\\n {\\n pushFollow(FOLLOW_12);\\n rule__Type_definition__Group_17_2_3_1__0__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_17_2_3_1__1();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4607b33da68614633f45ef03b251abf9\",\n \"score\": \"0.7020339\",\n \"text\": \"public final void rule__Type_definition__Group_10_1__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:21486:1: ( rule__Type_definition__Group_10_1__0__Impl rule__Type_definition__Group_10_1__1 )\\n // InternalMyDsl.g:21487:2: rule__Type_definition__Group_10_1__0__Impl rule__Type_definition__Group_10_1__1\\n {\\n pushFollow(FOLLOW_12);\\n rule__Type_definition__Group_10_1__0__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_10_1__1();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d96deec8291c3d844d12af1b221ed105\",\n \"score\": \"0.70195276\",\n \"text\": \"public final void rule__Type_definition__Group_17_2_12__3__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:23037:1: ( ( ( rule__Type_definition__Group_17_2_12_3__0 )? ) )\\n // InternalMyDsl.g:23038:1: ( ( rule__Type_definition__Group_17_2_12_3__0 )? )\\n {\\n // InternalMyDsl.g:23038:1: ( ( rule__Type_definition__Group_17_2_12_3__0 )? )\\n // InternalMyDsl.g:23039:2: ( rule__Type_definition__Group_17_2_12_3__0 )?\\n {\\n before(grammarAccess.getType_definitionAccess().getGroup_17_2_12_3()); \\n // InternalMyDsl.g:23040:2: ( rule__Type_definition__Group_17_2_12_3__0 )?\\n int alt156=2;\\n int LA156_0 = input.LA(1);\\n\\n if ( (LA156_0==123) ) {\\n alt156=1;\\n }\\n switch (alt156) {\\n case 1 :\\n // InternalMyDsl.g:23040:3: rule__Type_definition__Group_17_2_12_3__0\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_17_2_12_3__0();\\n\\n state._fsp--;\\n\\n\\n }\\n break;\\n\\n }\\n\\n after(grammarAccess.getType_definitionAccess().getGroup_17_2_12_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"445fe75fbe2b344e6d9faf53202b72e0\",\n \"score\": \"0.70173514\",\n \"text\": \"public final void rule__Type_definition__Group_11__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:21567:1: ( rule__Type_definition__Group_11__0__Impl rule__Type_definition__Group_11__1 )\\n // InternalMyDsl.g:21568:2: rule__Type_definition__Group_11__0__Impl rule__Type_definition__Group_11__1\\n {\\n pushFollow(FOLLOW_27);\\n rule__Type_definition__Group_11__0__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_11__1();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0cc7c500f5670046dc78a408ceb8d47\",\n \"score\": \"0.70158225\",\n \"text\": \"public final void rule__Validation_definition__Group__6() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:29425:1: ( rule__Validation_definition__Group__6__Impl )\\n // InternalMyDsl.g:29426:2: rule__Validation_definition__Group__6__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Validation_definition__Group__6__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"667a58f88401425054551bc4d856f8d2\",\n \"score\": \"0.70022345\",\n \"text\": \"public final void rule__Type_definition__Group_14__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:21810:1: ( rule__Type_definition__Group_14__0__Impl rule__Type_definition__Group_14__1 )\\n // InternalMyDsl.g:21811:2: rule__Type_definition__Group_14__0__Impl rule__Type_definition__Group_14__1\\n {\\n pushFollow(FOLLOW_27);\\n rule__Type_definition__Group_14__0__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_14__1();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bbfeffffd9d655fd343931b15a3e3e95\",\n \"score\": \"0.69990987\",\n \"text\": \"public final void rule__Type_definition__Group__0() throws RecognitionException {\\r\\n\\r\\n \\t\\tint stackSize = keepStackSize();\\r\\n \\t\\r\\n try {\\r\\n // InternalPascal.g:3622:1: ( rule__Type_definition__Group__0__Impl rule__Type_definition__Group__1 )\\r\\n // InternalPascal.g:3623:2: rule__Type_definition__Group__0__Impl rule__Type_definition__Group__1\\r\\n {\\r\\n pushFollow(FOLLOW_15);\\r\\n rule__Type_definition__Group__0__Impl();\\r\\n\\r\\n state._fsp--;\\r\\n\\r\\n pushFollow(FOLLOW_2);\\r\\n rule__Type_definition__Group__1();\\r\\n\\r\\n state._fsp--;\\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\": \"2f6ad74ad2de924839a28da80326f7db\",\n \"score\": \"0.69981253\",\n \"text\": \"public final void rule__Type_definition__Group_17_2_5_1__2__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:22632:1: ( ( ( rule__Type_definition__Group_17_2_5_1_2__0 )? ) )\\n // InternalMyDsl.g:22633:1: ( ( rule__Type_definition__Group_17_2_5_1_2__0 )? )\\n {\\n // InternalMyDsl.g:22633:1: ( ( rule__Type_definition__Group_17_2_5_1_2__0 )? )\\n // InternalMyDsl.g:22634:2: ( rule__Type_definition__Group_17_2_5_1_2__0 )?\\n {\\n before(grammarAccess.getType_definitionAccess().getGroup_17_2_5_1_2()); \\n // InternalMyDsl.g:22635:2: ( rule__Type_definition__Group_17_2_5_1_2__0 )?\\n int alt155=2;\\n int LA155_0 = input.LA(1);\\n\\n if ( (LA155_0==115) ) {\\n alt155=1;\\n }\\n switch (alt155) {\\n case 1 :\\n // InternalMyDsl.g:22635:3: rule__Type_definition__Group_17_2_5_1_2__0\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_17_2_5_1_2__0();\\n\\n state._fsp--;\\n\\n\\n }\\n break;\\n\\n }\\n\\n after(grammarAccess.getType_definitionAccess().getGroup_17_2_5_1_2()); \\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\": \"c9bdabeff9edb90be6ecf93f6bc6aaa8\",\n \"score\": \"0.69970596\",\n \"text\": \"public final void rule__XRelationalExpression__Group_1_0_0_0__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalSequence.g:4684:1: ( rule__XRelationalExpression__Group_1_0_0_0__1__Impl )\\n // InternalSequence.g:4685:2: rule__XRelationalExpression__Group_1_0_0_0__1__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__XRelationalExpression__Group_1_0_0_0__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8f9017514c68677d29a1c4924ba86b73\",\n \"score\": \"0.6991253\",\n \"text\": \"public final void rule__Exec_definition__Group__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:19332:1: ( rule__Exec_definition__Group__1__Impl rule__Exec_definition__Group__2 )\\n // InternalMyDsl.g:19333:2: rule__Exec_definition__Group__1__Impl rule__Exec_definition__Group__2\\n {\\n pushFollow(FOLLOW_12);\\n rule__Exec_definition__Group__1__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__Exec_definition__Group__2();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"76e586db3ade24b84fc19876f1786669\",\n \"score\": \"0.6971607\",\n \"text\": \"public final void rule__ImplementationBody__Group__2() throws RecognitionException {\\r\\n\\r\\n \\t\\tint stackSize = keepStackSize();\\r\\n \\t\\r\\n try {\\r\\n // InternalAadlV3.g:7267:1: ( rule__ImplementationBody__Group__2__Impl )\\r\\n // InternalAadlV3.g:7268:2: rule__ImplementationBody__Group__2__Impl\\r\\n {\\r\\n pushFollow(FOLLOW_2);\\r\\n rule__ImplementationBody__Group__2__Impl();\\r\\n\\r\\n state._fsp--;\\r\\n 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 \\trestoreStackSize(stackSize);\\r\\n\\r\\n }\\r\\n return ;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"72420978c938cbf27b59787731608e0b\",\n \"score\": \"0.6967742\",\n \"text\": \"public final void rule__Term__Group_1__1() throws RecognitionException {\\r\\n\\r\\n \\t\\tint stackSize = keepStackSize();\\r\\n \\r\\n try {\\r\\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:3042:1: ( rule__Term__Group_1__1__Impl )\\r\\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:3043:2: rule__Term__Group_1__1__Impl\\r\\n {\\r\\n pushFollow(FOLLOW_rule__Term__Group_1__1__Impl_in_rule__Term__Group_1__16217);\\r\\n rule__Term__Group_1__1__Impl();\\r\\n\\r\\n state._fsp--;\\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\": \"394732b7bfdf85788731ccdf488379c3\",\n \"score\": \"0.6965112\",\n \"text\": \"public final void rule__Implementation_type_definition__Group__2__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:29518:1: ( ( ( rule__Implementation_type_definition__StringAssignment_2 ) ) )\\n // InternalMyDsl.g:29519:1: ( ( rule__Implementation_type_definition__StringAssignment_2 ) )\\n {\\n // InternalMyDsl.g:29519:1: ( ( rule__Implementation_type_definition__StringAssignment_2 ) )\\n // InternalMyDsl.g:29520:2: ( rule__Implementation_type_definition__StringAssignment_2 )\\n {\\n before(grammarAccess.getImplementation_type_definitionAccess().getStringAssignment_2()); \\n // InternalMyDsl.g:29521:2: ( rule__Implementation_type_definition__StringAssignment_2 )\\n // InternalMyDsl.g:29521:3: rule__Implementation_type_definition__StringAssignment_2\\n {\\n pushFollow(FOLLOW_2);\\n rule__Implementation_type_definition__StringAssignment_2();\\n\\n state._fsp--;\\n\\n\\n }\\n\\n after(grammarAccess.getImplementation_type_definitionAccess().getStringAssignment_2()); \\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\": \"8414fc90bdd04a1dec3de94cc6318afb\",\n \"score\": \"0.69600105\",\n \"text\": \"public final void rule__Type_definition__Group_10_1__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:21513:1: ( rule__Type_definition__Group_10_1__1__Impl rule__Type_definition__Group_10_1__2 )\\n // InternalMyDsl.g:21514:2: rule__Type_definition__Group_10_1__1__Impl rule__Type_definition__Group_10_1__2\\n {\\n pushFollow(FOLLOW_28);\\n rule__Type_definition__Group_10_1__1__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_10_1__2();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"403f9ad911fd7c28ebd2e42f81177dd1\",\n \"score\": \"0.69575864\",\n \"text\": \"public final void rule__XRelationalExpression__Group_1_1_0_0__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalSequence.g:4819:1: ( rule__XRelationalExpression__Group_1_1_0_0__1__Impl )\\n // InternalSequence.g:4820:2: rule__XRelationalExpression__Group_1_1_0_0__1__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__XRelationalExpression__Group_1_1_0_0__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cbd5e4427d535ecb91191a2f8e9520cb\",\n \"score\": \"0.6954363\",\n \"text\": \"public final void rule__ImplementationBody__Group__2__Impl() throws RecognitionException {\\r\\n\\r\\n \\t\\tint stackSize = keepStackSize();\\r\\n \\t\\r\\n try {\\r\\n // InternalAadlV3.g:7278:1: ( ( 'end' ) )\\r\\n // InternalAadlV3.g:7279:1: ( 'end' )\\r\\n {\\r\\n // InternalAadlV3.g:7279:1: ( 'end' )\\r\\n // InternalAadlV3.g:7280:2: 'end'\\r\\n {\\r\\n if ( state.backtracking==0 ) {\\r\\n before(grammarAccess.getImplementationBodyAccess().getEndKeyword_2()); \\r\\n }\\r\\n match(input,57,FOLLOW_2); if (state.failed) return ;\\r\\n if ( state.backtracking==0 ) {\\r\\n after(grammarAccess.getImplementationBodyAccess().getEndKeyword_2()); \\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\": \"3f335ec691a43c4f8808c0a963f30bf5\",\n \"score\": \"0.6952594\",\n \"text\": \"public final void rule__Implementation_type_definition__Group__3__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:29544:1: ( ( ';' ) )\\n // InternalMyDsl.g:29545:1: ( ';' )\\n {\\n // InternalMyDsl.g:29545:1: ( ';' )\\n // InternalMyDsl.g:29546:2: ';'\\n {\\n before(grammarAccess.getImplementation_type_definitionAccess().getSemicolonKeyword_3()); \\n match(input,20,FOLLOW_2); \\n after(grammarAccess.getImplementation_type_definitionAccess().getSemicolonKeyword_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c4f478927faef04e931403204e0c3c81\",\n \"score\": \"0.6951117\",\n \"text\": \"public final void rule__Type_definition__Group_17_2_3_1__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:22404:1: ( rule__Type_definition__Group_17_2_3_1__1__Impl rule__Type_definition__Group_17_2_3_1__2 )\\n // InternalMyDsl.g:22405:2: rule__Type_definition__Group_17_2_3_1__1__Impl rule__Type_definition__Group_17_2_3_1__2\\n {\\n pushFollow(FOLLOW_45);\\n rule__Type_definition__Group_17_2_3_1__1__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_17_2_3_1__2();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed7b7cd155d758cd6fd7b4fa8837c80f\",\n \"score\": \"0.6947543\",\n \"text\": \"public final void rule__Type_definition__Group_13__3() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:21783:1: ( rule__Type_definition__Group_13__3__Impl )\\n // InternalMyDsl.g:21784:2: rule__Type_definition__Group_13__3__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_13__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"055eb57bad66b1664b8d8428c47fce4a\",\n \"score\": \"0.6937274\",\n \"text\": \"public final void rule__Aggregate_definition__Group_6_1_2_0_1_3__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:31025:1: ( rule__Aggregate_definition__Group_6_1_2_0_1_3__1__Impl )\\n // InternalMyDsl.g:31026:2: rule__Aggregate_definition__Group_6_1_2_0_1_3__1__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Aggregate_definition__Group_6_1_2_0_1_3__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2bb1ce1234183a6592a3f8c8587e46ec\",\n \"score\": \"0.6930533\",\n \"text\": \"public final void rule__Type_definition__Group_17_2_5__1__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:22550:1: ( ( ( rule__Type_definition__Group_17_2_5_1__0 )? ) )\\n // InternalMyDsl.g:22551:1: ( ( rule__Type_definition__Group_17_2_5_1__0 )? )\\n {\\n // InternalMyDsl.g:22551:1: ( ( rule__Type_definition__Group_17_2_5_1__0 )? )\\n // InternalMyDsl.g:22552:2: ( rule__Type_definition__Group_17_2_5_1__0 )?\\n {\\n before(grammarAccess.getType_definitionAccess().getGroup_17_2_5_1()); \\n // InternalMyDsl.g:22553:2: ( rule__Type_definition__Group_17_2_5_1__0 )?\\n int alt154=2;\\n int LA154_0 = input.LA(1);\\n\\n if ( (LA154_0==113) ) {\\n alt154=1;\\n }\\n switch (alt154) {\\n case 1 :\\n // InternalMyDsl.g:22553:3: rule__Type_definition__Group_17_2_5_1__0\\n {\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_17_2_5_1__0();\\n\\n state._fsp--;\\n\\n\\n }\\n break;\\n\\n }\\n\\n after(grammarAccess.getType_definitionAccess().getGroup_17_2_5_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f40b4bf2df2952081525ad41776f3bc3\",\n \"score\": \"0.69229174\",\n \"text\": \"public final void rule__Expression__Group_1_0_0__1() throws RecognitionException {\\r\\n\\r\\n \\t\\tint stackSize = keepStackSize();\\r\\n \\r\\n try {\\r\\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:2853:1: ( rule__Expression__Group_1_0_0__1__Impl )\\r\\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:2854:2: rule__Expression__Group_1_0_0__1__Impl\\r\\n {\\r\\n pushFollow(FOLLOW_rule__Expression__Group_1_0_0__1__Impl_in_rule__Expression__Group_1_0_0__15849);\\r\\n rule__Expression__Group_1_0_0__1__Impl();\\r\\n\\r\\n state._fsp--;\\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\": \"3cdd7e82492ea3a8b74b09ee19e31513\",\n \"score\": \"0.69102377\",\n \"text\": \"public final void rule__Type_definition__Group_3_1__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:21000:1: ( rule__Type_definition__Group_3_1__2__Impl rule__Type_definition__Group_3_1__3 )\\n // InternalMyDsl.g:21001:2: rule__Type_definition__Group_3_1__2__Impl rule__Type_definition__Group_3_1__3\\n {\\n pushFollow(FOLLOW_12);\\n rule__Type_definition__Group_3_1__2__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_3_1__3();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"16bc0783f287d83187dc7e2281538170\",\n \"score\": \"0.6896395\",\n \"text\": \"public final void rule__XRelationalExpression__Group_1_0__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalSequence.g:4603:1: ( rule__XRelationalExpression__Group_1_0__1__Impl )\\n // InternalSequence.g:4604:2: rule__XRelationalExpression__Group_1_0__1__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__XRelationalExpression__Group_1_0__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"73a40fe07f482ab4c7d7b34843c5b7cf\",\n \"score\": \"0.6892073\",\n \"text\": \"public final void rule__Term__Group__1() throws RecognitionException {\\r\\n\\r\\n \\t\\tint stackSize = keepStackSize();\\r\\n \\r\\n try {\\r\\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:2981:1: ( rule__Term__Group__1__Impl )\\r\\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:2982:2: rule__Term__Group__1__Impl\\r\\n {\\r\\n pushFollow(FOLLOW_rule__Term__Group__1__Impl_in_rule__Term__Group__16095);\\r\\n rule__Term__Group__1__Impl();\\r\\n\\r\\n state._fsp--;\\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\": \"d7b82eec4bee8a88e940d67fa45e5378\",\n \"score\": \"0.6886802\",\n \"text\": \"public final void rule__XRelationalExpression__Group_1_1_0__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalSequence.g:4765:1: ( rule__XRelationalExpression__Group_1_1_0__0__Impl )\\n // InternalSequence.g:4766:2: rule__XRelationalExpression__Group_1_1_0__0__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__XRelationalExpression__Group_1_1_0__0__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d2343986a4324c60008d648db26f764e\",\n \"score\": \"0.6886253\",\n \"text\": \"public final void rule__Aggregate_definition__Group_6_1_2_0__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:30971:1: ( rule__Aggregate_definition__Group_6_1_2_0__2__Impl )\\n // InternalMyDsl.g:30972:2: rule__Aggregate_definition__Group_6_1_2_0__2__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Aggregate_definition__Group_6_1_2_0__2__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3698f1a9d7d89f0c663a34fed6fbb80d\",\n \"score\": \"0.6879921\",\n \"text\": \"public final void rule__Decl__Group__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMGPL.g:1372:1: ( rule__Decl__Group__1__Impl )\\n // InternalMGPL.g:1373:2: rule__Decl__Group__1__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Decl__Group__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"09e15b2a27e95c22097de1bc7c3b38bf\",\n \"score\": \"0.68757606\",\n \"text\": \"public final void rule__Expression__Group_1_0_1__1() throws RecognitionException {\\r\\n\\r\\n \\t\\tint stackSize = keepStackSize();\\r\\n \\r\\n try {\\r\\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:2918:1: ( rule__Expression__Group_1_0_1__1__Impl )\\r\\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:2919:2: rule__Expression__Group_1_0_1__1__Impl\\r\\n {\\r\\n pushFollow(FOLLOW_rule__Expression__Group_1_0_1__1__Impl_in_rule__Expression__Group_1_0_1__15973);\\r\\n rule__Expression__Group_1_0_1__1__Impl();\\r\\n\\r\\n state._fsp--;\\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\": \"e37484d92b6e9abadd1c80ed521a156b\",\n \"score\": \"0.6874414\",\n \"text\": \"public final void rule__Aggregate_definition__Group_6_1_1__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:30883:1: ( rule__Aggregate_definition__Group_6_1_1__1__Impl )\\n // InternalMyDsl.g:30884:2: rule__Aggregate_definition__Group_6_1_1__1__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Aggregate_definition__Group_6_1_1__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c34d39227f994e3c4793c307d1765e68\",\n \"score\": \"0.6871992\",\n \"text\": \"public final void rule__Type_definition__Group__1() throws RecognitionException {\\r\\n\\r\\n \\t\\tint stackSize = keepStackSize();\\r\\n \\t\\r\\n try {\\r\\n // InternalPascal.g:3649:1: ( rule__Type_definition__Group__1__Impl rule__Type_definition__Group__2 )\\r\\n // InternalPascal.g:3650:2: rule__Type_definition__Group__1__Impl rule__Type_definition__Group__2\\r\\n {\\r\\n pushFollow(FOLLOW_17);\\r\\n rule__Type_definition__Group__1__Impl();\\r\\n\\r\\n state._fsp--;\\r\\n\\r\\n pushFollow(FOLLOW_2);\\r\\n rule__Type_definition__Group__2();\\r\\n\\r\\n state._fsp--;\\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\": \"2e516786b1f155cce69e185b864163ca\",\n \"score\": \"0.6869694\",\n \"text\": \"public final void rule__Type_definition__Group_17_2_10__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:22755:1: ( rule__Type_definition__Group_17_2_10__1__Impl rule__Type_definition__Group_17_2_10__2 )\\n // InternalMyDsl.g:22756:2: rule__Type_definition__Group_17_2_10__1__Impl rule__Type_definition__Group_17_2_10__2\\n {\\n pushFollow(FOLLOW_10);\\n rule__Type_definition__Group_17_2_10__1__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__Type_definition__Group_17_2_10__2();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1f4c980e11c096b19d8fe5a827ec473\",\n \"score\": \"0.68682414\",\n \"text\": \"public final void rule__To_function_definition__Group_2_1__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMyDsl.g:31484:1: ( rule__To_function_definition__Group_2_1__1__Impl )\\n // InternalMyDsl.g:31485:2: rule__To_function_definition__Group_2_1__1__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__To_function_definition__Group_2_1__1__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 }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":332,"cells":{"query_id":{"kind":"string","value":"2acc2a78065b49b849739b02cae1f6b3"},"query":{"kind":"string","value":"Returns the result of interpreting the object as an instance of 'Attribute Definition Boolean'. This implementation returns null; returning a nonnull result will terminate the switch."},"positive_passages":{"kind":"list like","value":[{"docid":"2107f53de5c5a8c2fd93904c8538e76c","score":"0.73201144","text":"public T2 caseAttributeDefinitionBoolean( AttributeDefinitionBoolean object ) {\n return null;\n }","title":""}],"string":"[\n {\n \"docid\": \"2107f53de5c5a8c2fd93904c8538e76c\",\n \"score\": \"0.73201144\",\n \"text\": \"public T2 caseAttributeDefinitionBoolean( AttributeDefinitionBoolean object ) {\\n return null;\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"d3abe2d4abf6967d06b3eebfa7fe882a","score":"0.669348","text":"public T2 caseAttributeValueBoolean( AttributeValueBoolean object ) {\n return null;\n }","title":""},{"docid":"9003f6a76c09d4b73c686d2a74f46888","score":"0.6450159","text":"public Boolean getBoolAttribute(String name);","title":""},{"docid":"e0e9dc577e249c761a51337cebb41f9f","score":"0.63813156","text":"public T2 caseDatatypeDefinitionBoolean( DatatypeDefinitionBoolean object ) {\n return null;\n }","title":""},{"docid":"f0a88614a99435d01f3c4dfdea539f3b","score":"0.6095586","text":"public TerminalRule getBOOLEANRule() {\n\t\treturn tBOOLEAN;\n\t}","title":""},{"docid":"f0a88614a99435d01f3c4dfdea539f3b","score":"0.6095586","text":"public TerminalRule getBOOLEANRule() {\n\t\treturn tBOOLEAN;\n\t}","title":""},{"docid":"59c9fa17a3de1b304cc23873e2fc3b4d","score":"0.59791386","text":"public abstract boolean getBoolean();","title":""},{"docid":"a1efa7b17c72a7ba7a5af9fa4a9d693f","score":"0.59415233","text":"@Override\n public Boolean getBoolean() {\n return (Boolean) DataType.BOOLEAN.getValueIfType(this.getObject());\n }","title":""},{"docid":"8dc80c390be56bb8dbf49d676ac3879b","score":"0.5909405","text":"@Nullable\n public Boolean toBoolean() {\n return this == UNKNOWN ? null : this == NULLABLE;\n }","title":""},{"docid":"6175c44c0cfab8b74e7fe2c025b628b2","score":"0.5904907","text":"Boolean getBoolean();","title":""},{"docid":"335013589bc7c7221bc6ec69da57a725","score":"0.5902103","text":"org.hl7.fhir.Boolean getAsNeededBoolean();","title":""},{"docid":"e39ae62b0a488884765a4f0687895643","score":"0.57899266","text":"boolean getBoolValue();","title":""},{"docid":"272e728ecc157a8223a92f86ca2b4722","score":"0.5786573","text":"public Boolean get_boolean(){\r\n\t\treturn this.b;\r\n\t}","title":""},{"docid":"15833dc8f96281e608793467bf64cde2","score":"0.5785984","text":"public T caseBooleanFunctionDefinition(BooleanFunctionDefinition object) {\r\n\t\treturn null;\r\n\t}","title":""},{"docid":"a0f8ce6f45e4d262bdd79ac17f1b2692","score":"0.57850015","text":"public static boolean getAttributeValueAsBoolean (NamedNodeMap attribs, String attributeName, boolean defValue) throws\r\n DOMException {\r\n String v = getAttributeValue (attribs, attributeName);\r\n boolean result = defValue;\r\n\r\n if (v != null) {\r\n try {\r\n result = \"true\".equalsIgnoreCase(v) || \"yes\".equalsIgnoreCase(v);\r\n } catch (NumberFormatException ex) {\r\n }\r\n }\r\n return result;\r\n }","title":""},{"docid":"7cdedeafafa5305bb32f3bb6571fecaf","score":"0.575249","text":"@Override\n public boolean getAsBoolean() {\n\n // if this datum isn't a boolean or integer type, we've got an error...\n GeneralDataType gt = type.generalType();\n Checks.isTrue( (gt == SignedInteger) || (gt == UnsignedInteger) || (gt == Boolean),\n \"Attempted to get boolean from simple datum that is neither boolean nor integer\" );\n\n // get our velue...\n return (getAsLong() != 0);\n }","title":""},{"docid":"3bf0c82d00247c8f28eba4f65335d4bc","score":"0.571387","text":"boolean getBool();","title":""},{"docid":"b79ae173366225fda1cea7364cf15471","score":"0.5707843","text":"boolean getBoolean();","title":""},{"docid":"587b24d072fdf945f5b2db9fe2cb637d","score":"0.5689878","text":"public Optional isActive()\n {\n return getBooleanAttribute(AttributeNames.RFC7643.ACTIVE);\n }","title":""},{"docid":"7c2f0976d449f77cee6c5df5852a08d6","score":"0.568087","text":"@Override\n public boolean getElementAsBoolean() throws XMLStreamException\n {\n ValueDecoderFactory.BooleanDecoder dec = _decoderFactory().getBooleanDecoder();\n getElementAs(dec);\n return dec.getValue();\n }","title":""},{"docid":"b63683b1fb51fa84aba32f6b8b75e017","score":"0.56778914","text":"public abstract boolean supportsBoolean();","title":""},{"docid":"1755520d45561fdb50391b5138d0b78d","score":"0.5667233","text":"public boolean getBool()\n { \t\n\t return b;\t\n }","title":""},{"docid":"cc8af610ddebb2f776e48e6caaa97cf4","score":"0.5653847","text":"public static boolean getAttributeAsBoolean(XmlPullParser parser, String attributeName, boolean defaultValue)\n\t\t\tthrows Exception {\n\t\t// parser.getText()\n\t\tString value = parser.getAttributeValue(null, attributeName);\n\n\t\tif (!StringUtils.hasText(value)) {\n\t\t\treturn defaultValue;\n\t\t}\n\n\t\treturn Boolean.parseBoolean(value);\n\t}","title":""},{"docid":"a37f6014df05149e4228c1878517ce00","score":"0.56393313","text":"TDataTypes getBoolean();","title":""},{"docid":"567eed36bcda7a0011614d92c810a869","score":"0.56356883","text":"@Override\n public Class getReturnType() {\n return Boolean.class;\n }","title":""},{"docid":"1fd28f1616e196891daa45fbeb9b315c","score":"0.5598548","text":"public Boolean getBoolean(Object object) throws KettleValueException;","title":""},{"docid":"07a125185bd6c0866ec7906674ba3c8f","score":"0.55870616","text":"boolean BOOLEAN()\n {\n if (saved(\"BOOLEAN\",BOOLEAN)) return reuse();\n if (!is(true,()->Word(),()->next(\"boolean\"))) return reject();\n Spacing();\n return accept();\n }","title":""},{"docid":"c14b45603a0c91a49a5262de5e64e169","score":"0.5580531","text":"@Override\n protected AttributeDefinitionBoolean getFixture() {\n return (AttributeDefinitionBoolean)fixture;\n }","title":""},{"docid":"09a88da4f911380053aba40892cdd65b","score":"0.55491805","text":"public final boolean execute() {\r\n\t\tboolean result = false;\r\n\t\tif (!this.attributed && this.itsAttrMapping == null)\r\n\t\t\tresult = true;\r\n\t\telse if (this.attributed && this.itsAttrMapping != null)\r\n\t\t\tresult = true;\r\n\t\telse\r\n\t\t\tresult = false;\r\n//\t\tSystem.out.println(\"Constraint_InheritAttribute.execute: \"+result);\r\n\t\treturn result;\r\n\t}","title":""},{"docid":"fa5e52053700868dd3f276b76a901ac2","score":"0.55439764","text":"public boolean isAttributable()\n\t{\n\t\treturn attributable;\n\t}","title":""},{"docid":"2e74f7b0a3d6fec0f00426990953cb62","score":"0.55225104","text":"boolean getValue();","title":""},{"docid":"2e74f7b0a3d6fec0f00426990953cb62","score":"0.55225104","text":"boolean getValue();","title":""},{"docid":"3fcbfe0bda9926abddffccbdde371f1a","score":"0.55205363","text":"boolean getAfl();","title":""},{"docid":"5dc4d60f321a61e73fe3dd354c52466c","score":"0.5515957","text":"public T2 caseAttributeDefinition( AttributeDefinition object ) {\n return null;\n }","title":""},{"docid":"318b762b9acc1616e72e7c68529952fc","score":"0.55044967","text":"public boolean booleanVal() {\n\t\t\tassert kind == Kind.BOOLEAN_LITERAL;\n\t\t\treturn getText().equals(\"true\");\n\t\t}","title":""},{"docid":"ee44271062cd6347890db248ce39a4d9","score":"0.54892355","text":"public final C22903bl mo60072b() {\n if (this.f60866o == null) {\n this.f60866o = new C22903bl<>(\"has_click_like_self_visible_guide\", Boolean.valueOf(false));\n }\n return this.f60866o;\n }","title":""},{"docid":"36d39df87f26fd390ee2bb3a1b729862","score":"0.5486357","text":"public final C22903bl mo60039I() {\n if (this.f60845af == null) {\n this.f60845af = new C22903bl<>(\"need_follow_google_ads_setting\", Boolean.valueOf(false));\n }\n return this.f60845af;\n }","title":""},{"docid":"5a3ff6b7853d48744c810f2fea8ec7b4","score":"0.5485925","text":"public boolean getB() {\n if (valueCase_ == 5) {\n return (java.lang.Boolean) value_;\n }\n return false;\n }","title":""},{"docid":"7a4891de24f6ecfad4c34bdc51c1234a","score":"0.5485411","text":"public boolean value() {\n return value;\n }","title":""},{"docid":"110638f566e9196c1178136eaca91293","score":"0.54809153","text":"public boolean getAttributeBoolean( String code ) throws KettleException;","title":""},{"docid":"3cff47d5643404f357b38a7639492234","score":"0.54535383","text":"@NotNull\n public static Nullness fromBoolean(@Nullable Boolean fact) {\n return fact == null ? UNKNOWN : fact ? NULLABLE : NOT_NULL;\n }","title":""},{"docid":"9715a2e621134ccbaa2e677a60f582ce","score":"0.544239","text":"@Override\n\tpublic IDatatype cast(String target) { \n\t\tif (target.equals(RDF.xsdboolean)){\n\t\t\ttry {\n\t\t\t\tFloat f = new Float(getLabel());\n\t\t\t\tif (f == 0) return CoreseBoolean.FALSE;\n\t\t\t\telse if (f == 1) return CoreseBoolean.TRUE;\n\t\t\t\telse return null;\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\treturn super.cast(target); \n\t\t\t}\t\t \n\t\t} else {\n\t\t\treturn super.cast(target); \n\t\t}\n\t}","title":""},{"docid":"c46a4f700c8a7bf5acfd0de0cbea5098","score":"0.5442054","text":"public RubyBoolean getTrue() {\n return trueObject;\n }","title":""},{"docid":"67c6e3971aad80745365c2a5c0e4b28c","score":"0.54369724","text":"public abstract boolean isBoolean();","title":""},{"docid":"7e3baa3bae6260cc280744dc2131715b","score":"0.5436931","text":"boolean hasAttributeId();","title":""},{"docid":"7e3baa3bae6260cc280744dc2131715b","score":"0.5436931","text":"boolean hasAttributeId();","title":""},{"docid":"e3c725dd6948b748278be4e390f34c4d","score":"0.54342335","text":"public boolean getB() {\n if (valueCase_ == 5) {\n return (java.lang.Boolean) value_;\n }\n return false;\n }","title":""},{"docid":"8c134b2244b7850ec7f183015334431d","score":"0.54246366","text":"Boolean createBoolean();","title":""},{"docid":"a0f18a399b0239fa79ecc6c76e294f2c","score":"0.5421083","text":"public Boolean value() {\n return this.value;\n }","title":""},{"docid":"a0f18a399b0239fa79ecc6c76e294f2c","score":"0.5421083","text":"public Boolean value() {\n return this.value;\n }","title":""},{"docid":"a0f18a399b0239fa79ecc6c76e294f2c","score":"0.5421083","text":"public Boolean value() {\n return this.value;\n }","title":""},{"docid":"7ff41ec8bae032607c8a0db31cfeb2fd","score":"0.5420545","text":"public AttributeDefinitionBooleanTest( String name ) {\n super( name );\n }","title":""},{"docid":"61869883d14914c239b4b18380983936","score":"0.5411855","text":"ValBool createValBool();","title":""},{"docid":"3c136b74e1ef5172cdd3862047338320","score":"0.5411215","text":"public Boolean getForManagerBool() {\r\n/* 87 */ return Util.convertNumberToBoolean(((DeviationStatus)this.object).getForManager());\r\n/* */ }","title":""},{"docid":"e8cb32d519641194fc67d2d80cdeb181","score":"0.5407795","text":"boolean attributeIsKnown(String attrName);","title":""},{"docid":"d61114ac11d595d71e08c7edd2171a84","score":"0.5399339","text":"public Boolean readBoolean() throws IOException\n {\n final BerValue v = readBerValue( BOOLEAN );\n if ( v == null )\n {\n return null;\n }\n if ( v.id.isConstructed() )\n {\n throw new IOException( \"Invalid BOOLEAN encoding; should be primitive!\" );\n }\n return convertToBoolean( v.content );\n }","title":""},{"docid":"46c292c327faab440222f3b65310fb5e","score":"0.5395148","text":"public boolean isBoolean(){\n return func_.getRetType() == Type.Bool;\n }","title":""},{"docid":"7500500622b356efaf5d83054e9bddc2","score":"0.5387265","text":"public abstract String supportedBooleanName();","title":""},{"docid":"7b7ce670624c144e9742bcd99dfcb300","score":"0.5378945","text":"public static final String getTRUE() {\n return TRUE;\n }","title":""},{"docid":"d961d466b5e303ada23fb866f1b81fc9","score":"0.53686035","text":"BooleanResource controllable();","title":""},{"docid":"8f6183e99f8b84f17fe745a77c5553dd","score":"0.5367893","text":"void mo84697a(Boolean bool);","title":""},{"docid":"98734d151a1f3d36c3c2aaad66e87f62","score":"0.5362652","text":"public boolean get();","title":""},{"docid":"5220f67eeb95008bd06678b670ceb9be","score":"0.5353955","text":"@ReflectiveMethod(name = \"bR\", types = {})\n public boolean bR(){\n return (boolean) NMSWrapper.getInstance().exec(nmsObject);\n }","title":""},{"docid":"b3436c4e9e307183ee0640eab2dbc392","score":"0.53423625","text":"public synchronized boolean asBoolean() {\n return value;\n }","title":""},{"docid":"ef1686455fffb0fed3eb16037298a7f1","score":"0.53398883","text":"public Boolean getTarget();","title":""},{"docid":"0aa5fd507e06de80aa9964d899a8a9cb","score":"0.53386855","text":"public boolean booleanValue() {\n return value;\n }","title":""},{"docid":"a8c9bae923525b4dc254a5800ddec0e5","score":"0.5332287","text":"@Override\n\tpublic boolean isBoolean() {\n\t\treturn true;\n\t}","title":""},{"docid":"b5cc84f11e5be4abf3143cda1520d919","score":"0.5324637","text":"public T caseBoolLiteral(BoolLiteral object)\n {\n return null;\n }","title":""},{"docid":"1a5f62184168f0cf17be03f82902d95f","score":"0.5321521","text":"public T caseParameterBoolean(ParameterBoolean object) {\n\t\treturn null;\n\t}","title":""},{"docid":"630d9ded87cc49aa31bc5f7e812778c6","score":"0.53176826","text":"public Boolean getBoolean() {\n\n if (raw instanceof Boolean) {\n return (Boolean) raw;\n } else if (raw instanceof String) {\n return Boolean.valueOf((String) raw);\n } else if (raw instanceof Number) {\n return ((Number) raw).longValue() == 1;\n }\n\n return null;\n }","title":""},{"docid":"5e2b65dc96db2d0e0b65e3f57838a35e","score":"0.53170717","text":"public abstract C15215a mo12571b(Boolean bool);","title":""},{"docid":"d7a7f9a0d97df53302b7b2a7d62f244b","score":"0.53140825","text":"public boolean parseBoolean() {\n\t\tbyte next = dataBuffer.get();\n\t\tboolean boolValue = !(next == 0);\n\t\treturn boolValue;\n\t}","title":""},{"docid":"7ec44d0a268d521e298cfd6cdd170e01","score":"0.5306384","text":"boolean shadowAsBoolean();","title":""},{"docid":"0fa51707052ba555d1584dae566bdcea","score":"0.5301701","text":"public final C22903bl mo60036F() {\n if (this.f60871t == null) {\n this.f60871t = new C22903bl<>(\"attract_user_without_login\", Boolean.valueOf(false));\n }\n return this.f60871t;\n }","title":""},{"docid":"1cd2346dab9a8bb729ee5f879d4f0ef3","score":"0.5299253","text":"public T2 caseAttributeDefinitionSimple( AttributeDefinitionSimple object ) {\n return null;\n }","title":""},{"docid":"aef31bb356b95084d386de4ff5bd026f","score":"0.5289728","text":"boolean hasDefvalue();","title":""},{"docid":"a65eacd6f0f58814652c0f682525b699","score":"0.5285687","text":"public Boolean getBoolean (String name)\n {\n return (Boolean) getData(name);\n }","title":""},{"docid":"9b84ca46c445cfbcd6f1383a52dfeef8","score":"0.5285239","text":"public boolean getValue() {\r\n\t\treturn value;\r\n\t}","title":""},{"docid":"faa59949454fef8c17420df4494d5daa","score":"0.52831876","text":"boolean getBoolean(String name, boolean defaultValue);","title":""},{"docid":"56adb87b9b684da3515522a63859845f","score":"0.528023","text":"public Boolean getReflect(){\r\n return reflect.isSelected();\r\n }","title":""},{"docid":"455f085b54f8e422264429b116f4c1e0","score":"0.5278305","text":"boolean readBool();","title":""},{"docid":"8d4eba0f3662c4711f3e89673d56c4a1","score":"0.52755827","text":"private Boolean getConfigBoolean (OConfigItem ci) /* {{{ */\n {\n List values;\n OConfigValue v;\n Boolean b;\n\n values = ci.getValues ();\n if (values.size () != 1)\n {\n GenericJMXLogger.logError (\"GenericJMXConfValue: The \" + ci.getKey ()\n + \" configuration option needs exactly one boolean argument.\");\n return (null);\n }\n\n v = values.get (0);\n if (v.getType () != OConfigValue.OCONFIG_TYPE_BOOLEAN)\n {\n GenericJMXLogger.logError (\"GenericJMXConfValue: The \" + ci.getKey ()\n + \" configuration option needs exactly one boolean argument.\");\n return (null);\n }\n\n return (new Boolean (v.getBoolean ()));\n }","title":""},{"docid":"c3a4c6add462833643d76450b718cd0d","score":"0.5263955","text":"public static AttributeValue of(boolean bool) {\n return new AttributeValues.BooleanImpl(bool);\n }","title":""},{"docid":"877a7610d54afc486c60ff45c77fc2b4","score":"0.52607906","text":"public boolean booleanValue() {\n return val;\n }","title":""},{"docid":"95720794a79c0e7eb9fb464eae69d4af","score":"0.5259332","text":"public RubyBoolean getFalse() {\n return falseObject;\n }","title":""},{"docid":"f68085c9c651cc33700d140de24ba643","score":"0.5258975","text":"public T caseBooleanType(BooleanType object) {\n\t\treturn null;\n\t}","title":""},{"docid":"42005025e8499352bafea75ac7a7a50c","score":"0.52558106","text":"public boolean hasTrueAttribute(String name) {\n return crc.dps.util.Test.trueValue(getAttribute(name));\n }","title":""},{"docid":"1bbafee75f5baba76762dd81f095adbb","score":"0.52553463","text":"native public static int getTaintBoolean(boolean val);","title":""},{"docid":"777216176a7cc15ba62bd2f64d5cd0c7","score":"0.5243908","text":"public Boolean getValue() {\n return this.value;\n }","title":""},{"docid":"777216176a7cc15ba62bd2f64d5cd0c7","score":"0.5243908","text":"public Boolean getValue() {\n return this.value;\n }","title":""},{"docid":"777216176a7cc15ba62bd2f64d5cd0c7","score":"0.5243908","text":"public Boolean getValue() {\n return this.value;\n }","title":""},{"docid":"7a78e7db3256fe06b1716196688b3c47","score":"0.5240141","text":"public TerminalRule getBOOL_LITERALRule() {\n\t\treturn tBOOL_LITERAL;\n\t}","title":""},{"docid":"9ee4c49c89c0cfafa9fda4ea083550d7","score":"0.5237567","text":"public oBoolean() {\n\t\tthis(false);\n\t}","title":""},{"docid":"969dbbc208cfed95f107e6ec646d0937","score":"0.5234481","text":"boolean hasAttributes();","title":""},{"docid":"d8d213c9b6489a4d35fa050d981f6316","score":"0.5228936","text":"public boolean getBoolean() throws ValueFormatException, RepositoryException;","title":""},{"docid":"c90fec13cad9f5867bb2477a3234b67e","score":"0.5225904","text":"public boolean getBoolean() throws ValueException;","title":""},{"docid":"2180a3d4b956edffea3dbec45e35430d","score":"0.521925","text":"public boolean getValue()\n {\n return value;\n }","title":""},{"docid":"1f901fc9bdbcd1518ed5312b8c6446b4","score":"0.5209664","text":"public boolean hasAttributeId() {\n return fieldSetFlags()[0];\n }","title":""},{"docid":"0e6a5bc671116cf94232c73b85a93242","score":"0.52039486","text":"@Override\n public boolean getSpecified() {\n return attrValue.specified;\n }","title":""},{"docid":"0bf1f22915a964c7d4c23a10bdb85d2d","score":"0.5202307","text":"public static final String getFALSE() {\n return FALSE;\n }","title":""},{"docid":"11a82d141d4f55ca723f1e62be233b46","score":"0.5198043","text":"R visitBoolean(boolean b);","title":""}],"string":"[\n {\n \"docid\": \"d3abe2d4abf6967d06b3eebfa7fe882a\",\n \"score\": \"0.669348\",\n \"text\": \"public T2 caseAttributeValueBoolean( AttributeValueBoolean object ) {\\n return null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9003f6a76c09d4b73c686d2a74f46888\",\n \"score\": \"0.6450159\",\n \"text\": \"public Boolean getBoolAttribute(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0e9dc577e249c761a51337cebb41f9f\",\n \"score\": \"0.63813156\",\n \"text\": \"public T2 caseDatatypeDefinitionBoolean( DatatypeDefinitionBoolean object ) {\\n return null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f0a88614a99435d01f3c4dfdea539f3b\",\n \"score\": \"0.6095586\",\n \"text\": \"public TerminalRule getBOOLEANRule() {\\n\\t\\treturn tBOOLEAN;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f0a88614a99435d01f3c4dfdea539f3b\",\n \"score\": \"0.6095586\",\n \"text\": \"public TerminalRule getBOOLEANRule() {\\n\\t\\treturn tBOOLEAN;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"59c9fa17a3de1b304cc23873e2fc3b4d\",\n \"score\": \"0.59791386\",\n \"text\": \"public abstract boolean getBoolean();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1efa7b17c72a7ba7a5af9fa4a9d693f\",\n \"score\": \"0.59415233\",\n \"text\": \"@Override\\n public Boolean getBoolean() {\\n return (Boolean) DataType.BOOLEAN.getValueIfType(this.getObject());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8dc80c390be56bb8dbf49d676ac3879b\",\n \"score\": \"0.5909405\",\n \"text\": \"@Nullable\\n public Boolean toBoolean() {\\n return this == UNKNOWN ? null : this == NULLABLE;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6175c44c0cfab8b74e7fe2c025b628b2\",\n \"score\": \"0.5904907\",\n \"text\": \"Boolean getBoolean();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"335013589bc7c7221bc6ec69da57a725\",\n \"score\": \"0.5902103\",\n \"text\": \"org.hl7.fhir.Boolean getAsNeededBoolean();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e39ae62b0a488884765a4f0687895643\",\n \"score\": \"0.57899266\",\n \"text\": \"boolean getBoolValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"272e728ecc157a8223a92f86ca2b4722\",\n \"score\": \"0.5786573\",\n \"text\": \"public Boolean get_boolean(){\\r\\n\\t\\treturn this.b;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"15833dc8f96281e608793467bf64cde2\",\n \"score\": \"0.5785984\",\n \"text\": \"public T caseBooleanFunctionDefinition(BooleanFunctionDefinition object) {\\r\\n\\t\\treturn null;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0f8ce6f45e4d262bdd79ac17f1b2692\",\n \"score\": \"0.57850015\",\n \"text\": \"public static boolean getAttributeValueAsBoolean (NamedNodeMap attribs, String attributeName, boolean defValue) throws\\r\\n DOMException {\\r\\n String v = getAttributeValue (attribs, attributeName);\\r\\n boolean result = defValue;\\r\\n\\r\\n if (v != null) {\\r\\n try {\\r\\n result = \\\"true\\\".equalsIgnoreCase(v) || \\\"yes\\\".equalsIgnoreCase(v);\\r\\n } catch (NumberFormatException ex) {\\r\\n }\\r\\n }\\r\\n return result;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7cdedeafafa5305bb32f3bb6571fecaf\",\n \"score\": \"0.575249\",\n \"text\": \"@Override\\n public boolean getAsBoolean() {\\n\\n // if this datum isn't a boolean or integer type, we've got an error...\\n GeneralDataType gt = type.generalType();\\n Checks.isTrue( (gt == SignedInteger) || (gt == UnsignedInteger) || (gt == Boolean),\\n \\\"Attempted to get boolean from simple datum that is neither boolean nor integer\\\" );\\n\\n // get our velue...\\n return (getAsLong() != 0);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3bf0c82d00247c8f28eba4f65335d4bc\",\n \"score\": \"0.571387\",\n \"text\": \"boolean getBool();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b79ae173366225fda1cea7364cf15471\",\n \"score\": \"0.5707843\",\n \"text\": \"boolean getBoolean();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"587b24d072fdf945f5b2db9fe2cb637d\",\n \"score\": \"0.5689878\",\n \"text\": \"public Optional isActive()\\n {\\n return getBooleanAttribute(AttributeNames.RFC7643.ACTIVE);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7c2f0976d449f77cee6c5df5852a08d6\",\n \"score\": \"0.568087\",\n \"text\": \"@Override\\n public boolean getElementAsBoolean() throws XMLStreamException\\n {\\n ValueDecoderFactory.BooleanDecoder dec = _decoderFactory().getBooleanDecoder();\\n getElementAs(dec);\\n return dec.getValue();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b63683b1fb51fa84aba32f6b8b75e017\",\n \"score\": \"0.56778914\",\n \"text\": \"public abstract boolean supportsBoolean();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1755520d45561fdb50391b5138d0b78d\",\n \"score\": \"0.5667233\",\n \"text\": \"public boolean getBool()\\n { \\t\\n\\t return b;\\t\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cc8af610ddebb2f776e48e6caaa97cf4\",\n \"score\": \"0.5653847\",\n \"text\": \"public static boolean getAttributeAsBoolean(XmlPullParser parser, String attributeName, boolean defaultValue)\\n\\t\\t\\tthrows Exception {\\n\\t\\t// parser.getText()\\n\\t\\tString value = parser.getAttributeValue(null, attributeName);\\n\\n\\t\\tif (!StringUtils.hasText(value)) {\\n\\t\\t\\treturn defaultValue;\\n\\t\\t}\\n\\n\\t\\treturn Boolean.parseBoolean(value);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a37f6014df05149e4228c1878517ce00\",\n \"score\": \"0.56393313\",\n \"text\": \"TDataTypes getBoolean();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"567eed36bcda7a0011614d92c810a869\",\n \"score\": \"0.56356883\",\n \"text\": \"@Override\\n public Class getReturnType() {\\n return Boolean.class;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1fd28f1616e196891daa45fbeb9b315c\",\n \"score\": \"0.5598548\",\n \"text\": \"public Boolean getBoolean(Object object) throws KettleValueException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"07a125185bd6c0866ec7906674ba3c8f\",\n \"score\": \"0.55870616\",\n \"text\": \"boolean BOOLEAN()\\n {\\n if (saved(\\\"BOOLEAN\\\",BOOLEAN)) return reuse();\\n if (!is(true,()->Word(),()->next(\\\"boolean\\\"))) return reject();\\n Spacing();\\n return accept();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c14b45603a0c91a49a5262de5e64e169\",\n \"score\": \"0.5580531\",\n \"text\": \"@Override\\n protected AttributeDefinitionBoolean getFixture() {\\n return (AttributeDefinitionBoolean)fixture;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"09a88da4f911380053aba40892cdd65b\",\n \"score\": \"0.55491805\",\n \"text\": \"public final boolean execute() {\\r\\n\\t\\tboolean result = false;\\r\\n\\t\\tif (!this.attributed && this.itsAttrMapping == null)\\r\\n\\t\\t\\tresult = true;\\r\\n\\t\\telse if (this.attributed && this.itsAttrMapping != null)\\r\\n\\t\\t\\tresult = true;\\r\\n\\t\\telse\\r\\n\\t\\t\\tresult = false;\\r\\n//\\t\\tSystem.out.println(\\\"Constraint_InheritAttribute.execute: \\\"+result);\\r\\n\\t\\treturn result;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fa5e52053700868dd3f276b76a901ac2\",\n \"score\": \"0.55439764\",\n \"text\": \"public boolean isAttributable()\\n\\t{\\n\\t\\treturn attributable;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2e74f7b0a3d6fec0f00426990953cb62\",\n \"score\": \"0.55225104\",\n \"text\": \"boolean getValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2e74f7b0a3d6fec0f00426990953cb62\",\n \"score\": \"0.55225104\",\n \"text\": \"boolean getValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3fcbfe0bda9926abddffccbdde371f1a\",\n \"score\": \"0.55205363\",\n \"text\": \"boolean getAfl();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5dc4d60f321a61e73fe3dd354c52466c\",\n \"score\": \"0.5515957\",\n \"text\": \"public T2 caseAttributeDefinition( AttributeDefinition object ) {\\n return null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"318b762b9acc1616e72e7c68529952fc\",\n \"score\": \"0.55044967\",\n \"text\": \"public boolean booleanVal() {\\n\\t\\t\\tassert kind == Kind.BOOLEAN_LITERAL;\\n\\t\\t\\treturn getText().equals(\\\"true\\\");\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ee44271062cd6347890db248ce39a4d9\",\n \"score\": \"0.54892355\",\n \"text\": \"public final C22903bl mo60072b() {\\n if (this.f60866o == null) {\\n this.f60866o = new C22903bl<>(\\\"has_click_like_self_visible_guide\\\", Boolean.valueOf(false));\\n }\\n return this.f60866o;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"36d39df87f26fd390ee2bb3a1b729862\",\n \"score\": \"0.5486357\",\n \"text\": \"public final C22903bl mo60039I() {\\n if (this.f60845af == null) {\\n this.f60845af = new C22903bl<>(\\\"need_follow_google_ads_setting\\\", Boolean.valueOf(false));\\n }\\n return this.f60845af;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5a3ff6b7853d48744c810f2fea8ec7b4\",\n \"score\": \"0.5485925\",\n \"text\": \"public boolean getB() {\\n if (valueCase_ == 5) {\\n return (java.lang.Boolean) value_;\\n }\\n return false;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7a4891de24f6ecfad4c34bdc51c1234a\",\n \"score\": \"0.5485411\",\n \"text\": \"public boolean value() {\\n return value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"110638f566e9196c1178136eaca91293\",\n \"score\": \"0.54809153\",\n \"text\": \"public boolean getAttributeBoolean( String code ) throws KettleException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3cff47d5643404f357b38a7639492234\",\n \"score\": \"0.54535383\",\n \"text\": \"@NotNull\\n public static Nullness fromBoolean(@Nullable Boolean fact) {\\n return fact == null ? UNKNOWN : fact ? NULLABLE : NOT_NULL;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9715a2e621134ccbaa2e677a60f582ce\",\n \"score\": \"0.544239\",\n \"text\": \"@Override\\n\\tpublic IDatatype cast(String target) { \\n\\t\\tif (target.equals(RDF.xsdboolean)){\\n\\t\\t\\ttry {\\n\\t\\t\\t\\tFloat f = new Float(getLabel());\\n\\t\\t\\t\\tif (f == 0) return CoreseBoolean.FALSE;\\n\\t\\t\\t\\telse if (f == 1) return CoreseBoolean.TRUE;\\n\\t\\t\\t\\telse return null;\\n\\t\\t\\t} catch (NumberFormatException e) {\\n\\t\\t\\t\\treturn super.cast(target); \\n\\t\\t\\t}\\t\\t \\n\\t\\t} else {\\n\\t\\t\\treturn super.cast(target); \\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c46a4f700c8a7bf5acfd0de0cbea5098\",\n \"score\": \"0.5442054\",\n \"text\": \"public RubyBoolean getTrue() {\\n return trueObject;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"67c6e3971aad80745365c2a5c0e4b28c\",\n \"score\": \"0.54369724\",\n \"text\": \"public abstract boolean isBoolean();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7e3baa3bae6260cc280744dc2131715b\",\n \"score\": \"0.5436931\",\n \"text\": \"boolean hasAttributeId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7e3baa3bae6260cc280744dc2131715b\",\n \"score\": \"0.5436931\",\n \"text\": \"boolean hasAttributeId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3c725dd6948b748278be4e390f34c4d\",\n \"score\": \"0.54342335\",\n \"text\": \"public boolean getB() {\\n if (valueCase_ == 5) {\\n return (java.lang.Boolean) value_;\\n }\\n return false;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8c134b2244b7850ec7f183015334431d\",\n \"score\": \"0.54246366\",\n \"text\": \"Boolean createBoolean();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0f18a399b0239fa79ecc6c76e294f2c\",\n \"score\": \"0.5421083\",\n \"text\": \"public Boolean value() {\\n return this.value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0f18a399b0239fa79ecc6c76e294f2c\",\n \"score\": \"0.5421083\",\n \"text\": \"public Boolean value() {\\n return this.value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0f18a399b0239fa79ecc6c76e294f2c\",\n \"score\": \"0.5421083\",\n \"text\": \"public Boolean value() {\\n return this.value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7ff41ec8bae032607c8a0db31cfeb2fd\",\n \"score\": \"0.5420545\",\n \"text\": \"public AttributeDefinitionBooleanTest( String name ) {\\n super( name );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"61869883d14914c239b4b18380983936\",\n \"score\": \"0.5411855\",\n \"text\": \"ValBool createValBool();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3c136b74e1ef5172cdd3862047338320\",\n \"score\": \"0.5411215\",\n \"text\": \"public Boolean getForManagerBool() {\\r\\n/* 87 */ return Util.convertNumberToBoolean(((DeviationStatus)this.object).getForManager());\\r\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e8cb32d519641194fc67d2d80cdeb181\",\n \"score\": \"0.5407795\",\n \"text\": \"boolean attributeIsKnown(String attrName);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d61114ac11d595d71e08c7edd2171a84\",\n \"score\": \"0.5399339\",\n \"text\": \"public Boolean readBoolean() throws IOException\\n {\\n final BerValue v = readBerValue( BOOLEAN );\\n if ( v == null )\\n {\\n return null;\\n }\\n if ( v.id.isConstructed() )\\n {\\n throw new IOException( \\\"Invalid BOOLEAN encoding; should be primitive!\\\" );\\n }\\n return convertToBoolean( v.content );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"46c292c327faab440222f3b65310fb5e\",\n \"score\": \"0.5395148\",\n \"text\": \"public boolean isBoolean(){\\n return func_.getRetType() == Type.Bool;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7500500622b356efaf5d83054e9bddc2\",\n \"score\": \"0.5387265\",\n \"text\": \"public abstract String supportedBooleanName();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7b7ce670624c144e9742bcd99dfcb300\",\n \"score\": \"0.5378945\",\n \"text\": \"public static final String getTRUE() {\\n return TRUE;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d961d466b5e303ada23fb866f1b81fc9\",\n \"score\": \"0.53686035\",\n \"text\": \"BooleanResource controllable();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8f6183e99f8b84f17fe745a77c5553dd\",\n \"score\": \"0.5367893\",\n \"text\": \"void mo84697a(Boolean bool);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"98734d151a1f3d36c3c2aaad66e87f62\",\n \"score\": \"0.5362652\",\n \"text\": \"public boolean get();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5220f67eeb95008bd06678b670ceb9be\",\n \"score\": \"0.5353955\",\n \"text\": \"@ReflectiveMethod(name = \\\"bR\\\", types = {})\\n public boolean bR(){\\n return (boolean) NMSWrapper.getInstance().exec(nmsObject);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b3436c4e9e307183ee0640eab2dbc392\",\n \"score\": \"0.53423625\",\n \"text\": \"public synchronized boolean asBoolean() {\\n return value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ef1686455fffb0fed3eb16037298a7f1\",\n \"score\": \"0.53398883\",\n \"text\": \"public Boolean getTarget();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0aa5fd507e06de80aa9964d899a8a9cb\",\n \"score\": \"0.53386855\",\n \"text\": \"public boolean booleanValue() {\\n return value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a8c9bae923525b4dc254a5800ddec0e5\",\n \"score\": \"0.5332287\",\n \"text\": \"@Override\\n\\tpublic boolean isBoolean() {\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b5cc84f11e5be4abf3143cda1520d919\",\n \"score\": \"0.5324637\",\n \"text\": \"public T caseBoolLiteral(BoolLiteral object)\\n {\\n return null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1a5f62184168f0cf17be03f82902d95f\",\n \"score\": \"0.5321521\",\n \"text\": \"public T caseParameterBoolean(ParameterBoolean object) {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"630d9ded87cc49aa31bc5f7e812778c6\",\n \"score\": \"0.53176826\",\n \"text\": \"public Boolean getBoolean() {\\n\\n if (raw instanceof Boolean) {\\n return (Boolean) raw;\\n } else if (raw instanceof String) {\\n return Boolean.valueOf((String) raw);\\n } else if (raw instanceof Number) {\\n return ((Number) raw).longValue() == 1;\\n }\\n\\n return null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e2b65dc96db2d0e0b65e3f57838a35e\",\n \"score\": \"0.53170717\",\n \"text\": \"public abstract C15215a mo12571b(Boolean bool);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d7a7f9a0d97df53302b7b2a7d62f244b\",\n \"score\": \"0.53140825\",\n \"text\": \"public boolean parseBoolean() {\\n\\t\\tbyte next = dataBuffer.get();\\n\\t\\tboolean boolValue = !(next == 0);\\n\\t\\treturn boolValue;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7ec44d0a268d521e298cfd6cdd170e01\",\n \"score\": \"0.5306384\",\n \"text\": \"boolean shadowAsBoolean();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0fa51707052ba555d1584dae566bdcea\",\n \"score\": \"0.5301701\",\n \"text\": \"public final C22903bl mo60036F() {\\n if (this.f60871t == null) {\\n this.f60871t = new C22903bl<>(\\\"attract_user_without_login\\\", Boolean.valueOf(false));\\n }\\n return this.f60871t;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1cd2346dab9a8bb729ee5f879d4f0ef3\",\n \"score\": \"0.5299253\",\n \"text\": \"public T2 caseAttributeDefinitionSimple( AttributeDefinitionSimple object ) {\\n return null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aef31bb356b95084d386de4ff5bd026f\",\n \"score\": \"0.5289728\",\n \"text\": \"boolean hasDefvalue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a65eacd6f0f58814652c0f682525b699\",\n \"score\": \"0.5285687\",\n \"text\": \"public Boolean getBoolean (String name)\\n {\\n return (Boolean) getData(name);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9b84ca46c445cfbcd6f1383a52dfeef8\",\n \"score\": \"0.5285239\",\n \"text\": \"public boolean getValue() {\\r\\n\\t\\treturn value;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"faa59949454fef8c17420df4494d5daa\",\n \"score\": \"0.52831876\",\n \"text\": \"boolean getBoolean(String name, boolean defaultValue);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"56adb87b9b684da3515522a63859845f\",\n \"score\": \"0.528023\",\n \"text\": \"public Boolean getReflect(){\\r\\n return reflect.isSelected();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"455f085b54f8e422264429b116f4c1e0\",\n \"score\": \"0.5278305\",\n \"text\": \"boolean readBool();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8d4eba0f3662c4711f3e89673d56c4a1\",\n \"score\": \"0.52755827\",\n \"text\": \"private Boolean getConfigBoolean (OConfigItem ci) /* {{{ */\\n {\\n List values;\\n OConfigValue v;\\n Boolean b;\\n\\n values = ci.getValues ();\\n if (values.size () != 1)\\n {\\n GenericJMXLogger.logError (\\\"GenericJMXConfValue: The \\\" + ci.getKey ()\\n + \\\" configuration option needs exactly one boolean argument.\\\");\\n return (null);\\n }\\n\\n v = values.get (0);\\n if (v.getType () != OConfigValue.OCONFIG_TYPE_BOOLEAN)\\n {\\n GenericJMXLogger.logError (\\\"GenericJMXConfValue: The \\\" + ci.getKey ()\\n + \\\" configuration option needs exactly one boolean argument.\\\");\\n return (null);\\n }\\n\\n return (new Boolean (v.getBoolean ()));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c3a4c6add462833643d76450b718cd0d\",\n \"score\": \"0.5263955\",\n \"text\": \"public static AttributeValue of(boolean bool) {\\n return new AttributeValues.BooleanImpl(bool);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"877a7610d54afc486c60ff45c77fc2b4\",\n \"score\": \"0.52607906\",\n \"text\": \"public boolean booleanValue() {\\n return val;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"95720794a79c0e7eb9fb464eae69d4af\",\n \"score\": \"0.5259332\",\n \"text\": \"public RubyBoolean getFalse() {\\n return falseObject;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f68085c9c651cc33700d140de24ba643\",\n \"score\": \"0.5258975\",\n \"text\": \"public T caseBooleanType(BooleanType object) {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42005025e8499352bafea75ac7a7a50c\",\n \"score\": \"0.52558106\",\n \"text\": \"public boolean hasTrueAttribute(String name) {\\n return crc.dps.util.Test.trueValue(getAttribute(name));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1bbafee75f5baba76762dd81f095adbb\",\n \"score\": \"0.52553463\",\n \"text\": \"native public static int getTaintBoolean(boolean val);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"777216176a7cc15ba62bd2f64d5cd0c7\",\n \"score\": \"0.5243908\",\n \"text\": \"public Boolean getValue() {\\n return this.value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"777216176a7cc15ba62bd2f64d5cd0c7\",\n \"score\": \"0.5243908\",\n \"text\": \"public Boolean getValue() {\\n return this.value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"777216176a7cc15ba62bd2f64d5cd0c7\",\n \"score\": \"0.5243908\",\n \"text\": \"public Boolean getValue() {\\n return this.value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7a78e7db3256fe06b1716196688b3c47\",\n \"score\": \"0.5240141\",\n \"text\": \"public TerminalRule getBOOL_LITERALRule() {\\n\\t\\treturn tBOOL_LITERAL;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9ee4c49c89c0cfafa9fda4ea083550d7\",\n \"score\": \"0.5237567\",\n \"text\": \"public oBoolean() {\\n\\t\\tthis(false);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"969dbbc208cfed95f107e6ec646d0937\",\n \"score\": \"0.5234481\",\n \"text\": \"boolean hasAttributes();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d8d213c9b6489a4d35fa050d981f6316\",\n \"score\": \"0.5228936\",\n \"text\": \"public boolean getBoolean() throws ValueFormatException, RepositoryException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c90fec13cad9f5867bb2477a3234b67e\",\n \"score\": \"0.5225904\",\n \"text\": \"public boolean getBoolean() throws ValueException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2180a3d4b956edffea3dbec45e35430d\",\n \"score\": \"0.521925\",\n \"text\": \"public boolean getValue()\\n {\\n return value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f901fc9bdbcd1518ed5312b8c6446b4\",\n \"score\": \"0.5209664\",\n \"text\": \"public boolean hasAttributeId() {\\n return fieldSetFlags()[0];\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e6a5bc671116cf94232c73b85a93242\",\n \"score\": \"0.52039486\",\n \"text\": \"@Override\\n public boolean getSpecified() {\\n return attrValue.specified;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0bf1f22915a964c7d4c23a10bdb85d2d\",\n \"score\": \"0.5202307\",\n \"text\": \"public static final String getFALSE() {\\n return FALSE;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11a82d141d4f55ca723f1e62be233b46\",\n \"score\": \"0.5198043\",\n \"text\": \"R visitBoolean(boolean b);\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":333,"cells":{"query_id":{"kind":"string","value":"d9f8aa24d3fc72c0d502130e09da6559"},"query":{"kind":"string","value":"Gets the value of the isSynchronous property."},"positive_passages":{"kind":"list like","value":[{"docid":"427edec8d131dd8ecf64bc4ca8c4060f","score":"0.8849998","text":"public boolean isIsSynchronous() {\n\t\t\t\treturn isSynchronous;\n\t\t\t}","title":""}],"string":"[\n {\n \"docid\": \"427edec8d131dd8ecf64bc4ca8c4060f\",\n \"score\": \"0.8849998\",\n \"text\": \"public boolean isIsSynchronous() {\\n\\t\\t\\t\\treturn isSynchronous;\\n\\t\\t\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"401567b6cef49e62e8e8de5dbf4012c3","score":"0.83393973","text":"private synchronized boolean isSynchronous() {\n return _synchronous;\n }","title":""},{"docid":"e1e628d62b923d3a4e2a8f294e0d0e13","score":"0.8188381","text":"public boolean isSynchronous();","title":""},{"docid":"7db146f634a23baa11bbe0a5470bb5c4","score":"0.79159534","text":"@Override\n\tpublic boolean isSynchronous() {\n\t\treturn true;\n\t}","title":""},{"docid":"b5879969e94c3411f7c0f7b73c7d577d","score":"0.750897","text":"public void setIsSynchronous(boolean value) {\n\t\t\t\tthis.isSynchronous = value;\n\t\t\t}","title":""},{"docid":"3400eb407472b6257c7a04f9c7abf921","score":"0.7100961","text":"public Byte getIsSync() {\n return isSync;\n }","title":""},{"docid":"bb87d0572bd01d5d0580b0735d85bcd2","score":"0.6707567","text":"public boolean isSyncMode() {\r\n\t\treturn syncMode;\r\n\t}","title":""},{"docid":"2944f374cffb0f811371fb12ee0c5352","score":"0.66998297","text":"public void setSynchronous(boolean synchronous) {\n this.synchronous = synchronous;\n }","title":""},{"docid":"4efe0f3cc1ab82b901c0b3474dfcb322","score":"0.66885424","text":"public Boolean isInSync() {\n return isInSync;\n }","title":""},{"docid":"6b505eb1142e1f2f99723345e7357fa1","score":"0.66651976","text":"public boolean isSynchronized() {\n return isSynchronized;\n }","title":""},{"docid":"7f32b017f37e66a778c2acc46863d11d","score":"0.66479605","text":"public boolean isSynchronous() throws JAXRException {\n synchronized (this) {\n if (!isClosed) {\n return synchronous;\n } else {\n throw new JAXRException(ResourceBundle.getBundle(\"com/sun/xml/registry/uddi/LocalStrings\").getString(\"ConnectionImpl:Connection_is_Closed\"));\n }\n }\n }","title":""},{"docid":"757b80e14306ef632353b5939b1005ca","score":"0.6562885","text":"String getSynchronousAsString(int synchronous) {\n switch (synchronous) {\n case 0:\n return \"OFF\";\n case 1:\n return \"NORMAL\";\n case 2:\n return \"FULL\";\n case 3:\n return \"EXTRA\";\n default:\n return \"UNKNOWN\";\n }\n }","title":""},{"docid":"1b656c8eceb09aa1e28f64934af7cda5","score":"0.6520547","text":"public SimpleBooleanProperty getSynchronize() {\n return synchronize;\n }","title":""},{"docid":"47a2a8e66d19a09a48d41a25288eca96","score":"0.6503483","text":"public RubyBoolean sync() {\n return getRuntime().newBoolean(handler.isSync());\n }","title":""},{"docid":"6b1f4fd72bf58fc7858cbc4b3e8265a5","score":"0.6399888","text":"public Boolean getcacheSynchAsynchronous() {\n if (!getSession().hasCacheSynchronizationManager()) {\n return Boolean.FALSE;\n }\n return Boolean.valueOf(getSession().getCacheSynchronizationManager().isAsynchronous());\n }","title":""},{"docid":"1ad8ed66621b4d73c7b8295467fb05b8","score":"0.6359349","text":"public String getSyncFlag() {\n return (String)getAttributeInternal(SYNCFLAG);\n }","title":""},{"docid":"8f20b1c614ec0aacd0056a8f0f43ec88","score":"0.6286951","text":"public static byte getSync() {\n return SYNC;\n }","title":""},{"docid":"af6d9174ced1fef14b57eef1a05a88de","score":"0.6264827","text":"public boolean isSyncStop() {\n return syncStop;\n }","title":""},{"docid":"47beca649b3f2362a9391c70274bb132","score":"0.6263019","text":"public boolean isSyncNoMultiple() {\n return syncNoMultiple;\n }","title":""},{"docid":"cafbea86a364816e8151dcfbb72033ba","score":"0.6156004","text":"public boolean isSynchronized();","title":""},{"docid":"7db3135969452936bc25d3cc6c8b3a6c","score":"0.6114931","text":"boolean isSynchronized();","title":""},{"docid":"7db3135969452936bc25d3cc6c8b3a6c","score":"0.6114931","text":"boolean isSynchronized();","title":""},{"docid":"17d8d5d5f8d7baa9f6e5982da5802067","score":"0.60539436","text":"public boolean hasSyncTime() {\n return result.hasSyncTime();\n }","title":""},{"docid":"17d8d5d5f8d7baa9f6e5982da5802067","score":"0.60539436","text":"public boolean hasSyncTime() {\n return result.hasSyncTime();\n }","title":""},{"docid":"17d8d5d5f8d7baa9f6e5982da5802067","score":"0.60539436","text":"public boolean hasSyncTime() {\n return result.hasSyncTime();\n }","title":""},{"docid":"17d8d5d5f8d7baa9f6e5982da5802067","score":"0.60539436","text":"public boolean hasSyncTime() {\n return result.hasSyncTime();\n }","title":""},{"docid":"17d8d5d5f8d7baa9f6e5982da5802067","score":"0.60539436","text":"public boolean hasSyncTime() {\n return result.hasSyncTime();\n }","title":""},{"docid":"6f986f01121840c43325120230ea60f1","score":"0.6053128","text":"public short synchronization() {\r\n return sync;\r\n }","title":""},{"docid":"50db67b9b0ba6dd32e109ea698e7b0f9","score":"0.5995547","text":"public boolean isReceiptSynchronous() {\n return getHeader(AS2Header.RECEIPT_DELIVERY_OPTION) == null;\n }","title":""},{"docid":"7aab0c6f4a875d790a83c3f1b18b811b","score":"0.5966058","text":"public String getSyncType() {\n return syncType;\n }","title":""},{"docid":"cc5f13dc977cb8f8dea690b10bea939e","score":"0.5814483","text":"public boolean isSynchronizedPeriod() {\n return synchronizedPeriod;\n }","title":""},{"docid":"4040c8b5a05086af3b820ec16c248214","score":"0.57274795","text":"public boolean getAlwaysSendSetIsolation() {\n\t\treturn false;\n\t}","title":""},{"docid":"eaa8757ba6d109b56a2ae58f35e7c1ce","score":"0.5675828","text":"public String getIslock() {\r\n\t\treturn islock;\r\n\t}","title":""},{"docid":"8cf47a50c1d9cef68e1f1d26a6dc681f","score":"0.55825335","text":"public boolean isSynchedLocalTransactionAllowed() {\n return synchedLocalTransactionAllowed;\n }","title":""},{"docid":"46f57fbc9f1402107d8addfc995c7bdb","score":"0.55813026","text":"public boolean isBlocking() {\n\t\treturn this.blocking;\n\t}","title":""},{"docid":"fa6dbcecdcefa7147e64da0d2b86368a","score":"0.55396676","text":"@Override\n\tpublic int getSyncStatus() {\n\t\treturn _fileGroup.getSyncStatus();\n\t}","title":""},{"docid":"a28368662cecab07c254f1446a941717","score":"0.55365646","text":"public void setSynchronized(boolean sync);","title":""},{"docid":"889dbcb6889126c679d0a4f0dd52715b","score":"0.55290794","text":"public boolean isContinuousExecution(){\n return continousExecution;\n }","title":""},{"docid":"2e367dd0e3713b7f6c5daa22cab1183e","score":"0.5511265","text":"public Date getSyncTime() {\n return syncTime;\n }","title":""},{"docid":"d39805e62c909beda4be916bc5db2852","score":"0.54953295","text":"public boolean isSetSyncSettings() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SYNCSETTINGS_ISSET_ID);\n }","title":""},{"docid":"65b79751a408261f532f000a8dfe8038","score":"0.54800177","text":"public Boolean getConsistent() {\n\t\treturn consistent;\n\t}","title":""},{"docid":"199c91fff1cd3534005ef91eb54e972b","score":"0.54785013","text":"public boolean isCritical()\n {\n return this.critical;\n }","title":""},{"docid":"f713a9dad8f50cf58cef36249ff9703b","score":"0.54783916","text":"public boolean isCritical() {\n return critical;\n }","title":""},{"docid":"bb455020c1a148151bdf75879ef69c74","score":"0.5456767","text":"public boolean isSetSyncSticker() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SYNCSTICKER_ISSET_ID);\n }","title":""},{"docid":"b85f5c4a935e167bcf4e92adf54fc4f9","score":"0.54313666","text":"public boolean isCritical() {\n return criticality;\n }","title":""},{"docid":"d731fc428b5704ea711cdbdde7a271e7","score":"0.54255575","text":"boolean isSetSyncpercentage();","title":""},{"docid":"2cf4ef7c5abb837926599d04f24a3958","score":"0.5417378","text":"@Attribute(desc = \"Whether the journal is synchronized when receiving transactional data\")\n boolean isJournalSyncTransactional();","title":""},{"docid":"e0c263c6d7ea9c18b029c06f368289ab","score":"0.5387947","text":"@java.lang.Override\n public boolean getUseCumulativeTimeTableSync() {\n return useCumulativeTimeTableSync_;\n }","title":""},{"docid":"713197f66da0186f785f720a76192a52","score":"0.5387701","text":"public void setSynchronous(boolean sync) throws JAXRException {\n synchronized (this) {\n if (!isClosed) {\n synchronous = sync;\n } else {\n throw new JAXRException(ResourceBundle.getBundle(\"com/sun/xml/registry/uddi/LocalStrings\").getString(\"ConnectionImpl:Connection_is_closed\"));\n }\n }\n }","title":""},{"docid":"79583300af28d072406ae50c3af63da0","score":"0.5382789","text":"public void setIsSync(Byte isSync) {\n this.isSync = isSync;\n }","title":""},{"docid":"874f9ea5640096fc00821578a2996553","score":"0.5377723","text":"public boolean isSetSyncProfile() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SYNCPROFILE_ISSET_ID);\n }","title":""},{"docid":"380bb333dbf8a37088cd9fba41824ce0","score":"0.5377328","text":"public boolean synchronousSync(Duration timeout) {\n\t\tCuratorFramework curator = _client;\n\t\ttry {\n\t\t\t// Curator sync() is always a background operation. Use a latch to block until it\n\t\t\t// finishes.\n\t\t\tfinal CountDownLatch latch = new CountDownLatch(1);\n\t\t\tcurator.sync().inBackground(new BackgroundCallback() {\n\t\t\t\t@Override\n\t\t\t\tpublic void processResult(CuratorFramework curator, CuratorEvent event)\n\t\t\t\t\t\tthrows Exception {\n\t\t\t\t\tif (event.getType() == CuratorEventType.SYNC) {\n\t\t\t\t\t\tlatch.countDown();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}).forPath(_path);\n\n\t\t\t// Wait for sync to complete.\n\t\t\treturn latch.await(timeout.toMillis(), TimeUnit.MILLISECONDS);\n\t\t} catch (InterruptedException e) {\n\t\t\tSystem.out.println(\"Error: \" + e);\n\t\t\tLOG.info(\"exception \" + e);\n\t\t\te.printStackTrace();\n\t\t\treturn false;\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Error: \" + e);\n\t\t\tLOG.info(\"exception \" + e);\n\t\t\te.printStackTrace();\n\t\t\treturn false;\n\t\t\t// throw Throwables.propagate(e);\n\t\t}\n\t}","title":""},{"docid":"b283daf5bc22c8952cfa06cabe934ecb","score":"0.5368859","text":"public String getIsSend() {\n return isSend;\n }","title":""},{"docid":"409a163074f3657b58a1c4e47f096fb9","score":"0.53555167","text":"@java.lang.Override\n public boolean getUseCumulativeTimeTableSync() {\n return useCumulativeTimeTableSync_;\n }","title":""},{"docid":"e0fda6cd029d2039e86102e78d51bb1d","score":"0.5342574","text":"public boolean getMultiTask() {\n\t\treturn fMultiTask;\n\t}","title":""},{"docid":"fea409c3c096534db9e89c86b15f2310","score":"0.5307633","text":"boolean isSyncStartup();","title":""},{"docid":"1958496cb18ae43828b113035543c956","score":"0.53032386","text":"@JRubyMethod(name = \"sync\")\n public RubyBoolean sync(ThreadContext context) {\n return context.getRuntime().newBoolean(getOpenFileChecked().getMainStream().isSync());\n }","title":""},{"docid":"1958496cb18ae43828b113035543c956","score":"0.53032386","text":"@JRubyMethod(name = \"sync\")\n public RubyBoolean sync(ThreadContext context) {\n return context.getRuntime().newBoolean(getOpenFileChecked().getMainStream().isSync());\n }","title":""},{"docid":"6108e4f83116cd4e3c73a64afe4bd135","score":"0.52853197","text":"@Attribute(desc = \"Whether the journal is synchronized when receiving non-transactional datar\")\n boolean isJournalSyncNonTransactional();","title":""},{"docid":"b5a378b9adc256ca0e14c400c529b597","score":"0.5272891","text":"public void setSync(boolean sync) {\n\t\tthis.sync = sync;\n\t}","title":""},{"docid":"af31b120f50da8ef2f3e57ebcc855018","score":"0.5252577","text":"@Override\n\tpublic boolean isAsync() {\n\t\treturn false;\n\t}","title":""},{"docid":"5ed2a396b3f2cca96095e7df8de5d657","score":"0.5243958","text":"public String getWriteSynchronizationMode() {\n return writeSynchronizationMode.name();\n }","title":""},{"docid":"ab0057793dee529f67374163c7debe0a","score":"0.5233936","text":"public String getSyncDescription() {\n return syncDescription;\n }","title":""},{"docid":"ddc87cd55a05d61c01ced272500aaebe","score":"0.5220088","text":"public Boolean getcacheSynchEnabled() {\n //When TopLink synchronizes the caches, it does not double check if there are connections\n //So, neither will we\n if (!getSession().hasCacheSynchronizationManager()) {\n return Boolean.FALSE;\n }\n return Boolean.TRUE;\n }","title":""},{"docid":"3ebcc1d3a94b81e71ba9d5bc6f0fdbc3","score":"0.521761","text":"private synchronized void markStarted(boolean synchronous) {\n _synchronous = synchronous;\n _started = true;\n }","title":""},{"docid":"96950c2d33f9ab22bb35024c4e4f9472","score":"0.52145976","text":"@Override\r\n\tpublic boolean isAsyncStarted() {\n\t\treturn request.isAsyncStarted();\r\n\t}","title":""},{"docid":"cec5994bda7fa5c5c995c670d2285211","score":"0.52072316","text":"Boolean getIsolation();","title":""},{"docid":"e895b7e4f58f6459b10b8553b1f34757","score":"0.5173494","text":"public boolean getPrimaryForTransaction() {\n return primaryForTransaction_;\n }","title":""},{"docid":"e895b7e4f58f6459b10b8553b1f34757","score":"0.5173494","text":"public boolean getPrimaryForTransaction() {\n return primaryForTransaction_;\n }","title":""},{"docid":"896a2f9e0d34604639fd27de2b7d1293","score":"0.51693684","text":"public boolean isContinuous() {\n return this.isContinuous;\n }","title":""},{"docid":"499d3a9f4c0508519762172cffbad2ca","score":"0.51672626","text":"@Nullable\n public Boolean getForce() {\n return this.force;\n }","title":""},{"docid":"52b39516477b408852122f1de19f48b1","score":"0.5165229","text":"public boolean getPrimaryForTransaction() {\n return primaryForTransaction_;\n }","title":""},{"docid":"52b39516477b408852122f1de19f48b1","score":"0.5165229","text":"public boolean getPrimaryForTransaction() {\n return primaryForTransaction_;\n }","title":""},{"docid":"65b1396b93dd4569a6ee9f832c774e7e","score":"0.5156233","text":"public boolean isCritical() {\n\t\treturn false;\n\t}","title":""},{"docid":"adaa96c9547f54bbb9c45643359b95a2","score":"0.514944","text":"@Attribute(desc = \"Whether code coming from connection is executed asynchronously or not\")\n boolean isAsyncConnectionExecutionEnabled();","title":""},{"docid":"b117c13071f0685edd99c59cb67f26a9","score":"0.5140732","text":"public boolean getSolid() {\n return solid.getValue();\n }","title":""},{"docid":"0c298669515d869b013092d7b7a73286","score":"0.5136397","text":"boolean isNonCritical();","title":""},{"docid":"66f3d4ea440836593fe8fd447f07e5bf","score":"0.5117927","text":"public boolean isExecuting() {\n return this.executing;\n }","title":""},{"docid":"38c51c17d7f3b0a3e5260c1f738286e0","score":"0.5111147","text":"public boolean getExplicit() {\n return explicit_;\n }","title":""},{"docid":"8c0892abd3ef58933df2fdf21255fe61","score":"0.51101184","text":"public Integer getIsCancelling() {\n return isCancelling;\n }","title":""},{"docid":"e797f4096c5ceec27acd2db8c56c15ff","score":"0.5103413","text":"boolean isCanRunAsynchronuously();","title":""},{"docid":"f4c77efe59f0d595cb36f293b9f85725","score":"0.51006824","text":"public boolean getNoDatetimeStringSync() {\n\t\treturn false;\n\t}","title":""},{"docid":"77cf926f73a2cc31dacdfc145036f558","score":"0.50916886","text":"public int getAsync() {\n return async;\n }","title":""},{"docid":"d977c55c35513952af421ee4b34d1aa0","score":"0.5087968","text":"public MobileServiceSyncContext getSyncContext() {\n return this.mSyncContext;\n }","title":""},{"docid":"dec2fdc32d265c91a9df7f6480ef88f8","score":"0.5087045","text":"public java.lang.Boolean getForce() {\n return force;\n }","title":""},{"docid":"a01534473b281cbf2dfd9456a8cd1187","score":"0.5086315","text":"public ProviderType getSyncType()\n {\n return itsSyncType;\n }","title":""},{"docid":"1c20161635c06a2e6fb35a5fdf2c62a3","score":"0.50796556","text":"boolean notifyBeforeCompletion() {\n Iterator iterator = syncList.iterator();\n boolean result = true;\n while (iterator.hasNext()) {\n sync = ((Synchronization) iterator.next());\n sync.beforeCompletion();\n }\n return result;\n }","title":""},{"docid":"2cc056d56afec8da0a349fcf49ba0098","score":"0.50796205","text":"public boolean getExplicit() {\n return explicit_;\n }","title":""},{"docid":"6babb569b828d162966561d797f48fce","score":"0.5077761","text":"public boolean isIsParallel() {\n return isParallel;\n }","title":""},{"docid":"7e2ff5c703013890e45046468e99cdb5","score":"0.5077356","text":"public int getSyncCodeValue() {\n return syncCode_;\n }","title":""},{"docid":"9375f6825fcc968ddeb616530d37cb6b","score":"0.5076273","text":"public boolean isSuspended() {\n\t\treturn suspended;\n\t}","title":""},{"docid":"8a299924a619e6f07c8eeaff4d238538","score":"0.506172","text":"public int getSyncCodeValue() {\n return syncCode_;\n }","title":""},{"docid":"70319ea70da1331a01d348f32e682632","score":"0.50451624","text":"public boolean getWaitForLock() {\n\t\treturn this.waitForLock;\n\t}","title":""},{"docid":"645ec360b8ebe94243e4da69204d9ba0","score":"0.50418603","text":"public boolean isNotifyWhenSuccess() {\n return notifyWhenSuccess;\n }","title":""},{"docid":"17a81aacc22a541cb651d514aad538c1","score":"0.5033041","text":"public boolean isSingleValue() {\n return singleValue;\n }","title":""},{"docid":"60209c4c47db8353dcb060e6da07822b","score":"0.5025442","text":"public boolean hasBlocking() {\n return result.hasBlocking();\n }","title":""},{"docid":"898459b5484347165299b1d86ef2e9ea","score":"0.50212","text":"public boolean getShared(){\n return isShared;\n }","title":""},{"docid":"19b6f71c741413c1824f204e148df58e","score":"0.50201416","text":"@objid (\"e66fb377-4789-43e5-b8ef-68c0c527b886\")\n public static SmAttribute getIsConcurrentAtt() {\n return IsConcurrentAtt;\n }","title":""},{"docid":"d4ca0d59a72a1bbb8170474d31cc6f26","score":"0.5014639","text":"public String getSynchro () {\n return synchro;\n }","title":""},{"docid":"7fc2fe6fc2fd2140e7813e4638dee098","score":"0.50112545","text":"public java.lang.Boolean getForce() {\n return force;\n }","title":""},{"docid":"7fc2fe6fc2fd2140e7813e4638dee098","score":"0.50112545","text":"public java.lang.Boolean getForce() {\n return force;\n }","title":""}],"string":"[\n {\n \"docid\": \"401567b6cef49e62e8e8de5dbf4012c3\",\n \"score\": \"0.83393973\",\n \"text\": \"private synchronized boolean isSynchronous() {\\n return _synchronous;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e1e628d62b923d3a4e2a8f294e0d0e13\",\n \"score\": \"0.8188381\",\n \"text\": \"public boolean isSynchronous();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7db146f634a23baa11bbe0a5470bb5c4\",\n \"score\": \"0.79159534\",\n \"text\": \"@Override\\n\\tpublic boolean isSynchronous() {\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b5879969e94c3411f7c0f7b73c7d577d\",\n \"score\": \"0.750897\",\n \"text\": \"public void setIsSynchronous(boolean value) {\\n\\t\\t\\t\\tthis.isSynchronous = value;\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3400eb407472b6257c7a04f9c7abf921\",\n \"score\": \"0.7100961\",\n \"text\": \"public Byte getIsSync() {\\n return isSync;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bb87d0572bd01d5d0580b0735d85bcd2\",\n \"score\": \"0.6707567\",\n \"text\": \"public boolean isSyncMode() {\\r\\n\\t\\treturn syncMode;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2944f374cffb0f811371fb12ee0c5352\",\n \"score\": \"0.66998297\",\n \"text\": \"public void setSynchronous(boolean synchronous) {\\n this.synchronous = synchronous;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4efe0f3cc1ab82b901c0b3474dfcb322\",\n \"score\": \"0.66885424\",\n \"text\": \"public Boolean isInSync() {\\n return isInSync;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6b505eb1142e1f2f99723345e7357fa1\",\n \"score\": \"0.66651976\",\n \"text\": \"public boolean isSynchronized() {\\n return isSynchronized;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7f32b017f37e66a778c2acc46863d11d\",\n \"score\": \"0.66479605\",\n \"text\": \"public boolean isSynchronous() throws JAXRException {\\n synchronized (this) {\\n if (!isClosed) {\\n return synchronous;\\n } else {\\n throw new JAXRException(ResourceBundle.getBundle(\\\"com/sun/xml/registry/uddi/LocalStrings\\\").getString(\\\"ConnectionImpl:Connection_is_Closed\\\"));\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"757b80e14306ef632353b5939b1005ca\",\n \"score\": \"0.6562885\",\n \"text\": \"String getSynchronousAsString(int synchronous) {\\n switch (synchronous) {\\n case 0:\\n return \\\"OFF\\\";\\n case 1:\\n return \\\"NORMAL\\\";\\n case 2:\\n return \\\"FULL\\\";\\n case 3:\\n return \\\"EXTRA\\\";\\n default:\\n return \\\"UNKNOWN\\\";\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1b656c8eceb09aa1e28f64934af7cda5\",\n \"score\": \"0.6520547\",\n \"text\": \"public SimpleBooleanProperty getSynchronize() {\\n return synchronize;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47a2a8e66d19a09a48d41a25288eca96\",\n \"score\": \"0.6503483\",\n \"text\": \"public RubyBoolean sync() {\\n return getRuntime().newBoolean(handler.isSync());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6b1f4fd72bf58fc7858cbc4b3e8265a5\",\n \"score\": \"0.6399888\",\n \"text\": \"public Boolean getcacheSynchAsynchronous() {\\n if (!getSession().hasCacheSynchronizationManager()) {\\n return Boolean.FALSE;\\n }\\n return Boolean.valueOf(getSession().getCacheSynchronizationManager().isAsynchronous());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1ad8ed66621b4d73c7b8295467fb05b8\",\n \"score\": \"0.6359349\",\n \"text\": \"public String getSyncFlag() {\\n return (String)getAttributeInternal(SYNCFLAG);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8f20b1c614ec0aacd0056a8f0f43ec88\",\n \"score\": \"0.6286951\",\n \"text\": \"public static byte getSync() {\\n return SYNC;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af6d9174ced1fef14b57eef1a05a88de\",\n \"score\": \"0.6264827\",\n \"text\": \"public boolean isSyncStop() {\\n return syncStop;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47beca649b3f2362a9391c70274bb132\",\n \"score\": \"0.6263019\",\n \"text\": \"public boolean isSyncNoMultiple() {\\n return syncNoMultiple;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cafbea86a364816e8151dcfbb72033ba\",\n \"score\": \"0.6156004\",\n \"text\": \"public boolean isSynchronized();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7db3135969452936bc25d3cc6c8b3a6c\",\n \"score\": \"0.6114931\",\n \"text\": \"boolean isSynchronized();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7db3135969452936bc25d3cc6c8b3a6c\",\n \"score\": \"0.6114931\",\n \"text\": \"boolean isSynchronized();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"17d8d5d5f8d7baa9f6e5982da5802067\",\n \"score\": \"0.60539436\",\n \"text\": \"public boolean hasSyncTime() {\\n return result.hasSyncTime();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"17d8d5d5f8d7baa9f6e5982da5802067\",\n \"score\": \"0.60539436\",\n \"text\": \"public boolean hasSyncTime() {\\n return result.hasSyncTime();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"17d8d5d5f8d7baa9f6e5982da5802067\",\n \"score\": \"0.60539436\",\n \"text\": \"public boolean hasSyncTime() {\\n return result.hasSyncTime();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"17d8d5d5f8d7baa9f6e5982da5802067\",\n \"score\": \"0.60539436\",\n \"text\": \"public boolean hasSyncTime() {\\n return result.hasSyncTime();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"17d8d5d5f8d7baa9f6e5982da5802067\",\n \"score\": \"0.60539436\",\n \"text\": \"public boolean hasSyncTime() {\\n return result.hasSyncTime();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f986f01121840c43325120230ea60f1\",\n \"score\": \"0.6053128\",\n \"text\": \"public short synchronization() {\\r\\n return sync;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"50db67b9b0ba6dd32e109ea698e7b0f9\",\n \"score\": \"0.5995547\",\n \"text\": \"public boolean isReceiptSynchronous() {\\n return getHeader(AS2Header.RECEIPT_DELIVERY_OPTION) == null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7aab0c6f4a875d790a83c3f1b18b811b\",\n \"score\": \"0.5966058\",\n \"text\": \"public String getSyncType() {\\n return syncType;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cc5f13dc977cb8f8dea690b10bea939e\",\n \"score\": \"0.5814483\",\n \"text\": \"public boolean isSynchronizedPeriod() {\\n return synchronizedPeriod;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4040c8b5a05086af3b820ec16c248214\",\n \"score\": \"0.57274795\",\n \"text\": \"public boolean getAlwaysSendSetIsolation() {\\n\\t\\treturn false;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eaa8757ba6d109b56a2ae58f35e7c1ce\",\n \"score\": \"0.5675828\",\n \"text\": \"public String getIslock() {\\r\\n\\t\\treturn islock;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8cf47a50c1d9cef68e1f1d26a6dc681f\",\n \"score\": \"0.55825335\",\n \"text\": \"public boolean isSynchedLocalTransactionAllowed() {\\n return synchedLocalTransactionAllowed;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"46f57fbc9f1402107d8addfc995c7bdb\",\n \"score\": \"0.55813026\",\n \"text\": \"public boolean isBlocking() {\\n\\t\\treturn this.blocking;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fa6dbcecdcefa7147e64da0d2b86368a\",\n \"score\": \"0.55396676\",\n \"text\": \"@Override\\n\\tpublic int getSyncStatus() {\\n\\t\\treturn _fileGroup.getSyncStatus();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a28368662cecab07c254f1446a941717\",\n \"score\": \"0.55365646\",\n \"text\": \"public void setSynchronized(boolean sync);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"889dbcb6889126c679d0a4f0dd52715b\",\n \"score\": \"0.55290794\",\n \"text\": \"public boolean isContinuousExecution(){\\n return continousExecution;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2e367dd0e3713b7f6c5daa22cab1183e\",\n \"score\": \"0.5511265\",\n \"text\": \"public Date getSyncTime() {\\n return syncTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d39805e62c909beda4be916bc5db2852\",\n \"score\": \"0.54953295\",\n \"text\": \"public boolean isSetSyncSettings() {\\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SYNCSETTINGS_ISSET_ID);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"65b79751a408261f532f000a8dfe8038\",\n \"score\": \"0.54800177\",\n \"text\": \"public Boolean getConsistent() {\\n\\t\\treturn consistent;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"199c91fff1cd3534005ef91eb54e972b\",\n \"score\": \"0.54785013\",\n \"text\": \"public boolean isCritical()\\n {\\n return this.critical;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f713a9dad8f50cf58cef36249ff9703b\",\n \"score\": \"0.54783916\",\n \"text\": \"public boolean isCritical() {\\n return critical;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bb455020c1a148151bdf75879ef69c74\",\n \"score\": \"0.5456767\",\n \"text\": \"public boolean isSetSyncSticker() {\\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SYNCSTICKER_ISSET_ID);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b85f5c4a935e167bcf4e92adf54fc4f9\",\n \"score\": \"0.54313666\",\n \"text\": \"public boolean isCritical() {\\n return criticality;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d731fc428b5704ea711cdbdde7a271e7\",\n \"score\": \"0.54255575\",\n \"text\": \"boolean isSetSyncpercentage();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2cf4ef7c5abb837926599d04f24a3958\",\n \"score\": \"0.5417378\",\n \"text\": \"@Attribute(desc = \\\"Whether the journal is synchronized when receiving transactional data\\\")\\n boolean isJournalSyncTransactional();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0c263c6d7ea9c18b029c06f368289ab\",\n \"score\": \"0.5387947\",\n \"text\": \"@java.lang.Override\\n public boolean getUseCumulativeTimeTableSync() {\\n return useCumulativeTimeTableSync_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"713197f66da0186f785f720a76192a52\",\n \"score\": \"0.5387701\",\n \"text\": \"public void setSynchronous(boolean sync) throws JAXRException {\\n synchronized (this) {\\n if (!isClosed) {\\n synchronous = sync;\\n } else {\\n throw new JAXRException(ResourceBundle.getBundle(\\\"com/sun/xml/registry/uddi/LocalStrings\\\").getString(\\\"ConnectionImpl:Connection_is_closed\\\"));\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"79583300af28d072406ae50c3af63da0\",\n \"score\": \"0.5382789\",\n \"text\": \"public void setIsSync(Byte isSync) {\\n this.isSync = isSync;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"874f9ea5640096fc00821578a2996553\",\n \"score\": \"0.5377723\",\n \"text\": \"public boolean isSetSyncProfile() {\\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SYNCPROFILE_ISSET_ID);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"380bb333dbf8a37088cd9fba41824ce0\",\n \"score\": \"0.5377328\",\n \"text\": \"public boolean synchronousSync(Duration timeout) {\\n\\t\\tCuratorFramework curator = _client;\\n\\t\\ttry {\\n\\t\\t\\t// Curator sync() is always a background operation. Use a latch to block until it\\n\\t\\t\\t// finishes.\\n\\t\\t\\tfinal CountDownLatch latch = new CountDownLatch(1);\\n\\t\\t\\tcurator.sync().inBackground(new BackgroundCallback() {\\n\\t\\t\\t\\t@Override\\n\\t\\t\\t\\tpublic void processResult(CuratorFramework curator, CuratorEvent event)\\n\\t\\t\\t\\t\\t\\tthrows Exception {\\n\\t\\t\\t\\t\\tif (event.getType() == CuratorEventType.SYNC) {\\n\\t\\t\\t\\t\\t\\tlatch.countDown();\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}).forPath(_path);\\n\\n\\t\\t\\t// Wait for sync to complete.\\n\\t\\t\\treturn latch.await(timeout.toMillis(), TimeUnit.MILLISECONDS);\\n\\t\\t} catch (InterruptedException e) {\\n\\t\\t\\tSystem.out.println(\\\"Error: \\\" + e);\\n\\t\\t\\tLOG.info(\\\"exception \\\" + e);\\n\\t\\t\\te.printStackTrace();\\n\\t\\t\\treturn false;\\n\\t\\t} catch (Exception e) {\\n\\t\\t\\tSystem.out.println(\\\"Error: \\\" + e);\\n\\t\\t\\tLOG.info(\\\"exception \\\" + e);\\n\\t\\t\\te.printStackTrace();\\n\\t\\t\\treturn false;\\n\\t\\t\\t// throw Throwables.propagate(e);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b283daf5bc22c8952cfa06cabe934ecb\",\n \"score\": \"0.5368859\",\n \"text\": \"public String getIsSend() {\\n return isSend;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"409a163074f3657b58a1c4e47f096fb9\",\n \"score\": \"0.53555167\",\n \"text\": \"@java.lang.Override\\n public boolean getUseCumulativeTimeTableSync() {\\n return useCumulativeTimeTableSync_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0fda6cd029d2039e86102e78d51bb1d\",\n \"score\": \"0.5342574\",\n \"text\": \"public boolean getMultiTask() {\\n\\t\\treturn fMultiTask;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fea409c3c096534db9e89c86b15f2310\",\n \"score\": \"0.5307633\",\n \"text\": \"boolean isSyncStartup();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1958496cb18ae43828b113035543c956\",\n \"score\": \"0.53032386\",\n \"text\": \"@JRubyMethod(name = \\\"sync\\\")\\n public RubyBoolean sync(ThreadContext context) {\\n return context.getRuntime().newBoolean(getOpenFileChecked().getMainStream().isSync());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1958496cb18ae43828b113035543c956\",\n \"score\": \"0.53032386\",\n \"text\": \"@JRubyMethod(name = \\\"sync\\\")\\n public RubyBoolean sync(ThreadContext context) {\\n return context.getRuntime().newBoolean(getOpenFileChecked().getMainStream().isSync());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6108e4f83116cd4e3c73a64afe4bd135\",\n \"score\": \"0.52853197\",\n \"text\": \"@Attribute(desc = \\\"Whether the journal is synchronized when receiving non-transactional datar\\\")\\n boolean isJournalSyncNonTransactional();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b5a378b9adc256ca0e14c400c529b597\",\n \"score\": \"0.5272891\",\n \"text\": \"public void setSync(boolean sync) {\\n\\t\\tthis.sync = sync;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af31b120f50da8ef2f3e57ebcc855018\",\n \"score\": \"0.5252577\",\n \"text\": \"@Override\\n\\tpublic boolean isAsync() {\\n\\t\\treturn false;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5ed2a396b3f2cca96095e7df8de5d657\",\n \"score\": \"0.5243958\",\n \"text\": \"public String getWriteSynchronizationMode() {\\n return writeSynchronizationMode.name();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab0057793dee529f67374163c7debe0a\",\n \"score\": \"0.5233936\",\n \"text\": \"public String getSyncDescription() {\\n return syncDescription;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ddc87cd55a05d61c01ced272500aaebe\",\n \"score\": \"0.5220088\",\n \"text\": \"public Boolean getcacheSynchEnabled() {\\n //When TopLink synchronizes the caches, it does not double check if there are connections\\n //So, neither will we\\n if (!getSession().hasCacheSynchronizationManager()) {\\n return Boolean.FALSE;\\n }\\n return Boolean.TRUE;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3ebcc1d3a94b81e71ba9d5bc6f0fdbc3\",\n \"score\": \"0.521761\",\n \"text\": \"private synchronized void markStarted(boolean synchronous) {\\n _synchronous = synchronous;\\n _started = true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"96950c2d33f9ab22bb35024c4e4f9472\",\n \"score\": \"0.52145976\",\n \"text\": \"@Override\\r\\n\\tpublic boolean isAsyncStarted() {\\n\\t\\treturn request.isAsyncStarted();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cec5994bda7fa5c5c995c670d2285211\",\n \"score\": \"0.52072316\",\n \"text\": \"Boolean getIsolation();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e895b7e4f58f6459b10b8553b1f34757\",\n \"score\": \"0.5173494\",\n \"text\": \"public boolean getPrimaryForTransaction() {\\n return primaryForTransaction_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e895b7e4f58f6459b10b8553b1f34757\",\n \"score\": \"0.5173494\",\n \"text\": \"public boolean getPrimaryForTransaction() {\\n return primaryForTransaction_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"896a2f9e0d34604639fd27de2b7d1293\",\n \"score\": \"0.51693684\",\n \"text\": \"public boolean isContinuous() {\\n return this.isContinuous;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"499d3a9f4c0508519762172cffbad2ca\",\n \"score\": \"0.51672626\",\n \"text\": \"@Nullable\\n public Boolean getForce() {\\n return this.force;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"52b39516477b408852122f1de19f48b1\",\n \"score\": \"0.5165229\",\n \"text\": \"public boolean getPrimaryForTransaction() {\\n return primaryForTransaction_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"52b39516477b408852122f1de19f48b1\",\n \"score\": \"0.5165229\",\n \"text\": \"public boolean getPrimaryForTransaction() {\\n return primaryForTransaction_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"65b1396b93dd4569a6ee9f832c774e7e\",\n \"score\": \"0.5156233\",\n \"text\": \"public boolean isCritical() {\\n\\t\\treturn false;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"adaa96c9547f54bbb9c45643359b95a2\",\n \"score\": \"0.514944\",\n \"text\": \"@Attribute(desc = \\\"Whether code coming from connection is executed asynchronously or not\\\")\\n boolean isAsyncConnectionExecutionEnabled();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b117c13071f0685edd99c59cb67f26a9\",\n \"score\": \"0.5140732\",\n \"text\": \"public boolean getSolid() {\\n return solid.getValue();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0c298669515d869b013092d7b7a73286\",\n \"score\": \"0.5136397\",\n \"text\": \"boolean isNonCritical();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"66f3d4ea440836593fe8fd447f07e5bf\",\n \"score\": \"0.5117927\",\n \"text\": \"public boolean isExecuting() {\\n return this.executing;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"38c51c17d7f3b0a3e5260c1f738286e0\",\n \"score\": \"0.5111147\",\n \"text\": \"public boolean getExplicit() {\\n return explicit_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8c0892abd3ef58933df2fdf21255fe61\",\n \"score\": \"0.51101184\",\n \"text\": \"public Integer getIsCancelling() {\\n return isCancelling;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e797f4096c5ceec27acd2db8c56c15ff\",\n \"score\": \"0.5103413\",\n \"text\": \"boolean isCanRunAsynchronuously();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4c77efe59f0d595cb36f293b9f85725\",\n \"score\": \"0.51006824\",\n \"text\": \"public boolean getNoDatetimeStringSync() {\\n\\t\\treturn false;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"77cf926f73a2cc31dacdfc145036f558\",\n \"score\": \"0.50916886\",\n \"text\": \"public int getAsync() {\\n return async;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d977c55c35513952af421ee4b34d1aa0\",\n \"score\": \"0.5087968\",\n \"text\": \"public MobileServiceSyncContext getSyncContext() {\\n return this.mSyncContext;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dec2fdc32d265c91a9df7f6480ef88f8\",\n \"score\": \"0.5087045\",\n \"text\": \"public java.lang.Boolean getForce() {\\n return force;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a01534473b281cbf2dfd9456a8cd1187\",\n \"score\": \"0.5086315\",\n \"text\": \"public ProviderType getSyncType()\\n {\\n return itsSyncType;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1c20161635c06a2e6fb35a5fdf2c62a3\",\n \"score\": \"0.50796556\",\n \"text\": \"boolean notifyBeforeCompletion() {\\n Iterator iterator = syncList.iterator();\\n boolean result = true;\\n while (iterator.hasNext()) {\\n sync = ((Synchronization) iterator.next());\\n sync.beforeCompletion();\\n }\\n return result;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2cc056d56afec8da0a349fcf49ba0098\",\n \"score\": \"0.50796205\",\n \"text\": \"public boolean getExplicit() {\\n return explicit_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6babb569b828d162966561d797f48fce\",\n \"score\": \"0.5077761\",\n \"text\": \"public boolean isIsParallel() {\\n return isParallel;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7e2ff5c703013890e45046468e99cdb5\",\n \"score\": \"0.5077356\",\n \"text\": \"public int getSyncCodeValue() {\\n return syncCode_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9375f6825fcc968ddeb616530d37cb6b\",\n \"score\": \"0.5076273\",\n \"text\": \"public boolean isSuspended() {\\n\\t\\treturn suspended;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8a299924a619e6f07c8eeaff4d238538\",\n \"score\": \"0.506172\",\n \"text\": \"public int getSyncCodeValue() {\\n return syncCode_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"70319ea70da1331a01d348f32e682632\",\n \"score\": \"0.50451624\",\n \"text\": \"public boolean getWaitForLock() {\\n\\t\\treturn this.waitForLock;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"645ec360b8ebe94243e4da69204d9ba0\",\n \"score\": \"0.50418603\",\n \"text\": \"public boolean isNotifyWhenSuccess() {\\n return notifyWhenSuccess;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"17a81aacc22a541cb651d514aad538c1\",\n \"score\": \"0.5033041\",\n \"text\": \"public boolean isSingleValue() {\\n return singleValue;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"60209c4c47db8353dcb060e6da07822b\",\n \"score\": \"0.5025442\",\n \"text\": \"public boolean hasBlocking() {\\n return result.hasBlocking();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"898459b5484347165299b1d86ef2e9ea\",\n \"score\": \"0.50212\",\n \"text\": \"public boolean getShared(){\\n return isShared;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"19b6f71c741413c1824f204e148df58e\",\n \"score\": \"0.50201416\",\n \"text\": \"@objid (\\\"e66fb377-4789-43e5-b8ef-68c0c527b886\\\")\\n public static SmAttribute getIsConcurrentAtt() {\\n return IsConcurrentAtt;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d4ca0d59a72a1bbb8170474d31cc6f26\",\n \"score\": \"0.5014639\",\n \"text\": \"public String getSynchro () {\\n return synchro;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7fc2fe6fc2fd2140e7813e4638dee098\",\n \"score\": \"0.50112545\",\n \"text\": \"public java.lang.Boolean getForce() {\\n return force;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7fc2fe6fc2fd2140e7813e4638dee098\",\n \"score\": \"0.50112545\",\n \"text\": \"public java.lang.Boolean getForce() {\\n return force;\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":334,"cells":{"query_id":{"kind":"string","value":"bb559bd5deed172c263997896fae6862"},"query":{"kind":"string","value":"Data from the annotation processors analyzer optional .android_studio.AnnotationProcessorsAnalyzerData annotation_processors_analyzer_data = 3;"},"positive_passages":{"kind":"list like","value":[{"docid":"b0c89b3e56926a75bc334a375f8ac838","score":"0.6195321","text":"public Builder mergeAnnotationProcessorsAnalyzerData(com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData value) {\n if (annotationProcessorsAnalyzerDataBuilder_ == null) {\n if (((bitField0_ & 0x00000004) != 0) &&\n annotationProcessorsAnalyzerData_ != null &&\n annotationProcessorsAnalyzerData_ != com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData.getDefaultInstance()) {\n annotationProcessorsAnalyzerData_ =\n com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData.newBuilder(annotationProcessorsAnalyzerData_).mergeFrom(value).buildPartial();\n } else {\n annotationProcessorsAnalyzerData_ = value;\n }\n onChanged();\n } else {\n annotationProcessorsAnalyzerDataBuilder_.mergeFrom(value);\n }\n bitField0_ |= 0x00000004;\n return this;\n }","title":""}],"string":"[\n {\n \"docid\": \"b0c89b3e56926a75bc334a375f8ac838\",\n \"score\": \"0.6195321\",\n \"text\": \"public Builder mergeAnnotationProcessorsAnalyzerData(com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData value) {\\n if (annotationProcessorsAnalyzerDataBuilder_ == null) {\\n if (((bitField0_ & 0x00000004) != 0) &&\\n annotationProcessorsAnalyzerData_ != null &&\\n annotationProcessorsAnalyzerData_ != com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData.getDefaultInstance()) {\\n annotationProcessorsAnalyzerData_ =\\n com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData.newBuilder(annotationProcessorsAnalyzerData_).mergeFrom(value).buildPartial();\\n } else {\\n annotationProcessorsAnalyzerData_ = value;\\n }\\n onChanged();\\n } else {\\n annotationProcessorsAnalyzerDataBuilder_.mergeFrom(value);\\n }\\n bitField0_ |= 0x00000004;\\n return this;\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"5468444e6ff3da6f332d7faaebec4858","score":"0.7529025","text":"public com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData getAnnotationProcessorsAnalyzerData() {\n if (annotationProcessorsAnalyzerDataBuilder_ == null) {\n return annotationProcessorsAnalyzerData_ == null ? com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData.getDefaultInstance() : annotationProcessorsAnalyzerData_;\n } else {\n return annotationProcessorsAnalyzerDataBuilder_.getMessage();\n }\n }","title":""},{"docid":"9bd465d335a12bb7416ab0854cca9e3f","score":"0.7472272","text":"public com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData getAnnotationProcessorsAnalyzerData() {\n return annotationProcessorsAnalyzerData_ == null ? com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData.getDefaultInstance() : annotationProcessorsAnalyzerData_;\n }","title":""},{"docid":"ac148b5f322ed83931360cab53f11c98","score":"0.74174666","text":"public com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerDataOrBuilder getAnnotationProcessorsAnalyzerDataOrBuilder() {\n return annotationProcessorsAnalyzerData_ == null ? com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData.getDefaultInstance() : annotationProcessorsAnalyzerData_;\n }","title":""},{"docid":"3fbacf867f96c017fb0e8a23d330f0dd","score":"0.7263436","text":"public com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerDataOrBuilder getAnnotationProcessorsAnalyzerDataOrBuilder() {\n if (annotationProcessorsAnalyzerDataBuilder_ != null) {\n return annotationProcessorsAnalyzerDataBuilder_.getMessageOrBuilder();\n } else {\n return annotationProcessorsAnalyzerData_ == null ?\n com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData.getDefaultInstance() : annotationProcessorsAnalyzerData_;\n }\n }","title":""},{"docid":"abf6925151f20d8d1244f4fca38d9f33","score":"0.6734447","text":"public Builder setAnnotationProcessorsAnalyzerData(com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData value) {\n if (annotationProcessorsAnalyzerDataBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n annotationProcessorsAnalyzerData_ = value;\n onChanged();\n } else {\n annotationProcessorsAnalyzerDataBuilder_.setMessage(value);\n }\n bitField0_ |= 0x00000004;\n return this;\n }","title":""},{"docid":"d9f1da6b256e33484eafc86e6458f9c5","score":"0.6729109","text":"public boolean hasAnnotationProcessorsAnalyzerData() {\n return ((bitField0_ & 0x00000004) != 0);\n }","title":""},{"docid":"dd003780d60ebcd144ac50fdb4a93de5","score":"0.6721468","text":"public boolean hasAnnotationProcessorsAnalyzerData() {\n return ((bitField0_ & 0x00000004) != 0);\n }","title":""},{"docid":"5625c8fd01ddd46d34cf38880dc467f4","score":"0.6231651","text":"private com.google.protobuf.SingleFieldBuilderV3<\n com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData, com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData.Builder, com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerDataOrBuilder>\n getAnnotationProcessorsAnalyzerDataFieldBuilder() {\n if (annotationProcessorsAnalyzerDataBuilder_ == null) {\n annotationProcessorsAnalyzerDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData, com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData.Builder, com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerDataOrBuilder>(\n getAnnotationProcessorsAnalyzerData(),\n getParentForChildren(),\n isClean());\n annotationProcessorsAnalyzerData_ = null;\n }\n return annotationProcessorsAnalyzerDataBuilder_;\n }","title":""},{"docid":"f1d77fa2a7b893ea3e2ccd0f0de1f9f1","score":"0.61359334","text":"public com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData.Builder getAnnotationProcessorsAnalyzerDataBuilder() {\n bitField0_ |= 0x00000004;\n onChanged();\n return getAnnotationProcessorsAnalyzerDataFieldBuilder().getBuilder();\n }","title":""},{"docid":"7770d670c3f144894c6a0d0b8ccaa235","score":"0.57472","text":"public Builder setAnnotationProcessorsAnalyzerData(\n com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData.Builder builderForValue) {\n if (annotationProcessorsAnalyzerDataBuilder_ == null) {\n annotationProcessorsAnalyzerData_ = builderForValue.build();\n onChanged();\n } else {\n annotationProcessorsAnalyzerDataBuilder_.setMessage(builderForValue.build());\n }\n bitField0_ |= 0x00000004;\n return this;\n }","title":""},{"docid":"05a42154f339aefb38450adaf5e28724","score":"0.5729413","text":"public Builder clearAnnotationProcessorsAnalyzerData() {\n if (annotationProcessorsAnalyzerDataBuilder_ == null) {\n annotationProcessorsAnalyzerData_ = null;\n onChanged();\n } else {\n annotationProcessorsAnalyzerDataBuilder_.clear();\n }\n bitField0_ = (bitField0_ & ~0x00000004);\n return this;\n }","title":""},{"docid":"e8f937d5289f1247c83879c8d2b3537b","score":"0.53725064","text":"public interface BuildDataProcessor {\n /**\n * @param data raw data for search engine\n * @return prepared data for seach engine\n */\n @NotNull\n Map> buildEngineData(@NotNull List data);\n}","title":""},{"docid":"9924845a60ec8fd2ad886cd10b963f96","score":"0.53411245","text":"public static MetaData getInBuiltProcessorMetaData() {\n if (inBuiltProcessorMetaData == null) {\n inBuiltProcessorMetaData = SourceEditorUtils.getInBuiltProcessorMetaData();\n }\n return inBuiltProcessorMetaData;\n }","title":""},{"docid":"4ab56b020f38a32da3bca9d014756a57","score":"0.5125653","text":"public interface AnnotationProcessor {\n\n\t/**\n\t * \n\t * @param bean\n\t * @param beanName\n\t * @param beanFactory\n\t * @param clazz\n\t * @param annotation\n\t */\n\tvoid process(Object bean, String beanName, BeanFactory beanFactory, Class clazz, Annotation annotation);\n\n\t/**\n\t * \n\t * @param bean\n\t * @param beanName\n\t * @param beanFactory\n\t * @param clazz\n\t * @param field\n\t * @param annotation\n\t */\n\tvoid process(Object bean, String beanName, BeanFactory beanFactory, Class clazz, Field field, Annotation annotation);\n\n}","title":""},{"docid":"a973a55e5d2bb35bcf7d6a9accdd943e","score":"0.50691676","text":"public AnalyzedData(){\t}","title":""},{"docid":"6d52f1f85e2ddcea74fb1646a6e2ba71","score":"0.5051402","text":"public interface AnnotationProcessor {\r\n /** Post-processes an annotation data. */\r\n void process(final PropMap context, final AnnotatedType annotatedType,\r\n final ANNOTATION annotatedTypeAnnotation,\r\n final ELEMENT annotatedElement, final PropMap annotationData);\r\n}","title":""},{"docid":"3ebfde94ce74326f15eeb4b2f9bc7fcc","score":"0.4895212","text":"public String getDataAnnotation()\n\t{\n\t\treturn dataAnnotation;\n\t}","title":""},{"docid":"ac9be6ecd4fffc330bbdabca161aba1e","score":"0.48422602","text":"private static List getAnnotationInformation(List annotations) {\r\n\t\tList annotationsInfo = new ArrayList<>();\r\n\t\tif(annotations != null)\r\n\t\t\tfor(Annotation annotation : annotations)\r\n\t\t\t\tannotationsInfo.add(annotation.getArgMap().toString());\r\n\t\treturn annotationsInfo;\r\n\t}","title":""},{"docid":"7061a61c403b24fbd8478805f51c0057","score":"0.48016337","text":"public void preAnalyze(Context context);","title":""},{"docid":"4ea5a95e538a1c589835d1d718b0285e","score":"0.4799974","text":"public abstract String process(MutableAnnotation data, GPathObject[] parameters, GPathVariableResolver variables);","title":""},{"docid":"7796109ef5b0168b07756f1efaf3a850","score":"0.4778628","text":"public void collectMetadata(AGSProcessor processor, ServiceInfo serviceInfo)\n throws Exception {\n this.collectMetadata(processor.getHandlerFactory(), serviceInfo);\n }","title":""},{"docid":"c26ab4a39b63875a7b38f605e36f582b","score":"0.474525","text":"public interface DataExtraction {\n\n\t/**\n\t * The name of the data extraction process\n\t * \n\t */\n\tpublic String getName();\n\n\t/**\n\t * The input image(s) URI or a Digital Object Identifier (DOI) if processing\n\t * has been performed (as the output image of processing)URI)\n\t * \n\t * @return the URI or DOI\n\t */\n\tpublic Set getInputImageUris();\n\n\t/**\n\t * The input image(s) for data extraction as a reference to the image\n\t * specified in Section 1\n\t * \n\t */\n\tpublic Set getInputImages();\n\n\t/**\n\t * Describe the process by which the features have been assigned on the\n\t * image(s). In terms of algorithm name, version and feature editing\n\t * (automatic or manual)\n\t * \n\t */\n\tpublic Set getFeatureDetections();\n\n\t/**\n\t * Describe the process by which the features have been matched on the\n\t * image(s). In terms of algorithm name, version, parameters and match\n\t * editing\n\t * \n\t */\n\tpublic Set getMatchings();\n\n\t/**\n\t * Describe the process by which the features detected have been quantified.\n\t * In terms of measurement used, quantitation method, background\n\t * substraction (if used), normalization method.\n\t * \n\t */\n\tpublic Set getFeatureQuantitations();\n}","title":""},{"docid":"c9a1651d7e039326f87e5a390baa5938","score":"0.4725893","text":"public String getAnnotationString() {\n return fData;\n }","title":""},{"docid":"7f6a16c32e85627bf7b66101d9ddb5bd","score":"0.47252816","text":"private ParseAnnotator() {\r\n this.pipelineParse = setPipeLine(setProperties());\r\n }","title":""},{"docid":"12d32335aea31327043a3ebf89afaf3a","score":"0.47230664","text":"@Override\n protected void analyzeImpl(Analyzer analyzer) throws AnalysisException {\n }","title":""},{"docid":"59b06150ec6af387a9d7f295845454df","score":"0.47229007","text":"private int readAnnotationTarget(Context context, int u) {\n/* 1732 */ int n, i, target = readInt(u);\n/* 1733 */ switch (target >>> 24) {\n/* */ case 0:\n/* */ case 1:\n/* */ case 22:\n/* 1737 */ target &= 0xFFFF0000;\n/* 1738 */ u += 2;\n/* */ break;\n/* */ case 19:\n/* */ case 20:\n/* */ case 21:\n/* 1743 */ target &= 0xFF000000;\n/* 1744 */ u++;\n/* */ break;\n/* */ case 64:\n/* */ case 65:\n/* 1748 */ target &= 0xFF000000;\n/* 1749 */ n = readUnsignedShort(u + 1);\n/* 1750 */ context.start = new Label[n];\n/* 1751 */ context.end = new Label[n];\n/* 1752 */ context.index = new int[n];\n/* 1753 */ u += 3;\n/* 1754 */ for (i = 0; i < n; i++) {\n/* 1755 */ int start = readUnsignedShort(u);\n/* 1756 */ int length = readUnsignedShort(u + 2);\n/* 1757 */ context.start[i] = readLabel(start, context.labels);\n/* 1758 */ context.end[i] = readLabel(start + length, context.labels);\n/* 1759 */ context.index[i] = readUnsignedShort(u + 4);\n/* 1760 */ u += 6;\n/* */ } \n/* */ break;\n/* */ \n/* */ case 71:\n/* */ case 72:\n/* */ case 73:\n/* */ case 74:\n/* */ case 75:\n/* 1769 */ target &= 0xFF0000FF;\n/* 1770 */ u += 4;\n/* */ break;\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ default:\n/* 1782 */ target &= (target >>> 24 < 67) ? -256 : -16777216;\n/* 1783 */ u += 3;\n/* */ break;\n/* */ } \n/* 1786 */ int pathLength = readByte(u);\n/* 1787 */ context.typeRef = target;\n/* 1788 */ context.typePath = (pathLength == 0) ? null : new TypePath(this.b, u);\n/* 1789 */ return u + 1 + 2 * pathLength;\n/* */ }","title":""},{"docid":"7b37bacce65ea971779ec521aa06e5d8","score":"0.47153172","text":"List getAllPostProcessors();","title":""},{"docid":"2f158c1bcbe08e2f885ac3439bbe302a","score":"0.4714211","text":"public Annotation[] getAnnotations();","title":""},{"docid":"b00f56a685e8ac5c34b383649ffd23a6","score":"0.4710142","text":"List getAllPreProcessors();","title":""},{"docid":"aed51b8ed7905418c51d6da554302f9b","score":"0.47078976","text":"@Override\r\n\tpublic List> analysisXml(List data,\r\n\t\t\tString phoneNumber, String... agrs) {\n\t\treturn null;\r\n\t}","title":""},{"docid":"5d23ada7f5945b8241ec8e8389307566","score":"0.4700456","text":"@Override\n\tpublic void process(JCas aJCas) throws AnalysisEngineProcessException {\n\t\tAnnotationIndex\tannotationIndex = aJCas.getAnnotationIndex();\n\n\t\tAnnotationIndex\ttokenAnnotationIndex = aJCas.getAnnotationIndex(Token.type);\n\t\tfor (Annotation token : tokenAnnotationIndex) {\n\t\t\t// subiterator call \n\t\t\tFSIterator subTokenAnnotationIterator = annotationIndex.subiterator(token);\n\t\t\twhile(subTokenAnnotationIterator.isValid()) {\n\t\t\t\tAnnotation subTokenAnnotation = subTokenAnnotationIterator.get();\n\t\t\t\t// filter the desired annotations\n\t\t\t\tif (subTokenAnnotation instanceof POS)\n\t\t\t\t\tMiscUtil.echo(subTokenAnnotation);\n\t\t\t\tsubTokenAnnotationIterator.moveToNext();\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"16e05f5e90923a05e9a4f841e77246ea","score":"0.46712455","text":"Map, Annotation[]> defined();","title":""},{"docid":"11cdd482943df6f2d4ce5bf35b504423","score":"0.46641526","text":"V process(T annotation, V source);","title":""},{"docid":"67f55489164231f34a1d9963e78a9c0a","score":"0.46588776","text":"void setTokenPreProcessor(TokenPreProcess preProcessor);","title":""},{"docid":"31051bf56663f5f42989919545a733a0","score":"0.4645234","text":"@Override\r\n public void process(JCas aJCas) throws AnalysisEngineProcessException {\n String docText = aJCas.getDocumentText();\r\n \r\n // use \". \\\\ ?\" to split the document into parts\r\n String tags = \"[.\\\\?]\"; \r\n String []results = docText.split(tags);\r\n \r\n \r\n \r\n int pos = results[0].length()+1;\r\n \r\n for (int i=1;i> methodScore = new HashMap>();\n String questionText = \"\";\n FSIndex questionIndex = aJCas.getAnnotationIndex(Question.type);\n Iterator questionIter = questionIndex.iterator();\n while (questionIter.hasNext()) {\n Question question = (Question) questionIter.next();\n //System.out.println(\"Question: \" + question.getCoveredText());\n questionText += \"Question: \" + question.getCoveredText()+\"\\n\";\n \n }\n\n //Seperate AnswerScores with different method and put them into the map \n FSIndex ScoreIndex = aJCas.getAnnotationIndex(AnswerScore.type);\n Iterator ScoreIter = ScoreIndex.iterator();\n while (ScoreIter.hasNext()) {\n AnswerScore score = (AnswerScore) ScoreIter.next();\n String method = score.getCasProcessorId();\n if(methodScore.containsKey(method))\n {\n methodScore.get(method).put(score, score.getScore());\n }\n else\n {\n Map scoreMap = new HashMap();\n scoreMap.put(score, score.getScore());\n methodScore.put(method, scoreMap);\n }\n //scoreMap.put(score, score.getScore());\n }\n int precisionAtN=0;\n \n //print result to the screen\n Iterator it = methodScore.entrySet().iterator();\n while (it.hasNext()) {\n \n String text = \"\";\n precisionAtN = 0;\n Map.Entry pairs = (Map.Entry)it.next();\n //System.out.println(pairs.getKey() + \" = \" + pairs.getValue());\n //System.out.println(\"\\n*** Method: \"+ pairs.getKey() + \" ***\");\n String scoringClassId = pairs.getKey().toString();\n \n Map scoreMap = (Map)pairs.getValue();\n \n ArrayList> scoreList = new ArrayList>(\n scoreMap.entrySet());\n \n Collections.sort(scoreList, new Comparator>() {\n public int compare(Map.Entry o1, Map.Entry o2) {\n return (int) (o2.getValue() * 100.0 - o1.getValue() * 100.0);\n }\n });\n \n \n \n for(int i=0;i gatherAnnotators(JSONObject data) {\n Set annotators = new HashSet<>();\n\n for (Object articleName : data.keySet()) {\n // check if this article is in the list of valid articles\n if (articleNameTime.containsKey(articleName.toString())) {\n JSONObject article = (JSONObject) data.get(articleName);\n JSONObject annotations = (JSONObject) article.get(\"annotations\");\n JSONObject framingAnnotations = (JSONObject) annotations.get(\"framing\");\n for (Object annotator : framingAnnotations.keySet()) {\n String parts[] = annotator.toString().split(\"_\");\n annotators.add(parts[0]);\n }\n }\n }\n return annotators;\n }","title":""},{"docid":"85394b97ed4dedf8b88a2a71a2893087","score":"0.45626816","text":"void onPreprocess(TypeDescription typeDescription, ClassFileLocator classFileLocator);","title":""},{"docid":"0d1f9b8fcd1bcaaa8cc490759efeaa47","score":"0.45584375","text":"public String getProcessor() {\n return processor;\n }","title":""},{"docid":"25fffacbf0373b530e95be254d47f216","score":"0.45396024","text":"@AnalysisSettings\npublic interface ExampleAnalysisSettings {\n /*\n * This method presents the use of String typed setting.\n * see the ReplaceCharWithNumberCharFilterFactory\n */\n @StringSetting(path = \"old_char\", defaultValue = \" \")\n String oldCharToReplaceInCharFilter();\n\n /*\n * This method presents the use of int typed setting.\n * see the ReplaceCharWithNumberCharFilterFactory\n */\n @IntSetting(path = \"new_number\", defaultValue = 0)\n int newNumberToReplaceInCharFilter();\n\n /*\n * This method presents the use of long typed setting.\n * see the ExampleTokenFilterFactory\n */\n @LongSetting(path = \"token_filter_number\", defaultValue = 0L)\n long digitToSkipInTokenFilter();\n\n /*\n * This method presents the use of boolean typed setting.\n * see the ExampleAnalyzerFactory\n */\n @BooleanSetting(path = \"analyzerUseTokenListOfChars\", defaultValue = true)\n boolean analyzerUseTokenListOfChars();\n /*\n * This method presents the use of boolean typed setting.\n * see the ExampleTokenizerFactory\n */\n @ListSetting(path = \"tokenizer_list_of_chars\")\n List singleCharsToSkipInTokenizer();\n}","title":""},{"docid":"589e76ffc938e2282ca8b972574b7da7","score":"0.4529095","text":"@Override\n public void process(final JCas aJCas) throws AnalysisEngineProcessException {\n final AnnotationIndex tokIt = aJCas.getAnnotationIndex(Token.type);\n final FSIterator sentIt = aJCas.getAnnotationIndex(Sentence.type).iterator();\n try {\n while (sentIt.hasNext()) {\n Annotation sent = sentIt.next();\n final FSIterator subiterator = tokIt.subiterator(sent);\n StringBuilder sb = new StringBuilder();\n List tokens = new ArrayList<>();\n while (subiterator.hasNext()) {\n Token token = subiterator.next();\n final POSTag posTag = token.getPosTag(0);\n if (posTag == null)\n throw new AnalysisEngineProcessException(new IllegalArgumentException(\"PoS tags are required but the current token has none.\"));\n sb.append(posTag.getValue()).append(\" \");\n tokens.add(token);\n }\n if (sb.length() > 0) {\n // Remove the trailing whitespace\n sb.deleteCharAt(sb.length() - 1);\n\n String posSentence = sb.toString();\n AnnotatedSentence cueTaggedSentence = null;\n AnnotatedSentence posCueMerged = null;\n AnnotatedSentence scopeMarkedSentence = null;\n try {\n // Important step here: replace pipes through slashes. Pipes are a reserved character for the internal tag representation format.\n cueTaggedSentence = cueAnnotator.annotateSentence(tokens.stream().map(Annotation::getCoveredText).collect(Collectors.joining(\" \")).replace(\"|\", \"/\"), true);\n posCueMerged = CueAndPosFilesMerger.merge(cueTaggedSentence, posSentence, replaceCue);\n scopeMarkedSentence = scopeAnnotator.annotateSentence(posCueMerged.getSentenceText(), true);\n\n final List likelihoodIndicators = addAnnotationToCas(tokens, cueTaggedSentence, () -> new LikelihoodIndicator(aJCas));\n final List scopes = addAnnotationToCas(tokens, scopeMarkedSentence, () -> new Scope(aJCas));\n\n if (likelihoodIndicators.size() == scopes.size()) {\n for (int i = 0; i < scopes.size(); i++) {\n LikelihoodIndicator indicator = likelihoodIndicators.get(i);\n Scope scope = scopes.get(i);\n scope.setCue(indicator);\n }\n } else {\n log.debug(\"Not assigning negation or hedge cues to their scopes because the number of cues and scopes differs.\");\n log.trace(\"The respective sentence is: '{}'. Cue tags: '{}', Scope tags: '{}'\", sent.getCoveredText(), cueTaggedSentence.getTags(), scopeMarkedSentence.getTags());\n }\n } catch (Throwable t) {\n log.warn(\"Lingscope error in sentence '{}'\", sent.getCoveredText(), t);\n log.warn(\"PosCueMerged Sent Text: {}\", posCueMerged != null ? posCueMerged.getSentenceText() : \"\");\n log.warn(\"Tokens: {}\", tokens.stream().map(Annotation::getCoveredText).collect(Collectors.joining(\" \")));\n log.warn(\"Lemmas: {}\", tokens.stream().map(Token::getLemma).map(Lemma::getValue).collect(Collectors.joining(\" \")));\n log.warn(\"PoS: {}\", posSentence);\n log.warn(\"Cue tags: {}\", cueTaggedSentence != null ? cueTaggedSentence.getTags() : \"\");\n log.warn(\"POS Cue merged: {}\", posCueMerged != null ? posCueMerged.getTags() : \"\");\n log.warn(\"Scope tags: {}\", scopeMarkedSentence != null ? scopeMarkedSentence.getTags() : \"\");\n log.warn(\"StackTrace:\", t);\n throw t;\n }\n }\n }\n } catch (Throwable t) {\n log.warn(\"Skipping this document for lingscope processing because of previous error.\", t);\n }\n }","title":""},{"docid":"7f99792497c2c5a5c0488f4f34ab13ae","score":"0.45280427","text":"@Override\r\n\tpublic List> analysisHtml(List data,\r\n\t\t\tString phoneNumber, String... agrs) {\n\t\treturn null;\r\n\t}","title":""},{"docid":"bb84d9b410811ba9b5bdeecb8c1a2f86","score":"0.45253026","text":"@Variability(id = AnnotationConstants.VAR_ARBITRARY_PROCESS_DATA)\r\npublic interface IProcessDataGatherer {\r\n\r\n /**\r\n * Returns if the given process is alive.\r\n * \r\n * @param pid the process id \r\n * @return true if the process is alive, false\r\n * else\r\n */\r\n @Variability(id = AnnotationConstants.VAR_ARBITRARY_PROCESS_DATA)\r\n public boolean isProcessAlive(int pid);\r\n \r\n /**\r\n * Returns the I/O statistics of the given process.\r\n * \r\n * @param pid the process id\r\n * @return the I/O statistics of the given process, may \r\n * be null if invalid\r\n */\r\n @Variability(id = { AnnotationConstants.VAR_ARBITRARY_PROCESS_DATA,\r\n AnnotationConstants.VAR_IO_DATA }, op = Operation.AND)\r\n public IoStatistics getProcessIo(int pid);\r\n \r\n /**\r\n * Returns weather native network I/O statistics are included, i.e.\r\n * weather the system provides required capabilities to access the\r\n * statistics.\r\n * \r\n * @param forAll query this information for all processes, or \r\n * otherways for a single process \r\n * \r\n * @return true if the information is provided, \r\n * false else\r\n * \r\n * @since 1.00\r\n */\r\n @Variability(id = { AnnotationConstants.VAR_ARBITRARY_PROCESS_DATA,\r\n AnnotationConstants.VAR_ALL_PROCESSES_DATA,\r\n AnnotationConstants.VAR_IO_DATA }, op = Operation.AND)\r\n public boolean isNetworkIoDataIncluded(boolean forAll);\r\n \r\n /**\r\n * Returns weather native file I/O statistics are included, i.e.\r\n * weather the system provides required capabilities to access the\r\n * statistics.\r\n * \r\n * @param forAll query this information for all processes, or \r\n * otherways for a single process \r\n * \r\n * @return true if the information is provided, \r\n * false else\r\n * \r\n * @since 1.00\r\n */\r\n @Variability(id = { AnnotationConstants.VAR_ARBITRARY_PROCESS_DATA,\r\n AnnotationConstants.VAR_ALL_PROCESSES_DATA,\r\n AnnotationConstants.VAR_IO_DATA }, op = Operation.AND)\r\n public boolean isFileIoDataIncluded(boolean forAll);\r\n\r\n /**\r\n * Returns the memory usage of the given process.\r\n * \r\n * @param pid the process id \r\n * @return the memory usage of the given process in bytes, zero or \r\n * negative if invalid\r\n */\r\n @Variability(id = { AnnotationConstants.VAR_ARBITRARY_PROCESS_DATA,\r\n AnnotationConstants.VAR_MEMORY_DATA }, op = Operation.AND)\r\n public long getProcessMemoryUse(int pid);\r\n\r\n /**\r\n * Returns the CPU user time ticks of the current process.\r\n * \r\n * @param pid the process id \r\n * @return the CPU user time ticks of the current process in nano seconds, \r\n * zero or negative if invalid\r\n */\r\n @Variability(id = { AnnotationConstants.VAR_ARBITRARY_PROCESS_DATA,\r\n AnnotationConstants.VAR_TIME_DATA }, op = Operation.AND)\r\n public long getProcessUserTimeTicks(int pid);\r\n\r\n /**\r\n * Returns the CPU kernel time ticks of the current process.\r\n * \r\n * @param pid the process id \r\n * @return the CPU kernel time ticks of the current process in nano \r\n * seconds, zero or negative if invalid\r\n */\r\n @Variability(id = { AnnotationConstants.VAR_ARBITRARY_PROCESS_DATA,\r\n AnnotationConstants.VAR_TIME_DATA }, op = Operation.AND)\r\n public long getProcessKernelTimeTicks(int pid);\r\n\r\n /**\r\n * Returns the system time ticks of the current process.\r\n * \r\n * @param pid the process id\r\n * @return the system time ticks of the current process in nano seconds, \r\n * zero or negative if invalid\r\n */\r\n @Variability(id = { AnnotationConstants.VAR_ARBITRARY_PROCESS_DATA,\r\n AnnotationConstants.VAR_TIME_DATA }, op = Operation.AND)\r\n public long getProcessSystemTimeTicks(int pid);\r\n\r\n /**\r\n * Returns the load produced by the given process.\r\n * \r\n * @param pid the process id\r\n * @return the load produced by the given process in percent, zero or \r\n * negative if invalid\r\n */\r\n @Variability(id = { AnnotationConstants.VAR_ARBITRARY_PROCESS_DATA,\r\n AnnotationConstants.VAR_LOAD_DATA }, op = Operation.AND)\r\n public double getProcessProcessorLoad(int pid);\r\n\r\n /**\r\n * Returns the I/O statistics for all currently running processes.\r\n * \r\n * @return the I/O statistics for all processes, may \r\n * be null if invalid\r\n */\r\n @Variability(id = { AnnotationConstants.VAR_ALL_PROCESSES_DATA, \r\n AnnotationConstants.VAR_IO_DATA }, op = Operation.AND)\r\n public IoStatistics getAllProcessesIo();\r\n\r\n}","title":""},{"docid":"8665a93338abe4767ce5cfd55a0bd56e","score":"0.44848707","text":"@Override\n\tprotected void process(JCas aJCas, String text, int arg2) throws AnalysisEngineProcessException {\n\t Config conf = ConfigFactory.load(configLocation);\n\t \n\t //create session ID\n \t\tTimestamp timestamp = new Timestamp(System.currentTimeMillis());\n \t\tString sessionId = timestamp.toString();\n\t TalismaneSession session = null;\n\t\ttry {\n\t\t\tsession = new TalismaneSession(conf, sessionId);\n\t\t\t} \n\t\tcatch (ClassNotFoundException e) {e.printStackTrace();} \n\t\tcatch (SentenceAnnotatorLoadException e) {e.printStackTrace();} \n\t\tcatch (IOException e) {e.printStackTrace();} \n\t\tcatch (TalismaneException e) {e.printStackTrace();}\n\n\t RawText rawText = new RawText(text, true, session);\n\n\t // retrieve the processed text after filters have been applied\n\t AnnotatedText processedText = rawText.getProcessedText();\n\n\t // detect sentences\n\t SentenceDetector sentenceDetector = null;\n\t\ttry {\n\t\t\tsentenceDetector = SentenceDetector.getInstance(session);\n\t\t\t} \n\t\tcatch (ClassNotFoundException e) {e.printStackTrace();} \n\t\tcatch (IOException e) {e.printStackTrace();}\n\t\t\n\t try {\n\t\t\tsentenceDetector.detectSentences(processedText);\n\t\t\t} \n\t catch (TalismaneException e) {e.printStackTrace();}\n\n\t //Get Sentences\n\t List sentences = rawText.getDetectedSentences();\n\n\t //Add sentences to JCas\n\t for (Sentence sentence : sentences) {\n\t \tde.tudarmstadt.ukp.dkpro.core.api.segmentation.type.Sentence sen = \n\t \t\t\tnew de.tudarmstadt.ukp.dkpro.core.api.segmentation.type.Sentence(aJCas);\n\t \t\n\t \tint sStart = sentence.getOriginalIndex(0);\n\t \tint sEnd = sStart + sentence.getText().length();\n\t \t\n\t \t//ignore empty sentences\n\t \tif(sStart != sEnd) {\n\t \t\tsen.setBegin(sStart);\n\t \t\tsen.setEnd(sEnd);\n\t \t\tsen.addToIndexes();\n\t \t\n\t \t\n\t\t \t Tokeniser tokeniser = null;\n\t\t \t\ttry {\n\t\t \t\t\ttokeniser = Tokeniser.getInstance(session);\n\t\t \t\t\t} \n\t\t \t\tcatch (ClassNotFoundException e) {e.printStackTrace();} \n\t\t \t\tcatch (IOException e) {e.printStackTrace();}\n\t\t \t\n\t\t \tTokenSequence tokenSequence = null;\n\t\t\t\ttry {\n\t\t\t\t\ttokenSequence = tokeniser.tokeniseSentence(sentence);\n\t\t\t\t\t} \n\t\t\t\tcatch (TalismaneException e) {e.printStackTrace();} \n\t\t\t\tcatch (IOException e) {e.printStackTrace();}\n\t\t\t\t\n\t\t\t\t// write token to JCas\n\t\t\t for (Token token : tokenSequence) {\n\t\t\t \tint tStart = token.getStartIndex() + sStart;\n\t\t\t \tint tEnd = token.getEndIndex() + sStart; \t\n\t\t\t \tcreateToken(aJCas, tStart, tEnd);\n\t\t\t\t}\n\t \t}\n\t }\n\t\t\n\t}","title":""},{"docid":"b2c3f3ff9c5692eb13adf4ab7851ad94","score":"0.44827056","text":"public static void main(String[] args) {\n AnnotationProcessor.getStudentInfo(Student.class);\n }","title":""},{"docid":"5c6d54a850844f6a3d987c337dbfe523","score":"0.44801238","text":"@Override\n public void process(JCas jCas) throws AnalysisEngineProcessException {\n try {\n logger.log(Level.INFO, \"Start analyzing results\");\n String line;\n String[] splitLine;\n BufferedReader reader = new BufferedReader(\n new FileReader(inputFile));\n int correct = 0;\n int wrong = 0;\n int tokenCount = 0;\n int commentCount = 0;\n int truePositive = 0;\n int falsePositive = 0;\n int trueNegative = 0;\n int falseNegative = 0;\n\n String[] labels = {\"negative\", \"positive\"};\n\n boolean writeToEval = true;\n PrintWriter writer = new PrintWriter(new FileOutputStream(\"src/main/resources/res/twitter_evalRes.txt\", false));\n Pattern p = Pattern.compile(\",(?=([^\\\\\\\"]*\\\\\\\"[^\\\\\\\"]*\\\\\\\")*(?![^\\\\\\\"]*\\\\\\\"))\");\n\n for (CommentAnnotation comment : select(jCas, CommentAnnotation.class)) {\n if (comment.getGoldValue() == null) {\n commentCount++;\n line = reader.readLine();\n splitLine = p.split(line);\n String trueValue = splitLine[1];\n //logger.log(Level.INFO, comment.getCoveredText() + \" \" + comment.getPredictValue() + \" \" + comment.getGoldValue());\n String classifiedValue = comment.getPredictValue();\n\n if (classifiedValue.equals(\"negative\") && labels[Integer.parseInt(trueValue)].equals(\"negative\"))\n trueNegative++;\n else if (classifiedValue.equals(\"negative\") && labels[Integer.parseInt(trueValue)].equals(\"positive\"))\n falseNegative++;\n else if (classifiedValue.equals(\"positive\")&& labels[Integer.parseInt(trueValue)].equals(\"positive\"))\n truePositive++;\n else if(classifiedValue.equals(\"positive\") && labels[Integer.parseInt(trueValue)].equals(\"negative\"))\n falsePositive++;\n\n if (splitLine[3].equals(comment.getCoveredText())) {\n if (labels[Integer.parseInt(trueValue)].equals(classifiedValue)) {\n correct++;\n logger.log(Level.INFO, \"Correct tag: \" + labels[Integer.parseInt(trueValue)] + \", predicted tag: \" + classifiedValue);\n } else {\n wrong++;\n }\n tokenCount++;\n } else {\n logger.log(\n Level.WARNING,\n \"Token of predicting file does not match to text (\"\n + splitLine[3] + \"!=\"\n + comment.getCoveredText() + \")\");\n }\n // write to new file here:\n if (writeToEval) {\n writer.println(line + \" \" + classifiedValue);\n }\n }\n }\n reader.close();\n if (writeToEval) {\n writer.close();\n }\n\n float precision = (float) 100 * truePositive / (truePositive + falsePositive);\n float recall = (float) 100 * truePositive / (truePositive + falseNegative);\n float fscore = (float) 2 * ((precision * recall )/ (precision + recall));\n\n logger.log(Level.INFO, \"Correct: \" + correct);\n logger.log(Level.INFO, \"Error: \" + wrong);\n logger.log(Level.INFO, \"Total: \" + tokenCount);\n logger.log(Level.INFO, \"Total comments \" + commentCount);\n logger.log(Level.INFO, \"Precision \" + precision);\n logger.log(Level.INFO, \"Recall \" + recall);\n logger.log(Level.INFO, \"F1 \" + fscore);\n\n //logger.log(Level.INFO, \"Total of positive comments \" + posCount);\n //logger.log(Level.INFO, \"Total of negative comments \" + negCount);\n\n\n /*logger.log(Level.INFO, \"Correct rate: \" + correct / tokenCount);\n logger.log(Level.INFO, \"Error rate: \" + wrong / tokenCount);*/\n\n\n } catch (FileNotFoundException e) {\n logger.log(Level.WARNING, e.getMessage());\n } catch (IOException e) {\n logger.log(Level.WARNING, e.getMessage());\n }\n\n }","title":""},{"docid":"cf0b5a1b503346e3559c2f8a69400439","score":"0.44744354","text":"@Override\n public void preprocess() {\n }","title":""},{"docid":"cf0b5a1b503346e3559c2f8a69400439","score":"0.44744354","text":"@Override\n public void preprocess() {\n }","title":""},{"docid":"18d3c14a02f1f0a4b71e4035e384b7ad","score":"0.44696587","text":"private void parseAnnotations(List corpus, List lstOut)\n {\n ProjectLogger.LOGGER.info(\"Collecting annotation ...\");\n Iterator itDoc = corpus.iterator();\n Iterator itSource = lstOut.iterator();\n\n while(itDoc.hasNext() && itSource.hasNext())\n {\n Object doc = (Object) itDoc.next();\n\n MiddleData aoData = itSource.next(); \n\n ((AnnotatorCollector)tmAnnColl.get(aoData.getId_annotationrecollecting())).\n collect(doc, aoData);\n } \n }","title":""},{"docid":"90190c53df92a40b2e1b01e82a5fc1c7","score":"0.44688812","text":"public Analyzer() {\n // TODO: default plugins\n }","title":""},{"docid":"5ab7442b3450c7c56e594bba15013419","score":"0.44642916","text":"private BuildAttributionAnalyzersData(com.google.protobuf.GeneratedMessageV3.Builder builder) {\n super(builder);\n }","title":""},{"docid":"d8c3e8676173134bd71cb8d7793c859b","score":"0.4455789","text":"abstract public void reduceExtraction2Tagging(AnnotationExample example);","title":""},{"docid":"7394d4352b7994de00e7e7a56caf331c","score":"0.44466317","text":"@Override\n public void preprocess() {\n }","title":""},{"docid":"7394d4352b7994de00e7e7a56caf331c","score":"0.44466317","text":"@Override\n public void preprocess() {\n }","title":""},{"docid":"7394d4352b7994de00e7e7a56caf331c","score":"0.44466317","text":"@Override\n public void preprocess() {\n }","title":""},{"docid":"7394d4352b7994de00e7e7a56caf331c","score":"0.44466317","text":"@Override\n public void preprocess() {\n }","title":""},{"docid":"0814d4fe5aaadc2446af529ec1792fbc","score":"0.4445725","text":"@Override\n\tpublic void process(JCas jcas) throws AnalysisEngineProcessException {\n\t\t\t\tAnnotationIndex idxToken = jcas.getAnnotationIndex(Token.type);\n\t\t\t\tFSIterator itToken = idxToken.iterator();\n\t\t\t\twhile (itToken.hasNext()) {\n\t\t\t\t\tToken mToken = (Token) itToken.next();\n\t\t\t\t\tString lemma = mToken.getLemma();\n\t\t\t\t\tlemma = lemma.replaceAll(\"(a){2,}\",\"a\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(e){2,}\",\"e\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(i){2,}\",\"i\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(o){2,}\",\"o\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(u){2,}\",\"u\");\t\t\t\t\t\n\n\t\t\t\t\tlemma = lemma.replaceAll(\"(b){2,}\",\"b\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(c){3,}\",\"cc\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(d){2,}\",\"d\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(f){2,}\",\"f\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(g){2,}\",\"g\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(h){2,}\",\"h\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(j){2,}\",\"j\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(k){2,}\",\"k\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(l){3,}\",\"ll\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(m){3,}\",\"m\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(n){2,}\",\"n\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(ñ){2,}\",\"ñ\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(p){2,}\",\"p\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(q){2,}\",\"q\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(r){3,}\",\"r\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(s){2,}\",\"s\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(t){2,}\",\"t\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(v){2,}\",\"v\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(w){2,}\",\"w\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(x){2,}\",\"x\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(y){2,}\",\"y\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(z){2,}\",\"z\");\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\tmToken.setLemma(lemma);\n\t\t\t\t\t\n\t\t\t\t}\n\n\t}","title":""},{"docid":"63d91b4def20c358b2ef70868700ec8e","score":"0.44432062","text":"private void setProcessors(CompilationTask task) {\n LinkedList processors = new LinkedList();\n processors.add(new CodeAnalyzerProcessor());\n task.setProcessors(processors);\n }","title":""},{"docid":"ba154509201c5f1ee0f0d382f79e17f8","score":"0.444113","text":"public abstract void processData(MapleData data);","title":""},{"docid":"e76df0707ca18c3e95cae9b33a1b18e6","score":"0.4438514","text":"public String getAnalysisInstanceAnalysisParameters() {\n return analysisInstanceAnalysisParameters;\n }","title":""},{"docid":"71444b5d6b0014d672290d8a68aa5dfd","score":"0.44310057","text":"private static void prepareDataManual() {\n\n\t\ttext = text + \"Use unigram features: [\" + Features.isUseUnigramFeatures() + \"] - Used in Quantification: [\" + Features.isUseQuantifUnigrams() + \"]\" + n;\n\t\ttextProperty.set(text);\n\n\t\ttext = text + \"Use basic pattern features: [\" + Features.isUsePatternFeatures() + \"] - Used in Quantification: [\" + Features.isUseQuantifBasicPatterns() + \"]\" + n;\n\t\ttextProperty.set(text);\n\t\t\n\t\ttext = text + \"Use adv. pattern features: [\" + Features.isUseAdvancedPatternFeatures() + \"] - Used in Quantification: [\" + Features.isUseQuantifAdvancedPatterns() + \"]\" + n;\n\t\ttextProperty.set(text);\n\t\t\t\t\n\t\tFeatures.setCoefficients(Features.getManualCoefficients());\n\t\ttotalNumberOfTasks.set(1);\n\n\t\ttext = text + \"Coefficients extracted\" + n;\n\t\ttextProperty.set(text);\n\t\t\n\t\t// Select the data set to use\n\t\tArrayList tweets;\n\t\t\n\t\tif (Parameters.getTypeOfProject().equals(Parameters.TypeOfProject.TESTSET)) {\n\t\t\ttweets = Parameters.getTestSet();\n\t\t\ttext = text + \"Data set to use: \" + \"[Test Set]\" + n;\n\t\t\ttextProperty.set(text);\n\t\t} else {\n\t\t\ttweets = Parameters.getUnknownSet();\n\t\t\ttext = text + \"Data set to use: \" + \"[Non-annotated Set]\" + n;\n\t\t\ttextProperty.set(text);\n\t\t}\n\t\t\n\t\t// Add Unigram final scores\n\t\tif (Features.isUseQuantifUnigrams()) {\n\t\t\tfor (Tweet tweet : tweets) {\n\t\t\t\tTweetProcessing.addUnigramScores(tweet, Parameters.getClasses());\n\t\t\t}\n\t\t\ttext = text + \"Unigram scores extracted\" + n;\n\t\t\ttextProperty.set(text);\n\t\t}\n\t\t\n\t\t// Add the basic pattern final scores\n\t\tif (Features.isUseQuantifBasicPatterns()) {\n\t\t\t\n\t\t\tint m = Features.getMaxPatternLength() - Features.getMinPatternLength() + 1;\n\t\t\tint min = Features.getMinPatternLength();\n\t\t\t\n\t\t\tdouble[] factors = new double[m];\n\t\t\t\n\t\t\tfor (int i=0; i();\n\n for(String key : DF.keySet()){\n if(DF.get(key) >= 10) vocab.add(key);\n }\n return;\n\n }","title":""},{"docid":"b7f999d91aa32089881097635efa1a78","score":"0.44076768","text":"public boolean hasProjectConfigurationAnalyzerData() {\n return ((bitField0_ & 0x00000010) != 0);\n }","title":""},{"docid":"0c2159056be414965c117d007f547323","score":"0.44070074","text":"public interface AnnotContent {\r\n\r\n /** Return the page index of a annotation */\r\n public int getPageIndex();\r\n\r\n /** Return the type of a annotation */\r\n public int getType();\r\n\r\n /** Return the uniquely identifying of a annotation */\r\n public String getNM();\r\n\r\n /** Return the bbox of a annotation */\r\n public RectF getBBox();\r\n\r\n /** Return the color of a annotation */\r\n public int getColor();\r\n\r\n /** Return the opacity of a annotation */\r\n public int getOpacity();\r\n\r\n /** Return the line width of a annotation. usually for line, square, circle, polygon, polyline and so on*/\r\n public float getLineWidth();\r\n\r\n /** Return the subject of a annotation */\r\n public String getSubject();\r\n\r\n /** Return the modified date of a annotation */\r\n public DateTime getModifiedDate();\r\n\r\n /** Return the contents of a annotation */\r\n public String getContents();\r\n\r\n /** Return the intent of a annotation */\r\n public String getIntent();\r\n}","title":""},{"docid":"059ddad4d54186823554b82464e0c6fc","score":"0.44024718","text":"Map, Annotation[]> active();","title":""},{"docid":"1277cb06397ac679f32e27015dc6029b","score":"0.43932334","text":"public void map(LongWritable key, Text value, OutputCollector output, Reporter reporter) throws IOException {\n try {\n // analyze one line\n String[] params = value.toString().split(\",\", 6);\n System.out.println(params[5]);\n String text = params[5];\n // remove the first the last \"\" quotes.\n text = text.substring(1, text.length() - 1);\n text = Jsoup.parse(text).text();\n\n\n // create an empty Annotation just with the given text\n @SuppressWarnings(\"unchecked\")\n List> sentences = tagger.tokenizeText(new StringReader(text));\n for (List sentence : sentences) {\n ArrayList tSentence = tagger.tagSentence(sentence);\n // System.out.println(Sentence.listToString(tSentence, false));\n for (TaggedWord tag: tSentence) {\n output.collect(new Text(tag.tag()), ONE);\n }\n }\n } catch (Exception e) {\n System.out.println(e);\n }\n //output.collect(new Text(t.toString()), );\n\n }","title":""},{"docid":"fe1aedb32a272c72228d48403fbbe231","score":"0.43895867","text":"public void setupAnalysis();","title":""},{"docid":"8334dd5be660aadf3c16ac7f271caf0b","score":"0.43861398","text":"public boolean hasAnnotations() {\n return fieldSetFlags()[1];\n }","title":""},{"docid":"1566ec6310645c4e263e22ded5bc78eb","score":"0.43837446","text":"private void processAnnotations(final Field property) throws CoreException {\n // For each field annotation we will attach an event handler\n for (final Annotation a : property.getAnnotations()) {\n\n if (EventTarget.class.isAssignableFrom(property.getType())) {\n\n // Manage only JRebirth OnXxxxx annotations\n if (a.annotationType().getName().startsWith(BASE_ANNOTATION_NAME)) {\n\n try {\n // Retrieve the property value\n final EventTarget target = (EventTarget) property.get(this);\n\n // Process the annotation if the node is not null\n if (target != null && controller() instanceof AbstractController) {\n addHandler(target, a);\n }\n\n } catch (IllegalArgumentException | IllegalAccessException e) {\n LOGGER.log(UIMessages.NODE_ANNO_PROCESSING_FAILURE, e, this.getClass().getName(), property.getName());\n }\n }\n\n // Manage only JRebirth OnFinished annotations\n } else if (Animation.class.isAssignableFrom(property.getType())\n && OnFinished.class.getName().equals(a.annotationType().getName())) {\n\n try {\n // Retrieve the property value\n final Animation animation = (Animation) property.get(this);\n\n // Process the annotation if the node is not null\n if (animation != null && controller() instanceof AbstractController) {\n addHandler(animation, a);\n }\n\n } catch (IllegalArgumentException | IllegalAccessException e) {\n LOGGER.log(UIMessages.ANIM_ANNO_PROCESSING_FAILURE, e, this.getClass().getName(), property.getName());\n }\n\n }\n\n }\n }","title":""},{"docid":"e49a3add48545426cb6f1f032d8e45e3","score":"0.43830127","text":"public boolean hasProjectConfigurationAnalyzerData() {\n return ((bitField0_ & 0x00000010) != 0);\n }","title":""},{"docid":"1b1c7ea1b8ce7b3049c9a896e99ed8fe","score":"0.43816808","text":"@Override\r\n\tpublic void annotateFragments(JCas aJCas) throws FragmentAnnotatorException {\r\n\t\t\r\n\t\tLogger fragLogger = Logger.getLogger(this.getClass().getName()); \r\n\r\n\t\t// first of all, check determined fragmentation is there or not. \r\n\t\t// If it is there, we don't run and pass \r\n\t\t// check the annotated data\r\n\t\tAnnotationIndex frgIndex = aJCas.getAnnotationIndex(DeterminedFragment.type);\r\n\t\t\r\n\t\tif (frgIndex.size() > 0)\r\n\t\t{\r\n\t\t\tfragLogger.info(\"The CAS already has \" + frgIndex.size() + \" determined fragment annotation. Won't process this CAS.\"); \r\n\t\t\treturn; \r\n\t\t}\r\n\t\t\r\n\t\t//add lap annotation\r\n\t\taddLAPTokenAnnotation(aJCas);\r\n\r\n\t\t//add determined fragment annotation\r\n\t\tfragLogger.info(\"Annotating determined fragments on CAS. CAS Text has: \\\"\" + aJCas.getDocumentText() + \"\\\".\"); \r\n\t\tint num_frag = 0; \r\n\t\tAnnotationIndex tokenIndex = aJCas.getAnnotationIndex(Token.type);\r\n\t\tIterator tokenItr = tokenIndex.iterator();\r\n\t\tSet lemmasToAdd = new HashSet();\r\n\t\twhile(tokenItr.hasNext()) {\r\n\t\t\t//annotate each token except punctuation as one fragment, if it matches the filter \r\n\t\t\tToken tk = (Token) tokenItr.next(); \r\n\t\t\ttry {\r\n\t\t\t\tif(isAllowed(tk, tokenPOSFilter)){\r\n\t\t\t\t\tString tokenText = tk.getCoveredText();\r\n\t\t\t\t\tif(tokenText.length()==1 && !isDigit(tokenText)){\r\n\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t}\r\n\t\t\t\t\ttmpLemmaMap.put(tokenText, tk.getLemma().getValue());\r\n\t\t\t\t\tCASUtils.Region[] r = new CASUtils.Region[1];\r\n\t\t\t\t\tr[0] = new CASUtils.Region(tk.getBegin(), tk.getEnd()); \r\n\t\t\t\t\tfragLogger.info(\"Annotating the following as a fragment: \" + tk.getCoveredText());\r\n\t\t\t\t\tCASUtils.annotateOneDeterminedFragment(aJCas, r);\r\n\t\t\t\t\tnum_frag++;\r\n\t\t\t\t\tif(splitter != null){\r\n\t\t\t\t\t\tCollection compoundParts = decompoundWord(tokenText, decompositionType);\r\n\t\t\t\t\t\tif(compoundParts.size() > 1){\r\n\t\t\t\t\t\t\tfor(String compoundPart : compoundParts){\r\n\t\t\t\t\t\t\t\tif(compoundPart.length() == 1 && !isDigit(compoundPart)){\r\n\t\t\t\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t\t\t}\r\n//\t\t\t\t\t\t\t\tif(compoundPart.length()>1){\r\n\t\t\t\t\t\t\t\t\tif(!compoundPart.equals(tokenText)) {\r\n\t\t\t\t\t\t\t\t\t\tint index = tokenText.toLowerCase().indexOf(compoundPart.toLowerCase());\r\n\t\t\t\t\t\t\t\t\t\tint compoundPartBegin = tk.getBegin() + index;\r\n\t\t\t\t\t\t\t\t\t\tint compoundPartEnd = compoundPartBegin + compoundPart.length();\r\n\t\t\t\t\t\t\t\t\t\tindex = compoundPartEnd + 1;\r\n\t\t\t\t\t\t\t\t\t\tr[0] = new CASUtils.Region(compoundPartBegin, compoundPartEnd);\r\n\t\t\t\t\t\t\t\t\t\tLemma compoundLemma = createLemma(aJCas, compoundPart, compoundPartBegin, compoundPartEnd);\r\n\t\t\t\t\t\t\t\t\t\tlemmasToAdd.add(compoundLemma);\r\n//\t\t\t\t\t\t\t\t\t\tSystem.out.println(\"Annotating the following as a fragment: \" + tokenText + \" \" + aJCas.getDocumentText().substring(compoundPartBegin, compoundPartEnd));\r\n\t\t\t\t\t\t\t\t\t\tfragLogger.info(\"Annotating the following as a fragment: \" + aJCas.getDocumentText().substring(compoundPartBegin, compoundPartEnd));\r\n\t\t\t\t\t\t\t\t\t\tCASUtils.annotateOneDeterminedFragment(aJCas, r);\r\n\t\t\t\t\t\t\t\t\t\tnum_frag++;\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\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\tcatch (LAPException e)\r\n\t\t\t{\r\n\t\t\t\tthrow new FragmentAnnotatorException(\"CASUtils reported exception while annotating Fragment, on token (\" + tk.getBegin() + \",\"+ tk.getEnd(), e );\r\n\t\t\t}\r\n\t\t\t \r\n\t\t}\r\n\t\tfragLogger.info(\"Annotated \" + num_frag + \" determined fragments\"); \r\n\t\t//add lemma of compound parts to the indexes\r\n\t\tfor(Lemma lemma : lemmasToAdd){\r\n\t\t\taJCas.addFsToIndexes(lemma);\r\n\t\t}\r\n\t}","title":""},{"docid":"e658c8c34dba6a7f1216532cbd0a2bfd","score":"0.43756646","text":"public interface DynamicAnnotationManager {\n\n\n public Runnable process(int schema, int sqltype, int[] tables, BufferSQLContext context) throws Exception;\n\n /**\n * 动态注解先匹配chema的名字,再sql类型,在匹配表名,在匹配条件\n *\n * @param\n * @return\n */\n //public void processNow(int schema, int sqltype, int[] tables, BufferSQLContext context) throws Exception ;\n public default Runnable process(String schema, int sqltype, int[] tables, BufferSQLContext context) throws Exception {\n\n return process(schema.hashCode(), sqltype, tables, context);\n }\n\n public default Runnable process(String schema, int sqltype, String[] tables, BufferSQLContext context) throws Exception {\n return process(schema.hashCode(), sqltype, DynamicAnnotationKeyRoute.stringArray2HashArray(tables), context);\n }\n\n public void collectInSQLAnnotationList(int schema, int sqltype, int[] tables, BufferSQLContext context, List collect)throws Exception;\n public default void collectInSQLAnnotationList(String schema, int sqltype, int[] tables, BufferSQLContext context, List collect) throws Exception {\n collectInSQLAnnotationList(schema.hashCode(), sqltype, tables, context,collect);\n }\n public void collect(int schema, int sqltype, int[] tables, BufferSQLContext context, List collect)throws Exception;\n public default void collect(String schema, int sqltype, int[] tables, BufferSQLContext context, List collect) throws Exception {\n collect(schema.hashCode(), sqltype, tables, context,collect);\n }\n\n\n}","title":""},{"docid":"dc28ddd36233b6a7acd1c5fbe6efe193","score":"0.43736497","text":"interface AnnotationReader {\n\n /**\n * Resolves the underlying {@link AnnotatedElement}.\n *\n * @return The underlying annotated element.\n */\n AnnotatedElement resolve();\n\n /**\n * Returns the underlying type annotations as a list.\n *\n * @return The underlying type annotations as a list.\n */\n AnnotationList asList();\n\n /**\n * Returns a reader for type annotations of an represented element's wildcard upper bound.\n *\n * @param index The wildcard bound's index.\n * @return An annotation reader for the underlying annotated upper bound.\n */\n AnnotationReader ofWildcardUpperBoundType(int index);\n\n /**\n * Returns a reader for type annotations of an represented element's wildcard lower bound.\n *\n * @param index The wildcard bound's index.\n * @return An annotation reader for the underlying annotated lower bound.\n */\n AnnotationReader ofWildcardLowerBoundType(int index);\n\n /**\n * Returns a reader for type annotations of a type variable's bound.\n *\n * @param index The bound's index.\n * @return An annotation reader for the underlying annotated bound.\n */\n AnnotationReader ofTypeVariableBoundType(int index);\n\n /**\n * Returns a reader for type annotations of a parameterized type's type argument.\n *\n * @param index The bound's index.\n * @return An annotation reader for the underlying annotated bound..\n */\n AnnotationReader ofTypeArgument(int index);\n\n /**\n *

\n * Returns a reader for type annotations of a parameterized type's owner type.\n *

\n *

\n * Important: This feature is not currently implemented by the Java reflection API.\n *

\n *\n * @return An annotation reader for the underlying owner type.\n */\n AnnotationReader ofOwnerType();\n\n /**\n *

\n * Returns a reader for type annotations of an inner class type's outer type.\n *

\n *

\n * Important: This feature is not currently implemented by the Java reflection API.\n *

\n *\n * @return An annotation reader for the underlying owner type.\n */\n AnnotationReader ofOuterClass();\n\n /**\n * Returns a reader for type annotations of an array's component type.\n *\n * @return An annotation reader for the underlying component type.\n */\n AnnotationReader ofComponentType();\n\n /**\n * A non-operational annotation reader.\n */\n enum NoOp implements AnnotationReader, AnnotatedElement {\n\n /**\n * The singleton instance.\n */\n INSTANCE;\n\n /**\n * {@inheritDoc}\n */\n public AnnotatedElement resolve() {\n return this;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationList asList() {\n return new AnnotationList.Empty();\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationReader ofWildcardUpperBoundType(int index) {\n return this;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationReader ofWildcardLowerBoundType(int index) {\n return this;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationReader ofTypeVariableBoundType(int index) {\n return this;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationReader ofTypeArgument(int index) {\n return this;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationReader ofOwnerType() {\n return this;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationReader ofOuterClass() {\n return this;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationReader ofComponentType() {\n return this;\n }\n\n /**\n * {@inheritDoc}\n */\n public boolean isAnnotationPresent(Class annotationClass) {\n throw new IllegalStateException(\"Cannot resolve annotations for no-op reader: \" + this);\n }\n\n /**\n * {@inheritDoc}\n */\n public T getAnnotation(Class annotationClass) {\n throw new IllegalStateException(\"Cannot resolve annotations for no-op reader: \" + this);\n }\n\n /**\n * {@inheritDoc}\n */\n public Annotation[] getAnnotations() {\n throw new IllegalStateException(\"Cannot resolve annotations for no-op reader: \" + this);\n }\n\n /**\n * {@inheritDoc}\n */\n public Annotation[] getDeclaredAnnotations() {\n return new Annotation[0];\n }\n }\n\n /**\n * A delegating annotation reader that delegates all invocations to an annotation reader that wraps the previous one.\n */\n abstract class Delegator implements AnnotationReader {\n\n /**\n * A proxy for {@code java.security.AccessController#doPrivileged} that is activated if available.\n *\n * @param action The action to execute from a privileged context.\n * @param The type of the action's resolved value.\n * @return The action's resolved value.\n */\n @AccessControllerPlugin.Enhance\n static T doPrivileged(PrivilegedAction action) {\n return action.run();\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationReader ofWildcardUpperBoundType(int index) {\n return new ForWildcardUpperBoundType(this, index);\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationReader ofWildcardLowerBoundType(int index) {\n return new ForWildcardLowerBoundType(this, index);\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationReader ofTypeVariableBoundType(int index) {\n return new ForTypeVariableBoundType(this, index);\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationReader ofTypeArgument(int index) {\n return new ForTypeArgument(this, index);\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationReader ofOwnerType() {\n return new ForOwnerType(this);\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationReader ofOuterClass() {\n return new ForOwnerType(this);\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationReader ofComponentType() {\n return new ForComponentType(this);\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationList asList() {\n return new AnnotationList.ForLoadedAnnotations(resolve().getDeclaredAnnotations());\n }\n\n /**\n * A simple delegator for a given {@link AnnotatedElement}.\n */\n @HashCodeAndEqualsPlugin.Enhance\n public static class Simple extends Delegator {\n\n /**\n * The represented {@link AnnotatedElement}.\n */\n private final AnnotatedElement annotatedElement;\n\n /**\n * Creates a new simple delegator.\n *\n * @param annotatedElement The represented {@link AnnotatedElement}.\n */\n public Simple(AnnotatedElement annotatedElement) {\n this.annotatedElement = annotatedElement;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotatedElement resolve() {\n return annotatedElement;\n }\n }\n\n /**\n * A chained delegator that bases its result on an underlying annotation reader.\n */\n @HashCodeAndEqualsPlugin.Enhance\n protected abstract static class Chained extends Delegator {\n\n /**\n * The underlying annotation reader.\n */\n protected final AnnotationReader annotationReader;\n\n /**\n * Creates a new chained annotation reader.\n *\n * @param annotationReader The underlying annotation reader.\n */\n protected Chained(AnnotationReader annotationReader) {\n this.annotationReader = annotationReader;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotatedElement resolve() {\n return resolve(annotationReader.resolve());\n }\n\n /**\n * Resolves the type annotations from a given annotated element into the annotated element that this instance represents.\n *\n * @param annotatedElement The original annotated element.\n * @return The resolved annotated element.\n */\n protected abstract AnnotatedElement resolve(AnnotatedElement annotatedElement);\n }\n\n /**\n * A delegating annotation reader for an annotated type variable.\n */\n @HashCodeAndEqualsPlugin.Enhance\n public static class ForLoadedTypeVariable extends Delegator {\n\n /**\n * The represented type variable.\n */\n private final TypeVariable typeVariable;\n\n /**\n * Creates a new annotation reader for the given type variable.\n *\n * @param typeVariable The represented type variable.\n */\n public ForLoadedTypeVariable(TypeVariable typeVariable) {\n this.typeVariable = typeVariable;\n }\n\n /**\n * {@inheritDoc}\n */\n @SuppressFBWarnings(value = \"BC_VACUOUS_INSTANCEOF\", justification = \"Cast is required for JVMs before Java 8.\")\n public AnnotatedElement resolve() {\n // Older JVMs require this check and cast as the hierarchy was introduced in a later version.\n return typeVariable instanceof AnnotatedElement\n ? (AnnotatedElement) typeVariable\n : NoOp.INSTANCE;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationReader ofTypeVariableBoundType(int index) {\n return new ForTypeVariableBoundType.OfFormalTypeVariable(typeVariable, index);\n }\n }\n\n /**\n * A delegating annotation reader for an annotated super type.\n */\n @HashCodeAndEqualsPlugin.Enhance(includeSyntheticFields = true)\n public static class ForLoadedSuperClass extends Delegator {\n\n /**\n * The represented type.\n */\n private final Class type;\n\n /**\n * Creates a new annotation reader for an annotated super type.\n *\n * @param type The represented type.\n */\n public ForLoadedSuperClass(Class type) {\n this.type = type;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotatedElement resolve() {\n AnnotatedElement element = ForLoadedType.DISPATCHER.getAnnotatedSuperclass(type);\n return element == null\n ? NoOp.INSTANCE\n : element;\n }\n }\n\n /**\n * A delegating annotation reader for an annotated interface type.\n */\n @HashCodeAndEqualsPlugin.Enhance(includeSyntheticFields = true)\n public static class ForLoadedInterface extends Delegator {\n\n /**\n * The represented interface type.\n */\n private final Class type;\n\n /**\n * The interface type's index.\n */\n private final int index;\n\n /**\n * Creates a new annotation reader for an annotated interface type.\n *\n * @param type The represented interface type.\n * @param index The interface type's index.\n */\n public ForLoadedInterface(Class type, int index) {\n this.type = type;\n this.index = index;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotatedElement resolve() {\n AnnotatedElement[] element = ForLoadedType.DISPATCHER.getAnnotatedInterfaces(type);\n return element.length == 0 ? NoOp.INSTANCE : element[index];\n }\n }\n\n /**\n * A delegating annotation reader for an annotated field variable.\n */\n @HashCodeAndEqualsPlugin.Enhance(includeSyntheticFields = true)\n public static class ForLoadedField extends Delegator {\n\n /**\n * A dispatcher for interacting with {@link Field}.\n */\n protected static final Dispatcher DISPATCHER = doPrivileged(JavaDispatcher.of(Dispatcher.class));\n\n /**\n * The represented field.\n */\n private final Field field;\n\n /**\n * Creates a new annotation reader for an annotated field type.\n *\n * @param field The represented field.\n */\n public ForLoadedField(Field field) {\n this.field = field;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotatedElement resolve() {\n AnnotatedElement element = DISPATCHER.getAnnotatedType(field);\n return element == null\n ? NoOp.INSTANCE\n : element;\n }\n\n /**\n * A dispatcher for interacting with {@link Field}.\n */\n @JavaDispatcher.Proxied(\"java.lang.reflect.Field\")\n protected interface Dispatcher {\n\n /**\n * Resolves the supplied method's annotated field type.\n *\n * @param field The field for which to resolve the annotated type.\n * @return The field type annotations or {@code null} if this feature is not supported.\n */\n @MaybeNull\n @JavaDispatcher.Defaults\n AnnotatedElement getAnnotatedType(Field field);\n }\n }\n\n /**\n * A delegating annotation reader for an annotated return variable.\n */\n @HashCodeAndEqualsPlugin.Enhance(includeSyntheticFields = true)\n public static class ForLoadedMethodReturnType extends Delegator {\n\n /**\n * A dispatcher for interacting with {@link Method}.\n */\n protected static final Dispatcher DISPATCHER = doPrivileged(JavaDispatcher.of(Dispatcher.class));\n\n /**\n * The represented method.\n */\n private final Method method;\n\n /**\n * Creates a new annotation reader for an annotated return type.\n *\n * @param method The represented method.\n */\n public ForLoadedMethodReturnType(Method method) {\n this.method = method;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotatedElement resolve() {\n AnnotatedElement element = DISPATCHER.getAnnotatedReturnType(method);\n return element == null\n ? NoOp.INSTANCE\n : element;\n }\n\n /**\n * A dispatcher for interacting with {@link Method}.\n */\n @JavaDispatcher.Proxied(\"java.lang.reflect.Method\")\n protected interface Dispatcher {\n\n /**\n * Resolves the supplied method's annotated return type.\n *\n * @param method The executable for which to resolve the annotated return type.\n * @return The return type annotations or {@code null} if this feature is not supported.\n */\n @MaybeNull\n @JavaDispatcher.Defaults\n AnnotatedElement getAnnotatedReturnType(Method method);\n }\n }\n\n /**\n * A delegating annotation reader for an annotated parameter variable.\n */\n @HashCodeAndEqualsPlugin.Enhance(includeSyntheticFields = true)\n public static class ForLoadedExecutableParameterType extends Delegator {\n\n /**\n * A dispatcher for interacting with {@code java.lang.reflect.Executable}.\n */\n protected static final Dispatcher DISPATCHER = doPrivileged(JavaDispatcher.of(Dispatcher.class));\n\n /**\n * The represented executable.\n */\n private final AccessibleObject executable;\n\n /**\n * The type argument's index.\n */\n private final int index;\n\n /**\n * Creates a new annotation reader for an annotated type argument type.\n *\n * @param executable The represented executable.\n * @param index The type argument's index.\n */\n public ForLoadedExecutableParameterType(AccessibleObject executable, int index) {\n this.executable = executable;\n this.index = index;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotatedElement resolve() {\n AnnotatedElement[] element = DISPATCHER.getAnnotatedParameterTypes(executable);\n return element.length == 0 ? NoOp.INSTANCE : element[index];\n }\n\n /**\n * A type for interacting with {@code java.lang.reflect.Executable}.\n */\n @JavaDispatcher.Proxied(\"java.lang.reflect.Executable\")\n protected interface Dispatcher {\n\n /**\n * Resolves the supplied {@code java.lang.reflect.Executable}'s annotated parameter types.\n *\n * @param executable The executable for which to resolve its annotated parameter types.\n * @return An array of parameter type annotations or an empty array if this feature is not supported.\n */\n @JavaDispatcher.Defaults\n AnnotatedElement[] getAnnotatedParameterTypes(Object executable);\n }\n }\n\n /**\n * A delegating annotation reader for an annotated exception variable.\n */\n @HashCodeAndEqualsPlugin.Enhance(includeSyntheticFields = true)\n public static class ForLoadedExecutableExceptionType extends Delegator {\n\n /**\n * A dispatcher for interacting with {@code java.lang.reflect.Executable}.\n */\n protected static final Dispatcher DISPATCHER = doPrivileged(JavaDispatcher.of(Dispatcher.class));\n\n /**\n * The represented executable.\n */\n private final AccessibleObject executable;\n\n /**\n * The exception type's index.\n */\n private final int index;\n\n /**\n * Creates a new annotation reader for an annotated exception type.\n *\n * @param executable The represented executable.\n * @param index The exception type's index.\n */\n public ForLoadedExecutableExceptionType(AccessibleObject executable, int index) {\n this.executable = executable;\n this.index = index;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotatedElement resolve() {\n AnnotatedElement[] element = DISPATCHER.getAnnotatedExceptionTypes(executable);\n return element.length == 0 ? NoOp.INSTANCE : element[index];\n }\n\n /**\n * A proxy type for interacting with {@code java.lang.reflect.Executable}.\n */\n @JavaDispatcher.Proxied(\"java.lang.reflect.Executable\")\n protected interface Dispatcher {\n\n /**\n * Resolves the supplied {@code java.lang.reflect.Executable}'s annotated exception types.\n *\n * @param executable The executable for which to resolve its annotated exception types.\n * @return An array of exception type annotations or an empty array if this feature is not supported.\n */\n @JavaDispatcher.Defaults\n AnnotatedElement[] getAnnotatedExceptionTypes(Object executable);\n }\n }\n\n /**\n * An annotation reader for a {@code java.lang.reflect.RecordComponent}.\n */\n public static class ForLoadedRecordComponent extends Delegator {\n\n /**\n * The represented {@code java.lang.reflect.RecordComponent}.\n */\n private final Object recordComponent;\n\n /**\n * Creates a new annotation reader for a {@code java.lang.reflect.RecordComponent}.\n *\n * @param recordComponent The represented {@code java.lang.reflect.RecordComponent}.\n */\n public ForLoadedRecordComponent(Object recordComponent) {\n this.recordComponent = recordComponent;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotatedElement resolve() {\n return RecordComponentDescription.ForLoadedRecordComponent.RECORD_COMPONENT.getAnnotatedType(recordComponent);\n }\n }\n }\n\n /**\n * A chained annotation reader for reading a wildcard type's upper bound type.\n */\n @HashCodeAndEqualsPlugin.Enhance\n class ForWildcardUpperBoundType extends Delegator.Chained {\n\n /**\n * A proxy to interact with {@code java.lang.reflect.AnnotatedWildcardType}.\n */\n private static final AnnotatedWildcardType ANNOTATED_WILDCARD_TYPE = doPrivileged(JavaDispatcher.of(AnnotatedWildcardType.class));\n\n /**\n * The wildcard bound's index.\n */\n private final int index;\n\n /**\n * Creates a chained annotation reader for reading a upper-bound wildcard's bound type.\n *\n * @param annotationReader The annotation reader from which to delegate.\n * @param index The wildcard bound's index.\n */\n protected ForWildcardUpperBoundType(AnnotationReader annotationReader, int index) {\n super(annotationReader);\n this.index = index;\n }\n\n @Override\n protected AnnotatedElement resolve(AnnotatedElement annotatedElement) {\n if (!ANNOTATED_WILDCARD_TYPE.isInstance(annotatedElement)) { // Avoid problem with Kotlin compiler.\n return NoOp.INSTANCE;\n }\n try {\n AnnotatedElement[] annotatedUpperBound = ANNOTATED_WILDCARD_TYPE.getAnnotatedUpperBounds(annotatedElement);\n return annotatedUpperBound.length == 0 // Wildcards with a lower bound do not define annotations for their implicit upper bound.\n ? NoOp.INSTANCE\n : annotatedUpperBound[index];\n } catch (ClassCastException ignored) { // To avoid a bug on early releases of Java 8.\n return NoOp.INSTANCE;\n }\n }\n\n /**\n * A proxy to interact with {@code java.lang.reflect.AnnotatedWildcardType}.\n */\n @JavaDispatcher.Proxied(\"java.lang.reflect.AnnotatedWildcardType\")\n protected interface AnnotatedWildcardType {\n\n /**\n * Returns {@code true} if the supplied instance implements {@code java.lang.reflect.AnnotatedWildcardType}.\n *\n * @param value The annotated element to consider.\n * @return {@code true} if the supplied instance is of type {@code java.lang.reflect.AnnotatedWildcardType}.\n */\n @JavaDispatcher.Instance\n boolean isInstance(AnnotatedElement value);\n\n /**\n * Returns the supplied annotated element's annotated upper bounds.\n *\n * @param value The annotated element to resolve.\n * @return An array of annotated upper bounds for the supplied annotated elements.\n */\n AnnotatedElement[] getAnnotatedUpperBounds(AnnotatedElement value);\n }\n }\n\n /**\n * A chained annotation reader for reading a wildcard type's lower bound type.\n */\n @HashCodeAndEqualsPlugin.Enhance\n class ForWildcardLowerBoundType extends Delegator.Chained {\n\n /**\n * A dispatcher to interact with {@code java.lang.reflect.AnnotatedWildcardType}.\n */\n private static final AnnotatedWildcardType ANNOTATED_WILDCARD_TYPE = doPrivileged(JavaDispatcher.of(AnnotatedWildcardType.class));\n\n /**\n * The wildcard bound's index.\n */\n private final int index;\n\n /**\n * Creates a chained annotation reader for reading a lower-bound wildcard's bound type.\n *\n * @param annotationReader The annotation reader from which to delegate.\n * @param index The wildcard bound's index.\n */\n protected ForWildcardLowerBoundType(AnnotationReader annotationReader, int index) {\n super(annotationReader);\n this.index = index;\n }\n\n @Override\n protected AnnotatedElement resolve(AnnotatedElement annotatedElement) {\n if (!ANNOTATED_WILDCARD_TYPE.isInstance(annotatedElement)) {\n return NoOp.INSTANCE;\n }\n try {\n return ANNOTATED_WILDCARD_TYPE.getAnnotatedLowerBounds(annotatedElement)[index];\n } catch (ClassCastException ignored) { // To avoid a bug on early releases of Java 8.\n return NoOp.INSTANCE;\n }\n }\n\n /**\n * A proxy to interact with {@code java.lang.reflect.AnnotatedWildcardType}.\n */\n @JavaDispatcher.Proxied(\"java.lang.reflect.AnnotatedWildcardType\")\n protected interface AnnotatedWildcardType {\n\n /**\n * Returns {@code true} if the supplied instance implements {@code java.lang.reflect.AnnotatedWildcardType}.\n *\n * @param value The annotated element to consider.\n * @return {@code true} if the supplied instance is of type {@code java.lang.reflect.AnnotatedWildcardType}.\n */\n @JavaDispatcher.Instance\n boolean isInstance(AnnotatedElement value);\n\n /**\n * Returns the supplied annotated element's annotated lower bounds.\n *\n * @param value The annotated element to resolve.\n * @return An array of annotated lower bounds for the supplied annotated elements.\n */\n AnnotatedElement[] getAnnotatedLowerBounds(AnnotatedElement value);\n }\n }\n\n /**\n * A chained annotation reader for reading a type variable's type argument.\n */\n @HashCodeAndEqualsPlugin.Enhance\n class ForTypeVariableBoundType extends Delegator.Chained {\n\n /**\n * A dispatcher to interact with {@code java.lang.reflect.AnnotatedTypeVariable}.\n */\n private static final AnnotatedTypeVariable ANNOTATED_TYPE_VARIABLE = doPrivileged(JavaDispatcher.of(AnnotatedTypeVariable.class));\n\n /**\n * The type variable's index.\n */\n private final int index;\n\n /**\n * Creates a chained annotation reader for reading a type variable's bound type.\n *\n * @param annotationReader The annotation reader from which to delegate.\n * @param index The type variable's index.\n */\n protected ForTypeVariableBoundType(AnnotationReader annotationReader, int index) {\n super(annotationReader);\n this.index = index;\n }\n\n @Override\n protected AnnotatedElement resolve(AnnotatedElement annotatedElement) {\n if (!ANNOTATED_TYPE_VARIABLE.isInstance(annotatedElement)) { // Avoid problem with Kotlin compiler.\n return NoOp.INSTANCE;\n }\n try {\n return ANNOTATED_TYPE_VARIABLE.getAnnotatedBounds(annotatedElement)[index];\n } catch (ClassCastException ignored) { // To avoid bug on early releases of Java 8.\n return NoOp.INSTANCE;\n }\n }\n\n /**\n * A proxy to interact with {@code java.lang.reflect.AnnotatedTypeVariable}.\n */\n @JavaDispatcher.Proxied(\"java.lang.reflect.AnnotatedTypeVariable\")\n protected interface AnnotatedTypeVariable {\n\n /**\n * Returns {@code true} if the supplied instance implements {@code java.lang.reflect.AnnotatedTypeVariable}.\n *\n * @param value The annotated element to consider.\n * @return {@code true} if the supplied instance is of type {@code java.lang.reflect.AnnotatedTypeVariable}.\n */\n @JavaDispatcher.Instance\n boolean isInstance(AnnotatedElement value);\n\n /**\n * Returns the supplied annotated type variable's annotated bounds.\n *\n * @param value The annotated type variable to resolve.\n * @return An array of annotated upper bounds for the supplied annotated type variable.\n */\n AnnotatedElement[] getAnnotatedBounds(AnnotatedElement value);\n }\n\n /**\n * A chained annotation reader for reading a formal type variable's type argument.\n */\n @HashCodeAndEqualsPlugin.Enhance\n protected static class OfFormalTypeVariable extends Delegator {\n\n /**\n * A dispatcher to interact with {@code java.lang.reflect.TypeVariable}.\n */\n private static final FormalTypeVariable TYPE_VARIABLE = doPrivileged(JavaDispatcher.of(FormalTypeVariable.class));\n\n /**\n * The represented type variable.\n */\n private final TypeVariable typeVariable;\n\n /**\n * The type variable's index.\n */\n private final int index;\n\n /**\n * Creates a chained annotation reader for reading a formal type variable's bound type.\n *\n * @param typeVariable The represented type variable.\n * @param index The type variable's index.\n */\n protected OfFormalTypeVariable(TypeVariable typeVariable, int index) {\n this.typeVariable = typeVariable;\n this.index = index;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotatedElement resolve() {\n try {\n AnnotatedElement[] annotatedBound = TYPE_VARIABLE.getAnnotatedBounds(typeVariable);\n return annotatedBound.length == 0\n ? NoOp.INSTANCE\n : annotatedBound[index];\n } catch (ClassCastException ignored) { // To avoid bug on early releases of Java 8.\n return NoOp.INSTANCE;\n }\n }\n\n /**\n * A proxy to interact with {@code java.lang.reflect.TypeVariable}.\n */\n @JavaDispatcher.Proxied(\"java.lang.reflect.TypeVariable\")\n protected interface FormalTypeVariable {\n\n /**\n * Returns the supplied annotated type variable's annotated bounds or an empty array if this\n * feature is not supported.\n *\n * @param value The annotated type variable to resolve.\n * @return An array of annotated upper bounds for the supplied annotated type variable or an\n * empty array if this feature is not supported.\n */\n @JavaDispatcher.Defaults\n AnnotatedElement[] getAnnotatedBounds(Object value);\n }\n }\n }\n\n /**\n * A chained annotation reader for reading a parameterized type's type argument.\n */\n @HashCodeAndEqualsPlugin.Enhance\n class ForTypeArgument extends Delegator.Chained {\n\n /**\n * A dispatcher to interact with {@code java.lang.reflect.AnnotatedParameterizedType}.\n */\n private static final AnnotatedParameterizedType ANNOTATED_PARAMETERIZED_TYPE = doPrivileged(JavaDispatcher.of(AnnotatedParameterizedType.class));\n\n /**\n * The type argument's index.\n */\n private final int index;\n\n /**\n * Creates a chained annotation reader for reading a component type.\n *\n * @param annotationReader The annotation reader from which to delegate.\n * @param index The type argument's index.\n */\n protected ForTypeArgument(AnnotationReader annotationReader, int index) {\n super(annotationReader);\n this.index = index;\n }\n\n @Override\n protected AnnotatedElement resolve(AnnotatedElement annotatedElement) {\n if (!ANNOTATED_PARAMETERIZED_TYPE.isInstance(annotatedElement)) { // Avoid problem with Kotlin compiler.\n return NoOp.INSTANCE;\n }\n try {\n return ANNOTATED_PARAMETERIZED_TYPE.getAnnotatedActualTypeArguments(annotatedElement)[index];\n } catch (ClassCastException ignored) { // To avoid bug on early releases of Java 8.\n return NoOp.INSTANCE;\n }\n }\n\n /**\n * A proxy to interact with {@code java.lang.reflect.AnnotatedParameterizedType}.\n */\n @JavaDispatcher.Proxied(\"java.lang.reflect.AnnotatedParameterizedType\")\n protected interface AnnotatedParameterizedType {\n\n /**\n * Returns {@code true} if the supplied instance implements {@code java.lang.reflect.AnnotatedParameterizedType}.\n *\n * @param value The annotated element to consider.\n * @return {@code true} if the supplied instance is of type {@code java.lang.reflect.AnnotatedParameterizedType}.\n */\n @JavaDispatcher.Instance\n boolean isInstance(AnnotatedElement value);\n\n /**\n * Returns the supplied annotated parameterize type's annotated actual type arguments.\n *\n * @param value The annotated type variable to resolve.\n * @return The supplied annotated parameterize type's annotated actual type arguments.\n */\n AnnotatedElement[] getAnnotatedActualTypeArguments(AnnotatedElement value);\n }\n }\n\n /**\n * A chained annotation reader for reading a component type.\n */\n class ForComponentType extends Delegator.Chained {\n\n /**\n * A dispatcher for interacting with {@code java.lang.reflect.AnnotatedArrayType}.\n */\n private static final AnnotatedParameterizedType ANNOTATED_PARAMETERIZED_TYPE = doPrivileged(JavaDispatcher.of(AnnotatedParameterizedType.class));\n\n /**\n * Creates a chained annotation reader for reading a component type.\n *\n * @param annotationReader The annotation reader from which to delegate.\n */\n protected ForComponentType(AnnotationReader annotationReader) {\n super(annotationReader);\n }\n\n @Override\n protected AnnotatedElement resolve(AnnotatedElement annotatedElement) {\n if (!ANNOTATED_PARAMETERIZED_TYPE.isInstance(annotatedElement)) { // Avoid problem with Kotlin compiler.\n return NoOp.INSTANCE;\n }\n try {\n return ANNOTATED_PARAMETERIZED_TYPE.getAnnotatedGenericComponentType(annotatedElement);\n } catch (ClassCastException ignored) { // To avoid bug on early releases of Java 8.\n return NoOp.INSTANCE;\n }\n }\n\n /**\n * A proxy to interact with {@code java.lang.reflect.AnnotatedArrayType}.\n */\n @JavaDispatcher.Proxied(\"java.lang.reflect.AnnotatedArrayType\")\n protected interface AnnotatedParameterizedType {\n\n /**\n * Returns {@code true} if the supplied instance implements {@code java.lang.reflect.AnnotatedArrayType}.\n *\n * @param value The annotated element to consider.\n * @return {@code true} if the supplied instance is of type {@code java.lang.reflect.AnnotatedArrayType}.\n */\n @JavaDispatcher.Instance\n boolean isInstance(AnnotatedElement value);\n\n /**\n * Returns the supplied annotated array type's annotated component type.\n *\n * @param value The annotated array type to resolve.\n * @return The supplied annotated array type's annotated component type.\n */\n AnnotatedElement getAnnotatedGenericComponentType(AnnotatedElement value);\n }\n }\n\n /**\n * A chained annotation reader for reading an owner type.\n */\n class ForOwnerType extends Delegator.Chained {\n\n /**\n * A dispatcher for interacting with {@code java.lang.reflect.AnnotatedType}.\n */\n private static final AnnotatedType ANNOTATED_TYPE = doPrivileged(JavaDispatcher.of(AnnotatedType.class));\n\n /**\n * Creates a chained annotation reader for reading an owner type if it is accessible.\n *\n * @param annotationReader The annotation reader from which to delegate.\n */\n protected ForOwnerType(AnnotationReader annotationReader) {\n super(annotationReader);\n }\n\n @Override\n protected AnnotatedElement resolve(AnnotatedElement annotatedElement) {\n try {\n AnnotatedElement annotatedOwnerType = ANNOTATED_TYPE.getAnnotatedOwnerType(annotatedElement);\n return annotatedOwnerType == null\n ? NoOp.INSTANCE\n : annotatedOwnerType;\n } catch (ClassCastException ignored) { // To avoid bug on early releases of Java 8.\n return NoOp.INSTANCE;\n }\n }\n\n /**\n * A proxy to interact with {@code java.lang.reflect.AnnotatedType}.\n */\n @JavaDispatcher.Proxied(\"java.lang.reflect.AnnotatedType\")\n protected interface AnnotatedType {\n\n /**\n * Returns the type's annotated owner type or {@code null} if this feature is not supported.\n *\n * @param value The annotated type to resolve.\n * @return The annotated owner type for the supplied annotated type or {@code null} if this feature is not supported.\n */\n @MaybeNull\n @JavaDispatcher.Defaults\n AnnotatedElement getAnnotatedOwnerType(AnnotatedElement value);\n }\n }\n }","title":""},{"docid":"8d7a8f055e23625d387eeceb28324551","score":"0.4365465","text":"public void setProcessorClass(String processorClass);","title":""},{"docid":"1cb37ee0adba85842f6ecca0c0e30a37","score":"0.43642408","text":"@Override\r\n public List[] calcParseInfo(Tree sentTree,\r\n int startWord, int endWord,\r\n MentionType markableType) {\r\n List[] result = new List[3];\r\n List projections = new ArrayList();\r\n List premod = new ArrayList();\r\n List postmod = new ArrayList();\r\n result[0] = projections;\r\n result[1] = premod;\r\n result[2] = postmod;\r\n Tree node = calcLowestProjection(sentTree, startWord, endWord);\r\n projections.add(node);\r\n for (Tree n : node.children()) {\r\n String cat = n.value();\r\n if (attr_node.matcher(cat).matches()) {\r\n premod.add(n);\r\n } else if (rel_node.matcher(cat).matches()) {\r\n postmod.add(n);\r\n }\r\n }\r\n return result;\r\n }","title":""},{"docid":"a5acd875e6da362ca116ea6e03dd557b","score":"0.43618652","text":"public void createAnalyzers() {\n analyzers = new ArrayList();\n analyzers.add(new UniqueTokenAnalyzer(properties));\n analyzers.add(new SummaryReport(properties));\n analyzers.add(new BigWordAnalyzer(properties));\n analyzers.add(new TokenCountAnalyzer(properties));\n analyzers.add(new LexicalDensityAnalyzer(properties));\n analyzers.add(new TokenSizeAnalyzer(properties));\n analyzers.add(new KeywordAnalyzer(properties));\n }","title":""},{"docid":"5a76fee95df85b407247f3bdbff3ab73","score":"0.43590838","text":"public DocumentProcessorManager getDocumentProcessorProvider() {\n\t\treturn this.processorProvider;\n\t}","title":""},{"docid":"df3d8664643a56680118de3a9aff0cdc","score":"0.43578538","text":"private void initData() {\n\t\tintent = this.getIntent();\n\t\tworkOrder = (WorkOrder) intent.getSerializableExtra(\"workOrder\");\n\t\tiActionType = intent.getStringExtra(IACTIONTYPE);\n\t\texamineList = (List) intent.getSerializableExtra(\"examineList\");\n\t\tparasMap = (HashMap) intent\n\t\t\t\t.getSerializableExtra(PARASMAP);\n\t\tif (examineList != null && examineList.size() > 0) {\n\t\t\texamine.setData(examineList);\n\t\t}\n\t\texamine.setIEventListener(eventListent);\n\t}","title":""},{"docid":"2d5be426dacbfc81480e5ee0492f4210","score":"0.4339936","text":"public AnnotationParser(AnnotationParserTokenManager tm) {\n token_source = tm;\n token = new Token();\n jj_ntk = -1;\n jj_gen = 0;\n for (int i = 0; i < 2; i++) jj_la1[i] = -1;\n }","title":""},{"docid":"dd1cac8214a328763e7dce8552ca38c1","score":"0.43282032","text":"@Override\n\t\t\t\tpublic void recognizerStarted() {\n\n\t\t\t\t}","title":""},{"docid":"dc58014d6192935acd9910d350d4f592","score":"0.43155593","text":"private static void prepareDataAutomatic() {\n\t\tint numberOfSets = 0;\n\t\tif (Features.isUseUnigramFeatures()) {\n\t\t\tnumberOfSets++;\n\t\t}\n\t\ttext = text + \"Use unigram features: [\" + Features.isUseUnigramFeatures() + \"] - Used in Quantification: [\" + Features.isUseUnigramFeatures() + \"]\" + n;\n\t\ttextProperty.set(text);\n\t\t\n\t\tif (Features.isUsePatternFeatures()) {\n\t\t\tnumberOfSets++;\n\t\t}\n\t\ttext = text + \"Use basic pattern features: [\" + Features.isUsePatternFeatures() + \"] - Used in Quantification: [\" + Features.isUsePatternFeatures() + \"]\" + n;\n\t\ttextProperty.set(text);\n\t\t\n\t\tif (Features.isUseAdvancedPatternFeatures()) {\n\t\t\tnumberOfSets++;\n\t\t}\n\t\ttext = text + \"Use adv. pattern features: [\" + Features.isUseAdvancedPatternFeatures() + \"] - Used in Quantification: [\" + Features.isUseAdvancedPatternFeatures() + \"]\" + n;\n\t\ttextProperty.set(text);\n\t\t\n\t\t// set the corresponding scoring coefficients\n\t\tif (numberOfSets == 0) {\n\t\t\tdouble[][] coefficients = new double[0][0];\n\t\t\tFeatures.setCoefficients(coefficients);\n\t\t\ttotalNumberOfTasks.set(1);\n\t\t} else if (numberOfSets == 1) {\n\t\t\tdouble[][] coefficients = new double[1][1];\n\t\t\tcoefficients[0][0] = 1;\n\t\t\tFeatures.setCoefficients(coefficients);\n\t\t\ttotalNumberOfTasks.set(1);\n\t\t} else if (numberOfSets == 2) {\n\t\t\tdouble[][] coefficients = new double[2][11];\n\t\t\tfor (int i = 0; i < 11; i++) {\n\t\t\t\tcoefficients[0][i] = (double) i / 10;\n\t\t\t\tcoefficients[1][i] = 1 - coefficients[0][i];\n\t\t\t\ttotalNumberOfTasks.set(11);\n\t\t\t}\n\t\t\tFeatures.setCoefficients(coefficients);\n\t\t} else if (numberOfSets == 3) {\n\t\t\tFeatures.setCoefficients(Reader.getCoefficients(Constants.COEFFICIENTS));\n\t\t\ttotalNumberOfTasks.set(66);\n\t\t} \n\t\t\n\t\ttext = text + \"Coefficients extracted\" + n;\n\t\ttextProperty.set(text);\n\t\t\n\t\t// Select the data set to use\n\t\tArrayList tweets;\n\t\t\n\t\tif (Parameters.getTypeOfProject().equals(Parameters.TypeOfProject.TESTSET)) {\n\t\t\ttweets = Parameters.getTestSet();\n\t\t\ttext = text + \"Data set to use: \" + \"[Test Set]\" + n;\n\t\t\ttextProperty.set(text);\n\t\t} else {\n\t\t\ttweets = Parameters.getUnknownSet();\n\t\t\ttext = text + \"Data set to use: \" + \"[Non-annotated Set]\" + n;\n\t\t\ttextProperty.set(text);\n\t\t}\n\t\t\n\t\t// Add Unigram final scores\n\t\tif (Features.isUseUnigramFeatures()) {\n\t\t\tfor (Tweet tweet : tweets) {\n\t\t\t\tTweetProcessing.addUnigramScores(tweet, Parameters.getClasses());\n\t\t\t}\n\t\t\ttext = text + \"Unigram scores extracted\" + n;\n\t\t\ttextProperty.set(text);\n\t\t}\n\t\t\n\t\t// Add the basic pattern final scores\n\t\tif (Features.isUsePatternFeatures()) {\n\t\t\t\n\t\t\tint m = Features.getMaxPatternLength() - Features.getMinPatternLength() + 1;\n\t\t\tint min = Features.getMinPatternLength();\n\t\t\t\n\t\t\tdouble[] factors = new double[m];\n\t\t\t\n\t\t\tfor (int i=0; i and owned by a CloudElement.\\n\"\n });\t\n addAnnotation\n (resourceEClass, \n source, \n new String[] {\n \"description\", \"Represents a resource associated to an element which might be used to support the deployment and configuration of the such element. \\nFor instance a Resource may detail the deployment script of a CloudElement (e.g. an InternalComponent or an ExecutionBinding).\"\n });\t\n addAnnotation\n (componentEClass, \n source, \n new String[] {\n \"description\", \"Inherit from MODACloudsML, it represents a reusable type of cloud component (e.g. a virtual machine or an application).\"\n });\t\n addAnnotation\n (internalComponentEClass, \n source, \n new String[] {\n \"description\", \"Inherit from MODACloudsML, this represents a component that is managed by the application provider,\\nor the developer (e.g. a Big Data application).\"\n });\t\n addAnnotation\n (executionPlatformEClass, \n source, \n new String[] {\n \"description\", \"Inherited from MODACloudsML, it represents an generic hosting interface of a Component.\"\n });\t\n addAnnotation\n (portEClass, \n source, \n new String[] {\n \"description\", \"Represents an interface (provided or required) of a Component.\\nIt is tipically used to link components in order to enable communication.\"\n });\t\n addAnnotation\n (requiredPortEClass, \n source, \n new String[] {\n \"description\", \"A specific type of Port which specify that a Component requires to \\ncommunicate and consume a features (e.g.access to a database) provided by another Component.\"\n });\t\n addAnnotation\n (providedPortEClass, \n source, \n new String[] {\n \"description\", \"A specific type of Port which specify that a Component provides features (e.g.access to a database) which can be accessed by another Component.\"\n });\t\n addAnnotation\n (requiredExecutionPlatformEClass, \n source, \n new String[] {\n \"description\", \"A specific type of ExecutionPlatform providing hosting facilities (e.g. an execution environment, like a VM or a web server) to a Component.\"\n });\t\n addAnnotation\n (providedExecutionPlatformEClass, \n source, \n new String[] {\n \"description\", \"A specific type of ExecutionPlatform which requires hosting (e.g. a Big Data application requires a Big Data platform) from a Component.\"\n });\t\n addAnnotation\n (relationshipEClass, \n source, \n new String[] {\n \"description\", \"test generation\"\n });\t\n addAnnotation\n (executionBindingEClass, \n source, \n new String[] {\n \"description\", \"Represents a binding between a RequiredExecutionPlatform and a ProvidedExecutionPlatform of two components, meaning that the first component will be hosted on the second one according to the specified binding.\"\n });\t\n addAnnotation\n (externalComponentEClass, \n source, \n new String[] {\n \"description\", \"Inherit from MODACloudsML, this represents a component that is managed by an external provider, for instance a AWS EC2 virtual machine.\"\n });\t\n addAnnotation\n (providerEClass, \n source, \n new String[] {\n \"description\", \"Represents a generic provider of Clouds services.\"\n });\t\n addAnnotation\n (vmEClass, \n source, \n new String[] {\n \"description\", \"It is an specific ExternalComponent representing the well know concept of virtual machine.\\nIt is possible to the size of the VM in terms of RAM and CPU and Storage size ranges, \\nthe preferred operating system, the enabled ports, the desired public address and the number of executing instances,\\nor the replication factor. It as been customized in the context of DICE to be able to specify DICE specific type of VM.\"\n });\t\n addAnnotation\n (ddsmEClass, \n source, \n new String[] {\n \"description\", \"test generation\"\n });\t\n addAnnotation\n (lifeCycleEClass, \n source, \n new String[] {\n \"description\", \"test generation\"\n });\t\n addAnnotation\n (stormSupervisorEClass, \n source, \n new String[] {\n \"description\", \"Specilization of an InternalComponent introduced in the context of DICE which captures \\nthe deployment and configuration details of the Storm supervisor slave process.\"\n });\t\n addAnnotation\n (stormNimbusEClass, \n source, \n new String[] {\n \"description\", \"Specilization of an InternalComponent introduced in the context of DICE which captures \\nthe deployment and configuration details of the Storm nimbus master process.\"\n });\t\n addAnnotation\n (zookeeperEClass, \n source, \n new String[] {\n \"description\", \"Specilization of an InternalComponent introduced in the context of DICE which captures \\nthe deployment and configuration details of a Zookeeper cluster.\"\n });\t\n addAnnotation\n (kafkaEClass, \n source, \n new String[] {\n \"description\", \"Specilization of an InternalComponent introduced in the context of DICE which captures \\nthe deployment and configuration details of a Kafka cluster.\"\n });\t\n addAnnotation\n (clusterEClass, \n source, \n new String[] {\n \"description\", \"Inherited from MODACloudsML, it represents a collection of virtual machines on a particular Provider. One Provider can host several Clusters..\"\n });\t\n addAnnotation\n (clientNodeEClass, \n source, \n new String[] {\n \"description\", \"test generation\"\n });\t\n addAnnotation\n (yarnResourceManagerEClass, \n source, \n new String[] {\n \"description\", \"Specilization of an InternalComponent introduced in the context of DICE which captures \\nthe deployment and configuration details of a the YARN ResourceManager master process.\"\n });\t\n addAnnotation\n (yarnNodeManagerEClass, \n source, \n new String[] {\n \"description\", \"Specilization of an InternalComponent introduced in the context of DICE which captures \\nthe deployment and configuration details of a the YARN NodeManager slave process.\"\n });\t\n addAnnotation\n (hdfsNameNodeEClass, \n source, \n new String[] {\n \"description\", \"Specilization of an InternalComponent introduced in the context of DICE which captures \\nthe deployment and configuration details of a the YARN ResourceManager master process.\"\n });\t\n addAnnotation\n (hdfsDataNodeEClass, \n source, \n new String[] {\n \"description\", \"Specilization of an InternalComponent introduced in the context of DICE which captures \\nthe deployment and configuration details of a the YARN ResourceManager master process.\"\n });\n }","title":""},{"docid":"333635e444a209718ebbf4938b141430","score":"0.4311825","text":"public PhraseAnalyzer(){\n\t\t\n\t\tthis.state = new WordCounterState();\n\t}","title":""},{"docid":"40cbf90418e4a358ecebfe1478f03bdf","score":"0.43103635","text":"public List getAnnotations() {\n return annotations;\n }","title":""},{"docid":"77444c0a5cb750f02d03995daed6ab96","score":"0.4299735","text":"private static void runAnalysis(FileProcessorI fileProcessor, VisitorI... visitors)\n\t\t\tthrows IOException, InvalidInputFileFormatException {\n\t\tElementI myArrayList = new MyArrayList.Builder().withFileProcessor(fileProcessor).build();\n\n\t\tfor (VisitorI visitor : visitors) {\n\t\t\tmyArrayList.accept(visitor);\n\t\t}\n\t}","title":""},{"docid":"c93eb9eb6acf49b8f9da4c8174b0a18e","score":"0.42991322","text":"public void addDataProcessor( Function dataProcessor ) {\n this.dataProcessors.add( dataProcessor );\n }","title":""},{"docid":"399c7fbb088a656301176308d3c02e24","score":"0.42959455","text":"public interface Processor {\n\n /**\n * Initializes the processor for each HTTP request - response cycle.\n * @param odata Olingo's root object, acting as a factory for various object types\n * @param serviceMetadata metadata of the OData service like the EDM that have to be created\n * before the OData request handling takes place\n */\n void init(OData odata, ServiceMetadata serviceMetadata);\n}","title":""},{"docid":"86593f7290b3e9f3005ed17906774f08","score":"0.42907998","text":"public void setExtractors(List extractors) {\n\t\tthis.extractors = extractors;\n\t}","title":""},{"docid":"2020da07edd8bf7d8dcc284d20a7e2b1","score":"0.42905077","text":"public String getCasProcessorId() {\n if (Annotation_Type.featOkTst && ((Annotation_Type)jcasType).casFeat_casProcessorId == null)\n jcasType.jcas.throwFeatMissing(\"casProcessorId\", \"edu.cmu.deiis.types.Annotation\");\n return jcasType.ll_cas.ll_getStringValue(addr, ((Annotation_Type)jcasType).casFeatCode_casProcessorId);}","title":""},{"docid":"1afb767525fef8b44861410f4bd5b7cd","score":"0.4288104","text":"private int[] readTypeAnnotations(MethodVisitor mv, Context context, int u, boolean visible) {\n/* 1655 */ char[] c = context.buffer;\n/* 1656 */ int[] offsets = new int[readUnsignedShort(u)];\n/* 1657 */ u += 2;\n/* 1658 */ for (int i = 0; i < offsets.length; i++) {\n/* 1659 */ int j; offsets[i] = u;\n/* 1660 */ int target = readInt(u);\n/* 1661 */ switch (target >>> 24) {\n/* */ case 0:\n/* */ case 1:\n/* */ case 22:\n/* 1665 */ u += 2;\n/* */ break;\n/* */ case 19:\n/* */ case 20:\n/* */ case 21:\n/* 1670 */ u++;\n/* */ break;\n/* */ case 64:\n/* */ case 65:\n/* 1674 */ for (j = readUnsignedShort(u + 1); j > 0; j--) {\n/* 1675 */ int start = readUnsignedShort(u + 3);\n/* 1676 */ int length = readUnsignedShort(u + 5);\n/* 1677 */ readLabel(start, context.labels);\n/* 1678 */ readLabel(start + length, context.labels);\n/* 1679 */ u += 6;\n/* */ } \n/* 1681 */ u += 3;\n/* */ break;\n/* */ case 71:\n/* */ case 72:\n/* */ case 73:\n/* */ case 74:\n/* */ case 75:\n/* 1688 */ u += 4;\n/* */ break;\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ default:\n/* 1700 */ u += 3;\n/* */ break;\n/* */ } \n/* 1703 */ int pathLength = readByte(u);\n/* 1704 */ if (target >>> 24 == 66) {\n/* 1705 */ TypePath path = (pathLength == 0) ? null : new TypePath(this.b, u);\n/* 1706 */ u += 1 + 2 * pathLength;\n/* 1707 */ u = readAnnotationValues(u + 2, c, true, mv\n/* 1708 */ .visitTryCatchAnnotation(target, path, \n/* 1709 */ readUTF8(u, c), visible));\n/* */ } else {\n/* 1711 */ u = readAnnotationValues(u + 3 + 2 * pathLength, c, true, null);\n/* */ } \n/* */ } \n/* 1714 */ return offsets;\n/* */ }","title":""},{"docid":"680aa7b661ceac4e073a51514a9f3a31","score":"0.42867875","text":"public void AddTrafficDataToDetectors(){\n }","title":""},{"docid":"4d7109198f72d8d3f8135691baf0661a","score":"0.4283337","text":"private void processProcessorNode(Node root)\n\t{\n\t\tProcessorInfo procInfo = new ProcessorInfo();\n\t\tNamedNodeMap nodeAttr = root.getAttributes ();\n\t\tfor (int i=0;i processor() {\n\t\tlogger.info(\"Initial code property value :'{}'\",properties.getCode());\n \t\tString code = decode(properties.getCode());\n \t\tif (code.startsWith(\"\\\"\") && code.endsWith(\"\\\"\")) {\n \t\t\tcode = code.substring(1,code.length()-1);\n \t\t}\n\t\tlogger.info(\"Processed code property value :\\n{}\\n\",code);\n\t\tCompilationResult compilationResult = buildAndCompileSourceCode(code);\n\t\tif (compilationResult.wasSuccessful()) {\n\t\t\tList> clazzes = compilationResult.getCompiledClasses();\n\t\t\tlogger.info(\"Compilation resulted in this many classes: #{}\",clazzes.size());\n\t\t\tfor (Class clazz: clazzes) { \n\t\t\t\tif (clazz.getName().equals(MAIN_COMPILED_CLASS_NAME)) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tProcessorFactory processorFactory = (ProcessorFactory)clazz.newInstance();\n\t\t\t\t\t\treturn processorFactory.getProcessor();\n\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\tlogger.error(\"Unexpected problem during retrieval of processor from compiled class\",e);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tlogger.error(\"Failed to find the expected compiled class\");\n\t\t} else {\n\t\t\tList compilationMessages = compilationResult.getCompilationMessages();\n\t\t\tlogger.error(\"Compilation failed\");\n\t\t\tfor (CompilationMessage compilationMessage: compilationMessages) {\n\t\t\t\tlogger.error(\"{}\",compilationMessage);\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}","title":""},{"docid":"426c2f9a9bf4288501c851059b0ffefb","score":"0.42813554","text":"private void processText(final String text) throws Exception {\n\n // Ensure there is text to process\n if (text == null) {\n throw new Exception(\"Text was null.\");\n }\n\n // Create the Stanford CoreNLP pipeline\n Properties props = new Properties();\n String pipe = \"tokenize, ssplit, pos, parse, depparse, lemma, ner, dcoref, natlog, openie\";\n props.setProperty(\"annotators\", pipe);\n StanfordCoreNLP pipeline = new StanfordCoreNLP(props);\n Annotation doc = new Annotation(text);\n pipeline.annotate(doc);\n\n // Get NER data, extract triples, and store the data\n extractData(doc);\n }","title":""},{"docid":"239fcd642bf877c38606ea1b0b7791f9","score":"0.42771032","text":"private Map m22695a(ProducerListener2 apVar, ProducerContext amVar, Postprocessor dVar) {\n if (!apVar.mo28600b(amVar, \"PostprocessorProducer\")) {\n return null;\n }\n return ImmutableMap.m20529a(\"Postprocessor\", dVar.getName());\n }","title":""},{"docid":"6aeaef24c241ef0b817e5d1f88478077","score":"0.42739835","text":"@Override\r\n public void onApplicationEvent(ApplicationReadyEvent applicationReadyEvent) {\n GeneratedModelClassification synsetW2VClassification = GeneratedModelClassification.synsetW2VClassification;\r\n GeneratedModelClassification synsetGloveVClassification = GeneratedModelClassification.synsetGloveClassification;\r\n GeneratedModelClassification synsetFTClassification = GeneratedModelClassification.synsetFTClassification;\r\n\r\n // initialize Stanford annotation pipelines\r\n CoreferenceAnnotator corefAnnotator = CoreferenceAnnotator.CRInstance;\r\n ParseAnnotator parseAnnotator = ParseAnnotator.PAInstance;\r\n WordAnnotator wordAnnotator = WordAnnotator.WAInstance;\r\n\r\n System.out.println(\"All components loaded successfully.\\n\");\r\n }","title":""},{"docid":"94e5cddd4dc948c2cbf0070ec84c7cdd","score":"0.4273238","text":"void process(final PropMap context, final AnnotatedType annotatedType,\r\n final ANNOTATION annotatedTypeAnnotation,\r\n final ELEMENT annotatedElement, final PropMap annotationData);","title":""}],"string":"[\n {\n \"docid\": \"5468444e6ff3da6f332d7faaebec4858\",\n \"score\": \"0.7529025\",\n \"text\": \"public com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData getAnnotationProcessorsAnalyzerData() {\\n if (annotationProcessorsAnalyzerDataBuilder_ == null) {\\n return annotationProcessorsAnalyzerData_ == null ? com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData.getDefaultInstance() : annotationProcessorsAnalyzerData_;\\n } else {\\n return annotationProcessorsAnalyzerDataBuilder_.getMessage();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9bd465d335a12bb7416ab0854cca9e3f\",\n \"score\": \"0.7472272\",\n \"text\": \"public com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData getAnnotationProcessorsAnalyzerData() {\\n return annotationProcessorsAnalyzerData_ == null ? com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData.getDefaultInstance() : annotationProcessorsAnalyzerData_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ac148b5f322ed83931360cab53f11c98\",\n \"score\": \"0.74174666\",\n \"text\": \"public com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerDataOrBuilder getAnnotationProcessorsAnalyzerDataOrBuilder() {\\n return annotationProcessorsAnalyzerData_ == null ? com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData.getDefaultInstance() : annotationProcessorsAnalyzerData_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3fbacf867f96c017fb0e8a23d330f0dd\",\n \"score\": \"0.7263436\",\n \"text\": \"public com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerDataOrBuilder getAnnotationProcessorsAnalyzerDataOrBuilder() {\\n if (annotationProcessorsAnalyzerDataBuilder_ != null) {\\n return annotationProcessorsAnalyzerDataBuilder_.getMessageOrBuilder();\\n } else {\\n return annotationProcessorsAnalyzerData_ == null ?\\n com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData.getDefaultInstance() : annotationProcessorsAnalyzerData_;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"abf6925151f20d8d1244f4fca38d9f33\",\n \"score\": \"0.6734447\",\n \"text\": \"public Builder setAnnotationProcessorsAnalyzerData(com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData value) {\\n if (annotationProcessorsAnalyzerDataBuilder_ == null) {\\n if (value == null) {\\n throw new NullPointerException();\\n }\\n annotationProcessorsAnalyzerData_ = value;\\n onChanged();\\n } else {\\n annotationProcessorsAnalyzerDataBuilder_.setMessage(value);\\n }\\n bitField0_ |= 0x00000004;\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d9f1da6b256e33484eafc86e6458f9c5\",\n \"score\": \"0.6729109\",\n \"text\": \"public boolean hasAnnotationProcessorsAnalyzerData() {\\n return ((bitField0_ & 0x00000004) != 0);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dd003780d60ebcd144ac50fdb4a93de5\",\n \"score\": \"0.6721468\",\n \"text\": \"public boolean hasAnnotationProcessorsAnalyzerData() {\\n return ((bitField0_ & 0x00000004) != 0);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5625c8fd01ddd46d34cf38880dc467f4\",\n \"score\": \"0.6231651\",\n \"text\": \"private com.google.protobuf.SingleFieldBuilderV3<\\n com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData, com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData.Builder, com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerDataOrBuilder>\\n getAnnotationProcessorsAnalyzerDataFieldBuilder() {\\n if (annotationProcessorsAnalyzerDataBuilder_ == null) {\\n annotationProcessorsAnalyzerDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\\n com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData, com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData.Builder, com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerDataOrBuilder>(\\n getAnnotationProcessorsAnalyzerData(),\\n getParentForChildren(),\\n isClean());\\n annotationProcessorsAnalyzerData_ = null;\\n }\\n return annotationProcessorsAnalyzerDataBuilder_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1d77fa2a7b893ea3e2ccd0f0de1f9f1\",\n \"score\": \"0.61359334\",\n \"text\": \"public com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData.Builder getAnnotationProcessorsAnalyzerDataBuilder() {\\n bitField0_ |= 0x00000004;\\n onChanged();\\n return getAnnotationProcessorsAnalyzerDataFieldBuilder().getBuilder();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7770d670c3f144894c6a0d0b8ccaa235\",\n \"score\": \"0.57472\",\n \"text\": \"public Builder setAnnotationProcessorsAnalyzerData(\\n com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData.Builder builderForValue) {\\n if (annotationProcessorsAnalyzerDataBuilder_ == null) {\\n annotationProcessorsAnalyzerData_ = builderForValue.build();\\n onChanged();\\n } else {\\n annotationProcessorsAnalyzerDataBuilder_.setMessage(builderForValue.build());\\n }\\n bitField0_ |= 0x00000004;\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"05a42154f339aefb38450adaf5e28724\",\n \"score\": \"0.5729413\",\n \"text\": \"public Builder clearAnnotationProcessorsAnalyzerData() {\\n if (annotationProcessorsAnalyzerDataBuilder_ == null) {\\n annotationProcessorsAnalyzerData_ = null;\\n onChanged();\\n } else {\\n annotationProcessorsAnalyzerDataBuilder_.clear();\\n }\\n bitField0_ = (bitField0_ & ~0x00000004);\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e8f937d5289f1247c83879c8d2b3537b\",\n \"score\": \"0.53725064\",\n \"text\": \"public interface BuildDataProcessor {\\n /**\\n * @param data raw data for search engine\\n * @return prepared data for seach engine\\n */\\n @NotNull\\n Map> buildEngineData(@NotNull List data);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9924845a60ec8fd2ad886cd10b963f96\",\n \"score\": \"0.53411245\",\n \"text\": \"public static MetaData getInBuiltProcessorMetaData() {\\n if (inBuiltProcessorMetaData == null) {\\n inBuiltProcessorMetaData = SourceEditorUtils.getInBuiltProcessorMetaData();\\n }\\n return inBuiltProcessorMetaData;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4ab56b020f38a32da3bca9d014756a57\",\n \"score\": \"0.5125653\",\n \"text\": \"public interface AnnotationProcessor {\\n\\n\\t/**\\n\\t * \\n\\t * @param bean\\n\\t * @param beanName\\n\\t * @param beanFactory\\n\\t * @param clazz\\n\\t * @param annotation\\n\\t */\\n\\tvoid process(Object bean, String beanName, BeanFactory beanFactory, Class clazz, Annotation annotation);\\n\\n\\t/**\\n\\t * \\n\\t * @param bean\\n\\t * @param beanName\\n\\t * @param beanFactory\\n\\t * @param clazz\\n\\t * @param field\\n\\t * @param annotation\\n\\t */\\n\\tvoid process(Object bean, String beanName, BeanFactory beanFactory, Class clazz, Field field, Annotation annotation);\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a973a55e5d2bb35bcf7d6a9accdd943e\",\n \"score\": \"0.50691676\",\n \"text\": \"public AnalyzedData(){\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6d52f1f85e2ddcea74fb1646a6e2ba71\",\n \"score\": \"0.5051402\",\n \"text\": \"public interface AnnotationProcessor {\\r\\n /** Post-processes an annotation data. */\\r\\n void process(final PropMap context, final AnnotatedType annotatedType,\\r\\n final ANNOTATION annotatedTypeAnnotation,\\r\\n final ELEMENT annotatedElement, final PropMap annotationData);\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3ebfde94ce74326f15eeb4b2f9bc7fcc\",\n \"score\": \"0.4895212\",\n \"text\": \"public String getDataAnnotation()\\n\\t{\\n\\t\\treturn dataAnnotation;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ac9be6ecd4fffc330bbdabca161aba1e\",\n \"score\": \"0.48422602\",\n \"text\": \"private static List getAnnotationInformation(List annotations) {\\r\\n\\t\\tList annotationsInfo = new ArrayList<>();\\r\\n\\t\\tif(annotations != null)\\r\\n\\t\\t\\tfor(Annotation annotation : annotations)\\r\\n\\t\\t\\t\\tannotationsInfo.add(annotation.getArgMap().toString());\\r\\n\\t\\treturn annotationsInfo;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7061a61c403b24fbd8478805f51c0057\",\n \"score\": \"0.48016337\",\n \"text\": \"public void preAnalyze(Context context);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4ea5a95e538a1c589835d1d718b0285e\",\n \"score\": \"0.4799974\",\n \"text\": \"public abstract String process(MutableAnnotation data, GPathObject[] parameters, GPathVariableResolver variables);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7796109ef5b0168b07756f1efaf3a850\",\n \"score\": \"0.4778628\",\n \"text\": \"public void collectMetadata(AGSProcessor processor, ServiceInfo serviceInfo)\\n throws Exception {\\n this.collectMetadata(processor.getHandlerFactory(), serviceInfo);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c26ab4a39b63875a7b38f605e36f582b\",\n \"score\": \"0.474525\",\n \"text\": \"public interface DataExtraction {\\n\\n\\t/**\\n\\t * The name of the data extraction process\\n\\t * \\n\\t */\\n\\tpublic String getName();\\n\\n\\t/**\\n\\t * The input image(s) URI or a Digital Object Identifier (DOI) if processing\\n\\t * has been performed (as the output image of processing)URI)\\n\\t * \\n\\t * @return the URI or DOI\\n\\t */\\n\\tpublic Set getInputImageUris();\\n\\n\\t/**\\n\\t * The input image(s) for data extraction as a reference to the image\\n\\t * specified in Section 1\\n\\t * \\n\\t */\\n\\tpublic Set getInputImages();\\n\\n\\t/**\\n\\t * Describe the process by which the features have been assigned on the\\n\\t * image(s). In terms of algorithm name, version and feature editing\\n\\t * (automatic or manual)\\n\\t * \\n\\t */\\n\\tpublic Set getFeatureDetections();\\n\\n\\t/**\\n\\t * Describe the process by which the features have been matched on the\\n\\t * image(s). In terms of algorithm name, version, parameters and match\\n\\t * editing\\n\\t * \\n\\t */\\n\\tpublic Set getMatchings();\\n\\n\\t/**\\n\\t * Describe the process by which the features detected have been quantified.\\n\\t * In terms of measurement used, quantitation method, background\\n\\t * substraction (if used), normalization method.\\n\\t * \\n\\t */\\n\\tpublic Set getFeatureQuantitations();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c9a1651d7e039326f87e5a390baa5938\",\n \"score\": \"0.4725893\",\n \"text\": \"public String getAnnotationString() {\\n return fData;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7f6a16c32e85627bf7b66101d9ddb5bd\",\n \"score\": \"0.47252816\",\n \"text\": \"private ParseAnnotator() {\\r\\n this.pipelineParse = setPipeLine(setProperties());\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"12d32335aea31327043a3ebf89afaf3a\",\n \"score\": \"0.47230664\",\n \"text\": \"@Override\\n protected void analyzeImpl(Analyzer analyzer) throws AnalysisException {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"59b06150ec6af387a9d7f295845454df\",\n \"score\": \"0.47229007\",\n \"text\": \"private int readAnnotationTarget(Context context, int u) {\\n/* 1732 */ int n, i, target = readInt(u);\\n/* 1733 */ switch (target >>> 24) {\\n/* */ case 0:\\n/* */ case 1:\\n/* */ case 22:\\n/* 1737 */ target &= 0xFFFF0000;\\n/* 1738 */ u += 2;\\n/* */ break;\\n/* */ case 19:\\n/* */ case 20:\\n/* */ case 21:\\n/* 1743 */ target &= 0xFF000000;\\n/* 1744 */ u++;\\n/* */ break;\\n/* */ case 64:\\n/* */ case 65:\\n/* 1748 */ target &= 0xFF000000;\\n/* 1749 */ n = readUnsignedShort(u + 1);\\n/* 1750 */ context.start = new Label[n];\\n/* 1751 */ context.end = new Label[n];\\n/* 1752 */ context.index = new int[n];\\n/* 1753 */ u += 3;\\n/* 1754 */ for (i = 0; i < n; i++) {\\n/* 1755 */ int start = readUnsignedShort(u);\\n/* 1756 */ int length = readUnsignedShort(u + 2);\\n/* 1757 */ context.start[i] = readLabel(start, context.labels);\\n/* 1758 */ context.end[i] = readLabel(start + length, context.labels);\\n/* 1759 */ context.index[i] = readUnsignedShort(u + 4);\\n/* 1760 */ u += 6;\\n/* */ } \\n/* */ break;\\n/* */ \\n/* */ case 71:\\n/* */ case 72:\\n/* */ case 73:\\n/* */ case 74:\\n/* */ case 75:\\n/* 1769 */ target &= 0xFF0000FF;\\n/* 1770 */ u += 4;\\n/* */ break;\\n/* */ \\n/* */ \\n/* */ \\n/* */ \\n/* */ \\n/* */ \\n/* */ \\n/* */ \\n/* */ \\n/* */ default:\\n/* 1782 */ target &= (target >>> 24 < 67) ? -256 : -16777216;\\n/* 1783 */ u += 3;\\n/* */ break;\\n/* */ } \\n/* 1786 */ int pathLength = readByte(u);\\n/* 1787 */ context.typeRef = target;\\n/* 1788 */ context.typePath = (pathLength == 0) ? null : new TypePath(this.b, u);\\n/* 1789 */ return u + 1 + 2 * pathLength;\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7b37bacce65ea971779ec521aa06e5d8\",\n \"score\": \"0.47153172\",\n \"text\": \"List getAllPostProcessors();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2f158c1bcbe08e2f885ac3439bbe302a\",\n \"score\": \"0.4714211\",\n \"text\": \"public Annotation[] getAnnotations();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b00f56a685e8ac5c34b383649ffd23a6\",\n \"score\": \"0.4710142\",\n \"text\": \"List getAllPreProcessors();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aed51b8ed7905418c51d6da554302f9b\",\n \"score\": \"0.47078976\",\n \"text\": \"@Override\\r\\n\\tpublic List> analysisXml(List data,\\r\\n\\t\\t\\tString phoneNumber, String... agrs) {\\n\\t\\treturn null;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d23ada7f5945b8241ec8e8389307566\",\n \"score\": \"0.4700456\",\n \"text\": \"@Override\\n\\tpublic void process(JCas aJCas) throws AnalysisEngineProcessException {\\n\\t\\tAnnotationIndex\\tannotationIndex = aJCas.getAnnotationIndex();\\n\\n\\t\\tAnnotationIndex\\ttokenAnnotationIndex = aJCas.getAnnotationIndex(Token.type);\\n\\t\\tfor (Annotation token : tokenAnnotationIndex) {\\n\\t\\t\\t// subiterator call \\n\\t\\t\\tFSIterator subTokenAnnotationIterator = annotationIndex.subiterator(token);\\n\\t\\t\\twhile(subTokenAnnotationIterator.isValid()) {\\n\\t\\t\\t\\tAnnotation subTokenAnnotation = subTokenAnnotationIterator.get();\\n\\t\\t\\t\\t// filter the desired annotations\\n\\t\\t\\t\\tif (subTokenAnnotation instanceof POS)\\n\\t\\t\\t\\t\\tMiscUtil.echo(subTokenAnnotation);\\n\\t\\t\\t\\tsubTokenAnnotationIterator.moveToNext();\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"16e05f5e90923a05e9a4f841e77246ea\",\n \"score\": \"0.46712455\",\n \"text\": \"Map, Annotation[]> defined();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11cdd482943df6f2d4ce5bf35b504423\",\n \"score\": \"0.46641526\",\n \"text\": \"V process(T annotation, V source);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"67f55489164231f34a1d9963e78a9c0a\",\n \"score\": \"0.46588776\",\n \"text\": \"void setTokenPreProcessor(TokenPreProcess preProcessor);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"31051bf56663f5f42989919545a733a0\",\n \"score\": \"0.4645234\",\n \"text\": \"@Override\\r\\n public void process(JCas aJCas) throws AnalysisEngineProcessException {\\n String docText = aJCas.getDocumentText();\\r\\n \\r\\n // use \\\". \\\\\\\\ ?\\\" to split the document into parts\\r\\n String tags = \\\"[.\\\\\\\\?]\\\"; \\r\\n String []results = docText.split(tags);\\r\\n \\r\\n \\r\\n \\r\\n int pos = results[0].length()+1;\\r\\n \\r\\n for (int i=1;i> methodScore = new HashMap>();\\n String questionText = \\\"\\\";\\n FSIndex questionIndex = aJCas.getAnnotationIndex(Question.type);\\n Iterator questionIter = questionIndex.iterator();\\n while (questionIter.hasNext()) {\\n Question question = (Question) questionIter.next();\\n //System.out.println(\\\"Question: \\\" + question.getCoveredText());\\n questionText += \\\"Question: \\\" + question.getCoveredText()+\\\"\\\\n\\\";\\n \\n }\\n\\n //Seperate AnswerScores with different method and put them into the map \\n FSIndex ScoreIndex = aJCas.getAnnotationIndex(AnswerScore.type);\\n Iterator ScoreIter = ScoreIndex.iterator();\\n while (ScoreIter.hasNext()) {\\n AnswerScore score = (AnswerScore) ScoreIter.next();\\n String method = score.getCasProcessorId();\\n if(methodScore.containsKey(method))\\n {\\n methodScore.get(method).put(score, score.getScore());\\n }\\n else\\n {\\n Map scoreMap = new HashMap();\\n scoreMap.put(score, score.getScore());\\n methodScore.put(method, scoreMap);\\n }\\n //scoreMap.put(score, score.getScore());\\n }\\n int precisionAtN=0;\\n \\n //print result to the screen\\n Iterator it = methodScore.entrySet().iterator();\\n while (it.hasNext()) {\\n \\n String text = \\\"\\\";\\n precisionAtN = 0;\\n Map.Entry pairs = (Map.Entry)it.next();\\n //System.out.println(pairs.getKey() + \\\" = \\\" + pairs.getValue());\\n //System.out.println(\\\"\\\\n*** Method: \\\"+ pairs.getKey() + \\\" ***\\\");\\n String scoringClassId = pairs.getKey().toString();\\n \\n Map scoreMap = (Map)pairs.getValue();\\n \\n ArrayList> scoreList = new ArrayList>(\\n scoreMap.entrySet());\\n \\n Collections.sort(scoreList, new Comparator>() {\\n public int compare(Map.Entry o1, Map.Entry o2) {\\n return (int) (o2.getValue() * 100.0 - o1.getValue() * 100.0);\\n }\\n });\\n \\n \\n \\n for(int i=0;i gatherAnnotators(JSONObject data) {\\n Set annotators = new HashSet<>();\\n\\n for (Object articleName : data.keySet()) {\\n // check if this article is in the list of valid articles\\n if (articleNameTime.containsKey(articleName.toString())) {\\n JSONObject article = (JSONObject) data.get(articleName);\\n JSONObject annotations = (JSONObject) article.get(\\\"annotations\\\");\\n JSONObject framingAnnotations = (JSONObject) annotations.get(\\\"framing\\\");\\n for (Object annotator : framingAnnotations.keySet()) {\\n String parts[] = annotator.toString().split(\\\"_\\\");\\n annotators.add(parts[0]);\\n }\\n }\\n }\\n return annotators;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"85394b97ed4dedf8b88a2a71a2893087\",\n \"score\": \"0.45626816\",\n \"text\": \"void onPreprocess(TypeDescription typeDescription, ClassFileLocator classFileLocator);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d1f9b8fcd1bcaaa8cc490759efeaa47\",\n \"score\": \"0.45584375\",\n \"text\": \"public String getProcessor() {\\n return processor;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"25fffacbf0373b530e95be254d47f216\",\n \"score\": \"0.45396024\",\n \"text\": \"@AnalysisSettings\\npublic interface ExampleAnalysisSettings {\\n /*\\n * This method presents the use of String typed setting.\\n * see the ReplaceCharWithNumberCharFilterFactory\\n */\\n @StringSetting(path = \\\"old_char\\\", defaultValue = \\\" \\\")\\n String oldCharToReplaceInCharFilter();\\n\\n /*\\n * This method presents the use of int typed setting.\\n * see the ReplaceCharWithNumberCharFilterFactory\\n */\\n @IntSetting(path = \\\"new_number\\\", defaultValue = 0)\\n int newNumberToReplaceInCharFilter();\\n\\n /*\\n * This method presents the use of long typed setting.\\n * see the ExampleTokenFilterFactory\\n */\\n @LongSetting(path = \\\"token_filter_number\\\", defaultValue = 0L)\\n long digitToSkipInTokenFilter();\\n\\n /*\\n * This method presents the use of boolean typed setting.\\n * see the ExampleAnalyzerFactory\\n */\\n @BooleanSetting(path = \\\"analyzerUseTokenListOfChars\\\", defaultValue = true)\\n boolean analyzerUseTokenListOfChars();\\n /*\\n * This method presents the use of boolean typed setting.\\n * see the ExampleTokenizerFactory\\n */\\n @ListSetting(path = \\\"tokenizer_list_of_chars\\\")\\n List singleCharsToSkipInTokenizer();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"589e76ffc938e2282ca8b972574b7da7\",\n \"score\": \"0.4529095\",\n \"text\": \"@Override\\n public void process(final JCas aJCas) throws AnalysisEngineProcessException {\\n final AnnotationIndex tokIt = aJCas.getAnnotationIndex(Token.type);\\n final FSIterator sentIt = aJCas.getAnnotationIndex(Sentence.type).iterator();\\n try {\\n while (sentIt.hasNext()) {\\n Annotation sent = sentIt.next();\\n final FSIterator subiterator = tokIt.subiterator(sent);\\n StringBuilder sb = new StringBuilder();\\n List tokens = new ArrayList<>();\\n while (subiterator.hasNext()) {\\n Token token = subiterator.next();\\n final POSTag posTag = token.getPosTag(0);\\n if (posTag == null)\\n throw new AnalysisEngineProcessException(new IllegalArgumentException(\\\"PoS tags are required but the current token has none.\\\"));\\n sb.append(posTag.getValue()).append(\\\" \\\");\\n tokens.add(token);\\n }\\n if (sb.length() > 0) {\\n // Remove the trailing whitespace\\n sb.deleteCharAt(sb.length() - 1);\\n\\n String posSentence = sb.toString();\\n AnnotatedSentence cueTaggedSentence = null;\\n AnnotatedSentence posCueMerged = null;\\n AnnotatedSentence scopeMarkedSentence = null;\\n try {\\n // Important step here: replace pipes through slashes. Pipes are a reserved character for the internal tag representation format.\\n cueTaggedSentence = cueAnnotator.annotateSentence(tokens.stream().map(Annotation::getCoveredText).collect(Collectors.joining(\\\" \\\")).replace(\\\"|\\\", \\\"/\\\"), true);\\n posCueMerged = CueAndPosFilesMerger.merge(cueTaggedSentence, posSentence, replaceCue);\\n scopeMarkedSentence = scopeAnnotator.annotateSentence(posCueMerged.getSentenceText(), true);\\n\\n final List likelihoodIndicators = addAnnotationToCas(tokens, cueTaggedSentence, () -> new LikelihoodIndicator(aJCas));\\n final List scopes = addAnnotationToCas(tokens, scopeMarkedSentence, () -> new Scope(aJCas));\\n\\n if (likelihoodIndicators.size() == scopes.size()) {\\n for (int i = 0; i < scopes.size(); i++) {\\n LikelihoodIndicator indicator = likelihoodIndicators.get(i);\\n Scope scope = scopes.get(i);\\n scope.setCue(indicator);\\n }\\n } else {\\n log.debug(\\\"Not assigning negation or hedge cues to their scopes because the number of cues and scopes differs.\\\");\\n log.trace(\\\"The respective sentence is: '{}'. Cue tags: '{}', Scope tags: '{}'\\\", sent.getCoveredText(), cueTaggedSentence.getTags(), scopeMarkedSentence.getTags());\\n }\\n } catch (Throwable t) {\\n log.warn(\\\"Lingscope error in sentence '{}'\\\", sent.getCoveredText(), t);\\n log.warn(\\\"PosCueMerged Sent Text: {}\\\", posCueMerged != null ? posCueMerged.getSentenceText() : \\\"\\\");\\n log.warn(\\\"Tokens: {}\\\", tokens.stream().map(Annotation::getCoveredText).collect(Collectors.joining(\\\" \\\")));\\n log.warn(\\\"Lemmas: {}\\\", tokens.stream().map(Token::getLemma).map(Lemma::getValue).collect(Collectors.joining(\\\" \\\")));\\n log.warn(\\\"PoS: {}\\\", posSentence);\\n log.warn(\\\"Cue tags: {}\\\", cueTaggedSentence != null ? cueTaggedSentence.getTags() : \\\"\\\");\\n log.warn(\\\"POS Cue merged: {}\\\", posCueMerged != null ? posCueMerged.getTags() : \\\"\\\");\\n log.warn(\\\"Scope tags: {}\\\", scopeMarkedSentence != null ? scopeMarkedSentence.getTags() : \\\"\\\");\\n log.warn(\\\"StackTrace:\\\", t);\\n throw t;\\n }\\n }\\n }\\n } catch (Throwable t) {\\n log.warn(\\\"Skipping this document for lingscope processing because of previous error.\\\", t);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7f99792497c2c5a5c0488f4f34ab13ae\",\n \"score\": \"0.45280427\",\n \"text\": \"@Override\\r\\n\\tpublic List> analysisHtml(List data,\\r\\n\\t\\t\\tString phoneNumber, String... agrs) {\\n\\t\\treturn null;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bb84d9b410811ba9b5bdeecb8c1a2f86\",\n \"score\": \"0.45253026\",\n \"text\": \"@Variability(id = AnnotationConstants.VAR_ARBITRARY_PROCESS_DATA)\\r\\npublic interface IProcessDataGatherer {\\r\\n\\r\\n /**\\r\\n * Returns if the given process is alive.\\r\\n * \\r\\n * @param pid the process id \\r\\n * @return true if the process is alive, false\\r\\n * else\\r\\n */\\r\\n @Variability(id = AnnotationConstants.VAR_ARBITRARY_PROCESS_DATA)\\r\\n public boolean isProcessAlive(int pid);\\r\\n \\r\\n /**\\r\\n * Returns the I/O statistics of the given process.\\r\\n * \\r\\n * @param pid the process id\\r\\n * @return the I/O statistics of the given process, may \\r\\n * be null if invalid\\r\\n */\\r\\n @Variability(id = { AnnotationConstants.VAR_ARBITRARY_PROCESS_DATA,\\r\\n AnnotationConstants.VAR_IO_DATA }, op = Operation.AND)\\r\\n public IoStatistics getProcessIo(int pid);\\r\\n \\r\\n /**\\r\\n * Returns weather native network I/O statistics are included, i.e.\\r\\n * weather the system provides required capabilities to access the\\r\\n * statistics.\\r\\n * \\r\\n * @param forAll query this information for all processes, or \\r\\n * otherways for a single process \\r\\n * \\r\\n * @return true if the information is provided, \\r\\n * false else\\r\\n * \\r\\n * @since 1.00\\r\\n */\\r\\n @Variability(id = { AnnotationConstants.VAR_ARBITRARY_PROCESS_DATA,\\r\\n AnnotationConstants.VAR_ALL_PROCESSES_DATA,\\r\\n AnnotationConstants.VAR_IO_DATA }, op = Operation.AND)\\r\\n public boolean isNetworkIoDataIncluded(boolean forAll);\\r\\n \\r\\n /**\\r\\n * Returns weather native file I/O statistics are included, i.e.\\r\\n * weather the system provides required capabilities to access the\\r\\n * statistics.\\r\\n * \\r\\n * @param forAll query this information for all processes, or \\r\\n * otherways for a single process \\r\\n * \\r\\n * @return true if the information is provided, \\r\\n * false else\\r\\n * \\r\\n * @since 1.00\\r\\n */\\r\\n @Variability(id = { AnnotationConstants.VAR_ARBITRARY_PROCESS_DATA,\\r\\n AnnotationConstants.VAR_ALL_PROCESSES_DATA,\\r\\n AnnotationConstants.VAR_IO_DATA }, op = Operation.AND)\\r\\n public boolean isFileIoDataIncluded(boolean forAll);\\r\\n\\r\\n /**\\r\\n * Returns the memory usage of the given process.\\r\\n * \\r\\n * @param pid the process id \\r\\n * @return the memory usage of the given process in bytes, zero or \\r\\n * negative if invalid\\r\\n */\\r\\n @Variability(id = { AnnotationConstants.VAR_ARBITRARY_PROCESS_DATA,\\r\\n AnnotationConstants.VAR_MEMORY_DATA }, op = Operation.AND)\\r\\n public long getProcessMemoryUse(int pid);\\r\\n\\r\\n /**\\r\\n * Returns the CPU user time ticks of the current process.\\r\\n * \\r\\n * @param pid the process id \\r\\n * @return the CPU user time ticks of the current process in nano seconds, \\r\\n * zero or negative if invalid\\r\\n */\\r\\n @Variability(id = { AnnotationConstants.VAR_ARBITRARY_PROCESS_DATA,\\r\\n AnnotationConstants.VAR_TIME_DATA }, op = Operation.AND)\\r\\n public long getProcessUserTimeTicks(int pid);\\r\\n\\r\\n /**\\r\\n * Returns the CPU kernel time ticks of the current process.\\r\\n * \\r\\n * @param pid the process id \\r\\n * @return the CPU kernel time ticks of the current process in nano \\r\\n * seconds, zero or negative if invalid\\r\\n */\\r\\n @Variability(id = { AnnotationConstants.VAR_ARBITRARY_PROCESS_DATA,\\r\\n AnnotationConstants.VAR_TIME_DATA }, op = Operation.AND)\\r\\n public long getProcessKernelTimeTicks(int pid);\\r\\n\\r\\n /**\\r\\n * Returns the system time ticks of the current process.\\r\\n * \\r\\n * @param pid the process id\\r\\n * @return the system time ticks of the current process in nano seconds, \\r\\n * zero or negative if invalid\\r\\n */\\r\\n @Variability(id = { AnnotationConstants.VAR_ARBITRARY_PROCESS_DATA,\\r\\n AnnotationConstants.VAR_TIME_DATA }, op = Operation.AND)\\r\\n public long getProcessSystemTimeTicks(int pid);\\r\\n\\r\\n /**\\r\\n * Returns the load produced by the given process.\\r\\n * \\r\\n * @param pid the process id\\r\\n * @return the load produced by the given process in percent, zero or \\r\\n * negative if invalid\\r\\n */\\r\\n @Variability(id = { AnnotationConstants.VAR_ARBITRARY_PROCESS_DATA,\\r\\n AnnotationConstants.VAR_LOAD_DATA }, op = Operation.AND)\\r\\n public double getProcessProcessorLoad(int pid);\\r\\n\\r\\n /**\\r\\n * Returns the I/O statistics for all currently running processes.\\r\\n * \\r\\n * @return the I/O statistics for all processes, may \\r\\n * be null if invalid\\r\\n */\\r\\n @Variability(id = { AnnotationConstants.VAR_ALL_PROCESSES_DATA, \\r\\n AnnotationConstants.VAR_IO_DATA }, op = Operation.AND)\\r\\n public IoStatistics getAllProcessesIo();\\r\\n\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8665a93338abe4767ce5cfd55a0bd56e\",\n \"score\": \"0.44848707\",\n \"text\": \"@Override\\n\\tprotected void process(JCas aJCas, String text, int arg2) throws AnalysisEngineProcessException {\\n\\t Config conf = ConfigFactory.load(configLocation);\\n\\t \\n\\t //create session ID\\n \\t\\tTimestamp timestamp = new Timestamp(System.currentTimeMillis());\\n \\t\\tString sessionId = timestamp.toString();\\n\\t TalismaneSession session = null;\\n\\t\\ttry {\\n\\t\\t\\tsession = new TalismaneSession(conf, sessionId);\\n\\t\\t\\t} \\n\\t\\tcatch (ClassNotFoundException e) {e.printStackTrace();} \\n\\t\\tcatch (SentenceAnnotatorLoadException e) {e.printStackTrace();} \\n\\t\\tcatch (IOException e) {e.printStackTrace();} \\n\\t\\tcatch (TalismaneException e) {e.printStackTrace();}\\n\\n\\t RawText rawText = new RawText(text, true, session);\\n\\n\\t // retrieve the processed text after filters have been applied\\n\\t AnnotatedText processedText = rawText.getProcessedText();\\n\\n\\t // detect sentences\\n\\t SentenceDetector sentenceDetector = null;\\n\\t\\ttry {\\n\\t\\t\\tsentenceDetector = SentenceDetector.getInstance(session);\\n\\t\\t\\t} \\n\\t\\tcatch (ClassNotFoundException e) {e.printStackTrace();} \\n\\t\\tcatch (IOException e) {e.printStackTrace();}\\n\\t\\t\\n\\t try {\\n\\t\\t\\tsentenceDetector.detectSentences(processedText);\\n\\t\\t\\t} \\n\\t catch (TalismaneException e) {e.printStackTrace();}\\n\\n\\t //Get Sentences\\n\\t List sentences = rawText.getDetectedSentences();\\n\\n\\t //Add sentences to JCas\\n\\t for (Sentence sentence : sentences) {\\n\\t \\tde.tudarmstadt.ukp.dkpro.core.api.segmentation.type.Sentence sen = \\n\\t \\t\\t\\tnew de.tudarmstadt.ukp.dkpro.core.api.segmentation.type.Sentence(aJCas);\\n\\t \\t\\n\\t \\tint sStart = sentence.getOriginalIndex(0);\\n\\t \\tint sEnd = sStart + sentence.getText().length();\\n\\t \\t\\n\\t \\t//ignore empty sentences\\n\\t \\tif(sStart != sEnd) {\\n\\t \\t\\tsen.setBegin(sStart);\\n\\t \\t\\tsen.setEnd(sEnd);\\n\\t \\t\\tsen.addToIndexes();\\n\\t \\t\\n\\t \\t\\n\\t\\t \\t Tokeniser tokeniser = null;\\n\\t\\t \\t\\ttry {\\n\\t\\t \\t\\t\\ttokeniser = Tokeniser.getInstance(session);\\n\\t\\t \\t\\t\\t} \\n\\t\\t \\t\\tcatch (ClassNotFoundException e) {e.printStackTrace();} \\n\\t\\t \\t\\tcatch (IOException e) {e.printStackTrace();}\\n\\t\\t \\t\\n\\t\\t \\tTokenSequence tokenSequence = null;\\n\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\ttokenSequence = tokeniser.tokeniseSentence(sentence);\\n\\t\\t\\t\\t\\t} \\n\\t\\t\\t\\tcatch (TalismaneException e) {e.printStackTrace();} \\n\\t\\t\\t\\tcatch (IOException e) {e.printStackTrace();}\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t// write token to JCas\\n\\t\\t\\t for (Token token : tokenSequence) {\\n\\t\\t\\t \\tint tStart = token.getStartIndex() + sStart;\\n\\t\\t\\t \\tint tEnd = token.getEndIndex() + sStart; \\t\\n\\t\\t\\t \\tcreateToken(aJCas, tStart, tEnd);\\n\\t\\t\\t\\t}\\n\\t \\t}\\n\\t }\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b2c3f3ff9c5692eb13adf4ab7851ad94\",\n \"score\": \"0.44827056\",\n \"text\": \"public static void main(String[] args) {\\n AnnotationProcessor.getStudentInfo(Student.class);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5c6d54a850844f6a3d987c337dbfe523\",\n \"score\": \"0.44801238\",\n \"text\": \"@Override\\n public void process(JCas jCas) throws AnalysisEngineProcessException {\\n try {\\n logger.log(Level.INFO, \\\"Start analyzing results\\\");\\n String line;\\n String[] splitLine;\\n BufferedReader reader = new BufferedReader(\\n new FileReader(inputFile));\\n int correct = 0;\\n int wrong = 0;\\n int tokenCount = 0;\\n int commentCount = 0;\\n int truePositive = 0;\\n int falsePositive = 0;\\n int trueNegative = 0;\\n int falseNegative = 0;\\n\\n String[] labels = {\\\"negative\\\", \\\"positive\\\"};\\n\\n boolean writeToEval = true;\\n PrintWriter writer = new PrintWriter(new FileOutputStream(\\\"src/main/resources/res/twitter_evalRes.txt\\\", false));\\n Pattern p = Pattern.compile(\\\",(?=([^\\\\\\\\\\\\\\\"]*\\\\\\\\\\\\\\\"[^\\\\\\\\\\\\\\\"]*\\\\\\\\\\\\\\\")*(?![^\\\\\\\\\\\\\\\"]*\\\\\\\\\\\\\\\"))\\\");\\n\\n for (CommentAnnotation comment : select(jCas, CommentAnnotation.class)) {\\n if (comment.getGoldValue() == null) {\\n commentCount++;\\n line = reader.readLine();\\n splitLine = p.split(line);\\n String trueValue = splitLine[1];\\n //logger.log(Level.INFO, comment.getCoveredText() + \\\" \\\" + comment.getPredictValue() + \\\" \\\" + comment.getGoldValue());\\n String classifiedValue = comment.getPredictValue();\\n\\n if (classifiedValue.equals(\\\"negative\\\") && labels[Integer.parseInt(trueValue)].equals(\\\"negative\\\"))\\n trueNegative++;\\n else if (classifiedValue.equals(\\\"negative\\\") && labels[Integer.parseInt(trueValue)].equals(\\\"positive\\\"))\\n falseNegative++;\\n else if (classifiedValue.equals(\\\"positive\\\")&& labels[Integer.parseInt(trueValue)].equals(\\\"positive\\\"))\\n truePositive++;\\n else if(classifiedValue.equals(\\\"positive\\\") && labels[Integer.parseInt(trueValue)].equals(\\\"negative\\\"))\\n falsePositive++;\\n\\n if (splitLine[3].equals(comment.getCoveredText())) {\\n if (labels[Integer.parseInt(trueValue)].equals(classifiedValue)) {\\n correct++;\\n logger.log(Level.INFO, \\\"Correct tag: \\\" + labels[Integer.parseInt(trueValue)] + \\\", predicted tag: \\\" + classifiedValue);\\n } else {\\n wrong++;\\n }\\n tokenCount++;\\n } else {\\n logger.log(\\n Level.WARNING,\\n \\\"Token of predicting file does not match to text (\\\"\\n + splitLine[3] + \\\"!=\\\"\\n + comment.getCoveredText() + \\\")\\\");\\n }\\n // write to new file here:\\n if (writeToEval) {\\n writer.println(line + \\\" \\\" + classifiedValue);\\n }\\n }\\n }\\n reader.close();\\n if (writeToEval) {\\n writer.close();\\n }\\n\\n float precision = (float) 100 * truePositive / (truePositive + falsePositive);\\n float recall = (float) 100 * truePositive / (truePositive + falseNegative);\\n float fscore = (float) 2 * ((precision * recall )/ (precision + recall));\\n\\n logger.log(Level.INFO, \\\"Correct: \\\" + correct);\\n logger.log(Level.INFO, \\\"Error: \\\" + wrong);\\n logger.log(Level.INFO, \\\"Total: \\\" + tokenCount);\\n logger.log(Level.INFO, \\\"Total comments \\\" + commentCount);\\n logger.log(Level.INFO, \\\"Precision \\\" + precision);\\n logger.log(Level.INFO, \\\"Recall \\\" + recall);\\n logger.log(Level.INFO, \\\"F1 \\\" + fscore);\\n\\n //logger.log(Level.INFO, \\\"Total of positive comments \\\" + posCount);\\n //logger.log(Level.INFO, \\\"Total of negative comments \\\" + negCount);\\n\\n\\n /*logger.log(Level.INFO, \\\"Correct rate: \\\" + correct / tokenCount);\\n logger.log(Level.INFO, \\\"Error rate: \\\" + wrong / tokenCount);*/\\n\\n\\n } catch (FileNotFoundException e) {\\n logger.log(Level.WARNING, e.getMessage());\\n } catch (IOException e) {\\n logger.log(Level.WARNING, e.getMessage());\\n }\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cf0b5a1b503346e3559c2f8a69400439\",\n \"score\": \"0.44744354\",\n \"text\": \"@Override\\n public void preprocess() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cf0b5a1b503346e3559c2f8a69400439\",\n \"score\": \"0.44744354\",\n \"text\": \"@Override\\n public void preprocess() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"18d3c14a02f1f0a4b71e4035e384b7ad\",\n \"score\": \"0.44696587\",\n \"text\": \"private void parseAnnotations(List corpus, List lstOut)\\n {\\n ProjectLogger.LOGGER.info(\\\"Collecting annotation ...\\\");\\n Iterator itDoc = corpus.iterator();\\n Iterator itSource = lstOut.iterator();\\n\\n while(itDoc.hasNext() && itSource.hasNext())\\n {\\n Object doc = (Object) itDoc.next();\\n\\n MiddleData aoData = itSource.next(); \\n\\n ((AnnotatorCollector)tmAnnColl.get(aoData.getId_annotationrecollecting())).\\n collect(doc, aoData);\\n } \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"90190c53df92a40b2e1b01e82a5fc1c7\",\n \"score\": \"0.44688812\",\n \"text\": \"public Analyzer() {\\n // TODO: default plugins\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5ab7442b3450c7c56e594bba15013419\",\n \"score\": \"0.44642916\",\n \"text\": \"private BuildAttributionAnalyzersData(com.google.protobuf.GeneratedMessageV3.Builder builder) {\\n super(builder);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d8c3e8676173134bd71cb8d7793c859b\",\n \"score\": \"0.4455789\",\n \"text\": \"abstract public void reduceExtraction2Tagging(AnnotationExample example);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7394d4352b7994de00e7e7a56caf331c\",\n \"score\": \"0.44466317\",\n \"text\": \"@Override\\n public void preprocess() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7394d4352b7994de00e7e7a56caf331c\",\n \"score\": \"0.44466317\",\n \"text\": \"@Override\\n public void preprocess() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7394d4352b7994de00e7e7a56caf331c\",\n \"score\": \"0.44466317\",\n \"text\": \"@Override\\n public void preprocess() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7394d4352b7994de00e7e7a56caf331c\",\n \"score\": \"0.44466317\",\n \"text\": \"@Override\\n public void preprocess() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0814d4fe5aaadc2446af529ec1792fbc\",\n \"score\": \"0.4445725\",\n \"text\": \"@Override\\n\\tpublic void process(JCas jcas) throws AnalysisEngineProcessException {\\n\\t\\t\\t\\tAnnotationIndex idxToken = jcas.getAnnotationIndex(Token.type);\\n\\t\\t\\t\\tFSIterator itToken = idxToken.iterator();\\n\\t\\t\\t\\twhile (itToken.hasNext()) {\\n\\t\\t\\t\\t\\tToken mToken = (Token) itToken.next();\\n\\t\\t\\t\\t\\tString lemma = mToken.getLemma();\\n\\t\\t\\t\\t\\tlemma = lemma.replaceAll(\\\"(a){2,}\\\",\\\"a\\\");\\n\\t\\t\\t\\t\\tlemma = lemma.replaceAll(\\\"(e){2,}\\\",\\\"e\\\");\\n\\t\\t\\t\\t\\tlemma = lemma.replaceAll(\\\"(i){2,}\\\",\\\"i\\\");\\n\\t\\t\\t\\t\\tlemma = lemma.replaceAll(\\\"(o){2,}\\\",\\\"o\\\");\\n\\t\\t\\t\\t\\tlemma = lemma.replaceAll(\\\"(u){2,}\\\",\\\"u\\\");\\t\\t\\t\\t\\t\\n\\n\\t\\t\\t\\t\\tlemma = lemma.replaceAll(\\\"(b){2,}\\\",\\\"b\\\");\\n\\t\\t\\t\\t\\tlemma = lemma.replaceAll(\\\"(c){3,}\\\",\\\"cc\\\");\\n\\t\\t\\t\\t\\tlemma = lemma.replaceAll(\\\"(d){2,}\\\",\\\"d\\\");\\n\\t\\t\\t\\t\\tlemma = lemma.replaceAll(\\\"(f){2,}\\\",\\\"f\\\");\\n\\t\\t\\t\\t\\tlemma = lemma.replaceAll(\\\"(g){2,}\\\",\\\"g\\\");\\n\\t\\t\\t\\t\\tlemma = lemma.replaceAll(\\\"(h){2,}\\\",\\\"h\\\");\\n\\t\\t\\t\\t\\tlemma = lemma.replaceAll(\\\"(j){2,}\\\",\\\"j\\\");\\n\\t\\t\\t\\t\\tlemma = lemma.replaceAll(\\\"(k){2,}\\\",\\\"k\\\");\\n\\t\\t\\t\\t\\tlemma = lemma.replaceAll(\\\"(l){3,}\\\",\\\"ll\\\");\\n\\t\\t\\t\\t\\tlemma = lemma.replaceAll(\\\"(m){3,}\\\",\\\"m\\\");\\n\\t\\t\\t\\t\\tlemma = lemma.replaceAll(\\\"(n){2,}\\\",\\\"n\\\");\\n\\t\\t\\t\\t\\tlemma = lemma.replaceAll(\\\"(ñ){2,}\\\",\\\"ñ\\\");\\n\\t\\t\\t\\t\\tlemma = lemma.replaceAll(\\\"(p){2,}\\\",\\\"p\\\");\\n\\t\\t\\t\\t\\tlemma = lemma.replaceAll(\\\"(q){2,}\\\",\\\"q\\\");\\n\\t\\t\\t\\t\\tlemma = lemma.replaceAll(\\\"(r){3,}\\\",\\\"r\\\");\\n\\t\\t\\t\\t\\tlemma = lemma.replaceAll(\\\"(s){2,}\\\",\\\"s\\\");\\n\\t\\t\\t\\t\\tlemma = lemma.replaceAll(\\\"(t){2,}\\\",\\\"t\\\");\\n\\t\\t\\t\\t\\tlemma = lemma.replaceAll(\\\"(v){2,}\\\",\\\"v\\\");\\n\\t\\t\\t\\t\\tlemma = lemma.replaceAll(\\\"(w){2,}\\\",\\\"w\\\");\\n\\t\\t\\t\\t\\tlemma = lemma.replaceAll(\\\"(x){2,}\\\",\\\"x\\\");\\n\\t\\t\\t\\t\\tlemma = lemma.replaceAll(\\\"(y){2,}\\\",\\\"y\\\");\\n\\t\\t\\t\\t\\tlemma = lemma.replaceAll(\\\"(z){2,}\\\",\\\"z\\\");\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t\\tmToken.setLemma(lemma);\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t}\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"63d91b4def20c358b2ef70868700ec8e\",\n \"score\": \"0.44432062\",\n \"text\": \"private void setProcessors(CompilationTask task) {\\n LinkedList processors = new LinkedList();\\n processors.add(new CodeAnalyzerProcessor());\\n task.setProcessors(processors);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba154509201c5f1ee0f0d382f79e17f8\",\n \"score\": \"0.444113\",\n \"text\": \"public abstract void processData(MapleData data);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e76df0707ca18c3e95cae9b33a1b18e6\",\n \"score\": \"0.4438514\",\n \"text\": \"public String getAnalysisInstanceAnalysisParameters() {\\n return analysisInstanceAnalysisParameters;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"71444b5d6b0014d672290d8a68aa5dfd\",\n \"score\": \"0.44310057\",\n \"text\": \"private static void prepareDataManual() {\\n\\n\\t\\ttext = text + \\\"Use unigram features: [\\\" + Features.isUseUnigramFeatures() + \\\"] - Used in Quantification: [\\\" + Features.isUseQuantifUnigrams() + \\\"]\\\" + n;\\n\\t\\ttextProperty.set(text);\\n\\n\\t\\ttext = text + \\\"Use basic pattern features: [\\\" + Features.isUsePatternFeatures() + \\\"] - Used in Quantification: [\\\" + Features.isUseQuantifBasicPatterns() + \\\"]\\\" + n;\\n\\t\\ttextProperty.set(text);\\n\\t\\t\\n\\t\\ttext = text + \\\"Use adv. pattern features: [\\\" + Features.isUseAdvancedPatternFeatures() + \\\"] - Used in Quantification: [\\\" + Features.isUseQuantifAdvancedPatterns() + \\\"]\\\" + n;\\n\\t\\ttextProperty.set(text);\\n\\t\\t\\t\\t\\n\\t\\tFeatures.setCoefficients(Features.getManualCoefficients());\\n\\t\\ttotalNumberOfTasks.set(1);\\n\\n\\t\\ttext = text + \\\"Coefficients extracted\\\" + n;\\n\\t\\ttextProperty.set(text);\\n\\t\\t\\n\\t\\t// Select the data set to use\\n\\t\\tArrayList tweets;\\n\\t\\t\\n\\t\\tif (Parameters.getTypeOfProject().equals(Parameters.TypeOfProject.TESTSET)) {\\n\\t\\t\\ttweets = Parameters.getTestSet();\\n\\t\\t\\ttext = text + \\\"Data set to use: \\\" + \\\"[Test Set]\\\" + n;\\n\\t\\t\\ttextProperty.set(text);\\n\\t\\t} else {\\n\\t\\t\\ttweets = Parameters.getUnknownSet();\\n\\t\\t\\ttext = text + \\\"Data set to use: \\\" + \\\"[Non-annotated Set]\\\" + n;\\n\\t\\t\\ttextProperty.set(text);\\n\\t\\t}\\n\\t\\t\\n\\t\\t// Add Unigram final scores\\n\\t\\tif (Features.isUseQuantifUnigrams()) {\\n\\t\\t\\tfor (Tweet tweet : tweets) {\\n\\t\\t\\t\\tTweetProcessing.addUnigramScores(tweet, Parameters.getClasses());\\n\\t\\t\\t}\\n\\t\\t\\ttext = text + \\\"Unigram scores extracted\\\" + n;\\n\\t\\t\\ttextProperty.set(text);\\n\\t\\t}\\n\\t\\t\\n\\t\\t// Add the basic pattern final scores\\n\\t\\tif (Features.isUseQuantifBasicPatterns()) {\\n\\t\\t\\t\\n\\t\\t\\tint m = Features.getMaxPatternLength() - Features.getMinPatternLength() + 1;\\n\\t\\t\\tint min = Features.getMinPatternLength();\\n\\t\\t\\t\\n\\t\\t\\tdouble[] factors = new double[m];\\n\\t\\t\\t\\n\\t\\t\\tfor (int i=0; i();\\n\\n for(String key : DF.keySet()){\\n if(DF.get(key) >= 10) vocab.add(key);\\n }\\n return;\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7f999d91aa32089881097635efa1a78\",\n \"score\": \"0.44076768\",\n \"text\": \"public boolean hasProjectConfigurationAnalyzerData() {\\n return ((bitField0_ & 0x00000010) != 0);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0c2159056be414965c117d007f547323\",\n \"score\": \"0.44070074\",\n \"text\": \"public interface AnnotContent {\\r\\n\\r\\n /** Return the page index of a annotation */\\r\\n public int getPageIndex();\\r\\n\\r\\n /** Return the type of a annotation */\\r\\n public int getType();\\r\\n\\r\\n /** Return the uniquely identifying of a annotation */\\r\\n public String getNM();\\r\\n\\r\\n /** Return the bbox of a annotation */\\r\\n public RectF getBBox();\\r\\n\\r\\n /** Return the color of a annotation */\\r\\n public int getColor();\\r\\n\\r\\n /** Return the opacity of a annotation */\\r\\n public int getOpacity();\\r\\n\\r\\n /** Return the line width of a annotation. usually for line, square, circle, polygon, polyline and so on*/\\r\\n public float getLineWidth();\\r\\n\\r\\n /** Return the subject of a annotation */\\r\\n public String getSubject();\\r\\n\\r\\n /** Return the modified date of a annotation */\\r\\n public DateTime getModifiedDate();\\r\\n\\r\\n /** Return the contents of a annotation */\\r\\n public String getContents();\\r\\n\\r\\n /** Return the intent of a annotation */\\r\\n public String getIntent();\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"059ddad4d54186823554b82464e0c6fc\",\n \"score\": \"0.44024718\",\n \"text\": \"Map, Annotation[]> active();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1277cb06397ac679f32e27015dc6029b\",\n \"score\": \"0.43932334\",\n \"text\": \"public void map(LongWritable key, Text value, OutputCollector output, Reporter reporter) throws IOException {\\n try {\\n // analyze one line\\n String[] params = value.toString().split(\\\",\\\", 6);\\n System.out.println(params[5]);\\n String text = params[5];\\n // remove the first the last \\\"\\\" quotes.\\n text = text.substring(1, text.length() - 1);\\n text = Jsoup.parse(text).text();\\n\\n\\n // create an empty Annotation just with the given text\\n @SuppressWarnings(\\\"unchecked\\\")\\n List> sentences = tagger.tokenizeText(new StringReader(text));\\n for (List sentence : sentences) {\\n ArrayList tSentence = tagger.tagSentence(sentence);\\n // System.out.println(Sentence.listToString(tSentence, false));\\n for (TaggedWord tag: tSentence) {\\n output.collect(new Text(tag.tag()), ONE);\\n }\\n }\\n } catch (Exception e) {\\n System.out.println(e);\\n }\\n //output.collect(new Text(t.toString()), );\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fe1aedb32a272c72228d48403fbbe231\",\n \"score\": \"0.43895867\",\n \"text\": \"public void setupAnalysis();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8334dd5be660aadf3c16ac7f271caf0b\",\n \"score\": \"0.43861398\",\n \"text\": \"public boolean hasAnnotations() {\\n return fieldSetFlags()[1];\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1566ec6310645c4e263e22ded5bc78eb\",\n \"score\": \"0.43837446\",\n \"text\": \"private void processAnnotations(final Field property) throws CoreException {\\n // For each field annotation we will attach an event handler\\n for (final Annotation a : property.getAnnotations()) {\\n\\n if (EventTarget.class.isAssignableFrom(property.getType())) {\\n\\n // Manage only JRebirth OnXxxxx annotations\\n if (a.annotationType().getName().startsWith(BASE_ANNOTATION_NAME)) {\\n\\n try {\\n // Retrieve the property value\\n final EventTarget target = (EventTarget) property.get(this);\\n\\n // Process the annotation if the node is not null\\n if (target != null && controller() instanceof AbstractController) {\\n addHandler(target, a);\\n }\\n\\n } catch (IllegalArgumentException | IllegalAccessException e) {\\n LOGGER.log(UIMessages.NODE_ANNO_PROCESSING_FAILURE, e, this.getClass().getName(), property.getName());\\n }\\n }\\n\\n // Manage only JRebirth OnFinished annotations\\n } else if (Animation.class.isAssignableFrom(property.getType())\\n && OnFinished.class.getName().equals(a.annotationType().getName())) {\\n\\n try {\\n // Retrieve the property value\\n final Animation animation = (Animation) property.get(this);\\n\\n // Process the annotation if the node is not null\\n if (animation != null && controller() instanceof AbstractController) {\\n addHandler(animation, a);\\n }\\n\\n } catch (IllegalArgumentException | IllegalAccessException e) {\\n LOGGER.log(UIMessages.ANIM_ANNO_PROCESSING_FAILURE, e, this.getClass().getName(), property.getName());\\n }\\n\\n }\\n\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e49a3add48545426cb6f1f032d8e45e3\",\n \"score\": \"0.43830127\",\n \"text\": \"public boolean hasProjectConfigurationAnalyzerData() {\\n return ((bitField0_ & 0x00000010) != 0);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1b1c7ea1b8ce7b3049c9a896e99ed8fe\",\n \"score\": \"0.43816808\",\n \"text\": \"@Override\\r\\n\\tpublic void annotateFragments(JCas aJCas) throws FragmentAnnotatorException {\\r\\n\\t\\t\\r\\n\\t\\tLogger fragLogger = Logger.getLogger(this.getClass().getName()); \\r\\n\\r\\n\\t\\t// first of all, check determined fragmentation is there or not. \\r\\n\\t\\t// If it is there, we don't run and pass \\r\\n\\t\\t// check the annotated data\\r\\n\\t\\tAnnotationIndex frgIndex = aJCas.getAnnotationIndex(DeterminedFragment.type);\\r\\n\\t\\t\\r\\n\\t\\tif (frgIndex.size() > 0)\\r\\n\\t\\t{\\r\\n\\t\\t\\tfragLogger.info(\\\"The CAS already has \\\" + frgIndex.size() + \\\" determined fragment annotation. Won't process this CAS.\\\"); \\r\\n\\t\\t\\treturn; \\r\\n\\t\\t}\\r\\n\\t\\t\\r\\n\\t\\t//add lap annotation\\r\\n\\t\\taddLAPTokenAnnotation(aJCas);\\r\\n\\r\\n\\t\\t//add determined fragment annotation\\r\\n\\t\\tfragLogger.info(\\\"Annotating determined fragments on CAS. CAS Text has: \\\\\\\"\\\" + aJCas.getDocumentText() + \\\"\\\\\\\".\\\"); \\r\\n\\t\\tint num_frag = 0; \\r\\n\\t\\tAnnotationIndex tokenIndex = aJCas.getAnnotationIndex(Token.type);\\r\\n\\t\\tIterator tokenItr = tokenIndex.iterator();\\r\\n\\t\\tSet lemmasToAdd = new HashSet();\\r\\n\\t\\twhile(tokenItr.hasNext()) {\\r\\n\\t\\t\\t//annotate each token except punctuation as one fragment, if it matches the filter \\r\\n\\t\\t\\tToken tk = (Token) tokenItr.next(); \\r\\n\\t\\t\\ttry {\\r\\n\\t\\t\\t\\tif(isAllowed(tk, tokenPOSFilter)){\\r\\n\\t\\t\\t\\t\\tString tokenText = tk.getCoveredText();\\r\\n\\t\\t\\t\\t\\tif(tokenText.length()==1 && !isDigit(tokenText)){\\r\\n\\t\\t\\t\\t\\t\\tcontinue;\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\ttmpLemmaMap.put(tokenText, tk.getLemma().getValue());\\r\\n\\t\\t\\t\\t\\tCASUtils.Region[] r = new CASUtils.Region[1];\\r\\n\\t\\t\\t\\t\\tr[0] = new CASUtils.Region(tk.getBegin(), tk.getEnd()); \\r\\n\\t\\t\\t\\t\\tfragLogger.info(\\\"Annotating the following as a fragment: \\\" + tk.getCoveredText());\\r\\n\\t\\t\\t\\t\\tCASUtils.annotateOneDeterminedFragment(aJCas, r);\\r\\n\\t\\t\\t\\t\\tnum_frag++;\\r\\n\\t\\t\\t\\t\\tif(splitter != null){\\r\\n\\t\\t\\t\\t\\t\\tCollection compoundParts = decompoundWord(tokenText, decompositionType);\\r\\n\\t\\t\\t\\t\\t\\tif(compoundParts.size() > 1){\\r\\n\\t\\t\\t\\t\\t\\t\\tfor(String compoundPart : compoundParts){\\r\\n\\t\\t\\t\\t\\t\\t\\t\\tif(compoundPart.length() == 1 && !isDigit(compoundPart)){\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tcontinue;\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t}\\r\\n//\\t\\t\\t\\t\\t\\t\\t\\tif(compoundPart.length()>1){\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tif(!compoundPart.equals(tokenText)) {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tint index = tokenText.toLowerCase().indexOf(compoundPart.toLowerCase());\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tint compoundPartBegin = tk.getBegin() + index;\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tint compoundPartEnd = compoundPartBegin + compoundPart.length();\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tindex = compoundPartEnd + 1;\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tr[0] = new CASUtils.Region(compoundPartBegin, compoundPartEnd);\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tLemma compoundLemma = createLemma(aJCas, compoundPart, compoundPartBegin, compoundPartEnd);\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tlemmasToAdd.add(compoundLemma);\\r\\n//\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tSystem.out.println(\\\"Annotating the following as a fragment: \\\" + tokenText + \\\" \\\" + aJCas.getDocumentText().substring(compoundPartBegin, compoundPartEnd));\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tfragLogger.info(\\\"Annotating the following as a fragment: \\\" + aJCas.getDocumentText().substring(compoundPartBegin, compoundPartEnd));\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tCASUtils.annotateOneDeterminedFragment(aJCas, r);\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tnum_frag++;\\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\\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\\tcatch (LAPException e)\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tthrow new FragmentAnnotatorException(\\\"CASUtils reported exception while annotating Fragment, on token (\\\" + tk.getBegin() + \\\",\\\"+ tk.getEnd(), e );\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\t \\r\\n\\t\\t}\\r\\n\\t\\tfragLogger.info(\\\"Annotated \\\" + num_frag + \\\" determined fragments\\\"); \\r\\n\\t\\t//add lemma of compound parts to the indexes\\r\\n\\t\\tfor(Lemma lemma : lemmasToAdd){\\r\\n\\t\\t\\taJCas.addFsToIndexes(lemma);\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e658c8c34dba6a7f1216532cbd0a2bfd\",\n \"score\": \"0.43756646\",\n \"text\": \"public interface DynamicAnnotationManager {\\n\\n\\n public Runnable process(int schema, int sqltype, int[] tables, BufferSQLContext context) throws Exception;\\n\\n /**\\n * 动态注解先匹配chema的名字,再sql类型,在匹配表名,在匹配条件\\n *\\n * @param\\n * @return\\n */\\n //public void processNow(int schema, int sqltype, int[] tables, BufferSQLContext context) throws Exception ;\\n public default Runnable process(String schema, int sqltype, int[] tables, BufferSQLContext context) throws Exception {\\n\\n return process(schema.hashCode(), sqltype, tables, context);\\n }\\n\\n public default Runnable process(String schema, int sqltype, String[] tables, BufferSQLContext context) throws Exception {\\n return process(schema.hashCode(), sqltype, DynamicAnnotationKeyRoute.stringArray2HashArray(tables), context);\\n }\\n\\n public void collectInSQLAnnotationList(int schema, int sqltype, int[] tables, BufferSQLContext context, List collect)throws Exception;\\n public default void collectInSQLAnnotationList(String schema, int sqltype, int[] tables, BufferSQLContext context, List collect) throws Exception {\\n collectInSQLAnnotationList(schema.hashCode(), sqltype, tables, context,collect);\\n }\\n public void collect(int schema, int sqltype, int[] tables, BufferSQLContext context, List collect)throws Exception;\\n public default void collect(String schema, int sqltype, int[] tables, BufferSQLContext context, List collect) throws Exception {\\n collect(schema.hashCode(), sqltype, tables, context,collect);\\n }\\n\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc28ddd36233b6a7acd1c5fbe6efe193\",\n \"score\": \"0.43736497\",\n \"text\": \"interface AnnotationReader {\\n\\n /**\\n * Resolves the underlying {@link AnnotatedElement}.\\n *\\n * @return The underlying annotated element.\\n */\\n AnnotatedElement resolve();\\n\\n /**\\n * Returns the underlying type annotations as a list.\\n *\\n * @return The underlying type annotations as a list.\\n */\\n AnnotationList asList();\\n\\n /**\\n * Returns a reader for type annotations of an represented element's wildcard upper bound.\\n *\\n * @param index The wildcard bound's index.\\n * @return An annotation reader for the underlying annotated upper bound.\\n */\\n AnnotationReader ofWildcardUpperBoundType(int index);\\n\\n /**\\n * Returns a reader for type annotations of an represented element's wildcard lower bound.\\n *\\n * @param index The wildcard bound's index.\\n * @return An annotation reader for the underlying annotated lower bound.\\n */\\n AnnotationReader ofWildcardLowerBoundType(int index);\\n\\n /**\\n * Returns a reader for type annotations of a type variable's bound.\\n *\\n * @param index The bound's index.\\n * @return An annotation reader for the underlying annotated bound.\\n */\\n AnnotationReader ofTypeVariableBoundType(int index);\\n\\n /**\\n * Returns a reader for type annotations of a parameterized type's type argument.\\n *\\n * @param index The bound's index.\\n * @return An annotation reader for the underlying annotated bound..\\n */\\n AnnotationReader ofTypeArgument(int index);\\n\\n /**\\n *

\\n * Returns a reader for type annotations of a parameterized type's owner type.\\n *

\\n *

\\n * Important: This feature is not currently implemented by the Java reflection API.\\n *

\\n *\\n * @return An annotation reader for the underlying owner type.\\n */\\n AnnotationReader ofOwnerType();\\n\\n /**\\n *

\\n * Returns a reader for type annotations of an inner class type's outer type.\\n *

\\n *

\\n * Important: This feature is not currently implemented by the Java reflection API.\\n *

\\n *\\n * @return An annotation reader for the underlying owner type.\\n */\\n AnnotationReader ofOuterClass();\\n\\n /**\\n * Returns a reader for type annotations of an array's component type.\\n *\\n * @return An annotation reader for the underlying component type.\\n */\\n AnnotationReader ofComponentType();\\n\\n /**\\n * A non-operational annotation reader.\\n */\\n enum NoOp implements AnnotationReader, AnnotatedElement {\\n\\n /**\\n * The singleton instance.\\n */\\n INSTANCE;\\n\\n /**\\n * {@inheritDoc}\\n */\\n public AnnotatedElement resolve() {\\n return this;\\n }\\n\\n /**\\n * {@inheritDoc}\\n */\\n public AnnotationList asList() {\\n return new AnnotationList.Empty();\\n }\\n\\n /**\\n * {@inheritDoc}\\n */\\n public AnnotationReader ofWildcardUpperBoundType(int index) {\\n return this;\\n }\\n\\n /**\\n * {@inheritDoc}\\n */\\n public AnnotationReader ofWildcardLowerBoundType(int index) {\\n return this;\\n }\\n\\n /**\\n * {@inheritDoc}\\n */\\n public AnnotationReader ofTypeVariableBoundType(int index) {\\n return this;\\n }\\n\\n /**\\n * {@inheritDoc}\\n */\\n public AnnotationReader ofTypeArgument(int index) {\\n return this;\\n }\\n\\n /**\\n * {@inheritDoc}\\n */\\n public AnnotationReader ofOwnerType() {\\n return this;\\n }\\n\\n /**\\n * {@inheritDoc}\\n */\\n public AnnotationReader ofOuterClass() {\\n return this;\\n }\\n\\n /**\\n * {@inheritDoc}\\n */\\n public AnnotationReader ofComponentType() {\\n return this;\\n }\\n\\n /**\\n * {@inheritDoc}\\n */\\n public boolean isAnnotationPresent(Class annotationClass) {\\n throw new IllegalStateException(\\\"Cannot resolve annotations for no-op reader: \\\" + this);\\n }\\n\\n /**\\n * {@inheritDoc}\\n */\\n public T getAnnotation(Class annotationClass) {\\n throw new IllegalStateException(\\\"Cannot resolve annotations for no-op reader: \\\" + this);\\n }\\n\\n /**\\n * {@inheritDoc}\\n */\\n public Annotation[] getAnnotations() {\\n throw new IllegalStateException(\\\"Cannot resolve annotations for no-op reader: \\\" + this);\\n }\\n\\n /**\\n * {@inheritDoc}\\n */\\n public Annotation[] getDeclaredAnnotations() {\\n return new Annotation[0];\\n }\\n }\\n\\n /**\\n * A delegating annotation reader that delegates all invocations to an annotation reader that wraps the previous one.\\n */\\n abstract class Delegator implements AnnotationReader {\\n\\n /**\\n * A proxy for {@code java.security.AccessController#doPrivileged} that is activated if available.\\n *\\n * @param action The action to execute from a privileged context.\\n * @param The type of the action's resolved value.\\n * @return The action's resolved value.\\n */\\n @AccessControllerPlugin.Enhance\\n static T doPrivileged(PrivilegedAction action) {\\n return action.run();\\n }\\n\\n /**\\n * {@inheritDoc}\\n */\\n public AnnotationReader ofWildcardUpperBoundType(int index) {\\n return new ForWildcardUpperBoundType(this, index);\\n }\\n\\n /**\\n * {@inheritDoc}\\n */\\n public AnnotationReader ofWildcardLowerBoundType(int index) {\\n return new ForWildcardLowerBoundType(this, index);\\n }\\n\\n /**\\n * {@inheritDoc}\\n */\\n public AnnotationReader ofTypeVariableBoundType(int index) {\\n return new ForTypeVariableBoundType(this, index);\\n }\\n\\n /**\\n * {@inheritDoc}\\n */\\n public AnnotationReader ofTypeArgument(int index) {\\n return new ForTypeArgument(this, index);\\n }\\n\\n /**\\n * {@inheritDoc}\\n */\\n public AnnotationReader ofOwnerType() {\\n return new ForOwnerType(this);\\n }\\n\\n /**\\n * {@inheritDoc}\\n */\\n public AnnotationReader ofOuterClass() {\\n return new ForOwnerType(this);\\n }\\n\\n /**\\n * {@inheritDoc}\\n */\\n public AnnotationReader ofComponentType() {\\n return new ForComponentType(this);\\n }\\n\\n /**\\n * {@inheritDoc}\\n */\\n public AnnotationList asList() {\\n return new AnnotationList.ForLoadedAnnotations(resolve().getDeclaredAnnotations());\\n }\\n\\n /**\\n * A simple delegator for a given {@link AnnotatedElement}.\\n */\\n @HashCodeAndEqualsPlugin.Enhance\\n public static class Simple extends Delegator {\\n\\n /**\\n * The represented {@link AnnotatedElement}.\\n */\\n private final AnnotatedElement annotatedElement;\\n\\n /**\\n * Creates a new simple delegator.\\n *\\n * @param annotatedElement The represented {@link AnnotatedElement}.\\n */\\n public Simple(AnnotatedElement annotatedElement) {\\n this.annotatedElement = annotatedElement;\\n }\\n\\n /**\\n * {@inheritDoc}\\n */\\n public AnnotatedElement resolve() {\\n return annotatedElement;\\n }\\n }\\n\\n /**\\n * A chained delegator that bases its result on an underlying annotation reader.\\n */\\n @HashCodeAndEqualsPlugin.Enhance\\n protected abstract static class Chained extends Delegator {\\n\\n /**\\n * The underlying annotation reader.\\n */\\n protected final AnnotationReader annotationReader;\\n\\n /**\\n * Creates a new chained annotation reader.\\n *\\n * @param annotationReader The underlying annotation reader.\\n */\\n protected Chained(AnnotationReader annotationReader) {\\n this.annotationReader = annotationReader;\\n }\\n\\n /**\\n * {@inheritDoc}\\n */\\n public AnnotatedElement resolve() {\\n return resolve(annotationReader.resolve());\\n }\\n\\n /**\\n * Resolves the type annotations from a given annotated element into the annotated element that this instance represents.\\n *\\n * @param annotatedElement The original annotated element.\\n * @return The resolved annotated element.\\n */\\n protected abstract AnnotatedElement resolve(AnnotatedElement annotatedElement);\\n }\\n\\n /**\\n * A delegating annotation reader for an annotated type variable.\\n */\\n @HashCodeAndEqualsPlugin.Enhance\\n public static class ForLoadedTypeVariable extends Delegator {\\n\\n /**\\n * The represented type variable.\\n */\\n private final TypeVariable typeVariable;\\n\\n /**\\n * Creates a new annotation reader for the given type variable.\\n *\\n * @param typeVariable The represented type variable.\\n */\\n public ForLoadedTypeVariable(TypeVariable typeVariable) {\\n this.typeVariable = typeVariable;\\n }\\n\\n /**\\n * {@inheritDoc}\\n */\\n @SuppressFBWarnings(value = \\\"BC_VACUOUS_INSTANCEOF\\\", justification = \\\"Cast is required for JVMs before Java 8.\\\")\\n public AnnotatedElement resolve() {\\n // Older JVMs require this check and cast as the hierarchy was introduced in a later version.\\n return typeVariable instanceof AnnotatedElement\\n ? (AnnotatedElement) typeVariable\\n : NoOp.INSTANCE;\\n }\\n\\n /**\\n * {@inheritDoc}\\n */\\n public AnnotationReader ofTypeVariableBoundType(int index) {\\n return new ForTypeVariableBoundType.OfFormalTypeVariable(typeVariable, index);\\n }\\n }\\n\\n /**\\n * A delegating annotation reader for an annotated super type.\\n */\\n @HashCodeAndEqualsPlugin.Enhance(includeSyntheticFields = true)\\n public static class ForLoadedSuperClass extends Delegator {\\n\\n /**\\n * The represented type.\\n */\\n private final Class type;\\n\\n /**\\n * Creates a new annotation reader for an annotated super type.\\n *\\n * @param type The represented type.\\n */\\n public ForLoadedSuperClass(Class type) {\\n this.type = type;\\n }\\n\\n /**\\n * {@inheritDoc}\\n */\\n public AnnotatedElement resolve() {\\n AnnotatedElement element = ForLoadedType.DISPATCHER.getAnnotatedSuperclass(type);\\n return element == null\\n ? NoOp.INSTANCE\\n : element;\\n }\\n }\\n\\n /**\\n * A delegating annotation reader for an annotated interface type.\\n */\\n @HashCodeAndEqualsPlugin.Enhance(includeSyntheticFields = true)\\n public static class ForLoadedInterface extends Delegator {\\n\\n /**\\n * The represented interface type.\\n */\\n private final Class type;\\n\\n /**\\n * The interface type's index.\\n */\\n private final int index;\\n\\n /**\\n * Creates a new annotation reader for an annotated interface type.\\n *\\n * @param type The represented interface type.\\n * @param index The interface type's index.\\n */\\n public ForLoadedInterface(Class type, int index) {\\n this.type = type;\\n this.index = index;\\n }\\n\\n /**\\n * {@inheritDoc}\\n */\\n public AnnotatedElement resolve() {\\n AnnotatedElement[] element = ForLoadedType.DISPATCHER.getAnnotatedInterfaces(type);\\n return element.length == 0 ? NoOp.INSTANCE : element[index];\\n }\\n }\\n\\n /**\\n * A delegating annotation reader for an annotated field variable.\\n */\\n @HashCodeAndEqualsPlugin.Enhance(includeSyntheticFields = true)\\n public static class ForLoadedField extends Delegator {\\n\\n /**\\n * A dispatcher for interacting with {@link Field}.\\n */\\n protected static final Dispatcher DISPATCHER = doPrivileged(JavaDispatcher.of(Dispatcher.class));\\n\\n /**\\n * The represented field.\\n */\\n private final Field field;\\n\\n /**\\n * Creates a new annotation reader for an annotated field type.\\n *\\n * @param field The represented field.\\n */\\n public ForLoadedField(Field field) {\\n this.field = field;\\n }\\n\\n /**\\n * {@inheritDoc}\\n */\\n public AnnotatedElement resolve() {\\n AnnotatedElement element = DISPATCHER.getAnnotatedType(field);\\n return element == null\\n ? NoOp.INSTANCE\\n : element;\\n }\\n\\n /**\\n * A dispatcher for interacting with {@link Field}.\\n */\\n @JavaDispatcher.Proxied(\\\"java.lang.reflect.Field\\\")\\n protected interface Dispatcher {\\n\\n /**\\n * Resolves the supplied method's annotated field type.\\n *\\n * @param field The field for which to resolve the annotated type.\\n * @return The field type annotations or {@code null} if this feature is not supported.\\n */\\n @MaybeNull\\n @JavaDispatcher.Defaults\\n AnnotatedElement getAnnotatedType(Field field);\\n }\\n }\\n\\n /**\\n * A delegating annotation reader for an annotated return variable.\\n */\\n @HashCodeAndEqualsPlugin.Enhance(includeSyntheticFields = true)\\n public static class ForLoadedMethodReturnType extends Delegator {\\n\\n /**\\n * A dispatcher for interacting with {@link Method}.\\n */\\n protected static final Dispatcher DISPATCHER = doPrivileged(JavaDispatcher.of(Dispatcher.class));\\n\\n /**\\n * The represented method.\\n */\\n private final Method method;\\n\\n /**\\n * Creates a new annotation reader for an annotated return type.\\n *\\n * @param method The represented method.\\n */\\n public ForLoadedMethodReturnType(Method method) {\\n this.method = method;\\n }\\n\\n /**\\n * {@inheritDoc}\\n */\\n public AnnotatedElement resolve() {\\n AnnotatedElement element = DISPATCHER.getAnnotatedReturnType(method);\\n return element == null\\n ? NoOp.INSTANCE\\n : element;\\n }\\n\\n /**\\n * A dispatcher for interacting with {@link Method}.\\n */\\n @JavaDispatcher.Proxied(\\\"java.lang.reflect.Method\\\")\\n protected interface Dispatcher {\\n\\n /**\\n * Resolves the supplied method's annotated return type.\\n *\\n * @param method The executable for which to resolve the annotated return type.\\n * @return The return type annotations or {@code null} if this feature is not supported.\\n */\\n @MaybeNull\\n @JavaDispatcher.Defaults\\n AnnotatedElement getAnnotatedReturnType(Method method);\\n }\\n }\\n\\n /**\\n * A delegating annotation reader for an annotated parameter variable.\\n */\\n @HashCodeAndEqualsPlugin.Enhance(includeSyntheticFields = true)\\n public static class ForLoadedExecutableParameterType extends Delegator {\\n\\n /**\\n * A dispatcher for interacting with {@code java.lang.reflect.Executable}.\\n */\\n protected static final Dispatcher DISPATCHER = doPrivileged(JavaDispatcher.of(Dispatcher.class));\\n\\n /**\\n * The represented executable.\\n */\\n private final AccessibleObject executable;\\n\\n /**\\n * The type argument's index.\\n */\\n private final int index;\\n\\n /**\\n * Creates a new annotation reader for an annotated type argument type.\\n *\\n * @param executable The represented executable.\\n * @param index The type argument's index.\\n */\\n public ForLoadedExecutableParameterType(AccessibleObject executable, int index) {\\n this.executable = executable;\\n this.index = index;\\n }\\n\\n /**\\n * {@inheritDoc}\\n */\\n public AnnotatedElement resolve() {\\n AnnotatedElement[] element = DISPATCHER.getAnnotatedParameterTypes(executable);\\n return element.length == 0 ? NoOp.INSTANCE : element[index];\\n }\\n\\n /**\\n * A type for interacting with {@code java.lang.reflect.Executable}.\\n */\\n @JavaDispatcher.Proxied(\\\"java.lang.reflect.Executable\\\")\\n protected interface Dispatcher {\\n\\n /**\\n * Resolves the supplied {@code java.lang.reflect.Executable}'s annotated parameter types.\\n *\\n * @param executable The executable for which to resolve its annotated parameter types.\\n * @return An array of parameter type annotations or an empty array if this feature is not supported.\\n */\\n @JavaDispatcher.Defaults\\n AnnotatedElement[] getAnnotatedParameterTypes(Object executable);\\n }\\n }\\n\\n /**\\n * A delegating annotation reader for an annotated exception variable.\\n */\\n @HashCodeAndEqualsPlugin.Enhance(includeSyntheticFields = true)\\n public static class ForLoadedExecutableExceptionType extends Delegator {\\n\\n /**\\n * A dispatcher for interacting with {@code java.lang.reflect.Executable}.\\n */\\n protected static final Dispatcher DISPATCHER = doPrivileged(JavaDispatcher.of(Dispatcher.class));\\n\\n /**\\n * The represented executable.\\n */\\n private final AccessibleObject executable;\\n\\n /**\\n * The exception type's index.\\n */\\n private final int index;\\n\\n /**\\n * Creates a new annotation reader for an annotated exception type.\\n *\\n * @param executable The represented executable.\\n * @param index The exception type's index.\\n */\\n public ForLoadedExecutableExceptionType(AccessibleObject executable, int index) {\\n this.executable = executable;\\n this.index = index;\\n }\\n\\n /**\\n * {@inheritDoc}\\n */\\n public AnnotatedElement resolve() {\\n AnnotatedElement[] element = DISPATCHER.getAnnotatedExceptionTypes(executable);\\n return element.length == 0 ? NoOp.INSTANCE : element[index];\\n }\\n\\n /**\\n * A proxy type for interacting with {@code java.lang.reflect.Executable}.\\n */\\n @JavaDispatcher.Proxied(\\\"java.lang.reflect.Executable\\\")\\n protected interface Dispatcher {\\n\\n /**\\n * Resolves the supplied {@code java.lang.reflect.Executable}'s annotated exception types.\\n *\\n * @param executable The executable for which to resolve its annotated exception types.\\n * @return An array of exception type annotations or an empty array if this feature is not supported.\\n */\\n @JavaDispatcher.Defaults\\n AnnotatedElement[] getAnnotatedExceptionTypes(Object executable);\\n }\\n }\\n\\n /**\\n * An annotation reader for a {@code java.lang.reflect.RecordComponent}.\\n */\\n public static class ForLoadedRecordComponent extends Delegator {\\n\\n /**\\n * The represented {@code java.lang.reflect.RecordComponent}.\\n */\\n private final Object recordComponent;\\n\\n /**\\n * Creates a new annotation reader for a {@code java.lang.reflect.RecordComponent}.\\n *\\n * @param recordComponent The represented {@code java.lang.reflect.RecordComponent}.\\n */\\n public ForLoadedRecordComponent(Object recordComponent) {\\n this.recordComponent = recordComponent;\\n }\\n\\n /**\\n * {@inheritDoc}\\n */\\n public AnnotatedElement resolve() {\\n return RecordComponentDescription.ForLoadedRecordComponent.RECORD_COMPONENT.getAnnotatedType(recordComponent);\\n }\\n }\\n }\\n\\n /**\\n * A chained annotation reader for reading a wildcard type's upper bound type.\\n */\\n @HashCodeAndEqualsPlugin.Enhance\\n class ForWildcardUpperBoundType extends Delegator.Chained {\\n\\n /**\\n * A proxy to interact with {@code java.lang.reflect.AnnotatedWildcardType}.\\n */\\n private static final AnnotatedWildcardType ANNOTATED_WILDCARD_TYPE = doPrivileged(JavaDispatcher.of(AnnotatedWildcardType.class));\\n\\n /**\\n * The wildcard bound's index.\\n */\\n private final int index;\\n\\n /**\\n * Creates a chained annotation reader for reading a upper-bound wildcard's bound type.\\n *\\n * @param annotationReader The annotation reader from which to delegate.\\n * @param index The wildcard bound's index.\\n */\\n protected ForWildcardUpperBoundType(AnnotationReader annotationReader, int index) {\\n super(annotationReader);\\n this.index = index;\\n }\\n\\n @Override\\n protected AnnotatedElement resolve(AnnotatedElement annotatedElement) {\\n if (!ANNOTATED_WILDCARD_TYPE.isInstance(annotatedElement)) { // Avoid problem with Kotlin compiler.\\n return NoOp.INSTANCE;\\n }\\n try {\\n AnnotatedElement[] annotatedUpperBound = ANNOTATED_WILDCARD_TYPE.getAnnotatedUpperBounds(annotatedElement);\\n return annotatedUpperBound.length == 0 // Wildcards with a lower bound do not define annotations for their implicit upper bound.\\n ? NoOp.INSTANCE\\n : annotatedUpperBound[index];\\n } catch (ClassCastException ignored) { // To avoid a bug on early releases of Java 8.\\n return NoOp.INSTANCE;\\n }\\n }\\n\\n /**\\n * A proxy to interact with {@code java.lang.reflect.AnnotatedWildcardType}.\\n */\\n @JavaDispatcher.Proxied(\\\"java.lang.reflect.AnnotatedWildcardType\\\")\\n protected interface AnnotatedWildcardType {\\n\\n /**\\n * Returns {@code true} if the supplied instance implements {@code java.lang.reflect.AnnotatedWildcardType}.\\n *\\n * @param value The annotated element to consider.\\n * @return {@code true} if the supplied instance is of type {@code java.lang.reflect.AnnotatedWildcardType}.\\n */\\n @JavaDispatcher.Instance\\n boolean isInstance(AnnotatedElement value);\\n\\n /**\\n * Returns the supplied annotated element's annotated upper bounds.\\n *\\n * @param value The annotated element to resolve.\\n * @return An array of annotated upper bounds for the supplied annotated elements.\\n */\\n AnnotatedElement[] getAnnotatedUpperBounds(AnnotatedElement value);\\n }\\n }\\n\\n /**\\n * A chained annotation reader for reading a wildcard type's lower bound type.\\n */\\n @HashCodeAndEqualsPlugin.Enhance\\n class ForWildcardLowerBoundType extends Delegator.Chained {\\n\\n /**\\n * A dispatcher to interact with {@code java.lang.reflect.AnnotatedWildcardType}.\\n */\\n private static final AnnotatedWildcardType ANNOTATED_WILDCARD_TYPE = doPrivileged(JavaDispatcher.of(AnnotatedWildcardType.class));\\n\\n /**\\n * The wildcard bound's index.\\n */\\n private final int index;\\n\\n /**\\n * Creates a chained annotation reader for reading a lower-bound wildcard's bound type.\\n *\\n * @param annotationReader The annotation reader from which to delegate.\\n * @param index The wildcard bound's index.\\n */\\n protected ForWildcardLowerBoundType(AnnotationReader annotationReader, int index) {\\n super(annotationReader);\\n this.index = index;\\n }\\n\\n @Override\\n protected AnnotatedElement resolve(AnnotatedElement annotatedElement) {\\n if (!ANNOTATED_WILDCARD_TYPE.isInstance(annotatedElement)) {\\n return NoOp.INSTANCE;\\n }\\n try {\\n return ANNOTATED_WILDCARD_TYPE.getAnnotatedLowerBounds(annotatedElement)[index];\\n } catch (ClassCastException ignored) { // To avoid a bug on early releases of Java 8.\\n return NoOp.INSTANCE;\\n }\\n }\\n\\n /**\\n * A proxy to interact with {@code java.lang.reflect.AnnotatedWildcardType}.\\n */\\n @JavaDispatcher.Proxied(\\\"java.lang.reflect.AnnotatedWildcardType\\\")\\n protected interface AnnotatedWildcardType {\\n\\n /**\\n * Returns {@code true} if the supplied instance implements {@code java.lang.reflect.AnnotatedWildcardType}.\\n *\\n * @param value The annotated element to consider.\\n * @return {@code true} if the supplied instance is of type {@code java.lang.reflect.AnnotatedWildcardType}.\\n */\\n @JavaDispatcher.Instance\\n boolean isInstance(AnnotatedElement value);\\n\\n /**\\n * Returns the supplied annotated element's annotated lower bounds.\\n *\\n * @param value The annotated element to resolve.\\n * @return An array of annotated lower bounds for the supplied annotated elements.\\n */\\n AnnotatedElement[] getAnnotatedLowerBounds(AnnotatedElement value);\\n }\\n }\\n\\n /**\\n * A chained annotation reader for reading a type variable's type argument.\\n */\\n @HashCodeAndEqualsPlugin.Enhance\\n class ForTypeVariableBoundType extends Delegator.Chained {\\n\\n /**\\n * A dispatcher to interact with {@code java.lang.reflect.AnnotatedTypeVariable}.\\n */\\n private static final AnnotatedTypeVariable ANNOTATED_TYPE_VARIABLE = doPrivileged(JavaDispatcher.of(AnnotatedTypeVariable.class));\\n\\n /**\\n * The type variable's index.\\n */\\n private final int index;\\n\\n /**\\n * Creates a chained annotation reader for reading a type variable's bound type.\\n *\\n * @param annotationReader The annotation reader from which to delegate.\\n * @param index The type variable's index.\\n */\\n protected ForTypeVariableBoundType(AnnotationReader annotationReader, int index) {\\n super(annotationReader);\\n this.index = index;\\n }\\n\\n @Override\\n protected AnnotatedElement resolve(AnnotatedElement annotatedElement) {\\n if (!ANNOTATED_TYPE_VARIABLE.isInstance(annotatedElement)) { // Avoid problem with Kotlin compiler.\\n return NoOp.INSTANCE;\\n }\\n try {\\n return ANNOTATED_TYPE_VARIABLE.getAnnotatedBounds(annotatedElement)[index];\\n } catch (ClassCastException ignored) { // To avoid bug on early releases of Java 8.\\n return NoOp.INSTANCE;\\n }\\n }\\n\\n /**\\n * A proxy to interact with {@code java.lang.reflect.AnnotatedTypeVariable}.\\n */\\n @JavaDispatcher.Proxied(\\\"java.lang.reflect.AnnotatedTypeVariable\\\")\\n protected interface AnnotatedTypeVariable {\\n\\n /**\\n * Returns {@code true} if the supplied instance implements {@code java.lang.reflect.AnnotatedTypeVariable}.\\n *\\n * @param value The annotated element to consider.\\n * @return {@code true} if the supplied instance is of type {@code java.lang.reflect.AnnotatedTypeVariable}.\\n */\\n @JavaDispatcher.Instance\\n boolean isInstance(AnnotatedElement value);\\n\\n /**\\n * Returns the supplied annotated type variable's annotated bounds.\\n *\\n * @param value The annotated type variable to resolve.\\n * @return An array of annotated upper bounds for the supplied annotated type variable.\\n */\\n AnnotatedElement[] getAnnotatedBounds(AnnotatedElement value);\\n }\\n\\n /**\\n * A chained annotation reader for reading a formal type variable's type argument.\\n */\\n @HashCodeAndEqualsPlugin.Enhance\\n protected static class OfFormalTypeVariable extends Delegator {\\n\\n /**\\n * A dispatcher to interact with {@code java.lang.reflect.TypeVariable}.\\n */\\n private static final FormalTypeVariable TYPE_VARIABLE = doPrivileged(JavaDispatcher.of(FormalTypeVariable.class));\\n\\n /**\\n * The represented type variable.\\n */\\n private final TypeVariable typeVariable;\\n\\n /**\\n * The type variable's index.\\n */\\n private final int index;\\n\\n /**\\n * Creates a chained annotation reader for reading a formal type variable's bound type.\\n *\\n * @param typeVariable The represented type variable.\\n * @param index The type variable's index.\\n */\\n protected OfFormalTypeVariable(TypeVariable typeVariable, int index) {\\n this.typeVariable = typeVariable;\\n this.index = index;\\n }\\n\\n /**\\n * {@inheritDoc}\\n */\\n public AnnotatedElement resolve() {\\n try {\\n AnnotatedElement[] annotatedBound = TYPE_VARIABLE.getAnnotatedBounds(typeVariable);\\n return annotatedBound.length == 0\\n ? NoOp.INSTANCE\\n : annotatedBound[index];\\n } catch (ClassCastException ignored) { // To avoid bug on early releases of Java 8.\\n return NoOp.INSTANCE;\\n }\\n }\\n\\n /**\\n * A proxy to interact with {@code java.lang.reflect.TypeVariable}.\\n */\\n @JavaDispatcher.Proxied(\\\"java.lang.reflect.TypeVariable\\\")\\n protected interface FormalTypeVariable {\\n\\n /**\\n * Returns the supplied annotated type variable's annotated bounds or an empty array if this\\n * feature is not supported.\\n *\\n * @param value The annotated type variable to resolve.\\n * @return An array of annotated upper bounds for the supplied annotated type variable or an\\n * empty array if this feature is not supported.\\n */\\n @JavaDispatcher.Defaults\\n AnnotatedElement[] getAnnotatedBounds(Object value);\\n }\\n }\\n }\\n\\n /**\\n * A chained annotation reader for reading a parameterized type's type argument.\\n */\\n @HashCodeAndEqualsPlugin.Enhance\\n class ForTypeArgument extends Delegator.Chained {\\n\\n /**\\n * A dispatcher to interact with {@code java.lang.reflect.AnnotatedParameterizedType}.\\n */\\n private static final AnnotatedParameterizedType ANNOTATED_PARAMETERIZED_TYPE = doPrivileged(JavaDispatcher.of(AnnotatedParameterizedType.class));\\n\\n /**\\n * The type argument's index.\\n */\\n private final int index;\\n\\n /**\\n * Creates a chained annotation reader for reading a component type.\\n *\\n * @param annotationReader The annotation reader from which to delegate.\\n * @param index The type argument's index.\\n */\\n protected ForTypeArgument(AnnotationReader annotationReader, int index) {\\n super(annotationReader);\\n this.index = index;\\n }\\n\\n @Override\\n protected AnnotatedElement resolve(AnnotatedElement annotatedElement) {\\n if (!ANNOTATED_PARAMETERIZED_TYPE.isInstance(annotatedElement)) { // Avoid problem with Kotlin compiler.\\n return NoOp.INSTANCE;\\n }\\n try {\\n return ANNOTATED_PARAMETERIZED_TYPE.getAnnotatedActualTypeArguments(annotatedElement)[index];\\n } catch (ClassCastException ignored) { // To avoid bug on early releases of Java 8.\\n return NoOp.INSTANCE;\\n }\\n }\\n\\n /**\\n * A proxy to interact with {@code java.lang.reflect.AnnotatedParameterizedType}.\\n */\\n @JavaDispatcher.Proxied(\\\"java.lang.reflect.AnnotatedParameterizedType\\\")\\n protected interface AnnotatedParameterizedType {\\n\\n /**\\n * Returns {@code true} if the supplied instance implements {@code java.lang.reflect.AnnotatedParameterizedType}.\\n *\\n * @param value The annotated element to consider.\\n * @return {@code true} if the supplied instance is of type {@code java.lang.reflect.AnnotatedParameterizedType}.\\n */\\n @JavaDispatcher.Instance\\n boolean isInstance(AnnotatedElement value);\\n\\n /**\\n * Returns the supplied annotated parameterize type's annotated actual type arguments.\\n *\\n * @param value The annotated type variable to resolve.\\n * @return The supplied annotated parameterize type's annotated actual type arguments.\\n */\\n AnnotatedElement[] getAnnotatedActualTypeArguments(AnnotatedElement value);\\n }\\n }\\n\\n /**\\n * A chained annotation reader for reading a component type.\\n */\\n class ForComponentType extends Delegator.Chained {\\n\\n /**\\n * A dispatcher for interacting with {@code java.lang.reflect.AnnotatedArrayType}.\\n */\\n private static final AnnotatedParameterizedType ANNOTATED_PARAMETERIZED_TYPE = doPrivileged(JavaDispatcher.of(AnnotatedParameterizedType.class));\\n\\n /**\\n * Creates a chained annotation reader for reading a component type.\\n *\\n * @param annotationReader The annotation reader from which to delegate.\\n */\\n protected ForComponentType(AnnotationReader annotationReader) {\\n super(annotationReader);\\n }\\n\\n @Override\\n protected AnnotatedElement resolve(AnnotatedElement annotatedElement) {\\n if (!ANNOTATED_PARAMETERIZED_TYPE.isInstance(annotatedElement)) { // Avoid problem with Kotlin compiler.\\n return NoOp.INSTANCE;\\n }\\n try {\\n return ANNOTATED_PARAMETERIZED_TYPE.getAnnotatedGenericComponentType(annotatedElement);\\n } catch (ClassCastException ignored) { // To avoid bug on early releases of Java 8.\\n return NoOp.INSTANCE;\\n }\\n }\\n\\n /**\\n * A proxy to interact with {@code java.lang.reflect.AnnotatedArrayType}.\\n */\\n @JavaDispatcher.Proxied(\\\"java.lang.reflect.AnnotatedArrayType\\\")\\n protected interface AnnotatedParameterizedType {\\n\\n /**\\n * Returns {@code true} if the supplied instance implements {@code java.lang.reflect.AnnotatedArrayType}.\\n *\\n * @param value The annotated element to consider.\\n * @return {@code true} if the supplied instance is of type {@code java.lang.reflect.AnnotatedArrayType}.\\n */\\n @JavaDispatcher.Instance\\n boolean isInstance(AnnotatedElement value);\\n\\n /**\\n * Returns the supplied annotated array type's annotated component type.\\n *\\n * @param value The annotated array type to resolve.\\n * @return The supplied annotated array type's annotated component type.\\n */\\n AnnotatedElement getAnnotatedGenericComponentType(AnnotatedElement value);\\n }\\n }\\n\\n /**\\n * A chained annotation reader for reading an owner type.\\n */\\n class ForOwnerType extends Delegator.Chained {\\n\\n /**\\n * A dispatcher for interacting with {@code java.lang.reflect.AnnotatedType}.\\n */\\n private static final AnnotatedType ANNOTATED_TYPE = doPrivileged(JavaDispatcher.of(AnnotatedType.class));\\n\\n /**\\n * Creates a chained annotation reader for reading an owner type if it is accessible.\\n *\\n * @param annotationReader The annotation reader from which to delegate.\\n */\\n protected ForOwnerType(AnnotationReader annotationReader) {\\n super(annotationReader);\\n }\\n\\n @Override\\n protected AnnotatedElement resolve(AnnotatedElement annotatedElement) {\\n try {\\n AnnotatedElement annotatedOwnerType = ANNOTATED_TYPE.getAnnotatedOwnerType(annotatedElement);\\n return annotatedOwnerType == null\\n ? NoOp.INSTANCE\\n : annotatedOwnerType;\\n } catch (ClassCastException ignored) { // To avoid bug on early releases of Java 8.\\n return NoOp.INSTANCE;\\n }\\n }\\n\\n /**\\n * A proxy to interact with {@code java.lang.reflect.AnnotatedType}.\\n */\\n @JavaDispatcher.Proxied(\\\"java.lang.reflect.AnnotatedType\\\")\\n protected interface AnnotatedType {\\n\\n /**\\n * Returns the type's annotated owner type or {@code null} if this feature is not supported.\\n *\\n * @param value The annotated type to resolve.\\n * @return The annotated owner type for the supplied annotated type or {@code null} if this feature is not supported.\\n */\\n @MaybeNull\\n @JavaDispatcher.Defaults\\n AnnotatedElement getAnnotatedOwnerType(AnnotatedElement value);\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8d7a8f055e23625d387eeceb28324551\",\n \"score\": \"0.4365465\",\n \"text\": \"public void setProcessorClass(String processorClass);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1cb37ee0adba85842f6ecca0c0e30a37\",\n \"score\": \"0.43642408\",\n \"text\": \"@Override\\r\\n public List[] calcParseInfo(Tree sentTree,\\r\\n int startWord, int endWord,\\r\\n MentionType markableType) {\\r\\n List[] result = new List[3];\\r\\n List projections = new ArrayList();\\r\\n List premod = new ArrayList();\\r\\n List postmod = new ArrayList();\\r\\n result[0] = projections;\\r\\n result[1] = premod;\\r\\n result[2] = postmod;\\r\\n Tree node = calcLowestProjection(sentTree, startWord, endWord);\\r\\n projections.add(node);\\r\\n for (Tree n : node.children()) {\\r\\n String cat = n.value();\\r\\n if (attr_node.matcher(cat).matches()) {\\r\\n premod.add(n);\\r\\n } else if (rel_node.matcher(cat).matches()) {\\r\\n postmod.add(n);\\r\\n }\\r\\n }\\r\\n return result;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a5acd875e6da362ca116ea6e03dd557b\",\n \"score\": \"0.43618652\",\n \"text\": \"public void createAnalyzers() {\\n analyzers = new ArrayList();\\n analyzers.add(new UniqueTokenAnalyzer(properties));\\n analyzers.add(new SummaryReport(properties));\\n analyzers.add(new BigWordAnalyzer(properties));\\n analyzers.add(new TokenCountAnalyzer(properties));\\n analyzers.add(new LexicalDensityAnalyzer(properties));\\n analyzers.add(new TokenSizeAnalyzer(properties));\\n analyzers.add(new KeywordAnalyzer(properties));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5a76fee95df85b407247f3bdbff3ab73\",\n \"score\": \"0.43590838\",\n \"text\": \"public DocumentProcessorManager getDocumentProcessorProvider() {\\n\\t\\treturn this.processorProvider;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"df3d8664643a56680118de3a9aff0cdc\",\n \"score\": \"0.43578538\",\n \"text\": \"private void initData() {\\n\\t\\tintent = this.getIntent();\\n\\t\\tworkOrder = (WorkOrder) intent.getSerializableExtra(\\\"workOrder\\\");\\n\\t\\tiActionType = intent.getStringExtra(IACTIONTYPE);\\n\\t\\texamineList = (List) intent.getSerializableExtra(\\\"examineList\\\");\\n\\t\\tparasMap = (HashMap) intent\\n\\t\\t\\t\\t.getSerializableExtra(PARASMAP);\\n\\t\\tif (examineList != null && examineList.size() > 0) {\\n\\t\\t\\texamine.setData(examineList);\\n\\t\\t}\\n\\t\\texamine.setIEventListener(eventListent);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d5be426dacbfc81480e5ee0492f4210\",\n \"score\": \"0.4339936\",\n \"text\": \"public AnnotationParser(AnnotationParserTokenManager tm) {\\n token_source = tm;\\n token = new Token();\\n jj_ntk = -1;\\n jj_gen = 0;\\n for (int i = 0; i < 2; i++) jj_la1[i] = -1;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dd1cac8214a328763e7dce8552ca38c1\",\n \"score\": \"0.43282032\",\n \"text\": \"@Override\\n\\t\\t\\t\\tpublic void recognizerStarted() {\\n\\n\\t\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc58014d6192935acd9910d350d4f592\",\n \"score\": \"0.43155593\",\n \"text\": \"private static void prepareDataAutomatic() {\\n\\t\\tint numberOfSets = 0;\\n\\t\\tif (Features.isUseUnigramFeatures()) {\\n\\t\\t\\tnumberOfSets++;\\n\\t\\t}\\n\\t\\ttext = text + \\\"Use unigram features: [\\\" + Features.isUseUnigramFeatures() + \\\"] - Used in Quantification: [\\\" + Features.isUseUnigramFeatures() + \\\"]\\\" + n;\\n\\t\\ttextProperty.set(text);\\n\\t\\t\\n\\t\\tif (Features.isUsePatternFeatures()) {\\n\\t\\t\\tnumberOfSets++;\\n\\t\\t}\\n\\t\\ttext = text + \\\"Use basic pattern features: [\\\" + Features.isUsePatternFeatures() + \\\"] - Used in Quantification: [\\\" + Features.isUsePatternFeatures() + \\\"]\\\" + n;\\n\\t\\ttextProperty.set(text);\\n\\t\\t\\n\\t\\tif (Features.isUseAdvancedPatternFeatures()) {\\n\\t\\t\\tnumberOfSets++;\\n\\t\\t}\\n\\t\\ttext = text + \\\"Use adv. pattern features: [\\\" + Features.isUseAdvancedPatternFeatures() + \\\"] - Used in Quantification: [\\\" + Features.isUseAdvancedPatternFeatures() + \\\"]\\\" + n;\\n\\t\\ttextProperty.set(text);\\n\\t\\t\\n\\t\\t// set the corresponding scoring coefficients\\n\\t\\tif (numberOfSets == 0) {\\n\\t\\t\\tdouble[][] coefficients = new double[0][0];\\n\\t\\t\\tFeatures.setCoefficients(coefficients);\\n\\t\\t\\ttotalNumberOfTasks.set(1);\\n\\t\\t} else if (numberOfSets == 1) {\\n\\t\\t\\tdouble[][] coefficients = new double[1][1];\\n\\t\\t\\tcoefficients[0][0] = 1;\\n\\t\\t\\tFeatures.setCoefficients(coefficients);\\n\\t\\t\\ttotalNumberOfTasks.set(1);\\n\\t\\t} else if (numberOfSets == 2) {\\n\\t\\t\\tdouble[][] coefficients = new double[2][11];\\n\\t\\t\\tfor (int i = 0; i < 11; i++) {\\n\\t\\t\\t\\tcoefficients[0][i] = (double) i / 10;\\n\\t\\t\\t\\tcoefficients[1][i] = 1 - coefficients[0][i];\\n\\t\\t\\t\\ttotalNumberOfTasks.set(11);\\n\\t\\t\\t}\\n\\t\\t\\tFeatures.setCoefficients(coefficients);\\n\\t\\t} else if (numberOfSets == 3) {\\n\\t\\t\\tFeatures.setCoefficients(Reader.getCoefficients(Constants.COEFFICIENTS));\\n\\t\\t\\ttotalNumberOfTasks.set(66);\\n\\t\\t} \\n\\t\\t\\n\\t\\ttext = text + \\\"Coefficients extracted\\\" + n;\\n\\t\\ttextProperty.set(text);\\n\\t\\t\\n\\t\\t// Select the data set to use\\n\\t\\tArrayList tweets;\\n\\t\\t\\n\\t\\tif (Parameters.getTypeOfProject().equals(Parameters.TypeOfProject.TESTSET)) {\\n\\t\\t\\ttweets = Parameters.getTestSet();\\n\\t\\t\\ttext = text + \\\"Data set to use: \\\" + \\\"[Test Set]\\\" + n;\\n\\t\\t\\ttextProperty.set(text);\\n\\t\\t} else {\\n\\t\\t\\ttweets = Parameters.getUnknownSet();\\n\\t\\t\\ttext = text + \\\"Data set to use: \\\" + \\\"[Non-annotated Set]\\\" + n;\\n\\t\\t\\ttextProperty.set(text);\\n\\t\\t}\\n\\t\\t\\n\\t\\t// Add Unigram final scores\\n\\t\\tif (Features.isUseUnigramFeatures()) {\\n\\t\\t\\tfor (Tweet tweet : tweets) {\\n\\t\\t\\t\\tTweetProcessing.addUnigramScores(tweet, Parameters.getClasses());\\n\\t\\t\\t}\\n\\t\\t\\ttext = text + \\\"Unigram scores extracted\\\" + n;\\n\\t\\t\\ttextProperty.set(text);\\n\\t\\t}\\n\\t\\t\\n\\t\\t// Add the basic pattern final scores\\n\\t\\tif (Features.isUsePatternFeatures()) {\\n\\t\\t\\t\\n\\t\\t\\tint m = Features.getMaxPatternLength() - Features.getMinPatternLength() + 1;\\n\\t\\t\\tint min = Features.getMinPatternLength();\\n\\t\\t\\t\\n\\t\\t\\tdouble[] factors = new double[m];\\n\\t\\t\\t\\n\\t\\t\\tfor (int i=0; i and owned by a CloudElement.\\\\n\\\"\\n });\\t\\n addAnnotation\\n (resourceEClass, \\n source, \\n new String[] {\\n \\\"description\\\", \\\"Represents a resource associated to an element which might be used to support the deployment and configuration of the such element. \\\\nFor instance a Resource may detail the deployment script of a CloudElement (e.g. an InternalComponent or an ExecutionBinding).\\\"\\n });\\t\\n addAnnotation\\n (componentEClass, \\n source, \\n new String[] {\\n \\\"description\\\", \\\"Inherit from MODACloudsML, it represents a reusable type of cloud component (e.g. a virtual machine or an application).\\\"\\n });\\t\\n addAnnotation\\n (internalComponentEClass, \\n source, \\n new String[] {\\n \\\"description\\\", \\\"Inherit from MODACloudsML, this represents a component that is managed by the application provider,\\\\nor the developer (e.g. a Big Data application).\\\"\\n });\\t\\n addAnnotation\\n (executionPlatformEClass, \\n source, \\n new String[] {\\n \\\"description\\\", \\\"Inherited from MODACloudsML, it represents an generic hosting interface of a Component.\\\"\\n });\\t\\n addAnnotation\\n (portEClass, \\n source, \\n new String[] {\\n \\\"description\\\", \\\"Represents an interface (provided or required) of a Component.\\\\nIt is tipically used to link components in order to enable communication.\\\"\\n });\\t\\n addAnnotation\\n (requiredPortEClass, \\n source, \\n new String[] {\\n \\\"description\\\", \\\"A specific type of Port which specify that a Component requires to \\\\ncommunicate and consume a features (e.g.access to a database) provided by another Component.\\\"\\n });\\t\\n addAnnotation\\n (providedPortEClass, \\n source, \\n new String[] {\\n \\\"description\\\", \\\"A specific type of Port which specify that a Component provides features (e.g.access to a database) which can be accessed by another Component.\\\"\\n });\\t\\n addAnnotation\\n (requiredExecutionPlatformEClass, \\n source, \\n new String[] {\\n \\\"description\\\", \\\"A specific type of ExecutionPlatform providing hosting facilities (e.g. an execution environment, like a VM or a web server) to a Component.\\\"\\n });\\t\\n addAnnotation\\n (providedExecutionPlatformEClass, \\n source, \\n new String[] {\\n \\\"description\\\", \\\"A specific type of ExecutionPlatform which requires hosting (e.g. a Big Data application requires a Big Data platform) from a Component.\\\"\\n });\\t\\n addAnnotation\\n (relationshipEClass, \\n source, \\n new String[] {\\n \\\"description\\\", \\\"test generation\\\"\\n });\\t\\n addAnnotation\\n (executionBindingEClass, \\n source, \\n new String[] {\\n \\\"description\\\", \\\"Represents a binding between a RequiredExecutionPlatform and a ProvidedExecutionPlatform of two components, meaning that the first component will be hosted on the second one according to the specified binding.\\\"\\n });\\t\\n addAnnotation\\n (externalComponentEClass, \\n source, \\n new String[] {\\n \\\"description\\\", \\\"Inherit from MODACloudsML, this represents a component that is managed by an external provider, for instance a AWS EC2 virtual machine.\\\"\\n });\\t\\n addAnnotation\\n (providerEClass, \\n source, \\n new String[] {\\n \\\"description\\\", \\\"Represents a generic provider of Clouds services.\\\"\\n });\\t\\n addAnnotation\\n (vmEClass, \\n source, \\n new String[] {\\n \\\"description\\\", \\\"It is an specific ExternalComponent representing the well know concept of virtual machine.\\\\nIt is possible to the size of the VM in terms of RAM and CPU and Storage size ranges, \\\\nthe preferred operating system, the enabled ports, the desired public address and the number of executing instances,\\\\nor the replication factor. It as been customized in the context of DICE to be able to specify DICE specific type of VM.\\\"\\n });\\t\\n addAnnotation\\n (ddsmEClass, \\n source, \\n new String[] {\\n \\\"description\\\", \\\"test generation\\\"\\n });\\t\\n addAnnotation\\n (lifeCycleEClass, \\n source, \\n new String[] {\\n \\\"description\\\", \\\"test generation\\\"\\n });\\t\\n addAnnotation\\n (stormSupervisorEClass, \\n source, \\n new String[] {\\n \\\"description\\\", \\\"Specilization of an InternalComponent introduced in the context of DICE which captures \\\\nthe deployment and configuration details of the Storm supervisor slave process.\\\"\\n });\\t\\n addAnnotation\\n (stormNimbusEClass, \\n source, \\n new String[] {\\n \\\"description\\\", \\\"Specilization of an InternalComponent introduced in the context of DICE which captures \\\\nthe deployment and configuration details of the Storm nimbus master process.\\\"\\n });\\t\\n addAnnotation\\n (zookeeperEClass, \\n source, \\n new String[] {\\n \\\"description\\\", \\\"Specilization of an InternalComponent introduced in the context of DICE which captures \\\\nthe deployment and configuration details of a Zookeeper cluster.\\\"\\n });\\t\\n addAnnotation\\n (kafkaEClass, \\n source, \\n new String[] {\\n \\\"description\\\", \\\"Specilization of an InternalComponent introduced in the context of DICE which captures \\\\nthe deployment and configuration details of a Kafka cluster.\\\"\\n });\\t\\n addAnnotation\\n (clusterEClass, \\n source, \\n new String[] {\\n \\\"description\\\", \\\"Inherited from MODACloudsML, it represents a collection of virtual machines on a particular Provider. One Provider can host several Clusters..\\\"\\n });\\t\\n addAnnotation\\n (clientNodeEClass, \\n source, \\n new String[] {\\n \\\"description\\\", \\\"test generation\\\"\\n });\\t\\n addAnnotation\\n (yarnResourceManagerEClass, \\n source, \\n new String[] {\\n \\\"description\\\", \\\"Specilization of an InternalComponent introduced in the context of DICE which captures \\\\nthe deployment and configuration details of a the YARN ResourceManager master process.\\\"\\n });\\t\\n addAnnotation\\n (yarnNodeManagerEClass, \\n source, \\n new String[] {\\n \\\"description\\\", \\\"Specilization of an InternalComponent introduced in the context of DICE which captures \\\\nthe deployment and configuration details of a the YARN NodeManager slave process.\\\"\\n });\\t\\n addAnnotation\\n (hdfsNameNodeEClass, \\n source, \\n new String[] {\\n \\\"description\\\", \\\"Specilization of an InternalComponent introduced in the context of DICE which captures \\\\nthe deployment and configuration details of a the YARN ResourceManager master process.\\\"\\n });\\t\\n addAnnotation\\n (hdfsDataNodeEClass, \\n source, \\n new String[] {\\n \\\"description\\\", \\\"Specilization of an InternalComponent introduced in the context of DICE which captures \\\\nthe deployment and configuration details of a the YARN ResourceManager master process.\\\"\\n });\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"333635e444a209718ebbf4938b141430\",\n \"score\": \"0.4311825\",\n \"text\": \"public PhraseAnalyzer(){\\n\\t\\t\\n\\t\\tthis.state = new WordCounterState();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"40cbf90418e4a358ecebfe1478f03bdf\",\n \"score\": \"0.43103635\",\n \"text\": \"public List getAnnotations() {\\n return annotations;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"77444c0a5cb750f02d03995daed6ab96\",\n \"score\": \"0.4299735\",\n \"text\": \"private static void runAnalysis(FileProcessorI fileProcessor, VisitorI... visitors)\\n\\t\\t\\tthrows IOException, InvalidInputFileFormatException {\\n\\t\\tElementI myArrayList = new MyArrayList.Builder().withFileProcessor(fileProcessor).build();\\n\\n\\t\\tfor (VisitorI visitor : visitors) {\\n\\t\\t\\tmyArrayList.accept(visitor);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c93eb9eb6acf49b8f9da4c8174b0a18e\",\n \"score\": \"0.42991322\",\n \"text\": \"public void addDataProcessor( Function dataProcessor ) {\\n this.dataProcessors.add( dataProcessor );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"399c7fbb088a656301176308d3c02e24\",\n \"score\": \"0.42959455\",\n \"text\": \"public interface Processor {\\n\\n /**\\n * Initializes the processor for each HTTP request - response cycle.\\n * @param odata Olingo's root object, acting as a factory for various object types\\n * @param serviceMetadata metadata of the OData service like the EDM that have to be created\\n * before the OData request handling takes place\\n */\\n void init(OData odata, ServiceMetadata serviceMetadata);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"86593f7290b3e9f3005ed17906774f08\",\n \"score\": \"0.42907998\",\n \"text\": \"public void setExtractors(List extractors) {\\n\\t\\tthis.extractors = extractors;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2020da07edd8bf7d8dcc284d20a7e2b1\",\n \"score\": \"0.42905077\",\n \"text\": \"public String getCasProcessorId() {\\n if (Annotation_Type.featOkTst && ((Annotation_Type)jcasType).casFeat_casProcessorId == null)\\n jcasType.jcas.throwFeatMissing(\\\"casProcessorId\\\", \\\"edu.cmu.deiis.types.Annotation\\\");\\n return jcasType.ll_cas.ll_getStringValue(addr, ((Annotation_Type)jcasType).casFeatCode_casProcessorId);}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1afb767525fef8b44861410f4bd5b7cd\",\n \"score\": \"0.4288104\",\n \"text\": \"private int[] readTypeAnnotations(MethodVisitor mv, Context context, int u, boolean visible) {\\n/* 1655 */ char[] c = context.buffer;\\n/* 1656 */ int[] offsets = new int[readUnsignedShort(u)];\\n/* 1657 */ u += 2;\\n/* 1658 */ for (int i = 0; i < offsets.length; i++) {\\n/* 1659 */ int j; offsets[i] = u;\\n/* 1660 */ int target = readInt(u);\\n/* 1661 */ switch (target >>> 24) {\\n/* */ case 0:\\n/* */ case 1:\\n/* */ case 22:\\n/* 1665 */ u += 2;\\n/* */ break;\\n/* */ case 19:\\n/* */ case 20:\\n/* */ case 21:\\n/* 1670 */ u++;\\n/* */ break;\\n/* */ case 64:\\n/* */ case 65:\\n/* 1674 */ for (j = readUnsignedShort(u + 1); j > 0; j--) {\\n/* 1675 */ int start = readUnsignedShort(u + 3);\\n/* 1676 */ int length = readUnsignedShort(u + 5);\\n/* 1677 */ readLabel(start, context.labels);\\n/* 1678 */ readLabel(start + length, context.labels);\\n/* 1679 */ u += 6;\\n/* */ } \\n/* 1681 */ u += 3;\\n/* */ break;\\n/* */ case 71:\\n/* */ case 72:\\n/* */ case 73:\\n/* */ case 74:\\n/* */ case 75:\\n/* 1688 */ u += 4;\\n/* */ break;\\n/* */ \\n/* */ \\n/* */ \\n/* */ \\n/* */ \\n/* */ \\n/* */ \\n/* */ \\n/* */ \\n/* */ default:\\n/* 1700 */ u += 3;\\n/* */ break;\\n/* */ } \\n/* 1703 */ int pathLength = readByte(u);\\n/* 1704 */ if (target >>> 24 == 66) {\\n/* 1705 */ TypePath path = (pathLength == 0) ? null : new TypePath(this.b, u);\\n/* 1706 */ u += 1 + 2 * pathLength;\\n/* 1707 */ u = readAnnotationValues(u + 2, c, true, mv\\n/* 1708 */ .visitTryCatchAnnotation(target, path, \\n/* 1709 */ readUTF8(u, c), visible));\\n/* */ } else {\\n/* 1711 */ u = readAnnotationValues(u + 3 + 2 * pathLength, c, true, null);\\n/* */ } \\n/* */ } \\n/* 1714 */ return offsets;\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"680aa7b661ceac4e073a51514a9f3a31\",\n \"score\": \"0.42867875\",\n \"text\": \"public void AddTrafficDataToDetectors(){\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4d7109198f72d8d3f8135691baf0661a\",\n \"score\": \"0.4283337\",\n \"text\": \"private void processProcessorNode(Node root)\\n\\t{\\n\\t\\tProcessorInfo procInfo = new ProcessorInfo();\\n\\t\\tNamedNodeMap nodeAttr = root.getAttributes ();\\n\\t\\tfor (int i=0;i processor() {\\n\\t\\tlogger.info(\\\"Initial code property value :'{}'\\\",properties.getCode());\\n \\t\\tString code = decode(properties.getCode());\\n \\t\\tif (code.startsWith(\\\"\\\\\\\"\\\") && code.endsWith(\\\"\\\\\\\"\\\")) {\\n \\t\\t\\tcode = code.substring(1,code.length()-1);\\n \\t\\t}\\n\\t\\tlogger.info(\\\"Processed code property value :\\\\n{}\\\\n\\\",code);\\n\\t\\tCompilationResult compilationResult = buildAndCompileSourceCode(code);\\n\\t\\tif (compilationResult.wasSuccessful()) {\\n\\t\\t\\tList> clazzes = compilationResult.getCompiledClasses();\\n\\t\\t\\tlogger.info(\\\"Compilation resulted in this many classes: #{}\\\",clazzes.size());\\n\\t\\t\\tfor (Class clazz: clazzes) { \\n\\t\\t\\t\\tif (clazz.getName().equals(MAIN_COMPILED_CLASS_NAME)) {\\n\\t\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\t\\tProcessorFactory processorFactory = (ProcessorFactory)clazz.newInstance();\\n\\t\\t\\t\\t\\t\\treturn processorFactory.getProcessor();\\n\\t\\t\\t\\t\\t} catch (Exception e) {\\n\\t\\t\\t\\t\\t\\tlogger.error(\\\"Unexpected problem during retrieval of processor from compiled class\\\",e);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tlogger.error(\\\"Failed to find the expected compiled class\\\");\\n\\t\\t} else {\\n\\t\\t\\tList compilationMessages = compilationResult.getCompilationMessages();\\n\\t\\t\\tlogger.error(\\\"Compilation failed\\\");\\n\\t\\t\\tfor (CompilationMessage compilationMessage: compilationMessages) {\\n\\t\\t\\t\\tlogger.error(\\\"{}\\\",compilationMessage);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"426c2f9a9bf4288501c851059b0ffefb\",\n \"score\": \"0.42813554\",\n \"text\": \"private void processText(final String text) throws Exception {\\n\\n // Ensure there is text to process\\n if (text == null) {\\n throw new Exception(\\\"Text was null.\\\");\\n }\\n\\n // Create the Stanford CoreNLP pipeline\\n Properties props = new Properties();\\n String pipe = \\\"tokenize, ssplit, pos, parse, depparse, lemma, ner, dcoref, natlog, openie\\\";\\n props.setProperty(\\\"annotators\\\", pipe);\\n StanfordCoreNLP pipeline = new StanfordCoreNLP(props);\\n Annotation doc = new Annotation(text);\\n pipeline.annotate(doc);\\n\\n // Get NER data, extract triples, and store the data\\n extractData(doc);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"239fcd642bf877c38606ea1b0b7791f9\",\n \"score\": \"0.42771032\",\n \"text\": \"private Map m22695a(ProducerListener2 apVar, ProducerContext amVar, Postprocessor dVar) {\\n if (!apVar.mo28600b(amVar, \\\"PostprocessorProducer\\\")) {\\n return null;\\n }\\n return ImmutableMap.m20529a(\\\"Postprocessor\\\", dVar.getName());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6aeaef24c241ef0b817e5d1f88478077\",\n \"score\": \"0.42739835\",\n \"text\": \"@Override\\r\\n public void onApplicationEvent(ApplicationReadyEvent applicationReadyEvent) {\\n GeneratedModelClassification synsetW2VClassification = GeneratedModelClassification.synsetW2VClassification;\\r\\n GeneratedModelClassification synsetGloveVClassification = GeneratedModelClassification.synsetGloveClassification;\\r\\n GeneratedModelClassification synsetFTClassification = GeneratedModelClassification.synsetFTClassification;\\r\\n\\r\\n // initialize Stanford annotation pipelines\\r\\n CoreferenceAnnotator corefAnnotator = CoreferenceAnnotator.CRInstance;\\r\\n ParseAnnotator parseAnnotator = ParseAnnotator.PAInstance;\\r\\n WordAnnotator wordAnnotator = WordAnnotator.WAInstance;\\r\\n\\r\\n System.out.println(\\\"All components loaded successfully.\\\\n\\\");\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"94e5cddd4dc948c2cbf0070ec84c7cdd\",\n \"score\": \"0.4273238\",\n \"text\": \"void process(final PropMap context, final AnnotatedType annotatedType,\\r\\n final ANNOTATION annotatedTypeAnnotation,\\r\\n final ELEMENT annotatedElement, final PropMap annotationData);\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":335,"cells":{"query_id":{"kind":"string","value":"d3a829acf16c1d9d3615aa9e981e31e5"},"query":{"kind":"string","value":"Toast.makeText(context, \"\", Toast.LENGTH_SHORT).show(); Toast.makeText(context, \"\" +holder.button.getText(), Toast.LENGTH_SHORT).show();"},"positive_passages":{"kind":"list like","value":[{"docid":"851e4cbdf4781e568ef4a1ae02fcaa1c","score":"0.58321816","text":"@Override\n public void onClick(View v) {\n\n Intent intent = new Intent(context, Recipe.class);\n\n intent.putExtra(\"name\", holder.button.getText());\n context.startActivity(intent);\n\n }","title":""}],"string":"[\n {\n \"docid\": \"851e4cbdf4781e568ef4a1ae02fcaa1c\",\n \"score\": \"0.58321816\",\n \"text\": \"@Override\\n public void onClick(View v) {\\n\\n Intent intent = new Intent(context, Recipe.class);\\n\\n intent.putExtra(\\\"name\\\", holder.button.getText());\\n context.startActivity(intent);\\n\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"e480f75ddbd4eef6af7bcc207665590c","score":"0.7181438","text":"public void buttonShowToast(View v){\n Button b = (Button) v;\n String buttonText = b.getText().toString();\n Context curr = getApplicationContext();\n CharSequence txt = \"This will launch \" + buttonText + \"!\";\n Toast buttonToast = Toast.makeText(curr, txt, Toast.LENGTH_SHORT);\n buttonToast.show();\n }","title":""},{"docid":"5f659351ab9903172bd455f228d298b2","score":"0.69882834","text":"public void displayToast(View view) {\n\n Button b = (Button) view;\n String bt = (String) b.getText();\n Toast.makeText(this, \"This button will lunch my \" + bt + \" app!\", Toast.LENGTH_LONG)\n .show();\n }","title":""},{"docid":"f498b276746a9d330c2852fef73271f2","score":"0.69594413","text":"private void buttonClickDisplayText(Button buttonObj, CharSequence displayToast) {\n final CharSequence finalTextToDisplay = displayToast;\n buttonObj.setOnClickListener(new View.OnClickListener() {\n public void onClick(View v) {\n // Perform action on click\n Context context = getApplicationContext();\n Toast.makeText(context, finalTextToDisplay, Toast.LENGTH_SHORT).show();\n }\n });\n }","title":""},{"docid":"1b5c32d74f367b7ca5509e617684e670","score":"0.66244584","text":"@Override\n public void onClick(View v) {\n Toast.makeText(context, \"delete learning station?\", Toast.LENGTH_SHORT).show();\n\n }","title":""},{"docid":"b5d15917124fe4d63f3e0b54f2af5c9c","score":"0.6587391","text":"public void onClick(View v) {\n Context context = getApplicationContext();\n Toast.makeText(context, finalTextToDisplay, Toast.LENGTH_SHORT).show();\n }","title":""},{"docid":"d027221bbb7cfe0bc43ade6ed437d5b8","score":"0.65873516","text":"@Override\n public void onClick(View v) {\n Toast.makeText(context, \"You Clicked \"+result[position], Toast.LENGTH_LONG).show();\n }","title":""},{"docid":"c41b0e999f8afd972b59daf3a63630e2","score":"0.6581444","text":"private void showToast(String s){ Toast.makeText(getContext(),s,Toast.LENGTH_SHORT).show(); }","title":""},{"docid":"3a769e9ec825402c779ff5a73d296c3e","score":"0.6577685","text":"@Override\n public void onClick(View v) {\n Toast.makeText(context, \"You Clicked on \"+result[position], Toast.LENGTH_LONG).show();\n \n \n }","title":""},{"docid":"f8dd746995214560ecdf9e74cc90d975","score":"0.65438557","text":"@Override\n public void onClick(View v) {\n Toast.makeText(context, \"You Clicked \"+result.get(position), Toast.LENGTH_LONG).show();\n }","title":""},{"docid":"614dd066375d8141f09e7a9c5539db84","score":"0.6479466","text":"@Override\r\n\t\t\tpublic void onClick(View arg0) {\n Toast.makeText(getApplicationContext(), \"Clicked\", Toast.LENGTH_LONG).show();\r\n\t\t\t}","title":""},{"docid":"195f47cb861b6f55d52fc79acc87653c","score":"0.64765495","text":"public void onClick (View v) {\n display += ((Button) v).getText().toString();\n tv.setText(display);\n\n }","title":""},{"docid":"97ee5413c36acd0a7df31b81dcd421bd","score":"0.6453951","text":"@Override\n public void onClick(View view) {\n Toast.makeText(DetailMasjidActivity.this, \"Maaf masih pengembangan\", Toast.LENGTH_SHORT).show();\n }","title":""},{"docid":"173884b6dd257a804e608c58b02f3300","score":"0.6446753","text":"public void onClick(View v) {\n\t\t\t\tButton btn=(Button)v;\n\t\t\t\tString buttonTxt=btn.getText().toString();\n\t\t\t\t\n\t\t\t\tString txt=display.getText().toString();\n\t\t\t\t\n\t\t\t\tdisplay.setText(txt+buttonTxt);\n\t\t\t\t\n\t\t\t}","title":""},{"docid":"173884b6dd257a804e608c58b02f3300","score":"0.6446753","text":"public void onClick(View v) {\n\t\t\t\tButton btn=(Button)v;\n\t\t\t\tString buttonTxt=btn.getText().toString();\n\t\t\t\t\n\t\t\t\tString txt=display.getText().toString();\n\t\t\t\t\n\t\t\t\tdisplay.setText(txt+buttonTxt);\n\t\t\t\t\n\t\t\t}","title":""},{"docid":"173884b6dd257a804e608c58b02f3300","score":"0.6446753","text":"public void onClick(View v) {\n\t\t\t\tButton btn=(Button)v;\n\t\t\t\tString buttonTxt=btn.getText().toString();\n\t\t\t\t\n\t\t\t\tString txt=display.getText().toString();\n\t\t\t\t\n\t\t\t\tdisplay.setText(txt+buttonTxt);\n\t\t\t\t\n\t\t\t}","title":""},{"docid":"173884b6dd257a804e608c58b02f3300","score":"0.6446753","text":"public void onClick(View v) {\n\t\t\t\tButton btn=(Button)v;\n\t\t\t\tString buttonTxt=btn.getText().toString();\n\t\t\t\t\n\t\t\t\tString txt=display.getText().toString();\n\t\t\t\t\n\t\t\t\tdisplay.setText(txt+buttonTxt);\n\t\t\t\t\n\t\t\t}","title":""},{"docid":"173884b6dd257a804e608c58b02f3300","score":"0.6446753","text":"public void onClick(View v) {\n\t\t\t\tButton btn=(Button)v;\n\t\t\t\tString buttonTxt=btn.getText().toString();\n\t\t\t\t\n\t\t\t\tString txt=display.getText().toString();\n\t\t\t\t\n\t\t\t\tdisplay.setText(txt+buttonTxt);\n\t\t\t\t\n\t\t\t}","title":""},{"docid":"173884b6dd257a804e608c58b02f3300","score":"0.6446753","text":"public void onClick(View v) {\n\t\t\t\tButton btn=(Button)v;\n\t\t\t\tString buttonTxt=btn.getText().toString();\n\t\t\t\t\n\t\t\t\tString txt=display.getText().toString();\n\t\t\t\t\n\t\t\t\tdisplay.setText(txt+buttonTxt);\n\t\t\t\t\n\t\t\t}","title":""},{"docid":"173884b6dd257a804e608c58b02f3300","score":"0.6446753","text":"public void onClick(View v) {\n\t\t\t\tButton btn=(Button)v;\n\t\t\t\tString buttonTxt=btn.getText().toString();\n\t\t\t\t\n\t\t\t\tString txt=display.getText().toString();\n\t\t\t\t\n\t\t\t\tdisplay.setText(txt+buttonTxt);\n\t\t\t\t\n\t\t\t}","title":""},{"docid":"173884b6dd257a804e608c58b02f3300","score":"0.6446753","text":"public void onClick(View v) {\n\t\t\t\tButton btn=(Button)v;\n\t\t\t\tString buttonTxt=btn.getText().toString();\n\t\t\t\t\n\t\t\t\tString txt=display.getText().toString();\n\t\t\t\t\n\t\t\t\tdisplay.setText(txt+buttonTxt);\n\t\t\t\t\n\t\t\t}","title":""},{"docid":"173884b6dd257a804e608c58b02f3300","score":"0.6446753","text":"public void onClick(View v) {\n\t\t\t\tButton btn=(Button)v;\n\t\t\t\tString buttonTxt=btn.getText().toString();\n\t\t\t\t\n\t\t\t\tString txt=display.getText().toString();\n\t\t\t\t\n\t\t\t\tdisplay.setText(txt+buttonTxt);\n\t\t\t\t\n\t\t\t}","title":""},{"docid":"d544b34674172d2c5a15f6801af438ee","score":"0.6435294","text":"@Override\n public void onClick(View view) {\n Toast.makeText(context, merchant_names.get(holder.getBindingAdapterPosition()), Toast.LENGTH_SHORT).show();\n }","title":""},{"docid":"bd8520b8f075ae087a9b2af9160145e9","score":"0.6434218","text":"@Override\n public void onClick(View v) {\n Toast.makeText(getApplicationContext(), \"1버튼이 클릭되었습니다.\", Toast.LENGTH_LONG).show();\n }","title":""},{"docid":"c5bbb603d396f00cd078bc513bb25a9a","score":"0.6422426","text":"public void showToast(View v) {\n switch(v.getId()) {\n case R.id.spotify_button:\n case R.id.scores_button:\n case R.id.library_button:\n case R.id.build_it_button:\n case R.id.xyz_button:\n case R.id.capstone_button:\n displayToast(((Button)v).getText()); //all buttons will display a toast w/ app name\n break;\n default:\n break;\n }\n }","title":""},{"docid":"da6967463fcea07524360b9cd16dddb0","score":"0.63560253","text":"@Override\n public void onClick(View view) {\n String message = getString(R.string.playlist_1) + \" is now playing.\";\n Toast.makeText(getApplicationContext(), message, Toast.LENGTH_LONG).show();\n }","title":""},{"docid":"628c1865c6e53a9f3ce8370dd96042c3","score":"0.6342928","text":"@Override\n public void onClick(View view) {\n Toast.makeText(AccountProfileActivity.this, getString(R.string.functionality_under_developing), Toast.LENGTH_SHORT).show();\n }","title":""},{"docid":"bdc423fafd5f35ec70efe0ba78ce64c6","score":"0.6342054","text":"@Override\n public void onClick(View v) {\n Toast.makeText(requireContext(), \"a button was clicked\", Toast.LENGTH_SHORT).show();\n binding.output.append(\"\\na button was clicked\");\n }","title":""},{"docid":"89c6dcc533468b5ddc614959a7269e93","score":"0.63276345","text":"@Override\n public void onClick(View view) {\n String message = getString(R.string.playlist_2) + \" is now playing.\";\n Toast.makeText(getApplicationContext(), message, Toast.LENGTH_LONG).show();\n }","title":""},{"docid":"89860cd7772d036031fe35adb5a18772","score":"0.6312207","text":"@Override\n public void onClick(View view) {\n txtOutput.setText(txtOutput.getText().toString() + btn.getText().toString());\n }","title":""},{"docid":"6f89a941b0d69c9451c9854d6cd5817e","score":"0.63000125","text":"@Override\n public void run(){\n Toast.makeText(Manage_Fuel_Navigation.this, getResources().getString(R.string.sj_added_successfully), Toast.LENGTH_SHORT).show();\n }","title":""},{"docid":"b36ab6c7fced575527462b9a9e386df0","score":"0.62955946","text":"@Override\n\t\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\t\tToastUtils.showToast(getActivity(), \"发现\", Toast.LENGTH_SHORT);\n\t\t\t\t\t}","title":""},{"docid":"0519bf62ef3a321bc7ac44fb925286bb","score":"0.62843025","text":"@Override\n public void onClick(View v) {\n Toast.makeText(context, \"You Clicked \" + playerName.get(position), Toast.LENGTH_LONG).show();\n }","title":""},{"docid":"b7c160efb045af5b27c78660a6fcd566","score":"0.62797004","text":"@Override\n public void onClick(View v) {\n Toast.makeText(context,\"AGREGADO \" + homeObjects.get(position).title + \" A FAVORITOS\",Toast.LENGTH_LONG).show();\n }","title":""},{"docid":"de079ee3a57e34d33a86b2d468122c14","score":"0.6272353","text":"public void clickButton(View view){\n Toast.makeText(this, String.valueOf(count++), Toast.LENGTH_SHORT).show();\n }","title":""},{"docid":"40d72d226a95b6e780a50b6b6fbac8d3","score":"0.6255987","text":"public void onClick(View v) {\n\t\t\t\t\n\t\t\t\tButton btn=(Button)v;\n\t\t\t\tString buttonTxt=btn.getText().toString();\n\t\t\t\t\n\t\t\t\tString txt=display.getText().toString();\n\t\t\t\tboolean check = txt.equals(\"0\");\n\t\t\t\t\n\t\t\t\tif(!check)\n\t\t\t\t{\n\t\t\t\t\t\n\t\t\t\t\tdisplay.setText(txt+buttonTxt);\n\t\t\t\t}\n\t\t\t}","title":""},{"docid":"f4079383209b91a0da419eefad0f1636","score":"0.625142","text":"@Override\r\n\t\t\tpublic void onClick(View widget) {\n\t\t\t\tToast.makeText(MainActivity.this, \"TEST\", Toast.LENGTH_LONG).show();\r\n\t\t\t\tLog.i(\"tag\", \"tag\");\r\n\t\t\t}","title":""},{"docid":"111d3d52d89a1b45a3e4e0523abd0bef","score":"0.62443966","text":"private void showWaitToast(){ String s = getString(R.string.toast_wait_next_player); showToast(s); }","title":""},{"docid":"af1abae0acb25c1cb531b60f9315648e","score":"0.62323236","text":"@Override\n public void onClick(View v) {\n\n deleteAlert(tags[position]);\n //System.out.println(tv.getText());\n }","title":""},{"docid":"6d069a24514322df740c222e95734aeb","score":"0.62204945","text":"@Override\n public void onClick(View v) {\n MastersCommonCodes.Builder(MainActivity.this).showToast(MainActivity.this, \"Hello MasterCommonCodes\", 0);\n\n }","title":""},{"docid":"fa1e7866ec5198522a9fee650ba034de","score":"0.61782163","text":"@Override\n public void onClick(View v) {\n Toast.makeText(getApplicationContext(),\"인원을 입력하세요\",Toast.LENGTH_SHORT).show();\n }","title":""},{"docid":"6ff9d9b56444f9179d2282d56e6af15a","score":"0.61771184","text":"@Override\n public void onClick(View v) {\n tvoper1.setText(\"\");\n tvoper2.setText(\"\");\n tvop.setText(\"\");\n result.setText(\"\");\n flagMudancaTexto = false; // retorna foco para primeira caixa\n }","title":""},{"docid":"c0c169c8db40873818418115792ded1d","score":"0.6173984","text":"@Override\n public void onClick(View v) {\n Toast.makeText(RestaurantDetail.this, \"This feature will be available soon!\", Toast.LENGTH_LONG).show();\n }","title":""},{"docid":"f1bd45fcb28b7a0f1bc64b5727581719","score":"0.61553353","text":"public void onClick(DialogInterface arg0, int arg1) {\n // the button was clicked\n Toast.makeText(getApplicationContext(), \"Enter The Crop ID\", Toast.LENGTH_LONG).show();\n }","title":""},{"docid":"f1bd45fcb28b7a0f1bc64b5727581719","score":"0.61553353","text":"public void onClick(DialogInterface arg0, int arg1) {\n // the button was clicked\n Toast.makeText(getApplicationContext(), \"Enter The Crop ID\", Toast.LENGTH_LONG).show();\n }","title":""},{"docid":"308230144fc04a3f134074c475d17952","score":"0.6146816","text":"public void sendToast(View view){\n\r\n Toast toast = Toast.makeText(MainActivity.this,\"Ceci est un magnifique toast\",Toast.LENGTH_SHORT);\r\n toast.show();\r\n }","title":""},{"docid":"da34fff0541d5a20bc29ecc8bc1255ce","score":"0.6131522","text":"@Override\n public void onClick(View view) {\n Context context = getActivity();\n CharSequence msgUpdate = \"Updating...\";\n int duration = Toast.LENGTH_SHORT;\n\n Toast toast = Toast.makeText(context, msgUpdate, duration);\n toast.show();\n }","title":""},{"docid":"a6274296d606e72b7d4b3a748572d0b3","score":"0.6110116","text":"public void HandleClick(View view) {\n if (view.getId() == R.id.SpotifySteamerButton) {\n // button1 action\n Button buttonObj = (Button) view;\n buttonClickDisplayText(buttonObj, ToastDisplayConstants.SpotifySteamer_Text_Constant);\n }\n if (view.getId() == R.id.ScoreAppButton) {\n //button2 action\n Button buttonObj = (Button) view;\n buttonClickDisplayText(buttonObj, ToastDisplayConstants.Score_Text_Constant);\n }\n if (view.getId() == R.id.LibraryAppButton) {\n //button3 action\n Button buttonObj = (Button) view;\n buttonClickDisplayText(buttonObj, ToastDisplayConstants.Library_Text_Constant);\n }\n if (view.getId() == R.id.BuildItAppButton) {\n //button3 action\n Button buttonObj = (Button) view;\n buttonClickDisplayText(buttonObj, ToastDisplayConstants.BuildIt_Text_Constant);\n }\n if (view.getId() == R.id.XYZReaderAppButton) {\n //button3 action\n Button buttonObj = (Button) view;\n buttonClickDisplayText(buttonObj, ToastDisplayConstants.XYZReader_Text_Constant);\n }\n if (view.getId() == R.id.CapstoneAppButton) {\n //button3 action\n Button buttonObj = (Button) view;\n buttonClickDisplayText(buttonObj, ToastDisplayConstants.Capstone_Text_Constant);\n }\n }","title":""},{"docid":"987401ab4d6c6bafb76faa86d850a254","score":"0.609492","text":"@Override\n public void run(){\n Toast.makeText(Manage_Fuel_Navigation.this, getResources().getString(R.string.sj_reassigned_successfully), Toast.LENGTH_SHORT).show();\n }","title":""},{"docid":"62dd9d9cf2a4eace6aadd450b05c8c18","score":"0.6087613","text":"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tToast.makeText(ToastActivity.this, \"Tesing general Toast\", Toast.LENGTH_SHORT).show();\n\t\t\t}","title":""},{"docid":"cd0d38891ceb512b50454251471a72d0","score":"0.6060356","text":"public void onItemClick(AdapterView ad, View v, int pos, long id) {\n\t\t TextView item=(TextView) v;\n\t\t CharSequence texte=item.getText();\n\t Toast.makeText(getApplicationContext(), texte,\n\t Toast.LENGTH_SHORT).show();\n\t}","title":""},{"docid":"591c0aab993ed90c2da06b5b0d3c1725","score":"0.6060062","text":"@Override\n public void onItemClick(AdapterView parent, View view, int position, long id) {\n\n Toast.makeText(getContext(),position+\"\",Toast.LENGTH_SHORT).show();\n }","title":""},{"docid":"591c0aab993ed90c2da06b5b0d3c1725","score":"0.6060062","text":"@Override\n public void onItemClick(AdapterView parent, View view, int position, long id) {\n\n Toast.makeText(getContext(),position+\"\",Toast.LENGTH_SHORT).show();\n }","title":""},{"docid":"591c0aab993ed90c2da06b5b0d3c1725","score":"0.6060062","text":"@Override\n public void onItemClick(AdapterView parent, View view, int position, long id) {\n\n Toast.makeText(getContext(),position+\"\",Toast.LENGTH_SHORT).show();\n }","title":""},{"docid":"54ab130c92da27e060e03cd34ea67756","score":"0.60457486","text":"@Override\n public void run(){\n Toast.makeText(Manage_Fuel_Navigation.this, getResources().getString(R.string.sj_deleted_succesfully), Toast.LENGTH_SHORT).show();\n }","title":""},{"docid":"457bffd4e901a7a1ce166e9d7bf2190f","score":"0.6036894","text":"@Override\n public void onClick(View v) {\n Toast toast = Toast.makeText(mRootView.getContext(),\"Settings saved !\" , Toast.LENGTH_SHORT);\n toast.show();\n }","title":""},{"docid":"4de2c19aee73d8bf5d693d31403020dc","score":"0.6036528","text":"@Override\n public void onClick(View view) {\n Toast.makeText(context, \"Maybe one day I can finish this app...\", Toast.LENGTH_LONG).show();\n }","title":""},{"docid":"a2282a043bd12d0d166013c573acf83e","score":"0.6019434","text":"@Override\n public void onClick(View v) {\n int toastTime = Toast.LENGTH_SHORT;\n if (table.getText().equals(\"x\")) Toast.makeText(parentActivity,table.getResources().getText(R.string.Catalan_table_not_available),toastTime).show();\n else if (table.getText().equals(\"\")) Toast.makeText(parentActivity,table.getResources().getText(R.string.Catalan_table_already_assigned),toastTime).show();\n else parentActivity.launchMarkPosition(rowPos,colPos);\n //------------------------------------------------------------------\n\n }","title":""},{"docid":"2803243c898190e01015b10fce3019ad","score":"0.60170597","text":"@Override\n public void onClick(View v) {\n update_result(G1,G2,G3,G4,G5);\n mGPAButton.setText(R.string.Clear);\n }","title":""},{"docid":"0901ee79cb9af12dab012725b779faaf","score":"0.60096323","text":"public void buttonClickHandler(View view) {\n Toast.makeText(MainActivity.this, \"You CLICK THE SUBMIT BUTTON\", Toast.LENGTH_SHORT).show();\n }","title":""},{"docid":"eef551c034b43872675ae4efd7efa77e","score":"0.60058695","text":"@Override\n public void run() {\n showToast(text, Toast.LENGTH_SHORT);\n }","title":""},{"docid":"eef551c034b43872675ae4efd7efa77e","score":"0.60058695","text":"@Override\n public void run() {\n showToast(text, Toast.LENGTH_SHORT);\n }","title":""},{"docid":"ff3150ae2afa13ebfca3f36fe5ef083c","score":"0.5994212","text":"@Override\n public void onClick(View view) {\n Toast.makeText(getContext(), moodList.getComment(), Toast.LENGTH_SHORT).show();\n }","title":""},{"docid":"4a382b03af9851df8f3b23bb928ae107","score":"0.5986072","text":"private void showToast(String text){\n Toast.makeText(MainActivityJava.this, text, Toast.LENGTH_SHORT).show();\n }","title":""},{"docid":"170d811c118c7daa73d8c6f428d57b2c","score":"0.59774697","text":"public void onClick(View v) {\n\t\tswitch (v.getId()) {\n\t\tcase R.id.button1:\n\t\t\tToast.makeText(MainActivity.this, \"11111\", 2000).show();\n\t\t\tbreak;\n\n\t\tdefault:\n\t\t\tbreak;\n\t\t}\n\t}","title":""},{"docid":"7746d075d8fa1fa47f400d1ef544f550","score":"0.59761393","text":"public void onButtonTap(View v,TextView mt){\n mt.setText(\"sdsd\");\n }","title":""},{"docid":"d96a0688d9ec7a05787ce925cd6e6f9e","score":"0.59616816","text":"public void Toast(int i){\n if (i == 1){\n Toast toast = Toast.makeText(this, R.string.label_noCheck, Toast.LENGTH_SHORT);\n toast.setGravity(Gravity.TOP,0,1450);\n toast.show();\n }\n\n if (i == 2){\n Toast toast = Toast.makeText(this, R.string.label_ultimo, Toast.LENGTH_SHORT);\n toast.setGravity(Gravity.TOP,0,1450);\n toast.show();\n }\n\n }","title":""},{"docid":"53977ff53be6cfb5ac47e574c7b41428","score":"0.59572446","text":"@Override\n public void run(){\n Toast.makeText(Messaging_Navigation.this, getResources().getString(R.string.sj_reassigned_successfully), Toast.LENGTH_SHORT).show();\n }","title":""},{"docid":"16b6ea98981dba1563322dd5470f8584","score":"0.5948479","text":"public void buttonClick(View v) {\n }","title":""},{"docid":"a264805c91c39433eae18d3556ca33fd","score":"0.5945412","text":"@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tToast.makeText(getApplicationContext(), \"Button Click\",\n\t\t\t\t\t\tToast.LENGTH_SHORT).show();\n\t\t\t}","title":""},{"docid":"443b6587cea819c4d27a03635008d450","score":"0.5945154","text":"private void showToast(){\n Toast toast = Toast. makeText(this, \"TE HAS EQUIVOCADO\", Toast.LENGTH_SHORT);\n toast.setGravity(Gravity.CENTER_VERTICAL | Gravity.START,160,0);\n toast.show();\n }","title":""},{"docid":"ea6e89e81b289b684674f84bfbb4eb75","score":"0.59429663","text":"@Override\n public void onClick(View v) {\n //Intent intent=new Intent(context, PlanNutrionalDetalleActivity.class);\n Toast.makeText(v.getContext(),\"Tuanis\",Toast.LENGTH_SHORT).show();\n\n }","title":""},{"docid":"6bba52ed4c45147792c2f6eb5c487c84","score":"0.5942527","text":"@OnClick(R.id.button1)\n\tpublic void button1() {\n\t\ttv.setText(\"GoodBye!\");\n\t}","title":""},{"docid":"42e546319b6c67b458ec776e620249e0","score":"0.59391236","text":"@Override\r\n \tpublic void onClick(View v) {\n \t\tToast.makeText(getActivity(), \"TODO: Actually send suggestion\",\r\n \t\t\t\tToast.LENGTH_SHORT).show();\r\n \t\tmQuestion.setText(\"\");\r\n \t}","title":""},{"docid":"b590075c4053d467ccf8c7718b040afe","score":"0.5938664","text":"@Override\n public void onClick(View v) {\n EditText et = (EditText) findViewById(R.id.editText);\n String entry = et.getText().toString();\n\n Snackbar.make(v, \"Your entered \" + entry, Snackbar.LENGTH_LONG)\n .setAction(\"Action\", null).show();\n\n }","title":""},{"docid":"2f30dd396d54cb204f01dee2eb291435","score":"0.5935026","text":"public void showToastDeleted(){\n Toast.makeText(this, \"Task Deleted!\", Toast.LENGTH_SHORT).show();\n }","title":""},{"docid":"3a1426c2213c19be4b23bd3c990cadef","score":"0.5926405","text":"@Override\n public void onItemClick(AdapterView parent, View view, int position, long id) {\n\n Context context = getActivity();\n CharSequence text = CustomGameList.get(position).getGamename();\n int duration = Toast.LENGTH_SHORT;\n\n Toast toast = Toast.makeText(context, text, duration);\n toast.show();\n\n }","title":""},{"docid":"8ad2da63e8b2075c7fc221acc809fa5a","score":"0.5911023","text":"void showToast();","title":""},{"docid":"23e93c09ebc98715da0440d92793999c","score":"0.5906732","text":"public void sendMessage(View view) {\r\n Context context = getApplicationContext();\r\n\r\n CharSequence text1 = \"This button will launch streamer app!\";\r\n CharSequence text2 = \"This button will launch scores app!\";\r\n CharSequence text3 = \"This button will launch library app!\";\r\n CharSequence text4 = \"This button will launch build it bigger!\";\r\n CharSequence text5 = \"This button will launch XYZ reader!\";\r\n CharSequence text6 = \"This button will launch my app!\";\r\n int duration = Toast.LENGTH_SHORT;\r\n\r\n switch(view.getId()) {\r\n case R.id.button1:\r\n Toast.makeText(context, text1, duration).show();\r\n break;\r\n case R.id.button2:\r\n Toast.makeText(context, text2, duration).show();\r\n break;\r\n case R.id.button3:\r\n Toast.makeText(context, text3, duration).show();\r\n break;\r\n case R.id.button4:\r\n Toast.makeText(context, text4, duration).show();\r\n break;\r\n case R.id.button5:\r\n Toast.makeText(context, text5, duration).show();\r\n break;\r\n case R.id.button6:\r\n Toast.makeText(context, text6, duration).show();\r\n break;\r\n }\r\n }","title":""},{"docid":"1e69207166dda8ce17c7f4325a0973a7","score":"0.5893007","text":"@Override\n public void run() {\n showToast(text, Toast.LENGTH_LONG);\n }","title":""},{"docid":"1e69207166dda8ce17c7f4325a0973a7","score":"0.5893007","text":"@Override\n public void run() {\n showToast(text, Toast.LENGTH_LONG);\n }","title":""},{"docid":"5c4211e7bdbfb9929dd51820627b058c","score":"0.5891725","text":"@Override\n public void run() {\n Toast toast = Toast.makeText(getApplicationContext(),\"No songs found :(\",Toast.LENGTH_SHORT);\n // Center toast\n toast.setGravity(Gravity.TOP|Gravity.LEFT,600,200);\n toast.show();\n }","title":""},{"docid":"12a15e127c18e6ac0c7611c06ed9629a","score":"0.5886196","text":"public void onClick(View v)\n {\n Toast.makeText(getApplicationContext(),\"Hello from Mark as read Icon\", Toast.LENGTH_LONG).show();\n }","title":""},{"docid":"fffa8bdaf684bf55e4bb3e23d527121a","score":"0.5846901","text":"@Override\n public void run(){\n Toast.makeText(Manage_Fuel_Navigation.this, getResources().getString(R.string.sj_updated_succesfully), Toast.LENGTH_SHORT).show();\n }","title":""},{"docid":"24b0e14189c8cf6bb812206ed4e64051","score":"0.58435404","text":"@Override\n\t\tpublic void onClick(View v) {\n\t\t\tif(spf.getInt(\"music\", 0)==0){\n\t\t\t\tsound.play(ButtonSound, 1, 1, 0, 0, 1);\n\t\t\t}\n\t\t\tint st,tst;\n\t\t\tswitch(v.getId()){\n\t\t\tcase R.id.button1:\n\t\t\t\tmydb=openOrCreateDatabase(SQL_NAME, MODE_PRIVATE, null);\n\t\t\t\tCursor cur=mydb.query(SFGTB_NAME, new String[] {NAME}, null, null, null, null, null);\n\t\t\t\tst=cur.getCount();\n\t\t\t\tcur=mydb.query(THHN_NAME, new String[] {NAME}, null, null, null, null, null);\n\t\t\t\ttst=cur.getCount();\n\t\t\t\tcur.close();\n\t\t\t\tmydb.close();\n\t\t\t\tif(st!=0||tst!=0){\n\t\t\t\t\tSimpleDateFormat sdf = new SimpleDateFormat(\"yyyy.MM.dd HH.mm.ss\");\n\t\t\t\t\tView bn = getLayoutInflater().inflate(R.layout.backupname,\n\t\t\t\t\t\t\t(ViewGroup) findViewById(R.layout.backupname));\n\t\t\t\t\tEditText et=(EditText)bn.findViewById(R.id.editText1);\n\t\t\t\t\tString name=\"Backup\"+spf.getInt(\"Backup\", 0)+\"(\"+sdf.format(new Date())+\")\";\n\t\t\t\t\tet.setText(name);\n\t\t\t\t\tAlertDialog.Builder builder = new AlertDialog.Builder(Backup.this);\n\t\t\t\t\tbuilder.setTitle(getString(R.string.backupname));\n\t\t\t \tbuilder.setView(bn);\n\t\t\t \tbuilder.setCancelable(false);\n\t\t\t \tBackupna ba =new Backupna(et,name,0,false);\n\t\t\t \tbuilder.setNegativeButton(getString(R.string.sfgt1), ba);\n\t\t\t \tbuilder.setPositiveButton(getString(R.string.ca), ba);\n\t\t\t \tbuilder.show(); \n\t\t\t\t}else{\n\t\t\t\t\tToast.makeText(getApplicationContext(), getString(R.string.ontdata), Toast.LENGTH_LONG).show();\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase R.id.button2:\n\t\t\t\tView vi = getLayoutInflater().inflate(R.layout.pleasewait,\n\t\t\t\t\t\t(ViewGroup) findViewById(R.layout.pleasewait));\n\t\t\t\tTextView pwtv=(TextView)vi.findViewById(R.id.textView1);\n\t\t\t\tpwtv.setTextSize(size);\n\t\t\t\tAlertDialog dead=new AlertDialog.Builder(Backup.this).setView(vi).setCancelable(false).show();\n\t\t\t\tnew Thread(new Openbackupfile(false,dead)).start();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}","title":""},{"docid":"53669dc198b42a9c005ae30ebed7ef5c","score":"0.5840348","text":"@Override\n public void onClick(View view) {\n int temp = view.getId();\n if (view.getId() !=R.id.tvFrage ) {\n Button bTemp = (Button) view;\n sButtText = bTemp.getText().toString();\n boolean eingrenzRight = true;//= logic2.checkAnswer(sButtText);\n // erster bool bringt richtig/falsch, zweiter ob es eine eingrenzung war\n String infoText = \" aktiv:\" ;//+ MySingleton.getInstance().aktiviert + \" deactiv: \" + MySingleton.getInstance().deaktiviert + \" Score: \" + MySingleton.getInstance().score + \" Next: \" + MySingleton.getInstance().next + \"\\n MaxDiff: \" + MySingleton.getInstance().maxDifference + \" Antwort: \" + sButtText;\n infoText = infoText + MySingleton.getInstance().vorschubText;\n\n tvInfo.setText(infoText);\n if (eingrenzRight) {\n bChoice[0].performHapticFeedback(HapticFeedbackConstants.VIRTUAL_KEY);\n tvInfo.setBackgroundColor(Color.GREEN);\n neueFrage();\n } else {\n tvInfo.setBackgroundColor(Color.RED);\n Vibrator v = (Vibrator)ourContext.getSystemService(Context.VIBRATOR_SERVICE);\n v.vibrate(250);\n neueFrage();\n }\n ;\n } else {\n Intent intent = new Intent();\n intent.setClass(ourContext, SimpleBrowserActiv.class);\n startActivity(intent);\n }\n }","title":""},{"docid":"54a4ad05aae395a24106368b23037ffc","score":"0.58367527","text":"@Override\n public void onClick(View v) {\n Button button = (Button) v;\n Intent intent = new Intent(getApplicationContext(), chart.class);\n TextView result = (TextView) findViewById(R.id.result);\n message = result.getText().toString();\n EditText note = (EditText) findViewById(R.id.note);\n messagenote = note.getText().toString();\n messagebtn = button.getText().toString();\n insertdbinfo();\n intent.putExtra(EXTRA_MESSAGE, message);\n intent.putExtra(EXTRA_NOTE, messagenote);\n intent.putExtra(EXTRA_BUTTON, messagebtn);\n\n\n startActivity(intent);\n\n }","title":""},{"docid":"be8a7a2001d67c5ff52c8e2e6c3578fb","score":"0.58222836","text":"@Override\n\t\t\tpublic void onClick(View v)\n\t\t\t{\n\t \t\tSystem.out.println(\"点击了button2\");\n\t \t\tToast.makeText(EricMainActivity.this, \"2\", Toast.LENGTH_SHORT).show();\t\n\t\t\t}","title":""},{"docid":"89d307b26195e674a4386e6faaedc9d2","score":"0.5813198","text":"@Override\n public void run() {\n mFavButton.setText(getString(R.string.rem_fav));\n }","title":""},{"docid":"d0fa7caf03fb7d86d3093edee83dba75","score":"0.58114827","text":"void showToast(String texttoshow) {\n }","title":""},{"docid":"1741341158454bac333b5dc457f37820","score":"0.58106184","text":"@Override\n public void onClick(View view) {\n String s=et.getText().toString();\n //TextView tv=new TextView(MainActivity.this);\n //tv.setText(s);\n // l1.addView(tv);\n et.setText(\"\");\n myRef = database.getReference(\"message\");\n myRef.setValue(s);\n //i++;\n //TextView tvf=new TextView(MainActivity.this);\n //tvf.setText();\n\n\n\n }","title":""},{"docid":"9903ce5e291cafa35e75c5e085ce21f2","score":"0.5804149","text":"@Override\n public void onClick(DialogInterface dialog, int i) {\n String myText = sensorSelection[i].toString();\n Boolean reset = false;\n\n if(myText.equalsIgnoreCase(\"reset\")) {\n myText = \"ADC\";\n reset = true;\n }\n\n switch (view.getId()) {\n case R.id.ADC1_button:\n if(reset)\n myText += \"1\";\n sensorNameRef.child(\"ADC1\").setValue(myText);\n break;\n case R.id.ADC2_button:\n if(reset)\n myText += \"2\";\n sensorNameRef.child(\"ADC2\").setValue(myText);\n break;\n case R.id.ADC3_button:\n if(reset)\n myText += \"3\";\n sensorNameRef.child(\"ADC3\").setValue(myText);\n break;\n case R.id.ADC4_button:\n if(reset)\n myText += \"4\";\n sensorNameRef.child(\"ADC4\").setValue(myText);\n break;\n case R.id.ADC5_button:\n if(reset)\n myText += \"5\";\n sensorNameRef.child(\"ADC5\").setValue(myText);\n break;\n case R.id.ADC6_button:\n if(reset)\n myText += \"6\";\n sensorNameRef.child(\"ADC6\").setValue(myText);\n break;\n case R.id.ADC7_button:\n if(reset)\n myText += \"7\";\n sensorNameRef.child(\"ADC7\").setValue(myText);\n break;\n case R.id.ADC8_button:\n if(reset)\n myText += \"8\";\n sensorNameRef.child(\"ADC8\").setValue(myText);\n break;\n }\n }","title":""},{"docid":"f78a3594353ac5a62111ebd9ef5820dd","score":"0.57937294","text":"@Override\n protected void onClickConfirmed(View v, Marker marker) {\n Toast.makeText(MainActivity.this, marker.getTitle() + \"'s button clicked!\", Toast.LENGTH_SHORT).show();\n }","title":""},{"docid":"7be771285bfd4f45368edb779e5a56b5","score":"0.57911503","text":"@Override\n public void run() {\n Toast.makeText(context, \"no s'han pogut llegir els missatges nous.\", Toast.LENGTH_LONG).show();\n }","title":""},{"docid":"0d34c1e27f303c832e559e44bd096108","score":"0.57807755","text":"@Override\n public void onClick(View v) {//because the view class that was passed implements the onclicklistener method the onclick method must be implemented here\n\n //now that we will know when a button will be pressed, this is what we want to happen\n //toasts are pop ups that alert the user of something but does not require an action from them\n //here we call the static method from toast class: make text and pass in:\n //context = an instance of activity(subclass of context) bascially telling it which view to show it\n //resId = the reference of the string that we want displayed\n //and duration = how long we want to display it\n //then call show method from toast class to show it\n //Toast.makeText(QuizActivity.this, R.string.correct_toast, Toast.LENGTH_SHORT).show();\n //REPLACED BY (encapsulation)\n checkAnswer(true);\n }","title":""},{"docid":"ad4a627f01e2a9d3b21459944806156c","score":"0.5778335","text":"private void showToast(String msg) {\n }","title":""},{"docid":"8e9ba41698fb702302b9d4e32d7cea47","score":"0.577546","text":"@Override\n \tpublic void onClick(View arg0)\n \t{\n \t\tSystem.out.println(\"点击了button1\");\n \t\tToast.makeText(EricMainActivity.this, \"1\", Toast.LENGTH_SHORT).show();\n\n \t}","title":""},{"docid":"92cbd0f199b81314cce055bbe5cad416","score":"0.57742804","text":"public void showToast(View view) {\n\n CharSequence text;\n switch (view.getId()) {\n case R.id.launchBuild:\n text = \"This button will launch my Build it Bigger app!\";\n break;\n case R.id.launchCapstone:\n text = \"This button will launch my Capstone app!\";\n break;\n case R.id.launchLibrary:\n text = \"This button will launch my Library app!\";\n break;\n case R.id.launchScores:\n text = \"This button will launch my Scores app!\";\n break;\n case R.id.launchSpotify:\n text = \"This button will launch my Spotify Streamer app!\";\n break;\n case R.id.launchXYZ:\n text = \"This button will launch my XYZ Reader app!\";\n break;\n default:\n text = \"This button lives outside my control. Watch out!\";\n }\n\n Context context = getApplicationContext();\n int duration = Toast.LENGTH_SHORT;\n\n Toast toast = Toast.makeText(context, text, duration);\n toast.show();\n }","title":""},{"docid":"916f2c8400e003337da1830896f56e65","score":"0.5770394","text":"@Override\n public void run() {\n mFavButton.setText(getString(R.string.fav));\n }","title":""},{"docid":"ec67156ab29ee2980b93d9b0f08d8ace","score":"0.57695836","text":"private void sayHello(){\n Toast.makeText(MainActivity.this,\n R.string.str_hola,\n Toast.LENGTH_SHORT).show();\n }","title":""},{"docid":"d1453dd82f873a86ac58dcaf7fa141df","score":"0.5768935","text":"public void onClick(DialogInterface dialog, int whichButton) {\n Editable YouEditTextValue = edittext.getText();\n //OR\n String text = edittext.getText().toString();\n tvText1.setText(text);\n }","title":""}],"string":"[\n {\n \"docid\": \"e480f75ddbd4eef6af7bcc207665590c\",\n \"score\": \"0.7181438\",\n \"text\": \"public void buttonShowToast(View v){\\n Button b = (Button) v;\\n String buttonText = b.getText().toString();\\n Context curr = getApplicationContext();\\n CharSequence txt = \\\"This will launch \\\" + buttonText + \\\"!\\\";\\n Toast buttonToast = Toast.makeText(curr, txt, Toast.LENGTH_SHORT);\\n buttonToast.show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f659351ab9903172bd455f228d298b2\",\n \"score\": \"0.69882834\",\n \"text\": \"public void displayToast(View view) {\\n\\n Button b = (Button) view;\\n String bt = (String) b.getText();\\n Toast.makeText(this, \\\"This button will lunch my \\\" + bt + \\\" app!\\\", Toast.LENGTH_LONG)\\n .show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f498b276746a9d330c2852fef73271f2\",\n \"score\": \"0.69594413\",\n \"text\": \"private void buttonClickDisplayText(Button buttonObj, CharSequence displayToast) {\\n final CharSequence finalTextToDisplay = displayToast;\\n buttonObj.setOnClickListener(new View.OnClickListener() {\\n public void onClick(View v) {\\n // Perform action on click\\n Context context = getApplicationContext();\\n Toast.makeText(context, finalTextToDisplay, Toast.LENGTH_SHORT).show();\\n }\\n });\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1b5c32d74f367b7ca5509e617684e670\",\n \"score\": \"0.66244584\",\n \"text\": \"@Override\\n public void onClick(View v) {\\n Toast.makeText(context, \\\"delete learning station?\\\", Toast.LENGTH_SHORT).show();\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b5d15917124fe4d63f3e0b54f2af5c9c\",\n \"score\": \"0.6587391\",\n \"text\": \"public void onClick(View v) {\\n Context context = getApplicationContext();\\n Toast.makeText(context, finalTextToDisplay, Toast.LENGTH_SHORT).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d027221bbb7cfe0bc43ade6ed437d5b8\",\n \"score\": \"0.65873516\",\n \"text\": \"@Override\\n public void onClick(View v) {\\n Toast.makeText(context, \\\"You Clicked \\\"+result[position], Toast.LENGTH_LONG).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c41b0e999f8afd972b59daf3a63630e2\",\n \"score\": \"0.6581444\",\n \"text\": \"private void showToast(String s){ Toast.makeText(getContext(),s,Toast.LENGTH_SHORT).show(); }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a769e9ec825402c779ff5a73d296c3e\",\n \"score\": \"0.6577685\",\n \"text\": \"@Override\\n public void onClick(View v) {\\n Toast.makeText(context, \\\"You Clicked on \\\"+result[position], Toast.LENGTH_LONG).show();\\n \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f8dd746995214560ecdf9e74cc90d975\",\n \"score\": \"0.65438557\",\n \"text\": \"@Override\\n public void onClick(View v) {\\n Toast.makeText(context, \\\"You Clicked \\\"+result.get(position), Toast.LENGTH_LONG).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"614dd066375d8141f09e7a9c5539db84\",\n \"score\": \"0.6479466\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void onClick(View arg0) {\\n Toast.makeText(getApplicationContext(), \\\"Clicked\\\", Toast.LENGTH_LONG).show();\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"195f47cb861b6f55d52fc79acc87653c\",\n \"score\": \"0.64765495\",\n \"text\": \"public void onClick (View v) {\\n display += ((Button) v).getText().toString();\\n tv.setText(display);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"97ee5413c36acd0a7df31b81dcd421bd\",\n \"score\": \"0.6453951\",\n \"text\": \"@Override\\n public void onClick(View view) {\\n Toast.makeText(DetailMasjidActivity.this, \\\"Maaf masih pengembangan\\\", Toast.LENGTH_SHORT).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"173884b6dd257a804e608c58b02f3300\",\n \"score\": \"0.6446753\",\n \"text\": \"public void onClick(View v) {\\n\\t\\t\\t\\tButton btn=(Button)v;\\n\\t\\t\\t\\tString buttonTxt=btn.getText().toString();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tString txt=display.getText().toString();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tdisplay.setText(txt+buttonTxt);\\n\\t\\t\\t\\t\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"173884b6dd257a804e608c58b02f3300\",\n \"score\": \"0.6446753\",\n \"text\": \"public void onClick(View v) {\\n\\t\\t\\t\\tButton btn=(Button)v;\\n\\t\\t\\t\\tString buttonTxt=btn.getText().toString();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tString txt=display.getText().toString();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tdisplay.setText(txt+buttonTxt);\\n\\t\\t\\t\\t\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"173884b6dd257a804e608c58b02f3300\",\n \"score\": \"0.6446753\",\n \"text\": \"public void onClick(View v) {\\n\\t\\t\\t\\tButton btn=(Button)v;\\n\\t\\t\\t\\tString buttonTxt=btn.getText().toString();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tString txt=display.getText().toString();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tdisplay.setText(txt+buttonTxt);\\n\\t\\t\\t\\t\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"173884b6dd257a804e608c58b02f3300\",\n \"score\": \"0.6446753\",\n \"text\": \"public void onClick(View v) {\\n\\t\\t\\t\\tButton btn=(Button)v;\\n\\t\\t\\t\\tString buttonTxt=btn.getText().toString();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tString txt=display.getText().toString();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tdisplay.setText(txt+buttonTxt);\\n\\t\\t\\t\\t\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"173884b6dd257a804e608c58b02f3300\",\n \"score\": \"0.6446753\",\n \"text\": \"public void onClick(View v) {\\n\\t\\t\\t\\tButton btn=(Button)v;\\n\\t\\t\\t\\tString buttonTxt=btn.getText().toString();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tString txt=display.getText().toString();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tdisplay.setText(txt+buttonTxt);\\n\\t\\t\\t\\t\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"173884b6dd257a804e608c58b02f3300\",\n \"score\": \"0.6446753\",\n \"text\": \"public void onClick(View v) {\\n\\t\\t\\t\\tButton btn=(Button)v;\\n\\t\\t\\t\\tString buttonTxt=btn.getText().toString();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tString txt=display.getText().toString();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tdisplay.setText(txt+buttonTxt);\\n\\t\\t\\t\\t\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"173884b6dd257a804e608c58b02f3300\",\n \"score\": \"0.6446753\",\n \"text\": \"public void onClick(View v) {\\n\\t\\t\\t\\tButton btn=(Button)v;\\n\\t\\t\\t\\tString buttonTxt=btn.getText().toString();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tString txt=display.getText().toString();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tdisplay.setText(txt+buttonTxt);\\n\\t\\t\\t\\t\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"173884b6dd257a804e608c58b02f3300\",\n \"score\": \"0.6446753\",\n \"text\": \"public void onClick(View v) {\\n\\t\\t\\t\\tButton btn=(Button)v;\\n\\t\\t\\t\\tString buttonTxt=btn.getText().toString();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tString txt=display.getText().toString();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tdisplay.setText(txt+buttonTxt);\\n\\t\\t\\t\\t\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"173884b6dd257a804e608c58b02f3300\",\n \"score\": \"0.6446753\",\n \"text\": \"public void onClick(View v) {\\n\\t\\t\\t\\tButton btn=(Button)v;\\n\\t\\t\\t\\tString buttonTxt=btn.getText().toString();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tString txt=display.getText().toString();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tdisplay.setText(txt+buttonTxt);\\n\\t\\t\\t\\t\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d544b34674172d2c5a15f6801af438ee\",\n \"score\": \"0.6435294\",\n \"text\": \"@Override\\n public void onClick(View view) {\\n Toast.makeText(context, merchant_names.get(holder.getBindingAdapterPosition()), Toast.LENGTH_SHORT).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bd8520b8f075ae087a9b2af9160145e9\",\n \"score\": \"0.6434218\",\n \"text\": \"@Override\\n public void onClick(View v) {\\n Toast.makeText(getApplicationContext(), \\\"1버튼이 클릭되었습니다.\\\", Toast.LENGTH_LONG).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c5bbb603d396f00cd078bc513bb25a9a\",\n \"score\": \"0.6422426\",\n \"text\": \"public void showToast(View v) {\\n switch(v.getId()) {\\n case R.id.spotify_button:\\n case R.id.scores_button:\\n case R.id.library_button:\\n case R.id.build_it_button:\\n case R.id.xyz_button:\\n case R.id.capstone_button:\\n displayToast(((Button)v).getText()); //all buttons will display a toast w/ app name\\n break;\\n default:\\n break;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da6967463fcea07524360b9cd16dddb0\",\n \"score\": \"0.63560253\",\n \"text\": \"@Override\\n public void onClick(View view) {\\n String message = getString(R.string.playlist_1) + \\\" is now playing.\\\";\\n Toast.makeText(getApplicationContext(), message, Toast.LENGTH_LONG).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"628c1865c6e53a9f3ce8370dd96042c3\",\n \"score\": \"0.6342928\",\n \"text\": \"@Override\\n public void onClick(View view) {\\n Toast.makeText(AccountProfileActivity.this, getString(R.string.functionality_under_developing), Toast.LENGTH_SHORT).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bdc423fafd5f35ec70efe0ba78ce64c6\",\n \"score\": \"0.6342054\",\n \"text\": \"@Override\\n public void onClick(View v) {\\n Toast.makeText(requireContext(), \\\"a button was clicked\\\", Toast.LENGTH_SHORT).show();\\n binding.output.append(\\\"\\\\na button was clicked\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"89c6dcc533468b5ddc614959a7269e93\",\n \"score\": \"0.63276345\",\n \"text\": \"@Override\\n public void onClick(View view) {\\n String message = getString(R.string.playlist_2) + \\\" is now playing.\\\";\\n Toast.makeText(getApplicationContext(), message, Toast.LENGTH_LONG).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"89860cd7772d036031fe35adb5a18772\",\n \"score\": \"0.6312207\",\n \"text\": \"@Override\\n public void onClick(View view) {\\n txtOutput.setText(txtOutput.getText().toString() + btn.getText().toString());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f89a941b0d69c9451c9854d6cd5817e\",\n \"score\": \"0.63000125\",\n \"text\": \"@Override\\n public void run(){\\n Toast.makeText(Manage_Fuel_Navigation.this, getResources().getString(R.string.sj_added_successfully), Toast.LENGTH_SHORT).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b36ab6c7fced575527462b9a9e386df0\",\n \"score\": \"0.62955946\",\n \"text\": \"@Override\\n\\t\\t\\t\\t\\tpublic void onClick(View v) {\\n\\t\\t\\t\\t\\t\\tToastUtils.showToast(getActivity(), \\\"发现\\\", Toast.LENGTH_SHORT);\\n\\t\\t\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0519bf62ef3a321bc7ac44fb925286bb\",\n \"score\": \"0.62843025\",\n \"text\": \"@Override\\n public void onClick(View v) {\\n Toast.makeText(context, \\\"You Clicked \\\" + playerName.get(position), Toast.LENGTH_LONG).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7c160efb045af5b27c78660a6fcd566\",\n \"score\": \"0.62797004\",\n \"text\": \"@Override\\n public void onClick(View v) {\\n Toast.makeText(context,\\\"AGREGADO \\\" + homeObjects.get(position).title + \\\" A FAVORITOS\\\",Toast.LENGTH_LONG).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"de079ee3a57e34d33a86b2d468122c14\",\n \"score\": \"0.6272353\",\n \"text\": \"public void clickButton(View view){\\n Toast.makeText(this, String.valueOf(count++), Toast.LENGTH_SHORT).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"40d72d226a95b6e780a50b6b6fbac8d3\",\n \"score\": \"0.6255987\",\n \"text\": \"public void onClick(View v) {\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tButton btn=(Button)v;\\n\\t\\t\\t\\tString buttonTxt=btn.getText().toString();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tString txt=display.getText().toString();\\n\\t\\t\\t\\tboolean check = txt.equals(\\\"0\\\");\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tif(!check)\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\tdisplay.setText(txt+buttonTxt);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4079383209b91a0da419eefad0f1636\",\n \"score\": \"0.625142\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void onClick(View widget) {\\n\\t\\t\\t\\tToast.makeText(MainActivity.this, \\\"TEST\\\", Toast.LENGTH_LONG).show();\\r\\n\\t\\t\\t\\tLog.i(\\\"tag\\\", \\\"tag\\\");\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"111d3d52d89a1b45a3e4e0523abd0bef\",\n \"score\": \"0.62443966\",\n \"text\": \"private void showWaitToast(){ String s = getString(R.string.toast_wait_next_player); showToast(s); }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af1abae0acb25c1cb531b60f9315648e\",\n \"score\": \"0.62323236\",\n \"text\": \"@Override\\n public void onClick(View v) {\\n\\n deleteAlert(tags[position]);\\n //System.out.println(tv.getText());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6d069a24514322df740c222e95734aeb\",\n \"score\": \"0.62204945\",\n \"text\": \"@Override\\n public void onClick(View v) {\\n MastersCommonCodes.Builder(MainActivity.this).showToast(MainActivity.this, \\\"Hello MasterCommonCodes\\\", 0);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fa1e7866ec5198522a9fee650ba034de\",\n \"score\": \"0.61782163\",\n \"text\": \"@Override\\n public void onClick(View v) {\\n Toast.makeText(getApplicationContext(),\\\"인원을 입력하세요\\\",Toast.LENGTH_SHORT).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ff9d9b56444f9179d2282d56e6af15a\",\n \"score\": \"0.61771184\",\n \"text\": \"@Override\\n public void onClick(View v) {\\n tvoper1.setText(\\\"\\\");\\n tvoper2.setText(\\\"\\\");\\n tvop.setText(\\\"\\\");\\n result.setText(\\\"\\\");\\n flagMudancaTexto = false; // retorna foco para primeira caixa\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c0c169c8db40873818418115792ded1d\",\n \"score\": \"0.6173984\",\n \"text\": \"@Override\\n public void onClick(View v) {\\n Toast.makeText(RestaurantDetail.this, \\\"This feature will be available soon!\\\", Toast.LENGTH_LONG).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1bd45fcb28b7a0f1bc64b5727581719\",\n \"score\": \"0.61553353\",\n \"text\": \"public void onClick(DialogInterface arg0, int arg1) {\\n // the button was clicked\\n Toast.makeText(getApplicationContext(), \\\"Enter The Crop ID\\\", Toast.LENGTH_LONG).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1bd45fcb28b7a0f1bc64b5727581719\",\n \"score\": \"0.61553353\",\n \"text\": \"public void onClick(DialogInterface arg0, int arg1) {\\n // the button was clicked\\n Toast.makeText(getApplicationContext(), \\\"Enter The Crop ID\\\", Toast.LENGTH_LONG).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"308230144fc04a3f134074c475d17952\",\n \"score\": \"0.6146816\",\n \"text\": \"public void sendToast(View view){\\n\\r\\n Toast toast = Toast.makeText(MainActivity.this,\\\"Ceci est un magnifique toast\\\",Toast.LENGTH_SHORT);\\r\\n toast.show();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da34fff0541d5a20bc29ecc8bc1255ce\",\n \"score\": \"0.6131522\",\n \"text\": \"@Override\\n public void onClick(View view) {\\n Context context = getActivity();\\n CharSequence msgUpdate = \\\"Updating...\\\";\\n int duration = Toast.LENGTH_SHORT;\\n\\n Toast toast = Toast.makeText(context, msgUpdate, duration);\\n toast.show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a6274296d606e72b7d4b3a748572d0b3\",\n \"score\": \"0.6110116\",\n \"text\": \"public void HandleClick(View view) {\\n if (view.getId() == R.id.SpotifySteamerButton) {\\n // button1 action\\n Button buttonObj = (Button) view;\\n buttonClickDisplayText(buttonObj, ToastDisplayConstants.SpotifySteamer_Text_Constant);\\n }\\n if (view.getId() == R.id.ScoreAppButton) {\\n //button2 action\\n Button buttonObj = (Button) view;\\n buttonClickDisplayText(buttonObj, ToastDisplayConstants.Score_Text_Constant);\\n }\\n if (view.getId() == R.id.LibraryAppButton) {\\n //button3 action\\n Button buttonObj = (Button) view;\\n buttonClickDisplayText(buttonObj, ToastDisplayConstants.Library_Text_Constant);\\n }\\n if (view.getId() == R.id.BuildItAppButton) {\\n //button3 action\\n Button buttonObj = (Button) view;\\n buttonClickDisplayText(buttonObj, ToastDisplayConstants.BuildIt_Text_Constant);\\n }\\n if (view.getId() == R.id.XYZReaderAppButton) {\\n //button3 action\\n Button buttonObj = (Button) view;\\n buttonClickDisplayText(buttonObj, ToastDisplayConstants.XYZReader_Text_Constant);\\n }\\n if (view.getId() == R.id.CapstoneAppButton) {\\n //button3 action\\n Button buttonObj = (Button) view;\\n buttonClickDisplayText(buttonObj, ToastDisplayConstants.Capstone_Text_Constant);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"987401ab4d6c6bafb76faa86d850a254\",\n \"score\": \"0.609492\",\n \"text\": \"@Override\\n public void run(){\\n Toast.makeText(Manage_Fuel_Navigation.this, getResources().getString(R.string.sj_reassigned_successfully), Toast.LENGTH_SHORT).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"62dd9d9cf2a4eace6aadd450b05c8c18\",\n \"score\": \"0.6087613\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void onClick(View v) {\\n\\t\\t\\t\\tToast.makeText(ToastActivity.this, \\\"Tesing general Toast\\\", Toast.LENGTH_SHORT).show();\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd0d38891ceb512b50454251471a72d0\",\n \"score\": \"0.6060356\",\n \"text\": \"public void onItemClick(AdapterView ad, View v, int pos, long id) {\\n\\t\\t TextView item=(TextView) v;\\n\\t\\t CharSequence texte=item.getText();\\n\\t Toast.makeText(getApplicationContext(), texte,\\n\\t Toast.LENGTH_SHORT).show();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"591c0aab993ed90c2da06b5b0d3c1725\",\n \"score\": \"0.6060062\",\n \"text\": \"@Override\\n public void onItemClick(AdapterView parent, View view, int position, long id) {\\n\\n Toast.makeText(getContext(),position+\\\"\\\",Toast.LENGTH_SHORT).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"591c0aab993ed90c2da06b5b0d3c1725\",\n \"score\": \"0.6060062\",\n \"text\": \"@Override\\n public void onItemClick(AdapterView parent, View view, int position, long id) {\\n\\n Toast.makeText(getContext(),position+\\\"\\\",Toast.LENGTH_SHORT).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"591c0aab993ed90c2da06b5b0d3c1725\",\n \"score\": \"0.6060062\",\n \"text\": \"@Override\\n public void onItemClick(AdapterView parent, View view, int position, long id) {\\n\\n Toast.makeText(getContext(),position+\\\"\\\",Toast.LENGTH_SHORT).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54ab130c92da27e060e03cd34ea67756\",\n \"score\": \"0.60457486\",\n \"text\": \"@Override\\n public void run(){\\n Toast.makeText(Manage_Fuel_Navigation.this, getResources().getString(R.string.sj_deleted_succesfully), Toast.LENGTH_SHORT).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"457bffd4e901a7a1ce166e9d7bf2190f\",\n \"score\": \"0.6036894\",\n \"text\": \"@Override\\n public void onClick(View v) {\\n Toast toast = Toast.makeText(mRootView.getContext(),\\\"Settings saved !\\\" , Toast.LENGTH_SHORT);\\n toast.show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4de2c19aee73d8bf5d693d31403020dc\",\n \"score\": \"0.6036528\",\n \"text\": \"@Override\\n public void onClick(View view) {\\n Toast.makeText(context, \\\"Maybe one day I can finish this app...\\\", Toast.LENGTH_LONG).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2282a043bd12d0d166013c573acf83e\",\n \"score\": \"0.6019434\",\n \"text\": \"@Override\\n public void onClick(View v) {\\n int toastTime = Toast.LENGTH_SHORT;\\n if (table.getText().equals(\\\"x\\\")) Toast.makeText(parentActivity,table.getResources().getText(R.string.Catalan_table_not_available),toastTime).show();\\n else if (table.getText().equals(\\\"\\\")) Toast.makeText(parentActivity,table.getResources().getText(R.string.Catalan_table_already_assigned),toastTime).show();\\n else parentActivity.launchMarkPosition(rowPos,colPos);\\n //------------------------------------------------------------------\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2803243c898190e01015b10fce3019ad\",\n \"score\": \"0.60170597\",\n \"text\": \"@Override\\n public void onClick(View v) {\\n update_result(G1,G2,G3,G4,G5);\\n mGPAButton.setText(R.string.Clear);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0901ee79cb9af12dab012725b779faaf\",\n \"score\": \"0.60096323\",\n \"text\": \"public void buttonClickHandler(View view) {\\n Toast.makeText(MainActivity.this, \\\"You CLICK THE SUBMIT BUTTON\\\", Toast.LENGTH_SHORT).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eef551c034b43872675ae4efd7efa77e\",\n \"score\": \"0.60058695\",\n \"text\": \"@Override\\n public void run() {\\n showToast(text, Toast.LENGTH_SHORT);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eef551c034b43872675ae4efd7efa77e\",\n \"score\": \"0.60058695\",\n \"text\": \"@Override\\n public void run() {\\n showToast(text, Toast.LENGTH_SHORT);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ff3150ae2afa13ebfca3f36fe5ef083c\",\n \"score\": \"0.5994212\",\n \"text\": \"@Override\\n public void onClick(View view) {\\n Toast.makeText(getContext(), moodList.getComment(), Toast.LENGTH_SHORT).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a382b03af9851df8f3b23bb928ae107\",\n \"score\": \"0.5986072\",\n \"text\": \"private void showToast(String text){\\n Toast.makeText(MainActivityJava.this, text, Toast.LENGTH_SHORT).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"170d811c118c7daa73d8c6f428d57b2c\",\n \"score\": \"0.59774697\",\n \"text\": \"public void onClick(View v) {\\n\\t\\tswitch (v.getId()) {\\n\\t\\tcase R.id.button1:\\n\\t\\t\\tToast.makeText(MainActivity.this, \\\"11111\\\", 2000).show();\\n\\t\\t\\tbreak;\\n\\n\\t\\tdefault:\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7746d075d8fa1fa47f400d1ef544f550\",\n \"score\": \"0.59761393\",\n \"text\": \"public void onButtonTap(View v,TextView mt){\\n mt.setText(\\\"sdsd\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d96a0688d9ec7a05787ce925cd6e6f9e\",\n \"score\": \"0.59616816\",\n \"text\": \"public void Toast(int i){\\n if (i == 1){\\n Toast toast = Toast.makeText(this, R.string.label_noCheck, Toast.LENGTH_SHORT);\\n toast.setGravity(Gravity.TOP,0,1450);\\n toast.show();\\n }\\n\\n if (i == 2){\\n Toast toast = Toast.makeText(this, R.string.label_ultimo, Toast.LENGTH_SHORT);\\n toast.setGravity(Gravity.TOP,0,1450);\\n toast.show();\\n }\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"53977ff53be6cfb5ac47e574c7b41428\",\n \"score\": \"0.59572446\",\n \"text\": \"@Override\\n public void run(){\\n Toast.makeText(Messaging_Navigation.this, getResources().getString(R.string.sj_reassigned_successfully), Toast.LENGTH_SHORT).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"16b6ea98981dba1563322dd5470f8584\",\n \"score\": \"0.5948479\",\n \"text\": \"public void buttonClick(View v) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a264805c91c39433eae18d3556ca33fd\",\n \"score\": \"0.5945412\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void onClick(View arg0) {\\n\\t\\t\\t\\tToast.makeText(getApplicationContext(), \\\"Button Click\\\",\\n\\t\\t\\t\\t\\t\\tToast.LENGTH_SHORT).show();\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"443b6587cea819c4d27a03635008d450\",\n \"score\": \"0.5945154\",\n \"text\": \"private void showToast(){\\n Toast toast = Toast. makeText(this, \\\"TE HAS EQUIVOCADO\\\", Toast.LENGTH_SHORT);\\n toast.setGravity(Gravity.CENTER_VERTICAL | Gravity.START,160,0);\\n toast.show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ea6e89e81b289b684674f84bfbb4eb75\",\n \"score\": \"0.59429663\",\n \"text\": \"@Override\\n public void onClick(View v) {\\n //Intent intent=new Intent(context, PlanNutrionalDetalleActivity.class);\\n Toast.makeText(v.getContext(),\\\"Tuanis\\\",Toast.LENGTH_SHORT).show();\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6bba52ed4c45147792c2f6eb5c487c84\",\n \"score\": \"0.5942527\",\n \"text\": \"@OnClick(R.id.button1)\\n\\tpublic void button1() {\\n\\t\\ttv.setText(\\\"GoodBye!\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42e546319b6c67b458ec776e620249e0\",\n \"score\": \"0.59391236\",\n \"text\": \"@Override\\r\\n \\tpublic void onClick(View v) {\\n \\t\\tToast.makeText(getActivity(), \\\"TODO: Actually send suggestion\\\",\\r\\n \\t\\t\\t\\tToast.LENGTH_SHORT).show();\\r\\n \\t\\tmQuestion.setText(\\\"\\\");\\r\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b590075c4053d467ccf8c7718b040afe\",\n \"score\": \"0.5938664\",\n \"text\": \"@Override\\n public void onClick(View v) {\\n EditText et = (EditText) findViewById(R.id.editText);\\n String entry = et.getText().toString();\\n\\n Snackbar.make(v, \\\"Your entered \\\" + entry, Snackbar.LENGTH_LONG)\\n .setAction(\\\"Action\\\", null).show();\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2f30dd396d54cb204f01dee2eb291435\",\n \"score\": \"0.5935026\",\n \"text\": \"public void showToastDeleted(){\\n Toast.makeText(this, \\\"Task Deleted!\\\", Toast.LENGTH_SHORT).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a1426c2213c19be4b23bd3c990cadef\",\n \"score\": \"0.5926405\",\n \"text\": \"@Override\\n public void onItemClick(AdapterView parent, View view, int position, long id) {\\n\\n Context context = getActivity();\\n CharSequence text = CustomGameList.get(position).getGamename();\\n int duration = Toast.LENGTH_SHORT;\\n\\n Toast toast = Toast.makeText(context, text, duration);\\n toast.show();\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ad2da63e8b2075c7fc221acc809fa5a\",\n \"score\": \"0.5911023\",\n \"text\": \"void showToast();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"23e93c09ebc98715da0440d92793999c\",\n \"score\": \"0.5906732\",\n \"text\": \"public void sendMessage(View view) {\\r\\n Context context = getApplicationContext();\\r\\n\\r\\n CharSequence text1 = \\\"This button will launch streamer app!\\\";\\r\\n CharSequence text2 = \\\"This button will launch scores app!\\\";\\r\\n CharSequence text3 = \\\"This button will launch library app!\\\";\\r\\n CharSequence text4 = \\\"This button will launch build it bigger!\\\";\\r\\n CharSequence text5 = \\\"This button will launch XYZ reader!\\\";\\r\\n CharSequence text6 = \\\"This button will launch my app!\\\";\\r\\n int duration = Toast.LENGTH_SHORT;\\r\\n\\r\\n switch(view.getId()) {\\r\\n case R.id.button1:\\r\\n Toast.makeText(context, text1, duration).show();\\r\\n break;\\r\\n case R.id.button2:\\r\\n Toast.makeText(context, text2, duration).show();\\r\\n break;\\r\\n case R.id.button3:\\r\\n Toast.makeText(context, text3, duration).show();\\r\\n break;\\r\\n case R.id.button4:\\r\\n Toast.makeText(context, text4, duration).show();\\r\\n break;\\r\\n case R.id.button5:\\r\\n Toast.makeText(context, text5, duration).show();\\r\\n break;\\r\\n case R.id.button6:\\r\\n Toast.makeText(context, text6, duration).show();\\r\\n break;\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1e69207166dda8ce17c7f4325a0973a7\",\n \"score\": \"0.5893007\",\n \"text\": \"@Override\\n public void run() {\\n showToast(text, Toast.LENGTH_LONG);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1e69207166dda8ce17c7f4325a0973a7\",\n \"score\": \"0.5893007\",\n \"text\": \"@Override\\n public void run() {\\n showToast(text, Toast.LENGTH_LONG);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5c4211e7bdbfb9929dd51820627b058c\",\n \"score\": \"0.5891725\",\n \"text\": \"@Override\\n public void run() {\\n Toast toast = Toast.makeText(getApplicationContext(),\\\"No songs found :(\\\",Toast.LENGTH_SHORT);\\n // Center toast\\n toast.setGravity(Gravity.TOP|Gravity.LEFT,600,200);\\n toast.show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"12a15e127c18e6ac0c7611c06ed9629a\",\n \"score\": \"0.5886196\",\n \"text\": \"public void onClick(View v)\\n {\\n Toast.makeText(getApplicationContext(),\\\"Hello from Mark as read Icon\\\", Toast.LENGTH_LONG).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fffa8bdaf684bf55e4bb3e23d527121a\",\n \"score\": \"0.5846901\",\n \"text\": \"@Override\\n public void run(){\\n Toast.makeText(Manage_Fuel_Navigation.this, getResources().getString(R.string.sj_updated_succesfully), Toast.LENGTH_SHORT).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"24b0e14189c8cf6bb812206ed4e64051\",\n \"score\": \"0.58435404\",\n \"text\": \"@Override\\n\\t\\tpublic void onClick(View v) {\\n\\t\\t\\tif(spf.getInt(\\\"music\\\", 0)==0){\\n\\t\\t\\t\\tsound.play(ButtonSound, 1, 1, 0, 0, 1);\\n\\t\\t\\t}\\n\\t\\t\\tint st,tst;\\n\\t\\t\\tswitch(v.getId()){\\n\\t\\t\\tcase R.id.button1:\\n\\t\\t\\t\\tmydb=openOrCreateDatabase(SQL_NAME, MODE_PRIVATE, null);\\n\\t\\t\\t\\tCursor cur=mydb.query(SFGTB_NAME, new String[] {NAME}, null, null, null, null, null);\\n\\t\\t\\t\\tst=cur.getCount();\\n\\t\\t\\t\\tcur=mydb.query(THHN_NAME, new String[] {NAME}, null, null, null, null, null);\\n\\t\\t\\t\\ttst=cur.getCount();\\n\\t\\t\\t\\tcur.close();\\n\\t\\t\\t\\tmydb.close();\\n\\t\\t\\t\\tif(st!=0||tst!=0){\\n\\t\\t\\t\\t\\tSimpleDateFormat sdf = new SimpleDateFormat(\\\"yyyy.MM.dd HH.mm.ss\\\");\\n\\t\\t\\t\\t\\tView bn = getLayoutInflater().inflate(R.layout.backupname,\\n\\t\\t\\t\\t\\t\\t\\t(ViewGroup) findViewById(R.layout.backupname));\\n\\t\\t\\t\\t\\tEditText et=(EditText)bn.findViewById(R.id.editText1);\\n\\t\\t\\t\\t\\tString name=\\\"Backup\\\"+spf.getInt(\\\"Backup\\\", 0)+\\\"(\\\"+sdf.format(new Date())+\\\")\\\";\\n\\t\\t\\t\\t\\tet.setText(name);\\n\\t\\t\\t\\t\\tAlertDialog.Builder builder = new AlertDialog.Builder(Backup.this);\\n\\t\\t\\t\\t\\tbuilder.setTitle(getString(R.string.backupname));\\n\\t\\t\\t \\tbuilder.setView(bn);\\n\\t\\t\\t \\tbuilder.setCancelable(false);\\n\\t\\t\\t \\tBackupna ba =new Backupna(et,name,0,false);\\n\\t\\t\\t \\tbuilder.setNegativeButton(getString(R.string.sfgt1), ba);\\n\\t\\t\\t \\tbuilder.setPositiveButton(getString(R.string.ca), ba);\\n\\t\\t\\t \\tbuilder.show(); \\n\\t\\t\\t\\t}else{\\n\\t\\t\\t\\t\\tToast.makeText(getApplicationContext(), getString(R.string.ontdata), Toast.LENGTH_LONG).show();\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase R.id.button2:\\n\\t\\t\\t\\tView vi = getLayoutInflater().inflate(R.layout.pleasewait,\\n\\t\\t\\t\\t\\t\\t(ViewGroup) findViewById(R.layout.pleasewait));\\n\\t\\t\\t\\tTextView pwtv=(TextView)vi.findViewById(R.id.textView1);\\n\\t\\t\\t\\tpwtv.setTextSize(size);\\n\\t\\t\\t\\tAlertDialog dead=new AlertDialog.Builder(Backup.this).setView(vi).setCancelable(false).show();\\n\\t\\t\\t\\tnew Thread(new Openbackupfile(false,dead)).start();\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"53669dc198b42a9c005ae30ebed7ef5c\",\n \"score\": \"0.5840348\",\n \"text\": \"@Override\\n public void onClick(View view) {\\n int temp = view.getId();\\n if (view.getId() !=R.id.tvFrage ) {\\n Button bTemp = (Button) view;\\n sButtText = bTemp.getText().toString();\\n boolean eingrenzRight = true;//= logic2.checkAnswer(sButtText);\\n // erster bool bringt richtig/falsch, zweiter ob es eine eingrenzung war\\n String infoText = \\\" aktiv:\\\" ;//+ MySingleton.getInstance().aktiviert + \\\" deactiv: \\\" + MySingleton.getInstance().deaktiviert + \\\" Score: \\\" + MySingleton.getInstance().score + \\\" Next: \\\" + MySingleton.getInstance().next + \\\"\\\\n MaxDiff: \\\" + MySingleton.getInstance().maxDifference + \\\" Antwort: \\\" + sButtText;\\n infoText = infoText + MySingleton.getInstance().vorschubText;\\n\\n tvInfo.setText(infoText);\\n if (eingrenzRight) {\\n bChoice[0].performHapticFeedback(HapticFeedbackConstants.VIRTUAL_KEY);\\n tvInfo.setBackgroundColor(Color.GREEN);\\n neueFrage();\\n } else {\\n tvInfo.setBackgroundColor(Color.RED);\\n Vibrator v = (Vibrator)ourContext.getSystemService(Context.VIBRATOR_SERVICE);\\n v.vibrate(250);\\n neueFrage();\\n }\\n ;\\n } else {\\n Intent intent = new Intent();\\n intent.setClass(ourContext, SimpleBrowserActiv.class);\\n startActivity(intent);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54a4ad05aae395a24106368b23037ffc\",\n \"score\": \"0.58367527\",\n \"text\": \"@Override\\n public void onClick(View v) {\\n Button button = (Button) v;\\n Intent intent = new Intent(getApplicationContext(), chart.class);\\n TextView result = (TextView) findViewById(R.id.result);\\n message = result.getText().toString();\\n EditText note = (EditText) findViewById(R.id.note);\\n messagenote = note.getText().toString();\\n messagebtn = button.getText().toString();\\n insertdbinfo();\\n intent.putExtra(EXTRA_MESSAGE, message);\\n intent.putExtra(EXTRA_NOTE, messagenote);\\n intent.putExtra(EXTRA_BUTTON, messagebtn);\\n\\n\\n startActivity(intent);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"be8a7a2001d67c5ff52c8e2e6c3578fb\",\n \"score\": \"0.58222836\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void onClick(View v)\\n\\t\\t\\t{\\n\\t \\t\\tSystem.out.println(\\\"点击了button2\\\");\\n\\t \\t\\tToast.makeText(EricMainActivity.this, \\\"2\\\", Toast.LENGTH_SHORT).show();\\t\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"89d307b26195e674a4386e6faaedc9d2\",\n \"score\": \"0.5813198\",\n \"text\": \"@Override\\n public void run() {\\n mFavButton.setText(getString(R.string.rem_fav));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d0fa7caf03fb7d86d3093edee83dba75\",\n \"score\": \"0.58114827\",\n \"text\": \"void showToast(String texttoshow) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1741341158454bac333b5dc457f37820\",\n \"score\": \"0.58106184\",\n \"text\": \"@Override\\n public void onClick(View view) {\\n String s=et.getText().toString();\\n //TextView tv=new TextView(MainActivity.this);\\n //tv.setText(s);\\n // l1.addView(tv);\\n et.setText(\\\"\\\");\\n myRef = database.getReference(\\\"message\\\");\\n myRef.setValue(s);\\n //i++;\\n //TextView tvf=new TextView(MainActivity.this);\\n //tvf.setText();\\n\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9903ce5e291cafa35e75c5e085ce21f2\",\n \"score\": \"0.5804149\",\n \"text\": \"@Override\\n public void onClick(DialogInterface dialog, int i) {\\n String myText = sensorSelection[i].toString();\\n Boolean reset = false;\\n\\n if(myText.equalsIgnoreCase(\\\"reset\\\")) {\\n myText = \\\"ADC\\\";\\n reset = true;\\n }\\n\\n switch (view.getId()) {\\n case R.id.ADC1_button:\\n if(reset)\\n myText += \\\"1\\\";\\n sensorNameRef.child(\\\"ADC1\\\").setValue(myText);\\n break;\\n case R.id.ADC2_button:\\n if(reset)\\n myText += \\\"2\\\";\\n sensorNameRef.child(\\\"ADC2\\\").setValue(myText);\\n break;\\n case R.id.ADC3_button:\\n if(reset)\\n myText += \\\"3\\\";\\n sensorNameRef.child(\\\"ADC3\\\").setValue(myText);\\n break;\\n case R.id.ADC4_button:\\n if(reset)\\n myText += \\\"4\\\";\\n sensorNameRef.child(\\\"ADC4\\\").setValue(myText);\\n break;\\n case R.id.ADC5_button:\\n if(reset)\\n myText += \\\"5\\\";\\n sensorNameRef.child(\\\"ADC5\\\").setValue(myText);\\n break;\\n case R.id.ADC6_button:\\n if(reset)\\n myText += \\\"6\\\";\\n sensorNameRef.child(\\\"ADC6\\\").setValue(myText);\\n break;\\n case R.id.ADC7_button:\\n if(reset)\\n myText += \\\"7\\\";\\n sensorNameRef.child(\\\"ADC7\\\").setValue(myText);\\n break;\\n case R.id.ADC8_button:\\n if(reset)\\n myText += \\\"8\\\";\\n sensorNameRef.child(\\\"ADC8\\\").setValue(myText);\\n break;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f78a3594353ac5a62111ebd9ef5820dd\",\n \"score\": \"0.57937294\",\n \"text\": \"@Override\\n protected void onClickConfirmed(View v, Marker marker) {\\n Toast.makeText(MainActivity.this, marker.getTitle() + \\\"'s button clicked!\\\", Toast.LENGTH_SHORT).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7be771285bfd4f45368edb779e5a56b5\",\n \"score\": \"0.57911503\",\n \"text\": \"@Override\\n public void run() {\\n Toast.makeText(context, \\\"no s'han pogut llegir els missatges nous.\\\", Toast.LENGTH_LONG).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d34c1e27f303c832e559e44bd096108\",\n \"score\": \"0.57807755\",\n \"text\": \"@Override\\n public void onClick(View v) {//because the view class that was passed implements the onclicklistener method the onclick method must be implemented here\\n\\n //now that we will know when a button will be pressed, this is what we want to happen\\n //toasts are pop ups that alert the user of something but does not require an action from them\\n //here we call the static method from toast class: make text and pass in:\\n //context = an instance of activity(subclass of context) bascially telling it which view to show it\\n //resId = the reference of the string that we want displayed\\n //and duration = how long we want to display it\\n //then call show method from toast class to show it\\n //Toast.makeText(QuizActivity.this, R.string.correct_toast, Toast.LENGTH_SHORT).show();\\n //REPLACED BY (encapsulation)\\n checkAnswer(true);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ad4a627f01e2a9d3b21459944806156c\",\n \"score\": \"0.5778335\",\n \"text\": \"private void showToast(String msg) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8e9ba41698fb702302b9d4e32d7cea47\",\n \"score\": \"0.577546\",\n \"text\": \"@Override\\n \\tpublic void onClick(View arg0)\\n \\t{\\n \\t\\tSystem.out.println(\\\"点击了button1\\\");\\n \\t\\tToast.makeText(EricMainActivity.this, \\\"1\\\", Toast.LENGTH_SHORT).show();\\n\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"92cbd0f199b81314cce055bbe5cad416\",\n \"score\": \"0.57742804\",\n \"text\": \"public void showToast(View view) {\\n\\n CharSequence text;\\n switch (view.getId()) {\\n case R.id.launchBuild:\\n text = \\\"This button will launch my Build it Bigger app!\\\";\\n break;\\n case R.id.launchCapstone:\\n text = \\\"This button will launch my Capstone app!\\\";\\n break;\\n case R.id.launchLibrary:\\n text = \\\"This button will launch my Library app!\\\";\\n break;\\n case R.id.launchScores:\\n text = \\\"This button will launch my Scores app!\\\";\\n break;\\n case R.id.launchSpotify:\\n text = \\\"This button will launch my Spotify Streamer app!\\\";\\n break;\\n case R.id.launchXYZ:\\n text = \\\"This button will launch my XYZ Reader app!\\\";\\n break;\\n default:\\n text = \\\"This button lives outside my control. Watch out!\\\";\\n }\\n\\n Context context = getApplicationContext();\\n int duration = Toast.LENGTH_SHORT;\\n\\n Toast toast = Toast.makeText(context, text, duration);\\n toast.show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"916f2c8400e003337da1830896f56e65\",\n \"score\": \"0.5770394\",\n \"text\": \"@Override\\n public void run() {\\n mFavButton.setText(getString(R.string.fav));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ec67156ab29ee2980b93d9b0f08d8ace\",\n \"score\": \"0.57695836\",\n \"text\": \"private void sayHello(){\\n Toast.makeText(MainActivity.this,\\n R.string.str_hola,\\n Toast.LENGTH_SHORT).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1453dd82f873a86ac58dcaf7fa141df\",\n \"score\": \"0.5768935\",\n \"text\": \"public void onClick(DialogInterface dialog, int whichButton) {\\n Editable YouEditTextValue = edittext.getText();\\n //OR\\n String text = edittext.getText().toString();\\n tvText1.setText(text);\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":336,"cells":{"query_id":{"kind":"string","value":"1d78d16fffed77d5256de595b43a8440"},"query":{"kind":"string","value":"/ Query the entire table, return all rows"},"positive_passages":{"kind":"list like","value":[{"docid":"9ae90f4b6e2d541debc6aeecb95ed5c1","score":"0.0","text":"public ArrayList fetchEntries() {\n\t\tSQLiteDatabase database = getWritableDatabase();\n\t\tArrayList entryList = new ArrayList();\n\t\tCursor cursor = database.query(Globals.TABLE_NAME_ENTRIES, mColumnList, \n\t\t\t\tnull, null, null, null, null);\n\t\t\n\t\t//Get each entry and save it to entryList\n\t\twhile (cursor.moveToNext()){\n\t\t\tTransactionEntry entry = cursorToEntry(false, cursor);\n\t\t\tentryList.add(entry);\n\t\t}\n\t\tcursor.close();\n\t\tdatabase.close();\n\t\t\n\t\treturn entryList;\n\t}","title":""}],"string":"[\n {\n \"docid\": \"9ae90f4b6e2d541debc6aeecb95ed5c1\",\n \"score\": \"0.0\",\n \"text\": \"public ArrayList fetchEntries() {\\n\\t\\tSQLiteDatabase database = getWritableDatabase();\\n\\t\\tArrayList entryList = new ArrayList();\\n\\t\\tCursor cursor = database.query(Globals.TABLE_NAME_ENTRIES, mColumnList, \\n\\t\\t\\t\\tnull, null, null, null, null);\\n\\t\\t\\n\\t\\t//Get each entry and save it to entryList\\n\\t\\twhile (cursor.moveToNext()){\\n\\t\\t\\tTransactionEntry entry = cursorToEntry(false, cursor);\\n\\t\\t\\tentryList.add(entry);\\n\\t\\t}\\n\\t\\tcursor.close();\\n\\t\\tdatabase.close();\\n\\t\\t\\n\\t\\treturn entryList;\\n\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"046db874864c6e7ff7dae73036580304","score":"0.7099776","text":"public ResultSet queryAll() throws SQLException\r\n {\r\n String sql = \"SELECT * FROM Guest\";\r\n Statement stat = conn.createStatement();\r\n ResultSet result = stat.executeQuery(sql);\r\n return result;\r\n }","title":""},{"docid":"a2838f37e6d67196d8a3b27a5ef0bf62","score":"0.6876214","text":"public static ResultSet getAllRecords(String tableName) {\n String sqlStatement = \"SELECT * FROM \" + DBConnection.databaseName + \".\"\n + tableName + \";\";\n Query.makeQuery(sqlStatement);\n ResultSet result = Query.getResult();\n \n return result;\n }","title":""},{"docid":"30b15752f6e2a6ada34a04df040378e7","score":"0.6857673","text":"Cursor getAllRows() {\n Cursor c = db.query(true, TABLE_NAME, ALL_COL, null, null, null, null, ORDER_NEXT_CONNECT, null);\n if (c != null) {\n c.moveToFirst();\n }\n return c;\n }","title":""},{"docid":"5b50203ca880a1437a241dcd0bf89cce","score":"0.6826161","text":"public IDatabaseReader selectAll(final ITable table);","title":""},{"docid":"c817da7fd6f0c48aa8ce774edbe21215","score":"0.6763975","text":"public ArrayList all() throws SQLException {\n\t\tPreparedStatement stmt = DatabaseConnection.get().prepareStatement(\n\t\t\t\t\"select * from \" + table_name() + order_string());\n\t\treturn where(stmt);\n\t}","title":""},{"docid":"c3ccfad9ae24774c5a377e063aa28799","score":"0.66849613","text":"public ResultSet getAllRowsFromUserTable() throws SQLException {\r\n \t\tResultSet rs = null;\r\n \t\ttry {\r\n \t\t\trs = stmt.executeQuery(\"select * from USER_TABLE \");\r\n \t\t} catch (SQLException e) {\r\n \t\t\te.printStackTrace();\r\n \t\t}\r\n \t\treturn rs;\r\n \t}","title":""},{"docid":"569374de3dba57e7adfe970cbe8f7664","score":"0.6671065","text":"public List getAll() {\n LinkedList allEntries = new LinkedList<>();\n ConnectionRecord cr = getConnection();\n Connection c = cr.connection;\n\n V t = null;\n try {\n PreparedStatement stmt = c.prepareStatement(getTable().createSelectAllStatement());\n stmt.executeQuery();\n ResultSet rs = stmt.getResultSet();\n // Now we have to pull in all the values.\n while (rs.next()) {\n ColumnMap map = rsToMap(rs);\n t = create();\n populate(map, t);\n allEntries.add(t);\n }\n\n rs.close();\n stmt.close();\n releaseConnection(cr);\n } catch (SQLException e) {\n destroyConnection(cr);\n throw new GeneralException(\"Error getting all entries.\", e);\n }\n return allEntries;\n }","title":""},{"docid":"ac9c6062c3668122e7721dd64cd298ff","score":"0.65402156","text":"public List findAll() {\r\n\t\tConnection conn = ConnectionFactory.getConnection();\r\n\t\tStringBuilder sb = new StringBuilder();\r\n\t\tsb.append(\"SELECT * FROM \" + type.getSimpleName());\r\n\t\t//statement without a condition which returns the entire table\r\n\t\tPreparedStatement st = null;\r\n\t\tResultSet rs = null;\r\n\t\ttry {\r\n\t\t\tst = conn.prepareStatement(sb.toString());\r\n\t\t\trs = st.executeQuery();\r\n\t\t}\r\n\t\tcatch (Exception e) {\r\n\t\t}\r\n\t\t// convert the result set to a list of objects\r\n\t\treturn createObjects(rs);\r\n\t}","title":""},{"docid":"4fbf33bf6be0761f4f32dd66e911b5c2","score":"0.65264964","text":"@Override\n public List getAll() throws DaoMySqlException {\n String sql = getSelectQuery();\n List parsedList;\n try (PreparedStatement statement = connectionManager.getConnection().prepareStatement(sql)) {\n ResultSet rs = statement.executeQuery();\n parsedList = parseResultSet(rs);\n } catch (Exception e) {\n throw new DaoMySqlException(e);\n }\n return parsedList;\n }","title":""},{"docid":"8b93e4316ebd46ff4cd8f5903aff7170","score":"0.64826","text":"private synchronized ArrayList executeSelect(String query) {\r\n\t\tArrayList results = new ArrayList();\r\n\r\n\t\tStatement selectStmt = null;\r\n\t\tResultSet result = null;\r\n\t\ttry {\r\n\t\t\tselectStmt = connection.createStatement();\r\n\t\t\tresult = selectStmt.executeQuery(query);\r\n\t\t\t// Fetch rows\r\n\t\t\tresults = Row.formTable(result);\r\n\t\t} catch (SQLException e) {\r\n\t\t\t// TODO: log exceptions\r\n\t\t} finally {\r\n\t\t\ttry {\r\n\t\t\t\t// Release resources\r\n\t\t\t\tif (selectStmt != null)\r\n\t\t\t\t\tselectStmt.close();\r\n\t\t\t\tif (result != null)\r\n\t\t\t\t\tresult.close();\r\n\t\t\t} catch (SQLException e) {\r\n\t\t\t\t// TODO: log exceptions\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn results;\r\n\t}","title":""},{"docid":"61c36363340acfcc5bf4d76b60a102df","score":"0.6459408","text":"public Cursor fetchAllRows() {\n\n return mDb.query(STATS_TABLE, new String[] {COLUMN_ID, COLUMN_1,\n COLUMN_2, COLUMN_3, COLUMN_4, COLUMN_5, COLUMN_6, COLUMN_7, COLUMN_8, COLUMN_9}, null, null, null, null, COLUMN_1+\" DESC\");\n }","title":""},{"docid":"5cdc26c7fca52c84c06a25bca8ce34e4","score":"0.6411838","text":"@Override\n\tpublic List selectAll() {\n\t\treturn mapper.selectAll();\n\t}","title":""},{"docid":"f45c5f373878e558859e87ee0e3660e9","score":"0.6409694","text":"@Override\r\n\tpublic Hashtable selectAll() throws SQLException, Exception {\n\t\treturn null;\r\n\t}","title":""},{"docid":"f4c50f2e27b15db187ca30d2da3cee66","score":"0.6403702","text":"public List QueryAll() {\n\t\treturn dao.QueryAll();\n\t}","title":""},{"docid":"eb78ba7118a328168c5d18f63801632f","score":"0.63882494","text":"public List selectAll(String table) throws SQLException {\n\t\tString query = \"SELECT * FROM \" + table;\n\t\treturn query( query );\n\t}","title":""},{"docid":"5e668fd70020d1ae4da3d33521133b0e","score":"0.636458","text":"private Iterator fetchAllRows(ColumnParent colPar) {\r\n return new CassandraRowBatch(this, colPar);\r\n }","title":""},{"docid":"92f870bce8d2e824cdd058018a4cd9fe","score":"0.63477093","text":"public Cursor getAllTheRows(String table){\n\t\topen();\n\t\tCursor cursor = null;\n\t\ttry{\n\t\t\tcursor = database.rawQuery(\"SELECT * FROM \" + table + \";\", null);\n\t\t\tLog.i(DEBUG, String.valueOf(cursor.getCount()));\n\t\tclose();\n\t\t} catch(SQLiteException e){\n\t\t\tLog.e(DEBUG, e.toString());\n\t\t}\n\t\treturn cursor;\n\t}","title":""},{"docid":"17ad0596fd255d2b2dffe89f6cddcde0","score":"0.6331329","text":"@Override\r\n\tpublic List queryAll(String statement) throws Exception {\n\t\treturn sqlSessionTemplate.selectList(statement);\r\n\t}","title":""},{"docid":"3ce223f6974a0062136ac73637d05fd1","score":"0.6310737","text":"public Cursor selectAll() {\n SQLiteDatabase db = getWritableDatabase();\n Cursor cursor = db.rawQuery(\"SELECT * FROM entries\", null);\n return cursor;\n }","title":""},{"docid":"22b8e40df0186b223f019f35f2208b88","score":"0.630112","text":"public Cursor getAllData() {\n SQLiteDatabase db = this.getWritableDatabase();\n Cursor res = db.rawQuery(\"select * from \"+table_name,null);\n return res;\n }","title":""},{"docid":"8c1df9b287e01ef284a5f48e88ed4e01","score":"0.62971973","text":"public List getAll() throws DAOException {\n getConnection();\n List list;\n String sql = getSelectQuery();\n try (PreparedStatement statement = connection.prepareStatement(sql)) {\n ResultSet rs = statement.executeQuery();\n list = parseResultSet(rs);\n } catch (SQLException e) {\n logger.error(e.getMessage());\n throw new DAOException(\"Database issues. Please, try later.\");\n }\n closeConnection();\n return list;\n }","title":""},{"docid":"54d5109c7d4d2293ec3567189c8acba2","score":"0.6277694","text":"public ResultSet fetchData() throws SQLException {\n\n String query = this.fetchStatement();\n System.out.println(query);\n PreparedStatement ps = this.buildQuery(query, this.bindings);\n this.reset();\n ResultSet results = ps.executeQuery();\n\n return results;\n }","title":""},{"docid":"0dae5f8d87927edb7587e09db58a041b","score":"0.62674594","text":"public Cursor getAllData() {\n // Open the database for reading and writing\n SQLiteDatabase db = this.getWritableDatabase();\n\n // A Cursor represents the result of a query and basically points to one row of the query result.\n // This way Android can buffer the query results efficiently; as it does not have to load all data into memory.\n // the \"*\" means select \"all\"\n Cursor res = db.rawQuery(\"select * from \" + TABLE_NAME,null);\n return res;\n }","title":""},{"docid":"3ce46b3c005f7c76e9f30c986597bf85","score":"0.625309","text":"public synchronized Cursor allRecords() {\n return database.query(sourceName, fieldNames, null, null,\n null, null, \"date ASC\", null);\n }","title":""},{"docid":"9789ecbdbe8e2809a296e91af6ba5173","score":"0.62318754","text":"@Override\r\n\tpublic ArrayList getAll() throws SQLException {\n\t\treturn null;\r\n\t}","title":""},{"docid":"7f2567636311d656154cef5c6c01b12e","score":"0.62148255","text":"public static void getAllRecord(String tableName) {\n try {\n HTable table = new HTable(configuration, tableName);\n Scan s = new Scan();\n ResultScanner ss = table.getScanner(s);\n for (Result r : ss) {\n for (KeyValue kv : r.raw()) {\n System.out.print(new String(kv.getRow()) + \" \");\n System.out.print(new String(kv.getFamily()) + \":\");\n System.out.print(new String(kv.getQualifier()) + \" \");\n System.out.print(kv.getTimestamp() + \" \");\n System.out.println(new String(kv.getValue()));\n }\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }","title":""},{"docid":"0ecbcbb845254e27dc0637ad060f3a0e","score":"0.6212759","text":"Subquery all();","title":""},{"docid":"a31688ea33138f71bd4972d4f0cd3c22","score":"0.6210025","text":"public void fetchAllObjects()\n {\n ((IteratorTableModel) table.getModel()).fetchAllObjects();\n }","title":""},{"docid":"263f9272798e92e7b51753044c2ee116","score":"0.6201444","text":"public IDatabaseReader selectAll(final ITable table, String whereCondition);","title":""},{"docid":"07edce7c9196f1123cd026231af5029c","score":"0.6175688","text":"public static String queryAll()\n\t{\n\t\treturn \"SELECT * FROM Author\";\n\t}","title":""},{"docid":"bacee82c80ba0e28aab2c2267ced62ca","score":"0.6167954","text":"public Cursor selectAll() {\n Cursor c = db.rawQuery(\"SELECT *\" +\" from \" + TABLE_P_AND_P, null);\n return c;\n }","title":""},{"docid":"6c8ef0cb4a616c136fea81c9f56556d8","score":"0.6155684","text":"public Cursor retrieveAllInCursor();","title":""},{"docid":"9b6879a125475cab8393c030f11ef6e1","score":"0.6153861","text":"public Cursor selectAll() {\n SQLiteDatabase db = getReadableDatabase();\n String Query =\"SELECT * FROM entrytables\";\n Cursor cursor = db.rawQuery(Query, null);\n return cursor;\n }","title":""},{"docid":"8a14e90fd72fcd80a05c64d3bd1d6481","score":"0.61463666","text":"public Cursor getAllData()\n {\n SQLiteDatabase db = this.getWritableDatabase();\n Cursor res = db.rawQuery(\"select * from \" + TABLE_NAME, null);\n return res;\n\n }","title":""},{"docid":"d857c48bab480ca3f569b22c3fda5304","score":"0.61136967","text":"@Override\r\n\tpublic List queryAllRecords() {\n\t\treturn equipmentMapper.queryAllRecords();\r\n\t}","title":""},{"docid":"91d8e91f1d96237c6f943dffd16cf11f","score":"0.6110593","text":"public static List> executeQuery(String query)\n {\n\n List> table = new ArrayList<>();\n try\n {\n statement = connection.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);\n resultSet = statement.executeQuery(query);\n\n ResultSetMetaData resultSetMetaData = resultSet.getMetaData();\n\n while(resultSet.next())\n {\n Map row = new HashMap<>();\n for(int i = 1; i <= resultSetMetaData.getColumnCount(); i ++)\n {\n row.put(resultSetMetaData.getColumnName(i) , resultSet.getObject(i));\n }\n table.add(row);\n }\n\n }\n catch(SQLException ex)\n {\n ex.printStackTrace();\n }\n return table;\n }","title":""},{"docid":"f9c46e92e664f1b2bd5f2c63afb467a1","score":"0.60931146","text":"public List findAll() {\r\n return this.find(null, null, null, null, this.descriptor.getPrimaryKey().getColumn());\r\n }","title":""},{"docid":"53ce65126300c301d98578eb269877fc","score":"0.6087927","text":"public IgniteQuery getAllQuery() {\n return new IgniteAllQuery(name, admin);\n }","title":""},{"docid":"fd5fb34fa76a5bc8b83c5c317344e7a4","score":"0.6079715","text":"public List selectAllEntrenadores(){\r\n \r\n List entrenadores = new ArrayList();\r\n Query query = db.query(); //Creamos la query\r\n query.constrain(Entrenador.class); //Indicamos la clase del objeto a consultar\r\n //Obtenemos todos los que cumplan la condición de ser de la clase Entrenador\r\n ObjectSet resultado = query.execute(); \r\n \r\n while(resultado.hasNext()){\r\n Entrenador e = (Entrenador) resultado.next();\r\n entrenadores.add(e);\r\n }\r\n \r\n return entrenadores;\r\n \r\n }","title":""},{"docid":"fc6560bf3a4245ea5c3701f89a67b678","score":"0.6078396","text":"public static ResultScanner queryAll(String tbName) {\n\t\tScan scan = new Scan();\n\t\tResultScanner results = null;\n\t\ttry {\n\t\t\tTable table = connection.getTable(TableName.valueOf(tbName));\n\t\t\tresults = table.getScanner(scan);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn results;\n\t}","title":""},{"docid":"743e59eb8984d676d8643d2310199f99","score":"0.6065336","text":"public Collection getAllRows() throws ModelException {\n\t\treturn this.getRows();\n\t}","title":""},{"docid":"a595cd2192d9a4dd79630b39f51770e0","score":"0.60617703","text":"public RowSet findByAll() throws DAOException {\r\n \r\n\t\tString sqlStmt = DAOConstants.EMPSQL_FIND_ALL;\r\n\t\tConnection conn = null;\r\n\t\tRowSet returnRowSet = null;\r\n\r\n\t\ttry {\r\n\t\t\tlog.debug(\"finding all ProjectInfo entries\");\r\n\t\t\tconn = dbAccess.getConnection();\r\n\t\t\tPreparedStatement stmt = conn.prepareStatement(sqlStmt);\r\n\r\n\t\t\tResultSet rs = stmt.executeQuery();\r\n\r\n\t\t\tCachedRowSet crs = new CachedRowSetImpl();\r\n\t\t\tcrs.populate(rs);\r\n\t\t\r\n\t\t\tstmt.close();\r\n\t\t\trs.close();\r\n\t\t\treturn crs;\r\n\t\t} catch (DBAccessException e){\r\n\t\t\tthrow new DAOException (e.getMessageKey(),\r\n\t\t\t\te, DAOException.ERROR, true);\t\t\t\t\r\n\t\t\t\t}\r\n\t\t catch (SQLException e) {\r\n\t\t\tthrow new DAOException (\"sql.findall.exception.empdao\",\r\n\t\t\te, DAOException.ERROR, true);\r\n\t\t} finally {\r\n\t\t\ttry {\r\n\t\t\t\tdbAccess.closeConnection(conn);\r\n\t\t\t} catch (DBAccessException e1) {\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t}\r\n }","title":""},{"docid":"da90920314936c8505abe821cd1d39d4","score":"0.60573167","text":"public List querAll() {\n\t\treturn this.getSqlMapClientTemplate().queryForList(\"inviteTable.findAll\");\n\t}","title":""},{"docid":"695c6d47c56504a142ac87f810c21456","score":"0.6050258","text":"@Override\n\tpublic ResultSet executeQuery() throws SQLException {\n\t\tResultSet rs = statement.executeQuery();\n\t\tresultSets.add(rs);\n\t\treturn rs;\n\t}","title":""},{"docid":"5a66f9292edf6fb7134cbf0afde1bb18","score":"0.6043685","text":"@Override\n\tpublic Collection
getAll() throws SQLException {\n\t\tArrayList
borrowings = new ArrayList
();\n\n\t\tPreparedStatement ps = con.prepareStatement(\"SELECT * FROM Borrowing\");\n\t\tResultSet rs = ps.executeQuery();\n\t\twhile (rs.next()) {\n\t\t\tborrowings.add(new Borrowing(rs));\n\n\t\t} // end while(rs.next())\n\t\trs.close();\n\n\t\treturn borrowings;\n\t}","title":""},{"docid":"6dca8b6d06d4c79784cd52338dc1bc4f","score":"0.60387623","text":"public List getAllTable(String tableName){\n Connection conn;\n List persons = new ArrayList<>();\n try {\n conn = DriverManager.getConnection(url, user, password);\n String sql = \"SELECT * FROM \" + tableName ;\n PreparedStatement stmt = conn.prepareStatement(sql);\n ResultSet rs = stmt.executeQuery();\n\n while(rs.next()) {\n persons.add(new Person(\n rs.getString(\"id\"),\n rs.getString(\"firstname\"),\n rs.getString(\"lastname\"),\n rs.getInt(\"age\"),\n rs.getString(\"type\")));\n }\n stmt.close();\n conn.close();\n\n } catch (SQLException e) {\n System.out.println(e.getMessage());\n }\n return persons;\n }","title":""},{"docid":"8202c9eebb09fee2d093001c8cd8a216","score":"0.60181016","text":"protected List getRowsImpl(DataTable aTable, Query aQuery) throws Exception { throw notImpl(\"getRowsImpl\"); }","title":""},{"docid":"d8f98219b6cfca70ddcb7a51fbc4859d","score":"0.6009641","text":"ResultSet getResultSet();","title":""},{"docid":"4a230d899606f983cfa215bb8cd4ac6d","score":"0.59991026","text":"@Override\r\n\tpublic int getAllRows() throws Exception {\n\t\treturn 0;\r\n\t}","title":""},{"docid":"8130de7435a2b5014d254e00e5c94b0c","score":"0.59728026","text":"@Override\r\n\tpublic

List queryAll(String statement, P p) throws Exception {\n\t\treturn sqlSessionTemplate.selectList(statement, p);\r\n\t}","title":""},{"docid":"fb085424c8a20431a95252bf3a8da735","score":"0.5962049","text":"private static List getSampleQuery(\n Bigquery bigquery,\n String tableId)\n throws IOException {\n\n String query = \"SELECT * FROM [\" + tableId + \"] LIMIT 10\";\n return executeQuery(query, bigquery);\n }","title":""},{"docid":"9b4bee4b10436cccc5d56840e370090d","score":"0.59175664","text":"public ResultSet getAllBeds() {\n sqlQuery = \"SELECT * FROM BEDS;\";\n try{\n preparedStmt = connection.prepareStatement(sqlQuery);\n resultSet = preparedStmt.executeQuery();\n }catch(SQLException e){}\n return resultSet;\n \n }","title":""},{"docid":"b8308efe8db78e695cdc56bc806e8e88","score":"0.5916114","text":"void selectAll();","title":""},{"docid":"b8308efe8db78e695cdc56bc806e8e88","score":"0.5916114","text":"void selectAll();","title":""},{"docid":"fedd7262d05dfb963c973b509ef377b4","score":"0.5912481","text":"public Rows getRows() {\n return getRows(_begin);\n }","title":""},{"docid":"e60d8002c5b0144316b76913e055b9ae","score":"0.59099853","text":"public Cursor getAllData(String table_name) {\n Cursor res = null;\n try {\n SQLiteDatabase db = this.getWritableDatabase();\n res = db.rawQuery(\"select * from \" + table_name, null);\n } catch (NullPointerException e) {\n System.err.println(\"ERROR: 0 \" + e);\n }\n return res;\n }","title":""},{"docid":"76ab13ec504c301de2c2710f571de996","score":"0.5907612","text":"List selectAll();","title":""},{"docid":"9bcfaa3cbda1396a2d5860e742fabf04","score":"0.5892073","text":"public ResultSet getAllRooms() {\n sqlQuery = \"SELECT * FROM ROOMS;\";\n try{\n preparedStmt = connection.prepareStatement(sqlQuery);\n resultSet = preparedStmt.executeQuery();\n }catch(SQLException e){}\n return resultSet;\n }","title":""},{"docid":"62f07ec6c4f5054e9c323f6d82c20f5f","score":"0.5890632","text":"public Cursor getAllRecords() {\r\n\r\n\r\n //Does not work only works when selecting from user table\r\n //Cursor cursor = sqlDb.rawQuery(\"select * from \" + TABLE_PROFILES, null);\r\n\r\n Cursor cursor = sqlDb.rawQuery(\"select * from \" + TABLE_USERS, null);\r\n\r\n return cursor;\r\n\r\n //return sqlDb.rawQuery(\"select * from \" + TABLE_PROFILES, null);\r\n\r\n }","title":""},{"docid":"5f4e76167af7804268569f1504bbc7c8","score":"0.5878685","text":"List selectAll();","title":""},{"docid":"026cd71629fc3c0977a888b4f22bc872","score":"0.5876269","text":"@Override\r\n\tpublic List getQueryAll() {\n\t\treturn bd.queryAll();\r\n\t}","title":""},{"docid":"dee708ede2a9189fe3ff43c137ea8f3d","score":"0.58661246","text":"public Cursor getAllData(){\n\n SQLiteDatabase db = this.getWritableDatabase();\n Cursor res = db.rawQuery(\"select * from \"+TABLE_NAME, null);\n Log.d(TAG,\"databses\" +res);\n return res;\n\n }","title":""},{"docid":"13e9a5fdb16c4cee26c5bf65d827cf81","score":"0.58658075","text":"@Override\r\n\tpublic ArrayList getAll() {\n\t\tdao = sqlSession.getMapper(Dao.class);\r\n\t\treturn dao.selectAll();\r\n\t}","title":""},{"docid":"885e6ecab7a61865d601996f92d6c0bf","score":"0.58635217","text":"public Cursor fetchAll() {\n return mDb.query(DATABASE_TABLE, new String[]{KEY_ID, KEY_ORDERID, KEY_NAME, KEY_COLOR, KEY_NUMBERS, KEY_PRICE\n }, null, null, null, null, null);\n }","title":""},{"docid":"8ef4b04625da77f695d810b7a5beca18","score":"0.5861522","text":"public void giveMeAll() throws SQLException, IllegalStateException\n\t{\n\t\tif( !connectedToDB )\n\t\t\tthrow new IllegalStateException( \"Not connected\" );\n\n\t\tquery = selQuery;\n\t\tquery += \"1=1\";\n\n\t\ttry\n\t\t{\n\t\t\tSystem.out.println(\"Running query:\" + query); //debug\n\t\t\tresultSet = statement.executeQuery( query );\n\t\t\tmetaData = resultSet.getMetaData();\n\t\t\tSystem.out.println(\"Finished running query\"); //debug\n\t\t}\n\t\tcatch( SQLException sql )\n\t\t{\n\t\t\tsql.printStackTrace();\n\t\t}\n\t}","title":""},{"docid":"fd659755c02f660caf10b41f9c6e7a3e","score":"0.58427364","text":"@Override\n\tpublic List> readAll() {\n\t\tString SQL = \"SELECT * FROM detalles\";\n\t\treturn jdbcTemplate.queryForList(SQL);\n\t}","title":""},{"docid":"5211ae62f52285442e1bce143054a677","score":"0.5834695","text":"@Override\n\tpublic List readAll() {\n\t\treturn jdbcTemplate.query(\"Select * from personas\", BeanPropertyRowMapper.newInstance(Persona.class));\n\t}","title":""},{"docid":"8f6e8a1e7e5b8423810d0fb2236857ae","score":"0.58300006","text":"@Override\r\n\tpublic List selectAll() {\r\n\t\tfinal String SQL = \"SELECT * FROM partita\";\r\n\t\t\r\n\t\treturn namedParameterJdbcTemplate.query(SQL, new PartitaRowMapper());\r\n\t}","title":""},{"docid":"fab2d4f9e4f0ec9fe787645f9a1ca02d","score":"0.5828545","text":"public List retrieveAll();","title":""},{"docid":"bf30c149aa6417069d10330f5f4a185a","score":"0.5827361","text":"public Cursor fetchAll() throws SQLException\r\n\r\n\t{\n\r\n\t\tCursor mCursor = mDb.query(true, SQLITE_TABLE, new String[] {\r\n\t\t\t\tKEY_ROWID, KEY_CREWID, KEY_CREWNAME, KEY_HOUSENUM,\r\n\t\t\t\tKEY_CREWNICKNAME,KEY_COMPANYNAME, KEY_HOUSEOWNER, KEY_PHONENUM, KEY_AREA,\r\n\t\t\t\tKEY_EMAIL, KEY_STREET, KEY_CITY, KEY_STATE, KEY_ZIPCODE,\r\n\t\t\t\tKEY_MATCODE, KEY_WORKCENTER }, null, null, null, null, null,\r\n\t\t\t\tnull);\r\n\r\n\t\tif (mCursor != null) {\r\n\t\t\tmCursor.moveToFirst();\r\n\t\t}\r\n\r\n\t\treturn mCursor;\r\n\t}","title":""},{"docid":"3e2a26f66a004b9207d528d1f1bb0f83","score":"0.58265954","text":"public List findAllInternal() {\n Session session = sessionFactory.openSession();\n try {\n ManagedSessionContext.bind(session);\n Transaction transaction = session.beginTransaction();\n try {\n List list= findAll();\n transaction.commit();\n return list;\n }\n catch (Exception e) {\n transaction.rollback();\n throw new RuntimeException(e);\n }\n }\n finally {\n session.close();\n ManagedSessionContext.unbind(sessionFactory);\n }\n }","title":""},{"docid":"9e2189f4847292f0390d7806b76ad88d","score":"0.5822627","text":"public Collection values() {\n Collection allOfThem = new ArrayList();\n ConnectionRecord cr = getConnection();\n Connection c = cr.connection;\n\n try {\n PreparedStatement stmt = c.prepareStatement(\"select * from \" + getTable().getFQTablename());\n stmt.execute();// just execute() since executeQuery(x) would throw an exception regardless of content per JDBC spec.\n\n ResultSet rs = stmt.getResultSet();\n while (rs.next()) {\n V newOne = create();\n ColumnMap map = rsToMap(rs);\n populate(map, newOne);\n allOfThem.add(newOne);\n }\n rs.close();\n stmt.close();\n releaseConnection(cr);\n } catch (SQLException e) {\n destroyConnection(cr);\n throw new GeneralException(\"Error: could not get database object\", e);\n }\n return allOfThem;\n }","title":""},{"docid":"3629b76a3dae0585bf2a51453c76e001","score":"0.5820811","text":"public static ResultSet fetchRecords() throws ClassNotFoundException\n { \n try \n { \n Connection conn = (Connection) connectToDB();\n String query = \"SELECT * FROM \" + TABLE;\n stmt = conn.createStatement();\n ResultSet rs = stmt.executeQuery(query); \n \n return rs;\n }\n catch (InstantiationException | IllegalAccessException | SQLException ex) \n {\n Logger.getLogger(Smart.class.getName()).log(Level.SEVERE, null, ex);\n }\n \n return null;\n }","title":""},{"docid":"e28527f003cf9127050c68a4dff47b88","score":"0.5815847","text":"public List findAll()throws SQLException;","title":""},{"docid":"ea2acbe72a5ba6a3753de8db77717097","score":"0.5812221","text":"ResultSet query(String table, String fields, String where, String order, String addition) throws SQLException{\r\n\t\tString sql = buildSQLQuery(table, fields, where, order, addition);\r\n\t\t// Allows to walk the ResultSet in any direction\r\n\t\treturn conn.createStatement(ResultSet.FETCH_UNKNOWN, ResultSet.CONCUR_READ_ONLY).executeQuery(sql);\r\n\t}","title":""},{"docid":"0518624227bc29552de1ab499969a83a","score":"0.5809099","text":"public List findAll()\r\n\t{\r\n \treturn getHyperGraph().getTransactionManager().ensureTransaction(new Callable>() {\r\n \tpublic List call()\r\n \t{ \t\r\n \t\tArrayList result = new ArrayList();\r\n \t\tHGSearchResult rs = null;\r\n \t\ttry\r\n \t\t{\r\n \t\t\trs = execute();\r\n \t\t\twhile (rs.hasNext())\r\n \t\t\t\tresult.add(rs.next());\r\n \t\t\treturn result;\r\n \t\t}\r\n \t\tfinally\r\n \t\t{\r\n \t\t\tif (rs != null) rs.close();\r\n \t\t}\r\n \t}\r\n \t},\r\n \tHGTransactionConfig.READONLY);\t\t\t\t\r\n\t}","title":""},{"docid":"62a29e8eb8822e73db5f44794b29e440","score":"0.58077216","text":"public Iterable getRows();","title":""},{"docid":"8a7f4788210fa6f82a47f74b9f5c7c81","score":"0.5807515","text":"List getTableRows();","title":""},{"docid":"c214eca7e167defdd246b5f2fac073f0","score":"0.5804861","text":"public ResultSet getTableData(String tableName) {\r\n String query = \"SELECT * FROM dbo.\\\"CRONUS Sverige AB$\" + tableName + \"\\\"\";\r\n return getQuery(query);\r\n }","title":""},{"docid":"83c92a067ef19793d2adc3a36d875b7b","score":"0.5801505","text":"public abstract void selectAll();","title":""},{"docid":"8007ecc3b584c2cdfdd121569b75d4b0","score":"0.57961774","text":"public List retrieveAll() {\n\t\t\n\t\tConnection con = getConnection();\n\t\t \n\t\ttry {\n\t\tString query = \"select * from Student\";\n\t\tStatement stmt = con.createStatement();\n\t ResultSet rs = stmt.executeQuery(query);\n\t \n\t List students = new ArrayList();\n\t \n\t while (rs.next()) {\n\t \tStudent student = getStudentFromDB(rs);\n\t \tstudents.add(student);\n\t }\n\t return students;\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t\t\n\t\t}\n\t\treturn null;\n\t}","title":""},{"docid":"6c0888b6b5509373b51c281fbcccf287","score":"0.5793133","text":"protected String fetchAllRowsFromTableSql(\n\t\t\tConnection conn, \n\t\t\tString tableName, \n\t\t\tList columns,\n\t\t\tint limit,\n\t\t\tint offset\n\n\t\t) {\t\t\n\t\treturn fetchAllRowsFromTableSql(conn, tableName, columns, limit, offset);\t\t\t\n\t}","title":""},{"docid":"baa8371fc12f045c8a3cdd675ba5f09e","score":"0.57891","text":"@Override\n\tpublic List queryAll() {\n\t\treturn mysqlDao.queryAll();\n//\t\treturn sqliteDao.queryAll();\n\t}","title":""},{"docid":"f8f17b37a5a343bd147842ef43e476e7","score":"0.57824004","text":"public static List fetchAllRestaurants ()\r\n { \r\n String sql = SQLTranslator.translateAllRestaurants();\r\n ResultSet rs = DBHandler.query(sql);\r\n List restaurants = RsToRL(rs);\r\n return restaurants;\r\n }","title":""},{"docid":"4141c3e638add1f9471d10f747ac4de0","score":"0.5775817","text":"public java.util.List getAllRecords();","title":""},{"docid":"e7e01bae324ff62cb06ad1acca12b51e","score":"0.57709736","text":"@Override\n\tpublic List queryAll() {\n\t\treturn dao.queryAll();\n\t}","title":""},{"docid":"540011d53780148bd0a29c462b219643","score":"0.5769984","text":"public Cursor getAllRecords()\r\n\t\t {\r\n\t\t return db.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_NAME, KEY_QUANTITY, KEY_CURRENT ,KEY_RESULT}, null, null, null, null, null);\r\n\t\t }","title":""},{"docid":"d972a979e3604434b8e5cbd0b613fcb1","score":"0.57648605","text":"@Override\n\tpublic List queryAll() {\n\t\treturn studentDao.queryAll();\n\t}","title":""},{"docid":"ddf7e7f54e55e7195216c2ed28dd2969","score":"0.5761531","text":"@Override\r\n public List findAll() throws SQLException {\n Query query = entityManager.createQuery(\"FROM \" + className + \" where delFlag=0\");\r\n List result = query.getResultList();\r\n return result;\r\n }","title":""},{"docid":"5420aa9489973a46762d86f6ece0c204","score":"0.576147","text":"public ResultSet executeQuery() throws SQLException {\n return delegate.executeQuery();\n }","title":""},{"docid":"d47c8ec26bd02c1c4ea76a4ec56dadd9","score":"0.5757893","text":"public List getRows() {\n return Collections.unmodifiableList(rows);\n }","title":""},{"docid":"b670c65acadd04bd8c94a17d65890afa","score":"0.5757082","text":"@Override\n\tpublic KSupplier[] findAll() throws SQLException {\n\t\treturn findByDynamicSelect( SQL_SELECT + \" ORDER BY ID\", new Object[0] );\n\t}","title":""},{"docid":"3ebf8c6901f5d758170c299f2f731b78","score":"0.5755843","text":"@Override\n public List readAll() throws SQLException {\n List arr=new ArrayList<>();\n req = \"select * from site\";\n ste=con.createStatement();\n ResultSet rs=ste.executeQuery(req);\n while (rs.next()) { \n int id=rs.getInt(1);\n String emplacement=rs.getString(\"emplacement\");\n Double x=rs.getDouble(3);\n Double y=rs.getDouble(4);\n Site s=new Site(id,emplacement,x,y);\n arr.add(s);\n }\n return arr;\n }","title":""},{"docid":"6a7efedfa80a4a8ee05f90a568b763df","score":"0.5755123","text":"public List selectAll() {\n\n Query query = entityManager.createQuery(SELECT_QUERY);\n List students = (List) query.getResultList();\n return students;\n }","title":""},{"docid":"1d54da9e9f3cd037c376ec6bfdd70393","score":"0.57484037","text":"abstract public List selectRecords(Hashtable columnsAndValues)throws DatabaseException;","title":""},{"docid":"754ead38da9c4288dd000fd4a6f1616d","score":"0.5748313","text":"@Override\r\n\tpublic ResultSet query(String query) throws SQLException {\r\n\t\tStatement stmt = _conn.createStatement();\r\n\t\tResultSet rs = stmt.executeQuery(query);\r\n\t\treturn rs;\r\n\t}","title":""},{"docid":"72613799d837f82aa4b949389902c091","score":"0.57471925","text":"public IDatabaseReader selectAll(final ITable[] tables);","title":""},{"docid":"d3cf3eb96577f61a8aaf43b2c365535f","score":"0.5747142","text":"@Override\r\n\t@Transactional\r\n\tpublic List findAll() {\n\t\tSession currentSession = entityManager.unwrap(Session.class);\r\n\t\t\r\n\t\t\r\n\t\t// create a query, we are using native Hibernate api\r\n\t\tQuery theQuery = \r\n\t\t\t\tcurrentSession.createQuery(\"from Employee\",Employee.class);\r\n\t\t\r\n\t\t// execute query and get result list\r\n\t\tList employees = theQuery.getResultList();\r\n\t\t\r\n\t\t// return the results\r\n\t\treturn employees;\r\n\t}","title":""},{"docid":"f1f057f08b55549054ce7c619773f30c","score":"0.574045","text":"public List retrieveAll();","title":""},{"docid":"46f6a248b7c580b3227082655bd489f6","score":"0.57393265","text":"@Override\n\tpublic Object queryAll(Object params) throws Exception {\n\t\treturn bankMapper.queryAll(params);\n\t}","title":""},{"docid":"7515ac60a467ec516c7afcf3e13391ff","score":"0.57360464","text":"@Override\r\n\tpublic List SelectAll() {\n\t\treturn machDaoImp.SelectAll();\r\n\t}","title":""}],"string":"[\n {\n \"docid\": \"046db874864c6e7ff7dae73036580304\",\n \"score\": \"0.7099776\",\n \"text\": \"public ResultSet queryAll() throws SQLException\\r\\n {\\r\\n String sql = \\\"SELECT * FROM Guest\\\";\\r\\n Statement stat = conn.createStatement();\\r\\n ResultSet result = stat.executeQuery(sql);\\r\\n return result;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2838f37e6d67196d8a3b27a5ef0bf62\",\n \"score\": \"0.6876214\",\n \"text\": \"public static ResultSet getAllRecords(String tableName) {\\n String sqlStatement = \\\"SELECT * FROM \\\" + DBConnection.databaseName + \\\".\\\"\\n + tableName + \\\";\\\";\\n Query.makeQuery(sqlStatement);\\n ResultSet result = Query.getResult();\\n \\n return result;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"30b15752f6e2a6ada34a04df040378e7\",\n \"score\": \"0.6857673\",\n \"text\": \"Cursor getAllRows() {\\n Cursor c = db.query(true, TABLE_NAME, ALL_COL, null, null, null, null, ORDER_NEXT_CONNECT, null);\\n if (c != null) {\\n c.moveToFirst();\\n }\\n return c;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5b50203ca880a1437a241dcd0bf89cce\",\n \"score\": \"0.6826161\",\n \"text\": \"public IDatabaseReader selectAll(final ITable table);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c817da7fd6f0c48aa8ce774edbe21215\",\n \"score\": \"0.6763975\",\n \"text\": \"public ArrayList all() throws SQLException {\\n\\t\\tPreparedStatement stmt = DatabaseConnection.get().prepareStatement(\\n\\t\\t\\t\\t\\\"select * from \\\" + table_name() + order_string());\\n\\t\\treturn where(stmt);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c3ccfad9ae24774c5a377e063aa28799\",\n \"score\": \"0.66849613\",\n \"text\": \"public ResultSet getAllRowsFromUserTable() throws SQLException {\\r\\n \\t\\tResultSet rs = null;\\r\\n \\t\\ttry {\\r\\n \\t\\t\\trs = stmt.executeQuery(\\\"select * from USER_TABLE \\\");\\r\\n \\t\\t} catch (SQLException e) {\\r\\n \\t\\t\\te.printStackTrace();\\r\\n \\t\\t}\\r\\n \\t\\treturn rs;\\r\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"569374de3dba57e7adfe970cbe8f7664\",\n \"score\": \"0.6671065\",\n \"text\": \"public List getAll() {\\n LinkedList allEntries = new LinkedList<>();\\n ConnectionRecord cr = getConnection();\\n Connection c = cr.connection;\\n\\n V t = null;\\n try {\\n PreparedStatement stmt = c.prepareStatement(getTable().createSelectAllStatement());\\n stmt.executeQuery();\\n ResultSet rs = stmt.getResultSet();\\n // Now we have to pull in all the values.\\n while (rs.next()) {\\n ColumnMap map = rsToMap(rs);\\n t = create();\\n populate(map, t);\\n allEntries.add(t);\\n }\\n\\n rs.close();\\n stmt.close();\\n releaseConnection(cr);\\n } catch (SQLException e) {\\n destroyConnection(cr);\\n throw new GeneralException(\\\"Error getting all entries.\\\", e);\\n }\\n return allEntries;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ac9c6062c3668122e7721dd64cd298ff\",\n \"score\": \"0.65402156\",\n \"text\": \"public List findAll() {\\r\\n\\t\\tConnection conn = ConnectionFactory.getConnection();\\r\\n\\t\\tStringBuilder sb = new StringBuilder();\\r\\n\\t\\tsb.append(\\\"SELECT * FROM \\\" + type.getSimpleName());\\r\\n\\t\\t//statement without a condition which returns the entire table\\r\\n\\t\\tPreparedStatement st = null;\\r\\n\\t\\tResultSet rs = null;\\r\\n\\t\\ttry {\\r\\n\\t\\t\\tst = conn.prepareStatement(sb.toString());\\r\\n\\t\\t\\trs = st.executeQuery();\\r\\n\\t\\t}\\r\\n\\t\\tcatch (Exception e) {\\r\\n\\t\\t}\\r\\n\\t\\t// convert the result set to a list of objects\\r\\n\\t\\treturn createObjects(rs);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4fbf33bf6be0761f4f32dd66e911b5c2\",\n \"score\": \"0.65264964\",\n \"text\": \"@Override\\n public List getAll() throws DaoMySqlException {\\n String sql = getSelectQuery();\\n List parsedList;\\n try (PreparedStatement statement = connectionManager.getConnection().prepareStatement(sql)) {\\n ResultSet rs = statement.executeQuery();\\n parsedList = parseResultSet(rs);\\n } catch (Exception e) {\\n throw new DaoMySqlException(e);\\n }\\n return parsedList;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8b93e4316ebd46ff4cd8f5903aff7170\",\n \"score\": \"0.64826\",\n \"text\": \"private synchronized ArrayList executeSelect(String query) {\\r\\n\\t\\tArrayList results = new ArrayList();\\r\\n\\r\\n\\t\\tStatement selectStmt = null;\\r\\n\\t\\tResultSet result = null;\\r\\n\\t\\ttry {\\r\\n\\t\\t\\tselectStmt = connection.createStatement();\\r\\n\\t\\t\\tresult = selectStmt.executeQuery(query);\\r\\n\\t\\t\\t// Fetch rows\\r\\n\\t\\t\\tresults = Row.formTable(result);\\r\\n\\t\\t} catch (SQLException e) {\\r\\n\\t\\t\\t// TODO: log exceptions\\r\\n\\t\\t} finally {\\r\\n\\t\\t\\ttry {\\r\\n\\t\\t\\t\\t// Release resources\\r\\n\\t\\t\\t\\tif (selectStmt != null)\\r\\n\\t\\t\\t\\t\\tselectStmt.close();\\r\\n\\t\\t\\t\\tif (result != null)\\r\\n\\t\\t\\t\\t\\tresult.close();\\r\\n\\t\\t\\t} catch (SQLException e) {\\r\\n\\t\\t\\t\\t// TODO: log exceptions\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t\\treturn results;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"61c36363340acfcc5bf4d76b60a102df\",\n \"score\": \"0.6459408\",\n \"text\": \"public Cursor fetchAllRows() {\\n\\n return mDb.query(STATS_TABLE, new String[] {COLUMN_ID, COLUMN_1,\\n COLUMN_2, COLUMN_3, COLUMN_4, COLUMN_5, COLUMN_6, COLUMN_7, COLUMN_8, COLUMN_9}, null, null, null, null, COLUMN_1+\\\" DESC\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5cdc26c7fca52c84c06a25bca8ce34e4\",\n \"score\": \"0.6411838\",\n \"text\": \"@Override\\n\\tpublic List

selectAll() {\\n\\t\\treturn mapper.selectAll();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f45c5f373878e558859e87ee0e3660e9\",\n \"score\": \"0.6409694\",\n \"text\": \"@Override\\r\\n\\tpublic Hashtable selectAll() throws SQLException, Exception {\\n\\t\\treturn null;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4c50f2e27b15db187ca30d2da3cee66\",\n \"score\": \"0.6403702\",\n \"text\": \"public List QueryAll() {\\n\\t\\treturn dao.QueryAll();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eb78ba7118a328168c5d18f63801632f\",\n \"score\": \"0.63882494\",\n \"text\": \"public List selectAll(String table) throws SQLException {\\n\\t\\tString query = \\\"SELECT * FROM \\\" + table;\\n\\t\\treturn query( query );\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e668fd70020d1ae4da3d33521133b0e\",\n \"score\": \"0.636458\",\n \"text\": \"private Iterator fetchAllRows(ColumnParent colPar) {\\r\\n return new CassandraRowBatch(this, colPar);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"92f870bce8d2e824cdd058018a4cd9fe\",\n \"score\": \"0.63477093\",\n \"text\": \"public Cursor getAllTheRows(String table){\\n\\t\\topen();\\n\\t\\tCursor cursor = null;\\n\\t\\ttry{\\n\\t\\t\\tcursor = database.rawQuery(\\\"SELECT * FROM \\\" + table + \\\";\\\", null);\\n\\t\\t\\tLog.i(DEBUG, String.valueOf(cursor.getCount()));\\n\\t\\tclose();\\n\\t\\t} catch(SQLiteException e){\\n\\t\\t\\tLog.e(DEBUG, e.toString());\\n\\t\\t}\\n\\t\\treturn cursor;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"17ad0596fd255d2b2dffe89f6cddcde0\",\n \"score\": \"0.6331329\",\n \"text\": \"@Override\\r\\n\\tpublic List queryAll(String statement) throws Exception {\\n\\t\\treturn sqlSessionTemplate.selectList(statement);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3ce223f6974a0062136ac73637d05fd1\",\n \"score\": \"0.6310737\",\n \"text\": \"public Cursor selectAll() {\\n SQLiteDatabase db = getWritableDatabase();\\n Cursor cursor = db.rawQuery(\\\"SELECT * FROM entries\\\", null);\\n return cursor;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"22b8e40df0186b223f019f35f2208b88\",\n \"score\": \"0.630112\",\n \"text\": \"public Cursor getAllData() {\\n SQLiteDatabase db = this.getWritableDatabase();\\n Cursor res = db.rawQuery(\\\"select * from \\\"+table_name,null);\\n return res;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8c1df9b287e01ef284a5f48e88ed4e01\",\n \"score\": \"0.62971973\",\n \"text\": \"public List getAll() throws DAOException {\\n getConnection();\\n List list;\\n String sql = getSelectQuery();\\n try (PreparedStatement statement = connection.prepareStatement(sql)) {\\n ResultSet rs = statement.executeQuery();\\n list = parseResultSet(rs);\\n } catch (SQLException e) {\\n logger.error(e.getMessage());\\n throw new DAOException(\\\"Database issues. Please, try later.\\\");\\n }\\n closeConnection();\\n return list;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54d5109c7d4d2293ec3567189c8acba2\",\n \"score\": \"0.6277694\",\n \"text\": \"public ResultSet fetchData() throws SQLException {\\n\\n String query = this.fetchStatement();\\n System.out.println(query);\\n PreparedStatement ps = this.buildQuery(query, this.bindings);\\n this.reset();\\n ResultSet results = ps.executeQuery();\\n\\n return results;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0dae5f8d87927edb7587e09db58a041b\",\n \"score\": \"0.62674594\",\n \"text\": \"public Cursor getAllData() {\\n // Open the database for reading and writing\\n SQLiteDatabase db = this.getWritableDatabase();\\n\\n // A Cursor represents the result of a query and basically points to one row of the query result.\\n // This way Android can buffer the query results efficiently; as it does not have to load all data into memory.\\n // the \\\"*\\\" means select \\\"all\\\"\\n Cursor res = db.rawQuery(\\\"select * from \\\" + TABLE_NAME,null);\\n return res;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3ce46b3c005f7c76e9f30c986597bf85\",\n \"score\": \"0.625309\",\n \"text\": \"public synchronized Cursor allRecords() {\\n return database.query(sourceName, fieldNames, null, null,\\n null, null, \\\"date ASC\\\", null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9789ecbdbe8e2809a296e91af6ba5173\",\n \"score\": \"0.62318754\",\n \"text\": \"@Override\\r\\n\\tpublic ArrayList getAll() throws SQLException {\\n\\t\\treturn null;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7f2567636311d656154cef5c6c01b12e\",\n \"score\": \"0.62148255\",\n \"text\": \"public static void getAllRecord(String tableName) {\\n try {\\n HTable table = new HTable(configuration, tableName);\\n Scan s = new Scan();\\n ResultScanner ss = table.getScanner(s);\\n for (Result r : ss) {\\n for (KeyValue kv : r.raw()) {\\n System.out.print(new String(kv.getRow()) + \\\" \\\");\\n System.out.print(new String(kv.getFamily()) + \\\":\\\");\\n System.out.print(new String(kv.getQualifier()) + \\\" \\\");\\n System.out.print(kv.getTimestamp() + \\\" \\\");\\n System.out.println(new String(kv.getValue()));\\n }\\n }\\n } catch (IOException e) {\\n e.printStackTrace();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0ecbcbb845254e27dc0637ad060f3a0e\",\n \"score\": \"0.6212759\",\n \"text\": \"Subquery all();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a31688ea33138f71bd4972d4f0cd3c22\",\n \"score\": \"0.6210025\",\n \"text\": \"public void fetchAllObjects()\\n {\\n ((IteratorTableModel) table.getModel()).fetchAllObjects();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"263f9272798e92e7b51753044c2ee116\",\n \"score\": \"0.6201444\",\n \"text\": \"public IDatabaseReader selectAll(final ITable table, String whereCondition);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"07edce7c9196f1123cd026231af5029c\",\n \"score\": \"0.6175688\",\n \"text\": \"public static String queryAll()\\n\\t{\\n\\t\\treturn \\\"SELECT * FROM Author\\\";\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bacee82c80ba0e28aab2c2267ced62ca\",\n \"score\": \"0.6167954\",\n \"text\": \"public Cursor selectAll() {\\n Cursor c = db.rawQuery(\\\"SELECT *\\\" +\\\" from \\\" + TABLE_P_AND_P, null);\\n return c;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c8ef0cb4a616c136fea81c9f56556d8\",\n \"score\": \"0.6155684\",\n \"text\": \"public Cursor retrieveAllInCursor();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9b6879a125475cab8393c030f11ef6e1\",\n \"score\": \"0.6153861\",\n \"text\": \"public Cursor selectAll() {\\n SQLiteDatabase db = getReadableDatabase();\\n String Query =\\\"SELECT * FROM entrytables\\\";\\n Cursor cursor = db.rawQuery(Query, null);\\n return cursor;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8a14e90fd72fcd80a05c64d3bd1d6481\",\n \"score\": \"0.61463666\",\n \"text\": \"public Cursor getAllData()\\n {\\n SQLiteDatabase db = this.getWritableDatabase();\\n Cursor res = db.rawQuery(\\\"select * from \\\" + TABLE_NAME, null);\\n return res;\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d857c48bab480ca3f569b22c3fda5304\",\n \"score\": \"0.61136967\",\n \"text\": \"@Override\\r\\n\\tpublic List queryAllRecords() {\\n\\t\\treturn equipmentMapper.queryAllRecords();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"91d8e91f1d96237c6f943dffd16cf11f\",\n \"score\": \"0.6110593\",\n \"text\": \"public static List> executeQuery(String query)\\n {\\n\\n List> table = new ArrayList<>();\\n try\\n {\\n statement = connection.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);\\n resultSet = statement.executeQuery(query);\\n\\n ResultSetMetaData resultSetMetaData = resultSet.getMetaData();\\n\\n while(resultSet.next())\\n {\\n Map row = new HashMap<>();\\n for(int i = 1; i <= resultSetMetaData.getColumnCount(); i ++)\\n {\\n row.put(resultSetMetaData.getColumnName(i) , resultSet.getObject(i));\\n }\\n table.add(row);\\n }\\n\\n }\\n catch(SQLException ex)\\n {\\n ex.printStackTrace();\\n }\\n return table;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f9c46e92e664f1b2bd5f2c63afb467a1\",\n \"score\": \"0.60931146\",\n \"text\": \"public List findAll() {\\r\\n return this.find(null, null, null, null, this.descriptor.getPrimaryKey().getColumn());\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"53ce65126300c301d98578eb269877fc\",\n \"score\": \"0.6087927\",\n \"text\": \"public IgniteQuery getAllQuery() {\\n return new IgniteAllQuery(name, admin);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fd5fb34fa76a5bc8b83c5c317344e7a4\",\n \"score\": \"0.6079715\",\n \"text\": \"public List selectAllEntrenadores(){\\r\\n \\r\\n List entrenadores = new ArrayList();\\r\\n Query query = db.query(); //Creamos la query\\r\\n query.constrain(Entrenador.class); //Indicamos la clase del objeto a consultar\\r\\n //Obtenemos todos los que cumplan la condición de ser de la clase Entrenador\\r\\n ObjectSet resultado = query.execute(); \\r\\n \\r\\n while(resultado.hasNext()){\\r\\n Entrenador e = (Entrenador) resultado.next();\\r\\n entrenadores.add(e);\\r\\n }\\r\\n \\r\\n return entrenadores;\\r\\n \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fc6560bf3a4245ea5c3701f89a67b678\",\n \"score\": \"0.6078396\",\n \"text\": \"public static ResultScanner queryAll(String tbName) {\\n\\t\\tScan scan = new Scan();\\n\\t\\tResultScanner results = null;\\n\\t\\ttry {\\n\\t\\t\\tTable table = connection.getTable(TableName.valueOf(tbName));\\n\\t\\t\\tresults = table.getScanner(scan);\\n\\t\\t} catch (IOException e) {\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\t\\treturn results;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"743e59eb8984d676d8643d2310199f99\",\n \"score\": \"0.6065336\",\n \"text\": \"public Collection getAllRows() throws ModelException {\\n\\t\\treturn this.getRows();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a595cd2192d9a4dd79630b39f51770e0\",\n \"score\": \"0.60617703\",\n \"text\": \"public RowSet findByAll() throws DAOException {\\r\\n \\r\\n\\t\\tString sqlStmt = DAOConstants.EMPSQL_FIND_ALL;\\r\\n\\t\\tConnection conn = null;\\r\\n\\t\\tRowSet returnRowSet = null;\\r\\n\\r\\n\\t\\ttry {\\r\\n\\t\\t\\tlog.debug(\\\"finding all ProjectInfo entries\\\");\\r\\n\\t\\t\\tconn = dbAccess.getConnection();\\r\\n\\t\\t\\tPreparedStatement stmt = conn.prepareStatement(sqlStmt);\\r\\n\\r\\n\\t\\t\\tResultSet rs = stmt.executeQuery();\\r\\n\\r\\n\\t\\t\\tCachedRowSet crs = new CachedRowSetImpl();\\r\\n\\t\\t\\tcrs.populate(rs);\\r\\n\\t\\t\\r\\n\\t\\t\\tstmt.close();\\r\\n\\t\\t\\trs.close();\\r\\n\\t\\t\\treturn crs;\\r\\n\\t\\t} catch (DBAccessException e){\\r\\n\\t\\t\\tthrow new DAOException (e.getMessageKey(),\\r\\n\\t\\t\\t\\te, DAOException.ERROR, true);\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t catch (SQLException e) {\\r\\n\\t\\t\\tthrow new DAOException (\\\"sql.findall.exception.empdao\\\",\\r\\n\\t\\t\\te, DAOException.ERROR, true);\\r\\n\\t\\t} finally {\\r\\n\\t\\t\\ttry {\\r\\n\\t\\t\\t\\tdbAccess.closeConnection(conn);\\r\\n\\t\\t\\t} catch (DBAccessException e1) {\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da90920314936c8505abe821cd1d39d4\",\n \"score\": \"0.60573167\",\n \"text\": \"public List querAll() {\\n\\t\\treturn this.getSqlMapClientTemplate().queryForList(\\\"inviteTable.findAll\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"695c6d47c56504a142ac87f810c21456\",\n \"score\": \"0.6050258\",\n \"text\": \"@Override\\n\\tpublic ResultSet executeQuery() throws SQLException {\\n\\t\\tResultSet rs = statement.executeQuery();\\n\\t\\tresultSets.add(rs);\\n\\t\\treturn rs;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5a66f9292edf6fb7134cbf0afde1bb18\",\n \"score\": \"0.6043685\",\n \"text\": \"@Override\\n\\tpublic Collection
getAll() throws SQLException {\\n\\t\\tArrayList
borrowings = new ArrayList
();\\n\\n\\t\\tPreparedStatement ps = con.prepareStatement(\\\"SELECT * FROM Borrowing\\\");\\n\\t\\tResultSet rs = ps.executeQuery();\\n\\t\\twhile (rs.next()) {\\n\\t\\t\\tborrowings.add(new Borrowing(rs));\\n\\n\\t\\t} // end while(rs.next())\\n\\t\\trs.close();\\n\\n\\t\\treturn borrowings;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6dca8b6d06d4c79784cd52338dc1bc4f\",\n \"score\": \"0.60387623\",\n \"text\": \"public List getAllTable(String tableName){\\n Connection conn;\\n List persons = new ArrayList<>();\\n try {\\n conn = DriverManager.getConnection(url, user, password);\\n String sql = \\\"SELECT * FROM \\\" + tableName ;\\n PreparedStatement stmt = conn.prepareStatement(sql);\\n ResultSet rs = stmt.executeQuery();\\n\\n while(rs.next()) {\\n persons.add(new Person(\\n rs.getString(\\\"id\\\"),\\n rs.getString(\\\"firstname\\\"),\\n rs.getString(\\\"lastname\\\"),\\n rs.getInt(\\\"age\\\"),\\n rs.getString(\\\"type\\\")));\\n }\\n stmt.close();\\n conn.close();\\n\\n } catch (SQLException e) {\\n System.out.println(e.getMessage());\\n }\\n return persons;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8202c9eebb09fee2d093001c8cd8a216\",\n \"score\": \"0.60181016\",\n \"text\": \"protected List getRowsImpl(DataTable aTable, Query aQuery) throws Exception { throw notImpl(\\\"getRowsImpl\\\"); }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d8f98219b6cfca70ddcb7a51fbc4859d\",\n \"score\": \"0.6009641\",\n \"text\": \"ResultSet getResultSet();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a230d899606f983cfa215bb8cd4ac6d\",\n \"score\": \"0.59991026\",\n \"text\": \"@Override\\r\\n\\tpublic int getAllRows() throws Exception {\\n\\t\\treturn 0;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8130de7435a2b5014d254e00e5c94b0c\",\n \"score\": \"0.59728026\",\n \"text\": \"@Override\\r\\n\\tpublic

List queryAll(String statement, P p) throws Exception {\\n\\t\\treturn sqlSessionTemplate.selectList(statement, p);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fb085424c8a20431a95252bf3a8da735\",\n \"score\": \"0.5962049\",\n \"text\": \"private static List getSampleQuery(\\n Bigquery bigquery,\\n String tableId)\\n throws IOException {\\n\\n String query = \\\"SELECT * FROM [\\\" + tableId + \\\"] LIMIT 10\\\";\\n return executeQuery(query, bigquery);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9b4bee4b10436cccc5d56840e370090d\",\n \"score\": \"0.59175664\",\n \"text\": \"public ResultSet getAllBeds() {\\n sqlQuery = \\\"SELECT * FROM BEDS;\\\";\\n try{\\n preparedStmt = connection.prepareStatement(sqlQuery);\\n resultSet = preparedStmt.executeQuery();\\n }catch(SQLException e){}\\n return resultSet;\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b8308efe8db78e695cdc56bc806e8e88\",\n \"score\": \"0.5916114\",\n \"text\": \"void selectAll();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b8308efe8db78e695cdc56bc806e8e88\",\n \"score\": \"0.5916114\",\n \"text\": \"void selectAll();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fedd7262d05dfb963c973b509ef377b4\",\n \"score\": \"0.5912481\",\n \"text\": \"public Rows getRows() {\\n return getRows(_begin);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e60d8002c5b0144316b76913e055b9ae\",\n \"score\": \"0.59099853\",\n \"text\": \"public Cursor getAllData(String table_name) {\\n Cursor res = null;\\n try {\\n SQLiteDatabase db = this.getWritableDatabase();\\n res = db.rawQuery(\\\"select * from \\\" + table_name, null);\\n } catch (NullPointerException e) {\\n System.err.println(\\\"ERROR: 0 \\\" + e);\\n }\\n return res;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"76ab13ec504c301de2c2710f571de996\",\n \"score\": \"0.5907612\",\n \"text\": \"List selectAll();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9bcfaa3cbda1396a2d5860e742fabf04\",\n \"score\": \"0.5892073\",\n \"text\": \"public ResultSet getAllRooms() {\\n sqlQuery = \\\"SELECT * FROM ROOMS;\\\";\\n try{\\n preparedStmt = connection.prepareStatement(sqlQuery);\\n resultSet = preparedStmt.executeQuery();\\n }catch(SQLException e){}\\n return resultSet;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"62f07ec6c4f5054e9c323f6d82c20f5f\",\n \"score\": \"0.5890632\",\n \"text\": \"public Cursor getAllRecords() {\\r\\n\\r\\n\\r\\n //Does not work only works when selecting from user table\\r\\n //Cursor cursor = sqlDb.rawQuery(\\\"select * from \\\" + TABLE_PROFILES, null);\\r\\n\\r\\n Cursor cursor = sqlDb.rawQuery(\\\"select * from \\\" + TABLE_USERS, null);\\r\\n\\r\\n return cursor;\\r\\n\\r\\n //return sqlDb.rawQuery(\\\"select * from \\\" + TABLE_PROFILES, null);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f4e76167af7804268569f1504bbc7c8\",\n \"score\": \"0.5878685\",\n \"text\": \"List selectAll();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"026cd71629fc3c0977a888b4f22bc872\",\n \"score\": \"0.5876269\",\n \"text\": \"@Override\\r\\n\\tpublic List getQueryAll() {\\n\\t\\treturn bd.queryAll();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dee708ede2a9189fe3ff43c137ea8f3d\",\n \"score\": \"0.58661246\",\n \"text\": \"public Cursor getAllData(){\\n\\n SQLiteDatabase db = this.getWritableDatabase();\\n Cursor res = db.rawQuery(\\\"select * from \\\"+TABLE_NAME, null);\\n Log.d(TAG,\\\"databses\\\" +res);\\n return res;\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13e9a5fdb16c4cee26c5bf65d827cf81\",\n \"score\": \"0.58658075\",\n \"text\": \"@Override\\r\\n\\tpublic ArrayList getAll() {\\n\\t\\tdao = sqlSession.getMapper(Dao.class);\\r\\n\\t\\treturn dao.selectAll();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"885e6ecab7a61865d601996f92d6c0bf\",\n \"score\": \"0.58635217\",\n \"text\": \"public Cursor fetchAll() {\\n return mDb.query(DATABASE_TABLE, new String[]{KEY_ID, KEY_ORDERID, KEY_NAME, KEY_COLOR, KEY_NUMBERS, KEY_PRICE\\n }, null, null, null, null, null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ef4b04625da77f695d810b7a5beca18\",\n \"score\": \"0.5861522\",\n \"text\": \"public void giveMeAll() throws SQLException, IllegalStateException\\n\\t{\\n\\t\\tif( !connectedToDB )\\n\\t\\t\\tthrow new IllegalStateException( \\\"Not connected\\\" );\\n\\n\\t\\tquery = selQuery;\\n\\t\\tquery += \\\"1=1\\\";\\n\\n\\t\\ttry\\n\\t\\t{\\n\\t\\t\\tSystem.out.println(\\\"Running query:\\\" + query); //debug\\n\\t\\t\\tresultSet = statement.executeQuery( query );\\n\\t\\t\\tmetaData = resultSet.getMetaData();\\n\\t\\t\\tSystem.out.println(\\\"Finished running query\\\"); //debug\\n\\t\\t}\\n\\t\\tcatch( SQLException sql )\\n\\t\\t{\\n\\t\\t\\tsql.printStackTrace();\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fd659755c02f660caf10b41f9c6e7a3e\",\n \"score\": \"0.58427364\",\n \"text\": \"@Override\\n\\tpublic List> readAll() {\\n\\t\\tString SQL = \\\"SELECT * FROM detalles\\\";\\n\\t\\treturn jdbcTemplate.queryForList(SQL);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5211ae62f52285442e1bce143054a677\",\n \"score\": \"0.5834695\",\n \"text\": \"@Override\\n\\tpublic List readAll() {\\n\\t\\treturn jdbcTemplate.query(\\\"Select * from personas\\\", BeanPropertyRowMapper.newInstance(Persona.class));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8f6e8a1e7e5b8423810d0fb2236857ae\",\n \"score\": \"0.58300006\",\n \"text\": \"@Override\\r\\n\\tpublic List selectAll() {\\r\\n\\t\\tfinal String SQL = \\\"SELECT * FROM partita\\\";\\r\\n\\t\\t\\r\\n\\t\\treturn namedParameterJdbcTemplate.query(SQL, new PartitaRowMapper());\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fab2d4f9e4f0ec9fe787645f9a1ca02d\",\n \"score\": \"0.5828545\",\n \"text\": \"public List retrieveAll();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf30c149aa6417069d10330f5f4a185a\",\n \"score\": \"0.5827361\",\n \"text\": \"public Cursor fetchAll() throws SQLException\\r\\n\\r\\n\\t{\\n\\r\\n\\t\\tCursor mCursor = mDb.query(true, SQLITE_TABLE, new String[] {\\r\\n\\t\\t\\t\\tKEY_ROWID, KEY_CREWID, KEY_CREWNAME, KEY_HOUSENUM,\\r\\n\\t\\t\\t\\tKEY_CREWNICKNAME,KEY_COMPANYNAME, KEY_HOUSEOWNER, KEY_PHONENUM, KEY_AREA,\\r\\n\\t\\t\\t\\tKEY_EMAIL, KEY_STREET, KEY_CITY, KEY_STATE, KEY_ZIPCODE,\\r\\n\\t\\t\\t\\tKEY_MATCODE, KEY_WORKCENTER }, null, null, null, null, null,\\r\\n\\t\\t\\t\\tnull);\\r\\n\\r\\n\\t\\tif (mCursor != null) {\\r\\n\\t\\t\\tmCursor.moveToFirst();\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\treturn mCursor;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3e2a26f66a004b9207d528d1f1bb0f83\",\n \"score\": \"0.58265954\",\n \"text\": \"public List findAllInternal() {\\n Session session = sessionFactory.openSession();\\n try {\\n ManagedSessionContext.bind(session);\\n Transaction transaction = session.beginTransaction();\\n try {\\n List list= findAll();\\n transaction.commit();\\n return list;\\n }\\n catch (Exception e) {\\n transaction.rollback();\\n throw new RuntimeException(e);\\n }\\n }\\n finally {\\n session.close();\\n ManagedSessionContext.unbind(sessionFactory);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9e2189f4847292f0390d7806b76ad88d\",\n \"score\": \"0.5822627\",\n \"text\": \"public Collection values() {\\n Collection allOfThem = new ArrayList();\\n ConnectionRecord cr = getConnection();\\n Connection c = cr.connection;\\n\\n try {\\n PreparedStatement stmt = c.prepareStatement(\\\"select * from \\\" + getTable().getFQTablename());\\n stmt.execute();// just execute() since executeQuery(x) would throw an exception regardless of content per JDBC spec.\\n\\n ResultSet rs = stmt.getResultSet();\\n while (rs.next()) {\\n V newOne = create();\\n ColumnMap map = rsToMap(rs);\\n populate(map, newOne);\\n allOfThem.add(newOne);\\n }\\n rs.close();\\n stmt.close();\\n releaseConnection(cr);\\n } catch (SQLException e) {\\n destroyConnection(cr);\\n throw new GeneralException(\\\"Error: could not get database object\\\", e);\\n }\\n return allOfThem;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3629b76a3dae0585bf2a51453c76e001\",\n \"score\": \"0.5820811\",\n \"text\": \"public static ResultSet fetchRecords() throws ClassNotFoundException\\n { \\n try \\n { \\n Connection conn = (Connection) connectToDB();\\n String query = \\\"SELECT * FROM \\\" + TABLE;\\n stmt = conn.createStatement();\\n ResultSet rs = stmt.executeQuery(query); \\n \\n return rs;\\n }\\n catch (InstantiationException | IllegalAccessException | SQLException ex) \\n {\\n Logger.getLogger(Smart.class.getName()).log(Level.SEVERE, null, ex);\\n }\\n \\n return null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e28527f003cf9127050c68a4dff47b88\",\n \"score\": \"0.5815847\",\n \"text\": \"public List findAll()throws SQLException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ea2acbe72a5ba6a3753de8db77717097\",\n \"score\": \"0.5812221\",\n \"text\": \"ResultSet query(String table, String fields, String where, String order, String addition) throws SQLException{\\r\\n\\t\\tString sql = buildSQLQuery(table, fields, where, order, addition);\\r\\n\\t\\t// Allows to walk the ResultSet in any direction\\r\\n\\t\\treturn conn.createStatement(ResultSet.FETCH_UNKNOWN, ResultSet.CONCUR_READ_ONLY).executeQuery(sql);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0518624227bc29552de1ab499969a83a\",\n \"score\": \"0.5809099\",\n \"text\": \"public List findAll()\\r\\n\\t{\\r\\n \\treturn getHyperGraph().getTransactionManager().ensureTransaction(new Callable>() {\\r\\n \\tpublic List call()\\r\\n \\t{ \\t\\r\\n \\t\\tArrayList result = new ArrayList();\\r\\n \\t\\tHGSearchResult rs = null;\\r\\n \\t\\ttry\\r\\n \\t\\t{\\r\\n \\t\\t\\trs = execute();\\r\\n \\t\\t\\twhile (rs.hasNext())\\r\\n \\t\\t\\t\\tresult.add(rs.next());\\r\\n \\t\\t\\treturn result;\\r\\n \\t\\t}\\r\\n \\t\\tfinally\\r\\n \\t\\t{\\r\\n \\t\\t\\tif (rs != null) rs.close();\\r\\n \\t\\t}\\r\\n \\t}\\r\\n \\t},\\r\\n \\tHGTransactionConfig.READONLY);\\t\\t\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"62a29e8eb8822e73db5f44794b29e440\",\n \"score\": \"0.58077216\",\n \"text\": \"public Iterable getRows();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8a7f4788210fa6f82a47f74b9f5c7c81\",\n \"score\": \"0.5807515\",\n \"text\": \"List getTableRows();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c214eca7e167defdd246b5f2fac073f0\",\n \"score\": \"0.5804861\",\n \"text\": \"public ResultSet getTableData(String tableName) {\\r\\n String query = \\\"SELECT * FROM dbo.\\\\\\\"CRONUS Sverige AB$\\\" + tableName + \\\"\\\\\\\"\\\";\\r\\n return getQuery(query);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"83c92a067ef19793d2adc3a36d875b7b\",\n \"score\": \"0.5801505\",\n \"text\": \"public abstract void selectAll();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8007ecc3b584c2cdfdd121569b75d4b0\",\n \"score\": \"0.57961774\",\n \"text\": \"public List retrieveAll() {\\n\\t\\t\\n\\t\\tConnection con = getConnection();\\n\\t\\t \\n\\t\\ttry {\\n\\t\\tString query = \\\"select * from Student\\\";\\n\\t\\tStatement stmt = con.createStatement();\\n\\t ResultSet rs = stmt.executeQuery(query);\\n\\t \\n\\t List students = new ArrayList();\\n\\t \\n\\t while (rs.next()) {\\n\\t \\tStudent student = getStudentFromDB(rs);\\n\\t \\tstudents.add(student);\\n\\t }\\n\\t return students;\\n\\t\\t} catch (SQLException e) {\\n\\t\\t\\te.printStackTrace();\\n\\t\\t\\t\\n\\t\\t}\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c0888b6b5509373b51c281fbcccf287\",\n \"score\": \"0.5793133\",\n \"text\": \"protected String fetchAllRowsFromTableSql(\\n\\t\\t\\tConnection conn, \\n\\t\\t\\tString tableName, \\n\\t\\t\\tList columns,\\n\\t\\t\\tint limit,\\n\\t\\t\\tint offset\\n\\n\\t\\t) {\\t\\t\\n\\t\\treturn fetchAllRowsFromTableSql(conn, tableName, columns, limit, offset);\\t\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"baa8371fc12f045c8a3cdd675ba5f09e\",\n \"score\": \"0.57891\",\n \"text\": \"@Override\\n\\tpublic List queryAll() {\\n\\t\\treturn mysqlDao.queryAll();\\n//\\t\\treturn sqliteDao.queryAll();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f8f17b37a5a343bd147842ef43e476e7\",\n \"score\": \"0.57824004\",\n \"text\": \"public static List fetchAllRestaurants ()\\r\\n { \\r\\n String sql = SQLTranslator.translateAllRestaurants();\\r\\n ResultSet rs = DBHandler.query(sql);\\r\\n List restaurants = RsToRL(rs);\\r\\n return restaurants;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4141c3e638add1f9471d10f747ac4de0\",\n \"score\": \"0.5775817\",\n \"text\": \"public java.util.List getAllRecords();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e7e01bae324ff62cb06ad1acca12b51e\",\n \"score\": \"0.57709736\",\n \"text\": \"@Override\\n\\tpublic List queryAll() {\\n\\t\\treturn dao.queryAll();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"540011d53780148bd0a29c462b219643\",\n \"score\": \"0.5769984\",\n \"text\": \"public Cursor getAllRecords()\\r\\n\\t\\t {\\r\\n\\t\\t return db.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_NAME, KEY_QUANTITY, KEY_CURRENT ,KEY_RESULT}, null, null, null, null, null);\\r\\n\\t\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d972a979e3604434b8e5cbd0b613fcb1\",\n \"score\": \"0.57648605\",\n \"text\": \"@Override\\n\\tpublic List queryAll() {\\n\\t\\treturn studentDao.queryAll();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ddf7e7f54e55e7195216c2ed28dd2969\",\n \"score\": \"0.5761531\",\n \"text\": \"@Override\\r\\n public List findAll() throws SQLException {\\n Query query = entityManager.createQuery(\\\"FROM \\\" + className + \\\" where delFlag=0\\\");\\r\\n List result = query.getResultList();\\r\\n return result;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5420aa9489973a46762d86f6ece0c204\",\n \"score\": \"0.576147\",\n \"text\": \"public ResultSet executeQuery() throws SQLException {\\n return delegate.executeQuery();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d47c8ec26bd02c1c4ea76a4ec56dadd9\",\n \"score\": \"0.5757893\",\n \"text\": \"public List getRows() {\\n return Collections.unmodifiableList(rows);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b670c65acadd04bd8c94a17d65890afa\",\n \"score\": \"0.5757082\",\n \"text\": \"@Override\\n\\tpublic KSupplier[] findAll() throws SQLException {\\n\\t\\treturn findByDynamicSelect( SQL_SELECT + \\\" ORDER BY ID\\\", new Object[0] );\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3ebf8c6901f5d758170c299f2f731b78\",\n \"score\": \"0.5755843\",\n \"text\": \"@Override\\n public List readAll() throws SQLException {\\n List arr=new ArrayList<>();\\n req = \\\"select * from site\\\";\\n ste=con.createStatement();\\n ResultSet rs=ste.executeQuery(req);\\n while (rs.next()) { \\n int id=rs.getInt(1);\\n String emplacement=rs.getString(\\\"emplacement\\\");\\n Double x=rs.getDouble(3);\\n Double y=rs.getDouble(4);\\n Site s=new Site(id,emplacement,x,y);\\n arr.add(s);\\n }\\n return arr;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6a7efedfa80a4a8ee05f90a568b763df\",\n \"score\": \"0.5755123\",\n \"text\": \"public List selectAll() {\\n\\n Query query = entityManager.createQuery(SELECT_QUERY);\\n List students = (List) query.getResultList();\\n return students;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1d54da9e9f3cd037c376ec6bfdd70393\",\n \"score\": \"0.57484037\",\n \"text\": \"abstract public List selectRecords(Hashtable columnsAndValues)throws DatabaseException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"754ead38da9c4288dd000fd4a6f1616d\",\n \"score\": \"0.5748313\",\n \"text\": \"@Override\\r\\n\\tpublic ResultSet query(String query) throws SQLException {\\r\\n\\t\\tStatement stmt = _conn.createStatement();\\r\\n\\t\\tResultSet rs = stmt.executeQuery(query);\\r\\n\\t\\treturn rs;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"72613799d837f82aa4b949389902c091\",\n \"score\": \"0.57471925\",\n \"text\": \"public IDatabaseReader selectAll(final ITable[] tables);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d3cf3eb96577f61a8aaf43b2c365535f\",\n \"score\": \"0.5747142\",\n \"text\": \"@Override\\r\\n\\t@Transactional\\r\\n\\tpublic List findAll() {\\n\\t\\tSession currentSession = entityManager.unwrap(Session.class);\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t// create a query, we are using native Hibernate api\\r\\n\\t\\tQuery theQuery = \\r\\n\\t\\t\\t\\tcurrentSession.createQuery(\\\"from Employee\\\",Employee.class);\\r\\n\\t\\t\\r\\n\\t\\t// execute query and get result list\\r\\n\\t\\tList employees = theQuery.getResultList();\\r\\n\\t\\t\\r\\n\\t\\t// return the results\\r\\n\\t\\treturn employees;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1f057f08b55549054ce7c619773f30c\",\n \"score\": \"0.574045\",\n \"text\": \"public List retrieveAll();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"46f6a248b7c580b3227082655bd489f6\",\n \"score\": \"0.57393265\",\n \"text\": \"@Override\\n\\tpublic Object queryAll(Object params) throws Exception {\\n\\t\\treturn bankMapper.queryAll(params);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7515ac60a467ec516c7afcf3e13391ff\",\n \"score\": \"0.57360464\",\n \"text\": \"@Override\\r\\n\\tpublic List SelectAll() {\\n\\t\\treturn machDaoImp.SelectAll();\\r\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":337,"cells":{"query_id":{"kind":"string","value":"b68959481a99ec5d3c83ec1a904a572a"},"query":{"kind":"string","value":"Creates a Builder by copying an existing AutoGeneratedSchema instance"},"positive_passages":{"kind":"list like","value":[{"docid":"9af81451b830a09184eda8b4367eafa3","score":"0.65433395","text":"private Builder(AutoGeneratedSchema other) {\n super(AutoGeneratedSchema.SCHEMA$);\n if (isValidValue(fields()[0], other.CALMONTH)) {\n this.CALMONTH = data().deepCopy(fields()[0].schema(), other.CALMONTH);\n fieldSetFlags()[0] = true;\n }\n if (isValidValue(fields()[1], other.CALDAY)) {\n this.CALDAY = data().deepCopy(fields()[1].schema(), other.CALDAY);\n fieldSetFlags()[1] = true;\n }\n if (isValidValue(fields()[2], other.MATERIAL)) {\n this.MATERIAL = data().deepCopy(fields()[2].schema(), other.MATERIAL);\n fieldSetFlags()[2] = true;\n }\n if (isValidValue(fields()[3], other.EANUPC)) {\n this.EANUPC = data().deepCopy(fields()[3].schema(), other.EANUPC);\n fieldSetFlags()[3] = true;\n }\n if (isValidValue(fields()[4], other.PLANT)) {\n this.PLANT = data().deepCopy(fields()[4].schema(), other.PLANT);\n fieldSetFlags()[4] = true;\n }\n if (isValidValue(fields()[5], other.BILL_TYPE)) {\n this.BILL_TYPE = data().deepCopy(fields()[5].schema(), other.BILL_TYPE);\n fieldSetFlags()[5] = true;\n }\n if (isValidValue(fields()[6], other.STOR_LOC)) {\n this.STOR_LOC = data().deepCopy(fields()[6].schema(), other.STOR_LOC);\n fieldSetFlags()[6] = true;\n }\n if (isValidValue(fields()[7], other.DISTR_CHAN)) {\n this.DISTR_CHAN = data().deepCopy(fields()[7].schema(), other.DISTR_CHAN);\n fieldSetFlags()[7] = true;\n }\n if (isValidValue(fields()[8], other.SOLD_TO)) {\n this.SOLD_TO = data().deepCopy(fields()[8].schema(), other.SOLD_TO);\n fieldSetFlags()[8] = true;\n }\n if (isValidValue(fields()[9], other.RT_PROMO)) {\n this.RT_PROMO = data().deepCopy(fields()[9].schema(), other.RT_PROMO);\n fieldSetFlags()[9] = true;\n }\n if (isValidValue(fields()[10], other.CUST_GROUP)) {\n this.CUST_GROUP = data().deepCopy(fields()[10].schema(), other.CUST_GROUP);\n fieldSetFlags()[10] = true;\n }\n if (isValidValue(fields()[11], other._BIC_ZOPC0104)) {\n this._BIC_ZOPC0104 = data().deepCopy(fields()[11].schema(), other._BIC_ZOPC0104);\n fieldSetFlags()[11] = true;\n }\n if (isValidValue(fields()[12], other._BIC_ZOPC0513)) {\n this._BIC_ZOPC0513 = data().deepCopy(fields()[12].schema(), other._BIC_ZOPC0513);\n fieldSetFlags()[12] = true;\n }\n if (isValidValue(fields()[13], other.RECORDMODE)) {\n this.RECORDMODE = data().deepCopy(fields()[13].schema(), other.RECORDMODE);\n fieldSetFlags()[13] = true;\n }\n if (isValidValue(fields()[14], other.MAT_PLANT)) {\n this.MAT_PLANT = data().deepCopy(fields()[14].schema(), other.MAT_PLANT);\n fieldSetFlags()[14] = true;\n }\n if (isValidValue(fields()[15], other.SALES_DIST)) {\n this.SALES_DIST = data().deepCopy(fields()[15].schema(), other.SALES_DIST);\n fieldSetFlags()[15] = true;\n }\n if (isValidValue(fields()[16], other._BIC_ZOPC0006)) {\n this._BIC_ZOPC0006 = data().deepCopy(fields()[16].schema(), other._BIC_ZOPC0006);\n fieldSetFlags()[16] = true;\n }\n if (isValidValue(fields()[17], other._BIC_ZOPC0041)) {\n this._BIC_ZOPC0041 = data().deepCopy(fields()[17].schema(), other._BIC_ZOPC0041);\n fieldSetFlags()[17] = true;\n }\n if (isValidValue(fields()[18], other._BIC_ZOPC0042)) {\n this._BIC_ZOPC0042 = data().deepCopy(fields()[18].schema(), other._BIC_ZOPC0042);\n fieldSetFlags()[18] = true;\n }\n if (isValidValue(fields()[19], other._BIC_ZOPC0043)) {\n this._BIC_ZOPC0043 = data().deepCopy(fields()[19].schema(), other._BIC_ZOPC0043);\n fieldSetFlags()[19] = true;\n }\n if (isValidValue(fields()[20], other.VENDOR)) {\n this.VENDOR = data().deepCopy(fields()[20].schema(), other.VENDOR);\n fieldSetFlags()[20] = true;\n }\n if (isValidValue(fields()[21], other._BIC_ZMMC0003)) {\n this._BIC_ZMMC0003 = data().deepCopy(fields()[21].schema(), other._BIC_ZMMC0003);\n fieldSetFlags()[21] = true;\n }\n if (isValidValue(fields()[22], other._BIC_ZPURC004)) {\n this._BIC_ZPURC004 = data().deepCopy(fields()[22].schema(), other._BIC_ZPURC004);\n fieldSetFlags()[22] = true;\n }\n if (isValidValue(fields()[23], other._BIC_ZMMC0005)) {\n this._BIC_ZMMC0005 = data().deepCopy(fields()[23].schema(), other._BIC_ZMMC0005);\n fieldSetFlags()[23] = true;\n }\n if (isValidValue(fields()[24], other.TAX_AMOUNT)) {\n this.TAX_AMOUNT = data().deepCopy(fields()[24].schema(), other.TAX_AMOUNT);\n fieldSetFlags()[24] = true;\n }\n if (isValidValue(fields()[25], other.DOC_CURRCY)) {\n this.DOC_CURRCY = data().deepCopy(fields()[25].schema(), other.DOC_CURRCY);\n fieldSetFlags()[25] = true;\n }\n if (isValidValue(fields()[26], other.COST)) {\n this.COST = data().deepCopy(fields()[26].schema(), other.COST);\n fieldSetFlags()[26] = true;\n }\n if (isValidValue(fields()[27], other.CSHDSC_BAS)) {\n this.CSHDSC_BAS = data().deepCopy(fields()[27].schema(), other.CSHDSC_BAS);\n fieldSetFlags()[27] = true;\n }\n if (isValidValue(fields()[28], other.DENOMINTR)) {\n this.DENOMINTR = data().deepCopy(fields()[28].schema(), other.DENOMINTR);\n fieldSetFlags()[28] = true;\n }\n if (isValidValue(fields()[29], other.EXCHG_RATE)) {\n this.EXCHG_RATE = data().deepCopy(fields()[29].schema(), other.EXCHG_RATE);\n fieldSetFlags()[29] = true;\n }\n if (isValidValue(fields()[30], other.EXCHG_STAT)) {\n this.EXCHG_STAT = data().deepCopy(fields()[30].schema(), other.EXCHG_STAT);\n fieldSetFlags()[30] = true;\n }\n if (isValidValue(fields()[31], other.EXRATEXACC)) {\n this.EXRATEXACC = data().deepCopy(fields()[31].schema(), other.EXRATEXACC);\n fieldSetFlags()[31] = true;\n }\n if (isValidValue(fields()[32], other.EXRATE_ACC)) {\n this.EXRATE_ACC = data().deepCopy(fields()[32].schema(), other.EXRATE_ACC);\n fieldSetFlags()[32] = true;\n }\n if (isValidValue(fields()[33], other.GROSS_VAL)) {\n this.GROSS_VAL = data().deepCopy(fields()[33].schema(), other.GROSS_VAL);\n fieldSetFlags()[33] = true;\n }\n if (isValidValue(fields()[34], other.GRS_WGT_DL)) {\n this.GRS_WGT_DL = data().deepCopy(fields()[34].schema(), other.GRS_WGT_DL);\n fieldSetFlags()[34] = true;\n }\n if (isValidValue(fields()[35], other.INV_QTY)) {\n this.INV_QTY = data().deepCopy(fields()[35].schema(), other.INV_QTY);\n fieldSetFlags()[35] = true;\n }\n if (isValidValue(fields()[36], other.UNIT_OF_WT)) {\n this.UNIT_OF_WT = data().deepCopy(fields()[36].schema(), other.UNIT_OF_WT);\n fieldSetFlags()[36] = true;\n }\n if (isValidValue(fields()[37], other.SALES_UNIT)) {\n this.SALES_UNIT = data().deepCopy(fields()[37].schema(), other.SALES_UNIT);\n fieldSetFlags()[37] = true;\n }\n if (isValidValue(fields()[38], other.NETVAL_INV)) {\n this.NETVAL_INV = data().deepCopy(fields()[38].schema(), other.NETVAL_INV);\n fieldSetFlags()[38] = true;\n }\n if (isValidValue(fields()[39], other.NET_WGT_DL)) {\n this.NET_WGT_DL = data().deepCopy(fields()[39].schema(), other.NET_WGT_DL);\n fieldSetFlags()[39] = true;\n }\n if (isValidValue(fields()[40], other.NO_INV_IT)) {\n this.NO_INV_IT = data().deepCopy(fields()[40].schema(), other.NO_INV_IT);\n fieldSetFlags()[40] = true;\n }\n if (isValidValue(fields()[41], other.NUMERATOR)) {\n this.NUMERATOR = data().deepCopy(fields()[41].schema(), other.NUMERATOR);\n fieldSetFlags()[41] = true;\n }\n if (isValidValue(fields()[42], other.REQ_QTY)) {\n this.REQ_QTY = data().deepCopy(fields()[42].schema(), other.REQ_QTY);\n fieldSetFlags()[42] = true;\n }\n if (isValidValue(fields()[43], other.BASE_UOM)) {\n this.BASE_UOM = data().deepCopy(fields()[43].schema(), other.BASE_UOM);\n fieldSetFlags()[43] = true;\n }\n if (isValidValue(fields()[44], other.SCALE_QTY)) {\n this.SCALE_QTY = data().deepCopy(fields()[44].schema(), other.SCALE_QTY);\n fieldSetFlags()[44] = true;\n }\n if (isValidValue(fields()[45], other.SUBTOTAL_1)) {\n this.SUBTOTAL_1 = data().deepCopy(fields()[45].schema(), other.SUBTOTAL_1);\n fieldSetFlags()[45] = true;\n }\n if (isValidValue(fields()[46], other.SUBTOTAL_2)) {\n this.SUBTOTAL_2 = data().deepCopy(fields()[46].schema(), other.SUBTOTAL_2);\n fieldSetFlags()[46] = true;\n }\n if (isValidValue(fields()[47], other.SUBTOTAL_3)) {\n this.SUBTOTAL_3 = data().deepCopy(fields()[47].schema(), other.SUBTOTAL_3);\n fieldSetFlags()[47] = true;\n }\n if (isValidValue(fields()[48], other.SUBTOTAL_4)) {\n this.SUBTOTAL_4 = data().deepCopy(fields()[48].schema(), other.SUBTOTAL_4);\n fieldSetFlags()[48] = true;\n }\n if (isValidValue(fields()[49], other.SUBTOTAL_5)) {\n this.SUBTOTAL_5 = data().deepCopy(fields()[49].schema(), other.SUBTOTAL_5);\n fieldSetFlags()[49] = true;\n }\n if (isValidValue(fields()[50], other.SUBTOTAL_6)) {\n this.SUBTOTAL_6 = data().deepCopy(fields()[50].schema(), other.SUBTOTAL_6);\n fieldSetFlags()[50] = true;\n }\n if (isValidValue(fields()[51], other._BIC_ZOPK0021)) {\n this._BIC_ZOPK0021 = data().deepCopy(fields()[51].schema(), other._BIC_ZOPK0021);\n fieldSetFlags()[51] = true;\n }\n if (isValidValue(fields()[52], other._BIC_ZOPK0053)) {\n this._BIC_ZOPK0053 = data().deepCopy(fields()[52].schema(), other._BIC_ZOPK0053);\n fieldSetFlags()[52] = true;\n }\n if (isValidValue(fields()[53], other._BIC_ZOPK0054)) {\n this._BIC_ZOPK0054 = data().deepCopy(fields()[53].schema(), other._BIC_ZOPK0054);\n fieldSetFlags()[53] = true;\n }\n if (isValidValue(fields()[54], other._BIC_ZOPK0055)) {\n this._BIC_ZOPK0055 = data().deepCopy(fields()[54].schema(), other._BIC_ZOPK0055);\n fieldSetFlags()[54] = true;\n }\n if (isValidValue(fields()[55], other._BIC_ZPRICE11)) {\n this._BIC_ZPRICE11 = data().deepCopy(fields()[55].schema(), other._BIC_ZPRICE11);\n fieldSetFlags()[55] = true;\n }\n if (isValidValue(fields()[56], other._BIC_ZPRICE12)) {\n this._BIC_ZPRICE12 = data().deepCopy(fields()[56].schema(), other._BIC_ZPRICE12);\n fieldSetFlags()[56] = true;\n }\n if (isValidValue(fields()[57], other.CURRENCY)) {\n this.CURRENCY = data().deepCopy(fields()[57].schema(), other.CURRENCY);\n fieldSetFlags()[57] = true;\n }\n if (isValidValue(fields()[58], other._BIC_ZOPK0145)) {\n this._BIC_ZOPK0145 = data().deepCopy(fields()[58].schema(), other._BIC_ZOPK0145);\n fieldSetFlags()[58] = true;\n }\n if (isValidValue(fields()[59], other.AMOUNT)) {\n this.AMOUNT = data().deepCopy(fields()[59].schema(), other.AMOUNT);\n fieldSetFlags()[59] = true;\n }\n if (isValidValue(fields()[60], other._BIC_ZOPK0048)) {\n this._BIC_ZOPK0048 = data().deepCopy(fields()[60].schema(), other._BIC_ZOPK0048);\n fieldSetFlags()[60] = true;\n }\n if (isValidValue(fields()[61], other._BIC_ZOPK0049)) {\n this._BIC_ZOPK0049 = data().deepCopy(fields()[61].schema(), other._BIC_ZOPK0049);\n fieldSetFlags()[61] = true;\n }\n if (isValidValue(fields()[62], other.RT_TAXCODE)) {\n this.RT_TAXCODE = data().deepCopy(fields()[62].schema(), other.RT_TAXCODE);\n fieldSetFlags()[62] = true;\n }\n if (isValidValue(fields()[63], other._BIC_ZOPK0047)) {\n this._BIC_ZOPK0047 = data().deepCopy(fields()[63].schema(), other._BIC_ZOPK0047);\n fieldSetFlags()[63] = true;\n }\n if (isValidValue(fields()[64], other._BIC_ZOPC0055)) {\n this._BIC_ZOPC0055 = data().deepCopy(fields()[64].schema(), other._BIC_ZOPC0055);\n fieldSetFlags()[64] = true;\n }\n }","title":""}],"string":"[\n {\n \"docid\": \"9af81451b830a09184eda8b4367eafa3\",\n \"score\": \"0.65433395\",\n \"text\": \"private Builder(AutoGeneratedSchema other) {\\n super(AutoGeneratedSchema.SCHEMA$);\\n if (isValidValue(fields()[0], other.CALMONTH)) {\\n this.CALMONTH = data().deepCopy(fields()[0].schema(), other.CALMONTH);\\n fieldSetFlags()[0] = true;\\n }\\n if (isValidValue(fields()[1], other.CALDAY)) {\\n this.CALDAY = data().deepCopy(fields()[1].schema(), other.CALDAY);\\n fieldSetFlags()[1] = true;\\n }\\n if (isValidValue(fields()[2], other.MATERIAL)) {\\n this.MATERIAL = data().deepCopy(fields()[2].schema(), other.MATERIAL);\\n fieldSetFlags()[2] = true;\\n }\\n if (isValidValue(fields()[3], other.EANUPC)) {\\n this.EANUPC = data().deepCopy(fields()[3].schema(), other.EANUPC);\\n fieldSetFlags()[3] = true;\\n }\\n if (isValidValue(fields()[4], other.PLANT)) {\\n this.PLANT = data().deepCopy(fields()[4].schema(), other.PLANT);\\n fieldSetFlags()[4] = true;\\n }\\n if (isValidValue(fields()[5], other.BILL_TYPE)) {\\n this.BILL_TYPE = data().deepCopy(fields()[5].schema(), other.BILL_TYPE);\\n fieldSetFlags()[5] = true;\\n }\\n if (isValidValue(fields()[6], other.STOR_LOC)) {\\n this.STOR_LOC = data().deepCopy(fields()[6].schema(), other.STOR_LOC);\\n fieldSetFlags()[6] = true;\\n }\\n if (isValidValue(fields()[7], other.DISTR_CHAN)) {\\n this.DISTR_CHAN = data().deepCopy(fields()[7].schema(), other.DISTR_CHAN);\\n fieldSetFlags()[7] = true;\\n }\\n if (isValidValue(fields()[8], other.SOLD_TO)) {\\n this.SOLD_TO = data().deepCopy(fields()[8].schema(), other.SOLD_TO);\\n fieldSetFlags()[8] = true;\\n }\\n if (isValidValue(fields()[9], other.RT_PROMO)) {\\n this.RT_PROMO = data().deepCopy(fields()[9].schema(), other.RT_PROMO);\\n fieldSetFlags()[9] = true;\\n }\\n if (isValidValue(fields()[10], other.CUST_GROUP)) {\\n this.CUST_GROUP = data().deepCopy(fields()[10].schema(), other.CUST_GROUP);\\n fieldSetFlags()[10] = true;\\n }\\n if (isValidValue(fields()[11], other._BIC_ZOPC0104)) {\\n this._BIC_ZOPC0104 = data().deepCopy(fields()[11].schema(), other._BIC_ZOPC0104);\\n fieldSetFlags()[11] = true;\\n }\\n if (isValidValue(fields()[12], other._BIC_ZOPC0513)) {\\n this._BIC_ZOPC0513 = data().deepCopy(fields()[12].schema(), other._BIC_ZOPC0513);\\n fieldSetFlags()[12] = true;\\n }\\n if (isValidValue(fields()[13], other.RECORDMODE)) {\\n this.RECORDMODE = data().deepCopy(fields()[13].schema(), other.RECORDMODE);\\n fieldSetFlags()[13] = true;\\n }\\n if (isValidValue(fields()[14], other.MAT_PLANT)) {\\n this.MAT_PLANT = data().deepCopy(fields()[14].schema(), other.MAT_PLANT);\\n fieldSetFlags()[14] = true;\\n }\\n if (isValidValue(fields()[15], other.SALES_DIST)) {\\n this.SALES_DIST = data().deepCopy(fields()[15].schema(), other.SALES_DIST);\\n fieldSetFlags()[15] = true;\\n }\\n if (isValidValue(fields()[16], other._BIC_ZOPC0006)) {\\n this._BIC_ZOPC0006 = data().deepCopy(fields()[16].schema(), other._BIC_ZOPC0006);\\n fieldSetFlags()[16] = true;\\n }\\n if (isValidValue(fields()[17], other._BIC_ZOPC0041)) {\\n this._BIC_ZOPC0041 = data().deepCopy(fields()[17].schema(), other._BIC_ZOPC0041);\\n fieldSetFlags()[17] = true;\\n }\\n if (isValidValue(fields()[18], other._BIC_ZOPC0042)) {\\n this._BIC_ZOPC0042 = data().deepCopy(fields()[18].schema(), other._BIC_ZOPC0042);\\n fieldSetFlags()[18] = true;\\n }\\n if (isValidValue(fields()[19], other._BIC_ZOPC0043)) {\\n this._BIC_ZOPC0043 = data().deepCopy(fields()[19].schema(), other._BIC_ZOPC0043);\\n fieldSetFlags()[19] = true;\\n }\\n if (isValidValue(fields()[20], other.VENDOR)) {\\n this.VENDOR = data().deepCopy(fields()[20].schema(), other.VENDOR);\\n fieldSetFlags()[20] = true;\\n }\\n if (isValidValue(fields()[21], other._BIC_ZMMC0003)) {\\n this._BIC_ZMMC0003 = data().deepCopy(fields()[21].schema(), other._BIC_ZMMC0003);\\n fieldSetFlags()[21] = true;\\n }\\n if (isValidValue(fields()[22], other._BIC_ZPURC004)) {\\n this._BIC_ZPURC004 = data().deepCopy(fields()[22].schema(), other._BIC_ZPURC004);\\n fieldSetFlags()[22] = true;\\n }\\n if (isValidValue(fields()[23], other._BIC_ZMMC0005)) {\\n this._BIC_ZMMC0005 = data().deepCopy(fields()[23].schema(), other._BIC_ZMMC0005);\\n fieldSetFlags()[23] = true;\\n }\\n if (isValidValue(fields()[24], other.TAX_AMOUNT)) {\\n this.TAX_AMOUNT = data().deepCopy(fields()[24].schema(), other.TAX_AMOUNT);\\n fieldSetFlags()[24] = true;\\n }\\n if (isValidValue(fields()[25], other.DOC_CURRCY)) {\\n this.DOC_CURRCY = data().deepCopy(fields()[25].schema(), other.DOC_CURRCY);\\n fieldSetFlags()[25] = true;\\n }\\n if (isValidValue(fields()[26], other.COST)) {\\n this.COST = data().deepCopy(fields()[26].schema(), other.COST);\\n fieldSetFlags()[26] = true;\\n }\\n if (isValidValue(fields()[27], other.CSHDSC_BAS)) {\\n this.CSHDSC_BAS = data().deepCopy(fields()[27].schema(), other.CSHDSC_BAS);\\n fieldSetFlags()[27] = true;\\n }\\n if (isValidValue(fields()[28], other.DENOMINTR)) {\\n this.DENOMINTR = data().deepCopy(fields()[28].schema(), other.DENOMINTR);\\n fieldSetFlags()[28] = true;\\n }\\n if (isValidValue(fields()[29], other.EXCHG_RATE)) {\\n this.EXCHG_RATE = data().deepCopy(fields()[29].schema(), other.EXCHG_RATE);\\n fieldSetFlags()[29] = true;\\n }\\n if (isValidValue(fields()[30], other.EXCHG_STAT)) {\\n this.EXCHG_STAT = data().deepCopy(fields()[30].schema(), other.EXCHG_STAT);\\n fieldSetFlags()[30] = true;\\n }\\n if (isValidValue(fields()[31], other.EXRATEXACC)) {\\n this.EXRATEXACC = data().deepCopy(fields()[31].schema(), other.EXRATEXACC);\\n fieldSetFlags()[31] = true;\\n }\\n if (isValidValue(fields()[32], other.EXRATE_ACC)) {\\n this.EXRATE_ACC = data().deepCopy(fields()[32].schema(), other.EXRATE_ACC);\\n fieldSetFlags()[32] = true;\\n }\\n if (isValidValue(fields()[33], other.GROSS_VAL)) {\\n this.GROSS_VAL = data().deepCopy(fields()[33].schema(), other.GROSS_VAL);\\n fieldSetFlags()[33] = true;\\n }\\n if (isValidValue(fields()[34], other.GRS_WGT_DL)) {\\n this.GRS_WGT_DL = data().deepCopy(fields()[34].schema(), other.GRS_WGT_DL);\\n fieldSetFlags()[34] = true;\\n }\\n if (isValidValue(fields()[35], other.INV_QTY)) {\\n this.INV_QTY = data().deepCopy(fields()[35].schema(), other.INV_QTY);\\n fieldSetFlags()[35] = true;\\n }\\n if (isValidValue(fields()[36], other.UNIT_OF_WT)) {\\n this.UNIT_OF_WT = data().deepCopy(fields()[36].schema(), other.UNIT_OF_WT);\\n fieldSetFlags()[36] = true;\\n }\\n if (isValidValue(fields()[37], other.SALES_UNIT)) {\\n this.SALES_UNIT = data().deepCopy(fields()[37].schema(), other.SALES_UNIT);\\n fieldSetFlags()[37] = true;\\n }\\n if (isValidValue(fields()[38], other.NETVAL_INV)) {\\n this.NETVAL_INV = data().deepCopy(fields()[38].schema(), other.NETVAL_INV);\\n fieldSetFlags()[38] = true;\\n }\\n if (isValidValue(fields()[39], other.NET_WGT_DL)) {\\n this.NET_WGT_DL = data().deepCopy(fields()[39].schema(), other.NET_WGT_DL);\\n fieldSetFlags()[39] = true;\\n }\\n if (isValidValue(fields()[40], other.NO_INV_IT)) {\\n this.NO_INV_IT = data().deepCopy(fields()[40].schema(), other.NO_INV_IT);\\n fieldSetFlags()[40] = true;\\n }\\n if (isValidValue(fields()[41], other.NUMERATOR)) {\\n this.NUMERATOR = data().deepCopy(fields()[41].schema(), other.NUMERATOR);\\n fieldSetFlags()[41] = true;\\n }\\n if (isValidValue(fields()[42], other.REQ_QTY)) {\\n this.REQ_QTY = data().deepCopy(fields()[42].schema(), other.REQ_QTY);\\n fieldSetFlags()[42] = true;\\n }\\n if (isValidValue(fields()[43], other.BASE_UOM)) {\\n this.BASE_UOM = data().deepCopy(fields()[43].schema(), other.BASE_UOM);\\n fieldSetFlags()[43] = true;\\n }\\n if (isValidValue(fields()[44], other.SCALE_QTY)) {\\n this.SCALE_QTY = data().deepCopy(fields()[44].schema(), other.SCALE_QTY);\\n fieldSetFlags()[44] = true;\\n }\\n if (isValidValue(fields()[45], other.SUBTOTAL_1)) {\\n this.SUBTOTAL_1 = data().deepCopy(fields()[45].schema(), other.SUBTOTAL_1);\\n fieldSetFlags()[45] = true;\\n }\\n if (isValidValue(fields()[46], other.SUBTOTAL_2)) {\\n this.SUBTOTAL_2 = data().deepCopy(fields()[46].schema(), other.SUBTOTAL_2);\\n fieldSetFlags()[46] = true;\\n }\\n if (isValidValue(fields()[47], other.SUBTOTAL_3)) {\\n this.SUBTOTAL_3 = data().deepCopy(fields()[47].schema(), other.SUBTOTAL_3);\\n fieldSetFlags()[47] = true;\\n }\\n if (isValidValue(fields()[48], other.SUBTOTAL_4)) {\\n this.SUBTOTAL_4 = data().deepCopy(fields()[48].schema(), other.SUBTOTAL_4);\\n fieldSetFlags()[48] = true;\\n }\\n if (isValidValue(fields()[49], other.SUBTOTAL_5)) {\\n this.SUBTOTAL_5 = data().deepCopy(fields()[49].schema(), other.SUBTOTAL_5);\\n fieldSetFlags()[49] = true;\\n }\\n if (isValidValue(fields()[50], other.SUBTOTAL_6)) {\\n this.SUBTOTAL_6 = data().deepCopy(fields()[50].schema(), other.SUBTOTAL_6);\\n fieldSetFlags()[50] = true;\\n }\\n if (isValidValue(fields()[51], other._BIC_ZOPK0021)) {\\n this._BIC_ZOPK0021 = data().deepCopy(fields()[51].schema(), other._BIC_ZOPK0021);\\n fieldSetFlags()[51] = true;\\n }\\n if (isValidValue(fields()[52], other._BIC_ZOPK0053)) {\\n this._BIC_ZOPK0053 = data().deepCopy(fields()[52].schema(), other._BIC_ZOPK0053);\\n fieldSetFlags()[52] = true;\\n }\\n if (isValidValue(fields()[53], other._BIC_ZOPK0054)) {\\n this._BIC_ZOPK0054 = data().deepCopy(fields()[53].schema(), other._BIC_ZOPK0054);\\n fieldSetFlags()[53] = true;\\n }\\n if (isValidValue(fields()[54], other._BIC_ZOPK0055)) {\\n this._BIC_ZOPK0055 = data().deepCopy(fields()[54].schema(), other._BIC_ZOPK0055);\\n fieldSetFlags()[54] = true;\\n }\\n if (isValidValue(fields()[55], other._BIC_ZPRICE11)) {\\n this._BIC_ZPRICE11 = data().deepCopy(fields()[55].schema(), other._BIC_ZPRICE11);\\n fieldSetFlags()[55] = true;\\n }\\n if (isValidValue(fields()[56], other._BIC_ZPRICE12)) {\\n this._BIC_ZPRICE12 = data().deepCopy(fields()[56].schema(), other._BIC_ZPRICE12);\\n fieldSetFlags()[56] = true;\\n }\\n if (isValidValue(fields()[57], other.CURRENCY)) {\\n this.CURRENCY = data().deepCopy(fields()[57].schema(), other.CURRENCY);\\n fieldSetFlags()[57] = true;\\n }\\n if (isValidValue(fields()[58], other._BIC_ZOPK0145)) {\\n this._BIC_ZOPK0145 = data().deepCopy(fields()[58].schema(), other._BIC_ZOPK0145);\\n fieldSetFlags()[58] = true;\\n }\\n if (isValidValue(fields()[59], other.AMOUNT)) {\\n this.AMOUNT = data().deepCopy(fields()[59].schema(), other.AMOUNT);\\n fieldSetFlags()[59] = true;\\n }\\n if (isValidValue(fields()[60], other._BIC_ZOPK0048)) {\\n this._BIC_ZOPK0048 = data().deepCopy(fields()[60].schema(), other._BIC_ZOPK0048);\\n fieldSetFlags()[60] = true;\\n }\\n if (isValidValue(fields()[61], other._BIC_ZOPK0049)) {\\n this._BIC_ZOPK0049 = data().deepCopy(fields()[61].schema(), other._BIC_ZOPK0049);\\n fieldSetFlags()[61] = true;\\n }\\n if (isValidValue(fields()[62], other.RT_TAXCODE)) {\\n this.RT_TAXCODE = data().deepCopy(fields()[62].schema(), other.RT_TAXCODE);\\n fieldSetFlags()[62] = true;\\n }\\n if (isValidValue(fields()[63], other._BIC_ZOPK0047)) {\\n this._BIC_ZOPK0047 = data().deepCopy(fields()[63].schema(), other._BIC_ZOPK0047);\\n fieldSetFlags()[63] = true;\\n }\\n if (isValidValue(fields()[64], other._BIC_ZOPC0055)) {\\n this._BIC_ZOPC0055 = data().deepCopy(fields()[64].schema(), other._BIC_ZOPC0055);\\n fieldSetFlags()[64] = true;\\n }\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"c247d6e0c561586e118d5ab55fcf9846","score":"0.80190915","text":"public static Builder newBuilder(AutoGeneratedSchema other) {\n return new Builder(other);\n }","title":""},{"docid":"fb28ac4d9d096b25c5cbe8bc4afeddb7","score":"0.7247073","text":"private Builder() {\n super(AutoGeneratedSchema.SCHEMA$);\n }","title":""},{"docid":"2d40e8c3dbfc53aabd216b416b794ef6","score":"0.6475458","text":"private Builder() {\n super(SCHEMA$);\n }","title":""},{"docid":"2d40e8c3dbfc53aabd216b416b794ef6","score":"0.6475458","text":"private Builder() {\n super(SCHEMA$);\n }","title":""},{"docid":"2d40e8c3dbfc53aabd216b416b794ef6","score":"0.6475458","text":"private Builder() {\n super(SCHEMA$);\n }","title":""},{"docid":"2d40e8c3dbfc53aabd216b416b794ef6","score":"0.6475458","text":"private Builder() {\n super(SCHEMA$);\n }","title":""},{"docid":"2d40e8c3dbfc53aabd216b416b794ef6","score":"0.6475458","text":"private Builder() {\n super(SCHEMA$);\n }","title":""},{"docid":"2d40e8c3dbfc53aabd216b416b794ef6","score":"0.6475458","text":"private Builder() {\n super(SCHEMA$);\n }","title":""},{"docid":"2d40e8c3dbfc53aabd216b416b794ef6","score":"0.6475458","text":"private Builder() {\n super(SCHEMA$);\n }","title":""},{"docid":"2d40e8c3dbfc53aabd216b416b794ef6","score":"0.6475458","text":"private Builder() {\n super(SCHEMA$);\n }","title":""},{"docid":"2d40e8c3dbfc53aabd216b416b794ef6","score":"0.6475458","text":"private Builder() {\n super(SCHEMA$);\n }","title":""},{"docid":"2d40e8c3dbfc53aabd216b416b794ef6","score":"0.6475458","text":"private Builder() {\n super(SCHEMA$);\n }","title":""},{"docid":"2d40e8c3dbfc53aabd216b416b794ef6","score":"0.6475458","text":"private Builder() {\n super(SCHEMA$);\n }","title":""},{"docid":"2d40e8c3dbfc53aabd216b416b794ef6","score":"0.6475458","text":"private Builder() {\n super(SCHEMA$);\n }","title":""},{"docid":"2d40e8c3dbfc53aabd216b416b794ef6","score":"0.6475458","text":"private Builder() {\n super(SCHEMA$);\n }","title":""},{"docid":"2d40e8c3dbfc53aabd216b416b794ef6","score":"0.6475458","text":"private Builder() {\n super(SCHEMA$);\n }","title":""},{"docid":"2d40e8c3dbfc53aabd216b416b794ef6","score":"0.6475458","text":"private Builder() {\n super(SCHEMA$);\n }","title":""},{"docid":"2d40e8c3dbfc53aabd216b416b794ef6","score":"0.6475458","text":"private Builder() {\n super(SCHEMA$);\n }","title":""},{"docid":"2d40e8c3dbfc53aabd216b416b794ef6","score":"0.6475458","text":"private Builder() {\n super(SCHEMA$);\n }","title":""},{"docid":"2d40e8c3dbfc53aabd216b416b794ef6","score":"0.6475458","text":"private Builder() {\n super(SCHEMA$);\n }","title":""},{"docid":"2d40e8c3dbfc53aabd216b416b794ef6","score":"0.6475458","text":"private Builder() {\n super(SCHEMA$);\n }","title":""},{"docid":"2d40e8c3dbfc53aabd216b416b794ef6","score":"0.6475458","text":"private Builder() {\n super(SCHEMA$);\n }","title":""},{"docid":"2d40e8c3dbfc53aabd216b416b794ef6","score":"0.6475458","text":"private Builder() {\n super(SCHEMA$);\n }","title":""},{"docid":"2d3672b98830aa0dbb37dd6ee6a0cb8b","score":"0.6413816","text":"private Builder() {\n super(SCHEMA$);\n }","title":""},{"docid":"ea9bb793b4077e6bc5496c8d5fcb003b","score":"0.6369721","text":"public AutoGeneratedSchema() {}","title":""},{"docid":"1a1d379d487ff8157f4911aa26a1a7d1","score":"0.6129516","text":"private Builder() {\n super(com.bbn.tc.schema.avro.TCCDMDatum.SCHEMA$);\n }","title":""},{"docid":"c1fb0a6c9c94ddf7f9feff08f088acfb","score":"0.61093944","text":"private Builder() {\n super(jesg.avro.Pair.SCHEMA$);\n }","title":""},{"docid":"385972999e72196e8e755c02875d43d2","score":"0.5966381","text":"private Builder() {\n super(tr.com.siparis.sistemi.kafka.model.Masa.SCHEMA$);\n }","title":""},{"docid":"0979a40f89f9f1c7ac4e67b38a79a56e","score":"0.59357613","text":"private Builder() {\n super(graphene.model.idl.G_Service.SCHEMA$);\n }","title":""},{"docid":"a45ead1f03eee3e74a94fbcac90a9f5b","score":"0.5903236","text":"private Builder() {\n super(com.pacbio.common.models.pipelines.InBinding.SCHEMA$);\n }","title":""},{"docid":"b0ca5c4f94e8de6d26c871914890668f","score":"0.5838493","text":"public BatchSchemaBuilder(BatchSchema baseSchema) {\n schemaBuilder = new SchemaBuilder();\n for (MaterializedField field : baseSchema) {\n schemaBuilder.add(field);\n }\n }","title":""},{"docid":"01ea4116b224ae434a100d48c51054b3","score":"0.5793379","text":"public abstract Builder toBuilder();","title":""},{"docid":"01ea4116b224ae434a100d48c51054b3","score":"0.5793379","text":"public abstract Builder toBuilder();","title":""},{"docid":"00e2940cdc4a72c80fca691121d4748c","score":"0.5691739","text":"private Builder() {\n super(org.ga4gh.models.Allele.SCHEMA$);\n }","title":""},{"docid":"5588df52dfcc308bfde3127068b741da","score":"0.56287307","text":"private Builder(com.prime.avro.document.DocumentImpl other) {\n super(SCHEMA$);\n if (isValidValue(fields()[0], other._id)) {\n this._id = data().deepCopy(fields()[0].schema(), other._id);\n fieldSetFlags()[0] = true;\n }\n if (isValidValue(fields()[1], other.title)) {\n this.title = data().deepCopy(fields()[1].schema(), other.title);\n fieldSetFlags()[1] = true;\n }\n }","title":""},{"docid":"9fe0b4da82b94b03b6ee512113c01310","score":"0.54682094","text":"public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchema.Builder getTableSchemaBuilder() {\n bitField0_ |= 0x00000001;\n onChanged();\n return getTableSchemaFieldBuilder().getBuilder();\n }","title":""},{"docid":"7e9c482e1a3c4221595d63cbf4e6ee8d","score":"0.5411262","text":"private Builder(Builder other) {\n super(other);\n if (isValidValue(fields()[0], other.table)) {\n this.table = data().deepCopy(fields()[0].schema(), other.table);\n fieldSetFlags()[0] = true;\n }\n if (isValidValue(fields()[1], other.unixTime)) {\n this.unixTime = data().deepCopy(fields()[1].schema(), other.unixTime);\n fieldSetFlags()[1] = true;\n }\n }","title":""},{"docid":"b5b676023456604a67fb2da1a51db187","score":"0.5407268","text":"WithCreate withInputSchema(InputSchema inputSchema);","title":""},{"docid":"0d784a685f098b65f8275a700353003f","score":"0.5398804","text":"WithCreate withInputSchemaMapping(InputSchemaMapping inputSchemaMapping);","title":""},{"docid":"f55231f34da911602ec3a6ebf932fe40","score":"0.5386725","text":"private Builder() {\n\t\t\tsuper(\n\t\t\t\t\tmil.nga.giat.geowave.format.nyctlc.avro.NYCTLCEntry.SCHEMA$);\n\t\t}","title":""},{"docid":"4f5a1e0f3117f6d3fbeb063955970dda","score":"0.53807485","text":"public abstract BuilderType clone();","title":""},{"docid":"4f5a1e0f3117f6d3fbeb063955970dda","score":"0.53807485","text":"public abstract BuilderType clone();","title":""},{"docid":"75250a9eb70770156a3e2cd86b55d1c3","score":"0.5355375","text":"public Builder toBuilder() {\n return new Builder(this);\n }","title":""},{"docid":"75250a9eb70770156a3e2cd86b55d1c3","score":"0.5355375","text":"public Builder toBuilder() {\n return new Builder(this);\n }","title":""},{"docid":"75250a9eb70770156a3e2cd86b55d1c3","score":"0.5355375","text":"public Builder toBuilder() {\n return new Builder(this);\n }","title":""},{"docid":"75250a9eb70770156a3e2cd86b55d1c3","score":"0.5355375","text":"public Builder toBuilder() {\n return new Builder(this);\n }","title":""},{"docid":"75250a9eb70770156a3e2cd86b55d1c3","score":"0.5355375","text":"public Builder toBuilder() {\n return new Builder(this);\n }","title":""},{"docid":"75250a9eb70770156a3e2cd86b55d1c3","score":"0.5355375","text":"public Builder toBuilder() {\n return new Builder(this);\n }","title":""},{"docid":"75250a9eb70770156a3e2cd86b55d1c3","score":"0.5355375","text":"public Builder toBuilder() {\n return new Builder(this);\n }","title":""},{"docid":"75250a9eb70770156a3e2cd86b55d1c3","score":"0.5355375","text":"public Builder toBuilder() {\n return new Builder(this);\n }","title":""},{"docid":"75250a9eb70770156a3e2cd86b55d1c3","score":"0.5355375","text":"public Builder toBuilder() {\n return new Builder(this);\n }","title":""},{"docid":"d2a1dcdc1e9b25e918926fcfdd244a55","score":"0.5335864","text":"public Builder() {}","title":""},{"docid":"d2a1dcdc1e9b25e918926fcfdd244a55","score":"0.5335864","text":"public Builder() {}","title":""},{"docid":"d2a1dcdc1e9b25e918926fcfdd244a55","score":"0.5335864","text":"public Builder() {}","title":""},{"docid":"70a8dfed31a6d286b8779bc3611c6197","score":"0.53111416","text":"public static Builder create() {\n\t\treturn new Builder();\n\t}","title":""},{"docid":"a7af45cb1c8d5abfedc127b0d29ca4d1","score":"0.530252","text":"public void createSchema() {\n }","title":""},{"docid":"0f900879baa81520377c93dcebe45235","score":"0.52957714","text":"private Builder() {\n super(sparqles.avro.analytics.DiscoverabilityView.SCHEMA$);\n }","title":""},{"docid":"6484e2fb7a2f06828de5adccd7dab04d","score":"0.5295672","text":"protected Builder() {}","title":""},{"docid":"6484e2fb7a2f06828de5adccd7dab04d","score":"0.5295672","text":"protected Builder() {}","title":""},{"docid":"857b8dd93d7bd04b2090e794ae27407d","score":"0.5290489","text":"private Builder() {\n super(edu.berkeley.path.model_elements_base.VelocityMap.SCHEMA$);\n }","title":""},{"docid":"9ce75ac228d0fb1739b308140af92337","score":"0.52739537","text":"public Builder defineViaAnnotations (final Object object)\n {\n Objects.requireNonNull(object, \"object\");\n Objects.requireNonNull(instance, \"build() was already called.\");\n instance.schema.defineViaReflection(object);\n return this;\n }","title":""},{"docid":"a015b63692a07ee57265c63ec9c35e2a","score":"0.52669454","text":"public static SimpleColumnDefinition.Builder builder() {\n return new SimpleColumnDefinition.Builder();\n }","title":""},{"docid":"6ef169161a6b49fb03f03bb7afe863e0","score":"0.52614605","text":"public static Builder create() {\n return new Builder();\n }","title":""},{"docid":"c1bab0c1d4f7d5728b3fabba8bc0ad22","score":"0.5254169","text":"private Builder(auto.ria.core.CarAvro other) {\n super(SCHEMA$);\n if (isValidValue(fields()[0], other.id)) {\n this.id = data().deepCopy(fields()[0].schema(), other.id);\n fieldSetFlags()[0] = true;\n }\n if (isValidValue(fields()[1], other.addDate)) {\n this.addDate = data().deepCopy(fields()[1].schema(), other.addDate);\n fieldSetFlags()[1] = true;\n }\n if (isValidValue(fields()[2], other.brandId)) {\n this.brandId = data().deepCopy(fields()[2].schema(), other.brandId);\n fieldSetFlags()[2] = true;\n }\n if (isValidValue(fields()[3], other.brand)) {\n this.brand = data().deepCopy(fields()[3].schema(), other.brand);\n fieldSetFlags()[3] = true;\n }\n if (isValidValue(fields()[4], other.modelId)) {\n this.modelId = data().deepCopy(fields()[4].schema(), other.modelId);\n fieldSetFlags()[4] = true;\n }\n if (isValidValue(fields()[5], other.model)) {\n this.model = data().deepCopy(fields()[5].schema(), other.model);\n fieldSetFlags()[5] = true;\n }\n if (isValidValue(fields()[6], other.title)) {\n this.title = data().deepCopy(fields()[6].schema(), other.title);\n fieldSetFlags()[6] = true;\n }\n if (isValidValue(fields()[7], other.desc)) {\n this.desc = data().deepCopy(fields()[7].schema(), other.desc);\n fieldSetFlags()[7] = true;\n }\n if (isValidValue(fields()[8], other.priceUsd)) {\n this.priceUsd = data().deepCopy(fields()[8].schema(), other.priceUsd);\n fieldSetFlags()[8] = true;\n }\n if (isValidValue(fields()[9], other.year)) {\n this.year = data().deepCopy(fields()[9].schema(), other.year);\n fieldSetFlags()[9] = true;\n }\n if (isValidValue(fields()[10], other.link)) {\n this.link = data().deepCopy(fields()[10].schema(), other.link);\n fieldSetFlags()[10] = true;\n }\n if (isValidValue(fields()[11], other.fuelId)) {\n this.fuelId = data().deepCopy(fields()[11].schema(), other.fuelId);\n fieldSetFlags()[11] = true;\n }\n if (isValidValue(fields()[12], other.fuel)) {\n this.fuel = data().deepCopy(fields()[12].schema(), other.fuel);\n fieldSetFlags()[12] = true;\n }\n if (isValidValue(fields()[13], other.gearBoxId)) {\n this.gearBoxId = data().deepCopy(fields()[13].schema(), other.gearBoxId);\n fieldSetFlags()[13] = true;\n }\n if (isValidValue(fields()[14], other.gearBox)) {\n this.gearBox = data().deepCopy(fields()[14].schema(), other.gearBox);\n fieldSetFlags()[14] = true;\n }\n if (isValidValue(fields()[15], other.driveId)) {\n this.driveId = data().deepCopy(fields()[15].schema(), other.driveId);\n fieldSetFlags()[15] = true;\n }\n if (isValidValue(fields()[16], other.drive)) {\n this.drive = data().deepCopy(fields()[16].schema(), other.drive);\n fieldSetFlags()[16] = true;\n }\n if (isValidValue(fields()[17], other.location)) {\n this.location = data().deepCopy(fields()[17].schema(), other.location);\n fieldSetFlags()[17] = true;\n }\n if (isValidValue(fields()[18], other.region)) {\n this.region = data().deepCopy(fields()[18].schema(), other.region);\n fieldSetFlags()[18] = true;\n }\n if (isValidValue(fields()[19], other.race)) {\n this.race = data().deepCopy(fields()[19].schema(), other.race);\n fieldSetFlags()[19] = true;\n }\n if (isValidValue(fields()[20], other.raceInt)) {\n this.raceInt = data().deepCopy(fields()[20].schema(), other.raceInt);\n fieldSetFlags()[20] = true;\n }\n }","title":""},{"docid":"36c72c4d215a486138c43de28fb43205","score":"0.52411956","text":"private com.google.protobuf.SingleFieldBuilder<\n org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchema, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchema.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchemaOrBuilder> \n getTableSchemaFieldBuilder() {\n if (tableSchemaBuilder_ == null) {\n tableSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilder<\n org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchema, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchema.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchemaOrBuilder>(\n tableSchema_,\n getParentForChildren(),\n isClean());\n tableSchema_ = null;\n }\n return tableSchemaBuilder_;\n }","title":""},{"docid":"bc044680e225eadeff6adcf502ef3435","score":"0.5237354","text":"private Builder(com.prime.avro.document.DocumentImpl.Builder other) {\n super(other);\n if (isValidValue(fields()[0], other._id)) {\n this._id = data().deepCopy(fields()[0].schema(), other._id);\n fieldSetFlags()[0] = true;\n }\n if (isValidValue(fields()[1], other.title)) {\n this.title = data().deepCopy(fields()[1].schema(), other.title);\n fieldSetFlags()[1] = true;\n }\n }","title":""},{"docid":"5d13e84c2e129da6cded9cfcdbb2c974","score":"0.5235707","text":"@Override\n public void createSchema() {\n }","title":""},{"docid":"a353e025a91cd4dc0c8c5d8c21a86fd3","score":"0.52295214","text":"public static Builder newInstance() {\n return new Builder();\n }","title":""},{"docid":"6ef541f7427509183f9b59712477a033","score":"0.52003956","text":"public static Builder newBuilder(Builder other) {\n return new Builder(other);\n }","title":""},{"docid":"6ef541f7427509183f9b59712477a033","score":"0.52003956","text":"public static Builder newBuilder(Builder other) {\n return new Builder(other);\n }","title":""},{"docid":"569c85bed8ec1e7c32ef54223d6642a2","score":"0.5197011","text":"public static com.prime.avro.document.DocumentImpl.Builder newBuilder(com.prime.avro.document.DocumentImpl.Builder other) {\n return new com.prime.avro.document.DocumentImpl.Builder(other);\n }","title":""},{"docid":"69d0716906770cdcfaf084ddfab6368d","score":"0.51950324","text":"public static Builder newBuilder(){\n return new Builder();\n }","title":""},{"docid":"d7e68c09c07667a8024d790f601cc139","score":"0.5190854","text":"public static com.prime.avro.document.DocumentImpl.Builder newBuilder() {\n return new com.prime.avro.document.DocumentImpl.Builder();\n }","title":""},{"docid":"19eb946ac819da03893c730192434cc4","score":"0.517656","text":"public Builder() { }","title":""},{"docid":"19eb946ac819da03893c730192434cc4","score":"0.517656","text":"public Builder() { }","title":""},{"docid":"e100405c8e8bfc0a3aa88684cc8d5737","score":"0.51738834","text":"public static Builder newBuilder() {\n return Builder.createDefault();\n }","title":""},{"docid":"e100405c8e8bfc0a3aa88684cc8d5737","score":"0.51738834","text":"public static Builder newBuilder() {\n return Builder.createDefault();\n }","title":""},{"docid":"e100405c8e8bfc0a3aa88684cc8d5737","score":"0.51738834","text":"public static Builder newBuilder() {\n return Builder.createDefault();\n }","title":""},{"docid":"e100405c8e8bfc0a3aa88684cc8d5737","score":"0.51738834","text":"public static Builder newBuilder() {\n return Builder.createDefault();\n }","title":""},{"docid":"e100405c8e8bfc0a3aa88684cc8d5737","score":"0.51738834","text":"public static Builder newBuilder() {\n return Builder.createDefault();\n }","title":""},{"docid":"ae6ece0201abf8c949deba8b8f73a5db","score":"0.515076","text":"public static DocumentBuilder getBuilder() {\n DocumentBuilder builder = REUSABLE_BUILDER.get();\n builder.reset();\n return builder;\n }","title":""},{"docid":"3addeab30df45b4f25a2c6d884756a60","score":"0.5137036","text":"public SexprSchema build ()\n {\n final SexprSchema result = instance;\n instance = null;\n result.schema.validate();\n return result;\n }","title":""},{"docid":"808fa4e6f99a89ca676c2c55a346aaa6","score":"0.51328367","text":"public static Builder newBuilder() { return new Builder(); }","title":""},{"docid":"e83b00369f3a5204dc69c8b554591cac","score":"0.50962603","text":"private Builder(auto.ria.core.CarAvro.Builder other) {\n super(other);\n if (isValidValue(fields()[0], other.id)) {\n this.id = data().deepCopy(fields()[0].schema(), other.id);\n fieldSetFlags()[0] = other.fieldSetFlags()[0];\n }\n if (isValidValue(fields()[1], other.addDate)) {\n this.addDate = data().deepCopy(fields()[1].schema(), other.addDate);\n fieldSetFlags()[1] = other.fieldSetFlags()[1];\n }\n if (isValidValue(fields()[2], other.brandId)) {\n this.brandId = data().deepCopy(fields()[2].schema(), other.brandId);\n fieldSetFlags()[2] = other.fieldSetFlags()[2];\n }\n if (isValidValue(fields()[3], other.brand)) {\n this.brand = data().deepCopy(fields()[3].schema(), other.brand);\n fieldSetFlags()[3] = other.fieldSetFlags()[3];\n }\n if (isValidValue(fields()[4], other.modelId)) {\n this.modelId = data().deepCopy(fields()[4].schema(), other.modelId);\n fieldSetFlags()[4] = other.fieldSetFlags()[4];\n }\n if (isValidValue(fields()[5], other.model)) {\n this.model = data().deepCopy(fields()[5].schema(), other.model);\n fieldSetFlags()[5] = other.fieldSetFlags()[5];\n }\n if (isValidValue(fields()[6], other.title)) {\n this.title = data().deepCopy(fields()[6].schema(), other.title);\n fieldSetFlags()[6] = other.fieldSetFlags()[6];\n }\n if (isValidValue(fields()[7], other.desc)) {\n this.desc = data().deepCopy(fields()[7].schema(), other.desc);\n fieldSetFlags()[7] = other.fieldSetFlags()[7];\n }\n if (isValidValue(fields()[8], other.priceUsd)) {\n this.priceUsd = data().deepCopy(fields()[8].schema(), other.priceUsd);\n fieldSetFlags()[8] = other.fieldSetFlags()[8];\n }\n if (isValidValue(fields()[9], other.year)) {\n this.year = data().deepCopy(fields()[9].schema(), other.year);\n fieldSetFlags()[9] = other.fieldSetFlags()[9];\n }\n if (isValidValue(fields()[10], other.link)) {\n this.link = data().deepCopy(fields()[10].schema(), other.link);\n fieldSetFlags()[10] = other.fieldSetFlags()[10];\n }\n if (isValidValue(fields()[11], other.fuelId)) {\n this.fuelId = data().deepCopy(fields()[11].schema(), other.fuelId);\n fieldSetFlags()[11] = other.fieldSetFlags()[11];\n }\n if (isValidValue(fields()[12], other.fuel)) {\n this.fuel = data().deepCopy(fields()[12].schema(), other.fuel);\n fieldSetFlags()[12] = other.fieldSetFlags()[12];\n }\n if (isValidValue(fields()[13], other.gearBoxId)) {\n this.gearBoxId = data().deepCopy(fields()[13].schema(), other.gearBoxId);\n fieldSetFlags()[13] = other.fieldSetFlags()[13];\n }\n if (isValidValue(fields()[14], other.gearBox)) {\n this.gearBox = data().deepCopy(fields()[14].schema(), other.gearBox);\n fieldSetFlags()[14] = other.fieldSetFlags()[14];\n }\n if (isValidValue(fields()[15], other.driveId)) {\n this.driveId = data().deepCopy(fields()[15].schema(), other.driveId);\n fieldSetFlags()[15] = other.fieldSetFlags()[15];\n }\n if (isValidValue(fields()[16], other.drive)) {\n this.drive = data().deepCopy(fields()[16].schema(), other.drive);\n fieldSetFlags()[16] = other.fieldSetFlags()[16];\n }\n if (isValidValue(fields()[17], other.location)) {\n this.location = data().deepCopy(fields()[17].schema(), other.location);\n fieldSetFlags()[17] = other.fieldSetFlags()[17];\n }\n if (isValidValue(fields()[18], other.region)) {\n this.region = data().deepCopy(fields()[18].schema(), other.region);\n fieldSetFlags()[18] = other.fieldSetFlags()[18];\n }\n if (isValidValue(fields()[19], other.race)) {\n this.race = data().deepCopy(fields()[19].schema(), other.race);\n fieldSetFlags()[19] = other.fieldSetFlags()[19];\n }\n if (isValidValue(fields()[20], other.raceInt)) {\n this.raceInt = data().deepCopy(fields()[20].schema(), other.raceInt);\n fieldSetFlags()[20] = other.fieldSetFlags()[20];\n }\n }","title":""},{"docid":"509f831d91ba2e2b5cff64fb77ed8c32","score":"0.50784963","text":"private Builder() {\n super(org.apache.spark.streaming.flume.sink.SparkSinkEvent.SCHEMA$);\n }","title":""},{"docid":"2d4c64c972d4b3adb1e07ccf3cb91548","score":"0.5075992","text":"private Builder() {}","title":""},{"docid":"2d4c64c972d4b3adb1e07ccf3cb91548","score":"0.5075992","text":"private Builder() {}","title":""},{"docid":"f7922b2a570858e5a306cd31d05be32d","score":"0.50697005","text":"public static Builder newBuilder() {\n return new Builder();\n }","title":""},{"docid":"f7922b2a570858e5a306cd31d05be32d","score":"0.50697005","text":"public static Builder newBuilder() {\n return new Builder();\n }","title":""},{"docid":"f7922b2a570858e5a306cd31d05be32d","score":"0.50697005","text":"public static Builder newBuilder() {\n return new Builder();\n }","title":""},{"docid":"f7922b2a570858e5a306cd31d05be32d","score":"0.50697005","text":"public static Builder newBuilder() {\n return new Builder();\n }","title":""},{"docid":"f7922b2a570858e5a306cd31d05be32d","score":"0.50697005","text":"public static Builder newBuilder() {\n return new Builder();\n }","title":""},{"docid":"5673a1f94ce79bfc61ad584e58f8167f","score":"0.5067872","text":"private Builder() {\n super(Gel_BioInf_Models.ConsentStatus.SCHEMA$);\n }","title":""},{"docid":"5fb91bed23fa4d8d5d24e760c3a7b1b0","score":"0.50596684","text":"public Builder clearRecordSchemaUrl() {\n \n recordSchemaUrl_ = getDefaultInstance().getRecordSchemaUrl();\n onChanged();\n return this;\n }","title":""},{"docid":"14e2afd8798c8af348b7cffc613f65a4","score":"0.50593084","text":"DatatypeBuilder getBuilder(ANY value) throws FactoryException;","title":""},{"docid":"154291fb94210b5350ffc5ff8de2b238","score":"0.5056985","text":"public static Builder newBuilder() {\n return new Builder();\n }","title":""},{"docid":"154291fb94210b5350ffc5ff8de2b238","score":"0.5056985","text":"public static Builder newBuilder() {\n return new Builder();\n }","title":""},{"docid":"154291fb94210b5350ffc5ff8de2b238","score":"0.5056985","text":"public static Builder newBuilder() {\n return new Builder();\n }","title":""},{"docid":"a1f2de8253a5e7ee9fabe508f8a27e73","score":"0.5056586","text":"public static Builder builder() {\n return new Builder();\n }","title":""},{"docid":"a1f2de8253a5e7ee9fabe508f8a27e73","score":"0.5056586","text":"public static Builder builder() {\n return new Builder();\n }","title":""}],"string":"[\n {\n \"docid\": \"c247d6e0c561586e118d5ab55fcf9846\",\n \"score\": \"0.80190915\",\n \"text\": \"public static Builder newBuilder(AutoGeneratedSchema other) {\\n return new Builder(other);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fb28ac4d9d096b25c5cbe8bc4afeddb7\",\n \"score\": \"0.7247073\",\n \"text\": \"private Builder() {\\n super(AutoGeneratedSchema.SCHEMA$);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d40e8c3dbfc53aabd216b416b794ef6\",\n \"score\": \"0.6475458\",\n \"text\": \"private Builder() {\\n super(SCHEMA$);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d40e8c3dbfc53aabd216b416b794ef6\",\n \"score\": \"0.6475458\",\n \"text\": \"private Builder() {\\n super(SCHEMA$);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d40e8c3dbfc53aabd216b416b794ef6\",\n \"score\": \"0.6475458\",\n \"text\": \"private Builder() {\\n super(SCHEMA$);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d40e8c3dbfc53aabd216b416b794ef6\",\n \"score\": \"0.6475458\",\n \"text\": \"private Builder() {\\n super(SCHEMA$);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d40e8c3dbfc53aabd216b416b794ef6\",\n \"score\": \"0.6475458\",\n \"text\": \"private Builder() {\\n super(SCHEMA$);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d40e8c3dbfc53aabd216b416b794ef6\",\n \"score\": \"0.6475458\",\n \"text\": \"private Builder() {\\n super(SCHEMA$);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d40e8c3dbfc53aabd216b416b794ef6\",\n \"score\": \"0.6475458\",\n \"text\": \"private Builder() {\\n super(SCHEMA$);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d40e8c3dbfc53aabd216b416b794ef6\",\n \"score\": \"0.6475458\",\n \"text\": \"private Builder() {\\n super(SCHEMA$);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d40e8c3dbfc53aabd216b416b794ef6\",\n \"score\": \"0.6475458\",\n \"text\": \"private Builder() {\\n super(SCHEMA$);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d40e8c3dbfc53aabd216b416b794ef6\",\n \"score\": \"0.6475458\",\n \"text\": \"private Builder() {\\n super(SCHEMA$);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d40e8c3dbfc53aabd216b416b794ef6\",\n \"score\": \"0.6475458\",\n \"text\": \"private Builder() {\\n super(SCHEMA$);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d40e8c3dbfc53aabd216b416b794ef6\",\n \"score\": \"0.6475458\",\n \"text\": \"private Builder() {\\n super(SCHEMA$);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d40e8c3dbfc53aabd216b416b794ef6\",\n \"score\": \"0.6475458\",\n \"text\": \"private Builder() {\\n super(SCHEMA$);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d40e8c3dbfc53aabd216b416b794ef6\",\n \"score\": \"0.6475458\",\n \"text\": \"private Builder() {\\n super(SCHEMA$);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d40e8c3dbfc53aabd216b416b794ef6\",\n \"score\": \"0.6475458\",\n \"text\": \"private Builder() {\\n super(SCHEMA$);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d40e8c3dbfc53aabd216b416b794ef6\",\n \"score\": \"0.6475458\",\n \"text\": \"private Builder() {\\n super(SCHEMA$);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d40e8c3dbfc53aabd216b416b794ef6\",\n \"score\": \"0.6475458\",\n \"text\": \"private Builder() {\\n super(SCHEMA$);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d40e8c3dbfc53aabd216b416b794ef6\",\n \"score\": \"0.6475458\",\n \"text\": \"private Builder() {\\n super(SCHEMA$);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d40e8c3dbfc53aabd216b416b794ef6\",\n \"score\": \"0.6475458\",\n \"text\": \"private Builder() {\\n super(SCHEMA$);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d40e8c3dbfc53aabd216b416b794ef6\",\n \"score\": \"0.6475458\",\n \"text\": \"private Builder() {\\n super(SCHEMA$);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d40e8c3dbfc53aabd216b416b794ef6\",\n \"score\": \"0.6475458\",\n \"text\": \"private Builder() {\\n super(SCHEMA$);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d3672b98830aa0dbb37dd6ee6a0cb8b\",\n \"score\": \"0.6413816\",\n \"text\": \"private Builder() {\\n super(SCHEMA$);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ea9bb793b4077e6bc5496c8d5fcb003b\",\n \"score\": \"0.6369721\",\n \"text\": \"public AutoGeneratedSchema() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1a1d379d487ff8157f4911aa26a1a7d1\",\n \"score\": \"0.6129516\",\n \"text\": \"private Builder() {\\n super(com.bbn.tc.schema.avro.TCCDMDatum.SCHEMA$);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c1fb0a6c9c94ddf7f9feff08f088acfb\",\n \"score\": \"0.61093944\",\n \"text\": \"private Builder() {\\n super(jesg.avro.Pair.SCHEMA$);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"385972999e72196e8e755c02875d43d2\",\n \"score\": \"0.5966381\",\n \"text\": \"private Builder() {\\n super(tr.com.siparis.sistemi.kafka.model.Masa.SCHEMA$);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0979a40f89f9f1c7ac4e67b38a79a56e\",\n \"score\": \"0.59357613\",\n \"text\": \"private Builder() {\\n super(graphene.model.idl.G_Service.SCHEMA$);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a45ead1f03eee3e74a94fbcac90a9f5b\",\n \"score\": \"0.5903236\",\n \"text\": \"private Builder() {\\n super(com.pacbio.common.models.pipelines.InBinding.SCHEMA$);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b0ca5c4f94e8de6d26c871914890668f\",\n \"score\": \"0.5838493\",\n \"text\": \"public BatchSchemaBuilder(BatchSchema baseSchema) {\\n schemaBuilder = new SchemaBuilder();\\n for (MaterializedField field : baseSchema) {\\n schemaBuilder.add(field);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"01ea4116b224ae434a100d48c51054b3\",\n \"score\": \"0.5793379\",\n \"text\": \"public abstract Builder toBuilder();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"01ea4116b224ae434a100d48c51054b3\",\n \"score\": \"0.5793379\",\n \"text\": \"public abstract Builder toBuilder();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"00e2940cdc4a72c80fca691121d4748c\",\n \"score\": \"0.5691739\",\n \"text\": \"private Builder() {\\n super(org.ga4gh.models.Allele.SCHEMA$);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5588df52dfcc308bfde3127068b741da\",\n \"score\": \"0.56287307\",\n \"text\": \"private Builder(com.prime.avro.document.DocumentImpl other) {\\n super(SCHEMA$);\\n if (isValidValue(fields()[0], other._id)) {\\n this._id = data().deepCopy(fields()[0].schema(), other._id);\\n fieldSetFlags()[0] = true;\\n }\\n if (isValidValue(fields()[1], other.title)) {\\n this.title = data().deepCopy(fields()[1].schema(), other.title);\\n fieldSetFlags()[1] = true;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9fe0b4da82b94b03b6ee512113c01310\",\n \"score\": \"0.54682094\",\n \"text\": \"public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchema.Builder getTableSchemaBuilder() {\\n bitField0_ |= 0x00000001;\\n onChanged();\\n return getTableSchemaFieldBuilder().getBuilder();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7e9c482e1a3c4221595d63cbf4e6ee8d\",\n \"score\": \"0.5411262\",\n \"text\": \"private Builder(Builder other) {\\n super(other);\\n if (isValidValue(fields()[0], other.table)) {\\n this.table = data().deepCopy(fields()[0].schema(), other.table);\\n fieldSetFlags()[0] = true;\\n }\\n if (isValidValue(fields()[1], other.unixTime)) {\\n this.unixTime = data().deepCopy(fields()[1].schema(), other.unixTime);\\n fieldSetFlags()[1] = true;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b5b676023456604a67fb2da1a51db187\",\n \"score\": \"0.5407268\",\n \"text\": \"WithCreate withInputSchema(InputSchema inputSchema);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d784a685f098b65f8275a700353003f\",\n \"score\": \"0.5398804\",\n \"text\": \"WithCreate withInputSchemaMapping(InputSchemaMapping inputSchemaMapping);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f55231f34da911602ec3a6ebf932fe40\",\n \"score\": \"0.5386725\",\n \"text\": \"private Builder() {\\n\\t\\t\\tsuper(\\n\\t\\t\\t\\t\\tmil.nga.giat.geowave.format.nyctlc.avro.NYCTLCEntry.SCHEMA$);\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4f5a1e0f3117f6d3fbeb063955970dda\",\n \"score\": \"0.53807485\",\n \"text\": \"public abstract BuilderType clone();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4f5a1e0f3117f6d3fbeb063955970dda\",\n \"score\": \"0.53807485\",\n \"text\": \"public abstract BuilderType clone();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75250a9eb70770156a3e2cd86b55d1c3\",\n \"score\": \"0.5355375\",\n \"text\": \"public Builder toBuilder() {\\n return new Builder(this);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75250a9eb70770156a3e2cd86b55d1c3\",\n \"score\": \"0.5355375\",\n \"text\": \"public Builder toBuilder() {\\n return new Builder(this);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75250a9eb70770156a3e2cd86b55d1c3\",\n \"score\": \"0.5355375\",\n \"text\": \"public Builder toBuilder() {\\n return new Builder(this);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75250a9eb70770156a3e2cd86b55d1c3\",\n \"score\": \"0.5355375\",\n \"text\": \"public Builder toBuilder() {\\n return new Builder(this);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75250a9eb70770156a3e2cd86b55d1c3\",\n \"score\": \"0.5355375\",\n \"text\": \"public Builder toBuilder() {\\n return new Builder(this);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75250a9eb70770156a3e2cd86b55d1c3\",\n \"score\": \"0.5355375\",\n \"text\": \"public Builder toBuilder() {\\n return new Builder(this);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75250a9eb70770156a3e2cd86b55d1c3\",\n \"score\": \"0.5355375\",\n \"text\": \"public Builder toBuilder() {\\n return new Builder(this);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75250a9eb70770156a3e2cd86b55d1c3\",\n \"score\": \"0.5355375\",\n \"text\": \"public Builder toBuilder() {\\n return new Builder(this);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75250a9eb70770156a3e2cd86b55d1c3\",\n \"score\": \"0.5355375\",\n \"text\": \"public Builder toBuilder() {\\n return new Builder(this);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d2a1dcdc1e9b25e918926fcfdd244a55\",\n \"score\": \"0.5335864\",\n \"text\": \"public Builder() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d2a1dcdc1e9b25e918926fcfdd244a55\",\n \"score\": \"0.5335864\",\n \"text\": \"public Builder() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d2a1dcdc1e9b25e918926fcfdd244a55\",\n \"score\": \"0.5335864\",\n \"text\": \"public Builder() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"70a8dfed31a6d286b8779bc3611c6197\",\n \"score\": \"0.53111416\",\n \"text\": \"public static Builder create() {\\n\\t\\treturn new Builder();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7af45cb1c8d5abfedc127b0d29ca4d1\",\n \"score\": \"0.530252\",\n \"text\": \"public void createSchema() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0f900879baa81520377c93dcebe45235\",\n \"score\": \"0.52957714\",\n \"text\": \"private Builder() {\\n super(sparqles.avro.analytics.DiscoverabilityView.SCHEMA$);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6484e2fb7a2f06828de5adccd7dab04d\",\n \"score\": \"0.5295672\",\n \"text\": \"protected Builder() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6484e2fb7a2f06828de5adccd7dab04d\",\n \"score\": \"0.5295672\",\n \"text\": \"protected Builder() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"857b8dd93d7bd04b2090e794ae27407d\",\n \"score\": \"0.5290489\",\n \"text\": \"private Builder() {\\n super(edu.berkeley.path.model_elements_base.VelocityMap.SCHEMA$);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9ce75ac228d0fb1739b308140af92337\",\n \"score\": \"0.52739537\",\n \"text\": \"public Builder defineViaAnnotations (final Object object)\\n {\\n Objects.requireNonNull(object, \\\"object\\\");\\n Objects.requireNonNull(instance, \\\"build() was already called.\\\");\\n instance.schema.defineViaReflection(object);\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a015b63692a07ee57265c63ec9c35e2a\",\n \"score\": \"0.52669454\",\n \"text\": \"public static SimpleColumnDefinition.Builder builder() {\\n return new SimpleColumnDefinition.Builder();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ef169161a6b49fb03f03bb7afe863e0\",\n \"score\": \"0.52614605\",\n \"text\": \"public static Builder create() {\\n return new Builder();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c1bab0c1d4f7d5728b3fabba8bc0ad22\",\n \"score\": \"0.5254169\",\n \"text\": \"private Builder(auto.ria.core.CarAvro other) {\\n super(SCHEMA$);\\n if (isValidValue(fields()[0], other.id)) {\\n this.id = data().deepCopy(fields()[0].schema(), other.id);\\n fieldSetFlags()[0] = true;\\n }\\n if (isValidValue(fields()[1], other.addDate)) {\\n this.addDate = data().deepCopy(fields()[1].schema(), other.addDate);\\n fieldSetFlags()[1] = true;\\n }\\n if (isValidValue(fields()[2], other.brandId)) {\\n this.brandId = data().deepCopy(fields()[2].schema(), other.brandId);\\n fieldSetFlags()[2] = true;\\n }\\n if (isValidValue(fields()[3], other.brand)) {\\n this.brand = data().deepCopy(fields()[3].schema(), other.brand);\\n fieldSetFlags()[3] = true;\\n }\\n if (isValidValue(fields()[4], other.modelId)) {\\n this.modelId = data().deepCopy(fields()[4].schema(), other.modelId);\\n fieldSetFlags()[4] = true;\\n }\\n if (isValidValue(fields()[5], other.model)) {\\n this.model = data().deepCopy(fields()[5].schema(), other.model);\\n fieldSetFlags()[5] = true;\\n }\\n if (isValidValue(fields()[6], other.title)) {\\n this.title = data().deepCopy(fields()[6].schema(), other.title);\\n fieldSetFlags()[6] = true;\\n }\\n if (isValidValue(fields()[7], other.desc)) {\\n this.desc = data().deepCopy(fields()[7].schema(), other.desc);\\n fieldSetFlags()[7] = true;\\n }\\n if (isValidValue(fields()[8], other.priceUsd)) {\\n this.priceUsd = data().deepCopy(fields()[8].schema(), other.priceUsd);\\n fieldSetFlags()[8] = true;\\n }\\n if (isValidValue(fields()[9], other.year)) {\\n this.year = data().deepCopy(fields()[9].schema(), other.year);\\n fieldSetFlags()[9] = true;\\n }\\n if (isValidValue(fields()[10], other.link)) {\\n this.link = data().deepCopy(fields()[10].schema(), other.link);\\n fieldSetFlags()[10] = true;\\n }\\n if (isValidValue(fields()[11], other.fuelId)) {\\n this.fuelId = data().deepCopy(fields()[11].schema(), other.fuelId);\\n fieldSetFlags()[11] = true;\\n }\\n if (isValidValue(fields()[12], other.fuel)) {\\n this.fuel = data().deepCopy(fields()[12].schema(), other.fuel);\\n fieldSetFlags()[12] = true;\\n }\\n if (isValidValue(fields()[13], other.gearBoxId)) {\\n this.gearBoxId = data().deepCopy(fields()[13].schema(), other.gearBoxId);\\n fieldSetFlags()[13] = true;\\n }\\n if (isValidValue(fields()[14], other.gearBox)) {\\n this.gearBox = data().deepCopy(fields()[14].schema(), other.gearBox);\\n fieldSetFlags()[14] = true;\\n }\\n if (isValidValue(fields()[15], other.driveId)) {\\n this.driveId = data().deepCopy(fields()[15].schema(), other.driveId);\\n fieldSetFlags()[15] = true;\\n }\\n if (isValidValue(fields()[16], other.drive)) {\\n this.drive = data().deepCopy(fields()[16].schema(), other.drive);\\n fieldSetFlags()[16] = true;\\n }\\n if (isValidValue(fields()[17], other.location)) {\\n this.location = data().deepCopy(fields()[17].schema(), other.location);\\n fieldSetFlags()[17] = true;\\n }\\n if (isValidValue(fields()[18], other.region)) {\\n this.region = data().deepCopy(fields()[18].schema(), other.region);\\n fieldSetFlags()[18] = true;\\n }\\n if (isValidValue(fields()[19], other.race)) {\\n this.race = data().deepCopy(fields()[19].schema(), other.race);\\n fieldSetFlags()[19] = true;\\n }\\n if (isValidValue(fields()[20], other.raceInt)) {\\n this.raceInt = data().deepCopy(fields()[20].schema(), other.raceInt);\\n fieldSetFlags()[20] = true;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"36c72c4d215a486138c43de28fb43205\",\n \"score\": \"0.52411956\",\n \"text\": \"private com.google.protobuf.SingleFieldBuilder<\\n org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchema, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchema.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchemaOrBuilder> \\n getTableSchemaFieldBuilder() {\\n if (tableSchemaBuilder_ == null) {\\n tableSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilder<\\n org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchema, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchema.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchemaOrBuilder>(\\n tableSchema_,\\n getParentForChildren(),\\n isClean());\\n tableSchema_ = null;\\n }\\n return tableSchemaBuilder_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc044680e225eadeff6adcf502ef3435\",\n \"score\": \"0.5237354\",\n \"text\": \"private Builder(com.prime.avro.document.DocumentImpl.Builder other) {\\n super(other);\\n if (isValidValue(fields()[0], other._id)) {\\n this._id = data().deepCopy(fields()[0].schema(), other._id);\\n fieldSetFlags()[0] = true;\\n }\\n if (isValidValue(fields()[1], other.title)) {\\n this.title = data().deepCopy(fields()[1].schema(), other.title);\\n fieldSetFlags()[1] = true;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d13e84c2e129da6cded9cfcdbb2c974\",\n \"score\": \"0.5235707\",\n \"text\": \"@Override\\n public void createSchema() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a353e025a91cd4dc0c8c5d8c21a86fd3\",\n \"score\": \"0.52295214\",\n \"text\": \"public static Builder newInstance() {\\n return new Builder();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ef541f7427509183f9b59712477a033\",\n \"score\": \"0.52003956\",\n \"text\": \"public static Builder newBuilder(Builder other) {\\n return new Builder(other);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ef541f7427509183f9b59712477a033\",\n \"score\": \"0.52003956\",\n \"text\": \"public static Builder newBuilder(Builder other) {\\n return new Builder(other);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"569c85bed8ec1e7c32ef54223d6642a2\",\n \"score\": \"0.5197011\",\n \"text\": \"public static com.prime.avro.document.DocumentImpl.Builder newBuilder(com.prime.avro.document.DocumentImpl.Builder other) {\\n return new com.prime.avro.document.DocumentImpl.Builder(other);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"69d0716906770cdcfaf084ddfab6368d\",\n \"score\": \"0.51950324\",\n \"text\": \"public static Builder newBuilder(){\\n return new Builder();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d7e68c09c07667a8024d790f601cc139\",\n \"score\": \"0.5190854\",\n \"text\": \"public static com.prime.avro.document.DocumentImpl.Builder newBuilder() {\\n return new com.prime.avro.document.DocumentImpl.Builder();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"19eb946ac819da03893c730192434cc4\",\n \"score\": \"0.517656\",\n \"text\": \"public Builder() { }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"19eb946ac819da03893c730192434cc4\",\n \"score\": \"0.517656\",\n \"text\": \"public Builder() { }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e100405c8e8bfc0a3aa88684cc8d5737\",\n \"score\": \"0.51738834\",\n \"text\": \"public static Builder newBuilder() {\\n return Builder.createDefault();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e100405c8e8bfc0a3aa88684cc8d5737\",\n \"score\": \"0.51738834\",\n \"text\": \"public static Builder newBuilder() {\\n return Builder.createDefault();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e100405c8e8bfc0a3aa88684cc8d5737\",\n \"score\": \"0.51738834\",\n \"text\": \"public static Builder newBuilder() {\\n return Builder.createDefault();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e100405c8e8bfc0a3aa88684cc8d5737\",\n \"score\": \"0.51738834\",\n \"text\": \"public static Builder newBuilder() {\\n return Builder.createDefault();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e100405c8e8bfc0a3aa88684cc8d5737\",\n \"score\": \"0.51738834\",\n \"text\": \"public static Builder newBuilder() {\\n return Builder.createDefault();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae6ece0201abf8c949deba8b8f73a5db\",\n \"score\": \"0.515076\",\n \"text\": \"public static DocumentBuilder getBuilder() {\\n DocumentBuilder builder = REUSABLE_BUILDER.get();\\n builder.reset();\\n return builder;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3addeab30df45b4f25a2c6d884756a60\",\n \"score\": \"0.5137036\",\n \"text\": \"public SexprSchema build ()\\n {\\n final SexprSchema result = instance;\\n instance = null;\\n result.schema.validate();\\n return result;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"808fa4e6f99a89ca676c2c55a346aaa6\",\n \"score\": \"0.51328367\",\n \"text\": \"public static Builder newBuilder() { return new Builder(); }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e83b00369f3a5204dc69c8b554591cac\",\n \"score\": \"0.50962603\",\n \"text\": \"private Builder(auto.ria.core.CarAvro.Builder other) {\\n super(other);\\n if (isValidValue(fields()[0], other.id)) {\\n this.id = data().deepCopy(fields()[0].schema(), other.id);\\n fieldSetFlags()[0] = other.fieldSetFlags()[0];\\n }\\n if (isValidValue(fields()[1], other.addDate)) {\\n this.addDate = data().deepCopy(fields()[1].schema(), other.addDate);\\n fieldSetFlags()[1] = other.fieldSetFlags()[1];\\n }\\n if (isValidValue(fields()[2], other.brandId)) {\\n this.brandId = data().deepCopy(fields()[2].schema(), other.brandId);\\n fieldSetFlags()[2] = other.fieldSetFlags()[2];\\n }\\n if (isValidValue(fields()[3], other.brand)) {\\n this.brand = data().deepCopy(fields()[3].schema(), other.brand);\\n fieldSetFlags()[3] = other.fieldSetFlags()[3];\\n }\\n if (isValidValue(fields()[4], other.modelId)) {\\n this.modelId = data().deepCopy(fields()[4].schema(), other.modelId);\\n fieldSetFlags()[4] = other.fieldSetFlags()[4];\\n }\\n if (isValidValue(fields()[5], other.model)) {\\n this.model = data().deepCopy(fields()[5].schema(), other.model);\\n fieldSetFlags()[5] = other.fieldSetFlags()[5];\\n }\\n if (isValidValue(fields()[6], other.title)) {\\n this.title = data().deepCopy(fields()[6].schema(), other.title);\\n fieldSetFlags()[6] = other.fieldSetFlags()[6];\\n }\\n if (isValidValue(fields()[7], other.desc)) {\\n this.desc = data().deepCopy(fields()[7].schema(), other.desc);\\n fieldSetFlags()[7] = other.fieldSetFlags()[7];\\n }\\n if (isValidValue(fields()[8], other.priceUsd)) {\\n this.priceUsd = data().deepCopy(fields()[8].schema(), other.priceUsd);\\n fieldSetFlags()[8] = other.fieldSetFlags()[8];\\n }\\n if (isValidValue(fields()[9], other.year)) {\\n this.year = data().deepCopy(fields()[9].schema(), other.year);\\n fieldSetFlags()[9] = other.fieldSetFlags()[9];\\n }\\n if (isValidValue(fields()[10], other.link)) {\\n this.link = data().deepCopy(fields()[10].schema(), other.link);\\n fieldSetFlags()[10] = other.fieldSetFlags()[10];\\n }\\n if (isValidValue(fields()[11], other.fuelId)) {\\n this.fuelId = data().deepCopy(fields()[11].schema(), other.fuelId);\\n fieldSetFlags()[11] = other.fieldSetFlags()[11];\\n }\\n if (isValidValue(fields()[12], other.fuel)) {\\n this.fuel = data().deepCopy(fields()[12].schema(), other.fuel);\\n fieldSetFlags()[12] = other.fieldSetFlags()[12];\\n }\\n if (isValidValue(fields()[13], other.gearBoxId)) {\\n this.gearBoxId = data().deepCopy(fields()[13].schema(), other.gearBoxId);\\n fieldSetFlags()[13] = other.fieldSetFlags()[13];\\n }\\n if (isValidValue(fields()[14], other.gearBox)) {\\n this.gearBox = data().deepCopy(fields()[14].schema(), other.gearBox);\\n fieldSetFlags()[14] = other.fieldSetFlags()[14];\\n }\\n if (isValidValue(fields()[15], other.driveId)) {\\n this.driveId = data().deepCopy(fields()[15].schema(), other.driveId);\\n fieldSetFlags()[15] = other.fieldSetFlags()[15];\\n }\\n if (isValidValue(fields()[16], other.drive)) {\\n this.drive = data().deepCopy(fields()[16].schema(), other.drive);\\n fieldSetFlags()[16] = other.fieldSetFlags()[16];\\n }\\n if (isValidValue(fields()[17], other.location)) {\\n this.location = data().deepCopy(fields()[17].schema(), other.location);\\n fieldSetFlags()[17] = other.fieldSetFlags()[17];\\n }\\n if (isValidValue(fields()[18], other.region)) {\\n this.region = data().deepCopy(fields()[18].schema(), other.region);\\n fieldSetFlags()[18] = other.fieldSetFlags()[18];\\n }\\n if (isValidValue(fields()[19], other.race)) {\\n this.race = data().deepCopy(fields()[19].schema(), other.race);\\n fieldSetFlags()[19] = other.fieldSetFlags()[19];\\n }\\n if (isValidValue(fields()[20], other.raceInt)) {\\n this.raceInt = data().deepCopy(fields()[20].schema(), other.raceInt);\\n fieldSetFlags()[20] = other.fieldSetFlags()[20];\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"509f831d91ba2e2b5cff64fb77ed8c32\",\n \"score\": \"0.50784963\",\n \"text\": \"private Builder() {\\n super(org.apache.spark.streaming.flume.sink.SparkSinkEvent.SCHEMA$);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d4c64c972d4b3adb1e07ccf3cb91548\",\n \"score\": \"0.5075992\",\n \"text\": \"private Builder() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d4c64c972d4b3adb1e07ccf3cb91548\",\n \"score\": \"0.5075992\",\n \"text\": \"private Builder() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f7922b2a570858e5a306cd31d05be32d\",\n \"score\": \"0.50697005\",\n \"text\": \"public static Builder newBuilder() {\\n return new Builder();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f7922b2a570858e5a306cd31d05be32d\",\n \"score\": \"0.50697005\",\n \"text\": \"public static Builder newBuilder() {\\n return new Builder();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f7922b2a570858e5a306cd31d05be32d\",\n \"score\": \"0.50697005\",\n \"text\": \"public static Builder newBuilder() {\\n return new Builder();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f7922b2a570858e5a306cd31d05be32d\",\n \"score\": \"0.50697005\",\n \"text\": \"public static Builder newBuilder() {\\n return new Builder();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f7922b2a570858e5a306cd31d05be32d\",\n \"score\": \"0.50697005\",\n \"text\": \"public static Builder newBuilder() {\\n return new Builder();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5673a1f94ce79bfc61ad584e58f8167f\",\n \"score\": \"0.5067872\",\n \"text\": \"private Builder() {\\n super(Gel_BioInf_Models.ConsentStatus.SCHEMA$);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5fb91bed23fa4d8d5d24e760c3a7b1b0\",\n \"score\": \"0.50596684\",\n \"text\": \"public Builder clearRecordSchemaUrl() {\\n \\n recordSchemaUrl_ = getDefaultInstance().getRecordSchemaUrl();\\n onChanged();\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"14e2afd8798c8af348b7cffc613f65a4\",\n \"score\": \"0.50593084\",\n \"text\": \"DatatypeBuilder getBuilder(ANY value) throws FactoryException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"154291fb94210b5350ffc5ff8de2b238\",\n \"score\": \"0.5056985\",\n \"text\": \"public static Builder newBuilder() {\\n return new Builder();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"154291fb94210b5350ffc5ff8de2b238\",\n \"score\": \"0.5056985\",\n \"text\": \"public static Builder newBuilder() {\\n return new Builder();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"154291fb94210b5350ffc5ff8de2b238\",\n \"score\": \"0.5056985\",\n \"text\": \"public static Builder newBuilder() {\\n return new Builder();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1f2de8253a5e7ee9fabe508f8a27e73\",\n \"score\": \"0.5056586\",\n \"text\": \"public static Builder builder() {\\n return new Builder();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1f2de8253a5e7ee9fabe508f8a27e73\",\n \"score\": \"0.5056586\",\n \"text\": \"public static Builder builder() {\\n return new Builder();\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":338,"cells":{"query_id":{"kind":"string","value":"25197b4cf814864ecd440f23b9149cb3"},"query":{"kind":"string","value":"TODO Autogenerated method stub"},"positive_passages":{"kind":"list like","value":[{"docid":"9f1c9d7bb1c7f4a1261ae13e637a73b1","score":"0.0","text":"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tstate3 = -state3;\n\t\t\t\tif (state3 == 1) {\n\t\t\t\t\tled3.setBackgroundResource(R.drawable.windowl2);\n\t\t\t\t\tLED3 = 1;\n\t\t\t\t}\n\t\t\t\tif (state3 == -1) {\n\t\t\t\t\tled3.setBackgroundResource(R.drawable.windowl1);\n\t\t\t\t\tLED3 = 0;\n\t\t\t\t}\n\t\t\t\twhile (flag == 1)\n\t\t\t\t\t;\n\t\t\t\tnew Thread(new sendThread()).start();\n\t\t\t\tflag = 1;\n\t\t\t}","title":""}],"string":"[\n {\n \"docid\": \"9f1c9d7bb1c7f4a1261ae13e637a73b1\",\n \"score\": \"0.0\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void onClick(View v) {\\n\\t\\t\\t\\tstate3 = -state3;\\n\\t\\t\\t\\tif (state3 == 1) {\\n\\t\\t\\t\\t\\tled3.setBackgroundResource(R.drawable.windowl2);\\n\\t\\t\\t\\t\\tLED3 = 1;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif (state3 == -1) {\\n\\t\\t\\t\\t\\tled3.setBackgroundResource(R.drawable.windowl1);\\n\\t\\t\\t\\t\\tLED3 = 0;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\twhile (flag == 1)\\n\\t\\t\\t\\t\\t;\\n\\t\\t\\t\\tnew Thread(new sendThread()).start();\\n\\t\\t\\t\\tflag = 1;\\n\\t\\t\\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":339,"cells":{"query_id":{"kind":"string","value":"a4035b76077efdb6390151be313d85a1"},"query":{"kind":"string","value":"$ANTLR end \"rule__XSwitchExpression__Group__2__Impl\" $ANTLR start \"rule__XSwitchExpression__Group__3\" ../org.xtext.example.helloxbase.ui/srcgen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8157:1: rule__XSwitchExpression__Group__3 : rule__XSwitchExpression__Group__3__Impl rule__XSwitchExpression__Group__4 ;"},"positive_passages":{"kind":"list like","value":[{"docid":"50ad1cb209dbc980bc4d4bed850cf7c8","score":"0.8130293","text":"public final void rule__XSwitchExpression__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8161:1: ( rule__XSwitchExpression__Group__3__Impl rule__XSwitchExpression__Group__4 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8162:2: rule__XSwitchExpression__Group__3__Impl rule__XSwitchExpression__Group__4\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__3__Impl_in_rule__XSwitchExpression__Group__316683);\n rule__XSwitchExpression__Group__3__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__4_in_rule__XSwitchExpression__Group__316686);\n rule__XSwitchExpression__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":""}],"string":"[\n {\n \"docid\": \"50ad1cb209dbc980bc4d4bed850cf7c8\",\n \"score\": \"0.8130293\",\n \"text\": \"public final void rule__XSwitchExpression__Group__3() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8161:1: ( rule__XSwitchExpression__Group__3__Impl rule__XSwitchExpression__Group__4 )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8162:2: rule__XSwitchExpression__Group__3__Impl rule__XSwitchExpression__Group__4\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__3__Impl_in_rule__XSwitchExpression__Group__316683);\\n rule__XSwitchExpression__Group__3__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__4_in_rule__XSwitchExpression__Group__316686);\\n rule__XSwitchExpression__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 }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"1db083798dacc22f2c025ff68ef13d30","score":"0.79777443","text":"public final void rule__XSwitchExpression__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8132:1: ( rule__XSwitchExpression__Group__2__Impl rule__XSwitchExpression__Group__3 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8133:2: rule__XSwitchExpression__Group__2__Impl rule__XSwitchExpression__Group__3\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__2__Impl_in_rule__XSwitchExpression__Group__216623);\n rule__XSwitchExpression__Group__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__3_in_rule__XSwitchExpression__Group__216626);\n rule__XSwitchExpression__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":"455cb1ddd9ae3b65ee3ed9e4763b195a","score":"0.7780476","text":"public final void rule__XSwitchExpression__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10058:1: ( rule__XSwitchExpression__Group__3__Impl rule__XSwitchExpression__Group__4 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10059:2: rule__XSwitchExpression__Group__3__Impl rule__XSwitchExpression__Group__4\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__3__Impl_in_rule__XSwitchExpression__Group__320504);\n rule__XSwitchExpression__Group__3__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__4_in_rule__XSwitchExpression__Group__320507);\n rule__XSwitchExpression__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":"0dac3e49a86acc014816c8f83539d0b3","score":"0.7645933","text":"public final void rule__XSwitchExpression__Group_2_1_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8560:1: ( ( ( rule__XSwitchExpression__Group_2_1_0_0__0 ) ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8561:1: ( ( rule__XSwitchExpression__Group_2_1_0_0__0 ) )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8561:1: ( ( rule__XSwitchExpression__Group_2_1_0_0__0 ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8562:1: ( rule__XSwitchExpression__Group_2_1_0_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0_0()); \n }\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8563:1: ( rule__XSwitchExpression__Group_2_1_0_0__0 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8563:2: rule__XSwitchExpression__Group_2_1_0_0__0\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__0_in_rule__XSwitchExpression__Group_2_1_0__0__Impl17472);\n rule__XSwitchExpression__Group_2_1_0_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_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":"e60d2204fd7439388bd90570c7bfb831","score":"0.76284957","text":"public final void rule__XSwitchExpression__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8113:1: ( ( 'switch' ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8114:1: ( 'switch' )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8114:1: ( 'switch' )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8115:1: 'switch'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getSwitchKeyword_1()); \n }\n match(input,56,FOLLOW_56_in_rule__XSwitchExpression__Group__1__Impl16592); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getSwitchKeyword_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":"08a0695edb11c1bae8171ffe93584409","score":"0.76181006","text":"public final void rule__XSwitchExpression__Group_2_0_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8373:1: ( ( ( rule__XSwitchExpression__Group_2_0_0_0__0 ) ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8374:1: ( ( rule__XSwitchExpression__Group_2_0_0_0__0 ) )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8374:1: ( ( rule__XSwitchExpression__Group_2_0_0_0__0 ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8375:1: ( rule__XSwitchExpression__Group_2_0_0_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0_0()); \n }\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8376:1: ( rule__XSwitchExpression__Group_2_0_0_0__0 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8376:2: rule__XSwitchExpression__Group_2_0_0_0__0\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0_0__0_in_rule__XSwitchExpression__Group_2_0_0__0__Impl17105);\n rule__XSwitchExpression__Group_2_0_0_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_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":"435172dfad0cb30f926f5981682437c8","score":"0.76054484","text":"public final void rule__XSwitchExpression__Group_2_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8313:1: ( ( ( rule__XSwitchExpression__Group_2_0_0__0 )? ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8314:1: ( ( rule__XSwitchExpression__Group_2_0_0__0 )? )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8314:1: ( ( rule__XSwitchExpression__Group_2_0_0__0 )? )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8315:1: ( rule__XSwitchExpression__Group_2_0_0__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0()); \n }\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8316:1: ( rule__XSwitchExpression__Group_2_0_0__0 )?\n int alt64=2;\n int LA64_0 = input.LA(1);\n\n if ( (LA64_0==RULE_ID) ) {\n int LA64_1 = input.LA(2);\n\n if ( (LA64_1==59) ) {\n alt64=1;\n }\n }\n switch (alt64) {\n case 1 :\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8316:2: rule__XSwitchExpression__Group_2_0_0__0\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0__0_in_rule__XSwitchExpression__Group_2_0__0__Impl16986);\n rule__XSwitchExpression__Group_2_0_0__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.getXSwitchExpressionAccess().getGroup_2_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":"1f488a9d6bd4e08da9b5b2b2fb41eb12","score":"0.7584204","text":"public final void rule__XSwitchExpression__Group_2_1__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8467:1: ( ( ( rule__XSwitchExpression__Group_2_1_0__0 ) ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8468:1: ( ( rule__XSwitchExpression__Group_2_1_0__0 ) )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8468:1: ( ( rule__XSwitchExpression__Group_2_1_0__0 ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8469:1: ( rule__XSwitchExpression__Group_2_1_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0()); \n }\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8470:1: ( rule__XSwitchExpression__Group_2_1_0__0 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8470:2: rule__XSwitchExpression__Group_2_1_0__0\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0__0_in_rule__XSwitchExpression__Group_2_1__0__Impl17290);\n rule__XSwitchExpression__Group_2_1_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_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":"cf9a18dba7a8266a2b95359d1823b658","score":"0.75136983","text":"public final void ruleXSwitchExpression() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:950:2: ( ( ( rule__XSwitchExpression__Group__0 ) ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:951:1: ( ( rule__XSwitchExpression__Group__0 ) )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:951:1: ( ( rule__XSwitchExpression__Group__0 ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:952:1: ( rule__XSwitchExpression__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getGroup()); \n }\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:953:1: ( rule__XSwitchExpression__Group__0 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:953:2: rule__XSwitchExpression__Group__0\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__0_in_ruleXSwitchExpression1967);\n rule__XSwitchExpression__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().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":"c3116b1121a578ad47fd502d6d48e457","score":"0.75058156","text":"public final void rule__XSwitchExpression__Group_2_0_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8421:1: ( rule__XSwitchExpression__Group_2_0_0_0__1__Impl )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8422:2: rule__XSwitchExpression__Group_2_0_0_0__1__Impl\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0_0__1__Impl_in_rule__XSwitchExpression__Group_2_0_0_0__117197);\n rule__XSwitchExpression__Group_2_0_0_0__1__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":"75e11b8da6dd1eb3d96772e66acd0b58","score":"0.7499155","text":"public final void rule__XSwitchExpression__Group_2_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8330:1: ( rule__XSwitchExpression__Group_2_0__1__Impl )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8331:2: rule__XSwitchExpression__Group_2_0__1__Impl\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0__1__Impl_in_rule__XSwitchExpression__Group_2_0__117017);\n rule__XSwitchExpression__Group_2_0__1__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":"7d85643d578495334ba03be730244b2d","score":"0.748703","text":"public final void rule__XSwitchExpression__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10029:1: ( rule__XSwitchExpression__Group__2__Impl rule__XSwitchExpression__Group__3 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10030:2: rule__XSwitchExpression__Group__2__Impl rule__XSwitchExpression__Group__3\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__2__Impl_in_rule__XSwitchExpression__Group__220444);\n rule__XSwitchExpression__Group__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__3_in_rule__XSwitchExpression__Group__220447);\n rule__XSwitchExpression__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":"08ae0c48338ab8b0f2607f70f13b5c8a","score":"0.7473362","text":"public final void rule__XSwitchExpression__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8101:1: ( rule__XSwitchExpression__Group__1__Impl rule__XSwitchExpression__Group__2 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8102:2: rule__XSwitchExpression__Group__1__Impl rule__XSwitchExpression__Group__2\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__1__Impl_in_rule__XSwitchExpression__Group__116561);\n rule__XSwitchExpression__Group__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__2_in_rule__XSwitchExpression__Group__116564);\n rule__XSwitchExpression__Group__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":"182003120ac9ebd49a927e31b3d38ec3","score":"0.74272895","text":"public final void rule__XSwitchExpression__Group__6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8257:1: ( rule__XSwitchExpression__Group__6__Impl )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8258:2: rule__XSwitchExpression__Group__6__Impl\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__6__Impl_in_rule__XSwitchExpression__Group__616883);\n rule__XSwitchExpression__Group__6__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":"6f4075bc342833a50b0746d0c6ab910d","score":"0.7401459","text":"public final void rule__XSwitchExpression__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8082:1: ( ( () ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8083:1: ( () )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8083:1: ( () )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8084:1: ()\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getXSwitchExpressionAction_0()); \n }\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8085:1: ()\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8087:1: \n {\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getXSwitchExpressionAction_0()); \n }\n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"f77cf7c9c10eeaab501fe1bf1716dea9","score":"0.73847014","text":"public final void rule__XSwitchExpression__Group_2_1_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8549:1: ( rule__XSwitchExpression__Group_2_1_0__0__Impl )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8550:2: rule__XSwitchExpression__Group_2_1_0__0__Impl\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0__0__Impl_in_rule__XSwitchExpression__Group_2_1_0__017445);\n rule__XSwitchExpression__Group_2_1_0__0__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":"5e1118e349445b84cef15d6245f874dd","score":"0.7382622","text":"public final void rule__XSwitchExpression__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8070:1: ( rule__XSwitchExpression__Group__0__Impl rule__XSwitchExpression__Group__1 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8071:2: rule__XSwitchExpression__Group__0__Impl rule__XSwitchExpression__Group__1\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__0__Impl_in_rule__XSwitchExpression__Group__016500);\n rule__XSwitchExpression__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__1_in_rule__XSwitchExpression__Group__016503);\n rule__XSwitchExpression__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":"90b56b527178ce6907f834f4597dd885","score":"0.7372907","text":"public final void rule__XSwitchExpression__Group_2_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8455:1: ( rule__XSwitchExpression__Group_2_1__0__Impl rule__XSwitchExpression__Group_2_1__1 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8456:2: rule__XSwitchExpression__Group_2_1__0__Impl rule__XSwitchExpression__Group_2_1__1\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__0__Impl_in_rule__XSwitchExpression__Group_2_1__017260);\n rule__XSwitchExpression__Group_2_1__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__1_in_rule__XSwitchExpression__Group_2_1__017263);\n rule__XSwitchExpression__Group_2_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":"88643bd2441db3d41546d138fc4ef5dd","score":"0.7363507","text":"public final void rule__XSwitchExpression__Group_2_1_0_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8591:1: ( ( '(' ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8592:1: ( '(' )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8592:1: ( '(' )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8593:1: '('\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getLeftParenthesisKeyword_2_1_0_0_0()); \n }\n match(input,53,FOLLOW_53_in_rule__XSwitchExpression__Group_2_1_0_0__0__Impl17535); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getLeftParenthesisKeyword_2_1_0_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":"425b5c407c2951d4e6e5a8d6c7dfdb1f","score":"0.73600847","text":"public final void rule__XSwitchExpression__Group_2_0_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8362:1: ( rule__XSwitchExpression__Group_2_0_0__0__Impl )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8363:2: rule__XSwitchExpression__Group_2_0_0__0__Impl\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0__0__Impl_in_rule__XSwitchExpression__Group_2_0_0__017078);\n rule__XSwitchExpression__Group_2_0_0__0__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":"e65104187cbfe23964de2422437f28d7","score":"0.73483753","text":"public final void rule__XSwitchExpression__Group_2_1_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8610:1: ( rule__XSwitchExpression__Group_2_1_0_0__1__Impl rule__XSwitchExpression__Group_2_1_0_0__2 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8611:2: rule__XSwitchExpression__Group_2_1_0_0__1__Impl rule__XSwitchExpression__Group_2_1_0_0__2\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__1__Impl_in_rule__XSwitchExpression__Group_2_1_0_0__117566);\n rule__XSwitchExpression__Group_2_1_0_0__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__2_in_rule__XSwitchExpression__Group_2_1_0_0__117569);\n rule__XSwitchExpression__Group_2_1_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":"145a04e23650de903470f199a3b18aa2","score":"0.7338935","text":"public final void rule__XSwitchExpression__Group_2_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8484:1: ( rule__XSwitchExpression__Group_2_1__1__Impl rule__XSwitchExpression__Group_2_1__2 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8485:2: rule__XSwitchExpression__Group_2_1__1__Impl rule__XSwitchExpression__Group_2_1__2\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__1__Impl_in_rule__XSwitchExpression__Group_2_1__117320);\n rule__XSwitchExpression__Group_2_1__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__2_in_rule__XSwitchExpression__Group_2_1__117323);\n rule__XSwitchExpression__Group_2_1__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":"ae0f48f4b9c90fa4d2201d1cd8ffd22d","score":"0.73332864","text":"public final void rule__XSwitchExpression__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10010:1: ( ( 'switch' ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10011:1: ( 'switch' )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10011:1: ( 'switch' )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10012:1: 'switch'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getSwitchKeyword_1()); \n }\n match(input,63,FOLLOW_63_in_rule__XSwitchExpression__Group__1__Impl20413); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getSwitchKeyword_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":"d01073b4276f328cfc9bac92534bf8d2","score":"0.7333138","text":"public final void rule__XSwitchExpression__Group_2_1_0_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8579:1: ( rule__XSwitchExpression__Group_2_1_0_0__0__Impl rule__XSwitchExpression__Group_2_1_0_0__1 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8580:2: rule__XSwitchExpression__Group_2_1_0_0__0__Impl rule__XSwitchExpression__Group_2_1_0_0__1\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__0__Impl_in_rule__XSwitchExpression__Group_2_1_0_0__017504);\n rule__XSwitchExpression__Group_2_1_0_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__1_in_rule__XSwitchExpression__Group_2_1_0_0__017507);\n rule__XSwitchExpression__Group_2_1_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":"b05cbc16ba19abdcf299419c6d015efd","score":"0.73314935","text":"public final void rule__XSwitchExpression__Group_2_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8301:1: ( rule__XSwitchExpression__Group_2_0__0__Impl rule__XSwitchExpression__Group_2_0__1 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8302:2: rule__XSwitchExpression__Group_2_0__0__Impl rule__XSwitchExpression__Group_2_0__1\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0__0__Impl_in_rule__XSwitchExpression__Group_2_0__016956);\n rule__XSwitchExpression__Group_2_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0__1_in_rule__XSwitchExpression__Group_2_0__016959);\n rule__XSwitchExpression__Group_2_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":"d3953f28f2ad9552dc50abf821c2d65f","score":"0.7325332","text":"public final void rule__XSwitchExpression__Group_2_1_0_0__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8639:1: ( rule__XSwitchExpression__Group_2_1_0_0__2__Impl )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8640:2: rule__XSwitchExpression__Group_2_1_0_0__2__Impl\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__2__Impl_in_rule__XSwitchExpression__Group_2_1_0_0__217626);\n rule__XSwitchExpression__Group_2_1_0_0__2__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":"79f320b0eeb68b731dd9e16df05b93df","score":"0.7307192","text":"public final void rule__XSwitchExpression__Group_2_0_0_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8392:1: ( rule__XSwitchExpression__Group_2_0_0_0__0__Impl rule__XSwitchExpression__Group_2_0_0_0__1 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8393:2: rule__XSwitchExpression__Group_2_0_0_0__0__Impl rule__XSwitchExpression__Group_2_0_0_0__1\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0_0__0__Impl_in_rule__XSwitchExpression__Group_2_0_0_0__017137);\n rule__XSwitchExpression__Group_2_0_0_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0_0__1_in_rule__XSwitchExpression__Group_2_0_0_0__017140);\n rule__XSwitchExpression__Group_2_0_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":"f95d1235d3c63a3d8995c6d565bc5b69","score":"0.7274671","text":"public final void rule__XSwitchExpression__Group__6__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8268:1: ( ( '}' ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8269:1: ( '}' )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8269:1: ( '}' )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8270:1: '}'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getRightCurlyBracketKeyword_6()); \n }\n match(input,58,FOLLOW_58_in_rule__XSwitchExpression__Group__6__Impl16911); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getRightCurlyBracketKeyword_6()); \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":"fcf3c74766b73bc870144e29a51ea8d6","score":"0.72545266","text":"public final void ruleXSwitchExpression() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:1258:2: ( ( ( rule__XSwitchExpression__Group__0 ) ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:1259:1: ( ( rule__XSwitchExpression__Group__0 ) )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:1259:1: ( ( rule__XSwitchExpression__Group__0 ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:1260:1: ( rule__XSwitchExpression__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getGroup()); \n }\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:1261:1: ( rule__XSwitchExpression__Group__0 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:1261:2: rule__XSwitchExpression__Group__0\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__0_in_ruleXSwitchExpression2627);\n rule__XSwitchExpression__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().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":"5004d7c6755cbe70dc03e8ee76bf8a33","score":"0.7248756","text":"public final void rule__XSwitchExpression__Group_2_1_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10457:1: ( ( ( rule__XSwitchExpression__Group_2_1_0_0__0 ) ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10458:1: ( ( rule__XSwitchExpression__Group_2_1_0_0__0 ) )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10458:1: ( ( rule__XSwitchExpression__Group_2_1_0_0__0 ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10459:1: ( rule__XSwitchExpression__Group_2_1_0_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0_0()); \n }\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10460:1: ( rule__XSwitchExpression__Group_2_1_0_0__0 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10460:2: rule__XSwitchExpression__Group_2_1_0_0__0\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__0_in_rule__XSwitchExpression__Group_2_1_0__0__Impl21293);\n rule__XSwitchExpression__Group_2_1_0_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_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":"3ea2757cf967e735dea51763690d18da","score":"0.7243389","text":"public final void rule__XSwitchExpression__Group_2_1__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8513:1: ( rule__XSwitchExpression__Group_2_1__2__Impl )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8514:2: rule__XSwitchExpression__Group_2_1__2__Impl\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__2__Impl_in_rule__XSwitchExpression__Group_2_1__217380);\n rule__XSwitchExpression__Group_2_1__2__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":"133e45c4a628faa0e39d68456561f873","score":"0.7228828","text":"public final void rule__XSwitchExpression__Group_2_1__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10364:1: ( ( ( rule__XSwitchExpression__Group_2_1_0__0 ) ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10365:1: ( ( rule__XSwitchExpression__Group_2_1_0__0 ) )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10365:1: ( ( rule__XSwitchExpression__Group_2_1_0__0 ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10366:1: ( rule__XSwitchExpression__Group_2_1_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0()); \n }\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10367:1: ( rule__XSwitchExpression__Group_2_1_0__0 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10367:2: rule__XSwitchExpression__Group_2_1_0__0\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0__0_in_rule__XSwitchExpression__Group_2_1__0__Impl21111);\n rule__XSwitchExpression__Group_2_1_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_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":"47f633337a850793686fa3e4d1e068e3","score":"0.72034764","text":"public final void rule__XSwitchExpression__Group_2_0_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10270:1: ( ( ( rule__XSwitchExpression__Group_2_0_0_0__0 ) ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10271:1: ( ( rule__XSwitchExpression__Group_2_0_0_0__0 ) )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10271:1: ( ( rule__XSwitchExpression__Group_2_0_0_0__0 ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10272:1: ( rule__XSwitchExpression__Group_2_0_0_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0_0()); \n }\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10273:1: ( rule__XSwitchExpression__Group_2_0_0_0__0 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10273:2: rule__XSwitchExpression__Group_2_0_0_0__0\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0_0__0_in_rule__XSwitchExpression__Group_2_0_0__0__Impl20926);\n rule__XSwitchExpression__Group_2_0_0_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_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":"39c0ea632ceea57c372f42fc45c5d51b","score":"0.71887624","text":"public final void rule__XSwitchExpression__Group_2_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10210:1: ( ( ( rule__XSwitchExpression__Group_2_0_0__0 )? ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10211:1: ( ( rule__XSwitchExpression__Group_2_0_0__0 )? )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10211:1: ( ( rule__XSwitchExpression__Group_2_0_0__0 )? )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10212:1: ( rule__XSwitchExpression__Group_2_0_0__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0()); \n }\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10213:1: ( rule__XSwitchExpression__Group_2_0_0__0 )?\n int alt77=2;\n int LA77_0 = input.LA(1);\n\n if ( (LA77_0==RULE_ID) ) {\n int LA77_1 = input.LA(2);\n\n if ( (LA77_1==49) ) {\n alt77=1;\n }\n }\n switch (alt77) {\n case 1 :\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10213:2: rule__XSwitchExpression__Group_2_0_0__0\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0__0_in_rule__XSwitchExpression__Group_2_0__0__Impl20807);\n rule__XSwitchExpression__Group_2_0_0__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.getXSwitchExpressionAccess().getGroup_2_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":"e3a896a850ed058858bbb10a1bad7380","score":"0.7167583","text":"public final void rule__XSwitchExpression__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8192:1: ( rule__XSwitchExpression__Group__4__Impl rule__XSwitchExpression__Group__5 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8193:2: rule__XSwitchExpression__Group__4__Impl rule__XSwitchExpression__Group__5\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__4__Impl_in_rule__XSwitchExpression__Group__416745);\n rule__XSwitchExpression__Group__4__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__5_in_rule__XSwitchExpression__Group__416748);\n rule__XSwitchExpression__Group__5();\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":"ddcebfb585768e08274c2cbaa1f493bc","score":"0.7151496","text":"public final void rule__XSwitchExpression__Group_2_1__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8524:1: ( ( ')' ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8525:1: ( ')' )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8525:1: ( ')' )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8526:1: ')'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getRightParenthesisKeyword_2_1_2()); \n }\n match(input,49,FOLLOW_49_in_rule__XSwitchExpression__Group_2_1__2__Impl17408); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getRightParenthesisKeyword_2_1_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":"0c680f63d6385b10a041d98f22c64e86","score":"0.7149234","text":"public final void rule__ExprSwitchStmt__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGo.g:7354:1: ( rule__ExprSwitchStmt__Group__3__Impl rule__ExprSwitchStmt__Group__4 )\n // InternalGo.g:7355:2: rule__ExprSwitchStmt__Group__3__Impl rule__ExprSwitchStmt__Group__4\n {\n pushFollow(FOLLOW_34);\n rule__ExprSwitchStmt__Group__3__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__ExprSwitchStmt__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":"9e1a9b7ca68e179a02dd53a5979d34c2","score":"0.7133329","text":"public final void rule__XSwitchExpression__Group_5__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8737:1: ( rule__XSwitchExpression__Group_5__2__Impl )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8738:2: rule__XSwitchExpression__Group_5__2__Impl\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_5__2__Impl_in_rule__XSwitchExpression__Group_5__217815);\n rule__XSwitchExpression__Group_5__2__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":"4d54bdccd958090a48fe583523593fd4","score":"0.71284723","text":"public final void rule__XSwitchExpression__Group__6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10154:1: ( rule__XSwitchExpression__Group__6__Impl )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10155:2: rule__XSwitchExpression__Group__6__Impl\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__6__Impl_in_rule__XSwitchExpression__Group__620704);\n rule__XSwitchExpression__Group__6__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":"781d6c4a42ac4f58d9d8babbc2fd9dc4","score":"0.71272224","text":"public final void rule__XSwitchExpression__Group_2_0__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8341:1: ( ( ( rule__XSwitchExpression__SwitchAssignment_2_0_1 ) ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8342:1: ( ( rule__XSwitchExpression__SwitchAssignment_2_0_1 ) )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8342:1: ( ( rule__XSwitchExpression__SwitchAssignment_2_0_1 ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8343:1: ( rule__XSwitchExpression__SwitchAssignment_2_0_1 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_0_1()); \n }\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8344:1: ( rule__XSwitchExpression__SwitchAssignment_2_0_1 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8344:2: rule__XSwitchExpression__SwitchAssignment_2_0_1\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__SwitchAssignment_2_0_1_in_rule__XSwitchExpression__Group_2_0__1__Impl17044);\n rule__XSwitchExpression__SwitchAssignment_2_0_1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_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":"9347d51b80f3315c23c73530b84c4887","score":"0.7091247","text":"public final void rule__XSwitchExpression__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9998:1: ( rule__XSwitchExpression__Group__1__Impl rule__XSwitchExpression__Group__2 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9999:2: rule__XSwitchExpression__Group__1__Impl rule__XSwitchExpression__Group__2\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__1__Impl_in_rule__XSwitchExpression__Group__120382);\n rule__XSwitchExpression__Group__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__2_in_rule__XSwitchExpression__Group__120385);\n rule__XSwitchExpression__Group__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":"0ee60b3da879fbd1b6f3b90e7a5b7548","score":"0.7075613","text":"public final void rule__XSwitchExpression__Group__5__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8240:1: ( ( ( rule__XSwitchExpression__Group_5__0 )? ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8241:1: ( ( rule__XSwitchExpression__Group_5__0 )? )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8241:1: ( ( rule__XSwitchExpression__Group_5__0 )? )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8242:1: ( rule__XSwitchExpression__Group_5__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_5()); \n }\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8243:1: ( rule__XSwitchExpression__Group_5__0 )?\n int alt63=2;\n int LA63_0 = input.LA(1);\n\n if ( (LA63_0==60) ) {\n alt63=1;\n }\n switch (alt63) {\n case 1 :\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8243:2: rule__XSwitchExpression__Group_5__0\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_5__0_in_rule__XSwitchExpression__Group__5__Impl16852);\n rule__XSwitchExpression__Group_5__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.getXSwitchExpressionAccess().getGroup_5()); \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":"48526ec96d334dbedbdf90dcf3d40976","score":"0.7063703","text":"public final void rule__XSwitchExpression__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9979:1: ( ( () ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9980:1: ( () )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9980:1: ( () )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9981:1: ()\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getXSwitchExpressionAction_0()); \n }\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9982:1: ()\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9984:1: \n {\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getXSwitchExpressionAction_0()); \n }\n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"403f63b0855d8a578e76c18b7489c97e","score":"0.70618516","text":"public final void rule__XSwitchExpression__Group_2_1_0_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10488:1: ( ( '(' ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10489:1: ( '(' )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10489:1: ( '(' )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10490:1: '('\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getLeftParenthesisKeyword_2_1_0_0_0()); \n }\n match(input,51,FOLLOW_51_in_rule__XSwitchExpression__Group_2_1_0_0__0__Impl21356); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getLeftParenthesisKeyword_2_1_0_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":"a583cd0b4fdc0b648636efd6c0b79b3c","score":"0.7056894","text":"public final void rule__XSwitchExpression__Group_2_0_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10318:1: ( rule__XSwitchExpression__Group_2_0_0_0__1__Impl )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10319:2: rule__XSwitchExpression__Group_2_0_0_0__1__Impl\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0_0__1__Impl_in_rule__XSwitchExpression__Group_2_0_0_0__121018);\n rule__XSwitchExpression__Group_2_0_0_0__1__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":"3f47ff6f6801355c71564aace746c700","score":"0.70563704","text":"public final void rule__XSwitchExpression__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9967:1: ( rule__XSwitchExpression__Group__0__Impl rule__XSwitchExpression__Group__1 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9968:2: rule__XSwitchExpression__Group__0__Impl rule__XSwitchExpression__Group__1\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__0__Impl_in_rule__XSwitchExpression__Group__020321);\n rule__XSwitchExpression__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__1_in_rule__XSwitchExpression__Group__020324);\n rule__XSwitchExpression__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":"47962ba7570297fd340dfafe74cd6fd8","score":"0.70488435","text":"public final void rule__XSwitchExpression__Group_2_0_0_0__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8432:1: ( ( ':' ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8433:1: ( ':' )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8433:1: ( ':' )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8434:1: ':'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_0_0_0_1()); \n }\n match(input,59,FOLLOW_59_in_rule__XSwitchExpression__Group_2_0_0_0__1__Impl17225); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_0_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":"d7fb267fca38bdb521d14a7e9a0b30be","score":"0.7043702","text":"public final void rule__XSwitchExpression__Group_2_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10227:1: ( rule__XSwitchExpression__Group_2_0__1__Impl )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10228:2: rule__XSwitchExpression__Group_2_0__1__Impl\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0__1__Impl_in_rule__XSwitchExpression__Group_2_0__120838);\n rule__XSwitchExpression__Group_2_0__1__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":"62601b5ec773706e16ad276c6ba5dcf5","score":"0.7033941","text":"public final void rule__SwitchCase__Group_0__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6810:1: ( rule__SwitchCase__Group_0__3__Impl )\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6811:2: rule__SwitchCase__Group_0__3__Impl\n {\n pushFollow(FOLLOW_rule__SwitchCase__Group_0__3__Impl_in_rule__SwitchCase__Group_0__313890);\n rule__SwitchCase__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":"9227e9cc1108f26bb01ffc468bf2f7f3","score":"0.70026654","text":"public final void rule__XSwitchExpression__Group__6__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10165:1: ( ( '}' ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10166:1: ( '}' )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10166:1: ( '}' )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10167:1: '}'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getRightCurlyBracketKeyword_6()); \n }\n match(input,55,FOLLOW_55_in_rule__XSwitchExpression__Group__6__Impl20732); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getRightCurlyBracketKeyword_6()); \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":"89138d0cab60781f6f7fd3948f1b66ca","score":"0.70010364","text":"public final void rule__XSwitchExpression__Group_2_1__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8496:1: ( ( ( rule__XSwitchExpression__SwitchAssignment_2_1_1 ) ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8497:1: ( ( rule__XSwitchExpression__SwitchAssignment_2_1_1 ) )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8497:1: ( ( rule__XSwitchExpression__SwitchAssignment_2_1_1 ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8498:1: ( rule__XSwitchExpression__SwitchAssignment_2_1_1 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_1_1()); \n }\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8499:1: ( rule__XSwitchExpression__SwitchAssignment_2_1_1 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8499:2: rule__XSwitchExpression__SwitchAssignment_2_1_1\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__SwitchAssignment_2_1_1_in_rule__XSwitchExpression__Group_2_1__1__Impl17350);\n rule__XSwitchExpression__SwitchAssignment_2_1_1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_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":"2637f04f77303f5eb752ed6dd12315b4","score":"0.6964674","text":"public final void rule__XSwitchExpression__Group__5() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8228:1: ( rule__XSwitchExpression__Group__5__Impl rule__XSwitchExpression__Group__6 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8229:2: rule__XSwitchExpression__Group__5__Impl rule__XSwitchExpression__Group__6\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__5__Impl_in_rule__XSwitchExpression__Group__516822);\n rule__XSwitchExpression__Group__5__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__6_in_rule__XSwitchExpression__Group__516825);\n rule__XSwitchExpression__Group__6();\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":"8cffeb900f70dd6a316fc705957c9238","score":"0.69503963","text":"public final void rule__XSwitchExpression__Group_2_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10352:1: ( rule__XSwitchExpression__Group_2_1__0__Impl rule__XSwitchExpression__Group_2_1__1 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10353:2: rule__XSwitchExpression__Group_2_1__0__Impl rule__XSwitchExpression__Group_2_1__1\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__0__Impl_in_rule__XSwitchExpression__Group_2_1__021081);\n rule__XSwitchExpression__Group_2_1__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__1_in_rule__XSwitchExpression__Group_2_1__021084);\n rule__XSwitchExpression__Group_2_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":"99424e5b19984514cf8c2cff016a1730","score":"0.69364107","text":"public final void rule__XSwitchExpression__Group__4__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8204:1: ( ( ( ( rule__XSwitchExpression__CasesAssignment_4 ) ) ( ( rule__XSwitchExpression__CasesAssignment_4 )* ) ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8205:1: ( ( ( rule__XSwitchExpression__CasesAssignment_4 ) ) ( ( rule__XSwitchExpression__CasesAssignment_4 )* ) )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8205:1: ( ( ( rule__XSwitchExpression__CasesAssignment_4 ) ) ( ( rule__XSwitchExpression__CasesAssignment_4 )* ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8206:1: ( ( rule__XSwitchExpression__CasesAssignment_4 ) ) ( ( rule__XSwitchExpression__CasesAssignment_4 )* )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8206:1: ( ( rule__XSwitchExpression__CasesAssignment_4 ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8207:1: ( rule__XSwitchExpression__CasesAssignment_4 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4()); \n }\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8208:1: ( rule__XSwitchExpression__CasesAssignment_4 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8208:2: rule__XSwitchExpression__CasesAssignment_4\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__CasesAssignment_4_in_rule__XSwitchExpression__Group__4__Impl16777);\n rule__XSwitchExpression__CasesAssignment_4();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4()); \n }\n\n }\n\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8211:1: ( ( rule__XSwitchExpression__CasesAssignment_4 )* )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8212:1: ( rule__XSwitchExpression__CasesAssignment_4 )*\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4()); \n }\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8213:1: ( rule__XSwitchExpression__CasesAssignment_4 )*\n loop62:\n do {\n int alt62=2;\n int LA62_0 = input.LA(1);\n\n if ( (LA62_0==RULE_ID||LA62_0==25||LA62_0==53||LA62_0==59||LA62_0==61) ) {\n alt62=1;\n }\n\n\n switch (alt62) {\n \tcase 1 :\n \t // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8213:2: rule__XSwitchExpression__CasesAssignment_4\n \t {\n \t pushFollow(FOLLOW_rule__XSwitchExpression__CasesAssignment_4_in_rule__XSwitchExpression__Group__4__Impl16789);\n \t rule__XSwitchExpression__CasesAssignment_4();\n\n \t state._fsp--;\n \t if (state.failed) return ;\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop62;\n }\n } while (true);\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4()); \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 \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"50b31102e30bd5bcbde677be132475fa","score":"0.69105285","text":"public final void rule__XSwitchExpression__Group_2_1_0_0__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8650:1: ( ( ':' ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8651:1: ( ':' )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8651:1: ( ':' )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8652:1: ':'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_1_0_0_2()); \n }\n match(input,59,FOLLOW_59_in_rule__XSwitchExpression__Group_2_1_0_0__2__Impl17654); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_1_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":"bc969b9512587d59be273fef84456a75","score":"0.6903566","text":"public final void rule__XSwitchExpression__Group_2_1_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10446:1: ( rule__XSwitchExpression__Group_2_1_0__0__Impl )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10447:2: rule__XSwitchExpression__Group_2_1_0__0__Impl\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0__0__Impl_in_rule__XSwitchExpression__Group_2_1_0__021266);\n rule__XSwitchExpression__Group_2_1_0__0__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":"5ddcb753dac03dd022875688e8fd9490","score":"0.6893212","text":"public final void rule__XSwitchExpression__Group_5__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8706:1: ( rule__XSwitchExpression__Group_5__1__Impl rule__XSwitchExpression__Group_5__2 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8707:2: rule__XSwitchExpression__Group_5__1__Impl rule__XSwitchExpression__Group_5__2\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_5__1__Impl_in_rule__XSwitchExpression__Group_5__117753);\n rule__XSwitchExpression__Group_5__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_5__2_in_rule__XSwitchExpression__Group_5__117756);\n rule__XSwitchExpression__Group_5__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":"2cc551ad621d62eeada543cacd9fc48f","score":"0.6878983","text":"public final void rule__XSwitchExpression__Group_2_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10381:1: ( rule__XSwitchExpression__Group_2_1__1__Impl rule__XSwitchExpression__Group_2_1__2 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10382:2: rule__XSwitchExpression__Group_2_1__1__Impl rule__XSwitchExpression__Group_2_1__2\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__1__Impl_in_rule__XSwitchExpression__Group_2_1__121141);\n rule__XSwitchExpression__Group_2_1__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__2_in_rule__XSwitchExpression__Group_2_1__121144);\n rule__XSwitchExpression__Group_2_1__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":"f4692e14241b75934db56305b05f301b","score":"0.6877847","text":"public final void rule__XSwitchExpression__Group_2_1_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10507:1: ( rule__XSwitchExpression__Group_2_1_0_0__1__Impl rule__XSwitchExpression__Group_2_1_0_0__2 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10508:2: rule__XSwitchExpression__Group_2_1_0_0__1__Impl rule__XSwitchExpression__Group_2_1_0_0__2\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__1__Impl_in_rule__XSwitchExpression__Group_2_1_0_0__121387);\n rule__XSwitchExpression__Group_2_1_0_0__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__2_in_rule__XSwitchExpression__Group_2_1_0_0__121390);\n rule__XSwitchExpression__Group_2_1_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":"24b99512be5222c30eee98a89696568b","score":"0.6877534","text":"public final void rule__XSwitchExpression__Group_2_0_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10259:1: ( rule__XSwitchExpression__Group_2_0_0__0__Impl )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10260:2: rule__XSwitchExpression__Group_2_0_0__0__Impl\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0__0__Impl_in_rule__XSwitchExpression__Group_2_0_0__020899);\n rule__XSwitchExpression__Group_2_0_0__0__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":"806fde21c5e237ea9adad31359a5f775","score":"0.68728715","text":"public final void rule__XSwitchExpression__Group_2_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10198:1: ( rule__XSwitchExpression__Group_2_0__0__Impl rule__XSwitchExpression__Group_2_0__1 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10199:2: rule__XSwitchExpression__Group_2_0__0__Impl rule__XSwitchExpression__Group_2_0__1\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0__0__Impl_in_rule__XSwitchExpression__Group_2_0__020777);\n rule__XSwitchExpression__Group_2_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0__1_in_rule__XSwitchExpression__Group_2_0__020780);\n rule__XSwitchExpression__Group_2_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":"55b762a840fea86bfb265f46a0589770","score":"0.68428206","text":"public final void rule__XSwitchExpression__Group_2_1_0_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10476:1: ( rule__XSwitchExpression__Group_2_1_0_0__0__Impl rule__XSwitchExpression__Group_2_1_0_0__1 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10477:2: rule__XSwitchExpression__Group_2_1_0_0__0__Impl rule__XSwitchExpression__Group_2_1_0_0__1\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__0__Impl_in_rule__XSwitchExpression__Group_2_1_0_0__021325);\n rule__XSwitchExpression__Group_2_1_0_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__1_in_rule__XSwitchExpression__Group_2_1_0_0__021328);\n rule__XSwitchExpression__Group_2_1_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":"c8a7a6acc671a7a9962756467bfbba6e","score":"0.6810288","text":"public final void rule__XSwitchExpression__Group_2_1_0_0__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10536:1: ( rule__XSwitchExpression__Group_2_1_0_0__2__Impl )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10537:2: rule__XSwitchExpression__Group_2_1_0_0__2__Impl\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__2__Impl_in_rule__XSwitchExpression__Group_2_1_0_0__221447);\n rule__XSwitchExpression__Group_2_1_0_0__2__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":"e28413cd1aff979ed763d9e71bf7ee06","score":"0.680407","text":"public final void rule__XSwitchExpression__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10089:1: ( rule__XSwitchExpression__Group__4__Impl rule__XSwitchExpression__Group__5 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10090:2: rule__XSwitchExpression__Group__4__Impl rule__XSwitchExpression__Group__5\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__4__Impl_in_rule__XSwitchExpression__Group__420566);\n rule__XSwitchExpression__Group__4__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__5_in_rule__XSwitchExpression__Group__420569);\n rule__XSwitchExpression__Group__5();\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":"26fb98ee1c8e25e5ff39fe6388669c3f","score":"0.680156","text":"public final void rule__XSwitchExpression__Group_2_1__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10410:1: ( rule__XSwitchExpression__Group_2_1__2__Impl )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10411:2: rule__XSwitchExpression__Group_2_1__2__Impl\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__2__Impl_in_rule__XSwitchExpression__Group_2_1__221201);\n rule__XSwitchExpression__Group_2_1__2__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":"076b0093c6882afb9ddf74aa03fd7b3a","score":"0.6800198","text":"public final void rule__XSwitchExpression__Group__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8144:1: ( ( ( rule__XSwitchExpression__Alternatives_2 ) ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8145:1: ( ( rule__XSwitchExpression__Alternatives_2 ) )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8145:1: ( ( rule__XSwitchExpression__Alternatives_2 ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8146:1: ( rule__XSwitchExpression__Alternatives_2 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getAlternatives_2()); \n }\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8147:1: ( rule__XSwitchExpression__Alternatives_2 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8147:2: rule__XSwitchExpression__Alternatives_2\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Alternatives_2_in_rule__XSwitchExpression__Group__2__Impl16653);\n rule__XSwitchExpression__Alternatives_2();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getAlternatives_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":"60cfdabe100393e46565d79b113ba370","score":"0.6798128","text":"public final void rule__SwitchCase__Group_0__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6781:1: ( rule__SwitchCase__Group_0__2__Impl rule__SwitchCase__Group_0__3 )\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6782:2: rule__SwitchCase__Group_0__2__Impl rule__SwitchCase__Group_0__3\n {\n pushFollow(FOLLOW_rule__SwitchCase__Group_0__2__Impl_in_rule__SwitchCase__Group_0__213831);\n rule__SwitchCase__Group_0__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__SwitchCase__Group_0__3_in_rule__SwitchCase__Group_0__213834);\n rule__SwitchCase__Group_0__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":"e169852cb4404384327a79a2bfe78815","score":"0.6792053","text":"public final void rule__XSwitchExpression__Group_2_0_0_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10289:1: ( rule__XSwitchExpression__Group_2_0_0_0__0__Impl rule__XSwitchExpression__Group_2_0_0_0__1 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10290:2: rule__XSwitchExpression__Group_2_0_0_0__0__Impl rule__XSwitchExpression__Group_2_0_0_0__1\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0_0__0__Impl_in_rule__XSwitchExpression__Group_2_0_0_0__020958);\n rule__XSwitchExpression__Group_2_0_0_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0_0__1_in_rule__XSwitchExpression__Group_2_0_0_0__020961);\n rule__XSwitchExpression__Group_2_0_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":"41de1cda65fd97ed5c02659a2607cefe","score":"0.6751516","text":"public final void rule__XSwitchExpression__Group_5__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8718:1: ( ( ':' ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8719:1: ( ':' )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8719:1: ( ':' )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8720:1: ':'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getColonKeyword_5_1()); \n }\n match(input,59,FOLLOW_59_in_rule__XSwitchExpression__Group_5__1__Impl17784); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getColonKeyword_5_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":"ed297b8b839a19538b8778d193987438","score":"0.67402476","text":"public final void rule__XSwitchExpression__Group_5__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8675:1: ( rule__XSwitchExpression__Group_5__0__Impl rule__XSwitchExpression__Group_5__1 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8676:2: rule__XSwitchExpression__Group_5__0__Impl rule__XSwitchExpression__Group_5__1\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_5__0__Impl_in_rule__XSwitchExpression__Group_5__017691);\n rule__XSwitchExpression__Group_5__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_5__1_in_rule__XSwitchExpression__Group_5__017694);\n rule__XSwitchExpression__Group_5__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":"f4f72c45b920ada9d5ca22affdb4c2d1","score":"0.67177284","text":"public final void rule__ExprSwitchStmt__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGo.g:7327:1: ( rule__ExprSwitchStmt__Group__2__Impl rule__ExprSwitchStmt__Group__3 )\n // InternalGo.g:7328:2: rule__ExprSwitchStmt__Group__2__Impl rule__ExprSwitchStmt__Group__3\n {\n pushFollow(FOLLOW_31);\n rule__ExprSwitchStmt__Group__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__ExprSwitchStmt__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":"d7e72fc74b990d5abed1501b7a0e9161","score":"0.67063093","text":"public final void rule__TypeSwitchStmt__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGo.g:7705:1: ( rule__TypeSwitchStmt__Group__3__Impl rule__TypeSwitchStmt__Group__4 )\n // InternalGo.g:7706:2: rule__TypeSwitchStmt__Group__3__Impl rule__TypeSwitchStmt__Group__4\n {\n pushFollow(FOLLOW_34);\n rule__TypeSwitchStmt__Group__3__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__TypeSwitchStmt__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":"f2d0ef1678d7597318811e756cbb608f","score":"0.66972613","text":"public final void rule__XSwitchExpression__Group_2_1__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10421:1: ( ( ')' ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10422:1: ( ')' )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10422:1: ( ')' )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10423:1: ')'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getRightParenthesisKeyword_2_1_2()); \n }\n match(input,52,FOLLOW_52_in_rule__XSwitchExpression__Group_2_1__2__Impl21229); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getRightParenthesisKeyword_2_1_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":"e1e8115b741d50081a7e0832456b0aad","score":"0.6682609","text":"public final void rule__XSwitchExpression__Group__4__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10101:1: ( ( ( ( rule__XSwitchExpression__CasesAssignment_4 ) ) ( ( rule__XSwitchExpression__CasesAssignment_4 )* ) ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10102:1: ( ( ( rule__XSwitchExpression__CasesAssignment_4 ) ) ( ( rule__XSwitchExpression__CasesAssignment_4 )* ) )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10102:1: ( ( ( rule__XSwitchExpression__CasesAssignment_4 ) ) ( ( rule__XSwitchExpression__CasesAssignment_4 )* ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10103:1: ( ( rule__XSwitchExpression__CasesAssignment_4 ) ) ( ( rule__XSwitchExpression__CasesAssignment_4 )* )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10103:1: ( ( rule__XSwitchExpression__CasesAssignment_4 ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10104:1: ( rule__XSwitchExpression__CasesAssignment_4 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4()); \n }\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10105:1: ( rule__XSwitchExpression__CasesAssignment_4 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10105:2: rule__XSwitchExpression__CasesAssignment_4\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__CasesAssignment_4_in_rule__XSwitchExpression__Group__4__Impl20598);\n rule__XSwitchExpression__CasesAssignment_4();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4()); \n }\n\n }\n\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10108:1: ( ( rule__XSwitchExpression__CasesAssignment_4 )* )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10109:1: ( rule__XSwitchExpression__CasesAssignment_4 )*\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4()); \n }\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10110:1: ( rule__XSwitchExpression__CasesAssignment_4 )*\n loop75:\n do {\n int alt75=2;\n int LA75_0 = input.LA(1);\n\n if ( (LA75_0==RULE_ID||LA75_0==26||LA75_0==49||LA75_0==51||LA75_0==65) ) {\n alt75=1;\n }\n\n\n switch (alt75) {\n \tcase 1 :\n \t // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10110:2: rule__XSwitchExpression__CasesAssignment_4\n \t {\n \t pushFollow(FOLLOW_rule__XSwitchExpression__CasesAssignment_4_in_rule__XSwitchExpression__Group__4__Impl20610);\n \t rule__XSwitchExpression__CasesAssignment_4();\n\n \t state._fsp--;\n \t if (state.failed) return ;\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop75;\n }\n } while (true);\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4()); \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 \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"6266a9cc00ae69a8ae2c3e6af0466be7","score":"0.66821706","text":"public final void rule__XSwitchExpression__Group_2_0__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10238:1: ( ( ( rule__XSwitchExpression__SwitchAssignment_2_0_1 ) ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10239:1: ( ( rule__XSwitchExpression__SwitchAssignment_2_0_1 ) )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10239:1: ( ( rule__XSwitchExpression__SwitchAssignment_2_0_1 ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10240:1: ( rule__XSwitchExpression__SwitchAssignment_2_0_1 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_0_1()); \n }\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10241:1: ( rule__XSwitchExpression__SwitchAssignment_2_0_1 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10241:2: rule__XSwitchExpression__SwitchAssignment_2_0_1\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__SwitchAssignment_2_0_1_in_rule__XSwitchExpression__Group_2_0__1__Impl20865);\n rule__XSwitchExpression__SwitchAssignment_2_0_1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_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":"620151fed0b27c1ff26a53c005c57da4","score":"0.6671564","text":"public final void rule__XSwitchExpression__Group_5__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8687:1: ( ( 'default' ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8688:1: ( 'default' )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8688:1: ( 'default' )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8689:1: 'default'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getDefaultKeyword_5_0()); \n }\n match(input,60,FOLLOW_60_in_rule__XSwitchExpression__Group_5__0__Impl17722); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getDefaultKeyword_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":"0f10cd3b2e4a4f01e135278dfbeb3e66","score":"0.66649795","text":"public final void rule__XSwitchExpression__Group_2_1__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10393:1: ( ( ( rule__XSwitchExpression__SwitchAssignment_2_1_1 ) ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10394:1: ( ( rule__XSwitchExpression__SwitchAssignment_2_1_1 ) )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10394:1: ( ( rule__XSwitchExpression__SwitchAssignment_2_1_1 ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10395:1: ( rule__XSwitchExpression__SwitchAssignment_2_1_1 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_1_1()); \n }\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10396:1: ( rule__XSwitchExpression__SwitchAssignment_2_1_1 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10396:2: rule__XSwitchExpression__SwitchAssignment_2_1_1\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__SwitchAssignment_2_1_1_in_rule__XSwitchExpression__Group_2_1__1__Impl21171);\n rule__XSwitchExpression__SwitchAssignment_2_1_1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_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":"273b57c26f07220a1bce122284e09336","score":"0.66463953","text":"public final void rule__XSwitchExpression__Group_5__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10634:1: ( rule__XSwitchExpression__Group_5__2__Impl )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10635:2: rule__XSwitchExpression__Group_5__2__Impl\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_5__2__Impl_in_rule__XSwitchExpression__Group_5__221636);\n rule__XSwitchExpression__Group_5__2__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":"eec8bf19e52d912eb31a6a08b2a5f2e1","score":"0.66331625","text":"public final void rule__ExprSwitchStmt__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGo.g:7285:1: ( ( 'switch' ) )\n // InternalGo.g:7286:1: ( 'switch' )\n {\n // InternalGo.g:7286:1: ( 'switch' )\n // InternalGo.g:7287:2: 'switch'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getExprSwitchStmtAccess().getSwitchKeyword_0()); \n }\n match(input,85,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getExprSwitchStmtAccess().getSwitchKeyword_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":"30dea38941a2d2d5c3d6660e0b22c25e","score":"0.6599696","text":"public final void rule__SwitchCase__Group_0__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6821:1: ( ( ( rule__SwitchCase__ThenAssignment_0_3 ) ) )\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6822:1: ( ( rule__SwitchCase__ThenAssignment_0_3 ) )\n {\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6822:1: ( ( rule__SwitchCase__ThenAssignment_0_3 ) )\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6823:1: ( rule__SwitchCase__ThenAssignment_0_3 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getSwitchCaseAccess().getThenAssignment_0_3()); \n }\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6824:1: ( rule__SwitchCase__ThenAssignment_0_3 )\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6824:2: rule__SwitchCase__ThenAssignment_0_3\n {\n pushFollow(FOLLOW_rule__SwitchCase__ThenAssignment_0_3_in_rule__SwitchCase__Group_0__3__Impl13917);\n rule__SwitchCase__ThenAssignment_0_3();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getSwitchCaseAccess().getThenAssignment_0_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":"6cb6d44236013488eaada05370c04798","score":"0.65867233","text":"public final void rule__XSwitchExpression__Group__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10041:1: ( ( ( rule__XSwitchExpression__Alternatives_2 ) ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10042:1: ( ( rule__XSwitchExpression__Alternatives_2 ) )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10042:1: ( ( rule__XSwitchExpression__Alternatives_2 ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10043:1: ( rule__XSwitchExpression__Alternatives_2 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getAlternatives_2()); \n }\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10044:1: ( rule__XSwitchExpression__Alternatives_2 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10044:2: rule__XSwitchExpression__Alternatives_2\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Alternatives_2_in_rule__XSwitchExpression__Group__2__Impl20474);\n rule__XSwitchExpression__Alternatives_2();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getAlternatives_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":"c79de83c4e0a78620a7859e68e13b95a","score":"0.6571721","text":"public final void rule__XSwitchExpression__Group_2_0_0_0__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10329:1: ( ( ':' ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10330:1: ( ':' )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10330:1: ( ':' )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10331:1: ':'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_0_0_0_1()); \n }\n match(input,49,FOLLOW_49_in_rule__XSwitchExpression__Group_2_0_0_0__1__Impl21046); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_0_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":"6c92ebd30196234e73bc9e4bb0cdb2bb","score":"0.6568576","text":"public final void rule__SwitchCase__Group_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6735:1: ( ( RULE_CASE ) )\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6736:1: ( RULE_CASE )\n {\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6736:1: ( RULE_CASE )\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6737:1: RULE_CASE\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getSwitchCaseAccess().getCASETerminalRuleCall_0_0()); \n }\n match(input,RULE_CASE,FOLLOW_RULE_CASE_in_rule__SwitchCase__Group_0__0__Impl13742); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getSwitchCaseAccess().getCASETerminalRuleCall_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":"fd86f7de45e2f1bdc74de717fbf3de20","score":"0.65363044","text":"public final void rule__TypeSwitchGuard__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGo.g:7933:1: ( ( '(' ) )\n // InternalGo.g:7934:1: ( '(' )\n {\n // InternalGo.g:7934:1: ( '(' )\n // InternalGo.g:7935:2: '('\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getTypeSwitchGuardAccess().getLeftParenthesisKeyword_3()); \n }\n match(input,66,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getTypeSwitchGuardAccess().getLeftParenthesisKeyword_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":"7a284d81a47c6fea0de69ad87cf18186","score":"0.6482509","text":"public final void ruleexprSwitchStmt() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGo.g:1067:2: ( ( ( rule__ExprSwitchStmt__Group__0 ) ) )\n // InternalGo.g:1068:2: ( ( rule__ExprSwitchStmt__Group__0 ) )\n {\n // InternalGo.g:1068:2: ( ( rule__ExprSwitchStmt__Group__0 ) )\n // InternalGo.g:1069:3: ( rule__ExprSwitchStmt__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getExprSwitchStmtAccess().getGroup()); \n }\n // InternalGo.g:1070:3: ( rule__ExprSwitchStmt__Group__0 )\n // InternalGo.g:1070:4: rule__ExprSwitchStmt__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__ExprSwitchStmt__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getExprSwitchStmtAccess().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":"7290104ea7fe02518398a1bc30f35874","score":"0.64767593","text":"public final void rule__ExprSwitchStmt__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGo.g:7312:1: ( ( ( rule__ExprSwitchStmt__Group_1__0 )? ) )\n // InternalGo.g:7313:1: ( ( rule__ExprSwitchStmt__Group_1__0 )? )\n {\n // InternalGo.g:7313:1: ( ( rule__ExprSwitchStmt__Group_1__0 )? )\n // InternalGo.g:7314:2: ( rule__ExprSwitchStmt__Group_1__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getExprSwitchStmtAccess().getGroup_1()); \n }\n // InternalGo.g:7315:2: ( rule__ExprSwitchStmt__Group_1__0 )?\n int alt76=2;\n alt76 = dfa76.predict(input);\n switch (alt76) {\n case 1 :\n // InternalGo.g:7315:3: rule__ExprSwitchStmt__Group_1__0\n {\n pushFollow(FOLLOW_2);\n rule__ExprSwitchStmt__Group_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.getExprSwitchStmtAccess().getGroup_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":"bc3f75587246b8b49104d509c33aa76b","score":"0.6468505","text":"public final void rule__XIfExpression__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:7845:1: ( rule__XIfExpression__Group__2__Impl rule__XIfExpression__Group__3 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:7846:2: rule__XIfExpression__Group__2__Impl rule__XIfExpression__Group__3\n {\n pushFollow(FOLLOW_rule__XIfExpression__Group__2__Impl_in_rule__XIfExpression__Group__216059);\n rule__XIfExpression__Group__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XIfExpression__Group__3_in_rule__XIfExpression__Group__216062);\n rule__XIfExpression__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":"6b92a625e2570b090129f44b626c8a7a","score":"0.64606583","text":"public final void rule__XSwitchExpression__Group__5() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10125:1: ( rule__XSwitchExpression__Group__5__Impl rule__XSwitchExpression__Group__6 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10126:2: rule__XSwitchExpression__Group__5__Impl rule__XSwitchExpression__Group__6\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__5__Impl_in_rule__XSwitchExpression__Group__520643);\n rule__XSwitchExpression__Group__5__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__6_in_rule__XSwitchExpression__Group__520646);\n rule__XSwitchExpression__Group__6();\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":"6edeb427f400c63c502d44951041eb8f","score":"0.6452814","text":"public final void rule__XSwitchExpression__Group_2_1_0_0__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10547:1: ( ( ':' ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10548:1: ( ':' )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10548:1: ( ':' )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10549:1: ':'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_1_0_0_2()); \n }\n match(input,49,FOLLOW_49_in_rule__XSwitchExpression__Group_2_1_0_0__2__Impl21475); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_1_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":"5eed09cb02cef39472c0a5f5a34011ff","score":"0.64506006","text":"public final void rule__ExprSwitchStmt__Group_1__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGo.g:7473:1: ( ( ruleeos ) )\n // InternalGo.g:7474:1: ( ruleeos )\n {\n // InternalGo.g:7474:1: ( ruleeos )\n // InternalGo.g:7475:2: ruleeos\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getExprSwitchStmtAccess().getEosParserRuleCall_1_1()); \n }\n pushFollow(FOLLOW_2);\n ruleeos();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getExprSwitchStmtAccess().getEosParserRuleCall_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":"10774283800ef9f1f607db7d3122c430","score":"0.6445002","text":"public final void rule__XIfExpression__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:7876:1: ( rule__XIfExpression__Group__3__Impl rule__XIfExpression__Group__4 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:7877:2: rule__XIfExpression__Group__3__Impl rule__XIfExpression__Group__4\n {\n pushFollow(FOLLOW_rule__XIfExpression__Group__3__Impl_in_rule__XIfExpression__Group__316121);\n rule__XIfExpression__Group__3__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XIfExpression__Group__4_in_rule__XIfExpression__Group__316124);\n rule__XIfExpression__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":"ac106c02c1723251e0cf32d35fafcb00","score":"0.64443696","text":"public final void rule__XSwitchExpression__Group_5__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10603:1: ( rule__XSwitchExpression__Group_5__1__Impl rule__XSwitchExpression__Group_5__2 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10604:2: rule__XSwitchExpression__Group_5__1__Impl rule__XSwitchExpression__Group_5__2\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_5__1__Impl_in_rule__XSwitchExpression__Group_5__121574);\n rule__XSwitchExpression__Group_5__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_5__2_in_rule__XSwitchExpression__Group_5__121577);\n rule__XSwitchExpression__Group_5__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":"9d7fca4a46978cb7edf733ee735eff80","score":"0.6426161","text":"public final void rule__SwitchCase__Group_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6752:1: ( rule__SwitchCase__Group_0__1__Impl rule__SwitchCase__Group_0__2 )\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6753:2: rule__SwitchCase__Group_0__1__Impl rule__SwitchCase__Group_0__2\n {\n pushFollow(FOLLOW_rule__SwitchCase__Group_0__1__Impl_in_rule__SwitchCase__Group_0__113771);\n rule__SwitchCase__Group_0__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__SwitchCase__Group_0__2_in_rule__SwitchCase__Group_0__113774);\n rule__SwitchCase__Group_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":"f446c835e540f9c8d42cbcc90f735d65","score":"0.6421064","text":"public final void rule__XSwitchExpression__Group__5__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10137:1: ( ( ( rule__XSwitchExpression__Group_5__0 )? ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10138:1: ( ( rule__XSwitchExpression__Group_5__0 )? )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10138:1: ( ( rule__XSwitchExpression__Group_5__0 )? )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10139:1: ( rule__XSwitchExpression__Group_5__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_5()); \n }\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10140:1: ( rule__XSwitchExpression__Group_5__0 )?\n int alt76=2;\n int LA76_0 = input.LA(1);\n\n if ( (LA76_0==64) ) {\n alt76=1;\n }\n switch (alt76) {\n case 1 :\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10140:2: rule__XSwitchExpression__Group_5__0\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_5__0_in_rule__XSwitchExpression__Group__5__Impl20673);\n rule__XSwitchExpression__Group_5__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.getXSwitchExpressionAccess().getGroup_5()); \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":"b27987da7e4f5926f5a109f1cdf4dc5d","score":"0.63998353","text":"public final void rule__ExprSwitchStmt__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGo.g:7273:1: ( rule__ExprSwitchStmt__Group__0__Impl rule__ExprSwitchStmt__Group__1 )\n // InternalGo.g:7274:2: rule__ExprSwitchStmt__Group__0__Impl rule__ExprSwitchStmt__Group__1\n {\n pushFollow(FOLLOW_31);\n rule__ExprSwitchStmt__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__ExprSwitchStmt__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":"52ba0a4460c73aafbfbc9c15fca3a565","score":"0.6384549","text":"public final void rule__TypeSwitchStmt__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGo.g:7636:1: ( ( 'switch' ) )\n // InternalGo.g:7637:1: ( 'switch' )\n {\n // InternalGo.g:7637:1: ( 'switch' )\n // InternalGo.g:7638:2: 'switch'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getTypeSwitchStmtAccess().getSwitchKeyword_0()); \n }\n match(input,85,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getTypeSwitchStmtAccess().getSwitchKeyword_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":"3b2750cd75a8306543eb7eb062766219","score":"0.6378093","text":"public final void rule__Statement__Group_9__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6513:1: ( ( RULE_SWITCH ) )\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6514:1: ( RULE_SWITCH )\n {\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6514:1: ( RULE_SWITCH )\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6515:1: RULE_SWITCH\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getStatementAccess().getSWITCHTerminalRuleCall_9_1()); \n }\n match(input,RULE_SWITCH,FOLLOW_RULE_SWITCH_in_rule__Statement__Group_9__1__Impl13308); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getStatementAccess().getSWITCHTerminalRuleCall_9_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":"6d6cd30b2ded3601f8225c8c0f5fb3d2","score":"0.6362601","text":"public final void rule__XSwitchExpression__Alternatives_2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:2619:1: ( ( ( rule__XSwitchExpression__Group_2_0__0 ) ) | ( ( rule__XSwitchExpression__Group_2_1__0 ) ) )\n int alt19=2;\n int LA19_0 = input.LA(1);\n\n if ( ((LA19_0>=RULE_ID && LA19_0<=RULE_STRING)||LA19_0==22||(LA19_0>=29 && LA19_0<=30)||LA19_0==35||(LA19_0>=38 && LA19_0<=43)||LA19_0==51||LA19_0==54||(LA19_0>=56 && LA19_0<=57)||(LA19_0>=62 && LA19_0<=64)||(LA19_0>=66 && LA19_0<=71)||LA19_0==80) ) {\n alt19=1;\n }\n else if ( (LA19_0==53) ) {\n int LA19_2 = input.LA(2);\n\n if ( (LA19_2==RULE_ID) ) {\n int LA19_3 = input.LA(3);\n\n if ( (LA19_3==59) ) {\n alt19=2;\n }\n else if ( ((LA19_3>=13 && LA19_3<=34)||LA19_3==36||(LA19_3>=46 && LA19_3<=47)||LA19_3==49||LA19_3==51||LA19_3==53||LA19_3==65||(LA19_3>=76 && LA19_3<=77)) ) {\n alt19=1;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 19, 3, input);\n\n throw nvae;\n }\n }\n else if ( ((LA19_2>=RULE_HEX && LA19_2<=RULE_STRING)||LA19_2==22||(LA19_2>=29 && LA19_2<=30)||LA19_2==35||(LA19_2>=38 && LA19_2<=43)||LA19_2==51||(LA19_2>=53 && LA19_2<=54)||(LA19_2>=56 && LA19_2<=57)||(LA19_2>=62 && LA19_2<=64)||(LA19_2>=66 && LA19_2<=71)||LA19_2==80) ) {\n alt19=1;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 19, 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(\"\", 19, 0, input);\n\n throw nvae;\n }\n switch (alt19) {\n case 1 :\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:2620:1: ( ( rule__XSwitchExpression__Group_2_0__0 ) )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:2620:1: ( ( rule__XSwitchExpression__Group_2_0__0 ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:2621:1: ( rule__XSwitchExpression__Group_2_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0()); \n }\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:2622:1: ( rule__XSwitchExpression__Group_2_0__0 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:2622:2: rule__XSwitchExpression__Group_2_0__0\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0__0_in_rule__XSwitchExpression__Alternatives_25659);\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.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:2626:6: ( ( rule__XSwitchExpression__Group_2_1__0 ) )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:2626:6: ( ( rule__XSwitchExpression__Group_2_1__0 ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:2627:1: ( rule__XSwitchExpression__Group_2_1__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1()); \n }\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:2628:1: ( rule__XSwitchExpression__Group_2_1__0 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:2628:2: rule__XSwitchExpression__Group_2_1__0\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__0_in_rule__XSwitchExpression__Alternatives_25677);\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":"cdeefa12732ed87b6753ff90d757649d","score":"0.635247","text":"public final void rule__XIfExpression__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9773:1: ( rule__XIfExpression__Group__3__Impl rule__XIfExpression__Group__4 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9774:2: rule__XIfExpression__Group__3__Impl rule__XIfExpression__Group__4\n {\n pushFollow(FOLLOW_rule__XIfExpression__Group__3__Impl_in_rule__XIfExpression__Group__319942);\n rule__XIfExpression__Group__3__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XIfExpression__Group__4_in_rule__XIfExpression__Group__319945);\n rule__XIfExpression__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":"15f03ec23eb44884e23684a2377dff6a","score":"0.63407874","text":"public final void rule__XIfExpression__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9742:1: ( rule__XIfExpression__Group__2__Impl rule__XIfExpression__Group__3 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9743:2: rule__XIfExpression__Group__2__Impl rule__XIfExpression__Group__3\n {\n pushFollow(FOLLOW_rule__XIfExpression__Group__2__Impl_in_rule__XIfExpression__Group__219880);\n rule__XIfExpression__Group__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XIfExpression__Group__3_in_rule__XIfExpression__Group__219883);\n rule__XIfExpression__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":"90b67d2bf572b297acfb3ca698c2d184","score":"0.6308206","text":"public final void rule__SwitchCase__Group_1__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6904:1: ( rule__SwitchCase__Group_1__2__Impl )\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6905:2: rule__SwitchCase__Group_1__2__Impl\n {\n pushFollow(FOLLOW_rule__SwitchCase__Group_1__2__Impl_in_rule__SwitchCase__Group_1__214073);\n rule__SwitchCase__Group_1__2__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":""}],"string":"[\n {\n \"docid\": \"1db083798dacc22f2c025ff68ef13d30\",\n \"score\": \"0.79777443\",\n \"text\": \"public final void rule__XSwitchExpression__Group__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8132:1: ( rule__XSwitchExpression__Group__2__Impl rule__XSwitchExpression__Group__3 )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8133:2: rule__XSwitchExpression__Group__2__Impl rule__XSwitchExpression__Group__3\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__2__Impl_in_rule__XSwitchExpression__Group__216623);\\n rule__XSwitchExpression__Group__2__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__3_in_rule__XSwitchExpression__Group__216626);\\n rule__XSwitchExpression__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"455cb1ddd9ae3b65ee3ed9e4763b195a\",\n \"score\": \"0.7780476\",\n \"text\": \"public final void rule__XSwitchExpression__Group__3() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10058:1: ( rule__XSwitchExpression__Group__3__Impl rule__XSwitchExpression__Group__4 )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10059:2: rule__XSwitchExpression__Group__3__Impl rule__XSwitchExpression__Group__4\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__3__Impl_in_rule__XSwitchExpression__Group__320504);\\n rule__XSwitchExpression__Group__3__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__4_in_rule__XSwitchExpression__Group__320507);\\n rule__XSwitchExpression__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0dac3e49a86acc014816c8f83539d0b3\",\n \"score\": \"0.7645933\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_1_0__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8560:1: ( ( ( rule__XSwitchExpression__Group_2_1_0_0__0 ) ) )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8561:1: ( ( rule__XSwitchExpression__Group_2_1_0_0__0 ) )\\n {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8561:1: ( ( rule__XSwitchExpression__Group_2_1_0_0__0 ) )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8562:1: ( rule__XSwitchExpression__Group_2_1_0_0__0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0_0()); \\n }\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8563:1: ( rule__XSwitchExpression__Group_2_1_0_0__0 )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8563:2: rule__XSwitchExpression__Group_2_1_0_0__0\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__0_in_rule__XSwitchExpression__Group_2_1_0__0__Impl17472);\\n rule__XSwitchExpression__Group_2_1_0_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_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\": \"e60d2204fd7439388bd90570c7bfb831\",\n \"score\": \"0.76284957\",\n \"text\": \"public final void rule__XSwitchExpression__Group__1__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8113:1: ( ( 'switch' ) )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8114:1: ( 'switch' )\\n {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8114:1: ( 'switch' )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8115:1: 'switch'\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getSwitchKeyword_1()); \\n }\\n match(input,56,FOLLOW_56_in_rule__XSwitchExpression__Group__1__Impl16592); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getXSwitchExpressionAccess().getSwitchKeyword_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"08a0695edb11c1bae8171ffe93584409\",\n \"score\": \"0.76181006\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_0_0__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8373:1: ( ( ( rule__XSwitchExpression__Group_2_0_0_0__0 ) ) )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8374:1: ( ( rule__XSwitchExpression__Group_2_0_0_0__0 ) )\\n {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8374:1: ( ( rule__XSwitchExpression__Group_2_0_0_0__0 ) )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8375:1: ( rule__XSwitchExpression__Group_2_0_0_0__0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0_0()); \\n }\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8376:1: ( rule__XSwitchExpression__Group_2_0_0_0__0 )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8376:2: rule__XSwitchExpression__Group_2_0_0_0__0\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0_0__0_in_rule__XSwitchExpression__Group_2_0_0__0__Impl17105);\\n rule__XSwitchExpression__Group_2_0_0_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_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\": \"435172dfad0cb30f926f5981682437c8\",\n \"score\": \"0.76054484\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_0__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8313:1: ( ( ( rule__XSwitchExpression__Group_2_0_0__0 )? ) )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8314:1: ( ( rule__XSwitchExpression__Group_2_0_0__0 )? )\\n {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8314:1: ( ( rule__XSwitchExpression__Group_2_0_0__0 )? )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8315:1: ( rule__XSwitchExpression__Group_2_0_0__0 )?\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0()); \\n }\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8316:1: ( rule__XSwitchExpression__Group_2_0_0__0 )?\\n int alt64=2;\\n int LA64_0 = input.LA(1);\\n\\n if ( (LA64_0==RULE_ID) ) {\\n int LA64_1 = input.LA(2);\\n\\n if ( (LA64_1==59) ) {\\n alt64=1;\\n }\\n }\\n switch (alt64) {\\n case 1 :\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8316:2: rule__XSwitchExpression__Group_2_0_0__0\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0__0_in_rule__XSwitchExpression__Group_2_0__0__Impl16986);\\n rule__XSwitchExpression__Group_2_0_0__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.getXSwitchExpressionAccess().getGroup_2_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\": \"1f488a9d6bd4e08da9b5b2b2fb41eb12\",\n \"score\": \"0.7584204\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_1__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8467:1: ( ( ( rule__XSwitchExpression__Group_2_1_0__0 ) ) )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8468:1: ( ( rule__XSwitchExpression__Group_2_1_0__0 ) )\\n {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8468:1: ( ( rule__XSwitchExpression__Group_2_1_0__0 ) )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8469:1: ( rule__XSwitchExpression__Group_2_1_0__0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0()); \\n }\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8470:1: ( rule__XSwitchExpression__Group_2_1_0__0 )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8470:2: rule__XSwitchExpression__Group_2_1_0__0\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0__0_in_rule__XSwitchExpression__Group_2_1__0__Impl17290);\\n rule__XSwitchExpression__Group_2_1_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_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\": \"cf9a18dba7a8266a2b95359d1823b658\",\n \"score\": \"0.75136983\",\n \"text\": \"public final void ruleXSwitchExpression() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:950:2: ( ( ( rule__XSwitchExpression__Group__0 ) ) )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:951:1: ( ( rule__XSwitchExpression__Group__0 ) )\\n {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:951:1: ( ( rule__XSwitchExpression__Group__0 ) )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:952:1: ( rule__XSwitchExpression__Group__0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getGroup()); \\n }\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:953:1: ( rule__XSwitchExpression__Group__0 )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:953:2: rule__XSwitchExpression__Group__0\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__0_in_ruleXSwitchExpression1967);\\n rule__XSwitchExpression__Group__0();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getXSwitchExpressionAccess().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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c3116b1121a578ad47fd502d6d48e457\",\n \"score\": \"0.75058156\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_0_0_0__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8421:1: ( rule__XSwitchExpression__Group_2_0_0_0__1__Impl )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8422:2: rule__XSwitchExpression__Group_2_0_0_0__1__Impl\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0_0__1__Impl_in_rule__XSwitchExpression__Group_2_0_0_0__117197);\\n rule__XSwitchExpression__Group_2_0_0_0__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75e11b8da6dd1eb3d96772e66acd0b58\",\n \"score\": \"0.7499155\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_0__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8330:1: ( rule__XSwitchExpression__Group_2_0__1__Impl )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8331:2: rule__XSwitchExpression__Group_2_0__1__Impl\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0__1__Impl_in_rule__XSwitchExpression__Group_2_0__117017);\\n rule__XSwitchExpression__Group_2_0__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7d85643d578495334ba03be730244b2d\",\n \"score\": \"0.748703\",\n \"text\": \"public final void rule__XSwitchExpression__Group__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10029:1: ( rule__XSwitchExpression__Group__2__Impl rule__XSwitchExpression__Group__3 )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10030:2: rule__XSwitchExpression__Group__2__Impl rule__XSwitchExpression__Group__3\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__2__Impl_in_rule__XSwitchExpression__Group__220444);\\n rule__XSwitchExpression__Group__2__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__3_in_rule__XSwitchExpression__Group__220447);\\n rule__XSwitchExpression__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"08ae0c48338ab8b0f2607f70f13b5c8a\",\n \"score\": \"0.7473362\",\n \"text\": \"public final void rule__XSwitchExpression__Group__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8101:1: ( rule__XSwitchExpression__Group__1__Impl rule__XSwitchExpression__Group__2 )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8102:2: rule__XSwitchExpression__Group__1__Impl rule__XSwitchExpression__Group__2\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__1__Impl_in_rule__XSwitchExpression__Group__116561);\\n rule__XSwitchExpression__Group__1__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__2_in_rule__XSwitchExpression__Group__116564);\\n rule__XSwitchExpression__Group__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"182003120ac9ebd49a927e31b3d38ec3\",\n \"score\": \"0.74272895\",\n \"text\": \"public final void rule__XSwitchExpression__Group__6() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8257:1: ( rule__XSwitchExpression__Group__6__Impl )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8258:2: rule__XSwitchExpression__Group__6__Impl\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__6__Impl_in_rule__XSwitchExpression__Group__616883);\\n rule__XSwitchExpression__Group__6__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f4075bc342833a50b0746d0c6ab910d\",\n \"score\": \"0.7401459\",\n \"text\": \"public final void rule__XSwitchExpression__Group__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8082:1: ( ( () ) )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8083:1: ( () )\\n {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8083:1: ( () )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8084:1: ()\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getXSwitchExpressionAction_0()); \\n }\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8085:1: ()\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8087:1: \\n {\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getXSwitchExpressionAccess().getXSwitchExpressionAction_0()); \\n }\\n\\n }\\n\\n\\n }\\n\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f77cf7c9c10eeaab501fe1bf1716dea9\",\n \"score\": \"0.73847014\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_1_0__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8549:1: ( rule__XSwitchExpression__Group_2_1_0__0__Impl )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8550:2: rule__XSwitchExpression__Group_2_1_0__0__Impl\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0__0__Impl_in_rule__XSwitchExpression__Group_2_1_0__017445);\\n rule__XSwitchExpression__Group_2_1_0__0__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e1118e349445b84cef15d6245f874dd\",\n \"score\": \"0.7382622\",\n \"text\": \"public final void rule__XSwitchExpression__Group__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8070:1: ( rule__XSwitchExpression__Group__0__Impl rule__XSwitchExpression__Group__1 )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8071:2: rule__XSwitchExpression__Group__0__Impl rule__XSwitchExpression__Group__1\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__0__Impl_in_rule__XSwitchExpression__Group__016500);\\n rule__XSwitchExpression__Group__0__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__1_in_rule__XSwitchExpression__Group__016503);\\n rule__XSwitchExpression__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"90b56b527178ce6907f834f4597dd885\",\n \"score\": \"0.7372907\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_1__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8455:1: ( rule__XSwitchExpression__Group_2_1__0__Impl rule__XSwitchExpression__Group_2_1__1 )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8456:2: rule__XSwitchExpression__Group_2_1__0__Impl rule__XSwitchExpression__Group_2_1__1\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__0__Impl_in_rule__XSwitchExpression__Group_2_1__017260);\\n rule__XSwitchExpression__Group_2_1__0__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__1_in_rule__XSwitchExpression__Group_2_1__017263);\\n rule__XSwitchExpression__Group_2_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"88643bd2441db3d41546d138fc4ef5dd\",\n \"score\": \"0.7363507\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_1_0_0__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8591:1: ( ( '(' ) )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8592:1: ( '(' )\\n {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8592:1: ( '(' )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8593:1: '('\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getLeftParenthesisKeyword_2_1_0_0_0()); \\n }\\n match(input,53,FOLLOW_53_in_rule__XSwitchExpression__Group_2_1_0_0__0__Impl17535); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getXSwitchExpressionAccess().getLeftParenthesisKeyword_2_1_0_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\": \"425b5c407c2951d4e6e5a8d6c7dfdb1f\",\n \"score\": \"0.73600847\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_0_0__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8362:1: ( rule__XSwitchExpression__Group_2_0_0__0__Impl )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8363:2: rule__XSwitchExpression__Group_2_0_0__0__Impl\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0__0__Impl_in_rule__XSwitchExpression__Group_2_0_0__017078);\\n rule__XSwitchExpression__Group_2_0_0__0__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e65104187cbfe23964de2422437f28d7\",\n \"score\": \"0.73483753\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_1_0_0__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8610:1: ( rule__XSwitchExpression__Group_2_1_0_0__1__Impl rule__XSwitchExpression__Group_2_1_0_0__2 )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8611:2: rule__XSwitchExpression__Group_2_1_0_0__1__Impl rule__XSwitchExpression__Group_2_1_0_0__2\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__1__Impl_in_rule__XSwitchExpression__Group_2_1_0_0__117566);\\n rule__XSwitchExpression__Group_2_1_0_0__1__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__2_in_rule__XSwitchExpression__Group_2_1_0_0__117569);\\n rule__XSwitchExpression__Group_2_1_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"145a04e23650de903470f199a3b18aa2\",\n \"score\": \"0.7338935\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_1__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8484:1: ( rule__XSwitchExpression__Group_2_1__1__Impl rule__XSwitchExpression__Group_2_1__2 )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8485:2: rule__XSwitchExpression__Group_2_1__1__Impl rule__XSwitchExpression__Group_2_1__2\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__1__Impl_in_rule__XSwitchExpression__Group_2_1__117320);\\n rule__XSwitchExpression__Group_2_1__1__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__2_in_rule__XSwitchExpression__Group_2_1__117323);\\n rule__XSwitchExpression__Group_2_1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae0f48f4b9c90fa4d2201d1cd8ffd22d\",\n \"score\": \"0.73332864\",\n \"text\": \"public final void rule__XSwitchExpression__Group__1__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10010:1: ( ( 'switch' ) )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10011:1: ( 'switch' )\\n {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10011:1: ( 'switch' )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10012:1: 'switch'\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getSwitchKeyword_1()); \\n }\\n match(input,63,FOLLOW_63_in_rule__XSwitchExpression__Group__1__Impl20413); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getXSwitchExpressionAccess().getSwitchKeyword_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d01073b4276f328cfc9bac92534bf8d2\",\n \"score\": \"0.7333138\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_1_0_0__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8579:1: ( rule__XSwitchExpression__Group_2_1_0_0__0__Impl rule__XSwitchExpression__Group_2_1_0_0__1 )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8580:2: rule__XSwitchExpression__Group_2_1_0_0__0__Impl rule__XSwitchExpression__Group_2_1_0_0__1\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__0__Impl_in_rule__XSwitchExpression__Group_2_1_0_0__017504);\\n rule__XSwitchExpression__Group_2_1_0_0__0__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__1_in_rule__XSwitchExpression__Group_2_1_0_0__017507);\\n rule__XSwitchExpression__Group_2_1_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b05cbc16ba19abdcf299419c6d015efd\",\n \"score\": \"0.73314935\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_0__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8301:1: ( rule__XSwitchExpression__Group_2_0__0__Impl rule__XSwitchExpression__Group_2_0__1 )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8302:2: rule__XSwitchExpression__Group_2_0__0__Impl rule__XSwitchExpression__Group_2_0__1\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0__0__Impl_in_rule__XSwitchExpression__Group_2_0__016956);\\n rule__XSwitchExpression__Group_2_0__0__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0__1_in_rule__XSwitchExpression__Group_2_0__016959);\\n rule__XSwitchExpression__Group_2_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d3953f28f2ad9552dc50abf821c2d65f\",\n \"score\": \"0.7325332\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_1_0_0__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8639:1: ( rule__XSwitchExpression__Group_2_1_0_0__2__Impl )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8640:2: rule__XSwitchExpression__Group_2_1_0_0__2__Impl\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__2__Impl_in_rule__XSwitchExpression__Group_2_1_0_0__217626);\\n rule__XSwitchExpression__Group_2_1_0_0__2__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"79f320b0eeb68b731dd9e16df05b93df\",\n \"score\": \"0.7307192\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_0_0_0__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8392:1: ( rule__XSwitchExpression__Group_2_0_0_0__0__Impl rule__XSwitchExpression__Group_2_0_0_0__1 )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8393:2: rule__XSwitchExpression__Group_2_0_0_0__0__Impl rule__XSwitchExpression__Group_2_0_0_0__1\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0_0__0__Impl_in_rule__XSwitchExpression__Group_2_0_0_0__017137);\\n rule__XSwitchExpression__Group_2_0_0_0__0__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0_0__1_in_rule__XSwitchExpression__Group_2_0_0_0__017140);\\n rule__XSwitchExpression__Group_2_0_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f95d1235d3c63a3d8995c6d565bc5b69\",\n \"score\": \"0.7274671\",\n \"text\": \"public final void rule__XSwitchExpression__Group__6__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8268:1: ( ( '}' ) )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8269:1: ( '}' )\\n {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8269:1: ( '}' )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8270:1: '}'\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getRightCurlyBracketKeyword_6()); \\n }\\n match(input,58,FOLLOW_58_in_rule__XSwitchExpression__Group__6__Impl16911); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getXSwitchExpressionAccess().getRightCurlyBracketKeyword_6()); \\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\": \"fcf3c74766b73bc870144e29a51ea8d6\",\n \"score\": \"0.72545266\",\n \"text\": \"public final void ruleXSwitchExpression() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:1258:2: ( ( ( rule__XSwitchExpression__Group__0 ) ) )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:1259:1: ( ( rule__XSwitchExpression__Group__0 ) )\\n {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:1259:1: ( ( rule__XSwitchExpression__Group__0 ) )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:1260:1: ( rule__XSwitchExpression__Group__0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getGroup()); \\n }\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:1261:1: ( rule__XSwitchExpression__Group__0 )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:1261:2: rule__XSwitchExpression__Group__0\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__0_in_ruleXSwitchExpression2627);\\n rule__XSwitchExpression__Group__0();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getXSwitchExpressionAccess().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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5004d7c6755cbe70dc03e8ee76bf8a33\",\n \"score\": \"0.7248756\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_1_0__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10457:1: ( ( ( rule__XSwitchExpression__Group_2_1_0_0__0 ) ) )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10458:1: ( ( rule__XSwitchExpression__Group_2_1_0_0__0 ) )\\n {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10458:1: ( ( rule__XSwitchExpression__Group_2_1_0_0__0 ) )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10459:1: ( rule__XSwitchExpression__Group_2_1_0_0__0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0_0()); \\n }\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10460:1: ( rule__XSwitchExpression__Group_2_1_0_0__0 )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10460:2: rule__XSwitchExpression__Group_2_1_0_0__0\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__0_in_rule__XSwitchExpression__Group_2_1_0__0__Impl21293);\\n rule__XSwitchExpression__Group_2_1_0_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_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\": \"3ea2757cf967e735dea51763690d18da\",\n \"score\": \"0.7243389\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_1__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8513:1: ( rule__XSwitchExpression__Group_2_1__2__Impl )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8514:2: rule__XSwitchExpression__Group_2_1__2__Impl\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__2__Impl_in_rule__XSwitchExpression__Group_2_1__217380);\\n rule__XSwitchExpression__Group_2_1__2__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"133e45c4a628faa0e39d68456561f873\",\n \"score\": \"0.7228828\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_1__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10364:1: ( ( ( rule__XSwitchExpression__Group_2_1_0__0 ) ) )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10365:1: ( ( rule__XSwitchExpression__Group_2_1_0__0 ) )\\n {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10365:1: ( ( rule__XSwitchExpression__Group_2_1_0__0 ) )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10366:1: ( rule__XSwitchExpression__Group_2_1_0__0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0()); \\n }\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10367:1: ( rule__XSwitchExpression__Group_2_1_0__0 )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10367:2: rule__XSwitchExpression__Group_2_1_0__0\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0__0_in_rule__XSwitchExpression__Group_2_1__0__Impl21111);\\n rule__XSwitchExpression__Group_2_1_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_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\": \"47f633337a850793686fa3e4d1e068e3\",\n \"score\": \"0.72034764\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_0_0__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10270:1: ( ( ( rule__XSwitchExpression__Group_2_0_0_0__0 ) ) )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10271:1: ( ( rule__XSwitchExpression__Group_2_0_0_0__0 ) )\\n {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10271:1: ( ( rule__XSwitchExpression__Group_2_0_0_0__0 ) )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10272:1: ( rule__XSwitchExpression__Group_2_0_0_0__0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0_0()); \\n }\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10273:1: ( rule__XSwitchExpression__Group_2_0_0_0__0 )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10273:2: rule__XSwitchExpression__Group_2_0_0_0__0\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0_0__0_in_rule__XSwitchExpression__Group_2_0_0__0__Impl20926);\\n rule__XSwitchExpression__Group_2_0_0_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_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\": \"39c0ea632ceea57c372f42fc45c5d51b\",\n \"score\": \"0.71887624\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_0__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10210:1: ( ( ( rule__XSwitchExpression__Group_2_0_0__0 )? ) )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10211:1: ( ( rule__XSwitchExpression__Group_2_0_0__0 )? )\\n {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10211:1: ( ( rule__XSwitchExpression__Group_2_0_0__0 )? )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10212:1: ( rule__XSwitchExpression__Group_2_0_0__0 )?\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0()); \\n }\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10213:1: ( rule__XSwitchExpression__Group_2_0_0__0 )?\\n int alt77=2;\\n int LA77_0 = input.LA(1);\\n\\n if ( (LA77_0==RULE_ID) ) {\\n int LA77_1 = input.LA(2);\\n\\n if ( (LA77_1==49) ) {\\n alt77=1;\\n }\\n }\\n switch (alt77) {\\n case 1 :\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10213:2: rule__XSwitchExpression__Group_2_0_0__0\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0__0_in_rule__XSwitchExpression__Group_2_0__0__Impl20807);\\n rule__XSwitchExpression__Group_2_0_0__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.getXSwitchExpressionAccess().getGroup_2_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\": \"e3a896a850ed058858bbb10a1bad7380\",\n \"score\": \"0.7167583\",\n \"text\": \"public final void rule__XSwitchExpression__Group__4() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8192:1: ( rule__XSwitchExpression__Group__4__Impl rule__XSwitchExpression__Group__5 )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8193:2: rule__XSwitchExpression__Group__4__Impl rule__XSwitchExpression__Group__5\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__4__Impl_in_rule__XSwitchExpression__Group__416745);\\n rule__XSwitchExpression__Group__4__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__5_in_rule__XSwitchExpression__Group__416748);\\n rule__XSwitchExpression__Group__5();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ddcebfb585768e08274c2cbaa1f493bc\",\n \"score\": \"0.7151496\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_1__2__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8524:1: ( ( ')' ) )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8525:1: ( ')' )\\n {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8525:1: ( ')' )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8526:1: ')'\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getRightParenthesisKeyword_2_1_2()); \\n }\\n match(input,49,FOLLOW_49_in_rule__XSwitchExpression__Group_2_1__2__Impl17408); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getXSwitchExpressionAccess().getRightParenthesisKeyword_2_1_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0c680f63d6385b10a041d98f22c64e86\",\n \"score\": \"0.7149234\",\n \"text\": \"public final void rule__ExprSwitchStmt__Group__3() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalGo.g:7354:1: ( rule__ExprSwitchStmt__Group__3__Impl rule__ExprSwitchStmt__Group__4 )\\n // InternalGo.g:7355:2: rule__ExprSwitchStmt__Group__3__Impl rule__ExprSwitchStmt__Group__4\\n {\\n pushFollow(FOLLOW_34);\\n rule__ExprSwitchStmt__Group__3__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_2);\\n rule__ExprSwitchStmt__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9e1a9b7ca68e179a02dd53a5979d34c2\",\n \"score\": \"0.7133329\",\n \"text\": \"public final void rule__XSwitchExpression__Group_5__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8737:1: ( rule__XSwitchExpression__Group_5__2__Impl )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8738:2: rule__XSwitchExpression__Group_5__2__Impl\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_5__2__Impl_in_rule__XSwitchExpression__Group_5__217815);\\n rule__XSwitchExpression__Group_5__2__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4d54bdccd958090a48fe583523593fd4\",\n \"score\": \"0.71284723\",\n \"text\": \"public final void rule__XSwitchExpression__Group__6() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10154:1: ( rule__XSwitchExpression__Group__6__Impl )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10155:2: rule__XSwitchExpression__Group__6__Impl\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__6__Impl_in_rule__XSwitchExpression__Group__620704);\\n rule__XSwitchExpression__Group__6__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"781d6c4a42ac4f58d9d8babbc2fd9dc4\",\n \"score\": \"0.71272224\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_0__1__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8341:1: ( ( ( rule__XSwitchExpression__SwitchAssignment_2_0_1 ) ) )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8342:1: ( ( rule__XSwitchExpression__SwitchAssignment_2_0_1 ) )\\n {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8342:1: ( ( rule__XSwitchExpression__SwitchAssignment_2_0_1 ) )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8343:1: ( rule__XSwitchExpression__SwitchAssignment_2_0_1 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_0_1()); \\n }\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8344:1: ( rule__XSwitchExpression__SwitchAssignment_2_0_1 )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8344:2: rule__XSwitchExpression__SwitchAssignment_2_0_1\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__SwitchAssignment_2_0_1_in_rule__XSwitchExpression__Group_2_0__1__Impl17044);\\n rule__XSwitchExpression__SwitchAssignment_2_0_1();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9347d51b80f3315c23c73530b84c4887\",\n \"score\": \"0.7091247\",\n \"text\": \"public final void rule__XSwitchExpression__Group__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9998:1: ( rule__XSwitchExpression__Group__1__Impl rule__XSwitchExpression__Group__2 )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9999:2: rule__XSwitchExpression__Group__1__Impl rule__XSwitchExpression__Group__2\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__1__Impl_in_rule__XSwitchExpression__Group__120382);\\n rule__XSwitchExpression__Group__1__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__2_in_rule__XSwitchExpression__Group__120385);\\n rule__XSwitchExpression__Group__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0ee60b3da879fbd1b6f3b90e7a5b7548\",\n \"score\": \"0.7075613\",\n \"text\": \"public final void rule__XSwitchExpression__Group__5__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8240:1: ( ( ( rule__XSwitchExpression__Group_5__0 )? ) )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8241:1: ( ( rule__XSwitchExpression__Group_5__0 )? )\\n {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8241:1: ( ( rule__XSwitchExpression__Group_5__0 )? )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8242:1: ( rule__XSwitchExpression__Group_5__0 )?\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_5()); \\n }\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8243:1: ( rule__XSwitchExpression__Group_5__0 )?\\n int alt63=2;\\n int LA63_0 = input.LA(1);\\n\\n if ( (LA63_0==60) ) {\\n alt63=1;\\n }\\n switch (alt63) {\\n case 1 :\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8243:2: rule__XSwitchExpression__Group_5__0\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_5__0_in_rule__XSwitchExpression__Group__5__Impl16852);\\n rule__XSwitchExpression__Group_5__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.getXSwitchExpressionAccess().getGroup_5()); \\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\": \"48526ec96d334dbedbdf90dcf3d40976\",\n \"score\": \"0.7063703\",\n \"text\": \"public final void rule__XSwitchExpression__Group__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9979:1: ( ( () ) )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9980:1: ( () )\\n {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9980:1: ( () )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9981:1: ()\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getXSwitchExpressionAction_0()); \\n }\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9982:1: ()\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9984:1: \\n {\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getXSwitchExpressionAccess().getXSwitchExpressionAction_0()); \\n }\\n\\n }\\n\\n\\n }\\n\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"403f63b0855d8a578e76c18b7489c97e\",\n \"score\": \"0.70618516\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_1_0_0__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10488:1: ( ( '(' ) )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10489:1: ( '(' )\\n {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10489:1: ( '(' )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10490:1: '('\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getLeftParenthesisKeyword_2_1_0_0_0()); \\n }\\n match(input,51,FOLLOW_51_in_rule__XSwitchExpression__Group_2_1_0_0__0__Impl21356); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getXSwitchExpressionAccess().getLeftParenthesisKeyword_2_1_0_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\": \"a583cd0b4fdc0b648636efd6c0b79b3c\",\n \"score\": \"0.7056894\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_0_0_0__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10318:1: ( rule__XSwitchExpression__Group_2_0_0_0__1__Impl )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10319:2: rule__XSwitchExpression__Group_2_0_0_0__1__Impl\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0_0__1__Impl_in_rule__XSwitchExpression__Group_2_0_0_0__121018);\\n rule__XSwitchExpression__Group_2_0_0_0__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3f47ff6f6801355c71564aace746c700\",\n \"score\": \"0.70563704\",\n \"text\": \"public final void rule__XSwitchExpression__Group__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9967:1: ( rule__XSwitchExpression__Group__0__Impl rule__XSwitchExpression__Group__1 )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9968:2: rule__XSwitchExpression__Group__0__Impl rule__XSwitchExpression__Group__1\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__0__Impl_in_rule__XSwitchExpression__Group__020321);\\n rule__XSwitchExpression__Group__0__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__1_in_rule__XSwitchExpression__Group__020324);\\n rule__XSwitchExpression__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47962ba7570297fd340dfafe74cd6fd8\",\n \"score\": \"0.70488435\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_0_0_0__1__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8432:1: ( ( ':' ) )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8433:1: ( ':' )\\n {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8433:1: ( ':' )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8434:1: ':'\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_0_0_0_1()); \\n }\\n match(input,59,FOLLOW_59_in_rule__XSwitchExpression__Group_2_0_0_0__1__Impl17225); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_0_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d7fb267fca38bdb521d14a7e9a0b30be\",\n \"score\": \"0.7043702\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_0__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10227:1: ( rule__XSwitchExpression__Group_2_0__1__Impl )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10228:2: rule__XSwitchExpression__Group_2_0__1__Impl\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0__1__Impl_in_rule__XSwitchExpression__Group_2_0__120838);\\n rule__XSwitchExpression__Group_2_0__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"62601b5ec773706e16ad276c6ba5dcf5\",\n \"score\": \"0.7033941\",\n \"text\": \"public final void rule__SwitchCase__Group_0__3() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6810:1: ( rule__SwitchCase__Group_0__3__Impl )\\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6811:2: rule__SwitchCase__Group_0__3__Impl\\n {\\n pushFollow(FOLLOW_rule__SwitchCase__Group_0__3__Impl_in_rule__SwitchCase__Group_0__313890);\\n rule__SwitchCase__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9227e9cc1108f26bb01ffc468bf2f7f3\",\n \"score\": \"0.70026654\",\n \"text\": \"public final void rule__XSwitchExpression__Group__6__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10165:1: ( ( '}' ) )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10166:1: ( '}' )\\n {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10166:1: ( '}' )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10167:1: '}'\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getRightCurlyBracketKeyword_6()); \\n }\\n match(input,55,FOLLOW_55_in_rule__XSwitchExpression__Group__6__Impl20732); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getXSwitchExpressionAccess().getRightCurlyBracketKeyword_6()); \\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\": \"89138d0cab60781f6f7fd3948f1b66ca\",\n \"score\": \"0.70010364\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_1__1__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8496:1: ( ( ( rule__XSwitchExpression__SwitchAssignment_2_1_1 ) ) )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8497:1: ( ( rule__XSwitchExpression__SwitchAssignment_2_1_1 ) )\\n {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8497:1: ( ( rule__XSwitchExpression__SwitchAssignment_2_1_1 ) )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8498:1: ( rule__XSwitchExpression__SwitchAssignment_2_1_1 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_1_1()); \\n }\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8499:1: ( rule__XSwitchExpression__SwitchAssignment_2_1_1 )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8499:2: rule__XSwitchExpression__SwitchAssignment_2_1_1\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__SwitchAssignment_2_1_1_in_rule__XSwitchExpression__Group_2_1__1__Impl17350);\\n rule__XSwitchExpression__SwitchAssignment_2_1_1();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2637f04f77303f5eb752ed6dd12315b4\",\n \"score\": \"0.6964674\",\n \"text\": \"public final void rule__XSwitchExpression__Group__5() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8228:1: ( rule__XSwitchExpression__Group__5__Impl rule__XSwitchExpression__Group__6 )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8229:2: rule__XSwitchExpression__Group__5__Impl rule__XSwitchExpression__Group__6\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__5__Impl_in_rule__XSwitchExpression__Group__516822);\\n rule__XSwitchExpression__Group__5__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__6_in_rule__XSwitchExpression__Group__516825);\\n rule__XSwitchExpression__Group__6();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8cffeb900f70dd6a316fc705957c9238\",\n \"score\": \"0.69503963\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_1__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10352:1: ( rule__XSwitchExpression__Group_2_1__0__Impl rule__XSwitchExpression__Group_2_1__1 )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10353:2: rule__XSwitchExpression__Group_2_1__0__Impl rule__XSwitchExpression__Group_2_1__1\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__0__Impl_in_rule__XSwitchExpression__Group_2_1__021081);\\n rule__XSwitchExpression__Group_2_1__0__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__1_in_rule__XSwitchExpression__Group_2_1__021084);\\n rule__XSwitchExpression__Group_2_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"99424e5b19984514cf8c2cff016a1730\",\n \"score\": \"0.69364107\",\n \"text\": \"public final void rule__XSwitchExpression__Group__4__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8204:1: ( ( ( ( rule__XSwitchExpression__CasesAssignment_4 ) ) ( ( rule__XSwitchExpression__CasesAssignment_4 )* ) ) )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8205:1: ( ( ( rule__XSwitchExpression__CasesAssignment_4 ) ) ( ( rule__XSwitchExpression__CasesAssignment_4 )* ) )\\n {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8205:1: ( ( ( rule__XSwitchExpression__CasesAssignment_4 ) ) ( ( rule__XSwitchExpression__CasesAssignment_4 )* ) )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8206:1: ( ( rule__XSwitchExpression__CasesAssignment_4 ) ) ( ( rule__XSwitchExpression__CasesAssignment_4 )* )\\n {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8206:1: ( ( rule__XSwitchExpression__CasesAssignment_4 ) )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8207:1: ( rule__XSwitchExpression__CasesAssignment_4 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4()); \\n }\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8208:1: ( rule__XSwitchExpression__CasesAssignment_4 )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8208:2: rule__XSwitchExpression__CasesAssignment_4\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__CasesAssignment_4_in_rule__XSwitchExpression__Group__4__Impl16777);\\n rule__XSwitchExpression__CasesAssignment_4();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4()); \\n }\\n\\n }\\n\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8211:1: ( ( rule__XSwitchExpression__CasesAssignment_4 )* )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8212:1: ( rule__XSwitchExpression__CasesAssignment_4 )*\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4()); \\n }\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8213:1: ( rule__XSwitchExpression__CasesAssignment_4 )*\\n loop62:\\n do {\\n int alt62=2;\\n int LA62_0 = input.LA(1);\\n\\n if ( (LA62_0==RULE_ID||LA62_0==25||LA62_0==53||LA62_0==59||LA62_0==61) ) {\\n alt62=1;\\n }\\n\\n\\n switch (alt62) {\\n \\tcase 1 :\\n \\t // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8213:2: rule__XSwitchExpression__CasesAssignment_4\\n \\t {\\n \\t pushFollow(FOLLOW_rule__XSwitchExpression__CasesAssignment_4_in_rule__XSwitchExpression__Group__4__Impl16789);\\n \\t rule__XSwitchExpression__CasesAssignment_4();\\n\\n \\t state._fsp--;\\n \\t if (state.failed) return ;\\n\\n \\t }\\n \\t break;\\n\\n \\tdefault :\\n \\t break loop62;\\n }\\n } while (true);\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4()); \\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 \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"50b31102e30bd5bcbde677be132475fa\",\n \"score\": \"0.69105285\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_1_0_0__2__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8650:1: ( ( ':' ) )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8651:1: ( ':' )\\n {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8651:1: ( ':' )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8652:1: ':'\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_1_0_0_2()); \\n }\\n match(input,59,FOLLOW_59_in_rule__XSwitchExpression__Group_2_1_0_0__2__Impl17654); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_1_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc969b9512587d59be273fef84456a75\",\n \"score\": \"0.6903566\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_1_0__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10446:1: ( rule__XSwitchExpression__Group_2_1_0__0__Impl )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10447:2: rule__XSwitchExpression__Group_2_1_0__0__Impl\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0__0__Impl_in_rule__XSwitchExpression__Group_2_1_0__021266);\\n rule__XSwitchExpression__Group_2_1_0__0__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5ddcb753dac03dd022875688e8fd9490\",\n \"score\": \"0.6893212\",\n \"text\": \"public final void rule__XSwitchExpression__Group_5__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8706:1: ( rule__XSwitchExpression__Group_5__1__Impl rule__XSwitchExpression__Group_5__2 )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8707:2: rule__XSwitchExpression__Group_5__1__Impl rule__XSwitchExpression__Group_5__2\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_5__1__Impl_in_rule__XSwitchExpression__Group_5__117753);\\n rule__XSwitchExpression__Group_5__1__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_5__2_in_rule__XSwitchExpression__Group_5__117756);\\n rule__XSwitchExpression__Group_5__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2cc551ad621d62eeada543cacd9fc48f\",\n \"score\": \"0.6878983\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_1__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10381:1: ( rule__XSwitchExpression__Group_2_1__1__Impl rule__XSwitchExpression__Group_2_1__2 )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10382:2: rule__XSwitchExpression__Group_2_1__1__Impl rule__XSwitchExpression__Group_2_1__2\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__1__Impl_in_rule__XSwitchExpression__Group_2_1__121141);\\n rule__XSwitchExpression__Group_2_1__1__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__2_in_rule__XSwitchExpression__Group_2_1__121144);\\n rule__XSwitchExpression__Group_2_1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4692e14241b75934db56305b05f301b\",\n \"score\": \"0.6877847\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_1_0_0__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10507:1: ( rule__XSwitchExpression__Group_2_1_0_0__1__Impl rule__XSwitchExpression__Group_2_1_0_0__2 )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10508:2: rule__XSwitchExpression__Group_2_1_0_0__1__Impl rule__XSwitchExpression__Group_2_1_0_0__2\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__1__Impl_in_rule__XSwitchExpression__Group_2_1_0_0__121387);\\n rule__XSwitchExpression__Group_2_1_0_0__1__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__2_in_rule__XSwitchExpression__Group_2_1_0_0__121390);\\n rule__XSwitchExpression__Group_2_1_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"24b99512be5222c30eee98a89696568b\",\n \"score\": \"0.6877534\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_0_0__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10259:1: ( rule__XSwitchExpression__Group_2_0_0__0__Impl )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10260:2: rule__XSwitchExpression__Group_2_0_0__0__Impl\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0__0__Impl_in_rule__XSwitchExpression__Group_2_0_0__020899);\\n rule__XSwitchExpression__Group_2_0_0__0__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"806fde21c5e237ea9adad31359a5f775\",\n \"score\": \"0.68728715\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_0__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10198:1: ( rule__XSwitchExpression__Group_2_0__0__Impl rule__XSwitchExpression__Group_2_0__1 )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10199:2: rule__XSwitchExpression__Group_2_0__0__Impl rule__XSwitchExpression__Group_2_0__1\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0__0__Impl_in_rule__XSwitchExpression__Group_2_0__020777);\\n rule__XSwitchExpression__Group_2_0__0__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0__1_in_rule__XSwitchExpression__Group_2_0__020780);\\n rule__XSwitchExpression__Group_2_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"55b762a840fea86bfb265f46a0589770\",\n \"score\": \"0.68428206\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_1_0_0__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10476:1: ( rule__XSwitchExpression__Group_2_1_0_0__0__Impl rule__XSwitchExpression__Group_2_1_0_0__1 )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10477:2: rule__XSwitchExpression__Group_2_1_0_0__0__Impl rule__XSwitchExpression__Group_2_1_0_0__1\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__0__Impl_in_rule__XSwitchExpression__Group_2_1_0_0__021325);\\n rule__XSwitchExpression__Group_2_1_0_0__0__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__1_in_rule__XSwitchExpression__Group_2_1_0_0__021328);\\n rule__XSwitchExpression__Group_2_1_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c8a7a6acc671a7a9962756467bfbba6e\",\n \"score\": \"0.6810288\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_1_0_0__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10536:1: ( rule__XSwitchExpression__Group_2_1_0_0__2__Impl )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10537:2: rule__XSwitchExpression__Group_2_1_0_0__2__Impl\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__2__Impl_in_rule__XSwitchExpression__Group_2_1_0_0__221447);\\n rule__XSwitchExpression__Group_2_1_0_0__2__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e28413cd1aff979ed763d9e71bf7ee06\",\n \"score\": \"0.680407\",\n \"text\": \"public final void rule__XSwitchExpression__Group__4() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10089:1: ( rule__XSwitchExpression__Group__4__Impl rule__XSwitchExpression__Group__5 )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10090:2: rule__XSwitchExpression__Group__4__Impl rule__XSwitchExpression__Group__5\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__4__Impl_in_rule__XSwitchExpression__Group__420566);\\n rule__XSwitchExpression__Group__4__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__5_in_rule__XSwitchExpression__Group__420569);\\n rule__XSwitchExpression__Group__5();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"26fb98ee1c8e25e5ff39fe6388669c3f\",\n \"score\": \"0.680156\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_1__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10410:1: ( rule__XSwitchExpression__Group_2_1__2__Impl )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10411:2: rule__XSwitchExpression__Group_2_1__2__Impl\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__2__Impl_in_rule__XSwitchExpression__Group_2_1__221201);\\n rule__XSwitchExpression__Group_2_1__2__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"076b0093c6882afb9ddf74aa03fd7b3a\",\n \"score\": \"0.6800198\",\n \"text\": \"public final void rule__XSwitchExpression__Group__2__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8144:1: ( ( ( rule__XSwitchExpression__Alternatives_2 ) ) )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8145:1: ( ( rule__XSwitchExpression__Alternatives_2 ) )\\n {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8145:1: ( ( rule__XSwitchExpression__Alternatives_2 ) )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8146:1: ( rule__XSwitchExpression__Alternatives_2 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getAlternatives_2()); \\n }\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8147:1: ( rule__XSwitchExpression__Alternatives_2 )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8147:2: rule__XSwitchExpression__Alternatives_2\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Alternatives_2_in_rule__XSwitchExpression__Group__2__Impl16653);\\n rule__XSwitchExpression__Alternatives_2();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getXSwitchExpressionAccess().getAlternatives_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"60cfdabe100393e46565d79b113ba370\",\n \"score\": \"0.6798128\",\n \"text\": \"public final void rule__SwitchCase__Group_0__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6781:1: ( rule__SwitchCase__Group_0__2__Impl rule__SwitchCase__Group_0__3 )\\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6782:2: rule__SwitchCase__Group_0__2__Impl rule__SwitchCase__Group_0__3\\n {\\n pushFollow(FOLLOW_rule__SwitchCase__Group_0__2__Impl_in_rule__SwitchCase__Group_0__213831);\\n rule__SwitchCase__Group_0__2__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_rule__SwitchCase__Group_0__3_in_rule__SwitchCase__Group_0__213834);\\n rule__SwitchCase__Group_0__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e169852cb4404384327a79a2bfe78815\",\n \"score\": \"0.6792053\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_0_0_0__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10289:1: ( rule__XSwitchExpression__Group_2_0_0_0__0__Impl rule__XSwitchExpression__Group_2_0_0_0__1 )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10290:2: rule__XSwitchExpression__Group_2_0_0_0__0__Impl rule__XSwitchExpression__Group_2_0_0_0__1\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0_0__0__Impl_in_rule__XSwitchExpression__Group_2_0_0_0__020958);\\n rule__XSwitchExpression__Group_2_0_0_0__0__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0_0__1_in_rule__XSwitchExpression__Group_2_0_0_0__020961);\\n rule__XSwitchExpression__Group_2_0_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"41de1cda65fd97ed5c02659a2607cefe\",\n \"score\": \"0.6751516\",\n \"text\": \"public final void rule__XSwitchExpression__Group_5__1__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8718:1: ( ( ':' ) )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8719:1: ( ':' )\\n {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8719:1: ( ':' )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8720:1: ':'\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getColonKeyword_5_1()); \\n }\\n match(input,59,FOLLOW_59_in_rule__XSwitchExpression__Group_5__1__Impl17784); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getXSwitchExpressionAccess().getColonKeyword_5_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed297b8b839a19538b8778d193987438\",\n \"score\": \"0.67402476\",\n \"text\": \"public final void rule__XSwitchExpression__Group_5__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8675:1: ( rule__XSwitchExpression__Group_5__0__Impl rule__XSwitchExpression__Group_5__1 )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8676:2: rule__XSwitchExpression__Group_5__0__Impl rule__XSwitchExpression__Group_5__1\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_5__0__Impl_in_rule__XSwitchExpression__Group_5__017691);\\n rule__XSwitchExpression__Group_5__0__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_5__1_in_rule__XSwitchExpression__Group_5__017694);\\n rule__XSwitchExpression__Group_5__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4f72c45b920ada9d5ca22affdb4c2d1\",\n \"score\": \"0.67177284\",\n \"text\": \"public final void rule__ExprSwitchStmt__Group__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalGo.g:7327:1: ( rule__ExprSwitchStmt__Group__2__Impl rule__ExprSwitchStmt__Group__3 )\\n // InternalGo.g:7328:2: rule__ExprSwitchStmt__Group__2__Impl rule__ExprSwitchStmt__Group__3\\n {\\n pushFollow(FOLLOW_31);\\n rule__ExprSwitchStmt__Group__2__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_2);\\n rule__ExprSwitchStmt__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d7e72fc74b990d5abed1501b7a0e9161\",\n \"score\": \"0.67063093\",\n \"text\": \"public final void rule__TypeSwitchStmt__Group__3() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalGo.g:7705:1: ( rule__TypeSwitchStmt__Group__3__Impl rule__TypeSwitchStmt__Group__4 )\\n // InternalGo.g:7706:2: rule__TypeSwitchStmt__Group__3__Impl rule__TypeSwitchStmt__Group__4\\n {\\n pushFollow(FOLLOW_34);\\n rule__TypeSwitchStmt__Group__3__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_2);\\n rule__TypeSwitchStmt__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f2d0ef1678d7597318811e756cbb608f\",\n \"score\": \"0.66972613\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_1__2__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10421:1: ( ( ')' ) )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10422:1: ( ')' )\\n {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10422:1: ( ')' )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10423:1: ')'\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getRightParenthesisKeyword_2_1_2()); \\n }\\n match(input,52,FOLLOW_52_in_rule__XSwitchExpression__Group_2_1__2__Impl21229); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getXSwitchExpressionAccess().getRightParenthesisKeyword_2_1_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e1e8115b741d50081a7e0832456b0aad\",\n \"score\": \"0.6682609\",\n \"text\": \"public final void rule__XSwitchExpression__Group__4__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10101:1: ( ( ( ( rule__XSwitchExpression__CasesAssignment_4 ) ) ( ( rule__XSwitchExpression__CasesAssignment_4 )* ) ) )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10102:1: ( ( ( rule__XSwitchExpression__CasesAssignment_4 ) ) ( ( rule__XSwitchExpression__CasesAssignment_4 )* ) )\\n {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10102:1: ( ( ( rule__XSwitchExpression__CasesAssignment_4 ) ) ( ( rule__XSwitchExpression__CasesAssignment_4 )* ) )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10103:1: ( ( rule__XSwitchExpression__CasesAssignment_4 ) ) ( ( rule__XSwitchExpression__CasesAssignment_4 )* )\\n {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10103:1: ( ( rule__XSwitchExpression__CasesAssignment_4 ) )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10104:1: ( rule__XSwitchExpression__CasesAssignment_4 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4()); \\n }\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10105:1: ( rule__XSwitchExpression__CasesAssignment_4 )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10105:2: rule__XSwitchExpression__CasesAssignment_4\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__CasesAssignment_4_in_rule__XSwitchExpression__Group__4__Impl20598);\\n rule__XSwitchExpression__CasesAssignment_4();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4()); \\n }\\n\\n }\\n\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10108:1: ( ( rule__XSwitchExpression__CasesAssignment_4 )* )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10109:1: ( rule__XSwitchExpression__CasesAssignment_4 )*\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4()); \\n }\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10110:1: ( rule__XSwitchExpression__CasesAssignment_4 )*\\n loop75:\\n do {\\n int alt75=2;\\n int LA75_0 = input.LA(1);\\n\\n if ( (LA75_0==RULE_ID||LA75_0==26||LA75_0==49||LA75_0==51||LA75_0==65) ) {\\n alt75=1;\\n }\\n\\n\\n switch (alt75) {\\n \\tcase 1 :\\n \\t // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10110:2: rule__XSwitchExpression__CasesAssignment_4\\n \\t {\\n \\t pushFollow(FOLLOW_rule__XSwitchExpression__CasesAssignment_4_in_rule__XSwitchExpression__Group__4__Impl20610);\\n \\t rule__XSwitchExpression__CasesAssignment_4();\\n\\n \\t state._fsp--;\\n \\t if (state.failed) return ;\\n\\n \\t }\\n \\t break;\\n\\n \\tdefault :\\n \\t break loop75;\\n }\\n } while (true);\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4()); \\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 \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6266a9cc00ae69a8ae2c3e6af0466be7\",\n \"score\": \"0.66821706\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_0__1__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10238:1: ( ( ( rule__XSwitchExpression__SwitchAssignment_2_0_1 ) ) )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10239:1: ( ( rule__XSwitchExpression__SwitchAssignment_2_0_1 ) )\\n {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10239:1: ( ( rule__XSwitchExpression__SwitchAssignment_2_0_1 ) )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10240:1: ( rule__XSwitchExpression__SwitchAssignment_2_0_1 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_0_1()); \\n }\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10241:1: ( rule__XSwitchExpression__SwitchAssignment_2_0_1 )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10241:2: rule__XSwitchExpression__SwitchAssignment_2_0_1\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__SwitchAssignment_2_0_1_in_rule__XSwitchExpression__Group_2_0__1__Impl20865);\\n rule__XSwitchExpression__SwitchAssignment_2_0_1();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"620151fed0b27c1ff26a53c005c57da4\",\n \"score\": \"0.6671564\",\n \"text\": \"public final void rule__XSwitchExpression__Group_5__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8687:1: ( ( 'default' ) )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8688:1: ( 'default' )\\n {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8688:1: ( 'default' )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8689:1: 'default'\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getDefaultKeyword_5_0()); \\n }\\n match(input,60,FOLLOW_60_in_rule__XSwitchExpression__Group_5__0__Impl17722); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getXSwitchExpressionAccess().getDefaultKeyword_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0f10cd3b2e4a4f01e135278dfbeb3e66\",\n \"score\": \"0.66649795\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_1__1__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10393:1: ( ( ( rule__XSwitchExpression__SwitchAssignment_2_1_1 ) ) )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10394:1: ( ( rule__XSwitchExpression__SwitchAssignment_2_1_1 ) )\\n {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10394:1: ( ( rule__XSwitchExpression__SwitchAssignment_2_1_1 ) )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10395:1: ( rule__XSwitchExpression__SwitchAssignment_2_1_1 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_1_1()); \\n }\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10396:1: ( rule__XSwitchExpression__SwitchAssignment_2_1_1 )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10396:2: rule__XSwitchExpression__SwitchAssignment_2_1_1\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__SwitchAssignment_2_1_1_in_rule__XSwitchExpression__Group_2_1__1__Impl21171);\\n rule__XSwitchExpression__SwitchAssignment_2_1_1();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"273b57c26f07220a1bce122284e09336\",\n \"score\": \"0.66463953\",\n \"text\": \"public final void rule__XSwitchExpression__Group_5__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10634:1: ( rule__XSwitchExpression__Group_5__2__Impl )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10635:2: rule__XSwitchExpression__Group_5__2__Impl\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_5__2__Impl_in_rule__XSwitchExpression__Group_5__221636);\\n rule__XSwitchExpression__Group_5__2__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eec8bf19e52d912eb31a6a08b2a5f2e1\",\n \"score\": \"0.66331625\",\n \"text\": \"public final void rule__ExprSwitchStmt__Group__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalGo.g:7285:1: ( ( 'switch' ) )\\n // InternalGo.g:7286:1: ( 'switch' )\\n {\\n // InternalGo.g:7286:1: ( 'switch' )\\n // InternalGo.g:7287:2: 'switch'\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getExprSwitchStmtAccess().getSwitchKeyword_0()); \\n }\\n match(input,85,FOLLOW_2); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getExprSwitchStmtAccess().getSwitchKeyword_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\": \"30dea38941a2d2d5c3d6660e0b22c25e\",\n \"score\": \"0.6599696\",\n \"text\": \"public final void rule__SwitchCase__Group_0__3__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6821:1: ( ( ( rule__SwitchCase__ThenAssignment_0_3 ) ) )\\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6822:1: ( ( rule__SwitchCase__ThenAssignment_0_3 ) )\\n {\\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6822:1: ( ( rule__SwitchCase__ThenAssignment_0_3 ) )\\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6823:1: ( rule__SwitchCase__ThenAssignment_0_3 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getSwitchCaseAccess().getThenAssignment_0_3()); \\n }\\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6824:1: ( rule__SwitchCase__ThenAssignment_0_3 )\\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6824:2: rule__SwitchCase__ThenAssignment_0_3\\n {\\n pushFollow(FOLLOW_rule__SwitchCase__ThenAssignment_0_3_in_rule__SwitchCase__Group_0__3__Impl13917);\\n rule__SwitchCase__ThenAssignment_0_3();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getSwitchCaseAccess().getThenAssignment_0_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6cb6d44236013488eaada05370c04798\",\n \"score\": \"0.65867233\",\n \"text\": \"public final void rule__XSwitchExpression__Group__2__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10041:1: ( ( ( rule__XSwitchExpression__Alternatives_2 ) ) )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10042:1: ( ( rule__XSwitchExpression__Alternatives_2 ) )\\n {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10042:1: ( ( rule__XSwitchExpression__Alternatives_2 ) )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10043:1: ( rule__XSwitchExpression__Alternatives_2 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getAlternatives_2()); \\n }\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10044:1: ( rule__XSwitchExpression__Alternatives_2 )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10044:2: rule__XSwitchExpression__Alternatives_2\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Alternatives_2_in_rule__XSwitchExpression__Group__2__Impl20474);\\n rule__XSwitchExpression__Alternatives_2();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getXSwitchExpressionAccess().getAlternatives_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c79de83c4e0a78620a7859e68e13b95a\",\n \"score\": \"0.6571721\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_0_0_0__1__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10329:1: ( ( ':' ) )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10330:1: ( ':' )\\n {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10330:1: ( ':' )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10331:1: ':'\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_0_0_0_1()); \\n }\\n match(input,49,FOLLOW_49_in_rule__XSwitchExpression__Group_2_0_0_0__1__Impl21046); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_0_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c92ebd30196234e73bc9e4bb0cdb2bb\",\n \"score\": \"0.6568576\",\n \"text\": \"public final void rule__SwitchCase__Group_0__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6735:1: ( ( RULE_CASE ) )\\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6736:1: ( RULE_CASE )\\n {\\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6736:1: ( RULE_CASE )\\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6737:1: RULE_CASE\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getSwitchCaseAccess().getCASETerminalRuleCall_0_0()); \\n }\\n match(input,RULE_CASE,FOLLOW_RULE_CASE_in_rule__SwitchCase__Group_0__0__Impl13742); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getSwitchCaseAccess().getCASETerminalRuleCall_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\": \"fd86f7de45e2f1bdc74de717fbf3de20\",\n \"score\": \"0.65363044\",\n \"text\": \"public final void rule__TypeSwitchGuard__Group__3__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalGo.g:7933:1: ( ( '(' ) )\\n // InternalGo.g:7934:1: ( '(' )\\n {\\n // InternalGo.g:7934:1: ( '(' )\\n // InternalGo.g:7935:2: '('\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getTypeSwitchGuardAccess().getLeftParenthesisKeyword_3()); \\n }\\n match(input,66,FOLLOW_2); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getTypeSwitchGuardAccess().getLeftParenthesisKeyword_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7a284d81a47c6fea0de69ad87cf18186\",\n \"score\": \"0.6482509\",\n \"text\": \"public final void ruleexprSwitchStmt() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalGo.g:1067:2: ( ( ( rule__ExprSwitchStmt__Group__0 ) ) )\\n // InternalGo.g:1068:2: ( ( rule__ExprSwitchStmt__Group__0 ) )\\n {\\n // InternalGo.g:1068:2: ( ( rule__ExprSwitchStmt__Group__0 ) )\\n // InternalGo.g:1069:3: ( rule__ExprSwitchStmt__Group__0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getExprSwitchStmtAccess().getGroup()); \\n }\\n // InternalGo.g:1070:3: ( rule__ExprSwitchStmt__Group__0 )\\n // InternalGo.g:1070:4: rule__ExprSwitchStmt__Group__0\\n {\\n pushFollow(FOLLOW_2);\\n rule__ExprSwitchStmt__Group__0();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getExprSwitchStmtAccess().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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7290104ea7fe02518398a1bc30f35874\",\n \"score\": \"0.64767593\",\n \"text\": \"public final void rule__ExprSwitchStmt__Group__1__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalGo.g:7312:1: ( ( ( rule__ExprSwitchStmt__Group_1__0 )? ) )\\n // InternalGo.g:7313:1: ( ( rule__ExprSwitchStmt__Group_1__0 )? )\\n {\\n // InternalGo.g:7313:1: ( ( rule__ExprSwitchStmt__Group_1__0 )? )\\n // InternalGo.g:7314:2: ( rule__ExprSwitchStmt__Group_1__0 )?\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getExprSwitchStmtAccess().getGroup_1()); \\n }\\n // InternalGo.g:7315:2: ( rule__ExprSwitchStmt__Group_1__0 )?\\n int alt76=2;\\n alt76 = dfa76.predict(input);\\n switch (alt76) {\\n case 1 :\\n // InternalGo.g:7315:3: rule__ExprSwitchStmt__Group_1__0\\n {\\n pushFollow(FOLLOW_2);\\n rule__ExprSwitchStmt__Group_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.getExprSwitchStmtAccess().getGroup_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc3f75587246b8b49104d509c33aa76b\",\n \"score\": \"0.6468505\",\n \"text\": \"public final void rule__XIfExpression__Group__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:7845:1: ( rule__XIfExpression__Group__2__Impl rule__XIfExpression__Group__3 )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:7846:2: rule__XIfExpression__Group__2__Impl rule__XIfExpression__Group__3\\n {\\n pushFollow(FOLLOW_rule__XIfExpression__Group__2__Impl_in_rule__XIfExpression__Group__216059);\\n rule__XIfExpression__Group__2__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_rule__XIfExpression__Group__3_in_rule__XIfExpression__Group__216062);\\n rule__XIfExpression__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6b92a625e2570b090129f44b626c8a7a\",\n \"score\": \"0.64606583\",\n \"text\": \"public final void rule__XSwitchExpression__Group__5() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10125:1: ( rule__XSwitchExpression__Group__5__Impl rule__XSwitchExpression__Group__6 )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10126:2: rule__XSwitchExpression__Group__5__Impl rule__XSwitchExpression__Group__6\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__5__Impl_in_rule__XSwitchExpression__Group__520643);\\n rule__XSwitchExpression__Group__5__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__6_in_rule__XSwitchExpression__Group__520646);\\n rule__XSwitchExpression__Group__6();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6edeb427f400c63c502d44951041eb8f\",\n \"score\": \"0.6452814\",\n \"text\": \"public final void rule__XSwitchExpression__Group_2_1_0_0__2__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10547:1: ( ( ':' ) )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10548:1: ( ':' )\\n {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10548:1: ( ':' )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10549:1: ':'\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_1_0_0_2()); \\n }\\n match(input,49,FOLLOW_49_in_rule__XSwitchExpression__Group_2_1_0_0__2__Impl21475); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_1_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eed09cb02cef39472c0a5f5a34011ff\",\n \"score\": \"0.64506006\",\n \"text\": \"public final void rule__ExprSwitchStmt__Group_1__1__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalGo.g:7473:1: ( ( ruleeos ) )\\n // InternalGo.g:7474:1: ( ruleeos )\\n {\\n // InternalGo.g:7474:1: ( ruleeos )\\n // InternalGo.g:7475:2: ruleeos\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getExprSwitchStmtAccess().getEosParserRuleCall_1_1()); \\n }\\n pushFollow(FOLLOW_2);\\n ruleeos();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getExprSwitchStmtAccess().getEosParserRuleCall_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"10774283800ef9f1f607db7d3122c430\",\n \"score\": \"0.6445002\",\n \"text\": \"public final void rule__XIfExpression__Group__3() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:7876:1: ( rule__XIfExpression__Group__3__Impl rule__XIfExpression__Group__4 )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:7877:2: rule__XIfExpression__Group__3__Impl rule__XIfExpression__Group__4\\n {\\n pushFollow(FOLLOW_rule__XIfExpression__Group__3__Impl_in_rule__XIfExpression__Group__316121);\\n rule__XIfExpression__Group__3__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_rule__XIfExpression__Group__4_in_rule__XIfExpression__Group__316124);\\n rule__XIfExpression__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ac106c02c1723251e0cf32d35fafcb00\",\n \"score\": \"0.64443696\",\n \"text\": \"public final void rule__XSwitchExpression__Group_5__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10603:1: ( rule__XSwitchExpression__Group_5__1__Impl rule__XSwitchExpression__Group_5__2 )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10604:2: rule__XSwitchExpression__Group_5__1__Impl rule__XSwitchExpression__Group_5__2\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_5__1__Impl_in_rule__XSwitchExpression__Group_5__121574);\\n rule__XSwitchExpression__Group_5__1__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_5__2_in_rule__XSwitchExpression__Group_5__121577);\\n rule__XSwitchExpression__Group_5__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d7fca4a46978cb7edf733ee735eff80\",\n \"score\": \"0.6426161\",\n \"text\": \"public final void rule__SwitchCase__Group_0__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6752:1: ( rule__SwitchCase__Group_0__1__Impl rule__SwitchCase__Group_0__2 )\\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6753:2: rule__SwitchCase__Group_0__1__Impl rule__SwitchCase__Group_0__2\\n {\\n pushFollow(FOLLOW_rule__SwitchCase__Group_0__1__Impl_in_rule__SwitchCase__Group_0__113771);\\n rule__SwitchCase__Group_0__1__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_rule__SwitchCase__Group_0__2_in_rule__SwitchCase__Group_0__113774);\\n rule__SwitchCase__Group_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f446c835e540f9c8d42cbcc90f735d65\",\n \"score\": \"0.6421064\",\n \"text\": \"public final void rule__XSwitchExpression__Group__5__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10137:1: ( ( ( rule__XSwitchExpression__Group_5__0 )? ) )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10138:1: ( ( rule__XSwitchExpression__Group_5__0 )? )\\n {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10138:1: ( ( rule__XSwitchExpression__Group_5__0 )? )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10139:1: ( rule__XSwitchExpression__Group_5__0 )?\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_5()); \\n }\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10140:1: ( rule__XSwitchExpression__Group_5__0 )?\\n int alt76=2;\\n int LA76_0 = input.LA(1);\\n\\n if ( (LA76_0==64) ) {\\n alt76=1;\\n }\\n switch (alt76) {\\n case 1 :\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10140:2: rule__XSwitchExpression__Group_5__0\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_5__0_in_rule__XSwitchExpression__Group__5__Impl20673);\\n rule__XSwitchExpression__Group_5__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.getXSwitchExpressionAccess().getGroup_5()); \\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\": \"b27987da7e4f5926f5a109f1cdf4dc5d\",\n \"score\": \"0.63998353\",\n \"text\": \"public final void rule__ExprSwitchStmt__Group__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalGo.g:7273:1: ( rule__ExprSwitchStmt__Group__0__Impl rule__ExprSwitchStmt__Group__1 )\\n // InternalGo.g:7274:2: rule__ExprSwitchStmt__Group__0__Impl rule__ExprSwitchStmt__Group__1\\n {\\n pushFollow(FOLLOW_31);\\n rule__ExprSwitchStmt__Group__0__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_2);\\n rule__ExprSwitchStmt__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"52ba0a4460c73aafbfbc9c15fca3a565\",\n \"score\": \"0.6384549\",\n \"text\": \"public final void rule__TypeSwitchStmt__Group__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalGo.g:7636:1: ( ( 'switch' ) )\\n // InternalGo.g:7637:1: ( 'switch' )\\n {\\n // InternalGo.g:7637:1: ( 'switch' )\\n // InternalGo.g:7638:2: 'switch'\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getTypeSwitchStmtAccess().getSwitchKeyword_0()); \\n }\\n match(input,85,FOLLOW_2); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getTypeSwitchStmtAccess().getSwitchKeyword_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\": \"3b2750cd75a8306543eb7eb062766219\",\n \"score\": \"0.6378093\",\n \"text\": \"public final void rule__Statement__Group_9__1__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6513:1: ( ( RULE_SWITCH ) )\\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6514:1: ( RULE_SWITCH )\\n {\\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6514:1: ( RULE_SWITCH )\\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6515:1: RULE_SWITCH\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getStatementAccess().getSWITCHTerminalRuleCall_9_1()); \\n }\\n match(input,RULE_SWITCH,FOLLOW_RULE_SWITCH_in_rule__Statement__Group_9__1__Impl13308); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getStatementAccess().getSWITCHTerminalRuleCall_9_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6d6cd30b2ded3601f8225c8c0f5fb3d2\",\n \"score\": \"0.6362601\",\n \"text\": \"public final void rule__XSwitchExpression__Alternatives_2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:2619:1: ( ( ( rule__XSwitchExpression__Group_2_0__0 ) ) | ( ( rule__XSwitchExpression__Group_2_1__0 ) ) )\\n int alt19=2;\\n int LA19_0 = input.LA(1);\\n\\n if ( ((LA19_0>=RULE_ID && LA19_0<=RULE_STRING)||LA19_0==22||(LA19_0>=29 && LA19_0<=30)||LA19_0==35||(LA19_0>=38 && LA19_0<=43)||LA19_0==51||LA19_0==54||(LA19_0>=56 && LA19_0<=57)||(LA19_0>=62 && LA19_0<=64)||(LA19_0>=66 && LA19_0<=71)||LA19_0==80) ) {\\n alt19=1;\\n }\\n else if ( (LA19_0==53) ) {\\n int LA19_2 = input.LA(2);\\n\\n if ( (LA19_2==RULE_ID) ) {\\n int LA19_3 = input.LA(3);\\n\\n if ( (LA19_3==59) ) {\\n alt19=2;\\n }\\n else if ( ((LA19_3>=13 && LA19_3<=34)||LA19_3==36||(LA19_3>=46 && LA19_3<=47)||LA19_3==49||LA19_3==51||LA19_3==53||LA19_3==65||(LA19_3>=76 && LA19_3<=77)) ) {\\n alt19=1;\\n }\\n else {\\n if (state.backtracking>0) {state.failed=true; return ;}\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 19, 3, input);\\n\\n throw nvae;\\n }\\n }\\n else if ( ((LA19_2>=RULE_HEX && LA19_2<=RULE_STRING)||LA19_2==22||(LA19_2>=29 && LA19_2<=30)||LA19_2==35||(LA19_2>=38 && LA19_2<=43)||LA19_2==51||(LA19_2>=53 && LA19_2<=54)||(LA19_2>=56 && LA19_2<=57)||(LA19_2>=62 && LA19_2<=64)||(LA19_2>=66 && LA19_2<=71)||LA19_2==80) ) {\\n alt19=1;\\n }\\n else {\\n if (state.backtracking>0) {state.failed=true; return ;}\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 19, 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(\\\"\\\", 19, 0, input);\\n\\n throw nvae;\\n }\\n switch (alt19) {\\n case 1 :\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:2620:1: ( ( rule__XSwitchExpression__Group_2_0__0 ) )\\n {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:2620:1: ( ( rule__XSwitchExpression__Group_2_0__0 ) )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:2621:1: ( rule__XSwitchExpression__Group_2_0__0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0()); \\n }\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:2622:1: ( rule__XSwitchExpression__Group_2_0__0 )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:2622:2: rule__XSwitchExpression__Group_2_0__0\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0__0_in_rule__XSwitchExpression__Alternatives_25659);\\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.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:2626:6: ( ( rule__XSwitchExpression__Group_2_1__0 ) )\\n {\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:2626:6: ( ( rule__XSwitchExpression__Group_2_1__0 ) )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:2627:1: ( rule__XSwitchExpression__Group_2_1__0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1()); \\n }\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:2628:1: ( rule__XSwitchExpression__Group_2_1__0 )\\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:2628:2: rule__XSwitchExpression__Group_2_1__0\\n {\\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__0_in_rule__XSwitchExpression__Alternatives_25677);\\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\": \"cdeefa12732ed87b6753ff90d757649d\",\n \"score\": \"0.635247\",\n \"text\": \"public final void rule__XIfExpression__Group__3() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9773:1: ( rule__XIfExpression__Group__3__Impl rule__XIfExpression__Group__4 )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9774:2: rule__XIfExpression__Group__3__Impl rule__XIfExpression__Group__4\\n {\\n pushFollow(FOLLOW_rule__XIfExpression__Group__3__Impl_in_rule__XIfExpression__Group__319942);\\n rule__XIfExpression__Group__3__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_rule__XIfExpression__Group__4_in_rule__XIfExpression__Group__319945);\\n rule__XIfExpression__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"15f03ec23eb44884e23684a2377dff6a\",\n \"score\": \"0.63407874\",\n \"text\": \"public final void rule__XIfExpression__Group__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9742:1: ( rule__XIfExpression__Group__2__Impl rule__XIfExpression__Group__3 )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9743:2: rule__XIfExpression__Group__2__Impl rule__XIfExpression__Group__3\\n {\\n pushFollow(FOLLOW_rule__XIfExpression__Group__2__Impl_in_rule__XIfExpression__Group__219880);\\n rule__XIfExpression__Group__2__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_rule__XIfExpression__Group__3_in_rule__XIfExpression__Group__219883);\\n rule__XIfExpression__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"90b67d2bf572b297acfb3ca698c2d184\",\n \"score\": \"0.6308206\",\n \"text\": \"public final void rule__SwitchCase__Group_1__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6904:1: ( rule__SwitchCase__Group_1__2__Impl )\\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6905:2: rule__SwitchCase__Group_1__2__Impl\\n {\\n pushFollow(FOLLOW_rule__SwitchCase__Group_1__2__Impl_in_rule__SwitchCase__Group_1__214073);\\n rule__SwitchCase__Group_1__2__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 }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":340,"cells":{"query_id":{"kind":"string","value":"e2be3a0abade502c08e113d701dd52ed"},"query":{"kind":"string","value":"//////////////// ACTUALIZAR TRABAJADOR /////////////////"},"positive_passages":{"kind":"list like","value":[{"docid":"1e16078bb69cd96c131a000703957bce","score":"0.0","text":"private void enviarAcActionPerformed(java.awt.event.ActionEvent evt) { \n \t\n \tidBuscarTrabajadorAc.setEditable(false);//TextField\n\t\t\n\t\tString id = idBuscarTrabajadorAc.getText();\t\n\t\tif ( !id.equals(\"\") ) {\n\t\t\tControlador.getInstance().handleRequest(IDEventos.EVENTO_CONSULTAR_TRABAJADOR_MODIFICAR, Integer.valueOf(id));\n\t\t}\n\t\telse\n\t\t{\n\t\t\tJFrame frame = new JFrame();\n \t\tJOptionPane.showMessageDialog(frame,\"Tienes que rellenar el ID\", \"Aviso\", JOptionPane.WARNING_MESSAGE);\n\t\t}\n \t\n }","title":""}],"string":"[\n {\n \"docid\": \"1e16078bb69cd96c131a000703957bce\",\n \"score\": \"0.0\",\n \"text\": \"private void enviarAcActionPerformed(java.awt.event.ActionEvent evt) { \\n \\t\\n \\tidBuscarTrabajadorAc.setEditable(false);//TextField\\n\\t\\t\\n\\t\\tString id = idBuscarTrabajadorAc.getText();\\t\\n\\t\\tif ( !id.equals(\\\"\\\") ) {\\n\\t\\t\\tControlador.getInstance().handleRequest(IDEventos.EVENTO_CONSULTAR_TRABAJADOR_MODIFICAR, Integer.valueOf(id));\\n\\t\\t}\\n\\t\\telse\\n\\t\\t{\\n\\t\\t\\tJFrame frame = new JFrame();\\n \\t\\tJOptionPane.showMessageDialog(frame,\\\"Tienes que rellenar el ID\\\", \\\"Aviso\\\", JOptionPane.WARNING_MESSAGE);\\n\\t\\t}\\n \\t\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"4b8e0f64fd3bd699059d400b089d83ce","score":"0.671939","text":"public void crearTablaActividad() {\n\r\n\t}","title":""},{"docid":"12c0cf787a4de2c509b50a8a7dd6344e","score":"0.6620012","text":"public void crearTablaEstado() {\n\r\n\t}","title":""},{"docid":"3fe1f1d48cc4f734bc9648574dd0917f","score":"0.65322006","text":"public void crearTablaProyecto() {\n\r\n\t}","title":""},{"docid":"f681b935fb9555bb599432bec4fb1cdd","score":"0.63880277","text":"public void crearTablaGerente() {\n\r\n\t}","title":""},{"docid":"1ce660287e22432eaab4789b7fcd6678","score":"0.63781005","text":"public static void inicioTrabajador() {\r\n\t\tnew view.FrmTrabajador();\r\n\t}","title":""},{"docid":"ca91d50c92e95aab7c111875e455738c","score":"0.63485044","text":"private void buscarSolicitudesPago() {\r\n if(validarBusqueda()) {\r\n ArrayList> tmpLista = new ArrayList<>();\r\n //tmpLista = facadeRecaudacion.solicitaPagos_BancoFinanciero(\"\");\r\n llenarTabla(tblModelTarjetas, tmpLista);\r\n }\r\n \r\n FarmaUtility.showMessage(this, \"Implementar búsqueda de tarjetas\", null);\r\n }","title":""},{"docid":"b7d3c2b49702a5ed673b243bf8d2b7c0","score":"0.6339364","text":"@Override\n\tprotected void funcionario() {\n\t\t\n\t}","title":""},{"docid":"321b7db8f46374ba50935b6064ef77fe","score":"0.6305055","text":"public void NuevoRegistroTrabajoTemp( TrabajoTemp trabajito) {\n usuarioSamaj user = trabajito.getUser();\n String cod = Integer.toString(user.getCodigo());\n String nombre = user.getNombre();\n String apellido = user.getApellido();\n String tel = Integer.toString(user.getTelefono());\n String correo = user.getCorreo();\n\n String categoria = trabajito.getCategoriaTrabajo();\n String descripcion = trabajito.getDescripcionTrabajo();\n String sueldo = Integer.toString(trabajito.getSueldo());\n String fila = cod+\",\"+nombre+\",\"+apellido+\",\"+tel+\",\"+correo + \", \" + categoria + \", \" + descripcion + \", \" + sueldo;\n\n /*Tomar el ArrayList de aplicantes del objeto TrabajoTemp\n y extraer el nombre y número de telefono de cada uno de\n estos para que sean almacenados en el registro. Estos\n serán añadidos fila para ser metidos al registro. */\n\n ArrayList aplicantes = trabajito.getAplicantes();\n if (aplicantes.size()!=0){\n for (int i = 0; i < aplicantes.size(); i++) {\n usuarioSamaj h = aplicantes.get(i);\n String nom = h.getNombre();\n String telef = Integer.toString(h.getTelefono());\n fila += \", \" + nom + \", \" + telef;\n }\n }\n // LLamar método con dos parámetros: el String anidado y el nombre de la tabla en la base de datos.\n registrarBD(fila, \"TABLA3\");\n }","title":""},{"docid":"c79b3a47b7e671e8048c1080e69fc7c6","score":"0.6175671","text":"private void inicializar()\n {\n this.centrar();\n this.ajustarTamanioColumna();\n this.llenarTabla();\n }","title":""},{"docid":"d850d0e13249ba58c091e165d65fcc0f","score":"0.61575395","text":"public void LlenarTabla(){\n if(Directo)//recien ingresados\n {\n Object[] nuevaFila = {dni,appat,apmat,nombre,fechNac,direccion,\n sexo,parentesco,codCarpeta,codHistoria,HistAnt};//NUEVA FILA\n modelo.addRow(nuevaFila);\n jtHistoriasClinicas.setModel(modelo);\n RegistroTranslado.add(0);//como registro\n btnQuitar.setEnabled(true);\n btnRegistrar.setEnabled(true);\n }\n else{//hace modificaciones en una fila determinada por nf\n ActualizarDatosJefe(dni, appat, apmat, nombre, fechNac, direccion,sexo,parentesco,codHistoria,HistAnt);\n Directo=true;//para que pueda registrar otra historia\n HabilitarTodo();\n }\n limpiarCajas();//limpiamos todas las cajas \n }","title":""},{"docid":"e69329212f25e7703c4d717ac31e9cb9","score":"0.6156085","text":"public void crearTablaCategoria() {\n\r\n\t}","title":""},{"docid":"4964b817dfa1e186d8b95ac35dbcb398","score":"0.6133777","text":"protected void bhgp0030AcessoTabela() {\n }","title":""},{"docid":"076c3ed64a149c1cd1562b264c48730b","score":"0.6123238","text":"private void cargarTabla(){\n GestorOrdenCompra.getInstancia().generarOrdenAutomatica(tm);\n }","title":""},{"docid":"76ea568222d06eb3c8591333abee7ca4","score":"0.6114247","text":"public void tratarAyuda(Object informacion);","title":""},{"docid":"21ad55b899bd8ebaa318600bddb067a4","score":"0.61124164","text":"@Override\n\tpublic void prendiDalTavolo() {\n\t\t\n\t}","title":""},{"docid":"e7e69ed3af666adb9deb91fe52bee11d","score":"0.6065775","text":"public GetTowar() {\n initComponents();\n //DaneSklepu.getStrony().get(\"PanelTransakcji\").wypelnijTabele();\n //super();\n\n }","title":""},{"docid":"31b41d433600470ed8004e258db325c7","score":"0.6044885","text":"protected abstract void introducir_aciertos(Tablero tablero);","title":""},{"docid":"76a80470fd21f5a9092c258ed3a8a632","score":"0.6043315","text":"private static void 로또번호리스트() {\n\t\t\r\n\t}","title":""},{"docid":"95d63f44f6e78c62acac0f5480effda4","score":"0.60396296","text":"public static void sql_TarifasEstablecidas() {\n String sql\n = \"SELECT\"\n + \" t.VALOR_PROM_KM AS VALOR_PROM_KM,\"\n + \" r.NOMBRE AS NOMBRE_RUTA\"\n + \" FROM tbl_ruta AS r\"\n + \" INNER JOIN tbl_tarifa AS t ON\"\n + \" r.PK_RUTA = t.FK_RUTA\"\n + \" WHERE t.ESTADO = 1 AND\"\n + \" r.FK_EMPRESA = ?\"\n + \" ORDER BY r.FK_EMPRESA, r.NOMBRE\";\n\n //return sql;\n }","title":""},{"docid":"13bf8de6d620be8a0b073885f0ce310c","score":"0.600732","text":"public void inicializarDatos()\r\n/* 116: */ {\r\n/* 117: */ try\r\n/* 118: */ {\r\n/* 119: 85 */ this.modelResultado = new ResultadosTableModel();\r\n/* 120: 86 */ this.jTableResultado.setModel(this.modelResultado);\r\n/* 121: 87 */ this.jTableResultado.setAutoResizeMode(0);\r\n/* 122: 88 */ setColumnWidthResultados();\r\n/* 123: 89 */ this.emisor = new EmisorSQL().obtenerDatosEmisor();\r\n/* 124: 90 */ this.secuencial = new ComprobantesSQL().obtenerMaximo(TipoComprobanteEnum.LOTE.getCode());\r\n/* 125: 91 */ String secuencialComprobante = String.format(\"%09d\", new Object[] { Long.valueOf(this.secuencial.longValue()) });\r\n/* 126: 94 */ if (this.emisor != null)\r\n/* 127: */ {\r\n/* 128: 95 */ String serie = this.emisor.getCodigoEstablecimiento().concat(this.emisor.getCodPuntoEmision());\r\n/* 129: 96 */ this.claveAcceso = new ClaveDeAcceso().generaClave(new Date(), TipoComprobanteEnum.LOTE.getCode(), this.emisor.getRuc(), this.emisor.getTipoAmbiente(), serie, secuencialComprobante, this.emisor.getClaveInterna(), \"1\");\r\n/* 130: */ }\r\n/* 131: 99 */ ConfiguracionDirectorioSQL lista = new ConfiguracionDirectorioSQL();\r\n/* 132:101 */ if (lista.hayRegistros().booleanValue() == true)\r\n/* 133: */ {\r\n/* 134:102 */ this.directorioFirmados = lista.obtenerDirectorio(DirectorioEnum.FIRMADOS.getCode()).getPath();\r\n/* 135:103 */ this.lblDirSistema.setText(this.directorioFirmados);\r\n/* 136: */ }\r\n/* 137:106 */ this.tableArchivosPorEnviar.addMouseListener(new MouseAdapter()\r\n/* 138: */ {\r\n/* 139: */ public void mouseReleased(MouseEvent e)\r\n/* 140: */ {\r\n/* 141:110 */ int col = EnvioComprobantesView.this.tableArchivosPorEnviar.getSelectedColumn();\r\n/* 142:111 */ int row = EnvioComprobantesView.this.tableArchivosPorEnviar.getSelectedRow();\r\n/* 143:112 */ if (col == 0)\r\n/* 144: */ {\r\n/* 145:113 */ if (EnvioComprobantesView.this.tableArchivosPorEnviar.getModel().getRowCount() >= 2) {\r\n/* 146:114 */ EnvioComprobantesView.this.btnEnviarLotes.setEnabled(true);\r\n/* 147: */ }\r\n/* 148:117 */ List archivosSeleccionados = EnvioComprobantesView.this.listaSeleccionados();\r\n/* 149:118 */ String xmlLote = EnvioComprobantesView.this.creaXmlLote(archivosSeleccionados);\r\n/* 150:119 */ if (xmlLote != null)\r\n/* 151: */ {\r\n/* 152:120 */ Integer tamanioArchivo = Integer.valueOf(xmlLote.getBytes().length / 1024);\r\n/* 153:121 */ EnvioComprobantesView.this.lblTamanio.setText(tamanioArchivo.toString());\r\n/* 154: */ }\r\n/* 155: */ else\r\n/* 156: */ {\r\n/* 157:123 */ EnvioComprobantesView.this.tableArchivosPorEnviar.getModel().setValueAt(Boolean.FALSE, row, col);\r\n/* 158: */ }\r\n/* 159: */ }\r\n/* 160: */ }\r\n/* 161:128 */ });\r\n/* 162:129 */ this.jTableResultado.addMouseListener(new MouseAdapter()\r\n/* 163: */ {\r\n/* 164: */ public void mouseClicked(MouseEvent e)\r\n/* 165: */ {\r\n/* 166:132 */ int col = EnvioComprobantesView.this.jTableResultado.getSelectedColumn();\r\n/* 167:133 */ int row = EnvioComprobantesView.this.jTableResultado.getSelectedRow();\r\n/* 168:134 */ if (EnvioComprobantesView.this.rowEvent != row) {\r\n/* 169:135 */ EnvioComprobantesView.this.showOnlyOnce = 0;\r\n/* 170: */ }\r\n/* 171:138 */ if ((e.getClickCount() == 1) && (col == 4) && (EnvioComprobantesView.this.showOnlyOnce == 0))\r\n/* 172: */ {\r\n/* 173:139 */ String contenidoCelda = (String)EnvioComprobantesView.this.jTableResultado.getValueAt(row, col);\r\n/* 174:140 */ JOptionPane.showMessageDialog(new JFrame(), contenidoCelda, \"Contenido de la celda\", 1);\r\n/* 175: */ \r\n/* 176:142 */ EnvioComprobantesView.this.showOnlyOnce = 1;\r\n/* 177:143 */ EnvioComprobantesView.this.rowEvent = row;\r\n/* 178: */ }\r\n/* 179: */ }\r\n/* 180: */ });\r\n/* 181: */ }\r\n/* 182: */ catch (Exception ex)\r\n/* 183: */ {\r\n/* 184:149 */ Logger.getLogger(FacturaView.class.getName()).log(Level.SEVERE, \"Error de Casting\", ex);\r\n/* 185: */ }\r\n/* 186: */ }","title":""},{"docid":"a657783fc915d3b141f2d401584ba1c7","score":"0.5990215","text":"@Test\r\n\tpublic void testObtenerCasilla() {\n\t\tTableroBuilder builderN1=new BuilderN1();\r\n\t\tbuilderN1.construirTablero();\r\n\t\tBuscaminas.getBuscaminas().setTableroBuilder(builderN1);\r\n\t\tCasilla c=Buscaminas.getBuscaminas().getTablero().obtenerCasilla(0,0);\r\n\t\tassertEquals(Buscaminas.getBuscaminas().getTablero().obtenerCasilla(0, 0),c);\r\n\t\t//Obtener una casilla no existente\r\n\t\tassertNull(Buscaminas.getBuscaminas().getTablero().obtenerCasilla(8,8));\r\n\t}","title":""},{"docid":"4ca298bb65ebf2d7cd93b3e86cb1d82a","score":"0.5961069","text":"public boolean trataEquipamentos(String tipx)\n\t{\n\t\t\n\t\tboolean ret = true ; \n\t\t\n \t// Pega dados antes de excluir todas os registros\n \tParametroDAO paDao = new ParametroDAO(context);\n \t\t\n \tContext ctx = context;\n \t\n \tCursor c = paDao.getParametros();\n \t\t\n \t// dados para comunica��o com servidor ftp\n \t\t\n \tString servidorftp = \"\";\n \tString usuarioftp = \"\";\n \tString senhaftp = \"\";\n \tString arquivobaseftp = \"\";\n \tString impressora = \"\";\n \tString imprimeobs = \"\";\n \tString sigla = \"\";\n \tString orgaoautuador = \"\";\n \tString cxseriePDA = \"\"; \n\t\t//try {\n\t\t\t\n\t\t\t//servidorftp = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\"servidorftp\")));\n\t\t\t//usuarioftp = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\"usuarioftp\")));\n\t \t//senhaftp = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\"senhaftp\")));\n\t \t//arquivobaseftp = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\"arquivobaseftp\")));\n\t \t//impressora = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\"impressora\")));\n\t \t//imprimeobs = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\"imprimeobs\")));\n\t \t\t\n\t \t//sigla = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\"sigla\")));\n\t \t\t\n\t \t// dados para comunica��o com o WebTrans\n\t \t//usuarioWebTrans = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\"usuariowebtrans\")));\n\t \t//senhaWebTrans = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\"senhawebtrans\")));\n\n\t \t//******************************************************\n \t\t// 09.08.2012\n\t \t//\n\t \t// Define Usuario/Senha para leitura de Tabelas \n\t \t//******************************************************\n \t\tsenhaWebTrans = MD5Util.criptografar(\"cobratalonario\");\n\n\t \t//String xcod = SimpleCrypto.decrypt(Utilitarios.getInfo(), c.getString(c.getColumnIndex(\"orgaoautuador\")) );\n\t \t\n\t \t//codMunicipio = xcod.subSequence(1, 5).toString(); //265810\n\t \t\n\t \t\n\t \t\n\t \t//codMunicipio = c.getString(c.getColumnIndex(\"orgaoautuador\")).subSequence(1, 5).toString(); //265810\n\t \t\n\t \t//cxseriePDA = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\"seriepda\")));\n\t \t\n\t \t// 16.05.2012\n\t \t// Retirar , vir� do Webtrans\n\t \t//orgaoautuador = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\"orgaoautuador\")));\n\n\t\t\t\n\t\t//} \n\t\t//catch (Exception e1) \n\t\t//{\n\t\t\t// TODO Auto-generated catch block\n\t\t//\te1.printStackTrace();\n\t\t//}\n \t\t\t \t\t\t\n \tString c1,c2,c3;\n \tc1 = usuarioWebTrans ;\n \tc2 = senhaWebTrans ;\n \tc3 = codMunicipio ;\n \t\n \tc.close();\n \t\t\n \t//if (carregaDados(\"equipamentos\"))\n \t//{\n \t\t// salva\n \t\tJSONArray jsonArray1 = jsonArray;\n \t\ttry {\n \t\t\tjson1=jsonArray1.getJSONObject(0);\n\t\t\t\tcodMunicipio=json1.getString(\"cliente\");\n\t\t\t} catch (JSONException e1) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te1.printStackTrace();\n\t\t\t}\n \t\t//String orgaoautuador = \"\", \n \t\tString prefeitura = \"\" ;\n \t\t\n \t\t//usuarioWebTrans = \"LOGWEBTRANS\"+ codMunicipio;\n \t\t\tusuarioWebTrans = \"LOGWEBTRANS\" + codMunicipio;\n \t\t\n \t\tsenhaWebTrans = MD5Util.criptografar(\"2015RES\");\n \t\t// Pega dados do Cliente\n \t\tif (carregaDados(\"clientes\"))\n \t\t{\n \t\t\t\n \t\t\tString clienteativo = \"N\";\n \t\t\t\n \t\t\t\n\t \t\tfor ( int nx = 0 ; nx < jsonArray.length();nx++)\n\t\t\t\t{\n\t \t\t\ttry {\n\n\t \t\t\t\t\n\t \t\t\t\tjson1 = jsonArray.getJSONObject(nx);\n\t \t\t\t\t// antigo\n\t \t\t\t\t//orgaoautuador = json1.getString(\"orgao_transito\").subSequence(0, 6).toString();\n\t \t\t\t\t\n\t \t\t\t\t// atual , ainda nao foi feito o deploy\n\t \t\t\t\torgaoautuador = \"2\" + json1.getString(\"orgaoAutuador\").toString() + \"0\";\t\t\t \t\t\t\t\n\t \t\t\t\tprefeitura = json1.getString(\"prefixo\");\n\t\t\t\t\t\tsigla = json1.getString(\"sigla\");\n\t\t\t\t\t\t\n\t\t\t\t\t\tclienteativo = \"S\";\n\t \t\t\t\t// Prefeitura Ativa ?\n\t \t\t\t\tif ( json1.getString(\"status\").toUpperCase().contains(\"INATIVO\")) clienteativo = \"N\";\n\t\n\t\t\t\t\t} catch (JSONException e) {\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\tret = false ;\n\t\t\t\t\t\terrofatal =true;\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t}\n \t\t\t\n\t \t\t// limpa tabela quando est� inicializando o PDA\n\t \t\t//if ( tipx.contains(\"1\")) definedao.delete();\n\t \t\t\n\t \t\t//definedao.delete();\n\t \t\t\n\t \t\tfor ( int nx = 0 ; nx < jsonArray1.length();nx++)\n\t\t\t\t{\n\t\t\t\t\t\n\t\t\t\t\tParametro define = new Parametro();\n\t\t\t\t\t\n\t\t\t\t\ttry {\n\t\t\t\t\t\n\t\t\t\t\t\t// nao � necess�rio validar o munic�pio pois no baseandroid.zip\n\t\t\t\t\t\t// deve ser colocado o municipio correto de opera��o\n\t\t\t\t\t\t//\n\t\t\t\t\t\t// conferir somente a SERIE do PDA\n\t\t\t\t\t\t\n\t\t\t\t\t\tjson1 = jsonArray1.getJSONObject(nx);\n\t\t\t\t\t\t\n\t\t\t\t\t\tlong faixaAitInicial = Long.parseLong(json1.getString(\"faixaAitInicial\"));\n\t\t\t\t\t\tlong faixaAitFinal = Long.parseLong(json1.getString(\"faixaAitFinal\"));\n\n\t\t\t\t\t\t// debug - - retirar\n\t\t\t\t\t\t//define.setProximoait(\"0000525\");\n\n\t\t\t\t\t\t//define.setProximoait(String.valueOf(faixaAitInicial));\n\t\t\t\t\t\t//define.setAitinicial(String.valueOf(faixaAitInicial));\n\t\t\t\t\t\t//define.setAitfinal(String.valueOf(faixaAitFinal));\n\t\t\t\t\t\t\n\t\t\t\t\t\t// somente define proximo ait na inicializa��o...\n\t\t\t\t\t\ttry\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tdefine.setProximoait(SimpleCrypto.encrypt(info,String.format(\"%07d\", faixaAitInicial)));\n\t\t\t\t\t\t\tdefine.setAitinicial(SimpleCrypto.encrypt(info,String.format(\"%07d\", faixaAitFinal)));\n\t\t\t\t\t\t\tdefine.setAitfinal(SimpleCrypto.encrypt(info,String.format(\"%07d\", faixaAitFinal)));\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tdefine.setSeriepda(SimpleCrypto.encrypt(info,json1.getString(\"numero\")));\n\t\t\t\t\t\t\tdefine.setPrefeitura(SimpleCrypto.encrypt(info,prefeitura));\n\t\t\t\t\t\t\tdefine.setSigla(SimpleCrypto.encrypt(info,sigla));\n\t\t\t\t\t\t\tdefine.setOrgaoautuador(SimpleCrypto.encrypt(info,orgaoautuador));\n\t\t\t\t\t\t\tdefine.setSerieait(SimpleCrypto.encrypt(info,json1.getString(\"serieAit\")));\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tdefine.setServidorftp(SimpleCrypto.encrypt(info,servidorftp));\n\t\t\t\t\t\t\tdefine.setUsuarioftp(SimpleCrypto.encrypt(info,usuarioftp));\n\t\t\t\t\t\t\tdefine.setSenhaftp(SimpleCrypto.encrypt(info,senhaftp));\n\t\t\t\t\t\t\tdefine.setArquivobaseftp(SimpleCrypto.encrypt(info,arquivobaseftp));\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tdefine.setImpressoraMAC(SimpleCrypto.encrypt(info,impressora));\n\t\t\t\t\t\t\tdefine.setImprimeobs(SimpleCrypto.encrypt(info,imprimeobs));\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t// para acessos futuros\n\t\t\t\t\t\t\tdefine.setUsuariowebtrans(SimpleCrypto.encrypt(info,usuarioWebTrans));\n\t\t\t\t\t\t\tdefine.setSenhawebtrans(SimpleCrypto.encrypt(info,senhaWebTrans));\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t// id nao � encriptado\n\t\t\t\t\t\t\tdefine.setIdwebtrans(Long.toString(json1.getLong(\"idequipamento\")));\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t// PDA Ativo ?\n\t\t\t\t\t\t\tdefine.setAtivo(SimpleCrypto.encrypt(info,\"S\"));\n\t\t\t\t\t\t\tif ( json1.getString(\"status\").toUpperCase().contains(\"INATIVO\"))\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdefine.setAtivo(SimpleCrypto.encrypt(info,\"N\"));\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Prefeitura Ativa ?\n\t\t\t\t\t\tdefine.setPrefativa(SimpleCrypto.encrypt(info,\"N\"));\n\t\t\t\t\t\tif ( clienteativo.equals(\"S\")) define.setPrefativa(SimpleCrypto.encrypt(info,\"S\")); \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t//if ( tipx.contains(\"1\"))\n\t\t\t\t\t\t\tpaDao.atualizastatus(define);\n\t\t\t\t\t\t//else\n\t\t\t\t\t\t\t// Atualiza o Status de Ativo/Desativo\n\t\t\t\t\t\t//\tdefinedao.atualizastatus(define);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcatch ( Exception ex)\n\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\t} catch (JSONException 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\tret = false ;\n\t\t\t\t\t\terrofatal =true;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\n \t\t}\n \t\t\n \t\tpaDao.close();\n \t\t\n \t\t//buscaPDA(cxseriePDA);\n \t\t\n \t\t// criptografa definePDA...\n \t\t\n\t\t//}\n \t//else\n \t//{\n \t//\terrofatal =true;\n \t//\tret = false;\n \t//}\n\t\t\n\t\treturn ret;\n\t\t\n\t}","title":""},{"docid":"a2a73eba9feb2cc750f69d82e4572f58","score":"0.5949878","text":"Trabajador buscarUno(int idTrabajador);","title":""},{"docid":"78ce92462ba480d373503c8698a43336","score":"0.5948239","text":"private void cambiarEstadoDeReserva() {\n }","title":""},{"docid":"d65a452e3ef5b77b9950804b5b9c12ae","score":"0.5936587","text":"@Override\n\tpublic void trajeto(int quilometros) {\n\t\t\n\t}","title":""},{"docid":"8219e21e1a41bd237a8fd5a0e872b830","score":"0.59280324","text":"public AluguelConcluidoPesquisarTela() {\n }","title":""},{"docid":"fb8e14464062ebb1b2513440f8b63a5a","score":"0.59212667","text":"public TelaTratamento() {\n initComponents();\n }","title":""},{"docid":"385f118560eb6b102347a889d249cc35","score":"0.59149015","text":"private void ucitajSveKlijente()\n\t{\n\t\t\n\t\tKlijentDao kdao = KlijentDao.get();\n\t\tCollection klijenti = kdao.readAll();\n\t\tsortirajPoPrezimenu(klijenti);\n\t\tDefaultTableModel model = (DefaultTableModel) table.getModel();\n\t\t\n\t\t\n\t\t\n\t\tucitajKlijente(klijenti);\n\t\t\n\t\t\n\t}","title":""},{"docid":"864f6d967ec79fd2e760e87729996453","score":"0.59131056","text":"public void verificarTablero();","title":""},{"docid":"41fb45def956abf018769eac261a47e6","score":"0.59127396","text":"public transaksionline() {\n initComponents();\n \n loadData();\n kondisiawal();\n loadcomatm();\n loadcomtoko();\n auto_number();\n \n }","title":""},{"docid":"5fc4e5f6dfe96e6d0c1fa383b8b471c8","score":"0.59122205","text":"public abstract void tratarColisionEscenarioX();","title":""},{"docid":"90c33c4812f982c17a708386c0005afe","score":"0.5907226","text":"public UIManQuarto() {\n initComponents();\n preencherTabela();\n }","title":""},{"docid":"c0451f67fc1cf947106fec831a3dceb2","score":"0.5907132","text":"protected void Cadastrar() {\n\t\t\n\t}","title":""},{"docid":"b801af3068def19e986f612290188ffc","score":"0.59058326","text":"public void tabelaComparativa() {\n\r\n\t}","title":""},{"docid":"ddb2e38c6f4b10f9146161aaf6ba20ec","score":"0.59040695","text":"public Tramite creaTramite(String nomTramit) {\r\n\t\t/*\r\n\t\tselectOption(\"fase\", \"Instrucción\");\r\n setTextField(\"textoFechaCaducidad\",\"10/02/2010\");\t\r\n setTextField(\"textoFechaPublicacion\",\"10/12/2009\");\r\n setTextField(\"textoFechaActualizacion\",\"10/12/2009\");\r\n setTextField(\"idUA\",\"1\"); //1 = \"Govern de les Illes Balears\");\r\n setTextField(\"descTaxa\",\"descripcion taxa\"); \r\n setTextField(\"formaPagamentTaxa\",\"en efectiu\");\r\n setTextField(\"codiTaxa\",\"123456\");\r\n setTextField(\"versio\",\"1\");\r\n setTextField(\"urlExterna\",\"http://urlExterna\");\r\n setTextField(\"traducciones[0].nombre\",nomTramit);\r\n setTextField(\"traducciones[0].documentacion\",\"portar dni\");\r\n setTextField(\"traducciones[0].plazos\",\"3 meses\");\r\n\r\n\t\t */\r\n\t\tTramite t=new Tramite();\r\n\t\t//t.setId(0); si id=null -> hibernate=insert, sino hibernate=update\r\n\t\tt.setCodiVuds(\"20091010\");\r\n\t\tt.setOrden(0L);\r\n\t\t\r\n\t\tCalendar c=Calendar.getInstance();\r\n\t\tc.set(2010,2,10);\r\n\t\tt.setDataCaducitat(c.getTime());\r\n\t\tc.set(2009,12,10);\r\n\t t.setDataPublicacio(c.getTime());\r\n\t\tc.set(2010,2,10);\r\n\t t.setDataActualitzacio(c.getTime());\r\n\t \r\n\t /* FIXME \r\n\t\tt.setCodiTaxa(\"12345\");\r\n\t\tt.setDescTaxa(\"desc\");\r\n\t\tt.setFormaPagamentTaxa(\"\");\r\n\t\t*/\r\n\t\t\r\n/*\tcollections se ponen desde otro action\t\r\n\t\tSet formularios=new HashSet();\r\n\t\tFormulario f=new Formulario();\r\n\t\t//f.setId(123L);\r\n\t\tf.setUrl(\"URL1\");\r\n\t\tformularios.add(f);\r\n\t\tt.setFormularios(formularios);\r\n\t\t\r\n\t\tSet docsPresentar = new HashSet();\r\n\t\tdocsPresentar.add(\"DOC1\");\r\n\t\tt.setDocsPresentar(docsPresentar);\r\n\r\n\t\tSet docsInformatius = new HashSet();\r\n\t\tDocumento docinf=new Documento();\r\n\t\tdocinf.setId(333L);\r\n\t\tdocsInformatius.add(docinf);\r\n\t\tt.setDocsInformatius(docsInformatius);\r\n*/\r\n\t\t\r\n\t\tTraduccionTramite traduccio=new TraduccionTramite();\r\n\t\ttraduccio.setNombre(nomTramit);\r\n\t\ttraduccio.setDescripcion(\"desc\");\r\n\t\ttraduccio.setObservaciones(\"obs\");\r\n\t\ttraduccio.setPlazos(\"3 mesos\");\r\n\r\n\t\t\r\n\t\tt.setTraduccion(\"ca\", traduccio);\r\n\t\tProcedimientoLocal procedimiento = new ProcedimientoLocal();\r\n\t\tprocedimiento.setFamilia(new Familia());\r\n\t\tt.setProcedimiento(procedimiento);\r\n\t\t\r\n\t\t// es comenta perque aquest id es posa al fer la crida a grabar()\r\n\t\t//UnidadAdministrativa oc = new UnidadAdministrativa(202L); \r\n\t\t//t.setOrganCompetent(oc);\r\n\t\t\r\n\t\treturn t;\r\n\t}","title":""},{"docid":"cf4b9bbe1594de1c8888587b8e117a7a","score":"0.59028494","text":"public void NuevoRegistroTrabajadorFormal(TrabajadorFormal x){\n //Datos usuario\n String cod = Integer.toString(x.getCodigo());\n String nombre = x.getNombre();\n String apellido = x.getApellido();\n String tel = Integer.toString(x.getTelefono());\n String correo = x.getCorreo();\n \n //Datos TrabajadorFormal\n String edad = Integer.toString(x.getEdad());\n String educacion = Integer.toString(x.getNivelEducacion());\n String idioma = Integer.toString(x.getIdiomas());\n String exp = String.valueOf(x.getExperiencia());\n String trans = String.valueOf(x.getTransporte());\n String home = String.valueOf(x.getHomeOffice());\n String expertise = Integer.toString(x.getNivelExpertise());\n String fila = cod+\",\"+nombre+\",\"+apellido+\",\"+correo+\",\"+tel+\",\"+edad+\",\"+educacion+\",\"+idioma+\",\"+exp+\",\"+trans+\",\"+home+\",\"+expertise;\n registrarBD(fila, \"TABLA2\");\n }","title":""},{"docid":"cec6baae23fbddc4fcf6efbde2366229","score":"0.5902109","text":"public void ejecucion() throws Exception {\n\t\t//Activamos las trazas\n\t\tsetTrazaFichero();\n\t\n\t\ttry{\n\t\t\t//Sacamos la acción a realizar y ejecutamos la acción correspondiente\n\t\t\tString accion = conectorParametro(PARAMETRO_GENERICO_ACCION);\n\t\t\tString origen = conectorParametro(PARAMETRO_GENERICO_ORIGEN);\n\t\t\t\n\t\t\t//Caragamos los elemetnos en la pagina\n\t\t\tasignar(\"VAR\",PARAMETRO_GENERICO_ACCION,accion);\n\t\t\tasignar(\"VAR\",PARAMETRO_GENERICO_ORIGEN,origen);\n\t\n\t\t\t//Ejecutamos la acción indicada\n\t\t\tif(accion.equals(ACCION_CREATE)) cmdCreate();\n\t\t\tif(accion.equals(ACCION_UPDATE)) cmdUpdate();\n\t\t\tif(accion.equals(ACCION_REMOVE)) cmdRemove();\n\t\t}catch(Exception e){\n\t\t\thandleException(e);\n\t\t}\n }","title":""},{"docid":"271aa87d8ce879f5730bf820ef9724e9","score":"0.59001607","text":"@Test\r\n public void testPuenteMostrarTabla() {\r\n System.out.println(\"PuenteMostrarTabla\");\r\n JTable TablaO = new JTable();\r\n PuenteObservaciones instance = new PuenteObservaciones();\r\n JTable expResult = TablaO;\r\n JTable result = instance.PuenteMostrarTabla(TablaO);\r\n assertEquals(expResult, result);\r\n }","title":""},{"docid":"c60452ec140536c1e816105d33135df7","score":"0.5896299","text":"public void criarTransacao() {\n\t}","title":""},{"docid":"a5a8fde26a62130f9ec1234464bcdb0b","score":"0.58885926","text":"public Tradicional() \n {\n int rpta = 0;\n do{\n System.out.println(\"\\nSeleccione MODELO DE TELEFONO\\n1- Almeja\\n2- Slice\\n3- Normal\");\n rpta= Leer.datoInt();\n switch (rpta) {\n case 1:\n this.tipoFono = \"Almeja\";\n break;\n case 2:\n this.tipoFono = \"Slice\";\n break;\n case 3:\n this.tipoFono = \"Normal\";\n break;\n default:\n System.out.println(\"\\n**INGRESE UNA OPCION VALIDA**\");\n break;\n }\n }while(rpta!=1&&rpta!=2&&rpta!=3);\n }","title":""},{"docid":"8184a7e08bc0c3f8fed6d698a821bcf4","score":"0.5887677","text":"@Override\n\tprotected void horario() {\n\t\t\n\t}","title":""},{"docid":"400c91ad980ab56311e6178e4a4973fa","score":"0.5880128","text":"public Controlador()\n {\n this.interfaz = new Interfaz(TITULO_VENTANAS, NOMBRE_ARCHIVO_IMAGEN);\n filas=0;\n columnas=0;\n this.tablero=new TableroDeCompus(filas, columnas);\n this.arbitro= new Arbitro(tablero);\n }","title":""},{"docid":"abde9aa782f0e9d2cbec9d58f7af60f0","score":"0.5875941","text":"public void ejecucion() throws Exception {\n\n asignarAtributoPagina(\"cod\", \"08\");\n \n\t\tsetTrazaFichero();\n\n\t\ttry\t{\n\t\t\t\n\t\t\t// Rastreo\n\t\t\trastreo();\n\n\t\t\tString sAccion = conectorParametroLimpia(\"accion\",\"\",true); \n\n\t\t\tString sPais = conectorParametroLimpia(\"hidPais\",\"\",true); \n\t\t\tString sNSEBelcorp = conectorParametroLimpia(\"comboNSEBelcorp\",\"\",true); \n\t\t\tString sNSEPais = conectorParametroLimpia(\"comboNSEPais\",\"\",true); \n\n\t\t\tVector paramEntrada = new Vector();\n\t\t\tVector paramEntradaDefAsocNiv = new Vector();\n\t\t\tVector paramEntradaRec = new Vector();\n\t\t\t\n\t\t\tDruidaConector conectorCargarPaginaDefinirNiveles = null;\n\t\t\tDruidaConector conectorDefinirAsociacionNiveles = null;\n\n\t\t\tDTOInternacional dtoeInter = new DTOInternacional();\t \n\t\t\tDTOListaAsociacionNiveles dtoeAsociNiv = new DTOListaAsociacionNiveles();\t \n\n\t\t\tStringTokenizer stkNSEBelcorp = null;\n\t\t\tStringTokenizer stkNSEPais = null;\n\n\t\t\ttraza(\"accion: \" + sAccion);\n\n traza(\"sPais: \" + sPais);\n\t\t\ttraza(\"sNSEBelcorp: \" + sNSEBelcorp);\n\t\t\ttraza(\"sNSEPais: \" + sNSEPais);\n\n\t\t\tif (sAccion.equals(\"\") || sAccion.equals(\"seleccion de pais\")) { \n\t\t\t\t\n\t\t\t\tdtoeInter.setOidPais(sAccion.equals(\"\")?UtilidadesSession.getPais(this):Long.valueOf(sPais));\t\t\t\n\t\t\t\t\n\t\t\t\tdtoeInter.setOidIdioma(UtilidadesSession.getIdioma(this));\t\t\t\t\n\t\t\t\t\n\t\t\t\tasignarAtributo(\"VAR\",\"hidPais\",\"valor\", sAccion.equals(\"\")?UtilidadesSession.getPais(this).toString():sPais);\t\t\n\t\t\t\t\n\t\t\t\ttraza(\"dtoeInter: \" + dtoeInter);\n\n\t\t\t\tparamEntrada.add(dtoeInter);\n\t\t\t\tparamEntrada.add(new MareBusinessID(\"SEGCargarPaginaDefinirNiveles\"));\n \n\t\t\t\ttraza(\"antes 1.1\");\n\t\t\t\tconectorCargarPaginaDefinirNiveles = conectar(\"ConectorCargarPaginaDefinirNiveles\", paramEntrada);\n\t\t\t\ttraza(\"despues 1.1\");\n\n\t\t\t\ttraza(\"ConectorCargarPaginaDefinirNiveles: \" + conectorCargarPaginaDefinirNiveles.getXML().toString());\n\n asignar(\"COMBO\",\"comboPais\",conectorCargarPaginaDefinirNiveles,\"dtoSalida.paises_ROWSET\");\t\t\t\n\t\t\t\tasignar(\"COMBO\",\"comboNSEBelcorp\",conectorCargarPaginaDefinirNiveles,\"dtoSalida.nivelesSocioeconomicosBelcorp_ROWSET\");\t\t\t\n\t\t\t\tasignar(\"COMBO\",\"comboNSEPais\",conectorCargarPaginaDefinirNiveles,\"dtoSalida.tiposNivelesSocioeconomicosPersonal_ROWSET\");\t\t\t\n\n\t\t\t} else if (sAccion.equals(\"guardar\")) {\n\n pagina(\"salidaGenerica\");\n\n\t\t\t\tstkNSEBelcorp = new StringTokenizer(sNSEBelcorp,\"|\");\n\t\t\t\tstkNSEPais = new StringTokenizer(sNSEPais,\",|\");\n\n\t\t\t\tArrayList arrLstAsociaciones = new ArrayList();\n\t\t\t\tAsociacionNivelesDTO asociacion = null;\n\t\t\t\t\t\t\t\n\t\t\t\twhile (stkNSEBelcorp.hasMoreTokens()) {\n\n\t\t\t\t\tLong oidNivelSocioeconomicoBelcorp = Long.valueOf(stkNSEBelcorp.nextToken());\n\t\t\t\t\tstkNSEPais = new StringTokenizer(sNSEPais,\",|\");\n\t\t\t\t\t\n\t\t\t\t\twhile (stkNSEPais.hasMoreTokens()) {\n\n\t\t\t\t\t\tasociacion = new AsociacionNivelesDTO();\n\t\t\t\t\t\tasociacion.setOidNivelSocioeconomicoBelcorp(oidNivelSocioeconomicoBelcorp);\n\t\t\t\t\t\tasociacion.setOidTipoNivelSocioeconomicoPersonal(Long.valueOf(stkNSEPais.nextToken()));\n\n\t\t\t\t\t\tarrLstAsociaciones.add(asociacion);\t\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\ttraza(\"arrLstAsociaciones \" + arrLstAsociaciones);\n\n\t\t\t\tdtoeAsociNiv.setAsociaciones((AsociacionNivelesDTO[])arrLstAsociaciones.toArray(new AsociacionNivelesDTO[0]));\n\n\t\t\t\tdtoeAsociNiv.setIpCliente(UtilidadesBelcorp.getIPCliente(this));\t\t\t\t\n dtoeAsociNiv.setPrograma(UtilidadesSession.getFuncion(this));\n\t\t\t\ttraza(\"encontro IP Cliente y funcion\");\n\n\t\t\t\tparamEntradaDefAsocNiv.add(dtoeAsociNiv); \n\t\t\t\tparamEntradaDefAsocNiv.add(new MareBusinessID(\"SEGDefinirAsociacionNiveles\"));\n \n\t\t\t\ttraza(\"antes 3.1\");\n\t\t\t\tconectorDefinirAsociacionNiveles = conectar(\"ConectorDefinirAsociacionNiveles\", paramEntradaDefAsocNiv);\n\t\t\t\ttraza(\"despues 3.1\");\n\n\t\t\t\t// Vuelve a la pantalla inicial\n\t\t\t\tdtoeInter.setOidPais(UtilidadesSession.getPais(this));\t\t\t\n\t\t\t\tdtoeInter.setOidIdioma(UtilidadesSession.getIdioma(this));\t\t\t\t\n\t\t\t\ttraza(\"dtoeInter: \" + dtoeInter);\n\n\t\t\t\tparamEntradaRec.add(dtoeInter);\n\t\t\t\tparamEntradaRec.add(new MareBusinessID(\"SEGCargarPaginaDefinirNiveles\"));\n \n\t\t\t\tconectorCargarPaginaDefinirNiveles = conectar(\"ConectorCargarPaginaDefinirNiveles\", paramEntradaRec);\n\n asignarAtributo(\"VAR\",\"ejecutar\",\"valor\",\"persistioOk('\" + UtilidadesSession.getPais(this).toString()+\"');\");\n\n\t\t\t}\n\n\t\t}catch (Exception ex){\n \n\t\t\tlogStackTrace(ex); \n\n\t\t\tthis.lanzarPaginaError(ex);\n asignarAtributo(\"VAR\",\"ejecutarError\",\"valor\",\"noPersistio();\");\n\t }\n\n\t\tgetConfiguracionMenu(\"LPDefinirNivelesSocioeconomicos\");\n\t}","title":""},{"docid":"8eac239c9b7c39745ceb72fb7916e30b","score":"0.5873391","text":"public void perfecto () throws Errores{\n id = userJTF.getText();\n //Al Objeto-Variable pass le vamos a asignar un valor que el usuario ingresara\n pass = passJPF.getText();\n //Se instancia un nuevo objeto de la clase Trabajadores\n Trabajadores trab1 = new Trabajadores();\n \n //Estructura de control, para con el objeto, mandar a llamar al metodo\n //Comprobacion para comprobar que el usuario si es usuario.\n if (trab1.comprobacion(id, pass) == true) {\n JOptionPane.showMessageDialog(null, \"Iniciado con exito\");\n //Si coinciden la id y el password, da exito de conexion.\n //Si coincide con un id y pass de gerente entonces se da lugar a Gerente.\n if (trab1.puesto(id, pass).equals(\"Gerente\")) {\n Gerente vip = new Gerente(id, pass);\n vip.showUser(id, pass);\n vip.Cobrar();\n //Si no, empleado.\n } else {\n Empleado gen = new Empleado(id, pass);\n\n }\n\n } else {\n JOptionPane.showMessageDialog(null, \"Intente nuevamente\");\n setVisible(true);\n }\n }","title":""},{"docid":"1a14c15351f9745381cea8eba34abdbe","score":"0.58615875","text":"@Override\n protected void creaRecords() {\n /* variabili e costanti locali di lavoro */\n\n try { // prova ad eseguire il codice\n this.creaNazioni();\n } catch (Exception unErrore) { // intercetta l'errore\n Errore.crea(unErrore);\n }// fine del blocco try-catch\n }","title":""},{"docid":"dda3b5a5b8e9e69b6eec0807bf162606","score":"0.5847651","text":"@Override\r\n\tpublic void rozmnozovat() {\n\t\t\r\n\t}","title":""},{"docid":"42693116fba02f3f07be1ab752c6d9bc","score":"0.5840028","text":"@Override\r\n\tpublic void concentrarse() {\n\t\t\r\n\t}","title":""},{"docid":"2019e12c4aac7cfabc0f63807d11221d","score":"0.5836225","text":"@Override\n\tprotected void refrescarTabla() throws Exception {\n\t\tint ind = 0;\n\t\tProveedor proveedor = (Proveedor) this.obtenerObjetoDelElementoPila(ind++, Proveedor.class);\n\t\tCuentaCorriente cuentaCorriente = new CuentaCorriente();\n\t\t// double totalAdeudado = 0.0;\n\t\tboolean err = false;\n\n\t\tif(proveedor == null) {\n\t\t\twarn(\"Debe seleccionar un Proveedor para realizar la b\\372squeda.\");\n\t\t\terr = true;\n\t\t}\n\n\t\tif(!err) {\n\t\t\ttry {\n\t\t\t\tthis.getCommunicationCajaBean().getRemoteSystemAdministracionEgresos().setLlave(this.getSessionBean1().getLlave());\n\t\t\t\tcuentaCorriente = (CuentaCorriente) this.getCommunicationCajaBean().getRemoteSystemAdministracionEgresos().generarCuentaCorriente(proveedor);\n\t\t\t} catch(Exception ex) {\n\t\t\t\tlog(getCasoNavegacion() + \"_AdminEstadoCuentaCorriente: \" + ex);\n\t\t\t\terror(getNombrePagina() + \" - Administrar Estado de Cuenta Corriente: \" + ex.getMessage());\n\t\t\t\tex.getStackTrace();\n\t\t\t}\n\n\t\t\t// ingreso\n\t\t\tthis.getObjectListDataProvider().setList(cuentaCorriente.getListaMovimientosIngreso());\n\t\t\tthis.setListaDelCommunication(cuentaCorriente.getListaMovimientosIngreso());\n\n\t\t\t// egreso\n\t\t\tthis.getObjectListDataProvider2().setList(cuentaCorriente.getListaMovimientosEgreso());\n\t\t\tthis.setListaDelCommunication2(cuentaCorriente.getListaMovimientosEgreso());\n\n\t\t\t//\n\t\t\t// for (int i = 0; i < this.getListaDelCommunication().size(); i++)\n\t\t\t// {\n\t\t\t// EstadoCuentaContribuyente locEstadoCuentaContribuyente =\n\t\t\t// (EstadoCuentaContribuyente)\n\t\t\t// this.getListaDelCommunication().get(i);\n\t\t\t// totalAdeudado +=\n\t\t\t// locEstadoCuentaContribuyente.getTotalAdeudado().doubleValue();\n\t\t\t//\n\t\t\t// }\n\t\t\tthis.getStSaldo().setText(Conversor.getStringDeDouble(cuentaCorriente.getSaldo()));\n\t\t\tthis.getElementoPila().getObjetos().set(1, cuentaCorriente.getSaldo());\n\t\t} else {\n\t\t\tthis.getObjectListDataProvider().setList(null);\n\t\t\tthis.setListaDelCommunication(null);\n\t\t\tthis.getObjectListDataProvider2().setList(null);\n\t\t\tthis.setListaDelCommunication2(null);\n\t\t}\n\n\t}","title":""},{"docid":"30efcac699c2b057420f5c626f511ab8","score":"0.5835823","text":"public abstract void tratarColisionEscenarioY();","title":""},{"docid":"feba6a3f3069c37983fd8cb7fec4d595","score":"0.5835558","text":"public void borrarTablaProyecto() {\n\r\n\t}","title":""},{"docid":"98a3ddd289db5b4cb379177335af6dd5","score":"0.58318174","text":"public void ejecucion() throws Exception {\n\t\ttry{\n\t\t\t//Ejecutamos las acciones comunes\n\t\t\tsuper.ejecucion();\n\t\t\n\t\t\t//Metemos en la sesión la query de la busqueda en formato param1|param2|....|paramN(para el tema de volver a la \n\t\t\t//pagina anterior y ,mantener los últimos resultados)\n\t\t\tconectorParametroSesion(SESSION_ATTRIBUTE_LAST_QUERY, \n\t\t\t\tconectorParametroSesion(SESSION_ATTRIBUTE_LAST_QUERY));\n\t\t\t\n\t\t\ttraza(\"MMG:: LLegao a transaction Query de entidad MaeExencFlete\");\n\t\t\tString ticlOidTipoClie = (String)getEntrada(\"ticlOidTipoClie\");\n\t\t\ttraza(\"MMG:: Valor de atributo ticlOidTipoClie: \" + ticlOidTipoClie);\n\t\t\tString sbtiOidSubtClie = (String)getEntrada(\"sbtiOidSubtClie\");\n\t\t\ttraza(\"MMG:: Valor de atributo sbtiOidSubtClie: \" + sbtiOidSubtClie);\n\t\t\tString tcclOidTipoClas = (String)getEntrada(\"tcclOidTipoClas\");\n\t\t\ttraza(\"MMG:: Valor de atributo tcclOidTipoClas: \" + tcclOidTipoClas);\n\t\t\tString clasOidClas = (String)getEntrada(\"clasOidClas\");\n\t\t\ttraza(\"MMG:: Valor de atributo clasOidClas: \" + clasOidClas);\n\t\t\tString indExenFlet = (String)getEntrada(\"indExenFlet\");\n\t\t\ttraza(\"MMG:: Valor de atributo indExenFlet: \" + indExenFlet);\n\t\t\t\n\t\t\n\t\t\t//Construimos los MSOs (from y to) con los elementos de la búsqueda\n\t\t\tMaeExencFleteData maeExencFleteFrom =new MaeExencFleteData();\n\t\t\tMaeExencFleteData maeExencFleteTo = new MaeExencFleteData();\n\t\t\t\n\t\t\t//Construimos el from. Los campos que no sean de intervalo ponemos\n\t\t\t//el mismo valor que el from. y los que si sen de intervalo ponemos el valor\n\t\t\t//corespondiente\n\t\t\tes.indra.belcorp.mso.MaeTipoClienData ticlOidTipoClieData = null;\n\t\t\tif(ticlOidTipoClie != null && !ticlOidTipoClie.trim().equals(\"\")){\n\t\t\t\tticlOidTipoClieData = new es.indra.belcorp.mso.MaeTipoClienData();\n\t\t\t\tticlOidTipoClieData.setId(new Long(ticlOidTipoClie));\n\t\t\t}\n\t\t\tmaeExencFleteFrom.setTiclOidTipoClie(ticlOidTipoClieData);\n\t\t\tes.indra.belcorp.mso.MaeSubtiClienViewData sbtiOidSubtClieData = null;\n\t\t\tif(sbtiOidSubtClie != null && !sbtiOidSubtClie.trim().equals(\"\")){\n\t\t\t\tsbtiOidSubtClieData = new es.indra.belcorp.mso.MaeSubtiClienViewData();\n\t\t\t\tsbtiOidSubtClieData.setId(new Long(sbtiOidSubtClie));\n\t\t\t}\n\t\t\tmaeExencFleteFrom.setSbtiOidSubtClie(sbtiOidSubtClieData);\n\t\t\tes.indra.belcorp.mso.MaeTipoClasiClienViewData tcclOidTipoClasData = null;\n\t\t\tif(tcclOidTipoClas != null && !tcclOidTipoClas.trim().equals(\"\")){\n\t\t\t\ttcclOidTipoClasData = new es.indra.belcorp.mso.MaeTipoClasiClienViewData();\n\t\t\t\ttcclOidTipoClasData.setId(new Long(tcclOidTipoClas));\n\t\t\t}\n\t\t\tmaeExencFleteFrom.setTcclOidTipoClas(tcclOidTipoClasData);\n\t\t\tes.indra.belcorp.mso.MaeClasiViewData clasOidClasData = null;\n\t\t\tif(clasOidClas != null && !clasOidClas.trim().equals(\"\")){\n\t\t\t\tclasOidClasData = new es.indra.belcorp.mso.MaeClasiViewData();\n\t\t\t\tclasOidClasData.setId(new Long(clasOidClas));\n\t\t\t}\n\t\t\tmaeExencFleteFrom.setClasOidClas(clasOidClasData);\n\t\t\tmaeExencFleteFrom.setIndExenFlet(\n\t\t\t\t(java.lang.String)FormatUtils.parseObject(indExenFlet, \"java.lang.String\", \n\t\t\tMMGDruidaHelper.getUserDecimalFormatPattern(this)\n\t\t\t, MMGDruidaHelper.getUserDecimalFormatSymbols(this)));\n\t\t\t\n\t\t\t\n\t\t\t//Construimos el to\n\t\t\tmaeExencFleteTo = (MaeExencFleteData)maeExencFleteFrom.clone();\n\t\t\t\n\t\t\t\n\t\t\t//Metemos tanto el fromo como el to como últimos mso con parámetros de búsqueda\n\t\t\tconectorParametroSesion(SESSION_ATTRIBUTE_LAST_QUERY_OBJ_FROM, maeExencFleteFrom);\n\t\t\tconectorParametroSesion(SESSION_ATTRIBUTE_LAST_QUERY_OBJ_TO, maeExencFleteTo);\n\t\t\t\n\t\t\t//Sacamos los datos de paginación\n\t\t\tInteger pageCount = new Integer((String)getEntrada(\"pageCount\"));\n\t\t\tInteger pageSize = new Integer((String)getEntrada(\"pageSize\"));\n\t\t\t\n\t\t\t//Creamos el dto y el bussines id correspondientes a la acción de realiza una query\n\t\t\tVector datos = new Vector();\n\t\t\tMareDTO dto = new MareDTO();\n\t\t\tdto.addProperty(\"maeExencFleteFrom\", maeExencFleteFrom);\n\t\t\tdto.addProperty(\"maeExencFleteTo\", maeExencFleteTo);\n\t\t\tdto.addProperty(\"pageCount\", pageCount);\n\t\t\tdto.addProperty(\"pageSize\", pageSize);\n\t\t\tdto.addProperty(\"userProperties\", MMGDruidaHelper.getUserProperties(this));\n\t\t\t\n\t\t\tdatos.add(dto);\n\t\t\tdatos.add(new MareBusinessID(BUSINESSID_QUERY));\n\t\t\t\n\t\t\t//Ejecutamos la acción de prequery\n\t\t\tcmdPreQuery(maeExencFleteFrom, maeExencFleteTo);\n\t\t\t\n\t\t\t\n\t\t\t//Invocamos la lógica de negocio\n\t\t\ttraza(\"MMG:: Iniciada ejecución Query de entidad MaeExencFlete\");\n\t\t\tDruidaConector conectorQuery = conectar(CONECTOR_QUERY_LIST, datos);\n\t\t\ttraza(\"MMG:: Finalizada ejecución Query de entidad MaeExencFlete\");\n\t\t\t\n\t\t\t//Ejecutamos la acción de postquery\n\t\t\tcmdPostQuery(maeExencFleteFrom, maeExencFleteTo, conectorQuery);\n\t\t\t\n\t\n\t\t\t//Definimos el resultado del conector\n\t\t\tsetConector(conectorQuery);\n\t\t}catch(Exception e){\n\t\t\thandleException(e);\n\t\t}\n\t}","title":""},{"docid":"1dc303095676c1e0fcc1424e870d054f","score":"0.58273864","text":"public void buildTorta();","title":""},{"docid":"afc81d10d78f8cc7fd86382ce8050bce","score":"0.58233744","text":"public void tratarConductor(Object informacion);","title":""},{"docid":"388760f6617923ef3eb3b0f944793ed2","score":"0.58064806","text":"public Table getTavola(Funzione funzione) {\n Table tavola = null;\n List lista = null;\n WamCompany company = (WamCompany) CompanySessionLib.getCompany();\n\n if (company != null) {\n lista = Servizio.getListByCompany(company);\n }// end of if cycle\n\n return tavola;\n }","title":""},{"docid":"a9231f5f48960cdcc9c5ed10043e228c","score":"0.5795452","text":"public ArbolMViasBusqueda() {\n this.orden = 3;\n }","title":""},{"docid":"48df86b71abd4cc08a3962878eeef3ea","score":"0.57909125","text":"public musteri() {\n initComponents();\n TabloDoldur();\n }","title":""},{"docid":"bea34ab6a52e97a6caf237f699109a36","score":"0.5790027","text":"public void borrarTablaActividad() {\n\r\n\t}","title":""},{"docid":"6df963785124a7ba063903d8228f1910","score":"0.5789258","text":"private void inicializar() {\r\n\r\n }","title":""},{"docid":"86a0b8147656652a76f98c8d8096c1b1","score":"0.57841945","text":"private void crearEntidad()\r\n/* 143: */ {\r\n/* 144:193 */ this.rutaFabricacion = new RutaFabricacion();\r\n/* 145:194 */ this.rutaFabricacion.setIdOrganizacion(AppUtil.getOrganizacion().getIdOrganizacion());\r\n/* 146:195 */ this.rutaFabricacion.setIdSucursal(AppUtil.getSucursal().getIdSucursal());\r\n/* 147: */ }","title":""},{"docid":"dbb6f463b12f82115e9b53e5aad85e80","score":"0.5782376","text":"@Override\n public void builruedas() {\n Carro.setruedas(ConstruirPiezas(new RuedaConcreta())); // setea el valor de las ruedas creadas\n }","title":""},{"docid":"9969c2cd0a26f223be9eea348d1c6160","score":"0.57804805","text":"private static void 로또수동생성() {\n\t\t\r\n\t}","title":""},{"docid":"7a5dd3fcafd2f1afb78d75140f89f300","score":"0.57801235","text":"public abstract void tomarPocionDeAgua();","title":""},{"docid":"cbdd2e8b0cb245d54e168be8b9e262cf","score":"0.577892","text":"public void mostrarTabela();","title":""},{"docid":"fcc85ba2482267838148eda3d428a9e9","score":"0.5761595","text":"public void atualizarTabela(){\r\n \r\n \r\n /**\r\n * buscar lista com pessoas no BD\r\n */\r\n PessoaDAO pessoaDAO = new PessoaDAO();\r\n ArrayList pessoas = pessoaDAO.selectAll();\r\n \r\n \r\n /**\r\n * exibir lista na view\r\n */\r\n helper.preencherTabela(pessoas);\r\n \r\n }","title":""},{"docid":"dfcbc1f7c222f5cbc2845d29625de04c","score":"0.57609355","text":"@Override\n\tpublic void teclaVolverPreionada() {\n\t\t\n\t}","title":""},{"docid":"faa755a33867018a4d23f6ea6355c732","score":"0.5747495","text":"private void inicializar() {\n this.accion = 0;\n\n controlador = new AsignacionHorarioControlador();\n hc = new HorarioControlador();\n gc = new GrupoHorarioControlador();\n ec = new EmpleadoControlador();\n listado = ObservableCollections.observableList(new ArrayList());\n horarioList = hc.buscarTodos();\n grupoList = gc.buscarTodos();\n\n this.controles(accion);\n\n }","title":""},{"docid":"9c6a4ac999828e1aaf288099683cd073","score":"0.574649","text":"private void CargarTabla() {\n try {\n \n Object o[] = null;\n List listUsuarios = PC.findPacienteEntities();\n for (int i = 0; i < listUsuarios.size(); i++) {\n \n modelo.addRow(o);\n modelo.setValueAt(listUsuarios.get(i).getIdPaciente(), i, 0);\n modelo.setValueAt(listUsuarios.get(i).getNombres(), i, 1);\n modelo.setValueAt(listUsuarios.get(i).getApellidos(), i, 2);\n modelo.setValueAt(listUsuarios.get(i).getFechaNacimiento(), i, 3);\n modelo.setValueAt(listUsuarios.get(i).getDui(), i, 4);\n modelo.setValueAt(listUsuarios.get(i).getSexo(), i, 5);\n modelo.setValueAt(listUsuarios.get(i).getOcupacion(), i, 6);\n modelo.setValueAt(listUsuarios.get(i).getDireccion(), i, 7);\n modelo.setValueAt(listUsuarios.get(i).getEstadoCivil(), i, 8);\n modelo.setValueAt(listUsuarios.get(i).getTelefono(), i, 9);\n }\n } catch (Exception e) {\n JOptionPane.showMessageDialog(null, e.getMessage());\n }\n }","title":""},{"docid":"d9b2d2d099c276eef573b7a44c0bc75b","score":"0.5738249","text":"public void insertarTablaCampos() {\n int filas = 0;\n\n tablemodel.addRow(new Object[0]);\n //NodoDoble flag = lista.inicio;\n\n try {\n\n for (int i = 0; i < listaCamps.size(); i++) {\n\n if (listaCamps.get(i).isKey() == true) {\n tablemodel.setValueAt(\"Si\", filas, 0);\n\n } else {\n tablemodel.setValueAt(\"No\", filas, 0);\n }\n\n tablemodel.setValueAt(listaCamps.get(i).getNombre(), filas, 1);\n tablemodel.setValueAt(listaCamps.get(i).getSize(), filas, 2);\n tablemodel.setValueAt(listaCamps.get(i).getTipo(), filas, 3);\n\n tablemodel.addRow(new Object[filas]);\n\n //flag = flag.siguiente;\n filas++;\n }\n\n } catch (Exception e) {\n\n }\n }","title":""},{"docid":"9581acc7cc746f2c5feabed9b6afc470","score":"0.573522","text":"private void buscarSucursal(DefaultTableModel table) {\n if (!view.txt_buscarSucursal.getText().isEmpty() && view.txt_buscarSucursal.getText() != null) {\n //el campo tiene informacion\n //creamos un objeto de tipo sucursal y le enviamos \n Sucursal sucursal = new Sucursal();\n Sucursal nuevaSucursal = new Sucursal();\n sucursal.setId_sucursal(Integer.parseInt(view.txt_buscarSucursal.getText()));\n //se ejecuta el metodo de busqueda y se iguala al objeto anteriormente hecho\n nuevaSucursal = sqlsucursal.consultarRegistroSucursal(sucursal);\n //si es null no se encontro ningun registro con ese id\n if (nuevaSucursal != null) {\n //se encontro un registro\n //se crea un arreglo de tipo object en donde se le asigna a cada posicion la informacion de cada sucursal\n Object[] sucursalObject = new Object[6];\n sucursalObject[0] = nuevaSucursal.getId_sucursal();\n sucursalObject[1] = nuevaSucursal.getDescripcion();\n sucursalObject[2] = nuevaSucursal.getDireccion();\n sucursalObject[3] = nuevaSucursal.getTelefono();\n sucursalObject[4] = new ImageIcon(getClass().getResource(\"/icons/edit.png\")); //icono actualizar\n sucursalObject[5] = new ImageIcon(getClass().getResource(\"/icons/delete.png\")); //icono eliminar\n\n //se agrega la fila con la informacion\n table.addRow(sucursalObject);\n\n //se crean los botones en la tabla\n //boton de actualizar\n ButtonColumn btnUpdate = new ButtonColumn(view.jtable_sucursal, actualizarSucursal(), 4);\n //boton de eliminar\n ButtonColumn btnDelete = new ButtonColumn(view.jtable_sucursal, eliminarSucursal(), 5);\n view.txt_buscarSucursal.setText(\"\");\n } else {\n //no se encontro el registro\n JOptionPane.showMessageDialog(null, \"No se encontró niguna sucursal\", \"ATENCIÓN\", JOptionPane.INFORMATION_MESSAGE);\n //se ejecuta consultar\n consultarSucursal(tablaSucursal());\n }\n } else {\n //el campo esta vacio\n //se ejecuta consultar\n consultarSucursal(tablaSucursal());\n view.txt_buscarSucursal.setText(\"\");\n }\n }","title":""},{"docid":"a762671504c990d9b08c3a4360624f9e","score":"0.57231075","text":"private void obterDadosTabela() {\n\r\n\t\tint quantProcessos = ((DefaultTableModel) table.getModel()).getRowCount();\r\n\r\n\t\tListaTempoChegada objLista = new ListaTempoChegada();\r\n\t\t// percorre todas as linhas dos processos\r\n\r\n\t\tfor (int i = 0; i < quantProcessos; i++) {\r\n\t\t\tInteger[] a = obterColunasProcesso(i);\r\n\t\t\tobjLista.InserirProcessoOrdenado(a[0], a[1], a[2]);\r\n\t\t}\r\n\t\tif (chaveCheckBoxSjf == 1 && quantProcessos > 0) {\r\n\t\t\tSjf objSjf = new Sjf();\r\n\t\t\tSjf.sjf=true;\r\n\t\t\tobjSjf.executarProcessos();\r\n\t\t}\r\n\t\telse if (chaveCheckBoxRoundRobin == 1 && quantProcessos > 0) {\r\n\t\t\tSjf.sjf=false;\r\n\t\t\tRoundRobin rr = new RoundRobin();\r\n\t\t\trr.quantum = Integer.parseInt(txtFieldQuantum.getText());\r\n\t\t\trr.executar();\r\n\t\t}\r\n\r\n\t}","title":""},{"docid":"6cc47c296c843ff159fe4faf457282eb","score":"0.57224303","text":"public void borrarTablaEstado() {\n\r\n\t}","title":""},{"docid":"b8f46e8a94ec28d6ae9925f06ac6b1c0","score":"0.5713451","text":"private void generar() {\n String sql = \"SELECT \\n\"\n + \" subcuenta.idsubcuenta as id,subcuenta.nombre as nom,cambiodemonto.cambiohaber as haber,cambiodemonto.cambiodebe as debe\\n\"\n + \"FROM \\n\"\n + \" public.subcuenta, \\n\"\n + \" public.cambiodemonto, \\n\"\n + \" public.transaccion\\n\"\n + \"WHERE \\n\"\n + \" cambiodemonto.idsubcuenta = subcuenta.idsubcuenta AND\\n\"\n + \" transaccion.idtransaccion = cambiodemonto.idtransaccion and transaccion.idtransaccion=?\";\n String label = \"\";\n try {\n PreparedStatement sentencia = conect.getConexion().prepareStatement(sql);\n sentencia.setInt(1, this.codigo);\n ResultSet resultado = sentencia.executeQuery();\n while (resultado.next()) {\n\n label = \"\" + label + \"
\" + String.valueOf(resultado.getInt(\"id\")) + \" \" + resultado.getString(\"nom\") + \" con saldos Debe: $\" + String.valueOf(resultado.getDouble(\"debe\")) + \" Haber: $\" + String.valueOf(resultado.getDouble(\"haber\"))\n + \" \\n\";\n\n }\n\n } catch (SQLException ex) {\n Logger.getLogger(mostrarTransaccion.class.getName()).log(Level.SEVERE, null, ex);\n }\n\n labelCreado.setText(label);\n\n }","title":""},{"docid":"684eb10258df95f20c92eeb3b700646a","score":"0.5710611","text":"public boolean trataAgentes() {\n\t\t\n\t\tboolean ret = true ; \n\t\n\t\t// Pega dados antes de excluir todas os registros\n \tParametroDAO paDao = new ParametroDAO(context);\n \t\t\n \tCursor c = paDao.getParametros();\n \t\t\n \t// dados para comunica��o com o WebTrans\n \t// pega novamente aqui pois quando a classe � chamada com par�metro \"2\" n�o carrega os equipamentos\n \ttry\n \t{\n \t\t//********************************************\n \t\t// 09.08.2012\n \t\t//\n \t\t// Define usuario fixo para leitura de Tabelas\n \t\t//\n \t\t//********************************************\n \t\t\n \t\tsenhaWebTrans = MD5Util.criptografar(\"2015RES\");\n \t\t\n \t\t//usuarioWebTrans = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\"usuariowebtrans\")));\n \t\t//senhaWebTrans = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\"senhawebtrans\")));\n \t\t\n \t\tString xcod = SimpleCrypto.decrypt(Utilitarios.getInfo(), c.getString(c.getColumnIndex(\"orgaoautuador\")));\n \t\tcodMunicipio = xcod.subSequence(1, 5).toString(); //265810\n \t\t\n \t\tusuarioWebTrans = \"LOGWEBTRANS\" + codMunicipio;\n \t}\n \tcatch( Exception ex )\n \t{\n \t\tret=false;\n \t}\n \t\n\n \t\n \t//codMunicipio = c.getString(c.getColumnIndex(\"orgaoautuador\")).subSequence(1, 5).toString(); //265810\n \t\n \tString c1,c2,c3;\n \tc1 = usuarioWebTrans ;\n \tc2 = senhaWebTrans ;\n \tc3 = codMunicipio ;\n \t\n \tc.close();\n \t\t\n \tpaDao.close();\n \t\t\t\n\t\t\n\t\t// tenta decodificar todos o array primeiro\n\n\t\tfor ( int nx = 0 ; nx < jsonArray.length();nx++)\n\t\t{\n\t\t\t\n\t\t\tAgente agente = new Agente();\n\t\t\t\n\t\t\ttry {\n\t\t\t\n\t\t\t\tjson1 = jsonArray.getJSONObject(nx);\n\t\t\t\t\n\t\t\t\tagente.setCodigo( json1.getString(\"matricula\"));\n\t\t\t\tagente.setNome(json1.getString(\"nome\"));\n\t\t\t\tagente.setSenha(json1.getString(\"passoword\"));\n\t\t\t\tagente.setLogin(json1.getString(\"user\"));\n\t\t\n\t\t\t\t// ativo ? \n\t\t\t\tagente.setAtivo(\"S\");\n\t\t\t\t\n\t\t\t\tif (json1.getString(\"status\").toUpperCase().contains(\"INATIVO\")) agente.setAtivo(\"N\");\n\n\t\t\t\t\n\n\t\t\t} catch (JSONException e) {\n\t\t\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\tret = false;\n\t\t\t\t\n\t\t\t\tif ( tipoperacao.contains(\"1\") ) errofatal =true;\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\t\n\t\tif ( ret )\n\t\t{\n\t\t\tAgenteDAO agentedao = new AgenteDAO(context);\n\t\t\t\n\t\t\t// limpa tabela de agente\n\t\t\tagentedao.delete();\n\t\t\t\n\t\t\tfor ( int nx = 0 ; nx < jsonArray.length();nx++)\n\t\t\t{\n\t\t\t\t\n\t\t\t\tAgente agente = new Agente();\n\t\t\t\t\n\t\t\t\ttry {\n\t\t\t\t\n\t\t\t\t\tjson1 = jsonArray.getJSONObject(nx);\n\t\t\t\t\t\n\t\t\t\t\ttry {\n\t\t\t\t\t\t\n\t\t\t\t\t\t//***************\n\t\t\t\t\t\t// 29.06.2012\n\t\t\t\t\t\t//***************\n\t\t\t\t\t\tagente.setCodigo( SimpleCrypto.encrypt(info,json1.getString(\"matricula\")));\n\t\t\t\t\t\tagente.setNome(SimpleCrypto.encrypt(info,json1.getString(\"nome\")));\n\t\t\t\t\t\t\n\t\t\t\t\t\t// senha ja esta em MD5\n\t\t\t\t\t\tagente.setSenha(json1.getString(\"passoword\"));\n\t\t\t\t\t\t\n\t\t\t\t\t\tagente.setLogin(SimpleCrypto.encrypt(info,json1.getString(\"user\")));\n\n\t\t\t\t\t\t// ativo ? \n\t\t\t\t\t\tagente.setAtivo(SimpleCrypto.encrypt(info,\"S\"));\n\t\t\t\t\t\tif ( json1.getString(\"status\").contains(\"INATIVO\")) agente.setAtivo(SimpleCrypto.encrypt(info,\"N\"));\n\n\t\t\t\t\t\t\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\tagentedao.insere(agente);\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t} catch (JSONException e) {\n\t\t\t\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\tret = false;\n\t\t\t\t\terrofatal =true;\t\t\t\t\t\t\t\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tagentedao.close();\n\t\t}\n\t\treturn ret;\n\t}","title":""},{"docid":"866496c21b483b1bdc04eaac43e14b90","score":"0.5708201","text":"private void buscarTurmas() {\n turmas = turmaServico.buscarTurmas(usuarioLogado);\n }","title":""},{"docid":"5736f888aed5c17d286765d87a60e4be","score":"0.57055897","text":"public void limpiar() {\n\t\tjuridica = new Entidad();\n\t\tjuridicaSeleccionada = new Entidad();\n\t}","title":""},{"docid":"5435fed6c0a9345524c30343d8ed9829","score":"0.5705325","text":"@Override\r\n\tpublic void entrenar() {\n\t\t\r\n\t}","title":""},{"docid":"892a8107242cc4a9821de0b228d2e8a8","score":"0.5704842","text":"public PrestamoPeliculas(){\n contador=0;\n inicializarVecesPrestadas();\n }","title":""},{"docid":"066f03097b2699616d89de33c866aaf2","score":"0.5701722","text":"@Override\r\n\tpublic void resultado() {\n\r\n\t}","title":""},{"docid":"042b32f598b61accf7b13680bbb4ff4d","score":"0.5691377","text":"public ConsultaLigacoes() {\n initComponents();\n this.setExtendedState(this.getExtendedState()|VisualizadorProfissionais.MAXIMIZED_BOTH);\n conecta.conectaBanco();\n preenchertabela(\"select * from solicitacoes order by id\");\n jTableSolicitacoes.setAutoCreateRowSorter(true);\n }","title":""},{"docid":"365d4010179820fb74de69317acc356c","score":"0.56903356","text":"public void seDeplaseaza();","title":""},{"docid":"263823c5358acd1f2a36004ac1f7682f","score":"0.56879675","text":"public String limpiar()\r\n/* 210: */ {\r\n/* 211:270 */ crearEntidad();\r\n/* 212:271 */ return \"\";\r\n/* 213: */ }","title":""},{"docid":"70a315855db64fda6d79e4f8c32d40cf","score":"0.56790257","text":"Transicion createTransicion();","title":""},{"docid":"983629d750ac56f6158c238bfda39b41","score":"0.5676199","text":"public void accionPropia() {\r\n\t}","title":""},{"docid":"c37baff42c7c9b6e0288df062aa9966d","score":"0.56745696","text":"private static void hinhTron() {\n\t\t\n\t}","title":""},{"docid":"1f7c82e188acf30d59f88faf08cf24ac","score":"0.56723934","text":"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}","title":""},{"docid":"1f7c82e188acf30d59f88faf08cf24ac","score":"0.56723934","text":"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}","title":""},{"docid":"8a52ac6821f77d9674e63ef7df6dbc8e","score":"0.5670564","text":"public void mostrarRequisitos() {\n String curso = (String) this.vistaCursos.cbCodigosCursos.getSelectedItem();\n DefaultTableModel modeloR = new DefaultTableModel();\n this.vistaCursos.ReqTable.setModel(modeloR); // Setear el modelo de la tabla de requisitos\n this.filas = cursoCrud.consultarRequisitos(curso); /// Crear este método verda \n\n modeloR.addColumn(\"ID\");\n modeloR.addColumn(\"Nombre\");\n modeloR.addColumn(\"Créditos\");\n modeloR.addColumn(\"Horas de clase\");\n\n for (Object[] fila : filas){\n modeloR.addRow(fila);\n }\n }","title":""},{"docid":"0498f3e7aad7edc4a424eeb306327556","score":"0.5665593","text":"public GUI_ConsultarRequisicao() {\n initComponents();\n jTableRequisicao.setAutoCreateRowSorter(true);\n }","title":""},{"docid":"4ecbdfa741589c2703a3620af5a066c7","score":"0.56621695","text":"private void limpiar() {\n txtcantidad.setText(\"\");\n txtnomprod.setText(\"\");\n ad.setArticulo(null);\n Utiles.cargarComboCategorias(cbxcategoria);\n cargarTablaA();\n }","title":""},{"docid":"7cfd611da1693bffede4d74ddd2fc3de","score":"0.56565","text":"private void initTable() {\r\n configuraNuevaTabla(new ArrayList ());\r\n if(opTarjeta){\r\n tblModelRegistros =\r\n new FarmaTableModel(ConstantsRecaudacion.columnsListaBFP_Tarjeta, ConstantsRecaudacion.defaultValuesListaBFP_Tarjeta,\r\n 0); \r\n }else if(opPrestamo){\r\n tblModelRegistros =\r\n new FarmaTableModel(ConstantsRecaudacion.columnsListaBFP_Prestamo, ConstantsRecaudacion.defaultValuesListaBFP_Prestamo,\r\n 0); \r\n }else if(opDeposito){\r\n tblModelRegistros =\r\n new FarmaTableModel(ConstantsRecaudacion.columnsListaBFP_Deposito, ConstantsRecaudacion.defaultValuesListaBFP_Deposito,\r\n 0);\r\n }\r\n /*\r\n FarmaUtility.initSimpleList(tblTarjetas, tblModelTarjetas, ConstantsRecaudacion.columnsListaConsultaBFP);\r\n */ \r\n }","title":""},{"docid":"3ada43f78e894566df5dc0a3d6b38a7d","score":"0.5653429","text":"public void borrarTablaGerente() {\n\r\n\t}","title":""},{"docid":"24aece51b0991bb852151945a7b3a37c","score":"0.56528336","text":"public void tratarPapelera(Object informacion);","title":""},{"docid":"895776920f7875036d65e72cd5caed05","score":"0.5650426","text":"public void testLlenarTabla1() {\n TablaDatos instance = new TablaDatos();\n instance.llenarTabla1();\n assertTrue(\"testLlenarTabla1:fail\",instance.getTablaDatos().get(9).getX() == 961);\n }","title":""},{"docid":"07375d245633bb748f5446f6aebdda36","score":"0.5647564","text":"@Override\n public void obtenerMascotasBaseDatos() {\n //hacemos un ubjeto Constructor mascotas y le pasamos el contexto\n constructorMascotas = new ConstructorMascotas(context);\n //le agregamos a la variable mascota lo que devuelva el metodo obtenerDatos de la clase ConstructorMascotas\n mascotas = constructorMascotas.obtenerDatos();\n //hacemos el llamada al metodo sobre escrito mostrarMascotas\n mostrarMascotas();\n\n }","title":""},{"docid":"adb1ab21cd036f2894e72e5ef45be951","score":"0.564287","text":"public ConsultaQuestao() {\n initComponents();\n prepararCombos();\n ListaTable();\n }","title":""},{"docid":"83a094c00bed1b305ae875a1ab85e7f5","score":"0.56425875","text":"public ViewCariTeman() {\n initComponents();\n tampildata();\n }","title":""},{"docid":"2763dbf5eb11db542b0f73abe093a591","score":"0.56283355","text":"public void testLlenarTabla3() {\n TablaDatos instance = new TablaDatos();\n instance.llenarTabla3();\n assertTrue(\"testLlenarTabla3:fail\",instance.getTablaDatos().get(1).getX() == 765);\n }","title":""},{"docid":"786e14ff1965b21f3dbacce9eadee9f4","score":"0.5626065","text":"public Controller(){\n vista = new VistaConsola();\n instituto = new EstudianteDTO();// estudiantes, EstudianteDAO\n //funcionar();\n }","title":""},{"docid":"fb0e8351ddbe672f997811b956ac3a6a","score":"0.56205595","text":"private void inizia() throws Exception {\n /* variabili e costanti locali di lavoro */\n AnagraficaModulo mod;\n Query query;\n Filtro filtro;\n Dati dati;\n int intero;\n String stringa = \"\";\n ValoriOpzione opzione;\n\n try { // prova ad eseguire il codice\n\n mod = AnagraficaModulo.get();\n\n Campo cTipo = mod.getCampo(Cam.privatosocieta.get());\n Campo cPI = mod.getCampo(Cam.partitaIva.get());\n Campo cCF = mod.getCampo(Cam.codFiscale.get());\n Campo cCodPag = mod.getCampo(Cam.pagamento.get());\n Campo cCodIva = mod.getCampo(Cam.iva.get());\n Campo cApplicaRivalsa = mod.getCampo(Cam.applicaRivalsa.get());\n Campo cApplicaRA = mod.getCampo(Cam.applicaRA.get());\n Campo cPercRA = mod.getCampo(Cam.percRA.get());\n\n query = new QuerySelezione(mod);\n filtro = FiltroFactory.codice(mod, this.getCodice());\n query.setFiltro(filtro);\n query.addCampo(cTipo);\n query.addCampo(cPI);\n query.addCampo(cCF);\n query.addCampo(cCodPag);\n query.addCampo(cCodIva);\n query.addCampo(cApplicaRivalsa);\n query.addCampo(cApplicaRA);\n query.addCampo(cPercRA);\n dati = mod.query().querySelezione(query);\n\n /* recupera c.f. / p.i. a seconda del tipo */\n stringa = \"\";\n intero = dati.getIntAt(0, cTipo);\n Tipi tipo = Anagrafica.Tipi.getTipo(intero);\n if (tipo != null) {\n switch (tipo) {\n case privato:\n stringa = dati.getStringAt(0, cCF);\n break;\n case societa:\n stringa = dati.getStringAt(0, cPI);\n break;\n default: // caso non definito\n break;\n } // fine del blocco switch\n }// fine del blocco if\n this.setPicf(stringa);\n\n /* recupera cod. pagamento */\n this.setCodPag(dati.getIntAt(0, cCodPag));\n\n /* recupera cod. iva */\n this.setCodIva(dati.getIntAt(0, cCodIva));\n\n /* recupera opzione applica rivalsa */\n intero = dati.getIntAt(0, cApplicaRivalsa);\n opzione = ValoriOpzione.getElemento(intero);\n this.setApplicaRivalsa(opzione);\n\n /* recupera opzione applica r.a. */\n intero = dati.getIntAt(0, cApplicaRA);\n opzione = ValoriOpzione.getElemento(intero);\n this.setApplicaRA(opzione);\n\n /* recupera percentuale r.a. */\n this.setPercRA(dati.getDoubleAt(0, cPercRA));\n\n /* recupera l'etichetta */\n this.setEtichetta(mod.getEtichettaIndirizzoPrincipale(this.getCodice()));\n\n /* chiude i dati */\n dati.close();\n\n\n } catch (Exception unErrore) { // intercetta l'errore\n Errore.crea(unErrore);\n }// fine del blocco try-catch\n\n }","title":""},{"docid":"1af5aa89df97cca4972c12fe4cf65ad4","score":"0.5615801","text":"public TelaRelatorio() {\n initComponents();\n List funcionarios = new ArrayList();\n AnalistaDAO dao = new AnalistaDAO();\n for (Analista a: dao.listar()){\n funcionarios.add(a);\n }\n DiretorDAO diretorDao = new DiretorDAO();\n for (Diretor d: diretorDao.listar()){\n funcionarios.add(d);\n }\n GerenteDAO gerenteDao = new GerenteDAO();\n for (Gerente g: gerenteDao.listar()){\n funcionarios.add(g);\n }\n LimpezaDAO limpezaDAO = new LimpezaDAO();\n for (Limpeza l: limpezaDAO.listar()){\n funcionarios.add(l);\n }\n ProgramadorDAO programadorDAO = new ProgramadorDAO();\n for (Programador p: programadorDAO.listar()){\n funcionarios.add(p);\n }\n for (Funcionario func: funcionarios){\n textarea.append(func.getRelatorio());\n }\n }","title":""},{"docid":"802eb1eb328db99c60dba41ff05cd969","score":"0.5615783","text":"public CadastrarAluno() throws Exception {\n initComponents();\n carregarAluno();\n DefaultTableModel model = (DefaultTableModel) tbDados.getModel();\n tbDados.setRowSorter(new TableRowSorter(model));\n listarDadosMateria();\n \n }","title":""}],"string":"[\n {\n \"docid\": \"4b8e0f64fd3bd699059d400b089d83ce\",\n \"score\": \"0.671939\",\n \"text\": \"public void crearTablaActividad() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"12c0cf787a4de2c509b50a8a7dd6344e\",\n \"score\": \"0.6620012\",\n \"text\": \"public void crearTablaEstado() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3fe1f1d48cc4f734bc9648574dd0917f\",\n \"score\": \"0.65322006\",\n \"text\": \"public void crearTablaProyecto() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f681b935fb9555bb599432bec4fb1cdd\",\n \"score\": \"0.63880277\",\n \"text\": \"public void crearTablaGerente() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1ce660287e22432eaab4789b7fcd6678\",\n \"score\": \"0.63781005\",\n \"text\": \"public static void inicioTrabajador() {\\r\\n\\t\\tnew view.FrmTrabajador();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ca91d50c92e95aab7c111875e455738c\",\n \"score\": \"0.63485044\",\n \"text\": \"private void buscarSolicitudesPago() {\\r\\n if(validarBusqueda()) {\\r\\n ArrayList> tmpLista = new ArrayList<>();\\r\\n //tmpLista = facadeRecaudacion.solicitaPagos_BancoFinanciero(\\\"\\\");\\r\\n llenarTabla(tblModelTarjetas, tmpLista);\\r\\n }\\r\\n \\r\\n FarmaUtility.showMessage(this, \\\"Implementar búsqueda de tarjetas\\\", null);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7d3c2b49702a5ed673b243bf8d2b7c0\",\n \"score\": \"0.6339364\",\n \"text\": \"@Override\\n\\tprotected void funcionario() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"321b7db8f46374ba50935b6064ef77fe\",\n \"score\": \"0.6305055\",\n \"text\": \"public void NuevoRegistroTrabajoTemp( TrabajoTemp trabajito) {\\n usuarioSamaj user = trabajito.getUser();\\n String cod = Integer.toString(user.getCodigo());\\n String nombre = user.getNombre();\\n String apellido = user.getApellido();\\n String tel = Integer.toString(user.getTelefono());\\n String correo = user.getCorreo();\\n\\n String categoria = trabajito.getCategoriaTrabajo();\\n String descripcion = trabajito.getDescripcionTrabajo();\\n String sueldo = Integer.toString(trabajito.getSueldo());\\n String fila = cod+\\\",\\\"+nombre+\\\",\\\"+apellido+\\\",\\\"+tel+\\\",\\\"+correo + \\\", \\\" + categoria + \\\", \\\" + descripcion + \\\", \\\" + sueldo;\\n\\n /*Tomar el ArrayList de aplicantes del objeto TrabajoTemp\\n y extraer el nombre y número de telefono de cada uno de\\n estos para que sean almacenados en el registro. Estos\\n serán añadidos fila para ser metidos al registro. */\\n\\n ArrayList aplicantes = trabajito.getAplicantes();\\n if (aplicantes.size()!=0){\\n for (int i = 0; i < aplicantes.size(); i++) {\\n usuarioSamaj h = aplicantes.get(i);\\n String nom = h.getNombre();\\n String telef = Integer.toString(h.getTelefono());\\n fila += \\\", \\\" + nom + \\\", \\\" + telef;\\n }\\n }\\n // LLamar método con dos parámetros: el String anidado y el nombre de la tabla en la base de datos.\\n registrarBD(fila, \\\"TABLA3\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c79b3a47b7e671e8048c1080e69fc7c6\",\n \"score\": \"0.6175671\",\n \"text\": \"private void inicializar()\\n {\\n this.centrar();\\n this.ajustarTamanioColumna();\\n this.llenarTabla();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d850d0e13249ba58c091e165d65fcc0f\",\n \"score\": \"0.61575395\",\n \"text\": \"public void LlenarTabla(){\\n if(Directo)//recien ingresados\\n {\\n Object[] nuevaFila = {dni,appat,apmat,nombre,fechNac,direccion,\\n sexo,parentesco,codCarpeta,codHistoria,HistAnt};//NUEVA FILA\\n modelo.addRow(nuevaFila);\\n jtHistoriasClinicas.setModel(modelo);\\n RegistroTranslado.add(0);//como registro\\n btnQuitar.setEnabled(true);\\n btnRegistrar.setEnabled(true);\\n }\\n else{//hace modificaciones en una fila determinada por nf\\n ActualizarDatosJefe(dni, appat, apmat, nombre, fechNac, direccion,sexo,parentesco,codHistoria,HistAnt);\\n Directo=true;//para que pueda registrar otra historia\\n HabilitarTodo();\\n }\\n limpiarCajas();//limpiamos todas las cajas \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e69329212f25e7703c4d717ac31e9cb9\",\n \"score\": \"0.6156085\",\n \"text\": \"public void crearTablaCategoria() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4964b817dfa1e186d8b95ac35dbcb398\",\n \"score\": \"0.6133777\",\n \"text\": \"protected void bhgp0030AcessoTabela() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"076c3ed64a149c1cd1562b264c48730b\",\n \"score\": \"0.6123238\",\n \"text\": \"private void cargarTabla(){\\n GestorOrdenCompra.getInstancia().generarOrdenAutomatica(tm);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"76ea568222d06eb3c8591333abee7ca4\",\n \"score\": \"0.6114247\",\n \"text\": \"public void tratarAyuda(Object informacion);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"21ad55b899bd8ebaa318600bddb067a4\",\n \"score\": \"0.61124164\",\n \"text\": \"@Override\\n\\tpublic void prendiDalTavolo() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e7e69ed3af666adb9deb91fe52bee11d\",\n \"score\": \"0.6065775\",\n \"text\": \"public GetTowar() {\\n initComponents();\\n //DaneSklepu.getStrony().get(\\\"PanelTransakcji\\\").wypelnijTabele();\\n //super();\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"31b41d433600470ed8004e258db325c7\",\n \"score\": \"0.6044885\",\n \"text\": \"protected abstract void introducir_aciertos(Tablero tablero);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"76a80470fd21f5a9092c258ed3a8a632\",\n \"score\": \"0.6043315\",\n \"text\": \"private static void 로또번호리스트() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"95d63f44f6e78c62acac0f5480effda4\",\n \"score\": \"0.60396296\",\n \"text\": \"public static void sql_TarifasEstablecidas() {\\n String sql\\n = \\\"SELECT\\\"\\n + \\\" t.VALOR_PROM_KM AS VALOR_PROM_KM,\\\"\\n + \\\" r.NOMBRE AS NOMBRE_RUTA\\\"\\n + \\\" FROM tbl_ruta AS r\\\"\\n + \\\" INNER JOIN tbl_tarifa AS t ON\\\"\\n + \\\" r.PK_RUTA = t.FK_RUTA\\\"\\n + \\\" WHERE t.ESTADO = 1 AND\\\"\\n + \\\" r.FK_EMPRESA = ?\\\"\\n + \\\" ORDER BY r.FK_EMPRESA, r.NOMBRE\\\";\\n\\n //return sql;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13bf8de6d620be8a0b073885f0ce310c\",\n \"score\": \"0.600732\",\n \"text\": \"public void inicializarDatos()\\r\\n/* 116: */ {\\r\\n/* 117: */ try\\r\\n/* 118: */ {\\r\\n/* 119: 85 */ this.modelResultado = new ResultadosTableModel();\\r\\n/* 120: 86 */ this.jTableResultado.setModel(this.modelResultado);\\r\\n/* 121: 87 */ this.jTableResultado.setAutoResizeMode(0);\\r\\n/* 122: 88 */ setColumnWidthResultados();\\r\\n/* 123: 89 */ this.emisor = new EmisorSQL().obtenerDatosEmisor();\\r\\n/* 124: 90 */ this.secuencial = new ComprobantesSQL().obtenerMaximo(TipoComprobanteEnum.LOTE.getCode());\\r\\n/* 125: 91 */ String secuencialComprobante = String.format(\\\"%09d\\\", new Object[] { Long.valueOf(this.secuencial.longValue()) });\\r\\n/* 126: 94 */ if (this.emisor != null)\\r\\n/* 127: */ {\\r\\n/* 128: 95 */ String serie = this.emisor.getCodigoEstablecimiento().concat(this.emisor.getCodPuntoEmision());\\r\\n/* 129: 96 */ this.claveAcceso = new ClaveDeAcceso().generaClave(new Date(), TipoComprobanteEnum.LOTE.getCode(), this.emisor.getRuc(), this.emisor.getTipoAmbiente(), serie, secuencialComprobante, this.emisor.getClaveInterna(), \\\"1\\\");\\r\\n/* 130: */ }\\r\\n/* 131: 99 */ ConfiguracionDirectorioSQL lista = new ConfiguracionDirectorioSQL();\\r\\n/* 132:101 */ if (lista.hayRegistros().booleanValue() == true)\\r\\n/* 133: */ {\\r\\n/* 134:102 */ this.directorioFirmados = lista.obtenerDirectorio(DirectorioEnum.FIRMADOS.getCode()).getPath();\\r\\n/* 135:103 */ this.lblDirSistema.setText(this.directorioFirmados);\\r\\n/* 136: */ }\\r\\n/* 137:106 */ this.tableArchivosPorEnviar.addMouseListener(new MouseAdapter()\\r\\n/* 138: */ {\\r\\n/* 139: */ public void mouseReleased(MouseEvent e)\\r\\n/* 140: */ {\\r\\n/* 141:110 */ int col = EnvioComprobantesView.this.tableArchivosPorEnviar.getSelectedColumn();\\r\\n/* 142:111 */ int row = EnvioComprobantesView.this.tableArchivosPorEnviar.getSelectedRow();\\r\\n/* 143:112 */ if (col == 0)\\r\\n/* 144: */ {\\r\\n/* 145:113 */ if (EnvioComprobantesView.this.tableArchivosPorEnviar.getModel().getRowCount() >= 2) {\\r\\n/* 146:114 */ EnvioComprobantesView.this.btnEnviarLotes.setEnabled(true);\\r\\n/* 147: */ }\\r\\n/* 148:117 */ List archivosSeleccionados = EnvioComprobantesView.this.listaSeleccionados();\\r\\n/* 149:118 */ String xmlLote = EnvioComprobantesView.this.creaXmlLote(archivosSeleccionados);\\r\\n/* 150:119 */ if (xmlLote != null)\\r\\n/* 151: */ {\\r\\n/* 152:120 */ Integer tamanioArchivo = Integer.valueOf(xmlLote.getBytes().length / 1024);\\r\\n/* 153:121 */ EnvioComprobantesView.this.lblTamanio.setText(tamanioArchivo.toString());\\r\\n/* 154: */ }\\r\\n/* 155: */ else\\r\\n/* 156: */ {\\r\\n/* 157:123 */ EnvioComprobantesView.this.tableArchivosPorEnviar.getModel().setValueAt(Boolean.FALSE, row, col);\\r\\n/* 158: */ }\\r\\n/* 159: */ }\\r\\n/* 160: */ }\\r\\n/* 161:128 */ });\\r\\n/* 162:129 */ this.jTableResultado.addMouseListener(new MouseAdapter()\\r\\n/* 163: */ {\\r\\n/* 164: */ public void mouseClicked(MouseEvent e)\\r\\n/* 165: */ {\\r\\n/* 166:132 */ int col = EnvioComprobantesView.this.jTableResultado.getSelectedColumn();\\r\\n/* 167:133 */ int row = EnvioComprobantesView.this.jTableResultado.getSelectedRow();\\r\\n/* 168:134 */ if (EnvioComprobantesView.this.rowEvent != row) {\\r\\n/* 169:135 */ EnvioComprobantesView.this.showOnlyOnce = 0;\\r\\n/* 170: */ }\\r\\n/* 171:138 */ if ((e.getClickCount() == 1) && (col == 4) && (EnvioComprobantesView.this.showOnlyOnce == 0))\\r\\n/* 172: */ {\\r\\n/* 173:139 */ String contenidoCelda = (String)EnvioComprobantesView.this.jTableResultado.getValueAt(row, col);\\r\\n/* 174:140 */ JOptionPane.showMessageDialog(new JFrame(), contenidoCelda, \\\"Contenido de la celda\\\", 1);\\r\\n/* 175: */ \\r\\n/* 176:142 */ EnvioComprobantesView.this.showOnlyOnce = 1;\\r\\n/* 177:143 */ EnvioComprobantesView.this.rowEvent = row;\\r\\n/* 178: */ }\\r\\n/* 179: */ }\\r\\n/* 180: */ });\\r\\n/* 181: */ }\\r\\n/* 182: */ catch (Exception ex)\\r\\n/* 183: */ {\\r\\n/* 184:149 */ Logger.getLogger(FacturaView.class.getName()).log(Level.SEVERE, \\\"Error de Casting\\\", ex);\\r\\n/* 185: */ }\\r\\n/* 186: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a657783fc915d3b141f2d401584ba1c7\",\n \"score\": \"0.5990215\",\n \"text\": \"@Test\\r\\n\\tpublic void testObtenerCasilla() {\\n\\t\\tTableroBuilder builderN1=new BuilderN1();\\r\\n\\t\\tbuilderN1.construirTablero();\\r\\n\\t\\tBuscaminas.getBuscaminas().setTableroBuilder(builderN1);\\r\\n\\t\\tCasilla c=Buscaminas.getBuscaminas().getTablero().obtenerCasilla(0,0);\\r\\n\\t\\tassertEquals(Buscaminas.getBuscaminas().getTablero().obtenerCasilla(0, 0),c);\\r\\n\\t\\t//Obtener una casilla no existente\\r\\n\\t\\tassertNull(Buscaminas.getBuscaminas().getTablero().obtenerCasilla(8,8));\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4ca298bb65ebf2d7cd93b3e86cb1d82a\",\n \"score\": \"0.5961069\",\n \"text\": \"public boolean trataEquipamentos(String tipx)\\n\\t{\\n\\t\\t\\n\\t\\tboolean ret = true ; \\n\\t\\t\\n \\t// Pega dados antes de excluir todas os registros\\n \\tParametroDAO paDao = new ParametroDAO(context);\\n \\t\\t\\n \\tContext ctx = context;\\n \\t\\n \\tCursor c = paDao.getParametros();\\n \\t\\t\\n \\t// dados para comunica��o com servidor ftp\\n \\t\\t\\n \\tString servidorftp = \\\"\\\";\\n \\tString usuarioftp = \\\"\\\";\\n \\tString senhaftp = \\\"\\\";\\n \\tString arquivobaseftp = \\\"\\\";\\n \\tString impressora = \\\"\\\";\\n \\tString imprimeobs = \\\"\\\";\\n \\tString sigla = \\\"\\\";\\n \\tString orgaoautuador = \\\"\\\";\\n \\tString cxseriePDA = \\\"\\\"; \\n\\t\\t//try {\\n\\t\\t\\t\\n\\t\\t\\t//servidorftp = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\\\"servidorftp\\\")));\\n\\t\\t\\t//usuarioftp = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\\\"usuarioftp\\\")));\\n\\t \\t//senhaftp = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\\\"senhaftp\\\")));\\n\\t \\t//arquivobaseftp = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\\\"arquivobaseftp\\\")));\\n\\t \\t//impressora = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\\\"impressora\\\")));\\n\\t \\t//imprimeobs = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\\\"imprimeobs\\\")));\\n\\t \\t\\t\\n\\t \\t//sigla = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\\\"sigla\\\")));\\n\\t \\t\\t\\n\\t \\t// dados para comunica��o com o WebTrans\\n\\t \\t//usuarioWebTrans = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\\\"usuariowebtrans\\\")));\\n\\t \\t//senhaWebTrans = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\\\"senhawebtrans\\\")));\\n\\n\\t \\t//******************************************************\\n \\t\\t// 09.08.2012\\n\\t \\t//\\n\\t \\t// Define Usuario/Senha para leitura de Tabelas \\n\\t \\t//******************************************************\\n \\t\\tsenhaWebTrans = MD5Util.criptografar(\\\"cobratalonario\\\");\\n\\n\\t \\t//String xcod = SimpleCrypto.decrypt(Utilitarios.getInfo(), c.getString(c.getColumnIndex(\\\"orgaoautuador\\\")) );\\n\\t \\t\\n\\t \\t//codMunicipio = xcod.subSequence(1, 5).toString(); //265810\\n\\t \\t\\n\\t \\t\\n\\t \\t\\n\\t \\t//codMunicipio = c.getString(c.getColumnIndex(\\\"orgaoautuador\\\")).subSequence(1, 5).toString(); //265810\\n\\t \\t\\n\\t \\t//cxseriePDA = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\\\"seriepda\\\")));\\n\\t \\t\\n\\t \\t// 16.05.2012\\n\\t \\t// Retirar , vir� do Webtrans\\n\\t \\t//orgaoautuador = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\\\"orgaoautuador\\\")));\\n\\n\\t\\t\\t\\n\\t\\t//} \\n\\t\\t//catch (Exception e1) \\n\\t\\t//{\\n\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t//\\te1.printStackTrace();\\n\\t\\t//}\\n \\t\\t\\t \\t\\t\\t\\n \\tString c1,c2,c3;\\n \\tc1 = usuarioWebTrans ;\\n \\tc2 = senhaWebTrans ;\\n \\tc3 = codMunicipio ;\\n \\t\\n \\tc.close();\\n \\t\\t\\n \\t//if (carregaDados(\\\"equipamentos\\\"))\\n \\t//{\\n \\t\\t// salva\\n \\t\\tJSONArray jsonArray1 = jsonArray;\\n \\t\\ttry {\\n \\t\\t\\tjson1=jsonArray1.getJSONObject(0);\\n\\t\\t\\t\\tcodMunicipio=json1.getString(\\\"cliente\\\");\\n\\t\\t\\t} catch (JSONException e1) {\\n\\t\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\t\\te1.printStackTrace();\\n\\t\\t\\t}\\n \\t\\t//String orgaoautuador = \\\"\\\", \\n \\t\\tString prefeitura = \\\"\\\" ;\\n \\t\\t\\n \\t\\t//usuarioWebTrans = \\\"LOGWEBTRANS\\\"+ codMunicipio;\\n \\t\\t\\tusuarioWebTrans = \\\"LOGWEBTRANS\\\" + codMunicipio;\\n \\t\\t\\n \\t\\tsenhaWebTrans = MD5Util.criptografar(\\\"2015RES\\\");\\n \\t\\t// Pega dados do Cliente\\n \\t\\tif (carregaDados(\\\"clientes\\\"))\\n \\t\\t{\\n \\t\\t\\t\\n \\t\\t\\tString clienteativo = \\\"N\\\";\\n \\t\\t\\t\\n \\t\\t\\t\\n\\t \\t\\tfor ( int nx = 0 ; nx < jsonArray.length();nx++)\\n\\t\\t\\t\\t{\\n\\t \\t\\t\\ttry {\\n\\n\\t \\t\\t\\t\\t\\n\\t \\t\\t\\t\\tjson1 = jsonArray.getJSONObject(nx);\\n\\t \\t\\t\\t\\t// antigo\\n\\t \\t\\t\\t\\t//orgaoautuador = json1.getString(\\\"orgao_transito\\\").subSequence(0, 6).toString();\\n\\t \\t\\t\\t\\t\\n\\t \\t\\t\\t\\t// atual , ainda nao foi feito o deploy\\n\\t \\t\\t\\t\\torgaoautuador = \\\"2\\\" + json1.getString(\\\"orgaoAutuador\\\").toString() + \\\"0\\\";\\t\\t\\t \\t\\t\\t\\t\\n\\t \\t\\t\\t\\tprefeitura = json1.getString(\\\"prefixo\\\");\\n\\t\\t\\t\\t\\t\\tsigla = json1.getString(\\\"sigla\\\");\\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\tclienteativo = \\\"S\\\";\\n\\t \\t\\t\\t\\t// Prefeitura Ativa ?\\n\\t \\t\\t\\t\\tif ( json1.getString(\\\"status\\\").toUpperCase().contains(\\\"INATIVO\\\")) clienteativo = \\\"N\\\";\\n\\t\\n\\t\\t\\t\\t\\t} catch (JSONException e) {\\n\\t\\t\\t\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\t\\t\\t\\tret = false ;\\n\\t\\t\\t\\t\\t\\terrofatal =true;\\n\\t\\t\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n \\t\\t\\t\\n\\t \\t\\t// limpa tabela quando est� inicializando o PDA\\n\\t \\t\\t//if ( tipx.contains(\\\"1\\\")) definedao.delete();\\n\\t \\t\\t\\n\\t \\t\\t//definedao.delete();\\n\\t \\t\\t\\n\\t \\t\\tfor ( int nx = 0 ; nx < jsonArray1.length();nx++)\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\tParametro define = new Parametro();\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t// nao � necess�rio validar o munic�pio pois no baseandroid.zip\\n\\t\\t\\t\\t\\t\\t// deve ser colocado o municipio correto de opera��o\\n\\t\\t\\t\\t\\t\\t//\\n\\t\\t\\t\\t\\t\\t// conferir somente a SERIE do PDA\\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\tjson1 = jsonArray1.getJSONObject(nx);\\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\tlong faixaAitInicial = Long.parseLong(json1.getString(\\\"faixaAitInicial\\\"));\\n\\t\\t\\t\\t\\t\\tlong faixaAitFinal = Long.parseLong(json1.getString(\\\"faixaAitFinal\\\"));\\n\\n\\t\\t\\t\\t\\t\\t// debug - - retirar\\n\\t\\t\\t\\t\\t\\t//define.setProximoait(\\\"0000525\\\");\\n\\n\\t\\t\\t\\t\\t\\t//define.setProximoait(String.valueOf(faixaAitInicial));\\n\\t\\t\\t\\t\\t\\t//define.setAitinicial(String.valueOf(faixaAitInicial));\\n\\t\\t\\t\\t\\t\\t//define.setAitfinal(String.valueOf(faixaAitFinal));\\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t// somente define proximo ait na inicializa��o...\\n\\t\\t\\t\\t\\t\\ttry\\n\\t\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\tdefine.setProximoait(SimpleCrypto.encrypt(info,String.format(\\\"%07d\\\", faixaAitInicial)));\\n\\t\\t\\t\\t\\t\\t\\tdefine.setAitinicial(SimpleCrypto.encrypt(info,String.format(\\\"%07d\\\", faixaAitFinal)));\\n\\t\\t\\t\\t\\t\\t\\tdefine.setAitfinal(SimpleCrypto.encrypt(info,String.format(\\\"%07d\\\", faixaAitFinal)));\\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\tdefine.setSeriepda(SimpleCrypto.encrypt(info,json1.getString(\\\"numero\\\")));\\n\\t\\t\\t\\t\\t\\t\\tdefine.setPrefeitura(SimpleCrypto.encrypt(info,prefeitura));\\n\\t\\t\\t\\t\\t\\t\\tdefine.setSigla(SimpleCrypto.encrypt(info,sigla));\\n\\t\\t\\t\\t\\t\\t\\tdefine.setOrgaoautuador(SimpleCrypto.encrypt(info,orgaoautuador));\\n\\t\\t\\t\\t\\t\\t\\tdefine.setSerieait(SimpleCrypto.encrypt(info,json1.getString(\\\"serieAit\\\")));\\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\tdefine.setServidorftp(SimpleCrypto.encrypt(info,servidorftp));\\n\\t\\t\\t\\t\\t\\t\\tdefine.setUsuarioftp(SimpleCrypto.encrypt(info,usuarioftp));\\n\\t\\t\\t\\t\\t\\t\\tdefine.setSenhaftp(SimpleCrypto.encrypt(info,senhaftp));\\n\\t\\t\\t\\t\\t\\t\\tdefine.setArquivobaseftp(SimpleCrypto.encrypt(info,arquivobaseftp));\\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\tdefine.setImpressoraMAC(SimpleCrypto.encrypt(info,impressora));\\n\\t\\t\\t\\t\\t\\t\\tdefine.setImprimeobs(SimpleCrypto.encrypt(info,imprimeobs));\\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t// para acessos futuros\\n\\t\\t\\t\\t\\t\\t\\tdefine.setUsuariowebtrans(SimpleCrypto.encrypt(info,usuarioWebTrans));\\n\\t\\t\\t\\t\\t\\t\\tdefine.setSenhawebtrans(SimpleCrypto.encrypt(info,senhaWebTrans));\\n\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t// id nao � encriptado\\n\\t\\t\\t\\t\\t\\t\\tdefine.setIdwebtrans(Long.toString(json1.getLong(\\\"idequipamento\\\")));\\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t// PDA Ativo ?\\n\\t\\t\\t\\t\\t\\t\\tdefine.setAtivo(SimpleCrypto.encrypt(info,\\\"S\\\"));\\n\\t\\t\\t\\t\\t\\t\\tif ( json1.getString(\\\"status\\\").toUpperCase().contains(\\\"INATIVO\\\"))\\n\\t\\t\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\t\\t\\tdefine.setAtivo(SimpleCrypto.encrypt(info,\\\"N\\\"));\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\n\\t\\t\\t\\t\\t\\t// Prefeitura Ativa ?\\n\\t\\t\\t\\t\\t\\tdefine.setPrefativa(SimpleCrypto.encrypt(info,\\\"N\\\"));\\n\\t\\t\\t\\t\\t\\tif ( clienteativo.equals(\\\"S\\\")) define.setPrefativa(SimpleCrypto.encrypt(info,\\\"S\\\")); \\n\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t//if ( tipx.contains(\\\"1\\\"))\\n\\t\\t\\t\\t\\t\\t\\tpaDao.atualizastatus(define);\\n\\t\\t\\t\\t\\t\\t//else\\n\\t\\t\\t\\t\\t\\t\\t// Atualiza o Status de Ativo/Desativo\\n\\t\\t\\t\\t\\t\\t//\\tdefinedao.atualizastatus(define);\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\tcatch ( Exception ex)\\n\\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\\t} catch (JSONException 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\\tret = false ;\\n\\t\\t\\t\\t\\t\\terrofatal =true;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\n \\t\\t}\\n \\t\\t\\n \\t\\tpaDao.close();\\n \\t\\t\\n \\t\\t//buscaPDA(cxseriePDA);\\n \\t\\t\\n \\t\\t// criptografa definePDA...\\n \\t\\t\\n\\t\\t//}\\n \\t//else\\n \\t//{\\n \\t//\\terrofatal =true;\\n \\t//\\tret = false;\\n \\t//}\\n\\t\\t\\n\\t\\treturn ret;\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2a73eba9feb2cc750f69d82e4572f58\",\n \"score\": \"0.5949878\",\n \"text\": \"Trabajador buscarUno(int idTrabajador);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78ce92462ba480d373503c8698a43336\",\n \"score\": \"0.5948239\",\n \"text\": \"private void cambiarEstadoDeReserva() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d65a452e3ef5b77b9950804b5b9c12ae\",\n \"score\": \"0.5936587\",\n \"text\": \"@Override\\n\\tpublic void trajeto(int quilometros) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8219e21e1a41bd237a8fd5a0e872b830\",\n \"score\": \"0.59280324\",\n \"text\": \"public AluguelConcluidoPesquisarTela() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fb8e14464062ebb1b2513440f8b63a5a\",\n \"score\": \"0.59212667\",\n \"text\": \"public TelaTratamento() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"385f118560eb6b102347a889d249cc35\",\n \"score\": \"0.59149015\",\n \"text\": \"private void ucitajSveKlijente()\\n\\t{\\n\\t\\t\\n\\t\\tKlijentDao kdao = KlijentDao.get();\\n\\t\\tCollection klijenti = kdao.readAll();\\n\\t\\tsortirajPoPrezimenu(klijenti);\\n\\t\\tDefaultTableModel model = (DefaultTableModel) table.getModel();\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t\\tucitajKlijente(klijenti);\\n\\t\\t\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"864f6d967ec79fd2e760e87729996453\",\n \"score\": \"0.59131056\",\n \"text\": \"public void verificarTablero();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"41fb45def956abf018769eac261a47e6\",\n \"score\": \"0.59127396\",\n \"text\": \"public transaksionline() {\\n initComponents();\\n \\n loadData();\\n kondisiawal();\\n loadcomatm();\\n loadcomtoko();\\n auto_number();\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5fc4e5f6dfe96e6d0c1fa383b8b471c8\",\n \"score\": \"0.59122205\",\n \"text\": \"public abstract void tratarColisionEscenarioX();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"90c33c4812f982c17a708386c0005afe\",\n \"score\": \"0.5907226\",\n \"text\": \"public UIManQuarto() {\\n initComponents();\\n preencherTabela();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c0451f67fc1cf947106fec831a3dceb2\",\n \"score\": \"0.5907132\",\n \"text\": \"protected void Cadastrar() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b801af3068def19e986f612290188ffc\",\n \"score\": \"0.59058326\",\n \"text\": \"public void tabelaComparativa() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ddb2e38c6f4b10f9146161aaf6ba20ec\",\n \"score\": \"0.59040695\",\n \"text\": \"public Tramite creaTramite(String nomTramit) {\\r\\n\\t\\t/*\\r\\n\\t\\tselectOption(\\\"fase\\\", \\\"Instrucción\\\");\\r\\n setTextField(\\\"textoFechaCaducidad\\\",\\\"10/02/2010\\\");\\t\\r\\n setTextField(\\\"textoFechaPublicacion\\\",\\\"10/12/2009\\\");\\r\\n setTextField(\\\"textoFechaActualizacion\\\",\\\"10/12/2009\\\");\\r\\n setTextField(\\\"idUA\\\",\\\"1\\\"); //1 = \\\"Govern de les Illes Balears\\\");\\r\\n setTextField(\\\"descTaxa\\\",\\\"descripcion taxa\\\"); \\r\\n setTextField(\\\"formaPagamentTaxa\\\",\\\"en efectiu\\\");\\r\\n setTextField(\\\"codiTaxa\\\",\\\"123456\\\");\\r\\n setTextField(\\\"versio\\\",\\\"1\\\");\\r\\n setTextField(\\\"urlExterna\\\",\\\"http://urlExterna\\\");\\r\\n setTextField(\\\"traducciones[0].nombre\\\",nomTramit);\\r\\n setTextField(\\\"traducciones[0].documentacion\\\",\\\"portar dni\\\");\\r\\n setTextField(\\\"traducciones[0].plazos\\\",\\\"3 meses\\\");\\r\\n\\r\\n\\t\\t */\\r\\n\\t\\tTramite t=new Tramite();\\r\\n\\t\\t//t.setId(0); si id=null -> hibernate=insert, sino hibernate=update\\r\\n\\t\\tt.setCodiVuds(\\\"20091010\\\");\\r\\n\\t\\tt.setOrden(0L);\\r\\n\\t\\t\\r\\n\\t\\tCalendar c=Calendar.getInstance();\\r\\n\\t\\tc.set(2010,2,10);\\r\\n\\t\\tt.setDataCaducitat(c.getTime());\\r\\n\\t\\tc.set(2009,12,10);\\r\\n\\t t.setDataPublicacio(c.getTime());\\r\\n\\t\\tc.set(2010,2,10);\\r\\n\\t t.setDataActualitzacio(c.getTime());\\r\\n\\t \\r\\n\\t /* FIXME \\r\\n\\t\\tt.setCodiTaxa(\\\"12345\\\");\\r\\n\\t\\tt.setDescTaxa(\\\"desc\\\");\\r\\n\\t\\tt.setFormaPagamentTaxa(\\\"\\\");\\r\\n\\t\\t*/\\r\\n\\t\\t\\r\\n/*\\tcollections se ponen desde otro action\\t\\r\\n\\t\\tSet formularios=new HashSet();\\r\\n\\t\\tFormulario f=new Formulario();\\r\\n\\t\\t//f.setId(123L);\\r\\n\\t\\tf.setUrl(\\\"URL1\\\");\\r\\n\\t\\tformularios.add(f);\\r\\n\\t\\tt.setFormularios(formularios);\\r\\n\\t\\t\\r\\n\\t\\tSet docsPresentar = new HashSet();\\r\\n\\t\\tdocsPresentar.add(\\\"DOC1\\\");\\r\\n\\t\\tt.setDocsPresentar(docsPresentar);\\r\\n\\r\\n\\t\\tSet docsInformatius = new HashSet();\\r\\n\\t\\tDocumento docinf=new Documento();\\r\\n\\t\\tdocinf.setId(333L);\\r\\n\\t\\tdocsInformatius.add(docinf);\\r\\n\\t\\tt.setDocsInformatius(docsInformatius);\\r\\n*/\\r\\n\\t\\t\\r\\n\\t\\tTraduccionTramite traduccio=new TraduccionTramite();\\r\\n\\t\\ttraduccio.setNombre(nomTramit);\\r\\n\\t\\ttraduccio.setDescripcion(\\\"desc\\\");\\r\\n\\t\\ttraduccio.setObservaciones(\\\"obs\\\");\\r\\n\\t\\ttraduccio.setPlazos(\\\"3 mesos\\\");\\r\\n\\r\\n\\t\\t\\r\\n\\t\\tt.setTraduccion(\\\"ca\\\", traduccio);\\r\\n\\t\\tProcedimientoLocal procedimiento = new ProcedimientoLocal();\\r\\n\\t\\tprocedimiento.setFamilia(new Familia());\\r\\n\\t\\tt.setProcedimiento(procedimiento);\\r\\n\\t\\t\\r\\n\\t\\t// es comenta perque aquest id es posa al fer la crida a grabar()\\r\\n\\t\\t//UnidadAdministrativa oc = new UnidadAdministrativa(202L); \\r\\n\\t\\t//t.setOrganCompetent(oc);\\r\\n\\t\\t\\r\\n\\t\\treturn t;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cf4b9bbe1594de1c8888587b8e117a7a\",\n \"score\": \"0.59028494\",\n \"text\": \"public void NuevoRegistroTrabajadorFormal(TrabajadorFormal x){\\n //Datos usuario\\n String cod = Integer.toString(x.getCodigo());\\n String nombre = x.getNombre();\\n String apellido = x.getApellido();\\n String tel = Integer.toString(x.getTelefono());\\n String correo = x.getCorreo();\\n \\n //Datos TrabajadorFormal\\n String edad = Integer.toString(x.getEdad());\\n String educacion = Integer.toString(x.getNivelEducacion());\\n String idioma = Integer.toString(x.getIdiomas());\\n String exp = String.valueOf(x.getExperiencia());\\n String trans = String.valueOf(x.getTransporte());\\n String home = String.valueOf(x.getHomeOffice());\\n String expertise = Integer.toString(x.getNivelExpertise());\\n String fila = cod+\\\",\\\"+nombre+\\\",\\\"+apellido+\\\",\\\"+correo+\\\",\\\"+tel+\\\",\\\"+edad+\\\",\\\"+educacion+\\\",\\\"+idioma+\\\",\\\"+exp+\\\",\\\"+trans+\\\",\\\"+home+\\\",\\\"+expertise;\\n registrarBD(fila, \\\"TABLA2\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cec6baae23fbddc4fcf6efbde2366229\",\n \"score\": \"0.5902109\",\n \"text\": \"public void ejecucion() throws Exception {\\n\\t\\t//Activamos las trazas\\n\\t\\tsetTrazaFichero();\\n\\t\\n\\t\\ttry{\\n\\t\\t\\t//Sacamos la acción a realizar y ejecutamos la acción correspondiente\\n\\t\\t\\tString accion = conectorParametro(PARAMETRO_GENERICO_ACCION);\\n\\t\\t\\tString origen = conectorParametro(PARAMETRO_GENERICO_ORIGEN);\\n\\t\\t\\t\\n\\t\\t\\t//Caragamos los elemetnos en la pagina\\n\\t\\t\\tasignar(\\\"VAR\\\",PARAMETRO_GENERICO_ACCION,accion);\\n\\t\\t\\tasignar(\\\"VAR\\\",PARAMETRO_GENERICO_ORIGEN,origen);\\n\\t\\n\\t\\t\\t//Ejecutamos la acción indicada\\n\\t\\t\\tif(accion.equals(ACCION_CREATE)) cmdCreate();\\n\\t\\t\\tif(accion.equals(ACCION_UPDATE)) cmdUpdate();\\n\\t\\t\\tif(accion.equals(ACCION_REMOVE)) cmdRemove();\\n\\t\\t}catch(Exception e){\\n\\t\\t\\thandleException(e);\\n\\t\\t}\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"271aa87d8ce879f5730bf820ef9724e9\",\n \"score\": \"0.59001607\",\n \"text\": \"@Test\\r\\n public void testPuenteMostrarTabla() {\\r\\n System.out.println(\\\"PuenteMostrarTabla\\\");\\r\\n JTable TablaO = new JTable();\\r\\n PuenteObservaciones instance = new PuenteObservaciones();\\r\\n JTable expResult = TablaO;\\r\\n JTable result = instance.PuenteMostrarTabla(TablaO);\\r\\n assertEquals(expResult, result);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c60452ec140536c1e816105d33135df7\",\n \"score\": \"0.5896299\",\n \"text\": \"public void criarTransacao() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a5a8fde26a62130f9ec1234464bcdb0b\",\n \"score\": \"0.58885926\",\n \"text\": \"public Tradicional() \\n {\\n int rpta = 0;\\n do{\\n System.out.println(\\\"\\\\nSeleccione MODELO DE TELEFONO\\\\n1- Almeja\\\\n2- Slice\\\\n3- Normal\\\");\\n rpta= Leer.datoInt();\\n switch (rpta) {\\n case 1:\\n this.tipoFono = \\\"Almeja\\\";\\n break;\\n case 2:\\n this.tipoFono = \\\"Slice\\\";\\n break;\\n case 3:\\n this.tipoFono = \\\"Normal\\\";\\n break;\\n default:\\n System.out.println(\\\"\\\\n**INGRESE UNA OPCION VALIDA**\\\");\\n break;\\n }\\n }while(rpta!=1&&rpta!=2&&rpta!=3);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8184a7e08bc0c3f8fed6d698a821bcf4\",\n \"score\": \"0.5887677\",\n \"text\": \"@Override\\n\\tprotected void horario() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"400c91ad980ab56311e6178e4a4973fa\",\n \"score\": \"0.5880128\",\n \"text\": \"public Controlador()\\n {\\n this.interfaz = new Interfaz(TITULO_VENTANAS, NOMBRE_ARCHIVO_IMAGEN);\\n filas=0;\\n columnas=0;\\n this.tablero=new TableroDeCompus(filas, columnas);\\n this.arbitro= new Arbitro(tablero);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"abde9aa782f0e9d2cbec9d58f7af60f0\",\n \"score\": \"0.5875941\",\n \"text\": \"public void ejecucion() throws Exception {\\n\\n asignarAtributoPagina(\\\"cod\\\", \\\"08\\\");\\n \\n\\t\\tsetTrazaFichero();\\n\\n\\t\\ttry\\t{\\n\\t\\t\\t\\n\\t\\t\\t// Rastreo\\n\\t\\t\\trastreo();\\n\\n\\t\\t\\tString sAccion = conectorParametroLimpia(\\\"accion\\\",\\\"\\\",true); \\n\\n\\t\\t\\tString sPais = conectorParametroLimpia(\\\"hidPais\\\",\\\"\\\",true); \\n\\t\\t\\tString sNSEBelcorp = conectorParametroLimpia(\\\"comboNSEBelcorp\\\",\\\"\\\",true); \\n\\t\\t\\tString sNSEPais = conectorParametroLimpia(\\\"comboNSEPais\\\",\\\"\\\",true); \\n\\n\\t\\t\\tVector paramEntrada = new Vector();\\n\\t\\t\\tVector paramEntradaDefAsocNiv = new Vector();\\n\\t\\t\\tVector paramEntradaRec = new Vector();\\n\\t\\t\\t\\n\\t\\t\\tDruidaConector conectorCargarPaginaDefinirNiveles = null;\\n\\t\\t\\tDruidaConector conectorDefinirAsociacionNiveles = null;\\n\\n\\t\\t\\tDTOInternacional dtoeInter = new DTOInternacional();\\t \\n\\t\\t\\tDTOListaAsociacionNiveles dtoeAsociNiv = new DTOListaAsociacionNiveles();\\t \\n\\n\\t\\t\\tStringTokenizer stkNSEBelcorp = null;\\n\\t\\t\\tStringTokenizer stkNSEPais = null;\\n\\n\\t\\t\\ttraza(\\\"accion: \\\" + sAccion);\\n\\n traza(\\\"sPais: \\\" + sPais);\\n\\t\\t\\ttraza(\\\"sNSEBelcorp: \\\" + sNSEBelcorp);\\n\\t\\t\\ttraza(\\\"sNSEPais: \\\" + sNSEPais);\\n\\n\\t\\t\\tif (sAccion.equals(\\\"\\\") || sAccion.equals(\\\"seleccion de pais\\\")) { \\n\\t\\t\\t\\t\\n\\t\\t\\t\\tdtoeInter.setOidPais(sAccion.equals(\\\"\\\")?UtilidadesSession.getPais(this):Long.valueOf(sPais));\\t\\t\\t\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tdtoeInter.setOidIdioma(UtilidadesSession.getIdioma(this));\\t\\t\\t\\t\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tasignarAtributo(\\\"VAR\\\",\\\"hidPais\\\",\\\"valor\\\", sAccion.equals(\\\"\\\")?UtilidadesSession.getPais(this).toString():sPais);\\t\\t\\n\\t\\t\\t\\t\\n\\t\\t\\t\\ttraza(\\\"dtoeInter: \\\" + dtoeInter);\\n\\n\\t\\t\\t\\tparamEntrada.add(dtoeInter);\\n\\t\\t\\t\\tparamEntrada.add(new MareBusinessID(\\\"SEGCargarPaginaDefinirNiveles\\\"));\\n \\n\\t\\t\\t\\ttraza(\\\"antes 1.1\\\");\\n\\t\\t\\t\\tconectorCargarPaginaDefinirNiveles = conectar(\\\"ConectorCargarPaginaDefinirNiveles\\\", paramEntrada);\\n\\t\\t\\t\\ttraza(\\\"despues 1.1\\\");\\n\\n\\t\\t\\t\\ttraza(\\\"ConectorCargarPaginaDefinirNiveles: \\\" + conectorCargarPaginaDefinirNiveles.getXML().toString());\\n\\n asignar(\\\"COMBO\\\",\\\"comboPais\\\",conectorCargarPaginaDefinirNiveles,\\\"dtoSalida.paises_ROWSET\\\");\\t\\t\\t\\n\\t\\t\\t\\tasignar(\\\"COMBO\\\",\\\"comboNSEBelcorp\\\",conectorCargarPaginaDefinirNiveles,\\\"dtoSalida.nivelesSocioeconomicosBelcorp_ROWSET\\\");\\t\\t\\t\\n\\t\\t\\t\\tasignar(\\\"COMBO\\\",\\\"comboNSEPais\\\",conectorCargarPaginaDefinirNiveles,\\\"dtoSalida.tiposNivelesSocioeconomicosPersonal_ROWSET\\\");\\t\\t\\t\\n\\n\\t\\t\\t} else if (sAccion.equals(\\\"guardar\\\")) {\\n\\n pagina(\\\"salidaGenerica\\\");\\n\\n\\t\\t\\t\\tstkNSEBelcorp = new StringTokenizer(sNSEBelcorp,\\\"|\\\");\\n\\t\\t\\t\\tstkNSEPais = new StringTokenizer(sNSEPais,\\\",|\\\");\\n\\n\\t\\t\\t\\tArrayList arrLstAsociaciones = new ArrayList();\\n\\t\\t\\t\\tAsociacionNivelesDTO asociacion = null;\\n\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\twhile (stkNSEBelcorp.hasMoreTokens()) {\\n\\n\\t\\t\\t\\t\\tLong oidNivelSocioeconomicoBelcorp = Long.valueOf(stkNSEBelcorp.nextToken());\\n\\t\\t\\t\\t\\tstkNSEPais = new StringTokenizer(sNSEPais,\\\",|\\\");\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\twhile (stkNSEPais.hasMoreTokens()) {\\n\\n\\t\\t\\t\\t\\t\\tasociacion = new AsociacionNivelesDTO();\\n\\t\\t\\t\\t\\t\\tasociacion.setOidNivelSocioeconomicoBelcorp(oidNivelSocioeconomicoBelcorp);\\n\\t\\t\\t\\t\\t\\tasociacion.setOidTipoNivelSocioeconomicoPersonal(Long.valueOf(stkNSEPais.nextToken()));\\n\\n\\t\\t\\t\\t\\t\\tarrLstAsociaciones.add(asociacion);\\t\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\n\\t\\t\\t\\ttraza(\\\"arrLstAsociaciones \\\" + arrLstAsociaciones);\\n\\n\\t\\t\\t\\tdtoeAsociNiv.setAsociaciones((AsociacionNivelesDTO[])arrLstAsociaciones.toArray(new AsociacionNivelesDTO[0]));\\n\\n\\t\\t\\t\\tdtoeAsociNiv.setIpCliente(UtilidadesBelcorp.getIPCliente(this));\\t\\t\\t\\t\\n dtoeAsociNiv.setPrograma(UtilidadesSession.getFuncion(this));\\n\\t\\t\\t\\ttraza(\\\"encontro IP Cliente y funcion\\\");\\n\\n\\t\\t\\t\\tparamEntradaDefAsocNiv.add(dtoeAsociNiv); \\n\\t\\t\\t\\tparamEntradaDefAsocNiv.add(new MareBusinessID(\\\"SEGDefinirAsociacionNiveles\\\"));\\n \\n\\t\\t\\t\\ttraza(\\\"antes 3.1\\\");\\n\\t\\t\\t\\tconectorDefinirAsociacionNiveles = conectar(\\\"ConectorDefinirAsociacionNiveles\\\", paramEntradaDefAsocNiv);\\n\\t\\t\\t\\ttraza(\\\"despues 3.1\\\");\\n\\n\\t\\t\\t\\t// Vuelve a la pantalla inicial\\n\\t\\t\\t\\tdtoeInter.setOidPais(UtilidadesSession.getPais(this));\\t\\t\\t\\n\\t\\t\\t\\tdtoeInter.setOidIdioma(UtilidadesSession.getIdioma(this));\\t\\t\\t\\t\\n\\t\\t\\t\\ttraza(\\\"dtoeInter: \\\" + dtoeInter);\\n\\n\\t\\t\\t\\tparamEntradaRec.add(dtoeInter);\\n\\t\\t\\t\\tparamEntradaRec.add(new MareBusinessID(\\\"SEGCargarPaginaDefinirNiveles\\\"));\\n \\n\\t\\t\\t\\tconectorCargarPaginaDefinirNiveles = conectar(\\\"ConectorCargarPaginaDefinirNiveles\\\", paramEntradaRec);\\n\\n asignarAtributo(\\\"VAR\\\",\\\"ejecutar\\\",\\\"valor\\\",\\\"persistioOk('\\\" + UtilidadesSession.getPais(this).toString()+\\\"');\\\");\\n\\n\\t\\t\\t}\\n\\n\\t\\t}catch (Exception ex){\\n \\n\\t\\t\\tlogStackTrace(ex); \\n\\n\\t\\t\\tthis.lanzarPaginaError(ex);\\n asignarAtributo(\\\"VAR\\\",\\\"ejecutarError\\\",\\\"valor\\\",\\\"noPersistio();\\\");\\n\\t }\\n\\n\\t\\tgetConfiguracionMenu(\\\"LPDefinirNivelesSocioeconomicos\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8eac239c9b7c39745ceb72fb7916e30b\",\n \"score\": \"0.5873391\",\n \"text\": \"public void perfecto () throws Errores{\\n id = userJTF.getText();\\n //Al Objeto-Variable pass le vamos a asignar un valor que el usuario ingresara\\n pass = passJPF.getText();\\n //Se instancia un nuevo objeto de la clase Trabajadores\\n Trabajadores trab1 = new Trabajadores();\\n \\n //Estructura de control, para con el objeto, mandar a llamar al metodo\\n //Comprobacion para comprobar que el usuario si es usuario.\\n if (trab1.comprobacion(id, pass) == true) {\\n JOptionPane.showMessageDialog(null, \\\"Iniciado con exito\\\");\\n //Si coinciden la id y el password, da exito de conexion.\\n //Si coincide con un id y pass de gerente entonces se da lugar a Gerente.\\n if (trab1.puesto(id, pass).equals(\\\"Gerente\\\")) {\\n Gerente vip = new Gerente(id, pass);\\n vip.showUser(id, pass);\\n vip.Cobrar();\\n //Si no, empleado.\\n } else {\\n Empleado gen = new Empleado(id, pass);\\n\\n }\\n\\n } else {\\n JOptionPane.showMessageDialog(null, \\\"Intente nuevamente\\\");\\n setVisible(true);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1a14c15351f9745381cea8eba34abdbe\",\n \"score\": \"0.58615875\",\n \"text\": \"@Override\\n protected void creaRecords() {\\n /* variabili e costanti locali di lavoro */\\n\\n try { // prova ad eseguire il codice\\n this.creaNazioni();\\n } catch (Exception unErrore) { // intercetta l'errore\\n Errore.crea(unErrore);\\n }// fine del blocco try-catch\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dda3b5a5b8e9e69b6eec0807bf162606\",\n \"score\": \"0.5847651\",\n \"text\": \"@Override\\r\\n\\tpublic void rozmnozovat() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42693116fba02f3f07be1ab752c6d9bc\",\n \"score\": \"0.5840028\",\n \"text\": \"@Override\\r\\n\\tpublic void concentrarse() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2019e12c4aac7cfabc0f63807d11221d\",\n \"score\": \"0.5836225\",\n \"text\": \"@Override\\n\\tprotected void refrescarTabla() throws Exception {\\n\\t\\tint ind = 0;\\n\\t\\tProveedor proveedor = (Proveedor) this.obtenerObjetoDelElementoPila(ind++, Proveedor.class);\\n\\t\\tCuentaCorriente cuentaCorriente = new CuentaCorriente();\\n\\t\\t// double totalAdeudado = 0.0;\\n\\t\\tboolean err = false;\\n\\n\\t\\tif(proveedor == null) {\\n\\t\\t\\twarn(\\\"Debe seleccionar un Proveedor para realizar la b\\\\372squeda.\\\");\\n\\t\\t\\terr = true;\\n\\t\\t}\\n\\n\\t\\tif(!err) {\\n\\t\\t\\ttry {\\n\\t\\t\\t\\tthis.getCommunicationCajaBean().getRemoteSystemAdministracionEgresos().setLlave(this.getSessionBean1().getLlave());\\n\\t\\t\\t\\tcuentaCorriente = (CuentaCorriente) this.getCommunicationCajaBean().getRemoteSystemAdministracionEgresos().generarCuentaCorriente(proveedor);\\n\\t\\t\\t} catch(Exception ex) {\\n\\t\\t\\t\\tlog(getCasoNavegacion() + \\\"_AdminEstadoCuentaCorriente: \\\" + ex);\\n\\t\\t\\t\\terror(getNombrePagina() + \\\" - Administrar Estado de Cuenta Corriente: \\\" + ex.getMessage());\\n\\t\\t\\t\\tex.getStackTrace();\\n\\t\\t\\t}\\n\\n\\t\\t\\t// ingreso\\n\\t\\t\\tthis.getObjectListDataProvider().setList(cuentaCorriente.getListaMovimientosIngreso());\\n\\t\\t\\tthis.setListaDelCommunication(cuentaCorriente.getListaMovimientosIngreso());\\n\\n\\t\\t\\t// egreso\\n\\t\\t\\tthis.getObjectListDataProvider2().setList(cuentaCorriente.getListaMovimientosEgreso());\\n\\t\\t\\tthis.setListaDelCommunication2(cuentaCorriente.getListaMovimientosEgreso());\\n\\n\\t\\t\\t//\\n\\t\\t\\t// for (int i = 0; i < this.getListaDelCommunication().size(); i++)\\n\\t\\t\\t// {\\n\\t\\t\\t// EstadoCuentaContribuyente locEstadoCuentaContribuyente =\\n\\t\\t\\t// (EstadoCuentaContribuyente)\\n\\t\\t\\t// this.getListaDelCommunication().get(i);\\n\\t\\t\\t// totalAdeudado +=\\n\\t\\t\\t// locEstadoCuentaContribuyente.getTotalAdeudado().doubleValue();\\n\\t\\t\\t//\\n\\t\\t\\t// }\\n\\t\\t\\tthis.getStSaldo().setText(Conversor.getStringDeDouble(cuentaCorriente.getSaldo()));\\n\\t\\t\\tthis.getElementoPila().getObjetos().set(1, cuentaCorriente.getSaldo());\\n\\t\\t} else {\\n\\t\\t\\tthis.getObjectListDataProvider().setList(null);\\n\\t\\t\\tthis.setListaDelCommunication(null);\\n\\t\\t\\tthis.getObjectListDataProvider2().setList(null);\\n\\t\\t\\tthis.setListaDelCommunication2(null);\\n\\t\\t}\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"30efcac699c2b057420f5c626f511ab8\",\n \"score\": \"0.5835823\",\n \"text\": \"public abstract void tratarColisionEscenarioY();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"feba6a3f3069c37983fd8cb7fec4d595\",\n \"score\": \"0.5835558\",\n \"text\": \"public void borrarTablaProyecto() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"98a3ddd289db5b4cb379177335af6dd5\",\n \"score\": \"0.58318174\",\n \"text\": \"public void ejecucion() throws Exception {\\n\\t\\ttry{\\n\\t\\t\\t//Ejecutamos las acciones comunes\\n\\t\\t\\tsuper.ejecucion();\\n\\t\\t\\n\\t\\t\\t//Metemos en la sesión la query de la busqueda en formato param1|param2|....|paramN(para el tema de volver a la \\n\\t\\t\\t//pagina anterior y ,mantener los últimos resultados)\\n\\t\\t\\tconectorParametroSesion(SESSION_ATTRIBUTE_LAST_QUERY, \\n\\t\\t\\t\\tconectorParametroSesion(SESSION_ATTRIBUTE_LAST_QUERY));\\n\\t\\t\\t\\n\\t\\t\\ttraza(\\\"MMG:: LLegao a transaction Query de entidad MaeExencFlete\\\");\\n\\t\\t\\tString ticlOidTipoClie = (String)getEntrada(\\\"ticlOidTipoClie\\\");\\n\\t\\t\\ttraza(\\\"MMG:: Valor de atributo ticlOidTipoClie: \\\" + ticlOidTipoClie);\\n\\t\\t\\tString sbtiOidSubtClie = (String)getEntrada(\\\"sbtiOidSubtClie\\\");\\n\\t\\t\\ttraza(\\\"MMG:: Valor de atributo sbtiOidSubtClie: \\\" + sbtiOidSubtClie);\\n\\t\\t\\tString tcclOidTipoClas = (String)getEntrada(\\\"tcclOidTipoClas\\\");\\n\\t\\t\\ttraza(\\\"MMG:: Valor de atributo tcclOidTipoClas: \\\" + tcclOidTipoClas);\\n\\t\\t\\tString clasOidClas = (String)getEntrada(\\\"clasOidClas\\\");\\n\\t\\t\\ttraza(\\\"MMG:: Valor de atributo clasOidClas: \\\" + clasOidClas);\\n\\t\\t\\tString indExenFlet = (String)getEntrada(\\\"indExenFlet\\\");\\n\\t\\t\\ttraza(\\\"MMG:: Valor de atributo indExenFlet: \\\" + indExenFlet);\\n\\t\\t\\t\\n\\t\\t\\n\\t\\t\\t//Construimos los MSOs (from y to) con los elementos de la búsqueda\\n\\t\\t\\tMaeExencFleteData maeExencFleteFrom =new MaeExencFleteData();\\n\\t\\t\\tMaeExencFleteData maeExencFleteTo = new MaeExencFleteData();\\n\\t\\t\\t\\n\\t\\t\\t//Construimos el from. Los campos que no sean de intervalo ponemos\\n\\t\\t\\t//el mismo valor que el from. y los que si sen de intervalo ponemos el valor\\n\\t\\t\\t//corespondiente\\n\\t\\t\\tes.indra.belcorp.mso.MaeTipoClienData ticlOidTipoClieData = null;\\n\\t\\t\\tif(ticlOidTipoClie != null && !ticlOidTipoClie.trim().equals(\\\"\\\")){\\n\\t\\t\\t\\tticlOidTipoClieData = new es.indra.belcorp.mso.MaeTipoClienData();\\n\\t\\t\\t\\tticlOidTipoClieData.setId(new Long(ticlOidTipoClie));\\n\\t\\t\\t}\\n\\t\\t\\tmaeExencFleteFrom.setTiclOidTipoClie(ticlOidTipoClieData);\\n\\t\\t\\tes.indra.belcorp.mso.MaeSubtiClienViewData sbtiOidSubtClieData = null;\\n\\t\\t\\tif(sbtiOidSubtClie != null && !sbtiOidSubtClie.trim().equals(\\\"\\\")){\\n\\t\\t\\t\\tsbtiOidSubtClieData = new es.indra.belcorp.mso.MaeSubtiClienViewData();\\n\\t\\t\\t\\tsbtiOidSubtClieData.setId(new Long(sbtiOidSubtClie));\\n\\t\\t\\t}\\n\\t\\t\\tmaeExencFleteFrom.setSbtiOidSubtClie(sbtiOidSubtClieData);\\n\\t\\t\\tes.indra.belcorp.mso.MaeTipoClasiClienViewData tcclOidTipoClasData = null;\\n\\t\\t\\tif(tcclOidTipoClas != null && !tcclOidTipoClas.trim().equals(\\\"\\\")){\\n\\t\\t\\t\\ttcclOidTipoClasData = new es.indra.belcorp.mso.MaeTipoClasiClienViewData();\\n\\t\\t\\t\\ttcclOidTipoClasData.setId(new Long(tcclOidTipoClas));\\n\\t\\t\\t}\\n\\t\\t\\tmaeExencFleteFrom.setTcclOidTipoClas(tcclOidTipoClasData);\\n\\t\\t\\tes.indra.belcorp.mso.MaeClasiViewData clasOidClasData = null;\\n\\t\\t\\tif(clasOidClas != null && !clasOidClas.trim().equals(\\\"\\\")){\\n\\t\\t\\t\\tclasOidClasData = new es.indra.belcorp.mso.MaeClasiViewData();\\n\\t\\t\\t\\tclasOidClasData.setId(new Long(clasOidClas));\\n\\t\\t\\t}\\n\\t\\t\\tmaeExencFleteFrom.setClasOidClas(clasOidClasData);\\n\\t\\t\\tmaeExencFleteFrom.setIndExenFlet(\\n\\t\\t\\t\\t(java.lang.String)FormatUtils.parseObject(indExenFlet, \\\"java.lang.String\\\", \\n\\t\\t\\tMMGDruidaHelper.getUserDecimalFormatPattern(this)\\n\\t\\t\\t, MMGDruidaHelper.getUserDecimalFormatSymbols(this)));\\n\\t\\t\\t\\n\\t\\t\\t\\n\\t\\t\\t//Construimos el to\\n\\t\\t\\tmaeExencFleteTo = (MaeExencFleteData)maeExencFleteFrom.clone();\\n\\t\\t\\t\\n\\t\\t\\t\\n\\t\\t\\t//Metemos tanto el fromo como el to como últimos mso con parámetros de búsqueda\\n\\t\\t\\tconectorParametroSesion(SESSION_ATTRIBUTE_LAST_QUERY_OBJ_FROM, maeExencFleteFrom);\\n\\t\\t\\tconectorParametroSesion(SESSION_ATTRIBUTE_LAST_QUERY_OBJ_TO, maeExencFleteTo);\\n\\t\\t\\t\\n\\t\\t\\t//Sacamos los datos de paginación\\n\\t\\t\\tInteger pageCount = new Integer((String)getEntrada(\\\"pageCount\\\"));\\n\\t\\t\\tInteger pageSize = new Integer((String)getEntrada(\\\"pageSize\\\"));\\n\\t\\t\\t\\n\\t\\t\\t//Creamos el dto y el bussines id correspondientes a la acción de realiza una query\\n\\t\\t\\tVector datos = new Vector();\\n\\t\\t\\tMareDTO dto = new MareDTO();\\n\\t\\t\\tdto.addProperty(\\\"maeExencFleteFrom\\\", maeExencFleteFrom);\\n\\t\\t\\tdto.addProperty(\\\"maeExencFleteTo\\\", maeExencFleteTo);\\n\\t\\t\\tdto.addProperty(\\\"pageCount\\\", pageCount);\\n\\t\\t\\tdto.addProperty(\\\"pageSize\\\", pageSize);\\n\\t\\t\\tdto.addProperty(\\\"userProperties\\\", MMGDruidaHelper.getUserProperties(this));\\n\\t\\t\\t\\n\\t\\t\\tdatos.add(dto);\\n\\t\\t\\tdatos.add(new MareBusinessID(BUSINESSID_QUERY));\\n\\t\\t\\t\\n\\t\\t\\t//Ejecutamos la acción de prequery\\n\\t\\t\\tcmdPreQuery(maeExencFleteFrom, maeExencFleteTo);\\n\\t\\t\\t\\n\\t\\t\\t\\n\\t\\t\\t//Invocamos la lógica de negocio\\n\\t\\t\\ttraza(\\\"MMG:: Iniciada ejecución Query de entidad MaeExencFlete\\\");\\n\\t\\t\\tDruidaConector conectorQuery = conectar(CONECTOR_QUERY_LIST, datos);\\n\\t\\t\\ttraza(\\\"MMG:: Finalizada ejecución Query de entidad MaeExencFlete\\\");\\n\\t\\t\\t\\n\\t\\t\\t//Ejecutamos la acción de postquery\\n\\t\\t\\tcmdPostQuery(maeExencFleteFrom, maeExencFleteTo, conectorQuery);\\n\\t\\t\\t\\n\\t\\n\\t\\t\\t//Definimos el resultado del conector\\n\\t\\t\\tsetConector(conectorQuery);\\n\\t\\t}catch(Exception e){\\n\\t\\t\\thandleException(e);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1dc303095676c1e0fcc1424e870d054f\",\n \"score\": \"0.58273864\",\n \"text\": \"public void buildTorta();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"afc81d10d78f8cc7fd86382ce8050bce\",\n \"score\": \"0.58233744\",\n \"text\": \"public void tratarConductor(Object informacion);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"388760f6617923ef3eb3b0f944793ed2\",\n \"score\": \"0.58064806\",\n \"text\": \"public Table getTavola(Funzione funzione) {\\n Table tavola = null;\\n List lista = null;\\n WamCompany company = (WamCompany) CompanySessionLib.getCompany();\\n\\n if (company != null) {\\n lista = Servizio.getListByCompany(company);\\n }// end of if cycle\\n\\n return tavola;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a9231f5f48960cdcc9c5ed10043e228c\",\n \"score\": \"0.5795452\",\n \"text\": \"public ArbolMViasBusqueda() {\\n this.orden = 3;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"48df86b71abd4cc08a3962878eeef3ea\",\n \"score\": \"0.57909125\",\n \"text\": \"public musteri() {\\n initComponents();\\n TabloDoldur();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bea34ab6a52e97a6caf237f699109a36\",\n \"score\": \"0.5790027\",\n \"text\": \"public void borrarTablaActividad() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6df963785124a7ba063903d8228f1910\",\n \"score\": \"0.5789258\",\n \"text\": \"private void inicializar() {\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"86a0b8147656652a76f98c8d8096c1b1\",\n \"score\": \"0.57841945\",\n \"text\": \"private void crearEntidad()\\r\\n/* 143: */ {\\r\\n/* 144:193 */ this.rutaFabricacion = new RutaFabricacion();\\r\\n/* 145:194 */ this.rutaFabricacion.setIdOrganizacion(AppUtil.getOrganizacion().getIdOrganizacion());\\r\\n/* 146:195 */ this.rutaFabricacion.setIdSucursal(AppUtil.getSucursal().getIdSucursal());\\r\\n/* 147: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dbb6f463b12f82115e9b53e5aad85e80\",\n \"score\": \"0.5782376\",\n \"text\": \"@Override\\n public void builruedas() {\\n Carro.setruedas(ConstruirPiezas(new RuedaConcreta())); // setea el valor de las ruedas creadas\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9969c2cd0a26f223be9eea348d1c6160\",\n \"score\": \"0.57804805\",\n \"text\": \"private static void 로또수동생성() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7a5dd3fcafd2f1afb78d75140f89f300\",\n \"score\": \"0.57801235\",\n \"text\": \"public abstract void tomarPocionDeAgua();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cbdd2e8b0cb245d54e168be8b9e262cf\",\n \"score\": \"0.577892\",\n \"text\": \"public void mostrarTabela();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fcc85ba2482267838148eda3d428a9e9\",\n \"score\": \"0.5761595\",\n \"text\": \"public void atualizarTabela(){\\r\\n \\r\\n \\r\\n /**\\r\\n * buscar lista com pessoas no BD\\r\\n */\\r\\n PessoaDAO pessoaDAO = new PessoaDAO();\\r\\n ArrayList pessoas = pessoaDAO.selectAll();\\r\\n \\r\\n \\r\\n /**\\r\\n * exibir lista na view\\r\\n */\\r\\n helper.preencherTabela(pessoas);\\r\\n \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dfcbc1f7c222f5cbc2845d29625de04c\",\n \"score\": \"0.57609355\",\n \"text\": \"@Override\\n\\tpublic void teclaVolverPreionada() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"faa755a33867018a4d23f6ea6355c732\",\n \"score\": \"0.5747495\",\n \"text\": \"private void inicializar() {\\n this.accion = 0;\\n\\n controlador = new AsignacionHorarioControlador();\\n hc = new HorarioControlador();\\n gc = new GrupoHorarioControlador();\\n ec = new EmpleadoControlador();\\n listado = ObservableCollections.observableList(new ArrayList());\\n horarioList = hc.buscarTodos();\\n grupoList = gc.buscarTodos();\\n\\n this.controles(accion);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9c6a4ac999828e1aaf288099683cd073\",\n \"score\": \"0.574649\",\n \"text\": \"private void CargarTabla() {\\n try {\\n \\n Object o[] = null;\\n List listUsuarios = PC.findPacienteEntities();\\n for (int i = 0; i < listUsuarios.size(); i++) {\\n \\n modelo.addRow(o);\\n modelo.setValueAt(listUsuarios.get(i).getIdPaciente(), i, 0);\\n modelo.setValueAt(listUsuarios.get(i).getNombres(), i, 1);\\n modelo.setValueAt(listUsuarios.get(i).getApellidos(), i, 2);\\n modelo.setValueAt(listUsuarios.get(i).getFechaNacimiento(), i, 3);\\n modelo.setValueAt(listUsuarios.get(i).getDui(), i, 4);\\n modelo.setValueAt(listUsuarios.get(i).getSexo(), i, 5);\\n modelo.setValueAt(listUsuarios.get(i).getOcupacion(), i, 6);\\n modelo.setValueAt(listUsuarios.get(i).getDireccion(), i, 7);\\n modelo.setValueAt(listUsuarios.get(i).getEstadoCivil(), i, 8);\\n modelo.setValueAt(listUsuarios.get(i).getTelefono(), i, 9);\\n }\\n } catch (Exception e) {\\n JOptionPane.showMessageDialog(null, e.getMessage());\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d9b2d2d099c276eef573b7a44c0bc75b\",\n \"score\": \"0.5738249\",\n \"text\": \"public void insertarTablaCampos() {\\n int filas = 0;\\n\\n tablemodel.addRow(new Object[0]);\\n //NodoDoble flag = lista.inicio;\\n\\n try {\\n\\n for (int i = 0; i < listaCamps.size(); i++) {\\n\\n if (listaCamps.get(i).isKey() == true) {\\n tablemodel.setValueAt(\\\"Si\\\", filas, 0);\\n\\n } else {\\n tablemodel.setValueAt(\\\"No\\\", filas, 0);\\n }\\n\\n tablemodel.setValueAt(listaCamps.get(i).getNombre(), filas, 1);\\n tablemodel.setValueAt(listaCamps.get(i).getSize(), filas, 2);\\n tablemodel.setValueAt(listaCamps.get(i).getTipo(), filas, 3);\\n\\n tablemodel.addRow(new Object[filas]);\\n\\n //flag = flag.siguiente;\\n filas++;\\n }\\n\\n } catch (Exception e) {\\n\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9581acc7cc746f2c5feabed9b6afc470\",\n \"score\": \"0.573522\",\n \"text\": \"private void buscarSucursal(DefaultTableModel table) {\\n if (!view.txt_buscarSucursal.getText().isEmpty() && view.txt_buscarSucursal.getText() != null) {\\n //el campo tiene informacion\\n //creamos un objeto de tipo sucursal y le enviamos \\n Sucursal sucursal = new Sucursal();\\n Sucursal nuevaSucursal = new Sucursal();\\n sucursal.setId_sucursal(Integer.parseInt(view.txt_buscarSucursal.getText()));\\n //se ejecuta el metodo de busqueda y se iguala al objeto anteriormente hecho\\n nuevaSucursal = sqlsucursal.consultarRegistroSucursal(sucursal);\\n //si es null no se encontro ningun registro con ese id\\n if (nuevaSucursal != null) {\\n //se encontro un registro\\n //se crea un arreglo de tipo object en donde se le asigna a cada posicion la informacion de cada sucursal\\n Object[] sucursalObject = new Object[6];\\n sucursalObject[0] = nuevaSucursal.getId_sucursal();\\n sucursalObject[1] = nuevaSucursal.getDescripcion();\\n sucursalObject[2] = nuevaSucursal.getDireccion();\\n sucursalObject[3] = nuevaSucursal.getTelefono();\\n sucursalObject[4] = new ImageIcon(getClass().getResource(\\\"/icons/edit.png\\\")); //icono actualizar\\n sucursalObject[5] = new ImageIcon(getClass().getResource(\\\"/icons/delete.png\\\")); //icono eliminar\\n\\n //se agrega la fila con la informacion\\n table.addRow(sucursalObject);\\n\\n //se crean los botones en la tabla\\n //boton de actualizar\\n ButtonColumn btnUpdate = new ButtonColumn(view.jtable_sucursal, actualizarSucursal(), 4);\\n //boton de eliminar\\n ButtonColumn btnDelete = new ButtonColumn(view.jtable_sucursal, eliminarSucursal(), 5);\\n view.txt_buscarSucursal.setText(\\\"\\\");\\n } else {\\n //no se encontro el registro\\n JOptionPane.showMessageDialog(null, \\\"No se encontró niguna sucursal\\\", \\\"ATENCIÓN\\\", JOptionPane.INFORMATION_MESSAGE);\\n //se ejecuta consultar\\n consultarSucursal(tablaSucursal());\\n }\\n } else {\\n //el campo esta vacio\\n //se ejecuta consultar\\n consultarSucursal(tablaSucursal());\\n view.txt_buscarSucursal.setText(\\\"\\\");\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a762671504c990d9b08c3a4360624f9e\",\n \"score\": \"0.57231075\",\n \"text\": \"private void obterDadosTabela() {\\n\\r\\n\\t\\tint quantProcessos = ((DefaultTableModel) table.getModel()).getRowCount();\\r\\n\\r\\n\\t\\tListaTempoChegada objLista = new ListaTempoChegada();\\r\\n\\t\\t// percorre todas as linhas dos processos\\r\\n\\r\\n\\t\\tfor (int i = 0; i < quantProcessos; i++) {\\r\\n\\t\\t\\tInteger[] a = obterColunasProcesso(i);\\r\\n\\t\\t\\tobjLista.InserirProcessoOrdenado(a[0], a[1], a[2]);\\r\\n\\t\\t}\\r\\n\\t\\tif (chaveCheckBoxSjf == 1 && quantProcessos > 0) {\\r\\n\\t\\t\\tSjf objSjf = new Sjf();\\r\\n\\t\\t\\tSjf.sjf=true;\\r\\n\\t\\t\\tobjSjf.executarProcessos();\\r\\n\\t\\t}\\r\\n\\t\\telse if (chaveCheckBoxRoundRobin == 1 && quantProcessos > 0) {\\r\\n\\t\\t\\tSjf.sjf=false;\\r\\n\\t\\t\\tRoundRobin rr = new RoundRobin();\\r\\n\\t\\t\\trr.quantum = Integer.parseInt(txtFieldQuantum.getText());\\r\\n\\t\\t\\trr.executar();\\r\\n\\t\\t}\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6cc47c296c843ff159fe4faf457282eb\",\n \"score\": \"0.57224303\",\n \"text\": \"public void borrarTablaEstado() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b8f46e8a94ec28d6ae9925f06ac6b1c0\",\n \"score\": \"0.5713451\",\n \"text\": \"private void generar() {\\n String sql = \\\"SELECT \\\\n\\\"\\n + \\\" subcuenta.idsubcuenta as id,subcuenta.nombre as nom,cambiodemonto.cambiohaber as haber,cambiodemonto.cambiodebe as debe\\\\n\\\"\\n + \\\"FROM \\\\n\\\"\\n + \\\" public.subcuenta, \\\\n\\\"\\n + \\\" public.cambiodemonto, \\\\n\\\"\\n + \\\" public.transaccion\\\\n\\\"\\n + \\\"WHERE \\\\n\\\"\\n + \\\" cambiodemonto.idsubcuenta = subcuenta.idsubcuenta AND\\\\n\\\"\\n + \\\" transaccion.idtransaccion = cambiodemonto.idtransaccion and transaccion.idtransaccion=?\\\";\\n String label = \\\"\\\";\\n try {\\n PreparedStatement sentencia = conect.getConexion().prepareStatement(sql);\\n sentencia.setInt(1, this.codigo);\\n ResultSet resultado = sentencia.executeQuery();\\n while (resultado.next()) {\\n\\n label = \\\"\\\" + label + \\\"
\\\" + String.valueOf(resultado.getInt(\\\"id\\\")) + \\\" \\\" + resultado.getString(\\\"nom\\\") + \\\" con saldos Debe: $\\\" + String.valueOf(resultado.getDouble(\\\"debe\\\")) + \\\" Haber: $\\\" + String.valueOf(resultado.getDouble(\\\"haber\\\"))\\n + \\\" \\\\n\\\";\\n\\n }\\n\\n } catch (SQLException ex) {\\n Logger.getLogger(mostrarTransaccion.class.getName()).log(Level.SEVERE, null, ex);\\n }\\n\\n labelCreado.setText(label);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"684eb10258df95f20c92eeb3b700646a\",\n \"score\": \"0.5710611\",\n \"text\": \"public boolean trataAgentes() {\\n\\t\\t\\n\\t\\tboolean ret = true ; \\n\\t\\n\\t\\t// Pega dados antes de excluir todas os registros\\n \\tParametroDAO paDao = new ParametroDAO(context);\\n \\t\\t\\n \\tCursor c = paDao.getParametros();\\n \\t\\t\\n \\t// dados para comunica��o com o WebTrans\\n \\t// pega novamente aqui pois quando a classe � chamada com par�metro \\\"2\\\" n�o carrega os equipamentos\\n \\ttry\\n \\t{\\n \\t\\t//********************************************\\n \\t\\t// 09.08.2012\\n \\t\\t//\\n \\t\\t// Define usuario fixo para leitura de Tabelas\\n \\t\\t//\\n \\t\\t//********************************************\\n \\t\\t\\n \\t\\tsenhaWebTrans = MD5Util.criptografar(\\\"2015RES\\\");\\n \\t\\t\\n \\t\\t//usuarioWebTrans = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\\\"usuariowebtrans\\\")));\\n \\t\\t//senhaWebTrans = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\\\"senhawebtrans\\\")));\\n \\t\\t\\n \\t\\tString xcod = SimpleCrypto.decrypt(Utilitarios.getInfo(), c.getString(c.getColumnIndex(\\\"orgaoautuador\\\")));\\n \\t\\tcodMunicipio = xcod.subSequence(1, 5).toString(); //265810\\n \\t\\t\\n \\t\\tusuarioWebTrans = \\\"LOGWEBTRANS\\\" + codMunicipio;\\n \\t}\\n \\tcatch( Exception ex )\\n \\t{\\n \\t\\tret=false;\\n \\t}\\n \\t\\n\\n \\t\\n \\t//codMunicipio = c.getString(c.getColumnIndex(\\\"orgaoautuador\\\")).subSequence(1, 5).toString(); //265810\\n \\t\\n \\tString c1,c2,c3;\\n \\tc1 = usuarioWebTrans ;\\n \\tc2 = senhaWebTrans ;\\n \\tc3 = codMunicipio ;\\n \\t\\n \\tc.close();\\n \\t\\t\\n \\tpaDao.close();\\n \\t\\t\\t\\n\\t\\t\\n\\t\\t// tenta decodificar todos o array primeiro\\n\\n\\t\\tfor ( int nx = 0 ; nx < jsonArray.length();nx++)\\n\\t\\t{\\n\\t\\t\\t\\n\\t\\t\\tAgente agente = new Agente();\\n\\t\\t\\t\\n\\t\\t\\ttry {\\n\\t\\t\\t\\n\\t\\t\\t\\tjson1 = jsonArray.getJSONObject(nx);\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tagente.setCodigo( json1.getString(\\\"matricula\\\"));\\n\\t\\t\\t\\tagente.setNome(json1.getString(\\\"nome\\\"));\\n\\t\\t\\t\\tagente.setSenha(json1.getString(\\\"passoword\\\"));\\n\\t\\t\\t\\tagente.setLogin(json1.getString(\\\"user\\\"));\\n\\t\\t\\n\\t\\t\\t\\t// ativo ? \\n\\t\\t\\t\\tagente.setAtivo(\\\"S\\\");\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tif (json1.getString(\\\"status\\\").toUpperCase().contains(\\\"INATIVO\\\")) agente.setAtivo(\\\"N\\\");\\n\\n\\t\\t\\t\\t\\n\\n\\t\\t\\t} catch (JSONException e) {\\n\\t\\t\\n\\t\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\t\\tret = false;\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tif ( tipoperacao.contains(\\\"1\\\") ) errofatal =true;\\n\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t\\n\\t\\tif ( ret )\\n\\t\\t{\\n\\t\\t\\tAgenteDAO agentedao = new AgenteDAO(context);\\n\\t\\t\\t\\n\\t\\t\\t// limpa tabela de agente\\n\\t\\t\\tagentedao.delete();\\n\\t\\t\\t\\n\\t\\t\\tfor ( int nx = 0 ; nx < jsonArray.length();nx++)\\n\\t\\t\\t{\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tAgente agente = new Agente();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t\\tjson1 = jsonArray.getJSONObject(nx);\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t//***************\\n\\t\\t\\t\\t\\t\\t// 29.06.2012\\n\\t\\t\\t\\t\\t\\t//***************\\n\\t\\t\\t\\t\\t\\tagente.setCodigo( SimpleCrypto.encrypt(info,json1.getString(\\\"matricula\\\")));\\n\\t\\t\\t\\t\\t\\tagente.setNome(SimpleCrypto.encrypt(info,json1.getString(\\\"nome\\\")));\\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t// senha ja esta em MD5\\n\\t\\t\\t\\t\\t\\tagente.setSenha(json1.getString(\\\"passoword\\\"));\\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\tagente.setLogin(SimpleCrypto.encrypt(info,json1.getString(\\\"user\\\")));\\n\\n\\t\\t\\t\\t\\t\\t// ativo ? \\n\\t\\t\\t\\t\\t\\tagente.setAtivo(SimpleCrypto.encrypt(info,\\\"S\\\"));\\n\\t\\t\\t\\t\\t\\tif ( json1.getString(\\\"status\\\").contains(\\\"INATIVO\\\")) agente.setAtivo(SimpleCrypto.encrypt(info,\\\"N\\\"));\\n\\n\\t\\t\\t\\t\\t\\t\\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\\tagentedao.insere(agente);\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t} catch (JSONException e) {\\n\\t\\t\\t\\n\\t\\t\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\t\\t\\tret = false;\\n\\t\\t\\t\\t\\terrofatal =true;\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\t\\n\\t\\t\\tagentedao.close();\\n\\t\\t}\\n\\t\\treturn ret;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"866496c21b483b1bdc04eaac43e14b90\",\n \"score\": \"0.5708201\",\n \"text\": \"private void buscarTurmas() {\\n turmas = turmaServico.buscarTurmas(usuarioLogado);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5736f888aed5c17d286765d87a60e4be\",\n \"score\": \"0.57055897\",\n \"text\": \"public void limpiar() {\\n\\t\\tjuridica = new Entidad();\\n\\t\\tjuridicaSeleccionada = new Entidad();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5435fed6c0a9345524c30343d8ed9829\",\n \"score\": \"0.5705325\",\n \"text\": \"@Override\\r\\n\\tpublic void entrenar() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"892a8107242cc4a9821de0b228d2e8a8\",\n \"score\": \"0.5704842\",\n \"text\": \"public PrestamoPeliculas(){\\n contador=0;\\n inicializarVecesPrestadas();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"066f03097b2699616d89de33c866aaf2\",\n \"score\": \"0.5701722\",\n \"text\": \"@Override\\r\\n\\tpublic void resultado() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"042b32f598b61accf7b13680bbb4ff4d\",\n \"score\": \"0.5691377\",\n \"text\": \"public ConsultaLigacoes() {\\n initComponents();\\n this.setExtendedState(this.getExtendedState()|VisualizadorProfissionais.MAXIMIZED_BOTH);\\n conecta.conectaBanco();\\n preenchertabela(\\\"select * from solicitacoes order by id\\\");\\n jTableSolicitacoes.setAutoCreateRowSorter(true);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"365d4010179820fb74de69317acc356c\",\n \"score\": \"0.56903356\",\n \"text\": \"public void seDeplaseaza();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"263823c5358acd1f2a36004ac1f7682f\",\n \"score\": \"0.56879675\",\n \"text\": \"public String limpiar()\\r\\n/* 210: */ {\\r\\n/* 211:270 */ crearEntidad();\\r\\n/* 212:271 */ return \\\"\\\";\\r\\n/* 213: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"70a315855db64fda6d79e4f8c32d40cf\",\n \"score\": \"0.56790257\",\n \"text\": \"Transicion createTransicion();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"983629d750ac56f6158c238bfda39b41\",\n \"score\": \"0.5676199\",\n \"text\": \"public void accionPropia() {\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c37baff42c7c9b6e0288df062aa9966d\",\n \"score\": \"0.56745696\",\n \"text\": \"private static void hinhTron() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f7c82e188acf30d59f88faf08cf24ac\",\n \"score\": \"0.56723934\",\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.56723934\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void ayuda() {\\n\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8a52ac6821f77d9674e63ef7df6dbc8e\",\n \"score\": \"0.5670564\",\n \"text\": \"public void mostrarRequisitos() {\\n String curso = (String) this.vistaCursos.cbCodigosCursos.getSelectedItem();\\n DefaultTableModel modeloR = new DefaultTableModel();\\n this.vistaCursos.ReqTable.setModel(modeloR); // Setear el modelo de la tabla de requisitos\\n this.filas = cursoCrud.consultarRequisitos(curso); /// Crear este método verda \\n\\n modeloR.addColumn(\\\"ID\\\");\\n modeloR.addColumn(\\\"Nombre\\\");\\n modeloR.addColumn(\\\"Créditos\\\");\\n modeloR.addColumn(\\\"Horas de clase\\\");\\n\\n for (Object[] fila : filas){\\n modeloR.addRow(fila);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0498f3e7aad7edc4a424eeb306327556\",\n \"score\": \"0.5665593\",\n \"text\": \"public GUI_ConsultarRequisicao() {\\n initComponents();\\n jTableRequisicao.setAutoCreateRowSorter(true);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4ecbdfa741589c2703a3620af5a066c7\",\n \"score\": \"0.56621695\",\n \"text\": \"private void limpiar() {\\n txtcantidad.setText(\\\"\\\");\\n txtnomprod.setText(\\\"\\\");\\n ad.setArticulo(null);\\n Utiles.cargarComboCategorias(cbxcategoria);\\n cargarTablaA();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7cfd611da1693bffede4d74ddd2fc3de\",\n \"score\": \"0.56565\",\n \"text\": \"private void initTable() {\\r\\n configuraNuevaTabla(new ArrayList ());\\r\\n if(opTarjeta){\\r\\n tblModelRegistros =\\r\\n new FarmaTableModel(ConstantsRecaudacion.columnsListaBFP_Tarjeta, ConstantsRecaudacion.defaultValuesListaBFP_Tarjeta,\\r\\n 0); \\r\\n }else if(opPrestamo){\\r\\n tblModelRegistros =\\r\\n new FarmaTableModel(ConstantsRecaudacion.columnsListaBFP_Prestamo, ConstantsRecaudacion.defaultValuesListaBFP_Prestamo,\\r\\n 0); \\r\\n }else if(opDeposito){\\r\\n tblModelRegistros =\\r\\n new FarmaTableModel(ConstantsRecaudacion.columnsListaBFP_Deposito, ConstantsRecaudacion.defaultValuesListaBFP_Deposito,\\r\\n 0);\\r\\n }\\r\\n /*\\r\\n FarmaUtility.initSimpleList(tblTarjetas, tblModelTarjetas, ConstantsRecaudacion.columnsListaConsultaBFP);\\r\\n */ \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3ada43f78e894566df5dc0a3d6b38a7d\",\n \"score\": \"0.5653429\",\n \"text\": \"public void borrarTablaGerente() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"24aece51b0991bb852151945a7b3a37c\",\n \"score\": \"0.56528336\",\n \"text\": \"public void tratarPapelera(Object informacion);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"895776920f7875036d65e72cd5caed05\",\n \"score\": \"0.5650426\",\n \"text\": \"public void testLlenarTabla1() {\\n TablaDatos instance = new TablaDatos();\\n instance.llenarTabla1();\\n assertTrue(\\\"testLlenarTabla1:fail\\\",instance.getTablaDatos().get(9).getX() == 961);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"07375d245633bb748f5446f6aebdda36\",\n \"score\": \"0.5647564\",\n \"text\": \"@Override\\n public void obtenerMascotasBaseDatos() {\\n //hacemos un ubjeto Constructor mascotas y le pasamos el contexto\\n constructorMascotas = new ConstructorMascotas(context);\\n //le agregamos a la variable mascota lo que devuelva el metodo obtenerDatos de la clase ConstructorMascotas\\n mascotas = constructorMascotas.obtenerDatos();\\n //hacemos el llamada al metodo sobre escrito mostrarMascotas\\n mostrarMascotas();\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"adb1ab21cd036f2894e72e5ef45be951\",\n \"score\": \"0.564287\",\n \"text\": \"public ConsultaQuestao() {\\n initComponents();\\n prepararCombos();\\n ListaTable();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"83a094c00bed1b305ae875a1ab85e7f5\",\n \"score\": \"0.56425875\",\n \"text\": \"public ViewCariTeman() {\\n initComponents();\\n tampildata();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2763dbf5eb11db542b0f73abe093a591\",\n \"score\": \"0.56283355\",\n \"text\": \"public void testLlenarTabla3() {\\n TablaDatos instance = new TablaDatos();\\n instance.llenarTabla3();\\n assertTrue(\\\"testLlenarTabla3:fail\\\",instance.getTablaDatos().get(1).getX() == 765);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"786e14ff1965b21f3dbacce9eadee9f4\",\n \"score\": \"0.5626065\",\n \"text\": \"public Controller(){\\n vista = new VistaConsola();\\n instituto = new EstudianteDTO();// estudiantes, EstudianteDAO\\n //funcionar();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fb0e8351ddbe672f997811b956ac3a6a\",\n \"score\": \"0.56205595\",\n \"text\": \"private void inizia() throws Exception {\\n /* variabili e costanti locali di lavoro */\\n AnagraficaModulo mod;\\n Query query;\\n Filtro filtro;\\n Dati dati;\\n int intero;\\n String stringa = \\\"\\\";\\n ValoriOpzione opzione;\\n\\n try { // prova ad eseguire il codice\\n\\n mod = AnagraficaModulo.get();\\n\\n Campo cTipo = mod.getCampo(Cam.privatosocieta.get());\\n Campo cPI = mod.getCampo(Cam.partitaIva.get());\\n Campo cCF = mod.getCampo(Cam.codFiscale.get());\\n Campo cCodPag = mod.getCampo(Cam.pagamento.get());\\n Campo cCodIva = mod.getCampo(Cam.iva.get());\\n Campo cApplicaRivalsa = mod.getCampo(Cam.applicaRivalsa.get());\\n Campo cApplicaRA = mod.getCampo(Cam.applicaRA.get());\\n Campo cPercRA = mod.getCampo(Cam.percRA.get());\\n\\n query = new QuerySelezione(mod);\\n filtro = FiltroFactory.codice(mod, this.getCodice());\\n query.setFiltro(filtro);\\n query.addCampo(cTipo);\\n query.addCampo(cPI);\\n query.addCampo(cCF);\\n query.addCampo(cCodPag);\\n query.addCampo(cCodIva);\\n query.addCampo(cApplicaRivalsa);\\n query.addCampo(cApplicaRA);\\n query.addCampo(cPercRA);\\n dati = mod.query().querySelezione(query);\\n\\n /* recupera c.f. / p.i. a seconda del tipo */\\n stringa = \\\"\\\";\\n intero = dati.getIntAt(0, cTipo);\\n Tipi tipo = Anagrafica.Tipi.getTipo(intero);\\n if (tipo != null) {\\n switch (tipo) {\\n case privato:\\n stringa = dati.getStringAt(0, cCF);\\n break;\\n case societa:\\n stringa = dati.getStringAt(0, cPI);\\n break;\\n default: // caso non definito\\n break;\\n } // fine del blocco switch\\n }// fine del blocco if\\n this.setPicf(stringa);\\n\\n /* recupera cod. pagamento */\\n this.setCodPag(dati.getIntAt(0, cCodPag));\\n\\n /* recupera cod. iva */\\n this.setCodIva(dati.getIntAt(0, cCodIva));\\n\\n /* recupera opzione applica rivalsa */\\n intero = dati.getIntAt(0, cApplicaRivalsa);\\n opzione = ValoriOpzione.getElemento(intero);\\n this.setApplicaRivalsa(opzione);\\n\\n /* recupera opzione applica r.a. */\\n intero = dati.getIntAt(0, cApplicaRA);\\n opzione = ValoriOpzione.getElemento(intero);\\n this.setApplicaRA(opzione);\\n\\n /* recupera percentuale r.a. */\\n this.setPercRA(dati.getDoubleAt(0, cPercRA));\\n\\n /* recupera l'etichetta */\\n this.setEtichetta(mod.getEtichettaIndirizzoPrincipale(this.getCodice()));\\n\\n /* chiude i dati */\\n dati.close();\\n\\n\\n } catch (Exception unErrore) { // intercetta l'errore\\n Errore.crea(unErrore);\\n }// fine del blocco try-catch\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1af5aa89df97cca4972c12fe4cf65ad4\",\n \"score\": \"0.5615801\",\n \"text\": \"public TelaRelatorio() {\\n initComponents();\\n List funcionarios = new ArrayList();\\n AnalistaDAO dao = new AnalistaDAO();\\n for (Analista a: dao.listar()){\\n funcionarios.add(a);\\n }\\n DiretorDAO diretorDao = new DiretorDAO();\\n for (Diretor d: diretorDao.listar()){\\n funcionarios.add(d);\\n }\\n GerenteDAO gerenteDao = new GerenteDAO();\\n for (Gerente g: gerenteDao.listar()){\\n funcionarios.add(g);\\n }\\n LimpezaDAO limpezaDAO = new LimpezaDAO();\\n for (Limpeza l: limpezaDAO.listar()){\\n funcionarios.add(l);\\n }\\n ProgramadorDAO programadorDAO = new ProgramadorDAO();\\n for (Programador p: programadorDAO.listar()){\\n funcionarios.add(p);\\n }\\n for (Funcionario func: funcionarios){\\n textarea.append(func.getRelatorio());\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"802eb1eb328db99c60dba41ff05cd969\",\n \"score\": \"0.5615783\",\n \"text\": \"public CadastrarAluno() throws Exception {\\n initComponents();\\n carregarAluno();\\n DefaultTableModel model = (DefaultTableModel) tbDados.getModel();\\n tbDados.setRowSorter(new TableRowSorter(model));\\n listarDadosMateria();\\n \\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":341,"cells":{"query_id":{"kind":"string","value":"518bf5364cda3c6202a1a392996f93d1"},"query":{"kind":"string","value":"Inflate the menu; this adds items to the action bar if it is present."},"positive_passages":{"kind":"list like","value":[{"docid":"45442c87d381deee3a66e950c314c3b6","score":"0.6632049","text":"@Override\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.main, menu);\n \t\treturn true;\n \t}","title":""}],"string":"[\n {\n \"docid\": \"45442c87d381deee3a66e950c314c3b6\",\n \"score\": \"0.6632049\",\n \"text\": \"@Override\\n \\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n \\t\\tgetMenuInflater().inflate(R.menu.main, menu);\\n \\t\\treturn true;\\n \\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"f7f80efb09064a7f639e932aa0a3f649","score":"0.7219527","text":"public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n\n if (current_object == null ) {\n getActivity().invalidateOptionsMenu();\n// return; // If current_object hasn't been set yet, wait for createView to finish.\n }\n\n // Go through all current menu items and change them as needed:\n MenuItem current_item;\n for(int i = 0; i < menu.size(); i++) {\n current_item = menu.getItem(i);\n switch (current_item.getItemId()) {\n case R.id.edit_action:\n current_item.setVisible(true);\n break;\n case R.id.star_action:\n if (current_object.getType().equals(\"topic\")) {\n if (current_object.getStarStatus() == 1) {\n current_item.setIcon(R.drawable.star_white_full);\n current_item.setTitle(\"un-star\");\n }\n current_item.setVisible(true);\n }\n break;\n case R.id.archive_action:\n if (current_object.getType().equals(\"topic\")) {\n if (current_object.getArchiveStatus() == 1) {\n current_item.setIcon(R.drawable.hide_white);\n current_item.setTitle(\"restore\");\n }\n current_item.setVisible(true);\n }\n break;\n case R.id.search:\n current_item.setVisible(false);\n default:\n current_item.setShowAsAction(MenuItem.SHOW_AS_ACTION_NEVER);\n }\n }\n }","title":""},{"docid":"34baea2ed7d99269cfcfbebb2aa0a76b","score":"0.7209676","text":"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\r\n\t\tinflater.inflate(R.menu.main_actions, menu);\r\n\t\treturn super.onCreateOptionsMenu(menu);\r\n\t}","title":""},{"docid":"8642ad2ec5b1d556245e9439c6283bf3","score":"0.7169351","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\t\n\t\tinflater.inflate(R.menu.main, menu);\n\t\t\n\t\t//inflate action bar menu only if it's abscent\n\t\tinflater.inflate(R.menu.ab_main, menu);\n\n\t\treturn true;\n }","title":""},{"docid":"239f4447c51cbf2ec54c8887af8e5932","score":"0.7076959","text":"@Override\r\n public boolean onCreateOptionsMenu( android.view.Menu menu)\r\n {\n MenuInflater inflater = getMenuInflater();\r\n inflater.inflate(R.menu.main_activity_actions, menu);\r\n return super.onCreateOptionsMenu(menu);\r\n }","title":""},{"docid":"3929bf2ffc50d20c3318fcf357209193","score":"0.7051162","text":"@Override\t\t//Create menu icons\n\tpublic boolean onCreateOptionsMenu(Menu menu){\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n\t}","title":""},{"docid":"384528999afe2e3619a7f99f8143dbeb","score":"0.7000043","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"384528999afe2e3619a7f99f8143dbeb","score":"0.7000043","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"4ad8fcb0b6e0716c3638c43345395f89","score":"0.69877726","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main_activity_actions, menu);\n\t\tLog.i(\"action_bar\", \"apparently this is being called!\");\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}","title":""},{"docid":"82e6a615b942f33863ca244f5737d726","score":"0.69853467","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_items, menu);//Menu Resource, Menu\n return true;\n }","title":""},{"docid":"ad1c350f2178cd3f55c616ee5affb9b2","score":"0.6931685","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n int res = getOptionsMenuResource();\n if(res > 0){\n getMenuInflater().inflate(res, menu);\n }\n return true;\n }","title":""},{"docid":"16bfeccedb091017e43ebbb179fc1754","score":"0.6929264","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.menu, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}","title":""},{"docid":"47d16fa25d516c847da78250e2c606c7","score":"0.6916928","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"47d16fa25d516c847da78250e2c606c7","score":"0.6916928","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"b8721b65f3e6d30a695d18c2be33a83a","score":"0.6877727","text":"@Override\n /**\n * overridden method to create and inflate the action menu items\n */\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_main, menu);\n return true;\n }","title":""},{"docid":"fe4ceb0c98fb334ac2575d20862e141b","score":"0.68758035","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main_activity_actions, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}","title":""},{"docid":"7c7f52bc85432234ee2050f101ef1659","score":"0.68621665","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}","title":""},{"docid":"8f9525cf5067da6071d2fa395a17987f","score":"0.68597424","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.habit_detail_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"ec71150dd0e84cee2d50f3e1c3ab12ed","score":"0.6857765","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_catalog, menu);\n //Add menu items to app bar\n return true;\n }","title":""},{"docid":"d417245f7e21ea42344ec0fcef4785d6","score":"0.6846082","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\t\n\t\t\n\t\t\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}","title":""},{"docid":"08cd041dec781014b560155f00055216","score":"0.68221074","text":"@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.actions, menu);\r\n return true;\r\n }","title":""},{"docid":"34c927a6b90181362fb23949c30e17fe","score":"0.67962325","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n super.onCreateOptionsMenu(menu);\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn true;\n }","title":""},{"docid":"0f7b69f255438edf387dda68733f6036","score":"0.67905474","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inf=getMenuInflater();\n inf.inflate(R.menu.menu_activation, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"43e2f63c7b405f49108e78b085837102","score":"0.6787039","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.menu, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}","title":""},{"docid":"78031d618f1b4d5e4f7a926f5adad9cd","score":"0.678421","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main, menu);\n\n \n\t\treturn super.onCreateOptionsMenu(menu);\n\t\t\n\t}","title":""},{"docid":"a64096bb07d9e8a61775762fef9296f5","score":"0.6757412","text":"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\r\n\t\treturn super.onCreateOptionsMenu(menu);\r\n\t}","title":""},{"docid":"239df9f5250fec08fde0cec5848f8840","score":"0.67529166","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n getActivity().getMenuInflater().inflate(R.menu.act_main_menu, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }","title":""},{"docid":"5e77b941ba24eaf9d62ca4b27a5fb668","score":"0.67528784","text":"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.action_items_add, menu);\r\n\t\treturn true;\r\n\t}","title":""},{"docid":"018619a5c0b094ed4bb41ad52dce2b9b","score":"0.6749874","text":"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = this.getMenuInflater();\r\n\t\t\r\n\t\t// inflar um XML\r\n\t\tinflater.inflate(R.menu.coletar, menu);\r\n\t\treturn true;\r\n\t}","title":""},{"docid":"d83587e83b7505139e6f79ac81300684","score":"0.67468643","text":"@Override\n\tpublic boolean onCreateOptionsMenu(android.view.Menu menu) {\n\t\t super.onCreateOptionsMenu(menu);\n\t\t MenuInflater mi = getMenuInflater();\n\t\t mi.inflate(R.menu.main, menu);\t\t \n\t\t return true;\n\t\t\n\t}","title":""},{"docid":"794a1678f2483bc46fb5f63e48dd8b14","score":"0.6743387","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.actions, menu);\n return true;\n }","title":""},{"docid":"cb2f27bc65920fbf58b521a9793f212b","score":"0.67378706","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.forcast_menu, menu);\n }","title":""},{"docid":"1b43a8a9049133ae053356cb72af10bd","score":"0.6733989","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(menu_main, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"ded1f24609be73ae11fdf8859a1b058f","score":"0.6725062","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n new MenuInflater(this).inflate(R.menu.actionbar_menu, menu);\n return (super.onCreateOptionsMenu(menu));\n }","title":""},{"docid":"7beece16a3151963d6658b28e9b28066","score":"0.67226785","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"2cb096fc4d55ca9ab4a0e281055410f1","score":"0.67145264","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"127d61755db25d00dee2bfd782483056","score":"0.6704642","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main, menu);//Menu Resource,\n\n return true;\n }","title":""},{"docid":"fbfe5f7fb9486d8fc056ff922706085e","score":"0.6704564","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}","title":""},{"docid":"11edaad2de374bc2c6f3445087ed1629","score":"0.6702381","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(app_bar_menu, menu);\n return true;\n }","title":""},{"docid":"a6fc94db9795d8ef3c8818a4f628e67e","score":"0.6702011","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main_activity_actions, menu);\n\t\treturn true;\n\t}","title":""},{"docid":"a6fc94db9795d8ef3c8818a4f628e67e","score":"0.6702011","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main_activity_actions, menu);\n\t\treturn true;\n\t}","title":""},{"docid":"55cca93ad3c06623279ee3d4164b6f89","score":"0.67009985","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.menu_main, menu);\n\n }","title":""},{"docid":"90b147d6905fe9d27d67d16cf18bcd76","score":"0.6700756","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.menu_main, menu);\n }","title":""},{"docid":"90b147d6905fe9d27d67d16cf18bcd76","score":"0.6700756","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.menu_main, menu);\n }","title":""},{"docid":"947e498caf2063315e3e77d6bb75b8cb","score":"0.6700063","text":"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.show_item, menu);\r\n\t\treturn true;\r\n\t}","title":""},{"docid":"6d518762fb5e916b2b9c13d37629510c","score":"0.6692782","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tsuper.onCreateOptionsMenu(menu);\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.ilk_menu, menu);\n\t\treturn true;\n\t}","title":""},{"docid":"58b51e90d6d0a69b04c4cd210f2e31b4","score":"0.6686782","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_main, menu);//Menu Resource, Menu\n return true;\n }","title":""},{"docid":"58b51e90d6d0a69b04c4cd210f2e31b4","score":"0.6686782","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_main, menu);//Menu Resource, Menu\n return true;\n }","title":""},{"docid":"a6c2794f51b4f6f63b8c5f7977c6b7cb","score":"0.6685384","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater menuInflater = getMenuInflater();\n menuInflater.inflate(R.menu.add_note_menu, menu); // pass the menu I've just created, it tells the system to use the menu\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"1c523967f1b1ae2a3bb0514d15ed5d6e","score":"0.6684762","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.apk, menu);\n\t\treturn true;\n\t}","title":""},{"docid":"fac99c9b973d17f1c44720793929ce44","score":"0.66841704","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.menu, menu);\n\t\treturn true;\n\t}","title":""},{"docid":"b1631b737fc46ad9ef9203bd94535a01","score":"0.6683476","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"284ded61b3589567041e41b1daefa4c6","score":"0.6677873","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}","title":""},{"docid":"4cddb48b1da190800f3823cec5221b18","score":"0.6673866","text":"@Override\r\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\r\n\t\t\treturn true;\r\n\t\t}","title":""},{"docid":"f3a1d5f738143b76a084028fd188a14a","score":"0.6669518","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tsuper.onCreateOptionsMenu(menu);\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn true;\n\t}","title":""},{"docid":"222cb7feb37d9f33a24a0a15a7aa385a","score":"0.6668339","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.app_bar_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"6cc5da99a32692d41c31cc394b4bd681","score":"0.6667702","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.actionbar, menu);\n return true;\n }","title":""},{"docid":"89d08db6734f62c736882b3842146a6c","score":"0.66676044","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"abba7aebb72fed77ba2726d6f8e0324a","score":"0.6667202","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.main, menu);\n\n super.onCreateOptionsMenu(menu, inflater);\n }","title":""},{"docid":"fa5e52b3acee2d5ed61d0475f2e64a07","score":"0.66666424","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu){\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"381d0884cd6375b57247341266dbdccb","score":"0.66663986","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.actionbar_actions, menu);\n return true;\n }","title":""},{"docid":"2d169202bfd9e05f3d8f11324040885d","score":"0.6665584","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.menu_flyernew, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}","title":""},{"docid":"6c85e8d78b2f8b6ec8f043830f44b97d","score":"0.66654295","text":"@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.allmenu, menu);\r\n return true;\r\n }","title":""},{"docid":"9e90ee9aba69fb886ba0bf4523a44895","score":"0.66609097","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n }","title":""},{"docid":"834f6c62845d947459df685b80dd2f2d","score":"0.6656586","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n }","title":""},{"docid":"834f6c62845d947459df685b80dd2f2d","score":"0.6656586","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n }","title":""},{"docid":"60a0a65d0954b254ea5a1db9f907e51c","score":"0.6656326","text":"@Override\r\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.main, menu);\r\n \t\treturn true;\r\n \t}","title":""},{"docid":"a0357b2e46bb05c78e72f64ff516350e","score":"0.66544783","text":"@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\t\treturn true;\n\t\t}","title":""},{"docid":"5a64c1fbbcb876589d9dc87722a3f855","score":"0.6652546","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.add_route_activity_actionbar, menu);\n return true;\n }","title":""},{"docid":"3e8720a0ec0a7b29939158c5939793e8","score":"0.6650132","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"1636840ec330d0059f2dc0682da90483","score":"0.66490555","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n\n }","title":""},{"docid":"8dd3afe6aa61618a16c44af00127f2f7","score":"0.66398865","text":"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.book_list_main, menu);\r\n\t\treturn true;\r\n\t}","title":""},{"docid":"8d32c53bc0d2b45fb07fc92450d3d208","score":"0.6639513","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu){\n\n MenuInflater menuInflater = getMenuInflater();\n menuInflater.inflate(R.menu.main_menu, menu);\n\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"3d3524933e46322bfaed94679349b83a","score":"0.6639502","text":"@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_temp, menu);\r\n return true;\r\n }","title":""},{"docid":"896f040bae68c8182568c18af9f1b080","score":"0.6634786","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"896f040bae68c8182568c18af9f1b080","score":"0.6634786","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"896f040bae68c8182568c18af9f1b080","score":"0.6634786","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"896f040bae68c8182568c18af9f1b080","score":"0.6634786","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"23311cd2049fbefa73be64d2f796a40b","score":"0.663356","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.app_bar_menu, menu);\n return true;\n }","title":""},{"docid":"129047db332e82aa713ca7ce8b15f5c7","score":"0.6630597","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_items, menu);\n return true;\n }","title":""},{"docid":"d107bb51adb9bf0d885c0741129dabdc","score":"0.66296643","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.toolbar_menu, menu);\n\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"c9619a840fc4857f6c86a34c7cbb5413","score":"0.6628054","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater=getMenuInflater();\n inflater.inflate(R.menu.menu,menu);\n return true;\n }","title":""},{"docid":"277058fcbb6c657f51a16add64c659d8","score":"0.6626297","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn true;\n\t}","title":""},{"docid":"277058fcbb6c657f51a16add64c659d8","score":"0.6626297","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn true;\n\t}","title":""},{"docid":"6469d9415815a3dca842be52e131534e","score":"0.66185176","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.action_bar_menu, menu);\n\n return true;\n }","title":""},{"docid":"68e30ab8d4e7751e59cb4a9faf634b2b","score":"0.6617961","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n menu.add(null).setIcon(R.drawable.ic_android_trans_24dp).setShowAsActionFlags(1);\n\n super.onCreateOptionsMenu(menu, inflater);\n }","title":""},{"docid":"914f230d42a9da9fa865d498eb8155cd","score":"0.66165245","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.common_menu, menu);\n\t\tmenu.removeItem( R.id.action_interior);\n\t\treturn true;\n\t}","title":""},{"docid":"bc810fcc4e0f7f4ea8ea7f7b68225314","score":"0.6614405","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"8108d46d4d2c0371b6915420af4d4e77","score":"0.66125154","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_main, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"8108d46d4d2c0371b6915420af4d4e77","score":"0.66125154","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_main, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"8108d46d4d2c0371b6915420af4d4e77","score":"0.66125154","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_main, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"8108d46d4d2c0371b6915420af4d4e77","score":"0.66125154","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_main, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"240504d0c0bec487a1471d239694af04","score":"0.661179","text":"@Override\n\tprotected void initMenuItem() {\n\t\tmMenuId = new int[] { R.id.action_usersetting,\n\t\t\t\tR.id.action_systemsetting, /*R.id.action_update,*/ R.id.action_quit };\n\n\t\tmMenuItem = new String[] {\n\t\t\t\tmContext.getResources().getString(R.string.action_usersetting),\n\t\t\t\tmContext.getResources()\n\t\t\t\t\t\t.getString(R.string.action_systemsetting),\n\t\t\t\t/*mContext.getResources().getString(R.string.action_update),*/\n\t\t\t\tmContext.getResources().getString(R.string.action_exit) };\n\n\t\tmMenuIcon = new int[] { R.drawable.ic_side_user_setting,\n\t\t\t\tR.drawable.system_setting_disabled,\n\t\t\t\t/*R.drawable.ic_side_sync_soft,*/ R.drawable.ic_side_exit };\n\t}","title":""},{"docid":"95de7638601a657296d90f86fb453998","score":"0.66102415","text":"@Override\r\n\t\tpublic boolean onCreateOptionsMenu(Menu menu)\r\n\t\t\t{\n\t\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\r\n\t\t\t\treturn true;\r\n\t\t\t}","title":""},{"docid":"62171f0ce98572c9597f5beab2b55037","score":"0.6610049","text":"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tsuper.onCreateOptionsMenu(menu);\r\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\r\n\t\treturn true;\r\n\t}","title":""},{"docid":"d560462b51f51d3a8247395db670a709","score":"0.6608793","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.activity, menu);\n\n\t\treturn true;\n\t}","title":""},{"docid":"3facbb608f0cbfbdfd8e538ecf783f9f","score":"0.66058314","text":"@Override\n /**\n * adds item to the action bar if it is present\n * @param menu\n * @retunr boolean on if inflated\n */\n public boolean onCreateOptionsMenu(Menu menu) {\n return true;\n }","title":""}],"string":"[\n {\n \"docid\": \"f7f80efb09064a7f639e932aa0a3f649\",\n \"score\": \"0.7219527\",\n \"text\": \"public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n super.onCreateOptionsMenu(menu, inflater);\\n\\n if (current_object == null ) {\\n getActivity().invalidateOptionsMenu();\\n// return; // If current_object hasn't been set yet, wait for createView to finish.\\n }\\n\\n // Go through all current menu items and change them as needed:\\n MenuItem current_item;\\n for(int i = 0; i < menu.size(); i++) {\\n current_item = menu.getItem(i);\\n switch (current_item.getItemId()) {\\n case R.id.edit_action:\\n current_item.setVisible(true);\\n break;\\n case R.id.star_action:\\n if (current_object.getType().equals(\\\"topic\\\")) {\\n if (current_object.getStarStatus() == 1) {\\n current_item.setIcon(R.drawable.star_white_full);\\n current_item.setTitle(\\\"un-star\\\");\\n }\\n current_item.setVisible(true);\\n }\\n break;\\n case R.id.archive_action:\\n if (current_object.getType().equals(\\\"topic\\\")) {\\n if (current_object.getArchiveStatus() == 1) {\\n current_item.setIcon(R.drawable.hide_white);\\n current_item.setTitle(\\\"restore\\\");\\n }\\n current_item.setVisible(true);\\n }\\n break;\\n case R.id.search:\\n current_item.setVisible(false);\\n default:\\n current_item.setShowAsAction(MenuItem.SHOW_AS_ACTION_NEVER);\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"34baea2ed7d99269cfcfbebb2aa0a76b\",\n \"score\": \"0.7209676\",\n \"text\": \"@Override\\r\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tMenuInflater inflater = getMenuInflater();\\r\\n\\t\\tinflater.inflate(R.menu.main_actions, menu);\\r\\n\\t\\treturn super.onCreateOptionsMenu(menu);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8642ad2ec5b1d556245e9439c6283bf3\",\n \"score\": \"0.7169351\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tMenuInflater inflater = getMenuInflater();\\n\\t\\t\\n\\t\\tinflater.inflate(R.menu.main, menu);\\n\\t\\t\\n\\t\\t//inflate action bar menu only if it's abscent\\n\\t\\tinflater.inflate(R.menu.ab_main, menu);\\n\\n\\t\\treturn true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"239f4447c51cbf2ec54c8887af8e5932\",\n \"score\": \"0.7076959\",\n \"text\": \"@Override\\r\\n public boolean onCreateOptionsMenu( android.view.Menu menu)\\r\\n {\\n MenuInflater inflater = getMenuInflater();\\r\\n inflater.inflate(R.menu.main_activity_actions, menu);\\r\\n return super.onCreateOptionsMenu(menu);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3929bf2ffc50d20c3318fcf357209193\",\n \"score\": \"0.7051162\",\n \"text\": \"@Override\\t\\t//Create menu icons\\n\\tpublic boolean onCreateOptionsMenu(Menu menu){\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.main_activity_actions, menu);\\n return super.onCreateOptionsMenu(menu);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"384528999afe2e3619a7f99f8143dbeb\",\n \"score\": \"0.7000043\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.main_actions, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"384528999afe2e3619a7f99f8143dbeb\",\n \"score\": \"0.7000043\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.main_actions, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4ad8fcb0b6e0716c3638c43345395f89\",\n \"score\": \"0.69877726\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tMenuInflater inflater = getMenuInflater();\\n\\t\\tinflater.inflate(R.menu.main_activity_actions, menu);\\n\\t\\tLog.i(\\\"action_bar\\\", \\\"apparently this is being called!\\\");\\n\\t\\treturn super.onCreateOptionsMenu(menu);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"82e6a615b942f33863ca244f5737d726\",\n \"score\": \"0.69853467\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.menu_items, menu);//Menu Resource, Menu\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ad1c350f2178cd3f55c616ee5affb9b2\",\n \"score\": \"0.6931685\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n int res = getOptionsMenuResource();\\n if(res > 0){\\n getMenuInflater().inflate(res, menu);\\n }\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"16bfeccedb091017e43ebbb179fc1754\",\n \"score\": \"0.6929264\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tMenuInflater inflater = getMenuInflater();\\n\\t\\tinflater.inflate(R.menu.menu, menu);\\n\\t\\treturn super.onCreateOptionsMenu(menu);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47d16fa25d516c847da78250e2c606c7\",\n \"score\": \"0.6916928\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.main_activity_actions, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47d16fa25d516c847da78250e2c606c7\",\n \"score\": \"0.6916928\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.main_activity_actions, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b8721b65f3e6d30a695d18c2be33a83a\",\n \"score\": \"0.6877727\",\n \"text\": \"@Override\\n /**\\n * overridden method to create and inflate the action menu items\\n */\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.menu_main, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fe4ceb0c98fb334ac2575d20862e141b\",\n \"score\": \"0.68758035\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.main_activity_actions, menu);\\n\\t\\treturn super.onCreateOptionsMenu(menu);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7c7f52bc85432234ee2050f101ef1659\",\n \"score\": \"0.68621665\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tMenuInflater inflater = getMenuInflater();\\n\\t\\tinflater.inflate(R.menu.main, menu);\\n\\t\\treturn super.onCreateOptionsMenu(menu);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8f9525cf5067da6071d2fa395a17987f\",\n \"score\": \"0.68597424\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.habit_detail_actions, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ec71150dd0e84cee2d50f3e1c3ab12ed\",\n \"score\": \"0.6857765\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.menu_catalog, menu);\\n //Add menu items to app bar\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d417245f7e21ea42344ec0fcef4785d6\",\n \"score\": \"0.6846082\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tMenuInflater inflater = getMenuInflater();\\n\\t\\tinflater.inflate(R.menu.main, menu);\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t\\treturn super.onCreateOptionsMenu(menu);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"08cd041dec781014b560155f00055216\",\n \"score\": \"0.68221074\",\n \"text\": \"@Override\\r\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.actions, menu);\\r\\n return true;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"34c927a6b90181362fb23949c30e17fe\",\n \"score\": \"0.67962325\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n super.onCreateOptionsMenu(menu);\\n\\t\\tMenuInflater inflater = getMenuInflater();\\n\\t\\tinflater.inflate(R.menu.main, menu);\\n\\t\\treturn true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0f7b69f255438edf387dda68733f6036\",\n \"score\": \"0.67905474\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inf=getMenuInflater();\\n inf.inflate(R.menu.menu_activation, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"43e2f63c7b405f49108e78b085837102\",\n \"score\": \"0.6787039\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.menu, menu);\\n\\t\\treturn super.onCreateOptionsMenu(menu);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78031d618f1b4d5e4f7a926f5adad9cd\",\n \"score\": \"0.678421\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tMenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.main, menu);\\n\\n \\n\\t\\treturn super.onCreateOptionsMenu(menu);\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a64096bb07d9e8a61775762fef9296f5\",\n \"score\": \"0.6757412\",\n \"text\": \"@Override\\r\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.main, menu);\\r\\n\\t\\treturn super.onCreateOptionsMenu(menu);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"239df9f5250fec08fde0cec5848f8840\",\n \"score\": \"0.67529166\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n getActivity().getMenuInflater().inflate(R.menu.act_main_menu, menu);\\n super.onCreateOptionsMenu(menu, inflater);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e77b941ba24eaf9d62ca4b27a5fb668\",\n \"score\": \"0.67528784\",\n \"text\": \"@Override\\r\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.action_items_add, menu);\\r\\n\\t\\treturn true;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"018619a5c0b094ed4bb41ad52dce2b9b\",\n \"score\": \"0.6749874\",\n \"text\": \"@Override\\r\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tMenuInflater inflater = this.getMenuInflater();\\r\\n\\t\\t\\r\\n\\t\\t// inflar um XML\\r\\n\\t\\tinflater.inflate(R.menu.coletar, menu);\\r\\n\\t\\treturn true;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d83587e83b7505139e6f79ac81300684\",\n \"score\": \"0.67468643\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(android.view.Menu menu) {\\n\\t\\t super.onCreateOptionsMenu(menu);\\n\\t\\t MenuInflater mi = getMenuInflater();\\n\\t\\t mi.inflate(R.menu.main, menu);\\t\\t \\n\\t\\t return true;\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"794a1678f2483bc46fb5f63e48dd8b14\",\n \"score\": \"0.6743387\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.actions, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cb2f27bc65920fbf58b521a9793f212b\",\n \"score\": \"0.67378706\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n super.onCreateOptionsMenu(menu, inflater);\\n inflater.inflate(R.menu.forcast_menu, menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1b43a8a9049133ae053356cb72af10bd\",\n \"score\": \"0.6733989\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(menu_main, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ded1f24609be73ae11fdf8859a1b058f\",\n \"score\": \"0.6725062\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n new MenuInflater(this).inflate(R.menu.actionbar_menu, menu);\\n return (super.onCreateOptionsMenu(menu));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7beece16a3151963d6658b28e9b28066\",\n \"score\": \"0.67226785\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.menu, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2cb096fc4d55ca9ab4a0e281055410f1\",\n \"score\": \"0.67145264\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.main, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"127d61755db25d00dee2bfd782483056\",\n \"score\": \"0.6704642\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.main, menu);//Menu Resource,\\n\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fbfe5f7fb9486d8fc056ff922706085e\",\n \"score\": \"0.6704564\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.main, menu);\\n\\t\\treturn super.onCreateOptionsMenu(menu);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11edaad2de374bc2c6f3445087ed1629\",\n \"score\": \"0.6702381\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(app_bar_menu, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a6fc94db9795d8ef3c8818a4f628e67e\",\n \"score\": \"0.6702011\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.main_activity_actions, menu);\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a6fc94db9795d8ef3c8818a4f628e67e\",\n \"score\": \"0.6702011\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.main_activity_actions, menu);\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"55cca93ad3c06623279ee3d4164b6f89\",\n \"score\": \"0.67009985\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n super.onCreateOptionsMenu(menu, inflater);\\n inflater.inflate(R.menu.menu_main, menu);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"90b147d6905fe9d27d67d16cf18bcd76\",\n \"score\": \"0.6700756\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n inflater.inflate(R.menu.menu_main, menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"90b147d6905fe9d27d67d16cf18bcd76\",\n \"score\": \"0.6700756\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n inflater.inflate(R.menu.menu_main, menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"947e498caf2063315e3e77d6bb75b8cb\",\n \"score\": \"0.6700063\",\n \"text\": \"@Override\\r\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.show_item, menu);\\r\\n\\t\\treturn true;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6d518762fb5e916b2b9c13d37629510c\",\n \"score\": \"0.6692782\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tsuper.onCreateOptionsMenu(menu);\\n\\t\\tMenuInflater inflater = getMenuInflater();\\n\\t\\tinflater.inflate(R.menu.ilk_menu, menu);\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"58b51e90d6d0a69b04c4cd210f2e31b4\",\n \"score\": \"0.6686782\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.menu_main, menu);//Menu Resource, Menu\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"58b51e90d6d0a69b04c4cd210f2e31b4\",\n \"score\": \"0.6686782\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.menu_main, menu);//Menu Resource, Menu\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a6c2794f51b4f6f63b8c5f7977c6b7cb\",\n \"score\": \"0.6685384\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater menuInflater = getMenuInflater();\\n menuInflater.inflate(R.menu.add_note_menu, menu); // pass the menu I've just created, it tells the system to use the menu\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1c523967f1b1ae2a3bb0514d15ed5d6e\",\n \"score\": \"0.6684762\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.apk, menu);\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fac99c9b973d17f1c44720793929ce44\",\n \"score\": \"0.66841704\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tMenuInflater inflater = getMenuInflater();\\n\\t\\tinflater.inflate(R.menu.menu, menu);\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1631b737fc46ad9ef9203bd94535a01\",\n \"score\": \"0.6683476\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.main, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"284ded61b3589567041e41b1daefa4c6\",\n \"score\": \"0.6677873\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.main, menu);\\n\\n\\t\\treturn super.onCreateOptionsMenu(menu);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4cddb48b1da190800f3823cec5221b18\",\n \"score\": \"0.6673866\",\n \"text\": \"@Override\\r\\n\\t\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\t\\tgetMenuInflater().inflate(R.menu.main, menu);\\r\\n\\t\\t\\treturn true;\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f3a1d5f738143b76a084028fd188a14a\",\n \"score\": \"0.6669518\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tsuper.onCreateOptionsMenu(menu);\\n\\t\\tMenuInflater inflater = getMenuInflater();\\n\\t\\tinflater.inflate(R.menu.main, menu);\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"222cb7feb37d9f33a24a0a15a7aa385a\",\n \"score\": \"0.6668339\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.app_bar_menu, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6cc5da99a32692d41c31cc394b4bd681\",\n \"score\": \"0.6667702\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.actionbar, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"89d08db6734f62c736882b3842146a6c\",\n \"score\": \"0.66676044\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n\\n getMenuInflater().inflate(R.menu.menu, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"abba7aebb72fed77ba2726d6f8e0324a\",\n \"score\": \"0.6667202\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n inflater.inflate(R.menu.main, menu);\\n\\n super.onCreateOptionsMenu(menu, inflater);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fa5e52b3acee2d5ed61d0475f2e64a07\",\n \"score\": \"0.66666424\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu){\\n getMenuInflater().inflate(R.menu.menu, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"381d0884cd6375b57247341266dbdccb\",\n \"score\": \"0.66663986\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.actionbar_actions, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d169202bfd9e05f3d8f11324040885d\",\n \"score\": \"0.6665584\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tMenuInflater inflater = getMenuInflater();\\n\\t\\tinflater.inflate(R.menu.menu_flyernew, menu);\\n\\t\\treturn super.onCreateOptionsMenu(menu);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c85e8d78b2f8b6ec8f043830f44b97d\",\n \"score\": \"0.66654295\",\n \"text\": \"@Override\\r\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.allmenu, menu);\\r\\n return true;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9e90ee9aba69fb886ba0bf4523a44895\",\n \"score\": \"0.66609097\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"834f6c62845d947459df685b80dd2f2d\",\n \"score\": \"0.6656586\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n super.onCreateOptionsMenu(menu, inflater);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"834f6c62845d947459df685b80dd2f2d\",\n \"score\": \"0.6656586\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n super.onCreateOptionsMenu(menu, inflater);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"60a0a65d0954b254ea5a1db9f907e51c\",\n \"score\": \"0.6656326\",\n \"text\": \"@Override\\r\\n \\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n \\t\\tgetMenuInflater().inflate(R.menu.main, menu);\\r\\n \\t\\treturn true;\\r\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0357b2e46bb05c78e72f64ff516350e\",\n \"score\": \"0.66544783\",\n \"text\": \"@Override\\n\\t\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\t\\tgetMenuInflater().inflate(R.menu.main, menu);\\n\\t\\t\\treturn true;\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5a64c1fbbcb876589d9dc87722a3f855\",\n \"score\": \"0.6652546\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.add_route_activity_actionbar, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3e8720a0ec0a7b29939158c5939793e8\",\n \"score\": \"0.6650132\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.main_menu, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1636840ec330d0059f2dc0682da90483\",\n \"score\": \"0.66490555\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.main, menu);\\n return super.onCreateOptionsMenu(menu);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8dd3afe6aa61618a16c44af00127f2f7\",\n \"score\": \"0.66398865\",\n \"text\": \"@Override\\r\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.book_list_main, menu);\\r\\n\\t\\treturn true;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8d32c53bc0d2b45fb07fc92450d3d208\",\n \"score\": \"0.6639513\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu){\\n\\n MenuInflater menuInflater = getMenuInflater();\\n menuInflater.inflate(R.menu.main_menu, menu);\\n\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3d3524933e46322bfaed94679349b83a\",\n \"score\": \"0.6639502\",\n \"text\": \"@Override\\r\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.menu_temp, menu);\\r\\n return true;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"896f040bae68c8182568c18af9f1b080\",\n \"score\": \"0.6634786\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.menu, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"896f040bae68c8182568c18af9f1b080\",\n \"score\": \"0.6634786\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.menu, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"896f040bae68c8182568c18af9f1b080\",\n \"score\": \"0.6634786\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.menu, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"896f040bae68c8182568c18af9f1b080\",\n \"score\": \"0.6634786\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.menu, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"23311cd2049fbefa73be64d2f796a40b\",\n \"score\": \"0.663356\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.app_bar_menu, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"129047db332e82aa713ca7ce8b15f5c7\",\n \"score\": \"0.6630597\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.menu_items, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d107bb51adb9bf0d885c0741129dabdc\",\n \"score\": \"0.66296643\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.toolbar_menu, menu);\\n\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c9619a840fc4857f6c86a34c7cbb5413\",\n \"score\": \"0.6628054\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater=getMenuInflater();\\n inflater.inflate(R.menu.menu,menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"277058fcbb6c657f51a16add64c659d8\",\n \"score\": \"0.6626297\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tMenuInflater inflater = getMenuInflater();\\n\\t\\tinflater.inflate(R.menu.main, menu);\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"277058fcbb6c657f51a16add64c659d8\",\n \"score\": \"0.6626297\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tMenuInflater inflater = getMenuInflater();\\n\\t\\tinflater.inflate(R.menu.main, menu);\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6469d9415815a3dca842be52e131534e\",\n \"score\": \"0.66185176\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.action_bar_menu, menu);\\n\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"68e30ab8d4e7751e59cb4a9faf634b2b\",\n \"score\": \"0.6617961\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n menu.add(null).setIcon(R.drawable.ic_android_trans_24dp).setShowAsActionFlags(1);\\n\\n super.onCreateOptionsMenu(menu, inflater);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"914f230d42a9da9fa865d498eb8155cd\",\n \"score\": \"0.66165245\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.common_menu, menu);\\n\\t\\tmenu.removeItem( R.id.action_interior);\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc810fcc4e0f7f4ea8ea7f7b68225314\",\n \"score\": \"0.6614405\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.menu, menu);\\n\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8108d46d4d2c0371b6915420af4d4e77\",\n \"score\": \"0.66125154\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.menu_main, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8108d46d4d2c0371b6915420af4d4e77\",\n \"score\": \"0.66125154\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.menu_main, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8108d46d4d2c0371b6915420af4d4e77\",\n \"score\": \"0.66125154\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.menu_main, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8108d46d4d2c0371b6915420af4d4e77\",\n \"score\": \"0.66125154\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.menu_main, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"240504d0c0bec487a1471d239694af04\",\n \"score\": \"0.661179\",\n \"text\": \"@Override\\n\\tprotected void initMenuItem() {\\n\\t\\tmMenuId = new int[] { R.id.action_usersetting,\\n\\t\\t\\t\\tR.id.action_systemsetting, /*R.id.action_update,*/ R.id.action_quit };\\n\\n\\t\\tmMenuItem = new String[] {\\n\\t\\t\\t\\tmContext.getResources().getString(R.string.action_usersetting),\\n\\t\\t\\t\\tmContext.getResources()\\n\\t\\t\\t\\t\\t\\t.getString(R.string.action_systemsetting),\\n\\t\\t\\t\\t/*mContext.getResources().getString(R.string.action_update),*/\\n\\t\\t\\t\\tmContext.getResources().getString(R.string.action_exit) };\\n\\n\\t\\tmMenuIcon = new int[] { R.drawable.ic_side_user_setting,\\n\\t\\t\\t\\tR.drawable.system_setting_disabled,\\n\\t\\t\\t\\t/*R.drawable.ic_side_sync_soft,*/ R.drawable.ic_side_exit };\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"95de7638601a657296d90f86fb453998\",\n \"score\": \"0.66102415\",\n \"text\": \"@Override\\r\\n\\t\\tpublic boolean onCreateOptionsMenu(Menu menu)\\r\\n\\t\\t\\t{\\n\\t\\t\\t\\tgetMenuInflater().inflate(R.menu.main, menu);\\r\\n\\t\\t\\t\\treturn true;\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"62171f0ce98572c9597f5beab2b55037\",\n \"score\": \"0.6610049\",\n \"text\": \"@Override\\r\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tsuper.onCreateOptionsMenu(menu);\\r\\n\\t\\tgetMenuInflater().inflate(R.menu.main, menu);\\r\\n\\t\\treturn true;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d560462b51f51d3a8247395db670a709\",\n \"score\": \"0.6608793\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.activity, menu);\\n\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3facbb608f0cbfbdfd8e538ecf783f9f\",\n \"score\": \"0.66058314\",\n \"text\": \"@Override\\n /**\\n * adds item to the action bar if it is present\\n * @param menu\\n * @retunr boolean on if inflated\\n */\\n public boolean onCreateOptionsMenu(Menu menu) {\\n return true;\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":342,"cells":{"query_id":{"kind":"string","value":"29b11dc31425bdede6877d60484db761"},"query":{"kind":"string","value":"This method was generated by MyBatis Generator. This method corresponds to the database table nj_order_work2"},"positive_passages":{"kind":"list like","value":[{"docid":"6395b116d785be73bff678e231e9fd2b","score":"0.4917143","text":"int insertSelective(NjOrderWork2 record);","title":""}],"string":"[\n {\n \"docid\": \"6395b116d785be73bff678e231e9fd2b\",\n \"score\": \"0.4917143\",\n \"text\": \"int insertSelective(NjOrderWork2 record);\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"a89e34449e48623d1af1bd905295e34c","score":"0.5924773","text":"public void setWork2(Number work2)\r\n {\r\n m_work2 = work2;\r\n }","title":""},{"docid":"7b73b403441a87a4e4086dd8bcfa3a20","score":"0.549055","text":"List selectByExample(NjOrderWork2Example example);","title":""},{"docid":"c4669bcd4f982ffc8f8370db39f31d1e","score":"0.5409057","text":"public Number getWork2()\r\n {\r\n return (m_work2);\r\n }","title":""},{"docid":"918c3d5e8bd3f56502190d0bcb645875","score":"0.5279093","text":"int updateByExample(@Param(\"record\") NjOrderWork2 record, @Param(\"example\") NjOrderWork2Example example);","title":""},{"docid":"d8041b6f348ccfe504e6b68ae9856737","score":"0.5141654","text":"public String getWork_id(){\r\n\t\treturn this.work_id ;\r\n\t}","title":""},{"docid":"e10b639a80bf3a7182f2105b994e7244","score":"0.5135157","text":"@Override\n\tpublic List queryReturnGoodsWorkOrder(\n\t\t\tString waybillNo) {\n\t\treturn null;\n\t}","title":""},{"docid":"401e3b8745ca0c8b82f3d4a1908d70ad","score":"0.5075198","text":"NjOrderWork2 selectByPrimaryKey(String id);","title":""},{"docid":"8c4ff272daf25b959aa0b2d7f4d70e72","score":"0.49554512","text":"int updateByExampleSelective(@Param(\"record\") NjOrderWork2 record, @Param(\"example\") NjOrderWork2Example example);","title":""},{"docid":"adadf341a89a129069defd5b4acee2ef","score":"0.4912584","text":"@Override\n\tpublic void save(WorkSummary entity1, Employee entity2) {\n\n\t}","title":""},{"docid":"a4fd0e0284b5cc03625b412e15873798","score":"0.4892086","text":"@Override\n\tpublic void update(WorkSummary entity1, Employee entity2) {\n\n\t}","title":""},{"docid":"9b48b1a09fb96955bb95428edd11684e","score":"0.4880257","text":"@Override\n\tpublic WorkVO getWorkDetail(int work_num) {\n\t\treturn workMapper.getWorkDetail(work_num);\n\t}","title":""},{"docid":"604a15ad4adeb392340a6adacf81c134","score":"0.4795635","text":"int insert(NjOrderWork2 record);","title":""},{"docid":"61ab3816a768d0d0403b7e0fc44c070a","score":"0.47902265","text":"public void setWorkplaceOrder(int workplaceOrder)\r\n\t{\r\n\t\tthis.workplaceOrder = workplaceOrder;\r\n\t}","title":""},{"docid":"ac54d50cacf75b9fe067f4000ab48f54","score":"0.47116145","text":"U2(){\r\n setCurrentWeight(0);\r\n setMaxWeight(29*1000);\r\n setCost(120*1000000);\r\n }","title":""},{"docid":"3a848679c3345aff818b754b92dc347f","score":"0.46785176","text":"int updateByPrimaryKey(NjOrderWork2 record);","title":""},{"docid":"8b33ed32040dfb319a642350064ce152","score":"0.46636912","text":"public interface OrderMapper {\n\n //购物车确认订单之后插入订单商品信息(确认,但未发货)\n @Insert(\"insert into `order` ( order_code,order_time,username,goods_code,goods_name,goods_currentPrice,goods_counts,goods_image,goods_singlePrice,goods_totalPrice,goods_remark,goods_status) values (#{order_code},#{order_time},#{username},#{goods_code},#{goods_name},#{goods_currentPrice},#{goods_counts},#{goods_image},#{goods_singlePrice},#{goods_totalPrice},#{goods_remark},#{goods_status})\")\n int insertIntoOrder(Order order);\n\n //根据商品状态(未发货,待接收,待评价,已完成,已取消)查询商品信息\n @Select(\"select *from `order` where goods_status=#{goods_status} and username=#{username} \")\n List selectOrderByGoodsStatus(Order order) ;\n\n //改变商品订单的状态(根据商品订单和商品状态)\n @Update(\"update `order` set goods_status = #{goods_status} where order_code=#{order_code}\")\n int updateOrderStatus(Order order);\n\n}","title":""},{"docid":"fdc941a5cfe690b5a45173ab1973379c","score":"0.4652824","text":"@Override\n\tpublic Result updateWorkOrder(WorkOrderItem parameters) {\n\t\treturn null;\n\t}","title":""},{"docid":"2665b2bb8a39d3fe859db2e987bae6eb","score":"0.4652476","text":"@SuppressWarnings(\"all\")\npublic interface I_i_ordertrx_temp \n{\n\n /** TableName=i_ordertrx_temp */\n public static final String Table_Name = \"i_ordertrx_temp\";\n\n /** AD_Table_ID=1000126 */\n public static final int Table_ID = MTable.getTable_ID(Table_Name);\n\n KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);\n\n /** AccessLevel = 3 - Client - Org \n */\n BigDecimal accessLevel = BigDecimal.valueOf(3);\n\n /** Load Meta Data */\n\n /** Column name AD_Client_ID */\n public static final String COLUMNNAME_AD_Client_ID = \"AD_Client_ID\";\n\n\t/** Get Client.\n\t * Client/Tenant for this installation.\n\t */\n\tpublic int getAD_Client_ID();\n\n /** Column name AD_Org_ID */\n public static final String COLUMNNAME_AD_Org_ID = \"AD_Org_ID\";\n\n\t/** Set Organization.\n\t * Organizational entity within client\n\t */\n\tpublic void setAD_Org_ID (int AD_Org_ID);\n\n\t/** Get Organization.\n\t * Organizational entity within client\n\t */\n\tpublic int getAD_Org_ID();\n\n /** Column name count_order */\n public static final String COLUMNNAME_count_order = \"count_order\";\n\n\t/** Set count_order\t */\n\tpublic void setcount_order (int count_order);\n\n\t/** Get count_order\t */\n\tpublic int getcount_order();\n\n /** Column name Created */\n public static final String COLUMNNAME_Created = \"Created\";\n\n\t/** Get Created.\n\t * Date this record was created\n\t */\n\tpublic Timestamp getCreated();\n\n /** Column name CreatedBy */\n public static final String COLUMNNAME_CreatedBy = \"CreatedBy\";\n\n\t/** Get Created By.\n\t * User who created this records\n\t */\n\tpublic int getCreatedBy();\n\n /** Column name i_ordertrx_temp_ID */\n public static final String COLUMNNAME_i_ordertrx_temp_ID = \"i_ordertrx_temp_ID\";\n\n\t/** Set Semeru Order Temporary\t */\n\tpublic void seti_ordertrx_temp_ID (int i_ordertrx_temp_ID);\n\n\t/** Get Semeru Order Temporary\t */\n\tpublic int geti_ordertrx_temp_ID();\n\n /** Column name insert_order */\n public static final String COLUMNNAME_insert_order = \"insert_order\";\n\n\t/** Set insert_order\t */\n\tpublic void setinsert_order (boolean insert_order);\n\n\t/** Get insert_order\t */\n\tpublic boolean isinsert_order();\n\n /** Column name order_detail */\n public static final String COLUMNNAME_order_detail = \"order_detail\";\n\n\t/** Set order_detail\t */\n\tpublic void setorder_detail (String order_detail);\n\n\t/** Get order_detail\t */\n\tpublic String getorder_detail();\n\n /** Column name orders */\n public static final String COLUMNNAME_orders = \"orders\";\n\n\t/** Set orders\t */\n\tpublic void setorders (String orders);\n\n\t/** Get orders\t */\n\tpublic String getorders();\n\n /** Column name pos */\n public static final String COLUMNNAME_pos = \"pos\";\n\n\t/** Set pos\t */\n\tpublic void setpos (String pos);\n\n\t/** Get pos\t */\n\tpublic String getpos();\n\n /** Column name Result */\n public static final String COLUMNNAME_Result = \"Result\";\n\n\t/** Set Result.\n\t * Result of the action taken\n\t */\n\tpublic void setResult (String Result);\n\n\t/** Get Result.\n\t * Result of the action taken\n\t */\n\tpublic String getResult();\n\n /** Column name transaction_id */\n public static final String COLUMNNAME_transaction_id = \"transaction_id\";\n\n\t/** Set transaction_id\t */\n\tpublic void settransaction_id (int transaction_id);\n\n\t/** Get transaction_id\t */\n\tpublic int gettransaction_id();\n\n /** Column name Updated */\n public static final String COLUMNNAME_Updated = \"Updated\";\n\n\t/** Get Updated.\n\t * Date this record was updated\n\t */\n\tpublic Timestamp getUpdated();\n\n /** Column name UpdatedBy */\n public static final String COLUMNNAME_UpdatedBy = \"UpdatedBy\";\n\n\t/** Get Updated By.\n\t * User who updated this records\n\t */\n\tpublic int getUpdatedBy();\n}","title":""},{"docid":"aebb09af81477c65c78d8929ca4b758c","score":"0.46447253","text":"@Override\n\tpublic List queryReturnGoodsWorkOrderResult(\n\t\t\tCrmReturnedGoodsDtoResult vo) {\n\t\treturn null;\n\t}","title":""},{"docid":"753f1b52cfae83ef559a20223f3066aa","score":"0.46423176","text":"@Override\n\tpublic int getWorkNum() {\n\t\treturn workMapper.getWorkNum();\n\t}","title":""},{"docid":"012fb72029d9f5742ab8eedb9f4ca17a","score":"0.46420953","text":"public void setHC_WorkStartDate2 (Timestamp HC_WorkStartDate2);","title":""},{"docid":"7001a01f3358dfbef6ec432e34dd40b8","score":"0.46260953","text":"int newOrder(OrderBean newOrder);","title":""},{"docid":"fa8ffa0cd687f5990952d372468acf14","score":"0.46227857","text":"@Override\r\n\tpublic void saveYuyueOrder(YuyueOrderDTO yuyueOrderDTO) throws Exception {\n\t\tYuyueOrder yuyueOrder = new YuyueOrder();\r\n\t\tSysYuyue sy = sysYuyueRespository.findOne(yuyueOrderDTO.getSysYuyue());\r\n\t\t\r\n\t\tPropertyUtils.copyProperties(yuyueOrder,yuyueOrderDTO);\r\n\t\tif(sy.getYyCzUser()!=null){\r\n\t\t\tyuyueOrder.setYyCzId(sy.getYyCzUser().getId());\r\n\t\t}\r\n\t\tif(sy.getYyQyUser()!=null){\r\n\t\t\tyuyueOrder.setYyQxId(sy.getYyQyUser().getId());\r\n\t\t}\r\n\t\tyuyueOrder.setYl5(OrderUtil.getOrderIdByUUId());\r\n yuyueOrderRepository.save(yuyueOrder);\r\n if(yuyueOrderDTO.getServerProject()!=null){\r\n \tfor(int i=0;i getList();\r\n\r\n\r\n @Select(\"SELECT COUNT(*) FROM ms_sale WHERE sale_check =1;\")\r\n Integer getCount();\r\n\r\n @Select(\"SELECT ms_order.*,ms_supplier.supplier_office,ms_goods.* FROM gongxiao.ms_order,gongxiao.ms_supplier,gongxiao.ms_goods WHERE or_supplier_id=supplier_id and or_goods_id=su_id and or_check=3 limit #{rows} offset #{offset};;\")\r\n List getListByPage(@Param(\"rows\") Integer rows, @Param(\"offset\") Integer offset);\r\n\r\n\r\n @Select(\"SELECT ms_order.*,ms_supplier.supplier_office,ms_goods.* FROM gongxiao.ms_order,gongxiao.ms_supplier,gongxiao.ms_goods WHERE or_supplier_id=supplier_id and or_goods_id=su_id and or_check=3 LIMIT #{row} OFFSET #{page};\")\r\n List getListByPageAndRow(@Param(\"row\") Integer row, @Param(\"page\") Integer page);\r\n\r\n /**\r\n * 获得公司进货记录\r\n */\r\n @Select(\"SELECT * FROM gongxiao.repertory WHERE or_id=#{id}\")\r\n Order getById(Integer id);\r\n\r\n /**\r\n * 获得库存物品信息\r\n *\r\n * @param val\r\n * @return\r\n */\r\n @Select(\"SELECT ms_order.*,ms_supplier.supplier_office,ms_goods.* FROM gongxiao.ms_order,gongxiao.ms_supplier,ms_goods WHERE ms_order.or_goods_id =#{val} and or_goods_id=su_id and or_supplier_id=supplier_id and or_check='3';\")\r\n List getGoodsInfoInBound(Integer val);\r\n\r\n /**\r\n * 设置发票状况\r\n *\r\n * @param key\r\n */\r\n @Update(\"UPDATE `gongxiao`.`ms_order` SET `or_invoice`=#{value} WHERE `or_id`=#{key};\")\r\n void setInvoice(@Param(\"key\") Integer key, @Param(\"value\") Integer value);\r\n\r\n /**\r\n * 结款\r\n *\r\n * @param id\r\n * @return\r\n */\r\n @Update(\"UPDATE `gongxiao`.`ms_order` SET `or_payment`=6 WHERE `or_id`=#{id};\")\r\n void setPayment(Integer id);\r\n\r\n /**\r\n * 获得待审核进货信息\r\n *\r\n * @param check\r\n * @return\r\n */\r\n @Select(\"SELECT ms_order.*,ms_supplier.supplier_office,ms_goods.* FROM gongxiao.ms_order,gongxiao.ms_supplier,gongxiao.ms_goods WHERE or_supplier_id=supplier_id and or_goods_id=su_id and ms_order.or_check=#{check};\")\r\n List getOrderWhereCheck(Integer check);\r\n\r\n /**\r\n * 删除库存\r\n *\r\n * @param id\r\n */\r\n @Delete(\"DELETE FROM `gongxiao`.`ms_order` WHERE `or_id`=#{id};\")\r\n void deleteOrderById(Integer id);\r\n\r\n /**\r\n * 获得库存状态\r\n *\r\n * @return\r\n */\r\n @Select(\"select su_name,SUM(or_number) as su_sum from repertory group by su_name;\")\r\n List getStatistics();\r\n\r\n /**\r\n * 查找相似物品的库存信息\r\n *\r\n * @param like\r\n * @return\r\n */\r\n @Select(\"SELECT ms_order.*,ms_supplier.supplier_office,ms_goods.* FROM gongxiao.ms_order,gongxiao.ms_supplier,gongxiao.ms_goods where ms_goods.su_name like #{like} and or_supplier_id=supplier_id and or_check='3' and or_goods_id = su_id\")\r\n List getLikeOrderInBound(String like);\r\n\r\n /**\r\n * 查找货号的库存信息\r\n *\r\n * @param like\r\n * @return\r\n */\r\n @Select(\"SELECT ms_order.*,ms_supplier.supplier_office,ms_goods.* FROM gongxiao.ms_order,gongxiao.ms_supplier,gongxiao.ms_goods where ms_goods.su_No like #{like} and or_supplier_id=supplier_id and or_check='3' and or_goods_id = su_id\")\r\n List getListByNo(String like);\r\n\r\n\r\n void updateOrderNumInBound(UpdateItem updateItem);\r\n\r\n /**\r\n * 审核入库\r\n */\r\n @Update(\"UPDATE `gongxiao`.`ms_order` SET `or_check`= 3 WHERE `or_id`=#{id};\")\r\n void orderInBound(Integer id);\r\n\r\n /**\r\n * 刷新库存\r\n */\r\n void refreshOrderInBound();\r\n\r\n /**\r\n * 根据日期和供货商获得库存信息\r\n *\r\n * @param item\r\n * @return\r\n */\r\n List getOrderByDateAndSupplierId(OfIdAndDateItem item);\r\n\r\n /**\r\n * 获得仓库预警库存\r\n *\r\n * @return\r\n */\r\n @Select(\"SELECT * FROM gongxiao.repertory WHERE or_number<=or_alarm;\")\r\n List getBoundAlarm();\r\n\r\n /**\r\n * 获得仓库预期\r\n * 只显示库存大于0的,小鱼0的不需要显示!\r\n *\r\n * @param time\r\n * @return\r\n */\r\n @Select(\"SELECT * FROM gongxiao.repertory WHERE or_deaddate<=#{s} and or_number >0;\")\r\n List getListByDead(Date time);\r\n\r\n /**\r\n * 重设预警值\r\n *\r\n * @param val\r\n * @param key\r\n */\r\n @Update(\"UPDATE `gongxiao`.`ms_order` SET `or_alarm`=#{val} WHERE `or_id`=#{key};\")\r\n void resetAlarm(@Param(\"val\") Integer val, @Param(\"key\") Integer key);\r\n\r\n /**\r\n * 根据公司ID获得库存信息\r\n */\r\n @Select(\"SELECT ms_order.*,ms_supplier.supplier_office,ms_goods.* FROM gongxiao.ms_order,gongxiao.ms_supplier,gongxiao.ms_goods where or_supplier_id=supplier_id and or_check='3' and or_goods_id = su_id and supplier_id=#{id}\")\r\n List getListBySupId(Integer id);\r\n\r\n /**\r\n * 获得公司库存金额\r\n *\r\n * @return\r\n */\r\n @Select(\"SELECT sum(or_price*or_number) FROM gongxiao.ms_order WHERE or_check =3;\")\r\n Double getAmount();\r\n\r\n /**\r\n * 修改备注\r\n */\r\n @Update(\"UPDATE `gongxiao`.`ms_order` SET `or_other`=#{val} WHERE `or_id`=#{key};\")\r\n void updateOther(@Param(\"val\") String val, @Param(\"key\") Integer key);\r\n}","title":""},{"docid":"1b7ba72ab76730d2a01243b225d9de65","score":"0.45309347","text":"public void createEntity2(Entity2 entity2) throws DaoException;","title":""},{"docid":"03660c1eb74ba283441c93713924929f","score":"0.45278758","text":"@Override\n\tpublic String queryWaybillTypeByOrderNo(String orderNo) {\n\t\treturn null;\n\t}","title":""},{"docid":"c8e8f3f9dd55f7971a5f942250b0c514","score":"0.45277756","text":"public void setCronopElemCode2(String cronopElemCode2) {\n\t\tthis.cronopElemCode2 = cronopElemCode2;\n\t}","title":""},{"docid":"7c2c91e97ba52e2bd8547622dbe3848b","score":"0.45087218","text":"public interface ApplyOrderMapper extends CrudRepository {\n}","title":""},{"docid":"7485169d64b14406c407574a59c99e08","score":"0.45075047","text":"public void addSimpleOrder(Order o) {\n DatabaseConnection connection = new DatabaseConnection();\r\n if(connection.openConnection())\r\n {\r\n if(o.getType() == 1) {\r\n connection.executeSQLInsertStatement(\"INSERT INTO drank_order (`TafelID`, `DrankID`) VALUES(\" + o.getTafelID() + \",\" + o.getID() + \");\");\r\n }\r\n\r\n else if(o.getType() == 0) {\r\n connection.executeSQLInsertStatement(\"INSERT INTO gerecht_order (`TafelID`, `GerechtID`) VALUES(\" + o.getTafelID() + \",\" + o.getID() + \");\");\r\n }\r\n }\r\n\r\n connection.closeConnection();\r\n }","title":""},{"docid":"2cb2794a3b6e5db88e6907f2fbc52bbf","score":"0.44992056","text":"@Override\r\n\tpublic Order create(Order order) {\r\n\t\ttry (Connection connection = JDBCUtils.getInstance().getConnection();\r\n\t\t\t\tStatement statement = connection.createStatement();) {\r\n\t\t\tstatement.executeUpdate(String.format(\"INSERT INTO orders(customer_id) values(%d)\",\r\n\t\t\t\t\torder.getCustomer().getId()));\r\n\t\t\t\tHashMap items = order.getItems();\r\n\t\t\t\tfor (Entry entry : items.entrySet()) {\r\n\t\t\t\t\tstatement.executeUpdate(String.format(\"INSERT INTO orders_items(order_id, item_id, quantity) \"\r\n\t\t\t\t\t\t\t+ \"values(last_insert_id(), %d, %d)\", entry.getKey().getId(), entry.getValue()));\r\n\t\t\t\t}\r\n\t\t\treturn readLatest();\r\n\t\t} catch (Exception e) {\r\n\t\t\tLOGGER.debug(e);\r\n\t\t\tLOGGER.error(e.getMessage());\r\n\t\t}\r\n\t\treturn null;\r\n\t}","title":""},{"docid":"15e0d666466384153749f55403a42da0","score":"0.4494891","text":"public interface OrderInstanceRepository extends JpaRepository,JpaSpecificationExecutor{\r\n\r\n}","title":""},{"docid":"4889b611d264b407c24c34506940fc45","score":"0.4489859","text":"public static Result getOrder(String orderId){\n \n MysqlDBOperations mysql = new MysqlDBOperations();\n ResourceProperty rs = new ResourceProperty(\"com.generic.resources.mysqlQuery\");\n Connection conn = mysql.getConnection(); \n Orders order;\n List productList;\n\n try{\n\n // -1- Prepare Statement\n PreparedStatement preStat = conn.prepareStatement(rs.getPropertyValue(\"mysql.order.select.4\"));\n preStat.setString(1, orderId);\n \n ResultSet resultSet = preStat.executeQuery();\n \n // -2- Get Result\n if(resultSet.first()){\n \n // -2.1- Get Order Object\n order = ORMHandler.resultSetToOrder(resultSet);\n \n // -2.2- Get User & UserAddress Object\n User user = ORMHandler.resultSetToUser(resultSet);\n UserAddress userAddress = ORMHandler.resultSetToUserAddress(resultSet);\n userAddress.setAddress(ORMHandler.resultSetToAddress(resultSet));\n \n // -2.3- Get MarketProduct list \n productList = new ArrayList<>();\n do{\n MarketProduct product = ORMHandler.resultSetToProduct(resultSet);\n productList.add(product);\n }while(resultSet.next());\n \n // -2.4- Set \n order.setUserAddress(userAddress);\n order.setUser(user);\n order.setProductList(productList);\n \n return Result.SUCCESS.setContent(order);\n }else{\n return Result.SUCCESS_EMPTY;\n } \n\n } catch (SQLException ex) { \n return Result.FAILURE_DB.setContent(ex.getMessage());\n }finally{\n mysql.closeAllConnection();\n } \n }","title":""},{"docid":"04d8158d15f36a3dde1585193e7fa519","score":"0.4489855","text":"public void updateEntity2(Entity2 entity2) throws DaoException;","title":""},{"docid":"3d1a7897912b1028054d3c6ee2b4e03c","score":"0.4489385","text":"@Override\n\tpublic void saveWorkout(Workout theWorkout) {\n\t\tSession currentSession = sessionFactory.getCurrentSession();\n\t\t\n\t\t// save/upate the Workout\n\t\tcurrentSession.saveOrUpdate(theWorkout);\n\t\t\n\t}","title":""},{"docid":"f8d4aad1d621e6745ec7564d98b06e2f","score":"0.44807065","text":"@Override\n\tpublic void write(WorkVO workVO) {\n\t\tworkMapper.write(workVO);\n\t\t\n\t}","title":""},{"docid":"cab08cf20d608e662b008d0be0808a0b","score":"0.44751424","text":"@Override\r\n\tpublic void saveJoOrder(JoOrder joOrder){\n\t\tString headerId = Tools.getUUID();\r\n\t\tjoOrder.getJoHeader().setHeaderId(headerId);\r\n\t\tbaseDao.save(joOrder.getJoHeader());\r\n\t\tfor(JoLine joLine : joOrder.getJoLineList()){\r\n\t\t\tjoLine.setLineId(Tools.getUUID());\r\n\t\t\tjoLine.setHeaderId(headerId);\r\n\t\t\tjoLineDao.save(joLine);\r\n\t\t}\r\n\t}","title":""},{"docid":"4dd9f2e1a9d2009b4d0aa2bfe63676a1","score":"0.44688633","text":"void generateTravelOrderCode(AbstractOrderModel orderModel);","title":""},{"docid":"d4a7ae40cc2ee1227c4b81dbc1651f2b","score":"0.44653627","text":"public void setOrder(List order) {\n this.order = order;\n }","title":""},{"docid":"65a3e26d464b63d5634ed44eff30af0a","score":"0.4456589","text":"@Mapper\npublic interface OrderMapper {\n @Insert(\" insert into t_order (order_id, order_type, city_id, \\n\" +\n \" platform_id, user_id, supplier_id, \\n\" +\n \" goods_id, order_status, remark, \\n\" +\n \" create_by, create_time, update_by, \\n\" +\n \" update_time)\\n\" +\n \" values (#{orderId}, #{orderType}, #{cityId}, \\n\" +\n \" #{platformId}, #{userId}, #{supplierId}, \\n\" +\n \" #{goodsId}, #{orderStatus}, #{remark}, \\n\" +\n \" #{createBy}, #{createTime}, #{updateBy}, \\n\" +\n \" #{updateTime})\")\n /**\n * statement=\"\":表示定义的子查询语句\n * before=true:表示在之前执行,booler类型的,所以为true\n * keyColumn=\"myNo\":表示查询所返回的类名\n * resultType=int.class:表示返回值得类型\n * keyProperty=\"empNo\" :表示将该查询的属性设置到某个列中,此处设置到empNo中\n * //进行添加、修改等操作的时候只能返回数字,而不能返回java类或其他!\n * // SELECT LAST_INSERT_ID() 适合那种主键是自增的类型\n * // 1 insert语句需要写id字段了,并且 values里面也不能省略\n * // 2 selectKey 的order属性需要写成BEFORE 因为这样才能将生成的uuid主键放入到model中,\n * // 这样后面的insert的values里面的id才不会获取为空\n * // 跟自增主键相比就这点区别,当然了这里的获取主键id的方式为 select uuid()\n */\n @SelectKey(keyColumn = \"id\", keyProperty = \"id\", resultType = long.class, before = false, statement = \"select last_insert_id()\")\n long insertSelective(Order record);\n\n @Update(\"update t_order set order_status=#{status},update_by=#{updateBy},update_time=#{updateTime} where order_id=#{orderId}\")\n int updateOrderStatus(@Param(\"orderId\") String orderId, @Param(\"status\") String status, @Param(\"updateBy\") String updateBy, @Param(\"updateTime\") Date updateTime);\n\n @Select(\"select *from t_order\\n\" +\n \" where order_id = #{orderId}\")\n Order selectByPrimaryKey(String orderId);\n}","title":""},{"docid":"5834fb7fb7c161f7e2420850c366775d","score":"0.4451234","text":"public void setOrderno(String orderno) {\n this.orderno = orderno;\n }","title":""},{"docid":"735e06cd1a9648084a3a03480617b7d5","score":"0.44368455","text":"public void addOrder(Order o) throws SQLException\r\n {\r\n String sqlQuery = \r\n \"INSERT INTO orders (custname, tablenumber, foodname, beveragename, served, billed) VALUES (\" +\r\n \"'\" + o.getCustomerName() + \"', \" + \r\n o.getTable() + \", \" + \r\n \"'\" + o.getFood() + \"', \" +\r\n \"'\" + o.getBeverage() + \"', \" + \r\n o.isServed() + \", \" +\r\n o.isBilled() + \")\";\r\n myStmt.executeUpdate(sqlQuery);\r\n }","title":""},{"docid":"fce6f8a81bc7dc8756a5da261a6ae61e","score":"0.4433034","text":"public Timestamp getHC_WorkEndDate();","title":""},{"docid":"22d5cd67c099cb01a05af25aa2ec7adf","score":"0.44225648","text":"@Mapper\n@Repository\npublic interface OrderDAO {\n\n @Insert(\"insert into order_one values(#{order.id},#{order.number},#{order.name})\")\n int insert(@Param(\"order\") Order order);\n\n}","title":""},{"docid":"92de98e47448a06a2e5a02c63e06e077","score":"0.44215724","text":"@NotNull\n public Order doSave(@NotNull Order o) {\n try {\n Connection cn = ConPool.getConnection();\n PreparedStatement st;\n if (o.getOperator() != null) {\n if (o.getId() < 1) {\n st = cn.prepareStatement(\n \"INSERT INTO `order` (user, totalPrice, \"\n + \"numberOfProduct, date, operator) values (?,?,?,?,?);\",\n Statement.RETURN_GENERATED_KEYS\n );\n st.setString(1, o.getUser().getUsername());\n st.setDouble(2, o.getTotPrice());\n st.setInt(3, o.getNumberOfItems());\n st.setString(4, o.getData());\n st.setString(5, o.getOperator().getUsername());\n } else {\n st = cn.prepareStatement(\"INSERT INTO `order`( user, id,\"\n + \" totalprice, numberOfProduct, date, operator)\"\n + \" values (?,?,?,?,?,?);\");\n st.setString(1, o.getUser().getUsername());\n st.setInt(2, o.getId());\n st.setDouble(3, o.getTotPrice());\n st.setInt(4, o.getNumberOfItems());\n st.setString(5, o.getData());\n st.setString(6, o.getOperator().getUsername());\n }\n } else {\n if (o.getId() < 1) {\n st = cn.prepareStatement(\n \"INSERT INTO `order` (user, totalPrice, \"\n + \"numberOfProduct, date) values (?,?,?,?);\",\n Statement.RETURN_GENERATED_KEYS\n );\n st.setString(1, o.getUser().getUsername());\n st.setDouble(2, o.getTotPrice());\n st.setInt(3, o.getNumberOfItems());\n st.setString(4, o.getData());\n } else {\n st = cn.prepareStatement(\"INSERT INTO `order`( user, id,\"\n + \" totalprice, numberOfProduct, date)\"\n + \" values (?,?,?,?,?);\");\n st.setString(1, o.getUser().getUsername());\n st.setInt(2, o.getId());\n st.setDouble(3, o.getTotPrice());\n st.setInt(4, o.getNumberOfItems());\n st.setString(5, o.getData());\n }\n }\n\n st.executeUpdate();\n if (o.getId() < 1) {\n ResultSet rs = st.getGeneratedKeys();\n rs.next();\n o.setId(rs.getInt(1));\n }\n for (Product p : o.getAllProducts()) {\n if (p instanceof DigitalProduct) {\n st = cn.prepareStatement(\n \"INSERT INTO digitalpurchasing (digitalProduct, `order`, quantity) \"\n + \"VALUES (?,?, ?);\");\n st.setInt(1, p.getId());\n st.setInt(2, o.getId());\n st.setInt(3, o.getQuantitySingleProduct(p.getId(), p.getClass()));\n\n if (st.executeUpdate() != 1) {\n throw new RuntimeException(\"INSERT error.\");\n }\n } else if (p instanceof PhysicalProduct) {\n st = cn.prepareStatement(\n \"INSERT INTO physicalpurchasing (physicalProduct, `order`, quantity) \"\n + \"VALUES (?,?, ?);\");\n st.setInt(1, p.getId());\n st.setInt(2, o.getId());\n st.setInt(3, o.getQuantitySingleProduct(p.getId(), p.getClass()));\n if (st.executeUpdate() != 1) {\n throw new RuntimeException(\"INSERT error.\");\n }\n }\n }\n st.close();\n cn.close();\n return o;\n } catch (SQLException e) {\n throw new RuntimeException(e);\n }\n }","title":""},{"docid":"4b9d0642ad328e517c584303698ad9d3","score":"0.44199044","text":"public void setOrderNo(Short orderNo) {\n this.orderNo = orderNo;\n }","title":""},{"docid":"c3d7a65efb6ee1a7afdf04019ebe45e8","score":"0.44168076","text":"public boolean getOrder2(IncomeInputvo iivo) {\n\t\tSystem.out.println(\"ssss\");\n\n\t\t FinancialmanService cs = new SettlementListIO();\n try {\n\n \tif(cs.writeOrder2(new IncomeInputpo(iivo)))\n \t\tHostLog.addMes(\"写入结算清单\"+\"\\n\");\n\t\t\t\t\treturn true;\n\t\t\t} catch (Exception e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n return false;\n\t}","title":""},{"docid":"9d04822099a7958006f160af78af9e44","score":"0.4412415","text":"@RequiresIdFrom(type = Governor.class)\n\t@Override\n\tpublic String dataRow()\n\t{\n\t\treturn String.format(\"%d,%s\", first, second.getSqlId());\n\t}","title":""},{"docid":"e49848c5e480790c84cfd130235a4369","score":"0.44117737","text":"public interface BugPlatformMapper {\n\n\n @Select(\"SELECT js.pname as bugResolutionStatus, COUNT(js.pname) as bugNum FROM jiraissue ji INNER JOIN project pr ON pr.ID = ji.PROJECT LEFT JOIN issuestatus js ON ji.issuestatus = js.ID where pr.ID in (#{2}) and issuetype = 1 AND CREATED between #{0} and #{1} group by js.pname\")\n List getList(String startDate,String endDate,String project);\n}","title":""},{"docid":"033a908e2f4e5e4eebd4138c42a5582f","score":"0.4402824","text":"public String getBuild2Number() {\n\t\treturn \"\"+nb_build2;\n\t}","title":""},{"docid":"d829a7ab83519631c85d3542c00f3ea3","score":"0.44021514","text":"public int addOrder(Order order, int diff) throws Exception, SQLException {\n PreparedStatement ps = conn.prepareStatement(\"insert into orders(status, cid, total, createdate) values(?,?,?,NOW())\", Statement.RETURN_GENERATED_KEYS);\n ps.setInt(1, order.getStatus());\n ps.setInt(2, order.getCid());\n ps.setFloat(3, order.getTotal());\n //ps.setInt(4, diff);\n int rows = ps.executeUpdate();\n if (rows == 1) {\n ResultSet rs = ps.getGeneratedKeys();\n rs.next();\n ps = conn.prepareStatement(\"update orders set shipdate = DATE_ADD(NOW(), INTERVAL ? HOUR) where oid = ?\");\n ps.setInt(1, diff);\n ps.setInt(2, rs.getInt(1));\n ps.executeUpdate();\n return rs.getInt(1);\n }\n throw new Exception(\"order id mismatch\");\n }","title":""},{"docid":"ebbeebdb90e5a6e0d27b45718311fa9d","score":"0.4402023","text":"public void setOrder(int order) {\n this.order = order;\n }","title":""},{"docid":"ebbeebdb90e5a6e0d27b45718311fa9d","score":"0.4402023","text":"public void setOrder(int order) {\n this.order = order;\n }","title":""},{"docid":"4703b932038549c158c12d9f31aaa960","score":"0.43993598","text":"public String getId2() {\n return id2;\n }","title":""},{"docid":"f3d5043c12275102c502eb796af0ccf7","score":"0.439874","text":"public Long getOrderNo () {\r\n\t\treturn orderNo;\r\n\t}","title":""},{"docid":"b22f01e63fa5fbe53bfff1e2d2db9af0","score":"0.43979892","text":"public int getAccount2() // getAccount2 method start\n\t\t{\n\t\t\tif (increasing)\n\t\t\t{\n\t\t\t\treturn convertIncreasingName(creditBox2.getSelectedIndex());\n\t\t\t} // end if\n\t\t\telse\n\t\t\t{\n\t\t\t\treturn convertDecreasingName(creditBox2.getSelectedIndex());\n\t\t\t} // end else\n\t\t}","title":""},{"docid":"38f4308d7115693312fc1724e170f9eb","score":"0.43956006","text":"@Override\r\npublic List selectUnfinishedSaleOrderList() {\n\t\treturn OrderInfoMapper.selectUnfinishedSaleOrderList();\r\n}","title":""},{"docid":"e12abfdcc2b981b299ee0441df7615e8","score":"0.4394528","text":"@Override\n\tpublic void updateOrderQrCode(WxOrder order) {\n\t\torderMapper.updateOrderQrCode(order);\n\t}","title":""},{"docid":"a74f3eb62c1b445c4a72ba883ef533f2","score":"0.43928924","text":"public void setOrder(Order order){\n this.order = order;\n }","title":""},{"docid":"a6c9186e5b6325a08dbe13c78c532f06","score":"0.43921313","text":"public ProfileWorkexpDao() {\n super(ProfileWorkexp.PROFILE_WORKEXP, com.moseeker.baseorm.db.profiledb.tables.pojos.ProfileWorkexp.class);\n }","title":""},{"docid":"b76eb9aef4495e6305239ff9b568bbe3","score":"0.43866548","text":"@Override\n\tpublic TwoInOneWaybillDto queryWaybillRelateByWaybillOrOrderNo(\n\t\t\tString waybillNo) {\n\t\treturn null;\n\t}","title":""},{"docid":"72f991e3534443772b8866f81eab4445","score":"0.43854973","text":"public int saveH2() {\n\t\tint result = 0;\n\n\t\ttry {\n\t\t\tmanager = Connection.connectToH2();\n\n\t\t\tif (this.id > 0) {\n\t\t\t\t// UPDATE\n\t\t\t\tmanager.getTransaction().begin();\n\t\t\t\tresult=manager.createNativeQuery(\"UPDATE Cancion SET nombre = ?, duracion = ?, id_disco = ? WHERE id = ?\")\n\t\t\t\t\t\t.setParameter(1, this.nombre)\n\t\t\t\t\t\t.setParameter(2, this.duracion)\n\t\t\t\t\t\t.setParameter(3, this.disco_contenedor.id)\n\t\t\t\t\t\t.setParameter(4, this.id)\n\t\t\t\t\t\t.executeUpdate();\n\t\t\t\tmanager.getTransaction().commit();\n\t\t\t} else {\n\t\t\t\t// INSERT\n\t\t\t\tmanager.getTransaction().begin();\n\t\t\t\tresult=manager.createNativeQuery(\"INSERT INTO Cancion (nombre,duracion,id_disco) VALUES (?,?,?)\")\n\t\t\t\t\t\t.setParameter(1, this.nombre)\n\t\t\t\t\t\t.setParameter(2, this.duracion)\n\t\t\t\t\t\t.setParameter(3, this.disco_contenedor.id)\n\t\t\t\t\t\t.executeUpdate();\n\t\t\t\tmanager.getTransaction().commit();\n\t\t\t}\n\n\t\t} catch (Exception ex) {\n\t\t\tSystem.out.println(ex);\n\t\t}\n\n\t\treturn result;\n\t}","title":""},{"docid":"b917a65748d3449cf5ece8862b846467","score":"0.43846506","text":"@VTID(10)\r\n int getOrder();","title":""},{"docid":"06b7619403c2da285e4af70b811b26fa","score":"0.4383772","text":"public int getAccount2() // getAccount2 method start\n\t\t{\n\t\t\tif (accounts[debitBox1.getSelectedIndex() - 1].getStatus())\n\t\t\t{\n\t\t\t\treturn convertIncreasingName(debitBox2.getSelectedIndex());\n\t\t\t} // end if\n\t\t\telse\n\t\t\t{\n\t\t\t\treturn convertDecreasingName(debitBox2.getSelectedIndex());\n\t\t\t} // end else\n\t\t\t\n\t\t}","title":""},{"docid":"c1eec888982a8c85e0cfde8900aadcbc","score":"0.43826213","text":"@Override\n\tpublic OmsOrderEntity queryOmsOrderByWaybillNo(String waybillNo) {\n\t\treturn null;\n\t}","title":""},{"docid":"d922ee7f245b21fd03aad0966a5a6a36","score":"0.43815702","text":"@Override\n\tpublic List queryStockByWaybillNo(String originalWaybillNo) {\n\t\treturn null;\n\t}","title":""},{"docid":"dfb2b3394c94a7bbd79f01a6e06b9077","score":"0.43717587","text":"public interface YaOrderRepository extends JpaRepository {\n\n}","title":""},{"docid":"a9af2018318d04daa4f384a912d883ef","score":"0.43698505","text":"public void setCustomID2(String customID2) {\n\t\tCUSTOM_ID2 = customID2;\n\t}","title":""},{"docid":"efa61035663052853eb6e8fdd9a02312","score":"0.43671757","text":"public int placeOrder(Order order, String cust_no, Connection conn) {\r\n\t\ttry {\r\n\t\t\tint item_no=0;\r\n\t\t\tArrayList item_collection = new ArrayList();\r\n\t\t\titem_collection = order.getItemCollection(); \r\n\t\t\tfor(Item i : item_collection)\r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(i);\r\n\t\t\t\titem_no = i.getItemNo();\r\n\t\t\t}\r\n\t\t\tint order_no = 0;\r\n\t\t\tStatement stmt = conn.createStatement();\r\n\t\t\tResultSet rset = stmt.executeQuery(\"select max(orderno) from order_XXXX\");\r\n\t\t\twhile (rset.next()) {\r\n\t\t\t\torder_no = rset.getInt(1);\r\n\t\t\t\torder_no++;\r\n\t\t\t}\r\n\t\t\tPreparedStatement pstmt = conn\r\n\t\t\t\t\t.prepareStatement(\"insert into order_XXXX(orderno,item_no,ord_qty,custno) values(?,?,?,?)\");\r\n\t\t\tpstmt.setInt(1, order_no);\r\n\t\t\tpstmt.setInt(2, item_no);\r\n\t\t\tpstmt.setInt(3, order.getOrderQty());\r\n\t\t\tpstmt.setString(4, cust_no);\r\n\t\t\tint count = pstmt.executeUpdate();\r\n\t\t\tPreparedStatement pstmt1 = conn.prepareStatement(\"update item_XXXX set qty=qty-? where item_no = ?\");\r\n\t\t\tpstmt1.setInt(1, order.getOrderQty());\r\n\t\t\tpstmt1.setInt(2, item_no);\r\n\t\t\tpstmt1.executeUpdate();\r\n\t\t\treturn count;\r\n\t\t} catch (SQLException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn 0;\r\n\t}","title":""},{"docid":"a2eecac524d95e7621c33a5e9bf2b342","score":"0.43659174","text":"public void setCronopElemDesc2(String cronopElemDesc2) {\n\t\tthis.cronopElemDesc2 = cronopElemDesc2;\n\t}","title":""},{"docid":"a834511ccae7be0a6dedd797821d602b","score":"0.4364421","text":"private org.gwtbootstrap3.client.ui.Column get_f_Column2() {\n return build_f_Column2();\n }","title":""},{"docid":"d7e4b0d2cf589dd1d2f1586d3bec5b58","score":"0.4364139","text":"@Override\n\tpublic void getSpecificOrders() {\n\t\t\n\t}","title":""},{"docid":"d7e4b0d2cf589dd1d2f1586d3bec5b58","score":"0.4364139","text":"@Override\n\tpublic void getSpecificOrders() {\n\t\t\n\t}","title":""},{"docid":"4aac0a3ee085ebe06902f746cc0a7b28","score":"0.43628314","text":"public Integer getWishPosTypeid2() {\n return wishPosTypeid2;\n }","title":""},{"docid":"3d1acf88953ee44557534a9cee1c57e5","score":"0.4362134","text":"@Override\n\t\t\tpublic void worked(int work) {\n\t\t\t\t\n\t\t\t}","title":""},{"docid":"d70a2d6708cbd3e31202ea953340c19d","score":"0.4361375","text":"protected void updateOrder(JdbcTemplate dataConnection,OrderTransactionIfc orderTransaction)\n throws DataException\n {\n // get an sql object\n SQLUpdateStatement sql = new SQLUpdateStatement();\n\n // Table\n sql.setTable(ARTSDatabaseIfc.TABLE_ORDER);\n\n // add update columns\n addUpdateColumns(sql,\n orderTransaction);\n\n // add update qualifier\n addUpdateQualifiers(sql,\n \t\torderTransaction);\n\n try\n {\n dataConnection.execute(sql.getSQLString());\n }\n catch (DataException de)\n {\n logger.error( \"\" + de + \"\");\n throw de;\n }\n catch (Exception e)\n {\n logger.error( \"\" + Util.throwableToString(e) + \"\");\n throw new DataException(DataException.UNKNOWN, \"updateOrder\", e);\n }\n }","title":""},{"docid":"d0582f0e0e9efb1dfe47b183998f7fda","score":"0.43570176","text":"public void setOrder(String Order) {\n this.Order = Order;\n }","title":""},{"docid":"6263332f011302d991c5993508bac8ea","score":"0.4350909","text":"public void setOrder(Integer order) {\n this.order = order;\n }","title":""},{"docid":"6263332f011302d991c5993508bac8ea","score":"0.4350909","text":"public void setOrder(Integer order) {\n this.order = order;\n }","title":""},{"docid":"4f22edff54ec2aadda50233598820578","score":"0.4350125","text":"@Override\r\n\tpublic void Update(Order order) {\n\t\tem.merge(order);\r\n\t\t\r\n\t}","title":""},{"docid":"d44015d2dd9ffe2971a72249aa0e4c41","score":"0.4341047","text":"@Insert({\n \"insert into SALEORDERDETAIL (SOID, LINENO, \",\n \"MID, MNAME, STANDARD, \",\n \"UNITID, UNITNAME, \",\n \"NUM, BEFOREDISCOUNT, \",\n \"DISCOUNT, PRICE, \",\n \"TOTALPRICE, TAXRATE, \",\n \"TOTALTAX, TOTALMONEY, \",\n \"BEFOREOUT, ESTIMATEDATE, \",\n \"LEFTNUM, ISGIFT, \",\n \"FROMBILLTYPE, FROMBILLID)\",\n \"values (#{soid,jdbcType=VARCHAR}, #{lineno,jdbcType=DECIMAL}, \",\n \"#{mid,jdbcType=VARCHAR}, #{mname,jdbcType=VARCHAR}, #{standard,jdbcType=VARCHAR}, \",\n \"#{unitid,jdbcType=VARCHAR}, #{unitname,jdbcType=VARCHAR}, \",\n \"#{num,jdbcType=DECIMAL}, #{beforediscount,jdbcType=DECIMAL}, \",\n \"#{discount,jdbcType=DECIMAL}, #{price,jdbcType=DECIMAL}, \",\n \"#{totalprice,jdbcType=DECIMAL}, #{taxrate,jdbcType=DECIMAL}, \",\n \"#{totaltax,jdbcType=DECIMAL}, #{totalmoney,jdbcType=DECIMAL}, \",\n \"#{beforeout,jdbcType=DECIMAL}, #{estimatedate,jdbcType=TIMESTAMP}, \",\n \"#{leftnum,jdbcType=DECIMAL}, #{isgift,jdbcType=DECIMAL}, \",\n \"#{frombilltype,jdbcType=DECIMAL}, #{frombillid,jdbcType=VARCHAR})\"\n })\n int insert(Saleorderdetail record);","title":""},{"docid":"55a1ac40dfabc1d0cfbf9d3ccf3f503d","score":"0.43368006","text":"List selectByExample(Table2Example example);","title":""},{"docid":"fb766f114854f215ddcf8984237c20a7","score":"0.43361884","text":"public void setOrderSn(String orderSn) {\n this.orderSn = orderSn;\n }","title":""},{"docid":"4abdb4394b2bbe73d2fadbcc67756814","score":"0.43326223","text":"@Override\n\tpublic void update(HongXunWorkNum hongXunWorkNum) {\n\t\tgetHibernateTemplate().update(hongXunWorkNum);\n\t}","title":""},{"docid":"62a6f360c03b1682b31a7d223b02907f","score":"0.4330776","text":"@Override\n\tpublic List list2() {\n\t\tList list2 =bookDAO.list2();\n\t\treturn list2;\n\t}","title":""},{"docid":"88bdcf1d6da04454fe03c2f1c74ee641","score":"0.43297362","text":"@Test\n @Tag(\"CREATE\")\n @Tag(\"RESOURCE\")\n @DisplayName(\"Test Insert SB Customer 08 and SB Order 04\")\n public void testHibernateSaveCustomer08AndOrder04()\n {\n System.out.println(\"Programme Start\");\n long startTime = System.nanoTime();\n\n SBAddressVal01 addressVal01 = SBAddressVal01.of(\n \"Kusumarama Road\",\n \"Seenigama\",\n \"Hikkaduwa\",\n \"Sri Lanka\",\n \"292000\"\n );\n\n SBCustomerOrder04 order01 = new SBCustomerOrder04();\n order01.setCustomerOrder04InvoiceNumber(\"IN0000001\");\n order01.setCustomerOrder04DateTime(new Timestamp(new java.util.Date().getTime()));\n order01.setCustomerOrder04Total(2024.50);\n order01.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\n order01.setRawLastUpdateLogId(1);\n order01.setUpdateUserAccountId(1);\n order01.setRawActiveStatus(1);\n order01.setRawDeleteStatus(1);\n order01.setRawShowStatus(1);\n order01.setRawUpdateStatus(1);\n\n SBCustomerOrder04 order02 = new SBCustomerOrder04();\n order02.setCustomerOrder04InvoiceNumber(\"IN0000002\");\n order02.setCustomerOrder04DateTime(new Timestamp(new java.util.Date().getTime()));\n order02.setCustomerOrder04Total(1024.50);\n order02.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\n order02.setRawLastUpdateLogId(1);\n order02.setUpdateUserAccountId(1);\n order02.setRawActiveStatus(1);\n order02.setRawDeleteStatus(1);\n order02.setRawShowStatus(1);\n order02.setRawUpdateStatus(1);\n\n SBCustomerOrder04 order03 = new SBCustomerOrder04();\n order03.setCustomerOrder04InvoiceNumber(\"IN0000003\");\n order03.setCustomerOrder04DateTime(new Timestamp(new java.util.Date().getTime()));\n order03.setCustomerOrder04Total(3024.50);\n order03.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\n order03.setRawLastUpdateLogId(1);\n order03.setUpdateUserAccountId(1);\n order03.setRawActiveStatus(1);\n order03.setRawDeleteStatus(1);\n order03.setRawShowStatus(1);\n order03.setRawUpdateStatus(1);\n\n SBCustomerOrder04 order04 = new SBCustomerOrder04();\n order04.setCustomerOrder04InvoiceNumber(\"IN0000004\");\n order04.setCustomerOrder04DateTime(new Timestamp(new java.util.Date().getTime()));\n order04.setCustomerOrder04Total(5024.50);\n order04.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\n order04.setRawLastUpdateLogId(1);\n order04.setUpdateUserAccountId(1);\n order04.setRawActiveStatus(1);\n order04.setRawDeleteStatus(1);\n order04.setRawShowStatus(1);\n order04.setRawUpdateStatus(1);\n\n SBCustomer08 sbCustomer08 = new SBCustomer08();\n\n sbCustomer08.getCustomer08Orders().add(order01);\n sbCustomer08.getCustomer08Orders().add(order02);\n sbCustomer08.getCustomer08Orders().add(order03);\n sbCustomer08.getCustomer08Orders().add(order04);\n\n sbCustomer08.setCustomer08Email(\"umesh@slmora.com\");\n sbCustomer08.setCustomer08Sex(\"Male\");\n sbCustomer08.setCustomer08FirstName(\"Umesh\");\n sbCustomer08.setCustomer08LastName(\"Gunasekara\");\n sbCustomer08.setCustomer08Nic(\"901521344V\");\n sbCustomer08.setCustomer08Mobile(\"0711233000\");\n try {\n sbCustomer08.setCustomer08Birthday(new SimpleDateFormat(\"dd/MM/yyyy\").parse(\"31/05/1990\"));\n } catch (ParseException e) {\n LOGGER.error(ExceptionUtils.getFullStackTrace(e));\n e.printStackTrace();\n }\n sbCustomer08.setCustomer08Address(addressVal01);\n sbCustomer08.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\n sbCustomer08.setRawLastUpdateLogId(1);\n sbCustomer08.setUpdateUserAccountId(1);\n sbCustomer08.setRawActiveStatus(1);\n sbCustomer08.setRawDeleteStatus(1);\n sbCustomer08.setRawShowStatus(1);\n sbCustomer08.setRawUpdateStatus(1);\n\n Transaction transaction = null;\n try (Session session = HibernateUtil.getSessionFactory().openSession();) {\n transaction = session.beginTransaction();\n session.save(sbCustomer08);\n session.save(order01);\n session.save(order02);\n session.save(order03);\n session.save(order04);\n transaction.commit();\n System.out.println(\"Added Customer 03: \" + sbCustomer08.getCustomer08FirstName());\n } catch (Throwable throwable) {\n if (transaction != null) {\n transaction.rollback();\n }\n LOGGER.error(ExceptionUtils.getFullStackTrace(throwable));\n throwable.printStackTrace();\n }\n long endTime = System.nanoTime();\n ELAPSED_TIME = endTime - startTime;\n System.out.println(\"Programme End\");\n\n }","title":""},{"docid":"823c1387ac397ad5b8139512eb61ee88","score":"0.4325617","text":"@Query(\"select d from DeliveryBoy d join DeliveryBoyCurrentStatus dbcs on d.id=dbcs.deliveryBoy.id join UserLogin ul on d.id=ul.entityId join DeviceDetail dd on ul.id=dd.userLogin.id where dbcs.isLogin='true' and dbcs.isAvailable='true' and dbcs.isBusy='false' and d.id not in (select COALESCE(dbsh.deliveryBoy.id,0) from DeliveryBoySendNotificationHistory dbsh where dbsh.orderId=:orderId) and ul.entityType='DELIVERY_BOY'\")\n\tList getAllNextAvailableDeliveryBoys(Long orderId);","title":""},{"docid":"ae33bf1338178c1b378cca4d60e82304","score":"0.43250158","text":"public interface CrmDmDbsBmsMapper {\n public static String TABLENAME = \"crm_dm_bds_bms\";\n @Select(\"select * from \"+TABLENAME+\" WHERE staff_city_id=#{cityId, jdbcType=BIGINT} limit 10 \")\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType= JdbcType.BIGINT, id=true),\n @Result(column=\"Saler_id\", property=\"salerId\", jdbcType= JdbcType.BIGINT),\n @Result(column=\"Saler_name\", property=\"salerName\", jdbcType= JdbcType.BIGINT)\n })\n public List findSalerListByCityId(@Param(\"cityId\") Long cityId);\n}","title":""},{"docid":"0e1b607a9fdf6b9652db31479a73421e","score":"0.43245998","text":"@Select({\n \"select\",\n \"JNLNO, TRANDATE, ACCOUNTDATE, CHECKTYPE, STATUS, DONETIME, FILENAME\",\n \"from B_UMB_CHECKING_LOG\",\n \"where JNLNO = #{jnlno,jdbcType=VARCHAR}\"\n })\n @Results({\n @Result(column=\"JNLNO\", property=\"jnlno\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"TRANDATE\", property=\"trandate\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"ACCOUNTDATE\", property=\"accountdate\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"CHECKTYPE\", property=\"checktype\", jdbcType=JdbcType.CHAR),\n @Result(column=\"STATUS\", property=\"status\", jdbcType=JdbcType.CHAR),\n @Result(column=\"DONETIME\", property=\"donetime\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"FILENAME\", property=\"filename\", jdbcType=JdbcType.VARCHAR)\n })\n BUMBCheckingLog selectByPrimaryKey(BUMBCheckingLogKey key);","title":""},{"docid":"957a78caadc6259828289d91812ea9a9","score":"0.43242985","text":"public void addOrder(Order o) {\n medOrder.add(o);\n //System.out.println(\"in adding order\");\n for(OrderItem oi: o.getOrderItemList())\n {\n MedicineProduct p=oi.getProduct();\n //System.out.println(\"in for oop produscts \"+p);\n Medicine med = this.searchMedicine(p.getProdName());\n if(med!=null){\n int i = med.getAvailQuantity()+oi.getQuantity();\n med.setAvailQuantity(i);\n // System.out.println(\"in adding quntity \"+i);\n \n }\n }\n \n }","title":""},{"docid":"017306162d2674ab91ea52c3b2f8642d","score":"0.43240657","text":"public boolean importOrders(Workbook work, Map returnMap) {\n\t\treturn false;\n\t}","title":""},{"docid":"6dd2c912317fe9a9c6487a11ed8b89da","score":"0.43157932","text":"public void AddOrder(Shoporder model) {\n\t\tmapper.AddOrder(model);\n\t}","title":""},{"docid":"34cca038d145a8ad7aa614ba37aa5669","score":"0.43147394","text":"@Test\n @Tag(\"CREATE\")\n @Tag(\"RESOURCE\")\n @DisplayName(\"Test Insert SB Customer 07 and SB Order 04\")\n public void testHibernateSaveCustomer07AndOrder04()\n {\n System.out.println(\"Programme Start\");\n long startTime = System.nanoTime();\n\n SBAddressVal01 addressVal01 = SBAddressVal01.of(\n \"Kusumarama Road\",\n \"Seenigama\",\n \"Hikkaduwa\",\n \"Sri Lanka\",\n \"292000\"\n );\n\n SBCustomerOrder04 order01 = new SBCustomerOrder04();\n order01.setCustomerOrder04InvoiceNumber(\"IN0000001\");\n order01.setCustomerOrder04DateTime(new Timestamp(new java.util.Date().getTime()));\n order01.setCustomerOrder04Total(2024.50);\n order01.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\n order01.setRawLastUpdateLogId(1);\n order01.setUpdateUserAccountId(1);\n order01.setRawActiveStatus(1);\n order01.setRawDeleteStatus(1);\n order01.setRawShowStatus(1);\n order01.setRawUpdateStatus(1);\n\n SBCustomerOrder04 order02 = new SBCustomerOrder04();\n order02.setCustomerOrder04InvoiceNumber(\"IN0000002\");\n order02.setCustomerOrder04DateTime(new Timestamp(new java.util.Date().getTime()));\n order02.setCustomerOrder04Total(1024.50);\n order02.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\n order02.setRawLastUpdateLogId(1);\n order02.setUpdateUserAccountId(1);\n order02.setRawActiveStatus(1);\n order02.setRawDeleteStatus(1);\n order02.setRawShowStatus(1);\n order02.setRawUpdateStatus(1);\n\n SBCustomerOrder04 order03 = new SBCustomerOrder04();\n order03.setCustomerOrder04InvoiceNumber(\"IN0000003\");\n order03.setCustomerOrder04DateTime(new Timestamp(new java.util.Date().getTime()));\n order03.setCustomerOrder04Total(3024.50);\n order03.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\n order03.setRawLastUpdateLogId(1);\n order03.setUpdateUserAccountId(1);\n order03.setRawActiveStatus(1);\n order03.setRawDeleteStatus(1);\n order03.setRawShowStatus(1);\n order03.setRawUpdateStatus(1);\n\n SBCustomerOrder04 order04 = new SBCustomerOrder04();\n order04.setCustomerOrder04InvoiceNumber(\"IN0000004\");\n order04.setCustomerOrder04DateTime(new Timestamp(new java.util.Date().getTime()));\n order04.setCustomerOrder04Total(5024.50);\n order04.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\n order04.setRawLastUpdateLogId(1);\n order04.setUpdateUserAccountId(1);\n order04.setRawActiveStatus(1);\n order04.setRawDeleteStatus(1);\n order04.setRawShowStatus(1);\n order04.setRawUpdateStatus(1);\n\n SBCustomer07 sbCustomer07 = new SBCustomer07();\n\n sbCustomer07.getCustomer07Orders().add(order01);\n sbCustomer07.getCustomer07Orders().add(order02);\n sbCustomer07.getCustomer07Orders().add(order03);\n sbCustomer07.getCustomer07Orders().add(order04);\n\n sbCustomer07.setCustomer07Email(\"umesh@slmora.com\");\n sbCustomer07.setCustomer07Sex(\"Male\");\n sbCustomer07.setCustomer07FirstName(\"Umesh\");\n sbCustomer07.setCustomer07LastName(\"Gunasekara\");\n sbCustomer07.setCustomer07Nic(\"901521344V\");\n sbCustomer07.setCustomer07Mobile(\"0711233000\");\n try {\n sbCustomer07.setCustomer07Birthday(new SimpleDateFormat(\"dd/MM/yyyy\").parse(\"31/05/1990\"));\n } catch (ParseException e) {\n LOGGER.error(ExceptionUtils.getFullStackTrace(e));\n e.printStackTrace();\n }\n sbCustomer07.setCustomer07Address(addressVal01);\n sbCustomer07.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\n sbCustomer07.setRawLastUpdateLogId(1);\n sbCustomer07.setUpdateUserAccountId(1);\n sbCustomer07.setRawActiveStatus(1);\n sbCustomer07.setRawDeleteStatus(1);\n sbCustomer07.setRawShowStatus(1);\n sbCustomer07.setRawUpdateStatus(1);\n\n Transaction transaction = null;\n try (Session session = HibernateUtil.getSessionFactory().openSession();) {\n transaction = session.beginTransaction();\n session.save(sbCustomer07);\n session.save(order01);\n session.save(order02);\n session.save(order03);\n session.save(order04);\n transaction.commit();\n System.out.println(\"Added Customer 03: \" + sbCustomer07.getCustomer07FirstName());\n } catch (Throwable throwable) {\n if (transaction != null) {\n transaction.rollback();\n }\n LOGGER.error(ExceptionUtils.getFullStackTrace(throwable));\n throwable.printStackTrace();\n }\n long endTime = System.nanoTime();\n ELAPSED_TIME = endTime - startTime;\n System.out.println(\"Programme End\");\n\n }","title":""}],"string":"[\n {\n \"docid\": \"a89e34449e48623d1af1bd905295e34c\",\n \"score\": \"0.5924773\",\n \"text\": \"public void setWork2(Number work2)\\r\\n {\\r\\n m_work2 = work2;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7b73b403441a87a4e4086dd8bcfa3a20\",\n \"score\": \"0.549055\",\n \"text\": \"List selectByExample(NjOrderWork2Example example);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c4669bcd4f982ffc8f8370db39f31d1e\",\n \"score\": \"0.5409057\",\n \"text\": \"public Number getWork2()\\r\\n {\\r\\n return (m_work2);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"918c3d5e8bd3f56502190d0bcb645875\",\n \"score\": \"0.5279093\",\n \"text\": \"int updateByExample(@Param(\\\"record\\\") NjOrderWork2 record, @Param(\\\"example\\\") NjOrderWork2Example example);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d8041b6f348ccfe504e6b68ae9856737\",\n \"score\": \"0.5141654\",\n \"text\": \"public String getWork_id(){\\r\\n\\t\\treturn this.work_id ;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e10b639a80bf3a7182f2105b994e7244\",\n \"score\": \"0.5135157\",\n \"text\": \"@Override\\n\\tpublic List queryReturnGoodsWorkOrder(\\n\\t\\t\\tString waybillNo) {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"401e3b8745ca0c8b82f3d4a1908d70ad\",\n \"score\": \"0.5075198\",\n \"text\": \"NjOrderWork2 selectByPrimaryKey(String id);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8c4ff272daf25b959aa0b2d7f4d70e72\",\n \"score\": \"0.49554512\",\n \"text\": \"int updateByExampleSelective(@Param(\\\"record\\\") NjOrderWork2 record, @Param(\\\"example\\\") NjOrderWork2Example example);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"adadf341a89a129069defd5b4acee2ef\",\n \"score\": \"0.4912584\",\n \"text\": \"@Override\\n\\tpublic void save(WorkSummary entity1, Employee entity2) {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a4fd0e0284b5cc03625b412e15873798\",\n \"score\": \"0.4892086\",\n \"text\": \"@Override\\n\\tpublic void update(WorkSummary entity1, Employee entity2) {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9b48b1a09fb96955bb95428edd11684e\",\n \"score\": \"0.4880257\",\n \"text\": \"@Override\\n\\tpublic WorkVO getWorkDetail(int work_num) {\\n\\t\\treturn workMapper.getWorkDetail(work_num);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"604a15ad4adeb392340a6adacf81c134\",\n \"score\": \"0.4795635\",\n \"text\": \"int insert(NjOrderWork2 record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"61ab3816a768d0d0403b7e0fc44c070a\",\n \"score\": \"0.47902265\",\n \"text\": \"public void setWorkplaceOrder(int workplaceOrder)\\r\\n\\t{\\r\\n\\t\\tthis.workplaceOrder = workplaceOrder;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ac54d50cacf75b9fe067f4000ab48f54\",\n \"score\": \"0.47116145\",\n \"text\": \"U2(){\\r\\n setCurrentWeight(0);\\r\\n setMaxWeight(29*1000);\\r\\n setCost(120*1000000);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a848679c3345aff818b754b92dc347f\",\n \"score\": \"0.46785176\",\n \"text\": \"int updateByPrimaryKey(NjOrderWork2 record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8b33ed32040dfb319a642350064ce152\",\n \"score\": \"0.46636912\",\n \"text\": \"public interface OrderMapper {\\n\\n //购物车确认订单之后插入订单商品信息(确认,但未发货)\\n @Insert(\\\"insert into `order` ( order_code,order_time,username,goods_code,goods_name,goods_currentPrice,goods_counts,goods_image,goods_singlePrice,goods_totalPrice,goods_remark,goods_status) values (#{order_code},#{order_time},#{username},#{goods_code},#{goods_name},#{goods_currentPrice},#{goods_counts},#{goods_image},#{goods_singlePrice},#{goods_totalPrice},#{goods_remark},#{goods_status})\\\")\\n int insertIntoOrder(Order order);\\n\\n //根据商品状态(未发货,待接收,待评价,已完成,已取消)查询商品信息\\n @Select(\\\"select *from `order` where goods_status=#{goods_status} and username=#{username} \\\")\\n List selectOrderByGoodsStatus(Order order) ;\\n\\n //改变商品订单的状态(根据商品订单和商品状态)\\n @Update(\\\"update `order` set goods_status = #{goods_status} where order_code=#{order_code}\\\")\\n int updateOrderStatus(Order order);\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fdc941a5cfe690b5a45173ab1973379c\",\n \"score\": \"0.4652824\",\n \"text\": \"@Override\\n\\tpublic Result updateWorkOrder(WorkOrderItem parameters) {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2665b2bb8a39d3fe859db2e987bae6eb\",\n \"score\": \"0.4652476\",\n \"text\": \"@SuppressWarnings(\\\"all\\\")\\npublic interface I_i_ordertrx_temp \\n{\\n\\n /** TableName=i_ordertrx_temp */\\n public static final String Table_Name = \\\"i_ordertrx_temp\\\";\\n\\n /** AD_Table_ID=1000126 */\\n public static final int Table_ID = MTable.getTable_ID(Table_Name);\\n\\n KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);\\n\\n /** AccessLevel = 3 - Client - Org \\n */\\n BigDecimal accessLevel = BigDecimal.valueOf(3);\\n\\n /** Load Meta Data */\\n\\n /** Column name AD_Client_ID */\\n public static final String COLUMNNAME_AD_Client_ID = \\\"AD_Client_ID\\\";\\n\\n\\t/** Get Client.\\n\\t * Client/Tenant for this installation.\\n\\t */\\n\\tpublic int getAD_Client_ID();\\n\\n /** Column name AD_Org_ID */\\n public static final String COLUMNNAME_AD_Org_ID = \\\"AD_Org_ID\\\";\\n\\n\\t/** Set Organization.\\n\\t * Organizational entity within client\\n\\t */\\n\\tpublic void setAD_Org_ID (int AD_Org_ID);\\n\\n\\t/** Get Organization.\\n\\t * Organizational entity within client\\n\\t */\\n\\tpublic int getAD_Org_ID();\\n\\n /** Column name count_order */\\n public static final String COLUMNNAME_count_order = \\\"count_order\\\";\\n\\n\\t/** Set count_order\\t */\\n\\tpublic void setcount_order (int count_order);\\n\\n\\t/** Get count_order\\t */\\n\\tpublic int getcount_order();\\n\\n /** Column name Created */\\n public static final String COLUMNNAME_Created = \\\"Created\\\";\\n\\n\\t/** Get Created.\\n\\t * Date this record was created\\n\\t */\\n\\tpublic Timestamp getCreated();\\n\\n /** Column name CreatedBy */\\n public static final String COLUMNNAME_CreatedBy = \\\"CreatedBy\\\";\\n\\n\\t/** Get Created By.\\n\\t * User who created this records\\n\\t */\\n\\tpublic int getCreatedBy();\\n\\n /** Column name i_ordertrx_temp_ID */\\n public static final String COLUMNNAME_i_ordertrx_temp_ID = \\\"i_ordertrx_temp_ID\\\";\\n\\n\\t/** Set Semeru Order Temporary\\t */\\n\\tpublic void seti_ordertrx_temp_ID (int i_ordertrx_temp_ID);\\n\\n\\t/** Get Semeru Order Temporary\\t */\\n\\tpublic int geti_ordertrx_temp_ID();\\n\\n /** Column name insert_order */\\n public static final String COLUMNNAME_insert_order = \\\"insert_order\\\";\\n\\n\\t/** Set insert_order\\t */\\n\\tpublic void setinsert_order (boolean insert_order);\\n\\n\\t/** Get insert_order\\t */\\n\\tpublic boolean isinsert_order();\\n\\n /** Column name order_detail */\\n public static final String COLUMNNAME_order_detail = \\\"order_detail\\\";\\n\\n\\t/** Set order_detail\\t */\\n\\tpublic void setorder_detail (String order_detail);\\n\\n\\t/** Get order_detail\\t */\\n\\tpublic String getorder_detail();\\n\\n /** Column name orders */\\n public static final String COLUMNNAME_orders = \\\"orders\\\";\\n\\n\\t/** Set orders\\t */\\n\\tpublic void setorders (String orders);\\n\\n\\t/** Get orders\\t */\\n\\tpublic String getorders();\\n\\n /** Column name pos */\\n public static final String COLUMNNAME_pos = \\\"pos\\\";\\n\\n\\t/** Set pos\\t */\\n\\tpublic void setpos (String pos);\\n\\n\\t/** Get pos\\t */\\n\\tpublic String getpos();\\n\\n /** Column name Result */\\n public static final String COLUMNNAME_Result = \\\"Result\\\";\\n\\n\\t/** Set Result.\\n\\t * Result of the action taken\\n\\t */\\n\\tpublic void setResult (String Result);\\n\\n\\t/** Get Result.\\n\\t * Result of the action taken\\n\\t */\\n\\tpublic String getResult();\\n\\n /** Column name transaction_id */\\n public static final String COLUMNNAME_transaction_id = \\\"transaction_id\\\";\\n\\n\\t/** Set transaction_id\\t */\\n\\tpublic void settransaction_id (int transaction_id);\\n\\n\\t/** Get transaction_id\\t */\\n\\tpublic int gettransaction_id();\\n\\n /** Column name Updated */\\n public static final String COLUMNNAME_Updated = \\\"Updated\\\";\\n\\n\\t/** Get Updated.\\n\\t * Date this record was updated\\n\\t */\\n\\tpublic Timestamp getUpdated();\\n\\n /** Column name UpdatedBy */\\n public static final String COLUMNNAME_UpdatedBy = \\\"UpdatedBy\\\";\\n\\n\\t/** Get Updated By.\\n\\t * User who updated this records\\n\\t */\\n\\tpublic int getUpdatedBy();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aebb09af81477c65c78d8929ca4b758c\",\n \"score\": \"0.46447253\",\n \"text\": \"@Override\\n\\tpublic List queryReturnGoodsWorkOrderResult(\\n\\t\\t\\tCrmReturnedGoodsDtoResult vo) {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"753f1b52cfae83ef559a20223f3066aa\",\n \"score\": \"0.46423176\",\n \"text\": \"@Override\\n\\tpublic int getWorkNum() {\\n\\t\\treturn workMapper.getWorkNum();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"012fb72029d9f5742ab8eedb9f4ca17a\",\n \"score\": \"0.46420953\",\n \"text\": \"public void setHC_WorkStartDate2 (Timestamp HC_WorkStartDate2);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7001a01f3358dfbef6ec432e34dd40b8\",\n \"score\": \"0.46260953\",\n \"text\": \"int newOrder(OrderBean newOrder);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fa8ffa0cd687f5990952d372468acf14\",\n \"score\": \"0.46227857\",\n \"text\": \"@Override\\r\\n\\tpublic void saveYuyueOrder(YuyueOrderDTO yuyueOrderDTO) throws Exception {\\n\\t\\tYuyueOrder yuyueOrder = new YuyueOrder();\\r\\n\\t\\tSysYuyue sy = sysYuyueRespository.findOne(yuyueOrderDTO.getSysYuyue());\\r\\n\\t\\t\\r\\n\\t\\tPropertyUtils.copyProperties(yuyueOrder,yuyueOrderDTO);\\r\\n\\t\\tif(sy.getYyCzUser()!=null){\\r\\n\\t\\t\\tyuyueOrder.setYyCzId(sy.getYyCzUser().getId());\\r\\n\\t\\t}\\r\\n\\t\\tif(sy.getYyQyUser()!=null){\\r\\n\\t\\t\\tyuyueOrder.setYyQxId(sy.getYyQyUser().getId());\\r\\n\\t\\t}\\r\\n\\t\\tyuyueOrder.setYl5(OrderUtil.getOrderIdByUUId());\\r\\n yuyueOrderRepository.save(yuyueOrder);\\r\\n if(yuyueOrderDTO.getServerProject()!=null){\\r\\n \\tfor(int i=0;i getList();\\r\\n\\r\\n\\r\\n @Select(\\\"SELECT COUNT(*) FROM ms_sale WHERE sale_check =1;\\\")\\r\\n Integer getCount();\\r\\n\\r\\n @Select(\\\"SELECT ms_order.*,ms_supplier.supplier_office,ms_goods.* FROM gongxiao.ms_order,gongxiao.ms_supplier,gongxiao.ms_goods WHERE or_supplier_id=supplier_id and or_goods_id=su_id and or_check=3 limit #{rows} offset #{offset};;\\\")\\r\\n List getListByPage(@Param(\\\"rows\\\") Integer rows, @Param(\\\"offset\\\") Integer offset);\\r\\n\\r\\n\\r\\n @Select(\\\"SELECT ms_order.*,ms_supplier.supplier_office,ms_goods.* FROM gongxiao.ms_order,gongxiao.ms_supplier,gongxiao.ms_goods WHERE or_supplier_id=supplier_id and or_goods_id=su_id and or_check=3 LIMIT #{row} OFFSET #{page};\\\")\\r\\n List getListByPageAndRow(@Param(\\\"row\\\") Integer row, @Param(\\\"page\\\") Integer page);\\r\\n\\r\\n /**\\r\\n * 获得公司进货记录\\r\\n */\\r\\n @Select(\\\"SELECT * FROM gongxiao.repertory WHERE or_id=#{id}\\\")\\r\\n Order getById(Integer id);\\r\\n\\r\\n /**\\r\\n * 获得库存物品信息\\r\\n *\\r\\n * @param val\\r\\n * @return\\r\\n */\\r\\n @Select(\\\"SELECT ms_order.*,ms_supplier.supplier_office,ms_goods.* FROM gongxiao.ms_order,gongxiao.ms_supplier,ms_goods WHERE ms_order.or_goods_id =#{val} and or_goods_id=su_id and or_supplier_id=supplier_id and or_check='3';\\\")\\r\\n List getGoodsInfoInBound(Integer val);\\r\\n\\r\\n /**\\r\\n * 设置发票状况\\r\\n *\\r\\n * @param key\\r\\n */\\r\\n @Update(\\\"UPDATE `gongxiao`.`ms_order` SET `or_invoice`=#{value} WHERE `or_id`=#{key};\\\")\\r\\n void setInvoice(@Param(\\\"key\\\") Integer key, @Param(\\\"value\\\") Integer value);\\r\\n\\r\\n /**\\r\\n * 结款\\r\\n *\\r\\n * @param id\\r\\n * @return\\r\\n */\\r\\n @Update(\\\"UPDATE `gongxiao`.`ms_order` SET `or_payment`=6 WHERE `or_id`=#{id};\\\")\\r\\n void setPayment(Integer id);\\r\\n\\r\\n /**\\r\\n * 获得待审核进货信息\\r\\n *\\r\\n * @param check\\r\\n * @return\\r\\n */\\r\\n @Select(\\\"SELECT ms_order.*,ms_supplier.supplier_office,ms_goods.* FROM gongxiao.ms_order,gongxiao.ms_supplier,gongxiao.ms_goods WHERE or_supplier_id=supplier_id and or_goods_id=su_id and ms_order.or_check=#{check};\\\")\\r\\n List getOrderWhereCheck(Integer check);\\r\\n\\r\\n /**\\r\\n * 删除库存\\r\\n *\\r\\n * @param id\\r\\n */\\r\\n @Delete(\\\"DELETE FROM `gongxiao`.`ms_order` WHERE `or_id`=#{id};\\\")\\r\\n void deleteOrderById(Integer id);\\r\\n\\r\\n /**\\r\\n * 获得库存状态\\r\\n *\\r\\n * @return\\r\\n */\\r\\n @Select(\\\"select su_name,SUM(or_number) as su_sum from repertory group by su_name;\\\")\\r\\n List getStatistics();\\r\\n\\r\\n /**\\r\\n * 查找相似物品的库存信息\\r\\n *\\r\\n * @param like\\r\\n * @return\\r\\n */\\r\\n @Select(\\\"SELECT ms_order.*,ms_supplier.supplier_office,ms_goods.* FROM gongxiao.ms_order,gongxiao.ms_supplier,gongxiao.ms_goods where ms_goods.su_name like #{like} and or_supplier_id=supplier_id and or_check='3' and or_goods_id = su_id\\\")\\r\\n List getLikeOrderInBound(String like);\\r\\n\\r\\n /**\\r\\n * 查找货号的库存信息\\r\\n *\\r\\n * @param like\\r\\n * @return\\r\\n */\\r\\n @Select(\\\"SELECT ms_order.*,ms_supplier.supplier_office,ms_goods.* FROM gongxiao.ms_order,gongxiao.ms_supplier,gongxiao.ms_goods where ms_goods.su_No like #{like} and or_supplier_id=supplier_id and or_check='3' and or_goods_id = su_id\\\")\\r\\n List getListByNo(String like);\\r\\n\\r\\n\\r\\n void updateOrderNumInBound(UpdateItem updateItem);\\r\\n\\r\\n /**\\r\\n * 审核入库\\r\\n */\\r\\n @Update(\\\"UPDATE `gongxiao`.`ms_order` SET `or_check`= 3 WHERE `or_id`=#{id};\\\")\\r\\n void orderInBound(Integer id);\\r\\n\\r\\n /**\\r\\n * 刷新库存\\r\\n */\\r\\n void refreshOrderInBound();\\r\\n\\r\\n /**\\r\\n * 根据日期和供货商获得库存信息\\r\\n *\\r\\n * @param item\\r\\n * @return\\r\\n */\\r\\n List getOrderByDateAndSupplierId(OfIdAndDateItem item);\\r\\n\\r\\n /**\\r\\n * 获得仓库预警库存\\r\\n *\\r\\n * @return\\r\\n */\\r\\n @Select(\\\"SELECT * FROM gongxiao.repertory WHERE or_number<=or_alarm;\\\")\\r\\n List getBoundAlarm();\\r\\n\\r\\n /**\\r\\n * 获得仓库预期\\r\\n * 只显示库存大于0的,小鱼0的不需要显示!\\r\\n *\\r\\n * @param time\\r\\n * @return\\r\\n */\\r\\n @Select(\\\"SELECT * FROM gongxiao.repertory WHERE or_deaddate<=#{s} and or_number >0;\\\")\\r\\n List getListByDead(Date time);\\r\\n\\r\\n /**\\r\\n * 重设预警值\\r\\n *\\r\\n * @param val\\r\\n * @param key\\r\\n */\\r\\n @Update(\\\"UPDATE `gongxiao`.`ms_order` SET `or_alarm`=#{val} WHERE `or_id`=#{key};\\\")\\r\\n void resetAlarm(@Param(\\\"val\\\") Integer val, @Param(\\\"key\\\") Integer key);\\r\\n\\r\\n /**\\r\\n * 根据公司ID获得库存信息\\r\\n */\\r\\n @Select(\\\"SELECT ms_order.*,ms_supplier.supplier_office,ms_goods.* FROM gongxiao.ms_order,gongxiao.ms_supplier,gongxiao.ms_goods where or_supplier_id=supplier_id and or_check='3' and or_goods_id = su_id and supplier_id=#{id}\\\")\\r\\n List getListBySupId(Integer id);\\r\\n\\r\\n /**\\r\\n * 获得公司库存金额\\r\\n *\\r\\n * @return\\r\\n */\\r\\n @Select(\\\"SELECT sum(or_price*or_number) FROM gongxiao.ms_order WHERE or_check =3;\\\")\\r\\n Double getAmount();\\r\\n\\r\\n /**\\r\\n * 修改备注\\r\\n */\\r\\n @Update(\\\"UPDATE `gongxiao`.`ms_order` SET `or_other`=#{val} WHERE `or_id`=#{key};\\\")\\r\\n void updateOther(@Param(\\\"val\\\") String val, @Param(\\\"key\\\") Integer key);\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1b7ba72ab76730d2a01243b225d9de65\",\n \"score\": \"0.45309347\",\n \"text\": \"public void createEntity2(Entity2 entity2) throws DaoException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"03660c1eb74ba283441c93713924929f\",\n \"score\": \"0.45278758\",\n \"text\": \"@Override\\n\\tpublic String queryWaybillTypeByOrderNo(String orderNo) {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c8e8f3f9dd55f7971a5f942250b0c514\",\n \"score\": \"0.45277756\",\n \"text\": \"public void setCronopElemCode2(String cronopElemCode2) {\\n\\t\\tthis.cronopElemCode2 = cronopElemCode2;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7c2c91e97ba52e2bd8547622dbe3848b\",\n \"score\": \"0.45087218\",\n \"text\": \"public interface ApplyOrderMapper extends CrudRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7485169d64b14406c407574a59c99e08\",\n \"score\": \"0.45075047\",\n \"text\": \"public void addSimpleOrder(Order o) {\\n DatabaseConnection connection = new DatabaseConnection();\\r\\n if(connection.openConnection())\\r\\n {\\r\\n if(o.getType() == 1) {\\r\\n connection.executeSQLInsertStatement(\\\"INSERT INTO drank_order (`TafelID`, `DrankID`) VALUES(\\\" + o.getTafelID() + \\\",\\\" + o.getID() + \\\");\\\");\\r\\n }\\r\\n\\r\\n else if(o.getType() == 0) {\\r\\n connection.executeSQLInsertStatement(\\\"INSERT INTO gerecht_order (`TafelID`, `GerechtID`) VALUES(\\\" + o.getTafelID() + \\\",\\\" + o.getID() + \\\");\\\");\\r\\n }\\r\\n }\\r\\n\\r\\n connection.closeConnection();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2cb2794a3b6e5db88e6907f2fbc52bbf\",\n \"score\": \"0.44992056\",\n \"text\": \"@Override\\r\\n\\tpublic Order create(Order order) {\\r\\n\\t\\ttry (Connection connection = JDBCUtils.getInstance().getConnection();\\r\\n\\t\\t\\t\\tStatement statement = connection.createStatement();) {\\r\\n\\t\\t\\tstatement.executeUpdate(String.format(\\\"INSERT INTO orders(customer_id) values(%d)\\\",\\r\\n\\t\\t\\t\\t\\torder.getCustomer().getId()));\\r\\n\\t\\t\\t\\tHashMap items = order.getItems();\\r\\n\\t\\t\\t\\tfor (Entry entry : items.entrySet()) {\\r\\n\\t\\t\\t\\t\\tstatement.executeUpdate(String.format(\\\"INSERT INTO orders_items(order_id, item_id, quantity) \\\"\\r\\n\\t\\t\\t\\t\\t\\t\\t+ \\\"values(last_insert_id(), %d, %d)\\\", entry.getKey().getId(), entry.getValue()));\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\treturn readLatest();\\r\\n\\t\\t} catch (Exception e) {\\r\\n\\t\\t\\tLOGGER.debug(e);\\r\\n\\t\\t\\tLOGGER.error(e.getMessage());\\r\\n\\t\\t}\\r\\n\\t\\treturn null;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"15e0d666466384153749f55403a42da0\",\n \"score\": \"0.4494891\",\n \"text\": \"public interface OrderInstanceRepository extends JpaRepository,JpaSpecificationExecutor{\\r\\n\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4889b611d264b407c24c34506940fc45\",\n \"score\": \"0.4489859\",\n \"text\": \"public static Result getOrder(String orderId){\\n \\n MysqlDBOperations mysql = new MysqlDBOperations();\\n ResourceProperty rs = new ResourceProperty(\\\"com.generic.resources.mysqlQuery\\\");\\n Connection conn = mysql.getConnection(); \\n Orders order;\\n List productList;\\n\\n try{\\n\\n // -1- Prepare Statement\\n PreparedStatement preStat = conn.prepareStatement(rs.getPropertyValue(\\\"mysql.order.select.4\\\"));\\n preStat.setString(1, orderId);\\n \\n ResultSet resultSet = preStat.executeQuery();\\n \\n // -2- Get Result\\n if(resultSet.first()){\\n \\n // -2.1- Get Order Object\\n order = ORMHandler.resultSetToOrder(resultSet);\\n \\n // -2.2- Get User & UserAddress Object\\n User user = ORMHandler.resultSetToUser(resultSet);\\n UserAddress userAddress = ORMHandler.resultSetToUserAddress(resultSet);\\n userAddress.setAddress(ORMHandler.resultSetToAddress(resultSet));\\n \\n // -2.3- Get MarketProduct list \\n productList = new ArrayList<>();\\n do{\\n MarketProduct product = ORMHandler.resultSetToProduct(resultSet);\\n productList.add(product);\\n }while(resultSet.next());\\n \\n // -2.4- Set \\n order.setUserAddress(userAddress);\\n order.setUser(user);\\n order.setProductList(productList);\\n \\n return Result.SUCCESS.setContent(order);\\n }else{\\n return Result.SUCCESS_EMPTY;\\n } \\n\\n } catch (SQLException ex) { \\n return Result.FAILURE_DB.setContent(ex.getMessage());\\n }finally{\\n mysql.closeAllConnection();\\n } \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"04d8158d15f36a3dde1585193e7fa519\",\n \"score\": \"0.4489855\",\n \"text\": \"public void updateEntity2(Entity2 entity2) throws DaoException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3d1a7897912b1028054d3c6ee2b4e03c\",\n \"score\": \"0.4489385\",\n \"text\": \"@Override\\n\\tpublic void saveWorkout(Workout theWorkout) {\\n\\t\\tSession currentSession = sessionFactory.getCurrentSession();\\n\\t\\t\\n\\t\\t// save/upate the Workout\\n\\t\\tcurrentSession.saveOrUpdate(theWorkout);\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f8d4aad1d621e6745ec7564d98b06e2f\",\n \"score\": \"0.44807065\",\n \"text\": \"@Override\\n\\tpublic void write(WorkVO workVO) {\\n\\t\\tworkMapper.write(workVO);\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cab08cf20d608e662b008d0be0808a0b\",\n \"score\": \"0.44751424\",\n \"text\": \"@Override\\r\\n\\tpublic void saveJoOrder(JoOrder joOrder){\\n\\t\\tString headerId = Tools.getUUID();\\r\\n\\t\\tjoOrder.getJoHeader().setHeaderId(headerId);\\r\\n\\t\\tbaseDao.save(joOrder.getJoHeader());\\r\\n\\t\\tfor(JoLine joLine : joOrder.getJoLineList()){\\r\\n\\t\\t\\tjoLine.setLineId(Tools.getUUID());\\r\\n\\t\\t\\tjoLine.setHeaderId(headerId);\\r\\n\\t\\t\\tjoLineDao.save(joLine);\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4dd9f2e1a9d2009b4d0aa2bfe63676a1\",\n \"score\": \"0.44688633\",\n \"text\": \"void generateTravelOrderCode(AbstractOrderModel orderModel);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d4a7ae40cc2ee1227c4b81dbc1651f2b\",\n \"score\": \"0.44653627\",\n \"text\": \"public void setOrder(List order) {\\n this.order = order;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"65a3e26d464b63d5634ed44eff30af0a\",\n \"score\": \"0.4456589\",\n \"text\": \"@Mapper\\npublic interface OrderMapper {\\n @Insert(\\\" insert into t_order (order_id, order_type, city_id, \\\\n\\\" +\\n \\\" platform_id, user_id, supplier_id, \\\\n\\\" +\\n \\\" goods_id, order_status, remark, \\\\n\\\" +\\n \\\" create_by, create_time, update_by, \\\\n\\\" +\\n \\\" update_time)\\\\n\\\" +\\n \\\" values (#{orderId}, #{orderType}, #{cityId}, \\\\n\\\" +\\n \\\" #{platformId}, #{userId}, #{supplierId}, \\\\n\\\" +\\n \\\" #{goodsId}, #{orderStatus}, #{remark}, \\\\n\\\" +\\n \\\" #{createBy}, #{createTime}, #{updateBy}, \\\\n\\\" +\\n \\\" #{updateTime})\\\")\\n /**\\n * statement=\\\"\\\":表示定义的子查询语句\\n * before=true:表示在之前执行,booler类型的,所以为true\\n * keyColumn=\\\"myNo\\\":表示查询所返回的类名\\n * resultType=int.class:表示返回值得类型\\n * keyProperty=\\\"empNo\\\" :表示将该查询的属性设置到某个列中,此处设置到empNo中\\n * //进行添加、修改等操作的时候只能返回数字,而不能返回java类或其他!\\n * // SELECT LAST_INSERT_ID() 适合那种主键是自增的类型\\n * // 1 insert语句需要写id字段了,并且 values里面也不能省略\\n * // 2 selectKey 的order属性需要写成BEFORE 因为这样才能将生成的uuid主键放入到model中,\\n * // 这样后面的insert的values里面的id才不会获取为空\\n * // 跟自增主键相比就这点区别,当然了这里的获取主键id的方式为 select uuid()\\n */\\n @SelectKey(keyColumn = \\\"id\\\", keyProperty = \\\"id\\\", resultType = long.class, before = false, statement = \\\"select last_insert_id()\\\")\\n long insertSelective(Order record);\\n\\n @Update(\\\"update t_order set order_status=#{status},update_by=#{updateBy},update_time=#{updateTime} where order_id=#{orderId}\\\")\\n int updateOrderStatus(@Param(\\\"orderId\\\") String orderId, @Param(\\\"status\\\") String status, @Param(\\\"updateBy\\\") String updateBy, @Param(\\\"updateTime\\\") Date updateTime);\\n\\n @Select(\\\"select *from t_order\\\\n\\\" +\\n \\\" where order_id = #{orderId}\\\")\\n Order selectByPrimaryKey(String orderId);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5834fb7fb7c161f7e2420850c366775d\",\n \"score\": \"0.4451234\",\n \"text\": \"public void setOrderno(String orderno) {\\n this.orderno = orderno;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"735e06cd1a9648084a3a03480617b7d5\",\n \"score\": \"0.44368455\",\n \"text\": \"public void addOrder(Order o) throws SQLException\\r\\n {\\r\\n String sqlQuery = \\r\\n \\\"INSERT INTO orders (custname, tablenumber, foodname, beveragename, served, billed) VALUES (\\\" +\\r\\n \\\"'\\\" + o.getCustomerName() + \\\"', \\\" + \\r\\n o.getTable() + \\\", \\\" + \\r\\n \\\"'\\\" + o.getFood() + \\\"', \\\" +\\r\\n \\\"'\\\" + o.getBeverage() + \\\"', \\\" + \\r\\n o.isServed() + \\\", \\\" +\\r\\n o.isBilled() + \\\")\\\";\\r\\n myStmt.executeUpdate(sqlQuery);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fce6f8a81bc7dc8756a5da261a6ae61e\",\n \"score\": \"0.4433034\",\n \"text\": \"public Timestamp getHC_WorkEndDate();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"22d5cd67c099cb01a05af25aa2ec7adf\",\n \"score\": \"0.44225648\",\n \"text\": \"@Mapper\\n@Repository\\npublic interface OrderDAO {\\n\\n @Insert(\\\"insert into order_one values(#{order.id},#{order.number},#{order.name})\\\")\\n int insert(@Param(\\\"order\\\") Order order);\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"92de98e47448a06a2e5a02c63e06e077\",\n \"score\": \"0.44215724\",\n \"text\": \"@NotNull\\n public Order doSave(@NotNull Order o) {\\n try {\\n Connection cn = ConPool.getConnection();\\n PreparedStatement st;\\n if (o.getOperator() != null) {\\n if (o.getId() < 1) {\\n st = cn.prepareStatement(\\n \\\"INSERT INTO `order` (user, totalPrice, \\\"\\n + \\\"numberOfProduct, date, operator) values (?,?,?,?,?);\\\",\\n Statement.RETURN_GENERATED_KEYS\\n );\\n st.setString(1, o.getUser().getUsername());\\n st.setDouble(2, o.getTotPrice());\\n st.setInt(3, o.getNumberOfItems());\\n st.setString(4, o.getData());\\n st.setString(5, o.getOperator().getUsername());\\n } else {\\n st = cn.prepareStatement(\\\"INSERT INTO `order`( user, id,\\\"\\n + \\\" totalprice, numberOfProduct, date, operator)\\\"\\n + \\\" values (?,?,?,?,?,?);\\\");\\n st.setString(1, o.getUser().getUsername());\\n st.setInt(2, o.getId());\\n st.setDouble(3, o.getTotPrice());\\n st.setInt(4, o.getNumberOfItems());\\n st.setString(5, o.getData());\\n st.setString(6, o.getOperator().getUsername());\\n }\\n } else {\\n if (o.getId() < 1) {\\n st = cn.prepareStatement(\\n \\\"INSERT INTO `order` (user, totalPrice, \\\"\\n + \\\"numberOfProduct, date) values (?,?,?,?);\\\",\\n Statement.RETURN_GENERATED_KEYS\\n );\\n st.setString(1, o.getUser().getUsername());\\n st.setDouble(2, o.getTotPrice());\\n st.setInt(3, o.getNumberOfItems());\\n st.setString(4, o.getData());\\n } else {\\n st = cn.prepareStatement(\\\"INSERT INTO `order`( user, id,\\\"\\n + \\\" totalprice, numberOfProduct, date)\\\"\\n + \\\" values (?,?,?,?,?);\\\");\\n st.setString(1, o.getUser().getUsername());\\n st.setInt(2, o.getId());\\n st.setDouble(3, o.getTotPrice());\\n st.setInt(4, o.getNumberOfItems());\\n st.setString(5, o.getData());\\n }\\n }\\n\\n st.executeUpdate();\\n if (o.getId() < 1) {\\n ResultSet rs = st.getGeneratedKeys();\\n rs.next();\\n o.setId(rs.getInt(1));\\n }\\n for (Product p : o.getAllProducts()) {\\n if (p instanceof DigitalProduct) {\\n st = cn.prepareStatement(\\n \\\"INSERT INTO digitalpurchasing (digitalProduct, `order`, quantity) \\\"\\n + \\\"VALUES (?,?, ?);\\\");\\n st.setInt(1, p.getId());\\n st.setInt(2, o.getId());\\n st.setInt(3, o.getQuantitySingleProduct(p.getId(), p.getClass()));\\n\\n if (st.executeUpdate() != 1) {\\n throw new RuntimeException(\\\"INSERT error.\\\");\\n }\\n } else if (p instanceof PhysicalProduct) {\\n st = cn.prepareStatement(\\n \\\"INSERT INTO physicalpurchasing (physicalProduct, `order`, quantity) \\\"\\n + \\\"VALUES (?,?, ?);\\\");\\n st.setInt(1, p.getId());\\n st.setInt(2, o.getId());\\n st.setInt(3, o.getQuantitySingleProduct(p.getId(), p.getClass()));\\n if (st.executeUpdate() != 1) {\\n throw new RuntimeException(\\\"INSERT error.\\\");\\n }\\n }\\n }\\n st.close();\\n cn.close();\\n return o;\\n } catch (SQLException e) {\\n throw new RuntimeException(e);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4b9d0642ad328e517c584303698ad9d3\",\n \"score\": \"0.44199044\",\n \"text\": \"public void setOrderNo(Short orderNo) {\\n this.orderNo = orderNo;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c3d7a65efb6ee1a7afdf04019ebe45e8\",\n \"score\": \"0.44168076\",\n \"text\": \"public boolean getOrder2(IncomeInputvo iivo) {\\n\\t\\tSystem.out.println(\\\"ssss\\\");\\n\\n\\t\\t FinancialmanService cs = new SettlementListIO();\\n try {\\n\\n \\tif(cs.writeOrder2(new IncomeInputpo(iivo)))\\n \\t\\tHostLog.addMes(\\\"写入结算清单\\\"+\\\"\\\\n\\\");\\n\\t\\t\\t\\t\\treturn true;\\n\\t\\t\\t} catch (Exception e) {\\n\\t\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t}\\n return false;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d04822099a7958006f160af78af9e44\",\n \"score\": \"0.4412415\",\n \"text\": \"@RequiresIdFrom(type = Governor.class)\\n\\t@Override\\n\\tpublic String dataRow()\\n\\t{\\n\\t\\treturn String.format(\\\"%d,%s\\\", first, second.getSqlId());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e49848c5e480790c84cfd130235a4369\",\n \"score\": \"0.44117737\",\n \"text\": \"public interface BugPlatformMapper {\\n\\n\\n @Select(\\\"SELECT js.pname as bugResolutionStatus, COUNT(js.pname) as bugNum FROM jiraissue ji INNER JOIN project pr ON pr.ID = ji.PROJECT LEFT JOIN issuestatus js ON ji.issuestatus = js.ID where pr.ID in (#{2}) and issuetype = 1 AND CREATED between #{0} and #{1} group by js.pname\\\")\\n List getList(String startDate,String endDate,String project);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"033a908e2f4e5e4eebd4138c42a5582f\",\n \"score\": \"0.4402824\",\n \"text\": \"public String getBuild2Number() {\\n\\t\\treturn \\\"\\\"+nb_build2;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d829a7ab83519631c85d3542c00f3ea3\",\n \"score\": \"0.44021514\",\n \"text\": \"public int addOrder(Order order, int diff) throws Exception, SQLException {\\n PreparedStatement ps = conn.prepareStatement(\\\"insert into orders(status, cid, total, createdate) values(?,?,?,NOW())\\\", Statement.RETURN_GENERATED_KEYS);\\n ps.setInt(1, order.getStatus());\\n ps.setInt(2, order.getCid());\\n ps.setFloat(3, order.getTotal());\\n //ps.setInt(4, diff);\\n int rows = ps.executeUpdate();\\n if (rows == 1) {\\n ResultSet rs = ps.getGeneratedKeys();\\n rs.next();\\n ps = conn.prepareStatement(\\\"update orders set shipdate = DATE_ADD(NOW(), INTERVAL ? HOUR) where oid = ?\\\");\\n ps.setInt(1, diff);\\n ps.setInt(2, rs.getInt(1));\\n ps.executeUpdate();\\n return rs.getInt(1);\\n }\\n throw new Exception(\\\"order id mismatch\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ebbeebdb90e5a6e0d27b45718311fa9d\",\n \"score\": \"0.4402023\",\n \"text\": \"public void setOrder(int order) {\\n this.order = order;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ebbeebdb90e5a6e0d27b45718311fa9d\",\n \"score\": \"0.4402023\",\n \"text\": \"public void setOrder(int order) {\\n this.order = order;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4703b932038549c158c12d9f31aaa960\",\n \"score\": \"0.43993598\",\n \"text\": \"public String getId2() {\\n return id2;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f3d5043c12275102c502eb796af0ccf7\",\n \"score\": \"0.439874\",\n \"text\": \"public Long getOrderNo () {\\r\\n\\t\\treturn orderNo;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b22f01e63fa5fbe53bfff1e2d2db9af0\",\n \"score\": \"0.43979892\",\n \"text\": \"public int getAccount2() // getAccount2 method start\\n\\t\\t{\\n\\t\\t\\tif (increasing)\\n\\t\\t\\t{\\n\\t\\t\\t\\treturn convertIncreasingName(creditBox2.getSelectedIndex());\\n\\t\\t\\t} // end if\\n\\t\\t\\telse\\n\\t\\t\\t{\\n\\t\\t\\t\\treturn convertDecreasingName(creditBox2.getSelectedIndex());\\n\\t\\t\\t} // end else\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"38f4308d7115693312fc1724e170f9eb\",\n \"score\": \"0.43956006\",\n \"text\": \"@Override\\r\\npublic List selectUnfinishedSaleOrderList() {\\n\\t\\treturn OrderInfoMapper.selectUnfinishedSaleOrderList();\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e12abfdcc2b981b299ee0441df7615e8\",\n \"score\": \"0.4394528\",\n \"text\": \"@Override\\n\\tpublic void updateOrderQrCode(WxOrder order) {\\n\\t\\torderMapper.updateOrderQrCode(order);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a74f3eb62c1b445c4a72ba883ef533f2\",\n \"score\": \"0.43928924\",\n \"text\": \"public void setOrder(Order order){\\n this.order = order;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a6c9186e5b6325a08dbe13c78c532f06\",\n \"score\": \"0.43921313\",\n \"text\": \"public ProfileWorkexpDao() {\\n super(ProfileWorkexp.PROFILE_WORKEXP, com.moseeker.baseorm.db.profiledb.tables.pojos.ProfileWorkexp.class);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b76eb9aef4495e6305239ff9b568bbe3\",\n \"score\": \"0.43866548\",\n \"text\": \"@Override\\n\\tpublic TwoInOneWaybillDto queryWaybillRelateByWaybillOrOrderNo(\\n\\t\\t\\tString waybillNo) {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"72f991e3534443772b8866f81eab4445\",\n \"score\": \"0.43854973\",\n \"text\": \"public int saveH2() {\\n\\t\\tint result = 0;\\n\\n\\t\\ttry {\\n\\t\\t\\tmanager = Connection.connectToH2();\\n\\n\\t\\t\\tif (this.id > 0) {\\n\\t\\t\\t\\t// UPDATE\\n\\t\\t\\t\\tmanager.getTransaction().begin();\\n\\t\\t\\t\\tresult=manager.createNativeQuery(\\\"UPDATE Cancion SET nombre = ?, duracion = ?, id_disco = ? WHERE id = ?\\\")\\n\\t\\t\\t\\t\\t\\t.setParameter(1, this.nombre)\\n\\t\\t\\t\\t\\t\\t.setParameter(2, this.duracion)\\n\\t\\t\\t\\t\\t\\t.setParameter(3, this.disco_contenedor.id)\\n\\t\\t\\t\\t\\t\\t.setParameter(4, this.id)\\n\\t\\t\\t\\t\\t\\t.executeUpdate();\\n\\t\\t\\t\\tmanager.getTransaction().commit();\\n\\t\\t\\t} else {\\n\\t\\t\\t\\t// INSERT\\n\\t\\t\\t\\tmanager.getTransaction().begin();\\n\\t\\t\\t\\tresult=manager.createNativeQuery(\\\"INSERT INTO Cancion (nombre,duracion,id_disco) VALUES (?,?,?)\\\")\\n\\t\\t\\t\\t\\t\\t.setParameter(1, this.nombre)\\n\\t\\t\\t\\t\\t\\t.setParameter(2, this.duracion)\\n\\t\\t\\t\\t\\t\\t.setParameter(3, this.disco_contenedor.id)\\n\\t\\t\\t\\t\\t\\t.executeUpdate();\\n\\t\\t\\t\\tmanager.getTransaction().commit();\\n\\t\\t\\t}\\n\\n\\t\\t} catch (Exception ex) {\\n\\t\\t\\tSystem.out.println(ex);\\n\\t\\t}\\n\\n\\t\\treturn result;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b917a65748d3449cf5ece8862b846467\",\n \"score\": \"0.43846506\",\n \"text\": \"@VTID(10)\\r\\n int getOrder();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"06b7619403c2da285e4af70b811b26fa\",\n \"score\": \"0.4383772\",\n \"text\": \"public int getAccount2() // getAccount2 method start\\n\\t\\t{\\n\\t\\t\\tif (accounts[debitBox1.getSelectedIndex() - 1].getStatus())\\n\\t\\t\\t{\\n\\t\\t\\t\\treturn convertIncreasingName(debitBox2.getSelectedIndex());\\n\\t\\t\\t} // end if\\n\\t\\t\\telse\\n\\t\\t\\t{\\n\\t\\t\\t\\treturn convertDecreasingName(debitBox2.getSelectedIndex());\\n\\t\\t\\t} // end else\\n\\t\\t\\t\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c1eec888982a8c85e0cfde8900aadcbc\",\n \"score\": \"0.43826213\",\n \"text\": \"@Override\\n\\tpublic OmsOrderEntity queryOmsOrderByWaybillNo(String waybillNo) {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d922ee7f245b21fd03aad0966a5a6a36\",\n \"score\": \"0.43815702\",\n \"text\": \"@Override\\n\\tpublic List queryStockByWaybillNo(String originalWaybillNo) {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dfb2b3394c94a7bbd79f01a6e06b9077\",\n \"score\": \"0.43717587\",\n \"text\": \"public interface YaOrderRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a9af2018318d04daa4f384a912d883ef\",\n \"score\": \"0.43698505\",\n \"text\": \"public void setCustomID2(String customID2) {\\n\\t\\tCUSTOM_ID2 = customID2;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"efa61035663052853eb6e8fdd9a02312\",\n \"score\": \"0.43671757\",\n \"text\": \"public int placeOrder(Order order, String cust_no, Connection conn) {\\r\\n\\t\\ttry {\\r\\n\\t\\t\\tint item_no=0;\\r\\n\\t\\t\\tArrayList item_collection = new ArrayList();\\r\\n\\t\\t\\titem_collection = order.getItemCollection(); \\r\\n\\t\\t\\tfor(Item i : item_collection)\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tSystem.out.println(i);\\r\\n\\t\\t\\t\\titem_no = i.getItemNo();\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\tint order_no = 0;\\r\\n\\t\\t\\tStatement stmt = conn.createStatement();\\r\\n\\t\\t\\tResultSet rset = stmt.executeQuery(\\\"select max(orderno) from order_XXXX\\\");\\r\\n\\t\\t\\twhile (rset.next()) {\\r\\n\\t\\t\\t\\torder_no = rset.getInt(1);\\r\\n\\t\\t\\t\\torder_no++;\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\tPreparedStatement pstmt = conn\\r\\n\\t\\t\\t\\t\\t.prepareStatement(\\\"insert into order_XXXX(orderno,item_no,ord_qty,custno) values(?,?,?,?)\\\");\\r\\n\\t\\t\\tpstmt.setInt(1, order_no);\\r\\n\\t\\t\\tpstmt.setInt(2, item_no);\\r\\n\\t\\t\\tpstmt.setInt(3, order.getOrderQty());\\r\\n\\t\\t\\tpstmt.setString(4, cust_no);\\r\\n\\t\\t\\tint count = pstmt.executeUpdate();\\r\\n\\t\\t\\tPreparedStatement pstmt1 = conn.prepareStatement(\\\"update item_XXXX set qty=qty-? where item_no = ?\\\");\\r\\n\\t\\t\\tpstmt1.setInt(1, order.getOrderQty());\\r\\n\\t\\t\\tpstmt1.setInt(2, item_no);\\r\\n\\t\\t\\tpstmt1.executeUpdate();\\r\\n\\t\\t\\treturn count;\\r\\n\\t\\t} catch (SQLException e) {\\r\\n\\t\\t\\te.printStackTrace();\\r\\n\\t\\t}\\r\\n\\t\\treturn 0;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2eecac524d95e7621c33a5e9bf2b342\",\n \"score\": \"0.43659174\",\n \"text\": \"public void setCronopElemDesc2(String cronopElemDesc2) {\\n\\t\\tthis.cronopElemDesc2 = cronopElemDesc2;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a834511ccae7be0a6dedd797821d602b\",\n \"score\": \"0.4364421\",\n \"text\": \"private org.gwtbootstrap3.client.ui.Column get_f_Column2() {\\n return build_f_Column2();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d7e4b0d2cf589dd1d2f1586d3bec5b58\",\n \"score\": \"0.4364139\",\n \"text\": \"@Override\\n\\tpublic void getSpecificOrders() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d7e4b0d2cf589dd1d2f1586d3bec5b58\",\n \"score\": \"0.4364139\",\n \"text\": \"@Override\\n\\tpublic void getSpecificOrders() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4aac0a3ee085ebe06902f746cc0a7b28\",\n \"score\": \"0.43628314\",\n \"text\": \"public Integer getWishPosTypeid2() {\\n return wishPosTypeid2;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3d1acf88953ee44557534a9cee1c57e5\",\n \"score\": \"0.4362134\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void worked(int work) {\\n\\t\\t\\t\\t\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d70a2d6708cbd3e31202ea953340c19d\",\n \"score\": \"0.4361375\",\n \"text\": \"protected void updateOrder(JdbcTemplate dataConnection,OrderTransactionIfc orderTransaction)\\n throws DataException\\n {\\n // get an sql object\\n SQLUpdateStatement sql = new SQLUpdateStatement();\\n\\n // Table\\n sql.setTable(ARTSDatabaseIfc.TABLE_ORDER);\\n\\n // add update columns\\n addUpdateColumns(sql,\\n orderTransaction);\\n\\n // add update qualifier\\n addUpdateQualifiers(sql,\\n \\t\\torderTransaction);\\n\\n try\\n {\\n dataConnection.execute(sql.getSQLString());\\n }\\n catch (DataException de)\\n {\\n logger.error( \\\"\\\" + de + \\\"\\\");\\n throw de;\\n }\\n catch (Exception e)\\n {\\n logger.error( \\\"\\\" + Util.throwableToString(e) + \\\"\\\");\\n throw new DataException(DataException.UNKNOWN, \\\"updateOrder\\\", e);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d0582f0e0e9efb1dfe47b183998f7fda\",\n \"score\": \"0.43570176\",\n \"text\": \"public void setOrder(String Order) {\\n this.Order = Order;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6263332f011302d991c5993508bac8ea\",\n \"score\": \"0.4350909\",\n \"text\": \"public void setOrder(Integer order) {\\n this.order = order;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6263332f011302d991c5993508bac8ea\",\n \"score\": \"0.4350909\",\n \"text\": \"public void setOrder(Integer order) {\\n this.order = order;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4f22edff54ec2aadda50233598820578\",\n \"score\": \"0.4350125\",\n \"text\": \"@Override\\r\\n\\tpublic void Update(Order order) {\\n\\t\\tem.merge(order);\\r\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d44015d2dd9ffe2971a72249aa0e4c41\",\n \"score\": \"0.4341047\",\n \"text\": \"@Insert({\\n \\\"insert into SALEORDERDETAIL (SOID, LINENO, \\\",\\n \\\"MID, MNAME, STANDARD, \\\",\\n \\\"UNITID, UNITNAME, \\\",\\n \\\"NUM, BEFOREDISCOUNT, \\\",\\n \\\"DISCOUNT, PRICE, \\\",\\n \\\"TOTALPRICE, TAXRATE, \\\",\\n \\\"TOTALTAX, TOTALMONEY, \\\",\\n \\\"BEFOREOUT, ESTIMATEDATE, \\\",\\n \\\"LEFTNUM, ISGIFT, \\\",\\n \\\"FROMBILLTYPE, FROMBILLID)\\\",\\n \\\"values (#{soid,jdbcType=VARCHAR}, #{lineno,jdbcType=DECIMAL}, \\\",\\n \\\"#{mid,jdbcType=VARCHAR}, #{mname,jdbcType=VARCHAR}, #{standard,jdbcType=VARCHAR}, \\\",\\n \\\"#{unitid,jdbcType=VARCHAR}, #{unitname,jdbcType=VARCHAR}, \\\",\\n \\\"#{num,jdbcType=DECIMAL}, #{beforediscount,jdbcType=DECIMAL}, \\\",\\n \\\"#{discount,jdbcType=DECIMAL}, #{price,jdbcType=DECIMAL}, \\\",\\n \\\"#{totalprice,jdbcType=DECIMAL}, #{taxrate,jdbcType=DECIMAL}, \\\",\\n \\\"#{totaltax,jdbcType=DECIMAL}, #{totalmoney,jdbcType=DECIMAL}, \\\",\\n \\\"#{beforeout,jdbcType=DECIMAL}, #{estimatedate,jdbcType=TIMESTAMP}, \\\",\\n \\\"#{leftnum,jdbcType=DECIMAL}, #{isgift,jdbcType=DECIMAL}, \\\",\\n \\\"#{frombilltype,jdbcType=DECIMAL}, #{frombillid,jdbcType=VARCHAR})\\\"\\n })\\n int insert(Saleorderdetail record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"55a1ac40dfabc1d0cfbf9d3ccf3f503d\",\n \"score\": \"0.43368006\",\n \"text\": \"List selectByExample(Table2Example example);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fb766f114854f215ddcf8984237c20a7\",\n \"score\": \"0.43361884\",\n \"text\": \"public void setOrderSn(String orderSn) {\\n this.orderSn = orderSn;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4abdb4394b2bbe73d2fadbcc67756814\",\n \"score\": \"0.43326223\",\n \"text\": \"@Override\\n\\tpublic void update(HongXunWorkNum hongXunWorkNum) {\\n\\t\\tgetHibernateTemplate().update(hongXunWorkNum);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"62a6f360c03b1682b31a7d223b02907f\",\n \"score\": \"0.4330776\",\n \"text\": \"@Override\\n\\tpublic List list2() {\\n\\t\\tList list2 =bookDAO.list2();\\n\\t\\treturn list2;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"88bdcf1d6da04454fe03c2f1c74ee641\",\n \"score\": \"0.43297362\",\n \"text\": \"@Test\\n @Tag(\\\"CREATE\\\")\\n @Tag(\\\"RESOURCE\\\")\\n @DisplayName(\\\"Test Insert SB Customer 08 and SB Order 04\\\")\\n public void testHibernateSaveCustomer08AndOrder04()\\n {\\n System.out.println(\\\"Programme Start\\\");\\n long startTime = System.nanoTime();\\n\\n SBAddressVal01 addressVal01 = SBAddressVal01.of(\\n \\\"Kusumarama Road\\\",\\n \\\"Seenigama\\\",\\n \\\"Hikkaduwa\\\",\\n \\\"Sri Lanka\\\",\\n \\\"292000\\\"\\n );\\n\\n SBCustomerOrder04 order01 = new SBCustomerOrder04();\\n order01.setCustomerOrder04InvoiceNumber(\\\"IN0000001\\\");\\n order01.setCustomerOrder04DateTime(new Timestamp(new java.util.Date().getTime()));\\n order01.setCustomerOrder04Total(2024.50);\\n order01.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\\n order01.setRawLastUpdateLogId(1);\\n order01.setUpdateUserAccountId(1);\\n order01.setRawActiveStatus(1);\\n order01.setRawDeleteStatus(1);\\n order01.setRawShowStatus(1);\\n order01.setRawUpdateStatus(1);\\n\\n SBCustomerOrder04 order02 = new SBCustomerOrder04();\\n order02.setCustomerOrder04InvoiceNumber(\\\"IN0000002\\\");\\n order02.setCustomerOrder04DateTime(new Timestamp(new java.util.Date().getTime()));\\n order02.setCustomerOrder04Total(1024.50);\\n order02.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\\n order02.setRawLastUpdateLogId(1);\\n order02.setUpdateUserAccountId(1);\\n order02.setRawActiveStatus(1);\\n order02.setRawDeleteStatus(1);\\n order02.setRawShowStatus(1);\\n order02.setRawUpdateStatus(1);\\n\\n SBCustomerOrder04 order03 = new SBCustomerOrder04();\\n order03.setCustomerOrder04InvoiceNumber(\\\"IN0000003\\\");\\n order03.setCustomerOrder04DateTime(new Timestamp(new java.util.Date().getTime()));\\n order03.setCustomerOrder04Total(3024.50);\\n order03.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\\n order03.setRawLastUpdateLogId(1);\\n order03.setUpdateUserAccountId(1);\\n order03.setRawActiveStatus(1);\\n order03.setRawDeleteStatus(1);\\n order03.setRawShowStatus(1);\\n order03.setRawUpdateStatus(1);\\n\\n SBCustomerOrder04 order04 = new SBCustomerOrder04();\\n order04.setCustomerOrder04InvoiceNumber(\\\"IN0000004\\\");\\n order04.setCustomerOrder04DateTime(new Timestamp(new java.util.Date().getTime()));\\n order04.setCustomerOrder04Total(5024.50);\\n order04.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\\n order04.setRawLastUpdateLogId(1);\\n order04.setUpdateUserAccountId(1);\\n order04.setRawActiveStatus(1);\\n order04.setRawDeleteStatus(1);\\n order04.setRawShowStatus(1);\\n order04.setRawUpdateStatus(1);\\n\\n SBCustomer08 sbCustomer08 = new SBCustomer08();\\n\\n sbCustomer08.getCustomer08Orders().add(order01);\\n sbCustomer08.getCustomer08Orders().add(order02);\\n sbCustomer08.getCustomer08Orders().add(order03);\\n sbCustomer08.getCustomer08Orders().add(order04);\\n\\n sbCustomer08.setCustomer08Email(\\\"umesh@slmora.com\\\");\\n sbCustomer08.setCustomer08Sex(\\\"Male\\\");\\n sbCustomer08.setCustomer08FirstName(\\\"Umesh\\\");\\n sbCustomer08.setCustomer08LastName(\\\"Gunasekara\\\");\\n sbCustomer08.setCustomer08Nic(\\\"901521344V\\\");\\n sbCustomer08.setCustomer08Mobile(\\\"0711233000\\\");\\n try {\\n sbCustomer08.setCustomer08Birthday(new SimpleDateFormat(\\\"dd/MM/yyyy\\\").parse(\\\"31/05/1990\\\"));\\n } catch (ParseException e) {\\n LOGGER.error(ExceptionUtils.getFullStackTrace(e));\\n e.printStackTrace();\\n }\\n sbCustomer08.setCustomer08Address(addressVal01);\\n sbCustomer08.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\\n sbCustomer08.setRawLastUpdateLogId(1);\\n sbCustomer08.setUpdateUserAccountId(1);\\n sbCustomer08.setRawActiveStatus(1);\\n sbCustomer08.setRawDeleteStatus(1);\\n sbCustomer08.setRawShowStatus(1);\\n sbCustomer08.setRawUpdateStatus(1);\\n\\n Transaction transaction = null;\\n try (Session session = HibernateUtil.getSessionFactory().openSession();) {\\n transaction = session.beginTransaction();\\n session.save(sbCustomer08);\\n session.save(order01);\\n session.save(order02);\\n session.save(order03);\\n session.save(order04);\\n transaction.commit();\\n System.out.println(\\\"Added Customer 03: \\\" + sbCustomer08.getCustomer08FirstName());\\n } catch (Throwable throwable) {\\n if (transaction != null) {\\n transaction.rollback();\\n }\\n LOGGER.error(ExceptionUtils.getFullStackTrace(throwable));\\n throwable.printStackTrace();\\n }\\n long endTime = System.nanoTime();\\n ELAPSED_TIME = endTime - startTime;\\n System.out.println(\\\"Programme End\\\");\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"823c1387ac397ad5b8139512eb61ee88\",\n \"score\": \"0.4325617\",\n \"text\": \"@Query(\\\"select d from DeliveryBoy d join DeliveryBoyCurrentStatus dbcs on d.id=dbcs.deliveryBoy.id join UserLogin ul on d.id=ul.entityId join DeviceDetail dd on ul.id=dd.userLogin.id where dbcs.isLogin='true' and dbcs.isAvailable='true' and dbcs.isBusy='false' and d.id not in (select COALESCE(dbsh.deliveryBoy.id,0) from DeliveryBoySendNotificationHistory dbsh where dbsh.orderId=:orderId) and ul.entityType='DELIVERY_BOY'\\\")\\n\\tList getAllNextAvailableDeliveryBoys(Long orderId);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae33bf1338178c1b378cca4d60e82304\",\n \"score\": \"0.43250158\",\n \"text\": \"public interface CrmDmDbsBmsMapper {\\n public static String TABLENAME = \\\"crm_dm_bds_bms\\\";\\n @Select(\\\"select * from \\\"+TABLENAME+\\\" WHERE staff_city_id=#{cityId, jdbcType=BIGINT} limit 10 \\\")\\n @Results({\\n @Result(column=\\\"id\\\", property=\\\"id\\\", jdbcType= JdbcType.BIGINT, id=true),\\n @Result(column=\\\"Saler_id\\\", property=\\\"salerId\\\", jdbcType= JdbcType.BIGINT),\\n @Result(column=\\\"Saler_name\\\", property=\\\"salerName\\\", jdbcType= JdbcType.BIGINT)\\n })\\n public List findSalerListByCityId(@Param(\\\"cityId\\\") Long cityId);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e1b607a9fdf6b9652db31479a73421e\",\n \"score\": \"0.43245998\",\n \"text\": \"@Select({\\n \\\"select\\\",\\n \\\"JNLNO, TRANDATE, ACCOUNTDATE, CHECKTYPE, STATUS, DONETIME, FILENAME\\\",\\n \\\"from B_UMB_CHECKING_LOG\\\",\\n \\\"where JNLNO = #{jnlno,jdbcType=VARCHAR}\\\"\\n })\\n @Results({\\n @Result(column=\\\"JNLNO\\\", property=\\\"jnlno\\\", jdbcType=JdbcType.VARCHAR, id=true),\\n @Result(column=\\\"TRANDATE\\\", property=\\\"trandate\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"ACCOUNTDATE\\\", property=\\\"accountdate\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"CHECKTYPE\\\", property=\\\"checktype\\\", jdbcType=JdbcType.CHAR),\\n @Result(column=\\\"STATUS\\\", property=\\\"status\\\", jdbcType=JdbcType.CHAR),\\n @Result(column=\\\"DONETIME\\\", property=\\\"donetime\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"FILENAME\\\", property=\\\"filename\\\", jdbcType=JdbcType.VARCHAR)\\n })\\n BUMBCheckingLog selectByPrimaryKey(BUMBCheckingLogKey key);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"957a78caadc6259828289d91812ea9a9\",\n \"score\": \"0.43242985\",\n \"text\": \"public void addOrder(Order o) {\\n medOrder.add(o);\\n //System.out.println(\\\"in adding order\\\");\\n for(OrderItem oi: o.getOrderItemList())\\n {\\n MedicineProduct p=oi.getProduct();\\n //System.out.println(\\\"in for oop produscts \\\"+p);\\n Medicine med = this.searchMedicine(p.getProdName());\\n if(med!=null){\\n int i = med.getAvailQuantity()+oi.getQuantity();\\n med.setAvailQuantity(i);\\n // System.out.println(\\\"in adding quntity \\\"+i);\\n \\n }\\n }\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"017306162d2674ab91ea52c3b2f8642d\",\n \"score\": \"0.43240657\",\n \"text\": \"public boolean importOrders(Workbook work, Map returnMap) {\\n\\t\\treturn false;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6dd2c912317fe9a9c6487a11ed8b89da\",\n \"score\": \"0.43157932\",\n \"text\": \"public void AddOrder(Shoporder model) {\\n\\t\\tmapper.AddOrder(model);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"34cca038d145a8ad7aa614ba37aa5669\",\n \"score\": \"0.43147394\",\n \"text\": \"@Test\\n @Tag(\\\"CREATE\\\")\\n @Tag(\\\"RESOURCE\\\")\\n @DisplayName(\\\"Test Insert SB Customer 07 and SB Order 04\\\")\\n public void testHibernateSaveCustomer07AndOrder04()\\n {\\n System.out.println(\\\"Programme Start\\\");\\n long startTime = System.nanoTime();\\n\\n SBAddressVal01 addressVal01 = SBAddressVal01.of(\\n \\\"Kusumarama Road\\\",\\n \\\"Seenigama\\\",\\n \\\"Hikkaduwa\\\",\\n \\\"Sri Lanka\\\",\\n \\\"292000\\\"\\n );\\n\\n SBCustomerOrder04 order01 = new SBCustomerOrder04();\\n order01.setCustomerOrder04InvoiceNumber(\\\"IN0000001\\\");\\n order01.setCustomerOrder04DateTime(new Timestamp(new java.util.Date().getTime()));\\n order01.setCustomerOrder04Total(2024.50);\\n order01.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\\n order01.setRawLastUpdateLogId(1);\\n order01.setUpdateUserAccountId(1);\\n order01.setRawActiveStatus(1);\\n order01.setRawDeleteStatus(1);\\n order01.setRawShowStatus(1);\\n order01.setRawUpdateStatus(1);\\n\\n SBCustomerOrder04 order02 = new SBCustomerOrder04();\\n order02.setCustomerOrder04InvoiceNumber(\\\"IN0000002\\\");\\n order02.setCustomerOrder04DateTime(new Timestamp(new java.util.Date().getTime()));\\n order02.setCustomerOrder04Total(1024.50);\\n order02.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\\n order02.setRawLastUpdateLogId(1);\\n order02.setUpdateUserAccountId(1);\\n order02.setRawActiveStatus(1);\\n order02.setRawDeleteStatus(1);\\n order02.setRawShowStatus(1);\\n order02.setRawUpdateStatus(1);\\n\\n SBCustomerOrder04 order03 = new SBCustomerOrder04();\\n order03.setCustomerOrder04InvoiceNumber(\\\"IN0000003\\\");\\n order03.setCustomerOrder04DateTime(new Timestamp(new java.util.Date().getTime()));\\n order03.setCustomerOrder04Total(3024.50);\\n order03.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\\n order03.setRawLastUpdateLogId(1);\\n order03.setUpdateUserAccountId(1);\\n order03.setRawActiveStatus(1);\\n order03.setRawDeleteStatus(1);\\n order03.setRawShowStatus(1);\\n order03.setRawUpdateStatus(1);\\n\\n SBCustomerOrder04 order04 = new SBCustomerOrder04();\\n order04.setCustomerOrder04InvoiceNumber(\\\"IN0000004\\\");\\n order04.setCustomerOrder04DateTime(new Timestamp(new java.util.Date().getTime()));\\n order04.setCustomerOrder04Total(5024.50);\\n order04.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\\n order04.setRawLastUpdateLogId(1);\\n order04.setUpdateUserAccountId(1);\\n order04.setRawActiveStatus(1);\\n order04.setRawDeleteStatus(1);\\n order04.setRawShowStatus(1);\\n order04.setRawUpdateStatus(1);\\n\\n SBCustomer07 sbCustomer07 = new SBCustomer07();\\n\\n sbCustomer07.getCustomer07Orders().add(order01);\\n sbCustomer07.getCustomer07Orders().add(order02);\\n sbCustomer07.getCustomer07Orders().add(order03);\\n sbCustomer07.getCustomer07Orders().add(order04);\\n\\n sbCustomer07.setCustomer07Email(\\\"umesh@slmora.com\\\");\\n sbCustomer07.setCustomer07Sex(\\\"Male\\\");\\n sbCustomer07.setCustomer07FirstName(\\\"Umesh\\\");\\n sbCustomer07.setCustomer07LastName(\\\"Gunasekara\\\");\\n sbCustomer07.setCustomer07Nic(\\\"901521344V\\\");\\n sbCustomer07.setCustomer07Mobile(\\\"0711233000\\\");\\n try {\\n sbCustomer07.setCustomer07Birthday(new SimpleDateFormat(\\\"dd/MM/yyyy\\\").parse(\\\"31/05/1990\\\"));\\n } catch (ParseException e) {\\n LOGGER.error(ExceptionUtils.getFullStackTrace(e));\\n e.printStackTrace();\\n }\\n sbCustomer07.setCustomer07Address(addressVal01);\\n sbCustomer07.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\\n sbCustomer07.setRawLastUpdateLogId(1);\\n sbCustomer07.setUpdateUserAccountId(1);\\n sbCustomer07.setRawActiveStatus(1);\\n sbCustomer07.setRawDeleteStatus(1);\\n sbCustomer07.setRawShowStatus(1);\\n sbCustomer07.setRawUpdateStatus(1);\\n\\n Transaction transaction = null;\\n try (Session session = HibernateUtil.getSessionFactory().openSession();) {\\n transaction = session.beginTransaction();\\n session.save(sbCustomer07);\\n session.save(order01);\\n session.save(order02);\\n session.save(order03);\\n session.save(order04);\\n transaction.commit();\\n System.out.println(\\\"Added Customer 03: \\\" + sbCustomer07.getCustomer07FirstName());\\n } catch (Throwable throwable) {\\n if (transaction != null) {\\n transaction.rollback();\\n }\\n LOGGER.error(ExceptionUtils.getFullStackTrace(throwable));\\n throwable.printStackTrace();\\n }\\n long endTime = System.nanoTime();\\n ELAPSED_TIME = endTime - startTime;\\n System.out.println(\\\"Programme End\\\");\\n\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":343,"cells":{"query_id":{"kind":"string","value":"c1d3c4171fbcf3a22ce67df6e006e739"},"query":{"kind":"string","value":"Creates new form NewJFrame"},"positive_passages":{"kind":"list like","value":[{"docid":"4d3753bdaffaacdb8bae5fb92b95fdac","score":"0.0","text":"public WidgetPractice() {\n initComponents();\n }","title":""}],"string":"[\n {\n \"docid\": \"4d3753bdaffaacdb8bae5fb92b95fdac\",\n \"score\": \"0.0\",\n \"text\": \"public WidgetPractice() {\\n initComponents();\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"0d65a329da521ad224e469bf4860f084","score":"0.7931828","text":"public NewJFrame() {\n initComponents();\n }","title":""},{"docid":"0d65a329da521ad224e469bf4860f084","score":"0.7931828","text":"public NewJFrame() {\n initComponents();\n }","title":""},{"docid":"0d65a329da521ad224e469bf4860f084","score":"0.7931828","text":"public NewJFrame() {\n initComponents();\n }","title":""},{"docid":"0d65a329da521ad224e469bf4860f084","score":"0.7931828","text":"public NewJFrame() {\n initComponents();\n }","title":""},{"docid":"0d65a329da521ad224e469bf4860f084","score":"0.7931828","text":"public NewJFrame() {\n initComponents();\n }","title":""},{"docid":"0d65a329da521ad224e469bf4860f084","score":"0.7931828","text":"public NewJFrame() {\n initComponents();\n }","title":""},{"docid":"0d65a329da521ad224e469bf4860f084","score":"0.7931828","text":"public NewJFrame() {\n initComponents();\n }","title":""},{"docid":"0d65a329da521ad224e469bf4860f084","score":"0.7931828","text":"public NewJFrame() {\n initComponents();\n }","title":""},{"docid":"0d65a329da521ad224e469bf4860f084","score":"0.7931828","text":"public NewJFrame() {\n initComponents();\n }","title":""},{"docid":"0c6d4de07d5d7d1c5c8e9b0c787bf8de","score":"0.79177773","text":"public NewJFrame() {\n initComponents();\n \n \n }","title":""},{"docid":"07842e484fd779df2bde7b3b3faf1853","score":"0.79161865","text":"public NewJFrame() {\r\n initComponents();\r\n }","title":""},{"docid":"b37836b93460f3c3e6642fab4f51a00c","score":"0.7648401","text":"public NewJFrame1() {\n initComponents();\n }","title":""},{"docid":"04d60ca53c25a51a2d9f11203416ad49","score":"0.7636639","text":"public NewJFrame() {\n initComponents(); setModal(true);\n \n }","title":""},{"docid":"6b8497c5afebc47b0005b4ec1bcfec92","score":"0.7558708","text":"public NewJFrame4() {\n initComponents();\n }","title":""},{"docid":"9da382a59f6c29b3f7794702873378db","score":"0.75300694","text":"public NewJFrameAhmedabad() {\n initComponents();\n }","title":""},{"docid":"76b6fe4caf7cd908d9dff13a7c770ea0","score":"0.7345191","text":"public NewJFrame14() {\n initComponents();\n setSize(900, 500);\n }","title":""},{"docid":"e33a596606149493f607103096ff175c","score":"0.7337689","text":"public NewJFrame5() {\n initComponents();\n }","title":""},{"docid":"e6070308f63dc10a4f4c20b6a483fe12","score":"0.7000412","text":"public void createForm2() {\n frame.setContentPane(new addinfoform().addinfopanel);\n frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);\n frame.pack();\n frame.setVisible(true);\n frame.setResizable(false);\n frame.setLocationRelativeTo(null);\n }","title":""},{"docid":"1b37e46da32e5086a171ab7d9a3d28cc","score":"0.6964671","text":"public NewJFrame() {\n try {\n UIManager.setLookAndFeel(UIManager\n .getSystemLookAndFeelClassName());\n } catch (ClassNotFoundException | InstantiationException | IllegalAccessException | UnsupportedLookAndFeelException e) {\n e.printStackTrace();\n }\n initComponents();\n\n // setting up JFrame\n // setLayout(null);\n // setPreferredSize(new Dimension(420, 90));\n // setResizable(false);\n // setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n // creating main JPanel (white)\n // panelMain = new JPanel();\n // panelMain.setBackground(Color.WHITE);\n // panelMain.setBounds(0, 0, 420, 90);\n // panelMain.setPreferredSize(new Dimension(200, 40));\n // add(panelMain);\n // creating JButton in the main JPanel (white)//\n // creating new JPanelOne object from JPanelOne class containing black JPanel\n // adding black JPanel to main JPanel (white)\n panelMain.add(panel);\n pack();\n\n }","title":""},{"docid":"7d77d813de950294c388e4eedfcf063f","score":"0.69261384","text":"public void newEventButtonActionPerformed(ActionEvent e){\n\n NewEventFrame newEventFrame = new NewEventFrame();\n\n }","title":""},{"docid":"daef5f966de2fbe0f720ecf7c9c764b7","score":"0.68766195","text":"public AddNewFrame() {\n initComponents();\n }","title":""},{"docid":"07a84b3ea3b105ffda7f9b3efa865fb8","score":"0.6789944","text":"private static void createAndShowGUI() {\n Frame frame = new Frame();\r\n //frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE); \r\n \r\n //Display the window.\r\n frame.setFocusable(true);\r\n frame.setSize(new Dimension(600,600));\r\n frame.setLayout(new GridLayout());\r\n frame.setLocation(500, 250);\r\n frame.setResizable(false);\r\n frame.pack();\r\n frame.setVisible(true);\r\n\t\r\n\t}","title":""},{"docid":"0b8cbc75542c9f3a244d14a48767508e","score":"0.65992504","text":"private static void createAndShowGUI() {\n\t\tmainframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tmainframe.setSize(mainframe.initialDimension);\n\t\tmainframe.setResizable(false);\n\t\tmainframe.createMainScreen(mainframe.getContentPane());\n\t\tSwingUtilities.updateComponentTreeUI(mainframe);\n\t\tmainframe.setLocationRelativeTo(null);\n\t\tmainframe.setVisible(true);\n\t}","title":""},{"docid":"cd901da9b2a8a4336cac4eeed2a58c33","score":"0.65954983","text":"public JFrameNewPlace() {\n initComponents();\n }","title":""},{"docid":"ba2db5aebd4c92dabf35b4338446dc4d","score":"0.6588477","text":"static void NewScreen() {\n frame = new JFrame(\"Transp-Os\");\n frame.setContentPane(new App().panelMain);\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n Dimension dimension = new Dimension();\n dimension.height = 500;\n dimension.width = 500;\n frame.setMinimumSize(dimension);\n frame.pack();\n frame.setVisible(true);\n }","title":""},{"docid":"0440dc7a6a119fa91b6e82be0554e68d","score":"0.65860236","text":"private JFrame getJFrame() {\r\n\t\tif (jFrame == null) {\r\n\t\t\tjFrame = new JFrame();\r\n\t\t\tjFrame.setSize(new Dimension(462, 209));\r\n\t\t\tjFrame.setTitle(\"Add Game To Store\");\r\n\t\t\tjFrame.setContentPane(getJContentPane());\r\n\t\t}\r\n\t\treturn jFrame;\r\n\t}","title":""},{"docid":"775224fc4ae9513ebd0de0041cf921fe","score":"0.6583207","text":"private JFrame getJFrame() {\n\t\tif (jFrame == null) {\n\t\t\tjFrame = new JFrame(\"分割/合并模块\");\n\t\t\tjFrame.setSize(new Dimension(361, 274));\n\t\t\tjFrame.setContentPane(getJTabbedPane());\n\t\t\tjFrame.setVisible(true);\n\t\t\tjFrame.setLocation(300,280);\n\t\t\tjFrame.setDefaultCloseOperation(jFrame.HIDE_ON_CLOSE);\n\t\t}\n\t\treturn jFrame;\n\t}","title":""},{"docid":"59f87d052634cb34843d44e94d0b1486","score":"0.65754163","text":"public void openCourseEnter(){ \n createCourse = new JFrame(\"Enter a Course\");\n createCourse.getContentPane().add(makeCourseEnter());\n createCourse.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);\n createCourse.setResizable(false);\n createCourse.pack();\n createCourse.setVisible(false);\n \n }","title":""},{"docid":"2889d1d2215cc78cd6e07da6c3fcb46d","score":"0.65666956","text":"public NewJFrame() {\n initComponents();\n \n //Para mudar o tamanho da coluna\n jTable1.getColumnModel().getColumn(0).setMaxWidth(40);\n jTable1.getColumnModel().getColumn(1).setMaxWidth(100);\n jTable1.getColumnModel().getColumn(2).setMaxWidth(100);\n jTable1.getColumnModel().getColumn(3).setMaxWidth(230);\n\n }","title":""},{"docid":"ab7106b244f7d835ed7042fac2f19d8c","score":"0.65485907","text":"public static void makeFrame (MasterControl master, ChatLocus locus) \n {\n\tfinal LocusPanel panel = new LocusPanel (master, locus);\n\t\n\tJFrame frame = new JFrame (locus.getDescription ());\n\tframe.addWindowListener (\n new WindowAdapter ()\n\t {\n\t\tpublic void windowClosing (WindowEvent e)\n\t\t{\n\t\t panel.windowClosing ();\n\t\t}\n\t });\n\tframe.setDefaultCloseOperation (frame.DISPOSE_ON_CLOSE);\n\tpanel.myFrame = frame;\n\n\tframe.getContentPane ().add (\"Center\", panel);\n\tframe.pack ();\n\tframe.setVisible (true);\n }","title":""},{"docid":"e329f3fb5c763a8aafae34f883b33951","score":"0.652569","text":"public Nouveau(JFrame frame){\n\t\tinit_panels(frame);\n\t}","title":""},{"docid":"314a8db266df91dd3a7e6ea799c8ceb7","score":"0.6517331","text":"private static void createAndShowGUI() {\n\n UIManager.put(\"OptionPane.buttonFont\", new FontUIResource(new Font(\"宋体\", Font.PLAIN, 15)));\n UIManager.put(\"OptionPane.messageFont\", new FontUIResource(new Font(\"宋体\", Font.PLAIN, 20)));\n\n frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);\n\n BorderLayout layout = new BorderLayout();\n frame.setLayout(layout);\n frame.getContentPane().add(new TimePanel().getTime(), LAYOUT_NORTH);\n frame.getContentPane().add(new WelcomePanel().getWelcome(), LAYOUT_SOUTH);\n frame.getContentPane().add(inOutPanel.getInOutPanel(), LAYOUT_EAST);\n frame.getContentPane().add(goodsPanel.getGoodsPane(), LAYOUT_CENTER);\n\n// frame.pack();\n frame.setExtendedState(JFrame.MAXIMIZED_BOTH);\n frame.setUndecorated(true);\n frame.setVisible(true);\n\n final JTextField input = inOutPanel.getInput();\n frame.addWindowListener(new WindowAdapter() {\n @Override\n public void windowOpened(WindowEvent e) {\n input.requestFocus();\n }\n });\n input.addKeyListener(new ModifyNumber());\n }","title":""},{"docid":"4dab3fbba674b2986f60bd21717c7b5e","score":"0.650855","text":"public static void main(String[] a){\n NewJPanel frame=new NewJPanel();\n frame.setTitle(\"Login Form\");\n frame.setVisible(true);\n frame.setBounds(10,10,370,600);\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n frame.setResizable(false);\n \n }","title":""},{"docid":"f25cb62ce47760ac9ca2c4cf29e59877","score":"0.65048087","text":"public static void create()\r\n\t{\n\t\tJFrame frame = new JFrame();\r\n\t\tframe.setTitle(\"Stock Menu\");\r\n\t\t\r\n\t\t//Set frame layout\r\n\t\tframe.setLayout(new FlowLayout());\r\n\t\t\r\n\t\t//Make buttons\r\n\t\tJButton investorButton = new JButton(\"Get Stock(s) of Specific Investor\");\r\n\t\r\n\t\t//Button sizing\r\n\t\tinvestorButton.setPreferredSize(new Dimension(300, 50));\r\n\t\t\r\n\t\t//Add buttons\r\n\t\tframe.add(investorButton);\r\n\t\t\r\n\t\t//Makes the frame open with the given buttons\r\n\t\tframe.pack();\r\n\t\tframe.setVisible(true);\r\n\t\t\r\n\t\t//Adds actions\r\n\t\tnew InvestorWindow();\r\n\t\tinvestorButton.addActionListener(event -> InvestorWindow.create());\r\n\r\n\t}","title":""},{"docid":"6d55a61b3c9345353c13eba4667c698d","score":"0.6499871","text":"private void createForm() {\n\t\tform = new Form(\"Add Information\");\n\t\ttxtName = new TextField(\"Name\", \"\", 30, TextField.ANY);\n\t\ttxtTelephon = new TextField(\"Telephone\", \"\", 30, TextField.NUMERIC);\n\t\ttxtEmail = new TextField(\"Email\", \"\", 30, TextField.EMAILADDR);\n\n\t\tform.append(txtName);\n\t\tform.append(txtTelephon);\n\t\tform.append(txtEmail);\n\n\t\tform.addCommand(mBack);\n\t\tform.addCommand(mOk);\n\t\tform.setCommandListener(this);\n\t}","title":""},{"docid":"e4b94c52e53e6eba1f9f9226e59ce236","score":"0.64970183","text":"private static void createAndShowGUI() {\n\t\t// Configure log4j.\n\t\t// PropertyConfigurator.configure(\"swinglog4j.properties\");\n\t\t\n\t\t// Create and set up the window.\n\t\tJFrame mainFrame = new JFrame(\"Focus Corp\");\n\t\tmainFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tSwingJavaClient mainScreen = new SwingJavaClient();\n\t\tmainFrame.getContentPane().add(mainScreen.getSplitPane());\n\t\t\n\t ImageIcon icon = new javax.swing.ImageIcon(SwingJavaClient.class.getResource(\"/data/images/car.png\")); \n\t\tmainFrame.setIconImage(icon.getImage());\n\n\t\tmainFrame.setJMenuBar(mainScreen.getMenu().getMenuBar());\n\n\t\tmainScreen.optionsMenu.setParentFrame(mainFrame);\n\n\t\t// Display the window.\n\t\tmainFrame.pack();\n\t\tmainFrame.setVisible(false);\n\t\t\n\t\tlogin.setVisible(true);\n\t\t\n\t\tLoginPanel.setMain(mainFrame);\n\t}","title":""},{"docid":"0af8d08f7f54f2331af11c515fb273d9","score":"0.64844805","text":"public static void createAndShowGUI() {\n //Create and set up the window.\n frame = new JFrame(\"Frugal Lab Application\");\n // frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n \n //Create and set up the content pane.\n MasterPanelFOrProjectPage mpf = new MasterPanelFOrProjectPage();\n mpf.addComponentToPane(frame.getContentPane());\n \n //Display the window.\n frame.pack();\n frame.setSize(800, 600);\n frame.setVisible(true);\n }","title":""},{"docid":"cdf320ac137b38ac1b08b1e9fdc427b5","score":"0.64842623","text":"private static void createAndShowGUI() {\n //Create and set up the window.\n frame = new JFrame(\"CM Wizard\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n //Create and set up the content pane.\n JComponent newContentPane = new CMWizardGui();\n newContentPane.setOpaque(true); //content panes must be opaque\n frame.setContentPane(newContentPane);\n\n //Display the window.\n frame.setResizable(false);\n frame.pack();\n frame.setVisible(true);\n }","title":""},{"docid":"b3053a49ad85f6ca8862cbf82defc8e2","score":"0.64816487","text":"public void createWindow() {\r\n window = new JFrame(\"Notepad\");\r\n window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n window.setSize(800, 600);\r\n window.setVisible(true);\r\n }","title":""},{"docid":"07d668fe7a91f7048e2c6e79aa72601f","score":"0.6469142","text":"public NewUnidadFrame() {\n initComponents();\n }","title":""},{"docid":"af2f133eb9b5b801972f9d8e68ec7f4f","score":"0.6466069","text":"public JFrame getJFrame() {\n if (jFrame == null) {\n jFrame=new JFrame();\n jFrame.setDefaultCloseOperation(jFrame.DO_NOTHING_ON_CLOSE);\n jFrame.setJMenuBar(getJJMenuBar());\n Dimension d=Toolkit.getDefaultToolkit().getScreenSize();\n int sw=d.width;\n int sh=d.height;\n jFrame.setSize((int) (sw / 1), (int) (sh * 1));\n jFrame.setLocation((int) (sw - jFrame.getWidth()) / 2,\n (int) (sh - jFrame.getHeight()) / 2);\n jFrame.setContentPane(getJContentPane());\n jFrame.setTitle(\"Domain Model Generator\");\n jFrame.addWindowListener(this);\n }\n return jFrame;\n }","title":""},{"docid":"ff4fa90a55beb820cde88919dd760b17","score":"0.644938","text":"private JFrame getJFrame() {\r\n\t\tif (jFrame == null) {\r\n\t\t\tjFrame = new JFrame();\r\n\t\t\tjFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\t\t\tjFrame.setJMenuBar(getJJMenuBar());\r\n\t\t\tjFrame.setSize(561, 375);\r\n\t\t\tjFrame.setContentPane(getJContentPane());\r\n\t\t\tjFrame.setTitle(\"Application\");\r\n\t\t}\r\n\t\treturn jFrame;\r\n\t}","title":""},{"docid":"f9e56ba00f52870786797f451ba7d539","score":"0.6425469","text":"private static void createAndShowGUI() {\n\t\tJFrame frame = new JFrame(\"SudokuSolver\");\r\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\r\n\t\t// Create and set up the content pane.\r\n\t\tSudokuSolver newContentPane = new SudokuSolver();\r\n\t\tnewContentPane.setOpaque(true); // content panes must be opaque\r\n\t\tframe.setContentPane(newContentPane);\r\n\t\tframe.setResizable(false);\r\n\r\n\t\t// Display the window.\r\n\t\tframe.pack();\r\n\t\tframe.setVisible(true);\r\n\t}","title":""},{"docid":"a25aa5a5c00c3f348eea1f167f6fa5f0","score":"0.6423259","text":"private static void createAndShowGUI() {\n JFrame.setDefaultLookAndFeelDecorated(true);\n JDialog.setDefaultLookAndFeelDecorated(true);\n \n // Create and set up the window.\n frame = new JFrame(\"COOJA Simulator\");\n frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);\n \n // Create and set up the content pane.\n JComponent newContentPane = new GUI();\n newContentPane.setOpaque(true);\n frame.setContentPane(newContentPane);\n frame.setLocationRelativeTo(null);\n \n // Display the window.\n frame.setVisible(true);\n }","title":""},{"docid":"11f59ad4ccb5e88cdfe9db83b8eec1e0","score":"0.641305","text":"private void jMenuItemVenueActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItemVenueActionPerformed\n // TODO add your handling code here:\n ArtistJFrame myFrame = new ArtistJFrame();\n myFrame.setExtendedState(myFrame.getExtendedState() | javax.swing.JFrame.MAXIMIZED_BOTH);\n myFrame.setVisible(true);\n this.dispose();\n }","title":""},{"docid":"3e242efe80264392a4cc6f52da995c60","score":"0.6394009","text":"private void jMenuItemTourActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItemTourActionPerformed\n // TODO add your handling code here:\n TourJFrame myFrame = new TourJFrame();\n myFrame.setExtendedState(myFrame.getExtendedState() | javax.swing.JFrame.MAXIMIZED_BOTH);\n myFrame.setVisible(true);\n this.dispose();\n }","title":""},{"docid":"4cc85ac688edaaede6f342618163dccb","score":"0.63844085","text":"private JFrame getJFrame() {\t\t\n\t\tif (jFrame == null) {\n\t\t\tjFrame = new JFrame();\n\t\t\tjFrame.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);\n\t\t\tjFrame.setJMenuBar(getJJMenuBar());\n\t\t\tjFrame.setSize(1024, 768);\n\t\t\tjFrame.setContentPane(getJContentPane());\n\t\t\tjFrame.setTitle(\"Inventory Control System\");\n\t\t\tjFrame.setVisible(true);\n\n\t\t\tif (!isLoggedOn) {\n\t\t\t\tJDialog loginDialog = getLoginDialog();\n\t\t\t\tloginDialog.setSize(new Dimension(300, 200));\n\t\t\t\tPoint loc = getJFrame().getLocation();\n\t\t\t\tloc.translate(100, 100);\n\t\t\t\tloginDialog.setLocation(loc);\n\t\t\t\tloginDialog.setVisible(true);\n\t\t\t}\n\t\t}\n\t\treturn jFrame;\n\t}","title":""},{"docid":"622320c0cf1336306086f1e9adc4f7e7","score":"0.6383232","text":"private static void createAndShowGUI() {\n\t\t// Create and set up the window.\n\t\tJFrame frame = new JFrame(\"ListDemo\");\n\t\tframe.setBounds(150, 150, 200, 250);\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n\t\t// Create and set up the content pane.\n\t\tJComponent newContentPane = new JListMain();\n\t\tnewContentPane.setOpaque(true); // content panes must be opaque\n\t\tframe.setContentPane(newContentPane);\n\n\t\t// Display the window.\n\t\tframe.pack();\n\t\tframe.setVisible(true);\n\t}","title":""},{"docid":"f51a6589b02dcf59dc4781601832da65","score":"0.63795954","text":"private static void createAndShowGUI() {\n frame = new JFrame(\"Etest\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n switchPanel(new LoginPanel());\n frame.setVisible(true);\n }","title":""},{"docid":"6acbcbdd719598d75a9ae82beaaaa66e","score":"0.6365516","text":"public void createNewWindow() {\r\n\t\tboolean isTriviaClicked = false;\r\n\t\tif (dfaBuilderController.isTriviaClicked) {\r\n\t\t\tisTriviaClicked = true;\r\n\t\t}\r\n\t\tdfaBuilderModel = new DFABuilderModel();\r\n\t\tDFABuilderView dfaBuilderView = new DFABuilderView(dfaBuilderModel);\r\n\t\tdfaBuilderController = new DFABuilderController(dfaBuilderModel, dfaBuilderView);\r\n\t\tdfaBuilderView.setController(dfaBuilderController);\r\n\t\tBlockBuilderModel.stateNo = 0;\r\n\t\tBlockBuilderModel.transitionNo = 0;\r\n\t\tif (isTriviaClicked) {\r\n\t\t\tBlockBuilderController.isTriviaClicked = true;\r\n\t\t}\r\n\t\tdispose();\r\n\t}","title":""},{"docid":"010595eb1294bee76a18e902e80e14ac","score":"0.6363956","text":"private void newCashierFrame(Cashier cashier) {\r\n\t\t//Set Frame\r\n\t\tJFrame frame1 = new JFrame();\r\n\t\tframe1.setSize(300, 400);\r\n\t\tframe1.setTitle(\"New Cashier\");\r\n\t\tframe1.setLayout(null);\r\n\t\tframe1.setVisible(true);\r\n\r\n\t\t// Display name of cashier\r\n\t\tJLabel CashierName = new JLabel(\"Cashier: \" + cashier.getName());\r\n\t\tCashierName.setBounds(50, 5, 200, 20);\r\n\t\tframe1.getContentPane().add(CashierName);\r\n\t\t\r\n\t\t//Display customer receipt\r\n\t\tif (cashier.getCurrentCustomer() != null ) {\r\n\t\t\tJTextArea custList = new JTextArea(\"\");\r\n\t\t\tcustList.setBounds(10, 40, 250, 300);\r\n\t\t\tframe1.getContentPane().add(custList);\r\n\t\t\tString output = \" \";\r\n\t\t\toutput += String.format(\"%-10s\\n\", \"Customer: \" + cashier.getCurrentCustomer().getName());\r\n\t\t\tString out2 = \" \";\r\n\t\t\tSet customerCart = cashier.getCurrentCustomer().cart.keySet();\r\n\t\t\tfor (String orderID : customerCart) {\r\n\t\t\t\toutput += String.format(\"%-10s %-10s %-10s %-10s\\n\",\r\n\t\t\t\t\t\tString.valueOf(cashier.getCurrentCustomer().cart.get(orderID).size()),\r\n\t\t\t\t\t\tCoffeeShop.menu.get(orderID).getName(), String.valueOf(CoffeeShop.menu.get(orderID).getCost()),\r\n\t\t\t\t\t\t\"£\");\r\n\t\t\t\tout2 = String.format(\"%-10s %-10s %-10s\\n\", \"Total price: \",\r\n\t\t\t\t\t\tString.valueOf(cashier.getCurrentCustomer().getCartTotalPrice()), \"£\");\r\n\t\t\t}\r\n\t\t\tcustList.setText(output + out2);\t\t\r\n\t\t\t\r\n\t\t} else {\r\n\t\t\tJOptionPane.showMessageDialog(null,\r\n\t\t\t\t\t\"Error: New cashiers cannot be added. Still waiting for customer.\",\r\n\t\t\t\t\t\"Error\", JOptionPane.ERROR_MESSAGE);\r\n\t\t}\t\t\t\r\n\t\tcashierFrames.put(cashier.getName(), frame1);\r\n\t}","title":""},{"docid":"160540bd46a6a7c7c8ca8697639f2cc2","score":"0.6360146","text":"private void newCookFrame(FoodStaff cook) {\r\n\t\t// Display their name\r\n\t\tJFrame frame1 = new JFrame();\r\n\t\tframe1.setSize(350, 200); //350, 400\r\n\t\tframe1.setTitle(\"New Cook\");\r\n\t\tframe1.setLayout(null);\r\n\t\tframe1.setVisible(true); // Show GUI\r\n\r\n\t\t// Display name of cook\r\n\t\tJLabel CookName = new JLabel(\"Cook: \" + cook.getName()); \r\n\t\tCookName.setBounds(10, 5, 200, 20);\r\n\t\tframe1.getContentPane().add(CookName);\r\n\t\t\t\t\r\n\t\tif(cook.getCurrentCustomer() != null) {\r\n\t\t\tJTextArea custList = new JTextArea(\"\");\r\n\t\t\tcustList.setBounds(10, 40, 300, 100);\r\n\t\t\tframe1.getContentPane().add(custList);\r\n\t\t\tString output = \" \";\r\n\t\t\t\r\n\t\t\toutput += String.format(\"%-10s\\n\", \"Cooks is preparing food for customer: \" + cook.getCurrentCustomer().getName());\r\n\t\t\toutput += String.format(\"%-10s\\n\", cook.getInstruction()); //Display actions taken\r\n\t\t\tcustList.setText(output);\r\n\t\t\tcookFrames.put(cook.getName(), frame1);\r\n\t\t}\t\t\r\n\t}","title":""},{"docid":"765e7529e02ba6e5b6afc3b5d0517e96","score":"0.63256574","text":"public Newframe(String Title){\n\tsuper(Title);\n\t\n\n\t\n\ttext = new JLabel(\" Waehlen Sie aus ob sie ein Spiel hosten oder einem Spiel beitreten moechten\");\t\t//Legt den ersten Text im Label fest\n\ttext.setFont(new Font(\"Serif\", Font.PLAIN, 14));\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t//Legt Schriftgroesse und Font fest\n\tgetContentPane().add(text);\n\n\thost = new JButton(\"Server hosten\");\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t//definiert Position und Größe für die Buttons\n\thost.setBounds(190,170,200,80);\n\thost.addActionListener(this);\n\t\n\tclient = new JButton(\"Spiel beitreten\");\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t//definiert Position und Größe für die Buttons\n\tclient.setBounds(190,400,200,80);\n\tclient.addActionListener(this);\n\n\tif(test == true){\n\t\ttry {\n\t\t\tchatserver();\n\t\t} catch (IOException e1) {\n\t\t\te1.printStackTrace();\n\t\t}\n\t}\n\t\n\tadd(host);\n\tadd(client);\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//fuegt die Buttons und den Text im ersten Label zu\n\tadd(text);\n}","title":""},{"docid":"83a189d29f7f31b36fe4ad155f72e422","score":"0.63053024","text":"private void initialize() {\n\t\tframe = new JFrame();\n\t\tframe.setBounds(100, 100, 450, 300);\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tframe.getContentPane().setLayout(null);\n\t\tframe.getContentPane().add(getBtnNewButton());\n\t\tframe.getContentPane().add(getTextField());\n\t\tframe.getContentPane().add(getPasswordField());\n\t\tframe.getContentPane().add(getLblNewLabel());\n\t\tframe.getContentPane().add(getLblNewLabel_1());\n\t}","title":""},{"docid":"4d51e570ead7fe1bdf744e48b850c94b","score":"0.63023955","text":"public FirstJFrame() {\n initComponents();\n }","title":""},{"docid":"cc2c487b46309f60eedca2dbec332b2f","score":"0.6301103","text":"private void createAndShowGUI() {\n\t\t// Create and set up the window.\n\t\tJFrame frame = new JFrame(\"SOCIETIES Adaptive Music Playlists\");\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n\t\t// Add content to the window.\n\t\tframe.add(parent);\n\n\t\t// Display the window.\n\t\tframe.pack();\n\t\tframe.setVisible(true);\n\t}","title":""},{"docid":"ab5707eb1a7e4c948b713150a488f747","score":"0.6289282","text":"private void createNewTableMenuItemActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_createNewTableMenuItemActionPerformed\n CreateTableFrame ctf = new CreateTableFrame(clientRequest);\n ctf.setVisible(true);\n ctf.setDefaultCloseOperation(CreateTableFrame.DISPOSE_ON_CLOSE);\n }","title":""},{"docid":"8d9ec45f41502b9c77356d7fb3f90661","score":"0.6286543","text":"private static void createAndShowGUI() {\n JFrame frame = new JFrame(\"Cafe Enactus Scheduler\");\r\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\r\n // Create and set up the content pane.\r\n JComponent newContentPane = Navigation.getInstance();\r\n newContentPane.setPreferredSize(new Dimension(640, 480));\r\n newContentPane.setOpaque(true); // content panes must be opaque\r\n frame.setContentPane(newContentPane);\r\n\r\n\r\n // Display the window.\r\n frame.pack();\r\n frame.setVisible(true);\r\n }","title":""},{"docid":"95295bedb21462ed2d80a12b68b05812","score":"0.62855816","text":"public panel_new() {\n initComponents();\n }","title":""},{"docid":"43a8615c4998698566ab48d7bf0f28ce","score":"0.6284455","text":"public static void createAndShowGUI() {\n GenBooksCheckedOutDialog frame = new GenBooksCheckedOutDialog(\"Search Dialog\");\r\n // frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n //Set up the content pane.\r\n frame.addComponentsToPane(frame.getContentPane());\r\n //Display the window.\r\n frame.pack();\r\n frame.setVisible(true);\r\n }","title":""},{"docid":"49933643acc266d66cfe7ce5e9a2e660","score":"0.62718636","text":"private void newBaristaFrame(FoodStaff barista) {\r\n\t\tJFrame frame1 = new JFrame();\r\n\t\tframe1.setSize(350, 200);\r\n\t\tframe1.setTitle(\"New Barista\");\r\n\t\tframe1.setLayout(null);\r\n\t\tframe1.setVisible(true); // Show GUI\r\n\r\n\t\t// Display name of barista\r\n\t\tJLabel BaristaName = new JLabel(\"Barista: \" + barista.getName());\r\n\t\tBaristaName.setBounds(10, 5, 200, 20);\r\n\t\tframe1.getContentPane().add(BaristaName);\r\n\t\t\r\n\t\tif(barista.getCurrentCustomer() != null) {\r\n\t\t\t// Display ordered Drink handled by barista for current customer\t\t\t\r\n\t\t\tJTextArea custList = new JTextArea(\"\");\r\n\t\t\tcustList.setBounds(10, 40, 300, 100);\r\n\t\t\tframe1.getContentPane().add(custList);\r\n\t\t\tString output = \" \";\r\n\t\t\toutput += String.format(\"%-10s\\n\", \"Barista is preparing drink for customer : \" + barista.getCurrentCustomer().getName());\r\n\t\t\toutput += String.format(\"%-10s\\n\", barista.getInstruction()); //Display current actions\r\n\t\t\tcustList.setText(output);\r\n\t\t\tbaristaFrames.put(barista.getName(), frame1);\r\n\t\t}\r\n\t}","title":""},{"docid":"a9458c5faed26289d954f02bb65b3ea9","score":"0.6258472","text":"private static void createAndShowGUI() {\n //Create and set up the window.\n JFrame frame = new JFrame(\"MarketPlace\");\n //frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n \n\n //Add content to the window.\n frame.add(new Create_Marketplace_Flat_Files());\n \n\n //Display the window.\n frame.pack();\n frame.setVisible(true);\n }","title":""},{"docid":"f2b9deb9f7e0eba0689f7a27d3f6ff4a","score":"0.6245283","text":"public abstract void createFrame();","title":""},{"docid":"bb58c958a8f94792c1e5811aceea7552","score":"0.6245249","text":"private static void createAndShowGUI() {\n //Make sure we have nice window decorations.\n JFrame.setDefaultLookAndFeelDecorated(true);\n \n //set style\n try\n {\n UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());\n } catch (Exception e) { }\n\n\n //Create and set up the window.\n jPatchwork frame = new jPatchwork();\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n //Display the window.\n frame.setVisible(true);\n }","title":""},{"docid":"817cb24967c32ecc8fa034477c115de4","score":"0.6244454","text":"private void initialize() {\n\t\tframe = new JFrame();\n\t\tframe.setBounds(100, 100, 450, 300);\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\t\n\t\tJMenuBar menuBar = new JMenuBar();\n\t\tframe.setJMenuBar(menuBar);\n\t\t\n\t\tJMenu mnFile = new JMenu(\"File\");\n\t\tmenuBar.add(mnFile);\n\t\t\n\t\tJMenuItem mntmMayTinhKhoa = new JMenuItem(\"May tinh khoa hoc\");\n\t\tmnFile.add(mntmMayTinhKhoa);\n\t\t\n\t\tJSeparator separator = new JSeparator();\n\t\tmnFile.add(separator);\n\t\t\n\t\tJMenuItem mntmMayTinhThong = new JMenuItem(\"May tinh thong thuon\");\n\t\tmnFile.add(mntmMayTinhThong);\n\t\t\n\t\tJMenu mnHelp = new JMenu(\"Help\");\n\t\tmenuBar.add(mnHelp);\n\t\t\n\t\tJPanel panel = new JPanel();\n\t\tframe.getContentPane().add(panel, BorderLayout.CENTER);\n\t\tpanel.setLayout(new GridLayout(5, 5, 0, 0));\n\t\t\n\t\tJButton btnNewButton_1 = new JButton(\"New button\");\n\t\tpanel.add(btnNewButton_1);\n\t\t\n\t\tJButton button = new JButton(\"New button\");\n\t\tpanel.add(button);\n\t\t\n\t\tJButton button_1 = new JButton(\"New button\");\n\t\tpanel.add(button_1);\n\t\t\n\t\tJButton button_2 = new JButton(\"New button\");\n\t\tpanel.add(button_2);\n\t\t\n\t\tJButton button_3 = new JButton(\"/\");\n\t\tpanel.add(button_3);\n\t\t\n\t\tJButton button_4 = new JButton(\"New button\");\n\t\tpanel.add(button_4);\n\t\t\n\t\tJButton button_5 = new JButton(\"7\");\n\t\tpanel.add(button_5);\n\t\t\n\t\tJButton button_6 = new JButton(\"8\");\n\t\tpanel.add(button_6);\n\t\t\n\t\tJButton button_7 = new JButton(\"9\");\n\t\tpanel.add(button_7);\n\t\t\n\t\tJButton btnX = new JButton(\"X\");\n\t\tpanel.add(btnX);\n\t\t\n\t\tJButton button_9 = new JButton(\"New button\");\n\t\tpanel.add(button_9);\n\t\t\n\t\tJButton button_10 = new JButton(\"4\");\n\t\tpanel.add(button_10);\n\t\t\n\t\tJButton button_11 = new JButton(\"5\");\n\t\tpanel.add(button_11);\n\t\t\n\t\tJButton btnNewButton = new JButton(\"6\");\n\t\tpanel.add(btnNewButton);\n\t\t\n\t\tJButton button_12 = new JButton(\"-\");\n\t\tpanel.add(button_12);\n\t\t\n\t\tJButton button_16 = new JButton(\"New button\");\n\t\tpanel.add(button_16);\n\t\t\n\t\tJButton button_17 = new JButton(\"1\");\n\t\tpanel.add(button_17);\n\t\t\n\t\tJButton button_14 = new JButton(\"2\");\n\t\tpanel.add(button_14);\n\t\t\n\t\tJButton button_15 = new JButton(\"3\");\n\t\tpanel.add(button_15);\n\t\t\n\t\tJButton button_18 = new JButton(\"+\");\n\t\tbutton_18.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t}\n\t\t});\n\t\tpanel.add(button_18);\n\t\t\n\t\tJButton button_19 = new JButton(\"New button\");\n\t\tpanel.add(button_19);\n\t\t\n\t\tJButton button_13 = new JButton(\"New button\");\n\t\tpanel.add(button_13);\n\t\t\n\t\tJButton button_20 = new JButton(\"0\");\n\t\tpanel.add(button_20);\n\t\t\n\t\tJButton button_21 = new JButton(\".\");\n\t\tpanel.add(button_21);\n\t\t\n\t\tJButton button_22 = new JButton(\"=\");\n\t\tpanel.add(button_22);\n\t\t\n\t\ttextField = new JTextField();\n\t\ttextField.addMouseListener(new MouseAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\tif( e.getButton() == MouseEvent.BUTTON1){\n\t\t\t\t\ttextField.setText(\"Click!!!\");\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tframe.getContentPane().add(textField, BorderLayout.NORTH);\n\t\ttextField.setColumns(10);\n\t}","title":""},{"docid":"d1cf5479eabee47056bab825ce224ad6","score":"0.6243757","text":"private static void createAndShowGUI() throws IOException {\r\n if (useSystemLookAndFeel) {\r\n try {\r\n UIManager.setLookAndFeel(\r\n UIManager.getSystemLookAndFeelClassName());\r\n } catch (Exception e) {\r\n System.err.println(\"Couldn't use system look and feel.\");\r\n }\r\n }\r\n //Create and set up the window.\r\n frame = new JFrame(\"Curriculum\");\r\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n frame.setPreferredSize(new Dimension(800, 500));\r\n //Create and set up the content pane.\r\n Import newContentPane = new Import();\r\n frame.setJMenuBar(newContentPane.createMenuBar());\r\n newContentPane.setOpaque(true); //content panes must be opaque\r\n frame.setContentPane(newContentPane);\r\n\r\n //Display the window.\r\n frame.pack();\r\n frame.setVisible(true);\r\n }","title":""},{"docid":"0c9888e8e2b4468a934d0812da1f8c68","score":"0.62363833","text":"public void createForm(){\n\t\tGridLayout gLayout = new GridLayout(5, 1);\n\t\tpanel.setLayout(gLayout);\n\t\tpanel.setSize(500, 500);\n\t\n\t\tusername = new JTextField(15);\n\t\tpassword1 = new JPasswordField(15);\n\t\tpassword2 = new JPasswordField(15);\n\t\t\n\t\taddLabel(\"Username\", panel);\n\t\taddBox(username, panel);\n\t\t\n\t\taddLabel(\"Password\", panel);\n\t\taddBox(password1, panel);\n\t\t\n\t\taddLabel(\"Retype Password\", panel);\n\t\taddBox(password2, panel);\n\t\t\n\t\taddCheckBox(\"Administrator\",panel);\n\t\taddLabel(\" \", panel);\n\t\t\n\t\tsave = new JButton(\"Save\");\n\t\tcancel = new JButton(\"Cancel\");\n\t\taddButton(save, panel);\n\t\taddButton(cancel, panel);\n\t\t\n\t\tthis.actionsave();\n\t\tthis.actioncancel();\n\t\t\n\t\tthis.add(panel);\n\t}","title":""},{"docid":"95221b4db27a68902a9a6a35c1ad635d","score":"0.62338597","text":"private static void createAndShowGUI() {\n\t\t//Create and set up the window.\n\t\tJFrame frame = new JFrame(\"Multiple Solutions Analyzer\");\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n\t\t//Add content to the window.\n\t\tframe.add(new MultipleSolutionsAnalyzerGUI());\n\n\t\t//Display the window.\n\t\tframe.pack();\n\t\tframe.setVisible(true);\n\t}","title":""},{"docid":"6c6af342dbf47e910675750435a2a85b","score":"0.6229796","text":"public workoutJFrame() {\n initComponents();\n }","title":""},{"docid":"fd3fbc31e582ba07f5cea3dc1418c327","score":"0.62277067","text":"private static void createAndShowGUI() {\n JFrame frame = new JFrame(\"BorderLayout\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n //Set up the content pane.\n addComponentsToPane(frame.getContentPane());\n frame.pack();\n //Display the window.\n frame.setVisible(true);\n }","title":""},{"docid":"9584a1259e54dc5b1b8d5bf592ea5d05","score":"0.62218314","text":"public void createWindow()\n {\n final int frameWidth = 800;\n final int frameHeight = 500;\n Dimension screenSize;\n int desiredX, desiredY;\n\n try {\n // Create the components of this frame\n statusBar = new NCPStatusBar();\n splitPane = new JSplitPane();\n hostListPanel = new HostListPanel();\n tabbedPanel = new TabbedPanel();\n menuBar = new NCPMenuBar();\n\n // Set the parameters for this frame\n this.getContentPane().setLayout(new BorderLayout());\n this.setTitle(\"NTCSS Control Panel\");\n\n // Place the frame in the middle of the screen\n this.setSize(new Dimension(frameWidth, frameHeight));\n screenSize = (Toolkit.getDefaultToolkit()).getScreenSize();\n desiredX = (screenSize.width/2) - (frameWidth/2);\n desiredY = (screenSize.height/2) - (frameHeight/2);\n setLocation(new Point(desiredX, desiredY));\n\n // Setup the proper menu and add it to the frame\n tabbedPanel.updateMenu();\n this.setJMenuBar((JMenuBar)menuBar);\n\n // Add the status bar to this frame\n this.getContentPane().add(statusBar, BorderLayout.SOUTH);\n\n // Add the \"guts\" of the frame which is a split pane that contains\n // the host list and the tabbed panel\n splitPane.setOrientation(JSplitPane.HORIZONTAL_SPLIT);\n splitPane.setLeftComponent(hostListPanel);\n splitPane.setRightComponent(tabbedPanel);\n this.getContentPane().add(splitPane, BorderLayout.CENTER);\n\n // Show the frame and validate it\n this.setVisible(true);\n this.validate();\n }\n catch (Exception e) {\n Log.log(Log.CLT, Log.EXCP, this.getClass().getName(), \"createWindow\",\n e.toString());\n }\n }","title":""},{"docid":"8ab597ce94436f78bfbd71e0905442ea","score":"0.62213725","text":"public static void CreateGUI() {\n EventQueue.invokeLater( new Runnable() {\n public void run() {\n try {\n FormInst GUIForm = new FormInst();\n GUIForm.setVisible(true);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n });\n }","title":""},{"docid":"1981cacc190762a4a54c6c58d5b2a761","score":"0.6215208","text":"private void makeFrame() {\r\n\t\tframe = new JFrame(\"Fractal flake displayer\");\r\n\t\tJPanel contentPane = (JPanel)frame.getContentPane();\r\n\t\tcontentPane.setBorder(new EmptyBorder(6, 6, 6, 6));\r\n\t\t// Specify the layout manager with nice spacing\r\n\t\tcontentPane.setLayout(new BorderLayout(6, 6));\r\n\t\t// Create the flake canvas to the right\r\n\t\tcanvas = new Canvas(frame,Color.white);\r\n\t\tcontentPane.add(canvas,BorderLayout.CENTER);\r\n\t\tcontentPane.add(createInputPanel(),BorderLayout.WEST);\r\n\t\tframe.pack();\r\n\t\t\r\n\t\t// place the frame at the center of the screen and show\r\n\t\tDimension d = Toolkit.getDefaultToolkit().getScreenSize();\r\n\t\tframe.setSize(d.width,d.height);\r\n\t\tframe.setVisible(true);\r\n\t\tcanvas.setVisible(true);\r\n\t\tpreviousInputField = null;\r\n\t}","title":""},{"docid":"658ada08f048c7fe987f8ae6069b7ada","score":"0.6205249","text":"private static void createAndShowGUI() {\n JFrame frame = new JFrame(\"HangledMan\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n JOptionPane.showMessageDialog(frame,\n \"Enter the right password and choose the difficulty level, then start the game!!!\",\n \"Inane warning\",\n JOptionPane.WARNING_MESSAGE);\n\n //Create and set up the content pane.\n JComponent newContentPane = new PA09();\n newContentPane.setOpaque(true); //content panes must be opaque\n frame.setContentPane(newContentPane);\n\t\t\tframe.setLocation(100,70);\n\t\t\tframe.setSize(1200,500);\n frame.setVisible(true);\n }","title":""},{"docid":"2781baf6513f8ce56b070b06b7e42dda","score":"0.62051034","text":"private static JFrame createComponents() {\r\n\t\tJFrame frame = new JFrame();\r\n\t\tmainPanel = new JPanel();\r\n\t\tupperPanel = createUpperPanel();\r\n\t\tbuttonPanel = createButtons();\r\n\t\tcommandPanel = createCommandPanel();\r\n\t\tmainPanel.setLayout(new BorderLayout());\r\n\t\tmainPanel.add(buttonPanel,BorderLayout.CENTER);\r\n\t\tmainPanel.add(upperPanel,BorderLayout.NORTH);\r\n\t\tmainPanel.add(commandPanel,BorderLayout.SOUTH);\r\n\t\tframe.add(mainPanel);\r\n\t\treturn frame;\r\n\t}","title":""},{"docid":"3e0b72f0437b7497ff9d825ceaf933bb","score":"0.61913675","text":"private JFrame getJFrame() {\n\t\tif (jFrame == null) {\n\t\t\tjFrame = new JFrame();\n\t\t\tjFrame.setTitle(this.getClass().getSimpleName());\n\t\t\tjFrame.setContentPane(getJContentPane());\n\t\t}\n\t\treturn jFrame;\n\t}","title":""},{"docid":"0b5a1d0d15c67520393cf9317a5a3554","score":"0.6178955","text":"public VCrear() {\r\n initComponents();\r\n setLocationRelativeTo(null);\r\n this.setDefaultCloseOperation(VCrear.DO_NOTHING_ON_CLOSE); // bloquear el boton cerrar\r\n //setVisible(true);\r\n }","title":""},{"docid":"f3b474802a9e56f08470c6420017120d","score":"0.61725926","text":"public MineGUI() {\n frame = new JFrame();\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tcreateMainMenu();\n\n\t\tframe.applyComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);\n\t\tframe.setSize(650, 600);\n frame.setVisible(true);\n\t}","title":""},{"docid":"81af744d621502b7de89309b4a7897de","score":"0.61602443","text":"public RecovJFrame() {\n initComponents();\n }","title":""},{"docid":"f4c404c2894c70034faf16ac519e0431","score":"0.6157991","text":"public void setUpFrame()\n {\n\tjf = new JFrame( \"Instructions\" );\n\tjf.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );\n\tjf.setSize( 640, 480 );\n\t\n\tjf.setLocationRelativeTo( null );\n\tjf.setResizable( false );\n\tsetToVisible();\n\n }","title":""},{"docid":"189008f669832bbc057c984afd035c6d","score":"0.6157805","text":"private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed\n JFrame CreateAccount = new CreateAccount();\n CreateAccount.setLocationRelativeTo(null);\n CreateAccount.setVisible(true);\n }","title":""},{"docid":"79a2d63dd141b033fca247aa98359e89","score":"0.6157257","text":"private void initialize(String[] arguments) {\r\n\t\tthis.arg=arguments;\r\n\t\tfrmNouveauPraticien = new JFrame();\r\n\t\tfrmNouveauPraticien.setTitle(\"Nouveau Praticien\");\r\n\t\tfrmNouveauPraticien.setBounds(100, 100, 674, 458);\r\n\t\tfrmNouveauPraticien.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\t\tfrmNouveauPraticien.getContentPane().setLayout(null);\r\n\t\tfrmNouveauPraticien.getContentPane().add(getPanel());\r\n\t\tfrmNouveauPraticien.getContentPane().add(getPanel_1());\r\n\t\tfrmNouveauPraticien.getContentPane().add(getPanel_16());\r\n\t}","title":""},{"docid":"8bed9444b5aa6e90f2b28aaba1504cfb","score":"0.6156335","text":"private void createMainDisplay() {\n\n\t\tJFrame.setDefaultLookAndFeelDecorated(true);\t\t\t\t\t\t\t//gives alternative theme to panel visuals\n\t\tframe \t\t\t\t= \tnew JFrame \t(\"Dentist Administration System\");\n\t\tframe.setDefaultCloseOperation\t\t(JFrame.DO_NOTHING_ON_CLOSE);\t\t//prevents system exiting when x is clicked\n\t\tframe.addWindowListener(new WindowAdapter() {\t\t\t\t\t\t\t//this line and following inner class implements save option when x clicked\n\t\t\tpublic void windowClosing (WindowEvent event) {\n\t\t\t\ttry {\n\t\t\t\t\tcontroller.safeExitOption(controller);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"An error occurred, system could not exit safely\");\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\tframe.setSize\t\t\t\t\t(390,450);\n\t\tcreateMenuBar();\t\t\t\t\t\t\t\t\t\t\t\t\t\t//create top menu bar of frame \n\n\t\ttp \t\t\t\t\t= \tnew JTabbedPane();\n\t\t//creates tabs\n\t\tpatientTP \t\t\t= \tnew JTabbedPane();\n\t\tprocedureTP \t\t= \tnew JTabbedPane();\n\t\tpaymentTP \t\t\t= \tnew JTabbedPane();\n\t\treportTP\t\t\t=\tnew JTabbedPane();\n\t\ttp.addTab\t\t\t\t(\"Patient\", patientTP);\n\t\ttp.addTab\t\t\t\t(\"Procedures\", procedureTP);\n\t\ttp.addTab\t\t\t\t(\"Payments\", paymentTP);\n\t\ttp.addTab\t\t\t\t(\"Reports\", reportTP);\n\n\t\t//classes which construct tab contents\n\t\tnew CreateTabOne\t\t(patientTP, controller, this);\n\t\tnew CreateTabTwo\t\t(procedureTP, controller, this);\n\t\tnew CreateTabThree\t\t(paymentTP, controller);\n\t\tnew CreateTabFour\t\t(reportTP, controller);\n\n\t\t//finalise frame and display\n\t\tframe.getContentPane().add\t\t(tp); \n\t\tframe.isAlwaysOnTop\t\t\t\t();\n\t\tframe.setResizable\t\t\t\t(false);\n\t\tframe.setLocationRelativeTo\t\t(null);\n\t\tframe.setVisible\t\t\t\t(true);\n\t}","title":""},{"docid":"6189b2a0ecbb2bf8b8a6400b1250cc55","score":"0.6151975","text":"public void createAndShowGUI() {\n\n //Create and set up the window.\n frame = new JFrame(\"RCM\");\n frame.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);\n\t\t\n\t\t//Add content to the window.\n frame.add(new UserUI(rcmObj));\n\n //Display the window.\n frame.setBounds(100, 100, 800, 600);\n frame.setVisible(true);\n\n }","title":""},{"docid":"5a0014a236dfd6c62f3c598af887b559","score":"0.61397725","text":"private static void createAndShowGUI() {\n\n // Create and set up the window\n JFrame frame = new JFrame(\"RiverCrossing\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n // Create and set up the content pane\n RiverGUI newContentPane = new RiverGUI();\n newContentPane.setOpaque(true);\n frame.setContentPane(newContentPane);\n\n // Display the window\n frame.setSize(800, 600);\n frame.setVisible(true);\n }","title":""},{"docid":"9299eb90e8a942dba622a3050460bfcd","score":"0.6132346","text":"private void jMenuItemCustomer1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItemCustomer1ActionPerformed\n // TODO add your handling code here:\n CustomerJFrame myFrame = new CustomerJFrame();\n myFrame.setExtendedState(myFrame.getExtendedState() | javax.swing.JFrame.MAXIMIZED_BOTH);\n myFrame.setVisible(true);\n this.dispose();\n }","title":""},{"docid":"a03a0a482b17fff549e3790d792aa66d","score":"0.61305016","text":"private void createNewFilePanel()\n {\n // The titled panel:\n newFilePanel = new JPanel();\n TitledBorder title = BorderFactory.createTitledBorder(\"Skapa ny fil\"); \n newFilePanel.setBorder(title);\n newFilePanel.setPreferredSize(new Dimension(400, 100));\n \n // The components of the inner panel:\n filenameLabelNew = new JLabel(\"Skapa en ny fil:\");\n filenameFieldNew = new JTextField(\"namn.csv\", 10);\n createButton = new JButton(\"Skapa och exportera\");\n \n // Adding the components and the panel:\n newFilePanel.add(filenameLabelNew);\n newFilePanel.add(filenameFieldNew);\n newFilePanel.add(createButton);\n this.add(newFilePanel);\n }","title":""},{"docid":"30c545bf3381ba2e98219382a0a68c5d","score":"0.6129838","text":"public RegisterGUI() {\n \tmyFrame = new JFrame(\"Home\");\n \tmyFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n createComponents();\n myFrame.setSize(WIDTH, HEIGHT);\n myFrame.setLocationRelativeTo(null);\n myFrame.setVisible(true);\n //setLayout(new BorderLayout());\n //createComponents();\n //setVisible(true);\n }","title":""},{"docid":"f08315050735aa75da930f000dbbdf49","score":"0.6124544","text":"public void openNewCompetitionFrame() {\n\t\tnewCompetition.openFrame();\n\t}","title":""},{"docid":"6eca4254fc06c613bac25fa790f48ed6","score":"0.61243314","text":"private static void createAndShowGUI() {\n\t JFrame frame = new JFrame(\"TextSamplerDemo\");\r\n\t frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\t \r\n\r\n\t //Add content to the window.\r\n\t final AboutDialog s = new AboutDialog(frame);\r\n\t JButton a = new JButton(\"test\");\r\n\t \r\n\t a.addActionListener(new ActionListener(){\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\t\ts.setVisible(true);\t\t\t\t\r\n\t\t\t\t}});\r\n\t frame.setLayout(new FlowLayout());\r\n\t frame.add(a);\r\n\r\n\t frame.setPreferredSize(new Dimension(400, 150));\r\n\t //Display the window.\r\n\t frame.pack();\r\n\t frame.setVisible(true);\r\n\t }","title":""},{"docid":"953f8173373541f8721911229ff67176","score":"0.61184585","text":"public void createGUI()\n\t{\n\t\tsuper.createFrame();\n\t\t\n\t\tBorder thickBorder = new LineBorder(Color.black, 2);\n\t\t\n\t\tFont buttonFont = new Font(\"Tahoma\", Font.BOLD, 20);\n\t\tFont titleFont = new Font(\"Tahoma\", Font.BOLD, 35);\n\t\t\n\t\t//making the title font underlined\n\t\tMap underlineTitle = titleFont.getAttributes();\n\t\tunderlineTitle.put(TextAttribute.UNDERLINE, TextAttribute.UNDERLINE_ON);\n\t\t\n\t\tJLabel title = new JLabel(\"Fishing Database\");\n\t\ttitle.setFont(titleFont.deriveFont(underlineTitle));\n\t\ttitle.setSize(500,100);\n\t\ttitle.setLocation(65,10);\n\t\ttitle.setForeground(Color.white);\n\n\t\t//create buttons \n\t\t\n\t\tJButton getButton = new JButton(\"GET\");\n\t\tgetButton.setBackground(new Color(59, 89, 182));\n\t\tgetButton.setForeground(Color.WHITE);\n\t\tgetButton.setFocusPainted(false);\n\t\tgetButton.setFont(new Font(\"Tahoma\", Font.BOLD, 20));\n\t\tgetButton.setSize(175,175);\n\t\tgetButton.setLocation(50,150);\n\t\tgetButton.setBorder(thickBorder);\n\t\t\n\t\t//execute when button is pressed\n\t\tgetButton.addActionListener(new ActionListener() \n\t\t{\n\t\t\tpublic void actionPerformed(ActionEvent event) \n\t\t\t{\n\t\t\t\tgetGUI get = new getGUI();\n\t\t\t\t\n\t\t\t\t//dispose of current frame\n\t\t\t\tmainFrame.dispose();\n\t\t\t\t\n\t\t\t\t//call getGUI method which displays getGUI interface\n\t\t\t\tget.createGUI();\n\t\t\t} \n\t\t});\n\t\t\n\t\t\n\t\t\n\t\tJButton addButton = new JButton(\"ADD\");\n\t\taddButton.setBackground(new Color(59, 89, 182));\n\t\taddButton.setForeground(Color.WHITE);\n\t\taddButton.setFocusPainted(false);\n\t\taddButton.setFont(buttonFont);\n\t\taddButton.setSize(175,175);\n\t\taddButton.setLocation(50,350);\n\t\taddButton.setBorder(thickBorder);\n\t\t\n\t\t//execute when button is pressed\n\t\taddButton.addActionListener(new ActionListener() \n\t\t{\n\t\t\tpublic void actionPerformed(ActionEvent event) \n\t\t\t{\n\t\t\t\taddGUI add = new addGUI();\n\t\t\t\t\n\t\t\t\t//dispose off current frame\n\t\t\t\tmainFrame.dispose();\n\t\t\t\t\n\t\t\t\t//call addGUI method which displays addGUI interface\n\t\t\t\tadd.createGUI();\n\t\t\t} \n\t\t});\n\t\t\n\t\t\n\t\tJButton removeButton = new JButton(\"REMOVE\");\n\t\tremoveButton.setBackground(new Color(59, 89, 182));\n\t\tremoveButton.setForeground(Color.WHITE);\n\t\tremoveButton.setFocusPainted(false);\n\t\tremoveButton.setFont(buttonFont);\n\t\tremoveButton.setSize(175,175);\n\t\tremoveButton.setLocation(250,150);\n\t\tremoveButton.setBorder(thickBorder);\n\t\t\n\t\t//execute when button is pressed\n\t\tremoveButton.addActionListener(new ActionListener() \n\t\t{\n\t\t\tpublic void actionPerformed(ActionEvent event) \n\t\t\t{\n\t\t\t\tremoveGUI remove = new removeGUI();\n\t\t\t\t\n\t\t\t\t//dispose of current frame\n\t\t\t\tmainFrame.dispose();\n\t\t\t\t\n\t\t\t\t//call getGUI method which displays getGUI interface\n\t\t\t\tremove.createGUI();\n\t\t\t} \n\t\t});\n\t\t\n\t\tJButton editButton = new JButton(\"EDIT\");\n\t\teditButton.setBackground(new Color(59, 89, 182));\n\t\teditButton.setForeground(Color.WHITE);\n\t\teditButton.setFocusPainted(false);\n\t\teditButton.setFont(buttonFont);\n\t\teditButton.setSize(175,175);\n\t\teditButton.setLocation(250,350);\n\t\teditButton.setBorder(thickBorder);\n\t\t\n\t\t//execute when button is pressed\n\t\teditButton.addActionListener(new ActionListener() \n\t\t{\n\t\t\tpublic void actionPerformed(ActionEvent event) \n\t\t\t{\n\t\t\t\teditGUI edit = new editGUI();\n\t\t\t\t\n\t\t\t\t//dispose of current frame\n\t\t\t\tmainFrame.dispose();\n\t\t\t\t\n\t\t\t\t//call getGUI method which displays getGUI interface\n\t\t\t\tedit.createGUI();\n\t\t\t} \n\t\t});\n\t\t\n\t\t//add elements to panel\n\t\tmainPanel.add(title);\n\t\tmainPanel.add(getButton);\n\t\tmainPanel.add(addButton);\n\t\tmainPanel.add(removeButton);\n\t\tmainPanel.add(editButton);\n\t}","title":""},{"docid":"c64bd26c8659405a55d5b63270c4f121","score":"0.61182463","text":"private void createAndShowGUI() {\n\n //Create and set up the window.\n JFrame frame = new JFrame(\"Load Security Prices - Build \"+buildStr);\n frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);\n panScreen = new FileSelectWindow();\n frame.getContentPane().add(panScreen);\n\n //Display the window.\n frame.pack();\n frame.setLocationRelativeTo(null);\n frame.setVisible(true);\n\n }","title":""},{"docid":"b2932decfa6f239798909a7603e198b1","score":"0.6116606","text":"private static void createAndShowInfo()\n\t\t{\n\t\t\tJFrame info = new JFrame(\"Passenger Info\");\n\t\t\tinfo.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n\t\t\t// Create and set up the content pane.\n\t\t\tJComponent myFrontEnd = new InfoFrontEnd();\n\t\t\tmyFrontEnd.setOpaque(true); // content panes must be opaque\n\t\t\tinfo.setContentPane(myFrontEnd);\n\n\t\t\t// Display the window.\n\t\t\tinfo.pack();\n\t\t\tinfo.setVisible(true);\n\t\t}","title":""},{"docid":"9a3723803f6f5c2dcc624d9b1e5be3fd","score":"0.61085504","text":"JFrame getJFrame() {\r\n if (jFrame == null) {\r\n jFrame = new JFrame();\r\n jFrame.setSize(new Dimension(842, 649));\r\n jFrame.setTitle(\".:: Ley de Bresenham ::.\");\r\n jFrame.setContentPane(getJContentPane());\r\n jFrame.setVisible(true);\r\n jFrame.setLocationRelativeTo(null);\r\n jFrame.setResizable(false);\r\n\r\n bres = new Bresenham(jPanel2.getSize());\r\n bres2 = new Bresenham2();\r\n jPanel2.add(bres);\r\n }\r\n return jFrame;\r\n }","title":""},{"docid":"75bd5b3689eac9a3c51180b0642df380","score":"0.6107808","text":"private void createAndShowGUI() {\n\n\t\tsetSize(300, 100);\n\n\t\t// Display the window.\n\n\t\tsetVisible(true);\n\t\tsetTitle(\"Armando Castro\");\n\n\t\tsetDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n\t}","title":""},{"docid":"a5cd290f01b6e07b4fe9f9e9a26818b9","score":"0.60988057","text":"public void ventana(){//el constructor\n ventana= new JFrame();//el objeto\n ventana.setTitle(\"MASTER MADI\");//el titulo de la ventana\n ventana.setSize(400,400);//el tamaño de la ventana\n \n }","title":""},{"docid":"d603450fdd2928616f51e2c6fbba8d21","score":"0.60977757","text":"public void newProject() {\n\t\tif (checkCurrentProject()) {\n\t\t\tcloseProject();\n\t\t\tstatusBar.setFirstText(language.getText(\"newProject2\"),1500);\n\t\t\trefreshProjectInfos();\n\t\t}\n prjInfos = new PrjInfos();\n showNewProjectWizard();\n\t}","title":""},{"docid":"80d382379e4a563e77156770b033891f","score":"0.608454","text":"public jFrame1() {\r\n initComponents ();\r\n pack ();\r\n }","title":""},{"docid":"67c44c650b09e0554b196b75a38ec228","score":"0.6074469","text":"public NewJFrame() {\n\n initComponents();\n //get data from DB\n pane = getContentPane();\n layout = new CardLayout();\n pane.setLayout(layout);\n\n C = new Controller();\n model1 = new DefaultListModel();\n model2 = new DefaultListModel();\n model3 = new DefaultListModel();\n model4 = new DefaultListModel();\n model5 = new DefaultListModel();\n model6 = new DefaultListModel();\n\n resetModels();\n \n jList_AllreadySuggestedProposals.setModel(model1);\n jList_FirstRoundPossibleProposals.setModel(model2);\n jList_FirstRoundFinalProposals.setModel(model3);\n jList_PropoalThree.setModel(model4);\n jListPrimaryPThree.setModel(model5);\n jListSecondaryPThree.setModel(model6);\n \n }","title":""},{"docid":"45ef667b275686ad084348c043a7f8b4","score":"0.6070931","text":"public MainJFrame() {\n initComponents();\n }","title":""},{"docid":"45ef667b275686ad084348c043a7f8b4","score":"0.6070931","text":"public MainJFrame() {\n initComponents();\n }","title":""}],"string":"[\n {\n \"docid\": \"0d65a329da521ad224e469bf4860f084\",\n \"score\": \"0.7931828\",\n \"text\": \"public NewJFrame() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d65a329da521ad224e469bf4860f084\",\n \"score\": \"0.7931828\",\n \"text\": \"public NewJFrame() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d65a329da521ad224e469bf4860f084\",\n \"score\": \"0.7931828\",\n \"text\": \"public NewJFrame() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d65a329da521ad224e469bf4860f084\",\n \"score\": \"0.7931828\",\n \"text\": \"public NewJFrame() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d65a329da521ad224e469bf4860f084\",\n \"score\": \"0.7931828\",\n \"text\": \"public NewJFrame() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d65a329da521ad224e469bf4860f084\",\n \"score\": \"0.7931828\",\n \"text\": \"public NewJFrame() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d65a329da521ad224e469bf4860f084\",\n \"score\": \"0.7931828\",\n \"text\": \"public NewJFrame() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d65a329da521ad224e469bf4860f084\",\n \"score\": \"0.7931828\",\n \"text\": \"public NewJFrame() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d65a329da521ad224e469bf4860f084\",\n \"score\": \"0.7931828\",\n \"text\": \"public NewJFrame() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0c6d4de07d5d7d1c5c8e9b0c787bf8de\",\n \"score\": \"0.79177773\",\n \"text\": \"public NewJFrame() {\\n initComponents();\\n \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"07842e484fd779df2bde7b3b3faf1853\",\n \"score\": \"0.79161865\",\n \"text\": \"public NewJFrame() {\\r\\n initComponents();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b37836b93460f3c3e6642fab4f51a00c\",\n \"score\": \"0.7648401\",\n \"text\": \"public NewJFrame1() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"04d60ca53c25a51a2d9f11203416ad49\",\n \"score\": \"0.7636639\",\n \"text\": \"public NewJFrame() {\\n initComponents(); setModal(true);\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6b8497c5afebc47b0005b4ec1bcfec92\",\n \"score\": \"0.7558708\",\n \"text\": \"public NewJFrame4() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9da382a59f6c29b3f7794702873378db\",\n \"score\": \"0.75300694\",\n \"text\": \"public NewJFrameAhmedabad() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"76b6fe4caf7cd908d9dff13a7c770ea0\",\n \"score\": \"0.7345191\",\n \"text\": \"public NewJFrame14() {\\n initComponents();\\n setSize(900, 500);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e33a596606149493f607103096ff175c\",\n \"score\": \"0.7337689\",\n \"text\": \"public NewJFrame5() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e6070308f63dc10a4f4c20b6a483fe12\",\n \"score\": \"0.7000412\",\n \"text\": \"public void createForm2() {\\n frame.setContentPane(new addinfoform().addinfopanel);\\n frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);\\n frame.pack();\\n frame.setVisible(true);\\n frame.setResizable(false);\\n frame.setLocationRelativeTo(null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1b37e46da32e5086a171ab7d9a3d28cc\",\n \"score\": \"0.6964671\",\n \"text\": \"public NewJFrame() {\\n try {\\n UIManager.setLookAndFeel(UIManager\\n .getSystemLookAndFeelClassName());\\n } catch (ClassNotFoundException | InstantiationException | IllegalAccessException | UnsupportedLookAndFeelException e) {\\n e.printStackTrace();\\n }\\n initComponents();\\n\\n // setting up JFrame\\n // setLayout(null);\\n // setPreferredSize(new Dimension(420, 90));\\n // setResizable(false);\\n // setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\n // creating main JPanel (white)\\n // panelMain = new JPanel();\\n // panelMain.setBackground(Color.WHITE);\\n // panelMain.setBounds(0, 0, 420, 90);\\n // panelMain.setPreferredSize(new Dimension(200, 40));\\n // add(panelMain);\\n // creating JButton in the main JPanel (white)//\\n // creating new JPanelOne object from JPanelOne class containing black JPanel\\n // adding black JPanel to main JPanel (white)\\n panelMain.add(panel);\\n pack();\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7d77d813de950294c388e4eedfcf063f\",\n \"score\": \"0.69261384\",\n \"text\": \"public void newEventButtonActionPerformed(ActionEvent e){\\n\\n NewEventFrame newEventFrame = new NewEventFrame();\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"daef5f966de2fbe0f720ecf7c9c764b7\",\n \"score\": \"0.68766195\",\n \"text\": \"public AddNewFrame() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"07a84b3ea3b105ffda7f9b3efa865fb8\",\n \"score\": \"0.6789944\",\n \"text\": \"private static void createAndShowGUI() {\\n Frame frame = new Frame();\\r\\n //frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE); \\r\\n \\r\\n //Display the window.\\r\\n frame.setFocusable(true);\\r\\n frame.setSize(new Dimension(600,600));\\r\\n frame.setLayout(new GridLayout());\\r\\n frame.setLocation(500, 250);\\r\\n frame.setResizable(false);\\r\\n frame.pack();\\r\\n frame.setVisible(true);\\r\\n\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0b8cbc75542c9f3a244d14a48767508e\",\n \"score\": \"0.65992504\",\n \"text\": \"private static void createAndShowGUI() {\\n\\t\\tmainframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\n\\t\\tmainframe.setSize(mainframe.initialDimension);\\n\\t\\tmainframe.setResizable(false);\\n\\t\\tmainframe.createMainScreen(mainframe.getContentPane());\\n\\t\\tSwingUtilities.updateComponentTreeUI(mainframe);\\n\\t\\tmainframe.setLocationRelativeTo(null);\\n\\t\\tmainframe.setVisible(true);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd901da9b2a8a4336cac4eeed2a58c33\",\n \"score\": \"0.65954983\",\n \"text\": \"public JFrameNewPlace() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba2db5aebd4c92dabf35b4338446dc4d\",\n \"score\": \"0.6588477\",\n \"text\": \"static void NewScreen() {\\n frame = new JFrame(\\\"Transp-Os\\\");\\n frame.setContentPane(new App().panelMain);\\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\n Dimension dimension = new Dimension();\\n dimension.height = 500;\\n dimension.width = 500;\\n frame.setMinimumSize(dimension);\\n frame.pack();\\n frame.setVisible(true);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0440dc7a6a119fa91b6e82be0554e68d\",\n \"score\": \"0.65860236\",\n \"text\": \"private JFrame getJFrame() {\\r\\n\\t\\tif (jFrame == null) {\\r\\n\\t\\t\\tjFrame = new JFrame();\\r\\n\\t\\t\\tjFrame.setSize(new Dimension(462, 209));\\r\\n\\t\\t\\tjFrame.setTitle(\\\"Add Game To Store\\\");\\r\\n\\t\\t\\tjFrame.setContentPane(getJContentPane());\\r\\n\\t\\t}\\r\\n\\t\\treturn jFrame;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"775224fc4ae9513ebd0de0041cf921fe\",\n \"score\": \"0.6583207\",\n \"text\": \"private JFrame getJFrame() {\\n\\t\\tif (jFrame == null) {\\n\\t\\t\\tjFrame = new JFrame(\\\"分割/合并模块\\\");\\n\\t\\t\\tjFrame.setSize(new Dimension(361, 274));\\n\\t\\t\\tjFrame.setContentPane(getJTabbedPane());\\n\\t\\t\\tjFrame.setVisible(true);\\n\\t\\t\\tjFrame.setLocation(300,280);\\n\\t\\t\\tjFrame.setDefaultCloseOperation(jFrame.HIDE_ON_CLOSE);\\n\\t\\t}\\n\\t\\treturn jFrame;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"59f87d052634cb34843d44e94d0b1486\",\n \"score\": \"0.65754163\",\n \"text\": \"public void openCourseEnter(){ \\n createCourse = new JFrame(\\\"Enter a Course\\\");\\n createCourse.getContentPane().add(makeCourseEnter());\\n createCourse.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);\\n createCourse.setResizable(false);\\n createCourse.pack();\\n createCourse.setVisible(false);\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2889d1d2215cc78cd6e07da6c3fcb46d\",\n \"score\": \"0.65666956\",\n \"text\": \"public NewJFrame() {\\n initComponents();\\n \\n //Para mudar o tamanho da coluna\\n jTable1.getColumnModel().getColumn(0).setMaxWidth(40);\\n jTable1.getColumnModel().getColumn(1).setMaxWidth(100);\\n jTable1.getColumnModel().getColumn(2).setMaxWidth(100);\\n jTable1.getColumnModel().getColumn(3).setMaxWidth(230);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab7106b244f7d835ed7042fac2f19d8c\",\n \"score\": \"0.65485907\",\n \"text\": \"public static void makeFrame (MasterControl master, ChatLocus locus) \\n {\\n\\tfinal LocusPanel panel = new LocusPanel (master, locus);\\n\\t\\n\\tJFrame frame = new JFrame (locus.getDescription ());\\n\\tframe.addWindowListener (\\n new WindowAdapter ()\\n\\t {\\n\\t\\tpublic void windowClosing (WindowEvent e)\\n\\t\\t{\\n\\t\\t panel.windowClosing ();\\n\\t\\t}\\n\\t });\\n\\tframe.setDefaultCloseOperation (frame.DISPOSE_ON_CLOSE);\\n\\tpanel.myFrame = frame;\\n\\n\\tframe.getContentPane ().add (\\\"Center\\\", panel);\\n\\tframe.pack ();\\n\\tframe.setVisible (true);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e329f3fb5c763a8aafae34f883b33951\",\n \"score\": \"0.652569\",\n \"text\": \"public Nouveau(JFrame frame){\\n\\t\\tinit_panels(frame);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"314a8db266df91dd3a7e6ea799c8ceb7\",\n \"score\": \"0.6517331\",\n \"text\": \"private static void createAndShowGUI() {\\n\\n UIManager.put(\\\"OptionPane.buttonFont\\\", new FontUIResource(new Font(\\\"宋体\\\", Font.PLAIN, 15)));\\n UIManager.put(\\\"OptionPane.messageFont\\\", new FontUIResource(new Font(\\\"宋体\\\", Font.PLAIN, 20)));\\n\\n frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);\\n\\n BorderLayout layout = new BorderLayout();\\n frame.setLayout(layout);\\n frame.getContentPane().add(new TimePanel().getTime(), LAYOUT_NORTH);\\n frame.getContentPane().add(new WelcomePanel().getWelcome(), LAYOUT_SOUTH);\\n frame.getContentPane().add(inOutPanel.getInOutPanel(), LAYOUT_EAST);\\n frame.getContentPane().add(goodsPanel.getGoodsPane(), LAYOUT_CENTER);\\n\\n// frame.pack();\\n frame.setExtendedState(JFrame.MAXIMIZED_BOTH);\\n frame.setUndecorated(true);\\n frame.setVisible(true);\\n\\n final JTextField input = inOutPanel.getInput();\\n frame.addWindowListener(new WindowAdapter() {\\n @Override\\n public void windowOpened(WindowEvent e) {\\n input.requestFocus();\\n }\\n });\\n input.addKeyListener(new ModifyNumber());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4dab3fbba674b2986f60bd21717c7b5e\",\n \"score\": \"0.650855\",\n \"text\": \"public static void main(String[] a){\\n NewJPanel frame=new NewJPanel();\\n frame.setTitle(\\\"Login Form\\\");\\n frame.setVisible(true);\\n frame.setBounds(10,10,370,600);\\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\n frame.setResizable(false);\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f25cb62ce47760ac9ca2c4cf29e59877\",\n \"score\": \"0.65048087\",\n \"text\": \"public static void create()\\r\\n\\t{\\n\\t\\tJFrame frame = new JFrame();\\r\\n\\t\\tframe.setTitle(\\\"Stock Menu\\\");\\r\\n\\t\\t\\r\\n\\t\\t//Set frame layout\\r\\n\\t\\tframe.setLayout(new FlowLayout());\\r\\n\\t\\t\\r\\n\\t\\t//Make buttons\\r\\n\\t\\tJButton investorButton = new JButton(\\\"Get Stock(s) of Specific Investor\\\");\\r\\n\\t\\r\\n\\t\\t//Button sizing\\r\\n\\t\\tinvestorButton.setPreferredSize(new Dimension(300, 50));\\r\\n\\t\\t\\r\\n\\t\\t//Add buttons\\r\\n\\t\\tframe.add(investorButton);\\r\\n\\t\\t\\r\\n\\t\\t//Makes the frame open with the given buttons\\r\\n\\t\\tframe.pack();\\r\\n\\t\\tframe.setVisible(true);\\r\\n\\t\\t\\r\\n\\t\\t//Adds actions\\r\\n\\t\\tnew InvestorWindow();\\r\\n\\t\\tinvestorButton.addActionListener(event -> InvestorWindow.create());\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6d55a61b3c9345353c13eba4667c698d\",\n \"score\": \"0.6499871\",\n \"text\": \"private void createForm() {\\n\\t\\tform = new Form(\\\"Add Information\\\");\\n\\t\\ttxtName = new TextField(\\\"Name\\\", \\\"\\\", 30, TextField.ANY);\\n\\t\\ttxtTelephon = new TextField(\\\"Telephone\\\", \\\"\\\", 30, TextField.NUMERIC);\\n\\t\\ttxtEmail = new TextField(\\\"Email\\\", \\\"\\\", 30, TextField.EMAILADDR);\\n\\n\\t\\tform.append(txtName);\\n\\t\\tform.append(txtTelephon);\\n\\t\\tform.append(txtEmail);\\n\\n\\t\\tform.addCommand(mBack);\\n\\t\\tform.addCommand(mOk);\\n\\t\\tform.setCommandListener(this);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e4b94c52e53e6eba1f9f9226e59ce236\",\n \"score\": \"0.64970183\",\n \"text\": \"private static void createAndShowGUI() {\\n\\t\\t// Configure log4j.\\n\\t\\t// PropertyConfigurator.configure(\\\"swinglog4j.properties\\\");\\n\\t\\t\\n\\t\\t// Create and set up the window.\\n\\t\\tJFrame mainFrame = new JFrame(\\\"Focus Corp\\\");\\n\\t\\tmainFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\n\\t\\tSwingJavaClient mainScreen = new SwingJavaClient();\\n\\t\\tmainFrame.getContentPane().add(mainScreen.getSplitPane());\\n\\t\\t\\n\\t ImageIcon icon = new javax.swing.ImageIcon(SwingJavaClient.class.getResource(\\\"/data/images/car.png\\\")); \\n\\t\\tmainFrame.setIconImage(icon.getImage());\\n\\n\\t\\tmainFrame.setJMenuBar(mainScreen.getMenu().getMenuBar());\\n\\n\\t\\tmainScreen.optionsMenu.setParentFrame(mainFrame);\\n\\n\\t\\t// Display the window.\\n\\t\\tmainFrame.pack();\\n\\t\\tmainFrame.setVisible(false);\\n\\t\\t\\n\\t\\tlogin.setVisible(true);\\n\\t\\t\\n\\t\\tLoginPanel.setMain(mainFrame);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0af8d08f7f54f2331af11c515fb273d9\",\n \"score\": \"0.64844805\",\n \"text\": \"public static void createAndShowGUI() {\\n //Create and set up the window.\\n frame = new JFrame(\\\"Frugal Lab Application\\\");\\n // frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\n \\n //Create and set up the content pane.\\n MasterPanelFOrProjectPage mpf = new MasterPanelFOrProjectPage();\\n mpf.addComponentToPane(frame.getContentPane());\\n \\n //Display the window.\\n frame.pack();\\n frame.setSize(800, 600);\\n frame.setVisible(true);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cdf320ac137b38ac1b08b1e9fdc427b5\",\n \"score\": \"0.64842623\",\n \"text\": \"private static void createAndShowGUI() {\\n //Create and set up the window.\\n frame = new JFrame(\\\"CM Wizard\\\");\\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\n\\n //Create and set up the content pane.\\n JComponent newContentPane = new CMWizardGui();\\n newContentPane.setOpaque(true); //content panes must be opaque\\n frame.setContentPane(newContentPane);\\n\\n //Display the window.\\n frame.setResizable(false);\\n frame.pack();\\n frame.setVisible(true);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b3053a49ad85f6ca8862cbf82defc8e2\",\n \"score\": \"0.64816487\",\n \"text\": \"public void createWindow() {\\r\\n window = new JFrame(\\\"Notepad\\\");\\r\\n window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\r\\n window.setSize(800, 600);\\r\\n window.setVisible(true);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"07d668fe7a91f7048e2c6e79aa72601f\",\n \"score\": \"0.6469142\",\n \"text\": \"public NewUnidadFrame() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af2f133eb9b5b801972f9d8e68ec7f4f\",\n \"score\": \"0.6466069\",\n \"text\": \"public JFrame getJFrame() {\\n if (jFrame == null) {\\n jFrame=new JFrame();\\n jFrame.setDefaultCloseOperation(jFrame.DO_NOTHING_ON_CLOSE);\\n jFrame.setJMenuBar(getJJMenuBar());\\n Dimension d=Toolkit.getDefaultToolkit().getScreenSize();\\n int sw=d.width;\\n int sh=d.height;\\n jFrame.setSize((int) (sw / 1), (int) (sh * 1));\\n jFrame.setLocation((int) (sw - jFrame.getWidth()) / 2,\\n (int) (sh - jFrame.getHeight()) / 2);\\n jFrame.setContentPane(getJContentPane());\\n jFrame.setTitle(\\\"Domain Model Generator\\\");\\n jFrame.addWindowListener(this);\\n }\\n return jFrame;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ff4fa90a55beb820cde88919dd760b17\",\n \"score\": \"0.644938\",\n \"text\": \"private JFrame getJFrame() {\\r\\n\\t\\tif (jFrame == null) {\\r\\n\\t\\t\\tjFrame = new JFrame();\\r\\n\\t\\t\\tjFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\r\\n\\t\\t\\tjFrame.setJMenuBar(getJJMenuBar());\\r\\n\\t\\t\\tjFrame.setSize(561, 375);\\r\\n\\t\\t\\tjFrame.setContentPane(getJContentPane());\\r\\n\\t\\t\\tjFrame.setTitle(\\\"Application\\\");\\r\\n\\t\\t}\\r\\n\\t\\treturn jFrame;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f9e56ba00f52870786797f451ba7d539\",\n \"score\": \"0.6425469\",\n \"text\": \"private static void createAndShowGUI() {\\n\\t\\tJFrame frame = new JFrame(\\\"SudokuSolver\\\");\\r\\n\\t\\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\r\\n\\r\\n\\t\\t// Create and set up the content pane.\\r\\n\\t\\tSudokuSolver newContentPane = new SudokuSolver();\\r\\n\\t\\tnewContentPane.setOpaque(true); // content panes must be opaque\\r\\n\\t\\tframe.setContentPane(newContentPane);\\r\\n\\t\\tframe.setResizable(false);\\r\\n\\r\\n\\t\\t// Display the window.\\r\\n\\t\\tframe.pack();\\r\\n\\t\\tframe.setVisible(true);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a25aa5a5c00c3f348eea1f167f6fa5f0\",\n \"score\": \"0.6423259\",\n \"text\": \"private static void createAndShowGUI() {\\n JFrame.setDefaultLookAndFeelDecorated(true);\\n JDialog.setDefaultLookAndFeelDecorated(true);\\n \\n // Create and set up the window.\\n frame = new JFrame(\\\"COOJA Simulator\\\");\\n frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);\\n \\n // Create and set up the content pane.\\n JComponent newContentPane = new GUI();\\n newContentPane.setOpaque(true);\\n frame.setContentPane(newContentPane);\\n frame.setLocationRelativeTo(null);\\n \\n // Display the window.\\n frame.setVisible(true);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11f59ad4ccb5e88cdfe9db83b8eec1e0\",\n \"score\": \"0.641305\",\n \"text\": \"private void jMenuItemVenueActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItemVenueActionPerformed\\n // TODO add your handling code here:\\n ArtistJFrame myFrame = new ArtistJFrame();\\n myFrame.setExtendedState(myFrame.getExtendedState() | javax.swing.JFrame.MAXIMIZED_BOTH);\\n myFrame.setVisible(true);\\n this.dispose();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3e242efe80264392a4cc6f52da995c60\",\n \"score\": \"0.6394009\",\n \"text\": \"private void jMenuItemTourActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItemTourActionPerformed\\n // TODO add your handling code here:\\n TourJFrame myFrame = new TourJFrame();\\n myFrame.setExtendedState(myFrame.getExtendedState() | javax.swing.JFrame.MAXIMIZED_BOTH);\\n myFrame.setVisible(true);\\n this.dispose();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4cc85ac688edaaede6f342618163dccb\",\n \"score\": \"0.63844085\",\n \"text\": \"private JFrame getJFrame() {\\t\\t\\n\\t\\tif (jFrame == null) {\\n\\t\\t\\tjFrame = new JFrame();\\n\\t\\t\\tjFrame.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);\\n\\t\\t\\tjFrame.setJMenuBar(getJJMenuBar());\\n\\t\\t\\tjFrame.setSize(1024, 768);\\n\\t\\t\\tjFrame.setContentPane(getJContentPane());\\n\\t\\t\\tjFrame.setTitle(\\\"Inventory Control System\\\");\\n\\t\\t\\tjFrame.setVisible(true);\\n\\n\\t\\t\\tif (!isLoggedOn) {\\n\\t\\t\\t\\tJDialog loginDialog = getLoginDialog();\\n\\t\\t\\t\\tloginDialog.setSize(new Dimension(300, 200));\\n\\t\\t\\t\\tPoint loc = getJFrame().getLocation();\\n\\t\\t\\t\\tloc.translate(100, 100);\\n\\t\\t\\t\\tloginDialog.setLocation(loc);\\n\\t\\t\\t\\tloginDialog.setVisible(true);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn jFrame;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"622320c0cf1336306086f1e9adc4f7e7\",\n \"score\": \"0.6383232\",\n \"text\": \"private static void createAndShowGUI() {\\n\\t\\t// Create and set up the window.\\n\\t\\tJFrame frame = new JFrame(\\\"ListDemo\\\");\\n\\t\\tframe.setBounds(150, 150, 200, 250);\\n\\t\\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\n\\n\\t\\t// Create and set up the content pane.\\n\\t\\tJComponent newContentPane = new JListMain();\\n\\t\\tnewContentPane.setOpaque(true); // content panes must be opaque\\n\\t\\tframe.setContentPane(newContentPane);\\n\\n\\t\\t// Display the window.\\n\\t\\tframe.pack();\\n\\t\\tframe.setVisible(true);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f51a6589b02dcf59dc4781601832da65\",\n \"score\": \"0.63795954\",\n \"text\": \"private static void createAndShowGUI() {\\n frame = new JFrame(\\\"Etest\\\");\\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\n switchPanel(new LoginPanel());\\n frame.setVisible(true);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6acbcbdd719598d75a9ae82beaaaa66e\",\n \"score\": \"0.6365516\",\n \"text\": \"public void createNewWindow() {\\r\\n\\t\\tboolean isTriviaClicked = false;\\r\\n\\t\\tif (dfaBuilderController.isTriviaClicked) {\\r\\n\\t\\t\\tisTriviaClicked = true;\\r\\n\\t\\t}\\r\\n\\t\\tdfaBuilderModel = new DFABuilderModel();\\r\\n\\t\\tDFABuilderView dfaBuilderView = new DFABuilderView(dfaBuilderModel);\\r\\n\\t\\tdfaBuilderController = new DFABuilderController(dfaBuilderModel, dfaBuilderView);\\r\\n\\t\\tdfaBuilderView.setController(dfaBuilderController);\\r\\n\\t\\tBlockBuilderModel.stateNo = 0;\\r\\n\\t\\tBlockBuilderModel.transitionNo = 0;\\r\\n\\t\\tif (isTriviaClicked) {\\r\\n\\t\\t\\tBlockBuilderController.isTriviaClicked = true;\\r\\n\\t\\t}\\r\\n\\t\\tdispose();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"010595eb1294bee76a18e902e80e14ac\",\n \"score\": \"0.6363956\",\n \"text\": \"private void newCashierFrame(Cashier cashier) {\\r\\n\\t\\t//Set Frame\\r\\n\\t\\tJFrame frame1 = new JFrame();\\r\\n\\t\\tframe1.setSize(300, 400);\\r\\n\\t\\tframe1.setTitle(\\\"New Cashier\\\");\\r\\n\\t\\tframe1.setLayout(null);\\r\\n\\t\\tframe1.setVisible(true);\\r\\n\\r\\n\\t\\t// Display name of cashier\\r\\n\\t\\tJLabel CashierName = new JLabel(\\\"Cashier: \\\" + cashier.getName());\\r\\n\\t\\tCashierName.setBounds(50, 5, 200, 20);\\r\\n\\t\\tframe1.getContentPane().add(CashierName);\\r\\n\\t\\t\\r\\n\\t\\t//Display customer receipt\\r\\n\\t\\tif (cashier.getCurrentCustomer() != null ) {\\r\\n\\t\\t\\tJTextArea custList = new JTextArea(\\\"\\\");\\r\\n\\t\\t\\tcustList.setBounds(10, 40, 250, 300);\\r\\n\\t\\t\\tframe1.getContentPane().add(custList);\\r\\n\\t\\t\\tString output = \\\" \\\";\\r\\n\\t\\t\\toutput += String.format(\\\"%-10s\\\\n\\\", \\\"Customer: \\\" + cashier.getCurrentCustomer().getName());\\r\\n\\t\\t\\tString out2 = \\\" \\\";\\r\\n\\t\\t\\tSet customerCart = cashier.getCurrentCustomer().cart.keySet();\\r\\n\\t\\t\\tfor (String orderID : customerCart) {\\r\\n\\t\\t\\t\\toutput += String.format(\\\"%-10s %-10s %-10s %-10s\\\\n\\\",\\r\\n\\t\\t\\t\\t\\t\\tString.valueOf(cashier.getCurrentCustomer().cart.get(orderID).size()),\\r\\n\\t\\t\\t\\t\\t\\tCoffeeShop.menu.get(orderID).getName(), String.valueOf(CoffeeShop.menu.get(orderID).getCost()),\\r\\n\\t\\t\\t\\t\\t\\t\\\"£\\\");\\r\\n\\t\\t\\t\\tout2 = String.format(\\\"%-10s %-10s %-10s\\\\n\\\", \\\"Total price: \\\",\\r\\n\\t\\t\\t\\t\\t\\tString.valueOf(cashier.getCurrentCustomer().getCartTotalPrice()), \\\"£\\\");\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\tcustList.setText(output + out2);\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t} else {\\r\\n\\t\\t\\tJOptionPane.showMessageDialog(null,\\r\\n\\t\\t\\t\\t\\t\\\"Error: New cashiers cannot be added. Still waiting for customer.\\\",\\r\\n\\t\\t\\t\\t\\t\\\"Error\\\", JOptionPane.ERROR_MESSAGE);\\r\\n\\t\\t}\\t\\t\\t\\r\\n\\t\\tcashierFrames.put(cashier.getName(), frame1);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"160540bd46a6a7c7c8ca8697639f2cc2\",\n \"score\": \"0.6360146\",\n \"text\": \"private void newCookFrame(FoodStaff cook) {\\r\\n\\t\\t// Display their name\\r\\n\\t\\tJFrame frame1 = new JFrame();\\r\\n\\t\\tframe1.setSize(350, 200); //350, 400\\r\\n\\t\\tframe1.setTitle(\\\"New Cook\\\");\\r\\n\\t\\tframe1.setLayout(null);\\r\\n\\t\\tframe1.setVisible(true); // Show GUI\\r\\n\\r\\n\\t\\t// Display name of cook\\r\\n\\t\\tJLabel CookName = new JLabel(\\\"Cook: \\\" + cook.getName()); \\r\\n\\t\\tCookName.setBounds(10, 5, 200, 20);\\r\\n\\t\\tframe1.getContentPane().add(CookName);\\r\\n\\t\\t\\t\\t\\r\\n\\t\\tif(cook.getCurrentCustomer() != null) {\\r\\n\\t\\t\\tJTextArea custList = new JTextArea(\\\"\\\");\\r\\n\\t\\t\\tcustList.setBounds(10, 40, 300, 100);\\r\\n\\t\\t\\tframe1.getContentPane().add(custList);\\r\\n\\t\\t\\tString output = \\\" \\\";\\r\\n\\t\\t\\t\\r\\n\\t\\t\\toutput += String.format(\\\"%-10s\\\\n\\\", \\\"Cooks is preparing food for customer: \\\" + cook.getCurrentCustomer().getName());\\r\\n\\t\\t\\toutput += String.format(\\\"%-10s\\\\n\\\", cook.getInstruction()); //Display actions taken\\r\\n\\t\\t\\tcustList.setText(output);\\r\\n\\t\\t\\tcookFrames.put(cook.getName(), frame1);\\r\\n\\t\\t}\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"765e7529e02ba6e5b6afc3b5d0517e96\",\n \"score\": \"0.63256574\",\n \"text\": \"public Newframe(String Title){\\n\\tsuper(Title);\\n\\t\\n\\n\\t\\n\\ttext = new JLabel(\\\" Waehlen Sie aus ob sie ein Spiel hosten oder einem Spiel beitreten moechten\\\");\\t\\t//Legt den ersten Text im Label fest\\n\\ttext.setFont(new Font(\\\"Serif\\\", Font.PLAIN, 14));\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t//Legt Schriftgroesse und Font fest\\n\\tgetContentPane().add(text);\\n\\n\\thost = new JButton(\\\"Server hosten\\\");\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t//definiert Position und Größe für die Buttons\\n\\thost.setBounds(190,170,200,80);\\n\\thost.addActionListener(this);\\n\\t\\n\\tclient = new JButton(\\\"Spiel beitreten\\\");\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t//definiert Position und Größe für die Buttons\\n\\tclient.setBounds(190,400,200,80);\\n\\tclient.addActionListener(this);\\n\\n\\tif(test == true){\\n\\t\\ttry {\\n\\t\\t\\tchatserver();\\n\\t\\t} catch (IOException e1) {\\n\\t\\t\\te1.printStackTrace();\\n\\t\\t}\\n\\t}\\n\\t\\n\\tadd(host);\\n\\tadd(client);\\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//fuegt die Buttons und den Text im ersten Label zu\\n\\tadd(text);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"83a189d29f7f31b36fe4ad155f72e422\",\n \"score\": \"0.63053024\",\n \"text\": \"private void initialize() {\\n\\t\\tframe = new JFrame();\\n\\t\\tframe.setBounds(100, 100, 450, 300);\\n\\t\\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\n\\t\\tframe.getContentPane().setLayout(null);\\n\\t\\tframe.getContentPane().add(getBtnNewButton());\\n\\t\\tframe.getContentPane().add(getTextField());\\n\\t\\tframe.getContentPane().add(getPasswordField());\\n\\t\\tframe.getContentPane().add(getLblNewLabel());\\n\\t\\tframe.getContentPane().add(getLblNewLabel_1());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4d51e570ead7fe1bdf744e48b850c94b\",\n \"score\": \"0.63023955\",\n \"text\": \"public FirstJFrame() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cc2c487b46309f60eedca2dbec332b2f\",\n \"score\": \"0.6301103\",\n \"text\": \"private void createAndShowGUI() {\\n\\t\\t// Create and set up the window.\\n\\t\\tJFrame frame = new JFrame(\\\"SOCIETIES Adaptive Music Playlists\\\");\\n\\t\\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\n\\n\\t\\t// Add content to the window.\\n\\t\\tframe.add(parent);\\n\\n\\t\\t// Display the window.\\n\\t\\tframe.pack();\\n\\t\\tframe.setVisible(true);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab5707eb1a7e4c948b713150a488f747\",\n \"score\": \"0.6289282\",\n \"text\": \"private void createNewTableMenuItemActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_createNewTableMenuItemActionPerformed\\n CreateTableFrame ctf = new CreateTableFrame(clientRequest);\\n ctf.setVisible(true);\\n ctf.setDefaultCloseOperation(CreateTableFrame.DISPOSE_ON_CLOSE);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8d9ec45f41502b9c77356d7fb3f90661\",\n \"score\": \"0.6286543\",\n \"text\": \"private static void createAndShowGUI() {\\n JFrame frame = new JFrame(\\\"Cafe Enactus Scheduler\\\");\\r\\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\r\\n\\r\\n // Create and set up the content pane.\\r\\n JComponent newContentPane = Navigation.getInstance();\\r\\n newContentPane.setPreferredSize(new Dimension(640, 480));\\r\\n newContentPane.setOpaque(true); // content panes must be opaque\\r\\n frame.setContentPane(newContentPane);\\r\\n\\r\\n\\r\\n // Display the window.\\r\\n frame.pack();\\r\\n frame.setVisible(true);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"95295bedb21462ed2d80a12b68b05812\",\n \"score\": \"0.62855816\",\n \"text\": \"public panel_new() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"43a8615c4998698566ab48d7bf0f28ce\",\n \"score\": \"0.6284455\",\n \"text\": \"public static void createAndShowGUI() {\\n GenBooksCheckedOutDialog frame = new GenBooksCheckedOutDialog(\\\"Search Dialog\\\");\\r\\n // frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\r\\n //Set up the content pane.\\r\\n frame.addComponentsToPane(frame.getContentPane());\\r\\n //Display the window.\\r\\n frame.pack();\\r\\n frame.setVisible(true);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"49933643acc266d66cfe7ce5e9a2e660\",\n \"score\": \"0.62718636\",\n \"text\": \"private void newBaristaFrame(FoodStaff barista) {\\r\\n\\t\\tJFrame frame1 = new JFrame();\\r\\n\\t\\tframe1.setSize(350, 200);\\r\\n\\t\\tframe1.setTitle(\\\"New Barista\\\");\\r\\n\\t\\tframe1.setLayout(null);\\r\\n\\t\\tframe1.setVisible(true); // Show GUI\\r\\n\\r\\n\\t\\t// Display name of barista\\r\\n\\t\\tJLabel BaristaName = new JLabel(\\\"Barista: \\\" + barista.getName());\\r\\n\\t\\tBaristaName.setBounds(10, 5, 200, 20);\\r\\n\\t\\tframe1.getContentPane().add(BaristaName);\\r\\n\\t\\t\\r\\n\\t\\tif(barista.getCurrentCustomer() != null) {\\r\\n\\t\\t\\t// Display ordered Drink handled by barista for current customer\\t\\t\\t\\r\\n\\t\\t\\tJTextArea custList = new JTextArea(\\\"\\\");\\r\\n\\t\\t\\tcustList.setBounds(10, 40, 300, 100);\\r\\n\\t\\t\\tframe1.getContentPane().add(custList);\\r\\n\\t\\t\\tString output = \\\" \\\";\\r\\n\\t\\t\\toutput += String.format(\\\"%-10s\\\\n\\\", \\\"Barista is preparing drink for customer : \\\" + barista.getCurrentCustomer().getName());\\r\\n\\t\\t\\toutput += String.format(\\\"%-10s\\\\n\\\", barista.getInstruction()); //Display current actions\\r\\n\\t\\t\\tcustList.setText(output);\\r\\n\\t\\t\\tbaristaFrames.put(barista.getName(), frame1);\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a9458c5faed26289d954f02bb65b3ea9\",\n \"score\": \"0.6258472\",\n \"text\": \"private static void createAndShowGUI() {\\n //Create and set up the window.\\n JFrame frame = new JFrame(\\\"MarketPlace\\\");\\n //frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\n \\n\\n //Add content to the window.\\n frame.add(new Create_Marketplace_Flat_Files());\\n \\n\\n //Display the window.\\n frame.pack();\\n frame.setVisible(true);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f2b9deb9f7e0eba0689f7a27d3f6ff4a\",\n \"score\": \"0.6245283\",\n \"text\": \"public abstract void createFrame();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bb58c958a8f94792c1e5811aceea7552\",\n \"score\": \"0.6245249\",\n \"text\": \"private static void createAndShowGUI() {\\n //Make sure we have nice window decorations.\\n JFrame.setDefaultLookAndFeelDecorated(true);\\n \\n //set style\\n try\\n {\\n UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());\\n } catch (Exception e) { }\\n\\n\\n //Create and set up the window.\\n jPatchwork frame = new jPatchwork();\\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\n\\n //Display the window.\\n frame.setVisible(true);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"817cb24967c32ecc8fa034477c115de4\",\n \"score\": \"0.6244454\",\n \"text\": \"private void initialize() {\\n\\t\\tframe = new JFrame();\\n\\t\\tframe.setBounds(100, 100, 450, 300);\\n\\t\\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\n\\t\\t\\n\\t\\tJMenuBar menuBar = new JMenuBar();\\n\\t\\tframe.setJMenuBar(menuBar);\\n\\t\\t\\n\\t\\tJMenu mnFile = new JMenu(\\\"File\\\");\\n\\t\\tmenuBar.add(mnFile);\\n\\t\\t\\n\\t\\tJMenuItem mntmMayTinhKhoa = new JMenuItem(\\\"May tinh khoa hoc\\\");\\n\\t\\tmnFile.add(mntmMayTinhKhoa);\\n\\t\\t\\n\\t\\tJSeparator separator = new JSeparator();\\n\\t\\tmnFile.add(separator);\\n\\t\\t\\n\\t\\tJMenuItem mntmMayTinhThong = new JMenuItem(\\\"May tinh thong thuon\\\");\\n\\t\\tmnFile.add(mntmMayTinhThong);\\n\\t\\t\\n\\t\\tJMenu mnHelp = new JMenu(\\\"Help\\\");\\n\\t\\tmenuBar.add(mnHelp);\\n\\t\\t\\n\\t\\tJPanel panel = new JPanel();\\n\\t\\tframe.getContentPane().add(panel, BorderLayout.CENTER);\\n\\t\\tpanel.setLayout(new GridLayout(5, 5, 0, 0));\\n\\t\\t\\n\\t\\tJButton btnNewButton_1 = new JButton(\\\"New button\\\");\\n\\t\\tpanel.add(btnNewButton_1);\\n\\t\\t\\n\\t\\tJButton button = new JButton(\\\"New button\\\");\\n\\t\\tpanel.add(button);\\n\\t\\t\\n\\t\\tJButton button_1 = new JButton(\\\"New button\\\");\\n\\t\\tpanel.add(button_1);\\n\\t\\t\\n\\t\\tJButton button_2 = new JButton(\\\"New button\\\");\\n\\t\\tpanel.add(button_2);\\n\\t\\t\\n\\t\\tJButton button_3 = new JButton(\\\"/\\\");\\n\\t\\tpanel.add(button_3);\\n\\t\\t\\n\\t\\tJButton button_4 = new JButton(\\\"New button\\\");\\n\\t\\tpanel.add(button_4);\\n\\t\\t\\n\\t\\tJButton button_5 = new JButton(\\\"7\\\");\\n\\t\\tpanel.add(button_5);\\n\\t\\t\\n\\t\\tJButton button_6 = new JButton(\\\"8\\\");\\n\\t\\tpanel.add(button_6);\\n\\t\\t\\n\\t\\tJButton button_7 = new JButton(\\\"9\\\");\\n\\t\\tpanel.add(button_7);\\n\\t\\t\\n\\t\\tJButton btnX = new JButton(\\\"X\\\");\\n\\t\\tpanel.add(btnX);\\n\\t\\t\\n\\t\\tJButton button_9 = new JButton(\\\"New button\\\");\\n\\t\\tpanel.add(button_9);\\n\\t\\t\\n\\t\\tJButton button_10 = new JButton(\\\"4\\\");\\n\\t\\tpanel.add(button_10);\\n\\t\\t\\n\\t\\tJButton button_11 = new JButton(\\\"5\\\");\\n\\t\\tpanel.add(button_11);\\n\\t\\t\\n\\t\\tJButton btnNewButton = new JButton(\\\"6\\\");\\n\\t\\tpanel.add(btnNewButton);\\n\\t\\t\\n\\t\\tJButton button_12 = new JButton(\\\"-\\\");\\n\\t\\tpanel.add(button_12);\\n\\t\\t\\n\\t\\tJButton button_16 = new JButton(\\\"New button\\\");\\n\\t\\tpanel.add(button_16);\\n\\t\\t\\n\\t\\tJButton button_17 = new JButton(\\\"1\\\");\\n\\t\\tpanel.add(button_17);\\n\\t\\t\\n\\t\\tJButton button_14 = new JButton(\\\"2\\\");\\n\\t\\tpanel.add(button_14);\\n\\t\\t\\n\\t\\tJButton button_15 = new JButton(\\\"3\\\");\\n\\t\\tpanel.add(button_15);\\n\\t\\t\\n\\t\\tJButton button_18 = new JButton(\\\"+\\\");\\n\\t\\tbutton_18.addActionListener(new ActionListener() {\\n\\t\\t\\tpublic void actionPerformed(ActionEvent e) {\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\tpanel.add(button_18);\\n\\t\\t\\n\\t\\tJButton button_19 = new JButton(\\\"New button\\\");\\n\\t\\tpanel.add(button_19);\\n\\t\\t\\n\\t\\tJButton button_13 = new JButton(\\\"New button\\\");\\n\\t\\tpanel.add(button_13);\\n\\t\\t\\n\\t\\tJButton button_20 = new JButton(\\\"0\\\");\\n\\t\\tpanel.add(button_20);\\n\\t\\t\\n\\t\\tJButton button_21 = new JButton(\\\".\\\");\\n\\t\\tpanel.add(button_21);\\n\\t\\t\\n\\t\\tJButton button_22 = new JButton(\\\"=\\\");\\n\\t\\tpanel.add(button_22);\\n\\t\\t\\n\\t\\ttextField = new JTextField();\\n\\t\\ttextField.addMouseListener(new MouseAdapter() {\\n\\t\\t\\t@Override\\n\\t\\t\\tpublic void mouseClicked(MouseEvent e) {\\n\\t\\t\\t\\tif( e.getButton() == MouseEvent.BUTTON1){\\n\\t\\t\\t\\t\\ttextField.setText(\\\"Click!!!\\\");\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\tframe.getContentPane().add(textField, BorderLayout.NORTH);\\n\\t\\ttextField.setColumns(10);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1cf5479eabee47056bab825ce224ad6\",\n \"score\": \"0.6243757\",\n \"text\": \"private static void createAndShowGUI() throws IOException {\\r\\n if (useSystemLookAndFeel) {\\r\\n try {\\r\\n UIManager.setLookAndFeel(\\r\\n UIManager.getSystemLookAndFeelClassName());\\r\\n } catch (Exception e) {\\r\\n System.err.println(\\\"Couldn't use system look and feel.\\\");\\r\\n }\\r\\n }\\r\\n //Create and set up the window.\\r\\n frame = new JFrame(\\\"Curriculum\\\");\\r\\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\r\\n frame.setPreferredSize(new Dimension(800, 500));\\r\\n //Create and set up the content pane.\\r\\n Import newContentPane = new Import();\\r\\n frame.setJMenuBar(newContentPane.createMenuBar());\\r\\n newContentPane.setOpaque(true); //content panes must be opaque\\r\\n frame.setContentPane(newContentPane);\\r\\n\\r\\n //Display the window.\\r\\n frame.pack();\\r\\n frame.setVisible(true);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0c9888e8e2b4468a934d0812da1f8c68\",\n \"score\": \"0.62363833\",\n \"text\": \"public void createForm(){\\n\\t\\tGridLayout gLayout = new GridLayout(5, 1);\\n\\t\\tpanel.setLayout(gLayout);\\n\\t\\tpanel.setSize(500, 500);\\n\\t\\n\\t\\tusername = new JTextField(15);\\n\\t\\tpassword1 = new JPasswordField(15);\\n\\t\\tpassword2 = new JPasswordField(15);\\n\\t\\t\\n\\t\\taddLabel(\\\"Username\\\", panel);\\n\\t\\taddBox(username, panel);\\n\\t\\t\\n\\t\\taddLabel(\\\"Password\\\", panel);\\n\\t\\taddBox(password1, panel);\\n\\t\\t\\n\\t\\taddLabel(\\\"Retype Password\\\", panel);\\n\\t\\taddBox(password2, panel);\\n\\t\\t\\n\\t\\taddCheckBox(\\\"Administrator\\\",panel);\\n\\t\\taddLabel(\\\" \\\", panel);\\n\\t\\t\\n\\t\\tsave = new JButton(\\\"Save\\\");\\n\\t\\tcancel = new JButton(\\\"Cancel\\\");\\n\\t\\taddButton(save, panel);\\n\\t\\taddButton(cancel, panel);\\n\\t\\t\\n\\t\\tthis.actionsave();\\n\\t\\tthis.actioncancel();\\n\\t\\t\\n\\t\\tthis.add(panel);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"95221b4db27a68902a9a6a35c1ad635d\",\n \"score\": \"0.62338597\",\n \"text\": \"private static void createAndShowGUI() {\\n\\t\\t//Create and set up the window.\\n\\t\\tJFrame frame = new JFrame(\\\"Multiple Solutions Analyzer\\\");\\n\\t\\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\n\\n\\t\\t//Add content to the window.\\n\\t\\tframe.add(new MultipleSolutionsAnalyzerGUI());\\n\\n\\t\\t//Display the window.\\n\\t\\tframe.pack();\\n\\t\\tframe.setVisible(true);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c6af342dbf47e910675750435a2a85b\",\n \"score\": \"0.6229796\",\n \"text\": \"public workoutJFrame() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fd3fbc31e582ba07f5cea3dc1418c327\",\n \"score\": \"0.62277067\",\n \"text\": \"private static void createAndShowGUI() {\\n JFrame frame = new JFrame(\\\"BorderLayout\\\");\\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\n //Set up the content pane.\\n addComponentsToPane(frame.getContentPane());\\n frame.pack();\\n //Display the window.\\n frame.setVisible(true);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9584a1259e54dc5b1b8d5bf592ea5d05\",\n \"score\": \"0.62218314\",\n \"text\": \"public void createWindow()\\n {\\n final int frameWidth = 800;\\n final int frameHeight = 500;\\n Dimension screenSize;\\n int desiredX, desiredY;\\n\\n try {\\n // Create the components of this frame\\n statusBar = new NCPStatusBar();\\n splitPane = new JSplitPane();\\n hostListPanel = new HostListPanel();\\n tabbedPanel = new TabbedPanel();\\n menuBar = new NCPMenuBar();\\n\\n // Set the parameters for this frame\\n this.getContentPane().setLayout(new BorderLayout());\\n this.setTitle(\\\"NTCSS Control Panel\\\");\\n\\n // Place the frame in the middle of the screen\\n this.setSize(new Dimension(frameWidth, frameHeight));\\n screenSize = (Toolkit.getDefaultToolkit()).getScreenSize();\\n desiredX = (screenSize.width/2) - (frameWidth/2);\\n desiredY = (screenSize.height/2) - (frameHeight/2);\\n setLocation(new Point(desiredX, desiredY));\\n\\n // Setup the proper menu and add it to the frame\\n tabbedPanel.updateMenu();\\n this.setJMenuBar((JMenuBar)menuBar);\\n\\n // Add the status bar to this frame\\n this.getContentPane().add(statusBar, BorderLayout.SOUTH);\\n\\n // Add the \\\"guts\\\" of the frame which is a split pane that contains\\n // the host list and the tabbed panel\\n splitPane.setOrientation(JSplitPane.HORIZONTAL_SPLIT);\\n splitPane.setLeftComponent(hostListPanel);\\n splitPane.setRightComponent(tabbedPanel);\\n this.getContentPane().add(splitPane, BorderLayout.CENTER);\\n\\n // Show the frame and validate it\\n this.setVisible(true);\\n this.validate();\\n }\\n catch (Exception e) {\\n Log.log(Log.CLT, Log.EXCP, this.getClass().getName(), \\\"createWindow\\\",\\n e.toString());\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ab597ce94436f78bfbd71e0905442ea\",\n \"score\": \"0.62213725\",\n \"text\": \"public static void CreateGUI() {\\n EventQueue.invokeLater( new Runnable() {\\n public void run() {\\n try {\\n FormInst GUIForm = new FormInst();\\n GUIForm.setVisible(true);\\n } catch (Exception e) {\\n e.printStackTrace();\\n }\\n }\\n });\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1981cacc190762a4a54c6c58d5b2a761\",\n \"score\": \"0.6215208\",\n \"text\": \"private void makeFrame() {\\r\\n\\t\\tframe = new JFrame(\\\"Fractal flake displayer\\\");\\r\\n\\t\\tJPanel contentPane = (JPanel)frame.getContentPane();\\r\\n\\t\\tcontentPane.setBorder(new EmptyBorder(6, 6, 6, 6));\\r\\n\\t\\t// Specify the layout manager with nice spacing\\r\\n\\t\\tcontentPane.setLayout(new BorderLayout(6, 6));\\r\\n\\t\\t// Create the flake canvas to the right\\r\\n\\t\\tcanvas = new Canvas(frame,Color.white);\\r\\n\\t\\tcontentPane.add(canvas,BorderLayout.CENTER);\\r\\n\\t\\tcontentPane.add(createInputPanel(),BorderLayout.WEST);\\r\\n\\t\\tframe.pack();\\r\\n\\t\\t\\r\\n\\t\\t// place the frame at the center of the screen and show\\r\\n\\t\\tDimension d = Toolkit.getDefaultToolkit().getScreenSize();\\r\\n\\t\\tframe.setSize(d.width,d.height);\\r\\n\\t\\tframe.setVisible(true);\\r\\n\\t\\tcanvas.setVisible(true);\\r\\n\\t\\tpreviousInputField = null;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"658ada08f048c7fe987f8ae6069b7ada\",\n \"score\": \"0.6205249\",\n \"text\": \"private static void createAndShowGUI() {\\n JFrame frame = new JFrame(\\\"HangledMan\\\");\\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\n\\n JOptionPane.showMessageDialog(frame,\\n \\\"Enter the right password and choose the difficulty level, then start the game!!!\\\",\\n \\\"Inane warning\\\",\\n JOptionPane.WARNING_MESSAGE);\\n\\n //Create and set up the content pane.\\n JComponent newContentPane = new PA09();\\n newContentPane.setOpaque(true); //content panes must be opaque\\n frame.setContentPane(newContentPane);\\n\\t\\t\\tframe.setLocation(100,70);\\n\\t\\t\\tframe.setSize(1200,500);\\n frame.setVisible(true);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2781baf6513f8ce56b070b06b7e42dda\",\n \"score\": \"0.62051034\",\n \"text\": \"private static JFrame createComponents() {\\r\\n\\t\\tJFrame frame = new JFrame();\\r\\n\\t\\tmainPanel = new JPanel();\\r\\n\\t\\tupperPanel = createUpperPanel();\\r\\n\\t\\tbuttonPanel = createButtons();\\r\\n\\t\\tcommandPanel = createCommandPanel();\\r\\n\\t\\tmainPanel.setLayout(new BorderLayout());\\r\\n\\t\\tmainPanel.add(buttonPanel,BorderLayout.CENTER);\\r\\n\\t\\tmainPanel.add(upperPanel,BorderLayout.NORTH);\\r\\n\\t\\tmainPanel.add(commandPanel,BorderLayout.SOUTH);\\r\\n\\t\\tframe.add(mainPanel);\\r\\n\\t\\treturn frame;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3e0b72f0437b7497ff9d825ceaf933bb\",\n \"score\": \"0.61913675\",\n \"text\": \"private JFrame getJFrame() {\\n\\t\\tif (jFrame == null) {\\n\\t\\t\\tjFrame = new JFrame();\\n\\t\\t\\tjFrame.setTitle(this.getClass().getSimpleName());\\n\\t\\t\\tjFrame.setContentPane(getJContentPane());\\n\\t\\t}\\n\\t\\treturn jFrame;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0b5a1d0d15c67520393cf9317a5a3554\",\n \"score\": \"0.6178955\",\n \"text\": \"public VCrear() {\\r\\n initComponents();\\r\\n setLocationRelativeTo(null);\\r\\n this.setDefaultCloseOperation(VCrear.DO_NOTHING_ON_CLOSE); // bloquear el boton cerrar\\r\\n //setVisible(true);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f3b474802a9e56f08470c6420017120d\",\n \"score\": \"0.61725926\",\n \"text\": \"public MineGUI() {\\n frame = new JFrame();\\n\\t\\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\n\\t\\tcreateMainMenu();\\n\\n\\t\\tframe.applyComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);\\n\\t\\tframe.setSize(650, 600);\\n frame.setVisible(true);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"81af744d621502b7de89309b4a7897de\",\n \"score\": \"0.61602443\",\n \"text\": \"public RecovJFrame() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4c404c2894c70034faf16ac519e0431\",\n \"score\": \"0.6157991\",\n \"text\": \"public void setUpFrame()\\n {\\n\\tjf = new JFrame( \\\"Instructions\\\" );\\n\\tjf.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );\\n\\tjf.setSize( 640, 480 );\\n\\t\\n\\tjf.setLocationRelativeTo( null );\\n\\tjf.setResizable( false );\\n\\tsetToVisible();\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"189008f669832bbc057c984afd035c6d\",\n \"score\": \"0.6157805\",\n \"text\": \"private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed\\n JFrame CreateAccount = new CreateAccount();\\n CreateAccount.setLocationRelativeTo(null);\\n CreateAccount.setVisible(true);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"79a2d63dd141b033fca247aa98359e89\",\n \"score\": \"0.6157257\",\n \"text\": \"private void initialize(String[] arguments) {\\r\\n\\t\\tthis.arg=arguments;\\r\\n\\t\\tfrmNouveauPraticien = new JFrame();\\r\\n\\t\\tfrmNouveauPraticien.setTitle(\\\"Nouveau Praticien\\\");\\r\\n\\t\\tfrmNouveauPraticien.setBounds(100, 100, 674, 458);\\r\\n\\t\\tfrmNouveauPraticien.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\r\\n\\t\\tfrmNouveauPraticien.getContentPane().setLayout(null);\\r\\n\\t\\tfrmNouveauPraticien.getContentPane().add(getPanel());\\r\\n\\t\\tfrmNouveauPraticien.getContentPane().add(getPanel_1());\\r\\n\\t\\tfrmNouveauPraticien.getContentPane().add(getPanel_16());\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8bed9444b5aa6e90f2b28aaba1504cfb\",\n \"score\": \"0.6156335\",\n \"text\": \"private void createMainDisplay() {\\n\\n\\t\\tJFrame.setDefaultLookAndFeelDecorated(true);\\t\\t\\t\\t\\t\\t\\t//gives alternative theme to panel visuals\\n\\t\\tframe \\t\\t\\t\\t= \\tnew JFrame \\t(\\\"Dentist Administration System\\\");\\n\\t\\tframe.setDefaultCloseOperation\\t\\t(JFrame.DO_NOTHING_ON_CLOSE);\\t\\t//prevents system exiting when x is clicked\\n\\t\\tframe.addWindowListener(new WindowAdapter() {\\t\\t\\t\\t\\t\\t\\t//this line and following inner class implements save option when x clicked\\n\\t\\t\\tpublic void windowClosing (WindowEvent event) {\\n\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\tcontroller.safeExitOption(controller);\\n\\t\\t\\t\\t} catch (IOException e) {\\n\\t\\t\\t\\t\\tJOptionPane.showMessageDialog(null, \\\"An error occurred, system could not exit safely\\\");\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\n\\t\\tframe.setSize\\t\\t\\t\\t\\t(390,450);\\n\\t\\tcreateMenuBar();\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t//create top menu bar of frame \\n\\n\\t\\ttp \\t\\t\\t\\t\\t= \\tnew JTabbedPane();\\n\\t\\t//creates tabs\\n\\t\\tpatientTP \\t\\t\\t= \\tnew JTabbedPane();\\n\\t\\tprocedureTP \\t\\t= \\tnew JTabbedPane();\\n\\t\\tpaymentTP \\t\\t\\t= \\tnew JTabbedPane();\\n\\t\\treportTP\\t\\t\\t=\\tnew JTabbedPane();\\n\\t\\ttp.addTab\\t\\t\\t\\t(\\\"Patient\\\", patientTP);\\n\\t\\ttp.addTab\\t\\t\\t\\t(\\\"Procedures\\\", procedureTP);\\n\\t\\ttp.addTab\\t\\t\\t\\t(\\\"Payments\\\", paymentTP);\\n\\t\\ttp.addTab\\t\\t\\t\\t(\\\"Reports\\\", reportTP);\\n\\n\\t\\t//classes which construct tab contents\\n\\t\\tnew CreateTabOne\\t\\t(patientTP, controller, this);\\n\\t\\tnew CreateTabTwo\\t\\t(procedureTP, controller, this);\\n\\t\\tnew CreateTabThree\\t\\t(paymentTP, controller);\\n\\t\\tnew CreateTabFour\\t\\t(reportTP, controller);\\n\\n\\t\\t//finalise frame and display\\n\\t\\tframe.getContentPane().add\\t\\t(tp); \\n\\t\\tframe.isAlwaysOnTop\\t\\t\\t\\t();\\n\\t\\tframe.setResizable\\t\\t\\t\\t(false);\\n\\t\\tframe.setLocationRelativeTo\\t\\t(null);\\n\\t\\tframe.setVisible\\t\\t\\t\\t(true);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6189b2a0ecbb2bf8b8a6400b1250cc55\",\n \"score\": \"0.6151975\",\n \"text\": \"public void createAndShowGUI() {\\n\\n //Create and set up the window.\\n frame = new JFrame(\\\"RCM\\\");\\n frame.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);\\n\\t\\t\\n\\t\\t//Add content to the window.\\n frame.add(new UserUI(rcmObj));\\n\\n //Display the window.\\n frame.setBounds(100, 100, 800, 600);\\n frame.setVisible(true);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5a0014a236dfd6c62f3c598af887b559\",\n \"score\": \"0.61397725\",\n \"text\": \"private static void createAndShowGUI() {\\n\\n // Create and set up the window\\n JFrame frame = new JFrame(\\\"RiverCrossing\\\");\\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\n\\n // Create and set up the content pane\\n RiverGUI newContentPane = new RiverGUI();\\n newContentPane.setOpaque(true);\\n frame.setContentPane(newContentPane);\\n\\n // Display the window\\n frame.setSize(800, 600);\\n frame.setVisible(true);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9299eb90e8a942dba622a3050460bfcd\",\n \"score\": \"0.6132346\",\n \"text\": \"private void jMenuItemCustomer1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItemCustomer1ActionPerformed\\n // TODO add your handling code here:\\n CustomerJFrame myFrame = new CustomerJFrame();\\n myFrame.setExtendedState(myFrame.getExtendedState() | javax.swing.JFrame.MAXIMIZED_BOTH);\\n myFrame.setVisible(true);\\n this.dispose();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a03a0a482b17fff549e3790d792aa66d\",\n \"score\": \"0.61305016\",\n \"text\": \"private void createNewFilePanel()\\n {\\n // The titled panel:\\n newFilePanel = new JPanel();\\n TitledBorder title = BorderFactory.createTitledBorder(\\\"Skapa ny fil\\\"); \\n newFilePanel.setBorder(title);\\n newFilePanel.setPreferredSize(new Dimension(400, 100));\\n \\n // The components of the inner panel:\\n filenameLabelNew = new JLabel(\\\"Skapa en ny fil:\\\");\\n filenameFieldNew = new JTextField(\\\"namn.csv\\\", 10);\\n createButton = new JButton(\\\"Skapa och exportera\\\");\\n \\n // Adding the components and the panel:\\n newFilePanel.add(filenameLabelNew);\\n newFilePanel.add(filenameFieldNew);\\n newFilePanel.add(createButton);\\n this.add(newFilePanel);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"30c545bf3381ba2e98219382a0a68c5d\",\n \"score\": \"0.6129838\",\n \"text\": \"public RegisterGUI() {\\n \\tmyFrame = new JFrame(\\\"Home\\\");\\n \\tmyFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\n createComponents();\\n myFrame.setSize(WIDTH, HEIGHT);\\n myFrame.setLocationRelativeTo(null);\\n myFrame.setVisible(true);\\n //setLayout(new BorderLayout());\\n //createComponents();\\n //setVisible(true);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f08315050735aa75da930f000dbbdf49\",\n \"score\": \"0.6124544\",\n \"text\": \"public void openNewCompetitionFrame() {\\n\\t\\tnewCompetition.openFrame();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6eca4254fc06c613bac25fa790f48ed6\",\n \"score\": \"0.61243314\",\n \"text\": \"private static void createAndShowGUI() {\\n\\t JFrame frame = new JFrame(\\\"TextSamplerDemo\\\");\\r\\n\\t frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\t \\r\\n\\r\\n\\t //Add content to the window.\\r\\n\\t final AboutDialog s = new AboutDialog(frame);\\r\\n\\t JButton a = new JButton(\\\"test\\\");\\r\\n\\t \\r\\n\\t a.addActionListener(new ActionListener(){\\r\\n\\t\\t\\t\\t@Override\\r\\n\\t\\t\\t\\tpublic void actionPerformed(ActionEvent e) {\\r\\n\\t\\t\\t\\t\\ts.setVisible(true);\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t}});\\r\\n\\t frame.setLayout(new FlowLayout());\\r\\n\\t frame.add(a);\\r\\n\\r\\n\\t frame.setPreferredSize(new Dimension(400, 150));\\r\\n\\t //Display the window.\\r\\n\\t frame.pack();\\r\\n\\t frame.setVisible(true);\\r\\n\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"953f8173373541f8721911229ff67176\",\n \"score\": \"0.61184585\",\n \"text\": \"public void createGUI()\\n\\t{\\n\\t\\tsuper.createFrame();\\n\\t\\t\\n\\t\\tBorder thickBorder = new LineBorder(Color.black, 2);\\n\\t\\t\\n\\t\\tFont buttonFont = new Font(\\\"Tahoma\\\", Font.BOLD, 20);\\n\\t\\tFont titleFont = new Font(\\\"Tahoma\\\", Font.BOLD, 35);\\n\\t\\t\\n\\t\\t//making the title font underlined\\n\\t\\tMap underlineTitle = titleFont.getAttributes();\\n\\t\\tunderlineTitle.put(TextAttribute.UNDERLINE, TextAttribute.UNDERLINE_ON);\\n\\t\\t\\n\\t\\tJLabel title = new JLabel(\\\"Fishing Database\\\");\\n\\t\\ttitle.setFont(titleFont.deriveFont(underlineTitle));\\n\\t\\ttitle.setSize(500,100);\\n\\t\\ttitle.setLocation(65,10);\\n\\t\\ttitle.setForeground(Color.white);\\n\\n\\t\\t//create buttons \\n\\t\\t\\n\\t\\tJButton getButton = new JButton(\\\"GET\\\");\\n\\t\\tgetButton.setBackground(new Color(59, 89, 182));\\n\\t\\tgetButton.setForeground(Color.WHITE);\\n\\t\\tgetButton.setFocusPainted(false);\\n\\t\\tgetButton.setFont(new Font(\\\"Tahoma\\\", Font.BOLD, 20));\\n\\t\\tgetButton.setSize(175,175);\\n\\t\\tgetButton.setLocation(50,150);\\n\\t\\tgetButton.setBorder(thickBorder);\\n\\t\\t\\n\\t\\t//execute when button is pressed\\n\\t\\tgetButton.addActionListener(new ActionListener() \\n\\t\\t{\\n\\t\\t\\tpublic void actionPerformed(ActionEvent event) \\n\\t\\t\\t{\\n\\t\\t\\t\\tgetGUI get = new getGUI();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t//dispose of current frame\\n\\t\\t\\t\\tmainFrame.dispose();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t//call getGUI method which displays getGUI interface\\n\\t\\t\\t\\tget.createGUI();\\n\\t\\t\\t} \\n\\t\\t});\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t\\tJButton addButton = new JButton(\\\"ADD\\\");\\n\\t\\taddButton.setBackground(new Color(59, 89, 182));\\n\\t\\taddButton.setForeground(Color.WHITE);\\n\\t\\taddButton.setFocusPainted(false);\\n\\t\\taddButton.setFont(buttonFont);\\n\\t\\taddButton.setSize(175,175);\\n\\t\\taddButton.setLocation(50,350);\\n\\t\\taddButton.setBorder(thickBorder);\\n\\t\\t\\n\\t\\t//execute when button is pressed\\n\\t\\taddButton.addActionListener(new ActionListener() \\n\\t\\t{\\n\\t\\t\\tpublic void actionPerformed(ActionEvent event) \\n\\t\\t\\t{\\n\\t\\t\\t\\taddGUI add = new addGUI();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t//dispose off current frame\\n\\t\\t\\t\\tmainFrame.dispose();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t//call addGUI method which displays addGUI interface\\n\\t\\t\\t\\tadd.createGUI();\\n\\t\\t\\t} \\n\\t\\t});\\n\\t\\t\\n\\t\\t\\n\\t\\tJButton removeButton = new JButton(\\\"REMOVE\\\");\\n\\t\\tremoveButton.setBackground(new Color(59, 89, 182));\\n\\t\\tremoveButton.setForeground(Color.WHITE);\\n\\t\\tremoveButton.setFocusPainted(false);\\n\\t\\tremoveButton.setFont(buttonFont);\\n\\t\\tremoveButton.setSize(175,175);\\n\\t\\tremoveButton.setLocation(250,150);\\n\\t\\tremoveButton.setBorder(thickBorder);\\n\\t\\t\\n\\t\\t//execute when button is pressed\\n\\t\\tremoveButton.addActionListener(new ActionListener() \\n\\t\\t{\\n\\t\\t\\tpublic void actionPerformed(ActionEvent event) \\n\\t\\t\\t{\\n\\t\\t\\t\\tremoveGUI remove = new removeGUI();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t//dispose of current frame\\n\\t\\t\\t\\tmainFrame.dispose();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t//call getGUI method which displays getGUI interface\\n\\t\\t\\t\\tremove.createGUI();\\n\\t\\t\\t} \\n\\t\\t});\\n\\t\\t\\n\\t\\tJButton editButton = new JButton(\\\"EDIT\\\");\\n\\t\\teditButton.setBackground(new Color(59, 89, 182));\\n\\t\\teditButton.setForeground(Color.WHITE);\\n\\t\\teditButton.setFocusPainted(false);\\n\\t\\teditButton.setFont(buttonFont);\\n\\t\\teditButton.setSize(175,175);\\n\\t\\teditButton.setLocation(250,350);\\n\\t\\teditButton.setBorder(thickBorder);\\n\\t\\t\\n\\t\\t//execute when button is pressed\\n\\t\\teditButton.addActionListener(new ActionListener() \\n\\t\\t{\\n\\t\\t\\tpublic void actionPerformed(ActionEvent event) \\n\\t\\t\\t{\\n\\t\\t\\t\\teditGUI edit = new editGUI();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t//dispose of current frame\\n\\t\\t\\t\\tmainFrame.dispose();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t//call getGUI method which displays getGUI interface\\n\\t\\t\\t\\tedit.createGUI();\\n\\t\\t\\t} \\n\\t\\t});\\n\\t\\t\\n\\t\\t//add elements to panel\\n\\t\\tmainPanel.add(title);\\n\\t\\tmainPanel.add(getButton);\\n\\t\\tmainPanel.add(addButton);\\n\\t\\tmainPanel.add(removeButton);\\n\\t\\tmainPanel.add(editButton);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c64bd26c8659405a55d5b63270c4f121\",\n \"score\": \"0.61182463\",\n \"text\": \"private void createAndShowGUI() {\\n\\n //Create and set up the window.\\n JFrame frame = new JFrame(\\\"Load Security Prices - Build \\\"+buildStr);\\n frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);\\n panScreen = new FileSelectWindow();\\n frame.getContentPane().add(panScreen);\\n\\n //Display the window.\\n frame.pack();\\n frame.setLocationRelativeTo(null);\\n frame.setVisible(true);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b2932decfa6f239798909a7603e198b1\",\n \"score\": \"0.6116606\",\n \"text\": \"private static void createAndShowInfo()\\n\\t\\t{\\n\\t\\t\\tJFrame info = new JFrame(\\\"Passenger Info\\\");\\n\\t\\t\\tinfo.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\n\\n\\t\\t\\t// Create and set up the content pane.\\n\\t\\t\\tJComponent myFrontEnd = new InfoFrontEnd();\\n\\t\\t\\tmyFrontEnd.setOpaque(true); // content panes must be opaque\\n\\t\\t\\tinfo.setContentPane(myFrontEnd);\\n\\n\\t\\t\\t// Display the window.\\n\\t\\t\\tinfo.pack();\\n\\t\\t\\tinfo.setVisible(true);\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a3723803f6f5c2dcc624d9b1e5be3fd\",\n \"score\": \"0.61085504\",\n \"text\": \"JFrame getJFrame() {\\r\\n if (jFrame == null) {\\r\\n jFrame = new JFrame();\\r\\n jFrame.setSize(new Dimension(842, 649));\\r\\n jFrame.setTitle(\\\".:: Ley de Bresenham ::.\\\");\\r\\n jFrame.setContentPane(getJContentPane());\\r\\n jFrame.setVisible(true);\\r\\n jFrame.setLocationRelativeTo(null);\\r\\n jFrame.setResizable(false);\\r\\n\\r\\n bres = new Bresenham(jPanel2.getSize());\\r\\n bres2 = new Bresenham2();\\r\\n jPanel2.add(bres);\\r\\n }\\r\\n return jFrame;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75bd5b3689eac9a3c51180b0642df380\",\n \"score\": \"0.6107808\",\n \"text\": \"private void createAndShowGUI() {\\n\\n\\t\\tsetSize(300, 100);\\n\\n\\t\\t// Display the window.\\n\\n\\t\\tsetVisible(true);\\n\\t\\tsetTitle(\\\"Armando Castro\\\");\\n\\n\\t\\tsetDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a5cd290f01b6e07b4fe9f9e9a26818b9\",\n \"score\": \"0.60988057\",\n \"text\": \"public void ventana(){//el constructor\\n ventana= new JFrame();//el objeto\\n ventana.setTitle(\\\"MASTER MADI\\\");//el titulo de la ventana\\n ventana.setSize(400,400);//el tamaño de la ventana\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d603450fdd2928616f51e2c6fbba8d21\",\n \"score\": \"0.60977757\",\n \"text\": \"public void newProject() {\\n\\t\\tif (checkCurrentProject()) {\\n\\t\\t\\tcloseProject();\\n\\t\\t\\tstatusBar.setFirstText(language.getText(\\\"newProject2\\\"),1500);\\n\\t\\t\\trefreshProjectInfos();\\n\\t\\t}\\n prjInfos = new PrjInfos();\\n showNewProjectWizard();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80d382379e4a563e77156770b033891f\",\n \"score\": \"0.608454\",\n \"text\": \"public jFrame1() {\\r\\n initComponents ();\\r\\n pack ();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"67c44c650b09e0554b196b75a38ec228\",\n \"score\": \"0.6074469\",\n \"text\": \"public NewJFrame() {\\n\\n initComponents();\\n //get data from DB\\n pane = getContentPane();\\n layout = new CardLayout();\\n pane.setLayout(layout);\\n\\n C = new Controller();\\n model1 = new DefaultListModel();\\n model2 = new DefaultListModel();\\n model3 = new DefaultListModel();\\n model4 = new DefaultListModel();\\n model5 = new DefaultListModel();\\n model6 = new DefaultListModel();\\n\\n resetModels();\\n \\n jList_AllreadySuggestedProposals.setModel(model1);\\n jList_FirstRoundPossibleProposals.setModel(model2);\\n jList_FirstRoundFinalProposals.setModel(model3);\\n jList_PropoalThree.setModel(model4);\\n jListPrimaryPThree.setModel(model5);\\n jListSecondaryPThree.setModel(model6);\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45ef667b275686ad084348c043a7f8b4\",\n \"score\": \"0.6070931\",\n \"text\": \"public MainJFrame() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45ef667b275686ad084348c043a7f8b4\",\n \"score\": \"0.6070931\",\n \"text\": \"public MainJFrame() {\\n initComponents();\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":344,"cells":{"query_id":{"kind":"string","value":"57139eb8a02efc2c6621261a828a5b9e"},"query":{"kind":"string","value":"Para las cadenas de caracteres"},"positive_passages":{"kind":"list like","value":[{"docid":"a187a1f752f53261cca86c4241f7f4af","score":"0.0","text":"@Override\n public void characters(char[] ch, int start, int length)\n throws SAXException{\n for (int i=start; i\", \"&gt;\");\n cadena=cadena.replace(\"'\", \"&apos;\");\n cadena=cadena.replace(\"\\\"\", \"&quot;\");\n }\n else{\n cadena=\"\";\n }\n return cadena; \n }","title":""},{"docid":"62884d258c4a88d01d9ff361c89a22bb","score":"0.582785","text":"char[] getTokenChars();","title":""},{"docid":"95ea3771a0c218bc5c5841cb41509077","score":"0.5813324","text":"private Characters() {\n }","title":""},{"docid":"fc97c3d571b76a17fe191eef7a7b548a","score":"0.57625186","text":"public String getCharacterSet();","title":""},{"docid":"e2fb4fee78347d09da4806c32953892f","score":"0.5737882","text":"public static void main(String[] args) {int harf = '1'; // ascii kodu 49\n// char ch = '2'; // ascii kodu 50\n//\n// System.out.println(harf+ch); //12 mi?, 3 mu? 99 mu? ==> 99\n// System.out.println(17 + 3); //20 \n// System.out.println(17 + \"\" + 3 ); //173\n// System.out.println(\"\" + 17 + 3); //173\n// System.out.println(17 + 3 + \"\"); //20\n// System.out.println(24 + 3 + 6 + \"Ali\" +10 + 5 ); //33Ali105\n// System.out.println(\"\" + 24 + 3 + 6 +10 ); //243610\n//\n// System.out.println(harf); // 1 mi? 49 mu? == 49\n// System.out.println(ch); // 2 mi? 50 mi? == 2\n//\n// char deneme = 50;\n//\n// System.out.println(deneme); // 2 mi? 50 mi? == 2\n// \n int unlem= '!';\n System.out.println('!' + \" Ascii Code Degeri : \" + unlem);\n \n int yuzde ='%';\n System.out.println('%' + \" Ascii Code Degeri : \" +yuzde);\n \n int star = '*';\n System.out.println('*' + \" Ascii Code Degeri : \" +star);\n \n int dolar = '$';\n System.out.println('$' + \" Ascii Code Degeri : \" +dolar);\n \n int et ='@';\n System.out.println('@' + \" Ascii Code Degeri : \" +et);\n \n int ve = '&';\n System.out.println('&' + \" Ascii Code Degeri : \" +ve);\n \n\t}","title":""},{"docid":"3fd777d44e418752a8c7051a13506aee","score":"0.5720287","text":"public void utimoCaracter() {\n\t\t// VALIDAMOS.\n\t\tchar ultimo = cadena.charAt(cadena.length() - 1);\n\t\t// IMPRIMIMOS.\n\t\tSystem.out.println(\"Ultimo caracter :\" + ultimo);\n\t}","title":""},{"docid":"c8b3a5706d93867a170c3f615e8eb378","score":"0.5701024","text":"private int chknm(String name) {\n // CharSequence CharSequence = CharSequence; \n \n if(name.length()!=0){\n Pattern special = Pattern.compile (\"[!@#$%&*()_+=|<>?{}\\\\[\\\\]~-]\");\n Matcher ch = special.matcher(name);\n if(ch.find()==true){\n JOptionPane.showMessageDialog(this, \"Name Can not Contains Special Character\");\n return 2;\n }\n }\n else\n return 2;\n return 0;\n }","title":""},{"docid":"422789b2186f3f5f574c32d0df114fa1","score":"0.5688471","text":"public void caracteristicasCoche()\n {\n System.out.println(\"Marca: \" + marca);\n System.out.println(\"Modelo: \" + modelo);\n System.out.println(\"Velocidad maxima: \" + velocidadMaxima + \"km/h\");\n System.out.println(\"Año de fabricacion: \" + anoFabricacion);\n System.out.println(\"Numero de bastidor: \" + numeroDeBastidor);\n }","title":""},{"docid":"d7103a674f491ac69cceb0b4e0bae099","score":"0.5668582","text":"private static char[] desguaza(String palAzar){\n char[] letras;\n letras = new char[palAzar.length()];\n for(int i = 0; i < palAzar.length(); i++){\n letras[i] = palAzar.charAt(i);\n }\n return letras;\n }","title":""},{"docid":"0cef71e34e3d1fcee3571bdd80078a49","score":"0.5634267","text":"@Override\n public Character visitCharLiteral(final IRNode e) {\n\tString value = CharLiteral.getToken(e);\n return Character.valueOf(value.charAt(1));\n }","title":""},{"docid":"c42926d21906c2343aa87ac3b4817a2d","score":"0.5629575","text":"public String getConsonants() {\n\t\tchar c[]=curString.toCharArray();\n\t\tStringBuilder conso = new StringBuilder();\n\t\tString consostr=\"\";\n\t\tfor (int i=0;i= 48 && caracter <= 57 || caracter == 46 || caracter == 101)\n\t\t\treturn 2;\n\t\t//revisa que sea +/-\n\t\telse if(caracter == 43 || caracter == 45)\n\t\t\treturn 3;\n\t\t//revisa que sea * /\n\t\telse if(caracter == 42 || caracter == 47)\n\t\t\treturn 4;\n\t\t//revisa que sea ^\n\t\telse if(caracter == 94)\n\t\t\treturn 5;\n\t\t//revisa que sea n x,y,z\n\t\telse if(caracter >= 120 && caracter <= 122)\n\t\t\treturn 6;\n\t\t//si es un funcion cualquier carcter exepto el espacio\n\t\telse if(caracter != 32)\n\t\t\treturn 7;\n\t\telse\n\t\t\treturn 8;\n\t}","title":""},{"docid":"34913b2061acc3058c328d6416a1c158","score":"0.55759144","text":"public static void main(String[] args) {\n char myReg = '\\u00AE';\n System.out.println(myReg);\n }","title":""},{"docid":"3ef3aff91136d45df5cc42d365d817d8","score":"0.55567497","text":"public static void main(String[] args) {\n char c = 'A';\r\n char ccc = 65;//다이렉트로 데이터 넣기는 가능\r\n char cc = (char)(c+32); //(소문자처리) 연산처리에는 형변화 필요 \r\n System.out.println(cc);\r\n \r\n System.out.println(c >= 'A' && c <='Z' ? \"대문자\":\"소문자\");\r\n// cc >= 'A' && cc <= 'Z' ==> 대문자\r\n// cc >= 'a' && cc <= 'z' ==> 소문자\r\n\t}","title":""},{"docid":"053219a87f2757c70436a47e79074c93","score":"0.5528775","text":"@Test\n public void charAt() throws InterruptedException {\n\n String str = \"Exercitii Java!\";\n System.out.println(\"String initial = \" + str);\n // afiseaza caracterele de pe pozitia 0 si 10\n int index1 = str.charAt(0);\n int index2 = str.charAt(10);\n\n // printeaza rezultatul.\n System.out.println(\"Caracterul de pe pozitia 0 este \" + (char) index1);\n System.out.println(\"Caracterul de pe pozitia 10 este \" + (char) index2);\n\n }","title":""},{"docid":"6f05779497c39066d663674bc9b02b16","score":"0.5524957","text":"private String[] getConvertedChars()\r\n {\r\n int ascii;\r\n String binary;\r\n int numberOfChars = text.length();\r\n String[] str = new String[numberOfChars];\r\n\r\n for(int i = 0; i < numberOfChars; i++) {\r\n str[i] = \"\";\r\n // Convert char to ascii\r\n ascii = (int)text.charAt(i);\r\n // Convert ascii to binary\r\n binary = Integer.toBinaryString(ascii);\r\n // Ensure we have 8 bits\r\n while (binary.length() < 8) {\r\n binary = \"0\" + binary;\r\n }\r\n // Convert binary values to strings: true = \"*\" or false = \" \"\r\n for (int j = 0; j < binary.length(); j++) {\r\n if (binary.charAt(j) == '1') {\r\n str[i] += BLACK_CHAR;\r\n } else {\r\n str[i] += WHITE_CHAR;\r\n }\r\n }\r\n }\r\n\r\n return str;\r\n }","title":""},{"docid":"d2808b2c9ccc157d2e2d8e1e14b5ea8f","score":"0.55052555","text":"private Color(char c) {\n\t\tthis.caracter = c;\n\t}","title":""},{"docid":"df7af6c75673a46c2034dae248b806a5","score":"0.5489124","text":"public void esCapicua() {\n\t\tint cant = 0;\n\t\t// VALIDAMOS.\n\t\tfor (int i = 0; i < cadena.length() / 2; i++) {\n\t\t\t// VALIDAMOS.\n\t\t\tif (cadena.charAt(i) == cadena.charAt(cadena.length() - 1 - i)) {\n\t\t\t\tcant++;\n\t\t\t}\n\t\t}\n\t\t// VALIDAMOS.\n\t\tif (cant == cadena.length() / 2) {\n\t\t\tSystem.out.print(\"Es capic˙a la cadena \" + cadena);\n\t\t} else {\n\t\t\tSystem.out.print(\"No es capic˙a la cadena : \" + cadena);\n\t\t}\n\t}","title":""},{"docid":"87be0f7b651eb6249bbffad127da38cd","score":"0.54877055","text":"public static String m9264c(String str) {\n if (str == null) {\n return \"\";\n }\n StringBuilder sb = new StringBuilder();\n String a = m9260a(str);\n int length = a.length();\n int i = 0;\n while (i < length) {\n char charAt = a.charAt(i);\n if (charAt == '*') {\n sb.append(\"%2A\");\n } else if (charAt == '+') {\n sb.append(\"%20\");\n } else {\n if (charAt == '%') {\n int i2 = i + 2;\n if (i2 < length && a.charAt(i + 1) == '7' && a.charAt(i2) == 'E') {\n sb.append('~');\n i = i2;\n }\n }\n sb.append(charAt);\n }\n i++;\n }\n return sb.toString();\n }","title":""},{"docid":"8488e9a5adedbf9ea6fc33379b672be6","score":"0.5481868","text":"public static void main(String[] args) {\n\t\tString titulo = \"casa\";\t\t\n\t\t\n//\t\tArray que va a albergar cada uno de los caracteres del titulo del libro\n\t\tchar ArrayTitulo[];\t\t\n//\t\tDeclaracion del array\n\t\tArrayTitulo = new char[titulo.length()];\t\n\t\t\n//\t\tBucle que va a insertar cada caracter del titulo en una casilla del array\n\t\tfor (int i = 0; i < titulo.length(); i++) {\t\t\n\t\t\tArrayTitulo[i] = titulo.charAt(i);\n\t\t}\n\t\t\n//\t\tOJO, que este metodo devulve la posici�n de ese caracter en ASCII\n//\t\tSystem.out.println(titulo.codePointAt(2));\n\t\t\n\t\t\n\t\tString abcde = \"abcdefghijklmn�opqrstuvwxyz\";\n\t\tSystem.out.println(abcde.indexOf(ArrayTitulo[2]));\n\t\t\n\t\tArrayList Repeticiones = new ArrayList();\n\t\t\n\t\tint numRepeticiones;\n\t\tint cont = 0;\n\t\t\n//\t\tBucle for para calcular la distancia entre un caracter y el siguiente con respecto al indice del string \"abcde\" teniendo en cuenta las excepciones. El bucle <> agrega a \n//\t\tuna ArrayList cada caracter del titulo el numero de veces la distacia que se ha calculado antes.\n\t\tfor (int i = 0; i < ArrayTitulo.length; i++) {\n\t\t\t//OJO, POSIBLE PROBLEMA SI EL TITULO CONTIENE DOS LETRAS SEGUIDAD IGUALES como \"rr\" por ejemplo\n\t\t\tif (i < (ArrayTitulo.length - 1)) {\n\t\t\t\tif((abcde.indexOf(ArrayTitulo[i+1]) - abcde.indexOf(ArrayTitulo[i]))>=0) {\t\t\t\n\t\t\t\t\tnumRepeticiones = abcde.indexOf(ArrayTitulo[i+1]) - abcde.indexOf(ArrayTitulo[i]);\n\t\t\t\t}else {\n\t\t\t\t\tnumRepeticiones = abcde.indexOf(ArrayTitulo[i]) - abcde.indexOf(ArrayTitulo[i+1]);\n\t\t\t\t}\n\t\t\t}else {\n\t\t\t\tif((abcde.indexOf(ArrayTitulo[i]) - abcde.indexOf(ArrayTitulo[0]))>=0) {\t\t\t\n\t\t\t\t\tnumRepeticiones = abcde.indexOf(ArrayTitulo[i]) - abcde.indexOf(ArrayTitulo[0]);\n\t\t\t\t}else {\n\t\t\t\t\tnumRepeticiones = abcde.indexOf(ArrayTitulo[0]) - abcde.indexOf(ArrayTitulo[i]);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\t\n\t\t\twhile(cont < numRepeticiones) {\n\t\t\t\tRepeticiones.add(ArrayTitulo[i]);\n\t\t\t\tcont++;\n\t\t\t}\n\t\t\tcont = 0;\n\t\t}\n\t\t\n\t\tSystem.out.println(Repeticiones);\n\n//\t\tPASO 2\n\t\t\n\t\t\n//\t\tConvierto el ArrayList a un array de tipo char\n\t\tchar[] ArrayRepeticiones = new char[Repeticiones.size()];\t\t\n\t\tfor(int i = 0; i < Repeticiones.size(); i++) {\n\t\t ArrayRepeticiones[i] = Repeticiones.get(i);\n\t\t}\n\t\t\n//\t\tCreo un array de tipo int\n\t\tint[] ArrayAscii = new int[ArrayRepeticiones.length];\t\n\n//\t\tIntroduzco a la vez que hago un cast de char a int(me da el valor ASCII del caracer) cada elemento de un array a otro\n\t\tfor (int i = 0; i < ArrayRepeticiones.length; i++) {\t\t\t\n\t\t\tArrayAscii[i] = (int)ArrayRepeticiones[i];\n//\t\t\tSystem.out.println(ArrayAscii[i]);\n\t\t}\n//\t\tPASO 3\n\t\t\n//\t\tBucle que suma las cifras que conforman cada int del ArrayAscii y sustituye el valor en el Array\n\t\tfor (int i = 0; i < ArrayAscii.length; i++) {\t\t\t\t\t\n\t\t\tArrayAscii[i] = (ArrayAscii[i]%10) + ((ArrayAscii[i]/10)%10) + (((ArrayAscii[i]/10)/10)%10);\n//\t\t\tSystem.out.println(ArrayAscii[i]);\n\t\t}\n\t\t\n//\t\tPASO 4\n\t\t\n//\t\tAplico mod 10 a cada elemento del ArrayAscii\n\t\tfor (int i = 0; i < ArrayAscii.length; i++) {\t\t\t\t\t\n\t\t\tArrayAscii[i] = ArrayAscii[i]%10 ;\n//\t\t\tSystem.out.println(ArrayAscii[i]);\n\t\t}\n\n//\t\tPASO 5\t\n\t\tArrayList Reduccion = new ArrayList();\n\t\t\n//\t\tfor (int i = 0; i < ArrayAscii.length; i++) {\n//\t\t\tint contad=0;\n//\t\t\tfor (int j = 0; j < ArrayAscii.length; j++) {\n//\t\t\t\tif(i < (ArrayAscii.length-1)) {\n//\t\t\t\t\tif (ArrayAscii[i] == ArrayAscii[j] && contad < ArrayAscii[i] && ArrayAscii[i] == ArrayAscii[i-1]){\n//\t\t\t\t\t\tcontad++;\n//\t\t\t\t\t\tReduccion.add(i);\n//\t\t\t\t\t}\n//\t\t\t\t}else {\n//\t\t\t\t\t\n//\t\t\t\t}\n//\t\t\t}\n//\t\t\t\t\n//\t\t}\n\t\t\n\t\tArrayList tipos = new ArrayList();\n\t\t\n//\t\tfor (int i = 0; i < ArrayAscii.length; i++) {\n//\t\t\tif (i == 0) {\n//\t\t\t\tReduccion.add(i);\n//\t\t\t\ttipos.add(new Tipo_de_Contador(ArrayAscii[i]));\n//\t\t\t\ttipos.get(0).sumarAlContador();\n//\t\t\t}else {\n//\t\t\t\tif (ArrayAscii[i] == ArrayAscii[i-1]) {\n//\t\t\t\t\tb.sumarAlContador();\n//\t\t\t\t\tif (b.getCont().getContador() < ArrayAscii[i]) {\n//\t\t\t\t\t\tReduccion.add(i);\n//\t\t\t\t\t}\n//\t\t\t\t}\n//\t\t\t}\n//\t\t}\n//\t\t\n//\t\tfor (int i = 0; i < ArrayAscii.length; i++) {\n//\t\t\tif (i == 0) {\n//\t\t\t\tReduccion.add(i);\n//\t\t\t\ttipos.add(new Tipo_de_Contador(ArrayAscii[i]));\n//\t\t\t\ttipos.get(0).sumarAlContador();\n//\t\t\t}else {\n//\t\t\t\tif (ArrayAscii[i] == ArrayAscii[i-1]) {\n//\t\t\t\t\tb.sumarAlContador();\n//\t\t\t\t\tif (b.getCont().getContador() < ArrayAscii[i]) {\n//\t\t\t\t\t\tReduccion.add(i);\n//\t\t\t\t\t}\n//\t\t\t\t}\n//\t\t\t}\n//\t\t}\n\t\t\n//\t\thttps://es.stackoverflow.com/questions/42977/cu%C3%A1l-es-la-soluci%C3%B3n-a-todos-los-errores-nullpointerexception-presentes-pasados\n\t\t\t\n\t\tfor (int i = 0; i < ArrayAscii.length; i++) { \t\t//OJO, REVISAR SI ES LOGICA EL \"-1 \"DEL \"HASTA...\"\n\t\t\tif (i == 0) {\n\t\t\t\tReduccion.add(i);\n\t\t\t\ttipos.add(new Tipo_de_Contador(ArrayAscii[i]));\n\t\t\t\ttipos.get(0).sumarAlContador();\n\t\t\t\tSystem.out.println(tipos.get(0).getNumero());\n\t\t\t\tSystem.out.println(\"Tipo(\"+tipos.get(i).getNumero()+\"). Contador va por: \"+tipos.get(i).getCont().getContador());\n\t\t\t}else {\n\t\t\t\tboolean relleno=false;\n\t\t\t\tfor (int j = 0; j < tipos.size() - 1; j++) {\t\t\t\t//OJO, REVISAR SI ES LOGICA EL \"-1 \"DEL \"HASTA...\"\n\t\t\t\t\tif (ArrayAscii[i] == tipos.get(j).getNumero()) {\t\t//va a ver si es de un tipo de contador\n\t\t\t\t\t\trelleno=true;\n\t\t\t\t\t\tif (ArrayAscii[i] == ArrayAscii[i-1]) {\t\t\t\t//si es igual al anterior elemento del ArrayAscii, lo guarda en el mismo tipo de contador, sino crea uno nuevo\n\t\t\t\t\t\t\ttipos.get(j).sumarAlContador();\n\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\ttipos.add(new Tipo_de_Contador(ArrayAscii[i]));\n\t\t\t\t\t\t\ttipos.get(j+1).sumarAlContador();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}if (relleno == false) {\n\t\t\t\t\ttipos.add(new Tipo_de_Contador(ArrayAscii[i]));\n\t\t\t\t\ttipos.get(i).sumarAlContador();\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"Tipo(\"+tipos.get(i).getNumero()+\"). Contador va por: \"+tipos.get(i).getCont().getContador());\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tfor (int i = 0; i < tipos.size(); i++) {\n\t\t\tint contad=0;\n\t\t\tdo {\n\t\t\t\tcontad++;\n\t\t\t\tReduccion.add(tipos.get(i).getNumero());\n\t\t\t}while(contad<=tipos.get(i).getCont().getContador());\n\t\t\tSystem.out.println(Reduccion.get(i));\n\t\t}\n\t\t\n\t\t\n\t}","title":""},{"docid":"9499261d429ca328da9ee5f0367ce700","score":"0.5467446","text":"public static String dcdVille(String v)\n {\n Map> mvreg=Variable.getRegion();\n String[] str=new String[2];\n str[0]=\" \";\n str[1]=\"-\";\n\n char[] toChAr = v.toCharArray();\n str[0]+=toChAr[0];str[1]+=toChAr[0];\n for(int i=1; i= 65 && cadena.charAt(i) <=90) || (cadena.charAt(i) >= 97 && cadena.charAt(i) <= 122)) ) {\r\n\t\tresult = false;\r\n\t\t} \r\n\t\t} \r\n\t\treturn result;\r\n\t\t}","title":""},{"docid":"b472bdf91cc3a409def72be87f8d771d","score":"0.5448061","text":"public static PSChar cr() { return PSChar.with( 13 ); }","title":""},{"docid":"e2633c6ef431b343339d7aa5a8649753","score":"0.54374576","text":"String getC1_varchar40();","title":""},{"docid":"f19ebe81689a2d556e4512b474ec4dcf","score":"0.5436786","text":"String getC13_varchar512();","title":""},{"docid":"ce7fe85c5c4e639b1f0ccfe3b4e17dff","score":"0.5416241","text":"public char[] getForbiddenChars() {\n\t\tString forbiddenChars = this.getInternalProperty(PropertiesManager.INTERNAL_KEYS.FORBIDDEN_CHARS);\n\t\tString keySeparator = this.getInternalProperty(PropertiesManager.INTERNAL_KEYS.KEY_SEPARATOR);\n\t\tString sequence = forbiddenChars + keySeparator;\n\n\t\treturn sequence.toCharArray();\n\t}","title":""},{"docid":"3050bc833946754c3deaf3938a6f4239","score":"0.54136866","text":"public String codificar(String fraseEntrada){\n String resultado = \"\";\n fraseEntrada = fraseEntrada.toLowerCase();\n char caracter = 0;\n int posChar;\n for (int i = 0; i < fraseEntrada.length(); i++) {\n caracter = fraseEntrada.charAt(i);\n if (String.valueOf(caracter).equals(\" \") == true || String.valueOf(caracter).equals(\"\\n\") == true) {\n if(String.valueOf(caracter).equals(\" \")){\n try{\n resultado = resultado.substring(0,resultado.length()-1)+\"*\";\n }catch(Exception e){}\n }else{\n resultado += \"\\n\";\n }\n }else{\n posChar = alfabeto.indexOf(caracter);\n try {\n resultado += numerosBinarios[posChar] + \" \";\n }catch (Exception e){}\n }\n }\n return resultado;\n }","title":""},{"docid":"ba25e3bd8f1abf02f537afc999b7c5fb","score":"0.54057235","text":"public void conGuiones() {\n\t\tSystem.out.print(\"Separado por Guiones : \");\n\t\t// VALIDAMOS.\n\t\tfor (int i = 0; i < cadena.length(); i++) {\n\t\t\tSystem.out.print(cadena.charAt(i) + \"-\");\n\t\t}\n\t\tSystem.out.println();\n\t}","title":""},{"docid":"7abea694be006c1e287f51b77b58cc29","score":"0.540344","text":"@Test public void representationOfCharacter() throws Exception {\n assertEquals(\"s:1:\\\"X\\\";\", representationOf(new Character('X')));\n }","title":""},{"docid":"26bbd92ff877da2a0c86ecf8ddc83d7c","score":"0.5402154","text":"String getC2_varchar40();","title":""},{"docid":"11172eb887003346abd1a470fbc8605d","score":"0.53832656","text":"String getC26_varchar4096();","title":""},{"docid":"18b4f78aedf452585ccd75d20cd8cd16","score":"0.53820145","text":"public static void main(String[] args) {\n String s = \"%CE%AA%C1%CB%C4%FA%B5%C4%D5%CA%BA%C5%B0%B2%C8%AB%A3%AC%C7%EB%CA%E4%C8%EB%D1%E9%D6%A4%C2%EB\";\r\n String n = \"绫致\";\r\n System.out.println(decode(s));\r\n System.out.println(encode(n));\r\n }","title":""},{"docid":"2c18e77608a50c004965d8833348ee56","score":"0.53712577","text":"public void obtenerLetras(char letras[], String numero){\n\t\tfor(int i=0;i asCharList(String s) {\n ArrayList result = new ArrayList<>();\n for (char c : s.toCharArray()) {\n result.add(c);\n }\n return result;\n }","title":""},{"docid":"500e567a05e1072b0ae414f31e50618b","score":"0.52017844","text":"private char getSpecial(char ch) {\r\n switch (ch) {\r\n case 'b':\r\n return (char) 8;\r\n case 'r':\r\n return (char) 13;\r\n case 'n':\r\n return (char) 10;\r\n case 'f':\r\n return (char) 12;\r\n case 't':\r\n return (char) 9;\r\n default:\r\n return ch;\r\n }\r\n }","title":""},{"docid":"f4e9ba3bbcfeb5dd33a3fc4f04f3e653","score":"0.5199574","text":"String getC23_varchar4096();","title":""},{"docid":"11f64dac3a1dbd4b47969fc313ec3b03","score":"0.5199504","text":"private String Esperar_Texto() {\n\n String ret = \"\";\n\n while (mIndex < mTamanho) {\n\n String l = String.valueOf(mConteudo.charAt(mIndex));\n\n if (l.contentEquals(\"'\")) {\n mIndex += 1;\n ret = BuscandoTexto(\"'\");\n break;\n } else if (l.contentEquals(\"\\\"\")) {\n mIndex += 1;\n ret = BuscandoTexto(\"\\\"\");\n break;\n } else if (l.contentEquals(\" \")) {\n } else if (l.contentEquals(\"\\n\")) {\n } else if (l.contentEquals(\"\\t\")) {\n } else {\n break;\n }\n\n mIndex += 1;\n\n }\n\n return ret;\n }","title":""},{"docid":"75797579f3e8dba76293d0620245b208","score":"0.5198834","text":"public void ejercicio04() {\n\t\tcabecera(\"04\", \"\");\n\n\t\t// Inicio modificacion\n\t\tString cadena;\n\t\tSystem.out.println(\"Introduzca una cadena\");\n\t\tcadena=Teclado.readString();\n\t\tswitch(cadena.charAt(0)){\n\t\t\tcase 'a': case 'e': case 'i': case 'o': case 'u':\n\t\t\t\tSystem.out.println(\"Vocal minuscula\");\n\t\t\t\tbreak;\n\t\t\tcase 'A': case 'E': case 'I': case 'O': case 'U':\n\t\t\t\tSystem.out.println(\"Vocal mayuscula\");\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tSystem.out.println(\"Otro caracter\");\n\t\t\t\tbreak;\n\t\t}\n\t\t\n\t\t// Fin modificacion\n\t}","title":""},{"docid":"6339f4d7e38db01b4d299b2145010a69","score":"0.51953053","text":"public void validarCaracteres() {\n if (!query.equals(\"\")) {\n\n /*Validacion si en los caracteres ingresados se encuentran los caracteres especiales # o @ los cuales no se aceptan*/\n if (query.indexOf(\"#\") == -1) {\n\n if (query.indexOf(\"@\") == -1) {\n /*Llamamos el metodo buscar con el boton enter del teclado*/\n buscar();\n } else {\n Toast toast1 = Toast.makeText(getApplicationContext(), \"Caracter @ no permitido\", Toast.LENGTH_SHORT);\n toast1.setGravity(Gravity.CENTER | Gravity.CENTER, 0, 0);\n editTextBuscar.setText(\"\");\n toast1.show();\n }\n } else {\n\n Toast toast1 = Toast.makeText(getApplicationContext(), \"Caracter # no permitido\", Toast.LENGTH_SHORT);\n toast1.setGravity(Gravity.CENTER | Gravity.CENTER, 0, 0);\n editTextBuscar.setText(\"\");\n toast1.show();\n }\n }\n\n }","title":""},{"docid":"47c17623b621e7d7462332cdd649e951","score":"0.51947457","text":"String getC12_varchar512();","title":""},{"docid":"3ec232615ef62d884e1f82a03ac04956","score":"0.5193117","text":"private static Map mapCharToEscape()\n {\n Map h = new HashMap(9);\n h.put(new Character('\\\\'), \"\\\\\\\\\");\n h.put(new Character('\"'), \"\\\\\\\"\");\n h.put(new Character('\\''), \"\\\\'\");\n h.put(new Character('\\b'), \"\\\\b\"); // backspace\n h.put(new Character('\\u000b'), \"\\\\v\"); // vertical tab\n h.put(new Character('\\u000c'), \"\\\\f\"); // form feed\n h.put(new Character('\\n'), \"\\\\n\");\n h.put(new Character('\\r'), \"\\\\r\");\n h.put(new Character('\\t'), \"\\\\t\");\n //h.put(new Character('/'), \"\\\\/\");\n return h;\n }","title":""},{"docid":"1513276829d7fda3c8651fcbcb90213b","score":"0.5192524","text":"public String decodificar(String fraseEntrada){\n llenado();\n fraseEntrada = fraseEntrada.toLowerCase();\n fraseEntrada = fraseEntrada.replace(\"*\",\"cambio\");\n String[] aux = fraseEntrada.split(\"cambio\");\n String[] aux2 ;\n int pos =0;\n String resultado = \"\";\n int posChar;\n\n for (int i = 0; i < aux.length; i++) {\n aux2 = aux[i].split(\" \");\n for (int y = 0; y < aux2.length; y++) {\n if (String.valueOf(aux2[y].charAt(0)).equals(\"\\n\")) {\n try{\n aux2[y] = String.valueOf(aux2[y]).substring(1,aux2[y].length());\n resultado += \"\\n\";\n }catch(Exception e){}\n }\n pos = numBinarios.indexOf(aux2[y]);\n resultado += alfabeto.charAt(pos);\n }\n resultado += \" \";\n }\n return resultado;\n }","title":""},{"docid":"430a5a808a23ded99e0d4911b81ddc88","score":"0.518988","text":"private static String encrpytPaswwordVal(String conPassw, int key) {\n\n conPassw = conPassw.toLowerCase();\n String c = \"\";\n \n for (int i = 0; i < conPassw.length(); i++) {\n \n int pos = strAll.indexOf(conPassw.charAt(i));\n int keyValue = (pos + key) % 26;\n char repValue = strAll.charAt(keyValue);\n c = c + repValue;\n }\n return c;\n }","title":""},{"docid":"8e6a61b3db605a46491bcc1a5e00a807","score":"0.51859486","text":"public char charAt(int paramInt)\n/* */ {\n/* 645 */ if ((paramInt < 0) || (paramInt >= this.value.length)) {\n/* 646 */ throw new StringIndexOutOfBoundsException(paramInt);\n/* */ }\n/* 648 */ return this.value[paramInt];\n/* */ }","title":""},{"docid":"5a76790c9ecc73b8e14b1f9a90dc6162","score":"0.5184819","text":"public int getCharValue() {return charValue;}","title":""},{"docid":"5f07801cd8310b6d2687f8d52595b264","score":"0.5184174","text":"public char getChar(){return character;}","title":""},{"docid":"ca0a66b0b543a72cab7b47fdfa85a1ea","score":"0.5180467","text":"@Test\n public void testPasarMayus() {\n // pasarMayus\n char c = ' ';\n char expResult = ' ';\n char result = EjecutarEnigma.pasarMayus(c);\n assertEquals(expResult, result);\n }","title":""},{"docid":"075c9ba91854c74ef28431bf1bf69d9e","score":"0.5177171","text":"public String getReplacableChars()\n {\n return( m_replacableChars );\n }","title":""},{"docid":"7c6ba7c7b23c25366f5b04e6a62d047e","score":"0.5175115","text":"VestaChars(int i) {\r\n charValue = i;\r\n }","title":""},{"docid":"e2f74170c7963caebbe7f3d7e92f96c7","score":"0.5173377","text":"String getC3_varchar40();","title":""},{"docid":"6110fd87c842bdcbe1376d3631e49abb","score":"0.5169788","text":"public static void testContaParole() {\r\n\t\tSystem.out.println(\"contaParole (\\\"ciao\\\") : [1] = \" + contaParole(\"ciao\"));\r\n\t\t\r\n\t\t/* Stringa s con due parole */\r\n\t\tSystem.out.println(\"contaParole (\\\"ciao amico\\\") : [2] = \" + contaParole(\"ciao amico\"));\r\n\t\t\r\n\t\t/* Stringa s con una sola parola ma che finisce con uno spazio */\r\n\t\tSystem.out.println(\"contaParole (\\\"ciao \\\") : [1] = \" + contaParole(\"ciao \"));\r\n\t\t\r\n\t\t/* Stringa s con una sola parola ma che inizia con uno spazio */\r\n\t\tSystem.out.println(\"contaParole (\\\" ciao\\\") : [1] = \" + contaParole(\" ciao\"));\r\n\t\t\r\n\t\t/* Stringa s con due parole separate da doppio spazio */\r\n\t\tSystem.out.println(\"contaParole (\\\"ciao amico\\\") : [2] = \" + contaParole(\"ciao amico\"));\r\n\t\t\r\n\t\t/* Stringa s composta da una sola lettera */\r\n\t\tSystem.out.println(\"contaParole (\\\"c\\\") : [1] = \" + contaParole(\"c\"));\r\n\t\t\r\n\t\t/* Stringa s con una parola con altri caratteri */\r\n\t\tSystem.out.println(\"contaParole (\\\"aspetta…Eccola!\\\") : [1] = \" + contaParole(\"aspetta…Eccola!\"));\r\n\t\t\r\n\t\t/* Stringa s 4 parole */\r\n\t\tSystem.out.println(\"contaParole (\\\"quant’è lunga questa stringa\\\") : [4] = \" + contaParole(\"quant’è lunga questa stringa\"));\r\n\t\t\r\n\t\t/* Stringa s con diversi spazi e diverse parole */\r\n\t\tSystem.out.println(\"contaParole (\\\" guarda quante complicazioni \\\") : [3] = \" + contaParole(\" guarda quante complicazioni \"));\r\n\t\t\r\n\t\t/* Stringa con solo spazi */\r\n\t\tSystem.out.println(\"contaParole (\\\" \\\") : [0] = \" + contaParole(\" \"));\r\n\t\t\r\n\t}","title":""},{"docid":"7f5078a4ed1648774b86d9b4e5d9539d","score":"0.5166533","text":"public void setChar(char c){this.character=c;}","title":""},{"docid":"05ed199ef3297e44740e32e47d8f24fc","score":"0.5161087","text":"private char escapeChar()\n {\n int ofs = image.length() - 1;\n switch ( image.charAt(ofs) ) {\n case 'n': return '\\n';\n case 'r': return '\\r';\n case 't': return '\\t';\n case 'b': return '\\b';\n case 'f': return '\\f';\n case '\\\\': return '\\\\';\n case '\\'': return '\\'';\n case '\\\"': return '\\\"';\n }\n\n // Otherwise, it's an octal number. Find the backslash and convert.\n while ( image.charAt(--ofs) != '\\\\' )\n {}\n int value = 0;\n while ( ++ofs < image.length() )\n value = (value << 3) | (image.charAt(ofs) - '0');\n return (char) value;\n }","title":""},{"docid":"e674f1a70259c29120d694885b8cd31f","score":"0.51567477","text":"String getC4_varchar40();","title":""},{"docid":"a3141b498965c90920f0370096afec01","score":"0.5155128","text":"private String charFor(int i, int j) {\r\n int v = getValue(i, j);\r\n if(v < 0) {\r\n return \"?\";\r\n } else if(v == 0) {\r\n return \" \";\r\n } else if(v < 36) {\r\n return Character.toString(Character.forDigit(v, 36)).toUpperCase();\r\n } else {\r\n return \"?\";\r\n }\r\n }","title":""},{"docid":"96d632f9aa076972a445bb576f645ff1","score":"0.5153601","text":"StringScrabble toStringSc();","title":""},{"docid":"b3f7be4d6203d441d0353e8374a462d0","score":"0.51510674","text":"@Test public void representationOfCharPrimitive() throws Exception {\n assertEquals(\"s:1:\\\"X\\\";\", representationOf('X'));\n }","title":""},{"docid":"9fca244c1f200b33154fd0f4231dd0df","score":"0.5146887","text":"private int processaEstado10( char c )\n\t{\n\t\tif( c == '*' )\n\t\t{\n\t\t\treturn 11;\n\t\t}\n\n\t\treturn 0;\n\t}","title":""},{"docid":"6ccc9d2cfce267b9c8562728871702a3","score":"0.51354903","text":"private String checkInvalidsChar(String nome, String nacionalidade) {\r\n\t\tchar c;\r\n\t\tif((c=hasInvalidChar(nome))!='x') {\r\n\t\t\treturn \"ERRO! Caracter '\"+String.valueOf(c)+\"' Invalido!\";\r\n\t\t}\r\n\t\t\r\n\t\tif((c=hasInvalidChar(nacionalidade))!='x') {\r\n\t\t\treturn \"ERRO! Caracter '\"+String.valueOf(c)+\"' Invalido!\";\r\n\t\t}\r\n\t\treturn \"ok\";\r\n\t}","title":""},{"docid":"080c9abb38500f1c301cc432e321b015","score":"0.51344156","text":"private void cargarVocales(){\n //el empieza desde cero hasta llegar al 4\n texto[0] = \"A\";\n texto[1] = \"E\";\n texto[2] = \"I\";\n texto[3] = \"O\";\n texto[4] = \"U\";\n \n \n }","title":""},{"docid":"bbca64e3457f1386672d435f5bb779b9","score":"0.5133913","text":"private static char getHexCharacter(String s, int p) {\n char c = s.charAt(p);\n if (Character.isLetter(c))\n c = Character.toUpperCase(c);\n\n if (HEX_DIGITS.indexOf(c) == -1)\n throw new IllegalArgumentException(\"Mailformed string at index \" + p);\n\n return c;\n }","title":""},{"docid":"d8ed7173d7e752a96c9cd21417b8f826","score":"0.5132138","text":"public double getAsciiFromString(String cadena){ \n int contador = 0;\n for (int i = 0; i < cadena.length() ; i++ ) {\n contador += (int)cadena.charAt(i);\n }\n return new Double(contador);\n }","title":""},{"docid":"eefb8ab9362a46ee292fc81d22dca82a","score":"0.51310015","text":"CharacterSet createCharacterSet();","title":""},{"docid":"42cd1a17d1605c6597bd32b08495992a","score":"0.5127413","text":"public String getCharValue() {\r\n\treturn this.toString();\r\n }","title":""},{"docid":"074838259c924c308cfe64fe404f62b1","score":"0.5127189","text":"private char octal(String value, int ndx) {\r\n String oct = value.substring(ndx + 1, ndx + 4);\r\n int result = Integer.parseInt(oct, 8);\r\n return (char) result;\r\n }","title":""},{"docid":"35d41e9be1ce1cdbe272226613ea0223","score":"0.512661","text":"String getC10_varchar256();","title":""},{"docid":"de34f17d1b97e109afb396e83fc3ea8e","score":"0.5123472","text":"public void setChar(char c) { this.c = c; }","title":""},{"docid":"c6a291f20aa9c725c44d9ec2dba3caed","score":"0.5120655","text":"public void setarCaixa() {\n char vai[] = val.toCharArray();\n if (val.length() == 1) {\n cx1.setText(Character.toString(vai[0]));\n cx2.setText(\"\");\n cx3.setText(\"\");\n cx4.setText(\"\");\n cx5.setText(\"\");\n }\n if (val.length() == 2) {\n cx1.setText(Character.toString(vai[0]));\n cx2.setText(Character.toString(vai[1]));\n cx3.setText(\"\");\n cx4.setText(\"\");\n cx5.setText(\"\");\n }\n if (val.length() == 3) {\n cx1.setText(Character.toString(vai[0]));\n cx2.setText(Character.toString(vai[1]));\n cx3.setText(Character.toString(vai[2]));\n cx4.setText(\"\");\n cx5.setText(\"\");\n }\n if (val.length() == 4) {\n cx1.setText(Character.toString(vai[0]));\n cx2.setText(Character.toString(vai[1]));\n cx3.setText(Character.toString(vai[2]));\n cx4.setText(Character.toString(vai[3]));\n cx5.setText(\"\");\n }\n if (val.length() == 5) {\n cx1.setText(Character.toString(vai[0]));\n cx2.setText(Character.toString(vai[1]));\n cx3.setText(Character.toString(vai[2]));\n cx4.setText(Character.toString(vai[3]));\n cx5.setText(Character.toString(vai[4]));\n } }","title":""},{"docid":"9158093305187f53af9b08cca98dee44","score":"0.5119011","text":"String getC14_varchar1024();","title":""},{"docid":"ed66cead67dabb525a9c4bceb22021bc","score":"0.5118024","text":"public abstract void mo6147a(CharSequence charSequence);","title":""},{"docid":"be0ae3af1dee0c38b07f8a04fb01174e","score":"0.5117599","text":"public String getCharacterEncoding();","title":""}],"string":"[\n {\n \"docid\": \"f3018df572f35108469ddb428f361002\",\n \"score\": \"0.6451917\",\n \"text\": \"private boolean caracteresCompatibles (String cadena, int tipo) { \\n boolean res = false;\\n switch (tipo) {\\n case 0:\\n res = cadena.matches(\\\"[0-9]{7,8}[A-Za-z]{1}\\\");\\n break;\\n case 1:\\n res = cadena.matches(\\\"([A-Za-z]*[ñ]*[ ]*){1,2}\\\");\\n break;\\n case 2:\\n res = cadena.matches(\\\"[0-9]{9}\\\");\\n break; \\n }\\n return res;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"574cd5d7e30674acb1b8edbc23940254\",\n \"score\": \"0.6364429\",\n \"text\": \"public abstract String caracteriza();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"79f2347e98f202b4a2e47d27bc782646\",\n \"score\": \"0.63232654\",\n \"text\": \"public void separaString() {\\r\\n\\t\\tthis.valores = expressao.toCharArray();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9509b0ebc2b2b14b3c38c37977d67b15\",\n \"score\": \"0.6241815\",\n \"text\": \"static char pedirCaracter() {\\n\\t\\tSystem.out.println(\\\"\\\\nQue caracter crees que hay?\\\");\\n\\t\\treturn teclado.nextLine().charAt(0);\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"92fcc59b6e339483c72d165cb6b123d2\",\n \"score\": \"0.6130285\",\n \"text\": \"public void defineSpecialChar(char ch);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"619fd5bd8d68226a93e71ba2e76bdb5c\",\n \"score\": \"0.60963166\",\n \"text\": \"String getCharacters();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8e07080bb376937b7bc2806ce448dafe\",\n \"score\": \"0.6010012\",\n \"text\": \"public String saltarCaracteres(String cadena){ \\n if(cadena!=null){\\n cadena=cadena.replace(\\\"&\\\", \\\"&amp;\\\");\\n cadena=cadena.replace(\\\"<\\\", \\\"&lt;\\\");\\n cadena=cadena.replace(\\\">\\\", \\\"&gt;\\\");\\n cadena=cadena.replace(\\\"'\\\", \\\"&apos;\\\");\\n cadena=cadena.replace(\\\"\\\\\\\"\\\", \\\"&quot;\\\");\\n }\\n else{\\n cadena=\\\"\\\";\\n }\\n return cadena; \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"62884d258c4a88d01d9ff361c89a22bb\",\n \"score\": \"0.582785\",\n \"text\": \"char[] getTokenChars();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"95ea3771a0c218bc5c5841cb41509077\",\n \"score\": \"0.5813324\",\n \"text\": \"private Characters() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fc97c3d571b76a17fe191eef7a7b548a\",\n \"score\": \"0.57625186\",\n \"text\": \"public String getCharacterSet();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e2fb4fee78347d09da4806c32953892f\",\n \"score\": \"0.5737882\",\n \"text\": \"public static void main(String[] args) {int harf = '1'; // ascii kodu 49\\n// char ch = '2'; // ascii kodu 50\\n//\\n// System.out.println(harf+ch); //12 mi?, 3 mu? 99 mu? ==> 99\\n// System.out.println(17 + 3); //20 \\n// System.out.println(17 + \\\"\\\" + 3 ); //173\\n// System.out.println(\\\"\\\" + 17 + 3); //173\\n// System.out.println(17 + 3 + \\\"\\\"); //20\\n// System.out.println(24 + 3 + 6 + \\\"Ali\\\" +10 + 5 ); //33Ali105\\n// System.out.println(\\\"\\\" + 24 + 3 + 6 +10 ); //243610\\n//\\n// System.out.println(harf); // 1 mi? 49 mu? == 49\\n// System.out.println(ch); // 2 mi? 50 mi? == 2\\n//\\n// char deneme = 50;\\n//\\n// System.out.println(deneme); // 2 mi? 50 mi? == 2\\n// \\n int unlem= '!';\\n System.out.println('!' + \\\" Ascii Code Degeri : \\\" + unlem);\\n \\n int yuzde ='%';\\n System.out.println('%' + \\\" Ascii Code Degeri : \\\" +yuzde);\\n \\n int star = '*';\\n System.out.println('*' + \\\" Ascii Code Degeri : \\\" +star);\\n \\n int dolar = '$';\\n System.out.println('$' + \\\" Ascii Code Degeri : \\\" +dolar);\\n \\n int et ='@';\\n System.out.println('@' + \\\" Ascii Code Degeri : \\\" +et);\\n \\n int ve = '&';\\n System.out.println('&' + \\\" Ascii Code Degeri : \\\" +ve);\\n \\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3fd777d44e418752a8c7051a13506aee\",\n \"score\": \"0.5720287\",\n \"text\": \"public void utimoCaracter() {\\n\\t\\t// VALIDAMOS.\\n\\t\\tchar ultimo = cadena.charAt(cadena.length() - 1);\\n\\t\\t// IMPRIMIMOS.\\n\\t\\tSystem.out.println(\\\"Ultimo caracter :\\\" + ultimo);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c8b3a5706d93867a170c3f615e8eb378\",\n \"score\": \"0.5701024\",\n \"text\": \"private int chknm(String name) {\\n // CharSequence CharSequence = CharSequence; \\n \\n if(name.length()!=0){\\n Pattern special = Pattern.compile (\\\"[!@#$%&*()_+=|<>?{}\\\\\\\\[\\\\\\\\]~-]\\\");\\n Matcher ch = special.matcher(name);\\n if(ch.find()==true){\\n JOptionPane.showMessageDialog(this, \\\"Name Can not Contains Special Character\\\");\\n return 2;\\n }\\n }\\n else\\n return 2;\\n return 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"422789b2186f3f5f574c32d0df114fa1\",\n \"score\": \"0.5688471\",\n \"text\": \"public void caracteristicasCoche()\\n {\\n System.out.println(\\\"Marca: \\\" + marca);\\n System.out.println(\\\"Modelo: \\\" + modelo);\\n System.out.println(\\\"Velocidad maxima: \\\" + velocidadMaxima + \\\"km/h\\\");\\n System.out.println(\\\"Año de fabricacion: \\\" + anoFabricacion);\\n System.out.println(\\\"Numero de bastidor: \\\" + numeroDeBastidor);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d7103a674f491ac69cceb0b4e0bae099\",\n \"score\": \"0.5668582\",\n \"text\": \"private static char[] desguaza(String palAzar){\\n char[] letras;\\n letras = new char[palAzar.length()];\\n for(int i = 0; i < palAzar.length(); i++){\\n letras[i] = palAzar.charAt(i);\\n }\\n return letras;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0cef71e34e3d1fcee3571bdd80078a49\",\n \"score\": \"0.5634267\",\n \"text\": \"@Override\\n public Character visitCharLiteral(final IRNode e) {\\n\\tString value = CharLiteral.getToken(e);\\n return Character.valueOf(value.charAt(1));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c42926d21906c2343aa87ac3b4817a2d\",\n \"score\": \"0.5629575\",\n \"text\": \"public String getConsonants() {\\n\\t\\tchar c[]=curString.toCharArray();\\n\\t\\tStringBuilder conso = new StringBuilder();\\n\\t\\tString consostr=\\\"\\\";\\n\\t\\tfor (int i=0;i= 48 && caracter <= 57 || caracter == 46 || caracter == 101)\\n\\t\\t\\treturn 2;\\n\\t\\t//revisa que sea +/-\\n\\t\\telse if(caracter == 43 || caracter == 45)\\n\\t\\t\\treturn 3;\\n\\t\\t//revisa que sea * /\\n\\t\\telse if(caracter == 42 || caracter == 47)\\n\\t\\t\\treturn 4;\\n\\t\\t//revisa que sea ^\\n\\t\\telse if(caracter == 94)\\n\\t\\t\\treturn 5;\\n\\t\\t//revisa que sea n x,y,z\\n\\t\\telse if(caracter >= 120 && caracter <= 122)\\n\\t\\t\\treturn 6;\\n\\t\\t//si es un funcion cualquier carcter exepto el espacio\\n\\t\\telse if(caracter != 32)\\n\\t\\t\\treturn 7;\\n\\t\\telse\\n\\t\\t\\treturn 8;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"34913b2061acc3058c328d6416a1c158\",\n \"score\": \"0.55759144\",\n \"text\": \"public static void main(String[] args) {\\n char myReg = '\\\\u00AE';\\n System.out.println(myReg);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3ef3aff91136d45df5cc42d365d817d8\",\n \"score\": \"0.55567497\",\n \"text\": \"public static void main(String[] args) {\\n char c = 'A';\\r\\n char ccc = 65;//다이렉트로 데이터 넣기는 가능\\r\\n char cc = (char)(c+32); //(소문자처리) 연산처리에는 형변화 필요 \\r\\n System.out.println(cc);\\r\\n \\r\\n System.out.println(c >= 'A' && c <='Z' ? \\\"대문자\\\":\\\"소문자\\\");\\r\\n// cc >= 'A' && cc <= 'Z' ==> 대문자\\r\\n// cc >= 'a' && cc <= 'z' ==> 소문자\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"053219a87f2757c70436a47e79074c93\",\n \"score\": \"0.5528775\",\n \"text\": \"@Test\\n public void charAt() throws InterruptedException {\\n\\n String str = \\\"Exercitii Java!\\\";\\n System.out.println(\\\"String initial = \\\" + str);\\n // afiseaza caracterele de pe pozitia 0 si 10\\n int index1 = str.charAt(0);\\n int index2 = str.charAt(10);\\n\\n // printeaza rezultatul.\\n System.out.println(\\\"Caracterul de pe pozitia 0 este \\\" + (char) index1);\\n System.out.println(\\\"Caracterul de pe pozitia 10 este \\\" + (char) index2);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f05779497c39066d663674bc9b02b16\",\n \"score\": \"0.5524957\",\n \"text\": \"private String[] getConvertedChars()\\r\\n {\\r\\n int ascii;\\r\\n String binary;\\r\\n int numberOfChars = text.length();\\r\\n String[] str = new String[numberOfChars];\\r\\n\\r\\n for(int i = 0; i < numberOfChars; i++) {\\r\\n str[i] = \\\"\\\";\\r\\n // Convert char to ascii\\r\\n ascii = (int)text.charAt(i);\\r\\n // Convert ascii to binary\\r\\n binary = Integer.toBinaryString(ascii);\\r\\n // Ensure we have 8 bits\\r\\n while (binary.length() < 8) {\\r\\n binary = \\\"0\\\" + binary;\\r\\n }\\r\\n // Convert binary values to strings: true = \\\"*\\\" or false = \\\" \\\"\\r\\n for (int j = 0; j < binary.length(); j++) {\\r\\n if (binary.charAt(j) == '1') {\\r\\n str[i] += BLACK_CHAR;\\r\\n } else {\\r\\n str[i] += WHITE_CHAR;\\r\\n }\\r\\n }\\r\\n }\\r\\n\\r\\n return str;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d2808b2c9ccc157d2e2d8e1e14b5ea8f\",\n \"score\": \"0.55052555\",\n \"text\": \"private Color(char c) {\\n\\t\\tthis.caracter = c;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"df7af6c75673a46c2034dae248b806a5\",\n \"score\": \"0.5489124\",\n \"text\": \"public void esCapicua() {\\n\\t\\tint cant = 0;\\n\\t\\t// VALIDAMOS.\\n\\t\\tfor (int i = 0; i < cadena.length() / 2; i++) {\\n\\t\\t\\t// VALIDAMOS.\\n\\t\\t\\tif (cadena.charAt(i) == cadena.charAt(cadena.length() - 1 - i)) {\\n\\t\\t\\t\\tcant++;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t// VALIDAMOS.\\n\\t\\tif (cant == cadena.length() / 2) {\\n\\t\\t\\tSystem.out.print(\\\"Es capic˙a la cadena \\\" + cadena);\\n\\t\\t} else {\\n\\t\\t\\tSystem.out.print(\\\"No es capic˙a la cadena : \\\" + cadena);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"87be0f7b651eb6249bbffad127da38cd\",\n \"score\": \"0.54877055\",\n \"text\": \"public static String m9264c(String str) {\\n if (str == null) {\\n return \\\"\\\";\\n }\\n StringBuilder sb = new StringBuilder();\\n String a = m9260a(str);\\n int length = a.length();\\n int i = 0;\\n while (i < length) {\\n char charAt = a.charAt(i);\\n if (charAt == '*') {\\n sb.append(\\\"%2A\\\");\\n } else if (charAt == '+') {\\n sb.append(\\\"%20\\\");\\n } else {\\n if (charAt == '%') {\\n int i2 = i + 2;\\n if (i2 < length && a.charAt(i + 1) == '7' && a.charAt(i2) == 'E') {\\n sb.append('~');\\n i = i2;\\n }\\n }\\n sb.append(charAt);\\n }\\n i++;\\n }\\n return sb.toString();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8488e9a5adedbf9ea6fc33379b672be6\",\n \"score\": \"0.5481868\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\tString titulo = \\\"casa\\\";\\t\\t\\n\\t\\t\\n//\\t\\tArray que va a albergar cada uno de los caracteres del titulo del libro\\n\\t\\tchar ArrayTitulo[];\\t\\t\\n//\\t\\tDeclaracion del array\\n\\t\\tArrayTitulo = new char[titulo.length()];\\t\\n\\t\\t\\n//\\t\\tBucle que va a insertar cada caracter del titulo en una casilla del array\\n\\t\\tfor (int i = 0; i < titulo.length(); i++) {\\t\\t\\n\\t\\t\\tArrayTitulo[i] = titulo.charAt(i);\\n\\t\\t}\\n\\t\\t\\n//\\t\\tOJO, que este metodo devulve la posici�n de ese caracter en ASCII\\n//\\t\\tSystem.out.println(titulo.codePointAt(2));\\n\\t\\t\\n\\t\\t\\n\\t\\tString abcde = \\\"abcdefghijklmn�opqrstuvwxyz\\\";\\n\\t\\tSystem.out.println(abcde.indexOf(ArrayTitulo[2]));\\n\\t\\t\\n\\t\\tArrayList Repeticiones = new ArrayList();\\n\\t\\t\\n\\t\\tint numRepeticiones;\\n\\t\\tint cont = 0;\\n\\t\\t\\n//\\t\\tBucle for para calcular la distancia entre un caracter y el siguiente con respecto al indice del string \\\"abcde\\\" teniendo en cuenta las excepciones. El bucle <> agrega a \\n//\\t\\tuna ArrayList cada caracter del titulo el numero de veces la distacia que se ha calculado antes.\\n\\t\\tfor (int i = 0; i < ArrayTitulo.length; i++) {\\n\\t\\t\\t//OJO, POSIBLE PROBLEMA SI EL TITULO CONTIENE DOS LETRAS SEGUIDAD IGUALES como \\\"rr\\\" por ejemplo\\n\\t\\t\\tif (i < (ArrayTitulo.length - 1)) {\\n\\t\\t\\t\\tif((abcde.indexOf(ArrayTitulo[i+1]) - abcde.indexOf(ArrayTitulo[i]))>=0) {\\t\\t\\t\\n\\t\\t\\t\\t\\tnumRepeticiones = abcde.indexOf(ArrayTitulo[i+1]) - abcde.indexOf(ArrayTitulo[i]);\\n\\t\\t\\t\\t}else {\\n\\t\\t\\t\\t\\tnumRepeticiones = abcde.indexOf(ArrayTitulo[i]) - abcde.indexOf(ArrayTitulo[i+1]);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}else {\\n\\t\\t\\t\\tif((abcde.indexOf(ArrayTitulo[i]) - abcde.indexOf(ArrayTitulo[0]))>=0) {\\t\\t\\t\\n\\t\\t\\t\\t\\tnumRepeticiones = abcde.indexOf(ArrayTitulo[i]) - abcde.indexOf(ArrayTitulo[0]);\\n\\t\\t\\t\\t}else {\\n\\t\\t\\t\\t\\tnumRepeticiones = abcde.indexOf(ArrayTitulo[0]) - abcde.indexOf(ArrayTitulo[i]);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\n\\t\\t\\t}\\t\\n\\t\\t\\twhile(cont < numRepeticiones) {\\n\\t\\t\\t\\tRepeticiones.add(ArrayTitulo[i]);\\n\\t\\t\\t\\tcont++;\\n\\t\\t\\t}\\n\\t\\t\\tcont = 0;\\n\\t\\t}\\n\\t\\t\\n\\t\\tSystem.out.println(Repeticiones);\\n\\n//\\t\\tPASO 2\\n\\t\\t\\n\\t\\t\\n//\\t\\tConvierto el ArrayList a un array de tipo char\\n\\t\\tchar[] ArrayRepeticiones = new char[Repeticiones.size()];\\t\\t\\n\\t\\tfor(int i = 0; i < Repeticiones.size(); i++) {\\n\\t\\t ArrayRepeticiones[i] = Repeticiones.get(i);\\n\\t\\t}\\n\\t\\t\\n//\\t\\tCreo un array de tipo int\\n\\t\\tint[] ArrayAscii = new int[ArrayRepeticiones.length];\\t\\n\\n//\\t\\tIntroduzco a la vez que hago un cast de char a int(me da el valor ASCII del caracer) cada elemento de un array a otro\\n\\t\\tfor (int i = 0; i < ArrayRepeticiones.length; i++) {\\t\\t\\t\\n\\t\\t\\tArrayAscii[i] = (int)ArrayRepeticiones[i];\\n//\\t\\t\\tSystem.out.println(ArrayAscii[i]);\\n\\t\\t}\\n//\\t\\tPASO 3\\n\\t\\t\\n//\\t\\tBucle que suma las cifras que conforman cada int del ArrayAscii y sustituye el valor en el Array\\n\\t\\tfor (int i = 0; i < ArrayAscii.length; i++) {\\t\\t\\t\\t\\t\\n\\t\\t\\tArrayAscii[i] = (ArrayAscii[i]%10) + ((ArrayAscii[i]/10)%10) + (((ArrayAscii[i]/10)/10)%10);\\n//\\t\\t\\tSystem.out.println(ArrayAscii[i]);\\n\\t\\t}\\n\\t\\t\\n//\\t\\tPASO 4\\n\\t\\t\\n//\\t\\tAplico mod 10 a cada elemento del ArrayAscii\\n\\t\\tfor (int i = 0; i < ArrayAscii.length; i++) {\\t\\t\\t\\t\\t\\n\\t\\t\\tArrayAscii[i] = ArrayAscii[i]%10 ;\\n//\\t\\t\\tSystem.out.println(ArrayAscii[i]);\\n\\t\\t}\\n\\n//\\t\\tPASO 5\\t\\n\\t\\tArrayList Reduccion = new ArrayList();\\n\\t\\t\\n//\\t\\tfor (int i = 0; i < ArrayAscii.length; i++) {\\n//\\t\\t\\tint contad=0;\\n//\\t\\t\\tfor (int j = 0; j < ArrayAscii.length; j++) {\\n//\\t\\t\\t\\tif(i < (ArrayAscii.length-1)) {\\n//\\t\\t\\t\\t\\tif (ArrayAscii[i] == ArrayAscii[j] && contad < ArrayAscii[i] && ArrayAscii[i] == ArrayAscii[i-1]){\\n//\\t\\t\\t\\t\\t\\tcontad++;\\n//\\t\\t\\t\\t\\t\\tReduccion.add(i);\\n//\\t\\t\\t\\t\\t}\\n//\\t\\t\\t\\t}else {\\n//\\t\\t\\t\\t\\t\\n//\\t\\t\\t\\t}\\n//\\t\\t\\t}\\n//\\t\\t\\t\\t\\n//\\t\\t}\\n\\t\\t\\n\\t\\tArrayList tipos = new ArrayList();\\n\\t\\t\\n//\\t\\tfor (int i = 0; i < ArrayAscii.length; i++) {\\n//\\t\\t\\tif (i == 0) {\\n//\\t\\t\\t\\tReduccion.add(i);\\n//\\t\\t\\t\\ttipos.add(new Tipo_de_Contador(ArrayAscii[i]));\\n//\\t\\t\\t\\ttipos.get(0).sumarAlContador();\\n//\\t\\t\\t}else {\\n//\\t\\t\\t\\tif (ArrayAscii[i] == ArrayAscii[i-1]) {\\n//\\t\\t\\t\\t\\tb.sumarAlContador();\\n//\\t\\t\\t\\t\\tif (b.getCont().getContador() < ArrayAscii[i]) {\\n//\\t\\t\\t\\t\\t\\tReduccion.add(i);\\n//\\t\\t\\t\\t\\t}\\n//\\t\\t\\t\\t}\\n//\\t\\t\\t}\\n//\\t\\t}\\n//\\t\\t\\n//\\t\\tfor (int i = 0; i < ArrayAscii.length; i++) {\\n//\\t\\t\\tif (i == 0) {\\n//\\t\\t\\t\\tReduccion.add(i);\\n//\\t\\t\\t\\ttipos.add(new Tipo_de_Contador(ArrayAscii[i]));\\n//\\t\\t\\t\\ttipos.get(0).sumarAlContador();\\n//\\t\\t\\t}else {\\n//\\t\\t\\t\\tif (ArrayAscii[i] == ArrayAscii[i-1]) {\\n//\\t\\t\\t\\t\\tb.sumarAlContador();\\n//\\t\\t\\t\\t\\tif (b.getCont().getContador() < ArrayAscii[i]) {\\n//\\t\\t\\t\\t\\t\\tReduccion.add(i);\\n//\\t\\t\\t\\t\\t}\\n//\\t\\t\\t\\t}\\n//\\t\\t\\t}\\n//\\t\\t}\\n\\t\\t\\n//\\t\\thttps://es.stackoverflow.com/questions/42977/cu%C3%A1l-es-la-soluci%C3%B3n-a-todos-los-errores-nullpointerexception-presentes-pasados\\n\\t\\t\\t\\n\\t\\tfor (int i = 0; i < ArrayAscii.length; i++) { \\t\\t//OJO, REVISAR SI ES LOGICA EL \\\"-1 \\\"DEL \\\"HASTA...\\\"\\n\\t\\t\\tif (i == 0) {\\n\\t\\t\\t\\tReduccion.add(i);\\n\\t\\t\\t\\ttipos.add(new Tipo_de_Contador(ArrayAscii[i]));\\n\\t\\t\\t\\ttipos.get(0).sumarAlContador();\\n\\t\\t\\t\\tSystem.out.println(tipos.get(0).getNumero());\\n\\t\\t\\t\\tSystem.out.println(\\\"Tipo(\\\"+tipos.get(i).getNumero()+\\\"). Contador va por: \\\"+tipos.get(i).getCont().getContador());\\n\\t\\t\\t}else {\\n\\t\\t\\t\\tboolean relleno=false;\\n\\t\\t\\t\\tfor (int j = 0; j < tipos.size() - 1; j++) {\\t\\t\\t\\t//OJO, REVISAR SI ES LOGICA EL \\\"-1 \\\"DEL \\\"HASTA...\\\"\\n\\t\\t\\t\\t\\tif (ArrayAscii[i] == tipos.get(j).getNumero()) {\\t\\t//va a ver si es de un tipo de contador\\n\\t\\t\\t\\t\\t\\trelleno=true;\\n\\t\\t\\t\\t\\t\\tif (ArrayAscii[i] == ArrayAscii[i-1]) {\\t\\t\\t\\t//si es igual al anterior elemento del ArrayAscii, lo guarda en el mismo tipo de contador, sino crea uno nuevo\\n\\t\\t\\t\\t\\t\\t\\ttipos.get(j).sumarAlContador();\\n\\t\\t\\t\\t\\t\\t}else {\\n\\t\\t\\t\\t\\t\\t\\ttipos.add(new Tipo_de_Contador(ArrayAscii[i]));\\n\\t\\t\\t\\t\\t\\t\\ttipos.get(j+1).sumarAlContador();\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}if (relleno == false) {\\n\\t\\t\\t\\t\\ttipos.add(new Tipo_de_Contador(ArrayAscii[i]));\\n\\t\\t\\t\\t\\ttipos.get(i).sumarAlContador();\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tSystem.out.println(\\\"Tipo(\\\"+tipos.get(i).getNumero()+\\\"). Contador va por: \\\"+tipos.get(i).getCont().getContador());\\n\\t\\t\\t}\\n\\t\\t\\t\\n\\t\\t}\\n\\t\\tfor (int i = 0; i < tipos.size(); i++) {\\n\\t\\t\\tint contad=0;\\n\\t\\t\\tdo {\\n\\t\\t\\t\\tcontad++;\\n\\t\\t\\t\\tReduccion.add(tipos.get(i).getNumero());\\n\\t\\t\\t}while(contad<=tipos.get(i).getCont().getContador());\\n\\t\\t\\tSystem.out.println(Reduccion.get(i));\\n\\t\\t}\\n\\t\\t\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9499261d429ca328da9ee5f0367ce700\",\n \"score\": \"0.5467446\",\n \"text\": \"public static String dcdVille(String v)\\n {\\n Map> mvreg=Variable.getRegion();\\n String[] str=new String[2];\\n str[0]=\\\" \\\";\\n str[1]=\\\"-\\\";\\n\\n char[] toChAr = v.toCharArray();\\n str[0]+=toChAr[0];str[1]+=toChAr[0];\\n for(int i=1; i= 65 && cadena.charAt(i) <=90) || (cadena.charAt(i) >= 97 && cadena.charAt(i) <= 122)) ) {\\r\\n\\t\\tresult = false;\\r\\n\\t\\t} \\r\\n\\t\\t} \\r\\n\\t\\treturn result;\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b472bdf91cc3a409def72be87f8d771d\",\n \"score\": \"0.5448061\",\n \"text\": \"public static PSChar cr() { return PSChar.with( 13 ); }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e2633c6ef431b343339d7aa5a8649753\",\n \"score\": \"0.54374576\",\n \"text\": \"String getC1_varchar40();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f19ebe81689a2d556e4512b474ec4dcf\",\n \"score\": \"0.5436786\",\n \"text\": \"String getC13_varchar512();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ce7fe85c5c4e639b1f0ccfe3b4e17dff\",\n \"score\": \"0.5416241\",\n \"text\": \"public char[] getForbiddenChars() {\\n\\t\\tString forbiddenChars = this.getInternalProperty(PropertiesManager.INTERNAL_KEYS.FORBIDDEN_CHARS);\\n\\t\\tString keySeparator = this.getInternalProperty(PropertiesManager.INTERNAL_KEYS.KEY_SEPARATOR);\\n\\t\\tString sequence = forbiddenChars + keySeparator;\\n\\n\\t\\treturn sequence.toCharArray();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3050bc833946754c3deaf3938a6f4239\",\n \"score\": \"0.54136866\",\n \"text\": \"public String codificar(String fraseEntrada){\\n String resultado = \\\"\\\";\\n fraseEntrada = fraseEntrada.toLowerCase();\\n char caracter = 0;\\n int posChar;\\n for (int i = 0; i < fraseEntrada.length(); i++) {\\n caracter = fraseEntrada.charAt(i);\\n if (String.valueOf(caracter).equals(\\\" \\\") == true || String.valueOf(caracter).equals(\\\"\\\\n\\\") == true) {\\n if(String.valueOf(caracter).equals(\\\" \\\")){\\n try{\\n resultado = resultado.substring(0,resultado.length()-1)+\\\"*\\\";\\n }catch(Exception e){}\\n }else{\\n resultado += \\\"\\\\n\\\";\\n }\\n }else{\\n posChar = alfabeto.indexOf(caracter);\\n try {\\n resultado += numerosBinarios[posChar] + \\\" \\\";\\n }catch (Exception e){}\\n }\\n }\\n return resultado;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba25e3bd8f1abf02f537afc999b7c5fb\",\n \"score\": \"0.54057235\",\n \"text\": \"public void conGuiones() {\\n\\t\\tSystem.out.print(\\\"Separado por Guiones : \\\");\\n\\t\\t// VALIDAMOS.\\n\\t\\tfor (int i = 0; i < cadena.length(); i++) {\\n\\t\\t\\tSystem.out.print(cadena.charAt(i) + \\\"-\\\");\\n\\t\\t}\\n\\t\\tSystem.out.println();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7abea694be006c1e287f51b77b58cc29\",\n \"score\": \"0.540344\",\n \"text\": \"@Test public void representationOfCharacter() throws Exception {\\n assertEquals(\\\"s:1:\\\\\\\"X\\\\\\\";\\\", representationOf(new Character('X')));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"26bbd92ff877da2a0c86ecf8ddc83d7c\",\n \"score\": \"0.5402154\",\n \"text\": \"String getC2_varchar40();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11172eb887003346abd1a470fbc8605d\",\n \"score\": \"0.53832656\",\n \"text\": \"String getC26_varchar4096();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"18b4f78aedf452585ccd75d20cd8cd16\",\n \"score\": \"0.53820145\",\n \"text\": \"public static void main(String[] args) {\\n String s = \\\"%CE%AA%C1%CB%C4%FA%B5%C4%D5%CA%BA%C5%B0%B2%C8%AB%A3%AC%C7%EB%CA%E4%C8%EB%D1%E9%D6%A4%C2%EB\\\";\\r\\n String n = \\\"绫致\\\";\\r\\n System.out.println(decode(s));\\r\\n System.out.println(encode(n));\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2c18e77608a50c004965d8833348ee56\",\n \"score\": \"0.53712577\",\n \"text\": \"public void obtenerLetras(char letras[], String numero){\\n\\t\\tfor(int i=0;i asCharList(String s) {\\n ArrayList result = new ArrayList<>();\\n for (char c : s.toCharArray()) {\\n result.add(c);\\n }\\n return result;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"500e567a05e1072b0ae414f31e50618b\",\n \"score\": \"0.52017844\",\n \"text\": \"private char getSpecial(char ch) {\\r\\n switch (ch) {\\r\\n case 'b':\\r\\n return (char) 8;\\r\\n case 'r':\\r\\n return (char) 13;\\r\\n case 'n':\\r\\n return (char) 10;\\r\\n case 'f':\\r\\n return (char) 12;\\r\\n case 't':\\r\\n return (char) 9;\\r\\n default:\\r\\n return ch;\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4e9ba3bbcfeb5dd33a3fc4f04f3e653\",\n \"score\": \"0.5199574\",\n \"text\": \"String getC23_varchar4096();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11f64dac3a1dbd4b47969fc313ec3b03\",\n \"score\": \"0.5199504\",\n \"text\": \"private String Esperar_Texto() {\\n\\n String ret = \\\"\\\";\\n\\n while (mIndex < mTamanho) {\\n\\n String l = String.valueOf(mConteudo.charAt(mIndex));\\n\\n if (l.contentEquals(\\\"'\\\")) {\\n mIndex += 1;\\n ret = BuscandoTexto(\\\"'\\\");\\n break;\\n } else if (l.contentEquals(\\\"\\\\\\\"\\\")) {\\n mIndex += 1;\\n ret = BuscandoTexto(\\\"\\\\\\\"\\\");\\n break;\\n } else if (l.contentEquals(\\\" \\\")) {\\n } else if (l.contentEquals(\\\"\\\\n\\\")) {\\n } else if (l.contentEquals(\\\"\\\\t\\\")) {\\n } else {\\n break;\\n }\\n\\n mIndex += 1;\\n\\n }\\n\\n return ret;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75797579f3e8dba76293d0620245b208\",\n \"score\": \"0.5198834\",\n \"text\": \"public void ejercicio04() {\\n\\t\\tcabecera(\\\"04\\\", \\\"\\\");\\n\\n\\t\\t// Inicio modificacion\\n\\t\\tString cadena;\\n\\t\\tSystem.out.println(\\\"Introduzca una cadena\\\");\\n\\t\\tcadena=Teclado.readString();\\n\\t\\tswitch(cadena.charAt(0)){\\n\\t\\t\\tcase 'a': case 'e': case 'i': case 'o': case 'u':\\n\\t\\t\\t\\tSystem.out.println(\\\"Vocal minuscula\\\");\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tcase 'A': case 'E': case 'I': case 'O': case 'U':\\n\\t\\t\\t\\tSystem.out.println(\\\"Vocal mayuscula\\\");\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tSystem.out.println(\\\"Otro caracter\\\");\\n\\t\\t\\t\\tbreak;\\n\\t\\t}\\n\\t\\t\\n\\t\\t// Fin modificacion\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6339f4d7e38db01b4d299b2145010a69\",\n \"score\": \"0.51953053\",\n \"text\": \"public void validarCaracteres() {\\n if (!query.equals(\\\"\\\")) {\\n\\n /*Validacion si en los caracteres ingresados se encuentran los caracteres especiales # o @ los cuales no se aceptan*/\\n if (query.indexOf(\\\"#\\\") == -1) {\\n\\n if (query.indexOf(\\\"@\\\") == -1) {\\n /*Llamamos el metodo buscar con el boton enter del teclado*/\\n buscar();\\n } else {\\n Toast toast1 = Toast.makeText(getApplicationContext(), \\\"Caracter @ no permitido\\\", Toast.LENGTH_SHORT);\\n toast1.setGravity(Gravity.CENTER | Gravity.CENTER, 0, 0);\\n editTextBuscar.setText(\\\"\\\");\\n toast1.show();\\n }\\n } else {\\n\\n Toast toast1 = Toast.makeText(getApplicationContext(), \\\"Caracter # no permitido\\\", Toast.LENGTH_SHORT);\\n toast1.setGravity(Gravity.CENTER | Gravity.CENTER, 0, 0);\\n editTextBuscar.setText(\\\"\\\");\\n toast1.show();\\n }\\n }\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47c17623b621e7d7462332cdd649e951\",\n \"score\": \"0.51947457\",\n \"text\": \"String getC12_varchar512();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3ec232615ef62d884e1f82a03ac04956\",\n \"score\": \"0.5193117\",\n \"text\": \"private static Map mapCharToEscape()\\n {\\n Map h = new HashMap(9);\\n h.put(new Character('\\\\\\\\'), \\\"\\\\\\\\\\\\\\\\\\\");\\n h.put(new Character('\\\"'), \\\"\\\\\\\\\\\\\\\"\\\");\\n h.put(new Character('\\\\''), \\\"\\\\\\\\'\\\");\\n h.put(new Character('\\\\b'), \\\"\\\\\\\\b\\\"); // backspace\\n h.put(new Character('\\\\u000b'), \\\"\\\\\\\\v\\\"); // vertical tab\\n h.put(new Character('\\\\u000c'), \\\"\\\\\\\\f\\\"); // form feed\\n h.put(new Character('\\\\n'), \\\"\\\\\\\\n\\\");\\n h.put(new Character('\\\\r'), \\\"\\\\\\\\r\\\");\\n h.put(new Character('\\\\t'), \\\"\\\\\\\\t\\\");\\n //h.put(new Character('/'), \\\"\\\\\\\\/\\\");\\n return h;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1513276829d7fda3c8651fcbcb90213b\",\n \"score\": \"0.5192524\",\n \"text\": \"public String decodificar(String fraseEntrada){\\n llenado();\\n fraseEntrada = fraseEntrada.toLowerCase();\\n fraseEntrada = fraseEntrada.replace(\\\"*\\\",\\\"cambio\\\");\\n String[] aux = fraseEntrada.split(\\\"cambio\\\");\\n String[] aux2 ;\\n int pos =0;\\n String resultado = \\\"\\\";\\n int posChar;\\n\\n for (int i = 0; i < aux.length; i++) {\\n aux2 = aux[i].split(\\\" \\\");\\n for (int y = 0; y < aux2.length; y++) {\\n if (String.valueOf(aux2[y].charAt(0)).equals(\\\"\\\\n\\\")) {\\n try{\\n aux2[y] = String.valueOf(aux2[y]).substring(1,aux2[y].length());\\n resultado += \\\"\\\\n\\\";\\n }catch(Exception e){}\\n }\\n pos = numBinarios.indexOf(aux2[y]);\\n resultado += alfabeto.charAt(pos);\\n }\\n resultado += \\\" \\\";\\n }\\n return resultado;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"430a5a808a23ded99e0d4911b81ddc88\",\n \"score\": \"0.518988\",\n \"text\": \"private static String encrpytPaswwordVal(String conPassw, int key) {\\n\\n conPassw = conPassw.toLowerCase();\\n String c = \\\"\\\";\\n \\n for (int i = 0; i < conPassw.length(); i++) {\\n \\n int pos = strAll.indexOf(conPassw.charAt(i));\\n int keyValue = (pos + key) % 26;\\n char repValue = strAll.charAt(keyValue);\\n c = c + repValue;\\n }\\n return c;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8e6a61b3db605a46491bcc1a5e00a807\",\n \"score\": \"0.51859486\",\n \"text\": \"public char charAt(int paramInt)\\n/* */ {\\n/* 645 */ if ((paramInt < 0) || (paramInt >= this.value.length)) {\\n/* 646 */ throw new StringIndexOutOfBoundsException(paramInt);\\n/* */ }\\n/* 648 */ return this.value[paramInt];\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5a76790c9ecc73b8e14b1f9a90dc6162\",\n \"score\": \"0.5184819\",\n \"text\": \"public int getCharValue() {return charValue;}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f07801cd8310b6d2687f8d52595b264\",\n \"score\": \"0.5184174\",\n \"text\": \"public char getChar(){return character;}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ca0a66b0b543a72cab7b47fdfa85a1ea\",\n \"score\": \"0.5180467\",\n \"text\": \"@Test\\n public void testPasarMayus() {\\n // pasarMayus\\n char c = ' ';\\n char expResult = ' ';\\n char result = EjecutarEnigma.pasarMayus(c);\\n assertEquals(expResult, result);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"075c9ba91854c74ef28431bf1bf69d9e\",\n \"score\": \"0.5177171\",\n \"text\": \"public String getReplacableChars()\\n {\\n return( m_replacableChars );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7c6ba7c7b23c25366f5b04e6a62d047e\",\n \"score\": \"0.5175115\",\n \"text\": \"VestaChars(int i) {\\r\\n charValue = i;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e2f74170c7963caebbe7f3d7e92f96c7\",\n \"score\": \"0.5173377\",\n \"text\": \"String getC3_varchar40();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6110fd87c842bdcbe1376d3631e49abb\",\n \"score\": \"0.5169788\",\n \"text\": \"public static void testContaParole() {\\r\\n\\t\\tSystem.out.println(\\\"contaParole (\\\\\\\"ciao\\\\\\\") : [1] = \\\" + contaParole(\\\"ciao\\\"));\\r\\n\\t\\t\\r\\n\\t\\t/* Stringa s con due parole */\\r\\n\\t\\tSystem.out.println(\\\"contaParole (\\\\\\\"ciao amico\\\\\\\") : [2] = \\\" + contaParole(\\\"ciao amico\\\"));\\r\\n\\t\\t\\r\\n\\t\\t/* Stringa s con una sola parola ma che finisce con uno spazio */\\r\\n\\t\\tSystem.out.println(\\\"contaParole (\\\\\\\"ciao \\\\\\\") : [1] = \\\" + contaParole(\\\"ciao \\\"));\\r\\n\\t\\t\\r\\n\\t\\t/* Stringa s con una sola parola ma che inizia con uno spazio */\\r\\n\\t\\tSystem.out.println(\\\"contaParole (\\\\\\\" ciao\\\\\\\") : [1] = \\\" + contaParole(\\\" ciao\\\"));\\r\\n\\t\\t\\r\\n\\t\\t/* Stringa s con due parole separate da doppio spazio */\\r\\n\\t\\tSystem.out.println(\\\"contaParole (\\\\\\\"ciao amico\\\\\\\") : [2] = \\\" + contaParole(\\\"ciao amico\\\"));\\r\\n\\t\\t\\r\\n\\t\\t/* Stringa s composta da una sola lettera */\\r\\n\\t\\tSystem.out.println(\\\"contaParole (\\\\\\\"c\\\\\\\") : [1] = \\\" + contaParole(\\\"c\\\"));\\r\\n\\t\\t\\r\\n\\t\\t/* Stringa s con una parola con altri caratteri */\\r\\n\\t\\tSystem.out.println(\\\"contaParole (\\\\\\\"aspetta…Eccola!\\\\\\\") : [1] = \\\" + contaParole(\\\"aspetta…Eccola!\\\"));\\r\\n\\t\\t\\r\\n\\t\\t/* Stringa s 4 parole */\\r\\n\\t\\tSystem.out.println(\\\"contaParole (\\\\\\\"quant’è lunga questa stringa\\\\\\\") : [4] = \\\" + contaParole(\\\"quant’è lunga questa stringa\\\"));\\r\\n\\t\\t\\r\\n\\t\\t/* Stringa s con diversi spazi e diverse parole */\\r\\n\\t\\tSystem.out.println(\\\"contaParole (\\\\\\\" guarda quante complicazioni \\\\\\\") : [3] = \\\" + contaParole(\\\" guarda quante complicazioni \\\"));\\r\\n\\t\\t\\r\\n\\t\\t/* Stringa con solo spazi */\\r\\n\\t\\tSystem.out.println(\\\"contaParole (\\\\\\\" \\\\\\\") : [0] = \\\" + contaParole(\\\" \\\"));\\r\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7f5078a4ed1648774b86d9b4e5d9539d\",\n \"score\": \"0.5166533\",\n \"text\": \"public void setChar(char c){this.character=c;}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"05ed199ef3297e44740e32e47d8f24fc\",\n \"score\": \"0.5161087\",\n \"text\": \"private char escapeChar()\\n {\\n int ofs = image.length() - 1;\\n switch ( image.charAt(ofs) ) {\\n case 'n': return '\\\\n';\\n case 'r': return '\\\\r';\\n case 't': return '\\\\t';\\n case 'b': return '\\\\b';\\n case 'f': return '\\\\f';\\n case '\\\\\\\\': return '\\\\\\\\';\\n case '\\\\'': return '\\\\'';\\n case '\\\\\\\"': return '\\\\\\\"';\\n }\\n\\n // Otherwise, it's an octal number. Find the backslash and convert.\\n while ( image.charAt(--ofs) != '\\\\\\\\' )\\n {}\\n int value = 0;\\n while ( ++ofs < image.length() )\\n value = (value << 3) | (image.charAt(ofs) - '0');\\n return (char) value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e674f1a70259c29120d694885b8cd31f\",\n \"score\": \"0.51567477\",\n \"text\": \"String getC4_varchar40();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a3141b498965c90920f0370096afec01\",\n \"score\": \"0.5155128\",\n \"text\": \"private String charFor(int i, int j) {\\r\\n int v = getValue(i, j);\\r\\n if(v < 0) {\\r\\n return \\\"?\\\";\\r\\n } else if(v == 0) {\\r\\n return \\\" \\\";\\r\\n } else if(v < 36) {\\r\\n return Character.toString(Character.forDigit(v, 36)).toUpperCase();\\r\\n } else {\\r\\n return \\\"?\\\";\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"96d632f9aa076972a445bb576f645ff1\",\n \"score\": \"0.5153601\",\n \"text\": \"StringScrabble toStringSc();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b3f7be4d6203d441d0353e8374a462d0\",\n \"score\": \"0.51510674\",\n \"text\": \"@Test public void representationOfCharPrimitive() throws Exception {\\n assertEquals(\\\"s:1:\\\\\\\"X\\\\\\\";\\\", representationOf('X'));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9fca244c1f200b33154fd0f4231dd0df\",\n \"score\": \"0.5146887\",\n \"text\": \"private int processaEstado10( char c )\\n\\t{\\n\\t\\tif( c == '*' )\\n\\t\\t{\\n\\t\\t\\treturn 11;\\n\\t\\t}\\n\\n\\t\\treturn 0;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ccc9d2cfce267b9c8562728871702a3\",\n \"score\": \"0.51354903\",\n \"text\": \"private String checkInvalidsChar(String nome, String nacionalidade) {\\r\\n\\t\\tchar c;\\r\\n\\t\\tif((c=hasInvalidChar(nome))!='x') {\\r\\n\\t\\t\\treturn \\\"ERRO! Caracter '\\\"+String.valueOf(c)+\\\"' Invalido!\\\";\\r\\n\\t\\t}\\r\\n\\t\\t\\r\\n\\t\\tif((c=hasInvalidChar(nacionalidade))!='x') {\\r\\n\\t\\t\\treturn \\\"ERRO! Caracter '\\\"+String.valueOf(c)+\\\"' Invalido!\\\";\\r\\n\\t\\t}\\r\\n\\t\\treturn \\\"ok\\\";\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"080c9abb38500f1c301cc432e321b015\",\n \"score\": \"0.51344156\",\n \"text\": \"private void cargarVocales(){\\n //el empieza desde cero hasta llegar al 4\\n texto[0] = \\\"A\\\";\\n texto[1] = \\\"E\\\";\\n texto[2] = \\\"I\\\";\\n texto[3] = \\\"O\\\";\\n texto[4] = \\\"U\\\";\\n \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bbca64e3457f1386672d435f5bb779b9\",\n \"score\": \"0.5133913\",\n \"text\": \"private static char getHexCharacter(String s, int p) {\\n char c = s.charAt(p);\\n if (Character.isLetter(c))\\n c = Character.toUpperCase(c);\\n\\n if (HEX_DIGITS.indexOf(c) == -1)\\n throw new IllegalArgumentException(\\\"Mailformed string at index \\\" + p);\\n\\n return c;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d8ed7173d7e752a96c9cd21417b8f826\",\n \"score\": \"0.5132138\",\n \"text\": \"public double getAsciiFromString(String cadena){ \\n int contador = 0;\\n for (int i = 0; i < cadena.length() ; i++ ) {\\n contador += (int)cadena.charAt(i);\\n }\\n return new Double(contador);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eefb8ab9362a46ee292fc81d22dca82a\",\n \"score\": \"0.51310015\",\n \"text\": \"CharacterSet createCharacterSet();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42cd1a17d1605c6597bd32b08495992a\",\n \"score\": \"0.5127413\",\n \"text\": \"public String getCharValue() {\\r\\n\\treturn this.toString();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"074838259c924c308cfe64fe404f62b1\",\n \"score\": \"0.5127189\",\n \"text\": \"private char octal(String value, int ndx) {\\r\\n String oct = value.substring(ndx + 1, ndx + 4);\\r\\n int result = Integer.parseInt(oct, 8);\\r\\n return (char) result;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"35d41e9be1ce1cdbe272226613ea0223\",\n \"score\": \"0.512661\",\n \"text\": \"String getC10_varchar256();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"de34f17d1b97e109afb396e83fc3ea8e\",\n \"score\": \"0.5123472\",\n \"text\": \"public void setChar(char c) { this.c = c; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c6a291f20aa9c725c44d9ec2dba3caed\",\n \"score\": \"0.5120655\",\n \"text\": \"public void setarCaixa() {\\n char vai[] = val.toCharArray();\\n if (val.length() == 1) {\\n cx1.setText(Character.toString(vai[0]));\\n cx2.setText(\\\"\\\");\\n cx3.setText(\\\"\\\");\\n cx4.setText(\\\"\\\");\\n cx5.setText(\\\"\\\");\\n }\\n if (val.length() == 2) {\\n cx1.setText(Character.toString(vai[0]));\\n cx2.setText(Character.toString(vai[1]));\\n cx3.setText(\\\"\\\");\\n cx4.setText(\\\"\\\");\\n cx5.setText(\\\"\\\");\\n }\\n if (val.length() == 3) {\\n cx1.setText(Character.toString(vai[0]));\\n cx2.setText(Character.toString(vai[1]));\\n cx3.setText(Character.toString(vai[2]));\\n cx4.setText(\\\"\\\");\\n cx5.setText(\\\"\\\");\\n }\\n if (val.length() == 4) {\\n cx1.setText(Character.toString(vai[0]));\\n cx2.setText(Character.toString(vai[1]));\\n cx3.setText(Character.toString(vai[2]));\\n cx4.setText(Character.toString(vai[3]));\\n cx5.setText(\\\"\\\");\\n }\\n if (val.length() == 5) {\\n cx1.setText(Character.toString(vai[0]));\\n cx2.setText(Character.toString(vai[1]));\\n cx3.setText(Character.toString(vai[2]));\\n cx4.setText(Character.toString(vai[3]));\\n cx5.setText(Character.toString(vai[4]));\\n } }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9158093305187f53af9b08cca98dee44\",\n \"score\": \"0.5119011\",\n \"text\": \"String getC14_varchar1024();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed66cead67dabb525a9c4bceb22021bc\",\n \"score\": \"0.5118024\",\n \"text\": \"public abstract void mo6147a(CharSequence charSequence);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"be0ae3af1dee0c38b07f8a04fb01174e\",\n \"score\": \"0.5117599\",\n \"text\": \"public String getCharacterEncoding();\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":345,"cells":{"query_id":{"kind":"string","value":"a53eb71d66fa05f85ca2b7f2303fcd11"},"query":{"kind":"string","value":"Set this value to true if we have to control the datasource as a datasource master or if it's a detail datasource. If is a detail datasource the table model will responde to events from template event throw this table."},"positive_passages":{"kind":"list like","value":[{"docid":"17b273c0b53c61c6096dc841ea2ce372","score":"0.50441307","text":"public void setAsMaster(boolean bMaster) {\r\n this.bMaster = bMaster;\r\n }","title":""}],"string":"[\n {\n \"docid\": \"17b273c0b53c61c6096dc841ea2ce372\",\n \"score\": \"0.50441307\",\n \"text\": \"public void setAsMaster(boolean bMaster) {\\r\\n this.bMaster = bMaster;\\r\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"a77724a625d99f700782fd168fb50d0d","score":"0.56149805","text":"@Override\n protected boolean recreateDataSource() {\n return true;\n }","title":""},{"docid":"6f87ef5b0226ab2c10d275ec15241672","score":"0.55290866","text":"public boolean supportsCreateDatasource() {\n return true;\n }","title":""},{"docid":"6c680a9f6e43831ab6039d5065d7da72","score":"0.5492753","text":"private void initTable() {\r\n\t\ttable.setContainerDataSource(beanItemContainer);\r\n\t\ttitleLabel.setValue(masterDefinition.getTableName());\r\n\t\t;\r\n\t\ttable.setColumnReorderingAllowed(masterDefinition != null ? masterDefinition\r\n\t\t\t\t.isColumnOrder() : DEFAULT_COLUMN_REORDER);\r\n\t\ttable.setSelectable(masterDefinition != null ? masterDefinition\r\n\t\t\t\t.isSelectable() : DEFAULT_SELECTABLE);\r\n\t\tif (masterDefinition.getVisibleColumns() != null)\r\n\t\t\ttable.setVisibleColumns((Object[]) masterDefinition\r\n\t\t\t\t\t.getVisibleColumns());\r\n\t\tif (masterDefinition != null)\r\n\t\t\ttable.addValueChangeListener((event) -> tableSelectionEvent(event));\r\n\t\tList> columnList = masterDefinition\r\n\t\t\t\t.getColumns();\r\n\t\tif (columnList != null) {\r\n\t\t\tfor (IMasterColumnDefinition c : columnList) {\r\n\t\t\t\ttable.setColumnHeader(c.getProperty(), c.getCaption());\r\n\t\t\t\tif (c.getFormat() != null)\r\n\t\t\t\t\ttable.setDateFormat(c.getProperty(), c.getFormat());\r\n\t\t\t}\r\n\t\t}\r\n\t\t/*\r\n\t\t * read properties generically and set them for table\r\n\t\t */\r\n\t\tMap properties = masterDefinition.getProperties();\r\n\t\tif (properties != null && properties.size() > 0) {\r\n\t\t\tfor (String key : properties.keySet()) {\r\n\t\t\t\tlog.info(table.getCaption() + \"\\t\" + key + \"\\t\"\r\n\t\t\t\t\t\t+ properties.get(key));\r\n\t\t\t\tmethodHelper\r\n\t\t\t\t\t\t.setPropertyForName(table, key, properties.get(key));\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t}","title":""},{"docid":"0ce2722c2ae306dd219d2a02191a16d3","score":"0.5292283","text":"public boolean isSingleDetail() {\n\t\treturn false;\n\t}","title":""},{"docid":"6296a717db71f63cf3064a1738fd2d9c","score":"0.5278696","text":"@Override\n protected void onConfigure() {\n\n super.onConfigure();\n setVisible( getDataGrid().getTotalRowCount() != 0 );\n }","title":""},{"docid":"396deea7f98457b4c939c31aa67c0ac5","score":"0.5270378","text":"public void setIsInTableCell() {}","title":""},{"docid":"ff6c63c98555f1fd75aadaa234869350","score":"0.5259383","text":"@Override\r\n\tpublic boolean tratarColunaEspecial(TableModelEvent e) {\n\t\treturn false;\r\n\t}","title":""},{"docid":"d317424cbabf0636de350c417f25dc2e","score":"0.52377385","text":"@Override\n\tpublic void setDataSource(DataSource ds) {\n\t\tdataSource = ds;\n\t}","title":""},{"docid":"b97b1b690ccec5de32f88e3672f24560","score":"0.52253085","text":"public boolean willReturnTable() {\n\t\tswitch (this) {\n\t\tcase SELECT_TABLE:\n\t\tcase UNION_SELECT:\n\t\t\treturn true;\n\t\tdefault:\n\t\t\treturn false;\n\t\t}\n\t}","title":""},{"docid":"eec9b68f1cbe8166efcfad87979facac","score":"0.51372117","text":"protected boolean canSwitch() {\n @SuppressWarnings(\"unchecked\")\n PmBean rowPm = (PmBean) masterTablePm.getCurrentRowPm();\n\n if (rowPm == null) {\n return true;\n }\n\n if (!validateDetails()) {\n return false;\n }\n\n for (DetailsPmHandler dh : detailsHandlers) {\n // If you need the second parameter in the DetailsPmHandler\n // please use MasterPmTableHandlerImpl.\n if (!dh.beforeMasterRecordChange(rowPm.getPmBean(), null)) {\n return false;\n }\n }\n\n return true;\n }","title":""},{"docid":"75930d5d24cf41a99a85b0244b1635f9","score":"0.5129504","text":"public void setDatasource(DataSource _ds)\n\t{\n\t\tthis._ds=_ds;\n\t\tSystem.out.println(\"Set Data Source in Model\"+_ds.toString());\n\t}","title":""},{"docid":"c2e68229d04b8534472d06f161d8dd3c","score":"0.5123855","text":"public boolean hasMaster() {\n return super.getData(false) != null;\n }","title":""},{"docid":"5d4ea52f6e7a43fcaff9313c8627f8f2","score":"0.5082321","text":"public void setDataSource(DataSource dataSource) {\n this.dataSource = dataSource;\n }","title":""},{"docid":"da9a5224a9d52cd7876e3bbf30ddec3a","score":"0.5079969","text":"@Override\n public void setDataSource(DataSource dataSource) {\n this.dataSource = dataSource;\n this.jdbcTemplateObject = new JdbcTemplate(dataSource);\n this.simpleJdbcInsert = new SimpleJdbcInsert(dataSource).withTableName(\"clientes\").usingGeneratedKeyColumns(\"id\");\n }","title":""},{"docid":"5cdbd1f366d57b784f32566983ac0b81","score":"0.5002152","text":"void setDataSource(DataSource dataSource);","title":""},{"docid":"e6d0e52a829dfcc9f16bd87a091ada0a","score":"0.50016546","text":"@Override\n\tpublic void setmDataSource(DataSource ds) {\n\t\tthis.mDataSource = ds;\n\t\tthis.mJdbcTemplate = new JdbcTemplate(mDataSource);\n\t}","title":""},{"docid":"36f18ce03628bdc92333ce2a8d897c87","score":"0.49967268","text":"public void setDataSource(DataSource ds);","title":""},{"docid":"9f84515a12764a28b4fd9bc0b63aa157","score":"0.4996401","text":"@Reference\n public void setDataSource(DataSource dataSource) {\n this.dataSource = dataSource;\n init();\n }","title":""},{"docid":"20cfb2d1ab5804933c390989005105af","score":"0.49932742","text":"@Bean(name = \"secondDataSource\")\n @ConfigurationProperties(prefix = \"spring.datasource.second\")\n public DataSource masterDataSource() {\n\n return DataSourceBuilder.create().build();\n }","title":""},{"docid":"2198723ce9fb3d2ad6b1ddd43f63d9b4","score":"0.49751413","text":"@Override\n\tpublic String getDatasourceName() {\n\t\treturn null;\n\t}","title":""},{"docid":"eaea5bea0d40bf03b17cc7c5c3269774","score":"0.49507755","text":"@Override\n public boolean isDdl() {\n return ddl;\n }","title":""},{"docid":"3a9f7158df186273ed920bc35852abfe","score":"0.49440867","text":"public void setDataSource(DataSource dataSource) {\n\t\tthis.dataSource = dataSource;\n\t}","title":""},{"docid":"75ec54f773fda6c63812b420d76fd1f3","score":"0.4939991","text":"public DataSource setName(String name);","title":""},{"docid":"2f2bfd7648c5edccad584c3a4a6381e7","score":"0.49286053","text":"@Override\r\n\tpublic String[] getBindDsName() {\n\t\treturn new String[]{\"customsClearance_dataSource\"}; \r\n\t}","title":""},{"docid":"2e750b6b0e60622120e863d7b45ae535","score":"0.4911199","text":"public boolean initTable(){\n try {\n this.bachitherapyTable.setItems(this.bachitherapyEntityObservableList);\n return true;\n }\n catch (NullPointerException e){\n e.printStackTrace();\n return false;\n }\n }","title":""},{"docid":"8289a296feb2f6882ae51851714a9206","score":"0.49111715","text":"public void setDisplay(){\n\t\ttable.setContainerDataSource(model.getTableBeanItemContainer());\n\t\t\n\t\t//2. Jika table masih dalam kondisi di seleksi maka form masih diisi dengan hasil seleksi\n\t\t\n\t\tsetTableProperties();\n\t\t\n\t\tsetDisplayFooter();\n\t}","title":""},{"docid":"b93ac73ab73ee74aac22b4bf83dae77a","score":"0.49036112","text":"public abstract void setDataSource(DataSource ds);","title":""},{"docid":"e9d7c2e87b9e9cb87d02ff503b4864f3","score":"0.490102","text":"protected DataSourceMetaData getDataSourceMetaData() {\n return dataSourceMetaData;\n }","title":""},{"docid":"881c6b7197caf593067b881f25c59fca","score":"0.48999345","text":"@Override\n\t\tpublic String validDataSource() {\n\t\t\treturn null;\n\t\t}","title":""},{"docid":"f6909d8ba29f1505cbb68c6d764e35e4","score":"0.48957697","text":"public void setSource(boolean source) {\n this.source = source;\n }","title":""},{"docid":"550dc3539a84004946c57e3fbe2130d9","score":"0.48773485","text":"public TestDataSourceBackend() {\n setSchemaName(\"TEST\");\n setDefaultKeyIdTable(\"PATIENT\");\n setDefaultKeyIdColumn(\"PATIENT_KEY\");\n setDefaultKeyIdJoinKey(\"PATIENT_KEY\");\n setMappingsFactory(new ResourceMappingsFactory(\"/etc/mappings/\", getClass()));\n }","title":""},{"docid":"d22b16784f5414c85846d5a26828b79e","score":"0.48773205","text":"protected String getDataSourceType() {\n return dataSourceType;\n }","title":""},{"docid":"141c9bfd333237f6e233ec8a725ebeeb","score":"0.4830557","text":"@Override\n public boolean indexTables() {\n return true;\n }","title":""},{"docid":"09a156838b703ce8534891131257d958","score":"0.481889","text":"protected String getDataSourceId() {\n return dataSourceId;\n }","title":""},{"docid":"f7a9be0fcdc765c8f9cf40fed9377242","score":"0.48157337","text":"public boolean isSettable() {\n return settable;\n }","title":""},{"docid":"698408f7a577af9b996476ca789b774d","score":"0.4815717","text":"public String getDatasourceName()\n {\n return m_datasourceName;\n }","title":""},{"docid":"c9f0ee908f85d507512c091335589611","score":"0.48100474","text":"public void setSettable(boolean isSettable) {\n this.settable = isSettable;\n }","title":""},{"docid":"a3554f560ca65a8d03ad400b7c5b27c3","score":"0.48020375","text":"public boolean canOpenDataSource(DataSource dataSource) {\n return DataSourceViewsManager.sharedInstance().hasViewsFor(dataSource);\n }","title":""},{"docid":"41ac547f302d18ebc39e2e5248494fea","score":"0.480109","text":"protected void setDataSourceMetaData(DataSourceMetaData dataSourceMetaData) {\n this.dataSourceMetaData = dataSourceMetaData;\n }","title":""},{"docid":"f66d74e53963bf38d567ba2f16d0b17c","score":"0.47982636","text":"public void setIsDataRow(boolean b) {\r\n\t\tmButtonEdit.setEnabled(b);\r\n\t\tmButtonDelete.setEnabled(b);\r\n\t\tisDataRow = b;\r\n\t}","title":""},{"docid":"f3c4348ba1635a3646f10dcb4139245e","score":"0.47911403","text":"@Override\n public boolean onResourceReady(Object resource, Object model, Target target, DataSource dataSource, boolean isFirstResource) {\n\n return false; // Allow calling onResourceReady on the Target.\n }","title":""},{"docid":"43d83a5bcb53d870ebcf55f5abc73668","score":"0.47901043","text":"public void setDataSource(DataSource dataSource)\n\t{\n mDataSource = dataSource;\n }","title":""},{"docid":"5ab23f7919a105ae0afa40b962d9c77a","score":"0.4775749","text":"public boolean isSetTable() {\n return this.table != null;\n }","title":""},{"docid":"5ab23f7919a105ae0afa40b962d9c77a","score":"0.4775749","text":"public boolean isSetTable() {\n return this.table != null;\n }","title":""},{"docid":"36e3d9b109dcdd142989f0563837b780","score":"0.47669193","text":"@Override\n public void onLoad(QTable conf) {\n }","title":""},{"docid":"fb6c090dcb735faeb5ea2f1d9511476e","score":"0.47645238","text":"@Override\n public boolean isShowSql() {\n return showSql;\n }","title":""},{"docid":"ed0412459a224a42e7912cafd990029c","score":"0.47600314","text":"public void createSourceMainTable() {\n\n\t\ttable = new Table(composite, SWT.BORDER | SWT.FULL_SELECTION);\n\t\ttable.setBounds(10, 63, 562, 182);\n\t\ttable.setHeaderVisible(true);\n\t\ttable.setLinesVisible(true);\n\n\t\tTableColumn tblclmnNumberOfPier = new TableColumn(table, SWT.CENTER);\n\t\ttblclmnNumberOfPier.setWidth(62);\n\t\ttblclmnNumberOfPier.setText(\"Pier\");\n\n\t\tTableColumn tblclmnShip = new TableColumn(table, SWT.CENTER);\n\t\ttblclmnShip.setWidth(118);\n\t\ttblclmnShip.setText(\"Ship\");\n\n\t\tTableColumn tblclmnStatus = new TableColumn(table, SWT.CENTER);\n\t\ttblclmnStatus.setWidth(96);\n\t\ttblclmnStatus.setText(\"Status\");\n\n\t\tTableColumn tblclmnStorage = new TableColumn(table, SWT.NONE);\n\t\ttblclmnStorage.setWidth(58);\n\t\ttblclmnStorage.setText(\"Storage\");\n\n\t\tTableColumn tblclmnTimemin = new TableColumn(table, SWT.CENTER);\n\t\ttblclmnTimemin.setWidth(86);\n\t\ttblclmnTimemin.setText(\"All time(min)\");\n\n\t\tTableColumn tblclmnAllTimemin = new TableColumn(table, SWT.NONE);\n\t\ttblclmnAllTimemin.setWidth(137);\n\t\ttblclmnAllTimemin.setText(\"Time for mooring(min)\");\n\n\t}","title":""},{"docid":"1310959552b399c9a454ee4f822f670e","score":"0.47590426","text":"public void setDataSourceDetails() {// This method is used to set database\n\t\t// configuration details to\n\t\t// a plain java bean\n\t\ttry {\n\t\t\tObject object1 = saReader.getDataSourceDetails();\n\t\t\tDbmsInfo dbInfoBean = (DbmsInfo) object1;\n\t\t\t// setting the OJBBean for for database mapping\n\t\t\tojbBean.setUserName(dbInfoBean.getDbUser());\n\t\t\tojbBean.setPassword(dbInfoBean.getDbPassword());\n\t\t\tString dbURL = dbInfoBean.getDbUrl();\n\t\t\tString[] jdbcInfo = dbURL.split(\":\");\n\t\t\tString protocol = jdbcInfo[0];\n\t\t\tString subProtocol = jdbcInfo[1] + \":\" + jdbcInfo[2];\n\t\t\tString dbAlias = jdbcInfo[3] + \":\" + jdbcInfo[4] + \":\"\n\t\t\t\t\t+ jdbcInfo[5];\n\t\t\tojbBean.setProtocol(protocol);\n\t\t\tojbBean.setSubProtocol(subProtocol);\n\t\t\tojbBean.setDbAlias(dbAlias);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}","title":""},{"docid":"7a21da41ad73f4e2fa9a78d4f3336300","score":"0.47522157","text":"protected boolean shouldObtainFixedConnection(DataSource targetDataSource)\r\n/* 48: */ {\r\n/* 49:157 */ return (!TransactionSynchronizationManager.isSynchronizationActive()) || (!this.reobtainTransactionalConnections);\r\n/* 50: */ }","title":""},{"docid":"e81063b2135c50930e4e77aa4760db79","score":"0.4745308","text":"public boolean isSetTable_name() {\n return this.table_name != null;\n }","title":""},{"docid":"ec19090855036c50343e23f68381a352","score":"0.4744358","text":"public String getDataSource() {\n return this.dataSource;\n }","title":""},{"docid":"e38052fc5f025894316b9582d1924771","score":"0.47413975","text":"@Override\n\t\t\tpublic void tableChanged(TableModelEvent e) {\n\t\t\t}","title":""},{"docid":"4ff0322df1c67908df830b1861740ed9","score":"0.47404802","text":"public void setDataSource(String dataSource) {\n this.dataSource = dataSource;\n }","title":""},{"docid":"9adfd121abc61debbefa1d07a6b47cd0","score":"0.47384617","text":"abstract void setDataSource(com.webobjects.eocontrol.EODataSource aDataSource);","title":""},{"docid":"98bc1040554ce32ed307de84a9c49ede","score":"0.47340065","text":"public void setContainerDataSource(ProjectBean projectBean) {\n this.currentBean = projectBean;\n this.table.setContainerDataSource(projectBean.getExperiments());\n\n for (Iterator i = table.getItemIds().iterator(); i.hasNext();) {\n // Get the current item identifier, which is an integer.\n ExperimentBean item = (ExperimentBean) i.next();\n\n }\n table.setVisibleColumns(\n new Object[] {\"code\", \"prettyType\", \"registrationDate\", \"registrator\", \"status\"});\n\n table.setColumnHeader(\"prettyType\", \"Type\");\n int rowNumber = this.table.size();\n\n if (rowNumber == 0) {\n this.table.setVisible(false);\n } else {\n this.table.setVisible(true);\n this.table.setPageLength(Math.min(rowNumber, 10));\n }\n }","title":""},{"docid":"fa3fb8d785a14456183bb13c6bd751de","score":"0.47193313","text":"public void setDataSource(String dataSource)\n {\n _dataSource = dataSource;\n }","title":""},{"docid":"0dc86d0e11dd66f548600c9eb779a14d","score":"0.47189963","text":"public boolean isSetTblName() {\n return this.tblName != null;\n }","title":""},{"docid":"5ffba457d23065efcdd274bcc6496f56","score":"0.4713576","text":"public boolean isSetTable_name() {\n return this.table_name != null;\n }","title":""},{"docid":"7bef9061b8f434a529839b4bb0b6dcea","score":"0.46981978","text":"@Override\r\n protected TableService target() {\r\n return (TableService) super.target();\r\n }","title":""},{"docid":"3f37ed8334dc12f667c976f60305d4f6","score":"0.46892554","text":"public T caseDataSource(DataSource object) {\r\n\t\treturn null;\r\n\t}","title":""},{"docid":"943158c61994dab22588b5ac8fef6496","score":"0.46858183","text":"@Override\n public void \n prePanelOp() \n {\n super.prePanelOp(); \n \n if(pHostsTablePanel != null) \n pHostsTablePanel.getTable().setEnabled(false);\n }","title":""},{"docid":"9c08ee11036b19cb39f0e861aa5e735b","score":"0.4678851","text":"@Override\n\tpublic void setDataSource(DataSource dataSource) {\n\t\tthis.dataSource= dataSource;\n\t\tjdbcTemplateObject = new JdbcTemplate(dataSource);\n\t}","title":""},{"docid":"380633e8077b63f957c91cda7e094aae","score":"0.46751595","text":"public void onRowSelect(SelectEvent event) { bean = (BankBean) event.getObject(); registerController.setCreate(Boolean.TRUE);}","title":""},{"docid":"75cc93e7ed1eb974f1da768ada017dc2","score":"0.46712554","text":"@Bean\n public DataSource dataSource() {\n Map dataSourceMap = new HashMap<>();\n\n // To configure the first data source\n DruidDataSource dataSource1 = new DruidDataSource();\n dataSource1.setDriverClassName(\"com.mysql.jdbc.Driver\");\n dataSource1.setUrl(\"jdbc:mysql://localhost:3306/ds_0\");\n dataSource1.setUsername(\"root\");\n dataSource1.setPassword(\"\");\n dataSourceMap.put(\"ds_0\", dataSource1);\n\n // To configure the second data source\n DruidDataSource dataSource2 = new DruidDataSource();\n dataSource2.setDriverClassName(\"com.mysql.jdbc.Driver\");\n dataSource2.setUrl(\"jdbc:mysql://localhost:3306/ds_1\");\n dataSource2.setUsername(\"root\");\n dataSource2.setPassword(\"\");\n dataSourceMap.put(\"ds_1\", dataSource2);\n\n // To configure the table rules for Order\n TableRuleConfiguration orderTableRuleConfig = new TableRuleConfiguration();\n orderTableRuleConfig.setLogicTable(\"t_order\");\n orderTableRuleConfig.setActualDataNodes(\"ds_${0..1}.t_order_${0..1}\");\n\n // To configure the strategy for database Sharding.\n orderTableRuleConfig.setDatabaseShardingStrategyConfig(new InlineShardingStrategyConfiguration(\"user_id\", \"ds_${user_id % 2}\"));\n\n // To configure the strategy for table Sharding.\n orderTableRuleConfig.setTableShardingStrategyConfig(new InlineShardingStrategyConfiguration(\"order_id\", \"t_order_${order_id % 2}\"));\n\n // To configure the strategy rule of Sharding\n ShardingRuleConfiguration shardingRuleConfig = new ShardingRuleConfiguration();\n shardingRuleConfig.getTableRuleConfigs().add(orderTableRuleConfig);\n\n // To configure the table rules for order_item\n\n // ...\n\n // To get the data source object\n DataSource dataSource = null;\n try {\n dataSource = ShardingDataSourceFactory.createDataSource(dataSourceMap, shardingRuleConfig, new ConcurrentHashMap(), new Properties());\n } catch (SQLException e) {\n e.printStackTrace();\n }\n return dataSource;\n }","title":""},{"docid":"6f5c3739c271be6c347b50096859af38","score":"0.46689305","text":"public boolean isSetTablePrefixName() {\n return this.tablePrefixName != null;\n }","title":""},{"docid":"da493d8d5c26a94df74ac78c73510bd9","score":"0.46677697","text":"public boolean isAutoJoin() {\n return autoJoin;\n }","title":""},{"docid":"8325b93878de42968870156621a2b3dc","score":"0.46643156","text":"@Override\n public String getTableType() {\n return super.getTableType();\n }","title":""},{"docid":"45376bb5cbdd4d462cea4ed54cc3c813","score":"0.46548036","text":"@Override\n public void setPrimarySession(boolean primarySession) {\n this.isPrimarySession = primarySession;\n }","title":""},{"docid":"3e12556d4e4e6b81cd6cf01d86da7803","score":"0.46319377","text":"public void setDataSource(final DataSource ds) {\n dataSource = ds;\n }","title":""},{"docid":"e44950cd5f1749e6333f015c363747df","score":"0.46272516","text":"public void configTable() {\n\t\tString[][] colNames;\n\n\t\tcolNames = new String[][] { { \"Name\", \"name\" }, { \"Salary\", \"wage\" } };\n\t\tfor (String[] colName : colNames) {\n\t\t\tTableColumn col = new TableColumn<>(colName[0]);\n\t\t\tcol.setCellValueFactory(new PropertyValueFactory<>(colName[1]));\n\t\t\tdesignationTable.getColumns().add(col);\n\t\t}\n\t\tdesignationTable.setItems(designationData);\n\n\t\tcolNames = new String[][] { { \"Test\", \"name\" }, { \"Fee\", \"fee\" } };\n\t\tfor (String[] colName : colNames) {\n\t\t\tTableColumn col = new TableColumn<>(colName[0]);\n\t\t\tcol.setCellValueFactory(new PropertyValueFactory<>(colName[1]));\n\t\t\ttestTable.getColumns().add(col);\n\t\t}\n\t\ttestTable.setItems(testData);\n\n\t\tcolNames = new String[][] { { \"Treatment\", \"name\" }, { \"Fee\", \"fee\" } };\n\t\tfor (String[] colName : colNames) {\n\t\t\tTableColumn col = new TableColumn<>(colName[0]);\n\t\t\tcol.setCellValueFactory(new PropertyValueFactory<>(colName[1]));\n\t\t\ttreatmentTable.getColumns().add(col);\n\t\t}\n\t\ttreatmentTable.setItems(treatmentData);\n\n\t\tbranchList.getItems().clear();\n\t\tBranchData.getList().forEach(x -> branchList.getItems().add(x));\n\n\t\tbloodGroupList.getItems().clear();\n\t\tBloodGroupData.getList().forEach(x -> bloodGroupList.getItems().add(x));\n\t}","title":""},{"docid":"e6a6e7effd64c4fb2871e4f2709b54f1","score":"0.46240523","text":"@Override\n public boolean equals(Object toCompare) {\n if (toCompare instanceof AbstractDataSource) {\n return ((this.dsId == ((AbstractDataSource) toCompare).dsId)) &&\n (this.creationTime == ((AbstractDataSource) toCompare).creationTime) &&\n (this.modifiedTime == ((AbstractDataSource) toCompare).modifiedTime) &&\n (this.status == ((AbstractDataSource) toCompare).status) &&\n (this.getDataSourceType().equals(((AbstractDataSource) toCompare).getDataSourceType())) &&\n (this.getDataSourceId().equals(((AbstractDataSource) toCompare).getDataSourceId())) &&\n (this.getPlatformType().equals(((AbstractDataSource) toCompare).getPlatformType())) &&\n (this.getPlatformId().equals(((AbstractDataSource) toCompare).getPlatformId())) &&\n (this.getPlatformAppType().equals(((AbstractDataSource) toCompare).getPlatformAppType())) &&\n (this.getPlatformAppId().equals(((AbstractDataSource) toCompare).getPlatformAppId())) &&\n (this.getApplicationType().equals(((AbstractDataSource) toCompare).getApplicationType())) &&\n ((this.getApplicationId() == null && ((AbstractDataSource) toCompare).getApplicationId() == null) ||\n (this.getApplicationId().equals(((AbstractDataSource) toCompare).getApplicationId()))) &&\n (this.getDataSourceMetaData().equals(((AbstractDataSource) toCompare).getDataSourceMetaData())) &&\n (this.getPlatformMetaData().equals(((AbstractDataSource) toCompare).getPlatformMetaData())) &&\n (this.getPlatformAppMetaData().equals(((AbstractDataSource) toCompare).getPlatformAppMetaData())) &&\n (this.getApplicationMetaData().equals(((AbstractDataSource) toCompare).getApplicationMetaData()));\n } else\n return false;\n }","title":""},{"docid":"c9829b5db8e60a7f2f2d2dd68da11404","score":"0.46143863","text":"public boolean isEnforceTableLocking()\n {\n return enforceTableLocking;\n }","title":""},{"docid":"bb957a51bcb0395e77daec5771ec0259","score":"0.4614286","text":"public void setTableStyle(boolean tableStyle) {\n this.tableStyle = tableStyle;\n }","title":""},{"docid":"7ddcffffe17ba2282a6e378e40f35f08","score":"0.46029192","text":"public TransactionAwareDataSourceProxy(DataSource targetDataSource)\r\n/* 22: */ {\r\n/* 23: 97 */ super(targetDataSource);\r\n/* 24: */ }","title":""},{"docid":"72222c31b2c9cf24c0f06371b13ed24d","score":"0.46010303","text":"protected boolean canBePrimary() {\n return true;\n }","title":""},{"docid":"9642fe74dd6d1a4885e6326c9c1c1e25","score":"0.45985755","text":"public int getDataSource() {\n return dataSource;\n }","title":""},{"docid":"6f9cad3e78152a84f6316c01b17b7775","score":"0.4589133","text":"public boolean tablename() {\n return tablename;\n }","title":""},{"docid":"58fd950afbc73391207a051ec78bb9d2","score":"0.45784238","text":"public String getDataSourceName();","title":""},{"docid":"4a63baec1929653c05bdc323c60f114a","score":"0.4577027","text":"protected DataSource getDataSource() {\n\t\treturn dataSource;\n\t}","title":""},{"docid":"273716ff0ef1f5a2ba2ecb88ada75dd1","score":"0.45769837","text":"public void showSourcesOrDrains(boolean isSource){\n \tthis.graphMain.showSourcesOrDrains(isSource);\n }","title":""},{"docid":"f0ebc02e6e054e35b10115e8d285f83e","score":"0.4571974","text":"public boolean isTableStyle() {\n return tableStyle;\n }","title":""},{"docid":"51b03453758274d5edfbf48360254c19","score":"0.45702067","text":"private void enableDoubleClickOnTable() {\n\t\treportsTable.setOnMouseClicked(new EventHandler() {\n\t\t\t@Override\n\t\t\tpublic void handle(MouseEvent event) {\n\t\t\t\tif (event.getClickCount() > 1) {\n\t\t\t\t\tModelReports report = (ModelReports) reportsTable\n\t\t\t\t\t\t\t.getSelectionModel().getSelectedItem();\n\t\t\t\t\tReportForm rf = new ReportForm();\n\t\t\t\t\ttry {\n\t\t\t\t\t\tReportFormController.setReports(report);\n\t\t\t\t\t\trf.start(primaryStage);\n\n\t\t\t\t\t} catch (IOException e) {\n\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}","title":""},{"docid":"a2c3c7579b6fd21c4355a51f83e9997c","score":"0.45629358","text":"Boolean getHasTable();","title":""},{"docid":"ce6367b35690d6742ac7c4069ee35a06","score":"0.45471475","text":"public java.lang.Boolean getReparentableMasterDetail() {\r\n return reparentableMasterDetail;\r\n }","title":""},{"docid":"ea98cba96fe69b23fe127491124dfae4","score":"0.45438343","text":"@Override\n\t\tpublic void tableChanged(TableModelEvent e) {\n\t\t\tint type = e.getType(); // get event type.\n int row = e.getFirstRow(); // get row index.\n int column = e.getColumn(); // get line index.\n if(type == TableModelEvent.INSERT) {\n \t\n } else if(type == TableModelEvent.UPDATE) {\n \tif(Model.getColumnName(column).equals(ColumnName_Enable)) { // check if we changed the column of \"EN\"\n \t\tif(TableListenerEnableFlag == true) {\n\t \t\tboolean isEnabled = false;\n\t \t\tString groupName = null, membrName = null;\n\t \t\tsynchronized(Model) { // we must make sure the \"Model\" is NOT in changing\n\t \t\t\tisEnabled = (boolean)Model.getValueAt(row, column);\n\t \t\t\tgroupName = (String)Model.getValueAt(row, Model.findColumn(ColumnName_Group));\n\t \t\t\tmembrName = (String)Model.getValueAt(row, Model.findColumn(ColumnName_Member));\n\t \t\t}\n\t \t\tif(isEnabled) {\n\t \t\t\tColor c = addToObserver(groupName, membrName);\n\t \t\t\tTableRowColorRenderer.addRowColor(row, c);\n\t \t\t\t/* update selection background */\n\t \t\t\tif(row == mTable.getSelectedRow()) {\n\t \t\t\t\tmTable.setSelectionBackground(c);\n\t \t\t\t}\n\t \t\t} else {\n\t \t\t\tremoveFromObserver(groupName, membrName);\n\t \t\t\tTableRowColorRenderer.removeRowColor(row);\n\t \t\t\t/* update selection background */\n\t \t\t\tif(row == mTable.getSelectedRow()) {\n\t \t\t\t\tmTable.setSelectionBackground(Color.LIGHT_GRAY);\n\t \t\t\t}\n\t \t\t}\n \t\t}\n \t}\n } else if (type == TableModelEvent.DELETE) {\n \t\n } else {\n \t\n }\n\t\t}","title":""},{"docid":"27f41a3b3467b8bd17ffaf18a2880c51","score":"0.4543738","text":"@Bean\n\t@Conditional(value= ConditonJpa.class)\n\tpublic DataSource dataSource() {\n\t\tDriverManagerDataSource dataSource = new DriverManagerDataSource();\n\t\tdataSource.setDriverClassName(ApplicationConfig.dbDriver);\n\t\tdataSource.setUrl(String.format(\"jdbc:postgresql://%s:%s/%s\", ApplicationConfig.dbHost, ApplicationConfig.dbPort, ApplicationConfig.dbSchema));\n\t\tdataSource.setUsername(ApplicationConfig.dbUser);\n\t\tdataSource.setPassword(ApplicationConfig.dbPassword);\n\t\treturn dataSource;\n\t}","title":""},{"docid":"1dd4a249fdc92517c181cbd27f6ff46b","score":"0.4543112","text":"public void setDataSource(final int dataSource) {\n this.dataSource = dataSource;\n }","title":""},{"docid":"81d63e9820b60b2e639d140924045fd0","score":"0.45356223","text":"@Override\n\tpublic boolean getBulidFlag() {\n\t\treturn configTemplateBean.isControllerTemplate();\n\t}","title":""},{"docid":"13986a40a58c81287c438a71e5c67fc3","score":"0.45295745","text":"public Builder setTradable(boolean value) {\n \n tradable_ = value;\n onChanged();\n return this;\n }","title":""},{"docid":"48c119c463f29f8e35c53d589c06ecb5","score":"0.45131242","text":"public void setTabled(Node predicate) {\n engine.tablePredicate(predicate);\n if (isTraceOn()) {\n logger.info(\"LP TABLE \" + predicate);\n }\n }","title":""},{"docid":"4a4b6859ea83e0c0926a8b61252dfc28","score":"0.4508108","text":"public boolean isEnableDataPropagation() {\n return enableDataPropagation;\n }","title":""},{"docid":"791e6effcc5f6a37c5337fc4e51120a2","score":"0.45030123","text":"public boolean isMasterSlave() {\n return null != masterSlaveRule;\n }","title":""},{"docid":"b702e40428e354423cdb1e58b80f064c","score":"0.44876644","text":"private void setOnTableView(StudentPerformExam student) {\r\n\t\t/* Set the objects in the table view */\r\n\t\tstudnetInExamTableView.getItems().remove(studnetInExamTableView.getSelectionModel().getSelectedIndex());\r\n\t\tstudnetInExamTableView.getItems().add(student);\r\n\t}","title":""},{"docid":"2c5583c3792111f9701b26a2b2c6af96","score":"0.4487261","text":"public void setForwardDatasource(String _forwardDatasource) {\r\n this._forwardDatasource = _forwardDatasource;\r\n }","title":""},{"docid":"8d1015ef79beb239de3e37f63b13919d","score":"0.44833365","text":"boolean isSetSource();","title":""},{"docid":"9e61f2c2e43a480d5430e98846bb5424","score":"0.44794762","text":"public String getDataSource() {\n return dataSource;\n }","title":""},{"docid":"3f2af2e97281f78e492ea0658845711e","score":"0.4469661","text":"public TransactionAwareInvocationHandler(DataSource targetDataSource)\r\n/* 60: */ {\r\n/* 61:174 */ this.targetDataSource = targetDataSource;\r\n/* 62: */ }","title":""},{"docid":"6c749317c3dfd8a64b0b71d1c0cb7364","score":"0.44646394","text":"protected boolean isMasterCell() {\n synchronized (cells) {\n if (config.getThisCell().getCellid() ==\n ((CellInfo) cells.get(0)).getCellid()) {\n return true;\n } else {\n return false;\n }\n }\n }","title":""},{"docid":"54882496e43a2ff84928a09777ed2174","score":"0.4464527","text":"java.lang.String getDataSource();","title":""},{"docid":"2a0531a760bec5d73dc087de496da656","score":"0.44553402","text":"@Override\n\tprotected void initializeAction() {\n\t\trowIndex=TableRuntime.getRow(sourceId);\n\t\tcolIndex=TableRuntime.getCol(sourceId);\n\t\t\n\t\tsuper.initializeAction();\n\t\t\n //setting whether the cell linked to this action can be edited or not\n ((TableWidget)component).setCellEditable(rowIndex, colIndex, isAuthorized);\n\t}","title":""}],"string":"[\n {\n \"docid\": \"a77724a625d99f700782fd168fb50d0d\",\n \"score\": \"0.56149805\",\n \"text\": \"@Override\\n protected boolean recreateDataSource() {\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f87ef5b0226ab2c10d275ec15241672\",\n \"score\": \"0.55290866\",\n \"text\": \"public boolean supportsCreateDatasource() {\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c680a9f6e43831ab6039d5065d7da72\",\n \"score\": \"0.5492753\",\n \"text\": \"private void initTable() {\\r\\n\\t\\ttable.setContainerDataSource(beanItemContainer);\\r\\n\\t\\ttitleLabel.setValue(masterDefinition.getTableName());\\r\\n\\t\\t;\\r\\n\\t\\ttable.setColumnReorderingAllowed(masterDefinition != null ? masterDefinition\\r\\n\\t\\t\\t\\t.isColumnOrder() : DEFAULT_COLUMN_REORDER);\\r\\n\\t\\ttable.setSelectable(masterDefinition != null ? masterDefinition\\r\\n\\t\\t\\t\\t.isSelectable() : DEFAULT_SELECTABLE);\\r\\n\\t\\tif (masterDefinition.getVisibleColumns() != null)\\r\\n\\t\\t\\ttable.setVisibleColumns((Object[]) masterDefinition\\r\\n\\t\\t\\t\\t\\t.getVisibleColumns());\\r\\n\\t\\tif (masterDefinition != null)\\r\\n\\t\\t\\ttable.addValueChangeListener((event) -> tableSelectionEvent(event));\\r\\n\\t\\tList> columnList = masterDefinition\\r\\n\\t\\t\\t\\t.getColumns();\\r\\n\\t\\tif (columnList != null) {\\r\\n\\t\\t\\tfor (IMasterColumnDefinition c : columnList) {\\r\\n\\t\\t\\t\\ttable.setColumnHeader(c.getProperty(), c.getCaption());\\r\\n\\t\\t\\t\\tif (c.getFormat() != null)\\r\\n\\t\\t\\t\\t\\ttable.setDateFormat(c.getProperty(), c.getFormat());\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t\\t/*\\r\\n\\t\\t * read properties generically and set them for table\\r\\n\\t\\t */\\r\\n\\t\\tMap properties = masterDefinition.getProperties();\\r\\n\\t\\tif (properties != null && properties.size() > 0) {\\r\\n\\t\\t\\tfor (String key : properties.keySet()) {\\r\\n\\t\\t\\t\\tlog.info(table.getCaption() + \\\"\\\\t\\\" + key + \\\"\\\\t\\\"\\r\\n\\t\\t\\t\\t\\t\\t+ properties.get(key));\\r\\n\\t\\t\\t\\tmethodHelper\\r\\n\\t\\t\\t\\t\\t\\t.setPropertyForName(table, key, properties.get(key));\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0ce2722c2ae306dd219d2a02191a16d3\",\n \"score\": \"0.5292283\",\n \"text\": \"public boolean isSingleDetail() {\\n\\t\\treturn false;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6296a717db71f63cf3064a1738fd2d9c\",\n \"score\": \"0.5278696\",\n \"text\": \"@Override\\n protected void onConfigure() {\\n\\n super.onConfigure();\\n setVisible( getDataGrid().getTotalRowCount() != 0 );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"396deea7f98457b4c939c31aa67c0ac5\",\n \"score\": \"0.5270378\",\n \"text\": \"public void setIsInTableCell() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ff6c63c98555f1fd75aadaa234869350\",\n \"score\": \"0.5259383\",\n \"text\": \"@Override\\r\\n\\tpublic boolean tratarColunaEspecial(TableModelEvent e) {\\n\\t\\treturn false;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d317424cbabf0636de350c417f25dc2e\",\n \"score\": \"0.52377385\",\n \"text\": \"@Override\\n\\tpublic void setDataSource(DataSource ds) {\\n\\t\\tdataSource = ds;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b97b1b690ccec5de32f88e3672f24560\",\n \"score\": \"0.52253085\",\n \"text\": \"public boolean willReturnTable() {\\n\\t\\tswitch (this) {\\n\\t\\tcase SELECT_TABLE:\\n\\t\\tcase UNION_SELECT:\\n\\t\\t\\treturn true;\\n\\t\\tdefault:\\n\\t\\t\\treturn false;\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eec9b68f1cbe8166efcfad87979facac\",\n \"score\": \"0.51372117\",\n \"text\": \"protected boolean canSwitch() {\\n @SuppressWarnings(\\\"unchecked\\\")\\n PmBean rowPm = (PmBean) masterTablePm.getCurrentRowPm();\\n\\n if (rowPm == null) {\\n return true;\\n }\\n\\n if (!validateDetails()) {\\n return false;\\n }\\n\\n for (DetailsPmHandler dh : detailsHandlers) {\\n // If you need the second parameter in the DetailsPmHandler\\n // please use MasterPmTableHandlerImpl.\\n if (!dh.beforeMasterRecordChange(rowPm.getPmBean(), null)) {\\n return false;\\n }\\n }\\n\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75930d5d24cf41a99a85b0244b1635f9\",\n \"score\": \"0.5129504\",\n \"text\": \"public void setDatasource(DataSource _ds)\\n\\t{\\n\\t\\tthis._ds=_ds;\\n\\t\\tSystem.out.println(\\\"Set Data Source in Model\\\"+_ds.toString());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c2e68229d04b8534472d06f161d8dd3c\",\n \"score\": \"0.5123855\",\n \"text\": \"public boolean hasMaster() {\\n return super.getData(false) != null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d4ea52f6e7a43fcaff9313c8627f8f2\",\n \"score\": \"0.5082321\",\n \"text\": \"public void setDataSource(DataSource dataSource) {\\n this.dataSource = dataSource;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da9a5224a9d52cd7876e3bbf30ddec3a\",\n \"score\": \"0.5079969\",\n \"text\": \"@Override\\n public void setDataSource(DataSource dataSource) {\\n this.dataSource = dataSource;\\n this.jdbcTemplateObject = new JdbcTemplate(dataSource);\\n this.simpleJdbcInsert = new SimpleJdbcInsert(dataSource).withTableName(\\\"clientes\\\").usingGeneratedKeyColumns(\\\"id\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5cdbd1f366d57b784f32566983ac0b81\",\n \"score\": \"0.5002152\",\n \"text\": \"void setDataSource(DataSource dataSource);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e6d0e52a829dfcc9f16bd87a091ada0a\",\n \"score\": \"0.50016546\",\n \"text\": \"@Override\\n\\tpublic void setmDataSource(DataSource ds) {\\n\\t\\tthis.mDataSource = ds;\\n\\t\\tthis.mJdbcTemplate = new JdbcTemplate(mDataSource);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"36f18ce03628bdc92333ce2a8d897c87\",\n \"score\": \"0.49967268\",\n \"text\": \"public void setDataSource(DataSource ds);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9f84515a12764a28b4fd9bc0b63aa157\",\n \"score\": \"0.4996401\",\n \"text\": \"@Reference\\n public void setDataSource(DataSource dataSource) {\\n this.dataSource = dataSource;\\n init();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"20cfb2d1ab5804933c390989005105af\",\n \"score\": \"0.49932742\",\n \"text\": \"@Bean(name = \\\"secondDataSource\\\")\\n @ConfigurationProperties(prefix = \\\"spring.datasource.second\\\")\\n public DataSource masterDataSource() {\\n\\n return DataSourceBuilder.create().build();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2198723ce9fb3d2ad6b1ddd43f63d9b4\",\n \"score\": \"0.49751413\",\n \"text\": \"@Override\\n\\tpublic String getDatasourceName() {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eaea5bea0d40bf03b17cc7c5c3269774\",\n \"score\": \"0.49507755\",\n \"text\": \"@Override\\n public boolean isDdl() {\\n return ddl;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a9f7158df186273ed920bc35852abfe\",\n \"score\": \"0.49440867\",\n \"text\": \"public void setDataSource(DataSource dataSource) {\\n\\t\\tthis.dataSource = dataSource;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75ec54f773fda6c63812b420d76fd1f3\",\n \"score\": \"0.4939991\",\n \"text\": \"public DataSource setName(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2f2bfd7648c5edccad584c3a4a6381e7\",\n \"score\": \"0.49286053\",\n \"text\": \"@Override\\r\\n\\tpublic String[] getBindDsName() {\\n\\t\\treturn new String[]{\\\"customsClearance_dataSource\\\"}; \\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2e750b6b0e60622120e863d7b45ae535\",\n \"score\": \"0.4911199\",\n \"text\": \"public boolean initTable(){\\n try {\\n this.bachitherapyTable.setItems(this.bachitherapyEntityObservableList);\\n return true;\\n }\\n catch (NullPointerException e){\\n e.printStackTrace();\\n return false;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8289a296feb2f6882ae51851714a9206\",\n \"score\": \"0.49111715\",\n \"text\": \"public void setDisplay(){\\n\\t\\ttable.setContainerDataSource(model.getTableBeanItemContainer());\\n\\t\\t\\n\\t\\t//2. Jika table masih dalam kondisi di seleksi maka form masih diisi dengan hasil seleksi\\n\\t\\t\\n\\t\\tsetTableProperties();\\n\\t\\t\\n\\t\\tsetDisplayFooter();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b93ac73ab73ee74aac22b4bf83dae77a\",\n \"score\": \"0.49036112\",\n \"text\": \"public abstract void setDataSource(DataSource ds);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e9d7c2e87b9e9cb87d02ff503b4864f3\",\n \"score\": \"0.490102\",\n \"text\": \"protected DataSourceMetaData getDataSourceMetaData() {\\n return dataSourceMetaData;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"881c6b7197caf593067b881f25c59fca\",\n \"score\": \"0.48999345\",\n \"text\": \"@Override\\n\\t\\tpublic String validDataSource() {\\n\\t\\t\\treturn null;\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f6909d8ba29f1505cbb68c6d764e35e4\",\n \"score\": \"0.48957697\",\n \"text\": \"public void setSource(boolean source) {\\n this.source = source;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"550dc3539a84004946c57e3fbe2130d9\",\n \"score\": \"0.48773485\",\n \"text\": \"public TestDataSourceBackend() {\\n setSchemaName(\\\"TEST\\\");\\n setDefaultKeyIdTable(\\\"PATIENT\\\");\\n setDefaultKeyIdColumn(\\\"PATIENT_KEY\\\");\\n setDefaultKeyIdJoinKey(\\\"PATIENT_KEY\\\");\\n setMappingsFactory(new ResourceMappingsFactory(\\\"/etc/mappings/\\\", getClass()));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d22b16784f5414c85846d5a26828b79e\",\n \"score\": \"0.48773205\",\n \"text\": \"protected String getDataSourceType() {\\n return dataSourceType;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"141c9bfd333237f6e233ec8a725ebeeb\",\n \"score\": \"0.4830557\",\n \"text\": \"@Override\\n public boolean indexTables() {\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"09a156838b703ce8534891131257d958\",\n \"score\": \"0.481889\",\n \"text\": \"protected String getDataSourceId() {\\n return dataSourceId;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f7a9be0fcdc765c8f9cf40fed9377242\",\n \"score\": \"0.48157337\",\n \"text\": \"public boolean isSettable() {\\n return settable;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"698408f7a577af9b996476ca789b774d\",\n \"score\": \"0.4815717\",\n \"text\": \"public String getDatasourceName()\\n {\\n return m_datasourceName;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c9f0ee908f85d507512c091335589611\",\n \"score\": \"0.48100474\",\n \"text\": \"public void setSettable(boolean isSettable) {\\n this.settable = isSettable;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a3554f560ca65a8d03ad400b7c5b27c3\",\n \"score\": \"0.48020375\",\n \"text\": \"public boolean canOpenDataSource(DataSource dataSource) {\\n return DataSourceViewsManager.sharedInstance().hasViewsFor(dataSource);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"41ac547f302d18ebc39e2e5248494fea\",\n \"score\": \"0.480109\",\n \"text\": \"protected void setDataSourceMetaData(DataSourceMetaData dataSourceMetaData) {\\n this.dataSourceMetaData = dataSourceMetaData;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f66d74e53963bf38d567ba2f16d0b17c\",\n \"score\": \"0.47982636\",\n \"text\": \"public void setIsDataRow(boolean b) {\\r\\n\\t\\tmButtonEdit.setEnabled(b);\\r\\n\\t\\tmButtonDelete.setEnabled(b);\\r\\n\\t\\tisDataRow = b;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f3c4348ba1635a3646f10dcb4139245e\",\n \"score\": \"0.47911403\",\n \"text\": \"@Override\\n public boolean onResourceReady(Object resource, Object model, Target target, DataSource dataSource, boolean isFirstResource) {\\n\\n return false; // Allow calling onResourceReady on the Target.\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"43d83a5bcb53d870ebcf55f5abc73668\",\n \"score\": \"0.47901043\",\n \"text\": \"public void setDataSource(DataSource dataSource)\\n\\t{\\n mDataSource = dataSource;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5ab23f7919a105ae0afa40b962d9c77a\",\n \"score\": \"0.4775749\",\n \"text\": \"public boolean isSetTable() {\\n return this.table != null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5ab23f7919a105ae0afa40b962d9c77a\",\n \"score\": \"0.4775749\",\n \"text\": \"public boolean isSetTable() {\\n return this.table != null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"36e3d9b109dcdd142989f0563837b780\",\n \"score\": \"0.47669193\",\n \"text\": \"@Override\\n public void onLoad(QTable conf) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fb6c090dcb735faeb5ea2f1d9511476e\",\n \"score\": \"0.47645238\",\n \"text\": \"@Override\\n public boolean isShowSql() {\\n return showSql;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed0412459a224a42e7912cafd990029c\",\n \"score\": \"0.47600314\",\n \"text\": \"public void createSourceMainTable() {\\n\\n\\t\\ttable = new Table(composite, SWT.BORDER | SWT.FULL_SELECTION);\\n\\t\\ttable.setBounds(10, 63, 562, 182);\\n\\t\\ttable.setHeaderVisible(true);\\n\\t\\ttable.setLinesVisible(true);\\n\\n\\t\\tTableColumn tblclmnNumberOfPier = new TableColumn(table, SWT.CENTER);\\n\\t\\ttblclmnNumberOfPier.setWidth(62);\\n\\t\\ttblclmnNumberOfPier.setText(\\\"Pier\\\");\\n\\n\\t\\tTableColumn tblclmnShip = new TableColumn(table, SWT.CENTER);\\n\\t\\ttblclmnShip.setWidth(118);\\n\\t\\ttblclmnShip.setText(\\\"Ship\\\");\\n\\n\\t\\tTableColumn tblclmnStatus = new TableColumn(table, SWT.CENTER);\\n\\t\\ttblclmnStatus.setWidth(96);\\n\\t\\ttblclmnStatus.setText(\\\"Status\\\");\\n\\n\\t\\tTableColumn tblclmnStorage = new TableColumn(table, SWT.NONE);\\n\\t\\ttblclmnStorage.setWidth(58);\\n\\t\\ttblclmnStorage.setText(\\\"Storage\\\");\\n\\n\\t\\tTableColumn tblclmnTimemin = new TableColumn(table, SWT.CENTER);\\n\\t\\ttblclmnTimemin.setWidth(86);\\n\\t\\ttblclmnTimemin.setText(\\\"All time(min)\\\");\\n\\n\\t\\tTableColumn tblclmnAllTimemin = new TableColumn(table, SWT.NONE);\\n\\t\\ttblclmnAllTimemin.setWidth(137);\\n\\t\\ttblclmnAllTimemin.setText(\\\"Time for mooring(min)\\\");\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1310959552b399c9a454ee4f822f670e\",\n \"score\": \"0.47590426\",\n \"text\": \"public void setDataSourceDetails() {// This method is used to set database\\n\\t\\t// configuration details to\\n\\t\\t// a plain java bean\\n\\t\\ttry {\\n\\t\\t\\tObject object1 = saReader.getDataSourceDetails();\\n\\t\\t\\tDbmsInfo dbInfoBean = (DbmsInfo) object1;\\n\\t\\t\\t// setting the OJBBean for for database mapping\\n\\t\\t\\tojbBean.setUserName(dbInfoBean.getDbUser());\\n\\t\\t\\tojbBean.setPassword(dbInfoBean.getDbPassword());\\n\\t\\t\\tString dbURL = dbInfoBean.getDbUrl();\\n\\t\\t\\tString[] jdbcInfo = dbURL.split(\\\":\\\");\\n\\t\\t\\tString protocol = jdbcInfo[0];\\n\\t\\t\\tString subProtocol = jdbcInfo[1] + \\\":\\\" + jdbcInfo[2];\\n\\t\\t\\tString dbAlias = jdbcInfo[3] + \\\":\\\" + jdbcInfo[4] + \\\":\\\"\\n\\t\\t\\t\\t\\t+ jdbcInfo[5];\\n\\t\\t\\tojbBean.setProtocol(protocol);\\n\\t\\t\\tojbBean.setSubProtocol(subProtocol);\\n\\t\\t\\tojbBean.setDbAlias(dbAlias);\\n\\t\\t} catch (Exception e) {\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7a21da41ad73f4e2fa9a78d4f3336300\",\n \"score\": \"0.47522157\",\n \"text\": \"protected boolean shouldObtainFixedConnection(DataSource targetDataSource)\\r\\n/* 48: */ {\\r\\n/* 49:157 */ return (!TransactionSynchronizationManager.isSynchronizationActive()) || (!this.reobtainTransactionalConnections);\\r\\n/* 50: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e81063b2135c50930e4e77aa4760db79\",\n \"score\": \"0.4745308\",\n \"text\": \"public boolean isSetTable_name() {\\n return this.table_name != null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ec19090855036c50343e23f68381a352\",\n \"score\": \"0.4744358\",\n \"text\": \"public String getDataSource() {\\n return this.dataSource;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e38052fc5f025894316b9582d1924771\",\n \"score\": \"0.47413975\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void tableChanged(TableModelEvent e) {\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4ff0322df1c67908df830b1861740ed9\",\n \"score\": \"0.47404802\",\n \"text\": \"public void setDataSource(String dataSource) {\\n this.dataSource = dataSource;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9adfd121abc61debbefa1d07a6b47cd0\",\n \"score\": \"0.47384617\",\n \"text\": \"abstract void setDataSource(com.webobjects.eocontrol.EODataSource aDataSource);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"98bc1040554ce32ed307de84a9c49ede\",\n \"score\": \"0.47340065\",\n \"text\": \"public void setContainerDataSource(ProjectBean projectBean) {\\n this.currentBean = projectBean;\\n this.table.setContainerDataSource(projectBean.getExperiments());\\n\\n for (Iterator i = table.getItemIds().iterator(); i.hasNext();) {\\n // Get the current item identifier, which is an integer.\\n ExperimentBean item = (ExperimentBean) i.next();\\n\\n }\\n table.setVisibleColumns(\\n new Object[] {\\\"code\\\", \\\"prettyType\\\", \\\"registrationDate\\\", \\\"registrator\\\", \\\"status\\\"});\\n\\n table.setColumnHeader(\\\"prettyType\\\", \\\"Type\\\");\\n int rowNumber = this.table.size();\\n\\n if (rowNumber == 0) {\\n this.table.setVisible(false);\\n } else {\\n this.table.setVisible(true);\\n this.table.setPageLength(Math.min(rowNumber, 10));\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fa3fb8d785a14456183bb13c6bd751de\",\n \"score\": \"0.47193313\",\n \"text\": \"public void setDataSource(String dataSource)\\n {\\n _dataSource = dataSource;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0dc86d0e11dd66f548600c9eb779a14d\",\n \"score\": \"0.47189963\",\n \"text\": \"public boolean isSetTblName() {\\n return this.tblName != null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5ffba457d23065efcdd274bcc6496f56\",\n \"score\": \"0.4713576\",\n \"text\": \"public boolean isSetTable_name() {\\n return this.table_name != null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7bef9061b8f434a529839b4bb0b6dcea\",\n \"score\": \"0.46981978\",\n \"text\": \"@Override\\r\\n protected TableService target() {\\r\\n return (TableService) super.target();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3f37ed8334dc12f667c976f60305d4f6\",\n \"score\": \"0.46892554\",\n \"text\": \"public T caseDataSource(DataSource object) {\\r\\n\\t\\treturn null;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"943158c61994dab22588b5ac8fef6496\",\n \"score\": \"0.46858183\",\n \"text\": \"@Override\\n public void \\n prePanelOp() \\n {\\n super.prePanelOp(); \\n \\n if(pHostsTablePanel != null) \\n pHostsTablePanel.getTable().setEnabled(false);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9c08ee11036b19cb39f0e861aa5e735b\",\n \"score\": \"0.4678851\",\n \"text\": \"@Override\\n\\tpublic void setDataSource(DataSource dataSource) {\\n\\t\\tthis.dataSource= dataSource;\\n\\t\\tjdbcTemplateObject = new JdbcTemplate(dataSource);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"380633e8077b63f957c91cda7e094aae\",\n \"score\": \"0.46751595\",\n \"text\": \"public void onRowSelect(SelectEvent event) { bean = (BankBean) event.getObject(); registerController.setCreate(Boolean.TRUE);}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75cc93e7ed1eb974f1da768ada017dc2\",\n \"score\": \"0.46712554\",\n \"text\": \"@Bean\\n public DataSource dataSource() {\\n Map dataSourceMap = new HashMap<>();\\n\\n // To configure the first data source\\n DruidDataSource dataSource1 = new DruidDataSource();\\n dataSource1.setDriverClassName(\\\"com.mysql.jdbc.Driver\\\");\\n dataSource1.setUrl(\\\"jdbc:mysql://localhost:3306/ds_0\\\");\\n dataSource1.setUsername(\\\"root\\\");\\n dataSource1.setPassword(\\\"\\\");\\n dataSourceMap.put(\\\"ds_0\\\", dataSource1);\\n\\n // To configure the second data source\\n DruidDataSource dataSource2 = new DruidDataSource();\\n dataSource2.setDriverClassName(\\\"com.mysql.jdbc.Driver\\\");\\n dataSource2.setUrl(\\\"jdbc:mysql://localhost:3306/ds_1\\\");\\n dataSource2.setUsername(\\\"root\\\");\\n dataSource2.setPassword(\\\"\\\");\\n dataSourceMap.put(\\\"ds_1\\\", dataSource2);\\n\\n // To configure the table rules for Order\\n TableRuleConfiguration orderTableRuleConfig = new TableRuleConfiguration();\\n orderTableRuleConfig.setLogicTable(\\\"t_order\\\");\\n orderTableRuleConfig.setActualDataNodes(\\\"ds_${0..1}.t_order_${0..1}\\\");\\n\\n // To configure the strategy for database Sharding.\\n orderTableRuleConfig.setDatabaseShardingStrategyConfig(new InlineShardingStrategyConfiguration(\\\"user_id\\\", \\\"ds_${user_id % 2}\\\"));\\n\\n // To configure the strategy for table Sharding.\\n orderTableRuleConfig.setTableShardingStrategyConfig(new InlineShardingStrategyConfiguration(\\\"order_id\\\", \\\"t_order_${order_id % 2}\\\"));\\n\\n // To configure the strategy rule of Sharding\\n ShardingRuleConfiguration shardingRuleConfig = new ShardingRuleConfiguration();\\n shardingRuleConfig.getTableRuleConfigs().add(orderTableRuleConfig);\\n\\n // To configure the table rules for order_item\\n\\n // ...\\n\\n // To get the data source object\\n DataSource dataSource = null;\\n try {\\n dataSource = ShardingDataSourceFactory.createDataSource(dataSourceMap, shardingRuleConfig, new ConcurrentHashMap(), new Properties());\\n } catch (SQLException e) {\\n e.printStackTrace();\\n }\\n return dataSource;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f5c3739c271be6c347b50096859af38\",\n \"score\": \"0.46689305\",\n \"text\": \"public boolean isSetTablePrefixName() {\\n return this.tablePrefixName != null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da493d8d5c26a94df74ac78c73510bd9\",\n \"score\": \"0.46677697\",\n \"text\": \"public boolean isAutoJoin() {\\n return autoJoin;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8325b93878de42968870156621a2b3dc\",\n \"score\": \"0.46643156\",\n \"text\": \"@Override\\n public String getTableType() {\\n return super.getTableType();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45376bb5cbdd4d462cea4ed54cc3c813\",\n \"score\": \"0.46548036\",\n \"text\": \"@Override\\n public void setPrimarySession(boolean primarySession) {\\n this.isPrimarySession = primarySession;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3e12556d4e4e6b81cd6cf01d86da7803\",\n \"score\": \"0.46319377\",\n \"text\": \"public void setDataSource(final DataSource ds) {\\n dataSource = ds;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e44950cd5f1749e6333f015c363747df\",\n \"score\": \"0.46272516\",\n \"text\": \"public void configTable() {\\n\\t\\tString[][] colNames;\\n\\n\\t\\tcolNames = new String[][] { { \\\"Name\\\", \\\"name\\\" }, { \\\"Salary\\\", \\\"wage\\\" } };\\n\\t\\tfor (String[] colName : colNames) {\\n\\t\\t\\tTableColumn col = new TableColumn<>(colName[0]);\\n\\t\\t\\tcol.setCellValueFactory(new PropertyValueFactory<>(colName[1]));\\n\\t\\t\\tdesignationTable.getColumns().add(col);\\n\\t\\t}\\n\\t\\tdesignationTable.setItems(designationData);\\n\\n\\t\\tcolNames = new String[][] { { \\\"Test\\\", \\\"name\\\" }, { \\\"Fee\\\", \\\"fee\\\" } };\\n\\t\\tfor (String[] colName : colNames) {\\n\\t\\t\\tTableColumn col = new TableColumn<>(colName[0]);\\n\\t\\t\\tcol.setCellValueFactory(new PropertyValueFactory<>(colName[1]));\\n\\t\\t\\ttestTable.getColumns().add(col);\\n\\t\\t}\\n\\t\\ttestTable.setItems(testData);\\n\\n\\t\\tcolNames = new String[][] { { \\\"Treatment\\\", \\\"name\\\" }, { \\\"Fee\\\", \\\"fee\\\" } };\\n\\t\\tfor (String[] colName : colNames) {\\n\\t\\t\\tTableColumn col = new TableColumn<>(colName[0]);\\n\\t\\t\\tcol.setCellValueFactory(new PropertyValueFactory<>(colName[1]));\\n\\t\\t\\ttreatmentTable.getColumns().add(col);\\n\\t\\t}\\n\\t\\ttreatmentTable.setItems(treatmentData);\\n\\n\\t\\tbranchList.getItems().clear();\\n\\t\\tBranchData.getList().forEach(x -> branchList.getItems().add(x));\\n\\n\\t\\tbloodGroupList.getItems().clear();\\n\\t\\tBloodGroupData.getList().forEach(x -> bloodGroupList.getItems().add(x));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e6a6e7effd64c4fb2871e4f2709b54f1\",\n \"score\": \"0.46240523\",\n \"text\": \"@Override\\n public boolean equals(Object toCompare) {\\n if (toCompare instanceof AbstractDataSource) {\\n return ((this.dsId == ((AbstractDataSource) toCompare).dsId)) &&\\n (this.creationTime == ((AbstractDataSource) toCompare).creationTime) &&\\n (this.modifiedTime == ((AbstractDataSource) toCompare).modifiedTime) &&\\n (this.status == ((AbstractDataSource) toCompare).status) &&\\n (this.getDataSourceType().equals(((AbstractDataSource) toCompare).getDataSourceType())) &&\\n (this.getDataSourceId().equals(((AbstractDataSource) toCompare).getDataSourceId())) &&\\n (this.getPlatformType().equals(((AbstractDataSource) toCompare).getPlatformType())) &&\\n (this.getPlatformId().equals(((AbstractDataSource) toCompare).getPlatformId())) &&\\n (this.getPlatformAppType().equals(((AbstractDataSource) toCompare).getPlatformAppType())) &&\\n (this.getPlatformAppId().equals(((AbstractDataSource) toCompare).getPlatformAppId())) &&\\n (this.getApplicationType().equals(((AbstractDataSource) toCompare).getApplicationType())) &&\\n ((this.getApplicationId() == null && ((AbstractDataSource) toCompare).getApplicationId() == null) ||\\n (this.getApplicationId().equals(((AbstractDataSource) toCompare).getApplicationId()))) &&\\n (this.getDataSourceMetaData().equals(((AbstractDataSource) toCompare).getDataSourceMetaData())) &&\\n (this.getPlatformMetaData().equals(((AbstractDataSource) toCompare).getPlatformMetaData())) &&\\n (this.getPlatformAppMetaData().equals(((AbstractDataSource) toCompare).getPlatformAppMetaData())) &&\\n (this.getApplicationMetaData().equals(((AbstractDataSource) toCompare).getApplicationMetaData()));\\n } else\\n return false;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c9829b5db8e60a7f2f2d2dd68da11404\",\n \"score\": \"0.46143863\",\n \"text\": \"public boolean isEnforceTableLocking()\\n {\\n return enforceTableLocking;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bb957a51bcb0395e77daec5771ec0259\",\n \"score\": \"0.4614286\",\n \"text\": \"public void setTableStyle(boolean tableStyle) {\\n this.tableStyle = tableStyle;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7ddcffffe17ba2282a6e378e40f35f08\",\n \"score\": \"0.46029192\",\n \"text\": \"public TransactionAwareDataSourceProxy(DataSource targetDataSource)\\r\\n/* 22: */ {\\r\\n/* 23: 97 */ super(targetDataSource);\\r\\n/* 24: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"72222c31b2c9cf24c0f06371b13ed24d\",\n \"score\": \"0.46010303\",\n \"text\": \"protected boolean canBePrimary() {\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9642fe74dd6d1a4885e6326c9c1c1e25\",\n \"score\": \"0.45985755\",\n \"text\": \"public int getDataSource() {\\n return dataSource;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f9cad3e78152a84f6316c01b17b7775\",\n \"score\": \"0.4589133\",\n \"text\": \"public boolean tablename() {\\n return tablename;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"58fd950afbc73391207a051ec78bb9d2\",\n \"score\": \"0.45784238\",\n \"text\": \"public String getDataSourceName();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a63baec1929653c05bdc323c60f114a\",\n \"score\": \"0.4577027\",\n \"text\": \"protected DataSource getDataSource() {\\n\\t\\treturn dataSource;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"273716ff0ef1f5a2ba2ecb88ada75dd1\",\n \"score\": \"0.45769837\",\n \"text\": \"public void showSourcesOrDrains(boolean isSource){\\n \\tthis.graphMain.showSourcesOrDrains(isSource);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f0ebc02e6e054e35b10115e8d285f83e\",\n \"score\": \"0.4571974\",\n \"text\": \"public boolean isTableStyle() {\\n return tableStyle;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"51b03453758274d5edfbf48360254c19\",\n \"score\": \"0.45702067\",\n \"text\": \"private void enableDoubleClickOnTable() {\\n\\t\\treportsTable.setOnMouseClicked(new EventHandler() {\\n\\t\\t\\t@Override\\n\\t\\t\\tpublic void handle(MouseEvent event) {\\n\\t\\t\\t\\tif (event.getClickCount() > 1) {\\n\\t\\t\\t\\t\\tModelReports report = (ModelReports) reportsTable\\n\\t\\t\\t\\t\\t\\t\\t.getSelectionModel().getSelectedItem();\\n\\t\\t\\t\\t\\tReportForm rf = new ReportForm();\\n\\t\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\t\\tReportFormController.setReports(report);\\n\\t\\t\\t\\t\\t\\trf.start(primaryStage);\\n\\n\\t\\t\\t\\t\\t} catch (IOException e) {\\n\\n\\t\\t\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2c3c7579b6fd21c4355a51f83e9997c\",\n \"score\": \"0.45629358\",\n \"text\": \"Boolean getHasTable();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ce6367b35690d6742ac7c4069ee35a06\",\n \"score\": \"0.45471475\",\n \"text\": \"public java.lang.Boolean getReparentableMasterDetail() {\\r\\n return reparentableMasterDetail;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ea98cba96fe69b23fe127491124dfae4\",\n \"score\": \"0.45438343\",\n \"text\": \"@Override\\n\\t\\tpublic void tableChanged(TableModelEvent e) {\\n\\t\\t\\tint type = e.getType(); // get event type.\\n int row = e.getFirstRow(); // get row index.\\n int column = e.getColumn(); // get line index.\\n if(type == TableModelEvent.INSERT) {\\n \\t\\n } else if(type == TableModelEvent.UPDATE) {\\n \\tif(Model.getColumnName(column).equals(ColumnName_Enable)) { // check if we changed the column of \\\"EN\\\"\\n \\t\\tif(TableListenerEnableFlag == true) {\\n\\t \\t\\tboolean isEnabled = false;\\n\\t \\t\\tString groupName = null, membrName = null;\\n\\t \\t\\tsynchronized(Model) { // we must make sure the \\\"Model\\\" is NOT in changing\\n\\t \\t\\t\\tisEnabled = (boolean)Model.getValueAt(row, column);\\n\\t \\t\\t\\tgroupName = (String)Model.getValueAt(row, Model.findColumn(ColumnName_Group));\\n\\t \\t\\t\\tmembrName = (String)Model.getValueAt(row, Model.findColumn(ColumnName_Member));\\n\\t \\t\\t}\\n\\t \\t\\tif(isEnabled) {\\n\\t \\t\\t\\tColor c = addToObserver(groupName, membrName);\\n\\t \\t\\t\\tTableRowColorRenderer.addRowColor(row, c);\\n\\t \\t\\t\\t/* update selection background */\\n\\t \\t\\t\\tif(row == mTable.getSelectedRow()) {\\n\\t \\t\\t\\t\\tmTable.setSelectionBackground(c);\\n\\t \\t\\t\\t}\\n\\t \\t\\t} else {\\n\\t \\t\\t\\tremoveFromObserver(groupName, membrName);\\n\\t \\t\\t\\tTableRowColorRenderer.removeRowColor(row);\\n\\t \\t\\t\\t/* update selection background */\\n\\t \\t\\t\\tif(row == mTable.getSelectedRow()) {\\n\\t \\t\\t\\t\\tmTable.setSelectionBackground(Color.LIGHT_GRAY);\\n\\t \\t\\t\\t}\\n\\t \\t\\t}\\n \\t\\t}\\n \\t}\\n } else if (type == TableModelEvent.DELETE) {\\n \\t\\n } else {\\n \\t\\n }\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"27f41a3b3467b8bd17ffaf18a2880c51\",\n \"score\": \"0.4543738\",\n \"text\": \"@Bean\\n\\t@Conditional(value= ConditonJpa.class)\\n\\tpublic DataSource dataSource() {\\n\\t\\tDriverManagerDataSource dataSource = new DriverManagerDataSource();\\n\\t\\tdataSource.setDriverClassName(ApplicationConfig.dbDriver);\\n\\t\\tdataSource.setUrl(String.format(\\\"jdbc:postgresql://%s:%s/%s\\\", ApplicationConfig.dbHost, ApplicationConfig.dbPort, ApplicationConfig.dbSchema));\\n\\t\\tdataSource.setUsername(ApplicationConfig.dbUser);\\n\\t\\tdataSource.setPassword(ApplicationConfig.dbPassword);\\n\\t\\treturn dataSource;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1dd4a249fdc92517c181cbd27f6ff46b\",\n \"score\": \"0.4543112\",\n \"text\": \"public void setDataSource(final int dataSource) {\\n this.dataSource = dataSource;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"81d63e9820b60b2e639d140924045fd0\",\n \"score\": \"0.45356223\",\n \"text\": \"@Override\\n\\tpublic boolean getBulidFlag() {\\n\\t\\treturn configTemplateBean.isControllerTemplate();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13986a40a58c81287c438a71e5c67fc3\",\n \"score\": \"0.45295745\",\n \"text\": \"public Builder setTradable(boolean value) {\\n \\n tradable_ = value;\\n onChanged();\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"48c119c463f29f8e35c53d589c06ecb5\",\n \"score\": \"0.45131242\",\n \"text\": \"public void setTabled(Node predicate) {\\n engine.tablePredicate(predicate);\\n if (isTraceOn()) {\\n logger.info(\\\"LP TABLE \\\" + predicate);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a4b6859ea83e0c0926a8b61252dfc28\",\n \"score\": \"0.4508108\",\n \"text\": \"public boolean isEnableDataPropagation() {\\n return enableDataPropagation;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"791e6effcc5f6a37c5337fc4e51120a2\",\n \"score\": \"0.45030123\",\n \"text\": \"public boolean isMasterSlave() {\\n return null != masterSlaveRule;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b702e40428e354423cdb1e58b80f064c\",\n \"score\": \"0.44876644\",\n \"text\": \"private void setOnTableView(StudentPerformExam student) {\\r\\n\\t\\t/* Set the objects in the table view */\\r\\n\\t\\tstudnetInExamTableView.getItems().remove(studnetInExamTableView.getSelectionModel().getSelectedIndex());\\r\\n\\t\\tstudnetInExamTableView.getItems().add(student);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2c5583c3792111f9701b26a2b2c6af96\",\n \"score\": \"0.4487261\",\n \"text\": \"public void setForwardDatasource(String _forwardDatasource) {\\r\\n this._forwardDatasource = _forwardDatasource;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8d1015ef79beb239de3e37f63b13919d\",\n \"score\": \"0.44833365\",\n \"text\": \"boolean isSetSource();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9e61f2c2e43a480d5430e98846bb5424\",\n \"score\": \"0.44794762\",\n \"text\": \"public String getDataSource() {\\n return dataSource;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3f2af2e97281f78e492ea0658845711e\",\n \"score\": \"0.4469661\",\n \"text\": \"public TransactionAwareInvocationHandler(DataSource targetDataSource)\\r\\n/* 60: */ {\\r\\n/* 61:174 */ this.targetDataSource = targetDataSource;\\r\\n/* 62: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c749317c3dfd8a64b0b71d1c0cb7364\",\n \"score\": \"0.44646394\",\n \"text\": \"protected boolean isMasterCell() {\\n synchronized (cells) {\\n if (config.getThisCell().getCellid() ==\\n ((CellInfo) cells.get(0)).getCellid()) {\\n return true;\\n } else {\\n return false;\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54882496e43a2ff84928a09777ed2174\",\n \"score\": \"0.4464527\",\n \"text\": \"java.lang.String getDataSource();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2a0531a760bec5d73dc087de496da656\",\n \"score\": \"0.44553402\",\n \"text\": \"@Override\\n\\tprotected void initializeAction() {\\n\\t\\trowIndex=TableRuntime.getRow(sourceId);\\n\\t\\tcolIndex=TableRuntime.getCol(sourceId);\\n\\t\\t\\n\\t\\tsuper.initializeAction();\\n\\t\\t\\n //setting whether the cell linked to this action can be edited or not\\n ((TableWidget)component).setCellEditable(rowIndex, colIndex, isAuthorized);\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":346,"cells":{"query_id":{"kind":"string","value":"25197b4cf814864ecd440f23b9149cb3"},"query":{"kind":"string","value":"TODO Autogenerated method stub"},"positive_passages":{"kind":"list like","value":[{"docid":"b2bf57fbe9d9e82ff0239db932eaac2e","score":"0.0","text":"public static void main(String[] args) {\n\t\tFileOutputStream fout;\r\n\t\tPrintStream p;\r\n\t\ttry\r\n\t\t{\r\n\t\t\tfout = new FileOutputStream(\"C:\\\\CTS selenium\\\\myfile.txt\");\r\n\t\t\tp= new PrintStream(fout);\r\n\t\t\tp.println(\"Hello 1\");\r\n\t\t\tp.println(\"Hello 2\");\r\n\t\t\tp.println(\"Hello 3\");\r\n\t\t\tp.close();\r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\tSystem.err.println(\"Error\");\r\n\t\t}\r\n\t}","title":""}],"string":"[\n {\n \"docid\": \"b2bf57fbe9d9e82ff0239db932eaac2e\",\n \"score\": \"0.0\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\tFileOutputStream fout;\\r\\n\\t\\tPrintStream p;\\r\\n\\t\\ttry\\r\\n\\t\\t{\\r\\n\\t\\t\\tfout = new FileOutputStream(\\\"C:\\\\\\\\CTS selenium\\\\\\\\myfile.txt\\\");\\r\\n\\t\\t\\tp= new PrintStream(fout);\\r\\n\\t\\t\\tp.println(\\\"Hello 1\\\");\\r\\n\\t\\t\\tp.println(\\\"Hello 2\\\");\\r\\n\\t\\t\\tp.println(\\\"Hello 3\\\");\\r\\n\\t\\t\\tp.close();\\r\\n\\t\\t}\\r\\n\\t\\tcatch (Exception e)\\r\\n\\t\\t{\\r\\n\\t\\t\\tSystem.err.println(\\\"Error\\\");\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"05a606445504484958a1c21e14b7198e","score":"0.69474965","text":"@Override\r\n\tpublic void sapace() {\n\t\t\r\n\t}","title":""},{"docid":"8619203d4867f5c6d05eb9a5354405c0","score":"0.6920049","text":"@Override\n\t\tpublic void pintate() {\n\t\t\t\n\t\t}","title":""},{"docid":"8619203d4867f5c6d05eb9a5354405c0","score":"0.6920049","text":"@Override\n\t\tpublic void pintate() {\n\t\t\t\n\t\t}","title":""},{"docid":"33d41636b65afa8267c9085dae3d1a2d","score":"0.6676429","text":"private void apparence() {\r\n\r\n\t}","title":""},{"docid":"0b5b11f4251ace8b3d0f5ead186f7beb","score":"0.65686274","text":"@Override\n\tpublic void comer() {\n\t\t\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":"80d20df1cc75d8fa96c12c49a757fc43","score":"0.65278774","text":"@Override\n\tprotected void getExras() {\n\t\t\n\t}","title":""},{"docid":"ffd8193c9cf73515d0f9301b9a7d8817","score":"0.6485175","text":"@Override\n\tpublic void morrer() {\n\n\t}","title":""},{"docid":"b62a7c8e0bb1090171742c543bf4b253","score":"0.6373858","text":"@Override\n\tpublic void entrenar() {\n\t\t\n\t}","title":""},{"docid":"6c2fa45ab362625ae567ee8a229630a4","score":"0.622455","text":"@Override\n\tprotected void interr() {\n\t}","title":""},{"docid":"b941b399a338e8c204f1063e54a94824","score":"0.6224095","text":"public void mo7103g() {\n }","title":""},{"docid":"b941b399a338e8c204f1063e54a94824","score":"0.6224095","text":"public void mo7103g() {\n }","title":""},{"docid":"b941b399a338e8c204f1063e54a94824","score":"0.6224095","text":"public void mo7103g() {\n }","title":""},{"docid":"27e4479db2c37a2e77fe796119b66d4b","score":"0.61936283","text":"@Override\r\n\t\t\tpublic void adelante() {\n\r\n\t\t\t}","title":""},{"docid":"0d3bf6f2ee77f787007ba6b4021b5721","score":"0.6164056","text":"protected void olha()\r\n\t{\r\n\t\t\r\n\t}","title":""},{"docid":"e3a701d0fdb1fef5e0afd9dc7c345fcb","score":"0.61634105","text":"@Override\n\tprotected void generateData() {\n\t\n\t}","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":"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":"10ead2e988bf977cb8edb2bacf974891","score":"0.6158877","text":"@Override\n\tprotected void init() {\n\t\t\n\t}","title":""},{"docid":"4e49f5db36ca664153e54380025b85d4","score":"0.6095768","text":"protected boolean method_21825() {\n }","title":""},{"docid":"67e1a422c8d1e74f6601c8a6d1aaa237","score":"0.6074471","text":"@Override\n\tpublic void apagar() {\n\n\t}","title":""},{"docid":"a613dcce17453a8e1eed3b984b6b35b1","score":"0.6028443","text":"@Override\n\tpublic void composant() {\n\t}","title":""},{"docid":"6f653341cfc7d30c8418e4b72116f7e2","score":"0.60278815","text":"public void mo5201a() {\n }","title":""},{"docid":"588ab475e29950e8a1944c4a28fe2189","score":"0.6027122","text":"public void mo7036d() {\n }","title":""},{"docid":"770d423e40bf5782a700bc181e8b8a1e","score":"0.6020569","text":"@Override\n\tvoid init() {\n\t\t\n\t}","title":""},{"docid":"770d423e40bf5782a700bc181e8b8a1e","score":"0.6020569","text":"@Override\n\tvoid init() {\n\t\t\n\t}","title":""},{"docid":"f2fe8a59406298fe7e97b543f2bf8186","score":"0.60087883","text":"@Override\r\n \tpublic void init() {\r\n \t}","title":""},{"docid":"fa1a013b1df2f5f1062e1cc971135645","score":"0.5988416","text":"@Override\n\tpublic void mamar() {\n\t\t\n\t}","title":""},{"docid":"f49ed6756be41155bd7261ea2ff6564b","score":"0.59858125","text":"@Override\n\t\t\t\tpublic void init() {\n\n\t\t\t\t}","title":""},{"docid":"f49ed6756be41155bd7261ea2ff6564b","score":"0.59858125","text":"@Override\n\t\t\t\tpublic void init() {\n\n\t\t\t\t}","title":""},{"docid":"f49ed6756be41155bd7261ea2ff6564b","score":"0.59858125","text":"@Override\n\t\t\t\tpublic void init() {\n\n\t\t\t\t}","title":""},{"docid":"0ecc2b05fa1b3fe069983a07eba7914d","score":"0.5978686","text":"private void inicialitzarTaulell() {\r\n\t\t//PENDENT IMPLEMENTAR\r\n\t}","title":""},{"docid":"9fe3f6ccb967a8bcee9106fbbd56b684","score":"0.5974211","text":"@Override\r\n\tpublic void properties() {\n\t\t\r\n\t}","title":""},{"docid":"b044552fe4d8d8225d09361b41fbea3a","score":"0.59513867","text":"public void mo5201a() {\n }","title":""},{"docid":"fcfbf321ff3e4c56b4e383ce15e49dbb","score":"0.59429646","text":"@Override\r\n\tpublic void obtersaida()\r\n\t{\n\t}","title":""},{"docid":"482b1825ec60700f97ed42e420d69d99","score":"0.59383935","text":"@Override\n\tpublic void valide() {\n\t}","title":""},{"docid":"b2775812be4cd009dca27a30c5ce78fa","score":"0.59383595","text":"@Override\n\tprotected void fouseChange() {\n\n\t}","title":""},{"docid":"4b7e3f693781babf82ed11447db2a554","score":"0.5929242","text":"@Override\n\tpublic void concentrarse() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}","title":""},{"docid":"41e50fb9a0b417818374927eb02c67f1","score":"0.59280443","text":"protected void mo5608a() {\n }","title":""},{"docid":"21caf865e426ec5feea3bed303161112","score":"0.59228885","text":"@Override\r\n\t\t\t\t\tpublic void funktionMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}","title":""},{"docid":"21caf865e426ec5feea3bed303161112","score":"0.59228885","text":"@Override\r\n\t\t\t\t\tpublic void funktionMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}","title":""},{"docid":"21caf865e426ec5feea3bed303161112","score":"0.59228885","text":"@Override\r\n\t\t\t\t\tpublic void funktionMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\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":"9a0f5a503f38cb7c40d13ecc89073bd8","score":"0.58973867","text":"@Override\r\n\tpublic void getDuriation() {\n\t\t\r\n\t}","title":""},{"docid":"9781c90863e9dc9781fafcc4dc828136","score":"0.58739185","text":"public void mo7839l() {\n }","title":""},{"docid":"9781c90863e9dc9781fafcc4dc828136","score":"0.58739185","text":"public void mo7839l() {\n }","title":""},{"docid":"32d0d506f2de2532fe4789f006c84da0","score":"0.5863205","text":"@Override\n\tpublic void bicar() {\n\t\t\n\t}","title":""},{"docid":"02699a98134693036160a045239bddba","score":"0.58500654","text":"@Override\r\n\tpublic void zwroc() {\n\r\n\t}","title":""},{"docid":"46569800c9d73cd59bcbec066cdb5304","score":"0.58491904","text":"private void lidoInf() {\n\n\n }","title":""},{"docid":"b8d886581a76c72e11ab317e6cb6e2a8","score":"0.58308905","text":"@Override\r\n public void rechercher() {\n }","title":""},{"docid":"80b5722cdc9efe11a305e92ea813ac0f","score":"0.5827698","text":"@Override\r\n\tpublic void inter() {\n\t\t\r\n\t}","title":""},{"docid":"947b4ee184fe32ab14b8c244b9461c7d","score":"0.5807026","text":"@Override\n\tpublic void vida() {\n\n\t}","title":""},{"docid":"9d2f44c3ebe1fb8de1ac4ae677e2d851","score":"0.58069414","text":"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}","title":""},{"docid":"c86f446a8bd6af19f88cc011fdf2ffd4","score":"0.5802792","text":"public void asustar() {\n // TODO implement here\n \n }","title":""},{"docid":"b14d9313b224be37257260448fc816d3","score":"0.58025044","text":"@Override\n\tpublic void breathes()\n\t{\n\n\t}","title":""},{"docid":"c8f75a8f93bc20d4e8695ba99b470e1d","score":"0.580217","text":"public void mo1684e() {\n }","title":""},{"docid":"1c223692b2a2bdbc36ebfa379064d28d","score":"0.5800657","text":"public void mo7102f() {\n }","title":""},{"docid":"1c223692b2a2bdbc36ebfa379064d28d","score":"0.5800657","text":"public void mo7102f() {\n }","title":""},{"docid":"1c223692b2a2bdbc36ebfa379064d28d","score":"0.5800657","text":"public void mo7102f() {\n }","title":""},{"docid":"19b30f4f881d8f7b600c7c12f1c30963","score":"0.57979786","text":"public void mo5203c() {\n }","title":""},{"docid":"5783648f118108797828ca2085091ef9","score":"0.57931334","text":"@Override\n protected void initialize() {\n \n }","title":""},{"docid":"bb30a482e2236eb664f8d8fc23724b59","score":"0.57915","text":"@Override\n\tprotected void initActb() {\n\t\t\n\t}","title":""},{"docid":"7846476d210d55d45e5540a9c92b1ce3","score":"0.57903147","text":"@Override\n\tpublic void chocar() {\n\t\t\n\t}","title":""},{"docid":"7846476d210d55d45e5540a9c92b1ce3","score":"0.57903147","text":"@Override\n\tpublic void chocar() {\n\t\t\n\t}","title":""},{"docid":"54b1134554bc066c34ed30a72adb660c","score":"0.5788234","text":"@Override\n\tprotected void initData() {\n\n\t}","title":""},{"docid":"54b1134554bc066c34ed30a72adb660c","score":"0.5788234","text":"@Override\n\tprotected void initData() {\n\n\t}","title":""},{"docid":"0cc40600dd2e7cb9f56bd77995e01fc3","score":"0.5780891","text":"@Override\n\tpublic void Miow() {\n\t\t\n\t}","title":""},{"docid":"a5600ed00582d8ca8d293829dcfd6c38","score":"0.57797045","text":"private void Syso() {\n\r\n\t}","title":""},{"docid":"0a14b2c4ac9647e6bc7077e1e653d540","score":"0.57781726","text":"@Override\n \tprotected int getSize() {\n \t\treturn 0;\n \t}","title":""},{"docid":"7d110d5ea1b4795727b052c3f897a146","score":"0.5776224","text":"public void ligar() {\n\t\t\r\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":"e022c47f335a39c6bdb94a0f49a4e940","score":"0.5767807","text":"@Override\r\n\tpublic void parar() {\n\t\t\r\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":"900d30c04323cde584c73c5ffa48d9cf","score":"0.5757801","text":"@Override\n\t\tpublic void visitEnd() {\n\n\t\t}","title":""},{"docid":"ebfe1bb4dd1c0618c0fad36d9f7674b4","score":"0.57514423","text":"@Override\n protected void initialize() {\n\n }","title":""},{"docid":"0adb5f1f1c75684eab047201533dcfe7","score":"0.57495934","text":"protected void mo5609b() {\n }","title":""},{"docid":"c16c8d1ea4a8c8572e4aa91460503742","score":"0.57494617","text":"private void Initalization() {\n\t\t\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":"b938c58260ac0b899b5e73492c412a69","score":"0.57377213","text":"@Override\r\n\t\t\t\t\t\r\n\t\t\t\t\tpublic void leerMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}","title":""},{"docid":"b938c58260ac0b899b5e73492c412a69","score":"0.57377213","text":"@Override\r\n\t\t\t\t\t\r\n\t\t\t\t\tpublic void leerMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}","title":""},{"docid":"b938c58260ac0b899b5e73492c412a69","score":"0.57377213","text":"@Override\r\n\t\t\t\t\t\r\n\t\t\t\t\tpublic void leerMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\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":"734b1972ec29b58535c294e3962d017d","score":"0.5732932","text":"@Override\n\tpublic void generar() {\n\t\t\n\t}","title":""},{"docid":"4da4d5cf96c032296a894fc6e8d76283","score":"0.5718805","text":"@Override\n\tpublic void beCagey() {\n\t\t\n\t}","title":""},{"docid":"a8f4d3149e0f7a43b23b53ce69363fd6","score":"0.57184815","text":"public void mo5202b() {\n }","title":""},{"docid":"c2a6308317d4e5fc230ea7d2fb55fc1b","score":"0.5715011","text":"@Override\n\tpublic void update() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}","title":""}],"string":"[\n {\n \"docid\": \"05a606445504484958a1c21e14b7198e\",\n \"score\": \"0.69474965\",\n \"text\": \"@Override\\r\\n\\tpublic void sapace() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8619203d4867f5c6d05eb9a5354405c0\",\n \"score\": \"0.6920049\",\n \"text\": \"@Override\\n\\t\\tpublic void pintate() {\\n\\t\\t\\t\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8619203d4867f5c6d05eb9a5354405c0\",\n \"score\": \"0.6920049\",\n \"text\": \"@Override\\n\\t\\tpublic void pintate() {\\n\\t\\t\\t\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"33d41636b65afa8267c9085dae3d1a2d\",\n \"score\": \"0.6676429\",\n \"text\": \"private void apparence() {\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0b5b11f4251ace8b3d0f5ead186f7beb\",\n \"score\": \"0.65686274\",\n \"text\": \"@Override\\n\\tpublic void comer() {\\n\\t\\t\\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\": \"80d20df1cc75d8fa96c12c49a757fc43\",\n \"score\": \"0.65278774\",\n \"text\": \"@Override\\n\\tprotected void getExras() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ffd8193c9cf73515d0f9301b9a7d8817\",\n \"score\": \"0.6485175\",\n \"text\": \"@Override\\n\\tpublic void morrer() {\\n\\n\\t}\",\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\": \"6c2fa45ab362625ae567ee8a229630a4\",\n \"score\": \"0.622455\",\n \"text\": \"@Override\\n\\tprotected void interr() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b941b399a338e8c204f1063e54a94824\",\n \"score\": \"0.6224095\",\n \"text\": \"public void mo7103g() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b941b399a338e8c204f1063e54a94824\",\n \"score\": \"0.6224095\",\n \"text\": \"public void mo7103g() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b941b399a338e8c204f1063e54a94824\",\n \"score\": \"0.6224095\",\n \"text\": \"public void mo7103g() {\\n }\",\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\": \"0d3bf6f2ee77f787007ba6b4021b5721\",\n \"score\": \"0.6164056\",\n \"text\": \"protected void olha()\\r\\n\\t{\\r\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3a701d0fdb1fef5e0afd9dc7c345fcb\",\n \"score\": \"0.61634105\",\n \"text\": \"@Override\\n\\tprotected void generateData() {\\n\\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\": \"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\": \"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\": \"4e49f5db36ca664153e54380025b85d4\",\n \"score\": \"0.6095768\",\n \"text\": \"protected boolean method_21825() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"67e1a422c8d1e74f6601c8a6d1aaa237\",\n \"score\": \"0.6074471\",\n \"text\": \"@Override\\n\\tpublic void apagar() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a613dcce17453a8e1eed3b984b6b35b1\",\n \"score\": \"0.6028443\",\n \"text\": \"@Override\\n\\tpublic void composant() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f653341cfc7d30c8418e4b72116f7e2\",\n \"score\": \"0.60278815\",\n \"text\": \"public void mo5201a() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"588ab475e29950e8a1944c4a28fe2189\",\n \"score\": \"0.6027122\",\n \"text\": \"public void mo7036d() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"770d423e40bf5782a700bc181e8b8a1e\",\n \"score\": \"0.6020569\",\n \"text\": \"@Override\\n\\tvoid init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"770d423e40bf5782a700bc181e8b8a1e\",\n \"score\": \"0.6020569\",\n \"text\": \"@Override\\n\\tvoid init() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f2fe8a59406298fe7e97b543f2bf8186\",\n \"score\": \"0.60087883\",\n \"text\": \"@Override\\r\\n \\tpublic void init() {\\r\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fa1a013b1df2f5f1062e1cc971135645\",\n \"score\": \"0.5988416\",\n \"text\": \"@Override\\n\\tpublic void mamar() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f49ed6756be41155bd7261ea2ff6564b\",\n \"score\": \"0.59858125\",\n \"text\": \"@Override\\n\\t\\t\\t\\tpublic void init() {\\n\\n\\t\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f49ed6756be41155bd7261ea2ff6564b\",\n \"score\": \"0.59858125\",\n \"text\": \"@Override\\n\\t\\t\\t\\tpublic void init() {\\n\\n\\t\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f49ed6756be41155bd7261ea2ff6564b\",\n \"score\": \"0.59858125\",\n \"text\": \"@Override\\n\\t\\t\\t\\tpublic void init() {\\n\\n\\t\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0ecc2b05fa1b3fe069983a07eba7914d\",\n \"score\": \"0.5978686\",\n \"text\": \"private void inicialitzarTaulell() {\\r\\n\\t\\t//PENDENT IMPLEMENTAR\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9fe3f6ccb967a8bcee9106fbbd56b684\",\n \"score\": \"0.5974211\",\n \"text\": \"@Override\\r\\n\\tpublic void properties() {\\n\\t\\t\\r\\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\": \"fcfbf321ff3e4c56b4e383ce15e49dbb\",\n \"score\": \"0.59429646\",\n \"text\": \"@Override\\r\\n\\tpublic void obtersaida()\\r\\n\\t{\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"482b1825ec60700f97ed42e420d69d99\",\n \"score\": \"0.59383935\",\n \"text\": \"@Override\\n\\tpublic void valide() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b2775812be4cd009dca27a30c5ce78fa\",\n \"score\": \"0.59383595\",\n \"text\": \"@Override\\n\\tprotected void fouseChange() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4b7e3f693781babf82ed11447db2a554\",\n \"score\": \"0.5929242\",\n \"text\": \"@Override\\n\\tpublic void concentrarse() {\\n\\t\\t// TODO Auto-generated method stub\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"41e50fb9a0b417818374927eb02c67f1\",\n \"score\": \"0.59280443\",\n \"text\": \"protected void mo5608a() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"21caf865e426ec5feea3bed303161112\",\n \"score\": \"0.59228885\",\n \"text\": \"@Override\\r\\n\\t\\t\\t\\t\\tpublic void funktionMarkiert() {\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"21caf865e426ec5feea3bed303161112\",\n \"score\": \"0.59228885\",\n \"text\": \"@Override\\r\\n\\t\\t\\t\\t\\tpublic void funktionMarkiert() {\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"21caf865e426ec5feea3bed303161112\",\n \"score\": \"0.59228885\",\n \"text\": \"@Override\\r\\n\\t\\t\\t\\t\\tpublic void funktionMarkiert() {\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\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\": \"9a0f5a503f38cb7c40d13ecc89073bd8\",\n \"score\": \"0.58973867\",\n \"text\": \"@Override\\r\\n\\tpublic void getDuriation() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9781c90863e9dc9781fafcc4dc828136\",\n \"score\": \"0.58739185\",\n \"text\": \"public void mo7839l() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9781c90863e9dc9781fafcc4dc828136\",\n \"score\": \"0.58739185\",\n \"text\": \"public void mo7839l() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"32d0d506f2de2532fe4789f006c84da0\",\n \"score\": \"0.5863205\",\n \"text\": \"@Override\\n\\tpublic void bicar() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"02699a98134693036160a045239bddba\",\n \"score\": \"0.58500654\",\n \"text\": \"@Override\\r\\n\\tpublic void zwroc() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"46569800c9d73cd59bcbec066cdb5304\",\n \"score\": \"0.58491904\",\n \"text\": \"private void lidoInf() {\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b8d886581a76c72e11ab317e6cb6e2a8\",\n \"score\": \"0.58308905\",\n \"text\": \"@Override\\r\\n public void rechercher() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80b5722cdc9efe11a305e92ea813ac0f\",\n \"score\": \"0.5827698\",\n \"text\": \"@Override\\r\\n\\tpublic void inter() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"947b4ee184fe32ab14b8c244b9461c7d\",\n \"score\": \"0.5807026\",\n \"text\": \"@Override\\n\\tpublic void vida() {\\n\\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\": \"c86f446a8bd6af19f88cc011fdf2ffd4\",\n \"score\": \"0.5802792\",\n \"text\": \"public void asustar() {\\n // TODO implement here\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b14d9313b224be37257260448fc816d3\",\n \"score\": \"0.58025044\",\n \"text\": \"@Override\\n\\tpublic void breathes()\\n\\t{\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c8f75a8f93bc20d4e8695ba99b470e1d\",\n \"score\": \"0.580217\",\n \"text\": \"public void mo1684e() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1c223692b2a2bdbc36ebfa379064d28d\",\n \"score\": \"0.5800657\",\n \"text\": \"public void mo7102f() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1c223692b2a2bdbc36ebfa379064d28d\",\n \"score\": \"0.5800657\",\n \"text\": \"public void mo7102f() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1c223692b2a2bdbc36ebfa379064d28d\",\n \"score\": \"0.5800657\",\n \"text\": \"public void mo7102f() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"19b30f4f881d8f7b600c7c12f1c30963\",\n \"score\": \"0.57979786\",\n \"text\": \"public void mo5203c() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5783648f118108797828ca2085091ef9\",\n \"score\": \"0.57931334\",\n \"text\": \"@Override\\n protected void initialize() {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bb30a482e2236eb664f8d8fc23724b59\",\n \"score\": \"0.57915\",\n \"text\": \"@Override\\n\\tprotected void initActb() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7846476d210d55d45e5540a9c92b1ce3\",\n \"score\": \"0.57903147\",\n \"text\": \"@Override\\n\\tpublic void chocar() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7846476d210d55d45e5540a9c92b1ce3\",\n \"score\": \"0.57903147\",\n \"text\": \"@Override\\n\\tpublic void chocar() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54b1134554bc066c34ed30a72adb660c\",\n \"score\": \"0.5788234\",\n \"text\": \"@Override\\n\\tprotected void initData() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54b1134554bc066c34ed30a72adb660c\",\n \"score\": \"0.5788234\",\n \"text\": \"@Override\\n\\tprotected void initData() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0cc40600dd2e7cb9f56bd77995e01fc3\",\n \"score\": \"0.5780891\",\n \"text\": \"@Override\\n\\tpublic void Miow() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a5600ed00582d8ca8d293829dcfd6c38\",\n \"score\": \"0.57797045\",\n \"text\": \"private void Syso() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0a14b2c4ac9647e6bc7077e1e653d540\",\n \"score\": \"0.57781726\",\n \"text\": \"@Override\\n \\tprotected int getSize() {\\n \\t\\treturn 0;\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7d110d5ea1b4795727b052c3f897a146\",\n \"score\": \"0.5776224\",\n \"text\": \"public void ligar() {\\n\\t\\t\\r\\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\": \"e022c47f335a39c6bdb94a0f49a4e940\",\n \"score\": \"0.5767807\",\n \"text\": \"@Override\\r\\n\\tpublic void parar() {\\n\\t\\t\\r\\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\": \"900d30c04323cde584c73c5ffa48d9cf\",\n \"score\": \"0.5757801\",\n \"text\": \"@Override\\n\\t\\tpublic void visitEnd() {\\n\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ebfe1bb4dd1c0618c0fad36d9f7674b4\",\n \"score\": \"0.57514423\",\n \"text\": \"@Override\\n protected void initialize() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0adb5f1f1c75684eab047201533dcfe7\",\n \"score\": \"0.57495934\",\n \"text\": \"protected void mo5609b() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c16c8d1ea4a8c8572e4aa91460503742\",\n \"score\": \"0.57494617\",\n \"text\": \"private void Initalization() {\\n\\t\\t\\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\": \"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\": \"b938c58260ac0b899b5e73492c412a69\",\n \"score\": \"0.57377213\",\n \"text\": \"@Override\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\tpublic void leerMarkiert() {\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b938c58260ac0b899b5e73492c412a69\",\n \"score\": \"0.57377213\",\n \"text\": \"@Override\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\tpublic void leerMarkiert() {\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b938c58260ac0b899b5e73492c412a69\",\n \"score\": \"0.57377213\",\n \"text\": \"@Override\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\tpublic void leerMarkiert() {\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\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\": \"b143ffd983be4c8f41702b8f934b6f32\",\n \"score\": \"0.57341826\",\n \"text\": \"@Override\\r\\n\\tpublic void init() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"734b1972ec29b58535c294e3962d017d\",\n \"score\": \"0.5732932\",\n \"text\": \"@Override\\n\\tpublic void generar() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4da4d5cf96c032296a894fc6e8d76283\",\n \"score\": \"0.5718805\",\n \"text\": \"@Override\\n\\tpublic void beCagey() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a8f4d3149e0f7a43b23b53ce69363fd6\",\n \"score\": \"0.57184815\",\n \"text\": \"public void mo5202b() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c2a6308317d4e5fc230ea7d2fb55fc1b\",\n \"score\": \"0.5715011\",\n \"text\": \"@Override\\n\\tpublic void update() {\\n\\t\\t// TODO Auto-generated method stub\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":347,"cells":{"query_id":{"kind":"string","value":"90af8ae3eef3ed989d211d60047e7078"},"query":{"kind":"string","value":"Set the context path."},"positive_passages":{"kind":"list like","value":[{"docid":"05ed3f077b4a1d8edbd29af7ec114f00","score":"0.6055836","text":"public EmbeddedRequestBuilder contextPath(String contextPath) {\n request.setContextPath(contextPath);\n return this;\n }","title":""}],"string":"[\n {\n \"docid\": \"05ed3f077b4a1d8edbd29af7ec114f00\",\n \"score\": \"0.6055836\",\n \"text\": \"public EmbeddedRequestBuilder contextPath(String contextPath) {\\n request.setContextPath(contextPath);\\n return this;\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"5cced5e4aae3d29a048a0857a3cf2a76","score":"0.7974176","text":"public void setContextPath(String path) {\n\t\tthis.contextPath = path;\n\t}","title":""},{"docid":"e8f8e2459ccad46a63f16af44a3d20a4","score":"0.749729","text":"public void setContextPath(String contextPath) {\n this._contextPath = contextPath;\n }","title":""},{"docid":"2f8e655d704c067feebb73b141378143","score":"0.72437817","text":"public void setPath(String path) throws MalformedURLException {\n\t\t\tcontext_ = new URL(context_, path);\n\t\t}","title":""},{"docid":"2b0cd23f4877737de866e16b804f7876","score":"0.70604104","text":"public Builder contextPath(String path) {\n this.contextPath = path;\n return this;\n }","title":""},{"docid":"13136359972f5ed72de370f7ebcd56a4","score":"0.7013471","text":"@Override\n public String getContextPath() {\n\n return (contextPath);\n\n }","title":""},{"docid":"f9f195fb76669bb8cc9a5aceccc8ee43","score":"0.6800447","text":"public static void setAutoInjectionContextPath(String path)\n\t{\n\t\tSystem.setProperty(CONTEXT_PROPERTY, path);\n\t}","title":""},{"docid":"bdcd4a457da4e775a8d005788dc5ae04","score":"0.670345","text":"public final void setPathName(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String pathname)\n\t{\n\t\tgetMendixObject().setValue(context, MemberNames.PathName.toString(), pathname);\n\t}","title":""},{"docid":"905f273bb247754eabd4cd634f74d090","score":"0.65387726","text":"void setCurrentDirectory(Path path);","title":""},{"docid":"41b9220e3b13ed47ee00d210e825f99b","score":"0.65291643","text":"private void setContextRoot(String contextRoot) {\n if (contextRoot != null && contextRoot.endsWith(\".war\") ) {\n this.contextPath = contextRoot.substring(0, contextRoot.length()-4);\n } else {\n this.contextPath = contextRoot;\n }\n }","title":""},{"docid":"e3623d44a146cf041e20ed859237b4ef","score":"0.6490055","text":"public T contextPath(String contextPath) {\n\t\tthis.contextPath = contextPath;\n\t\treturn (T) this;\n\t}","title":""},{"docid":"53aa637a470bb11ddc686344305ede9f","score":"0.6422944","text":"public String getContextPath()\r\n {\r\n return m_path;\r\n }","title":""},{"docid":"c5e57e410a0fb11862b6d8af42384c63","score":"0.6343886","text":"void setPath(java.lang.String path);","title":""},{"docid":"9e20653e8af52da536e0196453e95fea","score":"0.63365954","text":"public final void setPathName(java.lang.String pathname)\n\t{\n\t\tsetPathName(getContext(), pathname);\n\t}","title":""},{"docid":"44750ddf901cf4a554ee5d1647fb0670","score":"0.63048863","text":"public void setPath(String path);","title":""},{"docid":"086e030e00a2384c6cb3bb0cd6493cda","score":"0.6283853","text":"public void contextualize( final Context context )\n throws ContextException\n {\n try\n {\n m_baseDirectory = (File)context.get( \"app.home\" );\n }\n catch( ContextException e )\n {\n m_baseDirectory = new File( \".\" );\n }\n }","title":""},{"docid":"cfc8eaef3e2fc8b59d4a9cb7e1965f13","score":"0.6214428","text":"public void setCurrentDir(String path)\n {\n setVar(\"CurrentDir\", path);\n }","title":""},{"docid":"02fd29830b1927eb5012d432bf13dc40","score":"0.6213704","text":"public String contextPath() {\n return this.contextPath;\n }","title":""},{"docid":"f473877e4af8da48c659438ac85316fc","score":"0.6185158","text":"@Override\n public String getContextPath() {\n return this._getHttpServletRequest().getContextPath();\n }","title":""},{"docid":"7f84ef4cb60d6d84298374741baeed0e","score":"0.61348164","text":"@Override\n public void setPath( String path ) {\n this.path = path;\n }","title":""},{"docid":"786802eb7e2edff8ec7a4092b958c025","score":"0.61260945","text":"public void setContext(String context) {\n this.context = context;\n }","title":""},{"docid":"304d09faef4fe270c1263b8e477a747c","score":"0.6122064","text":"@Override\r\n\tpublic void setContext(Context context) {\n\t\tthis.context=context;\r\n\t}","title":""},{"docid":"1ff4d650fce24b119fc0feaaa0ea8f41","score":"0.6114752","text":"protected static void setContext(AuraContext context) {\n ContextService service = Aura.getContextService();\n AuraContext current = service.getCurrentContext();\n if (context == null || context == current) {\n return;\n }\n if (current != null) {\n service.endContext();\n }\n service.startContext(context.getMode(), context.getFormat(), context.getAccess(),\n context.getApplicationDescriptor());\n }","title":""},{"docid":"eeb53abf54de439565bb97c04ff2c523","score":"0.61144185","text":"void contextualize( ContextHandler handler, ContextHandlerContext context ) throws Exception\r\n {\r\n String path = context.getContextPath();\r\n handler.setContextPath( path );\r\n getLogger().debug( \"setting context path: \" + path );\r\n \r\n ClassLoader classloader = context.getClassLoader( null );\r\n if( null != classloader )\r\n {\r\n handler.setClassLoader( classloader );\r\n }\r\n \r\n String name = context.getDisplayName( null );\r\n if( null != name )\r\n {\r\n handler.setDisplayName( name );\r\n }\r\n \r\n String[] hosts = context.getConnectors( null );\r\n if( null != hosts )\r\n {\r\n handler.setConnectors( hosts );\r\n }\r\n \r\n String[] virtual = context.getVirtualHosts( null );\r\n if( null != virtual )\r\n {\r\n handler.setVirtualHosts( virtual );\r\n }\r\n \r\n String[] welcome = context.getWelcomeFiles( null );\r\n if( null != welcome )\r\n {\r\n handler.setWelcomeFiles( welcome );\r\n }\r\n \r\n Map map = context.getMimeTypes( null );\r\n if( null != map )\r\n {\r\n MimeTypes types = new MimeTypes();\r\n types.setMimeMap( map );\r\n handler.setMimeTypes( types );\r\n }\r\n \r\n ErrorHandler errorHandler = context.getErrorHandler( null );\r\n if( null != errorHandler )\r\n {\r\n handler.setErrorHandler( errorHandler );\r\n }\r\n }","title":""},{"docid":"8f44728a637b4e3cfcfa2e4d3f8bcb0d","score":"0.60748285","text":"public final void setPath1(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String path1)\n\t{\n\t\tgetMendixObject().setValue(context, MemberNames.Path1.toString(), path1);\n\t}","title":""},{"docid":"a9245b5eabf531ab76a36887cd4a3a38","score":"0.6049731","text":"@Override\r\n\tpublic void setPath(String path) {\n\t\tthis.path = path;\r\n\t}","title":""},{"docid":"8b66b8603e7f7d8a904f07b0f1304910","score":"0.6033542","text":"public ContextHandlerBuilder withPath(String path) {\n this.path = path;\n return this;\n }","title":""},{"docid":"a5d2c85162e68c5a41d4c9a44d8590f7","score":"0.6000664","text":"public void setContext(String context) {\n this.context = context == null ? null : context.trim();\n }","title":""},{"docid":"9a0b3ca1fb8c4d1d67175f4f49a76bfd","score":"0.5999321","text":"public String getContextPath() {\n\t\t\t\treturn null;\n\t\t\t}","title":""},{"docid":"70f70d906597c1c8be8498b7ff8876a0","score":"0.59884","text":"public abstract void setPath(String defaultPath);","title":""},{"docid":"cf6ccf6fe7223b3ae9745b448f0fe9e7","score":"0.5982158","text":"public abstract void setRootPath(String root);","title":""},{"docid":"47c99528b676146b141991cd776c8de0","score":"0.5973568","text":"public String getContextPath() {\n\t\tString path = StringUtils.defaultString(myContextPath);\n\t\tif (path.length() > 0 && path.charAt(path.length() - 1) == '/') {\n\t\t\tpath = path.substring(0, path.length() - 1);\n\t\t}\n\t\treturn path;\n\t}","title":""},{"docid":"dd02079cc2370ead853f6bb318d7686a","score":"0.5957276","text":"public void setContext(Context context) {\n\t\tthis.context = context;\n\t}","title":""},{"docid":"dd02079cc2370ead853f6bb318d7686a","score":"0.5957276","text":"public void setContext(Context context) {\n\t\tthis.context = context;\n\t}","title":""},{"docid":"d4a377519f6181d0c92e9c099b5d6dae","score":"0.59119093","text":"@Override\n\tpublic void setPath(String path) {\n\t\tthis.path = path;\n\t}","title":""},{"docid":"5e5e1e6b6c58cdee178ce2362e71947f","score":"0.5911307","text":"public final void setPath0(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String path0)\n\t{\n\t\tgetMendixObject().setValue(context, MemberNames.Path0.toString(), path0);\n\t}","title":""},{"docid":"6cab3c778ace836377cbf5acdfbc274d","score":"0.59109694","text":"public void setContext(Context context);","title":""},{"docid":"2c959538e045c5772c134173fb16f1e1","score":"0.59088445","text":"public void setPath(String path) {\n if(path.startsWith(\"/\")) {\n path = path.substring(1);\n }\n int namespaceSeparatorIndex = path.indexOf('/');\n if(namespaceSeparatorIndex == -1)\n namespace = path;\n else\n namespace = path.substring(0, namespaceSeparatorIndex);\n \n this.relativePath = path.substring(path.indexOf('/') + 1);\n this.name = path.substring(path.lastIndexOf('/') + 1);\n }","title":""},{"docid":"98b06a14afa04a1934d313326d91af39","score":"0.5903517","text":"public LXC setPath(String path) {\n _path = path;\n return this;\n }","title":""},{"docid":"60a2363b3e0499bbb06c1f82a7cf5e5e","score":"0.5898321","text":"public String getContextPath() {\n\t\treturn null;\n\t}","title":""},{"docid":"d56e3b489052368207706b1507fc7071","score":"0.58898234","text":"private void setPath()\n {\n if (!System.getProperty(\"os.name\").startsWith(\"Windows\"))\n {\n path = \"./Rules Based Decision Engine/src/rules\";\n }\n }","title":""},{"docid":"91c431d27259698bf17c4a63a306089c","score":"0.5882699","text":"public void setPath(String p) {\n\t\tchPath=p;\n\t}","title":""},{"docid":"5c183f718dd8994e67083b3ef4acf3f8","score":"0.58566165","text":"public void setPath(CommonPath v) {\r\n \tthis.path = v;\r\n }","title":""},{"docid":"c475000ead08d908eee294897ea01308","score":"0.58446914","text":"public void setPath() {\n\t\tthis.inPath=false;\n\t}","title":""},{"docid":"30341f2b3863a0217a1dcb1ea3ef004c","score":"0.58394605","text":"private void setContext(Context context){\n if(context == null){ return; }\n this.context = context;\n }","title":""},{"docid":"ea3fd143dedc883d15b0066c5f7eb871","score":"0.58350945","text":"public void setContext(Context context)\n {\n this.context = context;\n }","title":""},{"docid":"01042461a65ac7172a95a38783d6eba2","score":"0.58266723","text":"public abstract void setResource(String path);","title":""},{"docid":"78b51664d5d28e90b71e07c021f48cf4","score":"0.5824953","text":"public void setContext(String context) {\n this.context = context;\n clearEventsForOldContext();\n }","title":""},{"docid":"1e964e64cea366284f435c943fe283db","score":"0.5824469","text":"public void setContext(Context ctx){\n context = ctx;\n }","title":""},{"docid":"404d8cb5b1946312b0546b4fd675f55b","score":"0.5815749","text":"@Override\n public void setPath(Path path) {\n this.path = path;\n nav.setPath(path);\n }","title":""},{"docid":"094e70bbaaffbbeef834802d712890cd","score":"0.5810675","text":"public String getContextPath() {\n if (_contextPath == null) {\n Configuration childConfig = getModelConfiguration().getFirstChild(CONTEXT_PATH);\n if (childConfig == null) {\n Configuration contextConfig = _environment.getFirstChild(CONTEXT_PATH);\n if (contextConfig != null && contextConfig.getValue() != null) {\n _contextPath = contextConfig.getValue();\n }\n } else {\n _contextPath = childConfig.getValue();\n }\n }\n return _contextPath;\n }","title":""},{"docid":"d7e08234b418a642a2ffe5d875da0e62","score":"0.5806721","text":"void setFilePath(String path);","title":""},{"docid":"9fa03fd575871c97bfad556f0f4ae1a6","score":"0.5791386","text":"@Override\n public void setRootPath(String rootPath) {\n this.rootPath = rootPath;\n }","title":""},{"docid":"ad8bd6e7878ea3caad7109cc40bb8ba6","score":"0.57892424","text":"public void setUserPath(String _userPath){\r\n\t\tthis.userPath = _userPath;\r\n\t}","title":""},{"docid":"374943cb16d0b2909bd8428ed273b7e7","score":"0.57653546","text":"public void setPath(final String path) {\n\t\tthis.path = path;\n\t}","title":""},{"docid":"15a764163d66cd01651a10ec55eb6e0e","score":"0.5764928","text":"public StaticLink setPath(String t)\n {\n path = t;\n return this;\n }","title":""},{"docid":"d1b53bf7a201d5e4bae06537db8b98fb","score":"0.57648283","text":"public void setContext(String Context) {\n this.Context = Context;\n }","title":""},{"docid":"521c7374d5ac06be235abe41aceee709","score":"0.57573915","text":"public void setPath(final String path) {\n this.path = path;\n }","title":""},{"docid":"b2013663150831ac4295b007fd556bd7","score":"0.5755022","text":"public void setContextKey(@NonNull final String contextKey) {\n\t\tthis.contextKey = contextKey;\n\t\tthis.context.runAndTrack(new RunAndTrack() {\n\n\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\t@Override\n\t\t\tpublic boolean changed(IEclipseContext context) {\n\t\t\t\tsetCurrentValue((T) context.get(contextKey));\n\t\t\t\treturn true;\n\t\t\t}\n\t\t});\n\t}","title":""},{"docid":"a036b7dfa1b7c836295b6f8cb52af111","score":"0.57487893","text":"public void setPath(String path) {\r\n this.path = path;\r\n }","title":""},{"docid":"a036b7dfa1b7c836295b6f8cb52af111","score":"0.57487893","text":"public void setPath(String path) {\r\n this.path = path;\r\n }","title":""},{"docid":"f0f414f0e7bc28b09077690708654e6f","score":"0.57407254","text":"public UrlRequestContextConfig setStoragePath(String value) {\n if (!new File(value).isDirectory()) {\n throw new IllegalArgumentException(\n \"Storage path must be set to existing directory\");\n }\n\n return putString(UrlRequestContextConfigList.STORAGE_PATH, value);\n }","title":""},{"docid":"b493e2d132327281c0c874223845710d","score":"0.57360417","text":"public void setPath(String strPath) throws PageException\t{\n \t\tif(strPath==null) return;\n \t this.path=ResourceUtil.toResourceNotExisting(pageContext,strPath.trim() );\n \t\t//this.path=new File(path.toLowerCase().trim());\n \n \t\tpageContext.getConfig().getSecurityManager().checkFileLocation(this.path);\n \t\t\n \t if(!this.path.exists()) {\n \t \tResource parent=this.path.getParentResource();\n \t if(parent!=null && parent.exists())this.path.mkdirs();\n \t else {\n \t throw new ApplicationException(\"attribute path of the tag collection must be a existing directory\");\n \t }\n \t }\n \t\telse if(!this.path.isDirectory())\n \t\t throw new ApplicationException(\"attribute path of the tag collection must be a existing directory\");\n \t}","title":""},{"docid":"8cf82c3f014c54995a168fb9ce17b393","score":"0.5725454","text":"public void setContext(Context context){\n this.context=context;\n }","title":""},{"docid":"b92602bfa7992be9b06fa54ce3cadf87","score":"0.56953","text":"public final void setPath2(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String path2)\n\t{\n\t\tgetMendixObject().setValue(context, MemberNames.Path2.toString(), path2);\n\t}","title":""},{"docid":"cb8d98909510963bba1733b2e65b2817","score":"0.56881696","text":"public final void setPath2(java.lang.String path2)\n\t{\n\t\tsetPath2(getContext(), path2);\n\t}","title":""},{"docid":"841b4779f0e28fe76e1de07d7b000f6e","score":"0.56606776","text":"public void setPath(PathInfoData path) {\n if (path == null || path.getPath() == null) {\n throw new IllegalArgumentException(\"need to set path\");\n }\n this.path = path;\n }","title":""},{"docid":"55f7792aeb344dd0e466bf01fce0f996","score":"0.56603014","text":"public void setPath(\n final java.lang.String path) {\n this._path = path;\n }","title":""},{"docid":"0faa7ca2411575ac47533d021f86e385","score":"0.56569505","text":"public final void setPath1(java.lang.String path1)\n\t{\n\t\tsetPath1(getContext(), path1);\n\t}","title":""},{"docid":"beb31892bedefeeba53ab32b5a12d9b2","score":"0.56501","text":"public void setPath(String path) {\r\n\t\tthis.path = path;\r\n\t}","title":""},{"docid":"06eb8d78ecd6a971d73728d51d313f04","score":"0.56355524","text":"public void setRoot(int context,Object environment){\n }","title":""},{"docid":"aedaa41789e9d9f45d9518e7c61d6e44","score":"0.5633203","text":"public void set(String path, Object value);","title":""},{"docid":"50004c1b479822e7eff2149e9dff8e4c","score":"0.5627734","text":"public void setPath(final String pathValue) {\n this.path = pathValue;\n }","title":""},{"docid":"afbb679ef1465f5c0c79354d186b2b6f","score":"0.56123054","text":"@Override\n\tpublic ServletContext getContext(String path) {\n\t\treturn (path.equals(\"/\")) ? this : null;\n\t}","title":""},{"docid":"b996ba3575f922740ad97e28a9a6491f","score":"0.5606803","text":"public void setPath(String path) {\n this.path = path;\n }","title":""},{"docid":"b996ba3575f922740ad97e28a9a6491f","score":"0.5606803","text":"public void setPath(String path) {\n this.path = path;\n }","title":""},{"docid":"b996ba3575f922740ad97e28a9a6491f","score":"0.5606803","text":"public void setPath(String path) {\n this.path = path;\n }","title":""},{"docid":"b996ba3575f922740ad97e28a9a6491f","score":"0.5606803","text":"public void setPath(String path) {\n this.path = path;\n }","title":""},{"docid":"b996ba3575f922740ad97e28a9a6491f","score":"0.5606803","text":"public void setPath(String path) {\n this.path = path;\n }","title":""},{"docid":"f805f75bae163c7dad05bf62ecc99d2c","score":"0.5604919","text":"public void setPath(String path) {\n this.path = path;\n }","title":""},{"docid":"3b834d51d6cf3bfb9b5b4cee4f4635e5","score":"0.56013197","text":"public void setDefaultContextPath(String defaultContextPath) {\n this.defaultContextPath = defaultContextPath;\n }","title":""},{"docid":"3c5c7b25ca149ca414134c3cbef90f97","score":"0.5597832","text":"public void setContexturl(java.lang.String contexturl) {\n this.contexturl = contexturl;\n this.addProperty(\"contexturl\",contexturl);\n }","title":""},{"docid":"649ad401b276c2a402612de824c86270","score":"0.5581821","text":"@Override\n\tpublic void setServletContext(ServletContext context) {\n\t\tthis.context = context;\n\t}","title":""},{"docid":"5a0ec68aa75690276af0ac60157feaad","score":"0.55677","text":"public void setContext(Context c) {\r\n\t\tthis.context = c;\r\n\t}","title":""},{"docid":"4aac8823d01b0bc790a57902a432d3e3","score":"0.555637","text":"public void setContext(IContext context) {\n this.context = context;\n }","title":""},{"docid":"da65753ca12c15cf27bcaafb214844af","score":"0.5545901","text":"public void setPath( EAIMMCtxtIfc theCtxt, java.lang.String thePath) throws EAIException {\r\n if( theCtxt == null) { return;}\r\n getM3Type( theCtxt);\r\n if( com.dosmil_e.kit.core.model.observe.meta.KitDependencyMeta.vm3AttrPath == null) { return;}\r\n\r\n try {\r\n ((com.dosmil_e.m3.core.pub.M3AttributePub) com.dosmil_e.kit.core.model.observe.meta.KitDependencyMeta.vm3AttrPath).\r\n setAttributeValue( theCtxt, this, toObject( thePath));\r\n }\r\n catch( ClassCastException anEx) { return;}\r\n }","title":""},{"docid":"7b285e3a5af02d61059dd4c55572b952","score":"0.55352676","text":"public void setPath(String path) {\n\t\tthis.path = path;\n\t}","title":""},{"docid":"7b285e3a5af02d61059dd4c55572b952","score":"0.55352676","text":"public void setPath(String path) {\n\t\tthis.path = path;\n\t}","title":""},{"docid":"7b285e3a5af02d61059dd4c55572b952","score":"0.55352676","text":"public void setPath(String path) {\n\t\tthis.path = path;\n\t}","title":""},{"docid":"12f15679dfcd37ce9573d260a52c73da","score":"0.5532377","text":"public void setPath(String path)\r\n {\r\n String safePath = path;\r\n if (path == null)\r\n safePath = \"\";\r\n textField.setText(safePath);\r\n fileChooser.setCurrentDirectory(new File(safePath));\r\n fireActionPerformed();\r\n }","title":""},{"docid":"178e7c443d9912254e00ad3dda3f8166","score":"0.5531434","text":"public final void setPath0(java.lang.String path0)\n\t{\n\t\tsetPath0(getContext(), path0);\n\t}","title":""},{"docid":"21633ba3b707acaa3e6b84597ad54090","score":"0.55223286","text":"public final void setKeyStorePath( String path) {\n \tm_keyStorePath = path;\n }","title":""},{"docid":"d1908298dafb3a9a988b1a4c1803b21c","score":"0.55171937","text":"public void setPath (java.lang.String path) {\n\t\tthis.path = path;\n\t}","title":""},{"docid":"6710d5b43fb41d2c8e9e94fe78544cf6","score":"0.5509172","text":"public void setPath(int path) {\n this.path = path;\n }","title":""},{"docid":"b6a1b57eecf7773bea3e183229f2a5a5","score":"0.5495489","text":"public LocalContentSource setPath(String path) {\n this.path = path;\n return this;\n }","title":""},{"docid":"0225c5a197547da79cfb49d7a48e1f8f","score":"0.5490237","text":"public Builder setContext(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000008;\n context_ = value;\n onChanged();\n return this;\n }","title":""},{"docid":"97e07eaefe059518cb53bbd86f486cb8","score":"0.5470489","text":"public void setPath(String path) {\r\n\t\tWindowsListener.path = path;\r\n\t}","title":""},{"docid":"9881b46eb0f4d37814c3cd79dc4f5c03","score":"0.54608446","text":"@Override\r\n\tpublic void setServletContext(ServletContext sctx) {\n\t\tthis.sctx = sctx;\r\n\t}","title":""},{"docid":"2d7cd85615fd5184689535e32978fa45","score":"0.54474455","text":"public void setResultSetPath() {\n\t\tresultsetPath.setLength(0);\n// \n resultsetPath.append(RESULTSET_PARENT_PATH + File.separator);\n \n \tif (AppResource.crosslinkTask == AppResource.CROSSLINK_TASK_1) {\n \t\tresultsetPath.append(\"crosslink1\" + File.separator);\n\t String resultsetFormalPath = resultsetPath.toString() + \"test\";\n\t if (!new File(resultsetFormalPath).exists() || !useTestDataset)\n\t \tresultsetPath.append(\"training\");\n\t else\n\t \tresultsetPath.append(\"test\");\n \t}\n \telse {\n \t\tresultsetPath.append(\"crosslink2\");\n \t}\n resultsetPath.append(File.separator);\n\t}","title":""},{"docid":"e2723cd4044ac1dd2927306f2831bd5f","score":"0.5447388","text":"@Override\r\n\tpublic void setJspContext(JspContext pc) {\n\t\tsuper.setJspContext(pc);\r\n\t}","title":""},{"docid":"b92e243d8439b4a392c9a04693b6d1ba","score":"0.54344237","text":"public CompletionStage setContext(Context context) {\n\t\treturn this.channelClient\n\t\t\t\t.dispatch(\"setContext\", Json.createObjectBuilder().add(\"context\", FinBeanUtils.toJsonObject(context)).build())\n\t\t\t\t.thenAccept(result -> {\n\t\t\t\t});\n\t}","title":""}],"string":"[\n {\n \"docid\": \"5cced5e4aae3d29a048a0857a3cf2a76\",\n \"score\": \"0.7974176\",\n \"text\": \"public void setContextPath(String path) {\\n\\t\\tthis.contextPath = path;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e8f8e2459ccad46a63f16af44a3d20a4\",\n \"score\": \"0.749729\",\n \"text\": \"public void setContextPath(String contextPath) {\\n this._contextPath = contextPath;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2f8e655d704c067feebb73b141378143\",\n \"score\": \"0.72437817\",\n \"text\": \"public void setPath(String path) throws MalformedURLException {\\n\\t\\t\\tcontext_ = new URL(context_, path);\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2b0cd23f4877737de866e16b804f7876\",\n \"score\": \"0.70604104\",\n \"text\": \"public Builder contextPath(String path) {\\n this.contextPath = path;\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13136359972f5ed72de370f7ebcd56a4\",\n \"score\": \"0.7013471\",\n \"text\": \"@Override\\n public String getContextPath() {\\n\\n return (contextPath);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f9f195fb76669bb8cc9a5aceccc8ee43\",\n \"score\": \"0.6800447\",\n \"text\": \"public static void setAutoInjectionContextPath(String path)\\n\\t{\\n\\t\\tSystem.setProperty(CONTEXT_PROPERTY, path);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bdcd4a457da4e775a8d005788dc5ae04\",\n \"score\": \"0.670345\",\n \"text\": \"public final void setPathName(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String pathname)\\n\\t{\\n\\t\\tgetMendixObject().setValue(context, MemberNames.PathName.toString(), pathname);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"905f273bb247754eabd4cd634f74d090\",\n \"score\": \"0.65387726\",\n \"text\": \"void setCurrentDirectory(Path path);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"41b9220e3b13ed47ee00d210e825f99b\",\n \"score\": \"0.65291643\",\n \"text\": \"private void setContextRoot(String contextRoot) {\\n if (contextRoot != null && contextRoot.endsWith(\\\".war\\\") ) {\\n this.contextPath = contextRoot.substring(0, contextRoot.length()-4);\\n } else {\\n this.contextPath = contextRoot;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3623d44a146cf041e20ed859237b4ef\",\n \"score\": \"0.6490055\",\n \"text\": \"public T contextPath(String contextPath) {\\n\\t\\tthis.contextPath = contextPath;\\n\\t\\treturn (T) this;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"53aa637a470bb11ddc686344305ede9f\",\n \"score\": \"0.6422944\",\n \"text\": \"public String getContextPath()\\r\\n {\\r\\n return m_path;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c5e57e410a0fb11862b6d8af42384c63\",\n \"score\": \"0.6343886\",\n \"text\": \"void setPath(java.lang.String path);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9e20653e8af52da536e0196453e95fea\",\n \"score\": \"0.63365954\",\n \"text\": \"public final void setPathName(java.lang.String pathname)\\n\\t{\\n\\t\\tsetPathName(getContext(), pathname);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"44750ddf901cf4a554ee5d1647fb0670\",\n \"score\": \"0.63048863\",\n \"text\": \"public void setPath(String path);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"086e030e00a2384c6cb3bb0cd6493cda\",\n \"score\": \"0.6283853\",\n \"text\": \"public void contextualize( final Context context )\\n throws ContextException\\n {\\n try\\n {\\n m_baseDirectory = (File)context.get( \\\"app.home\\\" );\\n }\\n catch( ContextException e )\\n {\\n m_baseDirectory = new File( \\\".\\\" );\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cfc8eaef3e2fc8b59d4a9cb7e1965f13\",\n \"score\": \"0.6214428\",\n \"text\": \"public void setCurrentDir(String path)\\n {\\n setVar(\\\"CurrentDir\\\", path);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"02fd29830b1927eb5012d432bf13dc40\",\n \"score\": \"0.6213704\",\n \"text\": \"public String contextPath() {\\n return this.contextPath;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f473877e4af8da48c659438ac85316fc\",\n \"score\": \"0.6185158\",\n \"text\": \"@Override\\n public String getContextPath() {\\n return this._getHttpServletRequest().getContextPath();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7f84ef4cb60d6d84298374741baeed0e\",\n \"score\": \"0.61348164\",\n \"text\": \"@Override\\n public void setPath( String path ) {\\n this.path = path;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"786802eb7e2edff8ec7a4092b958c025\",\n \"score\": \"0.61260945\",\n \"text\": \"public void setContext(String context) {\\n this.context = context;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"304d09faef4fe270c1263b8e477a747c\",\n \"score\": \"0.6122064\",\n \"text\": \"@Override\\r\\n\\tpublic void setContext(Context context) {\\n\\t\\tthis.context=context;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1ff4d650fce24b119fc0feaaa0ea8f41\",\n \"score\": \"0.6114752\",\n \"text\": \"protected static void setContext(AuraContext context) {\\n ContextService service = Aura.getContextService();\\n AuraContext current = service.getCurrentContext();\\n if (context == null || context == current) {\\n return;\\n }\\n if (current != null) {\\n service.endContext();\\n }\\n service.startContext(context.getMode(), context.getFormat(), context.getAccess(),\\n context.getApplicationDescriptor());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eeb53abf54de439565bb97c04ff2c523\",\n \"score\": \"0.61144185\",\n \"text\": \"void contextualize( ContextHandler handler, ContextHandlerContext context ) throws Exception\\r\\n {\\r\\n String path = context.getContextPath();\\r\\n handler.setContextPath( path );\\r\\n getLogger().debug( \\\"setting context path: \\\" + path );\\r\\n \\r\\n ClassLoader classloader = context.getClassLoader( null );\\r\\n if( null != classloader )\\r\\n {\\r\\n handler.setClassLoader( classloader );\\r\\n }\\r\\n \\r\\n String name = context.getDisplayName( null );\\r\\n if( null != name )\\r\\n {\\r\\n handler.setDisplayName( name );\\r\\n }\\r\\n \\r\\n String[] hosts = context.getConnectors( null );\\r\\n if( null != hosts )\\r\\n {\\r\\n handler.setConnectors( hosts );\\r\\n }\\r\\n \\r\\n String[] virtual = context.getVirtualHosts( null );\\r\\n if( null != virtual )\\r\\n {\\r\\n handler.setVirtualHosts( virtual );\\r\\n }\\r\\n \\r\\n String[] welcome = context.getWelcomeFiles( null );\\r\\n if( null != welcome )\\r\\n {\\r\\n handler.setWelcomeFiles( welcome );\\r\\n }\\r\\n \\r\\n Map map = context.getMimeTypes( null );\\r\\n if( null != map )\\r\\n {\\r\\n MimeTypes types = new MimeTypes();\\r\\n types.setMimeMap( map );\\r\\n handler.setMimeTypes( types );\\r\\n }\\r\\n \\r\\n ErrorHandler errorHandler = context.getErrorHandler( null );\\r\\n if( null != errorHandler )\\r\\n {\\r\\n handler.setErrorHandler( errorHandler );\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8f44728a637b4e3cfcfa2e4d3f8bcb0d\",\n \"score\": \"0.60748285\",\n \"text\": \"public final void setPath1(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String path1)\\n\\t{\\n\\t\\tgetMendixObject().setValue(context, MemberNames.Path1.toString(), path1);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a9245b5eabf531ab76a36887cd4a3a38\",\n \"score\": \"0.6049731\",\n \"text\": \"@Override\\r\\n\\tpublic void setPath(String path) {\\n\\t\\tthis.path = path;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8b66b8603e7f7d8a904f07b0f1304910\",\n \"score\": \"0.6033542\",\n \"text\": \"public ContextHandlerBuilder withPath(String path) {\\n this.path = path;\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a5d2c85162e68c5a41d4c9a44d8590f7\",\n \"score\": \"0.6000664\",\n \"text\": \"public void setContext(String context) {\\n this.context = context == null ? null : context.trim();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a0b3ca1fb8c4d1d67175f4f49a76bfd\",\n \"score\": \"0.5999321\",\n \"text\": \"public String getContextPath() {\\n\\t\\t\\t\\treturn null;\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"70f70d906597c1c8be8498b7ff8876a0\",\n \"score\": \"0.59884\",\n \"text\": \"public abstract void setPath(String defaultPath);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cf6ccf6fe7223b3ae9745b448f0fe9e7\",\n \"score\": \"0.5982158\",\n \"text\": \"public abstract void setRootPath(String root);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47c99528b676146b141991cd776c8de0\",\n \"score\": \"0.5973568\",\n \"text\": \"public String getContextPath() {\\n\\t\\tString path = StringUtils.defaultString(myContextPath);\\n\\t\\tif (path.length() > 0 && path.charAt(path.length() - 1) == '/') {\\n\\t\\t\\tpath = path.substring(0, path.length() - 1);\\n\\t\\t}\\n\\t\\treturn path;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dd02079cc2370ead853f6bb318d7686a\",\n \"score\": \"0.5957276\",\n \"text\": \"public void setContext(Context context) {\\n\\t\\tthis.context = context;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dd02079cc2370ead853f6bb318d7686a\",\n \"score\": \"0.5957276\",\n \"text\": \"public void setContext(Context context) {\\n\\t\\tthis.context = context;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d4a377519f6181d0c92e9c099b5d6dae\",\n \"score\": \"0.59119093\",\n \"text\": \"@Override\\n\\tpublic void setPath(String path) {\\n\\t\\tthis.path = path;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e5e1e6b6c58cdee178ce2362e71947f\",\n \"score\": \"0.5911307\",\n \"text\": \"public final void setPath0(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String path0)\\n\\t{\\n\\t\\tgetMendixObject().setValue(context, MemberNames.Path0.toString(), path0);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6cab3c778ace836377cbf5acdfbc274d\",\n \"score\": \"0.59109694\",\n \"text\": \"public void setContext(Context context);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2c959538e045c5772c134173fb16f1e1\",\n \"score\": \"0.59088445\",\n \"text\": \"public void setPath(String path) {\\n if(path.startsWith(\\\"/\\\")) {\\n path = path.substring(1);\\n }\\n int namespaceSeparatorIndex = path.indexOf('/');\\n if(namespaceSeparatorIndex == -1)\\n namespace = path;\\n else\\n namespace = path.substring(0, namespaceSeparatorIndex);\\n \\n this.relativePath = path.substring(path.indexOf('/') + 1);\\n this.name = path.substring(path.lastIndexOf('/') + 1);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"98b06a14afa04a1934d313326d91af39\",\n \"score\": \"0.5903517\",\n \"text\": \"public LXC setPath(String path) {\\n _path = path;\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"60a2363b3e0499bbb06c1f82a7cf5e5e\",\n \"score\": \"0.5898321\",\n \"text\": \"public String getContextPath() {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d56e3b489052368207706b1507fc7071\",\n \"score\": \"0.58898234\",\n \"text\": \"private void setPath()\\n {\\n if (!System.getProperty(\\\"os.name\\\").startsWith(\\\"Windows\\\"))\\n {\\n path = \\\"./Rules Based Decision Engine/src/rules\\\";\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"91c431d27259698bf17c4a63a306089c\",\n \"score\": \"0.5882699\",\n \"text\": \"public void setPath(String p) {\\n\\t\\tchPath=p;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5c183f718dd8994e67083b3ef4acf3f8\",\n \"score\": \"0.58566165\",\n \"text\": \"public void setPath(CommonPath v) {\\r\\n \\tthis.path = v;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c475000ead08d908eee294897ea01308\",\n \"score\": \"0.58446914\",\n \"text\": \"public void setPath() {\\n\\t\\tthis.inPath=false;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"30341f2b3863a0217a1dcb1ea3ef004c\",\n \"score\": \"0.58394605\",\n \"text\": \"private void setContext(Context context){\\n if(context == null){ return; }\\n this.context = context;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ea3fd143dedc883d15b0066c5f7eb871\",\n \"score\": \"0.58350945\",\n \"text\": \"public void setContext(Context context)\\n {\\n this.context = context;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"01042461a65ac7172a95a38783d6eba2\",\n \"score\": \"0.58266723\",\n \"text\": \"public abstract void setResource(String path);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78b51664d5d28e90b71e07c021f48cf4\",\n \"score\": \"0.5824953\",\n \"text\": \"public void setContext(String context) {\\n this.context = context;\\n clearEventsForOldContext();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1e964e64cea366284f435c943fe283db\",\n \"score\": \"0.5824469\",\n \"text\": \"public void setContext(Context ctx){\\n context = ctx;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"404d8cb5b1946312b0546b4fd675f55b\",\n \"score\": \"0.5815749\",\n \"text\": \"@Override\\n public void setPath(Path path) {\\n this.path = path;\\n nav.setPath(path);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"094e70bbaaffbbeef834802d712890cd\",\n \"score\": \"0.5810675\",\n \"text\": \"public String getContextPath() {\\n if (_contextPath == null) {\\n Configuration childConfig = getModelConfiguration().getFirstChild(CONTEXT_PATH);\\n if (childConfig == null) {\\n Configuration contextConfig = _environment.getFirstChild(CONTEXT_PATH);\\n if (contextConfig != null && contextConfig.getValue() != null) {\\n _contextPath = contextConfig.getValue();\\n }\\n } else {\\n _contextPath = childConfig.getValue();\\n }\\n }\\n return _contextPath;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d7e08234b418a642a2ffe5d875da0e62\",\n \"score\": \"0.5806721\",\n \"text\": \"void setFilePath(String path);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9fa03fd575871c97bfad556f0f4ae1a6\",\n \"score\": \"0.5791386\",\n \"text\": \"@Override\\n public void setRootPath(String rootPath) {\\n this.rootPath = rootPath;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ad8bd6e7878ea3caad7109cc40bb8ba6\",\n \"score\": \"0.57892424\",\n \"text\": \"public void setUserPath(String _userPath){\\r\\n\\t\\tthis.userPath = _userPath;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"374943cb16d0b2909bd8428ed273b7e7\",\n \"score\": \"0.57653546\",\n \"text\": \"public void setPath(final String path) {\\n\\t\\tthis.path = path;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"15a764163d66cd01651a10ec55eb6e0e\",\n \"score\": \"0.5764928\",\n \"text\": \"public StaticLink setPath(String t)\\n {\\n path = t;\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1b53bf7a201d5e4bae06537db8b98fb\",\n \"score\": \"0.57648283\",\n \"text\": \"public void setContext(String Context) {\\n this.Context = Context;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"521c7374d5ac06be235abe41aceee709\",\n \"score\": \"0.57573915\",\n \"text\": \"public void setPath(final String path) {\\n this.path = path;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b2013663150831ac4295b007fd556bd7\",\n \"score\": \"0.5755022\",\n \"text\": \"public void setContextKey(@NonNull final String contextKey) {\\n\\t\\tthis.contextKey = contextKey;\\n\\t\\tthis.context.runAndTrack(new RunAndTrack() {\\n\\n\\t\\t\\t@SuppressWarnings(\\\"unchecked\\\")\\n\\t\\t\\t@Override\\n\\t\\t\\tpublic boolean changed(IEclipseContext context) {\\n\\t\\t\\t\\tsetCurrentValue((T) context.get(contextKey));\\n\\t\\t\\t\\treturn true;\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a036b7dfa1b7c836295b6f8cb52af111\",\n \"score\": \"0.57487893\",\n \"text\": \"public void setPath(String path) {\\r\\n this.path = path;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a036b7dfa1b7c836295b6f8cb52af111\",\n \"score\": \"0.57487893\",\n \"text\": \"public void setPath(String path) {\\r\\n this.path = path;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f0f414f0e7bc28b09077690708654e6f\",\n \"score\": \"0.57407254\",\n \"text\": \"public UrlRequestContextConfig setStoragePath(String value) {\\n if (!new File(value).isDirectory()) {\\n throw new IllegalArgumentException(\\n \\\"Storage path must be set to existing directory\\\");\\n }\\n\\n return putString(UrlRequestContextConfigList.STORAGE_PATH, value);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b493e2d132327281c0c874223845710d\",\n \"score\": \"0.57360417\",\n \"text\": \"public void setPath(String strPath) throws PageException\\t{\\n \\t\\tif(strPath==null) return;\\n \\t this.path=ResourceUtil.toResourceNotExisting(pageContext,strPath.trim() );\\n \\t\\t//this.path=new File(path.toLowerCase().trim());\\n \\n \\t\\tpageContext.getConfig().getSecurityManager().checkFileLocation(this.path);\\n \\t\\t\\n \\t if(!this.path.exists()) {\\n \\t \\tResource parent=this.path.getParentResource();\\n \\t if(parent!=null && parent.exists())this.path.mkdirs();\\n \\t else {\\n \\t throw new ApplicationException(\\\"attribute path of the tag collection must be a existing directory\\\");\\n \\t }\\n \\t }\\n \\t\\telse if(!this.path.isDirectory())\\n \\t\\t throw new ApplicationException(\\\"attribute path of the tag collection must be a existing directory\\\");\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8cf82c3f014c54995a168fb9ce17b393\",\n \"score\": \"0.5725454\",\n \"text\": \"public void setContext(Context context){\\n this.context=context;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b92602bfa7992be9b06fa54ce3cadf87\",\n \"score\": \"0.56953\",\n \"text\": \"public final void setPath2(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String path2)\\n\\t{\\n\\t\\tgetMendixObject().setValue(context, MemberNames.Path2.toString(), path2);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cb8d98909510963bba1733b2e65b2817\",\n \"score\": \"0.56881696\",\n \"text\": \"public final void setPath2(java.lang.String path2)\\n\\t{\\n\\t\\tsetPath2(getContext(), path2);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"841b4779f0e28fe76e1de07d7b000f6e\",\n \"score\": \"0.56606776\",\n \"text\": \"public void setPath(PathInfoData path) {\\n if (path == null || path.getPath() == null) {\\n throw new IllegalArgumentException(\\\"need to set path\\\");\\n }\\n this.path = path;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"55f7792aeb344dd0e466bf01fce0f996\",\n \"score\": \"0.56603014\",\n \"text\": \"public void setPath(\\n final java.lang.String path) {\\n this._path = path;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0faa7ca2411575ac47533d021f86e385\",\n \"score\": \"0.56569505\",\n \"text\": \"public final void setPath1(java.lang.String path1)\\n\\t{\\n\\t\\tsetPath1(getContext(), path1);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"beb31892bedefeeba53ab32b5a12d9b2\",\n \"score\": \"0.56501\",\n \"text\": \"public void setPath(String path) {\\r\\n\\t\\tthis.path = path;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"06eb8d78ecd6a971d73728d51d313f04\",\n \"score\": \"0.56355524\",\n \"text\": \"public void setRoot(int context,Object environment){\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aedaa41789e9d9f45d9518e7c61d6e44\",\n \"score\": \"0.5633203\",\n \"text\": \"public void set(String path, Object value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"50004c1b479822e7eff2149e9dff8e4c\",\n \"score\": \"0.5627734\",\n \"text\": \"public void setPath(final String pathValue) {\\n this.path = pathValue;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"afbb679ef1465f5c0c79354d186b2b6f\",\n \"score\": \"0.56123054\",\n \"text\": \"@Override\\n\\tpublic ServletContext getContext(String path) {\\n\\t\\treturn (path.equals(\\\"/\\\")) ? this : null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b996ba3575f922740ad97e28a9a6491f\",\n \"score\": \"0.5606803\",\n \"text\": \"public void setPath(String path) {\\n this.path = path;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b996ba3575f922740ad97e28a9a6491f\",\n \"score\": \"0.5606803\",\n \"text\": \"public void setPath(String path) {\\n this.path = path;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b996ba3575f922740ad97e28a9a6491f\",\n \"score\": \"0.5606803\",\n \"text\": \"public void setPath(String path) {\\n this.path = path;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b996ba3575f922740ad97e28a9a6491f\",\n \"score\": \"0.5606803\",\n \"text\": \"public void setPath(String path) {\\n this.path = path;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b996ba3575f922740ad97e28a9a6491f\",\n \"score\": \"0.5606803\",\n \"text\": \"public void setPath(String path) {\\n this.path = path;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f805f75bae163c7dad05bf62ecc99d2c\",\n \"score\": \"0.5604919\",\n \"text\": \"public void setPath(String path) {\\n this.path = path;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3b834d51d6cf3bfb9b5b4cee4f4635e5\",\n \"score\": \"0.56013197\",\n \"text\": \"public void setDefaultContextPath(String defaultContextPath) {\\n this.defaultContextPath = defaultContextPath;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3c5c7b25ca149ca414134c3cbef90f97\",\n \"score\": \"0.5597832\",\n \"text\": \"public void setContexturl(java.lang.String contexturl) {\\n this.contexturl = contexturl;\\n this.addProperty(\\\"contexturl\\\",contexturl);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"649ad401b276c2a402612de824c86270\",\n \"score\": \"0.5581821\",\n \"text\": \"@Override\\n\\tpublic void setServletContext(ServletContext context) {\\n\\t\\tthis.context = context;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5a0ec68aa75690276af0ac60157feaad\",\n \"score\": \"0.55677\",\n \"text\": \"public void setContext(Context c) {\\r\\n\\t\\tthis.context = c;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4aac8823d01b0bc790a57902a432d3e3\",\n \"score\": \"0.555637\",\n \"text\": \"public void setContext(IContext context) {\\n this.context = context;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da65753ca12c15cf27bcaafb214844af\",\n \"score\": \"0.5545901\",\n \"text\": \"public void setPath( EAIMMCtxtIfc theCtxt, java.lang.String thePath) throws EAIException {\\r\\n if( theCtxt == null) { return;}\\r\\n getM3Type( theCtxt);\\r\\n if( com.dosmil_e.kit.core.model.observe.meta.KitDependencyMeta.vm3AttrPath == null) { return;}\\r\\n\\r\\n try {\\r\\n ((com.dosmil_e.m3.core.pub.M3AttributePub) com.dosmil_e.kit.core.model.observe.meta.KitDependencyMeta.vm3AttrPath).\\r\\n setAttributeValue( theCtxt, this, toObject( thePath));\\r\\n }\\r\\n catch( ClassCastException anEx) { return;}\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7b285e3a5af02d61059dd4c55572b952\",\n \"score\": \"0.55352676\",\n \"text\": \"public void setPath(String path) {\\n\\t\\tthis.path = path;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7b285e3a5af02d61059dd4c55572b952\",\n \"score\": \"0.55352676\",\n \"text\": \"public void setPath(String path) {\\n\\t\\tthis.path = path;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7b285e3a5af02d61059dd4c55572b952\",\n \"score\": \"0.55352676\",\n \"text\": \"public void setPath(String path) {\\n\\t\\tthis.path = path;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"12f15679dfcd37ce9573d260a52c73da\",\n \"score\": \"0.5532377\",\n \"text\": \"public void setPath(String path)\\r\\n {\\r\\n String safePath = path;\\r\\n if (path == null)\\r\\n safePath = \\\"\\\";\\r\\n textField.setText(safePath);\\r\\n fileChooser.setCurrentDirectory(new File(safePath));\\r\\n fireActionPerformed();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"178e7c443d9912254e00ad3dda3f8166\",\n \"score\": \"0.5531434\",\n \"text\": \"public final void setPath0(java.lang.String path0)\\n\\t{\\n\\t\\tsetPath0(getContext(), path0);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"21633ba3b707acaa3e6b84597ad54090\",\n \"score\": \"0.55223286\",\n \"text\": \"public final void setKeyStorePath( String path) {\\n \\tm_keyStorePath = path;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1908298dafb3a9a988b1a4c1803b21c\",\n \"score\": \"0.55171937\",\n \"text\": \"public void setPath (java.lang.String path) {\\n\\t\\tthis.path = path;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6710d5b43fb41d2c8e9e94fe78544cf6\",\n \"score\": \"0.5509172\",\n \"text\": \"public void setPath(int path) {\\n this.path = path;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b6a1b57eecf7773bea3e183229f2a5a5\",\n \"score\": \"0.5495489\",\n \"text\": \"public LocalContentSource setPath(String path) {\\n this.path = path;\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0225c5a197547da79cfb49d7a48e1f8f\",\n \"score\": \"0.5490237\",\n \"text\": \"public Builder setContext(\\n String value) {\\n if (value == null) {\\n throw new NullPointerException();\\n }\\n bitField0_ |= 0x00000008;\\n context_ = value;\\n onChanged();\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"97e07eaefe059518cb53bbd86f486cb8\",\n \"score\": \"0.5470489\",\n \"text\": \"public void setPath(String path) {\\r\\n\\t\\tWindowsListener.path = path;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9881b46eb0f4d37814c3cd79dc4f5c03\",\n \"score\": \"0.54608446\",\n \"text\": \"@Override\\r\\n\\tpublic void setServletContext(ServletContext sctx) {\\n\\t\\tthis.sctx = sctx;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d7cd85615fd5184689535e32978fa45\",\n \"score\": \"0.54474455\",\n \"text\": \"public void setResultSetPath() {\\n\\t\\tresultsetPath.setLength(0);\\n// \\n resultsetPath.append(RESULTSET_PARENT_PATH + File.separator);\\n \\n \\tif (AppResource.crosslinkTask == AppResource.CROSSLINK_TASK_1) {\\n \\t\\tresultsetPath.append(\\\"crosslink1\\\" + File.separator);\\n\\t String resultsetFormalPath = resultsetPath.toString() + \\\"test\\\";\\n\\t if (!new File(resultsetFormalPath).exists() || !useTestDataset)\\n\\t \\tresultsetPath.append(\\\"training\\\");\\n\\t else\\n\\t \\tresultsetPath.append(\\\"test\\\");\\n \\t}\\n \\telse {\\n \\t\\tresultsetPath.append(\\\"crosslink2\\\");\\n \\t}\\n resultsetPath.append(File.separator);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e2723cd4044ac1dd2927306f2831bd5f\",\n \"score\": \"0.5447388\",\n \"text\": \"@Override\\r\\n\\tpublic void setJspContext(JspContext pc) {\\n\\t\\tsuper.setJspContext(pc);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b92e243d8439b4a392c9a04693b6d1ba\",\n \"score\": \"0.54344237\",\n \"text\": \"public CompletionStage setContext(Context context) {\\n\\t\\treturn this.channelClient\\n\\t\\t\\t\\t.dispatch(\\\"setContext\\\", Json.createObjectBuilder().add(\\\"context\\\", FinBeanUtils.toJsonObject(context)).build())\\n\\t\\t\\t\\t.thenAccept(result -> {\\n\\t\\t\\t\\t});\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":348,"cells":{"query_id":{"kind":"string","value":"7401c8aaf6e307bd7ccc7d0707b93004"},"query":{"kind":"string","value":"Create data for left input"},"positive_passages":{"kind":"list like","value":[{"docid":"53ff9b111a08b5d65165fda63e7b5557","score":"0.0","text":"@Test\n public void testFillingUpOutputBatch_WithExcludedColumns() throws Exception {\n final RowSet.SingleRowSet leftRowSet2 = SubOperatorTest.fixture.rowSetBuilder(TestLateralJoinCorrectness.leftSchema).addRow(2, 20, \"item20\").build();\n // Create data for right input\n final RowSet.SingleRowSet nonEmptyRightRowSet2 = SubOperatorTest.fixture.rowSetBuilder(TestLateralJoinCorrectness.rightSchema).addRow(1, 4, 41, \"item41\").addRow(1, 5, 51, \"item51\").build();\n TupleMetadata expectedSchema = new SchemaBuilder().add(\"id_left\", INT).add(\"name_left\", VARCHAR).add(\"id_right\", INT).add(\"cost_right\", INT).add(\"name_right\", VARCHAR).buildSchema();\n final RowSet.SingleRowSet expectedRowSet = SubOperatorTest.fixture.rowSetBuilder(expectedSchema).addRow(1, \"item1\", 1, 11, \"item11\").addRow(1, \"item1\", 2, 21, \"item21\").addRow(1, \"item1\", 3, 31, \"item31\").addRow(2, \"item20\", 4, 41, \"item41\").addRow(2, \"item20\", 5, 51, \"item51\").build();\n // Get the left container with dummy data for Lateral Join\n TestLateralJoinCorrectness.leftContainer.add(TestLateralJoinCorrectness.nonEmptyLeftRowSet.container());\n TestLateralJoinCorrectness.leftContainer.add(leftRowSet2.container());\n // Get the left IterOutcomes for Lateral Join\n TestLateralJoinCorrectness.leftOutcomes.add(OK_NEW_SCHEMA);\n TestLateralJoinCorrectness.leftOutcomes.add(OK);\n // Create Left MockRecordBatch\n final CloseableRecordBatch leftMockBatch = new MockRecordBatch(SubOperatorTest.fixture.getFragmentContext(), TestLateralJoinCorrectness.operatorContext, TestLateralJoinCorrectness.leftContainer, TestLateralJoinCorrectness.leftOutcomes, TestLateralJoinCorrectness.leftContainer.get(0).getSchema());\n // Get the right container with dummy data\n TestLateralJoinCorrectness.rightContainer.add(TestLateralJoinCorrectness.emptyRightRowSet.container());\n TestLateralJoinCorrectness.rightContainer.add(TestLateralJoinCorrectness.nonEmptyRightRowSet.container());\n TestLateralJoinCorrectness.rightContainer.add(nonEmptyRightRowSet2.container());\n TestLateralJoinCorrectness.rightOutcomes.add(OK_NEW_SCHEMA);\n TestLateralJoinCorrectness.rightOutcomes.add(EMIT);\n TestLateralJoinCorrectness.rightOutcomes.add(EMIT);\n final CloseableRecordBatch rightMockBatch = new MockRecordBatch(SubOperatorTest.fixture.getFragmentContext(), TestLateralJoinCorrectness.operatorContext, TestLateralJoinCorrectness.rightContainer, TestLateralJoinCorrectness.rightOutcomes, TestLateralJoinCorrectness.rightContainer.get(0).getSchema());\n List excludedCols = new ArrayList<>();\n excludedCols.add(SchemaPath.getSimplePath(\"cost_left\"));\n try {\n testExcludedColumns(excludedCols, leftMockBatch, rightMockBatch, expectedRowSet);\n } finally {\n // Close all the resources for this test case\n leftRowSet2.clear();\n nonEmptyRightRowSet2.clear();\n }\n }","title":""}],"string":"[\n {\n \"docid\": \"53ff9b111a08b5d65165fda63e7b5557\",\n \"score\": \"0.0\",\n \"text\": \"@Test\\n public void testFillingUpOutputBatch_WithExcludedColumns() throws Exception {\\n final RowSet.SingleRowSet leftRowSet2 = SubOperatorTest.fixture.rowSetBuilder(TestLateralJoinCorrectness.leftSchema).addRow(2, 20, \\\"item20\\\").build();\\n // Create data for right input\\n final RowSet.SingleRowSet nonEmptyRightRowSet2 = SubOperatorTest.fixture.rowSetBuilder(TestLateralJoinCorrectness.rightSchema).addRow(1, 4, 41, \\\"item41\\\").addRow(1, 5, 51, \\\"item51\\\").build();\\n TupleMetadata expectedSchema = new SchemaBuilder().add(\\\"id_left\\\", INT).add(\\\"name_left\\\", VARCHAR).add(\\\"id_right\\\", INT).add(\\\"cost_right\\\", INT).add(\\\"name_right\\\", VARCHAR).buildSchema();\\n final RowSet.SingleRowSet expectedRowSet = SubOperatorTest.fixture.rowSetBuilder(expectedSchema).addRow(1, \\\"item1\\\", 1, 11, \\\"item11\\\").addRow(1, \\\"item1\\\", 2, 21, \\\"item21\\\").addRow(1, \\\"item1\\\", 3, 31, \\\"item31\\\").addRow(2, \\\"item20\\\", 4, 41, \\\"item41\\\").addRow(2, \\\"item20\\\", 5, 51, \\\"item51\\\").build();\\n // Get the left container with dummy data for Lateral Join\\n TestLateralJoinCorrectness.leftContainer.add(TestLateralJoinCorrectness.nonEmptyLeftRowSet.container());\\n TestLateralJoinCorrectness.leftContainer.add(leftRowSet2.container());\\n // Get the left IterOutcomes for Lateral Join\\n TestLateralJoinCorrectness.leftOutcomes.add(OK_NEW_SCHEMA);\\n TestLateralJoinCorrectness.leftOutcomes.add(OK);\\n // Create Left MockRecordBatch\\n final CloseableRecordBatch leftMockBatch = new MockRecordBatch(SubOperatorTest.fixture.getFragmentContext(), TestLateralJoinCorrectness.operatorContext, TestLateralJoinCorrectness.leftContainer, TestLateralJoinCorrectness.leftOutcomes, TestLateralJoinCorrectness.leftContainer.get(0).getSchema());\\n // Get the right container with dummy data\\n TestLateralJoinCorrectness.rightContainer.add(TestLateralJoinCorrectness.emptyRightRowSet.container());\\n TestLateralJoinCorrectness.rightContainer.add(TestLateralJoinCorrectness.nonEmptyRightRowSet.container());\\n TestLateralJoinCorrectness.rightContainer.add(nonEmptyRightRowSet2.container());\\n TestLateralJoinCorrectness.rightOutcomes.add(OK_NEW_SCHEMA);\\n TestLateralJoinCorrectness.rightOutcomes.add(EMIT);\\n TestLateralJoinCorrectness.rightOutcomes.add(EMIT);\\n final CloseableRecordBatch rightMockBatch = new MockRecordBatch(SubOperatorTest.fixture.getFragmentContext(), TestLateralJoinCorrectness.operatorContext, TestLateralJoinCorrectness.rightContainer, TestLateralJoinCorrectness.rightOutcomes, TestLateralJoinCorrectness.rightContainer.get(0).getSchema());\\n List excludedCols = new ArrayList<>();\\n excludedCols.add(SchemaPath.getSimplePath(\\\"cost_left\\\"));\\n try {\\n testExcludedColumns(excludedCols, leftMockBatch, rightMockBatch, expectedRowSet);\\n } finally {\\n // Close all the resources for this test case\\n leftRowSet2.clear();\\n nonEmptyRightRowSet2.clear();\\n }\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"c2c9f68f350d0da488e31fb0b6d1f27a","score":"0.57611346","text":"private void populateLeftEvents() {\n\t\tfinal int[] data = this.data;\n\t\tfinal int y0 = data[IDX_MIN_PIX_Y] & TILE_AXIS_MASK;\n\t\tfinal int y1 = data[IDX_MAX_TILE_ORIGIN_Y] + 7;\n\t\tfinal int limit = IDX_EVENTS + (y1 << 1);\n\n\t\tfor (int y = IDX_EVENTS + (y0 << 1); y <= limit; y += 2) {\n\t\t\tdata[y] = 0;\n\t\t}\n\t}","title":""},{"docid":"8136dd1c480dd9d741b54131c9f2f341","score":"0.56233025","text":"@RequestMapping(method = RequestMethod.POST, value = \"/left\", consumes = MediaType.APPLICATION_JSON_VALUE)\r\n public ResponseEntity inputLeft(@PathVariable String id, @RequestBody Base64DataPayload base64DataPayload) {\r\n logger.info(\"Receiving Left Data for id: \" + id);\r\n return diffService.inputLeft(id, base64DataPayload.getData());\r\n }","title":""},{"docid":"ced6617a93775ca156800086c5f2114c","score":"0.5608102","text":"abstract public Object produceLeft();","title":""},{"docid":"574c8b840e6102b0e8e7842bc8d14259","score":"0.5597859","text":"private void inputData(LinkedList linkedList){\n\t\tNode node = new Node(1);\t\n\t\tlinkedList.insertNode(new Node(2));\n\t\tlinkedList.insertNode(node);\n\t\tlinkedList.insertNode(new Node(3));\n\t\tlinkedList.insertNode(new Node(4));\n\t\tlinkedList.insertNode(new Node(5));\n\t\tlinkedList.insertNode(node);\n\t}","title":""},{"docid":"a7afefc0c9c9713a4ab413f2278a4b70","score":"0.5565844","text":"private void createLocalState()\r\n\t{\n\t\tif (curfield != null)\r\n\t\t{\r\n\t\t\t// process params and fill in errors as appropriate\r\n\t\t\tprocessFields();\r\n\t\t\tverifyFields();\r\n\t\r\n\t\t\t// populate temporary state\r\n\t\t\tDCInput field = getInputsReader().newField(getParams());\r\n\t\r\n\t\t\t// either hold it in a temporary field (if there are errors)\r\n\t\t\t// or write it back to the local state\r\n\t\t\tif (hasErrors())\r\n\t\t\t{\r\n\t\t\t\terrorfield = field;\r\n\t\t\t}\r\n\t\t\telse if (curfield == -1)\r\n\t\t\t{\r\n\t\t\t\tinputSet.addField(curpage, field);\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tinputSet.setField(curpage, curfield, field);\r\n\t\t\t}\r\n\t\t}\r\n\t}","title":""},{"docid":"f0255cfabd5532501fa85ff669706a11","score":"0.54650295","text":"public NoPutResultSet getLeftSourceInput()\n {\n return leftSource;\n }","title":""},{"docid":"dac3d6a8d162f882c84e81ae58b7f943","score":"0.54270655","text":"public String toString(){\n\t\treturn \"Data: \"+this.data+\", Left: \"+((this.left!=null)?left.data:\"null\")\n\t\t\t\t+\",Right: \"+((this.right!=null)?right.data:\"null\");\n\t}","title":""},{"docid":"266ef0ee439fe1faeaa9d7d4ab7e6ef8","score":"0.5391715","text":"public void startProcessingData(){\n\t\tcurrentInputData = new HistoryData();\n\t\tString[] values = processor.getCurrentRow(counter);\n\t\t\n\t\t//ID\n\t\t//currentInputData.setIsNumeric(values[0]);\n\t\tcurrentInputData.setIsValidIDFormat(values[0]);\n\t\t\n\t\t//Sex\n\t\tcurrentInputData.setIsValidSex(values[5]);\n\t\t\n\t\t//Age\n\t\tcurrentInputData.setIsValidAge(values[8]);\n\t\t\n\t\t//Martial Status\n\t\tcurrentInputData.setMaritalStatus(values[9]);\n\t\t\n\t\t//Registration Data\n\t\tcurrentInputData.setIsRegistrationDateOutOfRange(values[21]);\n\t\t\n\t\t/*\n\t\t//Cause of Death\n\t\tcurrentInputData.setCauseOfDeathInput(values[4]);\n\t\t\n\t\t//Certification\n\t\tcurrentInputData.setCertification(values[5]);\n\t\t*/\n\t\t\n\t\t//Valid Informant Present at Death\n\t\tcurrentInputData.setIsValidInformant(values[17]);\n\t\tcurrentInputData.setIsPresentAtDeathInput(values[19]);\n\t\t\n\t\t//Qualified Informant or Address of Informant\n\t\tcurrentInputData.setIsQualifiedInformant(values[18]);\n\t\tcurrentInputData.setIsValidInformantAddress(values[20]); //TODO What to do if no data at end of row...array only has 8 spots, error\n\t}","title":""},{"docid":"7dc3186e9c32f06aeb33e540d65db6d8","score":"0.5355075","text":"public void resetLeftPosition() {\n\t\tdrivetrainLeftEncoder.reset();\n\t}","title":""},{"docid":"b3a318015d218aa52b7c2ee6c3f86d65","score":"0.5290466","text":"public void getData() {\n wInputType.setText(Const.NVL(input.getInputType(), \"\"));\n wInputText.setText(Const.NVL(input.getInputText(), \"\"));\n wInputField.setText(Const.NVL(input.getInputFieldName(), \"\"));\n wInputFilename.setText(Const.NVL(input.getInputFileName(), \"\"));\n wInputFilenameInField.setSelection(input.isInputFileNameInField());\n wInputFilenameField.setText(Const.NVL(input.getInputFileNameField(), \"\"));\n wAddInputFilenameToResult.setSelection(input.isAddInputFileNameToResult());\n\n wOutputType.setText(Const.NVL(input.getOutputType(), \"\"));\n wOutputField.setText(Const.NVL(input.getOutputFieldName(), \"\"));\n wOutputFilename.setText(Const.NVL(input.getOutputFileName(), \"\"));\n wOutputFilenameInField.setSelection(input.isOutputFileNameInField());\n wOutputFilenameField.setText(Const.NVL(input.getOutputFileNameField(), \"\"));\n wAppendOutputFilename.setSelection(input.isAppendOutputFileName());\n wCreateParentFolder.setSelection(input.isCreateParentFolder());\n wFormat.setText(\n TokenReplacementMeta.getOutputFileFormatDescription(input.getOutputFileFormat()));\n wOutputFileEncoding.setText(Const.NVL(input.getOutputFileEncoding(), \"\"));\n wOutputSplitEvery.setText(Integer.toString(input.getSplitEvery(), 10));\n wIncludeTransformNrInFilename.setSelection(input.isIncludeTransformNrInOutputFileName());\n wIncludePartNrInFilename.setSelection(input.isIncludePartNrInOutputFileName());\n wIncludeDateInFilename.setSelection(input.isIncludeDateInOutputFileName());\n wIncludeTimeInFilename.setSelection(input.isIncludeTimeInOutputFileName());\n wSpecifyDateFormat.setSelection(input.isSpecifyDateFormatOutputFileName());\n wDateFormat.setText(Const.NVL(input.getDateFormatOutputFileName(), \"\"));\n wAddOutputFilenameToResult.setSelection(input.isAddOutputFileNameToResult());\n\n wTokenStartString.setText(Const.NVL(input.getTokenStartString(), \"\"));\n wTokenEndString.setText(Const.NVL(input.getTokenEndString(), \"\"));\n\n logDebug(\"getting fields info...\");\n\n for (int i = 0; i < input.getTokenReplacementFields().length; i++) {\n TokenReplacementField field = input.getTokenReplacementFields()[i];\n\n TableItem item = wFields.table.getItem(i);\n if (field.getName() != null) {\n item.setText(2, field.getName());\n }\n if (field.getTokenName() != null) {\n item.setText(1, field.getTokenName());\n }\n }\n\n wFields.optWidth(true);\n\n wTransformName.selectAll();\n wTransformName.setFocus();\n }","title":""},{"docid":"81524dba8f5648c2e73cfb45c29cdf2d","score":"0.5263206","text":"public int getLeftMostData()\r\n {\r\n if(this.left == null)\r\n return data;\r\n return getLeft().getLeftMostData();\r\n }","title":""},{"docid":"817b05aea32e5171190ac206a3ddfc0d","score":"0.52547276","text":"private void initData() {\n\t\tnombreSedes = getMapaByPosition(getData(), 0);\n\t\tannios = getMapaByPosition(getData(), 1);\n\t\tnombreCampeones = getMapaByPosition(getData(), 2);\n\t\tresultados = getMapaByPosition(getData(), 3);\n\t\tnombreSubCampeones = getMapaByPosition(getData(), 4);\n\t}","title":""},{"docid":"e3a701d0fdb1fef5e0afd9dc7c345fcb","score":"0.52254283","text":"@Override\n\tprotected void generateData() {\n\t\n\t}","title":""},{"docid":"7732aa00d8d1c446a4ea3bad42818d26","score":"0.5194523","text":"public float[] fetchLeft() {\r\n \r\n int sampleSizeL = leftTouch.sampleSize();\r\n float[] sampleL = new float[sampleSizeL];\r\n leftTouch.fetchSample(sampleL, 0);\r\n \r\n return sampleL;\r\n }","title":""},{"docid":"88d986bbec473b310e3a1620b75ddabf","score":"0.5179787","text":"public void setLeftFilter(DataFilter leftFilter)\n {\n _leftFilter = leftFilter;\n }","title":""},{"docid":"90f57a05b414e7f5f858a2b6a64245f6","score":"0.5172798","text":"public void fillLeft();","title":""},{"docid":"e8ddbef266e29e5370c2958c31ea16d6","score":"0.51716006","text":"Data createData();","title":""},{"docid":"62f2ccbde0727e1d9d424bf0b4185669","score":"0.5130898","text":"public DistanceSensorData(int frontDistanceSensor, int leftsideDistanceSensor, int rightsideDistanceSensor){\n\t\tsuper(new Timestamp(System.currentTimeMillis()));\n\t\tthis.frontDistanceSensor = frontDistanceSensor;\n\t\tthis.leftsideDistanceSensor = leftsideDistanceSensor;\n\t\tthis.rightsideDistanceSensor = rightsideDistanceSensor;\n\t}","title":""},{"docid":"c97aeee005ed4a9dad18fde21f949aa3","score":"0.50821066","text":"private void createData(){\n int anzData = (int) (m_data.size() * (m_trainPercentage * 0.01));\n \n ArrayList tempData = new ArrayList<>(m_data);\n \n while(m_trainData.size() < anzData){\n \n int random = (int) (random() * (tempData.size() - 0) + 0); \n \n m_trainData.add(tempData.remove(random));\n }\n \n m_testData = tempData;\n }","title":""},{"docid":"d3e295b854fcb2582b95f896e8463aed","score":"0.5019948","text":"public Tree buildTreeFromLeft (List> list) {\n Tree tree = null;\n try {\n if (list.size() == 1) {\n tree = list.remove(0);\n } else if (list.get(0).getData().equals(\"λ\")) {\n tree = list.remove(0);\n tree.setRight(buildTreeFromLeft(list));\n } else if (list.get(0).getData().equals(\"@\")) {\n tree = list.remove(0);\n tree.setLeft(buildTreeFromLeft(list));\n tree.setRight(buildTreeFromLeft(list));\n } else {\n tree = list.remove(0);\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n return tree;\n }","title":""},{"docid":"12e7ab61493aac6bec4148bcd69639f5","score":"0.5009426","text":"public void populateHitsLeft() {\r\n\t\tthis.hitsLeft[0] = extendPaddleHitsLeft;\r\n\t\tthis.hitsLeft[1] = laserShotsLeft;\r\n\t\tthis.hitsLeft[2] = magnetPullsLeft;\r\n\t}","title":""},{"docid":"f60f710a60e05e111d64f9f884346b7a","score":"0.5006905","text":"@Override\n\tprotected void buildLeftCollection()\n\t{\n\t\tsetLeftCollection(leftCollection);\n\t}","title":""},{"docid":"f09c5f949e4f768c5deceb169ce82b8b","score":"0.50004613","text":"void buildVertexData(){\n\t\tfloat []vertexData={\n\t\t\t-0.5f,-0.5f,\n\t\t\t -0.5f, 0.5f,\n\t\t\t 0.5f, -0.5f,\n\t\t\t 0.5f, 0.5f,\n\t\t};\n\t\t\n\t\tthis.vertexData=createFloatBufferFromData(vertexData);\n\t}","title":""},{"docid":"b34c591d9d389c210b1dbacf472110a8","score":"0.4990954","text":"@Override\n public void deriveAttributesFromRawData(){\n String[] lines=getRawData().split(NEW_LINE);\n dataNode.setParagraphLines(\n Arrays.asList(lines[0].split(FULL_STOP)).stream()\n .map(s -> GenericUtils.removeNoiseWords(s))\n .collect(Collectors.toList()));\n dataNode.setQuestions(\n IntStream.range(1,lines.length-1)\n .mapToObj(i -> GenericUtils.removeNoiseWords(lines[i]).replace(QUESTION_MARK,EMPTY))\n .collect(Collectors.toList()));\n dataNode.setOriginalAnswers(\n Arrays.asList(lines[lines.length - 1].split(SEMICOLON)).stream()\n .map(s -> GenericUtils.removeNoiseWords(s)).collect(Collectors.toList()));\n }","title":""},{"docid":"74e481ff015144f7d11b34345af83aa7","score":"0.49838337","text":"public DataFilter getLeftFilter()\n {\n return _leftFilter;\n }","title":""},{"docid":"4a65e8cfd2b53f0294d60d208507f90f","score":"0.49759072","text":"@Override\n public void setInitialValues() \n {\n DataStore1 d = (DataStore1) data;\n d.G = 0;\n d.total = 0;\n }","title":""},{"docid":"5d1c32637f8709ecff633fa69b297821","score":"0.49737576","text":"public String preOrder() {\n\tif (isEmpty()) {\n\t return \"\";\n\t} else {\n\t return \"\" + data + \" \" + left.preOrder() + right.preOrder();\n\t}\n }","title":""},{"docid":"26ce61784671b252051f59e0e769c6ca","score":"0.49472317","text":"protected List createData(int start, int length) {\n List toRet = new ArrayList();\n for (int i = 0; i < length; i++) {\n toRet.add(\"test \" + (i + start));\n }\n return toRet;\n }","title":""},{"docid":"15ef6998e21de2ed40e51b80cd10d7e2","score":"0.49464235","text":"private void createKeyData(){\n\t\tKey buf;\n\t\tint index = 0;\n\t\twhile(skillData[index].equals(\"0\")==false){\n\t\t\tbuf = new Key();\n\t\t\tbuf.empty();\n\t\t\tif(skillData[index].equals(\"_\")){\n\t\t\t\tbuf = vcKey.get(index-1);\n\t\t\t\tvcKey.remove(index-1);\n\t\t\t\tindex++;\n\t\t\t}\n\t\t\tif(skillData[index].equals(\"5\")){\n\t\t\t\tbuf.empty();\n\t\t\t}\n\t\t\tif(skillData[index].equals(\"L\") || skillData[index].equals(\"4\")){\n\t\t\t\tbuf.L=true;\n\t\t\t}\n\t\t\tif(skillData[index].equals(\"R\") || skillData[index].equals(\"6\")){\n\t\t\t\tbuf.R=true;\n\t\t\t}\n\t\t\tif(skillData[index].equals(\"D\") || skillData[index].equals(\"2\")){\n\t\t\t\tbuf.D=true;\n\t\t\t}\n\t\t\tif(skillData[index].equals(\"U\") || skillData[index].equals(\"8\")){\n\t\t\t\tbuf.U=true;\n\t\t\t}\n\t\t\tif(skillData[index].equals(\"LD\") || skillData[index].equals(\"1\")){\n\t\t\t\tbuf.L=true;\n\t\t\t\tbuf.D=true;\n\t\t\t}\n\t\t\tif(skillData[index].equals(\"LU\") || skillData[index].equals(\"7\")){\n\t\t\t\tbuf.L=true;\n\t\t\t\tbuf.U=true;\n\t\t\t}\n\t\t\tif(skillData[index].equals(\"RD\") || skillData[index].equals(\"3\")){\n\t\t\t\tbuf.R=true;\n\t\t\t\tbuf.D=true;\n\t\t\t}\n\t\t\tif(skillData[index].equals(\"RU\") || skillData[index].equals(\"9\")){\n\t\t\t\tbuf.R=true;\n\t\t\t\tbuf.U=true;\n\t\t\t}\n\t\t\tif(skillData[index].equals(\"A\")){\n\t\t\t\tbuf.A=true;\n\t\t\t}\n\t\t\tif(skillData[index].equals(\"B\")){\n\t\t\t\tbuf.B=true;\n\t\t\t}\n\t\t\tif(skillData[index].equals(\"C\")){\n\t\t\t\tbuf.C=true;\n\t\t\t}\n\t\t\tthis.vcKey.addElement(buf);\n\t\t\tindex++;\n\t\t}\n\t\tskillEndIndex = vcKey.size();\n\t}","title":""},{"docid":"6324f204df44c3efc0406c25a52b512c","score":"0.49237508","text":"@Override\n\tpublic byte[] preSave(byte[] data) {\n\t\treturn data;\n\t}","title":""},{"docid":"db344a667ba71a2733763d0d2ff5bcd7","score":"0.49158946","text":"public void addDataForOpCall(){ \n OperatorCall tmpOC = new OperatorCall(); \n tmpOC.currentOperator = Operators.badOperator;\n tmpOC.sumDiff = Double.NaN;\n tmpOC.affectedChromes = -1;\n tmpOC.improvedChromes = -1;\n tmpOC.bestBeforeOpStarts = Double.NaN;\n tmpOC.diversity = Double.NaN;\n data.add(tmpOC); \n }","title":""},{"docid":"7395684fcfc80a9faf007645094dd151","score":"0.49045372","text":"private Node rotateLeft(Node current) {\n\t\tNode temp = current.getRight();\n\t\tcurrent.setRight(temp.getLeft());\n\t\ttemp.setLeft(current);\n\t\tgetHeight(temp);\n\t\tgetBalanceFactor(temp);\n\t\tgetHeight(current);\n\t\tgetBalanceFactor(current);\n\t\treturn temp;\n\t}","title":""},{"docid":"efabc284188d138e1be9ea76d4fab2c0","score":"0.49033892","text":"public void restoreState(String[] data) {\n\t\tif(Integer.parseInt(data[4])==val){\n\t\t\tlPer = new Person(data[0].substring(0,data[0].indexOf('/')),data[0].substring(data[0].indexOf('/')+1));\n\t\t\trPer = new Person(data[1].substring(0,data[1].indexOf('/')),data[1].substring(data[1].indexOf('/')+1));\n\t\t\twPer = new Person(data[2].substring(0,data[2].indexOf('/')),data[2].substring(data[2].indexOf('/')+1));\n\t\t\tnote = data[3];\n\t\t\treturn;\n\t\t}\n\t\telse{\n\t\t\tif(!leaf){ \n\t\t\t\tleft.restoreState(data);\n\t\t\t\tright.restoreState(data);\n\t\t\t}\n\t\t}\n\t\t\n\t}","title":""},{"docid":"49b626dafcb21ab23c2bb96794753ecb","score":"0.48931372","text":"private void generateDummyData()\r\n\t{\r\n\t\tlog(\"Generating Data\");\r\n\t\tdata.put(id++, new CD(\"Nightwish\",\"Nemo\",\"Metal\"));\r\n\t\tdata.put(id++, new CD(\"Alestorm\",\"Wenches and Mead\",\"Pirate Metal\"));\r\n\t\tdata.put(id++, new CD(\"Angerfist\",\"Spook\",\"Hardstyle\"));\r\n\t\tdata.put(id++, new CD(\"Kamelot\",\"March of Mephisto\",\"Metal\"));\r\n\t\t\r\n\t\tlog(\"Data Generation Complete\");\r\n\t\tprintDataState();\r\n\t}","title":""},{"docid":"42762c0cfc642d216fa18da8da95e8f3","score":"0.48838234","text":"public T getLeftValue(){\n\t\treturn this.left;\n\t}","title":""},{"docid":"a91c3505a21ad79ba413b33499ea73c4","score":"0.48834848","text":"private void getData() {\n name = nombreT.getText();\n apellidos = apellidoT.getText();\n telefono = telefonoT.getText();\n dir = direccionT.getText();\n ident = identificacionT.getText();\n\n fc = fechaT.getValue() == null ? \"\" : fechaT.getValue().toString();\n idS = idsedeT.getValue() == null ? \"\" : idsedeT.getValue().toString();\n rol = rolT.getValue() == null ? \"\" : rolT.getValue().toString();\n }","title":""},{"docid":"1c072abc1f008b7d9361b617974432de","score":"0.48705307","text":"private void setLeft(double left) \r\n {\r\n leftTalonOne.set(left);\r\n //leftTalonTwo.set(left);\r\n //leftTalonThree.set(left);\r\n }","title":""},{"docid":"d7d34525687c4a648dc94fbd2d7e0c59","score":"0.48685387","text":"public void getAndSetData() {\n\t\tString[] rawArray = m_rawData.split(\"\\\\,\");\n\n\t\tm_name = rawArray[0].substring(5); // start at index 5\n\t\tm_x = Integer.parseInt(rawArray[1].substring(2));\n\t\tm_z = Integer.parseInt(rawArray[2].substring(2));\n\t\tm_y = Integer.parseInt(rawArray[3].substring(2));\n\t\tm_isEnabled = Boolean.parseBoolean(rawArray[4].substring(8));\n\n\t\tm_r = (int)(Float.parseFloat(rawArray[5].substring(4)) * 255);\n\t\tm_g = (int)(Float.parseFloat(rawArray[6].substring(6)) * 255);\n\t\tm_b = (int)(Float.parseFloat(rawArray[7].substring(5)) * 255);\n\n\t\t//String suffix = rawArray[8]; // throwaway\n\t\t//String world = rawArray[9]; // also throwaway\n\t\tm_dimensions = rawArray[10].substring(11);\n\n\t\tfor (int currentChar = 0; currentChar < m_dimensions.length(); ++currentChar) {\n\t\t\tif (m_dimensions.charAt(currentChar) == '#')\n\t\t\t\tm_dimensions = m_dimensions.replace(\"#\", \"\");\n\t\t}\n\n\t\tm_id = m_name + \"_\" + m_x + \",\" + m_y + \",\" + m_z;\n\n\t\t/*System.out.printf(\"unique id is: %s\\n\", m_id);\n\t\tSystem.out.printf(\"name is: %s\\n\", m_name);\n\t\tSystem.out.printf(\"coordinates are: (%d, %d, %d)\\n\", m_x, m_y, m_z);\n\t\tSystem.out.printf(\"enabled is %b\\n\", m_isEnabled);\n\t\tSystem.out.printf(\"rgb values are: (%.9f, %.9f, %.9f)\\n\", m_r, m_g, m_b);\n\t\tSystem.out.printf(\"dimensions are: %s\\n\", m_dimensions);*/\n\t}","title":""},{"docid":"bcec8234eed9a42f0618b0773e9d9107","score":"0.48656523","text":"public void createLogInput() {\n log += \"-Input:\\n\";\n for (int i = 0; i < x.length; i++) {\n log += \"Input ke-\" + i + \":[\";\n for (int j = 0; j < x[i].length; j++) {\n log += j != (x[i].length - 1) ? x[i][j] + \",\" : x[i][j];\n }\n log += \"]\\n\";\n }\n }","title":""},{"docid":"8b18fd12dbb5303a665e92c25393fb78","score":"0.4861706","text":"@Override\n\tprotected void initData() {\n\t\t\n\t}","title":""},{"docid":"8b18fd12dbb5303a665e92c25393fb78","score":"0.4861706","text":"@Override\n\tprotected void initData() {\n\t\t\n\t}","title":""},{"docid":"c5ca713f20cddacd0c7bdabcd4c8b39a","score":"0.48613772","text":"public static Node createLeftCloneTree(Node node){\n // write your code here\n if(node==null){\n return null;\n }\n Node ln= createLeftCloneTree(node.left);\n Node rn=createLeftCloneTree(node.right);\n Node nnode=new Node(node.data,node.left,null);\n node.left=nnode;\n return node;\n }","title":""},{"docid":"bed48451cfffeb9179b961459ab2b05e","score":"0.48595437","text":"public HuffmanNode getLeft()\n\t{\n\t\treturn left;\n\t}","title":""},{"docid":"3a23674f8a76c28e97726635ccce9738","score":"0.48567027","text":"public Builder clearLeft() {\n bitField0_ = (bitField0_ & ~0x00000002);\n left_ = 0D;\n onChanged();\n return this;\n }","title":""},{"docid":"2d7b2227143f7f342888973b447dc0e2","score":"0.4853105","text":"public void setLeft(BTNodeDup l) {\r\n left = l;\r\n }","title":""},{"docid":"54b1134554bc066c34ed30a72adb660c","score":"0.4831396","text":"@Override\n\tprotected void initData() {\n\n\t}","title":""},{"docid":"54b1134554bc066c34ed30a72adb660c","score":"0.4831396","text":"@Override\n\tprotected void initData() {\n\n\t}","title":""},{"docid":"e960e304cd2a3d41c7dd25323c1a866a","score":"0.4820022","text":"public void getPrevData() {\r\r\n\t\tgetReqsData();\r\r\n\t}","title":""},{"docid":"7ac7cdb2cdd69ac214faedad78647d17","score":"0.48184097","text":"public Rendermessages.CBorderData.CBorderSide.Builder getLeftBuilder() {\n bitField0_ |= 0x00000008;\n onChanged();\n return getLeftFieldBuilder().getBuilder();\n }","title":""},{"docid":"ac77991596196ab678a2147346e817d7","score":"0.48062766","text":"public PalisadeInputSplit() {\n requestResponse = new DataRequestResponse();\n }","title":""},{"docid":"2aaac489117e4111cdc4dd34f16c826e","score":"0.4805742","text":"public BinaryTree(E rootData, BinaryTree left, BinaryTree right) {\r\n\t\troot = new Node();\r\n\t\troot.data = rootData;\r\n\t\tif (left != null) {\r\n\t\t\troot.left = left.root;\r\n\t\t}\r\n\t\tif (right != null) {\r\n\t\t\troot.right = right.root;\r\n\t\t}\r\n\t}","title":""},{"docid":"4e6c5d7c4374c6ec0f1503f42e599922","score":"0.48021814","text":"public BinaryNode( T theData, BinaryNode leftChild, \n BinaryNode rightChild ) {\n data = theData; \n left = leftChild;\n right = rightChild;\n }","title":""},{"docid":"9fd5863b5c7fb612226843698a47e954","score":"0.4785259","text":"public BinaryTree(E data, BinaryTree leftTree, \n\t\t\tBinaryTree rightTree) {\n\t\troot = new Node (data);\n\t\tif (leftTree != null) {\n\t\t\troot.left = leftTree.root;\n\t\t} else {\n\t\t\troot.left = null;\n\t\t}\n\t\tif (rightTree != null) {\n\t\t\troot.right = rightTree.root;\n\t\t} else {\n\t\t\troot.right = null;\n\t\t}\n\t}","title":""},{"docid":"420cb9c3f52ae1b37b96d45932f83f0d","score":"0.4784319","text":"@Override\r\n\tpublic String createSecondRandomData() {\n\t\treturn null;\r\n\t}","title":""},{"docid":"b9c74557fe9245af96e182cb847788d9","score":"0.47811136","text":"@Override\r\n\tpublic void initData() {\n\t\t\r\n\t}","title":""},{"docid":"87dc7196d2d35103e000ecb6bd8333b0","score":"0.47703385","text":"public void generateSynthDataFromDataStorage()\n {\n /*This function creates a synthesized data array from the local data storage*/\n if (dataArrayLen > 0)\n {\n computeLateralLongitudalArrays();\n\n /*Instantiate gps arrays*/\n dataLen = dataStorage.getDataArrayLen();\n latitudeArray = new double[dataStorage.getDataArrayLen()];\n longitudeArray = new double[dataStorage.getDataArrayLen()];\n GPSEventTime = new long[dataArrayLen];\n\n /*Copy latitude and longitude array*/\n for (int index = 0; index < dataStorage.getDataArrayLen(); index++)\n {\n latitudeArray[index] = dataStorage.latitudeArray[index];\n longitudeArray[index] = dataStorage.longitudeArray[index];\n GPSEventTime[index] = dataStorage.GPSEventTime[index];\n GPSIndex = dataStorage.GPSIndex;\n }\n }\n }","title":""},{"docid":"9bfad3e7c526bca61c7a2f7cabb03133","score":"0.47648656","text":"private void prepareData(String leftJson, String rightJson, long id) {\n\t\trestTemplate.delete(createURLWithPort(\"/jsontext/\"+id));\n\n\t\tTestJsonTextPair jsonTextPair = new TestJsonTextPair(102, leftJson, rightJson);\n\t\tHttpHeaders headers = new HttpHeaders();\n\t\theaders.add(HttpHeaders.CONTENT_TYPE, \"application/json\");\n\t\tfinal HttpEntity requestEntity = new HttpEntity<>(jsonTextPair, headers);\n\t\trestTemplate.exchange(storeClient.getProfileUri(), HttpMethod.POST, requestEntity, Void.class);\n\t}","title":""},{"docid":"3ede229324c84f9b33cb19d5deac72fa","score":"0.4758713","text":"DataInput makeDataInput() {\n return new DataInput(getReadOptions().getInputType(),entry);\n }","title":""},{"docid":"caacc6de51af8652ee5bbedadff9860e","score":"0.47538832","text":"static Node createNode(int data) {\n\t\tNode newNode = new Node();\n\t\tnewNode.key = data;\n\t\tnewNode.leftNode = null;\n\t\tnewNode.rightNode = null;\n\t\treturn newNode;\n\n\t}","title":""},{"docid":"d6806af8987c007cd876199035d4cb30","score":"0.475072","text":"public com.exacttarget.wsdl.partnerapi.FilterPart addNewLeftOperand()\n {\n synchronized (monitor())\n {\n check_orphaned();\n com.exacttarget.wsdl.partnerapi.FilterPart target = null;\n target = (com.exacttarget.wsdl.partnerapi.FilterPart)get_store().add_element_user(LEFTOPERAND$0);\n return target;\n }\n }","title":""},{"docid":"65a07c06012ccd8dfd1d94ee94b29c0f","score":"0.47478557","text":"public BSTNode(int data, BSTNode left, BSTNode right)\r\n {\r\n this.data = data;\r\n this.left = left;\r\n this.right = right;\r\n }","title":""},{"docid":"1849bd651682ee766bdfe2d3737dd6d6","score":"0.47474357","text":"private void generateData() {\n\t\tLocalTime referenceTime = LocalTime.now().plus(10, ChronoUnit.SECONDS);\n\t\tfor(int i = 0; i < ROWS; i++) {\n\t\t\tString temp = (referenceTime.plus((int)(10*i/SPEED),ChronoUnit.SECONDS)).toString();\n\t\t\ttime[i] = temp;\n\t\t\tfloor[i] = rand.nextInt(FLOORS)+1;\n\t\t\tcarButton[i] = rand.nextInt(FLOORS)+1;\n\t\t\twhile(floor[i] == carButton[i]) {\n\t\t\t\tcarButton[i] = rand.nextInt(FLOORS)+1;\n\t\t\t}\n\t\t\tif(floor[i] > carButton[i]) {\n\t\t\t\tdir[i] = DOWN;\n\t\t\t} else {\n\t\t\t\tdir[i] = UP;\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"e87da3c87d458ba2622719344d02a3e6","score":"0.47411478","text":"public void left (int p[], int index, int g) {\n if (index % 4 > 0) {\r\n int p_copy[] = new int[16];\r\n copyPuzzle(p_copy, p);\r\n\r\n // moving left so index - 1\r\n int temp = p_copy[index];\r\n p_copy[index] = p_copy[index - 1];\r\n p_copy[index - 1] = temp;\r\n\r\n createChild(p_copy, 'L');\r\n }\r\n }","title":""},{"docid":"3887bfc21cfae3205bbfef60891a49a4","score":"0.4741136","text":"public DistanceSensorData(long timestamp, int frontDistanceSensor, int leftsideDistanceSensor, int rightsideDistanceSensor){\n\t\tsuper(new Timestamp(timestamp));\n\t\tthis.frontDistanceSensor = frontDistanceSensor;\n\t\tthis.leftsideDistanceSensor = leftsideDistanceSensor;\n\t\tthis.rightsideDistanceSensor = rightsideDistanceSensor;\n\t}","title":""},{"docid":"f46eeaa857a16a876e3150b8d2db3e90","score":"0.4737802","text":"public void setLeft(int l){\n\t\tleft = l;\n\t}","title":""},{"docid":"c4525b97e5a42c8071acc5ea64875c43","score":"0.47377303","text":"@Override\n\tpublic void initData() {\n\t\t\n\t}","title":""},{"docid":"c4525b97e5a42c8071acc5ea64875c43","score":"0.47377303","text":"@Override\n\tpublic void initData() {\n\t\t\n\t}","title":""},{"docid":"c4525b97e5a42c8071acc5ea64875c43","score":"0.47377303","text":"@Override\n\tpublic void initData() {\n\t\t\n\t}","title":""},{"docid":"120bed6df882bf30e880ed541c9d0844","score":"0.47257978","text":"public BTNodeDup getLeft() {\r\n return left;\r\n }","title":""},{"docid":"4e3bac53cd960da54fe4d431953f198c","score":"0.4724431","text":"private Node getNodeLeft(){\n return nodeLeft;\n }","title":""},{"docid":"1f039cbaaf14342e32e6bb4edd3a1593","score":"0.47199836","text":"public java.lang.String getNewData() {\n \treturn newData;\n }","title":""},{"docid":"940ac62654e2b6fa8dfbc55e4cc0a00d","score":"0.4716234","text":"private void moveLeft() {\n\t\tboolean move = false;\n\t\tfor (int i = head2; i < head2 + size2; i++) {\n\t\t\tval[i - 1] = val[i];\n\t\t\tmove = true;\n\t\t}\n\t\tif (move)\n\t\t\thead2--;\n\t}","title":""},{"docid":"7d7339111e555eb10ba471f13ce4d48a","score":"0.47103077","text":"public double getLeftPosition() {\n\t\treturn (leftEncoder.getSelectedSensorPosition(PIDIDX) - leftPositionZero) / COUNTS_PER_REVOLUTION;\n\t}","title":""},{"docid":"8d34b86404b23c201ef867bd06c77fe6","score":"0.47070578","text":"public void L1DataToL1Controller(){\n \n // datacache[42][0]=\"CD123456789\";\n // cachesize[42][0]=\"10101\";\n cachesize[127][0]=\"01011\";\n datacache[127][0]=\"AB\";\n // System.out.println(\"in L1D\"+queueline.getL1CtoL1DQueue().get(0)); \n String st=queueline.getL1CtoL1DQueue().get(0);\n System.out.println(\"In L1D, Current instruction is: \"+st);\n String instruction[]=st.split(\" \",0);\n List tempList=new ArrayList();\n // System.out.println(\"i am in L1D now \"+instruction[0]);\n //System.out.println(\"Instruction about to excuted is \"+queueline.getL1CtoL1DQueue().get(0));\n switch(instruction[0]){\n case \"Load\":\n \n String tag=null;\n int offset;\n int location;\n data=null;\n tag=instruction[1].substring(0, 5);\n offset= Integer.parseInt(instruction[1].substring(12,17));\n location=Integer.parseInt(instruction[1].substring(5, 12),2); \n // System.out.println(\"Current instruction is: \"+st+location);\n if(tag.equalsIgnoreCase(cachesize[location][0])){\n data=datacache[location][0];\n \n }\n else if(tag.equalsIgnoreCase(cachesize[location][1])){\n data=datacache[location][1];\n }\n if(data!=null){\n data=st+\" \"+data;\n \n tempList.add(data); \n queueline.setL1DtoL1CQueue(tempList);\n }\n queueline.getL1CtoL1DQueue().remove(0);\n System.out.println(\"Data read is: \"+data+queueline.getL1CtoL1DQueue());\n for(String st1: queueline.getL1CtoL1DQueue()){\n System.out.println(\"Remaining instructions in L1C2L1DQueue are: \"+st1);\n } \n break;\n case \"Store\":\n if(!instruction[1].equalsIgnoreCase(\"Store\")){\n String tag1=instruction[1].substring(0, 5);\n int offset1= Integer.parseInt(instruction[1].substring(12,17));\n int location1=Integer.parseInt(instruction[1].substring(5, 12),2);\n String value=instruction[2];\n if(instruction.length==4&& !\"Store\".equalsIgnoreCase(instruction[0])){\n value=instruction[3]; \n \n }\n else if(instruction.length==4&&\"Store\".equalsIgnoreCase(instruction[0])){\n value=instruction[3]; \n }\n //System.out.println(\"i am store of L1D\"+value+\"\\t\"+queueline.getL1CtoL1DQueue().get(0)); \n if(tag1.equals(cachesize[location1][0])){\n datacache[location1][0]=value;\n }\n else if(tag1.equals(cachesize[location1][1])){\n datacache[location1][0]=value;\n }\n else{\n if(datacache[location1][0]==null){\n datacache[location1][0]=value;\n cachesize[location1][0]=tag1;\n }\n else{\n datacache[location1][1]=value;\n cachesize[location1][1]=tag1;\n }\n \n }\n System.out.println(\"Value has been stored in L1DataCache: Data is - \"+ datacache[location1][0]+\" for instrction\"+st); \n queueline.getL1CtoL1DQueue().remove(0);\n }\n else{\n // System.out.println(\"++++++\"+instruction[2]);\n String tag1=instruction[2].substring(0, 5);\n int offset1= Integer.parseInt(instruction[2].substring(12,17));\n int location1=Integer.parseInt(instruction[2].substring(5, 12),2);\n String value=instruction[3];\n // System.out.println(\"i am store of L1D\"+value+\"\\t\"+queueline.getL1CtoL1DQueue().get(0)); \n if(tag1.equals(cachesize[location1][0])){\n datacache[location1][0]=value;\n }\n else if(tag1.equals(cachesize[location1][1])){\n datacache[location1][1]=value;\n }\n else{\n if(datacache[location1][0]==null){\n datacache[location1][0]=value;\n cachesize[location1][0]=tag1;}\n else{\n datacache[location1][1]=value;\n cachesize[location1][1]=tag1;\n }}\n System.out.println(\"Value has been stored in L1DataCache: Data is - \"+ datacache[location1][0]+\" for instrction\"+instruction[0]+location1); \n queueline.getL1CtoL1DQueue().remove(0); \n }\n break;\n case \"Evict\":\n String tag2=instruction[1].substring(0, 5);\n int offset2= Integer.parseInt(instruction[1].substring(12,17),2);\n int location2=Integer.parseInt(instruction[1].substring(5, 12),2);\n int dirtybit=Integer.parseInt(instruction[2]);\n if(dirtybit==0){\n if (tag2.equalsIgnoreCase(cachesize[location2][0])) {\n data = datacache[location2][0];\n\n } else if (tag2.equalsIgnoreCase(cachesize[location2][1])) {\n data = datacache[location2][1];\n }\n // data=!(data.equals(null))?data.substring(offset2,offset2+Integer.parseInt(instruction[2])):\" \";\n L1Victim v = new L1Victim();\n Boolean result = v.victimcachestore(tag2, offset2, data);\n if (result) {\n System.out.println(\"Data has been stored into victim cache for instruction\" + st);\n }\n }\n else if(dirtybit==1) {\n if (tag2.equalsIgnoreCase(cachesize[location2][0])) {\n data = datacache[location2][0];\n\n } else if (tag2.equalsIgnoreCase(cachesize[location2][1])) {\n data = datacache[location2][1];\n }\n // data=!(data.equals(null))?data.substring(offset2,offset2+Integer.parseInt(instruction[2])):\" \";\n WriteBuff v = new WriteBuff();\n Boolean result = v.storebuffer(tag2, offset2, data);\n if (result) {\n System.out.println(\"Data has been stored into Write Buffer cache for instruction\" + st);\n }\n }\n break;\n } \n }","title":""},{"docid":"0659091552b0e628348d5400173f74bd","score":"0.47068787","text":"@Override\r\n\tpublic void buildLegLeft() {\n\t\tSystem.out.println(\"瘦-左腿\");\r\n\r\n\t}","title":""},{"docid":"f6a759f975f5e1a80ec913329f860530","score":"0.47047287","text":"@Override\r\n\t\t\tprotected void onDataNULL() {\n\t\t\t\t\r\n\t\t\t}","title":""},{"docid":"8cfd38654d5d40eed59bbfc9e6950631","score":"0.47022796","text":"@Override\r\n\tpublic void buildArmLeft() {\n\t\tSystem.out.println(\"瘦-左手\");\r\n\r\n\t}","title":""},{"docid":"67b2d1bff63ccdff53982677262664c9","score":"0.4701757","text":"public void clearData()\r\n\t{\r\n\t\ttheData=new Vector();\r\n\t\tleftAxis=new Vector();\r\n\t}","title":""},{"docid":"0bcf6bad3d42bf7fc45497590319985b","score":"0.46974227","text":"public void setLeftNode(@NotNull SetNode newNode) {\n left = newNode;\n newNode.prev = prev;\n newNode.next = this;\n if (prev != null) {\n prev.next = newNode;\n assert prev == head || (comparator.compare(newNode.value, prev.value) > 0);\n }\n prev = newNode;\n treeSize++;\n\n assert(comparator.compare(newNode.value, value) < 0);\n }","title":""},{"docid":"e760f853ec83ba06557c219cee3c9c24","score":"0.46932548","text":"@Override\n\tpublic void initData() {\n\n\t}","title":""},{"docid":"e760f853ec83ba06557c219cee3c9c24","score":"0.46932548","text":"@Override\n\tpublic void initData() {\n\n\t}","title":""},{"docid":"e760f853ec83ba06557c219cee3c9c24","score":"0.46932548","text":"@Override\n\tpublic void initData() {\n\n\t}","title":""},{"docid":"f5c9ec6dfee5f60a62cb6f7eb0f20e2b","score":"0.46899763","text":"private void populateMerkleNode(MerkleNode oNode, MerkleNode oLeftNode, MerkleNode oRightNode){\n oNode.oLeft = oLeftNode;\n oNode.oRight = oRightNode;\n oNode.sHash = generateHash(oLeftNode.sHash +oRightNode.sHash); //create our node for tree\n }","title":""},{"docid":"b69120640299cf620f6c9513dffa8f9b","score":"0.46873412","text":"@Override\r\n\tpublic void customRead() \r\n\t{\n\t\tIloOplDataHandler handler = getDataHandler();\r\n\t\t\r\n\t\thandler.startElement(\"n\");\r\n handler.addIntItem(4);\r\n handler.endElement();\r\n \r\n handler.startElement(\"p\");\r\n handler.addIntItem(2);\r\n handler.endElement();\r\n \r\n handler.startElement(\"r\");\r\n handler.startArray();\r\n handler.addIntItem(0);\r\n handler.addIntItem(1);\r\n handler.addIntItem(3);\r\n handler.addIntItem(4);\r\n handler.endArray();\r\n handler.endElement();\r\n \r\n handler.startElement(\"d\");\r\n handler.startArray();\r\n handler.addIntItem(100);\r\n handler.addIntItem(100);\r\n handler.addIntItem(100);\r\n handler.addIntItem(100);\r\n handler.endArray();\r\n handler.endElement();\r\n \r\n handler.startElement(\"w\");\r\n handler.startArray();\r\n handler.addIntItem(1);\r\n handler.addIntItem(10);\r\n handler.addIntItem(2);\r\n handler.addIntItem(2);\r\n handler.endArray();\r\n handler.endElement();\r\n\r\n\t}","title":""},{"docid":"271b8f099c56283408815637ef15a9b8","score":"0.46850595","text":"private static Node moveLEFT(Node node) {\n\t\tint space = node.state.indexOf(0);\n\t\tArrayList childState;\n\t\tint temp;\n\t\tNode childNode = new Node();\n\t\t\n\t\tif (space != 0 && space != 3 && space != 6) {\n\t\t\tchildState = (ArrayList) node.state.clone();\n\t\t\ttemp = childState.get(space-1);\n\t\t\tchildState.set(space-1,0);\n\t\t\tchildState.set(space,temp);\t\t\t\n\t\t\tchildNode.state = childState;\n\t\t\tchildNode.parent = node;\n\t\t\tchildNode.distance = node.distance + 1;\n\t\t\tchildNode.move = \"LEFT\";\n\t\t\treturn childNode;\n\t\t}\n\t\telse{\n\t\t\treturn null;\n\t\t}\n\t}","title":""},{"docid":"0f494696ea5c0a7b94daa5a0749a6a53","score":"0.46737754","text":"public Split() {\n setDataType( MarketDataType.Auxiliary );\n }","title":""},{"docid":"4afc31c0944dc6126e2bd0f6a3f0964d","score":"0.4671296","text":"@Override\n public void initializeData() {\n this.name = NAME;\n this.description = oldPotionStrings.DESCRIPTIONS[0];\n\n this.tips.clear();\n this.tips.add(new PowerTip(this.name, this.description));\n this.tips.add(new PowerTip(TipHelper.capitalize(GameDictionary.CALM.NAMES[0]), GameDictionary.keywords.get(GameDictionary.CALM.NAMES[0])));\n this.tips.add(new PowerTip(TipHelper.capitalize(GameDictionary.WRATH.NAMES[0]), GameDictionary.keywords.get(GameDictionary.WRATH.NAMES[0])));\n\n // initializeData clears tips THEN adds the main PowerTip THEN the Stance PowerTip.\n this.tips.get(0).body += (potionStrings.DESCRIPTIONS[0] + maxPotionLevel);\n\n if (getPotionLevel() > 0) {\n if (getPotionLevel() == maxPotionLevel) {\n this.tips.get(0).header += \"+MAX\";\n } else {\n this.tips.get(0).header += \"+\" + getPotionLevel();\n }\n }\n\n this.name = this.tips.get(0).header;\n this.description = this.tips.get(0).body;\n }","title":""},{"docid":"acaa97f07cc2478892599793d293eb2c","score":"0.46693608","text":"void initiateData(){\n String timeOfStart = String.valueOf(System.currentTimeMillis()/1000);\n this.saveRecord(0, timeOfStart);//id 1\n this.saveRecord(0, \"5\");//id 2 : Number of 0 cards to learn at once\n this.saveRecord(0, \"1\");//id 3: learn new cards in random order, 0 means No, and 1 means Yes\n this.saveRecord(0, \"0\");//id 4: the length of Cards (banyaknya cards) used by numOfCard()\n this.saveRecord(0, \":\");//id 5: define the slots where there is no card, or empty card (because of deletion)\n for (int i=6;i data, int left, int right){\n if(left>right){\n \t return null;\n }\n \n if(data == null || data.size() == 0){\n \t return null;\n }\n // calculate the mid index from the left and right\n int mid = (left+right)/2;\n Node root = data.get(mid);\n // recursively call createBST method to build its left and right components \n root.left(createBST(data, left, mid-1));\n root.right(createBST(data, mid+1, right));\n return root;\n\t}","title":""},{"docid":"a972e031d5a0eb9ce8293c4e558a9c28","score":"0.4652776","text":"protected void input_step( ExpressionNode nd, VMState vms ) {\n Assert.check( vms.top().at( nd ) == null ) ;\r\n \r\n // Clear the selection\r\n vms.top().setSelected( null ) ;\r\n \r\n AbstractDatum leftDatum = (AbstractDatum) vms.top().at( nd.child_exp(0) ) ;\r\n \r\n// Assert.check( leftDatum instanceof RefDatum ) ;\r\n// Assert.check( ((RefDatum)leftDatum).deref() != null ) ;\r\n// Assert.check( ((RefDatum)leftDatum).deref() instanceof ObjectDatum ) ;\r\n\r\n Console console = vms.getConsole() ;\r\n \r\n long value ;\r\n boolean valueDetermined ;\r\n if( console.eof() ) {\r\n value = -1 ;\r\n valueDetermined = true ; }\r\n else {\r\n char inputChar = console.peekChar(0) ;\r\n if( inputChar == '\\uffff' ) {\r\n // There is no more input. Stop the\r\n // evaluation so the user can add input.\r\n vms.setEvaluationState( vms.EVALUATION_STATE_NEEDINPUT ) ;\r\n value = 0 ;\r\n valueDetermined = false ; }\r\n else if( inputChar == 0 ) {\r\n console.setFailBit() ; \r\n value = -1 ;\r\n valueDetermined = true ; }\r\n else {\r\n console.consumeChars(1) ;\r\n value = (long) inputChar ;\r\n valueDetermined = true ; } }\r\n if( valueDetermined ) {\r\n Clc_ASTUtilities util = (Clc_ASTUtilities) vms.getProperty(\"ASTUtilities\") ;\r\n IntDatum intDatum = (IntDatum) util.scratchDatum( TyInt.get(), vms) ;\r\n vms.top().map(nd, intDatum) ;\r\n intDatum.putValue( value ) ; }\r\n }","title":""},{"docid":"704fdf1e8ac4462c2fe338e61ec58b21","score":"0.46442235","text":"public void setLeft(boolean left) {\n this.left = left;\n }","title":""}],"string":"[\n {\n \"docid\": \"c2c9f68f350d0da488e31fb0b6d1f27a\",\n \"score\": \"0.57611346\",\n \"text\": \"private void populateLeftEvents() {\\n\\t\\tfinal int[] data = this.data;\\n\\t\\tfinal int y0 = data[IDX_MIN_PIX_Y] & TILE_AXIS_MASK;\\n\\t\\tfinal int y1 = data[IDX_MAX_TILE_ORIGIN_Y] + 7;\\n\\t\\tfinal int limit = IDX_EVENTS + (y1 << 1);\\n\\n\\t\\tfor (int y = IDX_EVENTS + (y0 << 1); y <= limit; y += 2) {\\n\\t\\t\\tdata[y] = 0;\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8136dd1c480dd9d741b54131c9f2f341\",\n \"score\": \"0.56233025\",\n \"text\": \"@RequestMapping(method = RequestMethod.POST, value = \\\"/left\\\", consumes = MediaType.APPLICATION_JSON_VALUE)\\r\\n public ResponseEntity inputLeft(@PathVariable String id, @RequestBody Base64DataPayload base64DataPayload) {\\r\\n logger.info(\\\"Receiving Left Data for id: \\\" + id);\\r\\n return diffService.inputLeft(id, base64DataPayload.getData());\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ced6617a93775ca156800086c5f2114c\",\n \"score\": \"0.5608102\",\n \"text\": \"abstract public Object produceLeft();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"574c8b840e6102b0e8e7842bc8d14259\",\n \"score\": \"0.5597859\",\n \"text\": \"private void inputData(LinkedList linkedList){\\n\\t\\tNode node = new Node(1);\\t\\n\\t\\tlinkedList.insertNode(new Node(2));\\n\\t\\tlinkedList.insertNode(node);\\n\\t\\tlinkedList.insertNode(new Node(3));\\n\\t\\tlinkedList.insertNode(new Node(4));\\n\\t\\tlinkedList.insertNode(new Node(5));\\n\\t\\tlinkedList.insertNode(node);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7afefc0c9c9713a4ab413f2278a4b70\",\n \"score\": \"0.5565844\",\n \"text\": \"private void createLocalState()\\r\\n\\t{\\n\\t\\tif (curfield != null)\\r\\n\\t\\t{\\r\\n\\t\\t\\t// process params and fill in errors as appropriate\\r\\n\\t\\t\\tprocessFields();\\r\\n\\t\\t\\tverifyFields();\\r\\n\\t\\r\\n\\t\\t\\t// populate temporary state\\r\\n\\t\\t\\tDCInput field = getInputsReader().newField(getParams());\\r\\n\\t\\r\\n\\t\\t\\t// either hold it in a temporary field (if there are errors)\\r\\n\\t\\t\\t// or write it back to the local state\\r\\n\\t\\t\\tif (hasErrors())\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\terrorfield = field;\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\telse if (curfield == -1)\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tinputSet.addField(curpage, field);\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\telse\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tinputSet.setField(curpage, curfield, field);\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f0255cfabd5532501fa85ff669706a11\",\n \"score\": \"0.54650295\",\n \"text\": \"public NoPutResultSet getLeftSourceInput()\\n {\\n return leftSource;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dac3d6a8d162f882c84e81ae58b7f943\",\n \"score\": \"0.54270655\",\n \"text\": \"public String toString(){\\n\\t\\treturn \\\"Data: \\\"+this.data+\\\", Left: \\\"+((this.left!=null)?left.data:\\\"null\\\")\\n\\t\\t\\t\\t+\\\",Right: \\\"+((this.right!=null)?right.data:\\\"null\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"266ef0ee439fe1faeaa9d7d4ab7e6ef8\",\n \"score\": \"0.5391715\",\n \"text\": \"public void startProcessingData(){\\n\\t\\tcurrentInputData = new HistoryData();\\n\\t\\tString[] values = processor.getCurrentRow(counter);\\n\\t\\t\\n\\t\\t//ID\\n\\t\\t//currentInputData.setIsNumeric(values[0]);\\n\\t\\tcurrentInputData.setIsValidIDFormat(values[0]);\\n\\t\\t\\n\\t\\t//Sex\\n\\t\\tcurrentInputData.setIsValidSex(values[5]);\\n\\t\\t\\n\\t\\t//Age\\n\\t\\tcurrentInputData.setIsValidAge(values[8]);\\n\\t\\t\\n\\t\\t//Martial Status\\n\\t\\tcurrentInputData.setMaritalStatus(values[9]);\\n\\t\\t\\n\\t\\t//Registration Data\\n\\t\\tcurrentInputData.setIsRegistrationDateOutOfRange(values[21]);\\n\\t\\t\\n\\t\\t/*\\n\\t\\t//Cause of Death\\n\\t\\tcurrentInputData.setCauseOfDeathInput(values[4]);\\n\\t\\t\\n\\t\\t//Certification\\n\\t\\tcurrentInputData.setCertification(values[5]);\\n\\t\\t*/\\n\\t\\t\\n\\t\\t//Valid Informant Present at Death\\n\\t\\tcurrentInputData.setIsValidInformant(values[17]);\\n\\t\\tcurrentInputData.setIsPresentAtDeathInput(values[19]);\\n\\t\\t\\n\\t\\t//Qualified Informant or Address of Informant\\n\\t\\tcurrentInputData.setIsQualifiedInformant(values[18]);\\n\\t\\tcurrentInputData.setIsValidInformantAddress(values[20]); //TODO What to do if no data at end of row...array only has 8 spots, error\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7dc3186e9c32f06aeb33e540d65db6d8\",\n \"score\": \"0.5355075\",\n \"text\": \"public void resetLeftPosition() {\\n\\t\\tdrivetrainLeftEncoder.reset();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b3a318015d218aa52b7c2ee6c3f86d65\",\n \"score\": \"0.5290466\",\n \"text\": \"public void getData() {\\n wInputType.setText(Const.NVL(input.getInputType(), \\\"\\\"));\\n wInputText.setText(Const.NVL(input.getInputText(), \\\"\\\"));\\n wInputField.setText(Const.NVL(input.getInputFieldName(), \\\"\\\"));\\n wInputFilename.setText(Const.NVL(input.getInputFileName(), \\\"\\\"));\\n wInputFilenameInField.setSelection(input.isInputFileNameInField());\\n wInputFilenameField.setText(Const.NVL(input.getInputFileNameField(), \\\"\\\"));\\n wAddInputFilenameToResult.setSelection(input.isAddInputFileNameToResult());\\n\\n wOutputType.setText(Const.NVL(input.getOutputType(), \\\"\\\"));\\n wOutputField.setText(Const.NVL(input.getOutputFieldName(), \\\"\\\"));\\n wOutputFilename.setText(Const.NVL(input.getOutputFileName(), \\\"\\\"));\\n wOutputFilenameInField.setSelection(input.isOutputFileNameInField());\\n wOutputFilenameField.setText(Const.NVL(input.getOutputFileNameField(), \\\"\\\"));\\n wAppendOutputFilename.setSelection(input.isAppendOutputFileName());\\n wCreateParentFolder.setSelection(input.isCreateParentFolder());\\n wFormat.setText(\\n TokenReplacementMeta.getOutputFileFormatDescription(input.getOutputFileFormat()));\\n wOutputFileEncoding.setText(Const.NVL(input.getOutputFileEncoding(), \\\"\\\"));\\n wOutputSplitEvery.setText(Integer.toString(input.getSplitEvery(), 10));\\n wIncludeTransformNrInFilename.setSelection(input.isIncludeTransformNrInOutputFileName());\\n wIncludePartNrInFilename.setSelection(input.isIncludePartNrInOutputFileName());\\n wIncludeDateInFilename.setSelection(input.isIncludeDateInOutputFileName());\\n wIncludeTimeInFilename.setSelection(input.isIncludeTimeInOutputFileName());\\n wSpecifyDateFormat.setSelection(input.isSpecifyDateFormatOutputFileName());\\n wDateFormat.setText(Const.NVL(input.getDateFormatOutputFileName(), \\\"\\\"));\\n wAddOutputFilenameToResult.setSelection(input.isAddOutputFileNameToResult());\\n\\n wTokenStartString.setText(Const.NVL(input.getTokenStartString(), \\\"\\\"));\\n wTokenEndString.setText(Const.NVL(input.getTokenEndString(), \\\"\\\"));\\n\\n logDebug(\\\"getting fields info...\\\");\\n\\n for (int i = 0; i < input.getTokenReplacementFields().length; i++) {\\n TokenReplacementField field = input.getTokenReplacementFields()[i];\\n\\n TableItem item = wFields.table.getItem(i);\\n if (field.getName() != null) {\\n item.setText(2, field.getName());\\n }\\n if (field.getTokenName() != null) {\\n item.setText(1, field.getTokenName());\\n }\\n }\\n\\n wFields.optWidth(true);\\n\\n wTransformName.selectAll();\\n wTransformName.setFocus();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"81524dba8f5648c2e73cfb45c29cdf2d\",\n \"score\": \"0.5263206\",\n \"text\": \"public int getLeftMostData()\\r\\n {\\r\\n if(this.left == null)\\r\\n return data;\\r\\n return getLeft().getLeftMostData();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"817b05aea32e5171190ac206a3ddfc0d\",\n \"score\": \"0.52547276\",\n \"text\": \"private void initData() {\\n\\t\\tnombreSedes = getMapaByPosition(getData(), 0);\\n\\t\\tannios = getMapaByPosition(getData(), 1);\\n\\t\\tnombreCampeones = getMapaByPosition(getData(), 2);\\n\\t\\tresultados = getMapaByPosition(getData(), 3);\\n\\t\\tnombreSubCampeones = getMapaByPosition(getData(), 4);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3a701d0fdb1fef5e0afd9dc7c345fcb\",\n \"score\": \"0.52254283\",\n \"text\": \"@Override\\n\\tprotected void generateData() {\\n\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7732aa00d8d1c446a4ea3bad42818d26\",\n \"score\": \"0.5194523\",\n \"text\": \"public float[] fetchLeft() {\\r\\n \\r\\n int sampleSizeL = leftTouch.sampleSize();\\r\\n float[] sampleL = new float[sampleSizeL];\\r\\n leftTouch.fetchSample(sampleL, 0);\\r\\n \\r\\n return sampleL;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"88d986bbec473b310e3a1620b75ddabf\",\n \"score\": \"0.5179787\",\n \"text\": \"public void setLeftFilter(DataFilter leftFilter)\\n {\\n _leftFilter = leftFilter;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"90f57a05b414e7f5f858a2b6a64245f6\",\n \"score\": \"0.5172798\",\n \"text\": \"public void fillLeft();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e8ddbef266e29e5370c2958c31ea16d6\",\n \"score\": \"0.51716006\",\n \"text\": \"Data createData();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"62f2ccbde0727e1d9d424bf0b4185669\",\n \"score\": \"0.5130898\",\n \"text\": \"public DistanceSensorData(int frontDistanceSensor, int leftsideDistanceSensor, int rightsideDistanceSensor){\\n\\t\\tsuper(new Timestamp(System.currentTimeMillis()));\\n\\t\\tthis.frontDistanceSensor = frontDistanceSensor;\\n\\t\\tthis.leftsideDistanceSensor = leftsideDistanceSensor;\\n\\t\\tthis.rightsideDistanceSensor = rightsideDistanceSensor;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c97aeee005ed4a9dad18fde21f949aa3\",\n \"score\": \"0.50821066\",\n \"text\": \"private void createData(){\\n int anzData = (int) (m_data.size() * (m_trainPercentage * 0.01));\\n \\n ArrayList tempData = new ArrayList<>(m_data);\\n \\n while(m_trainData.size() < anzData){\\n \\n int random = (int) (random() * (tempData.size() - 0) + 0); \\n \\n m_trainData.add(tempData.remove(random));\\n }\\n \\n m_testData = tempData;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d3e295b854fcb2582b95f896e8463aed\",\n \"score\": \"0.5019948\",\n \"text\": \"public Tree buildTreeFromLeft (List> list) {\\n Tree tree = null;\\n try {\\n if (list.size() == 1) {\\n tree = list.remove(0);\\n } else if (list.get(0).getData().equals(\\\"λ\\\")) {\\n tree = list.remove(0);\\n tree.setRight(buildTreeFromLeft(list));\\n } else if (list.get(0).getData().equals(\\\"@\\\")) {\\n tree = list.remove(0);\\n tree.setLeft(buildTreeFromLeft(list));\\n tree.setRight(buildTreeFromLeft(list));\\n } else {\\n tree = list.remove(0);\\n }\\n } catch (Exception e) {\\n e.printStackTrace();\\n }\\n\\n return tree;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"12e7ab61493aac6bec4148bcd69639f5\",\n \"score\": \"0.5009426\",\n \"text\": \"public void populateHitsLeft() {\\r\\n\\t\\tthis.hitsLeft[0] = extendPaddleHitsLeft;\\r\\n\\t\\tthis.hitsLeft[1] = laserShotsLeft;\\r\\n\\t\\tthis.hitsLeft[2] = magnetPullsLeft;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f60f710a60e05e111d64f9f884346b7a\",\n \"score\": \"0.5006905\",\n \"text\": \"@Override\\n\\tprotected void buildLeftCollection()\\n\\t{\\n\\t\\tsetLeftCollection(leftCollection);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f09c5f949e4f768c5deceb169ce82b8b\",\n \"score\": \"0.50004613\",\n \"text\": \"void buildVertexData(){\\n\\t\\tfloat []vertexData={\\n\\t\\t\\t-0.5f,-0.5f,\\n\\t\\t\\t -0.5f, 0.5f,\\n\\t\\t\\t 0.5f, -0.5f,\\n\\t\\t\\t 0.5f, 0.5f,\\n\\t\\t};\\n\\t\\t\\n\\t\\tthis.vertexData=createFloatBufferFromData(vertexData);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b34c591d9d389c210b1dbacf472110a8\",\n \"score\": \"0.4990954\",\n \"text\": \"@Override\\n public void deriveAttributesFromRawData(){\\n String[] lines=getRawData().split(NEW_LINE);\\n dataNode.setParagraphLines(\\n Arrays.asList(lines[0].split(FULL_STOP)).stream()\\n .map(s -> GenericUtils.removeNoiseWords(s))\\n .collect(Collectors.toList()));\\n dataNode.setQuestions(\\n IntStream.range(1,lines.length-1)\\n .mapToObj(i -> GenericUtils.removeNoiseWords(lines[i]).replace(QUESTION_MARK,EMPTY))\\n .collect(Collectors.toList()));\\n dataNode.setOriginalAnswers(\\n Arrays.asList(lines[lines.length - 1].split(SEMICOLON)).stream()\\n .map(s -> GenericUtils.removeNoiseWords(s)).collect(Collectors.toList()));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"74e481ff015144f7d11b34345af83aa7\",\n \"score\": \"0.49838337\",\n \"text\": \"public DataFilter getLeftFilter()\\n {\\n return _leftFilter;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a65e8cfd2b53f0294d60d208507f90f\",\n \"score\": \"0.49759072\",\n \"text\": \"@Override\\n public void setInitialValues() \\n {\\n DataStore1 d = (DataStore1) data;\\n d.G = 0;\\n d.total = 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d1c32637f8709ecff633fa69b297821\",\n \"score\": \"0.49737576\",\n \"text\": \"public String preOrder() {\\n\\tif (isEmpty()) {\\n\\t return \\\"\\\";\\n\\t} else {\\n\\t return \\\"\\\" + data + \\\" \\\" + left.preOrder() + right.preOrder();\\n\\t}\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"26ce61784671b252051f59e0e769c6ca\",\n \"score\": \"0.49472317\",\n \"text\": \"protected List createData(int start, int length) {\\n List toRet = new ArrayList();\\n for (int i = 0; i < length; i++) {\\n toRet.add(\\\"test \\\" + (i + start));\\n }\\n return toRet;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"15ef6998e21de2ed40e51b80cd10d7e2\",\n \"score\": \"0.49464235\",\n \"text\": \"private void createKeyData(){\\n\\t\\tKey buf;\\n\\t\\tint index = 0;\\n\\t\\twhile(skillData[index].equals(\\\"0\\\")==false){\\n\\t\\t\\tbuf = new Key();\\n\\t\\t\\tbuf.empty();\\n\\t\\t\\tif(skillData[index].equals(\\\"_\\\")){\\n\\t\\t\\t\\tbuf = vcKey.get(index-1);\\n\\t\\t\\t\\tvcKey.remove(index-1);\\n\\t\\t\\t\\tindex++;\\n\\t\\t\\t}\\n\\t\\t\\tif(skillData[index].equals(\\\"5\\\")){\\n\\t\\t\\t\\tbuf.empty();\\n\\t\\t\\t}\\n\\t\\t\\tif(skillData[index].equals(\\\"L\\\") || skillData[index].equals(\\\"4\\\")){\\n\\t\\t\\t\\tbuf.L=true;\\n\\t\\t\\t}\\n\\t\\t\\tif(skillData[index].equals(\\\"R\\\") || skillData[index].equals(\\\"6\\\")){\\n\\t\\t\\t\\tbuf.R=true;\\n\\t\\t\\t}\\n\\t\\t\\tif(skillData[index].equals(\\\"D\\\") || skillData[index].equals(\\\"2\\\")){\\n\\t\\t\\t\\tbuf.D=true;\\n\\t\\t\\t}\\n\\t\\t\\tif(skillData[index].equals(\\\"U\\\") || skillData[index].equals(\\\"8\\\")){\\n\\t\\t\\t\\tbuf.U=true;\\n\\t\\t\\t}\\n\\t\\t\\tif(skillData[index].equals(\\\"LD\\\") || skillData[index].equals(\\\"1\\\")){\\n\\t\\t\\t\\tbuf.L=true;\\n\\t\\t\\t\\tbuf.D=true;\\n\\t\\t\\t}\\n\\t\\t\\tif(skillData[index].equals(\\\"LU\\\") || skillData[index].equals(\\\"7\\\")){\\n\\t\\t\\t\\tbuf.L=true;\\n\\t\\t\\t\\tbuf.U=true;\\n\\t\\t\\t}\\n\\t\\t\\tif(skillData[index].equals(\\\"RD\\\") || skillData[index].equals(\\\"3\\\")){\\n\\t\\t\\t\\tbuf.R=true;\\n\\t\\t\\t\\tbuf.D=true;\\n\\t\\t\\t}\\n\\t\\t\\tif(skillData[index].equals(\\\"RU\\\") || skillData[index].equals(\\\"9\\\")){\\n\\t\\t\\t\\tbuf.R=true;\\n\\t\\t\\t\\tbuf.U=true;\\n\\t\\t\\t}\\n\\t\\t\\tif(skillData[index].equals(\\\"A\\\")){\\n\\t\\t\\t\\tbuf.A=true;\\n\\t\\t\\t}\\n\\t\\t\\tif(skillData[index].equals(\\\"B\\\")){\\n\\t\\t\\t\\tbuf.B=true;\\n\\t\\t\\t}\\n\\t\\t\\tif(skillData[index].equals(\\\"C\\\")){\\n\\t\\t\\t\\tbuf.C=true;\\n\\t\\t\\t}\\n\\t\\t\\tthis.vcKey.addElement(buf);\\n\\t\\t\\tindex++;\\n\\t\\t}\\n\\t\\tskillEndIndex = vcKey.size();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6324f204df44c3efc0406c25a52b512c\",\n \"score\": \"0.49237508\",\n \"text\": \"@Override\\n\\tpublic byte[] preSave(byte[] data) {\\n\\t\\treturn data;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"db344a667ba71a2733763d0d2ff5bcd7\",\n \"score\": \"0.49158946\",\n \"text\": \"public void addDataForOpCall(){ \\n OperatorCall tmpOC = new OperatorCall(); \\n tmpOC.currentOperator = Operators.badOperator;\\n tmpOC.sumDiff = Double.NaN;\\n tmpOC.affectedChromes = -1;\\n tmpOC.improvedChromes = -1;\\n tmpOC.bestBeforeOpStarts = Double.NaN;\\n tmpOC.diversity = Double.NaN;\\n data.add(tmpOC); \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7395684fcfc80a9faf007645094dd151\",\n \"score\": \"0.49045372\",\n \"text\": \"private Node rotateLeft(Node current) {\\n\\t\\tNode temp = current.getRight();\\n\\t\\tcurrent.setRight(temp.getLeft());\\n\\t\\ttemp.setLeft(current);\\n\\t\\tgetHeight(temp);\\n\\t\\tgetBalanceFactor(temp);\\n\\t\\tgetHeight(current);\\n\\t\\tgetBalanceFactor(current);\\n\\t\\treturn temp;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"efabc284188d138e1be9ea76d4fab2c0\",\n \"score\": \"0.49033892\",\n \"text\": \"public void restoreState(String[] data) {\\n\\t\\tif(Integer.parseInt(data[4])==val){\\n\\t\\t\\tlPer = new Person(data[0].substring(0,data[0].indexOf('/')),data[0].substring(data[0].indexOf('/')+1));\\n\\t\\t\\trPer = new Person(data[1].substring(0,data[1].indexOf('/')),data[1].substring(data[1].indexOf('/')+1));\\n\\t\\t\\twPer = new Person(data[2].substring(0,data[2].indexOf('/')),data[2].substring(data[2].indexOf('/')+1));\\n\\t\\t\\tnote = data[3];\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\telse{\\n\\t\\t\\tif(!leaf){ \\n\\t\\t\\t\\tleft.restoreState(data);\\n\\t\\t\\t\\tright.restoreState(data);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"49b626dafcb21ab23c2bb96794753ecb\",\n \"score\": \"0.48931372\",\n \"text\": \"private void generateDummyData()\\r\\n\\t{\\r\\n\\t\\tlog(\\\"Generating Data\\\");\\r\\n\\t\\tdata.put(id++, new CD(\\\"Nightwish\\\",\\\"Nemo\\\",\\\"Metal\\\"));\\r\\n\\t\\tdata.put(id++, new CD(\\\"Alestorm\\\",\\\"Wenches and Mead\\\",\\\"Pirate Metal\\\"));\\r\\n\\t\\tdata.put(id++, new CD(\\\"Angerfist\\\",\\\"Spook\\\",\\\"Hardstyle\\\"));\\r\\n\\t\\tdata.put(id++, new CD(\\\"Kamelot\\\",\\\"March of Mephisto\\\",\\\"Metal\\\"));\\r\\n\\t\\t\\r\\n\\t\\tlog(\\\"Data Generation Complete\\\");\\r\\n\\t\\tprintDataState();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42762c0cfc642d216fa18da8da95e8f3\",\n \"score\": \"0.48838234\",\n \"text\": \"public T getLeftValue(){\\n\\t\\treturn this.left;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a91c3505a21ad79ba413b33499ea73c4\",\n \"score\": \"0.48834848\",\n \"text\": \"private void getData() {\\n name = nombreT.getText();\\n apellidos = apellidoT.getText();\\n telefono = telefonoT.getText();\\n dir = direccionT.getText();\\n ident = identificacionT.getText();\\n\\n fc = fechaT.getValue() == null ? \\\"\\\" : fechaT.getValue().toString();\\n idS = idsedeT.getValue() == null ? \\\"\\\" : idsedeT.getValue().toString();\\n rol = rolT.getValue() == null ? \\\"\\\" : rolT.getValue().toString();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1c072abc1f008b7d9361b617974432de\",\n \"score\": \"0.48705307\",\n \"text\": \"private void setLeft(double left) \\r\\n {\\r\\n leftTalonOne.set(left);\\r\\n //leftTalonTwo.set(left);\\r\\n //leftTalonThree.set(left);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d7d34525687c4a648dc94fbd2d7e0c59\",\n \"score\": \"0.48685387\",\n \"text\": \"public void getAndSetData() {\\n\\t\\tString[] rawArray = m_rawData.split(\\\"\\\\\\\\,\\\");\\n\\n\\t\\tm_name = rawArray[0].substring(5); // start at index 5\\n\\t\\tm_x = Integer.parseInt(rawArray[1].substring(2));\\n\\t\\tm_z = Integer.parseInt(rawArray[2].substring(2));\\n\\t\\tm_y = Integer.parseInt(rawArray[3].substring(2));\\n\\t\\tm_isEnabled = Boolean.parseBoolean(rawArray[4].substring(8));\\n\\n\\t\\tm_r = (int)(Float.parseFloat(rawArray[5].substring(4)) * 255);\\n\\t\\tm_g = (int)(Float.parseFloat(rawArray[6].substring(6)) * 255);\\n\\t\\tm_b = (int)(Float.parseFloat(rawArray[7].substring(5)) * 255);\\n\\n\\t\\t//String suffix = rawArray[8]; // throwaway\\n\\t\\t//String world = rawArray[9]; // also throwaway\\n\\t\\tm_dimensions = rawArray[10].substring(11);\\n\\n\\t\\tfor (int currentChar = 0; currentChar < m_dimensions.length(); ++currentChar) {\\n\\t\\t\\tif (m_dimensions.charAt(currentChar) == '#')\\n\\t\\t\\t\\tm_dimensions = m_dimensions.replace(\\\"#\\\", \\\"\\\");\\n\\t\\t}\\n\\n\\t\\tm_id = m_name + \\\"_\\\" + m_x + \\\",\\\" + m_y + \\\",\\\" + m_z;\\n\\n\\t\\t/*System.out.printf(\\\"unique id is: %s\\\\n\\\", m_id);\\n\\t\\tSystem.out.printf(\\\"name is: %s\\\\n\\\", m_name);\\n\\t\\tSystem.out.printf(\\\"coordinates are: (%d, %d, %d)\\\\n\\\", m_x, m_y, m_z);\\n\\t\\tSystem.out.printf(\\\"enabled is %b\\\\n\\\", m_isEnabled);\\n\\t\\tSystem.out.printf(\\\"rgb values are: (%.9f, %.9f, %.9f)\\\\n\\\", m_r, m_g, m_b);\\n\\t\\tSystem.out.printf(\\\"dimensions are: %s\\\\n\\\", m_dimensions);*/\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bcec8234eed9a42f0618b0773e9d9107\",\n \"score\": \"0.48656523\",\n \"text\": \"public void createLogInput() {\\n log += \\\"-Input:\\\\n\\\";\\n for (int i = 0; i < x.length; i++) {\\n log += \\\"Input ke-\\\" + i + \\\":[\\\";\\n for (int j = 0; j < x[i].length; j++) {\\n log += j != (x[i].length - 1) ? x[i][j] + \\\",\\\" : x[i][j];\\n }\\n log += \\\"]\\\\n\\\";\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8b18fd12dbb5303a665e92c25393fb78\",\n \"score\": \"0.4861706\",\n \"text\": \"@Override\\n\\tprotected void initData() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8b18fd12dbb5303a665e92c25393fb78\",\n \"score\": \"0.4861706\",\n \"text\": \"@Override\\n\\tprotected void initData() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c5ca713f20cddacd0c7bdabcd4c8b39a\",\n \"score\": \"0.48613772\",\n \"text\": \"public static Node createLeftCloneTree(Node node){\\n // write your code here\\n if(node==null){\\n return null;\\n }\\n Node ln= createLeftCloneTree(node.left);\\n Node rn=createLeftCloneTree(node.right);\\n Node nnode=new Node(node.data,node.left,null);\\n node.left=nnode;\\n return node;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bed48451cfffeb9179b961459ab2b05e\",\n \"score\": \"0.48595437\",\n \"text\": \"public HuffmanNode getLeft()\\n\\t{\\n\\t\\treturn left;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a23674f8a76c28e97726635ccce9738\",\n \"score\": \"0.48567027\",\n \"text\": \"public Builder clearLeft() {\\n bitField0_ = (bitField0_ & ~0x00000002);\\n left_ = 0D;\\n onChanged();\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d7b2227143f7f342888973b447dc0e2\",\n \"score\": \"0.4853105\",\n \"text\": \"public void setLeft(BTNodeDup l) {\\r\\n left = l;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54b1134554bc066c34ed30a72adb660c\",\n \"score\": \"0.4831396\",\n \"text\": \"@Override\\n\\tprotected void initData() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54b1134554bc066c34ed30a72adb660c\",\n \"score\": \"0.4831396\",\n \"text\": \"@Override\\n\\tprotected void initData() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e960e304cd2a3d41c7dd25323c1a866a\",\n \"score\": \"0.4820022\",\n \"text\": \"public void getPrevData() {\\r\\r\\n\\t\\tgetReqsData();\\r\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7ac7cdb2cdd69ac214faedad78647d17\",\n \"score\": \"0.48184097\",\n \"text\": \"public Rendermessages.CBorderData.CBorderSide.Builder getLeftBuilder() {\\n bitField0_ |= 0x00000008;\\n onChanged();\\n return getLeftFieldBuilder().getBuilder();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ac77991596196ab678a2147346e817d7\",\n \"score\": \"0.48062766\",\n \"text\": \"public PalisadeInputSplit() {\\n requestResponse = new DataRequestResponse();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2aaac489117e4111cdc4dd34f16c826e\",\n \"score\": \"0.4805742\",\n \"text\": \"public BinaryTree(E rootData, BinaryTree left, BinaryTree right) {\\r\\n\\t\\troot = new Node();\\r\\n\\t\\troot.data = rootData;\\r\\n\\t\\tif (left != null) {\\r\\n\\t\\t\\troot.left = left.root;\\r\\n\\t\\t}\\r\\n\\t\\tif (right != null) {\\r\\n\\t\\t\\troot.right = right.root;\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4e6c5d7c4374c6ec0f1503f42e599922\",\n \"score\": \"0.48021814\",\n \"text\": \"public BinaryNode( T theData, BinaryNode leftChild, \\n BinaryNode rightChild ) {\\n data = theData; \\n left = leftChild;\\n right = rightChild;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9fd5863b5c7fb612226843698a47e954\",\n \"score\": \"0.4785259\",\n \"text\": \"public BinaryTree(E data, BinaryTree leftTree, \\n\\t\\t\\tBinaryTree rightTree) {\\n\\t\\troot = new Node (data);\\n\\t\\tif (leftTree != null) {\\n\\t\\t\\troot.left = leftTree.root;\\n\\t\\t} else {\\n\\t\\t\\troot.left = null;\\n\\t\\t}\\n\\t\\tif (rightTree != null) {\\n\\t\\t\\troot.right = rightTree.root;\\n\\t\\t} else {\\n\\t\\t\\troot.right = null;\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"420cb9c3f52ae1b37b96d45932f83f0d\",\n \"score\": \"0.4784319\",\n \"text\": \"@Override\\r\\n\\tpublic String createSecondRandomData() {\\n\\t\\treturn null;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9c74557fe9245af96e182cb847788d9\",\n \"score\": \"0.47811136\",\n \"text\": \"@Override\\r\\n\\tpublic void initData() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"87dc7196d2d35103e000ecb6bd8333b0\",\n \"score\": \"0.47703385\",\n \"text\": \"public void generateSynthDataFromDataStorage()\\n {\\n /*This function creates a synthesized data array from the local data storage*/\\n if (dataArrayLen > 0)\\n {\\n computeLateralLongitudalArrays();\\n\\n /*Instantiate gps arrays*/\\n dataLen = dataStorage.getDataArrayLen();\\n latitudeArray = new double[dataStorage.getDataArrayLen()];\\n longitudeArray = new double[dataStorage.getDataArrayLen()];\\n GPSEventTime = new long[dataArrayLen];\\n\\n /*Copy latitude and longitude array*/\\n for (int index = 0; index < dataStorage.getDataArrayLen(); index++)\\n {\\n latitudeArray[index] = dataStorage.latitudeArray[index];\\n longitudeArray[index] = dataStorage.longitudeArray[index];\\n GPSEventTime[index] = dataStorage.GPSEventTime[index];\\n GPSIndex = dataStorage.GPSIndex;\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9bfad3e7c526bca61c7a2f7cabb03133\",\n \"score\": \"0.47648656\",\n \"text\": \"private void prepareData(String leftJson, String rightJson, long id) {\\n\\t\\trestTemplate.delete(createURLWithPort(\\\"/jsontext/\\\"+id));\\n\\n\\t\\tTestJsonTextPair jsonTextPair = new TestJsonTextPair(102, leftJson, rightJson);\\n\\t\\tHttpHeaders headers = new HttpHeaders();\\n\\t\\theaders.add(HttpHeaders.CONTENT_TYPE, \\\"application/json\\\");\\n\\t\\tfinal HttpEntity requestEntity = new HttpEntity<>(jsonTextPair, headers);\\n\\t\\trestTemplate.exchange(storeClient.getProfileUri(), HttpMethod.POST, requestEntity, Void.class);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3ede229324c84f9b33cb19d5deac72fa\",\n \"score\": \"0.4758713\",\n \"text\": \"DataInput makeDataInput() {\\n return new DataInput(getReadOptions().getInputType(),entry);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"caacc6de51af8652ee5bbedadff9860e\",\n \"score\": \"0.47538832\",\n \"text\": \"static Node createNode(int data) {\\n\\t\\tNode newNode = new Node();\\n\\t\\tnewNode.key = data;\\n\\t\\tnewNode.leftNode = null;\\n\\t\\tnewNode.rightNode = null;\\n\\t\\treturn newNode;\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d6806af8987c007cd876199035d4cb30\",\n \"score\": \"0.475072\",\n \"text\": \"public com.exacttarget.wsdl.partnerapi.FilterPart addNewLeftOperand()\\n {\\n synchronized (monitor())\\n {\\n check_orphaned();\\n com.exacttarget.wsdl.partnerapi.FilterPart target = null;\\n target = (com.exacttarget.wsdl.partnerapi.FilterPart)get_store().add_element_user(LEFTOPERAND$0);\\n return target;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"65a07c06012ccd8dfd1d94ee94b29c0f\",\n \"score\": \"0.47478557\",\n \"text\": \"public BSTNode(int data, BSTNode left, BSTNode right)\\r\\n {\\r\\n this.data = data;\\r\\n this.left = left;\\r\\n this.right = right;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1849bd651682ee766bdfe2d3737dd6d6\",\n \"score\": \"0.47474357\",\n \"text\": \"private void generateData() {\\n\\t\\tLocalTime referenceTime = LocalTime.now().plus(10, ChronoUnit.SECONDS);\\n\\t\\tfor(int i = 0; i < ROWS; i++) {\\n\\t\\t\\tString temp = (referenceTime.plus((int)(10*i/SPEED),ChronoUnit.SECONDS)).toString();\\n\\t\\t\\ttime[i] = temp;\\n\\t\\t\\tfloor[i] = rand.nextInt(FLOORS)+1;\\n\\t\\t\\tcarButton[i] = rand.nextInt(FLOORS)+1;\\n\\t\\t\\twhile(floor[i] == carButton[i]) {\\n\\t\\t\\t\\tcarButton[i] = rand.nextInt(FLOORS)+1;\\n\\t\\t\\t}\\n\\t\\t\\tif(floor[i] > carButton[i]) {\\n\\t\\t\\t\\tdir[i] = DOWN;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tdir[i] = UP;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e87da3c87d458ba2622719344d02a3e6\",\n \"score\": \"0.47411478\",\n \"text\": \"public void left (int p[], int index, int g) {\\n if (index % 4 > 0) {\\r\\n int p_copy[] = new int[16];\\r\\n copyPuzzle(p_copy, p);\\r\\n\\r\\n // moving left so index - 1\\r\\n int temp = p_copy[index];\\r\\n p_copy[index] = p_copy[index - 1];\\r\\n p_copy[index - 1] = temp;\\r\\n\\r\\n createChild(p_copy, 'L');\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3887bfc21cfae3205bbfef60891a49a4\",\n \"score\": \"0.4741136\",\n \"text\": \"public DistanceSensorData(long timestamp, int frontDistanceSensor, int leftsideDistanceSensor, int rightsideDistanceSensor){\\n\\t\\tsuper(new Timestamp(timestamp));\\n\\t\\tthis.frontDistanceSensor = frontDistanceSensor;\\n\\t\\tthis.leftsideDistanceSensor = leftsideDistanceSensor;\\n\\t\\tthis.rightsideDistanceSensor = rightsideDistanceSensor;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f46eeaa857a16a876e3150b8d2db3e90\",\n \"score\": \"0.4737802\",\n \"text\": \"public void setLeft(int l){\\n\\t\\tleft = l;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c4525b97e5a42c8071acc5ea64875c43\",\n \"score\": \"0.47377303\",\n \"text\": \"@Override\\n\\tpublic void initData() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c4525b97e5a42c8071acc5ea64875c43\",\n \"score\": \"0.47377303\",\n \"text\": \"@Override\\n\\tpublic void initData() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c4525b97e5a42c8071acc5ea64875c43\",\n \"score\": \"0.47377303\",\n \"text\": \"@Override\\n\\tpublic void initData() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"120bed6df882bf30e880ed541c9d0844\",\n \"score\": \"0.47257978\",\n \"text\": \"public BTNodeDup getLeft() {\\r\\n return left;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4e3bac53cd960da54fe4d431953f198c\",\n \"score\": \"0.4724431\",\n \"text\": \"private Node getNodeLeft(){\\n return nodeLeft;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f039cbaaf14342e32e6bb4edd3a1593\",\n \"score\": \"0.47199836\",\n \"text\": \"public java.lang.String getNewData() {\\n \\treturn newData;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"940ac62654e2b6fa8dfbc55e4cc0a00d\",\n \"score\": \"0.4716234\",\n \"text\": \"private void moveLeft() {\\n\\t\\tboolean move = false;\\n\\t\\tfor (int i = head2; i < head2 + size2; i++) {\\n\\t\\t\\tval[i - 1] = val[i];\\n\\t\\t\\tmove = true;\\n\\t\\t}\\n\\t\\tif (move)\\n\\t\\t\\thead2--;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7d7339111e555eb10ba471f13ce4d48a\",\n \"score\": \"0.47103077\",\n \"text\": \"public double getLeftPosition() {\\n\\t\\treturn (leftEncoder.getSelectedSensorPosition(PIDIDX) - leftPositionZero) / COUNTS_PER_REVOLUTION;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8d34b86404b23c201ef867bd06c77fe6\",\n \"score\": \"0.47070578\",\n \"text\": \"public void L1DataToL1Controller(){\\n \\n // datacache[42][0]=\\\"CD123456789\\\";\\n // cachesize[42][0]=\\\"10101\\\";\\n cachesize[127][0]=\\\"01011\\\";\\n datacache[127][0]=\\\"AB\\\";\\n // System.out.println(\\\"in L1D\\\"+queueline.getL1CtoL1DQueue().get(0)); \\n String st=queueline.getL1CtoL1DQueue().get(0);\\n System.out.println(\\\"In L1D, Current instruction is: \\\"+st);\\n String instruction[]=st.split(\\\" \\\",0);\\n List tempList=new ArrayList();\\n // System.out.println(\\\"i am in L1D now \\\"+instruction[0]);\\n //System.out.println(\\\"Instruction about to excuted is \\\"+queueline.getL1CtoL1DQueue().get(0));\\n switch(instruction[0]){\\n case \\\"Load\\\":\\n \\n String tag=null;\\n int offset;\\n int location;\\n data=null;\\n tag=instruction[1].substring(0, 5);\\n offset= Integer.parseInt(instruction[1].substring(12,17));\\n location=Integer.parseInt(instruction[1].substring(5, 12),2); \\n // System.out.println(\\\"Current instruction is: \\\"+st+location);\\n if(tag.equalsIgnoreCase(cachesize[location][0])){\\n data=datacache[location][0];\\n \\n }\\n else if(tag.equalsIgnoreCase(cachesize[location][1])){\\n data=datacache[location][1];\\n }\\n if(data!=null){\\n data=st+\\\" \\\"+data;\\n \\n tempList.add(data); \\n queueline.setL1DtoL1CQueue(tempList);\\n }\\n queueline.getL1CtoL1DQueue().remove(0);\\n System.out.println(\\\"Data read is: \\\"+data+queueline.getL1CtoL1DQueue());\\n for(String st1: queueline.getL1CtoL1DQueue()){\\n System.out.println(\\\"Remaining instructions in L1C2L1DQueue are: \\\"+st1);\\n } \\n break;\\n case \\\"Store\\\":\\n if(!instruction[1].equalsIgnoreCase(\\\"Store\\\")){\\n String tag1=instruction[1].substring(0, 5);\\n int offset1= Integer.parseInt(instruction[1].substring(12,17));\\n int location1=Integer.parseInt(instruction[1].substring(5, 12),2);\\n String value=instruction[2];\\n if(instruction.length==4&& !\\\"Store\\\".equalsIgnoreCase(instruction[0])){\\n value=instruction[3]; \\n \\n }\\n else if(instruction.length==4&&\\\"Store\\\".equalsIgnoreCase(instruction[0])){\\n value=instruction[3]; \\n }\\n //System.out.println(\\\"i am store of L1D\\\"+value+\\\"\\\\t\\\"+queueline.getL1CtoL1DQueue().get(0)); \\n if(tag1.equals(cachesize[location1][0])){\\n datacache[location1][0]=value;\\n }\\n else if(tag1.equals(cachesize[location1][1])){\\n datacache[location1][0]=value;\\n }\\n else{\\n if(datacache[location1][0]==null){\\n datacache[location1][0]=value;\\n cachesize[location1][0]=tag1;\\n }\\n else{\\n datacache[location1][1]=value;\\n cachesize[location1][1]=tag1;\\n }\\n \\n }\\n System.out.println(\\\"Value has been stored in L1DataCache: Data is - \\\"+ datacache[location1][0]+\\\" for instrction\\\"+st); \\n queueline.getL1CtoL1DQueue().remove(0);\\n }\\n else{\\n // System.out.println(\\\"++++++\\\"+instruction[2]);\\n String tag1=instruction[2].substring(0, 5);\\n int offset1= Integer.parseInt(instruction[2].substring(12,17));\\n int location1=Integer.parseInt(instruction[2].substring(5, 12),2);\\n String value=instruction[3];\\n // System.out.println(\\\"i am store of L1D\\\"+value+\\\"\\\\t\\\"+queueline.getL1CtoL1DQueue().get(0)); \\n if(tag1.equals(cachesize[location1][0])){\\n datacache[location1][0]=value;\\n }\\n else if(tag1.equals(cachesize[location1][1])){\\n datacache[location1][1]=value;\\n }\\n else{\\n if(datacache[location1][0]==null){\\n datacache[location1][0]=value;\\n cachesize[location1][0]=tag1;}\\n else{\\n datacache[location1][1]=value;\\n cachesize[location1][1]=tag1;\\n }}\\n System.out.println(\\\"Value has been stored in L1DataCache: Data is - \\\"+ datacache[location1][0]+\\\" for instrction\\\"+instruction[0]+location1); \\n queueline.getL1CtoL1DQueue().remove(0); \\n }\\n break;\\n case \\\"Evict\\\":\\n String tag2=instruction[1].substring(0, 5);\\n int offset2= Integer.parseInt(instruction[1].substring(12,17),2);\\n int location2=Integer.parseInt(instruction[1].substring(5, 12),2);\\n int dirtybit=Integer.parseInt(instruction[2]);\\n if(dirtybit==0){\\n if (tag2.equalsIgnoreCase(cachesize[location2][0])) {\\n data = datacache[location2][0];\\n\\n } else if (tag2.equalsIgnoreCase(cachesize[location2][1])) {\\n data = datacache[location2][1];\\n }\\n // data=!(data.equals(null))?data.substring(offset2,offset2+Integer.parseInt(instruction[2])):\\\" \\\";\\n L1Victim v = new L1Victim();\\n Boolean result = v.victimcachestore(tag2, offset2, data);\\n if (result) {\\n System.out.println(\\\"Data has been stored into victim cache for instruction\\\" + st);\\n }\\n }\\n else if(dirtybit==1) {\\n if (tag2.equalsIgnoreCase(cachesize[location2][0])) {\\n data = datacache[location2][0];\\n\\n } else if (tag2.equalsIgnoreCase(cachesize[location2][1])) {\\n data = datacache[location2][1];\\n }\\n // data=!(data.equals(null))?data.substring(offset2,offset2+Integer.parseInt(instruction[2])):\\\" \\\";\\n WriteBuff v = new WriteBuff();\\n Boolean result = v.storebuffer(tag2, offset2, data);\\n if (result) {\\n System.out.println(\\\"Data has been stored into Write Buffer cache for instruction\\\" + st);\\n }\\n }\\n break;\\n } \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0659091552b0e628348d5400173f74bd\",\n \"score\": \"0.47068787\",\n \"text\": \"@Override\\r\\n\\tpublic void buildLegLeft() {\\n\\t\\tSystem.out.println(\\\"瘦-左腿\\\");\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f6a759f975f5e1a80ec913329f860530\",\n \"score\": \"0.47047287\",\n \"text\": \"@Override\\r\\n\\t\\t\\tprotected void onDataNULL() {\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8cfd38654d5d40eed59bbfc9e6950631\",\n \"score\": \"0.47022796\",\n \"text\": \"@Override\\r\\n\\tpublic void buildArmLeft() {\\n\\t\\tSystem.out.println(\\\"瘦-左手\\\");\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"67b2d1bff63ccdff53982677262664c9\",\n \"score\": \"0.4701757\",\n \"text\": \"public void clearData()\\r\\n\\t{\\r\\n\\t\\ttheData=new Vector();\\r\\n\\t\\tleftAxis=new Vector();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0bcf6bad3d42bf7fc45497590319985b\",\n \"score\": \"0.46974227\",\n \"text\": \"public void setLeftNode(@NotNull SetNode newNode) {\\n left = newNode;\\n newNode.prev = prev;\\n newNode.next = this;\\n if (prev != null) {\\n prev.next = newNode;\\n assert prev == head || (comparator.compare(newNode.value, prev.value) > 0);\\n }\\n prev = newNode;\\n treeSize++;\\n\\n assert(comparator.compare(newNode.value, value) < 0);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e760f853ec83ba06557c219cee3c9c24\",\n \"score\": \"0.46932548\",\n \"text\": \"@Override\\n\\tpublic void initData() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e760f853ec83ba06557c219cee3c9c24\",\n \"score\": \"0.46932548\",\n \"text\": \"@Override\\n\\tpublic void initData() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e760f853ec83ba06557c219cee3c9c24\",\n \"score\": \"0.46932548\",\n \"text\": \"@Override\\n\\tpublic void initData() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f5c9ec6dfee5f60a62cb6f7eb0f20e2b\",\n \"score\": \"0.46899763\",\n \"text\": \"private void populateMerkleNode(MerkleNode oNode, MerkleNode oLeftNode, MerkleNode oRightNode){\\n oNode.oLeft = oLeftNode;\\n oNode.oRight = oRightNode;\\n oNode.sHash = generateHash(oLeftNode.sHash +oRightNode.sHash); //create our node for tree\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b69120640299cf620f6c9513dffa8f9b\",\n \"score\": \"0.46873412\",\n \"text\": \"@Override\\r\\n\\tpublic void customRead() \\r\\n\\t{\\n\\t\\tIloOplDataHandler handler = getDataHandler();\\r\\n\\t\\t\\r\\n\\t\\thandler.startElement(\\\"n\\\");\\r\\n handler.addIntItem(4);\\r\\n handler.endElement();\\r\\n \\r\\n handler.startElement(\\\"p\\\");\\r\\n handler.addIntItem(2);\\r\\n handler.endElement();\\r\\n \\r\\n handler.startElement(\\\"r\\\");\\r\\n handler.startArray();\\r\\n handler.addIntItem(0);\\r\\n handler.addIntItem(1);\\r\\n handler.addIntItem(3);\\r\\n handler.addIntItem(4);\\r\\n handler.endArray();\\r\\n handler.endElement();\\r\\n \\r\\n handler.startElement(\\\"d\\\");\\r\\n handler.startArray();\\r\\n handler.addIntItem(100);\\r\\n handler.addIntItem(100);\\r\\n handler.addIntItem(100);\\r\\n handler.addIntItem(100);\\r\\n handler.endArray();\\r\\n handler.endElement();\\r\\n \\r\\n handler.startElement(\\\"w\\\");\\r\\n handler.startArray();\\r\\n handler.addIntItem(1);\\r\\n handler.addIntItem(10);\\r\\n handler.addIntItem(2);\\r\\n handler.addIntItem(2);\\r\\n handler.endArray();\\r\\n handler.endElement();\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"271b8f099c56283408815637ef15a9b8\",\n \"score\": \"0.46850595\",\n \"text\": \"private static Node moveLEFT(Node node) {\\n\\t\\tint space = node.state.indexOf(0);\\n\\t\\tArrayList childState;\\n\\t\\tint temp;\\n\\t\\tNode childNode = new Node();\\n\\t\\t\\n\\t\\tif (space != 0 && space != 3 && space != 6) {\\n\\t\\t\\tchildState = (ArrayList) node.state.clone();\\n\\t\\t\\ttemp = childState.get(space-1);\\n\\t\\t\\tchildState.set(space-1,0);\\n\\t\\t\\tchildState.set(space,temp);\\t\\t\\t\\n\\t\\t\\tchildNode.state = childState;\\n\\t\\t\\tchildNode.parent = node;\\n\\t\\t\\tchildNode.distance = node.distance + 1;\\n\\t\\t\\tchildNode.move = \\\"LEFT\\\";\\n\\t\\t\\treturn childNode;\\n\\t\\t}\\n\\t\\telse{\\n\\t\\t\\treturn null;\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0f494696ea5c0a7b94daa5a0749a6a53\",\n \"score\": \"0.46737754\",\n \"text\": \"public Split() {\\n setDataType( MarketDataType.Auxiliary );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4afc31c0944dc6126e2bd0f6a3f0964d\",\n \"score\": \"0.4671296\",\n \"text\": \"@Override\\n public void initializeData() {\\n this.name = NAME;\\n this.description = oldPotionStrings.DESCRIPTIONS[0];\\n\\n this.tips.clear();\\n this.tips.add(new PowerTip(this.name, this.description));\\n this.tips.add(new PowerTip(TipHelper.capitalize(GameDictionary.CALM.NAMES[0]), GameDictionary.keywords.get(GameDictionary.CALM.NAMES[0])));\\n this.tips.add(new PowerTip(TipHelper.capitalize(GameDictionary.WRATH.NAMES[0]), GameDictionary.keywords.get(GameDictionary.WRATH.NAMES[0])));\\n\\n // initializeData clears tips THEN adds the main PowerTip THEN the Stance PowerTip.\\n this.tips.get(0).body += (potionStrings.DESCRIPTIONS[0] + maxPotionLevel);\\n\\n if (getPotionLevel() > 0) {\\n if (getPotionLevel() == maxPotionLevel) {\\n this.tips.get(0).header += \\\"+MAX\\\";\\n } else {\\n this.tips.get(0).header += \\\"+\\\" + getPotionLevel();\\n }\\n }\\n\\n this.name = this.tips.get(0).header;\\n this.description = this.tips.get(0).body;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"acaa97f07cc2478892599793d293eb2c\",\n \"score\": \"0.46693608\",\n \"text\": \"void initiateData(){\\n String timeOfStart = String.valueOf(System.currentTimeMillis()/1000);\\n this.saveRecord(0, timeOfStart);//id 1\\n this.saveRecord(0, \\\"5\\\");//id 2 : Number of 0 cards to learn at once\\n this.saveRecord(0, \\\"1\\\");//id 3: learn new cards in random order, 0 means No, and 1 means Yes\\n this.saveRecord(0, \\\"0\\\");//id 4: the length of Cards (banyaknya cards) used by numOfCard()\\n this.saveRecord(0, \\\":\\\");//id 5: define the slots where there is no card, or empty card (because of deletion)\\n for (int i=6;i data, int left, int right){\\n if(left>right){\\n \\t return null;\\n }\\n \\n if(data == null || data.size() == 0){\\n \\t return null;\\n }\\n // calculate the mid index from the left and right\\n int mid = (left+right)/2;\\n Node root = data.get(mid);\\n // recursively call createBST method to build its left and right components \\n root.left(createBST(data, left, mid-1));\\n root.right(createBST(data, mid+1, right));\\n return root;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a972e031d5a0eb9ce8293c4e558a9c28\",\n \"score\": \"0.4652776\",\n \"text\": \"protected void input_step( ExpressionNode nd, VMState vms ) {\\n Assert.check( vms.top().at( nd ) == null ) ;\\r\\n \\r\\n // Clear the selection\\r\\n vms.top().setSelected( null ) ;\\r\\n \\r\\n AbstractDatum leftDatum = (AbstractDatum) vms.top().at( nd.child_exp(0) ) ;\\r\\n \\r\\n// Assert.check( leftDatum instanceof RefDatum ) ;\\r\\n// Assert.check( ((RefDatum)leftDatum).deref() != null ) ;\\r\\n// Assert.check( ((RefDatum)leftDatum).deref() instanceof ObjectDatum ) ;\\r\\n\\r\\n Console console = vms.getConsole() ;\\r\\n \\r\\n long value ;\\r\\n boolean valueDetermined ;\\r\\n if( console.eof() ) {\\r\\n value = -1 ;\\r\\n valueDetermined = true ; }\\r\\n else {\\r\\n char inputChar = console.peekChar(0) ;\\r\\n if( inputChar == '\\\\uffff' ) {\\r\\n // There is no more input. Stop the\\r\\n // evaluation so the user can add input.\\r\\n vms.setEvaluationState( vms.EVALUATION_STATE_NEEDINPUT ) ;\\r\\n value = 0 ;\\r\\n valueDetermined = false ; }\\r\\n else if( inputChar == 0 ) {\\r\\n console.setFailBit() ; \\r\\n value = -1 ;\\r\\n valueDetermined = true ; }\\r\\n else {\\r\\n console.consumeChars(1) ;\\r\\n value = (long) inputChar ;\\r\\n valueDetermined = true ; } }\\r\\n if( valueDetermined ) {\\r\\n Clc_ASTUtilities util = (Clc_ASTUtilities) vms.getProperty(\\\"ASTUtilities\\\") ;\\r\\n IntDatum intDatum = (IntDatum) util.scratchDatum( TyInt.get(), vms) ;\\r\\n vms.top().map(nd, intDatum) ;\\r\\n intDatum.putValue( value ) ; }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"704fdf1e8ac4462c2fe338e61ec58b21\",\n \"score\": \"0.46442235\",\n \"text\": \"public void setLeft(boolean left) {\\n this.left = left;\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":349,"cells":{"query_id":{"kind":"string","value":"5e185150f8b61ce5105970ef4a853eb6"},"query":{"kind":"string","value":"This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor."},"positive_passages":{"kind":"list like","value":[{"docid":"5900da7f98b244cde01ddaad09f32379","score":"0.0","text":"@SuppressWarnings(\"unchecked\")\n // //GEN-BEGIN:initComponents\n private void initComponents() {\n\n jScrollPane1 = new javax.swing.JScrollPane();\n jTable1 = new javax.swing.JTable();\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 jLabel5 = new javax.swing.JLabel();\n txtmahd = new javax.swing.JTextField();\n cbbmakh = new javax.swing.JComboBox<>();\n cbbmanv = new javax.swing.JComboBox<>();\n txtngaylap = new javax.swing.JTextField();\n jScrollPane2 = new javax.swing.JScrollPane();\n tblhd = new javax.swing.JTable();\n btnthem = new javax.swing.JButton();\n btnsua = new javax.swing.JButton();\n btnxoa = new javax.swing.JButton();\n btnthoat = new javax.swing.JButton();\n jButton1 = new javax.swing.JButton();\n jButton2 = new javax.swing.JButton();\n\n jTable1.setModel(new javax.swing.table.DefaultTableModel(\n new Object [][] {\n {null, null, null, null},\n {null, null, null, null},\n {null, null, null, null},\n {null, null, null, null}\n },\n new String [] {\n \"Title 1\", \"Title 2\", \"Title 3\", \"Title 4\"\n }\n ));\n jScrollPane1.setViewportView(jTable1);\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n addWindowListener(new java.awt.event.WindowAdapter() {\n public void windowClosing(java.awt.event.WindowEvent evt) {\n formWindowClosing(evt);\n }\n public void windowOpened(java.awt.event.WindowEvent evt) {\n formWindowOpened(evt);\n }\n });\n\n jLabel1.setFont(new java.awt.Font(\"Tahoma\", 3, 18)); // NOI18N\n jLabel1.setIcon(new javax.swing.ImageIcon(\"D:\\\\Code\\\\Java\\\\JAVA-20210607T081428Z-001\\\\JAVA\\\\quanlydienmay\\\\Images\\\\lisloaisanpham.png\")); // NOI18N\n jLabel1.setText(\"BẢNG HÓA ĐƠN\");\n\n jLabel2.setText(\"Mã Hóa Đơn:\");\n\n jLabel3.setText(\"Mã KH:\");\n\n jLabel4.setText(\"Mã NV:\");\n\n jLabel5.setText(\"Năm Lập:\");\n\n cbbmakh.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"Item 1\", \"Item 2\", \"Item 3\", \"Item 4\" }));\n\n cbbmanv.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"Item 1\", \"Item 2\", \"Item 3\", \"Item 4\" }));\n\n tblhd.setModel(new javax.swing.table.DefaultTableModel(\n new Object [][] {\n {null, null, null, null, null},\n {null, null, null, null, null},\n {null, null, null, null, null},\n {null, null, null, null, null}\n },\n new String [] {\n \"STT\", \"Mã HD\", \"Tên KH\", \"Tên NV\", \"Năm Lập\"\n }\n ));\n tblhd.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n tblhdMouseClicked(evt);\n }\n });\n jScrollPane2.setViewportView(tblhd);\n\n btnthem.setIcon(new javax.swing.ImageIcon(\"D:\\\\Code\\\\Java\\\\JAVA-20210607T081428Z-001\\\\JAVA\\\\quanlydienmay\\\\Images\\\\Button-Add-icon.png\")); // NOI18N\n btnthem.setText(\"Thêm\");\n btnthem.setToolTipText(\"\");\n btnthem.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnthemActionPerformed(evt);\n }\n });\n\n btnsua.setIcon(new javax.swing.ImageIcon(\"D:\\\\Code\\\\Java\\\\JAVA-20210607T081428Z-001\\\\JAVA\\\\quanlydienmay\\\\Images\\\\pencil-red-icon.png\")); // NOI18N\n btnsua.setText(\"Sửa\");\n btnsua.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnsuaActionPerformed(evt);\n }\n });\n\n btnxoa.setIcon(new javax.swing.ImageIcon(\"D:\\\\Code\\\\Java\\\\JAVA-20210607T081428Z-001\\\\JAVA\\\\quanlydienmay\\\\Images\\\\Delete-icon.png\")); // NOI18N\n btnxoa.setText(\"Xóa\");\n btnxoa.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnxoaActionPerformed(evt);\n }\n });\n\n btnthoat.setIcon(new javax.swing.ImageIcon(\"D:\\\\Code\\\\Java\\\\JAVA-20210607T081428Z-001\\\\JAVA\\\\quanlydienmay\\\\Images\\\\Button-Add-icon.png\")); // NOI18N\n btnthoat.setText(\"Thêm Mới\");\n btnthoat.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnthoatActionPerformed(evt);\n }\n });\n\n jButton1.setFont(new java.awt.Font(\"Tahoma\", 0, 14)); // NOI18N\n jButton1.setIcon(new javax.swing.ImageIcon(\"D:\\\\Code\\\\Java\\\\JAVA-20210607T081428Z-001\\\\JAVA\\\\quanlydienmay\\\\Images\\\\lisloaisanpham.png\")); // NOI18N\n jButton1.setText(\"Lập CT Hóa Đơn\");\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.setIcon(new javax.swing.ImageIcon(\"D:\\\\Code\\\\Java\\\\JAVA-20210607T081428Z-001\\\\JAVA\\\\quanlydienmay\\\\Images\\\\exit.png\")); // NOI18N\n jButton2.setText(\"Đóng Form\");\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(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 .addComponent(jScrollPane2, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 655, Short.MAX_VALUE)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\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(jLabel5))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(cbbmanv, 0, 187, Short.MAX_VALUE)\n .addComponent(txtmahd)\n .addComponent(cbbmakh, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(txtngaylap))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(btnthoat, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(btnthem, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(btnsua, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(btnxoa, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jButton2, 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 .addContainerGap())\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(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addComponent(jLabel1)\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel2)\n .addComponent(txtmahd, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(btnthoat))\n .addGap(35, 35, 35)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel3)\n .addComponent(cbbmakh, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(btnthem))\n .addGap(18, 18, 18))\n .addGroup(layout.createSequentialGroup()\n .addGap(49, 49, 49)\n .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 102, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(34, 34, 34)))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel4)\n .addComponent(cbbmanv, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(btnsua))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel5)\n .addComponent(txtngaylap, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(btnxoa)))\n .addComponent(jButton2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addGap(18, 18, 18)\n .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 275, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n\n pack();\n }","title":""}],"string":"[\n {\n \"docid\": \"5900da7f98b244cde01ddaad09f32379\",\n \"score\": \"0.0\",\n \"text\": \"@SuppressWarnings(\\\"unchecked\\\")\\n // //GEN-BEGIN:initComponents\\n private void initComponents() {\\n\\n jScrollPane1 = new javax.swing.JScrollPane();\\n jTable1 = new javax.swing.JTable();\\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 jLabel5 = new javax.swing.JLabel();\\n txtmahd = new javax.swing.JTextField();\\n cbbmakh = new javax.swing.JComboBox<>();\\n cbbmanv = new javax.swing.JComboBox<>();\\n txtngaylap = new javax.swing.JTextField();\\n jScrollPane2 = new javax.swing.JScrollPane();\\n tblhd = new javax.swing.JTable();\\n btnthem = new javax.swing.JButton();\\n btnsua = new javax.swing.JButton();\\n btnxoa = new javax.swing.JButton();\\n btnthoat = new javax.swing.JButton();\\n jButton1 = new javax.swing.JButton();\\n jButton2 = new javax.swing.JButton();\\n\\n jTable1.setModel(new javax.swing.table.DefaultTableModel(\\n new Object [][] {\\n {null, null, null, null},\\n {null, null, null, null},\\n {null, null, null, null},\\n {null, null, null, null}\\n },\\n new String [] {\\n \\\"Title 1\\\", \\\"Title 2\\\", \\\"Title 3\\\", \\\"Title 4\\\"\\n }\\n ));\\n jScrollPane1.setViewportView(jTable1);\\n\\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\\n addWindowListener(new java.awt.event.WindowAdapter() {\\n public void windowClosing(java.awt.event.WindowEvent evt) {\\n formWindowClosing(evt);\\n }\\n public void windowOpened(java.awt.event.WindowEvent evt) {\\n formWindowOpened(evt);\\n }\\n });\\n\\n jLabel1.setFont(new java.awt.Font(\\\"Tahoma\\\", 3, 18)); // NOI18N\\n jLabel1.setIcon(new javax.swing.ImageIcon(\\\"D:\\\\\\\\Code\\\\\\\\Java\\\\\\\\JAVA-20210607T081428Z-001\\\\\\\\JAVA\\\\\\\\quanlydienmay\\\\\\\\Images\\\\\\\\lisloaisanpham.png\\\")); // NOI18N\\n jLabel1.setText(\\\"BẢNG HÓA ĐƠN\\\");\\n\\n jLabel2.setText(\\\"Mã Hóa Đơn:\\\");\\n\\n jLabel3.setText(\\\"Mã KH:\\\");\\n\\n jLabel4.setText(\\\"Mã NV:\\\");\\n\\n jLabel5.setText(\\\"Năm Lập:\\\");\\n\\n cbbmakh.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \\\"Item 1\\\", \\\"Item 2\\\", \\\"Item 3\\\", \\\"Item 4\\\" }));\\n\\n cbbmanv.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \\\"Item 1\\\", \\\"Item 2\\\", \\\"Item 3\\\", \\\"Item 4\\\" }));\\n\\n tblhd.setModel(new javax.swing.table.DefaultTableModel(\\n new Object [][] {\\n {null, null, null, null, null},\\n {null, null, null, null, null},\\n {null, null, null, null, null},\\n {null, null, null, null, null}\\n },\\n new String [] {\\n \\\"STT\\\", \\\"Mã HD\\\", \\\"Tên KH\\\", \\\"Tên NV\\\", \\\"Năm Lập\\\"\\n }\\n ));\\n tblhd.addMouseListener(new java.awt.event.MouseAdapter() {\\n public void mouseClicked(java.awt.event.MouseEvent evt) {\\n tblhdMouseClicked(evt);\\n }\\n });\\n jScrollPane2.setViewportView(tblhd);\\n\\n btnthem.setIcon(new javax.swing.ImageIcon(\\\"D:\\\\\\\\Code\\\\\\\\Java\\\\\\\\JAVA-20210607T081428Z-001\\\\\\\\JAVA\\\\\\\\quanlydienmay\\\\\\\\Images\\\\\\\\Button-Add-icon.png\\\")); // NOI18N\\n btnthem.setText(\\\"Thêm\\\");\\n btnthem.setToolTipText(\\\"\\\");\\n btnthem.addActionListener(new java.awt.event.ActionListener() {\\n public void actionPerformed(java.awt.event.ActionEvent evt) {\\n btnthemActionPerformed(evt);\\n }\\n });\\n\\n btnsua.setIcon(new javax.swing.ImageIcon(\\\"D:\\\\\\\\Code\\\\\\\\Java\\\\\\\\JAVA-20210607T081428Z-001\\\\\\\\JAVA\\\\\\\\quanlydienmay\\\\\\\\Images\\\\\\\\pencil-red-icon.png\\\")); // NOI18N\\n btnsua.setText(\\\"Sửa\\\");\\n btnsua.addActionListener(new java.awt.event.ActionListener() {\\n public void actionPerformed(java.awt.event.ActionEvent evt) {\\n btnsuaActionPerformed(evt);\\n }\\n });\\n\\n btnxoa.setIcon(new javax.swing.ImageIcon(\\\"D:\\\\\\\\Code\\\\\\\\Java\\\\\\\\JAVA-20210607T081428Z-001\\\\\\\\JAVA\\\\\\\\quanlydienmay\\\\\\\\Images\\\\\\\\Delete-icon.png\\\")); // NOI18N\\n btnxoa.setText(\\\"Xóa\\\");\\n btnxoa.addActionListener(new java.awt.event.ActionListener() {\\n public void actionPerformed(java.awt.event.ActionEvent evt) {\\n btnxoaActionPerformed(evt);\\n }\\n });\\n\\n btnthoat.setIcon(new javax.swing.ImageIcon(\\\"D:\\\\\\\\Code\\\\\\\\Java\\\\\\\\JAVA-20210607T081428Z-001\\\\\\\\JAVA\\\\\\\\quanlydienmay\\\\\\\\Images\\\\\\\\Button-Add-icon.png\\\")); // NOI18N\\n btnthoat.setText(\\\"Thêm Mới\\\");\\n btnthoat.addActionListener(new java.awt.event.ActionListener() {\\n public void actionPerformed(java.awt.event.ActionEvent evt) {\\n btnthoatActionPerformed(evt);\\n }\\n });\\n\\n jButton1.setFont(new java.awt.Font(\\\"Tahoma\\\", 0, 14)); // NOI18N\\n jButton1.setIcon(new javax.swing.ImageIcon(\\\"D:\\\\\\\\Code\\\\\\\\Java\\\\\\\\JAVA-20210607T081428Z-001\\\\\\\\JAVA\\\\\\\\quanlydienmay\\\\\\\\Images\\\\\\\\lisloaisanpham.png\\\")); // NOI18N\\n jButton1.setText(\\\"Lập CT Hóa Đơn\\\");\\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.setIcon(new javax.swing.ImageIcon(\\\"D:\\\\\\\\Code\\\\\\\\Java\\\\\\\\JAVA-20210607T081428Z-001\\\\\\\\JAVA\\\\\\\\quanlydienmay\\\\\\\\Images\\\\\\\\exit.png\\\")); // NOI18N\\n jButton2.setText(\\\"Đóng Form\\\");\\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(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 .addComponent(jScrollPane2, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 655, Short.MAX_VALUE)\\n .addGroup(layout.createSequentialGroup()\\n .addContainerGap()\\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(jLabel5))\\n .addGap(18, 18, 18)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\\n .addComponent(cbbmanv, 0, 187, Short.MAX_VALUE)\\n .addComponent(txtmahd)\\n .addComponent(cbbmakh, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\\n .addComponent(txtngaylap))\\n .addGap(18, 18, 18)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\\n .addComponent(btnthoat, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\\n .addComponent(btnthem, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\\n .addComponent(btnsua, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\\n .addComponent(btnxoa, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))\\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE))\\n .addGap(18, 18, 18)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addComponent(jButton2, 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 .addContainerGap())\\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(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\\n .addComponent(jLabel1)\\n .addGap(18, 18, 18)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\\n .addComponent(jLabel2)\\n .addComponent(txtmahd, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(btnthoat))\\n .addGap(35, 35, 35)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\\n .addComponent(jLabel3)\\n .addComponent(cbbmakh, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(btnthem))\\n .addGap(18, 18, 18))\\n .addGroup(layout.createSequentialGroup()\\n .addGap(49, 49, 49)\\n .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 102, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addGap(34, 34, 34)))\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)\\n .addGroup(layout.createSequentialGroup()\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\\n .addComponent(jLabel4)\\n .addComponent(cbbmanv, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(btnsua))\\n .addGap(18, 18, 18)\\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\\n .addComponent(jLabel5)\\n .addComponent(txtngaylap, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addComponent(btnxoa)))\\n .addComponent(jButton2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\\n .addGap(18, 18, 18)\\n .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 275, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\\n );\\n\\n pack();\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"37a5472d5b0f35cf64a077bc1dd978c4","score":"0.7319277","text":"public Form() {\n initComponents();\n }","title":""},{"docid":"2901c5027f800c57f8efe188557aec1f","score":"0.72890127","text":"public MainForm() {\n initComponents();\n }","title":""},{"docid":"2901c5027f800c57f8efe188557aec1f","score":"0.72890127","text":"public MainForm() {\n initComponents();\n }","title":""},{"docid":"4a684241247ae1821b0cbb873290726f","score":"0.7248202","text":"public form() {\n initComponents();\n }","title":""},{"docid":"1be330851d52c0e98f0142d47217e225","score":"0.7197499","text":"public MainForm() {\n initComponents();\n\n }","title":""},{"docid":"bc41d3bffeb7dbcfbf2f44322ad0f0f5","score":"0.7185469","text":"public FieldsUI() {\n initComponents();\n }","title":""},{"docid":"50749155e30b2f928a36c79c2632a1ca","score":"0.7184422","text":"public ModifyForm() {\n initComponents();\n }","title":""},{"docid":"f872135ad16353dd7eb56a8157fb05f6","score":"0.7172702","text":"public MenuForm() {\n initComponents();\n }","title":""},{"docid":"02fc1cd3687593536aea2820b4b02e4f","score":"0.71614355","text":"public PointOfSaleForm() {\n setResizable(false);\n initComponents();\n }","title":""},{"docid":"459d80e36bd077856d1a97639abe7487","score":"0.71056277","text":"public menuform() {\n initComponents();\n }","title":""},{"docid":"13a6b8b61cd3d3cc3e5df11e4c1e527b","score":"0.7103959","text":"public penyetoran() {\n initComponents();\n }","title":""},{"docid":"bcb29122f68215b1f21048662f4932c2","score":"0.7071296","text":"public Main_form() {\r\n initComponents();\r\n ///setGuessmenu();\r\n \r\n }","title":""},{"docid":"e7c2be9504b858f91d013d68f9197b23","score":"0.706968","text":"public frmDiem() {\n initComponents();\n }","title":""},{"docid":"4eed22d07a8234824cd95adaea0622f7","score":"0.7066449","text":"public NewOrderGUI() {\n initComponents();\n }","title":""},{"docid":"2b36b1ad4052b154444626c2dee7e732","score":"0.704939","text":"public FormTimKiemNhansu() {\n initComponents();\n setLocationRelativeTo(this);\n }","title":""},{"docid":"e9937a5dab0edb574bdad09a05ef58f4","score":"0.70432144","text":"public Creador() {\n initComponents();\n }","title":""},{"docid":"b8df136839c01062b214e6346cfd920d","score":"0.7011511","text":"public fr5() {\n initComponents();\n }","title":""},{"docid":"2b6af7cbb7609cc3f7c26a71a1884a85","score":"0.7009577","text":"public khachhangform() {\n initComponents();\n setLocationRelativeTo(null);\n init();\n }","title":""},{"docid":"97304b5ac5bc2ccdae8751d1c4e2e187","score":"0.6985771","text":"public QuickEventsForm()\r\n\t{\r\n\t\t// reset();\r\n\t}","title":""},{"docid":"31d9c7e1b72766daaa1e24db26c54715","score":"0.6969739","text":"public JF_Volumenes() {\n initComponents();\n }","title":""},{"docid":"601872819c05c31c146b6f0815b0648e","score":"0.696957","text":"public frmMaquinaCafe() {\n initComponents();\n }","title":""},{"docid":"ecc552ea9b5288639da0aa1107ff8d0d","score":"0.6968785","text":"public FormDoiMatKhau() {\n initComponents();\n }","title":""},{"docid":"62586e11bb883916dd5a3329fb2c5553","score":"0.6962302","text":"public frmMapa2() {\n initComponents();\n }","title":""},{"docid":"60b34612ce780b108f79f636ca763794","score":"0.69616836","text":"public FormShowWhatYouKnow() {\n initComponents();\n }","title":""},{"docid":"398719df95a9de50ef46268ee1e27903","score":"0.6960218","text":"@SuppressWarnings(\"unchecked\")\n // //GEN-BEGIN:initComponents\n private void initComponents() {\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n }","title":""},{"docid":"b8f565dd04b95165747119bcfa160c92","score":"0.69476044","text":"public GUICadFilme() {\n initComponents();\n }","title":""},{"docid":"cbbe83fa29889d320473b1c28157a1c2","score":"0.694233","text":"public JournalForm() {\n initComponents();\n }","title":""},{"docid":"abca895b2170b8f8186464c00859db0a","score":"0.6940033","text":"public Kuis1() {\n initComponents();\n }","title":""},{"docid":"554bd75800ae6a86451ecb2b88b767bc","score":"0.6936908","text":"public MakePDMForm() {\r\n initComponents();\r\n }","title":""},{"docid":"554c1f6229e654b183122ff63f3af8ea","score":"0.6932843","text":"public FinacialForm() {\r\n initComponents();\r\n }","title":""},{"docid":"498caa6ec0aa832b0d857fa6fe94afce","score":"0.6932431","text":"public NewInscrForm() {\n initComponents();\n setTitle(\"Online Prospect - BETA\");\n }","title":""},{"docid":"017662ac0d9ed640fb93c71b69b1e992","score":"0.69262594","text":"public LapPhieuKhamBenh() {\n initComponents();\n }","title":""},{"docid":"86f0455d153516ee6db63189c62382db","score":"0.6914839","text":"public formPizza() {\n initComponents();\n }","title":""},{"docid":"8134476dc6b52000055c99fefdb483bc","score":"0.6910647","text":"@SuppressWarnings(\"unchecked\")\n // //GEN-BEGIN:initComponents\n private void initComponents() {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n\n pack();\n }","title":""},{"docid":"3df4ccf56cd9db0c16ad1ca59148b7ab","score":"0.68994","text":"public primerForm() {\n initComponents();\n }","title":""},{"docid":"7e07cba2f4adbda493a8bf31b189cc81","score":"0.6894896","text":"public frmAddSinhVien() {\n initComponents();\n }","title":""},{"docid":"c25397b43a5b10f0ca00621b0aeff0e0","score":"0.6893579","text":"public NewSponsorHierarchyForm() {\r\n initComponents();\r\n }","title":""},{"docid":"20fc80dec928352715051bee1e68d03a","score":"0.6884312","text":"public LuasBangun() {\n initComponents();\n }","title":""},{"docid":"eeb5cc5851f7e15056acb7c1ada13390","score":"0.6881658","text":"public FormLeaderboard() {\n initComponents();\n }","title":""},{"docid":"9a58265e205ed1d3e2b60ee6169ef336","score":"0.68615377","text":"public frmClientes() {\n initComponents();\n }","title":""},{"docid":"13eb432242a170ba8bb6ab65a6067512","score":"0.68522066","text":"public frmMain() {\n initComponents();\n }","title":""},{"docid":"b17dd0fef4b037f6f786495942a51f51","score":"0.68488747","text":"@SuppressWarnings(\"unchecked\")\n // //GEN-BEGIN:initComponents\n private void initComponents() {\n\n setBorder(javax.swing.BorderFactory.createCompoundBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0), 5), javax.swing.BorderFactory.createEmptyBorder(1, 1, 1, 1)));\n setName(\"\"); // NOI18N\n addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n formActionPerformed(evt);\n }\n });\n }","title":""},{"docid":"348f66370ce4a5c305424210c217d393","score":"0.6847758","text":"public EditForm() {\n initComponents();\n }","title":""},{"docid":"749e3e2c8fbf77ae31c8fac1bb9b8314","score":"0.68429786","text":"public NuevaForm() {\n initComponents();\n \n \n \n \n }","title":""},{"docid":"47386faed0f3822ec8dc503391bd3cd6","score":"0.6842946","text":"public FactureForm() {\n initComponents();icon();\n }","title":""},{"docid":"df1d522ff45cba630973ce56d008aefd","score":"0.68390673","text":"public pred() {\n initComponents();\n }","title":""},{"docid":"8188750cb79530bff966a6e73364203e","score":"0.68349075","text":"public JfrmKhoa() {\n initComponents();\n }","title":""},{"docid":"10220cc7194fb60b7300261a7e71be33","score":"0.68340576","text":"public JournalEntryForm() {\n // Init UI components.\n jbInit();\n addListeners();\n\n // Center on screen.\n Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();\n setLocation(\n (screenSize.width - getWidth()) / 2,\n (screenSize.height - getHeight()) / 2);\n }","title":""},{"docid":"bd880ad057e2bee5e0dbc5945f0139f2","score":"0.68188334","text":"public ColaboradorUI() {\n initComponents();\n }","title":""},{"docid":"9a83e5e3318b3993c42660e377abdbf4","score":"0.680208","text":"public TestForm() {\n initComponents();\n }","title":""},{"docid":"000a6f51483e408ee19cb29edf67d0fb","score":"0.68016297","text":"public Frm_KayitOl() {\n initComponents();\n }","title":""},{"docid":"d6539064ebb7230083776231e6efc28a","score":"0.6801072","text":"public frmDerivadores() {\n initComponents();\n }","title":""},{"docid":"645a6a52093411179074bf92f1f1ff2a","score":"0.6786603","text":"public Janela6() {\n initComponents();\n }","title":""},{"docid":"fd76275761777c0deaeeb6825a759f4d","score":"0.67834985","text":"public Credits_GUI() {\n initComponents();\n }","title":""},{"docid":"d9d9d04b322185e26763df5fdc26ebaf","score":"0.6769842","text":"public DangNhap() {\n initComponents();\n }","title":""},{"docid":"cb437b5edd16f6082b76655992b4a371","score":"0.6767831","text":"public NewAFN() {\n initComponents();\n }","title":""},{"docid":"24d9ebd87c2d5000e870fddfac1c2147","score":"0.67671984","text":"public TAddForm() {\n initComponents();\n }","title":""},{"docid":"7a13c6af15a9917ac82e432484e07362","score":"0.6762579","text":"public JFrmPrincipal() {\n initComponents();\n }","title":""},{"docid":"aa3abb7761a1bd8544accf31cccd0df2","score":"0.6760013","text":"public frmCadEntradaEst() {\n initComponents();\n }","title":""},{"docid":"a3797ab5c28ed3b99e245168b3a38bac","score":"0.6745367","text":"public creditframe() {\n initComponents();\n }","title":""},{"docid":"041359f889c5ce55848778624c14e8f5","score":"0.67426354","text":"public DronesGUI() {\n initComponents();\n }","title":""},{"docid":"269cc728d6e1d63631797bde47ef4ef5","score":"0.67425567","text":"public formVehiculo() {\n initComponents();\n setTitle(\"Vehiculo\");\n setLocationRelativeTo(null);\n setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);\n setVisible(true);\n }","title":""},{"docid":"3a36831d23cf052c8a6127c53d190b56","score":"0.6736046","text":"public frmAnimal5() {\n initComponents();\n }","title":""},{"docid":"ec71a1ae7b557368ad7b538ca33a7936","score":"0.67335117","text":"public _StockGUI() {\n initComponents();\n }","title":""},{"docid":"f34b058ac0206ba07aac79347505d8a6","score":"0.6729516","text":"public EhhsistantGUI() {\n initComponents();\n }","title":""},{"docid":"60fa791df61c65e1cc06aac16865531c","score":"0.67252696","text":"public InventoryForm() {\n initComponents();\n loadTableWithData();\n jTextField_Code.requestFocus();\n }","title":""},{"docid":"044b56e56253da4639326c506255780c","score":"0.6723471","text":"public RecruiterInterviewEdit() {\n initComponents();\n }","title":""},{"docid":"20b8cfe4054dc5794fcbbbc85739af1a","score":"0.67224985","text":"public RegisterForm() {\n initComponents();\n this.setLocationRelativeTo(null);\n }","title":""},{"docid":"6f7ae6eaebe00f3a1c9073bfdeecf825","score":"0.6719528","text":"public BASIC_FORM_LIST_EXAMPLE() {\n initComponents();\n }","title":""},{"docid":"742a2f8d003b65cd86646333fc1cb654","score":"0.67177945","text":"public registerForm() {\n initComponents();\n this.setLocationRelativeTo(null); // to center the lgin form\n }","title":""},{"docid":"aad0349c09ed74473c1f9a3404e60157","score":"0.67129433","text":"public paitnt() {\n initComponents();\n }","title":""},{"docid":"a41106fa544d7d2fd334575876c3e7cf","score":"0.67077494","text":"public MainUI() {\n initComponents();\n }","title":""},{"docid":"4c140868c16c2f64c53e85783c61ef8d","score":"0.6703057","text":"public Fenster() {\n initComponents();\n }","title":""},{"docid":"cf03399c69d5faa304aae35d722cc3a2","score":"0.6700016","text":"@SuppressWarnings(\"unchecked\")\n // //GEN-BEGIN:initComponents\n private void initComponents() {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\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 .addGap(0, 573, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 398, Short.MAX_VALUE)\n );\n\n pack();\n }","title":""},{"docid":"5c7b9a7bbbe454729341c581d9404cc4","score":"0.66985494","text":"public Penyedia() {\n initComponents();\n }","title":""},{"docid":"1a1950e3481a2e47d236981c2ed942f1","score":"0.6698134","text":"@SuppressWarnings(\"unchecked\")\r\n // //GEN-BEGIN:initComponents\r\n private void initComponents() {\r\n\r\n setLayout(new java.awt.BorderLayout());\r\n }","title":""},{"docid":"86e5434b654a350dac98c1e213d55772","score":"0.669614","text":"public MemberUpdateUI() {\n initComponents();\n }","title":""},{"docid":"e7f4260f8ae0a95e6bcc5a346359217b","score":"0.66902196","text":"public MaterialEdit() {\n\t\tsuper();\n\t\tname = new JTextField(\"Name\");\n\t\tprice = new JTextField(\"0.00\");\n\t\tquantity = new JTextField(\"0\");\n\t\tacquired = new JCheckBox();\n\t\tinitialize();\n\t}","title":""},{"docid":"b492458252864af0895fa9948fa05534","score":"0.6688194","text":"public FormulirMahasiswa1() {\n initComponents();\n this.setTitle(\"Formulir Penilaian\");\n this.setLocationRelativeTo(this);\n nilaiangka.setEnabled(false);\n nilaihuruf.setEnabled(false);\n nama.setEnabled(false);\n }","title":""},{"docid":"3092538fa1aeb0e888827eefe645a72e","score":"0.66824156","text":"public StudentDataUI() {\n initComponents();\n }","title":""},{"docid":"c7e10ad8fca36e35e5d12f6c63643553","score":"0.6682272","text":"public frmPaciente() {\n initComponents();\n }","title":""},{"docid":"9c710eea7ae348d99ee55ec7265da139","score":"0.667962","text":"public UI() {\n initComponents();\n this.setLocationRelativeTo(null);\n }","title":""},{"docid":"bb5cae1afb535b9b545ea956539570a8","score":"0.6674925","text":"public frmEjercicio5() {\n initComponents();\n setLocationRelativeTo(null);\n }","title":""},{"docid":"90fffd9f31b75d680f6f212aca220584","score":"0.6674417","text":"public viewform1() {\n initComponents();\n }","title":""},{"docid":"a5fd3f96af8f03b66c04f0ac58f3ff20","score":"0.6673699","text":"@SuppressWarnings(\"unchecked\")\n // //GEN-BEGIN:initComponents\n private void initComponents() {\n\n setBackground(null);\n setForeground(null);\n setEnabled(false);\n setFocusable(false);\n setMaximumSize(new java.awt.Dimension(100, 50));\n setMinimumSize(new java.awt.Dimension(100, 50));\n setPreferredSize(preferredSize());\n setRequestFocusEnabled(false);\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 .addGap(0, 100, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 50, Short.MAX_VALUE)\n );\n }","title":""},{"docid":"a853cc59f14631fe2374c2690549fcb6","score":"0.66733426","text":"public QuestionAnswersForm() {\r\n initComponents();\r\n }","title":""},{"docid":"74acb3a8d1949578d99bb55fbe992a54","score":"0.6673154","text":"@SuppressWarnings(\"unchecked\")\n // //GEN-BEGIN:initComponents\n private void initComponents() {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\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 .addGap(0, 715, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 508, Short.MAX_VALUE)\n );\n\n pack();\n }","title":""},{"docid":"5d5d873cfcd4de7744b8b57163d8553c","score":"0.6673007","text":"public Fine() {\n initComponents();\n }","title":""},{"docid":"40f19e8a2ec781de929c8389a58c7116","score":"0.6672747","text":"@SuppressWarnings(\"unchecked\")\n // //GEN-BEGIN:initComponents\n private void initComponents() {\n\n setLayout(new java.awt.BorderLayout());\n }","title":""},{"docid":"40f19e8a2ec781de929c8389a58c7116","score":"0.6672747","text":"@SuppressWarnings(\"unchecked\")\n // //GEN-BEGIN:initComponents\n private void initComponents() {\n\n setLayout(new java.awt.BorderLayout());\n }","title":""},{"docid":"40f19e8a2ec781de929c8389a58c7116","score":"0.6672747","text":"@SuppressWarnings(\"unchecked\")\n // //GEN-BEGIN:initComponents\n private void initComponents() {\n\n setLayout(new java.awt.BorderLayout());\n }","title":""},{"docid":"dee7c967a70374bf6208d47f5aa9bb8b","score":"0.66706425","text":"public PaymentForm() {\n initComponents();\n }","title":""},{"docid":"2b2621407970317c039acd7ef909f49d","score":"0.66704154","text":"public CandidateUI() {\n initComponents();\n }","title":""},{"docid":"297ad179d435c1c0782e8b4f82715869","score":"0.6667575","text":"public DoiMatKhau() {\n initComponents();\n this.setLocationRelativeTo(null);// chinh form ra giua man hinh\n }","title":""},{"docid":"a5b98006b2b5bedee4eba285213efc6d","score":"0.66662294","text":"@SuppressWarnings(\"unchecked\")\n // //GEN-BEGIN:initComponents\n private void initComponents() {\n\n label1 = new java.awt.Label();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);\n\n label1.setAlignment(java.awt.Label.CENTER);\n label1.setText(\"Nothing to see here yet =)\");\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(label1, javax.swing.GroupLayout.DEFAULT_SIZE, 239, Short.MAX_VALUE)\n .addContainerGap())\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(22, 22, 22)\n .addComponent(label1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(20, Short.MAX_VALUE))\n );\n\n pack();\n }","title":""},{"docid":"33d4bb5f4765957027c39bbc7133281a","score":"0.66661847","text":"public Requsetform() \n {\n initComponents();\n setResizable(false);\n getRootPane().setDefaultButton(jButton1);\n setLocationRelativeTo(null);\n }","title":""},{"docid":"c73268eefc7a7022e29fe6e1c1d0ed5c","score":"0.6666044","text":"public InitUI2() {\n initComponents();\n }","title":""},{"docid":"0ad1ce74acfc509e1a85d3aa588a495d","score":"0.66647327","text":"public frmCalculadora() {\n initComponents();\n }","title":""},{"docid":"dc7a4591eec0dd6b7ffe3d6bcc1bcdf9","score":"0.6663152","text":"public JFrame() {\n initComponents();\n }","title":""},{"docid":"dc7a4591eec0dd6b7ffe3d6bcc1bcdf9","score":"0.6663152","text":"public JFrame() {\n initComponents();\n }","title":""},{"docid":"5bb3ed051b477ba1eeff8c749f9f4bbb","score":"0.6662278","text":"public Latihan4() {\n initComponents();\n }","title":""}],"string":"[\n {\n \"docid\": \"37a5472d5b0f35cf64a077bc1dd978c4\",\n \"score\": \"0.7319277\",\n \"text\": \"public Form() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2901c5027f800c57f8efe188557aec1f\",\n \"score\": \"0.72890127\",\n \"text\": \"public MainForm() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2901c5027f800c57f8efe188557aec1f\",\n \"score\": \"0.72890127\",\n \"text\": \"public MainForm() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a684241247ae1821b0cbb873290726f\",\n \"score\": \"0.7248202\",\n \"text\": \"public form() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1be330851d52c0e98f0142d47217e225\",\n \"score\": \"0.7197499\",\n \"text\": \"public MainForm() {\\n initComponents();\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc41d3bffeb7dbcfbf2f44322ad0f0f5\",\n \"score\": \"0.7185469\",\n \"text\": \"public FieldsUI() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"50749155e30b2f928a36c79c2632a1ca\",\n \"score\": \"0.7184422\",\n \"text\": \"public ModifyForm() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f872135ad16353dd7eb56a8157fb05f6\",\n \"score\": \"0.7172702\",\n \"text\": \"public MenuForm() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"02fc1cd3687593536aea2820b4b02e4f\",\n \"score\": \"0.71614355\",\n \"text\": \"public PointOfSaleForm() {\\n setResizable(false);\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"459d80e36bd077856d1a97639abe7487\",\n \"score\": \"0.71056277\",\n \"text\": \"public menuform() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13a6b8b61cd3d3cc3e5df11e4c1e527b\",\n \"score\": \"0.7103959\",\n \"text\": \"public penyetoran() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bcb29122f68215b1f21048662f4932c2\",\n \"score\": \"0.7071296\",\n \"text\": \"public Main_form() {\\r\\n initComponents();\\r\\n ///setGuessmenu();\\r\\n \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e7c2be9504b858f91d013d68f9197b23\",\n \"score\": \"0.706968\",\n \"text\": \"public frmDiem() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4eed22d07a8234824cd95adaea0622f7\",\n \"score\": \"0.7066449\",\n \"text\": \"public NewOrderGUI() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2b36b1ad4052b154444626c2dee7e732\",\n \"score\": \"0.704939\",\n \"text\": \"public FormTimKiemNhansu() {\\n initComponents();\\n setLocationRelativeTo(this);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e9937a5dab0edb574bdad09a05ef58f4\",\n \"score\": \"0.70432144\",\n \"text\": \"public Creador() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b8df136839c01062b214e6346cfd920d\",\n \"score\": \"0.7011511\",\n \"text\": \"public fr5() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2b6af7cbb7609cc3f7c26a71a1884a85\",\n \"score\": \"0.7009577\",\n \"text\": \"public khachhangform() {\\n initComponents();\\n setLocationRelativeTo(null);\\n init();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"97304b5ac5bc2ccdae8751d1c4e2e187\",\n \"score\": \"0.6985771\",\n \"text\": \"public QuickEventsForm()\\r\\n\\t{\\r\\n\\t\\t// reset();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"31d9c7e1b72766daaa1e24db26c54715\",\n \"score\": \"0.6969739\",\n \"text\": \"public JF_Volumenes() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"601872819c05c31c146b6f0815b0648e\",\n \"score\": \"0.696957\",\n \"text\": \"public frmMaquinaCafe() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ecc552ea9b5288639da0aa1107ff8d0d\",\n \"score\": \"0.6968785\",\n \"text\": \"public FormDoiMatKhau() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"62586e11bb883916dd5a3329fb2c5553\",\n \"score\": \"0.6962302\",\n \"text\": \"public frmMapa2() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"60b34612ce780b108f79f636ca763794\",\n \"score\": \"0.69616836\",\n \"text\": \"public FormShowWhatYouKnow() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"398719df95a9de50ef46268ee1e27903\",\n \"score\": \"0.6960218\",\n \"text\": \"@SuppressWarnings(\\\"unchecked\\\")\\n // //GEN-BEGIN:initComponents\\n private void initComponents() {\\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b8f565dd04b95165747119bcfa160c92\",\n \"score\": \"0.69476044\",\n \"text\": \"public GUICadFilme() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cbbe83fa29889d320473b1c28157a1c2\",\n \"score\": \"0.694233\",\n \"text\": \"public JournalForm() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"abca895b2170b8f8186464c00859db0a\",\n \"score\": \"0.6940033\",\n \"text\": \"public Kuis1() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"554bd75800ae6a86451ecb2b88b767bc\",\n \"score\": \"0.6936908\",\n \"text\": \"public MakePDMForm() {\\r\\n initComponents();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"554c1f6229e654b183122ff63f3af8ea\",\n \"score\": \"0.6932843\",\n \"text\": \"public FinacialForm() {\\r\\n initComponents();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"498caa6ec0aa832b0d857fa6fe94afce\",\n \"score\": \"0.6932431\",\n \"text\": \"public NewInscrForm() {\\n initComponents();\\n setTitle(\\\"Online Prospect - BETA\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"017662ac0d9ed640fb93c71b69b1e992\",\n \"score\": \"0.69262594\",\n \"text\": \"public LapPhieuKhamBenh() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"86f0455d153516ee6db63189c62382db\",\n \"score\": \"0.6914839\",\n \"text\": \"public formPizza() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8134476dc6b52000055c99fefdb483bc\",\n \"score\": \"0.6910647\",\n \"text\": \"@SuppressWarnings(\\\"unchecked\\\")\\n // //GEN-BEGIN:initComponents\\n private void initComponents() {\\n\\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\\n\\n pack();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3df4ccf56cd9db0c16ad1ca59148b7ab\",\n \"score\": \"0.68994\",\n \"text\": \"public primerForm() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7e07cba2f4adbda493a8bf31b189cc81\",\n \"score\": \"0.6894896\",\n \"text\": \"public frmAddSinhVien() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c25397b43a5b10f0ca00621b0aeff0e0\",\n \"score\": \"0.6893579\",\n \"text\": \"public NewSponsorHierarchyForm() {\\r\\n initComponents();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"20fc80dec928352715051bee1e68d03a\",\n \"score\": \"0.6884312\",\n \"text\": \"public LuasBangun() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eeb5cc5851f7e15056acb7c1ada13390\",\n \"score\": \"0.6881658\",\n \"text\": \"public FormLeaderboard() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a58265e205ed1d3e2b60ee6169ef336\",\n \"score\": \"0.68615377\",\n \"text\": \"public frmClientes() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13eb432242a170ba8bb6ab65a6067512\",\n \"score\": \"0.68522066\",\n \"text\": \"public frmMain() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b17dd0fef4b037f6f786495942a51f51\",\n \"score\": \"0.68488747\",\n \"text\": \"@SuppressWarnings(\\\"unchecked\\\")\\n // //GEN-BEGIN:initComponents\\n private void initComponents() {\\n\\n setBorder(javax.swing.BorderFactory.createCompoundBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0), 5), javax.swing.BorderFactory.createEmptyBorder(1, 1, 1, 1)));\\n setName(\\\"\\\"); // NOI18N\\n addActionListener(new java.awt.event.ActionListener() {\\n public void actionPerformed(java.awt.event.ActionEvent evt) {\\n formActionPerformed(evt);\\n }\\n });\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"348f66370ce4a5c305424210c217d393\",\n \"score\": \"0.6847758\",\n \"text\": \"public EditForm() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"749e3e2c8fbf77ae31c8fac1bb9b8314\",\n \"score\": \"0.68429786\",\n \"text\": \"public NuevaForm() {\\n initComponents();\\n \\n \\n \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47386faed0f3822ec8dc503391bd3cd6\",\n \"score\": \"0.6842946\",\n \"text\": \"public FactureForm() {\\n initComponents();icon();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"df1d522ff45cba630973ce56d008aefd\",\n \"score\": \"0.68390673\",\n \"text\": \"public pred() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8188750cb79530bff966a6e73364203e\",\n \"score\": \"0.68349075\",\n \"text\": \"public JfrmKhoa() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"10220cc7194fb60b7300261a7e71be33\",\n \"score\": \"0.68340576\",\n \"text\": \"public JournalEntryForm() {\\n // Init UI components.\\n jbInit();\\n addListeners();\\n\\n // Center on screen.\\n Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();\\n setLocation(\\n (screenSize.width - getWidth()) / 2,\\n (screenSize.height - getHeight()) / 2);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bd880ad057e2bee5e0dbc5945f0139f2\",\n \"score\": \"0.68188334\",\n \"text\": \"public ColaboradorUI() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a83e5e3318b3993c42660e377abdbf4\",\n \"score\": \"0.680208\",\n \"text\": \"public TestForm() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"000a6f51483e408ee19cb29edf67d0fb\",\n \"score\": \"0.68016297\",\n \"text\": \"public Frm_KayitOl() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d6539064ebb7230083776231e6efc28a\",\n \"score\": \"0.6801072\",\n \"text\": \"public frmDerivadores() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"645a6a52093411179074bf92f1f1ff2a\",\n \"score\": \"0.6786603\",\n \"text\": \"public Janela6() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fd76275761777c0deaeeb6825a759f4d\",\n \"score\": \"0.67834985\",\n \"text\": \"public Credits_GUI() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d9d9d04b322185e26763df5fdc26ebaf\",\n \"score\": \"0.6769842\",\n \"text\": \"public DangNhap() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cb437b5edd16f6082b76655992b4a371\",\n \"score\": \"0.6767831\",\n \"text\": \"public NewAFN() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"24d9ebd87c2d5000e870fddfac1c2147\",\n \"score\": \"0.67671984\",\n \"text\": \"public TAddForm() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7a13c6af15a9917ac82e432484e07362\",\n \"score\": \"0.6762579\",\n \"text\": \"public JFrmPrincipal() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aa3abb7761a1bd8544accf31cccd0df2\",\n \"score\": \"0.6760013\",\n \"text\": \"public frmCadEntradaEst() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a3797ab5c28ed3b99e245168b3a38bac\",\n \"score\": \"0.6745367\",\n \"text\": \"public creditframe() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"041359f889c5ce55848778624c14e8f5\",\n \"score\": \"0.67426354\",\n \"text\": \"public DronesGUI() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"269cc728d6e1d63631797bde47ef4ef5\",\n \"score\": \"0.67425567\",\n \"text\": \"public formVehiculo() {\\n initComponents();\\n setTitle(\\\"Vehiculo\\\");\\n setLocationRelativeTo(null);\\n setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);\\n setVisible(true);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a36831d23cf052c8a6127c53d190b56\",\n \"score\": \"0.6736046\",\n \"text\": \"public frmAnimal5() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ec71a1ae7b557368ad7b538ca33a7936\",\n \"score\": \"0.67335117\",\n \"text\": \"public _StockGUI() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f34b058ac0206ba07aac79347505d8a6\",\n \"score\": \"0.6729516\",\n \"text\": \"public EhhsistantGUI() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"60fa791df61c65e1cc06aac16865531c\",\n \"score\": \"0.67252696\",\n \"text\": \"public InventoryForm() {\\n initComponents();\\n loadTableWithData();\\n jTextField_Code.requestFocus();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"044b56e56253da4639326c506255780c\",\n \"score\": \"0.6723471\",\n \"text\": \"public RecruiterInterviewEdit() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"20b8cfe4054dc5794fcbbbc85739af1a\",\n \"score\": \"0.67224985\",\n \"text\": \"public RegisterForm() {\\n initComponents();\\n this.setLocationRelativeTo(null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f7ae6eaebe00f3a1c9073bfdeecf825\",\n \"score\": \"0.6719528\",\n \"text\": \"public BASIC_FORM_LIST_EXAMPLE() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"742a2f8d003b65cd86646333fc1cb654\",\n \"score\": \"0.67177945\",\n \"text\": \"public registerForm() {\\n initComponents();\\n this.setLocationRelativeTo(null); // to center the lgin form\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aad0349c09ed74473c1f9a3404e60157\",\n \"score\": \"0.67129433\",\n \"text\": \"public paitnt() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a41106fa544d7d2fd334575876c3e7cf\",\n \"score\": \"0.67077494\",\n \"text\": \"public MainUI() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4c140868c16c2f64c53e85783c61ef8d\",\n \"score\": \"0.6703057\",\n \"text\": \"public Fenster() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cf03399c69d5faa304aae35d722cc3a2\",\n \"score\": \"0.6700016\",\n \"text\": \"@SuppressWarnings(\\\"unchecked\\\")\\n // //GEN-BEGIN:initComponents\\n private void initComponents() {\\n\\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\\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 .addGap(0, 573, Short.MAX_VALUE)\\n );\\n layout.setVerticalGroup(\\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGap(0, 398, Short.MAX_VALUE)\\n );\\n\\n pack();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5c7b9a7bbbe454729341c581d9404cc4\",\n \"score\": \"0.66985494\",\n \"text\": \"public Penyedia() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1a1950e3481a2e47d236981c2ed942f1\",\n \"score\": \"0.6698134\",\n \"text\": \"@SuppressWarnings(\\\"unchecked\\\")\\r\\n // //GEN-BEGIN:initComponents\\r\\n private void initComponents() {\\r\\n\\r\\n setLayout(new java.awt.BorderLayout());\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"86e5434b654a350dac98c1e213d55772\",\n \"score\": \"0.669614\",\n \"text\": \"public MemberUpdateUI() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e7f4260f8ae0a95e6bcc5a346359217b\",\n \"score\": \"0.66902196\",\n \"text\": \"public MaterialEdit() {\\n\\t\\tsuper();\\n\\t\\tname = new JTextField(\\\"Name\\\");\\n\\t\\tprice = new JTextField(\\\"0.00\\\");\\n\\t\\tquantity = new JTextField(\\\"0\\\");\\n\\t\\tacquired = new JCheckBox();\\n\\t\\tinitialize();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b492458252864af0895fa9948fa05534\",\n \"score\": \"0.6688194\",\n \"text\": \"public FormulirMahasiswa1() {\\n initComponents();\\n this.setTitle(\\\"Formulir Penilaian\\\");\\n this.setLocationRelativeTo(this);\\n nilaiangka.setEnabled(false);\\n nilaihuruf.setEnabled(false);\\n nama.setEnabled(false);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3092538fa1aeb0e888827eefe645a72e\",\n \"score\": \"0.66824156\",\n \"text\": \"public StudentDataUI() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c7e10ad8fca36e35e5d12f6c63643553\",\n \"score\": \"0.6682272\",\n \"text\": \"public frmPaciente() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9c710eea7ae348d99ee55ec7265da139\",\n \"score\": \"0.667962\",\n \"text\": \"public UI() {\\n initComponents();\\n this.setLocationRelativeTo(null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bb5cae1afb535b9b545ea956539570a8\",\n \"score\": \"0.6674925\",\n \"text\": \"public frmEjercicio5() {\\n initComponents();\\n setLocationRelativeTo(null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"90fffd9f31b75d680f6f212aca220584\",\n \"score\": \"0.6674417\",\n \"text\": \"public viewform1() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a5fd3f96af8f03b66c04f0ac58f3ff20\",\n \"score\": \"0.6673699\",\n \"text\": \"@SuppressWarnings(\\\"unchecked\\\")\\n // //GEN-BEGIN:initComponents\\n private void initComponents() {\\n\\n setBackground(null);\\n setForeground(null);\\n setEnabled(false);\\n setFocusable(false);\\n setMaximumSize(new java.awt.Dimension(100, 50));\\n setMinimumSize(new java.awt.Dimension(100, 50));\\n setPreferredSize(preferredSize());\\n setRequestFocusEnabled(false);\\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 .addGap(0, 100, Short.MAX_VALUE)\\n );\\n layout.setVerticalGroup(\\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGap(0, 50, Short.MAX_VALUE)\\n );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a853cc59f14631fe2374c2690549fcb6\",\n \"score\": \"0.66733426\",\n \"text\": \"public QuestionAnswersForm() {\\r\\n initComponents();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"74acb3a8d1949578d99bb55fbe992a54\",\n \"score\": \"0.6673154\",\n \"text\": \"@SuppressWarnings(\\\"unchecked\\\")\\n // //GEN-BEGIN:initComponents\\n private void initComponents() {\\n\\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\\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 .addGap(0, 715, Short.MAX_VALUE)\\n );\\n layout.setVerticalGroup(\\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGap(0, 508, Short.MAX_VALUE)\\n );\\n\\n pack();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d5d873cfcd4de7744b8b57163d8553c\",\n \"score\": \"0.6673007\",\n \"text\": \"public Fine() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"40f19e8a2ec781de929c8389a58c7116\",\n \"score\": \"0.6672747\",\n \"text\": \"@SuppressWarnings(\\\"unchecked\\\")\\n // //GEN-BEGIN:initComponents\\n private void initComponents() {\\n\\n setLayout(new java.awt.BorderLayout());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"40f19e8a2ec781de929c8389a58c7116\",\n \"score\": \"0.6672747\",\n \"text\": \"@SuppressWarnings(\\\"unchecked\\\")\\n // //GEN-BEGIN:initComponents\\n private void initComponents() {\\n\\n setLayout(new java.awt.BorderLayout());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"40f19e8a2ec781de929c8389a58c7116\",\n \"score\": \"0.6672747\",\n \"text\": \"@SuppressWarnings(\\\"unchecked\\\")\\n // //GEN-BEGIN:initComponents\\n private void initComponents() {\\n\\n setLayout(new java.awt.BorderLayout());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dee7c967a70374bf6208d47f5aa9bb8b\",\n \"score\": \"0.66706425\",\n \"text\": \"public PaymentForm() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2b2621407970317c039acd7ef909f49d\",\n \"score\": \"0.66704154\",\n \"text\": \"public CandidateUI() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"297ad179d435c1c0782e8b4f82715869\",\n \"score\": \"0.6667575\",\n \"text\": \"public DoiMatKhau() {\\n initComponents();\\n this.setLocationRelativeTo(null);// chinh form ra giua man hinh\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a5b98006b2b5bedee4eba285213efc6d\",\n \"score\": \"0.66662294\",\n \"text\": \"@SuppressWarnings(\\\"unchecked\\\")\\n // //GEN-BEGIN:initComponents\\n private void initComponents() {\\n\\n label1 = new java.awt.Label();\\n\\n setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);\\n\\n label1.setAlignment(java.awt.Label.CENTER);\\n label1.setText(\\\"Nothing to see here yet =)\\\");\\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(label1, javax.swing.GroupLayout.DEFAULT_SIZE, 239, Short.MAX_VALUE)\\n .addContainerGap())\\n );\\n layout.setVerticalGroup(\\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\\n .addGroup(layout.createSequentialGroup()\\n .addGap(22, 22, 22)\\n .addComponent(label1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\\n .addContainerGap(20, Short.MAX_VALUE))\\n );\\n\\n pack();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"33d4bb5f4765957027c39bbc7133281a\",\n \"score\": \"0.66661847\",\n \"text\": \"public Requsetform() \\n {\\n initComponents();\\n setResizable(false);\\n getRootPane().setDefaultButton(jButton1);\\n setLocationRelativeTo(null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c73268eefc7a7022e29fe6e1c1d0ed5c\",\n \"score\": \"0.6666044\",\n \"text\": \"public InitUI2() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0ad1ce74acfc509e1a85d3aa588a495d\",\n \"score\": \"0.66647327\",\n \"text\": \"public frmCalculadora() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc7a4591eec0dd6b7ffe3d6bcc1bcdf9\",\n \"score\": \"0.6663152\",\n \"text\": \"public JFrame() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc7a4591eec0dd6b7ffe3d6bcc1bcdf9\",\n \"score\": \"0.6663152\",\n \"text\": \"public JFrame() {\\n initComponents();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5bb3ed051b477ba1eeff8c749f9f4bbb\",\n \"score\": \"0.6662278\",\n \"text\": \"public Latihan4() {\\n initComponents();\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":350,"cells":{"query_id":{"kind":"string","value":"f23d2c1213e338caf92d9f5617816843"},"query":{"kind":"string","value":"This method was generated by MyBatis Generator. This method corresponds to the database table manufacturing_feedback"},"positive_passages":{"kind":"list like","value":[{"docid":"61550d6795b020c3d5f07ce94a601b5b","score":"0.0","text":"long countByExample(ManufacturingFeedbackExample example);","title":""}],"string":"[\n {\n \"docid\": \"61550d6795b020c3d5f07ce94a601b5b\",\n \"score\": \"0.0\",\n \"text\": \"long countByExample(ManufacturingFeedbackExample example);\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"d46bc8f50ec1d9e821b4f6ab8b737cdf","score":"0.6261485","text":"@Override\n\t//1.method to get all the feedback details saved in the database\n\tpublic List getFeedback() throws SQLException {\n\t\tArrayList feedback1= new ArrayList();\n\t\t\ttry{\n\t\t\t\tstate=con.getConnection().createStatement();//executing a query\n\t\t\t\tString sql=\"select * from feedback\";\n\t\t\t\tResultSet result= state.executeQuery(sql);\t\t\t\n\t\t\t\t\n\t\t\t\t//assigned details retrieved from the database to variables\n\t\t\t\twhile(result.next()) {\n\t\t\t\t\tint Feedback_ID=result.getInt(1);\n\t\t\t\t\tint Cus_ID=result.getInt(2);\n\t\t\t\t\tString Email=result.getString(3);\n\t\t\t\t\tString Date=result.getString(4);\n\t\t\t\t\tString Type=result.getString(5);\n\t\t\t\t\tString Message=result.getString(6);\n\t\t\t\t\tint Rating=result.getInt(7);\n\t\t\t\t\tString Status=result.getString(8);\n\t\t\t\t\t\n\t\t\t\t\tFeedback f1 = new Feedback(Feedback_ID,Cus_ID, Email, Date, Type,Message, Rating, Status);\n\t\t\t\t\tfeedback1.add(f1);\n\t\t\t\t}\n\t\t\t}catch (Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t//return the feedback array object\n\t\treturn feedback1;\n\t}","title":""},{"docid":"b81d2c6b450e46802f7b4e4238598d4b","score":"0.6083528","text":"ManufacturingFeedback selectByPrimaryKey(Integer id);","title":""},{"docid":"fa696d927eaeaeb87c3bbf74461efd33","score":"0.591391","text":"@Override\n\tpublic int generateFeedback(FeedbackForm feedbackForm)\n\t\t\tthrows ClassNotFoundException, IOException {\n\t\tint i=0;\n\t\tPreparedStatement ps=null;\n\t\tString str = \"insert into FEEDBACK_FORM values (?,?,?,?,?,?)\";\n\t\n\t\ttry\n\t\t{\n\t\t\tConnection con = ConnectionHelper.getMySqlConnection();\n\t\t\t\n\t\t\tps=con.prepareStatement(str);\n\t\t\tps.setInt(1,feedbackForm.getFeedback_id());\n\t\t\tps.setInt(2, feedbackForm.getTraining_id());\n\t\t\tps.setInt(3, feedbackForm.getBatch_id());\n\t\t\tps.setString(4, feedbackForm.getFaculty_name());\n\t\t\tps.setString(5, feedbackForm.getFeedback_date());\n\t\t\tps.setString(6, feedbackForm.getStatus());\n\t\t\t//System.out.println(ps);\n\t\t\ti= ps.executeUpdate();\n\t\t\tSystem.out.println(\"IN DAOimpl after insert query\");\n\t\t\t\n\t\t\tSystem.out.println(i);\n\t\t\tcon.commit();\n\t\t\tcon.close();\n\t\t}\n\t\tcatch(SQLException e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\treturn i;\n\t}","title":""},{"docid":"9319414e8e90edf983e9925120d86559","score":"0.57502073","text":"public Set getAllFeedbacks() throws SQLException, ClassNotFoundException;","title":""},{"docid":"4cbb00bc1a9f6178b650878b19d6c571","score":"0.56480736","text":"@Override\n\tpublic Set viewFeedbackReport() {\n\t\tICrudOperation iCrudOperation = new FeedbackDaoImpl();\n\t\tSet feedbackset = iCrudOperation.retrieveAll();\n\t\treturn feedbackset;\n\t}","title":""},{"docid":"a42f25aaabea172c563583e0ae39c445","score":"0.5456191","text":"@Override\n\tpublic List getAllFeedbacks() {\n\t\treturn dao.findAll();\n\t}","title":""},{"docid":"3e403be6d6f452a790d18877a0ad9798","score":"0.54106337","text":"List selectByExample(ManufacturingFeedbackExample example);","title":""},{"docid":"0e6d57431910783afb3c21b68581c2e4","score":"0.53607166","text":"@WebMethod\n\tpublic Vector getFeedback(){\n\t\tVector fb = dbManager.retrieveFeedback();\n\t\treturn fb;\n\t}","title":""},{"docid":"9135ba3ed2708cc267e8945b9ec3df74","score":"0.52485436","text":"public void saveFeedback(Feedback feedback) throws SQLException, ClassNotFoundException;","title":""},{"docid":"a19be9a352bacac69dba8ab9487f55c4","score":"0.5230298","text":"public int getFeedbackId() {\n return feedbackId;\n }","title":""},{"docid":"bbd7a7e03996cbf6bcf16abf4583cf84","score":"0.52056944","text":"List selectByExampleSelective(@Param(\"example\") ManufacturingFeedbackExample example, @Param(\"selective\") ManufacturingFeedback.Column ... selective);","title":""},{"docid":"ca5f2807a1d93cb5f4043e1d9119cf32","score":"0.5148446","text":"int insertSelective(ManufacturingFeedback record);","title":""},{"docid":"1160b2f9b1381a7ae73323c3eec2704e","score":"0.5116336","text":"public void setFeedback(String feedback) {\n this.feedback = feedback;\n }","title":""},{"docid":"d42f8a65e1e9bbf750b9861cbe0a2478","score":"0.50539345","text":"public String getFeedback() {\n return this.feedback;\n }","title":""},{"docid":"052f86572ed8b9775e813da15fce4841","score":"0.5030062","text":"ManufacturingFeedback selectOneByExampleSelective(@Param(\"example\") ManufacturingFeedbackExample example, @Param(\"selective\") ManufacturingFeedback.Column ... selective);","title":""},{"docid":"07769935434895fbd27231eac4bdf1e8","score":"0.50148624","text":"@Override\n\t\t\tpublic List viewfeedback() {\n\t\t\t\treturn reportRepository.viewfeedback();\n\t\t\t}","title":""},{"docid":"bcbeead34a37b9ae1df83f514d6d95fd","score":"0.5012551","text":"SysFeedbackMedia selectByPrimaryKey(Long feedbackMediaId);","title":""},{"docid":"a1df5ddb3ba84281bfeddefa1bc49d55","score":"0.50072896","text":"ManufacturingFeedback selectByPrimaryKeySelective(@Param(\"id\") Integer id, @Param(\"selective\") ManufacturingFeedback.Column ... selective);","title":""},{"docid":"1f163db39562576fa00c4ab54ced54e4","score":"0.5006063","text":"public interface FeedbackDAO {\n\n ArrayList selectData();\n void insertData(Feedback feedback);\n}","title":""},{"docid":"4a3dd11a0c1abf47da7b571885dcfb94","score":"0.4950769","text":"public String toSql(){\r\n\t\treturn \"Not implemented\";\r\n\t}","title":""},{"docid":"076197a951da79070841a9b493549f43","score":"0.49168596","text":"int insert(ManufacturingFeedback record);","title":""},{"docid":"56b3173e0cd1aad0cc041cdec1b71d1d","score":"0.49159914","text":"@Override\n\tpublic List getSumNow(Feedback feedback) throws Exception {\n\t\treturn feedbackDao.getSumNow(feedback);\n\t}","title":""},{"docid":"bf4d5dfede1852301efd2b44b4b0e88e","score":"0.49014628","text":"ManufacturingFeedback selectOneByExample(ManufacturingFeedbackExample example);","title":""},{"docid":"3ce54bd55e5a08e81bd10b9e6d20eaee","score":"0.4878812","text":"@Override\n\tpublic List getCountNow(Feedback feedback) {\n\t\treturn feedbackDao.getCountNow(feedback);\n\t}","title":""},{"docid":"74898faf115c5c806dc18c215171566c","score":"0.4875151","text":"@Override\r\n\tpublic int insertFeedback(CrFeedbackDTO crFeedbackDTO) {\n\t\treturn 0;\r\n\t}","title":""},{"docid":"289a7c1dc9acedc4bab1491a971e751b","score":"0.48719653","text":"@Repository\npublic interface FeedbackMapper {\n\n public List getAllFeedback();\n\n public int addFeedback(Feedback feedback);\n\n}","title":""},{"docid":"c8aca8c983da5f50052014a452b9b632","score":"0.48451474","text":"@Override\r\n\tpublic CrFeedbackDTO selectFeedback(String crSubasgnCode) {\n\t\treturn null;\r\n\t}","title":""},{"docid":"aef6f782149125f9f8ffb202e4a5d5d4","score":"0.4836934","text":"int updateByPrimaryKey(ManufacturingFeedback record);","title":""},{"docid":"156f00369a53c4b2430d9a7f7b433927","score":"0.48290676","text":"@Override\n\tpublic List findUntreated() throws Exception {\n\t\tFeedbackExample feedbackExample = new FeedbackExample();\n\t\tFeedbackExample.Criteria criteria = feedbackExample.createCriteria();\n\t\tcriteria.andFeedbackStateEqualTo(0);\n\t\treturn feedbackMapper.selectUnionByExample(feedbackExample);\n\t}","title":""},{"docid":"2eacae99b7ba145e8462aa98fedc67d6","score":"0.48275194","text":"int updateByPrimaryKeySelective(ManufacturingFeedback record);","title":""},{"docid":"d2118df5e97d221a78a13e34c0d0c53e","score":"0.48249933","text":"PlayerFeedback selectByPrimaryKey(Integer id);","title":""},{"docid":"e92f32e63fd88cda87987c3ee2ff2865","score":"0.47977284","text":"@RequestMapping(\"/addFeedback\")\r\n //public String addFeedback(@RequestParam(\"name\") String name, @RequestParam(\"email\") String email, @RequestParam(\"reg\") String reg, @RequestParam(\"code\") String code,@RequestParam(\"msg\") String msg, @RequestParam(\"rating\") int rating){\r\n public String addFeedback(@ModelAttribute Feedback feedback){\n fdao.addFeedback(feedback);\r\n return \"welcome.jsp\";\r\n }","title":""},{"docid":"8eebc9124de8f8cfdc664ca704195169","score":"0.47758567","text":"@Override\n\tpublic void delete(MeetingFeedback meeetingFeedback) {\n\t\tjdbcTemplate.update(DELETE_MEETING_FEEDBACK_SQL, meeetingFeedback.getId());\n\t}","title":""},{"docid":"992b9ebefb96b99361bce38c0f5a39a4","score":"0.47548282","text":"public interface RequestFundsMapper {\r\n\t\r\n\t/*@Select(\"SELECT * FROM user_ WHERE userId = #{userId}\")\r\n\tpublic User searchBasedOnSacwisId(@Param(\"userId\") String userId);*/\r\n\t\r\n\tstatic final String SQL=\"select SACWIS.GET_PERSON_NAME_FORMAT(p.person_id, 'LSFM') as personFullName, nvl(to_char(p.birth_date,'mm/dd/yyyy'), ' ') as dob, p.person_id as sacwisId,nvl(RD.SHORT_DESC,' ') as type,\"+\r\n \" nvl(to_char(lb.official_date,'mm/dd/yyyy'),' ') as custodyDate, nvl(ag.agency_name,' ') as custody, ag.agency_id as custodyAgencyId , ps.placement_setting_id as placement_id, nvl(st.service_desc,' ') as serviceDesc, nvl(e.IVE_ELIGIBLE_INDICATOR,' ') as iveReimbursable, cp.case_id as caseId \"+\r\n\t\t\t\" from sacwis.case_participant cp inner join sacwis.case_participant cRefPerson on cp.case_id = cRefPerson.case_id and cRefPerson.reference_person_flag = 1 \"+\r\n\t\t\t\" inner join sacwis.person p on p.person_id = cp.person_id \"+ \r\n\t\t\t\" left outer join SACWIS.CASE_PARTICIPANT_RELN cpr \"+ //only get relationships that are 'to' the case reference person \r\n\t\t\t\" on cpr.case_id = cp.case_id and cpr.dest_person_id = cp.person_id and cpr.SOURCE_PERSON_ID = cRefPerson.person_id \"+\r\n\t\t\t\" left outer join SACWIS.REF_DATA RD on RD.REF_DATA_CODE = cpr.RELATIONSHIP_CODE and RD.DOMAIN_CODE = 'Relationship' \"+\r\n\t\t\t\" left outer join SACWIS.LEGAL_CUSTODY_EPISODE lce on lce.PERSON_ID = cp.PERSON_ID and nvl(lce.CREATED_IN_ERROR_FLAG,0) = 0 \"+\r\n\t\t\t\" left outer join sacwis.legal_status_info lsi on lsi.LEGAL_CUSTODY_EPISODE_ID = lce.LEGAL_CUSTODY_EPISODE_ID \"+\r\n\t\t \" left outer join sacwis.legal_base lb on lb.legal_base_id = lsi.legal_base_id \"+\r\n\t\t\t\" left outer join SACWIS.LEGAL_CUSTODY_AGENCY_LINK lcal on lcal.LEGAL_CUSTODY_EPISODE_ID = lce.LEGAL_CUSTODY_EPISODE_ID \"+\r\n\t\t\t\" left outer join agency ag on ag.agency_id = lcal.agency_id \"+\r\n\t\t\t\" left outer join SACWIS.PLACEMENT_SETTING ps on ps.CHILD_ID = lce.PERSON_ID \"+\r\n \" and nvl(ps.END_REASON_CODE,'NULL') <> 'CREATEDINERROR' \"+\r\n\t\t\t\" left outer join SACWIS.service_type st on st.service_id = ps.service_id \"+\r\n \" left outer join SACWIS.ELIGIBILITY e \"+ \r\n \" on E.PERSON_ID = CP.PERSON_ID and e.TERMINATION_DATE is null and nvl(e.CREATED_IN_ERROR_FLAG, 0) = 0 \"+\r\n \" where cp.case_id = #{caseId} and cp.CURRENT_STATUS_CODE = 'ACTIVE' and (lce.LEGAL_CUSTODY_EPISODE_id is null \"+ \r\n \" or lb.Official_DATE = (select max(lb.official_date) from legal_base lb \"+\r\n \" inner join legal_status_info lsi on lsi.legal_base_id = lb.legal_base_id \"+\r\n \" inner join legal_participants lp on lp.legal_base_id = lb.legal_base_id where lp.person_id = cp.person_id \"+ \r\n \" and nvl(lsi.CREATED_IN_ERROR_FLAG,0) = 0)) and (ps.placement_setting_id is null or ps.begin_date = (select max(ps.begin_date) \"+ \r\n \" from placement_setting ps where ps.child_id = cp.person_id and nvl(ps.END_REASON_CODE,'**NULL**') <> 'CREATEDINERROR')) order by custody nulls first\";\r\n\t\r\n\tstatic final String SAMPLE=\"select case_id as caseId from sacwis.case_participant where rownum=1\";\r\n\t\r\n\tstatic final String CASE_SQL = \"select GET_PERSON_FULL_NAME(SACWIS.GETEMPLOYEEPERSON_ID(SACWIS.GET_PRIMARY_WORKER(#{caseId}, null))) as caseWorker, \"+\r\n\t\t\t\t\"(CB.LAST_NAME||', '|| CB.FIRST_NAME ||DECODE(CB.MIDDLE_NAME,NULL, ' ',CB.MIDDLE_NAME ))AS caseName, su.person_id as requestingCaseWorker from WORK_ASSIGNMENT WA \"\r\n\t\t\t\t+ \"inner join workload_item wi on wi.workload_item_id = wa.workload_item_id \"\r\n\t\t\t\t+ \" inner join EMPLOYEE E on E.EMPLOYEE_ID = WA.EMPLOYEE_ID \"\r\n\t\t\t\t+ \" inner join SECURITY_USER SU on SU.EMPLOYEE_ID = E.EMPLOYEE_ID \"\r\n\t\t\t\t+ \" inner join CASE_BASE CB on CB.CASE_ID = WI.WORK_ITEM_ID \"\r\n\t\t\t\t+ \" where wi.work_item_id = #{caseId} and wi.work_item_type_code = 'CASE' and su.end_date is null and rownum =1\";\r\n\t\r\n\tstatic final String INSERT_REQUEST_FUNDS = \" INSERT INTO REQUEST_FUNDS(CASE_ID, REQUESTED_DATE, \tCASE_WORKER_REQUESTING,\tCASE_WORKER , \tCASE_NAME ,\tWORKER_PHONE, DONATION , PREPLACEMENT , \"\r\n\t\t\t+ \" AFTERCARE_INDEPENDENCE, KINSHIP_CARE, OPERATING, FAMILY_REUNIFICATION, ALTERNATIVE_RESPONSE, PERSON_RESPFOR_PURCHASE, REQUEST_PURPOSE, \"\r\n\t\t\t+ \" OTHERCOMMRESCONTACTED, TOTALAMTREQUESTED, DATE_REQUIRED, FUND_MODE, FUND_DELIVERY_TYPE, PAYMENT_MADE_FOR, OTHER_INSTRUCTIONS, \"\r\n\t\t\t+ \"\tFURNITURE_DELIVERY_ADDRESS, BUDGET_CENTER, LINEITEM, STATUS_CODE , APPROVER_NAME, APPROVER, CREATED_DATE, CREATED_BY, \"\r\n\t\t\t+ \"\tMODIFIED_DATE, MODIFIED_BY) VALUES \"\r\n\t\t\t+ \"\t(#{caseId}, #{requestedDate}, #{requestingCaseWorker}, #{caseWorker}, #{caseName}, #{workerPhoneNumber}, #{donation}, #{prePlacement}, #{afterCareIndependence}, #{kinshipCare}, \"\r\n\t\t\t+ \" #{operating}, #{familyReunification}, #{alternativeResponse}, #{personRespForPurchase}, #{requestPurpose}, #{otherCommResContacted}, #{totalAmtRequested}, #{dateRequired}, \"\r\n\t\t\t+ \" #{fundMode}, #{fundDeliveryType} ,#{paymentMadeFor}, #{otherInstructions}, #{furnitureDeliveryAddress}, #{budgetCenter}, #{lineItem} \"\r\n\t\t\t+ \"\t, #{statusCode}\t, #{approverName}, #{approver}, #{createdDate},#{createdBy}, #{modifiedDate}, #{modifiedby})\";\r\n\r\n\tstatic final String INSERT_REQUEST_FUNDS_PARTICIPANT =\"INSERT INTO REQUEST_FUNDS_PARTICIPANT(\tREQUEST_FUNDS_ID, PERSON_ID, PERSON_NAME, BIRTH_DATE, RELATIONSHIP_TYPE_CODE, \"\r\n\t\t\t+ \"\tCUSTODY, CUSTODY_AGENCY_ID,\tPLACEMENT_ID, SERVICE_DESC, CUSTODY_DATE,\tIVE_REIMBURSABLE_FLAG, CREATED_DATE ,CREATED_BY , \"\r\n\t\t\t+ \"\tMODIFIED_DATE ,\tMODIFIED_BY) VALUES\t(#{requestFundsId},#{sacwisId},#{personFullName},#{dob},#{type},#{custody},#{custodyAgencyId},#{placementId},#{serviceDesc},#{custodyDate} \"\r\n\t\t\t+ \"\t,#{iveReimbursable},#{createdDate},#{createdBy},#{modifiedDate},#{modifiedby})\";\r\n\r\n\r\n\tstatic final String UPDATE_REQUEST_FUNDS= \"UPDATE REQUEST_FUNDS SET CASE_ID =#{caseId} , REQUESTED_DATE=#{requestedDate}, \"\r\n\t\t\t+ \"\tCASE_WORKER_REQUESTING=#{requestingCaseWorker},\tCASE_WORKER=#{caseWorker} , \tCASE_NAME=#{caseName} ,\tWORKER_PHONE=#{workerPhoneNumber}, \"\r\n\t\t\t+ \"\tDONATION=#{donation} , PREPLACEMENT=#{prePlacement} , \"\r\n\t\t\t+ \"\tAFTERCARE_INDEPENDENCE=#{afterCareIndependence}, KINSHIP_CARE=#{kinshipCare}, OPERATING=#{operating}, FAMILY_REUNIFICATION=#{familyReunification}, \"\r\n\t\t\t+ \"\tALTERNATIVE_RESPONSE=#{alternativeResponse}, PERSON_RESPFOR_PURCHASE=#{personRespForPurchase}, REQUEST_PURPOSE=#{requestPurpose}, \"\r\n\t\t\t+ \"\tOTHERCOMMRESCONTACTED=#{otherCommResContacted}, TOTALAMTREQUESTED=#{totalAmtRequested}, DATE_REQUIRED=#{dateRequired}, \"\r\n\t\t\t+ \"\tFUND_MODE=#{fundMode}, FUND_DELIVERY_TYPE=#{fundDeliveryType}, PAYMENT_MADE_FOR=#{paymentMadeFor}, OTHER_INSTRUCTIONS=#{otherInstructions}, \"\r\n\t\t\t+ \"\tFURNITURE_DELIVERY_ADDRESS=#{furnitureDeliveryAddress}, BUDGET_CENTER=#{budgetCenter}, LINEITEM=#{lineItem}, STATUS_CODE=#{statusCode} ,\"\r\n\t\t\t+ \" APPROVER_NAME= #{approverName}, APPROVER=#{approver}, CREATED_DATE= #{createdDate}, CREATED_BY=#{createdBy}, \"\r\n\t\t\t+ \"\tMODIFIED_DATE=#{modifiedDate}, MODIFIED_BY=#{modifiedby}\";\r\n\t\r\n\tstatic final String RETRIEVE_REQUEST_FUNDS_REQUESTS = \"select REQUEST_FUNDS_ID as id, case_id as caseId, case_name as caseName, case_worker as caseWorker, created_date as createdDate from request_funds where STATUS_CODE = #{statusCode}\";\r\n\t\r\n\tstatic final String RETRIEVE_FUND_REQUEST_BY_ID = \"select REQUEST_FUNDS_ID as id, CASE_ID as caseId, ISNULL(convert(char, REQUESTED_DATE, 101), '') as requestedDate, CASE_WORKER_REQUESTING as requestingCaseWorker, \" +\r\n\t\t\t\t\t\t\t\t\t\t\t\t\"CASE_WORKER as caseWorker ,CASE_NAME as caseName, WORKER_PHONE as worcharkerPhoneNumber, DONATION as donation, PREPLACEMENT as prePlacement, \" +\r\n\t\t\t\t\t\t\t\t\t\t\t\t\"AFTERCARE_INDEPENDENCE as afterCareIndependence, KINSHIP_CARE as kinshipCare, OPERATING as operating, FAMILY_REUNIFICATION as familyReunification, \" +\r\n\t\t\t\t\t\t\t\t\t\t\t\t\"ALTERNATIVE_RESPONSE as alternativeResponse, PERSON_RESPFOR_PURCHASE as personRespForPurchase, REQUEST_PURPOSE as requestPurpose, \" +\r\n\t\t\t\t\t\t\t\t\t\t\t\t\"OTHERCOMMRESCONTACTED as otherCommResContacted, TOTALAMTREQUESTED as totalAmtRequested, ISNULL(convert(char, DATE_REQUIRED, 101), '') as dateRequired, FUND_MODE as fundMode, \" +\r\n\t\t\t\t\t\t\t\t\t\t\t\t\"FUND_DELIVERY_TYPE as fundDeliveryType, PAYMENT_MADE_FOR as paymentMadeFor, OTHER_INSTRUCTIONS as otherInstructions, FURNITURE_DELIVERY_ADDRESS as furnitureDeliveryAddress, \" +\r\n\t\t\t\t\t\t\t\t\t\t\t\t\"BUDGET_CENTER as budgetCenter, LINEITEM as lineItem, STATUS_CODE as statusCode, APPROVER_NAME as approverName, APPROVER as approver, \" +\r\n\t\t\t\t\t\t\t\t\t\t\t\t\"CREATED_DATE as createdDate, CREATED_BY as createdBy, MODIFIED_DATE as modifiedDate, MODIFIED_BY as modifiedby \" +\r\n\t\t\t\t\t\t\t\t\t\t\t\t\"from request_funds where request_funds_id = #{id}\";\r\n\t\r\n\tstatic final String RETRIEVE_FUND_REQUEST_PARTICIPANTS_BY_ID = \"select REQUEST_FUNDS_PARTICIPANT_ID as id, REQUEST_FUNDS_ID as requestFundsId, PERSON_ID as sacwisId, \" +\r\n\t\t\t\t\"PERSON_NAME as personFullName,ISNULL(convert(char, BIRTH_DATE, 101), '') as dob, RELATIONSHIP_TYPE_CODE as type, CUSTODY as custody, CUSTODY_AGENCY_ID as custodyAgencyId, \" +\r\n\t\t\t\t\"PLACEMENT_ID as placementId, SERVICE_DESC as serviceDesc,ISNULL(convert(char, CUSTODY_DATE, 101), '') as custodyDate, IVE_REIMBURSABLE_FLAG as iveReimbursable, CREATED_DATE as createdDate, CREATED_BY as createdBy, \" +\r\n\t\t\t\t\"MODIFIED_DATE as modifiedDate, MODIFIED_BY as modifiedby from REQUEST_FUNDS_PARTICIPANT where REQUEST_FUNDS_ID = #{requestFundsId}\";\r\n\t\r\n\tstatic final String UPDATE_REQUEST_FUNDS_STATUS = \"UPDATE REQUEST_FUNDS SET STATUS_CODE=#{statusCode} , MODIFIED_DATE=#{modifiedDate} where REQUEST_FUNDS_ID=#{id}\";\r\n\t\r\n\t@Select(SQL)\r\n\tpublic List searchBasedOnSacwisId(@Param(\"caseId\") String caseId);\r\n\t\r\n\t@Select(CASE_SQL)\r\n\tpublic List retrieveCaseDetails(@Param(\"caseId\") String caseId);\r\n\t\r\n\t@Insert(INSERT_REQUEST_FUNDS)\r\n\t@Options(useGeneratedKeys = true, keyProperty = \"id\", keyColumn = \"REQUEST_FUNDS_ID\")\r\n\tpublic int insertFundRequest(RequestFunds requestFund);\r\n\r\n\t@Insert(INSERT_REQUEST_FUNDS_PARTICIPANT)\r\n\t@Options(useGeneratedKeys = true, keyProperty = \"id\", keyColumn = \"REQUEST_FUNDS_PARTICIPANT_ID\")\r\n\tpublic int insertFundRequestParticipant(CaseParticipant requestFundsParticipant);\r\n\t\r\n\t@Update(UPDATE_REQUEST_FUNDS)\r\n\tpublic int updateFundRequest(RequestFunds requestFund);\r\n\t\r\n\t@Select(RETRIEVE_REQUEST_FUNDS_REQUESTS)\r\n\tpublic List retrieveRequestFundsRequests(@Param(\"statusCode\") BigDecimal statusCode);\r\n\t\r\n\t@Select(RETRIEVE_FUND_REQUEST_BY_ID)\r\n\tpublic List retrieveFundsRequestById(@Param(\"id\") String requestFundId);\r\n\t\r\n\t@Select(RETRIEVE_FUND_REQUEST_PARTICIPANTS_BY_ID)\r\n\tpublic List retrieveFundsRequestParticipantsById(@Param(\"requestFundsId\") String requestFundId);\r\n\t\r\n\t@Update(UPDATE_REQUEST_FUNDS_STATUS)\r\n\tpublic int updateFundRequestStatus(@Param(\"id\") BigDecimal id, @Param(\"modifiedDate\") Date modifiedDate, @Param(\"statusCode\") BigDecimal statusCode);\r\n}","title":""},{"docid":"a027c84e0627d633dfce3e3d6be0532c","score":"0.47423172","text":"@Override\n\tpublic Feedback findFeedback(Long feedbackId) throws Exception {\n\t\tFeedback feedback = feedbackMapper.selectByPrimaryKey(feedbackId);\n\t\treturn feedback;\n\t}","title":""},{"docid":"ff42872f1c1adb8719bd294daf2253a0","score":"0.4739534","text":"@Override\n public void migrate(CaaersDataMigrationContext context){\n String query = \"select so.study_id, md.id, md.brand_name, md.common_name, md.device_type,md.manufacturer_name, \" +\n \"md.manufacturer_city, md.manufacturer_state, md.model_number, md.catalog_number \" +\n \"from ae_medical_devices md \" +\n \"join ae_reports r on r.id = md.report_id \" +\n \"join ae_reporting_periods rp on rp.id = r.reporting_period_id \" +\n \"join participant_assignments a on rp.assignment_id=a.id \" +\n \"join study_organizations so on so.id = a.study_site_id \" +\n \"order by so.study_id\";\n \n\n HashMap> studyDeviceMap =\n (HashMap>)getJdbcTemplate().query(query, new ResultSetExtractor(){\n public Object extractData(ResultSet rs) throws SQLException, DataAccessException {\n //a data structure to hold the merged study device -to- medical device mapping.\n final HashMap> studyDeviceMap = new HashMap>();\n String studyId = null;\n ArrayList studyDeviceWrapperList = null;\n while(rs.next()){\n\n studyId = getString(rs, 1);\n String mdId = getString(rs, 2);\n\n StudyDevice sd = new StudyDevice();\n sd.setOtherBrandName(getString(rs, 3));\n sd.setOtherCommonName(getString(rs, 4));\n sd.setOtherDeviceType(getString(rs, 5));\n sd.setManufacturerName(getString(rs, 6) );\n sd.setManufacturerCity(getString(rs, 7));\n sd.setManufacturerState(getString(rs, 8) );\n sd.setModelNumber(getString(rs, 9));\n sd.setCatalogNumber(getString(rs, 10) );\n\n studyDeviceWrapperList = studyDeviceMap.get(studyId);\n if(studyDeviceWrapperList == null){\n //new study \n studyDeviceWrapperList = new ArrayList();\n studyDeviceMap.put(studyId, studyDeviceWrapperList);\n }\n StudyDeviceWrapper wrapper = StudyDeviceWrapper.findStudyDeviceWrapper(studyDeviceWrapperList, sd);\n if(wrapper == null){\n //new study device\n wrapper = new StudyDeviceWrapper(studyId, sd, mdId);\n studyDeviceWrapperList.add(wrapper);\n }else{\n //merge to existing study device\n wrapper.addMedicalDeviceId(mdId);\n }\n\n \n }\n return studyDeviceMap; \n }\n\n //some PostgresSQL driver will throw NPE when column is SQL NULL\n // so this workaround....\n public String getString(ResultSet rs , int index) throws SQLException{ \n Object o = rs.getObject(index);\n if(o == null) return null;\n return String.valueOf(o);\n }\n });\n\n //now generate the batch statements.\n ArrayList sqls = new ArrayList();\n for(String key : studyDeviceMap.keySet()){\n ArrayList wrapperList = studyDeviceMap.get(key);\n for(StudyDeviceWrapper wrapper : wrapperList){\n sqls.add(generateInsertStudyDeviceSQL(context, wrapper)); //insert study device.\n sqls.addAll(generateUpdateMedicalDeviceSQL(wrapper)); // scripts to udpate the medical device\n }\n }\n\n if(log.isDebugEnabled()){\n log.debug(\"SQLs to run [MedicalDeviceDataMigrator] ...\" );\n for(String sql : sqls) log.debug(\" >>> \" + sql);\n }\n if(!sqls.isEmpty())\n getJdbcTemplate().batchUpdate(sqls.toArray(new String[]{}));\n }","title":""},{"docid":"37fd664f489d60c32c0cb80f2ea37039","score":"0.47252455","text":"@Override\n public Class getRecordType() {\n return AssessmentAssessmentfeedbackAssessmentsRecord.class;\n }","title":""},{"docid":"c0a7f3f1f73d71353b896002b75cddf5","score":"0.47174302","text":"@Select({\n \"select\",\n \"serial_id, order_no, guide_price, meet_order_no, meet_guide_id, meet_order_type, \",\n \"meet_order_service_time, meet_order_address, is_match, update_time, create_time\",\n \"from `trade_order_serial`\",\n \"where serial_id = #{serialId,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"serial_id\", property=\"serialId\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"order_no\", property=\"orderNo\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"guide_price\", property=\"guidePrice\", jdbcType=JdbcType.DOUBLE),\n @Result(column=\"meet_order_no\", property=\"meetOrderNo\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"meet_guide_id\", property=\"meetGuideId\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"meet_order_type\", property=\"meetOrderType\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"meet_order_service_time\", property=\"meetOrderServiceTime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"meet_order_address\", property=\"meetOrderAddress\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"is_match\", property=\"isMatch\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"update_time\", property=\"updateTime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"create_time\", property=\"createTime\", jdbcType=JdbcType.TIMESTAMP)\n })\n TradeOrderSerial selectByPrimaryKey(Integer serialId);","title":""},{"docid":"a395fa79fe83880759630c0bbdcb92a0","score":"0.47120643","text":"public String getGeneralFeedback() {\r\n return this.generalFeedback;\r\n }","title":""},{"docid":"488ef24af40d9e035e074e70c990dacd","score":"0.47005823","text":"@Override\r\n\tpublic String getTableInfoSql() {\n\t\tthrow new RuntimeException(\"不支持创建表信息!\");\r\n\t}","title":""},{"docid":"e0dc44a41e4c9bb23cf8329423bba9c1","score":"0.46948472","text":"@RequestMapping(\"/feedback\")\n public String feedback(HttpServletRequest p_request, ModelMap p_model)\n {\n\t\ttry{\n\t\t\t\n\t\t\t\tlogger.info(\"feedback functionality\");\n\t\n\t\t\t\tHttpSession session = p_request.getSession(false);\n\t\t\t\tp_model.addAttribute(JSONPN_STATUS, \"error\");\n\n\t\t\t\t// Validate authentication\n\t\t\t\tif (!SessionUtil.validateSession(session)) {\n\t\t\t\t\tp_model.addAttribute(JSONPN_STATUS, \"timeout\");\n\t\t\t\t\treturn \"../error/401\";\n\t\t\t\t}\n\t\t\t \t\n\t\t\t\t// feedback functionality for except administrator\n\t\t\t\t// if(!AppConstants.USER_TYPE_ADMIN.equals(account.getType())){\t\t\n\t\t\t\tObject accountObj = session.getAttribute(\"theAccount\");\n\t\t\t\tif (null == accountObj)\n\t\t\t\t\treturn \"false\";\n\t\t\t\tif (!(accountObj instanceof Account))\n\t\t\t\t\treturn \"false\";\n\t\t\t\tAccount account = (Account) accountObj;\n\t\t\t\t\n\t\t\t\t String srcLocale = p_request.getParameter(JSONPN_SOURCE_LOCALE);\n\t\t\t\t String trgLocale = p_request.getParameter(JSONPN_TARGET_LOCALE);\n\t\t\t\t MTPLanguagesDAO mtpLangDAO = DispatcherDAOFactory.getMTPLanguagesDAO();\n\t\t\t\t \n\t\t\t\tMachineTranslationProfile machineTranslationProfile = mtpLangDAO.getMTProfileObj(srcLocale,trgLocale);\n\t\t\t\tif(StringUtils.isNull(machineTranslationProfile)){\n\t\t\t\t\tlogger.info(\"Empty object found for Translation Profile\");\n\t\t\t\t\treturn \"Error\";\n\t\t\t\t}\n\t\t\t\t \n\t\t\t\t String srcLocaleTxt = p_request.getParameter(\"srcLocaleTxt\");\n\t\t\t\t String trgLocaleTxt = p_request.getParameter(\"trgLocaleTxt\");\n\t\t\t\t \n\t\t\t\t String srcText = p_request.getParameter(\"srcText\");\n\t\t\t\t String trgText = p_request.getParameter(\"trgText\");\n\t\t\t\t String usrFeedback = p_request.getParameter(\"usrFeedback\");\n\t\t\t\t \n\t\t\t\tlogger.info(\"Preparing mail body...\");\n\t\t\t\tlogger.info(\"MT Dispatcher’s User \"+account.getFullName()+\" (e-mail: \"+account.getEmail() +\") submitted feedback on performance of Microsoft Translator Hub.\");\n\t\t\t\tlogger.info(\"Language Pair: \"+srcLocaleTxt+\" - \"+trgLocaleTxt);\n\t\t\t\tlogger.info(\"Category ID: \"+machineTranslationProfile.getCategory());\n\t\t\t\tlogger.info(\"Text: \"+srcText);\n\t\t\t\tlogger.info(\"Translation: \"+trgText);\n\t\t\t\tlogger.info(\"Feedback: \"+usrFeedback);\n\t\t\t\t\n\t\t\t\t// Start Reading template file\n\t\t\t\tStringBuilder finalContent = new StringBuilder();\n\t\t\t\tString htmlMsg = \"\";\n\t\t\t\ttry {\n\t\t\t\t\t// Read template file\n\t\t\t\t\thtmlMsg = Util.readHtml(\"feedback_email_template.html\");\n\t\t\t\t\t// Add email content to the template text and set template text to finalContent\n\t\t\t\t\tfinalContent.append(Util.setValuesToHtml(htmlMsg, account,srcLocaleTxt,trgLocaleTxt,machineTranslationProfile,srcText,trgText,usrFeedback));\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\tlogger.error(\"Exception occured : \", e);\n\t\t\t\t\tthrow e;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tString emailBodyTxt = finalContent.toString();\n\t\t\t\t// End Reading template file \n\t\t\t\t\n\t\t\t\tlogger.info(trgText);\n\t\t\t\tlogger.info(\"Sending email regarding translation feedback...\");\n\t\n\t\t\t\tMailer mailer = new Mailer();\n\t\t\t\tmailer.sendMail(emailBodyTxt.toString(),account.getEmail());\n\t\t\t\t \n\t\t\t\tp_model.addAttribute(JSONPN_STATUS, \"success\");\n\t\t\t\t\n\t\t}catch(Exception e){\n\t\t\t\t\tp_model.addAttribute(JSONPN_STATUS, \"error\");\n\t\t\t\t\tlogger.error(\"Unable to send email for Feedback: \"+e.getMessage());\n\t\t}\n \t\t\t \t \n return \"success\";\n }","title":""},{"docid":"80dc3d450d1f9633189939c49da98ebd","score":"0.4694453","text":"public String getSQL();","title":""},{"docid":"1ade4fdb6c999d11a2c5abd4ddf522b9","score":"0.4681253","text":"@Override\n\tpublic FeedbackDAO getFeedbackDAO() {\n\t\treturn null;\n\t}","title":""},{"docid":"b841d3e22f1d16cc53d5f9e99614a6f0","score":"0.46712863","text":"private void supplierDetails() {\n int c;\n try {\n con = DBConnection.getConnection();\n prst = con.createStatement();\n String sql = \"select * from supplier\";\n \n PreparedStatement prst = con.prepareStatement(sql);\n ResultSet rs = prst.executeQuery();\n ResultSetMetaData Rss = rs.getMetaData();\n c = Rss.getColumnCount();\n DefaultTableModel dr = (DefaultTableModel) suplierTable.getModel();\n dr.setRowCount(0);\n while (rs.next()) {\n Vector v2 = new Vector();\n for (int a = 1; a <= c; a++) {\n v2.add(rs.getString(\"supplier_code\"));\n v2.add(rs.getString(\"supplier_name\"));\n v2.add(rs.getString(\"brand\"));\n v2.add(rs.getString(\"contact\"));\n v2.add(rs.getString(\"address\"));\n \n }\n dr.addRow(v2);\n }\n\n } catch (SQLException ex) {\n // Logger.getLogger(StudentRegistrationForm.class.getName()).log(Level.SEVERE, null, ex);\n }\n }","title":""},{"docid":"417c069227df031ac594bc217e341fed","score":"0.4670756","text":"public abstract String toSql();","title":""},{"docid":"99e3e01f7e9676bd5fa9614a91dd5b22","score":"0.46639395","text":"public feedback(String feedback_des) {\r\n feedbackDescription = feedback_des;\r\n }","title":""},{"docid":"7da53f8bbdc638221e938270660da675","score":"0.46588334","text":"public void createFeedback(int Rating, String Content) {\n FeedbackBuilder fb = new FeedbackBuilder();\n fb.setScore(Rating);\n UUID id = UUID.randomUUID();\n String FBID = \"Feedback \"+ id.toString();\n fb.setFeedbackID(FBID);\n fb.setContent(Content);\n Feedback fdbk = fb.getFeedback();\n this.feedbackList.add(fdbk);\n }","title":""},{"docid":"08727aab75147ca3239023f20e1e37b5","score":"0.4649842","text":"public Feedback getFeedback(int reqId);","title":""},{"docid":"9849472aa493ba0f888bfbad6421d8ff","score":"0.46235952","text":"public interface BlockedBonusInfoModelEMapper extends BaseMapper {\n /**\n * 被屏蔽补贴管理\n */\n @SelectProvider(type = BlockedBonusInfoModelEMapper.SubscribeLineProviderSql.class,method = \"getBlockedList\")\n public List getBlockedList(BlockedBonusBean blockedBonusBean);\n /**\n * 被屏蔽补贴管理页数\n */\n @SelectProvider(type = BlockedBonusInfoModelEMapper.SubscribeLineProviderSql.class,method = \"getBlockedCount\")\n public Integer getBlockedCount(BlockedBonusBean blockedBonusBean);\n\n\n //内部sql\n class SubscribeLineProviderSql {\n\n /**\n * 货被屏蔽补贴管理的总数\n *\n */\n public String getBlockedCount(final BlockedBonusBean blockedBonusBean){\n StringBuilder sb = new StringBuilder();\n sb.append(\" SELECT \");\n sb.append(\" COUNT(DISTINCT bi.id) \");\n sb.append(\" FROM \");\n sb.append(\" blockedBonusInfo bi \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" userDB.userInfo u1 on bi.userId = u1.id \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" userDB.userOtherInfo uo on uo.userId = u1.id \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" userDB.recommendRelationship rr on bi.recommendationId = rr.id \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" userDB.userInfo u2 on rr.recommendedUserId = u2.id \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" userDB.userOtherInfo ui on ui.userId = u2.id \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" manageDB.userAuditHistory ush ON u2.id = ush.sourceId \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" orderDB.orderInfo oi on bi.orderId = oi.id \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" orderDB.goodsInfo gi on oi.goodsId = gi.id \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" orderDB.goodsDetailInfo gd on gd.goodsId = gi.id \");\n sb.append(\" WHERE bi.deleted = 0 \");\n\n if (blockedBonusBean.getResource() != null && blockedBonusBean.getResource() != \"\"){\n sb.append(\" AND (u1.mobile = #{resource} or oi.orderNo = #{resource})\");\n }\n if (blockedBonusBean.getBlockMobile() != null && blockedBonusBean.getBlockMobile() != \"\"){\n sb.append(\" AND u1.mobile = #{blockMobile}\");\n }\n if (blockedBonusBean.getStartDate() != null){\n sb.append(\" and DATE_FORMAT(bi.createTime,'%Y/%m/%d') >= DATE_FORMAT(#{startDate},'%Y/%m/%d')\");\n }\n if (blockedBonusBean.getEndDate() != null){\n sb.append(\" and DATE_FORMAT(bi.createTime,'%Y/%m/%d') <= DATE_FORMAT(#{endDate},'%Y/%m/%d')\");\n }\n if (blockedBonusBean.getType() != null && blockedBonusBean.getType() > 0){\n sb.append(\" AND bi.type = #{type}\");\n }\n if (blockedBonusBean.getReason() != null && blockedBonusBean.getReason() > 0){\n sb.append(\" AND bi.reason = #{reason}\");\n }\n if (blockedBonusBean.getRecoMobile() != null && blockedBonusBean.getRecoMobile() != \"\"){\n sb.append(\" AND u2.mobile = #{recoMobile}\");\n }\n\n return sb.toString();\n }\n\n /**\n * 查询被屏蔽补贴管理分页\n */\n public String getBlockedList(final BlockedBonusBean blockedBonusBean){\n StringBuilder sb = new StringBuilder();\n sb.append(\" SELECT \");\n sb.append(\" DISTINCT \");\n sb.append(\" bi.id, bi.orderId, bi.reason, bi.remark, bi.status, bi.createTime,\");\n sb.append(\" bi.deleted, bi.version, bi.updateTime, bi.updateBy,IFNULL(ush.remark,'')as reditRemark,\");\n sb.append(\" bi.amount, bi.userId, bi.userName, bi.type, u2.id as recommendationId,oi.orderNo,\");\n sb.append(\" u1.mobile as blockMobile,u2.mobile as recoMobile,IFNULL(u2.username,u1.username) AS recoName,uo.registeredIMEI as blockIMEI,\");\n sb.append(\" ui.registeredIMEI as recoIMEI,gd.depart1,gd.depart2,gd.depart3,gd.destination1,gd.destination2,gd.destination3\");\n sb.append(\" FROM \");\n sb.append(\" blockedBonusInfo bi \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" userDB.userInfo u1 on bi.userId = u1.id \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" userDB.userOtherInfo uo on uo.userId = u1.id \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" userDB.recommendRelationship rr on bi.recommendationId = rr.id \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" userDB.userInfo u2 on rr.recommendedUserId = u2.id \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" userDB.userOtherInfo ui on ui.userId = u2.id \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" manageDB.userAuditHistory ush ON u2.id = ush.sourceId \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" orderDB.orderInfo oi on bi.orderId = oi.id \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" orderDB.goodsInfo gi on oi.goodsId = gi.id \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" orderDB.goodsDetailInfo gd on gd.goodsId = gi.id \");\n sb.append(\" WHERE bi.deleted = 0 \");\n\n if (blockedBonusBean.getResource() != null && blockedBonusBean.getResource() != \"\"){\n sb.append(\" AND (u1.mobile = #{resource} or oi.orderNo = #{resource})\");\n }\n if (blockedBonusBean.getBlockMobile() != null && blockedBonusBean.getBlockMobile() != \"\"){\n sb.append(\" AND u1.mobile = #{blockMobile}\");\n }\n if (blockedBonusBean.getStartDate() != null){\n sb.append(\" and DATE_FORMAT(bi.createTime,'%Y/%m/%d') >= DATE_FORMAT(#{startDate},'%Y/%m/%d')\");\n }\n if (blockedBonusBean.getEndDate() != null){\n sb.append(\" and DATE_FORMAT(bi.createTime,'%Y/%m/%d') <= DATE_FORMAT(#{endDate},'%Y/%m/%d')\");\n }\n if (blockedBonusBean.getType() != null && blockedBonusBean.getType() > 0){\n sb.append(\" AND bi.type = #{type}\");\n }\n if (blockedBonusBean.getReason() != null && blockedBonusBean.getReason() > 0){\n sb.append(\" AND bi.reason = #{reason}\");\n }\n if (blockedBonusBean.getRecoMobile() != null && blockedBonusBean.getRecoMobile() != \"\"){\n sb.append(\" AND u2.mobile = #{recoMobile}\");\n }\n sb.append(\" GROUP BY bi.id ORDER BY bi.id DESC \");\n if(blockedBonusBean.getOffset() >= 0){\n sb.append(\" LIMIT #{offset} , #{limit} \");\n }\n return sb.toString();\n }\n }\n\n}","title":""},{"docid":"70c7da440fed56c7d633bed35b3b5030","score":"0.46193376","text":"public String syncRatingColumns(){\n \r\n return \"Success\";\r\n }","title":""},{"docid":"3c84a859c88b47e287bf580e504b7aee","score":"0.45944157","text":"@Override\n\tpublic Feedback findById(Long feedbackId) throws Exception {\n\t\treturn feedbackMapper.selectByPrimaryKey(feedbackId);\n\t}","title":""},{"docid":"1e6126b94c55b56e4778fa377bb601ac","score":"0.45940614","text":"@Select({\n \"select\",\n \"id, goods_id, sta, start_time, end_time, time, flash_title, flash_picture\",\n \"from xxd_goods_flash\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"goods_id\", property=\"goodsId\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"sta\", property=\"sta\", jdbcType=JdbcType.SMALLINT),\n @Result(column=\"start_time\", property=\"startTime\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"end_time\", property=\"endTime\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"time\", property=\"time\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"flash_title\", property=\"flashTitle\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"flash_picture\", property=\"flashPicture\", jdbcType=JdbcType.VARCHAR)\n })\n XxdGoodsFlash selectByPrimaryKey(Integer id);","title":""},{"docid":"facdbd2b170a1d155a95fdb8009597f0","score":"0.459267","text":"public static void giveFeedback() {\r\n\t\tSystem.out.println(\"\\n\" + \"----Feeback Sheet----\");\r\n\t\tSystem.out.println(\"Please enter your name:\");\r\n\t\tString userName = Validation.stringValidation();\r\n\t\tSupplier selectedSup = Part02Tester.getSupplier();\r\n\t\tSystem.out.println(\"\\n\" + \"Please enter any feedback:\");\r\n\t\tString feedback = Validation.stringValidation();\r\n\t\t\r\n\t\tFeedback tempFeedback = new Feedback(userName, selectedSup, feedback);\r\n\t\t\r\n\t\tselectedSup.getFeedback().add(tempFeedback);\r\n\t}","title":""},{"docid":"092d5178963f5794385107d892605411","score":"0.4592153","text":"@RequestMapping(value = \"feedback\", method = RequestMethod.POST)\r\n public String saveFeedback(Feedback feedback) {\r\n feedbackService.saveFeedback(feedback);\r\n return \"redirect:/sentfeedback\";\r\n }","title":""},{"docid":"479f2ab4423384efc38dd70ab9223dbd","score":"0.45889446","text":"java.util.List getRatingMappingList() throws sust.classnotfound.touristfriend.exception.GenericBusinessException;","title":""},{"docid":"007daea7c4ea0efffd17e3f07aa56c15","score":"0.45879117","text":"public void feedback() {\n\t}","title":""},{"docid":"46db0a05dec3ef75d1193d12591d4109","score":"0.45848814","text":"public String toSqlf(){\r\n\t\treturn toSqlWith(\"\");\r\n\t}","title":""},{"docid":"09e12bfcef36e2c2d3117afdac2ae3ac","score":"0.4582435","text":"@Override\n\tpublic List ViewFeedbackForm() throws ClassNotFoundException,\n\t\t\tSQLException, IOException {\n\t\tList ls=new ArrayList();\n\t\ttry{\n\t\t\tConnection con=ConnectionHelper.getMySqlConnection();\n\t\t\tString sql=\"select * from feedback_form\";\n\t\t\tStatement st=con.createStatement();\n\t\t\tResultSet rs=st.executeQuery(sql);\n\t\t\twhile(rs.next())\n\t\t\t{\n\t\t\t\tFeedbackForm t= new FeedbackForm(rs.getInt(1),rs.getInt(2),rs.getInt(3),rs.getString(4),rs.getString(5),rs.getString(6));\n\t\t\t\tls.add(t);\n\t\t\t}\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\tSystem.out.println(e);\n\t\t}\n\t\t\n\t\t\n\t\treturn ls;\n\t}","title":""},{"docid":"f60b4b4d605482d01facdbd4bb2c5bdf","score":"0.4581767","text":"public List viewMonthlyFeedbackReport(String date){\n\t\tArrayList feed= new ArrayList();\n\t\ttry {\n\t\t\tstate=con.getConnection().createStatement();\n\t\t\tString sql=\"select * from feedback where month(Date)=extract(month from '\"+date+\"') and year(Date)=extract(year from '\"+date+\"')\";\n\t\t\tResultSet rs= state.executeQuery(sql);\n\t\t\t\n\t\t\twhile(rs.next()) {\n\t\t\t\tint Feedback_ID=rs.getInt(1);\n\t\t\t\tint Cus_ID= rs.getInt(2);\n\t\t\t\tString Email= rs.getString(3);\n\t\t\t\tString Date= rs.getString(4);\n\t\t\t\tString Message=rs.getString(6);\n\t\t\t\tString Status=rs.getString(8);\n\t\t\t\t\n\t\t\t\tFeedback f1= new Feedback(Feedback_ID,Cus_ID,Email,Date, Message, Status);\n\t\t\t\tfeed.add(f1);\n\t\t\t}\n\t\t\t\n\t\t}catch(Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn feed;\n\t}","title":""},{"docid":"11026c285916c3aa595e207ad5e9dd72","score":"0.45765555","text":"@Override\n\tpublic List getAllFeedback(long npi) {\n\t\treturn feedbackDAO.getAll(npi);\n\t}","title":""},{"docid":"ed852d5d54d25548ac66789ff1147f29","score":"0.45711318","text":"@Select({ \"select\",\n\t\t\t\"sch_id, sch_data, sch_descrizione, sch_critica, id_soggetto, id_struttura, utente_operazione, \",\n\t\t\t\"data_creazione, data_modifica, data_cancellazione, richiesta_mmg, visibile_medico_emergenza, \",\n\t\t\t\"visibile_medico_continuita_ass, sch_terapia_cronica, monitoraggio_tipo_id\", \"from covidus_t_scheda\",\n\t\t\t\"where sch_id = #{schId,jdbcType=INTEGER}\" })\n\t@Results({ @Result(column = \"sch_id\", property = \"schId\", jdbcType = JdbcType.INTEGER, id = true),\n\t\t\t@Result(column = \"sch_data\", property = \"schData\", jdbcType = JdbcType.TIMESTAMP),\n\t\t\t@Result(column = \"sch_descrizione\", property = \"schDescrizione\", jdbcType = JdbcType.VARCHAR),\n\t\t\t@Result(column = \"sch_critica\", property = \"schCritica\", jdbcType = JdbcType.BIT),\n\t\t\t@Result(column = \"id_soggetto\", property = \"idSoggetto\", jdbcType = JdbcType.BIGINT),\n\t\t\t@Result(column = \"id_struttura\", property = \"idStruttura\", jdbcType = JdbcType.VARCHAR),\n\t\t\t@Result(column = \"utente_operazione\", property = \"utenteOperazione\", jdbcType = JdbcType.VARCHAR),\n\t\t\t@Result(column = \"data_creazione\", property = \"dataCreazione\", jdbcType = JdbcType.TIMESTAMP),\n\t\t\t@Result(column = \"data_modifica\", property = \"dataModifica\", jdbcType = JdbcType.TIMESTAMP),\n\t\t\t@Result(column = \"data_cancellazione\", property = \"dataCancellazione\", jdbcType = JdbcType.TIMESTAMP),\n\t\t\t@Result(column = \"richiesta_mmg\", property = \"richiestaMmg\", jdbcType = JdbcType.BIT),\n\t\t\t@Result(column = \"visibile_medico_emergenza\", property = \"visibileMedicoEmergenza\", jdbcType = JdbcType.BIT),\n\t\t\t@Result(column = \"visibile_medico_continuita_ass\", property = \"visibileMedicoContinuitaAss\", jdbcType = JdbcType.BIT),\n\t\t\t@Result(column = \"sch_terapia_cronica\", property = \"schTerapiaCronica\", jdbcType = JdbcType.VARCHAR),\n\t\t\t@Result(column = \"monitoraggio_tipo_id\", property = \"monitoraggioTipoId\", jdbcType = JdbcType.INTEGER) })\n\tCovidusTScheda selectByPrimaryKey(Integer schId);","title":""},{"docid":"26bd92395a5ea0d980a541e696782b56","score":"0.45685273","text":"public void setGeneralFeedback(String generalFeedback) {\r\n this.generalFeedback = generalFeedback;\r\n }","title":""},{"docid":"7dad3c131224f59f43199374c0daec30","score":"0.45632893","text":"public String getName() {\n return \"BasicFeedback\";\n }","title":""},{"docid":"378fe1d34e7832dedad328924bcabe7f","score":"0.45574713","text":"@Mapper\npublic interface SubjectAdvancedPayOffPenaltyDefDao {\n\n @Select(\"select * from ndr_subject_advanced_payoff_penalty_def where id = #{id}\")\n SubjectAdvancedPayOffPenaltyDef findById(Integer id);\n\n @Insert(\"INSERT INTO ndr_subject_advanced_payoff_penalty_def \" +\n \"('code', 'def_desc', 'penalty_rate', 'penalty_base', 'create_time', 'update_time') \" +\n \"VALUES \" +\n \"(#{code}, #{defDesc}, #{penaltyRate}, #{penaltyBase}, #{createTime}, #{updateTime})\")\n int insert(SubjectAdvancedPayOffPenaltyDef subjectAdvancedPayOffPenaltyDef);\n\n}","title":""},{"docid":"e7a94de06b4637b0a1a1f51178b258c3","score":"0.45484385","text":"public List getObligation_forWarranty_FromDB(String serial_number, String product_id) \n\t{\n\t\tStringBuilder sb = new StringBuilder();\n\t\t//List listObj = new ArrayList();\n\t\tEmbeded emb = new Embeded();\n\t\ttry {\n\t\t\t//System.out.println(\"Listing system tables...\");\n\t\t\tcon = getConnection();\n\t\t\tstmt = con.createStatement();\n\t\t\t//String sql = \"SELECT distinct overall_contract_start_date , overall_contract_end_date , start_Date, end_Date, active_contract_entitlement , status ,offer_code, package_code, offer_description FROM app_bm_graphics_lf_telemetry.product_entitlement WHERE serial_number = 'SG68D1N001' AND product_id = 'K4T88A' AND obligation_type = 'C' ORDER BY status ASC\";\n\n\t\t\tsb.append(\"SELECT distinct overall_warranty_start_date , overall_warranty_end_date , start_date,\\r\\n\" + \n\t\t\t\t\t\" end_date,active_warranty_entitlement , status , warranty_determination_description , factory_warranty_term_code ,\\r\\n\" + \n\t\t\t\t\t\"factory_warranty_start_date , factory_warranty_end_date ,offer_code ,offer_description , sales_order_number , covwindow , response_commitment \\r\\n\" + \n\t\t\t\t\t\"FROM app_bm_graphics_lf_telemetry.product_entitlement\\r\\n\" + \n\t\t\t\t\t\"WHERE serial_number =\");\n\t\t\tsb.append(\"'\" + serial_number + \"'\" + \" AND product_id=\" + \"'\" + product_id + \"'\" + \" AND obligation_type = 'W' \");\n\n\t\t\tcon = getConnection();\n\t\t\tstmt = con.createStatement();\n\t\t\tString sql = sb.toString();\n\t\t\t//System.out.println(\"\\n<=======Query====> \\n\" + sql + \"\\n\" );\n\n\t\t\trs = stmt.executeQuery(sql);\n\t\t\t// Get the data from the result set.\t\t\t\n\t\t\tWarranty warrantyDbObj = null;\n\n\t\t\twhile (rs.next()) {\n\t\t\t\twarrantyDbObj = new Warranty();\n\n\t\t\t\twarrantyDbObj.setOverallWarrantyStartDate(rs.getString(\"overall_warranty_start_date\"));\n\t\t\t\twarrantyDbObj.setOverallWarrantyEndDate(rs.getString(\"overall_warranty_end_date\"));\n\t\t\t\twarrantyDbObj.setStartDate(rs.getString(\"start_date\"));\n\t\t\t\twarrantyDbObj.setEndDate(rs.getString(\"end_date\"));\n\n\t\t\t\tif(rs.getString(\"status\").equals(\"X\") || rs.getString(\"status\").equals(\"C\") || \n\t\t\t\t\t\trs.getString(\"status\").equals(\"R\") || rs.getString(\"status\").equals(\"F\"))\n\t\t\t\t{\n\t\t\t\t\twarrantyDbObj.setActive(\"FALSE\");\n\t\t\t\t} else {\n\t\t\t\t\twarrantyDbObj.setActive(rs.getString(\"active_warranty_entitlement\"));\n\t\t\t\t}\n\n\t\t\t\t//warrantyDbObj.setActive(rs.getString(\"active_warranty_entitlement\"));\n\n\t\t\t\twarrantyDbObj.setStatus(rs.getString(\"status\"));\n\t\t\t\twarrantyDbObj.setWarrantyDeterminationDescription(rs.getString(\"warranty_determination_description\"));\n\t\t\t\twarrantyDbObj.setFactoryWarrantyTermCode(rs.getString(\"factory_warranty_term_code\"));\t\t\t\t\t\t\n\t\t\t\twarrantyDbObj.setFactoryWarrantyStartDate(rs.getString(\"factory_warranty_start_date\"));\n\t\t\t\twarrantyDbObj.setFactoryWarrantyEndDate(rs.getString(\"factory_warranty_end_date\"));\n\t\t\t\twarrantyDbObj.setOfferCode(rs.getString(\"offer_code\"));\n\t\t\t\twarrantyDbObj.setOfferDescription(rs.getString(\"offer_description\"));\n\t\t\t\twarrantyDbObj.setSalesOrderNumber(rs.getString(\"sales_order_number\"));\n\t\t\t\twarrantyDbObj.setCovWindow(rs.getString(\"covwindow\"));\n\t\t\t\twarrantyDbObj.setResponseCommitment(rs.getString(\"response_commitment\"));\n\n\t\t\t\temb.getWarrantyList().add(warrantyDbObj);\n\n\t\t\t\t//System.out.println(\"\\n Contract values list==> \" + emb.getContractList() );\n\t\t\t\t//emb.getContractList();\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t}finally {\n\t\t\ttry {\n\t\t\t\trs.close();\n\t\t\t\tstmt.close();\n\t\t\t\tcon.close();\n\t\t\t} catch (SQLException 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\t//System.out.println(\"\\nFrom DB: List of objects are => \" + emb.getWarrantyList());\n\t\treturn emb.getWarrantyList();\n\n\t}","title":""},{"docid":"5ff713b086331b8d3ed34c87bb12ae34","score":"0.45457685","text":"public String getFeedbackCode() {\r\n\t\treturn feedbackCode;\r\n\t}","title":""},{"docid":"3f89e41f8ca74ea44822a7e7669080cd","score":"0.45452517","text":"@Override\r\n\tpublic Map mappingRow(Model mdd) {\n\t\tJjxt_主表Model md=(Jjxt_主表Model)mdd;\r\n\t\tMap j=new HashMap();\r\n\t\ttry {\r\n\t\tj.put(\"验收单编号\", md.get验收单编号());\r\n\t\tj.put(\"资产编号\", md.get资产编号() );\r\n\t\tj.put(\"资产名称\", md.get资产名称() );\r\n\t\tj.put(\"分类号\", md.get分类号() );\r\n\t\tj.put(\"国资分类号\", md.get国资分类号() );\r\n\t\tj.put(\"采购编号\", md.get采购编号() );\r\n\t\tj.put(\"型号\", md.get型号() );\r\n\t\tj.put(\"规格\", md.get规格() );\r\n\t\tj.put(\"资产来源\", md.get资产来源() );\r\n\t\tj.put(\"经费来源\", md.get经费来源() );\r\n\t\tj.put(\"购置日期\", md.get购置日期() );\r\n\t\tj.put(\"单价\", md.get单价() );\r\n\t\tj.put(\"数量\", md.get数量() );\r\n\t\tj.put(\"附件总额\", md.get附件总额() );\r\n\t\tj.put(\"附件总数量\", md.get附件总数量() );\r\n\t\tj.put(\"总金额\", md.get总金额() );\r\n\t\tj.put(\"国别\", md.get国别() );\r\n\t\tj.put(\"出厂编号\", md.get出厂编号() );\r\n\t\tj.put(\"出厂日期\", md.get出厂日期() );\r\n\t\tj.put(\"生产厂家\", md.get生产厂家() );\r\n\t\tj.put(\"领用人\", md.get领用人() );\r\n\t\tj.put(\"领用日期\", md.get领用日期() );\r\n\t\tj.put(\"现状\", md.get现状() );\r\n\t\tj.put(\"使用方向\", md.get使用方向() );\r\n\t\tj.put(\"管理单位\", md.get管理单位() );\r\n\t\tj.put(\"使用单位\", md.get使用单位() );\r\n\t\tj.put(\"条码\", md.get条码() );\r\n\t\tj.put(\"资产原值\", md.get资产原值() );\r\n\t\tj.put(\"资产原数量\", md.get资产原数量() );\r\n\t\tj.put(\"资产原总金额\", md.get资产原总金额() );\r\n\t\tj.put(\"附件原总额\", md.get附件原总额() );\r\n\t\tj.put(\"附件原总数量\", md.get附件原总数量() );\r\n\t\tj.put(\"录入人\", md.get录入人() );\r\n\t\tj.put(\"录入时间\", md.get录入时间() );\r\n\t\tj.put(\"管理人\", md.get管理人() );\r\n\t\tj.put(\"存放地点\", md.get存放地点() );\r\n\t\tj.put(\"使用年限\", md.get使用年限() );\r\n\t\tj.put(\"折旧状态\", md.get折旧状态() );\r\n\t\tj.put(\"折旧方法\", md.get折旧方法() );\r\n\t\tj.put(\"折旧时间\", md.get折旧时间() );\r\n\t\tj.put(\"已提折旧月数\", md.get已提折旧月数() );\r\n\t\tj.put(\"月折旧率\", md.get月折旧率() );\r\n\t\tj.put(\"月折旧额\", md.get月折旧额() );\r\n\t\tj.put(\"减值准备\", md.get减值准备() );\r\n\t\tj.put(\"残值率\", md.get残值率() );\r\n\t\tj.put(\"累计折旧\", md.get累计折旧() );\r\n\t\tj.put(\"净值\", md.get净值() );\r\n\t\tj.put(\"供货商\", md.get供货商() );\r\n\t\tj.put(\"备注\", md.get备注() );\r\n\t\tj.put(\"审核人\", md.get审核人() );\r\n\t\tj.put(\"审核时间\", md.get审核时间() );\r\n\t\tj.put(\"报账日期\", md.get报账日期() );\r\n\t\tj.put(\"对账人\", md.get对账人() );\r\n\t\tj.put(\"财务凭单号\", md.get财务凭单号() );\r\n\t\tj.put(\"财务分类\", md.get财务分类() );\r\n\t\tj.put(\"图片1\", md.get图片1() );\r\n\t\tj.put(\"图片2\", md.get图片2() );\r\n\t\tj.put(\"图片3\", md.get图片3() );\r\n\t\tj.put(\"清查状态\", md.get清查状态() );\r\n\t\tj.put(\"清查日期\", md.get清查日期() );\r\n\t\r\n\t\t\tj.put(\"盘亏盘盈原因\", md.get盘亏盘盈原因() );\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\r\n\t\treturn j;\r\n\t}","title":""},{"docid":"f9d7e5384f54b56707918e948a59bcee","score":"0.4541824","text":"public static void contactReport(){\n String SelectStatement = \"SELECT * FROM contact_total\";\n ResultSet rs;\n Statement statement = getStatement();\n\n try {\n statement.execute(SelectStatement);\n rs = statement.getResultSet();\n while (rs.next()) {\n int contact = rs.getInt(\"Contact_ID\");\n int appointment = rs.getInt(\"Appointment_ID\");\n String title = rs.getString(\"Title\");\n String description = rs.getString(\"Description\");\n Timestamp start = rs.getTimestamp(\"Start\");\n Timestamp end = rs.getTimestamp(\"End\");\n int customer = rs.getInt(\"Customer_ID\");\n LocalDateTime Start = start.toLocalDateTime();\n LocalDateTime End = end.toLocalDateTime();\n ContactTotal contactTotal = new ContactTotal(contact, appointment,title,description,Start,End,customer);\n ContactTotal.addContactTotal(contactTotal);\n\n }\n } catch (SQLException throwables) {\n throwables.printStackTrace();\n }\n }","title":""},{"docid":"bf24a047a3da943767e75f7bab6efe58","score":"0.453633","text":"public String[] getAProductsFeedbackComments() {\n return null;\n }","title":""},{"docid":"16bb45e5aa4fb636a6cf229c833237bd","score":"0.4534636","text":"@Select({\r\n \"select\",\r\n \"CREATE_DATE, FILE_SEQ, HIS_SEQ, INSERT_DATE, INSERT_UID, MAC_NO, TRX_DATE, TRX_NO, \",\r\n \"ACT_CD\",\r\n \"from AMS.T_RM_FILE_HIS\",\r\n \"where CREATE_DATE = #{createDate,jdbcType=VARCHAR}\",\r\n \"and FILE_SEQ = #{fileSeq,jdbcType=VARCHAR}\",\r\n \"and HIS_SEQ = #{hisSeq,jdbcType=VARCHAR}\"\r\n })\r\n @Results({\r\n @Result(column=\"CREATE_DATE\", property=\"createDate\", jdbcType=JdbcType.VARCHAR, id=true),\r\n @Result(column=\"FILE_SEQ\", property=\"fileSeq\", jdbcType=JdbcType.VARCHAR, id=true),\r\n @Result(column=\"HIS_SEQ\", property=\"hisSeq\", jdbcType=JdbcType.VARCHAR, id=true),\r\n @Result(column=\"INSERT_DATE\", property=\"insertDate\", jdbcType=JdbcType.TIMESTAMP),\r\n @Result(column=\"INSERT_UID\", property=\"insertUid\", jdbcType=JdbcType.VARCHAR),\r\n @Result(column=\"MAC_NO\", property=\"macNo\", jdbcType=JdbcType.VARCHAR),\r\n @Result(column=\"TRX_DATE\", property=\"trxDate\", jdbcType=JdbcType.VARCHAR),\r\n @Result(column=\"TRX_NO\", property=\"trxNo\", jdbcType=JdbcType.VARCHAR),\r\n @Result(column=\"ACT_CD\", property=\"actCd\", jdbcType=JdbcType.VARCHAR)\r\n })\r\n TRmFileHis selectByPrimaryKey(TRmFileHisKey key);","title":""},{"docid":"b5e83dd7cca27f8501742a8013ece07b","score":"0.45152116","text":"public int row_AllfeedBack() throws SQLException, NamingException {\n int row = 0;\n try {\n openConnection();\n String sql = \"Select * from feedback\";\n PreparedStatement stm = (PreparedStatement) connection.prepareStatement(sql);\n ResultSet rs = stm.executeQuery();\n ArrayList list = new ArrayList();\n while (rs.next()) {\n row++;\n }\n rs.close();\n stm.close();\n } catch (Exception e) {\n e.printStackTrace();\n } finally {\n closeConnection();\n }\n return row;\n }","title":""},{"docid":"2f3fd05e74c32cada8062eb52fc6ef5e","score":"0.45013964","text":"String getSqlString(String relationalModelName);","title":""},{"docid":"d4e46d5fdbb563a4d521882552b22fcd","score":"0.4484826","text":"public String buildStrPeformanceData(String risk1, String risk2){\n\t\t\n\t\t\n\t//\tSimpleDateFormat SDF = new SimpleDateFormat(\"yyyy-MM-dd\");\n\t\t// SimpleDateFormat SDF = new SimpleDateFormat(\"yyyy/MM/dd HH:mm:ss\");\n\t\t\n\t\t\n\t\t String jsonstr = \"\";\n\t\t\n\t\t String performancestr = \"select P.SymID,P.InceptionDate_,P.MER_,P.Assets_,P.Rank_,P.MstarRating_,P.StdDev_,P.VolatileRank_,\" +\n\t \"P.MstarRisk_,P.Alpha_,P.Beta_,P.Rsquared_,P.RRSPEligibility_,P.Load_,P.MaxFrontEnd_,P.MaxBackEnd_,P.SaleOpen_,P.NavPS_,\" +\n\t \"P.NetAsset_,P.Yield_,P.Dividend_,P.Managers_,P.Fees_,P.FundName_\" +\n\t \" from PerformanceData P where P.volatilerank_ >= '\" + risk1 + \"' and P.volatilerank_ <= '\" + risk2 + \"'\";\n\n\t\t jPerformanceData jperform = new jPerformanceData();\n\t\n\t\n\t\t \n List data = getJdbcTemplate().query(performancestr, new RowMapper(){\n\t\t\t \n\t\t\t String jsonstr = \"\";\n public String mapRow(ResultSet rs, int rowNum) \n throws SQLException {\n \t \n \t \n \t \n \n jperform.setInceptionDate(rs.getDate(\"InceptionDate_\"));\n jperform.setAlpha(rs.getDouble(\"Alpha_\"));\n \t\t\tjperform.setAssets(rs.getDouble(\"Assets_\"));\n \t\t\tjperform.setBeta(rs.getDouble(\"Beta_\"));\n \t\t\tjperform.setDividend(rs.getDouble(\"Dividend_\"));\n \t\t\tjperform.setFees(rs.getDouble(\"Fees_\"));\n \t\t\tjperform.setFundName(rs.getString(\"FundName_\"));\n \t\t\tjperform.setLoad(rs.getString(\"Load_\"));\n \t\t\tjperform.setManagers(rs.getString(\"Managers_\"));\n \t\t\tjperform.setMaxBackEnd(rs.getDouble(\"MaxBackEnd_\"));\n \t\t\tjperform.setMER(rs.getDouble(\"MER_\"));\n \t\t\tjperform.setMstarRating(rs.getDouble(\"MstarRating_\"));\n \t\t\tjperform.setMstarRisk(rs.getDouble(\"MstarRisk_\"));\n \t\t\tjperform.setNavPS(rs.getDouble(\"NavPS_\"));\n \t\t\tjperform.setRank(rs.getDouble(\"Rank_\"));\n \t\t\tjperform.setRRSPEligibility(rs.getString(\"RRSPEligibility_\"));\n \t\t\tjperform.setRsquared(rs.getDouble(\"Rsquared_\"));\n \t\t\tjperform.setSaleOpen(rs.getString(\"SaleOpen_\"));\n \t\t\tjperform.setStdDev(rs.getDouble(\"StdDev_\"));\n \t\t\tjperform.setSymID(rs.getString(\"SymID\"));\n \t\t\tjperform.setVolatileRank(rs.getDouble(\"VolatileRank_\"));\n \t\t\tjperform.setYield(rs.getDouble(\"Yield_\"));\n \n \n \n jsonstr += jperform.toString();\n jsonstr += \",\";\n \n \n return jsonstr;\n \n \n \n }\n \n });\n\t\t\t\n\t\t\t\n\t\tIterator itemIterator = data.iterator();\n\t\t\t\t\n\t\twhile(itemIterator.hasNext()){\n\t\t\t\n\t\t\tjsonstr+= (String)itemIterator.next();\n\t\t\t\n\t\t}\n\t\t \n\t\t \n\t\treturn jsonstr;\n\t\t\n\t\t\n\t}","title":""},{"docid":"7bb43f9a927199887127fdd80498d09a","score":"0.44755927","text":"@Select({\n \"select\",\n \"orderId, orderSN, placeId, placeCityId, serviceDate, serviceTime, serviceAllDateDisplay, \",\n \"localDay, nonlocalDay, departure, destination, distance, deptDetailAddress, \",\n \"destDetailAddress, seatCategory, type, price, clientPrice, guidePrice, orderType, \",\n \"userGuideId, preGuideId, guideId, clientType, clientId, userpassportId, adminId, \",\n \"status, payStatus, hasRefund, imToken, deliveredPriority, dealOrderTime, reDeliverType, \",\n \"reDeliverCount, deliverTime, guideCommentStatus, userCommentStatus, updated_at, \",\n \"refId, mode, serviceCar, serviceGuide, serviceCarId, serviceGuideId, agencyType, \",\n \"deleted_at, created_at\",\n \"from `order`\",\n \"where orderId = #{orderid,jdbcType=VARCHAR}\"\n })\n @Results({\n @Result(column=\"orderId\", property=\"orderid\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"orderSN\", property=\"ordersn\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"placeId\", property=\"placeid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"placeCityId\", property=\"placecityid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"serviceDate\", property=\"servicedate\", jdbcType=JdbcType.DATE),\n @Result(column=\"serviceTime\", property=\"servicetime\", jdbcType=JdbcType.TIME),\n @Result(column=\"serviceAllDateDisplay\", property=\"servicealldatedisplay\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"localDay\", property=\"localday\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"nonlocalDay\", property=\"nonlocalday\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"departure\", property=\"departure\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"destination\", property=\"destination\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"distance\", property=\"distance\", jdbcType=JdbcType.DECIMAL),\n @Result(column=\"deptDetailAddress\", property=\"deptdetailaddress\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"destDetailAddress\", property=\"destdetailaddress\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"seatCategory\", property=\"seatcategory\", jdbcType=JdbcType.TINYINT),\n @Result(column=\"type\", property=\"type\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"price\", property=\"price\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"clientPrice\", property=\"clientprice\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"guidePrice\", property=\"guideprice\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"orderType\", property=\"ordertype\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"userGuideId\", property=\"userguideid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"preGuideId\", property=\"preguideid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"guideId\", property=\"guideid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"clientType\", property=\"clienttype\", jdbcType=JdbcType.TINYINT),\n @Result(column=\"clientId\", property=\"clientid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"userpassportId\", property=\"userpassportid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"adminId\", property=\"adminid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"status\", property=\"status\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"payStatus\", property=\"paystatus\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"hasRefund\", property=\"hasrefund\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"imToken\", property=\"imtoken\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"deliveredPriority\", property=\"deliveredpriority\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"dealOrderTime\", property=\"dealordertime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"reDeliverType\", property=\"redelivertype\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"reDeliverCount\", property=\"redelivercount\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"deliverTime\", property=\"delivertime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"guideCommentStatus\", property=\"guidecommentstatus\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"userCommentStatus\", property=\"usercommentstatus\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"updated_at\", property=\"updatedAt\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"refId\", property=\"refid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"mode\", property=\"mode\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"serviceCar\", property=\"servicecar\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"serviceGuide\", property=\"serviceguide\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"serviceCarId\", property=\"servicecarid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"serviceGuideId\", property=\"serviceguideid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"agencyType\", property=\"agencytype\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"deleted_at\", property=\"deletedAt\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"created_at\", property=\"createdAt\", jdbcType=JdbcType.TIMESTAMP)\n })\n FinalOrderBean selectByPrimaryKey(String orderid);","title":""},{"docid":"dae664bdb8e21b8a3f3e2ac6cb906fc8","score":"0.44735315","text":"public List getempdetails(){\n\t\tDataSource dataSource3 = DataFactory.getDataSource();\n\t\t\n\t System.out.println(\"connected to database\");\n\t\tString sq= new String(\"SELECT mic,speaker,projector,led from dbo.productlist \") ;\n\t\tJdbcTemplate temp = new JdbcTemplate(dataSource3);\n\t\t\n\t\t\n\t\tList employee = (List) temp.query(sq, new Empservice()); \n\t\t\n\t\treturn employee;\n\t\n}","title":""},{"docid":"9254deb59f2525e36a8a8d6749aafc3d","score":"0.446897","text":"public void contactForm(contactDetails contact) throws ClassNotFoundException, SQLException{\n\t\tClass.forName(\"com.mysql.jdbc.Driver\");\n\t\t\t\t\t\t\n\t\t//get the connection\n\t\tConnection con = DriverManager.getConnection(url, userName, password);\n\t\t\n\t\t//sql query to insert data to activity database\n\t\tPreparedStatement prepStatemnt = con.prepareStatement(\"insert into contactform(Name,Email,Message,Feedback) values(?,?,?,?)\");\n\t\t\n\t\tprepStatemnt.setString(1,contact.getName());\n\t\tprepStatemnt.setString(2,contact.getEmail());\n\t\tprepStatemnt.setString(3,contact.getMessage());\n\t\tprepStatemnt.setString(4,contact.getFeedback());\n\t\t\t\n\t\t\n\t\t//execute or update the query\n\t\t\t\n\t\tprepStatemnt.executeUpdate();\n\t\t\t\n\t\t\t\n\t\t\n\t}","title":""},{"docid":"50e622e7c5e8bae6b9a5e9428ecdb0ef","score":"0.44643623","text":"public void setFeedbackDate(java.util.Date feedbackDate)\n {\n this.feedbackDate = feedbackDate;\n }","title":""},{"docid":"af0bb24855fecc0a6e91455d82c0ccb4","score":"0.44549114","text":"@GetMapping(\"/view-all-feedback\")\n\tpublic List getAllFeedback() throws InvalidFeedbackException {\n\t\tLOGGER.info(\"Fetching all feedback data in feedback controller -START\");\n\t\tfinal List feedbackList = service.getAllFeedback();\n\t\tLOGGER.info(\"Done in feedback controller -END\");\n\t\treturn feedbackList;\n\t}","title":""},{"docid":"7bdac9aba492f533ddccad735fbb5a42","score":"0.44520584","text":"@Override\r\n\tpublic int updateFeedback(CrFeedbackDTO crFeedbackDTO) {\n\t\treturn 0;\r\n\t}","title":""},{"docid":"d73e36c4d1eef2b04e43aa22d374b65e","score":"0.4449308","text":"public String SQLInsert_uplata() {\n String sql=\"INSERT INTO \" + TABELA_tRacunKupca_ + \"(\" +\n tRacunKupca_idKupac + \",\" +\n tRacunKupca_uplata + \",\" +\n tRacunKupca_opisUplate + \",\" +\n tRacunKupca_datumUplate + \") VALUE (\" +\n this.uplata.getKupac().getId() + \",\" +\n this.uplata.getIznosUplate() + \",'\" +\n this.uplata.getOpisUplate() + \"','\" +\n this.uplata.getDatumUplate() + \"');\";\n \n return sql;\n }","title":""},{"docid":"a50848f181bb807e99c601fd915c53bb","score":"0.4447326","text":"public List GetFoodPantryTable() {\n\n //ArrayList fpantries = new ArrayList();\n\n\n //here we want to to a SELECT * FROM food_pantry table\n MapSqlParameterSource params = new MapSqlParameterSource();\n //here we want to get total from food pantry table\n String sql = \"SELECT * FROM cs6400_sp17_team073.Food_pantry\";\n\n List fpantries = jdbcTemplate.query(sql, new PantryMapper());\n\n\n\n return fpantries;\n }","title":""},{"docid":"275f00c0dd4e1eed150ef538af61dc1a","score":"0.44446346","text":"public List getOfferCode_forWarranty_FromDB(String serial_number, String product_id ) \n\t{\n\t\tObligation obligation_Obj = new Obligation();\n\t\tStringBuilder sb = new StringBuilder();\n\t\tList listObj = new ArrayList();\n\t\ttry {\n\t\t\t//System.out.println(\"Listing system tables...\");\n\t\t\tcon = getConnection();\n\t\t\tstmt = con.createStatement();\n\t\t\t//String sql = \"SELECT distinct(obligation_type), offer_code FROM app_bm_graphics_lf_telemetry.product_entitlement WHERE serial_number = 'SG68D1N001' AND product_id = 'K4T88A' AND obligation_type = 'W'\" ;\n\n\t\t\tsb.append(\"SELECT offer_code FROM app_bm_graphics_lf_telemetry.product_entitlement WHERE serial_number=\");\n\t\t\tsb.append(\"'\" + serial_number + \"'\" + \" AND product_id=\" + \"'\" + product_id + \"'\" + \" AND obligation_type = 'W' \");\n\n\t\t\t//System.out.println(\"sql->\"+sb.toString());\n\t\t\tcon = getConnection();\n\t\t\tstmt = con.createStatement();\n\t\t\tString sql = sb.toString();\n\t\t\t//System.out.println(\"\\n <======= Query ====> \\n\" + sql + \"\\n\" );\n\n\t\t\trs = stmt.executeQuery(sql);\n\t\t\t// Get the data from the result set.\t\t\t\n\t\t\twhile (rs.next()) {\n\t\t\t\tobligation_Obj.setOffer_code(rs.getString(\"offer_code\") );\n\t\t\t\tlistObj.add(obligation_Obj.getOffer_code() );\n\t\t\t\t//System.out.println(\"\\n offer_Code ======> \" + obligation_Obj.getOffer_code());\n\t\t\t\t//obligation_Obj.getOffer_code();\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t}finally {\n\t\t\ttry {\n\t\t\t\trs.close();\n\t\t\t\tstmt.close();\n\t\t\t\tcon.close();\n\t\t\t} catch (SQLException 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\t//System.out.println(\"\\nFrom DB: List of offer_Code are => \" + listObj);\n\t\treturn listObj;\n\t\t//return obligation_offerCodeObj;\n\t}","title":""},{"docid":"40f340d9fab84b949875d6c1db4c1e6a","score":"0.44428304","text":"@Select({\n \"select\",\n \"`id`, `title`, `description`, `start_time`, `end_time`, `create_time`, `update_time`, \",\n \"`delete_time`, `remark`, `online`, `entrance_img`, `internal_top_img`, `name`\",\n \"from activity\",\n \"where `id` = #{id,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"title\", property=\"title\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"description\", property=\"description\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"start_time\", property=\"startTime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"end_time\", property=\"endTime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"create_time\", property=\"createTime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"update_time\", property=\"updateTime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"delete_time\", property=\"deleteTime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"remark\", property=\"remark\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"online\", property=\"online\", jdbcType=JdbcType.TINYINT),\n @Result(column=\"entrance_img\", property=\"entranceImg\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"internal_top_img\", property=\"internalTopImg\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"name\", property=\"name\", jdbcType=JdbcType.VARCHAR)\n })\n Activity selectByPrimaryKey(Integer id);","title":""},{"docid":"64ea477c2ba067f8846cadff94987825","score":"0.44426885","text":"@Override\r\n\tpublic String myResult() {\n\t\tString sql;\r\n\t\tString userid=(String) getSession().getAttribute(\"userid\");\r\n\t\tString t=(String) getSession().getAttribute(\"type\");\r\n\t\tif(t.equals(\"2\"))\r\n\t\t\tsql=\"select * from (select b.id,b.barcode,b.transaction,p.name,p.userid,b.amount,p.price,b.discount,(select value from dd_dic d where d.parent='back' and d.child=b.type) as type,(select value from dd_dic d where d.parent='reason' and d.child=b.reason) as reason,b.operator,b.date from dd_back b left join dd_product p on b.barcode=p.barcode where p.userid='\"+userid+\"' and b.id<=(select v.id from dd_back v left join dd_product p1 on v.barcode=p1.barcode where p1.userid='\"+userid+\"' order by v.id desc limit \"+(start-1)+\",1) ) as s order by s.id desc\";\r\n\t\telse\r\n\t\t\tsql=\"select * from (select b.id,b.barcode,b.transaction,p.name,p.userid,b.amount,p.price,b.discount,(select value from dd_dic d where d.parent='back' and d.child=b.type) as type,(select value from dd_dic d where d.parent='reason' and d.child=b.reason) as reason,b.operator,b.date from dd_back b left join dd_product p on b.barcode=p.barcode where b.id<=(select id from dd_back order by id desc limit \"+(start-1)+\",1) ) as s order by s.id desc\";\r\n\t\tPageUtil p=CommonDAO.findPageByMultiTableSQLQuery(this.total,sql,start,perpage,Back.class);\r\n\t\t\r\n\t\tString content = \"totalPage = \" + p.getTotalPageCount() + \";\";\r\n\t\tcontent += \"dataStore = [\";\r\n\r\n\t\tList l=(List)p.getResult();\r\n\t\tfor(int i=0;i

\\\",\";\r\n\t\t}\r\n\t\tcontent = content.substring(0,content.length()-1);\r\n\t\tcontent += \"];\";\r\n\t\treturn content;\r\n\t}","title":""},{"docid":"a31e0fdc96f0344f68ee5da6490f6209","score":"0.44418707","text":"public static void printFeedback() {\r\n\t\tSupplier selectedSup = Part02Tester.getSupplier();\r\n\t\tif (selectedSup.getFeedback().size() <2) {\r\n\t\t\tSystem.out.println(\"No feedback available for this supplier\");\r\n\t\t}else {\r\n\t\t\tfor (int i =1;i< selectedSup.getFeedback().size(); i++) {\r\n\t\t\t\tSystem.out.println(selectedSup.getFeedback().get(i).getFeedbackDetails());\r\n\t\t\t}\t\r\n\t\t}\t\r\n\t}","title":""},{"docid":"3465cdac6fa0236e49651e84f750451b","score":"0.44375345","text":"@PostMapping(\"/createEventFeedback\")\n\tpublic String save(@RequestBody EventFeedback feedback) {\n\tservice.save(feedback);\n\treturn \"saved successfully\";\n\t}","title":""},{"docid":"dc4986da2c077f0ef556bcac1718d624","score":"0.44276932","text":"protected static void setFeedbackList(ArrayList feedback){\n\t\t_feedback = feedback;\n\t}","title":""},{"docid":"e108780b2c2c869404b7505e708a49f1","score":"0.4427092","text":"public int maxId() throws SQLException, NamingException {\n int maxId = 0;\n try {\n openConnection();\n String sql = \"SELECT max(feedBackId) FROM feedback \";\n PreparedStatement pst = connection.prepareStatement(sql);\n ResultSet sr = pst.executeQuery();\n while (sr.next()) {\n maxId = sr.getInt(\"max(feedBackId)\");\n }\n pst.close();\n } catch (Exception e) {\n e.printStackTrace();\n } finally {\n closeConnection();\n }\n return maxId;\n\n }","title":""},{"docid":"e7f4361959c273e15e30f379bba13dba","score":"0.44214833","text":"public int getFeedbackCount() {\n return feedbackCount;\n }","title":""},{"docid":"9524ef6150e552033b1097a8aabe6a8e","score":"0.44180542","text":"@Insert({\n \"insert into `order` (orderId, orderSN, \",\n \"placeId, placeCityId, \",\n \"serviceDate, serviceTime, \",\n \"serviceAllDateDisplay, localDay, \",\n \"nonlocalDay, departure, \",\n \"destination, distance, \",\n \"deptDetailAddress, destDetailAddress, \",\n \"seatCategory, type, \",\n \"price, clientPrice, \",\n \"guidePrice, orderType, \",\n \"userGuideId, preGuideId, \",\n \"guideId, clientType, \",\n \"clientId, userpassportId, \",\n \"adminId, status, \",\n \"payStatus, hasRefund, \",\n \"imToken, deliveredPriority, \",\n \"dealOrderTime, reDeliverType, \",\n \"reDeliverCount, deliverTime, \",\n \"guideCommentStatus, userCommentStatus, \",\n \"updated_at, refId, \",\n \"mode, serviceCar, \",\n \"serviceGuide, serviceCarId, \",\n \"serviceGuideId, agencyType, \",\n \"deleted_at, created_at)\",\n \"values (#{orderid,jdbcType=VARCHAR}, #{ordersn,jdbcType=VARCHAR}, \",\n \"#{placeid,jdbcType=INTEGER}, #{placecityid,jdbcType=INTEGER}, \",\n \"#{servicedate,jdbcType=DATE}, #{servicetime,jdbcType=TIME}, \",\n \"#{servicealldatedisplay,jdbcType=VARCHAR}, #{localday,jdbcType=INTEGER}, \",\n \"#{nonlocalday,jdbcType=INTEGER}, #{departure,jdbcType=VARCHAR}, \",\n \"#{destination,jdbcType=VARCHAR}, #{distance,jdbcType=DECIMAL}, \",\n \"#{deptdetailaddress,jdbcType=VARCHAR}, #{destdetailaddress,jdbcType=VARCHAR}, \",\n \"#{seatcategory,jdbcType=TINYINT}, #{type,jdbcType=INTEGER}, \",\n \"#{price,jdbcType=INTEGER}, #{clientprice,jdbcType=INTEGER}, \",\n \"#{guideprice,jdbcType=INTEGER}, #{ordertype,jdbcType=INTEGER}, \",\n \"#{userguideid,jdbcType=INTEGER}, #{preguideid,jdbcType=INTEGER}, \",\n \"#{guideid,jdbcType=INTEGER}, #{clienttype,jdbcType=TINYINT}, \",\n \"#{clientid,jdbcType=VARCHAR}, #{userpassportid,jdbcType=VARCHAR}, \",\n \"#{adminid,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, \",\n \"#{paystatus,jdbcType=INTEGER}, #{hasrefund,jdbcType=INTEGER}, \",\n \"#{imtoken,jdbcType=VARCHAR}, #{deliveredpriority,jdbcType=INTEGER}, \",\n \"#{dealordertime,jdbcType=TIMESTAMP}, #{redelivertype,jdbcType=INTEGER}, \",\n \"#{redelivercount,jdbcType=INTEGER}, #{delivertime,jdbcType=TIMESTAMP}, \",\n \"#{guidecommentstatus,jdbcType=INTEGER}, #{usercommentstatus,jdbcType=INTEGER}, \",\n \"#{updatedAt,jdbcType=TIMESTAMP}, #{refid,jdbcType=VARCHAR}, \",\n \"#{mode,jdbcType=INTEGER}, #{servicecar,jdbcType=VARCHAR}, \",\n \"#{serviceguide,jdbcType=VARCHAR}, #{servicecarid,jdbcType=VARCHAR}, \",\n \"#{serviceguideid,jdbcType=VARCHAR}, #{agencytype,jdbcType=INTEGER}, \",\n \"#{deletedAt,jdbcType=TIMESTAMP}, #{createdAt,jdbcType=TIMESTAMP})\"\n })\n int insert(FinalOrderBean record);","title":""},{"docid":"3459715eb4d5091b2fb0c13f2534f461","score":"0.4417296","text":"@SelectProvider(type=JiapuMessageSqlProvider.class, method=\"selectByExample\")\n @Results({\n @Result(column=\"messageid\", property=\"messageid\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"createDate\", property=\"createdate\", jdbcType=JdbcType.DATE),\n @Result(column=\"message\", property=\"message\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"senderid\", property=\"senderid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"recieverid\", property=\"recieverid\", jdbcType=JdbcType.VARCHAR)\n })\n List selectByExample(JiapuMessageExample example);","title":""},{"docid":"dc24bef51ee986342f0c936824d5d5b3","score":"0.44167006","text":"String getSqlStringTemplate();","title":""},{"docid":"4d308a5b6f7a53d336b7debc148e1279","score":"0.44145387","text":"public String generateMaqlCreate();","title":""},{"docid":"07c892d5410a5a2a73ac266bd72eacfb","score":"0.44132492","text":"public void DBUpdateProduct() {\n DBConnection conn = new DBConnection();\n conn.updateSQLDataBase(\"gc200325005.Products\", \"name\",prodSelected.getName(), \"ID\", prodSelected.getManuID());\n conn.updateSQLDataBase(\"gc200325005.Products\", \"description\", prodSelected.getDescription(), \"ID\", prodSelected.getManuID());\n conn.updateSQLDataBase(\"gc200325005.Products\", \"rating\",String.valueOf(prodSelected.getRating()), \"ID\", prodSelected.getManuID());\n conn.updateSQLDataBase(\"gc200325005.Products\", \"price\", String.valueOf(prodSelected.getPrice()), \"ID\", prodSelected.getManuID());\n conn.updateSQLDataBase(\"gc200325005.Products\", \"productionCost\", String.valueOf(prodSelected.getProductionCost()), \"ID\", prodSelected.getManuID());\n \n }","title":""},{"docid":"1f700ba851225368acc47671eb59bdb1","score":"0.4413118","text":"@Override\n\tpublic Feedback feedbackSaveOrUpdate(Feedback feedback) {\n\t\treturn repository.save(feedback);\n\t}","title":""},{"docid":"0a469b440284d703e27b5b1de52cbdb7","score":"0.4410902","text":"@Select({ \"select\",\n\t\t\t\"sch_id, sch_data, sch_descrizione, sch_critica, id_soggetto, id_struttura, utente_operazione, \",\n\t\t\t\"data_creazione, data_modifica, data_cancellazione, richiesta_mmg, visibile_medico_emergenza, \",\n\t\t\t\"visibile_medico_continuita_ass, sch_terapia_cronica, monitoraggio_tipo_id\", \"from covidus_t_scheda\" })\n\t@Results({ @Result(column = \"sch_id\", property = \"schId\", jdbcType = JdbcType.INTEGER, id = true),\n\t\t\t@Result(column = \"sch_data\", property = \"schData\", jdbcType = JdbcType.TIMESTAMP),\n\t\t\t@Result(column = \"sch_descrizione\", property = \"schDescrizione\", jdbcType = JdbcType.VARCHAR),\n\t\t\t@Result(column = \"sch_critica\", property = \"schCritica\", jdbcType = JdbcType.BIT),\n\t\t\t@Result(column = \"id_soggetto\", property = \"idSoggetto\", jdbcType = JdbcType.BIGINT),\n\t\t\t@Result(column = \"id_struttura\", property = \"idStruttura\", jdbcType = JdbcType.VARCHAR),\n\t\t\t@Result(column = \"utente_operazione\", property = \"utenteOperazione\", jdbcType = JdbcType.VARCHAR),\n\t\t\t@Result(column = \"data_creazione\", property = \"dataCreazione\", jdbcType = JdbcType.TIMESTAMP),\n\t\t\t@Result(column = \"data_modifica\", property = \"dataModifica\", jdbcType = JdbcType.TIMESTAMP),\n\t\t\t@Result(column = \"data_cancellazione\", property = \"dataCancellazione\", jdbcType = JdbcType.TIMESTAMP),\n\t\t\t@Result(column = \"richiesta_mmg\", property = \"richiestaMmg\", jdbcType = JdbcType.BIT),\n\t\t\t@Result(column = \"visibile_medico_emergenza\", property = \"visibileMedicoEmergenza\", jdbcType = JdbcType.BIT),\n\t\t\t@Result(column = \"visibile_medico_continuita_ass\", property = \"visibileMedicoContinuitaAss\", jdbcType = JdbcType.BIT),\n\t\t\t@Result(column = \"sch_terapia_cronica\", property = \"schTerapiaCronica\", jdbcType = JdbcType.VARCHAR),\n\t\t\t@Result(column = \"monitoraggio_tipo_id\", property = \"monitoraggioTipoId\", jdbcType = JdbcType.INTEGER) })\n\tList selectAll();","title":""},{"docid":"9b4a9deeb573c964ccbcc570ec0ebfd4","score":"0.4410315","text":"@SelectProvider(type=FinalOrderBeanSqlProvider.class, method=\"selectByExample\")\n @Results({\n @Result(column=\"orderId\", property=\"orderid\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"orderSN\", property=\"ordersn\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"placeId\", property=\"placeid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"placeCityId\", property=\"placecityid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"serviceDate\", property=\"servicedate\", jdbcType=JdbcType.DATE),\n @Result(column=\"serviceTime\", property=\"servicetime\", jdbcType=JdbcType.TIME),\n @Result(column=\"serviceAllDateDisplay\", property=\"servicealldatedisplay\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"localDay\", property=\"localday\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"nonlocalDay\", property=\"nonlocalday\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"departure\", property=\"departure\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"destination\", property=\"destination\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"distance\", property=\"distance\", jdbcType=JdbcType.DECIMAL),\n @Result(column=\"deptDetailAddress\", property=\"deptdetailaddress\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"destDetailAddress\", property=\"destdetailaddress\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"seatCategory\", property=\"seatcategory\", jdbcType=JdbcType.TINYINT),\n @Result(column=\"type\", property=\"type\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"price\", property=\"price\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"clientPrice\", property=\"clientprice\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"guidePrice\", property=\"guideprice\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"orderType\", property=\"ordertype\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"userGuideId\", property=\"userguideid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"preGuideId\", property=\"preguideid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"guideId\", property=\"guideid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"clientType\", property=\"clienttype\", jdbcType=JdbcType.TINYINT),\n @Result(column=\"clientId\", property=\"clientid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"userpassportId\", property=\"userpassportid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"adminId\", property=\"adminid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"status\", property=\"status\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"payStatus\", property=\"paystatus\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"hasRefund\", property=\"hasrefund\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"imToken\", property=\"imtoken\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"deliveredPriority\", property=\"deliveredpriority\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"dealOrderTime\", property=\"dealordertime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"reDeliverType\", property=\"redelivertype\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"reDeliverCount\", property=\"redelivercount\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"deliverTime\", property=\"delivertime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"guideCommentStatus\", property=\"guidecommentstatus\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"userCommentStatus\", property=\"usercommentstatus\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"updated_at\", property=\"updatedAt\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"refId\", property=\"refid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"mode\", property=\"mode\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"serviceCar\", property=\"servicecar\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"serviceGuide\", property=\"serviceguide\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"serviceCarId\", property=\"servicecarid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"serviceGuideId\", property=\"serviceguideid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"agencyType\", property=\"agencytype\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"deleted_at\", property=\"deletedAt\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"created_at\", property=\"createdAt\", jdbcType=JdbcType.TIMESTAMP)\n })\n List selectByExampleWithRowbounds(FinalOrderBeanCriteria example, RowBounds rowBounds);","title":""},{"docid":"f7792b9e20ce81ddd7c8b4105bdf3a56","score":"0.4410315","text":"@SelectProvider(type=FinalOrderBeanSqlProvider.class, method=\"selectByExample\")\n @Results({\n @Result(column=\"orderId\", property=\"orderid\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"orderSN\", property=\"ordersn\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"placeId\", property=\"placeid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"placeCityId\", property=\"placecityid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"serviceDate\", property=\"servicedate\", jdbcType=JdbcType.DATE),\n @Result(column=\"serviceTime\", property=\"servicetime\", jdbcType=JdbcType.TIME),\n @Result(column=\"serviceAllDateDisplay\", property=\"servicealldatedisplay\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"localDay\", property=\"localday\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"nonlocalDay\", property=\"nonlocalday\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"departure\", property=\"departure\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"destination\", property=\"destination\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"distance\", property=\"distance\", jdbcType=JdbcType.DECIMAL),\n @Result(column=\"deptDetailAddress\", property=\"deptdetailaddress\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"destDetailAddress\", property=\"destdetailaddress\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"seatCategory\", property=\"seatcategory\", jdbcType=JdbcType.TINYINT),\n @Result(column=\"type\", property=\"type\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"price\", property=\"price\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"clientPrice\", property=\"clientprice\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"guidePrice\", property=\"guideprice\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"orderType\", property=\"ordertype\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"userGuideId\", property=\"userguideid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"preGuideId\", property=\"preguideid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"guideId\", property=\"guideid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"clientType\", property=\"clienttype\", jdbcType=JdbcType.TINYINT),\n @Result(column=\"clientId\", property=\"clientid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"userpassportId\", property=\"userpassportid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"adminId\", property=\"adminid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"status\", property=\"status\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"payStatus\", property=\"paystatus\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"hasRefund\", property=\"hasrefund\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"imToken\", property=\"imtoken\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"deliveredPriority\", property=\"deliveredpriority\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"dealOrderTime\", property=\"dealordertime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"reDeliverType\", property=\"redelivertype\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"reDeliverCount\", property=\"redelivercount\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"deliverTime\", property=\"delivertime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"guideCommentStatus\", property=\"guidecommentstatus\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"userCommentStatus\", property=\"usercommentstatus\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"updated_at\", property=\"updatedAt\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"refId\", property=\"refid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"mode\", property=\"mode\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"serviceCar\", property=\"servicecar\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"serviceGuide\", property=\"serviceguide\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"serviceCarId\", property=\"servicecarid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"serviceGuideId\", property=\"serviceguideid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"agencyType\", property=\"agencytype\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"deleted_at\", property=\"deletedAt\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"created_at\", property=\"createdAt\", jdbcType=JdbcType.TIMESTAMP)\n })\n List selectByExample(FinalOrderBeanCriteria example);","title":""},{"docid":"772ae6cdb712c4f174ff8f90503c95a7","score":"0.4400821","text":"@RegisterMapper(ExpertiseMapper.class)\npublic interface ExpertiseDAO {\n\n @SqlQuery(\"select * from expertise\")\n List getExpertises();\n\n @SqlUpdate(\"INSERT INTO gebruiker_expertise (expertiseType, gebruikerID)\" +\n \"VALUES (:expertiseType, :gebruikerID)\")\n void insertExpertiseGebruiker(@BindBean Expertise expertise, @Bind(\"gebruikerID\") int gebruikerID);\n\n @SqlUpdate(\"INSERT INTO expertise_vacature (expertiseType, vacatureID)\" +\n \"VALUES (:expertiseType, :vacatureID)\")\n void insertExpertiseVacature(@BindBean Expertise expertise, @Bind(\"vacatureID\") int vacatureID);\n\n @SqlQuery(\"SELECT expertiseType FROM gebruiker_expertise WHERE gebruikerID = :gebruikerID\")\n List getGebruikerExpertises(@Bind(\"gebruikerID\") int gebruikerID);\n\n @SqlUpdate(\"DELETE FROM gebruiker_expertise WHERE gebruikerID = :gebruikerID AND expertiseType = :expertiseType\")\n void deleteGebruikerExpertise(@BindBean Expertise expertise, @Bind(\"gebruikerID\") int gebruikerID);\n\n @SqlQuery(\"SELECT expertiseType FROM expertise_vacature WHERE vacatureid = :vacatureID\")\n List getVacatureExpertises(@Bind(\"vacatureID\") int vacatureID);\n}","title":""},{"docid":"9226ee851299e7746ba31609908f0e3b","score":"0.4400192","text":"Feedback() {\n }","title":""},{"docid":"a5e666cf570ced804832b3693b8d2d10","score":"0.4399839","text":"@Select({\n \"select\",\n \"messageid, createDate, message, senderid, recieverid\",\n \"from jiapumessage\",\n \"where messageid = #{messageid,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"messageid\", property=\"messageid\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"createDate\", property=\"createdate\", jdbcType=JdbcType.DATE),\n @Result(column=\"message\", property=\"message\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"senderid\", property=\"senderid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"recieverid\", property=\"recieverid\", jdbcType=JdbcType.VARCHAR)\n })\n JiapuMessage selectByPrimaryKey(Integer messageid);","title":""}],"string":"[\n {\n \"docid\": \"d46bc8f50ec1d9e821b4f6ab8b737cdf\",\n \"score\": \"0.6261485\",\n \"text\": \"@Override\\n\\t//1.method to get all the feedback details saved in the database\\n\\tpublic List getFeedback() throws SQLException {\\n\\t\\tArrayList feedback1= new ArrayList();\\n\\t\\t\\ttry{\\n\\t\\t\\t\\tstate=con.getConnection().createStatement();//executing a query\\n\\t\\t\\t\\tString sql=\\\"select * from feedback\\\";\\n\\t\\t\\t\\tResultSet result= state.executeQuery(sql);\\t\\t\\t\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t//assigned details retrieved from the database to variables\\n\\t\\t\\t\\twhile(result.next()) {\\n\\t\\t\\t\\t\\tint Feedback_ID=result.getInt(1);\\n\\t\\t\\t\\t\\tint Cus_ID=result.getInt(2);\\n\\t\\t\\t\\t\\tString Email=result.getString(3);\\n\\t\\t\\t\\t\\tString Date=result.getString(4);\\n\\t\\t\\t\\t\\tString Type=result.getString(5);\\n\\t\\t\\t\\t\\tString Message=result.getString(6);\\n\\t\\t\\t\\t\\tint Rating=result.getInt(7);\\n\\t\\t\\t\\t\\tString Status=result.getString(8);\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\tFeedback f1 = new Feedback(Feedback_ID,Cus_ID, Email, Date, Type,Message, Rating, Status);\\n\\t\\t\\t\\t\\tfeedback1.add(f1);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}catch (Exception e) {\\n\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t}\\n\\t\\t//return the feedback array object\\n\\t\\treturn feedback1;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b81d2c6b450e46802f7b4e4238598d4b\",\n \"score\": \"0.6083528\",\n \"text\": \"ManufacturingFeedback selectByPrimaryKey(Integer id);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fa696d927eaeaeb87c3bbf74461efd33\",\n \"score\": \"0.591391\",\n \"text\": \"@Override\\n\\tpublic int generateFeedback(FeedbackForm feedbackForm)\\n\\t\\t\\tthrows ClassNotFoundException, IOException {\\n\\t\\tint i=0;\\n\\t\\tPreparedStatement ps=null;\\n\\t\\tString str = \\\"insert into FEEDBACK_FORM values (?,?,?,?,?,?)\\\";\\n\\t\\n\\t\\ttry\\n\\t\\t{\\n\\t\\t\\tConnection con = ConnectionHelper.getMySqlConnection();\\n\\t\\t\\t\\n\\t\\t\\tps=con.prepareStatement(str);\\n\\t\\t\\tps.setInt(1,feedbackForm.getFeedback_id());\\n\\t\\t\\tps.setInt(2, feedbackForm.getTraining_id());\\n\\t\\t\\tps.setInt(3, feedbackForm.getBatch_id());\\n\\t\\t\\tps.setString(4, feedbackForm.getFaculty_name());\\n\\t\\t\\tps.setString(5, feedbackForm.getFeedback_date());\\n\\t\\t\\tps.setString(6, feedbackForm.getStatus());\\n\\t\\t\\t//System.out.println(ps);\\n\\t\\t\\ti= ps.executeUpdate();\\n\\t\\t\\tSystem.out.println(\\\"IN DAOimpl after insert query\\\");\\n\\t\\t\\t\\n\\t\\t\\tSystem.out.println(i);\\n\\t\\t\\tcon.commit();\\n\\t\\t\\tcon.close();\\n\\t\\t}\\n\\t\\tcatch(SQLException e)\\n\\t\\t{\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\treturn i;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9319414e8e90edf983e9925120d86559\",\n \"score\": \"0.57502073\",\n \"text\": \"public Set getAllFeedbacks() throws SQLException, ClassNotFoundException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4cbb00bc1a9f6178b650878b19d6c571\",\n \"score\": \"0.56480736\",\n \"text\": \"@Override\\n\\tpublic Set viewFeedbackReport() {\\n\\t\\tICrudOperation iCrudOperation = new FeedbackDaoImpl();\\n\\t\\tSet feedbackset = iCrudOperation.retrieveAll();\\n\\t\\treturn feedbackset;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a42f25aaabea172c563583e0ae39c445\",\n \"score\": \"0.5456191\",\n \"text\": \"@Override\\n\\tpublic List getAllFeedbacks() {\\n\\t\\treturn dao.findAll();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3e403be6d6f452a790d18877a0ad9798\",\n \"score\": \"0.54106337\",\n \"text\": \"List selectByExample(ManufacturingFeedbackExample example);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e6d57431910783afb3c21b68581c2e4\",\n \"score\": \"0.53607166\",\n \"text\": \"@WebMethod\\n\\tpublic Vector getFeedback(){\\n\\t\\tVector fb = dbManager.retrieveFeedback();\\n\\t\\treturn fb;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9135ba3ed2708cc267e8945b9ec3df74\",\n \"score\": \"0.52485436\",\n \"text\": \"public void saveFeedback(Feedback feedback) throws SQLException, ClassNotFoundException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a19be9a352bacac69dba8ab9487f55c4\",\n \"score\": \"0.5230298\",\n \"text\": \"public int getFeedbackId() {\\n return feedbackId;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bbd7a7e03996cbf6bcf16abf4583cf84\",\n \"score\": \"0.52056944\",\n \"text\": \"List selectByExampleSelective(@Param(\\\"example\\\") ManufacturingFeedbackExample example, @Param(\\\"selective\\\") ManufacturingFeedback.Column ... selective);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ca5f2807a1d93cb5f4043e1d9119cf32\",\n \"score\": \"0.5148446\",\n \"text\": \"int insertSelective(ManufacturingFeedback record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1160b2f9b1381a7ae73323c3eec2704e\",\n \"score\": \"0.5116336\",\n \"text\": \"public void setFeedback(String feedback) {\\n this.feedback = feedback;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d42f8a65e1e9bbf750b9861cbe0a2478\",\n \"score\": \"0.50539345\",\n \"text\": \"public String getFeedback() {\\n return this.feedback;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"052f86572ed8b9775e813da15fce4841\",\n \"score\": \"0.5030062\",\n \"text\": \"ManufacturingFeedback selectOneByExampleSelective(@Param(\\\"example\\\") ManufacturingFeedbackExample example, @Param(\\\"selective\\\") ManufacturingFeedback.Column ... selective);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"07769935434895fbd27231eac4bdf1e8\",\n \"score\": \"0.50148624\",\n \"text\": \"@Override\\n\\t\\t\\tpublic List viewfeedback() {\\n\\t\\t\\t\\treturn reportRepository.viewfeedback();\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bcbeead34a37b9ae1df83f514d6d95fd\",\n \"score\": \"0.5012551\",\n \"text\": \"SysFeedbackMedia selectByPrimaryKey(Long feedbackMediaId);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1df5ddb3ba84281bfeddefa1bc49d55\",\n \"score\": \"0.50072896\",\n \"text\": \"ManufacturingFeedback selectByPrimaryKeySelective(@Param(\\\"id\\\") Integer id, @Param(\\\"selective\\\") ManufacturingFeedback.Column ... selective);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f163db39562576fa00c4ab54ced54e4\",\n \"score\": \"0.5006063\",\n \"text\": \"public interface FeedbackDAO {\\n\\n ArrayList selectData();\\n void insertData(Feedback feedback);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a3dd11a0c1abf47da7b571885dcfb94\",\n \"score\": \"0.4950769\",\n \"text\": \"public String toSql(){\\r\\n\\t\\treturn \\\"Not implemented\\\";\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"076197a951da79070841a9b493549f43\",\n \"score\": \"0.49168596\",\n \"text\": \"int insert(ManufacturingFeedback record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"56b3173e0cd1aad0cc041cdec1b71d1d\",\n \"score\": \"0.49159914\",\n \"text\": \"@Override\\n\\tpublic List getSumNow(Feedback feedback) throws Exception {\\n\\t\\treturn feedbackDao.getSumNow(feedback);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf4d5dfede1852301efd2b44b4b0e88e\",\n \"score\": \"0.49014628\",\n \"text\": \"ManufacturingFeedback selectOneByExample(ManufacturingFeedbackExample example);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3ce54bd55e5a08e81bd10b9e6d20eaee\",\n \"score\": \"0.4878812\",\n \"text\": \"@Override\\n\\tpublic List getCountNow(Feedback feedback) {\\n\\t\\treturn feedbackDao.getCountNow(feedback);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"74898faf115c5c806dc18c215171566c\",\n \"score\": \"0.4875151\",\n \"text\": \"@Override\\r\\n\\tpublic int insertFeedback(CrFeedbackDTO crFeedbackDTO) {\\n\\t\\treturn 0;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"289a7c1dc9acedc4bab1491a971e751b\",\n \"score\": \"0.48719653\",\n \"text\": \"@Repository\\npublic interface FeedbackMapper {\\n\\n public List getAllFeedback();\\n\\n public int addFeedback(Feedback feedback);\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c8aca8c983da5f50052014a452b9b632\",\n \"score\": \"0.48451474\",\n \"text\": \"@Override\\r\\n\\tpublic CrFeedbackDTO selectFeedback(String crSubasgnCode) {\\n\\t\\treturn null;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aef6f782149125f9f8ffb202e4a5d5d4\",\n \"score\": \"0.4836934\",\n \"text\": \"int updateByPrimaryKey(ManufacturingFeedback record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"156f00369a53c4b2430d9a7f7b433927\",\n \"score\": \"0.48290676\",\n \"text\": \"@Override\\n\\tpublic List findUntreated() throws Exception {\\n\\t\\tFeedbackExample feedbackExample = new FeedbackExample();\\n\\t\\tFeedbackExample.Criteria criteria = feedbackExample.createCriteria();\\n\\t\\tcriteria.andFeedbackStateEqualTo(0);\\n\\t\\treturn feedbackMapper.selectUnionByExample(feedbackExample);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2eacae99b7ba145e8462aa98fedc67d6\",\n \"score\": \"0.48275194\",\n \"text\": \"int updateByPrimaryKeySelective(ManufacturingFeedback record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d2118df5e97d221a78a13e34c0d0c53e\",\n \"score\": \"0.48249933\",\n \"text\": \"PlayerFeedback selectByPrimaryKey(Integer id);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e92f32e63fd88cda87987c3ee2ff2865\",\n \"score\": \"0.47977284\",\n \"text\": \"@RequestMapping(\\\"/addFeedback\\\")\\r\\n //public String addFeedback(@RequestParam(\\\"name\\\") String name, @RequestParam(\\\"email\\\") String email, @RequestParam(\\\"reg\\\") String reg, @RequestParam(\\\"code\\\") String code,@RequestParam(\\\"msg\\\") String msg, @RequestParam(\\\"rating\\\") int rating){\\r\\n public String addFeedback(@ModelAttribute Feedback feedback){\\n fdao.addFeedback(feedback);\\r\\n return \\\"welcome.jsp\\\";\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8eebc9124de8f8cfdc664ca704195169\",\n \"score\": \"0.47758567\",\n \"text\": \"@Override\\n\\tpublic void delete(MeetingFeedback meeetingFeedback) {\\n\\t\\tjdbcTemplate.update(DELETE_MEETING_FEEDBACK_SQL, meeetingFeedback.getId());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"992b9ebefb96b99361bce38c0f5a39a4\",\n \"score\": \"0.47548282\",\n \"text\": \"public interface RequestFundsMapper {\\r\\n\\t\\r\\n\\t/*@Select(\\\"SELECT * FROM user_ WHERE userId = #{userId}\\\")\\r\\n\\tpublic User searchBasedOnSacwisId(@Param(\\\"userId\\\") String userId);*/\\r\\n\\t\\r\\n\\tstatic final String SQL=\\\"select SACWIS.GET_PERSON_NAME_FORMAT(p.person_id, 'LSFM') as personFullName, nvl(to_char(p.birth_date,'mm/dd/yyyy'), ' ') as dob, p.person_id as sacwisId,nvl(RD.SHORT_DESC,' ') as type,\\\"+\\r\\n \\\" nvl(to_char(lb.official_date,'mm/dd/yyyy'),' ') as custodyDate, nvl(ag.agency_name,' ') as custody, ag.agency_id as custodyAgencyId , ps.placement_setting_id as placement_id, nvl(st.service_desc,' ') as serviceDesc, nvl(e.IVE_ELIGIBLE_INDICATOR,' ') as iveReimbursable, cp.case_id as caseId \\\"+\\r\\n\\t\\t\\t\\\" from sacwis.case_participant cp inner join sacwis.case_participant cRefPerson on cp.case_id = cRefPerson.case_id and cRefPerson.reference_person_flag = 1 \\\"+\\r\\n\\t\\t\\t\\\" inner join sacwis.person p on p.person_id = cp.person_id \\\"+ \\r\\n\\t\\t\\t\\\" left outer join SACWIS.CASE_PARTICIPANT_RELN cpr \\\"+ //only get relationships that are 'to' the case reference person \\r\\n\\t\\t\\t\\\" on cpr.case_id = cp.case_id and cpr.dest_person_id = cp.person_id and cpr.SOURCE_PERSON_ID = cRefPerson.person_id \\\"+\\r\\n\\t\\t\\t\\\" left outer join SACWIS.REF_DATA RD on RD.REF_DATA_CODE = cpr.RELATIONSHIP_CODE and RD.DOMAIN_CODE = 'Relationship' \\\"+\\r\\n\\t\\t\\t\\\" left outer join SACWIS.LEGAL_CUSTODY_EPISODE lce on lce.PERSON_ID = cp.PERSON_ID and nvl(lce.CREATED_IN_ERROR_FLAG,0) = 0 \\\"+\\r\\n\\t\\t\\t\\\" left outer join sacwis.legal_status_info lsi on lsi.LEGAL_CUSTODY_EPISODE_ID = lce.LEGAL_CUSTODY_EPISODE_ID \\\"+\\r\\n\\t\\t \\\" left outer join sacwis.legal_base lb on lb.legal_base_id = lsi.legal_base_id \\\"+\\r\\n\\t\\t\\t\\\" left outer join SACWIS.LEGAL_CUSTODY_AGENCY_LINK lcal on lcal.LEGAL_CUSTODY_EPISODE_ID = lce.LEGAL_CUSTODY_EPISODE_ID \\\"+\\r\\n\\t\\t\\t\\\" left outer join agency ag on ag.agency_id = lcal.agency_id \\\"+\\r\\n\\t\\t\\t\\\" left outer join SACWIS.PLACEMENT_SETTING ps on ps.CHILD_ID = lce.PERSON_ID \\\"+\\r\\n \\\" and nvl(ps.END_REASON_CODE,'NULL') <> 'CREATEDINERROR' \\\"+\\r\\n\\t\\t\\t\\\" left outer join SACWIS.service_type st on st.service_id = ps.service_id \\\"+\\r\\n \\\" left outer join SACWIS.ELIGIBILITY e \\\"+ \\r\\n \\\" on E.PERSON_ID = CP.PERSON_ID and e.TERMINATION_DATE is null and nvl(e.CREATED_IN_ERROR_FLAG, 0) = 0 \\\"+\\r\\n \\\" where cp.case_id = #{caseId} and cp.CURRENT_STATUS_CODE = 'ACTIVE' and (lce.LEGAL_CUSTODY_EPISODE_id is null \\\"+ \\r\\n \\\" or lb.Official_DATE = (select max(lb.official_date) from legal_base lb \\\"+\\r\\n \\\" inner join legal_status_info lsi on lsi.legal_base_id = lb.legal_base_id \\\"+\\r\\n \\\" inner join legal_participants lp on lp.legal_base_id = lb.legal_base_id where lp.person_id = cp.person_id \\\"+ \\r\\n \\\" and nvl(lsi.CREATED_IN_ERROR_FLAG,0) = 0)) and (ps.placement_setting_id is null or ps.begin_date = (select max(ps.begin_date) \\\"+ \\r\\n \\\" from placement_setting ps where ps.child_id = cp.person_id and nvl(ps.END_REASON_CODE,'**NULL**') <> 'CREATEDINERROR')) order by custody nulls first\\\";\\r\\n\\t\\r\\n\\tstatic final String SAMPLE=\\\"select case_id as caseId from sacwis.case_participant where rownum=1\\\";\\r\\n\\t\\r\\n\\tstatic final String CASE_SQL = \\\"select GET_PERSON_FULL_NAME(SACWIS.GETEMPLOYEEPERSON_ID(SACWIS.GET_PRIMARY_WORKER(#{caseId}, null))) as caseWorker, \\\"+\\r\\n\\t\\t\\t\\t\\\"(CB.LAST_NAME||', '|| CB.FIRST_NAME ||DECODE(CB.MIDDLE_NAME,NULL, ' ',CB.MIDDLE_NAME ))AS caseName, su.person_id as requestingCaseWorker from WORK_ASSIGNMENT WA \\\"\\r\\n\\t\\t\\t\\t+ \\\"inner join workload_item wi on wi.workload_item_id = wa.workload_item_id \\\"\\r\\n\\t\\t\\t\\t+ \\\" inner join EMPLOYEE E on E.EMPLOYEE_ID = WA.EMPLOYEE_ID \\\"\\r\\n\\t\\t\\t\\t+ \\\" inner join SECURITY_USER SU on SU.EMPLOYEE_ID = E.EMPLOYEE_ID \\\"\\r\\n\\t\\t\\t\\t+ \\\" inner join CASE_BASE CB on CB.CASE_ID = WI.WORK_ITEM_ID \\\"\\r\\n\\t\\t\\t\\t+ \\\" where wi.work_item_id = #{caseId} and wi.work_item_type_code = 'CASE' and su.end_date is null and rownum =1\\\";\\r\\n\\t\\r\\n\\tstatic final String INSERT_REQUEST_FUNDS = \\\" INSERT INTO REQUEST_FUNDS(CASE_ID, REQUESTED_DATE, \\tCASE_WORKER_REQUESTING,\\tCASE_WORKER , \\tCASE_NAME ,\\tWORKER_PHONE, DONATION , PREPLACEMENT , \\\"\\r\\n\\t\\t\\t+ \\\" AFTERCARE_INDEPENDENCE, KINSHIP_CARE, OPERATING, FAMILY_REUNIFICATION, ALTERNATIVE_RESPONSE, PERSON_RESPFOR_PURCHASE, REQUEST_PURPOSE, \\\"\\r\\n\\t\\t\\t+ \\\" OTHERCOMMRESCONTACTED, TOTALAMTREQUESTED, DATE_REQUIRED, FUND_MODE, FUND_DELIVERY_TYPE, PAYMENT_MADE_FOR, OTHER_INSTRUCTIONS, \\\"\\r\\n\\t\\t\\t+ \\\"\\tFURNITURE_DELIVERY_ADDRESS, BUDGET_CENTER, LINEITEM, STATUS_CODE , APPROVER_NAME, APPROVER, CREATED_DATE, CREATED_BY, \\\"\\r\\n\\t\\t\\t+ \\\"\\tMODIFIED_DATE, MODIFIED_BY) VALUES \\\"\\r\\n\\t\\t\\t+ \\\"\\t(#{caseId}, #{requestedDate}, #{requestingCaseWorker}, #{caseWorker}, #{caseName}, #{workerPhoneNumber}, #{donation}, #{prePlacement}, #{afterCareIndependence}, #{kinshipCare}, \\\"\\r\\n\\t\\t\\t+ \\\" #{operating}, #{familyReunification}, #{alternativeResponse}, #{personRespForPurchase}, #{requestPurpose}, #{otherCommResContacted}, #{totalAmtRequested}, #{dateRequired}, \\\"\\r\\n\\t\\t\\t+ \\\" #{fundMode}, #{fundDeliveryType} ,#{paymentMadeFor}, #{otherInstructions}, #{furnitureDeliveryAddress}, #{budgetCenter}, #{lineItem} \\\"\\r\\n\\t\\t\\t+ \\\"\\t, #{statusCode}\\t, #{approverName}, #{approver}, #{createdDate},#{createdBy}, #{modifiedDate}, #{modifiedby})\\\";\\r\\n\\r\\n\\tstatic final String INSERT_REQUEST_FUNDS_PARTICIPANT =\\\"INSERT INTO REQUEST_FUNDS_PARTICIPANT(\\tREQUEST_FUNDS_ID, PERSON_ID, PERSON_NAME, BIRTH_DATE, RELATIONSHIP_TYPE_CODE, \\\"\\r\\n\\t\\t\\t+ \\\"\\tCUSTODY, CUSTODY_AGENCY_ID,\\tPLACEMENT_ID, SERVICE_DESC, CUSTODY_DATE,\\tIVE_REIMBURSABLE_FLAG, CREATED_DATE ,CREATED_BY , \\\"\\r\\n\\t\\t\\t+ \\\"\\tMODIFIED_DATE ,\\tMODIFIED_BY) VALUES\\t(#{requestFundsId},#{sacwisId},#{personFullName},#{dob},#{type},#{custody},#{custodyAgencyId},#{placementId},#{serviceDesc},#{custodyDate} \\\"\\r\\n\\t\\t\\t+ \\\"\\t,#{iveReimbursable},#{createdDate},#{createdBy},#{modifiedDate},#{modifiedby})\\\";\\r\\n\\r\\n\\r\\n\\tstatic final String UPDATE_REQUEST_FUNDS= \\\"UPDATE REQUEST_FUNDS SET CASE_ID =#{caseId} , REQUESTED_DATE=#{requestedDate}, \\\"\\r\\n\\t\\t\\t+ \\\"\\tCASE_WORKER_REQUESTING=#{requestingCaseWorker},\\tCASE_WORKER=#{caseWorker} , \\tCASE_NAME=#{caseName} ,\\tWORKER_PHONE=#{workerPhoneNumber}, \\\"\\r\\n\\t\\t\\t+ \\\"\\tDONATION=#{donation} , PREPLACEMENT=#{prePlacement} , \\\"\\r\\n\\t\\t\\t+ \\\"\\tAFTERCARE_INDEPENDENCE=#{afterCareIndependence}, KINSHIP_CARE=#{kinshipCare}, OPERATING=#{operating}, FAMILY_REUNIFICATION=#{familyReunification}, \\\"\\r\\n\\t\\t\\t+ \\\"\\tALTERNATIVE_RESPONSE=#{alternativeResponse}, PERSON_RESPFOR_PURCHASE=#{personRespForPurchase}, REQUEST_PURPOSE=#{requestPurpose}, \\\"\\r\\n\\t\\t\\t+ \\\"\\tOTHERCOMMRESCONTACTED=#{otherCommResContacted}, TOTALAMTREQUESTED=#{totalAmtRequested}, DATE_REQUIRED=#{dateRequired}, \\\"\\r\\n\\t\\t\\t+ \\\"\\tFUND_MODE=#{fundMode}, FUND_DELIVERY_TYPE=#{fundDeliveryType}, PAYMENT_MADE_FOR=#{paymentMadeFor}, OTHER_INSTRUCTIONS=#{otherInstructions}, \\\"\\r\\n\\t\\t\\t+ \\\"\\tFURNITURE_DELIVERY_ADDRESS=#{furnitureDeliveryAddress}, BUDGET_CENTER=#{budgetCenter}, LINEITEM=#{lineItem}, STATUS_CODE=#{statusCode} ,\\\"\\r\\n\\t\\t\\t+ \\\" APPROVER_NAME= #{approverName}, APPROVER=#{approver}, CREATED_DATE= #{createdDate}, CREATED_BY=#{createdBy}, \\\"\\r\\n\\t\\t\\t+ \\\"\\tMODIFIED_DATE=#{modifiedDate}, MODIFIED_BY=#{modifiedby}\\\";\\r\\n\\t\\r\\n\\tstatic final String RETRIEVE_REQUEST_FUNDS_REQUESTS = \\\"select REQUEST_FUNDS_ID as id, case_id as caseId, case_name as caseName, case_worker as caseWorker, created_date as createdDate from request_funds where STATUS_CODE = #{statusCode}\\\";\\r\\n\\t\\r\\n\\tstatic final String RETRIEVE_FUND_REQUEST_BY_ID = \\\"select REQUEST_FUNDS_ID as id, CASE_ID as caseId, ISNULL(convert(char, REQUESTED_DATE, 101), '') as requestedDate, CASE_WORKER_REQUESTING as requestingCaseWorker, \\\" +\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"CASE_WORKER as caseWorker ,CASE_NAME as caseName, WORKER_PHONE as worcharkerPhoneNumber, DONATION as donation, PREPLACEMENT as prePlacement, \\\" +\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"AFTERCARE_INDEPENDENCE as afterCareIndependence, KINSHIP_CARE as kinshipCare, OPERATING as operating, FAMILY_REUNIFICATION as familyReunification, \\\" +\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"ALTERNATIVE_RESPONSE as alternativeResponse, PERSON_RESPFOR_PURCHASE as personRespForPurchase, REQUEST_PURPOSE as requestPurpose, \\\" +\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"OTHERCOMMRESCONTACTED as otherCommResContacted, TOTALAMTREQUESTED as totalAmtRequested, ISNULL(convert(char, DATE_REQUIRED, 101), '') as dateRequired, FUND_MODE as fundMode, \\\" +\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"FUND_DELIVERY_TYPE as fundDeliveryType, PAYMENT_MADE_FOR as paymentMadeFor, OTHER_INSTRUCTIONS as otherInstructions, FURNITURE_DELIVERY_ADDRESS as furnitureDeliveryAddress, \\\" +\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"BUDGET_CENTER as budgetCenter, LINEITEM as lineItem, STATUS_CODE as statusCode, APPROVER_NAME as approverName, APPROVER as approver, \\\" +\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"CREATED_DATE as createdDate, CREATED_BY as createdBy, MODIFIED_DATE as modifiedDate, MODIFIED_BY as modifiedby \\\" +\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"from request_funds where request_funds_id = #{id}\\\";\\r\\n\\t\\r\\n\\tstatic final String RETRIEVE_FUND_REQUEST_PARTICIPANTS_BY_ID = \\\"select REQUEST_FUNDS_PARTICIPANT_ID as id, REQUEST_FUNDS_ID as requestFundsId, PERSON_ID as sacwisId, \\\" +\\r\\n\\t\\t\\t\\t\\\"PERSON_NAME as personFullName,ISNULL(convert(char, BIRTH_DATE, 101), '') as dob, RELATIONSHIP_TYPE_CODE as type, CUSTODY as custody, CUSTODY_AGENCY_ID as custodyAgencyId, \\\" +\\r\\n\\t\\t\\t\\t\\\"PLACEMENT_ID as placementId, SERVICE_DESC as serviceDesc,ISNULL(convert(char, CUSTODY_DATE, 101), '') as custodyDate, IVE_REIMBURSABLE_FLAG as iveReimbursable, CREATED_DATE as createdDate, CREATED_BY as createdBy, \\\" +\\r\\n\\t\\t\\t\\t\\\"MODIFIED_DATE as modifiedDate, MODIFIED_BY as modifiedby from REQUEST_FUNDS_PARTICIPANT where REQUEST_FUNDS_ID = #{requestFundsId}\\\";\\r\\n\\t\\r\\n\\tstatic final String UPDATE_REQUEST_FUNDS_STATUS = \\\"UPDATE REQUEST_FUNDS SET STATUS_CODE=#{statusCode} , MODIFIED_DATE=#{modifiedDate} where REQUEST_FUNDS_ID=#{id}\\\";\\r\\n\\t\\r\\n\\t@Select(SQL)\\r\\n\\tpublic List searchBasedOnSacwisId(@Param(\\\"caseId\\\") String caseId);\\r\\n\\t\\r\\n\\t@Select(CASE_SQL)\\r\\n\\tpublic List retrieveCaseDetails(@Param(\\\"caseId\\\") String caseId);\\r\\n\\t\\r\\n\\t@Insert(INSERT_REQUEST_FUNDS)\\r\\n\\t@Options(useGeneratedKeys = true, keyProperty = \\\"id\\\", keyColumn = \\\"REQUEST_FUNDS_ID\\\")\\r\\n\\tpublic int insertFundRequest(RequestFunds requestFund);\\r\\n\\r\\n\\t@Insert(INSERT_REQUEST_FUNDS_PARTICIPANT)\\r\\n\\t@Options(useGeneratedKeys = true, keyProperty = \\\"id\\\", keyColumn = \\\"REQUEST_FUNDS_PARTICIPANT_ID\\\")\\r\\n\\tpublic int insertFundRequestParticipant(CaseParticipant requestFundsParticipant);\\r\\n\\t\\r\\n\\t@Update(UPDATE_REQUEST_FUNDS)\\r\\n\\tpublic int updateFundRequest(RequestFunds requestFund);\\r\\n\\t\\r\\n\\t@Select(RETRIEVE_REQUEST_FUNDS_REQUESTS)\\r\\n\\tpublic List retrieveRequestFundsRequests(@Param(\\\"statusCode\\\") BigDecimal statusCode);\\r\\n\\t\\r\\n\\t@Select(RETRIEVE_FUND_REQUEST_BY_ID)\\r\\n\\tpublic List retrieveFundsRequestById(@Param(\\\"id\\\") String requestFundId);\\r\\n\\t\\r\\n\\t@Select(RETRIEVE_FUND_REQUEST_PARTICIPANTS_BY_ID)\\r\\n\\tpublic List retrieveFundsRequestParticipantsById(@Param(\\\"requestFundsId\\\") String requestFundId);\\r\\n\\t\\r\\n\\t@Update(UPDATE_REQUEST_FUNDS_STATUS)\\r\\n\\tpublic int updateFundRequestStatus(@Param(\\\"id\\\") BigDecimal id, @Param(\\\"modifiedDate\\\") Date modifiedDate, @Param(\\\"statusCode\\\") BigDecimal statusCode);\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a027c84e0627d633dfce3e3d6be0532c\",\n \"score\": \"0.47423172\",\n \"text\": \"@Override\\n\\tpublic Feedback findFeedback(Long feedbackId) throws Exception {\\n\\t\\tFeedback feedback = feedbackMapper.selectByPrimaryKey(feedbackId);\\n\\t\\treturn feedback;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ff42872f1c1adb8719bd294daf2253a0\",\n \"score\": \"0.4739534\",\n \"text\": \"@Override\\n public void migrate(CaaersDataMigrationContext context){\\n String query = \\\"select so.study_id, md.id, md.brand_name, md.common_name, md.device_type,md.manufacturer_name, \\\" +\\n \\\"md.manufacturer_city, md.manufacturer_state, md.model_number, md.catalog_number \\\" +\\n \\\"from ae_medical_devices md \\\" +\\n \\\"join ae_reports r on r.id = md.report_id \\\" +\\n \\\"join ae_reporting_periods rp on rp.id = r.reporting_period_id \\\" +\\n \\\"join participant_assignments a on rp.assignment_id=a.id \\\" +\\n \\\"join study_organizations so on so.id = a.study_site_id \\\" +\\n \\\"order by so.study_id\\\";\\n \\n\\n HashMap> studyDeviceMap =\\n (HashMap>)getJdbcTemplate().query(query, new ResultSetExtractor(){\\n public Object extractData(ResultSet rs) throws SQLException, DataAccessException {\\n //a data structure to hold the merged study device -to- medical device mapping.\\n final HashMap> studyDeviceMap = new HashMap>();\\n String studyId = null;\\n ArrayList studyDeviceWrapperList = null;\\n while(rs.next()){\\n\\n studyId = getString(rs, 1);\\n String mdId = getString(rs, 2);\\n\\n StudyDevice sd = new StudyDevice();\\n sd.setOtherBrandName(getString(rs, 3));\\n sd.setOtherCommonName(getString(rs, 4));\\n sd.setOtherDeviceType(getString(rs, 5));\\n sd.setManufacturerName(getString(rs, 6) );\\n sd.setManufacturerCity(getString(rs, 7));\\n sd.setManufacturerState(getString(rs, 8) );\\n sd.setModelNumber(getString(rs, 9));\\n sd.setCatalogNumber(getString(rs, 10) );\\n\\n studyDeviceWrapperList = studyDeviceMap.get(studyId);\\n if(studyDeviceWrapperList == null){\\n //new study \\n studyDeviceWrapperList = new ArrayList();\\n studyDeviceMap.put(studyId, studyDeviceWrapperList);\\n }\\n StudyDeviceWrapper wrapper = StudyDeviceWrapper.findStudyDeviceWrapper(studyDeviceWrapperList, sd);\\n if(wrapper == null){\\n //new study device\\n wrapper = new StudyDeviceWrapper(studyId, sd, mdId);\\n studyDeviceWrapperList.add(wrapper);\\n }else{\\n //merge to existing study device\\n wrapper.addMedicalDeviceId(mdId);\\n }\\n\\n \\n }\\n return studyDeviceMap; \\n }\\n\\n //some PostgresSQL driver will throw NPE when column is SQL NULL\\n // so this workaround....\\n public String getString(ResultSet rs , int index) throws SQLException{ \\n Object o = rs.getObject(index);\\n if(o == null) return null;\\n return String.valueOf(o);\\n }\\n });\\n\\n //now generate the batch statements.\\n ArrayList sqls = new ArrayList();\\n for(String key : studyDeviceMap.keySet()){\\n ArrayList wrapperList = studyDeviceMap.get(key);\\n for(StudyDeviceWrapper wrapper : wrapperList){\\n sqls.add(generateInsertStudyDeviceSQL(context, wrapper)); //insert study device.\\n sqls.addAll(generateUpdateMedicalDeviceSQL(wrapper)); // scripts to udpate the medical device\\n }\\n }\\n\\n if(log.isDebugEnabled()){\\n log.debug(\\\"SQLs to run [MedicalDeviceDataMigrator] ...\\\" );\\n for(String sql : sqls) log.debug(\\\" >>> \\\" + sql);\\n }\\n if(!sqls.isEmpty())\\n getJdbcTemplate().batchUpdate(sqls.toArray(new String[]{}));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"37fd664f489d60c32c0cb80f2ea37039\",\n \"score\": \"0.47252455\",\n \"text\": \"@Override\\n public Class getRecordType() {\\n return AssessmentAssessmentfeedbackAssessmentsRecord.class;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c0a7f3f1f73d71353b896002b75cddf5\",\n \"score\": \"0.47174302\",\n \"text\": \"@Select({\\n \\\"select\\\",\\n \\\"serial_id, order_no, guide_price, meet_order_no, meet_guide_id, meet_order_type, \\\",\\n \\\"meet_order_service_time, meet_order_address, is_match, update_time, create_time\\\",\\n \\\"from `trade_order_serial`\\\",\\n \\\"where serial_id = #{serialId,jdbcType=INTEGER}\\\"\\n })\\n @Results({\\n @Result(column=\\\"serial_id\\\", property=\\\"serialId\\\", jdbcType=JdbcType.INTEGER, id=true),\\n @Result(column=\\\"order_no\\\", property=\\\"orderNo\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"guide_price\\\", property=\\\"guidePrice\\\", jdbcType=JdbcType.DOUBLE),\\n @Result(column=\\\"meet_order_no\\\", property=\\\"meetOrderNo\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"meet_guide_id\\\", property=\\\"meetGuideId\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"meet_order_type\\\", property=\\\"meetOrderType\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"meet_order_service_time\\\", property=\\\"meetOrderServiceTime\\\", jdbcType=JdbcType.TIMESTAMP),\\n @Result(column=\\\"meet_order_address\\\", property=\\\"meetOrderAddress\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"is_match\\\", property=\\\"isMatch\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"update_time\\\", property=\\\"updateTime\\\", jdbcType=JdbcType.TIMESTAMP),\\n @Result(column=\\\"create_time\\\", property=\\\"createTime\\\", jdbcType=JdbcType.TIMESTAMP)\\n })\\n TradeOrderSerial selectByPrimaryKey(Integer serialId);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a395fa79fe83880759630c0bbdcb92a0\",\n \"score\": \"0.47120643\",\n \"text\": \"public String getGeneralFeedback() {\\r\\n return this.generalFeedback;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"488ef24af40d9e035e074e70c990dacd\",\n \"score\": \"0.47005823\",\n \"text\": \"@Override\\r\\n\\tpublic String getTableInfoSql() {\\n\\t\\tthrow new RuntimeException(\\\"不支持创建表信息!\\\");\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0dc44a41e4c9bb23cf8329423bba9c1\",\n \"score\": \"0.46948472\",\n \"text\": \"@RequestMapping(\\\"/feedback\\\")\\n public String feedback(HttpServletRequest p_request, ModelMap p_model)\\n {\\n\\t\\ttry{\\n\\t\\t\\t\\n\\t\\t\\t\\tlogger.info(\\\"feedback functionality\\\");\\n\\t\\n\\t\\t\\t\\tHttpSession session = p_request.getSession(false);\\n\\t\\t\\t\\tp_model.addAttribute(JSONPN_STATUS, \\\"error\\\");\\n\\n\\t\\t\\t\\t// Validate authentication\\n\\t\\t\\t\\tif (!SessionUtil.validateSession(session)) {\\n\\t\\t\\t\\t\\tp_model.addAttribute(JSONPN_STATUS, \\\"timeout\\\");\\n\\t\\t\\t\\t\\treturn \\\"../error/401\\\";\\n\\t\\t\\t\\t}\\n\\t\\t\\t \\t\\n\\t\\t\\t\\t// feedback functionality for except administrator\\n\\t\\t\\t\\t// if(!AppConstants.USER_TYPE_ADMIN.equals(account.getType())){\\t\\t\\n\\t\\t\\t\\tObject accountObj = session.getAttribute(\\\"theAccount\\\");\\n\\t\\t\\t\\tif (null == accountObj)\\n\\t\\t\\t\\t\\treturn \\\"false\\\";\\n\\t\\t\\t\\tif (!(accountObj instanceof Account))\\n\\t\\t\\t\\t\\treturn \\\"false\\\";\\n\\t\\t\\t\\tAccount account = (Account) accountObj;\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t String srcLocale = p_request.getParameter(JSONPN_SOURCE_LOCALE);\\n\\t\\t\\t\\t String trgLocale = p_request.getParameter(JSONPN_TARGET_LOCALE);\\n\\t\\t\\t\\t MTPLanguagesDAO mtpLangDAO = DispatcherDAOFactory.getMTPLanguagesDAO();\\n\\t\\t\\t\\t \\n\\t\\t\\t\\tMachineTranslationProfile machineTranslationProfile = mtpLangDAO.getMTProfileObj(srcLocale,trgLocale);\\n\\t\\t\\t\\tif(StringUtils.isNull(machineTranslationProfile)){\\n\\t\\t\\t\\t\\tlogger.info(\\\"Empty object found for Translation Profile\\\");\\n\\t\\t\\t\\t\\treturn \\\"Error\\\";\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t \\n\\t\\t\\t\\t String srcLocaleTxt = p_request.getParameter(\\\"srcLocaleTxt\\\");\\n\\t\\t\\t\\t String trgLocaleTxt = p_request.getParameter(\\\"trgLocaleTxt\\\");\\n\\t\\t\\t\\t \\n\\t\\t\\t\\t String srcText = p_request.getParameter(\\\"srcText\\\");\\n\\t\\t\\t\\t String trgText = p_request.getParameter(\\\"trgText\\\");\\n\\t\\t\\t\\t String usrFeedback = p_request.getParameter(\\\"usrFeedback\\\");\\n\\t\\t\\t\\t \\n\\t\\t\\t\\tlogger.info(\\\"Preparing mail body...\\\");\\n\\t\\t\\t\\tlogger.info(\\\"MT Dispatcher’s User \\\"+account.getFullName()+\\\" (e-mail: \\\"+account.getEmail() +\\\") submitted feedback on performance of Microsoft Translator Hub.\\\");\\n\\t\\t\\t\\tlogger.info(\\\"Language Pair: \\\"+srcLocaleTxt+\\\" - \\\"+trgLocaleTxt);\\n\\t\\t\\t\\tlogger.info(\\\"Category ID: \\\"+machineTranslationProfile.getCategory());\\n\\t\\t\\t\\tlogger.info(\\\"Text: \\\"+srcText);\\n\\t\\t\\t\\tlogger.info(\\\"Translation: \\\"+trgText);\\n\\t\\t\\t\\tlogger.info(\\\"Feedback: \\\"+usrFeedback);\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t// Start Reading template file\\n\\t\\t\\t\\tStringBuilder finalContent = new StringBuilder();\\n\\t\\t\\t\\tString htmlMsg = \\\"\\\";\\n\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\t// Read template file\\n\\t\\t\\t\\t\\thtmlMsg = Util.readHtml(\\\"feedback_email_template.html\\\");\\n\\t\\t\\t\\t\\t// Add email content to the template text and set template text to finalContent\\n\\t\\t\\t\\t\\tfinalContent.append(Util.setValuesToHtml(htmlMsg, account,srcLocaleTxt,trgLocaleTxt,machineTranslationProfile,srcText,trgText,usrFeedback));\\n\\t\\t\\t\\t} catch (Exception e) {\\n\\t\\t\\t\\t\\tlogger.error(\\\"Exception occured : \\\", e);\\n\\t\\t\\t\\t\\tthrow e;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tString emailBodyTxt = finalContent.toString();\\n\\t\\t\\t\\t// End Reading template file \\n\\t\\t\\t\\t\\n\\t\\t\\t\\tlogger.info(trgText);\\n\\t\\t\\t\\tlogger.info(\\\"Sending email regarding translation feedback...\\\");\\n\\t\\n\\t\\t\\t\\tMailer mailer = new Mailer();\\n\\t\\t\\t\\tmailer.sendMail(emailBodyTxt.toString(),account.getEmail());\\n\\t\\t\\t\\t \\n\\t\\t\\t\\tp_model.addAttribute(JSONPN_STATUS, \\\"success\\\");\\n\\t\\t\\t\\t\\n\\t\\t}catch(Exception e){\\n\\t\\t\\t\\t\\tp_model.addAttribute(JSONPN_STATUS, \\\"error\\\");\\n\\t\\t\\t\\t\\tlogger.error(\\\"Unable to send email for Feedback: \\\"+e.getMessage());\\n\\t\\t}\\n \\t\\t\\t \\t \\n return \\\"success\\\";\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80dc3d450d1f9633189939c49da98ebd\",\n \"score\": \"0.4694453\",\n \"text\": \"public String getSQL();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1ade4fdb6c999d11a2c5abd4ddf522b9\",\n \"score\": \"0.4681253\",\n \"text\": \"@Override\\n\\tpublic FeedbackDAO getFeedbackDAO() {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b841d3e22f1d16cc53d5f9e99614a6f0\",\n \"score\": \"0.46712863\",\n \"text\": \"private void supplierDetails() {\\n int c;\\n try {\\n con = DBConnection.getConnection();\\n prst = con.createStatement();\\n String sql = \\\"select * from supplier\\\";\\n \\n PreparedStatement prst = con.prepareStatement(sql);\\n ResultSet rs = prst.executeQuery();\\n ResultSetMetaData Rss = rs.getMetaData();\\n c = Rss.getColumnCount();\\n DefaultTableModel dr = (DefaultTableModel) suplierTable.getModel();\\n dr.setRowCount(0);\\n while (rs.next()) {\\n Vector v2 = new Vector();\\n for (int a = 1; a <= c; a++) {\\n v2.add(rs.getString(\\\"supplier_code\\\"));\\n v2.add(rs.getString(\\\"supplier_name\\\"));\\n v2.add(rs.getString(\\\"brand\\\"));\\n v2.add(rs.getString(\\\"contact\\\"));\\n v2.add(rs.getString(\\\"address\\\"));\\n \\n }\\n dr.addRow(v2);\\n }\\n\\n } catch (SQLException ex) {\\n // Logger.getLogger(StudentRegistrationForm.class.getName()).log(Level.SEVERE, null, ex);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"417c069227df031ac594bc217e341fed\",\n \"score\": \"0.4670756\",\n \"text\": \"public abstract String toSql();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"99e3e01f7e9676bd5fa9614a91dd5b22\",\n \"score\": \"0.46639395\",\n \"text\": \"public feedback(String feedback_des) {\\r\\n feedbackDescription = feedback_des;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7da53f8bbdc638221e938270660da675\",\n \"score\": \"0.46588334\",\n \"text\": \"public void createFeedback(int Rating, String Content) {\\n FeedbackBuilder fb = new FeedbackBuilder();\\n fb.setScore(Rating);\\n UUID id = UUID.randomUUID();\\n String FBID = \\\"Feedback \\\"+ id.toString();\\n fb.setFeedbackID(FBID);\\n fb.setContent(Content);\\n Feedback fdbk = fb.getFeedback();\\n this.feedbackList.add(fdbk);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"08727aab75147ca3239023f20e1e37b5\",\n \"score\": \"0.4649842\",\n \"text\": \"public Feedback getFeedback(int reqId);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9849472aa493ba0f888bfbad6421d8ff\",\n \"score\": \"0.46235952\",\n \"text\": \"public interface BlockedBonusInfoModelEMapper extends BaseMapper {\\n /**\\n * 被屏蔽补贴管理\\n */\\n @SelectProvider(type = BlockedBonusInfoModelEMapper.SubscribeLineProviderSql.class,method = \\\"getBlockedList\\\")\\n public List getBlockedList(BlockedBonusBean blockedBonusBean);\\n /**\\n * 被屏蔽补贴管理页数\\n */\\n @SelectProvider(type = BlockedBonusInfoModelEMapper.SubscribeLineProviderSql.class,method = \\\"getBlockedCount\\\")\\n public Integer getBlockedCount(BlockedBonusBean blockedBonusBean);\\n\\n\\n //内部sql\\n class SubscribeLineProviderSql {\\n\\n /**\\n * 货被屏蔽补贴管理的总数\\n *\\n */\\n public String getBlockedCount(final BlockedBonusBean blockedBonusBean){\\n StringBuilder sb = new StringBuilder();\\n sb.append(\\\" SELECT \\\");\\n sb.append(\\\" COUNT(DISTINCT bi.id) \\\");\\n sb.append(\\\" FROM \\\");\\n sb.append(\\\" blockedBonusInfo bi \\\");\\n sb.append(\\\" LEFT JOIN \\\");\\n sb.append(\\\" userDB.userInfo u1 on bi.userId = u1.id \\\");\\n sb.append(\\\" LEFT JOIN \\\");\\n sb.append(\\\" userDB.userOtherInfo uo on uo.userId = u1.id \\\");\\n sb.append(\\\" LEFT JOIN \\\");\\n sb.append(\\\" userDB.recommendRelationship rr on bi.recommendationId = rr.id \\\");\\n sb.append(\\\" LEFT JOIN \\\");\\n sb.append(\\\" userDB.userInfo u2 on rr.recommendedUserId = u2.id \\\");\\n sb.append(\\\" LEFT JOIN \\\");\\n sb.append(\\\" userDB.userOtherInfo ui on ui.userId = u2.id \\\");\\n sb.append(\\\" LEFT JOIN \\\");\\n sb.append(\\\" manageDB.userAuditHistory ush ON u2.id = ush.sourceId \\\");\\n sb.append(\\\" LEFT JOIN \\\");\\n sb.append(\\\" orderDB.orderInfo oi on bi.orderId = oi.id \\\");\\n sb.append(\\\" LEFT JOIN \\\");\\n sb.append(\\\" orderDB.goodsInfo gi on oi.goodsId = gi.id \\\");\\n sb.append(\\\" LEFT JOIN \\\");\\n sb.append(\\\" orderDB.goodsDetailInfo gd on gd.goodsId = gi.id \\\");\\n sb.append(\\\" WHERE bi.deleted = 0 \\\");\\n\\n if (blockedBonusBean.getResource() != null && blockedBonusBean.getResource() != \\\"\\\"){\\n sb.append(\\\" AND (u1.mobile = #{resource} or oi.orderNo = #{resource})\\\");\\n }\\n if (blockedBonusBean.getBlockMobile() != null && blockedBonusBean.getBlockMobile() != \\\"\\\"){\\n sb.append(\\\" AND u1.mobile = #{blockMobile}\\\");\\n }\\n if (blockedBonusBean.getStartDate() != null){\\n sb.append(\\\" and DATE_FORMAT(bi.createTime,'%Y/%m/%d') >= DATE_FORMAT(#{startDate},'%Y/%m/%d')\\\");\\n }\\n if (blockedBonusBean.getEndDate() != null){\\n sb.append(\\\" and DATE_FORMAT(bi.createTime,'%Y/%m/%d') <= DATE_FORMAT(#{endDate},'%Y/%m/%d')\\\");\\n }\\n if (blockedBonusBean.getType() != null && blockedBonusBean.getType() > 0){\\n sb.append(\\\" AND bi.type = #{type}\\\");\\n }\\n if (blockedBonusBean.getReason() != null && blockedBonusBean.getReason() > 0){\\n sb.append(\\\" AND bi.reason = #{reason}\\\");\\n }\\n if (blockedBonusBean.getRecoMobile() != null && blockedBonusBean.getRecoMobile() != \\\"\\\"){\\n sb.append(\\\" AND u2.mobile = #{recoMobile}\\\");\\n }\\n\\n return sb.toString();\\n }\\n\\n /**\\n * 查询被屏蔽补贴管理分页\\n */\\n public String getBlockedList(final BlockedBonusBean blockedBonusBean){\\n StringBuilder sb = new StringBuilder();\\n sb.append(\\\" SELECT \\\");\\n sb.append(\\\" DISTINCT \\\");\\n sb.append(\\\" bi.id, bi.orderId, bi.reason, bi.remark, bi.status, bi.createTime,\\\");\\n sb.append(\\\" bi.deleted, bi.version, bi.updateTime, bi.updateBy,IFNULL(ush.remark,'')as reditRemark,\\\");\\n sb.append(\\\" bi.amount, bi.userId, bi.userName, bi.type, u2.id as recommendationId,oi.orderNo,\\\");\\n sb.append(\\\" u1.mobile as blockMobile,u2.mobile as recoMobile,IFNULL(u2.username,u1.username) AS recoName,uo.registeredIMEI as blockIMEI,\\\");\\n sb.append(\\\" ui.registeredIMEI as recoIMEI,gd.depart1,gd.depart2,gd.depart3,gd.destination1,gd.destination2,gd.destination3\\\");\\n sb.append(\\\" FROM \\\");\\n sb.append(\\\" blockedBonusInfo bi \\\");\\n sb.append(\\\" LEFT JOIN \\\");\\n sb.append(\\\" userDB.userInfo u1 on bi.userId = u1.id \\\");\\n sb.append(\\\" LEFT JOIN \\\");\\n sb.append(\\\" userDB.userOtherInfo uo on uo.userId = u1.id \\\");\\n sb.append(\\\" LEFT JOIN \\\");\\n sb.append(\\\" userDB.recommendRelationship rr on bi.recommendationId = rr.id \\\");\\n sb.append(\\\" LEFT JOIN \\\");\\n sb.append(\\\" userDB.userInfo u2 on rr.recommendedUserId = u2.id \\\");\\n sb.append(\\\" LEFT JOIN \\\");\\n sb.append(\\\" userDB.userOtherInfo ui on ui.userId = u2.id \\\");\\n sb.append(\\\" LEFT JOIN \\\");\\n sb.append(\\\" manageDB.userAuditHistory ush ON u2.id = ush.sourceId \\\");\\n sb.append(\\\" LEFT JOIN \\\");\\n sb.append(\\\" orderDB.orderInfo oi on bi.orderId = oi.id \\\");\\n sb.append(\\\" LEFT JOIN \\\");\\n sb.append(\\\" orderDB.goodsInfo gi on oi.goodsId = gi.id \\\");\\n sb.append(\\\" LEFT JOIN \\\");\\n sb.append(\\\" orderDB.goodsDetailInfo gd on gd.goodsId = gi.id \\\");\\n sb.append(\\\" WHERE bi.deleted = 0 \\\");\\n\\n if (blockedBonusBean.getResource() != null && blockedBonusBean.getResource() != \\\"\\\"){\\n sb.append(\\\" AND (u1.mobile = #{resource} or oi.orderNo = #{resource})\\\");\\n }\\n if (blockedBonusBean.getBlockMobile() != null && blockedBonusBean.getBlockMobile() != \\\"\\\"){\\n sb.append(\\\" AND u1.mobile = #{blockMobile}\\\");\\n }\\n if (blockedBonusBean.getStartDate() != null){\\n sb.append(\\\" and DATE_FORMAT(bi.createTime,'%Y/%m/%d') >= DATE_FORMAT(#{startDate},'%Y/%m/%d')\\\");\\n }\\n if (blockedBonusBean.getEndDate() != null){\\n sb.append(\\\" and DATE_FORMAT(bi.createTime,'%Y/%m/%d') <= DATE_FORMAT(#{endDate},'%Y/%m/%d')\\\");\\n }\\n if (blockedBonusBean.getType() != null && blockedBonusBean.getType() > 0){\\n sb.append(\\\" AND bi.type = #{type}\\\");\\n }\\n if (blockedBonusBean.getReason() != null && blockedBonusBean.getReason() > 0){\\n sb.append(\\\" AND bi.reason = #{reason}\\\");\\n }\\n if (blockedBonusBean.getRecoMobile() != null && blockedBonusBean.getRecoMobile() != \\\"\\\"){\\n sb.append(\\\" AND u2.mobile = #{recoMobile}\\\");\\n }\\n sb.append(\\\" GROUP BY bi.id ORDER BY bi.id DESC \\\");\\n if(blockedBonusBean.getOffset() >= 0){\\n sb.append(\\\" LIMIT #{offset} , #{limit} \\\");\\n }\\n return sb.toString();\\n }\\n }\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"70c7da440fed56c7d633bed35b3b5030\",\n \"score\": \"0.46193376\",\n \"text\": \"public String syncRatingColumns(){\\n \\r\\n return \\\"Success\\\";\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3c84a859c88b47e287bf580e504b7aee\",\n \"score\": \"0.45944157\",\n \"text\": \"@Override\\n\\tpublic Feedback findById(Long feedbackId) throws Exception {\\n\\t\\treturn feedbackMapper.selectByPrimaryKey(feedbackId);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1e6126b94c55b56e4778fa377bb601ac\",\n \"score\": \"0.45940614\",\n \"text\": \"@Select({\\n \\\"select\\\",\\n \\\"id, goods_id, sta, start_time, end_time, time, flash_title, flash_picture\\\",\\n \\\"from xxd_goods_flash\\\",\\n \\\"where id = #{id,jdbcType=INTEGER}\\\"\\n })\\n @Results({\\n @Result(column=\\\"id\\\", property=\\\"id\\\", jdbcType=JdbcType.INTEGER, id=true),\\n @Result(column=\\\"goods_id\\\", property=\\\"goodsId\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"sta\\\", property=\\\"sta\\\", jdbcType=JdbcType.SMALLINT),\\n @Result(column=\\\"start_time\\\", property=\\\"startTime\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"end_time\\\", property=\\\"endTime\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"time\\\", property=\\\"time\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"flash_title\\\", property=\\\"flashTitle\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"flash_picture\\\", property=\\\"flashPicture\\\", jdbcType=JdbcType.VARCHAR)\\n })\\n XxdGoodsFlash selectByPrimaryKey(Integer id);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"facdbd2b170a1d155a95fdb8009597f0\",\n \"score\": \"0.459267\",\n \"text\": \"public static void giveFeedback() {\\r\\n\\t\\tSystem.out.println(\\\"\\\\n\\\" + \\\"----Feeback Sheet----\\\");\\r\\n\\t\\tSystem.out.println(\\\"Please enter your name:\\\");\\r\\n\\t\\tString userName = Validation.stringValidation();\\r\\n\\t\\tSupplier selectedSup = Part02Tester.getSupplier();\\r\\n\\t\\tSystem.out.println(\\\"\\\\n\\\" + \\\"Please enter any feedback:\\\");\\r\\n\\t\\tString feedback = Validation.stringValidation();\\r\\n\\t\\t\\r\\n\\t\\tFeedback tempFeedback = new Feedback(userName, selectedSup, feedback);\\r\\n\\t\\t\\r\\n\\t\\tselectedSup.getFeedback().add(tempFeedback);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"092d5178963f5794385107d892605411\",\n \"score\": \"0.4592153\",\n \"text\": \"@RequestMapping(value = \\\"feedback\\\", method = RequestMethod.POST)\\r\\n public String saveFeedback(Feedback feedback) {\\r\\n feedbackService.saveFeedback(feedback);\\r\\n return \\\"redirect:/sentfeedback\\\";\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"479f2ab4423384efc38dd70ab9223dbd\",\n \"score\": \"0.45889446\",\n \"text\": \"java.util.List getRatingMappingList() throws sust.classnotfound.touristfriend.exception.GenericBusinessException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"007daea7c4ea0efffd17e3f07aa56c15\",\n \"score\": \"0.45879117\",\n \"text\": \"public void feedback() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"46db0a05dec3ef75d1193d12591d4109\",\n \"score\": \"0.45848814\",\n \"text\": \"public String toSqlf(){\\r\\n\\t\\treturn toSqlWith(\\\"\\\");\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"09e12bfcef36e2c2d3117afdac2ae3ac\",\n \"score\": \"0.4582435\",\n \"text\": \"@Override\\n\\tpublic List ViewFeedbackForm() throws ClassNotFoundException,\\n\\t\\t\\tSQLException, IOException {\\n\\t\\tList ls=new ArrayList();\\n\\t\\ttry{\\n\\t\\t\\tConnection con=ConnectionHelper.getMySqlConnection();\\n\\t\\t\\tString sql=\\\"select * from feedback_form\\\";\\n\\t\\t\\tStatement st=con.createStatement();\\n\\t\\t\\tResultSet rs=st.executeQuery(sql);\\n\\t\\t\\twhile(rs.next())\\n\\t\\t\\t{\\n\\t\\t\\t\\tFeedbackForm t= new FeedbackForm(rs.getInt(1),rs.getInt(2),rs.getInt(3),rs.getString(4),rs.getString(5),rs.getString(6));\\n\\t\\t\\t\\tls.add(t);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tcatch(Exception e)\\n\\t\\t{\\n\\t\\t\\tSystem.out.println(e);\\n\\t\\t}\\n\\t\\t\\n\\t\\t\\n\\t\\treturn ls;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f60b4b4d605482d01facdbd4bb2c5bdf\",\n \"score\": \"0.4581767\",\n \"text\": \"public List viewMonthlyFeedbackReport(String date){\\n\\t\\tArrayList feed= new ArrayList();\\n\\t\\ttry {\\n\\t\\t\\tstate=con.getConnection().createStatement();\\n\\t\\t\\tString sql=\\\"select * from feedback where month(Date)=extract(month from '\\\"+date+\\\"') and year(Date)=extract(year from '\\\"+date+\\\"')\\\";\\n\\t\\t\\tResultSet rs= state.executeQuery(sql);\\n\\t\\t\\t\\n\\t\\t\\twhile(rs.next()) {\\n\\t\\t\\t\\tint Feedback_ID=rs.getInt(1);\\n\\t\\t\\t\\tint Cus_ID= rs.getInt(2);\\n\\t\\t\\t\\tString Email= rs.getString(3);\\n\\t\\t\\t\\tString Date= rs.getString(4);\\n\\t\\t\\t\\tString Message=rs.getString(6);\\n\\t\\t\\t\\tString Status=rs.getString(8);\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tFeedback f1= new Feedback(Feedback_ID,Cus_ID,Email,Date, Message, Status);\\n\\t\\t\\t\\tfeed.add(f1);\\n\\t\\t\\t}\\n\\t\\t\\t\\n\\t\\t}catch(Exception e) {\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\t\\treturn feed;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11026c285916c3aa595e207ad5e9dd72\",\n \"score\": \"0.45765555\",\n \"text\": \"@Override\\n\\tpublic List getAllFeedback(long npi) {\\n\\t\\treturn feedbackDAO.getAll(npi);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed852d5d54d25548ac66789ff1147f29\",\n \"score\": \"0.45711318\",\n \"text\": \"@Select({ \\\"select\\\",\\n\\t\\t\\t\\\"sch_id, sch_data, sch_descrizione, sch_critica, id_soggetto, id_struttura, utente_operazione, \\\",\\n\\t\\t\\t\\\"data_creazione, data_modifica, data_cancellazione, richiesta_mmg, visibile_medico_emergenza, \\\",\\n\\t\\t\\t\\\"visibile_medico_continuita_ass, sch_terapia_cronica, monitoraggio_tipo_id\\\", \\\"from covidus_t_scheda\\\",\\n\\t\\t\\t\\\"where sch_id = #{schId,jdbcType=INTEGER}\\\" })\\n\\t@Results({ @Result(column = \\\"sch_id\\\", property = \\\"schId\\\", jdbcType = JdbcType.INTEGER, id = true),\\n\\t\\t\\t@Result(column = \\\"sch_data\\\", property = \\\"schData\\\", jdbcType = JdbcType.TIMESTAMP),\\n\\t\\t\\t@Result(column = \\\"sch_descrizione\\\", property = \\\"schDescrizione\\\", jdbcType = JdbcType.VARCHAR),\\n\\t\\t\\t@Result(column = \\\"sch_critica\\\", property = \\\"schCritica\\\", jdbcType = JdbcType.BIT),\\n\\t\\t\\t@Result(column = \\\"id_soggetto\\\", property = \\\"idSoggetto\\\", jdbcType = JdbcType.BIGINT),\\n\\t\\t\\t@Result(column = \\\"id_struttura\\\", property = \\\"idStruttura\\\", jdbcType = JdbcType.VARCHAR),\\n\\t\\t\\t@Result(column = \\\"utente_operazione\\\", property = \\\"utenteOperazione\\\", jdbcType = JdbcType.VARCHAR),\\n\\t\\t\\t@Result(column = \\\"data_creazione\\\", property = \\\"dataCreazione\\\", jdbcType = JdbcType.TIMESTAMP),\\n\\t\\t\\t@Result(column = \\\"data_modifica\\\", property = \\\"dataModifica\\\", jdbcType = JdbcType.TIMESTAMP),\\n\\t\\t\\t@Result(column = \\\"data_cancellazione\\\", property = \\\"dataCancellazione\\\", jdbcType = JdbcType.TIMESTAMP),\\n\\t\\t\\t@Result(column = \\\"richiesta_mmg\\\", property = \\\"richiestaMmg\\\", jdbcType = JdbcType.BIT),\\n\\t\\t\\t@Result(column = \\\"visibile_medico_emergenza\\\", property = \\\"visibileMedicoEmergenza\\\", jdbcType = JdbcType.BIT),\\n\\t\\t\\t@Result(column = \\\"visibile_medico_continuita_ass\\\", property = \\\"visibileMedicoContinuitaAss\\\", jdbcType = JdbcType.BIT),\\n\\t\\t\\t@Result(column = \\\"sch_terapia_cronica\\\", property = \\\"schTerapiaCronica\\\", jdbcType = JdbcType.VARCHAR),\\n\\t\\t\\t@Result(column = \\\"monitoraggio_tipo_id\\\", property = \\\"monitoraggioTipoId\\\", jdbcType = JdbcType.INTEGER) })\\n\\tCovidusTScheda selectByPrimaryKey(Integer schId);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"26bd92395a5ea0d980a541e696782b56\",\n \"score\": \"0.45685273\",\n \"text\": \"public void setGeneralFeedback(String generalFeedback) {\\r\\n this.generalFeedback = generalFeedback;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7dad3c131224f59f43199374c0daec30\",\n \"score\": \"0.45632893\",\n \"text\": \"public String getName() {\\n return \\\"BasicFeedback\\\";\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"378fe1d34e7832dedad328924bcabe7f\",\n \"score\": \"0.45574713\",\n \"text\": \"@Mapper\\npublic interface SubjectAdvancedPayOffPenaltyDefDao {\\n\\n @Select(\\\"select * from ndr_subject_advanced_payoff_penalty_def where id = #{id}\\\")\\n SubjectAdvancedPayOffPenaltyDef findById(Integer id);\\n\\n @Insert(\\\"INSERT INTO ndr_subject_advanced_payoff_penalty_def \\\" +\\n \\\"('code', 'def_desc', 'penalty_rate', 'penalty_base', 'create_time', 'update_time') \\\" +\\n \\\"VALUES \\\" +\\n \\\"(#{code}, #{defDesc}, #{penaltyRate}, #{penaltyBase}, #{createTime}, #{updateTime})\\\")\\n int insert(SubjectAdvancedPayOffPenaltyDef subjectAdvancedPayOffPenaltyDef);\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e7a94de06b4637b0a1a1f51178b258c3\",\n \"score\": \"0.45484385\",\n \"text\": \"public List getObligation_forWarranty_FromDB(String serial_number, String product_id) \\n\\t{\\n\\t\\tStringBuilder sb = new StringBuilder();\\n\\t\\t//List listObj = new ArrayList();\\n\\t\\tEmbeded emb = new Embeded();\\n\\t\\ttry {\\n\\t\\t\\t//System.out.println(\\\"Listing system tables...\\\");\\n\\t\\t\\tcon = getConnection();\\n\\t\\t\\tstmt = con.createStatement();\\n\\t\\t\\t//String sql = \\\"SELECT distinct overall_contract_start_date , overall_contract_end_date , start_Date, end_Date, active_contract_entitlement , status ,offer_code, package_code, offer_description FROM app_bm_graphics_lf_telemetry.product_entitlement WHERE serial_number = 'SG68D1N001' AND product_id = 'K4T88A' AND obligation_type = 'C' ORDER BY status ASC\\\";\\n\\n\\t\\t\\tsb.append(\\\"SELECT distinct overall_warranty_start_date , overall_warranty_end_date , start_date,\\\\r\\\\n\\\" + \\n\\t\\t\\t\\t\\t\\\" end_date,active_warranty_entitlement , status , warranty_determination_description , factory_warranty_term_code ,\\\\r\\\\n\\\" + \\n\\t\\t\\t\\t\\t\\\"factory_warranty_start_date , factory_warranty_end_date ,offer_code ,offer_description , sales_order_number , covwindow , response_commitment \\\\r\\\\n\\\" + \\n\\t\\t\\t\\t\\t\\\"FROM app_bm_graphics_lf_telemetry.product_entitlement\\\\r\\\\n\\\" + \\n\\t\\t\\t\\t\\t\\\"WHERE serial_number =\\\");\\n\\t\\t\\tsb.append(\\\"'\\\" + serial_number + \\\"'\\\" + \\\" AND product_id=\\\" + \\\"'\\\" + product_id + \\\"'\\\" + \\\" AND obligation_type = 'W' \\\");\\n\\n\\t\\t\\tcon = getConnection();\\n\\t\\t\\tstmt = con.createStatement();\\n\\t\\t\\tString sql = sb.toString();\\n\\t\\t\\t//System.out.println(\\\"\\\\n<=======Query====> \\\\n\\\" + sql + \\\"\\\\n\\\" );\\n\\n\\t\\t\\trs = stmt.executeQuery(sql);\\n\\t\\t\\t// Get the data from the result set.\\t\\t\\t\\n\\t\\t\\tWarranty warrantyDbObj = null;\\n\\n\\t\\t\\twhile (rs.next()) {\\n\\t\\t\\t\\twarrantyDbObj = new Warranty();\\n\\n\\t\\t\\t\\twarrantyDbObj.setOverallWarrantyStartDate(rs.getString(\\\"overall_warranty_start_date\\\"));\\n\\t\\t\\t\\twarrantyDbObj.setOverallWarrantyEndDate(rs.getString(\\\"overall_warranty_end_date\\\"));\\n\\t\\t\\t\\twarrantyDbObj.setStartDate(rs.getString(\\\"start_date\\\"));\\n\\t\\t\\t\\twarrantyDbObj.setEndDate(rs.getString(\\\"end_date\\\"));\\n\\n\\t\\t\\t\\tif(rs.getString(\\\"status\\\").equals(\\\"X\\\") || rs.getString(\\\"status\\\").equals(\\\"C\\\") || \\n\\t\\t\\t\\t\\t\\trs.getString(\\\"status\\\").equals(\\\"R\\\") || rs.getString(\\\"status\\\").equals(\\\"F\\\"))\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\twarrantyDbObj.setActive(\\\"FALSE\\\");\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\twarrantyDbObj.setActive(rs.getString(\\\"active_warranty_entitlement\\\"));\\n\\t\\t\\t\\t}\\n\\n\\t\\t\\t\\t//warrantyDbObj.setActive(rs.getString(\\\"active_warranty_entitlement\\\"));\\n\\n\\t\\t\\t\\twarrantyDbObj.setStatus(rs.getString(\\\"status\\\"));\\n\\t\\t\\t\\twarrantyDbObj.setWarrantyDeterminationDescription(rs.getString(\\\"warranty_determination_description\\\"));\\n\\t\\t\\t\\twarrantyDbObj.setFactoryWarrantyTermCode(rs.getString(\\\"factory_warranty_term_code\\\"));\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\twarrantyDbObj.setFactoryWarrantyStartDate(rs.getString(\\\"factory_warranty_start_date\\\"));\\n\\t\\t\\t\\twarrantyDbObj.setFactoryWarrantyEndDate(rs.getString(\\\"factory_warranty_end_date\\\"));\\n\\t\\t\\t\\twarrantyDbObj.setOfferCode(rs.getString(\\\"offer_code\\\"));\\n\\t\\t\\t\\twarrantyDbObj.setOfferDescription(rs.getString(\\\"offer_description\\\"));\\n\\t\\t\\t\\twarrantyDbObj.setSalesOrderNumber(rs.getString(\\\"sales_order_number\\\"));\\n\\t\\t\\t\\twarrantyDbObj.setCovWindow(rs.getString(\\\"covwindow\\\"));\\n\\t\\t\\t\\twarrantyDbObj.setResponseCommitment(rs.getString(\\\"response_commitment\\\"));\\n\\n\\t\\t\\t\\temb.getWarrantyList().add(warrantyDbObj);\\n\\n\\t\\t\\t\\t//System.out.println(\\\"\\\\n Contract values list==> \\\" + emb.getContractList() );\\n\\t\\t\\t\\t//emb.getContractList();\\n\\t\\t\\t}\\n\\t\\t} catch (SQLException e) {\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}finally {\\n\\t\\t\\ttry {\\n\\t\\t\\t\\trs.close();\\n\\t\\t\\t\\tstmt.close();\\n\\t\\t\\t\\tcon.close();\\n\\t\\t\\t} catch (SQLException 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\\t//System.out.println(\\\"\\\\nFrom DB: List of objects are => \\\" + emb.getWarrantyList());\\n\\t\\treturn emb.getWarrantyList();\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5ff713b086331b8d3ed34c87bb12ae34\",\n \"score\": \"0.45457685\",\n \"text\": \"public String getFeedbackCode() {\\r\\n\\t\\treturn feedbackCode;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3f89e41f8ca74ea44822a7e7669080cd\",\n \"score\": \"0.45452517\",\n \"text\": \"@Override\\r\\n\\tpublic Map mappingRow(Model mdd) {\\n\\t\\tJjxt_主表Model md=(Jjxt_主表Model)mdd;\\r\\n\\t\\tMap j=new HashMap();\\r\\n\\t\\ttry {\\r\\n\\t\\tj.put(\\\"验收单编号\\\", md.get验收单编号());\\r\\n\\t\\tj.put(\\\"资产编号\\\", md.get资产编号() );\\r\\n\\t\\tj.put(\\\"资产名称\\\", md.get资产名称() );\\r\\n\\t\\tj.put(\\\"分类号\\\", md.get分类号() );\\r\\n\\t\\tj.put(\\\"国资分类号\\\", md.get国资分类号() );\\r\\n\\t\\tj.put(\\\"采购编号\\\", md.get采购编号() );\\r\\n\\t\\tj.put(\\\"型号\\\", md.get型号() );\\r\\n\\t\\tj.put(\\\"规格\\\", md.get规格() );\\r\\n\\t\\tj.put(\\\"资产来源\\\", md.get资产来源() );\\r\\n\\t\\tj.put(\\\"经费来源\\\", md.get经费来源() );\\r\\n\\t\\tj.put(\\\"购置日期\\\", md.get购置日期() );\\r\\n\\t\\tj.put(\\\"单价\\\", md.get单价() );\\r\\n\\t\\tj.put(\\\"数量\\\", md.get数量() );\\r\\n\\t\\tj.put(\\\"附件总额\\\", md.get附件总额() );\\r\\n\\t\\tj.put(\\\"附件总数量\\\", md.get附件总数量() );\\r\\n\\t\\tj.put(\\\"总金额\\\", md.get总金额() );\\r\\n\\t\\tj.put(\\\"国别\\\", md.get国别() );\\r\\n\\t\\tj.put(\\\"出厂编号\\\", md.get出厂编号() );\\r\\n\\t\\tj.put(\\\"出厂日期\\\", md.get出厂日期() );\\r\\n\\t\\tj.put(\\\"生产厂家\\\", md.get生产厂家() );\\r\\n\\t\\tj.put(\\\"领用人\\\", md.get领用人() );\\r\\n\\t\\tj.put(\\\"领用日期\\\", md.get领用日期() );\\r\\n\\t\\tj.put(\\\"现状\\\", md.get现状() );\\r\\n\\t\\tj.put(\\\"使用方向\\\", md.get使用方向() );\\r\\n\\t\\tj.put(\\\"管理单位\\\", md.get管理单位() );\\r\\n\\t\\tj.put(\\\"使用单位\\\", md.get使用单位() );\\r\\n\\t\\tj.put(\\\"条码\\\", md.get条码() );\\r\\n\\t\\tj.put(\\\"资产原值\\\", md.get资产原值() );\\r\\n\\t\\tj.put(\\\"资产原数量\\\", md.get资产原数量() );\\r\\n\\t\\tj.put(\\\"资产原总金额\\\", md.get资产原总金额() );\\r\\n\\t\\tj.put(\\\"附件原总额\\\", md.get附件原总额() );\\r\\n\\t\\tj.put(\\\"附件原总数量\\\", md.get附件原总数量() );\\r\\n\\t\\tj.put(\\\"录入人\\\", md.get录入人() );\\r\\n\\t\\tj.put(\\\"录入时间\\\", md.get录入时间() );\\r\\n\\t\\tj.put(\\\"管理人\\\", md.get管理人() );\\r\\n\\t\\tj.put(\\\"存放地点\\\", md.get存放地点() );\\r\\n\\t\\tj.put(\\\"使用年限\\\", md.get使用年限() );\\r\\n\\t\\tj.put(\\\"折旧状态\\\", md.get折旧状态() );\\r\\n\\t\\tj.put(\\\"折旧方法\\\", md.get折旧方法() );\\r\\n\\t\\tj.put(\\\"折旧时间\\\", md.get折旧时间() );\\r\\n\\t\\tj.put(\\\"已提折旧月数\\\", md.get已提折旧月数() );\\r\\n\\t\\tj.put(\\\"月折旧率\\\", md.get月折旧率() );\\r\\n\\t\\tj.put(\\\"月折旧额\\\", md.get月折旧额() );\\r\\n\\t\\tj.put(\\\"减值准备\\\", md.get减值准备() );\\r\\n\\t\\tj.put(\\\"残值率\\\", md.get残值率() );\\r\\n\\t\\tj.put(\\\"累计折旧\\\", md.get累计折旧() );\\r\\n\\t\\tj.put(\\\"净值\\\", md.get净值() );\\r\\n\\t\\tj.put(\\\"供货商\\\", md.get供货商() );\\r\\n\\t\\tj.put(\\\"备注\\\", md.get备注() );\\r\\n\\t\\tj.put(\\\"审核人\\\", md.get审核人() );\\r\\n\\t\\tj.put(\\\"审核时间\\\", md.get审核时间() );\\r\\n\\t\\tj.put(\\\"报账日期\\\", md.get报账日期() );\\r\\n\\t\\tj.put(\\\"对账人\\\", md.get对账人() );\\r\\n\\t\\tj.put(\\\"财务凭单号\\\", md.get财务凭单号() );\\r\\n\\t\\tj.put(\\\"财务分类\\\", md.get财务分类() );\\r\\n\\t\\tj.put(\\\"图片1\\\", md.get图片1() );\\r\\n\\t\\tj.put(\\\"图片2\\\", md.get图片2() );\\r\\n\\t\\tj.put(\\\"图片3\\\", md.get图片3() );\\r\\n\\t\\tj.put(\\\"清查状态\\\", md.get清查状态() );\\r\\n\\t\\tj.put(\\\"清查日期\\\", md.get清查日期() );\\r\\n\\t\\r\\n\\t\\t\\tj.put(\\\"盘亏盘盈原因\\\", md.get盘亏盘盈原因() );\\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\\r\\n\\t\\treturn j;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f9d7e5384f54b56707918e948a59bcee\",\n \"score\": \"0.4541824\",\n \"text\": \"public static void contactReport(){\\n String SelectStatement = \\\"SELECT * FROM contact_total\\\";\\n ResultSet rs;\\n Statement statement = getStatement();\\n\\n try {\\n statement.execute(SelectStatement);\\n rs = statement.getResultSet();\\n while (rs.next()) {\\n int contact = rs.getInt(\\\"Contact_ID\\\");\\n int appointment = rs.getInt(\\\"Appointment_ID\\\");\\n String title = rs.getString(\\\"Title\\\");\\n String description = rs.getString(\\\"Description\\\");\\n Timestamp start = rs.getTimestamp(\\\"Start\\\");\\n Timestamp end = rs.getTimestamp(\\\"End\\\");\\n int customer = rs.getInt(\\\"Customer_ID\\\");\\n LocalDateTime Start = start.toLocalDateTime();\\n LocalDateTime End = end.toLocalDateTime();\\n ContactTotal contactTotal = new ContactTotal(contact, appointment,title,description,Start,End,customer);\\n ContactTotal.addContactTotal(contactTotal);\\n\\n }\\n } catch (SQLException throwables) {\\n throwables.printStackTrace();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf24a047a3da943767e75f7bab6efe58\",\n \"score\": \"0.453633\",\n \"text\": \"public String[] getAProductsFeedbackComments() {\\n return null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"16bb45e5aa4fb636a6cf229c833237bd\",\n \"score\": \"0.4534636\",\n \"text\": \"@Select({\\r\\n \\\"select\\\",\\r\\n \\\"CREATE_DATE, FILE_SEQ, HIS_SEQ, INSERT_DATE, INSERT_UID, MAC_NO, TRX_DATE, TRX_NO, \\\",\\r\\n \\\"ACT_CD\\\",\\r\\n \\\"from AMS.T_RM_FILE_HIS\\\",\\r\\n \\\"where CREATE_DATE = #{createDate,jdbcType=VARCHAR}\\\",\\r\\n \\\"and FILE_SEQ = #{fileSeq,jdbcType=VARCHAR}\\\",\\r\\n \\\"and HIS_SEQ = #{hisSeq,jdbcType=VARCHAR}\\\"\\r\\n })\\r\\n @Results({\\r\\n @Result(column=\\\"CREATE_DATE\\\", property=\\\"createDate\\\", jdbcType=JdbcType.VARCHAR, id=true),\\r\\n @Result(column=\\\"FILE_SEQ\\\", property=\\\"fileSeq\\\", jdbcType=JdbcType.VARCHAR, id=true),\\r\\n @Result(column=\\\"HIS_SEQ\\\", property=\\\"hisSeq\\\", jdbcType=JdbcType.VARCHAR, id=true),\\r\\n @Result(column=\\\"INSERT_DATE\\\", property=\\\"insertDate\\\", jdbcType=JdbcType.TIMESTAMP),\\r\\n @Result(column=\\\"INSERT_UID\\\", property=\\\"insertUid\\\", jdbcType=JdbcType.VARCHAR),\\r\\n @Result(column=\\\"MAC_NO\\\", property=\\\"macNo\\\", jdbcType=JdbcType.VARCHAR),\\r\\n @Result(column=\\\"TRX_DATE\\\", property=\\\"trxDate\\\", jdbcType=JdbcType.VARCHAR),\\r\\n @Result(column=\\\"TRX_NO\\\", property=\\\"trxNo\\\", jdbcType=JdbcType.VARCHAR),\\r\\n @Result(column=\\\"ACT_CD\\\", property=\\\"actCd\\\", jdbcType=JdbcType.VARCHAR)\\r\\n })\\r\\n TRmFileHis selectByPrimaryKey(TRmFileHisKey key);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b5e83dd7cca27f8501742a8013ece07b\",\n \"score\": \"0.45152116\",\n \"text\": \"public int row_AllfeedBack() throws SQLException, NamingException {\\n int row = 0;\\n try {\\n openConnection();\\n String sql = \\\"Select * from feedback\\\";\\n PreparedStatement stm = (PreparedStatement) connection.prepareStatement(sql);\\n ResultSet rs = stm.executeQuery();\\n ArrayList list = new ArrayList();\\n while (rs.next()) {\\n row++;\\n }\\n rs.close();\\n stm.close();\\n } catch (Exception e) {\\n e.printStackTrace();\\n } finally {\\n closeConnection();\\n }\\n return row;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2f3fd05e74c32cada8062eb52fc6ef5e\",\n \"score\": \"0.45013964\",\n \"text\": \"String getSqlString(String relationalModelName);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d4e46d5fdbb563a4d521882552b22fcd\",\n \"score\": \"0.4484826\",\n \"text\": \"public String buildStrPeformanceData(String risk1, String risk2){\\n\\t\\t\\n\\t\\t\\n\\t//\\tSimpleDateFormat SDF = new SimpleDateFormat(\\\"yyyy-MM-dd\\\");\\n\\t\\t// SimpleDateFormat SDF = new SimpleDateFormat(\\\"yyyy/MM/dd HH:mm:ss\\\");\\n\\t\\t\\n\\t\\t\\n\\t\\t String jsonstr = \\\"\\\";\\n\\t\\t\\n\\t\\t String performancestr = \\\"select P.SymID,P.InceptionDate_,P.MER_,P.Assets_,P.Rank_,P.MstarRating_,P.StdDev_,P.VolatileRank_,\\\" +\\n\\t \\\"P.MstarRisk_,P.Alpha_,P.Beta_,P.Rsquared_,P.RRSPEligibility_,P.Load_,P.MaxFrontEnd_,P.MaxBackEnd_,P.SaleOpen_,P.NavPS_,\\\" +\\n\\t \\\"P.NetAsset_,P.Yield_,P.Dividend_,P.Managers_,P.Fees_,P.FundName_\\\" +\\n\\t \\\" from PerformanceData P where P.volatilerank_ >= '\\\" + risk1 + \\\"' and P.volatilerank_ <= '\\\" + risk2 + \\\"'\\\";\\n\\n\\t\\t jPerformanceData jperform = new jPerformanceData();\\n\\t\\n\\t\\n\\t\\t \\n List data = getJdbcTemplate().query(performancestr, new RowMapper(){\\n\\t\\t\\t \\n\\t\\t\\t String jsonstr = \\\"\\\";\\n public String mapRow(ResultSet rs, int rowNum) \\n throws SQLException {\\n \\t \\n \\t \\n \\t \\n \\n jperform.setInceptionDate(rs.getDate(\\\"InceptionDate_\\\"));\\n jperform.setAlpha(rs.getDouble(\\\"Alpha_\\\"));\\n \\t\\t\\tjperform.setAssets(rs.getDouble(\\\"Assets_\\\"));\\n \\t\\t\\tjperform.setBeta(rs.getDouble(\\\"Beta_\\\"));\\n \\t\\t\\tjperform.setDividend(rs.getDouble(\\\"Dividend_\\\"));\\n \\t\\t\\tjperform.setFees(rs.getDouble(\\\"Fees_\\\"));\\n \\t\\t\\tjperform.setFundName(rs.getString(\\\"FundName_\\\"));\\n \\t\\t\\tjperform.setLoad(rs.getString(\\\"Load_\\\"));\\n \\t\\t\\tjperform.setManagers(rs.getString(\\\"Managers_\\\"));\\n \\t\\t\\tjperform.setMaxBackEnd(rs.getDouble(\\\"MaxBackEnd_\\\"));\\n \\t\\t\\tjperform.setMER(rs.getDouble(\\\"MER_\\\"));\\n \\t\\t\\tjperform.setMstarRating(rs.getDouble(\\\"MstarRating_\\\"));\\n \\t\\t\\tjperform.setMstarRisk(rs.getDouble(\\\"MstarRisk_\\\"));\\n \\t\\t\\tjperform.setNavPS(rs.getDouble(\\\"NavPS_\\\"));\\n \\t\\t\\tjperform.setRank(rs.getDouble(\\\"Rank_\\\"));\\n \\t\\t\\tjperform.setRRSPEligibility(rs.getString(\\\"RRSPEligibility_\\\"));\\n \\t\\t\\tjperform.setRsquared(rs.getDouble(\\\"Rsquared_\\\"));\\n \\t\\t\\tjperform.setSaleOpen(rs.getString(\\\"SaleOpen_\\\"));\\n \\t\\t\\tjperform.setStdDev(rs.getDouble(\\\"StdDev_\\\"));\\n \\t\\t\\tjperform.setSymID(rs.getString(\\\"SymID\\\"));\\n \\t\\t\\tjperform.setVolatileRank(rs.getDouble(\\\"VolatileRank_\\\"));\\n \\t\\t\\tjperform.setYield(rs.getDouble(\\\"Yield_\\\"));\\n \\n \\n \\n jsonstr += jperform.toString();\\n jsonstr += \\\",\\\";\\n \\n \\n return jsonstr;\\n \\n \\n \\n }\\n \\n });\\n\\t\\t\\t\\n\\t\\t\\t\\n\\t\\tIterator itemIterator = data.iterator();\\n\\t\\t\\t\\t\\n\\t\\twhile(itemIterator.hasNext()){\\n\\t\\t\\t\\n\\t\\t\\tjsonstr+= (String)itemIterator.next();\\n\\t\\t\\t\\n\\t\\t}\\n\\t\\t \\n\\t\\t \\n\\t\\treturn jsonstr;\\n\\t\\t\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7bb43f9a927199887127fdd80498d09a\",\n \"score\": \"0.44755927\",\n \"text\": \"@Select({\\n \\\"select\\\",\\n \\\"orderId, orderSN, placeId, placeCityId, serviceDate, serviceTime, serviceAllDateDisplay, \\\",\\n \\\"localDay, nonlocalDay, departure, destination, distance, deptDetailAddress, \\\",\\n \\\"destDetailAddress, seatCategory, type, price, clientPrice, guidePrice, orderType, \\\",\\n \\\"userGuideId, preGuideId, guideId, clientType, clientId, userpassportId, adminId, \\\",\\n \\\"status, payStatus, hasRefund, imToken, deliveredPriority, dealOrderTime, reDeliverType, \\\",\\n \\\"reDeliverCount, deliverTime, guideCommentStatus, userCommentStatus, updated_at, \\\",\\n \\\"refId, mode, serviceCar, serviceGuide, serviceCarId, serviceGuideId, agencyType, \\\",\\n \\\"deleted_at, created_at\\\",\\n \\\"from `order`\\\",\\n \\\"where orderId = #{orderid,jdbcType=VARCHAR}\\\"\\n })\\n @Results({\\n @Result(column=\\\"orderId\\\", property=\\\"orderid\\\", jdbcType=JdbcType.VARCHAR, id=true),\\n @Result(column=\\\"orderSN\\\", property=\\\"ordersn\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"placeId\\\", property=\\\"placeid\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"placeCityId\\\", property=\\\"placecityid\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"serviceDate\\\", property=\\\"servicedate\\\", jdbcType=JdbcType.DATE),\\n @Result(column=\\\"serviceTime\\\", property=\\\"servicetime\\\", jdbcType=JdbcType.TIME),\\n @Result(column=\\\"serviceAllDateDisplay\\\", property=\\\"servicealldatedisplay\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"localDay\\\", property=\\\"localday\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"nonlocalDay\\\", property=\\\"nonlocalday\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"departure\\\", property=\\\"departure\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"destination\\\", property=\\\"destination\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"distance\\\", property=\\\"distance\\\", jdbcType=JdbcType.DECIMAL),\\n @Result(column=\\\"deptDetailAddress\\\", property=\\\"deptdetailaddress\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"destDetailAddress\\\", property=\\\"destdetailaddress\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"seatCategory\\\", property=\\\"seatcategory\\\", jdbcType=JdbcType.TINYINT),\\n @Result(column=\\\"type\\\", property=\\\"type\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"price\\\", property=\\\"price\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"clientPrice\\\", property=\\\"clientprice\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"guidePrice\\\", property=\\\"guideprice\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"orderType\\\", property=\\\"ordertype\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"userGuideId\\\", property=\\\"userguideid\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"preGuideId\\\", property=\\\"preguideid\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"guideId\\\", property=\\\"guideid\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"clientType\\\", property=\\\"clienttype\\\", jdbcType=JdbcType.TINYINT),\\n @Result(column=\\\"clientId\\\", property=\\\"clientid\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"userpassportId\\\", property=\\\"userpassportid\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"adminId\\\", property=\\\"adminid\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"status\\\", property=\\\"status\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"payStatus\\\", property=\\\"paystatus\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"hasRefund\\\", property=\\\"hasrefund\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"imToken\\\", property=\\\"imtoken\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"deliveredPriority\\\", property=\\\"deliveredpriority\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"dealOrderTime\\\", property=\\\"dealordertime\\\", jdbcType=JdbcType.TIMESTAMP),\\n @Result(column=\\\"reDeliverType\\\", property=\\\"redelivertype\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"reDeliverCount\\\", property=\\\"redelivercount\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"deliverTime\\\", property=\\\"delivertime\\\", jdbcType=JdbcType.TIMESTAMP),\\n @Result(column=\\\"guideCommentStatus\\\", property=\\\"guidecommentstatus\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"userCommentStatus\\\", property=\\\"usercommentstatus\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"updated_at\\\", property=\\\"updatedAt\\\", jdbcType=JdbcType.TIMESTAMP),\\n @Result(column=\\\"refId\\\", property=\\\"refid\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"mode\\\", property=\\\"mode\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"serviceCar\\\", property=\\\"servicecar\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"serviceGuide\\\", property=\\\"serviceguide\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"serviceCarId\\\", property=\\\"servicecarid\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"serviceGuideId\\\", property=\\\"serviceguideid\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"agencyType\\\", property=\\\"agencytype\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"deleted_at\\\", property=\\\"deletedAt\\\", jdbcType=JdbcType.TIMESTAMP),\\n @Result(column=\\\"created_at\\\", property=\\\"createdAt\\\", jdbcType=JdbcType.TIMESTAMP)\\n })\\n FinalOrderBean selectByPrimaryKey(String orderid);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dae664bdb8e21b8a3f3e2ac6cb906fc8\",\n \"score\": \"0.44735315\",\n \"text\": \"public List getempdetails(){\\n\\t\\tDataSource dataSource3 = DataFactory.getDataSource();\\n\\t\\t\\n\\t System.out.println(\\\"connected to database\\\");\\n\\t\\tString sq= new String(\\\"SELECT mic,speaker,projector,led from dbo.productlist \\\") ;\\n\\t\\tJdbcTemplate temp = new JdbcTemplate(dataSource3);\\n\\t\\t\\n\\t\\t\\n\\t\\tList employee = (List) temp.query(sq, new Empservice()); \\n\\t\\t\\n\\t\\treturn employee;\\n\\t\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9254deb59f2525e36a8a8d6749aafc3d\",\n \"score\": \"0.446897\",\n \"text\": \"public void contactForm(contactDetails contact) throws ClassNotFoundException, SQLException{\\n\\t\\tClass.forName(\\\"com.mysql.jdbc.Driver\\\");\\n\\t\\t\\t\\t\\t\\t\\n\\t\\t//get the connection\\n\\t\\tConnection con = DriverManager.getConnection(url, userName, password);\\n\\t\\t\\n\\t\\t//sql query to insert data to activity database\\n\\t\\tPreparedStatement prepStatemnt = con.prepareStatement(\\\"insert into contactform(Name,Email,Message,Feedback) values(?,?,?,?)\\\");\\n\\t\\t\\n\\t\\tprepStatemnt.setString(1,contact.getName());\\n\\t\\tprepStatemnt.setString(2,contact.getEmail());\\n\\t\\tprepStatemnt.setString(3,contact.getMessage());\\n\\t\\tprepStatemnt.setString(4,contact.getFeedback());\\n\\t\\t\\t\\n\\t\\t\\n\\t\\t//execute or update the query\\n\\t\\t\\t\\n\\t\\tprepStatemnt.executeUpdate();\\n\\t\\t\\t\\n\\t\\t\\t\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"50e622e7c5e8bae6b9a5e9428ecdb0ef\",\n \"score\": \"0.44643623\",\n \"text\": \"public void setFeedbackDate(java.util.Date feedbackDate)\\n {\\n this.feedbackDate = feedbackDate;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af0bb24855fecc0a6e91455d82c0ccb4\",\n \"score\": \"0.44549114\",\n \"text\": \"@GetMapping(\\\"/view-all-feedback\\\")\\n\\tpublic List getAllFeedback() throws InvalidFeedbackException {\\n\\t\\tLOGGER.info(\\\"Fetching all feedback data in feedback controller -START\\\");\\n\\t\\tfinal List feedbackList = service.getAllFeedback();\\n\\t\\tLOGGER.info(\\\"Done in feedback controller -END\\\");\\n\\t\\treturn feedbackList;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7bdac9aba492f533ddccad735fbb5a42\",\n \"score\": \"0.44520584\",\n \"text\": \"@Override\\r\\n\\tpublic int updateFeedback(CrFeedbackDTO crFeedbackDTO) {\\n\\t\\treturn 0;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d73e36c4d1eef2b04e43aa22d374b65e\",\n \"score\": \"0.4449308\",\n \"text\": \"public String SQLInsert_uplata() {\\n String sql=\\\"INSERT INTO \\\" + TABELA_tRacunKupca_ + \\\"(\\\" +\\n tRacunKupca_idKupac + \\\",\\\" +\\n tRacunKupca_uplata + \\\",\\\" +\\n tRacunKupca_opisUplate + \\\",\\\" +\\n tRacunKupca_datumUplate + \\\") VALUE (\\\" +\\n this.uplata.getKupac().getId() + \\\",\\\" +\\n this.uplata.getIznosUplate() + \\\",'\\\" +\\n this.uplata.getOpisUplate() + \\\"','\\\" +\\n this.uplata.getDatumUplate() + \\\"');\\\";\\n \\n return sql;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a50848f181bb807e99c601fd915c53bb\",\n \"score\": \"0.4447326\",\n \"text\": \"public List GetFoodPantryTable() {\\n\\n //ArrayList fpantries = new ArrayList();\\n\\n\\n //here we want to to a SELECT * FROM food_pantry table\\n MapSqlParameterSource params = new MapSqlParameterSource();\\n //here we want to get total from food pantry table\\n String sql = \\\"SELECT * FROM cs6400_sp17_team073.Food_pantry\\\";\\n\\n List fpantries = jdbcTemplate.query(sql, new PantryMapper());\\n\\n\\n\\n return fpantries;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"275f00c0dd4e1eed150ef538af61dc1a\",\n \"score\": \"0.44446346\",\n \"text\": \"public List getOfferCode_forWarranty_FromDB(String serial_number, String product_id ) \\n\\t{\\n\\t\\tObligation obligation_Obj = new Obligation();\\n\\t\\tStringBuilder sb = new StringBuilder();\\n\\t\\tList listObj = new ArrayList();\\n\\t\\ttry {\\n\\t\\t\\t//System.out.println(\\\"Listing system tables...\\\");\\n\\t\\t\\tcon = getConnection();\\n\\t\\t\\tstmt = con.createStatement();\\n\\t\\t\\t//String sql = \\\"SELECT distinct(obligation_type), offer_code FROM app_bm_graphics_lf_telemetry.product_entitlement WHERE serial_number = 'SG68D1N001' AND product_id = 'K4T88A' AND obligation_type = 'W'\\\" ;\\n\\n\\t\\t\\tsb.append(\\\"SELECT offer_code FROM app_bm_graphics_lf_telemetry.product_entitlement WHERE serial_number=\\\");\\n\\t\\t\\tsb.append(\\\"'\\\" + serial_number + \\\"'\\\" + \\\" AND product_id=\\\" + \\\"'\\\" + product_id + \\\"'\\\" + \\\" AND obligation_type = 'W' \\\");\\n\\n\\t\\t\\t//System.out.println(\\\"sql->\\\"+sb.toString());\\n\\t\\t\\tcon = getConnection();\\n\\t\\t\\tstmt = con.createStatement();\\n\\t\\t\\tString sql = sb.toString();\\n\\t\\t\\t//System.out.println(\\\"\\\\n <======= Query ====> \\\\n\\\" + sql + \\\"\\\\n\\\" );\\n\\n\\t\\t\\trs = stmt.executeQuery(sql);\\n\\t\\t\\t// Get the data from the result set.\\t\\t\\t\\n\\t\\t\\twhile (rs.next()) {\\n\\t\\t\\t\\tobligation_Obj.setOffer_code(rs.getString(\\\"offer_code\\\") );\\n\\t\\t\\t\\tlistObj.add(obligation_Obj.getOffer_code() );\\n\\t\\t\\t\\t//System.out.println(\\\"\\\\n offer_Code ======> \\\" + obligation_Obj.getOffer_code());\\n\\t\\t\\t\\t//obligation_Obj.getOffer_code();\\n\\t\\t\\t}\\n\\t\\t} catch (SQLException e) {\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}finally {\\n\\t\\t\\ttry {\\n\\t\\t\\t\\trs.close();\\n\\t\\t\\t\\tstmt.close();\\n\\t\\t\\t\\tcon.close();\\n\\t\\t\\t} catch (SQLException 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\\t//System.out.println(\\\"\\\\nFrom DB: List of offer_Code are => \\\" + listObj);\\n\\t\\treturn listObj;\\n\\t\\t//return obligation_offerCodeObj;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"40f340d9fab84b949875d6c1db4c1e6a\",\n \"score\": \"0.44428304\",\n \"text\": \"@Select({\\n \\\"select\\\",\\n \\\"`id`, `title`, `description`, `start_time`, `end_time`, `create_time`, `update_time`, \\\",\\n \\\"`delete_time`, `remark`, `online`, `entrance_img`, `internal_top_img`, `name`\\\",\\n \\\"from activity\\\",\\n \\\"where `id` = #{id,jdbcType=INTEGER}\\\"\\n })\\n @Results({\\n @Result(column=\\\"id\\\", property=\\\"id\\\", jdbcType=JdbcType.INTEGER, id=true),\\n @Result(column=\\\"title\\\", property=\\\"title\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"description\\\", property=\\\"description\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"start_time\\\", property=\\\"startTime\\\", jdbcType=JdbcType.TIMESTAMP),\\n @Result(column=\\\"end_time\\\", property=\\\"endTime\\\", jdbcType=JdbcType.TIMESTAMP),\\n @Result(column=\\\"create_time\\\", property=\\\"createTime\\\", jdbcType=JdbcType.TIMESTAMP),\\n @Result(column=\\\"update_time\\\", property=\\\"updateTime\\\", jdbcType=JdbcType.TIMESTAMP),\\n @Result(column=\\\"delete_time\\\", property=\\\"deleteTime\\\", jdbcType=JdbcType.TIMESTAMP),\\n @Result(column=\\\"remark\\\", property=\\\"remark\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"online\\\", property=\\\"online\\\", jdbcType=JdbcType.TINYINT),\\n @Result(column=\\\"entrance_img\\\", property=\\\"entranceImg\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"internal_top_img\\\", property=\\\"internalTopImg\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"name\\\", property=\\\"name\\\", jdbcType=JdbcType.VARCHAR)\\n })\\n Activity selectByPrimaryKey(Integer id);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"64ea477c2ba067f8846cadff94987825\",\n \"score\": \"0.44426885\",\n \"text\": \"@Override\\r\\n\\tpublic String myResult() {\\n\\t\\tString sql;\\r\\n\\t\\tString userid=(String) getSession().getAttribute(\\\"userid\\\");\\r\\n\\t\\tString t=(String) getSession().getAttribute(\\\"type\\\");\\r\\n\\t\\tif(t.equals(\\\"2\\\"))\\r\\n\\t\\t\\tsql=\\\"select * from (select b.id,b.barcode,b.transaction,p.name,p.userid,b.amount,p.price,b.discount,(select value from dd_dic d where d.parent='back' and d.child=b.type) as type,(select value from dd_dic d where d.parent='reason' and d.child=b.reason) as reason,b.operator,b.date from dd_back b left join dd_product p on b.barcode=p.barcode where p.userid='\\\"+userid+\\\"' and b.id<=(select v.id from dd_back v left join dd_product p1 on v.barcode=p1.barcode where p1.userid='\\\"+userid+\\\"' order by v.id desc limit \\\"+(start-1)+\\\",1) ) as s order by s.id desc\\\";\\r\\n\\t\\telse\\r\\n\\t\\t\\tsql=\\\"select * from (select b.id,b.barcode,b.transaction,p.name,p.userid,b.amount,p.price,b.discount,(select value from dd_dic d where d.parent='back' and d.child=b.type) as type,(select value from dd_dic d where d.parent='reason' and d.child=b.reason) as reason,b.operator,b.date from dd_back b left join dd_product p on b.barcode=p.barcode where b.id<=(select id from dd_back order by id desc limit \\\"+(start-1)+\\\",1) ) as s order by s.id desc\\\";\\r\\n\\t\\tPageUtil p=CommonDAO.findPageByMultiTableSQLQuery(this.total,sql,start,perpage,Back.class);\\r\\n\\t\\t\\r\\n\\t\\tString content = \\\"totalPage = \\\" + p.getTotalPageCount() + \\\";\\\";\\r\\n\\t\\tcontent += \\\"dataStore = [\\\";\\r\\n\\r\\n\\t\\tList l=(List)p.getResult();\\r\\n\\t\\tfor(int i=0;i\\\\\\\",\\\";\\r\\n\\t\\t}\\r\\n\\t\\tcontent = content.substring(0,content.length()-1);\\r\\n\\t\\tcontent += \\\"];\\\";\\r\\n\\t\\treturn content;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a31e0fdc96f0344f68ee5da6490f6209\",\n \"score\": \"0.44418707\",\n \"text\": \"public static void printFeedback() {\\r\\n\\t\\tSupplier selectedSup = Part02Tester.getSupplier();\\r\\n\\t\\tif (selectedSup.getFeedback().size() <2) {\\r\\n\\t\\t\\tSystem.out.println(\\\"No feedback available for this supplier\\\");\\r\\n\\t\\t}else {\\r\\n\\t\\t\\tfor (int i =1;i< selectedSup.getFeedback().size(); i++) {\\r\\n\\t\\t\\t\\tSystem.out.println(selectedSup.getFeedback().get(i).getFeedbackDetails());\\r\\n\\t\\t\\t}\\t\\r\\n\\t\\t}\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3465cdac6fa0236e49651e84f750451b\",\n \"score\": \"0.44375345\",\n \"text\": \"@PostMapping(\\\"/createEventFeedback\\\")\\n\\tpublic String save(@RequestBody EventFeedback feedback) {\\n\\tservice.save(feedback);\\n\\treturn \\\"saved successfully\\\";\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc4986da2c077f0ef556bcac1718d624\",\n \"score\": \"0.44276932\",\n \"text\": \"protected static void setFeedbackList(ArrayList feedback){\\n\\t\\t_feedback = feedback;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e108780b2c2c869404b7505e708a49f1\",\n \"score\": \"0.4427092\",\n \"text\": \"public int maxId() throws SQLException, NamingException {\\n int maxId = 0;\\n try {\\n openConnection();\\n String sql = \\\"SELECT max(feedBackId) FROM feedback \\\";\\n PreparedStatement pst = connection.prepareStatement(sql);\\n ResultSet sr = pst.executeQuery();\\n while (sr.next()) {\\n maxId = sr.getInt(\\\"max(feedBackId)\\\");\\n }\\n pst.close();\\n } catch (Exception e) {\\n e.printStackTrace();\\n } finally {\\n closeConnection();\\n }\\n return maxId;\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e7f4361959c273e15e30f379bba13dba\",\n \"score\": \"0.44214833\",\n \"text\": \"public int getFeedbackCount() {\\n return feedbackCount;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9524ef6150e552033b1097a8aabe6a8e\",\n \"score\": \"0.44180542\",\n \"text\": \"@Insert({\\n \\\"insert into `order` (orderId, orderSN, \\\",\\n \\\"placeId, placeCityId, \\\",\\n \\\"serviceDate, serviceTime, \\\",\\n \\\"serviceAllDateDisplay, localDay, \\\",\\n \\\"nonlocalDay, departure, \\\",\\n \\\"destination, distance, \\\",\\n \\\"deptDetailAddress, destDetailAddress, \\\",\\n \\\"seatCategory, type, \\\",\\n \\\"price, clientPrice, \\\",\\n \\\"guidePrice, orderType, \\\",\\n \\\"userGuideId, preGuideId, \\\",\\n \\\"guideId, clientType, \\\",\\n \\\"clientId, userpassportId, \\\",\\n \\\"adminId, status, \\\",\\n \\\"payStatus, hasRefund, \\\",\\n \\\"imToken, deliveredPriority, \\\",\\n \\\"dealOrderTime, reDeliverType, \\\",\\n \\\"reDeliverCount, deliverTime, \\\",\\n \\\"guideCommentStatus, userCommentStatus, \\\",\\n \\\"updated_at, refId, \\\",\\n \\\"mode, serviceCar, \\\",\\n \\\"serviceGuide, serviceCarId, \\\",\\n \\\"serviceGuideId, agencyType, \\\",\\n \\\"deleted_at, created_at)\\\",\\n \\\"values (#{orderid,jdbcType=VARCHAR}, #{ordersn,jdbcType=VARCHAR}, \\\",\\n \\\"#{placeid,jdbcType=INTEGER}, #{placecityid,jdbcType=INTEGER}, \\\",\\n \\\"#{servicedate,jdbcType=DATE}, #{servicetime,jdbcType=TIME}, \\\",\\n \\\"#{servicealldatedisplay,jdbcType=VARCHAR}, #{localday,jdbcType=INTEGER}, \\\",\\n \\\"#{nonlocalday,jdbcType=INTEGER}, #{departure,jdbcType=VARCHAR}, \\\",\\n \\\"#{destination,jdbcType=VARCHAR}, #{distance,jdbcType=DECIMAL}, \\\",\\n \\\"#{deptdetailaddress,jdbcType=VARCHAR}, #{destdetailaddress,jdbcType=VARCHAR}, \\\",\\n \\\"#{seatcategory,jdbcType=TINYINT}, #{type,jdbcType=INTEGER}, \\\",\\n \\\"#{price,jdbcType=INTEGER}, #{clientprice,jdbcType=INTEGER}, \\\",\\n \\\"#{guideprice,jdbcType=INTEGER}, #{ordertype,jdbcType=INTEGER}, \\\",\\n \\\"#{userguideid,jdbcType=INTEGER}, #{preguideid,jdbcType=INTEGER}, \\\",\\n \\\"#{guideid,jdbcType=INTEGER}, #{clienttype,jdbcType=TINYINT}, \\\",\\n \\\"#{clientid,jdbcType=VARCHAR}, #{userpassportid,jdbcType=VARCHAR}, \\\",\\n \\\"#{adminid,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, \\\",\\n \\\"#{paystatus,jdbcType=INTEGER}, #{hasrefund,jdbcType=INTEGER}, \\\",\\n \\\"#{imtoken,jdbcType=VARCHAR}, #{deliveredpriority,jdbcType=INTEGER}, \\\",\\n \\\"#{dealordertime,jdbcType=TIMESTAMP}, #{redelivertype,jdbcType=INTEGER}, \\\",\\n \\\"#{redelivercount,jdbcType=INTEGER}, #{delivertime,jdbcType=TIMESTAMP}, \\\",\\n \\\"#{guidecommentstatus,jdbcType=INTEGER}, #{usercommentstatus,jdbcType=INTEGER}, \\\",\\n \\\"#{updatedAt,jdbcType=TIMESTAMP}, #{refid,jdbcType=VARCHAR}, \\\",\\n \\\"#{mode,jdbcType=INTEGER}, #{servicecar,jdbcType=VARCHAR}, \\\",\\n \\\"#{serviceguide,jdbcType=VARCHAR}, #{servicecarid,jdbcType=VARCHAR}, \\\",\\n \\\"#{serviceguideid,jdbcType=VARCHAR}, #{agencytype,jdbcType=INTEGER}, \\\",\\n \\\"#{deletedAt,jdbcType=TIMESTAMP}, #{createdAt,jdbcType=TIMESTAMP})\\\"\\n })\\n int insert(FinalOrderBean record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3459715eb4d5091b2fb0c13f2534f461\",\n \"score\": \"0.4417296\",\n \"text\": \"@SelectProvider(type=JiapuMessageSqlProvider.class, method=\\\"selectByExample\\\")\\n @Results({\\n @Result(column=\\\"messageid\\\", property=\\\"messageid\\\", jdbcType=JdbcType.INTEGER, id=true),\\n @Result(column=\\\"createDate\\\", property=\\\"createdate\\\", jdbcType=JdbcType.DATE),\\n @Result(column=\\\"message\\\", property=\\\"message\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"senderid\\\", property=\\\"senderid\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"recieverid\\\", property=\\\"recieverid\\\", jdbcType=JdbcType.VARCHAR)\\n })\\n List selectByExample(JiapuMessageExample example);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc24bef51ee986342f0c936824d5d5b3\",\n \"score\": \"0.44167006\",\n \"text\": \"String getSqlStringTemplate();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4d308a5b6f7a53d336b7debc148e1279\",\n \"score\": \"0.44145387\",\n \"text\": \"public String generateMaqlCreate();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"07c892d5410a5a2a73ac266bd72eacfb\",\n \"score\": \"0.44132492\",\n \"text\": \"public void DBUpdateProduct() {\\n DBConnection conn = new DBConnection();\\n conn.updateSQLDataBase(\\\"gc200325005.Products\\\", \\\"name\\\",prodSelected.getName(), \\\"ID\\\", prodSelected.getManuID());\\n conn.updateSQLDataBase(\\\"gc200325005.Products\\\", \\\"description\\\", prodSelected.getDescription(), \\\"ID\\\", prodSelected.getManuID());\\n conn.updateSQLDataBase(\\\"gc200325005.Products\\\", \\\"rating\\\",String.valueOf(prodSelected.getRating()), \\\"ID\\\", prodSelected.getManuID());\\n conn.updateSQLDataBase(\\\"gc200325005.Products\\\", \\\"price\\\", String.valueOf(prodSelected.getPrice()), \\\"ID\\\", prodSelected.getManuID());\\n conn.updateSQLDataBase(\\\"gc200325005.Products\\\", \\\"productionCost\\\", String.valueOf(prodSelected.getProductionCost()), \\\"ID\\\", prodSelected.getManuID());\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f700ba851225368acc47671eb59bdb1\",\n \"score\": \"0.4413118\",\n \"text\": \"@Override\\n\\tpublic Feedback feedbackSaveOrUpdate(Feedback feedback) {\\n\\t\\treturn repository.save(feedback);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0a469b440284d703e27b5b1de52cbdb7\",\n \"score\": \"0.4410902\",\n \"text\": \"@Select({ \\\"select\\\",\\n\\t\\t\\t\\\"sch_id, sch_data, sch_descrizione, sch_critica, id_soggetto, id_struttura, utente_operazione, \\\",\\n\\t\\t\\t\\\"data_creazione, data_modifica, data_cancellazione, richiesta_mmg, visibile_medico_emergenza, \\\",\\n\\t\\t\\t\\\"visibile_medico_continuita_ass, sch_terapia_cronica, monitoraggio_tipo_id\\\", \\\"from covidus_t_scheda\\\" })\\n\\t@Results({ @Result(column = \\\"sch_id\\\", property = \\\"schId\\\", jdbcType = JdbcType.INTEGER, id = true),\\n\\t\\t\\t@Result(column = \\\"sch_data\\\", property = \\\"schData\\\", jdbcType = JdbcType.TIMESTAMP),\\n\\t\\t\\t@Result(column = \\\"sch_descrizione\\\", property = \\\"schDescrizione\\\", jdbcType = JdbcType.VARCHAR),\\n\\t\\t\\t@Result(column = \\\"sch_critica\\\", property = \\\"schCritica\\\", jdbcType = JdbcType.BIT),\\n\\t\\t\\t@Result(column = \\\"id_soggetto\\\", property = \\\"idSoggetto\\\", jdbcType = JdbcType.BIGINT),\\n\\t\\t\\t@Result(column = \\\"id_struttura\\\", property = \\\"idStruttura\\\", jdbcType = JdbcType.VARCHAR),\\n\\t\\t\\t@Result(column = \\\"utente_operazione\\\", property = \\\"utenteOperazione\\\", jdbcType = JdbcType.VARCHAR),\\n\\t\\t\\t@Result(column = \\\"data_creazione\\\", property = \\\"dataCreazione\\\", jdbcType = JdbcType.TIMESTAMP),\\n\\t\\t\\t@Result(column = \\\"data_modifica\\\", property = \\\"dataModifica\\\", jdbcType = JdbcType.TIMESTAMP),\\n\\t\\t\\t@Result(column = \\\"data_cancellazione\\\", property = \\\"dataCancellazione\\\", jdbcType = JdbcType.TIMESTAMP),\\n\\t\\t\\t@Result(column = \\\"richiesta_mmg\\\", property = \\\"richiestaMmg\\\", jdbcType = JdbcType.BIT),\\n\\t\\t\\t@Result(column = \\\"visibile_medico_emergenza\\\", property = \\\"visibileMedicoEmergenza\\\", jdbcType = JdbcType.BIT),\\n\\t\\t\\t@Result(column = \\\"visibile_medico_continuita_ass\\\", property = \\\"visibileMedicoContinuitaAss\\\", jdbcType = JdbcType.BIT),\\n\\t\\t\\t@Result(column = \\\"sch_terapia_cronica\\\", property = \\\"schTerapiaCronica\\\", jdbcType = JdbcType.VARCHAR),\\n\\t\\t\\t@Result(column = \\\"monitoraggio_tipo_id\\\", property = \\\"monitoraggioTipoId\\\", jdbcType = JdbcType.INTEGER) })\\n\\tList selectAll();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9b4a9deeb573c964ccbcc570ec0ebfd4\",\n \"score\": \"0.4410315\",\n \"text\": \"@SelectProvider(type=FinalOrderBeanSqlProvider.class, method=\\\"selectByExample\\\")\\n @Results({\\n @Result(column=\\\"orderId\\\", property=\\\"orderid\\\", jdbcType=JdbcType.VARCHAR, id=true),\\n @Result(column=\\\"orderSN\\\", property=\\\"ordersn\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"placeId\\\", property=\\\"placeid\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"placeCityId\\\", property=\\\"placecityid\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"serviceDate\\\", property=\\\"servicedate\\\", jdbcType=JdbcType.DATE),\\n @Result(column=\\\"serviceTime\\\", property=\\\"servicetime\\\", jdbcType=JdbcType.TIME),\\n @Result(column=\\\"serviceAllDateDisplay\\\", property=\\\"servicealldatedisplay\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"localDay\\\", property=\\\"localday\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"nonlocalDay\\\", property=\\\"nonlocalday\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"departure\\\", property=\\\"departure\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"destination\\\", property=\\\"destination\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"distance\\\", property=\\\"distance\\\", jdbcType=JdbcType.DECIMAL),\\n @Result(column=\\\"deptDetailAddress\\\", property=\\\"deptdetailaddress\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"destDetailAddress\\\", property=\\\"destdetailaddress\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"seatCategory\\\", property=\\\"seatcategory\\\", jdbcType=JdbcType.TINYINT),\\n @Result(column=\\\"type\\\", property=\\\"type\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"price\\\", property=\\\"price\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"clientPrice\\\", property=\\\"clientprice\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"guidePrice\\\", property=\\\"guideprice\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"orderType\\\", property=\\\"ordertype\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"userGuideId\\\", property=\\\"userguideid\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"preGuideId\\\", property=\\\"preguideid\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"guideId\\\", property=\\\"guideid\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"clientType\\\", property=\\\"clienttype\\\", jdbcType=JdbcType.TINYINT),\\n @Result(column=\\\"clientId\\\", property=\\\"clientid\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"userpassportId\\\", property=\\\"userpassportid\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"adminId\\\", property=\\\"adminid\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"status\\\", property=\\\"status\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"payStatus\\\", property=\\\"paystatus\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"hasRefund\\\", property=\\\"hasrefund\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"imToken\\\", property=\\\"imtoken\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"deliveredPriority\\\", property=\\\"deliveredpriority\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"dealOrderTime\\\", property=\\\"dealordertime\\\", jdbcType=JdbcType.TIMESTAMP),\\n @Result(column=\\\"reDeliverType\\\", property=\\\"redelivertype\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"reDeliverCount\\\", property=\\\"redelivercount\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"deliverTime\\\", property=\\\"delivertime\\\", jdbcType=JdbcType.TIMESTAMP),\\n @Result(column=\\\"guideCommentStatus\\\", property=\\\"guidecommentstatus\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"userCommentStatus\\\", property=\\\"usercommentstatus\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"updated_at\\\", property=\\\"updatedAt\\\", jdbcType=JdbcType.TIMESTAMP),\\n @Result(column=\\\"refId\\\", property=\\\"refid\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"mode\\\", property=\\\"mode\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"serviceCar\\\", property=\\\"servicecar\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"serviceGuide\\\", property=\\\"serviceguide\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"serviceCarId\\\", property=\\\"servicecarid\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"serviceGuideId\\\", property=\\\"serviceguideid\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"agencyType\\\", property=\\\"agencytype\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"deleted_at\\\", property=\\\"deletedAt\\\", jdbcType=JdbcType.TIMESTAMP),\\n @Result(column=\\\"created_at\\\", property=\\\"createdAt\\\", jdbcType=JdbcType.TIMESTAMP)\\n })\\n List selectByExampleWithRowbounds(FinalOrderBeanCriteria example, RowBounds rowBounds);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f7792b9e20ce81ddd7c8b4105bdf3a56\",\n \"score\": \"0.4410315\",\n \"text\": \"@SelectProvider(type=FinalOrderBeanSqlProvider.class, method=\\\"selectByExample\\\")\\n @Results({\\n @Result(column=\\\"orderId\\\", property=\\\"orderid\\\", jdbcType=JdbcType.VARCHAR, id=true),\\n @Result(column=\\\"orderSN\\\", property=\\\"ordersn\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"placeId\\\", property=\\\"placeid\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"placeCityId\\\", property=\\\"placecityid\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"serviceDate\\\", property=\\\"servicedate\\\", jdbcType=JdbcType.DATE),\\n @Result(column=\\\"serviceTime\\\", property=\\\"servicetime\\\", jdbcType=JdbcType.TIME),\\n @Result(column=\\\"serviceAllDateDisplay\\\", property=\\\"servicealldatedisplay\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"localDay\\\", property=\\\"localday\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"nonlocalDay\\\", property=\\\"nonlocalday\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"departure\\\", property=\\\"departure\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"destination\\\", property=\\\"destination\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"distance\\\", property=\\\"distance\\\", jdbcType=JdbcType.DECIMAL),\\n @Result(column=\\\"deptDetailAddress\\\", property=\\\"deptdetailaddress\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"destDetailAddress\\\", property=\\\"destdetailaddress\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"seatCategory\\\", property=\\\"seatcategory\\\", jdbcType=JdbcType.TINYINT),\\n @Result(column=\\\"type\\\", property=\\\"type\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"price\\\", property=\\\"price\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"clientPrice\\\", property=\\\"clientprice\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"guidePrice\\\", property=\\\"guideprice\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"orderType\\\", property=\\\"ordertype\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"userGuideId\\\", property=\\\"userguideid\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"preGuideId\\\", property=\\\"preguideid\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"guideId\\\", property=\\\"guideid\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"clientType\\\", property=\\\"clienttype\\\", jdbcType=JdbcType.TINYINT),\\n @Result(column=\\\"clientId\\\", property=\\\"clientid\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"userpassportId\\\", property=\\\"userpassportid\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"adminId\\\", property=\\\"adminid\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"status\\\", property=\\\"status\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"payStatus\\\", property=\\\"paystatus\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"hasRefund\\\", property=\\\"hasrefund\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"imToken\\\", property=\\\"imtoken\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"deliveredPriority\\\", property=\\\"deliveredpriority\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"dealOrderTime\\\", property=\\\"dealordertime\\\", jdbcType=JdbcType.TIMESTAMP),\\n @Result(column=\\\"reDeliverType\\\", property=\\\"redelivertype\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"reDeliverCount\\\", property=\\\"redelivercount\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"deliverTime\\\", property=\\\"delivertime\\\", jdbcType=JdbcType.TIMESTAMP),\\n @Result(column=\\\"guideCommentStatus\\\", property=\\\"guidecommentstatus\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"userCommentStatus\\\", property=\\\"usercommentstatus\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"updated_at\\\", property=\\\"updatedAt\\\", jdbcType=JdbcType.TIMESTAMP),\\n @Result(column=\\\"refId\\\", property=\\\"refid\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"mode\\\", property=\\\"mode\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"serviceCar\\\", property=\\\"servicecar\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"serviceGuide\\\", property=\\\"serviceguide\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"serviceCarId\\\", property=\\\"servicecarid\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"serviceGuideId\\\", property=\\\"serviceguideid\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"agencyType\\\", property=\\\"agencytype\\\", jdbcType=JdbcType.INTEGER),\\n @Result(column=\\\"deleted_at\\\", property=\\\"deletedAt\\\", jdbcType=JdbcType.TIMESTAMP),\\n @Result(column=\\\"created_at\\\", property=\\\"createdAt\\\", jdbcType=JdbcType.TIMESTAMP)\\n })\\n List selectByExample(FinalOrderBeanCriteria example);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"772ae6cdb712c4f174ff8f90503c95a7\",\n \"score\": \"0.4400821\",\n \"text\": \"@RegisterMapper(ExpertiseMapper.class)\\npublic interface ExpertiseDAO {\\n\\n @SqlQuery(\\\"select * from expertise\\\")\\n List getExpertises();\\n\\n @SqlUpdate(\\\"INSERT INTO gebruiker_expertise (expertiseType, gebruikerID)\\\" +\\n \\\"VALUES (:expertiseType, :gebruikerID)\\\")\\n void insertExpertiseGebruiker(@BindBean Expertise expertise, @Bind(\\\"gebruikerID\\\") int gebruikerID);\\n\\n @SqlUpdate(\\\"INSERT INTO expertise_vacature (expertiseType, vacatureID)\\\" +\\n \\\"VALUES (:expertiseType, :vacatureID)\\\")\\n void insertExpertiseVacature(@BindBean Expertise expertise, @Bind(\\\"vacatureID\\\") int vacatureID);\\n\\n @SqlQuery(\\\"SELECT expertiseType FROM gebruiker_expertise WHERE gebruikerID = :gebruikerID\\\")\\n List getGebruikerExpertises(@Bind(\\\"gebruikerID\\\") int gebruikerID);\\n\\n @SqlUpdate(\\\"DELETE FROM gebruiker_expertise WHERE gebruikerID = :gebruikerID AND expertiseType = :expertiseType\\\")\\n void deleteGebruikerExpertise(@BindBean Expertise expertise, @Bind(\\\"gebruikerID\\\") int gebruikerID);\\n\\n @SqlQuery(\\\"SELECT expertiseType FROM expertise_vacature WHERE vacatureid = :vacatureID\\\")\\n List getVacatureExpertises(@Bind(\\\"vacatureID\\\") int vacatureID);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9226ee851299e7746ba31609908f0e3b\",\n \"score\": \"0.4400192\",\n \"text\": \"Feedback() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a5e666cf570ced804832b3693b8d2d10\",\n \"score\": \"0.4399839\",\n \"text\": \"@Select({\\n \\\"select\\\",\\n \\\"messageid, createDate, message, senderid, recieverid\\\",\\n \\\"from jiapumessage\\\",\\n \\\"where messageid = #{messageid,jdbcType=INTEGER}\\\"\\n })\\n @Results({\\n @Result(column=\\\"messageid\\\", property=\\\"messageid\\\", jdbcType=JdbcType.INTEGER, id=true),\\n @Result(column=\\\"createDate\\\", property=\\\"createdate\\\", jdbcType=JdbcType.DATE),\\n @Result(column=\\\"message\\\", property=\\\"message\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"senderid\\\", property=\\\"senderid\\\", jdbcType=JdbcType.VARCHAR),\\n @Result(column=\\\"recieverid\\\", property=\\\"recieverid\\\", jdbcType=JdbcType.VARCHAR)\\n })\\n JiapuMessage selectByPrimaryKey(Integer messageid);\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":351,"cells":{"query_id":{"kind":"string","value":"48459d321866678c8189f0525a2f32a0"},"query":{"kind":"string","value":"Set the Lower Level Protocol Type"},"positive_passages":{"kind":"list like","value":[{"docid":"b4b3717b08d527c5aa8df79b1dcc7a9e","score":"0.5777853","text":"public void setLLPType(String val) {\n mLLPType = val;\n }","title":""}],"string":"[\n {\n \"docid\": \"b4b3717b08d527c5aa8df79b1dcc7a9e\",\n \"score\": \"0.5777853\",\n \"text\": \"public void setLLPType(String val) {\\n mLLPType = val;\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"651c7929db326adc900e00e3d5448853","score":"0.7258357","text":"public void setProtocolType(Integer value) {\n this.protocolType = value;\n }","title":""},{"docid":"2fd45ea12bf9f2924d2f07cecbd033fc","score":"0.67203873","text":"public Builder setProtocolTypeValue(int value) {\n protocolType_ = value;\n onChanged();\n return this;\n }","title":""},{"docid":"b76ed1b5f75ce6cda15e52dd341c4e47","score":"0.6567815","text":"public void setType(String type)\r\n/* 300: */ {\r\n/* 301:490 */ this.type = type;\r\n/* 302: */ }","title":""},{"docid":"895384cafc18290d0db08988031f746c","score":"0.64570165","text":"@Override\n public void setProtocol(String value) {\n setProperty(PROTOCOL, value.toLowerCase(java.util.Locale.ENGLISH));\n }","title":""},{"docid":"35dacf115edc89c9d073a5c2bb628190","score":"0.64014447","text":"void setType(String type);","title":""},{"docid":"0754219dde3ab32212fed69c6a98edad","score":"0.6345055","text":"public void setType(String aType) { _type = aType; }","title":""},{"docid":"578f817c2c71f934a14028697651b165","score":"0.6328616","text":"@Override\n public void setType(String typec) {\n type = typec;\n }","title":""},{"docid":"f4c9e4aa7985722c3a77f793208be1eb","score":"0.6323564","text":"public void setProtocol(java.lang.Integer value) {\n this.protocol = value;\n }","title":""},{"docid":"674bf6ee9e62367c2346c111e0ddce1b","score":"0.63202184","text":"public void setMessageType(byte messageType)\n {\n super.setMessageType(messageType); \n }","title":""},{"docid":"113fcb9fe0d01066f0e38425b7603ea9","score":"0.63130724","text":"void setType(java.lang.String type);","title":""},{"docid":"3f54b306538ec263d5fefcf50a4da866","score":"0.62872463","text":"public void setType(String inType)\n {\n type = inType;\n }","title":""},{"docid":"838b677c3826cbbd2b7865427dbc830b","score":"0.6282303","text":"public void updateProtocol(){\n\t\tServerData server = getServer();\n\t\tif (server != null){\n\t\t\tsetProtocol(server.getServiceSubType());\n\t\t}\n\t}","title":""},{"docid":"c06cf88ef15b98327987ac37099297a1","score":"0.6261929","text":"void setProtocol(ExpProtocol protocol);","title":""},{"docid":"991491dc1a7f4034879c2f51d833721b","score":"0.6259743","text":"void setType(int type);","title":""},{"docid":"64706985c2b260d4a672118c00c4dd92","score":"0.6207639","text":"public void setProto (Protocol newVar) {\n proto = newVar;\n }","title":""},{"docid":"1a32cf8a84be927007348a4c63f2032c","score":"0.6195122","text":"public void setProtocol(String value) {\n setAttributeInternal(PROTOCOL, value);\n }","title":""},{"docid":"ce1ff5a0b7ad1902c9f004356a81aabd","score":"0.61567235","text":"public void setType(String newType) {\n type = newType;\n }","title":""},{"docid":"df2d5f6a8bd77b9789f9f0852c2dbef0","score":"0.61352855","text":"public void setPackProtocolType(Integer value) {\n this.packProtocolType = value;\n }","title":""},{"docid":"5b55688a1442458079eec7ea9640b5fd","score":"0.613031","text":"public void setMessageType(java.lang.String param){\n \n this.localMessageType=param;\n \n\n }","title":""},{"docid":"8df11755d103a7918868707e865a677d","score":"0.61279595","text":"public void setType(String type) { this.type = type; }","title":""},{"docid":"8df11755d103a7918868707e865a677d","score":"0.61279595","text":"public void setType(String type) { this.type = type; }","title":""},{"docid":"3ea284da077dbfef3165eb47dc5d789e","score":"0.61186683","text":"public void setType(int type) {this.type = type; }","title":""},{"docid":"d2b88ebdcea850d1f481c1c6b034f815","score":"0.6117872","text":"public void setType(int type);","title":""},{"docid":"d2b88ebdcea850d1f481c1c6b034f815","score":"0.6117872","text":"public void setType(int type);","title":""},{"docid":"4df914ac64fe6cc544e3f2c2480b9de1","score":"0.6114273","text":"public Builder setProtocolType(com.xh.demo.grpc.WrTy.ProtocolMessageEnvelope.ProtocolType value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n protocolType_ = value.getNumber();\n onChanged();\n return this;\n }","title":""},{"docid":"ae750771edbe41fcb17c788669e28c65","score":"0.6096193","text":"public void SetType(String type) {\n this.type= type;\n }","title":""},{"docid":"1892c03737b1b59f950fa8c9f3f4ca25","score":"0.60714585","text":"public void setType(String type) {\n Type = type;\n }","title":""},{"docid":"0197f91048097e23796f7952da93fe25","score":"0.6071294","text":"public void setType(int type) { this.type = type; }","title":""},{"docid":"4553e5eed8cc6dc67c190f0d9d14a0cc","score":"0.60616153","text":"private void cmdSetProtocol(TagProtocol protocol)\n throws ReaderException\n {\n Message m = new Message();\n\n m.setu8(MSG_OPCODE_SET_TAG_PROTOCOL);\n m.setu16(protocolToCodeMap.get(protocol));\n send(m);\n }","title":""},{"docid":"e62e63c8a84697cd7e316356d59c3ccf","score":"0.6050679","text":"public void setType(char type){\n\tthis.type=type;\n}","title":""},{"docid":"228358d417d1c2b11543dd199104973c","score":"0.60482806","text":"public Energistics.Datatypes.MessageHeader.Builder setProtocol(int value) {\n validate(fields()[0], value);\n this.protocol = value;\n fieldSetFlags()[0] = true;\n return this; \n }","title":""},{"docid":"b853c37bb4438081bd82c11f6820a3ed","score":"0.60347235","text":"public void setConnectionType( short type ) { connectionType = type; }","title":""},{"docid":"deb0640b5fd1c137cb283f70cc012155","score":"0.6017482","text":"public void setType(Integer type)\n/* 234: */ {\n/* 235:235 */ this.type = type;\n/* 236: */ }","title":""},{"docid":"91d4323b8a18a67335b24e70d4d25c48","score":"0.6000816","text":"public void setType (int pType)\r\n {\r\n mType = pType ;\r\n }","title":""},{"docid":"43f5b82cd010bc1f13f2759e01e9f36a","score":"0.59956175","text":"public Integer getProtocolType() {\n return protocolType;\n }","title":""},{"docid":"8c8f9986a10424daa550541abb6b5f81","score":"0.5992688","text":"public void type(String type) {\n this.type.set(type);\n }","title":""},{"docid":"295e3338b98e5c169a05825262f8c4a3","score":"0.59811425","text":"int getProtocolTypeValue();","title":""},{"docid":"e85eca9f36d7eac8bbb04b4349125c0b","score":"0.5979544","text":"public void setType(String setType)\r\n {\r\n strType = setType;\r\n }","title":""},{"docid":"cd7602d543f49e8d25dec0f2756f5984","score":"0.59752464","text":"public void setType(int type)\n\t{\n\t\twType = type ;\n\t}","title":""},{"docid":"6c9dad9c243626feaea529ddea5adb52","score":"0.59703","text":"public void setType(final String theType) {\r\n type = theType;\r\n }","title":""},{"docid":"49a004bcf064ab00ab7bb4384e534a06","score":"0.5954079","text":"public void setType(String type) {\r\n m_type = type;\r\n }","title":""},{"docid":"6b9694bc9a01b400ac48a23be0c333e6","score":"0.5949344","text":"@Override\n public void setType(Type type) {\n super.setType(type);\n }","title":""},{"docid":"567bd8d02623efd4eabe3da4acb25479","score":"0.59464544","text":"public void setType(Type type)\r\n {\r\n _type = type;\r\n }","title":""},{"docid":"b81a8514b2cb29f249453bf52df51b54","score":"0.5941288","text":"public void setType(Byte type) {\r\n this.type = type;\r\n }","title":""},{"docid":"ff55840ee059cbef65a7d25a70017ea7","score":"0.59411","text":"public void setType(byte type) {\r\n this.type = new Byte(type);\r\n }","title":""},{"docid":"456702e4905e521d8a6d4ba137005671","score":"0.5934616","text":"public void setType(int type){\n \tmType = type;\n }","title":""},{"docid":"28f7decf4d4e97f0c58800a983b5e1e7","score":"0.59319913","text":"public int getProtocolTypeValue() {\n return protocolType_;\n }","title":""},{"docid":"4f8036a6f9059840fe80b2e16e435893","score":"0.59223086","text":"public void setType(char t){\n\t this.type = t;\n }","title":""},{"docid":"b4696c5b58d716d2739b80aeb712d1a7","score":"0.5913729","text":"public void setType(String _type) {\n type = _type;\n }","title":""},{"docid":"acd5449b2d95c8e912ae1b1fc9d2ed6f","score":"0.58918273","text":"public void setMessageType(String messageType)\r\n/* 29: */ {\r\n/* 30:28 */ this.messageType = messageType;\r\n/* 31: */ }","title":""},{"docid":"075ee5fdf1b7f1ec4179c2b2365a66d2","score":"0.588654","text":"private void setRequestType(String requestType)\n {\n this.requestType = requestType;\n }","title":""},{"docid":"b00e53ba03aeccfff1439a90064fe190","score":"0.587548","text":"@Override\n public void setType(String type) \n {\n this.type = type;\n }","title":""},{"docid":"139d46a53a4981cfb86feacfd713fd79","score":"0.5865129","text":"public void setType(Byte type) {\n this.type = type;\n }","title":""},{"docid":"139d46a53a4981cfb86feacfd713fd79","score":"0.5865129","text":"public void setType(Byte type) {\n this.type = type;\n }","title":""},{"docid":"139d46a53a4981cfb86feacfd713fd79","score":"0.5865129","text":"public void setType(Byte type) {\n this.type = type;\n }","title":""},{"docid":"a9127e2b4a7084c7e1c76fe803c80eda","score":"0.58437943","text":"public void setType(java.lang.String param){\n \n this.localType=param;\n \n\n }","title":""},{"docid":"eb9578eb3d32351dfa2b5471f6d69e3b","score":"0.58419174","text":"public void setType(String v){\n\t\ttry{\n\t\tsetProperty(SCHEMA_ELEMENT_NAME + \"/type\",v);\n\t\t_Type=null;\n\t\t} catch (Exception e1) {logger.error(e1);}\n\t}","title":""},{"docid":"3bb2e22891b00d37be1069ca4a2d70b0","score":"0.58413315","text":"private void handleSetPreferredNetworkTypeResponse(Message msg) {\n getPhone().getPreferredNetworkType(obtainMessage(MESSAGE_GET_PREFERRED_NETWORK_TYPE));\n }","title":""},{"docid":"ecc0fff16bedc6e656e98b9e0a9bf37c","score":"0.58399147","text":"public void setType(int type) {\n typ = type;\n }","title":""},{"docid":"56cb84b32c98579629cb6216597ca3d2","score":"0.5837961","text":"private void setType(int type) {\n\t\tStateVariable.assertValidType(type);\n\t\tmType = type;\n\t}","title":""},{"docid":"2a33c05f2c131e9b9768905a10cec4c1","score":"0.58278805","text":"protected void setType(int type) {\n mType = type;\n }","title":""},{"docid":"29305d0477b60a967dd73338a3d745bc","score":"0.5810742","text":"public int getProtocolTypeValue() {\n return protocolType_;\n }","title":""},{"docid":"60b1ae5afc298459a4ce048d043aa464","score":"0.58081406","text":"public Builder setProtocolName(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n protocolCase_ = 5;\n protocol_ = value;\n onChanged();\n return this;\n }","title":""},{"docid":"f1066674415feb3243568a3482740482","score":"0.5796465","text":"private void setType(QuestionTypes type) {\n\t\tthis.type = type;\r\n\r\n\t}","title":""},{"docid":"62855a1f34bcc29e47840278ba875897","score":"0.57963943","text":"public abstract void setProtocolVersion(short version);","title":""},{"docid":"f9670eeb5de867a97e1c4d349866173c","score":"0.5795025","text":"public void SetType(String type){\r\n this.type = type;\r\n }","title":""},{"docid":"9d94c27ab72ed382ebd590da56db35fa","score":"0.5791853","text":"void setInputType(IOType type);","title":""},{"docid":"406b332f3c9ff1fda87eb59174ad8728","score":"0.5788036","text":"public void setLkptype(Lkptype v) throws TorqueException\n {\n if (v == null)\n {\n setTypeid(0);\n }\n else\n {\n setTypeid(v.getTypeid());\n }\n aLkptype = v;\n }","title":""},{"docid":"7758060895f0347ab537d3bde78c2d97","score":"0.5781068","text":"void setTypeSpecification(TypeSpecification spec);","title":""},{"docid":"fed98bcd404cb8e19711e38acaed637b","score":"0.5780788","text":"public void setType(Type type)\r\n\t{\r\n\t\tthis.type = type;\r\n\t}","title":""},{"docid":"377b3c45b095d97365008df310a247fa","score":"0.5776648","text":"public void setType(String type) {\n _type = type;\n }","title":""},{"docid":"1a5e60d4d0186dae1ba2b2ff24067c60","score":"0.57688975","text":"void setPolicyType(String policyType);","title":""},{"docid":"765c401404e40684f5f9a8b92931c6ba","score":"0.57581985","text":"public void setType(char type) {\n this.type = type;\n }","title":""},{"docid":"180f5905d23db3d908454ed9e362e360","score":"0.5755244","text":"public void setType(String type) {\r\n this.type = type;\r\n\t}","title":""},{"docid":"4bb8fff657fd16ff744ef3bb91720cb0","score":"0.5747935","text":"public void setType(String type)\r\n\t{\r\n\t\tthis.type = type;\r\n\t}","title":""},{"docid":"4bb8fff657fd16ff744ef3bb91720cb0","score":"0.5747935","text":"public void setType(String type)\r\n\t{\r\n\t\tthis.type = type;\r\n\t}","title":""},{"docid":"b6b6b8d4e06fc80ec2f4664830cbc7eb","score":"0.5746734","text":"public void setType(char type)\n\t{\n\t\tthis.type = type;\n\t}","title":""},{"docid":"57f417a4f05045da4abae1ff7ded211c","score":"0.5743048","text":"public void setPolicyType(typekey.PolicyType value);","title":""},{"docid":"da527cc79ec36892d0af46ada434414c","score":"0.57413554","text":"public void setType(char type) \n\t{\n\t\tthis.type = type;\n\t}","title":""},{"docid":"5d01d95535557c0302e45c45df8acde7","score":"0.57395387","text":"public void setPacketType(Type type) {\n\t\tthis.type = type;\n\t}","title":""},{"docid":"8bada81f8c69f5e531cf9f56044eb9ce","score":"0.57370484","text":"public void setType(String type_) {\r\n\t\tthis.type = type_;\r\n\t}","title":""},{"docid":"aebe3171219073e28f8d5661bda717cb","score":"0.57296216","text":"void setDataType(String dataType);","title":""},{"docid":"262fdd6763357628ee8da756a82b8036","score":"0.57262444","text":"protected void setType(int type)\n\t{\n\t\tthis.type = type;\n\t}","title":""},{"docid":"7dff1a19a6f6a61c84f2768b235cd0f3","score":"0.5723001","text":"public void setType (String type) {\r\n\t\tthis.type = type;\r\n\t}","title":""},{"docid":"506d6be181189abc8a06a4f95ed70fc0","score":"0.5720407","text":"public void setType(String type){\r\n\t\tthis.type = type;\r\n\t}","title":""},{"docid":"2c040af73b7c98f105b0aa5d75daa947","score":"0.5719636","text":"public void setType(String type)\n {\n this.type = type;\n }","title":""},{"docid":"2c040af73b7c98f105b0aa5d75daa947","score":"0.5719636","text":"public void setType(String type)\n {\n this.type = type;\n }","title":""},{"docid":"2c040af73b7c98f105b0aa5d75daa947","score":"0.5719636","text":"public void setType(String type)\n {\n this.type = type;\n }","title":""},{"docid":"2dd6833472979f396e97d956acbb3102","score":"0.5719306","text":"public void setStype(short stype) throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\t__io__block.writeShort(__io__address + 22, stype);\n\t\t} else {\n\t\t\t__io__block.writeShort(__io__address + 14, stype);\n\t\t}\n\t}","title":""},{"docid":"16a84993ac912cc0b9d9bd907668f927","score":"0.57169825","text":"public void setProtocol(final Protocol protocol) {\n this.protocol = protocol;\n }","title":""},{"docid":"ebc09588be08857ec44108a4b5636f1e","score":"0.57126397","text":"public void setType(String type) {\n this.type = type;\n }","title":""},{"docid":"126380080272b72a0684fa5bc0142e0f","score":"0.57084453","text":"public void setType(String type) {\r\n this.type = type;\r\n }","title":""},{"docid":"126380080272b72a0684fa5bc0142e0f","score":"0.57084453","text":"public void setType(String type) {\r\n this.type = type;\r\n }","title":""},{"docid":"fc36ec3bee95d65132fc578b82c23dad","score":"0.57068175","text":"public void setTypeOfRecord(char typeOfRecord);","title":""},{"docid":"a121297048b9546dc87c2c1497bb30a6","score":"0.5691708","text":"public void setMessageType(char messageType) {\n mValues[0] = (char) (mValues[0] & 0x00FF);\n mValues[0] = (char) (mValues[0] | messageType);\n }","title":""},{"docid":"5854789c8c7f5c2c41a14decfd7b3d07","score":"0.5691121","text":"private void setType()\n\t{\n\t\ttype = \"Consumable\";\n\t}","title":""},{"docid":"2a8d40f0aec5181627f72da3a579451b","score":"0.5689032","text":"public void setTypeport(short newTypeport) {\n\ttypeport = newTypeport;\n}","title":""},{"docid":"5ab90d4f7ab13cacd8d0a20b4fe23530","score":"0.5688071","text":"void setTypeCode(CS typeCode);","title":""},{"docid":"83f04e0364bab801abc40d2a1fa2f691","score":"0.56797284","text":"private void setType(int value) {\n \n type_ = value;\n }","title":""},{"docid":"4933ca85fcb6b88bee0f63fa1b15ba98","score":"0.56796193","text":"public void setType(String value) {\r\n\t\tthis.type = value;\r\n\t}","title":""}],"string":"[\n {\n \"docid\": \"651c7929db326adc900e00e3d5448853\",\n \"score\": \"0.7258357\",\n \"text\": \"public void setProtocolType(Integer value) {\\n this.protocolType = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2fd45ea12bf9f2924d2f07cecbd033fc\",\n \"score\": \"0.67203873\",\n \"text\": \"public Builder setProtocolTypeValue(int value) {\\n protocolType_ = value;\\n onChanged();\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b76ed1b5f75ce6cda15e52dd341c4e47\",\n \"score\": \"0.6567815\",\n \"text\": \"public void setType(String type)\\r\\n/* 300: */ {\\r\\n/* 301:490 */ this.type = type;\\r\\n/* 302: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"895384cafc18290d0db08988031f746c\",\n \"score\": \"0.64570165\",\n \"text\": \"@Override\\n public void setProtocol(String value) {\\n setProperty(PROTOCOL, value.toLowerCase(java.util.Locale.ENGLISH));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"35dacf115edc89c9d073a5c2bb628190\",\n \"score\": \"0.64014447\",\n \"text\": \"void setType(String type);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0754219dde3ab32212fed69c6a98edad\",\n \"score\": \"0.6345055\",\n \"text\": \"public void setType(String aType) { _type = aType; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"578f817c2c71f934a14028697651b165\",\n \"score\": \"0.6328616\",\n \"text\": \"@Override\\n public void setType(String typec) {\\n type = typec;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4c9e4aa7985722c3a77f793208be1eb\",\n \"score\": \"0.6323564\",\n \"text\": \"public void setProtocol(java.lang.Integer value) {\\n this.protocol = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"674bf6ee9e62367c2346c111e0ddce1b\",\n \"score\": \"0.63202184\",\n \"text\": \"public void setMessageType(byte messageType)\\n {\\n super.setMessageType(messageType); \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"113fcb9fe0d01066f0e38425b7603ea9\",\n \"score\": \"0.63130724\",\n \"text\": \"void setType(java.lang.String type);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3f54b306538ec263d5fefcf50a4da866\",\n \"score\": \"0.62872463\",\n \"text\": \"public void setType(String inType)\\n {\\n type = inType;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"838b677c3826cbbd2b7865427dbc830b\",\n \"score\": \"0.6282303\",\n \"text\": \"public void updateProtocol(){\\n\\t\\tServerData server = getServer();\\n\\t\\tif (server != null){\\n\\t\\t\\tsetProtocol(server.getServiceSubType());\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c06cf88ef15b98327987ac37099297a1\",\n \"score\": \"0.6261929\",\n \"text\": \"void setProtocol(ExpProtocol protocol);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"991491dc1a7f4034879c2f51d833721b\",\n \"score\": \"0.6259743\",\n \"text\": \"void setType(int type);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"64706985c2b260d4a672118c00c4dd92\",\n \"score\": \"0.6207639\",\n \"text\": \"public void setProto (Protocol newVar) {\\n proto = newVar;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1a32cf8a84be927007348a4c63f2032c\",\n \"score\": \"0.6195122\",\n \"text\": \"public void setProtocol(String value) {\\n setAttributeInternal(PROTOCOL, value);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ce1ff5a0b7ad1902c9f004356a81aabd\",\n \"score\": \"0.61567235\",\n \"text\": \"public void setType(String newType) {\\n type = newType;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"df2d5f6a8bd77b9789f9f0852c2dbef0\",\n \"score\": \"0.61352855\",\n \"text\": \"public void setPackProtocolType(Integer value) {\\n this.packProtocolType = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5b55688a1442458079eec7ea9640b5fd\",\n \"score\": \"0.613031\",\n \"text\": \"public void setMessageType(java.lang.String param){\\n \\n this.localMessageType=param;\\n \\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8df11755d103a7918868707e865a677d\",\n \"score\": \"0.61279595\",\n \"text\": \"public void setType(String type) { this.type = type; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8df11755d103a7918868707e865a677d\",\n \"score\": \"0.61279595\",\n \"text\": \"public void setType(String type) { this.type = type; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3ea284da077dbfef3165eb47dc5d789e\",\n \"score\": \"0.61186683\",\n \"text\": \"public void setType(int type) {this.type = type; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d2b88ebdcea850d1f481c1c6b034f815\",\n \"score\": \"0.6117872\",\n \"text\": \"public void setType(int type);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d2b88ebdcea850d1f481c1c6b034f815\",\n \"score\": \"0.6117872\",\n \"text\": \"public void setType(int type);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4df914ac64fe6cc544e3f2c2480b9de1\",\n \"score\": \"0.6114273\",\n \"text\": \"public Builder setProtocolType(com.xh.demo.grpc.WrTy.ProtocolMessageEnvelope.ProtocolType value) {\\n if (value == null) {\\n throw new NullPointerException();\\n }\\n \\n protocolType_ = value.getNumber();\\n onChanged();\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae750771edbe41fcb17c788669e28c65\",\n \"score\": \"0.6096193\",\n \"text\": \"public void SetType(String type) {\\n this.type= type;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1892c03737b1b59f950fa8c9f3f4ca25\",\n \"score\": \"0.60714585\",\n \"text\": \"public void setType(String type) {\\n Type = type;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0197f91048097e23796f7952da93fe25\",\n \"score\": \"0.6071294\",\n \"text\": \"public void setType(int type) { this.type = type; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4553e5eed8cc6dc67c190f0d9d14a0cc\",\n \"score\": \"0.60616153\",\n \"text\": \"private void cmdSetProtocol(TagProtocol protocol)\\n throws ReaderException\\n {\\n Message m = new Message();\\n\\n m.setu8(MSG_OPCODE_SET_TAG_PROTOCOL);\\n m.setu16(protocolToCodeMap.get(protocol));\\n send(m);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e62e63c8a84697cd7e316356d59c3ccf\",\n \"score\": \"0.6050679\",\n \"text\": \"public void setType(char type){\\n\\tthis.type=type;\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"228358d417d1c2b11543dd199104973c\",\n \"score\": \"0.60482806\",\n \"text\": \"public Energistics.Datatypes.MessageHeader.Builder setProtocol(int value) {\\n validate(fields()[0], value);\\n this.protocol = value;\\n fieldSetFlags()[0] = true;\\n return this; \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b853c37bb4438081bd82c11f6820a3ed\",\n \"score\": \"0.60347235\",\n \"text\": \"public void setConnectionType( short type ) { connectionType = type; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"deb0640b5fd1c137cb283f70cc012155\",\n \"score\": \"0.6017482\",\n \"text\": \"public void setType(Integer type)\\n/* 234: */ {\\n/* 235:235 */ this.type = type;\\n/* 236: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"91d4323b8a18a67335b24e70d4d25c48\",\n \"score\": \"0.6000816\",\n \"text\": \"public void setType (int pType)\\r\\n {\\r\\n mType = pType ;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"43f5b82cd010bc1f13f2759e01e9f36a\",\n \"score\": \"0.59956175\",\n \"text\": \"public Integer getProtocolType() {\\n return protocolType;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8c8f9986a10424daa550541abb6b5f81\",\n \"score\": \"0.5992688\",\n \"text\": \"public void type(String type) {\\n this.type.set(type);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"295e3338b98e5c169a05825262f8c4a3\",\n \"score\": \"0.59811425\",\n \"text\": \"int getProtocolTypeValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e85eca9f36d7eac8bbb04b4349125c0b\",\n \"score\": \"0.5979544\",\n \"text\": \"public void setType(String setType)\\r\\n {\\r\\n strType = setType;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd7602d543f49e8d25dec0f2756f5984\",\n \"score\": \"0.59752464\",\n \"text\": \"public void setType(int type)\\n\\t{\\n\\t\\twType = type ;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c9dad9c243626feaea529ddea5adb52\",\n \"score\": \"0.59703\",\n \"text\": \"public void setType(final String theType) {\\r\\n type = theType;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"49a004bcf064ab00ab7bb4384e534a06\",\n \"score\": \"0.5954079\",\n \"text\": \"public void setType(String type) {\\r\\n m_type = type;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6b9694bc9a01b400ac48a23be0c333e6\",\n \"score\": \"0.5949344\",\n \"text\": \"@Override\\n public void setType(Type type) {\\n super.setType(type);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"567bd8d02623efd4eabe3da4acb25479\",\n \"score\": \"0.59464544\",\n \"text\": \"public void setType(Type type)\\r\\n {\\r\\n _type = type;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b81a8514b2cb29f249453bf52df51b54\",\n \"score\": \"0.5941288\",\n \"text\": \"public void setType(Byte type) {\\r\\n this.type = type;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ff55840ee059cbef65a7d25a70017ea7\",\n \"score\": \"0.59411\",\n \"text\": \"public void setType(byte type) {\\r\\n this.type = new Byte(type);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"456702e4905e521d8a6d4ba137005671\",\n \"score\": \"0.5934616\",\n \"text\": \"public void setType(int type){\\n \\tmType = type;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"28f7decf4d4e97f0c58800a983b5e1e7\",\n \"score\": \"0.59319913\",\n \"text\": \"public int getProtocolTypeValue() {\\n return protocolType_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4f8036a6f9059840fe80b2e16e435893\",\n \"score\": \"0.59223086\",\n \"text\": \"public void setType(char t){\\n\\t this.type = t;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b4696c5b58d716d2739b80aeb712d1a7\",\n \"score\": \"0.5913729\",\n \"text\": \"public void setType(String _type) {\\n type = _type;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"acd5449b2d95c8e912ae1b1fc9d2ed6f\",\n \"score\": \"0.58918273\",\n \"text\": \"public void setMessageType(String messageType)\\r\\n/* 29: */ {\\r\\n/* 30:28 */ this.messageType = messageType;\\r\\n/* 31: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"075ee5fdf1b7f1ec4179c2b2365a66d2\",\n \"score\": \"0.588654\",\n \"text\": \"private void setRequestType(String requestType)\\n {\\n this.requestType = requestType;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b00e53ba03aeccfff1439a90064fe190\",\n \"score\": \"0.587548\",\n \"text\": \"@Override\\n public void setType(String type) \\n {\\n this.type = type;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"139d46a53a4981cfb86feacfd713fd79\",\n \"score\": \"0.5865129\",\n \"text\": \"public void setType(Byte type) {\\n this.type = type;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"139d46a53a4981cfb86feacfd713fd79\",\n \"score\": \"0.5865129\",\n \"text\": \"public void setType(Byte type) {\\n this.type = type;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"139d46a53a4981cfb86feacfd713fd79\",\n \"score\": \"0.5865129\",\n \"text\": \"public void setType(Byte type) {\\n this.type = type;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a9127e2b4a7084c7e1c76fe803c80eda\",\n \"score\": \"0.58437943\",\n \"text\": \"public void setType(java.lang.String param){\\n \\n this.localType=param;\\n \\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eb9578eb3d32351dfa2b5471f6d69e3b\",\n \"score\": \"0.58419174\",\n \"text\": \"public void setType(String v){\\n\\t\\ttry{\\n\\t\\tsetProperty(SCHEMA_ELEMENT_NAME + \\\"/type\\\",v);\\n\\t\\t_Type=null;\\n\\t\\t} catch (Exception e1) {logger.error(e1);}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3bb2e22891b00d37be1069ca4a2d70b0\",\n \"score\": \"0.58413315\",\n \"text\": \"private void handleSetPreferredNetworkTypeResponse(Message msg) {\\n getPhone().getPreferredNetworkType(obtainMessage(MESSAGE_GET_PREFERRED_NETWORK_TYPE));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ecc0fff16bedc6e656e98b9e0a9bf37c\",\n \"score\": \"0.58399147\",\n \"text\": \"public void setType(int type) {\\n typ = type;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"56cb84b32c98579629cb6216597ca3d2\",\n \"score\": \"0.5837961\",\n \"text\": \"private void setType(int type) {\\n\\t\\tStateVariable.assertValidType(type);\\n\\t\\tmType = type;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2a33c05f2c131e9b9768905a10cec4c1\",\n \"score\": \"0.58278805\",\n \"text\": \"protected void setType(int type) {\\n mType = type;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"29305d0477b60a967dd73338a3d745bc\",\n \"score\": \"0.5810742\",\n \"text\": \"public int getProtocolTypeValue() {\\n return protocolType_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"60b1ae5afc298459a4ce048d043aa464\",\n \"score\": \"0.58081406\",\n \"text\": \"public Builder setProtocolName(\\n java.lang.String value) {\\n if (value == null) {\\n throw new NullPointerException();\\n }\\n protocolCase_ = 5;\\n protocol_ = value;\\n onChanged();\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1066674415feb3243568a3482740482\",\n \"score\": \"0.5796465\",\n \"text\": \"private void setType(QuestionTypes type) {\\n\\t\\tthis.type = type;\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"62855a1f34bcc29e47840278ba875897\",\n \"score\": \"0.57963943\",\n \"text\": \"public abstract void setProtocolVersion(short version);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f9670eeb5de867a97e1c4d349866173c\",\n \"score\": \"0.5795025\",\n \"text\": \"public void SetType(String type){\\r\\n this.type = type;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d94c27ab72ed382ebd590da56db35fa\",\n \"score\": \"0.5791853\",\n \"text\": \"void setInputType(IOType type);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"406b332f3c9ff1fda87eb59174ad8728\",\n \"score\": \"0.5788036\",\n \"text\": \"public void setLkptype(Lkptype v) throws TorqueException\\n {\\n if (v == null)\\n {\\n setTypeid(0);\\n }\\n else\\n {\\n setTypeid(v.getTypeid());\\n }\\n aLkptype = v;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7758060895f0347ab537d3bde78c2d97\",\n \"score\": \"0.5781068\",\n \"text\": \"void setTypeSpecification(TypeSpecification spec);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fed98bcd404cb8e19711e38acaed637b\",\n \"score\": \"0.5780788\",\n \"text\": \"public void setType(Type type)\\r\\n\\t{\\r\\n\\t\\tthis.type = type;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"377b3c45b095d97365008df310a247fa\",\n \"score\": \"0.5776648\",\n \"text\": \"public void setType(String type) {\\n _type = type;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1a5e60d4d0186dae1ba2b2ff24067c60\",\n \"score\": \"0.57688975\",\n \"text\": \"void setPolicyType(String policyType);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"765c401404e40684f5f9a8b92931c6ba\",\n \"score\": \"0.57581985\",\n \"text\": \"public void setType(char type) {\\n this.type = type;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"180f5905d23db3d908454ed9e362e360\",\n \"score\": \"0.5755244\",\n \"text\": \"public void setType(String type) {\\r\\n this.type = type;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4bb8fff657fd16ff744ef3bb91720cb0\",\n \"score\": \"0.5747935\",\n \"text\": \"public void setType(String type)\\r\\n\\t{\\r\\n\\t\\tthis.type = type;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4bb8fff657fd16ff744ef3bb91720cb0\",\n \"score\": \"0.5747935\",\n \"text\": \"public void setType(String type)\\r\\n\\t{\\r\\n\\t\\tthis.type = type;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b6b6b8d4e06fc80ec2f4664830cbc7eb\",\n \"score\": \"0.5746734\",\n \"text\": \"public void setType(char type)\\n\\t{\\n\\t\\tthis.type = type;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"57f417a4f05045da4abae1ff7ded211c\",\n \"score\": \"0.5743048\",\n \"text\": \"public void setPolicyType(typekey.PolicyType value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da527cc79ec36892d0af46ada434414c\",\n \"score\": \"0.57413554\",\n \"text\": \"public void setType(char type) \\n\\t{\\n\\t\\tthis.type = type;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d01d95535557c0302e45c45df8acde7\",\n \"score\": \"0.57395387\",\n \"text\": \"public void setPacketType(Type type) {\\n\\t\\tthis.type = type;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8bada81f8c69f5e531cf9f56044eb9ce\",\n \"score\": \"0.57370484\",\n \"text\": \"public void setType(String type_) {\\r\\n\\t\\tthis.type = type_;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aebe3171219073e28f8d5661bda717cb\",\n \"score\": \"0.57296216\",\n \"text\": \"void setDataType(String dataType);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"262fdd6763357628ee8da756a82b8036\",\n \"score\": \"0.57262444\",\n \"text\": \"protected void setType(int type)\\n\\t{\\n\\t\\tthis.type = type;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7dff1a19a6f6a61c84f2768b235cd0f3\",\n \"score\": \"0.5723001\",\n \"text\": \"public void setType (String type) {\\r\\n\\t\\tthis.type = type;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"506d6be181189abc8a06a4f95ed70fc0\",\n \"score\": \"0.5720407\",\n \"text\": \"public void setType(String type){\\r\\n\\t\\tthis.type = type;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2c040af73b7c98f105b0aa5d75daa947\",\n \"score\": \"0.5719636\",\n \"text\": \"public void setType(String type)\\n {\\n this.type = type;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2c040af73b7c98f105b0aa5d75daa947\",\n \"score\": \"0.5719636\",\n \"text\": \"public void setType(String type)\\n {\\n this.type = type;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2c040af73b7c98f105b0aa5d75daa947\",\n \"score\": \"0.5719636\",\n \"text\": \"public void setType(String type)\\n {\\n this.type = type;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2dd6833472979f396e97d956acbb3102\",\n \"score\": \"0.5719306\",\n \"text\": \"public void setStype(short stype) throws IOException\\n\\t{\\n\\t\\tif ((__io__pointersize == 8)) {\\n\\t\\t\\t__io__block.writeShort(__io__address + 22, stype);\\n\\t\\t} else {\\n\\t\\t\\t__io__block.writeShort(__io__address + 14, stype);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"16a84993ac912cc0b9d9bd907668f927\",\n \"score\": \"0.57169825\",\n \"text\": \"public void setProtocol(final Protocol protocol) {\\n this.protocol = protocol;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ebc09588be08857ec44108a4b5636f1e\",\n \"score\": \"0.57126397\",\n \"text\": \"public void setType(String type) {\\n this.type = type;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"126380080272b72a0684fa5bc0142e0f\",\n \"score\": \"0.57084453\",\n \"text\": \"public void setType(String type) {\\r\\n this.type = type;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"126380080272b72a0684fa5bc0142e0f\",\n \"score\": \"0.57084453\",\n \"text\": \"public void setType(String type) {\\r\\n this.type = type;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fc36ec3bee95d65132fc578b82c23dad\",\n \"score\": \"0.57068175\",\n \"text\": \"public void setTypeOfRecord(char typeOfRecord);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a121297048b9546dc87c2c1497bb30a6\",\n \"score\": \"0.5691708\",\n \"text\": \"public void setMessageType(char messageType) {\\n mValues[0] = (char) (mValues[0] & 0x00FF);\\n mValues[0] = (char) (mValues[0] | messageType);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5854789c8c7f5c2c41a14decfd7b3d07\",\n \"score\": \"0.5691121\",\n \"text\": \"private void setType()\\n\\t{\\n\\t\\ttype = \\\"Consumable\\\";\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2a8d40f0aec5181627f72da3a579451b\",\n \"score\": \"0.5689032\",\n \"text\": \"public void setTypeport(short newTypeport) {\\n\\ttypeport = newTypeport;\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5ab90d4f7ab13cacd8d0a20b4fe23530\",\n \"score\": \"0.5688071\",\n \"text\": \"void setTypeCode(CS typeCode);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"83f04e0364bab801abc40d2a1fa2f691\",\n \"score\": \"0.56797284\",\n \"text\": \"private void setType(int value) {\\n \\n type_ = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4933ca85fcb6b88bee0f63fa1b15ba98\",\n \"score\": \"0.56796193\",\n \"text\": \"public void setType(String value) {\\r\\n\\t\\tthis.type = value;\\r\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":352,"cells":{"query_id":{"kind":"string","value":"4b8bbd9c26acfb351761ffea85ebf07b"},"query":{"kind":"string","value":"A copy of the Android internals StoreThumbnail method, it used with the insertImage to populate the android.provider.MediaStore.Images.MediainsertImage with all the correct meta data. The StoreThumbnail method is private so it must be duplicated here."},"positive_passages":{"kind":"list like","value":[{"docid":"6f83634d25e201b46e330a0ede9673c4","score":"0.6941583","text":"private static final Bitmap storeThumbnail(\n ContentResolver cr,\n Bitmap source,\n long id,\n float width,\n float height,\n int kind) {\n\n // create the matrix to scale it\n Matrix matrix = new Matrix();\n\n float scaleX = width / source.getWidth();\n float scaleY = height / source.getHeight();\n\n matrix.setScale(scaleX, scaleY);\n\n Bitmap thumb = Bitmap.createBitmap(source, 0, 0,\n source.getWidth(),\n source.getHeight(), matrix,\n true\n );\n\n ContentValues values = new ContentValues(4);\n values.put(MediaStore.Images.Thumbnails.KIND, kind);\n values.put(MediaStore.Images.Thumbnails.IMAGE_ID, (int) id);\n values.put(MediaStore.Images.Thumbnails.HEIGHT, thumb.getHeight());\n values.put(MediaStore.Images.Thumbnails.WIDTH, thumb.getWidth());\n\n Uri url = cr.insert(MediaStore.Images.Thumbnails.EXTERNAL_CONTENT_URI, values);\n\n try {\n OutputStream thumbOut = cr.openOutputStream(url);\n thumb.compress(Bitmap.CompressFormat.JPEG, 100, thumbOut);\n thumbOut.close();\n return thumb;\n } catch (FileNotFoundException ex) {\n return null;\n } catch (IOException ex) {\n return null;\n }\n }","title":""}],"string":"[\n {\n \"docid\": \"6f83634d25e201b46e330a0ede9673c4\",\n \"score\": \"0.6941583\",\n \"text\": \"private static final Bitmap storeThumbnail(\\n ContentResolver cr,\\n Bitmap source,\\n long id,\\n float width,\\n float height,\\n int kind) {\\n\\n // create the matrix to scale it\\n Matrix matrix = new Matrix();\\n\\n float scaleX = width / source.getWidth();\\n float scaleY = height / source.getHeight();\\n\\n matrix.setScale(scaleX, scaleY);\\n\\n Bitmap thumb = Bitmap.createBitmap(source, 0, 0,\\n source.getWidth(),\\n source.getHeight(), matrix,\\n true\\n );\\n\\n ContentValues values = new ContentValues(4);\\n values.put(MediaStore.Images.Thumbnails.KIND, kind);\\n values.put(MediaStore.Images.Thumbnails.IMAGE_ID, (int) id);\\n values.put(MediaStore.Images.Thumbnails.HEIGHT, thumb.getHeight());\\n values.put(MediaStore.Images.Thumbnails.WIDTH, thumb.getWidth());\\n\\n Uri url = cr.insert(MediaStore.Images.Thumbnails.EXTERNAL_CONTENT_URI, values);\\n\\n try {\\n OutputStream thumbOut = cr.openOutputStream(url);\\n thumb.compress(Bitmap.CompressFormat.JPEG, 100, thumbOut);\\n thumbOut.close();\\n return thumb;\\n } catch (FileNotFoundException ex) {\\n return null;\\n } catch (IOException ex) {\\n return null;\\n }\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"cff8b8c87787ce6e7a7eb4baf0b7116a","score":"0.6162094","text":"private void dispatchTakeThumbnailIntent() {\n Log.i(LOG, \"dispatchTakeThumbnailIntent()\");\n Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);\n if (takePictureIntent.resolveActivity(getPackageManager()) != null) {\n startActivityForResult(takePictureIntent, REQUEST_THUMBNAIL_CAPTURE);\n }\n }","title":""},{"docid":"982c62493ef5f1a93f4d462d179e0dfe","score":"0.61356246","text":"@Override\n\tpublic FileInfo createThumbnail(FileInfo media) throws Exception{\n\t\tFile output = File.createTempFile(\"weaktie_\", \".tmp\");\n\t\tif(MediaType.IMAGE==media.getMediaType()) {\n\t\t\tBufferedImage image = ImageIO.read(media.getFile());\n\t\t\tBufferedImage resizedImage = new BufferedImage(50, 50, BufferedImage.TYPE_3BYTE_BGR);\n\t\t\tGraphics2D g = resizedImage.createGraphics();\n\t\t\tg.drawImage(image, 0, 0, 50, 50, null);\n\t\t\tg.dispose();\n\t\t\tg.setComposite(AlphaComposite.Src);\n\t\t\tg.setRenderingHint(RenderingHints.KEY_INTERPOLATION,RenderingHints.VALUE_INTERPOLATION_BILINEAR);\n\t\t\tg.setRenderingHint(RenderingHints.KEY_RENDERING,RenderingHints.VALUE_RENDER_QUALITY);\n\t\t\tg.setRenderingHint(RenderingHints.KEY_ANTIALIASING,RenderingHints.VALUE_ANTIALIAS_ON);\n\t\t\tImageIO.write(resizedImage, \"jpg\", output);\n\t\t\tFileInfo info = new FileInfo();\n\t\t\tinfo.setContentType(\"image/jpeg\");\n\t\t\tinfo.setFile(output);\n\t\t\tif(media.getFileName()!=null) {\n\t\t\t\tinfo.setFileName(media.getFileName().replace(\".\", \"_\")+\".jpg\");\n\t\t\t}else {\n\t\t\t\tinfo.setFileName(DigestUtils.md5Hex(output.getPath())+\".jpg\");\n\t\t\t}\n\t\t\tinfo.setMediaType(media.getMediaType());\n\t\t\treturn info;\n\t\t}\n\t\treturn null;\n\t}","title":""},{"docid":"cc060bd94e3418e892e7d3b65e9a0fb7","score":"0.60729396","text":"public Bitmap getThumbnail() {\n return mThumbnail;\n }","title":""},{"docid":"fb08f6931c65390d568ee424757a782a","score":"0.6061165","text":"public Image getThumbnailImage(AbstractDataset set, int size) throws Exception;","title":""},{"docid":"04a93904189e150b50a251bf5de5e0ba","score":"0.6060092","text":"private Uri getImageURI(Context context, Bitmap thumbnail) {\n String path=null;\n try {\n\n ByteArrayOutputStream bytes = new ByteArrayOutputStream();\n thumbnail.compress(Bitmap.CompressFormat.JPEG, 70, bytes);\n path = MediaStore.Images.Media.insertImage(context.getContentResolver(), thumbnail, \"title\", null);\n\n } catch (Exception e) {\n Toast.makeText(this.getContext(),\"ERROR : \" + e.getMessage(), Toast.LENGTH_LONG).show();\n }\n return Uri.parse(path);\n }","title":""},{"docid":"9df56a0c3b6ecd4e6db2b2acfe784b48","score":"0.59696543","text":"private void generateThumbnail() {\n\t\tFileOutputStream stream;\n\t\ttry {\n\t\t\tstream = new FileOutputStream(thumbnailFilepath);\n\t\t\tBitmap bitmap = ThumbnailUtils.createVideoThumbnail(mediaFile.getAbsolutePath(), MediaStore.Video.Thumbnails.MINI_KIND);\n\t\t\tbitmap.compress(Bitmap.CompressFormat.JPEG, 100, stream); // 100 is highest quality\n\t\t\tLog.d(TAG, \"jpeg generated!!!\");\n\t\t} catch (FileNotFoundException e) {\n\t\t\tLog.d(TAG, \"ApiError creating FileOutputStream.\");\n\t\t\te.printStackTrace();\n\t\t}\n\t}","title":""},{"docid":"0b118b33618e82997a35137f841f2e95","score":"0.59529245","text":"public Image createImage(AbstractDataset thumb) throws Exception;","title":""},{"docid":"ada22e084b8d4355368fbbb310099acf","score":"0.5921991","text":"@Override\n public void onActivityResult(int requestCode, int resultCode, Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n if (requestCode==0) {\n if (resultCode == RESULT_OK) {\n imageViewLink = data.getData();\n imageView.setImageURI(imageViewLink);\n }\n }else {\n\n if (resultCode == RESULT_OK) {\n try {\n Bitmap thumbnail = (Bitmap) data.getExtras().get(\"data\");\n // save capture picture to internal storage and get the Uri\n imageViewLink = getImageURI(this.getContext(), thumbnail);\n imageView.setImageURI(imageViewLink);\n } catch (Exception e) {\n Toast.makeText(getContext(), \"eEEee\" + e.getMessage(), Toast.LENGTH_LONG).show();\n }\n }\n }\n\n }","title":""},{"docid":"da4a728b7a91e88564c6cd2b6f6fc3bf","score":"0.58908844","text":"private static final String insertImage(ContentResolver cr, Bitmap source,\n\t String title, String description) {\n\t ContentValues values = new ContentValues();\n\t values.put(Media.TITLE, title);\n\t values.put(Images.Media.DATE_TAKEN, System.currentTimeMillis());\n\t values.put(Images.Media.MIME_TYPE, \"image/jpeg\");\n\t Uri uri = null;\n\t String stringUrl = null; /* value to be returned */\n\t try {\n\t uri = cr.insert(Images.Media.EXTERNAL_CONTENT_URI, values);\n\n\t if (source != null) {\n\t OutputStream imageOut = cr.openOutputStream(uri);\n\n\t try {\n\t source.compress(Bitmap.CompressFormat.JPEG, 100, imageOut);\n\t } finally { \n\t imageOut.close();\n\t }\n\n\t long id = ContentUris.parseId(uri);\n\t // Wait until MINI_KIND thumbnail is generated.\n\t Bitmap miniThumb = Images.Thumbnails.getThumbnail(cr, id,\n\t Images.Thumbnails.MINI_KIND, null);\n\t } else {\n\t cr.delete(uri, null, null);\n\t uri = null;\n\t }\n\t } catch (Exception e) {\n\t if (uri != null) {\n\t cr.delete(uri, null, null);\n\t uri = null;\n\t }\n\t }\n\t if (uri != null) {\n\t stringUrl = uri.toString();\n\t }\n\t return stringUrl;\n\t}","title":""},{"docid":"d41e354f04ff1ca6a62019e66de22935","score":"0.5861685","text":"@Override\n protected void onActivityResult(int requestCode, int resultCode, Intent data) {\n Log.i(LOG, \"onActivityResult()\");\n if(resultCode == RESULT_OK) {\n if (requestCode == REQUEST_IMAGE_CAPTURE) {\n Log.i(LOG, \"REQUEST_IMAGE_CAPTURE\");\n // get the URI of the file\n image = new File(mCurrentPhotoPath);\n Uri contentUri = Uri.fromFile(image);\n // upload image\n imageName = uploadImage(this, contentUri);\n } else if(requestCode == REQUEST_THUMBNAIL_CAPTURE) {\n Log.i(LOG, \"REQUEST_THUMBNAIL_CAPTURE\");\n // get Bitmap of thumbnail\n Bundle extras = data.getExtras();\n thumbnail = (Bitmap) extras.get(\"data\");\n // upload thumbnail\n thumbnailName = uploadThumbnail(this, thumbnail);\n }\n } else {\n Log.i(LOG, \"Image/Thumbnail Capture failure\");\n utility.toast(this, \"Image Capture failure\");\n }\n }","title":""},{"docid":"0e496d0819467e5a8ba523e7e125d882","score":"0.5837736","text":"public static final String insertImage(ContentResolver cr,\n Bitmap source,\n String title,\n String description) {\n\n ContentValues values = new ContentValues();\n values.put(MediaStore.Images.Media.TITLE, title);\n values.put(MediaStore.Images.Media.DISPLAY_NAME, title);\n values.put(MediaStore.Images.Media.DESCRIPTION, description);\n values.put(MediaStore.Images.Media.MIME_TYPE, \"image/jpeg\");\n // Add the date meta data to ensure the image is added at the front of the gallery\n values.put(MediaStore.Images.Media.DATE_ADDED, System.currentTimeMillis());\n values.put(MediaStore.Images.Media.DATE_TAKEN, System.currentTimeMillis());\n\n Uri url = null;\n String stringUrl = null; /* value to be returned */\n\n try {\n url = cr.insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values);\n\n if (source != null) {\n OutputStream imageOut = cr.openOutputStream(url);\n try {\n source.compress(Bitmap.CompressFormat.JPEG, 100, imageOut);\n } finally {\n imageOut.close();\n }\n\n long id = ContentUris.parseId(url);\n // Wait until MINI_KIND thumbnail is generated.\n Bitmap miniThumb = MediaStore.Images.Thumbnails.getThumbnail(cr, id, MediaStore.Images.Thumbnails.MINI_KIND, null);\n // This is for backward compatibility.\n storeThumbnail(cr, miniThumb, id, 50F, 50F, MediaStore.Images.Thumbnails.MICRO_KIND);\n } else {\n cr.delete(url, null, null);\n url = null;\n }\n } catch (Exception e) {\n if (url != null) {\n cr.delete(url, null, null);\n url = null;\n }\n }\n\n if (url != null) {\n stringUrl = url.toString();\n }\n\n return stringUrl;\n }","title":""},{"docid":"cf080ee0130cb8576915abe32826e5bf","score":"0.5812664","text":"String getThumbnail();","title":""},{"docid":"21da087ba78cb36bbde50281a5c4cf2c","score":"0.57977194","text":"void setThumbnail(String thumbnail);","title":""},{"docid":"0492af1a65ef3d3b5da4439a28c619a2","score":"0.57880557","text":"public ImageView getThumbnail() {\n\t\treturn new ImageView(new Image(getPhotoURL(), 150, 150, true, true));\n\t}","title":""},{"docid":"55cc87e2e5b98ae9fcb73f2ff1a7f21b","score":"0.57230383","text":"public String createThumbnailForImage(String imagePath) {\n if (TextUtils.isEmpty(imagePath)) {\n return null;\n }\n File inFile = new File(imagePath);\n if (!inFile.exists()) {\n return null;\n }\n File thumbnailFile = randomPath(imagePath);\n if (thumbnailFile.exists()) {\n return thumbnailFile.getAbsolutePath();\n }\n Bitmap inBitmap = readImageFromPath(imagePath, THUMBNAIL_SIZE, THUMBNAIL_SIZE);\n if (inBitmap == null) {\n return null;\n }\n ByteArrayOutputStream compressStream = new ByteArrayOutputStream();\n inBitmap.compress(Bitmap.CompressFormat.JPEG, THUMBNAIL_QUALITY, compressStream);\n try {\n compressStream.close();\n thumbnailFile.createNewFile();\n FileOutputStream writeStream = new FileOutputStream(thumbnailFile);\n writeStream.write(compressStream.toByteArray());\n writeStream.flush();\n writeStream.close();\n return thumbnailFile.getAbsolutePath();\n } catch (Exception ignored) {\n return null;\n }\n }","title":""},{"docid":"5c544e0baa0991dff454fb1830c448cd","score":"0.5653177","text":"void setThumbnail(String path);","title":""},{"docid":"e6b36ee1afd1c0ad9f164d36eac09f3a","score":"0.55926794","text":"private void setPreviewThumbnails() {\n Release currentRelease;\n\n if (mUserCollectionDB.getReleases().size() > 0) {\n mCollectionLinearLayout.removeAllViews();\n int previewsToLoad = 10;\n if (mUserCollectionDB.getReleases().size() < 10) {\n previewsToLoad = mUserCollectionDB.getReleases().size();\n }\n for (int i = 0; i < previewsToLoad; i++) {\n currentRelease = mUserCollectionDB.getReleases().get(i);\n ImageView imageView = new ImageView(getContext());\n imageView.setPadding(2, 2, 2, 2);\n LinearLayout.LayoutParams parms = new LinearLayout.LayoutParams(300, 300);\n imageView.setLayoutParams(parms);\n\n if (!currentRelease.getThumbUrl().equals(\"\")) {\n if (currentRelease.getThumbDir().equals(\"\")) {\n DownloadPreviewThumbnail(\"Collection\", i, currentRelease.getReleaseId(), imageView);\n } else {\n imageView.setImageBitmap(BitmapFactory.decodeFile(currentRelease.getThumbDir()));\n final Release finalCurrentRelease = currentRelease;\n imageView.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n Intent intent = ReleaseActivity.newIntent(getActivity(),\n finalCurrentRelease.getId(), \"Collection\");\n startActivity(intent);\n }\n });\n mCollectionLinearLayout.addView(imageView);\n }\n } else {\n currentRelease.setThumbUrl(\"local\");\n Bitmap blankAlbumBitmap = BitmapFactory.decodeResource(getResources(), R.drawable.album_blank);\n // path to /data/data/yourapp/app_data/imageDir\n ContextWrapper cw = new ContextWrapper(getContext());\n\n String thumbDir = \"CollectionCovers\";\n File directory = cw.getDir(thumbDir, Context.MODE_PRIVATE);\n\n // Create imageDir\n File filePath = new File(directory, \"release_\" +\n currentRelease.getReleaseId() + \"_cover.jpeg\");\n\n FileOutputStream fos = null;\n try {\n fos = new FileOutputStream(filePath);\n blankAlbumBitmap.compress(Bitmap.CompressFormat.JPEG, 100, fos);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n } finally {\n try {\n if (fos != null) {\n fos.close();\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n currentRelease.setThumbDir(filePath.getAbsolutePath());\n mUserCollectionDB.updateRelease(currentRelease);\n\n imageView.setImageBitmap(blankAlbumBitmap);\n final Release finalCurrentRelease = currentRelease;\n imageView.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n Intent intent = ReleaseActivity.newIntent(getActivity(),\n finalCurrentRelease.getId(), \"Collection\");\n startActivity(intent);\n }\n });\n mCollectionLinearLayout.addView(imageView);\n }\n }\n Log.i(\"Preview Load\", \"Loaded \" + previewsToLoad + \" Collection previews from setPreviewThumbnails Loop\");\n } else {\n mCollectionLinearLayout.removeAllViews();\n TextView emptyMessageTextView = (TextView) getActivity()\n .getLayoutInflater().inflate(R.layout.list_empty_list_text_view, null);\n String emptyMessageString = \"Collection is Empty\";\n emptyMessageTextView.setText(emptyMessageString);\n mCollectionLinearLayout.addView(emptyMessageTextView);\n }\n\n\n if (mUserWantlistDB.getReleases().size() > 0) {\n mWantlistLinearLayout.removeAllViews();\n int previewsToLoad = 10;\n if (mUserWantlistDB.getReleases().size() < 10) {\n previewsToLoad = mUserWantlistDB.getReleases().size();\n }\n for (int i = 0; i < previewsToLoad; i++) {\n currentRelease = mUserWantlistDB.getReleases().get(i);\n ImageView imageView = new ImageView(getContext());\n imageView.setPadding(2, 2, 2, 2);\n LinearLayout.LayoutParams parms = new LinearLayout.LayoutParams(300, 300);\n imageView.setLayoutParams(parms);\n\n if (!currentRelease.getThumbUrl().equals(\"\")) {\n if (currentRelease.getThumbDir().equals(\"\")) {\n DownloadPreviewThumbnail(\"Wantlist\", i, currentRelease.getReleaseId(), imageView);\n } else {\n imageView.setImageBitmap(BitmapFactory.decodeFile(currentRelease.getThumbDir()));\n final Release finalCurrentRelease = currentRelease;\n imageView.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n Intent intent = ReleaseActivity.newIntent(getActivity(),\n finalCurrentRelease.getId(), \"Wantlist\");\n startActivity(intent);\n }\n });\n mWantlistLinearLayout.addView(imageView);\n }\n } else {\n currentRelease.setThumbUrl(\"local\");\n Bitmap blankAlbumBitmap = BitmapFactory.decodeResource(getResources(), R.drawable.album_blank);\n // path to /data/data/yourapp/app_data/imageDir\n ContextWrapper cw = new ContextWrapper(getContext());\n\n String thumbDir = \"WantlistCovers\";\n File directory = cw.getDir(thumbDir, Context.MODE_PRIVATE);\n\n // Create imageDir\n File filePath = new File(directory, \"release_\" +\n currentRelease.getReleaseId() + \"_cover.jpeg\");\n\n FileOutputStream fos = null;\n try {\n fos = new FileOutputStream(filePath);\n blankAlbumBitmap.compress(Bitmap.CompressFormat.JPEG, 100, fos);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n } finally {\n try {\n if (fos != null) {\n fos.close();\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n currentRelease.setThumbDir(filePath.getAbsolutePath());\n mUserWantlistDB.updateRelease(currentRelease);\n\n imageView.setImageBitmap(blankAlbumBitmap);\n final Release finalCurrentRelease = currentRelease;\n imageView.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n Intent intent = ReleaseActivity.newIntent(getActivity(),\n finalCurrentRelease.getId(), \"Wantlist\");\n startActivity(intent);\n }\n });\n mWantlistLinearLayout.addView(imageView);\n }\n }\n Log.i(\"Preview Load\", \"Loaded \" + previewsToLoad + \" Wantlist previews from setPreviewThumbnails Loop\");\n } else {\n mWantlistLinearLayout.removeAllViews();\n TextView emptyMessageTextView = (TextView) getActivity()\n .getLayoutInflater().inflate(R.layout.list_empty_list_text_view, null);\n String emptyMessageString = \"Wantlist is Empty\";\n emptyMessageTextView.setText(emptyMessageString);\n mWantlistLinearLayout.addView(emptyMessageTextView);\n\n// LinearLayout.LayoutParams layoutParams =\n// (LinearLayout.LayoutParams) emptyMessageTextView.getLayoutParams();\n// layoutParams.weight = 1.0f;\n// layoutParams.gravity = Gravity.CENTER;\n// emptyMessageTextView.setLayoutParams(layoutParams);\n }\n }","title":""},{"docid":"c1cfb9809904510ad2b3971d2c8bb0d4","score":"0.5577634","text":"public byte[] getThumbnail()\n {\n return this.thumbnail;\n }","title":""},{"docid":"2c3857316b1b903b967d53afb5a04c26","score":"0.5575989","text":"public String getThumbnail()\n {\n return thumbnail;\n }","title":""},{"docid":"abb40546fd24a398d4d00bb40b8f3d8d","score":"0.5556565","text":"private BufferedImage createThumbnail(BufferedImage image) throws Exception {\n\t\treturn scale(image, 0.2);\n\t}","title":""},{"docid":"2fdc1ec8c3f4bc0350b576a82b869e0e","score":"0.5545297","text":"public void saveImage()\n {\n String fileName = \"ETCH_A_SKETCH\" + currentTimeMillis();\n\n // configure new image's data setting empty ContentValues (adds a key-value pair to ContentValues object)\n ContentValues values = new ContentValues();\n values.put(MediaStore.Images.Media.TITLE, fileName); // specify file name\n values.put(MediaStore.Images.Media.DATE_ADDED, currentTimeMillis()); // specify when it was saved\n values.put(MediaStore.Images.Media.MIME_TYPE, \"image/jpg\"); // specify its type\n\n // calls its insert method to get a Uniform Resource Identifier where the image will be stored\n Uri uri = getContext().getContentResolver().insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values);\n\n try\n {\n // get an output stream to URI\n OutputStream outStream = getContext().getContentResolver().openOutputStream(uri);\n\n // copy bitmap to OutputStream without loss of quality\n bitmap.compress(Bitmap.CompressFormat.JPEG, 100, outStream);\n\n // force data to be written\n outStream.flush();\n // further write() or flush() invocations will cause an IOException\n outStream.close();\n\n // if file was saved successfully, use a Toast to indicate this\n Toast message = Toast.makeText(getContext(), R.string.message_saved, Toast.LENGTH_SHORT);\n message.setGravity(Gravity.CENTER, message.getXOffset() / 2, message.getYOffset() / 2);\n message.show();\n }\n\n // if something went wrong, show error message\n catch (FileNotFoundException e)\n {\n e.printStackTrace();\n\n Toast message = Toast.makeText(getContext(), R.string.message_error, Toast.LENGTH_SHORT);\n message.setGravity(Gravity.CENTER, message.getXOffset() / 2, message.getYOffset() / 2);\n message.show();\n }\n\n catch (IOException e)\n {\n e.printStackTrace();\n\n Toast message = Toast.makeText(getContext(), R.string.message_error, Toast.LENGTH_SHORT);\n message.setGravity(Gravity.CENTER, message.getXOffset() / 2, message.getYOffset() / 2);\n message.show();\n }\n }","title":""},{"docid":"917e649ddeee33aa633b0510ef1457ea","score":"0.55119056","text":"private void setThumbnailImage(ListingDetailsViewHolder holder) {\n ListingDetails item = holder.mItem;\n String imageURL = getImageURL(item, 0);\n if (!imageURL.isEmpty()) {\n Log.i(TAG, \"Loading image \" + imageURL);\n Picasso.get().load(imageURL).resize(holder.mThumbnailView.getWidth(),500).centerCrop().into(holder.mThumbnailView);\n }\n }","title":""},{"docid":"f901afcc473ae507c626f3740d600491","score":"0.54684246","text":"void onCompletedLoadSongThumbnail(Bitmap thumbnailImage);","title":""},{"docid":"75c80cad3409415f8e10ae8cb5c42a18","score":"0.54608345","text":"public void setThumbnail(@Nullable ThumbnailData thumbnailData) {\n mThumbnailDrawable.setCurrentDrawable(getSafeThumbnail(thumbnailData));\n }","title":""},{"docid":"b706cb111942c38c478360fff1f55828","score":"0.5429891","text":"@Override\n protected Bitmap doInBackground(ArtistInfo... params) {\n String CACHE_ART_THUMBS = MyApp.getContext().getCacheDir() + \"/art_thumbs/\";\n String actual_file_path = CACHE_ART_THUMBS + params[0].getOriginalArtist();\n File f = new File(CACHE_ART_THUMBS);\n if (!f.exists()) {\n f.mkdir();\n }\n if (!new File(actual_file_path).exists()) {\n //create file\n FileOutputStream fos = null;\n try {\n fos = new FileOutputStream(new File(actual_file_path));\n URL url = new URL(params[0].getImageUrl());\n InputStream inputStream = url.openConnection().getInputStream();\n byte[] buffer = new byte[1024];\n int bufferLength = 0;\n while ((bufferLength = inputStream.read(buffer)) > 0) {\n fos.write(buffer, 0, bufferLength);\n }\n fos.close();\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n }\n\n b = BitmapFactory.decodeFile(actual_file_path);\n return b;\n }","title":""},{"docid":"a49ec7dac12cd7288f128f0257b7429c","score":"0.5417286","text":"public static android.graphics.Bitmap createAudioThumbnail(java.io.File r9, android.util.Size r10, android.os.CancellationSignal r11) throws java.io.IOException {\r\n /*\r\n if (r11 == 0) goto L_0x0005;\r\n L_0x0002:\r\n r11.throwIfCanceled();\r\n L_0x0005:\r\n r0 = new android.media.ThumbnailUtils$Resizer;\r\n r0.(r10, r11);\r\n r1 = new android.media.MediaMetadataRetriever;\t Catch:{ RuntimeException -> 0x00c1 }\r\n r1.();\t Catch:{ RuntimeException -> 0x00c1 }\r\n r2 = r9.getAbsolutePath();\t Catch:{ all -> 0x00ba }\r\n r1.setDataSource(r2);\t Catch:{ all -> 0x00ba }\r\n r2 = r1.getEmbeddedPicture();\t Catch:{ all -> 0x00ba }\r\n r3 = 0;\r\n if (r2 == 0) goto L_0x0029;\r\n L_0x001d:\r\n r4 = android.graphics.ImageDecoder.createSource(r2);\t Catch:{ all -> 0x00ba }\r\n r4 = android.graphics.ImageDecoder.decodeBitmap(r4, r0);\t Catch:{ all -> 0x00ba }\r\n $closeResource(r3, r1);\t Catch:{ RuntimeException -> 0x00c1 }\r\n return r4;\r\n L_0x0029:\r\n $closeResource(r3, r1);\t Catch:{ RuntimeException -> 0x00c1 }\r\n r1 = android.os.Environment.getExternalStorageState(r9);\r\n r2 = \"unknown\";\r\n r1 = r2.equals(r1);\r\n if (r1 != 0) goto L_0x00b2;\r\n L_0x003a:\r\n r1 = r9.getParentFile();\r\n if (r1 == 0) goto L_0x0045;\r\n L_0x0040:\r\n r4 = r1.getParentFile();\r\n goto L_0x0046;\r\n L_0x0045:\r\n r4 = r3;\r\n L_0x0046:\r\n if (r1 == 0) goto L_0x005d;\r\n L_0x0048:\r\n r5 = r1.getName();\r\n r6 = android.os.Environment.DIRECTORY_DOWNLOADS;\r\n r5 = r5.equals(r6);\r\n if (r5 != 0) goto L_0x0055;\r\n L_0x0054:\r\n goto L_0x005d;\r\n L_0x0055:\r\n r2 = new java.io.IOException;\r\n r3 = \"No thumbnails in Downloads directories\";\r\n r2.(r3);\r\n throw r2;\r\n L_0x005d:\r\n if (r4 == 0) goto L_0x0072;\r\n L_0x005f:\r\n r5 = android.os.Environment.getExternalStorageState(r4);\r\n r2 = r2.equals(r5);\r\n if (r2 != 0) goto L_0x006a;\r\n L_0x0069:\r\n goto L_0x0072;\r\n L_0x006a:\r\n r2 = new java.io.IOException;\r\n r3 = \"No thumbnails in top-level directories\";\r\n r2.(r3);\r\n throw r2;\r\n r2 = r9.getParentFile();\r\n r5 = android.media.-$$Lambda$ThumbnailUtils$P13h9YbyD69p6ss1gYpoef43_MU.INSTANCE;\r\n r2 = r2.listFiles(r5);\r\n r2 = com.android.internal.util.ArrayUtils.defeatNullable(r2);\r\n r5 = android.media.-$$Lambda$ThumbnailUtils$qOH5vebuTwPi2G92PTa6rgwKGoc.INSTANCE;\r\n r6 = new android.media.-$$Lambda$ThumbnailUtils$HhGKNQZck57eO__Paj6KyQm6lCk;\r\n r6.(r5);\r\n r7 = java.util.Arrays.asList(r2);\r\n r7 = r7.stream();\r\n r7 = r7.max(r6);\r\n r3 = r7.orElse(r3);\r\n r3 = (java.io.File) r3;\r\n if (r3 == 0) goto L_0x00aa;\r\n L_0x009c:\r\n if (r11 == 0) goto L_0x00a1;\r\n L_0x009e:\r\n r11.throwIfCanceled();\r\n L_0x00a1:\r\n r7 = android.graphics.ImageDecoder.createSource(r3);\r\n r7 = android.graphics.ImageDecoder.decodeBitmap(r7, r0);\r\n return r7;\r\n L_0x00aa:\r\n r7 = new java.io.IOException;\r\n r8 = \"No album art found\";\r\n r7.(r8);\r\n throw r7;\r\n L_0x00b2:\r\n r1 = new java.io.IOException;\r\n r2 = \"No embedded album art found\";\r\n r1.(r2);\r\n throw r1;\r\n L_0x00ba:\r\n r2 = move-exception;\r\n throw r2;\t Catch:{ all -> 0x00bc }\r\n L_0x00bc:\r\n r3 = move-exception;\r\n $closeResource(r2, r1);\t Catch:{ RuntimeException -> 0x00c1 }\r\n throw r3;\t Catch:{ RuntimeException -> 0x00c1 }\r\n L_0x00c1:\r\n r1 = move-exception;\r\n r2 = new java.io.IOException;\r\n r3 = \"Failed to create thumbnail\";\r\n r2.(r3, r1);\r\n throw r2;\r\n */\r\n throw new UnsupportedOperationException(\"Method not decompiled: android.media.ThumbnailUtils.createAudioThumbnail(java.io.File, android.util.Size, android.os.CancellationSignal):android.graphics.Bitmap\");\r\n }","title":""},{"docid":"1f217b70e17302a95fab58643366977e","score":"0.54111844","text":"private void onCaptureImageResult(Intent data) {\n try {\n //bitmap1 = (Bitmap) data.getExtras().get(\"data\");\n// ByteArrayOutputStream bytes = new ByteArrayOutputStream();\n// bitmap1.compress(Bitmap.CompressFormat.JPEG, 90, bytes);\n bitmap1 = MediaStore.Images.Media.getBitmap(getContentResolver(), imageUri);\n takePictureReportAccidentFormImageView.setVisibility(View.VISIBLE);\n takePictureReportAccidentFormImageView.setImageBitmap(bitmap1);\n Long tsLong = System.currentTimeMillis() / 1000;\n timestamp1 = tsLong.toString();\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n\n\n// String root = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES).toString();\n// File myDir = new File(root + \"/TLC\");\n// myDir.mkdirs();\n// Random generator = new Random();\n// int n = 10000;\n// n = generator.nextInt(n);\n// fname = \"Image-\" + n + \".jpg\";\n// File file = new File(myDir, fname);\n// if (file.exists())\n// file.delete();\n// try {\n// FileOutputStream out = new FileOutputStream(file);\n// thumbnail.compress(Bitmap.CompressFormat.JPEG, 100, out);\n// out.flush();\n// out.close();\n// }\n// catch (Exception e) {\n// e.printStackTrace();\n// }\n\n\n// Tell the media scanner about the new file so that it is\n// immediately available to the user.\n// MediaScannerConnection.scanFile(this, new String[] { file.toString() }, null,\n// new MediaScannerConnection.OnScanCompletedListener() {\n // public void onScanCompleted(String path, Uri uri) {\n// Log.i(\"ExternalStorage\", \"Scanned \" + path + \":\");\n// Log.i(\"ExternalStorage\", \"-> uri=\" + uri);\n// }\n// });\n//\n// Imagepath = \"/Pictures/TLC/\"+fname;\n// Log.d(\"afdff\", \"onCaptureImageResult: \"+Imagepath);\n\n// File destination = new File(Environment.getExternalStorageDirectory(),\n// System.currentTimeMillis() + \".jpg\");\n// FileOutputStream fo;\n// try {\n// destination.createNewFile();\n// fo = new FileOutputStream(destination);\n// fo.write(bytes.toByteArray());\n// fo.close();\n// } catch (FileNotFoundException e) {\n// e.printStackTrace();\n// } catch (IOException e) {\n// e.printStackTrace();\n// }\n// Toast.makeText(this, \"image save successfully\", Toast.LENGTH_SHORT).show();\n\n\n //Toast.makeText(getApplicationContext(),\"take\"+timestamp1,Toast.LENGTH_SHORT).show();\n\n// takePictureReportAccidentFormImageView.setVisibility(View.VISIBLE);\n//\n// takePictureReportAccidentFormImageView.setImageBitmap(thumbnail);\n\n\n\n }","title":""},{"docid":"3c90f1b837b3b14816dac9c94ecdd99c","score":"0.54078835","text":"public int getThumbnail(java.lang.String r19, int r20) {\n /*\n r18 = this;\n r17 = 0;\n r2 = new java.lang.StringBuilder;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r2.();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4 = mcontext;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4 = r4.getFilesDir();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4 = r4.getParent();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r2 = r2.append(r4);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4 = \"/test_thumb_img.jpg\";\n r2 = r2.append(r4);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r16 = r2.toString();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r2 = 1;\n r0 = r20;\n if (r0 != r2) goto L_0x013d;\n L_0x0024:\n r2 = \"MTPJNIInterface\";\n r4 = new java.lang.StringBuilder;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4.();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r5 = \"inside getThumbnail for images for \";\n r4 = r4.append(r5);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r0 = r19;\n r4 = r4.append(r0);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4 = r4.toString();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n MTP_LOG_PRINT(r2, r4);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r15 = r18.getImageThumbBitmap(r19);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n if (r15 == 0) goto L_0x0090;\n L_0x0045:\n r9 = new java.io.ByteArrayOutputStream;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r9.();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r2 = android.graphics.Bitmap.CompressFormat.JPEG;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4 = 60;\n r15.compress(r2, r4, r9);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r8 = r9.toByteArray();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r0 = r8.length;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r17 = r0;\n r13 = new java.io.FileOutputStream;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r0 = r16;\n r13.(r0);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r13.write(r8);\t Catch:{ Exception -> 0x0084, OutOfMemoryError -> 0x00de }\n r13.close();\t Catch:{ Exception -> 0x0084, OutOfMemoryError -> 0x00de }\n L_0x0065:\n r15.recycle();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n L_0x0068:\n r2 = \"MTPJNIInterface\";\n r4 = new java.lang.StringBuilder;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4.();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r5 = \"image's thumb size is \";\n r4 = r4.append(r5);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r0 = r17;\n r4 = r4.append(r0);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4 = r4.toString();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n MTP_LOG_PRINT(r2, r4);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n L_0x0083:\n return r17;\n L_0x0084:\n r12 = move-exception;\n r13.close();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n goto L_0x0065;\n L_0x0089:\n r12 = move-exception;\n r12.printStackTrace();\n r17 = 0;\n goto L_0x0083;\n L_0x0090:\n r2 = \"MTPJNIInterface\";\n r4 = new java.lang.StringBuilder;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4.();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r5 = \"Image's bitmap is coming null try from MediaStore's API \";\n r4 = r4.append(r5);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r0 = r19;\n r4 = r4.append(r0);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4 = r4.toString();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n android.util.Log.e(r2, r4);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r3 = android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r2 = mcontext;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r2 = r2.getContentResolver();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4 = 0;\n r5 = new java.lang.StringBuilder;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r5.();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r6 = \"_data =\\\"\";\n r5 = r5.append(r6);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r0 = r19;\n r5 = r5.append(r0);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r6 = \"\\\"\";\n r5 = r5.append(r6);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r5 = r5.toString();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r6 = 0;\n r7 = 0;\n r11 = r2.query(r3, r4, r5, r6, r7);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n if (r11 != 0) goto L_0x00e2;\n L_0x00d6:\n r2 = \"MTPJNIInterface\";\n r4 = \"Cur is null\";\n android.util.Log.e(r2, r4);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n goto L_0x0083;\n L_0x00de:\n r12 = move-exception;\n r17 = 0;\n goto L_0x0083;\n L_0x00e2:\n r10 = r11.getCount();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r14 = 0;\n if (r10 != 0) goto L_0x00f4;\n L_0x00e9:\n r2 = \"MTPJNIInterface\";\n r4 = \"Count is zero\";\n android.util.Log.e(r2, r4);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r11.close();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n goto L_0x0083;\n L_0x00f4:\n r11.moveToFirst();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r2 = \"_id\";\n r2 = r11.getColumnIndex(r2);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r14 = r11.getInt(r2);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r11.close();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r2 = mcontext;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r2 = r2.getContentResolver();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4 = (long) r14;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r6 = 1;\n r7 = 0;\n r15 = android.provider.MediaStore.Images.Thumbnails.getThumbnail(r2, r4, r6, r7);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n if (r15 == 0) goto L_0x0068;\n L_0x0113:\n r9 = new java.io.ByteArrayOutputStream;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r9.();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r2 = android.graphics.Bitmap.CompressFormat.JPEG;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4 = 60;\n r15.compress(r2, r4, r9);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r8 = r9.toByteArray();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r0 = r8.length;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r17 = r0;\n r13 = new java.io.FileOutputStream;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r0 = r16;\n r13.(r0);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r13.write(r8);\t Catch:{ Exception -> 0x0138, OutOfMemoryError -> 0x00de }\n r13.close();\t Catch:{ Exception -> 0x0138, OutOfMemoryError -> 0x00de }\n L_0x0133:\n r15.recycle();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n goto L_0x0068;\n L_0x0138:\n r12 = move-exception;\n r13.close();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n goto L_0x0133;\n L_0x013d:\n r2 = 2;\n r0 = r20;\n if (r0 != r2) goto L_0x0083;\n L_0x0142:\n r15 = r18.getVideoThumbBitmap(r19);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n if (r15 == 0) goto L_0x0189;\n L_0x0148:\n r9 = new java.io.ByteArrayOutputStream;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r9.();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r2 = android.graphics.Bitmap.CompressFormat.JPEG;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4 = 60;\n r15.compress(r2, r4, r9);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r8 = r9.toByteArray();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r0 = r8.length;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r17 = r0;\n r2 = \"MTPJNIInterface\";\n r4 = new java.lang.StringBuilder;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4.();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r5 = \"Videos's thumbnail size is \";\n r4 = r4.append(r5);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r5 = r8.length;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4 = r4.append(r5);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4 = r4.toString();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n MTP_LOG_PRINT(r2, r4);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r13 = new java.io.FileOutputStream;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r0 = r16;\n r13.(r0);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r13.write(r8);\t Catch:{ Exception -> 0x0183, OutOfMemoryError -> 0x00de }\n r13.close();\t Catch:{ Exception -> 0x0183, OutOfMemoryError -> 0x00de }\n goto L_0x0083;\n L_0x0183:\n r12 = move-exception;\n r13.close();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n goto L_0x0083;\n L_0x0189:\n r2 = \"MTPJNIInterface\";\n r4 = \"Video's bitmap is coming null\";\n android.util.Log.e(r2, r4);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n goto L_0x0083;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.mtp.MTPJNIInterface.getThumbnail(java.lang.String, int):int\");\n }","title":""},{"docid":"8de1f1b9196abcc2415343813129577e","score":"0.54071426","text":"public boolean onCreateThumbnail (Bitmap b, Canvas c) {\n b.eraseColor(Color.BLACK);\n return true;\n }","title":""},{"docid":"90659114b69c680c4a875acea2b6cb83","score":"0.5387585","text":"private void generateProjectThumbnail() {\n /*\n * If a thumbnail already exists, then delete it first\n */\n if ((new File(mProjectPath + \"/\" + THUMBNAIL_FILENAME)).exists()) {\n (new File(mProjectPath + \"/\" + THUMBNAIL_FILENAME)).delete();\n }\n /*\n * Generate a new thumbnail for the project from first media Item\n */\n if (mMediaItems.size() > 0) {\n MediaItem mI = mMediaItems.get(0);\n /*\n * Keep aspect ratio of the image\n */\n int height = 480;\n int width = mI.getWidth() * height / mI.getHeight();\n\n Bitmap projectBitmap = null;\n String filename = mI.getFilename();\n if (mI instanceof MediaVideoItem) {\n MediaMetadataRetriever retriever = new MediaMetadataRetriever();\n retriever.setDataSource(filename);\n Bitmap bitmap = retriever.getFrameAtTime();\n retriever.release();\n retriever = null;\n if (bitmap == null) {\n String msg = \"Thumbnail extraction from \" +\n filename + \" failed\";\n throw new IllegalArgumentException(msg);\n }\n // Resize the thumbnail to the target size\n projectBitmap =\n Bitmap.createScaledBitmap(bitmap, width, height, true);\n } else {\n try {\n projectBitmap = mI.getThumbnail(width, height, 500);\n } catch (IllegalArgumentException e) {\n String msg = \"Project thumbnail extraction from \" +\n filename + \" failed\";\n throw new IllegalArgumentException(msg);\n } catch (IOException e) {\n String msg = \"IO Error creating project thumbnail\";\n throw new IllegalArgumentException(msg);\n }\n }\n\n try {\n FileOutputStream stream = new FileOutputStream(mProjectPath + \"/\"\n + THUMBNAIL_FILENAME);\n projectBitmap.compress(Bitmap.CompressFormat.JPEG, 100, stream);\n stream.flush();\n stream.close();\n } catch (IOException e) {\n throw new IllegalArgumentException (\"Error creating project thumbnail\");\n } finally {\n projectBitmap.recycle();\n }\n }\n }","title":""},{"docid":"0b1c761b59567a0ae272da87c1c0d0c5","score":"0.5381621","text":"private String linkToThumb(URL imageURL, float previewW, float previewH) {\n File imageFile = (\"file\".equals(imageURL.getProtocol())) ?\n new File(imageURL.getPath()) : ImageUtilities.getCachedAssetFileForURL(imageURL);\n LOG.info(\" linkToThumb: imageFile = \" + imageFile.toString());\n\n /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*\n * determine if this is an image -- can javax.imageio can process this it? \n * If not, FAIL, else, provide ImageReader which contains information about the image ...\n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/\n NSSize imageSize = ImageUtilities.getImageDimensions(imageFile);\n if (imageSize == null) {\n LOG.error(\" linkToThumb: ImageUtilities.getImageDimensions(\" + imageFile + \") == NULL\");\n return null;\n }\n \n /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*\n * ... what's the smaller transform that will make the image fit our preview size ?\n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/\n float scale = Math.min(previewW / imageSize.width(), previewH / imageSize.height());\n\n try {\n /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*\n * break down the original full-size image file's URL ...\n * \n * <-------- ImagesURL --------->\n * imageLink: http://localhost/Pachy3/images/Archive-9876/ImageFile-1234.png\n * <-------- originalName -------->\n * imageName: /Archive-9876/ImageFile-1234.png\n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/\n String imageLink = imageURL.toString();\n String imageName = imageLink.substring(absAssetsDirLink.length());\n\n /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*\n * NOTE: All thumbnail images are created as jpegs and will get the extension \".jpg\" UNLESS the \n * original file was a jpeg with the \".jpeg\" extension in which case that extension is kept. \n * That allows the uploading of two files such as \"oval.jpg\" and \"oval.jpeg\" which may be \n * different images entirely.\n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/\n String thumbName = imageName.substring(0, imageName.lastIndexOf(\".\")) + \n ((imageName.toLowerCase().endsWith(\".jpeg\")) ? \".jpeg\" : \".jpg\");\n /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*\n * thumbName: /Archive-9876/ImageFile-1234.jpg\n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*\n * create a File for the absolute path to the final thumbnail destination\n * \n * <------------- \"ThumbsDir\" --------------><--------- thumbName ---------->\n * thumbFile: /Library/WebServer/Documents/Pachy3/thumbs/Archive-9876/ImageFile-1234.jpg\n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/\n File thumbFile = new File(new File(defaults.getString(\"ThumbsDir\")), thumbName);\n\n /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*\n * If the thumb file doesn't exist, create it, but note that you can't create an intermediate\n * directory automatically if IT doesn't exist (as in the case of an archive being uploaded),\n * so create it first, if necessary.\n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/\n if (!thumbFile.exists()) {\n if (!thumbFile.getParentFile().exists()) {\n LOG.info(\" linkToThumb: created 'archive' directory: \" + thumbFile.getParentFile().getName()); \n thumbFile.getParentFile().mkdirs();\n }\n thumbFile.createNewFile();\n\n String jpegQualString = defaults.getString(\"ImageMagickJPEGCompressionQuality\");\n int jpegQualNumber = (jpegQualString == null) ? 75 : (new Integer(jpegQualString)).intValue();\n\n /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*\n * resize the imageFile into the thumbFile ...\n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/\n if (!ImageUtilities.resize(imageFile, thumbFile, \n imageSize.width() * scale, imageSize.height() * scale, jpegQualNumber)) return null; \n \n if (!thumbFile.exists()) {\n LOG.error(\" linkToThumb: \" + thumbFile.toString() + \" does not exist; returning null.\");\n return null;\n }\n }\n \n String thumbLink = absThumbsDirLink + thumbName;\n /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*\n * <------- \"ThumbsURL\" -------->\n * thumbLink: http://localhost/Pachy3/thumbs/Archive-9876/ImageFile-1234.jpg\n * <--------- thumbName ---------->\n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/\n LOG.info(\" linkToThumb: thumbLink = \" + thumbLink);\n \n return thumbLink;\n } \n catch (Exception x) {\n LOG.error(\" linkToThumb: An error occurred: \", x);\n }\n \n return null;\n }","title":""},{"docid":"938d34e5f42a212722f3eb6556f2276f","score":"0.53809726","text":"public static BufferedImage getThumbnailOfImage(BufferedImage originalImage){\r\n\t \tBufferedImage resizedImage = new BufferedImage(IMG_WIDTH_Thumbnail, IMG_HEIGHT_Thumbnail,getImageType(originalImage));\r\n\t \tGraphics2D g = resizedImage.createGraphics();\r\n\t \tg.drawImage(originalImage, 0, 0, IMG_WIDTH_Thumbnail, IMG_HEIGHT_Thumbnail, null);\r\n\t \tg.dispose();\r\n\t \r\n\t \treturn resizedImage; \r\n\t }","title":""},{"docid":"c93f09b73377fc3bc91aaf9f945e0ea4","score":"0.53727055","text":"public interface IThumbnailService extends IFileIconService{\r\n\r\n\t/**\r\n\t * Create a sqaure image from a specified file, f of given side size, size in pixels.\r\n\t * @param f\r\n\t * @param size\r\n\t * @return\r\n\t */\r\n\tpublic Image createImage(final File f, final int size);\r\n\r\n\t/**\r\n\t * Get a thumbnail AbstractDataset of square shape.\r\n\t * @param set - must be 2D set\r\n\t * @param size\r\n\t * @return\r\n\t */\r\n\tpublic AbstractDataset getThumbnail(AbstractDataset set, int size);\r\n\r\n\t/**\r\n\t * Create an image from an AbstractDataset\r\n\t * @param thumb - must be 2D set\r\n\t * @return\r\n\t */\r\n\tpublic Image createImage(AbstractDataset thumb) throws Exception;\r\n\t\r\n\t/**\r\n\t * Main method for thumbnails, deals with 1D and 2D set thumbnails.\r\n\t * @param set\r\n\t * @param size\r\n\t * @return\r\n\t */\r\n\tpublic Image getThumbnailImage(AbstractDataset set, int size) throws Exception;\r\n\t\r\n}","title":""},{"docid":"de953ba9e4b7cb65cba7c64e8f259047","score":"0.5363111","text":"private void saveScaledPhotoOnParse(Bitmap artworkImage) {\n\t\t\n\t\t//Resize photo from camera byte array\n\t\t//Bitmap artworkImage = BitmapFactory.decodeByteArray(data, 0, data.length);\n\t\t//Bitmap artworkImageScaled = Bitmap.createScaledBitmap(artworkImage, 200, 200 * artworkImage.getHeight() / artworkImage.getWidth(), false);\n\t\tprogressDialog = new ProgressDialog(getActivity());\n\t\tprogressDialog.setTitle(\"Please wait.\");\n\t\tprogressDialog.setMessage(\"Saving your picture. Please wait.\");\n\t\tprogressDialog.show();\n\t\t\n\t\tByteArrayOutputStream bos = new ByteArrayOutputStream();\n\t\tartworkImage.compress(Bitmap.CompressFormat.JPEG, 100, bos);\n\n\t\tbyte[] scaledData = bos.toByteArray();\n\t\t// Save the scaled image to Parse\n\t\tphotoFile = new ParseFile(\"artwork_photo.jpg\", scaledData);\n\t\t\n\t\tartwork = new Artwork();\n\t\t\n\t\t// Add data to the artwork object\n\t\tartwork.setPhotoFile(photoFile);\n\n\t\tartwork.setTitle(pictureTitle.getText().toString());\n\n\t\t// Associate the artwork with the current user\n\t\tartwork.setPictureAuthor(ParseUser.getCurrentUser());\n\n\t\t//Add the location\n\t\tfinal ParseGeoPoint userLocation = geoPointFromLocation(getLocation());\n\t\tif(userLocation != null) \n\t\t\tartwork.setLocation(userLocation);\n\t\t\n\t\t// If the user added a photo, that data will be added in the CameraFragment\n\n\t\t// Save the artwork and return\n\t\tartwork.saveInBackground(new SaveCallback() {\n\n\t\t\t@Override\n\t\t\tpublic void done(ParseException e) {\n\t\t\t\tif (e != null) {\n\t\t\t\t\tprogressDialog.dismiss();\n\t\t\t\t\tToast.makeText(\n\t\t\t\t\t\t\tgetActivity().getApplicationContext(),\n\t\t\t\t\t\t\t\"Error saving: \" + e.getMessage(),\n\t\t\t\t\t\t\tToast.LENGTH_SHORT).show();\n\t\t\t\t} else {\n\n\t\t\t\t\t//delete the temporary picture and come back to the cameraFragment\n\t\t\t\t\tgetActivity().deleteFile(\"temporaryPicture.jpg\");\n\t\t\t\t\t\n\t\t\t\t\t//debug, see if deleted\n\t\t\t\t\t((WallkActivity)getActivity()).logFilesSaved();\n\t\t\t\t\t\n\t\t\t\t\tprogressDialog.dismiss();\n\t\t\t\t\t\n\t\t\t\t\t//go to user pictures gallery\n\t\t\t\t\tGalleryFragment galleryFragment = ((WallkActivity)getActivity()).getGalleryFrag();\n\t\t\t\t\t((WallkActivity) getActivity()).showFragment(galleryFragment);\n\t\t\t\t\tgalleryFragment.showUserArtworks();\n\t\t\t\t}\n\t\t\t}\n\n\t\t});\n\t}","title":""},{"docid":"be7d1b07a0f57ed96a25ce7dfd243912","score":"0.53404987","text":"public AbstractDataset getThumbnail(AbstractDataset set, int size);","title":""},{"docid":"b760dee7f5f02eb297f23353d6072a92","score":"0.53247935","text":"public interface ThumbnailRenderer {\r\n\r\n Image getRenderedThumbnail(Image scaled, RenderedThumbnailCacheIndirection rtci, boolean dummy);\r\n}","title":""},{"docid":"6539851b086fb018a5d4c8e63f947ba8","score":"0.5295749","text":"public static Bitmap getThumb(String imageLocation, int maxDimension) {\n \t\ttry {\n \t\t\tFile file = new File(imageLocation);\n \t\t\tMetadata metadata = JpegMetadataReader.readMetadata(file);\n \t\t\tDirectory jpegDirectory = metadata.getDirectory(JpegDirectory.class);\n \t\t\tif (!jpegDirectory.containsTag(JpegDirectory.TAG_JPEG_IMAGE_WIDTH) || \n \t\t\t\t\t!jpegDirectory.containsTag(JpegDirectory.TAG_JPEG_IMAGE_HEIGHT))\n \t\t\t\treturn null;\n \t\t\t\n \t\t\tint width = jpegDirectory.getInt(JpegDirectory.TAG_JPEG_IMAGE_WIDTH);\n \t\t\tint height = jpegDirectory.getInt(JpegDirectory.TAG_JPEG_IMAGE_HEIGHT);\n \t\t\t// Make sure we keep the aspect ratio, with a maximum edge of maxDimension\n \t\t\tfloat factor = Math.max(width / (float)maxDimension, height / (float)maxDimension);\n \t\t\tint scaledWidth = Math.max(1, (int)(width / factor));\n \t\t\tint scaledHeight = Math.max(1, (int)(height / factor));\n \t\t\t// First subsample the image without loading into memory,\n \t\t\t// then scale it to exactly the size we want\n \t\t\tBitmapFactory.Options opts = new BitmapFactory.Options();\n \t\topts.inSampleSize = (int) factor; \n \t\treturn Bitmap.createScaledBitmap(\n \t\t\t\tBitmapFactory.decodeFile(imageLocation, opts),\n \t\t\t\tscaledWidth, scaledHeight, true);\n \t\t} catch (JpegProcessingException e) {\n \t\t\t//e.printStackTrace();\n \t\t\treturn null;\n \t\t} catch (MetadataException e) {\n \t\t\t//e.printStackTrace();\n \t\t\treturn null;\n\t\t} catch (NullPointerException e) {\n\t\t\tLog.d(TAG, \"Couldn't create thumbnail for \" + imageLocation);\n\t\t\treturn null;\n \t\t}\n \t}","title":""},{"docid":"2c4fa7c9e3db19daa05c37fb43392a91","score":"0.5278105","text":"public static BufferedImage createThumbnail(BufferedImage img) {\n \t img = Scalr.resize(img, Method.QUALITY, 150, OP_ANTIALIAS, OP_BRIGHTER);\r\n \t \r\n \t // Let's add a little border before we return result.\r\n \t return img;\r\n }","title":""},{"docid":"547d9a91737903188fbeb8d5b8c02da5","score":"0.5270205","text":"@Override\r\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n final String fullSizeUrl = taskSnapshot.getDownloadUrl().toString();\r\n\r\n //compress bitmap for thumbnail upload\r\n ByteArrayOutputStream thumbnailStream = new ByteArrayOutputStream();\r\n mThumbnailBitmap.compress(Bitmap.CompressFormat.JPEG, 50, thumbnailStream);\r\n\r\n //upload image to thumbnail storage:\r\n mCelebImageStorage.child(celebId + Constants.trim(mCelebNameEditText.getText().toString().trim())).child(\"thumb\").putBytes(thumbnailStream.toByteArray()).addOnSuccessListener(new OnSuccessListener() {\r\n @Override\r\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\r\n\r\n //get thumbnail url from upload\r\n String thumbnailUrl = taskSnapshot.getDownloadUrl().toString();\r\n\r\n //create new celeb for firebase database\r\n Celeb celeb = new Celeb(celebId, mCelebNameEditText.getText().toString(), fullSizeUrl, thumbnailUrl, 0);\r\n\r\n //upload the new created celeb to firebase database:\r\n mCelebDatabase.child(celebId).setValue(celeb).addOnSuccessListener(new OnSuccessListener() {\r\n @Override\r\n public void onSuccess(Void aVoid) {\r\n //dismiss the dialog\r\n mDialog.dismiss();\r\n\r\n //toast to make sure celeb saved:\r\n Toast.makeText(NewCelebActivity.this, \"Celeb saved!!\", Toast.LENGTH_SHORT).show();\r\n\r\n //start welcome activity and finish:\r\n startActivity(new Intent(NewCelebActivity.this, WelcomeActivity.class));\r\n finish();\r\n }\r\n });\r\n }\r\n });\r\n }","title":""},{"docid":"9adff318c8f1a164f4e6ab014d96773e","score":"0.52586955","text":"public void saveDenoisedImage() {\n SimpleDateFormat sdf = new\n SimpleDateFormat(\"yy-MM-dd_HH-mm-ss\");\n String currentDateandTime = sdf.format(new Date());\n String albumName = \"/MLNetAppPics\";\n File file = new File(Environment.getExternalStoragePublicDirectory(\n Environment.DIRECTORY_PICTURES), albumName);\n if (!file.exists()) {\n boolean bool = file.mkdirs();\n if (!bool) {\n Log.e(TAG,\"Folder not created\");\n return;\n }\n }\n String fileName = file.getPath() + \"/denoised_\" + currentDateandTime + \".jpg\";\n File outFile = new File(fileName);\n try {\n outFile.createNewFile();\n } catch (IOException e) {\n e.printStackTrace();\n }\n try {\n FileOutputStream os = new FileOutputStream(fileName);\n Bitmap reconstBmp = Bitmap.createBitmap(mReconstImage.cols(), mReconstImage.rows(), Bitmap.Config.ARGB_8888);\n MyImageProc.scaleImageUpBy255(mReconstImage);\n Utils.matToBitmap(mReconstImage, reconstBmp);\n reconstBmp.compress(Bitmap.CompressFormat.JPEG, 100, os);\n addImageToGallery(fileName, ImageProcessing.this);\n try {\n os.flush();\n os.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n\n }","title":""},{"docid":"ff3e7735578a8cdc264c0d7a90ad01ec","score":"0.5252788","text":"public static android.graphics.Bitmap createVideoThumbnail(java.io.File r16, android.util.Size r17, android.os.CancellationSignal r18) throws java.io.IOException {\r\n /*\r\n r1 = r18;\r\n if (r1 == 0) goto L_0x0007;\r\n r18.throwIfCanceled();\r\n r0 = new android.media.ThumbnailUtils$Resizer;\r\n r2 = r17;\r\n r0.(r2, r1);\r\n r3 = r0;\r\n r0 = new android.media.MediaMetadataRetriever;\t Catch:{ RuntimeException -> 0x0093 }\r\n r0.();\t Catch:{ RuntimeException -> 0x0093 }\r\n r10 = r0;\r\n r0 = 0;\r\n r4 = r16.getAbsolutePath();\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r10.setDataSource(r4);\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = r10.getEmbeddedPicture();\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r11 = r4;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n if (r11 == 0) goto L_0x0030;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = android.graphics.ImageDecoder.createSource(r11);\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = android.graphics.ImageDecoder.decodeBitmap(r4, r3);\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n $closeResource(r0, r10);\t Catch:{ RuntimeException -> 0x0093 }\r\n return r4;\r\n r4 = 18;\r\n r4 = r10.extractMetadata(r4);\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = java.lang.Integer.parseInt(r4);\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r12 = r4;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = 19;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = r10.extractMetadata(r4);\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = java.lang.Integer.parseInt(r4);\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r13 = r4;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = 9;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = r10.extractMetadata(r4);\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = java.lang.Long.parseLong(r4);\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r14 = r4;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = r17.getWidth();\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r5 = 2;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n if (r4 <= r12) goto L_0x0070;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = r17.getHeight();\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n if (r4 <= r13) goto L_0x0070;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = r14 / r5;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r6 = 2;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = r10.getFrameAtTime(r4, r6);\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = java.util.Objects.requireNonNull(r4);\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = (android.graphics.Bitmap) r4;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n $closeResource(r0, r10);\t Catch:{ RuntimeException -> 0x0093 }\r\n return r4;\r\n r5 = r14 / r5;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r7 = 2;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r8 = r17.getWidth();\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r9 = r17.getHeight();\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = r10;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = r4.getScaledFrameAtTime(r5, r7, r8, r9);\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = java.util.Objects.requireNonNull(r4);\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = (android.graphics.Bitmap) r4;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n $closeResource(r0, r10);\t Catch:{ RuntimeException -> 0x0093 }\r\n return r4;\r\n r0 = move-exception;\r\n r4 = r0;\r\n throw r4;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r0 = move-exception;\r\n r5 = r0;\r\n $closeResource(r4, r10);\t Catch:{ RuntimeException -> 0x0093 }\r\n throw r5;\t Catch:{ RuntimeException -> 0x0093 }\r\n r0 = move-exception;\r\n r4 = new java.io.IOException;\r\n r5 = \"Failed to create thumbnail\";\r\n r4.(r5, r0);\r\n throw r4;\r\n */\r\n throw new UnsupportedOperationException(\"Method not decompiled: android.media.ThumbnailUtils.createVideoThumbnail(java.io.File, android.util.Size, android.os.CancellationSignal):android.graphics.Bitmap\");\r\n }","title":""},{"docid":"eff3de9122fcb687601fb103fc01cf50","score":"0.52413565","text":"public void makeArticleThumbnailRequest(SnippetArticle suggestion, Callback callback) {\n assert !mIsDestroyed;\n\n if (suggestion.isContextual()) {\n mSuggestionsSource.fetchContextualSuggestionImage(suggestion, callback);\n } else {\n mSuggestionsSource.fetchSuggestionImage(suggestion, callback);\n }\n }","title":""},{"docid":"b449cde8bf2bdfed4f0cd895c95c4184","score":"0.52399594","text":"public File saveImageToFile(File fileToSave, Bitmap bitmapToSave, Bitmap.CompressFormat compressFormat, boolean createThumbnail) throws Exception, IOException {\n try {\n // If external storage is not currently mounted this will fail.\n OutputStream out = new FileOutputStream(fileToSave);\n bitmapToSave.compress(compressFormat, 100, out);\n out.flush();\n out.close();\n } catch (IOException e) {\n // Unable to create file, likely because external storage is\n // not currently mounted.\n Log.e(\"ExternalStorage\", \"Error writing \" + fileToSave, e);\n throw new IOException(\"Error writing \" + fileToSave + \", Exception: \" + e.getMessage());\n }\n\n if (createThumbnail) {\n try {\n File thumbNailFile = new File(fileToSave.getAbsolutePath() + DOCUMENT_THUMBNAIL_SUFFIX);\n Bitmap thumbnailBitmap = crateThumbnail(fileToSave, IMAGE_DOCUMENT_MAX_THUMBNAIL_SIZE);\n OutputStream out = new FileOutputStream(thumbNailFile);\n thumbnailBitmap.compress(compressFormat, 100, out);\n out.flush();\n out.close();\n } catch (IOException e) {\n // Unable to create file, likely because external storage is\n // not currently mounted.\n Log.e(\"ExternalStorage\", \"Error writing thumbnail\");\n throw e;\n }\n }\n return fileToSave;\n }","title":""},{"docid":"666e5dad00fd706c768f046a11104e74","score":"0.5237951","text":"@Override\n public void onThumbnailError(YouTubeThumbnailView youTubeThumbnailView, YouTubeThumbnailLoader.ErrorReason errorReason) {\n Logger.DebugLog(TAG, \"Youtube Thumbnail Error\");\n }","title":""},{"docid":"d9d80fcd4dd18d9f82162d54089addcd","score":"0.5230814","text":"public static Bitmap createBitmapThumbnail(Bitmap bitmap, Context context)\n {\n if (sIconWidth == -1)\n {\n final Resources resources = context.getResources();\n sIconWidth =\n sIconHeight =\n (int) resources.getDimension(android.R.dimen.app_icon_size);\n }\n int width = sIconWidth;\n int height = sIconHeight;\n return Utilities.createBitmapThumbnail(bitmap, width, height);\n }","title":""},{"docid":"d83ee661314cda715fe4f7a214b02a9b","score":"0.5227346","text":"synchronized void saveAndPostCurrentPicture() throws IOException {\n Log.d(TAG, \"saveAndPostCurrentPicture\");\n Picture picture = MroRequestCurrent.getInstance().getPicture(imageCurrentHdpiPath);\n\n // set new size of image\n BitmapFactory.Options optionsImage = new BitmapFactory.Options();\n optionsImage.inJustDecodeBounds = true;\n BitmapFactory.decodeFile(imageCurrentHdpiPath, optionsImage);\n int heightPicture = optionsImage.outHeight;\n int widthPicture = optionsImage.outWidth;\n int newHeightPicture = PICTURE_HEIGHT;\n int newWidthPicture = (PICTURE_HEIGHT * widthPicture) / heightPicture;\n optionsImage.inJustDecodeBounds = false;\n Bitmap bitmapImage = BitmapFactory.decodeFile(imageCurrentHdpiPath);\n Bitmap scaledBitmap = Bitmap.createScaledBitmap(bitmapImage, newWidthPicture, newHeightPicture, false);\n\n // compress image & create pictureTypedFile for downloading to server\n byte[] compressedPictureByteArray = pictureUtils.compressBitmapToByteArray(scaledBitmap, PICTURE_WEIGHT, 80);\n Bitmap compressedPictureBitmap = pictureUtils.convertByteArrayToBitmap(compressedPictureByteArray);\n File compressedPictureFile = pictureUtils.compressBitmapToFile(compressedPictureBitmap, 75);\n Log.d(TAG, \"saveAndPostCurrentPicture: size of PictureFile = \" + compressedPictureFile.length()/1024 + \" Ko\");\n TypedFile compressedPictureTypedFile = new TypedFile(\"image/jpeg\", compressedPictureFile);\n\n // set image Picture\n picture.setImage(pictureUtils.convertBitmapToByteArray(compressedPictureBitmap));\n\n // set Thumbnail to save in database\n Bitmap bitmapThumbnail = ThumbnailUtils.extractThumbnail(PictureUtils.convertImagePathToBitmap(imageCurrentHdpiPath)\n , THUMBNAIL_HEIGHT, THUMBNAIL_HEIGHT);\n byte[] thumbnailByteArray = pictureUtils.compressBitmapToByteArray(bitmapThumbnail, 100);\n picture.setThumbnail(thumbnailByteArray);\n\n // set idMroRequest\n if(mroRequestCurrent != null) picture.setIdMroRequest(mroRequestCurrent.getId());\n\n // set infos\n PictureInfos pictureInfos = new PictureInfos();\n pictureInfos.setTime(System.currentTimeMillis());\n if(currentPictureTitle != null)\n pictureInfos.setTitle(currentPictureTitle);\n else {\n SimpleDateFormat simpleDateFormat = new SimpleDateFormat(\"'Photo prise le' dd/MM/yyyy 'à' HH:mm:ss\");\n pictureInfos.setTitle(simpleDateFormat.format(new Date()));\n }\n picture.setInfos(pictureInfos);\n\n // insert picture in database\n long pictureId = insertPictureDataBase(HibmobtechContentProvider.urlForPicture(), picture);\n picture.setId(pictureId);\n\n // post picture to server\n postPictureOld(compressedPictureTypedFile, picture);\n finish();\n }","title":""},{"docid":"d55ae840d9620477925e176d46a4bc98","score":"0.5190325","text":"@Override\n protected void onActivityResult(int requestCode, int resultCode, Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n\n //Processing image from camera\n if(requestCode == CAMERA_REQUEST_CODE && resultCode == RESULT_OK)\n {\n ImageView userImage = (ImageView) findViewById(R.id.userImage);\n Bitmap thumbnail = (Bitmap) data.getExtras().get(\"data\");\n userImage.setImageBitmap(thumbnail);\n }\n\n\n }","title":""},{"docid":"be694023ec64e54ae86abd2fde46f372","score":"0.5183455","text":"@Override\n\t\t\tpublic void onThumbnailDownloaded(ImageView imageView, Bitmap thumbnail) {\n\t\t\t\tif (isVisible()) {\t\t\t\t\t\t\t\t\t\t\t\t\t\t//on the ImageView handle\n\t\t\t\t\timageView.setImageBitmap(thumbnail);\n\t\t\t\t}\n\t\t\t}","title":""},{"docid":"23192172f8cb6316a64d798b3b7d4ebf","score":"0.51543605","text":"private void onCaptureImageResult(Intent data) {\n Bitmap thumbnail = (Bitmap) data.getExtras().get(\"data\");\n ByteArrayOutputStream bytes = new ByteArrayOutputStream();\n thumbnail.compress(Bitmap.CompressFormat.JPEG, 90, bytes);\n\n File destination = new File(Environment.getExternalStorageDirectory(),\n System.currentTimeMillis() + \".jpg\");\n\n FileOutputStream fo;\n try {\n destination.createNewFile();\n fo = new FileOutputStream(destination);\n fo.write(bytes.toByteArray());\n fo.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n ivImage.setImageBitmap(thumbnail);\n classifyFrame();\n }","title":""},{"docid":"22b94eace323844027399c467867116a","score":"0.5153785","text":"List getThumbnails();","title":""},{"docid":"98e4def068314ce582612e9e8fe2c7c8","score":"0.5153431","text":"public static File saveImageFromCamera(File f, Context context, String user, String originalName) {\n File mediaFile = getOutputMediaFile(ORIGINAL, originalName, context, user, f.getName());\n File mediaFileThumb = getOutputMediaFile(THUMB, originalName, context, user, f.getName());\n\n FileOutputStream fos = null;\n try {\n Bitmap bm = BitmapFactory.decodeFile(f.getAbsolutePath());\n final BitmapFactory.Options options = new BitmapFactory.Options();\n options.inSampleSize = 8;\n Bitmap bmResized = BitmapFactory.decodeFile(f.getPath(), options);\n Bitmap resized = ThumbnailUtils.extractThumbnail(bmResized, 50, 50);\n writeFile(resized, mediaFileThumb);\n writeFile(bm, mediaFile);\n } catch (Exception ex) {\n ex.printStackTrace();\n }\n return mediaFile;\n }","title":""},{"docid":"40db5543a883679db6d1887014df4a48","score":"0.5151933","text":"public String getThumbnailUrl() {\n return thumbnailUrl;\n }","title":""},{"docid":"101e0dbd470ac0d00bd7d5872d92ce9b","score":"0.51489496","text":"@Override\r\n protected Dimension getThumbSize() {\r\n return new Dimension(12, 12);\r\n }","title":""},{"docid":"5fb7d6a821bf42609e20858d126ae1d5","score":"0.51479465","text":"@Override\n public void run() {\n if(vh.position != i) {\n return;\n }\n // decode the jpeg into a bitmap\n final Bitmap bmp = getThumbnail(imageLocations[i], thumbnailSize);\n\n // set the bitmap (might be null)\n // must be run on the ui thread as it alters a view and uses a non-thread safe cache\n activity.runOnUiThread(new Runnable() {\n @Override\n public void run() {\n if(imageLocations == PhotoAdapter.this.imageLocations) {\n //Cache the image\n if (memoryCache.get(imageLocations[i]) == null) {\n memoryCache.put(imageLocations[i], bmp);\n }\n if (vh.position == i) {\n setImage(vh.image, vh.progressBar, bmp, imageOrientations[i]);\n }\n }\n }\n });\n }","title":""},{"docid":"26b7d424f09cf693d2b8f4ce51483ca6","score":"0.51475304","text":"public void handleGalleryImage(Context context, Intent data) {\n uri = data.getData();\n\n try {\n\n /**\n * Fetch file path\n */\n if (Build.VERSION.SDK_INT > 18) {\n\n file = new File(GalleryPathUtil.getRealPathFromURI_API19(context, uri));\n\n } else {\n\n file = new File(GalleryPathUtil.getRealPathFromURI_API11to18(context, uri));\n }\n\n Bitmap bitmap = BitmapFactory.decodeFile(file.getAbsolutePath());\n\n\n /**\n * Resize Image\n */\n if(bitmap.getHeight() > 1200 && bitmap.getWidth() > 960) {\n BitmapFactory.Options options = new BitmapFactory.Options();\n options.inSampleSize = 4;\n bitmap = BitmapFactory.decodeFile(file.getAbsolutePath(), options);\n }\n\n resizeFileImage(bitmap);\n\n /**\n * Prepare to upload to Azure Blob\n */\n Drawable drawable = new BitmapDrawable(getResources(), bitmap);\n ImageModel imageModel = new ImageModel(drawable);\n bitmaps.add(bitmap);\n imageModels.add(imageModel);\n updateSnapshotPlaceholder();\n\n } catch (Exception e) {\n\n // Log error\n Toast.makeText(getApplicationContext(), getString(R.string.err_problem_occurred), Toast.LENGTH_LONG).show();\n Crashlytics.logException(e);\n }\n }","title":""},{"docid":"5c215311a2e1f79e5e7fcbdaf6be3942","score":"0.51194537","text":"public void savePictureInGallery(){\r\n // Picture source : Image view in activity\r\n ImageView selectImage = findViewById(R.id.animePicture);\r\n // Convert the image to bitmap\r\n BitmapDrawable drawable = (BitmapDrawable) selectImage.getDrawable();\r\n Bitmap bitmap = drawable.getBitmap();\r\n\r\n // To greatly limit chance to have a duplicate name, we generate a big random number (not perfect):\r\n Random generator = new Random();\r\n int n = 10000;\r\n n = generator.nextInt(n);\r\n\r\n // Save the image in the galleria\r\n MediaStore.Images.Media.insertImage( getContentResolver(),\r\n bitmap,\r\n anime.getTitle() + n,\r\n \"Image from myAnimeApp\");\r\n // And notify the user with a toast\r\n Toast.makeText( getApplicationContext(), anime.getTitle() + \" picture added to gallery\", Toast.LENGTH_LONG).show();\r\n }","title":""},{"docid":"bef8c254771c6e43e596a9e18378b1fd","score":"0.5114538","text":"private void saveImageInFirebaseStorage() {\n\n // create storage path for profile image in firebase storage\n final StorageReference filepath = mImageStorage.child(String.format(\"CT-%05d\", reportCount + 1) + \".jpg\");\n // add image to firebase storage\n\n String information = \"\";\n String contact = \"\";\n\n information = mInformationEt.getText().toString();\n contact = mContactEt.getText().toString();\n\n if (!information.equals(\"\") && !category.equals(\"\")) {\n\n mProgressDialog.setTitle(\"Please wait...\");\n mProgressDialog.setMessage(\"Please wait while we register your report\");\n mProgressDialog.setCanceledOnTouchOutside(false);\n mProgressDialog.show();\n\n UploadTask uploadTask = filepath.putBytes(thumb_byte);\n final String finalInformation = information;\n final String finalContact = contact;\n uploadTask.addOnCompleteListener(new OnCompleteListener() {\n @Override\n public void onComplete(@NonNull Task thumb_task) {\n\n @SuppressWarnings(\"VisibleForTests\") Uri Url = thumb_task.getResult().getDownloadUrl();\n\n if (Url != null) {\n thumbDownloadUrl = Url.toString();\n }\n\n if (thumb_task.isSuccessful()) {\n\n addDataToFirebase(category, finalInformation, thumbDownloadUrl, finalContact);\n } else {\n\n Toast.makeText(ReportActivity.this, \"An error occured. Please try again.\", Toast.LENGTH_SHORT).show();\n mProgressDialog.dismiss();\n }\n }\n });\n } else {\n Log.d(\"TAG\", \"Enter category and information.\");\n }\n }","title":""},{"docid":"826c2a24fc9b788c148a4ce6881f23a4","score":"0.51109505","text":"@Override\n public void onSnapshotReady(Bitmap snapshot) {\n bitmap = snapshot;\n try {\n saveImage(bitmap);\n Toast.makeText(getApplicationContext(), \"Image Saved\", Toast.LENGTH_LONG).show();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }","title":""},{"docid":"5bb53f95a32f834c8f792ab7203db0a5","score":"0.51055753","text":"public void thumbnailCreated(ArrayList thumnails);","title":""},{"docid":"d3033e827c9f7ebb54de6aa13aa075bb","score":"0.5103423","text":"private static String createThumbnailUrl(String filePath) {\n Uri thumbnailBaseUrl = Uri.parse(THUMBNAIL_BASE_URL);\n\n // buildUpon prepares the baseUri that we just parsed so we can add query parameters to it\n Uri.Builder uriBuilder = thumbnailBaseUrl.buildUpon();\n\n // append width parameter to the Uri\n uriBuilder.appendEncodedPath(SIZE_VALUE);\n\n // append file path to access this thumbnail image\n uriBuilder.appendEncodedPath(filePath);\n\n Log.v(LOG_TAG, uriBuilder.toString());\n\n return uriBuilder.toString();\n\n }","title":""},{"docid":"ffadbcabdc2999fd898a84253ba7cd93","score":"0.51008886","text":"public MediaDesc getThumbMediaDesc ()\n {\n return (thumbMediaHash == null) ? Item.getDefaultThumbnailMediaFor(getType()) :\n MediaDescFactory.createMediaDesc(thumbMediaHash, thumbMimeType, thumbConstraint);\n }","title":""},{"docid":"d4a21ec64907386dd30d11ea0313fb9a","score":"0.50942606","text":"@Test\n @PerformanceTest\n public void testEnableZsdAndShotToThumbnail() {\n if (!isSupported()) {\n return;\n }\n switchToPipPhotoMode();\n enableZsd();\n new MetaCase(\"TC_Camera_PIP_0151\")\n .observeBegin(new PhotoSavedObserver(1))\n .addOperator(new CapturePhotoOperator())\n .observeEnd()\n .addChecker(new ThumbnailChecker(), ThumbnailChecker.INDEX_HAS_THUMB)\n .addChecker(new PreviewChecker())\n\n .run();\n }","title":""},{"docid":"2dc149c10e2e9efddc68a9bd51d1fb43","score":"0.50729173","text":"@Override\n\t\t\tpublic void run() {\n\t\t\t\tString path = null;\n \tif (TextUtils.isEmpty(thumbnailPath)&&\n TextUtils.isEmpty(imgPath)){\n return;\n }\n if (thumbnailPath != null && !TextUtils.isEmpty(thumbnailPath)){\n path = thumbnailPath;\n// Log.d(TAG, \"add thumbnailPath:\"+thumbnailPath);\n isTumbnailPath = true;\n }else if (!TextUtils.isEmpty(imgPath)){\n path = imgPath;\n// Log.d(TAG, \"add imagepath:\"+imgPath);\n isTumbnailPath = false;\n }\n final String fPath = path;\n try {\n if (isTumbnailPath) {\n bitmap = BitmapFactory.decodeFile(thumbnailPath);\n if (bitmap == null) {\n bitmap = getResetBitmap(imgPath);\n }\n\n } else {\n// \tOptions options = new Options();\n//// \t\t\t\toptions.inPreferQualityOverSpeed = true;\n// \t\t\t\toptions.inPreferredConfig = Bitmap.Config.RGB_565;\n// \t\t\t\t//软引用机制,注意:下面两个属性必须同时使用\n// \t\t\t\toptions.inPurgeable = true;\n// \t\t\t\toptions.inInputShareable = true;\n// \t\t\t bitmap = BitmapFactory.decodeFile(path,options);\n bitmap = getResetBitmap(imgPath);\n }\n bitmap = centerSquareScaleBitmap(bitmap, 80);\n \n }catch (IOException e){\n e.printStackTrace();\n }\n put(fPath,bitmap);\n// imageView.setImageBitmap(bitmap);\n if (callback != null){\n handler.post(new Runnable() {\n @Override\n public void run() {\n callback.loadBitMap(imageView,bitmap);\n }\n });\n }\n\t\t\t}","title":""},{"docid":"01a089f631ef96fd3cf132e804798041","score":"0.50626856","text":"@Override\n protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n\n if (requestCode == PICK_IMAGE && resultCode == RESULT_OK){\n imageUri = data.getData();\n\n try{\n Bitmap bitmap = MediaStore.Images.Media.getBitmap(getContentResolver(), imageUri);\n productImage.setImageBitmap(bitmap);\n\n //Serializing the image (String) because Firebase Realtime Datastorage is JSON based\n //Setting Current Product image @Product_Creation\n ByteArrayOutputStream baos = new ByteArrayOutputStream();\n bitmap.compress(Bitmap.CompressFormat.JPEG, 100, baos);\n byte[] imageData = baos.toByteArray();\n String imageDataEncoded = Base64.encodeToString(imageData, Base64.DEFAULT);\n currentProduct.setImageDataEncoded(imageDataEncoded);\n } catch (IOException e){\n e.printStackTrace();\n }\n }\n }","title":""},{"docid":"9ac9e0133b77242e19866d9061a48043","score":"0.50515693","text":"public void saveImage(View v) {\n\n Toast.makeText(DetailActivity.this, R.string.database_save, Toast.LENGTH_SHORT).show();\n\n\n //insert double cloudscore, string date, string id, string service version, string url, string lat, string long\n final LandsatModel landsatModel = new LandsatModel(model.cloudScore, detailDate, model.id, model.serviceVersion, model.url,\n detailLat, detailLong, detailTitle);\n\n AppExecutors.getInstance().diskIO().execute(new Runnable() {\n @Override\n public void run() {\n\n\n //save.setImageResource(R.drawable.save);\n\n // mDb.landsatDao().deleteRecord(landsatModel);\n //Log.v(\"DatabaseDelete\", \"deleting satellite image from database\");\n\n\n save.setImageResource(R.drawable.check);\n\n\n mDb.landsatDao().insertRecord(landsatModel);\n Log.v(\"DatabaseInsert\", \"inserting satellite image into the database\");\n\n\n }\n });\n save.setEnabled(false);\n }","title":""},{"docid":"994b895975db4a844f107cf6c90e642a","score":"0.50477314","text":"public String thumbnailUrl() {\n return this.thumbnailUrl;\n }","title":""},{"docid":"abba710b08a29f9ed21b431392283366","score":"0.5046914","text":"public File get_thumbnail_image_directory() {\r\n\t\treturn get_thumbnail_image_directory( _rootDirectory);\r\n\t}","title":""},{"docid":"3c02a2e1aa80f4038e14c5b9ddf3f25b","score":"0.50399435","text":"public static Bitmap getThumbnail(Context mContext, Uri uri, int reqWidth, int reqHeight) {\n\t\tBitmap srcBmp = BitmapUtils.decodeSampledFromUri(mContext, uri, reqWidth, reqHeight);\n\n\t\t// If picture is smaller than required thumbnail\n\t\tBitmap dstBmp;\n\t\tif (srcBmp.getWidth() < reqWidth && srcBmp.getHeight() < reqHeight) {\n\t\t\tdstBmp = ThumbnailUtils.extractThumbnail(srcBmp, reqWidth, reqHeight);\n\n\t\t\t// Otherwise the ratio between measures is calculated to fit requested thumbnail's one\n\t\t} else {\n\t\t\t// Cropping\n\t\t\tint x = 0, y = 0, width = srcBmp.getWidth(), height = srcBmp.getHeight();\n\t\t\tfloat ratio = ((float) reqWidth / (float) reqHeight) * ((float) srcBmp.getHeight() / (float) srcBmp\n\t\t\t\t\t.getWidth());\n\t\t\tif (ratio < 1) {\n\t\t\t\tx = (int) (srcBmp.getWidth() - srcBmp.getWidth() * ratio) / 2;\n\t\t\t\twidth = (int) (srcBmp.getWidth() * ratio);\n\t\t\t} else {\n\t\t\t\ty = (int) (srcBmp.getHeight() - srcBmp.getHeight() / ratio) / 2;\n\t\t\t\theight = (int) (srcBmp.getHeight() / ratio);\n\t\t\t}\n\n\t\t\tint rotation = neededRotation(new File(uri.getPath()));\n\t\t\tif (rotation != 0) {\n\t\t\t\tMatrix matrix = new Matrix();\n\t\t\t\tmatrix.postRotate(rotation);\n\t\t\t\tdstBmp = Bitmap.createBitmap(srcBmp, x, y, width, height, matrix, true);\n\t\t\t} else {\n\t\t\t\tdstBmp = Bitmap.createBitmap(srcBmp, x, y, width, height);\n\t\t\t}\n\n\t\t}\n\t\treturn dstBmp;\n\t}","title":""},{"docid":"15676b73d0dacff1789192a0e1bf06a5","score":"0.5033894","text":"private void saveProduct() {\n if (TextUtils.isEmpty(mProductNameView.getText().toString().trim())) {\n showEmptyFieldsDialog();\n return;\n }\n ContentValues values = new ContentValues();\n\n String productName = mProductNameView.getText().toString().trim();\n int productPrice;\n try {\n productPrice = Integer.parseInt(mPriceView.getText().toString().trim());\n } catch (NumberFormatException e) {\n productPrice = 0;\n }\n int productQuantity;\n try {\n productQuantity = Integer.parseInt(mQuantityView.getText().toString().trim());\n\n } catch (NumberFormatException e) {\n productQuantity = 0;\n }\n\n String supplier = mSupplierView.getText().toString().trim();\n byte[] imageStream = null;\n if (mImageThumbnail!=null) {\n imageStream = DbBitmapUtility.getBitmapAsByteArray(mImageThumbnail);\n }\n values.put(ProductEntry.COLUMN_NAME, productName);\n values.put(ProductEntry.COLUMN_PRICE, productPrice);\n values.put(ProductEntry.COLUMN_QUANTITY, productQuantity);\n values.put(ProductEntry.COLUMN_SUPPLIER, supplier);\n values.put(ProductEntry.COLUMN_IMAGE, imageStream);\n if (mCurrentProductUri == null) {\n Uri uri = getContentResolver().insert(ProductEntry.CONTENT_URI, values);\n if (uri == null) {\n Toast.makeText(this, \"Product Insertion Failed\", Toast.LENGTH_SHORT).show();\n Log.v(LOG_TAG, \"Product insertion error.\");\n } else {\n Toast.makeText(this, \"Product Added\", Toast.LENGTH_SHORT).show();\n Log.v(LOG_TAG, \"New row inserted. URI: \" + uri);\n }\n } else {\n int rowsUpdated = getContentResolver().update(mCurrentProductUri, values, null, null);\n if (rowsUpdated != 0) {\n Toast.makeText(this, \"Product Updated\", Toast.LENGTH_SHORT).show();\n Log.v(LOG_TAG, \"Product updated. ID: \" + ContentUris.parseId(mCurrentProductUri));\n } else {\n Toast.makeText(this, \"Product update Failed\", Toast.LENGTH_SHORT).show();\n Log.v(LOG_TAG, \"Product update Failed. URI: \" + mCurrentProductUri);\n }\n }\n if (getIntent().getExtras()==null){\n Intent intent = new Intent(EditorActivity.this,CatalogActivity.class);\n startActivity(intent);\n }\n finish();\n }","title":""},{"docid":"dbd57161806a9e1add2ca4b1092b8542","score":"0.50305736","text":"private void savePhoto(NotificationInfo info, ContactInfoCache.ContactCacheEntry entry) {\n Bitmap largeIcon = getLargeIconToDisplay(context, entry, info.getCall());\n if (largeIcon != null) {\n largeIcon = getRoundedIcon(context, largeIcon);\n }\n info.setLargeIcon(largeIcon);\n postNotification(info);\n }","title":""},{"docid":"a7fcdc174fb843dc525b3cadca680dab","score":"0.5001849","text":"public void generateThumbnail(float scaleX, float scaleY)\n {\n generateThumbnail = true;\n tScaleX = scaleX;\n tScaleY = scaleY;\n typeT = Type.SCALE;\n }","title":""},{"docid":"8a2c99ed3cbdb8f9980de32147ee4b09","score":"0.4998597","text":"public interface ImageManager {\n InputStream getImageById(long id);\n InputStream getImageById(long id, int maxWidth, int maxHeight);\n InputStream getThumbnailOfImage(long id, int size);\n void saveImage(long id, InputStream inputStream);\n void deleteImage(long id);\n}","title":""},{"docid":"416ecb8e9e0f4cf2ce91e4598b1969f2","score":"0.49985552","text":"public BufferedImage getThumbnail(Long id_) throws ClientException;","title":""},{"docid":"ddcf0c6a4de5e3cfa1f5b8742469fc3c","score":"0.4991648","text":"@Override\n\tpublic void insertImage(String imageURL) {\n\t\tString fileName = imageURL;\n\t\tint index = fileName.lastIndexOf('/');\n\t\tif (index > -1) {\n\t\t\tfileName = fileName.substring(index + 1);\n\t\t}\n\t\tFile test = new File(imageURL);\n\t\tif (test.exists()) {\n\t\t\ttry {\n\t\t\t\timageURL = test.toURI().toURL().toString();\n\t\t\t} catch (MalformedURLException e1) {\n\t\t\t\te1.printStackTrace();\n\t\t\t}\n\t\t}\n\t\tfileName = FileUtils.lowerCaseExtension(FileUtils.removeNonASCIIAndPonctuationAndBadFileNameChars(fileName));\n\t\tFile tempFile = new File(System.getProperty(\"java.io.tmpdir\"), fileName);\n\t\ttempFile.deleteOnExit();\n\t\ttry {\n\t\t\tFileUtils.createNewFile(tempFile);\n\t\t\tFileUtils.saveToFile(tempFile, new URL(imageURL).openStream());\n\t\t\tsuper.insertImage(tempFile.toURI().toURL().toString());\n\t\t} catch (MalformedURLException e) {\n\t\t\te.printStackTrace();\n\t\t\treturn;\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t\tsuper.insertImage(imageURL);\n\t\t}\n\t\tsaveRelatedObjects();\n\t}","title":""},{"docid":"cfa726c612008fa72677206fa7fe66f2","score":"0.4991445","text":"@Override\n public void run() {\n Bitmap bitmap = getBitmapFromImageView(imageView, width);\n\n if (bitmap == null) {\n if (mOnImageSavedCallback != null) {\n mOnImageSavedCallback.onSaveFailed(\"Image is empty\");\n }\n return;\n }\n\n // Sava bitmap to gallery\n final String destPath = saveBitmapToGallery(imageView.getContext(), bitmap, mOnImageSavedCallback);\n\n new Handler(Looper.getMainLooper()).post(new Runnable() {\n @Override\n public void run() {\n if (mOnImageSavedCallback != null) {\n mOnImageSavedCallback.onSaveSucceed(destPath);\n imageView.getContext().sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, Uri.parse(destPath)));\n }\n }\n });\n }","title":""},{"docid":"614d2c4cb232e6795f6b0473b7569241","score":"0.49795035","text":"int insert(TImage record);","title":""},{"docid":"dcfe1c2eabe4dcf16c13367a10583722","score":"0.4971119","text":"private void storeImg() {\t\t\n\t\tFile photo = new File(Environment.getExternalStorageDirectory(), imageName);\n\t\tif (photo.exists()) {\n\t\t\tphoto.delete();\n\t\t}\n\t\t\n\t\ttry {\n\t\t\tFileOutputStream fos = new FileOutputStream(photo.getPath());\n\t\t\tfos.write(img);\n\t\t\tfos.close();\n\t\t}\n\t\tcatch (IOException e) {\n\t\t\tLog.e(TAG, \"Exception writing to sdcard\");\n\t\t}\n\t}","title":""},{"docid":"8c2de7457c6a80f6fcc34208e2c5cfd4","score":"0.4952979","text":"public static void zoomImageFromThumb(final View thumbView, final View expandedImageView, final View mView, final LinearLayout detailsLinearLayout) {\n final Rect startBounds = new Rect();\n final Rect finalBounds = new Rect();\n final Point globalOffset = new Point();\n\n\n // The start bounds are the global visible rectangle of the thumbnail,\n // and the final bounds are the global visible rectangle of the container\n // view. Also set the container view's offset as the origin for the\n // bounds, since that's the origin for the positioning animation\n // properties (X, Y).\n thumbView.getGlobalVisibleRect(startBounds);\n mView.getGlobalVisibleRect(finalBounds, globalOffset);\n startBounds.offset(-globalOffset.x, -globalOffset.y);\n finalBounds.offset(-globalOffset.x, -globalOffset.y);\n\n // Adjust the start bounds to be the same aspect ratio as the final\n // bounds using the \"center crop\" technique. This prevents undesirable\n // stretching during the animation. Also calculate the start scaling\n // factor (the end scaling factor is always 1.0).\n float startScale;\n if ((float) finalBounds.width() / finalBounds.height()\n > (float) startBounds.width() / startBounds.height()) {\n // Extend start bounds horizontally\n startScale = (float) startBounds.height() / finalBounds.height();\n float startWidth = startScale * finalBounds.width();\n float deltaWidth = (startWidth - startBounds.width()) / 2;\n startBounds.left -= deltaWidth;\n startBounds.right += deltaWidth;\n } else {\n // Extend start bounds vertically\n startScale = (float) startBounds.width() / finalBounds.width();\n float startHeight = startScale * finalBounds.height();\n float deltaHeight = (startHeight - startBounds.height()) / 2;\n startBounds.top -= deltaHeight;\n startBounds.bottom += deltaHeight;\n }\n\n // Hide the thumbnail and show the zoomed-in view. When the animation\n // begins, it will position the zoomed-in view in the place of the\n // thumbnail.\n thumbView.setAlpha(0f);\n expandedImageView.setVisibility(View.VISIBLE);\n\n // Set the pivot point for SCALE_X and SCALE_Y transformations\n // to the top-left corner of the zoomed-in view (the default\n // is the center of the view).\n expandedImageView.setPivotX(0f);\n expandedImageView.setPivotY(0f);\n\n // Construct and run the parallel animation of the four translation and\n // scale properties (X, Y, SCALE_X, and SCALE_Y).\n AnimatorSet set = new AnimatorSet();\n set\n .play(ObjectAnimator.ofFloat(expandedImageView, View.X,\n startBounds.left, finalBounds.left))\n .with(ObjectAnimator.ofFloat(expandedImageView, View.Y,\n startBounds.top, finalBounds.top))\n .with(ObjectAnimator.ofFloat(expandedImageView, View.SCALE_X,\n startScale, 1f)).with(ObjectAnimator.ofFloat(expandedImageView,\n View.SCALE_Y, startScale, 1f));\n final long dur = 200;\n set.setDuration(dur);\n set.setInterpolator(new DecelerateInterpolator());\n set.start();\n\n // Upon clicking the zoomed-in image, it should zoom back down\n // to the original bounds and show the thumbnail instead of\n // the expanded image.\n final float startScaleFinal = startScale;\n expandedImageView.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n // Animate the four positioning/sizing properties in parallel,\n // back to their original values.\n AnimatorSet set = new AnimatorSet();\n set.play(ObjectAnimator\n .ofFloat(expandedImageView, View.X, startBounds.left))\n .with(ObjectAnimator\n .ofFloat(expandedImageView,\n View.Y,startBounds.top))\n .with(ObjectAnimator\n .ofFloat(expandedImageView,\n View.SCALE_X, startScaleFinal))\n .with(ObjectAnimator\n .ofFloat(expandedImageView,\n View.SCALE_Y, startScaleFinal));\n set.setDuration(dur);\n set.setInterpolator(new DecelerateInterpolator());\n set.addListener(new AnimatorListenerAdapter() {\n @Override\n public void onAnimationEnd(Animator animation) {\n thumbView.setAlpha(1f);\n expandedImageView.setVisibility(View.GONE);\n }\n\n @Override\n public void onAnimationCancel(Animator animation) {\n thumbView.setAlpha(1f);\n expandedImageView.setVisibility(View.GONE);\n }\n });\n set.start();\n\n detailsLinearLayout.setAlpha(1.f);\n detailsLinearLayout.setBackground(new ColorDrawable(0x00000000));\n\n\n }\n });\n }","title":""},{"docid":"f0901c90dfb71db2f86157ef0bd1bd5e","score":"0.49490687","text":"@Override\n public void onThumbnailLoaded(YouTubeThumbnailView youTubeThumbnailView, String s) {\n youTubeThumbnailLoader.release();\n }","title":""},{"docid":"669aa8e71a734ede24ee2f9bf3e924e4","score":"0.4943212","text":"@Override\n\t\t\tpublic void setViewImage(ImageView v, String value) {\n\t\t\t\tsuper.setViewImage(v, value);\n\t\t\t\tImageUtil.setThumbnailView(value, v, mContext,\n\t\t\t\t\t\tnew imageCallback(), false);\n\t\t\t}","title":""},{"docid":"5fd38bfcc0bc70e2de483893f4093b91","score":"0.49426243","text":"@Override\n protected void onActivityResult(int requestCode, int resultCode, Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n if (requestCode == REQUEST_IMAGE_CAPTURE && resultCode == RESULT_OK) {\n PlantDataHandler db = new PlantDataHandler(getApplicationContext());\n //Adding picture here\n db.updatePlant(plant.getId(), \"filenameCustomPicture\", currentPhotoPath.toString());\n plant.setFilenameCustomPicture(currentPhotoPath);\n TextView plant_textImageView = findViewById(R.id.textImageView);\n ImageView plant_detail_img = (ImageView) findViewById(R.id.myPlantPicture);\n new MyPlantsListAdapter(db.getPlants(), getApplicationContext()).notifyDataSetChanged();\n\n try {\n File f = new File(currentPhotoPath);\n Bitmap b = BitmapFactory.decodeStream(new FileInputStream(f));\n plant_detail_img.setImageBitmap(b);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }\n }","title":""},{"docid":"9f5876b350bfafe51817294e505453a4","score":"0.4941785","text":"@Override\n protected void saveToGallery() {\n }","title":""},{"docid":"557cd5f119fa83f07a9531a5ed914b27","score":"0.49346593","text":"public boolean addGalleryImage(String userUuid, byte[] imageBytes,String mimeType, String fileName);","title":""},{"docid":"591b99dde79f74c5bcf721a69952f47d","score":"0.49258968","text":"void setMovieThumbnail(final Context context, final String imageUrl) {\n Glide.with(context)\n .load(imageUrl)\n .into(mMovieThumbnail);\n }","title":""},{"docid":"14b4fb5e35f24ada435ff0ae4483d2f0","score":"0.4918435","text":"public static File saveImageFromCamera(File f, Context context, String user) {\n File mediaFile = getOutputMediaFile(ORIGINAL, f.getName(), context, user);\n File mediaFileThumb = getOutputMediaFile(THUMB, f.getName(), context, user);\n\n FileOutputStream fos = null;\n try {\n Bitmap bm = BitmapFactory.decodeFile(f.getAbsolutePath());\n final BitmapFactory.Options options = new BitmapFactory.Options();\n options.inSampleSize = 8;\n Bitmap bmResized = BitmapFactory.decodeFile(f.getPath(), options);\n Bitmap resized = ThumbnailUtils.extractThumbnail(bmResized, 50, 50);\n writeFile(resized, mediaFileThumb);\n writeFile(bm, mediaFile);\n } catch (Exception ex) {\n ex.printStackTrace();\n }\n return mediaFile;\n }","title":""},{"docid":"6a42c1fe566ff280fda341c9c931da0a","score":"0.4917476","text":"@Override\n public void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n if (requestCode == CAPTURE_IMAGE_ACTIVITY_REQUEST_CODE) {\n if (resultCode == RESULT_OK) {\n // by this point we have the camera photo on disk\n Bitmap takenImage = BitmapFactory.decodeFile(photoFile.getAbsolutePath());\n // RESIZE BITMAP,\n try {\n Bitmap scaledImage = resize();\n // Load the taken image into a preview\n ivToPost.setImageBitmap(scaledImage);\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n } else { // Result was a failure\n Toast.makeText(getContext(), \"Picture wasn't taken!\", Toast.LENGTH_SHORT).show();\n }\n }\n }","title":""},{"docid":"c116c0d4a8994810fbd868e468dffc21","score":"0.48999798","text":"private boolean storePic(MultipartFile file, String filename, String shortFileName) throws Exception {\n try (InputStream inputStream = file.getInputStream()) {\n Files.copy(inputStream, Paths.get(uploadPicPath + filename), // somewhat tricky\n StandardCopyOption.REPLACE_EXISTING);\n Thumbnails.of(uploadPicPath + filename).size(width, height).toFile(uploadPicPath + shortFileName);\n } catch (Exception e) {\n throw new Exception(\"失败!\" + filename, e);\n }\n return true;\n }","title":""},{"docid":"f3fd7fae62168f0db9fe0402bc719bae","score":"0.48943716","text":"public ResourceLink getThumbnailLink() {\n return this.getResourceLinks().getThumbnail();\n }","title":""},{"docid":"74797d3b54c28d0b5eb6ae1d99ffba5d","score":"0.48884618","text":"public void insertImage() {\n if (imgUri != null && imgUri.length() > 0) {\n Uri uri = Uri.parse(imgUri);\n\n Glide.with(context)\n .load(uri)\n .diskCacheStrategy(DiskCacheStrategy.NONE)\n .fitCenter()\n .into(imgView);\n\n } else if (imgBitmap != null) {\n imgView.setImageBitmap(imgBitmap);\n }\n }","title":""},{"docid":"4a73bd54283e410ba38070f563c301a8","score":"0.4888046","text":"public byte[] generateThumbnail(byte[] pageData) throws Exception{\n\t\tInputStream in = new ByteArrayInputStream(pageData);\n\t\tBufferedImage bImageFromConvert = ImageIO.read(in);\n\t\t\n\t\t//\n\t\t// Create a thumbnail of the image\n\t\t// \n\t\tBufferedImage thumbnail = Thumbnails.of(bImageFromConvert)\n\t\t .size(250, 167)\n\t\t .asBufferedImage();\n\t\t\n\t\tByteArrayOutputStream baos = new ByteArrayOutputStream();\n\t\tImageIO.write( thumbnail, \"png\", baos );\n\t\tbaos.flush();\n\t\tbyte[] thumbnailInByte = baos.toByteArray();\n\t\tbaos.close();\n\t\t\n\t\treturn thumbnailInByte;\n\t\t\n\t}","title":""},{"docid":"7dd4792d7f81019527576a3e217d17f2","score":"0.4883573","text":"private void UploadImage(final Uri imageUri) {\n if(!imageUri.equals(\"\"))\n {\n storageReference= FirebaseStorage.getInstance().getReference().child(\"/images/\"+System.currentTimeMillis()+\".\"+getImageExt(imageUri));\n storageReference.putFile(imageUri)\n .addOnSuccessListener(new OnSuccessListener() {\n @Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n // Toast.makeText(getActivity(),\"successfull\",Toast.LENGTH_SHORT).show();\n imageUrl=taskSnapshot.getDownloadUrl().toString();\n databaseReference.child(\"profile\").setValue(imageUrl);\n databaseReferenceCard.child(\"profile\").setValue(imageUrl);\n progressDialog.dismiss();\n SignedIn();\n // i++;\n // Log.d(\"SaveValues\", imageUri+\"\");\n // user=new farmer_crop_infor(get_Product_name,get_Product_type,get_city,get_TEHIL,get_DISTT,get_area,get_sack_price,get_quantity,get_harvest,get_WaterSource,imageUrl);\n//\n }\n });\n\n }\n else{\n\n }\n }","title":""},{"docid":"08a9a13d4104aa7adcc13807f3ab79fc","score":"0.48827448","text":"public void insertPhoto(String uri, int tripID, String timeStamp, Float pressureValue, Float temperatureValue, double GPSLatitude, double GPSLongitude) {\n mRepository.insertPhoto(new PhotoData(uri, tripID, timeStamp, pressureValue, temperatureValue, GPSLatitude, GPSLongitude));\n }","title":""},{"docid":"6f4bfdea1053d84ee64a3ae09f0e0d0e","score":"0.48822895","text":"public Image createImage(CameraShard shard, Long timestamp) throws ApplicationException;","title":""},{"docid":"71ae0f5b0221bde7e2cd6de1767c3e1b","score":"0.48713374","text":"@Override\n public void onActivityResult(final int requestCode, int resultCode, Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n // Log.i(TAG, \"onActivityResult: \" + this);\n\n String TAG = \"Tag\";\n\n if (resultCode != getActivity().RESULT_OK) {\n return;\n }\n\n //for gallery\n if (requestCode == RESULT_LOAD_IMAGE1 && null != data) {\n\n ParcelFileDescriptor parcelFD = null;\n try {\n parcelFD = getActivity().getContentResolver().openFileDescriptor(data.getData(), \"r\");\n FileDescriptor imageSource = parcelFD.getFileDescriptor();\n // Decode image size\n BitmapFactory.Options o = new BitmapFactory.Options();\n o.inJustDecodeBounds = true;\n BitmapFactory.decodeFileDescriptor(imageSource, null, o);\n // the new size we want to scale to\n final int REQUIRED_SIZE = 1024;\n // Find the correct scale value. It should be the power of 2.\n int width_tmp = o.outWidth, height_tmp = o.outHeight;\n int scale = 1;\n while (true) {\n if (width_tmp < REQUIRED_SIZE && height_tmp < REQUIRED_SIZE) {\n break;\n }\n width_tmp /= 2;\n height_tmp /= 2;\n scale *= 2;\n }\n\n // decode with inSampleSize\n BitmapFactory.Options o2 = new BitmapFactory.Options();\n o2.inSampleSize = scale;\n Bitmap bitmap = BitmapFactory.decodeFileDescriptor(imageSource, null, o2);\n\n storeImage(bitmap);\n\n // Get the dimensions of the View\n int targetW = settingView.takeImage1.getWidth();\n int targetH = settingView.takeImage1.getHeight();\n // Get the dimensions of the bitmap\n BitmapFactory.Options bmOptions = new BitmapFactory.Options();\n bmOptions.inJustDecodeBounds = true;\n BitmapFactory.decodeFile(picturePathG, bmOptions);\n\n int photoW = bmOptions.outWidth;\n int photoH = bmOptions.outHeight;\n\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 try {\n\n Bitmap bitmap1 = BitmapFactory.decodeFile(picturePathG, bmOptions);\n // Bitmap bitmap2 = modifyOrientation(bitmap1,picturePathG);\n if (requestCode == 1) {\n picturePath1 = picturePathG;\n sharedPreferences.edit().putString(Constants.PROFILEIMAGE, picturePath1).apply();\n\n settingView. takeImage1.setImageBitmap(bitmap1);\n\n /* Glide.with(this).load(picturePath1)\n .into(settingView.takeImage1);*/\n //UpdateUserProfile(pictureFile);\n uploadimageintoserver(pictureFile);\n }\n\n\n } catch (OutOfMemoryError e) {\n try {\n bmOptions = new BitmapFactory.Options();\n bmOptions.inSampleSize = 2;\n Bitmap bitmap1 = BitmapFactory.decodeFile(picturePathG, bmOptions);\n\n if (requestCode == 1) {\n picturePath1 = picturePathG;\n sharedPreferences.edit().putString(Constants.PROFILEIMAGE, picturePath1).apply();\n\n settingView.takeImage1.setImageBitmap(bitmap1);\n /* Glide.with(this).load(picturePath1)\n .into(settingView.takeImage1);*/\n // UpdateUserProfile(pictureFile);\n uploadimageintoserver(pictureFile);\n }\n\n } catch (Exception e11) {\n\n Toast.makeText(getActivity(), e11.getMessage(), Toast.LENGTH_LONG).show();\n }\n }\n } catch (FileNotFoundException e) {\n // handle errors\n\n Toast.makeText(getActivity(),\"FileNotFoundException:\"+e.getMessage(),Toast.LENGTH_LONG).show();\n\n }\n\n\n //for camera\n } else if (requestCode == REQUEST_TAKE_PHOTO1 ) {\n\n\n try{\n Uri outputFile;\n\n if (data != null && (data.getAction() == null || !data.getAction().equals(MediaStore.ACTION_IMAGE_CAPTURE))) {\n outputFile = data.getData();\n actualImage = new File(getPath(outputFile));\n\n } else {\n\n actualImage = tempOutputFile;\n// actualImageView.setImageBitmap(BitmapFactory.decodeFile(actualImage.getAbsolutePath(),options));\n // actualSizeTextView.setData(String.format(\"Size : %s\", getReadableFileSize(actualImage.length())));\n }\n\n\n if (actualImage == null) {\n Toast.makeText(getActivity(), getString(R.string.choose_option), Toast.LENGTH_LONG).show();\n } else {\n\n compressedImage = new Compressor.Builder(getActivity())\n .setMaxWidth(1024)\n .setMaxHeight(720)\n .setQuality(100)\n .setCompressFormat(Bitmap.CompressFormat.JPEG)\n .setDestinationDirectoryPath(getActivity().getExternalFilesDir(\n Environment.DIRECTORY_PICTURES).getAbsolutePath())\n .build()\n .compressToFile(actualImage);\n setPic(requestCode, compressedImage.getAbsolutePath());\n }\n\n //UpdateUserProfile(compressedImage);\n uploadimageintoserver(compressedImage);\n\n }catch(Exception e){\n Toast.makeText(getActivity(),\"CompressedException:\"+e.getMessage(),Toast.LENGTH_LONG).show();\n }\n }\n\n }","title":""},{"docid":"9ab98eb896654177894b0b03b105d2e3","score":"0.4860412","text":"void onHighResolutionImageLoaded(String highResImageUrl, int position);","title":""},{"docid":"e707f8699259086b83d1214d99cb3361","score":"0.48558468","text":"public void updatePageThumbnail(byte[] thumbnail, long pageId) throws Exception {\n\t\t// create the java mysql update preparedstatement\n\t String query = \"UPDATE document_page set page_data_thumbnail = ? WHERE id = ?\";\n\t \n\t // get the connection\n\t \tConnection conn = openConnection();\n\t \n\t PreparedStatement preparedUPDATEstatement = conn.prepareStatement(query);\n\t preparedUPDATEstatement.setLong(2, pageId);\n\t preparedUPDATEstatement.setBlob(1, new javax.sql.rowset.serial.SerialBlob(thumbnail));\n\n\t // execute the java preparedstatement\n\t preparedUPDATEstatement.executeUpdate();\n\t \n\t conn.close();\n\t\t\n\t}","title":""},{"docid":"9e58d86ca10cb5542723a4891973c901","score":"0.48539016","text":"public Image(Context context, MediaMetadata metadata) {\n mContext = context;\n\n String uri_art = metadata.getString(MediaMetadata.METADATA_KEY_ART_URI);\n String uri_album_art = metadata.getString(MediaMetadata.METADATA_KEY_ALBUM_ART_URI);\n String uri_icon = metadata.getString(MediaMetadata.METADATA_KEY_DISPLAY_ICON_URI);\n Bitmap bmp_art = metadata.getBitmap(MediaMetadata.METADATA_KEY_ART);\n Bitmap bmp_album_art = metadata.getBitmap(MediaMetadata.METADATA_KEY_ALBUM_ART);\n Bitmap bmp_icon = metadata.getBitmap(MediaMetadata.METADATA_KEY_DISPLAY_ICON);\n\n if (bmp_art != null) {\n setImage(bmp_art);\n } else if (bmp_album_art != null) {\n setImage(bmp_album_art);\n } else if (bmp_icon != null) {\n setImage(bmp_icon);\n } else if (uri_art != null) {\n setImage(uri_art);\n } else if (uri_album_art != null) {\n setImage(uri_album_art);\n } else if (uri_icon != null) {\n setImage(uri_icon);\n }\n }","title":""},{"docid":"b27b850cca254221e3733ae37b378496","score":"0.4844425","text":"private Uri getImageUri(Context inContext, Bitmap inImage) {\n ByteArrayOutputStream bytes = new ByteArrayOutputStream();\n inImage.compress(Bitmap.CompressFormat.JPEG, 100, bytes);\n String path = MediaStore.Images.Media.insertImage(inContext.getContentResolver(), inImage, \"Title\" + Calendar.getInstance().getTime(), null);\n return Uri.parse(path);\n }","title":""},{"docid":"d713ac37b36bf9ccbaa5bf4ab919a82a","score":"0.48421085","text":"private void setThumbnailURL(String PlayListURL)\n\t\t{\n\t\t\tURL urlLink;\n\t\t\ttry {\n\t\t\t\turlLink = new URL(PlayListURL);\n\t\t\t\tvoLog.i(TAG,\"Thumbnail PlayList download begin\" );\n\t\t\t\tif(PlayListURL.lastIndexOf(\"/\")>=0)\n\t\t\t\t\turlPath = PlayListURL.substring(0,PlayListURL.lastIndexOf(\"/\"));\n\t\t\t\tBufferedInputStream in = new BufferedInputStream(urlLink.openStream());\n\t\t\t\t\n\t\t\t\tByteArrayBuffer ba = new ByteArrayBuffer(0);\n\t\t\t\tif(in!=null)\n\t\t\t\t{\n\t\t\t\t\tbyte [] buffer = new byte[1024];\n\t\t\t\t\tString s = \"\";\n\t\t\t\t\twhile(true)\n\t\t\t\t\t{\n\t\t\t\t\t\tint nRead = in.read(buffer);\n\t\t\t\t\t\tif(nRead<=0)\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tba.append(buffer, 0, nRead);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tbyte [] buff = ba.buffer();\n\t\t\t\tString s = \"\";\n\t\t\t\t\n\t\t\t\tint beginTime = 0;\n\t\t\t\tif(buff!=null)\n\t\t\t\t{\n\t\t\t\t\ts = new String(buff );\n\t\t\t\t\tString [] strArr = s.split(\"\\n\");\n\t\t\t\t\tif(strArr!=null)\n\t\t\t\t\t{\n\t\t\t\t\t\tfor(int i = 0;i8 && strArr[i].substring(0, 8).compareToIgnoreCase(\"#EXTINF:\") == 0 && i0)\n\t\t\t\t\t\t\ttreeMap.put(beginTime,\"\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} catch (Exception e) {\n\t\t\t\tvoLog.i(TAG,\"Thumbnail PlayList download Exception\" );\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\t//callEnabled = true;\n\t\t\t\n\t\t}","title":""},{"docid":"945c129ed32d9ac86da2a9ff983854f5","score":"0.48398218","text":"Twitter.MediaSize getThumb();","title":""}],"string":"[\n {\n \"docid\": \"cff8b8c87787ce6e7a7eb4baf0b7116a\",\n \"score\": \"0.6162094\",\n \"text\": \"private void dispatchTakeThumbnailIntent() {\\n Log.i(LOG, \\\"dispatchTakeThumbnailIntent()\\\");\\n Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);\\n if (takePictureIntent.resolveActivity(getPackageManager()) != null) {\\n startActivityForResult(takePictureIntent, REQUEST_THUMBNAIL_CAPTURE);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"982c62493ef5f1a93f4d462d179e0dfe\",\n \"score\": \"0.61356246\",\n \"text\": \"@Override\\n\\tpublic FileInfo createThumbnail(FileInfo media) throws Exception{\\n\\t\\tFile output = File.createTempFile(\\\"weaktie_\\\", \\\".tmp\\\");\\n\\t\\tif(MediaType.IMAGE==media.getMediaType()) {\\n\\t\\t\\tBufferedImage image = ImageIO.read(media.getFile());\\n\\t\\t\\tBufferedImage resizedImage = new BufferedImage(50, 50, BufferedImage.TYPE_3BYTE_BGR);\\n\\t\\t\\tGraphics2D g = resizedImage.createGraphics();\\n\\t\\t\\tg.drawImage(image, 0, 0, 50, 50, null);\\n\\t\\t\\tg.dispose();\\n\\t\\t\\tg.setComposite(AlphaComposite.Src);\\n\\t\\t\\tg.setRenderingHint(RenderingHints.KEY_INTERPOLATION,RenderingHints.VALUE_INTERPOLATION_BILINEAR);\\n\\t\\t\\tg.setRenderingHint(RenderingHints.KEY_RENDERING,RenderingHints.VALUE_RENDER_QUALITY);\\n\\t\\t\\tg.setRenderingHint(RenderingHints.KEY_ANTIALIASING,RenderingHints.VALUE_ANTIALIAS_ON);\\n\\t\\t\\tImageIO.write(resizedImage, \\\"jpg\\\", output);\\n\\t\\t\\tFileInfo info = new FileInfo();\\n\\t\\t\\tinfo.setContentType(\\\"image/jpeg\\\");\\n\\t\\t\\tinfo.setFile(output);\\n\\t\\t\\tif(media.getFileName()!=null) {\\n\\t\\t\\t\\tinfo.setFileName(media.getFileName().replace(\\\".\\\", \\\"_\\\")+\\\".jpg\\\");\\n\\t\\t\\t}else {\\n\\t\\t\\t\\tinfo.setFileName(DigestUtils.md5Hex(output.getPath())+\\\".jpg\\\");\\n\\t\\t\\t}\\n\\t\\t\\tinfo.setMediaType(media.getMediaType());\\n\\t\\t\\treturn info;\\n\\t\\t}\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cc060bd94e3418e892e7d3b65e9a0fb7\",\n \"score\": \"0.60729396\",\n \"text\": \"public Bitmap getThumbnail() {\\n return mThumbnail;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fb08f6931c65390d568ee424757a782a\",\n \"score\": \"0.6061165\",\n \"text\": \"public Image getThumbnailImage(AbstractDataset set, int size) throws Exception;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"04a93904189e150b50a251bf5de5e0ba\",\n \"score\": \"0.6060092\",\n \"text\": \"private Uri getImageURI(Context context, Bitmap thumbnail) {\\n String path=null;\\n try {\\n\\n ByteArrayOutputStream bytes = new ByteArrayOutputStream();\\n thumbnail.compress(Bitmap.CompressFormat.JPEG, 70, bytes);\\n path = MediaStore.Images.Media.insertImage(context.getContentResolver(), thumbnail, \\\"title\\\", null);\\n\\n } catch (Exception e) {\\n Toast.makeText(this.getContext(),\\\"ERROR : \\\" + e.getMessage(), Toast.LENGTH_LONG).show();\\n }\\n return Uri.parse(path);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9df56a0c3b6ecd4e6db2b2acfe784b48\",\n \"score\": \"0.59696543\",\n \"text\": \"private void generateThumbnail() {\\n\\t\\tFileOutputStream stream;\\n\\t\\ttry {\\n\\t\\t\\tstream = new FileOutputStream(thumbnailFilepath);\\n\\t\\t\\tBitmap bitmap = ThumbnailUtils.createVideoThumbnail(mediaFile.getAbsolutePath(), MediaStore.Video.Thumbnails.MINI_KIND);\\n\\t\\t\\tbitmap.compress(Bitmap.CompressFormat.JPEG, 100, stream); // 100 is highest quality\\n\\t\\t\\tLog.d(TAG, \\\"jpeg generated!!!\\\");\\n\\t\\t} catch (FileNotFoundException e) {\\n\\t\\t\\tLog.d(TAG, \\\"ApiError creating FileOutputStream.\\\");\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0b118b33618e82997a35137f841f2e95\",\n \"score\": \"0.59529245\",\n \"text\": \"public Image createImage(AbstractDataset thumb) throws Exception;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ada22e084b8d4355368fbbb310099acf\",\n \"score\": \"0.5921991\",\n \"text\": \"@Override\\n public void onActivityResult(int requestCode, int resultCode, Intent data) {\\n super.onActivityResult(requestCode, resultCode, data);\\n if (requestCode==0) {\\n if (resultCode == RESULT_OK) {\\n imageViewLink = data.getData();\\n imageView.setImageURI(imageViewLink);\\n }\\n }else {\\n\\n if (resultCode == RESULT_OK) {\\n try {\\n Bitmap thumbnail = (Bitmap) data.getExtras().get(\\\"data\\\");\\n // save capture picture to internal storage and get the Uri\\n imageViewLink = getImageURI(this.getContext(), thumbnail);\\n imageView.setImageURI(imageViewLink);\\n } catch (Exception e) {\\n Toast.makeText(getContext(), \\\"eEEee\\\" + e.getMessage(), Toast.LENGTH_LONG).show();\\n }\\n }\\n }\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da4a728b7a91e88564c6cd2b6f6fc3bf\",\n \"score\": \"0.58908844\",\n \"text\": \"private static final String insertImage(ContentResolver cr, Bitmap source,\\n\\t String title, String description) {\\n\\t ContentValues values = new ContentValues();\\n\\t values.put(Media.TITLE, title);\\n\\t values.put(Images.Media.DATE_TAKEN, System.currentTimeMillis());\\n\\t values.put(Images.Media.MIME_TYPE, \\\"image/jpeg\\\");\\n\\t Uri uri = null;\\n\\t String stringUrl = null; /* value to be returned */\\n\\t try {\\n\\t uri = cr.insert(Images.Media.EXTERNAL_CONTENT_URI, values);\\n\\n\\t if (source != null) {\\n\\t OutputStream imageOut = cr.openOutputStream(uri);\\n\\n\\t try {\\n\\t source.compress(Bitmap.CompressFormat.JPEG, 100, imageOut);\\n\\t } finally { \\n\\t imageOut.close();\\n\\t }\\n\\n\\t long id = ContentUris.parseId(uri);\\n\\t // Wait until MINI_KIND thumbnail is generated.\\n\\t Bitmap miniThumb = Images.Thumbnails.getThumbnail(cr, id,\\n\\t Images.Thumbnails.MINI_KIND, null);\\n\\t } else {\\n\\t cr.delete(uri, null, null);\\n\\t uri = null;\\n\\t }\\n\\t } catch (Exception e) {\\n\\t if (uri != null) {\\n\\t cr.delete(uri, null, null);\\n\\t uri = null;\\n\\t }\\n\\t }\\n\\t if (uri != null) {\\n\\t stringUrl = uri.toString();\\n\\t }\\n\\t return stringUrl;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d41e354f04ff1ca6a62019e66de22935\",\n \"score\": \"0.5861685\",\n \"text\": \"@Override\\n protected void onActivityResult(int requestCode, int resultCode, Intent data) {\\n Log.i(LOG, \\\"onActivityResult()\\\");\\n if(resultCode == RESULT_OK) {\\n if (requestCode == REQUEST_IMAGE_CAPTURE) {\\n Log.i(LOG, \\\"REQUEST_IMAGE_CAPTURE\\\");\\n // get the URI of the file\\n image = new File(mCurrentPhotoPath);\\n Uri contentUri = Uri.fromFile(image);\\n // upload image\\n imageName = uploadImage(this, contentUri);\\n } else if(requestCode == REQUEST_THUMBNAIL_CAPTURE) {\\n Log.i(LOG, \\\"REQUEST_THUMBNAIL_CAPTURE\\\");\\n // get Bitmap of thumbnail\\n Bundle extras = data.getExtras();\\n thumbnail = (Bitmap) extras.get(\\\"data\\\");\\n // upload thumbnail\\n thumbnailName = uploadThumbnail(this, thumbnail);\\n }\\n } else {\\n Log.i(LOG, \\\"Image/Thumbnail Capture failure\\\");\\n utility.toast(this, \\\"Image Capture failure\\\");\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e496d0819467e5a8ba523e7e125d882\",\n \"score\": \"0.5837736\",\n \"text\": \"public static final String insertImage(ContentResolver cr,\\n Bitmap source,\\n String title,\\n String description) {\\n\\n ContentValues values = new ContentValues();\\n values.put(MediaStore.Images.Media.TITLE, title);\\n values.put(MediaStore.Images.Media.DISPLAY_NAME, title);\\n values.put(MediaStore.Images.Media.DESCRIPTION, description);\\n values.put(MediaStore.Images.Media.MIME_TYPE, \\\"image/jpeg\\\");\\n // Add the date meta data to ensure the image is added at the front of the gallery\\n values.put(MediaStore.Images.Media.DATE_ADDED, System.currentTimeMillis());\\n values.put(MediaStore.Images.Media.DATE_TAKEN, System.currentTimeMillis());\\n\\n Uri url = null;\\n String stringUrl = null; /* value to be returned */\\n\\n try {\\n url = cr.insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values);\\n\\n if (source != null) {\\n OutputStream imageOut = cr.openOutputStream(url);\\n try {\\n source.compress(Bitmap.CompressFormat.JPEG, 100, imageOut);\\n } finally {\\n imageOut.close();\\n }\\n\\n long id = ContentUris.parseId(url);\\n // Wait until MINI_KIND thumbnail is generated.\\n Bitmap miniThumb = MediaStore.Images.Thumbnails.getThumbnail(cr, id, MediaStore.Images.Thumbnails.MINI_KIND, null);\\n // This is for backward compatibility.\\n storeThumbnail(cr, miniThumb, id, 50F, 50F, MediaStore.Images.Thumbnails.MICRO_KIND);\\n } else {\\n cr.delete(url, null, null);\\n url = null;\\n }\\n } catch (Exception e) {\\n if (url != null) {\\n cr.delete(url, null, null);\\n url = null;\\n }\\n }\\n\\n if (url != null) {\\n stringUrl = url.toString();\\n }\\n\\n return stringUrl;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cf080ee0130cb8576915abe32826e5bf\",\n \"score\": \"0.5812664\",\n \"text\": \"String getThumbnail();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"21da087ba78cb36bbde50281a5c4cf2c\",\n \"score\": \"0.57977194\",\n \"text\": \"void setThumbnail(String thumbnail);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0492af1a65ef3d3b5da4439a28c619a2\",\n \"score\": \"0.57880557\",\n \"text\": \"public ImageView getThumbnail() {\\n\\t\\treturn new ImageView(new Image(getPhotoURL(), 150, 150, true, true));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"55cc87e2e5b98ae9fcb73f2ff1a7f21b\",\n \"score\": \"0.57230383\",\n \"text\": \"public String createThumbnailForImage(String imagePath) {\\n if (TextUtils.isEmpty(imagePath)) {\\n return null;\\n }\\n File inFile = new File(imagePath);\\n if (!inFile.exists()) {\\n return null;\\n }\\n File thumbnailFile = randomPath(imagePath);\\n if (thumbnailFile.exists()) {\\n return thumbnailFile.getAbsolutePath();\\n }\\n Bitmap inBitmap = readImageFromPath(imagePath, THUMBNAIL_SIZE, THUMBNAIL_SIZE);\\n if (inBitmap == null) {\\n return null;\\n }\\n ByteArrayOutputStream compressStream = new ByteArrayOutputStream();\\n inBitmap.compress(Bitmap.CompressFormat.JPEG, THUMBNAIL_QUALITY, compressStream);\\n try {\\n compressStream.close();\\n thumbnailFile.createNewFile();\\n FileOutputStream writeStream = new FileOutputStream(thumbnailFile);\\n writeStream.write(compressStream.toByteArray());\\n writeStream.flush();\\n writeStream.close();\\n return thumbnailFile.getAbsolutePath();\\n } catch (Exception ignored) {\\n return null;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5c544e0baa0991dff454fb1830c448cd\",\n \"score\": \"0.5653177\",\n \"text\": \"void setThumbnail(String path);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e6b36ee1afd1c0ad9f164d36eac09f3a\",\n \"score\": \"0.55926794\",\n \"text\": \"private void setPreviewThumbnails() {\\n Release currentRelease;\\n\\n if (mUserCollectionDB.getReleases().size() > 0) {\\n mCollectionLinearLayout.removeAllViews();\\n int previewsToLoad = 10;\\n if (mUserCollectionDB.getReleases().size() < 10) {\\n previewsToLoad = mUserCollectionDB.getReleases().size();\\n }\\n for (int i = 0; i < previewsToLoad; i++) {\\n currentRelease = mUserCollectionDB.getReleases().get(i);\\n ImageView imageView = new ImageView(getContext());\\n imageView.setPadding(2, 2, 2, 2);\\n LinearLayout.LayoutParams parms = new LinearLayout.LayoutParams(300, 300);\\n imageView.setLayoutParams(parms);\\n\\n if (!currentRelease.getThumbUrl().equals(\\\"\\\")) {\\n if (currentRelease.getThumbDir().equals(\\\"\\\")) {\\n DownloadPreviewThumbnail(\\\"Collection\\\", i, currentRelease.getReleaseId(), imageView);\\n } else {\\n imageView.setImageBitmap(BitmapFactory.decodeFile(currentRelease.getThumbDir()));\\n final Release finalCurrentRelease = currentRelease;\\n imageView.setOnClickListener(new View.OnClickListener() {\\n @Override\\n public void onClick(View v) {\\n Intent intent = ReleaseActivity.newIntent(getActivity(),\\n finalCurrentRelease.getId(), \\\"Collection\\\");\\n startActivity(intent);\\n }\\n });\\n mCollectionLinearLayout.addView(imageView);\\n }\\n } else {\\n currentRelease.setThumbUrl(\\\"local\\\");\\n Bitmap blankAlbumBitmap = BitmapFactory.decodeResource(getResources(), R.drawable.album_blank);\\n // path to /data/data/yourapp/app_data/imageDir\\n ContextWrapper cw = new ContextWrapper(getContext());\\n\\n String thumbDir = \\\"CollectionCovers\\\";\\n File directory = cw.getDir(thumbDir, Context.MODE_PRIVATE);\\n\\n // Create imageDir\\n File filePath = new File(directory, \\\"release_\\\" +\\n currentRelease.getReleaseId() + \\\"_cover.jpeg\\\");\\n\\n FileOutputStream fos = null;\\n try {\\n fos = new FileOutputStream(filePath);\\n blankAlbumBitmap.compress(Bitmap.CompressFormat.JPEG, 100, fos);\\n } catch (FileNotFoundException e) {\\n e.printStackTrace();\\n } finally {\\n try {\\n if (fos != null) {\\n fos.close();\\n }\\n } catch (IOException e) {\\n e.printStackTrace();\\n }\\n }\\n\\n currentRelease.setThumbDir(filePath.getAbsolutePath());\\n mUserCollectionDB.updateRelease(currentRelease);\\n\\n imageView.setImageBitmap(blankAlbumBitmap);\\n final Release finalCurrentRelease = currentRelease;\\n imageView.setOnClickListener(new View.OnClickListener() {\\n @Override\\n public void onClick(View v) {\\n Intent intent = ReleaseActivity.newIntent(getActivity(),\\n finalCurrentRelease.getId(), \\\"Collection\\\");\\n startActivity(intent);\\n }\\n });\\n mCollectionLinearLayout.addView(imageView);\\n }\\n }\\n Log.i(\\\"Preview Load\\\", \\\"Loaded \\\" + previewsToLoad + \\\" Collection previews from setPreviewThumbnails Loop\\\");\\n } else {\\n mCollectionLinearLayout.removeAllViews();\\n TextView emptyMessageTextView = (TextView) getActivity()\\n .getLayoutInflater().inflate(R.layout.list_empty_list_text_view, null);\\n String emptyMessageString = \\\"Collection is Empty\\\";\\n emptyMessageTextView.setText(emptyMessageString);\\n mCollectionLinearLayout.addView(emptyMessageTextView);\\n }\\n\\n\\n if (mUserWantlistDB.getReleases().size() > 0) {\\n mWantlistLinearLayout.removeAllViews();\\n int previewsToLoad = 10;\\n if (mUserWantlistDB.getReleases().size() < 10) {\\n previewsToLoad = mUserWantlistDB.getReleases().size();\\n }\\n for (int i = 0; i < previewsToLoad; i++) {\\n currentRelease = mUserWantlistDB.getReleases().get(i);\\n ImageView imageView = new ImageView(getContext());\\n imageView.setPadding(2, 2, 2, 2);\\n LinearLayout.LayoutParams parms = new LinearLayout.LayoutParams(300, 300);\\n imageView.setLayoutParams(parms);\\n\\n if (!currentRelease.getThumbUrl().equals(\\\"\\\")) {\\n if (currentRelease.getThumbDir().equals(\\\"\\\")) {\\n DownloadPreviewThumbnail(\\\"Wantlist\\\", i, currentRelease.getReleaseId(), imageView);\\n } else {\\n imageView.setImageBitmap(BitmapFactory.decodeFile(currentRelease.getThumbDir()));\\n final Release finalCurrentRelease = currentRelease;\\n imageView.setOnClickListener(new View.OnClickListener() {\\n @Override\\n public void onClick(View v) {\\n Intent intent = ReleaseActivity.newIntent(getActivity(),\\n finalCurrentRelease.getId(), \\\"Wantlist\\\");\\n startActivity(intent);\\n }\\n });\\n mWantlistLinearLayout.addView(imageView);\\n }\\n } else {\\n currentRelease.setThumbUrl(\\\"local\\\");\\n Bitmap blankAlbumBitmap = BitmapFactory.decodeResource(getResources(), R.drawable.album_blank);\\n // path to /data/data/yourapp/app_data/imageDir\\n ContextWrapper cw = new ContextWrapper(getContext());\\n\\n String thumbDir = \\\"WantlistCovers\\\";\\n File directory = cw.getDir(thumbDir, Context.MODE_PRIVATE);\\n\\n // Create imageDir\\n File filePath = new File(directory, \\\"release_\\\" +\\n currentRelease.getReleaseId() + \\\"_cover.jpeg\\\");\\n\\n FileOutputStream fos = null;\\n try {\\n fos = new FileOutputStream(filePath);\\n blankAlbumBitmap.compress(Bitmap.CompressFormat.JPEG, 100, fos);\\n } catch (FileNotFoundException e) {\\n e.printStackTrace();\\n } finally {\\n try {\\n if (fos != null) {\\n fos.close();\\n }\\n } catch (IOException e) {\\n e.printStackTrace();\\n }\\n }\\n\\n currentRelease.setThumbDir(filePath.getAbsolutePath());\\n mUserWantlistDB.updateRelease(currentRelease);\\n\\n imageView.setImageBitmap(blankAlbumBitmap);\\n final Release finalCurrentRelease = currentRelease;\\n imageView.setOnClickListener(new View.OnClickListener() {\\n @Override\\n public void onClick(View v) {\\n Intent intent = ReleaseActivity.newIntent(getActivity(),\\n finalCurrentRelease.getId(), \\\"Wantlist\\\");\\n startActivity(intent);\\n }\\n });\\n mWantlistLinearLayout.addView(imageView);\\n }\\n }\\n Log.i(\\\"Preview Load\\\", \\\"Loaded \\\" + previewsToLoad + \\\" Wantlist previews from setPreviewThumbnails Loop\\\");\\n } else {\\n mWantlistLinearLayout.removeAllViews();\\n TextView emptyMessageTextView = (TextView) getActivity()\\n .getLayoutInflater().inflate(R.layout.list_empty_list_text_view, null);\\n String emptyMessageString = \\\"Wantlist is Empty\\\";\\n emptyMessageTextView.setText(emptyMessageString);\\n mWantlistLinearLayout.addView(emptyMessageTextView);\\n\\n// LinearLayout.LayoutParams layoutParams =\\n// (LinearLayout.LayoutParams) emptyMessageTextView.getLayoutParams();\\n// layoutParams.weight = 1.0f;\\n// layoutParams.gravity = Gravity.CENTER;\\n// emptyMessageTextView.setLayoutParams(layoutParams);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c1cfb9809904510ad2b3971d2c8bb0d4\",\n \"score\": \"0.5577634\",\n \"text\": \"public byte[] getThumbnail()\\n {\\n return this.thumbnail;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2c3857316b1b903b967d53afb5a04c26\",\n \"score\": \"0.5575989\",\n \"text\": \"public String getThumbnail()\\n {\\n return thumbnail;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"abb40546fd24a398d4d00bb40b8f3d8d\",\n \"score\": \"0.5556565\",\n \"text\": \"private BufferedImage createThumbnail(BufferedImage image) throws Exception {\\n\\t\\treturn scale(image, 0.2);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2fdc1ec8c3f4bc0350b576a82b869e0e\",\n \"score\": \"0.5545297\",\n \"text\": \"public void saveImage()\\n {\\n String fileName = \\\"ETCH_A_SKETCH\\\" + currentTimeMillis();\\n\\n // configure new image's data setting empty ContentValues (adds a key-value pair to ContentValues object)\\n ContentValues values = new ContentValues();\\n values.put(MediaStore.Images.Media.TITLE, fileName); // specify file name\\n values.put(MediaStore.Images.Media.DATE_ADDED, currentTimeMillis()); // specify when it was saved\\n values.put(MediaStore.Images.Media.MIME_TYPE, \\\"image/jpg\\\"); // specify its type\\n\\n // calls its insert method to get a Uniform Resource Identifier where the image will be stored\\n Uri uri = getContext().getContentResolver().insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values);\\n\\n try\\n {\\n // get an output stream to URI\\n OutputStream outStream = getContext().getContentResolver().openOutputStream(uri);\\n\\n // copy bitmap to OutputStream without loss of quality\\n bitmap.compress(Bitmap.CompressFormat.JPEG, 100, outStream);\\n\\n // force data to be written\\n outStream.flush();\\n // further write() or flush() invocations will cause an IOException\\n outStream.close();\\n\\n // if file was saved successfully, use a Toast to indicate this\\n Toast message = Toast.makeText(getContext(), R.string.message_saved, Toast.LENGTH_SHORT);\\n message.setGravity(Gravity.CENTER, message.getXOffset() / 2, message.getYOffset() / 2);\\n message.show();\\n }\\n\\n // if something went wrong, show error message\\n catch (FileNotFoundException e)\\n {\\n e.printStackTrace();\\n\\n Toast message = Toast.makeText(getContext(), R.string.message_error, Toast.LENGTH_SHORT);\\n message.setGravity(Gravity.CENTER, message.getXOffset() / 2, message.getYOffset() / 2);\\n message.show();\\n }\\n\\n catch (IOException e)\\n {\\n e.printStackTrace();\\n\\n Toast message = Toast.makeText(getContext(), R.string.message_error, Toast.LENGTH_SHORT);\\n message.setGravity(Gravity.CENTER, message.getXOffset() / 2, message.getYOffset() / 2);\\n message.show();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"917e649ddeee33aa633b0510ef1457ea\",\n \"score\": \"0.55119056\",\n \"text\": \"private void setThumbnailImage(ListingDetailsViewHolder holder) {\\n ListingDetails item = holder.mItem;\\n String imageURL = getImageURL(item, 0);\\n if (!imageURL.isEmpty()) {\\n Log.i(TAG, \\\"Loading image \\\" + imageURL);\\n Picasso.get().load(imageURL).resize(holder.mThumbnailView.getWidth(),500).centerCrop().into(holder.mThumbnailView);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f901afcc473ae507c626f3740d600491\",\n \"score\": \"0.54684246\",\n \"text\": \"void onCompletedLoadSongThumbnail(Bitmap thumbnailImage);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75c80cad3409415f8e10ae8cb5c42a18\",\n \"score\": \"0.54608345\",\n \"text\": \"public void setThumbnail(@Nullable ThumbnailData thumbnailData) {\\n mThumbnailDrawable.setCurrentDrawable(getSafeThumbnail(thumbnailData));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b706cb111942c38c478360fff1f55828\",\n \"score\": \"0.5429891\",\n \"text\": \"@Override\\n protected Bitmap doInBackground(ArtistInfo... params) {\\n String CACHE_ART_THUMBS = MyApp.getContext().getCacheDir() + \\\"/art_thumbs/\\\";\\n String actual_file_path = CACHE_ART_THUMBS + params[0].getOriginalArtist();\\n File f = new File(CACHE_ART_THUMBS);\\n if (!f.exists()) {\\n f.mkdir();\\n }\\n if (!new File(actual_file_path).exists()) {\\n //create file\\n FileOutputStream fos = null;\\n try {\\n fos = new FileOutputStream(new File(actual_file_path));\\n URL url = new URL(params[0].getImageUrl());\\n InputStream inputStream = url.openConnection().getInputStream();\\n byte[] buffer = new byte[1024];\\n int bufferLength = 0;\\n while ((bufferLength = inputStream.read(buffer)) > 0) {\\n fos.write(buffer, 0, bufferLength);\\n }\\n fos.close();\\n } catch (FileNotFoundException e) {\\n e.printStackTrace();\\n } catch (IOException e) {\\n e.printStackTrace();\\n }\\n\\n }\\n\\n b = BitmapFactory.decodeFile(actual_file_path);\\n return b;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a49ec7dac12cd7288f128f0257b7429c\",\n \"score\": \"0.5417286\",\n \"text\": \"public static android.graphics.Bitmap createAudioThumbnail(java.io.File r9, android.util.Size r10, android.os.CancellationSignal r11) throws java.io.IOException {\\r\\n /*\\r\\n if (r11 == 0) goto L_0x0005;\\r\\n L_0x0002:\\r\\n r11.throwIfCanceled();\\r\\n L_0x0005:\\r\\n r0 = new android.media.ThumbnailUtils$Resizer;\\r\\n r0.(r10, r11);\\r\\n r1 = new android.media.MediaMetadataRetriever;\\t Catch:{ RuntimeException -> 0x00c1 }\\r\\n r1.();\\t Catch:{ RuntimeException -> 0x00c1 }\\r\\n r2 = r9.getAbsolutePath();\\t Catch:{ all -> 0x00ba }\\r\\n r1.setDataSource(r2);\\t Catch:{ all -> 0x00ba }\\r\\n r2 = r1.getEmbeddedPicture();\\t Catch:{ all -> 0x00ba }\\r\\n r3 = 0;\\r\\n if (r2 == 0) goto L_0x0029;\\r\\n L_0x001d:\\r\\n r4 = android.graphics.ImageDecoder.createSource(r2);\\t Catch:{ all -> 0x00ba }\\r\\n r4 = android.graphics.ImageDecoder.decodeBitmap(r4, r0);\\t Catch:{ all -> 0x00ba }\\r\\n $closeResource(r3, r1);\\t Catch:{ RuntimeException -> 0x00c1 }\\r\\n return r4;\\r\\n L_0x0029:\\r\\n $closeResource(r3, r1);\\t Catch:{ RuntimeException -> 0x00c1 }\\r\\n r1 = android.os.Environment.getExternalStorageState(r9);\\r\\n r2 = \\\"unknown\\\";\\r\\n r1 = r2.equals(r1);\\r\\n if (r1 != 0) goto L_0x00b2;\\r\\n L_0x003a:\\r\\n r1 = r9.getParentFile();\\r\\n if (r1 == 0) goto L_0x0045;\\r\\n L_0x0040:\\r\\n r4 = r1.getParentFile();\\r\\n goto L_0x0046;\\r\\n L_0x0045:\\r\\n r4 = r3;\\r\\n L_0x0046:\\r\\n if (r1 == 0) goto L_0x005d;\\r\\n L_0x0048:\\r\\n r5 = r1.getName();\\r\\n r6 = android.os.Environment.DIRECTORY_DOWNLOADS;\\r\\n r5 = r5.equals(r6);\\r\\n if (r5 != 0) goto L_0x0055;\\r\\n L_0x0054:\\r\\n goto L_0x005d;\\r\\n L_0x0055:\\r\\n r2 = new java.io.IOException;\\r\\n r3 = \\\"No thumbnails in Downloads directories\\\";\\r\\n r2.(r3);\\r\\n throw r2;\\r\\n L_0x005d:\\r\\n if (r4 == 0) goto L_0x0072;\\r\\n L_0x005f:\\r\\n r5 = android.os.Environment.getExternalStorageState(r4);\\r\\n r2 = r2.equals(r5);\\r\\n if (r2 != 0) goto L_0x006a;\\r\\n L_0x0069:\\r\\n goto L_0x0072;\\r\\n L_0x006a:\\r\\n r2 = new java.io.IOException;\\r\\n r3 = \\\"No thumbnails in top-level directories\\\";\\r\\n r2.(r3);\\r\\n throw r2;\\r\\n r2 = r9.getParentFile();\\r\\n r5 = android.media.-$$Lambda$ThumbnailUtils$P13h9YbyD69p6ss1gYpoef43_MU.INSTANCE;\\r\\n r2 = r2.listFiles(r5);\\r\\n r2 = com.android.internal.util.ArrayUtils.defeatNullable(r2);\\r\\n r5 = android.media.-$$Lambda$ThumbnailUtils$qOH5vebuTwPi2G92PTa6rgwKGoc.INSTANCE;\\r\\n r6 = new android.media.-$$Lambda$ThumbnailUtils$HhGKNQZck57eO__Paj6KyQm6lCk;\\r\\n r6.(r5);\\r\\n r7 = java.util.Arrays.asList(r2);\\r\\n r7 = r7.stream();\\r\\n r7 = r7.max(r6);\\r\\n r3 = r7.orElse(r3);\\r\\n r3 = (java.io.File) r3;\\r\\n if (r3 == 0) goto L_0x00aa;\\r\\n L_0x009c:\\r\\n if (r11 == 0) goto L_0x00a1;\\r\\n L_0x009e:\\r\\n r11.throwIfCanceled();\\r\\n L_0x00a1:\\r\\n r7 = android.graphics.ImageDecoder.createSource(r3);\\r\\n r7 = android.graphics.ImageDecoder.decodeBitmap(r7, r0);\\r\\n return r7;\\r\\n L_0x00aa:\\r\\n r7 = new java.io.IOException;\\r\\n r8 = \\\"No album art found\\\";\\r\\n r7.(r8);\\r\\n throw r7;\\r\\n L_0x00b2:\\r\\n r1 = new java.io.IOException;\\r\\n r2 = \\\"No embedded album art found\\\";\\r\\n r1.(r2);\\r\\n throw r1;\\r\\n L_0x00ba:\\r\\n r2 = move-exception;\\r\\n throw r2;\\t Catch:{ all -> 0x00bc }\\r\\n L_0x00bc:\\r\\n r3 = move-exception;\\r\\n $closeResource(r2, r1);\\t Catch:{ RuntimeException -> 0x00c1 }\\r\\n throw r3;\\t Catch:{ RuntimeException -> 0x00c1 }\\r\\n L_0x00c1:\\r\\n r1 = move-exception;\\r\\n r2 = new java.io.IOException;\\r\\n r3 = \\\"Failed to create thumbnail\\\";\\r\\n r2.(r3, r1);\\r\\n throw r2;\\r\\n */\\r\\n throw new UnsupportedOperationException(\\\"Method not decompiled: android.media.ThumbnailUtils.createAudioThumbnail(java.io.File, android.util.Size, android.os.CancellationSignal):android.graphics.Bitmap\\\");\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f217b70e17302a95fab58643366977e\",\n \"score\": \"0.54111844\",\n \"text\": \"private void onCaptureImageResult(Intent data) {\\n try {\\n //bitmap1 = (Bitmap) data.getExtras().get(\\\"data\\\");\\n// ByteArrayOutputStream bytes = new ByteArrayOutputStream();\\n// bitmap1.compress(Bitmap.CompressFormat.JPEG, 90, bytes);\\n bitmap1 = MediaStore.Images.Media.getBitmap(getContentResolver(), imageUri);\\n takePictureReportAccidentFormImageView.setVisibility(View.VISIBLE);\\n takePictureReportAccidentFormImageView.setImageBitmap(bitmap1);\\n Long tsLong = System.currentTimeMillis() / 1000;\\n timestamp1 = tsLong.toString();\\n\\n } catch (IOException e) {\\n e.printStackTrace();\\n }\\n\\n\\n\\n// String root = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES).toString();\\n// File myDir = new File(root + \\\"/TLC\\\");\\n// myDir.mkdirs();\\n// Random generator = new Random();\\n// int n = 10000;\\n// n = generator.nextInt(n);\\n// fname = \\\"Image-\\\" + n + \\\".jpg\\\";\\n// File file = new File(myDir, fname);\\n// if (file.exists())\\n// file.delete();\\n// try {\\n// FileOutputStream out = new FileOutputStream(file);\\n// thumbnail.compress(Bitmap.CompressFormat.JPEG, 100, out);\\n// out.flush();\\n// out.close();\\n// }\\n// catch (Exception e) {\\n// e.printStackTrace();\\n// }\\n\\n\\n// Tell the media scanner about the new file so that it is\\n// immediately available to the user.\\n// MediaScannerConnection.scanFile(this, new String[] { file.toString() }, null,\\n// new MediaScannerConnection.OnScanCompletedListener() {\\n // public void onScanCompleted(String path, Uri uri) {\\n// Log.i(\\\"ExternalStorage\\\", \\\"Scanned \\\" + path + \\\":\\\");\\n// Log.i(\\\"ExternalStorage\\\", \\\"-> uri=\\\" + uri);\\n// }\\n// });\\n//\\n// Imagepath = \\\"/Pictures/TLC/\\\"+fname;\\n// Log.d(\\\"afdff\\\", \\\"onCaptureImageResult: \\\"+Imagepath);\\n\\n// File destination = new File(Environment.getExternalStorageDirectory(),\\n// System.currentTimeMillis() + \\\".jpg\\\");\\n// FileOutputStream fo;\\n// try {\\n// destination.createNewFile();\\n// fo = new FileOutputStream(destination);\\n// fo.write(bytes.toByteArray());\\n// fo.close();\\n// } catch (FileNotFoundException e) {\\n// e.printStackTrace();\\n// } catch (IOException e) {\\n// e.printStackTrace();\\n// }\\n// Toast.makeText(this, \\\"image save successfully\\\", Toast.LENGTH_SHORT).show();\\n\\n\\n //Toast.makeText(getApplicationContext(),\\\"take\\\"+timestamp1,Toast.LENGTH_SHORT).show();\\n\\n// takePictureReportAccidentFormImageView.setVisibility(View.VISIBLE);\\n//\\n// takePictureReportAccidentFormImageView.setImageBitmap(thumbnail);\\n\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3c90f1b837b3b14816dac9c94ecdd99c\",\n \"score\": \"0.54078835\",\n \"text\": \"public int getThumbnail(java.lang.String r19, int r20) {\\n /*\\n r18 = this;\\n r17 = 0;\\n r2 = new java.lang.StringBuilder;\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r2.();\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r4 = mcontext;\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r4 = r4.getFilesDir();\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r4 = r4.getParent();\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r2 = r2.append(r4);\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r4 = \\\"/test_thumb_img.jpg\\\";\\n r2 = r2.append(r4);\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r16 = r2.toString();\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r2 = 1;\\n r0 = r20;\\n if (r0 != r2) goto L_0x013d;\\n L_0x0024:\\n r2 = \\\"MTPJNIInterface\\\";\\n r4 = new java.lang.StringBuilder;\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r4.();\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r5 = \\\"inside getThumbnail for images for \\\";\\n r4 = r4.append(r5);\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r0 = r19;\\n r4 = r4.append(r0);\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r4 = r4.toString();\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n MTP_LOG_PRINT(r2, r4);\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r15 = r18.getImageThumbBitmap(r19);\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n if (r15 == 0) goto L_0x0090;\\n L_0x0045:\\n r9 = new java.io.ByteArrayOutputStream;\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r9.();\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r2 = android.graphics.Bitmap.CompressFormat.JPEG;\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r4 = 60;\\n r15.compress(r2, r4, r9);\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r8 = r9.toByteArray();\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r0 = r8.length;\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r17 = r0;\\n r13 = new java.io.FileOutputStream;\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r0 = r16;\\n r13.(r0);\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r13.write(r8);\\t Catch:{ Exception -> 0x0084, OutOfMemoryError -> 0x00de }\\n r13.close();\\t Catch:{ Exception -> 0x0084, OutOfMemoryError -> 0x00de }\\n L_0x0065:\\n r15.recycle();\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n L_0x0068:\\n r2 = \\\"MTPJNIInterface\\\";\\n r4 = new java.lang.StringBuilder;\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r4.();\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r5 = \\\"image's thumb size is \\\";\\n r4 = r4.append(r5);\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r0 = r17;\\n r4 = r4.append(r0);\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r4 = r4.toString();\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n MTP_LOG_PRINT(r2, r4);\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n L_0x0083:\\n return r17;\\n L_0x0084:\\n r12 = move-exception;\\n r13.close();\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n goto L_0x0065;\\n L_0x0089:\\n r12 = move-exception;\\n r12.printStackTrace();\\n r17 = 0;\\n goto L_0x0083;\\n L_0x0090:\\n r2 = \\\"MTPJNIInterface\\\";\\n r4 = new java.lang.StringBuilder;\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r4.();\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r5 = \\\"Image's bitmap is coming null try from MediaStore's API \\\";\\n r4 = r4.append(r5);\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r0 = r19;\\n r4 = r4.append(r0);\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r4 = r4.toString();\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n android.util.Log.e(r2, r4);\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r3 = android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI;\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r2 = mcontext;\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r2 = r2.getContentResolver();\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r4 = 0;\\n r5 = new java.lang.StringBuilder;\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r5.();\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r6 = \\\"_data =\\\\\\\"\\\";\\n r5 = r5.append(r6);\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r0 = r19;\\n r5 = r5.append(r0);\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r6 = \\\"\\\\\\\"\\\";\\n r5 = r5.append(r6);\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r5 = r5.toString();\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r6 = 0;\\n r7 = 0;\\n r11 = r2.query(r3, r4, r5, r6, r7);\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n if (r11 != 0) goto L_0x00e2;\\n L_0x00d6:\\n r2 = \\\"MTPJNIInterface\\\";\\n r4 = \\\"Cur is null\\\";\\n android.util.Log.e(r2, r4);\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n goto L_0x0083;\\n L_0x00de:\\n r12 = move-exception;\\n r17 = 0;\\n goto L_0x0083;\\n L_0x00e2:\\n r10 = r11.getCount();\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r14 = 0;\\n if (r10 != 0) goto L_0x00f4;\\n L_0x00e9:\\n r2 = \\\"MTPJNIInterface\\\";\\n r4 = \\\"Count is zero\\\";\\n android.util.Log.e(r2, r4);\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r11.close();\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n goto L_0x0083;\\n L_0x00f4:\\n r11.moveToFirst();\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r2 = \\\"_id\\\";\\n r2 = r11.getColumnIndex(r2);\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r14 = r11.getInt(r2);\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r11.close();\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r2 = mcontext;\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r2 = r2.getContentResolver();\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r4 = (long) r14;\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r6 = 1;\\n r7 = 0;\\n r15 = android.provider.MediaStore.Images.Thumbnails.getThumbnail(r2, r4, r6, r7);\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n if (r15 == 0) goto L_0x0068;\\n L_0x0113:\\n r9 = new java.io.ByteArrayOutputStream;\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r9.();\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r2 = android.graphics.Bitmap.CompressFormat.JPEG;\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r4 = 60;\\n r15.compress(r2, r4, r9);\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r8 = r9.toByteArray();\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r0 = r8.length;\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r17 = r0;\\n r13 = new java.io.FileOutputStream;\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r0 = r16;\\n r13.(r0);\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r13.write(r8);\\t Catch:{ Exception -> 0x0138, OutOfMemoryError -> 0x00de }\\n r13.close();\\t Catch:{ Exception -> 0x0138, OutOfMemoryError -> 0x00de }\\n L_0x0133:\\n r15.recycle();\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n goto L_0x0068;\\n L_0x0138:\\n r12 = move-exception;\\n r13.close();\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n goto L_0x0133;\\n L_0x013d:\\n r2 = 2;\\n r0 = r20;\\n if (r0 != r2) goto L_0x0083;\\n L_0x0142:\\n r15 = r18.getVideoThumbBitmap(r19);\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n if (r15 == 0) goto L_0x0189;\\n L_0x0148:\\n r9 = new java.io.ByteArrayOutputStream;\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r9.();\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r2 = android.graphics.Bitmap.CompressFormat.JPEG;\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r4 = 60;\\n r15.compress(r2, r4, r9);\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r8 = r9.toByteArray();\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r0 = r8.length;\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r17 = r0;\\n r2 = \\\"MTPJNIInterface\\\";\\n r4 = new java.lang.StringBuilder;\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r4.();\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r5 = \\\"Videos's thumbnail size is \\\";\\n r4 = r4.append(r5);\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r5 = r8.length;\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r4 = r4.append(r5);\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r4 = r4.toString();\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n MTP_LOG_PRINT(r2, r4);\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r13 = new java.io.FileOutputStream;\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r0 = r16;\\n r13.(r0);\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n r13.write(r8);\\t Catch:{ Exception -> 0x0183, OutOfMemoryError -> 0x00de }\\n r13.close();\\t Catch:{ Exception -> 0x0183, OutOfMemoryError -> 0x00de }\\n goto L_0x0083;\\n L_0x0183:\\n r12 = move-exception;\\n r13.close();\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n goto L_0x0083;\\n L_0x0189:\\n r2 = \\\"MTPJNIInterface\\\";\\n r4 = \\\"Video's bitmap is coming null\\\";\\n android.util.Log.e(r2, r4);\\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\\n goto L_0x0083;\\n */\\n throw new UnsupportedOperationException(\\\"Method not decompiled: android.mtp.MTPJNIInterface.getThumbnail(java.lang.String, int):int\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8de1f1b9196abcc2415343813129577e\",\n \"score\": \"0.54071426\",\n \"text\": \"public boolean onCreateThumbnail (Bitmap b, Canvas c) {\\n b.eraseColor(Color.BLACK);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"90659114b69c680c4a875acea2b6cb83\",\n \"score\": \"0.5387585\",\n \"text\": \"private void generateProjectThumbnail() {\\n /*\\n * If a thumbnail already exists, then delete it first\\n */\\n if ((new File(mProjectPath + \\\"/\\\" + THUMBNAIL_FILENAME)).exists()) {\\n (new File(mProjectPath + \\\"/\\\" + THUMBNAIL_FILENAME)).delete();\\n }\\n /*\\n * Generate a new thumbnail for the project from first media Item\\n */\\n if (mMediaItems.size() > 0) {\\n MediaItem mI = mMediaItems.get(0);\\n /*\\n * Keep aspect ratio of the image\\n */\\n int height = 480;\\n int width = mI.getWidth() * height / mI.getHeight();\\n\\n Bitmap projectBitmap = null;\\n String filename = mI.getFilename();\\n if (mI instanceof MediaVideoItem) {\\n MediaMetadataRetriever retriever = new MediaMetadataRetriever();\\n retriever.setDataSource(filename);\\n Bitmap bitmap = retriever.getFrameAtTime();\\n retriever.release();\\n retriever = null;\\n if (bitmap == null) {\\n String msg = \\\"Thumbnail extraction from \\\" +\\n filename + \\\" failed\\\";\\n throw new IllegalArgumentException(msg);\\n }\\n // Resize the thumbnail to the target size\\n projectBitmap =\\n Bitmap.createScaledBitmap(bitmap, width, height, true);\\n } else {\\n try {\\n projectBitmap = mI.getThumbnail(width, height, 500);\\n } catch (IllegalArgumentException e) {\\n String msg = \\\"Project thumbnail extraction from \\\" +\\n filename + \\\" failed\\\";\\n throw new IllegalArgumentException(msg);\\n } catch (IOException e) {\\n String msg = \\\"IO Error creating project thumbnail\\\";\\n throw new IllegalArgumentException(msg);\\n }\\n }\\n\\n try {\\n FileOutputStream stream = new FileOutputStream(mProjectPath + \\\"/\\\"\\n + THUMBNAIL_FILENAME);\\n projectBitmap.compress(Bitmap.CompressFormat.JPEG, 100, stream);\\n stream.flush();\\n stream.close();\\n } catch (IOException e) {\\n throw new IllegalArgumentException (\\\"Error creating project thumbnail\\\");\\n } finally {\\n projectBitmap.recycle();\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0b1c761b59567a0ae272da87c1c0d0c5\",\n \"score\": \"0.5381621\",\n \"text\": \"private String linkToThumb(URL imageURL, float previewW, float previewH) {\\n File imageFile = (\\\"file\\\".equals(imageURL.getProtocol())) ?\\n new File(imageURL.getPath()) : ImageUtilities.getCachedAssetFileForURL(imageURL);\\n LOG.info(\\\" linkToThumb: imageFile = \\\" + imageFile.toString());\\n\\n /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*\\n * determine if this is an image -- can javax.imageio can process this it? \\n * If not, FAIL, else, provide ImageReader which contains information about the image ...\\n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/\\n NSSize imageSize = ImageUtilities.getImageDimensions(imageFile);\\n if (imageSize == null) {\\n LOG.error(\\\" linkToThumb: ImageUtilities.getImageDimensions(\\\" + imageFile + \\\") == NULL\\\");\\n return null;\\n }\\n \\n /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*\\n * ... what's the smaller transform that will make the image fit our preview size ?\\n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/\\n float scale = Math.min(previewW / imageSize.width(), previewH / imageSize.height());\\n\\n try {\\n /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*\\n * break down the original full-size image file's URL ...\\n * \\n * <-------- ImagesURL --------->\\n * imageLink: http://localhost/Pachy3/images/Archive-9876/ImageFile-1234.png\\n * <-------- originalName -------->\\n * imageName: /Archive-9876/ImageFile-1234.png\\n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/\\n String imageLink = imageURL.toString();\\n String imageName = imageLink.substring(absAssetsDirLink.length());\\n\\n /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*\\n * NOTE: All thumbnail images are created as jpegs and will get the extension \\\".jpg\\\" UNLESS the \\n * original file was a jpeg with the \\\".jpeg\\\" extension in which case that extension is kept. \\n * That allows the uploading of two files such as \\\"oval.jpg\\\" and \\\"oval.jpeg\\\" which may be \\n * different images entirely.\\n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/\\n String thumbName = imageName.substring(0, imageName.lastIndexOf(\\\".\\\")) + \\n ((imageName.toLowerCase().endsWith(\\\".jpeg\\\")) ? \\\".jpeg\\\" : \\\".jpg\\\");\\n /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*\\n * thumbName: /Archive-9876/ImageFile-1234.jpg\\n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*\\n * create a File for the absolute path to the final thumbnail destination\\n * \\n * <------------- \\\"ThumbsDir\\\" --------------><--------- thumbName ---------->\\n * thumbFile: /Library/WebServer/Documents/Pachy3/thumbs/Archive-9876/ImageFile-1234.jpg\\n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/\\n File thumbFile = new File(new File(defaults.getString(\\\"ThumbsDir\\\")), thumbName);\\n\\n /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*\\n * If the thumb file doesn't exist, create it, but note that you can't create an intermediate\\n * directory automatically if IT doesn't exist (as in the case of an archive being uploaded),\\n * so create it first, if necessary.\\n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/\\n if (!thumbFile.exists()) {\\n if (!thumbFile.getParentFile().exists()) {\\n LOG.info(\\\" linkToThumb: created 'archive' directory: \\\" + thumbFile.getParentFile().getName()); \\n thumbFile.getParentFile().mkdirs();\\n }\\n thumbFile.createNewFile();\\n\\n String jpegQualString = defaults.getString(\\\"ImageMagickJPEGCompressionQuality\\\");\\n int jpegQualNumber = (jpegQualString == null) ? 75 : (new Integer(jpegQualString)).intValue();\\n\\n /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*\\n * resize the imageFile into the thumbFile ...\\n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/\\n if (!ImageUtilities.resize(imageFile, thumbFile, \\n imageSize.width() * scale, imageSize.height() * scale, jpegQualNumber)) return null; \\n \\n if (!thumbFile.exists()) {\\n LOG.error(\\\" linkToThumb: \\\" + thumbFile.toString() + \\\" does not exist; returning null.\\\");\\n return null;\\n }\\n }\\n \\n String thumbLink = absThumbsDirLink + thumbName;\\n /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*\\n * <------- \\\"ThumbsURL\\\" -------->\\n * thumbLink: http://localhost/Pachy3/thumbs/Archive-9876/ImageFile-1234.jpg\\n * <--------- thumbName ---------->\\n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/\\n LOG.info(\\\" linkToThumb: thumbLink = \\\" + thumbLink);\\n \\n return thumbLink;\\n } \\n catch (Exception x) {\\n LOG.error(\\\" linkToThumb: An error occurred: \\\", x);\\n }\\n \\n return null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"938d34e5f42a212722f3eb6556f2276f\",\n \"score\": \"0.53809726\",\n \"text\": \"public static BufferedImage getThumbnailOfImage(BufferedImage originalImage){\\r\\n\\t \\tBufferedImage resizedImage = new BufferedImage(IMG_WIDTH_Thumbnail, IMG_HEIGHT_Thumbnail,getImageType(originalImage));\\r\\n\\t \\tGraphics2D g = resizedImage.createGraphics();\\r\\n\\t \\tg.drawImage(originalImage, 0, 0, IMG_WIDTH_Thumbnail, IMG_HEIGHT_Thumbnail, null);\\r\\n\\t \\tg.dispose();\\r\\n\\t \\r\\n\\t \\treturn resizedImage; \\r\\n\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c93f09b73377fc3bc91aaf9f945e0ea4\",\n \"score\": \"0.53727055\",\n \"text\": \"public interface IThumbnailService extends IFileIconService{\\r\\n\\r\\n\\t/**\\r\\n\\t * Create a sqaure image from a specified file, f of given side size, size in pixels.\\r\\n\\t * @param f\\r\\n\\t * @param size\\r\\n\\t * @return\\r\\n\\t */\\r\\n\\tpublic Image createImage(final File f, final int size);\\r\\n\\r\\n\\t/**\\r\\n\\t * Get a thumbnail AbstractDataset of square shape.\\r\\n\\t * @param set - must be 2D set\\r\\n\\t * @param size\\r\\n\\t * @return\\r\\n\\t */\\r\\n\\tpublic AbstractDataset getThumbnail(AbstractDataset set, int size);\\r\\n\\r\\n\\t/**\\r\\n\\t * Create an image from an AbstractDataset\\r\\n\\t * @param thumb - must be 2D set\\r\\n\\t * @return\\r\\n\\t */\\r\\n\\tpublic Image createImage(AbstractDataset thumb) throws Exception;\\r\\n\\t\\r\\n\\t/**\\r\\n\\t * Main method for thumbnails, deals with 1D and 2D set thumbnails.\\r\\n\\t * @param set\\r\\n\\t * @param size\\r\\n\\t * @return\\r\\n\\t */\\r\\n\\tpublic Image getThumbnailImage(AbstractDataset set, int size) throws Exception;\\r\\n\\t\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"de953ba9e4b7cb65cba7c64e8f259047\",\n \"score\": \"0.5363111\",\n \"text\": \"private void saveScaledPhotoOnParse(Bitmap artworkImage) {\\n\\t\\t\\n\\t\\t//Resize photo from camera byte array\\n\\t\\t//Bitmap artworkImage = BitmapFactory.decodeByteArray(data, 0, data.length);\\n\\t\\t//Bitmap artworkImageScaled = Bitmap.createScaledBitmap(artworkImage, 200, 200 * artworkImage.getHeight() / artworkImage.getWidth(), false);\\n\\t\\tprogressDialog = new ProgressDialog(getActivity());\\n\\t\\tprogressDialog.setTitle(\\\"Please wait.\\\");\\n\\t\\tprogressDialog.setMessage(\\\"Saving your picture. Please wait.\\\");\\n\\t\\tprogressDialog.show();\\n\\t\\t\\n\\t\\tByteArrayOutputStream bos = new ByteArrayOutputStream();\\n\\t\\tartworkImage.compress(Bitmap.CompressFormat.JPEG, 100, bos);\\n\\n\\t\\tbyte[] scaledData = bos.toByteArray();\\n\\t\\t// Save the scaled image to Parse\\n\\t\\tphotoFile = new ParseFile(\\\"artwork_photo.jpg\\\", scaledData);\\n\\t\\t\\n\\t\\tartwork = new Artwork();\\n\\t\\t\\n\\t\\t// Add data to the artwork object\\n\\t\\tartwork.setPhotoFile(photoFile);\\n\\n\\t\\tartwork.setTitle(pictureTitle.getText().toString());\\n\\n\\t\\t// Associate the artwork with the current user\\n\\t\\tartwork.setPictureAuthor(ParseUser.getCurrentUser());\\n\\n\\t\\t//Add the location\\n\\t\\tfinal ParseGeoPoint userLocation = geoPointFromLocation(getLocation());\\n\\t\\tif(userLocation != null) \\n\\t\\t\\tartwork.setLocation(userLocation);\\n\\t\\t\\n\\t\\t// If the user added a photo, that data will be added in the CameraFragment\\n\\n\\t\\t// Save the artwork and return\\n\\t\\tartwork.saveInBackground(new SaveCallback() {\\n\\n\\t\\t\\t@Override\\n\\t\\t\\tpublic void done(ParseException e) {\\n\\t\\t\\t\\tif (e != null) {\\n\\t\\t\\t\\t\\tprogressDialog.dismiss();\\n\\t\\t\\t\\t\\tToast.makeText(\\n\\t\\t\\t\\t\\t\\t\\tgetActivity().getApplicationContext(),\\n\\t\\t\\t\\t\\t\\t\\t\\\"Error saving: \\\" + e.getMessage(),\\n\\t\\t\\t\\t\\t\\t\\tToast.LENGTH_SHORT).show();\\n\\t\\t\\t\\t} else {\\n\\n\\t\\t\\t\\t\\t//delete the temporary picture and come back to the cameraFragment\\n\\t\\t\\t\\t\\tgetActivity().deleteFile(\\\"temporaryPicture.jpg\\\");\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t//debug, see if deleted\\n\\t\\t\\t\\t\\t((WallkActivity)getActivity()).logFilesSaved();\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\tprogressDialog.dismiss();\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t//go to user pictures gallery\\n\\t\\t\\t\\t\\tGalleryFragment galleryFragment = ((WallkActivity)getActivity()).getGalleryFrag();\\n\\t\\t\\t\\t\\t((WallkActivity) getActivity()).showFragment(galleryFragment);\\n\\t\\t\\t\\t\\tgalleryFragment.showUserArtworks();\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\n\\t\\t});\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"be7d1b07a0f57ed96a25ce7dfd243912\",\n \"score\": \"0.53404987\",\n \"text\": \"public AbstractDataset getThumbnail(AbstractDataset set, int size);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b760dee7f5f02eb297f23353d6072a92\",\n \"score\": \"0.53247935\",\n \"text\": \"public interface ThumbnailRenderer {\\r\\n\\r\\n Image getRenderedThumbnail(Image scaled, RenderedThumbnailCacheIndirection rtci, boolean dummy);\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6539851b086fb018a5d4c8e63f947ba8\",\n \"score\": \"0.5295749\",\n \"text\": \"public static Bitmap getThumb(String imageLocation, int maxDimension) {\\n \\t\\ttry {\\n \\t\\t\\tFile file = new File(imageLocation);\\n \\t\\t\\tMetadata metadata = JpegMetadataReader.readMetadata(file);\\n \\t\\t\\tDirectory jpegDirectory = metadata.getDirectory(JpegDirectory.class);\\n \\t\\t\\tif (!jpegDirectory.containsTag(JpegDirectory.TAG_JPEG_IMAGE_WIDTH) || \\n \\t\\t\\t\\t\\t!jpegDirectory.containsTag(JpegDirectory.TAG_JPEG_IMAGE_HEIGHT))\\n \\t\\t\\t\\treturn null;\\n \\t\\t\\t\\n \\t\\t\\tint width = jpegDirectory.getInt(JpegDirectory.TAG_JPEG_IMAGE_WIDTH);\\n \\t\\t\\tint height = jpegDirectory.getInt(JpegDirectory.TAG_JPEG_IMAGE_HEIGHT);\\n \\t\\t\\t// Make sure we keep the aspect ratio, with a maximum edge of maxDimension\\n \\t\\t\\tfloat factor = Math.max(width / (float)maxDimension, height / (float)maxDimension);\\n \\t\\t\\tint scaledWidth = Math.max(1, (int)(width / factor));\\n \\t\\t\\tint scaledHeight = Math.max(1, (int)(height / factor));\\n \\t\\t\\t// First subsample the image without loading into memory,\\n \\t\\t\\t// then scale it to exactly the size we want\\n \\t\\t\\tBitmapFactory.Options opts = new BitmapFactory.Options();\\n \\t\\topts.inSampleSize = (int) factor; \\n \\t\\treturn Bitmap.createScaledBitmap(\\n \\t\\t\\t\\tBitmapFactory.decodeFile(imageLocation, opts),\\n \\t\\t\\t\\tscaledWidth, scaledHeight, true);\\n \\t\\t} catch (JpegProcessingException e) {\\n \\t\\t\\t//e.printStackTrace();\\n \\t\\t\\treturn null;\\n \\t\\t} catch (MetadataException e) {\\n \\t\\t\\t//e.printStackTrace();\\n \\t\\t\\treturn null;\\n\\t\\t} catch (NullPointerException e) {\\n\\t\\t\\tLog.d(TAG, \\\"Couldn't create thumbnail for \\\" + imageLocation);\\n\\t\\t\\treturn null;\\n \\t\\t}\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2c4fa7c9e3db19daa05c37fb43392a91\",\n \"score\": \"0.5278105\",\n \"text\": \"public static BufferedImage createThumbnail(BufferedImage img) {\\n \\t img = Scalr.resize(img, Method.QUALITY, 150, OP_ANTIALIAS, OP_BRIGHTER);\\r\\n \\t \\r\\n \\t // Let's add a little border before we return result.\\r\\n \\t return img;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"547d9a91737903188fbeb8d5b8c02da5\",\n \"score\": \"0.5270205\",\n \"text\": \"@Override\\r\\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\\n final String fullSizeUrl = taskSnapshot.getDownloadUrl().toString();\\r\\n\\r\\n //compress bitmap for thumbnail upload\\r\\n ByteArrayOutputStream thumbnailStream = new ByteArrayOutputStream();\\r\\n mThumbnailBitmap.compress(Bitmap.CompressFormat.JPEG, 50, thumbnailStream);\\r\\n\\r\\n //upload image to thumbnail storage:\\r\\n mCelebImageStorage.child(celebId + Constants.trim(mCelebNameEditText.getText().toString().trim())).child(\\\"thumb\\\").putBytes(thumbnailStream.toByteArray()).addOnSuccessListener(new OnSuccessListener() {\\r\\n @Override\\r\\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\\r\\n\\r\\n //get thumbnail url from upload\\r\\n String thumbnailUrl = taskSnapshot.getDownloadUrl().toString();\\r\\n\\r\\n //create new celeb for firebase database\\r\\n Celeb celeb = new Celeb(celebId, mCelebNameEditText.getText().toString(), fullSizeUrl, thumbnailUrl, 0);\\r\\n\\r\\n //upload the new created celeb to firebase database:\\r\\n mCelebDatabase.child(celebId).setValue(celeb).addOnSuccessListener(new OnSuccessListener() {\\r\\n @Override\\r\\n public void onSuccess(Void aVoid) {\\r\\n //dismiss the dialog\\r\\n mDialog.dismiss();\\r\\n\\r\\n //toast to make sure celeb saved:\\r\\n Toast.makeText(NewCelebActivity.this, \\\"Celeb saved!!\\\", Toast.LENGTH_SHORT).show();\\r\\n\\r\\n //start welcome activity and finish:\\r\\n startActivity(new Intent(NewCelebActivity.this, WelcomeActivity.class));\\r\\n finish();\\r\\n }\\r\\n });\\r\\n }\\r\\n });\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9adff318c8f1a164f4e6ab014d96773e\",\n \"score\": \"0.52586955\",\n \"text\": \"public void saveDenoisedImage() {\\n SimpleDateFormat sdf = new\\n SimpleDateFormat(\\\"yy-MM-dd_HH-mm-ss\\\");\\n String currentDateandTime = sdf.format(new Date());\\n String albumName = \\\"/MLNetAppPics\\\";\\n File file = new File(Environment.getExternalStoragePublicDirectory(\\n Environment.DIRECTORY_PICTURES), albumName);\\n if (!file.exists()) {\\n boolean bool = file.mkdirs();\\n if (!bool) {\\n Log.e(TAG,\\\"Folder not created\\\");\\n return;\\n }\\n }\\n String fileName = file.getPath() + \\\"/denoised_\\\" + currentDateandTime + \\\".jpg\\\";\\n File outFile = new File(fileName);\\n try {\\n outFile.createNewFile();\\n } catch (IOException e) {\\n e.printStackTrace();\\n }\\n try {\\n FileOutputStream os = new FileOutputStream(fileName);\\n Bitmap reconstBmp = Bitmap.createBitmap(mReconstImage.cols(), mReconstImage.rows(), Bitmap.Config.ARGB_8888);\\n MyImageProc.scaleImageUpBy255(mReconstImage);\\n Utils.matToBitmap(mReconstImage, reconstBmp);\\n reconstBmp.compress(Bitmap.CompressFormat.JPEG, 100, os);\\n addImageToGallery(fileName, ImageProcessing.this);\\n try {\\n os.flush();\\n os.close();\\n } catch (IOException e) {\\n e.printStackTrace();\\n }\\n } catch (FileNotFoundException e) {\\n e.printStackTrace();\\n }\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ff3e7735578a8cdc264c0d7a90ad01ec\",\n \"score\": \"0.5252788\",\n \"text\": \"public static android.graphics.Bitmap createVideoThumbnail(java.io.File r16, android.util.Size r17, android.os.CancellationSignal r18) throws java.io.IOException {\\r\\n /*\\r\\n r1 = r18;\\r\\n if (r1 == 0) goto L_0x0007;\\r\\n r18.throwIfCanceled();\\r\\n r0 = new android.media.ThumbnailUtils$Resizer;\\r\\n r2 = r17;\\r\\n r0.(r2, r1);\\r\\n r3 = r0;\\r\\n r0 = new android.media.MediaMetadataRetriever;\\t Catch:{ RuntimeException -> 0x0093 }\\r\\n r0.();\\t Catch:{ RuntimeException -> 0x0093 }\\r\\n r10 = r0;\\r\\n r0 = 0;\\r\\n r4 = r16.getAbsolutePath();\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n r10.setDataSource(r4);\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n r4 = r10.getEmbeddedPicture();\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n r11 = r4;\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n if (r11 == 0) goto L_0x0030;\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n r4 = android.graphics.ImageDecoder.createSource(r11);\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n r4 = android.graphics.ImageDecoder.decodeBitmap(r4, r3);\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n $closeResource(r0, r10);\\t Catch:{ RuntimeException -> 0x0093 }\\r\\n return r4;\\r\\n r4 = 18;\\r\\n r4 = r10.extractMetadata(r4);\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n r4 = java.lang.Integer.parseInt(r4);\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n r12 = r4;\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n r4 = 19;\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n r4 = r10.extractMetadata(r4);\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n r4 = java.lang.Integer.parseInt(r4);\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n r13 = r4;\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n r4 = 9;\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n r4 = r10.extractMetadata(r4);\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n r4 = java.lang.Long.parseLong(r4);\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n r14 = r4;\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n r4 = r17.getWidth();\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n r5 = 2;\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n if (r4 <= r12) goto L_0x0070;\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n r4 = r17.getHeight();\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n if (r4 <= r13) goto L_0x0070;\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n r4 = r14 / r5;\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n r6 = 2;\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n r4 = r10.getFrameAtTime(r4, r6);\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n r4 = java.util.Objects.requireNonNull(r4);\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n r4 = (android.graphics.Bitmap) r4;\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n $closeResource(r0, r10);\\t Catch:{ RuntimeException -> 0x0093 }\\r\\n return r4;\\r\\n r5 = r14 / r5;\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n r7 = 2;\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n r8 = r17.getWidth();\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n r9 = r17.getHeight();\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n r4 = r10;\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n r4 = r4.getScaledFrameAtTime(r5, r7, r8, r9);\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n r4 = java.util.Objects.requireNonNull(r4);\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n r4 = (android.graphics.Bitmap) r4;\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n $closeResource(r0, r10);\\t Catch:{ RuntimeException -> 0x0093 }\\r\\n return r4;\\r\\n r0 = move-exception;\\r\\n r4 = r0;\\r\\n throw r4;\\t Catch:{ all -> 0x008a, all -> 0x008d }\\r\\n r0 = move-exception;\\r\\n r5 = r0;\\r\\n $closeResource(r4, r10);\\t Catch:{ RuntimeException -> 0x0093 }\\r\\n throw r5;\\t Catch:{ RuntimeException -> 0x0093 }\\r\\n r0 = move-exception;\\r\\n r4 = new java.io.IOException;\\r\\n r5 = \\\"Failed to create thumbnail\\\";\\r\\n r4.(r5, r0);\\r\\n throw r4;\\r\\n */\\r\\n throw new UnsupportedOperationException(\\\"Method not decompiled: android.media.ThumbnailUtils.createVideoThumbnail(java.io.File, android.util.Size, android.os.CancellationSignal):android.graphics.Bitmap\\\");\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eff3de9122fcb687601fb103fc01cf50\",\n \"score\": \"0.52413565\",\n \"text\": \"public void makeArticleThumbnailRequest(SnippetArticle suggestion, Callback callback) {\\n assert !mIsDestroyed;\\n\\n if (suggestion.isContextual()) {\\n mSuggestionsSource.fetchContextualSuggestionImage(suggestion, callback);\\n } else {\\n mSuggestionsSource.fetchSuggestionImage(suggestion, callback);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b449cde8bf2bdfed4f0cd895c95c4184\",\n \"score\": \"0.52399594\",\n \"text\": \"public File saveImageToFile(File fileToSave, Bitmap bitmapToSave, Bitmap.CompressFormat compressFormat, boolean createThumbnail) throws Exception, IOException {\\n try {\\n // If external storage is not currently mounted this will fail.\\n OutputStream out = new FileOutputStream(fileToSave);\\n bitmapToSave.compress(compressFormat, 100, out);\\n out.flush();\\n out.close();\\n } catch (IOException e) {\\n // Unable to create file, likely because external storage is\\n // not currently mounted.\\n Log.e(\\\"ExternalStorage\\\", \\\"Error writing \\\" + fileToSave, e);\\n throw new IOException(\\\"Error writing \\\" + fileToSave + \\\", Exception: \\\" + e.getMessage());\\n }\\n\\n if (createThumbnail) {\\n try {\\n File thumbNailFile = new File(fileToSave.getAbsolutePath() + DOCUMENT_THUMBNAIL_SUFFIX);\\n Bitmap thumbnailBitmap = crateThumbnail(fileToSave, IMAGE_DOCUMENT_MAX_THUMBNAIL_SIZE);\\n OutputStream out = new FileOutputStream(thumbNailFile);\\n thumbnailBitmap.compress(compressFormat, 100, out);\\n out.flush();\\n out.close();\\n } catch (IOException e) {\\n // Unable to create file, likely because external storage is\\n // not currently mounted.\\n Log.e(\\\"ExternalStorage\\\", \\\"Error writing thumbnail\\\");\\n throw e;\\n }\\n }\\n return fileToSave;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"666e5dad00fd706c768f046a11104e74\",\n \"score\": \"0.5237951\",\n \"text\": \"@Override\\n public void onThumbnailError(YouTubeThumbnailView youTubeThumbnailView, YouTubeThumbnailLoader.ErrorReason errorReason) {\\n Logger.DebugLog(TAG, \\\"Youtube Thumbnail Error\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d9d80fcd4dd18d9f82162d54089addcd\",\n \"score\": \"0.5230814\",\n \"text\": \"public static Bitmap createBitmapThumbnail(Bitmap bitmap, Context context)\\n {\\n if (sIconWidth == -1)\\n {\\n final Resources resources = context.getResources();\\n sIconWidth =\\n sIconHeight =\\n (int) resources.getDimension(android.R.dimen.app_icon_size);\\n }\\n int width = sIconWidth;\\n int height = sIconHeight;\\n return Utilities.createBitmapThumbnail(bitmap, width, height);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d83ee661314cda715fe4f7a214b02a9b\",\n \"score\": \"0.5227346\",\n \"text\": \"synchronized void saveAndPostCurrentPicture() throws IOException {\\n Log.d(TAG, \\\"saveAndPostCurrentPicture\\\");\\n Picture picture = MroRequestCurrent.getInstance().getPicture(imageCurrentHdpiPath);\\n\\n // set new size of image\\n BitmapFactory.Options optionsImage = new BitmapFactory.Options();\\n optionsImage.inJustDecodeBounds = true;\\n BitmapFactory.decodeFile(imageCurrentHdpiPath, optionsImage);\\n int heightPicture = optionsImage.outHeight;\\n int widthPicture = optionsImage.outWidth;\\n int newHeightPicture = PICTURE_HEIGHT;\\n int newWidthPicture = (PICTURE_HEIGHT * widthPicture) / heightPicture;\\n optionsImage.inJustDecodeBounds = false;\\n Bitmap bitmapImage = BitmapFactory.decodeFile(imageCurrentHdpiPath);\\n Bitmap scaledBitmap = Bitmap.createScaledBitmap(bitmapImage, newWidthPicture, newHeightPicture, false);\\n\\n // compress image & create pictureTypedFile for downloading to server\\n byte[] compressedPictureByteArray = pictureUtils.compressBitmapToByteArray(scaledBitmap, PICTURE_WEIGHT, 80);\\n Bitmap compressedPictureBitmap = pictureUtils.convertByteArrayToBitmap(compressedPictureByteArray);\\n File compressedPictureFile = pictureUtils.compressBitmapToFile(compressedPictureBitmap, 75);\\n Log.d(TAG, \\\"saveAndPostCurrentPicture: size of PictureFile = \\\" + compressedPictureFile.length()/1024 + \\\" Ko\\\");\\n TypedFile compressedPictureTypedFile = new TypedFile(\\\"image/jpeg\\\", compressedPictureFile);\\n\\n // set image Picture\\n picture.setImage(pictureUtils.convertBitmapToByteArray(compressedPictureBitmap));\\n\\n // set Thumbnail to save in database\\n Bitmap bitmapThumbnail = ThumbnailUtils.extractThumbnail(PictureUtils.convertImagePathToBitmap(imageCurrentHdpiPath)\\n , THUMBNAIL_HEIGHT, THUMBNAIL_HEIGHT);\\n byte[] thumbnailByteArray = pictureUtils.compressBitmapToByteArray(bitmapThumbnail, 100);\\n picture.setThumbnail(thumbnailByteArray);\\n\\n // set idMroRequest\\n if(mroRequestCurrent != null) picture.setIdMroRequest(mroRequestCurrent.getId());\\n\\n // set infos\\n PictureInfos pictureInfos = new PictureInfos();\\n pictureInfos.setTime(System.currentTimeMillis());\\n if(currentPictureTitle != null)\\n pictureInfos.setTitle(currentPictureTitle);\\n else {\\n SimpleDateFormat simpleDateFormat = new SimpleDateFormat(\\\"'Photo prise le' dd/MM/yyyy 'à' HH:mm:ss\\\");\\n pictureInfos.setTitle(simpleDateFormat.format(new Date()));\\n }\\n picture.setInfos(pictureInfos);\\n\\n // insert picture in database\\n long pictureId = insertPictureDataBase(HibmobtechContentProvider.urlForPicture(), picture);\\n picture.setId(pictureId);\\n\\n // post picture to server\\n postPictureOld(compressedPictureTypedFile, picture);\\n finish();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d55ae840d9620477925e176d46a4bc98\",\n \"score\": \"0.5190325\",\n \"text\": \"@Override\\n protected void onActivityResult(int requestCode, int resultCode, Intent data) {\\n super.onActivityResult(requestCode, resultCode, data);\\n\\n //Processing image from camera\\n if(requestCode == CAMERA_REQUEST_CODE && resultCode == RESULT_OK)\\n {\\n ImageView userImage = (ImageView) findViewById(R.id.userImage);\\n Bitmap thumbnail = (Bitmap) data.getExtras().get(\\\"data\\\");\\n userImage.setImageBitmap(thumbnail);\\n }\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"be694023ec64e54ae86abd2fde46f372\",\n \"score\": \"0.5183455\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void onThumbnailDownloaded(ImageView imageView, Bitmap thumbnail) {\\n\\t\\t\\t\\tif (isVisible()) {\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t//on the ImageView handle\\n\\t\\t\\t\\t\\timageView.setImageBitmap(thumbnail);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"23192172f8cb6316a64d798b3b7d4ebf\",\n \"score\": \"0.51543605\",\n \"text\": \"private void onCaptureImageResult(Intent data) {\\n Bitmap thumbnail = (Bitmap) data.getExtras().get(\\\"data\\\");\\n ByteArrayOutputStream bytes = new ByteArrayOutputStream();\\n thumbnail.compress(Bitmap.CompressFormat.JPEG, 90, bytes);\\n\\n File destination = new File(Environment.getExternalStorageDirectory(),\\n System.currentTimeMillis() + \\\".jpg\\\");\\n\\n FileOutputStream fo;\\n try {\\n destination.createNewFile();\\n fo = new FileOutputStream(destination);\\n fo.write(bytes.toByteArray());\\n fo.close();\\n } catch (IOException e) {\\n e.printStackTrace();\\n }\\n ivImage.setImageBitmap(thumbnail);\\n classifyFrame();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"22b94eace323844027399c467867116a\",\n \"score\": \"0.5153785\",\n \"text\": \"List getThumbnails();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"98e4def068314ce582612e9e8fe2c7c8\",\n \"score\": \"0.5153431\",\n \"text\": \"public static File saveImageFromCamera(File f, Context context, String user, String originalName) {\\n File mediaFile = getOutputMediaFile(ORIGINAL, originalName, context, user, f.getName());\\n File mediaFileThumb = getOutputMediaFile(THUMB, originalName, context, user, f.getName());\\n\\n FileOutputStream fos = null;\\n try {\\n Bitmap bm = BitmapFactory.decodeFile(f.getAbsolutePath());\\n final BitmapFactory.Options options = new BitmapFactory.Options();\\n options.inSampleSize = 8;\\n Bitmap bmResized = BitmapFactory.decodeFile(f.getPath(), options);\\n Bitmap resized = ThumbnailUtils.extractThumbnail(bmResized, 50, 50);\\n writeFile(resized, mediaFileThumb);\\n writeFile(bm, mediaFile);\\n } catch (Exception ex) {\\n ex.printStackTrace();\\n }\\n return mediaFile;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"40db5543a883679db6d1887014df4a48\",\n \"score\": \"0.5151933\",\n \"text\": \"public String getThumbnailUrl() {\\n return thumbnailUrl;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"101e0dbd470ac0d00bd7d5872d92ce9b\",\n \"score\": \"0.51489496\",\n \"text\": \"@Override\\r\\n protected Dimension getThumbSize() {\\r\\n return new Dimension(12, 12);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5fb7d6a821bf42609e20858d126ae1d5\",\n \"score\": \"0.51479465\",\n \"text\": \"@Override\\n public void run() {\\n if(vh.position != i) {\\n return;\\n }\\n // decode the jpeg into a bitmap\\n final Bitmap bmp = getThumbnail(imageLocations[i], thumbnailSize);\\n\\n // set the bitmap (might be null)\\n // must be run on the ui thread as it alters a view and uses a non-thread safe cache\\n activity.runOnUiThread(new Runnable() {\\n @Override\\n public void run() {\\n if(imageLocations == PhotoAdapter.this.imageLocations) {\\n //Cache the image\\n if (memoryCache.get(imageLocations[i]) == null) {\\n memoryCache.put(imageLocations[i], bmp);\\n }\\n if (vh.position == i) {\\n setImage(vh.image, vh.progressBar, bmp, imageOrientations[i]);\\n }\\n }\\n }\\n });\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"26b7d424f09cf693d2b8f4ce51483ca6\",\n \"score\": \"0.51475304\",\n \"text\": \"public void handleGalleryImage(Context context, Intent data) {\\n uri = data.getData();\\n\\n try {\\n\\n /**\\n * Fetch file path\\n */\\n if (Build.VERSION.SDK_INT > 18) {\\n\\n file = new File(GalleryPathUtil.getRealPathFromURI_API19(context, uri));\\n\\n } else {\\n\\n file = new File(GalleryPathUtil.getRealPathFromURI_API11to18(context, uri));\\n }\\n\\n Bitmap bitmap = BitmapFactory.decodeFile(file.getAbsolutePath());\\n\\n\\n /**\\n * Resize Image\\n */\\n if(bitmap.getHeight() > 1200 && bitmap.getWidth() > 960) {\\n BitmapFactory.Options options = new BitmapFactory.Options();\\n options.inSampleSize = 4;\\n bitmap = BitmapFactory.decodeFile(file.getAbsolutePath(), options);\\n }\\n\\n resizeFileImage(bitmap);\\n\\n /**\\n * Prepare to upload to Azure Blob\\n */\\n Drawable drawable = new BitmapDrawable(getResources(), bitmap);\\n ImageModel imageModel = new ImageModel(drawable);\\n bitmaps.add(bitmap);\\n imageModels.add(imageModel);\\n updateSnapshotPlaceholder();\\n\\n } catch (Exception e) {\\n\\n // Log error\\n Toast.makeText(getApplicationContext(), getString(R.string.err_problem_occurred), Toast.LENGTH_LONG).show();\\n Crashlytics.logException(e);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5c215311a2e1f79e5e7fcbdaf6be3942\",\n \"score\": \"0.51194537\",\n \"text\": \"public void savePictureInGallery(){\\r\\n // Picture source : Image view in activity\\r\\n ImageView selectImage = findViewById(R.id.animePicture);\\r\\n // Convert the image to bitmap\\r\\n BitmapDrawable drawable = (BitmapDrawable) selectImage.getDrawable();\\r\\n Bitmap bitmap = drawable.getBitmap();\\r\\n\\r\\n // To greatly limit chance to have a duplicate name, we generate a big random number (not perfect):\\r\\n Random generator = new Random();\\r\\n int n = 10000;\\r\\n n = generator.nextInt(n);\\r\\n\\r\\n // Save the image in the galleria\\r\\n MediaStore.Images.Media.insertImage( getContentResolver(),\\r\\n bitmap,\\r\\n anime.getTitle() + n,\\r\\n \\\"Image from myAnimeApp\\\");\\r\\n // And notify the user with a toast\\r\\n Toast.makeText( getApplicationContext(), anime.getTitle() + \\\" picture added to gallery\\\", Toast.LENGTH_LONG).show();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bef8c254771c6e43e596a9e18378b1fd\",\n \"score\": \"0.5114538\",\n \"text\": \"private void saveImageInFirebaseStorage() {\\n\\n // create storage path for profile image in firebase storage\\n final StorageReference filepath = mImageStorage.child(String.format(\\\"CT-%05d\\\", reportCount + 1) + \\\".jpg\\\");\\n // add image to firebase storage\\n\\n String information = \\\"\\\";\\n String contact = \\\"\\\";\\n\\n information = mInformationEt.getText().toString();\\n contact = mContactEt.getText().toString();\\n\\n if (!information.equals(\\\"\\\") && !category.equals(\\\"\\\")) {\\n\\n mProgressDialog.setTitle(\\\"Please wait...\\\");\\n mProgressDialog.setMessage(\\\"Please wait while we register your report\\\");\\n mProgressDialog.setCanceledOnTouchOutside(false);\\n mProgressDialog.show();\\n\\n UploadTask uploadTask = filepath.putBytes(thumb_byte);\\n final String finalInformation = information;\\n final String finalContact = contact;\\n uploadTask.addOnCompleteListener(new OnCompleteListener() {\\n @Override\\n public void onComplete(@NonNull Task thumb_task) {\\n\\n @SuppressWarnings(\\\"VisibleForTests\\\") Uri Url = thumb_task.getResult().getDownloadUrl();\\n\\n if (Url != null) {\\n thumbDownloadUrl = Url.toString();\\n }\\n\\n if (thumb_task.isSuccessful()) {\\n\\n addDataToFirebase(category, finalInformation, thumbDownloadUrl, finalContact);\\n } else {\\n\\n Toast.makeText(ReportActivity.this, \\\"An error occured. Please try again.\\\", Toast.LENGTH_SHORT).show();\\n mProgressDialog.dismiss();\\n }\\n }\\n });\\n } else {\\n Log.d(\\\"TAG\\\", \\\"Enter category and information.\\\");\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"826c2a24fc9b788c148a4ce6881f23a4\",\n \"score\": \"0.51109505\",\n \"text\": \"@Override\\n public void onSnapshotReady(Bitmap snapshot) {\\n bitmap = snapshot;\\n try {\\n saveImage(bitmap);\\n Toast.makeText(getApplicationContext(), \\\"Image Saved\\\", Toast.LENGTH_LONG).show();\\n } catch (Exception e) {\\n e.printStackTrace();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5bb53f95a32f834c8f792ab7203db0a5\",\n \"score\": \"0.51055753\",\n \"text\": \"public void thumbnailCreated(ArrayList thumnails);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d3033e827c9f7ebb54de6aa13aa075bb\",\n \"score\": \"0.5103423\",\n \"text\": \"private static String createThumbnailUrl(String filePath) {\\n Uri thumbnailBaseUrl = Uri.parse(THUMBNAIL_BASE_URL);\\n\\n // buildUpon prepares the baseUri that we just parsed so we can add query parameters to it\\n Uri.Builder uriBuilder = thumbnailBaseUrl.buildUpon();\\n\\n // append width parameter to the Uri\\n uriBuilder.appendEncodedPath(SIZE_VALUE);\\n\\n // append file path to access this thumbnail image\\n uriBuilder.appendEncodedPath(filePath);\\n\\n Log.v(LOG_TAG, uriBuilder.toString());\\n\\n return uriBuilder.toString();\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ffadbcabdc2999fd898a84253ba7cd93\",\n \"score\": \"0.51008886\",\n \"text\": \"public MediaDesc getThumbMediaDesc ()\\n {\\n return (thumbMediaHash == null) ? Item.getDefaultThumbnailMediaFor(getType()) :\\n MediaDescFactory.createMediaDesc(thumbMediaHash, thumbMimeType, thumbConstraint);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d4a21ec64907386dd30d11ea0313fb9a\",\n \"score\": \"0.50942606\",\n \"text\": \"@Test\\n @PerformanceTest\\n public void testEnableZsdAndShotToThumbnail() {\\n if (!isSupported()) {\\n return;\\n }\\n switchToPipPhotoMode();\\n enableZsd();\\n new MetaCase(\\\"TC_Camera_PIP_0151\\\")\\n .observeBegin(new PhotoSavedObserver(1))\\n .addOperator(new CapturePhotoOperator())\\n .observeEnd()\\n .addChecker(new ThumbnailChecker(), ThumbnailChecker.INDEX_HAS_THUMB)\\n .addChecker(new PreviewChecker())\\n\\n .run();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2dc149c10e2e9efddc68a9bd51d1fb43\",\n \"score\": \"0.50729173\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void run() {\\n\\t\\t\\t\\tString path = null;\\n \\tif (TextUtils.isEmpty(thumbnailPath)&&\\n TextUtils.isEmpty(imgPath)){\\n return;\\n }\\n if (thumbnailPath != null && !TextUtils.isEmpty(thumbnailPath)){\\n path = thumbnailPath;\\n// Log.d(TAG, \\\"add thumbnailPath:\\\"+thumbnailPath);\\n isTumbnailPath = true;\\n }else if (!TextUtils.isEmpty(imgPath)){\\n path = imgPath;\\n// Log.d(TAG, \\\"add imagepath:\\\"+imgPath);\\n isTumbnailPath = false;\\n }\\n final String fPath = path;\\n try {\\n if (isTumbnailPath) {\\n bitmap = BitmapFactory.decodeFile(thumbnailPath);\\n if (bitmap == null) {\\n bitmap = getResetBitmap(imgPath);\\n }\\n\\n } else {\\n// \\tOptions options = new Options();\\n//// \\t\\t\\t\\toptions.inPreferQualityOverSpeed = true;\\n// \\t\\t\\t\\toptions.inPreferredConfig = Bitmap.Config.RGB_565;\\n// \\t\\t\\t\\t//软引用机制,注意:下面两个属性必须同时使用\\n// \\t\\t\\t\\toptions.inPurgeable = true;\\n// \\t\\t\\t\\toptions.inInputShareable = true;\\n// \\t\\t\\t bitmap = BitmapFactory.decodeFile(path,options);\\n bitmap = getResetBitmap(imgPath);\\n }\\n bitmap = centerSquareScaleBitmap(bitmap, 80);\\n \\n }catch (IOException e){\\n e.printStackTrace();\\n }\\n put(fPath,bitmap);\\n// imageView.setImageBitmap(bitmap);\\n if (callback != null){\\n handler.post(new Runnable() {\\n @Override\\n public void run() {\\n callback.loadBitMap(imageView,bitmap);\\n }\\n });\\n }\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"01a089f631ef96fd3cf132e804798041\",\n \"score\": \"0.50626856\",\n \"text\": \"@Override\\n protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {\\n super.onActivityResult(requestCode, resultCode, data);\\n\\n if (requestCode == PICK_IMAGE && resultCode == RESULT_OK){\\n imageUri = data.getData();\\n\\n try{\\n Bitmap bitmap = MediaStore.Images.Media.getBitmap(getContentResolver(), imageUri);\\n productImage.setImageBitmap(bitmap);\\n\\n //Serializing the image (String) because Firebase Realtime Datastorage is JSON based\\n //Setting Current Product image @Product_Creation\\n ByteArrayOutputStream baos = new ByteArrayOutputStream();\\n bitmap.compress(Bitmap.CompressFormat.JPEG, 100, baos);\\n byte[] imageData = baos.toByteArray();\\n String imageDataEncoded = Base64.encodeToString(imageData, Base64.DEFAULT);\\n currentProduct.setImageDataEncoded(imageDataEncoded);\\n } catch (IOException e){\\n e.printStackTrace();\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9ac9e0133b77242e19866d9061a48043\",\n \"score\": \"0.50515693\",\n \"text\": \"public void saveImage(View v) {\\n\\n Toast.makeText(DetailActivity.this, R.string.database_save, Toast.LENGTH_SHORT).show();\\n\\n\\n //insert double cloudscore, string date, string id, string service version, string url, string lat, string long\\n final LandsatModel landsatModel = new LandsatModel(model.cloudScore, detailDate, model.id, model.serviceVersion, model.url,\\n detailLat, detailLong, detailTitle);\\n\\n AppExecutors.getInstance().diskIO().execute(new Runnable() {\\n @Override\\n public void run() {\\n\\n\\n //save.setImageResource(R.drawable.save);\\n\\n // mDb.landsatDao().deleteRecord(landsatModel);\\n //Log.v(\\\"DatabaseDelete\\\", \\\"deleting satellite image from database\\\");\\n\\n\\n save.setImageResource(R.drawable.check);\\n\\n\\n mDb.landsatDao().insertRecord(landsatModel);\\n Log.v(\\\"DatabaseInsert\\\", \\\"inserting satellite image into the database\\\");\\n\\n\\n }\\n });\\n save.setEnabled(false);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"994b895975db4a844f107cf6c90e642a\",\n \"score\": \"0.50477314\",\n \"text\": \"public String thumbnailUrl() {\\n return this.thumbnailUrl;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"abba710b08a29f9ed21b431392283366\",\n \"score\": \"0.5046914\",\n \"text\": \"public File get_thumbnail_image_directory() {\\r\\n\\t\\treturn get_thumbnail_image_directory( _rootDirectory);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3c02a2e1aa80f4038e14c5b9ddf3f25b\",\n \"score\": \"0.50399435\",\n \"text\": \"public static Bitmap getThumbnail(Context mContext, Uri uri, int reqWidth, int reqHeight) {\\n\\t\\tBitmap srcBmp = BitmapUtils.decodeSampledFromUri(mContext, uri, reqWidth, reqHeight);\\n\\n\\t\\t// If picture is smaller than required thumbnail\\n\\t\\tBitmap dstBmp;\\n\\t\\tif (srcBmp.getWidth() < reqWidth && srcBmp.getHeight() < reqHeight) {\\n\\t\\t\\tdstBmp = ThumbnailUtils.extractThumbnail(srcBmp, reqWidth, reqHeight);\\n\\n\\t\\t\\t// Otherwise the ratio between measures is calculated to fit requested thumbnail's one\\n\\t\\t} else {\\n\\t\\t\\t// Cropping\\n\\t\\t\\tint x = 0, y = 0, width = srcBmp.getWidth(), height = srcBmp.getHeight();\\n\\t\\t\\tfloat ratio = ((float) reqWidth / (float) reqHeight) * ((float) srcBmp.getHeight() / (float) srcBmp\\n\\t\\t\\t\\t\\t.getWidth());\\n\\t\\t\\tif (ratio < 1) {\\n\\t\\t\\t\\tx = (int) (srcBmp.getWidth() - srcBmp.getWidth() * ratio) / 2;\\n\\t\\t\\t\\twidth = (int) (srcBmp.getWidth() * ratio);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\ty = (int) (srcBmp.getHeight() - srcBmp.getHeight() / ratio) / 2;\\n\\t\\t\\t\\theight = (int) (srcBmp.getHeight() / ratio);\\n\\t\\t\\t}\\n\\n\\t\\t\\tint rotation = neededRotation(new File(uri.getPath()));\\n\\t\\t\\tif (rotation != 0) {\\n\\t\\t\\t\\tMatrix matrix = new Matrix();\\n\\t\\t\\t\\tmatrix.postRotate(rotation);\\n\\t\\t\\t\\tdstBmp = Bitmap.createBitmap(srcBmp, x, y, width, height, matrix, true);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tdstBmp = Bitmap.createBitmap(srcBmp, x, y, width, height);\\n\\t\\t\\t}\\n\\n\\t\\t}\\n\\t\\treturn dstBmp;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"15676b73d0dacff1789192a0e1bf06a5\",\n \"score\": \"0.5033894\",\n \"text\": \"private void saveProduct() {\\n if (TextUtils.isEmpty(mProductNameView.getText().toString().trim())) {\\n showEmptyFieldsDialog();\\n return;\\n }\\n ContentValues values = new ContentValues();\\n\\n String productName = mProductNameView.getText().toString().trim();\\n int productPrice;\\n try {\\n productPrice = Integer.parseInt(mPriceView.getText().toString().trim());\\n } catch (NumberFormatException e) {\\n productPrice = 0;\\n }\\n int productQuantity;\\n try {\\n productQuantity = Integer.parseInt(mQuantityView.getText().toString().trim());\\n\\n } catch (NumberFormatException e) {\\n productQuantity = 0;\\n }\\n\\n String supplier = mSupplierView.getText().toString().trim();\\n byte[] imageStream = null;\\n if (mImageThumbnail!=null) {\\n imageStream = DbBitmapUtility.getBitmapAsByteArray(mImageThumbnail);\\n }\\n values.put(ProductEntry.COLUMN_NAME, productName);\\n values.put(ProductEntry.COLUMN_PRICE, productPrice);\\n values.put(ProductEntry.COLUMN_QUANTITY, productQuantity);\\n values.put(ProductEntry.COLUMN_SUPPLIER, supplier);\\n values.put(ProductEntry.COLUMN_IMAGE, imageStream);\\n if (mCurrentProductUri == null) {\\n Uri uri = getContentResolver().insert(ProductEntry.CONTENT_URI, values);\\n if (uri == null) {\\n Toast.makeText(this, \\\"Product Insertion Failed\\\", Toast.LENGTH_SHORT).show();\\n Log.v(LOG_TAG, \\\"Product insertion error.\\\");\\n } else {\\n Toast.makeText(this, \\\"Product Added\\\", Toast.LENGTH_SHORT).show();\\n Log.v(LOG_TAG, \\\"New row inserted. URI: \\\" + uri);\\n }\\n } else {\\n int rowsUpdated = getContentResolver().update(mCurrentProductUri, values, null, null);\\n if (rowsUpdated != 0) {\\n Toast.makeText(this, \\\"Product Updated\\\", Toast.LENGTH_SHORT).show();\\n Log.v(LOG_TAG, \\\"Product updated. ID: \\\" + ContentUris.parseId(mCurrentProductUri));\\n } else {\\n Toast.makeText(this, \\\"Product update Failed\\\", Toast.LENGTH_SHORT).show();\\n Log.v(LOG_TAG, \\\"Product update Failed. URI: \\\" + mCurrentProductUri);\\n }\\n }\\n if (getIntent().getExtras()==null){\\n Intent intent = new Intent(EditorActivity.this,CatalogActivity.class);\\n startActivity(intent);\\n }\\n finish();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dbd57161806a9e1add2ca4b1092b8542\",\n \"score\": \"0.50305736\",\n \"text\": \"private void savePhoto(NotificationInfo info, ContactInfoCache.ContactCacheEntry entry) {\\n Bitmap largeIcon = getLargeIconToDisplay(context, entry, info.getCall());\\n if (largeIcon != null) {\\n largeIcon = getRoundedIcon(context, largeIcon);\\n }\\n info.setLargeIcon(largeIcon);\\n postNotification(info);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7fcdc174fb843dc525b3cadca680dab\",\n \"score\": \"0.5001849\",\n \"text\": \"public void generateThumbnail(float scaleX, float scaleY)\\n {\\n generateThumbnail = true;\\n tScaleX = scaleX;\\n tScaleY = scaleY;\\n typeT = Type.SCALE;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8a2c99ed3cbdb8f9980de32147ee4b09\",\n \"score\": \"0.4998597\",\n \"text\": \"public interface ImageManager {\\n InputStream getImageById(long id);\\n InputStream getImageById(long id, int maxWidth, int maxHeight);\\n InputStream getThumbnailOfImage(long id, int size);\\n void saveImage(long id, InputStream inputStream);\\n void deleteImage(long id);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"416ecb8e9e0f4cf2ce91e4598b1969f2\",\n \"score\": \"0.49985552\",\n \"text\": \"public BufferedImage getThumbnail(Long id_) throws ClientException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ddcf0c6a4de5e3cfa1f5b8742469fc3c\",\n \"score\": \"0.4991648\",\n \"text\": \"@Override\\n\\tpublic void insertImage(String imageURL) {\\n\\t\\tString fileName = imageURL;\\n\\t\\tint index = fileName.lastIndexOf('/');\\n\\t\\tif (index > -1) {\\n\\t\\t\\tfileName = fileName.substring(index + 1);\\n\\t\\t}\\n\\t\\tFile test = new File(imageURL);\\n\\t\\tif (test.exists()) {\\n\\t\\t\\ttry {\\n\\t\\t\\t\\timageURL = test.toURI().toURL().toString();\\n\\t\\t\\t} catch (MalformedURLException e1) {\\n\\t\\t\\t\\te1.printStackTrace();\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tfileName = FileUtils.lowerCaseExtension(FileUtils.removeNonASCIIAndPonctuationAndBadFileNameChars(fileName));\\n\\t\\tFile tempFile = new File(System.getProperty(\\\"java.io.tmpdir\\\"), fileName);\\n\\t\\ttempFile.deleteOnExit();\\n\\t\\ttry {\\n\\t\\t\\tFileUtils.createNewFile(tempFile);\\n\\t\\t\\tFileUtils.saveToFile(tempFile, new URL(imageURL).openStream());\\n\\t\\t\\tsuper.insertImage(tempFile.toURI().toURL().toString());\\n\\t\\t} catch (MalformedURLException e) {\\n\\t\\t\\te.printStackTrace();\\n\\t\\t\\treturn;\\n\\t\\t} catch (IOException e) {\\n\\t\\t\\te.printStackTrace();\\n\\t\\t\\tsuper.insertImage(imageURL);\\n\\t\\t}\\n\\t\\tsaveRelatedObjects();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cfa726c612008fa72677206fa7fe66f2\",\n \"score\": \"0.4991445\",\n \"text\": \"@Override\\n public void run() {\\n Bitmap bitmap = getBitmapFromImageView(imageView, width);\\n\\n if (bitmap == null) {\\n if (mOnImageSavedCallback != null) {\\n mOnImageSavedCallback.onSaveFailed(\\\"Image is empty\\\");\\n }\\n return;\\n }\\n\\n // Sava bitmap to gallery\\n final String destPath = saveBitmapToGallery(imageView.getContext(), bitmap, mOnImageSavedCallback);\\n\\n new Handler(Looper.getMainLooper()).post(new Runnable() {\\n @Override\\n public void run() {\\n if (mOnImageSavedCallback != null) {\\n mOnImageSavedCallback.onSaveSucceed(destPath);\\n imageView.getContext().sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, Uri.parse(destPath)));\\n }\\n }\\n });\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"614d2c4cb232e6795f6b0473b7569241\",\n \"score\": \"0.49795035\",\n \"text\": \"int insert(TImage record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dcfe1c2eabe4dcf16c13367a10583722\",\n \"score\": \"0.4971119\",\n \"text\": \"private void storeImg() {\\t\\t\\n\\t\\tFile photo = new File(Environment.getExternalStorageDirectory(), imageName);\\n\\t\\tif (photo.exists()) {\\n\\t\\t\\tphoto.delete();\\n\\t\\t}\\n\\t\\t\\n\\t\\ttry {\\n\\t\\t\\tFileOutputStream fos = new FileOutputStream(photo.getPath());\\n\\t\\t\\tfos.write(img);\\n\\t\\t\\tfos.close();\\n\\t\\t}\\n\\t\\tcatch (IOException e) {\\n\\t\\t\\tLog.e(TAG, \\\"Exception writing to sdcard\\\");\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8c2de7457c6a80f6fcc34208e2c5cfd4\",\n \"score\": \"0.4952979\",\n \"text\": \"public static void zoomImageFromThumb(final View thumbView, final View expandedImageView, final View mView, final LinearLayout detailsLinearLayout) {\\n final Rect startBounds = new Rect();\\n final Rect finalBounds = new Rect();\\n final Point globalOffset = new Point();\\n\\n\\n // The start bounds are the global visible rectangle of the thumbnail,\\n // and the final bounds are the global visible rectangle of the container\\n // view. Also set the container view's offset as the origin for the\\n // bounds, since that's the origin for the positioning animation\\n // properties (X, Y).\\n thumbView.getGlobalVisibleRect(startBounds);\\n mView.getGlobalVisibleRect(finalBounds, globalOffset);\\n startBounds.offset(-globalOffset.x, -globalOffset.y);\\n finalBounds.offset(-globalOffset.x, -globalOffset.y);\\n\\n // Adjust the start bounds to be the same aspect ratio as the final\\n // bounds using the \\\"center crop\\\" technique. This prevents undesirable\\n // stretching during the animation. Also calculate the start scaling\\n // factor (the end scaling factor is always 1.0).\\n float startScale;\\n if ((float) finalBounds.width() / finalBounds.height()\\n > (float) startBounds.width() / startBounds.height()) {\\n // Extend start bounds horizontally\\n startScale = (float) startBounds.height() / finalBounds.height();\\n float startWidth = startScale * finalBounds.width();\\n float deltaWidth = (startWidth - startBounds.width()) / 2;\\n startBounds.left -= deltaWidth;\\n startBounds.right += deltaWidth;\\n } else {\\n // Extend start bounds vertically\\n startScale = (float) startBounds.width() / finalBounds.width();\\n float startHeight = startScale * finalBounds.height();\\n float deltaHeight = (startHeight - startBounds.height()) / 2;\\n startBounds.top -= deltaHeight;\\n startBounds.bottom += deltaHeight;\\n }\\n\\n // Hide the thumbnail and show the zoomed-in view. When the animation\\n // begins, it will position the zoomed-in view in the place of the\\n // thumbnail.\\n thumbView.setAlpha(0f);\\n expandedImageView.setVisibility(View.VISIBLE);\\n\\n // Set the pivot point for SCALE_X and SCALE_Y transformations\\n // to the top-left corner of the zoomed-in view (the default\\n // is the center of the view).\\n expandedImageView.setPivotX(0f);\\n expandedImageView.setPivotY(0f);\\n\\n // Construct and run the parallel animation of the four translation and\\n // scale properties (X, Y, SCALE_X, and SCALE_Y).\\n AnimatorSet set = new AnimatorSet();\\n set\\n .play(ObjectAnimator.ofFloat(expandedImageView, View.X,\\n startBounds.left, finalBounds.left))\\n .with(ObjectAnimator.ofFloat(expandedImageView, View.Y,\\n startBounds.top, finalBounds.top))\\n .with(ObjectAnimator.ofFloat(expandedImageView, View.SCALE_X,\\n startScale, 1f)).with(ObjectAnimator.ofFloat(expandedImageView,\\n View.SCALE_Y, startScale, 1f));\\n final long dur = 200;\\n set.setDuration(dur);\\n set.setInterpolator(new DecelerateInterpolator());\\n set.start();\\n\\n // Upon clicking the zoomed-in image, it should zoom back down\\n // to the original bounds and show the thumbnail instead of\\n // the expanded image.\\n final float startScaleFinal = startScale;\\n expandedImageView.setOnClickListener(new View.OnClickListener() {\\n @Override\\n public void onClick(View view) {\\n // Animate the four positioning/sizing properties in parallel,\\n // back to their original values.\\n AnimatorSet set = new AnimatorSet();\\n set.play(ObjectAnimator\\n .ofFloat(expandedImageView, View.X, startBounds.left))\\n .with(ObjectAnimator\\n .ofFloat(expandedImageView,\\n View.Y,startBounds.top))\\n .with(ObjectAnimator\\n .ofFloat(expandedImageView,\\n View.SCALE_X, startScaleFinal))\\n .with(ObjectAnimator\\n .ofFloat(expandedImageView,\\n View.SCALE_Y, startScaleFinal));\\n set.setDuration(dur);\\n set.setInterpolator(new DecelerateInterpolator());\\n set.addListener(new AnimatorListenerAdapter() {\\n @Override\\n public void onAnimationEnd(Animator animation) {\\n thumbView.setAlpha(1f);\\n expandedImageView.setVisibility(View.GONE);\\n }\\n\\n @Override\\n public void onAnimationCancel(Animator animation) {\\n thumbView.setAlpha(1f);\\n expandedImageView.setVisibility(View.GONE);\\n }\\n });\\n set.start();\\n\\n detailsLinearLayout.setAlpha(1.f);\\n detailsLinearLayout.setBackground(new ColorDrawable(0x00000000));\\n\\n\\n }\\n });\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f0901c90dfb71db2f86157ef0bd1bd5e\",\n \"score\": \"0.49490687\",\n \"text\": \"@Override\\n public void onThumbnailLoaded(YouTubeThumbnailView youTubeThumbnailView, String s) {\\n youTubeThumbnailLoader.release();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"669aa8e71a734ede24ee2f9bf3e924e4\",\n \"score\": \"0.4943212\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void setViewImage(ImageView v, String value) {\\n\\t\\t\\t\\tsuper.setViewImage(v, value);\\n\\t\\t\\t\\tImageUtil.setThumbnailView(value, v, mContext,\\n\\t\\t\\t\\t\\t\\tnew imageCallback(), false);\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5fd38bfcc0bc70e2de483893f4093b91\",\n \"score\": \"0.49426243\",\n \"text\": \"@Override\\n protected void onActivityResult(int requestCode, int resultCode, Intent data) {\\n super.onActivityResult(requestCode, resultCode, data);\\n if (requestCode == REQUEST_IMAGE_CAPTURE && resultCode == RESULT_OK) {\\n PlantDataHandler db = new PlantDataHandler(getApplicationContext());\\n //Adding picture here\\n db.updatePlant(plant.getId(), \\\"filenameCustomPicture\\\", currentPhotoPath.toString());\\n plant.setFilenameCustomPicture(currentPhotoPath);\\n TextView plant_textImageView = findViewById(R.id.textImageView);\\n ImageView plant_detail_img = (ImageView) findViewById(R.id.myPlantPicture);\\n new MyPlantsListAdapter(db.getPlants(), getApplicationContext()).notifyDataSetChanged();\\n\\n try {\\n File f = new File(currentPhotoPath);\\n Bitmap b = BitmapFactory.decodeStream(new FileInputStream(f));\\n plant_detail_img.setImageBitmap(b);\\n } catch (FileNotFoundException e) {\\n e.printStackTrace();\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9f5876b350bfafe51817294e505453a4\",\n \"score\": \"0.4941785\",\n \"text\": \"@Override\\n protected void saveToGallery() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"557cd5f119fa83f07a9531a5ed914b27\",\n \"score\": \"0.49346593\",\n \"text\": \"public boolean addGalleryImage(String userUuid, byte[] imageBytes,String mimeType, String fileName);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"591b99dde79f74c5bcf721a69952f47d\",\n \"score\": \"0.49258968\",\n \"text\": \"void setMovieThumbnail(final Context context, final String imageUrl) {\\n Glide.with(context)\\n .load(imageUrl)\\n .into(mMovieThumbnail);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"14b4fb5e35f24ada435ff0ae4483d2f0\",\n \"score\": \"0.4918435\",\n \"text\": \"public static File saveImageFromCamera(File f, Context context, String user) {\\n File mediaFile = getOutputMediaFile(ORIGINAL, f.getName(), context, user);\\n File mediaFileThumb = getOutputMediaFile(THUMB, f.getName(), context, user);\\n\\n FileOutputStream fos = null;\\n try {\\n Bitmap bm = BitmapFactory.decodeFile(f.getAbsolutePath());\\n final BitmapFactory.Options options = new BitmapFactory.Options();\\n options.inSampleSize = 8;\\n Bitmap bmResized = BitmapFactory.decodeFile(f.getPath(), options);\\n Bitmap resized = ThumbnailUtils.extractThumbnail(bmResized, 50, 50);\\n writeFile(resized, mediaFileThumb);\\n writeFile(bm, mediaFile);\\n } catch (Exception ex) {\\n ex.printStackTrace();\\n }\\n return mediaFile;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6a42c1fe566ff280fda341c9c931da0a\",\n \"score\": \"0.4917476\",\n \"text\": \"@Override\\n public void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {\\n super.onActivityResult(requestCode, resultCode, data);\\n if (requestCode == CAPTURE_IMAGE_ACTIVITY_REQUEST_CODE) {\\n if (resultCode == RESULT_OK) {\\n // by this point we have the camera photo on disk\\n Bitmap takenImage = BitmapFactory.decodeFile(photoFile.getAbsolutePath());\\n // RESIZE BITMAP,\\n try {\\n Bitmap scaledImage = resize();\\n // Load the taken image into a preview\\n ivToPost.setImageBitmap(scaledImage);\\n } catch (IOException e) {\\n e.printStackTrace();\\n }\\n\\n } else { // Result was a failure\\n Toast.makeText(getContext(), \\\"Picture wasn't taken!\\\", Toast.LENGTH_SHORT).show();\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c116c0d4a8994810fbd868e468dffc21\",\n \"score\": \"0.48999798\",\n \"text\": \"private boolean storePic(MultipartFile file, String filename, String shortFileName) throws Exception {\\n try (InputStream inputStream = file.getInputStream()) {\\n Files.copy(inputStream, Paths.get(uploadPicPath + filename), // somewhat tricky\\n StandardCopyOption.REPLACE_EXISTING);\\n Thumbnails.of(uploadPicPath + filename).size(width, height).toFile(uploadPicPath + shortFileName);\\n } catch (Exception e) {\\n throw new Exception(\\\"失败!\\\" + filename, e);\\n }\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f3fd7fae62168f0db9fe0402bc719bae\",\n \"score\": \"0.48943716\",\n \"text\": \"public ResourceLink getThumbnailLink() {\\n return this.getResourceLinks().getThumbnail();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"74797d3b54c28d0b5eb6ae1d99ffba5d\",\n \"score\": \"0.48884618\",\n \"text\": \"public void insertImage() {\\n if (imgUri != null && imgUri.length() > 0) {\\n Uri uri = Uri.parse(imgUri);\\n\\n Glide.with(context)\\n .load(uri)\\n .diskCacheStrategy(DiskCacheStrategy.NONE)\\n .fitCenter()\\n .into(imgView);\\n\\n } else if (imgBitmap != null) {\\n imgView.setImageBitmap(imgBitmap);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a73bd54283e410ba38070f563c301a8\",\n \"score\": \"0.4888046\",\n \"text\": \"public byte[] generateThumbnail(byte[] pageData) throws Exception{\\n\\t\\tInputStream in = new ByteArrayInputStream(pageData);\\n\\t\\tBufferedImage bImageFromConvert = ImageIO.read(in);\\n\\t\\t\\n\\t\\t//\\n\\t\\t// Create a thumbnail of the image\\n\\t\\t// \\n\\t\\tBufferedImage thumbnail = Thumbnails.of(bImageFromConvert)\\n\\t\\t .size(250, 167)\\n\\t\\t .asBufferedImage();\\n\\t\\t\\n\\t\\tByteArrayOutputStream baos = new ByteArrayOutputStream();\\n\\t\\tImageIO.write( thumbnail, \\\"png\\\", baos );\\n\\t\\tbaos.flush();\\n\\t\\tbyte[] thumbnailInByte = baos.toByteArray();\\n\\t\\tbaos.close();\\n\\t\\t\\n\\t\\treturn thumbnailInByte;\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7dd4792d7f81019527576a3e217d17f2\",\n \"score\": \"0.4883573\",\n \"text\": \"private void UploadImage(final Uri imageUri) {\\n if(!imageUri.equals(\\\"\\\"))\\n {\\n storageReference= FirebaseStorage.getInstance().getReference().child(\\\"/images/\\\"+System.currentTimeMillis()+\\\".\\\"+getImageExt(imageUri));\\n storageReference.putFile(imageUri)\\n .addOnSuccessListener(new OnSuccessListener() {\\n @Override\\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\\n // Toast.makeText(getActivity(),\\\"successfull\\\",Toast.LENGTH_SHORT).show();\\n imageUrl=taskSnapshot.getDownloadUrl().toString();\\n databaseReference.child(\\\"profile\\\").setValue(imageUrl);\\n databaseReferenceCard.child(\\\"profile\\\").setValue(imageUrl);\\n progressDialog.dismiss();\\n SignedIn();\\n // i++;\\n // Log.d(\\\"SaveValues\\\", imageUri+\\\"\\\");\\n // user=new farmer_crop_infor(get_Product_name,get_Product_type,get_city,get_TEHIL,get_DISTT,get_area,get_sack_price,get_quantity,get_harvest,get_WaterSource,imageUrl);\\n//\\n }\\n });\\n\\n }\\n else{\\n\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"08a9a13d4104aa7adcc13807f3ab79fc\",\n \"score\": \"0.48827448\",\n \"text\": \"public void insertPhoto(String uri, int tripID, String timeStamp, Float pressureValue, Float temperatureValue, double GPSLatitude, double GPSLongitude) {\\n mRepository.insertPhoto(new PhotoData(uri, tripID, timeStamp, pressureValue, temperatureValue, GPSLatitude, GPSLongitude));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f4bfdea1053d84ee64a3ae09f0e0d0e\",\n \"score\": \"0.48822895\",\n \"text\": \"public Image createImage(CameraShard shard, Long timestamp) throws ApplicationException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"71ae0f5b0221bde7e2cd6de1767c3e1b\",\n \"score\": \"0.48713374\",\n \"text\": \"@Override\\n public void onActivityResult(final int requestCode, int resultCode, Intent data) {\\n super.onActivityResult(requestCode, resultCode, data);\\n // Log.i(TAG, \\\"onActivityResult: \\\" + this);\\n\\n String TAG = \\\"Tag\\\";\\n\\n if (resultCode != getActivity().RESULT_OK) {\\n return;\\n }\\n\\n //for gallery\\n if (requestCode == RESULT_LOAD_IMAGE1 && null != data) {\\n\\n ParcelFileDescriptor parcelFD = null;\\n try {\\n parcelFD = getActivity().getContentResolver().openFileDescriptor(data.getData(), \\\"r\\\");\\n FileDescriptor imageSource = parcelFD.getFileDescriptor();\\n // Decode image size\\n BitmapFactory.Options o = new BitmapFactory.Options();\\n o.inJustDecodeBounds = true;\\n BitmapFactory.decodeFileDescriptor(imageSource, null, o);\\n // the new size we want to scale to\\n final int REQUIRED_SIZE = 1024;\\n // Find the correct scale value. It should be the power of 2.\\n int width_tmp = o.outWidth, height_tmp = o.outHeight;\\n int scale = 1;\\n while (true) {\\n if (width_tmp < REQUIRED_SIZE && height_tmp < REQUIRED_SIZE) {\\n break;\\n }\\n width_tmp /= 2;\\n height_tmp /= 2;\\n scale *= 2;\\n }\\n\\n // decode with inSampleSize\\n BitmapFactory.Options o2 = new BitmapFactory.Options();\\n o2.inSampleSize = scale;\\n Bitmap bitmap = BitmapFactory.decodeFileDescriptor(imageSource, null, o2);\\n\\n storeImage(bitmap);\\n\\n // Get the dimensions of the View\\n int targetW = settingView.takeImage1.getWidth();\\n int targetH = settingView.takeImage1.getHeight();\\n // Get the dimensions of the bitmap\\n BitmapFactory.Options bmOptions = new BitmapFactory.Options();\\n bmOptions.inJustDecodeBounds = true;\\n BitmapFactory.decodeFile(picturePathG, bmOptions);\\n\\n int photoW = bmOptions.outWidth;\\n int photoH = bmOptions.outHeight;\\n\\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 try {\\n\\n Bitmap bitmap1 = BitmapFactory.decodeFile(picturePathG, bmOptions);\\n // Bitmap bitmap2 = modifyOrientation(bitmap1,picturePathG);\\n if (requestCode == 1) {\\n picturePath1 = picturePathG;\\n sharedPreferences.edit().putString(Constants.PROFILEIMAGE, picturePath1).apply();\\n\\n settingView. takeImage1.setImageBitmap(bitmap1);\\n\\n /* Glide.with(this).load(picturePath1)\\n .into(settingView.takeImage1);*/\\n //UpdateUserProfile(pictureFile);\\n uploadimageintoserver(pictureFile);\\n }\\n\\n\\n } catch (OutOfMemoryError e) {\\n try {\\n bmOptions = new BitmapFactory.Options();\\n bmOptions.inSampleSize = 2;\\n Bitmap bitmap1 = BitmapFactory.decodeFile(picturePathG, bmOptions);\\n\\n if (requestCode == 1) {\\n picturePath1 = picturePathG;\\n sharedPreferences.edit().putString(Constants.PROFILEIMAGE, picturePath1).apply();\\n\\n settingView.takeImage1.setImageBitmap(bitmap1);\\n /* Glide.with(this).load(picturePath1)\\n .into(settingView.takeImage1);*/\\n // UpdateUserProfile(pictureFile);\\n uploadimageintoserver(pictureFile);\\n }\\n\\n } catch (Exception e11) {\\n\\n Toast.makeText(getActivity(), e11.getMessage(), Toast.LENGTH_LONG).show();\\n }\\n }\\n } catch (FileNotFoundException e) {\\n // handle errors\\n\\n Toast.makeText(getActivity(),\\\"FileNotFoundException:\\\"+e.getMessage(),Toast.LENGTH_LONG).show();\\n\\n }\\n\\n\\n //for camera\\n } else if (requestCode == REQUEST_TAKE_PHOTO1 ) {\\n\\n\\n try{\\n Uri outputFile;\\n\\n if (data != null && (data.getAction() == null || !data.getAction().equals(MediaStore.ACTION_IMAGE_CAPTURE))) {\\n outputFile = data.getData();\\n actualImage = new File(getPath(outputFile));\\n\\n } else {\\n\\n actualImage = tempOutputFile;\\n// actualImageView.setImageBitmap(BitmapFactory.decodeFile(actualImage.getAbsolutePath(),options));\\n // actualSizeTextView.setData(String.format(\\\"Size : %s\\\", getReadableFileSize(actualImage.length())));\\n }\\n\\n\\n if (actualImage == null) {\\n Toast.makeText(getActivity(), getString(R.string.choose_option), Toast.LENGTH_LONG).show();\\n } else {\\n\\n compressedImage = new Compressor.Builder(getActivity())\\n .setMaxWidth(1024)\\n .setMaxHeight(720)\\n .setQuality(100)\\n .setCompressFormat(Bitmap.CompressFormat.JPEG)\\n .setDestinationDirectoryPath(getActivity().getExternalFilesDir(\\n Environment.DIRECTORY_PICTURES).getAbsolutePath())\\n .build()\\n .compressToFile(actualImage);\\n setPic(requestCode, compressedImage.getAbsolutePath());\\n }\\n\\n //UpdateUserProfile(compressedImage);\\n uploadimageintoserver(compressedImage);\\n\\n }catch(Exception e){\\n Toast.makeText(getActivity(),\\\"CompressedException:\\\"+e.getMessage(),Toast.LENGTH_LONG).show();\\n }\\n }\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9ab98eb896654177894b0b03b105d2e3\",\n \"score\": \"0.4860412\",\n \"text\": \"void onHighResolutionImageLoaded(String highResImageUrl, int position);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e707f8699259086b83d1214d99cb3361\",\n \"score\": \"0.48558468\",\n \"text\": \"public void updatePageThumbnail(byte[] thumbnail, long pageId) throws Exception {\\n\\t\\t// create the java mysql update preparedstatement\\n\\t String query = \\\"UPDATE document_page set page_data_thumbnail = ? WHERE id = ?\\\";\\n\\t \\n\\t // get the connection\\n\\t \\tConnection conn = openConnection();\\n\\t \\n\\t PreparedStatement preparedUPDATEstatement = conn.prepareStatement(query);\\n\\t preparedUPDATEstatement.setLong(2, pageId);\\n\\t preparedUPDATEstatement.setBlob(1, new javax.sql.rowset.serial.SerialBlob(thumbnail));\\n\\n\\t // execute the java preparedstatement\\n\\t preparedUPDATEstatement.executeUpdate();\\n\\t \\n\\t conn.close();\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9e58d86ca10cb5542723a4891973c901\",\n \"score\": \"0.48539016\",\n \"text\": \"public Image(Context context, MediaMetadata metadata) {\\n mContext = context;\\n\\n String uri_art = metadata.getString(MediaMetadata.METADATA_KEY_ART_URI);\\n String uri_album_art = metadata.getString(MediaMetadata.METADATA_KEY_ALBUM_ART_URI);\\n String uri_icon = metadata.getString(MediaMetadata.METADATA_KEY_DISPLAY_ICON_URI);\\n Bitmap bmp_art = metadata.getBitmap(MediaMetadata.METADATA_KEY_ART);\\n Bitmap bmp_album_art = metadata.getBitmap(MediaMetadata.METADATA_KEY_ALBUM_ART);\\n Bitmap bmp_icon = metadata.getBitmap(MediaMetadata.METADATA_KEY_DISPLAY_ICON);\\n\\n if (bmp_art != null) {\\n setImage(bmp_art);\\n } else if (bmp_album_art != null) {\\n setImage(bmp_album_art);\\n } else if (bmp_icon != null) {\\n setImage(bmp_icon);\\n } else if (uri_art != null) {\\n setImage(uri_art);\\n } else if (uri_album_art != null) {\\n setImage(uri_album_art);\\n } else if (uri_icon != null) {\\n setImage(uri_icon);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b27b850cca254221e3733ae37b378496\",\n \"score\": \"0.4844425\",\n \"text\": \"private Uri getImageUri(Context inContext, Bitmap inImage) {\\n ByteArrayOutputStream bytes = new ByteArrayOutputStream();\\n inImage.compress(Bitmap.CompressFormat.JPEG, 100, bytes);\\n String path = MediaStore.Images.Media.insertImage(inContext.getContentResolver(), inImage, \\\"Title\\\" + Calendar.getInstance().getTime(), null);\\n return Uri.parse(path);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d713ac37b36bf9ccbaa5bf4ab919a82a\",\n \"score\": \"0.48421085\",\n \"text\": \"private void setThumbnailURL(String PlayListURL)\\n\\t\\t{\\n\\t\\t\\tURL urlLink;\\n\\t\\t\\ttry {\\n\\t\\t\\t\\turlLink = new URL(PlayListURL);\\n\\t\\t\\t\\tvoLog.i(TAG,\\\"Thumbnail PlayList download begin\\\" );\\n\\t\\t\\t\\tif(PlayListURL.lastIndexOf(\\\"/\\\")>=0)\\n\\t\\t\\t\\t\\turlPath = PlayListURL.substring(0,PlayListURL.lastIndexOf(\\\"/\\\"));\\n\\t\\t\\t\\tBufferedInputStream in = new BufferedInputStream(urlLink.openStream());\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tByteArrayBuffer ba = new ByteArrayBuffer(0);\\n\\t\\t\\t\\tif(in!=null)\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\tbyte [] buffer = new byte[1024];\\n\\t\\t\\t\\t\\tString s = \\\"\\\";\\n\\t\\t\\t\\t\\twhile(true)\\n\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\tint nRead = in.read(buffer);\\n\\t\\t\\t\\t\\t\\tif(nRead<=0)\\n\\t\\t\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t\\t\\tba.append(buffer, 0, nRead);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\n\\t\\t\\t\\tbyte [] buff = ba.buffer();\\n\\t\\t\\t\\tString s = \\\"\\\";\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tint beginTime = 0;\\n\\t\\t\\t\\tif(buff!=null)\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\ts = new String(buff );\\n\\t\\t\\t\\t\\tString [] strArr = s.split(\\\"\\\\n\\\");\\n\\t\\t\\t\\t\\tif(strArr!=null)\\n\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\tfor(int i = 0;i8 && strArr[i].substring(0, 8).compareToIgnoreCase(\\\"#EXTINF:\\\") == 0 && i0)\\n\\t\\t\\t\\t\\t\\t\\ttreeMap.put(beginTime,\\\"\\\");\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t} catch (Exception e) {\\n\\t\\t\\t\\tvoLog.i(TAG,\\\"Thumbnail PlayList download Exception\\\" );\\n\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t}\\n\\t\\t\\t//callEnabled = true;\\n\\t\\t\\t\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"945c129ed32d9ac86da2a9ff983854f5\",\n \"score\": \"0.48398218\",\n \"text\": \"Twitter.MediaSize getThumb();\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":353,"cells":{"query_id":{"kind":"string","value":"ead77d5d7a993cb7a436e257fc4bbcd9"},"query":{"kind":"string","value":"/ Enabled aggressive block sorting"},"positive_passages":{"kind":"list like","value":[{"docid":"4abbb99951014aad66e669abb0e5b554","score":"0.0","text":"public static e a(GoogleApiClient object, Api.c c2) {\n boolean bl2 = true;\n boolean bl3 = object != null;\n fq.b(bl3, (Object)\"GoogleApiClient parameter is required.\");\n fq.a(object.isConnected(), \"GoogleApiClient must be connected.\");\n object = (e)((Object)object.a(c2));\n bl3 = object != null ? bl2 : false;\n fq.a(bl3, \"GoogleApiClient is not configured to use the Plus.API Api. Pass this into GoogleApiClient.Builder#addApi() to use this feature.\");\n return object;\n }","title":""}],"string":"[\n {\n \"docid\": \"4abbb99951014aad66e669abb0e5b554\",\n \"score\": \"0.0\",\n \"text\": \"public static e a(GoogleApiClient object, Api.c c2) {\\n boolean bl2 = true;\\n boolean bl3 = object != null;\\n fq.b(bl3, (Object)\\\"GoogleApiClient parameter is required.\\\");\\n fq.a(object.isConnected(), \\\"GoogleApiClient must be connected.\\\");\\n object = (e)((Object)object.a(c2));\\n bl3 = object != null ? bl2 : false;\\n fq.a(bl3, \\\"GoogleApiClient is not configured to use the Plus.API Api. Pass this into GoogleApiClient.Builder#addApi() to use this feature.\\\");\\n return object;\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"0faf331234d603b64aeda6773749f2a0","score":"0.6582511","text":"@Override\n public int getSortWeight() {\n return 1000;\n }","title":""},{"docid":"9a36fb2805a2f7fc47363bbde8ee1c85","score":"0.6551011","text":"private Sorts () {}","title":""},{"docid":"ad067ac6a2ad887f1fb7cbd769ca229b","score":"0.6296483","text":"public static void sort(int[] array) {\n if (array.length <= MIN_BLOCK_SIZE){\n insertionSortRange(array,0,array.length);\n\n // Else, break array into sub blocks sort, then merge sort the sub blocks.\n } else {\n \n // Calculate the number of subBlocks in array.\n int subBlocks = array.length / MIN_BLOCK_SIZE;\n\n // For each subBlock in the array.\n for (int i = 0; i < subBlocks; i++) {\n\n // Calculate the begin and end indices.\n int begin = i * MIN_BLOCK_SIZE;\n int end = begin + MIN_BLOCK_SIZE;\n\n // Pass the array and begin and end indexes into the insertionSort algorithm.\n insertionSortRange(array,begin,end);\n }\n\n // Call insertion sort algorithm on last elements in the array that are less than a whole subBlock.\n insertionSortRange(array,subBlocks * MIN_BLOCK_SIZE, array.length);\n\n // FOr each subBlock in the array.\n for (int i = 0; i < subBlocks; i++) {\n\n // Calculate the end and mid indices.\n int end = i * MIN_BLOCK_SIZE + 2 * MIN_BLOCK_SIZE;\n int mid = end - MIN_BLOCK_SIZE;\n\n // If the end index is out of range.\n if (end > array.length){\n\n // Call mergrSort algorithm on the the array from [left .. mid] and [mid .. array.length].\n mergeRange(array,0,mid, array.length);\n }else {\n\n // Call the mergeSort algorithm on the array from [left .. mid] and [mid .. end].\n mergeRange(array,0,mid,end);\n }\n }\n }\n }","title":""},{"docid":"2d132f193db787378ea3bb10b46e49a3","score":"0.61814094","text":"public void sort() {\r\n\t\tSystem.out.format(\"Start %d way merge sort.\\n\", numberOfWays);\r\n\t\t// GCThread thread = new GCThread();\r\n\t\t// thread.start();\r\n\t\tsplit();\r\n\t\tmergeSort();\r\n\t\t// thread.stop();\r\n\r\n\t}","title":""},{"docid":"0b270957009b398de2f14183b71bda35","score":"0.61491346","text":"private SmoothSort() {}","title":""},{"docid":"30c875866287fe01b5e7ebc58755f84d","score":"0.60886467","text":"public void sort() {\r\n\t\tComparable tmp;\r\n\t\t\r\n\t\tfor(int i=0;i etable.get(j+1).getGames_won()) {\n ETableData buffer = etable.get(j);\n etable.set(j, etable.get(j+1));\n etable.set(j+1, buffer);\n } else if(etable.get(j).getGames_won() == etable.get(j+1).getGames_won() && etable.get(j).getTotal_margin() > etable.get(j+1).getTotal_margin()) {\n ETableData buffer = etable.get(j);\n etable.set(j, etable.get(j+1));\n etable.set(j+1, buffer);\n }\n }\n }\n }","title":""},{"docid":"ed910b897b15a85cf474f9ef147663c1","score":"0.59889704","text":"long getSort();","title":""},{"docid":"7cffb70b657691c42ac7a178b04e2b31","score":"0.5984491","text":"public void sort(){}","title":""},{"docid":"182a49726cbbd838759316ccfc2ac7f2","score":"0.59776","text":"public void sorted();","title":""},{"docid":"06e56f903cf60a94aee5762f5c4b6574","score":"0.5960491","text":"public void sort(){\n Object temp;\n for(int i=1;i<=size;i++){\n \tfor(int j=start;j(int)cir[(j+1)%cir.length]){\n \t\t\ttemp=cir[j%cir.length];\n \t\t\tcir[j%cir.length]=cir[(j+1)%cir.length];\n \t\t\tcir[(j+1)%cir.length]=temp;\n \t\t}\n \t}\n }\n \n }","title":""},{"docid":"bcc7961a0f52a48bc37ee9219549c0c1","score":"0.5960233","text":"private int runSort()\n\t{\n\t\tint index = 0;\n\t\tList particleIndex = new ArrayList();\n\n\t\t// get values out of buffer\n\t\t_particleIndexPtr = _particleIndex.map(_queue, CLMem.MapFlags.ReadWrite);\n\t\tint[] particleInd = _particleIndexPtr.getInts();\n\n\t\tfor(int i = 0; i < _particleCount * 2; i += 2)\n\t\t{\n\t\t\tint[] element = { particleInd[i], particleInd[i + 1] };\n\t\t\tparticleIndex.add(element);\n\t\t}\n\t\tCollections.sort(particleIndex, new MyCompare());\n\t\tfor(int i = 0; i < particleIndex.size(); i++)\n\t\t{\n\t\t\tfor(int j = 0; j < 2; j++)\n\t\t\t{\n\t\t\t\tparticleInd[index] = particleIndex.get(i)[j];\n\t\t\t\tindex++;\n\t\t\t}\n\t\t}\n\n\t\t// put results back\n\t\t_particleIndexPtr.setInts(particleInd);\n\t\t_particleIndex.unmap(_queue, _particleIndexPtr);\n\n\t\treturn 0;\n\t}","title":""},{"docid":"b633c79d043515e5a6f3973b57f31fb3","score":"0.5948335","text":"public void descendingInsertionSort()\n\t{\n\t\tfor(int i = 1; i < list.size(); i++)\n\t\t{\n\t\t\tint key = list.get(i);\n\t\t\tint position = i;\n\t\t\twhile(position > 0 && list.get(position-1) < key)\n\t\t\t{\n\t\t\t\tAlgorithms.switches.add(new Point(position, position-1));\n\t\t\t\tlist.set(position, list.get(position-1));\n\t\t\t\tposition--;\n\t\t\t}\n\t\t\tlist.set(position, key);\t\t\t\t\n\t\t}\n\t}","title":""},{"docid":"001f3e017c14d2f3e94f8096f1a46f5f","score":"0.59309155","text":"public void sort()\n {\n for (int i = 0; i < coins.length - 1; i++)\n {\n int minPos = minimumPosition(coins, i);\n ArrayUtil.swap(coins, minPos, i);\n }\n }","title":""},{"docid":"4ee55315a263a73567e52c7657bec9bc","score":"0.59236974","text":"protected abstract void sort();","title":""},{"docid":"b23a0c505cb44dc5e5804f5ae15ec671","score":"0.59017485","text":"@Override\n\tpublic void OrderStandBy() {\n\t\t\n\t}","title":""},{"docid":"90177ac2d5278b89918ff3987cef3d64","score":"0.5893985","text":"List getBlocksInEntryOrder();","title":""},{"docid":"3f05008ccfb6186d534c0b412e422d18","score":"0.5887652","text":"public abstract void consignSort();","title":""},{"docid":"224073354c498f89983dae757cf45286","score":"0.58850944","text":"@Override\r\n\tprotected void doSort() {\n\t\tint length = getDataLength();\r\n\t\tdouble[] data = new double[length];\r\n\t\tfor (int i = 0; i < length; i++) {\r\n\t\t\tdata[i] = probe(i);\r\n\t\t}\r\n\t\tdouble[] sorted = data.clone();\r\n\t\tArrays.sort(sorted);\r\n\t\t\r\n\t\tnextSortedIndex:\r\n\t\tfor (int sortedIndex = 0; sortedIndex < length; sortedIndex++) {\r\n\t\t\tfor (int dataIndex = 0; dataIndex < length; dataIndex++) {\r\n\t\t\t\tif (sorted[sortedIndex] == data[dataIndex]) {\r\n\t\t\t\t\tif (sortedIndex != dataIndex) {\r\n\t\t\t\t\t\tswap(sortedIndex, dataIndex);\r\n\t\t\t\t\t\tdata[dataIndex] = data[sortedIndex];\r\n\t\t\t\t\t\tdata[sortedIndex] = sorted[sortedIndex];\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak nextSortedIndex;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}","title":""},{"docid":"108b9189508275599cf6ecad75445892","score":"0.5880524","text":"protected synchronized void sort() throws BucketStorageException {\n beingSorted = true;\n try {\n while (unsortedSizeUsed > 0) {\n // Retrieve last unsorted object address\n int lastUnsortedIndex = index.length - unsortedSizeTotal + unsortedSizeUsed - 1;\n long address = index[lastUnsortedIndex];\n\n // Search for the position where the object is added into index\n int pos = insertionPoint(storage.read(address));\n\n // Move index data to make space\n System.arraycopy(index, pos, index, pos + 1, lastUnsortedIndex - pos);\n index[pos] = address;\n unsortedSizeUsed--;\n unsortedSizeTotal--;\n }\n } finally {\n beingSorted = false;\n }\n }","title":""},{"docid":"3e0948369f0dd7fa5e07a84d82470cf6","score":"0.5865977","text":"void sortAllNodes()\n\t{\n\t\tsortCZoneNodes(null);\n\t}","title":""},{"docid":"866654520b322166e55938f84ca97e93","score":"0.585866","text":"private void initializeBlocks() {\n\t\t\n\t\t//set up blocks\n\t\tcellGroups = new Cell[9][9];\n\t\t\n\t\tCell cellToSort;\n\t\tint block;\n\t\t\n\t\t//iterate over all Cells\n\t\tfor(int x=0; x<=8; x++){\n\t\t\tfor (int y=0; y<=8; y++){\n\t\t\t\t\n\t\t\t\tcellToSort = cellArray[x][y];\n\t\t\t\tblock = cellToSort.getBlock();\n\t\t\t\t\n\t\t\t\t//sort Cell into correct block\n\t\t\t\tfor(int i=0;i<=8;i++){\n\t\t\t\t\tif(cellGroups[block][i]==null){\n\t\t\t\t\t\tcellGroups[block][i]=cellToSort;\n\t\t\t\t\t\tbreak;\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}","title":""},{"docid":"c2303b215129d70dce7b511c22369157","score":"0.5802829","text":"private Sort()\n\t{\n\t}","title":""},{"docid":"8c20026253d8801ce12cc4c079a4c4b4","score":"0.5767231","text":"public void ascendingInsertionSort()\n\t{\n\t\tfor(int i = 1; i < list.size(); i++)\n\t\t{\n\t\t\tint key = list.get(i);\n\t\t\tint position = i;\n\t\t\twhile(position > 0 && list.get(position-1) > key)\n\t\t\t{\n\t\t\t\tAlgorithms.switches.add(new Point(position, position-1));\n\t\t\t\tlist.set(position, list.get(position-1));\n\t\t\t\tposition--;\n\t\t\t}\n\t\t\tlist.set(position, key);\t\t\t\t\n\t\t}\n\t}","title":""},{"docid":"fb31d4b1ea1a3236dc35946d36bd86e6","score":"0.5762004","text":"private void resumeOfflineSorting() {\n synchronized (offlineSortLock) {\n osc = false;\n }\n }","title":""},{"docid":"e17456fe4d503789895d39a877a08abb","score":"0.57563055","text":"public void sortOnline() throws Exception {// NOPMD\n final RingInputStream ringInputStream = new RingInputStream();\n final int[] eventData = new int[eventSize];\n final byte[] buffer = GuiceInjector.getObjectInstance(\n RingBufferFactory.class).freshBuffer();\n while (true) { // loop while acquisition on\n /* Get a new buffer and make an input stream out of it. */\n if (ringBuffer.isCloseToFull()) {\n increaseSortInterval();\n setIsCallingSort(false);\n } else {\n setIsCallingSort(true);\n if (ringBuffer.isEmpty()) {\n decreaseSortInterval();\n }\n }\n ringBuffer.getBuffer(buffer);\n ringInputStream.setBuffer(buffer);\n eventInputStream.setInputStream(ringInputStream);\n /* Zero event array. */\n Arrays.fill(eventData, 0);\n eventInputStatus = eventInputStream.readEvent(eventData);\n while (((eventInputStatus == EventInputStatus.EVENT)\n || (eventInputStatus == EventInputStatus.SCALER_VALUE) || (eventInputStatus == EventInputStatus.IGNORE))) {\n if (eventInputStatus == EventInputStatus.EVENT) {\n checkIntervalAndSortEvent(eventData);\n }\n // else SCALER_VALUE, assume sort stream took care and move on\n eventInputStatus = eventInputStream.readEvent(eventData);\n }\n handleStatusOnline();\n yield();\n }// end infinite loop\n }","title":""},{"docid":"a998e35ef6aa37cb0aab4eb84f48e648","score":"0.57313573","text":"@Override \r\n\tpublic void sort(int order)\r\n\t{\r\n\t\tsetComparator(order);\r\n\t\t\r\n\t\tsortingTime = System.nanoTime();\r\n\r\n\t\tmergeSortRec(points);\r\n\t\t\r\n\t\tsortingTime = System.nanoTime() - sortingTime;\r\n\t\t\r\n\t\tdraw();\r\n\t}","title":""},{"docid":"0af55e4d671bef5a0809e41ce917ee1d","score":"0.5723709","text":"static void sort() {\n System.out.println(\"Dentro do sort\");\n }","title":""},{"docid":"27b4a07423e4877122018fec433f483e","score":"0.5715603","text":"@Override\n public void sort() {\n for (int i = 0; i < arr.length; i++) {\n int minPos = minPosition(i, arr.length);\n ArrayUtils.swap(arr, i, minPos);\n }\n }","title":""},{"docid":"3373ae7cdb0232abfc17aaa82633040b","score":"0.56890786","text":"private static void MultiThreadSort(int[] a) {\n\t\t\n\t}","title":""},{"docid":"aecab83d37c1b8c5b625675395d3e4b7","score":"0.56730044","text":"private void sort() {\n\t\tfor (int i=1; i<= numbers.length-1; i++) { //outer loop to scroll thru right of the list\n\t\t\tfor (int j=i; j > 0; j--) { //inner loop to scroll thru the left of the list\n\t\t\t\tif (numbers[j] < numbers[j-1]) {\n\t\t\t\t\texchangeIndex(j, j-1); //exchange with the lower number\n\t\t\t\t}\n\t\t\t}\n\t\t}\t\n\t}","title":""},{"docid":"98794f567612c534e68ef67815fa8d29","score":"0.56719697","text":"private void sort() {\n recAdapter.sortCountermeasureList(this.sortBy);\n recAdapter.notifyDataSetChanged();\n }","title":""},{"docid":"7882502164f9449496a8a673b786b6dc","score":"0.56596375","text":"public static void main(String[] args) {\n double S = 0;\n for(int i = 6; i > 0; i--){\n Comparable[] list1 = new Comparable[(int) (Math.pow(10, i))];\n for(int j = 0; j < list1.length; j++){\n list1[j] = (int) (Math.random() * 1000);\n }\n Comparable[] list2 = Arrays.copyOf(list1, list1.length);\n\n long timeNaive = MergesortParallelNaive.sort(list1);\n long timeRegular = Mergesort.sort(list2);\n if(timeRegular < timeNaive){\n S = Math.pow(10, i);\n break;\n }\n }\n\n Comparable[] list = new Comparable[(int) (10 * S)];\n for(int j = 0; j < list.length; j++){\n list[j] = (int) (Math.random() * 1000);\n }\n MergesortParallelSmart.sort(list, S);\n System.out.println(\"\");\n }","title":""},{"docid":"8cde34771097408f4bc633631dff861f","score":"0.56339806","text":"public void selectionSort() {\r\n\t\tsorted = true;\r\n\t\tfor (int n = topCard; n > 0; n--) {\r\n\t\t\tfor (int i = 0; i < n; i++) {\r\n\t\t\t\tif (cards[i].compareTo(cards[n]) > 0) {\r\n\t\t\t\t\tCard aTemp = cards[i];\r\n\t\t\t\t\tcards[i] = cards[n];\r\n\t\t\t\t\tcards[n] = aTemp;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t}","title":""},{"docid":"3099090b805e1634aa559a3fdadf06a6","score":"0.5614814","text":"public static void bury(Block[] blocks) {\n\t\t\tBlock temp;\n\t\t\tfor(int i=0;iblocks[j+1].getY()) {\n\t\t\t\t\t\t// use a temporary space when switching index\n\t\t\t\t\t\ttemp = blocks[j];\n\t\t\t\t\t\tblocks[j] = blocks[j+1];\n\t\t\t\t\t\tblocks[j+1] = temp; // this method is not used in bubble sorting: mimicking\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\tfor(int i=0; i 0 && list.get(position-1) < key)\n\t\t\t{\n\t\t\t\tAlgorithms.switches.add(new Point(position, position-1));\n\t\t\t\tlist.set(position, list.get(position-1));\n\t\t\t\tposition--;\n\t\t\t}\n\t\t\tlist.set(position, key);\t\t\t\t\n\t\t}\n\t//\tSystem.out.println (list);\n\t}","title":""},{"docid":"1206f86442a57e38569b2e3d05d1c5b0","score":"0.5607651","text":"private void sort() {\n\t do{\n\t int big;\n\t \n\t // Traditional selection sort\n\t // Use the whole array, then one less, then one less ..\n\t for (int i=numPix; i>1; i--) {\n\t\t \n\t\t // Find the largest name between 0 and i\n\t\t big = findMaxName(i);\n\t\t \n\t\t // Swap the largest from position i\n\t\t // into position big\n\t\t pixfile p = list[big];\n\t\t list[big] = list[i-1];\n\t\t list[i-1] = p;\n\t }\n\t }while(true);\n }","title":""},{"docid":"59d4d2124d0ff3a72b3263add89e320a","score":"0.5592498","text":"protected void sortGroups(CommandSender sender) {\n if (_sortedGroups == null) {\n long start = System.currentTimeMillis();\n\n // For all chunks, and for all 16 boxes in a chunk, for each\n // EntityType that has a non-zero count append an EntityGroup. Note\n // that groups is initialised with a certain capacity, but starts\n // with 0 size.\n ArrayList groups = new ArrayList<>(_chunkCounts.size());\n for (ChunkCount chunkCount : _chunkCounts) {\n for (int i = 0; i <= 15; ++i) {\n if (chunkCount.hasBox(i)) {\n chunkCount.getBox(i).addEntityGroupsTo(groups);\n }\n }\n }\n\n // Exclude groups of ITEM_FRAME and sort descending by count.\n _sortedGroups = groups.stream()\n .filter(g -> g.getEntityType() != EntityType.ITEM_FRAME)\n .sorted((l, r) -> r.getCount() - l.getCount())\n .toArray(size -> new EntityGroup[size]);\n\n long elapsedMillis = System.currentTimeMillis() - start;\n sender.sendMessage(ChatColor.GOLD + String.format(\"Sorted %d entity groups in %d milliseconds.\",\n _sortedGroups.length, elapsedMillis));\n }\n }","title":""},{"docid":"cac89a7b4688e36d14b63dfae47709cc","score":"0.55887383","text":"public void mergeSort() {\r\n\t\tDeck.sort(getCards());\r\n\r\n\t}","title":""},{"docid":"8f72520510f1c26e911076b016225dee","score":"0.55776405","text":"private void breakDeadlock() {\n\t\t\n\t\t Set s = cycleDetector.findCycles();\n\t\t ArrayList list =new ArrayList(s);\n\t\t Collections.sort(list);\n\t\t for (Iterator it = list.iterator(); it.hasNext();) {\n\t\t\tInteger i = (Integer) it.next();\n\t\t\t/*if(i<=0){\n\t\t\t\tit.remove();\n\t\t\t}*/\n\t\t}\n\t\t for (Vector as : allocation) {\n\t\t\t reorderAllocation(list,as);\n\t\t }\n\t}","title":""},{"docid":"eb0f8df0729c5be82908ca7b93fecf88","score":"0.55771977","text":"public static void main(String[] args) throws IOException {\n FileIO runFile = new FileIO(args[0], \"runFile.bin\");\n Buffer inBuffer = new Buffer(1); // 1 block input buffer\n Buffer outBuffer = new Buffer(1); // 1 block output buffer\n\n LinkedList runStatList = new LinkedList();\n LinkedList pointersList = new LinkedList();\n\n MinHeap sortingHeap = new MinHeap(HEAP_SIZE\n * RECORDS_PER_BLOCK);\n\n boolean isHeapified = false;\n boolean isFinalRun = false;\n boolean finalRunDone = false;\n\n if (inBuffer.isEmpty() && !runFile.isEndOfFile()) {\n inBuffer.insertBlock(runFile.getCurrBlock());\n }\n while (!sortingHeap.isHeapFull()) {\n sortingHeap.insertBlock(inBuffer.removeBlock());\n if (inBuffer.isEmpty() && !runFile.isEndOfFile()) {\n inBuffer.insertBlock(runFile.getCurrBlock());\n }\n }\n\n while (!finalRunDone) {\n boolean allRunsComplete = false;\n int runLength = 0;\n long runStartPointer = runFile.getWritePointer();\n if (!sortingHeap.isHeapNull() && isHeapified) {\n sortingHeap.resetMaxSize();\n sortingHeap.buildHeap();\n isHeapified = false;\n }\n\n if (isFinalRun) {\n while (!allRunsComplete) {\n Record min = sortingHeap.removeMin();\n\n outBuffer.insertRecEnd(min);\n if (outBuffer.isFull()) {\n runLength += RECORDS_PER_BLOCK;\n runFile.outBlock((Record[])outBuffer.removeBlock());\n }\n if (sortingHeap.heapMaxSize() == 0) {\n allRunsComplete = true;\n finalRunDone = true;\n }\n }\n }\n else {\n while (!allRunsComplete) {\n\n {\n if (inBuffer.isEmpty() && !runFile.isEndOfFile()) {\n inBuffer.insertBlock(runFile.getCurrBlock());\n }\n if (!inBuffer.isEmpty()) {\n Record min = sortingHeap.getMinRecord();\n outBuffer.insertRecEnd(min);\n\n if (outBuffer.isFull()) {\n runLength += RECORDS_PER_BLOCK;\n runFile.outBlock((Record[])outBuffer\n .removeBlock());\n }\n Record replacement = inBuffer.removeRecEnd();\n if (replacement.compareTo(min) < 0) {\n sortingHeap.dirtyInsert(replacement);\n }\n else {\n sortingHeap.cleanInsert(replacement);\n }\n if (sortingHeap.heapMaxSize() == 0) {\n allRunsComplete = true;\n isHeapified = true;\n }\n }\n else {\n allRunsComplete = true;\n isHeapified = true;\n isFinalRun = true;\n }\n }\n\n }\n }\n\n while (!outBuffer.isEmpty()) {\n Record[] writeOut = outBuffer.removeBlock();\n runFile.outBlock(writeOut);\n runLength += writeOut.length;\n }\n\n if (runLength > 0) {\n runStatList.add(runLength);\n pointersList.add(runStartPointer);\n }\n\n }\n pointersList.add(runFile.getWritePointer());\n long[] endPointers = new long[pointersList.size()];\n for (int i = 0; i < endPointers.length; i++) {\n endPointers[i] = pointersList.removeFirst();\n }\n MergeFile.merge(\"runFile.bin\", endPointers, args[0]);\n }","title":""},{"docid":"ee7ada466c8f5deb10415f4a1f540106","score":"0.55747217","text":"void batcherSort(\n\t\tint ulArrSize,\n\t\tint ulStart,\n\t\tint ulSkip,\n\t\tboolean fHalves) {\n\t\tint cnt, ulUpper, ulTemp; /* Utility variables */\n\n\t\tif (ulArrSize < 2) /* No sorting needed if <2 items in the set */\n\t\t\treturn;\n\n\t\tif (ulArrSize == 2) {\n\t\t/* Do simple compare/swap if there are 2 elements */\n\t\t\tif (work.greater(ulStart,ulStart + ulSkip)) {\n\t\t\t\twork.swap(ulStart, ulStart+ulSkip);\n\t\t\t}\n\t\t\tc.paintNumbers();\n\t\t\treturn;\n\t\t}\n\n\t\tulTemp = 1; /* ulTemp ends up holding the smallest power */\n\t\twhile (ulTemp < ulArrSize)\n\t\t\t/* of 2 that is at least as big as ulArrSize */\n\t\t\tulTemp *= 2;\n\n\t\tif (fHalves) /* If the sort was NOT called by the odd/even recurses */ {\n\t\t\tbatcherSort((int) (ulTemp / 2), ulStart, ulSkip, true);\n\t\t\t/* Sort 1st half */\n\t\t\tbatcherSort((int) (ulArrSize - ulTemp / 2), /* Sort 2nd half */\n\t\t\t (int) (ulStart + ulTemp / 2 * ulSkip), ulSkip, true);\n\t\t}\n\t\tbatcherSort(\n\t\t\t(int) (ulArrSize - ulArrSize / 2),\n\t\t\tulStart,\n\t\t\t(int) (ulSkip * 2),\n\t\t\tfalse);\n\t\t/* Sort evens */\n\t\tbatcherSort(\n\t\t\t(int) (ulArrSize / 2),\n\t\t\t(int) (ulStart + ulSkip),\n\t\t\t(int) (ulSkip * 2),\n\t\t\tfalse);\n\t\t/* Sort odds */\n\n\t\tulUpper =\n\t\t\t(int) (ulStart\n\t\t\t\t+ ulSkip\n\t\t\t\t+ (ulArrSize - ulArrSize / 2 - 1) * 2 * ulSkip);\n\t\tfor (cnt = ulStart + ulSkip;\n\t\t\tcnt < ulUpper;\n\t\t\tcnt += ulSkip * 2) /* Do final compares */ {\n\t\t\tif (work.greater(cnt, cnt + ulSkip)) {\n\t\t\t\twork.swap(cnt, cnt+ulSkip);\t\t\t\t\n\t\t\t\tc.paintNumbers();\n\t\t\t}\n\t\t}\n\t\treturn;\n\t}","title":""},{"docid":"5a27441ccabbead4be267b9eed7a0604","score":"0.55661255","text":"private final void sort(int l, int r) {\n/* 146 */ int i = l, j = r;\n/* 147 */ int m = this.match[(l + r) / 2];\n/* */ \n/* */ while (true) {\n/* */ while (true) {\n/* 151 */ if (this.match[i] >= m)\n/* 152 */ { for (; m < this.match[j]; j--);\n/* */ \n/* 154 */ if (i <= j) {\n/* 155 */ int h = this.match[i]; this.match[i] = this.match[j]; this.match[j] = h;\n/* 156 */ InstructionHandle h2 = this.targets[i]; this.targets[i] = this.targets[j]; this.targets[j] = h2;\n/* 157 */ i++; j--;\n/* */ } \n/* 159 */ if (i > j)\n/* */ break; continue; } i++;\n/* 161 */ } if (l < j) sort(l, j); \n/* 162 */ if (i < r) sort(i, r); \n/* */ return;\n/* */ } \n/* */ i++;\n/* */ continue;\n/* */ }","title":""},{"docid":"8a4fc97f90714a5ba8154712b4e85a51","score":"0.55583704","text":"public void sort() {\n\t\tCollections.sort(frontier, new Comparator() {\n\t\t\tpublic int compare(BidPoint x, BidPoint y) {\n\t\t\t\tif (x.getUtilityA() < y.getUtilityA())\n\t\t\t\t\treturn -1;\n\t\t\t\telse if (x.getUtilityA() > y.getUtilityA())\n\t\t\t\t\treturn 1;\n\t\t\t\telse\n\t\t\t\t\treturn 0;\n\t\t\t}\n\t\t});\n\t}","title":""},{"docid":"9b641987dad1ff8195f850b4322a21c5","score":"0.5545429","text":"public void descendingInsertionSort()\n\t{\n\t\t//System.out.println (list);\n\t\tfor(int i = 1; i < list.size(); i++)\n\t\t{\n\t\t\tString key = list.get(i);\n\t\t\tint position = i;\n\t\t\twhile(position > 0 && list.get(position-1).compareTo(key) < 0)\n\t\t\t{\n\t\t\t\tAlgorithms.switches.add(new Point(position, position-1));\n\t\t\t\tlist.set(position, list.get(position-1));\n\t\t\t\tposition--;\n\t\t\t}\n\t\t\tlist.set(position, key);\t\t\t\t\n\t\t}\n\t\t//System.out.println (list);\n\t}","title":""},{"docid":"327dd6387f892d4e67c68b1be17ba312","score":"0.554478","text":"G4allSort() {\n list = new LinkedList();\n alignment_result = new G4all();\n input = new G4allReader();\n output = new G4allWriter();\n }","title":""},{"docid":"0aa52f6f74527fbcd937148c8421c0ff","score":"0.553658","text":"void sort();","title":""},{"docid":"0aa52f6f74527fbcd937148c8421c0ff","score":"0.553658","text":"void sort();","title":""},{"docid":"ee57182f4c335c2222401de7c1b7144c","score":"0.5535841","text":"public void sortingChanged();","title":""},{"docid":"6bdc9b41a598dbe72ee939798f893305","score":"0.55255276","text":"public void sort() {\n\t\tif (left > right) {\n\t\t\tfloat temp = left;\n\t\t\tleft = right;\n\t\t\tright = temp;\n\t\t}\n\t\tif (top > bottom) {\n\t\t\tfloat temp = top;\n\t\t\ttop = bottom;\n\t\t\tbottom = temp;\n\t\t}\n\t}","title":""},{"docid":"47c5681d6a4d623f8cf5e390d1c55274","score":"0.5511994","text":"public void sort() {\n\t\tfor (int auctionNo = 0; auctionNo < Constants.AUCTION_MAX; auctionNo++) {\n\t\t\tfor (int i = 0; i < m_price[auctionNo].length; i++) {\n\t\t\t\tm_price[auctionNo][i] *= -1;\n\t\t\t}\n\t\t\tArrays.sort(m_price[auctionNo]);\n\t\t\tfor (int i = 0; i < m_price[auctionNo].length; i++) {\n\t\t\t\tm_price[auctionNo][i] *= -1;\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"fcfbebfea726f20b3917816fc18e1f91","score":"0.5510708","text":"public void ascendingSelectionSort()\n\t{\n\t\tint smallest;\n\t\tfor(int p = 0; p < list.size()-1; p++)\n\t\t{\n\t\t\tsmallest = p;\n\t\t\tfor(int i = p+1; i < list.size(); i++)\n\t\t\t{\n\t\t\t\tif(list.get(i) < list.get(smallest))\n\t\t\t\t{\n\t\t\t\t\tsmallest = i;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(list.get(smallest) != list.get(p))\n\t\t\t{\n\t\t\t\tAlgorithms.switches.add(new Point(smallest, p));\n\t\t\t\tint temp = list.get(smallest);\n\t\t\t\tlist.set(smallest, list.get(p));\n\t\t\t\tlist.set(p, temp);\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"d84ee9f254fd15f4efa551d0f341af44","score":"0.5496623","text":"private void rebalance() {\n int childIndex = size - 1;\n int parentIndex = getParentIndex(childIndex);\n while (data[childIndex] > data[parentIndex]) {\n swap(childIndex, parentIndex);\n childIndex = parentIndex;\n parentIndex = getParentIndex(childIndex);\n }\n }","title":""},{"docid":"3c250b17644dc658e492e62c2ed6ede3","score":"0.54883873","text":"@Override\n\tpublic void sortTree() {\n\t}","title":""},{"docid":"5d794a3351ba892f2a8af402e39d5f56","score":"0.54792553","text":"public void sort(){\r\n\t\tfor(int i = 1; i < contactsIndex; i++){\r\n\t\t\tboolean done = false;\r\n\t\t\tfor(int j = i; j > 0 && !done; j--){\r\n\t\t\t\tif(contacts[j].alphabetize(contacts[j - 1], 0) == false){\r\n\t\t\t\t\tContact temp = contacts[j];\r\n\t\t\t\t\tcontacts[j] = contacts[j - 1];\r\n\t\t\t\t\tcontacts[j - 1] = temp;\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t\tdone = true;\r\n\t\t\t}\r\n\t\t}\r\n\t\trepaint();\r\n\t}","title":""},{"docid":"93b38b0e0c609e0da846d8ca8d69f525","score":"0.54767156","text":"void sortBubbles() {\n float last = 0;\n ArrayList temp = new ArrayList();\n for (int i=0; i last) {\n index = j;\n lowest = current.z;\n }\n }\n temp.add(objects.get(index));\n last = ((ZObject)objects.get(index)).z;\n }\n objects = temp;\n }","title":""},{"docid":"9c6eccb6ee8365d7307a967f55501a9d","score":"0.5475218","text":"public void MinSupSorter(){\t\n\tCollections.sort(this.totalItems, new Item());\t\n\t}","title":""},{"docid":"660583af6840deb8e3064186124d4dc6","score":"0.5472359","text":"protected void sortEntities()\n {\n log.info(\"sortEntities() called\");\n\n // Correct double check locking per Joshua Bloch.\n // http://java.sun.com/developer/technicalArticles/Interviews/bloch_effective_08_qa.html\n\n boolean localInitialized = initialized;\n\n if (localInitialized == false)\n {\n synchronized (this)\n {\n localInitialized = initialized;\n\n if (localInitialized == false)\n {\n reallySortEntities();\n initialized = true;\n }\n }\n }\n }","title":""},{"docid":"92c467dd9c9924bd26aa6fc6d77c6c2d","score":"0.5466713","text":"public void bi_sort()\n{\nint low=0;\nint high=n-1;\nint flag=1;\nwhile(lowa[j+1])\n{swap(j,j+1); flag=0;}\n}\nfor(j=high;j>low;j--)\n{\nif(a[j] eventSequence.elementAt(j+1).getTime() ) // change to > for ascending sort\n\t {\n\t temp = eventSequence.elementAt(j); //swap elements\n\t eventSequence.set(j, eventSequence.elementAt(j+1));\n\t eventSequence.set(j+1, temp);\n\t flag = true; //shows a swap occurred \n\t } \n\t } \n\t } \n\t}","title":""},{"docid":"d09c00a1b716f0145d5085b487121ec2","score":"0.5429982","text":"public void sortAdjList() {\n Vertex key; \n int i, j;\n boolean result;\n JoosIO io;\n\n io = new JoosIO();\n j = 1;\n while (j < numMoves){\n\t key = (Vertex)adjList.elementAt(j);\n i = j - 1;\n result = this.betterVertex((Vertex)adjList.elementAt(i), key);\n while (i >= 0 && result) {\n\t\t adjList.setElementAt(adjList.elementAt(i), i + 1);\n\t\t i = i - 1;\n }\n\t j = j + 1;\n\t adjList.setElementAt(key, i + 1);\n }\n\t}","title":""},{"docid":"a59447becac4e873b1d8ce7592af0cf0","score":"0.54290396","text":"public void sortBest() {\n NeuralNet temp;\n int best = 0;\n for (int c = 0; c < generationSize / 4; c++) { \n best = c;\n for (int i = c; i < individuals.length; i++) {\n if(individuals[i] == null) continue;\n if(individuals[i].getFitness() > individuals[best].getFitness()) {\n best = i;\n }\n }\n temp = individuals[c];\n individuals[c] = individuals[best];\n individuals[best] = temp;\n }\n }","title":""},{"docid":"93a711fc3e33727212fca1542aafe109","score":"0.5423125","text":"public void descendingSelectionSort()\n\t{\n\t\tint largest;\n\t\tfor(int p = 0; p < list.size()-1; p++)\n\t\t{\n\t\t\tlargest = p;\n\t\t\tfor(int i = p+1; i < list.size(); i++)\n\t\t\t{\n\t\t\t\tif(list.get(i) > list.get(largest))\n\t\t\t\t{\n\t\t\t\t\tlargest = i;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(list.get(largest) != list.get(p))\n\t\t\t{\n\t\t\t\tAlgorithms.switches.add(new Point(largest, p));\n\t\t\t\tint temp = list.get(largest);\n\t\t\t\tlist.set(largest, list.get(p));\n\t\t\t\tlist.set(p, temp);\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"d6f790eb318913ebe69abcd9ad231f06","score":"0.5423011","text":"public void ascendingInsertionSort()\n\t{\n\t//\tSystem.out.println (list);\n\t\tfor(int i = 1; i < list.size(); i++)\n\t\t{\n\t\t\tdouble key = list.get(i);\n\t\t\tint position = i;\n\t\t\twhile(position > 0 && list.get(position-1) > key)\n\t\t\t{\n\t\t\t\tAlgorithms.switches.add(new Point(position, position-1));\n\t\t\t\tlist.set(position, list.get(position-1));\n\t\t\t\tposition--;\n\t\t\t}\n\t\t\tlist.set(position, key);\t\t\t\t\n\t\t}\n\t//\tSystem.out.println (list);\n\t}","title":""},{"docid":"9ddf2ec75222a41518d48c118ab763fb","score":"0.541934","text":"protected final void sortLevel( Vector nodes ) {\n\tint len = nodes.size();\n for( int P = 1; P < len; ++P ) {\n Node tmp = (Node) nodes.elementAt( P );\n\t\tdouble barycent = tmp.barycenter();\n int j;\n for( j = P; j > 0; --j ) {\n Node tmp2 = (Node) nodes.elementAt( j-1 );\n if( barycent >= tmp2.barycenter() ) break;\n nodes.setElementAt( tmp2, j );\n\t\t}\n\t\tnodes.setElementAt( tmp, j );\n\t}\n}","title":""},{"docid":"0e362426cfbc2f9d5e8a4626e3abdb5b","score":"0.541902","text":"public static int[] getOrdering(int[] height, int[] bloom, int[] wilt) {\n\t\tint len = height.length;\n\t\tint[] order = new int[len];\n\t\tboolean[] usedFlag = new boolean[len];\n\t\tint[][] blocking = new int[len][len];\n\t\t\n\t\t// Construct the table that represents who blocks who\n\t\tfor (int i = 0; i < height.length; i++) {\n\t\t\tfor (int j = 0; j < height.length; j++) {\n\t\t\t\tif (j !=i ) {\n\t\t\t\t\tblocking[i][j] = isBlocking(\n\t\t\t\t\t\t\tnew int[]{height[i], bloom[i], wilt[i]}, \n\t\t\t\t\t\t\tnew int[]{height[j], bloom[j], wilt[j]});\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < height.length; i++) {\n\t\t\tlogger.debug(Arrays.toString(blocking[i]));\n\t\t}\n\t\t\n\t\t// iterate over the length of the result\n\t\tfor (int k = 0; k < order.length; k++) {\n\t\t\tint maxHeight = -1;\n\t\t\tint maxIndex = 0;\n\t\t\t\n\t\t\t// check if the tree is blocking the rest\n\t\t\tfor (int i = 0; i < len; i++) {\n\t\t\t\t\n\t\t\t\tif (!usedFlag[i])\n\t\t\t\t{\n\t\t\t\t\tboolean blockFlag = false;\n\t\t\t\t\t\n\t\t\t\t\t// this loop can be avoided IF we maintain an array \n\t\t\t\t\t// containing sum of rows of blocking[i][j]\n\t\t\t\t\tfor (int j = 0; j < len; j++) {\n\t\t\t\t\t\t// skipped if tree j has been used\n\t\t\t\t\t\tif ( blocking[i][j] != 0 ) {\n\t\t\t\t\t\t\t// tree i blocking some tree j\n\t\t\t\t\t\t\tblockFlag = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t// if the current tree is NOT blocking any tree\n\t\t\t\t\tif (!blockFlag && height[i] > maxHeight) {\n\t\t\t\t\t\tmaxHeight = height[i];\n\t\t\t\t\t\tmaxIndex = i;\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\t\n\t\t\tlogger.debug( Integer.toString(maxIndex) );\n\t\t\t// push into the order\n\t\t\torder[k] = maxHeight;\n\t\t\t// remove the tree type\n\t\t\tusedFlag[maxIndex] = true;\n\t\t\t// the rest of the trees should not block this tree\n\t\t\tfor (int i = 0; i < len; i++) {\n\t\t\t\tblocking[i][maxIndex] = 0;\n\t\t\t}\n\t\t\t\n\t\t\tfor (int i = 0; i < height.length; i++) {\n\t\t\t\tlogger.debug(Arrays.toString(blocking[i]));\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\treturn order;\n\t}","title":""},{"docid":"a22de41a73b9ceb77fdf8bb888a8430f","score":"0.5418379","text":"private static void insert(int[] sortting) {\n\t\t\r\n\t}","title":""},{"docid":"9936d2d03e78e2f01a73257c0217f980","score":"0.54118425","text":"@Override\n protected void sortImpl(int[] a) {\n for (int i = 0; i < a.length; i++) {\n int j = i;\n while ((j > 0) && isLess(a[j], a[j - 1])) {\n swap(a, j, j - 1);\n j--;\n }\n }\n }","title":""},{"docid":"e757b1e3f49483818b10ca40ff5fec5c","score":"0.541108","text":"public void descendingInsertionSort()\n\t{\n\t\tfor(Node n : nodes)\n\t\t\tn.reset();\n\t\tif(intalgs == null && doublealgs == null)\n\t\t\tstringalgs.descendingInsertionSort();\n\t\telse if(intalgs == null)\n\t\t\tdoublealgs.descendingInsertionSort();\n\t\telse\n\t\t\tintalgs.descendingInsertionSort();\n\t}","title":""},{"docid":"5d87e1a51c7404b75fe079fba8f3149f","score":"0.54077715","text":"public void sort() {\n\t\tSystem.out.println(\"bubble sort\");\n\t}","title":""},{"docid":"c3dde5756d61ecbc71cb5f405fe5814e","score":"0.53960955","text":"protected void compactAndSortInvertedLists() {\n InvListBasedStorage ilStorage = (InvListBasedStorage)getStorage();\n ilStorage.compactAndSortInvertedLists();\n }","title":""},{"docid":"95c77457fcd054c13caae9b08f975446","score":"0.53919226","text":"public void sortPossibleBids() {\n\t\tif (TEST_EQUIVALENCE) {\n\t\t\tCollections.sort(possibleBids, new BidDetailsStrictSorterUtility());\n\t\t} else {\n\t\t\tCollections.sort(possibleBids);\n\t\t}\n\t}","title":""},{"docid":"62328217c3d534f61bcbd7eccd230a98","score":"0.53912616","text":"private void sortAttackChance1() {\n\t\t// ToDo: Sort the list using Collections.sort(list, Comparator)\n\t\t// Create a class that implements comparator and overrides\n\t\t// method compare(,);\n\t\tCollections.sort(records,new AttackChance1Comparator());\n\t\t//throw new UnsupportedOperationException(\"not implemented yet (DID YOU FORGET SOMETHING??\"); // remove\n\t}","title":""},{"docid":"b6b7656bd9f710acc63f9e94c0078aa9","score":"0.53865457","text":"private void binaryInsertionSort(int[] data, int first, int last)\n \t{\n \t\tfirstTime = System.currentTimeMillis();\n \t\t//Goes through data array\n\t \tfor(int i = first+1; i <= last; i++)\n\t \t{\n\t \t\t//target gets index of where to stick element\n\t\t \tint target = binarySearch(data, data[i], first, i-1);\n\t\t \tif (target != i)\n\t\t \t{\n\t\t\t\tint temp = data[i];\n\t\t\t\tfor(int j = i; j > target; j--)\n\t\t\t\t{\n\t\t\t\t\t//Swap elemetns\n\t\t\t \t\tdata[j] = data[j-1];\n\n\t\t\t \t\t//Painting\n\t\t\t \t\tdoPaint = PaintType.SINGLE;\n\t\t\t\t \tindex = j;\n\t\t\t\t \tpicture.paint(picture.getGraphics());\n\t\t\t \t}\n\t\t\t\tdata[target] = temp;\n\t\t \t}\n\t\t }\n\t\tfinalTime = System.currentTimeMillis();\n\t\telapsedTime = finalTime-firstTime;\n\t\tinsertionSortTime = elapsedTime;\n\t\tprintTime();\n }","title":""},{"docid":"17c575f5b4bf0e6b6847a4608bce7b2f","score":"0.5380393","text":"public void mergeSort()\n {\n }","title":""},{"docid":"260a3398c2e6db4f1d01ed10695cbcc4","score":"0.5378927","text":"private void sort() {\n if (gridView.getItems() instanceof SortedList) {\n ((SortedList) gridView.getItems()).setComparator(new DirListItemComparator(callback.orderByProperty().get(), callback.orderDirectionProperty().get()));\n selectCurrent();\n }\n }","title":""},{"docid":"7b2aa15216fdf78e702f7d50b708921f","score":"0.53770447","text":"void bxsrt(){\n for( int j=0; j bdatas[i+1].x){\n bswap(i, i+1);\n }\n }\n }\n}","title":""},{"docid":"db3195657b49884ba8b09505b1b8067b","score":"0.53696686","text":"public void ascendingSelectionSort()\n\t{\n\t\tint smallest;\n\t\tfor(int p = 0; p < list.size()-1; p++)\n\t\t{\n\t\t\tsmallest = p;\n\t\t\tfor(int i = p+1; i < list.size(); i++)\n\t\t\t{\n\t\t\t\tif(list.get(i).compareTo(list.get(smallest)) < 0)\n\t\t\t\t{\n\t\t\t\t\tsmallest = i;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(list.get(smallest) != list.get(p))\n\t\t\t{\n\t\t\t\tAlgorithms.switches.add(new Point(smallest, p));\n\t\t\t\tString temp = list.get(smallest);\n\t\t\t\tlist.set(smallest, list.get(p));\n\t\t\t\tlist.set(p, temp);\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"b8870d740bdc30ba9039a71a201319ec","score":"0.53654546","text":"private void doPrepare() {\n StopWatch watch = new StopWatch().start();\n\n LOGGER.debug(\"Sorting long long multimap...\");\n long[] sortedKeys = keys.toArray();\n\n // this happens in a worker thread, but it's OK to use parallel sort because\n // all other threads will block while we prepare the multimap.\n Arrays.parallelSort(sortedKeys);\n\n // after sorting keys, sort values by iterating through each unordered key/value pair and\n // using binary search to find where to insert the result in sorted values.\n long[] sortedValues = new long[sortedKeys.length];\n int from = 0;\n while (from < keys.size()) {\n long key = keys.get(from);\n int to = Arrays.binarySearch(sortedKeys, key);\n if (to < 0) {\n throw new IllegalStateException(\"Key not found: \" + key);\n }\n // skip back to the first entry for this key\n while (to >= 0 && sortedKeys[to] == key) {\n to--;\n }\n // skip ahead past values we've already added for this key\n do {\n to++;\n } while (sortedValues[to] != 0);\n while (from < keys.size() && keys.get(from) == key) {\n sortedValues[to++] = values.get(from++);\n }\n }\n keys.buffer = sortedKeys;\n values.buffer = sortedValues;\n LOGGER.debug(\"Sorted long long multimap \" + watch.stop());\n }","title":""},{"docid":"765c9dff58d361cb3cee002d9351cc2c","score":"0.5350139","text":"public void selectSort() {\n int inner;\n for (int outer = 0; outer < arr.length; outer++) {\n int temp = arr[outer];\n inner = outer;\n while (inner > 0 && arr[inner - 1] >= temp) {\n arr[inner] = arr[inner - 1];\n --inner;\n }\n arr[inner] = temp;\n }\n }","title":""},{"docid":"4b5be073b6a4ea94784bdd81f88ea73c","score":"0.5347071","text":"public void ascendingInsertionSort()\n\t{\n\t//\tSystem.out.println (list);\n\t\tfor(int i = 1; i < list.size(); i++)\n\t\t{\n\t\t\tString key = list.get(i);\n\t\t\tint position = i;\n\t\t\twhile(position > 0 && list.get(position-1).compareTo(key) > 0)\n\t\t\t{\n\t\t\t\tAlgorithms.switches.add(new Point(position, position-1));\n\t\t\t\tlist.set(position, list.get(position-1));\n\t\t\t\tposition--;\n\t\t\t}\n\t\t\tlist.set(position, key);\t\t\t\t\n\t\t}\n\t//\tSystem.out.println (list);\n\t}","title":""},{"docid":"f515a5581370f037c36f668c234af41b","score":"0.53412724","text":"public void resetSortOrder()\n/* */ {\n/* 1901 */ if (!hasSortController()) return;\n/* 1902 */ getSortController().resetSortOrders();\n/* */ \n/* 1904 */ if (getTableHeader() != null) {\n/* 1905 */ getTableHeader().repaint();\n/* */ }\n/* */ }","title":""},{"docid":"981a7dd313eb9a9e5c67121c33c6ce89","score":"0.5340493","text":"private static final void sortByMorton(Node start) {\n start.previousZ.nextZ = null;\n start.previousZ = null;\n // Sort the generated ring using Z ordering.\n tathamSort(start);\n }","title":""},{"docid":"917b1d8a874f0702957e9e65d9ce0e3f","score":"0.53305763","text":"@Test\n public void testSort() {\n Mergesort mergesort = new MergesortRolez(0, 0L);\n Random random = new Random();\n \n int n = 1000;\n GuardedArray ints = mergesort.shuffledInts(n, random, 0L);\n mergesort.sort(ints, currentTask().idBits());\n for(int i = 0; i < n; i++)\n assertEquals(i, ints.data[i]);\n }","title":""},{"docid":"6db686566424ca4a68d724e796478e73","score":"0.5329423","text":"public void insertSort()\n {\n }","title":""},{"docid":"ef720acb33c2b33ef8f2131002bdcc50","score":"0.53248394","text":"void partialSort(int[] src, int[] dest, int group) {\n int freq[] = new int[256]; //2^8 = 256, each 8-bit is in [0,255]\n int accuFreq[] = new int[256];\n \n int sig;\n int len = src.length;\n for (int i = 0; i < len; i++) {\n sig = (src[i] >> (group * 8)) & 255;\n freq[sig]++;\n }\n \n //calculate accumulated frequency, this is the key to count sort\n accuFreq[0] = freq[0];\n for (int j = 1; j < 256; j++)\n accuFreq[j] = accuFreq[j-1] + freq[j]; //warning: error-prone\n \n //use accumulated frequency for count sort\n for (int i = len-1; i >= 0; i--) {\n sig = (src[i] >> (group * 8)) & 255;\n dest[accuFreq[sig]-1] = src[i];\n accuFreq[sig]--;\n }\n }","title":""},{"docid":"82ec588f5942e698ad2b55577facb45f","score":"0.5324693","text":"public void descendingSelectionSort()\n\t{\n\t\tint largest;\n\t\tfor(int p = 0; p < list.size()-1; p++)\n\t\t{\n\t\t\tlargest = p;\n\t\t\tfor(int i = p+1; i < list.size(); i++)\n\t\t\t{\n\t\t\t\tif(list.get(i) > list.get(largest))\n\t\t\t\t{\n\t\t\t\t\tlargest = i;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(list.get(largest) != list.get(p))\n\t\t\t{\n\t\t\t\tAlgorithms.switches.add(new Point(largest, p));\n\t\t\t\tdouble temp = list.get(largest);\n\t\t\t\tlist.set(largest, list.get(p));\n\t\t\t\tlist.set(p, temp);\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"344547b03be68fba0e5a895d2c70a94f","score":"0.53172916","text":"public void ascendingInsertionSort()\n\t{\n\t\tfor(Node n : nodes)\n\t\t\tn.reset();\n\t\tif(intalgs == null && doublealgs == null)\n\t\t\tstringalgs.ascendingInsertionSort();\n\t\telse if(intalgs == null)\n\t\t\tdoublealgs.ascendingInsertionSort();\n\t\telse\n\t\t\tintalgs.ascendingInsertionSort();\n\t}","title":""},{"docid":"63c863fa267ed7db8fc5c50737924820","score":"0.5316896","text":"public void sort (int[] elts) {\r\n\t\tint NUMTHREADS = Runtime.getRuntime().availableProcessors();\r\n\t\texec = Executors.newFixedThreadPool(NUMTHREADS);\r\n\t\tparallelQuickSortSegment (elts, 0, elts.length);\r\n\t\texec.shutdown();\r\n\t\ttry {\r\n\t\t\texec.awaitTermination(Long.MAX_VALUE, TimeUnit.SECONDS);\r\n\t\t} catch (InterruptedException e) { }\r\n\t}","title":""},{"docid":"42c84f4db04eac9c7d7bbf99124ac146","score":"0.5315593","text":"private void sort () {\n Arrays.sort(networks, new Comparator() {\n public int compare(Network n1, Network n2) {\n return Float.compare(n2.getFitness(), n1.getFitness());\n }\n });\n }","title":""},{"docid":"158b5049ea968662c38afb0a97e49bc3","score":"0.5310261","text":"@Override\n\tpublic void sort(int order) {\n\t\t// TODO\n\t}","title":""},{"docid":"b7b6b05c4c165d56b83540e1763fa44e","score":"0.53093845","text":"public void sort() {\n\t\tPVComparator cmp = new PVComparator();\n\t\tCollections.sort(lt, cmp);\n\t}","title":""},{"docid":"5fc347b58c62662a6bff15292c7ff228","score":"0.5306427","text":"protected void insertionSort() {\n boolean dataChanged = false;\n if(index<2) {\n return;\n // need at least two points to sort.\n }\n for(int i = 1; i result = exec.submit(new PMSTask (elts));\r\n\t\ttry {\r\n\t\t\tresult.get(); // Wait for result\r\n\t\t}\r\n\t\tcatch (InterruptedException e) {}\r\n\t\tcatch (ExecutionException e) {}\r\n\t\tfinally {\r\n\t\t\texec.shutdown();\r\n\t\t}\r\n\t}","title":""},{"docid":"95d1050ea6b4e4e5b42938d7eb0d8df9","score":"0.529753","text":"@Override\r\n public void sort() {\r\n int n = this.input.length;\r\n int k;\r\n for (int m = n; m >= 0; m--) {\r\n for (int i = 0; i < n - 1; i++) {\r\n k = i + 1;\r\n if (this.input[i] > this.input[k]) {\r\n this.swapNumbers(i, k);\r\n }\r\n }\r\n }\r\n }","title":""},{"docid":"1cf7abb5ec61f96be06e65579324b590","score":"0.5297064","text":"public static void sortVerticesBench() throws IOException {\n out = new BufferedWriter(new FileWriter(file, true));\n out.newLine();\n out.write(\"-> Opération sortVertices:\");\n out.newLine();\n out.close();\n\n testSortVertices(1000);\n testSortVertices(10000);\n testSortVertices(20000);\n testSortVertices(50000);\n testSortVertices(100000);\n testSortVertices(1000000);\n testSortVertices(10000000);\n }","title":""}],"string":"[\n {\n \"docid\": \"0faf331234d603b64aeda6773749f2a0\",\n \"score\": \"0.6582511\",\n \"text\": \"@Override\\n public int getSortWeight() {\\n return 1000;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a36fb2805a2f7fc47363bbde8ee1c85\",\n \"score\": \"0.6551011\",\n \"text\": \"private Sorts () {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ad067ac6a2ad887f1fb7cbd769ca229b\",\n \"score\": \"0.6296483\",\n \"text\": \"public static void sort(int[] array) {\\n if (array.length <= MIN_BLOCK_SIZE){\\n insertionSortRange(array,0,array.length);\\n\\n // Else, break array into sub blocks sort, then merge sort the sub blocks.\\n } else {\\n \\n // Calculate the number of subBlocks in array.\\n int subBlocks = array.length / MIN_BLOCK_SIZE;\\n\\n // For each subBlock in the array.\\n for (int i = 0; i < subBlocks; i++) {\\n\\n // Calculate the begin and end indices.\\n int begin = i * MIN_BLOCK_SIZE;\\n int end = begin + MIN_BLOCK_SIZE;\\n\\n // Pass the array and begin and end indexes into the insertionSort algorithm.\\n insertionSortRange(array,begin,end);\\n }\\n\\n // Call insertion sort algorithm on last elements in the array that are less than a whole subBlock.\\n insertionSortRange(array,subBlocks * MIN_BLOCK_SIZE, array.length);\\n\\n // FOr each subBlock in the array.\\n for (int i = 0; i < subBlocks; i++) {\\n\\n // Calculate the end and mid indices.\\n int end = i * MIN_BLOCK_SIZE + 2 * MIN_BLOCK_SIZE;\\n int mid = end - MIN_BLOCK_SIZE;\\n\\n // If the end index is out of range.\\n if (end > array.length){\\n\\n // Call mergrSort algorithm on the the array from [left .. mid] and [mid .. array.length].\\n mergeRange(array,0,mid, array.length);\\n }else {\\n\\n // Call the mergeSort algorithm on the array from [left .. mid] and [mid .. end].\\n mergeRange(array,0,mid,end);\\n }\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d132f193db787378ea3bb10b46e49a3\",\n \"score\": \"0.61814094\",\n \"text\": \"public void sort() {\\r\\n\\t\\tSystem.out.format(\\\"Start %d way merge sort.\\\\n\\\", numberOfWays);\\r\\n\\t\\t// GCThread thread = new GCThread();\\r\\n\\t\\t// thread.start();\\r\\n\\t\\tsplit();\\r\\n\\t\\tmergeSort();\\r\\n\\t\\t// thread.stop();\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0b270957009b398de2f14183b71bda35\",\n \"score\": \"0.61491346\",\n \"text\": \"private SmoothSort() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"30c875866287fe01b5e7ebc58755f84d\",\n \"score\": \"0.60886467\",\n \"text\": \"public void sort() {\\r\\n\\t\\tComparable tmp;\\r\\n\\t\\t\\r\\n\\t\\tfor(int i=0;i etable.get(j+1).getGames_won()) {\\n ETableData buffer = etable.get(j);\\n etable.set(j, etable.get(j+1));\\n etable.set(j+1, buffer);\\n } else if(etable.get(j).getGames_won() == etable.get(j+1).getGames_won() && etable.get(j).getTotal_margin() > etable.get(j+1).getTotal_margin()) {\\n ETableData buffer = etable.get(j);\\n etable.set(j, etable.get(j+1));\\n etable.set(j+1, buffer);\\n }\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed910b897b15a85cf474f9ef147663c1\",\n \"score\": \"0.59889704\",\n \"text\": \"long getSort();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7cffb70b657691c42ac7a178b04e2b31\",\n \"score\": \"0.5984491\",\n \"text\": \"public void sort(){}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"182a49726cbbd838759316ccfc2ac7f2\",\n \"score\": \"0.59776\",\n \"text\": \"public void sorted();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"06e56f903cf60a94aee5762f5c4b6574\",\n \"score\": \"0.5960491\",\n \"text\": \"public void sort(){\\n Object temp;\\n for(int i=1;i<=size;i++){\\n \\tfor(int j=start;j(int)cir[(j+1)%cir.length]){\\n \\t\\t\\ttemp=cir[j%cir.length];\\n \\t\\t\\tcir[j%cir.length]=cir[(j+1)%cir.length];\\n \\t\\t\\tcir[(j+1)%cir.length]=temp;\\n \\t\\t}\\n \\t}\\n }\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bcc7961a0f52a48bc37ee9219549c0c1\",\n \"score\": \"0.5960233\",\n \"text\": \"private int runSort()\\n\\t{\\n\\t\\tint index = 0;\\n\\t\\tList particleIndex = new ArrayList();\\n\\n\\t\\t// get values out of buffer\\n\\t\\t_particleIndexPtr = _particleIndex.map(_queue, CLMem.MapFlags.ReadWrite);\\n\\t\\tint[] particleInd = _particleIndexPtr.getInts();\\n\\n\\t\\tfor(int i = 0; i < _particleCount * 2; i += 2)\\n\\t\\t{\\n\\t\\t\\tint[] element = { particleInd[i], particleInd[i + 1] };\\n\\t\\t\\tparticleIndex.add(element);\\n\\t\\t}\\n\\t\\tCollections.sort(particleIndex, new MyCompare());\\n\\t\\tfor(int i = 0; i < particleIndex.size(); i++)\\n\\t\\t{\\n\\t\\t\\tfor(int j = 0; j < 2; j++)\\n\\t\\t\\t{\\n\\t\\t\\t\\tparticleInd[index] = particleIndex.get(i)[j];\\n\\t\\t\\t\\tindex++;\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\t// put results back\\n\\t\\t_particleIndexPtr.setInts(particleInd);\\n\\t\\t_particleIndex.unmap(_queue, _particleIndexPtr);\\n\\n\\t\\treturn 0;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b633c79d043515e5a6f3973b57f31fb3\",\n \"score\": \"0.5948335\",\n \"text\": \"public void descendingInsertionSort()\\n\\t{\\n\\t\\tfor(int i = 1; i < list.size(); i++)\\n\\t\\t{\\n\\t\\t\\tint key = list.get(i);\\n\\t\\t\\tint position = i;\\n\\t\\t\\twhile(position > 0 && list.get(position-1) < key)\\n\\t\\t\\t{\\n\\t\\t\\t\\tAlgorithms.switches.add(new Point(position, position-1));\\n\\t\\t\\t\\tlist.set(position, list.get(position-1));\\n\\t\\t\\t\\tposition--;\\n\\t\\t\\t}\\n\\t\\t\\tlist.set(position, key);\\t\\t\\t\\t\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"001f3e017c14d2f3e94f8096f1a46f5f\",\n \"score\": \"0.59309155\",\n \"text\": \"public void sort()\\n {\\n for (int i = 0; i < coins.length - 1; i++)\\n {\\n int minPos = minimumPosition(coins, i);\\n ArrayUtil.swap(coins, minPos, i);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4ee55315a263a73567e52c7657bec9bc\",\n \"score\": \"0.59236974\",\n \"text\": \"protected abstract void sort();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b23a0c505cb44dc5e5804f5ae15ec671\",\n \"score\": \"0.59017485\",\n \"text\": \"@Override\\n\\tpublic void OrderStandBy() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"90177ac2d5278b89918ff3987cef3d64\",\n \"score\": \"0.5893985\",\n \"text\": \"List getBlocksInEntryOrder();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3f05008ccfb6186d534c0b412e422d18\",\n \"score\": \"0.5887652\",\n \"text\": \"public abstract void consignSort();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"224073354c498f89983dae757cf45286\",\n \"score\": \"0.58850944\",\n \"text\": \"@Override\\r\\n\\tprotected void doSort() {\\n\\t\\tint length = getDataLength();\\r\\n\\t\\tdouble[] data = new double[length];\\r\\n\\t\\tfor (int i = 0; i < length; i++) {\\r\\n\\t\\t\\tdata[i] = probe(i);\\r\\n\\t\\t}\\r\\n\\t\\tdouble[] sorted = data.clone();\\r\\n\\t\\tArrays.sort(sorted);\\r\\n\\t\\t\\r\\n\\t\\tnextSortedIndex:\\r\\n\\t\\tfor (int sortedIndex = 0; sortedIndex < length; sortedIndex++) {\\r\\n\\t\\t\\tfor (int dataIndex = 0; dataIndex < length; dataIndex++) {\\r\\n\\t\\t\\t\\tif (sorted[sortedIndex] == data[dataIndex]) {\\r\\n\\t\\t\\t\\t\\tif (sortedIndex != dataIndex) {\\r\\n\\t\\t\\t\\t\\t\\tswap(sortedIndex, dataIndex);\\r\\n\\t\\t\\t\\t\\t\\tdata[dataIndex] = data[sortedIndex];\\r\\n\\t\\t\\t\\t\\t\\tdata[sortedIndex] = sorted[sortedIndex];\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\tbreak nextSortedIndex;\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"108b9189508275599cf6ecad75445892\",\n \"score\": \"0.5880524\",\n \"text\": \"protected synchronized void sort() throws BucketStorageException {\\n beingSorted = true;\\n try {\\n while (unsortedSizeUsed > 0) {\\n // Retrieve last unsorted object address\\n int lastUnsortedIndex = index.length - unsortedSizeTotal + unsortedSizeUsed - 1;\\n long address = index[lastUnsortedIndex];\\n\\n // Search for the position where the object is added into index\\n int pos = insertionPoint(storage.read(address));\\n\\n // Move index data to make space\\n System.arraycopy(index, pos, index, pos + 1, lastUnsortedIndex - pos);\\n index[pos] = address;\\n unsortedSizeUsed--;\\n unsortedSizeTotal--;\\n }\\n } finally {\\n beingSorted = false;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3e0948369f0dd7fa5e07a84d82470cf6\",\n \"score\": \"0.5865977\",\n \"text\": \"void sortAllNodes()\\n\\t{\\n\\t\\tsortCZoneNodes(null);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"866654520b322166e55938f84ca97e93\",\n \"score\": \"0.585866\",\n \"text\": \"private void initializeBlocks() {\\n\\t\\t\\n\\t\\t//set up blocks\\n\\t\\tcellGroups = new Cell[9][9];\\n\\t\\t\\n\\t\\tCell cellToSort;\\n\\t\\tint block;\\n\\t\\t\\n\\t\\t//iterate over all Cells\\n\\t\\tfor(int x=0; x<=8; x++){\\n\\t\\t\\tfor (int y=0; y<=8; y++){\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tcellToSort = cellArray[x][y];\\n\\t\\t\\t\\tblock = cellToSort.getBlock();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t//sort Cell into correct block\\n\\t\\t\\t\\tfor(int i=0;i<=8;i++){\\n\\t\\t\\t\\t\\tif(cellGroups[block][i]==null){\\n\\t\\t\\t\\t\\t\\tcellGroups[block][i]=cellToSort;\\n\\t\\t\\t\\t\\t\\tbreak;\\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}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c2303b215129d70dce7b511c22369157\",\n \"score\": \"0.5802829\",\n \"text\": \"private Sort()\\n\\t{\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8c20026253d8801ce12cc4c079a4c4b4\",\n \"score\": \"0.5767231\",\n \"text\": \"public void ascendingInsertionSort()\\n\\t{\\n\\t\\tfor(int i = 1; i < list.size(); i++)\\n\\t\\t{\\n\\t\\t\\tint key = list.get(i);\\n\\t\\t\\tint position = i;\\n\\t\\t\\twhile(position > 0 && list.get(position-1) > key)\\n\\t\\t\\t{\\n\\t\\t\\t\\tAlgorithms.switches.add(new Point(position, position-1));\\n\\t\\t\\t\\tlist.set(position, list.get(position-1));\\n\\t\\t\\t\\tposition--;\\n\\t\\t\\t}\\n\\t\\t\\tlist.set(position, key);\\t\\t\\t\\t\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fb31d4b1ea1a3236dc35946d36bd86e6\",\n \"score\": \"0.5762004\",\n \"text\": \"private void resumeOfflineSorting() {\\n synchronized (offlineSortLock) {\\n osc = false;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e17456fe4d503789895d39a877a08abb\",\n \"score\": \"0.57563055\",\n \"text\": \"public void sortOnline() throws Exception {// NOPMD\\n final RingInputStream ringInputStream = new RingInputStream();\\n final int[] eventData = new int[eventSize];\\n final byte[] buffer = GuiceInjector.getObjectInstance(\\n RingBufferFactory.class).freshBuffer();\\n while (true) { // loop while acquisition on\\n /* Get a new buffer and make an input stream out of it. */\\n if (ringBuffer.isCloseToFull()) {\\n increaseSortInterval();\\n setIsCallingSort(false);\\n } else {\\n setIsCallingSort(true);\\n if (ringBuffer.isEmpty()) {\\n decreaseSortInterval();\\n }\\n }\\n ringBuffer.getBuffer(buffer);\\n ringInputStream.setBuffer(buffer);\\n eventInputStream.setInputStream(ringInputStream);\\n /* Zero event array. */\\n Arrays.fill(eventData, 0);\\n eventInputStatus = eventInputStream.readEvent(eventData);\\n while (((eventInputStatus == EventInputStatus.EVENT)\\n || (eventInputStatus == EventInputStatus.SCALER_VALUE) || (eventInputStatus == EventInputStatus.IGNORE))) {\\n if (eventInputStatus == EventInputStatus.EVENT) {\\n checkIntervalAndSortEvent(eventData);\\n }\\n // else SCALER_VALUE, assume sort stream took care and move on\\n eventInputStatus = eventInputStream.readEvent(eventData);\\n }\\n handleStatusOnline();\\n yield();\\n }// end infinite loop\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a998e35ef6aa37cb0aab4eb84f48e648\",\n \"score\": \"0.57313573\",\n \"text\": \"@Override \\r\\n\\tpublic void sort(int order)\\r\\n\\t{\\r\\n\\t\\tsetComparator(order);\\r\\n\\t\\t\\r\\n\\t\\tsortingTime = System.nanoTime();\\r\\n\\r\\n\\t\\tmergeSortRec(points);\\r\\n\\t\\t\\r\\n\\t\\tsortingTime = System.nanoTime() - sortingTime;\\r\\n\\t\\t\\r\\n\\t\\tdraw();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0af55e4d671bef5a0809e41ce917ee1d\",\n \"score\": \"0.5723709\",\n \"text\": \"static void sort() {\\n System.out.println(\\\"Dentro do sort\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"27b4a07423e4877122018fec433f483e\",\n \"score\": \"0.5715603\",\n \"text\": \"@Override\\n public void sort() {\\n for (int i = 0; i < arr.length; i++) {\\n int minPos = minPosition(i, arr.length);\\n ArrayUtils.swap(arr, i, minPos);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3373ae7cdb0232abfc17aaa82633040b\",\n \"score\": \"0.56890786\",\n \"text\": \"private static void MultiThreadSort(int[] a) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aecab83d37c1b8c5b625675395d3e4b7\",\n \"score\": \"0.56730044\",\n \"text\": \"private void sort() {\\n\\t\\tfor (int i=1; i<= numbers.length-1; i++) { //outer loop to scroll thru right of the list\\n\\t\\t\\tfor (int j=i; j > 0; j--) { //inner loop to scroll thru the left of the list\\n\\t\\t\\t\\tif (numbers[j] < numbers[j-1]) {\\n\\t\\t\\t\\t\\texchangeIndex(j, j-1); //exchange with the lower number\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"98794f567612c534e68ef67815fa8d29\",\n \"score\": \"0.56719697\",\n \"text\": \"private void sort() {\\n recAdapter.sortCountermeasureList(this.sortBy);\\n recAdapter.notifyDataSetChanged();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7882502164f9449496a8a673b786b6dc\",\n \"score\": \"0.56596375\",\n \"text\": \"public static void main(String[] args) {\\n double S = 0;\\n for(int i = 6; i > 0; i--){\\n Comparable[] list1 = new Comparable[(int) (Math.pow(10, i))];\\n for(int j = 0; j < list1.length; j++){\\n list1[j] = (int) (Math.random() * 1000);\\n }\\n Comparable[] list2 = Arrays.copyOf(list1, list1.length);\\n\\n long timeNaive = MergesortParallelNaive.sort(list1);\\n long timeRegular = Mergesort.sort(list2);\\n if(timeRegular < timeNaive){\\n S = Math.pow(10, i);\\n break;\\n }\\n }\\n\\n Comparable[] list = new Comparable[(int) (10 * S)];\\n for(int j = 0; j < list.length; j++){\\n list[j] = (int) (Math.random() * 1000);\\n }\\n MergesortParallelSmart.sort(list, S);\\n System.out.println(\\\"\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8cde34771097408f4bc633631dff861f\",\n \"score\": \"0.56339806\",\n \"text\": \"public void selectionSort() {\\r\\n\\t\\tsorted = true;\\r\\n\\t\\tfor (int n = topCard; n > 0; n--) {\\r\\n\\t\\t\\tfor (int i = 0; i < n; i++) {\\r\\n\\t\\t\\t\\tif (cards[i].compareTo(cards[n]) > 0) {\\r\\n\\t\\t\\t\\t\\tCard aTemp = cards[i];\\r\\n\\t\\t\\t\\t\\tcards[i] = cards[n];\\r\\n\\t\\t\\t\\t\\tcards[n] = aTemp;\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3099090b805e1634aa559a3fdadf06a6\",\n \"score\": \"0.5614814\",\n \"text\": \"public static void bury(Block[] blocks) {\\n\\t\\t\\tBlock temp;\\n\\t\\t\\tfor(int i=0;iblocks[j+1].getY()) {\\n\\t\\t\\t\\t\\t\\t// use a temporary space when switching index\\n\\t\\t\\t\\t\\t\\ttemp = blocks[j];\\n\\t\\t\\t\\t\\t\\tblocks[j] = blocks[j+1];\\n\\t\\t\\t\\t\\t\\tblocks[j+1] = temp; // this method is not used in bubble sorting: mimicking\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\n\\t\\t\\t}\\n\\t\\t\\tfor(int i=0; i 0 && list.get(position-1) < key)\\n\\t\\t\\t{\\n\\t\\t\\t\\tAlgorithms.switches.add(new Point(position, position-1));\\n\\t\\t\\t\\tlist.set(position, list.get(position-1));\\n\\t\\t\\t\\tposition--;\\n\\t\\t\\t}\\n\\t\\t\\tlist.set(position, key);\\t\\t\\t\\t\\n\\t\\t}\\n\\t//\\tSystem.out.println (list);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1206f86442a57e38569b2e3d05d1c5b0\",\n \"score\": \"0.5607651\",\n \"text\": \"private void sort() {\\n\\t do{\\n\\t int big;\\n\\t \\n\\t // Traditional selection sort\\n\\t // Use the whole array, then one less, then one less ..\\n\\t for (int i=numPix; i>1; i--) {\\n\\t\\t \\n\\t\\t // Find the largest name between 0 and i\\n\\t\\t big = findMaxName(i);\\n\\t\\t \\n\\t\\t // Swap the largest from position i\\n\\t\\t // into position big\\n\\t\\t pixfile p = list[big];\\n\\t\\t list[big] = list[i-1];\\n\\t\\t list[i-1] = p;\\n\\t }\\n\\t }while(true);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"59d4d2124d0ff3a72b3263add89e320a\",\n \"score\": \"0.5592498\",\n \"text\": \"protected void sortGroups(CommandSender sender) {\\n if (_sortedGroups == null) {\\n long start = System.currentTimeMillis();\\n\\n // For all chunks, and for all 16 boxes in a chunk, for each\\n // EntityType that has a non-zero count append an EntityGroup. Note\\n // that groups is initialised with a certain capacity, but starts\\n // with 0 size.\\n ArrayList groups = new ArrayList<>(_chunkCounts.size());\\n for (ChunkCount chunkCount : _chunkCounts) {\\n for (int i = 0; i <= 15; ++i) {\\n if (chunkCount.hasBox(i)) {\\n chunkCount.getBox(i).addEntityGroupsTo(groups);\\n }\\n }\\n }\\n\\n // Exclude groups of ITEM_FRAME and sort descending by count.\\n _sortedGroups = groups.stream()\\n .filter(g -> g.getEntityType() != EntityType.ITEM_FRAME)\\n .sorted((l, r) -> r.getCount() - l.getCount())\\n .toArray(size -> new EntityGroup[size]);\\n\\n long elapsedMillis = System.currentTimeMillis() - start;\\n sender.sendMessage(ChatColor.GOLD + String.format(\\\"Sorted %d entity groups in %d milliseconds.\\\",\\n _sortedGroups.length, elapsedMillis));\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cac89a7b4688e36d14b63dfae47709cc\",\n \"score\": \"0.55887383\",\n \"text\": \"public void mergeSort() {\\r\\n\\t\\tDeck.sort(getCards());\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8f72520510f1c26e911076b016225dee\",\n \"score\": \"0.55776405\",\n \"text\": \"private void breakDeadlock() {\\n\\t\\t\\n\\t\\t Set s = cycleDetector.findCycles();\\n\\t\\t ArrayList list =new ArrayList(s);\\n\\t\\t Collections.sort(list);\\n\\t\\t for (Iterator it = list.iterator(); it.hasNext();) {\\n\\t\\t\\tInteger i = (Integer) it.next();\\n\\t\\t\\t/*if(i<=0){\\n\\t\\t\\t\\tit.remove();\\n\\t\\t\\t}*/\\n\\t\\t}\\n\\t\\t for (Vector as : allocation) {\\n\\t\\t\\t reorderAllocation(list,as);\\n\\t\\t }\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eb0f8df0729c5be82908ca7b93fecf88\",\n \"score\": \"0.55771977\",\n \"text\": \"public static void main(String[] args) throws IOException {\\n FileIO runFile = new FileIO(args[0], \\\"runFile.bin\\\");\\n Buffer inBuffer = new Buffer(1); // 1 block input buffer\\n Buffer outBuffer = new Buffer(1); // 1 block output buffer\\n\\n LinkedList runStatList = new LinkedList();\\n LinkedList pointersList = new LinkedList();\\n\\n MinHeap sortingHeap = new MinHeap(HEAP_SIZE\\n * RECORDS_PER_BLOCK);\\n\\n boolean isHeapified = false;\\n boolean isFinalRun = false;\\n boolean finalRunDone = false;\\n\\n if (inBuffer.isEmpty() && !runFile.isEndOfFile()) {\\n inBuffer.insertBlock(runFile.getCurrBlock());\\n }\\n while (!sortingHeap.isHeapFull()) {\\n sortingHeap.insertBlock(inBuffer.removeBlock());\\n if (inBuffer.isEmpty() && !runFile.isEndOfFile()) {\\n inBuffer.insertBlock(runFile.getCurrBlock());\\n }\\n }\\n\\n while (!finalRunDone) {\\n boolean allRunsComplete = false;\\n int runLength = 0;\\n long runStartPointer = runFile.getWritePointer();\\n if (!sortingHeap.isHeapNull() && isHeapified) {\\n sortingHeap.resetMaxSize();\\n sortingHeap.buildHeap();\\n isHeapified = false;\\n }\\n\\n if (isFinalRun) {\\n while (!allRunsComplete) {\\n Record min = sortingHeap.removeMin();\\n\\n outBuffer.insertRecEnd(min);\\n if (outBuffer.isFull()) {\\n runLength += RECORDS_PER_BLOCK;\\n runFile.outBlock((Record[])outBuffer.removeBlock());\\n }\\n if (sortingHeap.heapMaxSize() == 0) {\\n allRunsComplete = true;\\n finalRunDone = true;\\n }\\n }\\n }\\n else {\\n while (!allRunsComplete) {\\n\\n {\\n if (inBuffer.isEmpty() && !runFile.isEndOfFile()) {\\n inBuffer.insertBlock(runFile.getCurrBlock());\\n }\\n if (!inBuffer.isEmpty()) {\\n Record min = sortingHeap.getMinRecord();\\n outBuffer.insertRecEnd(min);\\n\\n if (outBuffer.isFull()) {\\n runLength += RECORDS_PER_BLOCK;\\n runFile.outBlock((Record[])outBuffer\\n .removeBlock());\\n }\\n Record replacement = inBuffer.removeRecEnd();\\n if (replacement.compareTo(min) < 0) {\\n sortingHeap.dirtyInsert(replacement);\\n }\\n else {\\n sortingHeap.cleanInsert(replacement);\\n }\\n if (sortingHeap.heapMaxSize() == 0) {\\n allRunsComplete = true;\\n isHeapified = true;\\n }\\n }\\n else {\\n allRunsComplete = true;\\n isHeapified = true;\\n isFinalRun = true;\\n }\\n }\\n\\n }\\n }\\n\\n while (!outBuffer.isEmpty()) {\\n Record[] writeOut = outBuffer.removeBlock();\\n runFile.outBlock(writeOut);\\n runLength += writeOut.length;\\n }\\n\\n if (runLength > 0) {\\n runStatList.add(runLength);\\n pointersList.add(runStartPointer);\\n }\\n\\n }\\n pointersList.add(runFile.getWritePointer());\\n long[] endPointers = new long[pointersList.size()];\\n for (int i = 0; i < endPointers.length; i++) {\\n endPointers[i] = pointersList.removeFirst();\\n }\\n MergeFile.merge(\\\"runFile.bin\\\", endPointers, args[0]);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ee7ada466c8f5deb10415f4a1f540106\",\n \"score\": \"0.55747217\",\n \"text\": \"void batcherSort(\\n\\t\\tint ulArrSize,\\n\\t\\tint ulStart,\\n\\t\\tint ulSkip,\\n\\t\\tboolean fHalves) {\\n\\t\\tint cnt, ulUpper, ulTemp; /* Utility variables */\\n\\n\\t\\tif (ulArrSize < 2) /* No sorting needed if <2 items in the set */\\n\\t\\t\\treturn;\\n\\n\\t\\tif (ulArrSize == 2) {\\n\\t\\t/* Do simple compare/swap if there are 2 elements */\\n\\t\\t\\tif (work.greater(ulStart,ulStart + ulSkip)) {\\n\\t\\t\\t\\twork.swap(ulStart, ulStart+ulSkip);\\n\\t\\t\\t}\\n\\t\\t\\tc.paintNumbers();\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\n\\t\\tulTemp = 1; /* ulTemp ends up holding the smallest power */\\n\\t\\twhile (ulTemp < ulArrSize)\\n\\t\\t\\t/* of 2 that is at least as big as ulArrSize */\\n\\t\\t\\tulTemp *= 2;\\n\\n\\t\\tif (fHalves) /* If the sort was NOT called by the odd/even recurses */ {\\n\\t\\t\\tbatcherSort((int) (ulTemp / 2), ulStart, ulSkip, true);\\n\\t\\t\\t/* Sort 1st half */\\n\\t\\t\\tbatcherSort((int) (ulArrSize - ulTemp / 2), /* Sort 2nd half */\\n\\t\\t\\t (int) (ulStart + ulTemp / 2 * ulSkip), ulSkip, true);\\n\\t\\t}\\n\\t\\tbatcherSort(\\n\\t\\t\\t(int) (ulArrSize - ulArrSize / 2),\\n\\t\\t\\tulStart,\\n\\t\\t\\t(int) (ulSkip * 2),\\n\\t\\t\\tfalse);\\n\\t\\t/* Sort evens */\\n\\t\\tbatcherSort(\\n\\t\\t\\t(int) (ulArrSize / 2),\\n\\t\\t\\t(int) (ulStart + ulSkip),\\n\\t\\t\\t(int) (ulSkip * 2),\\n\\t\\t\\tfalse);\\n\\t\\t/* Sort odds */\\n\\n\\t\\tulUpper =\\n\\t\\t\\t(int) (ulStart\\n\\t\\t\\t\\t+ ulSkip\\n\\t\\t\\t\\t+ (ulArrSize - ulArrSize / 2 - 1) * 2 * ulSkip);\\n\\t\\tfor (cnt = ulStart + ulSkip;\\n\\t\\t\\tcnt < ulUpper;\\n\\t\\t\\tcnt += ulSkip * 2) /* Do final compares */ {\\n\\t\\t\\tif (work.greater(cnt, cnt + ulSkip)) {\\n\\t\\t\\t\\twork.swap(cnt, cnt+ulSkip);\\t\\t\\t\\t\\n\\t\\t\\t\\tc.paintNumbers();\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5a27441ccabbead4be267b9eed7a0604\",\n \"score\": \"0.55661255\",\n \"text\": \"private final void sort(int l, int r) {\\n/* 146 */ int i = l, j = r;\\n/* 147 */ int m = this.match[(l + r) / 2];\\n/* */ \\n/* */ while (true) {\\n/* */ while (true) {\\n/* 151 */ if (this.match[i] >= m)\\n/* 152 */ { for (; m < this.match[j]; j--);\\n/* */ \\n/* 154 */ if (i <= j) {\\n/* 155 */ int h = this.match[i]; this.match[i] = this.match[j]; this.match[j] = h;\\n/* 156 */ InstructionHandle h2 = this.targets[i]; this.targets[i] = this.targets[j]; this.targets[j] = h2;\\n/* 157 */ i++; j--;\\n/* */ } \\n/* 159 */ if (i > j)\\n/* */ break; continue; } i++;\\n/* 161 */ } if (l < j) sort(l, j); \\n/* 162 */ if (i < r) sort(i, r); \\n/* */ return;\\n/* */ } \\n/* */ i++;\\n/* */ continue;\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8a4fc97f90714a5ba8154712b4e85a51\",\n \"score\": \"0.55583704\",\n \"text\": \"public void sort() {\\n\\t\\tCollections.sort(frontier, new Comparator() {\\n\\t\\t\\tpublic int compare(BidPoint x, BidPoint y) {\\n\\t\\t\\t\\tif (x.getUtilityA() < y.getUtilityA())\\n\\t\\t\\t\\t\\treturn -1;\\n\\t\\t\\t\\telse if (x.getUtilityA() > y.getUtilityA())\\n\\t\\t\\t\\t\\treturn 1;\\n\\t\\t\\t\\telse\\n\\t\\t\\t\\t\\treturn 0;\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9b641987dad1ff8195f850b4322a21c5\",\n \"score\": \"0.5545429\",\n \"text\": \"public void descendingInsertionSort()\\n\\t{\\n\\t\\t//System.out.println (list);\\n\\t\\tfor(int i = 1; i < list.size(); i++)\\n\\t\\t{\\n\\t\\t\\tString key = list.get(i);\\n\\t\\t\\tint position = i;\\n\\t\\t\\twhile(position > 0 && list.get(position-1).compareTo(key) < 0)\\n\\t\\t\\t{\\n\\t\\t\\t\\tAlgorithms.switches.add(new Point(position, position-1));\\n\\t\\t\\t\\tlist.set(position, list.get(position-1));\\n\\t\\t\\t\\tposition--;\\n\\t\\t\\t}\\n\\t\\t\\tlist.set(position, key);\\t\\t\\t\\t\\n\\t\\t}\\n\\t\\t//System.out.println (list);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"327dd6387f892d4e67c68b1be17ba312\",\n \"score\": \"0.554478\",\n \"text\": \"G4allSort() {\\n list = new LinkedList();\\n alignment_result = new G4all();\\n input = new G4allReader();\\n output = new G4allWriter();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0aa52f6f74527fbcd937148c8421c0ff\",\n \"score\": \"0.553658\",\n \"text\": \"void sort();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0aa52f6f74527fbcd937148c8421c0ff\",\n \"score\": \"0.553658\",\n \"text\": \"void sort();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ee57182f4c335c2222401de7c1b7144c\",\n \"score\": \"0.5535841\",\n \"text\": \"public void sortingChanged();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6bdc9b41a598dbe72ee939798f893305\",\n \"score\": \"0.55255276\",\n \"text\": \"public void sort() {\\n\\t\\tif (left > right) {\\n\\t\\t\\tfloat temp = left;\\n\\t\\t\\tleft = right;\\n\\t\\t\\tright = temp;\\n\\t\\t}\\n\\t\\tif (top > bottom) {\\n\\t\\t\\tfloat temp = top;\\n\\t\\t\\ttop = bottom;\\n\\t\\t\\tbottom = temp;\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47c5681d6a4d623f8cf5e390d1c55274\",\n \"score\": \"0.5511994\",\n \"text\": \"public void sort() {\\n\\t\\tfor (int auctionNo = 0; auctionNo < Constants.AUCTION_MAX; auctionNo++) {\\n\\t\\t\\tfor (int i = 0; i < m_price[auctionNo].length; i++) {\\n\\t\\t\\t\\tm_price[auctionNo][i] *= -1;\\n\\t\\t\\t}\\n\\t\\t\\tArrays.sort(m_price[auctionNo]);\\n\\t\\t\\tfor (int i = 0; i < m_price[auctionNo].length; i++) {\\n\\t\\t\\t\\tm_price[auctionNo][i] *= -1;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fcfbebfea726f20b3917816fc18e1f91\",\n \"score\": \"0.5510708\",\n \"text\": \"public void ascendingSelectionSort()\\n\\t{\\n\\t\\tint smallest;\\n\\t\\tfor(int p = 0; p < list.size()-1; p++)\\n\\t\\t{\\n\\t\\t\\tsmallest = p;\\n\\t\\t\\tfor(int i = p+1; i < list.size(); i++)\\n\\t\\t\\t{\\n\\t\\t\\t\\tif(list.get(i) < list.get(smallest))\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\tsmallest = i;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tif(list.get(smallest) != list.get(p))\\n\\t\\t\\t{\\n\\t\\t\\t\\tAlgorithms.switches.add(new Point(smallest, p));\\n\\t\\t\\t\\tint temp = list.get(smallest);\\n\\t\\t\\t\\tlist.set(smallest, list.get(p));\\n\\t\\t\\t\\tlist.set(p, temp);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d84ee9f254fd15f4efa551d0f341af44\",\n \"score\": \"0.5496623\",\n \"text\": \"private void rebalance() {\\n int childIndex = size - 1;\\n int parentIndex = getParentIndex(childIndex);\\n while (data[childIndex] > data[parentIndex]) {\\n swap(childIndex, parentIndex);\\n childIndex = parentIndex;\\n parentIndex = getParentIndex(childIndex);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3c250b17644dc658e492e62c2ed6ede3\",\n \"score\": \"0.54883873\",\n \"text\": \"@Override\\n\\tpublic void sortTree() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d794a3351ba892f2a8af402e39d5f56\",\n \"score\": \"0.54792553\",\n \"text\": \"public void sort(){\\r\\n\\t\\tfor(int i = 1; i < contactsIndex; i++){\\r\\n\\t\\t\\tboolean done = false;\\r\\n\\t\\t\\tfor(int j = i; j > 0 && !done; j--){\\r\\n\\t\\t\\t\\tif(contacts[j].alphabetize(contacts[j - 1], 0) == false){\\r\\n\\t\\t\\t\\t\\tContact temp = contacts[j];\\r\\n\\t\\t\\t\\t\\tcontacts[j] = contacts[j - 1];\\r\\n\\t\\t\\t\\t\\tcontacts[j - 1] = temp;\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\telse\\r\\n\\t\\t\\t\\t\\tdone = true;\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t\\trepaint();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"93b38b0e0c609e0da846d8ca8d69f525\",\n \"score\": \"0.54767156\",\n \"text\": \"void sortBubbles() {\\n float last = 0;\\n ArrayList temp = new ArrayList();\\n for (int i=0; i last) {\\n index = j;\\n lowest = current.z;\\n }\\n }\\n temp.add(objects.get(index));\\n last = ((ZObject)objects.get(index)).z;\\n }\\n objects = temp;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9c6eccb6ee8365d7307a967f55501a9d\",\n \"score\": \"0.5475218\",\n \"text\": \"public void MinSupSorter(){\\t\\n\\tCollections.sort(this.totalItems, new Item());\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"660583af6840deb8e3064186124d4dc6\",\n \"score\": \"0.5472359\",\n \"text\": \"protected void sortEntities()\\n {\\n log.info(\\\"sortEntities() called\\\");\\n\\n // Correct double check locking per Joshua Bloch.\\n // http://java.sun.com/developer/technicalArticles/Interviews/bloch_effective_08_qa.html\\n\\n boolean localInitialized = initialized;\\n\\n if (localInitialized == false)\\n {\\n synchronized (this)\\n {\\n localInitialized = initialized;\\n\\n if (localInitialized == false)\\n {\\n reallySortEntities();\\n initialized = true;\\n }\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"92c467dd9c9924bd26aa6fc6d77c6c2d\",\n \"score\": \"0.5466713\",\n \"text\": \"public void bi_sort()\\n{\\nint low=0;\\nint high=n-1;\\nint flag=1;\\nwhile(lowa[j+1])\\n{swap(j,j+1); flag=0;}\\n}\\nfor(j=high;j>low;j--)\\n{\\nif(a[j] eventSequence.elementAt(j+1).getTime() ) // change to > for ascending sort\\n\\t {\\n\\t temp = eventSequence.elementAt(j); //swap elements\\n\\t eventSequence.set(j, eventSequence.elementAt(j+1));\\n\\t eventSequence.set(j+1, temp);\\n\\t flag = true; //shows a swap occurred \\n\\t } \\n\\t } \\n\\t } \\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d09c00a1b716f0145d5085b487121ec2\",\n \"score\": \"0.5429982\",\n \"text\": \"public void sortAdjList() {\\n Vertex key; \\n int i, j;\\n boolean result;\\n JoosIO io;\\n\\n io = new JoosIO();\\n j = 1;\\n while (j < numMoves){\\n\\t key = (Vertex)adjList.elementAt(j);\\n i = j - 1;\\n result = this.betterVertex((Vertex)adjList.elementAt(i), key);\\n while (i >= 0 && result) {\\n\\t\\t adjList.setElementAt(adjList.elementAt(i), i + 1);\\n\\t\\t i = i - 1;\\n }\\n\\t j = j + 1;\\n\\t adjList.setElementAt(key, i + 1);\\n }\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a59447becac4e873b1d8ce7592af0cf0\",\n \"score\": \"0.54290396\",\n \"text\": \"public void sortBest() {\\n NeuralNet temp;\\n int best = 0;\\n for (int c = 0; c < generationSize / 4; c++) { \\n best = c;\\n for (int i = c; i < individuals.length; i++) {\\n if(individuals[i] == null) continue;\\n if(individuals[i].getFitness() > individuals[best].getFitness()) {\\n best = i;\\n }\\n }\\n temp = individuals[c];\\n individuals[c] = individuals[best];\\n individuals[best] = temp;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"93a711fc3e33727212fca1542aafe109\",\n \"score\": \"0.5423125\",\n \"text\": \"public void descendingSelectionSort()\\n\\t{\\n\\t\\tint largest;\\n\\t\\tfor(int p = 0; p < list.size()-1; p++)\\n\\t\\t{\\n\\t\\t\\tlargest = p;\\n\\t\\t\\tfor(int i = p+1; i < list.size(); i++)\\n\\t\\t\\t{\\n\\t\\t\\t\\tif(list.get(i) > list.get(largest))\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\tlargest = i;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tif(list.get(largest) != list.get(p))\\n\\t\\t\\t{\\n\\t\\t\\t\\tAlgorithms.switches.add(new Point(largest, p));\\n\\t\\t\\t\\tint temp = list.get(largest);\\n\\t\\t\\t\\tlist.set(largest, list.get(p));\\n\\t\\t\\t\\tlist.set(p, temp);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d6f790eb318913ebe69abcd9ad231f06\",\n \"score\": \"0.5423011\",\n \"text\": \"public void ascendingInsertionSort()\\n\\t{\\n\\t//\\tSystem.out.println (list);\\n\\t\\tfor(int i = 1; i < list.size(); i++)\\n\\t\\t{\\n\\t\\t\\tdouble key = list.get(i);\\n\\t\\t\\tint position = i;\\n\\t\\t\\twhile(position > 0 && list.get(position-1) > key)\\n\\t\\t\\t{\\n\\t\\t\\t\\tAlgorithms.switches.add(new Point(position, position-1));\\n\\t\\t\\t\\tlist.set(position, list.get(position-1));\\n\\t\\t\\t\\tposition--;\\n\\t\\t\\t}\\n\\t\\t\\tlist.set(position, key);\\t\\t\\t\\t\\n\\t\\t}\\n\\t//\\tSystem.out.println (list);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9ddf2ec75222a41518d48c118ab763fb\",\n \"score\": \"0.541934\",\n \"text\": \"protected final void sortLevel( Vector nodes ) {\\n\\tint len = nodes.size();\\n for( int P = 1; P < len; ++P ) {\\n Node tmp = (Node) nodes.elementAt( P );\\n\\t\\tdouble barycent = tmp.barycenter();\\n int j;\\n for( j = P; j > 0; --j ) {\\n Node tmp2 = (Node) nodes.elementAt( j-1 );\\n if( barycent >= tmp2.barycenter() ) break;\\n nodes.setElementAt( tmp2, j );\\n\\t\\t}\\n\\t\\tnodes.setElementAt( tmp, j );\\n\\t}\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e362426cfbc2f9d5e8a4626e3abdb5b\",\n \"score\": \"0.541902\",\n \"text\": \"public static int[] getOrdering(int[] height, int[] bloom, int[] wilt) {\\n\\t\\tint len = height.length;\\n\\t\\tint[] order = new int[len];\\n\\t\\tboolean[] usedFlag = new boolean[len];\\n\\t\\tint[][] blocking = new int[len][len];\\n\\t\\t\\n\\t\\t// Construct the table that represents who blocks who\\n\\t\\tfor (int i = 0; i < height.length; i++) {\\n\\t\\t\\tfor (int j = 0; j < height.length; j++) {\\n\\t\\t\\t\\tif (j !=i ) {\\n\\t\\t\\t\\t\\tblocking[i][j] = isBlocking(\\n\\t\\t\\t\\t\\t\\t\\tnew int[]{height[i], bloom[i], wilt[i]}, \\n\\t\\t\\t\\t\\t\\t\\tnew int[]{height[j], bloom[j], wilt[j]});\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t\\n\\t\\tfor (int i = 0; i < height.length; i++) {\\n\\t\\t\\tlogger.debug(Arrays.toString(blocking[i]));\\n\\t\\t}\\n\\t\\t\\n\\t\\t// iterate over the length of the result\\n\\t\\tfor (int k = 0; k < order.length; k++) {\\n\\t\\t\\tint maxHeight = -1;\\n\\t\\t\\tint maxIndex = 0;\\n\\t\\t\\t\\n\\t\\t\\t// check if the tree is blocking the rest\\n\\t\\t\\tfor (int i = 0; i < len; i++) {\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tif (!usedFlag[i])\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\tboolean blockFlag = false;\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t// this loop can be avoided IF we maintain an array \\n\\t\\t\\t\\t\\t// containing sum of rows of blocking[i][j]\\n\\t\\t\\t\\t\\tfor (int j = 0; j < len; j++) {\\n\\t\\t\\t\\t\\t\\t// skipped if tree j has been used\\n\\t\\t\\t\\t\\t\\tif ( blocking[i][j] != 0 ) {\\n\\t\\t\\t\\t\\t\\t\\t// tree i blocking some tree j\\n\\t\\t\\t\\t\\t\\t\\tblockFlag = true;\\n\\t\\t\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t// if the current tree is NOT blocking any tree\\n\\t\\t\\t\\t\\tif (!blockFlag && height[i] > maxHeight) {\\n\\t\\t\\t\\t\\t\\tmaxHeight = height[i];\\n\\t\\t\\t\\t\\t\\tmaxIndex = i;\\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\\t\\n\\t\\t\\tlogger.debug( Integer.toString(maxIndex) );\\n\\t\\t\\t// push into the order\\n\\t\\t\\torder[k] = maxHeight;\\n\\t\\t\\t// remove the tree type\\n\\t\\t\\tusedFlag[maxIndex] = true;\\n\\t\\t\\t// the rest of the trees should not block this tree\\n\\t\\t\\tfor (int i = 0; i < len; i++) {\\n\\t\\t\\t\\tblocking[i][maxIndex] = 0;\\n\\t\\t\\t}\\n\\t\\t\\t\\n\\t\\t\\tfor (int i = 0; i < height.length; i++) {\\n\\t\\t\\t\\tlogger.debug(Arrays.toString(blocking[i]));\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t\\n\\t\\t\\n\\t\\treturn order;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a22de41a73b9ceb77fdf8bb888a8430f\",\n \"score\": \"0.5418379\",\n \"text\": \"private static void insert(int[] sortting) {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9936d2d03e78e2f01a73257c0217f980\",\n \"score\": \"0.54118425\",\n \"text\": \"@Override\\n protected void sortImpl(int[] a) {\\n for (int i = 0; i < a.length; i++) {\\n int j = i;\\n while ((j > 0) && isLess(a[j], a[j - 1])) {\\n swap(a, j, j - 1);\\n j--;\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e757b1e3f49483818b10ca40ff5fec5c\",\n \"score\": \"0.541108\",\n \"text\": \"public void descendingInsertionSort()\\n\\t{\\n\\t\\tfor(Node n : nodes)\\n\\t\\t\\tn.reset();\\n\\t\\tif(intalgs == null && doublealgs == null)\\n\\t\\t\\tstringalgs.descendingInsertionSort();\\n\\t\\telse if(intalgs == null)\\n\\t\\t\\tdoublealgs.descendingInsertionSort();\\n\\t\\telse\\n\\t\\t\\tintalgs.descendingInsertionSort();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d87e1a51c7404b75fe079fba8f3149f\",\n \"score\": \"0.54077715\",\n \"text\": \"public void sort() {\\n\\t\\tSystem.out.println(\\\"bubble sort\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c3dde5756d61ecbc71cb5f405fe5814e\",\n \"score\": \"0.53960955\",\n \"text\": \"protected void compactAndSortInvertedLists() {\\n InvListBasedStorage ilStorage = (InvListBasedStorage)getStorage();\\n ilStorage.compactAndSortInvertedLists();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"95c77457fcd054c13caae9b08f975446\",\n \"score\": \"0.53919226\",\n \"text\": \"public void sortPossibleBids() {\\n\\t\\tif (TEST_EQUIVALENCE) {\\n\\t\\t\\tCollections.sort(possibleBids, new BidDetailsStrictSorterUtility());\\n\\t\\t} else {\\n\\t\\t\\tCollections.sort(possibleBids);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"62328217c3d534f61bcbd7eccd230a98\",\n \"score\": \"0.53912616\",\n \"text\": \"private void sortAttackChance1() {\\n\\t\\t// ToDo: Sort the list using Collections.sort(list, Comparator)\\n\\t\\t// Create a class that implements comparator and overrides\\n\\t\\t// method compare(,);\\n\\t\\tCollections.sort(records,new AttackChance1Comparator());\\n\\t\\t//throw new UnsupportedOperationException(\\\"not implemented yet (DID YOU FORGET SOMETHING??\\\"); // remove\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b6b7656bd9f710acc63f9e94c0078aa9\",\n \"score\": \"0.53865457\",\n \"text\": \"private void binaryInsertionSort(int[] data, int first, int last)\\n \\t{\\n \\t\\tfirstTime = System.currentTimeMillis();\\n \\t\\t//Goes through data array\\n\\t \\tfor(int i = first+1; i <= last; i++)\\n\\t \\t{\\n\\t \\t\\t//target gets index of where to stick element\\n\\t\\t \\tint target = binarySearch(data, data[i], first, i-1);\\n\\t\\t \\tif (target != i)\\n\\t\\t \\t{\\n\\t\\t\\t\\tint temp = data[i];\\n\\t\\t\\t\\tfor(int j = i; j > target; j--)\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t//Swap elemetns\\n\\t\\t\\t \\t\\tdata[j] = data[j-1];\\n\\n\\t\\t\\t \\t\\t//Painting\\n\\t\\t\\t \\t\\tdoPaint = PaintType.SINGLE;\\n\\t\\t\\t\\t \\tindex = j;\\n\\t\\t\\t\\t \\tpicture.paint(picture.getGraphics());\\n\\t\\t\\t \\t}\\n\\t\\t\\t\\tdata[target] = temp;\\n\\t\\t \\t}\\n\\t\\t }\\n\\t\\tfinalTime = System.currentTimeMillis();\\n\\t\\telapsedTime = finalTime-firstTime;\\n\\t\\tinsertionSortTime = elapsedTime;\\n\\t\\tprintTime();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"17c575f5b4bf0e6b6847a4608bce7b2f\",\n \"score\": \"0.5380393\",\n \"text\": \"public void mergeSort()\\n {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"260a3398c2e6db4f1d01ed10695cbcc4\",\n \"score\": \"0.5378927\",\n \"text\": \"private void sort() {\\n if (gridView.getItems() instanceof SortedList) {\\n ((SortedList) gridView.getItems()).setComparator(new DirListItemComparator(callback.orderByProperty().get(), callback.orderDirectionProperty().get()));\\n selectCurrent();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7b2aa15216fdf78e702f7d50b708921f\",\n \"score\": \"0.53770447\",\n \"text\": \"void bxsrt(){\\n for( int j=0; j bdatas[i+1].x){\\n bswap(i, i+1);\\n }\\n }\\n }\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"db3195657b49884ba8b09505b1b8067b\",\n \"score\": \"0.53696686\",\n \"text\": \"public void ascendingSelectionSort()\\n\\t{\\n\\t\\tint smallest;\\n\\t\\tfor(int p = 0; p < list.size()-1; p++)\\n\\t\\t{\\n\\t\\t\\tsmallest = p;\\n\\t\\t\\tfor(int i = p+1; i < list.size(); i++)\\n\\t\\t\\t{\\n\\t\\t\\t\\tif(list.get(i).compareTo(list.get(smallest)) < 0)\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\tsmallest = i;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tif(list.get(smallest) != list.get(p))\\n\\t\\t\\t{\\n\\t\\t\\t\\tAlgorithms.switches.add(new Point(smallest, p));\\n\\t\\t\\t\\tString temp = list.get(smallest);\\n\\t\\t\\t\\tlist.set(smallest, list.get(p));\\n\\t\\t\\t\\tlist.set(p, temp);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b8870d740bdc30ba9039a71a201319ec\",\n \"score\": \"0.53654546\",\n \"text\": \"private void doPrepare() {\\n StopWatch watch = new StopWatch().start();\\n\\n LOGGER.debug(\\\"Sorting long long multimap...\\\");\\n long[] sortedKeys = keys.toArray();\\n\\n // this happens in a worker thread, but it's OK to use parallel sort because\\n // all other threads will block while we prepare the multimap.\\n Arrays.parallelSort(sortedKeys);\\n\\n // after sorting keys, sort values by iterating through each unordered key/value pair and\\n // using binary search to find where to insert the result in sorted values.\\n long[] sortedValues = new long[sortedKeys.length];\\n int from = 0;\\n while (from < keys.size()) {\\n long key = keys.get(from);\\n int to = Arrays.binarySearch(sortedKeys, key);\\n if (to < 0) {\\n throw new IllegalStateException(\\\"Key not found: \\\" + key);\\n }\\n // skip back to the first entry for this key\\n while (to >= 0 && sortedKeys[to] == key) {\\n to--;\\n }\\n // skip ahead past values we've already added for this key\\n do {\\n to++;\\n } while (sortedValues[to] != 0);\\n while (from < keys.size() && keys.get(from) == key) {\\n sortedValues[to++] = values.get(from++);\\n }\\n }\\n keys.buffer = sortedKeys;\\n values.buffer = sortedValues;\\n LOGGER.debug(\\\"Sorted long long multimap \\\" + watch.stop());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"765c9dff58d361cb3cee002d9351cc2c\",\n \"score\": \"0.5350139\",\n \"text\": \"public void selectSort() {\\n int inner;\\n for (int outer = 0; outer < arr.length; outer++) {\\n int temp = arr[outer];\\n inner = outer;\\n while (inner > 0 && arr[inner - 1] >= temp) {\\n arr[inner] = arr[inner - 1];\\n --inner;\\n }\\n arr[inner] = temp;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4b5be073b6a4ea94784bdd81f88ea73c\",\n \"score\": \"0.5347071\",\n \"text\": \"public void ascendingInsertionSort()\\n\\t{\\n\\t//\\tSystem.out.println (list);\\n\\t\\tfor(int i = 1; i < list.size(); i++)\\n\\t\\t{\\n\\t\\t\\tString key = list.get(i);\\n\\t\\t\\tint position = i;\\n\\t\\t\\twhile(position > 0 && list.get(position-1).compareTo(key) > 0)\\n\\t\\t\\t{\\n\\t\\t\\t\\tAlgorithms.switches.add(new Point(position, position-1));\\n\\t\\t\\t\\tlist.set(position, list.get(position-1));\\n\\t\\t\\t\\tposition--;\\n\\t\\t\\t}\\n\\t\\t\\tlist.set(position, key);\\t\\t\\t\\t\\n\\t\\t}\\n\\t//\\tSystem.out.println (list);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f515a5581370f037c36f668c234af41b\",\n \"score\": \"0.53412724\",\n \"text\": \"public void resetSortOrder()\\n/* */ {\\n/* 1901 */ if (!hasSortController()) return;\\n/* 1902 */ getSortController().resetSortOrders();\\n/* */ \\n/* 1904 */ if (getTableHeader() != null) {\\n/* 1905 */ getTableHeader().repaint();\\n/* */ }\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"981a7dd313eb9a9e5c67121c33c6ce89\",\n \"score\": \"0.5340493\",\n \"text\": \"private static final void sortByMorton(Node start) {\\n start.previousZ.nextZ = null;\\n start.previousZ = null;\\n // Sort the generated ring using Z ordering.\\n tathamSort(start);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"917b1d8a874f0702957e9e65d9ce0e3f\",\n \"score\": \"0.53305763\",\n \"text\": \"@Test\\n public void testSort() {\\n Mergesort mergesort = new MergesortRolez(0, 0L);\\n Random random = new Random();\\n \\n int n = 1000;\\n GuardedArray ints = mergesort.shuffledInts(n, random, 0L);\\n mergesort.sort(ints, currentTask().idBits());\\n for(int i = 0; i < n; i++)\\n assertEquals(i, ints.data[i]);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6db686566424ca4a68d724e796478e73\",\n \"score\": \"0.5329423\",\n \"text\": \"public void insertSort()\\n {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ef720acb33c2b33ef8f2131002bdcc50\",\n \"score\": \"0.53248394\",\n \"text\": \"void partialSort(int[] src, int[] dest, int group) {\\n int freq[] = new int[256]; //2^8 = 256, each 8-bit is in [0,255]\\n int accuFreq[] = new int[256];\\n \\n int sig;\\n int len = src.length;\\n for (int i = 0; i < len; i++) {\\n sig = (src[i] >> (group * 8)) & 255;\\n freq[sig]++;\\n }\\n \\n //calculate accumulated frequency, this is the key to count sort\\n accuFreq[0] = freq[0];\\n for (int j = 1; j < 256; j++)\\n accuFreq[j] = accuFreq[j-1] + freq[j]; //warning: error-prone\\n \\n //use accumulated frequency for count sort\\n for (int i = len-1; i >= 0; i--) {\\n sig = (src[i] >> (group * 8)) & 255;\\n dest[accuFreq[sig]-1] = src[i];\\n accuFreq[sig]--;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"82ec588f5942e698ad2b55577facb45f\",\n \"score\": \"0.5324693\",\n \"text\": \"public void descendingSelectionSort()\\n\\t{\\n\\t\\tint largest;\\n\\t\\tfor(int p = 0; p < list.size()-1; p++)\\n\\t\\t{\\n\\t\\t\\tlargest = p;\\n\\t\\t\\tfor(int i = p+1; i < list.size(); i++)\\n\\t\\t\\t{\\n\\t\\t\\t\\tif(list.get(i) > list.get(largest))\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\tlargest = i;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tif(list.get(largest) != list.get(p))\\n\\t\\t\\t{\\n\\t\\t\\t\\tAlgorithms.switches.add(new Point(largest, p));\\n\\t\\t\\t\\tdouble temp = list.get(largest);\\n\\t\\t\\t\\tlist.set(largest, list.get(p));\\n\\t\\t\\t\\tlist.set(p, temp);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"344547b03be68fba0e5a895d2c70a94f\",\n \"score\": \"0.53172916\",\n \"text\": \"public void ascendingInsertionSort()\\n\\t{\\n\\t\\tfor(Node n : nodes)\\n\\t\\t\\tn.reset();\\n\\t\\tif(intalgs == null && doublealgs == null)\\n\\t\\t\\tstringalgs.ascendingInsertionSort();\\n\\t\\telse if(intalgs == null)\\n\\t\\t\\tdoublealgs.ascendingInsertionSort();\\n\\t\\telse\\n\\t\\t\\tintalgs.ascendingInsertionSort();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"63c863fa267ed7db8fc5c50737924820\",\n \"score\": \"0.5316896\",\n \"text\": \"public void sort (int[] elts) {\\r\\n\\t\\tint NUMTHREADS = Runtime.getRuntime().availableProcessors();\\r\\n\\t\\texec = Executors.newFixedThreadPool(NUMTHREADS);\\r\\n\\t\\tparallelQuickSortSegment (elts, 0, elts.length);\\r\\n\\t\\texec.shutdown();\\r\\n\\t\\ttry {\\r\\n\\t\\t\\texec.awaitTermination(Long.MAX_VALUE, TimeUnit.SECONDS);\\r\\n\\t\\t} catch (InterruptedException e) { }\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42c84f4db04eac9c7d7bbf99124ac146\",\n \"score\": \"0.5315593\",\n \"text\": \"private void sort () {\\n Arrays.sort(networks, new Comparator() {\\n public int compare(Network n1, Network n2) {\\n return Float.compare(n2.getFitness(), n1.getFitness());\\n }\\n });\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"158b5049ea968662c38afb0a97e49bc3\",\n \"score\": \"0.5310261\",\n \"text\": \"@Override\\n\\tpublic void sort(int order) {\\n\\t\\t// TODO\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7b6b05c4c165d56b83540e1763fa44e\",\n \"score\": \"0.53093845\",\n \"text\": \"public void sort() {\\n\\t\\tPVComparator cmp = new PVComparator();\\n\\t\\tCollections.sort(lt, cmp);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5fc347b58c62662a6bff15292c7ff228\",\n \"score\": \"0.5306427\",\n \"text\": \"protected void insertionSort() {\\n boolean dataChanged = false;\\n if(index<2) {\\n return;\\n // need at least two points to sort.\\n }\\n for(int i = 1; i result = exec.submit(new PMSTask (elts));\\r\\n\\t\\ttry {\\r\\n\\t\\t\\tresult.get(); // Wait for result\\r\\n\\t\\t}\\r\\n\\t\\tcatch (InterruptedException e) {}\\r\\n\\t\\tcatch (ExecutionException e) {}\\r\\n\\t\\tfinally {\\r\\n\\t\\t\\texec.shutdown();\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"95d1050ea6b4e4e5b42938d7eb0d8df9\",\n \"score\": \"0.529753\",\n \"text\": \"@Override\\r\\n public void sort() {\\r\\n int n = this.input.length;\\r\\n int k;\\r\\n for (int m = n; m >= 0; m--) {\\r\\n for (int i = 0; i < n - 1; i++) {\\r\\n k = i + 1;\\r\\n if (this.input[i] > this.input[k]) {\\r\\n this.swapNumbers(i, k);\\r\\n }\\r\\n }\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1cf7abb5ec61f96be06e65579324b590\",\n \"score\": \"0.5297064\",\n \"text\": \"public static void sortVerticesBench() throws IOException {\\n out = new BufferedWriter(new FileWriter(file, true));\\n out.newLine();\\n out.write(\\\"-> Opération sortVertices:\\\");\\n out.newLine();\\n out.close();\\n\\n testSortVertices(1000);\\n testSortVertices(10000);\\n testSortVertices(20000);\\n testSortVertices(50000);\\n testSortVertices(100000);\\n testSortVertices(1000000);\\n testSortVertices(10000000);\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":354,"cells":{"query_id":{"kind":"string","value":"aef24a16bc45a5fca067f3b40171b4bf"},"query":{"kind":"string","value":"Returns the number of edges (directional graph). this method run in O(1) time"},"positive_passages":{"kind":"list like","value":[{"docid":"04e07992497d9c9dd0c16334ebdd3d20","score":"0.7401851","text":"@Override\n\tpublic int edgeSize() {\n\t\treturn numOfEdges;\n\t}","title":""}],"string":"[\n {\n \"docid\": \"04e07992497d9c9dd0c16334ebdd3d20\",\n \"score\": \"0.7401851\",\n \"text\": \"@Override\\n\\tpublic int edgeSize() {\\n\\t\\treturn numOfEdges;\\n\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"9fb714ed6eed3feb1e31b04decf542ff","score":"0.83161175","text":"int getEdgeCount();","title":""},{"docid":"401545ee355f8b613854d673614a8fb6","score":"0.83057535","text":"public int getEdgeCount(){\r\n HashSet visited = new HashSet<>();\r\n LinkedList queue = new LinkedList<>();\r\n queue.add(start);\r\n visited.add(start);\r\n int counter = 0;\r\n while(!queue.isEmpty()){\r\n FlowGraphNode node = queue.pop();\r\n counter += node.outDeg();\r\n for(FlowGraphNode child : node.to){\r\n if(visited.add(child)){\r\n queue.add(child);\r\n }\r\n }\r\n }\r\n return counter;\r\n }","title":""},{"docid":"5f3c3e9a305ec628750ac54ec2fe8b63","score":"0.8256408","text":"int getNumberOfEdges();","title":""},{"docid":"2d79ec5425a125d63e9628405142f4de","score":"0.81751347","text":"public int numEdges();","title":""},{"docid":"ffbd2660e89e1c16d6783dafd11d145a","score":"0.8069705","text":"public int getNumberOfEdges();","title":""},{"docid":"450309b8f86a3cc5eccba698b5bdfb09","score":"0.8021798","text":"@Override\n public int edgeCount() {\n int count = 0;\n\n for(MyNode n : graphNodes.values()){\n count += n.inDegree();\n }\n\n return count;\n }","title":""},{"docid":"aab70464767730ce5c7540e97c8cf0a6","score":"0.80070466","text":"public int getNumEdges();","title":""},{"docid":"9803905907527fd29b2e6499eeec4c11","score":"0.7885169","text":"public int numEdges()\r\n {\r\n\tint s = 0;\r\n\tfor (final EdgeTypeHolder eth : ethMap.values())\r\n\t s += eth.numEdges();\r\n\treturn s;\r\n }","title":""},{"docid":"968308978aa172d71bf5e6bf7b4116a2","score":"0.7851156","text":"public int edgeCount() {\n\treturn edgeList.size();\n }","title":""},{"docid":"7e5d353414edbefaac133727f205fee8","score":"0.782564","text":"public int getEdgeCount() {\n return edge_.size();\n }","title":""},{"docid":"b3d11cca3551bc950e3d2da3edad4e6d","score":"0.78200173","text":"public int getNumEdges() {\n\t\treturn edges.size();\n\t}","title":""},{"docid":"5079640ec235365be0c5b85e0bc52fd1","score":"0.7812434","text":"private int numEdges()\r\n\t{\r\n\t return eSet.size();\r\n\t}","title":""},{"docid":"dcbcf624d8d937520f58c92c7d12d898","score":"0.77860594","text":"public int numEdges() {\n int tot = 0;\n\n ListIterator curEdge = edgeListVector.listIterator();\n while (curEdge.hasNext()) {\n tot += curEdge.next().size();\n }\n\n return tot;\n }","title":""},{"docid":"9bb70f790e92c1d9ac058a0b50035e84","score":"0.77581984","text":"public long getEdgeCount() { return edgeCount; }","title":""},{"docid":"d620d4510680561965fe2438371c38f5","score":"0.7683596","text":"public int getNumEdges()\n\t{\n\t\t//TODO: Implement this method in WEEK 3\n\t\treturn numEdges;\n\t}","title":""},{"docid":"e6fafad7cbeb276748616a3d5daf9866","score":"0.7654444","text":"public int numEdges() {\r\n\t\treturn edges;\r\n\t}","title":""},{"docid":"73fe869cf5915cf11f3edd571f558afd","score":"0.76260614","text":"int numEdges() {\n\t\treturn num_edges;\n\t}","title":""},{"docid":"6c21fad3e54ade459f19504333537490","score":"0.7616123","text":"public int getEdgeCount() {\n if (edgeBuilder_ == null) {\n return edge_.size();\n } else {\n return edgeBuilder_.getCount();\n }\n }","title":""},{"docid":"3475784191fd4b549313a7d6eae973b5","score":"0.75757974","text":"@Override\n\tpublic long numEdges() {\n\t\treturn numEdges;\n\t}","title":""},{"docid":"0d36cee4a882f351caa8f821382868b8","score":"0.75369906","text":"public int size()\n {\n return numEdges;\n }","title":""},{"docid":"12269a2063458ce564302ba50fea8083","score":"0.75091046","text":"public int getNumEdges() {\n return num_edges;\n }","title":""},{"docid":"c047aecd02ca22c9d3e771e433d722dc","score":"0.74750245","text":"@Override\n\tpublic int graphSize() {\n\t\treturn edges.size();\n\t}","title":""},{"docid":"483d74add69e1c5a12715f207bdd334f","score":"0.74619454","text":"public int getEdgeCount()\n\t{\n\t\treturn edgeCount;\n\t}","title":""},{"docid":"860b50823f4173c3b36562da283e5505","score":"0.7453168","text":"private int size() {\n assert _vertices.size() == _edges.size();\n return _edges.size();\n }","title":""},{"docid":"6d766330cc3bf1c6793d57d2dc93ea86","score":"0.7439412","text":"public int getNumEdges() {\n\t\treturn this.actualTotalEdges;\n\t}","title":""},{"docid":"34042ecbf7fb8bab38cd84d89fa89e90","score":"0.74391097","text":"public int edgeNum() {\r\n return edges.size();\r\n }","title":""},{"docid":"7241e3d8f232b3439ef2bffc8024a0ab","score":"0.742691","text":"public int getNumEdges(){\n return numEdges;\n }","title":""},{"docid":"7da044d31662dcdb8a40e70b02ef0999","score":"0.7415836","text":"private static int numEdges(Graph g) {\n\tint sum = 0;\n\t\n\tfor(int i =0;i temp = null;\n\t if(g.adjacencyList[i]!=null) {\n\t\ttemp = g.adjacencyList[i];\n\t\tfor(int tmp:temp) {\n\t\t sum++;\n\t\t}\n\t\t\n\t }\n\t}\n\treturn sum/2;\n }","title":""},{"docid":"4a99af08cec3cbcf23a1a6c06e402f04","score":"0.7394172","text":"public int getNodeCount(){\r\n HashSet visited = new HashSet<>();\r\n LinkedList queue = new LinkedList<>();\r\n queue.add(start);\r\n visited.add(start);\r\n while(!queue.isEmpty()){\r\n FlowGraphNode node = queue.pop();\r\n for(FlowGraphNode child : node.to){\r\n if(visited.add(child)){\r\n queue.add(child);\r\n }\r\n }\r\n }\r\n return visited.size();\r\n }","title":""},{"docid":"ae8ce8ffe9adfa2302f2447f2beb9dee","score":"0.73880935","text":"private long nodesLength(Edge[] E) {\n\t\tlong nodesLength = 0;\n\t\tfor (Edge e:E ) {\n\t\t\tif (e.getTo() > nodesLength) nodesLength = e.getTo();\n\t\t\tif (e.getFrom() > nodesLength) nodesLength = e.getFrom();\n\t\t}\n\t\tnodesLength++;\t\n\t\treturn nodesLength;\t\t\n\t}","title":""},{"docid":"cf10025dd58b2b085c03c04ab003ecc7","score":"0.73367345","text":"@Override\n public int edgeSize() {\n return this.numOfEdges;\n }","title":""},{"docid":"d0ffc989d12503e09206e5f1f9b22659","score":"0.7260044","text":"public int getEdgeCount() \n {\n return 3;\n }","title":""},{"docid":"1a1595af28c3cb022c0f671f4e699a05","score":"0.719033","text":"private static int getNumTotalEdges(){\r\n\t\t//return getMutMap().keySet().size();\r\n\t\treturn numCols+1;\r\n\t}","title":""},{"docid":"f022d5d8677cbcc615f670342146272e","score":"0.7078932","text":"private int nonDirectionalEdgesNumber() {\n return selectedNonDirectionalEdges.size();\n }","title":""},{"docid":"5025769cc5f6e7dcb64ede182c4ff676","score":"0.70760155","text":"public int countNeighbours() {\n\t\tint count = 0;\n\t\tif (this.hasNeighbour(0))\n\t\t\tcount++;\n\t\tif (this.hasNeighbour(1))\n\t\t\tcount++;\n\t\tif (this.hasNeighbour(2))\n\t\t\tcount++;\n\t\treturn count;\n\t}","title":""},{"docid":"9b2d7fde3f70db0b373841941973bbe8","score":"0.70288837","text":"public int getEdgeCount(boolean biDirectional) {\n int count=0;\n for(T v: map.keySet()) {\n count += map.get(v).size();\n }\n\n if(biDirectional) count = count/2;\n\n return count;\n }","title":""},{"docid":"e724dda9c19eca1cdae060b21fc62f40","score":"0.70170164","text":"public Object getNumberOfConnectedComponents() {\r\n\t\tConnectivityInspector inspector=new ConnectivityInspector(graph);\r\n\t\treturn inspector.connectedSets().size();\r\n\t}","title":""},{"docid":"ef8ac8752284c852bdd756a44970c51e","score":"0.69561577","text":"public Integer numUnknownEdges()\n\t{\n\t\tif (total_edges == null) return null;\n\n\t\tint edges = 0;\n\t\tfor (Node n : nodes.values())\n\t\t{\n\t\t\tedges += n.neighbors.size();\n\t\t}\n\t\t// double-counts edges, so divide\n\t\treturn total_edges - edges / 2;\n\t}","title":""},{"docid":"1c54f9db9924ca079b2866ae09061b90","score":"0.6912735","text":"public long getEdgesArrayLength() {\n\t\treturn edgesLength;\n\t}","title":""},{"docid":"df585cae50e9693609179af4b5619aa5","score":"0.6899138","text":"@Override\r\n\tpublic int getNumberOfSymmetricLinks()\r\n\t{\r\n\t\tCollection vertices = directedGraph.getVertices();\r\n\t\tint symLinksSum = 0;\r\n\r\n\t\t// this can be done still more efficiently if i put the nodes in a list\r\n\t\t// and remove from the\r\n\t\t// list current node as well as its children after each loop\r\n\t\t// int progress = 0;\r\n\t\t// int max = vertices.size();\r\n\r\n\t\tfor (Entity source : vertices) {\r\n\t\t\t// ApiUtilities.printProgressInfo(progress, max, 100,\r\n\t\t\t// ApiUtilities.ProgressInfoMode.TEXT, \"Counting symmetric links\");\r\n\t\t\tfor (Entity target : getChildren(source)) {\r\n\t\t\t\t// progress++;\r\n\r\n\t\t\t\tif (isSymmetricLink(source, target)) {\r\n\t\t\t\t\tsymLinksSum++;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn symLinksSum / 2;\r\n\t}","title":""},{"docid":"6be42534ca1fffb1b56dc6c975565b4c","score":"0.6892506","text":"int getNumberOfVertexes();","title":""},{"docid":"6128d675718b218d99b18afcb20d83be","score":"0.6888515","text":"public int getNumberOfPaths(){ \r\n HashMap number = new HashMap<>();\r\n LinkedList queue = new LinkedList<>();\r\n HashMap label = new HashMap<>();\r\n \r\n label.put(start,1);\r\n queue.add(start);\r\n do{\r\n FlowGraphNode node = queue.pop();\r\n for(FlowGraphNode child : node.to){\r\n int count = number.getOrDefault(child, child.inDeg()) -1;\r\n if(count == 0){\r\n queue.add(child);\r\n number.remove(child);\r\n //label\r\n int sum = 0;\r\n for(FlowGraphNode anc : child.from){\r\n sum += label.get(anc);\r\n }\r\n label.put(child,sum);\r\n }else{\r\n number.put(child, count);\r\n }\r\n }\r\n }while(!queue.isEmpty());\r\n \r\n if(!number.isEmpty()){\r\n //there has to be a loop in the graph\r\n return -1;\r\n }\r\n \r\n return label.get(end);\r\n }","title":""},{"docid":"a543af1e64ddd6e8f3ffa5aa7d24888a","score":"0.68728906","text":"public int getEdges() {\n return edgesNumber;\n }","title":""},{"docid":"c36d578bacd77e2f1837184540e443ee","score":"0.6858823","text":"int getNodesCount();","title":""},{"docid":"c36d578bacd77e2f1837184540e443ee","score":"0.6858823","text":"int getNodesCount();","title":""},{"docid":"62ce45a0ded6c7bdc60d11f40918662f","score":"0.68164015","text":"@Override\n public int nodeCount() {\n return graphNodes.size();\n }","title":""},{"docid":"053cd4a0ab786329931297f8ffb04258","score":"0.67741406","text":"public int getEdgeSixe() {\n\t\treturn graph.edgeSet().size();\r\n\t}","title":""},{"docid":"e38f661e5b7ec6598c6a7894ce6a70f4","score":"0.6766939","text":"public int getVertexCount();","title":""},{"docid":"8a8c542b639de033d4737e98d5901a27","score":"0.6764176","text":"@Override\n\tpublic int size() {\n\t\tif(top == null) {\n\t\t\treturn 0;\n\t\t}\n\t\tNode tempNode = top;\n\t\tint counter = 1;\n\t\twhile(tempNode.getLink() != null) {\n\t\t\tcounter++;\n\t\t\ttempNode = tempNode.getLink();\n\t\t}\n\t\treturn counter;\n\t}","title":""},{"docid":"6f2eb46d09bcc7d8a1dd8f44e4cba838","score":"0.6761685","text":"public int getVertexCount()\n\t{\n\t\tint count = 0;\n\t\tIterator itr = vertices.iterator();\n\t\twhile(itr.hasNext())\n\t\t{\n\t\t\tcount++;\n\t\t\titr.next();\n\t\t}\n\t\treturn count;\n\t}","title":""},{"docid":"1d96baf0bc52e68a3fd8322ed4e68da5","score":"0.6755302","text":"private int visitedNetworksCount() {\n final HashSet visitedNetworksSet = new HashSet<>(mVisitedNetworks);\n return visitedNetworksSet.size();\n }","title":""},{"docid":"d95cbd091032e42ba1cfb7c67226371b","score":"0.6750751","text":"public int getLayerCount(int edge) throws EdgeOutOfRangeException\n {\n if (edge==DataDirector.PAGE_EDGE)\n return 0;\n else\n return 1;\n }","title":""},{"docid":"794db0900d3d8deb96418484d5813df9","score":"0.67315036","text":"int nbNode() {\n switch (type) {\n\n case EDGE:\n case PATH:\n case EVAL:\n if (edge.getEdgeVariable() == null) {\n return edge.nbNode();\n } else {\n return edge.nbNode() + 1;\n }\n\n case OPT_BIND:\n return size();\n }\n\n return 0;\n }","title":""},{"docid":"86df710edb88c27e99d6246f2ffd17f4","score":"0.6692538","text":"public int countPrimaryEdges() {\n\t\t\tint count = 0;\n\t\t\tArrayNode node = this;\n\t\t\twhile (node.mPrimaryEdge != null) {\n\t\t\t\tnode = node.mPrimaryEdge;\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\treturn count;\n\t\t}","title":""},{"docid":"97708b6900b25e7caa8d51e3feff6099","score":"0.66876733","text":"int getNodeCount();","title":""},{"docid":"97708b6900b25e7caa8d51e3feff6099","score":"0.66876733","text":"int getNodeCount();","title":""},{"docid":"f8c5590d45f793df70810077d3c99733","score":"0.6680559","text":"public int size() {\n\t\tint count = 0;\n\t\tfor (Node current = start; current == null; current = current.next) {\n\t\t\tcount++;\n\t\t}\n\t\treturn count;\n\t}","title":""},{"docid":"1a05aa60f425844dacc28815755d7228","score":"0.6674187","text":"public int numEdges(String edgeTypeName)\r\n {\r\n\tfinal EdgeTypeHolder eth = ethMap.get(edgeTypeName);\r\n\treturn (eth == null) ? 0 : eth.numEdges();\r\n }","title":""},{"docid":"ea8060d32e3a5bdd41cf88a2c1664b5d","score":"0.6619439","text":"@Override\n public long[ ][ ] count() {\n // precompute common nodes\n for (int x = 0; x < n; x++) {\n for (int n1 = 0; n1 < deg[x]; n1++) {\n int a = adj[x][n1];\n for (int n2 = n1 + 1; n2 < deg[x]; n2++) {\n int b = adj[x][n2];\n Tuple ab = createTuple(a, b);\n common2.put(ab, common2.getOrDefault(ab, 0) + 1);\n for (int n3 = n2 + 1; n3 < deg[x]; n3++) {\n int c = adj[x][n3];\n boolean st = adjacent(adj[a], b) ? (adjacent(adj[a], c) || adjacent(adj[b], c)) :\n (adjacent(adj[a], c) && adjacent(adj[b], c));\n if (!st) continue;\n Tuple abc = createTuple(a, b, c);\n common3.put(abc, common3.getOrDefault(abc, 0) + 1);\n }\n }\n }\n }\n\n // precompute triangles that span over edges\n int[ ] tri = countTriangles();\n\n // count full graphlets\n long[ ] C5 = new long[n];\n int[ ] neigh = new int[n];\n int[ ] neigh2 = new int[n];\n int nn, nn2;\n for (int x = 0; x < n; x++) {\n for (int nx = 0; nx < deg[x]; nx++) {\n int y = adj[x][nx];\n if (y >= x) break;\n nn = 0;\n for (int ny = 0; ny < deg[y]; ny++) {\n int z = adj[y][ny];\n if (z >= y) break;\n if (adjacent(adj[x], z)) {\n neigh[nn++] = z;\n }\n }\n for (int i = 0; i < nn; i++) {\n int z = neigh[i];\n nn2 = 0;\n for (int j = i + 1; j < nn; j++) {\n int zz = neigh[j];\n if (adjacent(adj[z], zz)) {\n neigh2[nn2++] = zz;\n }\n }\n for (int i2 = 0; i2 < nn2; i2++) {\n int zz = neigh2[i2];\n for (int j2 = i2 + 1; j2 < nn2; j2++) {\n int zzz = neigh2[j2];\n if (adjacent(adj[zz], zzz)) {\n C5[x]++;\n C5[y]++;\n C5[z]++;\n C5[zz]++;\n C5[zzz]++;\n }\n }\n }\n }\n }\n }\n\n int[ ] common_x = new int[n];\n int[ ] common_x_list = new int[n];\n int ncx = 0;\n int[ ] common_a = new int[n];\n int[ ] common_a_list = new int[n];\n int nca = 0;\n\n // set up a system of equations relating orbit counts\n for (int x = 0; x < n; x++) {\n for (int i = 0; i < ncx; i++) common_x[common_x_list[i]] = 0;\n ncx = 0;\n\n // smaller graphlets\n orbit[x][0] = deg[x];\n for (int nx1 = 0; nx1 < deg[x]; nx1++) {\n int a = adj[x][nx1];\n for (int nx2 = nx1 + 1; nx2 < deg[x]; nx2++) {\n int b = adj[x][nx2];\n if (adjacent(adj[a], b)) orbit[x][3]++;\n else orbit[x][2]++;\n }\n for (int na = 0; na < deg[a]; na++) {\n int b = adj[a][na];\n if (b != x && !adjacent(adj[x], b)) {\n orbit[x][1]++;\n if (common_x[b] == 0) common_x_list[ncx++] = b;\n common_x[b]++;\n }\n }\n }\n\n long f_71 = 0, f_70 = 0, f_67 = 0, f_66 = 0, f_58 = 0, f_57 = 0; // 14\n long f_69 = 0, f_68 = 0, f_64 = 0, f_61 = 0, f_60 = 0, f_55 = 0, f_48 = 0, f_42 = 0, f_41 = 0; // 13\n long f_65 = 0, f_63 = 0, f_59 = 0, f_54 = 0, f_47 = 0, f_46 = 0, f_40 = 0; // 12\n long f_62 = 0, f_53 = 0, f_51 = 0, f_50 = 0, f_49 = 0, f_38 = 0, f_37 = 0, f_36 = 0; // 8\n long f_44 = 0, f_33 = 0, f_30 = 0, f_26 = 0; // 11\n long f_52 = 0, f_43 = 0, f_32 = 0, f_29 = 0, f_25 = 0; // 10\n long f_56 = 0, f_45 = 0, f_39 = 0, f_31 = 0, f_28 = 0, f_24 = 0; // 9\n long f_35 = 0, f_34 = 0, f_27 = 0, f_18 = 0, f_16 = 0, f_15 = 0; // 4\n long f_17 = 0; // 5\n long f_22 = 0, f_20 = 0, f_19 = 0; // 6\n long f_23 = 0, f_21 = 0; // 7\n\n for (int nx1 = 0; nx1 < deg[x]; nx1++) {\n int a = inc[x][nx1]._1, xa = inc[x][nx1]._2;\n\n for (int i = 0; i < nca; i++) common_a[common_a_list[i]] = 0;\n nca = 0;\n for (int na = 0; na < deg[a]; na++) {\n int b = adj[a][na];\n for (int nb = 0; nb < deg[b]; nb++) {\n int c = adj[b][nb];\n if (c == a || adjacent(adj[a], c)) continue;\n if (common_a[c] == 0) common_a_list[nca++] = c;\n common_a[c]++;\n }\n }\n\n // x = orbit-14 (tetrahedron)\n for (int nx2 = nx1 + 1; nx2 < deg[x]; nx2++) {\n int b = inc[x][nx2]._1, xb = inc[x][nx2]._2;\n if (!adjacent(adj[a], b)) continue;\n for (int nx3 = nx2 + 1; nx3 < deg[x]; nx3++) {\n int c = inc[x][nx3]._1, xc = inc[x][nx3]._2;\n if (!adjacent(adj[a], c) || !adjacent(adj[b], c)) continue;\n orbit[x][14]++;\n f_70 += common3.getOrDefault(createTuple(a, b, c), 0) - 1;\n f_71 += (tri[xa] > 2 && tri[xb] > 2) ? (common3.getOrDefault(createTuple(x, a, b), 0) - 1) : 0;\n f_71 += (tri[xa] > 2 && tri[xc] > 2) ? (common3.getOrDefault(createTuple(x, a, c), 0) - 1) : 0;\n f_71 += (tri[xb] > 2 && tri[xc] > 2) ? (common3.getOrDefault(createTuple(x, b, c), 0) - 1) : 0;\n f_67 += tri[xa] - 2 + tri[xb] - 2 + tri[xc] - 2;\n f_66 += common2.getOrDefault(createTuple(a, b), 0) - 2;\n f_66 += common2.getOrDefault(createTuple(a, c), 0) - 2;\n f_66 += common2.getOrDefault(createTuple(b, c), 0) - 2;\n f_58 += deg[x] - 3;\n f_57 += deg[a] - 3 + deg[b] - 3 + deg[c] - 3;\n }\n }\n\n // x = orbit-13 (diamond)\n for (int nx2 = 0; nx2 < deg[x]; nx2++) {\n int b = inc[x][nx2]._1, xb = inc[x][nx2]._2;\n if (!adjacent(adj[a], b)) continue;\n for (int nx3 = nx2 + 1; nx3 < deg[x]; nx3++) {\n int c = inc[x][nx3]._1, xc = inc[x][nx3]._2;\n if (!adjacent(adj[a], c) || adjacent(adj[b], c)) continue;\n orbit[x][13]++;\n f_69 += (tri[xb] > 1 && tri[xc] > 1) ? (common3.getOrDefault(createTuple(x, b, c), 0) - 1) : 0;\n f_68 += common3.getOrDefault(createTuple(a, b, c), 0) - 1;\n f_64 += common2.getOrDefault(createTuple(b, c), 0) - 2;\n f_61 += tri[xb] - 1 + tri[xc] - 1;\n f_60 += common2.getOrDefault(createTuple(a, b), 0) - 1;\n f_60 += common2.getOrDefault(createTuple(a, c), 0) - 1;\n f_55 += tri[xa] - 2;\n f_48 += deg[b] - 2 + deg[c] - 2;\n f_42 += deg[x] - 3;\n f_41 += deg[a] - 3;\n }\n }\n\n // x = orbit-12 (diamond)\n for (int nx2 = nx1 + 1; nx2 < deg[x]; nx2++) {\n int b = inc[x][nx2]._1, xb = inc[x][nx2]._2;\n if (!adjacent(adj[a], b)) continue;\n for (int na = 0; na < deg[a]; na++) {\n int c = inc[a][na]._1, ac = inc[a][na]._2;\n if (c == x || adjacent(adj[x], c) || !adjacent(adj[b], c)) continue;\n orbit[x][12]++;\n f_65 += (tri[ac] > 1) ? common3.getOrDefault(createTuple(a, b, c), 0) : 0;\n f_63 += common_x[c] - 2;\n f_59 += tri[ac] - 1 + common2.getOrDefault(createTuple(b, c), 0) - 1;\n f_54 += common2.getOrDefault(createTuple(a, b), 0) - 2;\n f_47 += deg[x] - 2;\n f_46 += deg[c] - 2;\n f_40 += deg[a] - 3 + deg[b] - 3;\n }\n }\n\n // x = orbit-8 (cycle)\n for (int nx2 = nx1 + 1; nx2 < deg[x]; nx2++) {\n int b = inc[x][nx2]._1, xb = inc[x][nx2]._2;\n if (adjacent(adj[a], b)) continue;\n for (int na = 0; na < deg[a]; na++) {\n int c = inc[a][na]._1, ac = inc[a][na]._2;\n if (c == x || adjacent(adj[x], c) || !adjacent(adj[b], c)) continue;\n orbit[x][8]++;\n f_62 += (tri[ac] > 0) ? common3.getOrDefault(createTuple(a, b, c), 0) : 0;\n f_53 += tri[xa] + tri[xb];\n f_51 += tri[ac] + common2.getOrDefault(createTuple(c, b), 0);\n f_50 += common_x[c] - 2;\n f_49 += common_a[b] - 2;\n f_38 += deg[x] - 2;\n f_37 += deg[a] - 2 + deg[b] - 2;\n f_36 += deg[c] - 2;\n }\n }\n\n // x = orbit-11 (paw)\n for (int nx2 = nx1 + 1; nx2 < deg[x]; nx2++) {\n int b = inc[x][nx2]._1, xb = inc[x][nx2]._2;\n if (!adjacent(adj[a], b)) continue;\n for (int nx3 = 0; nx3 < deg[x]; nx3++) {\n int c = inc[x][nx3]._1, xc = inc[x][nx3]._2;\n if (c == a || c == b || adjacent(adj[a], c) || adjacent(adj[b], c)) continue;\n orbit[x][11]++;\n f_44 += tri[xc];\n f_33 += deg[x] - 3;\n f_30 += deg[c] - 1;\n f_26 += deg[a] - 2 + deg[b] - 2;\n }\n }\n\n // x = orbit-10 (paw)\n for (int nx2 = 0; nx2 < deg[x]; nx2++) {\n int b = inc[x][nx2]._1, xb = inc[x][nx2]._2;\n if (!adjacent(adj[a], b)) continue;\n for (int nb = 0; nb < deg[b]; nb++) {\n int c = inc[b][nb]._1, bc = inc[b][nb]._2;\n if (c == x || c == a || adjacent(adj[a], c) || adjacent(adj[x], c)) continue;\n orbit[x][10]++;\n f_52 += common_a[c] - 1;\n f_43 += tri[bc];\n f_32 += deg[b] - 3;\n f_29 += deg[c] - 1;\n f_25 += deg[a] - 2;\n }\n }\n\n // x = orbit-9 (paw)\n for (int na1 = 0; na1 < deg[a]; na1++) {\n int b = inc[a][na1]._1, ab = inc[a][na1]._2;\n if (b == x || adjacent(adj[x], b)) continue;\n for (int na2 = na1 + 1; na2 < deg[a]; na2++) {\n int c = inc[a][na2]._1, ac = inc[a][na2]._2;\n if (c == x || !adjacent(adj[b], c) || adjacent(adj[x], c)) continue;\n orbit[x][9]++;\n f_56 += (tri[ab] > 1 && tri[ac] > 1) ? common3.getOrDefault(createTuple(a, b, c), 0) : 0;\n f_45 += common2.getOrDefault(createTuple(b, c), 0) - 1;\n f_39 += tri[ab] - 1 + tri[ac] - 1;\n f_31 += deg[a] - 3;\n f_28 += deg[x] - 1;\n f_24 += deg[b] - 2 + deg[c] - 2;\n }\n }\n\n // x = orbit-4 (path)\n for (int na = 0; na < deg[a]; na++) {\n int b = inc[a][na]._1, ab = inc[a][na]._2;\n if (b == x || adjacent(adj[x], b)) continue;\n for (int nb = 0; nb < deg[b]; nb++) {\n int c = inc[b][nb]._1, bc = inc[b][nb]._2;\n if (c == a || adjacent(adj[a], c) || adjacent(adj[x], c)) continue;\n orbit[x][4]++;\n f_35 += common_a[c] - 1;\n f_34 += common_x[c];\n f_27 += tri[bc];\n f_18 += deg[b] - 2;\n f_16 += deg[x] - 1;\n f_15 += deg[c] - 1;\n }\n }\n\n // x = orbit-5 (path)\n for (int nx2 = 0; nx2 < deg[x]; nx2++) {\n int b = inc[x][nx2]._1, xb = inc[x][nx2]._2;\n if (b == a || adjacent(adj[a], b)) continue;\n for (int nb = 0; nb < deg[b]; nb++) {\n int c = inc[b][nb]._1, bc = inc[b][nb]._2;\n if (c == x || adjacent(adj[a], c) || adjacent(adj[x], c)) continue;\n orbit[x][5]++;\n f_17 += deg[a] - 1;\n }\n }\n\n // x = orbit-6 (claw)\n for (int na1 = 0; na1 < deg[a]; na1++) {\n int b = inc[a][na1]._1, ab = inc[a][na1]._2;\n if (b == x || adjacent(adj[x], b)) continue;\n for (int na2 = na1 + 1; na2 < deg[a]; na2++) {\n int c = inc[a][na2]._1, ac = inc[a][na2]._2;\n if (c == x || adjacent(adj[x], c) || adjacent(adj[b], c)) continue;\n orbit[x][6]++;\n f_22 += deg[a] - 3;\n f_20 += deg[x] - 1;\n f_19 += deg[b] - 1 + deg[c] - 1;\n }\n }\n\n // x = orbit-7 (claw)\n for (int nx2 = nx1 + 1; nx2 < deg[x]; nx2++) {\n int b = inc[x][nx2]._1, xb = inc[x][nx2]._2;\n if (adjacent(adj[a], b)) continue;\n for (int nx3 = nx2 + 1; nx3 < deg[x]; nx3++) {\n int c = inc[x][nx3]._1, xc = inc[x][nx3]._2;\n if (adjacent(adj[a], c) || adjacent(adj[b], c)) continue;\n orbit[x][7]++;\n f_23 += deg[x] - 3;\n f_21 += deg[a] - 1 + deg[b] - 1 + deg[c] - 1;\n }\n }\n }\n\n // solve equations\n orbit[x][72] = C5[x];\n orbit[x][71] = (f_71 - 12 * orbit[x][72]) / 2;\n orbit[x][70] = (f_70 - 4 * orbit[x][72]);\n orbit[x][69] = (f_69 - 2 * orbit[x][71]) / 4;\n orbit[x][68] = (f_68 - 2 * orbit[x][71]);\n orbit[x][67] = (f_67 - 12 * orbit[x][72] - 4 * orbit[x][71]);\n orbit[x][66] = (f_66 - 12 * orbit[x][72] - 2 * orbit[x][71] - 3 * orbit[x][70]);\n orbit[x][65] = (f_65 - 3 * orbit[x][70]) / 2;\n orbit[x][64] = (f_64 - 2 * orbit[x][71] - 4 * orbit[x][69] - 1 * orbit[x][68]);\n orbit[x][63] = (f_63 - 3 * orbit[x][70] - 2 * orbit[x][68]);\n orbit[x][62] = (f_62 - 1 * orbit[x][68]) / 2;\n orbit[x][61] = (f_61 - 4 * orbit[x][71] - 8 * orbit[x][69] - 2 * orbit[x][67]) / 2;\n orbit[x][60] = (f_60 - 4 * orbit[x][71] - 2 * orbit[x][68] - 2 * orbit[x][67]);\n orbit[x][59] = (f_59 - 6 * orbit[x][70] - 2 * orbit[x][68] - 4 * orbit[x][65]);\n orbit[x][58] = (f_58 - 4 * orbit[x][72] - 2 * orbit[x][71] - 1 * orbit[x][67]);\n orbit[x][57] = (f_57 - 12 * orbit[x][72] - 4 * orbit[x][71] - 3 * orbit[x][70] - 1 * orbit[x][67] - 2 * orbit[x][66]);\n orbit[x][56] = (f_56 - 2 * orbit[x][65]) / 3;\n orbit[x][55] = (f_55 - 2 * orbit[x][71] - 2 * orbit[x][67]) / 3;\n orbit[x][54] = (f_54 - 3 * orbit[x][70] - 1 * orbit[x][66] - 2 * orbit[x][65]) / 2;\n orbit[x][53] = (f_53 - 2 * orbit[x][68] - 2 * orbit[x][64] - 2 * orbit[x][63]);\n orbit[x][52] = (f_52 - 2 * orbit[x][66] - 2 * orbit[x][64] - 1 * orbit[x][59]) / 2;\n orbit[x][51] = (f_51 - 2 * orbit[x][68] - 2 * orbit[x][63] - 4 * orbit[x][62]);\n orbit[x][50] = (f_50 - 1 * orbit[x][68] - 2 * orbit[x][63]) / 3;\n orbit[x][49] = (f_49 - 1 * orbit[x][68] - 1 * orbit[x][64] - 2 * orbit[x][62]) / 2;\n orbit[x][48] = (f_48 - 4 * orbit[x][71] - 8 * orbit[x][69] - 2 * orbit[x][68] - 2 * orbit[x][67] - 2 * orbit[x][64] - 2 * orbit[x][61] - 1 * orbit[x][60]);\n orbit[x][47] = (f_47 - 3 * orbit[x][70] - 2 * orbit[x][68] - 1 * orbit[x][66] - 1 * orbit[x][63] - 1 * orbit[x][60]);\n orbit[x][46] = (f_46 - 3 * orbit[x][70] - 2 * orbit[x][68] - 2 * orbit[x][65] - 1 * orbit[x][63] - 1 * orbit[x][59]);\n orbit[x][45] = (f_45 - 2 * orbit[x][65] - 2 * orbit[x][62] - 3 * orbit[x][56]);\n orbit[x][44] = (f_44 - 1 * orbit[x][67] - 2 * orbit[x][61]) / 4;\n orbit[x][43] = (f_43 - 2 * orbit[x][66] - 1 * orbit[x][60] - 1 * orbit[x][59]) / 2;\n orbit[x][42] = (f_42 - 2 * orbit[x][71] - 4 * orbit[x][69] - 2 * orbit[x][67] - 2 * orbit[x][61] - 3 * orbit[x][55]);\n orbit[x][41] = (f_41 - 2 * orbit[x][71] - 1 * orbit[x][68] - 2 * orbit[x][67] - 1 * orbit[x][60] - 3 * orbit[x][55]);\n orbit[x][40] = (f_40 - 6 * orbit[x][70] - 2 * orbit[x][68] - 2 * orbit[x][66] - 4 * orbit[x][65] - 1 * orbit[x][60] - 1 * orbit[x][59] - 4 * orbit[x][54]);\n orbit[x][39] = (f_39 - 4 * orbit[x][65] - 1 * orbit[x][59] - 6 * orbit[x][56]) / 2;\n orbit[x][38] = (f_38 - 1 * orbit[x][68] - 1 * orbit[x][64] - 2 * orbit[x][63] - 1 * orbit[x][53] - 3 * orbit[x][50]);\n orbit[x][37] = (f_37 - 2 * orbit[x][68] - 2 * orbit[x][64] - 2 * orbit[x][63] - 4 * orbit[x][62] - 1 * orbit[x][53] - 1 * orbit[x][51] - 4 * orbit[x][49]);\n orbit[x][36] = (f_36 - 1 * orbit[x][68] - 2 * orbit[x][63] - 2 * orbit[x][62] - 1 * orbit[x][51] - 3 * orbit[x][50]);\n orbit[x][35] = (f_35 - 1 * orbit[x][59] - 2 * orbit[x][52] - 2 * orbit[x][45]) / 2;\n orbit[x][34] = (f_34 - 1 * orbit[x][59] - 2 * orbit[x][52] - 1 * orbit[x][51]) / 2;\n orbit[x][33] = (f_33 - 1 * orbit[x][67] - 2 * orbit[x][61] - 3 * orbit[x][58] - 4 * orbit[x][44] - 2 * orbit[x][42]) / 2;\n orbit[x][32] = (f_32 - 2 * orbit[x][66] - 1 * orbit[x][60] - 1 * orbit[x][59] - 2 * orbit[x][57] - 2 * orbit[x][43] - 2 * orbit[x][41] - 1 * orbit[x][40]) / 2;\n orbit[x][31] = (f_31 - 2 * orbit[x][65] - 1 * orbit[x][59] - 3 * orbit[x][56] - 1 * orbit[x][43] - 2 * orbit[x][39]);\n orbit[x][30] = (f_30 - 1 * orbit[x][67] - 1 * orbit[x][63] - 2 * orbit[x][61] - 1 * orbit[x][53] - 4 * orbit[x][44]);\n orbit[x][29] = (f_29 - 2 * orbit[x][66] - 2 * orbit[x][64] - 1 * orbit[x][60] - 1 * orbit[x][59] - 1 * orbit[x][53] - 2 * orbit[x][52] - 2 * orbit[x][43]);\n orbit[x][28] = (f_28 - 2 * orbit[x][65] - 2 * orbit[x][62] - 1 * orbit[x][59] - 1 * orbit[x][51] - 1 * orbit[x][43]);\n orbit[x][27] = (f_27 - 1 * orbit[x][59] - 1 * orbit[x][51] - 2 * orbit[x][45]) / 2;\n orbit[x][26] = (f_26 - 2 * orbit[x][67] - 2 * orbit[x][63] - 2 * orbit[x][61] - 6 * orbit[x][58] - 1 * orbit[x][53] - 2 * orbit[x][47] - 2 * orbit[x][42]);\n orbit[x][25] = (f_25 - 2 * orbit[x][66] - 2 * orbit[x][64] - 1 * orbit[x][59] - 2 * orbit[x][57] - 2 * orbit[x][52] - 1 * orbit[x][48] - 1 * orbit[x][40]) / 2;\n orbit[x][24] = (f_24 - 4 * orbit[x][65] - 4 * orbit[x][62] - 1 * orbit[x][59] - 6 * orbit[x][56] - 1 * orbit[x][51] - 2 * orbit[x][45] - 2 * orbit[x][39]);\n orbit[x][23] = (f_23 - 1 * orbit[x][55] - 1 * orbit[x][42] - 2 * orbit[x][33]) / 4;\n orbit[x][22] = (f_22 - 2 * orbit[x][54] - 1 * orbit[x][40] - 1 * orbit[x][39] - 1 * orbit[x][32] - 2 * orbit[x][31]) / 3;\n orbit[x][21] = (f_21 - 3 * orbit[x][55] - 3 * orbit[x][50] - 2 * orbit[x][42] - 2 * orbit[x][38] - 2 * orbit[x][33]);\n orbit[x][20] = (f_20 - 2 * orbit[x][54] - 2 * orbit[x][49] - 1 * orbit[x][40] - 1 * orbit[x][37] - 1 * orbit[x][32]);\n orbit[x][19] = (f_19 - 4 * orbit[x][54] - 4 * orbit[x][49] - 1 * orbit[x][40] - 2 * orbit[x][39] - 1 * orbit[x][37] - 2 * orbit[x][35] - 2 * orbit[x][31]);\n orbit[x][18] = (f_18 - 1 * orbit[x][59] - 1 * orbit[x][51] - 2 * orbit[x][46] - 2 * orbit[x][45] - 2 * orbit[x][36] - 2 * orbit[x][27] - 1 * orbit[x][24]) / 2;\n orbit[x][17] = (f_17 - 1 * orbit[x][60] - 1 * orbit[x][53] - 1 * orbit[x][51] - 1 * orbit[x][48] - 1 * orbit[x][37] - 2 * orbit[x][34] - 2 * orbit[x][30]) / 2;\n orbit[x][16] = (f_16 - 1 * orbit[x][59] - 2 * orbit[x][52] - 1 * orbit[x][51] - 2 * orbit[x][46] - 2 * orbit[x][36] - 2 * orbit[x][34] - 1 * orbit[x][29]);\n orbit[x][15] = (f_15 - 1 * orbit[x][59] - 2 * orbit[x][52] - 1 * orbit[x][51] - 2 * orbit[x][45] - 2 * orbit[x][35] - 2 * orbit[x][34] - 2 * orbit[x][27]);\n }\n\n return orbit;\n }","title":""},{"docid":"963731917722658ce8bd3f535dd33dbb","score":"0.6594779","text":"public int getNetSize() {\n return graph.size();\n }","title":""},{"docid":"af6f92cb83a864c4c36a7052c1564fb9","score":"0.6591686","text":"int nodeCount();","title":""},{"docid":"4d1ea32d59b713bc921b485a48e01b1a","score":"0.65749335","text":"int getTotalNumOfNodes() {\n\t\treturn adjList.size();\n\t}","title":""},{"docid":"40c73bd0343d99908b4da737680f7d85","score":"0.6573597","text":"public int getFlowSize()\n\t{\n\t\tint result = 0;\n\t\t\n\t\tfor(Edge e : this.source.getOutgoingEdges())\n\t\t{\n\t\t\tresult += e.getFlow();\n\t\t}\n\t\t\n\t\treturn result;\n\t}","title":""},{"docid":"730b3064c8425a6756cd342d39a77906","score":"0.6546222","text":"public Graph runNumberOfPathThroughAnyLink(AdjacencyMatrix m){\r\n\t\tGraph graph = new Graph(m);\r\n\t\treturn PathCount.getNumberOfPathThroughAnyLink(graph);\r\n\t}","title":""},{"docid":"97a555071d37a17d55d25b0e678e1081","score":"0.65184575","text":"public int size(){\n\t\tNode current = top;\n\t\tint size = 0;\n\t\t\n\t\twhile(current != null){\n\t\t\tcurrent = current.next;\n\t\t\tsize++;\n\t\t}\n\t\t\n\t\treturn size;\n\t}","title":""},{"docid":"8528e636f16fda77f41e5af9fb5556c4","score":"0.65180916","text":"public int inDegree(N v) {\n return getInEdges(v).size();\n }","title":""},{"docid":"6f46362a1df98b0c913569eb45ad7473","score":"0.6476052","text":"private int getNumberOfNeighborConnections(Entity node)\r\n\t{\r\n\r\n\t\t// The directed graph is treated as a undirected graph to compute these\r\n\t\t// parameters.\r\n\t\t// UndirectedGraph undirectedGraph = new\r\n\t\t// AsUndirectedGraph(directedGraph);\r\n\r\n\t\tint numberOfConnections = 0;\r\n\r\n\t\t// get the set of neighbors\r\n\t\tSet neighbors = getNeighbors(node);\r\n\r\n\t\tif (neighbors.size() > 0) {\r\n\t\t\t// for each pair of neighbors, test if there is a connection\r\n\t\t\tObject[] nodeArray = neighbors.toArray();\r\n\t\t\t// sort the Array so we can use a simple iteration with two for\r\n\t\t\t// loops to access all pairs\r\n\t\t\tArrays.sort(nodeArray);\r\n\r\n\t\t\tfor (int i = 0; i < neighbors.size(); i++) {\r\n\t\t\t\tEntity outerNode = (Entity) nodeArray[i];\r\n\t\t\t\tfor (int j = i + 1; j < neighbors.size(); j++) {\r\n\t\t\t\t\tEntity innerNode = (Entity) nodeArray[j];\r\n\t\t\t\t\t// in case of a connection increase connection counter\r\n\t\t\t\t\t// order of the nodes doesn't matter for undirected graphs\r\n\r\n\t\t\t\t\t// check if the neighbors are connected:\r\n\t\t\t\t\tif (containsEdge(innerNode, outerNode)\r\n\t\t\t\t\t\t\t|| containsEdge(outerNode, innerNode)) {\r\n\t\t\t\t\t\t// logger.info(\"There is a connection between the neighbors\");\r\n\t\t\t\t\t\tnumberOfConnections++;\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\t// logger.info(neighbors.size() + \" - \" + numberOfConnections);\r\n\r\n\t\treturn numberOfConnections;\r\n\t}","title":""},{"docid":"c720b8373f509aa5a00df209787eeba8","score":"0.64601934","text":"public int countNodes() {\n int leftCount = left == null ? 0 : left.countNodes();\n int rightCount = right == null ? 0 : right.countNodes();\n return 1 + leftCount + rightCount;\n }","title":""},{"docid":"510f565d22836ac8a481448403423214","score":"0.6454934","text":"public int Sizeofnetwork() {\n\t\treturn Nodeswithconnect.size();\n\t}","title":""},{"docid":"234a67bf0fbf32a3035e9002b2fc6312","score":"0.64535284","text":"public Graph runNumberOfPathThroughAnyNode(AdjacencyMatrix m){\r\n\t\tGraph graph = new Graph(m);\r\n\t\treturn PathCount.getNumberOfPathThroughAnyNode(graph);\t\r\n\t}","title":""},{"docid":"18b3d35bc8c22b64f20e1a7a228d67e0","score":"0.6448266","text":"public int nodeCount(){\r\n\t\treturn size;\r\n\t}","title":""},{"docid":"c86a0b7a1827af1f6e00d9278f2c0a79","score":"0.644088","text":"public int getDegree(){\n\t\treturn neighbours.size();\n\t}","title":""},{"docid":"8d54776a6896ea5815cdbf77de4337e0","score":"0.64353037","text":"public int localEdgeNum() {\r\n return localEdgeCount;\r\n }","title":""},{"docid":"dfdb0f7142273c6423b2b6db37329497","score":"0.64258665","text":"public int length()\n {\n int count = 0;\n Node position = head;\n\n while(position != null)\n {\n count++;\n position = position.nLink;\n } // end while\n\n return count;\n }","title":""},{"docid":"d2fdf4a20bf74d66e68d440fea181585","score":"0.64178395","text":"public int getOriginalEdgeCount() {\r\n return originalEdgeCount;\r\n }","title":""},{"docid":"572e835a1627c274345cefc1f752c8c3","score":"0.6386158","text":"public int m(){\n int m = 0;\n // looping through adj matrix to check if edge.\n // increments counter if so.\n for (int i = 0; i < n; i++){\n for (int j = 0; j < n; j++){\n if (edges[i][j] > 0){\n m++;\n }\n }\n }\n return m / 2;\n }","title":""},{"docid":"a2cd05bccbabb4f960c76b044a1d2531","score":"0.6383283","text":"private int createEdges() {\n\t\t// Use random numbers to generate random number of edges for each vertex\n\t\tint avgNumEdgesPerVertex = this.desiredTotalEdges / this.vertices.size();\n\t\tint countSuccessfulEdges = 0;\n\t\t// In order to determine the number of edges to create for each vertex\n\t\t// get a random number between 0 and 2 times the avgNumEdgesPerVertex\n\t\t// then add neighbors (edges are represented by the number of neighbors each\n\t\t// vertex has)\n\t\tfor (int i = 0; i < this.vertices.size(); i++) {\n\t\t\tfor (int j = 0; j <= (this.randomGen(avgNumEdgesPerVertex * 50) + 1); j++) {\n\t\t\t\t// select a random vertex from this.vertices (vertex list) and add as neighbor\n\t\t\t\t// ensure we don't add a vertex as a neighbor of itself\n\t\t\t\tint neighbor = this.randomGen(this.vertices.size());\n\t\t\t\tif (neighbor != i)\n\t\t\t\t\tif (this.vertices.get(i).addNeighbor(this.vertices.get(neighbor))) {\n\t\t\t\t\t\tthis.vertices.get(neighbor).addNeighbor(this.vertices.get(i));\n\t\t\t\t\t\tcountSuccessfulEdges++;\n\t\t\t\t\t}\n\n\t\t\t}\n\t\t}\n\t\treturn countSuccessfulEdges;\n\t}","title":""},{"docid":"f5090d2e83d9bc4806fabc06fb7005eb","score":"0.6377819","text":"public int size()\n {\n \tDNode temp=first;\n \tint count=0;\n \twhile(temp!=null)\t\t//Iterating till the end of the list\n \t{\n \t\tcount++;\n \t\ttemp=temp.next;\n \t}\n \treturn count;\n }","title":""},{"docid":"a2f089017249b440e3ddc2473bd9b27f","score":"0.6376546","text":"public int size() {\n\r\n int size = 0;\r\n for(Node n = head; n.getNext() != null; n = n.getNext()) {\r\n size++;\r\n }\r\n\r\n return size;\r\n }","title":""},{"docid":"d9bd2252572f03ee57ec2e5ac056ce15","score":"0.6375654","text":"public int countNodes() {\n\t\t\n\t\tif(isEmpty()==false){\n\t\t\tint count =1;\n\t\t\tDoubleNode temp=head;\n\t\t\twhile(temp.getNext()!=null){\n\t\t\t\tcount++;\n\t\t\t\ttemp=temp.getNext();\n\t\t}\n\t\treturn count;\n\t\t}\n\t\telse{\n\t\t\treturn 0;\n\t\t}\n\t}","title":""},{"docid":"81985798a89a6979c93d7885ae1127f5","score":"0.6373453","text":"public int numofConnections() {\n\t\tint numberofconnection = 0;\n\t\tString node;\n\t\tfor (String key : Nodeswithconnect.keySet()) {\n\t\t\tfor (int i = 0; i < Nodeswithconnect.get(key).length; i++) {\n\t\t\t\tnode = Nodeswithconnect.get(key)[i];\n\t\t\t\tif (!node.equals(\"null\")) {\n\t\t\t\t\tnumberofconnection++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn numberofconnection;\n\t}","title":""},{"docid":"3fb66ec9fb95d0db4255c313813308f5","score":"0.6372054","text":"@Override\n public int size()\n {\n int numLinks = 0;\n Node currNode = this.head.next; \n while(currNode.next != null)\n {\n numLinks++;\n currNode = currNode.next;\n }\n return numLinks;\n }","title":""},{"docid":"462670a6e4136ea7a39857ba7929e766","score":"0.6368483","text":"public abstract int getVertexCount();","title":""},{"docid":"823cb5fce9547f63cc26ce7bb19b91ec","score":"0.63675547","text":"@Override\r\n\tpublic int getNumberOfNodes() {\r\n\t\tint contador = 0;// Contador para el recursivo\r\n\t\treturn getNumberOfNodesRec(contador, raiz);\r\n\t}","title":""},{"docid":"fd73308688c219bb2822ea8eca9127e3","score":"0.6361377","text":"public int countNodes(){\r\n \treturn count(root);\r\n }","title":""},{"docid":"6589308f89d59fbb7c03313a31362625","score":"0.6355168","text":"public int size() {\n\t\t\n\t\tint count = 0;\n\t\t\n\t\t// Iterate through list and increment count until pointer cycles back to head (tail.next)\n\t\tfor (Node curr = head; curr == tail.next; curr = curr.next) {\n\t\t\tcount++;\n\t\t}\n\t\t\n\t\treturn count;\n\t}","title":""},{"docid":"5e26184c7b5233597480f569e9d8f375","score":"0.63401544","text":"public int getVertexSize() {\n\t\treturn graph.vertexSet().size();\r\n\t}","title":""},{"docid":"6fcaef44a4f1d842fbf7c7efbdea4bc6","score":"0.63360983","text":"public int nodesCount() {\n return nodes.size();\n }","title":""},{"docid":"e118c7bf7468bcb74fe419cc3c42b494","score":"0.6332007","text":"public int countComponentsDFS(int n, int[][] edges) {\n\t List[] list = new List[n];\n\t int[] visited = new int[n];\n\t \n\t for(int i = 0; i< n; i++){\n\t list[i] = new ArrayList();\n\t }\n\t //initial edges for each vertex, for example edges[0] ={1,2}\n\t //means vertex 1 and vertex 2 are connected;\n\t for(int i = 0; i visited = new HashSet<>();\\r\\n LinkedList queue = new LinkedList<>();\\r\\n queue.add(start);\\r\\n visited.add(start);\\r\\n int counter = 0;\\r\\n while(!queue.isEmpty()){\\r\\n FlowGraphNode node = queue.pop();\\r\\n counter += node.outDeg();\\r\\n for(FlowGraphNode child : node.to){\\r\\n if(visited.add(child)){\\r\\n queue.add(child);\\r\\n }\\r\\n }\\r\\n }\\r\\n return counter;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f3c3e9a305ec628750ac54ec2fe8b63\",\n \"score\": \"0.8256408\",\n \"text\": \"int getNumberOfEdges();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d79ec5425a125d63e9628405142f4de\",\n \"score\": \"0.81751347\",\n \"text\": \"public int numEdges();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ffbd2660e89e1c16d6783dafd11d145a\",\n \"score\": \"0.8069705\",\n \"text\": \"public int getNumberOfEdges();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"450309b8f86a3cc5eccba698b5bdfb09\",\n \"score\": \"0.8021798\",\n \"text\": \"@Override\\n public int edgeCount() {\\n int count = 0;\\n\\n for(MyNode n : graphNodes.values()){\\n count += n.inDegree();\\n }\\n\\n return count;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aab70464767730ce5c7540e97c8cf0a6\",\n \"score\": \"0.80070466\",\n \"text\": \"public int getNumEdges();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9803905907527fd29b2e6499eeec4c11\",\n \"score\": \"0.7885169\",\n \"text\": \"public int numEdges()\\r\\n {\\r\\n\\tint s = 0;\\r\\n\\tfor (final EdgeTypeHolder eth : ethMap.values())\\r\\n\\t s += eth.numEdges();\\r\\n\\treturn s;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"968308978aa172d71bf5e6bf7b4116a2\",\n \"score\": \"0.7851156\",\n \"text\": \"public int edgeCount() {\\n\\treturn edgeList.size();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7e5d353414edbefaac133727f205fee8\",\n \"score\": \"0.782564\",\n \"text\": \"public int getEdgeCount() {\\n return edge_.size();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b3d11cca3551bc950e3d2da3edad4e6d\",\n \"score\": \"0.78200173\",\n \"text\": \"public int getNumEdges() {\\n\\t\\treturn edges.size();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5079640ec235365be0c5b85e0bc52fd1\",\n \"score\": \"0.7812434\",\n \"text\": \"private int numEdges()\\r\\n\\t{\\r\\n\\t return eSet.size();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dcbcf624d8d937520f58c92c7d12d898\",\n \"score\": \"0.77860594\",\n \"text\": \"public int numEdges() {\\n int tot = 0;\\n\\n ListIterator curEdge = edgeListVector.listIterator();\\n while (curEdge.hasNext()) {\\n tot += curEdge.next().size();\\n }\\n\\n return tot;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9bb70f790e92c1d9ac058a0b50035e84\",\n \"score\": \"0.77581984\",\n \"text\": \"public long getEdgeCount() { return edgeCount; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d620d4510680561965fe2438371c38f5\",\n \"score\": \"0.7683596\",\n \"text\": \"public int getNumEdges()\\n\\t{\\n\\t\\t//TODO: Implement this method in WEEK 3\\n\\t\\treturn numEdges;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e6fafad7cbeb276748616a3d5daf9866\",\n \"score\": \"0.7654444\",\n \"text\": \"public int numEdges() {\\r\\n\\t\\treturn edges;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"73fe869cf5915cf11f3edd571f558afd\",\n \"score\": \"0.76260614\",\n \"text\": \"int numEdges() {\\n\\t\\treturn num_edges;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c21fad3e54ade459f19504333537490\",\n \"score\": \"0.7616123\",\n \"text\": \"public int getEdgeCount() {\\n if (edgeBuilder_ == null) {\\n return edge_.size();\\n } else {\\n return edgeBuilder_.getCount();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3475784191fd4b549313a7d6eae973b5\",\n \"score\": \"0.75757974\",\n \"text\": \"@Override\\n\\tpublic long numEdges() {\\n\\t\\treturn numEdges;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d36cee4a882f351caa8f821382868b8\",\n \"score\": \"0.75369906\",\n \"text\": \"public int size()\\n {\\n return numEdges;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"12269a2063458ce564302ba50fea8083\",\n \"score\": \"0.75091046\",\n \"text\": \"public int getNumEdges() {\\n return num_edges;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c047aecd02ca22c9d3e771e433d722dc\",\n \"score\": \"0.74750245\",\n \"text\": \"@Override\\n\\tpublic int graphSize() {\\n\\t\\treturn edges.size();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"483d74add69e1c5a12715f207bdd334f\",\n \"score\": \"0.74619454\",\n \"text\": \"public int getEdgeCount()\\n\\t{\\n\\t\\treturn edgeCount;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"860b50823f4173c3b36562da283e5505\",\n \"score\": \"0.7453168\",\n \"text\": \"private int size() {\\n assert _vertices.size() == _edges.size();\\n return _edges.size();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6d766330cc3bf1c6793d57d2dc93ea86\",\n \"score\": \"0.7439412\",\n \"text\": \"public int getNumEdges() {\\n\\t\\treturn this.actualTotalEdges;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"34042ecbf7fb8bab38cd84d89fa89e90\",\n \"score\": \"0.74391097\",\n \"text\": \"public int edgeNum() {\\r\\n return edges.size();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7241e3d8f232b3439ef2bffc8024a0ab\",\n \"score\": \"0.742691\",\n \"text\": \"public int getNumEdges(){\\n return numEdges;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7da044d31662dcdb8a40e70b02ef0999\",\n \"score\": \"0.7415836\",\n \"text\": \"private static int numEdges(Graph g) {\\n\\tint sum = 0;\\n\\t\\n\\tfor(int i =0;i temp = null;\\n\\t if(g.adjacencyList[i]!=null) {\\n\\t\\ttemp = g.adjacencyList[i];\\n\\t\\tfor(int tmp:temp) {\\n\\t\\t sum++;\\n\\t\\t}\\n\\t\\t\\n\\t }\\n\\t}\\n\\treturn sum/2;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a99af08cec3cbcf23a1a6c06e402f04\",\n \"score\": \"0.7394172\",\n \"text\": \"public int getNodeCount(){\\r\\n HashSet visited = new HashSet<>();\\r\\n LinkedList queue = new LinkedList<>();\\r\\n queue.add(start);\\r\\n visited.add(start);\\r\\n while(!queue.isEmpty()){\\r\\n FlowGraphNode node = queue.pop();\\r\\n for(FlowGraphNode child : node.to){\\r\\n if(visited.add(child)){\\r\\n queue.add(child);\\r\\n }\\r\\n }\\r\\n }\\r\\n return visited.size();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae8ce8ffe9adfa2302f2447f2beb9dee\",\n \"score\": \"0.73880935\",\n \"text\": \"private long nodesLength(Edge[] E) {\\n\\t\\tlong nodesLength = 0;\\n\\t\\tfor (Edge e:E ) {\\n\\t\\t\\tif (e.getTo() > nodesLength) nodesLength = e.getTo();\\n\\t\\t\\tif (e.getFrom() > nodesLength) nodesLength = e.getFrom();\\n\\t\\t}\\n\\t\\tnodesLength++;\\t\\n\\t\\treturn nodesLength;\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cf10025dd58b2b085c03c04ab003ecc7\",\n \"score\": \"0.73367345\",\n \"text\": \"@Override\\n public int edgeSize() {\\n return this.numOfEdges;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d0ffc989d12503e09206e5f1f9b22659\",\n \"score\": \"0.7260044\",\n \"text\": \"public int getEdgeCount() \\n {\\n return 3;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1a1595af28c3cb022c0f671f4e699a05\",\n \"score\": \"0.719033\",\n \"text\": \"private static int getNumTotalEdges(){\\r\\n\\t\\t//return getMutMap().keySet().size();\\r\\n\\t\\treturn numCols+1;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f022d5d8677cbcc615f670342146272e\",\n \"score\": \"0.7078932\",\n \"text\": \"private int nonDirectionalEdgesNumber() {\\n return selectedNonDirectionalEdges.size();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5025769cc5f6e7dcb64ede182c4ff676\",\n \"score\": \"0.70760155\",\n \"text\": \"public int countNeighbours() {\\n\\t\\tint count = 0;\\n\\t\\tif (this.hasNeighbour(0))\\n\\t\\t\\tcount++;\\n\\t\\tif (this.hasNeighbour(1))\\n\\t\\t\\tcount++;\\n\\t\\tif (this.hasNeighbour(2))\\n\\t\\t\\tcount++;\\n\\t\\treturn count;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9b2d7fde3f70db0b373841941973bbe8\",\n \"score\": \"0.70288837\",\n \"text\": \"public int getEdgeCount(boolean biDirectional) {\\n int count=0;\\n for(T v: map.keySet()) {\\n count += map.get(v).size();\\n }\\n\\n if(biDirectional) count = count/2;\\n\\n return count;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e724dda9c19eca1cdae060b21fc62f40\",\n \"score\": \"0.70170164\",\n \"text\": \"public Object getNumberOfConnectedComponents() {\\r\\n\\t\\tConnectivityInspector inspector=new ConnectivityInspector(graph);\\r\\n\\t\\treturn inspector.connectedSets().size();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ef8ac8752284c852bdd756a44970c51e\",\n \"score\": \"0.69561577\",\n \"text\": \"public Integer numUnknownEdges()\\n\\t{\\n\\t\\tif (total_edges == null) return null;\\n\\n\\t\\tint edges = 0;\\n\\t\\tfor (Node n : nodes.values())\\n\\t\\t{\\n\\t\\t\\tedges += n.neighbors.size();\\n\\t\\t}\\n\\t\\t// double-counts edges, so divide\\n\\t\\treturn total_edges - edges / 2;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1c54f9db9924ca079b2866ae09061b90\",\n \"score\": \"0.6912735\",\n \"text\": \"public long getEdgesArrayLength() {\\n\\t\\treturn edgesLength;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"df585cae50e9693609179af4b5619aa5\",\n \"score\": \"0.6899138\",\n \"text\": \"@Override\\r\\n\\tpublic int getNumberOfSymmetricLinks()\\r\\n\\t{\\r\\n\\t\\tCollection vertices = directedGraph.getVertices();\\r\\n\\t\\tint symLinksSum = 0;\\r\\n\\r\\n\\t\\t// this can be done still more efficiently if i put the nodes in a list\\r\\n\\t\\t// and remove from the\\r\\n\\t\\t// list current node as well as its children after each loop\\r\\n\\t\\t// int progress = 0;\\r\\n\\t\\t// int max = vertices.size();\\r\\n\\r\\n\\t\\tfor (Entity source : vertices) {\\r\\n\\t\\t\\t// ApiUtilities.printProgressInfo(progress, max, 100,\\r\\n\\t\\t\\t// ApiUtilities.ProgressInfoMode.TEXT, \\\"Counting symmetric links\\\");\\r\\n\\t\\t\\tfor (Entity target : getChildren(source)) {\\r\\n\\t\\t\\t\\t// progress++;\\r\\n\\r\\n\\t\\t\\t\\tif (isSymmetricLink(source, target)) {\\r\\n\\t\\t\\t\\t\\tsymLinksSum++;\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t\\treturn symLinksSum / 2;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6be42534ca1fffb1b56dc6c975565b4c\",\n \"score\": \"0.6892506\",\n \"text\": \"int getNumberOfVertexes();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6128d675718b218d99b18afcb20d83be\",\n \"score\": \"0.6888515\",\n \"text\": \"public int getNumberOfPaths(){ \\r\\n HashMap number = new HashMap<>();\\r\\n LinkedList queue = new LinkedList<>();\\r\\n HashMap label = new HashMap<>();\\r\\n \\r\\n label.put(start,1);\\r\\n queue.add(start);\\r\\n do{\\r\\n FlowGraphNode node = queue.pop();\\r\\n for(FlowGraphNode child : node.to){\\r\\n int count = number.getOrDefault(child, child.inDeg()) -1;\\r\\n if(count == 0){\\r\\n queue.add(child);\\r\\n number.remove(child);\\r\\n //label\\r\\n int sum = 0;\\r\\n for(FlowGraphNode anc : child.from){\\r\\n sum += label.get(anc);\\r\\n }\\r\\n label.put(child,sum);\\r\\n }else{\\r\\n number.put(child, count);\\r\\n }\\r\\n }\\r\\n }while(!queue.isEmpty());\\r\\n \\r\\n if(!number.isEmpty()){\\r\\n //there has to be a loop in the graph\\r\\n return -1;\\r\\n }\\r\\n \\r\\n return label.get(end);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a543af1e64ddd6e8f3ffa5aa7d24888a\",\n \"score\": \"0.68728906\",\n \"text\": \"public int getEdges() {\\n return edgesNumber;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c36d578bacd77e2f1837184540e443ee\",\n \"score\": \"0.6858823\",\n \"text\": \"int getNodesCount();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c36d578bacd77e2f1837184540e443ee\",\n \"score\": \"0.6858823\",\n \"text\": \"int getNodesCount();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"62ce45a0ded6c7bdc60d11f40918662f\",\n \"score\": \"0.68164015\",\n \"text\": \"@Override\\n public int nodeCount() {\\n return graphNodes.size();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"053cd4a0ab786329931297f8ffb04258\",\n \"score\": \"0.67741406\",\n \"text\": \"public int getEdgeSixe() {\\n\\t\\treturn graph.edgeSet().size();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e38f661e5b7ec6598c6a7894ce6a70f4\",\n \"score\": \"0.6766939\",\n \"text\": \"public int getVertexCount();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8a8c542b639de033d4737e98d5901a27\",\n \"score\": \"0.6764176\",\n \"text\": \"@Override\\n\\tpublic int size() {\\n\\t\\tif(top == null) {\\n\\t\\t\\treturn 0;\\n\\t\\t}\\n\\t\\tNode tempNode = top;\\n\\t\\tint counter = 1;\\n\\t\\twhile(tempNode.getLink() != null) {\\n\\t\\t\\tcounter++;\\n\\t\\t\\ttempNode = tempNode.getLink();\\n\\t\\t}\\n\\t\\treturn counter;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f2eb46d09bcc7d8a1dd8f44e4cba838\",\n \"score\": \"0.6761685\",\n \"text\": \"public int getVertexCount()\\n\\t{\\n\\t\\tint count = 0;\\n\\t\\tIterator itr = vertices.iterator();\\n\\t\\twhile(itr.hasNext())\\n\\t\\t{\\n\\t\\t\\tcount++;\\n\\t\\t\\titr.next();\\n\\t\\t}\\n\\t\\treturn count;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1d96baf0bc52e68a3fd8322ed4e68da5\",\n \"score\": \"0.6755302\",\n \"text\": \"private int visitedNetworksCount() {\\n final HashSet visitedNetworksSet = new HashSet<>(mVisitedNetworks);\\n return visitedNetworksSet.size();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d95cbd091032e42ba1cfb7c67226371b\",\n \"score\": \"0.6750751\",\n \"text\": \"public int getLayerCount(int edge) throws EdgeOutOfRangeException\\n {\\n if (edge==DataDirector.PAGE_EDGE)\\n return 0;\\n else\\n return 1;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"794db0900d3d8deb96418484d5813df9\",\n \"score\": \"0.67315036\",\n \"text\": \"int nbNode() {\\n switch (type) {\\n\\n case EDGE:\\n case PATH:\\n case EVAL:\\n if (edge.getEdgeVariable() == null) {\\n return edge.nbNode();\\n } else {\\n return edge.nbNode() + 1;\\n }\\n\\n case OPT_BIND:\\n return size();\\n }\\n\\n return 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"86df710edb88c27e99d6246f2ffd17f4\",\n \"score\": \"0.6692538\",\n \"text\": \"public int countPrimaryEdges() {\\n\\t\\t\\tint count = 0;\\n\\t\\t\\tArrayNode node = this;\\n\\t\\t\\twhile (node.mPrimaryEdge != null) {\\n\\t\\t\\t\\tnode = node.mPrimaryEdge;\\n\\t\\t\\t\\tcount++;\\n\\t\\t\\t}\\n\\t\\t\\treturn count;\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"97708b6900b25e7caa8d51e3feff6099\",\n \"score\": \"0.66876733\",\n \"text\": \"int getNodeCount();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"97708b6900b25e7caa8d51e3feff6099\",\n \"score\": \"0.66876733\",\n \"text\": \"int getNodeCount();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f8c5590d45f793df70810077d3c99733\",\n \"score\": \"0.6680559\",\n \"text\": \"public int size() {\\n\\t\\tint count = 0;\\n\\t\\tfor (Node current = start; current == null; current = current.next) {\\n\\t\\t\\tcount++;\\n\\t\\t}\\n\\t\\treturn count;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1a05aa60f425844dacc28815755d7228\",\n \"score\": \"0.6674187\",\n \"text\": \"public int numEdges(String edgeTypeName)\\r\\n {\\r\\n\\tfinal EdgeTypeHolder eth = ethMap.get(edgeTypeName);\\r\\n\\treturn (eth == null) ? 0 : eth.numEdges();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ea8060d32e3a5bdd41cf88a2c1664b5d\",\n \"score\": \"0.6619439\",\n \"text\": \"@Override\\n public long[ ][ ] count() {\\n // precompute common nodes\\n for (int x = 0; x < n; x++) {\\n for (int n1 = 0; n1 < deg[x]; n1++) {\\n int a = adj[x][n1];\\n for (int n2 = n1 + 1; n2 < deg[x]; n2++) {\\n int b = adj[x][n2];\\n Tuple ab = createTuple(a, b);\\n common2.put(ab, common2.getOrDefault(ab, 0) + 1);\\n for (int n3 = n2 + 1; n3 < deg[x]; n3++) {\\n int c = adj[x][n3];\\n boolean st = adjacent(adj[a], b) ? (adjacent(adj[a], c) || adjacent(adj[b], c)) :\\n (adjacent(adj[a], c) && adjacent(adj[b], c));\\n if (!st) continue;\\n Tuple abc = createTuple(a, b, c);\\n common3.put(abc, common3.getOrDefault(abc, 0) + 1);\\n }\\n }\\n }\\n }\\n\\n // precompute triangles that span over edges\\n int[ ] tri = countTriangles();\\n\\n // count full graphlets\\n long[ ] C5 = new long[n];\\n int[ ] neigh = new int[n];\\n int[ ] neigh2 = new int[n];\\n int nn, nn2;\\n for (int x = 0; x < n; x++) {\\n for (int nx = 0; nx < deg[x]; nx++) {\\n int y = adj[x][nx];\\n if (y >= x) break;\\n nn = 0;\\n for (int ny = 0; ny < deg[y]; ny++) {\\n int z = adj[y][ny];\\n if (z >= y) break;\\n if (adjacent(adj[x], z)) {\\n neigh[nn++] = z;\\n }\\n }\\n for (int i = 0; i < nn; i++) {\\n int z = neigh[i];\\n nn2 = 0;\\n for (int j = i + 1; j < nn; j++) {\\n int zz = neigh[j];\\n if (adjacent(adj[z], zz)) {\\n neigh2[nn2++] = zz;\\n }\\n }\\n for (int i2 = 0; i2 < nn2; i2++) {\\n int zz = neigh2[i2];\\n for (int j2 = i2 + 1; j2 < nn2; j2++) {\\n int zzz = neigh2[j2];\\n if (adjacent(adj[zz], zzz)) {\\n C5[x]++;\\n C5[y]++;\\n C5[z]++;\\n C5[zz]++;\\n C5[zzz]++;\\n }\\n }\\n }\\n }\\n }\\n }\\n\\n int[ ] common_x = new int[n];\\n int[ ] common_x_list = new int[n];\\n int ncx = 0;\\n int[ ] common_a = new int[n];\\n int[ ] common_a_list = new int[n];\\n int nca = 0;\\n\\n // set up a system of equations relating orbit counts\\n for (int x = 0; x < n; x++) {\\n for (int i = 0; i < ncx; i++) common_x[common_x_list[i]] = 0;\\n ncx = 0;\\n\\n // smaller graphlets\\n orbit[x][0] = deg[x];\\n for (int nx1 = 0; nx1 < deg[x]; nx1++) {\\n int a = adj[x][nx1];\\n for (int nx2 = nx1 + 1; nx2 < deg[x]; nx2++) {\\n int b = adj[x][nx2];\\n if (adjacent(adj[a], b)) orbit[x][3]++;\\n else orbit[x][2]++;\\n }\\n for (int na = 0; na < deg[a]; na++) {\\n int b = adj[a][na];\\n if (b != x && !adjacent(adj[x], b)) {\\n orbit[x][1]++;\\n if (common_x[b] == 0) common_x_list[ncx++] = b;\\n common_x[b]++;\\n }\\n }\\n }\\n\\n long f_71 = 0, f_70 = 0, f_67 = 0, f_66 = 0, f_58 = 0, f_57 = 0; // 14\\n long f_69 = 0, f_68 = 0, f_64 = 0, f_61 = 0, f_60 = 0, f_55 = 0, f_48 = 0, f_42 = 0, f_41 = 0; // 13\\n long f_65 = 0, f_63 = 0, f_59 = 0, f_54 = 0, f_47 = 0, f_46 = 0, f_40 = 0; // 12\\n long f_62 = 0, f_53 = 0, f_51 = 0, f_50 = 0, f_49 = 0, f_38 = 0, f_37 = 0, f_36 = 0; // 8\\n long f_44 = 0, f_33 = 0, f_30 = 0, f_26 = 0; // 11\\n long f_52 = 0, f_43 = 0, f_32 = 0, f_29 = 0, f_25 = 0; // 10\\n long f_56 = 0, f_45 = 0, f_39 = 0, f_31 = 0, f_28 = 0, f_24 = 0; // 9\\n long f_35 = 0, f_34 = 0, f_27 = 0, f_18 = 0, f_16 = 0, f_15 = 0; // 4\\n long f_17 = 0; // 5\\n long f_22 = 0, f_20 = 0, f_19 = 0; // 6\\n long f_23 = 0, f_21 = 0; // 7\\n\\n for (int nx1 = 0; nx1 < deg[x]; nx1++) {\\n int a = inc[x][nx1]._1, xa = inc[x][nx1]._2;\\n\\n for (int i = 0; i < nca; i++) common_a[common_a_list[i]] = 0;\\n nca = 0;\\n for (int na = 0; na < deg[a]; na++) {\\n int b = adj[a][na];\\n for (int nb = 0; nb < deg[b]; nb++) {\\n int c = adj[b][nb];\\n if (c == a || adjacent(adj[a], c)) continue;\\n if (common_a[c] == 0) common_a_list[nca++] = c;\\n common_a[c]++;\\n }\\n }\\n\\n // x = orbit-14 (tetrahedron)\\n for (int nx2 = nx1 + 1; nx2 < deg[x]; nx2++) {\\n int b = inc[x][nx2]._1, xb = inc[x][nx2]._2;\\n if (!adjacent(adj[a], b)) continue;\\n for (int nx3 = nx2 + 1; nx3 < deg[x]; nx3++) {\\n int c = inc[x][nx3]._1, xc = inc[x][nx3]._2;\\n if (!adjacent(adj[a], c) || !adjacent(adj[b], c)) continue;\\n orbit[x][14]++;\\n f_70 += common3.getOrDefault(createTuple(a, b, c), 0) - 1;\\n f_71 += (tri[xa] > 2 && tri[xb] > 2) ? (common3.getOrDefault(createTuple(x, a, b), 0) - 1) : 0;\\n f_71 += (tri[xa] > 2 && tri[xc] > 2) ? (common3.getOrDefault(createTuple(x, a, c), 0) - 1) : 0;\\n f_71 += (tri[xb] > 2 && tri[xc] > 2) ? (common3.getOrDefault(createTuple(x, b, c), 0) - 1) : 0;\\n f_67 += tri[xa] - 2 + tri[xb] - 2 + tri[xc] - 2;\\n f_66 += common2.getOrDefault(createTuple(a, b), 0) - 2;\\n f_66 += common2.getOrDefault(createTuple(a, c), 0) - 2;\\n f_66 += common2.getOrDefault(createTuple(b, c), 0) - 2;\\n f_58 += deg[x] - 3;\\n f_57 += deg[a] - 3 + deg[b] - 3 + deg[c] - 3;\\n }\\n }\\n\\n // x = orbit-13 (diamond)\\n for (int nx2 = 0; nx2 < deg[x]; nx2++) {\\n int b = inc[x][nx2]._1, xb = inc[x][nx2]._2;\\n if (!adjacent(adj[a], b)) continue;\\n for (int nx3 = nx2 + 1; nx3 < deg[x]; nx3++) {\\n int c = inc[x][nx3]._1, xc = inc[x][nx3]._2;\\n if (!adjacent(adj[a], c) || adjacent(adj[b], c)) continue;\\n orbit[x][13]++;\\n f_69 += (tri[xb] > 1 && tri[xc] > 1) ? (common3.getOrDefault(createTuple(x, b, c), 0) - 1) : 0;\\n f_68 += common3.getOrDefault(createTuple(a, b, c), 0) - 1;\\n f_64 += common2.getOrDefault(createTuple(b, c), 0) - 2;\\n f_61 += tri[xb] - 1 + tri[xc] - 1;\\n f_60 += common2.getOrDefault(createTuple(a, b), 0) - 1;\\n f_60 += common2.getOrDefault(createTuple(a, c), 0) - 1;\\n f_55 += tri[xa] - 2;\\n f_48 += deg[b] - 2 + deg[c] - 2;\\n f_42 += deg[x] - 3;\\n f_41 += deg[a] - 3;\\n }\\n }\\n\\n // x = orbit-12 (diamond)\\n for (int nx2 = nx1 + 1; nx2 < deg[x]; nx2++) {\\n int b = inc[x][nx2]._1, xb = inc[x][nx2]._2;\\n if (!adjacent(adj[a], b)) continue;\\n for (int na = 0; na < deg[a]; na++) {\\n int c = inc[a][na]._1, ac = inc[a][na]._2;\\n if (c == x || adjacent(adj[x], c) || !adjacent(adj[b], c)) continue;\\n orbit[x][12]++;\\n f_65 += (tri[ac] > 1) ? common3.getOrDefault(createTuple(a, b, c), 0) : 0;\\n f_63 += common_x[c] - 2;\\n f_59 += tri[ac] - 1 + common2.getOrDefault(createTuple(b, c), 0) - 1;\\n f_54 += common2.getOrDefault(createTuple(a, b), 0) - 2;\\n f_47 += deg[x] - 2;\\n f_46 += deg[c] - 2;\\n f_40 += deg[a] - 3 + deg[b] - 3;\\n }\\n }\\n\\n // x = orbit-8 (cycle)\\n for (int nx2 = nx1 + 1; nx2 < deg[x]; nx2++) {\\n int b = inc[x][nx2]._1, xb = inc[x][nx2]._2;\\n if (adjacent(adj[a], b)) continue;\\n for (int na = 0; na < deg[a]; na++) {\\n int c = inc[a][na]._1, ac = inc[a][na]._2;\\n if (c == x || adjacent(adj[x], c) || !adjacent(adj[b], c)) continue;\\n orbit[x][8]++;\\n f_62 += (tri[ac] > 0) ? common3.getOrDefault(createTuple(a, b, c), 0) : 0;\\n f_53 += tri[xa] + tri[xb];\\n f_51 += tri[ac] + common2.getOrDefault(createTuple(c, b), 0);\\n f_50 += common_x[c] - 2;\\n f_49 += common_a[b] - 2;\\n f_38 += deg[x] - 2;\\n f_37 += deg[a] - 2 + deg[b] - 2;\\n f_36 += deg[c] - 2;\\n }\\n }\\n\\n // x = orbit-11 (paw)\\n for (int nx2 = nx1 + 1; nx2 < deg[x]; nx2++) {\\n int b = inc[x][nx2]._1, xb = inc[x][nx2]._2;\\n if (!adjacent(adj[a], b)) continue;\\n for (int nx3 = 0; nx3 < deg[x]; nx3++) {\\n int c = inc[x][nx3]._1, xc = inc[x][nx3]._2;\\n if (c == a || c == b || adjacent(adj[a], c) || adjacent(adj[b], c)) continue;\\n orbit[x][11]++;\\n f_44 += tri[xc];\\n f_33 += deg[x] - 3;\\n f_30 += deg[c] - 1;\\n f_26 += deg[a] - 2 + deg[b] - 2;\\n }\\n }\\n\\n // x = orbit-10 (paw)\\n for (int nx2 = 0; nx2 < deg[x]; nx2++) {\\n int b = inc[x][nx2]._1, xb = inc[x][nx2]._2;\\n if (!adjacent(adj[a], b)) continue;\\n for (int nb = 0; nb < deg[b]; nb++) {\\n int c = inc[b][nb]._1, bc = inc[b][nb]._2;\\n if (c == x || c == a || adjacent(adj[a], c) || adjacent(adj[x], c)) continue;\\n orbit[x][10]++;\\n f_52 += common_a[c] - 1;\\n f_43 += tri[bc];\\n f_32 += deg[b] - 3;\\n f_29 += deg[c] - 1;\\n f_25 += deg[a] - 2;\\n }\\n }\\n\\n // x = orbit-9 (paw)\\n for (int na1 = 0; na1 < deg[a]; na1++) {\\n int b = inc[a][na1]._1, ab = inc[a][na1]._2;\\n if (b == x || adjacent(adj[x], b)) continue;\\n for (int na2 = na1 + 1; na2 < deg[a]; na2++) {\\n int c = inc[a][na2]._1, ac = inc[a][na2]._2;\\n if (c == x || !adjacent(adj[b], c) || adjacent(adj[x], c)) continue;\\n orbit[x][9]++;\\n f_56 += (tri[ab] > 1 && tri[ac] > 1) ? common3.getOrDefault(createTuple(a, b, c), 0) : 0;\\n f_45 += common2.getOrDefault(createTuple(b, c), 0) - 1;\\n f_39 += tri[ab] - 1 + tri[ac] - 1;\\n f_31 += deg[a] - 3;\\n f_28 += deg[x] - 1;\\n f_24 += deg[b] - 2 + deg[c] - 2;\\n }\\n }\\n\\n // x = orbit-4 (path)\\n for (int na = 0; na < deg[a]; na++) {\\n int b = inc[a][na]._1, ab = inc[a][na]._2;\\n if (b == x || adjacent(adj[x], b)) continue;\\n for (int nb = 0; nb < deg[b]; nb++) {\\n int c = inc[b][nb]._1, bc = inc[b][nb]._2;\\n if (c == a || adjacent(adj[a], c) || adjacent(adj[x], c)) continue;\\n orbit[x][4]++;\\n f_35 += common_a[c] - 1;\\n f_34 += common_x[c];\\n f_27 += tri[bc];\\n f_18 += deg[b] - 2;\\n f_16 += deg[x] - 1;\\n f_15 += deg[c] - 1;\\n }\\n }\\n\\n // x = orbit-5 (path)\\n for (int nx2 = 0; nx2 < deg[x]; nx2++) {\\n int b = inc[x][nx2]._1, xb = inc[x][nx2]._2;\\n if (b == a || adjacent(adj[a], b)) continue;\\n for (int nb = 0; nb < deg[b]; nb++) {\\n int c = inc[b][nb]._1, bc = inc[b][nb]._2;\\n if (c == x || adjacent(adj[a], c) || adjacent(adj[x], c)) continue;\\n orbit[x][5]++;\\n f_17 += deg[a] - 1;\\n }\\n }\\n\\n // x = orbit-6 (claw)\\n for (int na1 = 0; na1 < deg[a]; na1++) {\\n int b = inc[a][na1]._1, ab = inc[a][na1]._2;\\n if (b == x || adjacent(adj[x], b)) continue;\\n for (int na2 = na1 + 1; na2 < deg[a]; na2++) {\\n int c = inc[a][na2]._1, ac = inc[a][na2]._2;\\n if (c == x || adjacent(adj[x], c) || adjacent(adj[b], c)) continue;\\n orbit[x][6]++;\\n f_22 += deg[a] - 3;\\n f_20 += deg[x] - 1;\\n f_19 += deg[b] - 1 + deg[c] - 1;\\n }\\n }\\n\\n // x = orbit-7 (claw)\\n for (int nx2 = nx1 + 1; nx2 < deg[x]; nx2++) {\\n int b = inc[x][nx2]._1, xb = inc[x][nx2]._2;\\n if (adjacent(adj[a], b)) continue;\\n for (int nx3 = nx2 + 1; nx3 < deg[x]; nx3++) {\\n int c = inc[x][nx3]._1, xc = inc[x][nx3]._2;\\n if (adjacent(adj[a], c) || adjacent(adj[b], c)) continue;\\n orbit[x][7]++;\\n f_23 += deg[x] - 3;\\n f_21 += deg[a] - 1 + deg[b] - 1 + deg[c] - 1;\\n }\\n }\\n }\\n\\n // solve equations\\n orbit[x][72] = C5[x];\\n orbit[x][71] = (f_71 - 12 * orbit[x][72]) / 2;\\n orbit[x][70] = (f_70 - 4 * orbit[x][72]);\\n orbit[x][69] = (f_69 - 2 * orbit[x][71]) / 4;\\n orbit[x][68] = (f_68 - 2 * orbit[x][71]);\\n orbit[x][67] = (f_67 - 12 * orbit[x][72] - 4 * orbit[x][71]);\\n orbit[x][66] = (f_66 - 12 * orbit[x][72] - 2 * orbit[x][71] - 3 * orbit[x][70]);\\n orbit[x][65] = (f_65 - 3 * orbit[x][70]) / 2;\\n orbit[x][64] = (f_64 - 2 * orbit[x][71] - 4 * orbit[x][69] - 1 * orbit[x][68]);\\n orbit[x][63] = (f_63 - 3 * orbit[x][70] - 2 * orbit[x][68]);\\n orbit[x][62] = (f_62 - 1 * orbit[x][68]) / 2;\\n orbit[x][61] = (f_61 - 4 * orbit[x][71] - 8 * orbit[x][69] - 2 * orbit[x][67]) / 2;\\n orbit[x][60] = (f_60 - 4 * orbit[x][71] - 2 * orbit[x][68] - 2 * orbit[x][67]);\\n orbit[x][59] = (f_59 - 6 * orbit[x][70] - 2 * orbit[x][68] - 4 * orbit[x][65]);\\n orbit[x][58] = (f_58 - 4 * orbit[x][72] - 2 * orbit[x][71] - 1 * orbit[x][67]);\\n orbit[x][57] = (f_57 - 12 * orbit[x][72] - 4 * orbit[x][71] - 3 * orbit[x][70] - 1 * orbit[x][67] - 2 * orbit[x][66]);\\n orbit[x][56] = (f_56 - 2 * orbit[x][65]) / 3;\\n orbit[x][55] = (f_55 - 2 * orbit[x][71] - 2 * orbit[x][67]) / 3;\\n orbit[x][54] = (f_54 - 3 * orbit[x][70] - 1 * orbit[x][66] - 2 * orbit[x][65]) / 2;\\n orbit[x][53] = (f_53 - 2 * orbit[x][68] - 2 * orbit[x][64] - 2 * orbit[x][63]);\\n orbit[x][52] = (f_52 - 2 * orbit[x][66] - 2 * orbit[x][64] - 1 * orbit[x][59]) / 2;\\n orbit[x][51] = (f_51 - 2 * orbit[x][68] - 2 * orbit[x][63] - 4 * orbit[x][62]);\\n orbit[x][50] = (f_50 - 1 * orbit[x][68] - 2 * orbit[x][63]) / 3;\\n orbit[x][49] = (f_49 - 1 * orbit[x][68] - 1 * orbit[x][64] - 2 * orbit[x][62]) / 2;\\n orbit[x][48] = (f_48 - 4 * orbit[x][71] - 8 * orbit[x][69] - 2 * orbit[x][68] - 2 * orbit[x][67] - 2 * orbit[x][64] - 2 * orbit[x][61] - 1 * orbit[x][60]);\\n orbit[x][47] = (f_47 - 3 * orbit[x][70] - 2 * orbit[x][68] - 1 * orbit[x][66] - 1 * orbit[x][63] - 1 * orbit[x][60]);\\n orbit[x][46] = (f_46 - 3 * orbit[x][70] - 2 * orbit[x][68] - 2 * orbit[x][65] - 1 * orbit[x][63] - 1 * orbit[x][59]);\\n orbit[x][45] = (f_45 - 2 * orbit[x][65] - 2 * orbit[x][62] - 3 * orbit[x][56]);\\n orbit[x][44] = (f_44 - 1 * orbit[x][67] - 2 * orbit[x][61]) / 4;\\n orbit[x][43] = (f_43 - 2 * orbit[x][66] - 1 * orbit[x][60] - 1 * orbit[x][59]) / 2;\\n orbit[x][42] = (f_42 - 2 * orbit[x][71] - 4 * orbit[x][69] - 2 * orbit[x][67] - 2 * orbit[x][61] - 3 * orbit[x][55]);\\n orbit[x][41] = (f_41 - 2 * orbit[x][71] - 1 * orbit[x][68] - 2 * orbit[x][67] - 1 * orbit[x][60] - 3 * orbit[x][55]);\\n orbit[x][40] = (f_40 - 6 * orbit[x][70] - 2 * orbit[x][68] - 2 * orbit[x][66] - 4 * orbit[x][65] - 1 * orbit[x][60] - 1 * orbit[x][59] - 4 * orbit[x][54]);\\n orbit[x][39] = (f_39 - 4 * orbit[x][65] - 1 * orbit[x][59] - 6 * orbit[x][56]) / 2;\\n orbit[x][38] = (f_38 - 1 * orbit[x][68] - 1 * orbit[x][64] - 2 * orbit[x][63] - 1 * orbit[x][53] - 3 * orbit[x][50]);\\n orbit[x][37] = (f_37 - 2 * orbit[x][68] - 2 * orbit[x][64] - 2 * orbit[x][63] - 4 * orbit[x][62] - 1 * orbit[x][53] - 1 * orbit[x][51] - 4 * orbit[x][49]);\\n orbit[x][36] = (f_36 - 1 * orbit[x][68] - 2 * orbit[x][63] - 2 * orbit[x][62] - 1 * orbit[x][51] - 3 * orbit[x][50]);\\n orbit[x][35] = (f_35 - 1 * orbit[x][59] - 2 * orbit[x][52] - 2 * orbit[x][45]) / 2;\\n orbit[x][34] = (f_34 - 1 * orbit[x][59] - 2 * orbit[x][52] - 1 * orbit[x][51]) / 2;\\n orbit[x][33] = (f_33 - 1 * orbit[x][67] - 2 * orbit[x][61] - 3 * orbit[x][58] - 4 * orbit[x][44] - 2 * orbit[x][42]) / 2;\\n orbit[x][32] = (f_32 - 2 * orbit[x][66] - 1 * orbit[x][60] - 1 * orbit[x][59] - 2 * orbit[x][57] - 2 * orbit[x][43] - 2 * orbit[x][41] - 1 * orbit[x][40]) / 2;\\n orbit[x][31] = (f_31 - 2 * orbit[x][65] - 1 * orbit[x][59] - 3 * orbit[x][56] - 1 * orbit[x][43] - 2 * orbit[x][39]);\\n orbit[x][30] = (f_30 - 1 * orbit[x][67] - 1 * orbit[x][63] - 2 * orbit[x][61] - 1 * orbit[x][53] - 4 * orbit[x][44]);\\n orbit[x][29] = (f_29 - 2 * orbit[x][66] - 2 * orbit[x][64] - 1 * orbit[x][60] - 1 * orbit[x][59] - 1 * orbit[x][53] - 2 * orbit[x][52] - 2 * orbit[x][43]);\\n orbit[x][28] = (f_28 - 2 * orbit[x][65] - 2 * orbit[x][62] - 1 * orbit[x][59] - 1 * orbit[x][51] - 1 * orbit[x][43]);\\n orbit[x][27] = (f_27 - 1 * orbit[x][59] - 1 * orbit[x][51] - 2 * orbit[x][45]) / 2;\\n orbit[x][26] = (f_26 - 2 * orbit[x][67] - 2 * orbit[x][63] - 2 * orbit[x][61] - 6 * orbit[x][58] - 1 * orbit[x][53] - 2 * orbit[x][47] - 2 * orbit[x][42]);\\n orbit[x][25] = (f_25 - 2 * orbit[x][66] - 2 * orbit[x][64] - 1 * orbit[x][59] - 2 * orbit[x][57] - 2 * orbit[x][52] - 1 * orbit[x][48] - 1 * orbit[x][40]) / 2;\\n orbit[x][24] = (f_24 - 4 * orbit[x][65] - 4 * orbit[x][62] - 1 * orbit[x][59] - 6 * orbit[x][56] - 1 * orbit[x][51] - 2 * orbit[x][45] - 2 * orbit[x][39]);\\n orbit[x][23] = (f_23 - 1 * orbit[x][55] - 1 * orbit[x][42] - 2 * orbit[x][33]) / 4;\\n orbit[x][22] = (f_22 - 2 * orbit[x][54] - 1 * orbit[x][40] - 1 * orbit[x][39] - 1 * orbit[x][32] - 2 * orbit[x][31]) / 3;\\n orbit[x][21] = (f_21 - 3 * orbit[x][55] - 3 * orbit[x][50] - 2 * orbit[x][42] - 2 * orbit[x][38] - 2 * orbit[x][33]);\\n orbit[x][20] = (f_20 - 2 * orbit[x][54] - 2 * orbit[x][49] - 1 * orbit[x][40] - 1 * orbit[x][37] - 1 * orbit[x][32]);\\n orbit[x][19] = (f_19 - 4 * orbit[x][54] - 4 * orbit[x][49] - 1 * orbit[x][40] - 2 * orbit[x][39] - 1 * orbit[x][37] - 2 * orbit[x][35] - 2 * orbit[x][31]);\\n orbit[x][18] = (f_18 - 1 * orbit[x][59] - 1 * orbit[x][51] - 2 * orbit[x][46] - 2 * orbit[x][45] - 2 * orbit[x][36] - 2 * orbit[x][27] - 1 * orbit[x][24]) / 2;\\n orbit[x][17] = (f_17 - 1 * orbit[x][60] - 1 * orbit[x][53] - 1 * orbit[x][51] - 1 * orbit[x][48] - 1 * orbit[x][37] - 2 * orbit[x][34] - 2 * orbit[x][30]) / 2;\\n orbit[x][16] = (f_16 - 1 * orbit[x][59] - 2 * orbit[x][52] - 1 * orbit[x][51] - 2 * orbit[x][46] - 2 * orbit[x][36] - 2 * orbit[x][34] - 1 * orbit[x][29]);\\n orbit[x][15] = (f_15 - 1 * orbit[x][59] - 2 * orbit[x][52] - 1 * orbit[x][51] - 2 * orbit[x][45] - 2 * orbit[x][35] - 2 * orbit[x][34] - 2 * orbit[x][27]);\\n }\\n\\n return orbit;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"963731917722658ce8bd3f535dd33dbb\",\n \"score\": \"0.6594779\",\n \"text\": \"public int getNetSize() {\\n return graph.size();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af6f92cb83a864c4c36a7052c1564fb9\",\n \"score\": \"0.6591686\",\n \"text\": \"int nodeCount();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4d1ea32d59b713bc921b485a48e01b1a\",\n \"score\": \"0.65749335\",\n \"text\": \"int getTotalNumOfNodes() {\\n\\t\\treturn adjList.size();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"40c73bd0343d99908b4da737680f7d85\",\n \"score\": \"0.6573597\",\n \"text\": \"public int getFlowSize()\\n\\t{\\n\\t\\tint result = 0;\\n\\t\\t\\n\\t\\tfor(Edge e : this.source.getOutgoingEdges())\\n\\t\\t{\\n\\t\\t\\tresult += e.getFlow();\\n\\t\\t}\\n\\t\\t\\n\\t\\treturn result;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"730b3064c8425a6756cd342d39a77906\",\n \"score\": \"0.6546222\",\n \"text\": \"public Graph runNumberOfPathThroughAnyLink(AdjacencyMatrix m){\\r\\n\\t\\tGraph graph = new Graph(m);\\r\\n\\t\\treturn PathCount.getNumberOfPathThroughAnyLink(graph);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"97a555071d37a17d55d25b0e678e1081\",\n \"score\": \"0.65184575\",\n \"text\": \"public int size(){\\n\\t\\tNode current = top;\\n\\t\\tint size = 0;\\n\\t\\t\\n\\t\\twhile(current != null){\\n\\t\\t\\tcurrent = current.next;\\n\\t\\t\\tsize++;\\n\\t\\t}\\n\\t\\t\\n\\t\\treturn size;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8528e636f16fda77f41e5af9fb5556c4\",\n \"score\": \"0.65180916\",\n \"text\": \"public int inDegree(N v) {\\n return getInEdges(v).size();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f46362a1df98b0c913569eb45ad7473\",\n \"score\": \"0.6476052\",\n \"text\": \"private int getNumberOfNeighborConnections(Entity node)\\r\\n\\t{\\r\\n\\r\\n\\t\\t// The directed graph is treated as a undirected graph to compute these\\r\\n\\t\\t// parameters.\\r\\n\\t\\t// UndirectedGraph undirectedGraph = new\\r\\n\\t\\t// AsUndirectedGraph(directedGraph);\\r\\n\\r\\n\\t\\tint numberOfConnections = 0;\\r\\n\\r\\n\\t\\t// get the set of neighbors\\r\\n\\t\\tSet neighbors = getNeighbors(node);\\r\\n\\r\\n\\t\\tif (neighbors.size() > 0) {\\r\\n\\t\\t\\t// for each pair of neighbors, test if there is a connection\\r\\n\\t\\t\\tObject[] nodeArray = neighbors.toArray();\\r\\n\\t\\t\\t// sort the Array so we can use a simple iteration with two for\\r\\n\\t\\t\\t// loops to access all pairs\\r\\n\\t\\t\\tArrays.sort(nodeArray);\\r\\n\\r\\n\\t\\t\\tfor (int i = 0; i < neighbors.size(); i++) {\\r\\n\\t\\t\\t\\tEntity outerNode = (Entity) nodeArray[i];\\r\\n\\t\\t\\t\\tfor (int j = i + 1; j < neighbors.size(); j++) {\\r\\n\\t\\t\\t\\t\\tEntity innerNode = (Entity) nodeArray[j];\\r\\n\\t\\t\\t\\t\\t// in case of a connection increase connection counter\\r\\n\\t\\t\\t\\t\\t// order of the nodes doesn't matter for undirected graphs\\r\\n\\r\\n\\t\\t\\t\\t\\t// check if the neighbors are connected:\\r\\n\\t\\t\\t\\t\\tif (containsEdge(innerNode, outerNode)\\r\\n\\t\\t\\t\\t\\t\\t\\t|| containsEdge(outerNode, innerNode)) {\\r\\n\\t\\t\\t\\t\\t\\t// logger.info(\\\"There is a connection between the neighbors\\\");\\r\\n\\t\\t\\t\\t\\t\\tnumberOfConnections++;\\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\\t// logger.info(neighbors.size() + \\\" - \\\" + numberOfConnections);\\r\\n\\r\\n\\t\\treturn numberOfConnections;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c720b8373f509aa5a00df209787eeba8\",\n \"score\": \"0.64601934\",\n \"text\": \"public int countNodes() {\\n int leftCount = left == null ? 0 : left.countNodes();\\n int rightCount = right == null ? 0 : right.countNodes();\\n return 1 + leftCount + rightCount;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"510f565d22836ac8a481448403423214\",\n \"score\": \"0.6454934\",\n \"text\": \"public int Sizeofnetwork() {\\n\\t\\treturn Nodeswithconnect.size();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"234a67bf0fbf32a3035e9002b2fc6312\",\n \"score\": \"0.64535284\",\n \"text\": \"public Graph runNumberOfPathThroughAnyNode(AdjacencyMatrix m){\\r\\n\\t\\tGraph graph = new Graph(m);\\r\\n\\t\\treturn PathCount.getNumberOfPathThroughAnyNode(graph);\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"18b3d35bc8c22b64f20e1a7a228d67e0\",\n \"score\": \"0.6448266\",\n \"text\": \"public int nodeCount(){\\r\\n\\t\\treturn size;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c86a0b7a1827af1f6e00d9278f2c0a79\",\n \"score\": \"0.644088\",\n \"text\": \"public int getDegree(){\\n\\t\\treturn neighbours.size();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8d54776a6896ea5815cdbf77de4337e0\",\n \"score\": \"0.64353037\",\n \"text\": \"public int localEdgeNum() {\\r\\n return localEdgeCount;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dfdb0f7142273c6423b2b6db37329497\",\n \"score\": \"0.64258665\",\n \"text\": \"public int length()\\n {\\n int count = 0;\\n Node position = head;\\n\\n while(position != null)\\n {\\n count++;\\n position = position.nLink;\\n } // end while\\n\\n return count;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d2fdf4a20bf74d66e68d440fea181585\",\n \"score\": \"0.64178395\",\n \"text\": \"public int getOriginalEdgeCount() {\\r\\n return originalEdgeCount;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"572e835a1627c274345cefc1f752c8c3\",\n \"score\": \"0.6386158\",\n \"text\": \"public int m(){\\n int m = 0;\\n // looping through adj matrix to check if edge.\\n // increments counter if so.\\n for (int i = 0; i < n; i++){\\n for (int j = 0; j < n; j++){\\n if (edges[i][j] > 0){\\n m++;\\n }\\n }\\n }\\n return m / 2;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2cd05bccbabb4f960c76b044a1d2531\",\n \"score\": \"0.6383283\",\n \"text\": \"private int createEdges() {\\n\\t\\t// Use random numbers to generate random number of edges for each vertex\\n\\t\\tint avgNumEdgesPerVertex = this.desiredTotalEdges / this.vertices.size();\\n\\t\\tint countSuccessfulEdges = 0;\\n\\t\\t// In order to determine the number of edges to create for each vertex\\n\\t\\t// get a random number between 0 and 2 times the avgNumEdgesPerVertex\\n\\t\\t// then add neighbors (edges are represented by the number of neighbors each\\n\\t\\t// vertex has)\\n\\t\\tfor (int i = 0; i < this.vertices.size(); i++) {\\n\\t\\t\\tfor (int j = 0; j <= (this.randomGen(avgNumEdgesPerVertex * 50) + 1); j++) {\\n\\t\\t\\t\\t// select a random vertex from this.vertices (vertex list) and add as neighbor\\n\\t\\t\\t\\t// ensure we don't add a vertex as a neighbor of itself\\n\\t\\t\\t\\tint neighbor = this.randomGen(this.vertices.size());\\n\\t\\t\\t\\tif (neighbor != i)\\n\\t\\t\\t\\t\\tif (this.vertices.get(i).addNeighbor(this.vertices.get(neighbor))) {\\n\\t\\t\\t\\t\\t\\tthis.vertices.get(neighbor).addNeighbor(this.vertices.get(i));\\n\\t\\t\\t\\t\\t\\tcountSuccessfulEdges++;\\n\\t\\t\\t\\t\\t}\\n\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn countSuccessfulEdges;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f5090d2e83d9bc4806fabc06fb7005eb\",\n \"score\": \"0.6377819\",\n \"text\": \"public int size()\\n {\\n \\tDNode temp=first;\\n \\tint count=0;\\n \\twhile(temp!=null)\\t\\t//Iterating till the end of the list\\n \\t{\\n \\t\\tcount++;\\n \\t\\ttemp=temp.next;\\n \\t}\\n \\treturn count;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2f089017249b440e3ddc2473bd9b27f\",\n \"score\": \"0.6376546\",\n \"text\": \"public int size() {\\n\\r\\n int size = 0;\\r\\n for(Node n = head; n.getNext() != null; n = n.getNext()) {\\r\\n size++;\\r\\n }\\r\\n\\r\\n return size;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d9bd2252572f03ee57ec2e5ac056ce15\",\n \"score\": \"0.6375654\",\n \"text\": \"public int countNodes() {\\n\\t\\t\\n\\t\\tif(isEmpty()==false){\\n\\t\\t\\tint count =1;\\n\\t\\t\\tDoubleNode temp=head;\\n\\t\\t\\twhile(temp.getNext()!=null){\\n\\t\\t\\t\\tcount++;\\n\\t\\t\\t\\ttemp=temp.getNext();\\n\\t\\t}\\n\\t\\treturn count;\\n\\t\\t}\\n\\t\\telse{\\n\\t\\t\\treturn 0;\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"81985798a89a6979c93d7885ae1127f5\",\n \"score\": \"0.6373453\",\n \"text\": \"public int numofConnections() {\\n\\t\\tint numberofconnection = 0;\\n\\t\\tString node;\\n\\t\\tfor (String key : Nodeswithconnect.keySet()) {\\n\\t\\t\\tfor (int i = 0; i < Nodeswithconnect.get(key).length; i++) {\\n\\t\\t\\t\\tnode = Nodeswithconnect.get(key)[i];\\n\\t\\t\\t\\tif (!node.equals(\\\"null\\\")) {\\n\\t\\t\\t\\t\\tnumberofconnection++;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn numberofconnection;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3fb66ec9fb95d0db4255c313813308f5\",\n \"score\": \"0.6372054\",\n \"text\": \"@Override\\n public int size()\\n {\\n int numLinks = 0;\\n Node currNode = this.head.next; \\n while(currNode.next != null)\\n {\\n numLinks++;\\n currNode = currNode.next;\\n }\\n return numLinks;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"462670a6e4136ea7a39857ba7929e766\",\n \"score\": \"0.6368483\",\n \"text\": \"public abstract int getVertexCount();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"823cb5fce9547f63cc26ce7bb19b91ec\",\n \"score\": \"0.63675547\",\n \"text\": \"@Override\\r\\n\\tpublic int getNumberOfNodes() {\\r\\n\\t\\tint contador = 0;// Contador para el recursivo\\r\\n\\t\\treturn getNumberOfNodesRec(contador, raiz);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fd73308688c219bb2822ea8eca9127e3\",\n \"score\": \"0.6361377\",\n \"text\": \"public int countNodes(){\\r\\n \\treturn count(root);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6589308f89d59fbb7c03313a31362625\",\n \"score\": \"0.6355168\",\n \"text\": \"public int size() {\\n\\t\\t\\n\\t\\tint count = 0;\\n\\t\\t\\n\\t\\t// Iterate through list and increment count until pointer cycles back to head (tail.next)\\n\\t\\tfor (Node curr = head; curr == tail.next; curr = curr.next) {\\n\\t\\t\\tcount++;\\n\\t\\t}\\n\\t\\t\\n\\t\\treturn count;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e26184c7b5233597480f569e9d8f375\",\n \"score\": \"0.63401544\",\n \"text\": \"public int getVertexSize() {\\n\\t\\treturn graph.vertexSet().size();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6fcaef44a4f1d842fbf7c7efbdea4bc6\",\n \"score\": \"0.63360983\",\n \"text\": \"public int nodesCount() {\\n return nodes.size();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e118c7bf7468bcb74fe419cc3c42b494\",\n \"score\": \"0.6332007\",\n \"text\": \"public int countComponentsDFS(int n, int[][] edges) {\\n\\t List[] list = new List[n];\\n\\t int[] visited = new int[n];\\n\\t \\n\\t for(int i = 0; i< n; i++){\\n\\t list[i] = new ArrayList();\\n\\t }\\n\\t //initial edges for each vertex, for example edges[0] ={1,2}\\n\\t //means vertex 1 and vertex 2 are connected;\\n\\t for(int i = 0; i env, String... scriptFileNames) {\n int count = 0;\n if (runtime != null)\n runtime.reset();\n Map newEnv = (env == null ? new HashMap()\n : new HashMap(env));\n Throwable caught = null;\n for (String scriptFile : scriptFileNames) {\n try {\n count++;\n UnRAVLRuntime rt = runtime == null ? new UnRAVLRuntime(newEnv)\n : runtime;\n System.out.println(\"Run UnRAVL script \" + scriptFile);\n rt.execute(scriptFile);\n for (ApiCall call : rt.getApiCalls()) {\n if (call.getFailedAssertions().size() > 0) {\n printFailedAssertions(call);\n throw new AssertionError(\"script \" + scriptFile\n + \" should have had 0 assertion failures.\");\n }\n }\n } catch (Throwable t) {\n logger.error(t.getMessage());\n caught = t;\n }\n }\n if (caught != null) {\n caught.printStackTrace(System.err);\n throw new AssertionError(caught.getMessage());\n }\n return count;\n }","title":""}],"string":"[\n {\n \"docid\": \"00d624d9e57f8dc7d01359ef0900f8f4\",\n \"score\": \"0.0\",\n \"text\": \"private static int runScriptFiles(UnRAVLRuntime runtime,\\n Map env, String... scriptFileNames) {\\n int count = 0;\\n if (runtime != null)\\n runtime.reset();\\n Map newEnv = (env == null ? new HashMap()\\n : new HashMap(env));\\n Throwable caught = null;\\n for (String scriptFile : scriptFileNames) {\\n try {\\n count++;\\n UnRAVLRuntime rt = runtime == null ? new UnRAVLRuntime(newEnv)\\n : runtime;\\n System.out.println(\\\"Run UnRAVL script \\\" + scriptFile);\\n rt.execute(scriptFile);\\n for (ApiCall call : rt.getApiCalls()) {\\n if (call.getFailedAssertions().size() > 0) {\\n printFailedAssertions(call);\\n throw new AssertionError(\\\"script \\\" + scriptFile\\n + \\\" should have had 0 assertion failures.\\\");\\n }\\n }\\n } catch (Throwable t) {\\n logger.error(t.getMessage());\\n caught = t;\\n }\\n }\\n if (caught != null) {\\n caught.printStackTrace(System.err);\\n throw new AssertionError(caught.getMessage());\\n }\\n return count;\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"a8fd60294aed9f53867356a8f5425d97","score":"0.6740347","text":"public void processArgs(String[] args) throws IOException{\n\t\tPattern pat = Pattern.compile(\"-[a-z]\");\n\t\tSystem.out.println(\"\\n\"+IO.fetchUSeqVersion()+\" Arguments: \"+Misc.stringArrayToString(args, \" \")+\"\\n\");\n\t\tfor (int i = 0; i 0 ) {\n rtbuf.append( \"|\" );\n }\n rtbuf.append( resourceTypes[ ir ].getName().toLowerCase() );\n }\n String usage = new StringBuffer()\n .append( \"\\n Usage:\" )\n .append( \"\\n \" + SampLoad.class.getName() )\n .append( \"\\n \" )\n .append( \" [-help]\" )\n .append( \" [-/+verbose]\" )\n .append( \"\\n \" )\n .append( \" [-rtype \" + rtbuf + \"]\" )\n .append( \" \" )\n .append( \"\\n\" )\n .toString();\n\n // Set up variables which can be set or changed by the argument list.\n ResourceType rtype = null;\n String location = null;\n int verbAdjust = 0;\n\n // Parse the argument list.\n List argList = new ArrayList( Arrays.asList( args ) );\n for ( Iterator it = argList.iterator(); it.hasNext(); ) {\n String arg = (String) it.next();\n if ( arg.equals( \"-rtype\" ) && rtype == null && it.hasNext() ) {\n it.remove();\n String rtName = (String) it.next();\n it.remove();\n for ( int ir = 0; ir < resourceTypes.length; ir++ ) {\n ResourceType rt = resourceTypes[ ir ];\n if ( rtName.equalsIgnoreCase( rt.getName() ) ) {\n rtype = rt;\n }\n }\n if ( rtype == null ) {\n System.err.println( usage );\n return 1;\n }\n }\n else if ( arg.startsWith( \"-verb\" ) ) {\n it.remove();\n verbAdjust--;\n }\n else if ( arg.startsWith( \"+verb\" ) ) {\n it.remove();\n verbAdjust++;\n }\n else if ( arg.equals( \"-help\" ) ) {\n it.remove();\n System.out.println( usage );\n return 0;\n }\n else if ( arg.startsWith( \"-\" ) || arg.startsWith( \"+\" ) ) {\n System.err.println( usage );\n return 1;\n }\n else if ( location == null ) {\n it.remove();\n location = arg;\n }\n else {\n System.err.println( usage );\n return 1;\n }\n }\n if ( location == null ) {\n System.err.println( usage );\n return 1;\n }\n\n // Set logging levels in accordance with flags.\n int logLevel = Level.WARNING.intValue() + 100 * verbAdjust;\n Logger.getLogger( \"org.astrogrid.samp\" )\n .setLevel( Level.parse( Integer.toString( logLevel ) ) );\n\n // Interpret location.\n final URL url;\n if ( location == null ) {\n System.err.println( usage );\n return 1;\n }\n else {\n url = getUrl( location );\n }\n if ( url == null ) {\n logger_.warning( \"Bad location: \" + location );\n }\n\n // Make sure we have a resource type. This may have been supplied\n // on the command line, but if not, try to identify it by retrieving\n // the metadata or content of the resource itself.\n if ( url != null ) {\n if ( rtype == null ) {\n rtype = ResourceType.readHeadResourceType( url );\n }\n if ( rtype == null ) {\n rtype = ResourceType.readContentResourceType( url );\n }\n if ( rtype == null ) {\n logger_.warning( \"Unknown resource type: \" + url );\n }\n }\n\n // Prepare client metadata.\n Metadata meta = new Metadata();\n meta.setName( \"SampLoad\" );\n try {\n meta.setIconUrl( UtilServer.getInstance()\n .exportResource( ICON_URL ).toString() );\n }\n catch ( Exception e ) {\n logger_.log( Level.WARNING, \"Can't export application icon\", e );\n }\n meta.setDescriptionText( new StringBuffer()\n .append( \"Browser helper application to forward downloaded files\" )\n .append( \" (\" + rtype + \") \" )\n .append( \"to SAMP Hub\" )\n .toString() );\n meta.put( \"author.name\", \"Mark Taylor\" );\n\n // Prepare hub registration.\n ClientProfile profile = DefaultClientProfile.getProfile();\n GuiHubConnector connector = new GuiHubConnector( profile );\n connector.declareMetadata( meta );\n connector.declareSubscriptions( connector.computeSubscriptions() );\n connector.setActive( rtype != null );\n\n // Send message under GUI control.\n SampLoad dialog = new SampLoad( connector, rtype, url, location );\n dialog.pack();\n dialog.setLocationRelativeTo( null );\n dialog.setVisible( true );\n\n connector.setActive( false );\n return 0;\n }","title":""},{"docid":"7e9052c4aba44d0353407c43f17a36a2","score":"0.64280045","text":"private void decodeCommandLine(String[] args) {\n // loop over all args\n for (int i = 0; i < args.length; i++) {\n\n if (args[i].equalsIgnoreCase(\"-h\")) {\n usage();\n System.exit(-1);\n }\n else if (args[i].equalsIgnoreCase(\"-u\")) {\n UDL = args[i + 1];\n i++;\n }\n else if (args[i].equalsIgnoreCase(\"-debug\")) {\n debug = true;\n }\n else {\n usage();\n System.exit(-1);\n }\n }\n\n return;\n }","title":""},{"docid":"6a3695ff15077e77c286b04ceccabdee","score":"0.6398627","text":"public void processInput(String[] args)\n\t{\n\t\tSIT.notifyUser(\"Verifing Files...\");\n\t\t//If no arguments specified, process all files with known extensions\n\t\t//in the current directory\n\t\tif (args.length == 0) \n\t\t{\n\t\t\taddFiles(getAllFilesInDirectory(System.getProperty(\"user.dir\")));\n\t\t}\n\t\t//If one argument is specified, and it is a language tag,\n\t\t//process all files of that type in the current folder\n\t\telse if(args.length == 1)\n\t\t{\n\t\t\tswitch (args[0]) \n\t\t\t{\n\t\t\t\t//If the tag is not recognized, the program exits with a warning\n\t\t\t\tcase \"-j\":\n\t\t\t\t\taddJavaFilesInDirectory(System.getProperty(\"user.dir\"));\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-a\":\n\t\t\t\t\taddAdaFilesInDirectory(System.getProperty(\"user.dir\"));\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-c\":\n\t\t\t\t\taddCppFilesInDirectory(System.getProperty(\"user.dir\"));\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-r\":\n\t\t\t\t\taddFiles(getAllFilesInDirectoryAndSubDirectories(System.getProperty(\"user.dir\")));\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-all\":\n\t\t\t\t\taddFiles(getAllFilesInDirectory(System.getProperty(\"user.dir\")));\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-help\":\n\t\t\t\tcase \"?\":\n\t\t\t\t\tSIT.displayHelp();\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tif(args[0].startsWith(\"-\"))\n\t\t\t\t\t{\n\t\t\t\t\t\tSIT.notifyUser(\"Error: unrecognized command: '\" + args[0] + \"'. Type -help for a list of valid commands.\");\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tSIT.notifyUser(\"Error: At least one language must be specified. Type -help for a list of valid commands.\");\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tSystem.exit(0);\n\t\t\t}//end switch\n\t\t}\n\t\t//If more than one argument is specified\n\t\telse\n\t\t{\n\t\t\tif( !(args[0].trim().startsWith(\"-\")))\n\t\t\t{\n\t\t\t\tSIT.notifyUser(\"Error: At least one language must be specified. Type -help for a list of valid commands.\");\n\t\t\t}\n\t\t\t\n\t\t\t//iterate through tag arguments and record which languages\n\t\t\t//the user wants to analyze for\n\t\t\tboolean tagZone = true;\n\t\t\tint nonTagsStart = 0;\n\t\t\tfor (int i = 0; i < args.length && tagZone; i++) \n\t\t\t{\n\t\t\t\tswitch (args[i]) \n\t\t\t\t{\n\t\t\t\t\t//By default, searches the current directory\n\t\t\t\t\tcase \"-j\":\n\t\t\t\t\t\tuJava = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"-a\":\n\t\t\t\t\t\tuAda = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"-c\":\n\t\t\t\t\t\tuCPP = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"-all\":\n\t\t\t\t\t\tuJava = true;\n\t\t\t\t\t\tuAda = true;\n\t\t\t\t\t\tuCPP = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"-help\":\n\t\t\t\t\tcase \"?\":\n\t\t\t\t\t\tSIT.displayHelp();\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tdefault:\n\t\t\t\t\t\ttagZone = false;\n\t\t\t\t\t\tnonTagsStart = i;\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t//add explicit file or directory names to fileList, if the user supplied them\n\t\t\tif (!tagZone) \n\t\t\t{\n\t\t\t\tboolean nameFragment = false;\t//Flag for whether the current argument is part of a file or \n\t\t\t\t\t\t\t\t\t\t\t\t//dir name (one that contains whitespace)\n\t\t\t\tboolean hasTag = false;\t\t//Flag for whether the next argument is a modifying tag for the\n\t\t\t\t\t\t\t\t\t\t\t//current file or directory\n\t\t\t\tFile f = new File(\"\");\n\t\t\t\t\n\t\t\t\t//This starts after the tags are processed\n\t\t\t\tfor (int i = nonTagsStart; i < args.length; i++) \n\t\t\t\t{\n\t\t\t\t\t\n\t\t\t\t\t//If the previous run of the loop detected that this argument was a tag,\n\t\t\t\t\t//Move right to the next argument\n\t\t\t\t\tif(hasTag)\n\t\t\t\t\t{\n\t\t\t\t\t\thasTag = false;\n\t\t\t\t\t\tnameFragment = false;\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t//If the current argument is part of a file or dir name,\n\t\t\t\t\t//add the word to the rest of the file name, and skip the rest of the for loop\n\t\t\t\t\t//Else if the flag is set to false, then add the previous filename to the input and\n\t\t\t\t\t//process the current argument\n\t\t\t\t\t//Then proceed as normal\n\t\t\t\t\tif(nameFragment)\t\n\t\t\t\t\t{\n\t\t\t\t\t\tFile temp = new File(args[i]);\n\t\t\t\t\t\t//If temp is a file or directory on its own, then f is not an existing path\n\t\t\t\t\t\t//so display an error and terminate the program\n\t\t\t\t\t\tif(temp.isFile() || temp.isDirectory())\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tSIT.notifyUser(\"Error: Invalid path: \" + f.getAbsolutePath());\n\t\t\t\t\t\t\t\tSystem.exit(0);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t//if temp was not a file/dir on its own, concatenate the current argument to f\n\t\t\t\t\t\telse\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t//nameFragment remains true\n\t\t\t\t\t\t\tf = new File(f.getAbsolutePath() + \" \" + args[i]);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t//If the newly-concatenated f is a file or directory,\n\t\t\t\t\t\t//add it to the input and set the nameFragment flag to false\n\t\t\t\t\t\t//If f is not a file or directory, and there are no more args to concatenate to f, then the path is invalid\n\t\t\t\t\t\tif(f.isFile() || f.isDirectory()) \n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttry\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\thasTag = verifyUserInputFileType(f.getAbsolutePath(), args[i + 1]);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcatch(ArrayIndexOutOfBoundsException ar)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\thasTag = verifyUserInputFileType(f.getAbsolutePath(), \" \");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tnameFragment = false;\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(i == args.length - 1)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tSIT.notifyUser(\"Error: Invalid path: \" + f.getAbsolutePath());\n\t\t\t\t\t\t\tSystem.exit(0);\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\t//Process only the current argument\n\t\t\t\t\t\tf = new File(args[i]);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t//If f is a file or directory, then add it to the input and set the nameFragment flag to false\n\t\t\t\t\t//TODO: This if statement always returns false on the first loop\n\t\t\t\t\tif (f.isFile() || f.isDirectory()) \n\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\thasTag = verifyUserInputFileType(f.getAbsolutePath(), args[i + 1]);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcatch(ArrayIndexOutOfBoundsException ar)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\thasTag = verifyUserInputFileType(f.getAbsolutePath(), \" \");\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tnameFragment = false;\n\t\t\t\t\t} \n\t\t\t\t\telse \n\t\t\t\t\t{\n\t\t\t\t\t\tnameFragment = true;\n\t\t\t\t\t}//end if\n\t\t\t\t}//end for\n\t\t\t\t\n\t\t\t\t//If the user declared a language tag but did not supply any files for this tag,\n\t\t\t\t//then the tag will pull all of that language from the current directory\n\t\t\t\tif(uJava && javaFiles.size() == 0)\n\t\t\t\t{\n\t\t\t\t\taddJavaFilesInDirectory(System.getProperty(\"user.dir\"));\n\t\t\t\t}\n\t\t\t\tif(uAda && adaFiles.size() == 0)\n\t\t\t\t{\n\t\t\t\t\taddAdaFilesInDirectory(System.getProperty(\"user.dir\"));\n\t\t\t\t}\n\t\t\t\tif(uCPP && cppFiles.size() == 0)\n\t\t\t\t{\n\t\t\t\t\taddCppFilesInDirectory(System.getProperty(\"user.dir\"));\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}//end if\n\t\n\t\tthis.analyze();\n\t}","title":""},{"docid":"de07b9deb7ef1761fa8f0726794a4637","score":"0.63853204","text":"public static void main(String[] arg) {\n ArrayList items = new ArrayList();\n ArrayList U1Rockets= new ArrayList();\n ArrayList U2Rockets= new ArrayList();\n\n Simulation game = new Simulation();\n items = game.loadItems(\"/home/habib/IdeaProjects/SpaceX/Phase-1.txt\");\n U1Rockets = game.loadU1(items);\n U2Rockets = game.loadU2(items);\n int totalBudge = game.runSimulation(U1Rockets);\n }","title":""},{"docid":"2a7c7369f4543559d8552065abfdef29","score":"0.6329164","text":"public void processArgs(String[] args){\r\n\t\tFile directory = null;\r\n\t\tPattern pat = Pattern.compile(\"-[a-z]\");\r\n\t\tfor (int i = 0; i \"+directory);\r\n\t\t\tSystem.exit(0);\r\n\t\t}\r\n\t\tString extension = \"cel\";\r\n\t\tif (bunZip2App !=null) {\r\n\t\t\textension = \"cel.bz2\";\r\n\t\t\tif (bunZip2App.exists()==false )Misc.printExit(\"\\nError, cannot find your bunzip2 application -> \"+bunZip2App+\"\\n\");\r\n\t\t}\r\n\t\tcelFiles = IO.extractFiles(directory,extension);\r\n\t\t//any files\r\n\t\tif (celFiles.length == 0){\r\n\t\t\tSystem.out.println(\"\\nCannot find any 'xxx.\"+extension+\"' files?! -> \"+directory);\r\n\t\t\tSystem.exit(0);\r\n\t\t}\r\n\t\t//check for an alternative save directory\r\n\t\tif (saveDirectory !=null){ \r\n\t\t\tif (saveDirectory.isDirectory()== false) Misc.printExit(\"\\nError: cannot find or read your alternative results directory -> \"+saveDirectory+\"\\n\");\r\n\t\t}\r\n\t\telse saveDirectory = celFiles[0].getParentFile();\r\n\r\n\t}","title":""},{"docid":"888e41d74fbc91c4c89302b64b4dd564","score":"0.6321063","text":"public void processArgs(String[] args){\n\t\tPattern pat = Pattern.compile(\"-[a-z]\");\n\t\tfor (int i = 0; i -m -s -go -ge \");\n System.exit(-1);\n }\n \n // Make parameter vars\n String fileSeq1 = null;\n String fileSeq2 = null;\n \n // Parse args\n try {\n fileSeq1 = args[0];\n fileSeq2 = args[1];\n for(int i = 2; i < args.length; ++i) {\n if(args[i].equals(\"-m\")) {\n match = Integer.parseInt(args[i+1]);\n ++i;\n }\n else if(args[i].equals(\"-s\")) {\n mismatch = Integer.parseInt(args[i+1]);\n ++i;\n }\n else if(args[i].equals(\"-go\")) {\n go = Integer.parseInt(args[i+1]);\n ++i;\n }\n else if(args[i].equals(\"-ge\")) {\n ge = Integer.parseInt(args[i+1]);\n ++i;\n }\n }\n } catch(Exception e) {\n System.out.println(\"ERROR: Arguments are incorrect. Correct usage:\");\n System.out.println(\"java locAL -m -s -go -ge \");\n System.exit(-1);\n }\n \n // Begin file parse for seqs\n try {\n // Read File 1\n String line = null;\n BufferedReader readSeq1 = new BufferedReader(new FileReader(fileSeq1));\n String tempSeq = \"\";\n f1heads.add(readSeq1.readLine()); // read first line (header)\n while((line = readSeq1.readLine()) != null) {\n if(line.length() != 0) {\n // If header line:\n if(line.charAt(0) == '>') {\n f1heads.add(line);\n f1seqs.add(tempSeq);\n tempSeq = \"\";\n }\n // If sequence line\n else if(line.length() != 0) {\n tempSeq += line;\n }\n }\n }\n f1seqs.add(tempSeq);\n\n // Read File 2\n line = null;\n BufferedReader readSeq2 = new BufferedReader(new FileReader(fileSeq2));\n tempSeq = \"\";\n f2heads.add(readSeq2.readLine()); // read first line (header)\n while((line = readSeq2.readLine()) != null) {\n if(line.length() != 0) {\n // If header line:\n if(line.charAt(0) == '>') {\n f2heads.add(line);\n f2seqs.add(tempSeq);\n tempSeq = \"\";\n }\n // If sequence line\n else {\n tempSeq += line;\n }\n }\n }\n f2seqs.add(tempSeq);\n } catch(Exception e) {\n System.out.println(\"ERROR: Something went wrong when reading files.\");\n System.exit(-1);\n }\n \n // Check for equal # seqs\n if(f1heads.size() != f2heads.size() || f1heads.size() != f1seqs.size() || f1heads.size() != f2seqs.size()) {\n System.out.println(\"Number of sequences in files don't match. Please check files and try again.\");\n System.exit(-1);\n }\n \n System.out.println(\"seq_from_file1,seq_from_file2,alignment_score,alignment_length\");\n \n for(int i = 0; i < f1heads.size(); ++i) {\n System.err.println(\"Aligning sequence pair \" + (i+1) + \"/\" + f1heads.size());\n int[] optimal = S(f1seqs.get(i),f2seqs.get(i));\n int alignScore = optimal[0];\n int endI = optimal[2];\n int endJ = optimal[3];\n String trimS = f1seqs.get(i).substring(0,endI+1);\n String trimT = f2seqs.get(i).substring(0,endJ+1);\n optimal = S(new StringBuilder(trimS).reverse().toString(), new StringBuilder(trimT).reverse().toString());\n int startI = trimS.length() - optimal[2] - 1;\n int startJ = trimT.length() - optimal[3] - 1;\n \n int alignLength = endI - startI + 1 + optimal[1];\n System.out.println(f1heads.get(i)+\",\"+f2heads.get(i)+\",\"+alignScore+\",\"+alignLength);\n }\n }","title":""},{"docid":"fe74d97d2545b18971d197f275f0e809","score":"0.61110306","text":"private void cli (String[] args)\n {\n if (args.length < 2) {\n System.out.println(\"Usage: input-file output-file\");\n return;\n }\n dataFilename = args[1];\n super.cli(args[0], this);\n }","title":""},{"docid":"6a08ac5848b9a66864b04bd4f7762496","score":"0.6083115","text":"public static void main(String argv[]){\r\n \t\r\n \t\r\n \t\r\n }","title":""},{"docid":"366f09a417a87b494ace641065aafb8b","score":"0.6075802","text":"public static void main(String[] args){\n try {\n parser asin = new parser(\n new Lexer( new FileReader(args[0])));\n Object result = asin.parse().value;\n System.out.println(\"\\n*** Resultados finales ***\");\n } catch (Exception ex) {\n ex.printStackTrace();\n }\n }","title":""},{"docid":"3943c478132a1e53fe22ddceaa1694df","score":"0.6063554","text":"public static void main(String[] args){\r\n try {\r\n AnalizadorSintactico asin = new AnalizadorSintactico(\r\n new AnalizadorLexico( new FileReader(args[0])));\r\n Object result = asin.parse().value;\r\n System.out.println(\"\\n*** Sin Errores de Compilacion ***\");\r\n } catch (Exception ex) {\r\n ex.printStackTrace();\r\n }\r\n }","title":""},{"docid":"bfa0d39d800aa0c0e25e754d5dd9e9e2","score":"0.6061257","text":"public static void main(String[] args) {\n\t\t\n//\t\tLabOptListRun wf = new LabOptListRun();\n//\t\t\n//\t\ttry {\n//\t\t\n//\t\t\tOPTsolBatch optInput = wf.listLoad(inputFolder, datasetName);\n//\t\t\t\t\n//\t\t\tFacade.buildOPTanalysisFiles(optInput,outputPath);\n//\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} catch (WrongContolException e) {\n//\t\t\t// TODO Auto-generated catch block\n//\t\t\te.printStackTrace();\n//\t\t} catch (InvalidImplementationException 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\tLOG.debug(\"DONE!\");\n\t}","title":""},{"docid":"3b8d707e6ff7c13bfc9e033ad1ba5630","score":"0.6036876","text":"public static void main(String[] args) {\n \n if (args.length > 1){\n switch (args[0]){ //switch argument concieved\n case \"-p\": //first case\n System.out.printf(\"\\nNow parsing file %s \\n\\n\", args[1]);\n Parser p = new Parser(args[1]); //set parser to new parser\n while (!p.endOfFileReached()){ //executes until end of file is reached\n p.parseProgram();\n // parseProgram parses for 1 complete function at a time\n // loop will execute until all of the listed functions have been parsed\n }\n System.out.println(\"\\nEnd of file reached.\"); //print result stating end of file reached\n break;\n case \"-s\": //second case\n System.out.printf(\"\\nNow Scanning file %s \\n\\n\", args[1]);\n Scanner s = new Scanner(new java.io.File(args[1]));\n while (!s.endOfFileReached()){ //executes until end of file has been reached\n\n //next token is converted to a string by the convertType function\n System.out.printf(\"%s, row %d, col %d, symbol: %s\\n\",\n s.convertType(s.nextToken()), s.getRow(), s.getCol(), s.currentLexeme);\n } //\n System.out.println(\"\\nEnd of file reached.\"); //print result stating end of file reached\n break;\n case \"-e\": //third case\n System.out.printf(\"\\nNow Executing file %s \\n\\n\", args[1]);\n Parser p2 = new Parser(args[1]); //set parser p2 to new parser arugument one\n p2.running = true; //set running parser to true \n while (!p2.endOfFileReached()){ //executes until end of file has been reached\n p2.parseProgram();\n // parser both parses line by line and then executes corresponding function\n // loop will execute until all functions have been parsed\n }\n break;\n }\n } else {\n System.out.printf(\"\\nNow Executing file: %s \\n\\n\", args[0]);\n Parser p2 = new Parser(args[0]); //set parser p2 to new parser with argument 0\n p2.running = true; //set running parser to true\n while (!p2.endOfFileReached()){ //executes until end of file has been reached\n p2.parseProgram();\n // parser both parses line by line and then executes the corresponding function\n // loop will execute until all of the functions have been parsed\n }\n }\n\n// for testing purposes:\n// System.out.println(\"\\nIdentifier Table: \\n\\n\");\n// p2.printIdTable();\n }","title":""},{"docid":"33820c856dd54f58080fc4a2ba657ddc","score":"0.6036206","text":"private void parseArgs(String[] args) {\n\t\tif(args.length < 7)\n\t\t{\n\t\t\tprintUsage();\n\t\t\tSystem.exit(-1);\n\t\t}else{\n\t\t\ttry{\n\t\t\t\tinputFile= args[3];\n\t\t\t\toutputFile= args[4];\n\t\t\t\tif(!args[5].isEmpty())\tdf = Double.parseDouble(args[5]);\n\t\t\t\tif(!args[6].isEmpty())\titerations = Integer.parseInt(args[6]);\n\t\t\t}catch(Exception e){\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"ab8500d1f65276abdd007868f2b93d2a","score":"0.6022936","text":"public static void main(String args[]) throws IOException\n\t{\n\tSystem.out.println(\"The first cmd line argument is: \" + args[0]);\n\n\ttakeUserInput();\n \n regexToExtractString();\n\n\tsplitString();\n\n\thashmapNStrCase();\n\n\treadFile();\n\n\twriteFile();\n\n\tstringComparisons();\n\n\tconvertArrayToList();\n\t}","title":""},{"docid":"2e62b98e49d6d74e18aee397da89c6c1","score":"0.6019355","text":"public static void main(String[] args) {\n\t\tVariables.predPercentCharged = Double.parseDouble(args[0]);\n\t\tVariables.hiddenLayerSizesPred = new int[]{Integer.parseInt(args[1])};\n\t\t\n\t\tVariables.preyPercentCharged = Double.parseDouble(args[2]);\n\t\tVariables.hiddenLayerSizesPrey= new int[]{Integer.parseInt(args[3])};\n\t\t\n\t\tVariables.coreRad = Double.parseDouble(args[4]);\n\t\tVariables.perceptionLimit = Double.parseDouble(args[5]);\n\t\t\n\t\tVariables.canFall = Boolean.parseBoolean(args[6]);\n\t\tVariables.runBase = \"V1/V1-\" + args[6] + \"-rc\" + args[4] + \"-pl\" + args[5] + \"-pdh\" + args[0] + \"-pdc\" + args[1] + \"-pyh\" + args[2] + \"-pyc\" + args[3];\n\t\t\n\t\tnew Main();\n\t}","title":""},{"docid":"35bc42395a7440680f185a46ee4332e5","score":"0.6015243","text":"public static void main(String[] args) {\n\t\t\n\t\tSymbolsTable tos = new SymbolsTable();\n\t\tLexicalAnalyzer lex = new LexicalAnalyzer(tos);\n\t\tLLVMGenerator llvm = new LLVMGenerator();\n\t\tParser parser = new Parser(lex, tos, llvm);\n\t\t\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tnew DataInputStream(new FileInputStream(args[0]))));\n\t\t\tString input = \"\";\n\t\t\tString line;\n\t\t\twhile((line = br.readLine()) != null) {\n\t\t\t\tinput += line + \"\\n\";\n\t\t\t}\n\t\t\tinput = input.substring(0, input.length()-1);//Removes the final '\\n'\n\t\t\tinput += \"#\";\n\t\t\tinput = input.replaceAll(\"\\t\", \"\");\n\t\t\t\n\t\t\tparser.parse(input);\n\t\t\t\n\t\t\tbr.close();\n\t\t\t\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}\n\t}","title":""},{"docid":"94e736ab68250acb701b1751d9938edf","score":"0.5980932","text":"public static void main(String[] args) throws IOException, StopExecutionException, JAXBException, URISyntaxException, ParseException {\n \n File configFile;\n ChecksumParser checksumParser;\n List uuids;\n UuidFileReader uuidFileReader = new TrivialUuidFileReader();\n \n switch (args.length) {\n case 2:\n configFile = new File(args[0]);\n checksumParser = new ChecksumParser(new BufferedReader(new FileReader(new File(args[1]))));\n System.out.println(\"Reading uuids from stdin..\");\n uuids = uuidFileReader.readUuids(new BufferedReader(new InputStreamReader(System.in)));\n run(configFile, checksumParser, uuids);\n break;\n case 3:\n configFile = new File(args[0]);\n checksumParser = new ChecksumParser(new BufferedReader(new FileReader(new File(args[1]))));\n System.out.println(\"Reading uuids from \" + args[1]);\n File uuidfile = new File(args[2]);\n uuids = uuidFileReader.readUuids(uuidfile);\n run(configFile, checksumParser, uuids);\n break;\n default:\n System.out.println(\"Usage: bin/fileenricher.sh config-file checksum-file [uuid-file]\");\n System.exit(1);\n }\n }","title":""},{"docid":"2ed107fbb3479a0ddaed0a6d8d44ddad","score":"0.59793884","text":"public void testMain(Object[] args) \n\t{\n\t\tString path = \"C:\\\\Users\\\\Rodolfo\\\\Documents\\\\School\\\\Soft Testing\\\\CEN4072-ProjectArtifacts\\\\ProjectArtifacts\\\\Source Code\\\\\";\n\t\t\n\t\t//Delete cobertura files\n\t\tFile file = new File( path + \"PantherLot Main\\\\cobertura.ser\");\n\t\tFile file2 = new File( path + \"PantherLot Security\\\\cobertura.ser\");\n\t\tFile file3 = new File( path + \"PantherLot Spot\\\\cobertura.ser\");\n\n\t\tfile.delete();\n\t\tfile2.delete();\n\t\tfile3.delete();\n\t\t\n\t\t// TODO Insert code here\n\t\tcallScript(\"PLI011Sunny\");\n\t\tcallScript(\"PLI011Rainy\");\n\t\tcallScript(\"PLI012Sunny\");\n\t\tcallScript(\"PLI012Rainy\");\n\t\tcallScript(\"PLIS05\");\n\t\tcallScript(\"PLIS06\");\n\t\tcallScript(\"TestDirections1\");\n\t\tcallScript(\"TestDirections2\");\n\t\tcallScript(\"TestDirections3\");\n\t\tcallScript(\"TestDirections4\");\n\t\tcallScript(\"TestDirections5\");\n\t\tcallScript(\"TestDirections6\");\n\t\tcallScript(\"TestHandicap1\");\n\t\tcallScript(\"TestHandicap2\");\n\t\tcallScript(\"TestHandicap3\");\n\t\tcallScript(\"TestHandicap4\");\n\t\tcallScript(\"TestHandicap5\");\n\t\tcallScript(\"TestHandicap6\");\n\t\tcallScript(\"Implementation001\");\n\t\tcallScript(\"Implementation002\");\n\t\tcallScript(\"Implementation003\");\n\t}","title":""},{"docid":"d487938ff2693e55a07ea9dde66b9d55","score":"0.5972774","text":"public static void main(String args[])\n {\n int failcount = 0;\n\n // Initialize Rhino JS engine...\n Context cx = Context.enter();\n try {\n for (String filename : args) {\n System.out.print(filename);\n String source;\n try {\n source = readFileAsString(filename);\n } catch (Exception e) {\n System.out.println(\" READ FAIL: \" + e.getMessage());\n continue;\n }\n\n // Just try compiling...\n try {\n cx.compileString(source, filename, 0, null);\n System.out.println(\" OK\");\n } catch (Exception e) {\n System.out.println(\" COMPILE FAIL: \" + e.getMessage());\n failcount++;\n }\n }\n } finally {\n // Exit from the context.\n Context.exit();\n }\n if (failcount > 0) {\n System.exit(1);\n }\n }","title":""},{"docid":"6d832b52c336709861aca74ecd2a2abd","score":"0.5964777","text":"public static void main(String[] args) {\n\t\tReader reader = new Reader(args[0]);\r\n\t\ttry {\r\n\t\t\tPQA matrizes = reader.processFile();\r\n\t\t\tEvolucaoDiferencial main = new EvolucaoDiferencial(matrizes);\r\n\t\t\tmain.loop();\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}","title":""},{"docid":"0d19425eb8f4f27761716734bf30e872","score":"0.59607583","text":"public static void main(String[] args) {\n\n byte[] srcs = FileUtils.readBinaryFile(\"resources.arsc\");\n parse(srcs);\n\n// byte[] src = FileUtils.readBinaryFile(\"D:/Workspace/Java/ArscParser/activity_main.xml\");\n// byte[] src = FileUtils.readBinaryFile(\"D:/Workspace/Java/ArscParser/AndroidManifest.xml\");\n// ParseUtils.parseXml(src);\n }","title":""},{"docid":"6c4d10a43ed06d8d229005d9c55de0de","score":"0.59432244","text":"void main(String[] args);","title":""},{"docid":"e55aa022ad61235f07b002107208e690","score":"0.59256756","text":"public static void main(String args[]) {\n\n File file = new File(args[0]);\n StudyPlanner studyPlanner = new StudyPlanner();\n try {\n studyPlanner.readFile(file);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n\n\n }","title":""},{"docid":"0ea1a7426d4bfd0c20177d4f2e096c04","score":"0.59219664","text":"public static void main(String[] args) {\n\n\t\t/** cntroller which will be executed */\n\t\tString controller = \"emergence_NI.Agent\";\n\t\tString parameter = \"\";\n\n\t\t/** game which will be played */\n\t\tString gameStr = \"survivezombies\";\n\n\t\t// \"aliens\", \"boulderdash\", \"buterflies\", \"chase\", \"frogs\",\n\t\t// \"missilecommand\", \"portals\", \"sokoban\", \"survivezombies\", \"zelda\",\n\t\t// \"camelRace\", \"digdug\", \"firestorms\", \"infection\", \"firecaster\",\n\t\t// \"overload\", \"pacman\", \"seaquest\", \"whackamole\", \"eggomania\"\n\n\t\t/** available games */\n\t\tString gamesPath = \"examples/gridphysics/\";\n\n\t\t// Game and level to play\n\t\tString game = gamesPath + gameStr + \".txt\";\n\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tString level1 = gamesPath + gameStr + \"_lvl\" + i + \".txt\";\n\t\t\tExec.execute(controller, game, level1, parameter, true, true);\n\t\t}\n\n\t}","title":""},{"docid":"14ae4ebcc4d872bc640967005a082ce6","score":"0.5921324","text":"void run(String[] args);","title":""},{"docid":"6e8fde8cbd2bfe20a05f174c5ea1a59e","score":"0.5917881","text":"public static void main(String[]argv){\t\t\n\t\n\t}","title":""},{"docid":"c96999bbc69f7a4b4638f7306f915673","score":"0.59174865","text":"private void parse(String[] args) {\n CommandLine commandLine = null;\n // Parse the command line.\n CommandLineParser parser = new DefaultParser();\n try {\n // Parse the options and return the command line object.\n commandLine = parser.parse(options, args);\n\n // Check to see if only help is requested.\n if (commandLine.hasOption(\"help\")) {\n System.out.println(\"RDT help:\");\n printUsage();\n System.exit(0);\n }\n\n rdtInputFile = commandLine.getOptionValue(INPUT_LONG_FLAG);\n outputFile = commandLine.getOptionValue(OUTPUT_LONG_FLAG);\n busShpFile = commandLine.getOptionValue(BUS_SHP_LONG_FLAG);\n genShpFile = commandLine.getOptionValue(GEN_SHP_LONG_FLAG);\n loadShpFile = commandLine.getOptionValue(LOAD_SHP_LONG_FLAG);\n branchShpFile = commandLine.getOptionValue(BRANCH_SHP_LONG_FLAG);\n \n busJSONFile = commandLine.getOptionValue(BUS_JSON_LONG_FLAG);\n genJSONFile = commandLine.getOptionValue(GEN_JSON_LONG_FLAG);\n loadJSONFile = commandLine.getOptionValue(LOAD_JSON_LONG_FLAG);\n branchJSONFile = commandLine.getOptionValue(BRANCH_JSON_LONG_FLAG);\n }\n catch (ParseException exp) {\n printUsage();\n System.exit(1);\n }\n }","title":""},{"docid":"aa6ae29c50d16dd6dbb5ed59fa83df2f","score":"0.58913714","text":"public static void main(String argv[]) {\n if (argv.length == 0) {\n System.out.println(\"Usage : java lexico_replay [ --encoding ] \");\n } else {\n int firstFilePos = 0;\n String encodingName = \"UTF-8\";\n if (argv[0].equals(\"--encoding\")) {\n firstFilePos = 2;\n encodingName = argv[1];\n try {\n java.nio.charset.Charset.forName(encodingName); // Side-effect: is encodingName valid? \n } catch (Exception e) {\n System.out.println(\"Invalid encoding '\" + encodingName + \"'\");\n return;\n }\n }\n for (int i = firstFilePos; i < argv.length; i++) {\n lexico_replay scanner = null;\n try {\n java.io.FileInputStream stream = new java.io.FileInputStream(argv[i]);\n java.io.Reader reader = new java.io.InputStreamReader(stream, encodingName);\n scanner = new lexico_replay(reader);\n while (!scanner.zzAtEOF) {\n scanner.debug_next_token();\n }\n } catch (java.io.FileNotFoundException e) {\n System.out.println(\"File not found : \\\"\" + argv[i] + \"\\\"\");\n } catch (java.io.IOException e) {\n System.out.println(\"IO error scanning file \\\"\" + argv[i] + \"\\\"\");\n System.out.println(e);\n } catch (Exception e) {\n System.out.println(\"Unexpected exception:\");\n e.printStackTrace();\n }\n }\n }\n }","title":""},{"docid":"2eff69934d604a38d0996562a2878cb1","score":"0.5887879","text":"protected static boolean readArgs(String[] args){\n \t\t//initialise default values\n \t\ttextFiles = \"./textFiles.txt\";\n \t\tdoneFileName = \"./done.txt\";\n \t\tfeatOutDirName = \"./features1\";\n \t\tmaryHost = \"localhost\";\n \t\tmaryPort = \"59125\";\n \t\ttimeOutAfter = 30000;\n \t\tunreliableLogFile = \"./unreliableSents.log\";\n \t\tstrictCredibility = true;\n \t\tbasenamesOutFile = \"./basenames.lst\";\n \t\t\n \t\t//now parse the args\n \t\tint i = 0;\n \t\twhile (args.length>i){\n \t\t\tSystem.out.println(args[i]);\n \t\t\tif (args[i].equals(\"-basenames\")){\n \t\t\t\tif (args.length\");\r\n\t\t\t\t\tSystem.exit(1);\r\n\t\t\t\t}\r\n\t\t\t\tdataDir = new File(args[++i]);\r\n\t\t\t}\r\n\t\t\telse if(args[i].equalsIgnoreCase(\"-eext\"))\r\n\t\t\t{\r\n\t\t\t\tif(args.length == i)\r\n\t\t\t\t{\r\n\t\t\t\t\tSystem.err.println(\"Bad usage of -eext option. Syntax: -eext \");\r\n\t\t\t\t\tSystem.exit(1);\r\n\t\t\t\t}\r\n\t\t\t\telementExt = args[++i];\r\n\t\t\t}\r\n\t\t\telse if(args[i].equalsIgnoreCase(\"-wext\"))\r\n\t\t\t{\r\n\t\t\t\tif(args.length == i)\r\n\t\t\t\t{\r\n\t\t\t\t\tSystem.err.println(\"Bad usage of -wext option. Syntax: -wext \");\r\n\t\t\t\t\tSystem.exit(1);\r\n\t\t\t\t}\r\n\t\t\t\tworldExt = args[++i];\r\n\t\t\t}\r\n\t\t\telse if(args[i].equalsIgnoreCase(\"-wfiles\"))\r\n\t\t\t{\r\n\t\t\t\tif(args.length == i)\r\n\t\t\t\t{\r\n\t\t\t\t\tSystem.err.println(\"Bad usage of -wfiles option. Syntax: -wfiles [world file [world file [...]]]\");\r\n\t\t\t\t\tSystem.exit(1);\r\n\t\t\t\t}\r\n\t\t\t\tFile[] tmpFiles = new File[args.length];\r\n\r\n\t\t\t\t// We assume that there will be at least _one_ file.\r\n\t\t\t\ttmpFiles[0] = new File(args[i+1]);\r\n\t\t\t\tint j = 1;\r\n\t\t\t\twhile(args.length > i+j+1 && !args[i+j+1].startsWith(\"-\"))\r\n\t\t\t\t{\r\n\t\t\t\t\ttmpFiles[j] = new File(args[i+j+1]);\r\n\t\t\t\t\tj++;\r\n\t\t\t\t}\r\n\t\t\t\tworldFiles = new File[j];\r\n\t\t\t\tSystem.arraycopy(tmpFiles,0,worldFiles,0,j);\r\n\t\t\t\ti+=j;\r\n\t\t\t}\r\n\t\t\telse if(args[i].equalsIgnoreCase(\"-efiles\"))\r\n\t\t\t{\r\n\t\t\t\tif(args.length == i)\r\n\t\t\t\t{\r\n\t\t\t\t\tSystem.err.println(\"Bad usage of -efiles option. Syntax: -efiles [element file [element file [...]]]\");\r\n\t\t\t\t\tSystem.exit(1);\r\n\t\t\t\t}\r\n\t\t\t\tFile[] tmpFiles = new File[args.length];\r\n\r\n\t\t\t\t// We assume that there will be at least _one_ file.\r\n\t\t\t\ttmpFiles[0] = new File(args[i+1]);\r\n\t\t\t\tint j = 1;\r\n\t\t\t\twhile(args.length > i+j+1 && !args[i+j+1].startsWith(\"-\"))\r\n\t\t\t\t{\r\n\t\t\t\t\ttmpFiles[j] = new File(args[i+j+1]);\r\n\t\t\t\t\tj++;\r\n\t\t\t\t}\r\n\t\t\t\telementFiles = new File[j];\r\n\t\t\t\tSystem.arraycopy(tmpFiles,0,elementFiles,0,j);\r\n\t\t\t\ti+=j;\r\n\t\t\t}\r\n\t\t\telse if(args[i].equalsIgnoreCase(\"-p\"))\r\n\t\t\t{\r\n\t\t\t\tif(args.length == i)\r\n\t\t\t\t{\r\n\t\t\t\t\tSystem.err.println(\"Bad usage of -p option. Syntax: -p \");\r\n\t\t\t\t\tSystem.exit(1);\r\n\t\t\t\t}\r\n\t\t\t\ttry\r\n\t\t\t\t{\r\n\t\t\t\t\tport = Integer.parseInt(args[++i]);\r\n\t\t\t\t\tif(port > Constants.MAX_PORT || port < Constants.MIN_PORT)\r\n\t\t\t\t\t\tport = Constants.DEF_PORT;\r\n\t\t\t\t}\r\n\t\t\t\tcatch(NumberFormatException nfe)\r\n\t\t\t\t{\r\n\t\t\t\t\tport = Constants.DEF_PORT;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse if(args[i].equalsIgnoreCase(\"-t\"))\r\n\t\t\t{\r\n\t\t\t\tgui = false;\r\n\t\t\t}\r\n\t\t\telse if(args[i].equalsIgnoreCase(\"-help\") || args[i].equalsIgnoreCase(\"-h\"))\r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\"Syntax: java Server [options]\");\r\n\t\t\t\tSystem.out.println(\"Options:\");\r\n\t\t\t\tSystem.out.println(\" -h\\t\\tPrint this help screen\");\r\n\t\t\t\tSystem.out.println(\" -v\\t\\tRun in verbose mode\");\r\n\t\t\t\tSystem.out.println(\" -t\\t\\tRun in text mode\");\r\n\t\t\t\tSystem.out.println(\" -p \\tRun on port # \");\r\n\t\t\t\tSystem.out.println(\" -dir \\tLook for data files in directory \");\r\n\t\t\t\tSystem.out.println(\" -eext \\tLook in data dir for Element List files that have extension \");\r\n\t\t\t\tSystem.out.println(\" -wext \\tLook in data dir for World files that have extension \");\r\n\t\t\t\tSystem.out.println(\" -efiles [file [file [...]]]\\tOnly look for elements in the files specified\");\r\n\t\t\t\tSystem.out.println(\" -wfiles [file [file [...]]]\\tBuild the world only out of the files specified\");\r\n\t\t\t\tSystem.exit(0);\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tSystem.err.println(\"Bad argument (ignoring): \" + args[i]);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tLogger myLogger = new Logger( verbose);\r\n\t\tElementFactory ef;\r\n\t\tWorldFactory wf;\r\n\t\tif(elementFiles != null)\r\n\t\t\tef = new ElementFactory(elementFiles, myLogger);\r\n\t\telse\r\n\t\t\tef = new ElementFactory(dataDir, elementExt, myLogger);\r\n\r\n\t\tif(worldFiles != null)\r\n\t\t\twf = new WorldFactory(worldFiles, ef, myLogger);\r\n\t\telse\r\n\t\t\twf = new WorldFactory(dataDir, worldExt, ef, myLogger);\r\n\r\n\t\t/* The GUI is optional so that it is easier to start the server\r\n\t\t * from a distance (e.g., using SSH).\r\n\t\t * - Omer.\r\n\t\t */\r\n\t\tif(gui)\r\n\t\t{\r\n\t\t\t// MAKES THIS A CLOSEABLE WINDOW\r\n\t\t\tJFrame window = new JFrame();\r\n\t\t\twindow.setVisible(true);\r\n\t\t\twindow.setTitle(\"CC Game - Server\");\r\n\t\t\twindow.setSize(1,1);\r\n\r\n\t\t\tJPanel panel = new JPanel();\r\n\t\t\tpanel.setLayout(new BorderLayout());\r\n\r\n\t\t\tJPanel canvasFrame = new JPanel();\r\n\t\t\tpanel.add(canvasFrame, BorderLayout.CENTER);\r\n\t\t\t\r\n\t\t\t//menu bar\r\n\t\t\tMenuBar menuBar;\r\n\t\t\t\t\tMenu menu;\r\n\t\t\t\t\tMenuItem menuItem;\r\n\t\t\t\t\t\r\n\t\t\t\t\t//Create the menu bar.\r\n\t\t\t\t\tmenuBar = new MenuBar();\r\n\t\t\t\t\tmenu = new Menu(\"File\");\r\n\t\t\t\t\tmenuBar.add(menu);\r\n\t\t\t\t\tmenuItem = new MenuItem(\"PLEASE hit the \\\"X\\\" to close the server\");\r\n\t\t\t\t\tmenu.add(menuItem);\r\n\t\t\t\t\twindow.setMenuBar(menuBar);\r\n\t\t\t\t\t\r\n\t\t\t\t\t// CLOSE THE WINDOW WITH THE \"X\"\r\n\t\t\t\t\twindow.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\t\t\twindow.add(panel);\r\n\t\t\twindow.pack();\r\n\t\t\twindow.setSize(225, 50);\r\n\t\t\twindow.setResizable(true);\r\n\t\t}\r\n\t\t\r\n\t\t//Server s = new Server(wf, ef, myLogger , port);// \"s\" is never read\r\n\t\tnew Server(wf, ef, dataDir, myLogger , port);\r\n\t}","title":""},{"docid":"6d809dc2680896d96a7cd11c7947f266","score":"0.58779913","text":"public void parseArguments( String []args ) {\n\t}","title":""},{"docid":"efb03980900367c03c64353af37c11e1","score":"0.5868205","text":"public static void main(String args[]) {\n\n\t}","title":""},{"docid":"78e141abbfedfb0b0f0e7046b6bb5f64","score":"0.5868191","text":"public static void main(String[] args) throws InterruptedException {\n\t\t\r\n\r\n\t\tswitch (args[0]) {\r\n\t\tcase \"-h\":\r\n\t\t\tSystem.out\r\n\t\t\t\t\t.println(\"Help: \\nThis application searches for language links in language given as parameter and matching with\"\r\n\t\t\t\t\t\t\t+ \"domain language. With parameter -r, backmap.\\nUsage:\\n\"\r\n\t\t\t\t\t\t\t+ \"\\tDefault: parsing.jar [FILE_PAGE] [FILE_LANGLINKS] [LANGUAGE_1] [LANGUAGE_2]\\n\\n\"\r\n\t\t\t\t\t\t\t+ \"\\t\\tFILE_PAGE - SQL dump from wikipedia where are stored all titles in domain language\\n\"\r\n\t\t\t\t\t\t\t+ \"\\t\\tFILE_LANGLINKS - language links (SQL dump) from domain wikipedia where are stored all language links\\n\"\r\n\t\t\t\t\t\t\t+ \"\\t\\tLANGUAGE_1 - domain language\\n\"\r\n\t\t\t\t\t\t\t+ \"\\t\\tLANGUAGE_2 - language in which to search language links\\n\"\r\n\t\t\t\t\t\t\t+ \"\\t -r: parsing.jar [FILE_PAGE_1] [FILE_LANGLINKS_1] [FILE_PAGE_2] [FILE_LANGLINKS_2] [LANGUAGE_1] [LANGUAGE_2]\\n\\n\"\r\n\t\t\t\t\t\t\t+ \"\\t\\tFILE_LANGLINKS_2 - language links (SQL dump) from second wikipedia where are stored all language links\\n\"\r\n\t\t\t\t\t\t\t+ \"\\t\\tFILE_PAGE_2 - language links (SQL dump) from second wikipedia where are stored all titles\\n\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"-r\":\r\n\t\t\tSystem.out.println(\"Creating map from \" + args[1]\r\n\t\t\t\t\t+ \" please wait...\");\r\n\t\t\tDomainPageParser dpp = new DomainPageParser(args[1]);\r\n\t\t\t\r\n\t\t\tSystem.out.println(\"Creating map from \" + args[3] + \" please wait...\");\r\n\t\t\tHostPageParser hpp = new HostPageParser(args[3]);\r\n\t\t\t\r\n\t\t\tSystem.out.println(\"Creating map from \" + args[4]\r\n\t\t\t\t\t+ \" please wait...\");\r\n\t\t\tHostLangLinksParser hllp = new HostLangLinksParser(args[4], args[5]);\t\r\n\t\t\t\r\n\t\t\t\r\n\r\n\t\t\tSystem.out.println(\"Operation started - searching for \"+args[6]+\" language links in \"+args[5]+\" wikipedia sql dump with back tra\"\r\n\t\t\t\t\t+ \"cking in \"+args[4]+\" .\");\r\n\t\t\t@SuppressWarnings(\"unused\")\r\n\t\t\tLinker linker = new Linker(args[2], dpp, hllp, hpp, args[5],args[6]);\r\n\t\t\tbreak;\r\n\r\n\t\tdefault: {\r\n\t\t\tSystem.out.println(\"Creating map from \" + args[0] + \" please wait...\");\r\n\t\t\tDomainPageParser dpp_d = new DomainPageParser(args[0]);\r\n\t\t\tSystem.out.println(\"Operation started - searching for \"+args[3]+\" language links in \"+args[1]+\"\\n\");\r\n\t\t\t@SuppressWarnings(\"unused\")\r\n\t\t\tLinker linker_d = new Linker(args[1], dpp_d, args[2], args[3]);\r\n\t\t\tbreak;\r\n\t\t}\r\n\r\n\t\t}\r\n\t}","title":""},{"docid":"3d82635575bcdc991823da8d53f7685a","score":"0.585775","text":"public static void main(String[] args) {\n\t\t\n\t\t\n\t\t\n\t\t\n\n\t}","title":""},{"docid":"66efcc3cf388f90a42a3cbbd8ca74f30","score":"0.58569574","text":"public static void main(String[] args) {\n\t String inputFile = \"input.txt\";\n\t String outputFile = \"output.txt\";\n\n\t // Run through the provided flags and perform appropriate action\n\t for (int i=0 ; i < args.length ; i++) {\n\n\t // Argument flag found\n\t if (args[i].startsWith(\"-\")) {\n\t String argument = args[i].toLowerCase();\n\t switch (argument) {\n\n\t //-i set the following argument to input filename and increments\n\t case \"-i\":\n\t inputFile = args[++i];\n\t break;\n\n\t //-o set the following argument to output filename and increments\n\t case \"-o\":\n\t outputFile = args[++i];\n\t break;\n\t //-p will force the program to output the output.txt file for the user. \n\t case \"-p\":\n\t System.out.print(\"output.txt\");\n\t break;\n\t \n\t //-h will store the data into a HashMap\n\t case \"-h\":\n\t \tbreak;\n\n\t //-help display the usage\n\t case \"-help\":\n\t System.out.println(\"Usage: java main [-i filename] [-o filename]\");\n\t System.out.println(\" -i filename: Input text file name needed (eg. -i input.txt)\");\n\t System.out.println(\" -o filename: output text file name needed (eg. -o output.txt)\");\n\t System.out.println(\" -p : No file exists (output.txt). Please have an output.txt avaliable!\");\n\t return;\n\n\t // Case invalid flags are received, display prompt for help\n\t default:\n\t System.err.println(\"Invalid Flag: Type -help for valid flags\");\n\t return;\n\t }\n\t }\n\t }\n\t Phase3GUI mainProgram = new Phase3GUI();\n\t}","title":""},{"docid":"b12f8acf4f9a3d53472c213c84886362","score":"0.5854936","text":"public static void main(String[] args) {\n\t\t\n\t\t//ExperimentRunner.runStatistics( \"output/MinMaxVRP/Kelly/std_all/\",\"output/MinMaxVRP/Kelly/std_all/statistic.txt\");\n\t\t\n\t\t\n\t\t//ExperimentRunner.runStatistics( \"output/MinMaxVRP/Christophides/std-all-round-euclide-distance/\",\"output/MinMaxVRP/Christophides/std-all-round-euclide-distance/statistic.txt\");\n\t\tString[] type = new String[]{\"F-VRP\", \"CMT\", \"CE-VRP\"};\n\t\tfor(int i = 0; i < type.length;i++){\n\t\t\tExperimentRunner.runExperiments(type[i]);\n\t\t\tExperimentRunner.runStatistics(type[i], \"data/output/MinMaxVRP/\" + type[i] +\"/std_all/\", \"data/output/MinMaxVRP/\" + type[i] + \"/std_all/statistic.txt\");\n\t\t}\n\t\t//ExperimentRunner.runStatistics( \"output/MinMaxVRP/Kelly/std_all/\",\"output/MinMaxVRP/Kelly/std_all/statistic.txt\");\n\t\t\n\t\t\n\t\t\n\t}","title":""},{"docid":"be7c2252cc2e3973213d8f99d3915bef","score":"0.58514535","text":"private void run( String[] args ) {\n\tparseSpecificCommandLine( args );\n\t// Usually do process here\n }","title":""},{"docid":"8ffa2ebe474861fbac86dec1e9e1a0c0","score":"0.58494735","text":"public static void main (String[]args){\n\t\ttestaaTuote();\n\t\ttestaaVarasto();\n\t}","title":""},{"docid":"1cb4431043b1290efb30b0bce37a8ba2","score":"0.5846669","text":"public static void main (String args [])\n {\n\tFile inFile = new File (args [0]);\n\tPRM prm = new PRM (inFile);\n\t\n\t\n }","title":""},{"docid":"b4c3cb95b20e7df7622e9aaa3f353579","score":"0.5841529","text":"private void parseArguments(String[] args) {\n CommandLineParser parser = new GnuParser();\n CommandLine cmdLine = null;\n try {\n cmdLine = parser.parse(options, args);\n } catch (ParseException e) {\n showHelp(\"Error parsing command-line options: \" + e.getMessage(), 1);\n }\n\n if (cmdLine.hasOption(HELP_OPTION)) {\n showHelp(null, 0);\n }\n\n listTables = (cmdLine.hasOption(LIST_TABLES_OPTION));\n extractAll = (cmdLine.hasOption(EXTRACT_ALL));\n\n if (cmdLine.hasOption(INDEX_OPTION)) {\n tableIndex = Integer.parseInt(cmdLine.getOptionValue(INDEX_OPTION));\n } else {\n tableIndex = 1;\n }\n\n if (cmdLine.hasOption(DATA_FILE_OPTION)) {\n dataFile = new File(cmdLine.getOptionValue(DATA_FILE_OPTION));\n } else {\n dataFile = null;\n }\n\n String[] files = cmdLine.getArgs();\n if (files.length == 0) {\n showHelp(\"A label file is required\", 1);\n }\n\n try {\n labelUrl = new URL(files[0]);\n } catch (MalformedURLException u) {\n File file = new File(files[0]);\n file = file.getAbsoluteFile();\n try {\n labelUrl = file.toURI().toURL();\n } catch (MalformedURLException mu) {\n mu.printStackTrace();\n System.exit(1);\n }\n }\n\n if (cmdLine.hasOption(CSV_OPTION)) {\n format = OutputFormat.CSV;\n } else {\n format = OutputFormat.FIXED_WIDTH;\n }\n\n if (cmdLine.hasOption(FIELD_SEPARATOR_OPTION)) {\n fieldSeparator = cmdLine.getOptionValue(FIELD_SEPARATOR_OPTION);\n } else if (format == OutputFormat.FIXED_WIDTH) {\n fieldSeparator = \" \";\n } else {\n fieldSeparator = \",\";\n }\n\n if (cmdLine.hasOption(QUOTE_CHARACTER_OPTION)) {\n quoteCharacter = cmdLine.getOptionValue(QUOTE_CHARACTER_OPTION);\n } else {\n quoteCharacter = \"\\\"\";\n }\n quoteCharacterPattern = Pattern.compile(\"\\\\Q\" + quoteCharacter + \"\\\\E\");\n\n if (cmdLine.hasOption(WINDOWS_OPTION)) {\n lineSeparator = \"\\r\\n\";\n } else if (cmdLine.hasOption(UNIX_OPTION)) {\n lineSeparator = \"\\n\";\n } else {\n lineSeparator = System.getProperty(\"line.separator\");\n }\n\n if (!cmdLine.hasOption(FIELDS_OPTION)) {\n requestedFields = null;\n } else {\n requestedFields = cmdLine.getOptionValue(FIELDS_OPTION).split(\" *, *\");\n }\n\n if (cmdLine.hasOption(OUTPUT_FILE_OPTION)) {\n outputFile = new File(cmdLine.getOptionValue(OUTPUT_FILE_OPTION));\n } else {\n outputFile = null;\n }\n }","title":""},{"docid":"0e72fd229e9e97848e7a54d4dd340942","score":"0.5839849","text":"public static void main(String args[]){\n\t\t\n\t\t\n\t}","title":""},{"docid":"ad191a344755df5bdd745b759dd2f651","score":"0.5838524","text":"public static void main(String args[])\n {\n if ((args == null) || (args.length >2 )\n || args[ 0 ].equals(\"--help\"))\n {\n System.out.println(\n \"FormulaViewer .8 proof that the devil lies in the details (or just in BIFF8 files in general)\");\n System.out.println(\"usage: Give me a big fat file name\");\n } else if (args[0].equals(\"--listFunctions\")) { // undocumented attribute to research functions!~\n try {\n FormulaViewer viewer = new FormulaViewer();\n viewer.setFile(args[1]);\n viewer.setList(true);\n viewer.run();\n }\n catch (Exception e) {\n System.out.println(\"Whoops!\");\n e.printStackTrace();\n }\n }\n else\n {\n try\n {\n FormulaViewer viewer = new FormulaViewer();\n \n viewer.setFile(args[ 0 ]);\n viewer.run();\n }\n catch (Exception e)\n {\n System.out.println(\"Whoops!\");\n e.printStackTrace();\n }\n }\n }","title":""},{"docid":"83ec4ad3fac619fa7da45604b7e06dc7","score":"0.58375233","text":"public static void main(String argv[])\n\t{\n\t\t\n\t\tsetLex( argv[0], argv[1] );\n\t\t\n\t\tgetToken();\n\n\t//\tAssignmentList assignmentList = assignmentList(); // build a parse tree\n\t\tProgram program = program();\n\t\tif ( ! t.isEmpty() )\n\t\t\tdisplayln(t + \" -- unexpected symbol\");\n\t\telse if ( ! errorFound )\n\t\t{ System.out.println(\"end of file\");\n\t\t\tprogram.printParseTree(\"\"); // print the parse tree in linearly indented form in argv[1] file\n\t\t}\n\t\tcloseIO();\n\t}","title":""},{"docid":"eb7aef70ee504fcad52fcebed6bdf411","score":"0.58318764","text":"public static void main(String[] args) {\n\n\t\t\n\t\t\n\t}","title":""},{"docid":"2b907cbff3b4632352e6043cd82527b9","score":"0.582599","text":"public static void main(String[] arguments) {\n\n\t\t\tList CurrentUsers = new ArrayList();\n\t\t\tList allPostsByAllUsers = new ArrayList();\n\n\t\t\tloadUserInfoFile(\"People.txt\", CurrentUsers);\n\t\t\tloadRelationshipInfoFile(\"Relationships.txt\", CurrentUsers);\n\t\t\tloadPostInfoFile(\"Posts.txt\", CurrentUsers, allPostsByAllUsers);\n\t\t\tdisplayUserTimelines(CurrentUsers, allPostsByAllUsers);\n\t\t\t\t\t\n\t\t}","title":""},{"docid":"555b9b05a689ed470750b1072441dc35","score":"0.5819761","text":"public static void main(String[] args) {\n try {\n if (args.length == 0) {\n//java jmetal.metaheuristics.bfnw.BFNW DTLZ1_20D DTLZ1.20D.1000.pf 10 100000 BinaryTournament 0.01 foo\n// BFWN_main.main(new String[]{\"DTLZ7\",\"originalParetoFronts\\\\DTLZ7.3D.pf\",\"10\", \"true\", \"true\", \"0.01\"});\n// SMSEMOA_main.main(new String[]{\"WFG1\", \"originalParetoFronts\\\\WFG1.2D.pf\", \"10\", \"true\", \"true\", \"0.001\", \"true\",\"1500\",\"RandomSelection\"}); //problem, Pareto front, pop size, doCrossover, doMutation\n// SMSEMOA_main.main(new String[]{\"DTLZ1_20D\", \"originalParetoFronts\\\\DTLZ1.20D.1000.pf\", \"10\", \"true\", \"true\", \"0.01\", \"true\",\"50000\",\"BinaryTournament\",\"foo\"}); //problem, Pareto front, pop size, doCrossover, doMutation\n// SMSEMOA_main.main(new String[]{\"LZ09_F5\", \"originalParetoFronts\\\\LZ09_F5.pf\", \"100\", \"true\", \"true\", \"0.01\", \"false\",\"150000\",\"BinaryTournament\",\"foo\"}); //problem, Pareto front, pop size, doCrossover, doMutation\nSMSEMOA_main.main(new String[]{\"DTLZ1_2D\", \"originalParetoFronts\\\\DTLZ1.2D.10000.pf\", \"100\", \"true\", \"true\", \"0.01\", \"false\",\"200000\",\"BinaryTournament\",\"foo\"}); //problem, Pareto front, pop size, doCrossover, doMutation \n//SMSEMOA_main.main(new String[]{\"DTLZ1_2D\", \"originalParetoFronts\\\\DTLZ1.2D.10000.pf\", \"100\", \"true\", \"true\", \"0.01\", \"false\",\"10000\",\"BinaryTournament\",\"foo\"}); //problem, Pareto front, pop size, doCrossover, doMutation\n// SMSEMOA_main.main(new String[]{\"DTLZ3_10D\", \"originalParetoFronts\\\\DTLZ2.10D.100000.pf\", \"10\", \"true\", \"true\", \"0.001\", \"true\",\"1500\",\"BinaryTournament\",\"\"}); //problem, Pareto front, pop size, doCrossover, doMutation\n// SMSEMOA_main.main(new String[]{\"WFG2\", \"originalParetoFronts\\\\WFG2.2D.pf\", \"10\", \"true\", \"true\", \"0.001\", \"true\",\"150000\",\"RandomSelection\",\"\"});\n// SMSEMOA_main.main(new String[]{\"WFG1\", \"originalParetoFronts\\\\WFG1.2D.pf\", \"10\", \"true\", \"true\", \"0.001\", \"true\",\"1500\",\"RandomSelection\",\"\"});\n// BFWN_main.main(new String[]{\"WFG3\", \"originalParetoFronts\\\\WFG3.2D.pf\", \"10\", \"true\", \"true\", \"0.01\"}); //problem, Pareto front, pop size, doCrossover, doMutation\n// BFWN_main.main(new String[]{\"DTLZ7\", \"nopf\", \"10\", \"true\", \"true\", \"0.1\", \"true\"}); //problem, Pareto front, pop size, doCrossover, doMutation\n// BFWN_main.main(new String[]{\"Water\", \"originalParetoFronts\\\\Water.pf\", \"10\", \"true\", \"true\", \"0.001\", \"true\"}); //problem, Pareto front, pop size, doCrossover, doMutation\n// BFWN_main.main(new String[]{\"ZDT3\", \"originalParetoFronts\\\\ZDT3.pf\", \"10\", \"true\", \"true\", \"0.001\"}); //problem, Pareto front, pop size, doCrossover, doMutation\n// BFWN_main.main(new String[]{\"Kursawe\",\"originalParetoFronts\\\\Kursawe.pf\",\"50\"});\n// BFWN_main.main(new String[]{\"WFG1\",\"originalParetoFronts\\\\WFG1.2D.pf\"});\n }\n\n else if (args.length==7) {\n // in case it is called via the commandline with parameters...\n SMSEMOA_main.main(new String[]{\n args[0], // problem\n \"originalParetoFronts/\"+args[1], // pf-file, without the directory\n args[2], // mu\n \"true\", // doXO\n \"true\", // doMUT\n args[5], // epsilonGridWidth\n \"true\", // do outputs for runs on MPI cluster\n args[3], // max evaluations\n args[4], // selection strategy\n args[6] // subDirectory name for infoprinter\n });\n } else System.out.println(\"unsuitable number of parameters. EXIT.\");\n\n } catch (Exception ex) {\n// Logger.getLogger(BFNW.class.getName()).log(Level.SEVERE, null, ex);\n }\n }","title":""},{"docid":"874c645de77330c226c72b7d2d280f89","score":"0.58152515","text":"public static void main(String[] args) {\n while(true) {\n String line = input();\n String[] argsL = line.split(\" \");\n write('$' + line);\n\n if (argsL[0].equals(\"occurr\") ) { write(\"\" + occurr(strToVet(argsL[1]))); }\n else if(argsL[0].equals(\"teams\" ) ) { write(\"\" + teams(strToVet(argsL[1]))); }\n else if(argsL[0].equals(\"mnext\" ) ) { write(\"\" + mnext(strToVet(argsL[1]))); }\n else if(argsL[0].equals(\"alone\" ) ) { write(\"\" + alone(strToVet(argsL[1]))); }\n else if(argsL[0].equals(\"erase\" ) ) { write(\"\" + erase(strToVet(argsL[1]), strToVet(argsL[2]))); }\n else if(argsL[0].equals(\"clear\" ) ) { write(\"\" + clear(strToVet(argsL[1]), number(argsL[2]))); }\n else if(argsL[0].equals(\"subseq\") ) { write(\"\" + subseq(strToVet(argsL[1]), strToVet(argsL[2]))); }\n else if(argsL[0].equals(\"couple\") ) { write(\"\" + couple(strToVet(argsL[1]))); }\n else if(argsL[0].equals(\"end\" ) ) { break; }\n else { write(\"Invalid command\"); }\n }\n }","title":""},{"docid":"c068c7ba9425c6edef1b777f77cac27a","score":"0.58129686","text":"static public void main(String args[]) {\n\t}","title":""},{"docid":"7bf736eae831bbd3cb164123071fcf7a","score":"0.5812885","text":"public static void main(String[] args) {\r\n\r\n idxManageContext IRRSource = null;\r\n\r\n String IRRHost = null;\r\n String IRRPrincipal = null;\r\n String IRRCredentials = null;\r\n\r\n String INPUT_FILENAME = null;\r\n\r\n boolean VERBOSE = false;\r\n\r\n String METHODNAME = \"main\";\r\n\r\n // ****************************************\r\n // Send the Greeting.\r\n System.out.println(MP + VERSION);\r\n\r\n // ****************************************\r\n // Parse the incoming Arguments and\r\n // create objects for each entity.\r\n //\r\n idxArgParser Zin = new idxArgParser();\r\n Zin.parse(args);\r\n\r\n // ***************************************\r\n // Do I have any unnamed Values?\r\n if (!Zin.IsUnNamedEmpty()) {\r\n System.out.println(MP + \"Unknown Values Encountered, Terminating Process.\");\r\n Zin.showUnNamed();\r\n Usage();\r\n } // End of If.\r\n\r\n // ***************************************\r\n // Was Version Info Requested?\r\n if (Zin.doesNameExist(\"version\")) {\r\n System.exit(EXIT_VERSION);\r\n }\r\n\r\n // ***************************************\r\n // Was Help Info Requested?\r\n if ((Zin.doesNameExist(\"?\")) ||\r\n (Zin.doesNameExist(\"usage\"))) {\r\n Usage();\r\n }\r\n\r\n // ***************************************\r\n // Was Verbosity Requested?\r\n if (Zin.doesNameExist(\"verbose\")) {\r\n VERBOSE = true;\r\n }\r\n\r\n // ***************************************\r\n // Show Arguments if Verbose Selected.\r\n if (VERBOSE) {\r\n Zin.show();\r\n }\r\n\r\n // ***************************************\r\n // Build our verification Rule Set.\r\n //\r\n // idxArgVerificationRules Parameters are:\r\n // String Name of argument name.\r\n // Boolean Required Argument Indicator.\r\n // Boolean StringObject Argument Indicator.\r\n // String Name of Value Verification Routine.\r\n //\r\n LinkedList VAR = new LinkedList<>();\r\n\r\n VAR.add(new idxArgVerificationRules(\"hosturl\",\r\n true, true));\r\n\r\n VAR.add(new idxArgVerificationRules(\"irrid\",\r\n false, true));\r\n\r\n VAR.add(new idxArgVerificationRules(\"irrpw\",\r\n false, true));\r\n\r\n VAR.add(new idxArgVerificationRules(\"idu\",\r\n false, true));\r\n\r\n VAR.add(new idxArgVerificationRules(\"infile\",\r\n true, true));\r\n\r\n VAR.add(new idxArgVerificationRules(\"verbose\",\r\n false, false));\r\n\r\n // ***************************************\r\n // Run the Verification Rule Set.\r\n // If we do not have a positive return,\r\n // then an invalid argument was detected,\r\n // so show Usage and die. \r\n //\r\n idxArgVerifier AV = new idxArgVerifier();\r\n AV.setVerbose(VERBOSE);\r\n if (!AV.Verify(MP, Zin, VAR)) {\r\n Usage();\r\n }\r\n\r\n // ***************************************\r\n // Obtain Authentication Principal and\r\n // Credentials from the KeyStore or\r\n // the command line.\r\n //\r\n CommandLinePrincipalCredentials clPC =\r\n new CommandLinePrincipalCredentials(Zin);\r\n\r\n // **************************************************\r\n // Load up the Principal/Credentials.\r\n //\r\n if (clPC.wasObtained()) {\r\n IRRPrincipal = clPC.getPrincipal();\r\n System.out.println(MP + \"IRR ID:[\" + IRRPrincipal + \"]\");\r\n\r\n IRRCredentials = clPC.getCredentials();\r\n //System.out.println(MP+\"IRR Password:[\"+IRRCredentials+\"]\");\r\n } else {\r\n System.out.println(MP + \"Required Principal and Credentials not Specified, unable to continue.\");\r\n Usage();\r\n } // End of Else.\r\n\r\n // **************************************************\r\n // Load up the RunTime Arguments.\r\n //\r\n IRRHost = (String) Zin.getValue(\"hosturl\");\r\n System.out.println(MP + \"IRR Host URL:[\" + IRRHost + \"]\");\r\n\r\n INPUT_FILENAME = ((String) Zin.getValue(\"infile\")).trim();\r\n System.out.println(MP + \"Input File:[\" + INPUT_FILENAME + \"]\");\r\n\r\n // ****************************************\r\n // Note The Start Time.\r\n idxElapsedTime elt = new idxElapsedTime();\r\n\r\n // ***********************************************\r\n // Now initiate a Connection to the Directory\r\n // for a LDAP Source Context\r\n System.out.println(MP + \"Attempting Source Directory Connection to Host URL:[\" + IRRHost + \"]\");\r\n\r\n IRRSource = new idxManageContext(IRRHost,\r\n IRRPrincipal,\r\n IRRCredentials,\r\n \"ModificationEntry Source\");\r\n\r\n // ************************************************\r\n // Exit on all Exceptions.\r\n IRRSource.setExitOnException(true);\r\n\r\n // ************************************************\r\n // Now Try to Open and Obtain Context.\r\n try {\r\n IRRSource.open();\r\n } catch (Exception e) {\r\n System.err.println(MP + e);\r\n System.exit(EXIT_IRR_UNABLE_TO_OBTAIN_CONTEXT);\r\n } // End of exception\r\n\r\n // ************************************************\r\n // Disable Factories.\r\n try {\r\n IRRSource.disableDSAEFactories();\r\n } catch (Exception e) {\r\n System.err.println(MP + e);\r\n System.exit(EXIT_GENERIC_FAILURE);\r\n } // End of exception\r\n\r\n // ****************************************\r\n // Initailize Constructor.\r\n IRRmodifyEntry FUNCTION = new IRRmodifyEntry();\r\n\r\n // ****************************************\r\n // Perform Function.\r\n try {\r\n FUNCTION.perform(IRRSource.irrctx, INPUT_FILENAME);\r\n\r\n // ****************************************\r\n // Show the Statistics\r\n FUNCTION.dumpStats();\r\n FUNCTION.dumpAttributeStats();\r\n\r\n } catch (Exception e) {\r\n System.err.println(MP + \"IRR Exception Performing IRRmodifyEntry.\\n\" + e);\r\n System.exit(EXIT_GENERIC_FAILURE);\r\n } // End of Exception.\r\n\r\n // ***************************************\r\n // Close up Shop.\r\n System.out.println(MP + \"Closing Destination Directory Context.\");\r\n try {\r\n IRRSource.close();\r\n } catch (Exception e) {\r\n System.err.println(e);\r\n System.exit(EXIT_IRR_CLOSE_FAILURE);\r\n } // End of exception\r\n\r\n // ****************************************\r\n // Note The End Time.\r\n elt.setEnd();\r\n\r\n // ****************************************\r\n // Exit\r\n System.out.println(MP + \"Done, Elapsed Time: \" + elt.getElapsed());\r\n System.exit(EXIT_SUCCESSFUL);\r\n\r\n }","title":""},{"docid":"14f9e39c47ad8819b4388ea4b861339e","score":"0.5812816","text":"public static void main(String arg[]){\n\n }","title":""},{"docid":"43faddfa261eeabe17555498ed20ffdc","score":"0.5810845","text":"public static void main(String[] args) {\n //Case no arguments passed - start a game with four levels\n GameFlow flow = new GameFlow();\n List levels = new ArrayList();\n if (args.length == 0) {\n levels.add(new DirectHit());\n levels.add(new WideEasy());\n levels.add(new Green3());\n levels.add(new FinalFour());\n\n flow.runLevels(levels);\n\n /*Case 'ant run' without 'Dargs' used - args length is 1\n *Case it's not a digit between 1 and 4 - start a game with four levels\n */\n } else if (args.length == 1 && !isDigitBetweenOneAndFour(args[0])) {\n levels.add(new DirectHit());\n levels.add(new WideEasy());\n levels.add(new Green3());\n levels.add(new FinalFour());\n\n flow.runLevels(levels);\n //Case arguments passed - filter the levels and ignore the rest of the arguments\n } else {\n int level;\n\n //Loop through all the arguments\n for (int i = 0; i < args.length; i++) {\n //Case argument isn't one of the digits 1-4 - skip it\n if (!isDigitBetweenOneAndFour(args[i])) {\n continue;\n }\n\n //Parse the level to an integer\n level = Integer.parseInt(args[i]);\n\n //Add the matching level to the levels list\n if (level == 1) {\n levels.add(new DirectHit());\n } else if (level == 2) {\n levels.add(new WideEasy());\n } else if (level == 3) {\n levels.add(new Green3());\n } else if (level == 4) {\n levels.add(new FinalFour());\n }\n }\n\n //Case the list isn't empty - run the game with the levels in it\n if (!levels.isEmpty()) {\n flow.runLevels(levels);\n }\n }\n }","title":""},{"docid":"b11e69772e6e2b10a24d979f7b48856c","score":"0.5809725","text":"public static void main(String[] args) {\n\n\t\t\n\t}","title":""},{"docid":"b11e69772e6e2b10a24d979f7b48856c","score":"0.5809725","text":"public static void main(String[] args) {\n\n\t\t\n\t}","title":""},{"docid":"bfeeee389347ae87e22e7d4349de0bf8","score":"0.5806517","text":"public static void main(String[] args) {\n\n// //Generate inputfile\n// Xmladder myxmladder = new Xmladder();\n// File inputfile = Xmladder.startyazgetinputfile();\n\n String info1 =\n \"[Info] Welcome, XMLadder transforms your compatible-xml-recordfile into an injection-ready-XML File! Please use the progam like this: xmladder.jar inputfile.xml outputfile.xml.\";\n String info2 =\n \"[Info] No args found. Please set args1 for an input- and args2 for an outputfile. Program will exit now!\";\n String info3a = \"[Info] Found one Argument(arg)! Creating outputfile.\";\n String info3b = \"[Info] Found two Arguments(arg)! Creating outputfile.\";\n String info4a =\n \"[Info] Outputfile as defined in the properties-File. Please check the Files in your Texteditor!: Propertiesfile:\";\n String info4b = \"[Info] Please check the Files in your Texteditor! Inputfile + Generated Outputfile:\";\n\n File propertiesFile = null;\n List argsList = null;\n System.out.println(info1);\n\n //case 1 - args = 1 -> 1arg (args[0] is the properties-file-path!)\n if ( args.length == 1 ) {\n System.out.println(info3a);\n\n propertiesFile = new File(args[0]);\n\n new Xmladder(propertiesFile);\n System.out.println(info4a + args[0]);\n }\n\n //case 2 - args = 2 or higher -> 2args (inputfile, outputfile)\n else if ( args.length == 2 ) {\n System.out.println(info3b);\n\n argsList = new ArrayList();\n argsList.add(args[0]);\n argsList.add(args[1]);\n\n new Xmladder(argsList);\n System.out.println(info4b + args[0] + args[1]);\n }\n\n //case 3 - no args -> exit\n else if ( args.length != 1 && args.length != 2 ) {\n System.out.println(info2);\n System.exit(1);\n }\n\n System.out.println(\"[Info] Programm terminated\");\n }","title":""},{"docid":"091cc6d0a45a4ca692ebd352aba6cab7","score":"0.58010507","text":"public static void main(String[] args) throws Exception {\n for(int i = 0; i < args.length; i++) {\n TestParser prsr = new TestParser(new File(args[i]));\n prsr.parse();\n }\n }","title":""},{"docid":"ec6aa785e9304624891c73e910004a83","score":"0.57980597","text":"static public void main(String[] args) {\n\n\t}","title":""},{"docid":"93751b49d9a3c1c84090e16d0006841b","score":"0.57936764","text":"public static void main(String[] args) {\n\t\t\n\tgetRev(167);\n\n\t}","title":""},{"docid":"d2be55dfbcf50b516902b07d88fc1318","score":"0.5793586","text":"private static String[] loadArgs(Parser p, String [] args) {\n String[] leftOvers = null;\n try {\n leftOvers = p.parse(args);\n } catch(Parser.MissingValueException ex) {\n System.err.println(\"Missing value after \" + ex.arg);\n System.exit(1);\n } catch(Parser.UnknownArgumentException ex) {\n System.err.println(\"Invalid argument: \" + ex.arg);\n System.exit(1);\n } catch (NumberFormatException ex) {\n System.err.println(\"Number parsing error\");\n System.exit(1);\n }\n\n return leftOvers;\n }","title":""},{"docid":"2f2fdc6ebad494003a5933190ad3c613","score":"0.5790142","text":"public static void main(String[] args)\n {\n OSArguments osa= new OSArguments(args);\n if ( osa.contains(\"-procfolder\") ) {\n String folderPath= osa.get(\"-procfolder\");\n return;\n }\n \n\tHashString hasht= new HashString();\n hasht.setEncoding(\"ISO-8859-1\");\n\tString command;\n\n\twhile ( true ) {\n\t System.out.print(\"HashString> \");\n\t command= Toolkit.readLn().trim();\n\t if ( command.startsWith(\"exit\") ) {\n break;\n }\n\t parse(command,hasht);\n\t}\n }","title":""},{"docid":"529ae88757c3d550c4175d9af038a250","score":"0.57854825","text":"public static void main(String[] args) {\n // Sets variable to print testing information\n ParseFile.parseTest = true;\n\n // Sets substring length\n int k = Integer.parseInt(args[0]);\n\n // Sets file to parse from user input\n File gbk_file = new File(args[1]);\n\n // Parses subsequences from found DNA sequence strings\n ParseFile.parseGbk(gbk_file, k, null);\n }","title":""},{"docid":"5d1d2f6141f1e4bc1159e0286ac82479","score":"0.57851774","text":"static void main(String[] args) {\n\n\t}","title":""},{"docid":"5d1d2f6141f1e4bc1159e0286ac82479","score":"0.57851774","text":"static void main(String[] args) {\n\n\t}","title":""},{"docid":"eae3a6ab08661ed666d1d070e43086be","score":"0.578459","text":"public static void main(String[] args) {\n\t\t\r\n\r\n\t}","title":""},{"docid":"eae3a6ab08661ed666d1d070e43086be","score":"0.578459","text":"public static void main(String[] args) {\n\t\t\r\n\r\n\t}","title":""},{"docid":"eae3a6ab08661ed666d1d070e43086be","score":"0.578459","text":"public static void main(String[] args) {\n\t\t\r\n\r\n\t}","title":""},{"docid":"54601e67a2dcc5b02a4ea08390bb4ba8","score":"0.57791483","text":"public static void main(String[] args) {\n\t\t \r\n\t}","title":""},{"docid":"9674e84cb0ba23d830d546f5886d33b0","score":"0.5777236","text":"public static void main(String[] args) \r\n\t{\n\t\tcheckProperArgs(args);\r\n\t\t\r\n\t\t//Creating any necessary directories\r\n\t\tFile dir = new File(args[1]);\r\n\t\tif (!dir.exists()) dir.mkdirs(); \t\r\n\t\t\r\n\t\tdir = new File(args[2]); \r\n\t\tif (!dir.exists()) dir.mkdirs();\r\n\t\t\r\n\t\tripAudio(args[0], args[2]);\r\n\t\tripFrames(args[0], args[1]); \r\n\t}","title":""},{"docid":"c3e787de638bc4969023ba5e873712c6","score":"0.5775731","text":"public static void main(String[] args) {\n\t\treadFile();\n\t\t\n//\t\tString teString=\"/home/fan/data/Family/small-sample-exp/exp1/test/smsreg/dbfab4abbf46f005c216acce199d4450.apk\";\n//\t\toneFileCommunityDetection(teString);\n\t\t\n\t}","title":""},{"docid":"f3b874ec69b0518293ce4114a757c677","score":"0.57734126","text":"public static void main(String args[]){\n\t\tString rpath = \"./dict/ambiguationDict.txt\";\r\n\t\tString wpath = \"./dict/ambiguationDict2.txt\";\r\n//\t\tfilterBracket(rpath, wpath);\r\n//\t\tfilterSingleWord(rpath, wpath);\r\n\t\tfilterCandidate(rpath,wpath);\r\n\t}","title":""},{"docid":"3017bcfb680279c60b7264799e1f96ed","score":"0.5771492","text":"private void processInputs(String[] args) {\n\t\tList options = new ArrayList();\n\t\t\t\n\t\t// Collect args and process\n\t\tint index = 0;\n\t\tfor (String arg : args) {\n\t\t\tif (arg.startsWith(\"-\")) {\n\t\t\t\t// Collect the options\n\t\t\t\toptions.add(arg);\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tindex++;\n\t\t}\n\t\t\t\t\t\n\t\t// Set the options\n\t\tfor (String option : options) {\n\t\t\tif(\"-i\".equals(option)) {\n\t\t\t\tparams.setCaseSensitive(false);\n\t\t\t}\n\t\t\tif (\"-p\".equals(option)) {\n\t\t\t\tparams.setSearchWorkspace(false);\n\t\t\t}\n\t\t\tif (\"-phase1\".equals(option)) {\n\t\t\t\tparams.setRootAsPhase1Root();\t\t\t\t\t\n\t\t\t}\n\t\t\tif (\"-phase2\".equals(option)) {\n\t\t\t\tparams.setRootAsPhase2Root();\n\t\t\t}\n\t\t}\n\t\t// Set the default root if not specified in the options\n\t\tif (StringUtils.isBlank(params.getRoot())) {\n\t\t\tparams.setSearchAllCode(true);\n\t\t\tparams.setRootAsPhase1Root();\n\t\t}\n\t}","title":""},{"docid":"ecc1899224be1df41e9d191dbd45740d","score":"0.5771293","text":"public static void main(String[] args) {\n new CommandLine(new SO61963756()).execute();\n new CommandLine(new SO61963756()).execute(\"-A -A1\".split(\" \"));\n new CommandLine(new SO61963756()).execute(\"-A -A2\".split(\" \"));\n new CommandLine(new SO61963756()).execute(\"-A -A1 -A2\".split(\" \"));\n\n //test: these should FAIL\n new CommandLine(new SO61963756()).execute(\"-A\");\n new CommandLine(new SO61963756()).execute(\"-A1\");\n new CommandLine(new SO61963756()).execute(\"-A2\");\n new CommandLine(new SO61963756()).execute(\"-A1 -A2\".split(\" \"));\n }","title":""},{"docid":"9269c0e65a9a1bc1d24eea7b956aea00","score":"0.5770399","text":"public static void main(String args[])\n\t{\n\t\tString f;\n\t\tReadResults r;\n\t\t\n\t\t// for each argument on command line, pass to ReadResults.\n\t\tfor (String s: args)\t\n\t\t{\n\t\t\tf = s;\t\t// filename is argument\n\t\t\tr = new ReadResults(f);\t// attempt to open file\n\t\t\t\n\t\t\tSystem.out.println(\"Read results says \" + r + \"\\n\");\n\t\t\t\n\t\t\tr = null;\n\t\t\tf = null;\n\t\t}\n\t}","title":""},{"docid":"fbf5cc460aee7dfc12950a464c6e171a","score":"0.5769001","text":"public static void main(String[] args) {\t\t\n\n\t}","title":""},{"docid":"384fef7943e93c2919629f0625bc5d17","score":"0.57655054","text":"public static void main(String argv[]) {\n }","title":""},{"docid":"f998630d2747918a2ad1e285b2d91db4","score":"0.57632196","text":"private void parseArguments(String args[]) throws Exception\n\t{\n\t\t\n\t\tfor(int i=0;iOmega=new Vector<>();\r\n String path = Arrays.stream(args).collect(Collectors.joining(\" \")).trim();\r\n Work work = new Work(Omega, path);\r\n try {\r\n work.start();\r\n }\r\n catch (ExitException e){\r\n System.out.println(\"Это очень плохо. Программа умирант\");\r\n }\r\n }","title":""},{"docid":"7719ac3ae476658a8a829ce76276fe38","score":"0.5747111","text":"public static void main(String[] args) {\n\r\n\t\tavarage(11,10,100);\r\n\t\t\r\n\t}","title":""},{"docid":"094fb63e2b3bed28a89a3c0d9fb1440f","score":"0.5746508","text":"public static void main(String args[]){\n\t\tnew FreshPlayerParser().generateFreshCharacters();\n\t}","title":""},{"docid":"d9552d91cd325d007e900b6bfe6ddc6c","score":"0.57417613","text":"public static void main(String[] args) {\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}","title":""},{"docid":"d9552d91cd325d007e900b6bfe6ddc6c","score":"0.57417613","text":"public static void main(String[] args) {\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}","title":""},{"docid":"ad3586bcbadb90bd504a9bedc1981eb6","score":"0.5739848","text":"public static void main(String args[]){\n\t}","title":""},{"docid":"ad3586bcbadb90bd504a9bedc1981eb6","score":"0.5739848","text":"public static void main(String args[]){\n\t}","title":""},{"docid":"5412d8bbaceb3d8fc87408bc83162df4","score":"0.5735797","text":"public static void main(String[] args) {\n\t\t\n\n\t}","title":""},{"docid":"5412d8bbaceb3d8fc87408bc83162df4","score":"0.5735797","text":"public static void main(String[] args) {\n\t\t\n\n\t}","title":""},{"docid":"5412d8bbaceb3d8fc87408bc83162df4","score":"0.5735797","text":"public static void main(String[] args) {\n\t\t\n\n\t}","title":""},{"docid":"5412d8bbaceb3d8fc87408bc83162df4","score":"0.5735797","text":"public static void main(String[] args) {\n\t\t\n\n\t}","title":""},{"docid":"5412d8bbaceb3d8fc87408bc83162df4","score":"0.5735797","text":"public static void main(String[] args) {\n\t\t\n\n\t}","title":""},{"docid":"5412d8bbaceb3d8fc87408bc83162df4","score":"0.5735797","text":"public static void main(String[] args) {\n\t\t\n\n\t}","title":""},{"docid":"5412d8bbaceb3d8fc87408bc83162df4","score":"0.5735797","text":"public static void main(String[] args) {\n\t\t\n\n\t}","title":""},{"docid":"5412d8bbaceb3d8fc87408bc83162df4","score":"0.5735797","text":"public static void main(String[] args) {\n\t\t\n\n\t}","title":""},{"docid":"329f836bbf21555e55be12873ccb70b3","score":"0.5732541","text":"public static void main(String[] args) {\n\t\t \n\t}","title":""}],"string":"[\n {\n \"docid\": \"a8fd60294aed9f53867356a8f5425d97\",\n \"score\": \"0.6740347\",\n \"text\": \"public void processArgs(String[] args) throws IOException{\\n\\t\\tPattern pat = Pattern.compile(\\\"-[a-z]\\\");\\n\\t\\tSystem.out.println(\\\"\\\\n\\\"+IO.fetchUSeqVersion()+\\\" Arguments: \\\"+Misc.stringArrayToString(args, \\\" \\\")+\\\"\\\\n\\\");\\n\\t\\tfor (int i = 0; i 0 ) {\\n rtbuf.append( \\\"|\\\" );\\n }\\n rtbuf.append( resourceTypes[ ir ].getName().toLowerCase() );\\n }\\n String usage = new StringBuffer()\\n .append( \\\"\\\\n Usage:\\\" )\\n .append( \\\"\\\\n \\\" + SampLoad.class.getName() )\\n .append( \\\"\\\\n \\\" )\\n .append( \\\" [-help]\\\" )\\n .append( \\\" [-/+verbose]\\\" )\\n .append( \\\"\\\\n \\\" )\\n .append( \\\" [-rtype \\\" + rtbuf + \\\"]\\\" )\\n .append( \\\" \\\" )\\n .append( \\\"\\\\n\\\" )\\n .toString();\\n\\n // Set up variables which can be set or changed by the argument list.\\n ResourceType rtype = null;\\n String location = null;\\n int verbAdjust = 0;\\n\\n // Parse the argument list.\\n List argList = new ArrayList( Arrays.asList( args ) );\\n for ( Iterator it = argList.iterator(); it.hasNext(); ) {\\n String arg = (String) it.next();\\n if ( arg.equals( \\\"-rtype\\\" ) && rtype == null && it.hasNext() ) {\\n it.remove();\\n String rtName = (String) it.next();\\n it.remove();\\n for ( int ir = 0; ir < resourceTypes.length; ir++ ) {\\n ResourceType rt = resourceTypes[ ir ];\\n if ( rtName.equalsIgnoreCase( rt.getName() ) ) {\\n rtype = rt;\\n }\\n }\\n if ( rtype == null ) {\\n System.err.println( usage );\\n return 1;\\n }\\n }\\n else if ( arg.startsWith( \\\"-verb\\\" ) ) {\\n it.remove();\\n verbAdjust--;\\n }\\n else if ( arg.startsWith( \\\"+verb\\\" ) ) {\\n it.remove();\\n verbAdjust++;\\n }\\n else if ( arg.equals( \\\"-help\\\" ) ) {\\n it.remove();\\n System.out.println( usage );\\n return 0;\\n }\\n else if ( arg.startsWith( \\\"-\\\" ) || arg.startsWith( \\\"+\\\" ) ) {\\n System.err.println( usage );\\n return 1;\\n }\\n else if ( location == null ) {\\n it.remove();\\n location = arg;\\n }\\n else {\\n System.err.println( usage );\\n return 1;\\n }\\n }\\n if ( location == null ) {\\n System.err.println( usage );\\n return 1;\\n }\\n\\n // Set logging levels in accordance with flags.\\n int logLevel = Level.WARNING.intValue() + 100 * verbAdjust;\\n Logger.getLogger( \\\"org.astrogrid.samp\\\" )\\n .setLevel( Level.parse( Integer.toString( logLevel ) ) );\\n\\n // Interpret location.\\n final URL url;\\n if ( location == null ) {\\n System.err.println( usage );\\n return 1;\\n }\\n else {\\n url = getUrl( location );\\n }\\n if ( url == null ) {\\n logger_.warning( \\\"Bad location: \\\" + location );\\n }\\n\\n // Make sure we have a resource type. This may have been supplied\\n // on the command line, but if not, try to identify it by retrieving\\n // the metadata or content of the resource itself.\\n if ( url != null ) {\\n if ( rtype == null ) {\\n rtype = ResourceType.readHeadResourceType( url );\\n }\\n if ( rtype == null ) {\\n rtype = ResourceType.readContentResourceType( url );\\n }\\n if ( rtype == null ) {\\n logger_.warning( \\\"Unknown resource type: \\\" + url );\\n }\\n }\\n\\n // Prepare client metadata.\\n Metadata meta = new Metadata();\\n meta.setName( \\\"SampLoad\\\" );\\n try {\\n meta.setIconUrl( UtilServer.getInstance()\\n .exportResource( ICON_URL ).toString() );\\n }\\n catch ( Exception e ) {\\n logger_.log( Level.WARNING, \\\"Can't export application icon\\\", e );\\n }\\n meta.setDescriptionText( new StringBuffer()\\n .append( \\\"Browser helper application to forward downloaded files\\\" )\\n .append( \\\" (\\\" + rtype + \\\") \\\" )\\n .append( \\\"to SAMP Hub\\\" )\\n .toString() );\\n meta.put( \\\"author.name\\\", \\\"Mark Taylor\\\" );\\n\\n // Prepare hub registration.\\n ClientProfile profile = DefaultClientProfile.getProfile();\\n GuiHubConnector connector = new GuiHubConnector( profile );\\n connector.declareMetadata( meta );\\n connector.declareSubscriptions( connector.computeSubscriptions() );\\n connector.setActive( rtype != null );\\n\\n // Send message under GUI control.\\n SampLoad dialog = new SampLoad( connector, rtype, url, location );\\n dialog.pack();\\n dialog.setLocationRelativeTo( null );\\n dialog.setVisible( true );\\n\\n connector.setActive( false );\\n return 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7e9052c4aba44d0353407c43f17a36a2\",\n \"score\": \"0.64280045\",\n \"text\": \"private void decodeCommandLine(String[] args) {\\n // loop over all args\\n for (int i = 0; i < args.length; i++) {\\n\\n if (args[i].equalsIgnoreCase(\\\"-h\\\")) {\\n usage();\\n System.exit(-1);\\n }\\n else if (args[i].equalsIgnoreCase(\\\"-u\\\")) {\\n UDL = args[i + 1];\\n i++;\\n }\\n else if (args[i].equalsIgnoreCase(\\\"-debug\\\")) {\\n debug = true;\\n }\\n else {\\n usage();\\n System.exit(-1);\\n }\\n }\\n\\n return;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6a3695ff15077e77c286b04ceccabdee\",\n \"score\": \"0.6398627\",\n \"text\": \"public void processInput(String[] args)\\n\\t{\\n\\t\\tSIT.notifyUser(\\\"Verifing Files...\\\");\\n\\t\\t//If no arguments specified, process all files with known extensions\\n\\t\\t//in the current directory\\n\\t\\tif (args.length == 0) \\n\\t\\t{\\n\\t\\t\\taddFiles(getAllFilesInDirectory(System.getProperty(\\\"user.dir\\\")));\\n\\t\\t}\\n\\t\\t//If one argument is specified, and it is a language tag,\\n\\t\\t//process all files of that type in the current folder\\n\\t\\telse if(args.length == 1)\\n\\t\\t{\\n\\t\\t\\tswitch (args[0]) \\n\\t\\t\\t{\\n\\t\\t\\t\\t//If the tag is not recognized, the program exits with a warning\\n\\t\\t\\t\\tcase \\\"-j\\\":\\n\\t\\t\\t\\t\\taddJavaFilesInDirectory(System.getProperty(\\\"user.dir\\\"));\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase \\\"-a\\\":\\n\\t\\t\\t\\t\\taddAdaFilesInDirectory(System.getProperty(\\\"user.dir\\\"));\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase \\\"-c\\\":\\n\\t\\t\\t\\t\\taddCppFilesInDirectory(System.getProperty(\\\"user.dir\\\"));\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase \\\"-r\\\":\\n\\t\\t\\t\\t\\taddFiles(getAllFilesInDirectoryAndSubDirectories(System.getProperty(\\\"user.dir\\\")));\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase \\\"-all\\\":\\n\\t\\t\\t\\t\\taddFiles(getAllFilesInDirectory(System.getProperty(\\\"user.dir\\\")));\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tcase \\\"-help\\\":\\n\\t\\t\\t\\tcase \\\"?\\\":\\n\\t\\t\\t\\t\\tSIT.displayHelp();\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\tdefault:\\n\\t\\t\\t\\t\\tif(args[0].startsWith(\\\"-\\\"))\\n\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\tSIT.notifyUser(\\\"Error: unrecognized command: '\\\" + args[0] + \\\"'. Type -help for a list of valid commands.\\\");\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\telse\\n\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\tSIT.notifyUser(\\\"Error: At least one language must be specified. Type -help for a list of valid commands.\\\");\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\tSystem.exit(0);\\n\\t\\t\\t}//end switch\\n\\t\\t}\\n\\t\\t//If more than one argument is specified\\n\\t\\telse\\n\\t\\t{\\n\\t\\t\\tif( !(args[0].trim().startsWith(\\\"-\\\")))\\n\\t\\t\\t{\\n\\t\\t\\t\\tSIT.notifyUser(\\\"Error: At least one language must be specified. Type -help for a list of valid commands.\\\");\\n\\t\\t\\t}\\n\\t\\t\\t\\n\\t\\t\\t//iterate through tag arguments and record which languages\\n\\t\\t\\t//the user wants to analyze for\\n\\t\\t\\tboolean tagZone = true;\\n\\t\\t\\tint nonTagsStart = 0;\\n\\t\\t\\tfor (int i = 0; i < args.length && tagZone; i++) \\n\\t\\t\\t{\\n\\t\\t\\t\\tswitch (args[i]) \\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t//By default, searches the current directory\\n\\t\\t\\t\\t\\tcase \\\"-j\\\":\\n\\t\\t\\t\\t\\t\\tuJava = true;\\n\\t\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t\\tcase \\\"-a\\\":\\n\\t\\t\\t\\t\\t\\tuAda = true;\\n\\t\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t\\tcase \\\"-c\\\":\\n\\t\\t\\t\\t\\t\\tuCPP = true;\\n\\t\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t\\tcase \\\"-all\\\":\\n\\t\\t\\t\\t\\t\\tuJava = true;\\n\\t\\t\\t\\t\\t\\tuAda = true;\\n\\t\\t\\t\\t\\t\\tuCPP = true;\\n\\t\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t\\tcase \\\"-help\\\":\\n\\t\\t\\t\\t\\tcase \\\"?\\\":\\n\\t\\t\\t\\t\\t\\tSIT.displayHelp();\\n\\t\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t\\tdefault:\\n\\t\\t\\t\\t\\t\\ttagZone = false;\\n\\t\\t\\t\\t\\t\\tnonTagsStart = i;\\n\\t\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\t//add explicit file or directory names to fileList, if the user supplied them\\n\\t\\t\\tif (!tagZone) \\n\\t\\t\\t{\\n\\t\\t\\t\\tboolean nameFragment = false;\\t//Flag for whether the current argument is part of a file or \\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t//dir name (one that contains whitespace)\\n\\t\\t\\t\\tboolean hasTag = false;\\t\\t//Flag for whether the next argument is a modifying tag for the\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t//current file or directory\\n\\t\\t\\t\\tFile f = new File(\\\"\\\");\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t//This starts after the tags are processed\\n\\t\\t\\t\\tfor (int i = nonTagsStart; i < args.length; i++) \\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t//If the previous run of the loop detected that this argument was a tag,\\n\\t\\t\\t\\t\\t//Move right to the next argument\\n\\t\\t\\t\\t\\tif(hasTag)\\n\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\thasTag = false;\\n\\t\\t\\t\\t\\t\\tnameFragment = false;\\n\\t\\t\\t\\t\\t\\tcontinue;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t//If the current argument is part of a file or dir name,\\n\\t\\t\\t\\t\\t//add the word to the rest of the file name, and skip the rest of the for loop\\n\\t\\t\\t\\t\\t//Else if the flag is set to false, then add the previous filename to the input and\\n\\t\\t\\t\\t\\t//process the current argument\\n\\t\\t\\t\\t\\t//Then proceed as normal\\n\\t\\t\\t\\t\\tif(nameFragment)\\t\\n\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\tFile temp = new File(args[i]);\\n\\t\\t\\t\\t\\t\\t//If temp is a file or directory on its own, then f is not an existing path\\n\\t\\t\\t\\t\\t\\t//so display an error and terminate the program\\n\\t\\t\\t\\t\\t\\tif(temp.isFile() || temp.isDirectory())\\n\\t\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\t\\t\\tSIT.notifyUser(\\\"Error: Invalid path: \\\" + f.getAbsolutePath());\\n\\t\\t\\t\\t\\t\\t\\t\\tSystem.exit(0);\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t//if temp was not a file/dir on its own, concatenate the current argument to f\\n\\t\\t\\t\\t\\t\\telse\\n\\t\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\t\\t//nameFragment remains true\\n\\t\\t\\t\\t\\t\\t\\tf = new File(f.getAbsolutePath() + \\\" \\\" + args[i]);\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t//If the newly-concatenated f is a file or directory,\\n\\t\\t\\t\\t\\t\\t//add it to the input and set the nameFragment flag to false\\n\\t\\t\\t\\t\\t\\t//If f is not a file or directory, and there are no more args to concatenate to f, then the path is invalid\\n\\t\\t\\t\\t\\t\\tif(f.isFile() || f.isDirectory()) \\n\\t\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\t\\ttry\\n\\t\\t\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\t\\t\\thasTag = verifyUserInputFileType(f.getAbsolutePath(), args[i + 1]);\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\tcatch(ArrayIndexOutOfBoundsException ar)\\n\\t\\t\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\t\\t\\thasTag = verifyUserInputFileType(f.getAbsolutePath(), \\\" \\\");\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\tnameFragment = false;\\n\\t\\t\\t\\t\\t\\t\\tcontinue;\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\telse if(i == args.length - 1)\\n\\t\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\t\\tSIT.notifyUser(\\\"Error: Invalid path: \\\" + f.getAbsolutePath());\\n\\t\\t\\t\\t\\t\\t\\tSystem.exit(0);\\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\\t//Process only the current argument\\n\\t\\t\\t\\t\\t\\tf = new File(args[i]);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t//If f is a file or directory, then add it to the input and set the nameFragment flag to false\\n\\t\\t\\t\\t\\t//TODO: This if statement always returns false on the first loop\\n\\t\\t\\t\\t\\tif (f.isFile() || f.isDirectory()) \\n\\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\\thasTag = verifyUserInputFileType(f.getAbsolutePath(), args[i + 1]);\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\tcatch(ArrayIndexOutOfBoundsException ar)\\n\\t\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\t\\thasTag = verifyUserInputFileType(f.getAbsolutePath(), \\\" \\\");\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\tnameFragment = false;\\n\\t\\t\\t\\t\\t} \\n\\t\\t\\t\\t\\telse \\n\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\tnameFragment = true;\\n\\t\\t\\t\\t\\t}//end if\\n\\t\\t\\t\\t}//end for\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t//If the user declared a language tag but did not supply any files for this tag,\\n\\t\\t\\t\\t//then the tag will pull all of that language from the current directory\\n\\t\\t\\t\\tif(uJava && javaFiles.size() == 0)\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\taddJavaFilesInDirectory(System.getProperty(\\\"user.dir\\\"));\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(uAda && adaFiles.size() == 0)\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\taddAdaFilesInDirectory(System.getProperty(\\\"user.dir\\\"));\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif(uCPP && cppFiles.size() == 0)\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\taddCppFilesInDirectory(System.getProperty(\\\"user.dir\\\"));\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\n\\t\\t\\t}\\n\\t\\t}//end if\\n\\t\\n\\t\\tthis.analyze();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"de07b9deb7ef1761fa8f0726794a4637\",\n \"score\": \"0.63853204\",\n \"text\": \"public static void main(String[] arg) {\\n ArrayList items = new ArrayList();\\n ArrayList U1Rockets= new ArrayList();\\n ArrayList U2Rockets= new ArrayList();\\n\\n Simulation game = new Simulation();\\n items = game.loadItems(\\\"/home/habib/IdeaProjects/SpaceX/Phase-1.txt\\\");\\n U1Rockets = game.loadU1(items);\\n U2Rockets = game.loadU2(items);\\n int totalBudge = game.runSimulation(U1Rockets);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2a7c7369f4543559d8552065abfdef29\",\n \"score\": \"0.6329164\",\n \"text\": \"public void processArgs(String[] args){\\r\\n\\t\\tFile directory = null;\\r\\n\\t\\tPattern pat = Pattern.compile(\\\"-[a-z]\\\");\\r\\n\\t\\tfor (int i = 0; i \\\"+directory);\\r\\n\\t\\t\\tSystem.exit(0);\\r\\n\\t\\t}\\r\\n\\t\\tString extension = \\\"cel\\\";\\r\\n\\t\\tif (bunZip2App !=null) {\\r\\n\\t\\t\\textension = \\\"cel.bz2\\\";\\r\\n\\t\\t\\tif (bunZip2App.exists()==false )Misc.printExit(\\\"\\\\nError, cannot find your bunzip2 application -> \\\"+bunZip2App+\\\"\\\\n\\\");\\r\\n\\t\\t}\\r\\n\\t\\tcelFiles = IO.extractFiles(directory,extension);\\r\\n\\t\\t//any files\\r\\n\\t\\tif (celFiles.length == 0){\\r\\n\\t\\t\\tSystem.out.println(\\\"\\\\nCannot find any 'xxx.\\\"+extension+\\\"' files?! -> \\\"+directory);\\r\\n\\t\\t\\tSystem.exit(0);\\r\\n\\t\\t}\\r\\n\\t\\t//check for an alternative save directory\\r\\n\\t\\tif (saveDirectory !=null){ \\r\\n\\t\\t\\tif (saveDirectory.isDirectory()== false) Misc.printExit(\\\"\\\\nError: cannot find or read your alternative results directory -> \\\"+saveDirectory+\\\"\\\\n\\\");\\r\\n\\t\\t}\\r\\n\\t\\telse saveDirectory = celFiles[0].getParentFile();\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"888e41d74fbc91c4c89302b64b4dd564\",\n \"score\": \"0.6321063\",\n \"text\": \"public void processArgs(String[] args){\\n\\t\\tPattern pat = Pattern.compile(\\\"-[a-z]\\\");\\n\\t\\tfor (int i = 0; i -m -s -go -ge \\\");\\n System.exit(-1);\\n }\\n \\n // Make parameter vars\\n String fileSeq1 = null;\\n String fileSeq2 = null;\\n \\n // Parse args\\n try {\\n fileSeq1 = args[0];\\n fileSeq2 = args[1];\\n for(int i = 2; i < args.length; ++i) {\\n if(args[i].equals(\\\"-m\\\")) {\\n match = Integer.parseInt(args[i+1]);\\n ++i;\\n }\\n else if(args[i].equals(\\\"-s\\\")) {\\n mismatch = Integer.parseInt(args[i+1]);\\n ++i;\\n }\\n else if(args[i].equals(\\\"-go\\\")) {\\n go = Integer.parseInt(args[i+1]);\\n ++i;\\n }\\n else if(args[i].equals(\\\"-ge\\\")) {\\n ge = Integer.parseInt(args[i+1]);\\n ++i;\\n }\\n }\\n } catch(Exception e) {\\n System.out.println(\\\"ERROR: Arguments are incorrect. Correct usage:\\\");\\n System.out.println(\\\"java locAL -m -s -go -ge \\\");\\n System.exit(-1);\\n }\\n \\n // Begin file parse for seqs\\n try {\\n // Read File 1\\n String line = null;\\n BufferedReader readSeq1 = new BufferedReader(new FileReader(fileSeq1));\\n String tempSeq = \\\"\\\";\\n f1heads.add(readSeq1.readLine()); // read first line (header)\\n while((line = readSeq1.readLine()) != null) {\\n if(line.length() != 0) {\\n // If header line:\\n if(line.charAt(0) == '>') {\\n f1heads.add(line);\\n f1seqs.add(tempSeq);\\n tempSeq = \\\"\\\";\\n }\\n // If sequence line\\n else if(line.length() != 0) {\\n tempSeq += line;\\n }\\n }\\n }\\n f1seqs.add(tempSeq);\\n\\n // Read File 2\\n line = null;\\n BufferedReader readSeq2 = new BufferedReader(new FileReader(fileSeq2));\\n tempSeq = \\\"\\\";\\n f2heads.add(readSeq2.readLine()); // read first line (header)\\n while((line = readSeq2.readLine()) != null) {\\n if(line.length() != 0) {\\n // If header line:\\n if(line.charAt(0) == '>') {\\n f2heads.add(line);\\n f2seqs.add(tempSeq);\\n tempSeq = \\\"\\\";\\n }\\n // If sequence line\\n else {\\n tempSeq += line;\\n }\\n }\\n }\\n f2seqs.add(tempSeq);\\n } catch(Exception e) {\\n System.out.println(\\\"ERROR: Something went wrong when reading files.\\\");\\n System.exit(-1);\\n }\\n \\n // Check for equal # seqs\\n if(f1heads.size() != f2heads.size() || f1heads.size() != f1seqs.size() || f1heads.size() != f2seqs.size()) {\\n System.out.println(\\\"Number of sequences in files don't match. Please check files and try again.\\\");\\n System.exit(-1);\\n }\\n \\n System.out.println(\\\"seq_from_file1,seq_from_file2,alignment_score,alignment_length\\\");\\n \\n for(int i = 0; i < f1heads.size(); ++i) {\\n System.err.println(\\\"Aligning sequence pair \\\" + (i+1) + \\\"/\\\" + f1heads.size());\\n int[] optimal = S(f1seqs.get(i),f2seqs.get(i));\\n int alignScore = optimal[0];\\n int endI = optimal[2];\\n int endJ = optimal[3];\\n String trimS = f1seqs.get(i).substring(0,endI+1);\\n String trimT = f2seqs.get(i).substring(0,endJ+1);\\n optimal = S(new StringBuilder(trimS).reverse().toString(), new StringBuilder(trimT).reverse().toString());\\n int startI = trimS.length() - optimal[2] - 1;\\n int startJ = trimT.length() - optimal[3] - 1;\\n \\n int alignLength = endI - startI + 1 + optimal[1];\\n System.out.println(f1heads.get(i)+\\\",\\\"+f2heads.get(i)+\\\",\\\"+alignScore+\\\",\\\"+alignLength);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fe74d97d2545b18971d197f275f0e809\",\n \"score\": \"0.61110306\",\n \"text\": \"private void cli (String[] args)\\n {\\n if (args.length < 2) {\\n System.out.println(\\\"Usage: input-file output-file\\\");\\n return;\\n }\\n dataFilename = args[1];\\n super.cli(args[0], this);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6a08ac5848b9a66864b04bd4f7762496\",\n \"score\": \"0.6083115\",\n \"text\": \"public static void main(String argv[]){\\r\\n \\t\\r\\n \\t\\r\\n \\t\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"366f09a417a87b494ace641065aafb8b\",\n \"score\": \"0.6075802\",\n \"text\": \"public static void main(String[] args){\\n try {\\n parser asin = new parser(\\n new Lexer( new FileReader(args[0])));\\n Object result = asin.parse().value;\\n System.out.println(\\\"\\\\n*** Resultados finales ***\\\");\\n } catch (Exception ex) {\\n ex.printStackTrace();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3943c478132a1e53fe22ddceaa1694df\",\n \"score\": \"0.6063554\",\n \"text\": \"public static void main(String[] args){\\r\\n try {\\r\\n AnalizadorSintactico asin = new AnalizadorSintactico(\\r\\n new AnalizadorLexico( new FileReader(args[0])));\\r\\n Object result = asin.parse().value;\\r\\n System.out.println(\\\"\\\\n*** Sin Errores de Compilacion ***\\\");\\r\\n } catch (Exception ex) {\\r\\n ex.printStackTrace();\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bfa0d39d800aa0c0e25e754d5dd9e9e2\",\n \"score\": \"0.6061257\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t\\n//\\t\\tLabOptListRun wf = new LabOptListRun();\\n//\\t\\t\\n//\\t\\ttry {\\n//\\t\\t\\n//\\t\\t\\tOPTsolBatch optInput = wf.listLoad(inputFolder, datasetName);\\n//\\t\\t\\t\\t\\n//\\t\\t\\tFacade.buildOPTanalysisFiles(optInput,outputPath);\\n//\\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} catch (WrongContolException e) {\\n//\\t\\t\\t// TODO Auto-generated catch block\\n//\\t\\t\\te.printStackTrace();\\n//\\t\\t} catch (InvalidImplementationException 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\\tLOG.debug(\\\"DONE!\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3b8d707e6ff7c13bfc9e033ad1ba5630\",\n \"score\": \"0.6036876\",\n \"text\": \"public static void main(String[] args) {\\n \\n if (args.length > 1){\\n switch (args[0]){ //switch argument concieved\\n case \\\"-p\\\": //first case\\n System.out.printf(\\\"\\\\nNow parsing file %s \\\\n\\\\n\\\", args[1]);\\n Parser p = new Parser(args[1]); //set parser to new parser\\n while (!p.endOfFileReached()){ //executes until end of file is reached\\n p.parseProgram();\\n // parseProgram parses for 1 complete function at a time\\n // loop will execute until all of the listed functions have been parsed\\n }\\n System.out.println(\\\"\\\\nEnd of file reached.\\\"); //print result stating end of file reached\\n break;\\n case \\\"-s\\\": //second case\\n System.out.printf(\\\"\\\\nNow Scanning file %s \\\\n\\\\n\\\", args[1]);\\n Scanner s = new Scanner(new java.io.File(args[1]));\\n while (!s.endOfFileReached()){ //executes until end of file has been reached\\n\\n //next token is converted to a string by the convertType function\\n System.out.printf(\\\"%s, row %d, col %d, symbol: %s\\\\n\\\",\\n s.convertType(s.nextToken()), s.getRow(), s.getCol(), s.currentLexeme);\\n } //\\n System.out.println(\\\"\\\\nEnd of file reached.\\\"); //print result stating end of file reached\\n break;\\n case \\\"-e\\\": //third case\\n System.out.printf(\\\"\\\\nNow Executing file %s \\\\n\\\\n\\\", args[1]);\\n Parser p2 = new Parser(args[1]); //set parser p2 to new parser arugument one\\n p2.running = true; //set running parser to true \\n while (!p2.endOfFileReached()){ //executes until end of file has been reached\\n p2.parseProgram();\\n // parser both parses line by line and then executes corresponding function\\n // loop will execute until all functions have been parsed\\n }\\n break;\\n }\\n } else {\\n System.out.printf(\\\"\\\\nNow Executing file: %s \\\\n\\\\n\\\", args[0]);\\n Parser p2 = new Parser(args[0]); //set parser p2 to new parser with argument 0\\n p2.running = true; //set running parser to true\\n while (!p2.endOfFileReached()){ //executes until end of file has been reached\\n p2.parseProgram();\\n // parser both parses line by line and then executes the corresponding function\\n // loop will execute until all of the functions have been parsed\\n }\\n }\\n\\n// for testing purposes:\\n// System.out.println(\\\"\\\\nIdentifier Table: \\\\n\\\\n\\\");\\n// p2.printIdTable();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"33820c856dd54f58080fc4a2ba657ddc\",\n \"score\": \"0.6036206\",\n \"text\": \"private void parseArgs(String[] args) {\\n\\t\\tif(args.length < 7)\\n\\t\\t{\\n\\t\\t\\tprintUsage();\\n\\t\\t\\tSystem.exit(-1);\\n\\t\\t}else{\\n\\t\\t\\ttry{\\n\\t\\t\\t\\tinputFile= args[3];\\n\\t\\t\\t\\toutputFile= args[4];\\n\\t\\t\\t\\tif(!args[5].isEmpty())\\tdf = Double.parseDouble(args[5]);\\n\\t\\t\\t\\tif(!args[6].isEmpty())\\titerations = Integer.parseInt(args[6]);\\n\\t\\t\\t}catch(Exception e){\\n\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab8500d1f65276abdd007868f2b93d2a\",\n \"score\": \"0.6022936\",\n \"text\": \"public static void main(String args[]) throws IOException\\n\\t{\\n\\tSystem.out.println(\\\"The first cmd line argument is: \\\" + args[0]);\\n\\n\\ttakeUserInput();\\n \\n regexToExtractString();\\n\\n\\tsplitString();\\n\\n\\thashmapNStrCase();\\n\\n\\treadFile();\\n\\n\\twriteFile();\\n\\n\\tstringComparisons();\\n\\n\\tconvertArrayToList();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2e62b98e49d6d74e18aee397da89c6c1\",\n \"score\": \"0.6019355\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\tVariables.predPercentCharged = Double.parseDouble(args[0]);\\n\\t\\tVariables.hiddenLayerSizesPred = new int[]{Integer.parseInt(args[1])};\\n\\t\\t\\n\\t\\tVariables.preyPercentCharged = Double.parseDouble(args[2]);\\n\\t\\tVariables.hiddenLayerSizesPrey= new int[]{Integer.parseInt(args[3])};\\n\\t\\t\\n\\t\\tVariables.coreRad = Double.parseDouble(args[4]);\\n\\t\\tVariables.perceptionLimit = Double.parseDouble(args[5]);\\n\\t\\t\\n\\t\\tVariables.canFall = Boolean.parseBoolean(args[6]);\\n\\t\\tVariables.runBase = \\\"V1/V1-\\\" + args[6] + \\\"-rc\\\" + args[4] + \\\"-pl\\\" + args[5] + \\\"-pdh\\\" + args[0] + \\\"-pdc\\\" + args[1] + \\\"-pyh\\\" + args[2] + \\\"-pyc\\\" + args[3];\\n\\t\\t\\n\\t\\tnew Main();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"35bc42395a7440680f185a46ee4332e5\",\n \"score\": \"0.6015243\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t\\n\\t\\tSymbolsTable tos = new SymbolsTable();\\n\\t\\tLexicalAnalyzer lex = new LexicalAnalyzer(tos);\\n\\t\\tLLVMGenerator llvm = new LLVMGenerator();\\n\\t\\tParser parser = new Parser(lex, tos, llvm);\\n\\t\\t\\n\\t\\ttry {\\n\\t\\t\\tBufferedReader br = new BufferedReader(new InputStreamReader(\\n\\t\\t\\t\\t\\tnew DataInputStream(new FileInputStream(args[0]))));\\n\\t\\t\\tString input = \\\"\\\";\\n\\t\\t\\tString line;\\n\\t\\t\\twhile((line = br.readLine()) != null) {\\n\\t\\t\\t\\tinput += line + \\\"\\\\n\\\";\\n\\t\\t\\t}\\n\\t\\t\\tinput = input.substring(0, input.length()-1);//Removes the final '\\\\n'\\n\\t\\t\\tinput += \\\"#\\\";\\n\\t\\t\\tinput = input.replaceAll(\\\"\\\\t\\\", \\\"\\\");\\n\\t\\t\\t\\n\\t\\t\\tparser.parse(input);\\n\\t\\t\\t\\n\\t\\t\\tbr.close();\\n\\t\\t\\t\\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}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"94e736ab68250acb701b1751d9938edf\",\n \"score\": \"0.5980932\",\n \"text\": \"public static void main(String[] args) throws IOException, StopExecutionException, JAXBException, URISyntaxException, ParseException {\\n \\n File configFile;\\n ChecksumParser checksumParser;\\n List uuids;\\n UuidFileReader uuidFileReader = new TrivialUuidFileReader();\\n \\n switch (args.length) {\\n case 2:\\n configFile = new File(args[0]);\\n checksumParser = new ChecksumParser(new BufferedReader(new FileReader(new File(args[1]))));\\n System.out.println(\\\"Reading uuids from stdin..\\\");\\n uuids = uuidFileReader.readUuids(new BufferedReader(new InputStreamReader(System.in)));\\n run(configFile, checksumParser, uuids);\\n break;\\n case 3:\\n configFile = new File(args[0]);\\n checksumParser = new ChecksumParser(new BufferedReader(new FileReader(new File(args[1]))));\\n System.out.println(\\\"Reading uuids from \\\" + args[1]);\\n File uuidfile = new File(args[2]);\\n uuids = uuidFileReader.readUuids(uuidfile);\\n run(configFile, checksumParser, uuids);\\n break;\\n default:\\n System.out.println(\\\"Usage: bin/fileenricher.sh config-file checksum-file [uuid-file]\\\");\\n System.exit(1);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ed107fbb3479a0ddaed0a6d8d44ddad\",\n \"score\": \"0.59793884\",\n \"text\": \"public void testMain(Object[] args) \\n\\t{\\n\\t\\tString path = \\\"C:\\\\\\\\Users\\\\\\\\Rodolfo\\\\\\\\Documents\\\\\\\\School\\\\\\\\Soft Testing\\\\\\\\CEN4072-ProjectArtifacts\\\\\\\\ProjectArtifacts\\\\\\\\Source Code\\\\\\\\\\\";\\n\\t\\t\\n\\t\\t//Delete cobertura files\\n\\t\\tFile file = new File( path + \\\"PantherLot Main\\\\\\\\cobertura.ser\\\");\\n\\t\\tFile file2 = new File( path + \\\"PantherLot Security\\\\\\\\cobertura.ser\\\");\\n\\t\\tFile file3 = new File( path + \\\"PantherLot Spot\\\\\\\\cobertura.ser\\\");\\n\\n\\t\\tfile.delete();\\n\\t\\tfile2.delete();\\n\\t\\tfile3.delete();\\n\\t\\t\\n\\t\\t// TODO Insert code here\\n\\t\\tcallScript(\\\"PLI011Sunny\\\");\\n\\t\\tcallScript(\\\"PLI011Rainy\\\");\\n\\t\\tcallScript(\\\"PLI012Sunny\\\");\\n\\t\\tcallScript(\\\"PLI012Rainy\\\");\\n\\t\\tcallScript(\\\"PLIS05\\\");\\n\\t\\tcallScript(\\\"PLIS06\\\");\\n\\t\\tcallScript(\\\"TestDirections1\\\");\\n\\t\\tcallScript(\\\"TestDirections2\\\");\\n\\t\\tcallScript(\\\"TestDirections3\\\");\\n\\t\\tcallScript(\\\"TestDirections4\\\");\\n\\t\\tcallScript(\\\"TestDirections5\\\");\\n\\t\\tcallScript(\\\"TestDirections6\\\");\\n\\t\\tcallScript(\\\"TestHandicap1\\\");\\n\\t\\tcallScript(\\\"TestHandicap2\\\");\\n\\t\\tcallScript(\\\"TestHandicap3\\\");\\n\\t\\tcallScript(\\\"TestHandicap4\\\");\\n\\t\\tcallScript(\\\"TestHandicap5\\\");\\n\\t\\tcallScript(\\\"TestHandicap6\\\");\\n\\t\\tcallScript(\\\"Implementation001\\\");\\n\\t\\tcallScript(\\\"Implementation002\\\");\\n\\t\\tcallScript(\\\"Implementation003\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d487938ff2693e55a07ea9dde66b9d55\",\n \"score\": \"0.5972774\",\n \"text\": \"public static void main(String args[])\\n {\\n int failcount = 0;\\n\\n // Initialize Rhino JS engine...\\n Context cx = Context.enter();\\n try {\\n for (String filename : args) {\\n System.out.print(filename);\\n String source;\\n try {\\n source = readFileAsString(filename);\\n } catch (Exception e) {\\n System.out.println(\\\" READ FAIL: \\\" + e.getMessage());\\n continue;\\n }\\n\\n // Just try compiling...\\n try {\\n cx.compileString(source, filename, 0, null);\\n System.out.println(\\\" OK\\\");\\n } catch (Exception e) {\\n System.out.println(\\\" COMPILE FAIL: \\\" + e.getMessage());\\n failcount++;\\n }\\n }\\n } finally {\\n // Exit from the context.\\n Context.exit();\\n }\\n if (failcount > 0) {\\n System.exit(1);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6d832b52c336709861aca74ecd2a2abd\",\n \"score\": \"0.5964777\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\tReader reader = new Reader(args[0]);\\r\\n\\t\\ttry {\\r\\n\\t\\t\\tPQA matrizes = reader.processFile();\\r\\n\\t\\t\\tEvolucaoDiferencial main = new EvolucaoDiferencial(matrizes);\\r\\n\\t\\t\\tmain.loop();\\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}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d19425eb8f4f27761716734bf30e872\",\n \"score\": \"0.59607583\",\n \"text\": \"public static void main(String[] args) {\\n\\n byte[] srcs = FileUtils.readBinaryFile(\\\"resources.arsc\\\");\\n parse(srcs);\\n\\n// byte[] src = FileUtils.readBinaryFile(\\\"D:/Workspace/Java/ArscParser/activity_main.xml\\\");\\n// byte[] src = FileUtils.readBinaryFile(\\\"D:/Workspace/Java/ArscParser/AndroidManifest.xml\\\");\\n// ParseUtils.parseXml(src);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c4d10a43ed06d8d229005d9c55de0de\",\n \"score\": \"0.59432244\",\n \"text\": \"void main(String[] args);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e55aa022ad61235f07b002107208e690\",\n \"score\": \"0.59256756\",\n \"text\": \"public static void main(String args[]) {\\n\\n File file = new File(args[0]);\\n StudyPlanner studyPlanner = new StudyPlanner();\\n try {\\n studyPlanner.readFile(file);\\n } catch (FileNotFoundException e) {\\n e.printStackTrace();\\n }\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0ea1a7426d4bfd0c20177d4f2e096c04\",\n \"score\": \"0.59219664\",\n \"text\": \"public static void main(String[] args) {\\n\\n\\t\\t/** cntroller which will be executed */\\n\\t\\tString controller = \\\"emergence_NI.Agent\\\";\\n\\t\\tString parameter = \\\"\\\";\\n\\n\\t\\t/** game which will be played */\\n\\t\\tString gameStr = \\\"survivezombies\\\";\\n\\n\\t\\t// \\\"aliens\\\", \\\"boulderdash\\\", \\\"buterflies\\\", \\\"chase\\\", \\\"frogs\\\",\\n\\t\\t// \\\"missilecommand\\\", \\\"portals\\\", \\\"sokoban\\\", \\\"survivezombies\\\", \\\"zelda\\\",\\n\\t\\t// \\\"camelRace\\\", \\\"digdug\\\", \\\"firestorms\\\", \\\"infection\\\", \\\"firecaster\\\",\\n\\t\\t// \\\"overload\\\", \\\"pacman\\\", \\\"seaquest\\\", \\\"whackamole\\\", \\\"eggomania\\\"\\n\\n\\t\\t/** available games */\\n\\t\\tString gamesPath = \\\"examples/gridphysics/\\\";\\n\\n\\t\\t// Game and level to play\\n\\t\\tString game = gamesPath + gameStr + \\\".txt\\\";\\n\\n\\t\\tfor (int i = 0; i < 5; i++) {\\n\\t\\t\\tString level1 = gamesPath + gameStr + \\\"_lvl\\\" + i + \\\".txt\\\";\\n\\t\\t\\tExec.execute(controller, game, level1, parameter, true, true);\\n\\t\\t}\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"14ae4ebcc4d872bc640967005a082ce6\",\n \"score\": \"0.5921324\",\n \"text\": \"void run(String[] args);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6e8fde8cbd2bfe20a05f174c5ea1a59e\",\n \"score\": \"0.5917881\",\n \"text\": \"public static void main(String[]argv){\\t\\t\\n\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c96999bbc69f7a4b4638f7306f915673\",\n \"score\": \"0.59174865\",\n \"text\": \"private void parse(String[] args) {\\n CommandLine commandLine = null;\\n // Parse the command line.\\n CommandLineParser parser = new DefaultParser();\\n try {\\n // Parse the options and return the command line object.\\n commandLine = parser.parse(options, args);\\n\\n // Check to see if only help is requested.\\n if (commandLine.hasOption(\\\"help\\\")) {\\n System.out.println(\\\"RDT help:\\\");\\n printUsage();\\n System.exit(0);\\n }\\n\\n rdtInputFile = commandLine.getOptionValue(INPUT_LONG_FLAG);\\n outputFile = commandLine.getOptionValue(OUTPUT_LONG_FLAG);\\n busShpFile = commandLine.getOptionValue(BUS_SHP_LONG_FLAG);\\n genShpFile = commandLine.getOptionValue(GEN_SHP_LONG_FLAG);\\n loadShpFile = commandLine.getOptionValue(LOAD_SHP_LONG_FLAG);\\n branchShpFile = commandLine.getOptionValue(BRANCH_SHP_LONG_FLAG);\\n \\n busJSONFile = commandLine.getOptionValue(BUS_JSON_LONG_FLAG);\\n genJSONFile = commandLine.getOptionValue(GEN_JSON_LONG_FLAG);\\n loadJSONFile = commandLine.getOptionValue(LOAD_JSON_LONG_FLAG);\\n branchJSONFile = commandLine.getOptionValue(BRANCH_JSON_LONG_FLAG);\\n }\\n catch (ParseException exp) {\\n printUsage();\\n System.exit(1);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aa6ae29c50d16dd6dbb5ed59fa83df2f\",\n \"score\": \"0.58913714\",\n \"text\": \"public static void main(String argv[]) {\\n if (argv.length == 0) {\\n System.out.println(\\\"Usage : java lexico_replay [ --encoding ] \\\");\\n } else {\\n int firstFilePos = 0;\\n String encodingName = \\\"UTF-8\\\";\\n if (argv[0].equals(\\\"--encoding\\\")) {\\n firstFilePos = 2;\\n encodingName = argv[1];\\n try {\\n java.nio.charset.Charset.forName(encodingName); // Side-effect: is encodingName valid? \\n } catch (Exception e) {\\n System.out.println(\\\"Invalid encoding '\\\" + encodingName + \\\"'\\\");\\n return;\\n }\\n }\\n for (int i = firstFilePos; i < argv.length; i++) {\\n lexico_replay scanner = null;\\n try {\\n java.io.FileInputStream stream = new java.io.FileInputStream(argv[i]);\\n java.io.Reader reader = new java.io.InputStreamReader(stream, encodingName);\\n scanner = new lexico_replay(reader);\\n while (!scanner.zzAtEOF) {\\n scanner.debug_next_token();\\n }\\n } catch (java.io.FileNotFoundException e) {\\n System.out.println(\\\"File not found : \\\\\\\"\\\" + argv[i] + \\\"\\\\\\\"\\\");\\n } catch (java.io.IOException e) {\\n System.out.println(\\\"IO error scanning file \\\\\\\"\\\" + argv[i] + \\\"\\\\\\\"\\\");\\n System.out.println(e);\\n } catch (Exception e) {\\n System.out.println(\\\"Unexpected exception:\\\");\\n e.printStackTrace();\\n }\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2eff69934d604a38d0996562a2878cb1\",\n \"score\": \"0.5887879\",\n \"text\": \"protected static boolean readArgs(String[] args){\\n \\t\\t//initialise default values\\n \\t\\ttextFiles = \\\"./textFiles.txt\\\";\\n \\t\\tdoneFileName = \\\"./done.txt\\\";\\n \\t\\tfeatOutDirName = \\\"./features1\\\";\\n \\t\\tmaryHost = \\\"localhost\\\";\\n \\t\\tmaryPort = \\\"59125\\\";\\n \\t\\ttimeOutAfter = 30000;\\n \\t\\tunreliableLogFile = \\\"./unreliableSents.log\\\";\\n \\t\\tstrictCredibility = true;\\n \\t\\tbasenamesOutFile = \\\"./basenames.lst\\\";\\n \\t\\t\\n \\t\\t//now parse the args\\n \\t\\tint i = 0;\\n \\t\\twhile (args.length>i){\\n \\t\\t\\tSystem.out.println(args[i]);\\n \\t\\t\\tif (args[i].equals(\\\"-basenames\\\")){\\n \\t\\t\\t\\tif (args.length\\\");\\r\\n\\t\\t\\t\\t\\tSystem.exit(1);\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tdataDir = new File(args[++i]);\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\telse if(args[i].equalsIgnoreCase(\\\"-eext\\\"))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tif(args.length == i)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tSystem.err.println(\\\"Bad usage of -eext option. Syntax: -eext \\\");\\r\\n\\t\\t\\t\\t\\tSystem.exit(1);\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\telementExt = args[++i];\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\telse if(args[i].equalsIgnoreCase(\\\"-wext\\\"))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tif(args.length == i)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tSystem.err.println(\\\"Bad usage of -wext option. Syntax: -wext \\\");\\r\\n\\t\\t\\t\\t\\tSystem.exit(1);\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tworldExt = args[++i];\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\telse if(args[i].equalsIgnoreCase(\\\"-wfiles\\\"))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tif(args.length == i)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tSystem.err.println(\\\"Bad usage of -wfiles option. Syntax: -wfiles [world file [world file [...]]]\\\");\\r\\n\\t\\t\\t\\t\\tSystem.exit(1);\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tFile[] tmpFiles = new File[args.length];\\r\\n\\r\\n\\t\\t\\t\\t// We assume that there will be at least _one_ file.\\r\\n\\t\\t\\t\\ttmpFiles[0] = new File(args[i+1]);\\r\\n\\t\\t\\t\\tint j = 1;\\r\\n\\t\\t\\t\\twhile(args.length > i+j+1 && !args[i+j+1].startsWith(\\\"-\\\"))\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\ttmpFiles[j] = new File(args[i+j+1]);\\r\\n\\t\\t\\t\\t\\tj++;\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tworldFiles = new File[j];\\r\\n\\t\\t\\t\\tSystem.arraycopy(tmpFiles,0,worldFiles,0,j);\\r\\n\\t\\t\\t\\ti+=j;\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\telse if(args[i].equalsIgnoreCase(\\\"-efiles\\\"))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tif(args.length == i)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tSystem.err.println(\\\"Bad usage of -efiles option. Syntax: -efiles [element file [element file [...]]]\\\");\\r\\n\\t\\t\\t\\t\\tSystem.exit(1);\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tFile[] tmpFiles = new File[args.length];\\r\\n\\r\\n\\t\\t\\t\\t// We assume that there will be at least _one_ file.\\r\\n\\t\\t\\t\\ttmpFiles[0] = new File(args[i+1]);\\r\\n\\t\\t\\t\\tint j = 1;\\r\\n\\t\\t\\t\\twhile(args.length > i+j+1 && !args[i+j+1].startsWith(\\\"-\\\"))\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\ttmpFiles[j] = new File(args[i+j+1]);\\r\\n\\t\\t\\t\\t\\tj++;\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\telementFiles = new File[j];\\r\\n\\t\\t\\t\\tSystem.arraycopy(tmpFiles,0,elementFiles,0,j);\\r\\n\\t\\t\\t\\ti+=j;\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\telse if(args[i].equalsIgnoreCase(\\\"-p\\\"))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tif(args.length == i)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tSystem.err.println(\\\"Bad usage of -p option. Syntax: -p \\\");\\r\\n\\t\\t\\t\\t\\tSystem.exit(1);\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\ttry\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tport = Integer.parseInt(args[++i]);\\r\\n\\t\\t\\t\\t\\tif(port > Constants.MAX_PORT || port < Constants.MIN_PORT)\\r\\n\\t\\t\\t\\t\\t\\tport = Constants.DEF_PORT;\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tcatch(NumberFormatException nfe)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tport = Constants.DEF_PORT;\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\telse if(args[i].equalsIgnoreCase(\\\"-t\\\"))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tgui = false;\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\telse if(args[i].equalsIgnoreCase(\\\"-help\\\") || args[i].equalsIgnoreCase(\\\"-h\\\"))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tSystem.out.println(\\\"Syntax: java Server [options]\\\");\\r\\n\\t\\t\\t\\tSystem.out.println(\\\"Options:\\\");\\r\\n\\t\\t\\t\\tSystem.out.println(\\\" -h\\\\t\\\\tPrint this help screen\\\");\\r\\n\\t\\t\\t\\tSystem.out.println(\\\" -v\\\\t\\\\tRun in verbose mode\\\");\\r\\n\\t\\t\\t\\tSystem.out.println(\\\" -t\\\\t\\\\tRun in text mode\\\");\\r\\n\\t\\t\\t\\tSystem.out.println(\\\" -p \\\\tRun on port # \\\");\\r\\n\\t\\t\\t\\tSystem.out.println(\\\" -dir \\\\tLook for data files in directory \\\");\\r\\n\\t\\t\\t\\tSystem.out.println(\\\" -eext \\\\tLook in data dir for Element List files that have extension \\\");\\r\\n\\t\\t\\t\\tSystem.out.println(\\\" -wext \\\\tLook in data dir for World files that have extension \\\");\\r\\n\\t\\t\\t\\tSystem.out.println(\\\" -efiles [file [file [...]]]\\\\tOnly look for elements in the files specified\\\");\\r\\n\\t\\t\\t\\tSystem.out.println(\\\" -wfiles [file [file [...]]]\\\\tBuild the world only out of the files specified\\\");\\r\\n\\t\\t\\t\\tSystem.exit(0);\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\telse\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tSystem.err.println(\\\"Bad argument (ignoring): \\\" + args[i]);\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\tLogger myLogger = new Logger( verbose);\\r\\n\\t\\tElementFactory ef;\\r\\n\\t\\tWorldFactory wf;\\r\\n\\t\\tif(elementFiles != null)\\r\\n\\t\\t\\tef = new ElementFactory(elementFiles, myLogger);\\r\\n\\t\\telse\\r\\n\\t\\t\\tef = new ElementFactory(dataDir, elementExt, myLogger);\\r\\n\\r\\n\\t\\tif(worldFiles != null)\\r\\n\\t\\t\\twf = new WorldFactory(worldFiles, ef, myLogger);\\r\\n\\t\\telse\\r\\n\\t\\t\\twf = new WorldFactory(dataDir, worldExt, ef, myLogger);\\r\\n\\r\\n\\t\\t/* The GUI is optional so that it is easier to start the server\\r\\n\\t\\t * from a distance (e.g., using SSH).\\r\\n\\t\\t * - Omer.\\r\\n\\t\\t */\\r\\n\\t\\tif(gui)\\r\\n\\t\\t{\\r\\n\\t\\t\\t// MAKES THIS A CLOSEABLE WINDOW\\r\\n\\t\\t\\tJFrame window = new JFrame();\\r\\n\\t\\t\\twindow.setVisible(true);\\r\\n\\t\\t\\twindow.setTitle(\\\"CC Game - Server\\\");\\r\\n\\t\\t\\twindow.setSize(1,1);\\r\\n\\r\\n\\t\\t\\tJPanel panel = new JPanel();\\r\\n\\t\\t\\tpanel.setLayout(new BorderLayout());\\r\\n\\r\\n\\t\\t\\tJPanel canvasFrame = new JPanel();\\r\\n\\t\\t\\tpanel.add(canvasFrame, BorderLayout.CENTER);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t//menu bar\\r\\n\\t\\t\\tMenuBar menuBar;\\r\\n\\t\\t\\t\\t\\tMenu menu;\\r\\n\\t\\t\\t\\t\\tMenuItem menuItem;\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t//Create the menu bar.\\r\\n\\t\\t\\t\\t\\tmenuBar = new MenuBar();\\r\\n\\t\\t\\t\\t\\tmenu = new Menu(\\\"File\\\");\\r\\n\\t\\t\\t\\t\\tmenuBar.add(menu);\\r\\n\\t\\t\\t\\t\\tmenuItem = new MenuItem(\\\"PLEASE hit the \\\\\\\"X\\\\\\\" to close the server\\\");\\r\\n\\t\\t\\t\\t\\tmenu.add(menuItem);\\r\\n\\t\\t\\t\\t\\twindow.setMenuBar(menuBar);\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t// CLOSE THE WINDOW WITH THE \\\"X\\\"\\r\\n\\t\\t\\t\\t\\twindow.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\r\\n\\t\\t\\twindow.add(panel);\\r\\n\\t\\t\\twindow.pack();\\r\\n\\t\\t\\twindow.setSize(225, 50);\\r\\n\\t\\t\\twindow.setResizable(true);\\r\\n\\t\\t}\\r\\n\\t\\t\\r\\n\\t\\t//Server s = new Server(wf, ef, myLogger , port);// \\\"s\\\" is never read\\r\\n\\t\\tnew Server(wf, ef, dataDir, myLogger , port);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6d809dc2680896d96a7cd11c7947f266\",\n \"score\": \"0.58779913\",\n \"text\": \"public void parseArguments( String []args ) {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"efb03980900367c03c64353af37c11e1\",\n \"score\": \"0.5868205\",\n \"text\": \"public static void main(String args[]) {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78e141abbfedfb0b0f0e7046b6bb5f64\",\n \"score\": \"0.5868191\",\n \"text\": \"public static void main(String[] args) throws InterruptedException {\\n\\t\\t\\r\\n\\r\\n\\t\\tswitch (args[0]) {\\r\\n\\t\\tcase \\\"-h\\\":\\r\\n\\t\\t\\tSystem.out\\r\\n\\t\\t\\t\\t\\t.println(\\\"Help: \\\\nThis application searches for language links in language given as parameter and matching with\\\"\\r\\n\\t\\t\\t\\t\\t\\t\\t+ \\\"domain language. With parameter -r, backmap.\\\\nUsage:\\\\n\\\"\\r\\n\\t\\t\\t\\t\\t\\t\\t+ \\\"\\\\tDefault: parsing.jar [FILE_PAGE] [FILE_LANGLINKS] [LANGUAGE_1] [LANGUAGE_2]\\\\n\\\\n\\\"\\r\\n\\t\\t\\t\\t\\t\\t\\t+ \\\"\\\\t\\\\tFILE_PAGE - SQL dump from wikipedia where are stored all titles in domain language\\\\n\\\"\\r\\n\\t\\t\\t\\t\\t\\t\\t+ \\\"\\\\t\\\\tFILE_LANGLINKS - language links (SQL dump) from domain wikipedia where are stored all language links\\\\n\\\"\\r\\n\\t\\t\\t\\t\\t\\t\\t+ \\\"\\\\t\\\\tLANGUAGE_1 - domain language\\\\n\\\"\\r\\n\\t\\t\\t\\t\\t\\t\\t+ \\\"\\\\t\\\\tLANGUAGE_2 - language in which to search language links\\\\n\\\"\\r\\n\\t\\t\\t\\t\\t\\t\\t+ \\\"\\\\t -r: parsing.jar [FILE_PAGE_1] [FILE_LANGLINKS_1] [FILE_PAGE_2] [FILE_LANGLINKS_2] [LANGUAGE_1] [LANGUAGE_2]\\\\n\\\\n\\\"\\r\\n\\t\\t\\t\\t\\t\\t\\t+ \\\"\\\\t\\\\tFILE_LANGLINKS_2 - language links (SQL dump) from second wikipedia where are stored all language links\\\\n\\\"\\r\\n\\t\\t\\t\\t\\t\\t\\t+ \\\"\\\\t\\\\tFILE_PAGE_2 - language links (SQL dump) from second wikipedia where are stored all titles\\\\n\\\");\\r\\n\\t\\t\\tbreak;\\r\\n\\r\\n\\t\\tcase \\\"-r\\\":\\r\\n\\t\\t\\tSystem.out.println(\\\"Creating map from \\\" + args[1]\\r\\n\\t\\t\\t\\t\\t+ \\\" please wait...\\\");\\r\\n\\t\\t\\tDomainPageParser dpp = new DomainPageParser(args[1]);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tSystem.out.println(\\\"Creating map from \\\" + args[3] + \\\" please wait...\\\");\\r\\n\\t\\t\\tHostPageParser hpp = new HostPageParser(args[3]);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tSystem.out.println(\\\"Creating map from \\\" + args[4]\\r\\n\\t\\t\\t\\t\\t+ \\\" please wait...\\\");\\r\\n\\t\\t\\tHostLangLinksParser hllp = new HostLangLinksParser(args[4], args[5]);\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\r\\n\\t\\t\\tSystem.out.println(\\\"Operation started - searching for \\\"+args[6]+\\\" language links in \\\"+args[5]+\\\" wikipedia sql dump with back tra\\\"\\r\\n\\t\\t\\t\\t\\t+ \\\"cking in \\\"+args[4]+\\\" .\\\");\\r\\n\\t\\t\\t@SuppressWarnings(\\\"unused\\\")\\r\\n\\t\\t\\tLinker linker = new Linker(args[2], dpp, hllp, hpp, args[5],args[6]);\\r\\n\\t\\t\\tbreak;\\r\\n\\r\\n\\t\\tdefault: {\\r\\n\\t\\t\\tSystem.out.println(\\\"Creating map from \\\" + args[0] + \\\" please wait...\\\");\\r\\n\\t\\t\\tDomainPageParser dpp_d = new DomainPageParser(args[0]);\\r\\n\\t\\t\\tSystem.out.println(\\\"Operation started - searching for \\\"+args[3]+\\\" language links in \\\"+args[1]+\\\"\\\\n\\\");\\r\\n\\t\\t\\t@SuppressWarnings(\\\"unused\\\")\\r\\n\\t\\t\\tLinker linker_d = new Linker(args[1], dpp_d, args[2], args[3]);\\r\\n\\t\\t\\tbreak;\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3d82635575bcdc991823da8d53f7685a\",\n \"score\": \"0.585775\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"66efcc3cf388f90a42a3cbbd8ca74f30\",\n \"score\": \"0.58569574\",\n \"text\": \"public static void main(String[] args) {\\n\\t String inputFile = \\\"input.txt\\\";\\n\\t String outputFile = \\\"output.txt\\\";\\n\\n\\t // Run through the provided flags and perform appropriate action\\n\\t for (int i=0 ; i < args.length ; i++) {\\n\\n\\t // Argument flag found\\n\\t if (args[i].startsWith(\\\"-\\\")) {\\n\\t String argument = args[i].toLowerCase();\\n\\t switch (argument) {\\n\\n\\t //-i set the following argument to input filename and increments\\n\\t case \\\"-i\\\":\\n\\t inputFile = args[++i];\\n\\t break;\\n\\n\\t //-o set the following argument to output filename and increments\\n\\t case \\\"-o\\\":\\n\\t outputFile = args[++i];\\n\\t break;\\n\\t //-p will force the program to output the output.txt file for the user. \\n\\t case \\\"-p\\\":\\n\\t System.out.print(\\\"output.txt\\\");\\n\\t break;\\n\\t \\n\\t //-h will store the data into a HashMap\\n\\t case \\\"-h\\\":\\n\\t \\tbreak;\\n\\n\\t //-help display the usage\\n\\t case \\\"-help\\\":\\n\\t System.out.println(\\\"Usage: java main [-i filename] [-o filename]\\\");\\n\\t System.out.println(\\\" -i filename: Input text file name needed (eg. -i input.txt)\\\");\\n\\t System.out.println(\\\" -o filename: output text file name needed (eg. -o output.txt)\\\");\\n\\t System.out.println(\\\" -p : No file exists (output.txt). Please have an output.txt avaliable!\\\");\\n\\t return;\\n\\n\\t // Case invalid flags are received, display prompt for help\\n\\t default:\\n\\t System.err.println(\\\"Invalid Flag: Type -help for valid flags\\\");\\n\\t return;\\n\\t }\\n\\t }\\n\\t }\\n\\t Phase3GUI mainProgram = new Phase3GUI();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b12f8acf4f9a3d53472c213c84886362\",\n \"score\": \"0.5854936\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t\\n\\t\\t//ExperimentRunner.runStatistics( \\\"output/MinMaxVRP/Kelly/std_all/\\\",\\\"output/MinMaxVRP/Kelly/std_all/statistic.txt\\\");\\n\\t\\t\\n\\t\\t\\n\\t\\t//ExperimentRunner.runStatistics( \\\"output/MinMaxVRP/Christophides/std-all-round-euclide-distance/\\\",\\\"output/MinMaxVRP/Christophides/std-all-round-euclide-distance/statistic.txt\\\");\\n\\t\\tString[] type = new String[]{\\\"F-VRP\\\", \\\"CMT\\\", \\\"CE-VRP\\\"};\\n\\t\\tfor(int i = 0; i < type.length;i++){\\n\\t\\t\\tExperimentRunner.runExperiments(type[i]);\\n\\t\\t\\tExperimentRunner.runStatistics(type[i], \\\"data/output/MinMaxVRP/\\\" + type[i] +\\\"/std_all/\\\", \\\"data/output/MinMaxVRP/\\\" + type[i] + \\\"/std_all/statistic.txt\\\");\\n\\t\\t}\\n\\t\\t//ExperimentRunner.runStatistics( \\\"output/MinMaxVRP/Kelly/std_all/\\\",\\\"output/MinMaxVRP/Kelly/std_all/statistic.txt\\\");\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"be7c2252cc2e3973213d8f99d3915bef\",\n \"score\": \"0.58514535\",\n \"text\": \"private void run( String[] args ) {\\n\\tparseSpecificCommandLine( args );\\n\\t// Usually do process here\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ffa2ebe474861fbac86dec1e9e1a0c0\",\n \"score\": \"0.58494735\",\n \"text\": \"public static void main (String[]args){\\n\\t\\ttestaaTuote();\\n\\t\\ttestaaVarasto();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1cb4431043b1290efb30b0bce37a8ba2\",\n \"score\": \"0.5846669\",\n \"text\": \"public static void main (String args [])\\n {\\n\\tFile inFile = new File (args [0]);\\n\\tPRM prm = new PRM (inFile);\\n\\t\\n\\t\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b4c3cb95b20e7df7622e9aaa3f353579\",\n \"score\": \"0.5841529\",\n \"text\": \"private void parseArguments(String[] args) {\\n CommandLineParser parser = new GnuParser();\\n CommandLine cmdLine = null;\\n try {\\n cmdLine = parser.parse(options, args);\\n } catch (ParseException e) {\\n showHelp(\\\"Error parsing command-line options: \\\" + e.getMessage(), 1);\\n }\\n\\n if (cmdLine.hasOption(HELP_OPTION)) {\\n showHelp(null, 0);\\n }\\n\\n listTables = (cmdLine.hasOption(LIST_TABLES_OPTION));\\n extractAll = (cmdLine.hasOption(EXTRACT_ALL));\\n\\n if (cmdLine.hasOption(INDEX_OPTION)) {\\n tableIndex = Integer.parseInt(cmdLine.getOptionValue(INDEX_OPTION));\\n } else {\\n tableIndex = 1;\\n }\\n\\n if (cmdLine.hasOption(DATA_FILE_OPTION)) {\\n dataFile = new File(cmdLine.getOptionValue(DATA_FILE_OPTION));\\n } else {\\n dataFile = null;\\n }\\n\\n String[] files = cmdLine.getArgs();\\n if (files.length == 0) {\\n showHelp(\\\"A label file is required\\\", 1);\\n }\\n\\n try {\\n labelUrl = new URL(files[0]);\\n } catch (MalformedURLException u) {\\n File file = new File(files[0]);\\n file = file.getAbsoluteFile();\\n try {\\n labelUrl = file.toURI().toURL();\\n } catch (MalformedURLException mu) {\\n mu.printStackTrace();\\n System.exit(1);\\n }\\n }\\n\\n if (cmdLine.hasOption(CSV_OPTION)) {\\n format = OutputFormat.CSV;\\n } else {\\n format = OutputFormat.FIXED_WIDTH;\\n }\\n\\n if (cmdLine.hasOption(FIELD_SEPARATOR_OPTION)) {\\n fieldSeparator = cmdLine.getOptionValue(FIELD_SEPARATOR_OPTION);\\n } else if (format == OutputFormat.FIXED_WIDTH) {\\n fieldSeparator = \\\" \\\";\\n } else {\\n fieldSeparator = \\\",\\\";\\n }\\n\\n if (cmdLine.hasOption(QUOTE_CHARACTER_OPTION)) {\\n quoteCharacter = cmdLine.getOptionValue(QUOTE_CHARACTER_OPTION);\\n } else {\\n quoteCharacter = \\\"\\\\\\\"\\\";\\n }\\n quoteCharacterPattern = Pattern.compile(\\\"\\\\\\\\Q\\\" + quoteCharacter + \\\"\\\\\\\\E\\\");\\n\\n if (cmdLine.hasOption(WINDOWS_OPTION)) {\\n lineSeparator = \\\"\\\\r\\\\n\\\";\\n } else if (cmdLine.hasOption(UNIX_OPTION)) {\\n lineSeparator = \\\"\\\\n\\\";\\n } else {\\n lineSeparator = System.getProperty(\\\"line.separator\\\");\\n }\\n\\n if (!cmdLine.hasOption(FIELDS_OPTION)) {\\n requestedFields = null;\\n } else {\\n requestedFields = cmdLine.getOptionValue(FIELDS_OPTION).split(\\\" *, *\\\");\\n }\\n\\n if (cmdLine.hasOption(OUTPUT_FILE_OPTION)) {\\n outputFile = new File(cmdLine.getOptionValue(OUTPUT_FILE_OPTION));\\n } else {\\n outputFile = null;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e72fd229e9e97848e7a54d4dd340942\",\n \"score\": \"0.5839849\",\n \"text\": \"public static void main(String args[]){\\n\\t\\t\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ad191a344755df5bdd745b759dd2f651\",\n \"score\": \"0.5838524\",\n \"text\": \"public static void main(String args[])\\n {\\n if ((args == null) || (args.length >2 )\\n || args[ 0 ].equals(\\\"--help\\\"))\\n {\\n System.out.println(\\n \\\"FormulaViewer .8 proof that the devil lies in the details (or just in BIFF8 files in general)\\\");\\n System.out.println(\\\"usage: Give me a big fat file name\\\");\\n } else if (args[0].equals(\\\"--listFunctions\\\")) { // undocumented attribute to research functions!~\\n try {\\n FormulaViewer viewer = new FormulaViewer();\\n viewer.setFile(args[1]);\\n viewer.setList(true);\\n viewer.run();\\n }\\n catch (Exception e) {\\n System.out.println(\\\"Whoops!\\\");\\n e.printStackTrace();\\n }\\n }\\n else\\n {\\n try\\n {\\n FormulaViewer viewer = new FormulaViewer();\\n \\n viewer.setFile(args[ 0 ]);\\n viewer.run();\\n }\\n catch (Exception e)\\n {\\n System.out.println(\\\"Whoops!\\\");\\n e.printStackTrace();\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"83ec4ad3fac619fa7da45604b7e06dc7\",\n \"score\": \"0.58375233\",\n \"text\": \"public static void main(String argv[])\\n\\t{\\n\\t\\t\\n\\t\\tsetLex( argv[0], argv[1] );\\n\\t\\t\\n\\t\\tgetToken();\\n\\n\\t//\\tAssignmentList assignmentList = assignmentList(); // build a parse tree\\n\\t\\tProgram program = program();\\n\\t\\tif ( ! t.isEmpty() )\\n\\t\\t\\tdisplayln(t + \\\" -- unexpected symbol\\\");\\n\\t\\telse if ( ! errorFound )\\n\\t\\t{ System.out.println(\\\"end of file\\\");\\n\\t\\t\\tprogram.printParseTree(\\\"\\\"); // print the parse tree in linearly indented form in argv[1] file\\n\\t\\t}\\n\\t\\tcloseIO();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eb7aef70ee504fcad52fcebed6bdf411\",\n \"score\": \"0.58318764\",\n \"text\": \"public static void main(String[] args) {\\n\\n\\t\\t\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2b907cbff3b4632352e6043cd82527b9\",\n \"score\": \"0.582599\",\n \"text\": \"public static void main(String[] arguments) {\\n\\n\\t\\t\\tList CurrentUsers = new ArrayList();\\n\\t\\t\\tList allPostsByAllUsers = new ArrayList();\\n\\n\\t\\t\\tloadUserInfoFile(\\\"People.txt\\\", CurrentUsers);\\n\\t\\t\\tloadRelationshipInfoFile(\\\"Relationships.txt\\\", CurrentUsers);\\n\\t\\t\\tloadPostInfoFile(\\\"Posts.txt\\\", CurrentUsers, allPostsByAllUsers);\\n\\t\\t\\tdisplayUserTimelines(CurrentUsers, allPostsByAllUsers);\\n\\t\\t\\t\\t\\t\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"555b9b05a689ed470750b1072441dc35\",\n \"score\": \"0.5819761\",\n \"text\": \"public static void main(String[] args) {\\n try {\\n if (args.length == 0) {\\n//java jmetal.metaheuristics.bfnw.BFNW DTLZ1_20D DTLZ1.20D.1000.pf 10 100000 BinaryTournament 0.01 foo\\n// BFWN_main.main(new String[]{\\\"DTLZ7\\\",\\\"originalParetoFronts\\\\\\\\DTLZ7.3D.pf\\\",\\\"10\\\", \\\"true\\\", \\\"true\\\", \\\"0.01\\\"});\\n// SMSEMOA_main.main(new String[]{\\\"WFG1\\\", \\\"originalParetoFronts\\\\\\\\WFG1.2D.pf\\\", \\\"10\\\", \\\"true\\\", \\\"true\\\", \\\"0.001\\\", \\\"true\\\",\\\"1500\\\",\\\"RandomSelection\\\"}); //problem, Pareto front, pop size, doCrossover, doMutation\\n// SMSEMOA_main.main(new String[]{\\\"DTLZ1_20D\\\", \\\"originalParetoFronts\\\\\\\\DTLZ1.20D.1000.pf\\\", \\\"10\\\", \\\"true\\\", \\\"true\\\", \\\"0.01\\\", \\\"true\\\",\\\"50000\\\",\\\"BinaryTournament\\\",\\\"foo\\\"}); //problem, Pareto front, pop size, doCrossover, doMutation\\n// SMSEMOA_main.main(new String[]{\\\"LZ09_F5\\\", \\\"originalParetoFronts\\\\\\\\LZ09_F5.pf\\\", \\\"100\\\", \\\"true\\\", \\\"true\\\", \\\"0.01\\\", \\\"false\\\",\\\"150000\\\",\\\"BinaryTournament\\\",\\\"foo\\\"}); //problem, Pareto front, pop size, doCrossover, doMutation\\nSMSEMOA_main.main(new String[]{\\\"DTLZ1_2D\\\", \\\"originalParetoFronts\\\\\\\\DTLZ1.2D.10000.pf\\\", \\\"100\\\", \\\"true\\\", \\\"true\\\", \\\"0.01\\\", \\\"false\\\",\\\"200000\\\",\\\"BinaryTournament\\\",\\\"foo\\\"}); //problem, Pareto front, pop size, doCrossover, doMutation \\n//SMSEMOA_main.main(new String[]{\\\"DTLZ1_2D\\\", \\\"originalParetoFronts\\\\\\\\DTLZ1.2D.10000.pf\\\", \\\"100\\\", \\\"true\\\", \\\"true\\\", \\\"0.01\\\", \\\"false\\\",\\\"10000\\\",\\\"BinaryTournament\\\",\\\"foo\\\"}); //problem, Pareto front, pop size, doCrossover, doMutation\\n// SMSEMOA_main.main(new String[]{\\\"DTLZ3_10D\\\", \\\"originalParetoFronts\\\\\\\\DTLZ2.10D.100000.pf\\\", \\\"10\\\", \\\"true\\\", \\\"true\\\", \\\"0.001\\\", \\\"true\\\",\\\"1500\\\",\\\"BinaryTournament\\\",\\\"\\\"}); //problem, Pareto front, pop size, doCrossover, doMutation\\n// SMSEMOA_main.main(new String[]{\\\"WFG2\\\", \\\"originalParetoFronts\\\\\\\\WFG2.2D.pf\\\", \\\"10\\\", \\\"true\\\", \\\"true\\\", \\\"0.001\\\", \\\"true\\\",\\\"150000\\\",\\\"RandomSelection\\\",\\\"\\\"});\\n// SMSEMOA_main.main(new String[]{\\\"WFG1\\\", \\\"originalParetoFronts\\\\\\\\WFG1.2D.pf\\\", \\\"10\\\", \\\"true\\\", \\\"true\\\", \\\"0.001\\\", \\\"true\\\",\\\"1500\\\",\\\"RandomSelection\\\",\\\"\\\"});\\n// BFWN_main.main(new String[]{\\\"WFG3\\\", \\\"originalParetoFronts\\\\\\\\WFG3.2D.pf\\\", \\\"10\\\", \\\"true\\\", \\\"true\\\", \\\"0.01\\\"}); //problem, Pareto front, pop size, doCrossover, doMutation\\n// BFWN_main.main(new String[]{\\\"DTLZ7\\\", \\\"nopf\\\", \\\"10\\\", \\\"true\\\", \\\"true\\\", \\\"0.1\\\", \\\"true\\\"}); //problem, Pareto front, pop size, doCrossover, doMutation\\n// BFWN_main.main(new String[]{\\\"Water\\\", \\\"originalParetoFronts\\\\\\\\Water.pf\\\", \\\"10\\\", \\\"true\\\", \\\"true\\\", \\\"0.001\\\", \\\"true\\\"}); //problem, Pareto front, pop size, doCrossover, doMutation\\n// BFWN_main.main(new String[]{\\\"ZDT3\\\", \\\"originalParetoFronts\\\\\\\\ZDT3.pf\\\", \\\"10\\\", \\\"true\\\", \\\"true\\\", \\\"0.001\\\"}); //problem, Pareto front, pop size, doCrossover, doMutation\\n// BFWN_main.main(new String[]{\\\"Kursawe\\\",\\\"originalParetoFronts\\\\\\\\Kursawe.pf\\\",\\\"50\\\"});\\n// BFWN_main.main(new String[]{\\\"WFG1\\\",\\\"originalParetoFronts\\\\\\\\WFG1.2D.pf\\\"});\\n }\\n\\n else if (args.length==7) {\\n // in case it is called via the commandline with parameters...\\n SMSEMOA_main.main(new String[]{\\n args[0], // problem\\n \\\"originalParetoFronts/\\\"+args[1], // pf-file, without the directory\\n args[2], // mu\\n \\\"true\\\", // doXO\\n \\\"true\\\", // doMUT\\n args[5], // epsilonGridWidth\\n \\\"true\\\", // do outputs for runs on MPI cluster\\n args[3], // max evaluations\\n args[4], // selection strategy\\n args[6] // subDirectory name for infoprinter\\n });\\n } else System.out.println(\\\"unsuitable number of parameters. EXIT.\\\");\\n\\n } catch (Exception ex) {\\n// Logger.getLogger(BFNW.class.getName()).log(Level.SEVERE, null, ex);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"874c645de77330c226c72b7d2d280f89\",\n \"score\": \"0.58152515\",\n \"text\": \"public static void main(String[] args) {\\n while(true) {\\n String line = input();\\n String[] argsL = line.split(\\\" \\\");\\n write('$' + line);\\n\\n if (argsL[0].equals(\\\"occurr\\\") ) { write(\\\"\\\" + occurr(strToVet(argsL[1]))); }\\n else if(argsL[0].equals(\\\"teams\\\" ) ) { write(\\\"\\\" + teams(strToVet(argsL[1]))); }\\n else if(argsL[0].equals(\\\"mnext\\\" ) ) { write(\\\"\\\" + mnext(strToVet(argsL[1]))); }\\n else if(argsL[0].equals(\\\"alone\\\" ) ) { write(\\\"\\\" + alone(strToVet(argsL[1]))); }\\n else if(argsL[0].equals(\\\"erase\\\" ) ) { write(\\\"\\\" + erase(strToVet(argsL[1]), strToVet(argsL[2]))); }\\n else if(argsL[0].equals(\\\"clear\\\" ) ) { write(\\\"\\\" + clear(strToVet(argsL[1]), number(argsL[2]))); }\\n else if(argsL[0].equals(\\\"subseq\\\") ) { write(\\\"\\\" + subseq(strToVet(argsL[1]), strToVet(argsL[2]))); }\\n else if(argsL[0].equals(\\\"couple\\\") ) { write(\\\"\\\" + couple(strToVet(argsL[1]))); }\\n else if(argsL[0].equals(\\\"end\\\" ) ) { break; }\\n else { write(\\\"Invalid command\\\"); }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c068c7ba9425c6edef1b777f77cac27a\",\n \"score\": \"0.58129686\",\n \"text\": \"static public void main(String args[]) {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7bf736eae831bbd3cb164123071fcf7a\",\n \"score\": \"0.5812885\",\n \"text\": \"public static void main(String[] args) {\\r\\n\\r\\n idxManageContext IRRSource = null;\\r\\n\\r\\n String IRRHost = null;\\r\\n String IRRPrincipal = null;\\r\\n String IRRCredentials = null;\\r\\n\\r\\n String INPUT_FILENAME = null;\\r\\n\\r\\n boolean VERBOSE = false;\\r\\n\\r\\n String METHODNAME = \\\"main\\\";\\r\\n\\r\\n // ****************************************\\r\\n // Send the Greeting.\\r\\n System.out.println(MP + VERSION);\\r\\n\\r\\n // ****************************************\\r\\n // Parse the incoming Arguments and\\r\\n // create objects for each entity.\\r\\n //\\r\\n idxArgParser Zin = new idxArgParser();\\r\\n Zin.parse(args);\\r\\n\\r\\n // ***************************************\\r\\n // Do I have any unnamed Values?\\r\\n if (!Zin.IsUnNamedEmpty()) {\\r\\n System.out.println(MP + \\\"Unknown Values Encountered, Terminating Process.\\\");\\r\\n Zin.showUnNamed();\\r\\n Usage();\\r\\n } // End of If.\\r\\n\\r\\n // ***************************************\\r\\n // Was Version Info Requested?\\r\\n if (Zin.doesNameExist(\\\"version\\\")) {\\r\\n System.exit(EXIT_VERSION);\\r\\n }\\r\\n\\r\\n // ***************************************\\r\\n // Was Help Info Requested?\\r\\n if ((Zin.doesNameExist(\\\"?\\\")) ||\\r\\n (Zin.doesNameExist(\\\"usage\\\"))) {\\r\\n Usage();\\r\\n }\\r\\n\\r\\n // ***************************************\\r\\n // Was Verbosity Requested?\\r\\n if (Zin.doesNameExist(\\\"verbose\\\")) {\\r\\n VERBOSE = true;\\r\\n }\\r\\n\\r\\n // ***************************************\\r\\n // Show Arguments if Verbose Selected.\\r\\n if (VERBOSE) {\\r\\n Zin.show();\\r\\n }\\r\\n\\r\\n // ***************************************\\r\\n // Build our verification Rule Set.\\r\\n //\\r\\n // idxArgVerificationRules Parameters are:\\r\\n // String Name of argument name.\\r\\n // Boolean Required Argument Indicator.\\r\\n // Boolean StringObject Argument Indicator.\\r\\n // String Name of Value Verification Routine.\\r\\n //\\r\\n LinkedList VAR = new LinkedList<>();\\r\\n\\r\\n VAR.add(new idxArgVerificationRules(\\\"hosturl\\\",\\r\\n true, true));\\r\\n\\r\\n VAR.add(new idxArgVerificationRules(\\\"irrid\\\",\\r\\n false, true));\\r\\n\\r\\n VAR.add(new idxArgVerificationRules(\\\"irrpw\\\",\\r\\n false, true));\\r\\n\\r\\n VAR.add(new idxArgVerificationRules(\\\"idu\\\",\\r\\n false, true));\\r\\n\\r\\n VAR.add(new idxArgVerificationRules(\\\"infile\\\",\\r\\n true, true));\\r\\n\\r\\n VAR.add(new idxArgVerificationRules(\\\"verbose\\\",\\r\\n false, false));\\r\\n\\r\\n // ***************************************\\r\\n // Run the Verification Rule Set.\\r\\n // If we do not have a positive return,\\r\\n // then an invalid argument was detected,\\r\\n // so show Usage and die. \\r\\n //\\r\\n idxArgVerifier AV = new idxArgVerifier();\\r\\n AV.setVerbose(VERBOSE);\\r\\n if (!AV.Verify(MP, Zin, VAR)) {\\r\\n Usage();\\r\\n }\\r\\n\\r\\n // ***************************************\\r\\n // Obtain Authentication Principal and\\r\\n // Credentials from the KeyStore or\\r\\n // the command line.\\r\\n //\\r\\n CommandLinePrincipalCredentials clPC =\\r\\n new CommandLinePrincipalCredentials(Zin);\\r\\n\\r\\n // **************************************************\\r\\n // Load up the Principal/Credentials.\\r\\n //\\r\\n if (clPC.wasObtained()) {\\r\\n IRRPrincipal = clPC.getPrincipal();\\r\\n System.out.println(MP + \\\"IRR ID:[\\\" + IRRPrincipal + \\\"]\\\");\\r\\n\\r\\n IRRCredentials = clPC.getCredentials();\\r\\n //System.out.println(MP+\\\"IRR Password:[\\\"+IRRCredentials+\\\"]\\\");\\r\\n } else {\\r\\n System.out.println(MP + \\\"Required Principal and Credentials not Specified, unable to continue.\\\");\\r\\n Usage();\\r\\n } // End of Else.\\r\\n\\r\\n // **************************************************\\r\\n // Load up the RunTime Arguments.\\r\\n //\\r\\n IRRHost = (String) Zin.getValue(\\\"hosturl\\\");\\r\\n System.out.println(MP + \\\"IRR Host URL:[\\\" + IRRHost + \\\"]\\\");\\r\\n\\r\\n INPUT_FILENAME = ((String) Zin.getValue(\\\"infile\\\")).trim();\\r\\n System.out.println(MP + \\\"Input File:[\\\" + INPUT_FILENAME + \\\"]\\\");\\r\\n\\r\\n // ****************************************\\r\\n // Note The Start Time.\\r\\n idxElapsedTime elt = new idxElapsedTime();\\r\\n\\r\\n // ***********************************************\\r\\n // Now initiate a Connection to the Directory\\r\\n // for a LDAP Source Context\\r\\n System.out.println(MP + \\\"Attempting Source Directory Connection to Host URL:[\\\" + IRRHost + \\\"]\\\");\\r\\n\\r\\n IRRSource = new idxManageContext(IRRHost,\\r\\n IRRPrincipal,\\r\\n IRRCredentials,\\r\\n \\\"ModificationEntry Source\\\");\\r\\n\\r\\n // ************************************************\\r\\n // Exit on all Exceptions.\\r\\n IRRSource.setExitOnException(true);\\r\\n\\r\\n // ************************************************\\r\\n // Now Try to Open and Obtain Context.\\r\\n try {\\r\\n IRRSource.open();\\r\\n } catch (Exception e) {\\r\\n System.err.println(MP + e);\\r\\n System.exit(EXIT_IRR_UNABLE_TO_OBTAIN_CONTEXT);\\r\\n } // End of exception\\r\\n\\r\\n // ************************************************\\r\\n // Disable Factories.\\r\\n try {\\r\\n IRRSource.disableDSAEFactories();\\r\\n } catch (Exception e) {\\r\\n System.err.println(MP + e);\\r\\n System.exit(EXIT_GENERIC_FAILURE);\\r\\n } // End of exception\\r\\n\\r\\n // ****************************************\\r\\n // Initailize Constructor.\\r\\n IRRmodifyEntry FUNCTION = new IRRmodifyEntry();\\r\\n\\r\\n // ****************************************\\r\\n // Perform Function.\\r\\n try {\\r\\n FUNCTION.perform(IRRSource.irrctx, INPUT_FILENAME);\\r\\n\\r\\n // ****************************************\\r\\n // Show the Statistics\\r\\n FUNCTION.dumpStats();\\r\\n FUNCTION.dumpAttributeStats();\\r\\n\\r\\n } catch (Exception e) {\\r\\n System.err.println(MP + \\\"IRR Exception Performing IRRmodifyEntry.\\\\n\\\" + e);\\r\\n System.exit(EXIT_GENERIC_FAILURE);\\r\\n } // End of Exception.\\r\\n\\r\\n // ***************************************\\r\\n // Close up Shop.\\r\\n System.out.println(MP + \\\"Closing Destination Directory Context.\\\");\\r\\n try {\\r\\n IRRSource.close();\\r\\n } catch (Exception e) {\\r\\n System.err.println(e);\\r\\n System.exit(EXIT_IRR_CLOSE_FAILURE);\\r\\n } // End of exception\\r\\n\\r\\n // ****************************************\\r\\n // Note The End Time.\\r\\n elt.setEnd();\\r\\n\\r\\n // ****************************************\\r\\n // Exit\\r\\n System.out.println(MP + \\\"Done, Elapsed Time: \\\" + elt.getElapsed());\\r\\n System.exit(EXIT_SUCCESSFUL);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"14f9e39c47ad8819b4388ea4b861339e\",\n \"score\": \"0.5812816\",\n \"text\": \"public static void main(String arg[]){\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"43faddfa261eeabe17555498ed20ffdc\",\n \"score\": \"0.5810845\",\n \"text\": \"public static void main(String[] args) {\\n //Case no arguments passed - start a game with four levels\\n GameFlow flow = new GameFlow();\\n List levels = new ArrayList();\\n if (args.length == 0) {\\n levels.add(new DirectHit());\\n levels.add(new WideEasy());\\n levels.add(new Green3());\\n levels.add(new FinalFour());\\n\\n flow.runLevels(levels);\\n\\n /*Case 'ant run' without 'Dargs' used - args length is 1\\n *Case it's not a digit between 1 and 4 - start a game with four levels\\n */\\n } else if (args.length == 1 && !isDigitBetweenOneAndFour(args[0])) {\\n levels.add(new DirectHit());\\n levels.add(new WideEasy());\\n levels.add(new Green3());\\n levels.add(new FinalFour());\\n\\n flow.runLevels(levels);\\n //Case arguments passed - filter the levels and ignore the rest of the arguments\\n } else {\\n int level;\\n\\n //Loop through all the arguments\\n for (int i = 0; i < args.length; i++) {\\n //Case argument isn't one of the digits 1-4 - skip it\\n if (!isDigitBetweenOneAndFour(args[i])) {\\n continue;\\n }\\n\\n //Parse the level to an integer\\n level = Integer.parseInt(args[i]);\\n\\n //Add the matching level to the levels list\\n if (level == 1) {\\n levels.add(new DirectHit());\\n } else if (level == 2) {\\n levels.add(new WideEasy());\\n } else if (level == 3) {\\n levels.add(new Green3());\\n } else if (level == 4) {\\n levels.add(new FinalFour());\\n }\\n }\\n\\n //Case the list isn't empty - run the game with the levels in it\\n if (!levels.isEmpty()) {\\n flow.runLevels(levels);\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b11e69772e6e2b10a24d979f7b48856c\",\n \"score\": \"0.5809725\",\n \"text\": \"public static void main(String[] args) {\\n\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b11e69772e6e2b10a24d979f7b48856c\",\n \"score\": \"0.5809725\",\n \"text\": \"public static void main(String[] args) {\\n\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bfeeee389347ae87e22e7d4349de0bf8\",\n \"score\": \"0.5806517\",\n \"text\": \"public static void main(String[] args) {\\n\\n// //Generate inputfile\\n// Xmladder myxmladder = new Xmladder();\\n// File inputfile = Xmladder.startyazgetinputfile();\\n\\n String info1 =\\n \\\"[Info] Welcome, XMLadder transforms your compatible-xml-recordfile into an injection-ready-XML File! Please use the progam like this: xmladder.jar inputfile.xml outputfile.xml.\\\";\\n String info2 =\\n \\\"[Info] No args found. Please set args1 for an input- and args2 for an outputfile. Program will exit now!\\\";\\n String info3a = \\\"[Info] Found one Argument(arg)! Creating outputfile.\\\";\\n String info3b = \\\"[Info] Found two Arguments(arg)! Creating outputfile.\\\";\\n String info4a =\\n \\\"[Info] Outputfile as defined in the properties-File. Please check the Files in your Texteditor!: Propertiesfile:\\\";\\n String info4b = \\\"[Info] Please check the Files in your Texteditor! Inputfile + Generated Outputfile:\\\";\\n\\n File propertiesFile = null;\\n List argsList = null;\\n System.out.println(info1);\\n\\n //case 1 - args = 1 -> 1arg (args[0] is the properties-file-path!)\\n if ( args.length == 1 ) {\\n System.out.println(info3a);\\n\\n propertiesFile = new File(args[0]);\\n\\n new Xmladder(propertiesFile);\\n System.out.println(info4a + args[0]);\\n }\\n\\n //case 2 - args = 2 or higher -> 2args (inputfile, outputfile)\\n else if ( args.length == 2 ) {\\n System.out.println(info3b);\\n\\n argsList = new ArrayList();\\n argsList.add(args[0]);\\n argsList.add(args[1]);\\n\\n new Xmladder(argsList);\\n System.out.println(info4b + args[0] + args[1]);\\n }\\n\\n //case 3 - no args -> exit\\n else if ( args.length != 1 && args.length != 2 ) {\\n System.out.println(info2);\\n System.exit(1);\\n }\\n\\n System.out.println(\\\"[Info] Programm terminated\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"091cc6d0a45a4ca692ebd352aba6cab7\",\n \"score\": \"0.58010507\",\n \"text\": \"public static void main(String[] args) throws Exception {\\n for(int i = 0; i < args.length; i++) {\\n TestParser prsr = new TestParser(new File(args[i]));\\n prsr.parse();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ec6aa785e9304624891c73e910004a83\",\n \"score\": \"0.57980597\",\n \"text\": \"static public void main(String[] args) {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"93751b49d9a3c1c84090e16d0006841b\",\n \"score\": \"0.57936764\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t\\n\\tgetRev(167);\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d2be55dfbcf50b516902b07d88fc1318\",\n \"score\": \"0.5793586\",\n \"text\": \"private static String[] loadArgs(Parser p, String [] args) {\\n String[] leftOvers = null;\\n try {\\n leftOvers = p.parse(args);\\n } catch(Parser.MissingValueException ex) {\\n System.err.println(\\\"Missing value after \\\" + ex.arg);\\n System.exit(1);\\n } catch(Parser.UnknownArgumentException ex) {\\n System.err.println(\\\"Invalid argument: \\\" + ex.arg);\\n System.exit(1);\\n } catch (NumberFormatException ex) {\\n System.err.println(\\\"Number parsing error\\\");\\n System.exit(1);\\n }\\n\\n return leftOvers;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2f2fdc6ebad494003a5933190ad3c613\",\n \"score\": \"0.5790142\",\n \"text\": \"public static void main(String[] args)\\n {\\n OSArguments osa= new OSArguments(args);\\n if ( osa.contains(\\\"-procfolder\\\") ) {\\n String folderPath= osa.get(\\\"-procfolder\\\");\\n return;\\n }\\n \\n\\tHashString hasht= new HashString();\\n hasht.setEncoding(\\\"ISO-8859-1\\\");\\n\\tString command;\\n\\n\\twhile ( true ) {\\n\\t System.out.print(\\\"HashString> \\\");\\n\\t command= Toolkit.readLn().trim();\\n\\t if ( command.startsWith(\\\"exit\\\") ) {\\n break;\\n }\\n\\t parse(command,hasht);\\n\\t}\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"529ae88757c3d550c4175d9af038a250\",\n \"score\": \"0.57854825\",\n \"text\": \"public static void main(String[] args) {\\n // Sets variable to print testing information\\n ParseFile.parseTest = true;\\n\\n // Sets substring length\\n int k = Integer.parseInt(args[0]);\\n\\n // Sets file to parse from user input\\n File gbk_file = new File(args[1]);\\n\\n // Parses subsequences from found DNA sequence strings\\n ParseFile.parseGbk(gbk_file, k, null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d1d2f6141f1e4bc1159e0286ac82479\",\n \"score\": \"0.57851774\",\n \"text\": \"static void main(String[] args) {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d1d2f6141f1e4bc1159e0286ac82479\",\n \"score\": \"0.57851774\",\n \"text\": \"static void main(String[] args) {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eae3a6ab08661ed666d1d070e43086be\",\n \"score\": \"0.578459\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eae3a6ab08661ed666d1d070e43086be\",\n \"score\": \"0.578459\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eae3a6ab08661ed666d1d070e43086be\",\n \"score\": \"0.578459\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54601e67a2dcc5b02a4ea08390bb4ba8\",\n \"score\": \"0.57791483\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t \\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9674e84cb0ba23d830d546f5886d33b0\",\n \"score\": \"0.5777236\",\n \"text\": \"public static void main(String[] args) \\r\\n\\t{\\n\\t\\tcheckProperArgs(args);\\r\\n\\t\\t\\r\\n\\t\\t//Creating any necessary directories\\r\\n\\t\\tFile dir = new File(args[1]);\\r\\n\\t\\tif (!dir.exists()) dir.mkdirs(); \\t\\r\\n\\t\\t\\r\\n\\t\\tdir = new File(args[2]); \\r\\n\\t\\tif (!dir.exists()) dir.mkdirs();\\r\\n\\t\\t\\r\\n\\t\\tripAudio(args[0], args[2]);\\r\\n\\t\\tripFrames(args[0], args[1]); \\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c3e787de638bc4969023ba5e873712c6\",\n \"score\": \"0.5775731\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\treadFile();\\n\\t\\t\\n//\\t\\tString teString=\\\"/home/fan/data/Family/small-sample-exp/exp1/test/smsreg/dbfab4abbf46f005c216acce199d4450.apk\\\";\\n//\\t\\toneFileCommunityDetection(teString);\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f3b874ec69b0518293ce4114a757c677\",\n \"score\": \"0.57734126\",\n \"text\": \"public static void main(String args[]){\\n\\t\\tString rpath = \\\"./dict/ambiguationDict.txt\\\";\\r\\n\\t\\tString wpath = \\\"./dict/ambiguationDict2.txt\\\";\\r\\n//\\t\\tfilterBracket(rpath, wpath);\\r\\n//\\t\\tfilterSingleWord(rpath, wpath);\\r\\n\\t\\tfilterCandidate(rpath,wpath);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3017bcfb680279c60b7264799e1f96ed\",\n \"score\": \"0.5771492\",\n \"text\": \"private void processInputs(String[] args) {\\n\\t\\tList options = new ArrayList();\\n\\t\\t\\t\\n\\t\\t// Collect args and process\\n\\t\\tint index = 0;\\n\\t\\tfor (String arg : args) {\\n\\t\\t\\tif (arg.startsWith(\\\"-\\\")) {\\n\\t\\t\\t\\t// Collect the options\\n\\t\\t\\t\\toptions.add(arg);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t\\tindex++;\\n\\t\\t}\\n\\t\\t\\t\\t\\t\\n\\t\\t// Set the options\\n\\t\\tfor (String option : options) {\\n\\t\\t\\tif(\\\"-i\\\".equals(option)) {\\n\\t\\t\\t\\tparams.setCaseSensitive(false);\\n\\t\\t\\t}\\n\\t\\t\\tif (\\\"-p\\\".equals(option)) {\\n\\t\\t\\t\\tparams.setSearchWorkspace(false);\\n\\t\\t\\t}\\n\\t\\t\\tif (\\\"-phase1\\\".equals(option)) {\\n\\t\\t\\t\\tparams.setRootAsPhase1Root();\\t\\t\\t\\t\\t\\n\\t\\t\\t}\\n\\t\\t\\tif (\\\"-phase2\\\".equals(option)) {\\n\\t\\t\\t\\tparams.setRootAsPhase2Root();\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t// Set the default root if not specified in the options\\n\\t\\tif (StringUtils.isBlank(params.getRoot())) {\\n\\t\\t\\tparams.setSearchAllCode(true);\\n\\t\\t\\tparams.setRootAsPhase1Root();\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ecc1899224be1df41e9d191dbd45740d\",\n \"score\": \"0.5771293\",\n \"text\": \"public static void main(String[] args) {\\n new CommandLine(new SO61963756()).execute();\\n new CommandLine(new SO61963756()).execute(\\\"-A -A1\\\".split(\\\" \\\"));\\n new CommandLine(new SO61963756()).execute(\\\"-A -A2\\\".split(\\\" \\\"));\\n new CommandLine(new SO61963756()).execute(\\\"-A -A1 -A2\\\".split(\\\" \\\"));\\n\\n //test: these should FAIL\\n new CommandLine(new SO61963756()).execute(\\\"-A\\\");\\n new CommandLine(new SO61963756()).execute(\\\"-A1\\\");\\n new CommandLine(new SO61963756()).execute(\\\"-A2\\\");\\n new CommandLine(new SO61963756()).execute(\\\"-A1 -A2\\\".split(\\\" \\\"));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9269c0e65a9a1bc1d24eea7b956aea00\",\n \"score\": \"0.5770399\",\n \"text\": \"public static void main(String args[])\\n\\t{\\n\\t\\tString f;\\n\\t\\tReadResults r;\\n\\t\\t\\n\\t\\t// for each argument on command line, pass to ReadResults.\\n\\t\\tfor (String s: args)\\t\\n\\t\\t{\\n\\t\\t\\tf = s;\\t\\t// filename is argument\\n\\t\\t\\tr = new ReadResults(f);\\t// attempt to open file\\n\\t\\t\\t\\n\\t\\t\\tSystem.out.println(\\\"Read results says \\\" + r + \\\"\\\\n\\\");\\n\\t\\t\\t\\n\\t\\t\\tr = null;\\n\\t\\t\\tf = null;\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fbf5cc460aee7dfc12950a464c6e171a\",\n \"score\": \"0.5769001\",\n \"text\": \"public static void main(String[] args) {\\t\\t\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"384fef7943e93c2919629f0625bc5d17\",\n \"score\": \"0.57655054\",\n \"text\": \"public static void main(String argv[]) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f998630d2747918a2ad1e285b2d91db4\",\n \"score\": \"0.57632196\",\n \"text\": \"private void parseArguments(String args[]) throws Exception\\n\\t{\\n\\t\\t\\n\\t\\tfor(int i=0;iOmega=new Vector<>();\\r\\n String path = Arrays.stream(args).collect(Collectors.joining(\\\" \\\")).trim();\\r\\n Work work = new Work(Omega, path);\\r\\n try {\\r\\n work.start();\\r\\n }\\r\\n catch (ExitException e){\\r\\n System.out.println(\\\"Это очень плохо. Программа умирант\\\");\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7719ac3ae476658a8a829ce76276fe38\",\n \"score\": \"0.5747111\",\n \"text\": \"public static void main(String[] args) {\\n\\r\\n\\t\\tavarage(11,10,100);\\r\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"094fb63e2b3bed28a89a3c0d9fb1440f\",\n \"score\": \"0.5746508\",\n \"text\": \"public static void main(String args[]){\\n\\t\\tnew FreshPlayerParser().generateFreshCharacters();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d9552d91cd325d007e900b6bfe6ddc6c\",\n \"score\": \"0.57417613\",\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}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d9552d91cd325d007e900b6bfe6ddc6c\",\n \"score\": \"0.57417613\",\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}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ad3586bcbadb90bd504a9bedc1981eb6\",\n \"score\": \"0.5739848\",\n \"text\": \"public static void main(String args[]){\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ad3586bcbadb90bd504a9bedc1981eb6\",\n \"score\": \"0.5739848\",\n \"text\": \"public static void main(String args[]){\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5412d8bbaceb3d8fc87408bc83162df4\",\n \"score\": \"0.5735797\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5412d8bbaceb3d8fc87408bc83162df4\",\n \"score\": \"0.5735797\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5412d8bbaceb3d8fc87408bc83162df4\",\n \"score\": \"0.5735797\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5412d8bbaceb3d8fc87408bc83162df4\",\n \"score\": \"0.5735797\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5412d8bbaceb3d8fc87408bc83162df4\",\n \"score\": \"0.5735797\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5412d8bbaceb3d8fc87408bc83162df4\",\n \"score\": \"0.5735797\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5412d8bbaceb3d8fc87408bc83162df4\",\n \"score\": \"0.5735797\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5412d8bbaceb3d8fc87408bc83162df4\",\n \"score\": \"0.5735797\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"329f836bbf21555e55be12873ccb70b3\",\n \"score\": \"0.5732541\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t \\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":356,"cells":{"query_id":{"kind":"string","value":"63351f15e86b9b8cdc7f729ff5dea360"},"query":{"kind":"string","value":"get List of Locations"},"positive_passages":{"kind":"list like","value":[{"docid":"4d422e0237f2b0ee0b68b2a08d4b583f","score":"0.71036005","text":"public List ListAll();","title":""}],"string":"[\n {\n \"docid\": \"4d422e0237f2b0ee0b68b2a08d4b583f\",\n \"score\": \"0.71036005\",\n \"text\": \"public List ListAll();\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"4017d19ff23b5f7e8dccaf9c30ba3de3","score":"0.8440814","text":"Collection getLocations();","title":""},{"docid":"c91ebbe8a942b0c2742d7d4fbb401a23","score":"0.8077854","text":"@Override\r\n\tpublic List getLocationList() {\n\t\treturn ld.getLocationList();\r\n\t}","title":""},{"docid":"48d1c83cf7d5dc2393fc259320360437","score":"0.790365","text":"public List getList() {\n return new ArrayList<>(locations.values());\n }","title":""},{"docid":"dc1069d190ccc32affbf95f7b361fabf","score":"0.78670156","text":"public List getLocations() throws TorqueException\n {\n if (collLocations == null)\n {\n collLocations = getLocations(new Criteria(10));\n }\n return collLocations;\n }","title":""},{"docid":"60fe65e90eb282f9e1095fa54e0bd506","score":"0.78491473","text":"java.util.List \n getLocationsList();","title":""},{"docid":"0db8b3c8ce6cc2d4dc0bd02456339b14","score":"0.7842552","text":"public List> getLoc();","title":""},{"docid":"9358a75488b3ec82c6faf1094438a0ab","score":"0.7783352","text":"public List getLocations() {\n\t\treturn locs;\n\t}","title":""},{"docid":"897ef6508afee753da2366b738b95758","score":"0.7778058","text":"public List locations() {\n return locations;\n }","title":""},{"docid":"c4f6eaad757300cc7d8e4bcd4671d3a4","score":"0.7698881","text":"public List getLocationList(){\r\n List locationList = new ArrayList(graphWrapperManager.m_dataStore.s_locationSet);\r\n Collections.sort(locationList); // this list will give numeric index to each location.\r\n return locationList;\r\n }","title":""},{"docid":"5cb3a2af062b92131f44dc26998b02dc","score":"0.76583725","text":"@Override\n public Iterable listLocations() {\n return ImmutableSet.of();\n }","title":""},{"docid":"72e081a158775cbc259b0b2e2c05fb08","score":"0.76180613","text":"public ArrayList getLocations(String source) throws IOException {\n return getLocationsList(\"locations\");\n }","title":""},{"docid":"87da57849d7c38591d621a6b2c110ea9","score":"0.76022553","text":"public ArrayList getLocationList() {\n synchronized (entryLock) {\n return locationList;\n }\n }","title":""},{"docid":"b05a986f038f95ca475fe0c0ff44769f","score":"0.7569718","text":"public Location[] getLocations() {\n return locations;\n }","title":""},{"docid":"ffc3574e2cfe8a065c272ecd09834a3c","score":"0.7559493","text":"public java.util.List getLocationsList() {\n if (locationsBuilder_ == null) {\n return java.util.Collections.unmodifiableList(locations_);\n } else {\n return locationsBuilder_.getMessageList();\n }\n }","title":""},{"docid":"6b12023d66d2023c58111480e85f6503","score":"0.74834526","text":"List getTrackingServiceRecordedLocations();","title":""},{"docid":"44867f1a73c57f135db2a39a302a400d","score":"0.73005354","text":"public static List getLocations() {\n\n List locations = new ArrayList<>();\n\n // pre-populate countries\n locations.add(new LocationTable(1, \"Federal Republic of Nigeria\", -1));\n locations.add(new LocationTable(2,\"India\", -1));\n locations.add(new LocationTable(3,\"Philippines\", -1));\n locations.add(new LocationTable(4,\"Indonesia\", -1));\n\n // pre-populate regions\n locations.add(new LocationTable(5,\"Ado\", 1));\n locations.add(new LocationTable(6,\"Bauchi\", 1));\n locations.add(new LocationTable(7,\"Sokoto\", 1));\n locations.add(new LocationTable(8,\"Srinigar\", 2));\n locations.add(new LocationTable(9,\"Chandigarh\", 2));\n locations.add(new LocationTable(10,\"Simla\", 2));\n locations.add(new LocationTable(11,\"Manila\", 3));\n locations.add(new LocationTable(12,\"Java\", 4));\n locations.add(new LocationTable(13,\"Sumatera\", 4));\n locations.add(new LocationTable(14,\"Palembang\", 4));\n\n // pre-populate clusters\n locations.add(new LocationTable(15,\"Cluster A1\", 5));\n locations.add(new LocationTable(16,\"Cluster A2\", 5));\n locations.add(new LocationTable(17,\"Cluster B1\", 5));\n locations.add(new LocationTable(18,\"Cluster A1\", 6));\n locations.add(new LocationTable(19,\"Cluster A2\", 6));\n locations.add(new LocationTable(20,\"Cluster A3\", 6));\n\n return locations;\n }","title":""},{"docid":"fd1cb7bacd15ae0bdf9a05c28d571240","score":"0.72990584","text":"public Map>> getLocations(){\n return getNER(\"LOCATION\");\n }","title":""},{"docid":"04a38007879724fac1890af58f37b441","score":"0.7289182","text":"public ArrayList
displayLocations() {\n\n\t\tString streetAddress = \"\";\n\t\tString zipCode = \"\";\n\t\tArrayList
address = null;\n\t\tAddress object = null;\n\n\t\tConnection connection = null;\n\t\tPreparedStatement preparedStatement = null;\n\t\tResultSet resultSet = null;\n\n\t\ttry {\n\t\t\taddress = new ArrayList
();\n\t\t\tconnection = DbConnect.getConnection();\n\t\t\tpreparedStatement = connection.prepareStatement(SQLConstants.DISPLAY_LOCATIONS);\n\t\t\tresultSet = preparedStatement.executeQuery();\n\t\t\twhile (resultSet.next()) {\n\t\t\t\tstreetAddress = resultSet.getString(1);\n\t\t\t\tzipCode = resultSet.getString(2);\n\n\t\t\t\tobject = new Address(streetAddress, zipCode);\n\t\t\t\taddress.add(object);\n\n\t\t\t}\n\t\t\treturn address;\n\t\t} catch (SQLException e) {\n\t\t\tLOGGER.log(Level.SEVERE, \"Error in retrieving travel locations.\");\n\t\t\treturn null;\n\t\t} finally {\n\t\t\tDbConnect.closeConnection(connection, preparedStatement, resultSet);\n\t\t}\n\t}","title":""},{"docid":"b2c2eefc582867dd0858a6ee223f9770","score":"0.7270497","text":"public Stream getAllLocations() {\n Stream.Builder stream = Stream.builder();\n for (Node n : getEachNode()) {\n String locationName = n.getId();\n Location location = getLocation(locationName);\n stream.accept(location);\n }\n return stream.build();\n }","title":""},{"docid":"6f6bbeeef3adb5e93af202b46f1dd157","score":"0.7247989","text":"public List getLocations(Connection con) throws TorqueException\n {\n if (collLocations == null)\n {\n collLocations = getLocations(new Criteria(10), con);\n }\n return collLocations;\n }","title":""},{"docid":"cff9174ed1c5b10ddaa0e947c60ad0e8","score":"0.72280043","text":"public java.util.List getLocationsList() {\n return locations_;\n }","title":""},{"docid":"6f2ee3767c82855ba380155fcb224fba","score":"0.7205167","text":"public List getLocationsForAddressProcessing() {\n return locations;\n }","title":""},{"docid":"0344d2bafef68bac323acb208b208cd0","score":"0.7203327","text":"@JsonGetter(\"locations\")\r\n public List getLocations ( ) { \r\n return this.locations;\r\n }","title":""},{"docid":"1a49124cbb8e87daf65ae5c34537e10b","score":"0.71687233","text":"public List findAllLocations() {\n return jdbcTemplate.query(SQL_FIND_ALL_LOCATIONS, new LocationMapper());\n }","title":""},{"docid":"bc544641d1b0ab87860b8c2c95ce5fe7","score":"0.7131142","text":"public List AllLocations() throws SQLException, ClassNotFoundException, IOException {\n\t\tfinal LocationsDAO getloc = new LocationsDAO();\r\n\t\tList locationinfo = new ArrayList();\r\n\t\tlocationinfo = getloc.LocationAll();\r\n\t\t\r\n\t\treturn locationinfo;\r\n\t}","title":""},{"docid":"e7196b5ffb33c86d82f3dd43db8673f2","score":"0.7115827","text":"public List> getLocation() {\n if (location == null) {\n location = new ArrayList>();\n }\n return this.location;\n }","title":""},{"docid":"a1232beefa8b4da4be5ba6d86400523f","score":"0.71083874","text":"java.util.List getLocationFiltersList();","title":""},{"docid":"f2e66d3eb93c8d12a052bf80ae5b7d01","score":"0.7100382","text":"public ArrayList getEnemyLocations();","title":""},{"docid":"fabe0a98e3dbe67e0416589590afa577","score":"0.7039393","text":"public ViewObjectImpl getLocations() {\r\n return (ViewObjectImpl)findViewObject(\"Locations\");\r\n }","title":""},{"docid":"c6ed1a055d5f1abf9e8fccfd7353316d","score":"0.703787","text":"public java.util.List \n getLocationsOrBuilderList() {\n if (locationsBuilder_ != null) {\n return locationsBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(locations_);\n }\n }","title":""},{"docid":"fb65306ec09f3ce2b9d3ccb6e931ddec","score":"0.7018195","text":"public ArrayList showLocation() {\r\n\t\treturn RegionLst;\r\n\t}","title":""},{"docid":"226e090d5761bb839bd7c07b369d7e3d","score":"0.7016677","text":"public ArrayList> getmyLocs() {\n return this.myLocs;\n }","title":""},{"docid":"283cc5dd6a85210ab466aad8a93b2f00","score":"0.701317","text":"public ArrayList getAllLocationCoordinates() {\n //go through all locations currently in the list and pass them to the activity\n ArrayList coordinatesList = new ArrayList<>();\n int numberOfItemsInList;\n if (isDiscoveredList) {\n numberOfItemsInList = mKuldigaDiscoveredLocationList.size();\n } else {\n numberOfItemsInList = mKuldigaHiddenLocationList.size();\n }\n for (int i = 0; i < numberOfItemsInList; i++) {\n KuldigaLocation location;\n if (isDiscoveredList) {\n location = mKuldigaDiscoveredLocationList.get(i);\n } else {\n location = mKuldigaHiddenLocationList.get(i);\n }\n coordinatesList.add(location.getCoordinates());\n }\n\n return coordinatesList;\n }","title":""},{"docid":"1a0b2bbeb5808a7b0a1f4b658aecc9b4","score":"0.6991429","text":"List getLocationList(String division, String vpid, String duz, String appProxyName);","title":""},{"docid":"0e419f3aa4f609726e937f16b70c9503","score":"0.6950751","text":"@SuppressWarnings(\"unused\")\n\t@Override\n\t@Transactional\n\t\n\tpublic List list() {\n\t\t@SuppressWarnings(\"unchecked\")\n\t\t\n\t\tList listLocations = (List) sessionFactory.getCurrentSession()\n\t\t.createCriteria(Locations.class)\n\t\t.setResultTransformer(Criteria.DISTINCT_ROOT_ENTITY).list();\n\t\t\n\t\tSession session = this.sessionFactory.getCurrentSession();\n\t\tList listOfLocations = session.createQuery(\"from Locations\").list();\n\t\t\n\t\t\t\treturn listOfLocations;\n\t}","title":""},{"docid":"05f89e38be53ba4349e21ebeec4e436f","score":"0.69494706","text":"@Override\n\tpublic List getAll() {\n\t\treturn locationRepository.findAll();\n\t}","title":""},{"docid":"ba124c4a7a6600396a3001ccd2ad1d58","score":"0.6942647","text":"public java.util.List \n getLocationsBuilderList() {\n return getLocationsFieldBuilder().getBuilderList();\n }","title":""},{"docid":"575741adfe7c84bd552dfea8815cf0a4","score":"0.6933667","text":"Map>> getLocations();","title":""},{"docid":"239bac7ebc592309f7133cdc6a7fda06","score":"0.692301","text":"List findAll();","title":""},{"docid":"4e6132736a4522417b7a813a95b78097","score":"0.69095224","text":"@Override\n\tpublic List getAll() {\n\t\treturn this.repo.findAll();\n\t}","title":""},{"docid":"8fc48edc0ceba81aef9dbdf5c82606f4","score":"0.6888408","text":"private ArrayList getCoordinates() {\r\n\t\t\tBufferedReader rd = null;\r\n\t\t\tStringBuilder sb = null;\r\n\t\t\tString line = null;\r\n\t\t\tArrayList data = new ArrayList();\r\n\t\t\t\r\n\t\t\ttry{\r\n\t\t\t\tURL url = new URL(getString(R.string.poi_url));\r\n\t\t\t\t// Creating an http connection to communicate with url \r\n\t\t\t\tHttpURLConnection urlConnection = (HttpURLConnection) url.openConnection();\r\n\t\t\t\t// Allow inputs \r\n\t\t\t\turlConnection.setDoInput(true);\r\n\t\t\t\t// Allow outputs\r\n\t\t\t\turlConnection.setDoOutput(true);\r\n\t\t\t\t\r\n\t\t\t\turlConnection.setRequestProperty(\"User-Agent\",\"Mozilla/5.0 ( compatible ) \");\r\n\t\t\t\turlConnection.setRequestProperty(\"Accept\",\"*/*\");\r\n\t\t\t\t// Set Request Type GET\r\n\t\t\t\turlConnection.setRequestMethod(\"GET\");\r\n\t\t\t\t// Connecting to url \r\n\t\t\t\turlConnection.connect();\r\n\t\t\t\t// Sending request to server\r\n\t\t\t\tDataOutputStream dos = new DataOutputStream(urlConnection.getOutputStream());\r\n\t\t\t\tdos.writeBytes(\"cmd=GetLoc\");\r\n\t\t\t\tdos.flush();\r\n\t\t\t\t\r\n\t\t\t\t//Create the Readers for the InputStream\r\n\t\t\t\trd = new BufferedReader(new InputStreamReader(urlConnection.getInputStream()));\r\n\t\t\t\tsb = new StringBuilder();\r\n\t\t\t\t\r\n\t\t\t\t//Add each line to a String Builder\r\n\t\t\t\twhile((line = rd.readLine()) != null){\r\n\t\t\t\t\t//data.add(line);\r\n\t\t\t\t\tsb.append(line);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t//Close the connection\r\n\t\t\t\turlConnection.disconnect();\r\n\t\t\t\t//Parse the returned JSON\r\n\t\t\t\tdata = parseJSON(sb.toString());\r\n\t\t\t}\r\n\t\t\tcatch(Exception e){\r\n\t\t\t\tLog.d(\"Exception while downloading the locations info from url\", e.toString());\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t\treturn null;\r\n\t\t\t}\r\n\t\t\treturn data;\r\n\t\t\t\r\n\t\t}","title":""},{"docid":"0c4f24b77e079ac20ad575d3c0cd58c6","score":"0.6866869","text":"@GET\n public Response getLocations(){\n return Response.ok().entity(this.locationsService.getLocations()).build();\n }","title":""},{"docid":"85674defd2e28ffb12a2d9b2fbd3e53d","score":"0.68605804","text":"public List getLocationsForRelocation() {\n return locationsToRelocalize;\n }","title":""},{"docid":"54af4873011d7511511c13da82482c8e","score":"0.6850453","text":"public List getIhfsLocationRecordList()\n {\n String whereClause = \"ORDER BY lid\";\n return getRecordList(new LocationTable(_dbIhfs), whereClause);\n }","title":""},{"docid":"aa4cc3d23ffb90239537b4fa2cf020f9","score":"0.67994225","text":"public Room[][] getLocations(){\n return map.getLocations();\n }","title":""},{"docid":"c5babc1b0f5d39bb52428b18e7481aae","score":"0.67951185","text":"List DisplayAllLocations();","title":""},{"docid":"fadd4b2e0934b8355b028614f781f7f9","score":"0.67848295","text":"java.util.List \n getLocationsOrBuilderList();","title":""},{"docid":"21d3e9913d3db3558390f724867bfb4d","score":"0.67739356","text":"@CheckForNull\n public List listLocations(String filePath) {\n return provider.listLocations(filePath);\n }","title":""},{"docid":"e18c20b4e2ea9ea3319f018583e0bea6","score":"0.67640644","text":"public List getLocations(Criteria criteria) throws TorqueException\n {\n if (collLocations == null)\n {\n if (isNew())\n {\n collLocations = new ArrayList();\n }\n else\n {\n criteria.add(LocationPeer.SALES_DISTRICT_ID, getSalesDistrictId() );\n collLocations = LocationPeer.doSelect(criteria);\n }\n }\n else\n {\n // criteria has no effect for a new object\n if (!isNew())\n {\n // the following code is to determine if a new query is\n // called for. If the criteria is the same as the last\n // one, just return the collection.\n criteria.add(LocationPeer.SALES_DISTRICT_ID, getSalesDistrictId());\n if (!lastLocationsCriteria.equals(criteria))\n {\n collLocations = LocationPeer.doSelect(criteria);\n }\n }\n }\n lastLocationsCriteria = criteria;\n\n return collLocations;\n }","title":""},{"docid":"0480fff3f316034c43ede13a9093dfba","score":"0.6750281","text":"default Collection getAllLocations() throws ModelException{\n\t\ttry {\n\t\treturn Location.getLocations();\n\t\t} catch (Throwable exc) {\n\t\t\tthrow new ModelException();\n\t\t}\t\n\t}","title":""},{"docid":"c28e2b1ffc13fa4a4482106428ab58a7","score":"0.6716625","text":"public ArrayDeque getKarboniteLocations();","title":""},{"docid":"b7a32bdc0a331f79677de40a4749646c","score":"0.66981065","text":"@GetMapping(\"locationcode\")\n\tpublic List findAllLocationcode() throws Exception {\n\t\tList locationCodeLists = adminService.findAllLocationcode();\n\t\treturn locationCodeLists;\n\t}","title":""},{"docid":"fd62391d41fe99c0b1a4d3ec8982804a","score":"0.6687537","text":"public java.util.List \n getLocationsOrBuilderList() {\n return locations_;\n }","title":""},{"docid":"adde9678955c223f649ca8686b87f99a","score":"0.6671501","text":"public static ArrayList getLocationListByUser (String uname){\n\t\tArrayList list = new ArrayList();\n\t\tfor (User user : users){\n\t\t\tif (user.getUsername().equals(uname))\n\t\t\t\tlist = user.getLocationList();\n\t\t}\n\t\treturn list;\n\t}","title":""},{"docid":"a943383c92533badb07257e39bc713e8","score":"0.66560733","text":"public static List getLocationList(String locations) throws JSONException {\n JSONObject jsonObject = new JSONObject(locations);\n return getLocationList(jsonObject);\n }","title":""},{"docid":"21d6fb5ecd5fa42722a4c45d45cc51ec","score":"0.6639703","text":"public HashMap getLocations() {\r\n\t\treturn locations;\r\n\t}","title":""},{"docid":"7b46de678a3ee9095791f052edbfaa44","score":"0.6629065","text":"@JsonProperty(\"locations\")\n public Set getLocations() {\n return locations;\n }","title":""},{"docid":"85b08c32a08034abbba6f156df2566fb","score":"0.66258997","text":"Hdfs.DataNodeLocation getLocations(int index);","title":""},{"docid":"d8dbf209f5e00724669fb39ef7549a71","score":"0.6614345","text":"public void Consulter_Liste_Location() {\n\t\tArrayList Locations = GetAllLocation();\n\n\t\tfor (Location location : Locations) {\n\t\t\tif (location.getClient().equals(this)) {\n\t\t\t\tSystem.out.println(location);\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"6042f7675b1d5a1b1ec79a107d08c78f","score":"0.65895116","text":"public DefaultListModel getLocList() {\n model2.removeAllElements();\n for (int i = 0; i < ev.size(); i++) {\n model2.addElement(ev.get(i).getLoc());\n }\n return model2;\n }","title":""},{"docid":"0a9ff57803e513dd0742dc40c1b82aa9","score":"0.6566767","text":"public List getLocations(Criteria criteria, Connection con)\n throws TorqueException\n {\n if (collLocations == null)\n {\n if (isNew())\n {\n collLocations = new ArrayList();\n }\n else\n {\n criteria.add(LocationPeer.SALES_DISTRICT_ID, getSalesDistrictId());\n collLocations = LocationPeer.doSelect(criteria, con);\n }\n }\n else\n {\n // criteria has no effect for a new object\n if (!isNew())\n {\n // the following code is to determine if a new query is\n // called for. If the criteria is the same as the last\n // one, just return the collection.\n criteria.add(LocationPeer.SALES_DISTRICT_ID, getSalesDistrictId());\n if (!lastLocationsCriteria.equals(criteria))\n {\n collLocations = LocationPeer.doSelect(criteria, con);\n }\n }\n }\n lastLocationsCriteria = criteria;\n\n return collLocations;\n }","title":""},{"docid":"a35bc0f6993d4e093f27f6a079054631","score":"0.6547458","text":"public ArrayList getOccupiedLocations() {\n\t\treturn null;\n\t}","title":""},{"docid":"e6d33635dafd4b9708b9fea7dee5ddd8","score":"0.65124345","text":"public ArrayList getDescribedLocations(){\n\t\tArrayList describedLocations = new ArrayList();\n\t\tfor(int i = 0; i < holdadd.length; i++)\n\t\t{\n\t\t\tfor(int j = 0; j < holdadd[0].length; j++)\n\t\t\t{\n\t\t\t\tif(holdadd[i][j] != null)\n\t\t\t\t{\n\t\t\t\t\tLocation descriptionLoc = new Location(i, j);\n\t\t\t\t\tdescribedLocations.add(descriptionLoc);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn describedLocations;\n\t}","title":""},{"docid":"8b8d23d28af09555e55e6d87619b40ac","score":"0.6509691","text":"Collection findAllLocations();","title":""},{"docid":"c7a2800cf17045972465ded11228da69","score":"0.6498675","text":"public List allLineLocations() throws AbsentInformationException {\n return null;\n }","title":""},{"docid":"cb9b242c30a0206a9c723f55ac22288e","score":"0.6490141","text":"public Location[] get() throws ResponseException {\n return get(null);\n }","title":""},{"docid":"1148ffab796c7ad9c2c242d22fbcd95e","score":"0.6486755","text":"public Hdfs.DataNodeLocation getLocations(int index) {\n return locations_.get(index);\n }","title":""},{"docid":"724790984014d5d19cd6a725447f2496","score":"0.64611655","text":"@RequestMapping(value = \"/geolocations\", method = RequestMethod.GET)\n public ResponseEntity> listGeoLocations() {\n return new ResponseEntity>(geoLocationRepository.findAll(), HttpStatus.OK);\n }","title":""},{"docid":"232ad571ec3b98fe093fd32703b05153","score":"0.64298093","text":"private List getLocationsByStopLocationNodeList(NodeList stopLocationNodeList) {\n\n List locations = new ArrayList<>();\n\n for (int i = 0; i < stopLocationNodeList.getLength(); i++) {\n locations.add(getLocationByLocationElement((Element) stopLocationNodeList.item(i)));\n }\n\n return locations;\n\n }","title":""},{"docid":"2b4326ed4ad4243001bf5f5f982807bd","score":"0.6393701","text":"public String displayAllLocations()\n {\n Iterator locations = locationIterator();\n String theLocation = \"\";\n while(locations.hasNext())\n {\n theLocation += locations.next() + \"\\n\";\n }\n return theLocation;\n }","title":""},{"docid":"86c67874b715bd1ba308056612acaada","score":"0.63770926","text":"public List parseLocationSearchXml(String xml) {\n try {\n NodeList nodes = getElements(xml, LOCATION_TAG_NAME).elements;\n\n return getLocationsByStopLocationNodeList(nodes);\n\n } catch (IOException | SAXException e) {\n e.printStackTrace();\n return Collections.emptyList();\n }\n\n\n }","title":""},{"docid":"d0b55c9bfff65389f6441c557e6d6084","score":"0.63720286","text":"public List getLocationsToTask(long task_id) {\n\t\tCursor cursor = database.query(DBHelper.TABLE_TASKS_LOCATIONS, allTasksLocationsColumns, DBHelper.TASKS_LOCATIONS_COLUMN_TASK_ID + \" = \"+ task_id, null, null, null, null);\t\t\n\t\tList locationIDs = new ArrayList();\n\t\tcursor.moveToFirst();\n\t\twhile(!cursor.isAfterLast()){\n\t\t\tlocationIDs.add(cursor.getLong(2));\t\t\t\n\t\t\tcursor.moveToNext();\n\t\t}\n\t\t// Get locations by the id list\n\t\tList locations = new ArrayList();\n\t\tfor (long id:locationIDs) {\n\t\t\tlocations.add(getLocation(id));\n\t\t}\n\t\treturn locations;\n\t}","title":""},{"docid":"6b2204833409c62ab3f5845ffb722d4c","score":"0.63608253","text":"public abstract List getLocationMapList(String ctrdCd);","title":""},{"docid":"07260cb8aa95e936c4dbe5d82d546686","score":"0.6358766","text":"public ArrayList openLocations( int loc ) {\n\t\tArrayList temp = new ArrayList();\n\t\tint x = loc / maze.length;\n\t\tint y = loc % maze.length;\n\t\tint down = ( ( x + 1 ) * maze.length ) + y;\n\t\tif( uncheckedLocations.contains( down ) && !isWall( x + 1, y ) ) {\n\t\t\ttemp.add( down );\n\t\t} else if( isEnd( down ) ) {\n\t\t\ttemp.clear();\n\t\t\ttemp.add( down );\n\t\t\treturn temp;\n\t\t}\n\t\tint up = ( ( x - 1 ) * maze.length ) + y;\n\t\tif( uncheckedLocations.contains( up ) && !isWall( x - 1, y ) ) {\n\t\t\ttemp.add( up );\n\t\t} else if( isEnd( up ) ) {\n\t\t\ttemp.clear();\n\t\t\ttemp.add( up );\n\t\t\treturn temp;\n\t\t}\n\t\tint right = ( x * maze.length ) + ( y + 1 );\n\t\tif( uncheckedLocations.contains( right ) && !isWall( x, y + 1 ) ) {\n\t\t\ttemp.add( right );\n\t\t} else if( isEnd( right ) ) {\n\t\t\ttemp.clear();\n\t\t\ttemp.add( right );\n\t\t\treturn temp;\n\t\t}\n\t\tint left = ( x * maze.length ) + ( y - 1 );\n\t\tif( uncheckedLocations.contains( left ) && !isWall( x, y - 1 ) ) {\n\t\t\ttemp.add( left );\n\t\t} else if( isEnd( left ) ) {\n\t\t\ttemp.clear();\n\t\t\ttemp.add( left );\n\t\t\treturn temp;\n\t\t}\n\t\treturn temp;\n\t}","title":""},{"docid":"b0fad76a63c2772bf4170cb86aedbf3e","score":"0.63580775","text":"public Collection getLocations(String employeeId)\n throws EmployeeException;","title":""},{"docid":"d1456189eb120bf795a5452ff14a2d0a","score":"0.6342852","text":"public Hdfs.DataNodeLocation getLocations(int index) {\n if (locationsBuilder_ == null) {\n return locations_.get(index);\n } else {\n return locationsBuilder_.getMessage(index);\n }\n }","title":""},{"docid":"20066a01711f92d76fa7d59870569b2a","score":"0.6326296","text":"List zones();","title":""},{"docid":"20066a01711f92d76fa7d59870569b2a","score":"0.6326296","text":"List zones();","title":""},{"docid":"d29f033ee6ec30688b5f8e65ebf600d2","score":"0.63250107","text":"public ArrayList makeMap(){\r\n\t\tArrayList locList = new ArrayList();\r\n\t\t\r\n\t\tLocation philly = new Location(\"Philadelphia\", \"Fourth Ave.\", null, null);\r\n\t\tLocation cleveland = new Location(\"Cleveland\", \"Fifth Ave.\", null, null);\r\n\t\tLocation coffee = new Location(\"Coffee\", \"Fifth Ave.\", null, null);\r\n\t\tLocation diner = new Location(\"Diner\", \"Fourth Ave.\", null, null);\r\n\t\tLocation hotel = new Location(\"Hotel\", \"Fourth Ave.\", null, null);\r\n\t\tLocation library = new Location(\"Library\", \"Fifth Ave.\", null, null);\r\n\t\t\r\n\t\tcoffee.setNext(library);\r\n\t\tcoffee.setTurn(diner);\r\n\t\t\r\n\t\tdiner.setNext(philly);\r\n\t\tdiner.setTurn(coffee);\r\n\t\t\t\t\r\n\t\thotel.setNext(diner);\r\n\t\thotel.setTurn(library);\r\n\t\t\r\n\t\tlibrary.setNext(cleveland);\r\n\t\tlibrary.setTurn(hotel);\r\n\t\t\r\n\t\tlocList.add(hotel);\r\n\t\tlocList.add(diner);\r\n\t\tlocList.add(library);\r\n\t\tlocList.add(coffee);\r\n\t\t\r\n\t\treturn locList;\r\n\t}","title":""},{"docid":"b99956dffb41480d6109f1c72c2f309a","score":"0.63249445","text":"public LookupLocator[] getLookupLocators() throws RemoteException {\n if (OPERATIONS_LOGGER.isLoggable(Level.FINER)) {\n\t OPERATIONS_LOGGER.entering(MAILBOX_SOURCE_CLASS, \n\t \"getLookupLocators\");\n\t}\n readyState.check();\n\tconcurrentObj.readLock();\n\ttry {\n if (OPERATIONS_LOGGER.isLoggable(Level.FINER)) {\n\t OPERATIONS_LOGGER.exiting(MAILBOX_SOURCE_CLASS, \n \t \"getLookupLocators\");\n }\n\t return lookupLocators;\n\t} finally {\n\t concurrentObj.readUnlock();\n\t}\n }","title":""},{"docid":"bb5f76a7453c545d51835d68b91d743c","score":"0.6322587","text":"java.util.List \n getInfosList();","title":""},{"docid":"8ae2c8774f4f5792a939f8393516b44e","score":"0.63181823","text":"public final File[] getLocations() {\r\n return this._locations.toArray(new File[this._locations.size()]);\r\n }","title":""},{"docid":"7aa9cdd7961f9d74f2ea68685fd1e510","score":"0.6314707","text":"void GetLocations(PlacesClient placesClient) {\n List placeFields = Arrays.asList(Place.Field.LAT_LNG);\n\n // Use the builder to create a FindCurrentPlaceRequest.\n FindCurrentPlaceRequest request = FindCurrentPlaceRequest.builder(placeFields).build();\n //final List restaurantNames=new ArrayList();\n if (ContextCompat.checkSelfPermission(this, ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED) {\n placesClient.findCurrentPlace(request).addOnSuccessListener((response) -> {\n\n\n for (PlaceLikelihood placeLikelihood : response.getPlaceLikelihoods()) {\n Place place = placeLikelihood.getPlace();\n LatLng LL = place.getLatLng();\n if (LL != null) {\n Locations.add(LL);\n }\n }\n }).addOnFailureListener((exception) -> {\n\n }\n );\n } else {\n int PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION = 100;\n ActivityCompat.requestPermissions(this, new String[]{ACCESS_FINE_LOCATION}, PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n\n }\n\n\n }","title":""},{"docid":"ef548e2dbcd1bb901baefc198ef265df","score":"0.63019866","text":"public ArrayList getShipLocations()\n\t{\n\t\treturn locations;\n\t}","title":""},{"docid":"9b7795c94348055ad671b5b6e7b3616c","score":"0.6299048","text":"public static List getGeofenceList() {\n List geofenceList = new ArrayList();\n for (String city : CITY_LOCATIONS.keySet()) {\n LatLng cityLatLng = CITY_LOCATIONS.get(city);\n geofenceList.add(new Geofence.Builder()\n .setCircularRegion(cityLatLng.latitude, cityLatLng.longitude, TRIGGER_RADIUS)\n .setRequestId(city)\n .setTransitionTypes(TRIGGER_TRANSITION)\n .setExpirationDuration(EXPIRATION_DURATION)\n .build());\n }\n return geofenceList;\n }","title":""},{"docid":"f83ae21302a74c98d729325d66ecc11d","score":"0.6291555","text":"@Override\n\tpublic List getByOffres(Offre offre) {\n\t\treturn locationRepository.findByOffres(offre);\n\t}","title":""},{"docid":"fd1c0cee99206292f47d9abb29439c19","score":"0.62840825","text":"@RequestMapping(value = MsalesConstants.MODULE.LOCATION.ACTION_GET_LIST_LOCATION, method = RequestMethod.POST)\n public @ResponseBody\n String getListLocation(HttpServletRequest request) {\n // get Lists Location from DB\n MsalesPageRequest page = (MsalesPageRequest) request.getAttribute(MsalesConstants.PAGE);\n ParameterList parameterList = new ParameterList(page.getPageNo(), page.getRecordsInPage());\n MsalesResults lists = dataService.getListOption(Location.class, parameterList, true);\n // lists not null display list\n return MsalesJsonUtils.getJSONFromOject(MsalesResponse.create(\n HttpStatus.OK, lists));\n }","title":""},{"docid":"cfcbbe98ba47718d036c9155f439d922","score":"0.6273651","text":"@Override\n\tpublic List geoipFindBycityLocation() {\n\t\treturn geoipRepository.geoipFindByCityLocationName();\n\t}","title":""},{"docid":"25250c2701a3d55109800a76e745f2a9","score":"0.6266512","text":"LookupLocator[] getLocators(Uuid registrationID)\n throws RemoteException, ThrowThis;","title":""},{"docid":"ed3d40b4ac0e05042b4a67bb20eedb43","score":"0.6241565","text":"@Override\n\tpublic List findLatAndLongByFarm() {\n\t\tHttpSession httpSession = ReflectUtil.getCurrentHttpSession();\n\t\tHttpServletRequest request = ReflectUtil.getCurrentHttpRequest();\n\t\tString tenantId = !StringUtil.isEmpty(ISecurityFilter.DEFAULT_TENANT_ID) ? ISecurityFilter.DEFAULT_TENANT_ID\n\t\t\t\t: \"\";\n\n\t\tSession sessions = getSessionFactory().withOptions().tenantIdentifier(tenantId).openSession();\n\t\tQuery query = sessions\n\t\t\t\t.createQuery(\"SELECT fa.id,fa.latitude,fa.longitude FROM Farm fa where fa.latitude is not null AND \"\n\t\t\t\t\t\t+ \"fa.longitude is not null AND fa.latitude!='' AND fa.longitude!='' AND fa.latitude!=0 AND fa.longitude!=0 GROUP BY fa.latitude,fa.longitude\");\n\t\tList list = query.list();\n\t\tsessions.flush();\n\t\tsessions.close();\n\t\treturn list;\n\t}","title":""},{"docid":"ab9d59f4757ea877ada8c00edf60c335","score":"0.62358993","text":"default Location[] getAllLocations(Route route) throws ModelException {\n\t\ttry {\n\t\t\treturn route.getAllVisitedLocations();\n\t\t} catch (Throwable exc) {\n\t\t\tthrow new ModelException();\n\t\t}\t\n\t}","title":""},{"docid":"caed4d14e66f5ce6d225e39e4c03d55a","score":"0.62305164","text":"public java.util.List getLocationFiltersList() {\n if (locationFiltersBuilder_ == null) {\n return java.util.Collections.unmodifiableList(locationFilters_);\n } else {\n return locationFiltersBuilder_.getMessageList();\n }\n }","title":""},{"docid":"47f57cd3879727ee07a78900fd36750f","score":"0.62299025","text":"protected ArrayList getEmptyLocations()\n {\n ArrayList locs = new ArrayList();\n for ( int i = 0; i < grid.getNumRows(); i++ )\n {\n for ( int x = 0; x < grid.getNumCols(); x++ )\n {\n Location loc = new Location( i, x );\n if ( grid.isValid( loc ) && grid.get( loc ) == null )\n {\n locs.add( loc );\n }\n }\n }\n return locs;\n }","title":""},{"docid":"7b574c5ed885a5a6bbeb0fcf7862ea30","score":"0.6226825","text":"private void getNearByLocations(String longitude, String latitude) {\n }","title":""},{"docid":"544f61a6aae2346d490494c1be9c6f87","score":"0.62155825","text":"public java.lang.String getAllLocationCenter() throws java.rmi.RemoteException;","title":""},{"docid":"7f89fb781a802a02a9a33af78f8fdb7e","score":"0.62104726","text":"public static Locations getLocations(WebElement root) {\n Point topLeft = root.getLocation();\n Dimension dimension = root.getSize();\n Point topRight = topLeft.moveBy(dimension.getWidth(), 0);\n Point bottomRight = topRight.moveBy(0, dimension.getHeight());\n Point bottomLeft = topLeft.moveBy(0, dimension.getHeight());\n return new Locations(topLeft, topRight, bottomLeft, bottomRight);\n }","title":""},{"docid":"b4808d6257568d470a94eadc5fb09927","score":"0.6189303","text":"ArrayList listOfLocalities() {\n if (localities.size() < 1) {\n System.out.println(\"\\nThere is no localities\\n\");\n } else {\n Collections.sort(localities, Comparator.comparing(Locality::getName));\n System.out.println(\"All localities in alphabetic order: \");\n\n for (int i=0; i \n getResultsList();","title":""},{"docid":"bbfef40698f7e17c708a32861414c139","score":"0.6163271","text":"private CommandResult executeListLocation() {\n ListingUnit.setCurrentListingUnit(LOCATION);\n UniqueLocationPredicate locationPredicate = new UniqueLocationPredicate(model.getUniqueLocationSet());\n EventsCenter.getInstance().post(new ViewedLessonEvent());\n ListingUnit.setCurrentPredicate(locationPredicate);\n return executeListByAttribute(locationPredicate);\n }","title":""}],"string":"[\n {\n \"docid\": \"4017d19ff23b5f7e8dccaf9c30ba3de3\",\n \"score\": \"0.8440814\",\n \"text\": \"Collection getLocations();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c91ebbe8a942b0c2742d7d4fbb401a23\",\n \"score\": \"0.8077854\",\n \"text\": \"@Override\\r\\n\\tpublic List getLocationList() {\\n\\t\\treturn ld.getLocationList();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"48d1c83cf7d5dc2393fc259320360437\",\n \"score\": \"0.790365\",\n \"text\": \"public List getList() {\\n return new ArrayList<>(locations.values());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc1069d190ccc32affbf95f7b361fabf\",\n \"score\": \"0.78670156\",\n \"text\": \"public List getLocations() throws TorqueException\\n {\\n if (collLocations == null)\\n {\\n collLocations = getLocations(new Criteria(10));\\n }\\n return collLocations;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"60fe65e90eb282f9e1095fa54e0bd506\",\n \"score\": \"0.78491473\",\n \"text\": \"java.util.List \\n getLocationsList();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0db8b3c8ce6cc2d4dc0bd02456339b14\",\n \"score\": \"0.7842552\",\n \"text\": \"public List> getLoc();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9358a75488b3ec82c6faf1094438a0ab\",\n \"score\": \"0.7783352\",\n \"text\": \"public List getLocations() {\\n\\t\\treturn locs;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"897ef6508afee753da2366b738b95758\",\n \"score\": \"0.7778058\",\n \"text\": \"public List locations() {\\n return locations;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c4f6eaad757300cc7d8e4bcd4671d3a4\",\n \"score\": \"0.7698881\",\n \"text\": \"public List getLocationList(){\\r\\n List locationList = new ArrayList(graphWrapperManager.m_dataStore.s_locationSet);\\r\\n Collections.sort(locationList); // this list will give numeric index to each location.\\r\\n return locationList;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5cb3a2af062b92131f44dc26998b02dc\",\n \"score\": \"0.76583725\",\n \"text\": \"@Override\\n public Iterable listLocations() {\\n return ImmutableSet.of();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"72e081a158775cbc259b0b2e2c05fb08\",\n \"score\": \"0.76180613\",\n \"text\": \"public ArrayList getLocations(String source) throws IOException {\\n return getLocationsList(\\\"locations\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"87da57849d7c38591d621a6b2c110ea9\",\n \"score\": \"0.76022553\",\n \"text\": \"public ArrayList getLocationList() {\\n synchronized (entryLock) {\\n return locationList;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b05a986f038f95ca475fe0c0ff44769f\",\n \"score\": \"0.7569718\",\n \"text\": \"public Location[] getLocations() {\\n return locations;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ffc3574e2cfe8a065c272ecd09834a3c\",\n \"score\": \"0.7559493\",\n \"text\": \"public java.util.List getLocationsList() {\\n if (locationsBuilder_ == null) {\\n return java.util.Collections.unmodifiableList(locations_);\\n } else {\\n return locationsBuilder_.getMessageList();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6b12023d66d2023c58111480e85f6503\",\n \"score\": \"0.74834526\",\n \"text\": \"List getTrackingServiceRecordedLocations();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"44867f1a73c57f135db2a39a302a400d\",\n \"score\": \"0.73005354\",\n \"text\": \"public static List getLocations() {\\n\\n List locations = new ArrayList<>();\\n\\n // pre-populate countries\\n locations.add(new LocationTable(1, \\\"Federal Republic of Nigeria\\\", -1));\\n locations.add(new LocationTable(2,\\\"India\\\", -1));\\n locations.add(new LocationTable(3,\\\"Philippines\\\", -1));\\n locations.add(new LocationTable(4,\\\"Indonesia\\\", -1));\\n\\n // pre-populate regions\\n locations.add(new LocationTable(5,\\\"Ado\\\", 1));\\n locations.add(new LocationTable(6,\\\"Bauchi\\\", 1));\\n locations.add(new LocationTable(7,\\\"Sokoto\\\", 1));\\n locations.add(new LocationTable(8,\\\"Srinigar\\\", 2));\\n locations.add(new LocationTable(9,\\\"Chandigarh\\\", 2));\\n locations.add(new LocationTable(10,\\\"Simla\\\", 2));\\n locations.add(new LocationTable(11,\\\"Manila\\\", 3));\\n locations.add(new LocationTable(12,\\\"Java\\\", 4));\\n locations.add(new LocationTable(13,\\\"Sumatera\\\", 4));\\n locations.add(new LocationTable(14,\\\"Palembang\\\", 4));\\n\\n // pre-populate clusters\\n locations.add(new LocationTable(15,\\\"Cluster A1\\\", 5));\\n locations.add(new LocationTable(16,\\\"Cluster A2\\\", 5));\\n locations.add(new LocationTable(17,\\\"Cluster B1\\\", 5));\\n locations.add(new LocationTable(18,\\\"Cluster A1\\\", 6));\\n locations.add(new LocationTable(19,\\\"Cluster A2\\\", 6));\\n locations.add(new LocationTable(20,\\\"Cluster A3\\\", 6));\\n\\n return locations;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fd1cb7bacd15ae0bdf9a05c28d571240\",\n \"score\": \"0.72990584\",\n \"text\": \"public Map>> getLocations(){\\n return getNER(\\\"LOCATION\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"04a38007879724fac1890af58f37b441\",\n \"score\": \"0.7289182\",\n \"text\": \"public ArrayList
displayLocations() {\\n\\n\\t\\tString streetAddress = \\\"\\\";\\n\\t\\tString zipCode = \\\"\\\";\\n\\t\\tArrayList
address = null;\\n\\t\\tAddress object = null;\\n\\n\\t\\tConnection connection = null;\\n\\t\\tPreparedStatement preparedStatement = null;\\n\\t\\tResultSet resultSet = null;\\n\\n\\t\\ttry {\\n\\t\\t\\taddress = new ArrayList
();\\n\\t\\t\\tconnection = DbConnect.getConnection();\\n\\t\\t\\tpreparedStatement = connection.prepareStatement(SQLConstants.DISPLAY_LOCATIONS);\\n\\t\\t\\tresultSet = preparedStatement.executeQuery();\\n\\t\\t\\twhile (resultSet.next()) {\\n\\t\\t\\t\\tstreetAddress = resultSet.getString(1);\\n\\t\\t\\t\\tzipCode = resultSet.getString(2);\\n\\n\\t\\t\\t\\tobject = new Address(streetAddress, zipCode);\\n\\t\\t\\t\\taddress.add(object);\\n\\n\\t\\t\\t}\\n\\t\\t\\treturn address;\\n\\t\\t} catch (SQLException e) {\\n\\t\\t\\tLOGGER.log(Level.SEVERE, \\\"Error in retrieving travel locations.\\\");\\n\\t\\t\\treturn null;\\n\\t\\t} finally {\\n\\t\\t\\tDbConnect.closeConnection(connection, preparedStatement, resultSet);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b2c2eefc582867dd0858a6ee223f9770\",\n \"score\": \"0.7270497\",\n \"text\": \"public Stream getAllLocations() {\\n Stream.Builder stream = Stream.builder();\\n for (Node n : getEachNode()) {\\n String locationName = n.getId();\\n Location location = getLocation(locationName);\\n stream.accept(location);\\n }\\n return stream.build();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f6bbeeef3adb5e93af202b46f1dd157\",\n \"score\": \"0.7247989\",\n \"text\": \"public List getLocations(Connection con) throws TorqueException\\n {\\n if (collLocations == null)\\n {\\n collLocations = getLocations(new Criteria(10), con);\\n }\\n return collLocations;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cff9174ed1c5b10ddaa0e947c60ad0e8\",\n \"score\": \"0.72280043\",\n \"text\": \"public java.util.List getLocationsList() {\\n return locations_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f2ee3767c82855ba380155fcb224fba\",\n \"score\": \"0.7205167\",\n \"text\": \"public List getLocationsForAddressProcessing() {\\n return locations;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0344d2bafef68bac323acb208b208cd0\",\n \"score\": \"0.7203327\",\n \"text\": \"@JsonGetter(\\\"locations\\\")\\r\\n public List getLocations ( ) { \\r\\n return this.locations;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1a49124cbb8e87daf65ae5c34537e10b\",\n \"score\": \"0.71687233\",\n \"text\": \"public List findAllLocations() {\\n return jdbcTemplate.query(SQL_FIND_ALL_LOCATIONS, new LocationMapper());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc544641d1b0ab87860b8c2c95ce5fe7\",\n \"score\": \"0.7131142\",\n \"text\": \"public List AllLocations() throws SQLException, ClassNotFoundException, IOException {\\n\\t\\tfinal LocationsDAO getloc = new LocationsDAO();\\r\\n\\t\\tList locationinfo = new ArrayList();\\r\\n\\t\\tlocationinfo = getloc.LocationAll();\\r\\n\\t\\t\\r\\n\\t\\treturn locationinfo;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e7196b5ffb33c86d82f3dd43db8673f2\",\n \"score\": \"0.7115827\",\n \"text\": \"public List> getLocation() {\\n if (location == null) {\\n location = new ArrayList>();\\n }\\n return this.location;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1232beefa8b4da4be5ba6d86400523f\",\n \"score\": \"0.71083874\",\n \"text\": \"java.util.List getLocationFiltersList();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f2e66d3eb93c8d12a052bf80ae5b7d01\",\n \"score\": \"0.7100382\",\n \"text\": \"public ArrayList getEnemyLocations();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fabe0a98e3dbe67e0416589590afa577\",\n \"score\": \"0.7039393\",\n \"text\": \"public ViewObjectImpl getLocations() {\\r\\n return (ViewObjectImpl)findViewObject(\\\"Locations\\\");\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c6ed1a055d5f1abf9e8fccfd7353316d\",\n \"score\": \"0.703787\",\n \"text\": \"public java.util.List \\n getLocationsOrBuilderList() {\\n if (locationsBuilder_ != null) {\\n return locationsBuilder_.getMessageOrBuilderList();\\n } else {\\n return java.util.Collections.unmodifiableList(locations_);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fb65306ec09f3ce2b9d3ccb6e931ddec\",\n \"score\": \"0.7018195\",\n \"text\": \"public ArrayList showLocation() {\\r\\n\\t\\treturn RegionLst;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"226e090d5761bb839bd7c07b369d7e3d\",\n \"score\": \"0.7016677\",\n \"text\": \"public ArrayList> getmyLocs() {\\n return this.myLocs;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"283cc5dd6a85210ab466aad8a93b2f00\",\n \"score\": \"0.701317\",\n \"text\": \"public ArrayList getAllLocationCoordinates() {\\n //go through all locations currently in the list and pass them to the activity\\n ArrayList coordinatesList = new ArrayList<>();\\n int numberOfItemsInList;\\n if (isDiscoveredList) {\\n numberOfItemsInList = mKuldigaDiscoveredLocationList.size();\\n } else {\\n numberOfItemsInList = mKuldigaHiddenLocationList.size();\\n }\\n for (int i = 0; i < numberOfItemsInList; i++) {\\n KuldigaLocation location;\\n if (isDiscoveredList) {\\n location = mKuldigaDiscoveredLocationList.get(i);\\n } else {\\n location = mKuldigaHiddenLocationList.get(i);\\n }\\n coordinatesList.add(location.getCoordinates());\\n }\\n\\n return coordinatesList;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1a0b2bbeb5808a7b0a1f4b658aecc9b4\",\n \"score\": \"0.6991429\",\n \"text\": \"List getLocationList(String division, String vpid, String duz, String appProxyName);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e419f3aa4f609726e937f16b70c9503\",\n \"score\": \"0.6950751\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n\\t@Override\\n\\t@Transactional\\n\\t\\n\\tpublic List list() {\\n\\t\\t@SuppressWarnings(\\\"unchecked\\\")\\n\\t\\t\\n\\t\\tList listLocations = (List) sessionFactory.getCurrentSession()\\n\\t\\t.createCriteria(Locations.class)\\n\\t\\t.setResultTransformer(Criteria.DISTINCT_ROOT_ENTITY).list();\\n\\t\\t\\n\\t\\tSession session = this.sessionFactory.getCurrentSession();\\n\\t\\tList listOfLocations = session.createQuery(\\\"from Locations\\\").list();\\n\\t\\t\\n\\t\\t\\t\\treturn listOfLocations;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"05f89e38be53ba4349e21ebeec4e436f\",\n \"score\": \"0.69494706\",\n \"text\": \"@Override\\n\\tpublic List getAll() {\\n\\t\\treturn locationRepository.findAll();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba124c4a7a6600396a3001ccd2ad1d58\",\n \"score\": \"0.6942647\",\n \"text\": \"public java.util.List \\n getLocationsBuilderList() {\\n return getLocationsFieldBuilder().getBuilderList();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"575741adfe7c84bd552dfea8815cf0a4\",\n \"score\": \"0.6933667\",\n \"text\": \"Map>> getLocations();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"239bac7ebc592309f7133cdc6a7fda06\",\n \"score\": \"0.692301\",\n \"text\": \"List findAll();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4e6132736a4522417b7a813a95b78097\",\n \"score\": \"0.69095224\",\n \"text\": \"@Override\\n\\tpublic List getAll() {\\n\\t\\treturn this.repo.findAll();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8fc48edc0ceba81aef9dbdf5c82606f4\",\n \"score\": \"0.6888408\",\n \"text\": \"private ArrayList getCoordinates() {\\r\\n\\t\\t\\tBufferedReader rd = null;\\r\\n\\t\\t\\tStringBuilder sb = null;\\r\\n\\t\\t\\tString line = null;\\r\\n\\t\\t\\tArrayList data = new ArrayList();\\r\\n\\t\\t\\t\\r\\n\\t\\t\\ttry{\\r\\n\\t\\t\\t\\tURL url = new URL(getString(R.string.poi_url));\\r\\n\\t\\t\\t\\t// Creating an http connection to communicate with url \\r\\n\\t\\t\\t\\tHttpURLConnection urlConnection = (HttpURLConnection) url.openConnection();\\r\\n\\t\\t\\t\\t// Allow inputs \\r\\n\\t\\t\\t\\turlConnection.setDoInput(true);\\r\\n\\t\\t\\t\\t// Allow outputs\\r\\n\\t\\t\\t\\turlConnection.setDoOutput(true);\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\turlConnection.setRequestProperty(\\\"User-Agent\\\",\\\"Mozilla/5.0 ( compatible ) \\\");\\r\\n\\t\\t\\t\\turlConnection.setRequestProperty(\\\"Accept\\\",\\\"*/*\\\");\\r\\n\\t\\t\\t\\t// Set Request Type GET\\r\\n\\t\\t\\t\\turlConnection.setRequestMethod(\\\"GET\\\");\\r\\n\\t\\t\\t\\t// Connecting to url \\r\\n\\t\\t\\t\\turlConnection.connect();\\r\\n\\t\\t\\t\\t// Sending request to server\\r\\n\\t\\t\\t\\tDataOutputStream dos = new DataOutputStream(urlConnection.getOutputStream());\\r\\n\\t\\t\\t\\tdos.writeBytes(\\\"cmd=GetLoc\\\");\\r\\n\\t\\t\\t\\tdos.flush();\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//Create the Readers for the InputStream\\r\\n\\t\\t\\t\\trd = new BufferedReader(new InputStreamReader(urlConnection.getInputStream()));\\r\\n\\t\\t\\t\\tsb = new StringBuilder();\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//Add each line to a String Builder\\r\\n\\t\\t\\t\\twhile((line = rd.readLine()) != null){\\r\\n\\t\\t\\t\\t\\t//data.add(line);\\r\\n\\t\\t\\t\\t\\tsb.append(line);\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//Close the connection\\r\\n\\t\\t\\t\\turlConnection.disconnect();\\r\\n\\t\\t\\t\\t//Parse the returned JSON\\r\\n\\t\\t\\t\\tdata = parseJSON(sb.toString());\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\tcatch(Exception e){\\r\\n\\t\\t\\t\\tLog.d(\\\"Exception while downloading the locations info from url\\\", e.toString());\\r\\n\\t\\t\\t\\te.printStackTrace();\\r\\n\\t\\t\\t\\treturn null;\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\treturn data;\\r\\n\\t\\t\\t\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0c4f24b77e079ac20ad575d3c0cd58c6\",\n \"score\": \"0.6866869\",\n \"text\": \"@GET\\n public Response getLocations(){\\n return Response.ok().entity(this.locationsService.getLocations()).build();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"85674defd2e28ffb12a2d9b2fbd3e53d\",\n \"score\": \"0.68605804\",\n \"text\": \"public List getLocationsForRelocation() {\\n return locationsToRelocalize;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54af4873011d7511511c13da82482c8e\",\n \"score\": \"0.6850453\",\n \"text\": \"public List getIhfsLocationRecordList()\\n {\\n String whereClause = \\\"ORDER BY lid\\\";\\n return getRecordList(new LocationTable(_dbIhfs), whereClause);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aa4cc3d23ffb90239537b4fa2cf020f9\",\n \"score\": \"0.67994225\",\n \"text\": \"public Room[][] getLocations(){\\n return map.getLocations();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c5babc1b0f5d39bb52428b18e7481aae\",\n \"score\": \"0.67951185\",\n \"text\": \"List DisplayAllLocations();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fadd4b2e0934b8355b028614f781f7f9\",\n \"score\": \"0.67848295\",\n \"text\": \"java.util.List \\n getLocationsOrBuilderList();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"21d3e9913d3db3558390f724867bfb4d\",\n \"score\": \"0.67739356\",\n \"text\": \"@CheckForNull\\n public List listLocations(String filePath) {\\n return provider.listLocations(filePath);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e18c20b4e2ea9ea3319f018583e0bea6\",\n \"score\": \"0.67640644\",\n \"text\": \"public List getLocations(Criteria criteria) throws TorqueException\\n {\\n if (collLocations == null)\\n {\\n if (isNew())\\n {\\n collLocations = new ArrayList();\\n }\\n else\\n {\\n criteria.add(LocationPeer.SALES_DISTRICT_ID, getSalesDistrictId() );\\n collLocations = LocationPeer.doSelect(criteria);\\n }\\n }\\n else\\n {\\n // criteria has no effect for a new object\\n if (!isNew())\\n {\\n // the following code is to determine if a new query is\\n // called for. If the criteria is the same as the last\\n // one, just return the collection.\\n criteria.add(LocationPeer.SALES_DISTRICT_ID, getSalesDistrictId());\\n if (!lastLocationsCriteria.equals(criteria))\\n {\\n collLocations = LocationPeer.doSelect(criteria);\\n }\\n }\\n }\\n lastLocationsCriteria = criteria;\\n\\n return collLocations;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0480fff3f316034c43ede13a9093dfba\",\n \"score\": \"0.6750281\",\n \"text\": \"default Collection getAllLocations() throws ModelException{\\n\\t\\ttry {\\n\\t\\treturn Location.getLocations();\\n\\t\\t} catch (Throwable exc) {\\n\\t\\t\\tthrow new ModelException();\\n\\t\\t}\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c28e2b1ffc13fa4a4482106428ab58a7\",\n \"score\": \"0.6716625\",\n \"text\": \"public ArrayDeque getKarboniteLocations();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7a32bdc0a331f79677de40a4749646c\",\n \"score\": \"0.66981065\",\n \"text\": \"@GetMapping(\\\"locationcode\\\")\\n\\tpublic List findAllLocationcode() throws Exception {\\n\\t\\tList locationCodeLists = adminService.findAllLocationcode();\\n\\t\\treturn locationCodeLists;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fd62391d41fe99c0b1a4d3ec8982804a\",\n \"score\": \"0.6687537\",\n \"text\": \"public java.util.List \\n getLocationsOrBuilderList() {\\n return locations_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"adde9678955c223f649ca8686b87f99a\",\n \"score\": \"0.6671501\",\n \"text\": \"public static ArrayList getLocationListByUser (String uname){\\n\\t\\tArrayList list = new ArrayList();\\n\\t\\tfor (User user : users){\\n\\t\\t\\tif (user.getUsername().equals(uname))\\n\\t\\t\\t\\tlist = user.getLocationList();\\n\\t\\t}\\n\\t\\treturn list;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a943383c92533badb07257e39bc713e8\",\n \"score\": \"0.66560733\",\n \"text\": \"public static List getLocationList(String locations) throws JSONException {\\n JSONObject jsonObject = new JSONObject(locations);\\n return getLocationList(jsonObject);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"21d6fb5ecd5fa42722a4c45d45cc51ec\",\n \"score\": \"0.6639703\",\n \"text\": \"public HashMap getLocations() {\\r\\n\\t\\treturn locations;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7b46de678a3ee9095791f052edbfaa44\",\n \"score\": \"0.6629065\",\n \"text\": \"@JsonProperty(\\\"locations\\\")\\n public Set getLocations() {\\n return locations;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"85b08c32a08034abbba6f156df2566fb\",\n \"score\": \"0.66258997\",\n \"text\": \"Hdfs.DataNodeLocation getLocations(int index);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d8dbf209f5e00724669fb39ef7549a71\",\n \"score\": \"0.6614345\",\n \"text\": \"public void Consulter_Liste_Location() {\\n\\t\\tArrayList Locations = GetAllLocation();\\n\\n\\t\\tfor (Location location : Locations) {\\n\\t\\t\\tif (location.getClient().equals(this)) {\\n\\t\\t\\t\\tSystem.out.println(location);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6042f7675b1d5a1b1ec79a107d08c78f\",\n \"score\": \"0.65895116\",\n \"text\": \"public DefaultListModel getLocList() {\\n model2.removeAllElements();\\n for (int i = 0; i < ev.size(); i++) {\\n model2.addElement(ev.get(i).getLoc());\\n }\\n return model2;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0a9ff57803e513dd0742dc40c1b82aa9\",\n \"score\": \"0.6566767\",\n \"text\": \"public List getLocations(Criteria criteria, Connection con)\\n throws TorqueException\\n {\\n if (collLocations == null)\\n {\\n if (isNew())\\n {\\n collLocations = new ArrayList();\\n }\\n else\\n {\\n criteria.add(LocationPeer.SALES_DISTRICT_ID, getSalesDistrictId());\\n collLocations = LocationPeer.doSelect(criteria, con);\\n }\\n }\\n else\\n {\\n // criteria has no effect for a new object\\n if (!isNew())\\n {\\n // the following code is to determine if a new query is\\n // called for. If the criteria is the same as the last\\n // one, just return the collection.\\n criteria.add(LocationPeer.SALES_DISTRICT_ID, getSalesDistrictId());\\n if (!lastLocationsCriteria.equals(criteria))\\n {\\n collLocations = LocationPeer.doSelect(criteria, con);\\n }\\n }\\n }\\n lastLocationsCriteria = criteria;\\n\\n return collLocations;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a35bc0f6993d4e093f27f6a079054631\",\n \"score\": \"0.6547458\",\n \"text\": \"public ArrayList getOccupiedLocations() {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e6d33635dafd4b9708b9fea7dee5ddd8\",\n \"score\": \"0.65124345\",\n \"text\": \"public ArrayList getDescribedLocations(){\\n\\t\\tArrayList describedLocations = new ArrayList();\\n\\t\\tfor(int i = 0; i < holdadd.length; i++)\\n\\t\\t{\\n\\t\\t\\tfor(int j = 0; j < holdadd[0].length; j++)\\n\\t\\t\\t{\\n\\t\\t\\t\\tif(holdadd[i][j] != null)\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\tLocation descriptionLoc = new Location(i, j);\\n\\t\\t\\t\\t\\tdescribedLocations.add(descriptionLoc);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn describedLocations;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8b8d23d28af09555e55e6d87619b40ac\",\n \"score\": \"0.6509691\",\n \"text\": \"Collection findAllLocations();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c7a2800cf17045972465ded11228da69\",\n \"score\": \"0.6498675\",\n \"text\": \"public List allLineLocations() throws AbsentInformationException {\\n return null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cb9b242c30a0206a9c723f55ac22288e\",\n \"score\": \"0.6490141\",\n \"text\": \"public Location[] get() throws ResponseException {\\n return get(null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1148ffab796c7ad9c2c242d22fbcd95e\",\n \"score\": \"0.6486755\",\n \"text\": \"public Hdfs.DataNodeLocation getLocations(int index) {\\n return locations_.get(index);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"724790984014d5d19cd6a725447f2496\",\n \"score\": \"0.64611655\",\n \"text\": \"@RequestMapping(value = \\\"/geolocations\\\", method = RequestMethod.GET)\\n public ResponseEntity> listGeoLocations() {\\n return new ResponseEntity>(geoLocationRepository.findAll(), HttpStatus.OK);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"232ad571ec3b98fe093fd32703b05153\",\n \"score\": \"0.64298093\",\n \"text\": \"private List getLocationsByStopLocationNodeList(NodeList stopLocationNodeList) {\\n\\n List locations = new ArrayList<>();\\n\\n for (int i = 0; i < stopLocationNodeList.getLength(); i++) {\\n locations.add(getLocationByLocationElement((Element) stopLocationNodeList.item(i)));\\n }\\n\\n return locations;\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2b4326ed4ad4243001bf5f5f982807bd\",\n \"score\": \"0.6393701\",\n \"text\": \"public String displayAllLocations()\\n {\\n Iterator locations = locationIterator();\\n String theLocation = \\\"\\\";\\n while(locations.hasNext())\\n {\\n theLocation += locations.next() + \\\"\\\\n\\\";\\n }\\n return theLocation;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"86c67874b715bd1ba308056612acaada\",\n \"score\": \"0.63770926\",\n \"text\": \"public List parseLocationSearchXml(String xml) {\\n try {\\n NodeList nodes = getElements(xml, LOCATION_TAG_NAME).elements;\\n\\n return getLocationsByStopLocationNodeList(nodes);\\n\\n } catch (IOException | SAXException e) {\\n e.printStackTrace();\\n return Collections.emptyList();\\n }\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d0b55c9bfff65389f6441c557e6d6084\",\n \"score\": \"0.63720286\",\n \"text\": \"public List getLocationsToTask(long task_id) {\\n\\t\\tCursor cursor = database.query(DBHelper.TABLE_TASKS_LOCATIONS, allTasksLocationsColumns, DBHelper.TASKS_LOCATIONS_COLUMN_TASK_ID + \\\" = \\\"+ task_id, null, null, null, null);\\t\\t\\n\\t\\tList locationIDs = new ArrayList();\\n\\t\\tcursor.moveToFirst();\\n\\t\\twhile(!cursor.isAfterLast()){\\n\\t\\t\\tlocationIDs.add(cursor.getLong(2));\\t\\t\\t\\n\\t\\t\\tcursor.moveToNext();\\n\\t\\t}\\n\\t\\t// Get locations by the id list\\n\\t\\tList locations = new ArrayList();\\n\\t\\tfor (long id:locationIDs) {\\n\\t\\t\\tlocations.add(getLocation(id));\\n\\t\\t}\\n\\t\\treturn locations;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6b2204833409c62ab3f5845ffb722d4c\",\n \"score\": \"0.63608253\",\n \"text\": \"public abstract List getLocationMapList(String ctrdCd);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"07260cb8aa95e936c4dbe5d82d546686\",\n \"score\": \"0.6358766\",\n \"text\": \"public ArrayList openLocations( int loc ) {\\n\\t\\tArrayList temp = new ArrayList();\\n\\t\\tint x = loc / maze.length;\\n\\t\\tint y = loc % maze.length;\\n\\t\\tint down = ( ( x + 1 ) * maze.length ) + y;\\n\\t\\tif( uncheckedLocations.contains( down ) && !isWall( x + 1, y ) ) {\\n\\t\\t\\ttemp.add( down );\\n\\t\\t} else if( isEnd( down ) ) {\\n\\t\\t\\ttemp.clear();\\n\\t\\t\\ttemp.add( down );\\n\\t\\t\\treturn temp;\\n\\t\\t}\\n\\t\\tint up = ( ( x - 1 ) * maze.length ) + y;\\n\\t\\tif( uncheckedLocations.contains( up ) && !isWall( x - 1, y ) ) {\\n\\t\\t\\ttemp.add( up );\\n\\t\\t} else if( isEnd( up ) ) {\\n\\t\\t\\ttemp.clear();\\n\\t\\t\\ttemp.add( up );\\n\\t\\t\\treturn temp;\\n\\t\\t}\\n\\t\\tint right = ( x * maze.length ) + ( y + 1 );\\n\\t\\tif( uncheckedLocations.contains( right ) && !isWall( x, y + 1 ) ) {\\n\\t\\t\\ttemp.add( right );\\n\\t\\t} else if( isEnd( right ) ) {\\n\\t\\t\\ttemp.clear();\\n\\t\\t\\ttemp.add( right );\\n\\t\\t\\treturn temp;\\n\\t\\t}\\n\\t\\tint left = ( x * maze.length ) + ( y - 1 );\\n\\t\\tif( uncheckedLocations.contains( left ) && !isWall( x, y - 1 ) ) {\\n\\t\\t\\ttemp.add( left );\\n\\t\\t} else if( isEnd( left ) ) {\\n\\t\\t\\ttemp.clear();\\n\\t\\t\\ttemp.add( left );\\n\\t\\t\\treturn temp;\\n\\t\\t}\\n\\t\\treturn temp;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b0fad76a63c2772bf4170cb86aedbf3e\",\n \"score\": \"0.63580775\",\n \"text\": \"public Collection getLocations(String employeeId)\\n throws EmployeeException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1456189eb120bf795a5452ff14a2d0a\",\n \"score\": \"0.6342852\",\n \"text\": \"public Hdfs.DataNodeLocation getLocations(int index) {\\n if (locationsBuilder_ == null) {\\n return locations_.get(index);\\n } else {\\n return locationsBuilder_.getMessage(index);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"20066a01711f92d76fa7d59870569b2a\",\n \"score\": \"0.6326296\",\n \"text\": \"List zones();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"20066a01711f92d76fa7d59870569b2a\",\n \"score\": \"0.6326296\",\n \"text\": \"List zones();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d29f033ee6ec30688b5f8e65ebf600d2\",\n \"score\": \"0.63250107\",\n \"text\": \"public ArrayList makeMap(){\\r\\n\\t\\tArrayList locList = new ArrayList();\\r\\n\\t\\t\\r\\n\\t\\tLocation philly = new Location(\\\"Philadelphia\\\", \\\"Fourth Ave.\\\", null, null);\\r\\n\\t\\tLocation cleveland = new Location(\\\"Cleveland\\\", \\\"Fifth Ave.\\\", null, null);\\r\\n\\t\\tLocation coffee = new Location(\\\"Coffee\\\", \\\"Fifth Ave.\\\", null, null);\\r\\n\\t\\tLocation diner = new Location(\\\"Diner\\\", \\\"Fourth Ave.\\\", null, null);\\r\\n\\t\\tLocation hotel = new Location(\\\"Hotel\\\", \\\"Fourth Ave.\\\", null, null);\\r\\n\\t\\tLocation library = new Location(\\\"Library\\\", \\\"Fifth Ave.\\\", null, null);\\r\\n\\t\\t\\r\\n\\t\\tcoffee.setNext(library);\\r\\n\\t\\tcoffee.setTurn(diner);\\r\\n\\t\\t\\r\\n\\t\\tdiner.setNext(philly);\\r\\n\\t\\tdiner.setTurn(coffee);\\r\\n\\t\\t\\t\\t\\r\\n\\t\\thotel.setNext(diner);\\r\\n\\t\\thotel.setTurn(library);\\r\\n\\t\\t\\r\\n\\t\\tlibrary.setNext(cleveland);\\r\\n\\t\\tlibrary.setTurn(hotel);\\r\\n\\t\\t\\r\\n\\t\\tlocList.add(hotel);\\r\\n\\t\\tlocList.add(diner);\\r\\n\\t\\tlocList.add(library);\\r\\n\\t\\tlocList.add(coffee);\\r\\n\\t\\t\\r\\n\\t\\treturn locList;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b99956dffb41480d6109f1c72c2f309a\",\n \"score\": \"0.63249445\",\n \"text\": \"public LookupLocator[] getLookupLocators() throws RemoteException {\\n if (OPERATIONS_LOGGER.isLoggable(Level.FINER)) {\\n\\t OPERATIONS_LOGGER.entering(MAILBOX_SOURCE_CLASS, \\n\\t \\\"getLookupLocators\\\");\\n\\t}\\n readyState.check();\\n\\tconcurrentObj.readLock();\\n\\ttry {\\n if (OPERATIONS_LOGGER.isLoggable(Level.FINER)) {\\n\\t OPERATIONS_LOGGER.exiting(MAILBOX_SOURCE_CLASS, \\n \\t \\\"getLookupLocators\\\");\\n }\\n\\t return lookupLocators;\\n\\t} finally {\\n\\t concurrentObj.readUnlock();\\n\\t}\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bb5f76a7453c545d51835d68b91d743c\",\n \"score\": \"0.6322587\",\n \"text\": \"java.util.List \\n getInfosList();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ae2c8774f4f5792a939f8393516b44e\",\n \"score\": \"0.63181823\",\n \"text\": \"public final File[] getLocations() {\\r\\n return this._locations.toArray(new File[this._locations.size()]);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7aa9cdd7961f9d74f2ea68685fd1e510\",\n \"score\": \"0.6314707\",\n \"text\": \"void GetLocations(PlacesClient placesClient) {\\n List placeFields = Arrays.asList(Place.Field.LAT_LNG);\\n\\n // Use the builder to create a FindCurrentPlaceRequest.\\n FindCurrentPlaceRequest request = FindCurrentPlaceRequest.builder(placeFields).build();\\n //final List restaurantNames=new ArrayList();\\n if (ContextCompat.checkSelfPermission(this, ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED) {\\n placesClient.findCurrentPlace(request).addOnSuccessListener((response) -> {\\n\\n\\n for (PlaceLikelihood placeLikelihood : response.getPlaceLikelihoods()) {\\n Place place = placeLikelihood.getPlace();\\n LatLng LL = place.getLatLng();\\n if (LL != null) {\\n Locations.add(LL);\\n }\\n }\\n }).addOnFailureListener((exception) -> {\\n\\n }\\n );\\n } else {\\n int PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION = 100;\\n ActivityCompat.requestPermissions(this, new String[]{ACCESS_FINE_LOCATION}, PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\\n\\n }\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ef548e2dbcd1bb901baefc198ef265df\",\n \"score\": \"0.63019866\",\n \"text\": \"public ArrayList getShipLocations()\\n\\t{\\n\\t\\treturn locations;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9b7795c94348055ad671b5b6e7b3616c\",\n \"score\": \"0.6299048\",\n \"text\": \"public static List getGeofenceList() {\\n List geofenceList = new ArrayList();\\n for (String city : CITY_LOCATIONS.keySet()) {\\n LatLng cityLatLng = CITY_LOCATIONS.get(city);\\n geofenceList.add(new Geofence.Builder()\\n .setCircularRegion(cityLatLng.latitude, cityLatLng.longitude, TRIGGER_RADIUS)\\n .setRequestId(city)\\n .setTransitionTypes(TRIGGER_TRANSITION)\\n .setExpirationDuration(EXPIRATION_DURATION)\\n .build());\\n }\\n return geofenceList;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f83ae21302a74c98d729325d66ecc11d\",\n \"score\": \"0.6291555\",\n \"text\": \"@Override\\n\\tpublic List getByOffres(Offre offre) {\\n\\t\\treturn locationRepository.findByOffres(offre);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fd1c0cee99206292f47d9abb29439c19\",\n \"score\": \"0.62840825\",\n \"text\": \"@RequestMapping(value = MsalesConstants.MODULE.LOCATION.ACTION_GET_LIST_LOCATION, method = RequestMethod.POST)\\n public @ResponseBody\\n String getListLocation(HttpServletRequest request) {\\n // get Lists Location from DB\\n MsalesPageRequest page = (MsalesPageRequest) request.getAttribute(MsalesConstants.PAGE);\\n ParameterList parameterList = new ParameterList(page.getPageNo(), page.getRecordsInPage());\\n MsalesResults lists = dataService.getListOption(Location.class, parameterList, true);\\n // lists not null display list\\n return MsalesJsonUtils.getJSONFromOject(MsalesResponse.create(\\n HttpStatus.OK, lists));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cfcbbe98ba47718d036c9155f439d922\",\n \"score\": \"0.6273651\",\n \"text\": \"@Override\\n\\tpublic List geoipFindBycityLocation() {\\n\\t\\treturn geoipRepository.geoipFindByCityLocationName();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"25250c2701a3d55109800a76e745f2a9\",\n \"score\": \"0.6266512\",\n \"text\": \"LookupLocator[] getLocators(Uuid registrationID)\\n throws RemoteException, ThrowThis;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed3d40b4ac0e05042b4a67bb20eedb43\",\n \"score\": \"0.6241565\",\n \"text\": \"@Override\\n\\tpublic List findLatAndLongByFarm() {\\n\\t\\tHttpSession httpSession = ReflectUtil.getCurrentHttpSession();\\n\\t\\tHttpServletRequest request = ReflectUtil.getCurrentHttpRequest();\\n\\t\\tString tenantId = !StringUtil.isEmpty(ISecurityFilter.DEFAULT_TENANT_ID) ? ISecurityFilter.DEFAULT_TENANT_ID\\n\\t\\t\\t\\t: \\\"\\\";\\n\\n\\t\\tSession sessions = getSessionFactory().withOptions().tenantIdentifier(tenantId).openSession();\\n\\t\\tQuery query = sessions\\n\\t\\t\\t\\t.createQuery(\\\"SELECT fa.id,fa.latitude,fa.longitude FROM Farm fa where fa.latitude is not null AND \\\"\\n\\t\\t\\t\\t\\t\\t+ \\\"fa.longitude is not null AND fa.latitude!='' AND fa.longitude!='' AND fa.latitude!=0 AND fa.longitude!=0 GROUP BY fa.latitude,fa.longitude\\\");\\n\\t\\tList list = query.list();\\n\\t\\tsessions.flush();\\n\\t\\tsessions.close();\\n\\t\\treturn list;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab9d59f4757ea877ada8c00edf60c335\",\n \"score\": \"0.62358993\",\n \"text\": \"default Location[] getAllLocations(Route route) throws ModelException {\\n\\t\\ttry {\\n\\t\\t\\treturn route.getAllVisitedLocations();\\n\\t\\t} catch (Throwable exc) {\\n\\t\\t\\tthrow new ModelException();\\n\\t\\t}\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"caed4d14e66f5ce6d225e39e4c03d55a\",\n \"score\": \"0.62305164\",\n \"text\": \"public java.util.List getLocationFiltersList() {\\n if (locationFiltersBuilder_ == null) {\\n return java.util.Collections.unmodifiableList(locationFilters_);\\n } else {\\n return locationFiltersBuilder_.getMessageList();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47f57cd3879727ee07a78900fd36750f\",\n \"score\": \"0.62299025\",\n \"text\": \"protected ArrayList getEmptyLocations()\\n {\\n ArrayList locs = new ArrayList();\\n for ( int i = 0; i < grid.getNumRows(); i++ )\\n {\\n for ( int x = 0; x < grid.getNumCols(); x++ )\\n {\\n Location loc = new Location( i, x );\\n if ( grid.isValid( loc ) && grid.get( loc ) == null )\\n {\\n locs.add( loc );\\n }\\n }\\n }\\n return locs;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7b574c5ed885a5a6bbeb0fcf7862ea30\",\n \"score\": \"0.6226825\",\n \"text\": \"private void getNearByLocations(String longitude, String latitude) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"544f61a6aae2346d490494c1be9c6f87\",\n \"score\": \"0.62155825\",\n \"text\": \"public java.lang.String getAllLocationCenter() throws java.rmi.RemoteException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7f89fb781a802a02a9a33af78f8fdb7e\",\n \"score\": \"0.62104726\",\n \"text\": \"public static Locations getLocations(WebElement root) {\\n Point topLeft = root.getLocation();\\n Dimension dimension = root.getSize();\\n Point topRight = topLeft.moveBy(dimension.getWidth(), 0);\\n Point bottomRight = topRight.moveBy(0, dimension.getHeight());\\n Point bottomLeft = topLeft.moveBy(0, dimension.getHeight());\\n return new Locations(topLeft, topRight, bottomLeft, bottomRight);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b4808d6257568d470a94eadc5fb09927\",\n \"score\": \"0.6189303\",\n \"text\": \"ArrayList listOfLocalities() {\\n if (localities.size() < 1) {\\n System.out.println(\\\"\\\\nThere is no localities\\\\n\\\");\\n } else {\\n Collections.sort(localities, Comparator.comparing(Locality::getName));\\n System.out.println(\\\"All localities in alphabetic order: \\\");\\n\\n for (int i=0; i \\n getResultsList();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bbfef40698f7e17c708a32861414c139\",\n \"score\": \"0.6163271\",\n \"text\": \"private CommandResult executeListLocation() {\\n ListingUnit.setCurrentListingUnit(LOCATION);\\n UniqueLocationPredicate locationPredicate = new UniqueLocationPredicate(model.getUniqueLocationSet());\\n EventsCenter.getInstance().post(new ViewedLessonEvent());\\n ListingUnit.setCurrentPredicate(locationPredicate);\\n return executeListByAttribute(locationPredicate);\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":357,"cells":{"query_id":{"kind":"string","value":"f326ec3abe6284ad7614ebe924b4bd88"},"query":{"kind":"string","value":"the time that signature took int64 sign = 2;"},"positive_passages":{"kind":"list like","value":[{"docid":"24a6880fff12c24854b4564a1deb543a","score":"0.0","text":"public Builder clearSign() {\n \n sign_ = 0L;\n onChanged();\n return this;\n }","title":""}],"string":"[\n {\n \"docid\": \"24a6880fff12c24854b4564a1deb543a\",\n \"score\": \"0.0\",\n \"text\": \"public Builder clearSign() {\\n \\n sign_ = 0L;\\n onChanged();\\n return this;\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"7e21d16c7c9f708b86a10ebfeff78629","score":"0.69511914","text":"long getSign();","title":""},{"docid":"bc7aa95521777b07be280a39edc8f697","score":"0.61411214","text":"int getUint32ExpireTime();","title":""},{"docid":"71e83a2154778d701214b2901a035898","score":"0.61133355","text":"public long getSign() {\n return sign_;\n }","title":""},{"docid":"943f03ca327ad2d96d62866c6ad0f63c","score":"0.60539204","text":"private static void testCreateSignatureEachTimeSign() throws Exception {\n\t\tnew PerformanceTestHelper(\"testCreateSignatureEachTimeSign\") {\n\t\t\tPrivateKey privateKey = RSAUtils\n\t\t\t\t\t.getPrivateKeyFromBase64Chars(_privateKeyChars);\n\n\t\t\tint cnt = 0;\n\t\t\t@Override\n\t\t\tpublic void run() throws Exception {\n\t\t\t\tSignature signSignature = RSAUtils.getSignSignature(privateKey);\n\t\t\t\tchar[] sign = RSAUtils.sign(signSignature, (_src+cnt).toCharArray());\n\t\t\t\t\n\t\t\t\tSystem.out.print(sign[4]+\", \");\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t}.setRuns(_runs)\n\t\t.setShouldWarmUp(true)\n\t\t.doTest()\n\t\t.showResult();\n\t}","title":""},{"docid":"2b4f87ecd30844780c8e8cd12e18e83b","score":"0.60371387","text":"public long getSign() {\n return sign_;\n }","title":""},{"docid":"4a848c559b8d576c5995ee2265057e31","score":"0.60111284","text":"private static long get64MostSignificantBitsForVersion1() {\n LocalDateTime start = LocalDateTime.of(1582, 10, 15, 0, 0, 0);\n Duration duration = Duration.between(start, LocalDateTime.now());\n long seconds = duration.getSeconds();\n long nanos = duration.getNano();\n long timeForUuidIn100Nanos = seconds * 10000000 + nanos * 100;\n long least12SignificatBitOfTime = (timeForUuidIn100Nanos & 0x000000000000FFFFL) >> 4;\n long version = 1 << 12;\n return\n (timeForUuidIn100Nanos & 0xFFFFFFFFFFFF0000L) + version + least12SignificatBitOfTime;\n }","title":""},{"docid":"a4d814e492f6592fefc92da83aa9f8bd","score":"0.58146626","text":"com.baidu.xuper.pb.Chainedbft.SignInfo getSignature();","title":""},{"docid":"a4d814e492f6592fefc92da83aa9f8bd","score":"0.58146626","text":"com.baidu.xuper.pb.Chainedbft.SignInfo getSignature();","title":""},{"docid":"526d6fa0dc68931e96fa7deb8d839caf","score":"0.5786116","text":"long getSint64();","title":""},{"docid":"f75f83d6fc41b6c636218fac05536dcc","score":"0.57793784","text":"public static void main(String[] args) {\n\n// String sign = sign(\"18801417651\", \"4d5d8a902fea41dbb567b21efc65da13\");\n\n }","title":""},{"docid":"b2538fb58947dd3624de3ebaa9896673","score":"0.5770259","text":"long getSfixed64();","title":""},{"docid":"f5a04d369a2771cf39549ac3abd6a08b","score":"0.57583505","text":"int getUint32CreateTime();","title":""},{"docid":"926d8a59f965c2aed9f473d2d8af8f9c","score":"0.57358485","text":"long timestamp();","title":""},{"docid":"e5065d1548cec9afe27fd75cba1db4b6","score":"0.57211655","text":"long getLeastSigBits();","title":""},{"docid":"037cca66347832f19204df95d3effc9e","score":"0.5717953","text":"public static boolean isSigned_counter() {\n return true;\n }","title":""},{"docid":"a606435af4d030227274483a73f39ffa","score":"0.5712319","text":"com.google.protobuf.ByteString getSign();","title":""},{"docid":"372f9655a5732cdbabe51656a946b043","score":"0.5674626","text":"long getTime();","title":""},{"docid":"372f9655a5732cdbabe51656a946b043","score":"0.5674626","text":"long getTime();","title":""},{"docid":"372f9655a5732cdbabe51656a946b043","score":"0.5674626","text":"long getTime();","title":""},{"docid":"372f9655a5732cdbabe51656a946b043","score":"0.5674626","text":"long getTime();","title":""},{"docid":"372f9655a5732cdbabe51656a946b043","score":"0.5674626","text":"long getTime();","title":""},{"docid":"372f9655a5732cdbabe51656a946b043","score":"0.5674626","text":"long getTime();","title":""},{"docid":"372f9655a5732cdbabe51656a946b043","score":"0.5674626","text":"long getTime();","title":""},{"docid":"d648ced247d6259766d6d5bb166cf987","score":"0.5670997","text":"public static native long libvlc_picture_get_time(libvlc_picture_t pic);","title":""},{"docid":"802089bb6d8addf042d02ff186c49235","score":"0.56461364","text":"public long getSWSignature() {\n\t\tint id = 0;\n\t\tElement el;\n\t\tlong crc = 1;\n\t\twhile ((el = getElement(id)) != null) {\n\t\t\tcrc += el.getHWType() * (id+1) * 1237;\n\t\t\tid++;\n\t\t}\n\t\tcrc &= 0xffffffffffL;\n\t\treturn crc;\n\t}","title":""},{"docid":"2d913a76caa05326a00655781b003de6","score":"0.56285733","text":"protected long getTimestamp() {\n\t\t\t\n\t\t\t/* Decode Timestamp */ \n\t\t\tint offset = 0;\n\t\t\tlong seconds = ( ( (long)jpeg[25+offset]) << 24 ) & 0xff000000 | \n\t\t\t\t\t\t ( ( (long)jpeg[26+offset]) << 16 ) & 0x00ff0000 | \n\t\t\t\t\t\t ( ( (long)jpeg[27+offset]) << 8 ) & 0x0000ff00 | \n\t\t\t\t\t\t ( (long)jpeg[28+offset]\t\t & 0x000000ff ); \n\t\t\tlong hundreths = ( (long)jpeg[29+offset] & 0x000000ff );\n\n\t\t\treturn 1000*seconds + 10*hundreths;\n\n\t\t\t/*\n\t\t\treturn 1000L*(((jpeg[25]<0?256+jpeg[25]:jpeg[25])<<24)+((jpeg[26]<0?256+jpeg[26]:jpeg[26])<<16)+\n\t\t\t\t\t((jpeg[27]<0?256+jpeg[27]:jpeg[27])<<8)+(jpeg[28]<0?256+jpeg[28]:jpeg[28]))+\n\t\t\t\t\t10L*(jpeg[29]<0?256+jpeg[29]:jpeg[29]);\t\t\n\t\t\t*/\n\t\n\t\t}","title":""},{"docid":"81935e7f64e8fb3a21e66487794bb67e","score":"0.56275946","text":"int getTime();","title":""},{"docid":"81935e7f64e8fb3a21e66487794bb67e","score":"0.56275946","text":"int getTime();","title":""},{"docid":"81935e7f64e8fb3a21e66487794bb67e","score":"0.56275946","text":"int getTime();","title":""},{"docid":"81935e7f64e8fb3a21e66487794bb67e","score":"0.56275946","text":"int getTime();","title":""},{"docid":"0297a6d79254fb5743ab01a5a825007e","score":"0.562551","text":"public String getTestSignature();","title":""},{"docid":"da2ad38e09a21f4b32c5b325bae54fec","score":"0.5594496","text":"Signature getSignature();","title":""},{"docid":"da2ad38e09a21f4b32c5b325bae54fec","score":"0.5594496","text":"Signature getSignature();","title":""},{"docid":"f878a2aeb75ab3ee148f31b3be685fc9","score":"0.5587762","text":"protected static native int getSignatureJNI0();","title":""},{"docid":"c6014aa3c7c067e0b7d69fa80f22a876","score":"0.5561978","text":"long getMostSigBits();","title":""},{"docid":"d6b6c52e04d2ccec4925bde193005b1a","score":"0.5528854","text":"public byte[] timestamp(InputStream input) throws SignatureException, IOException {\n\t\t// Need to store our output in a byte array\n\t\tByteArrayOutputStream output = new ByteArrayOutputStream(156);\n\n\t\t// Begin by hashing the input.\n\t\tmHasher.reset();\n\t\tint i;\n\t\twhile ((i = input.read())!= -1) {\n\t\t\tmHasher.update((byte)i);\n\t\t}\n\t\tbyte[] hash1 = mHasher.digest();\n\t\toutput.write(hash1);\n\n\t\t// Now we need to get the time\n\t\tlong time = System.currentTimeMillis();\n\t\tbyte[] timeBytes = longToBytes(time);\n\t\toutput.write(timeBytes);\n\n\t\t// Produce the second hash from the first hash\n\t\t// and the time.\n\t\tmHasher.update(hash1);\n\t\tmHasher.update(timeBytes);\n\t\tbyte[] hash2 = mHasher.digest();\n\n\t\t// Now sign the second hash.\n\t\tSignature signer = null;\n\t\ttry {\n\t\t\tsigner = Signature.getInstance(\"SHA1withRSA\");\n\t\t\tsigner.initSign(mPrivateKey);\n\t\t} catch (NoSuchAlgorithmException nsae) {\n\t\t\t// Probably don't have RSA signatures installed\n\t\t\tnsae.printStackTrace();\n\t\t\tSystem.err.println(\"Check that an RSA provider is installed.\");\n\t\t\tthrow new RuntimeException(\"No suitable provider\");\n\t\t} catch (InvalidKeyException ike) {\n\t\t\tthrow new SignatureException(\"InvalidKey\");\n\t\t}\n\t\tsigner.update(hash2);\n\t\tbyte[] signatureBytes = signer.sign();\n\n\t\t// Write that to the array.\n\t\toutput.write(signatureBytes);\n\t\tbyte[] outputBytes = output.toByteArray();\n\t\treturn outputBytes;\n\t}","title":""},{"docid":"e242def2bb8a3e9dc8bfc1b94fc9682d","score":"0.54858553","text":"int getCryptoPeriodSeconds();","title":""},{"docid":"fcc1878d09ed48db14597ae14b92a457","score":"0.5480526","text":"public String getSignature();","title":""},{"docid":"fcc1878d09ed48db14597ae14b92a457","score":"0.5480526","text":"public String getSignature();","title":""},{"docid":"19a2d59b7333fc31aea795f344f74a81","score":"0.54682326","text":"public int gettimeStamp(){ return (int)tsclock.getTime(); }","title":""},{"docid":"4a36eeb41d8ba0debff3ff352a5a89e7","score":"0.54542136","text":"java.lang.String getSignature();","title":""},{"docid":"4a36eeb41d8ba0debff3ff352a5a89e7","score":"0.54542136","text":"java.lang.String getSignature();","title":""},{"docid":"f093f6a8d3bf828bcbbd68fcf267663f","score":"0.5452771","text":"public int getTime() {\n\t\treturn ts2;\n\t}","title":""},{"docid":"b2b78cf6507193c51a27679110b22929","score":"0.54472715","text":"private static void testCreateSignatureEachTimeVerify() throws Exception {\n\t\tnew PerformanceTestHelper(\"testCreateSignatureEachTimeVerify\") {\n\t\t\tPublicKey publicKey = RSAUtils.getPublicKeyFromBase64Chars(_publicKeyChars);\n\t\t\t\n\t\t\tint cnt = 0;\n\t\t\t@Override\n\t\t\tpublic void run() throws Exception {\n\t\t\t\tSignature verifySignature = RSAUtils.getVerifySignature(publicKey);\n\t\t\t\t\n\t\t\t\tchar[] sign = _signs.get(cnt);\n\t\t\t\tchar[] data = (_src+cnt).toCharArray();\n\t\t\t\tboolean verify = RSAUtils.verify(verifySignature, data, sign);\n\t\t\t\t\n\t\t\t\tSystem.out.print((verify? 1 : 0)+\", \");\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t}.setRuns(_runs)\n\t\t.setShouldWarmUp(true)\n\t\t.doTest()\n\t\t.showResult();\n\t}","title":""},{"docid":"08d592882f84c7d3727c6b3936ebd63e","score":"0.5436119","text":"public BigInteger Signature(BigInteger m) \n\t{\n\t\t// m.compareTo(n): m < n = -1, m == n = 0, m > n = 1\n\t\tif (m.compareTo(n) == -1) \n\t\t{\n\t\t\tBigInteger s;\n\n\t\t\ts = m.modPow(d, n);\n\n\t\t\treturn s;\n\t\t} \n\t\telse \n\t\t{\n\t\t\treturn null;\n\t\t}\n\t}","title":""},{"docid":"7595c49e64c57f82ab7e7ff4617b7cff","score":"0.5434597","text":"public int get_sign() {\n\t\treturn 1;\n\t}","title":""},{"docid":"03b13cdd62653243429cdffc0b6b236c","score":"0.5412639","text":"public double AstrometricGeocentricLightTime()\n{\ndouble __retval = 0.0;\n__retval = __m11(implementation.longValue());\nreturn __retval;\n}","title":""},{"docid":"aae5f3ed2e04cf6a61075116021eec79","score":"0.54083276","text":"long getFixed64();","title":""},{"docid":"4d000e56cc737ba242484e65beafa2de","score":"0.5405124","text":"public native double getTime();","title":""},{"docid":"ec3d82821a0a9dd666bbaf40214dd6e8","score":"0.54008746","text":"String getSign();","title":""},{"docid":"d2961af4d778d7ae30c2167e14b49ef6","score":"0.5398293","text":"private final String tstime() {\n\t\tString str = \"\";\n\n\t\tSimpleDateFormat sf = new SimpleDateFormat(\"yyyy-MM-dd hh:mm:ss\");\n\t\tlong time1;\n\t\ttry {\n\t\t\ttime1 = sf.parse(\"1970-01-01 00:00:00 UTC\").getTime();\n\t\t\tDate date = new Date();\n\t\t\tlong time2 = date.getTime();\n\t\t\tlong time = (time2 - time1);\n\t\t\t// System.out.println(time);\n\t\t\tstr = time + \"\";\n\t\t} catch (ParseException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\treturn str;\n\t}","title":""},{"docid":"9064647d6f3730538f259205e8c52da0","score":"0.5394278","text":"void rt(long rt);","title":""},{"docid":"ea03ec717822b0586d2b3f3ef82732f4","score":"0.53877103","text":"long getClientTs();","title":""},{"docid":"1137f952567b9776d4b024d5b40606f1","score":"0.53852785","text":"long mo60383b(long j);","title":""},{"docid":"7705cc12f5155aac3f80dcf2975433a1","score":"0.5377943","text":"com.google.protobuf.ByteString getSignature();","title":""},{"docid":"7705cc12f5155aac3f80dcf2975433a1","score":"0.5377943","text":"com.google.protobuf.ByteString getSignature();","title":""},{"docid":"7705cc12f5155aac3f80dcf2975433a1","score":"0.5377943","text":"com.google.protobuf.ByteString getSignature();","title":""},{"docid":"7705cc12f5155aac3f80dcf2975433a1","score":"0.5377943","text":"com.google.protobuf.ByteString getSignature();","title":""},{"docid":"7705cc12f5155aac3f80dcf2975433a1","score":"0.5377943","text":"com.google.protobuf.ByteString getSignature();","title":""},{"docid":"7705cc12f5155aac3f80dcf2975433a1","score":"0.5377943","text":"com.google.protobuf.ByteString getSignature();","title":""},{"docid":"7705cc12f5155aac3f80dcf2975433a1","score":"0.5377943","text":"com.google.protobuf.ByteString getSignature();","title":""},{"docid":"7705cc12f5155aac3f80dcf2975433a1","score":"0.5377943","text":"com.google.protobuf.ByteString getSignature();","title":""},{"docid":"7705cc12f5155aac3f80dcf2975433a1","score":"0.5377943","text":"com.google.protobuf.ByteString getSignature();","title":""},{"docid":"7705cc12f5155aac3f80dcf2975433a1","score":"0.5377943","text":"com.google.protobuf.ByteString getSignature();","title":""},{"docid":"7705cc12f5155aac3f80dcf2975433a1","score":"0.5377943","text":"com.google.protobuf.ByteString getSignature();","title":""},{"docid":"7705cc12f5155aac3f80dcf2975433a1","score":"0.5377943","text":"com.google.protobuf.ByteString getSignature();","title":""},{"docid":"7705cc12f5155aac3f80dcf2975433a1","score":"0.5377943","text":"com.google.protobuf.ByteString getSignature();","title":""},{"docid":"7b8c80f26e9f4a5068ef648c2c2a0b05","score":"0.5374012","text":"private int randSign() {\n\t\tint randInt = (int)Math.random() * 2;\n\t\tif (randInt == 0) {\n\t\t\trandInt = -1;\n\t\t}\n\t\treturn randInt;\n\t\t}","title":""},{"docid":"57d5962ae7d1706960bfa76579d9aa24","score":"0.5353128","text":"long getUint64();","title":""},{"docid":"933243f4dda78135daa5e4c16c2246af","score":"0.53348714","text":"public long getTimeSec() {\n\t\treturn msecs / 1000;\n\t}","title":""},{"docid":"e0694716ae48f0759455ee318672f530","score":"0.53309643","text":"public Long weakSignature() {\n return this.weakSignature;\n }","title":""},{"docid":"107c57517fa908137cc89dad9f9c27c7","score":"0.5326838","text":"long getServerTs();","title":""},{"docid":"51866fc91915a4739e9635319b496465","score":"0.530685","text":"native public static int getTaintLong(long val);","title":""},{"docid":"cfb06823a2732f0eff2e65cb77012d9d","score":"0.53055704","text":"long getStartTimeUsec();","title":""},{"docid":"e3b5d02a7c8c8a6a5d04b1d7076a351b","score":"0.5293891","text":"long getTimeStamp();","title":""},{"docid":"e3b5d02a7c8c8a6a5d04b1d7076a351b","score":"0.5293891","text":"long getTimeStamp();","title":""},{"docid":"e3b5d02a7c8c8a6a5d04b1d7076a351b","score":"0.5293891","text":"long getTimeStamp();","title":""},{"docid":"b1a073db741ba6ca6abbd60242461475","score":"0.5286007","text":"public static long getTimeStamp() {\n return 0;\n }","title":""},{"docid":"ac83777cb323444e8a2b2eb28aec338a","score":"0.52834785","text":"long getUserTime();","title":""},{"docid":"c6b95b4bb167f16f5385a8b7d866f186","score":"0.52802014","text":"com.baidu.xuper.pb.Chainedbft.SignInfoOrBuilder getSignatureOrBuilder();","title":""},{"docid":"c6b95b4bb167f16f5385a8b7d866f186","score":"0.52802014","text":"com.baidu.xuper.pb.Chainedbft.SignInfoOrBuilder getSignatureOrBuilder();","title":""},{"docid":"e4395127598fbda636d4d6c693b55222","score":"0.52731353","text":"public int signIn() {\n if ((issuer == null) || (issuer.length() == 0) || (keyId == null) || (keyId.length() == 0)\n || (privateKey == null) || (privateKey.length() == 0) || (audience == null) || (audience.length() == 0)) {\n return -1;\n }\n\n try {\n byte[] encodedKey = BeaconUtil.base64StrToBytes(privateKey);\n PKCS8EncodedKeySpec keySpec = new PKCS8EncodedKeySpec(encodedKey);\n RSAPrivateKey rsaPrivateKey = (RSAPrivateKey) KeyFactory.getInstance(\"RSA\").generatePrivate(keySpec);\n\n Algorithm algorithm = Algorithm.RSA256(null, rsaPrivateKey);\n long iat = System.currentTimeMillis() / 1000;\n long exp = iat + TOKEN_EXPIRE_TIME_MS;\n JWTCreator.Builder builder = JWT.create()\n .withIssuer(issuer)\n .withKeyId(keyId)\n .withAudience(audience)\n .withClaim(\"iat\", iat)\n .withClaim(\"exp\", exp);\n jwt = builder.sign(algorithm);\n return 0;\n } catch (NoSuchAlgorithmException | InvalidKeySpecException | JWTCreationException e) {\n BeaconBaseLog.e(TAG, e.getMessage());\n return -1;\n }\n }","title":""},{"docid":"a3c32825c35fa99ff1a5c5004105a7d8","score":"0.5270354","text":"int getSignedIndex();","title":""},{"docid":"4d969b6281b500d004fab1d6dcd08a6e","score":"0.52346176","text":"long getBaiduExpiresIn();","title":""},{"docid":"175ccacfd0c9f21ff3d34df718f15737","score":"0.5222947","text":"public long getElapsedTime() {\n\treturn lastReturnTimeStamp - firstInvocationTimeStamp;\n }","title":""},{"docid":"3a7ef05f7852188d257fa2dd25161c77","score":"0.52136374","text":"public abstract long time();","title":""},{"docid":"9169312735eb272482e60ed2fa7e72eb","score":"0.5208883","text":"private long m5966d() {\n long j = 0;\n if (this.f4458d != null) {\n j = Math.max(0, this.f4464j - this.f4458d.getTime());\n }\n if (this.f4466l != -1) {\n j = Math.max(j, TimeUnit.SECONDS.toMillis((long) this.f4466l));\n }\n return j + (this.f4464j - this.f4463i) + (this.f4455a - this.f4464j);\n }","title":""},{"docid":"a11520cd5befab96f8192b5ef179aa4c","score":"0.5206264","text":"long getTimeID();","title":""},{"docid":"f4a296c9b697f5e99934c82a0792133c","score":"0.52033246","text":"long getStarttime();","title":""},{"docid":"f4a296c9b697f5e99934c82a0792133c","score":"0.52033246","text":"long getStarttime();","title":""},{"docid":"f4a296c9b697f5e99934c82a0792133c","score":"0.52033246","text":"long getStarttime();","title":""},{"docid":"f4a296c9b697f5e99934c82a0792133c","score":"0.52033246","text":"long getStarttime();","title":""},{"docid":"f4a296c9b697f5e99934c82a0792133c","score":"0.52033246","text":"long getStarttime();","title":""},{"docid":"f4a296c9b697f5e99934c82a0792133c","score":"0.52033246","text":"long getStarttime();","title":""},{"docid":"c7c31456ccdb00e0e0d8e13906714380","score":"0.52023065","text":"int totalTime();","title":""},{"docid":"f4a296c9b697f5e99934c82a0792133c","score":"0.5200606","text":"long getStarttime();","title":""},{"docid":"f4a296c9b697f5e99934c82a0792133c","score":"0.5200606","text":"long getStarttime();","title":""},{"docid":"f4a296c9b697f5e99934c82a0792133c","score":"0.5200606","text":"long getStarttime();","title":""},{"docid":"193d02e98c6647afd9511d2227922fd3","score":"0.5187467","text":"public abstract boolean isSigned();","title":""},{"docid":"e8e6c3f7ed5224a9fa702004b18d6055","score":"0.51858145","text":"private long m95948l() {\n long currentTimeMillis = System.currentTimeMillis() - this.f66212J;\n if (currentTimeMillis >= 1000) {\n return 0;\n }\n return 1000 - currentTimeMillis;\n }","title":""},{"docid":"606bfbf669ff8707e549c77e27b5fb7e","score":"0.517795","text":"long getRequestTimestamp();","title":""}],"string":"[\n {\n \"docid\": \"7e21d16c7c9f708b86a10ebfeff78629\",\n \"score\": \"0.69511914\",\n \"text\": \"long getSign();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc7aa95521777b07be280a39edc8f697\",\n \"score\": \"0.61411214\",\n \"text\": \"int getUint32ExpireTime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"71e83a2154778d701214b2901a035898\",\n \"score\": \"0.61133355\",\n \"text\": \"public long getSign() {\\n return sign_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"943f03ca327ad2d96d62866c6ad0f63c\",\n \"score\": \"0.60539204\",\n \"text\": \"private static void testCreateSignatureEachTimeSign() throws Exception {\\n\\t\\tnew PerformanceTestHelper(\\\"testCreateSignatureEachTimeSign\\\") {\\n\\t\\t\\tPrivateKey privateKey = RSAUtils\\n\\t\\t\\t\\t\\t.getPrivateKeyFromBase64Chars(_privateKeyChars);\\n\\n\\t\\t\\tint cnt = 0;\\n\\t\\t\\t@Override\\n\\t\\t\\tpublic void run() throws Exception {\\n\\t\\t\\t\\tSignature signSignature = RSAUtils.getSignSignature(privateKey);\\n\\t\\t\\t\\tchar[] sign = RSAUtils.sign(signSignature, (_src+cnt).toCharArray());\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tSystem.out.print(sign[4]+\\\", \\\");\\n\\t\\t\\t\\tcnt++;\\n\\t\\t\\t}\\n\\t\\t}.setRuns(_runs)\\n\\t\\t.setShouldWarmUp(true)\\n\\t\\t.doTest()\\n\\t\\t.showResult();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2b4f87ecd30844780c8e8cd12e18e83b\",\n \"score\": \"0.60371387\",\n \"text\": \"public long getSign() {\\n return sign_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a848c559b8d576c5995ee2265057e31\",\n \"score\": \"0.60111284\",\n \"text\": \"private static long get64MostSignificantBitsForVersion1() {\\n LocalDateTime start = LocalDateTime.of(1582, 10, 15, 0, 0, 0);\\n Duration duration = Duration.between(start, LocalDateTime.now());\\n long seconds = duration.getSeconds();\\n long nanos = duration.getNano();\\n long timeForUuidIn100Nanos = seconds * 10000000 + nanos * 100;\\n long least12SignificatBitOfTime = (timeForUuidIn100Nanos & 0x000000000000FFFFL) >> 4;\\n long version = 1 << 12;\\n return\\n (timeForUuidIn100Nanos & 0xFFFFFFFFFFFF0000L) + version + least12SignificatBitOfTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a4d814e492f6592fefc92da83aa9f8bd\",\n \"score\": \"0.58146626\",\n \"text\": \"com.baidu.xuper.pb.Chainedbft.SignInfo getSignature();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a4d814e492f6592fefc92da83aa9f8bd\",\n \"score\": \"0.58146626\",\n \"text\": \"com.baidu.xuper.pb.Chainedbft.SignInfo getSignature();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"526d6fa0dc68931e96fa7deb8d839caf\",\n \"score\": \"0.5786116\",\n \"text\": \"long getSint64();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f75f83d6fc41b6c636218fac05536dcc\",\n \"score\": \"0.57793784\",\n \"text\": \"public static void main(String[] args) {\\n\\n// String sign = sign(\\\"18801417651\\\", \\\"4d5d8a902fea41dbb567b21efc65da13\\\");\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b2538fb58947dd3624de3ebaa9896673\",\n \"score\": \"0.5770259\",\n \"text\": \"long getSfixed64();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f5a04d369a2771cf39549ac3abd6a08b\",\n \"score\": \"0.57583505\",\n \"text\": \"int getUint32CreateTime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"926d8a59f965c2aed9f473d2d8af8f9c\",\n \"score\": \"0.57358485\",\n \"text\": \"long timestamp();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e5065d1548cec9afe27fd75cba1db4b6\",\n \"score\": \"0.57211655\",\n \"text\": \"long getLeastSigBits();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"037cca66347832f19204df95d3effc9e\",\n \"score\": \"0.5717953\",\n \"text\": \"public static boolean isSigned_counter() {\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a606435af4d030227274483a73f39ffa\",\n \"score\": \"0.5712319\",\n \"text\": \"com.google.protobuf.ByteString getSign();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"372f9655a5732cdbabe51656a946b043\",\n \"score\": \"0.5674626\",\n \"text\": \"long getTime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"372f9655a5732cdbabe51656a946b043\",\n \"score\": \"0.5674626\",\n \"text\": \"long getTime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"372f9655a5732cdbabe51656a946b043\",\n \"score\": \"0.5674626\",\n \"text\": \"long getTime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"372f9655a5732cdbabe51656a946b043\",\n \"score\": \"0.5674626\",\n \"text\": \"long getTime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"372f9655a5732cdbabe51656a946b043\",\n \"score\": \"0.5674626\",\n \"text\": \"long getTime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"372f9655a5732cdbabe51656a946b043\",\n \"score\": \"0.5674626\",\n \"text\": \"long getTime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"372f9655a5732cdbabe51656a946b043\",\n \"score\": \"0.5674626\",\n \"text\": \"long getTime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d648ced247d6259766d6d5bb166cf987\",\n \"score\": \"0.5670997\",\n \"text\": \"public static native long libvlc_picture_get_time(libvlc_picture_t pic);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"802089bb6d8addf042d02ff186c49235\",\n \"score\": \"0.56461364\",\n \"text\": \"public long getSWSignature() {\\n\\t\\tint id = 0;\\n\\t\\tElement el;\\n\\t\\tlong crc = 1;\\n\\t\\twhile ((el = getElement(id)) != null) {\\n\\t\\t\\tcrc += el.getHWType() * (id+1) * 1237;\\n\\t\\t\\tid++;\\n\\t\\t}\\n\\t\\tcrc &= 0xffffffffffL;\\n\\t\\treturn crc;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d913a76caa05326a00655781b003de6\",\n \"score\": \"0.56285733\",\n \"text\": \"protected long getTimestamp() {\\n\\t\\t\\t\\n\\t\\t\\t/* Decode Timestamp */ \\n\\t\\t\\tint offset = 0;\\n\\t\\t\\tlong seconds = ( ( (long)jpeg[25+offset]) << 24 ) & 0xff000000 | \\n\\t\\t\\t\\t\\t\\t ( ( (long)jpeg[26+offset]) << 16 ) & 0x00ff0000 | \\n\\t\\t\\t\\t\\t\\t ( ( (long)jpeg[27+offset]) << 8 ) & 0x0000ff00 | \\n\\t\\t\\t\\t\\t\\t ( (long)jpeg[28+offset]\\t\\t & 0x000000ff ); \\n\\t\\t\\tlong hundreths = ( (long)jpeg[29+offset] & 0x000000ff );\\n\\n\\t\\t\\treturn 1000*seconds + 10*hundreths;\\n\\n\\t\\t\\t/*\\n\\t\\t\\treturn 1000L*(((jpeg[25]<0?256+jpeg[25]:jpeg[25])<<24)+((jpeg[26]<0?256+jpeg[26]:jpeg[26])<<16)+\\n\\t\\t\\t\\t\\t((jpeg[27]<0?256+jpeg[27]:jpeg[27])<<8)+(jpeg[28]<0?256+jpeg[28]:jpeg[28]))+\\n\\t\\t\\t\\t\\t10L*(jpeg[29]<0?256+jpeg[29]:jpeg[29]);\\t\\t\\n\\t\\t\\t*/\\n\\t\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"81935e7f64e8fb3a21e66487794bb67e\",\n \"score\": \"0.56275946\",\n \"text\": \"int getTime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"81935e7f64e8fb3a21e66487794bb67e\",\n \"score\": \"0.56275946\",\n \"text\": \"int getTime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"81935e7f64e8fb3a21e66487794bb67e\",\n \"score\": \"0.56275946\",\n \"text\": \"int getTime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"81935e7f64e8fb3a21e66487794bb67e\",\n \"score\": \"0.56275946\",\n \"text\": \"int getTime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0297a6d79254fb5743ab01a5a825007e\",\n \"score\": \"0.562551\",\n \"text\": \"public String getTestSignature();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da2ad38e09a21f4b32c5b325bae54fec\",\n \"score\": \"0.5594496\",\n \"text\": \"Signature getSignature();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da2ad38e09a21f4b32c5b325bae54fec\",\n \"score\": \"0.5594496\",\n \"text\": \"Signature getSignature();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f878a2aeb75ab3ee148f31b3be685fc9\",\n \"score\": \"0.5587762\",\n \"text\": \"protected static native int getSignatureJNI0();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c6014aa3c7c067e0b7d69fa80f22a876\",\n \"score\": \"0.5561978\",\n \"text\": \"long getMostSigBits();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d6b6c52e04d2ccec4925bde193005b1a\",\n \"score\": \"0.5528854\",\n \"text\": \"public byte[] timestamp(InputStream input) throws SignatureException, IOException {\\n\\t\\t// Need to store our output in a byte array\\n\\t\\tByteArrayOutputStream output = new ByteArrayOutputStream(156);\\n\\n\\t\\t// Begin by hashing the input.\\n\\t\\tmHasher.reset();\\n\\t\\tint i;\\n\\t\\twhile ((i = input.read())!= -1) {\\n\\t\\t\\tmHasher.update((byte)i);\\n\\t\\t}\\n\\t\\tbyte[] hash1 = mHasher.digest();\\n\\t\\toutput.write(hash1);\\n\\n\\t\\t// Now we need to get the time\\n\\t\\tlong time = System.currentTimeMillis();\\n\\t\\tbyte[] timeBytes = longToBytes(time);\\n\\t\\toutput.write(timeBytes);\\n\\n\\t\\t// Produce the second hash from the first hash\\n\\t\\t// and the time.\\n\\t\\tmHasher.update(hash1);\\n\\t\\tmHasher.update(timeBytes);\\n\\t\\tbyte[] hash2 = mHasher.digest();\\n\\n\\t\\t// Now sign the second hash.\\n\\t\\tSignature signer = null;\\n\\t\\ttry {\\n\\t\\t\\tsigner = Signature.getInstance(\\\"SHA1withRSA\\\");\\n\\t\\t\\tsigner.initSign(mPrivateKey);\\n\\t\\t} catch (NoSuchAlgorithmException nsae) {\\n\\t\\t\\t// Probably don't have RSA signatures installed\\n\\t\\t\\tnsae.printStackTrace();\\n\\t\\t\\tSystem.err.println(\\\"Check that an RSA provider is installed.\\\");\\n\\t\\t\\tthrow new RuntimeException(\\\"No suitable provider\\\");\\n\\t\\t} catch (InvalidKeyException ike) {\\n\\t\\t\\tthrow new SignatureException(\\\"InvalidKey\\\");\\n\\t\\t}\\n\\t\\tsigner.update(hash2);\\n\\t\\tbyte[] signatureBytes = signer.sign();\\n\\n\\t\\t// Write that to the array.\\n\\t\\toutput.write(signatureBytes);\\n\\t\\tbyte[] outputBytes = output.toByteArray();\\n\\t\\treturn outputBytes;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e242def2bb8a3e9dc8bfc1b94fc9682d\",\n \"score\": \"0.54858553\",\n \"text\": \"int getCryptoPeriodSeconds();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fcc1878d09ed48db14597ae14b92a457\",\n \"score\": \"0.5480526\",\n \"text\": \"public String getSignature();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fcc1878d09ed48db14597ae14b92a457\",\n \"score\": \"0.5480526\",\n \"text\": \"public String getSignature();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"19a2d59b7333fc31aea795f344f74a81\",\n \"score\": \"0.54682326\",\n \"text\": \"public int gettimeStamp(){ return (int)tsclock.getTime(); }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a36eeb41d8ba0debff3ff352a5a89e7\",\n \"score\": \"0.54542136\",\n \"text\": \"java.lang.String getSignature();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a36eeb41d8ba0debff3ff352a5a89e7\",\n \"score\": \"0.54542136\",\n \"text\": \"java.lang.String getSignature();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f093f6a8d3bf828bcbbd68fcf267663f\",\n \"score\": \"0.5452771\",\n \"text\": \"public int getTime() {\\n\\t\\treturn ts2;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b2b78cf6507193c51a27679110b22929\",\n \"score\": \"0.54472715\",\n \"text\": \"private static void testCreateSignatureEachTimeVerify() throws Exception {\\n\\t\\tnew PerformanceTestHelper(\\\"testCreateSignatureEachTimeVerify\\\") {\\n\\t\\t\\tPublicKey publicKey = RSAUtils.getPublicKeyFromBase64Chars(_publicKeyChars);\\n\\t\\t\\t\\n\\t\\t\\tint cnt = 0;\\n\\t\\t\\t@Override\\n\\t\\t\\tpublic void run() throws Exception {\\n\\t\\t\\t\\tSignature verifySignature = RSAUtils.getVerifySignature(publicKey);\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tchar[] sign = _signs.get(cnt);\\n\\t\\t\\t\\tchar[] data = (_src+cnt).toCharArray();\\n\\t\\t\\t\\tboolean verify = RSAUtils.verify(verifySignature, data, sign);\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tSystem.out.print((verify? 1 : 0)+\\\", \\\");\\n\\t\\t\\t\\tcnt++;\\n\\t\\t\\t}\\n\\t\\t}.setRuns(_runs)\\n\\t\\t.setShouldWarmUp(true)\\n\\t\\t.doTest()\\n\\t\\t.showResult();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"08d592882f84c7d3727c6b3936ebd63e\",\n \"score\": \"0.5436119\",\n \"text\": \"public BigInteger Signature(BigInteger m) \\n\\t{\\n\\t\\t// m.compareTo(n): m < n = -1, m == n = 0, m > n = 1\\n\\t\\tif (m.compareTo(n) == -1) \\n\\t\\t{\\n\\t\\t\\tBigInteger s;\\n\\n\\t\\t\\ts = m.modPow(d, n);\\n\\n\\t\\t\\treturn s;\\n\\t\\t} \\n\\t\\telse \\n\\t\\t{\\n\\t\\t\\treturn null;\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7595c49e64c57f82ab7e7ff4617b7cff\",\n \"score\": \"0.5434597\",\n \"text\": \"public int get_sign() {\\n\\t\\treturn 1;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"03b13cdd62653243429cdffc0b6b236c\",\n \"score\": \"0.5412639\",\n \"text\": \"public double AstrometricGeocentricLightTime()\\n{\\ndouble __retval = 0.0;\\n__retval = __m11(implementation.longValue());\\nreturn __retval;\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aae5f3ed2e04cf6a61075116021eec79\",\n \"score\": \"0.54083276\",\n \"text\": \"long getFixed64();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4d000e56cc737ba242484e65beafa2de\",\n \"score\": \"0.5405124\",\n \"text\": \"public native double getTime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ec3d82821a0a9dd666bbaf40214dd6e8\",\n \"score\": \"0.54008746\",\n \"text\": \"String getSign();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d2961af4d778d7ae30c2167e14b49ef6\",\n \"score\": \"0.5398293\",\n \"text\": \"private final String tstime() {\\n\\t\\tString str = \\\"\\\";\\n\\n\\t\\tSimpleDateFormat sf = new SimpleDateFormat(\\\"yyyy-MM-dd hh:mm:ss\\\");\\n\\t\\tlong time1;\\n\\t\\ttry {\\n\\t\\t\\ttime1 = sf.parse(\\\"1970-01-01 00:00:00 UTC\\\").getTime();\\n\\t\\t\\tDate date = new Date();\\n\\t\\t\\tlong time2 = date.getTime();\\n\\t\\t\\tlong time = (time2 - time1);\\n\\t\\t\\t// System.out.println(time);\\n\\t\\t\\tstr = time + \\\"\\\";\\n\\t\\t} catch (ParseException e) {\\n\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\n\\t\\treturn str;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9064647d6f3730538f259205e8c52da0\",\n \"score\": \"0.5394278\",\n \"text\": \"void rt(long rt);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ea03ec717822b0586d2b3f3ef82732f4\",\n \"score\": \"0.53877103\",\n \"text\": \"long getClientTs();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1137f952567b9776d4b024d5b40606f1\",\n \"score\": \"0.53852785\",\n \"text\": \"long mo60383b(long j);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7705cc12f5155aac3f80dcf2975433a1\",\n \"score\": \"0.5377943\",\n \"text\": \"com.google.protobuf.ByteString getSignature();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7705cc12f5155aac3f80dcf2975433a1\",\n \"score\": \"0.5377943\",\n \"text\": \"com.google.protobuf.ByteString getSignature();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7705cc12f5155aac3f80dcf2975433a1\",\n \"score\": \"0.5377943\",\n \"text\": \"com.google.protobuf.ByteString getSignature();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7705cc12f5155aac3f80dcf2975433a1\",\n \"score\": \"0.5377943\",\n \"text\": \"com.google.protobuf.ByteString getSignature();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7705cc12f5155aac3f80dcf2975433a1\",\n \"score\": \"0.5377943\",\n \"text\": \"com.google.protobuf.ByteString getSignature();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7705cc12f5155aac3f80dcf2975433a1\",\n \"score\": \"0.5377943\",\n \"text\": \"com.google.protobuf.ByteString getSignature();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7705cc12f5155aac3f80dcf2975433a1\",\n \"score\": \"0.5377943\",\n \"text\": \"com.google.protobuf.ByteString getSignature();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7705cc12f5155aac3f80dcf2975433a1\",\n \"score\": \"0.5377943\",\n \"text\": \"com.google.protobuf.ByteString getSignature();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7705cc12f5155aac3f80dcf2975433a1\",\n \"score\": \"0.5377943\",\n \"text\": \"com.google.protobuf.ByteString getSignature();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7705cc12f5155aac3f80dcf2975433a1\",\n \"score\": \"0.5377943\",\n \"text\": \"com.google.protobuf.ByteString getSignature();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7705cc12f5155aac3f80dcf2975433a1\",\n \"score\": \"0.5377943\",\n \"text\": \"com.google.protobuf.ByteString getSignature();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7705cc12f5155aac3f80dcf2975433a1\",\n \"score\": \"0.5377943\",\n \"text\": \"com.google.protobuf.ByteString getSignature();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7705cc12f5155aac3f80dcf2975433a1\",\n \"score\": \"0.5377943\",\n \"text\": \"com.google.protobuf.ByteString getSignature();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7b8c80f26e9f4a5068ef648c2c2a0b05\",\n \"score\": \"0.5374012\",\n \"text\": \"private int randSign() {\\n\\t\\tint randInt = (int)Math.random() * 2;\\n\\t\\tif (randInt == 0) {\\n\\t\\t\\trandInt = -1;\\n\\t\\t}\\n\\t\\treturn randInt;\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"57d5962ae7d1706960bfa76579d9aa24\",\n \"score\": \"0.5353128\",\n \"text\": \"long getUint64();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"933243f4dda78135daa5e4c16c2246af\",\n \"score\": \"0.53348714\",\n \"text\": \"public long getTimeSec() {\\n\\t\\treturn msecs / 1000;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0694716ae48f0759455ee318672f530\",\n \"score\": \"0.53309643\",\n \"text\": \"public Long weakSignature() {\\n return this.weakSignature;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"107c57517fa908137cc89dad9f9c27c7\",\n \"score\": \"0.5326838\",\n \"text\": \"long getServerTs();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"51866fc91915a4739e9635319b496465\",\n \"score\": \"0.530685\",\n \"text\": \"native public static int getTaintLong(long val);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cfb06823a2732f0eff2e65cb77012d9d\",\n \"score\": \"0.53055704\",\n \"text\": \"long getStartTimeUsec();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3b5d02a7c8c8a6a5d04b1d7076a351b\",\n \"score\": \"0.5293891\",\n \"text\": \"long getTimeStamp();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3b5d02a7c8c8a6a5d04b1d7076a351b\",\n \"score\": \"0.5293891\",\n \"text\": \"long getTimeStamp();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3b5d02a7c8c8a6a5d04b1d7076a351b\",\n \"score\": \"0.5293891\",\n \"text\": \"long getTimeStamp();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1a073db741ba6ca6abbd60242461475\",\n \"score\": \"0.5286007\",\n \"text\": \"public static long getTimeStamp() {\\n return 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ac83777cb323444e8a2b2eb28aec338a\",\n \"score\": \"0.52834785\",\n \"text\": \"long getUserTime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c6b95b4bb167f16f5385a8b7d866f186\",\n \"score\": \"0.52802014\",\n \"text\": \"com.baidu.xuper.pb.Chainedbft.SignInfoOrBuilder getSignatureOrBuilder();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c6b95b4bb167f16f5385a8b7d866f186\",\n \"score\": \"0.52802014\",\n \"text\": \"com.baidu.xuper.pb.Chainedbft.SignInfoOrBuilder getSignatureOrBuilder();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e4395127598fbda636d4d6c693b55222\",\n \"score\": \"0.52731353\",\n \"text\": \"public int signIn() {\\n if ((issuer == null) || (issuer.length() == 0) || (keyId == null) || (keyId.length() == 0)\\n || (privateKey == null) || (privateKey.length() == 0) || (audience == null) || (audience.length() == 0)) {\\n return -1;\\n }\\n\\n try {\\n byte[] encodedKey = BeaconUtil.base64StrToBytes(privateKey);\\n PKCS8EncodedKeySpec keySpec = new PKCS8EncodedKeySpec(encodedKey);\\n RSAPrivateKey rsaPrivateKey = (RSAPrivateKey) KeyFactory.getInstance(\\\"RSA\\\").generatePrivate(keySpec);\\n\\n Algorithm algorithm = Algorithm.RSA256(null, rsaPrivateKey);\\n long iat = System.currentTimeMillis() / 1000;\\n long exp = iat + TOKEN_EXPIRE_TIME_MS;\\n JWTCreator.Builder builder = JWT.create()\\n .withIssuer(issuer)\\n .withKeyId(keyId)\\n .withAudience(audience)\\n .withClaim(\\\"iat\\\", iat)\\n .withClaim(\\\"exp\\\", exp);\\n jwt = builder.sign(algorithm);\\n return 0;\\n } catch (NoSuchAlgorithmException | InvalidKeySpecException | JWTCreationException e) {\\n BeaconBaseLog.e(TAG, e.getMessage());\\n return -1;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a3c32825c35fa99ff1a5c5004105a7d8\",\n \"score\": \"0.5270354\",\n \"text\": \"int getSignedIndex();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4d969b6281b500d004fab1d6dcd08a6e\",\n \"score\": \"0.52346176\",\n \"text\": \"long getBaiduExpiresIn();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"175ccacfd0c9f21ff3d34df718f15737\",\n \"score\": \"0.5222947\",\n \"text\": \"public long getElapsedTime() {\\n\\treturn lastReturnTimeStamp - firstInvocationTimeStamp;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a7ef05f7852188d257fa2dd25161c77\",\n \"score\": \"0.52136374\",\n \"text\": \"public abstract long time();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9169312735eb272482e60ed2fa7e72eb\",\n \"score\": \"0.5208883\",\n \"text\": \"private long m5966d() {\\n long j = 0;\\n if (this.f4458d != null) {\\n j = Math.max(0, this.f4464j - this.f4458d.getTime());\\n }\\n if (this.f4466l != -1) {\\n j = Math.max(j, TimeUnit.SECONDS.toMillis((long) this.f4466l));\\n }\\n return j + (this.f4464j - this.f4463i) + (this.f4455a - this.f4464j);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a11520cd5befab96f8192b5ef179aa4c\",\n \"score\": \"0.5206264\",\n \"text\": \"long getTimeID();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4a296c9b697f5e99934c82a0792133c\",\n \"score\": \"0.52033246\",\n \"text\": \"long getStarttime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4a296c9b697f5e99934c82a0792133c\",\n \"score\": \"0.52033246\",\n \"text\": \"long getStarttime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4a296c9b697f5e99934c82a0792133c\",\n \"score\": \"0.52033246\",\n \"text\": \"long getStarttime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4a296c9b697f5e99934c82a0792133c\",\n \"score\": \"0.52033246\",\n \"text\": \"long getStarttime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4a296c9b697f5e99934c82a0792133c\",\n \"score\": \"0.52033246\",\n \"text\": \"long getStarttime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4a296c9b697f5e99934c82a0792133c\",\n \"score\": \"0.52033246\",\n \"text\": \"long getStarttime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c7c31456ccdb00e0e0d8e13906714380\",\n \"score\": \"0.52023065\",\n \"text\": \"int totalTime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4a296c9b697f5e99934c82a0792133c\",\n \"score\": \"0.5200606\",\n \"text\": \"long getStarttime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4a296c9b697f5e99934c82a0792133c\",\n \"score\": \"0.5200606\",\n \"text\": \"long getStarttime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4a296c9b697f5e99934c82a0792133c\",\n \"score\": \"0.5200606\",\n \"text\": \"long getStarttime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"193d02e98c6647afd9511d2227922fd3\",\n \"score\": \"0.5187467\",\n \"text\": \"public abstract boolean isSigned();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e8e6c3f7ed5224a9fa702004b18d6055\",\n \"score\": \"0.51858145\",\n \"text\": \"private long m95948l() {\\n long currentTimeMillis = System.currentTimeMillis() - this.f66212J;\\n if (currentTimeMillis >= 1000) {\\n return 0;\\n }\\n return 1000 - currentTimeMillis;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"606bfbf669ff8707e549c77e27b5fb7e\",\n \"score\": \"0.517795\",\n \"text\": \"long getRequestTimestamp();\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":358,"cells":{"query_id":{"kind":"string","value":"223dc1886facddfc98d8c5361eec0cf0"},"query":{"kind":"string","value":"TODO: depends on equipped state"},"positive_passages":{"kind":"list like","value":[{"docid":"a07a777d93b2f1cf884cfbef11c2d611","score":"0.0","text":"public String rendererState() {\n \t\treturn \"empty\";\n \t}","title":""}],"string":"[\n {\n \"docid\": \"a07a777d93b2f1cf884cfbef11c2d611\",\n \"score\": \"0.0\",\n \"text\": \"public String rendererState() {\\n \\t\\treturn \\\"empty\\\";\\n \\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"4fb400d95b447f08aa754f5b16088433","score":"0.7186111","text":"@Override\r\n public void equip ()\r\n {\n \r\n }","title":""},{"docid":"15537b977996c87e8b95cf9f4405c252","score":"0.6853587","text":"@Override\r\n public boolean isEquipped () {\n return false;\r\n }","title":""},{"docid":"aeda250267bd342bc758bd7bd9d81842","score":"0.66800344","text":"@Override\r\n public void unequip ()\r\n {\n \r\n }","title":""},{"docid":"fd1fae125387fa0bc49105fe0b48bd27","score":"0.66780037","text":"@Override\r\n\tpublic boolean equipable() {\n\t\treturn false;\r\n\t}","title":""},{"docid":"ddb979c57d53eb4c189abbeb82bc76cb","score":"0.66232014","text":"@Override\r\n\tpublic int equipSlot() {\n\t\treturn 0;\r\n\t}","title":""},{"docid":"5bdb5e0f96b9bca1f35cee8e086cf247","score":"0.6573805","text":"@Override\n public boolean isEquippable() {\n return false;\n }","title":""},{"docid":"6de3a960a0ede9189f9fa8a71b9d4ef6","score":"0.64627683","text":"public abstract void onEquip();","title":""},{"docid":"99444b86425a7a35eb86dc992de6efad","score":"0.6415671","text":"@Override\r\n public void onEquip() {\n buff = null;\r\n ArrayList choices = new ArrayList<>();\r\n choices.add(new SausageOptionStrength(this, STR_AMT));\r\n choices.add(new SausageOptionDexterity(this, DEX_AMT));\r\n choices.add(new SausageOptionFocus(this, FOCUS_AMT));\r\n AbstractDungeon.cardRewardScreen.chooseOneOpen(choices);\r\n }","title":""},{"docid":"1ff271de901796875a1a3a712454a41e","score":"0.6314238","text":"public void equipBestGear() {}","title":""},{"docid":"bedec42eb7d6ead52c77b8a8430f49ff","score":"0.6310906","text":"public void equip(Clothing equipment)\n {\n boolean inInventory = false;\n\n for(int i = 0; i < inventory.size(); i++)\n {\n if(equipment.getName().equals(inventory.get(i).getName()))\n {\n inInventory = true;\n }\n }\n\n if(inInventory) {\n if (head.getName().equals(\"Nothing\") && equipment.getType().equals(\"head\"))\n {\n head = equipment;\n equipment.setEquipped(true);\n totalProtection += equipment.getProtection();\n if (name.equals(\"Player\"))\n {\n System.out.println(\"You equipped a \" + equipment.getName());\n }\n } else if (torso.getName().equals(\"Nothing\") && equipment.getType().equals(\"torso\"))\n {\n torso = equipment;\n equipment.setEquipped(true);\n totalProtection += equipment.getProtection();\n if (name.equals(\"Player\"))\n {\n System.out.println(\"You equipped a \" + equipment.getName());\n }\n } else if (legs.getName().equals(\"Nothing\") && equipment.getType().equals(\"legs\"))\n {\n legs = equipment;\n equipment.setEquipped(true);\n totalProtection += equipment.getProtection();\n if (name.equals(\"Player\"))\n {\n System.out.println(\"You equipped a \" + equipment.getName());\n }\n } else if (feet.getName().equals(\"Nothing\") && equipment.getType().equals(\"feet\"))\n {\n feet = equipment;\n equipment.setEquipped(true);\n totalProtection += equipment.getProtection();\n if (name.equals(\"Player\"))\n {\n System.out.println(\"You equipped a \" + equipment.getName());\n }\n } else if (equipment.getType().equals(\"head\"))\n {\n totalProtection -= head.getProtection();\n head.setEquipped(false);\n System.out.println(\"You unequipped a \" + head.getName());\n head = equipment;\n totalProtection += head.getProtection();\n head.setEquipped(true);\n if (name.equals(\"Player\"))\n {\n System.out.println(\"You equipped a \" + equipment.getName());\n }\n } else if (equipment.getType().equals(\"torso\"))\n {\n totalProtection -= torso.getProtection();\n torso.setEquipped(false);\n System.out.println(\"You unequipped a \" + torso.getName());\n torso = equipment;\n totalProtection += torso.getProtection();\n torso.setEquipped(true);\n if (name.equals(\"Player\"))\n {\n System.out.println(\"You equipped a \" + equipment.getName());\n }\n } else if (equipment.getType().equals(\"legs\"))\n {\n totalProtection -= legs.getProtection();\n legs.setEquipped(false);\n System.out.println(\"You unequipped a \" + legs.getName());\n legs = equipment;\n totalProtection += legs.getProtection();\n legs.setEquipped(true);\n if (name.equals(\"Player\"))\n {\n System.out.println(\"You equipped a \" + equipment.getName());\n }\n } else if (equipment.getType().equals(\"feet\"))\n {\n totalProtection -= feet.getProtection();\n feet.setEquipped(false);\n System.out.println(\"You unequipped a \" + feet.getName());\n feet = equipment;\n totalProtection += feet.getProtection();\n feet.setEquipped(true);\n if (name.equals(\"Player\"))\n {\n System.out.println(\"You equipped a \" + equipment.getName());\n }\n }\n }\n else\n {\n System.out.println(\"You don't have this item\");\n }\n }","title":""},{"docid":"3bf8d325adb3c0a113aae3619f99e791","score":"0.6242477","text":"private void equipItem() {\r\n String slot = (String)(slotComboBox.getSelectedItem());\r\n String spriteName = getSpriteName();\r\n if (spriteName != null && !spriteName.equals(template.getSpriteName())) {\r\n template.addItem(slot, (AccessoryTemplate)TemplateFactory.getTemplate(spriteName));\r\n updateUnitSurface();\r\n } else {\r\n System.out.println(\"fox\");\r\n }\r\n }","title":""},{"docid":"cd0449124a692151e3a7a641ebb46e02","score":"0.61807483","text":"private void changeItems()\r\n\t{\n\r\n\t\tAdventureResult[] pieces = new AdventureResult[ EquipmentManager.ALL_SLOTS ];\r\n\r\n\t\tfor ( int i = 0; i < pieces.length; ++i )\r\n\t\t{\r\n\t\t\tpieces[ i ] = (AdventureResult) this.equipment[ i ].getSelectedItem();\r\n\t\t\tif ( EquipmentManager.getEquipment( i ).equals( pieces[ i ] ) )\r\n\t\t\t{\r\n\t\t\t\tpieces[ i ] = null;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tAdventureResult famitem = (AdventureResult) this.equipment[ EquipmentManager.FAMILIAR ].getSelectedItem();\r\n\r\n\t\t// Start with accessories\r\n\r\n\t\tfor ( int i = EquipmentManager.ACCESSORY1; i <= EquipmentManager.ACCESSORY3; ++i )\r\n\t\t{\r\n\t\t\tif ( pieces[ i ] != null )\r\n\t\t\t{\r\n\t\t\t\tRequestThread.postRequest( new EquipmentRequest( pieces[ i ], i, true ) );\r\n\t\t\t\tpieces[ i ] = null;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// Move on to other equipment\r\n\r\n\t\tfor ( int i = 0; i < EquipmentManager.ACCESSORY1; ++i )\r\n\t\t{\r\n\t\t\tif ( pieces[ i ] != null )\r\n\t\t\t{\r\n\t\t\t\tRequestThread.postRequest( new EquipmentRequest( pieces[ i ], i, true ) );\r\n\t\t\t\tpieces[ i ] = null;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tfor ( int i = EquipmentManager.STICKER1; i <= EquipmentManager.STICKER3; ++i )\r\n\t\t{\r\n\t\t\tif ( pieces[ i ] != null )\r\n\t\t\t{\r\n\t\t\t\tRequestThread.postRequest( new EquipmentRequest( pieces[ i ], i, true ) );\r\n\t\t\t\tpieces[ i ] = null;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif ( KoLCharacter.getFamiliar().canEquip( famitem ) )\r\n\t\t{\r\n\t\t\tRequestThread.postRequest( new EquipmentRequest( famitem, EquipmentManager.FAMILIAR ) );\r\n\t\t}\r\n\t}","title":""},{"docid":"0ffbf39ad7e7aad9f79bb0b1f76171e3","score":"0.6123784","text":"@Override\n public boolean canEquip(EquipmentType type) {\n return false;\n }","title":""},{"docid":"1c00098f8f8bc2b56abee920dddf787f","score":"0.60713094","text":"void onEquip(World world, EntityPlayer player, ItemStack stack, ArmourSlot armourSlot, int level);","title":""},{"docid":"c094d9e072e1ce19bf9c9295dc9dc332","score":"0.6053328","text":"public abstract void onUnequip();","title":""},{"docid":"1cd018e0007937b7e69e3392429a5907","score":"0.6042748","text":"@Override\n public boolean equip(EquipmentType type, ItemStack equipment) {\n return false;\n }","title":""},{"docid":"3d44c13d6eb4a53aaf42893e0750b887","score":"0.5993005","text":"@Test\n\tpublic void testEquippingEquipment()\n\t{\n\t\t\n\t\t//Red Mage is best to test with because they're capable of equipping a a medium amount of items\n\t\t//compared to other mages who can't equip much and Fighters who can equip just about everything\n\t\tPlayer j = new Player(\"TWIL\", \"Red Mage\");\n\t\t\n\t\tItem w1 = Item.loadItem(\"Knife\");\n\t\t\n\t\t//Shouldn't be able to equip items that the job can not equip\n\t}","title":""},{"docid":"a5f1070e01e6ff0dc3da7189850e93d5","score":"0.5982236","text":"@EventHandler\n public void onArmorEquip(ArmorEquipEvent e){\n Player player = e.getPlayer();\n int stunTimer = 300;\n if(e.getNewArmorPiece() != null && e.getNewArmorPiece().getType() != Material.AIR){\n if(e.getNewArmorPiece().getType() == Material.LEATHER_CHESTPLATE){\n if(e.getNewArmorPiece().hasItemMeta()){ // All custom spawned shirts will have meta\n ItemStack chestplate = e.getNewArmorPiece();\n String[] shirtName = chestplate.getItemMeta().getDisplayName().split(\" \");\n if(shirtName[1].equals(\"Shirt\")) {\n switch (ChatColor.stripColor(shirtName[0])) {\n // Only check for special zombie shirts\n case \"Witch\":\n case \"Twitch\":\n stunTimer = 10;\n break;\n case \"Jackal\":\n case \"Tank\":\n stunTimer = 150;\n break;\n case \"Boomer\":\n break;\n default:\n return;\n }\n // Make the wearer of the special shirt that type of zombie\n Stats.addZombie(player.getDisplayName(), stunTimer, shirtName[0], player);\n } else if(shirtName[1].equals(\"Armor\")){\n if(Stats.getHumans().containsKey(player.getDisplayName())){\n player.sendMessage(ChatColor.GREEN + \"You've equipped your Body Armor!\");\n Stats.getHumans().get(player.getDisplayName()).setHasBodyArmor(true);\n }\n }\n }\n }\n } else {\n if(e.getOldArmorPiece() != null && e.getOldArmorPiece().getType() != Material.AIR){\n if(e.getOldArmorPiece().getType() == Material.LEATHER_CHESTPLATE){\n if(e.getOldArmorPiece().hasItemMeta()){\n String[] itemName = e.getOldArmorPiece().getItemMeta().getDisplayName().split(\" \");\n if(itemName[1].equals(\"Shirt\")){\n if(Stats.getZombies().containsKey(player.getDisplayName())){\n // When unequipping a special shirt, make the unequipper a regular zombie again\n Stats.addZombie(player.getDisplayName(), 300, \"Zombie\", player);\n }\n } else if(itemName[1].equals(\"Armor\")){\n if(Stats.getHumans().containsKey(player.getDisplayName())){\n // Remove body armor\n player.sendMessage(ChatColor.RED + \"You have unequipped your Body Armor!\");\n Stats.getHumans().get(player.getDisplayName()).setHasBodyArmor(false);\n }\n }\n }\n }\n }\n }\n }","title":""},{"docid":"453659570f0f68f6fbe66316e0bd6b48","score":"0.59730595","text":"@Override\r\n public void actionPerformed(ActionEvent event){\r\n String command = event.getActionCommand();\r\n System.out.println(command);\r\n if(\"equip\".equals(command)){\r\n LinkedList li = characterInventory.getItems();\r\n //int id = currentInventory.getItemID();\r\n for(int i =0; i li;\r\n if(currentInventory instanceof Weapon){\r\n Weapon wea = (Weapon)currentInventory;\r\n int dp = player.getDexterityModifier();\r\n \tint sp = player.getStrengthModifier();\r\n \tint conp = player.getConstitutionModifier();\r\n \tint chp = player.getCharismaModifier();\r\n \tint wisp = player.getWisdomModifier();\r\n \tint intep = player.getIntelligenceModifier();\r\n \tint dex = wea.getDexterityModifer();\r\n \tint str = wea.getStrengthModifer();\r\n \tint con = wea.getConstitutionModifier();\r\n \tint ch = wea.getCharismaModifer();\r\n \tint wis = wea.getWisdomModifier();\r\n \tint inte = wea.getIntelligenceModifier();\r\n \tplayer.setStrengthModifier(sp - str);\r\n \tplayer.setDexterityModifier(dp - dex);\r\n \tplayer.setCharismaModifier(chp - ch);\r\n \tplayer.setConstitutionModifier(conp - con);\r\n \tplayer.setIntelligenceModifier(intep - inte);\r\n \tplayer.setWisdomModifier(wisp - wis);\r\n String name = wea.getName();\r\n li = characterInventory.getItems();\r\n if(li != null){\r\n li.add(wea);\r\n }else{\r\n li = new LinkedList<>();\r\n li.add(wea);\r\n }\r\n characterInventory.setEquippedWeapon(null);\r\n characterInventory.setItems(li);\r\n int z = emptyNumber;\r\n if(newEmptyNumber();\r\n li.add(armor);\r\n }\r\n characterInventory.setItems(li);\r\n int z = emptyNumber;\r\n if(newEmptyNumber();\r\n li.add(wea);\r\n }\r\n characterInventory.setRing(null);\r\n characterInventory.setItems(li);\r\n int z = emptyNumber;\r\n if(newEmptyNumber V = this.getVisibleAgents();\r\n\t\tif(V.size()>0) {\r\n\t\t\tAgent closestVisible = null;\r\n\t\t\tdouble dist = 10000;\r\n\t\t\t\r\n\t\t\tfor(Agent a: V) {\r\n\t\t\t\tif(a!=this) {\r\n\t\t\t\t\tif(this.getDistanceToAgent(a) items = new ArrayList();\n\t\t\n\t\tif(Game.getHero().getEquippedArmor() != null)\n\t\t{\n\t\t\titems.add(Game.getHero().getEquippedArmor());\n\t\t}\n\t\t\n\t\tif(!Game.getHero().getEquippedWeapon().getName().equals(\"Fists\"))\n\t\t{\n\t\t\titems.add(Game.getHero().getEquippedWeapon());\n\t\t}\n\t\t\n\t\tif(items.isEmpty())\n\t\t{\n\t\t\tSystem.out.println(\"\\t You have nothing equipped.\");\n\t\t\tSystem.out.println();\n\t\t\treturn;\n\t\t}\n\t\t\n\t\twhile(true)\n\t\t{\n\t\t\tSystem.out.println(\"Which item would you like more information on\");\n\t\t\t\n\t\t\t\n\t\t\tfor(int i = 0; i < items.size();i++)\n\t\t\t{\n\t\t\t\tSystem.out.println( i + \". \" + items.get(i).getName());\n\t\t\t}\n\t\t\tSystem.out.println(items.size() + \". \" + \" return to inventory\" );\n\t\t\tint input = GameInput.getInt();\n\t\t\t\n\t\t\tif(input >= 0 && input < items.size())\n\t\t\t{\n\t\t\t\tif(items.get(input) instanceof Armor)\n\t\t\t\t{\n\t\t\t\t\tArmor temp = (Armor) items.get(input);\n\t\t\t\t\tSystem.out.println(\"\\t\" + temp.getDescription());\n\t\t\t\t\tSystem.out.println(\"\\t Defense \" + temp.getDefense());\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\telse if(items.get(input) instanceof Weapon)\n\t\t\t\t{\n\t\t\t\t\tWeapon temp = (Weapon) items.get(input);\n\t\t\t\t\tSystem.out.println(\"\\t\" + temp.getDescription());\n\t\t\t\t\tSystem.out.println(\"\\t Strength \" + temp.getStrength());\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tSystem.out.println(\"\\t Yout mutter to yourself, trying to remember what you wanted to do...\");\n\t\t\t\t}\n\t\t\t\t\n\t\t\t} else if (input == items.size()) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t}","title":""},{"docid":"6c989c4010ae9f2614a7261c9e4aac1a","score":"0.5879637","text":"public static void picky_inven() {\n\n if (Global.player.getBaggageSize() == 0) {\n IOUtil.msg(\"you aren't carrying anything\");\n } else if (Global.player.getBaggageSize() == 1) {\n IOUtil.msg(\"a) %s\", ThingMethod.inventoryName(Global.player.getBaggage().get(0), false));\n } else {\n IOUtil.msg(Global.terse ? \"item: \" : \"which item do you wish to inventory: \");\n int mch = IOUtil.readchar();\n Global.mpos = 0;\n if (mch == Const.ESCAPE) {\n IOUtil.msg(\"\");\n return;\n }\n for (Thing obj : Global.player.getBaggage()) {\n if (mch == Human.instance.getPositionOfContent(obj)) {\n IOUtil.msg(\"%c) %s\", mch, ThingMethod.inventoryName(obj, false));\n return;\n }\n }\n IOUtil.msg(\"'%s' not in pack\", Display.unctrl(mch));\n }\n }","title":""},{"docid":"2ef9d39aebda84bd9a4c2d406018fc1c","score":"0.58720326","text":"public void equipItem() throws IOException \n\t{\n\t\tArrayList items = Game.getHero().getPlayerInventory();\n\t\tArrayList temp = new ArrayList();\n\t\t\n\t\t//add all armor and weapons to the temp array list\n\t\tfor(int i = 0; i = 0 && input < temp.size())\n\t\t\t{\n\t\t\t\tif(temp.get(input).getItem() instanceof Weapon)\n\t\t\t\t{\n\t\t\t\t\tif(Game.getHero().getEquippedWeapon().getName().equals(\"Fists\"))\n\t\t\t\t\t{\n\t\t\t\t\t\tGame.getHero().setEquippedWeapon((Weapon) temp.get(input).getItem());\n\t\t\t\t\t\tGame.getHero().removeArtifactFromInventory(Game.getHero().getEquippedWeapon());\n\t\t\t\t\t\tSystem.out.println(\"\\t You feel stronger after equipping \" + Game.getHero().getEquippedWeapon().getName());\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.println(\"\\t You remember the words of your mentor,\"\n\t\t\t\t\t\t\t\t+ \"\\tto get you have to give. Try unequipping before you equip.\");\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\n\t\t\t\telse \n\t\t\t\t{\n\t\t\t\t\tif(Game.getHero().getEquippedArmor() == null)\n\t\t\t\t\t{\n\t\t\t\t\t\tGame.getHero().setEquippedArmor((Armor) temp.get(input).getItem());\n\t\t\t\t\t\tGame.getHero().removeArtifactFromInventory(Game.getHero().getEquippedArmor());\n\t\t\t\t\t\tSystem.out.println(\"\\t You feel safer after equipping \" + Game.getHero().getEquippedArmor().getName());\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.println(\"\\t You remember the words of your mentor\"\n\t\t\t\t\t\t\t\t+ \"\\t To get you gotta give. Try unequipping before you equip.\");\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\n\t\t\t} else if (temp.size() == input) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tSystem.out.println(\"You mutter to yourself, trying to remember what you wanted to do....\");\n\t\t\t\tSystem.out.println();\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"159fdfcdd582d448cc7d4a9be2fff261","score":"0.58160067","text":"@Test\n void equipItem() {\n Character character = createBaseCharacter(\"Foo\", 10, 10);\n Wearable sword = createWearable(2, true);\n character.items.add(sword);\n\n Armor armor = createArmor(1,1,1);\n character.items.add(armor);;\n // Equip an armor\n assertTrue(character.equipItem(armor));\n assertTrue(character.armor.contains(armor));\n\n // Equip a weapon\n assertTrue(character.equipItem(sword));\n assertTrue(character.activeWeapon == sword);\n\n // Illegal equip ( item not in inventory)\n Wearable item = createWearable(1, true);\n assertFalse(character.equipItem(item));\n }","title":""},{"docid":"1cdc4e857f9b95cc0cd85b72e87887fe","score":"0.58088964","text":"private void createInventory(){\r\n\t\tinventory.addWeapon(new Weapon(10, 500, -10, \"Knife\"));\r\n\t\tinventory.haveWeapon(inventory.getWeapon(\"Knife\"));\r\n\t}","title":""},{"docid":"8c4d34dce60d51de0217c1e5e04bfb80","score":"0.57795274","text":"private Equipo getEquipoSeleccionado(){\n return equipoSeleccionado;\n }","title":""},{"docid":"e511374d490268f6d848ae558d5821e1","score":"0.5768594","text":"void equipmentNotFound();","title":""},{"docid":"dde6c8b4681ed8600855889855ca2ecc","score":"0.5766126","text":"public void pickUp() {\n\t\t\n\t\tItem item = Globals.items.getItemInTile(getLocation());\n\t\tif(item != null && item.canCollect()) {\n\t\t\tint tempx = item.getX();\n\t\t\tint tempy = item.getY();\n\t\t\tif(inventory.add(item)) {\n\t\t\t\tGlobals.items.remove(item);\n\t\t\t\tGlobals.screenText.add(new ScreenText(item.getName(), new Vector2(tempx, tempy), Color.WHITE));\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"21dd734b8e57820949ab528549315894","score":"0.57473063","text":"private void storeInventory() {\n \n }","title":""},{"docid":"c748efe71068dff391c92359cc95baba","score":"0.57348603","text":"@Override\n public void openInventory() {\n }","title":""},{"docid":"0e480e800a963e1f7e5e014258e79105","score":"0.57314956","text":"@Override\n public boolean canEquip(EquipmentType type, ItemStack equipment) {\n return false;\n }","title":""},{"docid":"5ce46414221253ec39bf67b2215a513b","score":"0.5719879","text":"public static void pick_up() {\n if (Human.instance.containsState(StateEnum.ISLEVIT)) {\n return;\n }\n\n Thing obj = Misc.find_obj(Global.player._t_pos);\n if (Global.move_on) {\n move_msg(obj);\n } else {\n if (obj instanceof Gold) {\n Gold gold = (Gold) obj;\n money(gold.getGold());\n Global.lvl_obj.remove(gold);\n update_mdest(gold);\n Global.lvl_obj.remove(gold);\n Human.instance.getRoom().r_goldval = 0;\n } else {\n add_pack(null, false);\n }\n }\n }","title":""},{"docid":"9a884179e3df0b3abe7bba11e3958898","score":"0.57025826","text":"public void overRide(){\r\n\t\tfor(int i = slots.length - 1; i >= 0; i--){\r\n\t\t\tif(slots[i].storedCard != null){\r\n\t\t\t\tslots[i].storedCard.setUsed(true);\r\n\t\t\t\tslots[i].storedCard.setMoveable(false);\r\n\t\t\t\tgame.getCompleteDoor().setEnabled(false);\r\n\t\t\t}\r\n\t\t}\r\n\t}","title":""},{"docid":"25192d476dc2058aa05b6c55e44fec7b","score":"0.56957513","text":"@Override\n\tprotected void stateUpdate(long ms) {\n\n\t\t// Attacks\n\t\tboolean basicAttackPressed = InputManager.getActionState(GameAction.BASIC_ATTACK);\n\t\tboolean specialAttackPressed = InputManager.getActionState(GameAction.SPECIAL_ATTACK);\n\t\tplayerAttack(ms, basicAttackPressed, specialAttackPressed);\n\n\t\tList skillKeys = new ArrayList<>();\n\t\tskillKeys.add(0, justPressed(GameAction.SKILL_KEY_Q));\n\t\tskillKeys.add(1, justPressed(GameAction.SKILL_KEY_E));\n\t\tskillKeys.add(2, justPressed(GameAction.SKILL_KEY_R));\n\n\t\tskillKeys.add(3, justPressed(GameAction.SKILL_KEY_W));\n\n\t\t// Blake\n\t\tboolean companionModePressed = justPressed(GameAction.CHANGE_MODE);\n\t\tboolean companionUpgradePressed = justPressed(GameAction.UPGRADE_COMPANION);\n\t\t// callum\n\t\tskillState(skillKeys);\n\t\tupdateRenderAngle();\n\t\tplayerInput.updateGameInput();\n\t\tmoveStateEntity(ms);\n\n\t\t// change weapons\n\t\tweaponChange(Arrays.asList(justPressed(GameAction.WEAPON_ONE), justPressed(GameAction.WEAPON_TWO),\n\t\t\t\tjustPressed(GameAction.WEAPON_THREE), justPressed(GameAction.WEAPON_FOUR),\n\t\t\t\tjustPressed(GameAction.WEAPON_FIVE), justPressed(GameAction.WEAPON_SIX),\n\t\t\t\tjustPressed(GameAction.WEAPON_SEVEN), justPressed(GameAction.WEAPON_EIGHT),\n\t\t\t\tjustPressed(GameAction.WEAPON_NINE)));\n\n\t\t// add sprites for currently equipped weapons\n\t\tif (equippedWeapon.getProjectileType() == ProjectileType.MELEE) {\n\t\t\tcommonSpriteSet.put(BodyPart.VOID, new AngledSpriteRelation(equippedWeapon.getSprite(), this,\n\t\t\t\t\tweaponRenderAngle, 0f, 0f, 0f, 0f, 0f, 0f));\n\t\t} else {\n\t\t\tcommonSpriteSet.put(BodyPart.VOID, new AngledSpriteRelation(equippedWeapon.getSprite(), this,\n\t\t\t\t\tweaponRenderAngle, 0.40f, 0.6f, 1.0f, 1.0f, 0.2f, 0.090f));\n\t\t}\n\t\t// Companion Stuff\n\t\tif (companionModePressed) {\n\t\t\tnewCompanion.setCompanionClass();\n\t\t\tif (!hasCompanion) {\n\t\t\t\thasCompanion = true;\n\t\t\t}\n\t\t}\n\n\n\t\tif (companionUpgradePressed && this.getCommerce().getGold() > 300) {\n\t\t\tthis.getCommerce().reduceGold(300);\n\t\t\tnewCompanion.upgradeCompanion();\n\n\t\t}\n\n\t\tif (justPressed(GameAction.ACTIVATE_MOUNT)) {\n\t\t\tPlayerMountActions.toggleMount(this);\n\t\t}\n\n\n\t\tif (world.getTutorialMode() && !tutorial.checkCompletion()) {\n\t\t\tif (tutorial.tutorialPassed() || justPressed(GameAction.SKIP_TUTORIAL)) {\n\t\t\t\ttutorial.nextCommand();\n\t\t\t} else {\n\t\t\t\ttutorial.resendInstruction();\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"41bf054fbfc9a00a7db13c14af6d4c9f","score":"0.5694055","text":"public void select() {\r\n switch (mode) {\r\n case SHIP:\r\n mode = Mode.PART;\r\n break;\r\n case PART:\r\n int partSelection = partX + partY * PARTS_PER_ROW - PART_SHIFT;\r\n Tile tileBeingReplaced = Tile.findTile(playerRef.getSprite().getTiles(), shipX, shipY);\r\n int replacementPartPrice = 0;\r\n int replacementPartTotalPrice = 0;\r\n ShipPart partBeingReplaced = null;\r\n if (tileBeingReplaced != null) {\r\n partBeingReplaced = (ShipPart)tileBeingReplaced.getSprite();\r\n replacementPartPrice = + partBeingReplaced.getComputedPrice();\r\n replacementPartTotalPrice = partBeingReplaced.getPrice();\r\n }\r\n\r\n\r\n // buy part\r\n if (partSelection >= 0) {\r\n ShipPart shipPart = parts.get(partSelection);\r\n\r\n if (shipPart.getPrice() <= (playerRef.getMoney() + replacementPartPrice)) {\r\n playerRef.setMoney(playerRef.getMoney() + replacementPartPrice - shipPart.getPrice());\r\n mode = Mode.SHIP;\r\n // change/add ship part to local copy\r\n ship.removeTile(shipX, shipY);\r\n SimpleSprite sprite = factory.create(partSelection);\r\n Tile newTile = new Tile(shipX, shipY, sprite);\r\n ship.addTile(newTile);\r\n\r\n // change/add ship part to player reference\r\n playerRef.getSprite().removeTile(shipX, shipY);\r\n SimpleSprite sprite2 = factory.create(partSelection);\r\n playerRef.getSprite().addTile(shipX, shipY, sprite2);\r\n\r\n addExtensionPoints(newTile);\r\n\r\n }\r\n partX = 0;\r\n partY = 0;\r\n //repair part\r\n } else if (partBeingReplaced != null && (replacementPartTotalPrice - replacementPartPrice) > 0) {\r\n playerRef.setMoney(playerRef.getMoney() - (replacementPartTotalPrice - replacementPartPrice) );\r\n partBeingReplaced.reduceHealth(partBeingReplaced.getCurrentHealth() - partBeingReplaced.getTotalHealth());\r\n //part might have been dead, revalidate positions by setting position.\r\n playerRef.getSprite().revalidatePosition();\r\n ShipPart mirrorPart = (ShipPart)Tile.findTile(ship.getTiles(), shipX, shipY).getSprite();\r\n mirrorPart.reduceHealth(partBeingReplaced.getCurrentHealth() - partBeingReplaced.getTotalHealth());\r\n partX = 0;\r\n partY = 0;\r\n for (Tile t: playerRef.getSprite().getTiles()) {\r\n System.out.println(t + \", \");\r\n }\r\n }\r\n\r\n break;\r\n }\r\n }","title":""},{"docid":"de91ac5ef3542e59e4f5e3ec154b4acc","score":"0.56939477","text":"public boolean a(EntityPlayer paramahd, int paramInt)\r\n/* 163: */ {\r\n/* 164:197 */ ItemStack localamj1 = this.a.get(0);\r\n/* 165:198 */ ItemStack localamj2 = this.a.get(1);\r\n/* 166: */ \r\n/* 167:200 */ int m = paramInt + 1;\r\n/* 168:202 */ if (((localamj2 == null) || (localamj2.stackSize < m)) && (!paramahd.abilities.instabuild)) {\r\n/* 169:203 */ return false;\r\n/* 170: */ }\r\n/* 171:205 */ if ((this.g[paramInt] > 0) && (localamj1 != null) && (((paramahd.bz >= m) && (paramahd.bz >= this.g[paramInt])) || (paramahd.abilities.instabuild)))\r\n/* 172: */ {\r\n/* 173:206 */ if (!this.i.isClient)\r\n/* 174: */ {\r\n/* 175:207 */ List localList = a(localamj1, paramInt, this.g[paramInt]);\r\n/* 176:208 */ int n = localamj1.getItem() == ItemList.book ? 1 : 0;\r\n/* 177:210 */ if (localList != null)\r\n/* 178: */ {\r\n/* 179:211 */ paramahd.b(m);\r\n/* 180:212 */ if (n != 0) {\r\n/* 181:213 */ localamj1.a(ItemList.enchantedBook);\r\n/* 182: */ }\r\n/* 183:216 */ for (int i1 = 0; i1 < localList.size(); i1++)\r\n/* 184: */ {\r\n/* 185:217 */ WeightedRandomItemEnchantment localapo = (WeightedRandomItemEnchantment)localList.get(i1);\r\n/* 186:219 */ if (n != 0) {\r\n/* 187:220 */ ItemList.enchantedBook.addEnchantment(localamj1, localapo);\r\n/* 188: */ } else {\r\n/* 189:222 */ localamj1.a(localapo.enchantment, localapo.level);\r\n/* 190: */ }\r\n/* 191: */ }\r\n/* 192:227 */ if (!paramahd.abilities.instabuild)\r\n/* 193: */ {\r\n/* 194:228 */ localamj2.stackSize -= m;\r\n/* 195:229 */ if (localamj2.stackSize <= 0) {\r\n/* 196:230 */ this.a.a(1, null);\r\n/* 197: */ }\r\n/* 198: */ }\r\n/* 199:233 */ this.a.o_();\r\n/* 200:234 */ this.f = paramahd.ci();\r\n/* 201:235 */ a(this.a);\r\n/* 202: */ }\r\n/* 203: */ }\r\n/* 204:238 */ return true;\r\n/* 205: */ }\r\n/* 206:240 */ return false;\r\n/* 207: */ }","title":""},{"docid":"a999600339af5770c7681693356c2a32","score":"0.56896514","text":"public void activate ()\n {\n Timeslot current = timeslotRepo.currentTimeslot();\n log.info(\"activate: timeslot \" + current.getSerialNumber());\n \n // In the first timeslot, we buy a fixed amount because we have no\n // usage record. Note that this gets called after a timeslot update, but\n // before the sim clock is updated. However the \"current timeslot\" is\n // the one in which the most recent energy usage was recorded.\n //if (current.getSerialNumber() == 0) {\n // for (Timeslot timeslot : timeslotRepo.enabledTimeslots()) {\n // submitShout(initialBidKWh, timeslot);\n // }\n //}\n \n // In the first through 23rd timeslot, we buy enough to meet what was\n // used in the previous timeslot. Note that this is called after the\n // customer model has run in the current timeslot, for a market clearing\n // at the beginning of the following timeslot.\n if (current.getSerialNumber() < 24) {\n // we already have usage data for the current timeslot.\n double currentKWh = collectUsage(current.getSerialNumber());\n double neededKWh = 0.0;\n for (Timeslot timeslot : timeslotRepo.enabledTimeslots()) {\n // use data already collected if we have it, otherwise use data from\n // the current timeslot.\n int index = (timeslot.getSerialNumber()) % 24;\n double historicalKWh = collectUsage(index);\n if (historicalKWh != 0.0)\n neededKWh = historicalKWh;\n else\n neededKWh = currentKWh;\n // subtract out the current market position, and we know what to\n // buy or sell\n submitShout(neededKWh, timeslot);\n }\n }\n \n // Once we have 24 hours of records, assume we need enough to meet \n // what we used 24 hours earlier\n else if (current.getSerialNumber() <= usageRecordLength) {\n double neededKWh = 0.0;\n for (Timeslot timeslot : timeslotRepo.enabledTimeslots()) {\n int index = (timeslot.getSerialNumber()) % 24;\n neededKWh = collectUsage(index);\n submitShout(neededKWh, timeslot);\n } \n }\n \n // Finally, once we have a full week of records, we use the data for\n // the hour and day-of-week.\n else {\n double neededKWh = 0.0;\n for (Timeslot timeslot : timeslotRepo.enabledTimeslots()) {\n int index = (timeslot.getSerialNumber()) % usageRecordLength;\n neededKWh = collectUsage(index);\n submitShout(neededKWh, timeslot);\n } \n }\n }","title":""},{"docid":"06d1354242bacb0662ba40f20bb6ffc3","score":"0.5669216","text":"@Override\n public void onEquipped(String identifier, LivingEntity entityLivingBase) {\n }","title":""},{"docid":"858fc46fc11660b9690d2ad77821e8e1","score":"0.5661493","text":"public void equip(Weapon weapon)\n {\n boolean inInventory = false;\n\n for(int i = 0; i < inventory.size(); i++)\n {\n if(weapon.getName().equals(inventory.get(i).getName()))\n {\n inInventory = true;\n }\n }\n\n if(inInventory)\n {\n if (currentWeapon.getName().equals(\"Fists\"))\n {\n currentWeapon = weapon;\n weaponDamage = currentWeapon.getDamage();\n currentWeapon.setEquipped(true);\n if (name.equals(\"Player\"))\n {\n System.out.println(\"You equipped a \" + weapon.getName());\n }\n }\n else\n {\n unequip(currentWeapon);\n equip(weapon);\n }\n\n weapon.setEquipped(true);\n }\n else\n {\n System.out.println(\"You don't have this item\");\n }\n }","title":""},{"docid":"c97b25e089d0811be73c4d6dac263b9b","score":"0.5658548","text":"private void equipItem(Command command) { \n if (!command.hasSecondWord()) {\n System.out.println(\"Equip what?\");\n }else{\n String itemName = command.getRestOfLine();\n Item item = null;\n item = player.getItem(itemName);\n if (item != null) {\n if (item instanceof Weapon) {\n Weapon equippedWeapon = (Weapon)item;\n boolean returnStatement = player.setEquippedWeapon(equippedWeapon);\n if (returnStatement == true) {\n System.out.println(\"You equipped the \" + equippedWeapon.getName());\n } \n }\n if (item instanceof Armor) {\n Armor equippedArmor = (Armor)item;\n boolean returnStatement = player.setEquippedArmor(equippedArmor);\n if (returnStatement == true) {\n System.out.println(\"You equipped the \" + equippedArmor.getName());\n }\n }\n }else{\n System.out.println(\"You do not have a \" + itemName);\n }\n } \n }","title":""},{"docid":"1492c68a0a9956bde6af636267458096","score":"0.5649621","text":"@Override\n public boolean giveItem(InventoryClickEvent event){\n ItemStack item = event.getCurrentItem();\n Inventory inventory = event.getWhoClicked().getInventory();\n if(item.getType().equals(Material.ARROW)){\n ItemStack arrow = new ItemStack(Material.ARROW, 8);\n inventory.addItem(arrow);\n } else if(item.getType().equals(Material.DIAMOND)) {\n //expanse fund\n int expanseFund = data.getConfig().getInt(\"world.expanseFund\");\n int expanseLevel = data.getConfig().getInt(\"world.expanseLevel\");\n expanseFund -= 5;\n if(expanseFund <= 0){\n //expand land\n expandLand((Player) event.getWhoClicked());\n expanseFund = expansePrice[expanseLevel+1];\n data.getConfig().set(\"world.expanseLevel\", expanseLevel+1);\n }\n data.getConfig().set(\"world.expanseFund\", expanseFund);\n data.saveConfig();\n updateExpanseFund(event);\n updateLectrum(event);\n } else if(item.getType().equals(Material.PAPER)) {\n Player player = (Player) event.getWhoClicked();\n long oldLicense = data.getConfig().getLong(\"players.\"+player.getUniqueId().toString()+\".alcoholLicenseExpiration\");\n if(oldLicense > player.getWorld().getGameTime()){\n player.sendMessage(ChatColor.RED+\"You already have a valid license.\");\n } else {\n player.sendMessage(ChatColor.GOLD+\"You now possess a valid alcohol license.\");\n player.sendMessage(ChatColor.GOLD+\"Will expire in seven (minecraft) days.\");\n data.getConfig().set(\"players.\"+player.getUniqueId().toString()+\".alcoholLicenseExpiration\", player.getWorld().getGameTime()+168000);\n data.saveConfig();\n }\n } else {\n ItemStack newItem = item.clone();\n ItemMeta meta = newItem.getItemMeta();\n List lore = meta.getLore();\n lore.remove(lore.size()-1);\n meta.setLore(lore);\n meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);\n newItem.setItemMeta(meta);\n inventory.addItem(newItem);\n }\n return true;\n }","title":""},{"docid":"07b6be776da28a96a907d9e414e7a4d0","score":"0.563802","text":"void itemStart(){\n GreaterRestorative greaterRestorative= new GreaterRestorative();\n gameControl.itemHashMap.put(greaterRestorative.getName(), greaterRestorative);\n LargeHPPotion largeHPPotion = new LargeHPPotion();\n gameControl.itemHashMap.put(largeHPPotion.getName(), largeHPPotion);\n LargeMPPotion largeMPPotion = new LargeMPPotion();\n gameControl.itemHashMap.put(largeMPPotion.getName(), largeMPPotion);\n LesserRestorative lesserRestorative = new LesserRestorative();\n gameControl.itemHashMap.put(lesserRestorative.getName(), lesserRestorative);\n MediumHPPotion mediumHPPotion = new MediumHPPotion();\n gameControl.itemHashMap.put(mediumHPPotion.getName(), mediumHPPotion);\n MediumMPPotion mediumMPPotion = new MediumMPPotion();\n gameControl.itemHashMap.put(mediumMPPotion.getName(), mediumMPPotion);\n SmallHPPotion smallHPPotion = new SmallHPPotion();\n gameControl.itemHashMap.put(smallHPPotion.getName(), smallHPPotion);\n SmallMPPotion smallMPPotion = new SmallMPPotion();\n gameControl.itemHashMap.put(smallMPPotion.getName(), smallMPPotion);\n gameControl.itemHashMap.put(\"Mystic Hourglass\", new MysticHourglass(gameControl));\n }","title":""},{"docid":"da306c1a69dbc5ab9f84f9b51b2a2d22","score":"0.5633202","text":"private void seated() {\n\t\tcustomerGui.setMenuCopy();\n\t\tList menuItems = menu.getAllFoodNames();\n\t\tList affordableItems = new ArrayList();\n\t\tfor (String s : menuItems) {\n\t\t\tdouble price = menu.getPrice(s);\n\t\t\tdouble money = ((PeopleAgent)myPerson).Money;\n\t\t\tif (money >= price) {\n\t\t\t\taffordableItems.add(s);\n\t\t\t}\n\t\t}\n\t\tif (affordableItems.isEmpty() || menu.getAllFoodNames().isEmpty()) {\n\t\t\tprint(\"Screw it. I'm leaving!\");\n\t\t\tevent = AgentEvent.abruptlyLeaving;\n\t\t\tleaveOption = false;\n\t\t}\n\t\telse {\n\t\t\tRandom generator = new Random();\n\t\t\tint num = generator.nextInt(affordableItems.size());\n\t\t\tchoice = affordableItems.get(num);\n\t\t\tevent = AgentEvent.orderDecided;\n\t\t\tprint(\"My choice is \" + choice);\n\t\t\tleaveOption = false;\n\t\t}\n\t}","title":""},{"docid":"a3ccfa36192f9668fdd5a07ac772ef9a","score":"0.5632623","text":"private void ensureValidSelections()\r\n\t{\n\t\tif ( KoLmafia.isRefreshing() )\r\n\t\t{\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tAdventureResult hatItem = (AdventureResult) this.equipment[ EquipmentManager.HAT ].getSelectedItem();\r\n\t\tAdventureResult currentHat = EquipmentManager.getEquipment( EquipmentManager.HAT );\r\n\t\tif ( hatItem == null )\r\n\t\t{\r\n\t\t\thatItem = currentHat;\r\n\t\t}\r\n\r\n\t\tList hatItems = this.validHatItems( currentHat );\r\n\t\tthis.updateEquipmentList( this.hats, hatItems, hatItem );\r\n\r\n\t\tAdventureResult pantsItem = (AdventureResult) this.equipment[ EquipmentManager.PANTS ].getSelectedItem();\r\n\t\tAdventureResult currentPants = EquipmentManager.getEquipment( EquipmentManager.PANTS );\r\n\t\tif ( pantsItem == null )\r\n\t\t{\r\n\t\t\tpantsItem = currentPants;\r\n\t\t}\r\n\r\n\t\tList pantsItems = this.validPantsItems( currentPants );\r\n\t\tthis.updateEquipmentList( this.pants, pantsItems, pantsItem );\r\n\r\n\t\tthis.equipment[ EquipmentManager.SHIRT ].setEnabled( this.isEnabled && KoLCharacter.hasSkill( \"Torso Awaregness\" ) );\r\n\r\n\t\tAdventureResult weaponItem = (AdventureResult) this.equipment[ EquipmentManager.WEAPON ].getSelectedItem();\r\n\t\tAdventureResult currentWeapon = EquipmentManager.getEquipment( EquipmentManager.WEAPON );\r\n\t\tif ( weaponItem == null )\r\n\t\t{\r\n\t\t\tweaponItem = currentWeapon;\r\n\t\t}\r\n\r\n\t\tList weaponItems = this.validWeaponItems( currentWeapon );\r\n\t\tthis.updateEquipmentList( this.weapons, weaponItems, weaponItem );\r\n\r\n\t\tint weaponHands = EquipmentDatabase.getHands( weaponItem.getName() );\r\n\t\tif ( weaponHands > 1 )\r\n\t\t{\r\n\t\t\t// Equipping 2 or more handed weapon: nothing in off-hand\r\n\t\t\tthis.equipment[ EquipmentManager.OFFHAND ].setSelectedItem( EquipmentRequest.UNEQUIP );\r\n\t\t\tthis.equipment[ EquipmentManager.OFFHAND ].setEnabled( false );\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tAdventureResult offhandItem = (AdventureResult) this.equipment[ EquipmentManager.OFFHAND ].getSelectedItem();\r\n\t\t\tAdventureResult currentOffhand = EquipmentManager.getEquipment( EquipmentManager.OFFHAND );\r\n\t\t\tif ( offhandItem == null )\r\n\t\t\t{\r\n\t\t\t\toffhandItem = currentOffhand;\r\n\t\t\t}\r\n\r\n\t\t\tif ( EquipmentDatabase.getHands( offhandItem.getName() ) > 0 )\r\n\t\t\t{\r\n\t\t\t\t// Weapon in offhand. Must have compatible\r\n\t\t\t\t// weapon in weapon hand\r\n\t\t\t\tif ( weaponHands == 0 || EquipmentDatabase.getWeaponType( weaponItem.getName() ) != EquipmentDatabase.getWeaponType( offhandItem.getName() ) )\r\n\t\t\t\t{\r\n\t\t\t\t\toffhandItem = EquipmentRequest.UNEQUIP;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tList offhandItems = this.validOffhandItems( weaponItem, offhandItem );\r\n\t\t\tthis.updateEquipmentList( this.offhands, offhandItems, offhandItem );\r\n\t\t\tthis.equipment[ EquipmentManager.OFFHAND ].setEnabled( this.isEnabled );\r\n\t\t}\r\n\r\n\t\tFamiliarData currentFamiliar = KoLCharacter.getFamiliar();\r\n\t\tFamiliarData selectedFamiliar = (FamiliarData) this.familiars.getSelectedItem();\r\n\t\tif ( selectedFamiliar == null )\r\n\t\t{\r\n\t\t\tselectedFamiliar = currentFamiliar;\r\n\t\t}\r\n\t\tList familiars = this.validFamiliars( currentFamiliar );\r\n\t\tthis.updateEquipmentList( this.familiars, familiars, selectedFamiliar );\r\n\t}","title":""},{"docid":"3c26a50fae25af76112c8e7a2dc217c9","score":"0.5628423","text":"public abstract boolean usedInBattle();","title":""},{"docid":"bb238c88f96744ef67a58097fb42729d","score":"0.5615136","text":"@Override\n public void useWeapon() {\n System.out.println(\"Corta com uma espada!\");\n }","title":""},{"docid":"b3e7a4f3128a2649b694f70c8ed3d5d3","score":"0.5614053","text":"public void equipItem(int itemIndex) {\r\n\t\t//System.out.println(\"TEST 1: ITEM INDEX=\"+itemIndex);\r\n\t\tif(itemIndex>=0&&itemIndex this.maxcarry) {\n int sizeofpeaches1=this.peaches.size();\n dropPeaches(sizeofpeaches1 - this.maxcarry); //drop peaches to the max available number.\n System.out.println(\"##Action:\"+this.name+\" dropped \"+String.valueOf(sizeofpeaches1 - this.maxcarry)+\" peaches at \"+this.getLocation()+\" due to low HP.\" );\n }\n } else{\n this.maxcarry=100;\n if (this.getHealth()<70){\n eatPeach();\n }\n }\n // Location active action check\n System.out.println(\" \"+this.getName()+\" has \"+this.peaches.size()+\" peaches.\" );\n if(this.getLocation().property.equals(\"Home\")){ //if at Home\n int sizeofpeaches2=this.peaches.size();\n if (sizeofpeaches2==0){ //if no peaches ,then go to find grove\n moveOneStep(goGrove());\n return;\n }else {\n dropPeaches(sizeofpeaches2); //else drop all peaches\n if (((Home)(this.getLocation())).peaches_track.containsKey(this.getName())==false){\n ((Home)(this.getLocation())).peaches_track.put(this.getName(),sizeofpeaches2); //set a new record\n } else { int pre_record=((Home)(this.getLocation())).peaches_track.get(this.getName()); //get the previous stored peaches record of this hunter\n ((Home)(this.getLocation())).peaches_track.put(this.getName(),pre_record+sizeofpeaches2); //add new peaches number to this record.\n }\n int sum=((Home)(this.getLocation())).peaches_track.get(\"SUM\");\n ((Home)(this.getLocation())).peaches_track.put(\"SUM\",sum+sizeofpeaches2);\n return;\n }\n } else if(this.getLocation().property.equals(\"PeachGrove\")) {\n if (this.getterOfGrovevisit(this.getLocation())==null) {\n grove_visits.add(new GroveVisit((PeachGrove) (this.getLocation()), ((PeachGrove) (this.getLocation())).getterOfPeachesAtTree().size() <= 0)); //add this grove to the record of this hunter\n }else{\n getterOfGrovevisit(this.getLocation()).runout=(((PeachGrove) (this.getLocation())).getterOfPeachesAtTree().size() <= 0);\n }\n if (this.peaches.size() >= 50 ||this.peaches.size() >= maxcarry) { //if carrying enough peaches or cannot carry any more\n moveOneStep(goHome());\n return;\n } else if(((PeachGrove)(this.getLocation())).getterOfPeachesAtTree().size()<=0){//if the Grove runs out,and hunter can carry more\n moveOneStep(goGrove());\n return;\n }else{\n pickPeachesAtTree(); //if not enough peaches carried with the hunter //if have peaches,pick peaches}\n return;\n }\n } else if (this.getLocation().property.equals(\"PeachPit\")){\n this.pickPeachesAtLocation();\n if (this.peaches.size() >= 50 ||this.peaches.size() >= maxcarry) {//if carrying enough peaches or cannot carry any more\n moveOneStep(goHome());\n return;\n } else {\n moveOneStep(goGrove());\n return;\n }\n } else { //if elsewhere\n if (this.peaches.size() >= 50 ||this.peaches.size() >= maxcarry) {\n moveOneStep(goHome());\n return;\n } else {\n moveOneStep(goGrove());\n return;\n }\n }\n\n }","title":""},{"docid":"eb25bf5e724a1962b91bdd0bf3061e08","score":"0.55471253","text":"public String equip(EquipmentCard equipmentItem) {\n\t\tString unequipReason = equipmentItem.equip(this);\n\t\tEquipmentCard cheatingCard = getCheatingItemCard();\n\t\t\n\t\t// determine if player is able to equip item based on type of equipment and worn equipment\n\t\t// ignore any items the player has connected with a cheat card; if applicable\n\t\tEquipmentType type = equipmentItem.getEquipmentType();\n\t\tif (unequipReason.equals(\"\") && type != EquipmentType.OTHER && equipmentItem != cheatingCard) {\n\t\t\tif (type == EquipmentType.ONE_HAND || type == EquipmentType.TWO_HANDS) {\n\t\t\t\tint numHandsFull = 0;\n\t\t\t\tfor (EquipmentCard item : equippedItems) {\n\t\t\t\t\tif (item != equipmentItem && item != cheatingCard) {\n\t\t\t\t\t\tif (item.getEquipmentType() == EquipmentType.ONE_HAND)\n\t\t\t\t\t\t\tnumHandsFull += 1;\n\t\t\t\t\t\telse if (item.getEquipmentType() == EquipmentType.TWO_HANDS)\n\t\t\t\t\t\t\tnumHandsFull += 2;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (type == EquipmentType.ONE_HAND && numHandsFull >= 2)\n\t\t\t\t\tunequipReason = \"Your hands are full.\";\n\t\t\t\telse if (type == EquipmentType.TWO_HANDS && numHandsFull > 0)\n\t\t\t\t\tunequipReason = \"You don't have two free hands.\";\n\t\t\t}\n\t\t\telse {\n\t\t\t\tfor (EquipmentCard item : equippedItems) {\n\t\t\t\t\tif (item != equipmentItem && item != cheatingCard) {\n\t\t\t\t\t\tif (type == item.getEquipmentType()) {\n\t\t\t\t\t\t\tunequipReason = \"You are already wearing \" + type + \".\";\n\t\t\t\t\t\t\tbreak;\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\t\t\n\t\t// Puts the equipment in the correct equipped/unequipped list depending on if it was able to be equipped or not\n\t\tif (unequipReason.equals(\"\")) {\n\t\t\tif (unequippedItems.remove(equipmentItem))\n\t\t\t\tequippedItems.add(equipmentItem);\n\t\t}\n\t\telse {\n\t\t\tif (equippedItems.remove(equipmentItem))\n\t\t\t\tunequippedItems.add(equipmentItem);\n\t\t}\n\t\t\n\t\tsetChanged();\n\t\tnotifyObservers();\n\t\t\n\t\treturn unequipReason;\n\t}","title":""},{"docid":"74dda31e6b1f2df79fbbcadbb84cb87c","score":"0.5532202","text":"public Item getItem() {\n\t\treturn equipped;\r\n\t}","title":""},{"docid":"e761b5974a2649a6f0051b9150459b60","score":"0.55236286","text":"@Override\n public boolean activate() {\n return (ctx.players.local().animation() == -1\n && Helper.actualFishCount(ctx.inventory.select().id(ITEM.RAW_SHRIMP).count()) > 0)\n && ctx.inventory.count() < 28;\n }","title":""},{"docid":"1d29f841cea205b0fbf219d0f7ae5c0c","score":"0.5522469","text":"@Override\n\tpublic void vegItems() {\n\t\tSystem.out.println(\"Available\");\n\t}","title":""},{"docid":"85455fcfecaeb2635ec2a991d2e28f2a","score":"0.5515713","text":"public void addEquipable(Equipable e, Protagonista person) {\n boolean agregado = false;\n if (e instanceof AbstractCasco) {//Si es un casco... \n if (equipo.getCasco() == null) {//si no tiene casco en el equipo\n equipo.equiparCasco(person, (AbstractCasco) e);\n agregado = true;\n }\n } else if (e instanceof AbstractPecho) {//Si es una pechera...\n if (equipo.getPecho() == null) {\n equipo.equiparPecho(person, (AbstractPecho) e);\n agregado = true;\n }\n } else if (e instanceof AbstractBotas) {//Si son botas\n if (equipo.getBotas() == null) {\n //Utiles.Print(\"botas es null\", this);\n equipo.equiparBotas(person, (AbstractBotas) e);\n agregado = true;\n }\n } else if (e instanceof AbstractGuantes) {//Si son guantes\n if (equipo.getGuantes() == null) {\n equipo.equiparGuantes(person, (AbstractGuantes) e);\n agregado = true;\n }\n } else if (e instanceof Arma) {//Si es arma\n if (equipo.getArma() == null) {\n equipo.equiparArma(person, (Arma) e);\n agregado = true;\n\n }\n\n }\n\n if (agregado) {\n listener.equipableAgregadoAlEquipo(e);\n e.cogerItem();\n if (e.getMejora() != null) {//hay equipo que no tiene mejoras, y esta a null\n person.getMejoras().add(e.getMejora().getTipo(), e.getMejora()); // agrega la mejora al personaje\n }\n if (e instanceof Arma) {\n person.addPersonajeListener((Arma) e);//Pasa al arma los eventos del personaje\n }\n } else {\n if (inventario.addEquipable(e)) { // lo intenta agregar al inventario\n e.cogerItem();\n listener.itemAgregadoAlInventario(e);\n }\n }\n\n }","title":""},{"docid":"f98dd918cd2cde3e8b90867d1f273c2b","score":"0.551215","text":"public int getSizeInventory() {\n/* 294 */ return 1;\n/* */ }","title":""},{"docid":"77a7d71b825de09562e3709adaf56324","score":"0.55111253","text":"public void pickUp()\n {\n List items = getObjectsInRange(30, Items.class); \n for(int i = 0; i < items.size(); i++){\n items.get(i).activate();\n world.removeObject(items.get(i));\n }\n }","title":""},{"docid":"06c448f0654e02d0e2a9be6b92ac1f0d","score":"0.5501214","text":"public void updateInventory() {\n\n //reset the data of the gui\n for (int y = 0; y < inventory.length; y++) {\n for (int x = 0; x < inventory[y].length; x++) {\n inventory[y][x].setData(null);\n }\n }\n Array pInventory = equipComp.get(player.getEntity()).inventory;\n\n //set the data based on what the entity is holding\n for (int i = 0; i < pInventory.size; i++) {\n int y = i / inventorySize;\n int x = i % inventorySize;\n\n\n inventory[y][x].setData(pInventory.get(i));\n\n\n }\n }","title":""},{"docid":"36385ebbe00cf50d8e74efe60a147e5d","score":"0.549647","text":"public Pokemon getActive(){return Active;}","title":""},{"docid":"525f130746882756c3960cecbb40f0b4","score":"0.54893506","text":"@Override\n protected Item bought() {\n return new PterodactylEgg();\n }","title":""},{"docid":"f19d10b54543aa7a26543ceab9adfab4","score":"0.5482616","text":"@Override\n\tpublic void giveItem () {\n\t\t\n\t}","title":""},{"docid":"cb305280b26e6f0e8d058ec0dac36322","score":"0.5465583","text":"public void setItems() {\r\n\t\tplayer.getInventory().clear();\r\n\t\t\r\n\t\tif (realm == Realm.HUB) {\r\n\t\t\t//Menu\r\n\t\t\tHubMenu hubMenu = new HubMenu();\r\n\t\t\tItemStack hm = hubMenu.give();\r\n\t\t\tplayer.getInventory().setItem(4, hm);\r\n\t\t\tplayer.getInventory().setHeldItemSlot(4);\r\n\t\t} else if (realm == Realm.KITPVP) {\r\n\t\t\t//Return to hub\r\n\t\t\tReturnToHub returnToHub = new ReturnToHub();\r\n\t\t\tplayer.getInventory().setItem(8, returnToHub.give());\r\n\t\t\t//Select kit\r\n\t\t\tKitSelector selectKit = new KitSelector(Realm.KITPVP);\r\n\t\t\tplayer.getInventory().setItem(7, selectKit.give());\r\n\t\t\t//Sword\r\n\t\t\tItemStack sword = new ItemStack(Material.IRON_SWORD);\r\n\t\t\tsword.addEnchantment(Enchantment.DAMAGE_ALL, 1);\r\n\t\t\tplayer.getInventory().setItem(0, sword);\r\n\t\t\tplayer.getInventory().setHeldItemSlot(0);\r\n\t\t\t//Golden Apples\r\n\t\t\tItemStack goldenApples = new ItemStack(Material.ENCHANTED_GOLDEN_APPLE,1);\r\n\t\t\tplayer.getInventory().setItem(1, goldenApples);\r\n\t\t\t//Armor\r\n\t\t\tItemStack[] armor = {\r\n\t\t\t\tnew ItemStack(Material.IRON_BOOTS),\r\n\t\t\t\tnew ItemStack(Material.IRON_LEGGINGS),\r\n\t\t\t\tnew ItemStack(Material.IRON_CHESTPLATE),\r\n\t\t\t\tnew ItemStack(Material.IRON_HELMET)\r\n\t\t\t};\r\n\t\t\tarmor[0].addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);\r\n\t\t\tarmor[1].addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);\r\n\t\t\tarmor[2].addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);\r\n\t\t\tarmor[3].addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);\r\n\t\t\tplayer.getInventory().setArmorContents(armor);\r\n\t\t} else if (realm == Realm.STEPSPLEEF) {\r\n\t\t\tGameHandling gh = mainInstance.getGameInstance();\r\n\t\t\t\r\n\t\t\tfor (StepSpleef game : gh.getStepSpleefGames()) {\r\n\t\t\t\tif (game.isInServer(player)) {\r\n\t\t\t\t\tif (game.isGameActive()) {\r\n\t\t\t\t\t\t//Select player\r\n\t\t\t\t\t\tPlayerSelector selectPlayer = new PlayerSelector(mainInstance,Realm.STEPSPLEEF,player);\r\n\t\t\t\t\t\tplayer.getInventory().setItem(4, selectPlayer.give());\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\t//Return to hub\r\n\t\t\tReturnToHub returnToHub = new ReturnToHub();\r\n\t\t\tplayer.getInventory().setItem(8, returnToHub.give());\r\n\t\t} else if (realm == Realm.SKYWARS) {\r\n\t\t\tGameHandling gh = mainInstance.getGameInstance();\r\n\t\t\t\r\n\t\t\tfor (SkyWars game : gh.getSkyWarsGames()) {\r\n\t\t\t\tif (game.isInServer(player)) {\r\n\t\t\t\t\tif (game.isGameActive()) {\r\n\t\t\t\t\t\t//Select player\r\n\t\t\t\t\t\tPlayerSelector selectPlayer = new PlayerSelector(mainInstance,Realm.SKYWARS,player);\r\n\t\t\t\t\t\tplayer.getInventory().setItem(4, selectPlayer.give());\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\t//Select kit\r\n\t\t\t\t\t\tKitSelector selectKit = new KitSelector(Realm.SKYWARS);\r\n\t\t\t\t\t\tplayer.getInventory().setItem(4, selectKit.give());\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\t//Return to hub\r\n\t\t\tReturnToHub returnToHub = new ReturnToHub();\r\n\t\t\tplayer.getInventory().setItem(8, returnToHub.give());\r\n\t\t}\r\n\t}","title":""},{"docid":"1e7a1176c7f1f99ac5afc2be2ad655b2","score":"0.54602283","text":"public void updateWeapons() {\n\t\tfor (int i = 0; i < 4; i++) {\n\t\t\tString id = inv.getItemID(\"Active Inventory\", i);\n\t\t\tactiveWeapons.set(i, id);\n\t\t}\n\t}","title":""},{"docid":"a86947440f26bd887b0693ca36a40ee6","score":"0.54562217","text":"private Inventory getInventory() {\n\t\tHashSet resources = new HashSet();\n\t\tresources.add(this.gatherType);\n\t\tInventory inventory = new Inventory(resources);\n\t\tinventory.updateQuantity(this.gatherType, this.gatherCount);\n\t\treturn inventory;\n\t}","title":""},{"docid":"69ade76a69c0f6c07e66b5d0e5136eb3","score":"0.5455882","text":"@Override\r\n\tpublic void grabar() {\n\t\t\r\n\t}","title":""},{"docid":"89833bcd2dd4044320ed1df50f075350","score":"0.54471105","text":"@Override\n void prepare() {\n setName(\"Maximum Efford\");\n System.out.println(\"Preparing \" + getName());\n display = phoneIngredientFactory.create_display();\n display.setSize(\"5.5 inches\");\n battery = phoneIngredientFactory.create_battery();\n battery.setPower(\"27h,3600mAh\");\n cpu_ram = phoneIngredientFactory.create_cpu_ram();\n cpu_ram.setFeatures(\"2.8GHz,8GB\");\n storage = phoneIngredientFactory.create_storage();\n storage.setSize(\"MicroSD support, 64GB\");\n camera = phoneIngredientFactory.create_camera();\n camera.setFeatures(\"12Mp front, 8Mp rear\");\n aCase = phoneIngredientFactory.create_case();\n aCase.setFeatures(\"151x73x7.7 mm / dustproof,/ waterproof,/aluminum\");\n }","title":""},{"docid":"7e0cef9a29015d4d80e5440201b375ea","score":"0.5444413","text":"public void viewItem() throws IOException \n\t{\n\t\t// get all items the player has in its inventory\n\t\tArrayList items = Game.getHero().getPlayerInventory();\n\t\t//check to see if the players inventory is empty if so leave stop.\n\t\tif(items.isEmpty())\n\t\t{\n\t\t\tSystem.out.println(\"\\t Your inventory is empty\");\n\t\t\treturn;\n\t\t}\n\t\telse\n\t\t{\n\t\t\twhile(true)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Which item would you like more information on?\");\n\t\t\t\t//output all of the items contained within the players inventory\n\t\t\t\tfor(int i =0;i < items.size();i++)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.println(i + \". \" + items.get(i).getItem().getName());\n\t\t\t\t}\n\t\t\t\t\tSystem.out.println(items.size() + \". \" + \" return to inventory\" );\n\t\t\t\t// get the players input\n\t\t\t\tint input = GameInput.getInt();\n\t\t\t\t//check to see that it falls within the range of appropreate input\n\t\t\t\tif(input >=0 && input < items.size())\n\t\t\t\t{\n\t\t\t\t\tif(items.get(input).getItem() instanceof Weapon)\n\t\t\t\t\t{\n\t\t\t\t\t\tWeapon temp = (Weapon) items.get(input).getItem();\n\t\t\t\t\t\tSystem.out.println(\"\\t \" + temp.getDescription());\n\t\t\t\t\t\tSystem.out.println(\"\\t Strength \" + temp.getStrength());\n\t\t\t\t\t\tSystem.out.println(\"\\t Perhaps this can be equipped for battle!\");\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\telse if(items.get(input).getItem() instanceof Armor)\n\t\t\t\t\t{\n\t\t\t\t\t\tArmor temp = (Armor) items.get(input).getItem();\n\t\t\t\t\t\tSystem.out.println(\"\\t \" + temp.getDescription());\n\t\t\t\t\t\tSystem.out.println(\"\\t Defense \" + temp.getDefense());\n\t\t\t\t\t\tSystem.out.println(\"\\t Perhaps this can be equipped for battle!\");\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\treturn;\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\tSystem.out.println(\"\\t \" + items.get(input).getItem().getDescription());\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t} else if (input == items.size()) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tSystem.out.println(\"\\t You mutter to yourself, trying to remember what you wanted to do...\");\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"28c1f64f9945a4ca7f65b8f785a9f0bd","score":"0.5444041","text":"@Test\n public void testIngredientCreation() throws IOException {\n final World world = new WorldImpl(new GameStateManager()); \n final ItemManager im = world.getItemManager();\n // creation of the ingredients\n final Ingredient bread = new IngredientImpl(im, IngredientType.BREAD);\n final Ingredient lettuce = new IngredientImpl(im, IngredientType.LETTUCE);\n final Ingredient tomato = new IngredientImpl(im, IngredientType.TOMATO);\n final Ingredient meat = new IngredientImpl(im, IngredientType.MEAT);\n final Ingredient cookedMeat = new IngredientImpl(im, IngredientType.MEAT, IngredientState.PERFECT);\n //testing the right creation\n Assert.assertTrue(bread.getState() == IngredientState.RAW);\n Assert.assertTrue(lettuce.getState() == IngredientState.RAW);\n Assert.assertTrue(tomato.getState() == IngredientState.RAW);\n Assert.assertTrue(meat.getState() == IngredientState.RAW);\n Assert.assertTrue(cookedMeat.getState() == IngredientState.PERFECT);\n //testing that the points are right\n Assert.assertTrue(bread.getState().getPoints() == IngredientState.RAW.getPoints());\n Assert.assertTrue(lettuce.getState().getPoints() == IngredientState.RAW.getPoints());\n Assert.assertTrue(tomato.getState().getPoints() == IngredientState.RAW.getPoints());\n Assert.assertTrue(meat.getState().getPoints() == IngredientState.RAW.getPoints());\n Assert.assertTrue(cookedMeat.getState().getPoints() == IngredientState.PERFECT.getPoints());\n //testing that the states change right \n bread.changeState(IngredientState.CHOPPED);\n lettuce.changeState(IngredientState.CHOPPED);\n tomato.changeState(IngredientState.CHOPPED);\n meat.changeState(IngredientState.PERFECT);\n Assert.assertTrue(bread.getState() == IngredientState.CHOPPED);\n Assert.assertTrue(lettuce.getState() == IngredientState.CHOPPED);\n Assert.assertTrue(tomato.getState() == IngredientState.CHOPPED);\n Assert.assertTrue(meat.getState() == IngredientState.PERFECT);\n //testing that the changes are right\n Assert.assertTrue(bread.getState().getPoints() == IngredientState.CHOPPED.getPoints());\n Assert.assertTrue(lettuce.getState().getPoints() == IngredientState.CHOPPED.getPoints());\n Assert.assertTrue(tomato.getState().getPoints() == IngredientState.CHOPPED.getPoints());\n Assert.assertTrue(meat.getState().getPoints() == IngredientState.PERFECT.getPoints());\n }","title":""},{"docid":"85cf1e5be6928bd3dcc522d14a8eb169","score":"0.54411185","text":"public void useItem() throws IOException \n\t{\n\t\tArrayList items = Game.getHero().getPlayerInventory();\n\t\tif (items.size() > 0) {\n\t\t\tSystem.out.println(\"Which item would you like to use\");\n\t\t\tfor(int i =0;i < items.size();i++)\n\t\t\t{\n\t\t\t\tSystem.out.println(i + \". \" + items.get(i).getItem().getName());\n\t\t\t}\n\t\t\tSystem.out.println(items.size() + \". \" + \" return to inventory\" );\n\t\t\tint input = GameInput.getInt();\n\n\n\n\t\t\tif(input >=0 && input < items.size())\n\t\t\t{\n\t\t\t\tif(items.get(input).getItem() instanceof Weapon)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.println(\"\\t How does one use a weapon out in combat?\");\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\telse if(items.get(input).getItem() instanceof Armor)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.println(\"\\t How does one use armor out of combat?\");\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\telse if(items.get(input).getItem() instanceof Consumable)\n\t\t\t\t{\n\t\t\t\t\tConsumable use = (Consumable) items.get(input).getItem();\n\t\t\t\t\tGame.getHero().useConsumable(use);\n\t\t\t\t\tSystem.out.println(\"\\t You feel your wounds melt away as if by magic.\"\n\t\t\t\t\t\t\t+ \"\\t Not bad for something you found on the floor!\");\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t} \n\t\t\telse if (items.size() == input) \n\t\t\t{\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"There are no items in your inventory\");\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t}","title":""},{"docid":"29313a05dce9b7b94e9512dae2aedf39","score":"0.54391545","text":"public void enterInventory(){\n inventory.runInventory();\n }","title":""},{"docid":"c998da3a7e7879ff405e2efea580b6bc","score":"0.54376316","text":"protected Vector getEquippedItems() {\n\t\tVector toReturn = new Vector();\n\t\tfor (int i = 0; i < vInventoryItemsList.size(); i++) {\n\t\t\tTangibleItem t = vInventoryItemsList.elementAt(i);\n\t\t\tif (t.getContainerID() == getID()) {\n\t\t\t\ttoReturn.add(t);\n\t\t\t}\n\t\t}\n\t\ttoReturn.add(tHairObject);\n\t\treturn toReturn;\n\t}","title":""},{"docid":"5991847673c98b3291b262bc9b4efe3c","score":"0.5437173","text":"int getInventory();","title":""},{"docid":"497d0a42a1b82763abb29d44c42dbbfc","score":"0.54235184","text":"public void charity() {\n\t\t\n\t}","title":""},{"docid":"4af6cb90ff0db6655b21e7e1d1fc111c","score":"0.5422187","text":"@Override\n public void enterProduct(ProductContext ctx) {\n \n }","title":""},{"docid":"1996c9a26117397944ce7888ec0cf124","score":"0.54210377","text":"private void initEquipSet()\n \t{\n \t\t// Setup the default EquipSet if not already present\n \t\tif (!charDisplay.hasEquipSet())\n \t\t{\n \t\t\tString id = EquipmentSetFacadeImpl.getNewIdPath(charDisplay, null);\n \t\t\tEquipSet eSet = new EquipSet(id, LanguageBundle.getString(\"in_ieDefault\"));\n \t\t\ttheCharacter.addEquipSet(eSet);\n \t\t\ttheCharacter.setCalcEquipSetId(id);\n \t\t}\n \n \t\t// Detach listeners from old set\n \t\tif (equipSet.getReference() != null)\n \t\t{\n \t\t\tEquipmentListFacade equippedItems = equipSet.getReference().getEquippedItems();\n \t\t\tequippedItems.removeListListener(this);\n \t\t\tequippedItems.removeEquipmentListListener(this);\n \t\t}\n \t\t\n \t\t// Make facades for each root equipset.\n \t\tList eqSetList = new ArrayList();\n \t\tEquipmentSetFacade currSet = null;\n \t\tString currIdPath = theCharacter.getCalcEquipSetId();\n \t\tfor (EquipSet es : charDisplay.getEquipSet())\n \t\t{\n \t\t\tif (es.getParentIdPath().equals(\"0\"))\n \t\t\t{\n \t\t\t\tfinal EquipmentSetFacadeImpl facade =\n \t\t\t\t\t\tnew EquipmentSetFacadeImpl(delegate, theCharacter, es,\n \t\t\t\t\t\t\tdataSet, purchasedEquip);\n \t\t\t\teqSetList.add(facade);\n \t\t\t\tif (es.getIdPath().equals(currIdPath))\n \t\t\t\t{\n \t\t\t\t\tcurrSet = facade;\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \t\tequipmentSets.updateContents(eqSetList);\n \t\tif (currSet != null)\n \t\t{\n \t\t\tequipSet.setReference(currSet);\n \t\t}\n \n \t\tEquipmentSetFacade set = equipSet.getReference();\n \t\tset.getEquippedItems().addListListener(this);\n \t\tset.getEquippedItems().addEquipmentListListener(this);\n \t\trefreshTotalWeight();\n \n \t}","title":""},{"docid":"e42d5b246d449ff47099179b4746f204","score":"0.5415186","text":"public final void run() {\n log(\"Sending xp event for Exploration to \"+mainPlayer.getName()+\". Level is \"+getLevel(mainPlayer, Skill.EXPLORATION));\n registry.sendEvent(new GiveXpEvent(mainPlayer,Skill.EXPLORATION,25));\n log(mainPlayer.getName()+\" exploration level is now \"+getLevel(mainPlayer, Skill.EXPLORATION));\n log(\" \");\n log(\"Sending xp event for Construction to \"+mainPlayer.getName()+\". Level is \"+getLevel(mainPlayer, Skill.CONSTRUCTION));\n registry.sendEvent(new GiveXpEvent(mainPlayer,Skill.CONSTRUCTION,25));\n log(mainPlayer.getName()+\" construction level is now \"+getLevel(mainPlayer, Skill.CONSTRUCTION));\n\n //Player inventory system checks (Flexible with stackable and unstackable items)\n log(\"Giving \"+someOtherPlayer.getName()+\" 2000 coins!\");\n registry.sendEvent(new GivePlayerItemEvent(someOtherPlayer,Item.COINS,2000));\n ItemData id = getItem(someOtherPlayer, Item.COINS);\n log(someOtherPlayer.getName() + \" Has \"+id.getQuantity()+\" \"+id.getItem()+\" in their Inventory\");\n log(\"Removing 1000 coins!\");\n registry.sendEvent(new RemovePlayerItemEvent(someOtherPlayer,Item.COINS,1000));\n id = getItem(someOtherPlayer, Item.COINS);\n log(someOtherPlayer.getName() + \" Has \"+id.getQuantity()+\" \"+id.getItem()+\" in their Inventory\");\n log(\"Giving \"+mainPlayer.getName()+\" 5x Fish!\");\n registry.sendEvent(new GivePlayerItemEvent(mainPlayer,Item.FISH,5));\n id = getItem(mainPlayer, Item.FISH);\n log(mainPlayer.getName()+\" Has \"+id.getQuantity()+\" \"+id.getItem()+\" in their Inventory\");\n id = getItem(someOtherPlayer, Item.FISH);\n log(someOtherPlayer.getName()+\" Has \"+id.getQuantity()+\" \"+id.getItem()+\" in their Inventory\");\n\n //Mining event stuff\n log(mainPlayer.getName()+\" has \"+getLevel(mainPlayer, Skill.MINING)+\" mining level\");\n log(mainPlayer.getName()+\" is mining \"+ Rock.COAL);\n registry.sendEvent(new PlayerMiningEvent(mainPlayer,Rock.COAL));\n log(mainPlayer.getName()+\" is receiving 200 xp to reach level 5\");\n registry.sendEvent(new GiveXpEvent(mainPlayer, Skill.MINING, 200));\n log(\"Mining level is now \"+getLevel(mainPlayer, Skill.MINING));\n log(mainPlayer.getName()+\" is mining \"+ Rock.COAL);\n registry.sendEvent(new PlayerMiningEvent(mainPlayer,Rock.COAL));\n log(\"Mining level is now \"+getLevel(mainPlayer, Skill.MINING));\n id = getItem(mainPlayer,Item.COAL_ORE);\n log(mainPlayer.getName()+\" Has \"+id.getQuantity()+\" \"+id.getItem()+\" in their Inventory\");\n\n //Cooking Event stuff\n registry.sendEvent(new GivePlayerItemEvent(mainPlayer,Item.RAW_SHRIMP));\n registry.sendEvent(new GivePlayerItemEvent(mainPlayer,Item.RAW_SPAGHETTI));\n log(mainPlayer.getName()+\" has level \"+getLevel(mainPlayer, Skill.COOKING)+\" in cooking\");\n log(mainPlayer.getName()+\" is cooking \"+ Item.RAW_SHRIMP);\n registry.sendEvent(new PlayerCookingEvent(mainPlayer,Item.RAW_SHRIMP));\n log(mainPlayer.getName()+\" is cooking \"+ Item.RAW_SPAGHETTI);\n registry.sendEvent(new PlayerCookingEvent(mainPlayer,Item.RAW_SPAGHETTI));\n log(mainPlayer.getName()+\" is cooking \"+ Item.RAW_SHRIMP);\n registry.sendEvent(new PlayerCookingEvent(mainPlayer,Item.RAW_SHRIMP));\n log(mainPlayer.getName()+\" is using (eating) \"+ Item.RAW_SPAGHETTI);\n UsePlayerItemEvent useItemEvent = new UsePlayerItemEvent(mainPlayer,Item.RAW_SPAGHETTI);\n registry.sendEvent(useItemEvent);\n log(mainPlayer.getName()+\" has \"+getItem(mainPlayer,Item.SHRIMP).getQuantity()+\" \"+Item.SHRIMP);\n log(mainPlayer.getName()+\" has \"+getItem(mainPlayer,Item.BURNT_SHRIMP).getQuantity()+\" \"+Item.BURNT_SHRIMP);\n\n //Run those condition checks\n runChecks();\n\n //Unimportant, unload method call is empty\n registry.unload();\n }","title":""},{"docid":"750e591b60f16c9a92f98d342b9ad404","score":"0.5410449","text":"public void onEquipped(ItemStack itemstack, EntityLivingBase player);","title":""},{"docid":"b7c9ddb43515eaa6d7ca5f010de9c7c3","score":"0.54103696","text":"@Override\n public void equip(Buff b){\n super.equip(b);\n attack += b.damage;\n }","title":""},{"docid":"9127c0c1e84440aef7440d56698b7e0a","score":"0.5406339","text":"void use() {\n System.out.println(location.getInteract());\n if(location.getTrigger() == false && !(location.getGift().equals(\"\"))) {\n location.drop(location.getGift());\n pickup(location.getGift());\n }\n location.setTrigger();\n }","title":""},{"docid":"6103af7af1b3affea75dd2eb17c2e76b","score":"0.540445","text":"public interface Weapon {\n String getDescription();\n void equipToPlayer(Player player);\n String getName();\n}","title":""},{"docid":"707ebdea3620da4b6db81f8ee2bda495","score":"0.54041433","text":"void onDequip(World world, EntityPlayer player, ItemStack stack,ArmourSlot armourSlot, int level);","title":""},{"docid":"c7105ae0e7dd5670bed7f8dae68e925a","score":"0.5402907","text":"public void armorUpdate() {\n if (armor == \"Apprentice Armor\") {\n armorDefense = 1;\n }\n if (armor == \"Ancient Stone Vestments\") {\n armorAttack = -6;\n armorDefense = 12;\n }\n if (armor == \"Frostbite Raiment\") {\n armorDefense = 5;\n }\n gearUpdate();\n }","title":""},{"docid":"23ada195e37404b40190f9b9b691737a","score":"0.5395422","text":"public abstract void forcered(int slot);","title":""},{"docid":"80b6ced800f898e75b55be56812e2922","score":"0.5394126","text":"public boolean onItemUseFirst(GT_MetaBase_Item aItem, ItemStack aStack, EntityPlayer aPlayer, World aWorld, int aX, int aY, int aZ, int aSide, float hitX, float hitY, float hitZ)\r\n/* 72: */ {\r\n/* 73: 60 */ if ((aWorld.isRemote) || (aStack.stackSize != 1)) {\r\n/* 74: 60 */ return false;\r\n/* 75: */ }\r\n/* 76: 62 */ boolean rOutput = false;\r\n/* 77: */ \r\n/* 78: 64 */ ForgeDirection tDirection = ForgeDirection.getOrientation(aSide);\r\n/* 79: 65 */ aX += tDirection.offsetX;aY += tDirection.offsetY;aZ += tDirection.offsetZ;\r\n/* 80: 67 */ if ((!GT_Utility.isAirBlock(aWorld, aX, aY, aZ)) || (!aPlayer.canPlayerEdit(aX, aY, aZ, aSide, aStack))) {\r\n/* 81: 67 */ return false;\r\n/* 82: */ }\r\n/* 83: 68 */ prepare(aStack);\r\n/* 84: 69 */ long tFuelAmount = GT_Utility.ItemNBT.getLighterFuel(aStack);\r\n/* 85: 70 */ if (GT_Utility.areStacksEqual(aStack, this.mUsedLighter, true))\r\n/* 86: */ {\r\n/* 87: 71 */ GT_Utility.sendSoundToPlayers(aWorld, (String)GregTech_API.sSoundList.get(Integer.valueOf(6)), 1.0F, 1.0F, aX, aY, aZ);\r\n/* 88: 72 */ aWorld.setBlock(aX, aY, aZ, Blocks.fire);\r\n/* 89: 73 */ if (!aPlayer.capabilities.isCreativeMode) {\r\n/* 90: 73 */ tFuelAmount -= 1L;\r\n/* 91: */ }\r\n/* 92: 74 */ rOutput = true;\r\n/* 93: */ }\r\n/* 94: 76 */ GT_Utility.ItemNBT.setLighterFuel(aStack, tFuelAmount);\r\n/* 95: 77 */ if (tFuelAmount <= 0L) {\r\n/* 96: 77 */ useUp(aStack);\r\n/* 97: */ }\r\n/* 98: 78 */ return rOutput;\r\n/* 99: */ }","title":""},{"docid":"d9541db12301a4bcab09b6e58b7c6d34","score":"0.53931373","text":"public String examineWeapon(Room currentRoom) \n {\n String description = \"\"; \n Weapon weapon = currentRoom.getWeapon(); // The weapon that is in the room\n\n // Inform the player that he found a weapon\n description += \"You did step in something! It is an engraved \" + weapon.getClass().getSimpleName()\n + \" laying on the ground.\\n\";\n\n // If the player has no weapon yet, equip him with the new weapon\n if (player.getWeapon() == null) \n {\n description += \"Having a weapon to help you to defend yourself is encouraging. You picked it on the ground\\n\"\n + \"and try it on an old statue made of wood that is in the room.\\n\\n\" +\n \"Weapon damage: \" + weapon.getDamage() +\"\\n\"; // Show weapon damage\n\n // Assign the weapon to the player and the room to null as the weapon was collected\n player.setWeapon(weapon);\n currentRoom.setWeapon(null);\n } // End of if statement\n \n // If player is equipped with a weapon, check and compare the damage that each weapon adds to the player to decide if replacing the weapon is a good idea\n else if (weapon.getDamage() > player.getWeapon().getDamage()) \n {\n description += \"It is definetly better than the weapon you are equiped. You drop\\n\"\n + \"\\tthe \" + player.getWeapon().getClass().getSimpleName()\n + \" you were carrying and pick the new weapon. \\nYou feel stronger already!\\n\\n\";\n\n // Assign the weapon to the player and the room to null as the weapon was collected\n player.setWeapon(weapon);\n currentRoom.setWeapon(null);\n } // End of else if statement\n \n // if the weapon player is carrying is better the one he found\n else \n {\n description += \"\\tIt looks useless compared to the \"\n + player.getWeapon().getClass().getSimpleName() + \", and you left it there, in the same place\\n\"\n + \"\\tin case another brave warrior decides to adventure himself in this dungeon.\\n\\n\";\n } // End of else statement\n\n return description;\n }","title":""},{"docid":"4ed454a07c47b9683e3a34e9a7e71308","score":"0.5391495","text":"public void superGas(){\r\n\t\tmdaEfsm.selectGas(2);\r\n\t}","title":""},{"docid":"80c80254d6560623487e7dac26d21b7e","score":"0.53781414","text":"public void playerPickUpItem() {\n\t\tif (player.isAlive()) {\n\t\t\tplayer.pickUpItem();\n\t\t}\n\t}","title":""},{"docid":"71d998d79d5e3f2e32d03908bb2e7265","score":"0.5372952","text":"public void collidedWithAnotherShip(){ ;\n if (this.ShieldOff){\n this.CurrentHealthLevel --;\n this.MaxEnergyLevel -= 10;\n if (this.CurrentEnergyLevel > this.MaxEnergyLevel)\n this.CurrentEnergyLevel = this.MaxEnergyLevel;\n }\n else {\n this.MaxEnergyLevel += 18;\n this.CurrentEnergyLevel += 18;\n }\n }","title":""},{"docid":"78d3d21d52eb8d29b608d9b7b6a5ae23","score":"0.53727055","text":"public static void equipmentchoice(){\r\n \r\n boolean law = true;\r\n \r\n do {\r\n try{\r\n while (law){\r\n \r\n System.out.print(\"Insert Equipment into Inventory: [1] \\n\");\r\n System.out.print(\"Remove Equipment from Inventory: [2] \\n\");\r\n System.out.print(\"Edit Equipment's Information from Inventory: [3] \\n\");\r\n System.out.print(\"Back?: [4] \\n\");\r\n \r\n int aw = Integer.parseInt(scan.nextLine());\r\n System.out.print(\"\\n\\n\\n\\n\\n\");\r\n \r\n switch (aw) {\r\n case 1: \r\n insertequip();\r\n law = false;\r\n break;\r\n case 2:\r\n if (com1.isEmpty()){\r\n System.out.print(\"There is nothing to be remove in the invetory of Hospital Equipments.\\n\");\r\n start();}\r\n removeequip();\r\n law = false;\r\n break;\r\n case 3:\r\n if (com1.isEmpty()){\r\n System.out.print(\"There is nothing to be edit in the invetory of Equipments.\\n\\n\\n\\n\\n\");\r\n System.out.print(\"Press any key to continue.....\");\r\n scan.nextLine();\r\n start();}\r\n law = false;\r\n setnewequipment();\r\n break;\r\n case 4:\r\n start();\r\n law = false;\r\n break;\r\n default:\r\n System.out.print(\"Invalid Choice\\n\\n\");\r\n law = true;\r\n break;\r\n }\r\n }\r\n break;\r\n } catch (NumberFormatException x){\r\n System.out.print(\"Your input is invalid.\");\r\n System.out.print(\"\\n\\n\\n\\n\\n\");\r\n }\r\n } while (true);\r\n }","title":""},{"docid":"bea7569c676ae4b26490e7eebed74d9c","score":"0.53707","text":"@Override\r\n\tpublic boolean activate() {\n\t\tTile bank1 = new Tile(3169, 3457, 0);\r\n\t\tTile bank2 = new Tile(3144, 3484, 0);\r\n\t\tArea bank_tele_area = new Area(bank1, bank2);\r\n\t\t\r\n\t\treturn ctx.backpack.select().count() == 28 && !bank_tele_area.contains(ctx.players.local());\r\n\t}","title":""},{"docid":"79c08cd6ecd5a0113bb92d8929f40547","score":"0.53691685","text":"public boolean onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10)\n {\n if (!par2EntityPlayer.canPlayerEdit(par4, par5, par6, par7, par1ItemStack))\n {\n return false;\n }\n else\n {\n UseHoeEvent event = new UseHoeEvent(par2EntityPlayer, par1ItemStack, par3World, par4, par5, par6);\n if (MinecraftForge.EVENT_BUS.post(event))\n {\n return false;\n }\n\n if (event.getResult() == Result.ALLOW)\n {\n par1ItemStack.damageItem(1, par2EntityPlayer);\n return true;\n }\n\n Block block = par3World.getBlock(par4, par5, par6); //getting the block at the right click location\n\n if (par7 != 0 && par3World.getBlock(par4, par5 + 1, par6).isAir(par3World, par4, par5 + 1, par6) && (block == Blocks.hay_block || block == Blocks.wheat||block==Blocks.tallgrass))//modded\n {\n Block block1 = Blocks.air; //getting the replacement block\n par3World.playSoundEffect((double)((float)par4 + 0.5F), (double)((float)par5 + 0.5F), (double)((float)par6 + 0.5F), block1.stepSound.getStepResourcePath(), (block1.stepSound.getVolume() + 1.0F) / 2.0F, block1.stepSound.getPitch() * 0.8F);\n\n if (par3World.isRemote)\n {\n return true;\n }\n else\n {\n \t // setting the block at the right click location to block1 type\n \tpar3World.setBlock(par4, par5, par6, block1); \n par1ItemStack.damageItem(1, par2EntityPlayer);\n \n \t//Our modification Par 4-6 are x,y,z coords for blocks. \n //I am doing is setting the blocks next to the block1 to ALSO be set to air\n \n Block block2 = Blocks.air;\n par3World.setBlock(par4+1, par5, par6, block2);\n \n \n Block block3 = Blocks.air;\n par3World.setBlock(par4-1, par5, par6, block3);\n \n \n par3World.setBlock(par4, par5, par6+1, block3);\n \n \n \n \n \n par3World.setBlock(par4+1, par5, par6+1, block3);\n \n \n \n \n \n par3World.setBlock(par4-1, par5, par6+1, block3);\n \n \n \n \n \n //Using the right click ability uses 1 whole unit of food since it is such a large swing!\n par2EntityPlayer.getFoodStats().setFoodLevel(par2EntityPlayer.getFoodStats().getFoodLevel()-1);\n \n return true;\n \n }\n }\n else\n {\n return false;\n }\n }\n }","title":""},{"docid":"1dbb1a85bf23e60f3f5da48b0a8af044","score":"0.5363098","text":"public void equipArmor(Equipment newArmor) {\n this.armor = newArmor;\n }","title":""},{"docid":"84a7d8caeb8ec6997b53d15ef5c84748","score":"0.53554785","text":"public void unequip(Clothing clothing)\n {\n totalProtection -= clothing.getProtection();\n\n if(clothing.getType().equals(\"head\"))\n {\n if(!head.getName().equals(\"Nothing\"))\n {\n System.out.println(\"You unequipped \" + head.getName());\n head.setEquipped(false);\n head = new Clothing(\"Nothing\", 0, \"head\");\n }\n }\n else if(clothing.getType().equals(\"torso\"))\n {\n if(!torso.getName().equals(\"Nothing\"))\n {\n System.out.println(\"You unequipped \" + torso.getName());\n torso.setEquipped(false);\n torso = new Clothing(\"Nothing\", 0, \"torso\");\n }\n }\n else if(clothing.getType().equals(\"legs\"))\n {\n if(!legs.getName().equals(\"Nothing\"))\n {\n System.out.println(\"You unequipped \" + legs.getName());\n legs.setEquipped(false);\n legs = new Clothing(\"Nothing\", 0, \"legs\");\n }\n }\n else if(clothing.getType().equals(\"feet\"))\n {\n if(!feet.getName().equals(\"Nothing\"))\n {\n System.out.println(\"You unequipped \" + feet.getName());\n feet.setEquipped(false);\n feet = new Clothing(\"Nothing\", 0, \"feet\");\n }\n }\n\n }","title":""},{"docid":"7d20990cad6a9208e4086aa996d32e8a","score":"0.5354868","text":"@Override\n\tpublic void performAction(InventoryClickEvent event, ItemStack stack) {\n\t\tPlayer player = (Player)event.getWhoClicked();\n\t\tResident res = CivGlobal.getResident(player);\n\t\tguiInventory = Bukkit.getServer().createInventory(player,9*5, \"Library Enchanting\");\n\t\t\n\t\tfor (Structure s : res.getTown().getStructures()) {\n\t\t\tItemStack is;\n\t\t\tif (s instanceof Library) {\n\t\t\t\tLibrary library = (Library)s;\n\t\t\t\tfor (LibraryEnchantment le : library.getEnchants()) {\n\t\t\t\t\tInteger level = le.level;\n\t\t\t\t\tString cost = \"\"+le.price;\n/*\t\t\t\t\tif (!library.getEnchants().contains(\"Projectile Protection\")) {\n\t\t\t\t\t\tis = LoreGuiItem.build(\"Projectile Protection \"+level, ItemManager.getId(Material.BEDROCK), 0, \" \"+CivColor.RoseBold+\"ENCHANTMENT LOCKED\", CivColor.LightGrayItalic+\"Reduces Arrow Damage.\");\n\t\t\t\t\t\tguiInventory.setItem(0, is);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tis = LoreGuiItem.build(le.displayName+\" \"+level, ItemManager.getId(Material.SPECTRAL_ARROW), 0, \" \"+CivColor.YellowBold+cost+\" Coins\", CivColor.LightGrayItalic+\"Reduces Arrow Damage.\");\n\t\t\t\t\t\tis = LoreGuiItem.setAction(is, \"_1ConfirmLibraryEnchant\");\n\t\t\t\t\t\tis = LoreGuiItem.setActionData(is, \"enchantmentCategory\", \"armour\");\n\t\t\t\t\t\tis = LoreGuiItem.setActionData(is, \"enchantmentname\", le.displayName);\n\t\t\t\t\t\tis = LoreGuiItem.setActionData(is, \"enchantmentlevel\", \"\"+le.level);\n\t\t\t\t\t\tguiInventory.setItem(0, is);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tif (!library.getEnchants().contains(\"Blast Protection\")) {\n\t\t\t\t\t\tis = LoreGuiItem.build(\"Blast Protection \"+level, ItemManager.getId(Material.BEDROCK), 0, \" \"+CivColor.RoseBold+\"ENCHANTMENT LOCKED\", CivColor.LightGrayItalic+\"Reduces Explosion Damage.\");\n\t\t\t\t\t\tguiInventory.setItem(1, is);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tis = LoreGuiItem.build(le.displayName+\" \"+level, ItemManager.getId(Material.EXPLOSIVE_MINECART), 0, \" \"+CivColor.YellowBold+cost+\" Coins\", CivColor.LightGrayItalic+\"Reduces Explosion Damage.\");\n\t\t\t\t\t\tis = LoreGuiItem.setAction(is, \"_1ConfirmLibraryEnchant\");\n\t\t\t\t\t\tis = LoreGuiItem.setActionData(is, \"enchantmentCategory\", \"armour\");\n\t\t\t\t\t\tis = LoreGuiItem.setActionData(is, \"enchantmentname\", le.displayName);\n\t\t\t\t\t\tis = LoreGuiItem.setActionData(is, \"enchantmentlevel\", \"\"+le.level);\n\t\t\t\t\t\tguiInventory.setItem(1, is);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}*/\n\t\t\t\t\t\n\t\t\t\t\tif (library.getLevel() >= 1) {\n\t\t\t\t\t\tis = LoreGuiItem.build(\"Feather Falling \"+level, ItemManager.getId(Material.FEATHER), 0, \" \"+CivColor.YellowBold+cost+\" Coins\", CivColor.LightGrayItalic+\"Reduces Fall Damage.\");\n\t\t\t\t\t\tis = LoreGuiItem.setAction(is, \"_1ConfirmLibraryEnchant\");\n\t\t\t\t\t\tis = LoreGuiItem.setActionData(is, \"enchantmentCategory\", \"armour\");\n\t\t\t\t\t\tis = LoreGuiItem.setActionData(is, \"enchantmentname\", \"Feather Falling\");\n\t\t\t\t\t\tis = LoreGuiItem.setActionData(is, \"enchantmentlevel\", \"\"+le.level);\n\t\t\t\t\t\tguiInventory.setItem(4, is);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tis = LoreGuiItem.build(\"Feather Falling \"+level, ItemManager.getId(Material.BEDROCK), 0, \" \"+CivColor.RoseBold+\"ENCHANTMENT LOCKED\", CivColor.LightGrayItalic+\"Reduces Fall Damage.\");\n\t\t\t\t\t\tguiInventory.setItem(4, is);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tif (library.getLevel() >= 2) {\n\t\t\t\t\t\tis = LoreGuiItem.build(\"Efficiency \"+level, ItemManager.getId(Material.SUGAR), 0, \" \"+CivColor.YellowBold+cost+\" Coins\", CivColor.LightGrayItalic+\"Increase Mining Speed.\");\n\t\t\t\t\t\tis = LoreGuiItem.setAction(is, \"_1ConfirmLibraryEnchant\");\n\t\t\t\t\t\tis = LoreGuiItem.setActionData(is, \"enchantmentCategory\", \"tool\");\n\t\t\t\t\t\tis = LoreGuiItem.setActionData(is, \"enchantmentname\", \"Efficiency\");\n\t\t\t\t\t\tis = LoreGuiItem.setActionData(is, \"enchantmentlevel\", \"\"+le.level);\n\t\t\t\t\t\tguiInventory.setItem(9, is);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tis = LoreGuiItem.build(\"Efficiency \"+level, ItemManager.getId(Material.BEDROCK), 0, \" \"+CivColor.RoseBold+\"ENCHANTMENT LOCKED\", CivColor.LightGrayItalic+\"Increase Mining Speed.\");\n\t\t\t\t\t\tguiInventory.setItem(9, is);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tif (library.getLevel() >= 3) {\n\t\t\t\t\t\tis = LoreGuiItem.build(\"Fortune \"+level, ItemManager.getId(Material.APPLE), 0, \" \"+CivColor.YellowBold+cost+\" Coins\", CivColor.LightGrayItalic+\"Increase Ore Drop Chance.\");\n\t\t\t\t\t\tis = LoreGuiItem.setAction(is, \"_1ConfirmLibraryEnchant\");\n\t\t\t\t\t\tis = LoreGuiItem.setActionData(is, \"enchantmentCategory\", \"tool\");\n\t\t\t\t\t\tis = LoreGuiItem.setActionData(is, \"enchantmentname\", \"Fortune\");\n\t\t\t\t\t\tis = LoreGuiItem.setActionData(is, \"enchantmentlevel\", \"\"+le.level);\n\t\t\t\t\t\tguiInventory.setItem(11, is);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tis = LoreGuiItem.build(\"Fortune \"+level, ItemManager.getId(Material.BEDROCK), 0, \" \"+CivColor.RoseBold+\"ENCHANTMENT LOCKED\", CivColor.LightGrayItalic+\"Increase Ore Drop Chance.\");\n\t\t\t\t\t\tguiInventory.setItem(11, is);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\t/* Add back buttons. */\n\t\tItemStack backButton = LoreGuiItem.build(\"Back\", ItemManager.getId(Material.MAP), 0, \"Back to Topics\");\n\t\tbackButton = LoreGuiItem.setAction(backButton, \"OpenInventory\");\n\t\tbackButton = LoreGuiItem.setActionData(backButton, \"invType\", \"showGuiInv\");\n\t\tbackButton = LoreGuiItem.setActionData(backButton, \"invName\", _1BuildMenuList.guiInventory.getName());\n\t\tguiInventory.setItem((9*5)-1, backButton);\n\t\t\n\t\tLoreGuiItemListener.guiInventories.put(guiInventory.getName(), guiInventory);\n\t\tTaskMaster.syncTask(new OpenInventoryTask(player, guiInventory));\n\t}","title":""},{"docid":"ec3e69e94b8b9949d80c415ba51a7d36","score":"0.53535295","text":"public void what() {\n\t\tShop shop = findShop();\n\n\t\tif (shop == null)\n\t\t\treturn;\n\n\t\tList guiSetup = new ArrayList<>();\n\t\tguiSetup.add(\"141125333\");\n\t\tfor (int i = 1; i < Math.max((int) (Math.ceil(shop.getProduct().size() / 3.0)), (int) (Math.ceil(shop.getCost().size() / 3.0))) + 1; i++) {\n\t\t\tguiSetup.add(\"1 2 3\");\n\t\t}\n\n\t\tfor (int i = 0, col = 5; i < shop.getProduct().size(); i++) {\n\t\t\tint row = (i / 3) + 1;\n\t\t\tguiSetup.set(row, guiSetup.get(row).substring(0, col) + ((char) (i + 97)) + guiSetup.get(row).substring(col + 1));\n\t\t\tcol = col + 1 < 8 ? col + 1 : 5;\n\t\t}\n\n\t\tfor (int i = 0, col = 1; i < shop.getCost().size(); i++) {\n\t\t\tint row = (i / 3) + 1;\n\t\t\tguiSetup.set(row, guiSetup.get(row).substring(0, col) + ((char) (i + 65)) + guiSetup.get(row).substring(col + 1));\n\t\t\tcol = col + 1 < 4 ? col + 1 : 1;\n\t\t}\n\n\t\tguiSetup.forEach(item -> debugger.log(item, DebugLevels.INVENTORY_CLOSE_NPE));\n\n\t\tInventoryGui gui = new InventoryGui(plugin, colorize(shop.getShopType() == ShopType.ITRADE ?\n\t\t\t\tSetting.ITRADESHOP_OWNER.getString() :\n\t\t\t\tBukkit.getOfflinePlayer(shop.getOwner().getUUID()).getName() + \"'s\"),\n\t\t\t\tguiSetup.toArray(new String[0]));\n\n\t\tgui.setFiller(new ItemStack(Material.LIGHT_GRAY_STAINED_GLASS_PANE, 1));\n\t\tgui.addElement(new StaticGuiElement('1', new ItemStack(Material.LIME_STAINED_GLASS_PANE),\n\t\t\t\t\" \", \" \"));\n\t\tgui.addElement(new StaticGuiElement('2', new ItemStack(Material.BLACK_STAINED_GLASS_PANE),\n\t\t\t\t\" \", \" \"));\n\t\tgui.addElement(new StaticGuiElement('3', new ItemStack(Material.LIGHT_BLUE_STAINED_GLASS_PANE),\n\t\t\t\t\" \", \" \"));\n\t\tgui.addElement(new StaticGuiElement('4', new ItemStack(Material.GOLD_NUGGET),\n\t\t\t\t\"Cost\", \"This is the item\", \"that you give to\", \"make the trade.\"));\n\t\tgui.addElement(new StaticGuiElement('5', new ItemStack(Material.GRASS_BLOCK),\n\t\t\t\t\"Product\", \"This is the item\", \"that you receive\", \"from the trade.\"));\n\n\t\tfor (int i = 0; i < shop.getCost().size(); i++) {\n\t\t\tgui.addElement(new StaticGuiElement((char) (i + 65), shop.getCost().get(i).getItemStack())); // TODO: use GuiStateElement to allow removal of items from the shop\n\t\t}\n\n\t\tfor (int i = 0; i < shop.getProduct().size(); i++) {\n\t\t\tgui.addElement(new StaticGuiElement((char) (i + 97), shop.getProduct().get(i).getItemStack())); // TODO: use GuiStateElement to allow removal of items from the shop\n\t\t}\n\n\t\tgui.show(pSender);\n\t}","title":""}],"string":"[\n {\n \"docid\": \"4fb400d95b447f08aa754f5b16088433\",\n \"score\": \"0.7186111\",\n \"text\": \"@Override\\r\\n public void equip ()\\r\\n {\\n \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"15537b977996c87e8b95cf9f4405c252\",\n \"score\": \"0.6853587\",\n \"text\": \"@Override\\r\\n public boolean isEquipped () {\\n return false;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aeda250267bd342bc758bd7bd9d81842\",\n \"score\": \"0.66800344\",\n \"text\": \"@Override\\r\\n public void unequip ()\\r\\n {\\n \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fd1fae125387fa0bc49105fe0b48bd27\",\n \"score\": \"0.66780037\",\n \"text\": \"@Override\\r\\n\\tpublic boolean equipable() {\\n\\t\\treturn false;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ddb979c57d53eb4c189abbeb82bc76cb\",\n \"score\": \"0.66232014\",\n \"text\": \"@Override\\r\\n\\tpublic int equipSlot() {\\n\\t\\treturn 0;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5bdb5e0f96b9bca1f35cee8e086cf247\",\n \"score\": \"0.6573805\",\n \"text\": \"@Override\\n public boolean isEquippable() {\\n return false;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6de3a960a0ede9189f9fa8a71b9d4ef6\",\n \"score\": \"0.64627683\",\n \"text\": \"public abstract void onEquip();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"99444b86425a7a35eb86dc992de6efad\",\n \"score\": \"0.6415671\",\n \"text\": \"@Override\\r\\n public void onEquip() {\\n buff = null;\\r\\n ArrayList choices = new ArrayList<>();\\r\\n choices.add(new SausageOptionStrength(this, STR_AMT));\\r\\n choices.add(new SausageOptionDexterity(this, DEX_AMT));\\r\\n choices.add(new SausageOptionFocus(this, FOCUS_AMT));\\r\\n AbstractDungeon.cardRewardScreen.chooseOneOpen(choices);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1ff271de901796875a1a3a712454a41e\",\n \"score\": \"0.6314238\",\n \"text\": \"public void equipBestGear() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bedec42eb7d6ead52c77b8a8430f49ff\",\n \"score\": \"0.6310906\",\n \"text\": \"public void equip(Clothing equipment)\\n {\\n boolean inInventory = false;\\n\\n for(int i = 0; i < inventory.size(); i++)\\n {\\n if(equipment.getName().equals(inventory.get(i).getName()))\\n {\\n inInventory = true;\\n }\\n }\\n\\n if(inInventory) {\\n if (head.getName().equals(\\\"Nothing\\\") && equipment.getType().equals(\\\"head\\\"))\\n {\\n head = equipment;\\n equipment.setEquipped(true);\\n totalProtection += equipment.getProtection();\\n if (name.equals(\\\"Player\\\"))\\n {\\n System.out.println(\\\"You equipped a \\\" + equipment.getName());\\n }\\n } else if (torso.getName().equals(\\\"Nothing\\\") && equipment.getType().equals(\\\"torso\\\"))\\n {\\n torso = equipment;\\n equipment.setEquipped(true);\\n totalProtection += equipment.getProtection();\\n if (name.equals(\\\"Player\\\"))\\n {\\n System.out.println(\\\"You equipped a \\\" + equipment.getName());\\n }\\n } else if (legs.getName().equals(\\\"Nothing\\\") && equipment.getType().equals(\\\"legs\\\"))\\n {\\n legs = equipment;\\n equipment.setEquipped(true);\\n totalProtection += equipment.getProtection();\\n if (name.equals(\\\"Player\\\"))\\n {\\n System.out.println(\\\"You equipped a \\\" + equipment.getName());\\n }\\n } else if (feet.getName().equals(\\\"Nothing\\\") && equipment.getType().equals(\\\"feet\\\"))\\n {\\n feet = equipment;\\n equipment.setEquipped(true);\\n totalProtection += equipment.getProtection();\\n if (name.equals(\\\"Player\\\"))\\n {\\n System.out.println(\\\"You equipped a \\\" + equipment.getName());\\n }\\n } else if (equipment.getType().equals(\\\"head\\\"))\\n {\\n totalProtection -= head.getProtection();\\n head.setEquipped(false);\\n System.out.println(\\\"You unequipped a \\\" + head.getName());\\n head = equipment;\\n totalProtection += head.getProtection();\\n head.setEquipped(true);\\n if (name.equals(\\\"Player\\\"))\\n {\\n System.out.println(\\\"You equipped a \\\" + equipment.getName());\\n }\\n } else if (equipment.getType().equals(\\\"torso\\\"))\\n {\\n totalProtection -= torso.getProtection();\\n torso.setEquipped(false);\\n System.out.println(\\\"You unequipped a \\\" + torso.getName());\\n torso = equipment;\\n totalProtection += torso.getProtection();\\n torso.setEquipped(true);\\n if (name.equals(\\\"Player\\\"))\\n {\\n System.out.println(\\\"You equipped a \\\" + equipment.getName());\\n }\\n } else if (equipment.getType().equals(\\\"legs\\\"))\\n {\\n totalProtection -= legs.getProtection();\\n legs.setEquipped(false);\\n System.out.println(\\\"You unequipped a \\\" + legs.getName());\\n legs = equipment;\\n totalProtection += legs.getProtection();\\n legs.setEquipped(true);\\n if (name.equals(\\\"Player\\\"))\\n {\\n System.out.println(\\\"You equipped a \\\" + equipment.getName());\\n }\\n } else if (equipment.getType().equals(\\\"feet\\\"))\\n {\\n totalProtection -= feet.getProtection();\\n feet.setEquipped(false);\\n System.out.println(\\\"You unequipped a \\\" + feet.getName());\\n feet = equipment;\\n totalProtection += feet.getProtection();\\n feet.setEquipped(true);\\n if (name.equals(\\\"Player\\\"))\\n {\\n System.out.println(\\\"You equipped a \\\" + equipment.getName());\\n }\\n }\\n }\\n else\\n {\\n System.out.println(\\\"You don't have this item\\\");\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3bf8d325adb3c0a113aae3619f99e791\",\n \"score\": \"0.6242477\",\n \"text\": \"private void equipItem() {\\r\\n String slot = (String)(slotComboBox.getSelectedItem());\\r\\n String spriteName = getSpriteName();\\r\\n if (spriteName != null && !spriteName.equals(template.getSpriteName())) {\\r\\n template.addItem(slot, (AccessoryTemplate)TemplateFactory.getTemplate(spriteName));\\r\\n updateUnitSurface();\\r\\n } else {\\r\\n System.out.println(\\\"fox\\\");\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd0449124a692151e3a7a641ebb46e02\",\n \"score\": \"0.61807483\",\n \"text\": \"private void changeItems()\\r\\n\\t{\\n\\r\\n\\t\\tAdventureResult[] pieces = new AdventureResult[ EquipmentManager.ALL_SLOTS ];\\r\\n\\r\\n\\t\\tfor ( int i = 0; i < pieces.length; ++i )\\r\\n\\t\\t{\\r\\n\\t\\t\\tpieces[ i ] = (AdventureResult) this.equipment[ i ].getSelectedItem();\\r\\n\\t\\t\\tif ( EquipmentManager.getEquipment( i ).equals( pieces[ i ] ) )\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tpieces[ i ] = null;\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\tAdventureResult famitem = (AdventureResult) this.equipment[ EquipmentManager.FAMILIAR ].getSelectedItem();\\r\\n\\r\\n\\t\\t// Start with accessories\\r\\n\\r\\n\\t\\tfor ( int i = EquipmentManager.ACCESSORY1; i <= EquipmentManager.ACCESSORY3; ++i )\\r\\n\\t\\t{\\r\\n\\t\\t\\tif ( pieces[ i ] != null )\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tRequestThread.postRequest( new EquipmentRequest( pieces[ i ], i, true ) );\\r\\n\\t\\t\\t\\tpieces[ i ] = null;\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\t// Move on to other equipment\\r\\n\\r\\n\\t\\tfor ( int i = 0; i < EquipmentManager.ACCESSORY1; ++i )\\r\\n\\t\\t{\\r\\n\\t\\t\\tif ( pieces[ i ] != null )\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tRequestThread.postRequest( new EquipmentRequest( pieces[ i ], i, true ) );\\r\\n\\t\\t\\t\\tpieces[ i ] = null;\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\tfor ( int i = EquipmentManager.STICKER1; i <= EquipmentManager.STICKER3; ++i )\\r\\n\\t\\t{\\r\\n\\t\\t\\tif ( pieces[ i ] != null )\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tRequestThread.postRequest( new EquipmentRequest( pieces[ i ], i, true ) );\\r\\n\\t\\t\\t\\tpieces[ i ] = null;\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\tif ( KoLCharacter.getFamiliar().canEquip( famitem ) )\\r\\n\\t\\t{\\r\\n\\t\\t\\tRequestThread.postRequest( new EquipmentRequest( famitem, EquipmentManager.FAMILIAR ) );\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0ffbf39ad7e7aad9f79bb0b1f76171e3\",\n \"score\": \"0.6123784\",\n \"text\": \"@Override\\n public boolean canEquip(EquipmentType type) {\\n return false;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1c00098f8f8bc2b56abee920dddf787f\",\n \"score\": \"0.60713094\",\n \"text\": \"void onEquip(World world, EntityPlayer player, ItemStack stack, ArmourSlot armourSlot, int level);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c094d9e072e1ce19bf9c9295dc9dc332\",\n \"score\": \"0.6053328\",\n \"text\": \"public abstract void onUnequip();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1cd018e0007937b7e69e3392429a5907\",\n \"score\": \"0.6042748\",\n \"text\": \"@Override\\n public boolean equip(EquipmentType type, ItemStack equipment) {\\n return false;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3d44c13d6eb4a53aaf42893e0750b887\",\n \"score\": \"0.5993005\",\n \"text\": \"@Test\\n\\tpublic void testEquippingEquipment()\\n\\t{\\n\\t\\t\\n\\t\\t//Red Mage is best to test with because they're capable of equipping a a medium amount of items\\n\\t\\t//compared to other mages who can't equip much and Fighters who can equip just about everything\\n\\t\\tPlayer j = new Player(\\\"TWIL\\\", \\\"Red Mage\\\");\\n\\t\\t\\n\\t\\tItem w1 = Item.loadItem(\\\"Knife\\\");\\n\\t\\t\\n\\t\\t//Shouldn't be able to equip items that the job can not equip\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a5f1070e01e6ff0dc3da7189850e93d5\",\n \"score\": \"0.5982236\",\n \"text\": \"@EventHandler\\n public void onArmorEquip(ArmorEquipEvent e){\\n Player player = e.getPlayer();\\n int stunTimer = 300;\\n if(e.getNewArmorPiece() != null && e.getNewArmorPiece().getType() != Material.AIR){\\n if(e.getNewArmorPiece().getType() == Material.LEATHER_CHESTPLATE){\\n if(e.getNewArmorPiece().hasItemMeta()){ // All custom spawned shirts will have meta\\n ItemStack chestplate = e.getNewArmorPiece();\\n String[] shirtName = chestplate.getItemMeta().getDisplayName().split(\\\" \\\");\\n if(shirtName[1].equals(\\\"Shirt\\\")) {\\n switch (ChatColor.stripColor(shirtName[0])) {\\n // Only check for special zombie shirts\\n case \\\"Witch\\\":\\n case \\\"Twitch\\\":\\n stunTimer = 10;\\n break;\\n case \\\"Jackal\\\":\\n case \\\"Tank\\\":\\n stunTimer = 150;\\n break;\\n case \\\"Boomer\\\":\\n break;\\n default:\\n return;\\n }\\n // Make the wearer of the special shirt that type of zombie\\n Stats.addZombie(player.getDisplayName(), stunTimer, shirtName[0], player);\\n } else if(shirtName[1].equals(\\\"Armor\\\")){\\n if(Stats.getHumans().containsKey(player.getDisplayName())){\\n player.sendMessage(ChatColor.GREEN + \\\"You've equipped your Body Armor!\\\");\\n Stats.getHumans().get(player.getDisplayName()).setHasBodyArmor(true);\\n }\\n }\\n }\\n }\\n } else {\\n if(e.getOldArmorPiece() != null && e.getOldArmorPiece().getType() != Material.AIR){\\n if(e.getOldArmorPiece().getType() == Material.LEATHER_CHESTPLATE){\\n if(e.getOldArmorPiece().hasItemMeta()){\\n String[] itemName = e.getOldArmorPiece().getItemMeta().getDisplayName().split(\\\" \\\");\\n if(itemName[1].equals(\\\"Shirt\\\")){\\n if(Stats.getZombies().containsKey(player.getDisplayName())){\\n // When unequipping a special shirt, make the unequipper a regular zombie again\\n Stats.addZombie(player.getDisplayName(), 300, \\\"Zombie\\\", player);\\n }\\n } else if(itemName[1].equals(\\\"Armor\\\")){\\n if(Stats.getHumans().containsKey(player.getDisplayName())){\\n // Remove body armor\\n player.sendMessage(ChatColor.RED + \\\"You have unequipped your Body Armor!\\\");\\n Stats.getHumans().get(player.getDisplayName()).setHasBodyArmor(false);\\n }\\n }\\n }\\n }\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"453659570f0f68f6fbe66316e0bd6b48\",\n \"score\": \"0.59730595\",\n \"text\": \"@Override\\r\\n public void actionPerformed(ActionEvent event){\\r\\n String command = event.getActionCommand();\\r\\n System.out.println(command);\\r\\n if(\\\"equip\\\".equals(command)){\\r\\n LinkedList li = characterInventory.getItems();\\r\\n //int id = currentInventory.getItemID();\\r\\n for(int i =0; i li;\\r\\n if(currentInventory instanceof Weapon){\\r\\n Weapon wea = (Weapon)currentInventory;\\r\\n int dp = player.getDexterityModifier();\\r\\n \\tint sp = player.getStrengthModifier();\\r\\n \\tint conp = player.getConstitutionModifier();\\r\\n \\tint chp = player.getCharismaModifier();\\r\\n \\tint wisp = player.getWisdomModifier();\\r\\n \\tint intep = player.getIntelligenceModifier();\\r\\n \\tint dex = wea.getDexterityModifer();\\r\\n \\tint str = wea.getStrengthModifer();\\r\\n \\tint con = wea.getConstitutionModifier();\\r\\n \\tint ch = wea.getCharismaModifer();\\r\\n \\tint wis = wea.getWisdomModifier();\\r\\n \\tint inte = wea.getIntelligenceModifier();\\r\\n \\tplayer.setStrengthModifier(sp - str);\\r\\n \\tplayer.setDexterityModifier(dp - dex);\\r\\n \\tplayer.setCharismaModifier(chp - ch);\\r\\n \\tplayer.setConstitutionModifier(conp - con);\\r\\n \\tplayer.setIntelligenceModifier(intep - inte);\\r\\n \\tplayer.setWisdomModifier(wisp - wis);\\r\\n String name = wea.getName();\\r\\n li = characterInventory.getItems();\\r\\n if(li != null){\\r\\n li.add(wea);\\r\\n }else{\\r\\n li = new LinkedList<>();\\r\\n li.add(wea);\\r\\n }\\r\\n characterInventory.setEquippedWeapon(null);\\r\\n characterInventory.setItems(li);\\r\\n int z = emptyNumber;\\r\\n if(newEmptyNumber();\\r\\n li.add(armor);\\r\\n }\\r\\n characterInventory.setItems(li);\\r\\n int z = emptyNumber;\\r\\n if(newEmptyNumber();\\r\\n li.add(wea);\\r\\n }\\r\\n characterInventory.setRing(null);\\r\\n characterInventory.setItems(li);\\r\\n int z = emptyNumber;\\r\\n if(newEmptyNumber V = this.getVisibleAgents();\\r\\n\\t\\tif(V.size()>0) {\\r\\n\\t\\t\\tAgent closestVisible = null;\\r\\n\\t\\t\\tdouble dist = 10000;\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tfor(Agent a: V) {\\r\\n\\t\\t\\t\\tif(a!=this) {\\r\\n\\t\\t\\t\\t\\tif(this.getDistanceToAgent(a) items = new ArrayList();\\n\\t\\t\\n\\t\\tif(Game.getHero().getEquippedArmor() != null)\\n\\t\\t{\\n\\t\\t\\titems.add(Game.getHero().getEquippedArmor());\\n\\t\\t}\\n\\t\\t\\n\\t\\tif(!Game.getHero().getEquippedWeapon().getName().equals(\\\"Fists\\\"))\\n\\t\\t{\\n\\t\\t\\titems.add(Game.getHero().getEquippedWeapon());\\n\\t\\t}\\n\\t\\t\\n\\t\\tif(items.isEmpty())\\n\\t\\t{\\n\\t\\t\\tSystem.out.println(\\\"\\\\t You have nothing equipped.\\\");\\n\\t\\t\\tSystem.out.println();\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\t\\n\\t\\twhile(true)\\n\\t\\t{\\n\\t\\t\\tSystem.out.println(\\\"Which item would you like more information on\\\");\\n\\t\\t\\t\\n\\t\\t\\t\\n\\t\\t\\tfor(int i = 0; i < items.size();i++)\\n\\t\\t\\t{\\n\\t\\t\\t\\tSystem.out.println( i + \\\". \\\" + items.get(i).getName());\\n\\t\\t\\t}\\n\\t\\t\\tSystem.out.println(items.size() + \\\". \\\" + \\\" return to inventory\\\" );\\n\\t\\t\\tint input = GameInput.getInt();\\n\\t\\t\\t\\n\\t\\t\\tif(input >= 0 && input < items.size())\\n\\t\\t\\t{\\n\\t\\t\\t\\tif(items.get(input) instanceof Armor)\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\tArmor temp = (Armor) items.get(input);\\n\\t\\t\\t\\t\\tSystem.out.println(\\\"\\\\t\\\" + temp.getDescription());\\n\\t\\t\\t\\t\\tSystem.out.println(\\\"\\\\t Defense \\\" + temp.getDefense());\\n\\t\\t\\t\\t\\tSystem.out.println();\\n\\t\\t\\t\\t\\treturn;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\telse if(items.get(input) instanceof Weapon)\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\tWeapon temp = (Weapon) items.get(input);\\n\\t\\t\\t\\t\\tSystem.out.println(\\\"\\\\t\\\" + temp.getDescription());\\n\\t\\t\\t\\t\\tSystem.out.println(\\\"\\\\t Strength \\\" + temp.getStrength());\\n\\t\\t\\t\\t\\tSystem.out.println();\\n\\t\\t\\t\\t\\treturn;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\telse\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\tSystem.out.println(\\\"\\\\t Yout mutter to yourself, trying to remember what you wanted to do...\\\");\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\n\\t\\t\\t} else if (input == items.size()) {\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c989c4010ae9f2614a7261c9e4aac1a\",\n \"score\": \"0.5879637\",\n \"text\": \"public static void picky_inven() {\\n\\n if (Global.player.getBaggageSize() == 0) {\\n IOUtil.msg(\\\"you aren't carrying anything\\\");\\n } else if (Global.player.getBaggageSize() == 1) {\\n IOUtil.msg(\\\"a) %s\\\", ThingMethod.inventoryName(Global.player.getBaggage().get(0), false));\\n } else {\\n IOUtil.msg(Global.terse ? \\\"item: \\\" : \\\"which item do you wish to inventory: \\\");\\n int mch = IOUtil.readchar();\\n Global.mpos = 0;\\n if (mch == Const.ESCAPE) {\\n IOUtil.msg(\\\"\\\");\\n return;\\n }\\n for (Thing obj : Global.player.getBaggage()) {\\n if (mch == Human.instance.getPositionOfContent(obj)) {\\n IOUtil.msg(\\\"%c) %s\\\", mch, ThingMethod.inventoryName(obj, false));\\n return;\\n }\\n }\\n IOUtil.msg(\\\"'%s' not in pack\\\", Display.unctrl(mch));\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ef9d39aebda84bd9a4c2d406018fc1c\",\n \"score\": \"0.58720326\",\n \"text\": \"public void equipItem() throws IOException \\n\\t{\\n\\t\\tArrayList items = Game.getHero().getPlayerInventory();\\n\\t\\tArrayList temp = new ArrayList();\\n\\t\\t\\n\\t\\t//add all armor and weapons to the temp array list\\n\\t\\tfor(int i = 0; i = 0 && input < temp.size())\\n\\t\\t\\t{\\n\\t\\t\\t\\tif(temp.get(input).getItem() instanceof Weapon)\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\tif(Game.getHero().getEquippedWeapon().getName().equals(\\\"Fists\\\"))\\n\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\tGame.getHero().setEquippedWeapon((Weapon) temp.get(input).getItem());\\n\\t\\t\\t\\t\\t\\tGame.getHero().removeArtifactFromInventory(Game.getHero().getEquippedWeapon());\\n\\t\\t\\t\\t\\t\\tSystem.out.println(\\\"\\\\t You feel stronger after equipping \\\" + Game.getHero().getEquippedWeapon().getName());\\n\\t\\t\\t\\t\\t\\tSystem.out.println();\\n\\t\\t\\t\\t\\t\\treturn;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\telse\\n\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\tSystem.out.println(\\\"\\\\t You remember the words of your mentor,\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t+ \\\"\\\\tto get you have to give. Try unequipping before you equip.\\\");\\n\\t\\t\\t\\t\\t\\tSystem.out.println();\\n\\t\\t\\t\\t\\t\\treturn;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\n\\t\\t\\t\\telse \\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\tif(Game.getHero().getEquippedArmor() == null)\\n\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\tGame.getHero().setEquippedArmor((Armor) temp.get(input).getItem());\\n\\t\\t\\t\\t\\t\\tGame.getHero().removeArtifactFromInventory(Game.getHero().getEquippedArmor());\\n\\t\\t\\t\\t\\t\\tSystem.out.println(\\\"\\\\t You feel safer after equipping \\\" + Game.getHero().getEquippedArmor().getName());\\n\\t\\t\\t\\t\\t\\tSystem.out.println();\\n\\t\\t\\t\\t\\t\\treturn;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\telse\\n\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\tSystem.out.println(\\\"\\\\t You remember the words of your mentor\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t+ \\\"\\\\t To get you gotta give. Try unequipping before you equip.\\\");\\n\\t\\t\\t\\t\\t\\tSystem.out.println();\\n\\t\\t\\t\\t\\t\\treturn;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\n\\t\\t\\t} else if (temp.size() == input) {\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\t\\t\\telse\\n\\t\\t\\t{\\n\\t\\t\\t\\tSystem.out.println(\\\"You mutter to yourself, trying to remember what you wanted to do....\\\");\\n\\t\\t\\t\\tSystem.out.println();\\n\\t\\t\\t\\t\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"159fdfcdd582d448cc7d4a9be2fff261\",\n \"score\": \"0.58160067\",\n \"text\": \"@Test\\n void equipItem() {\\n Character character = createBaseCharacter(\\\"Foo\\\", 10, 10);\\n Wearable sword = createWearable(2, true);\\n character.items.add(sword);\\n\\n Armor armor = createArmor(1,1,1);\\n character.items.add(armor);;\\n // Equip an armor\\n assertTrue(character.equipItem(armor));\\n assertTrue(character.armor.contains(armor));\\n\\n // Equip a weapon\\n assertTrue(character.equipItem(sword));\\n assertTrue(character.activeWeapon == sword);\\n\\n // Illegal equip ( item not in inventory)\\n Wearable item = createWearable(1, true);\\n assertFalse(character.equipItem(item));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1cdc4e857f9b95cc0cd85b72e87887fe\",\n \"score\": \"0.58088964\",\n \"text\": \"private void createInventory(){\\r\\n\\t\\tinventory.addWeapon(new Weapon(10, 500, -10, \\\"Knife\\\"));\\r\\n\\t\\tinventory.haveWeapon(inventory.getWeapon(\\\"Knife\\\"));\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8c4d34dce60d51de0217c1e5e04bfb80\",\n \"score\": \"0.57795274\",\n \"text\": \"private Equipo getEquipoSeleccionado(){\\n return equipoSeleccionado;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e511374d490268f6d848ae558d5821e1\",\n \"score\": \"0.5768594\",\n \"text\": \"void equipmentNotFound();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dde6c8b4681ed8600855889855ca2ecc\",\n \"score\": \"0.5766126\",\n \"text\": \"public void pickUp() {\\n\\t\\t\\n\\t\\tItem item = Globals.items.getItemInTile(getLocation());\\n\\t\\tif(item != null && item.canCollect()) {\\n\\t\\t\\tint tempx = item.getX();\\n\\t\\t\\tint tempy = item.getY();\\n\\t\\t\\tif(inventory.add(item)) {\\n\\t\\t\\t\\tGlobals.items.remove(item);\\n\\t\\t\\t\\tGlobals.screenText.add(new ScreenText(item.getName(), new Vector2(tempx, tempy), Color.WHITE));\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"21dd734b8e57820949ab528549315894\",\n \"score\": \"0.57473063\",\n \"text\": \"private void storeInventory() {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c748efe71068dff391c92359cc95baba\",\n \"score\": \"0.57348603\",\n \"text\": \"@Override\\n public void openInventory() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e480e800a963e1f7e5e014258e79105\",\n \"score\": \"0.57314956\",\n \"text\": \"@Override\\n public boolean canEquip(EquipmentType type, ItemStack equipment) {\\n return false;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5ce46414221253ec39bf67b2215a513b\",\n \"score\": \"0.5719879\",\n \"text\": \"public static void pick_up() {\\n if (Human.instance.containsState(StateEnum.ISLEVIT)) {\\n return;\\n }\\n\\n Thing obj = Misc.find_obj(Global.player._t_pos);\\n if (Global.move_on) {\\n move_msg(obj);\\n } else {\\n if (obj instanceof Gold) {\\n Gold gold = (Gold) obj;\\n money(gold.getGold());\\n Global.lvl_obj.remove(gold);\\n update_mdest(gold);\\n Global.lvl_obj.remove(gold);\\n Human.instance.getRoom().r_goldval = 0;\\n } else {\\n add_pack(null, false);\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a884179e3df0b3abe7bba11e3958898\",\n \"score\": \"0.57025826\",\n \"text\": \"public void overRide(){\\r\\n\\t\\tfor(int i = slots.length - 1; i >= 0; i--){\\r\\n\\t\\t\\tif(slots[i].storedCard != null){\\r\\n\\t\\t\\t\\tslots[i].storedCard.setUsed(true);\\r\\n\\t\\t\\t\\tslots[i].storedCard.setMoveable(false);\\r\\n\\t\\t\\t\\tgame.getCompleteDoor().setEnabled(false);\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"25192d476dc2058aa05b6c55e44fec7b\",\n \"score\": \"0.56957513\",\n \"text\": \"@Override\\n\\tprotected void stateUpdate(long ms) {\\n\\n\\t\\t// Attacks\\n\\t\\tboolean basicAttackPressed = InputManager.getActionState(GameAction.BASIC_ATTACK);\\n\\t\\tboolean specialAttackPressed = InputManager.getActionState(GameAction.SPECIAL_ATTACK);\\n\\t\\tplayerAttack(ms, basicAttackPressed, specialAttackPressed);\\n\\n\\t\\tList skillKeys = new ArrayList<>();\\n\\t\\tskillKeys.add(0, justPressed(GameAction.SKILL_KEY_Q));\\n\\t\\tskillKeys.add(1, justPressed(GameAction.SKILL_KEY_E));\\n\\t\\tskillKeys.add(2, justPressed(GameAction.SKILL_KEY_R));\\n\\n\\t\\tskillKeys.add(3, justPressed(GameAction.SKILL_KEY_W));\\n\\n\\t\\t// Blake\\n\\t\\tboolean companionModePressed = justPressed(GameAction.CHANGE_MODE);\\n\\t\\tboolean companionUpgradePressed = justPressed(GameAction.UPGRADE_COMPANION);\\n\\t\\t// callum\\n\\t\\tskillState(skillKeys);\\n\\t\\tupdateRenderAngle();\\n\\t\\tplayerInput.updateGameInput();\\n\\t\\tmoveStateEntity(ms);\\n\\n\\t\\t// change weapons\\n\\t\\tweaponChange(Arrays.asList(justPressed(GameAction.WEAPON_ONE), justPressed(GameAction.WEAPON_TWO),\\n\\t\\t\\t\\tjustPressed(GameAction.WEAPON_THREE), justPressed(GameAction.WEAPON_FOUR),\\n\\t\\t\\t\\tjustPressed(GameAction.WEAPON_FIVE), justPressed(GameAction.WEAPON_SIX),\\n\\t\\t\\t\\tjustPressed(GameAction.WEAPON_SEVEN), justPressed(GameAction.WEAPON_EIGHT),\\n\\t\\t\\t\\tjustPressed(GameAction.WEAPON_NINE)));\\n\\n\\t\\t// add sprites for currently equipped weapons\\n\\t\\tif (equippedWeapon.getProjectileType() == ProjectileType.MELEE) {\\n\\t\\t\\tcommonSpriteSet.put(BodyPart.VOID, new AngledSpriteRelation(equippedWeapon.getSprite(), this,\\n\\t\\t\\t\\t\\tweaponRenderAngle, 0f, 0f, 0f, 0f, 0f, 0f));\\n\\t\\t} else {\\n\\t\\t\\tcommonSpriteSet.put(BodyPart.VOID, new AngledSpriteRelation(equippedWeapon.getSprite(), this,\\n\\t\\t\\t\\t\\tweaponRenderAngle, 0.40f, 0.6f, 1.0f, 1.0f, 0.2f, 0.090f));\\n\\t\\t}\\n\\t\\t// Companion Stuff\\n\\t\\tif (companionModePressed) {\\n\\t\\t\\tnewCompanion.setCompanionClass();\\n\\t\\t\\tif (!hasCompanion) {\\n\\t\\t\\t\\thasCompanion = true;\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\n\\t\\tif (companionUpgradePressed && this.getCommerce().getGold() > 300) {\\n\\t\\t\\tthis.getCommerce().reduceGold(300);\\n\\t\\t\\tnewCompanion.upgradeCompanion();\\n\\n\\t\\t}\\n\\n\\t\\tif (justPressed(GameAction.ACTIVATE_MOUNT)) {\\n\\t\\t\\tPlayerMountActions.toggleMount(this);\\n\\t\\t}\\n\\n\\n\\t\\tif (world.getTutorialMode() && !tutorial.checkCompletion()) {\\n\\t\\t\\tif (tutorial.tutorialPassed() || justPressed(GameAction.SKIP_TUTORIAL)) {\\n\\t\\t\\t\\ttutorial.nextCommand();\\n\\t\\t\\t} else {\\n\\t\\t\\t\\ttutorial.resendInstruction();\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"41bf054fbfc9a00a7db13c14af6d4c9f\",\n \"score\": \"0.5694055\",\n \"text\": \"public void select() {\\r\\n switch (mode) {\\r\\n case SHIP:\\r\\n mode = Mode.PART;\\r\\n break;\\r\\n case PART:\\r\\n int partSelection = partX + partY * PARTS_PER_ROW - PART_SHIFT;\\r\\n Tile tileBeingReplaced = Tile.findTile(playerRef.getSprite().getTiles(), shipX, shipY);\\r\\n int replacementPartPrice = 0;\\r\\n int replacementPartTotalPrice = 0;\\r\\n ShipPart partBeingReplaced = null;\\r\\n if (tileBeingReplaced != null) {\\r\\n partBeingReplaced = (ShipPart)tileBeingReplaced.getSprite();\\r\\n replacementPartPrice = + partBeingReplaced.getComputedPrice();\\r\\n replacementPartTotalPrice = partBeingReplaced.getPrice();\\r\\n }\\r\\n\\r\\n\\r\\n // buy part\\r\\n if (partSelection >= 0) {\\r\\n ShipPart shipPart = parts.get(partSelection);\\r\\n\\r\\n if (shipPart.getPrice() <= (playerRef.getMoney() + replacementPartPrice)) {\\r\\n playerRef.setMoney(playerRef.getMoney() + replacementPartPrice - shipPart.getPrice());\\r\\n mode = Mode.SHIP;\\r\\n // change/add ship part to local copy\\r\\n ship.removeTile(shipX, shipY);\\r\\n SimpleSprite sprite = factory.create(partSelection);\\r\\n Tile newTile = new Tile(shipX, shipY, sprite);\\r\\n ship.addTile(newTile);\\r\\n\\r\\n // change/add ship part to player reference\\r\\n playerRef.getSprite().removeTile(shipX, shipY);\\r\\n SimpleSprite sprite2 = factory.create(partSelection);\\r\\n playerRef.getSprite().addTile(shipX, shipY, sprite2);\\r\\n\\r\\n addExtensionPoints(newTile);\\r\\n\\r\\n }\\r\\n partX = 0;\\r\\n partY = 0;\\r\\n //repair part\\r\\n } else if (partBeingReplaced != null && (replacementPartTotalPrice - replacementPartPrice) > 0) {\\r\\n playerRef.setMoney(playerRef.getMoney() - (replacementPartTotalPrice - replacementPartPrice) );\\r\\n partBeingReplaced.reduceHealth(partBeingReplaced.getCurrentHealth() - partBeingReplaced.getTotalHealth());\\r\\n //part might have been dead, revalidate positions by setting position.\\r\\n playerRef.getSprite().revalidatePosition();\\r\\n ShipPart mirrorPart = (ShipPart)Tile.findTile(ship.getTiles(), shipX, shipY).getSprite();\\r\\n mirrorPart.reduceHealth(partBeingReplaced.getCurrentHealth() - partBeingReplaced.getTotalHealth());\\r\\n partX = 0;\\r\\n partY = 0;\\r\\n for (Tile t: playerRef.getSprite().getTiles()) {\\r\\n System.out.println(t + \\\", \\\");\\r\\n }\\r\\n }\\r\\n\\r\\n break;\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"de91ac5ef3542e59e4f5e3ec154b4acc\",\n \"score\": \"0.56939477\",\n \"text\": \"public boolean a(EntityPlayer paramahd, int paramInt)\\r\\n/* 163: */ {\\r\\n/* 164:197 */ ItemStack localamj1 = this.a.get(0);\\r\\n/* 165:198 */ ItemStack localamj2 = this.a.get(1);\\r\\n/* 166: */ \\r\\n/* 167:200 */ int m = paramInt + 1;\\r\\n/* 168:202 */ if (((localamj2 == null) || (localamj2.stackSize < m)) && (!paramahd.abilities.instabuild)) {\\r\\n/* 169:203 */ return false;\\r\\n/* 170: */ }\\r\\n/* 171:205 */ if ((this.g[paramInt] > 0) && (localamj1 != null) && (((paramahd.bz >= m) && (paramahd.bz >= this.g[paramInt])) || (paramahd.abilities.instabuild)))\\r\\n/* 172: */ {\\r\\n/* 173:206 */ if (!this.i.isClient)\\r\\n/* 174: */ {\\r\\n/* 175:207 */ List localList = a(localamj1, paramInt, this.g[paramInt]);\\r\\n/* 176:208 */ int n = localamj1.getItem() == ItemList.book ? 1 : 0;\\r\\n/* 177:210 */ if (localList != null)\\r\\n/* 178: */ {\\r\\n/* 179:211 */ paramahd.b(m);\\r\\n/* 180:212 */ if (n != 0) {\\r\\n/* 181:213 */ localamj1.a(ItemList.enchantedBook);\\r\\n/* 182: */ }\\r\\n/* 183:216 */ for (int i1 = 0; i1 < localList.size(); i1++)\\r\\n/* 184: */ {\\r\\n/* 185:217 */ WeightedRandomItemEnchantment localapo = (WeightedRandomItemEnchantment)localList.get(i1);\\r\\n/* 186:219 */ if (n != 0) {\\r\\n/* 187:220 */ ItemList.enchantedBook.addEnchantment(localamj1, localapo);\\r\\n/* 188: */ } else {\\r\\n/* 189:222 */ localamj1.a(localapo.enchantment, localapo.level);\\r\\n/* 190: */ }\\r\\n/* 191: */ }\\r\\n/* 192:227 */ if (!paramahd.abilities.instabuild)\\r\\n/* 193: */ {\\r\\n/* 194:228 */ localamj2.stackSize -= m;\\r\\n/* 195:229 */ if (localamj2.stackSize <= 0) {\\r\\n/* 196:230 */ this.a.a(1, null);\\r\\n/* 197: */ }\\r\\n/* 198: */ }\\r\\n/* 199:233 */ this.a.o_();\\r\\n/* 200:234 */ this.f = paramahd.ci();\\r\\n/* 201:235 */ a(this.a);\\r\\n/* 202: */ }\\r\\n/* 203: */ }\\r\\n/* 204:238 */ return true;\\r\\n/* 205: */ }\\r\\n/* 206:240 */ return false;\\r\\n/* 207: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a999600339af5770c7681693356c2a32\",\n \"score\": \"0.56896514\",\n \"text\": \"public void activate ()\\n {\\n Timeslot current = timeslotRepo.currentTimeslot();\\n log.info(\\\"activate: timeslot \\\" + current.getSerialNumber());\\n \\n // In the first timeslot, we buy a fixed amount because we have no\\n // usage record. Note that this gets called after a timeslot update, but\\n // before the sim clock is updated. However the \\\"current timeslot\\\" is\\n // the one in which the most recent energy usage was recorded.\\n //if (current.getSerialNumber() == 0) {\\n // for (Timeslot timeslot : timeslotRepo.enabledTimeslots()) {\\n // submitShout(initialBidKWh, timeslot);\\n // }\\n //}\\n \\n // In the first through 23rd timeslot, we buy enough to meet what was\\n // used in the previous timeslot. Note that this is called after the\\n // customer model has run in the current timeslot, for a market clearing\\n // at the beginning of the following timeslot.\\n if (current.getSerialNumber() < 24) {\\n // we already have usage data for the current timeslot.\\n double currentKWh = collectUsage(current.getSerialNumber());\\n double neededKWh = 0.0;\\n for (Timeslot timeslot : timeslotRepo.enabledTimeslots()) {\\n // use data already collected if we have it, otherwise use data from\\n // the current timeslot.\\n int index = (timeslot.getSerialNumber()) % 24;\\n double historicalKWh = collectUsage(index);\\n if (historicalKWh != 0.0)\\n neededKWh = historicalKWh;\\n else\\n neededKWh = currentKWh;\\n // subtract out the current market position, and we know what to\\n // buy or sell\\n submitShout(neededKWh, timeslot);\\n }\\n }\\n \\n // Once we have 24 hours of records, assume we need enough to meet \\n // what we used 24 hours earlier\\n else if (current.getSerialNumber() <= usageRecordLength) {\\n double neededKWh = 0.0;\\n for (Timeslot timeslot : timeslotRepo.enabledTimeslots()) {\\n int index = (timeslot.getSerialNumber()) % 24;\\n neededKWh = collectUsage(index);\\n submitShout(neededKWh, timeslot);\\n } \\n }\\n \\n // Finally, once we have a full week of records, we use the data for\\n // the hour and day-of-week.\\n else {\\n double neededKWh = 0.0;\\n for (Timeslot timeslot : timeslotRepo.enabledTimeslots()) {\\n int index = (timeslot.getSerialNumber()) % usageRecordLength;\\n neededKWh = collectUsage(index);\\n submitShout(neededKWh, timeslot);\\n } \\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"06d1354242bacb0662ba40f20bb6ffc3\",\n \"score\": \"0.5669216\",\n \"text\": \"@Override\\n public void onEquipped(String identifier, LivingEntity entityLivingBase) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"858fc46fc11660b9690d2ad77821e8e1\",\n \"score\": \"0.5661493\",\n \"text\": \"public void equip(Weapon weapon)\\n {\\n boolean inInventory = false;\\n\\n for(int i = 0; i < inventory.size(); i++)\\n {\\n if(weapon.getName().equals(inventory.get(i).getName()))\\n {\\n inInventory = true;\\n }\\n }\\n\\n if(inInventory)\\n {\\n if (currentWeapon.getName().equals(\\\"Fists\\\"))\\n {\\n currentWeapon = weapon;\\n weaponDamage = currentWeapon.getDamage();\\n currentWeapon.setEquipped(true);\\n if (name.equals(\\\"Player\\\"))\\n {\\n System.out.println(\\\"You equipped a \\\" + weapon.getName());\\n }\\n }\\n else\\n {\\n unequip(currentWeapon);\\n equip(weapon);\\n }\\n\\n weapon.setEquipped(true);\\n }\\n else\\n {\\n System.out.println(\\\"You don't have this item\\\");\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c97b25e089d0811be73c4d6dac263b9b\",\n \"score\": \"0.5658548\",\n \"text\": \"private void equipItem(Command command) { \\n if (!command.hasSecondWord()) {\\n System.out.println(\\\"Equip what?\\\");\\n }else{\\n String itemName = command.getRestOfLine();\\n Item item = null;\\n item = player.getItem(itemName);\\n if (item != null) {\\n if (item instanceof Weapon) {\\n Weapon equippedWeapon = (Weapon)item;\\n boolean returnStatement = player.setEquippedWeapon(equippedWeapon);\\n if (returnStatement == true) {\\n System.out.println(\\\"You equipped the \\\" + equippedWeapon.getName());\\n } \\n }\\n if (item instanceof Armor) {\\n Armor equippedArmor = (Armor)item;\\n boolean returnStatement = player.setEquippedArmor(equippedArmor);\\n if (returnStatement == true) {\\n System.out.println(\\\"You equipped the \\\" + equippedArmor.getName());\\n }\\n }\\n }else{\\n System.out.println(\\\"You do not have a \\\" + itemName);\\n }\\n } \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1492c68a0a9956bde6af636267458096\",\n \"score\": \"0.5649621\",\n \"text\": \"@Override\\n public boolean giveItem(InventoryClickEvent event){\\n ItemStack item = event.getCurrentItem();\\n Inventory inventory = event.getWhoClicked().getInventory();\\n if(item.getType().equals(Material.ARROW)){\\n ItemStack arrow = new ItemStack(Material.ARROW, 8);\\n inventory.addItem(arrow);\\n } else if(item.getType().equals(Material.DIAMOND)) {\\n //expanse fund\\n int expanseFund = data.getConfig().getInt(\\\"world.expanseFund\\\");\\n int expanseLevel = data.getConfig().getInt(\\\"world.expanseLevel\\\");\\n expanseFund -= 5;\\n if(expanseFund <= 0){\\n //expand land\\n expandLand((Player) event.getWhoClicked());\\n expanseFund = expansePrice[expanseLevel+1];\\n data.getConfig().set(\\\"world.expanseLevel\\\", expanseLevel+1);\\n }\\n data.getConfig().set(\\\"world.expanseFund\\\", expanseFund);\\n data.saveConfig();\\n updateExpanseFund(event);\\n updateLectrum(event);\\n } else if(item.getType().equals(Material.PAPER)) {\\n Player player = (Player) event.getWhoClicked();\\n long oldLicense = data.getConfig().getLong(\\\"players.\\\"+player.getUniqueId().toString()+\\\".alcoholLicenseExpiration\\\");\\n if(oldLicense > player.getWorld().getGameTime()){\\n player.sendMessage(ChatColor.RED+\\\"You already have a valid license.\\\");\\n } else {\\n player.sendMessage(ChatColor.GOLD+\\\"You now possess a valid alcohol license.\\\");\\n player.sendMessage(ChatColor.GOLD+\\\"Will expire in seven (minecraft) days.\\\");\\n data.getConfig().set(\\\"players.\\\"+player.getUniqueId().toString()+\\\".alcoholLicenseExpiration\\\", player.getWorld().getGameTime()+168000);\\n data.saveConfig();\\n }\\n } else {\\n ItemStack newItem = item.clone();\\n ItemMeta meta = newItem.getItemMeta();\\n List lore = meta.getLore();\\n lore.remove(lore.size()-1);\\n meta.setLore(lore);\\n meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);\\n newItem.setItemMeta(meta);\\n inventory.addItem(newItem);\\n }\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"07b6be776da28a96a907d9e414e7a4d0\",\n \"score\": \"0.563802\",\n \"text\": \"void itemStart(){\\n GreaterRestorative greaterRestorative= new GreaterRestorative();\\n gameControl.itemHashMap.put(greaterRestorative.getName(), greaterRestorative);\\n LargeHPPotion largeHPPotion = new LargeHPPotion();\\n gameControl.itemHashMap.put(largeHPPotion.getName(), largeHPPotion);\\n LargeMPPotion largeMPPotion = new LargeMPPotion();\\n gameControl.itemHashMap.put(largeMPPotion.getName(), largeMPPotion);\\n LesserRestorative lesserRestorative = new LesserRestorative();\\n gameControl.itemHashMap.put(lesserRestorative.getName(), lesserRestorative);\\n MediumHPPotion mediumHPPotion = new MediumHPPotion();\\n gameControl.itemHashMap.put(mediumHPPotion.getName(), mediumHPPotion);\\n MediumMPPotion mediumMPPotion = new MediumMPPotion();\\n gameControl.itemHashMap.put(mediumMPPotion.getName(), mediumMPPotion);\\n SmallHPPotion smallHPPotion = new SmallHPPotion();\\n gameControl.itemHashMap.put(smallHPPotion.getName(), smallHPPotion);\\n SmallMPPotion smallMPPotion = new SmallMPPotion();\\n gameControl.itemHashMap.put(smallMPPotion.getName(), smallMPPotion);\\n gameControl.itemHashMap.put(\\\"Mystic Hourglass\\\", new MysticHourglass(gameControl));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da306c1a69dbc5ab9f84f9b51b2a2d22\",\n \"score\": \"0.5633202\",\n \"text\": \"private void seated() {\\n\\t\\tcustomerGui.setMenuCopy();\\n\\t\\tList menuItems = menu.getAllFoodNames();\\n\\t\\tList affordableItems = new ArrayList();\\n\\t\\tfor (String s : menuItems) {\\n\\t\\t\\tdouble price = menu.getPrice(s);\\n\\t\\t\\tdouble money = ((PeopleAgent)myPerson).Money;\\n\\t\\t\\tif (money >= price) {\\n\\t\\t\\t\\taffordableItems.add(s);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif (affordableItems.isEmpty() || menu.getAllFoodNames().isEmpty()) {\\n\\t\\t\\tprint(\\\"Screw it. I'm leaving!\\\");\\n\\t\\t\\tevent = AgentEvent.abruptlyLeaving;\\n\\t\\t\\tleaveOption = false;\\n\\t\\t}\\n\\t\\telse {\\n\\t\\t\\tRandom generator = new Random();\\n\\t\\t\\tint num = generator.nextInt(affordableItems.size());\\n\\t\\t\\tchoice = affordableItems.get(num);\\n\\t\\t\\tevent = AgentEvent.orderDecided;\\n\\t\\t\\tprint(\\\"My choice is \\\" + choice);\\n\\t\\t\\tleaveOption = false;\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a3ccfa36192f9668fdd5a07ac772ef9a\",\n \"score\": \"0.5632623\",\n \"text\": \"private void ensureValidSelections()\\r\\n\\t{\\n\\t\\tif ( KoLmafia.isRefreshing() )\\r\\n\\t\\t{\\r\\n\\t\\t\\treturn;\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\tAdventureResult hatItem = (AdventureResult) this.equipment[ EquipmentManager.HAT ].getSelectedItem();\\r\\n\\t\\tAdventureResult currentHat = EquipmentManager.getEquipment( EquipmentManager.HAT );\\r\\n\\t\\tif ( hatItem == null )\\r\\n\\t\\t{\\r\\n\\t\\t\\thatItem = currentHat;\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\tList hatItems = this.validHatItems( currentHat );\\r\\n\\t\\tthis.updateEquipmentList( this.hats, hatItems, hatItem );\\r\\n\\r\\n\\t\\tAdventureResult pantsItem = (AdventureResult) this.equipment[ EquipmentManager.PANTS ].getSelectedItem();\\r\\n\\t\\tAdventureResult currentPants = EquipmentManager.getEquipment( EquipmentManager.PANTS );\\r\\n\\t\\tif ( pantsItem == null )\\r\\n\\t\\t{\\r\\n\\t\\t\\tpantsItem = currentPants;\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\tList pantsItems = this.validPantsItems( currentPants );\\r\\n\\t\\tthis.updateEquipmentList( this.pants, pantsItems, pantsItem );\\r\\n\\r\\n\\t\\tthis.equipment[ EquipmentManager.SHIRT ].setEnabled( this.isEnabled && KoLCharacter.hasSkill( \\\"Torso Awaregness\\\" ) );\\r\\n\\r\\n\\t\\tAdventureResult weaponItem = (AdventureResult) this.equipment[ EquipmentManager.WEAPON ].getSelectedItem();\\r\\n\\t\\tAdventureResult currentWeapon = EquipmentManager.getEquipment( EquipmentManager.WEAPON );\\r\\n\\t\\tif ( weaponItem == null )\\r\\n\\t\\t{\\r\\n\\t\\t\\tweaponItem = currentWeapon;\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\tList weaponItems = this.validWeaponItems( currentWeapon );\\r\\n\\t\\tthis.updateEquipmentList( this.weapons, weaponItems, weaponItem );\\r\\n\\r\\n\\t\\tint weaponHands = EquipmentDatabase.getHands( weaponItem.getName() );\\r\\n\\t\\tif ( weaponHands > 1 )\\r\\n\\t\\t{\\r\\n\\t\\t\\t// Equipping 2 or more handed weapon: nothing in off-hand\\r\\n\\t\\t\\tthis.equipment[ EquipmentManager.OFFHAND ].setSelectedItem( EquipmentRequest.UNEQUIP );\\r\\n\\t\\t\\tthis.equipment[ EquipmentManager.OFFHAND ].setEnabled( false );\\r\\n\\t\\t}\\r\\n\\t\\telse\\r\\n\\t\\t{\\r\\n\\t\\t\\tAdventureResult offhandItem = (AdventureResult) this.equipment[ EquipmentManager.OFFHAND ].getSelectedItem();\\r\\n\\t\\t\\tAdventureResult currentOffhand = EquipmentManager.getEquipment( EquipmentManager.OFFHAND );\\r\\n\\t\\t\\tif ( offhandItem == null )\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\toffhandItem = currentOffhand;\\r\\n\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\tif ( EquipmentDatabase.getHands( offhandItem.getName() ) > 0 )\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\t// Weapon in offhand. Must have compatible\\r\\n\\t\\t\\t\\t// weapon in weapon hand\\r\\n\\t\\t\\t\\tif ( weaponHands == 0 || EquipmentDatabase.getWeaponType( weaponItem.getName() ) != EquipmentDatabase.getWeaponType( offhandItem.getName() ) )\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\toffhandItem = EquipmentRequest.UNEQUIP;\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\tList offhandItems = this.validOffhandItems( weaponItem, offhandItem );\\r\\n\\t\\t\\tthis.updateEquipmentList( this.offhands, offhandItems, offhandItem );\\r\\n\\t\\t\\tthis.equipment[ EquipmentManager.OFFHAND ].setEnabled( this.isEnabled );\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\tFamiliarData currentFamiliar = KoLCharacter.getFamiliar();\\r\\n\\t\\tFamiliarData selectedFamiliar = (FamiliarData) this.familiars.getSelectedItem();\\r\\n\\t\\tif ( selectedFamiliar == null )\\r\\n\\t\\t{\\r\\n\\t\\t\\tselectedFamiliar = currentFamiliar;\\r\\n\\t\\t}\\r\\n\\t\\tList familiars = this.validFamiliars( currentFamiliar );\\r\\n\\t\\tthis.updateEquipmentList( this.familiars, familiars, selectedFamiliar );\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3c26a50fae25af76112c8e7a2dc217c9\",\n \"score\": \"0.5628423\",\n \"text\": \"public abstract boolean usedInBattle();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bb238c88f96744ef67a58097fb42729d\",\n \"score\": \"0.5615136\",\n \"text\": \"@Override\\n public void useWeapon() {\\n System.out.println(\\\"Corta com uma espada!\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b3e7a4f3128a2649b694f70c8ed3d5d3\",\n \"score\": \"0.5614053\",\n \"text\": \"public void equipItem(int itemIndex) {\\r\\n\\t\\t//System.out.println(\\\"TEST 1: ITEM INDEX=\\\"+itemIndex);\\r\\n\\t\\tif(itemIndex>=0&&itemIndex this.maxcarry) {\\n int sizeofpeaches1=this.peaches.size();\\n dropPeaches(sizeofpeaches1 - this.maxcarry); //drop peaches to the max available number.\\n System.out.println(\\\"##Action:\\\"+this.name+\\\" dropped \\\"+String.valueOf(sizeofpeaches1 - this.maxcarry)+\\\" peaches at \\\"+this.getLocation()+\\\" due to low HP.\\\" );\\n }\\n } else{\\n this.maxcarry=100;\\n if (this.getHealth()<70){\\n eatPeach();\\n }\\n }\\n // Location active action check\\n System.out.println(\\\" \\\"+this.getName()+\\\" has \\\"+this.peaches.size()+\\\" peaches.\\\" );\\n if(this.getLocation().property.equals(\\\"Home\\\")){ //if at Home\\n int sizeofpeaches2=this.peaches.size();\\n if (sizeofpeaches2==0){ //if no peaches ,then go to find grove\\n moveOneStep(goGrove());\\n return;\\n }else {\\n dropPeaches(sizeofpeaches2); //else drop all peaches\\n if (((Home)(this.getLocation())).peaches_track.containsKey(this.getName())==false){\\n ((Home)(this.getLocation())).peaches_track.put(this.getName(),sizeofpeaches2); //set a new record\\n } else { int pre_record=((Home)(this.getLocation())).peaches_track.get(this.getName()); //get the previous stored peaches record of this hunter\\n ((Home)(this.getLocation())).peaches_track.put(this.getName(),pre_record+sizeofpeaches2); //add new peaches number to this record.\\n }\\n int sum=((Home)(this.getLocation())).peaches_track.get(\\\"SUM\\\");\\n ((Home)(this.getLocation())).peaches_track.put(\\\"SUM\\\",sum+sizeofpeaches2);\\n return;\\n }\\n } else if(this.getLocation().property.equals(\\\"PeachGrove\\\")) {\\n if (this.getterOfGrovevisit(this.getLocation())==null) {\\n grove_visits.add(new GroveVisit((PeachGrove) (this.getLocation()), ((PeachGrove) (this.getLocation())).getterOfPeachesAtTree().size() <= 0)); //add this grove to the record of this hunter\\n }else{\\n getterOfGrovevisit(this.getLocation()).runout=(((PeachGrove) (this.getLocation())).getterOfPeachesAtTree().size() <= 0);\\n }\\n if (this.peaches.size() >= 50 ||this.peaches.size() >= maxcarry) { //if carrying enough peaches or cannot carry any more\\n moveOneStep(goHome());\\n return;\\n } else if(((PeachGrove)(this.getLocation())).getterOfPeachesAtTree().size()<=0){//if the Grove runs out,and hunter can carry more\\n moveOneStep(goGrove());\\n return;\\n }else{\\n pickPeachesAtTree(); //if not enough peaches carried with the hunter //if have peaches,pick peaches}\\n return;\\n }\\n } else if (this.getLocation().property.equals(\\\"PeachPit\\\")){\\n this.pickPeachesAtLocation();\\n if (this.peaches.size() >= 50 ||this.peaches.size() >= maxcarry) {//if carrying enough peaches or cannot carry any more\\n moveOneStep(goHome());\\n return;\\n } else {\\n moveOneStep(goGrove());\\n return;\\n }\\n } else { //if elsewhere\\n if (this.peaches.size() >= 50 ||this.peaches.size() >= maxcarry) {\\n moveOneStep(goHome());\\n return;\\n } else {\\n moveOneStep(goGrove());\\n return;\\n }\\n }\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eb25bf5e724a1962b91bdd0bf3061e08\",\n \"score\": \"0.55471253\",\n \"text\": \"public String equip(EquipmentCard equipmentItem) {\\n\\t\\tString unequipReason = equipmentItem.equip(this);\\n\\t\\tEquipmentCard cheatingCard = getCheatingItemCard();\\n\\t\\t\\n\\t\\t// determine if player is able to equip item based on type of equipment and worn equipment\\n\\t\\t// ignore any items the player has connected with a cheat card; if applicable\\n\\t\\tEquipmentType type = equipmentItem.getEquipmentType();\\n\\t\\tif (unequipReason.equals(\\\"\\\") && type != EquipmentType.OTHER && equipmentItem != cheatingCard) {\\n\\t\\t\\tif (type == EquipmentType.ONE_HAND || type == EquipmentType.TWO_HANDS) {\\n\\t\\t\\t\\tint numHandsFull = 0;\\n\\t\\t\\t\\tfor (EquipmentCard item : equippedItems) {\\n\\t\\t\\t\\t\\tif (item != equipmentItem && item != cheatingCard) {\\n\\t\\t\\t\\t\\t\\tif (item.getEquipmentType() == EquipmentType.ONE_HAND)\\n\\t\\t\\t\\t\\t\\t\\tnumHandsFull += 1;\\n\\t\\t\\t\\t\\t\\telse if (item.getEquipmentType() == EquipmentType.TWO_HANDS)\\n\\t\\t\\t\\t\\t\\t\\tnumHandsFull += 2;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tif (type == EquipmentType.ONE_HAND && numHandsFull >= 2)\\n\\t\\t\\t\\t\\tunequipReason = \\\"Your hands are full.\\\";\\n\\t\\t\\t\\telse if (type == EquipmentType.TWO_HANDS && numHandsFull > 0)\\n\\t\\t\\t\\t\\tunequipReason = \\\"You don't have two free hands.\\\";\\n\\t\\t\\t}\\n\\t\\t\\telse {\\n\\t\\t\\t\\tfor (EquipmentCard item : equippedItems) {\\n\\t\\t\\t\\t\\tif (item != equipmentItem && item != cheatingCard) {\\n\\t\\t\\t\\t\\t\\tif (type == item.getEquipmentType()) {\\n\\t\\t\\t\\t\\t\\t\\tunequipReason = \\\"You are already wearing \\\" + type + \\\".\\\";\\n\\t\\t\\t\\t\\t\\t\\tbreak;\\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\\t\\t\\n\\t\\t// Puts the equipment in the correct equipped/unequipped list depending on if it was able to be equipped or not\\n\\t\\tif (unequipReason.equals(\\\"\\\")) {\\n\\t\\t\\tif (unequippedItems.remove(equipmentItem))\\n\\t\\t\\t\\tequippedItems.add(equipmentItem);\\n\\t\\t}\\n\\t\\telse {\\n\\t\\t\\tif (equippedItems.remove(equipmentItem))\\n\\t\\t\\t\\tunequippedItems.add(equipmentItem);\\n\\t\\t}\\n\\t\\t\\n\\t\\tsetChanged();\\n\\t\\tnotifyObservers();\\n\\t\\t\\n\\t\\treturn unequipReason;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"74dda31e6b1f2df79fbbcadbb84cb87c\",\n \"score\": \"0.5532202\",\n \"text\": \"public Item getItem() {\\n\\t\\treturn equipped;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e761b5974a2649a6f0051b9150459b60\",\n \"score\": \"0.55236286\",\n \"text\": \"@Override\\n public boolean activate() {\\n return (ctx.players.local().animation() == -1\\n && Helper.actualFishCount(ctx.inventory.select().id(ITEM.RAW_SHRIMP).count()) > 0)\\n && ctx.inventory.count() < 28;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1d29f841cea205b0fbf219d0f7ae5c0c\",\n \"score\": \"0.5522469\",\n \"text\": \"@Override\\n\\tpublic void vegItems() {\\n\\t\\tSystem.out.println(\\\"Available\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"85455fcfecaeb2635ec2a991d2e28f2a\",\n \"score\": \"0.5515713\",\n \"text\": \"public void addEquipable(Equipable e, Protagonista person) {\\n boolean agregado = false;\\n if (e instanceof AbstractCasco) {//Si es un casco... \\n if (equipo.getCasco() == null) {//si no tiene casco en el equipo\\n equipo.equiparCasco(person, (AbstractCasco) e);\\n agregado = true;\\n }\\n } else if (e instanceof AbstractPecho) {//Si es una pechera...\\n if (equipo.getPecho() == null) {\\n equipo.equiparPecho(person, (AbstractPecho) e);\\n agregado = true;\\n }\\n } else if (e instanceof AbstractBotas) {//Si son botas\\n if (equipo.getBotas() == null) {\\n //Utiles.Print(\\\"botas es null\\\", this);\\n equipo.equiparBotas(person, (AbstractBotas) e);\\n agregado = true;\\n }\\n } else if (e instanceof AbstractGuantes) {//Si son guantes\\n if (equipo.getGuantes() == null) {\\n equipo.equiparGuantes(person, (AbstractGuantes) e);\\n agregado = true;\\n }\\n } else if (e instanceof Arma) {//Si es arma\\n if (equipo.getArma() == null) {\\n equipo.equiparArma(person, (Arma) e);\\n agregado = true;\\n\\n }\\n\\n }\\n\\n if (agregado) {\\n listener.equipableAgregadoAlEquipo(e);\\n e.cogerItem();\\n if (e.getMejora() != null) {//hay equipo que no tiene mejoras, y esta a null\\n person.getMejoras().add(e.getMejora().getTipo(), e.getMejora()); // agrega la mejora al personaje\\n }\\n if (e instanceof Arma) {\\n person.addPersonajeListener((Arma) e);//Pasa al arma los eventos del personaje\\n }\\n } else {\\n if (inventario.addEquipable(e)) { // lo intenta agregar al inventario\\n e.cogerItem();\\n listener.itemAgregadoAlInventario(e);\\n }\\n }\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f98dd918cd2cde3e8b90867d1f273c2b\",\n \"score\": \"0.551215\",\n \"text\": \"public int getSizeInventory() {\\n/* 294 */ return 1;\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"77a7d71b825de09562e3709adaf56324\",\n \"score\": \"0.55111253\",\n \"text\": \"public void pickUp()\\n {\\n List items = getObjectsInRange(30, Items.class); \\n for(int i = 0; i < items.size(); i++){\\n items.get(i).activate();\\n world.removeObject(items.get(i));\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"06c448f0654e02d0e2a9be6b92ac1f0d\",\n \"score\": \"0.5501214\",\n \"text\": \"public void updateInventory() {\\n\\n //reset the data of the gui\\n for (int y = 0; y < inventory.length; y++) {\\n for (int x = 0; x < inventory[y].length; x++) {\\n inventory[y][x].setData(null);\\n }\\n }\\n Array pInventory = equipComp.get(player.getEntity()).inventory;\\n\\n //set the data based on what the entity is holding\\n for (int i = 0; i < pInventory.size; i++) {\\n int y = i / inventorySize;\\n int x = i % inventorySize;\\n\\n\\n inventory[y][x].setData(pInventory.get(i));\\n\\n\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"36385ebbe00cf50d8e74efe60a147e5d\",\n \"score\": \"0.549647\",\n \"text\": \"public Pokemon getActive(){return Active;}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"525f130746882756c3960cecbb40f0b4\",\n \"score\": \"0.54893506\",\n \"text\": \"@Override\\n protected Item bought() {\\n return new PterodactylEgg();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f19d10b54543aa7a26543ceab9adfab4\",\n \"score\": \"0.5482616\",\n \"text\": \"@Override\\n\\tpublic void giveItem () {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cb305280b26e6f0e8d058ec0dac36322\",\n \"score\": \"0.5465583\",\n \"text\": \"public void setItems() {\\r\\n\\t\\tplayer.getInventory().clear();\\r\\n\\t\\t\\r\\n\\t\\tif (realm == Realm.HUB) {\\r\\n\\t\\t\\t//Menu\\r\\n\\t\\t\\tHubMenu hubMenu = new HubMenu();\\r\\n\\t\\t\\tItemStack hm = hubMenu.give();\\r\\n\\t\\t\\tplayer.getInventory().setItem(4, hm);\\r\\n\\t\\t\\tplayer.getInventory().setHeldItemSlot(4);\\r\\n\\t\\t} else if (realm == Realm.KITPVP) {\\r\\n\\t\\t\\t//Return to hub\\r\\n\\t\\t\\tReturnToHub returnToHub = new ReturnToHub();\\r\\n\\t\\t\\tplayer.getInventory().setItem(8, returnToHub.give());\\r\\n\\t\\t\\t//Select kit\\r\\n\\t\\t\\tKitSelector selectKit = new KitSelector(Realm.KITPVP);\\r\\n\\t\\t\\tplayer.getInventory().setItem(7, selectKit.give());\\r\\n\\t\\t\\t//Sword\\r\\n\\t\\t\\tItemStack sword = new ItemStack(Material.IRON_SWORD);\\r\\n\\t\\t\\tsword.addEnchantment(Enchantment.DAMAGE_ALL, 1);\\r\\n\\t\\t\\tplayer.getInventory().setItem(0, sword);\\r\\n\\t\\t\\tplayer.getInventory().setHeldItemSlot(0);\\r\\n\\t\\t\\t//Golden Apples\\r\\n\\t\\t\\tItemStack goldenApples = new ItemStack(Material.ENCHANTED_GOLDEN_APPLE,1);\\r\\n\\t\\t\\tplayer.getInventory().setItem(1, goldenApples);\\r\\n\\t\\t\\t//Armor\\r\\n\\t\\t\\tItemStack[] armor = {\\r\\n\\t\\t\\t\\tnew ItemStack(Material.IRON_BOOTS),\\r\\n\\t\\t\\t\\tnew ItemStack(Material.IRON_LEGGINGS),\\r\\n\\t\\t\\t\\tnew ItemStack(Material.IRON_CHESTPLATE),\\r\\n\\t\\t\\t\\tnew ItemStack(Material.IRON_HELMET)\\r\\n\\t\\t\\t};\\r\\n\\t\\t\\tarmor[0].addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);\\r\\n\\t\\t\\tarmor[1].addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);\\r\\n\\t\\t\\tarmor[2].addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);\\r\\n\\t\\t\\tarmor[3].addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);\\r\\n\\t\\t\\tplayer.getInventory().setArmorContents(armor);\\r\\n\\t\\t} else if (realm == Realm.STEPSPLEEF) {\\r\\n\\t\\t\\tGameHandling gh = mainInstance.getGameInstance();\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tfor (StepSpleef game : gh.getStepSpleefGames()) {\\r\\n\\t\\t\\t\\tif (game.isInServer(player)) {\\r\\n\\t\\t\\t\\t\\tif (game.isGameActive()) {\\r\\n\\t\\t\\t\\t\\t\\t//Select player\\r\\n\\t\\t\\t\\t\\t\\tPlayerSelector selectPlayer = new PlayerSelector(mainInstance,Realm.STEPSPLEEF,player);\\r\\n\\t\\t\\t\\t\\t\\tplayer.getInventory().setItem(4, selectPlayer.give());\\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\\t//Return to hub\\r\\n\\t\\t\\tReturnToHub returnToHub = new ReturnToHub();\\r\\n\\t\\t\\tplayer.getInventory().setItem(8, returnToHub.give());\\r\\n\\t\\t} else if (realm == Realm.SKYWARS) {\\r\\n\\t\\t\\tGameHandling gh = mainInstance.getGameInstance();\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tfor (SkyWars game : gh.getSkyWarsGames()) {\\r\\n\\t\\t\\t\\tif (game.isInServer(player)) {\\r\\n\\t\\t\\t\\t\\tif (game.isGameActive()) {\\r\\n\\t\\t\\t\\t\\t\\t//Select player\\r\\n\\t\\t\\t\\t\\t\\tPlayerSelector selectPlayer = new PlayerSelector(mainInstance,Realm.SKYWARS,player);\\r\\n\\t\\t\\t\\t\\t\\tplayer.getInventory().setItem(4, selectPlayer.give());\\r\\n\\t\\t\\t\\t\\t} else {\\r\\n\\t\\t\\t\\t\\t\\t//Select kit\\r\\n\\t\\t\\t\\t\\t\\tKitSelector selectKit = new KitSelector(Realm.SKYWARS);\\r\\n\\t\\t\\t\\t\\t\\tplayer.getInventory().setItem(4, selectKit.give());\\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\\t//Return to hub\\r\\n\\t\\t\\tReturnToHub returnToHub = new ReturnToHub();\\r\\n\\t\\t\\tplayer.getInventory().setItem(8, returnToHub.give());\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1e7a1176c7f1f99ac5afc2be2ad655b2\",\n \"score\": \"0.54602283\",\n \"text\": \"public void updateWeapons() {\\n\\t\\tfor (int i = 0; i < 4; i++) {\\n\\t\\t\\tString id = inv.getItemID(\\\"Active Inventory\\\", i);\\n\\t\\t\\tactiveWeapons.set(i, id);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a86947440f26bd887b0693ca36a40ee6\",\n \"score\": \"0.54562217\",\n \"text\": \"private Inventory getInventory() {\\n\\t\\tHashSet resources = new HashSet();\\n\\t\\tresources.add(this.gatherType);\\n\\t\\tInventory inventory = new Inventory(resources);\\n\\t\\tinventory.updateQuantity(this.gatherType, this.gatherCount);\\n\\t\\treturn inventory;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"69ade76a69c0f6c07e66b5d0e5136eb3\",\n \"score\": \"0.5455882\",\n \"text\": \"@Override\\r\\n\\tpublic void grabar() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"89833bcd2dd4044320ed1df50f075350\",\n \"score\": \"0.54471105\",\n \"text\": \"@Override\\n void prepare() {\\n setName(\\\"Maximum Efford\\\");\\n System.out.println(\\\"Preparing \\\" + getName());\\n display = phoneIngredientFactory.create_display();\\n display.setSize(\\\"5.5 inches\\\");\\n battery = phoneIngredientFactory.create_battery();\\n battery.setPower(\\\"27h,3600mAh\\\");\\n cpu_ram = phoneIngredientFactory.create_cpu_ram();\\n cpu_ram.setFeatures(\\\"2.8GHz,8GB\\\");\\n storage = phoneIngredientFactory.create_storage();\\n storage.setSize(\\\"MicroSD support, 64GB\\\");\\n camera = phoneIngredientFactory.create_camera();\\n camera.setFeatures(\\\"12Mp front, 8Mp rear\\\");\\n aCase = phoneIngredientFactory.create_case();\\n aCase.setFeatures(\\\"151x73x7.7 mm / dustproof,/ waterproof,/aluminum\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7e0cef9a29015d4d80e5440201b375ea\",\n \"score\": \"0.5444413\",\n \"text\": \"public void viewItem() throws IOException \\n\\t{\\n\\t\\t// get all items the player has in its inventory\\n\\t\\tArrayList items = Game.getHero().getPlayerInventory();\\n\\t\\t//check to see if the players inventory is empty if so leave stop.\\n\\t\\tif(items.isEmpty())\\n\\t\\t{\\n\\t\\t\\tSystem.out.println(\\\"\\\\t Your inventory is empty\\\");\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\telse\\n\\t\\t{\\n\\t\\t\\twhile(true)\\n\\t\\t\\t{\\n\\t\\t\\t\\tSystem.out.println(\\\"Which item would you like more information on?\\\");\\n\\t\\t\\t\\t//output all of the items contained within the players inventory\\n\\t\\t\\t\\tfor(int i =0;i < items.size();i++)\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\tSystem.out.println(i + \\\". \\\" + items.get(i).getItem().getName());\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tSystem.out.println(items.size() + \\\". \\\" + \\\" return to inventory\\\" );\\n\\t\\t\\t\\t// get the players input\\n\\t\\t\\t\\tint input = GameInput.getInt();\\n\\t\\t\\t\\t//check to see that it falls within the range of appropreate input\\n\\t\\t\\t\\tif(input >=0 && input < items.size())\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\tif(items.get(input).getItem() instanceof Weapon)\\n\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\tWeapon temp = (Weapon) items.get(input).getItem();\\n\\t\\t\\t\\t\\t\\tSystem.out.println(\\\"\\\\t \\\" + temp.getDescription());\\n\\t\\t\\t\\t\\t\\tSystem.out.println(\\\"\\\\t Strength \\\" + temp.getStrength());\\n\\t\\t\\t\\t\\t\\tSystem.out.println(\\\"\\\\t Perhaps this can be equipped for battle!\\\");\\n\\t\\t\\t\\t\\t\\tSystem.out.println();\\n\\t\\t\\t\\t\\t\\treturn;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\telse if(items.get(input).getItem() instanceof Armor)\\n\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\tArmor temp = (Armor) items.get(input).getItem();\\n\\t\\t\\t\\t\\t\\tSystem.out.println(\\\"\\\\t \\\" + temp.getDescription());\\n\\t\\t\\t\\t\\t\\tSystem.out.println(\\\"\\\\t Defense \\\" + temp.getDefense());\\n\\t\\t\\t\\t\\t\\tSystem.out.println(\\\"\\\\t Perhaps this can be equipped for battle!\\\");\\n\\t\\t\\t\\t\\t\\tSystem.out.println();\\n\\t\\t\\t\\t\\t\\treturn;\\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\\tSystem.out.println(\\\"\\\\t \\\" + items.get(input).getItem().getDescription());\\n\\t\\t\\t\\t\\t\\tSystem.out.println();\\n\\t\\t\\t\\t\\t\\treturn;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t} else if (input == items.size()) {\\n\\t\\t\\t\\t\\treturn;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\telse\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\tSystem.out.println(\\\"\\\\t You mutter to yourself, trying to remember what you wanted to do...\\\");\\n\\t\\t\\t\\t\\tSystem.out.println();\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"28c1f64f9945a4ca7f65b8f785a9f0bd\",\n \"score\": \"0.5444041\",\n \"text\": \"@Test\\n public void testIngredientCreation() throws IOException {\\n final World world = new WorldImpl(new GameStateManager()); \\n final ItemManager im = world.getItemManager();\\n // creation of the ingredients\\n final Ingredient bread = new IngredientImpl(im, IngredientType.BREAD);\\n final Ingredient lettuce = new IngredientImpl(im, IngredientType.LETTUCE);\\n final Ingredient tomato = new IngredientImpl(im, IngredientType.TOMATO);\\n final Ingredient meat = new IngredientImpl(im, IngredientType.MEAT);\\n final Ingredient cookedMeat = new IngredientImpl(im, IngredientType.MEAT, IngredientState.PERFECT);\\n //testing the right creation\\n Assert.assertTrue(bread.getState() == IngredientState.RAW);\\n Assert.assertTrue(lettuce.getState() == IngredientState.RAW);\\n Assert.assertTrue(tomato.getState() == IngredientState.RAW);\\n Assert.assertTrue(meat.getState() == IngredientState.RAW);\\n Assert.assertTrue(cookedMeat.getState() == IngredientState.PERFECT);\\n //testing that the points are right\\n Assert.assertTrue(bread.getState().getPoints() == IngredientState.RAW.getPoints());\\n Assert.assertTrue(lettuce.getState().getPoints() == IngredientState.RAW.getPoints());\\n Assert.assertTrue(tomato.getState().getPoints() == IngredientState.RAW.getPoints());\\n Assert.assertTrue(meat.getState().getPoints() == IngredientState.RAW.getPoints());\\n Assert.assertTrue(cookedMeat.getState().getPoints() == IngredientState.PERFECT.getPoints());\\n //testing that the states change right \\n bread.changeState(IngredientState.CHOPPED);\\n lettuce.changeState(IngredientState.CHOPPED);\\n tomato.changeState(IngredientState.CHOPPED);\\n meat.changeState(IngredientState.PERFECT);\\n Assert.assertTrue(bread.getState() == IngredientState.CHOPPED);\\n Assert.assertTrue(lettuce.getState() == IngredientState.CHOPPED);\\n Assert.assertTrue(tomato.getState() == IngredientState.CHOPPED);\\n Assert.assertTrue(meat.getState() == IngredientState.PERFECT);\\n //testing that the changes are right\\n Assert.assertTrue(bread.getState().getPoints() == IngredientState.CHOPPED.getPoints());\\n Assert.assertTrue(lettuce.getState().getPoints() == IngredientState.CHOPPED.getPoints());\\n Assert.assertTrue(tomato.getState().getPoints() == IngredientState.CHOPPED.getPoints());\\n Assert.assertTrue(meat.getState().getPoints() == IngredientState.PERFECT.getPoints());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"85cf1e5be6928bd3dcc522d14a8eb169\",\n \"score\": \"0.54411185\",\n \"text\": \"public void useItem() throws IOException \\n\\t{\\n\\t\\tArrayList items = Game.getHero().getPlayerInventory();\\n\\t\\tif (items.size() > 0) {\\n\\t\\t\\tSystem.out.println(\\\"Which item would you like to use\\\");\\n\\t\\t\\tfor(int i =0;i < items.size();i++)\\n\\t\\t\\t{\\n\\t\\t\\t\\tSystem.out.println(i + \\\". \\\" + items.get(i).getItem().getName());\\n\\t\\t\\t}\\n\\t\\t\\tSystem.out.println(items.size() + \\\". \\\" + \\\" return to inventory\\\" );\\n\\t\\t\\tint input = GameInput.getInt();\\n\\n\\n\\n\\t\\t\\tif(input >=0 && input < items.size())\\n\\t\\t\\t{\\n\\t\\t\\t\\tif(items.get(input).getItem() instanceof Weapon)\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\tSystem.out.println(\\\"\\\\t How does one use a weapon out in combat?\\\");\\n\\t\\t\\t\\t\\tSystem.out.println();\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\telse if(items.get(input).getItem() instanceof Armor)\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\tSystem.out.println(\\\"\\\\t How does one use armor out of combat?\\\");\\n\\t\\t\\t\\t\\tSystem.out.println();\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\telse if(items.get(input).getItem() instanceof Consumable)\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\tConsumable use = (Consumable) items.get(input).getItem();\\n\\t\\t\\t\\t\\tGame.getHero().useConsumable(use);\\n\\t\\t\\t\\t\\tSystem.out.println(\\\"\\\\t You feel your wounds melt away as if by magic.\\\"\\n\\t\\t\\t\\t\\t\\t\\t+ \\\"\\\\t Not bad for something you found on the floor!\\\");\\n\\t\\t\\t\\t\\tSystem.out.println();\\n\\t\\t\\t\\t}\\n\\t\\t\\t} \\n\\t\\t\\telse if (items.size() == input) \\n\\t\\t\\t{\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tSystem.out.println(\\\"There are no items in your inventory\\\");\\n\\t\\t\\t\\tSystem.out.println();\\n\\t\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"29313a05dce9b7b94e9512dae2aedf39\",\n \"score\": \"0.54391545\",\n \"text\": \"public void enterInventory(){\\n inventory.runInventory();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c998da3a7e7879ff405e2efea580b6bc\",\n \"score\": \"0.54376316\",\n \"text\": \"protected Vector getEquippedItems() {\\n\\t\\tVector toReturn = new Vector();\\n\\t\\tfor (int i = 0; i < vInventoryItemsList.size(); i++) {\\n\\t\\t\\tTangibleItem t = vInventoryItemsList.elementAt(i);\\n\\t\\t\\tif (t.getContainerID() == getID()) {\\n\\t\\t\\t\\ttoReturn.add(t);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\ttoReturn.add(tHairObject);\\n\\t\\treturn toReturn;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5991847673c98b3291b262bc9b4efe3c\",\n \"score\": \"0.5437173\",\n \"text\": \"int getInventory();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"497d0a42a1b82763abb29d44c42dbbfc\",\n \"score\": \"0.54235184\",\n \"text\": \"public void charity() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4af6cb90ff0db6655b21e7e1d1fc111c\",\n \"score\": \"0.5422187\",\n \"text\": \"@Override\\n public void enterProduct(ProductContext ctx) {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1996c9a26117397944ce7888ec0cf124\",\n \"score\": \"0.54210377\",\n \"text\": \"private void initEquipSet()\\n \\t{\\n \\t\\t// Setup the default EquipSet if not already present\\n \\t\\tif (!charDisplay.hasEquipSet())\\n \\t\\t{\\n \\t\\t\\tString id = EquipmentSetFacadeImpl.getNewIdPath(charDisplay, null);\\n \\t\\t\\tEquipSet eSet = new EquipSet(id, LanguageBundle.getString(\\\"in_ieDefault\\\"));\\n \\t\\t\\ttheCharacter.addEquipSet(eSet);\\n \\t\\t\\ttheCharacter.setCalcEquipSetId(id);\\n \\t\\t}\\n \\n \\t\\t// Detach listeners from old set\\n \\t\\tif (equipSet.getReference() != null)\\n \\t\\t{\\n \\t\\t\\tEquipmentListFacade equippedItems = equipSet.getReference().getEquippedItems();\\n \\t\\t\\tequippedItems.removeListListener(this);\\n \\t\\t\\tequippedItems.removeEquipmentListListener(this);\\n \\t\\t}\\n \\t\\t\\n \\t\\t// Make facades for each root equipset.\\n \\t\\tList eqSetList = new ArrayList();\\n \\t\\tEquipmentSetFacade currSet = null;\\n \\t\\tString currIdPath = theCharacter.getCalcEquipSetId();\\n \\t\\tfor (EquipSet es : charDisplay.getEquipSet())\\n \\t\\t{\\n \\t\\t\\tif (es.getParentIdPath().equals(\\\"0\\\"))\\n \\t\\t\\t{\\n \\t\\t\\t\\tfinal EquipmentSetFacadeImpl facade =\\n \\t\\t\\t\\t\\t\\tnew EquipmentSetFacadeImpl(delegate, theCharacter, es,\\n \\t\\t\\t\\t\\t\\t\\tdataSet, purchasedEquip);\\n \\t\\t\\t\\teqSetList.add(facade);\\n \\t\\t\\t\\tif (es.getIdPath().equals(currIdPath))\\n \\t\\t\\t\\t{\\n \\t\\t\\t\\t\\tcurrSet = facade;\\n \\t\\t\\t\\t}\\n \\t\\t\\t}\\n \\t\\t}\\n \\t\\tequipmentSets.updateContents(eqSetList);\\n \\t\\tif (currSet != null)\\n \\t\\t{\\n \\t\\t\\tequipSet.setReference(currSet);\\n \\t\\t}\\n \\n \\t\\tEquipmentSetFacade set = equipSet.getReference();\\n \\t\\tset.getEquippedItems().addListListener(this);\\n \\t\\tset.getEquippedItems().addEquipmentListListener(this);\\n \\t\\trefreshTotalWeight();\\n \\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e42d5b246d449ff47099179b4746f204\",\n \"score\": \"0.5415186\",\n \"text\": \"public final void run() {\\n log(\\\"Sending xp event for Exploration to \\\"+mainPlayer.getName()+\\\". Level is \\\"+getLevel(mainPlayer, Skill.EXPLORATION));\\n registry.sendEvent(new GiveXpEvent(mainPlayer,Skill.EXPLORATION,25));\\n log(mainPlayer.getName()+\\\" exploration level is now \\\"+getLevel(mainPlayer, Skill.EXPLORATION));\\n log(\\\" \\\");\\n log(\\\"Sending xp event for Construction to \\\"+mainPlayer.getName()+\\\". Level is \\\"+getLevel(mainPlayer, Skill.CONSTRUCTION));\\n registry.sendEvent(new GiveXpEvent(mainPlayer,Skill.CONSTRUCTION,25));\\n log(mainPlayer.getName()+\\\" construction level is now \\\"+getLevel(mainPlayer, Skill.CONSTRUCTION));\\n\\n //Player inventory system checks (Flexible with stackable and unstackable items)\\n log(\\\"Giving \\\"+someOtherPlayer.getName()+\\\" 2000 coins!\\\");\\n registry.sendEvent(new GivePlayerItemEvent(someOtherPlayer,Item.COINS,2000));\\n ItemData id = getItem(someOtherPlayer, Item.COINS);\\n log(someOtherPlayer.getName() + \\\" Has \\\"+id.getQuantity()+\\\" \\\"+id.getItem()+\\\" in their Inventory\\\");\\n log(\\\"Removing 1000 coins!\\\");\\n registry.sendEvent(new RemovePlayerItemEvent(someOtherPlayer,Item.COINS,1000));\\n id = getItem(someOtherPlayer, Item.COINS);\\n log(someOtherPlayer.getName() + \\\" Has \\\"+id.getQuantity()+\\\" \\\"+id.getItem()+\\\" in their Inventory\\\");\\n log(\\\"Giving \\\"+mainPlayer.getName()+\\\" 5x Fish!\\\");\\n registry.sendEvent(new GivePlayerItemEvent(mainPlayer,Item.FISH,5));\\n id = getItem(mainPlayer, Item.FISH);\\n log(mainPlayer.getName()+\\\" Has \\\"+id.getQuantity()+\\\" \\\"+id.getItem()+\\\" in their Inventory\\\");\\n id = getItem(someOtherPlayer, Item.FISH);\\n log(someOtherPlayer.getName()+\\\" Has \\\"+id.getQuantity()+\\\" \\\"+id.getItem()+\\\" in their Inventory\\\");\\n\\n //Mining event stuff\\n log(mainPlayer.getName()+\\\" has \\\"+getLevel(mainPlayer, Skill.MINING)+\\\" mining level\\\");\\n log(mainPlayer.getName()+\\\" is mining \\\"+ Rock.COAL);\\n registry.sendEvent(new PlayerMiningEvent(mainPlayer,Rock.COAL));\\n log(mainPlayer.getName()+\\\" is receiving 200 xp to reach level 5\\\");\\n registry.sendEvent(new GiveXpEvent(mainPlayer, Skill.MINING, 200));\\n log(\\\"Mining level is now \\\"+getLevel(mainPlayer, Skill.MINING));\\n log(mainPlayer.getName()+\\\" is mining \\\"+ Rock.COAL);\\n registry.sendEvent(new PlayerMiningEvent(mainPlayer,Rock.COAL));\\n log(\\\"Mining level is now \\\"+getLevel(mainPlayer, Skill.MINING));\\n id = getItem(mainPlayer,Item.COAL_ORE);\\n log(mainPlayer.getName()+\\\" Has \\\"+id.getQuantity()+\\\" \\\"+id.getItem()+\\\" in their Inventory\\\");\\n\\n //Cooking Event stuff\\n registry.sendEvent(new GivePlayerItemEvent(mainPlayer,Item.RAW_SHRIMP));\\n registry.sendEvent(new GivePlayerItemEvent(mainPlayer,Item.RAW_SPAGHETTI));\\n log(mainPlayer.getName()+\\\" has level \\\"+getLevel(mainPlayer, Skill.COOKING)+\\\" in cooking\\\");\\n log(mainPlayer.getName()+\\\" is cooking \\\"+ Item.RAW_SHRIMP);\\n registry.sendEvent(new PlayerCookingEvent(mainPlayer,Item.RAW_SHRIMP));\\n log(mainPlayer.getName()+\\\" is cooking \\\"+ Item.RAW_SPAGHETTI);\\n registry.sendEvent(new PlayerCookingEvent(mainPlayer,Item.RAW_SPAGHETTI));\\n log(mainPlayer.getName()+\\\" is cooking \\\"+ Item.RAW_SHRIMP);\\n registry.sendEvent(new PlayerCookingEvent(mainPlayer,Item.RAW_SHRIMP));\\n log(mainPlayer.getName()+\\\" is using (eating) \\\"+ Item.RAW_SPAGHETTI);\\n UsePlayerItemEvent useItemEvent = new UsePlayerItemEvent(mainPlayer,Item.RAW_SPAGHETTI);\\n registry.sendEvent(useItemEvent);\\n log(mainPlayer.getName()+\\\" has \\\"+getItem(mainPlayer,Item.SHRIMP).getQuantity()+\\\" \\\"+Item.SHRIMP);\\n log(mainPlayer.getName()+\\\" has \\\"+getItem(mainPlayer,Item.BURNT_SHRIMP).getQuantity()+\\\" \\\"+Item.BURNT_SHRIMP);\\n\\n //Run those condition checks\\n runChecks();\\n\\n //Unimportant, unload method call is empty\\n registry.unload();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"750e591b60f16c9a92f98d342b9ad404\",\n \"score\": \"0.5410449\",\n \"text\": \"public void onEquipped(ItemStack itemstack, EntityLivingBase player);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7c9ddb43515eaa6d7ca5f010de9c7c3\",\n \"score\": \"0.54103696\",\n \"text\": \"@Override\\n public void equip(Buff b){\\n super.equip(b);\\n attack += b.damage;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9127c0c1e84440aef7440d56698b7e0a\",\n \"score\": \"0.5406339\",\n \"text\": \"void use() {\\n System.out.println(location.getInteract());\\n if(location.getTrigger() == false && !(location.getGift().equals(\\\"\\\"))) {\\n location.drop(location.getGift());\\n pickup(location.getGift());\\n }\\n location.setTrigger();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6103af7af1b3affea75dd2eb17c2e76b\",\n \"score\": \"0.540445\",\n \"text\": \"public interface Weapon {\\n String getDescription();\\n void equipToPlayer(Player player);\\n String getName();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"707ebdea3620da4b6db81f8ee2bda495\",\n \"score\": \"0.54041433\",\n \"text\": \"void onDequip(World world, EntityPlayer player, ItemStack stack,ArmourSlot armourSlot, int level);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c7105ae0e7dd5670bed7f8dae68e925a\",\n \"score\": \"0.5402907\",\n \"text\": \"public void armorUpdate() {\\n if (armor == \\\"Apprentice Armor\\\") {\\n armorDefense = 1;\\n }\\n if (armor == \\\"Ancient Stone Vestments\\\") {\\n armorAttack = -6;\\n armorDefense = 12;\\n }\\n if (armor == \\\"Frostbite Raiment\\\") {\\n armorDefense = 5;\\n }\\n gearUpdate();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"23ada195e37404b40190f9b9b691737a\",\n \"score\": \"0.5395422\",\n \"text\": \"public abstract void forcered(int slot);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80b6ced800f898e75b55be56812e2922\",\n \"score\": \"0.5394126\",\n \"text\": \"public boolean onItemUseFirst(GT_MetaBase_Item aItem, ItemStack aStack, EntityPlayer aPlayer, World aWorld, int aX, int aY, int aZ, int aSide, float hitX, float hitY, float hitZ)\\r\\n/* 72: */ {\\r\\n/* 73: 60 */ if ((aWorld.isRemote) || (aStack.stackSize != 1)) {\\r\\n/* 74: 60 */ return false;\\r\\n/* 75: */ }\\r\\n/* 76: 62 */ boolean rOutput = false;\\r\\n/* 77: */ \\r\\n/* 78: 64 */ ForgeDirection tDirection = ForgeDirection.getOrientation(aSide);\\r\\n/* 79: 65 */ aX += tDirection.offsetX;aY += tDirection.offsetY;aZ += tDirection.offsetZ;\\r\\n/* 80: 67 */ if ((!GT_Utility.isAirBlock(aWorld, aX, aY, aZ)) || (!aPlayer.canPlayerEdit(aX, aY, aZ, aSide, aStack))) {\\r\\n/* 81: 67 */ return false;\\r\\n/* 82: */ }\\r\\n/* 83: 68 */ prepare(aStack);\\r\\n/* 84: 69 */ long tFuelAmount = GT_Utility.ItemNBT.getLighterFuel(aStack);\\r\\n/* 85: 70 */ if (GT_Utility.areStacksEqual(aStack, this.mUsedLighter, true))\\r\\n/* 86: */ {\\r\\n/* 87: 71 */ GT_Utility.sendSoundToPlayers(aWorld, (String)GregTech_API.sSoundList.get(Integer.valueOf(6)), 1.0F, 1.0F, aX, aY, aZ);\\r\\n/* 88: 72 */ aWorld.setBlock(aX, aY, aZ, Blocks.fire);\\r\\n/* 89: 73 */ if (!aPlayer.capabilities.isCreativeMode) {\\r\\n/* 90: 73 */ tFuelAmount -= 1L;\\r\\n/* 91: */ }\\r\\n/* 92: 74 */ rOutput = true;\\r\\n/* 93: */ }\\r\\n/* 94: 76 */ GT_Utility.ItemNBT.setLighterFuel(aStack, tFuelAmount);\\r\\n/* 95: 77 */ if (tFuelAmount <= 0L) {\\r\\n/* 96: 77 */ useUp(aStack);\\r\\n/* 97: */ }\\r\\n/* 98: 78 */ return rOutput;\\r\\n/* 99: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d9541db12301a4bcab09b6e58b7c6d34\",\n \"score\": \"0.53931373\",\n \"text\": \"public String examineWeapon(Room currentRoom) \\n {\\n String description = \\\"\\\"; \\n Weapon weapon = currentRoom.getWeapon(); // The weapon that is in the room\\n\\n // Inform the player that he found a weapon\\n description += \\\"You did step in something! It is an engraved \\\" + weapon.getClass().getSimpleName()\\n + \\\" laying on the ground.\\\\n\\\";\\n\\n // If the player has no weapon yet, equip him with the new weapon\\n if (player.getWeapon() == null) \\n {\\n description += \\\"Having a weapon to help you to defend yourself is encouraging. You picked it on the ground\\\\n\\\"\\n + \\\"and try it on an old statue made of wood that is in the room.\\\\n\\\\n\\\" +\\n \\\"Weapon damage: \\\" + weapon.getDamage() +\\\"\\\\n\\\"; // Show weapon damage\\n\\n // Assign the weapon to the player and the room to null as the weapon was collected\\n player.setWeapon(weapon);\\n currentRoom.setWeapon(null);\\n } // End of if statement\\n \\n // If player is equipped with a weapon, check and compare the damage that each weapon adds to the player to decide if replacing the weapon is a good idea\\n else if (weapon.getDamage() > player.getWeapon().getDamage()) \\n {\\n description += \\\"It is definetly better than the weapon you are equiped. You drop\\\\n\\\"\\n + \\\"\\\\tthe \\\" + player.getWeapon().getClass().getSimpleName()\\n + \\\" you were carrying and pick the new weapon. \\\\nYou feel stronger already!\\\\n\\\\n\\\";\\n\\n // Assign the weapon to the player and the room to null as the weapon was collected\\n player.setWeapon(weapon);\\n currentRoom.setWeapon(null);\\n } // End of else if statement\\n \\n // if the weapon player is carrying is better the one he found\\n else \\n {\\n description += \\\"\\\\tIt looks useless compared to the \\\"\\n + player.getWeapon().getClass().getSimpleName() + \\\", and you left it there, in the same place\\\\n\\\"\\n + \\\"\\\\tin case another brave warrior decides to adventure himself in this dungeon.\\\\n\\\\n\\\";\\n } // End of else statement\\n\\n return description;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4ed454a07c47b9683e3a34e9a7e71308\",\n \"score\": \"0.5391495\",\n \"text\": \"public void superGas(){\\r\\n\\t\\tmdaEfsm.selectGas(2);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80c80254d6560623487e7dac26d21b7e\",\n \"score\": \"0.53781414\",\n \"text\": \"public void playerPickUpItem() {\\n\\t\\tif (player.isAlive()) {\\n\\t\\t\\tplayer.pickUpItem();\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"71d998d79d5e3f2e32d03908bb2e7265\",\n \"score\": \"0.5372952\",\n \"text\": \"public void collidedWithAnotherShip(){ ;\\n if (this.ShieldOff){\\n this.CurrentHealthLevel --;\\n this.MaxEnergyLevel -= 10;\\n if (this.CurrentEnergyLevel > this.MaxEnergyLevel)\\n this.CurrentEnergyLevel = this.MaxEnergyLevel;\\n }\\n else {\\n this.MaxEnergyLevel += 18;\\n this.CurrentEnergyLevel += 18;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78d3d21d52eb8d29b608d9b7b6a5ae23\",\n \"score\": \"0.53727055\",\n \"text\": \"public static void equipmentchoice(){\\r\\n \\r\\n boolean law = true;\\r\\n \\r\\n do {\\r\\n try{\\r\\n while (law){\\r\\n \\r\\n System.out.print(\\\"Insert Equipment into Inventory: [1] \\\\n\\\");\\r\\n System.out.print(\\\"Remove Equipment from Inventory: [2] \\\\n\\\");\\r\\n System.out.print(\\\"Edit Equipment's Information from Inventory: [3] \\\\n\\\");\\r\\n System.out.print(\\\"Back?: [4] \\\\n\\\");\\r\\n \\r\\n int aw = Integer.parseInt(scan.nextLine());\\r\\n System.out.print(\\\"\\\\n\\\\n\\\\n\\\\n\\\\n\\\");\\r\\n \\r\\n switch (aw) {\\r\\n case 1: \\r\\n insertequip();\\r\\n law = false;\\r\\n break;\\r\\n case 2:\\r\\n if (com1.isEmpty()){\\r\\n System.out.print(\\\"There is nothing to be remove in the invetory of Hospital Equipments.\\\\n\\\");\\r\\n start();}\\r\\n removeequip();\\r\\n law = false;\\r\\n break;\\r\\n case 3:\\r\\n if (com1.isEmpty()){\\r\\n System.out.print(\\\"There is nothing to be edit in the invetory of Equipments.\\\\n\\\\n\\\\n\\\\n\\\\n\\\");\\r\\n System.out.print(\\\"Press any key to continue.....\\\");\\r\\n scan.nextLine();\\r\\n start();}\\r\\n law = false;\\r\\n setnewequipment();\\r\\n break;\\r\\n case 4:\\r\\n start();\\r\\n law = false;\\r\\n break;\\r\\n default:\\r\\n System.out.print(\\\"Invalid Choice\\\\n\\\\n\\\");\\r\\n law = true;\\r\\n break;\\r\\n }\\r\\n }\\r\\n break;\\r\\n } catch (NumberFormatException x){\\r\\n System.out.print(\\\"Your input is invalid.\\\");\\r\\n System.out.print(\\\"\\\\n\\\\n\\\\n\\\\n\\\\n\\\");\\r\\n }\\r\\n } while (true);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bea7569c676ae4b26490e7eebed74d9c\",\n \"score\": \"0.53707\",\n \"text\": \"@Override\\r\\n\\tpublic boolean activate() {\\n\\t\\tTile bank1 = new Tile(3169, 3457, 0);\\r\\n\\t\\tTile bank2 = new Tile(3144, 3484, 0);\\r\\n\\t\\tArea bank_tele_area = new Area(bank1, bank2);\\r\\n\\t\\t\\r\\n\\t\\treturn ctx.backpack.select().count() == 28 && !bank_tele_area.contains(ctx.players.local());\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"79c08cd6ecd5a0113bb92d8929f40547\",\n \"score\": \"0.53691685\",\n \"text\": \"public boolean onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10)\\n {\\n if (!par2EntityPlayer.canPlayerEdit(par4, par5, par6, par7, par1ItemStack))\\n {\\n return false;\\n }\\n else\\n {\\n UseHoeEvent event = new UseHoeEvent(par2EntityPlayer, par1ItemStack, par3World, par4, par5, par6);\\n if (MinecraftForge.EVENT_BUS.post(event))\\n {\\n return false;\\n }\\n\\n if (event.getResult() == Result.ALLOW)\\n {\\n par1ItemStack.damageItem(1, par2EntityPlayer);\\n return true;\\n }\\n\\n Block block = par3World.getBlock(par4, par5, par6); //getting the block at the right click location\\n\\n if (par7 != 0 && par3World.getBlock(par4, par5 + 1, par6).isAir(par3World, par4, par5 + 1, par6) && (block == Blocks.hay_block || block == Blocks.wheat||block==Blocks.tallgrass))//modded\\n {\\n Block block1 = Blocks.air; //getting the replacement block\\n par3World.playSoundEffect((double)((float)par4 + 0.5F), (double)((float)par5 + 0.5F), (double)((float)par6 + 0.5F), block1.stepSound.getStepResourcePath(), (block1.stepSound.getVolume() + 1.0F) / 2.0F, block1.stepSound.getPitch() * 0.8F);\\n\\n if (par3World.isRemote)\\n {\\n return true;\\n }\\n else\\n {\\n \\t // setting the block at the right click location to block1 type\\n \\tpar3World.setBlock(par4, par5, par6, block1); \\n par1ItemStack.damageItem(1, par2EntityPlayer);\\n \\n \\t//Our modification Par 4-6 are x,y,z coords for blocks. \\n //I am doing is setting the blocks next to the block1 to ALSO be set to air\\n \\n Block block2 = Blocks.air;\\n par3World.setBlock(par4+1, par5, par6, block2);\\n \\n \\n Block block3 = Blocks.air;\\n par3World.setBlock(par4-1, par5, par6, block3);\\n \\n \\n par3World.setBlock(par4, par5, par6+1, block3);\\n \\n \\n \\n \\n \\n par3World.setBlock(par4+1, par5, par6+1, block3);\\n \\n \\n \\n \\n \\n par3World.setBlock(par4-1, par5, par6+1, block3);\\n \\n \\n \\n \\n \\n //Using the right click ability uses 1 whole unit of food since it is such a large swing!\\n par2EntityPlayer.getFoodStats().setFoodLevel(par2EntityPlayer.getFoodStats().getFoodLevel()-1);\\n \\n return true;\\n \\n }\\n }\\n else\\n {\\n return false;\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1dbb1a85bf23e60f3f5da48b0a8af044\",\n \"score\": \"0.5363098\",\n \"text\": \"public void equipArmor(Equipment newArmor) {\\n this.armor = newArmor;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"84a7d8caeb8ec6997b53d15ef5c84748\",\n \"score\": \"0.53554785\",\n \"text\": \"public void unequip(Clothing clothing)\\n {\\n totalProtection -= clothing.getProtection();\\n\\n if(clothing.getType().equals(\\\"head\\\"))\\n {\\n if(!head.getName().equals(\\\"Nothing\\\"))\\n {\\n System.out.println(\\\"You unequipped \\\" + head.getName());\\n head.setEquipped(false);\\n head = new Clothing(\\\"Nothing\\\", 0, \\\"head\\\");\\n }\\n }\\n else if(clothing.getType().equals(\\\"torso\\\"))\\n {\\n if(!torso.getName().equals(\\\"Nothing\\\"))\\n {\\n System.out.println(\\\"You unequipped \\\" + torso.getName());\\n torso.setEquipped(false);\\n torso = new Clothing(\\\"Nothing\\\", 0, \\\"torso\\\");\\n }\\n }\\n else if(clothing.getType().equals(\\\"legs\\\"))\\n {\\n if(!legs.getName().equals(\\\"Nothing\\\"))\\n {\\n System.out.println(\\\"You unequipped \\\" + legs.getName());\\n legs.setEquipped(false);\\n legs = new Clothing(\\\"Nothing\\\", 0, \\\"legs\\\");\\n }\\n }\\n else if(clothing.getType().equals(\\\"feet\\\"))\\n {\\n if(!feet.getName().equals(\\\"Nothing\\\"))\\n {\\n System.out.println(\\\"You unequipped \\\" + feet.getName());\\n feet.setEquipped(false);\\n feet = new Clothing(\\\"Nothing\\\", 0, \\\"feet\\\");\\n }\\n }\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7d20990cad6a9208e4086aa996d32e8a\",\n \"score\": \"0.5354868\",\n \"text\": \"@Override\\n\\tpublic void performAction(InventoryClickEvent event, ItemStack stack) {\\n\\t\\tPlayer player = (Player)event.getWhoClicked();\\n\\t\\tResident res = CivGlobal.getResident(player);\\n\\t\\tguiInventory = Bukkit.getServer().createInventory(player,9*5, \\\"Library Enchanting\\\");\\n\\t\\t\\n\\t\\tfor (Structure s : res.getTown().getStructures()) {\\n\\t\\t\\tItemStack is;\\n\\t\\t\\tif (s instanceof Library) {\\n\\t\\t\\t\\tLibrary library = (Library)s;\\n\\t\\t\\t\\tfor (LibraryEnchantment le : library.getEnchants()) {\\n\\t\\t\\t\\t\\tInteger level = le.level;\\n\\t\\t\\t\\t\\tString cost = \\\"\\\"+le.price;\\n/*\\t\\t\\t\\t\\tif (!library.getEnchants().contains(\\\"Projectile Protection\\\")) {\\n\\t\\t\\t\\t\\t\\tis = LoreGuiItem.build(\\\"Projectile Protection \\\"+level, ItemManager.getId(Material.BEDROCK), 0, \\\" \\\"+CivColor.RoseBold+\\\"ENCHANTMENT LOCKED\\\", CivColor.LightGrayItalic+\\\"Reduces Arrow Damage.\\\");\\n\\t\\t\\t\\t\\t\\tguiInventory.setItem(0, is);\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\tis = LoreGuiItem.build(le.displayName+\\\" \\\"+level, ItemManager.getId(Material.SPECTRAL_ARROW), 0, \\\" \\\"+CivColor.YellowBold+cost+\\\" Coins\\\", CivColor.LightGrayItalic+\\\"Reduces Arrow Damage.\\\");\\n\\t\\t\\t\\t\\t\\tis = LoreGuiItem.setAction(is, \\\"_1ConfirmLibraryEnchant\\\");\\n\\t\\t\\t\\t\\t\\tis = LoreGuiItem.setActionData(is, \\\"enchantmentCategory\\\", \\\"armour\\\");\\n\\t\\t\\t\\t\\t\\tis = LoreGuiItem.setActionData(is, \\\"enchantmentname\\\", le.displayName);\\n\\t\\t\\t\\t\\t\\tis = LoreGuiItem.setActionData(is, \\\"enchantmentlevel\\\", \\\"\\\"+le.level);\\n\\t\\t\\t\\t\\t\\tguiInventory.setItem(0, is);\\n\\t\\t\\t\\t\\t\\tcontinue;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\tif (!library.getEnchants().contains(\\\"Blast Protection\\\")) {\\n\\t\\t\\t\\t\\t\\tis = LoreGuiItem.build(\\\"Blast Protection \\\"+level, ItemManager.getId(Material.BEDROCK), 0, \\\" \\\"+CivColor.RoseBold+\\\"ENCHANTMENT LOCKED\\\", CivColor.LightGrayItalic+\\\"Reduces Explosion Damage.\\\");\\n\\t\\t\\t\\t\\t\\tguiInventory.setItem(1, is);\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\tis = LoreGuiItem.build(le.displayName+\\\" \\\"+level, ItemManager.getId(Material.EXPLOSIVE_MINECART), 0, \\\" \\\"+CivColor.YellowBold+cost+\\\" Coins\\\", CivColor.LightGrayItalic+\\\"Reduces Explosion Damage.\\\");\\n\\t\\t\\t\\t\\t\\tis = LoreGuiItem.setAction(is, \\\"_1ConfirmLibraryEnchant\\\");\\n\\t\\t\\t\\t\\t\\tis = LoreGuiItem.setActionData(is, \\\"enchantmentCategory\\\", \\\"armour\\\");\\n\\t\\t\\t\\t\\t\\tis = LoreGuiItem.setActionData(is, \\\"enchantmentname\\\", le.displayName);\\n\\t\\t\\t\\t\\t\\tis = LoreGuiItem.setActionData(is, \\\"enchantmentlevel\\\", \\\"\\\"+le.level);\\n\\t\\t\\t\\t\\t\\tguiInventory.setItem(1, is);\\n\\t\\t\\t\\t\\t\\tcontinue;\\n\\t\\t\\t\\t\\t}*/\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\tif (library.getLevel() >= 1) {\\n\\t\\t\\t\\t\\t\\tis = LoreGuiItem.build(\\\"Feather Falling \\\"+level, ItemManager.getId(Material.FEATHER), 0, \\\" \\\"+CivColor.YellowBold+cost+\\\" Coins\\\", CivColor.LightGrayItalic+\\\"Reduces Fall Damage.\\\");\\n\\t\\t\\t\\t\\t\\tis = LoreGuiItem.setAction(is, \\\"_1ConfirmLibraryEnchant\\\");\\n\\t\\t\\t\\t\\t\\tis = LoreGuiItem.setActionData(is, \\\"enchantmentCategory\\\", \\\"armour\\\");\\n\\t\\t\\t\\t\\t\\tis = LoreGuiItem.setActionData(is, \\\"enchantmentname\\\", \\\"Feather Falling\\\");\\n\\t\\t\\t\\t\\t\\tis = LoreGuiItem.setActionData(is, \\\"enchantmentlevel\\\", \\\"\\\"+le.level);\\n\\t\\t\\t\\t\\t\\tguiInventory.setItem(4, is);\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\tis = LoreGuiItem.build(\\\"Feather Falling \\\"+level, ItemManager.getId(Material.BEDROCK), 0, \\\" \\\"+CivColor.RoseBold+\\\"ENCHANTMENT LOCKED\\\", CivColor.LightGrayItalic+\\\"Reduces Fall Damage.\\\");\\n\\t\\t\\t\\t\\t\\tguiInventory.setItem(4, is);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\tif (library.getLevel() >= 2) {\\n\\t\\t\\t\\t\\t\\tis = LoreGuiItem.build(\\\"Efficiency \\\"+level, ItemManager.getId(Material.SUGAR), 0, \\\" \\\"+CivColor.YellowBold+cost+\\\" Coins\\\", CivColor.LightGrayItalic+\\\"Increase Mining Speed.\\\");\\n\\t\\t\\t\\t\\t\\tis = LoreGuiItem.setAction(is, \\\"_1ConfirmLibraryEnchant\\\");\\n\\t\\t\\t\\t\\t\\tis = LoreGuiItem.setActionData(is, \\\"enchantmentCategory\\\", \\\"tool\\\");\\n\\t\\t\\t\\t\\t\\tis = LoreGuiItem.setActionData(is, \\\"enchantmentname\\\", \\\"Efficiency\\\");\\n\\t\\t\\t\\t\\t\\tis = LoreGuiItem.setActionData(is, \\\"enchantmentlevel\\\", \\\"\\\"+le.level);\\n\\t\\t\\t\\t\\t\\tguiInventory.setItem(9, is);\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\tis = LoreGuiItem.build(\\\"Efficiency \\\"+level, ItemManager.getId(Material.BEDROCK), 0, \\\" \\\"+CivColor.RoseBold+\\\"ENCHANTMENT LOCKED\\\", CivColor.LightGrayItalic+\\\"Increase Mining Speed.\\\");\\n\\t\\t\\t\\t\\t\\tguiInventory.setItem(9, is);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\tif (library.getLevel() >= 3) {\\n\\t\\t\\t\\t\\t\\tis = LoreGuiItem.build(\\\"Fortune \\\"+level, ItemManager.getId(Material.APPLE), 0, \\\" \\\"+CivColor.YellowBold+cost+\\\" Coins\\\", CivColor.LightGrayItalic+\\\"Increase Ore Drop Chance.\\\");\\n\\t\\t\\t\\t\\t\\tis = LoreGuiItem.setAction(is, \\\"_1ConfirmLibraryEnchant\\\");\\n\\t\\t\\t\\t\\t\\tis = LoreGuiItem.setActionData(is, \\\"enchantmentCategory\\\", \\\"tool\\\");\\n\\t\\t\\t\\t\\t\\tis = LoreGuiItem.setActionData(is, \\\"enchantmentname\\\", \\\"Fortune\\\");\\n\\t\\t\\t\\t\\t\\tis = LoreGuiItem.setActionData(is, \\\"enchantmentlevel\\\", \\\"\\\"+le.level);\\n\\t\\t\\t\\t\\t\\tguiInventory.setItem(11, is);\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\tis = LoreGuiItem.build(\\\"Fortune \\\"+level, ItemManager.getId(Material.BEDROCK), 0, \\\" \\\"+CivColor.RoseBold+\\\"ENCHANTMENT LOCKED\\\", CivColor.LightGrayItalic+\\\"Increase Ore Drop Chance.\\\");\\n\\t\\t\\t\\t\\t\\tguiInventory.setItem(11, is);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t\\n\\t\\t/* Add back buttons. */\\n\\t\\tItemStack backButton = LoreGuiItem.build(\\\"Back\\\", ItemManager.getId(Material.MAP), 0, \\\"Back to Topics\\\");\\n\\t\\tbackButton = LoreGuiItem.setAction(backButton, \\\"OpenInventory\\\");\\n\\t\\tbackButton = LoreGuiItem.setActionData(backButton, \\\"invType\\\", \\\"showGuiInv\\\");\\n\\t\\tbackButton = LoreGuiItem.setActionData(backButton, \\\"invName\\\", _1BuildMenuList.guiInventory.getName());\\n\\t\\tguiInventory.setItem((9*5)-1, backButton);\\n\\t\\t\\n\\t\\tLoreGuiItemListener.guiInventories.put(guiInventory.getName(), guiInventory);\\n\\t\\tTaskMaster.syncTask(new OpenInventoryTask(player, guiInventory));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ec3e69e94b8b9949d80c415ba51a7d36\",\n \"score\": \"0.53535295\",\n \"text\": \"public void what() {\\n\\t\\tShop shop = findShop();\\n\\n\\t\\tif (shop == null)\\n\\t\\t\\treturn;\\n\\n\\t\\tList guiSetup = new ArrayList<>();\\n\\t\\tguiSetup.add(\\\"141125333\\\");\\n\\t\\tfor (int i = 1; i < Math.max((int) (Math.ceil(shop.getProduct().size() / 3.0)), (int) (Math.ceil(shop.getCost().size() / 3.0))) + 1; i++) {\\n\\t\\t\\tguiSetup.add(\\\"1 2 3\\\");\\n\\t\\t}\\n\\n\\t\\tfor (int i = 0, col = 5; i < shop.getProduct().size(); i++) {\\n\\t\\t\\tint row = (i / 3) + 1;\\n\\t\\t\\tguiSetup.set(row, guiSetup.get(row).substring(0, col) + ((char) (i + 97)) + guiSetup.get(row).substring(col + 1));\\n\\t\\t\\tcol = col + 1 < 8 ? col + 1 : 5;\\n\\t\\t}\\n\\n\\t\\tfor (int i = 0, col = 1; i < shop.getCost().size(); i++) {\\n\\t\\t\\tint row = (i / 3) + 1;\\n\\t\\t\\tguiSetup.set(row, guiSetup.get(row).substring(0, col) + ((char) (i + 65)) + guiSetup.get(row).substring(col + 1));\\n\\t\\t\\tcol = col + 1 < 4 ? col + 1 : 1;\\n\\t\\t}\\n\\n\\t\\tguiSetup.forEach(item -> debugger.log(item, DebugLevels.INVENTORY_CLOSE_NPE));\\n\\n\\t\\tInventoryGui gui = new InventoryGui(plugin, colorize(shop.getShopType() == ShopType.ITRADE ?\\n\\t\\t\\t\\tSetting.ITRADESHOP_OWNER.getString() :\\n\\t\\t\\t\\tBukkit.getOfflinePlayer(shop.getOwner().getUUID()).getName() + \\\"'s\\\"),\\n\\t\\t\\t\\tguiSetup.toArray(new String[0]));\\n\\n\\t\\tgui.setFiller(new ItemStack(Material.LIGHT_GRAY_STAINED_GLASS_PANE, 1));\\n\\t\\tgui.addElement(new StaticGuiElement('1', new ItemStack(Material.LIME_STAINED_GLASS_PANE),\\n\\t\\t\\t\\t\\\" \\\", \\\" \\\"));\\n\\t\\tgui.addElement(new StaticGuiElement('2', new ItemStack(Material.BLACK_STAINED_GLASS_PANE),\\n\\t\\t\\t\\t\\\" \\\", \\\" \\\"));\\n\\t\\tgui.addElement(new StaticGuiElement('3', new ItemStack(Material.LIGHT_BLUE_STAINED_GLASS_PANE),\\n\\t\\t\\t\\t\\\" \\\", \\\" \\\"));\\n\\t\\tgui.addElement(new StaticGuiElement('4', new ItemStack(Material.GOLD_NUGGET),\\n\\t\\t\\t\\t\\\"Cost\\\", \\\"This is the item\\\", \\\"that you give to\\\", \\\"make the trade.\\\"));\\n\\t\\tgui.addElement(new StaticGuiElement('5', new ItemStack(Material.GRASS_BLOCK),\\n\\t\\t\\t\\t\\\"Product\\\", \\\"This is the item\\\", \\\"that you receive\\\", \\\"from the trade.\\\"));\\n\\n\\t\\tfor (int i = 0; i < shop.getCost().size(); i++) {\\n\\t\\t\\tgui.addElement(new StaticGuiElement((char) (i + 65), shop.getCost().get(i).getItemStack())); // TODO: use GuiStateElement to allow removal of items from the shop\\n\\t\\t}\\n\\n\\t\\tfor (int i = 0; i < shop.getProduct().size(); i++) {\\n\\t\\t\\tgui.addElement(new StaticGuiElement((char) (i + 97), shop.getProduct().get(i).getItemStack())); // TODO: use GuiStateElement to allow removal of items from the shop\\n\\t\\t}\\n\\n\\t\\tgui.show(pSender);\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":359,"cells":{"query_id":{"kind":"string","value":"dc5915a16734b27123f396825e2bc880"},"query":{"kind":"string","value":"Gets the attribute value for CANCEL_DATE using the alias name CancelDate."},"positive_passages":{"kind":"list like","value":[{"docid":"824fa819594eaa08c6d43b00eed8be00","score":"0.769036","text":"public Number getCancelDate() {\n return (Number) getAttributeInternal(CANCELDATE);\n }","title":""}],"string":"[\n {\n \"docid\": \"824fa819594eaa08c6d43b00eed8be00\",\n \"score\": \"0.769036\",\n \"text\": \"public Number getCancelDate() {\\n return (Number) getAttributeInternal(CANCELDATE);\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"76ad5da58642c51751faa3892cb24ed4","score":"0.6950834","text":"public java.util.Calendar getCancel_date() {\n return cancel_date;\n }","title":""},{"docid":"24dee986f539c7fddec60b16f4eef07b","score":"0.64515454","text":"public Date getDATE_CANCELLED() {\r\n return DATE_CANCELLED;\r\n }","title":""},{"docid":"28e0dd0af4c0b7471e93a744216043bd","score":"0.63134235","text":"public Date getFECHA_CANCELACION() {\n return FECHA_CANCELACION;\n }","title":""},{"docid":"755b04bf909844a4399b261c765716fb","score":"0.62064856","text":"public void setCancelDate(Number value) {\n setAttributeInternal(CANCELDATE, value);\n }","title":""},{"docid":"42d4de2cfd0aa0b5184e96e7abc1604d","score":"0.5926401","text":"public void setCancel_date(java.util.Calendar cancel_date) {\n this.cancel_date = cancel_date;\n }","title":""},{"docid":"7c9cb345ef65321d74e403dd12ad7651","score":"0.5820205","text":"public String getCANCELLED_BY() {\r\n return CANCELLED_BY;\r\n }","title":""},{"docid":"405233fb48c517c9b7a8fcdca472302c","score":"0.58025134","text":"public void setDATE_CANCELLED(Date DATE_CANCELLED) {\r\n this.DATE_CANCELLED = DATE_CANCELLED;\r\n }","title":""},{"docid":"1271288ad0369e621e7464b584a0ad86","score":"0.55394775","text":"public java.lang.String getCancel_reason() {\n return cancel_reason;\n }","title":""},{"docid":"2cf031c211d89fab4a1067946f310b28","score":"0.5458413","text":"public String getCancellationUser() {\n return (String) getAttributeInternal(CANCELLATIONUSER);\n }","title":""},{"docid":"5749a4eb67486fe55b2f83236af9449c","score":"0.5417831","text":"public Date getDATE_CANCELLED_INIT() {\r\n return DATE_CANCELLED_INIT;\r\n }","title":""},{"docid":"eb5d6cc21ced5f43a9e43724759df8e7","score":"0.5410248","text":"public void setFECHA_CANCELACION(Date FECHA_CANCELACION) {\n this.FECHA_CANCELACION = FECHA_CANCELACION;\n }","title":""},{"docid":"e65371741d85b2614e56dd7beed90346","score":"0.53693193","text":"@XHR\n public Object onCancelFromCancel()\n {\n CaptureResultCallback callback = new CaptureResultCallback();\n resources.triggerEvent(TawusEvents.CANCEL, null, callback);\n if(callback.getResult() != null)\n {\n return callback.getResult();\n }\n\n return returnValue(ActionType.CANCEL);\n }","title":""},{"docid":"ecd683981bf8484d441cbc67f8d63506","score":"0.5343043","text":"public String getCanceltype() {\n return canceltype;\n }","title":""},{"docid":"3a2aa64e067d9b65d86ddea33ed65bdc","score":"0.51881105","text":"public java.lang.String getCanceledByName() {\r\n return canceledByName;\r\n }","title":""},{"docid":"08231b4a00454efb0f479fa03ac007ce","score":"0.5149189","text":"public Date getConfirm_in_date() {\n return confirm_in_date;\n }","title":""},{"docid":"4e7fa3d4089c74c374b1aa99ed1eca2b","score":"0.5000328","text":"public java.lang.String getCanceledBy() {\r\n return canceledBy;\r\n }","title":""},{"docid":"525352e7b6ff11edddfae9780bcc4579","score":"0.49397993","text":"public int getCancelBillResult() {\n return cancelBillResult;\n }","title":""},{"docid":"b49179026646f4290d5fca03fbadfb4b","score":"0.49248606","text":"public static String getContractCommissionEndDateString(Record record){\r\n return record.getStringValue(CONTRACT_COMMISSION_EFFECTIVE_END_DATE);\r\n }","title":""},{"docid":"1139652c4b6701eb6b69930b4ee47147","score":"0.49184307","text":"public String getCdReopenDate() {\r\n return cdReopenDate;\r\n }","title":""},{"docid":"91cdb810a205c53165abed74fd680980","score":"0.48911777","text":"org.apache.xmlbeans.XmlString xgetArrivedondate();","title":""},{"docid":"2936b2034ceff800a6072c1e2e270534","score":"0.48691106","text":"public String getDateAccepted() {\n\t\treturn dateAccepted;\n\t}","title":""},{"docid":"28728dddfe342b0a25340c51ad25b4b5","score":"0.48595393","text":"public Date getDATE_REJECTED() {\r\n return DATE_REJECTED;\r\n }","title":""},{"docid":"28728dddfe342b0a25340c51ad25b4b5","score":"0.48595393","text":"public Date getDATE_REJECTED() {\r\n return DATE_REJECTED;\r\n }","title":""},{"docid":"28728dddfe342b0a25340c51ad25b4b5","score":"0.48595393","text":"public Date getDATE_REJECTED() {\r\n return DATE_REJECTED;\r\n }","title":""},{"docid":"31b6f5e40f2d20a724d362876fc9559b","score":"0.48514286","text":"public Date getConsentWithdrawnDate(final SessionContext ctx)\n\t{\n\t\treturn (Date)getProperty( ctx, CONSENTWITHDRAWNDATE);\n\t}","title":""},{"docid":"ac327a155786880dea3e4b275aa9a6bc","score":"0.48307064","text":"public Date getCdate() {\n return cdate;\n }","title":""},{"docid":"72bdd2267db1ecffe035dd9c31f8da5b","score":"0.48241168","text":"public Date getApprovedDate() {\n return (Date)getAttributeInternal(APPROVEDDATE);\n }","title":""},{"docid":"a2d33ae5642c22899650bfdb37f383c2","score":"0.48221523","text":"public java.lang.String getCancelURL() {\r\n return cancelURL;\r\n }","title":""},{"docid":"9c6a015cdf81d7d95a06ffd89a023470","score":"0.48173758","text":"public JButton getButtonCancel() {\n return this.buttonCancel;\n }","title":""},{"docid":"cc3d8295d75fe9446f2faca2f0144442","score":"0.4810879","text":"public void setCANCELLED_BY(String CANCELLED_BY) {\r\n this.CANCELLED_BY = CANCELLED_BY == null ? null : CANCELLED_BY.trim();\r\n }","title":""},{"docid":"a22922f25931da56fcad004176f08bd7","score":"0.47981748","text":"public Date dameFechaContrato() {\r\n\t\t\r\n\t\treturn altaContrato;\r\n\t}","title":""},{"docid":"79b942e4d426ea033665e2e80331cc43","score":"0.4795471","text":"public java.util.Calendar getCloseDate(){\r\n return localCloseDate;\r\n }","title":""},{"docid":"716fa67ef169422bbf8d9f21786962bb","score":"0.47743165","text":"public Date getConsentWithdrawnDate()\n\t{\n\t\treturn getConsentWithdrawnDate( getSession().getSessionContext() );\n\t}","title":""},{"docid":"6b5adb16820e458d79131bfdaae32f7d","score":"0.4735633","text":"@ApiModelProperty(required = true, value = \"contract date of the rate for item with the supplier.Date in epoc format. \")\n @NotNull\n\n\n public Long getRateContractDate() {\n return rateContractDate;\n }","title":""},{"docid":"c4f09674c1a070fa004a485e54b5e30a","score":"0.47288063","text":"public Date getOcCReqDt() {\n return ocCReqDt;\n }","title":""},{"docid":"954ae25def3494564a322801fdfd9528","score":"0.47186592","text":"public Date getCIF_STATUS_DATE() {\r\n return CIF_STATUS_DATE;\r\n }","title":""},{"docid":"ff6aca9ff55eb78b4b91f05a346d2390","score":"0.4710011","text":"String getValueDate();","title":""},{"docid":"862162ee01e042e575f5e47a6118a9bb","score":"0.47032875","text":"public String getIdEffectiveDt() {\n return id_effective_dt;\n }","title":""},{"docid":"b86a60ecb02459d4cbd3827b56f4d961","score":"0.4692175","text":"public Date getDATE_DEACTIVATED() {\r\n return DATE_DEACTIVATED;\r\n }","title":""},{"docid":"a53b236c15fea3069a79d93aa2d6a2bb","score":"0.46862957","text":"java.lang.String getArrivedondate();","title":""},{"docid":"f65d5b8a3e6ded0e9e6b07f90a464d79","score":"0.46852243","text":"public Date getRejecteddate() {\n return rejecteddate;\n }","title":""},{"docid":"9da079f2c659e68c09360f10eeed0c9f","score":"0.46810216","text":"public static Date getContractCommissionEndDate(Record record){\r\n return record.getDateValue(CONTRACT_COMMISSION_EFFECTIVE_END_DATE);\r\n }","title":""},{"docid":"c302397d468515cd19e4b0fe49d055f9","score":"0.46795085","text":"public String getStatus() {\n String status=(String) getAttributeInternal(STATUS);\n \n if(status==null)\n {\n if(getCancellationUser()!=null && getCancelDate()!=null)\n {\n status=\"تسویه\";\n setStatus(status);\n }\n else {\n status=\"فعال\";\n setStatus(status);\n }\n }\n System.out.println(status);\n return status;\n }","title":""},{"docid":"7f5a27dfb07ce9a83b1db184a94d4552","score":"0.46773323","text":"public void setDATE_CANCELLED_INIT(Date DATE_CANCELLED_INIT) {\r\n this.DATE_CANCELLED_INIT = DATE_CANCELLED_INIT;\r\n }","title":""},{"docid":"6188622cdf60f6aacebb4b353a0e5ef5","score":"0.4673104","text":"public java.sql.Date getContractDate() {\n\treturn contractDate;\n}","title":""},{"docid":"23c335cfcba864be31362a2f929a4aea","score":"0.46693668","text":"public String getCloseDate() {\r\n return closeDate;\r\n }","title":""},{"docid":"c1e7e7cfe5ec6842c799cebcbeb3fd82","score":"0.46689168","text":"public String getIdEffectiveDt() {\n return id_effective_dt;\n }","title":""},{"docid":"8de0dc0bc698fffaacf6b29fd57cbe95","score":"0.4658726","text":"public Date getEFFECTIVE_DATE() {\r\n return EFFECTIVE_DATE;\r\n }","title":""},{"docid":"430036bd43fd5541ffde56c4e19ec7ea","score":"0.46579027","text":"public static String getContractEffectiveEndDateString(Record record){\r\n return record.getStringValue(CONTRACT_EFFECTIVE_END_DATE);\r\n }","title":""},{"docid":"f0fdcdc5c371f4179640bd55325a97a7","score":"0.4657186","text":"public java.util.Calendar getIssue_close_date() {\n return issue_close_date;\n }","title":""},{"docid":"bd83e681f397bff781a021a2abe4bab2","score":"0.46562687","text":"public java.util.Calendar getLastClicked()\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(LASTCLICKED$0, 0);\n if (target == null)\n {\n return null;\n }\n return target.getCalendarValue();\n }\n }","title":""},{"docid":"951785ea99023ef7f269a7b13bc99bee","score":"0.46552637","text":"public Date getcDate() {\n return cDate;\n }","title":""},{"docid":"1aba4d5cf7611cd5ccf762153f264e58","score":"0.46532536","text":"public static Date getContractCommissionStartDate(Record record){\r\n return record.getDateValue(CONTRACT_COMMISSION_EFFECTIVE_START_DATE);\r\n }","title":""},{"docid":"398157d07b5b7cb752d44168c7e7b36e","score":"0.4637292","text":"public Date getClosingDate();","title":""},{"docid":"ae2f24f83953d7bddeb4c43c8dd12afa","score":"0.4634326","text":"public Number getReceiptDate() {\n return (Number) getAttributeInternal(RECEIPTDATE);\n }","title":""},{"docid":"135e4fddb994865a17ee94a2b312c838","score":"0.4632373","text":"public String getButApprove() {\n return (String) getAttributeInternal(BUTAPPROVE);\n }","title":""},{"docid":"c4e45cd0a4e45e67d87b10de4da83863","score":"0.46228868","text":"public Date getAPPROVED_DATE()\r\n {\r\n\treturn APPROVED_DATE;\r\n }","title":""},{"docid":"e7410f9ec16dae7bd122d9306a962f3b","score":"0.46020368","text":"public LocalDate bCv() {\n return this.dateTime.bCv();\n }","title":""},{"docid":"f106fb2e71058a86dfb7dab573a28de5","score":"0.4591525","text":"public int getCharge_on_cancellation() {\n return charge_on_cancellation;\n }","title":""},{"docid":"f128963485010e00bfaabe14888ecd25","score":"0.45858416","text":"public java.util.Calendar getActionDate() {\n return actionDate;\n }","title":""},{"docid":"47c9f889e26a68cfa6f9685844bbe8f9","score":"0.45839167","text":"public String getEditorCancelCaption() {\n return getState(false).editorCancelCaption;\n }","title":""},{"docid":"c1be38a81dd60182c191fe6646b64915","score":"0.4576802","text":"@gw.internal.gosu.parser.ExtendedProperty\n public entity.DateCriterionChoice getDateCriterionChoice() {\n return (entity.DateCriterionChoice)__getInternalInterface().getFieldValue(DATECRITERIONCHOICE_PROP.get());\n }","title":""},{"docid":"f1c563d5d34c47c354f508ac7ccc2abe","score":"0.45629373","text":"public static String getPayCommissionEffectiveEndDateString(Record record){\r\n return record.getStringValue(PAY_COMMISSION_EFFECTIVE_END_DATE);\r\n }","title":""},{"docid":"fbcfddb756602ed395732912b5d96fad","score":"0.45486933","text":"@gw.internal.gosu.parser.ExtendedProperty\n public entity.DateCriterionChoice getDateCriterionChoice() {\n return (entity.DateCriterionChoice)__getInternalInterface().getFieldValue(DATECRITERIONCHOICE_PROP.get());\n }","title":""},{"docid":"d2e572e4b60e7a71013afaa63e667718","score":"0.45483983","text":"public Date getDATE_REQUESTED() {\r\n return DATE_REQUESTED;\r\n }","title":""},{"docid":"5e5fab1ab35f821f06d0282e68c10719","score":"0.4543522","text":"public Date getDATE_APPROVED() {\r\n return DATE_APPROVED;\r\n }","title":""},{"docid":"5e5fab1ab35f821f06d0282e68c10719","score":"0.4543522","text":"public Date getDATE_APPROVED() {\r\n return DATE_APPROVED;\r\n }","title":""},{"docid":"5e5fab1ab35f821f06d0282e68c10719","score":"0.4543522","text":"public Date getDATE_APPROVED() {\r\n return DATE_APPROVED;\r\n }","title":""},{"docid":"c4f5792e71d238bac6ad1dcb49a8d1d0","score":"0.4541888","text":"public String getSysDateRec() {\r\n return (String) getAttributeInternal(SYSDATEREC);\r\n }","title":""},{"docid":"2632f34ebb1e4f439c3cc3a8d5b026b2","score":"0.4537955","text":"public String getCompletionDateOfStyle() {\n return completionDateOfStyle;\n }","title":""},{"docid":"23118a819283d40dff06c7e4f540cd31","score":"0.45233536","text":"public void setCancel_reason(java.lang.String cancel_reason) {\n this.cancel_reason = cancel_reason;\n }","title":""},{"docid":"b52fecec478e764d435edcc598bbc2ee","score":"0.45156643","text":"public DateTO getAdverseActionDate() {\n\t\treturn adverseActionDate;\n\t}","title":""},{"docid":"04c17875f66c4663917dbf09d2bbd32f","score":"0.45101622","text":"IfcCalendarDate getDateComponent();","title":""},{"docid":"e7ed25d46f8b5881dd429c467e6eb9b4","score":"0.45080382","text":"public Date getDATE_APPROVED1()\r\n {\r\n\treturn DATE_APPROVED1;\r\n }","title":""},{"docid":"c49b6c27a589880769afd73eb5f72e09","score":"0.45061293","text":"public Date getDATE_APPLIED() {\r\n return DATE_APPLIED;\r\n }","title":""},{"docid":"de7ff772ee7b8313fab20dad5ff08a29","score":"0.45043194","text":"public Date getDELIVERED_DATE() {\r\n return DELIVERED_DATE;\r\n }","title":""},{"docid":"b0236db4ffbccc6c29abc524f0703a9a","score":"0.45022848","text":"public Date gettConfirm() {\n return tConfirm;\n }","title":""},{"docid":"d277620d413156f879b03ece4c0a5b37","score":"0.44996592","text":"Date getDateValue();","title":""},{"docid":"8772e3f0041c7a5508f09a4fb4ec4c0d","score":"0.4498817","text":"org.apache.xmlbeans.XmlDate xgetCheckin();","title":""},{"docid":"d3e4867d05a657b6ac66703f3cad4074","score":"0.44960588","text":"public com.google.protobuf.ByteString getCancelInfo() {\n return cancelInfo_;\n }","title":""},{"docid":"7f3f02d4e654c962389fb0c26909a87b","score":"0.44956535","text":"public Date getRespondedDate() {\r\n return (Date)getAttributeInternal(RESPONDEDDATE);\r\n }","title":""},{"docid":"bdd3f8ce2827f2dca5dbf33687c76c23","score":"0.4493639","text":"public Date getOcRReqDt() {\n return ocRReqDt;\n }","title":""},{"docid":"f3cd0a4171a2e31ceb3adca1c902b6af","score":"0.44916412","text":"public Date getRemovedDate() {\n return (Date)getAttributeInternal(REMOVEDDATE);\n }","title":""},{"docid":"ce8620eca87af1f0834c4d4fc5c11110","score":"0.44912428","text":"void setCancelReason(String cancelReason);","title":""},{"docid":"cf3ccd8b12abfb242328db061b415992","score":"0.44874915","text":"@Column(name = \"CD_CONTRATO\")\n\t@Override\n\tpublic String getCdContrato() {\n\t\treturn super.getCdContrato();\n\t}","title":""},{"docid":"0282042b070c061ad421fdd4f1c95d13","score":"0.4479443","text":"public Date getDATE_REACTIVATED()\r\n {\r\n\treturn DATE_REACTIVATED;\r\n }","title":""},{"docid":"7a835787df3a987600ef9e684b7c9db1","score":"0.44722715","text":"public String btncancelar_action() {\n return \"ccancelar\";\n }","title":""},{"docid":"b968f03b640a39c15cfd4e7f8c132b4b","score":"0.4470326","text":"org.apache.xmlbeans.XmlString xgetDateOfClaim();","title":""},{"docid":"c03bdc47df05e4c480d65cf7b157eebf","score":"0.44639295","text":"public java.lang.String getVaccinateDateDesc()\n {\n return this._vaccinateDateDesc;\n }","title":""},{"docid":"77066331a84b5c419509791066e15a0f","score":"0.4459522","text":"public com.google.protobuf.ByteString getCancelInfo() {\n return cancelInfo_;\n }","title":""},{"docid":"f77c1b7e853cd3b42ccb3e7effb7538b","score":"0.44570667","text":"public CancelCheckOutAction getCancelCheckOutAction()\n\t{\n\n\t\treturn this.cancelCheckOutAction;\n\t}","title":""},{"docid":"81301c9777d58c7e0d67df63e578040f","score":"0.44534913","text":"public JButton getCancelButton()\n/* */ {\n/* 517 */ return this.cancelButton;\n/* */ }","title":""},{"docid":"d22c8f6d9791bbb79c8fce4193c6ebd8","score":"0.44515875","text":"public javax.swing.JButton getBtnCancelar() {\n return btnCancelar;\n }","title":""},{"docid":"f107f26bbed268c0a26decef75348b99","score":"0.4440613","text":"public java.lang.String getContractValidDate() {\r\n return contractValidDate;\r\n }","title":""},{"docid":"3d2faa469e1c6d6a8dd8317df46bc01f","score":"0.44401988","text":"public java.lang.String getContractExpiredDate() {\r\n return contractExpiredDate;\r\n }","title":""},{"docid":"da4c2a30c7a68df87a115fe05aec8e4e","score":"0.44387832","text":"public String getCANCELLED_INIT() {\r\n return CANCELLED_INIT;\r\n }","title":""},{"docid":"9f448cd5d65875315c9b617f3f8e715b","score":"0.44365996","text":"public java.util.Date getDateOfAdoption () {\n\t\treturn dateOfAdoption;\n\t}","title":""},{"docid":"d0694e3587ea4f398d1bea4d8e6cd462","score":"0.44350982","text":"public String getButReject() {\n return (String) getAttributeInternal(BUTREJECT);\n }","title":""},{"docid":"ec946ea26ce8e9180d23762078391d51","score":"0.44332033","text":"public java.lang.String getBIndPersCancelHist()\r\n {\r\n return this._bIndPersCancelHist;\r\n }","title":""},{"docid":"a1d5f3fcc9175cfa0f764606890172d7","score":"0.44319075","text":"public Date getDATE_ACTIVATED() {\r\n return DATE_ACTIVATED;\r\n }","title":""}],"string":"[\n {\n \"docid\": \"76ad5da58642c51751faa3892cb24ed4\",\n \"score\": \"0.6950834\",\n \"text\": \"public java.util.Calendar getCancel_date() {\\n return cancel_date;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"24dee986f539c7fddec60b16f4eef07b\",\n \"score\": \"0.64515454\",\n \"text\": \"public Date getDATE_CANCELLED() {\\r\\n return DATE_CANCELLED;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"28e0dd0af4c0b7471e93a744216043bd\",\n \"score\": \"0.63134235\",\n \"text\": \"public Date getFECHA_CANCELACION() {\\n return FECHA_CANCELACION;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"755b04bf909844a4399b261c765716fb\",\n \"score\": \"0.62064856\",\n \"text\": \"public void setCancelDate(Number value) {\\n setAttributeInternal(CANCELDATE, value);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42d4de2cfd0aa0b5184e96e7abc1604d\",\n \"score\": \"0.5926401\",\n \"text\": \"public void setCancel_date(java.util.Calendar cancel_date) {\\n this.cancel_date = cancel_date;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7c9cb345ef65321d74e403dd12ad7651\",\n \"score\": \"0.5820205\",\n \"text\": \"public String getCANCELLED_BY() {\\r\\n return CANCELLED_BY;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"405233fb48c517c9b7a8fcdca472302c\",\n \"score\": \"0.58025134\",\n \"text\": \"public void setDATE_CANCELLED(Date DATE_CANCELLED) {\\r\\n this.DATE_CANCELLED = DATE_CANCELLED;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1271288ad0369e621e7464b584a0ad86\",\n \"score\": \"0.55394775\",\n \"text\": \"public java.lang.String getCancel_reason() {\\n return cancel_reason;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2cf031c211d89fab4a1067946f310b28\",\n \"score\": \"0.5458413\",\n \"text\": \"public String getCancellationUser() {\\n return (String) getAttributeInternal(CANCELLATIONUSER);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5749a4eb67486fe55b2f83236af9449c\",\n \"score\": \"0.5417831\",\n \"text\": \"public Date getDATE_CANCELLED_INIT() {\\r\\n return DATE_CANCELLED_INIT;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eb5d6cc21ced5f43a9e43724759df8e7\",\n \"score\": \"0.5410248\",\n \"text\": \"public void setFECHA_CANCELACION(Date FECHA_CANCELACION) {\\n this.FECHA_CANCELACION = FECHA_CANCELACION;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e65371741d85b2614e56dd7beed90346\",\n \"score\": \"0.53693193\",\n \"text\": \"@XHR\\n public Object onCancelFromCancel()\\n {\\n CaptureResultCallback callback = new CaptureResultCallback();\\n resources.triggerEvent(TawusEvents.CANCEL, null, callback);\\n if(callback.getResult() != null)\\n {\\n return callback.getResult();\\n }\\n\\n return returnValue(ActionType.CANCEL);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ecd683981bf8484d441cbc67f8d63506\",\n \"score\": \"0.5343043\",\n \"text\": \"public String getCanceltype() {\\n return canceltype;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a2aa64e067d9b65d86ddea33ed65bdc\",\n \"score\": \"0.51881105\",\n \"text\": \"public java.lang.String getCanceledByName() {\\r\\n return canceledByName;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"08231b4a00454efb0f479fa03ac007ce\",\n \"score\": \"0.5149189\",\n \"text\": \"public Date getConfirm_in_date() {\\n return confirm_in_date;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4e7fa3d4089c74c374b1aa99ed1eca2b\",\n \"score\": \"0.5000328\",\n \"text\": \"public java.lang.String getCanceledBy() {\\r\\n return canceledBy;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"525352e7b6ff11edddfae9780bcc4579\",\n \"score\": \"0.49397993\",\n \"text\": \"public int getCancelBillResult() {\\n return cancelBillResult;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b49179026646f4290d5fca03fbadfb4b\",\n \"score\": \"0.49248606\",\n \"text\": \"public static String getContractCommissionEndDateString(Record record){\\r\\n return record.getStringValue(CONTRACT_COMMISSION_EFFECTIVE_END_DATE);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1139652c4b6701eb6b69930b4ee47147\",\n \"score\": \"0.49184307\",\n \"text\": \"public String getCdReopenDate() {\\r\\n return cdReopenDate;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"91cdb810a205c53165abed74fd680980\",\n \"score\": \"0.48911777\",\n \"text\": \"org.apache.xmlbeans.XmlString xgetArrivedondate();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2936b2034ceff800a6072c1e2e270534\",\n \"score\": \"0.48691106\",\n \"text\": \"public String getDateAccepted() {\\n\\t\\treturn dateAccepted;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"28728dddfe342b0a25340c51ad25b4b5\",\n \"score\": \"0.48595393\",\n \"text\": \"public Date getDATE_REJECTED() {\\r\\n return DATE_REJECTED;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"28728dddfe342b0a25340c51ad25b4b5\",\n \"score\": \"0.48595393\",\n \"text\": \"public Date getDATE_REJECTED() {\\r\\n return DATE_REJECTED;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"28728dddfe342b0a25340c51ad25b4b5\",\n \"score\": \"0.48595393\",\n \"text\": \"public Date getDATE_REJECTED() {\\r\\n return DATE_REJECTED;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"31b6f5e40f2d20a724d362876fc9559b\",\n \"score\": \"0.48514286\",\n \"text\": \"public Date getConsentWithdrawnDate(final SessionContext ctx)\\n\\t{\\n\\t\\treturn (Date)getProperty( ctx, CONSENTWITHDRAWNDATE);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ac327a155786880dea3e4b275aa9a6bc\",\n \"score\": \"0.48307064\",\n \"text\": \"public Date getCdate() {\\n return cdate;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"72bdd2267db1ecffe035dd9c31f8da5b\",\n \"score\": \"0.48241168\",\n \"text\": \"public Date getApprovedDate() {\\n return (Date)getAttributeInternal(APPROVEDDATE);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2d33ae5642c22899650bfdb37f383c2\",\n \"score\": \"0.48221523\",\n \"text\": \"public java.lang.String getCancelURL() {\\r\\n return cancelURL;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9c6a015cdf81d7d95a06ffd89a023470\",\n \"score\": \"0.48173758\",\n \"text\": \"public JButton getButtonCancel() {\\n return this.buttonCancel;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cc3d8295d75fe9446f2faca2f0144442\",\n \"score\": \"0.4810879\",\n \"text\": \"public void setCANCELLED_BY(String CANCELLED_BY) {\\r\\n this.CANCELLED_BY = CANCELLED_BY == null ? null : CANCELLED_BY.trim();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a22922f25931da56fcad004176f08bd7\",\n \"score\": \"0.47981748\",\n \"text\": \"public Date dameFechaContrato() {\\r\\n\\t\\t\\r\\n\\t\\treturn altaContrato;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"79b942e4d426ea033665e2e80331cc43\",\n \"score\": \"0.4795471\",\n \"text\": \"public java.util.Calendar getCloseDate(){\\r\\n return localCloseDate;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"716fa67ef169422bbf8d9f21786962bb\",\n \"score\": \"0.47743165\",\n \"text\": \"public Date getConsentWithdrawnDate()\\n\\t{\\n\\t\\treturn getConsentWithdrawnDate( getSession().getSessionContext() );\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6b5adb16820e458d79131bfdaae32f7d\",\n \"score\": \"0.4735633\",\n \"text\": \"@ApiModelProperty(required = true, value = \\\"contract date of the rate for item with the supplier.Date in epoc format. \\\")\\n @NotNull\\n\\n\\n public Long getRateContractDate() {\\n return rateContractDate;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c4f09674c1a070fa004a485e54b5e30a\",\n \"score\": \"0.47288063\",\n \"text\": \"public Date getOcCReqDt() {\\n return ocCReqDt;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"954ae25def3494564a322801fdfd9528\",\n \"score\": \"0.47186592\",\n \"text\": \"public Date getCIF_STATUS_DATE() {\\r\\n return CIF_STATUS_DATE;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ff6aca9ff55eb78b4b91f05a346d2390\",\n \"score\": \"0.4710011\",\n \"text\": \"String getValueDate();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"862162ee01e042e575f5e47a6118a9bb\",\n \"score\": \"0.47032875\",\n \"text\": \"public String getIdEffectiveDt() {\\n return id_effective_dt;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b86a60ecb02459d4cbd3827b56f4d961\",\n \"score\": \"0.4692175\",\n \"text\": \"public Date getDATE_DEACTIVATED() {\\r\\n return DATE_DEACTIVATED;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a53b236c15fea3069a79d93aa2d6a2bb\",\n \"score\": \"0.46862957\",\n \"text\": \"java.lang.String getArrivedondate();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f65d5b8a3e6ded0e9e6b07f90a464d79\",\n \"score\": \"0.46852243\",\n \"text\": \"public Date getRejecteddate() {\\n return rejecteddate;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9da079f2c659e68c09360f10eeed0c9f\",\n \"score\": \"0.46810216\",\n \"text\": \"public static Date getContractCommissionEndDate(Record record){\\r\\n return record.getDateValue(CONTRACT_COMMISSION_EFFECTIVE_END_DATE);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c302397d468515cd19e4b0fe49d055f9\",\n \"score\": \"0.46795085\",\n \"text\": \"public String getStatus() {\\n String status=(String) getAttributeInternal(STATUS);\\n \\n if(status==null)\\n {\\n if(getCancellationUser()!=null && getCancelDate()!=null)\\n {\\n status=\\\"تسویه\\\";\\n setStatus(status);\\n }\\n else {\\n status=\\\"فعال\\\";\\n setStatus(status);\\n }\\n }\\n System.out.println(status);\\n return status;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7f5a27dfb07ce9a83b1db184a94d4552\",\n \"score\": \"0.46773323\",\n \"text\": \"public void setDATE_CANCELLED_INIT(Date DATE_CANCELLED_INIT) {\\r\\n this.DATE_CANCELLED_INIT = DATE_CANCELLED_INIT;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6188622cdf60f6aacebb4b353a0e5ef5\",\n \"score\": \"0.4673104\",\n \"text\": \"public java.sql.Date getContractDate() {\\n\\treturn contractDate;\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"23c335cfcba864be31362a2f929a4aea\",\n \"score\": \"0.46693668\",\n \"text\": \"public String getCloseDate() {\\r\\n return closeDate;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c1e7e7cfe5ec6842c799cebcbeb3fd82\",\n \"score\": \"0.46689168\",\n \"text\": \"public String getIdEffectiveDt() {\\n return id_effective_dt;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8de0dc0bc698fffaacf6b29fd57cbe95\",\n \"score\": \"0.4658726\",\n \"text\": \"public Date getEFFECTIVE_DATE() {\\r\\n return EFFECTIVE_DATE;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"430036bd43fd5541ffde56c4e19ec7ea\",\n \"score\": \"0.46579027\",\n \"text\": \"public static String getContractEffectiveEndDateString(Record record){\\r\\n return record.getStringValue(CONTRACT_EFFECTIVE_END_DATE);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f0fdcdc5c371f4179640bd55325a97a7\",\n \"score\": \"0.4657186\",\n \"text\": \"public java.util.Calendar getIssue_close_date() {\\n return issue_close_date;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bd83e681f397bff781a021a2abe4bab2\",\n \"score\": \"0.46562687\",\n \"text\": \"public java.util.Calendar getLastClicked()\\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(LASTCLICKED$0, 0);\\n if (target == null)\\n {\\n return null;\\n }\\n return target.getCalendarValue();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"951785ea99023ef7f269a7b13bc99bee\",\n \"score\": \"0.46552637\",\n \"text\": \"public Date getcDate() {\\n return cDate;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1aba4d5cf7611cd5ccf762153f264e58\",\n \"score\": \"0.46532536\",\n \"text\": \"public static Date getContractCommissionStartDate(Record record){\\r\\n return record.getDateValue(CONTRACT_COMMISSION_EFFECTIVE_START_DATE);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"398157d07b5b7cb752d44168c7e7b36e\",\n \"score\": \"0.4637292\",\n \"text\": \"public Date getClosingDate();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae2f24f83953d7bddeb4c43c8dd12afa\",\n \"score\": \"0.4634326\",\n \"text\": \"public Number getReceiptDate() {\\n return (Number) getAttributeInternal(RECEIPTDATE);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"135e4fddb994865a17ee94a2b312c838\",\n \"score\": \"0.4632373\",\n \"text\": \"public String getButApprove() {\\n return (String) getAttributeInternal(BUTAPPROVE);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c4e45cd0a4e45e67d87b10de4da83863\",\n \"score\": \"0.46228868\",\n \"text\": \"public Date getAPPROVED_DATE()\\r\\n {\\r\\n\\treturn APPROVED_DATE;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e7410f9ec16dae7bd122d9306a962f3b\",\n \"score\": \"0.46020368\",\n \"text\": \"public LocalDate bCv() {\\n return this.dateTime.bCv();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f106fb2e71058a86dfb7dab573a28de5\",\n \"score\": \"0.4591525\",\n \"text\": \"public int getCharge_on_cancellation() {\\n return charge_on_cancellation;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f128963485010e00bfaabe14888ecd25\",\n \"score\": \"0.45858416\",\n \"text\": \"public java.util.Calendar getActionDate() {\\n return actionDate;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47c9f889e26a68cfa6f9685844bbe8f9\",\n \"score\": \"0.45839167\",\n \"text\": \"public String getEditorCancelCaption() {\\n return getState(false).editorCancelCaption;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c1be38a81dd60182c191fe6646b64915\",\n \"score\": \"0.4576802\",\n \"text\": \"@gw.internal.gosu.parser.ExtendedProperty\\n public entity.DateCriterionChoice getDateCriterionChoice() {\\n return (entity.DateCriterionChoice)__getInternalInterface().getFieldValue(DATECRITERIONCHOICE_PROP.get());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1c563d5d34c47c354f508ac7ccc2abe\",\n \"score\": \"0.45629373\",\n \"text\": \"public static String getPayCommissionEffectiveEndDateString(Record record){\\r\\n return record.getStringValue(PAY_COMMISSION_EFFECTIVE_END_DATE);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fbcfddb756602ed395732912b5d96fad\",\n \"score\": \"0.45486933\",\n \"text\": \"@gw.internal.gosu.parser.ExtendedProperty\\n public entity.DateCriterionChoice getDateCriterionChoice() {\\n return (entity.DateCriterionChoice)__getInternalInterface().getFieldValue(DATECRITERIONCHOICE_PROP.get());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d2e572e4b60e7a71013afaa63e667718\",\n \"score\": \"0.45483983\",\n \"text\": \"public Date getDATE_REQUESTED() {\\r\\n return DATE_REQUESTED;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e5fab1ab35f821f06d0282e68c10719\",\n \"score\": \"0.4543522\",\n \"text\": \"public Date getDATE_APPROVED() {\\r\\n return DATE_APPROVED;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e5fab1ab35f821f06d0282e68c10719\",\n \"score\": \"0.4543522\",\n \"text\": \"public Date getDATE_APPROVED() {\\r\\n return DATE_APPROVED;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e5fab1ab35f821f06d0282e68c10719\",\n \"score\": \"0.4543522\",\n \"text\": \"public Date getDATE_APPROVED() {\\r\\n return DATE_APPROVED;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c4f5792e71d238bac6ad1dcb49a8d1d0\",\n \"score\": \"0.4541888\",\n \"text\": \"public String getSysDateRec() {\\r\\n return (String) getAttributeInternal(SYSDATEREC);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2632f34ebb1e4f439c3cc3a8d5b026b2\",\n \"score\": \"0.4537955\",\n \"text\": \"public String getCompletionDateOfStyle() {\\n return completionDateOfStyle;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"23118a819283d40dff06c7e4f540cd31\",\n \"score\": \"0.45233536\",\n \"text\": \"public void setCancel_reason(java.lang.String cancel_reason) {\\n this.cancel_reason = cancel_reason;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b52fecec478e764d435edcc598bbc2ee\",\n \"score\": \"0.45156643\",\n \"text\": \"public DateTO getAdverseActionDate() {\\n\\t\\treturn adverseActionDate;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"04c17875f66c4663917dbf09d2bbd32f\",\n \"score\": \"0.45101622\",\n \"text\": \"IfcCalendarDate getDateComponent();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e7ed25d46f8b5881dd429c467e6eb9b4\",\n \"score\": \"0.45080382\",\n \"text\": \"public Date getDATE_APPROVED1()\\r\\n {\\r\\n\\treturn DATE_APPROVED1;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c49b6c27a589880769afd73eb5f72e09\",\n \"score\": \"0.45061293\",\n \"text\": \"public Date getDATE_APPLIED() {\\r\\n return DATE_APPLIED;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"de7ff772ee7b8313fab20dad5ff08a29\",\n \"score\": \"0.45043194\",\n \"text\": \"public Date getDELIVERED_DATE() {\\r\\n return DELIVERED_DATE;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b0236db4ffbccc6c29abc524f0703a9a\",\n \"score\": \"0.45022848\",\n \"text\": \"public Date gettConfirm() {\\n return tConfirm;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d277620d413156f879b03ece4c0a5b37\",\n \"score\": \"0.44996592\",\n \"text\": \"Date getDateValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8772e3f0041c7a5508f09a4fb4ec4c0d\",\n \"score\": \"0.4498817\",\n \"text\": \"org.apache.xmlbeans.XmlDate xgetCheckin();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d3e4867d05a657b6ac66703f3cad4074\",\n \"score\": \"0.44960588\",\n \"text\": \"public com.google.protobuf.ByteString getCancelInfo() {\\n return cancelInfo_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7f3f02d4e654c962389fb0c26909a87b\",\n \"score\": \"0.44956535\",\n \"text\": \"public Date getRespondedDate() {\\r\\n return (Date)getAttributeInternal(RESPONDEDDATE);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bdd3f8ce2827f2dca5dbf33687c76c23\",\n \"score\": \"0.4493639\",\n \"text\": \"public Date getOcRReqDt() {\\n return ocRReqDt;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f3cd0a4171a2e31ceb3adca1c902b6af\",\n \"score\": \"0.44916412\",\n \"text\": \"public Date getRemovedDate() {\\n return (Date)getAttributeInternal(REMOVEDDATE);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ce8620eca87af1f0834c4d4fc5c11110\",\n \"score\": \"0.44912428\",\n \"text\": \"void setCancelReason(String cancelReason);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cf3ccd8b12abfb242328db061b415992\",\n \"score\": \"0.44874915\",\n \"text\": \"@Column(name = \\\"CD_CONTRATO\\\")\\n\\t@Override\\n\\tpublic String getCdContrato() {\\n\\t\\treturn super.getCdContrato();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0282042b070c061ad421fdd4f1c95d13\",\n \"score\": \"0.4479443\",\n \"text\": \"public Date getDATE_REACTIVATED()\\r\\n {\\r\\n\\treturn DATE_REACTIVATED;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7a835787df3a987600ef9e684b7c9db1\",\n \"score\": \"0.44722715\",\n \"text\": \"public String btncancelar_action() {\\n return \\\"ccancelar\\\";\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b968f03b640a39c15cfd4e7f8c132b4b\",\n \"score\": \"0.4470326\",\n \"text\": \"org.apache.xmlbeans.XmlString xgetDateOfClaim();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c03bdc47df05e4c480d65cf7b157eebf\",\n \"score\": \"0.44639295\",\n \"text\": \"public java.lang.String getVaccinateDateDesc()\\n {\\n return this._vaccinateDateDesc;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"77066331a84b5c419509791066e15a0f\",\n \"score\": \"0.4459522\",\n \"text\": \"public com.google.protobuf.ByteString getCancelInfo() {\\n return cancelInfo_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f77c1b7e853cd3b42ccb3e7effb7538b\",\n \"score\": \"0.44570667\",\n \"text\": \"public CancelCheckOutAction getCancelCheckOutAction()\\n\\t{\\n\\n\\t\\treturn this.cancelCheckOutAction;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"81301c9777d58c7e0d67df63e578040f\",\n \"score\": \"0.44534913\",\n \"text\": \"public JButton getCancelButton()\\n/* */ {\\n/* 517 */ return this.cancelButton;\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d22c8f6d9791bbb79c8fce4193c6ebd8\",\n \"score\": \"0.44515875\",\n \"text\": \"public javax.swing.JButton getBtnCancelar() {\\n return btnCancelar;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f107f26bbed268c0a26decef75348b99\",\n \"score\": \"0.4440613\",\n \"text\": \"public java.lang.String getContractValidDate() {\\r\\n return contractValidDate;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3d2faa469e1c6d6a8dd8317df46bc01f\",\n \"score\": \"0.44401988\",\n \"text\": \"public java.lang.String getContractExpiredDate() {\\r\\n return contractExpiredDate;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da4c2a30c7a68df87a115fe05aec8e4e\",\n \"score\": \"0.44387832\",\n \"text\": \"public String getCANCELLED_INIT() {\\r\\n return CANCELLED_INIT;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9f448cd5d65875315c9b617f3f8e715b\",\n \"score\": \"0.44365996\",\n \"text\": \"public java.util.Date getDateOfAdoption () {\\n\\t\\treturn dateOfAdoption;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d0694e3587ea4f398d1bea4d8e6cd462\",\n \"score\": \"0.44350982\",\n \"text\": \"public String getButReject() {\\n return (String) getAttributeInternal(BUTREJECT);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ec946ea26ce8e9180d23762078391d51\",\n \"score\": \"0.44332033\",\n \"text\": \"public java.lang.String getBIndPersCancelHist()\\r\\n {\\r\\n return this._bIndPersCancelHist;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1d5f3fcc9175cfa0f764606890172d7\",\n \"score\": \"0.44319075\",\n \"text\": \"public Date getDATE_ACTIVATED() {\\r\\n return DATE_ACTIVATED;\\r\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":360,"cells":{"query_id":{"kind":"string","value":"938abd1bccdfaab0c9a248d5eb979176"},"query":{"kind":"string","value":"string az = 26;"},"positive_passages":{"kind":"list like","value":[{"docid":"b68c97ca2b1283d1d16644e67ac17763","score":"0.0","text":"public java.lang.String getAz() {\n java.lang.Object ref = az_;\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 az_ = s;\n return s;\n }\n }","title":""}],"string":"[\n {\n \"docid\": \"b68c97ca2b1283d1d16644e67ac17763\",\n \"score\": \"0.0\",\n \"text\": \"public java.lang.String getAz() {\\n java.lang.Object ref = az_;\\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 az_ = s;\\n return s;\\n }\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"be3630fba2672201cd0e730bb2fbce5c","score":"0.6532291","text":"String mo34567h();","title":""},{"docid":"82ad7b6a821e38a817e4daa2d6a73d31","score":"0.64672077","text":"String mo8097a(String str);","title":""},{"docid":"1105a39c4650ba8a9930410dd58c1c3c","score":"0.6255312","text":"void mo38526a(String str);","title":""},{"docid":"02f37b253cdb2ab01c10ddc9355baf32","score":"0.6168186","text":"String mo78902e();","title":""},{"docid":"32478639118c311029cee01ee0f08c91","score":"0.6156476","text":"String mo40630a(String str);","title":""},{"docid":"f5e201a7ba2999a4bda3d9f2df857923","score":"0.61561155","text":"int mo56108e(String str);","title":""},{"docid":"1422e7396e6ce8147842064577093855","score":"0.61468774","text":"String getBasicAlphaCode();","title":""},{"docid":"a9f620444ce8e02087f0f8d6108bfe1a","score":"0.61301565","text":"C4895h mo11440a(String str);","title":""},{"docid":"4e20542b81dbc8ed8ef2178c9fe1c4b3","score":"0.6086069","text":"void mo3338a(String str);","title":""},{"docid":"ccdfdfbb4537ebea03af5a878e9bd547","score":"0.60566574","text":"Alphabet(String chars) {\n _alphabet = chars;\n }","title":""},{"docid":"148ef1e5b213d480eec99f04f1354f9e","score":"0.6048749","text":"int getUPPER();","title":""},{"docid":"056cdd6c3ea1a648f30088f17a4421aa","score":"0.6039153","text":"Alphabet(String chars) {\n _chars = chars;\n }","title":""},{"docid":"b3d71c76e4799f1bdf2a1be4814eec8f","score":"0.6031683","text":"String mo78898a();","title":""},{"docid":"cc5425bcb990ac28db0bdfe0bf04eafb","score":"0.60306555","text":"private Alphabets() {}","title":""},{"docid":"0c4aba0ea9a301323de9477f156fdede","score":"0.60264826","text":"char convertNumToLetterLocation(int n){\r\n\tchar l;\r\n\tn=n+65;\r\n\tl = (char)n;\r\n\treturn l;\r\n }","title":""},{"docid":"302dcad1033a3804e65a2362cd5c23ad","score":"0.6015967","text":"String mo34566g();","title":""},{"docid":"5772687dbc5cc7687359cf7ae2cdc161","score":"0.60093516","text":"String mo3925c();","title":""},{"docid":"8dc8ac406f0a64700d3c01bad8419fa2","score":"0.59911704","text":"void mo2768a(zzjk zzjk, String str);","title":""},{"docid":"ecf21a5e669bb4fa0bde5ab46740cf24","score":"0.59886736","text":"void mo10096a(String str, int i);","title":""},{"docid":"094455d28a7d57391c269caec15d745e","score":"0.5973714","text":"public static void main(String[] args) {\n\n String kelime = \"Merhana Dunya\";\n\n char harf = kelime.charAt(3);\n System.out.println(\"3.harf = \"+harf); // 3-> h\n\n harf = kelime.charAt(0);\n System.out.println(\"0.harf = \" + harf); //0 ->m\n\n\n\n\n\n\n\n }","title":""},{"docid":"9aba507cf79d27073908137010f22a21","score":"0.5969126","text":"String m11205a(String str);","title":""},{"docid":"58dee96da5e668825dacabef6eb20e5a","score":"0.5968113","text":"String mo46855e();","title":""},{"docid":"384cee2e38fd1e3adbc490771a766fbc","score":"0.59497625","text":"String mo60444a(String str);","title":""},{"docid":"5c5def54f384e241509fa35f34faf986","score":"0.5940262","text":"void mo24182Pa(String str);","title":""},{"docid":"7d28bfbad5a69fec1f2c4ef58d88a50c","score":"0.5911952","text":"void mo34560b(String str);","title":""},{"docid":"7f8e4eeb2a25032b0cbe8d5be28fdadb","score":"0.59067196","text":"void mo56062a(String str);","title":""},{"docid":"6570a98ddb48da6ebf45974f106e8a2b","score":"0.5876659","text":"C3667a mo27265a(String str);","title":""},{"docid":"7efc7620a70522eb67458714089056b1","score":"0.58640414","text":"public char testMethod(char letter)\n {\n return letter;\n\n }","title":""},{"docid":"e2a6b1fa166aad2b6818dbd207fd2f29","score":"0.584744","text":"String mo60448c(String str);","title":""},{"docid":"3bc7f745393d6720f54b3163deb6362f","score":"0.5825709","text":"Letters (int number, String letter){\n\t\tthis.number = number;\n\t\tthis.letter = letter;\n\t}","title":""},{"docid":"f86dd9363e93f1edee552c5e5ef08cbb","score":"0.5824916","text":"Alphabet() {\n this(\"ABCDEFGHIJKLMNOPQRSTUVWXYZ\");\n }","title":""},{"docid":"f86dd9363e93f1edee552c5e5ef08cbb","score":"0.5824916","text":"Alphabet() {\n this(\"ABCDEFGHIJKLMNOPQRSTUVWXYZ\");\n }","title":""},{"docid":"f86dd9363e93f1edee552c5e5ef08cbb","score":"0.5824916","text":"Alphabet() {\n this(\"ABCDEFGHIJKLMNOPQRSTUVWXYZ\");\n }","title":""},{"docid":"e446a4f012f67628ccd49287789a11a0","score":"0.5814199","text":"CharSequence mo78906h();","title":""},{"docid":"272aa21806ad6084b43829e761a157df","score":"0.5806379","text":"char letter() {\n return 0;\n }","title":""},{"docid":"72fc401094ebb771f37467e7fb11bdc2","score":"0.5795979","text":"include \n// Main function\nint main()\n{\n char str[100],st[100],c;\n int i,j,len;\n gets(str);\n len=strlen(str);\n for(i=0;i<26;i++)\n {\n st[i]=0;\n }\n for(i=0;i='a' && str[i]<='z')\n {\n j=str[i]-'a';\n \t st[j]++;\n }\n else if(str[i]>='A' && str[i]<='Z')\n {\n j=str[i]-'A';\n st[j]++;\n }\n }\n for(i=0;i<26;i++)\n {\n if(st[i]==0)\n printf(\"%c \",i+'a');\n }\n}","title":""},{"docid":"cb5f279754f6c8e03a22f7dbb198b4ad","score":"0.5783839","text":"void mo56096c(String str);","title":""},{"docid":"9e9da142a9ae10e8083927332c79f635","score":"0.57777286","text":"String mo34568i();","title":""},{"docid":"8cb2310a0acd367daa9153a4040663af","score":"0.57736856","text":"String mo3924b();","title":""},{"docid":"3923615f9053b8ef3cc438a596c03d4d","score":"0.57613176","text":"CharSequence mo78908i();","title":""},{"docid":"58492c21878ff79055ecf8d0d7a3c65c","score":"0.5761269","text":"void mo7843c(String str);","title":""},{"docid":"1231f1466631eab94509f6d5660da7cc","score":"0.5757971","text":"public static void main(String[] args)\n {\n int randomNumber = (int)(Math.random() * 27);\n\n // Declaring alphabet as string and assigning the value\n String alphabet = \"abcdefghijklmnopqrstuvwxyz\";\n\n // selecting the random number and display the upper case as output\n System.out.println(Character.toUpperCase(alphabet.charAt(randomNumber)));\n }","title":""},{"docid":"bc6ab727ab4577cc0eaca22ed9d34d77","score":"0.5754823","text":"String mo78914o();","title":""},{"docid":"aeec70e584eba76ca848bab1a2025a24","score":"0.575292","text":"void get_Letter(String getletters) {\n letters = getletters.toCharArray();\n }","title":""},{"docid":"64df45588d697715cdc1947421765c65","score":"0.57462835","text":"C19290j mo105117a(String str);","title":""},{"docid":"56b3106ad0d15b5681a3207e5d82dded","score":"0.57443094","text":"String mo60451e(String str);","title":""},{"docid":"d07f5ef5582fb49957466ee3e8f93f68","score":"0.57425827","text":"void mo84892a(String str);","title":""},{"docid":"b5e2b4998119c02c6e2bd97931883f66","score":"0.57424295","text":"public static void main(String [] agrs)\n {\n char character = 'a'; // This gives the character 'a'\n int ascii = (int) character;\n System.out.println(ascii);\n \n System.out.println(charToInt(\"a\"));\n \n System.out.println(intTochar(122));\n }","title":""},{"docid":"d6c924c34d5e794f3964482e43b37da1","score":"0.5727767","text":"java.lang.String getAb();","title":""},{"docid":"8354c3d846998233e85193d6154fbf36","score":"0.5723568","text":"public char getLetter(){\n return letter;\n }","title":""},{"docid":"35c49abe9e611433645b32961a734d6c","score":"0.5722663","text":"void mo1969a(String str);","title":""},{"docid":"9b50a748f2ab18df091fde264f2c47c7","score":"0.5716499","text":"public static String getRandomWord() {\r\n\tchar x = (char)((int)(Math.random()*26)+65);\r\n\tchar y = (char)((int)(Math.random()*26)+65);\r\n\tchar z = (char)((int)(Math.random()*26)+65);\r\n\tchar a = (char)((int)(Math.random()*26)+65);\r\n\tString s = \"\"+x+y+z+a;\r\n\treturn s;\r\n\t\r\n}","title":""},{"docid":"1e4e54243aee965f7a02ac6d9ae4b260","score":"0.5704544","text":"void mo15409a(String str);","title":""},{"docid":"b0520a498c1f5783891f26dee76adca7","score":"0.5703109","text":"void mo56049a(int i, String str);","title":""},{"docid":"2836b133e43fcabffae95fabb4f63b57","score":"0.5702575","text":"int mo56101d(String str);","title":""},{"docid":"3a8d86927f680eb588c46b2431f66f2c","score":"0.56937563","text":"java.lang.String getAy();","title":""},{"docid":"cbfb36dd58952e7d45f76ca9c1b7dae4","score":"0.5677928","text":"String mo31339a(int i, String str) throws Exception;","title":""},{"docid":"0ba5f417a1f0495eb2eeb232d035b4e1","score":"0.5668283","text":"public static void main(String ar[]){\n\tSystem.out.println(\"The encryption of Hey is :\"+getEncryptedString(\"HeZ\"));\r\n\tSystem.out.println(\"The encryption of Stupid is :\"+getEncryptedString(\"Stupid\"));\r\n\tSystem.out.println(\"The encryption of Lion is :\"+getEncryptedString(\"Lion\"));\r\n\r\n}","title":""},{"docid":"c82766985d2b123993222e97a8797dbd","score":"0.56669724","text":"private static void fun(String str) {\n\t\tString ans=\"\";\n\t\tans+=str.charAt(0);\n\t\tfor(int i=1;i=65 && str.charAt(i)<=90){\n\t\t\t\tSystem.out.println(ans);\n\t\t\t\tans=\"\";\n\t\t\t\tans+=str.charAt(i);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tans+=str.charAt(i);\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(ans);\n\t}","title":""},{"docid":"afab1036b099a8bb2eba2c59c0ccb6a2","score":"0.56621087","text":"public char generateRandomChar()\n { \n return ALPHABET[random.nextInt(35)];\n }","title":""},{"docid":"ae6f5a5e0ab05acc80a24e62f35b22be","score":"0.5657655","text":"void mo34562c(String str);","title":""},{"docid":"5f74a4f88b97654cd7588f142a74935b","score":"0.56549966","text":"void mo34558a(String str);","title":""},{"docid":"ef10501afff77dc62ee1e293ce503c65","score":"0.5638441","text":"public static void main(String args[]) {\n Scanner sc=new Scanner(System.in);\n String str;\n int key,i,len,val,q;\n char ch;\n str=sc.nextLine();\n key=sc.nextInt();\n StringBuilder str2=new StringBuilder(str);\n len=str2.length();\n for(i=0;i='A' && str2.charAt(i)<='Z')\n {\n val=(int)str2.charAt(i)-'A';\n if(val-key>=0)\n {\n val=val-key;\n }\n else\n {\n q=key-(val+1);\n val=25-q;\n }\n ch=(char)('A'+val);\n str2.setCharAt(i,ch);\n }\n else if(str2.charAt(i)>='a' && str2.charAt(i)<='z')\n {\n val=(int)str2.charAt(i)-'a';\n if(val-key>=0)\n {\n val=val-key;\n }\n else\n {\n q=key-(val+1);\n val=25-q;\n }\n ch=(char)('a'+val);\n str2.setCharAt(i,ch);\n }\n }\n System.out.println(str2);\n }","title":""},{"docid":"274de9b472bc57fcfab9be6796ee3aa1","score":"0.5637255","text":"public String getLetter(){\n\t\treturn letter;\n\t}","title":""},{"docid":"92f68fab4c28f99f0ed175ad634fda82","score":"0.5627684","text":"String getChrom();","title":""},{"docid":"68054299f0837c57aeaad4d8a1a4fe31","score":"0.56057537","text":"@Test\n public void testBadAlphabet() {\n Directives p = new Directives();\n p.setAlphabet(\"ABCDEFGHIJKLMNOPQRSTUVWXY\"); // no Z\n String encoded = rot13.encode(\"AOUYIEAOEY\", p);\n assertEquals(\"Alphabet too short\", \"\", encoded);\n p.setAlphabet(\"ABCDEFGHIJKLMNOPQRSTUVWXYZ1\"); // extra 1\n encoded = rot13.encode(\"AOUYIEAOEY\", p);\n assertEquals(\"Alphabet too long\", \"\", encoded);\n }","title":""},{"docid":"1dfbda7ef17860e30f10f7d8c3097c29","score":"0.55908144","text":"void mo56118g(String str);","title":""},{"docid":"4b4e225b33569af068ef2ae61bae13a6","score":"0.5579355","text":"public static void main(String[] argv){\n String a = \"aa\";\n System.out.printf(\"%d, %d\\n\", a.hashCode(), (int)a.toCharArray()[0]);\n }","title":""},{"docid":"31ccaf682810a7a6f5214a6b000a8933","score":"0.55739266","text":"@Test\n public void letterCountTest5(){\n // setup\n char c = 'a';\n String s = \"aaaaaaaaaa\";\n // expected\n int expected = 10;\n // actual\n int actual = w.countLetterInString(c, s);\n // test\n assertEquals(expected, actual);\n }","title":""},{"docid":"afefdf1d98602dc0ecf8a2534cd9f9d7","score":"0.55692315","text":"int mo56114f(String str);","title":""},{"docid":"a12cb0de2ef9f3e2703db1a8516feb0a","score":"0.55676633","text":"public String lowercase(String a){\r\n\tString str=\"\";\r\n\tfor(int i=0;i 'z'){ //z + 2 > z (ok)\n maior = palavra_Codificada.charAt(i) + k; // maior = z + 2 = 124\n auxiliar = auxiliar+(char)(alfabeto.charAt(0) + (maior -122 - 1)); //auxiliar = a + (124 - 122 - 1) = \n }\n else{\n //System.out.print(\"\\nNão Passou de Z\");\n auxiliar = auxiliar + (char)(palavra_Codificada.charAt(i) + k);\n }\n }\n System.out.print(\"\\nCodificada: \" + auxiliar);\n return auxiliar;\n }","title":""},{"docid":"2ee0a86476342f1b7e65f5c9c12f3e5d","score":"0.5493016","text":"public static void main(String[] args) {\n public char charAt(int asciiCode){\n return (char) asciiCode;\n char upper = .charAt(065)\n }\n\n for (int i = 065; asciiCode)\n\n System.out.println(upper);\n\n }","title":""},{"docid":"a4729f6489681fc8a5c4a76cc4dc4c54","score":"0.54911536","text":"private static char[] m4267z(String str) {\n char[] toCharArray = str.toCharArray();\n if (toCharArray.length < 2) {\n toCharArray[0] = (char) (toCharArray[0] ^ 35);\n }\n return toCharArray;\n }","title":""},{"docid":"ceb7d0e1ace91ea5955d7508388bb221","score":"0.5489922","text":"void mo56087b(String str);","title":""},{"docid":"76c36002c907bc1442e46068921ce354","score":"0.5486526","text":"void mo41829a(String str, int i);","title":""},{"docid":"7bbf22cc2c1e837c3117083df444c195","score":"0.54777706","text":"public static String getRandomChar()\n\t {\n\t Random _random = new Random();\n\t int num = _random.nextInt(26); // Zero to 25\n\t char let = (char)('a' + num);\n\t return String.valueOf(let);\n\t }","title":""},{"docid":"099146ac45bfbf388c39a5334567cb74","score":"0.54743624","text":"public String get_letter(){\n /*\n returns a string in the following format\n the header \"--- Legal ---\"\n the letter header\n the content\n */\n }","title":""},{"docid":"884047ea3452fc4653127503280756f1","score":"0.5473824","text":"String mo31962nh();","title":""},{"docid":"2c14974f3c2bd6210c978973640af4a5","score":"0.5473473","text":"String mo71970a();","title":""},{"docid":"37bf5f746b04f974575c562218104f64","score":"0.5469645","text":"void Ques07()\n\t{\n\t\tScanner sc=new Scanner(System.in);\n \tSystem.out.print(\"Enter String: \");\n \n \tString s=sc.nextLine();\n \tchar arr[]=s.toCharArray();\n \n \tint x[]=new int[s.length()];\n \n \tfor(int i=0;i=65 && x[i]<=90)\n \t\tSystem.out.print((char)(32+arr[i]));\n \n \telse if(x[i]>=97 && x[i]<=122)\n \t\tSystem.out.print((char)(arr[i]-32));\n \n \telse\n \t\tSystem.out.print(arr[i]);\n \t}\n \tSystem.out.println();\n\t}","title":""},{"docid":"bccb968ec913800c81f17132fbb7d12e","score":"0.5461864","text":"public static String newAlph(String ch){\n \n String new_alph= alph;\n \n if(alph.indexOf(ch) != -1){\n new_alph= alph.substring(alph.indexOf(ch))+ alph.substring(0,alph.indexOf(ch));\n }\n \n return new_alph;\n }","title":""},{"docid":"dd91917121f98d9e27f2fa0365c1c5ad","score":"0.54530793","text":"void mo3778w(String str);","title":""},{"docid":"6a9814bfa0a6086339d9211a6ef7e208","score":"0.54485905","text":"private char getLetter(int index) {\n switch (index) {\n case HEARTS_ID:\n return 'h';\n case CLUBS_ID:\n return 'c';\n case SPADES_ID:\n return 's';\n case DIAMONDS_ID:\n return 'd';\n default:\n Log.e(\"Mau\", \"The index provided was to large\");\n return 'F';\n }\n }","title":""},{"docid":"519e9d4542ea47e1fb07c0d44374ad28","score":"0.54483193","text":"private static char[] m2917z(String str) {\n char[] toCharArray = str.toCharArray();\n if (toCharArray.length < 2) {\n toCharArray[0] = (char) (toCharArray[0] ^ 87);\n }\n return toCharArray;\n }","title":""},{"docid":"73db9f207dfb0c21aa93d2951938b965","score":"0.5445058","text":"java.lang.String getAbn();","title":""},{"docid":"99a4a8bb5d20f0b4fbddcaaf3d5fcc9c","score":"0.5443063","text":"public static String myToLowerCase(String str) {\n String store = \"\";\n char a = 0;\n for (int i = 0;i < str.length();i++){\n if ((str.charAt(i) >= 65) && (str.charAt(i) <= 90)) {\n a = str.charAt(i);\n a += 32;\n store = store + (char)a;\n }\n else {\n store = store + str.charAt(i);\n }\n }\n return store;\n }","title":""},{"docid":"38262b4060e5df30750a95356db7185d","score":"0.544089","text":"public void mo1239e(int i, String str) {\n }","title":""}],"string":"[\n {\n \"docid\": \"be3630fba2672201cd0e730bb2fbce5c\",\n \"score\": \"0.6532291\",\n \"text\": \"String mo34567h();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"82ad7b6a821e38a817e4daa2d6a73d31\",\n \"score\": \"0.64672077\",\n \"text\": \"String mo8097a(String str);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1105a39c4650ba8a9930410dd58c1c3c\",\n \"score\": \"0.6255312\",\n \"text\": \"void mo38526a(String str);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"02f37b253cdb2ab01c10ddc9355baf32\",\n \"score\": \"0.6168186\",\n \"text\": \"String mo78902e();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"32478639118c311029cee01ee0f08c91\",\n \"score\": \"0.6156476\",\n \"text\": \"String mo40630a(String str);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f5e201a7ba2999a4bda3d9f2df857923\",\n \"score\": \"0.61561155\",\n \"text\": \"int mo56108e(String str);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1422e7396e6ce8147842064577093855\",\n \"score\": \"0.61468774\",\n \"text\": \"String getBasicAlphaCode();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a9f620444ce8e02087f0f8d6108bfe1a\",\n \"score\": \"0.61301565\",\n \"text\": \"C4895h mo11440a(String str);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4e20542b81dbc8ed8ef2178c9fe1c4b3\",\n \"score\": \"0.6086069\",\n \"text\": \"void mo3338a(String str);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ccdfdfbb4537ebea03af5a878e9bd547\",\n \"score\": \"0.60566574\",\n \"text\": \"Alphabet(String chars) {\\n _alphabet = chars;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"148ef1e5b213d480eec99f04f1354f9e\",\n \"score\": \"0.6048749\",\n \"text\": \"int getUPPER();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"056cdd6c3ea1a648f30088f17a4421aa\",\n \"score\": \"0.6039153\",\n \"text\": \"Alphabet(String chars) {\\n _chars = chars;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b3d71c76e4799f1bdf2a1be4814eec8f\",\n \"score\": \"0.6031683\",\n \"text\": \"String mo78898a();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cc5425bcb990ac28db0bdfe0bf04eafb\",\n \"score\": \"0.60306555\",\n \"text\": \"private Alphabets() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0c4aba0ea9a301323de9477f156fdede\",\n \"score\": \"0.60264826\",\n \"text\": \"char convertNumToLetterLocation(int n){\\r\\n\\tchar l;\\r\\n\\tn=n+65;\\r\\n\\tl = (char)n;\\r\\n\\treturn l;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"302dcad1033a3804e65a2362cd5c23ad\",\n \"score\": \"0.6015967\",\n \"text\": \"String mo34566g();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5772687dbc5cc7687359cf7ae2cdc161\",\n \"score\": \"0.60093516\",\n \"text\": \"String mo3925c();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8dc8ac406f0a64700d3c01bad8419fa2\",\n \"score\": \"0.59911704\",\n \"text\": \"void mo2768a(zzjk zzjk, String str);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ecf21a5e669bb4fa0bde5ab46740cf24\",\n \"score\": \"0.59886736\",\n \"text\": \"void mo10096a(String str, int i);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"094455d28a7d57391c269caec15d745e\",\n \"score\": \"0.5973714\",\n \"text\": \"public static void main(String[] args) {\\n\\n String kelime = \\\"Merhana Dunya\\\";\\n\\n char harf = kelime.charAt(3);\\n System.out.println(\\\"3.harf = \\\"+harf); // 3-> h\\n\\n harf = kelime.charAt(0);\\n System.out.println(\\\"0.harf = \\\" + harf); //0 ->m\\n\\n\\n\\n\\n\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9aba507cf79d27073908137010f22a21\",\n \"score\": \"0.5969126\",\n \"text\": \"String m11205a(String str);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"58dee96da5e668825dacabef6eb20e5a\",\n \"score\": \"0.5968113\",\n \"text\": \"String mo46855e();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"384cee2e38fd1e3adbc490771a766fbc\",\n \"score\": \"0.59497625\",\n \"text\": \"String mo60444a(String str);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5c5def54f384e241509fa35f34faf986\",\n \"score\": \"0.5940262\",\n \"text\": \"void mo24182Pa(String str);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7d28bfbad5a69fec1f2c4ef58d88a50c\",\n \"score\": \"0.5911952\",\n \"text\": \"void mo34560b(String str);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7f8e4eeb2a25032b0cbe8d5be28fdadb\",\n \"score\": \"0.59067196\",\n \"text\": \"void mo56062a(String str);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6570a98ddb48da6ebf45974f106e8a2b\",\n \"score\": \"0.5876659\",\n \"text\": \"C3667a mo27265a(String str);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7efc7620a70522eb67458714089056b1\",\n \"score\": \"0.58640414\",\n \"text\": \"public char testMethod(char letter)\\n {\\n return letter;\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e2a6b1fa166aad2b6818dbd207fd2f29\",\n \"score\": \"0.584744\",\n \"text\": \"String mo60448c(String str);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3bc7f745393d6720f54b3163deb6362f\",\n \"score\": \"0.5825709\",\n \"text\": \"Letters (int number, String letter){\\n\\t\\tthis.number = number;\\n\\t\\tthis.letter = letter;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f86dd9363e93f1edee552c5e5ef08cbb\",\n \"score\": \"0.5824916\",\n \"text\": \"Alphabet() {\\n this(\\\"ABCDEFGHIJKLMNOPQRSTUVWXYZ\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f86dd9363e93f1edee552c5e5ef08cbb\",\n \"score\": \"0.5824916\",\n \"text\": \"Alphabet() {\\n this(\\\"ABCDEFGHIJKLMNOPQRSTUVWXYZ\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f86dd9363e93f1edee552c5e5ef08cbb\",\n \"score\": \"0.5824916\",\n \"text\": \"Alphabet() {\\n this(\\\"ABCDEFGHIJKLMNOPQRSTUVWXYZ\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e446a4f012f67628ccd49287789a11a0\",\n \"score\": \"0.5814199\",\n \"text\": \"CharSequence mo78906h();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"272aa21806ad6084b43829e761a157df\",\n \"score\": \"0.5806379\",\n \"text\": \"char letter() {\\n return 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"72fc401094ebb771f37467e7fb11bdc2\",\n \"score\": \"0.5795979\",\n \"text\": \"include \\n// Main function\\nint main()\\n{\\n char str[100],st[100],c;\\n int i,j,len;\\n gets(str);\\n len=strlen(str);\\n for(i=0;i<26;i++)\\n {\\n st[i]=0;\\n }\\n for(i=0;i='a' && str[i]<='z')\\n {\\n j=str[i]-'a';\\n \\t st[j]++;\\n }\\n else if(str[i]>='A' && str[i]<='Z')\\n {\\n j=str[i]-'A';\\n st[j]++;\\n }\\n }\\n for(i=0;i<26;i++)\\n {\\n if(st[i]==0)\\n printf(\\\"%c \\\",i+'a');\\n }\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cb5f279754f6c8e03a22f7dbb198b4ad\",\n \"score\": \"0.5783839\",\n \"text\": \"void mo56096c(String str);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9e9da142a9ae10e8083927332c79f635\",\n \"score\": \"0.57777286\",\n \"text\": \"String mo34568i();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8cb2310a0acd367daa9153a4040663af\",\n \"score\": \"0.57736856\",\n \"text\": \"String mo3924b();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3923615f9053b8ef3cc438a596c03d4d\",\n \"score\": \"0.57613176\",\n \"text\": \"CharSequence mo78908i();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"58492c21878ff79055ecf8d0d7a3c65c\",\n \"score\": \"0.5761269\",\n \"text\": \"void mo7843c(String str);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1231f1466631eab94509f6d5660da7cc\",\n \"score\": \"0.5757971\",\n \"text\": \"public static void main(String[] args)\\n {\\n int randomNumber = (int)(Math.random() * 27);\\n\\n // Declaring alphabet as string and assigning the value\\n String alphabet = \\\"abcdefghijklmnopqrstuvwxyz\\\";\\n\\n // selecting the random number and display the upper case as output\\n System.out.println(Character.toUpperCase(alphabet.charAt(randomNumber)));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc6ab727ab4577cc0eaca22ed9d34d77\",\n \"score\": \"0.5754823\",\n \"text\": \"String mo78914o();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aeec70e584eba76ca848bab1a2025a24\",\n \"score\": \"0.575292\",\n \"text\": \"void get_Letter(String getletters) {\\n letters = getletters.toCharArray();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"64df45588d697715cdc1947421765c65\",\n \"score\": \"0.57462835\",\n \"text\": \"C19290j mo105117a(String str);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"56b3106ad0d15b5681a3207e5d82dded\",\n \"score\": \"0.57443094\",\n \"text\": \"String mo60451e(String str);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d07f5ef5582fb49957466ee3e8f93f68\",\n \"score\": \"0.57425827\",\n \"text\": \"void mo84892a(String str);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b5e2b4998119c02c6e2bd97931883f66\",\n \"score\": \"0.57424295\",\n \"text\": \"public static void main(String [] agrs)\\n {\\n char character = 'a'; // This gives the character 'a'\\n int ascii = (int) character;\\n System.out.println(ascii);\\n \\n System.out.println(charToInt(\\\"a\\\"));\\n \\n System.out.println(intTochar(122));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d6c924c34d5e794f3964482e43b37da1\",\n \"score\": \"0.5727767\",\n \"text\": \"java.lang.String getAb();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8354c3d846998233e85193d6154fbf36\",\n \"score\": \"0.5723568\",\n \"text\": \"public char getLetter(){\\n return letter;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"35c49abe9e611433645b32961a734d6c\",\n \"score\": \"0.5722663\",\n \"text\": \"void mo1969a(String str);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9b50a748f2ab18df091fde264f2c47c7\",\n \"score\": \"0.5716499\",\n \"text\": \"public static String getRandomWord() {\\r\\n\\tchar x = (char)((int)(Math.random()*26)+65);\\r\\n\\tchar y = (char)((int)(Math.random()*26)+65);\\r\\n\\tchar z = (char)((int)(Math.random()*26)+65);\\r\\n\\tchar a = (char)((int)(Math.random()*26)+65);\\r\\n\\tString s = \\\"\\\"+x+y+z+a;\\r\\n\\treturn s;\\r\\n\\t\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1e4e54243aee965f7a02ac6d9ae4b260\",\n \"score\": \"0.5704544\",\n \"text\": \"void mo15409a(String str);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b0520a498c1f5783891f26dee76adca7\",\n \"score\": \"0.5703109\",\n \"text\": \"void mo56049a(int i, String str);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2836b133e43fcabffae95fabb4f63b57\",\n \"score\": \"0.5702575\",\n \"text\": \"int mo56101d(String str);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a8d86927f680eb588c46b2431f66f2c\",\n \"score\": \"0.56937563\",\n \"text\": \"java.lang.String getAy();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cbfb36dd58952e7d45f76ca9c1b7dae4\",\n \"score\": \"0.5677928\",\n \"text\": \"String mo31339a(int i, String str) throws Exception;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0ba5f417a1f0495eb2eeb232d035b4e1\",\n \"score\": \"0.5668283\",\n \"text\": \"public static void main(String ar[]){\\n\\tSystem.out.println(\\\"The encryption of Hey is :\\\"+getEncryptedString(\\\"HeZ\\\"));\\r\\n\\tSystem.out.println(\\\"The encryption of Stupid is :\\\"+getEncryptedString(\\\"Stupid\\\"));\\r\\n\\tSystem.out.println(\\\"The encryption of Lion is :\\\"+getEncryptedString(\\\"Lion\\\"));\\r\\n\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c82766985d2b123993222e97a8797dbd\",\n \"score\": \"0.56669724\",\n \"text\": \"private static void fun(String str) {\\n\\t\\tString ans=\\\"\\\";\\n\\t\\tans+=str.charAt(0);\\n\\t\\tfor(int i=1;i=65 && str.charAt(i)<=90){\\n\\t\\t\\t\\tSystem.out.println(ans);\\n\\t\\t\\t\\tans=\\\"\\\";\\n\\t\\t\\t\\tans+=str.charAt(i);\\n\\t\\t\\t}\\n\\t\\t\\telse{\\n\\t\\t\\t\\tans+=str.charAt(i);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tSystem.out.print(ans);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"afab1036b099a8bb2eba2c59c0ccb6a2\",\n \"score\": \"0.56621087\",\n \"text\": \"public char generateRandomChar()\\n { \\n return ALPHABET[random.nextInt(35)];\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae6f5a5e0ab05acc80a24e62f35b22be\",\n \"score\": \"0.5657655\",\n \"text\": \"void mo34562c(String str);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f74a4f88b97654cd7588f142a74935b\",\n \"score\": \"0.56549966\",\n \"text\": \"void mo34558a(String str);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ef10501afff77dc62ee1e293ce503c65\",\n \"score\": \"0.5638441\",\n \"text\": \"public static void main(String args[]) {\\n Scanner sc=new Scanner(System.in);\\n String str;\\n int key,i,len,val,q;\\n char ch;\\n str=sc.nextLine();\\n key=sc.nextInt();\\n StringBuilder str2=new StringBuilder(str);\\n len=str2.length();\\n for(i=0;i='A' && str2.charAt(i)<='Z')\\n {\\n val=(int)str2.charAt(i)-'A';\\n if(val-key>=0)\\n {\\n val=val-key;\\n }\\n else\\n {\\n q=key-(val+1);\\n val=25-q;\\n }\\n ch=(char)('A'+val);\\n str2.setCharAt(i,ch);\\n }\\n else if(str2.charAt(i)>='a' && str2.charAt(i)<='z')\\n {\\n val=(int)str2.charAt(i)-'a';\\n if(val-key>=0)\\n {\\n val=val-key;\\n }\\n else\\n {\\n q=key-(val+1);\\n val=25-q;\\n }\\n ch=(char)('a'+val);\\n str2.setCharAt(i,ch);\\n }\\n }\\n System.out.println(str2);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"274de9b472bc57fcfab9be6796ee3aa1\",\n \"score\": \"0.5637255\",\n \"text\": \"public String getLetter(){\\n\\t\\treturn letter;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"92f68fab4c28f99f0ed175ad634fda82\",\n \"score\": \"0.5627684\",\n \"text\": \"String getChrom();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"68054299f0837c57aeaad4d8a1a4fe31\",\n \"score\": \"0.56057537\",\n \"text\": \"@Test\\n public void testBadAlphabet() {\\n Directives p = new Directives();\\n p.setAlphabet(\\\"ABCDEFGHIJKLMNOPQRSTUVWXY\\\"); // no Z\\n String encoded = rot13.encode(\\\"AOUYIEAOEY\\\", p);\\n assertEquals(\\\"Alphabet too short\\\", \\\"\\\", encoded);\\n p.setAlphabet(\\\"ABCDEFGHIJKLMNOPQRSTUVWXYZ1\\\"); // extra 1\\n encoded = rot13.encode(\\\"AOUYIEAOEY\\\", p);\\n assertEquals(\\\"Alphabet too long\\\", \\\"\\\", encoded);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1dfbda7ef17860e30f10f7d8c3097c29\",\n \"score\": \"0.55908144\",\n \"text\": \"void mo56118g(String str);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4b4e225b33569af068ef2ae61bae13a6\",\n \"score\": \"0.5579355\",\n \"text\": \"public static void main(String[] argv){\\n String a = \\\"aa\\\";\\n System.out.printf(\\\"%d, %d\\\\n\\\", a.hashCode(), (int)a.toCharArray()[0]);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"31ccaf682810a7a6f5214a6b000a8933\",\n \"score\": \"0.55739266\",\n \"text\": \"@Test\\n public void letterCountTest5(){\\n // setup\\n char c = 'a';\\n String s = \\\"aaaaaaaaaa\\\";\\n // expected\\n int expected = 10;\\n // actual\\n int actual = w.countLetterInString(c, s);\\n // test\\n assertEquals(expected, actual);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"afefdf1d98602dc0ecf8a2534cd9f9d7\",\n \"score\": \"0.55692315\",\n \"text\": \"int mo56114f(String str);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a12cb0de2ef9f3e2703db1a8516feb0a\",\n \"score\": \"0.55676633\",\n \"text\": \"public String lowercase(String a){\\r\\n\\tString str=\\\"\\\";\\r\\n\\tfor(int i=0;i 'z'){ //z + 2 > z (ok)\\n maior = palavra_Codificada.charAt(i) + k; // maior = z + 2 = 124\\n auxiliar = auxiliar+(char)(alfabeto.charAt(0) + (maior -122 - 1)); //auxiliar = a + (124 - 122 - 1) = \\n }\\n else{\\n //System.out.print(\\\"\\\\nNão Passou de Z\\\");\\n auxiliar = auxiliar + (char)(palavra_Codificada.charAt(i) + k);\\n }\\n }\\n System.out.print(\\\"\\\\nCodificada: \\\" + auxiliar);\\n return auxiliar;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ee0a86476342f1b7e65f5c9c12f3e5d\",\n \"score\": \"0.5493016\",\n \"text\": \"public static void main(String[] args) {\\n public char charAt(int asciiCode){\\n return (char) asciiCode;\\n char upper = .charAt(065)\\n }\\n\\n for (int i = 065; asciiCode)\\n\\n System.out.println(upper);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a4729f6489681fc8a5c4a76cc4dc4c54\",\n \"score\": \"0.54911536\",\n \"text\": \"private static char[] m4267z(String str) {\\n char[] toCharArray = str.toCharArray();\\n if (toCharArray.length < 2) {\\n toCharArray[0] = (char) (toCharArray[0] ^ 35);\\n }\\n return toCharArray;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ceb7d0e1ace91ea5955d7508388bb221\",\n \"score\": \"0.5489922\",\n \"text\": \"void mo56087b(String str);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"76c36002c907bc1442e46068921ce354\",\n \"score\": \"0.5486526\",\n \"text\": \"void mo41829a(String str, int i);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7bbf22cc2c1e837c3117083df444c195\",\n \"score\": \"0.54777706\",\n \"text\": \"public static String getRandomChar()\\n\\t {\\n\\t Random _random = new Random();\\n\\t int num = _random.nextInt(26); // Zero to 25\\n\\t char let = (char)('a' + num);\\n\\t return String.valueOf(let);\\n\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"099146ac45bfbf388c39a5334567cb74\",\n \"score\": \"0.54743624\",\n \"text\": \"public String get_letter(){\\n /*\\n returns a string in the following format\\n the header \\\"--- Legal ---\\\"\\n the letter header\\n the content\\n */\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"884047ea3452fc4653127503280756f1\",\n \"score\": \"0.5473824\",\n \"text\": \"String mo31962nh();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2c14974f3c2bd6210c978973640af4a5\",\n \"score\": \"0.5473473\",\n \"text\": \"String mo71970a();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"37bf5f746b04f974575c562218104f64\",\n \"score\": \"0.5469645\",\n \"text\": \"void Ques07()\\n\\t{\\n\\t\\tScanner sc=new Scanner(System.in);\\n \\tSystem.out.print(\\\"Enter String: \\\");\\n \\n \\tString s=sc.nextLine();\\n \\tchar arr[]=s.toCharArray();\\n \\n \\tint x[]=new int[s.length()];\\n \\n \\tfor(int i=0;i=65 && x[i]<=90)\\n \\t\\tSystem.out.print((char)(32+arr[i]));\\n \\n \\telse if(x[i]>=97 && x[i]<=122)\\n \\t\\tSystem.out.print((char)(arr[i]-32));\\n \\n \\telse\\n \\t\\tSystem.out.print(arr[i]);\\n \\t}\\n \\tSystem.out.println();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bccb968ec913800c81f17132fbb7d12e\",\n \"score\": \"0.5461864\",\n \"text\": \"public static String newAlph(String ch){\\n \\n String new_alph= alph;\\n \\n if(alph.indexOf(ch) != -1){\\n new_alph= alph.substring(alph.indexOf(ch))+ alph.substring(0,alph.indexOf(ch));\\n }\\n \\n return new_alph;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dd91917121f98d9e27f2fa0365c1c5ad\",\n \"score\": \"0.54530793\",\n \"text\": \"void mo3778w(String str);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6a9814bfa0a6086339d9211a6ef7e208\",\n \"score\": \"0.54485905\",\n \"text\": \"private char getLetter(int index) {\\n switch (index) {\\n case HEARTS_ID:\\n return 'h';\\n case CLUBS_ID:\\n return 'c';\\n case SPADES_ID:\\n return 's';\\n case DIAMONDS_ID:\\n return 'd';\\n default:\\n Log.e(\\\"Mau\\\", \\\"The index provided was to large\\\");\\n return 'F';\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"519e9d4542ea47e1fb07c0d44374ad28\",\n \"score\": \"0.54483193\",\n \"text\": \"private static char[] m2917z(String str) {\\n char[] toCharArray = str.toCharArray();\\n if (toCharArray.length < 2) {\\n toCharArray[0] = (char) (toCharArray[0] ^ 87);\\n }\\n return toCharArray;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"73db9f207dfb0c21aa93d2951938b965\",\n \"score\": \"0.5445058\",\n \"text\": \"java.lang.String getAbn();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"99a4a8bb5d20f0b4fbddcaaf3d5fcc9c\",\n \"score\": \"0.5443063\",\n \"text\": \"public static String myToLowerCase(String str) {\\n String store = \\\"\\\";\\n char a = 0;\\n for (int i = 0;i < str.length();i++){\\n if ((str.charAt(i) >= 65) && (str.charAt(i) <= 90)) {\\n a = str.charAt(i);\\n a += 32;\\n store = store + (char)a;\\n }\\n else {\\n store = store + str.charAt(i);\\n }\\n }\\n return store;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"38262b4060e5df30750a95356db7185d\",\n \"score\": \"0.544089\",\n \"text\": \"public void mo1239e(int i, String str) {\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":361,"cells":{"query_id":{"kind":"string","value":"339e45dd5799d6d5dc2dfe60be4d71ad"},"query":{"kind":"string","value":"Add a FoxHttpPlaceholderEntry to the FoxHttpPlaceholderStrategy"},"positive_passages":{"kind":"list like","value":[{"docid":"b7bf50d03283302d50b5c86ea6526f45","score":"0.83034915","text":"public FoxHttpClientBuilder addFoxHttpPlaceholderEntry(String placeholder, String value) {\n foxHttpClient.getFoxHttpPlaceholderStrategy().addPlaceholder(placeholder, value);\n return this;\n }","title":""}],"string":"[\n {\n \"docid\": \"b7bf50d03283302d50b5c86ea6526f45\",\n \"score\": \"0.83034915\",\n \"text\": \"public FoxHttpClientBuilder addFoxHttpPlaceholderEntry(String placeholder, String value) {\\n foxHttpClient.getFoxHttpPlaceholderStrategy().addPlaceholder(placeholder, value);\\n return this;\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"daeb13a073940d943d94e017b7ba52ee","score":"0.7283262","text":"public FoxHttpClientBuilder setFoxHttpPlaceholderStrategy(FoxHttpPlaceholderStrategy foxHttpPlaceholderStrategy) {\n foxHttpClient.setFoxHttpPlaceholderStrategy(foxHttpPlaceholderStrategy);\n return this;\n }","title":""},{"docid":"625c2f85b787c78850092a6854f3e0c5","score":"0.6003705","text":"public static void registerServerPlaceholder(ServerPlaceholder placeholder) {\n\t\tPlaceholders.registerPlaceholder(placeholder, true);\n\t}","title":""},{"docid":"0e481a71d8cb8da0129d3bb5eabce338","score":"0.5506957","text":"@Nonnull\r\n IMPLTYPE setPlaceholder (@Nullable String sPlaceholder);","title":""},{"docid":"3fd7840d86a21e28000fa92086ef8ea0","score":"0.5433025","text":"public void setPlaceholder(String placeholder) {\n getState().placeholder = placeholder;\n }","title":""},{"docid":"ee023cbe9abc7ca9b7e486f5138cf1a3","score":"0.5373027","text":"public static void registerPlayerPlaceholder(PlayerPlaceholder placeholder) {\n\t\tPlaceholders.registerPlaceholder(placeholder, true);\n\t}","title":""},{"docid":"4721ec67c29a22d10297585fbab25caf","score":"0.5163519","text":"public void setPlaceHolderValue(String key, String value) {\n if (!placeHolders.containsKey(key)) {\n throw new IllegalArgumentException(\"Invalid placeholder key\");\n }\n if (value == null) {\n throw new IllegalArgumentException(\"Placeholder value must not be NULL\");\n }\n placeHolders.put(key, value);\n }","title":""},{"docid":"a89800c9cda2af5bfe804baec536dc7f","score":"0.4993631","text":"public ItemBuilder addNamePlaceholder(String placeholder, String argument) {\n\t\tthis.namePlaceholders.put(placeholder, argument);\n\t\treturn this;\n\t}","title":""},{"docid":"13909c55968f3384364eb961aa3a7545","score":"0.4880606","text":"@Override\n public void put(PlaceHolder placeHolder, String content) {\n DiagnosticPos position = placeHolder.getPosition(bLangPackageOfTestFile);\n Map placeHolders = positions.get(position);\n placeHolders = (placeHolders == null) ? new HashMap<>() : placeHolders;\n placeHolders.put(placeHolder.getName(), content);\n positions.put(position, placeHolders);\n }","title":""},{"docid":"c8551466a2f33a3bbcd3076433767a3f","score":"0.4850884","text":"public ItemBuilder addLorePlaceholder(String placeholder, String argument) {\n\t\tthis.lorePlaceholders.put(placeholder, argument);\n\t\treturn this;\n\t}","title":""},{"docid":"f46f1a13d7477be0e23dd4eb5266c7e4","score":"0.4818382","text":"interface PlaceholderCompiler {\n @AutoValue\n abstract static class Placeholder {\n static Placeholder create(Expression soyValueProvider, boolean requiresDetachLogicToResolve) {\n soyValueProvider.checkAssignableTo(SOY_VALUE_PROVIDER_TYPE);\n return new AutoValue_MsgCompiler_PlaceholderCompiler_Placeholder(\n soyValueProvider, requiresDetachLogicToResolve);\n }\n\n abstract Expression soyValueProvider();\n\n abstract boolean requiresDetachLogicToResolve();\n }\n /**\n * Compiles the expression to a {@link SoyValueProvider} valued expression.\n *\n *

If the node requires detach logic, it should use the given label as the reattach point.\n */\n Placeholder compile(ExprRootNode node, ExpressionDetacher detacher);\n\n /**\n * Compiles the given node to a statement that writes the result into the given appendable.\n *\n *

The statement is guaranteed to be written to a location with a stack depth of zero.\n */\n Placeholder compile(\n String phname, StandaloneNode node, ExtraCodeCompiler prefix, ExtraCodeCompiler suffix);\n }","title":""},{"docid":"14cc3ca7bc236c81cc47193bb5611065","score":"0.47996014","text":"public void add(String pattern, HttpHandler handler);","title":""},{"docid":"8e9fcf64ad26219e167b8fdb24c91ca3","score":"0.47772402","text":"void setDefaultPlaceholder(Drawable placeholder) {\n this.defaultPlaceholder = placeholder;\n }","title":""},{"docid":"a2a830501f209d72627f60b80a66d9d9","score":"0.46669355","text":"public synchronized void addEntry(String key, Entry entry) {\n\n assertAlreadyExists(key, ENTRY);\n \n if (entry.getType() == Entry.URL_SRC && entry.getValue() == null) {\n try {\n SynapseEnvironment synEnv = SynapseConfigUtils.getSynapseEnvironment(\n axisConfiguration);\n entry.setValue(SynapseConfigUtils.getOMElementFromURL(entry.getSrc()\n .toString(), synEnv != null ? synEnv.getServerContextInformation()\n .getServerConfigurationInformation().getSynapseHome() : \"\"));\n localRegistry.put(key, entry);\n for (SynapseObserver o : observers) {\n o.entryAdded(entry);\n }\n } catch (IOException e) {\n handleException(\"Can not read from source URL : \"\n + entry.getSrc());\n }\n } else {\n localRegistry.put(key, entry);\n for (SynapseObserver o : observers) {\n o.entryAdded(entry);\n }\n }\n }","title":""},{"docid":"75d0e1cde05fa8c6ad511efa6406f2fa","score":"0.46575463","text":"public Builder setPlaceholder(int value) {\n bitField0_ |= 0x00000001;\n placeholder_ = value;\n onChanged();\n return this;\n }","title":""},{"docid":"75d0e1cde05fa8c6ad511efa6406f2fa","score":"0.46575463","text":"public Builder setPlaceholder(int value) {\n bitField0_ |= 0x00000001;\n placeholder_ = value;\n onChanged();\n return this;\n }","title":""},{"docid":"040dd57042c2cc675dca5723fad7c3ae","score":"0.45983064","text":"void setDefaultPlaceholder(int position, Drawable placeholder) {\n placeholders[position] = placeholder;\n }","title":""},{"docid":"3717684675626a3d1ce4eb730b649b45","score":"0.45928434","text":"public static T makePlaceholderValue(T t)\n {\n return t;\n }","title":""},{"docid":"7a35cbc64c8367f4cc65aac482cc49a4","score":"0.45776325","text":"public void addHttpSeed(String url) {\n ti.add_url_seed(url);\n }","title":""},{"docid":"88082adbe893b776c39a2cf706301e8f","score":"0.45364878","text":"@Override\n public void prepend(PlaceHolder placeHolder, String content) {\n merge(placeHolder, (oldContent) -> content + (oldContent == null ? \"\" : oldContent));\n }","title":""},{"docid":"9fe570d9254c8844448ed2fb07367c43","score":"0.45124242","text":"public final void entryRulePlaceHolderStatement() throws RecognitionException {\n try {\n // InternalOptGrammar.g:1630:1: ( rulePlaceHolderStatement EOF )\n // InternalOptGrammar.g:1631:1: rulePlaceHolderStatement EOF\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getPlaceHolderStatementRule()); \n }\n pushFollow(FOLLOW_1);\n rulePlaceHolderStatement();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getPlaceHolderStatementRule()); \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":"cfc864fc82427af6d5307b5fbf0d7baf","score":"0.44922164","text":"protected abstract List registerPlaceHolders();","title":""},{"docid":"dc7477e732b98ec5dd94e1aa3bf12da5","score":"0.44805625","text":"@Override\n public void setTextPlaceholder(TextPlaceholder placeholder) {\n Placeholder ph = null;\n int runType;\n switch (placeholder) {\n default:\n case BODY:\n runType = TextHeaderAtom.BODY_TYPE;\n ph = Placeholder.BODY;\n break;\n case TITLE:\n runType = TextHeaderAtom.TITLE_TYPE;\n ph = Placeholder.TITLE;\n break;\n case CENTER_BODY:\n runType = TextHeaderAtom.CENTRE_BODY_TYPE;\n ph = Placeholder.BODY;\n break;\n case CENTER_TITLE:\n runType = TextHeaderAtom.CENTER_TITLE_TYPE;\n ph = Placeholder.TITLE;\n break;\n case HALF_BODY:\n runType = TextHeaderAtom.HALF_BODY_TYPE;\n ph = Placeholder.BODY;\n break;\n case QUARTER_BODY:\n runType = TextHeaderAtom.QUARTER_BODY_TYPE;\n ph = Placeholder.BODY;\n break;\n case NOTES:\n runType = TextHeaderAtom.NOTES_TYPE;\n break;\n case OTHER:\n runType = TextHeaderAtom.OTHER_TYPE;\n break;\n }\n setRunType(runType);\n if (ph != null) {\n setPlaceholder(ph);\n }\n }","title":""},{"docid":"05b80058369c825953ce780a01ef8390","score":"0.44747457","text":"public IHttpParameter insertLocal ( IHttpParameter object );","title":""},{"docid":"24492b5c565c229f1d2ac756da67c007","score":"0.4446089","text":"@Override\n public boolean isNeedsPlaceHolder() {\n return false;\n }","title":""},{"docid":"d5d4c10cf9f8228f01193df5bdb70933","score":"0.44421628","text":"HttpParameters add(String key, String value);","title":""},{"docid":"b4c4b1a7e63c7d3602c2220c163e61f0","score":"0.44386494","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":"5f3e76d10b6b1fde808e0d809db3115e","score":"0.44020614","text":"int getPlaceholder();","title":""},{"docid":"5f3e76d10b6b1fde808e0d809db3115e","score":"0.44020614","text":"int getPlaceholder();","title":""},{"docid":"a488c512a565606aa2b4af42b3736918","score":"0.43833056","text":"public ItemBuilder replace(String placeholder, String value) {\n ItemMeta im = is.getItemMeta();\n List lore = im.getLore();\n im.setLore(lore.stream().map(line -> line = line.replace(placeholder,value)).collect(Collectors.toList()));\n is.setItemMeta(im);\n return this;\n }","title":""},{"docid":"7bf9d93a2e49e8050a7493917c47fc88","score":"0.43633902","text":"abstract L placeholderListener ();","title":""},{"docid":"43fcd2eea9859e8db27cfc795dcaedc2","score":"0.435665","text":"public void addDefinition(String input) {\n\t\tdefinition = definition + \"\\n\" + input;\n\t}","title":""},{"docid":"1dcaffc57f8b30f16a6c2ebb3f3908ed","score":"0.4350815","text":"public FoxHttpClientBuilder(FoxHttpAuthorizationStrategy foxHttpAuthorizationStrategy) {\n foxHttpClient = new FoxHttpClient();\n foxHttpClient.setFoxHttpAuthorizationStrategy(foxHttpAuthorizationStrategy);\n }","title":""},{"docid":"1c767576966189522861d0194c07b05b","score":"0.4349968","text":"@Override\n public void append(PlaceHolder placeHolder, String content) {\n merge(placeHolder, (oldContent) -> (oldContent == null ? \"\" : oldContent) + content);\n }","title":""},{"docid":"67bd6af9091d84016bc1aba17795656b","score":"0.43463045","text":"public void addEndpoint(String key, Entry entry) {\n assertAlreadyExists(key, ENTRY);\n localRegistry.put(key, entry);\n }","title":""},{"docid":"47f14b98e314b910129693c59fcf969a","score":"0.43367752","text":"public final void addValueToFeature(final B rc, final F f, final H holder,\n final Token value) {\n addToFeature(rc, f, holder, parseValue(f, value));\n }","title":""},{"docid":"c325240c70df2fbd4904974d3948b091","score":"0.43110105","text":"public void putPlaceHolder(String id, String file, String ext){\n\t\tFile f = new File(path + \"tmp/\" + file);\n\t\tSystem.out.println(\"Putting placeholder over \"+ id +\" in file \" + file);\n\t\ttry {\n\t\t\tint i;\n\t\t\tString newLine;\n\t\t\tString s = \"\";\n\t\t\tString lines[];\n\t\t\tString words[] = null;\n\t\t\tBufferedReader in = new BufferedReader(new FileReader(f));\n\t\t\t\n\t\t\tnewLine = in.readLine();\n\t\t\twhile(newLine != null){\n\t\t\t\ts = s + \"\\n\" + newLine;\n\t\t\t\tnewLine = in.readLine();\n\t\t\t}\n\t\t\tin.close();\n\t\t\t\n\t\t\tlines = s.split(\"\\n\");\n\t\t\tfor (i=0; i< lines.length; i++){\n\t\t\t\tif(lines[i].contains(id)){\n\t\t\t\t\twords = ext.equals(\"net\") ? lines[i].split(\" \") : lines[++i].split(\"-\");\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tif (words == null){\n\t\t\t\tSystem.err.println(\"ID not found, couldn't put placehoder\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t\n\t\t\twords[1] = ext.equals(\"net\") ? \"@@CORES@@\" : \"@@CONCURRENCY@@}\";\n\t\t\t\n\t\t\tlines[i] = ext.equals(\"net\") ? String.join(\" \", words) : String.join(\"-\", words);\n\t\t\ts = String.join(\"\\n\", lines);\n\t\t\t\n\t\t\tBufferedWriter out = new BufferedWriter(new FileWriter(f));\n\t\t\tout.write(s);\n\t\t\t\n\t\t\tout.close();\n\t\t\t\n\t\t} catch (FileNotFoundException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\tSystem.err.println(\"File: \"+f.getAbsolutePath()+ \" not found!\");\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":"02e0ce838eac7e5a48e81d43f4227c2d","score":"0.430574","text":"public void addFactoryAsLast(ParameterBinderFactory factory) {\n orderedBinderFactories.add(factory);\n factoryCache.clear();\n }","title":""},{"docid":"a30aeabef59737a7cd47342a3a147ac0","score":"0.4298291","text":"HttpResponse add(String url, HttpResponse response);","title":""},{"docid":"6f36001f6445514ab6a400fa94299a16","score":"0.42879757","text":"public int getPlaceholder() {\n return placeholder_;\n }","title":""},{"docid":"6f36001f6445514ab6a400fa94299a16","score":"0.42879757","text":"public int getPlaceholder() {\n return placeholder_;\n }","title":""},{"docid":"b3c94dc73db1d89a6bdc1bc594ee9f4f","score":"0.42558527","text":"public void addFactoryAsFirst(ParameterBinderFactory factory) {\n orderedBinderFactories.add(0, factory);\n factoryCache.clear();\n }","title":""},{"docid":"b9e9bfaf8fd0c8cb3f071a221a443382","score":"0.424362","text":"@OnStartup\n @SuppressWarnings(\"unused\")\n public void onStartup(final PlaceRequest placeRequest) {\n }","title":""},{"docid":"b3d04fecee7e7c037898856406b5b552","score":"0.42411458","text":"public FoxHttpClientBuilder(FoxHttpHostTrustStrategy foxHttpHostTrustStrategy, FoxHttpSSLTrustStrategy foxHttpSSLTrustStrategy) {\n foxHttpClient = new FoxHttpClient();\n foxHttpClient.setFoxHttpHostTrustStrategy(foxHttpHostTrustStrategy);\n foxHttpClient.setFoxHttpSSLTrustStrategy(foxHttpSSLTrustStrategy);\n }","title":""},{"docid":"0606537780de80cfb3a423e3d8deaa1d","score":"0.42192647","text":"public abstract void addToFeature(final B rc, final F f, final H holder,\n final Object v);","title":""},{"docid":"bca6a5b7665aa784f2d431b1d9573e6a","score":"0.42137396","text":"public int getPlaceholder() {\n return placeholder_;\n }","title":""},{"docid":"bca6a5b7665aa784f2d431b1d9573e6a","score":"0.42137396","text":"public int getPlaceholder() {\n return placeholder_;\n }","title":""},{"docid":"fd40aa7cdc61f0a3d8f20e7dc79bdc45","score":"0.41901326","text":"private void setHttpCallback(final Handler handler) {\n mHttpServer.setCallbackForNewDownloadable(new HttpServer.ItemAdded() {\n @Override\n public void itemAdded(final String downloadable, final String address) {\n handler.post(new Runnable() {\n @Override\n public void run() {\n if (!downloadables.contains(downloadable)) {\n downloadables.add(downloadable);\n downloadablesHelper.put(downloadable, address);\n mAdapter.notifyItemInserted(downloadables.size() - 1);\n }\n }\n });\n }\n });\n }","title":""},{"docid":"34566dff6b0ed32dfedec35a41cffb5e","score":"0.4166621","text":"public void addSetting(String name, String value) throws TemplateException {\n if (name.equals(INITPARAM_NOCACHE)) {\n nocache = StringUtil.getYesNo(value);\n } else if (name.equals(INITPARAM_DEBUG)) {\n debug = StringUtil.getYesNo(value);\n } else if (name.equals(INITPARAM_CONTENT_TYPE)) {\n contentType = value;\n } else {\n config.setSetting(name, value);\n }\n\n if (contentType != null && !contentTypeEvaluated) {\n int i = contentType.toLowerCase().indexOf(\"charset=\");\n contentTypeEvaluated = true;\n if (i != -1) {\n char c = ' ';\n i--;\n while (i >= 0) {\n c = contentType.charAt(i);\n if (!Character.isWhitespace(c)) break;\n i--;\n }\n if (i == -1 || c == ';') {\n noCharsetInContentType = false;\n }\n }\n }\n }","title":""},{"docid":"f86f91a8912b10e41f78d3af31229ca8","score":"0.4166296","text":"static void addContentTypeIfAbsent(HttpRequest request, Supplier contentType) {\n if (!CONTENT_TYPE_ABSENT.test(request)) {\n return;\n }\n\n final CharSequence contentTypeVal = contentType.get();\n if (LoggerUtils.logger().isDebugEnabled()) {\n LoggerUtils.logger().debug(\"content-type is absent, try to set default value: {}, uri: {}\",\n contentTypeVal, request.uri().toString());\n }\n request.headers().set(HttpHeaderNames.CONTENT_TYPE, contentTypeVal);\n }","title":""},{"docid":"f674c70a643ce940ea29418e516c33ac","score":"0.4163157","text":"public IHttpParameter insertOrUpdateLocal ( IHttpParameter object );","title":""},{"docid":"a11e662c75242f01b7ea3dd4df47d04a","score":"0.41500762","text":"@Override\r\n\tprotected void onPlaceRequest(PlaceRequest request) {\n\t\t\r\n\t}","title":""},{"docid":"fad1f16e275bef65f3e02e19de292791","score":"0.4140809","text":"public void addEntry(T entry) {\n\t\tentries.add(entry);\n\t\taddEntryToSites(entry);\n\t}","title":""},{"docid":"808f8668103532bbbce94e6c21ed407b","score":"0.41386548","text":"public void addFactory(final IInfoPackFactory factory)\n\t{\n\t\tif(factory!=null&&packFactories.contains(factory)==false)\n\t\t{\t\t\t\n\t\t\tLOGGER.log(Level.FINER, \"Adding factory: \" + factory);\n\t\t\tpackFactories.add(factory);\n\t\t}\n\t}","title":""},{"docid":"9ef0d619a05ae6516ccf70d57f163c11","score":"0.41342068","text":"TFWrapper(final TaskFactory fact, final TaskManager taskManager, final TunableInterceptor ti) {\n\t\tthis.factory = fact;\n\t\tthis.taskManager = taskManager;\n\t\tthis.ti = ti;\n\t\tthis.name = fact.getClass().getSimpleName();\n\t}","title":""},{"docid":"697258a9706f35b305bf043164dac373","score":"0.41172594","text":"public interface PlaceholderValueGenerator {\n /**\n * Returns the value corresponding to the supplied key\n * placeholder.\n *\n * @param key the key being substituted\n */\n public String generate(String key);\n }","title":""},{"docid":"b4694916871ac8cc236e5cdda7ee43cc","score":"0.41081488","text":"@Inject\n\t/*public MyPlaceManager(EventBus eventBus, TokenFormatter tokenFormatter, MainPagePresenter.MyProxy defaultProxy) {\n\t\tsuper(eventBus, tokenFormatter);\n\t\tthis.defaultProxy = defaultProxy;\n\t}*/\n\n\t//@Override\n\tpublic void revealDefaultPlace() {\n\t\t//defaultProxy.reveal();\n\t}","title":""},{"docid":"12a392e0ef284bc9cf1c51438cc2f36d","score":"0.4105003","text":"public EscapingClassMarker(ValueFactory valueFactory)\n {\n this(valueFactory,\n new ReferenceTracingValueFactory(valueFactory));\n }","title":""},{"docid":"956801ec8425534ce3a5abe8b7af9d3c","score":"0.40926743","text":"public void addEntry() {\n\t\tentryMode = true;\n\t}","title":""},{"docid":"3d15028784d97f28fe57ec272da8ac70","score":"0.40574726","text":"private void addIngressTiles()\n {\n TileProvider tiles = new UrlTileProvider(256, 256) {\n @Override\n public synchronized URL getTileUrl(int x, int y, int zoom) {\n final String apistyle = \"s.e%3Al%7Cp.v%3Aoff%2Cs.e%3Ag%7Cp.c%3A%23ff000000%2Cs.t%3A3%7Cs.e%3Ag%7Cp.c%3A%23ff5e9391\";\n final String style = \"59,37%7Csmartmaps\";\n\n final String format = \"http://mt1.googleapis.com/vt?lyrs=m&src=apiv3&hl=de-DE&x=%d&s=&y=%d&z=%d&s=Galileo\";\n String mapUrl = String.format(Locale.US, format, x, y, zoom);\n\n mapUrl += \"&apistyle=\" + apistyle + \"&style=\" + style;\n\n URL url = null;\n try {\n url = new URL(mapUrl);\n } catch (MalformedURLException e) {\n throw new AssertionError(e);\n }\n return url;\n }\n };\n\n TileOverlayOptions tileOverlay = new TileOverlayOptions();\n tileOverlay.tileProvider(tiles);\n\n mMap.addTileOverlay(new TileOverlayOptions().tileProvider(tiles));\n }","title":""},{"docid":"df7dbe900566982658bfaf7aa2bcb6af","score":"0.40502807","text":"boolean hasPlaceholder();","title":""},{"docid":"df7dbe900566982658bfaf7aa2bcb6af","score":"0.40502807","text":"boolean hasPlaceholder();","title":""},{"docid":"7dc23eabe1c7709f05178b1adf866075","score":"0.4048517","text":"public boolean hasPlaceholder() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }","title":""},{"docid":"7dc23eabe1c7709f05178b1adf866075","score":"0.4048517","text":"public boolean hasPlaceholder() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }","title":""},{"docid":"7ffd764605aa0571cf2bf024dc0ec652","score":"0.40449172","text":"private void setPlaceholderDelayedAction(final String placeholder, final BindingAction action) {\n // Fake waiting as in a API request to show off placeholder when data is not ready\n new Handler(Looper.getMainLooper()).postDelayed(new Runnable() {\n @Override\n public void run() {\n for (BaseBrick brick : dataManager.getBricksByTag(placeholder)) {\n ViewModelBrick viewModelBrick = (ViewModelBrick) brick;\n action.perform(viewModelBrick);\n }\n }\n }, 2000);\n }","title":""},{"docid":"98591acc10785f44ca43838f5dc33813","score":"0.4039182","text":"public boolean hasPlaceholder() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }","title":""},{"docid":"98591acc10785f44ca43838f5dc33813","score":"0.4039182","text":"public boolean hasPlaceholder() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }","title":""},{"docid":"a03ad4003b0be65996a09ba52c27a705","score":"0.40155396","text":"private void excutePut() {\n\t\t_instance.put(context, url, getHttpEntity(), CONTENT_TYPE,\n\t\t\t\tresponseHandlerInterface);\n\t}","title":""},{"docid":"a569b75dda57dae995c202bfd83e9e74","score":"0.40119258","text":"public AddHostsTabItem(Facility facility){\n\t\tthis.facility = facility;\n\t\tthis.facilityId = facility.getId();\n\t}","title":""},{"docid":"08d95ea10875e87bc2dce60644f6c276","score":"0.40090227","text":"public static void addParamPageFlow(String key, Object value) {\n AdfFacesContext.getCurrentInstance().getPageFlowScope().put(key, value);\n }","title":""},{"docid":"4407f8e9d5a534cfac91df17a9766ef5","score":"0.3998872","text":"public PlaceholderFragment() {\r\n\t\t}","title":""},{"docid":"3b0e5583b9db0b481a377fda5eecd6c1","score":"0.39908814","text":"public void addParameterBinder(ParameterBinder pb) {\n if (parameters == null) {\n parameters = new ArrayList();\n }\n\n parameters.add(pb);\n }","title":""},{"docid":"5abd2e6fddc203d00e26829eb043a2e1","score":"0.3981319","text":"HTTPEndPointInputConnector createHTTPEndPointInputConnector();","title":""},{"docid":"a92b6bd0939df200e1ee0a8b1f1cff99","score":"0.3972759","text":"public ItemBuilder setNamePlaceholders(HashMap placeholders) {\n\t\tthis.namePlaceholders = placeholders;\n\t\treturn this;\n\t}","title":""},{"docid":"1662025ad8c0ff8d70da41997950fe66","score":"0.3971675","text":"private void inputRequest(Runnable request) {\n inputRequests.add(request);\n }","title":""},{"docid":"f45ec3f3b859b2c86088f5ad9be50549","score":"0.39648616","text":"void AddEntry(T entryDetails) throws Exception;","title":""},{"docid":"3ced44da8f578bb81db503d009993007","score":"0.3960555","text":"private void insertEntry(String entry) {\n exp.insert(cursor,entry);\n cursor += entry.length();\n updateExpField();\n }","title":""},{"docid":"c42497a3a46c78a3806137fa6c1d6c92","score":"0.3954415","text":"public boolean addEnvironmentBinding(String name, SymbolTableEntry entry) {\n if (environment.locallyContains(name)) {\n showError(name + \" is already defined.\");\n return false;\n }\n environment.put(name, entry);\n return true;\n }","title":""},{"docid":"59ea2eab48bb7751dc27b3051ad77772","score":"0.394661","text":"boolean canResolve(String placeholder);","title":""},{"docid":"47582e144406c5f6ca459e6b88803463","score":"0.3938996","text":"private static HttpPost prepPost (String url, boolean hasEntry) {\r\n\t HttpPost post = new HttpPost(url);\r\n\t\t\t\t// add header\r\n\t\t\t\tpost.setHeader(\"Host\", \"172.18.13.106\"); \r\n\t\t\t\tpost.setHeader(\"Connection\", \"Keep-Alive\");\r\n\t\t\t\tpost.setHeader(\"Pragma\", \"no-cache\");\r\n\t\t\r\n\t\tif(hasEntry) {\r\n\t\t\tString entry=\" ....x..a``.r\tJMLqLNN-.....SK.S..R..R..3....b<.. .......\t.......%.El@.sNfj^.. `...a..bF.&.d...Lp.#@...G^..\";\r\n\t\t\tSystem.out.println(\"The post has entry as:\"+entry);\t\r\n\t\t\t\tHttpEntity entity;\r\n\t\t\t\ttry {\r\n\t\t\t\t\tentity = new ByteArrayEntity(entry.getBytes(\"UTF-8\"));\r\n\t\t\t\t\tpost.setEntity(entity);\r\n\t\t\t\t} catch (UnsupportedEncodingException e) {\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t} \r\n\t \r\n\t\t return post;\r\n\t \r\n }","title":""},{"docid":"c79511559034a7eea08a9f83559e424b","score":"0.393014","text":"@Override\n public void run() {\n getFragmentManager().beginTransaction().replace(R.id.container, new PlaceholderFragment()).commit();\n }","title":""},{"docid":"5f1a8575eb4cbddb2534483bc9d56ffd","score":"0.39187387","text":"public void addEntry(String content) {\n Parser parser = new Parser();\n try {\n entries.add(parser.parseContent(content));\n } catch (IOException ex) {\n System.out.println(\"Adding entry failed\");\n }\n }","title":""},{"docid":"312839ffed96cf68439e03a3e12fa182","score":"0.3913372","text":"private void loadSimpleVariable(Node node) {\n codeManager.insert(new BackfillInstruction(node.getSymbol(), Operation.PLACEHOLDER_LV));\n }","title":""},{"docid":"3e97a98b6133b56ab8dfab53ed13b687","score":"0.39043057","text":"public void addCheckPoint(String title, Map binding) {\n\t\taddCheckPoint(new CheckPoint(binding, title));\n\t}","title":""},{"docid":"caaa169ea5c379cc1fbfa4d74b9cf217","score":"0.39023176","text":"public void addHT (String ht){\n this.ht.add(ht);\n \n }","title":""},{"docid":"a6d434bf35b3c372c08458d6c3894ade","score":"0.39019233","text":"private void putEntry(String name, String entry, String value) {\n try {\n // Get file\n Document doc = Framework.parse(main.myPath + name, \"index\");\n Node root = doc.getDocumentElement();\n\n Element nentry = findNodeWith(doc, entry);\n if (nentry == null) {\n // Add new element\n Element el = doc.createElement(\"entry\");\n el.setAttribute(\"name\", entry);\n el.setAttribute(\"value\", value);\n root.appendChild(el);\n }\n else {\n nentry.setAttribute(\"value\", value);\n }\n\n // Write back\n Framework.transform\n (doc, new StreamResult(new File(main.myPath + name)), null);\n }\n catch (Exception e) {\n\t // Debugging\n e.printStackTrace();\n }\n }","title":""},{"docid":"64c7f80b2d944b5ed3b5fe3c935feb49","score":"0.38984028","text":"public String getPlaceholder() {\n return getState(false).placeholder;\n }","title":""},{"docid":"3519ace46d1654d44e627f6a2ccc7552","score":"0.38823912","text":"public void insertInterceptor(Interceptor interceptor);","title":""},{"docid":"b1cdf91479bac4368411aa51ea631288","score":"0.38820577","text":"public void add(VariableSymbol var, Term term) \n\tthrows BindingAlreadyEstablishedException\n {\n\tif (bindings == null) bindings = new HashMap (3);\n\tif (isBound(var)){\n\t throw new BindingAlreadyEstablishedException(var,this);\n\t}\n\t\n\t// System.out.println(\"Fuege \"+var.toString()+\"<-\"+term.toString()+\" hinzu.\");\n\t// Substitution in HashMap aufnehmen\n\taddOrReplace(var,term);\n }","title":""},{"docid":"e3e3d740cb681f53ed1e5a943be75110","score":"0.38814428","text":"void addQuerystringParameter(String key, String value);","title":""},{"docid":"e95455958c71d51b81bb659ccf0084e4","score":"0.38800955","text":"@Override\n public void addParameter(String name, String value) {\n throw new IllegalArgumentException(\"PUT requests don't have params\");\n }","title":""},{"docid":"39aa705cb8cfeb372b241e1e35cd2a31","score":"0.3877208","text":"public MultistackEntry(ValueWrapper value, MultistackEntry next) {\n\t\t\tthis.value = value;\n\t\t\tthis.next = next;\n\t\t}","title":""},{"docid":"cb4ea2a658883ff9649c1fe06d0aa872","score":"0.38762867","text":"public void addEntry(Entry entry) throws IOException;","title":""},{"docid":"cd5dc08459a83ee145f26edd1f82a355","score":"0.38714936","text":"public void createPlaceRequest(Place request, StreamObserver response);","title":""},{"docid":"c578880b1eaf2effc9926a80a4736988","score":"0.3867595","text":"public final void entryRuleFixed() throws RecognitionException {\n try {\n // InternalOptGrammar.g:2830:1: ( ruleFixed EOF )\n // InternalOptGrammar.g:2831:1: ruleFixed EOF\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getFixedRule()); \n }\n pushFollow(FOLLOW_1);\n ruleFixed();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getFixedRule()); \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":"c6307140fe1e6ab3ab6e44c8645960e7","score":"0.38659844","text":" void putBinding(Key bindingKey, Provider provider) {\n\t\tbindings.put(bindingKey, new Binding(provider, defaultScope));\n\t}","title":""},{"docid":"dd1da657ce9cf6eeaa6c76466936505b","score":"0.3864459","text":"public static native JavaScriptObject registerEntry() /*-{\n if (@com.google.gwt.core.client.GWT::isScript()()) {\n // Assignment to $entry is done by the compiler\n return @Impl::entry(*);\n } else {\n // But we have to do in in Development Mode\n return $entry = @Impl::entry(*);\n }\n }-*/;","title":""},{"docid":"2582845f762f6107f4144e9df8b38f67","score":"0.3859323","text":"public void addConcept(FasterLLConcept concept)\r\n/* 18: */ {\r\n/* 19:33 */ this.conceptMap.put(concept.getName(), concept);\r\n/* 20: */ }","title":""},{"docid":"7833949bde3de31fdbd485d1c572a30e","score":"0.38557506","text":"AdapterResponse putEntry(PutEntryRequest putEntryRequest);","title":""},{"docid":"8e5c0ff81d9cf58b66711ff8c2d0245b","score":"0.38553104","text":"public void addOp(final HttpOperation op) {\n vconn.checkState();\n vconn.addOp(op);\n }","title":""},{"docid":"79ec5ff39169094764f70029e18d4c34","score":"0.3854253","text":"public HttpGlobalConfig addCallAdapterFactory(@NonNull CallAdapter.Factory factory) {\n this.callAdapterFactories.add(factory);\n return this;\n }","title":""}],"string":"[\n {\n \"docid\": \"daeb13a073940d943d94e017b7ba52ee\",\n \"score\": \"0.7283262\",\n \"text\": \"public FoxHttpClientBuilder setFoxHttpPlaceholderStrategy(FoxHttpPlaceholderStrategy foxHttpPlaceholderStrategy) {\\n foxHttpClient.setFoxHttpPlaceholderStrategy(foxHttpPlaceholderStrategy);\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"625c2f85b787c78850092a6854f3e0c5\",\n \"score\": \"0.6003705\",\n \"text\": \"public static void registerServerPlaceholder(ServerPlaceholder placeholder) {\\n\\t\\tPlaceholders.registerPlaceholder(placeholder, true);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e481a71d8cb8da0129d3bb5eabce338\",\n \"score\": \"0.5506957\",\n \"text\": \"@Nonnull\\r\\n IMPLTYPE setPlaceholder (@Nullable String sPlaceholder);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3fd7840d86a21e28000fa92086ef8ea0\",\n \"score\": \"0.5433025\",\n \"text\": \"public void setPlaceholder(String placeholder) {\\n getState().placeholder = placeholder;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ee023cbe9abc7ca9b7e486f5138cf1a3\",\n \"score\": \"0.5373027\",\n \"text\": \"public static void registerPlayerPlaceholder(PlayerPlaceholder placeholder) {\\n\\t\\tPlaceholders.registerPlaceholder(placeholder, true);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4721ec67c29a22d10297585fbab25caf\",\n \"score\": \"0.5163519\",\n \"text\": \"public void setPlaceHolderValue(String key, String value) {\\n if (!placeHolders.containsKey(key)) {\\n throw new IllegalArgumentException(\\\"Invalid placeholder key\\\");\\n }\\n if (value == null) {\\n throw new IllegalArgumentException(\\\"Placeholder value must not be NULL\\\");\\n }\\n placeHolders.put(key, value);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a89800c9cda2af5bfe804baec536dc7f\",\n \"score\": \"0.4993631\",\n \"text\": \"public ItemBuilder addNamePlaceholder(String placeholder, String argument) {\\n\\t\\tthis.namePlaceholders.put(placeholder, argument);\\n\\t\\treturn this;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13909c55968f3384364eb961aa3a7545\",\n \"score\": \"0.4880606\",\n \"text\": \"@Override\\n public void put(PlaceHolder placeHolder, String content) {\\n DiagnosticPos position = placeHolder.getPosition(bLangPackageOfTestFile);\\n Map placeHolders = positions.get(position);\\n placeHolders = (placeHolders == null) ? new HashMap<>() : placeHolders;\\n placeHolders.put(placeHolder.getName(), content);\\n positions.put(position, placeHolders);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c8551466a2f33a3bbcd3076433767a3f\",\n \"score\": \"0.4850884\",\n \"text\": \"public ItemBuilder addLorePlaceholder(String placeholder, String argument) {\\n\\t\\tthis.lorePlaceholders.put(placeholder, argument);\\n\\t\\treturn this;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f46f1a13d7477be0e23dd4eb5266c7e4\",\n \"score\": \"0.4818382\",\n \"text\": \"interface PlaceholderCompiler {\\n @AutoValue\\n abstract static class Placeholder {\\n static Placeholder create(Expression soyValueProvider, boolean requiresDetachLogicToResolve) {\\n soyValueProvider.checkAssignableTo(SOY_VALUE_PROVIDER_TYPE);\\n return new AutoValue_MsgCompiler_PlaceholderCompiler_Placeholder(\\n soyValueProvider, requiresDetachLogicToResolve);\\n }\\n\\n abstract Expression soyValueProvider();\\n\\n abstract boolean requiresDetachLogicToResolve();\\n }\\n /**\\n * Compiles the expression to a {@link SoyValueProvider} valued expression.\\n *\\n *

If the node requires detach logic, it should use the given label as the reattach point.\\n */\\n Placeholder compile(ExprRootNode node, ExpressionDetacher detacher);\\n\\n /**\\n * Compiles the given node to a statement that writes the result into the given appendable.\\n *\\n *

The statement is guaranteed to be written to a location with a stack depth of zero.\\n */\\n Placeholder compile(\\n String phname, StandaloneNode node, ExtraCodeCompiler prefix, ExtraCodeCompiler suffix);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"14cc3ca7bc236c81cc47193bb5611065\",\n \"score\": \"0.47996014\",\n \"text\": \"public void add(String pattern, HttpHandler handler);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8e9fcf64ad26219e167b8fdb24c91ca3\",\n \"score\": \"0.47772402\",\n \"text\": \"void setDefaultPlaceholder(Drawable placeholder) {\\n this.defaultPlaceholder = placeholder;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2a830501f209d72627f60b80a66d9d9\",\n \"score\": \"0.46669355\",\n \"text\": \"public synchronized void addEntry(String key, Entry entry) {\\n\\n assertAlreadyExists(key, ENTRY);\\n \\n if (entry.getType() == Entry.URL_SRC && entry.getValue() == null) {\\n try {\\n SynapseEnvironment synEnv = SynapseConfigUtils.getSynapseEnvironment(\\n axisConfiguration);\\n entry.setValue(SynapseConfigUtils.getOMElementFromURL(entry.getSrc()\\n .toString(), synEnv != null ? synEnv.getServerContextInformation()\\n .getServerConfigurationInformation().getSynapseHome() : \\\"\\\"));\\n localRegistry.put(key, entry);\\n for (SynapseObserver o : observers) {\\n o.entryAdded(entry);\\n }\\n } catch (IOException e) {\\n handleException(\\\"Can not read from source URL : \\\"\\n + entry.getSrc());\\n }\\n } else {\\n localRegistry.put(key, entry);\\n for (SynapseObserver o : observers) {\\n o.entryAdded(entry);\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75d0e1cde05fa8c6ad511efa6406f2fa\",\n \"score\": \"0.46575463\",\n \"text\": \"public Builder setPlaceholder(int value) {\\n bitField0_ |= 0x00000001;\\n placeholder_ = value;\\n onChanged();\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75d0e1cde05fa8c6ad511efa6406f2fa\",\n \"score\": \"0.46575463\",\n \"text\": \"public Builder setPlaceholder(int value) {\\n bitField0_ |= 0x00000001;\\n placeholder_ = value;\\n onChanged();\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"040dd57042c2cc675dca5723fad7c3ae\",\n \"score\": \"0.45983064\",\n \"text\": \"void setDefaultPlaceholder(int position, Drawable placeholder) {\\n placeholders[position] = placeholder;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3717684675626a3d1ce4eb730b649b45\",\n \"score\": \"0.45928434\",\n \"text\": \"public static T makePlaceholderValue(T t)\\n {\\n return t;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7a35cbc64c8367f4cc65aac482cc49a4\",\n \"score\": \"0.45776325\",\n \"text\": \"public void addHttpSeed(String url) {\\n ti.add_url_seed(url);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"88082adbe893b776c39a2cf706301e8f\",\n \"score\": \"0.45364878\",\n \"text\": \"@Override\\n public void prepend(PlaceHolder placeHolder, String content) {\\n merge(placeHolder, (oldContent) -> content + (oldContent == null ? \\\"\\\" : oldContent));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9fe570d9254c8844448ed2fb07367c43\",\n \"score\": \"0.45124242\",\n \"text\": \"public final void entryRulePlaceHolderStatement() throws RecognitionException {\\n try {\\n // InternalOptGrammar.g:1630:1: ( rulePlaceHolderStatement EOF )\\n // InternalOptGrammar.g:1631:1: rulePlaceHolderStatement EOF\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getPlaceHolderStatementRule()); \\n }\\n pushFollow(FOLLOW_1);\\n rulePlaceHolderStatement();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getPlaceHolderStatementRule()); \\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cfc864fc82427af6d5307b5fbf0d7baf\",\n \"score\": \"0.44922164\",\n \"text\": \"protected abstract List registerPlaceHolders();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc7477e732b98ec5dd94e1aa3bf12da5\",\n \"score\": \"0.44805625\",\n \"text\": \"@Override\\n public void setTextPlaceholder(TextPlaceholder placeholder) {\\n Placeholder ph = null;\\n int runType;\\n switch (placeholder) {\\n default:\\n case BODY:\\n runType = TextHeaderAtom.BODY_TYPE;\\n ph = Placeholder.BODY;\\n break;\\n case TITLE:\\n runType = TextHeaderAtom.TITLE_TYPE;\\n ph = Placeholder.TITLE;\\n break;\\n case CENTER_BODY:\\n runType = TextHeaderAtom.CENTRE_BODY_TYPE;\\n ph = Placeholder.BODY;\\n break;\\n case CENTER_TITLE:\\n runType = TextHeaderAtom.CENTER_TITLE_TYPE;\\n ph = Placeholder.TITLE;\\n break;\\n case HALF_BODY:\\n runType = TextHeaderAtom.HALF_BODY_TYPE;\\n ph = Placeholder.BODY;\\n break;\\n case QUARTER_BODY:\\n runType = TextHeaderAtom.QUARTER_BODY_TYPE;\\n ph = Placeholder.BODY;\\n break;\\n case NOTES:\\n runType = TextHeaderAtom.NOTES_TYPE;\\n break;\\n case OTHER:\\n runType = TextHeaderAtom.OTHER_TYPE;\\n break;\\n }\\n setRunType(runType);\\n if (ph != null) {\\n setPlaceholder(ph);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"05b80058369c825953ce780a01ef8390\",\n \"score\": \"0.44747457\",\n \"text\": \"public IHttpParameter insertLocal ( IHttpParameter object );\",\n \"title\": \"\"\n },\n {\n \"docid\": \"24492b5c565c229f1d2ac756da67c007\",\n \"score\": \"0.4446089\",\n \"text\": \"@Override\\n public boolean isNeedsPlaceHolder() {\\n return false;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d5d4c10cf9f8228f01193df5bdb70933\",\n \"score\": \"0.44421628\",\n \"text\": \"HttpParameters add(String key, String value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b4c4b1a7e63c7d3602c2220c163e61f0\",\n \"score\": \"0.44386494\",\n \"text\": \"public String generatePlaceholder(Object theValue) {\\n\\t\\tString placeholder = myBindVariableSubstitutionBase + myBindVariableValues.size();\\n\\t\\tmyBindVariableValues.add(theValue);\\n\\t\\treturn placeholder;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f3e76d10b6b1fde808e0d809db3115e\",\n \"score\": \"0.44020614\",\n \"text\": \"int getPlaceholder();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f3e76d10b6b1fde808e0d809db3115e\",\n \"score\": \"0.44020614\",\n \"text\": \"int getPlaceholder();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a488c512a565606aa2b4af42b3736918\",\n \"score\": \"0.43833056\",\n \"text\": \"public ItemBuilder replace(String placeholder, String value) {\\n ItemMeta im = is.getItemMeta();\\n List lore = im.getLore();\\n im.setLore(lore.stream().map(line -> line = line.replace(placeholder,value)).collect(Collectors.toList()));\\n is.setItemMeta(im);\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7bf9d93a2e49e8050a7493917c47fc88\",\n \"score\": \"0.43633902\",\n \"text\": \"abstract L placeholderListener ();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"43fcd2eea9859e8db27cfc795dcaedc2\",\n \"score\": \"0.435665\",\n \"text\": \"public void addDefinition(String input) {\\n\\t\\tdefinition = definition + \\\"\\\\n\\\" + input;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1dcaffc57f8b30f16a6c2ebb3f3908ed\",\n \"score\": \"0.4350815\",\n \"text\": \"public FoxHttpClientBuilder(FoxHttpAuthorizationStrategy foxHttpAuthorizationStrategy) {\\n foxHttpClient = new FoxHttpClient();\\n foxHttpClient.setFoxHttpAuthorizationStrategy(foxHttpAuthorizationStrategy);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1c767576966189522861d0194c07b05b\",\n \"score\": \"0.4349968\",\n \"text\": \"@Override\\n public void append(PlaceHolder placeHolder, String content) {\\n merge(placeHolder, (oldContent) -> (oldContent == null ? \\\"\\\" : oldContent) + content);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"67bd6af9091d84016bc1aba17795656b\",\n \"score\": \"0.43463045\",\n \"text\": \"public void addEndpoint(String key, Entry entry) {\\n assertAlreadyExists(key, ENTRY);\\n localRegistry.put(key, entry);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47f14b98e314b910129693c59fcf969a\",\n \"score\": \"0.43367752\",\n \"text\": \"public final void addValueToFeature(final B rc, final F f, final H holder,\\n final Token value) {\\n addToFeature(rc, f, holder, parseValue(f, value));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c325240c70df2fbd4904974d3948b091\",\n \"score\": \"0.43110105\",\n \"text\": \"public void putPlaceHolder(String id, String file, String ext){\\n\\t\\tFile f = new File(path + \\\"tmp/\\\" + file);\\n\\t\\tSystem.out.println(\\\"Putting placeholder over \\\"+ id +\\\" in file \\\" + file);\\n\\t\\ttry {\\n\\t\\t\\tint i;\\n\\t\\t\\tString newLine;\\n\\t\\t\\tString s = \\\"\\\";\\n\\t\\t\\tString lines[];\\n\\t\\t\\tString words[] = null;\\n\\t\\t\\tBufferedReader in = new BufferedReader(new FileReader(f));\\n\\t\\t\\t\\n\\t\\t\\tnewLine = in.readLine();\\n\\t\\t\\twhile(newLine != null){\\n\\t\\t\\t\\ts = s + \\\"\\\\n\\\" + newLine;\\n\\t\\t\\t\\tnewLine = in.readLine();\\n\\t\\t\\t}\\n\\t\\t\\tin.close();\\n\\t\\t\\t\\n\\t\\t\\tlines = s.split(\\\"\\\\n\\\");\\n\\t\\t\\tfor (i=0; i< lines.length; i++){\\n\\t\\t\\t\\tif(lines[i].contains(id)){\\n\\t\\t\\t\\t\\twords = ext.equals(\\\"net\\\") ? lines[i].split(\\\" \\\") : lines[++i].split(\\\"-\\\");\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\t\\n\\t\\t\\tif (words == null){\\n\\t\\t\\t\\tSystem.err.println(\\\"ID not found, couldn't put placehoder\\\");\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\t\\t\\t\\n\\t\\t\\twords[1] = ext.equals(\\\"net\\\") ? \\\"@@CORES@@\\\" : \\\"@@CONCURRENCY@@}\\\";\\n\\t\\t\\t\\n\\t\\t\\tlines[i] = ext.equals(\\\"net\\\") ? String.join(\\\" \\\", words) : String.join(\\\"-\\\", words);\\n\\t\\t\\ts = String.join(\\\"\\\\n\\\", lines);\\n\\t\\t\\t\\n\\t\\t\\tBufferedWriter out = new BufferedWriter(new FileWriter(f));\\n\\t\\t\\tout.write(s);\\n\\t\\t\\t\\n\\t\\t\\tout.close();\\n\\t\\t\\t\\n\\t\\t} catch (FileNotFoundException e) {\\n\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\tSystem.err.println(\\\"File: \\\"+f.getAbsolutePath()+ \\\" not found!\\\");\\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\": \"02e0ce838eac7e5a48e81d43f4227c2d\",\n \"score\": \"0.430574\",\n \"text\": \"public void addFactoryAsLast(ParameterBinderFactory factory) {\\n orderedBinderFactories.add(factory);\\n factoryCache.clear();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a30aeabef59737a7cd47342a3a147ac0\",\n \"score\": \"0.4298291\",\n \"text\": \"HttpResponse add(String url, HttpResponse response);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f36001f6445514ab6a400fa94299a16\",\n \"score\": \"0.42879757\",\n \"text\": \"public int getPlaceholder() {\\n return placeholder_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f36001f6445514ab6a400fa94299a16\",\n \"score\": \"0.42879757\",\n \"text\": \"public int getPlaceholder() {\\n return placeholder_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b3c94dc73db1d89a6bdc1bc594ee9f4f\",\n \"score\": \"0.42558527\",\n \"text\": \"public void addFactoryAsFirst(ParameterBinderFactory factory) {\\n orderedBinderFactories.add(0, factory);\\n factoryCache.clear();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9e9bfaf8fd0c8cb3f071a221a443382\",\n \"score\": \"0.424362\",\n \"text\": \"@OnStartup\\n @SuppressWarnings(\\\"unused\\\")\\n public void onStartup(final PlaceRequest placeRequest) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b3d04fecee7e7c037898856406b5b552\",\n \"score\": \"0.42411458\",\n \"text\": \"public FoxHttpClientBuilder(FoxHttpHostTrustStrategy foxHttpHostTrustStrategy, FoxHttpSSLTrustStrategy foxHttpSSLTrustStrategy) {\\n foxHttpClient = new FoxHttpClient();\\n foxHttpClient.setFoxHttpHostTrustStrategy(foxHttpHostTrustStrategy);\\n foxHttpClient.setFoxHttpSSLTrustStrategy(foxHttpSSLTrustStrategy);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0606537780de80cfb3a423e3d8deaa1d\",\n \"score\": \"0.42192647\",\n \"text\": \"public abstract void addToFeature(final B rc, final F f, final H holder,\\n final Object v);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bca6a5b7665aa784f2d431b1d9573e6a\",\n \"score\": \"0.42137396\",\n \"text\": \"public int getPlaceholder() {\\n return placeholder_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bca6a5b7665aa784f2d431b1d9573e6a\",\n \"score\": \"0.42137396\",\n \"text\": \"public int getPlaceholder() {\\n return placeholder_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fd40aa7cdc61f0a3d8f20e7dc79bdc45\",\n \"score\": \"0.41901326\",\n \"text\": \"private void setHttpCallback(final Handler handler) {\\n mHttpServer.setCallbackForNewDownloadable(new HttpServer.ItemAdded() {\\n @Override\\n public void itemAdded(final String downloadable, final String address) {\\n handler.post(new Runnable() {\\n @Override\\n public void run() {\\n if (!downloadables.contains(downloadable)) {\\n downloadables.add(downloadable);\\n downloadablesHelper.put(downloadable, address);\\n mAdapter.notifyItemInserted(downloadables.size() - 1);\\n }\\n }\\n });\\n }\\n });\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"34566dff6b0ed32dfedec35a41cffb5e\",\n \"score\": \"0.4166621\",\n \"text\": \"public void addSetting(String name, String value) throws TemplateException {\\n if (name.equals(INITPARAM_NOCACHE)) {\\n nocache = StringUtil.getYesNo(value);\\n } else if (name.equals(INITPARAM_DEBUG)) {\\n debug = StringUtil.getYesNo(value);\\n } else if (name.equals(INITPARAM_CONTENT_TYPE)) {\\n contentType = value;\\n } else {\\n config.setSetting(name, value);\\n }\\n\\n if (contentType != null && !contentTypeEvaluated) {\\n int i = contentType.toLowerCase().indexOf(\\\"charset=\\\");\\n contentTypeEvaluated = true;\\n if (i != -1) {\\n char c = ' ';\\n i--;\\n while (i >= 0) {\\n c = contentType.charAt(i);\\n if (!Character.isWhitespace(c)) break;\\n i--;\\n }\\n if (i == -1 || c == ';') {\\n noCharsetInContentType = false;\\n }\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f86f91a8912b10e41f78d3af31229ca8\",\n \"score\": \"0.4166296\",\n \"text\": \"static void addContentTypeIfAbsent(HttpRequest request, Supplier contentType) {\\n if (!CONTENT_TYPE_ABSENT.test(request)) {\\n return;\\n }\\n\\n final CharSequence contentTypeVal = contentType.get();\\n if (LoggerUtils.logger().isDebugEnabled()) {\\n LoggerUtils.logger().debug(\\\"content-type is absent, try to set default value: {}, uri: {}\\\",\\n contentTypeVal, request.uri().toString());\\n }\\n request.headers().set(HttpHeaderNames.CONTENT_TYPE, contentTypeVal);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f674c70a643ce940ea29418e516c33ac\",\n \"score\": \"0.4163157\",\n \"text\": \"public IHttpParameter insertOrUpdateLocal ( IHttpParameter object );\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a11e662c75242f01b7ea3dd4df47d04a\",\n \"score\": \"0.41500762\",\n \"text\": \"@Override\\r\\n\\tprotected void onPlaceRequest(PlaceRequest request) {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fad1f16e275bef65f3e02e19de292791\",\n \"score\": \"0.4140809\",\n \"text\": \"public void addEntry(T entry) {\\n\\t\\tentries.add(entry);\\n\\t\\taddEntryToSites(entry);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"808f8668103532bbbce94e6c21ed407b\",\n \"score\": \"0.41386548\",\n \"text\": \"public void addFactory(final IInfoPackFactory factory)\\n\\t{\\n\\t\\tif(factory!=null&&packFactories.contains(factory)==false)\\n\\t\\t{\\t\\t\\t\\n\\t\\t\\tLOGGER.log(Level.FINER, \\\"Adding factory: \\\" + factory);\\n\\t\\t\\tpackFactories.add(factory);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9ef0d619a05ae6516ccf70d57f163c11\",\n \"score\": \"0.41342068\",\n \"text\": \"TFWrapper(final TaskFactory fact, final TaskManager taskManager, final TunableInterceptor ti) {\\n\\t\\tthis.factory = fact;\\n\\t\\tthis.taskManager = taskManager;\\n\\t\\tthis.ti = ti;\\n\\t\\tthis.name = fact.getClass().getSimpleName();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"697258a9706f35b305bf043164dac373\",\n \"score\": \"0.41172594\",\n \"text\": \"public interface PlaceholderValueGenerator {\\n /**\\n * Returns the value corresponding to the supplied key\\n * placeholder.\\n *\\n * @param key the key being substituted\\n */\\n public String generate(String key);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b4694916871ac8cc236e5cdda7ee43cc\",\n \"score\": \"0.41081488\",\n \"text\": \"@Inject\\n\\t/*public MyPlaceManager(EventBus eventBus, TokenFormatter tokenFormatter, MainPagePresenter.MyProxy defaultProxy) {\\n\\t\\tsuper(eventBus, tokenFormatter);\\n\\t\\tthis.defaultProxy = defaultProxy;\\n\\t}*/\\n\\n\\t//@Override\\n\\tpublic void revealDefaultPlace() {\\n\\t\\t//defaultProxy.reveal();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"12a392e0ef284bc9cf1c51438cc2f36d\",\n \"score\": \"0.4105003\",\n \"text\": \"public EscapingClassMarker(ValueFactory valueFactory)\\n {\\n this(valueFactory,\\n new ReferenceTracingValueFactory(valueFactory));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"956801ec8425534ce3a5abe8b7af9d3c\",\n \"score\": \"0.40926743\",\n \"text\": \"public void addEntry() {\\n\\t\\tentryMode = true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3d15028784d97f28fe57ec272da8ac70\",\n \"score\": \"0.40574726\",\n \"text\": \"private void addIngressTiles()\\n {\\n TileProvider tiles = new UrlTileProvider(256, 256) {\\n @Override\\n public synchronized URL getTileUrl(int x, int y, int zoom) {\\n final String apistyle = \\\"s.e%3Al%7Cp.v%3Aoff%2Cs.e%3Ag%7Cp.c%3A%23ff000000%2Cs.t%3A3%7Cs.e%3Ag%7Cp.c%3A%23ff5e9391\\\";\\n final String style = \\\"59,37%7Csmartmaps\\\";\\n\\n final String format = \\\"http://mt1.googleapis.com/vt?lyrs=m&src=apiv3&hl=de-DE&x=%d&s=&y=%d&z=%d&s=Galileo\\\";\\n String mapUrl = String.format(Locale.US, format, x, y, zoom);\\n\\n mapUrl += \\\"&apistyle=\\\" + apistyle + \\\"&style=\\\" + style;\\n\\n URL url = null;\\n try {\\n url = new URL(mapUrl);\\n } catch (MalformedURLException e) {\\n throw new AssertionError(e);\\n }\\n return url;\\n }\\n };\\n\\n TileOverlayOptions tileOverlay = new TileOverlayOptions();\\n tileOverlay.tileProvider(tiles);\\n\\n mMap.addTileOverlay(new TileOverlayOptions().tileProvider(tiles));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"df7dbe900566982658bfaf7aa2bcb6af\",\n \"score\": \"0.40502807\",\n \"text\": \"boolean hasPlaceholder();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"df7dbe900566982658bfaf7aa2bcb6af\",\n \"score\": \"0.40502807\",\n \"text\": \"boolean hasPlaceholder();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7dc23eabe1c7709f05178b1adf866075\",\n \"score\": \"0.4048517\",\n \"text\": \"public boolean hasPlaceholder() {\\n return ((bitField0_ & 0x00000001) == 0x00000001);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7dc23eabe1c7709f05178b1adf866075\",\n \"score\": \"0.4048517\",\n \"text\": \"public boolean hasPlaceholder() {\\n return ((bitField0_ & 0x00000001) == 0x00000001);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7ffd764605aa0571cf2bf024dc0ec652\",\n \"score\": \"0.40449172\",\n \"text\": \"private void setPlaceholderDelayedAction(final String placeholder, final BindingAction action) {\\n // Fake waiting as in a API request to show off placeholder when data is not ready\\n new Handler(Looper.getMainLooper()).postDelayed(new Runnable() {\\n @Override\\n public void run() {\\n for (BaseBrick brick : dataManager.getBricksByTag(placeholder)) {\\n ViewModelBrick viewModelBrick = (ViewModelBrick) brick;\\n action.perform(viewModelBrick);\\n }\\n }\\n }, 2000);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"98591acc10785f44ca43838f5dc33813\",\n \"score\": \"0.4039182\",\n \"text\": \"public boolean hasPlaceholder() {\\n return ((bitField0_ & 0x00000001) == 0x00000001);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"98591acc10785f44ca43838f5dc33813\",\n \"score\": \"0.4039182\",\n \"text\": \"public boolean hasPlaceholder() {\\n return ((bitField0_ & 0x00000001) == 0x00000001);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a03ad4003b0be65996a09ba52c27a705\",\n \"score\": \"0.40155396\",\n \"text\": \"private void excutePut() {\\n\\t\\t_instance.put(context, url, getHttpEntity(), CONTENT_TYPE,\\n\\t\\t\\t\\tresponseHandlerInterface);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a569b75dda57dae995c202bfd83e9e74\",\n \"score\": \"0.40119258\",\n \"text\": \"public AddHostsTabItem(Facility facility){\\n\\t\\tthis.facility = facility;\\n\\t\\tthis.facilityId = facility.getId();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"08d95ea10875e87bc2dce60644f6c276\",\n \"score\": \"0.40090227\",\n \"text\": \"public static void addParamPageFlow(String key, Object value) {\\n AdfFacesContext.getCurrentInstance().getPageFlowScope().put(key, value);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4407f8e9d5a534cfac91df17a9766ef5\",\n \"score\": \"0.3998872\",\n \"text\": \"public PlaceholderFragment() {\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3b0e5583b9db0b481a377fda5eecd6c1\",\n \"score\": \"0.39908814\",\n \"text\": \"public void addParameterBinder(ParameterBinder pb) {\\n if (parameters == null) {\\n parameters = new ArrayList();\\n }\\n\\n parameters.add(pb);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5abd2e6fddc203d00e26829eb043a2e1\",\n \"score\": \"0.3981319\",\n \"text\": \"HTTPEndPointInputConnector createHTTPEndPointInputConnector();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a92b6bd0939df200e1ee0a8b1f1cff99\",\n \"score\": \"0.3972759\",\n \"text\": \"public ItemBuilder setNamePlaceholders(HashMap placeholders) {\\n\\t\\tthis.namePlaceholders = placeholders;\\n\\t\\treturn this;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1662025ad8c0ff8d70da41997950fe66\",\n \"score\": \"0.3971675\",\n \"text\": \"private void inputRequest(Runnable request) {\\n inputRequests.add(request);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f45ec3f3b859b2c86088f5ad9be50549\",\n \"score\": \"0.39648616\",\n \"text\": \"void AddEntry(T entryDetails) throws Exception;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3ced44da8f578bb81db503d009993007\",\n \"score\": \"0.3960555\",\n \"text\": \"private void insertEntry(String entry) {\\n exp.insert(cursor,entry);\\n cursor += entry.length();\\n updateExpField();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c42497a3a46c78a3806137fa6c1d6c92\",\n \"score\": \"0.3954415\",\n \"text\": \"public boolean addEnvironmentBinding(String name, SymbolTableEntry entry) {\\n if (environment.locallyContains(name)) {\\n showError(name + \\\" is already defined.\\\");\\n return false;\\n }\\n environment.put(name, entry);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"59ea2eab48bb7751dc27b3051ad77772\",\n \"score\": \"0.394661\",\n \"text\": \"boolean canResolve(String placeholder);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47582e144406c5f6ca459e6b88803463\",\n \"score\": \"0.3938996\",\n \"text\": \"private static HttpPost prepPost (String url, boolean hasEntry) {\\r\\n\\t HttpPost post = new HttpPost(url);\\r\\n\\t\\t\\t\\t// add header\\r\\n\\t\\t\\t\\tpost.setHeader(\\\"Host\\\", \\\"172.18.13.106\\\"); \\r\\n\\t\\t\\t\\tpost.setHeader(\\\"Connection\\\", \\\"Keep-Alive\\\");\\r\\n\\t\\t\\t\\tpost.setHeader(\\\"Pragma\\\", \\\"no-cache\\\");\\r\\n\\t\\t\\r\\n\\t\\tif(hasEntry) {\\r\\n\\t\\t\\tString entry=\\\" ....x..a``.r\\tJMLqLNN-.....SK.S..R..R..3....b<.. .......\\t.......%.El@.sNfj^.. `...a..bF.&.d...Lp.#@...G^..\\\";\\r\\n\\t\\t\\tSystem.out.println(\\\"The post has entry as:\\\"+entry);\\t\\r\\n\\t\\t\\t\\tHttpEntity entity;\\r\\n\\t\\t\\t\\ttry {\\r\\n\\t\\t\\t\\t\\tentity = new ByteArrayEntity(entry.getBytes(\\\"UTF-8\\\"));\\r\\n\\t\\t\\t\\t\\tpost.setEntity(entity);\\r\\n\\t\\t\\t\\t} catch (UnsupportedEncodingException e) {\\r\\n\\t\\t\\t\\t\\te.printStackTrace();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t} \\r\\n\\t \\r\\n\\t\\t return post;\\r\\n\\t \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c79511559034a7eea08a9f83559e424b\",\n \"score\": \"0.393014\",\n \"text\": \"@Override\\n public void run() {\\n getFragmentManager().beginTransaction().replace(R.id.container, new PlaceholderFragment()).commit();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f1a8575eb4cbddb2534483bc9d56ffd\",\n \"score\": \"0.39187387\",\n \"text\": \"public void addEntry(String content) {\\n Parser parser = new Parser();\\n try {\\n entries.add(parser.parseContent(content));\\n } catch (IOException ex) {\\n System.out.println(\\\"Adding entry failed\\\");\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"312839ffed96cf68439e03a3e12fa182\",\n \"score\": \"0.3913372\",\n \"text\": \"private void loadSimpleVariable(Node node) {\\n codeManager.insert(new BackfillInstruction(node.getSymbol(), Operation.PLACEHOLDER_LV));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3e97a98b6133b56ab8dfab53ed13b687\",\n \"score\": \"0.39043057\",\n \"text\": \"public void addCheckPoint(String title, Map binding) {\\n\\t\\taddCheckPoint(new CheckPoint(binding, title));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"caaa169ea5c379cc1fbfa4d74b9cf217\",\n \"score\": \"0.39023176\",\n \"text\": \"public void addHT (String ht){\\n this.ht.add(ht);\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a6d434bf35b3c372c08458d6c3894ade\",\n \"score\": \"0.39019233\",\n \"text\": \"private void putEntry(String name, String entry, String value) {\\n try {\\n // Get file\\n Document doc = Framework.parse(main.myPath + name, \\\"index\\\");\\n Node root = doc.getDocumentElement();\\n\\n Element nentry = findNodeWith(doc, entry);\\n if (nentry == null) {\\n // Add new element\\n Element el = doc.createElement(\\\"entry\\\");\\n el.setAttribute(\\\"name\\\", entry);\\n el.setAttribute(\\\"value\\\", value);\\n root.appendChild(el);\\n }\\n else {\\n nentry.setAttribute(\\\"value\\\", value);\\n }\\n\\n // Write back\\n Framework.transform\\n (doc, new StreamResult(new File(main.myPath + name)), null);\\n }\\n catch (Exception e) {\\n\\t // Debugging\\n e.printStackTrace();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"64c7f80b2d944b5ed3b5fe3c935feb49\",\n \"score\": \"0.38984028\",\n \"text\": \"public String getPlaceholder() {\\n return getState(false).placeholder;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3519ace46d1654d44e627f6a2ccc7552\",\n \"score\": \"0.38823912\",\n \"text\": \"public void insertInterceptor(Interceptor interceptor);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1cdf91479bac4368411aa51ea631288\",\n \"score\": \"0.38820577\",\n \"text\": \"public void add(VariableSymbol var, Term term) \\n\\tthrows BindingAlreadyEstablishedException\\n {\\n\\tif (bindings == null) bindings = new HashMap (3);\\n\\tif (isBound(var)){\\n\\t throw new BindingAlreadyEstablishedException(var,this);\\n\\t}\\n\\t\\n\\t// System.out.println(\\\"Fuege \\\"+var.toString()+\\\"<-\\\"+term.toString()+\\\" hinzu.\\\");\\n\\t// Substitution in HashMap aufnehmen\\n\\taddOrReplace(var,term);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3e3d740cb681f53ed1e5a943be75110\",\n \"score\": \"0.38814428\",\n \"text\": \"void addQuerystringParameter(String key, String value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e95455958c71d51b81bb659ccf0084e4\",\n \"score\": \"0.38800955\",\n \"text\": \"@Override\\n public void addParameter(String name, String value) {\\n throw new IllegalArgumentException(\\\"PUT requests don't have params\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"39aa705cb8cfeb372b241e1e35cd2a31\",\n \"score\": \"0.3877208\",\n \"text\": \"public MultistackEntry(ValueWrapper value, MultistackEntry next) {\\n\\t\\t\\tthis.value = value;\\n\\t\\t\\tthis.next = next;\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cb4ea2a658883ff9649c1fe06d0aa872\",\n \"score\": \"0.38762867\",\n \"text\": \"public void addEntry(Entry entry) throws IOException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd5dc08459a83ee145f26edd1f82a355\",\n \"score\": \"0.38714936\",\n \"text\": \"public void createPlaceRequest(Place request, StreamObserver response);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c578880b1eaf2effc9926a80a4736988\",\n \"score\": \"0.3867595\",\n \"text\": \"public final void entryRuleFixed() throws RecognitionException {\\n try {\\n // InternalOptGrammar.g:2830:1: ( ruleFixed EOF )\\n // InternalOptGrammar.g:2831:1: ruleFixed EOF\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getFixedRule()); \\n }\\n pushFollow(FOLLOW_1);\\n ruleFixed();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getFixedRule()); \\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c6307140fe1e6ab3ab6e44c8645960e7\",\n \"score\": \"0.38659844\",\n \"text\": \" void putBinding(Key bindingKey, Provider provider) {\\n\\t\\tbindings.put(bindingKey, new Binding(provider, defaultScope));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dd1da657ce9cf6eeaa6c76466936505b\",\n \"score\": \"0.3864459\",\n \"text\": \"public static native JavaScriptObject registerEntry() /*-{\\n if (@com.google.gwt.core.client.GWT::isScript()()) {\\n // Assignment to $entry is done by the compiler\\n return @Impl::entry(*);\\n } else {\\n // But we have to do in in Development Mode\\n return $entry = @Impl::entry(*);\\n }\\n }-*/;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2582845f762f6107f4144e9df8b38f67\",\n \"score\": \"0.3859323\",\n \"text\": \"public void addConcept(FasterLLConcept concept)\\r\\n/* 18: */ {\\r\\n/* 19:33 */ this.conceptMap.put(concept.getName(), concept);\\r\\n/* 20: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7833949bde3de31fdbd485d1c572a30e\",\n \"score\": \"0.38557506\",\n \"text\": \"AdapterResponse putEntry(PutEntryRequest putEntryRequest);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8e5c0ff81d9cf58b66711ff8c2d0245b\",\n \"score\": \"0.38553104\",\n \"text\": \"public void addOp(final HttpOperation op) {\\n vconn.checkState();\\n vconn.addOp(op);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"79ec5ff39169094764f70029e18d4c34\",\n \"score\": \"0.3854253\",\n \"text\": \"public HttpGlobalConfig addCallAdapterFactory(@NonNull CallAdapter.Factory factory) {\\n this.callAdapterFactories.add(factory);\\n return this;\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":362,"cells":{"query_id":{"kind":"string","value":"2b34c44ff64dd213c840d3741ec05893"},"query":{"kind":"string","value":"Adds a DOM listener of the given type for the given component event and annotation."},"positive_passages":{"kind":"list like","value":[{"docid":"727a23217dc90b1f55580c857ee91753","score":"0.63776004","text":"private > void addDomTrigger(Class eventType,\n com.vaadin.flow.component.DomEvent annotation,\n ListenerWrapper wrapper) {\n assert eventType != null;\n assert annotation != null;\n\n String domEventType = annotation.value();\n DisabledUpdateMode mode = annotation.allowUpdates();\n String filter = annotation.filter();\n DebounceSettings debounce = annotation.debounce();\n int debounceTimeout = debounce.timeout();\n\n if (domEventType == null || domEventType.isEmpty()) {\n throw new IllegalArgumentException(\n \"The DOM event type cannot be null or empty\");\n }\n\n Element element = component.getElement();\n\n // Register DOM event handler\n DomListenerRegistration registration = element.addEventListener(\n domEventType,\n event -> handleDomEvent(eventType, event, wrapper));\n\n wrapper.domRegistration = registration;\n\n registration.setDisabledUpdateMode(mode);\n\n LinkedHashMap> eventDataExpressions = ComponentEventBusUtil\n .getEventDataExpressions(eventType);\n\n eventDataExpressions.forEach((expression, type) -> {\n if (Component.class.isAssignableFrom(type)\n || type == Element.class) {\n registration.addEventDataElement(expression);\n } else {\n registration.addEventData(expression);\n }\n });\n\n if (!\"\".equals(filter)) {\n registration.setFilter(filter);\n }\n\n if (debounceTimeout != 0) {\n DebouncePhase[] phases = debounce.phases();\n if (phases.length == 0) {\n throw new IllegalStateException(\n \"There must be at least one debounce phase\");\n }\n\n DebouncePhase[] rest = new DebouncePhase[phases.length - 1];\n System.arraycopy(phases, 1, rest, 0, rest.length);\n\n registration.debounce(debounceTimeout, phases[0], rest);\n }\n }","title":""}],"string":"[\n {\n \"docid\": \"727a23217dc90b1f55580c857ee91753\",\n \"score\": \"0.63776004\",\n \"text\": \"private > void addDomTrigger(Class eventType,\\n com.vaadin.flow.component.DomEvent annotation,\\n ListenerWrapper wrapper) {\\n assert eventType != null;\\n assert annotation != null;\\n\\n String domEventType = annotation.value();\\n DisabledUpdateMode mode = annotation.allowUpdates();\\n String filter = annotation.filter();\\n DebounceSettings debounce = annotation.debounce();\\n int debounceTimeout = debounce.timeout();\\n\\n if (domEventType == null || domEventType.isEmpty()) {\\n throw new IllegalArgumentException(\\n \\\"The DOM event type cannot be null or empty\\\");\\n }\\n\\n Element element = component.getElement();\\n\\n // Register DOM event handler\\n DomListenerRegistration registration = element.addEventListener(\\n domEventType,\\n event -> handleDomEvent(eventType, event, wrapper));\\n\\n wrapper.domRegistration = registration;\\n\\n registration.setDisabledUpdateMode(mode);\\n\\n LinkedHashMap> eventDataExpressions = ComponentEventBusUtil\\n .getEventDataExpressions(eventType);\\n\\n eventDataExpressions.forEach((expression, type) -> {\\n if (Component.class.isAssignableFrom(type)\\n || type == Element.class) {\\n registration.addEventDataElement(expression);\\n } else {\\n registration.addEventData(expression);\\n }\\n });\\n\\n if (!\\\"\\\".equals(filter)) {\\n registration.setFilter(filter);\\n }\\n\\n if (debounceTimeout != 0) {\\n DebouncePhase[] phases = debounce.phases();\\n if (phases.length == 0) {\\n throw new IllegalStateException(\\n \\\"There must be at least one debounce phase\\\");\\n }\\n\\n DebouncePhase[] rest = new DebouncePhase[phases.length - 1];\\n System.arraycopy(phases, 1, rest, 0, rest.length);\\n\\n registration.debounce(debounceTimeout, phases[0], rest);\\n }\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"c3886c024a19a0db6479500d23aa6a79","score":"0.66488683","text":" void addListener(Class eventClass, EventListener listener);","title":""},{"docid":"1788837aca3b8c90128ce755ed6b46ca","score":"0.585962","text":"public void registerAnnotEventListener(AnnotEventListener listener) {\n mAnnotEventListenerList.add(listener);\n }","title":""},{"docid":"3f87020962ebe3f1636ba9fae1394b36","score":"0.5795908","text":"public > Registration addListener(\n Class eventType, ComponentEventListener listener) {\n return addListenerInternal(eventType, listener, null);\n }","title":""},{"docid":"54f1f06177e67d1d5be5a5716aa31e78","score":"0.57444644","text":"void addListener(Listener listener);","title":""},{"docid":"e9b2e3a2725c4b20dca8aab0f6d5ec9a","score":"0.57292473","text":"public void register(Class clazz, ScriptListener listener) {\n\tJSContext ctx = listener.getContext();\n\n\tif ((listener instanceof ObjectListener) && !((ObjectListener) listener).listensTo(clazz)) {\n\t throw new IllegalArgumentException(\"missing handler method for event \" + clazz.getSimpleName());\n\t}\n\n\tMultimap events = getReadAndWrite(clazz);\n\tif (events.isEmpty()) {\n\t registerInternalListener(clazz);\n\t}\n\n\teventsByContexts.put(ctx, clazz);\n\tevents.put(ctx, listener);\n }","title":""},{"docid":"c286e7cc6df70afaa25ae5ad6d47c6bb","score":"0.57183135","text":"public static void addOOMEventListener(OOMEventListener lsnr) {\n _listeners.add(lsnr);\n }","title":""},{"docid":"13d88ccad117c330287b13def2c8a028","score":"0.5716653","text":"void addListener(ITypeDescriptionListener listener);","title":""},{"docid":"ad4f713c1172875471d08c046e0e272d","score":"0.56133586","text":"public synchronized void addAccessibilityEventListener(IModelEventListener listener, Object[] eventTypes, Object[] params) {\n\t\tint processId = windowService.getProcessId(windowService.getActiveWindow());\n\t\tint flag = params != null && params.length == 1 && params[0] instanceof Integer\n\t\t? ((Integer) params[0]).intValue() : DEFAULT_CONTEXT_FLAG;\n\tboolean inContext = (flag & WINEVENT_INCONTEXT) != 0;\n\t\t\n\t\tsetTimeDiff();\n\tif (!isMapFileOpen && inContext) {\n\t\t\tmapFilePtr = createFileMapping(\n\t\t\t\t\tPAGE_READWRITE, 0, DWMEM_FILESIZE, fileMappingObjName);\n\t\t\tif(mapFilePtr!=0){\n\t\t\t\tisMapFileOpen = true;\n\t\t\t\tinitThread();\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < eventTypes.length; ++i) {\n\t\t\tint eventId = ((Integer) eventTypes[i]).intValue();\n\t\t\tWinEventData weData = new WinEventData(eventId, processId, inContext);\n\t\t\tList listeners = listenerMap.get(weData);\n\t\t\t\n\t\t\tif (listeners == null) {\n\t\t\t\tint hook = setWinEventHook(eventId, eventId, processId, 0, flag);\n\t\t\t\tif (hook != -1) {\n\t\t\t\t\tlisteners = new LinkedList();\n\t\t\t\t\tweData.setEventHook(hook);\n\t\t\t\t\tlistenerMap.put(weData, listeners);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tlisteners.add(listener);\n\t\t\tif (inContext) {\n\t\t\t\t++inContextListenerCount;\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"c0835b5a0f50fb2d2283dd25df63df16","score":"0.55942947","text":"@ReactMethod\n public void addListener(String eventName) {\n }","title":""},{"docid":"60ce46a888781d5e9d2ce8150f9a163b","score":"0.5579441","text":"public void addEvent(EventType eventType);","title":""},{"docid":"a35597bd4bb03e150ac5c6b383ccf98f","score":"0.55345803","text":"private > void handleDomEvent(\n Class eventType, DomEvent domEvent, ListenerWrapper wrapper) {\n T event = createEventForDomEvent(eventType, domEvent, component);\n fireEventForListener(event, wrapper);\n }","title":""},{"docid":"aa9ade2c1aced51aa3ed0867ab8986e7","score":"0.55017143","text":"public void subscribe(IEventListener eventListener, EventType ... types) {\n if(eventListener != null) {\n for (EventType type : types) {\n if(!eventListeners.containsKey(type)){\n eventListeners.put(type, new LinkedList());\n }\n eventListeners.get(type).add(eventListener);\n }\n }\n }","title":""},{"docid":"712215c77e4af5dd3a9ce1c5ec6f4c02","score":"0.54272246","text":"public final void registerListener(T listener) {\n listeners.add(listener);\n }","title":""},{"docid":"e00205ad2385160de20e878754a8de71","score":"0.54121876","text":"public void addMyEventListener(NewGameListener listener) {\n listenerList.add(NewGameListener.class, listener);\n }","title":""},{"docid":"91877499e80b15086aaf8d42d097face","score":"0.54067755","text":"public void registerOnEventListener(OnEventListener listener) {\n this.listener = listener;\n }","title":""},{"docid":"23c89bc4aeb5efee2d09d02b8aef167d","score":"0.53612494","text":"public JsEventListenerBodyBuilder attachListenerForEvent(String event) {\n return new JsEventListenerBodyBuilder(event, this);\n }","title":""},{"docid":"431c816bf76fb62b4d07e4831ee0096e","score":"0.5337742","text":"public void addListener(\n EventListener listener );","title":""},{"docid":"ad3bfbe8ecda4b5363228fd026876d48","score":"0.5336225","text":"public void addEventListener(EventListener uiEventListener) {\n eventListeners.add(uiEventListener);\n }","title":""},{"docid":"89e817abc7a5413d03458b12d3d02d2c","score":"0.5333379","text":"public void addListener(InteractableListenerSlim listener) {\r\n listeners.add(listener);\r\n }","title":""},{"docid":"97d7091b8acea6654249bcc9d0270e3a","score":"0.5326339","text":"public synchronized void add(Class t, EventListener l) {\n\tif (!t.isInstance(l)) {\n\t throw new IllegalArgumentException(\"Listener \" + l +\n\t\t\t\t\t \" is not of type \" + t);\n\t}\n\tif (l ==null) {\n\t throw new IllegalArgumentException(\"Listener \" + l +\n\t\t\t\t\t \" is null\");\n\t}\n\tif (listenerList == NULL_ARRAY) {\n\t // if this is the first listener added, \n\t // initialize the lists\n\t listenerList = new Object[] { t, l };\n\t} else {\n\t // Otherwise copy the array and add the new listener\n\t int i = listenerList.length;\n\t Object[] tmp = new Object[i+2];\n\t System.arraycopy(listenerList, 0, tmp, 0, i);\n\n\t tmp[i] = t;\n\t tmp[i+1] = l;\n\n\t listenerList = tmp;\n\t}\n }","title":""},{"docid":"399e4c02e167fc3ab7edb00d0d2c49d3","score":"0.5306187","text":"public synchronized void on(String event, DataListener listener) {\n\t\tList list = listeners.get(event);\n\t\tif (list == null)\n\t\t\tlist = new ArrayList();\n\t\tlist.add(listener);\n\t\tlisteners.put(event, list);\n\t}","title":""},{"docid":"5327d4969dc8c19f91660a565160ccda","score":"0.5286045","text":"public void addListener(String event, Listener listener)\r\n\t\t{\r\n\t\t\tif (this.containsKey(event)) \r\n\t\t\t{\r\n\t\t\t\t((ListenerTable) this.get(event)).addListener(listener);\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tListenerTable observerTable = new ListenerTable();\r\n\t\t\t\tobserverTable.addListener(listener);\r\n\t\t\t\tthis.put(event, observerTable);\r\n\t\t\t}\r\n\t\t}","title":""},{"docid":"17a10012bae6d4623fd67fa08aa3d2ed","score":"0.5275911","text":"public void addAuswahlListener(AuswahlListener l);","title":""},{"docid":"d52ec21f9ffe5dc882235dc209036627","score":"0.5269027","text":"public void addEvent(EventType eventType, int v);","title":""},{"docid":"0df40e2cb382a8ac2984b5e36ad3238f","score":"0.52452356","text":"public void setListener(EventListener listener);","title":""},{"docid":"6c3e75e41e6066d3a3c9819cc24e0cf5","score":"0.5243549","text":"public static void registerChangeListener(String repository, String observationPath, EventListener listener) {\r\n log.debug(\"Registering event listener for path [{}]\", observationPath); //$NON-NLS-1$ \r\n \r\n try {\r\n \r\n ObservationManager observationManager = ContentRepository\r\n .getHierarchyManager(repository)\r\n .getWorkspace()\r\n .getObservationManager();\r\n \r\n observationManager.addEventListener(listener, Event.NODE_ADDED\r\n | Event.NODE_REMOVED\r\n | Event.PROPERTY_ADDED\r\n | Event.PROPERTY_CHANGED\r\n | Event.PROPERTY_REMOVED, observationPath, true, null, null, false);\r\n }\r\n catch (RepositoryException e) {\r\n log.error(\"Unable to add event listeners for \" + observationPath, e); //$NON-NLS-1$\r\n }\r\n }","title":""},{"docid":"95ea5125bedd99d4eed7b0e41fb093ba","score":"0.5236274","text":"public void addEvent(EventType eventType, String v);","title":""},{"docid":"7982866ae666bdd0a15864bae4564e2c","score":"0.5231732","text":"public void addListener(ITextEditor part, ISelectionListenerWithAST listener) {\n synchronized (this) {\n PartListenerGroup partListener = fListenerGroups.get(part);\n if (partListener == null) {\n partListener = new PartListenerGroup(part);\n fListenerGroups.put(part, partListener);\n }\n partListener.install(listener);\n }\n }","title":""},{"docid":"3c8d35f97ac1985d50ca99e2b813e749","score":"0.5171796","text":"public void addListener(Class clazz, EventListener l)\n {\n // Verify listener.\n if (l == null)\n {\n throw new IllegalArgumentException(\"Listener is null\");\n }\n else if (!clazz.isInstance(l))\n {\n throw new IllegalArgumentException(\n \"Listener not of type \" + clazz.getName());\n }\n\n // Lock the object.\n synchronized (this)\n {\n // If we have no listeners, then just add the new listener.\n if (m_listeners == m_emptyList)\n {\n m_listeners = new Object[] { clazz, l };\n }\n // Otherwise, we need to do some array copying.\n // Notice, the old array is always valid, so if\n // the dispatch thread is in the middle of a dispatch,\n // then it has a reference to the old listener array\n // and is not affected by the new value.\n else\n {\n Object[] newList = new Object[m_listeners.length + 2];\n System.arraycopy(m_listeners, 0, newList, 0, m_listeners.length);\n newList[m_listeners.length] = clazz;\n newList[m_listeners.length + 1] = l;\n m_listeners = newList;\n }\n }\n }","title":""},{"docid":"c587ad47c58e104cfd2bc65bcce89dc7","score":"0.51586497","text":"void listenerAdded(TCListener listener) {\n }","title":""},{"docid":"6fcf38dc047c9638e20f9686eb6efd72","score":"0.5149336","text":"private void notifyListener(int eventType, OleEvent event) {\n if (event == null)\n OLE.error(SWT.ERROR_NULL_ARGUMENT);\n if (eventTable == null)\n return;\n event.type = eventType;\n event.widget = controlSite;\n eventTable.sendEvent(event);\n }","title":""},{"docid":"87fbdbd72a298838eba3d8f14e7d858e","score":"0.5145485","text":"public void addListener(WindowEventHandler listener) {\n mListeners.add(listener);\n }","title":""},{"docid":"7b6c50fb6c0cd433548ceb897395a390","score":"0.5141955","text":"public void registerEventListener(EventListener eventListener) {\n synchronized (eventListeners) {\n eventListeners.add(eventListener);\n }\n }","title":""},{"docid":"61ca9552e311dc674a7cb1fbc4bee016","score":"0.51408744","text":"public void addListener(String anAddress, OSCListener listener) {\n\t\tdispatcher.addListener(anAddress, listener);\n\t}","title":""},{"docid":"df7e4e0ba68641df26753674cf28075d","score":"0.51246965","text":"public synchronized void addListener(Class aClass, T aListener)\n{\n // Sanity check\n if(!aClass.isInstance(aListener))\n throw new IllegalArgumentException(\"Listener \" + aListener + \" is not of type \" + aClass);\n\n // if this is the first listener added, initialize the lists\n if(_listeners==NULL_ARRAY) _listeners = new Object[] { aClass, aListener };\n \n // Otherwise copy the array and add the new listener\n else {\n int i = _listeners.length;\n Object[] tmp = new Object[i+2];\n System.arraycopy(_listeners, 0, tmp, 0, i);\n tmp[i] = aClass; tmp[i+1] = aListener;\n _listeners = tmp;\n }\n}","title":""},{"docid":"017f50a1f461402e4b4b20f90712c0bb","score":"0.51218814","text":"void addListener(RegistersListener listener);","title":""},{"docid":"3c6fc2558d1ea715add34d0d41d7dee8","score":"0.5110221","text":"@Override\n public void addEventListener(IceEventListener listener) {\n iceEventListeners.add(listener);\n }","title":""},{"docid":"2a7923a91da05d8b023885fd2a115b32","score":"0.50825334","text":"void addListener(@NotNull Listener listener, @NotNull Disposable disposable);","title":""},{"docid":"c919d561a1548b436149c175bdad91f4","score":"0.50608295","text":"public void register(Class clazz, JSContext context, ScriptObjectMirror mirror) {\n\tregister(clazz, makeListener(context, mirror));\n }","title":""},{"docid":"f8fadc659d751cdb7e3ae094a9871b69","score":"0.50576675","text":"public void addGraphicalObjectListener(GraphicalObjectListener l);","title":""},{"docid":"1af1eed918926ba5edad9509fcad7037","score":"0.50503206","text":"public static final void registerEvents(Listener listener, Plugin plugin) {\n\t\tMain.server.getPluginManager().registerEvents(listener, plugin);\n\t}","title":""},{"docid":"7de9014753b03307d8b33f599ce1f984","score":"0.5043431","text":"public void addListener(LogXEventListener listener)\n\t{\n\t\tlisteners.add(listener);\n\t}","title":""},{"docid":"b943e4552cedad0ec4b1455988ec3720","score":"0.5024629","text":"public void addListener(InputListener listener)\n\t{\n\t\tlisteners.add(listener);\n\t}","title":""},{"docid":"761a8678e3f42b3f032ba6e1d3873c3d","score":"0.5009416","text":"@EventName(\"entryAdded\")\n EventListener onEntryAdded(EventHandler eventListener);","title":""},{"docid":"ec3a7c8af10050d9c1de670f1b26d379","score":"0.5000365","text":"public void add(InputChangedListener listener)\r\n {\r\n \r\n }","title":""},{"docid":"ec3a7c8af10050d9c1de670f1b26d379","score":"0.5000365","text":"public void add(InputChangedListener listener)\r\n {\r\n \r\n }","title":""},{"docid":"d1181bf63037a220a6beb8189da7480e","score":"0.49969667","text":"public void addEvent(EventType eventType, long v);","title":""},{"docid":"de1791263d84d35135dfb96461ba2c5a","score":"0.49829775","text":"public static void addListener(CertificateEventListener listener) {\n if (listener == null) {\n throw new NullPointerException();\n }\n listeners.add( listener );\n }","title":""},{"docid":"d3bcd93c3ab33eab8b0aa765578fc81d","score":"0.49670243","text":"public void addListener(Listener l){\n\t\tif (!getListeners().contains(l)){\n\t\t\tgetListeners().add(l);\n\t\t}\n\t\tfor (Claim claim:claimList){\n\t\t\tclaim.addListener(l);\n\t\t}\n\t\tfor (Tag tag:tagList){\n\t\t\ttag.addListener(l);\n\t\t}\n\t\t\n\t}","title":""},{"docid":"07efa94b2d499b28951290ac23461260","score":"0.49575996","text":"void setLocationEventListener(LocationEventsListener listener) {\n\n this.iLocationEventListener.add(listener);\n Log.i(\"Event Handler\", \"Listeners Registered: \" + this.iLocationEventListener);\n\n }","title":""},{"docid":"e9a5e89b386647b4c88d7f77e2bd8666","score":"0.49547517","text":"void addDispatchListener(GralGraphicTimeOrder listener);","title":""},{"docid":"67072a0b4b824ff90d1c0b267409ee3a","score":"0.49469954","text":"public synchronized void registerListener(NotificationListener listener, OsNotificationObjectType objectType) {\n this.listenersMap.put(objectType, listener);\n }","title":""},{"docid":"ac5017b6bfc9a056431c518da23ee475","score":"0.49448362","text":"public synchronized void addListener(GameEventListener l)\n {\n listeners.add(l);\n }","title":""},{"docid":"a0b8124307d3fa87e2a72fca0a519098","score":"0.4942246","text":"public static void addListener(DataChangeListener listener){\n listeners.add(listener);\n }","title":""},{"docid":"13a2a4afb5ddae30ad50029fdc077bfb","score":"0.49364424","text":"void addListener(DeviceListener listener);","title":""},{"docid":"7e8e6d5ba41e3a15d54a4a1703a84a75","score":"0.49233437","text":"void addDataListener(DataListener listener);","title":""},{"docid":"ac05da34f01c3090b68865117f0bb0c6","score":"0.4920601","text":"public void addMessageListener(String type, ReceiverMessageListener listener) {\n listenerHashMap.putIfAbsent(type, new ArrayList<>());\n if (!listenerHashMap.get(type).contains(listener))\n listenerHashMap.get(type).add(listener);\n }","title":""},{"docid":"f364cc028bc7a9613018b745feb5bc72","score":"0.49179226","text":"public void addListener(EventListener listener, EventFilter filter) {\n listeners.add(new FilteredListener(filter, listener));\n }","title":""},{"docid":"318dab97b14e813a5d2b4a386be0f370","score":"0.4916957","text":"@Override\n\tpublic void addListener() {\n\t\t\n\t}","title":""},{"docid":"ef69dabd6abe40db812067716db36cd9","score":"0.49156198","text":"public interface ClickListener {\n\n}","title":""},{"docid":"b397449a957dcaf474c5dcd780dda0fb","score":"0.49100864","text":"public void addListener(final Listener listener) {\r\n listeners.add(listener);\r\n }","title":""},{"docid":"218d9004f860ea5a84af707085edf3da","score":"0.49045345","text":"void addLogListener(ILogListener listener);","title":""},{"docid":"e1f802e215b5d26a78dae87f473b3513","score":"0.48910818","text":"public void addServiceListener(String type, ServiceListener listener)\n {\n String lotype = type.toLowerCase();\n removeServiceListener(lotype, listener);\n List list = null;\n synchronized (this)\n {\n list = (List) serviceListeners.get(lotype);\n if (list == null)\n {\n list = Collections.synchronizedList(new LinkedList());\n serviceListeners.put(lotype, list);\n }\n list.add(listener);\n }\n\n // report cached service types\n synchronized (cache) {\n for (Iterator i = cache.iterator(); i.hasNext();)\n {\n for (DNSCache.CacheNode n = (DNSCache.CacheNode) i.next(); n != null; n = n.next())\n {\n DNSRecord rec = (DNSRecord) n.getValue();\n if (rec.type == DNSConstants.TYPE_SRV)\n {\n if (rec.name.endsWith(type))\n {\n listener.serviceAdded(new ServiceEvent(this, type, toUnqualifiedName(type, rec.name), null));\n }\n }\n }\n } \n }\n \n new ServiceResolver(type).start();\n }","title":""},{"docid":"3b1ded36ccc91fd77f513cfcdcff3510","score":"0.4887411","text":"public void addMessageListener(String type, MediaMessageListener listener) {\n listenerHashMap.putIfAbsent(type, new ArrayList<>());\n if (!listenerHashMap.get(type).contains(listener))\n listenerHashMap.get(type).add(listener);\n }","title":""},{"docid":"6b46af8be1e787ccb2a6ba26177bb33f","score":"0.4880771","text":"public synchronized void\n add(final Class eventListenerClass, final T eventListener) {\n\n // Make sure we didn't get passed a null object\n if (eventListener == null) {\n return;\n }\n\n // Set up a new object to hold it\n Object[] placeHolder = new Object[listenerList.length + 2];\n // Copy over what's already in the list\n System.arraycopy(listenerList, 0, placeHolder, 0, listenerList.length);\n // Add in the new items\n placeHolder[listenerList.length] = eventListenerClass;\n placeHolder[listenerList.length + 1] = eventListener;\n // Make it so\n listenerList = placeHolder;\n }","title":""},{"docid":"eb827765b50de2758c73e2d422f1f733","score":"0.48792323","text":"void addFeatureCollectionListener(FeatureCollectionListener l);","title":""},{"docid":"401e12aedb7e32864df53e452e6ae9b7","score":"0.48713565","text":"public void addWorkspaceListener(WorkspaceEventListener sl) {\r\n\t\tlisteners.add(sl);\r\n\t}","title":""},{"docid":"b269b355a22527eaef512776dc63dd30","score":"0.48635644","text":"public void addBoardListener(BoardListener listener) {\n fEventHandler.addBoardListener(listener);\n }","title":""},{"docid":"23c422ac9171f3c64caceddd6d09e66c","score":"0.48472038","text":"public synchronized void addListener(Object listener)\n {\n copyOnWrite(_count + 1);\n\n _listeners[_count] = listener;\n\n _count++;\n }","title":""},{"docid":"665df5e9023020e3d13fb2b53a54fd0e","score":"0.48325652","text":"public void addSelectionListener(final SelectionListener listener) {\n\t\tcheckWidget();\n\t\tif (listener == null) {\n\t\t\tSWT.error(SWT.ERROR_NULL_ARGUMENT);\n\t\t}\n\t\tthis.selectionListeners.add(listener);\n\t}","title":""},{"docid":"a00f05b56c99ffa40665b93f2f8a33bb","score":"0.4829501","text":"public void attachListener(ChangeListener listener) {\n\t\tlisteners.add(listener);\n\t}","title":""},{"docid":"66d6aa735900268c0a8bf39661698555","score":"0.48281223","text":"public void addListener(AnalyticsListener listener) {\n listeners.add(listener);\n }","title":""},{"docid":"fc3a4165341e154726fbb9ea297a8f48","score":"0.4822126","text":"boolean hasListener(Class annotationClass);","title":""},{"docid":"5155dae2b29a4c71b801064d884fa094","score":"0.4820017","text":"protected void registerListeners() {\n component.addMouseListener(this);\n component.addMouseMotionListener(this);\n }","title":""},{"docid":"cff5e2b0403a15d88207da50002ac853","score":"0.4814195","text":"void removeListener(ITypeDescriptionListener listener);","title":""},{"docid":"8dbb9a7faaecc3e16fca501922c2dd46","score":"0.48135936","text":"void addListener(MouseListener m);","title":""},{"docid":"56bc350e9f7301fdc7744305c2f22448","score":"0.48072088","text":"@Override\n public void registerSubscriber(Object listenerClass, String methodName, SubscribeEvent subscribeEvent) {\n\n // Call the method to create the listener\n createListenerContainer(listenerClass,methodName,subscribeEvent);\n\n }","title":""},{"docid":"72da5a9c24198e050644ff22842b4f10","score":"0.4806756","text":"public void registerListener(Listener listener) {\n mListeners.add(listener);\n }","title":""},{"docid":"2aad1a171175a771d0ffab74590038f4","score":"0.480595","text":"public void addListSelectionListener(final ListSelectionListener l) {\n if (listenerList == null) {\n listenerList = new ArrayList();\n }\n listenerList.add(l);\n }","title":""},{"docid":"4a489107eefe900fe89e4d7da83427dd","score":"0.4804786","text":"public void addEvent(Event e) {\n events.add(e);\n }","title":""},{"docid":"d14e0e058fa03f4c7ac665e150ca1142","score":"0.47934154","text":"void addOspListener(OspEventListener listener);","title":""},{"docid":"8e571c098a0fd8056a790396b2a03202","score":"0.4790701","text":"public void addSelectionListener(final SelectionListener listener) {\r\n\t\tcheckWidget();\r\n\t\tif (listener == null) {\r\n\t\t\tSWT.error(SWT.ERROR_NULL_ARGUMENT);\r\n\t\t}\r\n\t\tthis.selectionListeners.add(listener);\r\n\t}","title":""},{"docid":"82ccf2ac80f885fd9b0b285b9a3da118","score":"0.47874412","text":"public void addDisplayListener(DisplayListener l) {\n listenerList.add(DisplayListener.class, l);\n }","title":""},{"docid":"5ca48b811a2dd24e6e09b383bbf6d714","score":"0.47839856","text":"boolean addListener(int id, IEventBusListener listener);","title":""},{"docid":"6d15f510f71a54bb32ef0acfa733bf75","score":"0.4783429","text":"public void addChangeListener( ChangeListener listener ) {\n _listenerList.add( ChangeListener.class, listener );\n }","title":""},{"docid":"1af8be23d611eda14c98fcc0b9db5bb8","score":"0.47811928","text":"void addListener(String optname, Listener listener);","title":""},{"docid":"06e2b06f42b4605e85ab36e5daeddb45","score":"0.4778403","text":"public synchronized void addListener(com.yworks.yguard.ObfuscationListener listener)\n {\n if (listenerList == null )\n {\n listenerList = new java.util.ArrayList();\n }\n listenerList.add(listener);\n }","title":""},{"docid":"5908c659b16896fd43f29f4b3fb6d312","score":"0.47728363","text":"public interface OnAddListener {\n\n void onAddEvent(Object item);\n\n}","title":""},{"docid":"b1c049346aa49c9ba4e01b090fc2bf3e","score":"0.4770231","text":"public void addChangeListener(ChangeListener l) {\n m_listenerList.add(ChangeListener.class, l);\n }","title":""},{"docid":"c73db330bcf460341253cd5770b3cf04","score":"0.47701612","text":"void addEditorListener(EditorListener l);","title":""},{"docid":"740e0894ed3f57bce599ea56e5a976e0","score":"0.47679058","text":"private void PrivateAddListener(Object source, IWeakEventListener listener, PropertyDescriptor pd) \r\n { \r\n// Debug.Assert(listener != null && source != null && pd != null,\r\n// \"Listener, source, and pd of event cannot be null\"); \r\n AddListener(source, pd, listener, null);\r\n }","title":""},{"docid":"f8daa28b1b113135557d3f41ae0ab81a","score":"0.47657198","text":"public interface ClickListener {\n\n /**\n * Performs actions on mouse click.\n */\n void onClick();\n}","title":""},{"docid":"bcf3203df425e06e1b342d2ccb7c1f91","score":"0.47631437","text":"public void addEvent(EventType eventType, int[] idata, long[] ldata,\n\t double[] ddata, String[] sdata);","title":""},{"docid":"16423f4366aea1951aacb597f7081e22","score":"0.47598043","text":"public interface MyCustomEventListener {\n /**\n * Receive the data.\n *\n * @param customEvent the data\n */\n void receive(Map customEvent);\n}","title":""},{"docid":"173c1cd96fb0727a009e39a256655f1a","score":"0.47573876","text":"public void addNPTListener(NPTListener l, DSMCCStream stream);","title":""},{"docid":"82ea9ac974d6a724d58c92bd54b06947","score":"0.47512287","text":"public void registerEventListener(final MessageListener eventListener) {\n\t\tPacketListener pl = new PacketListener() {\n\t\t\t@Override\n\t\t\tpublic void processPacket(Packet packet) {\n\t\t\t\teventListener.processMessage((Message) packet);\n\t\t\t}\n\t\t};\n\t\tconnection.addPacketListener(pl, new PacketTypeFilter(Message.class));\n\t}","title":""},{"docid":"14f3069e4ebfe6e54f339d5ea205b8b2","score":"0.4745788","text":"public void addActionEventListener(ActionEventListener a) {\r\n\t\tmEventListeners.add(a);\r\n\t}","title":""},{"docid":"d3f45b8e2647efd927b1bbf4731f8f8a","score":"0.4744361","text":"public void addListener(Listener listener) {\n mListeners.add(listener);\n }","title":""},{"docid":"dd8c47530132e293d8bab3867e94e508","score":"0.4735269","text":"public interface EventListener {}","title":""},{"docid":"092362678cc9faf95cfea922a7eadeb2","score":"0.4735169","text":"public abstract void addListener(ActionListener listener);","title":""}],"string":"[\n {\n \"docid\": \"c3886c024a19a0db6479500d23aa6a79\",\n \"score\": \"0.66488683\",\n \"text\": \" void addListener(Class eventClass, EventListener listener);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1788837aca3b8c90128ce755ed6b46ca\",\n \"score\": \"0.585962\",\n \"text\": \"public void registerAnnotEventListener(AnnotEventListener listener) {\\n mAnnotEventListenerList.add(listener);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3f87020962ebe3f1636ba9fae1394b36\",\n \"score\": \"0.5795908\",\n \"text\": \"public > Registration addListener(\\n Class eventType, ComponentEventListener listener) {\\n return addListenerInternal(eventType, listener, null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54f1f06177e67d1d5be5a5716aa31e78\",\n \"score\": \"0.57444644\",\n \"text\": \"void addListener(Listener listener);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e9b2e3a2725c4b20dca8aab0f6d5ec9a\",\n \"score\": \"0.57292473\",\n \"text\": \"public void register(Class clazz, ScriptListener listener) {\\n\\tJSContext ctx = listener.getContext();\\n\\n\\tif ((listener instanceof ObjectListener) && !((ObjectListener) listener).listensTo(clazz)) {\\n\\t throw new IllegalArgumentException(\\\"missing handler method for event \\\" + clazz.getSimpleName());\\n\\t}\\n\\n\\tMultimap events = getReadAndWrite(clazz);\\n\\tif (events.isEmpty()) {\\n\\t registerInternalListener(clazz);\\n\\t}\\n\\n\\teventsByContexts.put(ctx, clazz);\\n\\tevents.put(ctx, listener);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c286e7cc6df70afaa25ae5ad6d47c6bb\",\n \"score\": \"0.57183135\",\n \"text\": \"public static void addOOMEventListener(OOMEventListener lsnr) {\\n _listeners.add(lsnr);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13d88ccad117c330287b13def2c8a028\",\n \"score\": \"0.5716653\",\n \"text\": \"void addListener(ITypeDescriptionListener listener);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ad4f713c1172875471d08c046e0e272d\",\n \"score\": \"0.56133586\",\n \"text\": \"public synchronized void addAccessibilityEventListener(IModelEventListener listener, Object[] eventTypes, Object[] params) {\\n\\t\\tint processId = windowService.getProcessId(windowService.getActiveWindow());\\n\\t\\tint flag = params != null && params.length == 1 && params[0] instanceof Integer\\n\\t\\t? ((Integer) params[0]).intValue() : DEFAULT_CONTEXT_FLAG;\\n\\tboolean inContext = (flag & WINEVENT_INCONTEXT) != 0;\\n\\t\\t\\n\\t\\tsetTimeDiff();\\n\\tif (!isMapFileOpen && inContext) {\\n\\t\\t\\tmapFilePtr = createFileMapping(\\n\\t\\t\\t\\t\\tPAGE_READWRITE, 0, DWMEM_FILESIZE, fileMappingObjName);\\n\\t\\t\\tif(mapFilePtr!=0){\\n\\t\\t\\t\\tisMapFileOpen = true;\\n\\t\\t\\t\\tinitThread();\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\tfor (int i = 0; i < eventTypes.length; ++i) {\\n\\t\\t\\tint eventId = ((Integer) eventTypes[i]).intValue();\\n\\t\\t\\tWinEventData weData = new WinEventData(eventId, processId, inContext);\\n\\t\\t\\tList listeners = listenerMap.get(weData);\\n\\t\\t\\t\\n\\t\\t\\tif (listeners == null) {\\n\\t\\t\\t\\tint hook = setWinEventHook(eventId, eventId, processId, 0, flag);\\n\\t\\t\\t\\tif (hook != -1) {\\n\\t\\t\\t\\t\\tlisteners = new LinkedList();\\n\\t\\t\\t\\t\\tweData.setEventHook(hook);\\n\\t\\t\\t\\t\\tlistenerMap.put(weData, listeners);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\t\\n\\t\\t\\tlisteners.add(listener);\\n\\t\\t\\tif (inContext) {\\n\\t\\t\\t\\t++inContextListenerCount;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c0835b5a0f50fb2d2283dd25df63df16\",\n \"score\": \"0.55942947\",\n \"text\": \"@ReactMethod\\n public void addListener(String eventName) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"60ce46a888781d5e9d2ce8150f9a163b\",\n \"score\": \"0.5579441\",\n \"text\": \"public void addEvent(EventType eventType);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a35597bd4bb03e150ac5c6b383ccf98f\",\n \"score\": \"0.55345803\",\n \"text\": \"private > void handleDomEvent(\\n Class eventType, DomEvent domEvent, ListenerWrapper wrapper) {\\n T event = createEventForDomEvent(eventType, domEvent, component);\\n fireEventForListener(event, wrapper);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aa9ade2c1aced51aa3ed0867ab8986e7\",\n \"score\": \"0.55017143\",\n \"text\": \"public void subscribe(IEventListener eventListener, EventType ... types) {\\n if(eventListener != null) {\\n for (EventType type : types) {\\n if(!eventListeners.containsKey(type)){\\n eventListeners.put(type, new LinkedList());\\n }\\n eventListeners.get(type).add(eventListener);\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"712215c77e4af5dd3a9ce1c5ec6f4c02\",\n \"score\": \"0.54272246\",\n \"text\": \"public final void registerListener(T listener) {\\n listeners.add(listener);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e00205ad2385160de20e878754a8de71\",\n \"score\": \"0.54121876\",\n \"text\": \"public void addMyEventListener(NewGameListener listener) {\\n listenerList.add(NewGameListener.class, listener);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"91877499e80b15086aaf8d42d097face\",\n \"score\": \"0.54067755\",\n \"text\": \"public void registerOnEventListener(OnEventListener listener) {\\n this.listener = listener;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"23c89bc4aeb5efee2d09d02b8aef167d\",\n \"score\": \"0.53612494\",\n \"text\": \"public JsEventListenerBodyBuilder attachListenerForEvent(String event) {\\n return new JsEventListenerBodyBuilder(event, this);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"431c816bf76fb62b4d07e4831ee0096e\",\n \"score\": \"0.5337742\",\n \"text\": \"public void addListener(\\n EventListener listener );\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ad3bfbe8ecda4b5363228fd026876d48\",\n \"score\": \"0.5336225\",\n \"text\": \"public void addEventListener(EventListener uiEventListener) {\\n eventListeners.add(uiEventListener);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"89e817abc7a5413d03458b12d3d02d2c\",\n \"score\": \"0.5333379\",\n \"text\": \"public void addListener(InteractableListenerSlim listener) {\\r\\n listeners.add(listener);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"97d7091b8acea6654249bcc9d0270e3a\",\n \"score\": \"0.5326339\",\n \"text\": \"public synchronized void add(Class t, EventListener l) {\\n\\tif (!t.isInstance(l)) {\\n\\t throw new IllegalArgumentException(\\\"Listener \\\" + l +\\n\\t\\t\\t\\t\\t \\\" is not of type \\\" + t);\\n\\t}\\n\\tif (l ==null) {\\n\\t throw new IllegalArgumentException(\\\"Listener \\\" + l +\\n\\t\\t\\t\\t\\t \\\" is null\\\");\\n\\t}\\n\\tif (listenerList == NULL_ARRAY) {\\n\\t // if this is the first listener added, \\n\\t // initialize the lists\\n\\t listenerList = new Object[] { t, l };\\n\\t} else {\\n\\t // Otherwise copy the array and add the new listener\\n\\t int i = listenerList.length;\\n\\t Object[] tmp = new Object[i+2];\\n\\t System.arraycopy(listenerList, 0, tmp, 0, i);\\n\\n\\t tmp[i] = t;\\n\\t tmp[i+1] = l;\\n\\n\\t listenerList = tmp;\\n\\t}\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"399e4c02e167fc3ab7edb00d0d2c49d3\",\n \"score\": \"0.5306187\",\n \"text\": \"public synchronized void on(String event, DataListener listener) {\\n\\t\\tList list = listeners.get(event);\\n\\t\\tif (list == null)\\n\\t\\t\\tlist = new ArrayList();\\n\\t\\tlist.add(listener);\\n\\t\\tlisteners.put(event, list);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5327d4969dc8c19f91660a565160ccda\",\n \"score\": \"0.5286045\",\n \"text\": \"public void addListener(String event, Listener listener)\\r\\n\\t\\t{\\r\\n\\t\\t\\tif (this.containsKey(event)) \\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\t((ListenerTable) this.get(event)).addListener(listener);\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\telse\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tListenerTable observerTable = new ListenerTable();\\r\\n\\t\\t\\t\\tobserverTable.addListener(listener);\\r\\n\\t\\t\\t\\tthis.put(event, observerTable);\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"17a10012bae6d4623fd67fa08aa3d2ed\",\n \"score\": \"0.5275911\",\n \"text\": \"public void addAuswahlListener(AuswahlListener l);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d52ec21f9ffe5dc882235dc209036627\",\n \"score\": \"0.5269027\",\n \"text\": \"public void addEvent(EventType eventType, int v);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0df40e2cb382a8ac2984b5e36ad3238f\",\n \"score\": \"0.52452356\",\n \"text\": \"public void setListener(EventListener listener);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c3e75e41e6066d3a3c9819cc24e0cf5\",\n \"score\": \"0.5243549\",\n \"text\": \"public static void registerChangeListener(String repository, String observationPath, EventListener listener) {\\r\\n log.debug(\\\"Registering event listener for path [{}]\\\", observationPath); //$NON-NLS-1$ \\r\\n \\r\\n try {\\r\\n \\r\\n ObservationManager observationManager = ContentRepository\\r\\n .getHierarchyManager(repository)\\r\\n .getWorkspace()\\r\\n .getObservationManager();\\r\\n \\r\\n observationManager.addEventListener(listener, Event.NODE_ADDED\\r\\n | Event.NODE_REMOVED\\r\\n | Event.PROPERTY_ADDED\\r\\n | Event.PROPERTY_CHANGED\\r\\n | Event.PROPERTY_REMOVED, observationPath, true, null, null, false);\\r\\n }\\r\\n catch (RepositoryException e) {\\r\\n log.error(\\\"Unable to add event listeners for \\\" + observationPath, e); //$NON-NLS-1$\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"95ea5125bedd99d4eed7b0e41fb093ba\",\n \"score\": \"0.5236274\",\n \"text\": \"public void addEvent(EventType eventType, String v);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7982866ae666bdd0a15864bae4564e2c\",\n \"score\": \"0.5231732\",\n \"text\": \"public void addListener(ITextEditor part, ISelectionListenerWithAST listener) {\\n synchronized (this) {\\n PartListenerGroup partListener = fListenerGroups.get(part);\\n if (partListener == null) {\\n partListener = new PartListenerGroup(part);\\n fListenerGroups.put(part, partListener);\\n }\\n partListener.install(listener);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3c8d35f97ac1985d50ca99e2b813e749\",\n \"score\": \"0.5171796\",\n \"text\": \"public void addListener(Class clazz, EventListener l)\\n {\\n // Verify listener.\\n if (l == null)\\n {\\n throw new IllegalArgumentException(\\\"Listener is null\\\");\\n }\\n else if (!clazz.isInstance(l))\\n {\\n throw new IllegalArgumentException(\\n \\\"Listener not of type \\\" + clazz.getName());\\n }\\n\\n // Lock the object.\\n synchronized (this)\\n {\\n // If we have no listeners, then just add the new listener.\\n if (m_listeners == m_emptyList)\\n {\\n m_listeners = new Object[] { clazz, l };\\n }\\n // Otherwise, we need to do some array copying.\\n // Notice, the old array is always valid, so if\\n // the dispatch thread is in the middle of a dispatch,\\n // then it has a reference to the old listener array\\n // and is not affected by the new value.\\n else\\n {\\n Object[] newList = new Object[m_listeners.length + 2];\\n System.arraycopy(m_listeners, 0, newList, 0, m_listeners.length);\\n newList[m_listeners.length] = clazz;\\n newList[m_listeners.length + 1] = l;\\n m_listeners = newList;\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c587ad47c58e104cfd2bc65bcce89dc7\",\n \"score\": \"0.51586497\",\n \"text\": \"void listenerAdded(TCListener listener) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6fcf38dc047c9638e20f9686eb6efd72\",\n \"score\": \"0.5149336\",\n \"text\": \"private void notifyListener(int eventType, OleEvent event) {\\n if (event == null)\\n OLE.error(SWT.ERROR_NULL_ARGUMENT);\\n if (eventTable == null)\\n return;\\n event.type = eventType;\\n event.widget = controlSite;\\n eventTable.sendEvent(event);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"87fbdbd72a298838eba3d8f14e7d858e\",\n \"score\": \"0.5145485\",\n \"text\": \"public void addListener(WindowEventHandler listener) {\\n mListeners.add(listener);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7b6c50fb6c0cd433548ceb897395a390\",\n \"score\": \"0.5141955\",\n \"text\": \"public void registerEventListener(EventListener eventListener) {\\n synchronized (eventListeners) {\\n eventListeners.add(eventListener);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"61ca9552e311dc674a7cb1fbc4bee016\",\n \"score\": \"0.51408744\",\n \"text\": \"public void addListener(String anAddress, OSCListener listener) {\\n\\t\\tdispatcher.addListener(anAddress, listener);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"df7e4e0ba68641df26753674cf28075d\",\n \"score\": \"0.51246965\",\n \"text\": \"public synchronized void addListener(Class aClass, T aListener)\\n{\\n // Sanity check\\n if(!aClass.isInstance(aListener))\\n throw new IllegalArgumentException(\\\"Listener \\\" + aListener + \\\" is not of type \\\" + aClass);\\n\\n // if this is the first listener added, initialize the lists\\n if(_listeners==NULL_ARRAY) _listeners = new Object[] { aClass, aListener };\\n \\n // Otherwise copy the array and add the new listener\\n else {\\n int i = _listeners.length;\\n Object[] tmp = new Object[i+2];\\n System.arraycopy(_listeners, 0, tmp, 0, i);\\n tmp[i] = aClass; tmp[i+1] = aListener;\\n _listeners = tmp;\\n }\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"017f50a1f461402e4b4b20f90712c0bb\",\n \"score\": \"0.51218814\",\n \"text\": \"void addListener(RegistersListener listener);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3c6fc2558d1ea715add34d0d41d7dee8\",\n \"score\": \"0.5110221\",\n \"text\": \"@Override\\n public void addEventListener(IceEventListener listener) {\\n iceEventListeners.add(listener);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2a7923a91da05d8b023885fd2a115b32\",\n \"score\": \"0.50825334\",\n \"text\": \"void addListener(@NotNull Listener listener, @NotNull Disposable disposable);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c919d561a1548b436149c175bdad91f4\",\n \"score\": \"0.50608295\",\n \"text\": \"public void register(Class clazz, JSContext context, ScriptObjectMirror mirror) {\\n\\tregister(clazz, makeListener(context, mirror));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f8fadc659d751cdb7e3ae094a9871b69\",\n \"score\": \"0.50576675\",\n \"text\": \"public void addGraphicalObjectListener(GraphicalObjectListener l);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1af1eed918926ba5edad9509fcad7037\",\n \"score\": \"0.50503206\",\n \"text\": \"public static final void registerEvents(Listener listener, Plugin plugin) {\\n\\t\\tMain.server.getPluginManager().registerEvents(listener, plugin);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7de9014753b03307d8b33f599ce1f984\",\n \"score\": \"0.5043431\",\n \"text\": \"public void addListener(LogXEventListener listener)\\n\\t{\\n\\t\\tlisteners.add(listener);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b943e4552cedad0ec4b1455988ec3720\",\n \"score\": \"0.5024629\",\n \"text\": \"public void addListener(InputListener listener)\\n\\t{\\n\\t\\tlisteners.add(listener);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"761a8678e3f42b3f032ba6e1d3873c3d\",\n \"score\": \"0.5009416\",\n \"text\": \"@EventName(\\\"entryAdded\\\")\\n EventListener onEntryAdded(EventHandler eventListener);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ec3a7c8af10050d9c1de670f1b26d379\",\n \"score\": \"0.5000365\",\n \"text\": \"public void add(InputChangedListener listener)\\r\\n {\\r\\n \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ec3a7c8af10050d9c1de670f1b26d379\",\n \"score\": \"0.5000365\",\n \"text\": \"public void add(InputChangedListener listener)\\r\\n {\\r\\n \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1181bf63037a220a6beb8189da7480e\",\n \"score\": \"0.49969667\",\n \"text\": \"public void addEvent(EventType eventType, long v);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"de1791263d84d35135dfb96461ba2c5a\",\n \"score\": \"0.49829775\",\n \"text\": \"public static void addListener(CertificateEventListener listener) {\\n if (listener == null) {\\n throw new NullPointerException();\\n }\\n listeners.add( listener );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d3bcd93c3ab33eab8b0aa765578fc81d\",\n \"score\": \"0.49670243\",\n \"text\": \"public void addListener(Listener l){\\n\\t\\tif (!getListeners().contains(l)){\\n\\t\\t\\tgetListeners().add(l);\\n\\t\\t}\\n\\t\\tfor (Claim claim:claimList){\\n\\t\\t\\tclaim.addListener(l);\\n\\t\\t}\\n\\t\\tfor (Tag tag:tagList){\\n\\t\\t\\ttag.addListener(l);\\n\\t\\t}\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"07efa94b2d499b28951290ac23461260\",\n \"score\": \"0.49575996\",\n \"text\": \"void setLocationEventListener(LocationEventsListener listener) {\\n\\n this.iLocationEventListener.add(listener);\\n Log.i(\\\"Event Handler\\\", \\\"Listeners Registered: \\\" + this.iLocationEventListener);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e9a5e89b386647b4c88d7f77e2bd8666\",\n \"score\": \"0.49547517\",\n \"text\": \"void addDispatchListener(GralGraphicTimeOrder listener);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"67072a0b4b824ff90d1c0b267409ee3a\",\n \"score\": \"0.49469954\",\n \"text\": \"public synchronized void registerListener(NotificationListener listener, OsNotificationObjectType objectType) {\\n this.listenersMap.put(objectType, listener);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ac5017b6bfc9a056431c518da23ee475\",\n \"score\": \"0.49448362\",\n \"text\": \"public synchronized void addListener(GameEventListener l)\\n {\\n listeners.add(l);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0b8124307d3fa87e2a72fca0a519098\",\n \"score\": \"0.4942246\",\n \"text\": \"public static void addListener(DataChangeListener listener){\\n listeners.add(listener);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13a2a4afb5ddae30ad50029fdc077bfb\",\n \"score\": \"0.49364424\",\n \"text\": \"void addListener(DeviceListener listener);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7e8e6d5ba41e3a15d54a4a1703a84a75\",\n \"score\": \"0.49233437\",\n \"text\": \"void addDataListener(DataListener listener);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ac05da34f01c3090b68865117f0bb0c6\",\n \"score\": \"0.4920601\",\n \"text\": \"public void addMessageListener(String type, ReceiverMessageListener listener) {\\n listenerHashMap.putIfAbsent(type, new ArrayList<>());\\n if (!listenerHashMap.get(type).contains(listener))\\n listenerHashMap.get(type).add(listener);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f364cc028bc7a9613018b745feb5bc72\",\n \"score\": \"0.49179226\",\n \"text\": \"public void addListener(EventListener listener, EventFilter filter) {\\n listeners.add(new FilteredListener(filter, listener));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"318dab97b14e813a5d2b4a386be0f370\",\n \"score\": \"0.4916957\",\n \"text\": \"@Override\\n\\tpublic void addListener() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ef69dabd6abe40db812067716db36cd9\",\n \"score\": \"0.49156198\",\n \"text\": \"public interface ClickListener {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b397449a957dcaf474c5dcd780dda0fb\",\n \"score\": \"0.49100864\",\n \"text\": \"public void addListener(final Listener listener) {\\r\\n listeners.add(listener);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"218d9004f860ea5a84af707085edf3da\",\n \"score\": \"0.49045345\",\n \"text\": \"void addLogListener(ILogListener listener);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e1f802e215b5d26a78dae87f473b3513\",\n \"score\": \"0.48910818\",\n \"text\": \"public void addServiceListener(String type, ServiceListener listener)\\n {\\n String lotype = type.toLowerCase();\\n removeServiceListener(lotype, listener);\\n List list = null;\\n synchronized (this)\\n {\\n list = (List) serviceListeners.get(lotype);\\n if (list == null)\\n {\\n list = Collections.synchronizedList(new LinkedList());\\n serviceListeners.put(lotype, list);\\n }\\n list.add(listener);\\n }\\n\\n // report cached service types\\n synchronized (cache) {\\n for (Iterator i = cache.iterator(); i.hasNext();)\\n {\\n for (DNSCache.CacheNode n = (DNSCache.CacheNode) i.next(); n != null; n = n.next())\\n {\\n DNSRecord rec = (DNSRecord) n.getValue();\\n if (rec.type == DNSConstants.TYPE_SRV)\\n {\\n if (rec.name.endsWith(type))\\n {\\n listener.serviceAdded(new ServiceEvent(this, type, toUnqualifiedName(type, rec.name), null));\\n }\\n }\\n }\\n } \\n }\\n \\n new ServiceResolver(type).start();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3b1ded36ccc91fd77f513cfcdcff3510\",\n \"score\": \"0.4887411\",\n \"text\": \"public void addMessageListener(String type, MediaMessageListener listener) {\\n listenerHashMap.putIfAbsent(type, new ArrayList<>());\\n if (!listenerHashMap.get(type).contains(listener))\\n listenerHashMap.get(type).add(listener);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6b46af8be1e787ccb2a6ba26177bb33f\",\n \"score\": \"0.4880771\",\n \"text\": \"public synchronized void\\n add(final Class eventListenerClass, final T eventListener) {\\n\\n // Make sure we didn't get passed a null object\\n if (eventListener == null) {\\n return;\\n }\\n\\n // Set up a new object to hold it\\n Object[] placeHolder = new Object[listenerList.length + 2];\\n // Copy over what's already in the list\\n System.arraycopy(listenerList, 0, placeHolder, 0, listenerList.length);\\n // Add in the new items\\n placeHolder[listenerList.length] = eventListenerClass;\\n placeHolder[listenerList.length + 1] = eventListener;\\n // Make it so\\n listenerList = placeHolder;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eb827765b50de2758c73e2d422f1f733\",\n \"score\": \"0.48792323\",\n \"text\": \"void addFeatureCollectionListener(FeatureCollectionListener l);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"401e12aedb7e32864df53e452e6ae9b7\",\n \"score\": \"0.48713565\",\n \"text\": \"public void addWorkspaceListener(WorkspaceEventListener sl) {\\r\\n\\t\\tlisteners.add(sl);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b269b355a22527eaef512776dc63dd30\",\n \"score\": \"0.48635644\",\n \"text\": \"public void addBoardListener(BoardListener listener) {\\n fEventHandler.addBoardListener(listener);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"23c422ac9171f3c64caceddd6d09e66c\",\n \"score\": \"0.48472038\",\n \"text\": \"public synchronized void addListener(Object listener)\\n {\\n copyOnWrite(_count + 1);\\n\\n _listeners[_count] = listener;\\n\\n _count++;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"665df5e9023020e3d13fb2b53a54fd0e\",\n \"score\": \"0.48325652\",\n \"text\": \"public void addSelectionListener(final SelectionListener listener) {\\n\\t\\tcheckWidget();\\n\\t\\tif (listener == null) {\\n\\t\\t\\tSWT.error(SWT.ERROR_NULL_ARGUMENT);\\n\\t\\t}\\n\\t\\tthis.selectionListeners.add(listener);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a00f05b56c99ffa40665b93f2f8a33bb\",\n \"score\": \"0.4829501\",\n \"text\": \"public void attachListener(ChangeListener listener) {\\n\\t\\tlisteners.add(listener);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"66d6aa735900268c0a8bf39661698555\",\n \"score\": \"0.48281223\",\n \"text\": \"public void addListener(AnalyticsListener listener) {\\n listeners.add(listener);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fc3a4165341e154726fbb9ea297a8f48\",\n \"score\": \"0.4822126\",\n \"text\": \"boolean hasListener(Class annotationClass);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5155dae2b29a4c71b801064d884fa094\",\n \"score\": \"0.4820017\",\n \"text\": \"protected void registerListeners() {\\n component.addMouseListener(this);\\n component.addMouseMotionListener(this);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cff5e2b0403a15d88207da50002ac853\",\n \"score\": \"0.4814195\",\n \"text\": \"void removeListener(ITypeDescriptionListener listener);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8dbb9a7faaecc3e16fca501922c2dd46\",\n \"score\": \"0.48135936\",\n \"text\": \"void addListener(MouseListener m);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"56bc350e9f7301fdc7744305c2f22448\",\n \"score\": \"0.48072088\",\n \"text\": \"@Override\\n public void registerSubscriber(Object listenerClass, String methodName, SubscribeEvent subscribeEvent) {\\n\\n // Call the method to create the listener\\n createListenerContainer(listenerClass,methodName,subscribeEvent);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"72da5a9c24198e050644ff22842b4f10\",\n \"score\": \"0.4806756\",\n \"text\": \"public void registerListener(Listener listener) {\\n mListeners.add(listener);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2aad1a171175a771d0ffab74590038f4\",\n \"score\": \"0.480595\",\n \"text\": \"public void addListSelectionListener(final ListSelectionListener l) {\\n if (listenerList == null) {\\n listenerList = new ArrayList();\\n }\\n listenerList.add(l);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a489107eefe900fe89e4d7da83427dd\",\n \"score\": \"0.4804786\",\n \"text\": \"public void addEvent(Event e) {\\n events.add(e);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d14e0e058fa03f4c7ac665e150ca1142\",\n \"score\": \"0.47934154\",\n \"text\": \"void addOspListener(OspEventListener listener);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8e571c098a0fd8056a790396b2a03202\",\n \"score\": \"0.4790701\",\n \"text\": \"public void addSelectionListener(final SelectionListener listener) {\\r\\n\\t\\tcheckWidget();\\r\\n\\t\\tif (listener == null) {\\r\\n\\t\\t\\tSWT.error(SWT.ERROR_NULL_ARGUMENT);\\r\\n\\t\\t}\\r\\n\\t\\tthis.selectionListeners.add(listener);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"82ccf2ac80f885fd9b0b285b9a3da118\",\n \"score\": \"0.47874412\",\n \"text\": \"public void addDisplayListener(DisplayListener l) {\\n listenerList.add(DisplayListener.class, l);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5ca48b811a2dd24e6e09b383bbf6d714\",\n \"score\": \"0.47839856\",\n \"text\": \"boolean addListener(int id, IEventBusListener listener);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6d15f510f71a54bb32ef0acfa733bf75\",\n \"score\": \"0.4783429\",\n \"text\": \"public void addChangeListener( ChangeListener listener ) {\\n _listenerList.add( ChangeListener.class, listener );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1af8be23d611eda14c98fcc0b9db5bb8\",\n \"score\": \"0.47811928\",\n \"text\": \"void addListener(String optname, Listener listener);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"06e2b06f42b4605e85ab36e5daeddb45\",\n \"score\": \"0.4778403\",\n \"text\": \"public synchronized void addListener(com.yworks.yguard.ObfuscationListener listener)\\n {\\n if (listenerList == null )\\n {\\n listenerList = new java.util.ArrayList();\\n }\\n listenerList.add(listener);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5908c659b16896fd43f29f4b3fb6d312\",\n \"score\": \"0.47728363\",\n \"text\": \"public interface OnAddListener {\\n\\n void onAddEvent(Object item);\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1c049346aa49c9ba4e01b090fc2bf3e\",\n \"score\": \"0.4770231\",\n \"text\": \"public void addChangeListener(ChangeListener l) {\\n m_listenerList.add(ChangeListener.class, l);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c73db330bcf460341253cd5770b3cf04\",\n \"score\": \"0.47701612\",\n \"text\": \"void addEditorListener(EditorListener l);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"740e0894ed3f57bce599ea56e5a976e0\",\n \"score\": \"0.47679058\",\n \"text\": \"private void PrivateAddListener(Object source, IWeakEventListener listener, PropertyDescriptor pd) \\r\\n { \\r\\n// Debug.Assert(listener != null && source != null && pd != null,\\r\\n// \\\"Listener, source, and pd of event cannot be null\\\"); \\r\\n AddListener(source, pd, listener, null);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f8daa28b1b113135557d3f41ae0ab81a\",\n \"score\": \"0.47657198\",\n \"text\": \"public interface ClickListener {\\n\\n /**\\n * Performs actions on mouse click.\\n */\\n void onClick();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bcf3203df425e06e1b342d2ccb7c1f91\",\n \"score\": \"0.47631437\",\n \"text\": \"public void addEvent(EventType eventType, int[] idata, long[] ldata,\\n\\t double[] ddata, String[] sdata);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"16423f4366aea1951aacb597f7081e22\",\n \"score\": \"0.47598043\",\n \"text\": \"public interface MyCustomEventListener {\\n /**\\n * Receive the data.\\n *\\n * @param customEvent the data\\n */\\n void receive(Map customEvent);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"173c1cd96fb0727a009e39a256655f1a\",\n \"score\": \"0.47573876\",\n \"text\": \"public void addNPTListener(NPTListener l, DSMCCStream stream);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"82ea9ac974d6a724d58c92bd54b06947\",\n \"score\": \"0.47512287\",\n \"text\": \"public void registerEventListener(final MessageListener eventListener) {\\n\\t\\tPacketListener pl = new PacketListener() {\\n\\t\\t\\t@Override\\n\\t\\t\\tpublic void processPacket(Packet packet) {\\n\\t\\t\\t\\teventListener.processMessage((Message) packet);\\n\\t\\t\\t}\\n\\t\\t};\\n\\t\\tconnection.addPacketListener(pl, new PacketTypeFilter(Message.class));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"14f3069e4ebfe6e54f339d5ea205b8b2\",\n \"score\": \"0.4745788\",\n \"text\": \"public void addActionEventListener(ActionEventListener a) {\\r\\n\\t\\tmEventListeners.add(a);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d3f45b8e2647efd927b1bbf4731f8f8a\",\n \"score\": \"0.4744361\",\n \"text\": \"public void addListener(Listener listener) {\\n mListeners.add(listener);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dd8c47530132e293d8bab3867e94e508\",\n \"score\": \"0.4735269\",\n \"text\": \"public interface EventListener {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"092362678cc9faf95cfea922a7eadeb2\",\n \"score\": \"0.4735169\",\n \"text\": \"public abstract void addListener(ActionListener listener);\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":363,"cells":{"query_id":{"kind":"string","value":"1924457457dca718415a59751b3ef077"},"query":{"kind":"string","value":"$ANTLR end \"rule__RealTimeStatement__Group_1_0_0__1\" $ANTLR start \"rule__RealTimeStatement__Group_1_0_0__1__Impl\" InternalAgreeParser.g:9447:1: rule__RealTimeStatement__Group_1_0_0__1__Impl : ( Condition ) ;"},"positive_passages":{"kind":"list like","value":[{"docid":"e2dc5177e68e886d969bb0e1f36b191e","score":"0.7694081","text":"public final void rule__RealTimeStatement__Group_1_0_0__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9451:1: ( ( Condition ) )\n // InternalAgreeParser.g:9452:1: ( Condition )\n {\n // InternalAgreeParser.g:9452:1: ( Condition )\n // InternalAgreeParser.g:9453:1: Condition\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getConditionKeyword_1_0_0_1()); \n }\n match(input,Condition,FollowSets000.FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getConditionKeyword_1_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":""}],"string":"[\n {\n \"docid\": \"e2dc5177e68e886d969bb0e1f36b191e\",\n \"score\": \"0.7694081\",\n \"text\": \"public final void rule__RealTimeStatement__Group_1_0_0__1__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9451:1: ( ( Condition ) )\\n // InternalAgreeParser.g:9452:1: ( Condition )\\n {\\n // InternalAgreeParser.g:9452:1: ( Condition )\\n // InternalAgreeParser.g:9453:1: Condition\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getRealTimeStatementAccess().getConditionKeyword_1_0_0_1()); \\n }\\n match(input,Condition,FollowSets000.FOLLOW_2); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getRealTimeStatementAccess().getConditionKeyword_1_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 }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"2dfe8f56ebbb6f9c778894b555032401","score":"0.7699046","text":"public final void rule__RealTimeStatement__Group_0_0_0__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9005:1: ( ( Condition ) )\n // InternalAgreeParser.g:9006:1: ( Condition )\n {\n // InternalAgreeParser.g:9006:1: ( Condition )\n // InternalAgreeParser.g:9007:1: Condition\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getConditionKeyword_0_0_0_1()); \n }\n match(input,Condition,FollowSets000.FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getConditionKeyword_0_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":"37da8a1dba3a64b2b662515fd394af1e","score":"0.6627137","text":"public final void rule__RealTimeStatement__Group_0_0_0__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9084:1: ( rule__RealTimeStatement__Group_0_0_0__4__Impl )\n // InternalAgreeParser.g:9085:2: rule__RealTimeStatement__Group_0_0_0__4__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_0_0_0__4__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":"a4fe45828023317cc3143ce3ab1ac5d3","score":"0.66122866","text":"public final void rule__RealTimeStatement__Group_1_0_0__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9530:1: ( rule__RealTimeStatement__Group_1_0_0__4__Impl )\n // InternalAgreeParser.g:9531:2: rule__RealTimeStatement__Group_1_0_0__4__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1_0_0__4__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":"5e835f24be73c41b20838d6d5ca0d693","score":"0.6595962","text":"public final void rule__RealTimeStatement__Group_1__4__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9351:1: ( ( ( rule__RealTimeStatement__Group_1_4__0 )? ) )\n // InternalAgreeParser.g:9352:1: ( ( rule__RealTimeStatement__Group_1_4__0 )? )\n {\n // InternalAgreeParser.g:9352:1: ( ( rule__RealTimeStatement__Group_1_4__0 )? )\n // InternalAgreeParser.g:9353:1: ( rule__RealTimeStatement__Group_1_4__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getGroup_1_4()); \n }\n // InternalAgreeParser.g:9354:1: ( rule__RealTimeStatement__Group_1_4__0 )?\n int alt64=2;\n int LA64_0 = input.LA(1);\n\n if ( (LA64_0==With) ) {\n alt64=1;\n }\n switch (alt64) {\n case 1 :\n // InternalAgreeParser.g:9354:2: rule__RealTimeStatement__Group_1_4__0\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1_4__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.getRealTimeStatementAccess().getGroup_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":"5e708422da8ce13a897c16fad23ea6f9","score":"0.6544735","text":"public final void rule__RealTimeStatement__Group_1_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9378:1: ( rule__RealTimeStatement__Group_1_0__0__Impl )\n // InternalAgreeParser.g:9379:2: rule__RealTimeStatement__Group_1_0__0__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1_0__0__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":"2d93090e721b459877925fa14ffe0735","score":"0.6540553","text":"public final void rule__RealTimeStatement__Group_1_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9389:1: ( ( ( rule__RealTimeStatement__Group_1_0_0__0 ) ) )\n // InternalAgreeParser.g:9390:1: ( ( rule__RealTimeStatement__Group_1_0_0__0 ) )\n {\n // InternalAgreeParser.g:9390:1: ( ( rule__RealTimeStatement__Group_1_0_0__0 ) )\n // InternalAgreeParser.g:9391:1: ( rule__RealTimeStatement__Group_1_0_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getGroup_1_0_0()); \n }\n // InternalAgreeParser.g:9392:1: ( rule__RealTimeStatement__Group_1_0_0__0 )\n // InternalAgreeParser.g:9392:2: rule__RealTimeStatement__Group_1_0_0__0\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1_0_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getGroup_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":"18f1272e35f1acd0a02ec07f8ba3cf9a","score":"0.65174466","text":"public final void rule__RealTimeStatement__Group_1__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9232:1: ( ( ( rule__RealTimeStatement__Group_1_0__0 ) ) )\n // InternalAgreeParser.g:9233:1: ( ( rule__RealTimeStatement__Group_1_0__0 ) )\n {\n // InternalAgreeParser.g:9233:1: ( ( rule__RealTimeStatement__Group_1_0__0 ) )\n // InternalAgreeParser.g:9234:1: ( rule__RealTimeStatement__Group_1_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getGroup_1_0()); \n }\n // InternalAgreeParser.g:9235:1: ( rule__RealTimeStatement__Group_1_0__0 )\n // InternalAgreeParser.g:9235:2: rule__RealTimeStatement__Group_1_0__0\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getGroup_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":"0142adf317b85b7ca966d7a8eb10e4af","score":"0.64770263","text":"public final void rule__RealTimeStatement__Group_0_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:8943:1: ( ( ( rule__RealTimeStatement__Group_0_0_0__0 ) ) )\n // InternalAgreeParser.g:8944:1: ( ( rule__RealTimeStatement__Group_0_0_0__0 ) )\n {\n // InternalAgreeParser.g:8944:1: ( ( rule__RealTimeStatement__Group_0_0_0__0 ) )\n // InternalAgreeParser.g:8945:1: ( rule__RealTimeStatement__Group_0_0_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getGroup_0_0_0()); \n }\n // InternalAgreeParser.g:8946:1: ( rule__RealTimeStatement__Group_0_0_0__0 )\n // InternalAgreeParser.g:8946:2: rule__RealTimeStatement__Group_0_0_0__0\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_0_0_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getGroup_0_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":"5f4f512c546d1bca0f14bfca9180a60a","score":"0.6436121","text":"public final void rule__RealTimeStatement__Group_1__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9340:1: ( rule__RealTimeStatement__Group_1__4__Impl )\n // InternalAgreeParser.g:9341:2: rule__RealTimeStatement__Group_1__4__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1__4__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":"4538d0c630d8f9975e87ee94ddae6b53","score":"0.6410174","text":"public final void ruleCondition() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:492:2: ( ( ( rule__Condition__Group__0 ) ) )\n // InternalGame.g:493:2: ( ( rule__Condition__Group__0 ) )\n {\n // InternalGame.g:493:2: ( ( rule__Condition__Group__0 ) )\n // InternalGame.g:494:3: ( rule__Condition__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getConditionAccess().getGroup()); \n }\n // InternalGame.g:495:3: ( rule__Condition__Group__0 )\n // InternalGame.g:495:4: rule__Condition__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__Condition__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getConditionAccess().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":"2d22685cb6b769734d36fc41e0291621","score":"0.6397991","text":"public final void rule__RealTimeStatement__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:3422:1: ( ( ( rule__RealTimeStatement__Group_0__0 ) ) | ( ( rule__RealTimeStatement__Group_1__0 ) ) )\n int alt13=2;\n int LA13_0 = input.LA(1);\n\n if ( (LA13_0==Condition) ) {\n int LA13_1 = input.LA(2);\n\n if ( (synpred44_InternalAgreeParser()) ) {\n alt13=1;\n }\n else if ( (true) ) {\n alt13=2;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 13, 1, input);\n\n throw nvae;\n }\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 13, 0, input);\n\n throw nvae;\n }\n switch (alt13) {\n case 1 :\n // InternalAgreeParser.g:3423:1: ( ( rule__RealTimeStatement__Group_0__0 ) )\n {\n // InternalAgreeParser.g:3423:1: ( ( rule__RealTimeStatement__Group_0__0 ) )\n // InternalAgreeParser.g:3424:1: ( rule__RealTimeStatement__Group_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getGroup_0()); \n }\n // InternalAgreeParser.g:3425:1: ( rule__RealTimeStatement__Group_0__0 )\n // InternalAgreeParser.g:3425:2: rule__RealTimeStatement__Group_0__0\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getGroup_0()); \n }\n\n }\n\n\n }\n break;\n case 2 :\n // InternalAgreeParser.g:3429:6: ( ( rule__RealTimeStatement__Group_1__0 ) )\n {\n // InternalAgreeParser.g:3429:6: ( ( rule__RealTimeStatement__Group_1__0 ) )\n // InternalAgreeParser.g:3430:1: ( rule__RealTimeStatement__Group_1__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getGroup_1()); \n }\n // InternalAgreeParser.g:3431:1: ( rule__RealTimeStatement__Group_1__0 )\n // InternalAgreeParser.g:3431:2: rule__RealTimeStatement__Group_1__0\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getGroup_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":"79e99814490500e18d3fbc3936b7db43","score":"0.63930446","text":"public final void rule__RealTimeStatement__Group_1_0_0__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9499:1: ( rule__RealTimeStatement__Group_1_0_0__3__Impl rule__RealTimeStatement__Group_1_0_0__4 )\n // InternalAgreeParser.g:9500:2: rule__RealTimeStatement__Group_1_0_0__3__Impl rule__RealTimeStatement__Group_1_0_0__4\n {\n pushFollow(FollowSets000.FOLLOW_43);\n rule__RealTimeStatement__Group_1_0_0__3__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1_0_0__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":"bd41397153ea3faad431f4a5131c40d1","score":"0.6362166","text":"public final void rule__RealTimeStatement__Group_0_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:8932:1: ( rule__RealTimeStatement__Group_0_0__0__Impl )\n // InternalAgreeParser.g:8933:2: rule__RealTimeStatement__Group_0_0__0__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_0_0__0__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":"f8be657d844bfb407d87c0852b8c7346","score":"0.63589984","text":"public final void rule__RealTimeStatement__Group_1_4__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9632:1: ( rule__RealTimeStatement__Group_1_4__2__Impl )\n // InternalAgreeParser.g:9633:2: rule__RealTimeStatement__Group_1_4__2__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1_4__2__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":"de7187511b51709664f5f865ecc5bdae","score":"0.6343264","text":"public final void rule__RealTimeStatement__Group_0__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:8909:1: ( ( ( rule__RealTimeStatement__Group_0_2__0 )? ) )\n // InternalAgreeParser.g:8910:1: ( ( rule__RealTimeStatement__Group_0_2__0 )? )\n {\n // InternalAgreeParser.g:8910:1: ( ( rule__RealTimeStatement__Group_0_2__0 )? )\n // InternalAgreeParser.g:8911:1: ( rule__RealTimeStatement__Group_0_2__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getGroup_0_2()); \n }\n // InternalAgreeParser.g:8912:1: ( rule__RealTimeStatement__Group_0_2__0 )?\n int alt63=2;\n int LA63_0 = input.LA(1);\n\n if ( (LA63_0==With) ) {\n alt63=1;\n }\n switch (alt63) {\n case 1 :\n // InternalAgreeParser.g:8912:2: rule__RealTimeStatement__Group_0_2__0\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_0_2__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.getRealTimeStatementAccess().getGroup_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":"fde422049998a476a50f38dadf84f4c1","score":"0.6339448","text":"public final void rule__RealTimeStatement__Group_0_0_0__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9053:1: ( rule__RealTimeStatement__Group_0_0_0__3__Impl rule__RealTimeStatement__Group_0_0_0__4 )\n // InternalAgreeParser.g:9054:2: rule__RealTimeStatement__Group_0_0_0__3__Impl rule__RealTimeStatement__Group_0_0_0__4\n {\n pushFollow(FollowSets000.FOLLOW_40);\n rule__RealTimeStatement__Group_0_0_0__3__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_0_0_0__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":"bed382a050acef74a97ae3e3f92b6697","score":"0.6306778","text":"public final void rule__RealTimeStatement__Group_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:8852:1: ( ( ( rule__RealTimeStatement__Group_0_0__0 ) ) )\n // InternalAgreeParser.g:8853:1: ( ( rule__RealTimeStatement__Group_0_0__0 ) )\n {\n // InternalAgreeParser.g:8853:1: ( ( rule__RealTimeStatement__Group_0_0__0 ) )\n // InternalAgreeParser.g:8854:1: ( rule__RealTimeStatement__Group_0_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getGroup_0_0()); \n }\n // InternalAgreeParser.g:8855:1: ( rule__RealTimeStatement__Group_0_0__0 )\n // InternalAgreeParser.g:8855:2: rule__RealTimeStatement__Group_0_0__0\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_0_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().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":"db638d62ce92df4fd3f0338395fa8b9c","score":"0.62848675","text":"public final void rule__RealTimeStatement__Group_1_4__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9570:1: ( rule__RealTimeStatement__Group_1_4__0__Impl rule__RealTimeStatement__Group_1_4__1 )\n // InternalAgreeParser.g:9571:2: rule__RealTimeStatement__Group_1_4__0__Impl rule__RealTimeStatement__Group_1_4__1\n {\n pushFollow(FollowSets000.FOLLOW_41);\n rule__RealTimeStatement__Group_1_4__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1_4__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":"abebe75a31e9abd3549a6b88ef291b7a","score":"0.62283224","text":"public final void rule__RealTimeStatement__Group_0_0_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:8962:1: ( rule__RealTimeStatement__Group_0_0_0__0__Impl rule__RealTimeStatement__Group_0_0_0__1 )\n // InternalAgreeParser.g:8963:2: rule__RealTimeStatement__Group_0_0_0__0__Impl rule__RealTimeStatement__Group_0_0_0__1\n {\n pushFollow(FollowSets000.FOLLOW_39);\n rule__RealTimeStatement__Group_0_0_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_0_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":"b19f9790eea3a49aae56e080eaa126af","score":"0.6207112","text":"public final void rule__RealTimeStatement__Group_0_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:8993:1: ( rule__RealTimeStatement__Group_0_0_0__1__Impl rule__RealTimeStatement__Group_0_0_0__2 )\n // InternalAgreeParser.g:8994:2: rule__RealTimeStatement__Group_0_0_0__1__Impl rule__RealTimeStatement__Group_0_0_0__2\n {\n pushFollow(FollowSets000.FOLLOW_7);\n rule__RealTimeStatement__Group_0_0_0__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_0_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":"df55fbd432fdaf3798028a0586ca89af","score":"0.61990744","text":"public final void rule__RealTimeStatement__Group_0__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:8898:1: ( rule__RealTimeStatement__Group_0__2__Impl )\n // InternalAgreeParser.g:8899:2: rule__RealTimeStatement__Group_0__2__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_0__2__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":"bbd1058c5b80438f252d97ad23f46267","score":"0.61871636","text":"public final void rule__RealTimeStatement__Group_1_0_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9408:1: ( rule__RealTimeStatement__Group_1_0_0__0__Impl rule__RealTimeStatement__Group_1_0_0__1 )\n // InternalAgreeParser.g:9409:2: rule__RealTimeStatement__Group_1_0_0__0__Impl rule__RealTimeStatement__Group_1_0_0__1\n {\n pushFollow(FollowSets000.FOLLOW_17);\n rule__RealTimeStatement__Group_1_0_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1_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":"01adbc42ff76107bf195977e587fdb67","score":"0.61718786","text":"public final void rule__RealTimeStatement__Group_1_4__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9601:1: ( rule__RealTimeStatement__Group_1_4__1__Impl rule__RealTimeStatement__Group_1_4__2 )\n // InternalAgreeParser.g:9602:2: rule__RealTimeStatement__Group_1_4__1__Impl rule__RealTimeStatement__Group_1_4__2\n {\n pushFollow(FollowSets000.FOLLOW_7);\n rule__RealTimeStatement__Group_1_4__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1_4__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":"c3ac9974bcdc606169b441226f03c4f8","score":"0.614893","text":"public final void rule__RealTimeStatement__Group_1_0_0__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9470:1: ( rule__RealTimeStatement__Group_1_0_0__2__Impl rule__RealTimeStatement__Group_1_0_0__3 )\n // InternalAgreeParser.g:9471:2: rule__RealTimeStatement__Group_1_0_0__2__Impl rule__RealTimeStatement__Group_1_0_0__3\n {\n pushFollow(FollowSets000.FOLLOW_30);\n rule__RealTimeStatement__Group_1_0_0__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1_0_0__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":"b8612472a54205f8e8cb05fa58dc07ed","score":"0.61415577","text":"public final void rule__RealTimeStatement__Group_1_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9439:1: ( rule__RealTimeStatement__Group_1_0_0__1__Impl rule__RealTimeStatement__Group_1_0_0__2 )\n // InternalAgreeParser.g:9440:2: rule__RealTimeStatement__Group_1_0_0__1__Impl rule__RealTimeStatement__Group_1_0_0__2\n {\n pushFollow(FollowSets000.FOLLOW_7);\n rule__RealTimeStatement__Group_1_0_0__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1_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":"eed51be67d8a2c41589a674181f5e212","score":"0.6130258","text":"public final void rule__RealTimeStatement__Group_1__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9311:1: ( rule__RealTimeStatement__Group_1__3__Impl rule__RealTimeStatement__Group_1__4 )\n // InternalAgreeParser.g:9312:2: rule__RealTimeStatement__Group_1__3__Impl rule__RealTimeStatement__Group_1__4\n {\n pushFollow(FollowSets000.FOLLOW_38);\n rule__RealTimeStatement__Group_1__3__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1__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":"8b8550c3127d283502507e8845f487e0","score":"0.612823","text":"public final void rule__RealTimeStatement__Group_1_4__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9582:1: ( ( With ) )\n // InternalAgreeParser.g:9583:1: ( With )\n {\n // InternalAgreeParser.g:9583:1: ( With )\n // InternalAgreeParser.g:9584:1: With\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getWithKeyword_1_4_0()); \n }\n match(input,With,FollowSets000.FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getWithKeyword_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":"016ea201a02aa628f4a7d7d7c07b7156","score":"0.6103784","text":"public final void rule__Condition__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:2505:1: ( rule__Condition__Group__0__Impl rule__Condition__Group__1 )\n // InternalGame.g:2506:2: rule__Condition__Group__0__Impl rule__Condition__Group__1\n {\n pushFollow(FOLLOW_21);\n rule__Condition__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Condition__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":"bbb1695ab0d574a8ead541cddd808c1f","score":"0.6092158","text":"public final void rule__TrueCondition__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRobotDsl.g:1547:1: ( rule__TrueCondition__Group__1__Impl )\n // InternalRobotDsl.g:1548:2: rule__TrueCondition__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__TrueCondition__Group__1__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":"fe8563b2199c21db25ba38660376c925","score":"0.608413","text":"public final void rule__RealTimeStatement__Group_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9220:1: ( rule__RealTimeStatement__Group_1__0__Impl rule__RealTimeStatement__Group_1__1 )\n // InternalAgreeParser.g:9221:2: rule__RealTimeStatement__Group_1__0__Impl rule__RealTimeStatement__Group_1__1\n {\n pushFollow(FollowSets000.FOLLOW_38);\n rule__RealTimeStatement__Group_1__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_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":"eb5b4a12873443d89139d700a0b12a4e","score":"0.6078865","text":"public final void rule__RealTimeStatement__Group_0_2__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9186:1: ( rule__RealTimeStatement__Group_0_2__2__Impl )\n // InternalAgreeParser.g:9187:2: rule__RealTimeStatement__Group_0_2__2__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_0_2__2__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":"c0f9d9119e1cce339db5488f167383a3","score":"0.6070799","text":"public final void rule__RealTimeStatement__Group_1__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9261:1: ( ( With ) )\n // InternalAgreeParser.g:9262:1: ( With )\n {\n // InternalAgreeParser.g:9262:1: ( With )\n // InternalAgreeParser.g:9263:1: With\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getWithKeyword_1_1()); \n }\n match(input,With,FollowSets000.FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getWithKeyword_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":"92ddbd4991c7ec41cbc750efa09d707e","score":"0.6070387","text":"public final void rule__RealTimeStatement__Group_0_0_0__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9024:1: ( rule__RealTimeStatement__Group_0_0_0__2__Impl rule__RealTimeStatement__Group_0_0_0__3 )\n // InternalAgreeParser.g:9025:2: rule__RealTimeStatement__Group_0_0_0__2__Impl rule__RealTimeStatement__Group_0_0_0__3\n {\n pushFollow(FollowSets000.FOLLOW_30);\n rule__RealTimeStatement__Group_0_0_0__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_0_0_0__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":"9fd005b850d43d473e559ce76e18e966","score":"0.60689175","text":"public final void rule__RealTimeStatement__Group_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:8869:1: ( rule__RealTimeStatement__Group_0__1__Impl rule__RealTimeStatement__Group_0__2 )\n // InternalAgreeParser.g:8870:2: rule__RealTimeStatement__Group_0__1__Impl rule__RealTimeStatement__Group_0__2\n {\n pushFollow(FollowSets000.FOLLOW_38);\n rule__RealTimeStatement__Group_0__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_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":"94aced63cec5473135e1219a74df8cba","score":"0.6042009","text":"public final void rule__RealTimeStatement__Group_1_0_0__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9511:1: ( ( Occurs ) )\n // InternalAgreeParser.g:9512:1: ( Occurs )\n {\n // InternalAgreeParser.g:9512:1: ( Occurs )\n // InternalAgreeParser.g:9513:1: Occurs\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getOccursKeyword_1_0_0_3()); \n }\n match(input,Occurs,FollowSets000.FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getOccursKeyword_1_0_0_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":"07a762efb094f582c8feb0872433850c","score":"0.6022576","text":"public final void rule__RealTimeStatement__Group_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:8840:1: ( rule__RealTimeStatement__Group_0__0__Impl rule__RealTimeStatement__Group_0__1 )\n // InternalAgreeParser.g:8841:2: rule__RealTimeStatement__Group_0__0__Impl rule__RealTimeStatement__Group_0__1\n {\n pushFollow(FollowSets000.FOLLOW_7);\n rule__RealTimeStatement__Group_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_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":"28cbdf000bac4038b9876865b8d95b56","score":"0.6005642","text":"public final void rule__Condition__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:2544:1: ( ( '(' ) )\n // InternalGame.g:2545:1: ( '(' )\n {\n // InternalGame.g:2545:1: ( '(' )\n // InternalGame.g:2546:2: '('\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getConditionAccess().getLeftParenthesisKeyword_1()); \n }\n match(input,14,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getConditionAccess().getLeftParenthesisKeyword_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":"6a1dce92b6d0207cdd14e5c9216086ea","score":"0.59870374","text":"public final void rule__RightStatement__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRobotDsl.g:1655:1: ( rule__RightStatement__Group__1__Impl )\n // InternalRobotDsl.g:1656:2: rule__RightStatement__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__RightStatement__Group__1__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":"406e3063b776aecd767e633d450fa0a1","score":"0.59649324","text":"public final void rule__RealTimeStatement__Group_0_0_0__4__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9095:1: ( ( Each ) )\n // InternalAgreeParser.g:9096:1: ( Each )\n {\n // InternalAgreeParser.g:9096:1: ( Each )\n // InternalAgreeParser.g:9097:1: Each\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getEachKeyword_0_0_0_4()); \n }\n match(input,Each,FollowSets000.FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getEachKeyword_0_0_0_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":"2a3feb2820ffcfc066e7fd91332aa61f","score":"0.5962818","text":"public final void rule__Condition__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:2532:1: ( rule__Condition__Group__1__Impl rule__Condition__Group__2 )\n // InternalGame.g:2533:2: rule__Condition__Group__1__Impl rule__Condition__Group__2\n {\n pushFollow(FOLLOW_22);\n rule__Condition__Group__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Condition__Group__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":"654b8b97a76dae0050d4b0b85bbe919c","score":"0.59303916","text":"public final void rule__RealTimeStatement__Group_1__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9280:1: ( rule__RealTimeStatement__Group_1__2__Impl rule__RealTimeStatement__Group_1__3 )\n // InternalAgreeParser.g:9281:2: rule__RealTimeStatement__Group_1__2__Impl rule__RealTimeStatement__Group_1__3\n {\n pushFollow(FollowSets000.FOLLOW_7);\n rule__RealTimeStatement__Group_1__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1__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":"1e061b8647fcb378cdb007544fbe38e1","score":"0.5903595","text":"public final void rule__RealTimeStatement__Group_0_2__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9124:1: ( rule__RealTimeStatement__Group_0_2__0__Impl rule__RealTimeStatement__Group_0_2__1 )\n // InternalAgreeParser.g:9125:2: rule__RealTimeStatement__Group_0_2__0__Impl rule__RealTimeStatement__Group_0_2__1\n {\n pushFollow(FollowSets000.FOLLOW_41);\n rule__RealTimeStatement__Group_0_2__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_0_2__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":"1d5bc9c04175a5bc00761d6bbe6dbd6c","score":"0.58913976","text":"public final void rule__RealTimeStatement__Group_0_0_0__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9065:1: ( ( Occurs ) )\n // InternalAgreeParser.g:9066:1: ( Occurs )\n {\n // InternalAgreeParser.g:9066:1: ( Occurs )\n // InternalAgreeParser.g:9067:1: Occurs\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getOccursKeyword_0_0_0_3()); \n }\n match(input,Occurs,FollowSets000.FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getOccursKeyword_0_0_0_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":"45457be386665fbcb09f0efccc608f08","score":"0.58775246","text":"public final void rule__Condition__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:2559:1: ( rule__Condition__Group__2__Impl rule__Condition__Group__3 )\n // InternalGame.g:2560:2: rule__Condition__Group__2__Impl rule__Condition__Group__3\n {\n pushFollow(FOLLOW_20);\n rule__Condition__Group__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Condition__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":"1a2ef15a65a6e1fa8e94b3c8cd824e18","score":"0.58757246","text":"public final void rule__RealTimeStatement__Group_0_0_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:8974:1: ( ( () ) )\n // InternalAgreeParser.g:8975:1: ( () )\n {\n // InternalAgreeParser.g:8975:1: ( () )\n // InternalAgreeParser.g:8976:1: ()\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getPeriodicStatementAction_0_0_0_0()); \n }\n // InternalAgreeParser.g:8977:1: ()\n // InternalAgreeParser.g:8979:1: \n {\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getPeriodicStatementAction_0_0_0_0()); \n }\n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"75f65c56b188d302d170d5bf17e4ee55","score":"0.5832761","text":"public final void rule__RealTimeStatement__Group_0_2__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9155:1: ( rule__RealTimeStatement__Group_0_2__1__Impl rule__RealTimeStatement__Group_0_2__2 )\n // InternalAgreeParser.g:9156:2: rule__RealTimeStatement__Group_0_2__1__Impl rule__RealTimeStatement__Group_0_2__2\n {\n pushFollow(FollowSets000.FOLLOW_7);\n rule__RealTimeStatement__Group_0_2__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_0_2__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":"95e948f560558130d800b8768c4508b7","score":"0.58151716","text":"public final void rule__RealTimeStatement__Group_0_2__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9136:1: ( ( With ) )\n // InternalAgreeParser.g:9137:1: ( With )\n {\n // InternalAgreeParser.g:9137:1: ( With )\n // InternalAgreeParser.g:9138:1: With\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getWithKeyword_0_2_0()); \n }\n match(input,With,FollowSets000.FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getWithKeyword_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":"2da6e8fd96f71f1dd7e22fa381b8369b","score":"0.58077234","text":"public final void rule__Condition__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:2586:1: ( rule__Condition__Group__3__Impl rule__Condition__Group__4 )\n // InternalGame.g:2587:2: rule__Condition__Group__3__Impl rule__Condition__Group__4\n {\n pushFollow(FOLLOW_21);\n rule__Condition__Group__3__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Condition__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":"8ac1090b594e8c158f00e2c057fb1052","score":"0.57901454","text":"public final void rule__Condition__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:2598:1: ( ( ')' ) )\n // InternalGame.g:2599:1: ( ')' )\n {\n // InternalGame.g:2599:1: ( ')' )\n // InternalGame.g:2600:2: ')'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getConditionAccess().getRightParenthesisKeyword_3()); \n }\n match(input,15,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getConditionAccess().getRightParenthesisKeyword_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":"c656e54fbace8ed557a76a5c586f5382","score":"0.5758822","text":"public final void rule__RealTimeStatement__Group_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9249:1: ( rule__RealTimeStatement__Group_1__1__Impl rule__RealTimeStatement__Group_1__2 )\n // InternalAgreeParser.g:9250:2: rule__RealTimeStatement__Group_1__1__Impl rule__RealTimeStatement__Group_1__2\n {\n pushFollow(FollowSets000.FOLLOW_42);\n rule__RealTimeStatement__Group_1__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1__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":"be4104d30c643be1b0b58f729178b5ab","score":"0.5752777","text":"public final void rule__TrueCondition__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRobotDsl.g:1520:1: ( rule__TrueCondition__Group__0__Impl rule__TrueCondition__Group__1 )\n // InternalRobotDsl.g:1521:2: rule__TrueCondition__Group__0__Impl rule__TrueCondition__Group__1\n {\n pushFollow(FOLLOW_17);\n rule__TrueCondition__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__TrueCondition__Group__1();\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":"f7a8474bd85b0d225bee17766f7574b3","score":"0.5698685","text":"public final void rule__WheneverStatement__Group_1_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:8021:1: ( rule__WheneverStatement__Group_1_1__1__Impl )\n // InternalAgreeParser.g:8022:2: rule__WheneverStatement__Group_1_1__1__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__WheneverStatement__Group_1_1__1__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":"aab4a16aac4abc047b2460e64918d23a","score":"0.56674623","text":"public final void rule__Condition__Group__5() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:2640:1: ( rule__Condition__Group__5__Impl )\n // InternalGame.g:2641:2: rule__Condition__Group__5__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Condition__Group__5__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":"afb782830bfad12a887575407df9fb8f","score":"0.5653392","text":"public final void rule__RealTimeStatement__Group_1_4__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9613:1: ( ( Jitter ) )\n // InternalAgreeParser.g:9614:1: ( Jitter )\n {\n // InternalAgreeParser.g:9614:1: ( Jitter )\n // InternalAgreeParser.g:9615:1: Jitter\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getJitterKeyword_1_4_1()); \n }\n match(input,Jitter,FollowSets000.FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getJitterKeyword_1_4_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":"8a38101eda0e845c30b546cb4026cb6d","score":"0.5597464","text":"public final void rule__RealTimeStatement__Group_1_0_0__4__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9541:1: ( ( Sporadic ) )\n // InternalAgreeParser.g:9542:1: ( Sporadic )\n {\n // InternalAgreeParser.g:9542:1: ( Sporadic )\n // InternalAgreeParser.g:9543:1: Sporadic\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getSporadicKeyword_1_0_0_4()); \n }\n match(input,Sporadic,FollowSets000.FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getSporadicKeyword_1_0_0_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":"b0f4080deeabbdd52d3761ce16512474","score":"0.5591181","text":"public final void synpred44_InternalAgreeParser_fragment() throws RecognitionException { \n // InternalAgreeParser.g:3423:1: ( ( ( rule__RealTimeStatement__Group_0__0 ) ) )\n // InternalAgreeParser.g:3423:1: ( ( rule__RealTimeStatement__Group_0__0 ) )\n {\n // InternalAgreeParser.g:3423:1: ( ( rule__RealTimeStatement__Group_0__0 ) )\n // InternalAgreeParser.g:3424:1: ( rule__RealTimeStatement__Group_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getGroup_0()); \n }\n // InternalAgreeParser.g:3425:1: ( rule__RealTimeStatement__Group_0__0 )\n // InternalAgreeParser.g:3425:2: rule__RealTimeStatement__Group_0__0\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n\n }\n\n\n }\n }","title":""},{"docid":"27dda537eaa774193bfd97023b9a62cf","score":"0.5584261","text":"public final void rule__ExecuteStatement__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRobotDsl.g:1871:1: ( rule__ExecuteStatement__Group__2__Impl )\n // InternalRobotDsl.g:1872:2: rule__ExecuteStatement__Group__2__Impl\n {\n pushFollow(FOLLOW_2);\n rule__ExecuteStatement__Group__2__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":"4e1e2b5e7875a8e4485ff05e9aefa19d","score":"0.5581806","text":"public final void rule__WheneverStatement__Group_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:7673:1: ( rule__WheneverStatement__Group_1__1__Impl )\n // InternalAgreeParser.g:7674:2: rule__WheneverStatement__Group_1__1__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__WheneverStatement__Group_1__1__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":"2cf28afb2af95f282e6d87f9145cecc3","score":"0.5540134","text":"public final void rule__RealTimeStatement__Group_1_0_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9420:1: ( ( () ) )\n // InternalAgreeParser.g:9421:1: ( () )\n {\n // InternalAgreeParser.g:9421:1: ( () )\n // InternalAgreeParser.g:9422:1: ()\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getSporadicStatementAction_1_0_0_0()); \n }\n // InternalAgreeParser.g:9423:1: ()\n // InternalAgreeParser.g:9425:1: \n {\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getSporadicStatementAction_1_0_0_0()); \n }\n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"6ff7d86f967ccb17713b80a72c542c2b","score":"0.5537606","text":"public final void rule__SynchStatement__Group_0_4__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:10813:1: ( rule__SynchStatement__Group_0_4__1__Impl )\n // InternalAgreeParser.g:10814:2: rule__SynchStatement__Group_0_4__1__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__SynchStatement__Group_0_4__1__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":"ff2c6056c94f9ac58b0aaebf2993cf40","score":"0.5536804","text":"public final void rule__WheneverStatement__Group_1_0_0__7() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:7946:1: ( rule__WheneverStatement__Group_1_0_0__7__Impl )\n // InternalAgreeParser.g:7947:2: rule__WheneverStatement__Group_1_0_0__7__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__WheneverStatement__Group_1_0_0__7__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":"7ba1ffe8c95dbccc6cde0668840f6bde","score":"0.5518462","text":"public final void rule__WheneverStatement__Group_0_0_0__6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:7539:1: ( rule__WheneverStatement__Group_0_0_0__6__Impl )\n // InternalAgreeParser.g:7540:2: rule__WheneverStatement__Group_0_0_0__6__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__WheneverStatement__Group_0_0_0__6__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":"f9070e2f7a01c4c8a00bc707a6184ef8","score":"0.5517762","text":"public final void rule__IfStatement__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRobotDsl.g:2195:1: ( rule__IfStatement__Group__3__Impl )\n // InternalRobotDsl.g:2196:2: rule__IfStatement__Group__3__Impl\n {\n pushFollow(FOLLOW_2);\n rule__IfStatement__Group__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":"e5d2f5e8f0ed3aa8687f549bc6e46f97","score":"0.5514821","text":"public final void rule__Condition__Group_5__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:2694:1: ( rule__Condition__Group_5__1__Impl )\n // InternalGame.g:2695:2: rule__Condition__Group_5__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Condition__Group_5__1__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":"0028971d72d042bf3748a626ecbb334c","score":"0.55054784","text":"public final void rule__WheneverStatement__Group_2_0_0__6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:8324:1: ( rule__WheneverStatement__Group_2_0_0__6__Impl )\n // InternalAgreeParser.g:8325:2: rule__WheneverStatement__Group_2_0_0__6__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__WheneverStatement__Group_2_0_0__6__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":"3ccab379b07fa817241b0b900752e589","score":"0.5504733","text":"public final void rule__WheneverStatement__Group_1__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:7684:1: ( ( ( rule__WheneverStatement__Group_1_1__0 )? ) )\n // InternalAgreeParser.g:7685:1: ( ( rule__WheneverStatement__Group_1_1__0 )? )\n {\n // InternalAgreeParser.g:7685:1: ( ( rule__WheneverStatement__Group_1_1__0 )? )\n // InternalAgreeParser.g:7686:1: ( rule__WheneverStatement__Group_1_1__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getWheneverStatementAccess().getGroup_1_1()); \n }\n // InternalAgreeParser.g:7687:1: ( rule__WheneverStatement__Group_1_1__0 )?\n int alt57=2;\n int LA57_0 = input.LA(1);\n\n if ( (LA57_0==During) ) {\n alt57=1;\n }\n switch (alt57) {\n case 1 :\n // InternalAgreeParser.g:7687:2: rule__WheneverStatement__Group_1_1__0\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__WheneverStatement__Group_1_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.getWheneverStatementAccess().getGroup_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":"f14de3772e397270e6106def3d630c73","score":"0.5501465","text":"public final void rule__IfStatement__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRobotDsl.g:2141:1: ( rule__IfStatement__Group__1__Impl rule__IfStatement__Group__2 )\n // InternalRobotDsl.g:2142:2: rule__IfStatement__Group__1__Impl rule__IfStatement__Group__2\n {\n pushFollow(FOLLOW_23);\n rule__IfStatement__Group__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__IfStatement__Group__2();\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":"4201d0842e1c6e5d50562f97e2b225f8","score":"0.5500103","text":"public final void rule__WheneverStatement__Group_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:7297:1: ( rule__WheneverStatement__Group_0__1__Impl )\n // InternalAgreeParser.g:7298:2: rule__WheneverStatement__Group_0__1__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__WheneverStatement__Group_0__1__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":"0b28e8f8173ff6d037b0ea25132be668","score":"0.5499385","text":"public final void rule__Condition__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:2613:1: ( rule__Condition__Group__4__Impl rule__Condition__Group__5 )\n // InternalGame.g:2614:2: rule__Condition__Group__4__Impl rule__Condition__Group__5\n {\n pushFollow(FOLLOW_23);\n rule__Condition__Group__4__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Condition__Group__5();\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":"05c3b7dc34ef011e66f262983f5779c4","score":"0.5496933","text":"public final void rule__MetaStatement__Group__4__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.sqlproc.meta.ui/src-gen/org/sqlproc/meta/ui/contentassist/antlr/internal/InternalProcessorMeta.g:26040:1: ( ( RULE_RPAREN ) )\n // ../org.sqlproc.meta.ui/src-gen/org/sqlproc/meta/ui/contentassist/antlr/internal/InternalProcessorMeta.g:26041:1: ( RULE_RPAREN )\n {\n // ../org.sqlproc.meta.ui/src-gen/org/sqlproc/meta/ui/contentassist/antlr/internal/InternalProcessorMeta.g:26041:1: ( RULE_RPAREN )\n // ../org.sqlproc.meta.ui/src-gen/org/sqlproc/meta/ui/contentassist/antlr/internal/InternalProcessorMeta.g:26042:1: RULE_RPAREN\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getMetaStatementAccess().getRPARENTerminalRuleCall_4()); \n }\n match(input,RULE_RPAREN,FollowSets005.FOLLOW_RULE_RPAREN_in_rule__MetaStatement__Group__4__Impl55054); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getMetaStatementAccess().getRPARENTerminalRuleCall_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":"8aa9fbc0cbcc7fe690afc1539b1740f4","score":"0.54913986","text":"public final void rule__UntilStatement__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRobotDsl.g:2087:1: ( rule__UntilStatement__Group__3__Impl )\n // InternalRobotDsl.g:2088:2: rule__UntilStatement__Group__3__Impl\n {\n pushFollow(FOLLOW_2);\n rule__UntilStatement__Group__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":"02727cef1c976653798c1c8151925276","score":"0.5487579","text":"public final void rule__SynchStatement__Group_2_4__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:11460:1: ( rule__SynchStatement__Group_2_4__1__Impl )\n // InternalAgreeParser.g:11461:2: rule__SynchStatement__Group_2_4__1__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__SynchStatement__Group_2_4__1__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":"8a74b71d202adfa5be3fc137a86e853b","score":"0.54865026","text":"public final void rule__WheneverStatement__Group_1_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:7705:1: ( rule__WheneverStatement__Group_1_0__0__Impl )\n // InternalAgreeParser.g:7706:2: rule__WheneverStatement__Group_1_0__0__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__WheneverStatement__Group_1_0__0__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":"03e766dd9c3d840490da333433cb6a27","score":"0.5480348","text":"public final void rule__WheneverStatement__Group_0_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:7612:1: ( rule__WheneverStatement__Group_0_1__1__Impl )\n // InternalAgreeParser.g:7613:2: rule__WheneverStatement__Group_0_1__1__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__WheneverStatement__Group_0_1__1__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":"ee7b15b05519b1a0c44b42390190dd88","score":"0.5474865","text":"public final void rule__IfStatement__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRobotDsl.g:2168:1: ( rule__IfStatement__Group__2__Impl rule__IfStatement__Group__3 )\n // InternalRobotDsl.g:2169:2: rule__IfStatement__Group__2__Impl rule__IfStatement__Group__3\n {\n pushFollow(FOLLOW_4);\n rule__IfStatement__Group__2__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__IfStatement__Group__3();\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":"03de19aecadc31aed9cd643c996e1d84","score":"0.5469101","text":"public final void rule__IfStatement__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRobotDsl.g:2114:1: ( rule__IfStatement__Group__0__Impl rule__IfStatement__Group__1 )\n // InternalRobotDsl.g:2115:2: rule__IfStatement__Group__0__Impl rule__IfStatement__Group__1\n {\n pushFollow(FOLLOW_14);\n rule__IfStatement__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__IfStatement__Group__1();\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":"5e3d18e6b8f0f6965c0122cdc0406573","score":"0.5462122","text":"public final void rule__BooleanAnswer__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalXercise.g:2476:1: ( rule__BooleanAnswer__Group__1__Impl )\n // InternalXercise.g:2477:2: rule__BooleanAnswer__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__BooleanAnswer__Group__1__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":"b171af15afac30906f07861b2bb93144","score":"0.5461164","text":"public final void rule__SynchStatement__Group_1_3__6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:11194:1: ( rule__SynchStatement__Group_1_3__6__Impl )\n // InternalAgreeParser.g:11195:2: rule__SynchStatement__Group_1_3__6__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__SynchStatement__Group_1_3__6__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":"a8c3bd486f5e237bd1a04b3aa21f5132","score":"0.5461121","text":"public final void rule__WheneverStatement__Group_0__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:7308:1: ( ( ( rule__WheneverStatement__Group_0_1__0 )? ) )\n // InternalAgreeParser.g:7309:1: ( ( rule__WheneverStatement__Group_0_1__0 )? )\n {\n // InternalAgreeParser.g:7309:1: ( ( rule__WheneverStatement__Group_0_1__0 )? )\n // InternalAgreeParser.g:7310:1: ( rule__WheneverStatement__Group_0_1__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getWheneverStatementAccess().getGroup_0_1()); \n }\n // InternalAgreeParser.g:7311:1: ( rule__WheneverStatement__Group_0_1__0 )?\n int alt55=2;\n int LA55_0 = input.LA(1);\n\n if ( (LA55_0==During) ) {\n alt55=1;\n }\n switch (alt55) {\n case 1 :\n // InternalAgreeParser.g:7311:2: rule__WheneverStatement__Group_0_1__0\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__WheneverStatement__Group_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.getWheneverStatementAccess().getGroup_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":"04745b6ca60e30bb6a2262abbaa6191c","score":"0.5456838","text":"public final void rule__RightStatement__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRobotDsl.g:1628:1: ( rule__RightStatement__Group__0__Impl rule__RightStatement__Group__1 )\n // InternalRobotDsl.g:1629:2: rule__RightStatement__Group__0__Impl rule__RightStatement__Group__1\n {\n pushFollow(FOLLOW_18);\n rule__RightStatement__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__RightStatement__Group__1();\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":"4e8371927178c71d076808e1fb18dba3","score":"0.5456796","text":"public final void rule__TrueCondition__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRobotDsl.g:1532:1: ( ( () ) )\n // InternalRobotDsl.g:1533:1: ( () )\n {\n // InternalRobotDsl.g:1533:1: ( () )\n // InternalRobotDsl.g:1534:2: ()\n {\n before(grammarAccess.getTrueConditionAccess().getTrueConditionAction_0()); \n // InternalRobotDsl.g:1535:2: ()\n // InternalRobotDsl.g:1535:3: \n {\n }\n\n after(grammarAccess.getTrueConditionAccess().getTrueConditionAction_0()); \n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"cc2fb787de6e53497445571426ce2588","score":"0.5451673","text":"public final void rule__Condition__Group__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:2571:1: ( ( ( rule__Condition__IfConditionAssignment_2 ) ) )\n // InternalGame.g:2572:1: ( ( rule__Condition__IfConditionAssignment_2 ) )\n {\n // InternalGame.g:2572:1: ( ( rule__Condition__IfConditionAssignment_2 ) )\n // InternalGame.g:2573:2: ( rule__Condition__IfConditionAssignment_2 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getConditionAccess().getIfConditionAssignment_2()); \n }\n // InternalGame.g:2574:2: ( rule__Condition__IfConditionAssignment_2 )\n // InternalGame.g:2574:3: rule__Condition__IfConditionAssignment_2\n {\n pushFollow(FOLLOW_2);\n rule__Condition__IfConditionAssignment_2();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getConditionAccess().getIfConditionAssignment_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":"ba219216414dc642383fa227429ff432","score":"0.54454434","text":"public final void rule__RelationshipEnd__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMASLParser.g:14785:1: ( ( ( rule__RelationshipEnd__ConditionalityAssignment_1 ) ) )\n // InternalMASLParser.g:14786:1: ( ( rule__RelationshipEnd__ConditionalityAssignment_1 ) )\n {\n // InternalMASLParser.g:14786:1: ( ( rule__RelationshipEnd__ConditionalityAssignment_1 ) )\n // InternalMASLParser.g:14787:2: ( rule__RelationshipEnd__ConditionalityAssignment_1 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRelationshipEndAccess().getConditionalityAssignment_1()); \n }\n // InternalMASLParser.g:14788:2: ( rule__RelationshipEnd__ConditionalityAssignment_1 )\n // InternalMASLParser.g:14788:3: rule__RelationshipEnd__ConditionalityAssignment_1\n {\n pushFollow(FOLLOW_2);\n rule__RelationshipEnd__ConditionalityAssignment_1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRelationshipEndAccess().getConditionalityAssignment_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":"87b70be36a1efb3f18a9c204c5afb699","score":"0.5424707","text":"public final void rule__BooleanExpression__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:2154:1: ( rule__BooleanExpression__Group__4__Impl )\n // InternalGame.g:2155:2: rule__BooleanExpression__Group__4__Impl\n {\n pushFollow(FOLLOW_2);\n rule__BooleanExpression__Group__4__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":"4c04fabbb66996d14aa5266387690ef3","score":"0.5418651","text":"public final void rule__SynchStatement__Group_0__6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:10738:1: ( rule__SynchStatement__Group_0__6__Impl )\n // InternalAgreeParser.g:10739:2: rule__SynchStatement__Group_0__6__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__SynchStatement__Group_0__6__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":"5f23ddf5f7bded29a554a218cefedfb5","score":"0.54135257","text":"public final void rule__RaiseStatement__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMASLParser.g:17581:1: ( rule__RaiseStatement__Group__2__Impl )\n // InternalMASLParser.g:17582:2: rule__RaiseStatement__Group__2__Impl\n {\n pushFollow(FOLLOW_2);\n rule__RaiseStatement__Group__2__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":"9532c62967cfca02243f0efc783ff19c","score":"0.54132307","text":"public final void rule__SynchStatement__Group_1__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:10950:1: ( ( ( ( rule__SynchStatement__Group_1_3__0 ) ) ( ( rule__SynchStatement__Group_1_3__0 )* ) ) )\n // InternalAgreeParser.g:10951:1: ( ( ( rule__SynchStatement__Group_1_3__0 ) ) ( ( rule__SynchStatement__Group_1_3__0 )* ) )\n {\n // InternalAgreeParser.g:10951:1: ( ( ( rule__SynchStatement__Group_1_3__0 ) ) ( ( rule__SynchStatement__Group_1_3__0 )* ) )\n // InternalAgreeParser.g:10952:1: ( ( rule__SynchStatement__Group_1_3__0 ) ) ( ( rule__SynchStatement__Group_1_3__0 )* )\n {\n // InternalAgreeParser.g:10952:1: ( ( rule__SynchStatement__Group_1_3__0 ) )\n // InternalAgreeParser.g:10953:1: ( rule__SynchStatement__Group_1_3__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getSynchStatementAccess().getGroup_1_3()); \n }\n // InternalAgreeParser.g:10954:1: ( rule__SynchStatement__Group_1_3__0 )\n // InternalAgreeParser.g:10954:2: rule__SynchStatement__Group_1_3__0\n {\n pushFollow(FollowSets000.FOLLOW_52);\n rule__SynchStatement__Group_1_3__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getSynchStatementAccess().getGroup_1_3()); \n }\n\n }\n\n // InternalAgreeParser.g:10957:1: ( ( rule__SynchStatement__Group_1_3__0 )* )\n // InternalAgreeParser.g:10958:1: ( rule__SynchStatement__Group_1_3__0 )*\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getSynchStatementAccess().getGroup_1_3()); \n }\n // InternalAgreeParser.g:10959:1: ( rule__SynchStatement__Group_1_3__0 )*\n loop67:\n do {\n int alt67=2;\n int LA67_0 = input.LA(1);\n\n if ( (LA67_0==RULE_ID) ) {\n alt67=1;\n }\n\n\n switch (alt67) {\n \tcase 1 :\n \t // InternalAgreeParser.g:10959:2: rule__SynchStatement__Group_1_3__0\n \t {\n \t pushFollow(FollowSets000.FOLLOW_52);\n \t rule__SynchStatement__Group_1_3__0();\n\n \t state._fsp--;\n \t if (state.failed) return ;\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop67;\n }\n } while (true);\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getSynchStatementAccess().getGroup_1_3()); \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 \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"43f2f24a7e7c945f3ace5bd153a7e744","score":"0.54108274","text":"public final void rule__WheneverStatement__Group_3_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:8554:1: ( rule__WheneverStatement__Group_3_0__0__Impl )\n // InternalAgreeParser.g:8555:2: rule__WheneverStatement__Group_3_0__0__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__WheneverStatement__Group_3_0__0__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":"4a76aa772d77b65636a854feb019b7d7","score":"0.5409647","text":"public final void rule__ExecuteStatement__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRobotDsl.g:1844:1: ( rule__ExecuteStatement__Group__1__Impl rule__ExecuteStatement__Group__2 )\n // InternalRobotDsl.g:1845:2: rule__ExecuteStatement__Group__1__Impl rule__ExecuteStatement__Group__2\n {\n pushFollow(FOLLOW_3);\n rule__ExecuteStatement__Group__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ExecuteStatement__Group__2();\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":"0f04e9252526b2e1b6cfc4b775a51204","score":"0.5388908","text":"public final void rule__UntilStatement__Group__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRobotDsl.g:2072:1: ( ( ( rule__UntilStatement__ConditionAssignment_2 ) ) )\n // InternalRobotDsl.g:2073:1: ( ( rule__UntilStatement__ConditionAssignment_2 ) )\n {\n // InternalRobotDsl.g:2073:1: ( ( rule__UntilStatement__ConditionAssignment_2 ) )\n // InternalRobotDsl.g:2074:2: ( rule__UntilStatement__ConditionAssignment_2 )\n {\n before(grammarAccess.getUntilStatementAccess().getConditionAssignment_2()); \n // InternalRobotDsl.g:2075:2: ( rule__UntilStatement__ConditionAssignment_2 )\n // InternalRobotDsl.g:2075:3: rule__UntilStatement__ConditionAssignment_2\n {\n pushFollow(FOLLOW_2);\n rule__UntilStatement__ConditionAssignment_2();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getUntilStatementAccess().getConditionAssignment_2()); \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":"a84c37483d28d46c488a416a782eeb88","score":"0.5385978","text":"public final void rule__WhenStatement__Group_1__7() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:7065:1: ( rule__WhenStatement__Group_1__7__Impl )\n // InternalAgreeParser.g:7066:2: rule__WhenStatement__Group_1__7__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__WhenStatement__Group_1__7__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":"971ef01ab3163dd161449abe319c77b3","score":"0.5377516","text":"public final void rule__BooleanExpression__Group_4__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:2208:1: ( rule__BooleanExpression__Group_4__1__Impl )\n // InternalGame.g:2209:2: rule__BooleanExpression__Group_4__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__BooleanExpression__Group_4__1__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":"c281e5b92c3a4c4e2b25d3629444d1a6","score":"0.5376332","text":"public final void rule__WheneverStatement__Group_0_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:7329:1: ( rule__WheneverStatement__Group_0_0__0__Impl )\n // InternalAgreeParser.g:7330:2: rule__WheneverStatement__Group_0_0__0__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__WheneverStatement__Group_0_0__0__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":"98f38a62e5769e06bb9aa5463598a3e6","score":"0.53748316","text":"public final void rule__XRelationalExpression__Group_1_1_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:6688:1: ( rule__XRelationalExpression__Group_1_1_0_0__1__Impl )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:6689:2: rule__XRelationalExpression__Group_1_1_0_0__1__Impl\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_1_0_0__1__Impl_in_rule__XRelationalExpression__Group_1_1_0_0__113986);\n rule__XRelationalExpression__Group_1_1_0_0__1__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":"1f31f6a306bd4831759fedb6e01377ee","score":"0.5370677","text":"public final void rule__WhenStatement__Group_1_0_0__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:7230:1: ( rule__WhenStatement__Group_1_0_0__3__Impl )\n // InternalAgreeParser.g:7231:2: rule__WhenStatement__Group_1_0_0__3__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__WhenStatement__Group_1_0_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":"af68a4a810a13ebbff764851e6144d42","score":"0.5369737","text":"public final void rule__CancelTimerStatement__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMASLParser.g:18040:1: ( rule__CancelTimerStatement__Group__1__Impl )\n // InternalMASLParser.g:18041:2: rule__CancelTimerStatement__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__CancelTimerStatement__Group__1__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":"0121d93a9452a95648be9368ace1bda1","score":"0.5364577","text":"public final void rule__WheneverStatement__Group_2__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:8082:1: ( rule__WheneverStatement__Group_2__1__Impl )\n // InternalAgreeParser.g:8083:2: rule__WheneverStatement__Group_2__1__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__WheneverStatement__Group_2__1__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":"bf3503e6071ffb92537c1ef1ca4e88f4","score":"0.5363654","text":"public final void rule__WheneverStatement__Group_1_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:7716:1: ( ( ( rule__WheneverStatement__Group_1_0_0__0 ) ) )\n // InternalAgreeParser.g:7717:1: ( ( rule__WheneverStatement__Group_1_0_0__0 ) )\n {\n // InternalAgreeParser.g:7717:1: ( ( rule__WheneverStatement__Group_1_0_0__0 ) )\n // InternalAgreeParser.g:7718:1: ( rule__WheneverStatement__Group_1_0_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getWheneverStatementAccess().getGroup_1_0_0()); \n }\n // InternalAgreeParser.g:7719:1: ( rule__WheneverStatement__Group_1_0_0__0 )\n // InternalAgreeParser.g:7719:2: rule__WheneverStatement__Group_1_0_0__0\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__WheneverStatement__Group_1_0_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getWheneverStatementAccess().getGroup_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":"4d29c7cdad7be862e32f1f95dc533744","score":"0.5362175","text":"public final void rule__XRelationalExpression__Group_1_0_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:6532:1: ( rule__XRelationalExpression__Group_1_0_0_0__1__Impl )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:6533:2: rule__XRelationalExpression__Group_1_0_0_0__1__Impl\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_0_0_0__1__Impl_in_rule__XRelationalExpression__Group_1_0_0_0__113682);\n rule__XRelationalExpression__Group_1_0_0_0__1__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":"00c14cb4a02f849bde66805f9e0d3521","score":"0.5355411","text":"public final void rule__S_Reflex__Group_3__0__Impl() throws RecognitionException {\n int rule__S_Reflex__Group_3__0__Impl_StartIndex = input.index();\n\n \t\tint stackSize = keepStackSize();\n \n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 409) ) { return ; }\n // InternalGaml.g:7480:1: ( ( 'when' ) )\n // InternalGaml.g:7481:1: ( 'when' )\n {\n // InternalGaml.g:7481:1: ( 'when' )\n // InternalGaml.g:7482:1: 'when'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getS_ReflexAccess().getWhenKeyword_3_0()); \n }\n match(input,119,FollowSets000.FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getS_ReflexAccess().getWhenKeyword_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, 409, rule__S_Reflex__Group_3__0__Impl_StartIndex); }\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""}],"string":"[\n {\n \"docid\": \"2dfe8f56ebbb6f9c778894b555032401\",\n \"score\": \"0.7699046\",\n \"text\": \"public final void rule__RealTimeStatement__Group_0_0_0__1__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9005:1: ( ( Condition ) )\\n // InternalAgreeParser.g:9006:1: ( Condition )\\n {\\n // InternalAgreeParser.g:9006:1: ( Condition )\\n // InternalAgreeParser.g:9007:1: Condition\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getRealTimeStatementAccess().getConditionKeyword_0_0_0_1()); \\n }\\n match(input,Condition,FollowSets000.FOLLOW_2); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getRealTimeStatementAccess().getConditionKeyword_0_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"37da8a1dba3a64b2b662515fd394af1e\",\n \"score\": \"0.6627137\",\n \"text\": \"public final void rule__RealTimeStatement__Group_0_0_0__4() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9084:1: ( rule__RealTimeStatement__Group_0_0_0__4__Impl )\\n // InternalAgreeParser.g:9085:2: rule__RealTimeStatement__Group_0_0_0__4__Impl\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_0_0_0__4__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a4fe45828023317cc3143ce3ab1ac5d3\",\n \"score\": \"0.66122866\",\n \"text\": \"public final void rule__RealTimeStatement__Group_1_0_0__4() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9530:1: ( rule__RealTimeStatement__Group_1_0_0__4__Impl )\\n // InternalAgreeParser.g:9531:2: rule__RealTimeStatement__Group_1_0_0__4__Impl\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_1_0_0__4__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e835f24be73c41b20838d6d5ca0d693\",\n \"score\": \"0.6595962\",\n \"text\": \"public final void rule__RealTimeStatement__Group_1__4__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9351:1: ( ( ( rule__RealTimeStatement__Group_1_4__0 )? ) )\\n // InternalAgreeParser.g:9352:1: ( ( rule__RealTimeStatement__Group_1_4__0 )? )\\n {\\n // InternalAgreeParser.g:9352:1: ( ( rule__RealTimeStatement__Group_1_4__0 )? )\\n // InternalAgreeParser.g:9353:1: ( rule__RealTimeStatement__Group_1_4__0 )?\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getRealTimeStatementAccess().getGroup_1_4()); \\n }\\n // InternalAgreeParser.g:9354:1: ( rule__RealTimeStatement__Group_1_4__0 )?\\n int alt64=2;\\n int LA64_0 = input.LA(1);\\n\\n if ( (LA64_0==With) ) {\\n alt64=1;\\n }\\n switch (alt64) {\\n case 1 :\\n // InternalAgreeParser.g:9354:2: rule__RealTimeStatement__Group_1_4__0\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_1_4__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.getRealTimeStatementAccess().getGroup_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e708422da8ce13a897c16fad23ea6f9\",\n \"score\": \"0.6544735\",\n \"text\": \"public final void rule__RealTimeStatement__Group_1_0__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9378:1: ( rule__RealTimeStatement__Group_1_0__0__Impl )\\n // InternalAgreeParser.g:9379:2: rule__RealTimeStatement__Group_1_0__0__Impl\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_1_0__0__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d93090e721b459877925fa14ffe0735\",\n \"score\": \"0.6540553\",\n \"text\": \"public final void rule__RealTimeStatement__Group_1_0__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9389:1: ( ( ( rule__RealTimeStatement__Group_1_0_0__0 ) ) )\\n // InternalAgreeParser.g:9390:1: ( ( rule__RealTimeStatement__Group_1_0_0__0 ) )\\n {\\n // InternalAgreeParser.g:9390:1: ( ( rule__RealTimeStatement__Group_1_0_0__0 ) )\\n // InternalAgreeParser.g:9391:1: ( rule__RealTimeStatement__Group_1_0_0__0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getRealTimeStatementAccess().getGroup_1_0_0()); \\n }\\n // InternalAgreeParser.g:9392:1: ( rule__RealTimeStatement__Group_1_0_0__0 )\\n // InternalAgreeParser.g:9392:2: rule__RealTimeStatement__Group_1_0_0__0\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_1_0_0__0();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getRealTimeStatementAccess().getGroup_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\": \"18f1272e35f1acd0a02ec07f8ba3cf9a\",\n \"score\": \"0.65174466\",\n \"text\": \"public final void rule__RealTimeStatement__Group_1__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9232:1: ( ( ( rule__RealTimeStatement__Group_1_0__0 ) ) )\\n // InternalAgreeParser.g:9233:1: ( ( rule__RealTimeStatement__Group_1_0__0 ) )\\n {\\n // InternalAgreeParser.g:9233:1: ( ( rule__RealTimeStatement__Group_1_0__0 ) )\\n // InternalAgreeParser.g:9234:1: ( rule__RealTimeStatement__Group_1_0__0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getRealTimeStatementAccess().getGroup_1_0()); \\n }\\n // InternalAgreeParser.g:9235:1: ( rule__RealTimeStatement__Group_1_0__0 )\\n // InternalAgreeParser.g:9235:2: rule__RealTimeStatement__Group_1_0__0\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_1_0__0();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getRealTimeStatementAccess().getGroup_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\": \"0142adf317b85b7ca966d7a8eb10e4af\",\n \"score\": \"0.64770263\",\n \"text\": \"public final void rule__RealTimeStatement__Group_0_0__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:8943:1: ( ( ( rule__RealTimeStatement__Group_0_0_0__0 ) ) )\\n // InternalAgreeParser.g:8944:1: ( ( rule__RealTimeStatement__Group_0_0_0__0 ) )\\n {\\n // InternalAgreeParser.g:8944:1: ( ( rule__RealTimeStatement__Group_0_0_0__0 ) )\\n // InternalAgreeParser.g:8945:1: ( rule__RealTimeStatement__Group_0_0_0__0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getRealTimeStatementAccess().getGroup_0_0_0()); \\n }\\n // InternalAgreeParser.g:8946:1: ( rule__RealTimeStatement__Group_0_0_0__0 )\\n // InternalAgreeParser.g:8946:2: rule__RealTimeStatement__Group_0_0_0__0\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_0_0_0__0();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getRealTimeStatementAccess().getGroup_0_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\": \"5f4f512c546d1bca0f14bfca9180a60a\",\n \"score\": \"0.6436121\",\n \"text\": \"public final void rule__RealTimeStatement__Group_1__4() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9340:1: ( rule__RealTimeStatement__Group_1__4__Impl )\\n // InternalAgreeParser.g:9341:2: rule__RealTimeStatement__Group_1__4__Impl\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_1__4__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4538d0c630d8f9975e87ee94ddae6b53\",\n \"score\": \"0.6410174\",\n \"text\": \"public final void ruleCondition() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalGame.g:492:2: ( ( ( rule__Condition__Group__0 ) ) )\\n // InternalGame.g:493:2: ( ( rule__Condition__Group__0 ) )\\n {\\n // InternalGame.g:493:2: ( ( rule__Condition__Group__0 ) )\\n // InternalGame.g:494:3: ( rule__Condition__Group__0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getConditionAccess().getGroup()); \\n }\\n // InternalGame.g:495:3: ( rule__Condition__Group__0 )\\n // InternalGame.g:495:4: rule__Condition__Group__0\\n {\\n pushFollow(FOLLOW_2);\\n rule__Condition__Group__0();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getConditionAccess().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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d22685cb6b769734d36fc41e0291621\",\n \"score\": \"0.6397991\",\n \"text\": \"public final void rule__RealTimeStatement__Alternatives() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:3422:1: ( ( ( rule__RealTimeStatement__Group_0__0 ) ) | ( ( rule__RealTimeStatement__Group_1__0 ) ) )\\n int alt13=2;\\n int LA13_0 = input.LA(1);\\n\\n if ( (LA13_0==Condition) ) {\\n int LA13_1 = input.LA(2);\\n\\n if ( (synpred44_InternalAgreeParser()) ) {\\n alt13=1;\\n }\\n else if ( (true) ) {\\n alt13=2;\\n }\\n else {\\n if (state.backtracking>0) {state.failed=true; return ;}\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 13, 1, input);\\n\\n throw nvae;\\n }\\n }\\n else {\\n if (state.backtracking>0) {state.failed=true; return ;}\\n NoViableAltException nvae =\\n new NoViableAltException(\\\"\\\", 13, 0, input);\\n\\n throw nvae;\\n }\\n switch (alt13) {\\n case 1 :\\n // InternalAgreeParser.g:3423:1: ( ( rule__RealTimeStatement__Group_0__0 ) )\\n {\\n // InternalAgreeParser.g:3423:1: ( ( rule__RealTimeStatement__Group_0__0 ) )\\n // InternalAgreeParser.g:3424:1: ( rule__RealTimeStatement__Group_0__0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getRealTimeStatementAccess().getGroup_0()); \\n }\\n // InternalAgreeParser.g:3425:1: ( rule__RealTimeStatement__Group_0__0 )\\n // InternalAgreeParser.g:3425:2: rule__RealTimeStatement__Group_0__0\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_0__0();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getRealTimeStatementAccess().getGroup_0()); \\n }\\n\\n }\\n\\n\\n }\\n break;\\n case 2 :\\n // InternalAgreeParser.g:3429:6: ( ( rule__RealTimeStatement__Group_1__0 ) )\\n {\\n // InternalAgreeParser.g:3429:6: ( ( rule__RealTimeStatement__Group_1__0 ) )\\n // InternalAgreeParser.g:3430:1: ( rule__RealTimeStatement__Group_1__0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getRealTimeStatementAccess().getGroup_1()); \\n }\\n // InternalAgreeParser.g:3431:1: ( rule__RealTimeStatement__Group_1__0 )\\n // InternalAgreeParser.g:3431:2: rule__RealTimeStatement__Group_1__0\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_1__0();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getRealTimeStatementAccess().getGroup_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\": \"79e99814490500e18d3fbc3936b7db43\",\n \"score\": \"0.63930446\",\n \"text\": \"public final void rule__RealTimeStatement__Group_1_0_0__3() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9499:1: ( rule__RealTimeStatement__Group_1_0_0__3__Impl rule__RealTimeStatement__Group_1_0_0__4 )\\n // InternalAgreeParser.g:9500:2: rule__RealTimeStatement__Group_1_0_0__3__Impl rule__RealTimeStatement__Group_1_0_0__4\\n {\\n pushFollow(FollowSets000.FOLLOW_43);\\n rule__RealTimeStatement__Group_1_0_0__3__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_1_0_0__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bd41397153ea3faad431f4a5131c40d1\",\n \"score\": \"0.6362166\",\n \"text\": \"public final void rule__RealTimeStatement__Group_0_0__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:8932:1: ( rule__RealTimeStatement__Group_0_0__0__Impl )\\n // InternalAgreeParser.g:8933:2: rule__RealTimeStatement__Group_0_0__0__Impl\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_0_0__0__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f8be657d844bfb407d87c0852b8c7346\",\n \"score\": \"0.63589984\",\n \"text\": \"public final void rule__RealTimeStatement__Group_1_4__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9632:1: ( rule__RealTimeStatement__Group_1_4__2__Impl )\\n // InternalAgreeParser.g:9633:2: rule__RealTimeStatement__Group_1_4__2__Impl\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_1_4__2__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"de7187511b51709664f5f865ecc5bdae\",\n \"score\": \"0.6343264\",\n \"text\": \"public final void rule__RealTimeStatement__Group_0__2__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:8909:1: ( ( ( rule__RealTimeStatement__Group_0_2__0 )? ) )\\n // InternalAgreeParser.g:8910:1: ( ( rule__RealTimeStatement__Group_0_2__0 )? )\\n {\\n // InternalAgreeParser.g:8910:1: ( ( rule__RealTimeStatement__Group_0_2__0 )? )\\n // InternalAgreeParser.g:8911:1: ( rule__RealTimeStatement__Group_0_2__0 )?\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getRealTimeStatementAccess().getGroup_0_2()); \\n }\\n // InternalAgreeParser.g:8912:1: ( rule__RealTimeStatement__Group_0_2__0 )?\\n int alt63=2;\\n int LA63_0 = input.LA(1);\\n\\n if ( (LA63_0==With) ) {\\n alt63=1;\\n }\\n switch (alt63) {\\n case 1 :\\n // InternalAgreeParser.g:8912:2: rule__RealTimeStatement__Group_0_2__0\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_0_2__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.getRealTimeStatementAccess().getGroup_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fde422049998a476a50f38dadf84f4c1\",\n \"score\": \"0.6339448\",\n \"text\": \"public final void rule__RealTimeStatement__Group_0_0_0__3() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9053:1: ( rule__RealTimeStatement__Group_0_0_0__3__Impl rule__RealTimeStatement__Group_0_0_0__4 )\\n // InternalAgreeParser.g:9054:2: rule__RealTimeStatement__Group_0_0_0__3__Impl rule__RealTimeStatement__Group_0_0_0__4\\n {\\n pushFollow(FollowSets000.FOLLOW_40);\\n rule__RealTimeStatement__Group_0_0_0__3__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_0_0_0__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bed382a050acef74a97ae3e3f92b6697\",\n \"score\": \"0.6306778\",\n \"text\": \"public final void rule__RealTimeStatement__Group_0__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:8852:1: ( ( ( rule__RealTimeStatement__Group_0_0__0 ) ) )\\n // InternalAgreeParser.g:8853:1: ( ( rule__RealTimeStatement__Group_0_0__0 ) )\\n {\\n // InternalAgreeParser.g:8853:1: ( ( rule__RealTimeStatement__Group_0_0__0 ) )\\n // InternalAgreeParser.g:8854:1: ( rule__RealTimeStatement__Group_0_0__0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getRealTimeStatementAccess().getGroup_0_0()); \\n }\\n // InternalAgreeParser.g:8855:1: ( rule__RealTimeStatement__Group_0_0__0 )\\n // InternalAgreeParser.g:8855:2: rule__RealTimeStatement__Group_0_0__0\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_0_0__0();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getRealTimeStatementAccess().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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"db638d62ce92df4fd3f0338395fa8b9c\",\n \"score\": \"0.62848675\",\n \"text\": \"public final void rule__RealTimeStatement__Group_1_4__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9570:1: ( rule__RealTimeStatement__Group_1_4__0__Impl rule__RealTimeStatement__Group_1_4__1 )\\n // InternalAgreeParser.g:9571:2: rule__RealTimeStatement__Group_1_4__0__Impl rule__RealTimeStatement__Group_1_4__1\\n {\\n pushFollow(FollowSets000.FOLLOW_41);\\n rule__RealTimeStatement__Group_1_4__0__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_1_4__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"abebe75a31e9abd3549a6b88ef291b7a\",\n \"score\": \"0.62283224\",\n \"text\": \"public final void rule__RealTimeStatement__Group_0_0_0__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:8962:1: ( rule__RealTimeStatement__Group_0_0_0__0__Impl rule__RealTimeStatement__Group_0_0_0__1 )\\n // InternalAgreeParser.g:8963:2: rule__RealTimeStatement__Group_0_0_0__0__Impl rule__RealTimeStatement__Group_0_0_0__1\\n {\\n pushFollow(FollowSets000.FOLLOW_39);\\n rule__RealTimeStatement__Group_0_0_0__0__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_0_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b19f9790eea3a49aae56e080eaa126af\",\n \"score\": \"0.6207112\",\n \"text\": \"public final void rule__RealTimeStatement__Group_0_0_0__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:8993:1: ( rule__RealTimeStatement__Group_0_0_0__1__Impl rule__RealTimeStatement__Group_0_0_0__2 )\\n // InternalAgreeParser.g:8994:2: rule__RealTimeStatement__Group_0_0_0__1__Impl rule__RealTimeStatement__Group_0_0_0__2\\n {\\n pushFollow(FollowSets000.FOLLOW_7);\\n rule__RealTimeStatement__Group_0_0_0__1__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_0_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"df55fbd432fdaf3798028a0586ca89af\",\n \"score\": \"0.61990744\",\n \"text\": \"public final void rule__RealTimeStatement__Group_0__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:8898:1: ( rule__RealTimeStatement__Group_0__2__Impl )\\n // InternalAgreeParser.g:8899:2: rule__RealTimeStatement__Group_0__2__Impl\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_0__2__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bbd1058c5b80438f252d97ad23f46267\",\n \"score\": \"0.61871636\",\n \"text\": \"public final void rule__RealTimeStatement__Group_1_0_0__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9408:1: ( rule__RealTimeStatement__Group_1_0_0__0__Impl rule__RealTimeStatement__Group_1_0_0__1 )\\n // InternalAgreeParser.g:9409:2: rule__RealTimeStatement__Group_1_0_0__0__Impl rule__RealTimeStatement__Group_1_0_0__1\\n {\\n pushFollow(FollowSets000.FOLLOW_17);\\n rule__RealTimeStatement__Group_1_0_0__0__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_1_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"01adbc42ff76107bf195977e587fdb67\",\n \"score\": \"0.61718786\",\n \"text\": \"public final void rule__RealTimeStatement__Group_1_4__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9601:1: ( rule__RealTimeStatement__Group_1_4__1__Impl rule__RealTimeStatement__Group_1_4__2 )\\n // InternalAgreeParser.g:9602:2: rule__RealTimeStatement__Group_1_4__1__Impl rule__RealTimeStatement__Group_1_4__2\\n {\\n pushFollow(FollowSets000.FOLLOW_7);\\n rule__RealTimeStatement__Group_1_4__1__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_1_4__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c3ac9974bcdc606169b441226f03c4f8\",\n \"score\": \"0.614893\",\n \"text\": \"public final void rule__RealTimeStatement__Group_1_0_0__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9470:1: ( rule__RealTimeStatement__Group_1_0_0__2__Impl rule__RealTimeStatement__Group_1_0_0__3 )\\n // InternalAgreeParser.g:9471:2: rule__RealTimeStatement__Group_1_0_0__2__Impl rule__RealTimeStatement__Group_1_0_0__3\\n {\\n pushFollow(FollowSets000.FOLLOW_30);\\n rule__RealTimeStatement__Group_1_0_0__2__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_1_0_0__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b8612472a54205f8e8cb05fa58dc07ed\",\n \"score\": \"0.61415577\",\n \"text\": \"public final void rule__RealTimeStatement__Group_1_0_0__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9439:1: ( rule__RealTimeStatement__Group_1_0_0__1__Impl rule__RealTimeStatement__Group_1_0_0__2 )\\n // InternalAgreeParser.g:9440:2: rule__RealTimeStatement__Group_1_0_0__1__Impl rule__RealTimeStatement__Group_1_0_0__2\\n {\\n pushFollow(FollowSets000.FOLLOW_7);\\n rule__RealTimeStatement__Group_1_0_0__1__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_1_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eed51be67d8a2c41589a674181f5e212\",\n \"score\": \"0.6130258\",\n \"text\": \"public final void rule__RealTimeStatement__Group_1__3() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9311:1: ( rule__RealTimeStatement__Group_1__3__Impl rule__RealTimeStatement__Group_1__4 )\\n // InternalAgreeParser.g:9312:2: rule__RealTimeStatement__Group_1__3__Impl rule__RealTimeStatement__Group_1__4\\n {\\n pushFollow(FollowSets000.FOLLOW_38);\\n rule__RealTimeStatement__Group_1__3__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8b8550c3127d283502507e8845f487e0\",\n \"score\": \"0.612823\",\n \"text\": \"public final void rule__RealTimeStatement__Group_1_4__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9582:1: ( ( With ) )\\n // InternalAgreeParser.g:9583:1: ( With )\\n {\\n // InternalAgreeParser.g:9583:1: ( With )\\n // InternalAgreeParser.g:9584:1: With\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getRealTimeStatementAccess().getWithKeyword_1_4_0()); \\n }\\n match(input,With,FollowSets000.FOLLOW_2); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getRealTimeStatementAccess().getWithKeyword_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"016ea201a02aa628f4a7d7d7c07b7156\",\n \"score\": \"0.6103784\",\n \"text\": \"public final void rule__Condition__Group__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalGame.g:2505:1: ( rule__Condition__Group__0__Impl rule__Condition__Group__1 )\\n // InternalGame.g:2506:2: rule__Condition__Group__0__Impl rule__Condition__Group__1\\n {\\n pushFollow(FOLLOW_21);\\n rule__Condition__Group__0__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_2);\\n rule__Condition__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bbb1695ab0d574a8ead541cddd808c1f\",\n \"score\": \"0.6092158\",\n \"text\": \"public final void rule__TrueCondition__Group__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalRobotDsl.g:1547:1: ( rule__TrueCondition__Group__1__Impl )\\n // InternalRobotDsl.g:1548:2: rule__TrueCondition__Group__1__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__TrueCondition__Group__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fe8563b2199c21db25ba38660376c925\",\n \"score\": \"0.608413\",\n \"text\": \"public final void rule__RealTimeStatement__Group_1__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9220:1: ( rule__RealTimeStatement__Group_1__0__Impl rule__RealTimeStatement__Group_1__1 )\\n // InternalAgreeParser.g:9221:2: rule__RealTimeStatement__Group_1__0__Impl rule__RealTimeStatement__Group_1__1\\n {\\n pushFollow(FollowSets000.FOLLOW_38);\\n rule__RealTimeStatement__Group_1__0__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eb5b4a12873443d89139d700a0b12a4e\",\n \"score\": \"0.6078865\",\n \"text\": \"public final void rule__RealTimeStatement__Group_0_2__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9186:1: ( rule__RealTimeStatement__Group_0_2__2__Impl )\\n // InternalAgreeParser.g:9187:2: rule__RealTimeStatement__Group_0_2__2__Impl\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_0_2__2__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c0f9d9119e1cce339db5488f167383a3\",\n \"score\": \"0.6070799\",\n \"text\": \"public final void rule__RealTimeStatement__Group_1__1__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9261:1: ( ( With ) )\\n // InternalAgreeParser.g:9262:1: ( With )\\n {\\n // InternalAgreeParser.g:9262:1: ( With )\\n // InternalAgreeParser.g:9263:1: With\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getRealTimeStatementAccess().getWithKeyword_1_1()); \\n }\\n match(input,With,FollowSets000.FOLLOW_2); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getRealTimeStatementAccess().getWithKeyword_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"92ddbd4991c7ec41cbc750efa09d707e\",\n \"score\": \"0.6070387\",\n \"text\": \"public final void rule__RealTimeStatement__Group_0_0_0__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9024:1: ( rule__RealTimeStatement__Group_0_0_0__2__Impl rule__RealTimeStatement__Group_0_0_0__3 )\\n // InternalAgreeParser.g:9025:2: rule__RealTimeStatement__Group_0_0_0__2__Impl rule__RealTimeStatement__Group_0_0_0__3\\n {\\n pushFollow(FollowSets000.FOLLOW_30);\\n rule__RealTimeStatement__Group_0_0_0__2__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_0_0_0__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9fd005b850d43d473e559ce76e18e966\",\n \"score\": \"0.60689175\",\n \"text\": \"public final void rule__RealTimeStatement__Group_0__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:8869:1: ( rule__RealTimeStatement__Group_0__1__Impl rule__RealTimeStatement__Group_0__2 )\\n // InternalAgreeParser.g:8870:2: rule__RealTimeStatement__Group_0__1__Impl rule__RealTimeStatement__Group_0__2\\n {\\n pushFollow(FollowSets000.FOLLOW_38);\\n rule__RealTimeStatement__Group_0__1__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"94aced63cec5473135e1219a74df8cba\",\n \"score\": \"0.6042009\",\n \"text\": \"public final void rule__RealTimeStatement__Group_1_0_0__3__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9511:1: ( ( Occurs ) )\\n // InternalAgreeParser.g:9512:1: ( Occurs )\\n {\\n // InternalAgreeParser.g:9512:1: ( Occurs )\\n // InternalAgreeParser.g:9513:1: Occurs\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getRealTimeStatementAccess().getOccursKeyword_1_0_0_3()); \\n }\\n match(input,Occurs,FollowSets000.FOLLOW_2); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getRealTimeStatementAccess().getOccursKeyword_1_0_0_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"07a762efb094f582c8feb0872433850c\",\n \"score\": \"0.6022576\",\n \"text\": \"public final void rule__RealTimeStatement__Group_0__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:8840:1: ( rule__RealTimeStatement__Group_0__0__Impl rule__RealTimeStatement__Group_0__1 )\\n // InternalAgreeParser.g:8841:2: rule__RealTimeStatement__Group_0__0__Impl rule__RealTimeStatement__Group_0__1\\n {\\n pushFollow(FollowSets000.FOLLOW_7);\\n rule__RealTimeStatement__Group_0__0__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"28cbdf000bac4038b9876865b8d95b56\",\n \"score\": \"0.6005642\",\n \"text\": \"public final void rule__Condition__Group__1__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalGame.g:2544:1: ( ( '(' ) )\\n // InternalGame.g:2545:1: ( '(' )\\n {\\n // InternalGame.g:2545:1: ( '(' )\\n // InternalGame.g:2546:2: '('\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getConditionAccess().getLeftParenthesisKeyword_1()); \\n }\\n match(input,14,FOLLOW_2); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getConditionAccess().getLeftParenthesisKeyword_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6a1dce92b6d0207cdd14e5c9216086ea\",\n \"score\": \"0.59870374\",\n \"text\": \"public final void rule__RightStatement__Group__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalRobotDsl.g:1655:1: ( rule__RightStatement__Group__1__Impl )\\n // InternalRobotDsl.g:1656:2: rule__RightStatement__Group__1__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__RightStatement__Group__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"406e3063b776aecd767e633d450fa0a1\",\n \"score\": \"0.59649324\",\n \"text\": \"public final void rule__RealTimeStatement__Group_0_0_0__4__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9095:1: ( ( Each ) )\\n // InternalAgreeParser.g:9096:1: ( Each )\\n {\\n // InternalAgreeParser.g:9096:1: ( Each )\\n // InternalAgreeParser.g:9097:1: Each\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getRealTimeStatementAccess().getEachKeyword_0_0_0_4()); \\n }\\n match(input,Each,FollowSets000.FOLLOW_2); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getRealTimeStatementAccess().getEachKeyword_0_0_0_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2a3feb2820ffcfc066e7fd91332aa61f\",\n \"score\": \"0.5962818\",\n \"text\": \"public final void rule__Condition__Group__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalGame.g:2532:1: ( rule__Condition__Group__1__Impl rule__Condition__Group__2 )\\n // InternalGame.g:2533:2: rule__Condition__Group__1__Impl rule__Condition__Group__2\\n {\\n pushFollow(FOLLOW_22);\\n rule__Condition__Group__1__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_2);\\n rule__Condition__Group__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"654b8b97a76dae0050d4b0b85bbe919c\",\n \"score\": \"0.59303916\",\n \"text\": \"public final void rule__RealTimeStatement__Group_1__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9280:1: ( rule__RealTimeStatement__Group_1__2__Impl rule__RealTimeStatement__Group_1__3 )\\n // InternalAgreeParser.g:9281:2: rule__RealTimeStatement__Group_1__2__Impl rule__RealTimeStatement__Group_1__3\\n {\\n pushFollow(FollowSets000.FOLLOW_7);\\n rule__RealTimeStatement__Group_1__2__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1e061b8647fcb378cdb007544fbe38e1\",\n \"score\": \"0.5903595\",\n \"text\": \"public final void rule__RealTimeStatement__Group_0_2__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9124:1: ( rule__RealTimeStatement__Group_0_2__0__Impl rule__RealTimeStatement__Group_0_2__1 )\\n // InternalAgreeParser.g:9125:2: rule__RealTimeStatement__Group_0_2__0__Impl rule__RealTimeStatement__Group_0_2__1\\n {\\n pushFollow(FollowSets000.FOLLOW_41);\\n rule__RealTimeStatement__Group_0_2__0__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_0_2__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1d5bc9c04175a5bc00761d6bbe6dbd6c\",\n \"score\": \"0.58913976\",\n \"text\": \"public final void rule__RealTimeStatement__Group_0_0_0__3__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9065:1: ( ( Occurs ) )\\n // InternalAgreeParser.g:9066:1: ( Occurs )\\n {\\n // InternalAgreeParser.g:9066:1: ( Occurs )\\n // InternalAgreeParser.g:9067:1: Occurs\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getRealTimeStatementAccess().getOccursKeyword_0_0_0_3()); \\n }\\n match(input,Occurs,FollowSets000.FOLLOW_2); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getRealTimeStatementAccess().getOccursKeyword_0_0_0_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45457be386665fbcb09f0efccc608f08\",\n \"score\": \"0.58775246\",\n \"text\": \"public final void rule__Condition__Group__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalGame.g:2559:1: ( rule__Condition__Group__2__Impl rule__Condition__Group__3 )\\n // InternalGame.g:2560:2: rule__Condition__Group__2__Impl rule__Condition__Group__3\\n {\\n pushFollow(FOLLOW_20);\\n rule__Condition__Group__2__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_2);\\n rule__Condition__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1a2ef15a65a6e1fa8e94b3c8cd824e18\",\n \"score\": \"0.58757246\",\n \"text\": \"public final void rule__RealTimeStatement__Group_0_0_0__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:8974:1: ( ( () ) )\\n // InternalAgreeParser.g:8975:1: ( () )\\n {\\n // InternalAgreeParser.g:8975:1: ( () )\\n // InternalAgreeParser.g:8976:1: ()\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getRealTimeStatementAccess().getPeriodicStatementAction_0_0_0_0()); \\n }\\n // InternalAgreeParser.g:8977:1: ()\\n // InternalAgreeParser.g:8979:1: \\n {\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getRealTimeStatementAccess().getPeriodicStatementAction_0_0_0_0()); \\n }\\n\\n }\\n\\n\\n }\\n\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75f65c56b188d302d170d5bf17e4ee55\",\n \"score\": \"0.5832761\",\n \"text\": \"public final void rule__RealTimeStatement__Group_0_2__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9155:1: ( rule__RealTimeStatement__Group_0_2__1__Impl rule__RealTimeStatement__Group_0_2__2 )\\n // InternalAgreeParser.g:9156:2: rule__RealTimeStatement__Group_0_2__1__Impl rule__RealTimeStatement__Group_0_2__2\\n {\\n pushFollow(FollowSets000.FOLLOW_7);\\n rule__RealTimeStatement__Group_0_2__1__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_0_2__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"95e948f560558130d800b8768c4508b7\",\n \"score\": \"0.58151716\",\n \"text\": \"public final void rule__RealTimeStatement__Group_0_2__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9136:1: ( ( With ) )\\n // InternalAgreeParser.g:9137:1: ( With )\\n {\\n // InternalAgreeParser.g:9137:1: ( With )\\n // InternalAgreeParser.g:9138:1: With\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getRealTimeStatementAccess().getWithKeyword_0_2_0()); \\n }\\n match(input,With,FollowSets000.FOLLOW_2); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getRealTimeStatementAccess().getWithKeyword_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2da6e8fd96f71f1dd7e22fa381b8369b\",\n \"score\": \"0.58077234\",\n \"text\": \"public final void rule__Condition__Group__3() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalGame.g:2586:1: ( rule__Condition__Group__3__Impl rule__Condition__Group__4 )\\n // InternalGame.g:2587:2: rule__Condition__Group__3__Impl rule__Condition__Group__4\\n {\\n pushFollow(FOLLOW_21);\\n rule__Condition__Group__3__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_2);\\n rule__Condition__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ac1090b594e8c158f00e2c057fb1052\",\n \"score\": \"0.57901454\",\n \"text\": \"public final void rule__Condition__Group__3__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalGame.g:2598:1: ( ( ')' ) )\\n // InternalGame.g:2599:1: ( ')' )\\n {\\n // InternalGame.g:2599:1: ( ')' )\\n // InternalGame.g:2600:2: ')'\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getConditionAccess().getRightParenthesisKeyword_3()); \\n }\\n match(input,15,FOLLOW_2); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getConditionAccess().getRightParenthesisKeyword_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c656e54fbace8ed557a76a5c586f5382\",\n \"score\": \"0.5758822\",\n \"text\": \"public final void rule__RealTimeStatement__Group_1__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9249:1: ( rule__RealTimeStatement__Group_1__1__Impl rule__RealTimeStatement__Group_1__2 )\\n // InternalAgreeParser.g:9250:2: rule__RealTimeStatement__Group_1__1__Impl rule__RealTimeStatement__Group_1__2\\n {\\n pushFollow(FollowSets000.FOLLOW_42);\\n rule__RealTimeStatement__Group_1__1__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"be4104d30c643be1b0b58f729178b5ab\",\n \"score\": \"0.5752777\",\n \"text\": \"public final void rule__TrueCondition__Group__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalRobotDsl.g:1520:1: ( rule__TrueCondition__Group__0__Impl rule__TrueCondition__Group__1 )\\n // InternalRobotDsl.g:1521:2: rule__TrueCondition__Group__0__Impl rule__TrueCondition__Group__1\\n {\\n pushFollow(FOLLOW_17);\\n rule__TrueCondition__Group__0__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__TrueCondition__Group__1();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f7a8474bd85b0d225bee17766f7574b3\",\n \"score\": \"0.5698685\",\n \"text\": \"public final void rule__WheneverStatement__Group_1_1__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:8021:1: ( rule__WheneverStatement__Group_1_1__1__Impl )\\n // InternalAgreeParser.g:8022:2: rule__WheneverStatement__Group_1_1__1__Impl\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__WheneverStatement__Group_1_1__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aab4a16aac4abc047b2460e64918d23a\",\n \"score\": \"0.56674623\",\n \"text\": \"public final void rule__Condition__Group__5() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalGame.g:2640:1: ( rule__Condition__Group__5__Impl )\\n // InternalGame.g:2641:2: rule__Condition__Group__5__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Condition__Group__5__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"afb782830bfad12a887575407df9fb8f\",\n \"score\": \"0.5653392\",\n \"text\": \"public final void rule__RealTimeStatement__Group_1_4__1__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9613:1: ( ( Jitter ) )\\n // InternalAgreeParser.g:9614:1: ( Jitter )\\n {\\n // InternalAgreeParser.g:9614:1: ( Jitter )\\n // InternalAgreeParser.g:9615:1: Jitter\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getRealTimeStatementAccess().getJitterKeyword_1_4_1()); \\n }\\n match(input,Jitter,FollowSets000.FOLLOW_2); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getRealTimeStatementAccess().getJitterKeyword_1_4_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8a38101eda0e845c30b546cb4026cb6d\",\n \"score\": \"0.5597464\",\n \"text\": \"public final void rule__RealTimeStatement__Group_1_0_0__4__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9541:1: ( ( Sporadic ) )\\n // InternalAgreeParser.g:9542:1: ( Sporadic )\\n {\\n // InternalAgreeParser.g:9542:1: ( Sporadic )\\n // InternalAgreeParser.g:9543:1: Sporadic\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getRealTimeStatementAccess().getSporadicKeyword_1_0_0_4()); \\n }\\n match(input,Sporadic,FollowSets000.FOLLOW_2); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getRealTimeStatementAccess().getSporadicKeyword_1_0_0_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b0f4080deeabbdd52d3761ce16512474\",\n \"score\": \"0.5591181\",\n \"text\": \"public final void synpred44_InternalAgreeParser_fragment() throws RecognitionException { \\n // InternalAgreeParser.g:3423:1: ( ( ( rule__RealTimeStatement__Group_0__0 ) ) )\\n // InternalAgreeParser.g:3423:1: ( ( rule__RealTimeStatement__Group_0__0 ) )\\n {\\n // InternalAgreeParser.g:3423:1: ( ( rule__RealTimeStatement__Group_0__0 ) )\\n // InternalAgreeParser.g:3424:1: ( rule__RealTimeStatement__Group_0__0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getRealTimeStatementAccess().getGroup_0()); \\n }\\n // InternalAgreeParser.g:3425:1: ( rule__RealTimeStatement__Group_0__0 )\\n // InternalAgreeParser.g:3425:2: rule__RealTimeStatement__Group_0__0\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__RealTimeStatement__Group_0__0();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n\\n }\\n\\n\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"27dda537eaa774193bfd97023b9a62cf\",\n \"score\": \"0.5584261\",\n \"text\": \"public final void rule__ExecuteStatement__Group__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalRobotDsl.g:1871:1: ( rule__ExecuteStatement__Group__2__Impl )\\n // InternalRobotDsl.g:1872:2: rule__ExecuteStatement__Group__2__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__ExecuteStatement__Group__2__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4e1e2b5e7875a8e4485ff05e9aefa19d\",\n \"score\": \"0.5581806\",\n \"text\": \"public final void rule__WheneverStatement__Group_1__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:7673:1: ( rule__WheneverStatement__Group_1__1__Impl )\\n // InternalAgreeParser.g:7674:2: rule__WheneverStatement__Group_1__1__Impl\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__WheneverStatement__Group_1__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2cf28afb2af95f282e6d87f9145cecc3\",\n \"score\": \"0.5540134\",\n \"text\": \"public final void rule__RealTimeStatement__Group_1_0_0__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:9420:1: ( ( () ) )\\n // InternalAgreeParser.g:9421:1: ( () )\\n {\\n // InternalAgreeParser.g:9421:1: ( () )\\n // InternalAgreeParser.g:9422:1: ()\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getRealTimeStatementAccess().getSporadicStatementAction_1_0_0_0()); \\n }\\n // InternalAgreeParser.g:9423:1: ()\\n // InternalAgreeParser.g:9425:1: \\n {\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getRealTimeStatementAccess().getSporadicStatementAction_1_0_0_0()); \\n }\\n\\n }\\n\\n\\n }\\n\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ff7d86f967ccb17713b80a72c542c2b\",\n \"score\": \"0.5537606\",\n \"text\": \"public final void rule__SynchStatement__Group_0_4__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:10813:1: ( rule__SynchStatement__Group_0_4__1__Impl )\\n // InternalAgreeParser.g:10814:2: rule__SynchStatement__Group_0_4__1__Impl\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__SynchStatement__Group_0_4__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ff2c6056c94f9ac58b0aaebf2993cf40\",\n \"score\": \"0.5536804\",\n \"text\": \"public final void rule__WheneverStatement__Group_1_0_0__7() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:7946:1: ( rule__WheneverStatement__Group_1_0_0__7__Impl )\\n // InternalAgreeParser.g:7947:2: rule__WheneverStatement__Group_1_0_0__7__Impl\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__WheneverStatement__Group_1_0_0__7__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7ba1ffe8c95dbccc6cde0668840f6bde\",\n \"score\": \"0.5518462\",\n \"text\": \"public final void rule__WheneverStatement__Group_0_0_0__6() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:7539:1: ( rule__WheneverStatement__Group_0_0_0__6__Impl )\\n // InternalAgreeParser.g:7540:2: rule__WheneverStatement__Group_0_0_0__6__Impl\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__WheneverStatement__Group_0_0_0__6__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f9070e2f7a01c4c8a00bc707a6184ef8\",\n \"score\": \"0.5517762\",\n \"text\": \"public final void rule__IfStatement__Group__3() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalRobotDsl.g:2195:1: ( rule__IfStatement__Group__3__Impl )\\n // InternalRobotDsl.g:2196:2: rule__IfStatement__Group__3__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__IfStatement__Group__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e5d2f5e8f0ed3aa8687f549bc6e46f97\",\n \"score\": \"0.5514821\",\n \"text\": \"public final void rule__Condition__Group_5__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalGame.g:2694:1: ( rule__Condition__Group_5__1__Impl )\\n // InternalGame.g:2695:2: rule__Condition__Group_5__1__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Condition__Group_5__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0028971d72d042bf3748a626ecbb334c\",\n \"score\": \"0.55054784\",\n \"text\": \"public final void rule__WheneverStatement__Group_2_0_0__6() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:8324:1: ( rule__WheneverStatement__Group_2_0_0__6__Impl )\\n // InternalAgreeParser.g:8325:2: rule__WheneverStatement__Group_2_0_0__6__Impl\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__WheneverStatement__Group_2_0_0__6__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3ccab379b07fa817241b0b900752e589\",\n \"score\": \"0.5504733\",\n \"text\": \"public final void rule__WheneverStatement__Group_1__1__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:7684:1: ( ( ( rule__WheneverStatement__Group_1_1__0 )? ) )\\n // InternalAgreeParser.g:7685:1: ( ( rule__WheneverStatement__Group_1_1__0 )? )\\n {\\n // InternalAgreeParser.g:7685:1: ( ( rule__WheneverStatement__Group_1_1__0 )? )\\n // InternalAgreeParser.g:7686:1: ( rule__WheneverStatement__Group_1_1__0 )?\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getWheneverStatementAccess().getGroup_1_1()); \\n }\\n // InternalAgreeParser.g:7687:1: ( rule__WheneverStatement__Group_1_1__0 )?\\n int alt57=2;\\n int LA57_0 = input.LA(1);\\n\\n if ( (LA57_0==During) ) {\\n alt57=1;\\n }\\n switch (alt57) {\\n case 1 :\\n // InternalAgreeParser.g:7687:2: rule__WheneverStatement__Group_1_1__0\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__WheneverStatement__Group_1_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.getWheneverStatementAccess().getGroup_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f14de3772e397270e6106def3d630c73\",\n \"score\": \"0.5501465\",\n \"text\": \"public final void rule__IfStatement__Group__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalRobotDsl.g:2141:1: ( rule__IfStatement__Group__1__Impl rule__IfStatement__Group__2 )\\n // InternalRobotDsl.g:2142:2: rule__IfStatement__Group__1__Impl rule__IfStatement__Group__2\\n {\\n pushFollow(FOLLOW_23);\\n rule__IfStatement__Group__1__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__IfStatement__Group__2();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4201d0842e1c6e5d50562f97e2b225f8\",\n \"score\": \"0.5500103\",\n \"text\": \"public final void rule__WheneverStatement__Group_0__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:7297:1: ( rule__WheneverStatement__Group_0__1__Impl )\\n // InternalAgreeParser.g:7298:2: rule__WheneverStatement__Group_0__1__Impl\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__WheneverStatement__Group_0__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0b28e8f8173ff6d037b0ea25132be668\",\n \"score\": \"0.5499385\",\n \"text\": \"public final void rule__Condition__Group__4() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalGame.g:2613:1: ( rule__Condition__Group__4__Impl rule__Condition__Group__5 )\\n // InternalGame.g:2614:2: rule__Condition__Group__4__Impl rule__Condition__Group__5\\n {\\n pushFollow(FOLLOW_23);\\n rule__Condition__Group__4__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_2);\\n rule__Condition__Group__5();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"05c3b7dc34ef011e66f262983f5779c4\",\n \"score\": \"0.5496933\",\n \"text\": \"public final void rule__MetaStatement__Group__4__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.sqlproc.meta.ui/src-gen/org/sqlproc/meta/ui/contentassist/antlr/internal/InternalProcessorMeta.g:26040:1: ( ( RULE_RPAREN ) )\\n // ../org.sqlproc.meta.ui/src-gen/org/sqlproc/meta/ui/contentassist/antlr/internal/InternalProcessorMeta.g:26041:1: ( RULE_RPAREN )\\n {\\n // ../org.sqlproc.meta.ui/src-gen/org/sqlproc/meta/ui/contentassist/antlr/internal/InternalProcessorMeta.g:26041:1: ( RULE_RPAREN )\\n // ../org.sqlproc.meta.ui/src-gen/org/sqlproc/meta/ui/contentassist/antlr/internal/InternalProcessorMeta.g:26042:1: RULE_RPAREN\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getMetaStatementAccess().getRPARENTerminalRuleCall_4()); \\n }\\n match(input,RULE_RPAREN,FollowSets005.FOLLOW_RULE_RPAREN_in_rule__MetaStatement__Group__4__Impl55054); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getMetaStatementAccess().getRPARENTerminalRuleCall_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8aa9fbc0cbcc7fe690afc1539b1740f4\",\n \"score\": \"0.54913986\",\n \"text\": \"public final void rule__UntilStatement__Group__3() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalRobotDsl.g:2087:1: ( rule__UntilStatement__Group__3__Impl )\\n // InternalRobotDsl.g:2088:2: rule__UntilStatement__Group__3__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__UntilStatement__Group__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"02727cef1c976653798c1c8151925276\",\n \"score\": \"0.5487579\",\n \"text\": \"public final void rule__SynchStatement__Group_2_4__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:11460:1: ( rule__SynchStatement__Group_2_4__1__Impl )\\n // InternalAgreeParser.g:11461:2: rule__SynchStatement__Group_2_4__1__Impl\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__SynchStatement__Group_2_4__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8a74b71d202adfa5be3fc137a86e853b\",\n \"score\": \"0.54865026\",\n \"text\": \"public final void rule__WheneverStatement__Group_1_0__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:7705:1: ( rule__WheneverStatement__Group_1_0__0__Impl )\\n // InternalAgreeParser.g:7706:2: rule__WheneverStatement__Group_1_0__0__Impl\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__WheneverStatement__Group_1_0__0__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"03e766dd9c3d840490da333433cb6a27\",\n \"score\": \"0.5480348\",\n \"text\": \"public final void rule__WheneverStatement__Group_0_1__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:7612:1: ( rule__WheneverStatement__Group_0_1__1__Impl )\\n // InternalAgreeParser.g:7613:2: rule__WheneverStatement__Group_0_1__1__Impl\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__WheneverStatement__Group_0_1__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ee7b15b05519b1a0c44b42390190dd88\",\n \"score\": \"0.5474865\",\n \"text\": \"public final void rule__IfStatement__Group__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalRobotDsl.g:2168:1: ( rule__IfStatement__Group__2__Impl rule__IfStatement__Group__3 )\\n // InternalRobotDsl.g:2169:2: rule__IfStatement__Group__2__Impl rule__IfStatement__Group__3\\n {\\n pushFollow(FOLLOW_4);\\n rule__IfStatement__Group__2__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__IfStatement__Group__3();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"03de19aecadc31aed9cd643c996e1d84\",\n \"score\": \"0.5469101\",\n \"text\": \"public final void rule__IfStatement__Group__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalRobotDsl.g:2114:1: ( rule__IfStatement__Group__0__Impl rule__IfStatement__Group__1 )\\n // InternalRobotDsl.g:2115:2: rule__IfStatement__Group__0__Impl rule__IfStatement__Group__1\\n {\\n pushFollow(FOLLOW_14);\\n rule__IfStatement__Group__0__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__IfStatement__Group__1();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e3d18e6b8f0f6965c0122cdc0406573\",\n \"score\": \"0.5462122\",\n \"text\": \"public final void rule__BooleanAnswer__Group__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalXercise.g:2476:1: ( rule__BooleanAnswer__Group__1__Impl )\\n // InternalXercise.g:2477:2: rule__BooleanAnswer__Group__1__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__BooleanAnswer__Group__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b171af15afac30906f07861b2bb93144\",\n \"score\": \"0.5461164\",\n \"text\": \"public final void rule__SynchStatement__Group_1_3__6() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:11194:1: ( rule__SynchStatement__Group_1_3__6__Impl )\\n // InternalAgreeParser.g:11195:2: rule__SynchStatement__Group_1_3__6__Impl\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__SynchStatement__Group_1_3__6__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a8c3bd486f5e237bd1a04b3aa21f5132\",\n \"score\": \"0.5461121\",\n \"text\": \"public final void rule__WheneverStatement__Group_0__1__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:7308:1: ( ( ( rule__WheneverStatement__Group_0_1__0 )? ) )\\n // InternalAgreeParser.g:7309:1: ( ( rule__WheneverStatement__Group_0_1__0 )? )\\n {\\n // InternalAgreeParser.g:7309:1: ( ( rule__WheneverStatement__Group_0_1__0 )? )\\n // InternalAgreeParser.g:7310:1: ( rule__WheneverStatement__Group_0_1__0 )?\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getWheneverStatementAccess().getGroup_0_1()); \\n }\\n // InternalAgreeParser.g:7311:1: ( rule__WheneverStatement__Group_0_1__0 )?\\n int alt55=2;\\n int LA55_0 = input.LA(1);\\n\\n if ( (LA55_0==During) ) {\\n alt55=1;\\n }\\n switch (alt55) {\\n case 1 :\\n // InternalAgreeParser.g:7311:2: rule__WheneverStatement__Group_0_1__0\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__WheneverStatement__Group_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.getWheneverStatementAccess().getGroup_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"04745b6ca60e30bb6a2262abbaa6191c\",\n \"score\": \"0.5456838\",\n \"text\": \"public final void rule__RightStatement__Group__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalRobotDsl.g:1628:1: ( rule__RightStatement__Group__0__Impl rule__RightStatement__Group__1 )\\n // InternalRobotDsl.g:1629:2: rule__RightStatement__Group__0__Impl rule__RightStatement__Group__1\\n {\\n pushFollow(FOLLOW_18);\\n rule__RightStatement__Group__0__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__RightStatement__Group__1();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4e8371927178c71d076808e1fb18dba3\",\n \"score\": \"0.5456796\",\n \"text\": \"public final void rule__TrueCondition__Group__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalRobotDsl.g:1532:1: ( ( () ) )\\n // InternalRobotDsl.g:1533:1: ( () )\\n {\\n // InternalRobotDsl.g:1533:1: ( () )\\n // InternalRobotDsl.g:1534:2: ()\\n {\\n before(grammarAccess.getTrueConditionAccess().getTrueConditionAction_0()); \\n // InternalRobotDsl.g:1535:2: ()\\n // InternalRobotDsl.g:1535:3: \\n {\\n }\\n\\n after(grammarAccess.getTrueConditionAccess().getTrueConditionAction_0()); \\n\\n }\\n\\n\\n }\\n\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cc2fb787de6e53497445571426ce2588\",\n \"score\": \"0.5451673\",\n \"text\": \"public final void rule__Condition__Group__2__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalGame.g:2571:1: ( ( ( rule__Condition__IfConditionAssignment_2 ) ) )\\n // InternalGame.g:2572:1: ( ( rule__Condition__IfConditionAssignment_2 ) )\\n {\\n // InternalGame.g:2572:1: ( ( rule__Condition__IfConditionAssignment_2 ) )\\n // InternalGame.g:2573:2: ( rule__Condition__IfConditionAssignment_2 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getConditionAccess().getIfConditionAssignment_2()); \\n }\\n // InternalGame.g:2574:2: ( rule__Condition__IfConditionAssignment_2 )\\n // InternalGame.g:2574:3: rule__Condition__IfConditionAssignment_2\\n {\\n pushFollow(FOLLOW_2);\\n rule__Condition__IfConditionAssignment_2();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getConditionAccess().getIfConditionAssignment_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba219216414dc642383fa227429ff432\",\n \"score\": \"0.54454434\",\n \"text\": \"public final void rule__RelationshipEnd__Group__1__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMASLParser.g:14785:1: ( ( ( rule__RelationshipEnd__ConditionalityAssignment_1 ) ) )\\n // InternalMASLParser.g:14786:1: ( ( rule__RelationshipEnd__ConditionalityAssignment_1 ) )\\n {\\n // InternalMASLParser.g:14786:1: ( ( rule__RelationshipEnd__ConditionalityAssignment_1 ) )\\n // InternalMASLParser.g:14787:2: ( rule__RelationshipEnd__ConditionalityAssignment_1 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getRelationshipEndAccess().getConditionalityAssignment_1()); \\n }\\n // InternalMASLParser.g:14788:2: ( rule__RelationshipEnd__ConditionalityAssignment_1 )\\n // InternalMASLParser.g:14788:3: rule__RelationshipEnd__ConditionalityAssignment_1\\n {\\n pushFollow(FOLLOW_2);\\n rule__RelationshipEnd__ConditionalityAssignment_1();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getRelationshipEndAccess().getConditionalityAssignment_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"87b70be36a1efb3f18a9c204c5afb699\",\n \"score\": \"0.5424707\",\n \"text\": \"public final void rule__BooleanExpression__Group__4() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalGame.g:2154:1: ( rule__BooleanExpression__Group__4__Impl )\\n // InternalGame.g:2155:2: rule__BooleanExpression__Group__4__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__BooleanExpression__Group__4__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4c04fabbb66996d14aa5266387690ef3\",\n \"score\": \"0.5418651\",\n \"text\": \"public final void rule__SynchStatement__Group_0__6() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:10738:1: ( rule__SynchStatement__Group_0__6__Impl )\\n // InternalAgreeParser.g:10739:2: rule__SynchStatement__Group_0__6__Impl\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__SynchStatement__Group_0__6__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f23ddf5f7bded29a554a218cefedfb5\",\n \"score\": \"0.54135257\",\n \"text\": \"public final void rule__RaiseStatement__Group__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMASLParser.g:17581:1: ( rule__RaiseStatement__Group__2__Impl )\\n // InternalMASLParser.g:17582:2: rule__RaiseStatement__Group__2__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__RaiseStatement__Group__2__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9532c62967cfca02243f0efc783ff19c\",\n \"score\": \"0.54132307\",\n \"text\": \"public final void rule__SynchStatement__Group_1__3__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:10950:1: ( ( ( ( rule__SynchStatement__Group_1_3__0 ) ) ( ( rule__SynchStatement__Group_1_3__0 )* ) ) )\\n // InternalAgreeParser.g:10951:1: ( ( ( rule__SynchStatement__Group_1_3__0 ) ) ( ( rule__SynchStatement__Group_1_3__0 )* ) )\\n {\\n // InternalAgreeParser.g:10951:1: ( ( ( rule__SynchStatement__Group_1_3__0 ) ) ( ( rule__SynchStatement__Group_1_3__0 )* ) )\\n // InternalAgreeParser.g:10952:1: ( ( rule__SynchStatement__Group_1_3__0 ) ) ( ( rule__SynchStatement__Group_1_3__0 )* )\\n {\\n // InternalAgreeParser.g:10952:1: ( ( rule__SynchStatement__Group_1_3__0 ) )\\n // InternalAgreeParser.g:10953:1: ( rule__SynchStatement__Group_1_3__0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getSynchStatementAccess().getGroup_1_3()); \\n }\\n // InternalAgreeParser.g:10954:1: ( rule__SynchStatement__Group_1_3__0 )\\n // InternalAgreeParser.g:10954:2: rule__SynchStatement__Group_1_3__0\\n {\\n pushFollow(FollowSets000.FOLLOW_52);\\n rule__SynchStatement__Group_1_3__0();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getSynchStatementAccess().getGroup_1_3()); \\n }\\n\\n }\\n\\n // InternalAgreeParser.g:10957:1: ( ( rule__SynchStatement__Group_1_3__0 )* )\\n // InternalAgreeParser.g:10958:1: ( rule__SynchStatement__Group_1_3__0 )*\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getSynchStatementAccess().getGroup_1_3()); \\n }\\n // InternalAgreeParser.g:10959:1: ( rule__SynchStatement__Group_1_3__0 )*\\n loop67:\\n do {\\n int alt67=2;\\n int LA67_0 = input.LA(1);\\n\\n if ( (LA67_0==RULE_ID) ) {\\n alt67=1;\\n }\\n\\n\\n switch (alt67) {\\n \\tcase 1 :\\n \\t // InternalAgreeParser.g:10959:2: rule__SynchStatement__Group_1_3__0\\n \\t {\\n \\t pushFollow(FollowSets000.FOLLOW_52);\\n \\t rule__SynchStatement__Group_1_3__0();\\n\\n \\t state._fsp--;\\n \\t if (state.failed) return ;\\n\\n \\t }\\n \\t break;\\n\\n \\tdefault :\\n \\t break loop67;\\n }\\n } while (true);\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getSynchStatementAccess().getGroup_1_3()); \\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 \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"43f2f24a7e7c945f3ace5bd153a7e744\",\n \"score\": \"0.54108274\",\n \"text\": \"public final void rule__WheneverStatement__Group_3_0__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:8554:1: ( rule__WheneverStatement__Group_3_0__0__Impl )\\n // InternalAgreeParser.g:8555:2: rule__WheneverStatement__Group_3_0__0__Impl\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__WheneverStatement__Group_3_0__0__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a76aa772d77b65636a854feb019b7d7\",\n \"score\": \"0.5409647\",\n \"text\": \"public final void rule__ExecuteStatement__Group__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalRobotDsl.g:1844:1: ( rule__ExecuteStatement__Group__1__Impl rule__ExecuteStatement__Group__2 )\\n // InternalRobotDsl.g:1845:2: rule__ExecuteStatement__Group__1__Impl rule__ExecuteStatement__Group__2\\n {\\n pushFollow(FOLLOW_3);\\n rule__ExecuteStatement__Group__1__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__ExecuteStatement__Group__2();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0f04e9252526b2e1b6cfc4b775a51204\",\n \"score\": \"0.5388908\",\n \"text\": \"public final void rule__UntilStatement__Group__2__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalRobotDsl.g:2072:1: ( ( ( rule__UntilStatement__ConditionAssignment_2 ) ) )\\n // InternalRobotDsl.g:2073:1: ( ( rule__UntilStatement__ConditionAssignment_2 ) )\\n {\\n // InternalRobotDsl.g:2073:1: ( ( rule__UntilStatement__ConditionAssignment_2 ) )\\n // InternalRobotDsl.g:2074:2: ( rule__UntilStatement__ConditionAssignment_2 )\\n {\\n before(grammarAccess.getUntilStatementAccess().getConditionAssignment_2()); \\n // InternalRobotDsl.g:2075:2: ( rule__UntilStatement__ConditionAssignment_2 )\\n // InternalRobotDsl.g:2075:3: rule__UntilStatement__ConditionAssignment_2\\n {\\n pushFollow(FOLLOW_2);\\n rule__UntilStatement__ConditionAssignment_2();\\n\\n state._fsp--;\\n\\n\\n }\\n\\n after(grammarAccess.getUntilStatementAccess().getConditionAssignment_2()); \\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\": \"a84c37483d28d46c488a416a782eeb88\",\n \"score\": \"0.5385978\",\n \"text\": \"public final void rule__WhenStatement__Group_1__7() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:7065:1: ( rule__WhenStatement__Group_1__7__Impl )\\n // InternalAgreeParser.g:7066:2: rule__WhenStatement__Group_1__7__Impl\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__WhenStatement__Group_1__7__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"971ef01ab3163dd161449abe319c77b3\",\n \"score\": \"0.5377516\",\n \"text\": \"public final void rule__BooleanExpression__Group_4__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalGame.g:2208:1: ( rule__BooleanExpression__Group_4__1__Impl )\\n // InternalGame.g:2209:2: rule__BooleanExpression__Group_4__1__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__BooleanExpression__Group_4__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c281e5b92c3a4c4e2b25d3629444d1a6\",\n \"score\": \"0.5376332\",\n \"text\": \"public final void rule__WheneverStatement__Group_0_0__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:7329:1: ( rule__WheneverStatement__Group_0_0__0__Impl )\\n // InternalAgreeParser.g:7330:2: rule__WheneverStatement__Group_0_0__0__Impl\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__WheneverStatement__Group_0_0__0__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"98f38a62e5769e06bb9aa5463598a3e6\",\n \"score\": \"0.53748316\",\n \"text\": \"public final void rule__XRelationalExpression__Group_1_1_0_0__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:6688:1: ( rule__XRelationalExpression__Group_1_1_0_0__1__Impl )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:6689:2: rule__XRelationalExpression__Group_1_1_0_0__1__Impl\\n {\\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_1_0_0__1__Impl_in_rule__XRelationalExpression__Group_1_1_0_0__113986);\\n rule__XRelationalExpression__Group_1_1_0_0__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f31f6a306bd4831759fedb6e01377ee\",\n \"score\": \"0.5370677\",\n \"text\": \"public final void rule__WhenStatement__Group_1_0_0__3() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:7230:1: ( rule__WhenStatement__Group_1_0_0__3__Impl )\\n // InternalAgreeParser.g:7231:2: rule__WhenStatement__Group_1_0_0__3__Impl\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__WhenStatement__Group_1_0_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af68a4a810a13ebbff764851e6144d42\",\n \"score\": \"0.5369737\",\n \"text\": \"public final void rule__CancelTimerStatement__Group__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMASLParser.g:18040:1: ( rule__CancelTimerStatement__Group__1__Impl )\\n // InternalMASLParser.g:18041:2: rule__CancelTimerStatement__Group__1__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__CancelTimerStatement__Group__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0121d93a9452a95648be9368ace1bda1\",\n \"score\": \"0.5364577\",\n \"text\": \"public final void rule__WheneverStatement__Group_2__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:8082:1: ( rule__WheneverStatement__Group_2__1__Impl )\\n // InternalAgreeParser.g:8083:2: rule__WheneverStatement__Group_2__1__Impl\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__WheneverStatement__Group_2__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf3503e6071ffb92537c1ef1ca4e88f4\",\n \"score\": \"0.5363654\",\n \"text\": \"public final void rule__WheneverStatement__Group_1_0__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // InternalAgreeParser.g:7716:1: ( ( ( rule__WheneverStatement__Group_1_0_0__0 ) ) )\\n // InternalAgreeParser.g:7717:1: ( ( rule__WheneverStatement__Group_1_0_0__0 ) )\\n {\\n // InternalAgreeParser.g:7717:1: ( ( rule__WheneverStatement__Group_1_0_0__0 ) )\\n // InternalAgreeParser.g:7718:1: ( rule__WheneverStatement__Group_1_0_0__0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getWheneverStatementAccess().getGroup_1_0_0()); \\n }\\n // InternalAgreeParser.g:7719:1: ( rule__WheneverStatement__Group_1_0_0__0 )\\n // InternalAgreeParser.g:7719:2: rule__WheneverStatement__Group_1_0_0__0\\n {\\n pushFollow(FollowSets000.FOLLOW_2);\\n rule__WheneverStatement__Group_1_0_0__0();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getWheneverStatementAccess().getGroup_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\": \"4d29c7cdad7be862e32f1f95dc533744\",\n \"score\": \"0.5362175\",\n \"text\": \"public final void rule__XRelationalExpression__Group_1_0_0_0__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:6532:1: ( rule__XRelationalExpression__Group_1_0_0_0__1__Impl )\\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:6533:2: rule__XRelationalExpression__Group_1_0_0_0__1__Impl\\n {\\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_0_0_0__1__Impl_in_rule__XRelationalExpression__Group_1_0_0_0__113682);\\n rule__XRelationalExpression__Group_1_0_0_0__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"00c14cb4a02f849bde66805f9e0d3521\",\n \"score\": \"0.5355411\",\n \"text\": \"public final void rule__S_Reflex__Group_3__0__Impl() throws RecognitionException {\\n int rule__S_Reflex__Group_3__0__Impl_StartIndex = input.index();\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\n try {\\n if ( state.backtracking>0 && alreadyParsedRule(input, 409) ) { return ; }\\n // InternalGaml.g:7480:1: ( ( 'when' ) )\\n // InternalGaml.g:7481:1: ( 'when' )\\n {\\n // InternalGaml.g:7481:1: ( 'when' )\\n // InternalGaml.g:7482:1: 'when'\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getS_ReflexAccess().getWhenKeyword_3_0()); \\n }\\n match(input,119,FollowSets000.FOLLOW_2); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getS_ReflexAccess().getWhenKeyword_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, 409, rule__S_Reflex__Group_3__0__Impl_StartIndex); }\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":364,"cells":{"query_id":{"kind":"string","value":"3d99986178e1f1700f479518793a6f02"},"query":{"kind":"string","value":"Returns a new object of class 'Logical Or Expression'."},"positive_passages":{"kind":"list like","value":[{"docid":"afbac3ecd7821edd01eaafd15ba77ebe","score":"0.883223","text":"LogicalOrExpression createLogicalOrExpression();","title":""}],"string":"[\n {\n \"docid\": \"afbac3ecd7821edd01eaafd15ba77ebe\",\n \"score\": \"0.883223\",\n \"text\": \"LogicalOrExpression createLogicalOrExpression();\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"8b8878e7e41ecbe1b77e85cf37e3eefd","score":"0.874148","text":"OrExpression createOrExpression();","title":""},{"docid":"9e5990f15720404125713261585f1c2b","score":"0.8141072","text":"BitwiseOrExpression createBitwiseOrExpression();","title":""},{"docid":"40b954354a9f2bfd0118f0282d0abcc5","score":"0.76077235","text":"Or() {\n super();\n }","title":""},{"docid":"0beb05bb616b5b5f5ed4d684b9da3641","score":"0.7457167","text":"@IntermediateOperation\n public Persistable or() {\n conjuctionOperator = ConjuctionOperator.OR;\n return this;\n }","title":""},{"docid":"aebaf48d51d3923e9c6c50fa551863e4","score":"0.74494296","text":"public NullaryOr() {\n super();\n }","title":""},{"docid":"f872a0e27f593d786a0b7b909ab3b2ac","score":"0.7425017","text":"public static Conditional or() {\n return INSTANCE.or();\n }","title":""},{"docid":"78ec6ad19f48d4ecadb760274cdc7427","score":"0.7231951","text":"Expr parseOrTest() {\n Expr t = parseAndTest();\n while (at(\"or\")) {\n t = new Expr.Or(t, parseAndTest());\n }\n return t;\n }","title":""},{"docid":"2b5be226e48f90d2b8126d4535ba7ccf","score":"0.7217427","text":"public OrFilter()\r\n {\r\n m_filterExprs = new ArrayList();\r\n }","title":""},{"docid":"f00448242f8ec5972450e67e3bd4e8c0","score":"0.7205201","text":"public ExpressionChain or( \n boolean expression\n )\n {\n value = value || expression;\n \n return this;\n }","title":""},{"docid":"4e2651028a162b1cdce8cb1ed6e5908c","score":"0.7198904","text":"public static LogicalExpression or(Criterion lhs, Criterion rhs) {\n return new LogicalExpression(lhs, rhs, \"or\");\n }","title":""},{"docid":"e0a21c8edd7371755dd459c6468b9f1d","score":"0.7188043","text":"public B or() {\n this.or = true;\n return (B) this;\n }","title":""},{"docid":"b444acb1d89b16236ee8e2efc85ba3cd","score":"0.7170323","text":"public java.util.List getOr() {\n return or;\n }","title":""},{"docid":"b294dc23667323f2339606e59006c506","score":"0.7144656","text":"public OrExpression(ConditionalExpression left,\n ConditionalExpression right) {\n super(left, right);\n }","title":""},{"docid":"758ca8b8bf3aaf10aaa6d57b0b4a0dd7","score":"0.71361226","text":"public final void rule__LogicalOr__OperatorAssignment_1_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMASLParser.g:30492:1: ( ( ( Or ) ) )\n // InternalMASLParser.g:30493:2: ( ( Or ) )\n {\n // InternalMASLParser.g:30493:2: ( ( Or ) )\n // InternalMASLParser.g:30494:3: ( Or )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getLogicalOrAccess().getOperatorOrKeyword_1_1_0()); \n }\n // InternalMASLParser.g:30495:3: ( Or )\n // InternalMASLParser.g:30496:4: Or\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getLogicalOrAccess().getOperatorOrKeyword_1_1_0()); \n }\n match(input,Or,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getLogicalOrAccess().getOperatorOrKeyword_1_1_0()); \n }\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getLogicalOrAccess().getOperatorOrKeyword_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":"ae7cb9b99c2fcd089a7568627a6c4f94","score":"0.712133","text":"public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}","title":""},{"docid":"ae7cb9b99c2fcd089a7568627a6c4f94","score":"0.712133","text":"public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}","title":""},{"docid":"ae7cb9b99c2fcd089a7568627a6c4f94","score":"0.712133","text":"public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}","title":""},{"docid":"ae7cb9b99c2fcd089a7568627a6c4f94","score":"0.712133","text":"public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}","title":""},{"docid":"ae7cb9b99c2fcd089a7568627a6c4f94","score":"0.712133","text":"public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}","title":""},{"docid":"ae7cb9b99c2fcd089a7568627a6c4f94","score":"0.712133","text":"public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}","title":""},{"docid":"ae7cb9b99c2fcd089a7568627a6c4f94","score":"0.712133","text":"public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}","title":""},{"docid":"ae7cb9b99c2fcd089a7568627a6c4f94","score":"0.712133","text":"public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}","title":""},{"docid":"ae7cb9b99c2fcd089a7568627a6c4f94","score":"0.712133","text":"public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}","title":""},{"docid":"ae7cb9b99c2fcd089a7568627a6c4f94","score":"0.712133","text":"public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}","title":""},{"docid":"ae7cb9b99c2fcd089a7568627a6c4f94","score":"0.712133","text":"public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}","title":""},{"docid":"b1ac98cf3d864ab8c7f5e641c0d57346","score":"0.7117834","text":"public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }","title":""},{"docid":"b1ac98cf3d864ab8c7f5e641c0d57346","score":"0.7117834","text":"public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }","title":""},{"docid":"b1ac98cf3d864ab8c7f5e641c0d57346","score":"0.7117834","text":"public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }","title":""},{"docid":"b1ac98cf3d864ab8c7f5e641c0d57346","score":"0.7117834","text":"public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }","title":""},{"docid":"b1ac98cf3d864ab8c7f5e641c0d57346","score":"0.7117834","text":"public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }","title":""},{"docid":"b1ac98cf3d864ab8c7f5e641c0d57346","score":"0.7117834","text":"public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }","title":""},{"docid":"b1ac98cf3d864ab8c7f5e641c0d57346","score":"0.7117834","text":"public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }","title":""},{"docid":"b1ac98cf3d864ab8c7f5e641c0d57346","score":"0.7117834","text":"public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }","title":""},{"docid":"b1ac98cf3d864ab8c7f5e641c0d57346","score":"0.7117834","text":"public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }","title":""},{"docid":"b1ac98cf3d864ab8c7f5e641c0d57346","score":"0.7117834","text":"public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }","title":""},{"docid":"b1ac98cf3d864ab8c7f5e641c0d57346","score":"0.7117834","text":"public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }","title":""},{"docid":"b1ac98cf3d864ab8c7f5e641c0d57346","score":"0.7117834","text":"public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }","title":""},{"docid":"b1ac98cf3d864ab8c7f5e641c0d57346","score":"0.7117834","text":"public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }","title":""},{"docid":"b1ac98cf3d864ab8c7f5e641c0d57346","score":"0.7117834","text":"public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }","title":""},{"docid":"b1ac98cf3d864ab8c7f5e641c0d57346","score":"0.7117834","text":"public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }","title":""},{"docid":"b1ac98cf3d864ab8c7f5e641c0d57346","score":"0.7117834","text":"public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }","title":""},{"docid":"b1ac98cf3d864ab8c7f5e641c0d57346","score":"0.7117834","text":"public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }","title":""},{"docid":"b1ac98cf3d864ab8c7f5e641c0d57346","score":"0.7117834","text":"public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }","title":""},{"docid":"b1ac98cf3d864ab8c7f5e641c0d57346","score":"0.7117834","text":"public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }","title":""},{"docid":"b1ac98cf3d864ab8c7f5e641c0d57346","score":"0.7117834","text":"public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }","title":""},{"docid":"b1ac98cf3d864ab8c7f5e641c0d57346","score":"0.7117834","text":"public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }","title":""},{"docid":"b1ac98cf3d864ab8c7f5e641c0d57346","score":"0.7117834","text":"public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }","title":""},{"docid":"b1ac98cf3d864ab8c7f5e641c0d57346","score":"0.7117834","text":"public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }","title":""},{"docid":"b1ac98cf3d864ab8c7f5e641c0d57346","score":"0.7117834","text":"public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }","title":""},{"docid":"b1ac98cf3d864ab8c7f5e641c0d57346","score":"0.7117834","text":"public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }","title":""},{"docid":"b1ac98cf3d864ab8c7f5e641c0d57346","score":"0.7117834","text":"public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }","title":""},{"docid":"b1ac98cf3d864ab8c7f5e641c0d57346","score":"0.7117834","text":"public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }","title":""},{"docid":"b1ac98cf3d864ab8c7f5e641c0d57346","score":"0.7117834","text":"public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }","title":""},{"docid":"b1ac98cf3d864ab8c7f5e641c0d57346","score":"0.7117834","text":"public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }","title":""},{"docid":"b1ac98cf3d864ab8c7f5e641c0d57346","score":"0.7117834","text":"public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }","title":""},{"docid":"b1ac98cf3d864ab8c7f5e641c0d57346","score":"0.7117834","text":"public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }","title":""},{"docid":"b1ac98cf3d864ab8c7f5e641c0d57346","score":"0.7117834","text":"public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }","title":""},{"docid":"b1ac98cf3d864ab8c7f5e641c0d57346","score":"0.7117834","text":"public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""},{"docid":"75570584ebb5f67d24f08b069e85d78c","score":"0.71138936","text":"public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }","title":""}],"string":"[\n {\n \"docid\": \"8b8878e7e41ecbe1b77e85cf37e3eefd\",\n \"score\": \"0.874148\",\n \"text\": \"OrExpression createOrExpression();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9e5990f15720404125713261585f1c2b\",\n \"score\": \"0.8141072\",\n \"text\": \"BitwiseOrExpression createBitwiseOrExpression();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"40b954354a9f2bfd0118f0282d0abcc5\",\n \"score\": \"0.76077235\",\n \"text\": \"Or() {\\n super();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0beb05bb616b5b5f5ed4d684b9da3641\",\n \"score\": \"0.7457167\",\n \"text\": \"@IntermediateOperation\\n public Persistable or() {\\n conjuctionOperator = ConjuctionOperator.OR;\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aebaf48d51d3923e9c6c50fa551863e4\",\n \"score\": \"0.74494296\",\n \"text\": \"public NullaryOr() {\\n super();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f872a0e27f593d786a0b7b909ab3b2ac\",\n \"score\": \"0.7425017\",\n \"text\": \"public static Conditional or() {\\n return INSTANCE.or();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78ec6ad19f48d4ecadb760274cdc7427\",\n \"score\": \"0.7231951\",\n \"text\": \"Expr parseOrTest() {\\n Expr t = parseAndTest();\\n while (at(\\\"or\\\")) {\\n t = new Expr.Or(t, parseAndTest());\\n }\\n return t;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2b5be226e48f90d2b8126d4535ba7ccf\",\n \"score\": \"0.7217427\",\n \"text\": \"public OrFilter()\\r\\n {\\r\\n m_filterExprs = new ArrayList();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f00448242f8ec5972450e67e3bd4e8c0\",\n \"score\": \"0.7205201\",\n \"text\": \"public ExpressionChain or( \\n boolean expression\\n )\\n {\\n value = value || expression;\\n \\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4e2651028a162b1cdce8cb1ed6e5908c\",\n \"score\": \"0.7198904\",\n \"text\": \"public static LogicalExpression or(Criterion lhs, Criterion rhs) {\\n return new LogicalExpression(lhs, rhs, \\\"or\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0a21c8edd7371755dd459c6468b9f1d\",\n \"score\": \"0.7188043\",\n \"text\": \"public B or() {\\n this.or = true;\\n return (B) this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b444acb1d89b16236ee8e2efc85ba3cd\",\n \"score\": \"0.7170323\",\n \"text\": \"public java.util.List getOr() {\\n return or;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b294dc23667323f2339606e59006c506\",\n \"score\": \"0.7144656\",\n \"text\": \"public OrExpression(ConditionalExpression left,\\n ConditionalExpression right) {\\n super(left, right);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"758ca8b8bf3aaf10aaa6d57b0b4a0dd7\",\n \"score\": \"0.71361226\",\n \"text\": \"public final void rule__LogicalOr__OperatorAssignment_1_1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalMASLParser.g:30492:1: ( ( ( Or ) ) )\\n // InternalMASLParser.g:30493:2: ( ( Or ) )\\n {\\n // InternalMASLParser.g:30493:2: ( ( Or ) )\\n // InternalMASLParser.g:30494:3: ( Or )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getLogicalOrAccess().getOperatorOrKeyword_1_1_0()); \\n }\\n // InternalMASLParser.g:30495:3: ( Or )\\n // InternalMASLParser.g:30496:4: Or\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getLogicalOrAccess().getOperatorOrKeyword_1_1_0()); \\n }\\n match(input,Or,FOLLOW_2); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getLogicalOrAccess().getOperatorOrKeyword_1_1_0()); \\n }\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getLogicalOrAccess().getOperatorOrKeyword_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae7cb9b99c2fcd089a7568627a6c4f94\",\n \"score\": \"0.712133\",\n \"text\": \"public Criteria or() {\\n\\t\\tCriteria criteria = createCriteriaInternal();\\n\\t\\toredCriteria.add(criteria);\\n\\t\\treturn criteria;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae7cb9b99c2fcd089a7568627a6c4f94\",\n \"score\": \"0.712133\",\n \"text\": \"public Criteria or() {\\n\\t\\tCriteria criteria = createCriteriaInternal();\\n\\t\\toredCriteria.add(criteria);\\n\\t\\treturn criteria;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae7cb9b99c2fcd089a7568627a6c4f94\",\n \"score\": \"0.712133\",\n \"text\": \"public Criteria or() {\\n\\t\\tCriteria criteria = createCriteriaInternal();\\n\\t\\toredCriteria.add(criteria);\\n\\t\\treturn criteria;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae7cb9b99c2fcd089a7568627a6c4f94\",\n \"score\": \"0.712133\",\n \"text\": \"public Criteria or() {\\n\\t\\tCriteria criteria = createCriteriaInternal();\\n\\t\\toredCriteria.add(criteria);\\n\\t\\treturn criteria;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae7cb9b99c2fcd089a7568627a6c4f94\",\n \"score\": \"0.712133\",\n \"text\": \"public Criteria or() {\\n\\t\\tCriteria criteria = createCriteriaInternal();\\n\\t\\toredCriteria.add(criteria);\\n\\t\\treturn criteria;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae7cb9b99c2fcd089a7568627a6c4f94\",\n \"score\": \"0.712133\",\n \"text\": \"public Criteria or() {\\n\\t\\tCriteria criteria = createCriteriaInternal();\\n\\t\\toredCriteria.add(criteria);\\n\\t\\treturn criteria;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae7cb9b99c2fcd089a7568627a6c4f94\",\n \"score\": \"0.712133\",\n \"text\": \"public Criteria or() {\\n\\t\\tCriteria criteria = createCriteriaInternal();\\n\\t\\toredCriteria.add(criteria);\\n\\t\\treturn criteria;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae7cb9b99c2fcd089a7568627a6c4f94\",\n \"score\": \"0.712133\",\n \"text\": \"public Criteria or() {\\n\\t\\tCriteria criteria = createCriteriaInternal();\\n\\t\\toredCriteria.add(criteria);\\n\\t\\treturn criteria;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae7cb9b99c2fcd089a7568627a6c4f94\",\n \"score\": \"0.712133\",\n \"text\": \"public Criteria or() {\\n\\t\\tCriteria criteria = createCriteriaInternal();\\n\\t\\toredCriteria.add(criteria);\\n\\t\\treturn criteria;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae7cb9b99c2fcd089a7568627a6c4f94\",\n \"score\": \"0.712133\",\n \"text\": \"public Criteria or() {\\n\\t\\tCriteria criteria = createCriteriaInternal();\\n\\t\\toredCriteria.add(criteria);\\n\\t\\treturn criteria;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae7cb9b99c2fcd089a7568627a6c4f94\",\n \"score\": \"0.712133\",\n \"text\": \"public Criteria or() {\\n\\t\\tCriteria criteria = createCriteriaInternal();\\n\\t\\toredCriteria.add(criteria);\\n\\t\\treturn criteria;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ac98cf3d864ab8c7f5e641c0d57346\",\n \"score\": \"0.7117834\",\n \"text\": \"public Criteria or() {\\r\\n Criteria criteria = createCriteriaInternal();\\r\\n oredCriteria.add(criteria);\\r\\n return criteria;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ac98cf3d864ab8c7f5e641c0d57346\",\n \"score\": \"0.7117834\",\n \"text\": \"public Criteria or() {\\r\\n Criteria criteria = createCriteriaInternal();\\r\\n oredCriteria.add(criteria);\\r\\n return criteria;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ac98cf3d864ab8c7f5e641c0d57346\",\n \"score\": \"0.7117834\",\n \"text\": \"public Criteria or() {\\r\\n Criteria criteria = createCriteriaInternal();\\r\\n oredCriteria.add(criteria);\\r\\n return criteria;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ac98cf3d864ab8c7f5e641c0d57346\",\n \"score\": \"0.7117834\",\n \"text\": \"public Criteria or() {\\r\\n Criteria criteria = createCriteriaInternal();\\r\\n oredCriteria.add(criteria);\\r\\n return criteria;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ac98cf3d864ab8c7f5e641c0d57346\",\n \"score\": \"0.7117834\",\n \"text\": \"public Criteria or() {\\r\\n Criteria criteria = createCriteriaInternal();\\r\\n oredCriteria.add(criteria);\\r\\n return criteria;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ac98cf3d864ab8c7f5e641c0d57346\",\n \"score\": \"0.7117834\",\n \"text\": \"public Criteria or() {\\r\\n Criteria criteria = createCriteriaInternal();\\r\\n oredCriteria.add(criteria);\\r\\n return criteria;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ac98cf3d864ab8c7f5e641c0d57346\",\n \"score\": \"0.7117834\",\n \"text\": \"public Criteria or() {\\r\\n Criteria criteria = createCriteriaInternal();\\r\\n oredCriteria.add(criteria);\\r\\n return criteria;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ac98cf3d864ab8c7f5e641c0d57346\",\n \"score\": \"0.7117834\",\n \"text\": \"public Criteria or() {\\r\\n Criteria criteria = createCriteriaInternal();\\r\\n oredCriteria.add(criteria);\\r\\n return criteria;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ac98cf3d864ab8c7f5e641c0d57346\",\n \"score\": \"0.7117834\",\n \"text\": \"public Criteria or() {\\r\\n Criteria criteria = createCriteriaInternal();\\r\\n oredCriteria.add(criteria);\\r\\n return criteria;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ac98cf3d864ab8c7f5e641c0d57346\",\n \"score\": \"0.7117834\",\n \"text\": \"public Criteria or() {\\r\\n Criteria criteria = createCriteriaInternal();\\r\\n oredCriteria.add(criteria);\\r\\n return criteria;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ac98cf3d864ab8c7f5e641c0d57346\",\n \"score\": \"0.7117834\",\n \"text\": \"public Criteria or() {\\r\\n Criteria criteria = createCriteriaInternal();\\r\\n oredCriteria.add(criteria);\\r\\n return criteria;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ac98cf3d864ab8c7f5e641c0d57346\",\n \"score\": \"0.7117834\",\n \"text\": \"public Criteria or() {\\r\\n Criteria criteria = createCriteriaInternal();\\r\\n oredCriteria.add(criteria);\\r\\n return criteria;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ac98cf3d864ab8c7f5e641c0d57346\",\n \"score\": \"0.7117834\",\n \"text\": \"public Criteria or() {\\r\\n Criteria criteria = createCriteriaInternal();\\r\\n oredCriteria.add(criteria);\\r\\n return criteria;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ac98cf3d864ab8c7f5e641c0d57346\",\n \"score\": \"0.7117834\",\n \"text\": \"public Criteria or() {\\r\\n Criteria criteria = createCriteriaInternal();\\r\\n oredCriteria.add(criteria);\\r\\n return criteria;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ac98cf3d864ab8c7f5e641c0d57346\",\n \"score\": \"0.7117834\",\n \"text\": \"public Criteria or() {\\r\\n Criteria criteria = createCriteriaInternal();\\r\\n oredCriteria.add(criteria);\\r\\n return criteria;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ac98cf3d864ab8c7f5e641c0d57346\",\n \"score\": \"0.7117834\",\n \"text\": \"public Criteria or() {\\r\\n Criteria criteria = createCriteriaInternal();\\r\\n oredCriteria.add(criteria);\\r\\n return criteria;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ac98cf3d864ab8c7f5e641c0d57346\",\n \"score\": \"0.7117834\",\n \"text\": \"public Criteria or() {\\r\\n Criteria criteria = createCriteriaInternal();\\r\\n oredCriteria.add(criteria);\\r\\n return criteria;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ac98cf3d864ab8c7f5e641c0d57346\",\n \"score\": \"0.7117834\",\n \"text\": \"public Criteria or() {\\r\\n Criteria criteria = createCriteriaInternal();\\r\\n oredCriteria.add(criteria);\\r\\n return criteria;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ac98cf3d864ab8c7f5e641c0d57346\",\n \"score\": \"0.7117834\",\n \"text\": \"public Criteria or() {\\r\\n Criteria criteria = createCriteriaInternal();\\r\\n oredCriteria.add(criteria);\\r\\n return criteria;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ac98cf3d864ab8c7f5e641c0d57346\",\n \"score\": \"0.7117834\",\n \"text\": \"public Criteria or() {\\r\\n Criteria criteria = createCriteriaInternal();\\r\\n oredCriteria.add(criteria);\\r\\n return criteria;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ac98cf3d864ab8c7f5e641c0d57346\",\n \"score\": \"0.7117834\",\n \"text\": \"public Criteria or() {\\r\\n Criteria criteria = createCriteriaInternal();\\r\\n oredCriteria.add(criteria);\\r\\n return criteria;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ac98cf3d864ab8c7f5e641c0d57346\",\n \"score\": \"0.7117834\",\n \"text\": \"public Criteria or() {\\r\\n Criteria criteria = createCriteriaInternal();\\r\\n oredCriteria.add(criteria);\\r\\n return criteria;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ac98cf3d864ab8c7f5e641c0d57346\",\n \"score\": \"0.7117834\",\n \"text\": \"public Criteria or() {\\r\\n Criteria criteria = createCriteriaInternal();\\r\\n oredCriteria.add(criteria);\\r\\n return criteria;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ac98cf3d864ab8c7f5e641c0d57346\",\n \"score\": \"0.7117834\",\n \"text\": \"public Criteria or() {\\r\\n Criteria criteria = createCriteriaInternal();\\r\\n oredCriteria.add(criteria);\\r\\n return criteria;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ac98cf3d864ab8c7f5e641c0d57346\",\n \"score\": \"0.7117834\",\n \"text\": \"public Criteria or() {\\r\\n Criteria criteria = createCriteriaInternal();\\r\\n oredCriteria.add(criteria);\\r\\n return criteria;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ac98cf3d864ab8c7f5e641c0d57346\",\n \"score\": \"0.7117834\",\n \"text\": \"public Criteria or() {\\r\\n Criteria criteria = createCriteriaInternal();\\r\\n oredCriteria.add(criteria);\\r\\n return criteria;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ac98cf3d864ab8c7f5e641c0d57346\",\n \"score\": \"0.7117834\",\n \"text\": \"public Criteria or() {\\r\\n Criteria criteria = createCriteriaInternal();\\r\\n oredCriteria.add(criteria);\\r\\n return criteria;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ac98cf3d864ab8c7f5e641c0d57346\",\n \"score\": \"0.7117834\",\n \"text\": \"public Criteria or() {\\r\\n Criteria criteria = createCriteriaInternal();\\r\\n oredCriteria.add(criteria);\\r\\n return criteria;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ac98cf3d864ab8c7f5e641c0d57346\",\n \"score\": \"0.7117834\",\n \"text\": \"public Criteria or() {\\r\\n Criteria criteria = createCriteriaInternal();\\r\\n oredCriteria.add(criteria);\\r\\n return criteria;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ac98cf3d864ab8c7f5e641c0d57346\",\n \"score\": \"0.7117834\",\n \"text\": \"public Criteria or() {\\r\\n Criteria criteria = createCriteriaInternal();\\r\\n oredCriteria.add(criteria);\\r\\n return criteria;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ac98cf3d864ab8c7f5e641c0d57346\",\n \"score\": \"0.7117834\",\n \"text\": \"public Criteria or() {\\r\\n Criteria criteria = createCriteriaInternal();\\r\\n oredCriteria.add(criteria);\\r\\n return criteria;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ac98cf3d864ab8c7f5e641c0d57346\",\n \"score\": \"0.7117834\",\n \"text\": \"public Criteria or() {\\r\\n Criteria criteria = createCriteriaInternal();\\r\\n oredCriteria.add(criteria);\\r\\n return criteria;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ac98cf3d864ab8c7f5e641c0d57346\",\n \"score\": \"0.7117834\",\n \"text\": \"public Criteria or() {\\r\\n Criteria criteria = createCriteriaInternal();\\r\\n oredCriteria.add(criteria);\\r\\n return criteria;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75570584ebb5f67d24f08b069e85d78c\",\n \"score\": \"0.71138936\",\n \"text\": \"public Criteria or() {\\n Criteria criteria = createCriteriaInternal();\\n oredCriteria.add(criteria);\\n return criteria;\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":365,"cells":{"query_id":{"kind":"string","value":"84121892166ebb58a7c25f913917f9be"},"query":{"kind":"string","value":"perform actions when a button is pressed in RPS GUI"},"positive_passages":{"kind":"list like","value":[{"docid":"0f6f489dc2891083e1aa554ad769a2d9","score":"0.0","text":"public void actionPerformed(ActionEvent e)\n\t\t{\n\t\t\tif(e.getSource() == btnShoot)\n\t\t\t{\n\t\t\t\tif(btnRock.isSelected())\n\t\t\t\t{\n\t\t\t\t\tuser.setWeapon(\"Rock\");\n\t\t\t\t\tuserWeaponLabel.setText(\"Rock\");\n\t\t\t\t\tSystem.out.println(\"user selected rock\");\n\n\t\t\t\t\ttry{\n\t\t\t\t\t\tuserWeaponImage = ImageIO.read(new File(\"rock.jpeg\"));\n\t\t\t\t\t\tuserWeaponLabel.setIcon( new ImageIcon(userWeaponImage));\n\n\t\t\t\t\t}\n\t\t\t\t\tcatch(IOException ioe)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.println(\"rock image failed to load\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(btnPaper.isSelected())\n\t\t\t\t{\n\t\t\t\t\tuser.setWeapon(\"Paper\");\n\t\t\t\t\tSystem.out.println(\"user selected paper\");\n\t\t\t\t\tuserWeaponLabel.setText(\"Paper\");\n\n\t\t\t\t\ttry{\n\t\t\t\t\t\tuserWeaponImage = ImageIO.read(new File(\"paper.jpeg\"));\n\t\t\t\t\t\tuserWeaponLabel.setIcon( new ImageIcon(userWeaponImage));\n\t\t\t\t\t}\n\t\t\t\t\tcatch(IOException ioe)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.println(\"paper image failed to load\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(btnScissors.isSelected())\n\t\t\t\t{\n\t\t\t\t\tuser.setWeapon(\"Scissors\");\n\t\t\t\t\tSystem.out.println(\"user selected scissors\");\n\t\t\t\t\tuserWeaponLabel.setText(\"Scissors\");\n\n\t\t\t\t\ttry{\n\t\t\t\t\t\tuserWeaponImage = ImageIO.read(new File(\"scissors.jpeg\"));\n\t\t\t\t\t\tuserWeaponLabel.setIcon( new ImageIcon(userWeaponImage));\n\n\t\t\t\t\t}\n\t\t\t\t\tcatch(IOException ioe)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.println(\"scissors image failed to load\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\ttry{\n\t\t\t\t\tcpuWeaponLabel = cpuChooseWeapon(cpu, cpuWeaponLabel);\n\t\t\t\t\tcpu.setWeapon(cpuWeaponLabel.getText());\n\t\t\t\t}\n\t\t\t\tcatch(IOException ioe){System.out.println(ioe);}\n\n\t\t\t\tvictorLabel.setText(\"Winner is: \");\n\t\t\t\tvictorLabel.setText( victorLabel.getText() + decideWinner(user, cpu));\n\n\t\t\t}\n\t\t}","title":""}],"string":"[\n {\n \"docid\": \"0f6f489dc2891083e1aa554ad769a2d9\",\n \"score\": \"0.0\",\n \"text\": \"public void actionPerformed(ActionEvent e)\\n\\t\\t{\\n\\t\\t\\tif(e.getSource() == btnShoot)\\n\\t\\t\\t{\\n\\t\\t\\t\\tif(btnRock.isSelected())\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\tuser.setWeapon(\\\"Rock\\\");\\n\\t\\t\\t\\t\\tuserWeaponLabel.setText(\\\"Rock\\\");\\n\\t\\t\\t\\t\\tSystem.out.println(\\\"user selected rock\\\");\\n\\n\\t\\t\\t\\t\\ttry{\\n\\t\\t\\t\\t\\t\\tuserWeaponImage = ImageIO.read(new File(\\\"rock.jpeg\\\"));\\n\\t\\t\\t\\t\\t\\tuserWeaponLabel.setIcon( new ImageIcon(userWeaponImage));\\n\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tcatch(IOException ioe)\\n\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\tSystem.out.println(\\\"rock image failed to load\\\");\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\telse if(btnPaper.isSelected())\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\tuser.setWeapon(\\\"Paper\\\");\\n\\t\\t\\t\\t\\tSystem.out.println(\\\"user selected paper\\\");\\n\\t\\t\\t\\t\\tuserWeaponLabel.setText(\\\"Paper\\\");\\n\\n\\t\\t\\t\\t\\ttry{\\n\\t\\t\\t\\t\\t\\tuserWeaponImage = ImageIO.read(new File(\\\"paper.jpeg\\\"));\\n\\t\\t\\t\\t\\t\\tuserWeaponLabel.setIcon( new ImageIcon(userWeaponImage));\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tcatch(IOException ioe)\\n\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\tSystem.out.println(\\\"paper image failed to load\\\");\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\telse if(btnScissors.isSelected())\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\tuser.setWeapon(\\\"Scissors\\\");\\n\\t\\t\\t\\t\\tSystem.out.println(\\\"user selected scissors\\\");\\n\\t\\t\\t\\t\\tuserWeaponLabel.setText(\\\"Scissors\\\");\\n\\n\\t\\t\\t\\t\\ttry{\\n\\t\\t\\t\\t\\t\\tuserWeaponImage = ImageIO.read(new File(\\\"scissors.jpeg\\\"));\\n\\t\\t\\t\\t\\t\\tuserWeaponLabel.setIcon( new ImageIcon(userWeaponImage));\\n\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tcatch(IOException ioe)\\n\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\tSystem.out.println(\\\"scissors image failed to load\\\");\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\ttry{\\n\\t\\t\\t\\t\\tcpuWeaponLabel = cpuChooseWeapon(cpu, cpuWeaponLabel);\\n\\t\\t\\t\\t\\tcpu.setWeapon(cpuWeaponLabel.getText());\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tcatch(IOException ioe){System.out.println(ioe);}\\n\\n\\t\\t\\t\\tvictorLabel.setText(\\\"Winner is: \\\");\\n\\t\\t\\t\\tvictorLabel.setText( victorLabel.getText() + decideWinner(user, cpu));\\n\\n\\t\\t\\t}\\n\\t\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"5931500510cd0822d8d89b019d7ecc5f","score":"0.7226627","text":"public void buttonPressed(ActionEvent event) {\n String buttonID = ((Button) event.getSource()).getId();\n\n switch(buttonID)\n {\n case \"setupMtgButton\" : new ApiDialog(Global.dashboardStage,false, Constant.MTGOX).show(); break;\n case \"setupBtceBtn\" : new ApiDialog(Global.dashboardStage,false, Constant.BTCE).show(); break;\n case \"setupBitstampBtn\" : new ApiDialog(Global.dashboardStage,false, Constant.BITSTAMP).show(); break;\n default : Utils.log(\"Calling buttonPressed with wrong id : \"+buttonID, Utils.LOG_ERR); break;\n }\n }","title":""},{"docid":"94f52f0244c209388644628a13081d3d","score":"0.7141812","text":"@Override\r\n\tpublic void buttonClick(String button) {\n\r\n\t}","title":""},{"docid":"2c2fefd1b60aa18cba1f9eb5b547c46b","score":"0.7094355","text":"public void action(){\n button.setOnAction(event);\n // when button is pressed\n button4.setOnAction(event4);\n }","title":""},{"docid":"259cfb896fed4080b0ed7a05ec1b8be0","score":"0.701101","text":"public void doButton( ActionEvent event )\n {\n if (running == false){\n new ConnectionThread (this);\n }\n else{\n serverContinue = false;\n ssButton.setText (\"Start Listening\");\n portInfo.setText (\" Not Listening \");\n }\n }","title":""},{"docid":"1f70d3fcb948cf8ebc3733f4ed44e9bc","score":"0.6974391","text":"public void buttonPressed(boolean powerbutton)\n\t{\n\t}","title":""},{"docid":"eaf9ad13455d448fcb01e932b9b5f376","score":"0.6962856","text":"static void RecButtonPressed(java.awt.event.ActionEvent event) {\r\n\t\tController.DisplayRectangle();\r\n\t\tmainPanel.updateUI();\r\n\t}","title":""},{"docid":"8a8aefab6d7bf8f5888cb8b868b87912","score":"0.6915464","text":"void onButtonPressed(int button);","title":""},{"docid":"c6c42aa7acc3488a1e3cb90628fe1336","score":"0.6906886","text":"public void buttonWasPressed() {\n\t\tslot.execute();\n\t}","title":""},{"docid":"13d80ad950a0d3c1daf69d385f8c7b78","score":"0.6899313","text":"private void handleButtonsEvents() {\n }","title":""},{"docid":"ee2afdf2b2bb98660f9b5dcae35855fb","score":"0.68703866","text":"@Override\r\n\tpublic void notifyButtonPressed() {\n\t\t\r\n\t}","title":""},{"docid":"807d2209c2993ce28a86c8147f3817f9","score":"0.6855525","text":"public void processButton(){\n\t\t\n\t\tnew Thread(new Runnable() {\n\t\t\t@Override\n\t\t\tpublic void run() {\n\t\t\t\tsendFrame();\n\t\t\t\t//releaseListeners();\n\t\t\t}\n\t\t}).start();\n\t}","title":""},{"docid":"fb7e6312736b119ec4c182cd49bfd141","score":"0.68468547","text":"void executeButton_actionPerformed(java.awt.event.ActionEvent event)\n\t{\n\t\t\t \n\t\texecuteButton_actionPerformed_Interaction1(event);\n\t}","title":""},{"docid":"db1dcd4018bf1107ebbe5829fd6bd46f","score":"0.6833506","text":"@Override\r\n public void execute(int btnPressed) {\n \r\n }","title":""},{"docid":"54aaf3cf295740baf06b954c16c702c2","score":"0.6825747","text":"private void button1ActionPerformed(ActionEvent e) {\n }","title":""},{"docid":"54aaf3cf295740baf06b954c16c702c2","score":"0.6825747","text":"private void button1ActionPerformed(ActionEvent e) {\n }","title":""},{"docid":"54aaf3cf295740baf06b954c16c702c2","score":"0.6825747","text":"private void button1ActionPerformed(ActionEvent e) {\n }","title":""},{"docid":"610bae466a6558552639d00ef1ce9be2","score":"0.6765383","text":"void buttonClicked(EDAButtonEvent e);","title":""},{"docid":"6cf94ed9995e12e355b48bddecf1944f","score":"0.67573255","text":"void applyPressed(ActionEvent ev);","title":""},{"docid":"29d433464b4f35eb8e1c25d31ea4996a","score":"0.6736755","text":"protected void actionPerformed(GuiButton button) throws IOException {\n/* 111 */ if (button.id == 69)\n/* */ {\n/* 113 */ (Client.getModule(\"ChestSteal\")).toggled = false;\n/* */ }\n/* */ \n/* 116 */ if (button.id == 54)\n/* */ {\n/* 118 */ (Client.getModule(\"KillAura\")).toggled = false;\n/* */ }\n/* */ }","title":""},{"docid":"081083af1d8e032acad5820d4537d6b7","score":"0.67289543","text":"private void buttonListener() {\n\t\t// listens to buttons and make decision based on what is pressed or if\n\t\t// game is prompting\n\t\tswitch (bS) {\n\t\tcase uninitiated:\n\t\t\tif (startButton.getModel().isPressed()) {\n\t\t\t\tbS = buttonState.startP;\n\t\t\t\tprompt();\n\t\t\t} else if (hTP.getModel().isPressed()) {\n\t\t\t\thideMenus();\n\t\t\t\thTPMENU.setVisible(true);\n\t\t\t} else if (settings.getModel().isPressed()) {\n\t\t\t\thideMenus();\n\t\t\t\tsettingsMenu.setVisible(true);\n\t\t\t\tupButton.setVisible(true);\n\t\t\t\tdownButton.setVisible(true);\n\t\t\t\trightButton.setVisible(true);\n\t\t\t\tleftButton.setVisible(true);\n\t\t\t} else if (credits.getModel().isPressed()) {\n\t\t\t\thideMenus();\n\t\t\t\tcreditsMenu.setVisible(true);\n\t\t\t} else if (exit.getModel().isPressed()) {\n\t\t\t\tbS = buttonState.quitP;\n\t\t\t\tprompt();\n\t\t\t}\n\t\t\tbreak;\n\t\tcase standard:\n\t\t\tif (startButton.getModel().isPressed()) {\n\t\t\t\tbS = buttonState.notVis;\n\t\t\t\tgS = gameState.unpaused;\n\t\t\t} else if (hTP.getModel().isPressed()) {\n\t\t\t\thideMenus();\n\t\t\t\thTPMENU.setVisible(true);\n\t\t\t} else if (settings.getModel().isPressed()) {\n\t\t\t\thideMenus();\n\t\t\t\tsettingsMenu.setVisible(true);\n\t\t\t\tupButton.setVisible(true);\n\t\t\t\tdownButton.setVisible(true);\n\t\t\t\trightButton.setVisible(true);\n\t\t\t\tleftButton.setVisible(true);\n\t\t\t} else if (credits.getModel().isPressed()) {\n\t\t\t\thideMenus();\n\t\t\t\tcreditsMenu.setVisible(true);\n\t\t\t} else if (exit.getModel().isPressed()) {\n\t\t\t\tbS = buttonState.quitP;\n\t\t\t\tprompt();\n\t\t\t}\n\t\t\t// } else if (upButton.getModel().isPressed()) {\n\t\t\t// bS = buttonState.changingButtons;\n\t\t\t// bCS = buttonChangingState.up;\n\t\t\t// } else if (downButton.getModel().isPressed()) {\n\t\t\t// bS = buttonState.changingButtons;\n\t\t\t// bCS = buttonChangingState.down;\n\t\t\t// } else if (rightButton.getModel().isPressed()) {\n\t\t\t// bS = buttonState.changingButtons;\n\t\t\t// bCS = buttonChangingState.right;\n\t\t\t// } else if (leftButton.getModel().isPressed()) {\n\t\t\t// bS = buttonState.changingButtons;\n\t\t\t// bCS = buttonChangingState.left;\n\n\t\t\tbreak;\n\t\tcase quitP:\n\t\t\t// if yes is pressed return variable true\n\t\t\tif (playPromptYes.getModel().isPressed()) {\n\t\t\t\tyesNoMenu.setVisible(false);\n\t\t\t\tplayPromptYes.setVisible(false);\n\t\t\t\tplayPromptNo.setVisible(false);\n\t\t\t\tSystem.exit(1);\n\t\t\t} else if (playPromptNo.getModel().isPressed()) {\n\t\t\t\tyesNoMenu.setVisible(false);\n\t\t\t\tplayPromptYes.setVisible(false);\n\t\t\t\tplayPromptNo.setVisible(false);\n\t\t\t\tbS = buttonState.standard;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase startP:\n\t\t\tif (playPromptYes.getModel().isPressed()) {\n\t\t\t\tyesNoMenu.setVisible(false);\n\t\t\t\tplayPromptYes.setVisible(false);\n\t\t\t\tplayPromptNo.setVisible(false);\n\t\t\t\tstartButton.setText(\"CONTINUE\");\n\t\t\t\tbS = buttonState.notVis;\n\t\t\t\tgS = gameState.unpaused;\n\t\t\t} else if (playPromptNo.getModel().isPressed()) {\n\t\t\t\tyesNoMenu.setVisible(false);\n\t\t\t\tplayPromptYes.setVisible(false);\n\t\t\t\tplayPromptNo.setVisible(false);\n\t\t\t\tbS = buttonState.standard;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase notVis:\n\t\t\t;\n\t\t\tbreak;\n\t\tcase changingButtons:\n\t\t\t// switch (bCS) {\n\t\t\t// case up:\n\t\t\t// upKey = nextPressed;\n\t\t\t// bS = buttonState.standard;\n\t\t\t// break;\n\t\t\t// case down:\n\t\t\t// downKey = nextPressed;\n\t\t\t// bS = buttonState.standard;\n\t\t\t// break;\n\t\t\t// case left:\n\t\t\t// leftKey = nextPressed;\n\t\t\t// bS = buttonState.standard;\n\t\t\t// break;\n\t\t\t// case right:\n\t\t\t// rightKey = nextPressed;\n\t\t\t// bS = buttonState.standard;\n\t\t\t// break;\n\t\t\t// case buy:\n\t\t\t// break;\n\t\t\t// case notChanging:\n\t\t\t// bS = buttonState.standard;\n\t\t\t// break;\n\t\t\t// default:\n\t\t\t// break;\n\t\t\t// }\n\t\t\tbreak;\n\t\t}\n\t}","title":""},{"docid":"b57c06b3a4697024a22c325ca0b0bb4c","score":"0.670501","text":"public void calsButton(ActionEvent event) {\n int index = 1;\n openGraphView(event,index);\n }","title":""},{"docid":"d37c6193aad35fe1fa74ff14058db925","score":"0.6701751","text":"@Override\n\t\t\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\t\tSystem.out.println(\"Button pressed!\");\n\t\t\t\t\t}","title":""},{"docid":"4ecb1681007797e82b710fff9f9df327","score":"0.66972274","text":"public void SEButtonActionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\n\t}","title":""},{"docid":"9647c1a88fa1b76b5a2c2ea90ddac54d","score":"0.66919434","text":"public void onPressed(Button button);","title":""},{"docid":"d661fbb8abfe983cc03e259d9ec38fd0","score":"0.6690109","text":"protected void actionPerformed(GuiButton par1GuiButton) {\n\t\tif (par1GuiButton.id == 0) {\n\t\t\tthis.mc.displayGuiScreen(new GuiMainMenu());\n\t\t} else if (par1GuiButton.id == 1) {\n\t\t\tthis.mc.shutdown();\n\t\t}\n\t}","title":""},{"docid":"ad7ea87b379922bdc31ccfa26f513685","score":"0.6682846","text":"public void buttonPressed() {\n\t\tPoint p = /*surface.actualCoordinatesToAssumed(*/new Point(surface.mouseX,surface.mouseY);\n\t\tif (button.contains(p)) {\n\t\t\tsurface.switchScreen(ScreenSwitcher.MENU_SCREEN);\n\t\t}\n\t}","title":""},{"docid":"7c715b5281cfc6dd04130e71239be3d7","score":"0.66814893","text":"public void buttonPerformed(String button)\n {\n if( button.equals(\"Start Line\") ) { startLine(); }\n else if( button.equals(\"Line Length\") ) { UI.println(\"Line Length: \" + totalLineLength + \" pixles\"); }\n else if( button.equals(\"Choose Image\") )\n {\n // Display popup to get new file location then set it to the background image\n // and redisplay the polyline\n String URL = UIFileChooser.open();\n setNewImage(URL);\n startLine();\n }\n }","title":""},{"docid":"d442257d35a5d7af2f8a80d8a9abf967","score":"0.66713214","text":"private void btnCancionActionPerformed(ActionEvent e) {\n\t}","title":""},{"docid":"0604c9318d33bf54c81af68ecf902770","score":"0.66518986","text":"private void btnCompaniaActionPerformed(ActionEvent e) {\n\t}","title":""},{"docid":"eb79fa98be17a79c08cbe0c49af04a93","score":"0.66502637","text":"private void huyBtnActionPerformed(java.awt.event.ActionEvent evt) {\n Huy();\n }","title":""},{"docid":"b19d304d41a9a917e08ce40401c018ee","score":"0.66369486","text":"public void actionRpress();","title":""},{"docid":"80d6e2948c31bfb65778793de112f8c5","score":"0.66331315","text":"static void BluButtonPressed(java.awt.event.ActionEvent event) {\r\n\t\tController.ChangeToBlue();\r\n\t\tmainPanel.updateUI();\r\n\t}","title":""},{"docid":"5469f426474896c0895d9faec3226041","score":"0.663076","text":"@Override\r\n\tpublic void controllerButtonPressed(int arg0, int arg1) {\n\r\n\t}","title":""},{"docid":"65fa573a69920e3e14dc70d62d5d2eb6","score":"0.6630691","text":"private void updateButtonClicked(){\n\t\r\n }","title":""},{"docid":"b05b52a26b4809b59b0a0a8f159d3292","score":"0.66155976","text":"@Override\r\n public void run() {\r\n GUIElementFactory.createActionItem(5, null, new ActionItem.ActionHandler() {\r\n @Override\r\n public void onClick(GUIClickEvent event) {\r\n\r\n }\r\n });\r\n }","title":""},{"docid":"5854947b563ea13789c76d4c9c5ae77f","score":"0.661159","text":"void generateScript1Button_actionPerformed(java.awt.event.ActionEvent event)\n\t{\n\t\t\t \n\t\tgenerateScript1Button_actionPerformed_Interaction1(event);\n\t}","title":""},{"docid":"288eb3d1a269e3761b89ba8c50a44887","score":"0.66110015","text":"@Override \n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t \t runProgram ();\n\t }","title":""},{"docid":"0a00d3767ed0c3e893edb5d16abf709a","score":"0.6608406","text":"protected void actionPerformed(GuiButton par1GuiButton)\n {\n if (par1GuiButton.enabled)\n {\n if (par1GuiButton.id == 2)\n {\n this.snooperGameSettings.saveOptions();\n this.snooperGameSettings.saveOptions();\n this.mc.displayGuiScreen(this.snooperGuiScreen);\n }\n\n if (par1GuiButton.id == 1)\n {\n this.snooperGameSettings.setOptionValue(EnumOptions.SNOOPER_ENABLED, 1);\n this.buttonAllowSnooping.displayString = this.snooperGameSettings.getKeyBinding(EnumOptions.SNOOPER_ENABLED);\n }\n }\n }","title":""},{"docid":"a60170a56f8ff766edfac79fa6024fd7","score":"0.6596253","text":"@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tnoteScreen(\"\", \"\");\t\r\n\t\t\t\tmakeButtonPanel();\r\n\t\t\t}","title":""},{"docid":"80227882a3e6835919d8311eea709f1d","score":"0.65955067","text":"public void actionPerformed(ActionEvent event){\n if(event.getActionCommand().equals(\"Start\")){\r\n t.updateStatus(1);\r\n btn0.setText(\"Pause\");\r\n }else if(event.getActionCommand().equals(\"Pause\")){\r\n t.updateStatus(2);\r\n btn0.setText(\"Resume\");\r\n }else if(event.getActionCommand().equals(\"Resume\")){\r\n t.updateStatus(3);\r\n btn0.setText(\"Pause\");\r\n }else if(event.getActionCommand().equals(\"Reset\")){\r\n t.updateStatus(0);\r\n btn0.setText(\"Start\");\r\n }\r\n }","title":""},{"docid":"22d4f945351fbb4283ada7a5b62dec03","score":"0.6594775","text":"void setupWindowButtons();","title":""},{"docid":"5fd0e0888b9b6cefdb47d9b3bfa88904","score":"0.65869737","text":"@Override\n\t\t\tpublic void actionPerformed()\n\t\t\t{\n\n\t\t\t}","title":""},{"docid":"952f35da27b30c46154a12ed10b0b25a","score":"0.6584864","text":"public void CSButtonActionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\n\t}","title":""},{"docid":"210872af0eb43d119c1f29073ea66844","score":"0.6577968","text":"public void setupButtons() { \n }","title":""},{"docid":"c47e014a3d95b94309389819843f865c","score":"0.6576969","text":"private void dispGuiOnButton(){\n\t\tp.pushMatrix();\n\t\t\tp.image(this.demoDevIcons[((p.allFlagsSet(myConsts.demoDevMode, myConsts.renderDemoGui) || \n\t\t\t\t\t((p.allFlagsFalse(myConsts.demoDevMode))) && (p.allFlagsSet(myConsts.renderGui))) ? this.DemoMode+2 : this.DevMode+2)],this.globClickX/2.07f - 80, globClickY/2.05f - 20, 50,30); //40,20); \t\n\t\tp.popMatrix();\t\t\n\t}","title":""},{"docid":"19caeaafc693d27a98fa88f5c7dcb536","score":"0.65703064","text":"private void jButtonAffectRecommandActionPerformed(java.awt.event.ActionEvent evt) {\n }","title":""},{"docid":"bc647be0316501197735279abffd0856","score":"0.65678227","text":"public void clickButton()\n\t{\n\t\tGraphics\tg = this.getGraphics();\n\n\t\tif (button_image != null && g != null)\n\t\t{\n\t\t\t//***** Draw the rect in black\n\t\t\tg.fillRect(0,0,this.getSize().width, this.getSize().height);\n\n\t\t\t//***** Wait around briefly\n\t\t\ttry{Thread.sleep(20);}catch (Exception e){}\n\n\t\t\t//***** Restore the image\n\t\t\tupdateImage(g);\n\n\t\t\t//***** Get rid of the graphics context\n\t\t\tg.dispose();\n\t\t}\n\n\t\treturn;\n\n\t}","title":""},{"docid":"bdb767d584f9c822009ec85f64d18202","score":"0.6565005","text":"public void actionPerformed(ActionEvent event) {\r\n String command = event.getActionCommand();\r\n\r\n if (command.equals(\"OK\")) {\r\n\r\n if (setVariables()) {\r\n callAlgorithm();\r\n }\r\n } else if (command.equals(\"Cancel\")) {\r\n dispose();\r\n } else if (command.equals(\"Help\")) {\r\n //MipavUtil.showHelp(\"\");\r\n } \r\n }","title":""},{"docid":"0e2ed13392299d3a82be8cf8bf23f47e","score":"0.6561338","text":"void onButtonReleased(int button);","title":""},{"docid":"23aada2dcac456ac2235a99c51b57f4d","score":"0.6560579","text":"private void button1MouseClicked(MouseEvent e) {\n\n }","title":""},{"docid":"42046b2d08518478405d68808ee07707","score":"0.65585816","text":"public void buttonWasPressed(){\n slot.execute();\n }","title":""},{"docid":"f98c084dcbb3c67f7f62bc9922cebab1","score":"0.65545666","text":"static void YelButtonPressed(java.awt.event.ActionEvent event) {\r\n\t\tController.ChangeToYellow();\r\n\t\tmainPanel.updateUI();\r\n\t}","title":""},{"docid":"c6eabcf4e8eafb990284ad8039d6f205","score":"0.654341","text":"public void actionPerformed(){}","title":""},{"docid":"fc94183622b0a651e38cfa4edb5c0243","score":"0.6539516","text":"public void actionPerformed(ActionEvent event) {\r\n String command = event.getActionCommand();\r\n\r\n if (command.equals(\"OK\")) {\r\n\r\n if (setVariables()) {\r\n callAlgorithm();\r\n }\r\n } else if (command.equals(\"Cancel\")) {\r\n dispose();\r\n } else if (command.equals(\"Help\")) {\r\n //MipavUtil.showHelp(\"10040\");\r\n MipavUtil.showWebHelp(\"Registration:_Landmark-Least_Squares\");\r\n } else {\r\n super.actionPerformed(event);\r\n }\r\n }","title":""},{"docid":"1129c3adde42c5cce920414ff7c48298","score":"0.65363836","text":"public void actionPerformed(ActionEvent e) {\n fireButtonClicked(e.getSource(), e.getActionCommand());\n }","title":""},{"docid":"7ae341d9b0ffcdd598ecd63122c6998f","score":"0.65355927","text":"@FXML\n\tprivate void buttonPressed(ActionEvent e) {\n\n\t\tNode node = (Node) e.getSource();\n\t\tInteger nodeCol = 0;\n\t\tInteger nodeRow = GridPane.getRowIndex(node)-1;\n\t\t\n\t\tAskQuestionInternationalService askQuestion = new AskQuestionInternationalService();\n\t\t\taskQuestion.setCatAndClue(nodeCol, nodeRow);\n\t\t\taskQuestion.start();\n\t\t}","title":""},{"docid":"eb3208e7302dbd4603e77f15cd667a81","score":"0.6519715","text":"public void action1press();","title":""},{"docid":"adc42b234c0d829c2699b659851c028e","score":"0.6510518","text":"private void on_button_test_click(){\r\n\t\tJOptionPane.showMessageDialog(this, \"Click\");\r\n\t}","title":""},{"docid":"5b09c8814248a698dc5cc9615ddedfa5","score":"0.65061045","text":"private void jButton1ActionPerformed(ActionEvent e) {\n }","title":""},{"docid":"03dc45b9464c7a2831d1d7e6d14085f1","score":"0.650005","text":"public void actionPerformed(ActionEvent e)\n {\n String screenToPaint; //variable to store what's written on the button\n \n screenToPaint = e.getActionCommand(); //gets what is written on the button and store in screenToPaint variable\n \n if(screenToPaint.equals(\"Kinematics Pt1\"))\n {\n this.theGUI.displayK1Eqns(); //display k1 equations page\n } //end else if\n \n else if(screenToPaint.equals(\"Kinematics Pt2\"))\n {\n this.theGUI.displayK2Eqns(); //display k2 equations page\n } //end else if\n \n else if(screenToPaint.equals(\"Forces & Dynamics\"))\n {\n this.theGUI.displayFDEqns(); //display forces and dynamics equations page\n } //end else if\n \n else if(screenToPaint.equals(\"Conversions\"))\n {\n this.theGUI.displayCCUnits(); //display conversions unit page\n } //end else if \n \n }","title":""},{"docid":"ffb5246e906125e75e2cb0c697085a1c","score":"0.6497195","text":"static void RedButtonPressed(java.awt.event.ActionEvent event) {\r\n\t\tController.ChangeToRed();\r\n\t\tmainPanel.updateUI();\r\n\t}","title":""},{"docid":"121c67f73ec2cf6ec86da5fd87d576e2","score":"0.6493449","text":"public void actionPerformed(ActionEvent event){\n\n\tif(event.getSource() == buttonqr) {save_key_clipboard();}\n\n\tif(event.getSource() == exit_save) {settingsx[9] = \"1\"; savex(); xmining = 0; systemx.shutdown(); System.exit(0);}\n\tif(event.getSource() == exit) {System.exit(0);}\n\tif(event.getSource() == edit_token) {edit_item xx = new edit_item();}\n\tif(event.getSource() == node_status) {}\n\tif(event.getSource() == edit_get_ids) {get_ids();}\n\tif(event.getSource() == database_test) {testDatabase();}\n\n\tif(event.getSource() == account_public_key) {save_pub_key_clipboard();}\n\tif(event.getSource() == account_private_key) {save_pri_key_clipboard();}\n\tif(event.getSource() == account_import) {import_private_key();}\n\n\tif(event.getSource() == all_yes) {settingsx[7] = \"1\"; savex();}\n\tif(event.getSource() == x100_yes) {settingsx[7] = \"0\"; savex();}\n\n\tif(event.getSource() == nodes_yes) {settingsx[8] = \"1\"; savex();}\n\tif(event.getSource() == nodes_no) {settingsx[8] = \"0\"; savex();}\n\n\tif(event.getSource() == tools_new_keys) {get_new_keys();}\n\tif(event.getSource() == tools_print_blocks) {}\n\n\tif(event.getSource() == button1) {}\n\tif(event.getSource() == button2) {}\n\tif(event.getSource() == button3) {}\n\tif(event.getSource() == button4) {}\n\tif(event.getSource() == button5) {}\n\tif(event.getSource() == button6) {}\n\tif(event.getSource() == button7) {}\n\n\tif(event.getSource() == runx) {run_commandx();}\n\n\tif(event.getSource() == node_import) {set_new_node();}\n\tif(event.getSource() == node_delete) {delete_node();}\n\tif(event.getSource() == node_delete_all) {delete_network();}\n\n}","title":""},{"docid":"5f09d2de0e4ee67a13f9dd150cb30ac1","score":"0.64894336","text":"@Override\n public void actionPerformed(ActionEvent e) {\n if(e.getActionCommand().equals(OPCION_1)){\n System.out.println(\"hola\");\n }else if (e.getActionCommand().equals(BTN_ADD_CURSO)){\n System.out.println(\"Agregar un curso\");\n }\n\n\n \n }","title":""},{"docid":"25f20c0c10e4d3298f012f275f45c16b","score":"0.6483839","text":"private void button_MatchesActionPerformed(ActionEvent e) {\n\t\tMain1.matchesScreen();\n\t}","title":""},{"docid":"77cb8bbc28f2d4f2b58f4d7edb61be4c","score":"0.64799243","text":"private void btnArtistaActionPerformed(ActionEvent e) {\n\t}","title":""},{"docid":"38c32942dda2e436b7446009e6be81b6","score":"0.6478631","text":"void okPressed(ActionEvent ev);","title":""},{"docid":"a94558f92a68ab73e50c746d5b9cbd0a","score":"0.6471769","text":"@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\n\t\tif (e.getSource() == jb1) {\n\t\t\tJOptionPane.showMessageDialog(null, \"Is your refrigerator running?\");\n\t\t}\n\n\t\telse if (e.getSource() == jb2) {\n\t\t\tJOptionPane.showMessageDialog(null, \"Well you better go catch it!\");\n\t\t}\n\n\t}","title":""},{"docid":"5ccf52cf1d75f0113659577c560a1670","score":"0.6461431","text":"private void registLearnButton() {\n }","title":""},{"docid":"f029dd9a4f5c4ae91baf3573ef6b80f9","score":"0.6451007","text":"private void btnGeneroActionPerformed(ActionEvent e) {\n\t}","title":""},{"docid":"5d48304e70cd9e8d9cf52b9f2f4cff4b","score":"0.64506185","text":"@Override\r\n\tpublic void buttonClick(ClickEvent event) {\n\t\t\r\n\t}","title":""},{"docid":"ee86e9546648214afe58e8bc3373351f","score":"0.64489496","text":"public void actionPerformed (ActionEvent evt){\n //gets the source of the button pressed\n Object src = evt.getSource(); \n if(src == doneButton){ \n doneButtonScreen(); \n }\n else if (src == nextStudentButton){\n nextButtonScreen();\n }\n }","title":""},{"docid":"bc249e282a7907fa3b767ba163b94631","score":"0.64244676","text":"@Override\n\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\tstatutPointeur();\n\t\t}","title":""},{"docid":"338598d6f128c9abf8961da8f3b73989","score":"0.64187616","text":"@Override\n\t\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\t\t\n\t\t\t\t}","title":""},{"docid":"338598d6f128c9abf8961da8f3b73989","score":"0.64187616","text":"@Override\n\t\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\t\t\n\t\t\t\t}","title":""},{"docid":"bb6d4009c972d6eb5f70d67e1a078e1a","score":"0.6417117","text":"protected void actionPerformed(GuiButton guibutton)\n {\n }","title":""},{"docid":"7906fc45094c71fa5f8110275a38f8e7","score":"0.6415658","text":"@NiftyEventSubscriber(pattern=\"highscore.btn.*\")\n public void onButton( String id, ButtonClickedEvent event )\n {\n if( id.compareTo(\"highscore.btn.again\")==0 )\n {\n m_game.initRun();\n m_goto = \"countdown3\";\n }\n else if( id.compareTo(\"highscore.btn.settings\")==0 )\n {\n m_goto = \"game\";\n }\n }","title":""},{"docid":"ab36959730f408e41ce42104e403017e","score":"0.64103574","text":"public void actionPerformed(ActionEvent event) {\r\n String command = event.getActionCommand();\r\n\r\n if (command.equals(\"OK\")) {\r\n\r\n if (setVariables()) {\r\n callAlgorithm();\r\n }\r\n } else if (command.equals(\"Cancel\")) {\r\n dispose();\r\n } else if (command.equals(\"Help\")) {\r\n //MipavUtil.showHelp(\"U4025\");\r\n MipavUtil.showWebHelp(\"Masking_(filling)_images\");\r\n } else {\r\n super.actionPerformed(event);\r\n }\r\n }","title":""},{"docid":"027d06b451c6e8eea29c3f94217cf1db","score":"0.64097166","text":"botaoRetangulo.getModel().setPressed(true);","title":""},{"docid":"a34652b84a655132f17643db612d82fb","score":"0.6399332","text":"public void clickButton(int i)\n {\n if(i==0){\n //\t buttons.addElement( this.enterButton);\n \t\tString command=commandFieldArea.getText();\n\t \tif(command.equals(\"\")) return;\n\t \tint startTime=communicationNode.eventRecorder.timer.getTime();\n\t \tString theMessage=\"\"+startTime + \",\" + command;\n\t \tthis.messagesArea.append(theMessage+\"\\n\");\n this.communicationNode.eventRecorder.recordMessage(theMessage);\n\t\t if(parse(command)){\n\t \t}\n\t\t else{\n\t\t this.messagesArea.append(\"failed\\n\");\n\t \t}\n\t \tclickButton(1); // clear\n\t \treturn;\n }\n else\n if(i==1){\n\t // buttons.addElement( this.clearButton);\n\t this.commandFieldArea.setText(\"\");\n\t return;\n\t }\n\t else\n\t if(i==2){\n//\t\tbuttons.addElement(this.collectNodesInformationButton);\n\t this.getNodesInfo();\n\t return;\n\t }\n\t else\n\t if(i==3){\n//\t\tbuttons.addElement(this.spawnworkerButton);\n\t this.commandFieldArea.setText(\"spawnworkers\");\n\t this.clickButton(0);\n\t return;\n\t }\n\t else\n\t if(i==4){\n//\t\tbuttons.addElement(this.executeButton);\n\t this.executeScript();\n\t return;\n\t }\n\t else\n\t if(i==5){\n//\t\tbuttons.addElement(this.helpButton);\n return;\n\t }\n\t else\n\t if(i==6){\n//\t\tbuttons.addElement(this.exitButton);\n//\t close();\n this.exitThis();\n\t }\n\t else\n\t if(i==7){\n//\t\tbuttons.addElement(this.generateScript1Button);\n\t this.script=new Vector();\n\t int combination=0;\n\t try{\n\t combination=(new Integer(this.combinationNumberArea.getText())).intValue();\n\t }\n\t catch(Exception e){}\n\t this.generateScript1(combination,nodes);\n\t }\n\t else\n\t if(i==8){\n\t \t // buttons.addElement( this.script2Button);\n\t this.script=new Vector();\n\t this.generateScript2(nodes);\n\t return;\n }\n else\n if(i==9){\n//\t\tbuttons.addElement(this.editScriptButton);\n this.openTextEditor(this);\n return;\n }\n else\n if(i==10){\n//\t\tbuttons.addElement(this.clearMessageButton);\n this.messagesArea.setText(\"\");\n return;\n }\n else\n if(i==11){\n//\t\tbuttons.addElement(this.copySelectedMessageButton);\n this.copyFromTheText(0); // 0:messageArea\n return;\n }\n else\n if(i==12){\n//\t\tbuttons.addElement(this.closeWorkersButton);\n\t this.commandFieldArea.setText(\"all quit\");\n\t this.clickButton(0);\n\t return;\n }\n }","title":""},{"docid":"f0eb0f28b8d69eb8b032224015fcc0de","score":"0.6398065","text":"private void jRbFirstActionPerformed(java.awt.event.ActionEvent evt) {\n\n }","title":""},{"docid":"75723ccb6aefb98a302870e8f00279c8","score":"0.63902307","text":"public void mouseClickedAtButton(int i)\n {\n if(i==0){\n //\t buttons.addElement( this.enterButton);\n \t\tString command=commandFieldArea.getText();\n\t \tif(command.equals(\"\")) return;\n\t \tint startTime=communicationNode.eventRecorder.timer.getTime();\n\t \tString theMessage=\"\"+startTime + \",\" + command;\n\t \tthis.messagesArea.append(theMessage+\"\\n\");\n\t \tthis.messagesArea.setCaretPosition(\n this.messagesArea.getText().length());\n\n this.communicationNode.eventRecorder.recordMessage(theMessage);\n\t\t if(parse(command)){\n\t \t}\n\t\t else{\n\t\t this.messagesArea.append(\"failed\\n\");\n this.messagesArea.setCaretPosition(\n this.messagesArea.getText().length());\n\n\t \t}\n\t \tclickButton(1); // clear\n\t \treturn;\n }\n else\n if(i==1){\n\t // buttons.addElement( this.clearButton);\n\t this.commandFieldArea.setText(\"\");\n\t return;\n\t }\n\t else\n\t if(i==2){\n//\t\tbuttons.addElement(this.collectNodesInformationButton);\n\t this.getNodesInfo();\n\t return;\n\t }\n\t else\n\t if(i==3){\n//\t\tbuttons.addElement(this.spawnworkerButton);\n\t this.commandFieldArea.setText(\"spawnworkers\");\n\t this.clickButton(0);\n\t return;\n\t }\n\t else\n\t if(i==4){\n//\t\tbuttons.addElement(this.executeButton);\n\t this.executeScript();\n\t return;\n\t }\n\t else\n\t if(i==5){\n//\t\tbuttons.addElement(this.helpButton);\n return;\n\t }\n\t else\n\t if(i==6){\n//\t\tbuttons.addElement(this.exitButton);\n//\t close();\n this.exitThis();\n\t }\n\t else\n\t if(i==7){\n//\t\tbuttons.addElement(this.generateScript1Button);\n\t this.script=new Vector();\n\t int combination=0;\n\t try{\n\t combination=(new Integer(this.combinationNumberArea.getText())).intValue();\n\t }\n\t catch(Exception e){}\n\t this.generateScript1(combination,nodes);\n\t }\n\t else\n\t if(i==8){\n\t \t // buttons.addElement( this.script2Button);\n\t this.script=new Vector();\n\t this.generateScript2(nodes);\n\t return;\n }\n else\n if(i==9){\n//\t\tbuttons.addElement(this.editScriptButton);\n this.openTextEditor(this);\n return;\n }\n else\n if(i==10){\n//\t\tbuttons.addElement(this.clearMessageButton);\n this.messagesArea.setText(\"\");\n return;\n }\n else\n if(i==11){\n//\t\tbuttons.addElement(this.copySelectedMessageButton);\n this.copyFromTheText(0); // 0:messageArea\n return;\n }\n else\n if(i==12){\n//\t\tbuttons.addElement(this.closeWorkersButton);\n\t this.commandFieldArea.setText(\"all quit\");\n\t this.clickButton(0);\n\t return;\n }\n }","title":""},{"docid":"cc819f94f0fe46407fec9ed079e0a6fb","score":"0.63897425","text":"public void buttonWasPushed( int slot )\r\n {\r\n commands[slot].execute();\r\n }","title":""},{"docid":"b1ec37bb077d5489feec18b8039f8888","score":"0.6389263","text":"void spawnworkerButton_actionPerformed(java.awt.event.ActionEvent event)\n\t{\n\t\t\t \n\t\tspawnworkerButton_actionPerformed_Interaction1(event);\n\t}","title":""},{"docid":"f1a0db89c6ef7f03be6f4a566dd1f019","score":"0.63859296","text":"void editScriptButton_actionPerformed(java.awt.event.ActionEvent event)\n\t{\n\t\t\t \n\t\teditScriptButton_actionPerformed_Interaction1(event);\n\t}","title":""},{"docid":"a0631f5c8adeb81e85c15545ca4108cd","score":"0.63828003","text":"public void customScriptAction() {\r\n System.out.println(\"Custom Action button clicked!\");\r\n }","title":""},{"docid":"edf83e6976ae9a3758f8b41c0a1ece13","score":"0.6382016","text":"private void button7MouseClicked(MouseEvent e) {\n }","title":""},{"docid":"e6f2a59a6995b67790c2794d50a7a657","score":"0.638189","text":"private void yesButtonActionPerformed(java.awt.event.ActionEvent evt) {\n \tSystem.out.println(\"Yes pressed!\");\n }","title":""},{"docid":"4ce754da32fd282a11b3c25109eed038","score":"0.63807935","text":"private void button3ActionPerformed(ActionEvent e) {\n }","title":""},{"docid":"ba944af84ae236490d9d765deb3893c3","score":"0.63806057","text":"public void buttonClicked (WizardEvents.WizardButtonEvent evt);","title":""},{"docid":"87b42024d4516afec4a51eccc836b230","score":"0.63766116","text":"public void actionPerformed(ActionEvent e)\n { /* actionPerformed */\n Button item= (Button)e.getSource();\n String cmd= e.getActionCommand();\n \n if (cmd.equals(\"Close\"))\n quit(); /* close window */\n \n else if(cmd.equals(\"Show HPs\"))\n {\n Util.saveCmdHistory(\"Show list of HP-E samples\", false);\n mae.hps.showHP_E_assignmentsPopup();\n }\n \n else if(cmd.equals(\"SaveAs\"))\n { /* Save Canvas as GIF image */\n String\n defGifDir= Util.rmvFinalSubDirectory(mae.defDir,\"Report\", true),\n oGifFileName= mae.em.promptFileName(\"Enter GIF file name\",\n defGifDir,\n \"maeExprProfilePlot.gif\",\n null, /* sub dir */\n \".gif\",\n true, /* saveMode*/\n true /* useFileDialog */\n );\n if(oGifFileName!=null)\n {\n Util.saveCmdHistory(\"Saved Expression Profile plot as \"+oGifFileName,\n false);\n eppl.epc.drawGifFile(oGifFileName);\n }\n }\n \n else if(zoomBarsButton==item)\n { /* zoom lines by 1X, 2X, 5X, 10X, 20X mod */\n eppl.epc.zoomBarsMag= Util.nextZoomMag(eppl.epc.zoomBarsMag,20);\n Util.saveCmdHistory(\"Setting Expression Profile zoom to \"+\n eppl.epc.zoomBarsMag+\"X\", false);\n zoomBarsButton.setLabel(eppl.epc.zoomBarsMag+\"X\");\n repaint();\n }\n \n else if(plotStyleButton==item)\n { /* zoom lines by 1X, 2X, 5X, 10X, 20X mod */\n eppl.epc.plotStyleMode= (eppl.epc.plotStyleMode+1)%3;\n String label= ((eppl.epc.plotStyleMode==0) \n ? \"Line\"\n : ((eppl.epc.plotStyleMode==1)\n ? \"Circle\" : \"Curve\"));\n Util.saveCmdHistory(\"Setting Expression Profile plot style to \"+label, false);\n plotStyleButton.setLabel(label);\n repaint();\n }\n }","title":""},{"docid":"012bf2f6a39e86938eccf3df46270848","score":"0.63758546","text":"public void start(){\n\t\tsetButtons();\n\t}","title":""},{"docid":"080d87b240cb4deda54946c791a62331","score":"0.6371622","text":"@Override\n public void actionPerformed(ActionEvent e) {\n System.out.println(String.format(\"%s button pressed\", e.getActionCommand()));\n }","title":""},{"docid":"d70d83ab542b5fc9ed9068f14c17787a","score":"0.6370305","text":"public void actionPerformed(ActionEvent e) {\n\t\t\t\txuLyXoa();\r\n\t\t\t}","title":""},{"docid":"321000bac856d3446017bb8ff64bfba3","score":"0.6359917","text":"public void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {\n }","title":""},{"docid":"8668e1ec4a90005bd1d8d2abd337b845","score":"0.63537914","text":"private void viewButtonClicked() {\n\t\r\n }","title":""},{"docid":"ffbab548291e54d76570437dcb0370ba","score":"0.6347386","text":"static void CirButtonPressed(java.awt.event.ActionEvent event) {\r\n\t\tController.DisplayCircle();\r\n\t\tmainPanel.updateUI();\r\n\t}","title":""},{"docid":"c682a9d59af427272cc6fcbfc26e1c20","score":"0.6345015","text":"public void actionPerformed(ActionEvent e) {}","title":""},{"docid":"efa744a633b55f8a61b90f99c5d9cf65","score":"0.63436216","text":"@Override\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t}","title":""},{"docid":"38ba94cd40c427bc81c41f8eb81125ce","score":"0.6343059","text":"@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tObject obj = e.getSource();\n\t\t\t\t\n\t\t\t\taddBtn();\n\t\t\t\t\n\t\t\t\t\n\t\t\t}","title":""},{"docid":"eb617ed196bc07f5a505ba9b55d5c455","score":"0.6334277","text":"@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\tServo obj2;\r\n\t\t\t\t//obj2 = new Servo();\r\n\t\t\t\t//temp.print_temp();\r\n\t\t\t\ttry {\r\n\t\t\t\t\tmain2.ph.go_to_floor(Config.LED_F1);\r\n\t\t\t\t\tSystem.out.println(\"[main2]: Lampe 1er étage\");\r\n\t\t\t\t} catch (PhidgetException | InterruptedException 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\t//obj2.close_system();\r\n\t\t\t\t\r\n\t\t\t}","title":""},{"docid":"5470c61aa5af6b0695c1cf6bb2d8b4bf","score":"0.63329786","text":"public void clickupdate() {\n\t\tupdateButton.click();\r\n\t\tinitial.click();\r\n\t}","title":""}],"string":"[\n {\n \"docid\": \"5931500510cd0822d8d89b019d7ecc5f\",\n \"score\": \"0.7226627\",\n \"text\": \"public void buttonPressed(ActionEvent event) {\\n String buttonID = ((Button) event.getSource()).getId();\\n\\n switch(buttonID)\\n {\\n case \\\"setupMtgButton\\\" : new ApiDialog(Global.dashboardStage,false, Constant.MTGOX).show(); break;\\n case \\\"setupBtceBtn\\\" : new ApiDialog(Global.dashboardStage,false, Constant.BTCE).show(); break;\\n case \\\"setupBitstampBtn\\\" : new ApiDialog(Global.dashboardStage,false, Constant.BITSTAMP).show(); break;\\n default : Utils.log(\\\"Calling buttonPressed with wrong id : \\\"+buttonID, Utils.LOG_ERR); break;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"94f52f0244c209388644628a13081d3d\",\n \"score\": \"0.7141812\",\n \"text\": \"@Override\\r\\n\\tpublic void buttonClick(String button) {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2c2fefd1b60aa18cba1f9eb5b547c46b\",\n \"score\": \"0.7094355\",\n \"text\": \"public void action(){\\n button.setOnAction(event);\\n // when button is pressed\\n button4.setOnAction(event4);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"259cfb896fed4080b0ed7a05ec1b8be0\",\n \"score\": \"0.701101\",\n \"text\": \"public void doButton( ActionEvent event )\\n {\\n if (running == false){\\n new ConnectionThread (this);\\n }\\n else{\\n serverContinue = false;\\n ssButton.setText (\\\"Start Listening\\\");\\n portInfo.setText (\\\" Not Listening \\\");\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f70d3fcb948cf8ebc3733f4ed44e9bc\",\n \"score\": \"0.6974391\",\n \"text\": \"public void buttonPressed(boolean powerbutton)\\n\\t{\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eaf9ad13455d448fcb01e932b9b5f376\",\n \"score\": \"0.6962856\",\n \"text\": \"static void RecButtonPressed(java.awt.event.ActionEvent event) {\\r\\n\\t\\tController.DisplayRectangle();\\r\\n\\t\\tmainPanel.updateUI();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8a8aefab6d7bf8f5888cb8b868b87912\",\n \"score\": \"0.6915464\",\n \"text\": \"void onButtonPressed(int button);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c6c42aa7acc3488a1e3cb90628fe1336\",\n \"score\": \"0.6906886\",\n \"text\": \"public void buttonWasPressed() {\\n\\t\\tslot.execute();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13d80ad950a0d3c1daf69d385f8c7b78\",\n \"score\": \"0.6899313\",\n \"text\": \"private void handleButtonsEvents() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ee2afdf2b2bb98660f9b5dcae35855fb\",\n \"score\": \"0.68703866\",\n \"text\": \"@Override\\r\\n\\tpublic void notifyButtonPressed() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"807d2209c2993ce28a86c8147f3817f9\",\n \"score\": \"0.6855525\",\n \"text\": \"public void processButton(){\\n\\t\\t\\n\\t\\tnew Thread(new Runnable() {\\n\\t\\t\\t@Override\\n\\t\\t\\tpublic void run() {\\n\\t\\t\\t\\tsendFrame();\\n\\t\\t\\t\\t//releaseListeners();\\n\\t\\t\\t}\\n\\t\\t}).start();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fb7e6312736b119ec4c182cd49bfd141\",\n \"score\": \"0.68468547\",\n \"text\": \"void executeButton_actionPerformed(java.awt.event.ActionEvent event)\\n\\t{\\n\\t\\t\\t \\n\\t\\texecuteButton_actionPerformed_Interaction1(event);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"db1dcd4018bf1107ebbe5829fd6bd46f\",\n \"score\": \"0.6833506\",\n \"text\": \"@Override\\r\\n public void execute(int btnPressed) {\\n \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54aaf3cf295740baf06b954c16c702c2\",\n \"score\": \"0.6825747\",\n \"text\": \"private void button1ActionPerformed(ActionEvent e) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54aaf3cf295740baf06b954c16c702c2\",\n \"score\": \"0.6825747\",\n \"text\": \"private void button1ActionPerformed(ActionEvent e) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54aaf3cf295740baf06b954c16c702c2\",\n \"score\": \"0.6825747\",\n \"text\": \"private void button1ActionPerformed(ActionEvent e) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"610bae466a6558552639d00ef1ce9be2\",\n \"score\": \"0.6765383\",\n \"text\": \"void buttonClicked(EDAButtonEvent e);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6cf94ed9995e12e355b48bddecf1944f\",\n \"score\": \"0.67573255\",\n \"text\": \"void applyPressed(ActionEvent ev);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"29d433464b4f35eb8e1c25d31ea4996a\",\n \"score\": \"0.6736755\",\n \"text\": \"protected void actionPerformed(GuiButton button) throws IOException {\\n/* 111 */ if (button.id == 69)\\n/* */ {\\n/* 113 */ (Client.getModule(\\\"ChestSteal\\\")).toggled = false;\\n/* */ }\\n/* */ \\n/* 116 */ if (button.id == 54)\\n/* */ {\\n/* 118 */ (Client.getModule(\\\"KillAura\\\")).toggled = false;\\n/* */ }\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"081083af1d8e032acad5820d4537d6b7\",\n \"score\": \"0.67289543\",\n \"text\": \"private void buttonListener() {\\n\\t\\t// listens to buttons and make decision based on what is pressed or if\\n\\t\\t// game is prompting\\n\\t\\tswitch (bS) {\\n\\t\\tcase uninitiated:\\n\\t\\t\\tif (startButton.getModel().isPressed()) {\\n\\t\\t\\t\\tbS = buttonState.startP;\\n\\t\\t\\t\\tprompt();\\n\\t\\t\\t} else if (hTP.getModel().isPressed()) {\\n\\t\\t\\t\\thideMenus();\\n\\t\\t\\t\\thTPMENU.setVisible(true);\\n\\t\\t\\t} else if (settings.getModel().isPressed()) {\\n\\t\\t\\t\\thideMenus();\\n\\t\\t\\t\\tsettingsMenu.setVisible(true);\\n\\t\\t\\t\\tupButton.setVisible(true);\\n\\t\\t\\t\\tdownButton.setVisible(true);\\n\\t\\t\\t\\trightButton.setVisible(true);\\n\\t\\t\\t\\tleftButton.setVisible(true);\\n\\t\\t\\t} else if (credits.getModel().isPressed()) {\\n\\t\\t\\t\\thideMenus();\\n\\t\\t\\t\\tcreditsMenu.setVisible(true);\\n\\t\\t\\t} else if (exit.getModel().isPressed()) {\\n\\t\\t\\t\\tbS = buttonState.quitP;\\n\\t\\t\\t\\tprompt();\\n\\t\\t\\t}\\n\\t\\t\\tbreak;\\n\\t\\tcase standard:\\n\\t\\t\\tif (startButton.getModel().isPressed()) {\\n\\t\\t\\t\\tbS = buttonState.notVis;\\n\\t\\t\\t\\tgS = gameState.unpaused;\\n\\t\\t\\t} else if (hTP.getModel().isPressed()) {\\n\\t\\t\\t\\thideMenus();\\n\\t\\t\\t\\thTPMENU.setVisible(true);\\n\\t\\t\\t} else if (settings.getModel().isPressed()) {\\n\\t\\t\\t\\thideMenus();\\n\\t\\t\\t\\tsettingsMenu.setVisible(true);\\n\\t\\t\\t\\tupButton.setVisible(true);\\n\\t\\t\\t\\tdownButton.setVisible(true);\\n\\t\\t\\t\\trightButton.setVisible(true);\\n\\t\\t\\t\\tleftButton.setVisible(true);\\n\\t\\t\\t} else if (credits.getModel().isPressed()) {\\n\\t\\t\\t\\thideMenus();\\n\\t\\t\\t\\tcreditsMenu.setVisible(true);\\n\\t\\t\\t} else if (exit.getModel().isPressed()) {\\n\\t\\t\\t\\tbS = buttonState.quitP;\\n\\t\\t\\t\\tprompt();\\n\\t\\t\\t}\\n\\t\\t\\t// } else if (upButton.getModel().isPressed()) {\\n\\t\\t\\t// bS = buttonState.changingButtons;\\n\\t\\t\\t// bCS = buttonChangingState.up;\\n\\t\\t\\t// } else if (downButton.getModel().isPressed()) {\\n\\t\\t\\t// bS = buttonState.changingButtons;\\n\\t\\t\\t// bCS = buttonChangingState.down;\\n\\t\\t\\t// } else if (rightButton.getModel().isPressed()) {\\n\\t\\t\\t// bS = buttonState.changingButtons;\\n\\t\\t\\t// bCS = buttonChangingState.right;\\n\\t\\t\\t// } else if (leftButton.getModel().isPressed()) {\\n\\t\\t\\t// bS = buttonState.changingButtons;\\n\\t\\t\\t// bCS = buttonChangingState.left;\\n\\n\\t\\t\\tbreak;\\n\\t\\tcase quitP:\\n\\t\\t\\t// if yes is pressed return variable true\\n\\t\\t\\tif (playPromptYes.getModel().isPressed()) {\\n\\t\\t\\t\\tyesNoMenu.setVisible(false);\\n\\t\\t\\t\\tplayPromptYes.setVisible(false);\\n\\t\\t\\t\\tplayPromptNo.setVisible(false);\\n\\t\\t\\t\\tSystem.exit(1);\\n\\t\\t\\t} else if (playPromptNo.getModel().isPressed()) {\\n\\t\\t\\t\\tyesNoMenu.setVisible(false);\\n\\t\\t\\t\\tplayPromptYes.setVisible(false);\\n\\t\\t\\t\\tplayPromptNo.setVisible(false);\\n\\t\\t\\t\\tbS = buttonState.standard;\\n\\t\\t\\t}\\n\\t\\t\\tbreak;\\n\\t\\tcase startP:\\n\\t\\t\\tif (playPromptYes.getModel().isPressed()) {\\n\\t\\t\\t\\tyesNoMenu.setVisible(false);\\n\\t\\t\\t\\tplayPromptYes.setVisible(false);\\n\\t\\t\\t\\tplayPromptNo.setVisible(false);\\n\\t\\t\\t\\tstartButton.setText(\\\"CONTINUE\\\");\\n\\t\\t\\t\\tbS = buttonState.notVis;\\n\\t\\t\\t\\tgS = gameState.unpaused;\\n\\t\\t\\t} else if (playPromptNo.getModel().isPressed()) {\\n\\t\\t\\t\\tyesNoMenu.setVisible(false);\\n\\t\\t\\t\\tplayPromptYes.setVisible(false);\\n\\t\\t\\t\\tplayPromptNo.setVisible(false);\\n\\t\\t\\t\\tbS = buttonState.standard;\\n\\t\\t\\t}\\n\\t\\t\\tbreak;\\n\\t\\tcase notVis:\\n\\t\\t\\t;\\n\\t\\t\\tbreak;\\n\\t\\tcase changingButtons:\\n\\t\\t\\t// switch (bCS) {\\n\\t\\t\\t// case up:\\n\\t\\t\\t// upKey = nextPressed;\\n\\t\\t\\t// bS = buttonState.standard;\\n\\t\\t\\t// break;\\n\\t\\t\\t// case down:\\n\\t\\t\\t// downKey = nextPressed;\\n\\t\\t\\t// bS = buttonState.standard;\\n\\t\\t\\t// break;\\n\\t\\t\\t// case left:\\n\\t\\t\\t// leftKey = nextPressed;\\n\\t\\t\\t// bS = buttonState.standard;\\n\\t\\t\\t// break;\\n\\t\\t\\t// case right:\\n\\t\\t\\t// rightKey = nextPressed;\\n\\t\\t\\t// bS = buttonState.standard;\\n\\t\\t\\t// break;\\n\\t\\t\\t// case buy:\\n\\t\\t\\t// break;\\n\\t\\t\\t// case notChanging:\\n\\t\\t\\t// bS = buttonState.standard;\\n\\t\\t\\t// break;\\n\\t\\t\\t// default:\\n\\t\\t\\t// break;\\n\\t\\t\\t// }\\n\\t\\t\\tbreak;\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b57c06b3a4697024a22c325ca0b0bb4c\",\n \"score\": \"0.670501\",\n \"text\": \"public void calsButton(ActionEvent event) {\\n int index = 1;\\n openGraphView(event,index);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d37c6193aad35fe1fa74ff14058db925\",\n \"score\": \"0.6701751\",\n \"text\": \"@Override\\n\\t\\t\\t\\t\\tpublic void actionPerformed(ActionEvent e) {\\n\\t\\t\\t\\t\\t\\tSystem.out.println(\\\"Button pressed!\\\");\\n\\t\\t\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4ecb1681007797e82b710fff9f9df327\",\n \"score\": \"0.66972274\",\n \"text\": \"public void SEButtonActionPerformed(java.awt.event.ActionEvent evt) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9647c1a88fa1b76b5a2c2ea90ddac54d\",\n \"score\": \"0.66919434\",\n \"text\": \"public void onPressed(Button button);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d661fbb8abfe983cc03e259d9ec38fd0\",\n \"score\": \"0.6690109\",\n \"text\": \"protected void actionPerformed(GuiButton par1GuiButton) {\\n\\t\\tif (par1GuiButton.id == 0) {\\n\\t\\t\\tthis.mc.displayGuiScreen(new GuiMainMenu());\\n\\t\\t} else if (par1GuiButton.id == 1) {\\n\\t\\t\\tthis.mc.shutdown();\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ad7ea87b379922bdc31ccfa26f513685\",\n \"score\": \"0.6682846\",\n \"text\": \"public void buttonPressed() {\\n\\t\\tPoint p = /*surface.actualCoordinatesToAssumed(*/new Point(surface.mouseX,surface.mouseY);\\n\\t\\tif (button.contains(p)) {\\n\\t\\t\\tsurface.switchScreen(ScreenSwitcher.MENU_SCREEN);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7c715b5281cfc6dd04130e71239be3d7\",\n \"score\": \"0.66814893\",\n \"text\": \"public void buttonPerformed(String button)\\n {\\n if( button.equals(\\\"Start Line\\\") ) { startLine(); }\\n else if( button.equals(\\\"Line Length\\\") ) { UI.println(\\\"Line Length: \\\" + totalLineLength + \\\" pixles\\\"); }\\n else if( button.equals(\\\"Choose Image\\\") )\\n {\\n // Display popup to get new file location then set it to the background image\\n // and redisplay the polyline\\n String URL = UIFileChooser.open();\\n setNewImage(URL);\\n startLine();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d442257d35a5d7af2f8a80d8a9abf967\",\n \"score\": \"0.66713214\",\n \"text\": \"private void btnCancionActionPerformed(ActionEvent e) {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0604c9318d33bf54c81af68ecf902770\",\n \"score\": \"0.66518986\",\n \"text\": \"private void btnCompaniaActionPerformed(ActionEvent e) {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eb79fa98be17a79c08cbe0c49af04a93\",\n \"score\": \"0.66502637\",\n \"text\": \"private void huyBtnActionPerformed(java.awt.event.ActionEvent evt) {\\n Huy();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b19d304d41a9a917e08ce40401c018ee\",\n \"score\": \"0.66369486\",\n \"text\": \"public void actionRpress();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80d6e2948c31bfb65778793de112f8c5\",\n \"score\": \"0.66331315\",\n \"text\": \"static void BluButtonPressed(java.awt.event.ActionEvent event) {\\r\\n\\t\\tController.ChangeToBlue();\\r\\n\\t\\tmainPanel.updateUI();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5469f426474896c0895d9faec3226041\",\n \"score\": \"0.663076\",\n \"text\": \"@Override\\r\\n\\tpublic void controllerButtonPressed(int arg0, int arg1) {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"65fa573a69920e3e14dc70d62d5d2eb6\",\n \"score\": \"0.6630691\",\n \"text\": \"private void updateButtonClicked(){\\n\\t\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b05b52a26b4809b59b0a0a8f159d3292\",\n \"score\": \"0.66155976\",\n \"text\": \"@Override\\r\\n public void run() {\\r\\n GUIElementFactory.createActionItem(5, null, new ActionItem.ActionHandler() {\\r\\n @Override\\r\\n public void onClick(GUIClickEvent event) {\\r\\n\\r\\n }\\r\\n });\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5854947b563ea13789c76d4c9c5ae77f\",\n \"score\": \"0.661159\",\n \"text\": \"void generateScript1Button_actionPerformed(java.awt.event.ActionEvent event)\\n\\t{\\n\\t\\t\\t \\n\\t\\tgenerateScript1Button_actionPerformed_Interaction1(event);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"288eb3d1a269e3761b89ba8c50a44887\",\n \"score\": \"0.66110015\",\n \"text\": \"@Override \\n\\t\\t\\tpublic void actionPerformed(ActionEvent e) {\\n\\t \\t runProgram ();\\n\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0a00d3767ed0c3e893edb5d16abf709a\",\n \"score\": \"0.6608406\",\n \"text\": \"protected void actionPerformed(GuiButton par1GuiButton)\\n {\\n if (par1GuiButton.enabled)\\n {\\n if (par1GuiButton.id == 2)\\n {\\n this.snooperGameSettings.saveOptions();\\n this.snooperGameSettings.saveOptions();\\n this.mc.displayGuiScreen(this.snooperGuiScreen);\\n }\\n\\n if (par1GuiButton.id == 1)\\n {\\n this.snooperGameSettings.setOptionValue(EnumOptions.SNOOPER_ENABLED, 1);\\n this.buttonAllowSnooping.displayString = this.snooperGameSettings.getKeyBinding(EnumOptions.SNOOPER_ENABLED);\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a60170a56f8ff766edfac79fa6024fd7\",\n \"score\": \"0.6596253\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void actionPerformed(ActionEvent e) {\\r\\n\\t\\t\\t\\tnoteScreen(\\\"\\\", \\\"\\\");\\t\\r\\n\\t\\t\\t\\tmakeButtonPanel();\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80227882a3e6835919d8311eea709f1d\",\n \"score\": \"0.65955067\",\n \"text\": \"public void actionPerformed(ActionEvent event){\\n if(event.getActionCommand().equals(\\\"Start\\\")){\\r\\n t.updateStatus(1);\\r\\n btn0.setText(\\\"Pause\\\");\\r\\n }else if(event.getActionCommand().equals(\\\"Pause\\\")){\\r\\n t.updateStatus(2);\\r\\n btn0.setText(\\\"Resume\\\");\\r\\n }else if(event.getActionCommand().equals(\\\"Resume\\\")){\\r\\n t.updateStatus(3);\\r\\n btn0.setText(\\\"Pause\\\");\\r\\n }else if(event.getActionCommand().equals(\\\"Reset\\\")){\\r\\n t.updateStatus(0);\\r\\n btn0.setText(\\\"Start\\\");\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"22d4f945351fbb4283ada7a5b62dec03\",\n \"score\": \"0.6594775\",\n \"text\": \"void setupWindowButtons();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5fd0e0888b9b6cefdb47d9b3bfa88904\",\n \"score\": \"0.65869737\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void actionPerformed()\\n\\t\\t\\t{\\n\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"952f35da27b30c46154a12ed10b0b25a\",\n \"score\": \"0.6584864\",\n \"text\": \"public void CSButtonActionPerformed(java.awt.event.ActionEvent evt) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"210872af0eb43d119c1f29073ea66844\",\n \"score\": \"0.6577968\",\n \"text\": \"public void setupButtons() { \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c47e014a3d95b94309389819843f865c\",\n \"score\": \"0.6576969\",\n \"text\": \"private void dispGuiOnButton(){\\n\\t\\tp.pushMatrix();\\n\\t\\t\\tp.image(this.demoDevIcons[((p.allFlagsSet(myConsts.demoDevMode, myConsts.renderDemoGui) || \\n\\t\\t\\t\\t\\t((p.allFlagsFalse(myConsts.demoDevMode))) && (p.allFlagsSet(myConsts.renderGui))) ? this.DemoMode+2 : this.DevMode+2)],this.globClickX/2.07f - 80, globClickY/2.05f - 20, 50,30); //40,20); \\t\\n\\t\\tp.popMatrix();\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"19caeaafc693d27a98fa88f5c7dcb536\",\n \"score\": \"0.65703064\",\n \"text\": \"private void jButtonAffectRecommandActionPerformed(java.awt.event.ActionEvent evt) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc647be0316501197735279abffd0856\",\n \"score\": \"0.65678227\",\n \"text\": \"public void clickButton()\\n\\t{\\n\\t\\tGraphics\\tg = this.getGraphics();\\n\\n\\t\\tif (button_image != null && g != null)\\n\\t\\t{\\n\\t\\t\\t//***** Draw the rect in black\\n\\t\\t\\tg.fillRect(0,0,this.getSize().width, this.getSize().height);\\n\\n\\t\\t\\t//***** Wait around briefly\\n\\t\\t\\ttry{Thread.sleep(20);}catch (Exception e){}\\n\\n\\t\\t\\t//***** Restore the image\\n\\t\\t\\tupdateImage(g);\\n\\n\\t\\t\\t//***** Get rid of the graphics context\\n\\t\\t\\tg.dispose();\\n\\t\\t}\\n\\n\\t\\treturn;\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bdb767d584f9c822009ec85f64d18202\",\n \"score\": \"0.6565005\",\n \"text\": \"public void actionPerformed(ActionEvent event) {\\r\\n String command = event.getActionCommand();\\r\\n\\r\\n if (command.equals(\\\"OK\\\")) {\\r\\n\\r\\n if (setVariables()) {\\r\\n callAlgorithm();\\r\\n }\\r\\n } else if (command.equals(\\\"Cancel\\\")) {\\r\\n dispose();\\r\\n } else if (command.equals(\\\"Help\\\")) {\\r\\n //MipavUtil.showHelp(\\\"\\\");\\r\\n } \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e2ed13392299d3a82be8cf8bf23f47e\",\n \"score\": \"0.6561338\",\n \"text\": \"void onButtonReleased(int button);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"23aada2dcac456ac2235a99c51b57f4d\",\n \"score\": \"0.6560579\",\n \"text\": \"private void button1MouseClicked(MouseEvent e) {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42046b2d08518478405d68808ee07707\",\n \"score\": \"0.65585816\",\n \"text\": \"public void buttonWasPressed(){\\n slot.execute();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f98c084dcbb3c67f7f62bc9922cebab1\",\n \"score\": \"0.65545666\",\n \"text\": \"static void YelButtonPressed(java.awt.event.ActionEvent event) {\\r\\n\\t\\tController.ChangeToYellow();\\r\\n\\t\\tmainPanel.updateUI();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c6eabcf4e8eafb990284ad8039d6f205\",\n \"score\": \"0.654341\",\n \"text\": \"public void actionPerformed(){}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fc94183622b0a651e38cfa4edb5c0243\",\n \"score\": \"0.6539516\",\n \"text\": \"public void actionPerformed(ActionEvent event) {\\r\\n String command = event.getActionCommand();\\r\\n\\r\\n if (command.equals(\\\"OK\\\")) {\\r\\n\\r\\n if (setVariables()) {\\r\\n callAlgorithm();\\r\\n }\\r\\n } else if (command.equals(\\\"Cancel\\\")) {\\r\\n dispose();\\r\\n } else if (command.equals(\\\"Help\\\")) {\\r\\n //MipavUtil.showHelp(\\\"10040\\\");\\r\\n MipavUtil.showWebHelp(\\\"Registration:_Landmark-Least_Squares\\\");\\r\\n } else {\\r\\n super.actionPerformed(event);\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1129c3adde42c5cce920414ff7c48298\",\n \"score\": \"0.65363836\",\n \"text\": \"public void actionPerformed(ActionEvent e) {\\n fireButtonClicked(e.getSource(), e.getActionCommand());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7ae341d9b0ffcdd598ecd63122c6998f\",\n \"score\": \"0.65355927\",\n \"text\": \"@FXML\\n\\tprivate void buttonPressed(ActionEvent e) {\\n\\n\\t\\tNode node = (Node) e.getSource();\\n\\t\\tInteger nodeCol = 0;\\n\\t\\tInteger nodeRow = GridPane.getRowIndex(node)-1;\\n\\t\\t\\n\\t\\tAskQuestionInternationalService askQuestion = new AskQuestionInternationalService();\\n\\t\\t\\taskQuestion.setCatAndClue(nodeCol, nodeRow);\\n\\t\\t\\taskQuestion.start();\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eb3208e7302dbd4603e77f15cd667a81\",\n \"score\": \"0.6519715\",\n \"text\": \"public void action1press();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"adc42b234c0d829c2699b659851c028e\",\n \"score\": \"0.6510518\",\n \"text\": \"private void on_button_test_click(){\\r\\n\\t\\tJOptionPane.showMessageDialog(this, \\\"Click\\\");\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5b09c8814248a698dc5cc9615ddedfa5\",\n \"score\": \"0.65061045\",\n \"text\": \"private void jButton1ActionPerformed(ActionEvent e) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"03dc45b9464c7a2831d1d7e6d14085f1\",\n \"score\": \"0.650005\",\n \"text\": \"public void actionPerformed(ActionEvent e)\\n {\\n String screenToPaint; //variable to store what's written on the button\\n \\n screenToPaint = e.getActionCommand(); //gets what is written on the button and store in screenToPaint variable\\n \\n if(screenToPaint.equals(\\\"Kinematics Pt1\\\"))\\n {\\n this.theGUI.displayK1Eqns(); //display k1 equations page\\n } //end else if\\n \\n else if(screenToPaint.equals(\\\"Kinematics Pt2\\\"))\\n {\\n this.theGUI.displayK2Eqns(); //display k2 equations page\\n } //end else if\\n \\n else if(screenToPaint.equals(\\\"Forces & Dynamics\\\"))\\n {\\n this.theGUI.displayFDEqns(); //display forces and dynamics equations page\\n } //end else if\\n \\n else if(screenToPaint.equals(\\\"Conversions\\\"))\\n {\\n this.theGUI.displayCCUnits(); //display conversions unit page\\n } //end else if \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ffb5246e906125e75e2cb0c697085a1c\",\n \"score\": \"0.6497195\",\n \"text\": \"static void RedButtonPressed(java.awt.event.ActionEvent event) {\\r\\n\\t\\tController.ChangeToRed();\\r\\n\\t\\tmainPanel.updateUI();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"121c67f73ec2cf6ec86da5fd87d576e2\",\n \"score\": \"0.6493449\",\n \"text\": \"public void actionPerformed(ActionEvent event){\\n\\n\\tif(event.getSource() == buttonqr) {save_key_clipboard();}\\n\\n\\tif(event.getSource() == exit_save) {settingsx[9] = \\\"1\\\"; savex(); xmining = 0; systemx.shutdown(); System.exit(0);}\\n\\tif(event.getSource() == exit) {System.exit(0);}\\n\\tif(event.getSource() == edit_token) {edit_item xx = new edit_item();}\\n\\tif(event.getSource() == node_status) {}\\n\\tif(event.getSource() == edit_get_ids) {get_ids();}\\n\\tif(event.getSource() == database_test) {testDatabase();}\\n\\n\\tif(event.getSource() == account_public_key) {save_pub_key_clipboard();}\\n\\tif(event.getSource() == account_private_key) {save_pri_key_clipboard();}\\n\\tif(event.getSource() == account_import) {import_private_key();}\\n\\n\\tif(event.getSource() == all_yes) {settingsx[7] = \\\"1\\\"; savex();}\\n\\tif(event.getSource() == x100_yes) {settingsx[7] = \\\"0\\\"; savex();}\\n\\n\\tif(event.getSource() == nodes_yes) {settingsx[8] = \\\"1\\\"; savex();}\\n\\tif(event.getSource() == nodes_no) {settingsx[8] = \\\"0\\\"; savex();}\\n\\n\\tif(event.getSource() == tools_new_keys) {get_new_keys();}\\n\\tif(event.getSource() == tools_print_blocks) {}\\n\\n\\tif(event.getSource() == button1) {}\\n\\tif(event.getSource() == button2) {}\\n\\tif(event.getSource() == button3) {}\\n\\tif(event.getSource() == button4) {}\\n\\tif(event.getSource() == button5) {}\\n\\tif(event.getSource() == button6) {}\\n\\tif(event.getSource() == button7) {}\\n\\n\\tif(event.getSource() == runx) {run_commandx();}\\n\\n\\tif(event.getSource() == node_import) {set_new_node();}\\n\\tif(event.getSource() == node_delete) {delete_node();}\\n\\tif(event.getSource() == node_delete_all) {delete_network();}\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f09d2de0e4ee67a13f9dd150cb30ac1\",\n \"score\": \"0.64894336\",\n \"text\": \"@Override\\n public void actionPerformed(ActionEvent e) {\\n if(e.getActionCommand().equals(OPCION_1)){\\n System.out.println(\\\"hola\\\");\\n }else if (e.getActionCommand().equals(BTN_ADD_CURSO)){\\n System.out.println(\\\"Agregar un curso\\\");\\n }\\n\\n\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"25f20c0c10e4d3298f012f275f45c16b\",\n \"score\": \"0.6483839\",\n \"text\": \"private void button_MatchesActionPerformed(ActionEvent e) {\\n\\t\\tMain1.matchesScreen();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"77cb8bbc28f2d4f2b58f4d7edb61be4c\",\n \"score\": \"0.64799243\",\n \"text\": \"private void btnArtistaActionPerformed(ActionEvent e) {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"38c32942dda2e436b7446009e6be81b6\",\n \"score\": \"0.6478631\",\n \"text\": \"void okPressed(ActionEvent ev);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a94558f92a68ab73e50c746d5b9cbd0a\",\n \"score\": \"0.6471769\",\n \"text\": \"@Override\\n\\tpublic void actionPerformed(ActionEvent e) {\\n\\n\\t\\tif (e.getSource() == jb1) {\\n\\t\\t\\tJOptionPane.showMessageDialog(null, \\\"Is your refrigerator running?\\\");\\n\\t\\t}\\n\\n\\t\\telse if (e.getSource() == jb2) {\\n\\t\\t\\tJOptionPane.showMessageDialog(null, \\\"Well you better go catch it!\\\");\\n\\t\\t}\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5ccf52cf1d75f0113659577c560a1670\",\n \"score\": \"0.6461431\",\n \"text\": \"private void registLearnButton() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f029dd9a4f5c4ae91baf3573ef6b80f9\",\n \"score\": \"0.6451007\",\n \"text\": \"private void btnGeneroActionPerformed(ActionEvent e) {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d48304e70cd9e8d9cf52b9f2f4cff4b\",\n \"score\": \"0.64506185\",\n \"text\": \"@Override\\r\\n\\tpublic void buttonClick(ClickEvent event) {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ee86e9546648214afe58e8bc3373351f\",\n \"score\": \"0.64489496\",\n \"text\": \"public void actionPerformed (ActionEvent evt){\\n //gets the source of the button pressed\\n Object src = evt.getSource(); \\n if(src == doneButton){ \\n doneButtonScreen(); \\n }\\n else if (src == nextStudentButton){\\n nextButtonScreen();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc249e282a7907fa3b767ba163b94631\",\n \"score\": \"0.64244676\",\n \"text\": \"@Override\\n\\t\\tpublic void actionPerformed(ActionEvent arg0) {\\n\\t\\t\\tstatutPointeur();\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"338598d6f128c9abf8961da8f3b73989\",\n \"score\": \"0.64187616\",\n \"text\": \"@Override\\n\\t\\t\\t\\tpublic void actionPerformed(ActionEvent arg0) {\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"338598d6f128c9abf8961da8f3b73989\",\n \"score\": \"0.64187616\",\n \"text\": \"@Override\\n\\t\\t\\t\\tpublic void actionPerformed(ActionEvent arg0) {\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bb6d4009c972d6eb5f70d67e1a078e1a\",\n \"score\": \"0.6417117\",\n \"text\": \"protected void actionPerformed(GuiButton guibutton)\\n {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7906fc45094c71fa5f8110275a38f8e7\",\n \"score\": \"0.6415658\",\n \"text\": \"@NiftyEventSubscriber(pattern=\\\"highscore.btn.*\\\")\\n public void onButton( String id, ButtonClickedEvent event )\\n {\\n if( id.compareTo(\\\"highscore.btn.again\\\")==0 )\\n {\\n m_game.initRun();\\n m_goto = \\\"countdown3\\\";\\n }\\n else if( id.compareTo(\\\"highscore.btn.settings\\\")==0 )\\n {\\n m_goto = \\\"game\\\";\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab36959730f408e41ce42104e403017e\",\n \"score\": \"0.64103574\",\n \"text\": \"public void actionPerformed(ActionEvent event) {\\r\\n String command = event.getActionCommand();\\r\\n\\r\\n if (command.equals(\\\"OK\\\")) {\\r\\n\\r\\n if (setVariables()) {\\r\\n callAlgorithm();\\r\\n }\\r\\n } else if (command.equals(\\\"Cancel\\\")) {\\r\\n dispose();\\r\\n } else if (command.equals(\\\"Help\\\")) {\\r\\n //MipavUtil.showHelp(\\\"U4025\\\");\\r\\n MipavUtil.showWebHelp(\\\"Masking_(filling)_images\\\");\\r\\n } else {\\r\\n super.actionPerformed(event);\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"027d06b451c6e8eea29c3f94217cf1db\",\n \"score\": \"0.64097166\",\n \"text\": \"botaoRetangulo.getModel().setPressed(true);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a34652b84a655132f17643db612d82fb\",\n \"score\": \"0.6399332\",\n \"text\": \"public void clickButton(int i)\\n {\\n if(i==0){\\n //\\t buttons.addElement( this.enterButton);\\n \\t\\tString command=commandFieldArea.getText();\\n\\t \\tif(command.equals(\\\"\\\")) return;\\n\\t \\tint startTime=communicationNode.eventRecorder.timer.getTime();\\n\\t \\tString theMessage=\\\"\\\"+startTime + \\\",\\\" + command;\\n\\t \\tthis.messagesArea.append(theMessage+\\\"\\\\n\\\");\\n this.communicationNode.eventRecorder.recordMessage(theMessage);\\n\\t\\t if(parse(command)){\\n\\t \\t}\\n\\t\\t else{\\n\\t\\t this.messagesArea.append(\\\"failed\\\\n\\\");\\n\\t \\t}\\n\\t \\tclickButton(1); // clear\\n\\t \\treturn;\\n }\\n else\\n if(i==1){\\n\\t // buttons.addElement( this.clearButton);\\n\\t this.commandFieldArea.setText(\\\"\\\");\\n\\t return;\\n\\t }\\n\\t else\\n\\t if(i==2){\\n//\\t\\tbuttons.addElement(this.collectNodesInformationButton);\\n\\t this.getNodesInfo();\\n\\t return;\\n\\t }\\n\\t else\\n\\t if(i==3){\\n//\\t\\tbuttons.addElement(this.spawnworkerButton);\\n\\t this.commandFieldArea.setText(\\\"spawnworkers\\\");\\n\\t this.clickButton(0);\\n\\t return;\\n\\t }\\n\\t else\\n\\t if(i==4){\\n//\\t\\tbuttons.addElement(this.executeButton);\\n\\t this.executeScript();\\n\\t return;\\n\\t }\\n\\t else\\n\\t if(i==5){\\n//\\t\\tbuttons.addElement(this.helpButton);\\n return;\\n\\t }\\n\\t else\\n\\t if(i==6){\\n//\\t\\tbuttons.addElement(this.exitButton);\\n//\\t close();\\n this.exitThis();\\n\\t }\\n\\t else\\n\\t if(i==7){\\n//\\t\\tbuttons.addElement(this.generateScript1Button);\\n\\t this.script=new Vector();\\n\\t int combination=0;\\n\\t try{\\n\\t combination=(new Integer(this.combinationNumberArea.getText())).intValue();\\n\\t }\\n\\t catch(Exception e){}\\n\\t this.generateScript1(combination,nodes);\\n\\t }\\n\\t else\\n\\t if(i==8){\\n\\t \\t // buttons.addElement( this.script2Button);\\n\\t this.script=new Vector();\\n\\t this.generateScript2(nodes);\\n\\t return;\\n }\\n else\\n if(i==9){\\n//\\t\\tbuttons.addElement(this.editScriptButton);\\n this.openTextEditor(this);\\n return;\\n }\\n else\\n if(i==10){\\n//\\t\\tbuttons.addElement(this.clearMessageButton);\\n this.messagesArea.setText(\\\"\\\");\\n return;\\n }\\n else\\n if(i==11){\\n//\\t\\tbuttons.addElement(this.copySelectedMessageButton);\\n this.copyFromTheText(0); // 0:messageArea\\n return;\\n }\\n else\\n if(i==12){\\n//\\t\\tbuttons.addElement(this.closeWorkersButton);\\n\\t this.commandFieldArea.setText(\\\"all quit\\\");\\n\\t this.clickButton(0);\\n\\t return;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f0eb0f28b8d69eb8b032224015fcc0de\",\n \"score\": \"0.6398065\",\n \"text\": \"private void jRbFirstActionPerformed(java.awt.event.ActionEvent evt) {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75723ccb6aefb98a302870e8f00279c8\",\n \"score\": \"0.63902307\",\n \"text\": \"public void mouseClickedAtButton(int i)\\n {\\n if(i==0){\\n //\\t buttons.addElement( this.enterButton);\\n \\t\\tString command=commandFieldArea.getText();\\n\\t \\tif(command.equals(\\\"\\\")) return;\\n\\t \\tint startTime=communicationNode.eventRecorder.timer.getTime();\\n\\t \\tString theMessage=\\\"\\\"+startTime + \\\",\\\" + command;\\n\\t \\tthis.messagesArea.append(theMessage+\\\"\\\\n\\\");\\n\\t \\tthis.messagesArea.setCaretPosition(\\n this.messagesArea.getText().length());\\n\\n this.communicationNode.eventRecorder.recordMessage(theMessage);\\n\\t\\t if(parse(command)){\\n\\t \\t}\\n\\t\\t else{\\n\\t\\t this.messagesArea.append(\\\"failed\\\\n\\\");\\n this.messagesArea.setCaretPosition(\\n this.messagesArea.getText().length());\\n\\n\\t \\t}\\n\\t \\tclickButton(1); // clear\\n\\t \\treturn;\\n }\\n else\\n if(i==1){\\n\\t // buttons.addElement( this.clearButton);\\n\\t this.commandFieldArea.setText(\\\"\\\");\\n\\t return;\\n\\t }\\n\\t else\\n\\t if(i==2){\\n//\\t\\tbuttons.addElement(this.collectNodesInformationButton);\\n\\t this.getNodesInfo();\\n\\t return;\\n\\t }\\n\\t else\\n\\t if(i==3){\\n//\\t\\tbuttons.addElement(this.spawnworkerButton);\\n\\t this.commandFieldArea.setText(\\\"spawnworkers\\\");\\n\\t this.clickButton(0);\\n\\t return;\\n\\t }\\n\\t else\\n\\t if(i==4){\\n//\\t\\tbuttons.addElement(this.executeButton);\\n\\t this.executeScript();\\n\\t return;\\n\\t }\\n\\t else\\n\\t if(i==5){\\n//\\t\\tbuttons.addElement(this.helpButton);\\n return;\\n\\t }\\n\\t else\\n\\t if(i==6){\\n//\\t\\tbuttons.addElement(this.exitButton);\\n//\\t close();\\n this.exitThis();\\n\\t }\\n\\t else\\n\\t if(i==7){\\n//\\t\\tbuttons.addElement(this.generateScript1Button);\\n\\t this.script=new Vector();\\n\\t int combination=0;\\n\\t try{\\n\\t combination=(new Integer(this.combinationNumberArea.getText())).intValue();\\n\\t }\\n\\t catch(Exception e){}\\n\\t this.generateScript1(combination,nodes);\\n\\t }\\n\\t else\\n\\t if(i==8){\\n\\t \\t // buttons.addElement( this.script2Button);\\n\\t this.script=new Vector();\\n\\t this.generateScript2(nodes);\\n\\t return;\\n }\\n else\\n if(i==9){\\n//\\t\\tbuttons.addElement(this.editScriptButton);\\n this.openTextEditor(this);\\n return;\\n }\\n else\\n if(i==10){\\n//\\t\\tbuttons.addElement(this.clearMessageButton);\\n this.messagesArea.setText(\\\"\\\");\\n return;\\n }\\n else\\n if(i==11){\\n//\\t\\tbuttons.addElement(this.copySelectedMessageButton);\\n this.copyFromTheText(0); // 0:messageArea\\n return;\\n }\\n else\\n if(i==12){\\n//\\t\\tbuttons.addElement(this.closeWorkersButton);\\n\\t this.commandFieldArea.setText(\\\"all quit\\\");\\n\\t this.clickButton(0);\\n\\t return;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cc819f94f0fe46407fec9ed079e0a6fb\",\n \"score\": \"0.63897425\",\n \"text\": \"public void buttonWasPushed( int slot )\\r\\n {\\r\\n commands[slot].execute();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1ec37bb077d5489feec18b8039f8888\",\n \"score\": \"0.6389263\",\n \"text\": \"void spawnworkerButton_actionPerformed(java.awt.event.ActionEvent event)\\n\\t{\\n\\t\\t\\t \\n\\t\\tspawnworkerButton_actionPerformed_Interaction1(event);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1a0db89c6ef7f03be6f4a566dd1f019\",\n \"score\": \"0.63859296\",\n \"text\": \"void editScriptButton_actionPerformed(java.awt.event.ActionEvent event)\\n\\t{\\n\\t\\t\\t \\n\\t\\teditScriptButton_actionPerformed_Interaction1(event);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0631f5c8adeb81e85c15545ca4108cd\",\n \"score\": \"0.63828003\",\n \"text\": \"public void customScriptAction() {\\r\\n System.out.println(\\\"Custom Action button clicked!\\\");\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"edf83e6976ae9a3758f8b41c0a1ece13\",\n \"score\": \"0.6382016\",\n \"text\": \"private void button7MouseClicked(MouseEvent e) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e6f2a59a6995b67790c2794d50a7a657\",\n \"score\": \"0.638189\",\n \"text\": \"private void yesButtonActionPerformed(java.awt.event.ActionEvent evt) {\\n \\tSystem.out.println(\\\"Yes pressed!\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4ce754da32fd282a11b3c25109eed038\",\n \"score\": \"0.63807935\",\n \"text\": \"private void button3ActionPerformed(ActionEvent e) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba944af84ae236490d9d765deb3893c3\",\n \"score\": \"0.63806057\",\n \"text\": \"public void buttonClicked (WizardEvents.WizardButtonEvent evt);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"87b42024d4516afec4a51eccc836b230\",\n \"score\": \"0.63766116\",\n \"text\": \"public void actionPerformed(ActionEvent e)\\n { /* actionPerformed */\\n Button item= (Button)e.getSource();\\n String cmd= e.getActionCommand();\\n \\n if (cmd.equals(\\\"Close\\\"))\\n quit(); /* close window */\\n \\n else if(cmd.equals(\\\"Show HPs\\\"))\\n {\\n Util.saveCmdHistory(\\\"Show list of HP-E samples\\\", false);\\n mae.hps.showHP_E_assignmentsPopup();\\n }\\n \\n else if(cmd.equals(\\\"SaveAs\\\"))\\n { /* Save Canvas as GIF image */\\n String\\n defGifDir= Util.rmvFinalSubDirectory(mae.defDir,\\\"Report\\\", true),\\n oGifFileName= mae.em.promptFileName(\\\"Enter GIF file name\\\",\\n defGifDir,\\n \\\"maeExprProfilePlot.gif\\\",\\n null, /* sub dir */\\n \\\".gif\\\",\\n true, /* saveMode*/\\n true /* useFileDialog */\\n );\\n if(oGifFileName!=null)\\n {\\n Util.saveCmdHistory(\\\"Saved Expression Profile plot as \\\"+oGifFileName,\\n false);\\n eppl.epc.drawGifFile(oGifFileName);\\n }\\n }\\n \\n else if(zoomBarsButton==item)\\n { /* zoom lines by 1X, 2X, 5X, 10X, 20X mod */\\n eppl.epc.zoomBarsMag= Util.nextZoomMag(eppl.epc.zoomBarsMag,20);\\n Util.saveCmdHistory(\\\"Setting Expression Profile zoom to \\\"+\\n eppl.epc.zoomBarsMag+\\\"X\\\", false);\\n zoomBarsButton.setLabel(eppl.epc.zoomBarsMag+\\\"X\\\");\\n repaint();\\n }\\n \\n else if(plotStyleButton==item)\\n { /* zoom lines by 1X, 2X, 5X, 10X, 20X mod */\\n eppl.epc.plotStyleMode= (eppl.epc.plotStyleMode+1)%3;\\n String label= ((eppl.epc.plotStyleMode==0) \\n ? \\\"Line\\\"\\n : ((eppl.epc.plotStyleMode==1)\\n ? \\\"Circle\\\" : \\\"Curve\\\"));\\n Util.saveCmdHistory(\\\"Setting Expression Profile plot style to \\\"+label, false);\\n plotStyleButton.setLabel(label);\\n repaint();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"012bf2f6a39e86938eccf3df46270848\",\n \"score\": \"0.63758546\",\n \"text\": \"public void start(){\\n\\t\\tsetButtons();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"080d87b240cb4deda54946c791a62331\",\n \"score\": \"0.6371622\",\n \"text\": \"@Override\\n public void actionPerformed(ActionEvent e) {\\n System.out.println(String.format(\\\"%s button pressed\\\", e.getActionCommand()));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d70d83ab542b5fc9ed9068f14c17787a\",\n \"score\": \"0.6370305\",\n \"text\": \"public void actionPerformed(ActionEvent e) {\\n\\t\\t\\t\\txuLyXoa();\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"321000bac856d3446017bb8ff64bfba3\",\n \"score\": \"0.6359917\",\n \"text\": \"public void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8668e1ec4a90005bd1d8d2abd337b845\",\n \"score\": \"0.63537914\",\n \"text\": \"private void viewButtonClicked() {\\n\\t\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ffbab548291e54d76570437dcb0370ba\",\n \"score\": \"0.6347386\",\n \"text\": \"static void CirButtonPressed(java.awt.event.ActionEvent event) {\\r\\n\\t\\tController.DisplayCircle();\\r\\n\\t\\tmainPanel.updateUI();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c682a9d59af427272cc6fcbfc26e1c20\",\n \"score\": \"0.6345015\",\n \"text\": \"public void actionPerformed(ActionEvent e) {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"efa744a633b55f8a61b90f99c5d9cf65\",\n \"score\": \"0.63436216\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void actionPerformed(ActionEvent arg0) {\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"38ba94cd40c427bc81c41f8eb81125ce\",\n \"score\": \"0.6343059\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void actionPerformed(ActionEvent e) {\\n\\t\\t\\t\\tObject obj = e.getSource();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\taddBtn();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eb617ed196bc07f5a505ba9b55d5c455\",\n \"score\": \"0.6334277\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void actionPerformed(ActionEvent arg0) {\\n\\t\\t\\t\\tServo obj2;\\r\\n\\t\\t\\t\\t//obj2 = new Servo();\\r\\n\\t\\t\\t\\t//temp.print_temp();\\r\\n\\t\\t\\t\\ttry {\\r\\n\\t\\t\\t\\t\\tmain2.ph.go_to_floor(Config.LED_F1);\\r\\n\\t\\t\\t\\t\\tSystem.out.println(\\\"[main2]: Lampe 1er étage\\\");\\r\\n\\t\\t\\t\\t} catch (PhidgetException | InterruptedException 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\\t//obj2.close_system();\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5470c61aa5af6b0695c1cf6bb2d8b4bf\",\n \"score\": \"0.63329786\",\n \"text\": \"public void clickupdate() {\\n\\t\\tupdateButton.click();\\r\\n\\t\\tinitial.click();\\r\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":366,"cells":{"query_id":{"kind":"string","value":"836f847c23466a980f6ebf77af3a98bc"},"query":{"kind":"string","value":"This method is executed on master. It copies .coderrect/report to thee build directory"},"positive_passages":{"kind":"list like","value":[{"docid":"f91f4a58926e690aa3fa45a1282e0054","score":"0.68082005","text":"private void copyFilesToBuildDirectory(final Run run,\n final FilePath ws,\n final TaskListener listener,\n final File rootDir,\n final VirtualChannel channel)\n throws IOException, InterruptedException {\n\n File directory = new File(rootDir, DIR_REPORT);\n listener.getLogger().println(String.format(\"[coderrect] Copy report from agent. serverTargetDir=\" + directory.getAbsolutePath()));\n if (!directory.exists() && !directory.mkdir()) {\n throw new IOException(\"Can't create directory for copy of workspace files: \"\n + directory.getAbsolutePath());\n }\n\n final FilePath coderrectReportPath = ws.child(this.buildDirectory + File.separator + \".coderrect/report\");\n if (!coderrectReportPath.exists()) {\n listener.getLogger().println(\"[coderrect] the report folder doesn't exist. dir=\" + coderrectReportPath.getName());\n return;\n }\n final FilePath buildTarget = new FilePath(run.getRootDir()).child(DIR_REPORT);\n listener.getLogger().printf(\"[coderrect] copy report artifacts from slave. target=%s, source=%s\",\n buildTarget.absolutize().getName(), coderrectReportPath.absolutize().getName());\n coderrectReportPath.copyRecursiveTo(\"**/*\", buildTarget);\n }","title":""}],"string":"[\n {\n \"docid\": \"f91f4a58926e690aa3fa45a1282e0054\",\n \"score\": \"0.68082005\",\n \"text\": \"private void copyFilesToBuildDirectory(final Run run,\\n final FilePath ws,\\n final TaskListener listener,\\n final File rootDir,\\n final VirtualChannel channel)\\n throws IOException, InterruptedException {\\n\\n File directory = new File(rootDir, DIR_REPORT);\\n listener.getLogger().println(String.format(\\\"[coderrect] Copy report from agent. serverTargetDir=\\\" + directory.getAbsolutePath()));\\n if (!directory.exists() && !directory.mkdir()) {\\n throw new IOException(\\\"Can't create directory for copy of workspace files: \\\"\\n + directory.getAbsolutePath());\\n }\\n\\n final FilePath coderrectReportPath = ws.child(this.buildDirectory + File.separator + \\\".coderrect/report\\\");\\n if (!coderrectReportPath.exists()) {\\n listener.getLogger().println(\\\"[coderrect] the report folder doesn't exist. dir=\\\" + coderrectReportPath.getName());\\n return;\\n }\\n final FilePath buildTarget = new FilePath(run.getRootDir()).child(DIR_REPORT);\\n listener.getLogger().printf(\\\"[coderrect] copy report artifacts from slave. target=%s, source=%s\\\",\\n buildTarget.absolutize().getName(), coderrectReportPath.absolutize().getName());\\n coderrectReportPath.copyRecursiveTo(\\\"**/*\\\", buildTarget);\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"d5e3af935238bbc432da4da2cfdb6b1b","score":"0.5808471","text":"@Override\n public void onFinish(ITestContext context) {\n try {\n //Copy Auvenir icon to report directory\n FileUtils.copyDirectory(new File(\"Images\"), new File(nxgReportDir.getAbsolutePath() + \"\\\\Images\"));\n } catch (IOException e) {\n e.printStackTrace();\n }\n }","title":""},{"docid":"4cf9e45ce0cda3f55d610c6aed583686","score":"0.5665131","text":"static File getJapexReport(AbstractBuild build) {\n return new File(build.getRootDir(),\"japex\");\n }","title":""},{"docid":"48fb434e259722e0e909188823a0d8f5","score":"0.56464094","text":"@Override\r\n public void onExecutionStart() {\r\n File file = new File(utils.getProperty(HTML_REPORT_FILE));\r\n if(!file.exists()){\r\n try {\r\n FileUtils.forceMkdir(file);\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n }\r\n }","title":""},{"docid":"767212350735d6151ad7d54ae14a4a25","score":"0.55684346","text":"public BaseTestNGReport() {\n\n\t\t// Create folder with today's date. In this folder we will be generating\n\t\t// the test results reports.\n\t\tm_todayFolder = CommonUtil.getFormatedDate(\"MMddyyyy\");\n\n\t\t// Remove report files which are older than 30 days.\n\t\tFileOperations.removeFilesOlderThanNDays(m_baseDirectory, m_daysBack);\n\n\t\t// Create the directory with today date if its not available means..\n\t\tFileOperations.createDirectory(getBaseDirWithTodayDate());\n\n\t\tcopyCompanyImage();\n\n\t}","title":""},{"docid":"d482d4ef77cf0f2b512e6800e59a9bfd","score":"0.5545523","text":"public static void generarReportesConciliacion()\n\t{\n\t\tLOG.info(\"Se ha solicitado la generacion del archivo con las compras reportadas en los archivos de conciliacion...\");\n\t\tList lstArchivosConciliacion=Arrays.asList(new File(RUTA_ARCHIVOS_CONCILIACIONES).listFiles());\n\t\tCollections.sort(lstArchivosConciliacion);\n\t\tList lstCompras=leerArchivosConciliacionesSINICU(lstArchivosConciliacion);\n\t\tLOG.info(\"Compras en archivo(s) de conciliacion... \".concat(String.valueOf(lstCompras.size())));\n\t\tgenerarReportesCompras(lstCompras);\n\t}","title":""},{"docid":"5128e3d6c48df430ebf2825e9fb0e7cd","score":"0.5543733","text":"public void run()\n {\n try\n {\n for (ReportCompileInfo info : files)\n {\n JasperCompileManager.compileReportToFile(info.getReportFile().getAbsolutePath(), info.getCompiledFile().getAbsolutePath());\n }\n System.out.println(\"Done Compiling...\");\n compileListener.compileComplete(files.get(files.size()-1).getCompiledFile());\n \n } catch (Exception ex)\n {\n edu.ku.brc.af.core.UsageTracker.incrHandledUsageCount();\n edu.ku.brc.exceptions.ExceptionTracker.getInstance().capture(JasperReportHelper.class, ex);\n log.error(ex);\n ex.printStackTrace();\n \n compileListener.compileComplete(null);\n }\n compileListener = null;\n files.clear();\n files = null;\n }","title":""},{"docid":"d5f216394e88a0594060f8b4963403f5","score":"0.54985946","text":"private void copyCompanyImage() {\n\t\tSystem.out.println();\n\t\tSystem.out.println();\n\t\tString imageSourcePath = String.format(\"%s/src/test/resources/benchmark.png\",\n\t\t\t\tSystem.getProperty(\"user.dir\").replace(\"target\", \"\"));\n\t\tString imageDestinationPath = String.format(\"%s/benchmark.png\", getBaseDirWithTodayDate());\n\t\tif (!FileOperations.isFileExists(imageDestinationPath))\n\t\t\tFileOperations.copyImageOrFile(imageSourcePath, imageDestinationPath);\n\t}","title":""},{"docid":"618005a0e6e211663a85835a5367fd22","score":"0.5494261","text":"public void compileReport() throws Exception {\n\t\tcompileException = null;\n\t\tif (mainJrxmlFile == null) {\n\t\t\tthrow new Exception(\"jrxmlFile not set\");\n\t\t}\n\t\tif (mainJrxmlFile.canRead() == false) {\n\t\t\tthrow new Exception(\"jrxmlFile \" + mainJrxmlFile.getAbsolutePath()\n\t\t\t\t\t+ \" cannot be read\");\n\t\t}\n\t\tcompileReport(mainJrxmlFile.getAbsolutePath(), true);\n\t\tif (compileException != null) {\n\t\t\tthrow compileException;\n\t\t}\n\t\tmainJasperReport = reportMap.get(mainJrxmlFile.getAbsolutePath());\n\t}","title":""},{"docid":"943e5a27debbed863ec4d255ba5aa89d","score":"0.5487861","text":"public abstract void buildReport();","title":""},{"docid":"834a4e1ab52c90be2602dbd27fb15265","score":"0.5429398","text":"protected void uploadConfigFileToReport() {\n\t\tFile uploadToReportConfigFile = trafficInstance.getUploadedConfigFile();\n\t\ttry {\n\t\t\tReporterHelper.copyFileToReporterAndAddLink(report, uploadToReportConfigFile, \"ConfigFile\");\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}","title":""},{"docid":"37afdfc9e79a2dc1791fab7939c721f5","score":"0.54091984","text":"private int onDump() {\n // Figure out where to dump the coverage data\n String dest = getNextArg();\n if (dest == null) {\n dest = \"/data/local/tmp/coverage.ec\";\n } else {\n File f = new File(dest);\n if (f.isDirectory()) {\n dest = new File(f, \"coverage.ec\").getAbsolutePath();\n }\n }\n\n // Try to open the destination file\n ParcelFileDescriptor fd = openFileForSystem(dest, \"w\");\n if (fd == null) {\n return -1;\n }\n\n // Write the execution data to the file\n try (BufferedOutputStream output = new BufferedOutputStream(\n new ParcelFileDescriptor.AutoCloseOutputStream(fd))) {\n output.write(RT.getAgent().getExecutionData(false));\n output.flush();\n getOutPrintWriter().println(String.format(\"Dumped coverage data to %s\", dest));\n } catch (IOException e) {\n getErrPrintWriter().println(\"Failed to dump coverage data: \" + e.getMessage());\n return -1;\n }\n\n return 0;\n }","title":""},{"docid":"8ef6684650a9f6a470492ec8eb783b62","score":"0.5379391","text":"private void installGeneratedArtifacts() {\n if(installConvertedCP) {\n File userHome = new File(System.getProperty(\"user.home\"));\n if(userHome.isDirectory()) {\n File destFolder = new File(userHome, \".m2/repository\");\n if(destFolder.isDirectory()) {\n copyFiles(convertedCPOutput, destFolder);\n if(isContentPackage) {\n installFMDescriptor(project.getArtifact());\n }\n }\n }\n }\n }","title":""},{"docid":"f1f23c1f3758205e474237e9b545425a","score":"0.5374759","text":"private void installFiles() throws BuildException {\n for (final Path p : description.getFilePathsToCopy()) {\n for (final String disallowedPath : disallowedPaths) {\n if (p.startsWith(disallowedPath)) {\n LOG.error(\"Path {} contained disallowed location\", p);\n throw new BuildException(\"Copy to banned location\");\n }\n }\n\n final Path from = distribution.resolve(p);\n final Path to = idpHome.resolve(p);\n if (Files.exists(to)) {\n LOG.debug(\"File {} exists, skipping\", to);\n continue;\n }\n if (!Files.exists(from)) {\n LOG.warn(\"Source File {} does not exists, skipping\", from);\n continue;\n }\n try {\n createParent(to);\n LOG.debug(\"Copying from {} to {}\", from, to);\n try (final InputStream in = new BufferedInputStream(new FileInputStream(from.toFile()));\n final OutputStream out = new BufferedOutputStream(new FileOutputStream(to.toFile()))) {\n in.transferTo(out);\n }\n } catch (final IOException e) {\n LOG.error(\"Could not copy from {} to {}\", from, to, e);\n throw new BuildException(e);\n }\n }\n }","title":""},{"docid":"abedb450fb05c14b7c01e2ad68fcf833","score":"0.5346179","text":"public void execute() throws BuildException {\n \n // first off, make sure that we've got a srcdir and destdir\n if (srcDir == null || destDir == null) {\n throw new BuildException(\"srcDir and destDir attributes must be set!\");\n }\n \n // scan source and dest dirs to build up both copy lists and\n // compile lists\n // scanDir(srcDir, destDir);\n DirectoryScanner ds = getDirectoryScanner(srcDir);\n \n String[] files = ds.getIncludedFiles();\n \n scanDir(srcDir, destDir, files);\n \n // copy the source and support files\n copyFilesToDestination();\n \n // compile the source files\n if (compileList.size() > 0) {\n log(\"Compiling \" + compileList.size() + \" source file\"\n + (compileList.size() == 1 ? \"\" : \"s\")\n + \" to \" + destDir);\n doNetRexxCompile();\n if (removeKeepExtension && (!compile || keep)) {\n removeKeepExtensions();\n }\n }\n }","title":""},{"docid":"4d4fafa2e5df384fa52cbdce71341058","score":"0.5292645","text":"private void copyContent() throws RendererComponentException\r\n\t{\r\n\t\tFileIO fileWriter = new FileIO();\r\n\t\ttry\r\n\t\t{\r\n\t\t\t// Move images to render img folder\r\n\t\t\tfileWriter.copyDirectory(applicationFolderPath\r\n\t\t\t\t\t+ ZKConstants.CONTENT_FOLDER_NAME, filePath\r\n\t\t\t\t\t+ ZKConstants.MAIN_FOLDER_NAME + \"/\"\r\n\t\t\t\t\t+ ZKConstants.CONTENT_FOLDER_NAME);\r\n\t\t}\r\n\t\tcatch (IOException e)\r\n\t\t{\r\n\t\t\tRendererComponent.logger.log(0,\"No content used\");\r\n\t\t}\r\n\t}","title":""},{"docid":"4b8e4d9794cbea65ecededa26d7583e4","score":"0.52792454","text":"public static void generateBytecode() {\n\t\tprogressTracker.startPhase(\"genBytecode\", \"Generating bytecode....\", 0.45);\r\n\t\t\r\n\t\tdouble step = 1.0 / countSourceCUs();\r\n for(Iterator iter = program.compilationUnitIterator(); iter.hasNext(); ) {\r\n \tCompilationUnit cu = (CompilationUnit)iter.next();\r\n \tif (cu.fromSource()) {\r\n\t \tprogressTracker.advanceProgress(\"Generating bytecode: \" + cu.relativeName(), step);\r\n\t \tcu.transformation();\r\n\t \t\tcu.generateClassfile();\r\n \t}\r\n \t}\r\n \r\n progressTracker.endPhase(\"genBytecode\");\r\n\t}","title":""},{"docid":"b3b8332c7dd2fd1446ce1c8f9eba6ac5","score":"0.5266457","text":"public void execute() throws BuildException {\n File savedFile = file; // may be altered in validateAttributes\n File savedDestFile = destFile;\n File savedDestDir = destDir;\n ResourceCollection savedRc = null;\n if (file == null && destFile != null && rcs.size() == 1) {\n // will be removed in validateAttributes\n savedRc = (ResourceCollection) rcs.elementAt(0);\n }\n \n try {\n // make sure we don't have an illegal set of options\n try {\n validateAttributes();\n } catch (BuildException e) {\n if (failonerror\n || !getMessage(e)\n .equals(MSG_WHEN_COPYING_EMPTY_RC_TO_FILE)) {\n throw e;\n } else {\n log(\"Warning: \" + getMessage(e), Project.MSG_ERR);\n return;\n }\n }\n \n // deal with the single file\n copySingleFile();\n \n // deal with the ResourceCollections\n \n /* for historical and performance reasons we have to do\n things in a rather complex way.\n \n (1) Move is optimized to move directories if a fileset\n has been included completely, therefore FileSets need a\n special treatment. This is also required to support\n the failOnError semantice (skip filesets with broken\n basedir but handle the remaining collections).\n \n (2) We carry around a few protected methods that work\n on basedirs and arrays of names. To optimize stuff, all\n resources with the same basedir get collected in\n separate lists and then each list is handled in one go.\n */\n \n HashMap filesByBasedir = new HashMap();\n HashMap dirsByBasedir = new HashMap();\n HashSet baseDirs = new HashSet();\n ArrayList nonFileResources = new ArrayList();\n- for (int i = 0; i < rcs.size(); i++) {\n+ final int size = rcs.size();\n+ for (int i = 0; i < size; i++) {\n ResourceCollection rc = (ResourceCollection) rcs.elementAt(i);\n \n // Step (1) - beware of the ZipFileSet\n if (rc instanceof FileSet && rc.isFilesystemOnly()) {\n FileSet fs = (FileSet) rc;\n DirectoryScanner ds = null;\n try {\n ds = fs.getDirectoryScanner(getProject());\n } catch (BuildException e) {\n if (failonerror\n || !getMessage(e).endsWith(DirectoryScanner\n .DOES_NOT_EXIST_POSTFIX)) {\n throw e;\n } else {\n log(\"Warning: \" + getMessage(e), Project.MSG_ERR);\n continue;\n }\n }\n File fromDir = fs.getDir(getProject());\n \n String[] srcFiles = ds.getIncludedFiles();\n String[] srcDirs = ds.getIncludedDirectories();\n if (!flatten && mapperElement == null\n && ds.isEverythingIncluded() && !fs.hasPatterns()) {\n completeDirMap.put(fromDir, destDir);\n }\n add(fromDir, srcFiles, filesByBasedir);\n add(fromDir, srcDirs, dirsByBasedir);\n baseDirs.add(fromDir);\n } else { // not a fileset or contains non-file resources\n \n if (!rc.isFilesystemOnly() && !supportsNonFileResources()) {\n throw new BuildException(\n \"Only FileSystem resources are supported.\");\n }\n \n Iterator resources = rc.iterator();\n while (resources.hasNext()) {\n Resource r = (Resource) resources.next();\n if (!r.isExists()) {\n String message = \"Warning: Could not find resource \"\n + r.toLongString() + \" to copy.\";\n if (!failonerror) {\n log(message, Project.MSG_ERR);\n } else {\n throw new BuildException(message);\n }\n continue;\n }\n \n File baseDir = NULL_FILE_PLACEHOLDER;\n String name = r.getName();\n FileProvider fp = (FileProvider) r.as(FileProvider.class);\n if (fp != null) {\n FileResource fr = ResourceUtils.asFileResource(fp);\n baseDir = getKeyFile(fr.getBaseDir());\n if (fr.getBaseDir() == null) {\n name = fr.getFile().getAbsolutePath();\n }\n }\n \n // copying of dirs is trivial and can be done\n // for non-file resources as well as for real\n // files.\n if (r.isDirectory() || fp != null) {\n add(baseDir, name,\n r.isDirectory() ? dirsByBasedir\n : filesByBasedir);\n baseDirs.add(baseDir);\n } else { // a not-directory file resource\n // needs special treatment\n nonFileResources.add(r);\n }\n }\n }\n }\n \n iterateOverBaseDirs(baseDirs, dirsByBasedir, filesByBasedir);\n \n // do all the copy operations now...\n try {\n doFileOperations();\n } catch (BuildException e) {\n if (!failonerror) {\n log(\"Warning: \" + getMessage(e), Project.MSG_ERR);\n } else {\n throw e;\n }\n }\n \n if (nonFileResources.size() > 0 || singleResource != null) {\n Resource[] nonFiles =\n (Resource[]) nonFileResources.toArray(new Resource[nonFileResources.size()]);\n // restrict to out-of-date resources\n Map map = scan(nonFiles, destDir);\n if (singleResource != null) {\n map.put(singleResource,\n new String[] { destFile.getAbsolutePath() });\n }\n try {\n doResourceOperations(map);\n } catch (BuildException e) {\n if (!failonerror) {\n log(\"Warning: \" + getMessage(e), Project.MSG_ERR);\n } else {\n throw e;\n }\n }\n }\n } finally {\n // clean up again, so this instance can be used a second\n // time\n singleResource = null;\n file = savedFile;\n destFile = savedDestFile;\n destDir = savedDestDir;\n if (savedRc != null) {\n rcs.insertElementAt(savedRc, 0);\n }\n fileCopyMap.clear();\n dirCopyMap.clear();\n completeDirMap.clear();\n }\n }","title":""},{"docid":"72003661540629609f2aa4ea912e62fb","score":"0.5191617","text":"@TaskAction\n public void runSableCC() {\n final File outputDir = getOutputDir();\n // println \"Writing to $outputDir\"\n DefaultGroovyMethods.deleteDir(outputDir);\n outputDir.mkdirs();\n\n ConfigurableFileTree inputFiles = getProject().fileTree(getInputDir());\n inputFiles.include(\"**/*.sablecc\");\n inputFiles.visit(new EmptyFileVisitor() {\n @Override\n public void visitFile(FileVisitDetails fvd) {\n try {\n org.sablecc.sablecc.SableCC.processGrammar(fvd.getFile().getAbsolutePath(), outputDir.getAbsolutePath());\n } catch (Exception e) {\n throw new GradleException(\"Failed to process \" + fvd, e);\n }\n }\n });\n\n ConfigurableFileTree outputFiles = getProject().fileTree(outputDir);\n outputFiles.visit(new EmptyFileVisitor() {\n @Override\n public void visitFile(FileVisitDetails fvd) {\n try {\n SableCCPostProcessor.processFile(fvd.getFile());\n } catch (IOException e) {\n throw new GradleException(\"Failed to post-process \" + fvd, e);\n }\n }\n });\n\n }","title":""},{"docid":"2c9525aa4ca0cda7947900b5c39ea257","score":"0.51831204","text":"static void buildReport( ) throws IOException, SemanticException\n\t{\n\n\t\tDesignConfig config = new DesignConfig( );\n\t\tconfig.setBIRTHome(\"C:/birt/birt-runtime-2_6_2/birt-runtime-2_6_2/ReportEngine\");\n\t\tIDesignEngine engine = null;\n\t\ttry{\n\n\n\t\t\tPlatform.startup( config );\n\t\t\tIDesignEngineFactory factory = (IDesignEngineFactory) Platform\n\t\t\t.createFactoryObject( IDesignEngineFactory.EXTENSION_DESIGN_ENGINE_FACTORY );\n\t\t\tengine = factory.createDesignEngine( config );\n\n\t\t}catch( Exception ex){\n\t\t\tex.printStackTrace();\n\t\t}\n\n\n\t\tSessionHandle session = engine.newSessionHandle( ULocale.ENGLISH ) ;\n\n\t\tReportDesignHandle design = null;\n\t\ttry{\n\t\t\tdesign = session.openDesign(\"Reports/TopNPercent.rptdesign\" );\n\n\n\t\t\tList cssStyleSheets = design.getAllStyles();//getAllCssStyleSheets();\n\n\t\t\tint size = cssStyleSheets.size();\n\t\t\tIterator myincludecssiter = design.includeCssesIterator();\n\t\t\twhile ( myincludecssiter.hasNext( ) ){\n\t\t\t\tIncludedCssStyleSheetHandle css = (IncludedCssStyleSheetHandle)myincludecssiter.next();\n\t\t\t\t//System.out.println( css.getFileName());\n\n\t\t\t}\n\n\t\t\tSlotHandle sh = design.getBody();\n\t\t\tSystem.out.println( \"Contents Count: \" + sh.getCount());\n\t\t\tIterator it = sh.iterator();\n\t\t\twhile( it.hasNext()){\n\t\t\t\tDesignElementHandle de =(DesignElementHandle)it.next();\n\t\t\t\t//System.out.println(de.getName());\n\n\t\t\t}\n\n\t\t\tsh = design.getDataSources();\n\t\t\tit = sh.iterator();\n\t\t\twhile( it.hasNext()){\n\t\t\t\tDesignElementHandle de =(DesignElementHandle)it.next();\n\t\t\t\t//System.out.println(de.getName());\n\n\t\t\t}\n\t\t\tsh = design.getDataSets();\n\t\t\tit = sh.iterator();\n\t\t\twhile( it.hasNext()){\n\t\t\t\tDesignElementHandle de =(DesignElementHandle)it.next();\n\t\t\t\t//System.out.println(de.getName());\n\n\t\t\t}\n\n\t\t\tsh = design.getMasterPages();\n\t\t\tit = sh.iterator();\n\t\t\twhile( it.hasNext()){\n\t\t\t\tDesignElementHandle de =(DesignElementHandle)it.next();\n\t\t\t\t//System.out.println(de.getName());\n\n\t\t\t}\t\t\t\n\n\t\t\tsh = design.getParameters();\n\t\t\tit = sh.iterator();\n\t\t\twhile( it.hasNext()){\n\t\t\t\tDesignElementHandle de =(DesignElementHandle)it.next();\n\t\t\t\t//System.out.println(de.getName());\n\n\t\t\t}\t\n\n\n\t\t\tSystem.out.println(\"Slot Count for a report design \" + design.getDefn().getSlotCount());\n\t\t\tfor( int i=0; i < design.getDefn().getSlotCount(); i++){\n\t\t\t\t//System.out.println(\" Slot \" + i + \" -- \" + design.getDefn().getSlot(i).getName());\n\t\t\t}\n\n\n\n\n\t\t\tIterator pit = design.getPropertyIterator();\n\t\t\twhile( pit.hasNext()){\n\t\t\t\tPropertyHandle ph = (PropertyHandle) pit.next();\n\n\t\t\t\tIStructureDefn structDefn = ph.getPropertyDefn().getStructDefn( );\n\t\t\t\tif ( structDefn != null )\n\n\t\t\t\t{\n\t\t\t\t\t//System.out.println(\"ListProperty \" + ph.getPropertyDefn().getDisplayName());\n\n\n\t\t\t\t\tIterator structIterator = ph.iterator( );\n\t\t\t\t\twhile ( structIterator.hasNext( ) )\n\n\t\t\t\t\t{\n\n\t\t\t\t\t\tStructureHandle structHandle = (StructureHandle) structIterator.next( );\n\t\t\t\t\t\tIterator memberIterator = structHandle.iterator( );\n\t\t\t\t\t\twhile ( memberIterator.hasNext( ) )\n\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tMemberHandle memHandle = (MemberHandle) memberIterator.next( );\n\t\t\t\t\t\t\t//System.out.println( \" Structure Item \" + memHandle.getDefn( ).getDisplayName( ) + \"---\" + memHandle.getValue() );\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\n\t\t\t\t}else{\n\n\t\t\t\t\tSystem.out.println(\"StandardProperty \" + ph.getPropertyDefn().getDisplayName() + \"--\" +ph.getValue());\n\n\t\t\t\t}\n\t\t\t}\n\n\n\t\t\t// Instantiate a slot handle and iterator for the body slot.\n\t\t\tSlotHandle shBody = design.getBody();\n\t\t\tIterator slotIterator = shBody.iterator();\n\t\t\t// To retrieve top-level report items, iterate over the body.\n\t\t\twhile (slotIterator.hasNext()) {\n\t\t\t\tObject shContents = slotIterator.next();\n\t\t\t\t// To get the contents of the top-level report items,\n\t\t\t\t// instantiate slot handles.\n\t\t\t\tif (shContents instanceof GridHandle) \t{\n\t\t\t\t\tGridHandle grid = ( GridHandle ) shContents;\n\t\t\t\t\tparseGrid( grid );\n\t\t\t\t}\n\t\t\t\tif (shContents instanceof ListingHandle) \t{\n\t\t\t\t\tListingHandle list = ( ListingHandle ) shContents;\n\t\t\t\t\tparseList( list );\n\t\t\t\t}\n\t\t\t\tif (shContents instanceof ImageHandle) {\n\t\t\t\t\tString imageSource = ( ( ImageHandle ) \n\t\t\t\t\t\t\tshContents ).getSource( ); \n\t\t\t\t\tImageHandle ih =(ImageHandle)shContents;\n\t\t\t\t\tSystem.out.println(ih.getImageName());\n\t\t\t\t\t// Check that the image has a URI.\n\n\t\t\t\t}\n\t\t\t\tif( shContents instanceof ExtendedItemHandle){\n\t\t\t\t\tString type = ((ExtendedItemHandle)shContents).getExtensionName();\n\t\t\t\t\tif( type.compareToIgnoreCase(\"Crosstab\")==0){\n\t\t\t\t\t\tSystem.out.println(\"Found a crosstab\");\n\t\t\t\t\t}\n\t\t\t\t\tif( type.compareToIgnoreCase(\"Chart\")==0){\n\t\t\t\t\t\tChart cm = (Chart) ((ExtendedItemHandle)shContents).getReportItem( ).getProperty( \"chart.instance\" ); \n\t\t\t\t\t\tSystem.out.println(\"Found chart of type \" +cm.getType());\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tdesign.close( );\n\t\t\tPlatform.shutdown();\n\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t}\t\t\n\t\tSystem.out.println(\"Finished\");\n\n\t\t// We're done!\n\t}","title":""},{"docid":"6bc59971bf17b2e6c6ff329afee1b584","score":"0.51809776","text":"private void scan() {\n\t\t\tUtils.print(\"File scanning.\");\n\t\t\tUtils.print(\"Source directory:\" + getSourcePath());\n\t\t sourceFiles = FileManager.scanProject(getSourcePath());\n\t}","title":""},{"docid":"1bc93b5bb7bdc7a8de343120da67030a","score":"0.51769143","text":"public static void createNewReport() {\n String pathProject = Utils.getCurrentProjectPath();\n if (extent == null) {\n\n fileName = pathProject+\"\\\\output\\\\Reporter-test \" + Utils.getCurrentTimeStamp() + \".html\";\n ExtentHtmlReporter htmlReporter = new ExtentHtmlReporter(fileName);\n htmlReporter.config().setReportName(fileName);\n\n extent = new ExtentReports();\n extent.attachReporter(htmlReporter);\n }\n\n }","title":""},{"docid":"0f07fb7b93bd377a8cebd36d99a840b0","score":"0.5176703","text":"@AfterClass\n\tpublic static void reportGeneration() {\n\t\tJvmReport.generateJvmReport(\"D:\\\\NewMaven\\\\Cucumber11.30am\\\\Reports\\\\jsonreport.json\");\n\t}","title":""},{"docid":"a9cb9b1bc81c62f5577e94760730c8a0","score":"0.5169319","text":"private void copyFiles1(){\t\n\t\tcopyFileToSimStudentFolder(INIT_FILE);\n\t\tcopyFileToSimStudentFolder(WME_TYPE_FILE);\n\t\tcopyFileToSimStudentFolder(\"UserDefSymbols.class\");\n\t\tcopyFileToSimStudentFolder(WME_STRUCTURE_FILE);\n\t}","title":""},{"docid":"ed78d11486a75eaa894429f9fc480e70","score":"0.5168488","text":"@Override\n public String compileCode(String code) {\n if (this._boardName == null ) {\n this.setBoardName(\"calliope\");\n }\n \n _buildPath = userPath + \"/build/\" + this._boardName + \"/\";\n \n if ( this._boardName.equals(\"microbit\") ) {\n _hexPath = _buildPath + \"build/bbc-microbit-classic-gcc/source/abbozza-combined.hex\";\n } else {\n _hexPath = _buildPath + \"build/calliope-mini-classic-gcc/source/abbozza-combined.hex\"; \n }\n AbbozzaLogger.out(\"Build path set to \" + _buildPath, AbbozzaLogger.INFO); \n AbbozzaLogger.out(\"Code generated\", AbbozzaLogger.INFO);\n \n // Set code in frame\n this.frame.setCode(code);\n\n String errMsg = \"\";\n String stdMsg = \"\";\n \n _exitValue = 1;\n \n // Copy code to /source/abbozza.cpp\n AbbozzaLogger.out(\"Writing code to \" + _buildPath + \"source/abbozza.cpp\");\n if (!code.equals(\"\")) {\n try {\n PrintWriter out = new PrintWriter(_buildPath + \"source/abbozza.cpp\");\n out.write(code);\n out.flush();\n out.close();\n\n _exitValue = compile(_buildPath); \n AbbozzaLogger.info(\"Exit value: \" + _exitValue);\n \n } catch (FileNotFoundException ex) {\n AbbozzaLogger.err(ex.getLocalizedMessage());\n }\n\n if (_exitValue == 0) {\n stdMsg = \"\";\n AbbozzaLogger.force(\"[compile] : \" + AbbozzaLocale.entry(\"msg.done_compiling\"));\n } else {\n AbbozzaLogger.force(\"[compile] : \" + AbbozzaLocale.entry(\"msg.error_compiling\"));\n stdMsg = AbbozzaLocale.entry(\"msg.error_compiling\");\n }\n }\n \n return stdMsg;\n }","title":""},{"docid":"c813e66f37dd6e0791056a98903f75cc","score":"0.51612526","text":"public synchronized void deploy() {\n platformDirectory = getCarbonComponentRepo();\n\n File plugins = new File(platformDirectory, \"plugins\");\n File patchesDir = new File(platformDirectory, \"patches\");\n//\n File dropinsFolder = new File(platformDirectory, \"dropins\");\n //copying resources inside patches folder to the work area.\n //TODO Copying of patches should only be performed by the master node, in multiple instance case.\n String applyPatches = System.getProperty(APPLY_PATCHES);\n if (applyPatches != null) {\n try {\n applyPatches(patchesDir, plugins);\n } catch (IOException e) {\n context.log(\"Error occurred while applying patches\", e);\n }\n }\n\n // copy create OSGi framework extension bundles\n\n }","title":""},{"docid":"09335697d8e8c2dbd3f37952079b259c","score":"0.5160809","text":"protected void capture() {\n\t\tConfig conf = Config.get();\n\t\tif(conf.captureJsonEncodingErrors()) {\n\t\t\tString msg = generateMsg();\n\t\t\ttry {\n\t\t\t\tPath p = Paths.get(conf.captureRoot().getAbsolutePath(), \"encode\");\n\t\t\t\tif(!targetCleaned && Files.exists(p))\n\t\t\t\t\ttry {\n\t\t\t\t\t\tFileUtils.deleteDirectory(p.toFile());\n\t\t\t\t\t} catch(IOException e) {\n\t\t\t\t\t\tLOG.warn(String.format(\"Unable to clean target dir! [%s]\", p));\n\t\t\t\t\t}\n\t\t\t\ttargetCleaned = true;\n\t\t\t\tFiles.createDirectories(p);\n\t\t\t\tPath f = Files.createTempFile(p, prefix(), \".err\");\n\t\t\t\tFiles.write(f, msg.getBytes(\"UTF-8\"));\n\t\t\t} catch (IOException e) {\n\t\t\t\tLOG.error(\"Unable to write capture file, logging it instead!\", e);\n\t\t\t\tLOG.error(String.format(\"Invalid JSON received!%n%s\", msg), this);\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"16979c604bde0b32b00f99ac91e494d5","score":"0.5160351","text":"public void assembleFile() {\n\t\tFile source = null;\n\t\tFile outputExe = null;\n\t\tJFileChooser chooser = new JFileChooser(sourceDir);\n\t\tFileNameExtensionFilter filter = new FileNameExtensionFilter(\n\t\t\t\t\"Pippin Source Files\", \"pips\");\n\t\tchooser.setFileFilter(filter);\n\t\t// CODE TO LOAD DESIRED FILE\n\t\tint openOK = chooser.showOpenDialog(null);\n\t\tif(openOK == JFileChooser.APPROVE_OPTION) {\n\t\t\tsource = chooser.getSelectedFile();\n\t\t}\n\t\tif(source != null && source.exists()) {\n\t\t\t// CODE TO REMEMBER WHICH DIRECTORY HAS THE pipe FILES\n\t\t\t// WHICH WE WILL ALLOW TO BE DIFFERENT\n\t\t\tsourceDir = source.getAbsolutePath();\n\t\t\tsourceDir = sourceDir.replace('\\\\','/');\n\t\t\tint lastDot = sourceDir.lastIndexOf('.');\n\t\t\tString outName = sourceDir.substring(0, lastDot + 1) + \"pipe\"; \n\t\t\tint lastSlash = sourceDir.lastIndexOf('/');\n\t\t\tsourceDir = sourceDir.substring(0, lastSlash + 1);\n\t\t\toutName = outName.substring(lastSlash+1);\n\t\t\tfilter = new FileNameExtensionFilter(\n\t\t\t\t\t\"Pippin Executable Files\", \"pipe\");\n\t\t\tif(executableDir.equals(eclipseDir)) {\n\t\t\t\tchooser = new JFileChooser(sourceDir);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(executableDir);\n\t\t\t\tSystem.out.println(outName);\n\t\t\t\tchooser = new JFileChooser(executableDir);\n\t\t\t}\n\t\t\tchooser.setFileFilter(filter);\n\t\t\tchooser.setSelectedFile(new File(outName));\n\t\t\tint saveOK = chooser.showSaveDialog(null);\n\t\t\tif(saveOK == JFileChooser.APPROVE_OPTION) {\n\t\t\t\toutputExe = chooser.getSelectedFile();\n\t\t\t}\n\t\t\tif(outputExe != null) {\n\t\t\t\texecutableDir = outputExe.getAbsolutePath();\n\t\t\t\texecutableDir = executableDir.replace('\\\\','/');\n\t\t\t\tlastSlash = executableDir.lastIndexOf('/');\n\t\t\t\texecutableDir = executableDir.substring(0, lastSlash + 1);\n\t\t\t\ttry {\n\t\t\t\t\tproperties.setProperty(\"SourceDirectory\", sourceDir);\n\t\t\t\t\tproperties.setProperty(\"ExecutableDirectory\", executableDir);\n\t\t\t\t\tproperties.store(new FileOutputStream(\"propertyfile.txt\"),\n\t\t\t\t\t\t\t\"File locations\");\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\tSystem.out.println(\"Error writing properties file\");\n\t\t\t\t}\n\t\t\t\tif (Assembler.assembleFile(source, outputExe)) {\n\t\t\t\t\tJOptionPane.showMessageDialog(\n\t\t\t\t\t\t\tframe, \n\t\t\t\t\t\t\t\"The source was assembled to an executable\",\n\t\t\t\t\t\t\t\"Success\",\n\t\t\t\t\t\t\tJOptionPane.INFORMATION_MESSAGE);\n\t\t\t\t} else {\n\t\t\t\t\t// a warning JOption pane indicating failure and that the output file was not created.\n\t\t\t\t\tJOptionPane.showMessageDialog(\n\t\t\t\t\t\t\tframe, \n\t\t\t\t\t\t\t\"output file was not created\",\n\t\t\t\t\t\t\t\"Warning\",\n\t\t\t\t\t\t\tJOptionPane.INFORMATION_MESSAGE);\n\t\t\t\t} \n\t\t\t} else {// outputExe still null\n\t\t\t\tJOptionPane.showMessageDialog(\n\t\t\t\t\t\tframe,\n\t\t\t\t\t\t\"The output file has problems.\\n\" +\n\t\t\t\t\t\t\t\t\"Cannot assemble the program\",\n\t\t\t\t\t\t\t\t\"Warning\",\n\t\t\t\t\t\t\t\tJOptionPane.OK_OPTION);\n\t\t\t}\n\t\t} else {// outputExe does not exist\n\t\t\tJOptionPane.showMessageDialog(\n\t\t\t\t\tframe,\n\t\t\t\t\t\"The source file has problems.\\n\" +\n\t\t\t\t\t\t\t\"Cannot assemble the program\",\n\t\t\t\t\t\t\t\"Warning\",\n\t\t\t\t\t\t\tJOptionPane.OK_OPTION); \n\t\t}\n\t}","title":""},{"docid":"7449aa14d2b37f1c8ff252c95c49fc39","score":"0.51569796","text":"protected void copyNonCodeFiles() throws IOException {\n copyNonCodeFiles(updaterContext.getOriginalHeaderBaseDir(), updaterContext.getNewHeaderBaseDir(), updaterContext.getOriginalHeaderBaseDir());\n if (!updaterContext.isUpdateIncludeDirOnly()) {\n copyNonCodeFiles(updaterContext.getOriginalCppBaseDir(), updaterContext.getNewCppBaseDir(), updaterContext.getOriginalCppBaseDir());\n }\n }","title":""},{"docid":"1f5573833b02fb0b706215555e2ef6db","score":"0.5149111","text":"private void setupFilePaths() {\n redeemMcMMO = getFile();\n mainDirectory = getDataFolder().getPath() + File.separator;\n flatFileDirectory = mainDirectory + \"flatfile\" + File.separator;\n }","title":""},{"docid":"0fbe6c3a4f253f91d7838d861e069cbc","score":"0.514747","text":"private void generateFiles() {\n for (ISpecProcessor specProcessor : specProcessors) {\n for (Spec spec : specProcessor.getSpecs().values()) {\n try {\n spec.buildJavaFile().writeTo(processingEnv.getFiler());\n } catch (IOException e) {\n processingEnv.getMessager().printMessage(Diagnostic.Kind.ERROR, e.toString());\n }\n }\n }\n }","title":""},{"docid":"5df5e1c888368fa3be39682a6e02a6ef","score":"0.51288354","text":"protected String getCompileFileName()\r\n/* 61: */ {\r\n/* 62: 89 */ return \"reporteChequePosfechadosDetallado\";\r\n/* 63: */ }","title":""},{"docid":"061a231cccce97697af05d6a110cf84e","score":"0.5100039","text":"private void report() {\n }","title":""},{"docid":"6ec0df354cdc84742d48f3580bae4529","score":"0.5099925","text":"final void prepareOutputFiles() throws IOException {\n // Initialize output writers\n File output = Exporter.getOutputFolder(\"bfd\", null);\n output.mkdirs();\n Path outputDirectory = output.toPath();\n\n rifWriters = new RifWriters(outputDirectory);\n }","title":""},{"docid":"bce2eaf58ac30551854fff1f6785925e","score":"0.5081998","text":"@Override public boolean generateCode()\n{\n boolean rsts = false;\n\n map_context = new VelocityContext();\n\n try {\n clearOldCode();\n CompilationUnit cu = (CompilationUnit) cose_result.getStructure();\n setup(cu);\n producePackageFiles(cu);\n produceTestFiles();\n producePomFile();\n // generate resource files\n // generate test files\n\n File dir = (File) map_context.get(\"DIRECTORY\");\n IvyExec ex = new IvyExec(\"mvn compile\",dir,IvyExec.ERROR_OUTPUT);\n int sts = ex.waitFor();\n if (sts != 0) {\n\t IvyLog.logI(\"Maven compile failed\");\n\t rsts = false;\n }\n else {\n\t IvyLog.logI(\"Maven compile succeeded\");\n\t rsts = true;\n }\n // run tests\n }\n catch (IOException e) {\n return false;\n }\n\n return rsts;\n}","title":""},{"docid":"b8fb9554ebc4c7a2decf766b4d448cd5","score":"0.5075594","text":"public void writeFileContents() {\n\t\t//will fill in later in the project\n\t}","title":""},{"docid":"371ac72570a69813dfd92988bde04637","score":"0.5043141","text":"@NonNull @Override public WorkerResult doWork() {\n File outputDirectory = new File(getApplicationContext().getFilesDir(), ProjectConstants.PROJECTS_DIR);\n\n return null;\n }","title":""},{"docid":"632364f52b2fafaf68a9ea74a2416e4a","score":"0.50427693","text":"public void dumpToProject() {\n takeHeapDump(false);\n }","title":""},{"docid":"50679ba0c019099ee9c8a7d985696eb2","score":"0.5039359","text":"private void Compile()\n\t{\n\t\tBufferedWriter out = null;\n\t\ttry\n\t\t{\n\t\t\tFileWriter fstream = new FileWriter(\"ScheduleLog.txt\", true);\n\t\t\tout = new BufferedWriter(fstream);\n\t\t\tString appointmentTime = day + \" \" + time; \n\t\t\t// Each line in the log contains all necessary information for each scheduled visit in the following format:\n\t\t\t// [STUDENT_ID] : [TUTOR_ID] : [COURSE_HELPED] : [DATE_AND_TIME_OF_APPOINTMENT] : [LENGTH_OF_APPOINTMENT]\n\t\t out.write(s.getID() + \" : \" + t.getID() + \" : \" + c + \": \" + appointmentTime + \" : \" + l + \"\\n\");\n\t\t}\n\t\tcatch (IOException e)\n\t\t{\n\t\t System.err.println(\"Error: \" + e.getMessage());\n\t\t}\n\t\tfinally // close output stream\n\t\t{\n\t\t if(out != null) {\n\t\t try {\n\t\t\t\t\tout.close();\n\t\t\t\t} catch (IOException e) \n\t\t {\n\t\t\t\t\tSystem.err.println(\"Error: \" + e.getMessage());\n\t\t\t\t}\n\t\t }\n\t\t}\n\t}","title":""},{"docid":"1102cb668ffc72294b5f7ed38bf7efd5","score":"0.50334287","text":"public void compile() {\n log.tag(\"compile\");\n for (Folder folder : Folder.values()) {\n log.println(Level.CONFIG, \"folder %s -> `%s`\", folder, path(folder));\n }\n Path modules = path(Folder.SOURCE);\n log.check(Files.exists(modules), \"folder source `%s` does not exist\", modules);\n log.check(Util.findDirectoryNames(modules).count() > 0, \"no directory found in `%s`\", modules);\n Tool.JavacOptions options = tool.defaultJavacOptions.get();\n Util.cleanTree(path(Folder.TARGET), true);\n switch (Layout.of(modules)) {\n case BASIC:\n log.info(\"main\");\n javac(modules, path(Folder.TARGET_MAIN_COMPILE), options);\n Util.copyTree(modules, path(Folder.TARGET_MAIN_COMPILE)); // TODO exclude .java files?\n break;\n case FIRST:\n Util.findDirectoryNames(modules)\n .forEach(\n module -> {\n log.fine(\"module %s\", module);\n Path source = modules.resolve(module);\n // main\n Util.copyTree(\n source.resolve(path(Folder.MAIN_JAVA)),\n path(Folder.TARGET_MAIN_SOURCE).resolve(module));\n Util.copyTree(\n source.resolve(path(Folder.MAIN_RESOURCES)),\n path(Folder.TARGET_MAIN_COMPILE).resolve(module));\n // test\n Util.copyTree(\n source.resolve(path(Folder.MAIN_JAVA)),\n path(Folder.TARGET_TEST_SOURCE).resolve(module));\n Util.copyTree(\n source.resolve(path(Folder.TEST_JAVA)),\n path(Folder.TARGET_TEST_SOURCE).resolve(module));\n Util.moveModuleInfo(path(Folder.TARGET_TEST_SOURCE).resolve(module));\n Util.copyTree(\n source.resolve(path(Folder.TEST_RESOURCES)),\n path(Folder.TARGET_TEST_COMPILE).resolve(module));\n });\n log.info(\"main\");\n javac(path(Folder.TARGET_MAIN_SOURCE), path(Folder.TARGET_MAIN_COMPILE), options);\n if (Files.exists(path(Folder.TARGET_TEST_SOURCE))) {\n log.info(\"test\");\n javac(path(Folder.TARGET_TEST_SOURCE), path(Folder.TARGET_TEST_COMPILE), options);\n }\n break;\n case TRAIL:\n log.info(\"main\");\n javac(modules.resolve(path(Folder.MAIN_JAVA)), path(Folder.TARGET_MAIN_COMPILE), options);\n Util.copyTree(\n modules.resolve(path(Folder.MAIN_RESOURCES)), path(Folder.TARGET_MAIN_COMPILE));\n if (Files.exists(modules.resolve(path(Folder.TEST_JAVA)))) {\n log.info(\"test\");\n Util.copyTree(modules.resolve(path(Folder.MAIN_JAVA)), path(Folder.TARGET_TEST_SOURCE));\n Util.copyTree(modules.resolve(path(Folder.TEST_JAVA)), path(Folder.TARGET_TEST_SOURCE));\n javac(path(Folder.TARGET_TEST_SOURCE), path(Folder.TARGET_TEST_COMPILE), options);\n Util.copyTree(\n modules.resolve(path(Folder.TEST_RESOURCES)), path(Folder.TARGET_TEST_COMPILE));\n }\n break;\n default:\n log.check(false, \"unsupported module source path layout of `%s`\", modules);\n }\n log.tag(\"compile\");\n log.info(\"compiled\");\n }","title":""},{"docid":"53f842a33a36b185bef57ce924c43a61","score":"0.50260854","text":"@Override\r\n public void run(){\n String sourceFullPath = Main.getFirstArgument();\r\n String sourcePath = FileSystem.extractParentPathFrom(sourceFullPath);\r\n String sourceName = FileSystem.getFileName(sourceFullPath);\r\n\r\n //Caut directorul sursa\r\n Directory sourceDir = FileSystem.getDirectoryFrom(sourcePath);\r\n if(sourceDir == null){\r\n //Daca unul din directoarele din path sau chiar nodul de copiat nu exista se va afisa mesajul:\r\n String message = \"cp: cannot copy \" + sourceFullPath + \": No such file or directory\\n\";\r\n OutputFiles.writeError(message);\r\n\r\n return;\r\n }\r\n\r\n //Caut frunza de copiat\r\n Leaf originalLeaf = sourceDir.get(sourceName);\r\n if(sourceName.equals(\".\")){\r\n originalLeaf = FileSystem.getCurrentDir();\r\n }\r\n if(originalLeaf == null){\r\n String message = \"cp: cannot copy \" + sourceFullPath + \": No such file or directory\\n\";\r\n OutputFiles.writeError(message);\r\n return;\r\n }\r\n\r\n //Iau al doilea argument pentru destinatie\r\n String destPath = Main.getSecondArgument();\r\n\r\n //Caut directorul destinatiei\r\n Directory destDir = FileSystem.getDirectoryFrom(destPath);\r\n\r\n //Verific daca exista\r\n if(destDir == null){\r\n //Daca unul din directoarele din path-ul destinatiei nu exista se va afisa urmatorul mesaj:\r\n String message = \"cp: cannot copy into \" + destPath + \": No such directory\\n\";\r\n OutputFiles.writeError(message);\r\n\r\n return;\r\n }\r\n\r\n //Clonez frunza gasita in sursa.\r\n Leaf copyLeaf = originalLeaf.clone();\r\n\r\n //Setez noul parinte\r\n copyLeaf.setParent(destDir);\r\n if(copyLeaf instanceof Directory){\r\n //Resetez path-urile si parintii daca nodul este director\r\n ((Directory)copyLeaf).resetPathAndParents();\r\n }else{\r\n //Resetez doar path-ul deoarece este File\r\n copyLeaf.setPath(destDir.getFullPath());\r\n copyLeaf.resetFullPath();\r\n }\r\n\r\n if(destDir.add(copyLeaf) == -1){\r\n //Fisierul exista deja in directorul destinatie\r\n //Doar se va afisa mesajul urmator:\r\n String message = \"cp: cannot copy \" + sourceFullPath + \": Node exists at destination\\n\";\r\n OutputFiles.writeError(message);\r\n\r\n return;\r\n }\r\n }","title":""},{"docid":"6fc9bf02d48baa9ede1b75bb6ac34438","score":"0.50153255","text":"public void testCompile() throws Exception {\n final File testDir = ResourceExtractor.simpleExtractResources( getClass(), \"/org/phpmaven/test/projects/source-copy\");\n \n final Verifier verifier = new Verifier( testDir.getAbsolutePath() );\n \n // delete the pom from previous runs\n verifier.deleteArtifact( \"org.phpmaven.test\", \"source-copy\", \"0.0.1\", \"pom\" );\n verifier.deleteArtifact( \"org.phpmaven.test\", \"source-copy\", \"0.0.1\", \"phar\" );\n verifier.setAutoclean(true);\n\n verifier.executeGoal(\"compile\");\n verifier.verifyErrorFreeLog();\n verifier.resetStreams();\n \n verifier.assertFilePresent(\"target/classes/MyClass.php\");\n }","title":""},{"docid":"d061301688b85665882e989d0b4dfbd4","score":"0.5010583","text":"protected void compileFile() throws Exception\r\n \t{\r\n \t\tlog(\"Compiling...\");\r\n \t\tJava javatask = (Java) getProject().createTask(\"java\");\r\n \t\tjavatask.setClassname(getProgramClassName());\r\n \t\tjavatask.setFork(true);\r\n \t\tjavatask.setFailonerror(true);\r\n \r\n\t\tjavatask.createJvmarg().setValue(\"-Dfile.encoding=\"+this.inputCharset );\r\n\t\t\r\n \t\tfor (Argument arg : jvmArgs)\r\n \t\t{\r\n \t\t\tif(arg != null)\r\n \t\t\t{\r\n \t\t\t\tjavatask.createJvmarg().setValue(arg.getParts()[0]);\r\n \t\t\t}\r\n \t\t}\r\n \t\taddCompilerParameters(javatask);\r\n \r\n \t\tfor (Argument arg : args)\r\n \t\t{\r\n \t\t\tif(arg != null)\r\n \t\t\t{\r\n \t\t\t\tjavatask.createArg().setValue(arg.getParts()[0]);\r\n \t\t\t}\r\n \t\t}\r\n \r\n \t\tfor (Path path : this.classpath)\r\n \t\t{\r\n \t\t\tjavatask.setClasspath(path);\r\n \t\t}\r\n \t\t\r\n \t\tint resultCode = javatask.executeJava();\r\n \t\tif (resultCode != 0)\r\n \t\t{\r\n \t\t\tif (this.failOnError )\r\n \t\t\t{\r\n \t\t\t\tthrow new CompilerException(\"Crux Compiler returned errors.\");\r\n \t\t\t}\r\n \t\t\telse\r\n \t\t\t{\r\n \t\t\t\tlog(\"Crux Compiler returned errors.\", Project.MSG_ERR);\t\t\t\t\r\n \t\t\t}\r\n \t\t}\r\n \t}","title":""},{"docid":"e38e07005d82dca6446bc57e06d54946","score":"0.500753","text":"public void createReportData(String treeReport, IProject project) throws Exception {\n\t\tFile generalMetrics = new File(project.getLocation().toString() + \"/reports/libs/lib/hierarchical-analysis.js\" );\n\t\tif(!generalMetrics.exists())\n\t\t\tgeneralMetrics.createNewFile();\n\t\tPrintWriter outMetrics = new PrintWriter( generalMetrics );\n\t\toutMetrics.print(treeReport);\n\t\toutMetrics.close();\n\t}","title":""},{"docid":"d4de5229c2269dc2d476ab8c1573a295","score":"0.4993765","text":"@Override\r\n\tpublic void report() {\n\t\t\r\n\t}","title":""},{"docid":"82292fe06283ccf5d6947062318aae89","score":"0.49910462","text":"public void crawl() {\n LOG.log(Level.INFO, \"Crawling ...\");\n \n\t\tthis.crawlPage(ROOT_URL);\n\t\ttransformer.transform(locationSet, new File(OUTPUT_FILE_NAME));\n\t\t\n\t\tLOG.log(Level.INFO, \"Output generated at project root, File name is \"+OUTPUT_FILE_NAME);\n\t}","title":""},{"docid":"72d1e1b08691de48a6fff90ec88fcd7d","score":"0.49692467","text":"private void generateExternalReports(Engine engine, File outDirectory) throws ScanAgentException {\n try {\n engine.writeReports(applicationName, outDirectory, this.reportFormat.name(), null);\n } catch (ReportException ex) {\n LOGGER.debug(\"Unexpected exception occurred during analysis; please see the verbose error log for more details.\", ex);\n throw new ScanAgentException(\"Error generating the report\", ex);\n }\n }","title":""},{"docid":"36150b0e355eba1003fb847a4b337a49","score":"0.4964586","text":"@Override\n public void perform(@Nonnull Run run,\n @Nonnull FilePath ws,\n @Nonnull Launcher launcher,\n @Nonnull TaskListener listener)\n throws InterruptedException, IOException {\n listener.getLogger().println(String.format(\"[coderrect] Starting. workspace=%s, run=%s, buildDirectory=%s\",\n ws.getBaseName(), run.getId(), this.buildDirectory));\n\n if (Result.ABORTED.equals(run.getResult())) {\n listener.getLogger().println(\"Skipping publishing race reports because build aborted\");\n return;\n }\n\n CoderrectParser parser = new CoderrectParser(listener, this.buildDirectory);\n // ws remotely executes 'parser' on the slave machine by sending jar file to\n // the slave and ser/deser its return value to the master\n CoderrectStats stats = ws.act(parser);\n Run prevRun = run.getPreviousBuild();\n CoderrectStats prevStats = null;\n if (prevRun != null) {\n CoderrectAction prevAction = prevRun.getAction(CoderrectAction.class);\n if (prevAction != null)\n prevStats = prevAction.getStats();\n }\n logRaceList(listener.getLogger(), \"current\", stats.getDataRaceList());\n if (prevStats != null)\n logRaceList(listener.getLogger(), \"previous\", prevStats.getDataRaceList());\n CoderrectAction action = new CoderrectAction(run, stats, prevStats);\n listener.getLogger().printf(\"[coderrect] newAdded=%d, disappeared=%d\\n\",\n action.getNewAdded().size(), action.getDisappeared().size());\n run.addAction(action);\n\n copyFilesToBuildDirectory(run, ws, listener, run.getRootDir(), launcher.getChannel());\n\n listener.getLogger().println(\"[coderrect] done\");\n }","title":""},{"docid":"1b96c9d0716bed577b610aceec56db6f","score":"0.4945859","text":"public void report() {\n\t\t\r\n\t}","title":""},{"docid":"66e119d5514259b59958e16c08bf51db","score":"0.4945307","text":"public void createSummaryReport(String ProjectName, String SuiteType, String strExecutionPath, StringBuffer masterTable, int[] arrStatus) throws IOException{\r\n\t\t\t\t\t\r\n\t\t\tString resultPath = \"./Detailed Reports/\" + strExecutionPath + \"/\" + \"SummaryReport_\"\r\n\t\t\t\t\t+ ProjectName + \"_\"\r\n\t\t\t\t\t+ strExecutionPath + \".html\"; \r\n\t\t\t\r\n\t\t\tint year = Calendar.getInstance().get(Calendar.YEAR);\r\n\t\t\t\r\n\t\t\tFile file;\r\n\t\t\tfile=new File(resultPath);\r\n\t\t\tif(!file.exists()){\r\n\t\t\t\tfile.createNewFile();\r\n\t\t\t\tFileWriter fout = new FileWriter(resultPath, true);\r\n\t fout.write(\" \"\r\n\t +\" \" \r\n\t +\" \" \r\n\t +\" \"\r\n\t +\" Summary Report\"\r\n\t +\" \"\r\n\t +\"\t\t \"\r\n\t +\" \"\r\n\t +\" \"\r\n\t +\" \"\r\n\t +\" \" \r\n\t +\" \"\r\n\t +\" \"\r\n\t +\" \"\r\n\t +\"

\"\r\n\t +\"
\"\r\n\t +\"
\"\r\n\t +\" Logo\"\r\n\t +\"
\"\r\n\t +\"
\"\r\n\t +\" Logo\"\r\n\t +\" Logo\"\r\n\t +\" Logo\"\r\n\t +\" Logo\"\r\n\t +\" Logo\"\r\n\t +\"
\" \r\n\t +\"

Automation Summary Report

\"\r\n\t +\"

\"+ ProjectName +\"

\"\r\n\t +\"
\"\r\n\t +\"
\"+d.getBarcode()+\"\"+d.getTransaction()+\"\"+d.getName()+\"\"+d.getUserid()+\"\"+d.getAmount()+\"\"+d.getPrice()+\"\"+d.getDiscount()+\"\"+d.getType()+\"\"+d.getReason()+\"\"+d.getOperator()+\"\"+d.getDate()+\"
\\\"+d.getBarcode()+\\\"\\\"+d.getTransaction()+\\\"\\\"+d.getName()+\\\"\\\"+d.getUserid()+\\\"\\\"+d.getAmount()+\\\"\\\"+d.getPrice()+\\\"\\\"+d.getDiscount()+\\\"\\\"+d.getType()+\\\"\\\"+d.getReason()+\\\"\\\"+d.getOperator()+\\\"\\\"+d.getDate()+\\\"
\"\r\n\t +\"
\" \r\n\t +\"
\" \r\n\t +\" \"\r\n\t +\" \"\r\n\t +\" \"\r\n\t +\" \"\r\n\t +\" \"\r\n\t +\" \"\r\n\t +\" \"\r\n\t +\" \"\r\n\t +\" \"\r\n\t +\"
Suite \"+SuiteType+\"
No. of Testcases Executed \"+arrStatus[2]+\"
Pass Count \" + arrStatus[0] +\"
Fail Count \" + arrStatus[1] +\"
Execution Date \"+strExecutionDate+\"
Overall Execution Time (HH:MM:SS) \"+iHours+\":\"+iMinutes+\":\"+iSeconds+\"
\"\r\n\t +\"
\"\r\n\t +\"
\"\r\n\t +\"
\"\r\n\t +\"
\"\r\n\t +\" \"\r\n\t +\" \"\r\n\t +\" \"\r\n\t +\" \"\r\n\t +\" \"\r\n\t +\" \"\r\n\t +\" \"\r\n\t +\" \"\r\n\t +\" \"\r\n\t +\" \"\r\n\t +\" \"+ masterTable+\"
SNoTestcase NameStart TimeEnd TimeExecution Time (HH:MM:SS)Status
\" \r\n\t +\"
\"\r\n\t +\"
\"\t \r\n\t +\"

Copyright &copy; \"+ year + \" BSA Automation CoP. All rights reserved.

\"\r\n\t\t\t +\"
\"\r\n\t +\" \"\r\n\t +\" \" \r\n ); \r\n\t fout.close();\r\n\t \t\t\t\t \r\n\t\t\t System.out.println(\"Summary Report Path :\"+resultPath);\r\n\t\t\t System.out.println();\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tSystem.out.println(\"Summary Report File already exists\");\r\n\t\t\t}\t\t\t\r\n\t\t}","title":""},{"docid":"d6c157267d4c25db4a6efb8a0ed582fb","score":"0.4943135","text":"public void startReport(){\n\n\t\treport=new ExtentReports(\"/Users/rahul/Luckystars_appium/Ls_android_coin_test_report.html\", false);\n\t\n\t\t//extent.addSystemInfo(\"Environment\",\"Environment Name\")\n\t\treport.addSystemInfo(\"Project Name\", \"Luckystars\").addSystemInfo(\"Environment\", \"Android\").addSystemInfo(\"User Name\", \"QA Team\");\n\t\t//loading the external xml file (i.e., extent-config.xml) which was placed under the base directory\n\t\t//You could find the xml file below. Create xml file in your project and copy past the code mentioned below\n\n\t\treport.loadConfig(new File(\"/Users/rahul/Luckystars_appium/extent-config.xml\"));\n\t\t//report.loadConfig(new File(\"/Users/apple/luckystars_android/Luckystars_android/extent-config.xml\"));\n\n\n\t}","title":""},{"docid":"eac958202419aac0bd5c02c11314c451","score":"0.49375328","text":"protected abstract File getGeneratedSourceDirectory();","title":""},{"docid":"a8d1112fb6511079637ac389854a31bf","score":"0.49366805","text":"public void setSrc(File dirName) {\n \n sourceDirectory = dirName;\n }","title":""},{"docid":"b23f041090a53668fe5836e7b90dd68c","score":"0.49113727","text":"private static void transfere() throws IOException {\n File gen_shell = new File(\"/home/epsilon/Documents/Varsity/Project/src/java/ava/webgenerate.sh\");\n File comp_shell = new File(\"/home/epsilon/Documents/Varsity/Project/src/java/ava/webcompile.sh\");\n //File tool = new File(\"/home/epsilon/Documents/Varsity/Project/src/java/ava/antlr-4.7.1-complete.jar\");\n //file destination\n File dest = new File(\"/home/epsilon/Documents/Varsity/Project/build/web/uploadFiles/\");\n //making scripts executable\n\n Runtime.getRuntime().exec(\"chmod +x /home/epsilon/Documents/Varsity/Project/src/java/ava/webgenerate.sh\");\n Runtime.getRuntime().exec(\"chmod +x /home/epsilon/Documents/Varsity/Project/src/java/ava/webcompile.sh\");\n\n FileUtils.copyFileToDirectory(gen_shell, dest);\n FileUtils.copyFileToDirectory(comp_shell, dest);\n //FileUtils.copyFileToDirectory(tool, dest);\n\n System.out.println(\"File transfere completed\");\n }","title":""},{"docid":"505e9279a85ca1a795a193c173c987c2","score":"0.49092758","text":"@Ignore\n\t@Test\n\tpublic void getMavenTestOutputFileFromReport(){\n\t\tArrayList files = loader.getXMLReports();\n\t\tFile report = files.get(0);\n\t\tFile outputFile = loader.getOutputFile(report);\n\t\tassertTrue(outputFile != null);\n\t}","title":""},{"docid":"a469733e23661285d1aad68d6a34f281","score":"0.48973912","text":"private void checkoutAndBuild(Build build) {\r\n final String publishDirPathSep = build.getPublishDir() + File.separator;\r\n String buildLogPath = publishDirPathSep + BuildGenerator.BUILD_LOG;\r\n \r\n // create a ant antProject used to receive ant task logs\r\n Project antProject = Luntbuild.createAntProject();\r\n LuntbuildLogger buildLogger = new LuntbuildLogger();\r\n build.setLogger(buildLogger);\r\n buildLogger.setDirectMode(false);\r\n buildLogger.setEmacsMode(false);\r\n final Schedule theSchedule = build.getSchedule();\r\n buildLogger.setMessageOutputLevel(\r\n Luntbuild.convertToAntLogLevel(theSchedule.getProject().getLogLevel()));\r\n antProject.addBuildListener(buildLogger);\r\n PrintStream logStream = null;\r\n boolean isCheckoutSuccess = false;\r\n long currentTime = System.currentTimeMillis();\r\n try {\r\n buildLogger.setOutputPath(buildLogPath);\r\n buildLogger.setErrorPath(buildLogPath);\r\n logStream = new PrintStream(new FileOutputStream(buildLogPath));\r\n buildLogger.setOutputPrintStream(logStream);\r\n buildLogger.setErrorPrintStream(logStream);\r\n \r\n // checks if there are any failed dependencies unless build condition is always\r\n if (!theSchedule.isAlways()) {\r\n Schedule notSatisfiedDependentSchedule = theSchedule.getNotSatisfiedDependency();\r\n if (notSatisfiedDependentSchedule != null) {\r\n throw new BuildException(\"Dependency not satisfied : latest build in schedule \\\"\" +\r\n notSatisfiedDependentSchedule.getProject().getName() + \"/\" +\r\n notSatisfiedDependentSchedule.getName() +\r\n \"\\\" has failed or there are no builds in this schedule.\");\r\n }\r\n }\r\n \r\n String user = build.getUser();\r\n if (user != null) {\r\n logger.info(\"User \\\"\" + user + \"\\\" started the build: \" + theSchedule.getName());\r\n antProject.log(\"User \\\"\" + user + \"\\\" started the build\", Project.MSG_INFO);\r\n }\r\n \r\n if (build.isCleanBuild() || build.isRebuild()) {\r\n String message = \"Cleaning up project work directory \\\"\" +\r\n theSchedule.getWorkDirRaw() + \"\\\"...\";\r\n antProject.log(message, Project.MSG_INFO);\r\n logger.info(message);\r\n Iterator it = build.getVcsList().iterator();\r\n while (it.hasNext()) {\r\n Vcs vcs = (Vcs) it.next();\r\n vcs.cleanupCheckout(theSchedule, antProject);\r\n }\r\n }\r\n \r\n logger.info(\"Checking out code from the defined Version Control Systems...\");\r\n Iterator it = build.getVcsList().iterator();\r\n while (it.hasNext()) {\r\n Vcs vcs = (Vcs) it.next();\r\n antProject.log(\"Perform checkout operation for VCS setting: \", Project.MSG_INFO);\r\n antProject.log(vcs.toString(), Project.MSG_INFO);\r\n vcs.checkout(build, antProject);\r\n }\r\n isCheckoutSuccess = true;\r\n antProject.log(\"Duration of the checkout operation: \" +\r\n (System.currentTimeMillis() - currentTime) / 60000 + \" minutes\",\r\n org.apache.tools.ant.Project.MSG_INFO);\r\n currentTime = System.currentTimeMillis();\r\n \r\n Luntbuild.createDir(publishDirPathSep + Builder.ARTIFACTS_DIR);\r\n Iterator reportsiter = Luntbuild.reports.values().iterator();\r\n while (reportsiter.hasNext()) {\r\n Report report = (Report) reportsiter.next();\r\n Luntbuild.createDir(publishDirPathSep + File.separator + report.getReportDir());\r\n }\r\n \r\n logger.info(\"Build with defined builders...\");\r\n it = build.getBuilderList().iterator();\r\n while (it.hasNext()) {\r\n Builder builder = (Builder) it.next();\r\n antProject.log(\"Perform build with builder setting: \", Project.MSG_INFO);\r\n antProject.log(builder.toString(), Project.MSG_INFO);\r\n buildLogger.setBuilderName(builder.getName());\r\n builder.build(build, buildLogger);\r\n buildLogger.setBuilderName(null);\r\n }\r\n \r\n antProject.log(\"Duration of the builder(s) execution: \" +\r\n (System.currentTimeMillis() - currentTime) / 60000 + \" minutes\",\r\n org.apache.tools.ant.Project.MSG_INFO);\r\n build.setStatus(Constants.BUILD_STATUS_SUCCESS);\r\n } catch (Throwable e) {\r\n build.setStatus(Constants.BUILD_STATUS_FAILED);\r\n if (e instanceof BuildException) {\r\n antProject.log(e.getMessage(), Project.MSG_ERR);\r\n logger.error(\"Build failed: \" + e.getMessage());\r\n } else {\r\n if (logStream != null)\r\n e.printStackTrace(logStream);\r\n logger.error(\"Build failed: \", e);\r\n }\r\n }\r\n \r\n if (build.getPostbuildStrategy() == Constants.POSTBUILD_ALWAYS ||\r\n build.getPostbuildStrategy() ==\r\n Constants.POSTBUILD_IF_SUCCESS &&\r\n build.getStatus() == Constants.BUILD_STATUS_SUCCESS ||\r\n build.getPostbuildStrategy() == Constants.POSTBUILD_IF_FAILED &&\r\n build.getStatus() == Constants.BUILD_STATUS_FAILED) {\r\n try {\r\n antProject.log(\"\");\r\n if (build.getPostbuilderList().size() == 0)\r\n throw new BuildException(\"ERROR: Fail to post-build: No post-builders defined!\");\r\n \r\n logger.info(\"Post-build with defined post-builders...\");\r\n Iterator it = build.getPostbuilderList().iterator();\r\n while (it.hasNext()) {\r\n Builder builder = (Builder) it.next();\r\n antProject.log(\"Perform post-build with builder setting: \", Project.MSG_INFO);\r\n antProject.log(builder.toString(), Project.MSG_INFO);\r\n buildLogger.setBuilderName(builder.getName());\r\n builder.build(build, buildLogger);\r\n }\r\n \r\n antProject.log(\"Duration of the post-builder(s) execution: \" +\r\n (System.currentTimeMillis() - currentTime) / 60000 + \" minutes\",\r\n Project.MSG_INFO);\r\n logger.info(\"Run of ant post-build script succeed!\");\r\n } catch (Throwable throwable) {\r\n build.setStatus(Constants.BUILD_STATUS_FAILED);\r\n if (throwable instanceof BuildException) {\r\n antProject.log(throwable.getMessage(), org.apache.tools.ant.Project.MSG_ERR);\r\n logger.error(\"Post-build failed: \" + throwable.getMessage());\r\n } else {\r\n if (logStream != null)\r\n throwable.printStackTrace(logStream);\r\n logger.error(\"Post-build failed: \", throwable);\r\n }\r\n }\r\n }\r\n \r\n try {\r\n if (isCheckoutSuccess) {\r\n // insert a blank line into the log\r\n antProject.log(\"\\n\", org.apache.tools.ant.Project.MSG_INFO);\r\n if (!build.isRebuild()) {\r\n if (build.getLabelStrategy() == Constants.LABEL_ALWAYS ||\r\n build.getLabelStrategy() == Constants.LABEL_IF_SUCCESS &&\r\n build.getStatus() == Constants.BUILD_STATUS_SUCCESS) {\r\n build.setHaveLabelOnHead(true);\r\n Iterator it = build.getVcsList().iterator();\r\n while (it.hasNext()) {\r\n Vcs vcs = (Vcs) it.next();\r\n vcs.label(build, antProject);\r\n }\r\n } else {\r\n Iterator it = build.getVcsList().iterator();\r\n while (it.hasNext()) {\r\n Vcs vcs = (Vcs) it.next();\r\n vcs.unlabel(build, antProject);\r\n }\r\n }\r\n } else {\r\n String message = \"Cleaning up project work directory \\\"\" +\r\n theSchedule.getWorkDirRaw() + \"\\\" after rebuild...\";\r\n antProject.log(message, Project.MSG_INFO);\r\n logger.info(message);\r\n Iterator it = build.getVcsList().iterator();\r\n while (it.hasNext()) {\r\n Vcs vcs = (Vcs) it.next();\r\n vcs.cleanupCheckout(theSchedule, antProject);\r\n }\r\n }\r\n }\r\n } catch (Throwable e) {\r\n build.setStatus(Constants.BUILD_STATUS_FAILED);\r\n if (e instanceof BuildException) {\r\n antProject.log(e.getMessage(), org.apache.tools.ant.Project.MSG_ERR);\r\n logger.error(\"Build failed: \" + e.getMessage());\r\n } else {\r\n if (logStream != null)\r\n e.printStackTrace(logStream);\r\n logger.error(\"Build failed: \", e);\r\n }\r\n } finally {\r\n if (logStream != null)\r\n logStream.close();\r\n build.setEndDate(new Date());\r\n String buildXmlPath = publishDirPathSep + BuildGenerator.BUILD_XML_LOG;\r\n String buildHtmlPath = publishDirPathSep + BuildGenerator.BUILD_HTML_LOG;\r\n String buildTextPath = publishDirPathSep + BuildGenerator.BUILD_LOG;\r\n \r\n buildLogger.logHtml(buildXmlPath, Luntbuild.installDir + \"/log.xsl\", buildHtmlPath, buildTextPath);\r\n build.removeLogger();\r\n buildLogger.close();\r\n }\r\n }","title":""},{"docid":"27fb13bf126ee0f6a6ea06cea9e0d0ed","score":"0.48819977","text":"public void executeMain() throws BuildException {\n \n checkAttributesAndElements();\n \n // Renamed version of original file, if it exists\n File renamedFile = null;\n addingNewFiles = true;\n \n processDoUpdate();\n processGroupFilesets();\n \n // collect filesets to pass them to getResourcesToAdd\n Vector vfss = new Vector();\n if (baseDir != null) {\n FileSet fs = (FileSet) getImplicitFileSet().clone();\n fs.setDir(baseDir);\n vfss.addElement(fs);\n }\n- for (int i = 0; i < resources.size(); i++) {\n+ final int size = resources.size();\n+ for (int i = 0; i < size; i++) {\n ResourceCollection rc = (ResourceCollection) resources.elementAt(i);\n vfss.addElement(rc);\n }\n \n ResourceCollection[] fss = new ResourceCollection[vfss.size()];\n vfss.copyInto(fss);\n boolean success = false;\n try {\n // can also handle empty archives\n ArchiveState state = getResourcesToAdd(fss, zipFile, false);\n \n // quick exit if the target is up to date\n if (!state.isOutOfDate()) {\n return;\n }\n \n File parent = zipFile.getParentFile();\n if (parent != null && !parent.isDirectory() && !parent.mkdirs()) {\n throw new BuildException(\"Failed to create missing parent\"\n + \" directory for \" + zipFile);\n }\n \n updatedFile = true;\n if (!zipFile.exists() && state.isWithoutAnyResources()) {\n createEmptyZip(zipFile);\n return;\n }\n Resource[][] addThem = state.getResourcesToAdd();\n \n if (doUpdate) {\n renamedFile = renameFile();\n }\n \n String action = doUpdate ? \"Updating \" : \"Building \";\n \n if (!skipWriting) {\n log(action + archiveType + \": \" + zipFile.getAbsolutePath());\n }\n \n ZipOutputStream zOut = null;\n try {\n if (!skipWriting) {\n zOut = new ZipOutputStream(zipFile);\n \n zOut.setEncoding(encoding);\n zOut.setUseLanguageEncodingFlag(useLanguageEncodingFlag);\n zOut.setCreateUnicodeExtraFields(createUnicodeExtraFields.\n getPolicy());\n zOut.setFallbackToUTF8(fallBackToUTF8);\n zOut.setMethod(doCompress\n ? ZipOutputStream.DEFLATED : ZipOutputStream.STORED);\n zOut.setLevel(level);\n }\n initZipOutputStream(zOut);\n \n // Add the explicit resource collections to the archive.\n for (int i = 0; i < fss.length; i++) {\n if (addThem[i].length != 0) {\n addResources(fss[i], addThem[i], zOut);\n }\n }\n \n if (doUpdate) {\n addingNewFiles = false;\n ZipFileSet oldFiles = new ZipFileSet();\n oldFiles.setProject(getProject());\n oldFiles.setSrc(renamedFile);\n oldFiles.setDefaultexcludes(false);\n \n- for (int i = 0; i < addedFiles.size(); i++) {\n+ final int addSize = addedFiles.size();\n+ for (int i = 0; i < addSize; i++) {\n PatternSet.NameEntry ne = oldFiles.createExclude();\n ne.setName((String) addedFiles.elementAt(i));\n }\n DirectoryScanner ds =\n oldFiles.getDirectoryScanner(getProject());\n ((ZipScanner) ds).setEncoding(encoding);\n \n String[] f = ds.getIncludedFiles();\n Resource[] r = new Resource[f.length];\n for (int i = 0; i < f.length; i++) {\n r[i] = ds.getResource(f[i]);\n }\n \n if (!doFilesonly) {\n String[] d = ds.getIncludedDirectories();\n Resource[] dr = new Resource[d.length];\n for (int i = 0; i < d.length; i++) {\n dr[i] = ds.getResource(d[i]);\n }\n Resource[] tmp = r;\n r = new Resource[tmp.length + dr.length];\n System.arraycopy(dr, 0, r, 0, dr.length);\n System.arraycopy(tmp, 0, r, dr.length, tmp.length);\n }\n addResources(oldFiles, r, zOut);\n }\n if (zOut != null) {\n zOut.setComment(comment);\n }\n finalizeZipOutputStream(zOut);\n \n // If we've been successful on an update, delete the\n // temporary file\n if (doUpdate) {\n if (!renamedFile.delete()) {\n log (\"Warning: unable to delete temporary file \"\n + renamedFile.getName(), Project.MSG_WARN);\n }\n }\n success = true;\n } finally {\n // Close the output stream.\n closeZout(zOut, success);\n }\n } catch (IOException ioe) {\n String msg = \"Problem creating \" + archiveType + \": \"\n + ioe.getMessage();\n \n // delete a bogus ZIP file (but only if it's not the original one)\n if ((!doUpdate || renamedFile != null) && !zipFile.delete()) {\n msg += \" (and the archive is probably corrupt but I could not \"\n + \"delete it)\";\n }\n \n if (doUpdate && renamedFile != null) {\n try {\n FILE_UTILS.rename(renamedFile, zipFile);\n } catch (IOException e) {\n msg += \" (and I couldn't rename the temporary file \"\n + renamedFile.getName() + \" back)\";\n }\n }\n \n throw new BuildException(msg, ioe, getLocation());\n } finally {\n cleanUp();\n }\n }","title":""},{"docid":"bd251ca3fde077ab248b583f7af596c0","score":"0.4867021","text":"public void build(List files) throws Exception {\t\t\t\t\t\n\t\tList> entries = getSourceFiles(files);\n\t\tbuildEntries(entries); \n\t}","title":""},{"docid":"3808cbb1fab36f6b43fc2d946c5f5382","score":"0.48665383","text":"public void run() throws IOException {\n JsonElement ruleSetElement = configuration.get(\"ruleSet\");\n if (ruleSetElement == null) {\n throw new KitException(\"no ruleSet defined\");\n }\n String ruleSetClassName = ruleSetElement.getAsString();\n RuleSet ruleSet;\n try {\n Class ruleSetClass = Class.forName(ruleSetClassName);\n ruleSet = (RuleSet) ruleSetClass.getConstructor().newInstance();\n } catch (Exception e) {\n throw new KitException(\"could not create ruleSet: \" + ruleSetClassName, e);\n }\n\n // apply all rules from the \"rules\" field\n RuleContext ruleContext = new RuleContext(configuration, ruleSet, partsFolder, buildFolder);\n JsonArray rules = configuration.getAsJsonArray(\"rules\");\n if (rules == null) {\n throw new KitException(\"no rules defined\");\n }\n for (JsonElement element : rules) {\n ruleContext.applyRule(element.getAsJsonObject());\n }\n\n // generate a header.inc (currently fixed for a LoROM with 96 32k-banks)\n try (FileOutputStream fileOutputStream = new FileOutputStream(new File(buildFolder, \"header.inc\"))) {\n try (OutputStreamWriter outputStreamWriter = new OutputStreamWriter(fileOutputStream, StandardCharsets.US_ASCII)) {\n try (PrintWriter out = new PrintWriter(outputStreamWriter)) {\n out.println(\".MEMORYMAP\");\n out.println(\" SLOTSIZE $8000\");\n out.println(\" DEFAULTSLOT 0\");\n out.println(\" SLOT 0 $8000\");\n out.println(\".ENDME\");\n out.println(\".ROMBANKSIZE $8000\");\n out.println(\".ROMBANKS 96\");\n }\n }\n }\n\n // assemble\n List objectFiles = new ArrayList<>();\n {\n File[] buildFolderFiles = buildFolder.listFiles();\n for (File buildFolderFile : buildFolderFiles) {\n String filename = buildFolderFile.getName();\n if (filename.endsWith(\".asm\")) {\n File objectFile = new File(buildFolder, filename.substring(0, filename.length() - 3) + 'o');\n objectFiles.add(objectFile);\n execBuildTool(\"wla-65816\", \"-o\", objectFile.getName(), filename);\n }\n }\n }\n\n // generate linkfile\n try (FileOutputStream fileOutputStream = new FileOutputStream(new File(buildFolder, \"linkfile\"))) {\n try (OutputStreamWriter outputStreamWriter = new OutputStreamWriter(fileOutputStream, StandardCharsets.US_ASCII)) {\n try (PrintWriter out = new PrintWriter(outputStreamWriter)) {\n out.println(\"[objects]\");\n for (File file : objectFiles) {\n out.println(file.getName());\n }\n }\n }\n }\n\n // run the linker\n execBuildTool(\"wlalink\", \"-v\", \"linkfile\", outputFile.getAbsolutePath());\n\n }","title":""},{"docid":"0541f7cf28fac27ae09d0070517d75a2","score":"0.48609573","text":"public static void compileScripts() {\n\t\tint count = 0;\n\t\tfor (File file : new File(FileManager.SOURCE_DIR).listFiles()) {\n\t\t\tString name = file.getName();\n\t\t\tSystem.out.println(name);\n\t\t\tif (name.endsWith(\".java\")) {\n\t\t\t\tif (ToolProvider.getSystemJavaCompiler().run(null, null, null, file.getAbsolutePath()) == 0) {\n\t\t\t\t\tFile compiled = new File(file.getAbsolutePath().toString().replace(\".java\", \".class\"));\n\t\t\t\t\tcompiled.renameTo(new File(FileManager.COMPILED_DIR + File.separator + compiled.getName()));\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tJOptionPane.showMessageDialog(null, count + \" scripts compiled!\");\n\t}","title":""},{"docid":"7c6ca86171f440e18d097ef16fb5474e","score":"0.48480293","text":"private void setUpBug130390() throws CoreException {\n this.workingCopies = new ICompilationUnit[4];\n this.workingCopies[0] = getWorkingCopy(\"/JavaSearchBugs/src/b130390/TZ.java\", \"package b130390;\\n\" + \"public class TZ {\\n\" + \"}\\n\");\n this.workingCopies[1] = getWorkingCopy(\"/JavaSearchBugs/src/b130390/TimeZone.java\", \"package b130390;\\n\" + \"public class TimeZone{\\n\" + \"}\\n\");\n this.workingCopies[2] = getWorkingCopy(\"/JavaSearchBugs/src/b130390/Npe.java\", \"package b130390;\\n\" + \"public class Npe {\\n\" + \"}\\n\");\n this.workingCopies[3] = getWorkingCopy(\"/JavaSearchBugs/src/b130390/NullPointerException.java\", \"package b130390;\\n\" + \"public class NullPointerException {\\n\" + \"}\\n\");\n }","title":""},{"docid":"7c4ad6830cc46b3e19ee1788042fe53a","score":"0.4838526","text":"private static void copyChilliSource(Options in_options) throws CSException\n\t{\n\t\tString tempDirectoryPath = StringUtils.standardiseDirectoryPath(in_options.m_outputDirectory + k_tempDirectory);\n\t\tString tempProjectDirectory = StringUtils.standardiseDirectoryPath(tempDirectoryPath + k_templateProjectName);\n\t\tString csSourcePath = StringUtils.standardiseDirectoryPath(getJarDirectoryPath(in_options) + k_csSourceDirectoryPath); \n\t\tString csDestinationPath = StringUtils.standardiseDirectoryPath(tempProjectDirectory + k_csDestinationDirectoryPath);\n\t\t\n\t\tLogging.logVerbose(\"Copying ChilliSource into the project.\");\n\t\t\n\t\tList ignore = new ArrayList<>();\n\t\tCollections.addAll(ignore, \"bin\", \"obj\");\n\t\tif (FileUtils.copyDirectory(csSourcePath, csDestinationPath, ignore) == false)\n\t\t{\n\t\t\tcleanupTemp(in_options);\n\t\t\tthrow new CSException(\"Could not copy ChilliSource into project.\");\n\t\t}\n\t\t\n\t\t//remove any remnants of the git project.\n\t\ttry\n\t\t{\n\t\t\tPath gitPath = Paths.get(csDestinationPath + \".git\");\n\t\t\tif (Files.isDirectory(gitPath) == true)\n\t\t\t{\n\t\t\t\tFileUtils.deleteDirectory(gitPath.toString());\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tFiles.deleteIfExists(gitPath);\n\t\t\t}\n\t\t\tFiles.deleteIfExists(Paths.get(csDestinationPath + \".gitignore\"));\n\t\t}\n\t\tcatch (Exception e)\n\t\t{\n\t\t\tcleanupTemp(in_options);\n\t\t\tthrow new CSException(\"Could not delete git remnants.\", e);\n\t\t}\n\t}","title":""},{"docid":"6ec86dca3070caeb56957bfb6c13b76c","score":"0.4838219","text":"protected String getCompileFileName()\r\n/* 119: */ {\r\n/* 120:147 */ if (this.indicadorResumen) {\r\n/* 121:148 */ return \"reporteAnalisisVencimientoResumido\";\r\n/* 122: */ }\r\n/* 123:150 */ return \"reporteAnalisisVencimientoDetallado\";\r\n/* 124: */ }","title":""},{"docid":"eb01157a5bda5066018bfe81ea3736ca","score":"0.48376533","text":"@Override\n\tpublic byte[] createBigDataFileXlsx(ReportExcel report) throws Exception {\n\t\tthis.mergeCalcoloCells = null;\n\t\tbyte[] byteExcel = null;\n\t\tSXSSFWorkbook workbook = null;\n\t\tXSSFWorkbook coverWorkbook = null;\n\t\ttry {\n\t\t\tByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();\n\t\t\t// boolean isCover = true;\n\t\t\tif (StringUtils.isNotBlank(this.pathCoverXlsx)) {\n\t\t\t\tInputStream inputstream = new FileInputStream(this.pathCoverXlsx);\n\t\t\t\tcoverWorkbook = new XSSFWorkbook(inputstream);\n\t\t\t\tupdateCover(report, coverWorkbook);\n\t\t\t\tworkbook = new SXSSFWorkbook(coverWorkbook);\n\t\t\t} else if (StringUtils.isNotBlank(this.resourcePathCoverXlsx)) {\n\t\t\t\tInputStream inputstream = getClass().getResourceAsStream(this.resourcePathCoverXlsx);\n\t\t\t\tcoverWorkbook = new XSSFWorkbook(inputstream);\n\t\t\t\tupdateCover(report, coverWorkbook);\n\t\t\t\tworkbook = new SXSSFWorkbook(coverWorkbook);\n\t\t\t} else {\n\t\t\t\tworkbook = new SXSSFWorkbook();\n\t\t\t}\n\n\t\t\tthis.setCoverParameters(report, byteArrayOutputStream, workbook, false);\n\t\t\tbyteExcel = byteArrayOutputStream.toByteArray();\n\t\t} catch (Exception e) {\n\t\t\tthrow e;\n\t\t} finally {\n\t\t\tif (workbook != null)\n\t\t\t\tworkbook.close();\n\t\t}\n\t\treturn byteExcel;\n\t}","title":""},{"docid":"fd5a50ba0476e134baaec22a4415cb3c","score":"0.48362803","text":"private static void copyFilesToSchedulerDirectory(String workingDirectory, String schedulerCode, String plasmaInterfaceCode) throws IOException {\n System.out.println(\"Current directory: \" + workingDirectory);\n //get parent directory\n int index = workingDirectory.lastIndexOf(\"/\");\n String parentPath = workingDirectory.substring(0, index);\n System.out.println(\"Parent directory: \" + parentPath);\n String schedulerDirPath = parentPath + \"/scheduler\";\n System.out.println(\"Scheduler directory: \" + schedulerDirPath);\n //save scheduler path\n String schedulerFilePath = schedulerDirPath + \"/scheduler.go\";\n System.out.println(\"Scheduler file path: \" + schedulerFilePath);\n //save plasmaInterface path\n String plasmaInterfPath = schedulerDirPath + \"/plasmaInterface.go\";\n System.out.println(\"PlasmaInterface file path: \" + plasmaInterfPath);\n // copy file scheduler.go\n FileWriter fileWriter = new FileWriter(schedulerFilePath);\n PrintWriter gravarArq = new PrintWriter(fileWriter);\n gravarArq.println(schedulerCode);\n fileWriter.close();\n //copy file plasmaInterface.go\n fileWriter = new FileWriter(plasmaInterfPath);\n gravarArq = new PrintWriter(fileWriter);\n gravarArq.println(plasmaInterfaceCode);\n fileWriter.close();\n }","title":""},{"docid":"a169a9c7e154ea3a48c46261a87148bb","score":"0.48356634","text":"public void ComposeProcessedLog(){\n \ttry {\n \t\tList pFileNames = GetAllResultLogFiles(\".adtl\");\n \t\tList lFileNames = GetAllResultLogFiles(\".slog\");\n// \t\tList fFileNames = GetAllResultLogFiles(\".fail\");\n// \t\tList wFileNames = GetAllResultLogFiles(\".warning\");\n// \t\tList iFileNames = GetAllResultLogFiles(\".info\");\n// \t\tList nFileNames = GetAllResultLogFiles(\".na\");\n \t\tint pFileCount = pFileNames.size();\n// \t\tint fFileCount = fFileNames.size();\n// \t\tint wFileCount = wFileNames.size();\n// \t\tint iFileCount = iFileNames.size();\n// \t\tint nFileCount = nFileNames.size();\n \t\tString RunId=Driver.Gprops.GetRunID();\n\t\t\tDateFormat dateFormat = new SimpleDateFormat(\"yyyy/MM/dd HH:mm:ss\");\n\t\t\tDate date = new Date();\n\t\t\tDate dNow = new Date( );\n\t\t SimpleDateFormat ft = new SimpleDateFormat (\"E yyyy.MM.dd 'at' hh:mm:ss a zzz\");\n\t\t String DateTimeInfo = ft.format(dNow);\n\t\t int pCount = Driver.Gprops.GetPassCounter();\n\t\t int fCount = Driver.Gprops.GetFailCounter();\n\t\t double pPCent = ((double)pCount/((double)pCount+(double)fCount))*100;\n\t\t double fPCent = ((double)fCount/((double)pCount+(double)fCount))*100;\n\t\t //String ResultPath = Driver.Init.GetResultPath() + Driver.Gprops.GetRunID() + \".txt\";\n\t\t\tString ResultPath = System.getProperty(\"user.dir\") + \"/target/\" + RunId + \"/ProcessedLog.html\";\n\t\t\tString LogPath = System.getProperty(\"user.dir\") + \"/target/\" + RunId + \"/Log.html\";\n\t\t\tFile tsFolder = new File(System.getProperty(\"user.dir\") + \"/target/\" + RunId + \"/\");\n\t\t\tif(!tsFolder.exists()){\n\t\t\t\ttsFolder.mkdirs();\n\t\t\t}\t\n\t\t\tFile file = new File(ResultPath);\n\t\t\tif (!file.exists()) {\n\t\t\t\tfile.createNewFile();\n\t\t\t}\n\t\t\tFile lfile = new File(LogPath);\n\t\t\tif (!lfile.exists()) {\n\t\t\t\tlfile.createNewFile();\n\t\t\t}\n\t\t\t// Code added by KK - 02/07/2014 - this code will add all the featurew files that are executed in different threads\n\t\t\tString tFeatureFile = \"\", tFilters = \"\", tGlues = \"\";\n\t Collection> FF = Driver.Gprops.GetFeatureFiles().values();\n\t\t\tfor(List T2 : FF) {\n\t\t\t\tfor(int z=0;z\" + T2.get(z);\n\t\t\t\t}\n\t\t\t}\n\t\t\tCollection> CF = Driver.Gprops.GetCukeFilters().values();\n\t\t\tfor(List T2 : CF) {\n\t\t\t\tfor(int z=0;z\" + T2.get(z).toString();\n\t\t\t\t}\n\t\t\t}\n\t\t\tCollection> CG = Driver.Gprops.GetCukeGlues().values();\n\t\t\tfor(List T2 : CG) {\n\t\t\t\tfor(int z=0;z\" + T2.get(z);\n\t\t\t\t}\n\t\t\t}\n//\t\t\tfor(int x= 0; x < Driver.Gprops.GetFeatureFiles(Thread.currentThread().getName()).size(); x++){\n//\t\t\t\ttFeatureFile = tFeatureFile + \";
\" + Driver.Gprops.GetFeatureFiles(Thread.currentThread().getName()).get(x);\n//\t\t\t}\n//\t\t\tfor(int y = 0; y < Driver.Gprops.GetCukeFilters(Thread.currentThread().getName()).size(); y++){\n//\t\t\t\ttFilters = tFilters + \";
\" + Driver.Gprops.GetCukeFilters(Thread.currentThread().getName()).get(y).toString();\n//\t\t\t}\n//\t\t\tfor(int z = 0; z < Driver.Gprops.GetCukeGlues(Thread.currentThread().getName()).size(); z++){\n//\t\t\t\ttGlues = tGlues + \";
\" + Driver.Gprops.GetCukeGlues(Thread.currentThread().getName()).get(z);\n//\t\t\t}\n\t\t\t\n\t\t\tString[] Browsers = Driver.Init.GetAUTBrowser().split(\"~\");\n\t\t\tString bNames = \"\";\n\t\t\tfor(int x=0;xWelcome to Processed Log File \" + dateFormat.format(date) + \"\" );\n\t\t\tbw.write(\"

Log File

\");\n\t\t\tbw.write(\"
\");\n\t\t\tbw.write(\"\");\n\t\t\tbw.write(\"\");\n\t\t\tbw.write(\"\");\n\t\t\tif(System.getProperty(\"build.number\")!=null && !System.getProperty(\"build.number\").contains(\"build\")){\n\t\t\t\tbw.write(\"\");\n\t\t\t\tbw.write(\"\");\n\t\t\t\tbw.write(\"\");\n\t\t\t}\n\t\t\t\n\t\t\tif(System.getProperty(\"jenkins.build.id\")!=null && !System.getProperty(\"jenkins.build.id\").contains(\"BUILD\")){\n\t\t\t\tbw.write(\"\");\n\t\t\t\tbw.write(\"\");\n\t\t\t\tbw.write( \"\");\n\t\t\t}\n\t\t\tbw.write(\"\");\n\t\t\tbw.write(\"\");\n\t\t\tbw.write(\"\");\n\t\t\tbw.write(\"\");\n\t\t\tbw.write(\"\");\n\t\t\tbw.write(\"\");\n\t\t\tbw.write(\"\");\n\t\t\tbw.write(\"\");\n\t\t\tbw.write(\"
Date of Execution\" + DateTimeInfo + \"
Remote Node Address\" + Driver.Gprops.GetNodeIPAddress() + \"
Run ID\" + Driver.Gprops.GetRunID() + \"
TeamCity Project Name\" + System.getProperty(\"teamcity.buildConfName\") + \"
TeamCity Branch Name\" + Driver.globalValues.get(\"BrachName\") + \"
TeamCity Build Number\" + System.getProperty(\"build.number\") + \"
Jenkins Job Nmae&thinsp;&emsp;\" + System.getProperty(\"jenkins.job.name\") + \"&emsp;
Jenkins Build ID&thinsp;&emsp;\" +System.getProperty(\"jenkins.build.id\")+\"&emsp;
Jenkins Build Number&thinsp;&emsp;\" + System.getProperty(\"jenkins.build.number\") + \"&emsp;
Build Triggered By\" +Driver.globalValues.get(\"TriggeredBy\")+\" (\"+Driver.globalValues.get(\"TriggeredByName\")+\")\"+ \"
Base Url\" + Driver.Init.GetBaseURL() + \"
Browser Used\" + bNames + \"
Browser Version Used\" + Driver.Gprops.GetBrowserVersion() + \"
OS Name\" + Driver.Gprops.GetOSNames() + \"
Feature File\\\\s\" + tFeatureFile + \"
Cuke Filters\" + tFilters + \"
Cuke Glues\" + tGlues + \"

\");\n\t\t\tbw.write(\"
\");\n//\t\t\tbw.write(\"

Failed Steps

\");\n//\t\t\tbw.write(\"\");\n//\t\t\tbw.write(\"\");\n//\t\t\tfor(int x=0; x < fFileCount; x++){\n//\t\t\t\tFile folder = new File(Driver.Init.GetResultPath() + Driver.Gprops.GetRunID() + \"\\\\\" + fFileNames.get(x));\n// \t\t\tBufferedReader br = new BufferedReader(new FileReader(folder));\n// \t\t\tString line = \"\";\n// \t\t\twhile ((line = br.readLine()) != null) {\n// \t\t\t\tbw.write(line);\n// \t\t\t}\n// \t\t\tbr.close();\n//\t\t\t}\n//\t\t\tbw.write(\"
Date/TimeFunction NameMessageStatus

Warning Steps

\");\n//\t\t\tbw.write(\"\");\n//\t\t\tbw.write(\"\");\n//\t\t\tfor(int x=0; x < wFileCount; x++){\n//\t\t\t\tFile folder = new File(Driver.Init.GetResultPath() + Driver.Gprops.GetRunID() + \"\\\\\" + wFileNames.get(x));\n// \t\t\tBufferedReader br = new BufferedReader(new FileReader(folder));\n// \t\t\tString line = \"\";\n// \t\t\twhile ((line = br.readLine()) != null) {\n// \t\t\t\tbw.write(line);\n// \t\t\t}\n// \t\t\tbr.close();\n//\t\t\t}\n//\t\t\tbw.write(\"
Date/TimeFunction NameMessageStatus

Passed Steps

\");\n\t\t\tbw.write(\"

Log

\");\n\t\t\tfor(int x=0; x < pFileCount; x++){\n\t\t\t\tFile folder = new File(Driver.Init.GetResultPath() + Driver.Gprops.GetRunID() + \"/\" + pFileNames.get(x));\n \t\t\tBufferedReader br = new BufferedReader(new FileReader(folder));\n \t\t\tString line = \"\";\n \t\t\tbw.write(\"
Log File Name = \" + Driver.Init.GetResultPath() + Driver.Gprops.GetRunID() + \"/\" + pFileNames.get(x) + \"
\");\n \t\t\tbw.write(\"\");\n \t\t\tbw.write(\"\");\n \t\t\twhile ((line = br.readLine()) != null) {\n \t\t\t\tbw.write(line);\n \t\t\t}\n \t\t\tbw.write(\"
Date/TimeStatusFunction NameMessage
\");\n \t\t\tbr.close();\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t\tBufferedWriter lbw = new BufferedWriter(new FileWriter(LogPath,true));\n\t\t\tlbw.write(\"Welcome to Log File \" + dateFormat.format(date) + \"\" );\n\t\t\tlbw.write(\"

Log File

\");\n\t\t\t\n\t\t\tfor(int x=0; x < pFileCount; x++){\n\t\t\t\tFile folder = new File(Driver.Init.GetResultPath() + Driver.Gprops.GetRunID() + \"/\" + lFileNames.get(x));\n \t\t\tBufferedReader br = new BufferedReader(new FileReader(folder));\n \t\t\tString line = \"\";\n \t\t\twhile ((line = br.readLine()) != null) {\n \t\t\t\tlbw.write(\"\");\n \t\t\t\tlbw.write(line);\n \t\t\t\tlbw.write(\"\");\n \t\t\t}\n \t\t\tlbw.write(\"\");\n \t\t\tbr.close();\n\t\t\t}\n\t\t\t\n//\t\t\tbw.write(\"

Information Steps

\");\n//\t\t\tbw.write(\"\");\n//\t\t\tbw.write(\"\");\n//\t\t\tfor(int x=0; x < iFileCount; x++){\n//\t\t\t\tFile folder = new File(Driver.Init.GetResultPath() + Driver.Gprops.GetRunID() + \"/\" + iFileNames.get(x));\n// \t\t\tBufferedReader br = new BufferedReader(new FileReader(folder));\n// \t\t\tString line = \"\";\n// \t\t\twhile ((line = br.readLine()) != null) {\n// \t\t\t\tbw.write(line);\n// \t\t\t}\n// \t\t\tbr.close();\n//\t\t\t}\n//\t\t\tbw.write(\"
Date/TimeFuncation NameMessageStatus
\");\n//\t\t\tbw.write(\"

Other/Miscellaneous Steps

\");\n//\t\t\tbw.write(\"\");\n//\t\t\tbw.write(\"\");\n//\t\t\tfor(int x=0; x < nFileCount; x++){\n//\t\t\t\tFile folder = new File(Driver.Init.GetResultPath() + Driver.Gprops.GetRunID() + \"/\" + nFileNames.get(x));\n// \t\t\tBufferedReader br = new BufferedReader(new FileReader(folder));\n// \t\t\tString line = \"\";\n// \t\t\twhile ((line = br.readLine()) != null) {\n// \t\t\t\tbw.write(line);\n// \t\t\t}\n// \t\t\tbr.close();\n//\t\t\t}\n//\t\t\tbw.write(\"
Date/TimeFuncation NameMessageStatus
\");\n\t\t\tbw.write(\"
\");\n\t\t\tbw.write(\"
Contact Us
\");\n\t\t\tbw.close(); \n\t\t\t\n\t\t\tlbw.write(\"
\");\n\t\t\tlbw.close();\n\t\t\t\n\t\t\tif(System.getProperty(\"ProjectName\").toLowerCase().contains(\"digan\")) {\n\t\t\t\tString methodName = Driver.globalValues.get(\"methodName\");\n\t\t\t\tString reportPath = System.getProperty(\"user.dir\") + \"/target/\" + RunId + \"/DiganReport.html\";\n\t\t\t\tString reportPathAPI = System.getProperty(\"user.dir\") + \"/target/\" + RunId + \"/DiganReportAPI.html\";\n\t\t\t\t\n\t\t\t\tBufferedWriter rbw = new BufferedWriter(new FileWriter(reportPath,true));\n\t\t\t\tBufferedWriter rbwAPI = new BufferedWriter(new FileWriter(reportPathAPI,true));\n\t\t\t\tStringBuffer tempHTML = new StringBuffer();\n\t\t\t\ttempHTML.append(\"\\n\");\n\t\t\t\ttempHTML.append(\"\\n\");\n\t\t\t\ttempHTML.append(\"\" + \"DIGAN Report \" + \"\\n\");\n\t\t\t\ttempHTML.append(\"\\n\");\n\t\t\t\ttempHTML.append(\"\\n\");\n\t\t\t\ttempHTML.append(\"\\n\");\n\t\t\t\ttempHTML.append(\"

DIGAN Report

\\n\");\n\t\t\t\ttempHTML.append(\"
\\n\");\n\t\t\t\tif(methodName!=null && methodName.equals(\"validateReportBySegment\"))\n\t\t\t\t\ttempHTML.append(Driver.globalValues.get(\"headerValue\")+\"\\n\");\n\t\t\t\telse\n\t\t\t\t\ttempHTML.append(\"\\n\");\n\t\t\t\t\n\t\t\t\tBufferedReader br = null;\n\t\t\t\tList reportNames = GetAllResultLogFiles(\".digan\");\n\t\t\t\tint counter = 0;\n\t\t\t\tfor(int x=0; x < reportNames.size(); x++){\n\t\t\t\t\tFile folder = new File(Driver.Init.GetResultPath() + Driver.Gprops.GetRunID() + \"/\" + reportNames.get(x));\n\t\t\t\t\tbr = new BufferedReader(new FileReader(folder));\n\t\t\t\t\tString line = \"\";\n\t\t\t\t\twhile ((line = br.readLine()) != null) {\n\t\t\t\t\t\ttempHTML.append(\"\");\n\t\t\t\t\t\ttempHTML.append(line);\n\t\t\t\t\t\ttempHTML.append(\"\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(br!=null)\n\t\t\t\t\tbr.close();\n\t\t\t\tif(rbw!=null) {\n\t\t\t\t\ttempHTML.append(\"
Serial #ReportsSelected RecordsTotal PassTotal FailDurationStatus
\" + ++counter + \"
\\n\\n\");\n\t\t\t\t\trbw.write(tempHTML.toString());\n\t\t\t\t\trbw.close();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tStringBuffer tempHTMLAPI = new StringBuffer();\n\t\t\t\ttempHTMLAPI.append(\"\\n\");\n\t\t\t\ttempHTMLAPI.append(\"\\n\");\n\t\t\t\ttempHTMLAPI.append(\"\" + \"DIGAN Report \" + \"\\n\");\n\t\t\t\ttempHTMLAPI.append(\"\\n\");\n\t\t\t\ttempHTMLAPI.append(\"\\n\");\n\t\t\t\ttempHTMLAPI.append(\"\\n\");\n\t\t\t\ttempHTMLAPI.append(\"

DIGAN Report

\\n\");\n\t\t\t\ttempHTMLAPI.append(\"
\\n\");\n\t\t\t\tif(methodName!=null && methodName.equals(\"validateReportBySegment\"))\n\t\t\t\t\ttempHTMLAPI.append(Driver.globalValues.get(\"headerValue\")+\"\\n\");\n\t\t\t\telse\n\t\t\t\t\ttempHTMLAPI.append(\"\\n\");\n\t\t\t\t\n\t\t\t\tBufferedReader brAPI = null;\n\t\t\t\tList reportNamesAPI = GetAllResultLogFiles(\".diganapi\");\n\t\t\t\tcounter = 0;\n\t\t\t\tfor(int x=0; x < reportNamesAPI.size(); x++){\n\t\t\t\t\tFile folder = new File(Driver.Init.GetResultPath() + Driver.Gprops.GetRunID() + \"/\" + reportNamesAPI.get(x));\n\t\t\t\t\tbrAPI = new BufferedReader(new FileReader(folder));\n\t\t\t\t\tString line = \"\";\n\t\t\t\t\twhile ((line = brAPI.readLine()) != null) {\n\t\t\t\t\t\ttempHTMLAPI.append(\"\");\n\t\t\t\t\t\ttempHTMLAPI.append(line);\n\t\t\t\t\t\ttempHTMLAPI.append(\"\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(brAPI!=null)\n\t\t\t\t\tbrAPI.close();\n\t\t\t\tif(rbwAPI!=null) {\n\t\t\t\t\ttempHTML.append(\"
Serial #ReportsSelected RecordsTotal PassTotal FailDurationStatus
\" + ++counter + \"
\\n\\n\");\n\t\t\t\t\trbwAPI.write(tempHTMLAPI.toString());\n\t\t\t\t\trbwAPI.close();\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t\tSystem.out.println(\"Exception @ ComposeProcessedLog \" + e.getMessage());\n\t\t\te.printStackTrace();\n\t\t}\n }","title":""},{"docid":"92532bb5baab946fc82e51f383e0415d","score":"0.48315284","text":"public void screenshotSetUp()\n\t{\n\t\tresultFilePath=\"Screenshots\";\n\t\ttry\n\t\t {\n\t\t\t if (!new File(resultFilePath).exists()) \n\t\t\t {\n\t\t\t\t new File(resultFilePath).mkdirs();\n\t\t\t }\t \n\t\t }\n\t catch (Exception e)\n\t {\n\t System.out.println(e.getMessage());\n\t } \n \n\t}","title":""},{"docid":"cef396e6d0ca7d35aa7de0e269145925","score":"0.48308006","text":"public void setSourceReportScene() {\n setScene(sourceReportScene, \"Cleanwater - Submit Source Report\");\n }","title":""},{"docid":"081e350801d7888f62b91ab267808585","score":"0.48298296","text":"@Override\n protected void generateReports() {\n }","title":""},{"docid":"edd8c140cd8e3150bdb6bdb48a587999","score":"0.48269674","text":"public void generateHardCopy()\n{\n\n if(filenameOfLastReportGenerated.isEmpty()){ return; }\n\n executePrintAtCommandPrompt(filenameOfLastReportGenerated);\n\n}","title":""},{"docid":"23690b0c0f279bff7fba688dd682ff4d","score":"0.4812754","text":"public void execute() {\n\t\tgetLog().info(\"***********正在开始生成!************\");\r\n\t\t\r\n\t\t\r\n\t\ttry {\r\n\t\t\tList ids = getIds();\r\n\t\t\tupdatePjavaFile(ids);\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\t\r\n\t}","title":""},{"docid":"ed4451fb62b6008ab7ae8c4c2f592e42","score":"0.48033974","text":"@Override\n\tpublic void mergeFiles(IExecutionCase exCase) {\n\n\t}","title":""},{"docid":"f78598c4f0b548034056f33f4d72e19d","score":"0.47839567","text":"protected abstract File getGeneratedSourcesDirectory();","title":""},{"docid":"c31475a2125dd9a71ccb7c41dcaa7f74","score":"0.478232","text":"public void crunchNow() {\n }","title":""},{"docid":"18c01de5aabef6f237ede5c7f84db83e","score":"0.47777364","text":"@Override\n public void execute() throws MojoExecutionException {\n try {\n getLog().info(\"Ontology sources are in ‘\" + this.ontologySrc + \"’\");\n getLog().info(\"Writing artifacts from those sources to ‘\" + this.target + \"’\");\n File d = new File(this.target);\n d.mkdirs();\n Map envvars = new HashMap<>();\n envvars.put(\"PARENT_DIR\", this.ontologySrc);\n envvars.put(\"SCRIPT_DIR\", \"foo\");\n envvars.put(\"LIB_DIR\", \"foo\");\n envvars.put(\"JAVA_HOME\", System.getProperty(\"java.home\"));\n this.setEnv(envvars);\n DMDocument.outputDirPath = d.toString() + \"/\";\n this.generateArtifacts();\n } catch (RuntimeException ex) {\n throw ex;\n } catch (Throwable ex) {\n throw new MojoExecutionException(\" error\", ex);\n }\n }","title":""},{"docid":"850c65b79420f8a84ff918348963f026","score":"0.47691566","text":"private void compile() {\r\n if (!saveTab(false, currentTab)) {\r\n return;\r\n }\r\n final TabData data = tabdata.get(currentTab);\r\n if (!data.compiling) {\r\n data.compiling = true;\r\n Thread compile = new Thread(\"Compile\") {\r\n \r\n private void pumpErrStream(Process proc) throws IOException {\r\n InputStream in = proc.getErrorStream();\r\n StringBuilder resBuf = new StringBuilder();\r\n byte[] buffer = new byte[5000];\r\n int len;\r\n while ((len = in.read(buffer)) != -1) {\r\n resBuf.append(new String(buffer, 0, len));\r\n }\r\n String result = resBuf.toString().replaceAll(\"\\\\Q\" + dir.getAbsolutePath().replaceAll(\"\\\\\\\\\", \"\\\\\\\\\") + \"\\\\E\", \"\");\r\n out.print(result);\r\n }\r\n \r\n private String getLibs(Process proc) throws IOException {\r\n InputStream in = proc.getErrorStream();\r\n StringBuilder resBuf = new StringBuilder();\r\n byte[] buffer = new byte[5000];\r\n int len;\r\n while ((len = in.read(buffer)) != -1) {\r\n resBuf.append(new String(buffer, 0, len));\r\n }\r\n Set set = new TreeSet();\r\n set.add(\"libcbas\");\r\n Matcher m = Pattern.compile(\"links ([^\\n]+)\").matcher(resBuf);\r\n while (m.find()) {\r\n set.add(m.group(1));\r\n }\r\n StringBuilder libs = new StringBuilder();\r\n for (String str : set)\r\n libs.append(\" -l\").append(str.trim());\r\n System.out.println(libs);\r\n return libs.toString();\r\n }\r\n \r\n public void run() {\r\n try {\r\n File script_source = new File(lib, \"Script.cc\");\r\n if (!script_source.exists()) {\r\n out.println(\"Error: Lib/Script.cc not found!\");\r\n return;\r\n }\r\n File script_object = new File(lib, \"Script.o\");\r\n if (!script_object.exists() || script_source.lastModified() > script_object.lastModified()) {\r\n out.println(\"Recompiling Script.cc\");\r\n Process build = Runtime.getRuntime().exec(comp.getAbsolutePath() + \" -I\\\"\" + inc.getAbsolutePath() + \"\\\" -O3 -s -c \\\"\" + script_source.getAbsolutePath() + \"\\\" -o \\\"\" + script_object.getAbsolutePath() + \"\\\"\");\r\n int error = build.waitFor();\r\n if (error == 0) {\r\n out.println(\"Successfully Recompiled\");\r\n } else {\r\n out.println(\"Recompile Failed! Exit Value: \" + error);\r\n pumpErrStream(build);\r\n return;\r\n }\r\n }\r\n if (data.dll != null) {\r\n implReleaseLib(data.dll.getAbsolutePath());\r\n }\r\n data.dll = null;\r\n out.println(\"Compiling \" + data.name);\r\n File object = new File(obj, data.name + \".o\");\r\n Process build = Runtime.getRuntime().exec(comp.getAbsolutePath() + \" -I\\\"\" + inc.getAbsolutePath() + \"\\\" -O3 -s -c \\\"\" + data.file.getAbsolutePath() + \"\\\" -o \\\"\" + object.getAbsolutePath() + \"\\\"\");\r\n int build_res = build.waitFor();\r\n String libs = \"\";\r\n if (build_res == 0) {\r\n out.println(\"Successfully Compiled\");\r\n libs = getLibs(build);\r\n } else {\r\n out.println(\"Compile Failed! Exit Value: \" + build_res);\r\n pumpErrStream(build);\r\n return;\r\n }\r\n out.println(\"Linking \" + data.name);\r\n File dll = new File(bin, data.name + \".dll\");\r\n Process link = Runtime.getRuntime().exec(comp.getAbsolutePath() + \" -shared -o \\\"\" + dll.getAbsolutePath() + \"\\\" -s \\\"\" + object.getAbsolutePath() + \"\\\" \\\"\" + script_object.getAbsolutePath() + \"\\\" -L\\\"\" + lib.getAbsolutePath() + \"\\\"\" + libs);\r\n System.out.println(link);\r\n int link_res = 1;//link.waitFor();\r\n if (link_res == 0) {\r\n out.println(\"Successfully Linked\");\r\n } else {\r\n out.println(\"Link Failed! Exit Value: \" + link_res);\r\n pumpErrStream(link);\r\n return;\r\n }\r\n data.dll = dll;\r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n } finally {\r\n data.compiling = false;\r\n }\r\n }\r\n };\r\n compile.start();\r\n } else {\r\n out.println(data.name + \" is already compiling!\");\r\n }\r\n }","title":""},{"docid":"223a5255e5d47044fc059078dc46a9ab","score":"0.47685146","text":"void compileWithReporter(File[] sources, File[] classpath, Output output, String[] options, Reporter reporter, Logger log);","title":""},{"docid":"9926ec5915830f925d7a2224d3b3a544","score":"0.4767846","text":"public static void exportAll() throws Exception {\n if (!build.cleanup()) {\n return;\n }\n List projectList = getProjectList(getPaths(directory));\n build.buildProject(projectList);\n for (Project project : projectList) {\n try {\n System.out.println(project.toString());\n build.buildRepoGraph(project);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n }","title":""},{"docid":"02065863d1c5cea2ce926c61a167872e","score":"0.47649905","text":"public void testTestCompile() throws Exception {\n final File testDir = ResourceExtractor.simpleExtractResources( getClass(), \"/org/phpmaven/test/projects/source-copy\");\n \n final Verifier verifier = new Verifier( testDir.getAbsolutePath() );\n \n // delete the pom from previous runs\n verifier.deleteArtifact( \"org.phpmaven.test\", \"source-copy\", \"0.0.1\", \"pom\" );\n verifier.deleteArtifact( \"org.phpmaven.test\", \"source-copy\", \"0.0.1\", \"phar\" );\n verifier.setAutoclean(true);\n\n verifier.executeGoal(\"test-compile\");\n verifier.verifyErrorFreeLog();\n verifier.resetStreams();\n \n verifier.assertFilePresent(\"target/test-classes/FooTest.php\");\n }","title":""},{"docid":"9ab105cbda89f9a0bd1a09d474718be3","score":"0.47618887","text":"@Override\n\tpublic byte[] createFileXlsx(ReportExcel report) throws Exception {\n\t\tthis.mergeCalcoloCells = null;\n\t\tbyte[] byteExcel = null;\n\t\tXSSFWorkbook workbook = null;\n\t\ttry {\n\t\t\tByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();\n\t\t\tboolean isCover = true;\n\t\t\tif (StringUtils.isNotBlank(this.pathCoverXlsx) && !report.isIgnoreCover()) {\n\t\t\t\tInputStream inputstream = new FileInputStream(this.pathCoverXlsx);\n\t\t\t\tworkbook = new XSSFWorkbook(inputstream);\n\t\t\t} else if (StringUtils.isNotBlank(this.resourcePathCoverXlsx) && !report.isIgnoreCover()) {\n\t\t\t\tInputStream inputstream = getClass().getResourceAsStream(this.resourcePathCoverXlsx);\n\t\t\t\tworkbook = new XSSFWorkbook(inputstream);\n\t\t\t} else {\n\t\t\t\tworkbook = new XSSFWorkbook();\n\t\t\t\tisCover = false;\n\t\t\t}\n\n\t\t\tthis.setCoverParameters(report, byteArrayOutputStream, workbook, isCover);\n\t\t\tbyteExcel = byteArrayOutputStream.toByteArray();\n\t\t} catch (Exception e) {\n\t\t\tthrow e;\n\t\t} finally {\n\t\t\tif (workbook != null)\n\t\t\t\tworkbook.close();\n\t\t}\n\t\treturn byteExcel;\n\t}","title":""},{"docid":"50c54773189377fe09484c20c13dde95","score":"0.47570017","text":"public void ScreenShot(ITestResult result) {\n \n try {\n \n String NewFileNamePath;\n String methodName = result.getName();\n \n //Get current date time with Date() to create unique file name\n SimpleDateFormat dateFormat = new SimpleDateFormat(\n \"ddMMMyy__hhmmaa\");\n // get current date time with Date()\n Date date = new Date();\n String rprtPrgm = BaseClass.program;\n String rprtEnv = BaseClass.env;\n \n if (!(new File(BaseClass.directory.getCanonicalPath() + File.separator + \"reports\" + File.separator + rprtPrgm + \"_\" + rprtEnv + \"_\" + BaseClass.brwsr + File.separator + \"screenshots\")).exists()) {\n new File(BaseClass.directory.getCanonicalPath() + File.separator + \"reports\" + File.separator + rprtPrgm + \"_\" + rprtEnv + \"_\" + BaseClass.brwsr + File.separator + \"screenshots\").mkdir();\n }\n \n NewFileNamePath = BaseClass.directory.getCanonicalPath() + File.separator + \"reports\" + File.separator + rprtPrgm + \"_\" + rprtEnv + \"_\" + BaseClass.brwsr + File.separator + \"screenshots\"\n + File.separator + methodName + \"_\" + dateFormat.format(date) + \".png\";\n \n System.out.println(NewFileNamePath);\n \n File screenshot = ((TakesScreenshot) BaseClass.driver).\n getScreenshotAs(OutputType.FILE);\n FileUtils.copyFile(screenshot, new File(NewFileNamePath));\n Reporter.log(methodName + \" failed; Click on image to enlarge
\"\n + \"\\\"\\\"\"
\");\n Reporter.setCurrentTestResult(null);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }","title":""},{"docid":"f467b7f9e29f819b3d3e9d2b4039cbb6","score":"0.47565868","text":"protected String getCompileFileName()\r\n/* 89: */ {\r\n/* 90:129 */ return \"anexoICE\";\r\n/* 91: */ }","title":""},{"docid":"c13f8926608db767431beb2c923d48c9","score":"0.475354","text":"private void updateGlobalVariables()\n {\n if(this.codemonReference != null)\n {\n this.sourceDirectory = null;\n this.codemonDirectory = null;\n\n this.sourceDirectory = this.codemonReference.sourceDirectory;\n this.codemonDirectory = this.codemonReference.codemonDirectory;\n this.sourceDirectoryString = this.codemonReference.sourceDirectoryString;\n this.codemonDirectoryString = this.codemonReference.codemonDirectoryString;\n }\n }","title":""},{"docid":"f3f97439dce28554891e44ee06e9c9c1","score":"0.47502652","text":"public void packageSourse() throws IOException, InterruptedException {\n\t\tSystem.out.println(\"开始生成hwt------\");\n\t\tString winrarPath = \"C:/Program Files/WinRAR/WinRAR.exe\";\n\t\tFile winrarFile = new File(winrarPath);\n\t\tif(winrarFile.exists()){\n\t\t\tSystem.out.println(\"已经找到WinRAR.exe, 开始打包------\");\n\t\t\tFile contactsFile = new File(herePath + \"/com.android.contacts(1)\");\n\t\t\tFile incalluiFile = new File(herePath + \"/com.android.incallui(1)\");\n\t\t\tFile mmsFile = new File(herePath + \"/com.android.mms(1)\");\n\t\t\tFile phoneFile = new File(herePath + \"/com.android.phone(1)\");\n\t\t\tFile recorderFile = new File(herePath + \"/com.android.phone.recorder(1)\");\n\t\t\tFile telecomFile = new File(herePath + \"/com.android.server.telecom(1)\");\n\t\t\tFile systemuiFile = new File(herePath + \"/com.android.systemui(1)\");\n\t\t\tFile launcherFile = new File(herePath + \"/com.huawei.android.launcher(1)\");\n\t\t\tFile iconsFile = new File(herePath + \"/icons(1)\");\n\t\t\tList files = new ArrayList();\n\t\t\tfiles.add(contactsFile);\n\t\t\tfiles.add(incalluiFile);\n\t\t\tfiles.add(mmsFile);\n\t\t\tfiles.add(phoneFile);\n\t\t\tfiles.add(recorderFile);\n\t\t\tfiles.add(telecomFile);\n\t\t\tfiles.add(systemuiFile);\n\t\t\tfiles.add(launcherFile);\n\t\t\tfiles.add(iconsFile);\n\t\t\tfor (File f:files){\n\t\t\t\tif(f.exists()){\n\t\t\t\t\tString packageName = f.getName().replace(\"(1)\", \"\");\n\t\t\t\t\tStringBuffer fl = new StringBuffer();\n\t\t\t\t\tFile[] subFileList = f.listFiles();\n\t\t\t\t\tif(subFileList != null && subFileList.length > 0){\n\t\t\t\t\t\tfor (int i =0; i < subFileList.length; ++i){\n\t\t\t\t\t\t\tif(subFileList[i].getName().indexOf(\" \") >= 0){\n\t\t\t\t\t\t\t\tSystem.out.println(\"存在可能异常的文件,请检查文件名:\" + subFileList[i].getName());\n\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfl.append(\" \" + subFileList[i].getName());\n\t\t\t\t\t\t}\n\t\t\t\t\t\tFile indexFile = new File(f.getName());\n\t\t\t\t\t\tSystem.out.println(f.getName());\n\t\t\t\t\t\tSystem.out.println(\"正在打包\" + packageName);\n\t\t\t\t\t\tSystem.out.println(winrarPath + \" a \" + packageName + \".zip\" + fl.toString());\n\t\t\t\t\t\tProcess process = Runtime.getRuntime().exec(winrarPath + \" a \" + packageName + \".zip\" + fl.toString(), null, indexFile);\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tprocess.waitFor();\n\t\t\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tFile eeefile = new File(indexFile.getAbsolutePath() + \"/\" + packageName + \".zip\");\n\t\t\t\t\t\tif(eeefile.renameTo(new File(herePath + \"/\" + eeefile.getName().replace(\".zip\", \"\")))){\n\t\t\t\t\t\t\tSystem.out.println(packageName + \" 打包成功\");\n\t\t\t\t\t\t\tString path = getHwtFile();\n\t\t\t\t\t\t\tString subPckageName = packageName;\n\t\t\t\t\t\t\tProcess process1 = null;\n\t\t\t\t\t\t\tif(path.endsWith(\".hwt\")){\n\t\t\t\t\t\t\t\tprocess1 = Runtime.getRuntime().exec(winrarPath + \" a \" + path + \".zip \" + subPckageName);\n\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\tSystem.out.println(\"运行winrar:\" + winrarPath + \" a \" + path + \" \" + subPckageName);\n\t\t\t\t\t\t\t\tprocess1 = Runtime.getRuntime().exec(winrarPath + \" a \" + path + \" \" + subPckageName);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tprocess1.waitFor();\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tSystem.out.println(packageName + \" 打包失败\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}\n\n\t\t}else{\n\t\t\tSystem.out.println(\"WinRAR.exe 找不到,请确认WinRAR路径是否正确\");\n\t\t}\n\t}","title":""},{"docid":"db8305b278b6c4b0d0ceb9ead2ca5205","score":"0.47408178","text":"public void execute() throws BuildException {\r\n // make sure we don't have an illegal set of options\r\n validateAttributes();\r\n File source_file = null;\r\n\r\n try {\r\n ExceptionPrinter.register(new TextExceptionPrinter());\r\n PrettyPrintFile ppf = new PrettyPrintFile();\r\n\t\t\t\tFixCRLF fixcrlf_task = (FixCRLF)project.createTask(\"fixcrlf\");\r\n\r\n configureFixCrlfTask( fixcrlf_task );\r\n\r\n ppf.setAsk(false);\r\n\r\n for (int i = 0; i < filesets.size(); i++) {\r\n FileSet fs = (FileSet) filesets.elementAt(i);\r\n DirectoryScanner ds = fs.getDirectoryScanner(project);\r\n File from_dir = fs.getDir(project);\r\n String[] src_files = ds.getIncludedFiles();\r\n\r\n for (int j = 0; j < src_files.length; j++) {\r\n source_file = new File( from_dir, src_files[j] );\r\n\r\n if ( shouldBeautify( source_file, from_dir ) ) {\r\n System.out.println(\"formatting:\" + source_file);\r\n ppf.setParserFactory(new FileParserFactory(source_file));\r\n\r\n // reformat\r\n ppf.apply(source_file);\r\n\r\n fixcrlf_task.setSrcdir(from_dir);\r\n fixcrlf_task.setIncludesfile(source_file);\r\n fixcrlf_task.execute();\r\n }\r\n }\r\n }\r\n }\r\n catch (Exception ex) {\r\n ex.printStackTrace();\r\n\r\n throw new BuildException(\"Cannot javastyle file=\"+source_file, location);\r\n }\r\n }","title":""},{"docid":"e8942bf0591c77875d92603787af7c5e","score":"0.47407877","text":"public void compileComplete(final File compiledFile)\n {\n if (compiledFile != null)\n {\n try\n {\n System.out.println(\"Creating report...\");\n\n JasperReport jasperReport = (JasperReport)JRLoader.loadObject(compiledFile.getAbsoluteFile());\n if (jasperReport != null)\n {\n System.out.println(\"Loaded report...\");\n \n Map parameters = new HashMap();\n \n parameters.put(\"RPT_IMAGE_DIR\", JasperReportsCache.getImagePath().getAbsolutePath());\n parameters.put(\"SUBREPORT_DIR\", cachePath.getAbsoluteFile() + File.separator);\n parameters.put(\"DATASOURCE\", dataSource);\n \n if (recordSet != null)\n {\n parameters.put(\"itemnum\", DBTableIdMgr.getInstance().getInClause(recordSet));\n }\n \n // Add external parameters\n if (params != null)\n {\n for (Object key : params.keySet())\n {\n //System.out.println(\"key[\"+key+\"] Val[\"+params.get(key)+\"]\");\n parameters.put(key, params.get(key));\n }\n }\n \n // XXX What about losing a connection here?\n if (requiresHibernate)\n {\n session = HibernateUtil.getNewSession();\n parameters.put(JRHibernateQueryExecuterFactory.PARAMETER_HIBERNATE_SESSION, session);\n }\n\n if (isAsynchronous)\n {\n System.out.println(\"Filling report asynchronously...\");\n \n //progressLabel.setText(getResourceString(\"JasperReportFilling\"));\n if (recordSet != null)\n {\n asyncFillHandler = AsynchronousFillHandle.createHandle(jasperReport, parameters, DBConnection.getInstance().getConnection());\n } else\n {\n asyncFillHandler = AsynchronousFillHandle.createHandle(jasperReport, parameters, dataSource);\n }\n asyncFillHandler.addListener(this);\n asyncFillHandler.startFill();\n \n } else\n {\n System.out.println(\"Filling report synchronously...\");\n JasperPrint jasperPrint;\n if (recordSet != null)\n {\n jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, DBConnection.getInstance().getConnection());\n } else\n {\n jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, dataSource);\n }\n \n if (jasperPrint != null)\n {\n listener.complete(jasperPrint);\n } else\n {\n listener.completedWithError();\n }\n }\n \n } else\n {\n log.error(\"jasperReport came back null [\"+compiledFile.getAbsolutePath()+\"]\");\n //progressBar.setIndeterminate(false);\n //setLabelText(getResourceString(\"JasperReportReadingCachedReport\"));\n }\n\n } catch (JRException ex)\n {\n edu.ku.brc.af.core.UsageTracker.incrHandledUsageCount();\n edu.ku.brc.exceptions.ExceptionTracker.getInstance().capture(JasperReportHelper.class, ex);\n //setLabelText(getResourceString(\"JasperReportCreatingViewer\"));\n log.error(ex);\n ex.printStackTrace();\n }\n } else\n {\n //setLabelText(getResourceString(\"JasperReportCompileError\"));\n }\n compiler = null;\n }","title":""},{"docid":"df4570223036910a102f98dab713c666","score":"0.47327748","text":"private void writeUpdateToDisk(WorkflowJob workflowJob, int buildNumber) throws IOException {\n WorkflowRun workflowRun = workflowJob.getBuildByNumber(buildNumber);\n if (workflowRun == null) {\n LOG.log(Level.SEVERE,\n \"build not found: {0}, pipeline config update is not written to disk.\", buildNumber);\n return;\n }\n File buildRootDir = workflowJob.getBuildByNumber(buildNumber).getRootDir();\n File timestampedRootDir = createNextTimestampedHistoryDir(workflowJob);\n\n //save build.xml\n XmlFile buildDotXml = PluginUtils.getBuildXml(buildRootDir);\n if (buildDotXml.exists()) {\n copySingleFileToDestination(buildDotXml.getFile(), timestampedRootDir);\n }\n\n //save libs folder (pipeline script libraries formerly pulled from scm)\n File buildLibDir = PluginUtils.getLibDir(buildRootDir);\n if (buildLibDir.exists()) {\n copyRecursively(buildLibDir, new File(timestampedRootDir, \"libs\"));\n }\n\n //get root script name\n FlowDefinition flowDefinition = workflowJob.getDefinition();\n String rootScriptName = (flowDefinition instanceof CpsScmFlowDefinition)\n ? ((CpsScmFlowDefinition) flowDefinition).getScriptPath()\n : \"Jenkinsfile\";\n\n //save history xml\n savePipelineHistoryDescriptionToXmlFile(\n new PipelineHistoryDescription(\n timestampedRootDir.getName(),\n workflowJob.getFullName(),\n rootScriptName,\n buildNumber\n ),\n getHistoryXmlFile(timestampedRootDir)\n );\n }","title":""},{"docid":"3297371dcc8912a2d659045fa547f06c","score":"0.47323847","text":"public void endReport() {\n\n\t\tExtendReport_Instance.flush();\n\n\t\ttry {\n\n\t\t\tFile gb_objDirecotry = new File(\".\");\n\t\t\tString Project_path = gb_objDirecotry.getCanonicalPath();\n\t\t\tFileWriter writer = new FileWriter(Project_path + \"/Result_path.txt\");\n\t\t\twriter.write(\"\");\n\t\t\tString path = Report_Suite_HTMLs_Path.toString();\n\t\t\tString path2;\n\t\t\tpath2 = path.substring(62);\n\t\t\tSystem.out.println(path2);\n\t\t\twriter.write(path2);\n\t\t\twriter.close();\n\n\t\t\tTemporaryFilesystem.getDefaultTmpFS().deleteTemporaryFiles();\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}","title":""},{"docid":"e164df61f13c029b483381dd94749f36","score":"0.47320044","text":"private void generateReRunBatFile() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}","title":""},{"docid":"3a10d75b5a26f084bcdf6015a8ea6994","score":"0.47265035","text":"public ReportGenerator(String filename, String classesDir, String sourceDir, String reportDir, String projectDir) {\n\n\t\tprojectDirectory = new File(projectDir);\n\t\tthis.title = projectDirectory.getName();\n\n\t\tpatt = \"**/R.class,**/R$*.class,**/BuildConfig.*,**/Manifest*.*,**/*Test*.*,android/**/*.*\";\n\t\tregexes = patt.split(\",\");\n\t\tthis.filename = filename;\n\t\tthis.classesDirectory = new File(projectDirectory, classesDir != null ? classesDir : \"/app/build/intermediates/classes\");\n\t\tthis.sourceDirectory = new File(projectDirectory, sourceDir != null ? sourceDir : \"/app/src/main/java\");\n\t\tthis.reportDirectory = new File(projectDirectory, reportDir != null ? reportDir : \"../coveragereport\");\n\t}","title":""},{"docid":"cab837af96723f71e7b70352aae7f8f6","score":"0.4717286","text":"public static void zipReport (File srcDir , File destDir){\n\t\tZipUtil.pack(srcDir , destDir);\n System.out.println(\"File zipped ...\");\n \n //Unzip Files\n File outputDir = new File(System.getProperty(\"user.dir\")+\"\\\\outfiles\");\n if(!(outputDir.exists())){\n \toutputDir.mkdir();\n }\n ZipUtil.unpack(destDir, outputDir);\n\t\n\t}","title":""},{"docid":"e3172448f856aaaf7031bbb5201d738c","score":"0.4716121","text":"public void CreateReport() {\n\t\t\n\t}","title":""},{"docid":"39301e790658549a5899c2e52ea6694b","score":"0.47121227","text":"@Override\n public String getOutputDir() {\n return outputDir;\n }","title":""},{"docid":"2172d21ea22c6efefd490611a0ffabb1","score":"0.4711445","text":"public void monitorFolder(String outFolderName) {\n\t\t//Where to put pretty reports\n\t\tString res = new File(\"\").getAbsolutePath();\n\t\n\t\tString [] aaa = new String[4];\n\t\taaa[0] = \"-f\";\n\t\taaa[1] = res + File.separatorChar + \"target\" ;\n\t\taaa[2] = \"-o\";\n\t\tString outFile = res + File.separatorChar + \"target\" + File.separatorChar + outFolderName + new Date().toString().replace(\":\", \"\").substring(0,16).replace(\" \", \"\");\n\t\t\n\t\t//Create folder\n\t\tFile f = new File(outFile);\n\t\tf.mkdirs();\n\t\taaa[3] = outFile;\n\t\ttry {\n\t\t\tCucumberReportMonitor.main(aaa);\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}","title":""},{"docid":"22237219aeca922bba4d0a92c37faf79","score":"0.4711047","text":"private static File prepareProject() throws IOException {\n File result = new File(AllTests.TESTDATA_DIR_COPY, \"natures\");\n result.mkdirs();\n Utils.copyFile(ORIGINAL_FILE, getProjectFile(result));\n return result;\n }","title":""},{"docid":"58f8fca42ab2936c5722965d1693b35e","score":"0.4709449","text":"void processBinary(IBinary binary) throws IOException, CoreException {\n\n ICElement parent = binary.getParent();\n IResource buildTarget = parent.getResource();\n System.err.println(\"Processing target = \" + buildTarget.getName());\n\n Path folderPath = Paths.get(buildTarget.getLocationURI().getPath());\n // Process files\n ArrayList callGraph = new ArrayList();\n try {\n processFiles(folderPath, callGraph);\n } catch (Exception e) {\n e.printStackTrace();\n }\n \n final String callGraphFilename = \"call-graph.html\";\n Path outputPath = folderPath.resolve(callGraphFilename);\n HtmlWriter writer = new HtmlWriter(outputPath, folderPath.getFileName().toString());\n writer.openBody();\n writer.openSection();\n writer.writeHeading(\"Folder:\" + folderPath.getFileName().toString(), 1);\n \n // Collect nodes from graph for lookup (using node.title)\n HashMap nodes = new HashMap();\n ArrayList edges = new ArrayList();\n callGraph.forEach(new Consumer() {\n\n @Override\n public void accept(Graph graph) {\n graph.getNodes().forEach(new Consumer() {\n @Override\n public void accept(Node node) {\n// if (node.getTitle().contains(\"console_initialise\")) {\n// System.err.println(\"Found \"+node.getTitle());\n// }\n Node previousNode = nodes.get(node.getTitle());\n if (previousNode != null) {\n System.err.println(\"Found previous node P:\" + previousNode.toString());\n System.err.println(\"Found previous node N:\" + node.toString());\n if (node.getStackSizeType() == StackSizeType.Unknown) {\n // Discard if not adding stack information\n return;\n }\n }\n nodes.put(node.getTitle(), node);\n //System.out.print(String.format(\"%4d: \", ++nodeCount)+node.toString());\n }\n });\n graph.getEdges().forEach(new Consumer() {\n @Override\n public void accept(Edge edge) {\n edges.add(edge);\n }\n });\n }\n });\n\n// edges.sort(new Comparator() {\n// @Override\n// public int compare(Edge e1, Edge e2) {\n// return e1.getSource().compareTo(e2.getSource());\n// }\n// });\n\n// writer.writeHeading(\"Function calls\", 2);\n// for (Edge edge:edges) {\n// writer.write(edge.toHtml());\n// }\n// \n // Attach target nodes to nodes from edge information\n callGraph.forEach(new Consumer() {\n // Integer edgeCount=0;\n\n @Override\n public void accept(Graph graph) {\n graph.getEdges().forEach(new Consumer() {\n @Override\n public void accept(Edge edge) {\n Node sourceNode = nodes.get(edge.getSource());\n if (sourceNode == null) {\n System.err.println(\"Failed to locate source node \"+edge.getSource());\n return;\n }\n Node targetNode = nodes.get(edge.getTarget());\n if (targetNode == null) {\n System.err.println(\"Failed to locate target node \"+edge.getTarget());\n return;\n }\n sourceNode.targetNodes.add(targetNode);\n // System.out.println(String.format(\"%4d: %s ==> %s\", ++edgeCount, edge.source, edge.target));\n }\n });\n }\n });\n\n Node[] sortedNodes = nodes.values().toArray(new Node[0]);\n\n// Arrays.sort(sortedNodes, new Comparator() {\n// @Override\n// public int compare(Node o1, Node o2) {\n// return o1.getLabel().compareToIgnoreCase(o2.getLabel());\n// }\n// });\n// writer.writeHeading(\"Functions\", 2);\n// for (Node node:sortedNodes) {\n// writer.write(String.format(\"%s\", node.toHtml()));\n// }\n//\n writer.writeHeading(\"Function Stack depth - by cost\", 2);\n Arrays.sort(sortedNodes, new Comparator() {\n @Override\n public int compare(Node o1, Node o2) {\n return Integer.compare(o2.getStackSize(), o1.getStackSize());\n }\n });\n\n for (Node node:sortedNodes) {\n if (node.isReported()) {\n continue;\n }\n node.writeMostExpensiveCallPathHtml(writer);\n }\n\n// writer.writeHeading(\"Function Stack depth - alphabetic\", 2);\n// writer.newline();\n//\n// Arrays.sort(sortedNodes, new Comparator() {\n// @Override\n// public int compare(Node o1, Node o2) {\n// return o1.getLabel().compareToIgnoreCase(o2.getLabel());\n// }\n// });\n//\n// // int worseStack = 0;\n// // Node worseNode = null;\n//\n// for (Node node:sortedNodes) {\n// int cost = node.getStackSize();\n// // if (cost>worseStack) {\n// // worseNode = node;\n// // worseStack = cost;\n// // }\n// writer.write(String.format(\"%5d = %s\", cost, node.getMostExpensiveCallPath()));\n// writer.newline();\n// }\n writer.closeSection();\n writer.closeBody();\n writer.close();\n \n // Refresh workspace so file is visible\n buildTarget.refreshLocal(1, null);\n \n // Open resulting file in editor\n IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();\n IPath path = buildTarget.getFullPath().append(callGraphFilename);\n IDE.openEditor(page, ResourcesPlugin.getWorkspace().getRoot().getFile(path));\n }","title":""},{"docid":"6ba5ac229773749baae821a0c5d768a1","score":"0.47051135","text":"public void execute() throws MojoExecutionException, MojoFailureException {\n \t\tpreProcess();\n \t\tFile targetDirectory = getTargetDirectory();\n \t\tFile sourceDirectory = getSourceDirectory();\n \t\tif (!sourceDirectory.exists()) {\n \t\t\treturn; // No sources, so there is nothing to render.\n \t\t}\n \t\tif (!targetDirectory.exists()) {\n \t\t\torg.codehaus.plexus.util.FileUtils.mkdir(targetDirectory\n \t\t\t\t\t.getAbsolutePath());\n \t\t}\n \t\tDirectoryScanner scanner = new DirectoryScanner();\n \t\tscanner.setBasedir(sourceDirectory);\n \t\tscanner.setIncludes(getIncludes());\n \t\tscanner.scan();\n \t\tString[] included = scanner.getIncludedFiles();\n \t\tCatalogManager catalogManager = createCatalogManager();\n \t\tCatalogResolver catalogResolver = new CatalogResolver(catalogManager);\n \t\tURIResolver uriResolver = null;\n \t\ttry {\n \t\t\tURL url = getNonDefaultStylesheetURL() == null ? getDefaultStylesheetURL()\n \t\t\t\t\t: getNonDefaultStylesheetURL();\n \t\t\turiResolver = new StylesheetResolver(\"urn:docbkx:stylesheet\",\n \t\t\t\t\tnew StreamSource(url.openStream(), url.toExternalForm()),\n \t\t\t\t\tcatalogResolver);\n \t\t} catch (IOException ioe) {\n \t\t\tthrow new MojoExecutionException(\"Failed to read stylesheet.\", ioe);\n \t\t}\n \t\tTransformerBuilder builder = createTransformerBuilder(uriResolver);\n \t\tEntityResolver resolver = catalogResolver;\n \t\tInjectingEntityResolver injectingResolver = null;\n \t\tif (getEntities() != null) {\n \t\t\tinjectingResolver = new InjectingEntityResolver(getEntities(),\n \t\t\t\t\tresolver, getType(), getLog());\n \t\t\tresolver = injectingResolver;\n \t\t}\n \t\tSAXParserFactory factory = createParserFactory();\n \t\tfor (int i = included.length - 1; i >= 0; i--) {\n \t\t\ttry {\n \t\t\t\tif (injectingResolver != null) {\n \t\t\t\t\tinjectingResolver.forceInjection();\n \t\t\t\t}\n \t\t\t\tString filename = included[i];\n \t\t\t\tString targetFilename = filename.substring(0,\n \t\t\t\t\t\tfilename.length() - 4)\n \t\t\t\t\t\t+ \".\" + getTargetFileExtension();\n \t\t\t\tFile targetFile = new File(targetDirectory, targetFilename);\n \t\t\t\tFile sourceFile = new File(sourceDirectory, filename);\n \t\t\t\tif (!targetFile.exists()\n \t\t\t\t\t\t|| (targetFile.exists() && FileUtils.isFileNewer(\n \t\t\t\t\t\t\t\tsourceFile, targetFile))) {\n Result result = new StreamResult(targetFile.getAbsolutePath());\n \t\t\t\t\tXMLReader reader = factory.newSAXParser().getXMLReader();\n \t\t\t\t\treader.setEntityResolver(resolver);\n \t\t\t\t\tPreprocessingFilter filter = new PreprocessingFilter(reader);\n \t\t\t\t\tProcessingInstructionHandler resolvingHandler = new ExpressionHandler(\n \t\t\t\t\t\t\tnew VariableResolver() {\n \n \t\t\t\t\t\t\t\tprivate Map tree = ExpressionUtils\n \t\t\t\t\t\t\t\t\t\t.createTree(getMavenProject()\n \t\t\t\t\t\t\t\t\t\t\t\t.getProperties());\n \n \t\t\t\t\t\t\t\tpublic Object resolveVariable(String name)\n \t\t\t\t\t\t\t\t\t\tthrows ELException {\n \t\t\t\t\t\t\t\t\tif (\"date\".equals(name)) {\n \t\t\t\t\t\t\t\t\t\treturn DateFormat.getDateInstance(\n \t\t\t\t\t\t\t\t\t\t\t\tDateFormat.LONG).format(\n \t\t\t\t\t\t\t\t\t\t\t\tnew Date());\n \t\t\t\t\t\t\t\t\t} else if (\"project\".equals(name)) {\n \t\t\t\t\t\t\t\t\t\treturn getMavenProject();\n \t\t\t\t\t\t\t\t\t} else {\n \t\t\t\t\t\t\t\t\t\treturn tree.get(name);\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}, getLog());\n \t\t\t\t\tfilter.setHandlers(Arrays\n \t\t\t\t\t\t\t.asList(new Object[] { resolvingHandler }));\n \t\t\t\t\tfilter.setEntityResolver(resolver);\n \t\t\t\t\tgetLog().info(\"Processing \" + filename);\n \n \t\t\t\t\tSAXSource xmlSource = null;\n \t\t\t\t\t// if both properties are set, XOM is used for a better\n \t\t\t\t\t// XInclude support.\n \t\t\t\t\tif (getXIncludeSupported()\n \t\t\t\t\t\t\t&& getGeneratedSourceDirectory() != null) {\n getLog().debug(\"Advanced XInclude mode entered\");\n \t\t\t\t\t\tfinal Builder xomBuilder = new Builder();\n \t\t\t\t\t\ttry {\n \t\t\t\t\t\t\tfinal nu.xom.Document doc = xomBuilder\n \t\t\t\t\t\t\t\t\t.build(sourceFile);\n \t\t\t\t\t\t\tXIncluder.resolveInPlace(doc);\n \t\t\t\t\t\t\t// TODO also dump PIs computed and Entities included\n \t\t\t\t\t\t\tfinal File dump = dumpResolvedXML(filename, doc);\n \t\t\t\t\t\t\txmlSource = new SAXSource(filter, new InputSource(\n \t\t\t\t\t\t\t\t\tdump.getAbsolutePath()));\n \t\t\t\t\t\t} catch (ValidityException e) {\n \t\t\t\t\t\t\tthrow new MojoExecutionException(\n \t\t\t\t\t\t\t\t\t\"Failed to validate source\", e);\n \t\t\t\t\t\t} catch (ParsingException e) {\n \t\t\t\t\t\t\tthrow new MojoExecutionException(\n \t\t\t\t\t\t\t\t\t\"Failed to parse source\", e);\n \t\t\t\t\t\t} catch (IOException e) {\n \t\t\t\t\t\t\tthrow new MojoExecutionException(\n \t\t\t\t\t\t\t\t\t\"Failed to read source\", e);\n \t\t\t\t\t\t} catch (XIncludeException e) {\n \t\t\t\t\t\t\tthrow new MojoExecutionException(\n \t\t\t\t\t\t\t\t\t\"Failed to process XInclude\", e);\n \t\t\t\t\t\t}\n \t\t\t\t\t} else // else fallback on Xerces XInclude support.\n \t\t\t\t\t{\n getLog().debug(\"Xerces XInclude mode entered\");\n \t\t\t\t\t\tInputSource inputSource = new InputSource(sourceFile\n \t\t\t\t\t\t\t\t.getAbsolutePath());\n \t\t\t\t\t\txmlSource = new SAXSource(filter, inputSource);\n \t\t\t\t\t}\n \t\t\t\t\tTransformer transformer = builder.build();\n \t\t\t\t\tadjustTransformer(transformer,\n \t\t\t\t\t\t\tsourceFile.getAbsolutePath(), targetFile);\n \t\t\t\t\ttransformer.transform(xmlSource, result);\n \t\t\t\t\tpostProcessResult(targetFile);\n getLog().debug(targetFile + \" has been generated.\");\n \t\t\t\t} else {\n \t\t\t\t\tgetLog().debug(targetFile + \" is up to date.\");\n \t\t\t\t}\n \t\t\t} catch (SAXException saxe) {\n \t\t\t\tthrow new MojoExecutionException(\"Failed to parse \"\n \t\t\t\t\t\t+ included[i] + \".\", saxe);\n \t\t\t} catch (TransformerException te) {\n \t\t\t\tthrow new MojoExecutionException(\"Failed to transform \"\n \t\t\t\t\t\t+ included[i] + \".\", te);\n \t\t\t} catch (ParserConfigurationException pce) {\n \t\t\t\tthrow new MojoExecutionException(\"Failed to construct parser.\",\n \t\t\t\t\t\tpce);\n \t\t\t}\n \t\t}\n \t\tpostProcess();\n \t}","title":""},{"docid":"e56a559b290aa0329868e2334953103b","score":"0.47050083","text":"public void bake() throws Exception {\n\t\tlong start = new Date().getTime();\n\t\tSystem.out.println(\"Baking has started...\");\n\n\t\t// process source content\n\t\tCrawler crawler = new Crawler(source, config);\n\t\tcrawler.crawl(contentsPath);\n\t\tList> pages = crawler.getPages();\n\t\tList> posts = crawler.getPosts();\n\n\t\t// sort posts\n\t\tCollections.sort(posts, SortUtil.getComparator(REVERSE));\n\n\t\tRenderer renderer = new Renderer(source, destination, templatesPath, config, posts, pages);\n\n\t\tint renderedCount = 0;\n\t\tint errorCount = 0;\n\t\t\n\t\t// render all pages\n\t\tfor (Map page : pages) {\n\t\t\t// TODO: could add check here to see if rendering needs to be done again\n\t\t\ttry {\n\t\t\t\trenderer.render(page);\n\t\t\t\trenderedCount++;\n\t\t\t} catch (Exception e) {\n\t\t\t\terrorCount++;\n\t\t\t}\n\t\t}\n\n\t\t// render all posts\n\t\tfor (Map post : posts) {\n\t\t\t// TODO: could add check here to see if rendering needs to be done again\n\t\t\ttry {\n\t\t\t\trenderer.render(post);\n\t\t\t\trenderedCount++;\n\t\t\t} catch (Exception e) {\n\t\t\t\terrorCount++;\n\t\t\t}\n\t\t}\n\n\t\t// only interested in published posts from here on\n\t\tList> publishedPosts = Filter.getPublishedPosts(posts);\n\n\t\t// write index file\n\t\tif (config.getBoolean(\"render.index\")) {\n\t\t\trenderer.renderIndex(publishedPosts, config.getString(\"index.file\"));\n\t\t}\n\n\t\t// write feed file\n\t\tif (config.getBoolean(\"render.feed\")) {\n\t\t\trenderer.renderFeed(publishedPosts, config.getString(\"feed.file\"));\n\t\t}\n\n\t\t// write master archive file\n\t\tif (config.getBoolean(\"render.archive\")) {\n\t\t\trenderer.renderArchive(publishedPosts, config.getString(\"archive.file\"));\n\t\t}\n\n\t\t// write tag files \n\t\tif (config.getBoolean(\"render.tags\")) {\n\t\t\trenderer.renderTags(crawler.getPostsByTags(), config.getString(\"tag.path\"));\n\t\t}\n\n\t\t// copy assets\n\t\tAsset asset = new Asset(source, destination);\n\t\tasset.copy(assetsPath);\n\n\t\tSystem.out.println(\"...finished!\");\n\t\tlong end = new Date().getTime();\n\t\tSystem.out.println(\"Baked \" + renderedCount + \" items in \" + (end-start) + \"ms\");\n\t\tif (errorCount > 0) {\n\t\t\tSystem.out.println(\"Failed to bake \" + errorCount + \" item(s)!\");\n\t\t}\n//\t\tSystem.out.println(\"Baking took: \" + (end-start) + \"ms\");\n\t}","title":""},{"docid":"b53f47dcab43cee77ea9f7fb3ed6391d","score":"0.47046003","text":"private void setResultDir(String resDir) {\n String os = System.getProperty(\"os.name\").toLowerCase();\n if (os.contains(\"win\")) {\n resDir = resDir + \"\\\\\";\n sharedInformation.setOS(Constants.WINDOWS);\n } else {\n resDir = resDir + \"/\";\n sharedInformation.setOS(Constants.OTHEROS);\n }\n PathConstants.resultDirectory = resDir;\n newProjectDialog.setEnableGenoPhenoSelection(true);\n sharedInformation.getLogger().info(\"Project created\");\n }","title":""},{"docid":"f1360869c603eb7c8b12aebba5ab013b","score":"0.46955487","text":"public void copyDataDir() {\n\t\tthis.copyDataDir(TicklerVars.dataDir);\n\t}","title":""},{"docid":"696dfa93b27aaf287d4fb9f9004e8a17","score":"0.46912986","text":"private ExtentReport()\n\t{\n\t\tSimpleDateFormat formatter = new SimpleDateFormat(\"MMddyyyy_ hh_mm_ss\");\n\t\tDate date = new Date();\n\t\tString currentDate = formatter.format(date);\n\t\t\n\t\treport=new ExtentReports(\".\\\\ExtentReports\\\\Test Report_\"+currentDate+\".html\");\n\t\treport.loadConfig(new File(\".\\\\src//main//resources//extentreport.xml\"));\n\t}","title":""}],"string":"[\n {\n \"docid\": \"d5e3af935238bbc432da4da2cfdb6b1b\",\n \"score\": \"0.5808471\",\n \"text\": \"@Override\\n public void onFinish(ITestContext context) {\\n try {\\n //Copy Auvenir icon to report directory\\n FileUtils.copyDirectory(new File(\\\"Images\\\"), new File(nxgReportDir.getAbsolutePath() + \\\"\\\\\\\\Images\\\"));\\n } catch (IOException e) {\\n e.printStackTrace();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4cf9e45ce0cda3f55d610c6aed583686\",\n \"score\": \"0.5665131\",\n \"text\": \"static File getJapexReport(AbstractBuild build) {\\n return new File(build.getRootDir(),\\\"japex\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"48fb434e259722e0e909188823a0d8f5\",\n \"score\": \"0.56464094\",\n \"text\": \"@Override\\r\\n public void onExecutionStart() {\\r\\n File file = new File(utils.getProperty(HTML_REPORT_FILE));\\r\\n if(!file.exists()){\\r\\n try {\\r\\n FileUtils.forceMkdir(file);\\r\\n } catch (IOException e) {\\r\\n e.printStackTrace();\\r\\n }\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"767212350735d6151ad7d54ae14a4a25\",\n \"score\": \"0.55684346\",\n \"text\": \"public BaseTestNGReport() {\\n\\n\\t\\t// Create folder with today's date. In this folder we will be generating\\n\\t\\t// the test results reports.\\n\\t\\tm_todayFolder = CommonUtil.getFormatedDate(\\\"MMddyyyy\\\");\\n\\n\\t\\t// Remove report files which are older than 30 days.\\n\\t\\tFileOperations.removeFilesOlderThanNDays(m_baseDirectory, m_daysBack);\\n\\n\\t\\t// Create the directory with today date if its not available means..\\n\\t\\tFileOperations.createDirectory(getBaseDirWithTodayDate());\\n\\n\\t\\tcopyCompanyImage();\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d482d4ef77cf0f2b512e6800e59a9bfd\",\n \"score\": \"0.5545523\",\n \"text\": \"public static void generarReportesConciliacion()\\n\\t{\\n\\t\\tLOG.info(\\\"Se ha solicitado la generacion del archivo con las compras reportadas en los archivos de conciliacion...\\\");\\n\\t\\tList lstArchivosConciliacion=Arrays.asList(new File(RUTA_ARCHIVOS_CONCILIACIONES).listFiles());\\n\\t\\tCollections.sort(lstArchivosConciliacion);\\n\\t\\tList lstCompras=leerArchivosConciliacionesSINICU(lstArchivosConciliacion);\\n\\t\\tLOG.info(\\\"Compras en archivo(s) de conciliacion... \\\".concat(String.valueOf(lstCompras.size())));\\n\\t\\tgenerarReportesCompras(lstCompras);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5128e3d6c48df430ebf2825e9fb0e7cd\",\n \"score\": \"0.5543733\",\n \"text\": \"public void run()\\n {\\n try\\n {\\n for (ReportCompileInfo info : files)\\n {\\n JasperCompileManager.compileReportToFile(info.getReportFile().getAbsolutePath(), info.getCompiledFile().getAbsolutePath());\\n }\\n System.out.println(\\\"Done Compiling...\\\");\\n compileListener.compileComplete(files.get(files.size()-1).getCompiledFile());\\n \\n } catch (Exception ex)\\n {\\n edu.ku.brc.af.core.UsageTracker.incrHandledUsageCount();\\n edu.ku.brc.exceptions.ExceptionTracker.getInstance().capture(JasperReportHelper.class, ex);\\n log.error(ex);\\n ex.printStackTrace();\\n \\n compileListener.compileComplete(null);\\n }\\n compileListener = null;\\n files.clear();\\n files = null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d5f216394e88a0594060f8b4963403f5\",\n \"score\": \"0.54985946\",\n \"text\": \"private void copyCompanyImage() {\\n\\t\\tSystem.out.println();\\n\\t\\tSystem.out.println();\\n\\t\\tString imageSourcePath = String.format(\\\"%s/src/test/resources/benchmark.png\\\",\\n\\t\\t\\t\\tSystem.getProperty(\\\"user.dir\\\").replace(\\\"target\\\", \\\"\\\"));\\n\\t\\tString imageDestinationPath = String.format(\\\"%s/benchmark.png\\\", getBaseDirWithTodayDate());\\n\\t\\tif (!FileOperations.isFileExists(imageDestinationPath))\\n\\t\\t\\tFileOperations.copyImageOrFile(imageSourcePath, imageDestinationPath);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"618005a0e6e211663a85835a5367fd22\",\n \"score\": \"0.5494261\",\n \"text\": \"public void compileReport() throws Exception {\\n\\t\\tcompileException = null;\\n\\t\\tif (mainJrxmlFile == null) {\\n\\t\\t\\tthrow new Exception(\\\"jrxmlFile not set\\\");\\n\\t\\t}\\n\\t\\tif (mainJrxmlFile.canRead() == false) {\\n\\t\\t\\tthrow new Exception(\\\"jrxmlFile \\\" + mainJrxmlFile.getAbsolutePath()\\n\\t\\t\\t\\t\\t+ \\\" cannot be read\\\");\\n\\t\\t}\\n\\t\\tcompileReport(mainJrxmlFile.getAbsolutePath(), true);\\n\\t\\tif (compileException != null) {\\n\\t\\t\\tthrow compileException;\\n\\t\\t}\\n\\t\\tmainJasperReport = reportMap.get(mainJrxmlFile.getAbsolutePath());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"943e5a27debbed863ec4d255ba5aa89d\",\n \"score\": \"0.5487861\",\n \"text\": \"public abstract void buildReport();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"834a4e1ab52c90be2602dbd27fb15265\",\n \"score\": \"0.5429398\",\n \"text\": \"protected void uploadConfigFileToReport() {\\n\\t\\tFile uploadToReportConfigFile = trafficInstance.getUploadedConfigFile();\\n\\t\\ttry {\\n\\t\\t\\tReporterHelper.copyFileToReporterAndAddLink(report, uploadToReportConfigFile, \\\"ConfigFile\\\");\\n\\t\\t} catch (Exception e) {\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"37afdfc9e79a2dc1791fab7939c721f5\",\n \"score\": \"0.54091984\",\n \"text\": \"private int onDump() {\\n // Figure out where to dump the coverage data\\n String dest = getNextArg();\\n if (dest == null) {\\n dest = \\\"/data/local/tmp/coverage.ec\\\";\\n } else {\\n File f = new File(dest);\\n if (f.isDirectory()) {\\n dest = new File(f, \\\"coverage.ec\\\").getAbsolutePath();\\n }\\n }\\n\\n // Try to open the destination file\\n ParcelFileDescriptor fd = openFileForSystem(dest, \\\"w\\\");\\n if (fd == null) {\\n return -1;\\n }\\n\\n // Write the execution data to the file\\n try (BufferedOutputStream output = new BufferedOutputStream(\\n new ParcelFileDescriptor.AutoCloseOutputStream(fd))) {\\n output.write(RT.getAgent().getExecutionData(false));\\n output.flush();\\n getOutPrintWriter().println(String.format(\\\"Dumped coverage data to %s\\\", dest));\\n } catch (IOException e) {\\n getErrPrintWriter().println(\\\"Failed to dump coverage data: \\\" + e.getMessage());\\n return -1;\\n }\\n\\n return 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ef6684650a9f6a470492ec8eb783b62\",\n \"score\": \"0.5379391\",\n \"text\": \"private void installGeneratedArtifacts() {\\n if(installConvertedCP) {\\n File userHome = new File(System.getProperty(\\\"user.home\\\"));\\n if(userHome.isDirectory()) {\\n File destFolder = new File(userHome, \\\".m2/repository\\\");\\n if(destFolder.isDirectory()) {\\n copyFiles(convertedCPOutput, destFolder);\\n if(isContentPackage) {\\n installFMDescriptor(project.getArtifact());\\n }\\n }\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1f23c1f3758205e474237e9b545425a\",\n \"score\": \"0.5374759\",\n \"text\": \"private void installFiles() throws BuildException {\\n for (final Path p : description.getFilePathsToCopy()) {\\n for (final String disallowedPath : disallowedPaths) {\\n if (p.startsWith(disallowedPath)) {\\n LOG.error(\\\"Path {} contained disallowed location\\\", p);\\n throw new BuildException(\\\"Copy to banned location\\\");\\n }\\n }\\n\\n final Path from = distribution.resolve(p);\\n final Path to = idpHome.resolve(p);\\n if (Files.exists(to)) {\\n LOG.debug(\\\"File {} exists, skipping\\\", to);\\n continue;\\n }\\n if (!Files.exists(from)) {\\n LOG.warn(\\\"Source File {} does not exists, skipping\\\", from);\\n continue;\\n }\\n try {\\n createParent(to);\\n LOG.debug(\\\"Copying from {} to {}\\\", from, to);\\n try (final InputStream in = new BufferedInputStream(new FileInputStream(from.toFile()));\\n final OutputStream out = new BufferedOutputStream(new FileOutputStream(to.toFile()))) {\\n in.transferTo(out);\\n }\\n } catch (final IOException e) {\\n LOG.error(\\\"Could not copy from {} to {}\\\", from, to, e);\\n throw new BuildException(e);\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"abedb450fb05c14b7c01e2ad68fcf833\",\n \"score\": \"0.5346179\",\n \"text\": \"public void execute() throws BuildException {\\n \\n // first off, make sure that we've got a srcdir and destdir\\n if (srcDir == null || destDir == null) {\\n throw new BuildException(\\\"srcDir and destDir attributes must be set!\\\");\\n }\\n \\n // scan source and dest dirs to build up both copy lists and\\n // compile lists\\n // scanDir(srcDir, destDir);\\n DirectoryScanner ds = getDirectoryScanner(srcDir);\\n \\n String[] files = ds.getIncludedFiles();\\n \\n scanDir(srcDir, destDir, files);\\n \\n // copy the source and support files\\n copyFilesToDestination();\\n \\n // compile the source files\\n if (compileList.size() > 0) {\\n log(\\\"Compiling \\\" + compileList.size() + \\\" source file\\\"\\n + (compileList.size() == 1 ? \\\"\\\" : \\\"s\\\")\\n + \\\" to \\\" + destDir);\\n doNetRexxCompile();\\n if (removeKeepExtension && (!compile || keep)) {\\n removeKeepExtensions();\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4d4fafa2e5df384fa52cbdce71341058\",\n \"score\": \"0.5292645\",\n \"text\": \"private void copyContent() throws RendererComponentException\\r\\n\\t{\\r\\n\\t\\tFileIO fileWriter = new FileIO();\\r\\n\\t\\ttry\\r\\n\\t\\t{\\r\\n\\t\\t\\t// Move images to render img folder\\r\\n\\t\\t\\tfileWriter.copyDirectory(applicationFolderPath\\r\\n\\t\\t\\t\\t\\t+ ZKConstants.CONTENT_FOLDER_NAME, filePath\\r\\n\\t\\t\\t\\t\\t+ ZKConstants.MAIN_FOLDER_NAME + \\\"/\\\"\\r\\n\\t\\t\\t\\t\\t+ ZKConstants.CONTENT_FOLDER_NAME);\\r\\n\\t\\t}\\r\\n\\t\\tcatch (IOException e)\\r\\n\\t\\t{\\r\\n\\t\\t\\tRendererComponent.logger.log(0,\\\"No content used\\\");\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4b8e4d9794cbea65ecededa26d7583e4\",\n \"score\": \"0.52792454\",\n \"text\": \"public static void generateBytecode() {\\n\\t\\tprogressTracker.startPhase(\\\"genBytecode\\\", \\\"Generating bytecode....\\\", 0.45);\\r\\n\\t\\t\\r\\n\\t\\tdouble step = 1.0 / countSourceCUs();\\r\\n for(Iterator iter = program.compilationUnitIterator(); iter.hasNext(); ) {\\r\\n \\tCompilationUnit cu = (CompilationUnit)iter.next();\\r\\n \\tif (cu.fromSource()) {\\r\\n\\t \\tprogressTracker.advanceProgress(\\\"Generating bytecode: \\\" + cu.relativeName(), step);\\r\\n\\t \\tcu.transformation();\\r\\n\\t \\t\\tcu.generateClassfile();\\r\\n \\t}\\r\\n \\t}\\r\\n \\r\\n progressTracker.endPhase(\\\"genBytecode\\\");\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b3b8332c7dd2fd1446ce1c8f9eba6ac5\",\n \"score\": \"0.5266457\",\n \"text\": \"public void execute() throws BuildException {\\n File savedFile = file; // may be altered in validateAttributes\\n File savedDestFile = destFile;\\n File savedDestDir = destDir;\\n ResourceCollection savedRc = null;\\n if (file == null && destFile != null && rcs.size() == 1) {\\n // will be removed in validateAttributes\\n savedRc = (ResourceCollection) rcs.elementAt(0);\\n }\\n \\n try {\\n // make sure we don't have an illegal set of options\\n try {\\n validateAttributes();\\n } catch (BuildException e) {\\n if (failonerror\\n || !getMessage(e)\\n .equals(MSG_WHEN_COPYING_EMPTY_RC_TO_FILE)) {\\n throw e;\\n } else {\\n log(\\\"Warning: \\\" + getMessage(e), Project.MSG_ERR);\\n return;\\n }\\n }\\n \\n // deal with the single file\\n copySingleFile();\\n \\n // deal with the ResourceCollections\\n \\n /* for historical and performance reasons we have to do\\n things in a rather complex way.\\n \\n (1) Move is optimized to move directories if a fileset\\n has been included completely, therefore FileSets need a\\n special treatment. This is also required to support\\n the failOnError semantice (skip filesets with broken\\n basedir but handle the remaining collections).\\n \\n (2) We carry around a few protected methods that work\\n on basedirs and arrays of names. To optimize stuff, all\\n resources with the same basedir get collected in\\n separate lists and then each list is handled in one go.\\n */\\n \\n HashMap filesByBasedir = new HashMap();\\n HashMap dirsByBasedir = new HashMap();\\n HashSet baseDirs = new HashSet();\\n ArrayList nonFileResources = new ArrayList();\\n- for (int i = 0; i < rcs.size(); i++) {\\n+ final int size = rcs.size();\\n+ for (int i = 0; i < size; i++) {\\n ResourceCollection rc = (ResourceCollection) rcs.elementAt(i);\\n \\n // Step (1) - beware of the ZipFileSet\\n if (rc instanceof FileSet && rc.isFilesystemOnly()) {\\n FileSet fs = (FileSet) rc;\\n DirectoryScanner ds = null;\\n try {\\n ds = fs.getDirectoryScanner(getProject());\\n } catch (BuildException e) {\\n if (failonerror\\n || !getMessage(e).endsWith(DirectoryScanner\\n .DOES_NOT_EXIST_POSTFIX)) {\\n throw e;\\n } else {\\n log(\\\"Warning: \\\" + getMessage(e), Project.MSG_ERR);\\n continue;\\n }\\n }\\n File fromDir = fs.getDir(getProject());\\n \\n String[] srcFiles = ds.getIncludedFiles();\\n String[] srcDirs = ds.getIncludedDirectories();\\n if (!flatten && mapperElement == null\\n && ds.isEverythingIncluded() && !fs.hasPatterns()) {\\n completeDirMap.put(fromDir, destDir);\\n }\\n add(fromDir, srcFiles, filesByBasedir);\\n add(fromDir, srcDirs, dirsByBasedir);\\n baseDirs.add(fromDir);\\n } else { // not a fileset or contains non-file resources\\n \\n if (!rc.isFilesystemOnly() && !supportsNonFileResources()) {\\n throw new BuildException(\\n \\\"Only FileSystem resources are supported.\\\");\\n }\\n \\n Iterator resources = rc.iterator();\\n while (resources.hasNext()) {\\n Resource r = (Resource) resources.next();\\n if (!r.isExists()) {\\n String message = \\\"Warning: Could not find resource \\\"\\n + r.toLongString() + \\\" to copy.\\\";\\n if (!failonerror) {\\n log(message, Project.MSG_ERR);\\n } else {\\n throw new BuildException(message);\\n }\\n continue;\\n }\\n \\n File baseDir = NULL_FILE_PLACEHOLDER;\\n String name = r.getName();\\n FileProvider fp = (FileProvider) r.as(FileProvider.class);\\n if (fp != null) {\\n FileResource fr = ResourceUtils.asFileResource(fp);\\n baseDir = getKeyFile(fr.getBaseDir());\\n if (fr.getBaseDir() == null) {\\n name = fr.getFile().getAbsolutePath();\\n }\\n }\\n \\n // copying of dirs is trivial and can be done\\n // for non-file resources as well as for real\\n // files.\\n if (r.isDirectory() || fp != null) {\\n add(baseDir, name,\\n r.isDirectory() ? dirsByBasedir\\n : filesByBasedir);\\n baseDirs.add(baseDir);\\n } else { // a not-directory file resource\\n // needs special treatment\\n nonFileResources.add(r);\\n }\\n }\\n }\\n }\\n \\n iterateOverBaseDirs(baseDirs, dirsByBasedir, filesByBasedir);\\n \\n // do all the copy operations now...\\n try {\\n doFileOperations();\\n } catch (BuildException e) {\\n if (!failonerror) {\\n log(\\\"Warning: \\\" + getMessage(e), Project.MSG_ERR);\\n } else {\\n throw e;\\n }\\n }\\n \\n if (nonFileResources.size() > 0 || singleResource != null) {\\n Resource[] nonFiles =\\n (Resource[]) nonFileResources.toArray(new Resource[nonFileResources.size()]);\\n // restrict to out-of-date resources\\n Map map = scan(nonFiles, destDir);\\n if (singleResource != null) {\\n map.put(singleResource,\\n new String[] { destFile.getAbsolutePath() });\\n }\\n try {\\n doResourceOperations(map);\\n } catch (BuildException e) {\\n if (!failonerror) {\\n log(\\\"Warning: \\\" + getMessage(e), Project.MSG_ERR);\\n } else {\\n throw e;\\n }\\n }\\n }\\n } finally {\\n // clean up again, so this instance can be used a second\\n // time\\n singleResource = null;\\n file = savedFile;\\n destFile = savedDestFile;\\n destDir = savedDestDir;\\n if (savedRc != null) {\\n rcs.insertElementAt(savedRc, 0);\\n }\\n fileCopyMap.clear();\\n dirCopyMap.clear();\\n completeDirMap.clear();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"72003661540629609f2aa4ea912e62fb\",\n \"score\": \"0.5191617\",\n \"text\": \"@TaskAction\\n public void runSableCC() {\\n final File outputDir = getOutputDir();\\n // println \\\"Writing to $outputDir\\\"\\n DefaultGroovyMethods.deleteDir(outputDir);\\n outputDir.mkdirs();\\n\\n ConfigurableFileTree inputFiles = getProject().fileTree(getInputDir());\\n inputFiles.include(\\\"**/*.sablecc\\\");\\n inputFiles.visit(new EmptyFileVisitor() {\\n @Override\\n public void visitFile(FileVisitDetails fvd) {\\n try {\\n org.sablecc.sablecc.SableCC.processGrammar(fvd.getFile().getAbsolutePath(), outputDir.getAbsolutePath());\\n } catch (Exception e) {\\n throw new GradleException(\\\"Failed to process \\\" + fvd, e);\\n }\\n }\\n });\\n\\n ConfigurableFileTree outputFiles = getProject().fileTree(outputDir);\\n outputFiles.visit(new EmptyFileVisitor() {\\n @Override\\n public void visitFile(FileVisitDetails fvd) {\\n try {\\n SableCCPostProcessor.processFile(fvd.getFile());\\n } catch (IOException e) {\\n throw new GradleException(\\\"Failed to post-process \\\" + fvd, e);\\n }\\n }\\n });\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2c9525aa4ca0cda7947900b5c39ea257\",\n \"score\": \"0.51831204\",\n \"text\": \"static void buildReport( ) throws IOException, SemanticException\\n\\t{\\n\\n\\t\\tDesignConfig config = new DesignConfig( );\\n\\t\\tconfig.setBIRTHome(\\\"C:/birt/birt-runtime-2_6_2/birt-runtime-2_6_2/ReportEngine\\\");\\n\\t\\tIDesignEngine engine = null;\\n\\t\\ttry{\\n\\n\\n\\t\\t\\tPlatform.startup( config );\\n\\t\\t\\tIDesignEngineFactory factory = (IDesignEngineFactory) Platform\\n\\t\\t\\t.createFactoryObject( IDesignEngineFactory.EXTENSION_DESIGN_ENGINE_FACTORY );\\n\\t\\t\\tengine = factory.createDesignEngine( config );\\n\\n\\t\\t}catch( Exception ex){\\n\\t\\t\\tex.printStackTrace();\\n\\t\\t}\\n\\n\\n\\t\\tSessionHandle session = engine.newSessionHandle( ULocale.ENGLISH ) ;\\n\\n\\t\\tReportDesignHandle design = null;\\n\\t\\ttry{\\n\\t\\t\\tdesign = session.openDesign(\\\"Reports/TopNPercent.rptdesign\\\" );\\n\\n\\n\\t\\t\\tList cssStyleSheets = design.getAllStyles();//getAllCssStyleSheets();\\n\\n\\t\\t\\tint size = cssStyleSheets.size();\\n\\t\\t\\tIterator myincludecssiter = design.includeCssesIterator();\\n\\t\\t\\twhile ( myincludecssiter.hasNext( ) ){\\n\\t\\t\\t\\tIncludedCssStyleSheetHandle css = (IncludedCssStyleSheetHandle)myincludecssiter.next();\\n\\t\\t\\t\\t//System.out.println( css.getFileName());\\n\\n\\t\\t\\t}\\n\\n\\t\\t\\tSlotHandle sh = design.getBody();\\n\\t\\t\\tSystem.out.println( \\\"Contents Count: \\\" + sh.getCount());\\n\\t\\t\\tIterator it = sh.iterator();\\n\\t\\t\\twhile( it.hasNext()){\\n\\t\\t\\t\\tDesignElementHandle de =(DesignElementHandle)it.next();\\n\\t\\t\\t\\t//System.out.println(de.getName());\\n\\n\\t\\t\\t}\\n\\n\\t\\t\\tsh = design.getDataSources();\\n\\t\\t\\tit = sh.iterator();\\n\\t\\t\\twhile( it.hasNext()){\\n\\t\\t\\t\\tDesignElementHandle de =(DesignElementHandle)it.next();\\n\\t\\t\\t\\t//System.out.println(de.getName());\\n\\n\\t\\t\\t}\\n\\t\\t\\tsh = design.getDataSets();\\n\\t\\t\\tit = sh.iterator();\\n\\t\\t\\twhile( it.hasNext()){\\n\\t\\t\\t\\tDesignElementHandle de =(DesignElementHandle)it.next();\\n\\t\\t\\t\\t//System.out.println(de.getName());\\n\\n\\t\\t\\t}\\n\\n\\t\\t\\tsh = design.getMasterPages();\\n\\t\\t\\tit = sh.iterator();\\n\\t\\t\\twhile( it.hasNext()){\\n\\t\\t\\t\\tDesignElementHandle de =(DesignElementHandle)it.next();\\n\\t\\t\\t\\t//System.out.println(de.getName());\\n\\n\\t\\t\\t}\\t\\t\\t\\n\\n\\t\\t\\tsh = design.getParameters();\\n\\t\\t\\tit = sh.iterator();\\n\\t\\t\\twhile( it.hasNext()){\\n\\t\\t\\t\\tDesignElementHandle de =(DesignElementHandle)it.next();\\n\\t\\t\\t\\t//System.out.println(de.getName());\\n\\n\\t\\t\\t}\\t\\n\\n\\n\\t\\t\\tSystem.out.println(\\\"Slot Count for a report design \\\" + design.getDefn().getSlotCount());\\n\\t\\t\\tfor( int i=0; i < design.getDefn().getSlotCount(); i++){\\n\\t\\t\\t\\t//System.out.println(\\\" Slot \\\" + i + \\\" -- \\\" + design.getDefn().getSlot(i).getName());\\n\\t\\t\\t}\\n\\n\\n\\n\\n\\t\\t\\tIterator pit = design.getPropertyIterator();\\n\\t\\t\\twhile( pit.hasNext()){\\n\\t\\t\\t\\tPropertyHandle ph = (PropertyHandle) pit.next();\\n\\n\\t\\t\\t\\tIStructureDefn structDefn = ph.getPropertyDefn().getStructDefn( );\\n\\t\\t\\t\\tif ( structDefn != null )\\n\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t//System.out.println(\\\"ListProperty \\\" + ph.getPropertyDefn().getDisplayName());\\n\\n\\n\\t\\t\\t\\t\\tIterator structIterator = ph.iterator( );\\n\\t\\t\\t\\t\\twhile ( structIterator.hasNext( ) )\\n\\n\\t\\t\\t\\t\\t{\\n\\n\\t\\t\\t\\t\\t\\tStructureHandle structHandle = (StructureHandle) structIterator.next( );\\n\\t\\t\\t\\t\\t\\tIterator memberIterator = structHandle.iterator( );\\n\\t\\t\\t\\t\\t\\twhile ( memberIterator.hasNext( ) )\\n\\n\\t\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\t\\tMemberHandle memHandle = (MemberHandle) memberIterator.next( );\\n\\t\\t\\t\\t\\t\\t\\t//System.out.println( \\\" Structure Item \\\" + memHandle.getDefn( ).getDisplayName( ) + \\\"---\\\" + memHandle.getValue() );\\n\\t\\t\\t\\t\\t\\t}\\n\\n\\t\\t\\t\\t\\t}\\n\\n\\t\\t\\t\\t}else{\\n\\n\\t\\t\\t\\t\\tSystem.out.println(\\\"StandardProperty \\\" + ph.getPropertyDefn().getDisplayName() + \\\"--\\\" +ph.getValue());\\n\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\n\\n\\t\\t\\t// Instantiate a slot handle and iterator for the body slot.\\n\\t\\t\\tSlotHandle shBody = design.getBody();\\n\\t\\t\\tIterator slotIterator = shBody.iterator();\\n\\t\\t\\t// To retrieve top-level report items, iterate over the body.\\n\\t\\t\\twhile (slotIterator.hasNext()) {\\n\\t\\t\\t\\tObject shContents = slotIterator.next();\\n\\t\\t\\t\\t// To get the contents of the top-level report items,\\n\\t\\t\\t\\t// instantiate slot handles.\\n\\t\\t\\t\\tif (shContents instanceof GridHandle) \\t{\\n\\t\\t\\t\\t\\tGridHandle grid = ( GridHandle ) shContents;\\n\\t\\t\\t\\t\\tparseGrid( grid );\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif (shContents instanceof ListingHandle) \\t{\\n\\t\\t\\t\\t\\tListingHandle list = ( ListingHandle ) shContents;\\n\\t\\t\\t\\t\\tparseList( list );\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif (shContents instanceof ImageHandle) {\\n\\t\\t\\t\\t\\tString imageSource = ( ( ImageHandle ) \\n\\t\\t\\t\\t\\t\\t\\tshContents ).getSource( ); \\n\\t\\t\\t\\t\\tImageHandle ih =(ImageHandle)shContents;\\n\\t\\t\\t\\t\\tSystem.out.println(ih.getImageName());\\n\\t\\t\\t\\t\\t// Check that the image has a URI.\\n\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif( shContents instanceof ExtendedItemHandle){\\n\\t\\t\\t\\t\\tString type = ((ExtendedItemHandle)shContents).getExtensionName();\\n\\t\\t\\t\\t\\tif( type.compareToIgnoreCase(\\\"Crosstab\\\")==0){\\n\\t\\t\\t\\t\\t\\tSystem.out.println(\\\"Found a crosstab\\\");\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tif( type.compareToIgnoreCase(\\\"Chart\\\")==0){\\n\\t\\t\\t\\t\\t\\tChart cm = (Chart) ((ExtendedItemHandle)shContents).getReportItem( ).getProperty( \\\"chart.instance\\\" ); \\n\\t\\t\\t\\t\\t\\tSystem.out.println(\\\"Found chart of type \\\" +cm.getType());\\n\\t\\t\\t\\t\\t}\\n\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\n\\t\\t\\tdesign.close( );\\n\\t\\t\\tPlatform.shutdown();\\n\\n\\t\\t}catch(Exception e){\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\t\\t\\n\\t\\tSystem.out.println(\\\"Finished\\\");\\n\\n\\t\\t// We're done!\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6bc59971bf17b2e6c6ff329afee1b584\",\n \"score\": \"0.51809776\",\n \"text\": \"private void scan() {\\n\\t\\t\\tUtils.print(\\\"File scanning.\\\");\\n\\t\\t\\tUtils.print(\\\"Source directory:\\\" + getSourcePath());\\n\\t\\t sourceFiles = FileManager.scanProject(getSourcePath());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1bc93b5bb7bdc7a8de343120da67030a\",\n \"score\": \"0.51769143\",\n \"text\": \"public static void createNewReport() {\\n String pathProject = Utils.getCurrentProjectPath();\\n if (extent == null) {\\n\\n fileName = pathProject+\\\"\\\\\\\\output\\\\\\\\Reporter-test \\\" + Utils.getCurrentTimeStamp() + \\\".html\\\";\\n ExtentHtmlReporter htmlReporter = new ExtentHtmlReporter(fileName);\\n htmlReporter.config().setReportName(fileName);\\n\\n extent = new ExtentReports();\\n extent.attachReporter(htmlReporter);\\n }\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0f07fb7b93bd377a8cebd36d99a840b0\",\n \"score\": \"0.5176703\",\n \"text\": \"@AfterClass\\n\\tpublic static void reportGeneration() {\\n\\t\\tJvmReport.generateJvmReport(\\\"D:\\\\\\\\NewMaven\\\\\\\\Cucumber11.30am\\\\\\\\Reports\\\\\\\\jsonreport.json\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a9cb9b1bc81c62f5577e94760730c8a0\",\n \"score\": \"0.5169319\",\n \"text\": \"private void copyFiles1(){\\t\\n\\t\\tcopyFileToSimStudentFolder(INIT_FILE);\\n\\t\\tcopyFileToSimStudentFolder(WME_TYPE_FILE);\\n\\t\\tcopyFileToSimStudentFolder(\\\"UserDefSymbols.class\\\");\\n\\t\\tcopyFileToSimStudentFolder(WME_STRUCTURE_FILE);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed78d11486a75eaa894429f9fc480e70\",\n \"score\": \"0.5168488\",\n \"text\": \"@Override\\n public String compileCode(String code) {\\n if (this._boardName == null ) {\\n this.setBoardName(\\\"calliope\\\");\\n }\\n \\n _buildPath = userPath + \\\"/build/\\\" + this._boardName + \\\"/\\\";\\n \\n if ( this._boardName.equals(\\\"microbit\\\") ) {\\n _hexPath = _buildPath + \\\"build/bbc-microbit-classic-gcc/source/abbozza-combined.hex\\\";\\n } else {\\n _hexPath = _buildPath + \\\"build/calliope-mini-classic-gcc/source/abbozza-combined.hex\\\"; \\n }\\n AbbozzaLogger.out(\\\"Build path set to \\\" + _buildPath, AbbozzaLogger.INFO); \\n AbbozzaLogger.out(\\\"Code generated\\\", AbbozzaLogger.INFO);\\n \\n // Set code in frame\\n this.frame.setCode(code);\\n\\n String errMsg = \\\"\\\";\\n String stdMsg = \\\"\\\";\\n \\n _exitValue = 1;\\n \\n // Copy code to /source/abbozza.cpp\\n AbbozzaLogger.out(\\\"Writing code to \\\" + _buildPath + \\\"source/abbozza.cpp\\\");\\n if (!code.equals(\\\"\\\")) {\\n try {\\n PrintWriter out = new PrintWriter(_buildPath + \\\"source/abbozza.cpp\\\");\\n out.write(code);\\n out.flush();\\n out.close();\\n\\n _exitValue = compile(_buildPath); \\n AbbozzaLogger.info(\\\"Exit value: \\\" + _exitValue);\\n \\n } catch (FileNotFoundException ex) {\\n AbbozzaLogger.err(ex.getLocalizedMessage());\\n }\\n\\n if (_exitValue == 0) {\\n stdMsg = \\\"\\\";\\n AbbozzaLogger.force(\\\"[compile] : \\\" + AbbozzaLocale.entry(\\\"msg.done_compiling\\\"));\\n } else {\\n AbbozzaLogger.force(\\\"[compile] : \\\" + AbbozzaLocale.entry(\\\"msg.error_compiling\\\"));\\n stdMsg = AbbozzaLocale.entry(\\\"msg.error_compiling\\\");\\n }\\n }\\n \\n return stdMsg;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c813e66f37dd6e0791056a98903f75cc\",\n \"score\": \"0.51612526\",\n \"text\": \"public synchronized void deploy() {\\n platformDirectory = getCarbonComponentRepo();\\n\\n File plugins = new File(platformDirectory, \\\"plugins\\\");\\n File patchesDir = new File(platformDirectory, \\\"patches\\\");\\n//\\n File dropinsFolder = new File(platformDirectory, \\\"dropins\\\");\\n //copying resources inside patches folder to the work area.\\n //TODO Copying of patches should only be performed by the master node, in multiple instance case.\\n String applyPatches = System.getProperty(APPLY_PATCHES);\\n if (applyPatches != null) {\\n try {\\n applyPatches(patchesDir, plugins);\\n } catch (IOException e) {\\n context.log(\\\"Error occurred while applying patches\\\", e);\\n }\\n }\\n\\n // copy create OSGi framework extension bundles\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"09335697d8e8c2dbd3f37952079b259c\",\n \"score\": \"0.5160809\",\n \"text\": \"protected void capture() {\\n\\t\\tConfig conf = Config.get();\\n\\t\\tif(conf.captureJsonEncodingErrors()) {\\n\\t\\t\\tString msg = generateMsg();\\n\\t\\t\\ttry {\\n\\t\\t\\t\\tPath p = Paths.get(conf.captureRoot().getAbsolutePath(), \\\"encode\\\");\\n\\t\\t\\t\\tif(!targetCleaned && Files.exists(p))\\n\\t\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\t\\tFileUtils.deleteDirectory(p.toFile());\\n\\t\\t\\t\\t\\t} catch(IOException e) {\\n\\t\\t\\t\\t\\t\\tLOG.warn(String.format(\\\"Unable to clean target dir! [%s]\\\", p));\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\ttargetCleaned = true;\\n\\t\\t\\t\\tFiles.createDirectories(p);\\n\\t\\t\\t\\tPath f = Files.createTempFile(p, prefix(), \\\".err\\\");\\n\\t\\t\\t\\tFiles.write(f, msg.getBytes(\\\"UTF-8\\\"));\\n\\t\\t\\t} catch (IOException e) {\\n\\t\\t\\t\\tLOG.error(\\\"Unable to write capture file, logging it instead!\\\", e);\\n\\t\\t\\t\\tLOG.error(String.format(\\\"Invalid JSON received!%n%s\\\", msg), this);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"16979c604bde0b32b00f99ac91e494d5\",\n \"score\": \"0.5160351\",\n \"text\": \"public void assembleFile() {\\n\\t\\tFile source = null;\\n\\t\\tFile outputExe = null;\\n\\t\\tJFileChooser chooser = new JFileChooser(sourceDir);\\n\\t\\tFileNameExtensionFilter filter = new FileNameExtensionFilter(\\n\\t\\t\\t\\t\\\"Pippin Source Files\\\", \\\"pips\\\");\\n\\t\\tchooser.setFileFilter(filter);\\n\\t\\t// CODE TO LOAD DESIRED FILE\\n\\t\\tint openOK = chooser.showOpenDialog(null);\\n\\t\\tif(openOK == JFileChooser.APPROVE_OPTION) {\\n\\t\\t\\tsource = chooser.getSelectedFile();\\n\\t\\t}\\n\\t\\tif(source != null && source.exists()) {\\n\\t\\t\\t// CODE TO REMEMBER WHICH DIRECTORY HAS THE pipe FILES\\n\\t\\t\\t// WHICH WE WILL ALLOW TO BE DIFFERENT\\n\\t\\t\\tsourceDir = source.getAbsolutePath();\\n\\t\\t\\tsourceDir = sourceDir.replace('\\\\\\\\','/');\\n\\t\\t\\tint lastDot = sourceDir.lastIndexOf('.');\\n\\t\\t\\tString outName = sourceDir.substring(0, lastDot + 1) + \\\"pipe\\\"; \\n\\t\\t\\tint lastSlash = sourceDir.lastIndexOf('/');\\n\\t\\t\\tsourceDir = sourceDir.substring(0, lastSlash + 1);\\n\\t\\t\\toutName = outName.substring(lastSlash+1);\\n\\t\\t\\tfilter = new FileNameExtensionFilter(\\n\\t\\t\\t\\t\\t\\\"Pippin Executable Files\\\", \\\"pipe\\\");\\n\\t\\t\\tif(executableDir.equals(eclipseDir)) {\\n\\t\\t\\t\\tchooser = new JFileChooser(sourceDir);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tSystem.out.println(executableDir);\\n\\t\\t\\t\\tSystem.out.println(outName);\\n\\t\\t\\t\\tchooser = new JFileChooser(executableDir);\\n\\t\\t\\t}\\n\\t\\t\\tchooser.setFileFilter(filter);\\n\\t\\t\\tchooser.setSelectedFile(new File(outName));\\n\\t\\t\\tint saveOK = chooser.showSaveDialog(null);\\n\\t\\t\\tif(saveOK == JFileChooser.APPROVE_OPTION) {\\n\\t\\t\\t\\toutputExe = chooser.getSelectedFile();\\n\\t\\t\\t}\\n\\t\\t\\tif(outputExe != null) {\\n\\t\\t\\t\\texecutableDir = outputExe.getAbsolutePath();\\n\\t\\t\\t\\texecutableDir = executableDir.replace('\\\\\\\\','/');\\n\\t\\t\\t\\tlastSlash = executableDir.lastIndexOf('/');\\n\\t\\t\\t\\texecutableDir = executableDir.substring(0, lastSlash + 1);\\n\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\tproperties.setProperty(\\\"SourceDirectory\\\", sourceDir);\\n\\t\\t\\t\\t\\tproperties.setProperty(\\\"ExecutableDirectory\\\", executableDir);\\n\\t\\t\\t\\t\\tproperties.store(new FileOutputStream(\\\"propertyfile.txt\\\"),\\n\\t\\t\\t\\t\\t\\t\\t\\\"File locations\\\");\\n\\t\\t\\t\\t} catch (Exception e) {\\n\\t\\t\\t\\t\\tSystem.out.println(\\\"Error writing properties file\\\");\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif (Assembler.assembleFile(source, outputExe)) {\\n\\t\\t\\t\\t\\tJOptionPane.showMessageDialog(\\n\\t\\t\\t\\t\\t\\t\\tframe, \\n\\t\\t\\t\\t\\t\\t\\t\\\"The source was assembled to an executable\\\",\\n\\t\\t\\t\\t\\t\\t\\t\\\"Success\\\",\\n\\t\\t\\t\\t\\t\\t\\tJOptionPane.INFORMATION_MESSAGE);\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t// a warning JOption pane indicating failure and that the output file was not created.\\n\\t\\t\\t\\t\\tJOptionPane.showMessageDialog(\\n\\t\\t\\t\\t\\t\\t\\tframe, \\n\\t\\t\\t\\t\\t\\t\\t\\\"output file was not created\\\",\\n\\t\\t\\t\\t\\t\\t\\t\\\"Warning\\\",\\n\\t\\t\\t\\t\\t\\t\\tJOptionPane.INFORMATION_MESSAGE);\\n\\t\\t\\t\\t} \\n\\t\\t\\t} else {// outputExe still null\\n\\t\\t\\t\\tJOptionPane.showMessageDialog(\\n\\t\\t\\t\\t\\t\\tframe,\\n\\t\\t\\t\\t\\t\\t\\\"The output file has problems.\\\\n\\\" +\\n\\t\\t\\t\\t\\t\\t\\t\\t\\\"Cannot assemble the program\\\",\\n\\t\\t\\t\\t\\t\\t\\t\\t\\\"Warning\\\",\\n\\t\\t\\t\\t\\t\\t\\t\\tJOptionPane.OK_OPTION);\\n\\t\\t\\t}\\n\\t\\t} else {// outputExe does not exist\\n\\t\\t\\tJOptionPane.showMessageDialog(\\n\\t\\t\\t\\t\\tframe,\\n\\t\\t\\t\\t\\t\\\"The source file has problems.\\\\n\\\" +\\n\\t\\t\\t\\t\\t\\t\\t\\\"Cannot assemble the program\\\",\\n\\t\\t\\t\\t\\t\\t\\t\\\"Warning\\\",\\n\\t\\t\\t\\t\\t\\t\\tJOptionPane.OK_OPTION); \\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7449aa14d2b37f1c8ff252c95c49fc39\",\n \"score\": \"0.51569796\",\n \"text\": \"protected void copyNonCodeFiles() throws IOException {\\n copyNonCodeFiles(updaterContext.getOriginalHeaderBaseDir(), updaterContext.getNewHeaderBaseDir(), updaterContext.getOriginalHeaderBaseDir());\\n if (!updaterContext.isUpdateIncludeDirOnly()) {\\n copyNonCodeFiles(updaterContext.getOriginalCppBaseDir(), updaterContext.getNewCppBaseDir(), updaterContext.getOriginalCppBaseDir());\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f5573833b02fb0b706215555e2ef6db\",\n \"score\": \"0.5149111\",\n \"text\": \"private void setupFilePaths() {\\n redeemMcMMO = getFile();\\n mainDirectory = getDataFolder().getPath() + File.separator;\\n flatFileDirectory = mainDirectory + \\\"flatfile\\\" + File.separator;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0fbe6c3a4f253f91d7838d861e069cbc\",\n \"score\": \"0.514747\",\n \"text\": \"private void generateFiles() {\\n for (ISpecProcessor specProcessor : specProcessors) {\\n for (Spec spec : specProcessor.getSpecs().values()) {\\n try {\\n spec.buildJavaFile().writeTo(processingEnv.getFiler());\\n } catch (IOException e) {\\n processingEnv.getMessager().printMessage(Diagnostic.Kind.ERROR, e.toString());\\n }\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5df5e1c888368fa3be39682a6e02a6ef\",\n \"score\": \"0.51288354\",\n \"text\": \"protected String getCompileFileName()\\r\\n/* 61: */ {\\r\\n/* 62: 89 */ return \\\"reporteChequePosfechadosDetallado\\\";\\r\\n/* 63: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"061a231cccce97697af05d6a110cf84e\",\n \"score\": \"0.5100039\",\n \"text\": \"private void report() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ec0df354cdc84742d48f3580bae4529\",\n \"score\": \"0.5099925\",\n \"text\": \"final void prepareOutputFiles() throws IOException {\\n // Initialize output writers\\n File output = Exporter.getOutputFolder(\\\"bfd\\\", null);\\n output.mkdirs();\\n Path outputDirectory = output.toPath();\\n\\n rifWriters = new RifWriters(outputDirectory);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bce2eaf58ac30551854fff1f6785925e\",\n \"score\": \"0.5081998\",\n \"text\": \"@Override public boolean generateCode()\\n{\\n boolean rsts = false;\\n\\n map_context = new VelocityContext();\\n\\n try {\\n clearOldCode();\\n CompilationUnit cu = (CompilationUnit) cose_result.getStructure();\\n setup(cu);\\n producePackageFiles(cu);\\n produceTestFiles();\\n producePomFile();\\n // generate resource files\\n // generate test files\\n\\n File dir = (File) map_context.get(\\\"DIRECTORY\\\");\\n IvyExec ex = new IvyExec(\\\"mvn compile\\\",dir,IvyExec.ERROR_OUTPUT);\\n int sts = ex.waitFor();\\n if (sts != 0) {\\n\\t IvyLog.logI(\\\"Maven compile failed\\\");\\n\\t rsts = false;\\n }\\n else {\\n\\t IvyLog.logI(\\\"Maven compile succeeded\\\");\\n\\t rsts = true;\\n }\\n // run tests\\n }\\n catch (IOException e) {\\n return false;\\n }\\n\\n return rsts;\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b8fb9554ebc4c7a2decf766b4d448cd5\",\n \"score\": \"0.5075594\",\n \"text\": \"public void writeFileContents() {\\n\\t\\t//will fill in later in the project\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"371ac72570a69813dfd92988bde04637\",\n \"score\": \"0.5043141\",\n \"text\": \"@NonNull @Override public WorkerResult doWork() {\\n File outputDirectory = new File(getApplicationContext().getFilesDir(), ProjectConstants.PROJECTS_DIR);\\n\\n return null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"632364f52b2fafaf68a9ea74a2416e4a\",\n \"score\": \"0.50427693\",\n \"text\": \"public void dumpToProject() {\\n takeHeapDump(false);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"50679ba0c019099ee9c8a7d985696eb2\",\n \"score\": \"0.5039359\",\n \"text\": \"private void Compile()\\n\\t{\\n\\t\\tBufferedWriter out = null;\\n\\t\\ttry\\n\\t\\t{\\n\\t\\t\\tFileWriter fstream = new FileWriter(\\\"ScheduleLog.txt\\\", true);\\n\\t\\t\\tout = new BufferedWriter(fstream);\\n\\t\\t\\tString appointmentTime = day + \\\" \\\" + time; \\n\\t\\t\\t// Each line in the log contains all necessary information for each scheduled visit in the following format:\\n\\t\\t\\t// [STUDENT_ID] : [TUTOR_ID] : [COURSE_HELPED] : [DATE_AND_TIME_OF_APPOINTMENT] : [LENGTH_OF_APPOINTMENT]\\n\\t\\t out.write(s.getID() + \\\" : \\\" + t.getID() + \\\" : \\\" + c + \\\": \\\" + appointmentTime + \\\" : \\\" + l + \\\"\\\\n\\\");\\n\\t\\t}\\n\\t\\tcatch (IOException e)\\n\\t\\t{\\n\\t\\t System.err.println(\\\"Error: \\\" + e.getMessage());\\n\\t\\t}\\n\\t\\tfinally // close output stream\\n\\t\\t{\\n\\t\\t if(out != null) {\\n\\t\\t try {\\n\\t\\t\\t\\t\\tout.close();\\n\\t\\t\\t\\t} catch (IOException e) \\n\\t\\t {\\n\\t\\t\\t\\t\\tSystem.err.println(\\\"Error: \\\" + e.getMessage());\\n\\t\\t\\t\\t}\\n\\t\\t }\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1102cb668ffc72294b5f7ed38bf7efd5\",\n \"score\": \"0.50334287\",\n \"text\": \"public void compile() {\\n log.tag(\\\"compile\\\");\\n for (Folder folder : Folder.values()) {\\n log.println(Level.CONFIG, \\\"folder %s -> `%s`\\\", folder, path(folder));\\n }\\n Path modules = path(Folder.SOURCE);\\n log.check(Files.exists(modules), \\\"folder source `%s` does not exist\\\", modules);\\n log.check(Util.findDirectoryNames(modules).count() > 0, \\\"no directory found in `%s`\\\", modules);\\n Tool.JavacOptions options = tool.defaultJavacOptions.get();\\n Util.cleanTree(path(Folder.TARGET), true);\\n switch (Layout.of(modules)) {\\n case BASIC:\\n log.info(\\\"main\\\");\\n javac(modules, path(Folder.TARGET_MAIN_COMPILE), options);\\n Util.copyTree(modules, path(Folder.TARGET_MAIN_COMPILE)); // TODO exclude .java files?\\n break;\\n case FIRST:\\n Util.findDirectoryNames(modules)\\n .forEach(\\n module -> {\\n log.fine(\\\"module %s\\\", module);\\n Path source = modules.resolve(module);\\n // main\\n Util.copyTree(\\n source.resolve(path(Folder.MAIN_JAVA)),\\n path(Folder.TARGET_MAIN_SOURCE).resolve(module));\\n Util.copyTree(\\n source.resolve(path(Folder.MAIN_RESOURCES)),\\n path(Folder.TARGET_MAIN_COMPILE).resolve(module));\\n // test\\n Util.copyTree(\\n source.resolve(path(Folder.MAIN_JAVA)),\\n path(Folder.TARGET_TEST_SOURCE).resolve(module));\\n Util.copyTree(\\n source.resolve(path(Folder.TEST_JAVA)),\\n path(Folder.TARGET_TEST_SOURCE).resolve(module));\\n Util.moveModuleInfo(path(Folder.TARGET_TEST_SOURCE).resolve(module));\\n Util.copyTree(\\n source.resolve(path(Folder.TEST_RESOURCES)),\\n path(Folder.TARGET_TEST_COMPILE).resolve(module));\\n });\\n log.info(\\\"main\\\");\\n javac(path(Folder.TARGET_MAIN_SOURCE), path(Folder.TARGET_MAIN_COMPILE), options);\\n if (Files.exists(path(Folder.TARGET_TEST_SOURCE))) {\\n log.info(\\\"test\\\");\\n javac(path(Folder.TARGET_TEST_SOURCE), path(Folder.TARGET_TEST_COMPILE), options);\\n }\\n break;\\n case TRAIL:\\n log.info(\\\"main\\\");\\n javac(modules.resolve(path(Folder.MAIN_JAVA)), path(Folder.TARGET_MAIN_COMPILE), options);\\n Util.copyTree(\\n modules.resolve(path(Folder.MAIN_RESOURCES)), path(Folder.TARGET_MAIN_COMPILE));\\n if (Files.exists(modules.resolve(path(Folder.TEST_JAVA)))) {\\n log.info(\\\"test\\\");\\n Util.copyTree(modules.resolve(path(Folder.MAIN_JAVA)), path(Folder.TARGET_TEST_SOURCE));\\n Util.copyTree(modules.resolve(path(Folder.TEST_JAVA)), path(Folder.TARGET_TEST_SOURCE));\\n javac(path(Folder.TARGET_TEST_SOURCE), path(Folder.TARGET_TEST_COMPILE), options);\\n Util.copyTree(\\n modules.resolve(path(Folder.TEST_RESOURCES)), path(Folder.TARGET_TEST_COMPILE));\\n }\\n break;\\n default:\\n log.check(false, \\\"unsupported module source path layout of `%s`\\\", modules);\\n }\\n log.tag(\\\"compile\\\");\\n log.info(\\\"compiled\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"53f842a33a36b185bef57ce924c43a61\",\n \"score\": \"0.50260854\",\n \"text\": \"@Override\\r\\n public void run(){\\n String sourceFullPath = Main.getFirstArgument();\\r\\n String sourcePath = FileSystem.extractParentPathFrom(sourceFullPath);\\r\\n String sourceName = FileSystem.getFileName(sourceFullPath);\\r\\n\\r\\n //Caut directorul sursa\\r\\n Directory sourceDir = FileSystem.getDirectoryFrom(sourcePath);\\r\\n if(sourceDir == null){\\r\\n //Daca unul din directoarele din path sau chiar nodul de copiat nu exista se va afisa mesajul:\\r\\n String message = \\\"cp: cannot copy \\\" + sourceFullPath + \\\": No such file or directory\\\\n\\\";\\r\\n OutputFiles.writeError(message);\\r\\n\\r\\n return;\\r\\n }\\r\\n\\r\\n //Caut frunza de copiat\\r\\n Leaf originalLeaf = sourceDir.get(sourceName);\\r\\n if(sourceName.equals(\\\".\\\")){\\r\\n originalLeaf = FileSystem.getCurrentDir();\\r\\n }\\r\\n if(originalLeaf == null){\\r\\n String message = \\\"cp: cannot copy \\\" + sourceFullPath + \\\": No such file or directory\\\\n\\\";\\r\\n OutputFiles.writeError(message);\\r\\n return;\\r\\n }\\r\\n\\r\\n //Iau al doilea argument pentru destinatie\\r\\n String destPath = Main.getSecondArgument();\\r\\n\\r\\n //Caut directorul destinatiei\\r\\n Directory destDir = FileSystem.getDirectoryFrom(destPath);\\r\\n\\r\\n //Verific daca exista\\r\\n if(destDir == null){\\r\\n //Daca unul din directoarele din path-ul destinatiei nu exista se va afisa urmatorul mesaj:\\r\\n String message = \\\"cp: cannot copy into \\\" + destPath + \\\": No such directory\\\\n\\\";\\r\\n OutputFiles.writeError(message);\\r\\n\\r\\n return;\\r\\n }\\r\\n\\r\\n //Clonez frunza gasita in sursa.\\r\\n Leaf copyLeaf = originalLeaf.clone();\\r\\n\\r\\n //Setez noul parinte\\r\\n copyLeaf.setParent(destDir);\\r\\n if(copyLeaf instanceof Directory){\\r\\n //Resetez path-urile si parintii daca nodul este director\\r\\n ((Directory)copyLeaf).resetPathAndParents();\\r\\n }else{\\r\\n //Resetez doar path-ul deoarece este File\\r\\n copyLeaf.setPath(destDir.getFullPath());\\r\\n copyLeaf.resetFullPath();\\r\\n }\\r\\n\\r\\n if(destDir.add(copyLeaf) == -1){\\r\\n //Fisierul exista deja in directorul destinatie\\r\\n //Doar se va afisa mesajul urmator:\\r\\n String message = \\\"cp: cannot copy \\\" + sourceFullPath + \\\": Node exists at destination\\\\n\\\";\\r\\n OutputFiles.writeError(message);\\r\\n\\r\\n return;\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6fc9bf02d48baa9ede1b75bb6ac34438\",\n \"score\": \"0.50153255\",\n \"text\": \"public void testCompile() throws Exception {\\n final File testDir = ResourceExtractor.simpleExtractResources( getClass(), \\\"/org/phpmaven/test/projects/source-copy\\\");\\n \\n final Verifier verifier = new Verifier( testDir.getAbsolutePath() );\\n \\n // delete the pom from previous runs\\n verifier.deleteArtifact( \\\"org.phpmaven.test\\\", \\\"source-copy\\\", \\\"0.0.1\\\", \\\"pom\\\" );\\n verifier.deleteArtifact( \\\"org.phpmaven.test\\\", \\\"source-copy\\\", \\\"0.0.1\\\", \\\"phar\\\" );\\n verifier.setAutoclean(true);\\n\\n verifier.executeGoal(\\\"compile\\\");\\n verifier.verifyErrorFreeLog();\\n verifier.resetStreams();\\n \\n verifier.assertFilePresent(\\\"target/classes/MyClass.php\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d061301688b85665882e989d0b4dfbd4\",\n \"score\": \"0.5010583\",\n \"text\": \"protected void compileFile() throws Exception\\r\\n \\t{\\r\\n \\t\\tlog(\\\"Compiling...\\\");\\r\\n \\t\\tJava javatask = (Java) getProject().createTask(\\\"java\\\");\\r\\n \\t\\tjavatask.setClassname(getProgramClassName());\\r\\n \\t\\tjavatask.setFork(true);\\r\\n \\t\\tjavatask.setFailonerror(true);\\r\\n \\r\\n\\t\\tjavatask.createJvmarg().setValue(\\\"-Dfile.encoding=\\\"+this.inputCharset );\\r\\n\\t\\t\\r\\n \\t\\tfor (Argument arg : jvmArgs)\\r\\n \\t\\t{\\r\\n \\t\\t\\tif(arg != null)\\r\\n \\t\\t\\t{\\r\\n \\t\\t\\t\\tjavatask.createJvmarg().setValue(arg.getParts()[0]);\\r\\n \\t\\t\\t}\\r\\n \\t\\t}\\r\\n \\t\\taddCompilerParameters(javatask);\\r\\n \\r\\n \\t\\tfor (Argument arg : args)\\r\\n \\t\\t{\\r\\n \\t\\t\\tif(arg != null)\\r\\n \\t\\t\\t{\\r\\n \\t\\t\\t\\tjavatask.createArg().setValue(arg.getParts()[0]);\\r\\n \\t\\t\\t}\\r\\n \\t\\t}\\r\\n \\r\\n \\t\\tfor (Path path : this.classpath)\\r\\n \\t\\t{\\r\\n \\t\\t\\tjavatask.setClasspath(path);\\r\\n \\t\\t}\\r\\n \\t\\t\\r\\n \\t\\tint resultCode = javatask.executeJava();\\r\\n \\t\\tif (resultCode != 0)\\r\\n \\t\\t{\\r\\n \\t\\t\\tif (this.failOnError )\\r\\n \\t\\t\\t{\\r\\n \\t\\t\\t\\tthrow new CompilerException(\\\"Crux Compiler returned errors.\\\");\\r\\n \\t\\t\\t}\\r\\n \\t\\t\\telse\\r\\n \\t\\t\\t{\\r\\n \\t\\t\\t\\tlog(\\\"Crux Compiler returned errors.\\\", Project.MSG_ERR);\\t\\t\\t\\t\\r\\n \\t\\t\\t}\\r\\n \\t\\t}\\r\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e38e07005d82dca6446bc57e06d54946\",\n \"score\": \"0.500753\",\n \"text\": \"public void createReportData(String treeReport, IProject project) throws Exception {\\n\\t\\tFile generalMetrics = new File(project.getLocation().toString() + \\\"/reports/libs/lib/hierarchical-analysis.js\\\" );\\n\\t\\tif(!generalMetrics.exists())\\n\\t\\t\\tgeneralMetrics.createNewFile();\\n\\t\\tPrintWriter outMetrics = new PrintWriter( generalMetrics );\\n\\t\\toutMetrics.print(treeReport);\\n\\t\\toutMetrics.close();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d4de5229c2269dc2d476ab8c1573a295\",\n \"score\": \"0.4993765\",\n \"text\": \"@Override\\r\\n\\tpublic void report() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"82292fe06283ccf5d6947062318aae89\",\n \"score\": \"0.49910462\",\n \"text\": \"public void crawl() {\\n LOG.log(Level.INFO, \\\"Crawling ...\\\");\\n \\n\\t\\tthis.crawlPage(ROOT_URL);\\n\\t\\ttransformer.transform(locationSet, new File(OUTPUT_FILE_NAME));\\n\\t\\t\\n\\t\\tLOG.log(Level.INFO, \\\"Output generated at project root, File name is \\\"+OUTPUT_FILE_NAME);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"72d1e1b08691de48a6fff90ec88fcd7d\",\n \"score\": \"0.49692467\",\n \"text\": \"private void generateExternalReports(Engine engine, File outDirectory) throws ScanAgentException {\\n try {\\n engine.writeReports(applicationName, outDirectory, this.reportFormat.name(), null);\\n } catch (ReportException ex) {\\n LOGGER.debug(\\\"Unexpected exception occurred during analysis; please see the verbose error log for more details.\\\", ex);\\n throw new ScanAgentException(\\\"Error generating the report\\\", ex);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"36150b0e355eba1003fb847a4b337a49\",\n \"score\": \"0.4964586\",\n \"text\": \"@Override\\n public void perform(@Nonnull Run run,\\n @Nonnull FilePath ws,\\n @Nonnull Launcher launcher,\\n @Nonnull TaskListener listener)\\n throws InterruptedException, IOException {\\n listener.getLogger().println(String.format(\\\"[coderrect] Starting. workspace=%s, run=%s, buildDirectory=%s\\\",\\n ws.getBaseName(), run.getId(), this.buildDirectory));\\n\\n if (Result.ABORTED.equals(run.getResult())) {\\n listener.getLogger().println(\\\"Skipping publishing race reports because build aborted\\\");\\n return;\\n }\\n\\n CoderrectParser parser = new CoderrectParser(listener, this.buildDirectory);\\n // ws remotely executes 'parser' on the slave machine by sending jar file to\\n // the slave and ser/deser its return value to the master\\n CoderrectStats stats = ws.act(parser);\\n Run prevRun = run.getPreviousBuild();\\n CoderrectStats prevStats = null;\\n if (prevRun != null) {\\n CoderrectAction prevAction = prevRun.getAction(CoderrectAction.class);\\n if (prevAction != null)\\n prevStats = prevAction.getStats();\\n }\\n logRaceList(listener.getLogger(), \\\"current\\\", stats.getDataRaceList());\\n if (prevStats != null)\\n logRaceList(listener.getLogger(), \\\"previous\\\", prevStats.getDataRaceList());\\n CoderrectAction action = new CoderrectAction(run, stats, prevStats);\\n listener.getLogger().printf(\\\"[coderrect] newAdded=%d, disappeared=%d\\\\n\\\",\\n action.getNewAdded().size(), action.getDisappeared().size());\\n run.addAction(action);\\n\\n copyFilesToBuildDirectory(run, ws, listener, run.getRootDir(), launcher.getChannel());\\n\\n listener.getLogger().println(\\\"[coderrect] done\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1b96c9d0716bed577b610aceec56db6f\",\n \"score\": \"0.4945859\",\n \"text\": \"public void report() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"66e119d5514259b59958e16c08bf51db\",\n \"score\": \"0.4945307\",\n \"text\": \"public void createSummaryReport(String ProjectName, String SuiteType, String strExecutionPath, StringBuffer masterTable, int[] arrStatus) throws IOException{\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\tString resultPath = \\\"./Detailed Reports/\\\" + strExecutionPath + \\\"/\\\" + \\\"SummaryReport_\\\"\\r\\n\\t\\t\\t\\t\\t+ ProjectName + \\\"_\\\"\\r\\n\\t\\t\\t\\t\\t+ strExecutionPath + \\\".html\\\"; \\r\\n\\t\\t\\t\\r\\n\\t\\t\\tint year = Calendar.getInstance().get(Calendar.YEAR);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tFile file;\\r\\n\\t\\t\\tfile=new File(resultPath);\\r\\n\\t\\t\\tif(!file.exists()){\\r\\n\\t\\t\\t\\tfile.createNewFile();\\r\\n\\t\\t\\t\\tFileWriter fout = new FileWriter(resultPath, true);\\r\\n\\t fout.write(\\\" \\\"\\r\\n\\t +\\\" \\\" \\r\\n\\t +\\\" \\\" \\r\\n\\t +\\\" \\\"\\r\\n\\t +\\\" Summary Report\\\"\\r\\n\\t +\\\" \\\"\\r\\n\\t +\\\"\\t\\t \\\"\\r\\n\\t +\\\" \\\"\\r\\n\\t +\\\" \\\"\\r\\n\\t +\\\" \\\"\\r\\n\\t +\\\" \\\" \\r\\n\\t +\\\" \\\"\\r\\n\\t +\\\" \\\"\\r\\n\\t +\\\" \\\"\\r\\n\\t +\\\"
\\\"\\r\\n\\t +\\\"
\\\"\\r\\n\\t +\\\"
\\\"\\r\\n\\t +\\\" Logo\\\"\\r\\n\\t +\\\"
\\\"\\r\\n\\t +\\\"
\\\"\\r\\n\\t +\\\" Logo\\\"\\r\\n\\t +\\\" Logo\\\"\\r\\n\\t +\\\" Logo\\\"\\r\\n\\t +\\\" Logo\\\"\\r\\n\\t +\\\" Logo\\\"\\r\\n\\t +\\\"
\\\" \\r\\n\\t +\\\"

Automation Summary Report

\\\"\\r\\n\\t +\\\"

\\\"+ ProjectName +\\\"

\\\"\\r\\n\\t +\\\"
\\\"\\r\\n\\t +\\\" \\\"\\r\\n\\t +\\\"
\\\" \\r\\n\\t +\\\"
\\\" \\r\\n\\t +\\\" \\\"\\r\\n\\t +\\\" \\\"\\r\\n\\t +\\\" \\\"\\r\\n\\t +\\\" \\\"\\r\\n\\t +\\\" \\\"\\r\\n\\t +\\\" \\\"\\r\\n\\t +\\\" \\\"\\r\\n\\t +\\\" \\\"\\r\\n\\t +\\\" \\\"\\r\\n\\t +\\\"
Suite \\\"+SuiteType+\\\"
No. of Testcases Executed \\\"+arrStatus[2]+\\\"
Pass Count \\\" + arrStatus[0] +\\\"
Fail Count \\\" + arrStatus[1] +\\\"
Execution Date \\\"+strExecutionDate+\\\"
Overall Execution Time (HH:MM:SS) \\\"+iHours+\\\":\\\"+iMinutes+\\\":\\\"+iSeconds+\\\"
\\\"\\r\\n\\t +\\\"
\\\"\\r\\n\\t +\\\"
\\\"\\r\\n\\t +\\\"
\\\"\\r\\n\\t +\\\"
\\\"\\r\\n\\t +\\\" \\\"\\r\\n\\t +\\\" \\\"\\r\\n\\t +\\\" \\\"\\r\\n\\t +\\\" \\\"\\r\\n\\t +\\\" \\\"\\r\\n\\t +\\\" \\\"\\r\\n\\t +\\\" \\\"\\r\\n\\t +\\\" \\\"\\r\\n\\t +\\\" \\\"\\r\\n\\t +\\\" \\\"\\r\\n\\t +\\\" \\\"+ masterTable+\\\"
SNoTestcase NameStart TimeEnd TimeExecution Time (HH:MM:SS)Status
\\\" \\r\\n\\t +\\\"
\\\"\\r\\n\\t +\\\"
\\\"\\t \\r\\n\\t +\\\"

Copyright &copy; \\\"+ year + \\\" BSA Automation CoP. All rights reserved.

\\\"\\r\\n\\t\\t\\t +\\\"
\\\"\\r\\n\\t +\\\" \\\"\\r\\n\\t +\\\" \\\" \\r\\n ); \\r\\n\\t fout.close();\\r\\n\\t \\t\\t\\t\\t \\r\\n\\t\\t\\t System.out.println(\\\"Summary Report Path :\\\"+resultPath);\\r\\n\\t\\t\\t System.out.println();\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\telse{\\r\\n\\t\\t\\t\\tSystem.out.println(\\\"Summary Report File already exists\\\");\\r\\n\\t\\t\\t}\\t\\t\\t\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d6c157267d4c25db4a6efb8a0ed582fb\",\n \"score\": \"0.4943135\",\n \"text\": \"public void startReport(){\\n\\n\\t\\treport=new ExtentReports(\\\"/Users/rahul/Luckystars_appium/Ls_android_coin_test_report.html\\\", false);\\n\\t\\n\\t\\t//extent.addSystemInfo(\\\"Environment\\\",\\\"Environment Name\\\")\\n\\t\\treport.addSystemInfo(\\\"Project Name\\\", \\\"Luckystars\\\").addSystemInfo(\\\"Environment\\\", \\\"Android\\\").addSystemInfo(\\\"User Name\\\", \\\"QA Team\\\");\\n\\t\\t//loading the external xml file (i.e., extent-config.xml) which was placed under the base directory\\n\\t\\t//You could find the xml file below. Create xml file in your project and copy past the code mentioned below\\n\\n\\t\\treport.loadConfig(new File(\\\"/Users/rahul/Luckystars_appium/extent-config.xml\\\"));\\n\\t\\t//report.loadConfig(new File(\\\"/Users/apple/luckystars_android/Luckystars_android/extent-config.xml\\\"));\\n\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eac958202419aac0bd5c02c11314c451\",\n \"score\": \"0.49375328\",\n \"text\": \"protected abstract File getGeneratedSourceDirectory();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a8d1112fb6511079637ac389854a31bf\",\n \"score\": \"0.49366805\",\n \"text\": \"public void setSrc(File dirName) {\\n \\n sourceDirectory = dirName;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b23f041090a53668fe5836e7b90dd68c\",\n \"score\": \"0.49113727\",\n \"text\": \"private static void transfere() throws IOException {\\n File gen_shell = new File(\\\"/home/epsilon/Documents/Varsity/Project/src/java/ava/webgenerate.sh\\\");\\n File comp_shell = new File(\\\"/home/epsilon/Documents/Varsity/Project/src/java/ava/webcompile.sh\\\");\\n //File tool = new File(\\\"/home/epsilon/Documents/Varsity/Project/src/java/ava/antlr-4.7.1-complete.jar\\\");\\n //file destination\\n File dest = new File(\\\"/home/epsilon/Documents/Varsity/Project/build/web/uploadFiles/\\\");\\n //making scripts executable\\n\\n Runtime.getRuntime().exec(\\\"chmod +x /home/epsilon/Documents/Varsity/Project/src/java/ava/webgenerate.sh\\\");\\n Runtime.getRuntime().exec(\\\"chmod +x /home/epsilon/Documents/Varsity/Project/src/java/ava/webcompile.sh\\\");\\n\\n FileUtils.copyFileToDirectory(gen_shell, dest);\\n FileUtils.copyFileToDirectory(comp_shell, dest);\\n //FileUtils.copyFileToDirectory(tool, dest);\\n\\n System.out.println(\\\"File transfere completed\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"505e9279a85ca1a795a193c173c987c2\",\n \"score\": \"0.49092758\",\n \"text\": \"@Ignore\\n\\t@Test\\n\\tpublic void getMavenTestOutputFileFromReport(){\\n\\t\\tArrayList files = loader.getXMLReports();\\n\\t\\tFile report = files.get(0);\\n\\t\\tFile outputFile = loader.getOutputFile(report);\\n\\t\\tassertTrue(outputFile != null);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a469733e23661285d1aad68d6a34f281\",\n \"score\": \"0.48973912\",\n \"text\": \"private void checkoutAndBuild(Build build) {\\r\\n final String publishDirPathSep = build.getPublishDir() + File.separator;\\r\\n String buildLogPath = publishDirPathSep + BuildGenerator.BUILD_LOG;\\r\\n \\r\\n // create a ant antProject used to receive ant task logs\\r\\n Project antProject = Luntbuild.createAntProject();\\r\\n LuntbuildLogger buildLogger = new LuntbuildLogger();\\r\\n build.setLogger(buildLogger);\\r\\n buildLogger.setDirectMode(false);\\r\\n buildLogger.setEmacsMode(false);\\r\\n final Schedule theSchedule = build.getSchedule();\\r\\n buildLogger.setMessageOutputLevel(\\r\\n Luntbuild.convertToAntLogLevel(theSchedule.getProject().getLogLevel()));\\r\\n antProject.addBuildListener(buildLogger);\\r\\n PrintStream logStream = null;\\r\\n boolean isCheckoutSuccess = false;\\r\\n long currentTime = System.currentTimeMillis();\\r\\n try {\\r\\n buildLogger.setOutputPath(buildLogPath);\\r\\n buildLogger.setErrorPath(buildLogPath);\\r\\n logStream = new PrintStream(new FileOutputStream(buildLogPath));\\r\\n buildLogger.setOutputPrintStream(logStream);\\r\\n buildLogger.setErrorPrintStream(logStream);\\r\\n \\r\\n // checks if there are any failed dependencies unless build condition is always\\r\\n if (!theSchedule.isAlways()) {\\r\\n Schedule notSatisfiedDependentSchedule = theSchedule.getNotSatisfiedDependency();\\r\\n if (notSatisfiedDependentSchedule != null) {\\r\\n throw new BuildException(\\\"Dependency not satisfied : latest build in schedule \\\\\\\"\\\" +\\r\\n notSatisfiedDependentSchedule.getProject().getName() + \\\"/\\\" +\\r\\n notSatisfiedDependentSchedule.getName() +\\r\\n \\\"\\\\\\\" has failed or there are no builds in this schedule.\\\");\\r\\n }\\r\\n }\\r\\n \\r\\n String user = build.getUser();\\r\\n if (user != null) {\\r\\n logger.info(\\\"User \\\\\\\"\\\" + user + \\\"\\\\\\\" started the build: \\\" + theSchedule.getName());\\r\\n antProject.log(\\\"User \\\\\\\"\\\" + user + \\\"\\\\\\\" started the build\\\", Project.MSG_INFO);\\r\\n }\\r\\n \\r\\n if (build.isCleanBuild() || build.isRebuild()) {\\r\\n String message = \\\"Cleaning up project work directory \\\\\\\"\\\" +\\r\\n theSchedule.getWorkDirRaw() + \\\"\\\\\\\"...\\\";\\r\\n antProject.log(message, Project.MSG_INFO);\\r\\n logger.info(message);\\r\\n Iterator it = build.getVcsList().iterator();\\r\\n while (it.hasNext()) {\\r\\n Vcs vcs = (Vcs) it.next();\\r\\n vcs.cleanupCheckout(theSchedule, antProject);\\r\\n }\\r\\n }\\r\\n \\r\\n logger.info(\\\"Checking out code from the defined Version Control Systems...\\\");\\r\\n Iterator it = build.getVcsList().iterator();\\r\\n while (it.hasNext()) {\\r\\n Vcs vcs = (Vcs) it.next();\\r\\n antProject.log(\\\"Perform checkout operation for VCS setting: \\\", Project.MSG_INFO);\\r\\n antProject.log(vcs.toString(), Project.MSG_INFO);\\r\\n vcs.checkout(build, antProject);\\r\\n }\\r\\n isCheckoutSuccess = true;\\r\\n antProject.log(\\\"Duration of the checkout operation: \\\" +\\r\\n (System.currentTimeMillis() - currentTime) / 60000 + \\\" minutes\\\",\\r\\n org.apache.tools.ant.Project.MSG_INFO);\\r\\n currentTime = System.currentTimeMillis();\\r\\n \\r\\n Luntbuild.createDir(publishDirPathSep + Builder.ARTIFACTS_DIR);\\r\\n Iterator reportsiter = Luntbuild.reports.values().iterator();\\r\\n while (reportsiter.hasNext()) {\\r\\n Report report = (Report) reportsiter.next();\\r\\n Luntbuild.createDir(publishDirPathSep + File.separator + report.getReportDir());\\r\\n }\\r\\n \\r\\n logger.info(\\\"Build with defined builders...\\\");\\r\\n it = build.getBuilderList().iterator();\\r\\n while (it.hasNext()) {\\r\\n Builder builder = (Builder) it.next();\\r\\n antProject.log(\\\"Perform build with builder setting: \\\", Project.MSG_INFO);\\r\\n antProject.log(builder.toString(), Project.MSG_INFO);\\r\\n buildLogger.setBuilderName(builder.getName());\\r\\n builder.build(build, buildLogger);\\r\\n buildLogger.setBuilderName(null);\\r\\n }\\r\\n \\r\\n antProject.log(\\\"Duration of the builder(s) execution: \\\" +\\r\\n (System.currentTimeMillis() - currentTime) / 60000 + \\\" minutes\\\",\\r\\n org.apache.tools.ant.Project.MSG_INFO);\\r\\n build.setStatus(Constants.BUILD_STATUS_SUCCESS);\\r\\n } catch (Throwable e) {\\r\\n build.setStatus(Constants.BUILD_STATUS_FAILED);\\r\\n if (e instanceof BuildException) {\\r\\n antProject.log(e.getMessage(), Project.MSG_ERR);\\r\\n logger.error(\\\"Build failed: \\\" + e.getMessage());\\r\\n } else {\\r\\n if (logStream != null)\\r\\n e.printStackTrace(logStream);\\r\\n logger.error(\\\"Build failed: \\\", e);\\r\\n }\\r\\n }\\r\\n \\r\\n if (build.getPostbuildStrategy() == Constants.POSTBUILD_ALWAYS ||\\r\\n build.getPostbuildStrategy() ==\\r\\n Constants.POSTBUILD_IF_SUCCESS &&\\r\\n build.getStatus() == Constants.BUILD_STATUS_SUCCESS ||\\r\\n build.getPostbuildStrategy() == Constants.POSTBUILD_IF_FAILED &&\\r\\n build.getStatus() == Constants.BUILD_STATUS_FAILED) {\\r\\n try {\\r\\n antProject.log(\\\"\\\");\\r\\n if (build.getPostbuilderList().size() == 0)\\r\\n throw new BuildException(\\\"ERROR: Fail to post-build: No post-builders defined!\\\");\\r\\n \\r\\n logger.info(\\\"Post-build with defined post-builders...\\\");\\r\\n Iterator it = build.getPostbuilderList().iterator();\\r\\n while (it.hasNext()) {\\r\\n Builder builder = (Builder) it.next();\\r\\n antProject.log(\\\"Perform post-build with builder setting: \\\", Project.MSG_INFO);\\r\\n antProject.log(builder.toString(), Project.MSG_INFO);\\r\\n buildLogger.setBuilderName(builder.getName());\\r\\n builder.build(build, buildLogger);\\r\\n }\\r\\n \\r\\n antProject.log(\\\"Duration of the post-builder(s) execution: \\\" +\\r\\n (System.currentTimeMillis() - currentTime) / 60000 + \\\" minutes\\\",\\r\\n Project.MSG_INFO);\\r\\n logger.info(\\\"Run of ant post-build script succeed!\\\");\\r\\n } catch (Throwable throwable) {\\r\\n build.setStatus(Constants.BUILD_STATUS_FAILED);\\r\\n if (throwable instanceof BuildException) {\\r\\n antProject.log(throwable.getMessage(), org.apache.tools.ant.Project.MSG_ERR);\\r\\n logger.error(\\\"Post-build failed: \\\" + throwable.getMessage());\\r\\n } else {\\r\\n if (logStream != null)\\r\\n throwable.printStackTrace(logStream);\\r\\n logger.error(\\\"Post-build failed: \\\", throwable);\\r\\n }\\r\\n }\\r\\n }\\r\\n \\r\\n try {\\r\\n if (isCheckoutSuccess) {\\r\\n // insert a blank line into the log\\r\\n antProject.log(\\\"\\\\n\\\", org.apache.tools.ant.Project.MSG_INFO);\\r\\n if (!build.isRebuild()) {\\r\\n if (build.getLabelStrategy() == Constants.LABEL_ALWAYS ||\\r\\n build.getLabelStrategy() == Constants.LABEL_IF_SUCCESS &&\\r\\n build.getStatus() == Constants.BUILD_STATUS_SUCCESS) {\\r\\n build.setHaveLabelOnHead(true);\\r\\n Iterator it = build.getVcsList().iterator();\\r\\n while (it.hasNext()) {\\r\\n Vcs vcs = (Vcs) it.next();\\r\\n vcs.label(build, antProject);\\r\\n }\\r\\n } else {\\r\\n Iterator it = build.getVcsList().iterator();\\r\\n while (it.hasNext()) {\\r\\n Vcs vcs = (Vcs) it.next();\\r\\n vcs.unlabel(build, antProject);\\r\\n }\\r\\n }\\r\\n } else {\\r\\n String message = \\\"Cleaning up project work directory \\\\\\\"\\\" +\\r\\n theSchedule.getWorkDirRaw() + \\\"\\\\\\\" after rebuild...\\\";\\r\\n antProject.log(message, Project.MSG_INFO);\\r\\n logger.info(message);\\r\\n Iterator it = build.getVcsList().iterator();\\r\\n while (it.hasNext()) {\\r\\n Vcs vcs = (Vcs) it.next();\\r\\n vcs.cleanupCheckout(theSchedule, antProject);\\r\\n }\\r\\n }\\r\\n }\\r\\n } catch (Throwable e) {\\r\\n build.setStatus(Constants.BUILD_STATUS_FAILED);\\r\\n if (e instanceof BuildException) {\\r\\n antProject.log(e.getMessage(), org.apache.tools.ant.Project.MSG_ERR);\\r\\n logger.error(\\\"Build failed: \\\" + e.getMessage());\\r\\n } else {\\r\\n if (logStream != null)\\r\\n e.printStackTrace(logStream);\\r\\n logger.error(\\\"Build failed: \\\", e);\\r\\n }\\r\\n } finally {\\r\\n if (logStream != null)\\r\\n logStream.close();\\r\\n build.setEndDate(new Date());\\r\\n String buildXmlPath = publishDirPathSep + BuildGenerator.BUILD_XML_LOG;\\r\\n String buildHtmlPath = publishDirPathSep + BuildGenerator.BUILD_HTML_LOG;\\r\\n String buildTextPath = publishDirPathSep + BuildGenerator.BUILD_LOG;\\r\\n \\r\\n buildLogger.logHtml(buildXmlPath, Luntbuild.installDir + \\\"/log.xsl\\\", buildHtmlPath, buildTextPath);\\r\\n build.removeLogger();\\r\\n buildLogger.close();\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"27fb13bf126ee0f6a6ea06cea9e0d0ed\",\n \"score\": \"0.48819977\",\n \"text\": \"public void executeMain() throws BuildException {\\n \\n checkAttributesAndElements();\\n \\n // Renamed version of original file, if it exists\\n File renamedFile = null;\\n addingNewFiles = true;\\n \\n processDoUpdate();\\n processGroupFilesets();\\n \\n // collect filesets to pass them to getResourcesToAdd\\n Vector vfss = new Vector();\\n if (baseDir != null) {\\n FileSet fs = (FileSet) getImplicitFileSet().clone();\\n fs.setDir(baseDir);\\n vfss.addElement(fs);\\n }\\n- for (int i = 0; i < resources.size(); i++) {\\n+ final int size = resources.size();\\n+ for (int i = 0; i < size; i++) {\\n ResourceCollection rc = (ResourceCollection) resources.elementAt(i);\\n vfss.addElement(rc);\\n }\\n \\n ResourceCollection[] fss = new ResourceCollection[vfss.size()];\\n vfss.copyInto(fss);\\n boolean success = false;\\n try {\\n // can also handle empty archives\\n ArchiveState state = getResourcesToAdd(fss, zipFile, false);\\n \\n // quick exit if the target is up to date\\n if (!state.isOutOfDate()) {\\n return;\\n }\\n \\n File parent = zipFile.getParentFile();\\n if (parent != null && !parent.isDirectory() && !parent.mkdirs()) {\\n throw new BuildException(\\\"Failed to create missing parent\\\"\\n + \\\" directory for \\\" + zipFile);\\n }\\n \\n updatedFile = true;\\n if (!zipFile.exists() && state.isWithoutAnyResources()) {\\n createEmptyZip(zipFile);\\n return;\\n }\\n Resource[][] addThem = state.getResourcesToAdd();\\n \\n if (doUpdate) {\\n renamedFile = renameFile();\\n }\\n \\n String action = doUpdate ? \\\"Updating \\\" : \\\"Building \\\";\\n \\n if (!skipWriting) {\\n log(action + archiveType + \\\": \\\" + zipFile.getAbsolutePath());\\n }\\n \\n ZipOutputStream zOut = null;\\n try {\\n if (!skipWriting) {\\n zOut = new ZipOutputStream(zipFile);\\n \\n zOut.setEncoding(encoding);\\n zOut.setUseLanguageEncodingFlag(useLanguageEncodingFlag);\\n zOut.setCreateUnicodeExtraFields(createUnicodeExtraFields.\\n getPolicy());\\n zOut.setFallbackToUTF8(fallBackToUTF8);\\n zOut.setMethod(doCompress\\n ? ZipOutputStream.DEFLATED : ZipOutputStream.STORED);\\n zOut.setLevel(level);\\n }\\n initZipOutputStream(zOut);\\n \\n // Add the explicit resource collections to the archive.\\n for (int i = 0; i < fss.length; i++) {\\n if (addThem[i].length != 0) {\\n addResources(fss[i], addThem[i], zOut);\\n }\\n }\\n \\n if (doUpdate) {\\n addingNewFiles = false;\\n ZipFileSet oldFiles = new ZipFileSet();\\n oldFiles.setProject(getProject());\\n oldFiles.setSrc(renamedFile);\\n oldFiles.setDefaultexcludes(false);\\n \\n- for (int i = 0; i < addedFiles.size(); i++) {\\n+ final int addSize = addedFiles.size();\\n+ for (int i = 0; i < addSize; i++) {\\n PatternSet.NameEntry ne = oldFiles.createExclude();\\n ne.setName((String) addedFiles.elementAt(i));\\n }\\n DirectoryScanner ds =\\n oldFiles.getDirectoryScanner(getProject());\\n ((ZipScanner) ds).setEncoding(encoding);\\n \\n String[] f = ds.getIncludedFiles();\\n Resource[] r = new Resource[f.length];\\n for (int i = 0; i < f.length; i++) {\\n r[i] = ds.getResource(f[i]);\\n }\\n \\n if (!doFilesonly) {\\n String[] d = ds.getIncludedDirectories();\\n Resource[] dr = new Resource[d.length];\\n for (int i = 0; i < d.length; i++) {\\n dr[i] = ds.getResource(d[i]);\\n }\\n Resource[] tmp = r;\\n r = new Resource[tmp.length + dr.length];\\n System.arraycopy(dr, 0, r, 0, dr.length);\\n System.arraycopy(tmp, 0, r, dr.length, tmp.length);\\n }\\n addResources(oldFiles, r, zOut);\\n }\\n if (zOut != null) {\\n zOut.setComment(comment);\\n }\\n finalizeZipOutputStream(zOut);\\n \\n // If we've been successful on an update, delete the\\n // temporary file\\n if (doUpdate) {\\n if (!renamedFile.delete()) {\\n log (\\\"Warning: unable to delete temporary file \\\"\\n + renamedFile.getName(), Project.MSG_WARN);\\n }\\n }\\n success = true;\\n } finally {\\n // Close the output stream.\\n closeZout(zOut, success);\\n }\\n } catch (IOException ioe) {\\n String msg = \\\"Problem creating \\\" + archiveType + \\\": \\\"\\n + ioe.getMessage();\\n \\n // delete a bogus ZIP file (but only if it's not the original one)\\n if ((!doUpdate || renamedFile != null) && !zipFile.delete()) {\\n msg += \\\" (and the archive is probably corrupt but I could not \\\"\\n + \\\"delete it)\\\";\\n }\\n \\n if (doUpdate && renamedFile != null) {\\n try {\\n FILE_UTILS.rename(renamedFile, zipFile);\\n } catch (IOException e) {\\n msg += \\\" (and I couldn't rename the temporary file \\\"\\n + renamedFile.getName() + \\\" back)\\\";\\n }\\n }\\n \\n throw new BuildException(msg, ioe, getLocation());\\n } finally {\\n cleanUp();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bd251ca3fde077ab248b583f7af596c0\",\n \"score\": \"0.4867021\",\n \"text\": \"public void build(List files) throws Exception {\\t\\t\\t\\t\\t\\n\\t\\tList> entries = getSourceFiles(files);\\n\\t\\tbuildEntries(entries); \\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3808cbb1fab36f6b43fc2d946c5f5382\",\n \"score\": \"0.48665383\",\n \"text\": \"public void run() throws IOException {\\n JsonElement ruleSetElement = configuration.get(\\\"ruleSet\\\");\\n if (ruleSetElement == null) {\\n throw new KitException(\\\"no ruleSet defined\\\");\\n }\\n String ruleSetClassName = ruleSetElement.getAsString();\\n RuleSet ruleSet;\\n try {\\n Class ruleSetClass = Class.forName(ruleSetClassName);\\n ruleSet = (RuleSet) ruleSetClass.getConstructor().newInstance();\\n } catch (Exception e) {\\n throw new KitException(\\\"could not create ruleSet: \\\" + ruleSetClassName, e);\\n }\\n\\n // apply all rules from the \\\"rules\\\" field\\n RuleContext ruleContext = new RuleContext(configuration, ruleSet, partsFolder, buildFolder);\\n JsonArray rules = configuration.getAsJsonArray(\\\"rules\\\");\\n if (rules == null) {\\n throw new KitException(\\\"no rules defined\\\");\\n }\\n for (JsonElement element : rules) {\\n ruleContext.applyRule(element.getAsJsonObject());\\n }\\n\\n // generate a header.inc (currently fixed for a LoROM with 96 32k-banks)\\n try (FileOutputStream fileOutputStream = new FileOutputStream(new File(buildFolder, \\\"header.inc\\\"))) {\\n try (OutputStreamWriter outputStreamWriter = new OutputStreamWriter(fileOutputStream, StandardCharsets.US_ASCII)) {\\n try (PrintWriter out = new PrintWriter(outputStreamWriter)) {\\n out.println(\\\".MEMORYMAP\\\");\\n out.println(\\\" SLOTSIZE $8000\\\");\\n out.println(\\\" DEFAULTSLOT 0\\\");\\n out.println(\\\" SLOT 0 $8000\\\");\\n out.println(\\\".ENDME\\\");\\n out.println(\\\".ROMBANKSIZE $8000\\\");\\n out.println(\\\".ROMBANKS 96\\\");\\n }\\n }\\n }\\n\\n // assemble\\n List objectFiles = new ArrayList<>();\\n {\\n File[] buildFolderFiles = buildFolder.listFiles();\\n for (File buildFolderFile : buildFolderFiles) {\\n String filename = buildFolderFile.getName();\\n if (filename.endsWith(\\\".asm\\\")) {\\n File objectFile = new File(buildFolder, filename.substring(0, filename.length() - 3) + 'o');\\n objectFiles.add(objectFile);\\n execBuildTool(\\\"wla-65816\\\", \\\"-o\\\", objectFile.getName(), filename);\\n }\\n }\\n }\\n\\n // generate linkfile\\n try (FileOutputStream fileOutputStream = new FileOutputStream(new File(buildFolder, \\\"linkfile\\\"))) {\\n try (OutputStreamWriter outputStreamWriter = new OutputStreamWriter(fileOutputStream, StandardCharsets.US_ASCII)) {\\n try (PrintWriter out = new PrintWriter(outputStreamWriter)) {\\n out.println(\\\"[objects]\\\");\\n for (File file : objectFiles) {\\n out.println(file.getName());\\n }\\n }\\n }\\n }\\n\\n // run the linker\\n execBuildTool(\\\"wlalink\\\", \\\"-v\\\", \\\"linkfile\\\", outputFile.getAbsolutePath());\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0541f7cf28fac27ae09d0070517d75a2\",\n \"score\": \"0.48609573\",\n \"text\": \"public static void compileScripts() {\\n\\t\\tint count = 0;\\n\\t\\tfor (File file : new File(FileManager.SOURCE_DIR).listFiles()) {\\n\\t\\t\\tString name = file.getName();\\n\\t\\t\\tSystem.out.println(name);\\n\\t\\t\\tif (name.endsWith(\\\".java\\\")) {\\n\\t\\t\\t\\tif (ToolProvider.getSystemJavaCompiler().run(null, null, null, file.getAbsolutePath()) == 0) {\\n\\t\\t\\t\\t\\tFile compiled = new File(file.getAbsolutePath().toString().replace(\\\".java\\\", \\\".class\\\"));\\n\\t\\t\\t\\t\\tcompiled.renameTo(new File(FileManager.COMPILED_DIR + File.separator + compiled.getName()));\\n\\t\\t\\t\\t\\tcount++;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tJOptionPane.showMessageDialog(null, count + \\\" scripts compiled!\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7c6ca86171f440e18d097ef16fb5474e\",\n \"score\": \"0.48480293\",\n \"text\": \"private void setUpBug130390() throws CoreException {\\n this.workingCopies = new ICompilationUnit[4];\\n this.workingCopies[0] = getWorkingCopy(\\\"/JavaSearchBugs/src/b130390/TZ.java\\\", \\\"package b130390;\\\\n\\\" + \\\"public class TZ {\\\\n\\\" + \\\"}\\\\n\\\");\\n this.workingCopies[1] = getWorkingCopy(\\\"/JavaSearchBugs/src/b130390/TimeZone.java\\\", \\\"package b130390;\\\\n\\\" + \\\"public class TimeZone{\\\\n\\\" + \\\"}\\\\n\\\");\\n this.workingCopies[2] = getWorkingCopy(\\\"/JavaSearchBugs/src/b130390/Npe.java\\\", \\\"package b130390;\\\\n\\\" + \\\"public class Npe {\\\\n\\\" + \\\"}\\\\n\\\");\\n this.workingCopies[3] = getWorkingCopy(\\\"/JavaSearchBugs/src/b130390/NullPointerException.java\\\", \\\"package b130390;\\\\n\\\" + \\\"public class NullPointerException {\\\\n\\\" + \\\"}\\\\n\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7c4ad6830cc46b3e19ee1788042fe53a\",\n \"score\": \"0.4838526\",\n \"text\": \"private static void copyChilliSource(Options in_options) throws CSException\\n\\t{\\n\\t\\tString tempDirectoryPath = StringUtils.standardiseDirectoryPath(in_options.m_outputDirectory + k_tempDirectory);\\n\\t\\tString tempProjectDirectory = StringUtils.standardiseDirectoryPath(tempDirectoryPath + k_templateProjectName);\\n\\t\\tString csSourcePath = StringUtils.standardiseDirectoryPath(getJarDirectoryPath(in_options) + k_csSourceDirectoryPath); \\n\\t\\tString csDestinationPath = StringUtils.standardiseDirectoryPath(tempProjectDirectory + k_csDestinationDirectoryPath);\\n\\t\\t\\n\\t\\tLogging.logVerbose(\\\"Copying ChilliSource into the project.\\\");\\n\\t\\t\\n\\t\\tList ignore = new ArrayList<>();\\n\\t\\tCollections.addAll(ignore, \\\"bin\\\", \\\"obj\\\");\\n\\t\\tif (FileUtils.copyDirectory(csSourcePath, csDestinationPath, ignore) == false)\\n\\t\\t{\\n\\t\\t\\tcleanupTemp(in_options);\\n\\t\\t\\tthrow new CSException(\\\"Could not copy ChilliSource into project.\\\");\\n\\t\\t}\\n\\t\\t\\n\\t\\t//remove any remnants of the git project.\\n\\t\\ttry\\n\\t\\t{\\n\\t\\t\\tPath gitPath = Paths.get(csDestinationPath + \\\".git\\\");\\n\\t\\t\\tif (Files.isDirectory(gitPath) == true)\\n\\t\\t\\t{\\n\\t\\t\\t\\tFileUtils.deleteDirectory(gitPath.toString());\\n\\t\\t\\t}\\n\\t\\t\\telse\\n\\t\\t\\t{\\n\\t\\t\\t\\tFiles.deleteIfExists(gitPath);\\n\\t\\t\\t}\\n\\t\\t\\tFiles.deleteIfExists(Paths.get(csDestinationPath + \\\".gitignore\\\"));\\n\\t\\t}\\n\\t\\tcatch (Exception e)\\n\\t\\t{\\n\\t\\t\\tcleanupTemp(in_options);\\n\\t\\t\\tthrow new CSException(\\\"Could not delete git remnants.\\\", e);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ec86dca3070caeb56957bfb6c13b76c\",\n \"score\": \"0.4838219\",\n \"text\": \"protected String getCompileFileName()\\r\\n/* 119: */ {\\r\\n/* 120:147 */ if (this.indicadorResumen) {\\r\\n/* 121:148 */ return \\\"reporteAnalisisVencimientoResumido\\\";\\r\\n/* 122: */ }\\r\\n/* 123:150 */ return \\\"reporteAnalisisVencimientoDetallado\\\";\\r\\n/* 124: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eb01157a5bda5066018bfe81ea3736ca\",\n \"score\": \"0.48376533\",\n \"text\": \"@Override\\n\\tpublic byte[] createBigDataFileXlsx(ReportExcel report) throws Exception {\\n\\t\\tthis.mergeCalcoloCells = null;\\n\\t\\tbyte[] byteExcel = null;\\n\\t\\tSXSSFWorkbook workbook = null;\\n\\t\\tXSSFWorkbook coverWorkbook = null;\\n\\t\\ttry {\\n\\t\\t\\tByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();\\n\\t\\t\\t// boolean isCover = true;\\n\\t\\t\\tif (StringUtils.isNotBlank(this.pathCoverXlsx)) {\\n\\t\\t\\t\\tInputStream inputstream = new FileInputStream(this.pathCoverXlsx);\\n\\t\\t\\t\\tcoverWorkbook = new XSSFWorkbook(inputstream);\\n\\t\\t\\t\\tupdateCover(report, coverWorkbook);\\n\\t\\t\\t\\tworkbook = new SXSSFWorkbook(coverWorkbook);\\n\\t\\t\\t} else if (StringUtils.isNotBlank(this.resourcePathCoverXlsx)) {\\n\\t\\t\\t\\tInputStream inputstream = getClass().getResourceAsStream(this.resourcePathCoverXlsx);\\n\\t\\t\\t\\tcoverWorkbook = new XSSFWorkbook(inputstream);\\n\\t\\t\\t\\tupdateCover(report, coverWorkbook);\\n\\t\\t\\t\\tworkbook = new SXSSFWorkbook(coverWorkbook);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tworkbook = new SXSSFWorkbook();\\n\\t\\t\\t}\\n\\n\\t\\t\\tthis.setCoverParameters(report, byteArrayOutputStream, workbook, false);\\n\\t\\t\\tbyteExcel = byteArrayOutputStream.toByteArray();\\n\\t\\t} catch (Exception e) {\\n\\t\\t\\tthrow e;\\n\\t\\t} finally {\\n\\t\\t\\tif (workbook != null)\\n\\t\\t\\t\\tworkbook.close();\\n\\t\\t}\\n\\t\\treturn byteExcel;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fd5a50ba0476e134baaec22a4415cb3c\",\n \"score\": \"0.48362803\",\n \"text\": \"private static void copyFilesToSchedulerDirectory(String workingDirectory, String schedulerCode, String plasmaInterfaceCode) throws IOException {\\n System.out.println(\\\"Current directory: \\\" + workingDirectory);\\n //get parent directory\\n int index = workingDirectory.lastIndexOf(\\\"/\\\");\\n String parentPath = workingDirectory.substring(0, index);\\n System.out.println(\\\"Parent directory: \\\" + parentPath);\\n String schedulerDirPath = parentPath + \\\"/scheduler\\\";\\n System.out.println(\\\"Scheduler directory: \\\" + schedulerDirPath);\\n //save scheduler path\\n String schedulerFilePath = schedulerDirPath + \\\"/scheduler.go\\\";\\n System.out.println(\\\"Scheduler file path: \\\" + schedulerFilePath);\\n //save plasmaInterface path\\n String plasmaInterfPath = schedulerDirPath + \\\"/plasmaInterface.go\\\";\\n System.out.println(\\\"PlasmaInterface file path: \\\" + plasmaInterfPath);\\n // copy file scheduler.go\\n FileWriter fileWriter = new FileWriter(schedulerFilePath);\\n PrintWriter gravarArq = new PrintWriter(fileWriter);\\n gravarArq.println(schedulerCode);\\n fileWriter.close();\\n //copy file plasmaInterface.go\\n fileWriter = new FileWriter(plasmaInterfPath);\\n gravarArq = new PrintWriter(fileWriter);\\n gravarArq.println(plasmaInterfaceCode);\\n fileWriter.close();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a169a9c7e154ea3a48c46261a87148bb\",\n \"score\": \"0.48356634\",\n \"text\": \"public void ComposeProcessedLog(){\\n \\ttry {\\n \\t\\tList pFileNames = GetAllResultLogFiles(\\\".adtl\\\");\\n \\t\\tList lFileNames = GetAllResultLogFiles(\\\".slog\\\");\\n// \\t\\tList fFileNames = GetAllResultLogFiles(\\\".fail\\\");\\n// \\t\\tList wFileNames = GetAllResultLogFiles(\\\".warning\\\");\\n// \\t\\tList iFileNames = GetAllResultLogFiles(\\\".info\\\");\\n// \\t\\tList nFileNames = GetAllResultLogFiles(\\\".na\\\");\\n \\t\\tint pFileCount = pFileNames.size();\\n// \\t\\tint fFileCount = fFileNames.size();\\n// \\t\\tint wFileCount = wFileNames.size();\\n// \\t\\tint iFileCount = iFileNames.size();\\n// \\t\\tint nFileCount = nFileNames.size();\\n \\t\\tString RunId=Driver.Gprops.GetRunID();\\n\\t\\t\\tDateFormat dateFormat = new SimpleDateFormat(\\\"yyyy/MM/dd HH:mm:ss\\\");\\n\\t\\t\\tDate date = new Date();\\n\\t\\t\\tDate dNow = new Date( );\\n\\t\\t SimpleDateFormat ft = new SimpleDateFormat (\\\"E yyyy.MM.dd 'at' hh:mm:ss a zzz\\\");\\n\\t\\t String DateTimeInfo = ft.format(dNow);\\n\\t\\t int pCount = Driver.Gprops.GetPassCounter();\\n\\t\\t int fCount = Driver.Gprops.GetFailCounter();\\n\\t\\t double pPCent = ((double)pCount/((double)pCount+(double)fCount))*100;\\n\\t\\t double fPCent = ((double)fCount/((double)pCount+(double)fCount))*100;\\n\\t\\t //String ResultPath = Driver.Init.GetResultPath() + Driver.Gprops.GetRunID() + \\\".txt\\\";\\n\\t\\t\\tString ResultPath = System.getProperty(\\\"user.dir\\\") + \\\"/target/\\\" + RunId + \\\"/ProcessedLog.html\\\";\\n\\t\\t\\tString LogPath = System.getProperty(\\\"user.dir\\\") + \\\"/target/\\\" + RunId + \\\"/Log.html\\\";\\n\\t\\t\\tFile tsFolder = new File(System.getProperty(\\\"user.dir\\\") + \\\"/target/\\\" + RunId + \\\"/\\\");\\n\\t\\t\\tif(!tsFolder.exists()){\\n\\t\\t\\t\\ttsFolder.mkdirs();\\n\\t\\t\\t}\\t\\n\\t\\t\\tFile file = new File(ResultPath);\\n\\t\\t\\tif (!file.exists()) {\\n\\t\\t\\t\\tfile.createNewFile();\\n\\t\\t\\t}\\n\\t\\t\\tFile lfile = new File(LogPath);\\n\\t\\t\\tif (!lfile.exists()) {\\n\\t\\t\\t\\tlfile.createNewFile();\\n\\t\\t\\t}\\n\\t\\t\\t// Code added by KK - 02/07/2014 - this code will add all the featurew files that are executed in different threads\\n\\t\\t\\tString tFeatureFile = \\\"\\\", tFilters = \\\"\\\", tGlues = \\\"\\\";\\n\\t Collection> FF = Driver.Gprops.GetFeatureFiles().values();\\n\\t\\t\\tfor(List T2 : FF) {\\n\\t\\t\\t\\tfor(int z=0;z\\\" + T2.get(z);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tCollection> CF = Driver.Gprops.GetCukeFilters().values();\\n\\t\\t\\tfor(List T2 : CF) {\\n\\t\\t\\t\\tfor(int z=0;z\\\" + T2.get(z).toString();\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tCollection> CG = Driver.Gprops.GetCukeGlues().values();\\n\\t\\t\\tfor(List T2 : CG) {\\n\\t\\t\\t\\tfor(int z=0;z\\\" + T2.get(z);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n//\\t\\t\\tfor(int x= 0; x < Driver.Gprops.GetFeatureFiles(Thread.currentThread().getName()).size(); x++){\\n//\\t\\t\\t\\ttFeatureFile = tFeatureFile + \\\";
\\\" + Driver.Gprops.GetFeatureFiles(Thread.currentThread().getName()).get(x);\\n//\\t\\t\\t}\\n//\\t\\t\\tfor(int y = 0; y < Driver.Gprops.GetCukeFilters(Thread.currentThread().getName()).size(); y++){\\n//\\t\\t\\t\\ttFilters = tFilters + \\\";
\\\" + Driver.Gprops.GetCukeFilters(Thread.currentThread().getName()).get(y).toString();\\n//\\t\\t\\t}\\n//\\t\\t\\tfor(int z = 0; z < Driver.Gprops.GetCukeGlues(Thread.currentThread().getName()).size(); z++){\\n//\\t\\t\\t\\ttGlues = tGlues + \\\";
\\\" + Driver.Gprops.GetCukeGlues(Thread.currentThread().getName()).get(z);\\n//\\t\\t\\t}\\n\\t\\t\\t\\n\\t\\t\\tString[] Browsers = Driver.Init.GetAUTBrowser().split(\\\"~\\\");\\n\\t\\t\\tString bNames = \\\"\\\";\\n\\t\\t\\tfor(int x=0;xWelcome to Processed Log File \\\" + dateFormat.format(date) + \\\"\\\" );\\n\\t\\t\\tbw.write(\\\"

Log File

\\\");\\n\\t\\t\\tbw.write(\\\"
\\\");\\n\\t\\t\\tbw.write(\\\"\\\");\\n\\t\\t\\tbw.write(\\\"\\\");\\n\\t\\t\\tbw.write(\\\"\\\");\\n\\t\\t\\tif(System.getProperty(\\\"build.number\\\")!=null && !System.getProperty(\\\"build.number\\\").contains(\\\"build\\\")){\\n\\t\\t\\t\\tbw.write(\\\"\\\");\\n\\t\\t\\t\\tbw.write(\\\"\\\");\\n\\t\\t\\t\\tbw.write(\\\"\\\");\\n\\t\\t\\t}\\n\\t\\t\\t\\n\\t\\t\\tif(System.getProperty(\\\"jenkins.build.id\\\")!=null && !System.getProperty(\\\"jenkins.build.id\\\").contains(\\\"BUILD\\\")){\\n\\t\\t\\t\\tbw.write(\\\"\\\");\\n\\t\\t\\t\\tbw.write(\\\"\\\");\\n\\t\\t\\t\\tbw.write( \\\"\\\");\\n\\t\\t\\t}\\n\\t\\t\\tbw.write(\\\"\\\");\\n\\t\\t\\tbw.write(\\\"\\\");\\n\\t\\t\\tbw.write(\\\"\\\");\\n\\t\\t\\tbw.write(\\\"\\\");\\n\\t\\t\\tbw.write(\\\"\\\");\\n\\t\\t\\tbw.write(\\\"\\\");\\n\\t\\t\\tbw.write(\\\"\\\");\\n\\t\\t\\tbw.write(\\\"\\\");\\n\\t\\t\\tbw.write(\\\"
Date of Execution\\\" + DateTimeInfo + \\\"
Remote Node Address\\\" + Driver.Gprops.GetNodeIPAddress() + \\\"
Run ID\\\" + Driver.Gprops.GetRunID() + \\\"
TeamCity Project Name\\\" + System.getProperty(\\\"teamcity.buildConfName\\\") + \\\"
TeamCity Branch Name\\\" + Driver.globalValues.get(\\\"BrachName\\\") + \\\"
TeamCity Build Number\\\" + System.getProperty(\\\"build.number\\\") + \\\"
Jenkins Job Nmae&thinsp;&emsp;\\\" + System.getProperty(\\\"jenkins.job.name\\\") + \\\"&emsp;
Jenkins Build ID&thinsp;&emsp;\\\" +System.getProperty(\\\"jenkins.build.id\\\")+\\\"&emsp;
Jenkins Build Number&thinsp;&emsp;\\\" + System.getProperty(\\\"jenkins.build.number\\\") + \\\"&emsp;
Build Triggered By\\\" +Driver.globalValues.get(\\\"TriggeredBy\\\")+\\\" (\\\"+Driver.globalValues.get(\\\"TriggeredByName\\\")+\\\")\\\"+ \\\"
Base Url\\\" + Driver.Init.GetBaseURL() + \\\"
Browser Used\\\" + bNames + \\\"
Browser Version Used\\\" + Driver.Gprops.GetBrowserVersion() + \\\"
OS Name\\\" + Driver.Gprops.GetOSNames() + \\\"
Feature File\\\\\\\\s\\\" + tFeatureFile + \\\"
Cuke Filters\\\" + tFilters + \\\"
Cuke Glues\\\" + tGlues + \\\"

\\\");\\n\\t\\t\\tbw.write(\\\"
\\\");\\n//\\t\\t\\tbw.write(\\\"

Failed Steps

\\\");\\n//\\t\\t\\tbw.write(\\\"\\\");\\n//\\t\\t\\tbw.write(\\\"\\\");\\n//\\t\\t\\tfor(int x=0; x < fFileCount; x++){\\n//\\t\\t\\t\\tFile folder = new File(Driver.Init.GetResultPath() + Driver.Gprops.GetRunID() + \\\"\\\\\\\\\\\" + fFileNames.get(x));\\n// \\t\\t\\tBufferedReader br = new BufferedReader(new FileReader(folder));\\n// \\t\\t\\tString line = \\\"\\\";\\n// \\t\\t\\twhile ((line = br.readLine()) != null) {\\n// \\t\\t\\t\\tbw.write(line);\\n// \\t\\t\\t}\\n// \\t\\t\\tbr.close();\\n//\\t\\t\\t}\\n//\\t\\t\\tbw.write(\\\"
Date/TimeFunction NameMessageStatus

Warning Steps

\\\");\\n//\\t\\t\\tbw.write(\\\"\\\");\\n//\\t\\t\\tbw.write(\\\"\\\");\\n//\\t\\t\\tfor(int x=0; x < wFileCount; x++){\\n//\\t\\t\\t\\tFile folder = new File(Driver.Init.GetResultPath() + Driver.Gprops.GetRunID() + \\\"\\\\\\\\\\\" + wFileNames.get(x));\\n// \\t\\t\\tBufferedReader br = new BufferedReader(new FileReader(folder));\\n// \\t\\t\\tString line = \\\"\\\";\\n// \\t\\t\\twhile ((line = br.readLine()) != null) {\\n// \\t\\t\\t\\tbw.write(line);\\n// \\t\\t\\t}\\n// \\t\\t\\tbr.close();\\n//\\t\\t\\t}\\n//\\t\\t\\tbw.write(\\\"
Date/TimeFunction NameMessageStatus

Passed Steps

\\\");\\n\\t\\t\\tbw.write(\\\"

Log

\\\");\\n\\t\\t\\tfor(int x=0; x < pFileCount; x++){\\n\\t\\t\\t\\tFile folder = new File(Driver.Init.GetResultPath() + Driver.Gprops.GetRunID() + \\\"/\\\" + pFileNames.get(x));\\n \\t\\t\\tBufferedReader br = new BufferedReader(new FileReader(folder));\\n \\t\\t\\tString line = \\\"\\\";\\n \\t\\t\\tbw.write(\\\"
Log File Name = \\\" + Driver.Init.GetResultPath() + Driver.Gprops.GetRunID() + \\\"/\\\" + pFileNames.get(x) + \\\"
\\\");\\n \\t\\t\\tbw.write(\\\"\\\");\\n \\t\\t\\tbw.write(\\\"\\\");\\n \\t\\t\\twhile ((line = br.readLine()) != null) {\\n \\t\\t\\t\\tbw.write(line);\\n \\t\\t\\t}\\n \\t\\t\\tbw.write(\\\"
Date/TimeStatusFunction NameMessage
\\\");\\n \\t\\t\\tbr.close();\\n\\t\\t\\t}\\n\\t\\t\\t\\n\\t\\t\\t\\n\\t\\t\\tBufferedWriter lbw = new BufferedWriter(new FileWriter(LogPath,true));\\n\\t\\t\\tlbw.write(\\\"Welcome to Log File \\\" + dateFormat.format(date) + \\\"\\\" );\\n\\t\\t\\tlbw.write(\\\"

Log File

\\\");\\n\\t\\t\\t\\n\\t\\t\\tfor(int x=0; x < pFileCount; x++){\\n\\t\\t\\t\\tFile folder = new File(Driver.Init.GetResultPath() + Driver.Gprops.GetRunID() + \\\"/\\\" + lFileNames.get(x));\\n \\t\\t\\tBufferedReader br = new BufferedReader(new FileReader(folder));\\n \\t\\t\\tString line = \\\"\\\";\\n \\t\\t\\twhile ((line = br.readLine()) != null) {\\n \\t\\t\\t\\tlbw.write(\\\"\\\");\\n \\t\\t\\t\\tlbw.write(line);\\n \\t\\t\\t\\tlbw.write(\\\"\\\");\\n \\t\\t\\t}\\n \\t\\t\\tlbw.write(\\\"\\\");\\n \\t\\t\\tbr.close();\\n\\t\\t\\t}\\n\\t\\t\\t\\n//\\t\\t\\tbw.write(\\\"

Information Steps

\\\");\\n//\\t\\t\\tbw.write(\\\"\\\");\\n//\\t\\t\\tbw.write(\\\"\\\");\\n//\\t\\t\\tfor(int x=0; x < iFileCount; x++){\\n//\\t\\t\\t\\tFile folder = new File(Driver.Init.GetResultPath() + Driver.Gprops.GetRunID() + \\\"/\\\" + iFileNames.get(x));\\n// \\t\\t\\tBufferedReader br = new BufferedReader(new FileReader(folder));\\n// \\t\\t\\tString line = \\\"\\\";\\n// \\t\\t\\twhile ((line = br.readLine()) != null) {\\n// \\t\\t\\t\\tbw.write(line);\\n// \\t\\t\\t}\\n// \\t\\t\\tbr.close();\\n//\\t\\t\\t}\\n//\\t\\t\\tbw.write(\\\"
Date/TimeFuncation NameMessageStatus
\\\");\\n//\\t\\t\\tbw.write(\\\"

Other/Miscellaneous Steps

\\\");\\n//\\t\\t\\tbw.write(\\\"\\\");\\n//\\t\\t\\tbw.write(\\\"\\\");\\n//\\t\\t\\tfor(int x=0; x < nFileCount; x++){\\n//\\t\\t\\t\\tFile folder = new File(Driver.Init.GetResultPath() + Driver.Gprops.GetRunID() + \\\"/\\\" + nFileNames.get(x));\\n// \\t\\t\\tBufferedReader br = new BufferedReader(new FileReader(folder));\\n// \\t\\t\\tString line = \\\"\\\";\\n// \\t\\t\\twhile ((line = br.readLine()) != null) {\\n// \\t\\t\\t\\tbw.write(line);\\n// \\t\\t\\t}\\n// \\t\\t\\tbr.close();\\n//\\t\\t\\t}\\n//\\t\\t\\tbw.write(\\\"
Date/TimeFuncation NameMessageStatus
\\\");\\n\\t\\t\\tbw.write(\\\"
\\\");\\n\\t\\t\\tbw.write(\\\"
Contact Us
\\\");\\n\\t\\t\\tbw.close(); \\n\\t\\t\\t\\n\\t\\t\\tlbw.write(\\\"
\\\");\\n\\t\\t\\tlbw.close();\\n\\t\\t\\t\\n\\t\\t\\tif(System.getProperty(\\\"ProjectName\\\").toLowerCase().contains(\\\"digan\\\")) {\\n\\t\\t\\t\\tString methodName = Driver.globalValues.get(\\\"methodName\\\");\\n\\t\\t\\t\\tString reportPath = System.getProperty(\\\"user.dir\\\") + \\\"/target/\\\" + RunId + \\\"/DiganReport.html\\\";\\n\\t\\t\\t\\tString reportPathAPI = System.getProperty(\\\"user.dir\\\") + \\\"/target/\\\" + RunId + \\\"/DiganReportAPI.html\\\";\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tBufferedWriter rbw = new BufferedWriter(new FileWriter(reportPath,true));\\n\\t\\t\\t\\tBufferedWriter rbwAPI = new BufferedWriter(new FileWriter(reportPathAPI,true));\\n\\t\\t\\t\\tStringBuffer tempHTML = new StringBuffer();\\n\\t\\t\\t\\ttempHTML.append(\\\"\\\\n\\\");\\n\\t\\t\\t\\ttempHTML.append(\\\"\\\\n\\\");\\n\\t\\t\\t\\ttempHTML.append(\\\"\\\" + \\\"DIGAN Report \\\" + \\\"\\\\n\\\");\\n\\t\\t\\t\\ttempHTML.append(\\\"\\\\n\\\");\\n\\t\\t\\t\\ttempHTML.append(\\\"\\\\n\\\");\\n\\t\\t\\t\\ttempHTML.append(\\\"\\\\n\\\");\\n\\t\\t\\t\\ttempHTML.append(\\\"

DIGAN Report

\\\\n\\\");\\n\\t\\t\\t\\ttempHTML.append(\\\"
\\\\n\\\");\\n\\t\\t\\t\\tif(methodName!=null && methodName.equals(\\\"validateReportBySegment\\\"))\\n\\t\\t\\t\\t\\ttempHTML.append(Driver.globalValues.get(\\\"headerValue\\\")+\\\"\\\\n\\\");\\n\\t\\t\\t\\telse\\n\\t\\t\\t\\t\\ttempHTML.append(\\\"\\\\n\\\");\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tBufferedReader br = null;\\n\\t\\t\\t\\tList reportNames = GetAllResultLogFiles(\\\".digan\\\");\\n\\t\\t\\t\\tint counter = 0;\\n\\t\\t\\t\\tfor(int x=0; x < reportNames.size(); x++){\\n\\t\\t\\t\\t\\tFile folder = new File(Driver.Init.GetResultPath() + Driver.Gprops.GetRunID() + \\\"/\\\" + reportNames.get(x));\\n\\t\\t\\t\\t\\tbr = new BufferedReader(new FileReader(folder));\\n\\t\\t\\t\\t\\tString line = \\\"\\\";\\n\\t\\t\\t\\t\\twhile ((line = br.readLine()) != null) {\\n\\t\\t\\t\\t\\t\\ttempHTML.append(\\\"\\\");\\n\\t\\t\\t\\t\\t\\ttempHTML.append(line);\\n\\t\\t\\t\\t\\t\\ttempHTML.append(\\\"\\\");\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tif(br!=null)\\n\\t\\t\\t\\t\\tbr.close();\\n\\t\\t\\t\\tif(rbw!=null) {\\n\\t\\t\\t\\t\\ttempHTML.append(\\\"
Serial #ReportsSelected RecordsTotal PassTotal FailDurationStatus
\\\" + ++counter + \\\"
\\\\n\\\\n\\\");\\n\\t\\t\\t\\t\\trbw.write(tempHTML.toString());\\n\\t\\t\\t\\t\\trbw.close();\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tStringBuffer tempHTMLAPI = new StringBuffer();\\n\\t\\t\\t\\ttempHTMLAPI.append(\\\"\\\\n\\\");\\n\\t\\t\\t\\ttempHTMLAPI.append(\\\"\\\\n\\\");\\n\\t\\t\\t\\ttempHTMLAPI.append(\\\"\\\" + \\\"DIGAN Report \\\" + \\\"\\\\n\\\");\\n\\t\\t\\t\\ttempHTMLAPI.append(\\\"\\\\n\\\");\\n\\t\\t\\t\\ttempHTMLAPI.append(\\\"\\\\n\\\");\\n\\t\\t\\t\\ttempHTMLAPI.append(\\\"\\\\n\\\");\\n\\t\\t\\t\\ttempHTMLAPI.append(\\\"

DIGAN Report

\\\\n\\\");\\n\\t\\t\\t\\ttempHTMLAPI.append(\\\"
\\\\n\\\");\\n\\t\\t\\t\\tif(methodName!=null && methodName.equals(\\\"validateReportBySegment\\\"))\\n\\t\\t\\t\\t\\ttempHTMLAPI.append(Driver.globalValues.get(\\\"headerValue\\\")+\\\"\\\\n\\\");\\n\\t\\t\\t\\telse\\n\\t\\t\\t\\t\\ttempHTMLAPI.append(\\\"\\\\n\\\");\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tBufferedReader brAPI = null;\\n\\t\\t\\t\\tList reportNamesAPI = GetAllResultLogFiles(\\\".diganapi\\\");\\n\\t\\t\\t\\tcounter = 0;\\n\\t\\t\\t\\tfor(int x=0; x < reportNamesAPI.size(); x++){\\n\\t\\t\\t\\t\\tFile folder = new File(Driver.Init.GetResultPath() + Driver.Gprops.GetRunID() + \\\"/\\\" + reportNamesAPI.get(x));\\n\\t\\t\\t\\t\\tbrAPI = new BufferedReader(new FileReader(folder));\\n\\t\\t\\t\\t\\tString line = \\\"\\\";\\n\\t\\t\\t\\t\\twhile ((line = brAPI.readLine()) != null) {\\n\\t\\t\\t\\t\\t\\ttempHTMLAPI.append(\\\"\\\");\\n\\t\\t\\t\\t\\t\\ttempHTMLAPI.append(line);\\n\\t\\t\\t\\t\\t\\ttempHTMLAPI.append(\\\"\\\");\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tif(brAPI!=null)\\n\\t\\t\\t\\t\\tbrAPI.close();\\n\\t\\t\\t\\tif(rbwAPI!=null) {\\n\\t\\t\\t\\t\\ttempHTML.append(\\\"
Serial #ReportsSelected RecordsTotal PassTotal FailDurationStatus
\\\" + ++counter + \\\"
\\\\n\\\\n\\\");\\n\\t\\t\\t\\t\\trbwAPI.write(tempHTMLAPI.toString());\\n\\t\\t\\t\\t\\trbwAPI.close();\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t} catch (Exception e) {\\n\\t\\t\\t// TODO: handle exception\\n\\t\\t\\tSystem.out.println(\\\"Exception @ ComposeProcessedLog \\\" + e.getMessage());\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"92532bb5baab946fc82e51f383e0415d\",\n \"score\": \"0.48315284\",\n \"text\": \"public void screenshotSetUp()\\n\\t{\\n\\t\\tresultFilePath=\\\"Screenshots\\\";\\n\\t\\ttry\\n\\t\\t {\\n\\t\\t\\t if (!new File(resultFilePath).exists()) \\n\\t\\t\\t {\\n\\t\\t\\t\\t new File(resultFilePath).mkdirs();\\n\\t\\t\\t }\\t \\n\\t\\t }\\n\\t catch (Exception e)\\n\\t {\\n\\t System.out.println(e.getMessage());\\n\\t } \\n \\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cef396e6d0ca7d35aa7de0e269145925\",\n \"score\": \"0.48308006\",\n \"text\": \"public void setSourceReportScene() {\\n setScene(sourceReportScene, \\\"Cleanwater - Submit Source Report\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"081e350801d7888f62b91ab267808585\",\n \"score\": \"0.48298296\",\n \"text\": \"@Override\\n protected void generateReports() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"edd8c140cd8e3150bdb6bdb48a587999\",\n \"score\": \"0.48269674\",\n \"text\": \"public void generateHardCopy()\\n{\\n\\n if(filenameOfLastReportGenerated.isEmpty()){ return; }\\n\\n executePrintAtCommandPrompt(filenameOfLastReportGenerated);\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"23690b0c0f279bff7fba688dd682ff4d\",\n \"score\": \"0.4812754\",\n \"text\": \"public void execute() {\\n\\t\\tgetLog().info(\\\"***********正在开始生成!************\\\");\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\ttry {\\r\\n\\t\\t\\tList ids = getIds();\\r\\n\\t\\t\\tupdatePjavaFile(ids);\\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\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed4451fb62b6008ab7ae8c4c2f592e42\",\n \"score\": \"0.48033974\",\n \"text\": \"@Override\\n\\tpublic void mergeFiles(IExecutionCase exCase) {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f78598c4f0b548034056f33f4d72e19d\",\n \"score\": \"0.47839567\",\n \"text\": \"protected abstract File getGeneratedSourcesDirectory();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c31475a2125dd9a71ccb7c41dcaa7f74\",\n \"score\": \"0.478232\",\n \"text\": \"public void crunchNow() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"18c01de5aabef6f237ede5c7f84db83e\",\n \"score\": \"0.47777364\",\n \"text\": \"@Override\\n public void execute() throws MojoExecutionException {\\n try {\\n getLog().info(\\\"Ontology sources are in ‘\\\" + this.ontologySrc + \\\"’\\\");\\n getLog().info(\\\"Writing artifacts from those sources to ‘\\\" + this.target + \\\"’\\\");\\n File d = new File(this.target);\\n d.mkdirs();\\n Map envvars = new HashMap<>();\\n envvars.put(\\\"PARENT_DIR\\\", this.ontologySrc);\\n envvars.put(\\\"SCRIPT_DIR\\\", \\\"foo\\\");\\n envvars.put(\\\"LIB_DIR\\\", \\\"foo\\\");\\n envvars.put(\\\"JAVA_HOME\\\", System.getProperty(\\\"java.home\\\"));\\n this.setEnv(envvars);\\n DMDocument.outputDirPath = d.toString() + \\\"/\\\";\\n this.generateArtifacts();\\n } catch (RuntimeException ex) {\\n throw ex;\\n } catch (Throwable ex) {\\n throw new MojoExecutionException(\\\" error\\\", ex);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"850c65b79420f8a84ff918348963f026\",\n \"score\": \"0.47691566\",\n \"text\": \"private void compile() {\\r\\n if (!saveTab(false, currentTab)) {\\r\\n return;\\r\\n }\\r\\n final TabData data = tabdata.get(currentTab);\\r\\n if (!data.compiling) {\\r\\n data.compiling = true;\\r\\n Thread compile = new Thread(\\\"Compile\\\") {\\r\\n \\r\\n private void pumpErrStream(Process proc) throws IOException {\\r\\n InputStream in = proc.getErrorStream();\\r\\n StringBuilder resBuf = new StringBuilder();\\r\\n byte[] buffer = new byte[5000];\\r\\n int len;\\r\\n while ((len = in.read(buffer)) != -1) {\\r\\n resBuf.append(new String(buffer, 0, len));\\r\\n }\\r\\n String result = resBuf.toString().replaceAll(\\\"\\\\\\\\Q\\\" + dir.getAbsolutePath().replaceAll(\\\"\\\\\\\\\\\\\\\\\\\", \\\"\\\\\\\\\\\\\\\\\\\") + \\\"\\\\\\\\E\\\", \\\"\\\");\\r\\n out.print(result);\\r\\n }\\r\\n \\r\\n private String getLibs(Process proc) throws IOException {\\r\\n InputStream in = proc.getErrorStream();\\r\\n StringBuilder resBuf = new StringBuilder();\\r\\n byte[] buffer = new byte[5000];\\r\\n int len;\\r\\n while ((len = in.read(buffer)) != -1) {\\r\\n resBuf.append(new String(buffer, 0, len));\\r\\n }\\r\\n Set set = new TreeSet();\\r\\n set.add(\\\"libcbas\\\");\\r\\n Matcher m = Pattern.compile(\\\"links ([^\\\\n]+)\\\").matcher(resBuf);\\r\\n while (m.find()) {\\r\\n set.add(m.group(1));\\r\\n }\\r\\n StringBuilder libs = new StringBuilder();\\r\\n for (String str : set)\\r\\n libs.append(\\\" -l\\\").append(str.trim());\\r\\n System.out.println(libs);\\r\\n return libs.toString();\\r\\n }\\r\\n \\r\\n public void run() {\\r\\n try {\\r\\n File script_source = new File(lib, \\\"Script.cc\\\");\\r\\n if (!script_source.exists()) {\\r\\n out.println(\\\"Error: Lib/Script.cc not found!\\\");\\r\\n return;\\r\\n }\\r\\n File script_object = new File(lib, \\\"Script.o\\\");\\r\\n if (!script_object.exists() || script_source.lastModified() > script_object.lastModified()) {\\r\\n out.println(\\\"Recompiling Script.cc\\\");\\r\\n Process build = Runtime.getRuntime().exec(comp.getAbsolutePath() + \\\" -I\\\\\\\"\\\" + inc.getAbsolutePath() + \\\"\\\\\\\" -O3 -s -c \\\\\\\"\\\" + script_source.getAbsolutePath() + \\\"\\\\\\\" -o \\\\\\\"\\\" + script_object.getAbsolutePath() + \\\"\\\\\\\"\\\");\\r\\n int error = build.waitFor();\\r\\n if (error == 0) {\\r\\n out.println(\\\"Successfully Recompiled\\\");\\r\\n } else {\\r\\n out.println(\\\"Recompile Failed! Exit Value: \\\" + error);\\r\\n pumpErrStream(build);\\r\\n return;\\r\\n }\\r\\n }\\r\\n if (data.dll != null) {\\r\\n implReleaseLib(data.dll.getAbsolutePath());\\r\\n }\\r\\n data.dll = null;\\r\\n out.println(\\\"Compiling \\\" + data.name);\\r\\n File object = new File(obj, data.name + \\\".o\\\");\\r\\n Process build = Runtime.getRuntime().exec(comp.getAbsolutePath() + \\\" -I\\\\\\\"\\\" + inc.getAbsolutePath() + \\\"\\\\\\\" -O3 -s -c \\\\\\\"\\\" + data.file.getAbsolutePath() + \\\"\\\\\\\" -o \\\\\\\"\\\" + object.getAbsolutePath() + \\\"\\\\\\\"\\\");\\r\\n int build_res = build.waitFor();\\r\\n String libs = \\\"\\\";\\r\\n if (build_res == 0) {\\r\\n out.println(\\\"Successfully Compiled\\\");\\r\\n libs = getLibs(build);\\r\\n } else {\\r\\n out.println(\\\"Compile Failed! Exit Value: \\\" + build_res);\\r\\n pumpErrStream(build);\\r\\n return;\\r\\n }\\r\\n out.println(\\\"Linking \\\" + data.name);\\r\\n File dll = new File(bin, data.name + \\\".dll\\\");\\r\\n Process link = Runtime.getRuntime().exec(comp.getAbsolutePath() + \\\" -shared -o \\\\\\\"\\\" + dll.getAbsolutePath() + \\\"\\\\\\\" -s \\\\\\\"\\\" + object.getAbsolutePath() + \\\"\\\\\\\" \\\\\\\"\\\" + script_object.getAbsolutePath() + \\\"\\\\\\\" -L\\\\\\\"\\\" + lib.getAbsolutePath() + \\\"\\\\\\\"\\\" + libs);\\r\\n System.out.println(link);\\r\\n int link_res = 1;//link.waitFor();\\r\\n if (link_res == 0) {\\r\\n out.println(\\\"Successfully Linked\\\");\\r\\n } else {\\r\\n out.println(\\\"Link Failed! Exit Value: \\\" + link_res);\\r\\n pumpErrStream(link);\\r\\n return;\\r\\n }\\r\\n data.dll = dll;\\r\\n } catch (Exception e) {\\r\\n e.printStackTrace();\\r\\n } finally {\\r\\n data.compiling = false;\\r\\n }\\r\\n }\\r\\n };\\r\\n compile.start();\\r\\n } else {\\r\\n out.println(data.name + \\\" is already compiling!\\\");\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"223a5255e5d47044fc059078dc46a9ab\",\n \"score\": \"0.47685146\",\n \"text\": \"void compileWithReporter(File[] sources, File[] classpath, Output output, String[] options, Reporter reporter, Logger log);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9926ec5915830f925d7a2224d3b3a544\",\n \"score\": \"0.4767846\",\n \"text\": \"public static void exportAll() throws Exception {\\n if (!build.cleanup()) {\\n return;\\n }\\n List projectList = getProjectList(getPaths(directory));\\n build.buildProject(projectList);\\n for (Project project : projectList) {\\n try {\\n System.out.println(project.toString());\\n build.buildRepoGraph(project);\\n } catch (Exception e) {\\n e.printStackTrace();\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"02065863d1c5cea2ce926c61a167872e\",\n \"score\": \"0.47649905\",\n \"text\": \"public void testTestCompile() throws Exception {\\n final File testDir = ResourceExtractor.simpleExtractResources( getClass(), \\\"/org/phpmaven/test/projects/source-copy\\\");\\n \\n final Verifier verifier = new Verifier( testDir.getAbsolutePath() );\\n \\n // delete the pom from previous runs\\n verifier.deleteArtifact( \\\"org.phpmaven.test\\\", \\\"source-copy\\\", \\\"0.0.1\\\", \\\"pom\\\" );\\n verifier.deleteArtifact( \\\"org.phpmaven.test\\\", \\\"source-copy\\\", \\\"0.0.1\\\", \\\"phar\\\" );\\n verifier.setAutoclean(true);\\n\\n verifier.executeGoal(\\\"test-compile\\\");\\n verifier.verifyErrorFreeLog();\\n verifier.resetStreams();\\n \\n verifier.assertFilePresent(\\\"target/test-classes/FooTest.php\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9ab105cbda89f9a0bd1a09d474718be3\",\n \"score\": \"0.47618887\",\n \"text\": \"@Override\\n\\tpublic byte[] createFileXlsx(ReportExcel report) throws Exception {\\n\\t\\tthis.mergeCalcoloCells = null;\\n\\t\\tbyte[] byteExcel = null;\\n\\t\\tXSSFWorkbook workbook = null;\\n\\t\\ttry {\\n\\t\\t\\tByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();\\n\\t\\t\\tboolean isCover = true;\\n\\t\\t\\tif (StringUtils.isNotBlank(this.pathCoverXlsx) && !report.isIgnoreCover()) {\\n\\t\\t\\t\\tInputStream inputstream = new FileInputStream(this.pathCoverXlsx);\\n\\t\\t\\t\\tworkbook = new XSSFWorkbook(inputstream);\\n\\t\\t\\t} else if (StringUtils.isNotBlank(this.resourcePathCoverXlsx) && !report.isIgnoreCover()) {\\n\\t\\t\\t\\tInputStream inputstream = getClass().getResourceAsStream(this.resourcePathCoverXlsx);\\n\\t\\t\\t\\tworkbook = new XSSFWorkbook(inputstream);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tworkbook = new XSSFWorkbook();\\n\\t\\t\\t\\tisCover = false;\\n\\t\\t\\t}\\n\\n\\t\\t\\tthis.setCoverParameters(report, byteArrayOutputStream, workbook, isCover);\\n\\t\\t\\tbyteExcel = byteArrayOutputStream.toByteArray();\\n\\t\\t} catch (Exception e) {\\n\\t\\t\\tthrow e;\\n\\t\\t} finally {\\n\\t\\t\\tif (workbook != null)\\n\\t\\t\\t\\tworkbook.close();\\n\\t\\t}\\n\\t\\treturn byteExcel;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"50c54773189377fe09484c20c13dde95\",\n \"score\": \"0.47570017\",\n \"text\": \"public void ScreenShot(ITestResult result) {\\n \\n try {\\n \\n String NewFileNamePath;\\n String methodName = result.getName();\\n \\n //Get current date time with Date() to create unique file name\\n SimpleDateFormat dateFormat = new SimpleDateFormat(\\n \\\"ddMMMyy__hhmmaa\\\");\\n // get current date time with Date()\\n Date date = new Date();\\n String rprtPrgm = BaseClass.program;\\n String rprtEnv = BaseClass.env;\\n \\n if (!(new File(BaseClass.directory.getCanonicalPath() + File.separator + \\\"reports\\\" + File.separator + rprtPrgm + \\\"_\\\" + rprtEnv + \\\"_\\\" + BaseClass.brwsr + File.separator + \\\"screenshots\\\")).exists()) {\\n new File(BaseClass.directory.getCanonicalPath() + File.separator + \\\"reports\\\" + File.separator + rprtPrgm + \\\"_\\\" + rprtEnv + \\\"_\\\" + BaseClass.brwsr + File.separator + \\\"screenshots\\\").mkdir();\\n }\\n \\n NewFileNamePath = BaseClass.directory.getCanonicalPath() + File.separator + \\\"reports\\\" + File.separator + rprtPrgm + \\\"_\\\" + rprtEnv + \\\"_\\\" + BaseClass.brwsr + File.separator + \\\"screenshots\\\"\\n + File.separator + methodName + \\\"_\\\" + dateFormat.format(date) + \\\".png\\\";\\n \\n System.out.println(NewFileNamePath);\\n \\n File screenshot = ((TakesScreenshot) BaseClass.driver).\\n getScreenshotAs(OutputType.FILE);\\n FileUtils.copyFile(screenshot, new File(NewFileNamePath));\\n Reporter.log(methodName + \\\" failed; Click on image to enlarge
\\\"\\n + \\\"\\\\\\\"\\\\\\\"\\\"
\\\");\\n Reporter.setCurrentTestResult(null);\\n } catch (IOException e) {\\n e.printStackTrace();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f467b7f9e29f819b3d3e9d2b4039cbb6\",\n \"score\": \"0.47565868\",\n \"text\": \"protected String getCompileFileName()\\r\\n/* 89: */ {\\r\\n/* 90:129 */ return \\\"anexoICE\\\";\\r\\n/* 91: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c13f8926608db767431beb2c923d48c9\",\n \"score\": \"0.475354\",\n \"text\": \"private void updateGlobalVariables()\\n {\\n if(this.codemonReference != null)\\n {\\n this.sourceDirectory = null;\\n this.codemonDirectory = null;\\n\\n this.sourceDirectory = this.codemonReference.sourceDirectory;\\n this.codemonDirectory = this.codemonReference.codemonDirectory;\\n this.sourceDirectoryString = this.codemonReference.sourceDirectoryString;\\n this.codemonDirectoryString = this.codemonReference.codemonDirectoryString;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f3f97439dce28554891e44ee06e9c9c1\",\n \"score\": \"0.47502652\",\n \"text\": \"public void packageSourse() throws IOException, InterruptedException {\\n\\t\\tSystem.out.println(\\\"开始生成hwt------\\\");\\n\\t\\tString winrarPath = \\\"C:/Program Files/WinRAR/WinRAR.exe\\\";\\n\\t\\tFile winrarFile = new File(winrarPath);\\n\\t\\tif(winrarFile.exists()){\\n\\t\\t\\tSystem.out.println(\\\"已经找到WinRAR.exe, 开始打包------\\\");\\n\\t\\t\\tFile contactsFile = new File(herePath + \\\"/com.android.contacts(1)\\\");\\n\\t\\t\\tFile incalluiFile = new File(herePath + \\\"/com.android.incallui(1)\\\");\\n\\t\\t\\tFile mmsFile = new File(herePath + \\\"/com.android.mms(1)\\\");\\n\\t\\t\\tFile phoneFile = new File(herePath + \\\"/com.android.phone(1)\\\");\\n\\t\\t\\tFile recorderFile = new File(herePath + \\\"/com.android.phone.recorder(1)\\\");\\n\\t\\t\\tFile telecomFile = new File(herePath + \\\"/com.android.server.telecom(1)\\\");\\n\\t\\t\\tFile systemuiFile = new File(herePath + \\\"/com.android.systemui(1)\\\");\\n\\t\\t\\tFile launcherFile = new File(herePath + \\\"/com.huawei.android.launcher(1)\\\");\\n\\t\\t\\tFile iconsFile = new File(herePath + \\\"/icons(1)\\\");\\n\\t\\t\\tList files = new ArrayList();\\n\\t\\t\\tfiles.add(contactsFile);\\n\\t\\t\\tfiles.add(incalluiFile);\\n\\t\\t\\tfiles.add(mmsFile);\\n\\t\\t\\tfiles.add(phoneFile);\\n\\t\\t\\tfiles.add(recorderFile);\\n\\t\\t\\tfiles.add(telecomFile);\\n\\t\\t\\tfiles.add(systemuiFile);\\n\\t\\t\\tfiles.add(launcherFile);\\n\\t\\t\\tfiles.add(iconsFile);\\n\\t\\t\\tfor (File f:files){\\n\\t\\t\\t\\tif(f.exists()){\\n\\t\\t\\t\\t\\tString packageName = f.getName().replace(\\\"(1)\\\", \\\"\\\");\\n\\t\\t\\t\\t\\tStringBuffer fl = new StringBuffer();\\n\\t\\t\\t\\t\\tFile[] subFileList = f.listFiles();\\n\\t\\t\\t\\t\\tif(subFileList != null && subFileList.length > 0){\\n\\t\\t\\t\\t\\t\\tfor (int i =0; i < subFileList.length; ++i){\\n\\t\\t\\t\\t\\t\\t\\tif(subFileList[i].getName().indexOf(\\\" \\\") >= 0){\\n\\t\\t\\t\\t\\t\\t\\t\\tSystem.out.println(\\\"存在可能异常的文件,请检查文件名:\\\" + subFileList[i].getName());\\n\\t\\t\\t\\t\\t\\t\\t\\tcontinue;\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\tfl.append(\\\" \\\" + subFileList[i].getName());\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\tFile indexFile = new File(f.getName());\\n\\t\\t\\t\\t\\t\\tSystem.out.println(f.getName());\\n\\t\\t\\t\\t\\t\\tSystem.out.println(\\\"正在打包\\\" + packageName);\\n\\t\\t\\t\\t\\t\\tSystem.out.println(winrarPath + \\\" a \\\" + packageName + \\\".zip\\\" + fl.toString());\\n\\t\\t\\t\\t\\t\\tProcess process = Runtime.getRuntime().exec(winrarPath + \\\" a \\\" + packageName + \\\".zip\\\" + fl.toString(), null, indexFile);\\n\\t\\t\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\t\\t\\tprocess.waitFor();\\n\\t\\t\\t\\t\\t\\t} catch (InterruptedException e) {\\n\\t\\t\\t\\t\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\t\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\tFile eeefile = new File(indexFile.getAbsolutePath() + \\\"/\\\" + packageName + \\\".zip\\\");\\n\\t\\t\\t\\t\\t\\tif(eeefile.renameTo(new File(herePath + \\\"/\\\" + eeefile.getName().replace(\\\".zip\\\", \\\"\\\")))){\\n\\t\\t\\t\\t\\t\\t\\tSystem.out.println(packageName + \\\" 打包成功\\\");\\n\\t\\t\\t\\t\\t\\t\\tString path = getHwtFile();\\n\\t\\t\\t\\t\\t\\t\\tString subPckageName = packageName;\\n\\t\\t\\t\\t\\t\\t\\tProcess process1 = null;\\n\\t\\t\\t\\t\\t\\t\\tif(path.endsWith(\\\".hwt\\\")){\\n\\t\\t\\t\\t\\t\\t\\t\\tprocess1 = Runtime.getRuntime().exec(winrarPath + \\\" a \\\" + path + \\\".zip \\\" + subPckageName);\\n\\t\\t\\t\\t\\t\\t\\t}else{\\n\\t\\t\\t\\t\\t\\t\\t\\tSystem.out.println(\\\"运行winrar:\\\" + winrarPath + \\\" a \\\" + path + \\\" \\\" + subPckageName);\\n\\t\\t\\t\\t\\t\\t\\t\\tprocess1 = Runtime.getRuntime().exec(winrarPath + \\\" a \\\" + path + \\\" \\\" + subPckageName);\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\tprocess1.waitFor();\\n\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t}else{\\n\\t\\t\\t\\t\\t\\t\\tSystem.out.println(packageName + \\\" 打包失败\\\");\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}else{\\n\\t\\t\\t\\t\\tSystem.out.println();\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\n\\t\\t}else{\\n\\t\\t\\tSystem.out.println(\\\"WinRAR.exe 找不到,请确认WinRAR路径是否正确\\\");\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"db8305b278b6c4b0d0ceb9ead2ca5205\",\n \"score\": \"0.47408178\",\n \"text\": \"public void execute() throws BuildException {\\r\\n // make sure we don't have an illegal set of options\\r\\n validateAttributes();\\r\\n File source_file = null;\\r\\n\\r\\n try {\\r\\n ExceptionPrinter.register(new TextExceptionPrinter());\\r\\n PrettyPrintFile ppf = new PrettyPrintFile();\\r\\n\\t\\t\\t\\tFixCRLF fixcrlf_task = (FixCRLF)project.createTask(\\\"fixcrlf\\\");\\r\\n\\r\\n configureFixCrlfTask( fixcrlf_task );\\r\\n\\r\\n ppf.setAsk(false);\\r\\n\\r\\n for (int i = 0; i < filesets.size(); i++) {\\r\\n FileSet fs = (FileSet) filesets.elementAt(i);\\r\\n DirectoryScanner ds = fs.getDirectoryScanner(project);\\r\\n File from_dir = fs.getDir(project);\\r\\n String[] src_files = ds.getIncludedFiles();\\r\\n\\r\\n for (int j = 0; j < src_files.length; j++) {\\r\\n source_file = new File( from_dir, src_files[j] );\\r\\n\\r\\n if ( shouldBeautify( source_file, from_dir ) ) {\\r\\n System.out.println(\\\"formatting:\\\" + source_file);\\r\\n ppf.setParserFactory(new FileParserFactory(source_file));\\r\\n\\r\\n // reformat\\r\\n ppf.apply(source_file);\\r\\n\\r\\n fixcrlf_task.setSrcdir(from_dir);\\r\\n fixcrlf_task.setIncludesfile(source_file);\\r\\n fixcrlf_task.execute();\\r\\n }\\r\\n }\\r\\n }\\r\\n }\\r\\n catch (Exception ex) {\\r\\n ex.printStackTrace();\\r\\n\\r\\n throw new BuildException(\\\"Cannot javastyle file=\\\"+source_file, location);\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e8942bf0591c77875d92603787af7c5e\",\n \"score\": \"0.47407877\",\n \"text\": \"public void compileComplete(final File compiledFile)\\n {\\n if (compiledFile != null)\\n {\\n try\\n {\\n System.out.println(\\\"Creating report...\\\");\\n\\n JasperReport jasperReport = (JasperReport)JRLoader.loadObject(compiledFile.getAbsoluteFile());\\n if (jasperReport != null)\\n {\\n System.out.println(\\\"Loaded report...\\\");\\n \\n Map parameters = new HashMap();\\n \\n parameters.put(\\\"RPT_IMAGE_DIR\\\", JasperReportsCache.getImagePath().getAbsolutePath());\\n parameters.put(\\\"SUBREPORT_DIR\\\", cachePath.getAbsoluteFile() + File.separator);\\n parameters.put(\\\"DATASOURCE\\\", dataSource);\\n \\n if (recordSet != null)\\n {\\n parameters.put(\\\"itemnum\\\", DBTableIdMgr.getInstance().getInClause(recordSet));\\n }\\n \\n // Add external parameters\\n if (params != null)\\n {\\n for (Object key : params.keySet())\\n {\\n //System.out.println(\\\"key[\\\"+key+\\\"] Val[\\\"+params.get(key)+\\\"]\\\");\\n parameters.put(key, params.get(key));\\n }\\n }\\n \\n // XXX What about losing a connection here?\\n if (requiresHibernate)\\n {\\n session = HibernateUtil.getNewSession();\\n parameters.put(JRHibernateQueryExecuterFactory.PARAMETER_HIBERNATE_SESSION, session);\\n }\\n\\n if (isAsynchronous)\\n {\\n System.out.println(\\\"Filling report asynchronously...\\\");\\n \\n //progressLabel.setText(getResourceString(\\\"JasperReportFilling\\\"));\\n if (recordSet != null)\\n {\\n asyncFillHandler = AsynchronousFillHandle.createHandle(jasperReport, parameters, DBConnection.getInstance().getConnection());\\n } else\\n {\\n asyncFillHandler = AsynchronousFillHandle.createHandle(jasperReport, parameters, dataSource);\\n }\\n asyncFillHandler.addListener(this);\\n asyncFillHandler.startFill();\\n \\n } else\\n {\\n System.out.println(\\\"Filling report synchronously...\\\");\\n JasperPrint jasperPrint;\\n if (recordSet != null)\\n {\\n jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, DBConnection.getInstance().getConnection());\\n } else\\n {\\n jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, dataSource);\\n }\\n \\n if (jasperPrint != null)\\n {\\n listener.complete(jasperPrint);\\n } else\\n {\\n listener.completedWithError();\\n }\\n }\\n \\n } else\\n {\\n log.error(\\\"jasperReport came back null [\\\"+compiledFile.getAbsolutePath()+\\\"]\\\");\\n //progressBar.setIndeterminate(false);\\n //setLabelText(getResourceString(\\\"JasperReportReadingCachedReport\\\"));\\n }\\n\\n } catch (JRException ex)\\n {\\n edu.ku.brc.af.core.UsageTracker.incrHandledUsageCount();\\n edu.ku.brc.exceptions.ExceptionTracker.getInstance().capture(JasperReportHelper.class, ex);\\n //setLabelText(getResourceString(\\\"JasperReportCreatingViewer\\\"));\\n log.error(ex);\\n ex.printStackTrace();\\n }\\n } else\\n {\\n //setLabelText(getResourceString(\\\"JasperReportCompileError\\\"));\\n }\\n compiler = null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"df4570223036910a102f98dab713c666\",\n \"score\": \"0.47327748\",\n \"text\": \"private void writeUpdateToDisk(WorkflowJob workflowJob, int buildNumber) throws IOException {\\n WorkflowRun workflowRun = workflowJob.getBuildByNumber(buildNumber);\\n if (workflowRun == null) {\\n LOG.log(Level.SEVERE,\\n \\\"build not found: {0}, pipeline config update is not written to disk.\\\", buildNumber);\\n return;\\n }\\n File buildRootDir = workflowJob.getBuildByNumber(buildNumber).getRootDir();\\n File timestampedRootDir = createNextTimestampedHistoryDir(workflowJob);\\n\\n //save build.xml\\n XmlFile buildDotXml = PluginUtils.getBuildXml(buildRootDir);\\n if (buildDotXml.exists()) {\\n copySingleFileToDestination(buildDotXml.getFile(), timestampedRootDir);\\n }\\n\\n //save libs folder (pipeline script libraries formerly pulled from scm)\\n File buildLibDir = PluginUtils.getLibDir(buildRootDir);\\n if (buildLibDir.exists()) {\\n copyRecursively(buildLibDir, new File(timestampedRootDir, \\\"libs\\\"));\\n }\\n\\n //get root script name\\n FlowDefinition flowDefinition = workflowJob.getDefinition();\\n String rootScriptName = (flowDefinition instanceof CpsScmFlowDefinition)\\n ? ((CpsScmFlowDefinition) flowDefinition).getScriptPath()\\n : \\\"Jenkinsfile\\\";\\n\\n //save history xml\\n savePipelineHistoryDescriptionToXmlFile(\\n new PipelineHistoryDescription(\\n timestampedRootDir.getName(),\\n workflowJob.getFullName(),\\n rootScriptName,\\n buildNumber\\n ),\\n getHistoryXmlFile(timestampedRootDir)\\n );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3297371dcc8912a2d659045fa547f06c\",\n \"score\": \"0.47323847\",\n \"text\": \"public void endReport() {\\n\\n\\t\\tExtendReport_Instance.flush();\\n\\n\\t\\ttry {\\n\\n\\t\\t\\tFile gb_objDirecotry = new File(\\\".\\\");\\n\\t\\t\\tString Project_path = gb_objDirecotry.getCanonicalPath();\\n\\t\\t\\tFileWriter writer = new FileWriter(Project_path + \\\"/Result_path.txt\\\");\\n\\t\\t\\twriter.write(\\\"\\\");\\n\\t\\t\\tString path = Report_Suite_HTMLs_Path.toString();\\n\\t\\t\\tString path2;\\n\\t\\t\\tpath2 = path.substring(62);\\n\\t\\t\\tSystem.out.println(path2);\\n\\t\\t\\twriter.write(path2);\\n\\t\\t\\twriter.close();\\n\\n\\t\\t\\tTemporaryFilesystem.getDefaultTmpFS().deleteTemporaryFiles();\\n\\n\\t\\t} catch (IOException e) {\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e164df61f13c029b483381dd94749f36\",\n \"score\": \"0.47320044\",\n \"text\": \"private void generateReRunBatFile() {\\n\\t\\t// TODO Auto-generated method stub\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a10d75b5a26f084bcdf6015a8ea6994\",\n \"score\": \"0.47265035\",\n \"text\": \"public ReportGenerator(String filename, String classesDir, String sourceDir, String reportDir, String projectDir) {\\n\\n\\t\\tprojectDirectory = new File(projectDir);\\n\\t\\tthis.title = projectDirectory.getName();\\n\\n\\t\\tpatt = \\\"**/R.class,**/R$*.class,**/BuildConfig.*,**/Manifest*.*,**/*Test*.*,android/**/*.*\\\";\\n\\t\\tregexes = patt.split(\\\",\\\");\\n\\t\\tthis.filename = filename;\\n\\t\\tthis.classesDirectory = new File(projectDirectory, classesDir != null ? classesDir : \\\"/app/build/intermediates/classes\\\");\\n\\t\\tthis.sourceDirectory = new File(projectDirectory, sourceDir != null ? sourceDir : \\\"/app/src/main/java\\\");\\n\\t\\tthis.reportDirectory = new File(projectDirectory, reportDir != null ? reportDir : \\\"../coveragereport\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cab837af96723f71e7b70352aae7f8f6\",\n \"score\": \"0.4717286\",\n \"text\": \"public static void zipReport (File srcDir , File destDir){\\n\\t\\tZipUtil.pack(srcDir , destDir);\\n System.out.println(\\\"File zipped ...\\\");\\n \\n //Unzip Files\\n File outputDir = new File(System.getProperty(\\\"user.dir\\\")+\\\"\\\\\\\\outfiles\\\");\\n if(!(outputDir.exists())){\\n \\toutputDir.mkdir();\\n }\\n ZipUtil.unpack(destDir, outputDir);\\n\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3172448f856aaaf7031bbb5201d738c\",\n \"score\": \"0.4716121\",\n \"text\": \"public void CreateReport() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"39301e790658549a5899c2e52ea6694b\",\n \"score\": \"0.47121227\",\n \"text\": \"@Override\\n public String getOutputDir() {\\n return outputDir;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2172d21ea22c6efefd490611a0ffabb1\",\n \"score\": \"0.4711445\",\n \"text\": \"public void monitorFolder(String outFolderName) {\\n\\t\\t//Where to put pretty reports\\n\\t\\tString res = new File(\\\"\\\").getAbsolutePath();\\n\\t\\n\\t\\tString [] aaa = new String[4];\\n\\t\\taaa[0] = \\\"-f\\\";\\n\\t\\taaa[1] = res + File.separatorChar + \\\"target\\\" ;\\n\\t\\taaa[2] = \\\"-o\\\";\\n\\t\\tString outFile = res + File.separatorChar + \\\"target\\\" + File.separatorChar + outFolderName + new Date().toString().replace(\\\":\\\", \\\"\\\").substring(0,16).replace(\\\" \\\", \\\"\\\");\\n\\t\\t\\n\\t\\t//Create folder\\n\\t\\tFile f = new File(outFile);\\n\\t\\tf.mkdirs();\\n\\t\\taaa[3] = outFile;\\n\\t\\ttry {\\n\\t\\t\\tCucumberReportMonitor.main(aaa);\\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}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"22237219aeca922bba4d0a92c37faf79\",\n \"score\": \"0.4711047\",\n \"text\": \"private static File prepareProject() throws IOException {\\n File result = new File(AllTests.TESTDATA_DIR_COPY, \\\"natures\\\");\\n result.mkdirs();\\n Utils.copyFile(ORIGINAL_FILE, getProjectFile(result));\\n return result;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"58f8fca42ab2936c5722965d1693b35e\",\n \"score\": \"0.4709449\",\n \"text\": \"void processBinary(IBinary binary) throws IOException, CoreException {\\n\\n ICElement parent = binary.getParent();\\n IResource buildTarget = parent.getResource();\\n System.err.println(\\\"Processing target = \\\" + buildTarget.getName());\\n\\n Path folderPath = Paths.get(buildTarget.getLocationURI().getPath());\\n // Process files\\n ArrayList callGraph = new ArrayList();\\n try {\\n processFiles(folderPath, callGraph);\\n } catch (Exception e) {\\n e.printStackTrace();\\n }\\n \\n final String callGraphFilename = \\\"call-graph.html\\\";\\n Path outputPath = folderPath.resolve(callGraphFilename);\\n HtmlWriter writer = new HtmlWriter(outputPath, folderPath.getFileName().toString());\\n writer.openBody();\\n writer.openSection();\\n writer.writeHeading(\\\"Folder:\\\" + folderPath.getFileName().toString(), 1);\\n \\n // Collect nodes from graph for lookup (using node.title)\\n HashMap nodes = new HashMap();\\n ArrayList edges = new ArrayList();\\n callGraph.forEach(new Consumer() {\\n\\n @Override\\n public void accept(Graph graph) {\\n graph.getNodes().forEach(new Consumer() {\\n @Override\\n public void accept(Node node) {\\n// if (node.getTitle().contains(\\\"console_initialise\\\")) {\\n// System.err.println(\\\"Found \\\"+node.getTitle());\\n// }\\n Node previousNode = nodes.get(node.getTitle());\\n if (previousNode != null) {\\n System.err.println(\\\"Found previous node P:\\\" + previousNode.toString());\\n System.err.println(\\\"Found previous node N:\\\" + node.toString());\\n if (node.getStackSizeType() == StackSizeType.Unknown) {\\n // Discard if not adding stack information\\n return;\\n }\\n }\\n nodes.put(node.getTitle(), node);\\n //System.out.print(String.format(\\\"%4d: \\\", ++nodeCount)+node.toString());\\n }\\n });\\n graph.getEdges().forEach(new Consumer() {\\n @Override\\n public void accept(Edge edge) {\\n edges.add(edge);\\n }\\n });\\n }\\n });\\n\\n// edges.sort(new Comparator() {\\n// @Override\\n// public int compare(Edge e1, Edge e2) {\\n// return e1.getSource().compareTo(e2.getSource());\\n// }\\n// });\\n\\n// writer.writeHeading(\\\"Function calls\\\", 2);\\n// for (Edge edge:edges) {\\n// writer.write(edge.toHtml());\\n// }\\n// \\n // Attach target nodes to nodes from edge information\\n callGraph.forEach(new Consumer() {\\n // Integer edgeCount=0;\\n\\n @Override\\n public void accept(Graph graph) {\\n graph.getEdges().forEach(new Consumer() {\\n @Override\\n public void accept(Edge edge) {\\n Node sourceNode = nodes.get(edge.getSource());\\n if (sourceNode == null) {\\n System.err.println(\\\"Failed to locate source node \\\"+edge.getSource());\\n return;\\n }\\n Node targetNode = nodes.get(edge.getTarget());\\n if (targetNode == null) {\\n System.err.println(\\\"Failed to locate target node \\\"+edge.getTarget());\\n return;\\n }\\n sourceNode.targetNodes.add(targetNode);\\n // System.out.println(String.format(\\\"%4d: %s ==> %s\\\", ++edgeCount, edge.source, edge.target));\\n }\\n });\\n }\\n });\\n\\n Node[] sortedNodes = nodes.values().toArray(new Node[0]);\\n\\n// Arrays.sort(sortedNodes, new Comparator() {\\n// @Override\\n// public int compare(Node o1, Node o2) {\\n// return o1.getLabel().compareToIgnoreCase(o2.getLabel());\\n// }\\n// });\\n// writer.writeHeading(\\\"Functions\\\", 2);\\n// for (Node node:sortedNodes) {\\n// writer.write(String.format(\\\"%s\\\", node.toHtml()));\\n// }\\n//\\n writer.writeHeading(\\\"Function Stack depth - by cost\\\", 2);\\n Arrays.sort(sortedNodes, new Comparator() {\\n @Override\\n public int compare(Node o1, Node o2) {\\n return Integer.compare(o2.getStackSize(), o1.getStackSize());\\n }\\n });\\n\\n for (Node node:sortedNodes) {\\n if (node.isReported()) {\\n continue;\\n }\\n node.writeMostExpensiveCallPathHtml(writer);\\n }\\n\\n// writer.writeHeading(\\\"Function Stack depth - alphabetic\\\", 2);\\n// writer.newline();\\n//\\n// Arrays.sort(sortedNodes, new Comparator() {\\n// @Override\\n// public int compare(Node o1, Node o2) {\\n// return o1.getLabel().compareToIgnoreCase(o2.getLabel());\\n// }\\n// });\\n//\\n// // int worseStack = 0;\\n// // Node worseNode = null;\\n//\\n// for (Node node:sortedNodes) {\\n// int cost = node.getStackSize();\\n// // if (cost>worseStack) {\\n// // worseNode = node;\\n// // worseStack = cost;\\n// // }\\n// writer.write(String.format(\\\"%5d = %s\\\", cost, node.getMostExpensiveCallPath()));\\n// writer.newline();\\n// }\\n writer.closeSection();\\n writer.closeBody();\\n writer.close();\\n \\n // Refresh workspace so file is visible\\n buildTarget.refreshLocal(1, null);\\n \\n // Open resulting file in editor\\n IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();\\n IPath path = buildTarget.getFullPath().append(callGraphFilename);\\n IDE.openEditor(page, ResourcesPlugin.getWorkspace().getRoot().getFile(path));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ba5ac229773749baae821a0c5d768a1\",\n \"score\": \"0.47051135\",\n \"text\": \"public void execute() throws MojoExecutionException, MojoFailureException {\\n \\t\\tpreProcess();\\n \\t\\tFile targetDirectory = getTargetDirectory();\\n \\t\\tFile sourceDirectory = getSourceDirectory();\\n \\t\\tif (!sourceDirectory.exists()) {\\n \\t\\t\\treturn; // No sources, so there is nothing to render.\\n \\t\\t}\\n \\t\\tif (!targetDirectory.exists()) {\\n \\t\\t\\torg.codehaus.plexus.util.FileUtils.mkdir(targetDirectory\\n \\t\\t\\t\\t\\t.getAbsolutePath());\\n \\t\\t}\\n \\t\\tDirectoryScanner scanner = new DirectoryScanner();\\n \\t\\tscanner.setBasedir(sourceDirectory);\\n \\t\\tscanner.setIncludes(getIncludes());\\n \\t\\tscanner.scan();\\n \\t\\tString[] included = scanner.getIncludedFiles();\\n \\t\\tCatalogManager catalogManager = createCatalogManager();\\n \\t\\tCatalogResolver catalogResolver = new CatalogResolver(catalogManager);\\n \\t\\tURIResolver uriResolver = null;\\n \\t\\ttry {\\n \\t\\t\\tURL url = getNonDefaultStylesheetURL() == null ? getDefaultStylesheetURL()\\n \\t\\t\\t\\t\\t: getNonDefaultStylesheetURL();\\n \\t\\t\\turiResolver = new StylesheetResolver(\\\"urn:docbkx:stylesheet\\\",\\n \\t\\t\\t\\t\\tnew StreamSource(url.openStream(), url.toExternalForm()),\\n \\t\\t\\t\\t\\tcatalogResolver);\\n \\t\\t} catch (IOException ioe) {\\n \\t\\t\\tthrow new MojoExecutionException(\\\"Failed to read stylesheet.\\\", ioe);\\n \\t\\t}\\n \\t\\tTransformerBuilder builder = createTransformerBuilder(uriResolver);\\n \\t\\tEntityResolver resolver = catalogResolver;\\n \\t\\tInjectingEntityResolver injectingResolver = null;\\n \\t\\tif (getEntities() != null) {\\n \\t\\t\\tinjectingResolver = new InjectingEntityResolver(getEntities(),\\n \\t\\t\\t\\t\\tresolver, getType(), getLog());\\n \\t\\t\\tresolver = injectingResolver;\\n \\t\\t}\\n \\t\\tSAXParserFactory factory = createParserFactory();\\n \\t\\tfor (int i = included.length - 1; i >= 0; i--) {\\n \\t\\t\\ttry {\\n \\t\\t\\t\\tif (injectingResolver != null) {\\n \\t\\t\\t\\t\\tinjectingResolver.forceInjection();\\n \\t\\t\\t\\t}\\n \\t\\t\\t\\tString filename = included[i];\\n \\t\\t\\t\\tString targetFilename = filename.substring(0,\\n \\t\\t\\t\\t\\t\\tfilename.length() - 4)\\n \\t\\t\\t\\t\\t\\t+ \\\".\\\" + getTargetFileExtension();\\n \\t\\t\\t\\tFile targetFile = new File(targetDirectory, targetFilename);\\n \\t\\t\\t\\tFile sourceFile = new File(sourceDirectory, filename);\\n \\t\\t\\t\\tif (!targetFile.exists()\\n \\t\\t\\t\\t\\t\\t|| (targetFile.exists() && FileUtils.isFileNewer(\\n \\t\\t\\t\\t\\t\\t\\t\\tsourceFile, targetFile))) {\\n Result result = new StreamResult(targetFile.getAbsolutePath());\\n \\t\\t\\t\\t\\tXMLReader reader = factory.newSAXParser().getXMLReader();\\n \\t\\t\\t\\t\\treader.setEntityResolver(resolver);\\n \\t\\t\\t\\t\\tPreprocessingFilter filter = new PreprocessingFilter(reader);\\n \\t\\t\\t\\t\\tProcessingInstructionHandler resolvingHandler = new ExpressionHandler(\\n \\t\\t\\t\\t\\t\\t\\tnew VariableResolver() {\\n \\n \\t\\t\\t\\t\\t\\t\\t\\tprivate Map tree = ExpressionUtils\\n \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t.createTree(getMavenProject()\\n \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t.getProperties());\\n \\n \\t\\t\\t\\t\\t\\t\\t\\tpublic Object resolveVariable(String name)\\n \\t\\t\\t\\t\\t\\t\\t\\t\\t\\tthrows ELException {\\n \\t\\t\\t\\t\\t\\t\\t\\t\\tif (\\\"date\\\".equals(name)) {\\n \\t\\t\\t\\t\\t\\t\\t\\t\\t\\treturn DateFormat.getDateInstance(\\n \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tDateFormat.LONG).format(\\n \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tnew Date());\\n \\t\\t\\t\\t\\t\\t\\t\\t\\t} else if (\\\"project\\\".equals(name)) {\\n \\t\\t\\t\\t\\t\\t\\t\\t\\t\\treturn getMavenProject();\\n \\t\\t\\t\\t\\t\\t\\t\\t\\t} else {\\n \\t\\t\\t\\t\\t\\t\\t\\t\\t\\treturn tree.get(name);\\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}, getLog());\\n \\t\\t\\t\\t\\tfilter.setHandlers(Arrays\\n \\t\\t\\t\\t\\t\\t\\t.asList(new Object[] { resolvingHandler }));\\n \\t\\t\\t\\t\\tfilter.setEntityResolver(resolver);\\n \\t\\t\\t\\t\\tgetLog().info(\\\"Processing \\\" + filename);\\n \\n \\t\\t\\t\\t\\tSAXSource xmlSource = null;\\n \\t\\t\\t\\t\\t// if both properties are set, XOM is used for a better\\n \\t\\t\\t\\t\\t// XInclude support.\\n \\t\\t\\t\\t\\tif (getXIncludeSupported()\\n \\t\\t\\t\\t\\t\\t\\t&& getGeneratedSourceDirectory() != null) {\\n getLog().debug(\\\"Advanced XInclude mode entered\\\");\\n \\t\\t\\t\\t\\t\\tfinal Builder xomBuilder = new Builder();\\n \\t\\t\\t\\t\\t\\ttry {\\n \\t\\t\\t\\t\\t\\t\\tfinal nu.xom.Document doc = xomBuilder\\n \\t\\t\\t\\t\\t\\t\\t\\t\\t.build(sourceFile);\\n \\t\\t\\t\\t\\t\\t\\tXIncluder.resolveInPlace(doc);\\n \\t\\t\\t\\t\\t\\t\\t// TODO also dump PIs computed and Entities included\\n \\t\\t\\t\\t\\t\\t\\tfinal File dump = dumpResolvedXML(filename, doc);\\n \\t\\t\\t\\t\\t\\t\\txmlSource = new SAXSource(filter, new InputSource(\\n \\t\\t\\t\\t\\t\\t\\t\\t\\tdump.getAbsolutePath()));\\n \\t\\t\\t\\t\\t\\t} catch (ValidityException e) {\\n \\t\\t\\t\\t\\t\\t\\tthrow new MojoExecutionException(\\n \\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"Failed to validate source\\\", e);\\n \\t\\t\\t\\t\\t\\t} catch (ParsingException e) {\\n \\t\\t\\t\\t\\t\\t\\tthrow new MojoExecutionException(\\n \\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"Failed to parse source\\\", e);\\n \\t\\t\\t\\t\\t\\t} catch (IOException e) {\\n \\t\\t\\t\\t\\t\\t\\tthrow new MojoExecutionException(\\n \\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"Failed to read source\\\", e);\\n \\t\\t\\t\\t\\t\\t} catch (XIncludeException e) {\\n \\t\\t\\t\\t\\t\\t\\tthrow new MojoExecutionException(\\n \\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"Failed to process XInclude\\\", e);\\n \\t\\t\\t\\t\\t\\t}\\n \\t\\t\\t\\t\\t} else // else fallback on Xerces XInclude support.\\n \\t\\t\\t\\t\\t{\\n getLog().debug(\\\"Xerces XInclude mode entered\\\");\\n \\t\\t\\t\\t\\t\\tInputSource inputSource = new InputSource(sourceFile\\n \\t\\t\\t\\t\\t\\t\\t\\t.getAbsolutePath());\\n \\t\\t\\t\\t\\t\\txmlSource = new SAXSource(filter, inputSource);\\n \\t\\t\\t\\t\\t}\\n \\t\\t\\t\\t\\tTransformer transformer = builder.build();\\n \\t\\t\\t\\t\\tadjustTransformer(transformer,\\n \\t\\t\\t\\t\\t\\t\\tsourceFile.getAbsolutePath(), targetFile);\\n \\t\\t\\t\\t\\ttransformer.transform(xmlSource, result);\\n \\t\\t\\t\\t\\tpostProcessResult(targetFile);\\n getLog().debug(targetFile + \\\" has been generated.\\\");\\n \\t\\t\\t\\t} else {\\n \\t\\t\\t\\t\\tgetLog().debug(targetFile + \\\" is up to date.\\\");\\n \\t\\t\\t\\t}\\n \\t\\t\\t} catch (SAXException saxe) {\\n \\t\\t\\t\\tthrow new MojoExecutionException(\\\"Failed to parse \\\"\\n \\t\\t\\t\\t\\t\\t+ included[i] + \\\".\\\", saxe);\\n \\t\\t\\t} catch (TransformerException te) {\\n \\t\\t\\t\\tthrow new MojoExecutionException(\\\"Failed to transform \\\"\\n \\t\\t\\t\\t\\t\\t+ included[i] + \\\".\\\", te);\\n \\t\\t\\t} catch (ParserConfigurationException pce) {\\n \\t\\t\\t\\tthrow new MojoExecutionException(\\\"Failed to construct parser.\\\",\\n \\t\\t\\t\\t\\t\\tpce);\\n \\t\\t\\t}\\n \\t\\t}\\n \\t\\tpostProcess();\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e56a559b290aa0329868e2334953103b\",\n \"score\": \"0.47050083\",\n \"text\": \"public void bake() throws Exception {\\n\\t\\tlong start = new Date().getTime();\\n\\t\\tSystem.out.println(\\\"Baking has started...\\\");\\n\\n\\t\\t// process source content\\n\\t\\tCrawler crawler = new Crawler(source, config);\\n\\t\\tcrawler.crawl(contentsPath);\\n\\t\\tList> pages = crawler.getPages();\\n\\t\\tList> posts = crawler.getPosts();\\n\\n\\t\\t// sort posts\\n\\t\\tCollections.sort(posts, SortUtil.getComparator(REVERSE));\\n\\n\\t\\tRenderer renderer = new Renderer(source, destination, templatesPath, config, posts, pages);\\n\\n\\t\\tint renderedCount = 0;\\n\\t\\tint errorCount = 0;\\n\\t\\t\\n\\t\\t// render all pages\\n\\t\\tfor (Map page : pages) {\\n\\t\\t\\t// TODO: could add check here to see if rendering needs to be done again\\n\\t\\t\\ttry {\\n\\t\\t\\t\\trenderer.render(page);\\n\\t\\t\\t\\trenderedCount++;\\n\\t\\t\\t} catch (Exception e) {\\n\\t\\t\\t\\terrorCount++;\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\t// render all posts\\n\\t\\tfor (Map post : posts) {\\n\\t\\t\\t// TODO: could add check here to see if rendering needs to be done again\\n\\t\\t\\ttry {\\n\\t\\t\\t\\trenderer.render(post);\\n\\t\\t\\t\\trenderedCount++;\\n\\t\\t\\t} catch (Exception e) {\\n\\t\\t\\t\\terrorCount++;\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\t// only interested in published posts from here on\\n\\t\\tList> publishedPosts = Filter.getPublishedPosts(posts);\\n\\n\\t\\t// write index file\\n\\t\\tif (config.getBoolean(\\\"render.index\\\")) {\\n\\t\\t\\trenderer.renderIndex(publishedPosts, config.getString(\\\"index.file\\\"));\\n\\t\\t}\\n\\n\\t\\t// write feed file\\n\\t\\tif (config.getBoolean(\\\"render.feed\\\")) {\\n\\t\\t\\trenderer.renderFeed(publishedPosts, config.getString(\\\"feed.file\\\"));\\n\\t\\t}\\n\\n\\t\\t// write master archive file\\n\\t\\tif (config.getBoolean(\\\"render.archive\\\")) {\\n\\t\\t\\trenderer.renderArchive(publishedPosts, config.getString(\\\"archive.file\\\"));\\n\\t\\t}\\n\\n\\t\\t// write tag files \\n\\t\\tif (config.getBoolean(\\\"render.tags\\\")) {\\n\\t\\t\\trenderer.renderTags(crawler.getPostsByTags(), config.getString(\\\"tag.path\\\"));\\n\\t\\t}\\n\\n\\t\\t// copy assets\\n\\t\\tAsset asset = new Asset(source, destination);\\n\\t\\tasset.copy(assetsPath);\\n\\n\\t\\tSystem.out.println(\\\"...finished!\\\");\\n\\t\\tlong end = new Date().getTime();\\n\\t\\tSystem.out.println(\\\"Baked \\\" + renderedCount + \\\" items in \\\" + (end-start) + \\\"ms\\\");\\n\\t\\tif (errorCount > 0) {\\n\\t\\t\\tSystem.out.println(\\\"Failed to bake \\\" + errorCount + \\\" item(s)!\\\");\\n\\t\\t}\\n//\\t\\tSystem.out.println(\\\"Baking took: \\\" + (end-start) + \\\"ms\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b53f47dcab43cee77ea9f7fb3ed6391d\",\n \"score\": \"0.47046003\",\n \"text\": \"private void setResultDir(String resDir) {\\n String os = System.getProperty(\\\"os.name\\\").toLowerCase();\\n if (os.contains(\\\"win\\\")) {\\n resDir = resDir + \\\"\\\\\\\\\\\";\\n sharedInformation.setOS(Constants.WINDOWS);\\n } else {\\n resDir = resDir + \\\"/\\\";\\n sharedInformation.setOS(Constants.OTHEROS);\\n }\\n PathConstants.resultDirectory = resDir;\\n newProjectDialog.setEnableGenoPhenoSelection(true);\\n sharedInformation.getLogger().info(\\\"Project created\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1360869c603eb7c8b12aebba5ab013b\",\n \"score\": \"0.46955487\",\n \"text\": \"public void copyDataDir() {\\n\\t\\tthis.copyDataDir(TicklerVars.dataDir);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"696dfa93b27aaf287d4fb9f9004e8a17\",\n \"score\": \"0.46912986\",\n \"text\": \"private ExtentReport()\\n\\t{\\n\\t\\tSimpleDateFormat formatter = new SimpleDateFormat(\\\"MMddyyyy_ hh_mm_ss\\\");\\n\\t\\tDate date = new Date();\\n\\t\\tString currentDate = formatter.format(date);\\n\\t\\t\\n\\t\\treport=new ExtentReports(\\\".\\\\\\\\ExtentReports\\\\\\\\Test Report_\\\"+currentDate+\\\".html\\\");\\n\\t\\treport.loadConfig(new File(\\\".\\\\\\\\src//main//resources//extentreport.xml\\\"));\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":367,"cells":{"query_id":{"kind":"string","value":"c5d80b20e420fbfb89a8d59c2a822c94"},"query":{"kind":"string","value":"overwritten read method calls in.read to fill the buffer Parameters: takes in a char [] buffer, int length and int from the last character of the comment Returns: the number of characters to read"},"positive_passages":{"kind":"list like","value":[{"docid":"c862a1bc6a462af696a732772cc7d0a3","score":"0.68647456","text":"public int read(char[] buf, int from, int len) throws IOException {\n\t\tint numChars = 0;\n\n\t\twhile (numChars == 0) {\n\t\t\tnumChars = in.read(buf, from, len);\n\t\t\tif (numChars == -1) \n\t\t\t\treturn -1;\n\t\t\t\n\t\t\tint last = from; // set the last character to read \n\n\t\t\tfor (int i = from; i < from + numChars; i++) {\n\t\t\t\tif (!commentFlag) { // if we arent in a comment \n\t\t\t\t\tif (buf[i] == '/' && buf[i+1] == '/') { // check \n\t\t\t\t\t\ti = i+2;\n\t\t\t\t\t\twhile (buf[i] != '\\n') {\n\t\t\t\t\t\t\tbuf[i] = 0;\n\t\t\t\t\t\t\ti++;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t//buf[i] = 0;\n\t\t\t\t\t\t\n\t\t\t\t\t\tcommentFlag = true; // flag \n\t\t\t\t\t}\n\t\t\t\t\tcommentFlag = false; // reset the flag \n\t\t\t\t\tif (buf[i] == '/' && buf[i+1] == '*') {\n\t\t\t\t\t\twhile (buf[i] != '/') {\n\t\t\t\t\t\t\tbuf[i] = '\\n';\n\t\t\t\t\t\t\ti++;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t//buf[i] = '\\n';\n\t\t\t\t\t\tcommentFlag = true;\n\t\t\t\t\t} else {\n\t\t\t\t\t\t//buf[last] = '\\n';\n\t\t\t\t\t\tbuf[last++] = buf[i];\n\n\t\t\t\t\t}\n\t\t\t\t} else if (buf[i] == '*' && buf[i+1] == '/') {\n\t\t\t\t\tbuf[i] = buf[i++];\n\t\t\t\t\tcommentFlag = false;\n\t\t\t\t} \n\t\t\t}\n\t\t\tnumChars = last - from; // calculate remaining characters \n\t\t}\n\t\treturn numChars;\n\t}","title":""}],"string":"[\n {\n \"docid\": \"c862a1bc6a462af696a732772cc7d0a3\",\n \"score\": \"0.68647456\",\n \"text\": \"public int read(char[] buf, int from, int len) throws IOException {\\n\\t\\tint numChars = 0;\\n\\n\\t\\twhile (numChars == 0) {\\n\\t\\t\\tnumChars = in.read(buf, from, len);\\n\\t\\t\\tif (numChars == -1) \\n\\t\\t\\t\\treturn -1;\\n\\t\\t\\t\\n\\t\\t\\tint last = from; // set the last character to read \\n\\n\\t\\t\\tfor (int i = from; i < from + numChars; i++) {\\n\\t\\t\\t\\tif (!commentFlag) { // if we arent in a comment \\n\\t\\t\\t\\t\\tif (buf[i] == '/' && buf[i+1] == '/') { // check \\n\\t\\t\\t\\t\\t\\ti = i+2;\\n\\t\\t\\t\\t\\t\\twhile (buf[i] != '\\\\n') {\\n\\t\\t\\t\\t\\t\\t\\tbuf[i] = 0;\\n\\t\\t\\t\\t\\t\\t\\ti++;\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t//buf[i] = 0;\\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\tcommentFlag = true; // flag \\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tcommentFlag = false; // reset the flag \\n\\t\\t\\t\\t\\tif (buf[i] == '/' && buf[i+1] == '*') {\\n\\t\\t\\t\\t\\t\\twhile (buf[i] != '/') {\\n\\t\\t\\t\\t\\t\\t\\tbuf[i] = '\\\\n';\\n\\t\\t\\t\\t\\t\\t\\ti++;\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t//buf[i] = '\\\\n';\\n\\t\\t\\t\\t\\t\\tcommentFlag = true;\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t//buf[last] = '\\\\n';\\n\\t\\t\\t\\t\\t\\tbuf[last++] = buf[i];\\n\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t} else if (buf[i] == '*' && buf[i+1] == '/') {\\n\\t\\t\\t\\t\\tbuf[i] = buf[i++];\\n\\t\\t\\t\\t\\tcommentFlag = false;\\n\\t\\t\\t\\t} \\n\\t\\t\\t}\\n\\t\\t\\tnumChars = last - from; // calculate remaining characters \\n\\t\\t}\\n\\t\\treturn numChars;\\n\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"7fc5849151dfd9091f4733e10a6fe7c6","score":"0.64727426","text":"private int read(char[] buffer, int offset, int length)\n\t\tthrows IOException\n\t{\n\t\tint result = 0;\n\t\twhile(result < length)\n\t\t{\n\t\t\tint l = in.read(buffer, offset + result, length - result);\n\t\t\tif(l == -1) break;\n\t\t\tresult += l;\n\t\t}\n\n\t\treturn result;\n\t}","title":""},{"docid":"e2d5811c973d3cd6ae28cd153eee456b","score":"0.6263244","text":"private int readBuffer() throws IOException {\n\t\tif (pos == -1)\n\t\t\treturn 0;\n\n\t\t// skip first line, except end of line\n\t\tif (pos == 0)\n\t\t\tpos += in.skip(15);\n\n\t\t// temporary value\n\t\tint b = 0;\n\n\t\t// skip end of line\n\t\twhile (true) {\n\t\t\tb = in.read();\n\t\t\tpos++;\n\n\t\t\tif (b != '\\n' && b != '\\r') {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\t/*\n\t\t * Each line starts with comma (':')\n\t\t * Data is written in HEX, so each 2 ASCII letters give one byte.\n\t\t * After the comma there is one byte (2 HEX signs) with line length (normally 10 -> 0x10 -> 16 bytes -> 32 HEX characters)\n\t\t * After that there is a 4 byte of an address. This part may be skipped.\n\t\t * There is a packet type after the address (1 byte = 2 HEX characters). 00 is the valid data. Other values can be skipped when converting to BIN file.\n\t\t * Then goes n bytes of data followed by 1 byte (2 HEX chars) of checksum, which is also skipped in BIN file.\n\t\t */\n\t\tcheckComma(b); // checking the comma at the beginning\n\t\tfinal int lineSize = readByte(); // reading the length of the data in this line\n\t\tpos += 2;\n\t\tpos += in.skip(4); // skipping address part\n\t\tfinal int type = readByte(); // reading the line type\n\t\tpos += 2;\n\n\t\t// if the line type is no longer data type (0x00), we've reached the end of the file\n\t\tif (type != 0) {\n\t\t\tpos = -1;\n\t\t\treturn 0;\n\t\t}\n\t\t// otherwise read lineSize bytes or fill the whole buffer\n\t\tfor (int i = 0; i < localBuf.length && i < lineSize; ++i) {\n\t\t\tb = readByte();\n\t\t\tpos += 2;\n\t\t\tlocalBuf[i] = (byte) b;\n\t\t}\n\t\tpos += in.skip(2); // skip the checksum\n\t\tlocalPos = 0;\n\n\t\treturn lineSize;\n\t}","title":""},{"docid":"9d669b0209db2aac317b486028167f1d","score":"0.62454253","text":"@Override\r\n public int read() throws IOException {\r\n int c = in.read();\r\n if (announceChars != -1) Announce.progressAt(announceChars++);\r\n switch (c) {\r\n case -1:\r\n return (-1);\r\n case '<': {\r\n StringBuilder t = new StringBuilder();\r\n while ((c = in.read()) == '/' || c == '!' || c == '-' || Character.isLetterOrDigit(c)) {\r\n t.append((char) c);\r\n }\r\n if (announceChars != -1) Announce.progressAt(announceChars += t.length());\r\n if (t.length() > 0 && t.charAt(t.length() - 1) == '/') t.setLength(t.length() - 1);\r\n tag = t.toString().toUpperCase();\r\n if (tag.equals(\"!--\")) {\r\n scrollTo(\"-->\");\r\n return (read());\r\n }\r\n t.setLength(0);\r\n while (c != -1 && c != '>')\r\n t.append((char) (c = in.read()));\r\n if (announceChars != -1) Announce.progressAt(announceChars += t.length());\r\n if (t.length() > 0) t.setLength(t.length() - 1);\r\n tagContent = Char17.decodePercentage(Char17.decodeAmpersand(t.toString()));\r\n if (tag.equals(\"SCRIPT\")) {\r\n scrollToTag(\"/SCRIPT\");\r\n return (read());\r\n }\r\n if (skipSTYLE && tag.equals(\"STYLE\")) {\r\n scrollToTag(\"/STYLE\");\r\n return (read());\r\n }\r\n return (-2);\r\n }\r\n case '&': {\r\n String a = \"&\";\r\n while (!Character.isWhitespace((char) (c = in.read())) && c != ';' && c != -1)\r\n a += (char) c;\r\n c = Char17.decodeAmpersandChar(a);\r\n if (c == -1) c = 0;\r\n if (announceChars != -1) Announce.progressAt(announceChars += a.length());\r\n return (c);\r\n }\r\n default:\r\n return (c);\r\n }\r\n }","title":""},{"docid":"35671d6a08de215cd031bce13ac2b9fa","score":"0.62377113","text":"public void readBuffer() throws MessagingException {\n while (true) {\n int ch = nextByte();\n // potential end of line? Check the next character, and if it is an end of line,\n // we need to do literal processing.\n if (ch == '\\r') {\n int next = nextByte();\n if (next == '\\n') {\n // had a line break, which might be part of a literal marker. Check for the signature,\n // and if we found it, continue with the next line. In any case, we're done with processing here.\n checkLiteral();\n return;\n }\n }\n // write this to the buffer.\n out.write(ch);\n }\n }","title":""},{"docid":"efed76160d4ec2caa98ef93e99bd35b5","score":"0.59791976","text":"@Override\r\n\t\tpublic boolean BUFFER_READ(BufferedReader bufferedReader) {\n\t\t\tint count;\r\n\t\t\tchar[] buffer = new char[1024*100]; ;\r\n \t\ttry {\r\n\t\t\t\tif((count = bufferedReader.read(buffer)) >= 0)\r\n\t\t\t\t{\r\n\t\t\t\t\tif(count == 0)\r\n \t\t\t{\r\n \t\t\t\tLMSLog.d(DEBUG_TAG,\"why count== 0\");\r\n \t\t\t}\r\n \t\t\telse\r\n \t\t\t{\r\n \t\t\t\treadString = new String(buffer,0,count); \r\n \t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\treturn true;\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t\treturn false;\r\n\t\t\t} catch (IOException e) {\r\n\t \t\tLMSLog.exception(e);\r\n\t\t\t}\r\n\t\t\treturn false;\r\n\t\t}","title":""},{"docid":"1bae7d5e1640db3618585527532192a1","score":"0.5901877","text":"protected final void scanComment() throws IOException, XNIException {\n/* 843 */ this.fReportEntity = false;\n/* 844 */ scanComment(this.fStringBuffer);\n/* 845 */ this.fMarkUpDepth--;\n/* */ \n/* */ \n/* 848 */ if (this.fDTDHandler != null) {\n/* 849 */ this.fDTDHandler.comment(this.fStringBuffer, null);\n/* */ }\n/* 851 */ this.fReportEntity = true;\n/* */ }","title":""},{"docid":"176f0d8cf629c452cc2e2f29b0db3565","score":"0.5876931","text":"int read(byte[] buffer, int offset, int length) throws java.io.IOException;","title":""},{"docid":"2ca6aaf79f0057aa7c59ddaf5257c2cc","score":"0.5816187","text":"int read(byte[] buffer) throws IOException;","title":""},{"docid":"fe4433a8b2eba8cd17a72f5b1cc2be74","score":"0.57375616","text":"public int read() {\r\n int ch = this.temp[this.cursor++];\r\n if (this.has(COMMENTS)) {\r\n ch = this.parsePastWhitespace(ch);\r\n }\r\n return ch;\r\n }","title":""},{"docid":"3c88631cc92521be3c6679eaf4056da8","score":"0.5611282","text":"@Override\n public String read() {\n String message = null;\n int index = mBuffer.indexOf(mDelimiter, 0);\n if (index > -1) {\n int len = index + mDelimiter.length();\n message = mBuffer.substring(0, len);\n mBuffer.delete(0, len);\n }\n return message;\n }","title":""},{"docid":"b405e91df2a4800b055c73e010902637","score":"0.55956936","text":"private void processComment() {\n while (this.commentLevel > 0) {\n // check for eof\n if (this.position >= this.src.length()) {\n return;\n }\n\n if (this.checkForOpeningComment()) {\n this.commentLevel++;\n } else if (this.checkForClosingComment()) {\n this.commentLevel--;\n }\n this.position++;\n }\n }","title":""},{"docid":"811ad204aeb7003d57eeb2bfb7641e54","score":"0.5563412","text":"public int read ( char[] cbuf, int off, int len )\n {\n\n int n;\n\n if ((n = ensure( len )) == 0)\n return -1;\n\n if (cbuf == null || len <= 0)\n return 0;\n\n if (n < len)\n len = n;\n\n if (_out < _in)\n {\n System.arraycopy( _buf, _out, cbuf, off, len );\n }\n else\n {\n int chunk = _buf.length - _out;\n\n if (chunk >= len)\n System.arraycopy( _buf, _out, cbuf, off, len );\n else\n {\n System.arraycopy( _buf, _out, cbuf, off, chunk );\n System.arraycopy( _buf, 0, cbuf, off + chunk, len - chunk );\n }\n }\n\n _out = (_out + len) % _buf.length;\n _free += len;\n\n assert _free >= 0;\n\n return len;\n }","title":""},{"docid":"9ac8aa3a85cba9674810f5113db1897c","score":"0.556259","text":"protected void getBuff(int fragment) throws IOException\r\n {\r\n new Thread()\r\n {\r\n public void run() {\r\n String[] param = new String[2];\r\n param[0] = String.valueOf(fileName);\r\n param[1] = String.valueOf(fragment);\r\n\r\n JsonObject jsonRet = proxy.synchExecution(\"getSongChunk\", param);\r\n String s = jsonRet.get(\"ret\").getAsString();\r\n nextBuf = Base64.getDecoder().decode(s);\r\n sem.release(); \r\n System.out.println(\"Read buffer\");\r\n }\r\n }.start();\r\n \r\n }","title":""},{"docid":"99338e4ecf5ee241d7532a987ab380ac","score":"0.5542129","text":"private String readAndParseLine(final BufferedReader bReader) throws IOException {\n String strLine = bReader.readLine();\n String strToReturn = \"\";\n boolean foundEndOfComment = false;\n\n if (strLine == null) {\n return null;\n }\n\n if (strLine.contains(\"/*\")) {\n // handle block comments\n if (strLine.trim().indexOf(\"/*\") > 0) {\n strToReturn = strLine.substring(0,strLine.trim().indexOf(\"/*\"));\n }\n if (strLine.contains(\"*/\")) {\n foundEndOfComment = true;\n }\n while (!foundEndOfComment) {\n strLine = bReader.readLine();\n if (strLine == null) {\n return null;\n }\n if (strLine.contains(\"*/\")) {\n foundEndOfComment = true;\n }\n }\n } else {\n strToReturn = strLine;\n }\n return strToReturn;\n }","title":""},{"docid":"34c338fb161cb4c544f035b4bec29b02","score":"0.55344415","text":"@Override\n public int read() throws IOException {\n checkIfClosed();\n if (position >= count) {\n refillBuffer();\n }\n if (count < 0) {\n return -1;\n }\n return buffer[position++];\n }","title":""},{"docid":"088bf9aa68bbdcd0e2bcb71f79741717","score":"0.5529737","text":"public int read()\n throws IOException\n {\n if (spaceCount>0)\n {\n spaceCount--;\n return SPACE;\n }\n \n int c = in.read();\n if (c==SPACE)\n {\n while ((c = in.read())==SPACE) \n spaceCount++;\n if (c==LF || c==CR || c==-1)\n spaceCount = 0;\n else\n {\n ((PushbackInputStream)in).unread(c);\n c = SPACE;\n }\n return c;\n }\n if (c==EQ)\n {\n int c2 = super.in.read();\n if (c2==LF)\n return read();\n if (c2==CR)\n {\n int peek = in.read();\n if (peek!=LF)\n ((PushbackInputStream)in).unread(peek);\n return read();\n }\n if (c2==-1)\n return c2;\n \n buf[0] = (byte)c2;\n buf[1] = (byte)in.read();\n try\n {\n return Integer.parseInt(new String(buf, 0, 2), 16);\n }\n catch (NumberFormatException e)\n {\n ((PushbackInputStream)in).unread(buf);\n }\n return c;\n }\n else\n return c;\n }","title":""},{"docid":"bb08aba4d8fd637c1c1d59ecaa23ae38","score":"0.551693","text":"protected void fill()\n throws IOException {\n pos = 0;\n count = 0;\n int nRead = input.read(buf, 0, buf.length);\n if (nRead > 0) {\n count = nRead;\n }\n }","title":""},{"docid":"2f120cc34538ba7675f3e16d7e6a56d1","score":"0.55070627","text":"private void refillBuffer() throws IOException {\n count = in.read(buffer);\n position = 0;\n }","title":""},{"docid":"6244878ecf7d58c459cdb1171f4e571c","score":"0.54954886","text":"abstract public char read ( int thePosition ) throws java.io.IOException;","title":""},{"docid":"95f2315428d45818345a16d0b94b7915","score":"0.5483942","text":"public int readChunk( byte[] buffer, int off, int len ) throws IOException {\r\n \t\tint z;\r\n \t\tif( chunkLeft == 0 ) {\r\n \t\t\t// Then read the next one!\r\n \t\t\tString[] c = readCmd();\r\n \t\t\tif( c.length == 0 ) {\r\n \t\t\t\tthrow new IOException(\"Zero-length command!\");\r\n \t\t\t}\r\n \t\t\tif( \"end-chunks\".equals(c[0]) ) {\r\n \t\t\t\treturn -1;\r\n \t\t\t}\r\n \t\t\tif( !\"chunk\".equals(c[0]) ) {\r\n \t\t\t\tthrow new IOException(\"Not a chunk! \"+c[0]);\r\n \t\t\t}\r\n \t\t\tchunkLeft = Integer.parseInt(c[1]);\r\n \t\t}\r\n \t\tz = is.read(buffer, off, Math.min( len, chunkLeft ) );\r\n \t\tif( z == -1 ) throw new IOException(\"Hit end of stream while reading chunk\");\r\n \t\tchunkLeft -= z;\r\n \t\treturn z;\r\n \t}","title":""},{"docid":"bba565d8008ed464d5e33951d3d21e86","score":"0.547403","text":"public int read(char[] buf, int n) {\n int total = 0;\n while (total < n) {\n // if pointer < count, which means there are still remaining datas in tmp since last read\n if (pointer == count) {\n pointer = 0; // Reset interval buffer's pointer to the beginning\n count = read4(tmp);\n if (count == 0) {\n break;\n } \n }\n buf[total++] = tmp[pointer++];\n }\n\n return total;\n }","title":""},{"docid":"691ed41b1f3f14495bb9f40b95883aa3","score":"0.54675907","text":"public String read(int index, int count) //returns bytes read\n {\n\t if(index>3||index<1)\n\t {\n\t\t System.out.println(\"error\");\n\t\t return \"error\";\n\t }\n\t //check if oft is open\n\t if(table.unpack((index*76)+64) ==-1)\n\t {\n\t\t System.out.println(\"error\");\n\t\t return \"error\";\n\t }\n\t\t \n\t String bytes_read = \"\";\n\t int current = table.unpack((index*76)+64);\n\t int fd = table.unpack((index*76)+64+4);\n\t int length = table.unpack((index*76)+64+4+4);\n\t int block = (current/64)+1;\n\t \n\t for(int i=0;i\");\r\n\t\t\tPattern p2 = Pattern.compile(\"\");\r\n\t\t\tPattern p3 = Pattern.compile(\"\");\r\n\t\t\tPattern p4 = Pattern.compile(\"^[ \\t]([-]*\\\\d+)<.+\");\r\n\t\t\tPattern p5 = Pattern\r\n\t\t\t\t\t.compile(\"^[ \\t](.+)<.+\");\r\n\t\t\tPattern p6 = Pattern.compile(\"\");\r\n\t\t\twhile ((line = in.readLine()) != null) {\r\n\r\n\t\t\t\tMatcher m1 = p1.matcher(line);\r\n\t\t\t\tMatcher m2 = p2.matcher(line);\r\n\t\t\t\tMatcher m3 = p3.matcher(line);\r\n\t\t\t\tMatcher m4 = p4.matcher(line);\r\n\t\t\t\tMatcher m5 = p5.matcher(line);\r\n\t\t\t\tMatcher m6 = p6.matcher(line);\r\n\t\t\t\tboolean b1 = m1.matches();\r\n\t\t\t\tboolean b2 = m2.matches();\r\n\t\t\t\tboolean b3 = m3.matches();\r\n\t\t\t\tboolean b4 = m4.matches();\r\n\t\t\t\tboolean b5 = m5.matches();\r\n\t\t\t\tboolean b6 = m6.matches();\t\t\t\t\r\n\r\n\t\t\t\tif (testing) {\r\n\t\t\t\t\tSystem.out.println(line + \" \" + b1 + \" \" + b2 + \" \" + b3\r\n\t\t\t\t\t\t\t+ \" \" + b4 + \" \" + b5);\r\n\t\t\t\t}\r\n\t\t\t\tif (b1) {\r\n\t\t\t\t\tcontinue; // skip first line. this is just to check if\r\n\t\t\t\t\t\t\t\t// everything is ok\r\n\t\t\t\t} else if (b2) {\r\n\t\t\t\t\ttype = \"subscription\";\r\n\t\t\t\t\tpubSupType = m2.group(1);\r\n\t\t\t\t\tif (testing) {\r\n\t\t\t\t\t\tSystem.out.println(\"Type = subscription \" + pubSupType);\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if (b3) {\r\n\t\t\t\t\ttype = \"publication\";\r\n\t\t\t\t\tpubSupType = m3.group(1);\r\n\t\t\t\t\tif (testing) {\r\n\t\t\t\t\t\tSystem.out.println(\"Type = publication \" + pubSupType);\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if (b4) {\r\n\t\t\t\t\tvalidity = Long.parseLong(m4.group(1));\r\n\t\t\t\t\tif (testing) {\r\n\t\t\t\t\t\tSystem.out.println(\"Validity = \" + m4.group(1));\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if (b5) {\r\n\t\t\t\t\tif (!propertiesMap.containsKey(m5.group(1))) {\r\n\t\t\t\t\t\tif (m5.group(3).equals(\"string\")) {\r\n\t\t\t\t\t\t\tpropertiesMap.put(m5.group(1), m5.group(4));\r\n\t\t\t\t\t\t\toperatorMap.put(m5.group(1),\r\n\t\t\t\t\t\t\t\t\tOperator.valueOf(m5.group(2)));\r\n\t\t\t\t\t\t} else if (m5.group(3).equals(\"integer\")) {\r\n\t\t\t\t\t\t\tpropertiesMap.put(m5.group(1),\r\n\t\t\t\t\t\t\t\t\tInteger.parseInt(m5.group(4)));\r\n\t\t\t\t\t\t\toperatorMap.put(m5.group(1),\r\n\t\t\t\t\t\t\t\t\tOperator.valueOf(m5.group(2)));\r\n\t\t\t\t\t\t} else if (m5.group(3).equals(\"long\")) {\r\n\t\t\t\t\t\t\tpropertiesMap.put(m5.group(1),\r\n\t\t\t\t\t\t\t\t\tLong.parseLong(m5.group(4)));\r\n\t\t\t\t\t\t\toperatorMap.put(m5.group(1),\r\n\t\t\t\t\t\t\t\t\tOperator.valueOf(m5.group(2)));\r\n\t\t\t\t\t\t} else if (m5.group(3).equals(\"double\")) {\r\n\t\t\t\t\t\t\tpropertiesMap.put(m5.group(1),\r\n\t\t\t\t\t\t\t\t\tDouble.parseDouble(m5.group(4)));\r\n\t\t\t\t\t\t\toperatorMap.put(m5.group(1),\r\n\t\t\t\t\t\t\t\t\tOperator.valueOf(m5.group(2)));\r\n\t\t\t\t\t\t} else if (m5.group(3).equals(\"boolean\")) {\r\n\t\t\t\t\t\t\tpropertiesMap.put(m5.group(1),\r\n\t\t\t\t\t\t\t\t\tBoolean.parseBoolean(m5.group(4)));\r\n\t\t\t\t\t\t\toperatorMap.put(m5.group(1),\r\n\t\t\t\t\t\t\t\t\tOperator.valueOf(m5.group(2)));\r\n\t\t\t\t\t\t} else if (m5.group(3).equals(\"float\")) {\r\n\t\t\t\t\t\t\tpropertiesMap.put(m5.group(1),\r\n\t\t\t\t\t\t\t\t\tFloat.parseFloat(m5.group(4)));\r\n\t\t\t\t\t\t\toperatorMap.put(m5.group(1),\r\n\t\t\t\t\t\t\t\t\tOperator.valueOf(m5.group(2)));\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tSystem.err\r\n\t\t\t\t\t\t\t\t\t.println(\"ERROR attribute type not supported: \"\r\n\t\t\t\t\t\t\t\t\t\t\t+ m5.group(3));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (testing) {\r\n\t\t\t\t\t\t\tSystem.out.println(m5.group(1) + \" \" + m5.group(2)\r\n\t\t\t\t\t\t\t\t\t+ \" \" + m5.group(4) + \" Type: \"\r\n\t\t\t\t\t\t\t\t\t+ m5.group(3));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if (b6) {\r\n\t\t\t\t\ttype = \"announcement\";\r\n\t\t\t\t\tpubSupType = m6.group(1);\r\n\t\t\t\t\tif (testing) {\r\n\t\t\t\t\t\tSystem.out.println(\"Type = announcement \" + pubSupType);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\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":"26b5be487a7b73602b15f3c1e09cd376","score":"0.52893066","text":"@Override\n public int readBlob(String blobId, long pos, byte[] buff, int off, int length) throws IOException {\n InputStream stream = getStream(blobId);\n boolean threw = true;\n try {\n ByteStreams.skipFully(stream, pos);\n int readCount = stream.read(buff, off, length);\n threw = false;\n return readCount;\n } finally {\n Closeables.close(stream, threw);\n }\n }","title":""},{"docid":"dfe0f885fe6e7e551185bff2fcebd773","score":"0.52666897","text":"void readData(ByteBuffer buf);","title":""},{"docid":"1aa764da8415498b1f5f93516c93e36c","score":"0.52651536","text":"@Override\n public int read() throws IOException {\n if( this.pointer >= this.content.length ) return -1;\n \n this.pointer++;\n \n return (int) this.content[this.pointer-1];\n }","title":""},{"docid":"db68988eb88ccd1dfdccbb3d5ef7109f","score":"0.5261794","text":"private void getLinesFromBuffer(final int count) {\n int actualSize = mBufferIndex + count;\n ByteArrayInputStream bis = new ByteArrayInputStream(mBuffer, 0, actualSize);\n mBufferIndex = 0;\n BufferedReader reader = new BufferedReader(new InputStreamReader(bis));\n try {\n String line = reader.readLine();\n while (null != line) {\n addInput(line);\n line = reader.readLine();\n }\n } catch (IOException i) {\n assert true;\n }\n int remaining = bis.available();\n System.arraycopy(mBuffer, actualSize - remaining, mBuffer, 0, remaining);\n mBufferIndex = remaining;\n }","title":""},{"docid":"7acbde789147368b34065f7cec28ba50","score":"0.52518475","text":"public long Read(long filepos, byte[] buff, int off, int len) {\n return readFile(nHandle, filepos, buff, off, len);\n }","title":""},{"docid":"410caf00afd5c326a0d2ded5a68b3f8d","score":"0.52462715","text":"private void fillBuffer() {\n\t\tbufferPointer = 0;\n\t\ttry {\n\t\t\tbytesRead = dataInputStream.read(buffer, bufferPointer, bufferSize);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tif (bytesRead == -1) {\n\t\t\tbuffer[0] = (byte) -1;\n\t\t}\n\t}","title":""},{"docid":"3f02da2ba5b8c4f8ece9f039badf6ed6","score":"0.5246187","text":"public int read() throws IOException {\n if (wait) {\n return -1;\n }\n \n if (empty) {\n if (!fill()) {\n wait = true;\n return -1;\n }\n }\n \n if (buffer[bStart] == END_OF_STREAM) {\n bStart++;\n if (bStart == BUFFER_SIZE) {\n bStart = 0;\n }\n if (bStart == bEnd) {\n empty = true;\n }\n wait = true;\n return -1;\n } else {\n bStart++;\n if (bStart == bEnd || bEnd == 0 && bStart == BUFFER_SIZE) {\n empty = true;\n }\n if (bStart == BUFFER_SIZE) {\n bStart = 0;\n return buffer[BUFFER_SIZE-1];\n } else {\n return buffer[bStart-1];\n }\n }\n }","title":""},{"docid":"f7eb49d2fc331f5fee254cf0706ce6ec","score":"0.52459353","text":"public String readInput() throws NumberFormatException, InterruptedException{\n\t\ttry {\n\t\t\tSystem.out.println(\"Client Helper is reading from buffer\");\n\t\t\ttext = in.readLine();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn text;\n\t}","title":""},{"docid":"64ce3d20cc43a76395ecd10758f88a94","score":"0.52299315","text":"@Override\r\n public synchronized int read() throws IOException {\r\n \r\n \r\n\t if (pos >= total) \r\n\t {\t\r\n pos = 0; \r\n return -1;\r\n\t }\r\n\t int posmod = pos % FRAGMENT_SIZE;\r\n\t if (posmod == 0)\r\n\t {\r\n try\r\n {\r\n sem.acquire(); \r\n }catch (InterruptedException exc) \r\n { \r\n System.out.println(exc);\r\n }\r\n\t for (int i=0; i< FRAGMENT_SIZE; i++)\r\n\t\t buf[i] = nextBuf[i];\r\n \r\n\t getBuff(fragment);\r\n\t fragment++;\r\n\t }\r\n\t int p = pos % FRAGMENT_SIZE;\r\n\t pos ++;\r\n return buf[p] & 0xff; \r\n }","title":""},{"docid":"e9db3e85b1b27a3db4e5619003bf77b6","score":"0.52291954","text":"public void readBuffer(int mode) {\n\n read_buffer(mode);\n }","title":""},{"docid":"7292d64ea24fc0346abba02698219d5e","score":"0.52060044","text":"public String read() {\n\n\t\tlastStatus = new Status(Status.SUCCESS);\n\n\t\tif (fReadAhead) {\n\t\t\tfReadAhead = false;\n\t\t\treturn buffer;\n\t\t}\n\n\t\ttry {\n\t\t\tbuffer = getStdin().readLine();\n\t\t} catch (final IOException e) {\n\t\t\tbuffer = null;\n\t\t\tlastStatus = new Status(Status.IOERROR, e.toString());\n\n\t\t}\n\t\treturn buffer;\n\t}","title":""},{"docid":"d94331e1553e8edcde260cc9f9c51e0a","score":"0.5197262","text":"Builder readBufferSize(int readBufferSize);","title":""},{"docid":"e4c660cef531caf29384d631740a1779","score":"0.51934606","text":"protected int readBytes( byte buffer[], int offset, int len )\n throws IOException\n {\n int read = fileSystem.commands.fileRead(fd, buffer, offset, len);\n filePointer += read;\n\n return read;\n }","title":""},{"docid":"37e1b1f330d9923b59b5b30c5088acd0","score":"0.5187809","text":"long bytesRead();","title":""},{"docid":"4ae92c7ff1e446a809cbe9fa49463c1c","score":"0.51849","text":"public String readString(DataInputStream is){\n\n\t\tint read = 0 ;\n\t\tint readLen=0;\n\t\tint curRead=0;\n\t\ttry {\n\t\t\twhile (is.available()==0);\n\t\t\tbuffer1 = new byte[is.available()];\n\t\t\tSystem.out.println(\"available:\"+is.available());\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tstr = null;\n\t\ttry {\n\t\t\tread = is.read(buffer1,0,buffer1.length);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tSystem.out.println(\"read:\"+read);\n\t\t//System.out.println(.toString(buffer1).toString());\n\t\tmfjs= parseHead(buffer1);\n\t\tif(mfjs!=null){\n\t\t\tbyte[] buffer2 = new byte[mfjs.optInt(\"L\")];\n\t\t\tSystem.out.println(\"length is :\"+mfjs.optInt(\"L\"));\n\t\t\tcurRead = read -location-2;\n\t\t\tSystem.out.println(\"curRead:\"+curRead);\n\t\t\tSystem.arraycopy(buffer1, location + 2, buffer2, 0, curRead);\n\t\t\ttry {\n\t\t\t\twhile(readLen<(mfjs.optInt(\"L\"))) {\n\t\t\t\t\treadLen +=curRead;\n\n\t\t\t\t\tcurRead =is.read(buffer2,readLen,is.available());\n\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"readLen=\"+readLen);\n\t\t\t\tif(readLen == (mfjs.optInt(\"L\"))){\n\t\t\t\t\tSystem.out.println(\"read fully\");\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tString type = mfjs.optString(\"T\");\n\t\t\tif(type.equals(\"M\")){\n\t\t\t\tstr = new String(buffer2);\n\t\t\t}\n\t\t}\n\t\treturn str;\n\t}","title":""},{"docid":"e21e35dd5283f4b6137a0cbb5c6f1e3c","score":"0.5182912","text":"@Test(timeout = 4000)\n public void test045() throws Throwable {\n StringReader stringReader0 = new StringReader(\"6Z?]~0 LuA~\");\n StringReader stringReader1 = new StringReader(\"6Z?]~0 LuA~\");\n stringReader0.mark(2822);\n stringReader1.mark(2822);\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, 473, 0);\n javaCharStream0.ReInit((Reader) stringReader0);\n JavaCharStream javaCharStream1 = new JavaCharStream(stringReader1, 4620, 4091, 121);\n char char0 = javaCharStream0.ReadByte();\n assertEquals('6', char0);\n assertEquals((-1), javaCharStream0.bufpos);\n }","title":""},{"docid":"896dd68f9e6fd8f0289f800c9f0f7978","score":"0.5169321","text":"private final static StringBuffer readFile(Reader rdr) throws IOException {\n\t\tif (rdr == null)\n\t\t\treturn null;\n\t\tStringBuffer out = null;\n\t\tBufferedReader bufRdr = null;\n\t\tIOException exception = null;\n\t\ttry {\n\t\t\tbufRdr = new BufferedReader(rdr);\n\t\t\tlong c = bufRdr.read();\n\t\t\tout = new StringBuffer(\"\");\n\t\t\twhile (c != -1) {\n\t\t\t\tout.append((char) c);\n\t\t\t\tc = bufRdr.read();\n\t\t\t}\n\t\t} catch (IOException ioe) {\n\t\t\texception = ioe;\n\t\t} catch (Throwable t) {\n\t\t\t// do nothing\n\t\t} finally {\n\t\t\tif (bufRdr != null)\n\t\t\t\tbufRdr.close();\n\t\t\tif (rdr != null)\n\t\t\t\trdr.close();\n\t\t}\n\t\tif (exception != null)\n\t\t\tthrow exception;\n\t\treturn out;\n\t}","title":""},{"docid":"41541c6ed76e681b0985af47ef9d905d","score":"0.5167368","text":"@Override\r\n\tpublic SessionContent getSessionContentFromReplyOfReadSessionBuffer(\r\n\t\t\tbyte[] inBuf, int bufferLength) {\n\t\tbyte[] temp = getByteArray(inBuf, 5, 8);\r\n\t\tlong version = byte2long(temp);\r\n\t\t// Timestamp timestamp = Timestamp.valueOf(byte2string(inBuf, 13, 8));\r\n\t\tbyte[] temp2 = getByteArray(inBuf, 13, 8);\r\n\t\tlong ts = byte2long(temp2);\r\n\t\tTimestamp timestamp = new Timestamp(ts);\r\n\t\tbyte[] mess = getByteArray(inBuf, 21, bufferLength - 21);\r\n\t\tString message = byte2string(mess);\r\n\r\n\t\tSessionContent content = null;\r\n\t\tif(version >= 0){\r\n\t\t\tcontent = new SessionContent(message, version, timestamp);\r\n\t\t}\r\n\t\treturn content;\r\n\t}","title":""},{"docid":"4553281c6745139e593191f5b51c011d","score":"0.5165922","text":"int read ( byte[] bbuf, int off, int len )\n {\n\n int n;\n\n if ((n = ensure( len )) == 0)\n return -1;\n\n if (bbuf == null || len <= 0)\n return 0;\n\n if (n < len)\n len = n;\n\n if (_out < _in)\n {\n System.arraycopy( _buf, _out, bbuf, off, len );\n }\n else\n {\n int chunk = _buf.length - _out;\n\n if (chunk >= len)\n System.arraycopy( _buf, _out, bbuf, off, len );\n else\n {\n System.arraycopy( _buf, _out, bbuf, off, chunk );\n\n System.arraycopy(\n _buf, 0, bbuf, off + chunk, len - chunk );\n }\n }\n\n _out = (_out + len) % _buf.length;\n _free += len;\n\n return len;\n }","title":""},{"docid":"b142b2c95d68b3444ed0eda1d104c6f8","score":"0.5146875","text":"public int read(char c[])\n {\n\t}","title":""},{"docid":"2cf076eedeed7ad6e7841da71424ca02","score":"0.5140632","text":"int getBufferSize() throws IOException;","title":""},{"docid":"aed85e469b5d0747f0a885ddd108c668","score":"0.51372325","text":"private static String readLine(InputStream in) throws IOException\r\n\t{\r\n\t StringBuilder sb = new StringBuilder();\r\n\t int readByte = in.read();\r\n\t while (readByte>-1 && readByte!= '\\n')\r\n\t {\r\n\t sb.append((char) readByte);\r\n\t readByte = in.read();\r\n\t }\r\n\t return readByte==-1?null:sb.toString();\r\n\t\t\r\n\t}","title":""},{"docid":"a38a25807ce7f0ad2c5549a19ece6759","score":"0.5136587","text":"int K2616_ReadRecordFile(HANDLE ComHandle, IntBuffer len, ByteBuffer CardID);","title":""},{"docid":"f90911ae7c58ecb4a48f5d077b4a42d4","score":"0.5134632","text":"void read();","title":""},{"docid":"f90911ae7c58ecb4a48f5d077b4a42d4","score":"0.5134632","text":"void read();","title":""},{"docid":"c3d8d54d981b8ddaf6ec1aec03c8c549","score":"0.5126324","text":"@Override\n\tpublic void feedInBuffer() {\n\t\ttry {\n\t\t\t// note: we only keep BUFFERLINES=3 lines in memory;\n\t\t\tint slot = pReadLine % BUFFERLINES;\n\n\t\t\tif(pReadLine >= height) {\n\t\t\t\tSystem.out.println(\"Reached to end of image, no more data.\");\n\t\t\t\t\n\t\t\t\t//corner case #2: clear out next line in the rotation slot, so we can do processing on last line.\n\t\t\t\tlines[slot] = new byte[LINEBYTES];\n\t\t\t\t\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t\tint count = inStream.read( lines[slot] );\t\t\t\n\t\t\tSystem.out.println(\"pReadLine: \" + pReadLine);\n\t\t\tpReadLine++;\n\n\t\t\tif( count != LINEBYTES ) {\n\t\t\t\tSystem.err.println(\"Image line input seems to be truncated\");\n\t\t\t}\n\t\t}\n\t\tcatch(IOException io) {\n\t\t\tSystem.err.println(\"Failed to read data content\");\n\t\t}\n\t}","title":""},{"docid":"775ab9e78c5be0d20a86a725b3ead855","score":"0.5124227","text":"public void skipBuffer() {\n int length = readInt();\n pos += length;\n }","title":""},{"docid":"88c7ee39afe0b98f97e565fba4e8502d","score":"0.51203454","text":"ByteBuffer readBlock();","title":""},{"docid":"b0b2565b7f1e421370426877dfdd9442","score":"0.51096576","text":"private char read()\n\t\tthrows IOException\n\t{\n\t\tif(limit - position < 1)\n\t\t{\n\t\t\tif(! readAhead(1))\n\t\t\t{\n\t\t\t\tthrow new EOFException();\n\t\t\t}\n\t\t}\n\n\t\treturn buffer[position++];\n\t}","title":""},{"docid":"02e52a8cd6270def03c096e0736aa552","score":"0.5100313","text":"char readChar() throws java.io.IOException;","title":""},{"docid":"bfc2c04c512d2e911da526e678f39d86","score":"0.5095414","text":"public int read(char[] cbuf, int offset, int length) {\n byte[] my_byte_array = new byte[length];\n int retVal;\n\n try {\n retVal = my_input_stream.read(my_byte_array, 0, length);\n }\n catch (Exception e) {\n e.printStackTrace();\n return -1;\n }\n\n for (int k = 0; k < retVal; k++) {\n cbuf[k + offset] = (char) my_byte_array[k];\n }\n\n return retVal;\n }","title":""},{"docid":"3502a6966bc32928891928f6b4e659c0","score":"0.50933504","text":"private int readdDataToByteBuffer(byte[] buf, FileInputStream fileReader) throws IOException {\r\n\t\tint readBytes = 0;\r\n\t\tif (fileReader.available() > 0)\r\n\t\t\treadBytes = fileReader.read(buf);\r\n\r\n\t\treturn readBytes;\r\n\t}","title":""},{"docid":"fd64a489d447c5ba807b92dec58690af","score":"0.5091769","text":"private int read() throws IOException \r\n\t{\r\n\t\tif (putbackLength > 0) return putbackBuffer[--putbackLength];\r\n\t\treturn reader.read();\r\n\t}","title":""},{"docid":"d4863ce0c60e0743de083522294bbab1","score":"0.5091218","text":"private void readFully(byte[] buff) throws IOException \n {\n dataIn.readFully(buff);\n }","title":""},{"docid":"85983b68e20e150c5ce8d9ba8bf54a23","score":"0.5088418","text":"int readPartial(byte[] data, int offset, int len) throws Exception;","title":""},{"docid":"549d3522a0489e6f939082b21ed07a76","score":"0.50656384","text":"public abstract void getCharacters(char buffer);","title":""},{"docid":"9e9547909b8d46f7bd2e0f76e4bb89aa","score":"0.5064313","text":"private void readHashIntoSB(StringBuilder sb) throws IOException {\n int r = -1;\n while ((r = in.readByte()) != -1) {\n char c = (char) r;\n if (c == '#') {\n// Log.v(TAG, \"run: End of answer '#'\");\n break;\n } else {\n// Log.v(TAG, \"run: got '\" + c + \"'\");\n sb.append(c);\n }\n }\n }","title":""},{"docid":"cc75835db9fb92b529eb0a4d82e9a0eb","score":"0.5051981","text":"public byte read() throws IOException {\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }","title":""},{"docid":"8a7ee674e9ad9a6ba19bbd2f5d3ab36c","score":"0.5047409","text":"private int readBytes() {\n /*\n r5 = this;\n java.nio.ByteBuffer r0 = r5.bb\n r0.compact()\n java.nio.channels.ReadableByteChannel r0 = r5.ch // Catch:{ all -> 0x005d }\n if (r0 == 0) goto L_0x001a\n java.nio.channels.ReadableByteChannel r0 = r5.ch // Catch:{ all -> 0x005d }\n java.nio.ByteBuffer r1 = r5.bb // Catch:{ all -> 0x005d }\n r2 = 1\n int r0 = sun.nio.ch.ChannelInputStream.read(r0, r1, r2) // Catch:{ all -> 0x005d }\n if (r0 >= 0) goto L_0x0049\n L_0x0014:\n java.nio.ByteBuffer r5 = r5.bb\n r5.flip()\n return r0\n L_0x001a:\n java.nio.ByteBuffer r0 = r5.bb\n int r0 = r0.limit()\n java.nio.ByteBuffer r1 = r5.bb\n int r1 = r1.position()\n if (r1 > r0) goto L_0x002a\n int r0 = r0 - r1\n goto L_0x002b\n L_0x002a:\n r0 = 0\n L_0x002b:\n java.io.InputStream r2 = r5.in\n java.nio.ByteBuffer r3 = r5.bb\n byte[] r3 = r3.array()\n java.nio.ByteBuffer r4 = r5.bb\n int r4 = r4.arrayOffset()\n int r4 = r4 + r1\n int r0 = r2.read(r3, r4, r0)\n if (r0 >= 0) goto L_0x0041\n goto L_0x0014\n L_0x0041:\n if (r0 == 0) goto L_0x0055\n java.nio.ByteBuffer r2 = r5.bb\n int r1 = r1 + r0\n r2.position(r1)\n L_0x0049:\n java.nio.ByteBuffer r0 = r5.bb\n r0.flip()\n java.nio.ByteBuffer r5 = r5.bb\n int r5 = r5.remaining()\n return r5\n L_0x0055:\n java.io.IOException r0 = new java.io.IOException\n java.lang.String r1 = \"Underlying input stream returned zero bytes\"\n r0.(r1)\n throw r0\n L_0x005d:\n r0 = move-exception\n java.nio.ByteBuffer r5 = r5.bb\n r5.flip()\n throw r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: sun.nio.cs.StreamDecoder.readBytes():int\");\n }","title":""},{"docid":"9105c713441d4dcfc84c2155e0417447","score":"0.5043091","text":"private void processBufferedData() throws IOException {\r\n if (textBuffer==null) return;\r\n String s=\"\"+textBuffer;\r\n if (!s.trim().equals(\"\")) textBuffer=null;\r\n if (s.equals(\"\")) return;\r\n\r\n if (startedNewElement) outputNewLine();\r\n startedNewElement=false;\r\n String padding=\"\";\r\n for (int i=0; i=0)) {\r\n s=s.substring(0, pos)+\r\n lineSeparator+ padding+\r\n s.substring(pos+lineSeparator.length());\r\n pos=s.indexOf(lineSeparator, pos+lineSeparator.length());\r\n }\r\n outputText(s);\r\n }","title":""},{"docid":"385ed2725a6aeb4be5a3a8d0e6e6516c","score":"0.5035893","text":"@Override\n\tprotected void readStep() {\n\t\tboolean got = false;\n\t\ttry {\n\t\t\t//inputStream.read(readBs);\n\n\t\t\twhile(inputStream.available() > 0 && recvQueue.remainingCapacity() > MIN_CAP)\n\t\t\t{\n\n\t\t\t\tint read = inputStream.read();\n\t\t\t\tgot = true;\n\t\t\t\t//System.out.append((char)read);\n\t\t\t\t\n\t\t\t\tif(read < 0)\n\t\t\t\t{\n\t\t\t\t\treader.stop();\n\t\t\t\t\t//kickErrorEvent(new End);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\trecvQueue.put((byte)read);\n\t\t\t\t\n\t\t\t\t// Force events on \\r\\n\\0\n\t\t\t\tif(read == 0x0D || read == 0x0A || read == 0)\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t} catch (InterruptedException e) {\n\t\t\t// Ignore\n\t\t\treturn;\n\t\t} catch (IOException e) {\n\t\t\tkickErrorEvent(e);\n\t\t} \n\t\tfinally \n\t\t{\n\t\t\tif(got) kickReceiveEvent();\n\t\t}\n\t}","title":""},{"docid":"49e2b32c06ace051961b20b0425e2acc","score":"0.50343513","text":"public int readPacket(byte[] buffer) throws IOException {\n\t\tint i = 0;\n\t\twhile (i < buffer.length) {\n\t\t\tif (localPos < size) {\n\t\t\t\tbuffer[i++] = localBuf[localPos++];\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tsize = readBuffer();\n\t\t\tif (size == 0)\n\t\t\t\tbreak; // end of file reached\n\t\t}\n\t\treturn i;\n\t}","title":""},{"docid":"3cd21ef7f8f5f186b30902c6dc0843b5","score":"0.5031039","text":"public native int read() throws IOException;","title":""},{"docid":"362c1e4195d24689bf02507f4df0dfef","score":"0.5030101","text":"String readText(BufferedReader in) throws IOException;","title":""},{"docid":"7c9587c9abefa1f3e9f62835644a2351","score":"0.5027879","text":"@Override\n public int read(char[] cbuf, int off, int len) throws IOException {\n if (currentTableReader == null) {\n String tableResults = getNextTable();\n if (tableResults == null) {\n return -1;\n }\n currentTableReader = CharSource.wrap(tableResults).openStream();\n }\n\n int charactersRead = currentTableReader.read(cbuf, off, len);\n while (charactersRead == -1) {\n String tableResults = getNextTable();\n if (tableResults == null) {\n return -1;\n }\n currentTableReader = CharSource.wrap(tableResults).openStream();\n charactersRead = currentTableReader.read(cbuf, off, len);\n }\n\n return charactersRead;\n }","title":""},{"docid":"ffc3908741f3c06e8b383f5496e91163","score":"0.502698","text":"@Test(timeout = 4000)\n public void test101() throws Throwable {\n StringReader stringReader0 = new StringReader(\"IN_MULTI_LINE_COMMENT\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n javaParserTokenManager0.getNextToken();\n assertEquals(20, javaCharStream0.bufpos);\n assertEquals(21, javaCharStream0.getColumn());\n }","title":""},{"docid":"5e6d9f70cd747cdf06c6874d9efc5d97","score":"0.5026578","text":"public String read()\n \t{\n \t\tString returnVal = \"\";\n \t\tBufferedInputStream termIn = new BufferedInputStream(new FileInputStream(termFd));\n \t\t\n \t\ttry\n \t\t{\n \t\t\tint newByte = 0;\n \t\t\t\n\t\t\twhile (!returnVal.endsWith(\"\\r\\n$ \") && !returnVal.contains(\"\\r\\n# \") && (newByte != -1))\n \t\t\t{\n \t\t\t\tnewByte = termIn.read();\n \t\t\t\treturnVal += (char)newByte;\n \t\t\t}\n \n \t\t}\n \t\tcatch (Exception e)\n \t\t{\n \t\t\tLog.e(\"mercury\", e.getMessage());\n \t\t}\n \t\t\n \t\treturn returnVal;\n \t}","title":""},{"docid":"b3e9c5522d3e84bb24b7a1091423fc24","score":"0.5023618","text":"private void readSource(TokenizerSource source, char[] buffer) throws Throwable {\n long startTime = System.currentTimeMillis();\n int chars;\n \n while ((chars = source.read(buffer, 0, buffer.length)) > 0);\n System.out.println(source.getClass().getName() + \" needed \" + (System.currentTimeMillis() - startTime) + \"ms.\");\n }","title":""},{"docid":"d2dfe6716946f9f67974ff3b67974928","score":"0.50166285","text":"@Override\n public int read(long position, byte[] buffer, int offset, int length)\n throws IOException {\n validatePositionedReadArgs(position, buffer, offset, length);\n if (length == 0) {\n return 0;\n }\n ByteBuffer bb = ByteBuffer.wrap(buffer, offset, length);\n return pread(position, bb);\n }","title":""},{"docid":"975bb8ca5351a2f22f584a61bc8b1cfc","score":"0.5015631","text":"@Override\r\n\tpublic void incomingMessage(String readMessage) {\r\n\r\n\t\tfor (int i = 0; i < readMessage.length(); i++) {\r\n\t\t\tchar c = readMessage.charAt(i);\r\n\r\n\t\t\tif (TAG == c) {\r\n\t\t\t\tlaunchBuffer();\r\n\t\t\t} else {\r\n\t\t\t\tbuffer.append(c);\r\n\t\t\t}\r\n\t\t}\r\n\t\t//\r\n\t\t// Log.d(\"CNCmsg:\", readMessage);\r\n\t\t// // read incoming messages\r\n\t\t// if (!readMessage.contains(TAG)) {\r\n\t\t// buffer += (readMessage);\r\n\t\t// return;\r\n\t\t// }\r\n\t\t// if (readMessage.startsWith(TAG)) {\r\n\t\t// launchBuffer();\r\n\t\t// // buffer += (readMessage.replace(TAG, \"\"));\r\n\t\t// //\r\n\t\t// // return;\r\n\t\t// }\r\n\t\t//\r\n\t\t// String[] strings = readMessage.split(TAG);\r\n\t\t// int i = 0;\r\n\t\t// for (String string : strings) {\r\n\t\t// i++;\r\n\t\t// buffer += (string);\r\n\t\t// if (strings.length > 1 && i < strings.length) {\r\n\t\t// launchBuffer();\r\n\t\t// }\r\n\t\t// if(readMessage.endsWith(TAG)){\r\n\t\t// launchBuffer();\r\n\t\t// }\r\n\r\n\t\t// just start the buffer\r\n\t\t// with the last string\r\n\t\t// (if not trivial)\r\n\t\treturn;\r\n\t\t// }\r\n\r\n\t}","title":""},{"docid":"2a08f152cef5a4a3693a9aa26e50e6cb","score":"0.50153977","text":"public void read() {\n\t\t\n\t}","title":""},{"docid":"2de3e1d394a53109cfbac9ef5c057d86","score":"0.50141203","text":"public String readLine(){\n\t\tif(this.inBuffer == null)return null;\n\n\t\tStringBuilder sb = new StringBuilder();\n\t\ttry {\n\t\t\tsb.append(inBuffer.readLine());\n\t\t\treturn sb.toString();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}","title":""},{"docid":"36722cabe0e3a7bdf7497eed4a77d5db","score":"0.5011098","text":"private long parseBufferForLineCount(URL dataFile, byte[] bufferAsBytes) throws Exception {\n InputStream inputStream = new ByteArrayInputStream(bufferAsBytes);\n InputStreamReader inputStreamReader = new InputStreamReader(inputStream);\n long linesInBuffer = 0;\n try (BufferedReader reader = new BufferedReader(inputStreamReader)) {\n while (reader.readLine() != null) {\n linesInBuffer++;\n }\n } catch (IOException e) {\n LOGGER.error(\"Cannot count lines from file {} in parseBufferForLineCount() function\",\n dataFile);\n e.printStackTrace();\n throw new Exception(e.getMessage());\n }\n LOGGER.debug(\"parseBufferForLineCount:linesInBuffer {}\", linesInBuffer);\n return linesInBuffer;\n }","title":""},{"docid":"cdc5690aeeb4550bb406e291e0dfcedb","score":"0.49995375","text":"protected int read_buf(byte[] buf, int start, int size) {\n window_buffer.index(start).limit(start + size).isPart(true);\n input = input.pull(window_buffer);\n\n int len = window_buffer.index() - start;\n if (len == 0) {\n return 0;\n }\n\n if (wrap == 1) {\n adler = adler32(adler, buf, start, len);\n } else if (wrap == 2) {\n adler = crc32(adler, buf, start, len);\n }\n total_in += len;\n\n return len;\n }","title":""},{"docid":"c9c299ba2bf4d05bcd1c7334555feb7a","score":"0.49964744","text":"@Override\r\n\tpublic int read(char[] b, int off, int len) throws IOException {\n\t\tint read = 0, res = 0;\r\n\t\twhile (read < len && res != -1) {\r\n\t\t\tres = this.read();\r\n\t\t\tif (res != -1) {\r\n\t\t\t\tb[read++] = (char) res;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (read == 0) {\r\n\t\t\treturn -1;\r\n\t\t} else {\r\n\t\t\treturn read;\r\n\t\t}\r\n\t}","title":""},{"docid":"bd6f93163d0dbcf275f5965a27acae46","score":"0.49945793","text":"public void ReadBtn(View v) {\n //reading text from file\n try {\n FileInputStream fileIn=openFileInput(\"myFile.txt\");\n InputStreamReader InputRead= new InputStreamReader(fileIn);\n\n char[] inputBuffer= new char[READ_BLOCK_SIZE];\n String s=\"\";\n int charRead;\n while ((charRead=InputRead.read(inputBuffer))>0) {\n // char to string conversion\n // String chR = Integer.toString(charRead);\n // int x=inputBuffer.length;\n // Log.i(\"arr!!charread\", \"\" + charRead + \"x=\" + x);\n String readstring=String.copyValueOf(inputBuffer,0,charRead);\n s +=readstring;\n }\n InputRead.close();\n Toast.makeText(getBaseContext(), s,Toast.LENGTH_SHORT).show();\n Toast.makeText(getBaseContext(), \"File read successfully!\",\n Toast.LENGTH_SHORT).show();\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }","title":""},{"docid":"2fabb580957cb900163ed1a27a9e9db6","score":"0.49885908","text":"public native static int MF_Read(int DeviceAddress,byte add_blk, byte num_blk, byte[] buffer);","title":""},{"docid":"ebe20b020f59d9dffafdf7b7e7ae5b35","score":"0.49872234","text":"private static String readContent(BufferedReader reader) throws IOException {\n StringBuilder content = new StringBuilder();\n int line;\n while ((line = reader.read()) != -1) {\n content.append((char) line);\n }\n return content.toString();\n }","title":""},{"docid":"4050ed64151709e2e40ffb4413868e01","score":"0.49793515","text":"public void readFile() {\r\n\t\ttry {\r\n//\t\t\tBufferedReader in = new BufferedReader(new FileReader(\"in\"\r\n//\t\t\t\t\t+ System.getProperty(\"file.separator\") + this.fileName));\r\n\t\t\tBufferedReader in = new BufferedReader(new FileReader( this.fileName));\r\n\t\t\treadBuffer(in);\r\n\t\t} catch (FileNotFoundException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\r\n\t}","title":""},{"docid":"dbe9dbf6dcce4a479c13bd00ca428a67","score":"0.49780318","text":"public String getBufferPart(int from, int to);","title":""},{"docid":"805cd00a493cbe711ba74ddf9c275364","score":"0.49755502","text":"@Override\n\t\tpublic int read() throws IOException {\n\t\t\tif (read >= size - 1) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\tread++;\n\t\t\treturn wrapped.read();\n\t\t}","title":""}],"string":"[\n {\n \"docid\": \"7fc5849151dfd9091f4733e10a6fe7c6\",\n \"score\": \"0.64727426\",\n \"text\": \"private int read(char[] buffer, int offset, int length)\\n\\t\\tthrows IOException\\n\\t{\\n\\t\\tint result = 0;\\n\\t\\twhile(result < length)\\n\\t\\t{\\n\\t\\t\\tint l = in.read(buffer, offset + result, length - result);\\n\\t\\t\\tif(l == -1) break;\\n\\t\\t\\tresult += l;\\n\\t\\t}\\n\\n\\t\\treturn result;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e2d5811c973d3cd6ae28cd153eee456b\",\n \"score\": \"0.6263244\",\n \"text\": \"private int readBuffer() throws IOException {\\n\\t\\tif (pos == -1)\\n\\t\\t\\treturn 0;\\n\\n\\t\\t// skip first line, except end of line\\n\\t\\tif (pos == 0)\\n\\t\\t\\tpos += in.skip(15);\\n\\n\\t\\t// temporary value\\n\\t\\tint b = 0;\\n\\n\\t\\t// skip end of line\\n\\t\\twhile (true) {\\n\\t\\t\\tb = in.read();\\n\\t\\t\\tpos++;\\n\\n\\t\\t\\tif (b != '\\\\n' && b != '\\\\r') {\\n\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\t/*\\n\\t\\t * Each line starts with comma (':')\\n\\t\\t * Data is written in HEX, so each 2 ASCII letters give one byte.\\n\\t\\t * After the comma there is one byte (2 HEX signs) with line length (normally 10 -> 0x10 -> 16 bytes -> 32 HEX characters)\\n\\t\\t * After that there is a 4 byte of an address. This part may be skipped.\\n\\t\\t * There is a packet type after the address (1 byte = 2 HEX characters). 00 is the valid data. Other values can be skipped when converting to BIN file.\\n\\t\\t * Then goes n bytes of data followed by 1 byte (2 HEX chars) of checksum, which is also skipped in BIN file.\\n\\t\\t */\\n\\t\\tcheckComma(b); // checking the comma at the beginning\\n\\t\\tfinal int lineSize = readByte(); // reading the length of the data in this line\\n\\t\\tpos += 2;\\n\\t\\tpos += in.skip(4); // skipping address part\\n\\t\\tfinal int type = readByte(); // reading the line type\\n\\t\\tpos += 2;\\n\\n\\t\\t// if the line type is no longer data type (0x00), we've reached the end of the file\\n\\t\\tif (type != 0) {\\n\\t\\t\\tpos = -1;\\n\\t\\t\\treturn 0;\\n\\t\\t}\\n\\t\\t// otherwise read lineSize bytes or fill the whole buffer\\n\\t\\tfor (int i = 0; i < localBuf.length && i < lineSize; ++i) {\\n\\t\\t\\tb = readByte();\\n\\t\\t\\tpos += 2;\\n\\t\\t\\tlocalBuf[i] = (byte) b;\\n\\t\\t}\\n\\t\\tpos += in.skip(2); // skip the checksum\\n\\t\\tlocalPos = 0;\\n\\n\\t\\treturn lineSize;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d669b0209db2aac317b486028167f1d\",\n \"score\": \"0.62454253\",\n \"text\": \"@Override\\r\\n public int read() throws IOException {\\r\\n int c = in.read();\\r\\n if (announceChars != -1) Announce.progressAt(announceChars++);\\r\\n switch (c) {\\r\\n case -1:\\r\\n return (-1);\\r\\n case '<': {\\r\\n StringBuilder t = new StringBuilder();\\r\\n while ((c = in.read()) == '/' || c == '!' || c == '-' || Character.isLetterOrDigit(c)) {\\r\\n t.append((char) c);\\r\\n }\\r\\n if (announceChars != -1) Announce.progressAt(announceChars += t.length());\\r\\n if (t.length() > 0 && t.charAt(t.length() - 1) == '/') t.setLength(t.length() - 1);\\r\\n tag = t.toString().toUpperCase();\\r\\n if (tag.equals(\\\"!--\\\")) {\\r\\n scrollTo(\\\"-->\\\");\\r\\n return (read());\\r\\n }\\r\\n t.setLength(0);\\r\\n while (c != -1 && c != '>')\\r\\n t.append((char) (c = in.read()));\\r\\n if (announceChars != -1) Announce.progressAt(announceChars += t.length());\\r\\n if (t.length() > 0) t.setLength(t.length() - 1);\\r\\n tagContent = Char17.decodePercentage(Char17.decodeAmpersand(t.toString()));\\r\\n if (tag.equals(\\\"SCRIPT\\\")) {\\r\\n scrollToTag(\\\"/SCRIPT\\\");\\r\\n return (read());\\r\\n }\\r\\n if (skipSTYLE && tag.equals(\\\"STYLE\\\")) {\\r\\n scrollToTag(\\\"/STYLE\\\");\\r\\n return (read());\\r\\n }\\r\\n return (-2);\\r\\n }\\r\\n case '&': {\\r\\n String a = \\\"&\\\";\\r\\n while (!Character.isWhitespace((char) (c = in.read())) && c != ';' && c != -1)\\r\\n a += (char) c;\\r\\n c = Char17.decodeAmpersandChar(a);\\r\\n if (c == -1) c = 0;\\r\\n if (announceChars != -1) Announce.progressAt(announceChars += a.length());\\r\\n return (c);\\r\\n }\\r\\n default:\\r\\n return (c);\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"35671d6a08de215cd031bce13ac2b9fa\",\n \"score\": \"0.62377113\",\n \"text\": \"public void readBuffer() throws MessagingException {\\n while (true) {\\n int ch = nextByte();\\n // potential end of line? Check the next character, and if it is an end of line,\\n // we need to do literal processing.\\n if (ch == '\\\\r') {\\n int next = nextByte();\\n if (next == '\\\\n') {\\n // had a line break, which might be part of a literal marker. Check for the signature,\\n // and if we found it, continue with the next line. In any case, we're done with processing here.\\n checkLiteral();\\n return;\\n }\\n }\\n // write this to the buffer.\\n out.write(ch);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"efed76160d4ec2caa98ef93e99bd35b5\",\n \"score\": \"0.59791976\",\n \"text\": \"@Override\\r\\n\\t\\tpublic boolean BUFFER_READ(BufferedReader bufferedReader) {\\n\\t\\t\\tint count;\\r\\n\\t\\t\\tchar[] buffer = new char[1024*100]; ;\\r\\n \\t\\ttry {\\r\\n\\t\\t\\t\\tif((count = bufferedReader.read(buffer)) >= 0)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tif(count == 0)\\r\\n \\t\\t\\t{\\r\\n \\t\\t\\t\\tLMSLog.d(DEBUG_TAG,\\\"why count== 0\\\");\\r\\n \\t\\t\\t}\\r\\n \\t\\t\\telse\\r\\n \\t\\t\\t{\\r\\n \\t\\t\\t\\treadString = new String(buffer,0,count); \\r\\n \\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\treturn true;\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\telse\\r\\n\\t\\t\\t\\t\\treturn false;\\r\\n\\t\\t\\t} catch (IOException e) {\\r\\n\\t \\t\\tLMSLog.exception(e);\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\treturn false;\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1bae7d5e1640db3618585527532192a1\",\n \"score\": \"0.5901877\",\n \"text\": \"protected final void scanComment() throws IOException, XNIException {\\n/* 843 */ this.fReportEntity = false;\\n/* 844 */ scanComment(this.fStringBuffer);\\n/* 845 */ this.fMarkUpDepth--;\\n/* */ \\n/* */ \\n/* 848 */ if (this.fDTDHandler != null) {\\n/* 849 */ this.fDTDHandler.comment(this.fStringBuffer, null);\\n/* */ }\\n/* 851 */ this.fReportEntity = true;\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"176f0d8cf629c452cc2e2f29b0db3565\",\n \"score\": \"0.5876931\",\n \"text\": \"int read(byte[] buffer, int offset, int length) throws java.io.IOException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ca6aaf79f0057aa7c59ddaf5257c2cc\",\n \"score\": \"0.5816187\",\n \"text\": \"int read(byte[] buffer) throws IOException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fe4433a8b2eba8cd17a72f5b1cc2be74\",\n \"score\": \"0.57375616\",\n \"text\": \"public int read() {\\r\\n int ch = this.temp[this.cursor++];\\r\\n if (this.has(COMMENTS)) {\\r\\n ch = this.parsePastWhitespace(ch);\\r\\n }\\r\\n return ch;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3c88631cc92521be3c6679eaf4056da8\",\n \"score\": \"0.5611282\",\n \"text\": \"@Override\\n public String read() {\\n String message = null;\\n int index = mBuffer.indexOf(mDelimiter, 0);\\n if (index > -1) {\\n int len = index + mDelimiter.length();\\n message = mBuffer.substring(0, len);\\n mBuffer.delete(0, len);\\n }\\n return message;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b405e91df2a4800b055c73e010902637\",\n \"score\": \"0.55956936\",\n \"text\": \"private void processComment() {\\n while (this.commentLevel > 0) {\\n // check for eof\\n if (this.position >= this.src.length()) {\\n return;\\n }\\n\\n if (this.checkForOpeningComment()) {\\n this.commentLevel++;\\n } else if (this.checkForClosingComment()) {\\n this.commentLevel--;\\n }\\n this.position++;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"811ad204aeb7003d57eeb2bfb7641e54\",\n \"score\": \"0.5563412\",\n \"text\": \"public int read ( char[] cbuf, int off, int len )\\n {\\n\\n int n;\\n\\n if ((n = ensure( len )) == 0)\\n return -1;\\n\\n if (cbuf == null || len <= 0)\\n return 0;\\n\\n if (n < len)\\n len = n;\\n\\n if (_out < _in)\\n {\\n System.arraycopy( _buf, _out, cbuf, off, len );\\n }\\n else\\n {\\n int chunk = _buf.length - _out;\\n\\n if (chunk >= len)\\n System.arraycopy( _buf, _out, cbuf, off, len );\\n else\\n {\\n System.arraycopy( _buf, _out, cbuf, off, chunk );\\n System.arraycopy( _buf, 0, cbuf, off + chunk, len - chunk );\\n }\\n }\\n\\n _out = (_out + len) % _buf.length;\\n _free += len;\\n\\n assert _free >= 0;\\n\\n return len;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9ac8aa3a85cba9674810f5113db1897c\",\n \"score\": \"0.556259\",\n \"text\": \"protected void getBuff(int fragment) throws IOException\\r\\n {\\r\\n new Thread()\\r\\n {\\r\\n public void run() {\\r\\n String[] param = new String[2];\\r\\n param[0] = String.valueOf(fileName);\\r\\n param[1] = String.valueOf(fragment);\\r\\n\\r\\n JsonObject jsonRet = proxy.synchExecution(\\\"getSongChunk\\\", param);\\r\\n String s = jsonRet.get(\\\"ret\\\").getAsString();\\r\\n nextBuf = Base64.getDecoder().decode(s);\\r\\n sem.release(); \\r\\n System.out.println(\\\"Read buffer\\\");\\r\\n }\\r\\n }.start();\\r\\n \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"99338e4ecf5ee241d7532a987ab380ac\",\n \"score\": \"0.5542129\",\n \"text\": \"private String readAndParseLine(final BufferedReader bReader) throws IOException {\\n String strLine = bReader.readLine();\\n String strToReturn = \\\"\\\";\\n boolean foundEndOfComment = false;\\n\\n if (strLine == null) {\\n return null;\\n }\\n\\n if (strLine.contains(\\\"/*\\\")) {\\n // handle block comments\\n if (strLine.trim().indexOf(\\\"/*\\\") > 0) {\\n strToReturn = strLine.substring(0,strLine.trim().indexOf(\\\"/*\\\"));\\n }\\n if (strLine.contains(\\\"*/\\\")) {\\n foundEndOfComment = true;\\n }\\n while (!foundEndOfComment) {\\n strLine = bReader.readLine();\\n if (strLine == null) {\\n return null;\\n }\\n if (strLine.contains(\\\"*/\\\")) {\\n foundEndOfComment = true;\\n }\\n }\\n } else {\\n strToReturn = strLine;\\n }\\n return strToReturn;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"34c338fb161cb4c544f035b4bec29b02\",\n \"score\": \"0.55344415\",\n \"text\": \"@Override\\n public int read() throws IOException {\\n checkIfClosed();\\n if (position >= count) {\\n refillBuffer();\\n }\\n if (count < 0) {\\n return -1;\\n }\\n return buffer[position++];\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"088bf9aa68bbdcd0e2bcb71f79741717\",\n \"score\": \"0.5529737\",\n \"text\": \"public int read()\\n throws IOException\\n {\\n if (spaceCount>0)\\n {\\n spaceCount--;\\n return SPACE;\\n }\\n \\n int c = in.read();\\n if (c==SPACE)\\n {\\n while ((c = in.read())==SPACE) \\n spaceCount++;\\n if (c==LF || c==CR || c==-1)\\n spaceCount = 0;\\n else\\n {\\n ((PushbackInputStream)in).unread(c);\\n c = SPACE;\\n }\\n return c;\\n }\\n if (c==EQ)\\n {\\n int c2 = super.in.read();\\n if (c2==LF)\\n return read();\\n if (c2==CR)\\n {\\n int peek = in.read();\\n if (peek!=LF)\\n ((PushbackInputStream)in).unread(peek);\\n return read();\\n }\\n if (c2==-1)\\n return c2;\\n \\n buf[0] = (byte)c2;\\n buf[1] = (byte)in.read();\\n try\\n {\\n return Integer.parseInt(new String(buf, 0, 2), 16);\\n }\\n catch (NumberFormatException e)\\n {\\n ((PushbackInputStream)in).unread(buf);\\n }\\n return c;\\n }\\n else\\n return c;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bb08aba4d8fd637c1c1d59ecaa23ae38\",\n \"score\": \"0.551693\",\n \"text\": \"protected void fill()\\n throws IOException {\\n pos = 0;\\n count = 0;\\n int nRead = input.read(buf, 0, buf.length);\\n if (nRead > 0) {\\n count = nRead;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2f120cc34538ba7675f3e16d7e6a56d1\",\n \"score\": \"0.55070627\",\n \"text\": \"private void refillBuffer() throws IOException {\\n count = in.read(buffer);\\n position = 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6244878ecf7d58c459cdb1171f4e571c\",\n \"score\": \"0.54954886\",\n \"text\": \"abstract public char read ( int thePosition ) throws java.io.IOException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"95f2315428d45818345a16d0b94b7915\",\n \"score\": \"0.5483942\",\n \"text\": \"public int readChunk( byte[] buffer, int off, int len ) throws IOException {\\r\\n \\t\\tint z;\\r\\n \\t\\tif( chunkLeft == 0 ) {\\r\\n \\t\\t\\t// Then read the next one!\\r\\n \\t\\t\\tString[] c = readCmd();\\r\\n \\t\\t\\tif( c.length == 0 ) {\\r\\n \\t\\t\\t\\tthrow new IOException(\\\"Zero-length command!\\\");\\r\\n \\t\\t\\t}\\r\\n \\t\\t\\tif( \\\"end-chunks\\\".equals(c[0]) ) {\\r\\n \\t\\t\\t\\treturn -1;\\r\\n \\t\\t\\t}\\r\\n \\t\\t\\tif( !\\\"chunk\\\".equals(c[0]) ) {\\r\\n \\t\\t\\t\\tthrow new IOException(\\\"Not a chunk! \\\"+c[0]);\\r\\n \\t\\t\\t}\\r\\n \\t\\t\\tchunkLeft = Integer.parseInt(c[1]);\\r\\n \\t\\t}\\r\\n \\t\\tz = is.read(buffer, off, Math.min( len, chunkLeft ) );\\r\\n \\t\\tif( z == -1 ) throw new IOException(\\\"Hit end of stream while reading chunk\\\");\\r\\n \\t\\tchunkLeft -= z;\\r\\n \\t\\treturn z;\\r\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bba565d8008ed464d5e33951d3d21e86\",\n \"score\": \"0.547403\",\n \"text\": \"public int read(char[] buf, int n) {\\n int total = 0;\\n while (total < n) {\\n // if pointer < count, which means there are still remaining datas in tmp since last read\\n if (pointer == count) {\\n pointer = 0; // Reset interval buffer's pointer to the beginning\\n count = read4(tmp);\\n if (count == 0) {\\n break;\\n } \\n }\\n buf[total++] = tmp[pointer++];\\n }\\n\\n return total;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"691ed41b1f3f14495bb9f40b95883aa3\",\n \"score\": \"0.54675907\",\n \"text\": \"public String read(int index, int count) //returns bytes read\\n {\\n\\t if(index>3||index<1)\\n\\t {\\n\\t\\t System.out.println(\\\"error\\\");\\n\\t\\t return \\\"error\\\";\\n\\t }\\n\\t //check if oft is open\\n\\t if(table.unpack((index*76)+64) ==-1)\\n\\t {\\n\\t\\t System.out.println(\\\"error\\\");\\n\\t\\t return \\\"error\\\";\\n\\t }\\n\\t\\t \\n\\t String bytes_read = \\\"\\\";\\n\\t int current = table.unpack((index*76)+64);\\n\\t int fd = table.unpack((index*76)+64+4);\\n\\t int length = table.unpack((index*76)+64+4+4);\\n\\t int block = (current/64)+1;\\n\\t \\n\\t for(int i=0;i\\\");\\r\\n\\t\\t\\tPattern p2 = Pattern.compile(\\\"\\\");\\r\\n\\t\\t\\tPattern p3 = Pattern.compile(\\\"\\\");\\r\\n\\t\\t\\tPattern p4 = Pattern.compile(\\\"^[ \\\\t]([-]*\\\\\\\\d+)<.+\\\");\\r\\n\\t\\t\\tPattern p5 = Pattern\\r\\n\\t\\t\\t\\t\\t.compile(\\\"^[ \\\\t](.+)<.+\\\");\\r\\n\\t\\t\\tPattern p6 = Pattern.compile(\\\"\\\");\\r\\n\\t\\t\\twhile ((line = in.readLine()) != null) {\\r\\n\\r\\n\\t\\t\\t\\tMatcher m1 = p1.matcher(line);\\r\\n\\t\\t\\t\\tMatcher m2 = p2.matcher(line);\\r\\n\\t\\t\\t\\tMatcher m3 = p3.matcher(line);\\r\\n\\t\\t\\t\\tMatcher m4 = p4.matcher(line);\\r\\n\\t\\t\\t\\tMatcher m5 = p5.matcher(line);\\r\\n\\t\\t\\t\\tMatcher m6 = p6.matcher(line);\\r\\n\\t\\t\\t\\tboolean b1 = m1.matches();\\r\\n\\t\\t\\t\\tboolean b2 = m2.matches();\\r\\n\\t\\t\\t\\tboolean b3 = m3.matches();\\r\\n\\t\\t\\t\\tboolean b4 = m4.matches();\\r\\n\\t\\t\\t\\tboolean b5 = m5.matches();\\r\\n\\t\\t\\t\\tboolean b6 = m6.matches();\\t\\t\\t\\t\\r\\n\\r\\n\\t\\t\\t\\tif (testing) {\\r\\n\\t\\t\\t\\t\\tSystem.out.println(line + \\\" \\\" + b1 + \\\" \\\" + b2 + \\\" \\\" + b3\\r\\n\\t\\t\\t\\t\\t\\t\\t+ \\\" \\\" + b4 + \\\" \\\" + b5);\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif (b1) {\\r\\n\\t\\t\\t\\t\\tcontinue; // skip first line. this is just to check if\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t// everything is ok\\r\\n\\t\\t\\t\\t} else if (b2) {\\r\\n\\t\\t\\t\\t\\ttype = \\\"subscription\\\";\\r\\n\\t\\t\\t\\t\\tpubSupType = m2.group(1);\\r\\n\\t\\t\\t\\t\\tif (testing) {\\r\\n\\t\\t\\t\\t\\t\\tSystem.out.println(\\\"Type = subscription \\\" + pubSupType);\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t} else if (b3) {\\r\\n\\t\\t\\t\\t\\ttype = \\\"publication\\\";\\r\\n\\t\\t\\t\\t\\tpubSupType = m3.group(1);\\r\\n\\t\\t\\t\\t\\tif (testing) {\\r\\n\\t\\t\\t\\t\\t\\tSystem.out.println(\\\"Type = publication \\\" + pubSupType);\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t} else if (b4) {\\r\\n\\t\\t\\t\\t\\tvalidity = Long.parseLong(m4.group(1));\\r\\n\\t\\t\\t\\t\\tif (testing) {\\r\\n\\t\\t\\t\\t\\t\\tSystem.out.println(\\\"Validity = \\\" + m4.group(1));\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t} else if (b5) {\\r\\n\\t\\t\\t\\t\\tif (!propertiesMap.containsKey(m5.group(1))) {\\r\\n\\t\\t\\t\\t\\t\\tif (m5.group(3).equals(\\\"string\\\")) {\\r\\n\\t\\t\\t\\t\\t\\t\\tpropertiesMap.put(m5.group(1), m5.group(4));\\r\\n\\t\\t\\t\\t\\t\\t\\toperatorMap.put(m5.group(1),\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tOperator.valueOf(m5.group(2)));\\r\\n\\t\\t\\t\\t\\t\\t} else if (m5.group(3).equals(\\\"integer\\\")) {\\r\\n\\t\\t\\t\\t\\t\\t\\tpropertiesMap.put(m5.group(1),\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tInteger.parseInt(m5.group(4)));\\r\\n\\t\\t\\t\\t\\t\\t\\toperatorMap.put(m5.group(1),\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tOperator.valueOf(m5.group(2)));\\r\\n\\t\\t\\t\\t\\t\\t} else if (m5.group(3).equals(\\\"long\\\")) {\\r\\n\\t\\t\\t\\t\\t\\t\\tpropertiesMap.put(m5.group(1),\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tLong.parseLong(m5.group(4)));\\r\\n\\t\\t\\t\\t\\t\\t\\toperatorMap.put(m5.group(1),\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tOperator.valueOf(m5.group(2)));\\r\\n\\t\\t\\t\\t\\t\\t} else if (m5.group(3).equals(\\\"double\\\")) {\\r\\n\\t\\t\\t\\t\\t\\t\\tpropertiesMap.put(m5.group(1),\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tDouble.parseDouble(m5.group(4)));\\r\\n\\t\\t\\t\\t\\t\\t\\toperatorMap.put(m5.group(1),\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tOperator.valueOf(m5.group(2)));\\r\\n\\t\\t\\t\\t\\t\\t} else if (m5.group(3).equals(\\\"boolean\\\")) {\\r\\n\\t\\t\\t\\t\\t\\t\\tpropertiesMap.put(m5.group(1),\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tBoolean.parseBoolean(m5.group(4)));\\r\\n\\t\\t\\t\\t\\t\\t\\toperatorMap.put(m5.group(1),\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tOperator.valueOf(m5.group(2)));\\r\\n\\t\\t\\t\\t\\t\\t} else if (m5.group(3).equals(\\\"float\\\")) {\\r\\n\\t\\t\\t\\t\\t\\t\\tpropertiesMap.put(m5.group(1),\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tFloat.parseFloat(m5.group(4)));\\r\\n\\t\\t\\t\\t\\t\\t\\toperatorMap.put(m5.group(1),\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tOperator.valueOf(m5.group(2)));\\r\\n\\t\\t\\t\\t\\t\\t} else {\\r\\n\\t\\t\\t\\t\\t\\t\\tSystem.err\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t.println(\\\"ERROR attribute type not supported: \\\"\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t+ m5.group(3));\\r\\n\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\tif (testing) {\\r\\n\\t\\t\\t\\t\\t\\t\\tSystem.out.println(m5.group(1) + \\\" \\\" + m5.group(2)\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t+ \\\" \\\" + m5.group(4) + \\\" Type: \\\"\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t+ m5.group(3));\\r\\n\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t} else if (b6) {\\r\\n\\t\\t\\t\\t\\ttype = \\\"announcement\\\";\\r\\n\\t\\t\\t\\t\\tpubSupType = m6.group(1);\\r\\n\\t\\t\\t\\t\\tif (testing) {\\r\\n\\t\\t\\t\\t\\t\\tSystem.out.println(\\\"Type = announcement \\\" + pubSupType);\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t}\\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}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"26b5be487a7b73602b15f3c1e09cd376\",\n \"score\": \"0.52893066\",\n \"text\": \"@Override\\n public int readBlob(String blobId, long pos, byte[] buff, int off, int length) throws IOException {\\n InputStream stream = getStream(blobId);\\n boolean threw = true;\\n try {\\n ByteStreams.skipFully(stream, pos);\\n int readCount = stream.read(buff, off, length);\\n threw = false;\\n return readCount;\\n } finally {\\n Closeables.close(stream, threw);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dfe0f885fe6e7e551185bff2fcebd773\",\n \"score\": \"0.52666897\",\n \"text\": \"void readData(ByteBuffer buf);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1aa764da8415498b1f5f93516c93e36c\",\n \"score\": \"0.52651536\",\n \"text\": \"@Override\\n public int read() throws IOException {\\n if( this.pointer >= this.content.length ) return -1;\\n \\n this.pointer++;\\n \\n return (int) this.content[this.pointer-1];\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"db68988eb88ccd1dfdccbb3d5ef7109f\",\n \"score\": \"0.5261794\",\n \"text\": \"private void getLinesFromBuffer(final int count) {\\n int actualSize = mBufferIndex + count;\\n ByteArrayInputStream bis = new ByteArrayInputStream(mBuffer, 0, actualSize);\\n mBufferIndex = 0;\\n BufferedReader reader = new BufferedReader(new InputStreamReader(bis));\\n try {\\n String line = reader.readLine();\\n while (null != line) {\\n addInput(line);\\n line = reader.readLine();\\n }\\n } catch (IOException i) {\\n assert true;\\n }\\n int remaining = bis.available();\\n System.arraycopy(mBuffer, actualSize - remaining, mBuffer, 0, remaining);\\n mBufferIndex = remaining;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7acbde789147368b34065f7cec28ba50\",\n \"score\": \"0.52518475\",\n \"text\": \"public long Read(long filepos, byte[] buff, int off, int len) {\\n return readFile(nHandle, filepos, buff, off, len);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"410caf00afd5c326a0d2ded5a68b3f8d\",\n \"score\": \"0.52462715\",\n \"text\": \"private void fillBuffer() {\\n\\t\\tbufferPointer = 0;\\n\\t\\ttry {\\n\\t\\t\\tbytesRead = dataInputStream.read(buffer, bufferPointer, bufferSize);\\n\\t\\t} catch (IOException e) {\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\n\\t\\tif (bytesRead == -1) {\\n\\t\\t\\tbuffer[0] = (byte) -1;\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3f02da2ba5b8c4f8ece9f039badf6ed6\",\n \"score\": \"0.5246187\",\n \"text\": \"public int read() throws IOException {\\n if (wait) {\\n return -1;\\n }\\n \\n if (empty) {\\n if (!fill()) {\\n wait = true;\\n return -1;\\n }\\n }\\n \\n if (buffer[bStart] == END_OF_STREAM) {\\n bStart++;\\n if (bStart == BUFFER_SIZE) {\\n bStart = 0;\\n }\\n if (bStart == bEnd) {\\n empty = true;\\n }\\n wait = true;\\n return -1;\\n } else {\\n bStart++;\\n if (bStart == bEnd || bEnd == 0 && bStart == BUFFER_SIZE) {\\n empty = true;\\n }\\n if (bStart == BUFFER_SIZE) {\\n bStart = 0;\\n return buffer[BUFFER_SIZE-1];\\n } else {\\n return buffer[bStart-1];\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f7eb49d2fc331f5fee254cf0706ce6ec\",\n \"score\": \"0.52459353\",\n \"text\": \"public String readInput() throws NumberFormatException, InterruptedException{\\n\\t\\ttry {\\n\\t\\t\\tSystem.out.println(\\\"Client Helper is reading from buffer\\\");\\n\\t\\t\\ttext = in.readLine();\\n\\t\\t} catch (IOException e) {\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\t\\treturn text;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"64ce3d20cc43a76395ecd10758f88a94\",\n \"score\": \"0.52299315\",\n \"text\": \"@Override\\r\\n public synchronized int read() throws IOException {\\r\\n \\r\\n \\r\\n\\t if (pos >= total) \\r\\n\\t {\\t\\r\\n pos = 0; \\r\\n return -1;\\r\\n\\t }\\r\\n\\t int posmod = pos % FRAGMENT_SIZE;\\r\\n\\t if (posmod == 0)\\r\\n\\t {\\r\\n try\\r\\n {\\r\\n sem.acquire(); \\r\\n }catch (InterruptedException exc) \\r\\n { \\r\\n System.out.println(exc);\\r\\n }\\r\\n\\t for (int i=0; i< FRAGMENT_SIZE; i++)\\r\\n\\t\\t buf[i] = nextBuf[i];\\r\\n \\r\\n\\t getBuff(fragment);\\r\\n\\t fragment++;\\r\\n\\t }\\r\\n\\t int p = pos % FRAGMENT_SIZE;\\r\\n\\t pos ++;\\r\\n return buf[p] & 0xff; \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e9db3e85b1b27a3db4e5619003bf77b6\",\n \"score\": \"0.52291954\",\n \"text\": \"public void readBuffer(int mode) {\\n\\n read_buffer(mode);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7292d64ea24fc0346abba02698219d5e\",\n \"score\": \"0.52060044\",\n \"text\": \"public String read() {\\n\\n\\t\\tlastStatus = new Status(Status.SUCCESS);\\n\\n\\t\\tif (fReadAhead) {\\n\\t\\t\\tfReadAhead = false;\\n\\t\\t\\treturn buffer;\\n\\t\\t}\\n\\n\\t\\ttry {\\n\\t\\t\\tbuffer = getStdin().readLine();\\n\\t\\t} catch (final IOException e) {\\n\\t\\t\\tbuffer = null;\\n\\t\\t\\tlastStatus = new Status(Status.IOERROR, e.toString());\\n\\n\\t\\t}\\n\\t\\treturn buffer;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d94331e1553e8edcde260cc9f9c51e0a\",\n \"score\": \"0.5197262\",\n \"text\": \"Builder readBufferSize(int readBufferSize);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e4c660cef531caf29384d631740a1779\",\n \"score\": \"0.51934606\",\n \"text\": \"protected int readBytes( byte buffer[], int offset, int len )\\n throws IOException\\n {\\n int read = fileSystem.commands.fileRead(fd, buffer, offset, len);\\n filePointer += read;\\n\\n return read;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"37e1b1f330d9923b59b5b30c5088acd0\",\n \"score\": \"0.5187809\",\n \"text\": \"long bytesRead();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4ae92c7ff1e446a809cbe9fa49463c1c\",\n \"score\": \"0.51849\",\n \"text\": \"public String readString(DataInputStream is){\\n\\n\\t\\tint read = 0 ;\\n\\t\\tint readLen=0;\\n\\t\\tint curRead=0;\\n\\t\\ttry {\\n\\t\\t\\twhile (is.available()==0);\\n\\t\\t\\tbuffer1 = new byte[is.available()];\\n\\t\\t\\tSystem.out.println(\\\"available:\\\"+is.available());\\n\\t\\t} catch (IOException e) {\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\t\\tstr = null;\\n\\t\\ttry {\\n\\t\\t\\tread = is.read(buffer1,0,buffer1.length);\\n\\t\\t} catch (IOException e) {\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\t\\tSystem.out.println(\\\"read:\\\"+read);\\n\\t\\t//System.out.println(.toString(buffer1).toString());\\n\\t\\tmfjs= parseHead(buffer1);\\n\\t\\tif(mfjs!=null){\\n\\t\\t\\tbyte[] buffer2 = new byte[mfjs.optInt(\\\"L\\\")];\\n\\t\\t\\tSystem.out.println(\\\"length is :\\\"+mfjs.optInt(\\\"L\\\"));\\n\\t\\t\\tcurRead = read -location-2;\\n\\t\\t\\tSystem.out.println(\\\"curRead:\\\"+curRead);\\n\\t\\t\\tSystem.arraycopy(buffer1, location + 2, buffer2, 0, curRead);\\n\\t\\t\\ttry {\\n\\t\\t\\t\\twhile(readLen<(mfjs.optInt(\\\"L\\\"))) {\\n\\t\\t\\t\\t\\treadLen +=curRead;\\n\\n\\t\\t\\t\\t\\tcurRead =is.read(buffer2,readLen,is.available());\\n\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tSystem.out.println(\\\"readLen=\\\"+readLen);\\n\\t\\t\\t\\tif(readLen == (mfjs.optInt(\\\"L\\\"))){\\n\\t\\t\\t\\t\\tSystem.out.println(\\\"read fully\\\");\\n\\t\\t\\t\\t}\\n\\t\\t\\t} catch (IOException e) {\\n\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t}\\n\\t\\t\\tString type = mfjs.optString(\\\"T\\\");\\n\\t\\t\\tif(type.equals(\\\"M\\\")){\\n\\t\\t\\t\\tstr = new String(buffer2);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\treturn str;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e21e35dd5283f4b6137a0cbb5c6f1e3c\",\n \"score\": \"0.5182912\",\n \"text\": \"@Test(timeout = 4000)\\n public void test045() throws Throwable {\\n StringReader stringReader0 = new StringReader(\\\"6Z?]~0 LuA~\\\");\\n StringReader stringReader1 = new StringReader(\\\"6Z?]~0 LuA~\\\");\\n stringReader0.mark(2822);\\n stringReader1.mark(2822);\\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, 473, 0);\\n javaCharStream0.ReInit((Reader) stringReader0);\\n JavaCharStream javaCharStream1 = new JavaCharStream(stringReader1, 4620, 4091, 121);\\n char char0 = javaCharStream0.ReadByte();\\n assertEquals('6', char0);\\n assertEquals((-1), javaCharStream0.bufpos);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"896dd68f9e6fd8f0289f800c9f0f7978\",\n \"score\": \"0.5169321\",\n \"text\": \"private final static StringBuffer readFile(Reader rdr) throws IOException {\\n\\t\\tif (rdr == null)\\n\\t\\t\\treturn null;\\n\\t\\tStringBuffer out = null;\\n\\t\\tBufferedReader bufRdr = null;\\n\\t\\tIOException exception = null;\\n\\t\\ttry {\\n\\t\\t\\tbufRdr = new BufferedReader(rdr);\\n\\t\\t\\tlong c = bufRdr.read();\\n\\t\\t\\tout = new StringBuffer(\\\"\\\");\\n\\t\\t\\twhile (c != -1) {\\n\\t\\t\\t\\tout.append((char) c);\\n\\t\\t\\t\\tc = bufRdr.read();\\n\\t\\t\\t}\\n\\t\\t} catch (IOException ioe) {\\n\\t\\t\\texception = ioe;\\n\\t\\t} catch (Throwable t) {\\n\\t\\t\\t// do nothing\\n\\t\\t} finally {\\n\\t\\t\\tif (bufRdr != null)\\n\\t\\t\\t\\tbufRdr.close();\\n\\t\\t\\tif (rdr != null)\\n\\t\\t\\t\\trdr.close();\\n\\t\\t}\\n\\t\\tif (exception != null)\\n\\t\\t\\tthrow exception;\\n\\t\\treturn out;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"41541c6ed76e681b0985af47ef9d905d\",\n \"score\": \"0.5167368\",\n \"text\": \"@Override\\r\\n\\tpublic SessionContent getSessionContentFromReplyOfReadSessionBuffer(\\r\\n\\t\\t\\tbyte[] inBuf, int bufferLength) {\\n\\t\\tbyte[] temp = getByteArray(inBuf, 5, 8);\\r\\n\\t\\tlong version = byte2long(temp);\\r\\n\\t\\t// Timestamp timestamp = Timestamp.valueOf(byte2string(inBuf, 13, 8));\\r\\n\\t\\tbyte[] temp2 = getByteArray(inBuf, 13, 8);\\r\\n\\t\\tlong ts = byte2long(temp2);\\r\\n\\t\\tTimestamp timestamp = new Timestamp(ts);\\r\\n\\t\\tbyte[] mess = getByteArray(inBuf, 21, bufferLength - 21);\\r\\n\\t\\tString message = byte2string(mess);\\r\\n\\r\\n\\t\\tSessionContent content = null;\\r\\n\\t\\tif(version >= 0){\\r\\n\\t\\t\\tcontent = new SessionContent(message, version, timestamp);\\r\\n\\t\\t}\\r\\n\\t\\treturn content;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4553281c6745139e593191f5b51c011d\",\n \"score\": \"0.5165922\",\n \"text\": \"int read ( byte[] bbuf, int off, int len )\\n {\\n\\n int n;\\n\\n if ((n = ensure( len )) == 0)\\n return -1;\\n\\n if (bbuf == null || len <= 0)\\n return 0;\\n\\n if (n < len)\\n len = n;\\n\\n if (_out < _in)\\n {\\n System.arraycopy( _buf, _out, bbuf, off, len );\\n }\\n else\\n {\\n int chunk = _buf.length - _out;\\n\\n if (chunk >= len)\\n System.arraycopy( _buf, _out, bbuf, off, len );\\n else\\n {\\n System.arraycopy( _buf, _out, bbuf, off, chunk );\\n\\n System.arraycopy(\\n _buf, 0, bbuf, off + chunk, len - chunk );\\n }\\n }\\n\\n _out = (_out + len) % _buf.length;\\n _free += len;\\n\\n return len;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b142b2c95d68b3444ed0eda1d104c6f8\",\n \"score\": \"0.5146875\",\n \"text\": \"public int read(char c[])\\n {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2cf076eedeed7ad6e7841da71424ca02\",\n \"score\": \"0.5140632\",\n \"text\": \"int getBufferSize() throws IOException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aed85e469b5d0747f0a885ddd108c668\",\n \"score\": \"0.51372325\",\n \"text\": \"private static String readLine(InputStream in) throws IOException\\r\\n\\t{\\r\\n\\t StringBuilder sb = new StringBuilder();\\r\\n\\t int readByte = in.read();\\r\\n\\t while (readByte>-1 && readByte!= '\\\\n')\\r\\n\\t {\\r\\n\\t sb.append((char) readByte);\\r\\n\\t readByte = in.read();\\r\\n\\t }\\r\\n\\t return readByte==-1?null:sb.toString();\\r\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a38a25807ce7f0ad2c5549a19ece6759\",\n \"score\": \"0.5136587\",\n \"text\": \"int K2616_ReadRecordFile(HANDLE ComHandle, IntBuffer len, ByteBuffer CardID);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f90911ae7c58ecb4a48f5d077b4a42d4\",\n \"score\": \"0.5134632\",\n \"text\": \"void read();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f90911ae7c58ecb4a48f5d077b4a42d4\",\n \"score\": \"0.5134632\",\n \"text\": \"void read();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c3d8d54d981b8ddaf6ec1aec03c8c549\",\n \"score\": \"0.5126324\",\n \"text\": \"@Override\\n\\tpublic void feedInBuffer() {\\n\\t\\ttry {\\n\\t\\t\\t// note: we only keep BUFFERLINES=3 lines in memory;\\n\\t\\t\\tint slot = pReadLine % BUFFERLINES;\\n\\n\\t\\t\\tif(pReadLine >= height) {\\n\\t\\t\\t\\tSystem.out.println(\\\"Reached to end of image, no more data.\\\");\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t//corner case #2: clear out next line in the rotation slot, so we can do processing on last line.\\n\\t\\t\\t\\tlines[slot] = new byte[LINEBYTES];\\n\\t\\t\\t\\t\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\t\\t\\t\\n\\t\\t\\t\\n\\t\\t\\tint count = inStream.read( lines[slot] );\\t\\t\\t\\n\\t\\t\\tSystem.out.println(\\\"pReadLine: \\\" + pReadLine);\\n\\t\\t\\tpReadLine++;\\n\\n\\t\\t\\tif( count != LINEBYTES ) {\\n\\t\\t\\t\\tSystem.err.println(\\\"Image line input seems to be truncated\\\");\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tcatch(IOException io) {\\n\\t\\t\\tSystem.err.println(\\\"Failed to read data content\\\");\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"775ab9e78c5be0d20a86a725b3ead855\",\n \"score\": \"0.5124227\",\n \"text\": \"public void skipBuffer() {\\n int length = readInt();\\n pos += length;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"88c7ee39afe0b98f97e565fba4e8502d\",\n \"score\": \"0.51203454\",\n \"text\": \"ByteBuffer readBlock();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b0b2565b7f1e421370426877dfdd9442\",\n \"score\": \"0.51096576\",\n \"text\": \"private char read()\\n\\t\\tthrows IOException\\n\\t{\\n\\t\\tif(limit - position < 1)\\n\\t\\t{\\n\\t\\t\\tif(! readAhead(1))\\n\\t\\t\\t{\\n\\t\\t\\t\\tthrow new EOFException();\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\treturn buffer[position++];\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"02e52a8cd6270def03c096e0736aa552\",\n \"score\": \"0.5100313\",\n \"text\": \"char readChar() throws java.io.IOException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bfc2c04c512d2e911da526e678f39d86\",\n \"score\": \"0.5095414\",\n \"text\": \"public int read(char[] cbuf, int offset, int length) {\\n byte[] my_byte_array = new byte[length];\\n int retVal;\\n\\n try {\\n retVal = my_input_stream.read(my_byte_array, 0, length);\\n }\\n catch (Exception e) {\\n e.printStackTrace();\\n return -1;\\n }\\n\\n for (int k = 0; k < retVal; k++) {\\n cbuf[k + offset] = (char) my_byte_array[k];\\n }\\n\\n return retVal;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3502a6966bc32928891928f6b4e659c0\",\n \"score\": \"0.50933504\",\n \"text\": \"private int readdDataToByteBuffer(byte[] buf, FileInputStream fileReader) throws IOException {\\r\\n\\t\\tint readBytes = 0;\\r\\n\\t\\tif (fileReader.available() > 0)\\r\\n\\t\\t\\treadBytes = fileReader.read(buf);\\r\\n\\r\\n\\t\\treturn readBytes;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fd64a489d447c5ba807b92dec58690af\",\n \"score\": \"0.5091769\",\n \"text\": \"private int read() throws IOException \\r\\n\\t{\\r\\n\\t\\tif (putbackLength > 0) return putbackBuffer[--putbackLength];\\r\\n\\t\\treturn reader.read();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d4863ce0c60e0743de083522294bbab1\",\n \"score\": \"0.5091218\",\n \"text\": \"private void readFully(byte[] buff) throws IOException \\n {\\n dataIn.readFully(buff);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"85983b68e20e150c5ce8d9ba8bf54a23\",\n \"score\": \"0.5088418\",\n \"text\": \"int readPartial(byte[] data, int offset, int len) throws Exception;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"549d3522a0489e6f939082b21ed07a76\",\n \"score\": \"0.50656384\",\n \"text\": \"public abstract void getCharacters(char buffer);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9e9547909b8d46f7bd2e0f76e4bb89aa\",\n \"score\": \"0.5064313\",\n \"text\": \"private void readHashIntoSB(StringBuilder sb) throws IOException {\\n int r = -1;\\n while ((r = in.readByte()) != -1) {\\n char c = (char) r;\\n if (c == '#') {\\n// Log.v(TAG, \\\"run: End of answer '#'\\\");\\n break;\\n } else {\\n// Log.v(TAG, \\\"run: got '\\\" + c + \\\"'\\\");\\n sb.append(c);\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cc75835db9fb92b529eb0a4d82e9a0eb\",\n \"score\": \"0.5051981\",\n \"text\": \"public byte read() throws IOException {\\n if (bufferPointer == bytesRead)\\n fillBuffer();\\n return buffer[bufferPointer++];\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8a7ee674e9ad9a6ba19bbd2f5d3ab36c\",\n \"score\": \"0.5047409\",\n \"text\": \"private int readBytes() {\\n /*\\n r5 = this;\\n java.nio.ByteBuffer r0 = r5.bb\\n r0.compact()\\n java.nio.channels.ReadableByteChannel r0 = r5.ch // Catch:{ all -> 0x005d }\\n if (r0 == 0) goto L_0x001a\\n java.nio.channels.ReadableByteChannel r0 = r5.ch // Catch:{ all -> 0x005d }\\n java.nio.ByteBuffer r1 = r5.bb // Catch:{ all -> 0x005d }\\n r2 = 1\\n int r0 = sun.nio.ch.ChannelInputStream.read(r0, r1, r2) // Catch:{ all -> 0x005d }\\n if (r0 >= 0) goto L_0x0049\\n L_0x0014:\\n java.nio.ByteBuffer r5 = r5.bb\\n r5.flip()\\n return r0\\n L_0x001a:\\n java.nio.ByteBuffer r0 = r5.bb\\n int r0 = r0.limit()\\n java.nio.ByteBuffer r1 = r5.bb\\n int r1 = r1.position()\\n if (r1 > r0) goto L_0x002a\\n int r0 = r0 - r1\\n goto L_0x002b\\n L_0x002a:\\n r0 = 0\\n L_0x002b:\\n java.io.InputStream r2 = r5.in\\n java.nio.ByteBuffer r3 = r5.bb\\n byte[] r3 = r3.array()\\n java.nio.ByteBuffer r4 = r5.bb\\n int r4 = r4.arrayOffset()\\n int r4 = r4 + r1\\n int r0 = r2.read(r3, r4, r0)\\n if (r0 >= 0) goto L_0x0041\\n goto L_0x0014\\n L_0x0041:\\n if (r0 == 0) goto L_0x0055\\n java.nio.ByteBuffer r2 = r5.bb\\n int r1 = r1 + r0\\n r2.position(r1)\\n L_0x0049:\\n java.nio.ByteBuffer r0 = r5.bb\\n r0.flip()\\n java.nio.ByteBuffer r5 = r5.bb\\n int r5 = r5.remaining()\\n return r5\\n L_0x0055:\\n java.io.IOException r0 = new java.io.IOException\\n java.lang.String r1 = \\\"Underlying input stream returned zero bytes\\\"\\n r0.(r1)\\n throw r0\\n L_0x005d:\\n r0 = move-exception\\n java.nio.ByteBuffer r5 = r5.bb\\n r5.flip()\\n throw r0\\n */\\n throw new UnsupportedOperationException(\\\"Method not decompiled: sun.nio.cs.StreamDecoder.readBytes():int\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9105c713441d4dcfc84c2155e0417447\",\n \"score\": \"0.5043091\",\n \"text\": \"private void processBufferedData() throws IOException {\\r\\n if (textBuffer==null) return;\\r\\n String s=\\\"\\\"+textBuffer;\\r\\n if (!s.trim().equals(\\\"\\\")) textBuffer=null;\\r\\n if (s.equals(\\\"\\\")) return;\\r\\n\\r\\n if (startedNewElement) outputNewLine();\\r\\n startedNewElement=false;\\r\\n String padding=\\\"\\\";\\r\\n for (int i=0; i=0)) {\\r\\n s=s.substring(0, pos)+\\r\\n lineSeparator+ padding+\\r\\n s.substring(pos+lineSeparator.length());\\r\\n pos=s.indexOf(lineSeparator, pos+lineSeparator.length());\\r\\n }\\r\\n outputText(s);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"385ed2725a6aeb4be5a3a8d0e6e6516c\",\n \"score\": \"0.5035893\",\n \"text\": \"@Override\\n\\tprotected void readStep() {\\n\\t\\tboolean got = false;\\n\\t\\ttry {\\n\\t\\t\\t//inputStream.read(readBs);\\n\\n\\t\\t\\twhile(inputStream.available() > 0 && recvQueue.remainingCapacity() > MIN_CAP)\\n\\t\\t\\t{\\n\\n\\t\\t\\t\\tint read = inputStream.read();\\n\\t\\t\\t\\tgot = true;\\n\\t\\t\\t\\t//System.out.append((char)read);\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tif(read < 0)\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\treader.stop();\\n\\t\\t\\t\\t\\t//kickErrorEvent(new End);\\n\\t\\t\\t\\t\\treturn;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\trecvQueue.put((byte)read);\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t// Force events on \\\\r\\\\n\\\\0\\n\\t\\t\\t\\tif(read == 0x0D || read == 0x0A || read == 0)\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t}\\n\\t\\t} catch (InterruptedException e) {\\n\\t\\t\\t// Ignore\\n\\t\\t\\treturn;\\n\\t\\t} catch (IOException e) {\\n\\t\\t\\tkickErrorEvent(e);\\n\\t\\t} \\n\\t\\tfinally \\n\\t\\t{\\n\\t\\t\\tif(got) kickReceiveEvent();\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"49e2b32c06ace051961b20b0425e2acc\",\n \"score\": \"0.50343513\",\n \"text\": \"public int readPacket(byte[] buffer) throws IOException {\\n\\t\\tint i = 0;\\n\\t\\twhile (i < buffer.length) {\\n\\t\\t\\tif (localPos < size) {\\n\\t\\t\\t\\tbuffer[i++] = localBuf[localPos++];\\n\\t\\t\\t\\tcontinue;\\n\\t\\t\\t}\\n\\n\\t\\t\\tsize = readBuffer();\\n\\t\\t\\tif (size == 0)\\n\\t\\t\\t\\tbreak; // end of file reached\\n\\t\\t}\\n\\t\\treturn i;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3cd21ef7f8f5f186b30902c6dc0843b5\",\n \"score\": \"0.5031039\",\n \"text\": \"public native int read() throws IOException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"362c1e4195d24689bf02507f4df0dfef\",\n \"score\": \"0.5030101\",\n \"text\": \"String readText(BufferedReader in) throws IOException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7c9587c9abefa1f3e9f62835644a2351\",\n \"score\": \"0.5027879\",\n \"text\": \"@Override\\n public int read(char[] cbuf, int off, int len) throws IOException {\\n if (currentTableReader == null) {\\n String tableResults = getNextTable();\\n if (tableResults == null) {\\n return -1;\\n }\\n currentTableReader = CharSource.wrap(tableResults).openStream();\\n }\\n\\n int charactersRead = currentTableReader.read(cbuf, off, len);\\n while (charactersRead == -1) {\\n String tableResults = getNextTable();\\n if (tableResults == null) {\\n return -1;\\n }\\n currentTableReader = CharSource.wrap(tableResults).openStream();\\n charactersRead = currentTableReader.read(cbuf, off, len);\\n }\\n\\n return charactersRead;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ffc3908741f3c06e8b383f5496e91163\",\n \"score\": \"0.502698\",\n \"text\": \"@Test(timeout = 4000)\\n public void test101() throws Throwable {\\n StringReader stringReader0 = new StringReader(\\\"IN_MULTI_LINE_COMMENT\\\");\\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\\n javaParserTokenManager0.getNextToken();\\n assertEquals(20, javaCharStream0.bufpos);\\n assertEquals(21, javaCharStream0.getColumn());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e6d9f70cd747cdf06c6874d9efc5d97\",\n \"score\": \"0.5026578\",\n \"text\": \"public String read()\\n \\t{\\n \\t\\tString returnVal = \\\"\\\";\\n \\t\\tBufferedInputStream termIn = new BufferedInputStream(new FileInputStream(termFd));\\n \\t\\t\\n \\t\\ttry\\n \\t\\t{\\n \\t\\t\\tint newByte = 0;\\n \\t\\t\\t\\n\\t\\t\\twhile (!returnVal.endsWith(\\\"\\\\r\\\\n$ \\\") && !returnVal.contains(\\\"\\\\r\\\\n# \\\") && (newByte != -1))\\n \\t\\t\\t{\\n \\t\\t\\t\\tnewByte = termIn.read();\\n \\t\\t\\t\\treturnVal += (char)newByte;\\n \\t\\t\\t}\\n \\n \\t\\t}\\n \\t\\tcatch (Exception e)\\n \\t\\t{\\n \\t\\t\\tLog.e(\\\"mercury\\\", e.getMessage());\\n \\t\\t}\\n \\t\\t\\n \\t\\treturn returnVal;\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b3e9c5522d3e84bb24b7a1091423fc24\",\n \"score\": \"0.5023618\",\n \"text\": \"private void readSource(TokenizerSource source, char[] buffer) throws Throwable {\\n long startTime = System.currentTimeMillis();\\n int chars;\\n \\n while ((chars = source.read(buffer, 0, buffer.length)) > 0);\\n System.out.println(source.getClass().getName() + \\\" needed \\\" + (System.currentTimeMillis() - startTime) + \\\"ms.\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d2dfe6716946f9f67974ff3b67974928\",\n \"score\": \"0.50166285\",\n \"text\": \"@Override\\n public int read(long position, byte[] buffer, int offset, int length)\\n throws IOException {\\n validatePositionedReadArgs(position, buffer, offset, length);\\n if (length == 0) {\\n return 0;\\n }\\n ByteBuffer bb = ByteBuffer.wrap(buffer, offset, length);\\n return pread(position, bb);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"975bb8ca5351a2f22f584a61bc8b1cfc\",\n \"score\": \"0.5015631\",\n \"text\": \"@Override\\r\\n\\tpublic void incomingMessage(String readMessage) {\\r\\n\\r\\n\\t\\tfor (int i = 0; i < readMessage.length(); i++) {\\r\\n\\t\\t\\tchar c = readMessage.charAt(i);\\r\\n\\r\\n\\t\\t\\tif (TAG == c) {\\r\\n\\t\\t\\t\\tlaunchBuffer();\\r\\n\\t\\t\\t} else {\\r\\n\\t\\t\\t\\tbuffer.append(c);\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t\\t//\\r\\n\\t\\t// Log.d(\\\"CNCmsg:\\\", readMessage);\\r\\n\\t\\t// // read incoming messages\\r\\n\\t\\t// if (!readMessage.contains(TAG)) {\\r\\n\\t\\t// buffer += (readMessage);\\r\\n\\t\\t// return;\\r\\n\\t\\t// }\\r\\n\\t\\t// if (readMessage.startsWith(TAG)) {\\r\\n\\t\\t// launchBuffer();\\r\\n\\t\\t// // buffer += (readMessage.replace(TAG, \\\"\\\"));\\r\\n\\t\\t// //\\r\\n\\t\\t// // return;\\r\\n\\t\\t// }\\r\\n\\t\\t//\\r\\n\\t\\t// String[] strings = readMessage.split(TAG);\\r\\n\\t\\t// int i = 0;\\r\\n\\t\\t// for (String string : strings) {\\r\\n\\t\\t// i++;\\r\\n\\t\\t// buffer += (string);\\r\\n\\t\\t// if (strings.length > 1 && i < strings.length) {\\r\\n\\t\\t// launchBuffer();\\r\\n\\t\\t// }\\r\\n\\t\\t// if(readMessage.endsWith(TAG)){\\r\\n\\t\\t// launchBuffer();\\r\\n\\t\\t// }\\r\\n\\r\\n\\t\\t// just start the buffer\\r\\n\\t\\t// with the last string\\r\\n\\t\\t// (if not trivial)\\r\\n\\t\\treturn;\\r\\n\\t\\t// }\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2a08f152cef5a4a3693a9aa26e50e6cb\",\n \"score\": \"0.50153977\",\n \"text\": \"public void read() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2de3e1d394a53109cfbac9ef5c057d86\",\n \"score\": \"0.50141203\",\n \"text\": \"public String readLine(){\\n\\t\\tif(this.inBuffer == null)return null;\\n\\n\\t\\tStringBuilder sb = new StringBuilder();\\n\\t\\ttry {\\n\\t\\t\\tsb.append(inBuffer.readLine());\\n\\t\\t\\treturn sb.toString();\\n\\t\\t} catch (IOException e) {\\n\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\te.printStackTrace();\\n\\t\\t\\treturn null;\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"36722cabe0e3a7bdf7497eed4a77d5db\",\n \"score\": \"0.5011098\",\n \"text\": \"private long parseBufferForLineCount(URL dataFile, byte[] bufferAsBytes) throws Exception {\\n InputStream inputStream = new ByteArrayInputStream(bufferAsBytes);\\n InputStreamReader inputStreamReader = new InputStreamReader(inputStream);\\n long linesInBuffer = 0;\\n try (BufferedReader reader = new BufferedReader(inputStreamReader)) {\\n while (reader.readLine() != null) {\\n linesInBuffer++;\\n }\\n } catch (IOException e) {\\n LOGGER.error(\\\"Cannot count lines from file {} in parseBufferForLineCount() function\\\",\\n dataFile);\\n e.printStackTrace();\\n throw new Exception(e.getMessage());\\n }\\n LOGGER.debug(\\\"parseBufferForLineCount:linesInBuffer {}\\\", linesInBuffer);\\n return linesInBuffer;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cdc5690aeeb4550bb406e291e0dfcedb\",\n \"score\": \"0.49995375\",\n \"text\": \"protected int read_buf(byte[] buf, int start, int size) {\\n window_buffer.index(start).limit(start + size).isPart(true);\\n input = input.pull(window_buffer);\\n\\n int len = window_buffer.index() - start;\\n if (len == 0) {\\n return 0;\\n }\\n\\n if (wrap == 1) {\\n adler = adler32(adler, buf, start, len);\\n } else if (wrap == 2) {\\n adler = crc32(adler, buf, start, len);\\n }\\n total_in += len;\\n\\n return len;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c9c299ba2bf4d05bcd1c7334555feb7a\",\n \"score\": \"0.49964744\",\n \"text\": \"@Override\\r\\n\\tpublic int read(char[] b, int off, int len) throws IOException {\\n\\t\\tint read = 0, res = 0;\\r\\n\\t\\twhile (read < len && res != -1) {\\r\\n\\t\\t\\tres = this.read();\\r\\n\\t\\t\\tif (res != -1) {\\r\\n\\t\\t\\t\\tb[read++] = (char) res;\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t\\tif (read == 0) {\\r\\n\\t\\t\\treturn -1;\\r\\n\\t\\t} else {\\r\\n\\t\\t\\treturn read;\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bd6f93163d0dbcf275f5965a27acae46\",\n \"score\": \"0.49945793\",\n \"text\": \"public void ReadBtn(View v) {\\n //reading text from file\\n try {\\n FileInputStream fileIn=openFileInput(\\\"myFile.txt\\\");\\n InputStreamReader InputRead= new InputStreamReader(fileIn);\\n\\n char[] inputBuffer= new char[READ_BLOCK_SIZE];\\n String s=\\\"\\\";\\n int charRead;\\n while ((charRead=InputRead.read(inputBuffer))>0) {\\n // char to string conversion\\n // String chR = Integer.toString(charRead);\\n // int x=inputBuffer.length;\\n // Log.i(\\\"arr!!charread\\\", \\\"\\\" + charRead + \\\"x=\\\" + x);\\n String readstring=String.copyValueOf(inputBuffer,0,charRead);\\n s +=readstring;\\n }\\n InputRead.close();\\n Toast.makeText(getBaseContext(), s,Toast.LENGTH_SHORT).show();\\n Toast.makeText(getBaseContext(), \\\"File read successfully!\\\",\\n Toast.LENGTH_SHORT).show();\\n\\n } catch (Exception e) {\\n e.printStackTrace();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2fabb580957cb900163ed1a27a9e9db6\",\n \"score\": \"0.49885908\",\n \"text\": \"public native static int MF_Read(int DeviceAddress,byte add_blk, byte num_blk, byte[] buffer);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ebe20b020f59d9dffafdf7b7e7ae5b35\",\n \"score\": \"0.49872234\",\n \"text\": \"private static String readContent(BufferedReader reader) throws IOException {\\n StringBuilder content = new StringBuilder();\\n int line;\\n while ((line = reader.read()) != -1) {\\n content.append((char) line);\\n }\\n return content.toString();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4050ed64151709e2e40ffb4413868e01\",\n \"score\": \"0.49793515\",\n \"text\": \"public void readFile() {\\r\\n\\t\\ttry {\\r\\n//\\t\\t\\tBufferedReader in = new BufferedReader(new FileReader(\\\"in\\\"\\r\\n//\\t\\t\\t\\t\\t+ System.getProperty(\\\"file.separator\\\") + this.fileName));\\r\\n\\t\\t\\tBufferedReader in = new BufferedReader(new FileReader( this.fileName));\\r\\n\\t\\t\\treadBuffer(in);\\r\\n\\t\\t} catch (FileNotFoundException e) {\\r\\n\\t\\t\\te.printStackTrace();\\r\\n\\t\\t}\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dbe9dbf6dcce4a479c13bd00ca428a67\",\n \"score\": \"0.49780318\",\n \"text\": \"public String getBufferPart(int from, int to);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"805cd00a493cbe711ba74ddf9c275364\",\n \"score\": \"0.49755502\",\n \"text\": \"@Override\\n\\t\\tpublic int read() throws IOException {\\n\\t\\t\\tif (read >= size - 1) {\\n\\t\\t\\t\\treturn -1;\\n\\t\\t\\t}\\n\\t\\t\\tread++;\\n\\t\\t\\treturn wrapped.read();\\n\\t\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":368,"cells":{"query_id":{"kind":"string","value":"64c8a1ed1492c4a3007a3ec1bb48a2f3"},"query":{"kind":"string","value":"Insert the method's description here. Creation date: (26.10.2004 18:45:38)"},"positive_passages":{"kind":"list like","value":[{"docid":"8544767ec1c387bde70ec49959ebea99","score":"0.0","text":"public java.lang.Integer getResource80() {\n\treturn resource80;\n}","title":""}],"string":"[\n {\n \"docid\": \"8544767ec1c387bde70ec49959ebea99\",\n \"score\": \"0.0\",\n \"text\": \"public java.lang.Integer getResource80() {\\n\\treturn resource80;\\n}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"63a51b9825ac81396e1d7ad0b9f3ed82","score":"0.7126339","text":"@Override\n\tpublic void 군무() {\n\t\t\n\t}","title":""},{"docid":"15ae679aae74424c73fde647cf4332f6","score":"0.7037496","text":"@Override\r\n\t\t\tpublic void hissetmek() {\n\r\n\t\t\t}","title":""},{"docid":"2bd152bb33ecbe797b9818e175c5d4ec","score":"0.6955621","text":"public void mo55659a() {\n }","title":""},{"docid":"bfad11e436c98998f434617a4d2907e5","score":"0.69312924","text":"@Override\r\n\tpublic void adharno() {\n\t\t\r\n\t}","title":""},{"docid":"b62655d47438ae6875a06d0702721dbc","score":"0.69098157","text":"@Override\r\n\t\t\tpublic void koklama() {\n\r\n\t\t\t}","title":""},{"docid":"a0486d5f3890f3b56ce5a39122c4bdd7","score":"0.6777097","text":"@Override\r\n\tvoid metodo4() {\n\t\t\r\n\t}","title":""},{"docid":"1dd3d9bdd67d8cc8bddfe021796a9286","score":"0.6724086","text":"@Override\n protected void lodate() {\n\n }","title":""},{"docid":"42c3f8e63385f8e328b6828c1f7243d4","score":"0.67044294","text":"@Override\r\n\t\tpublic void method_4() {\n\t\t\t\r\n\t\t}","title":""},{"docid":"106ce0ada7b978eeffda7ec9cccc29e2","score":"0.668518","text":"public void дразнит() {\n\n\t}","title":""},{"docid":"288fd3ee71b736e770bbef790831c263","score":"0.66603184","text":"User mo18615e();","title":""},{"docid":"76a80470fd21f5a9092c258ed3a8a632","score":"0.66471595","text":"private static void 로또번호리스트() {\n\t\t\r\n\t}","title":""},{"docid":"dda3b5a5b8e9e69b6eec0807bf162606","score":"0.66411585","text":"@Override\r\n\tpublic void rozmnozovat() {\n\t\t\r\n\t}","title":""},{"docid":"0b5b11f4251ace8b3d0f5ead186f7beb","score":"0.66400844","text":"@Override\n\tpublic void comer() {\n\t\t\n\t}","title":""},{"docid":"79c707f3d28263fcc89902b0527d5c14","score":"0.6595457","text":"public void mo736a() {\n }","title":""},{"docid":"9969c2cd0a26f223be9eea348d1c6160","score":"0.65592927","text":"private static void 로또수동생성() {\n\t\t\r\n\t}","title":""},{"docid":"103ef877191eb3bc760c142351d74d08","score":"0.6472132","text":"public void mo72547a() {\n }","title":""},{"docid":"b7d3c2b49702a5ed673b243bf8d2b7c0","score":"0.6471971","text":"@Override\n\tprotected void funcionario() {\n\t\t\n\t}","title":""},{"docid":"cf495ef9b2708251f1a707604305e445","score":"0.6464304","text":"public void mo10012e() {\n }","title":""},{"docid":"4a3a3aeaffc4b367a8aa8488e4b59610","score":"0.64487344","text":"public void mo10856b() {\n }","title":""},{"docid":"5435fed6c0a9345524c30343d8ed9829","score":"0.64281726","text":"@Override\r\n\tpublic void entrenar() {\n\t\t\r\n\t}","title":""},{"docid":"00075c50e26b18237953cd05ffd5428b","score":"0.6411402","text":"@Override\n\tpublic void beber() {\n\t\t\n\t}","title":""},{"docid":"00048a15fd5df50d047c45690cdbb79a","score":"0.63944453","text":"public void mo72549c() {\n }","title":""},{"docid":"61358eff9372995c8157b02d47a44a6a","score":"0.6386572","text":"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}","title":""},{"docid":"40577cf33330bd70c08bc8e310b4436d","score":"0.6350708","text":"@Override\n\tpublic void falar() {\n\n\t}","title":""},{"docid":"0ca16e78cddd3c7d9de74c662606bbac","score":"0.63503677","text":"public void mo4570b() {\n }","title":""},{"docid":"f4f7bcdf27874d7a17a80f57f8df43e0","score":"0.63472503","text":"public void mo10744d() {\n }","title":""},{"docid":"abd288d7785f3e1c8446fe448ca79636","score":"0.634009","text":"public void mo25895a() {\n }","title":""},{"docid":"1f7c82e188acf30d59f88faf08cf24ac","score":"0.6339479","text":"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}","title":""},{"docid":"1f7c82e188acf30d59f88faf08cf24ac","score":"0.6339479","text":"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}","title":""},{"docid":"1944d39c5e352ed0f9b376a46d2d65d4","score":"0.6328583","text":"public void mo72548b() {\n }","title":""},{"docid":"bf8fefe7b85b49281edb456698bfd556","score":"0.6321131","text":"@Override\r\n\tpublic void descansar() {\n\t\t\r\n\t}","title":""},{"docid":"0d706ec83316608dffe6fb3a50b42f93","score":"0.6316803","text":"public void mo104202a() {\n }","title":""},{"docid":"33d41636b65afa8267c9085dae3d1a2d","score":"0.6305496","text":"private void apparence() {\r\n\r\n\t}","title":""},{"docid":"de9d820aa7022de3f155611decfc4bef","score":"0.63053066","text":"public void mo9848a() {\n }","title":""},{"docid":"a1113d0fc8cb0c23dc19ebb8e6ed5c6f","score":"0.6304258","text":"public void mo119665g() {\n }","title":""},{"docid":"52198cab8ce9d6d894927734cc20273c","score":"0.62944955","text":"public void mo23635d() {\n }","title":""},{"docid":"c95af00aee2fa41e8a03e3640ca30750","score":"0.6290765","text":"@Override\n\tpublic void ligar() {\n\t\t\n\t}","title":""},{"docid":"f2c7b5ce36e184040567bd1b4d22ce55","score":"0.62388736","text":"public void mo7573ja() {\n }","title":""},{"docid":"80887229cd7860f253bdaefb01f1687d","score":"0.6233057","text":"protected void mo3535a() {\n }","title":""},{"docid":"03b93c6668ea7af171bbcdb3af74bb4a","score":"0.62215984","text":"@Override\n public void bicar() {\n }","title":""},{"docid":"5f8d37aee09bc1e9959f768d6eb0183c","score":"0.621878","text":"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}","title":""},{"docid":"764363f474dae877c00ccbd4222930bb","score":"0.62053657","text":"@Override\r\n\t\t\tpublic void action() {\n\t\t\t\t\r\n\t\t\t}","title":""},{"docid":"977bbdfb6519b616aa6ec183058fe095","score":"0.61995584","text":"public void mo25898b() {\n }","title":""},{"docid":"21122eff5c5fdf26b34ef8b80ffff5e2","score":"0.6178874","text":"public void mo3669b() {\n }","title":""},{"docid":"d38b0575895b09dd770504a60f8d85da","score":"0.6177756","text":"@Override\r\n\tpublic void method8() {\n\r\n\t}","title":""},{"docid":"33f3cf6a3898654f822043472690d00a","score":"0.6177718","text":"public void mo23636e() {\n }","title":""},{"docid":"77d32d2a2070d9c3117ff146ac04f114","score":"0.61743575","text":"@Override\r\n\tpublic void climaChuvoso() {\n\r\n\t}","title":""},{"docid":"a6e9388ba580a030c48b527221f8e81a","score":"0.617232","text":"@Override\n\tpublic void actuar() {\n\t\t\n\t}","title":""},{"docid":"ee82efca22c2a7529bf6e463387158a7","score":"0.6152209","text":"@Override\n public void methodExampleCaller() {\n\n\n\n }","title":""},{"docid":"3b072172b17a5e5ab0081f24545795f2","score":"0.6136484","text":"public void przymocowac() {\n\t\t\n\t}","title":""},{"docid":"9b29988979d452433bf9bca03dddd71d","score":"0.6135924","text":"public void mo3670c() {\n }","title":""},{"docid":"f21bdaa510a3c4aaf729670a764e1420","score":"0.6109131","text":"public void mo12455a() {\n }","title":""},{"docid":"b90a85352bff2d76f367ee348156967c","score":"0.60939825","text":"public void mo23099b() {\n }","title":""},{"docid":"b6d3acffe4d345e208dbd5404078f39a","score":"0.60922766","text":"protected abstract Object method_752();","title":""},{"docid":"555ef4e0462825494b2cea69540f132f","score":"0.609177","text":"public void mo23978b() {\n }","title":""},{"docid":"0d996fa345e18b74a73dce6394fc0b15","score":"0.6088854","text":"@Override\r\n\tpublic void sunricers() {\n\t\t\r\n\t}","title":""},{"docid":"c744960aa067b28111e99db9ddf6aeed","score":"0.60880125","text":"@Override\r\n\tpublic void fragancia() {\n\t\t\r\n\t}","title":""},{"docid":"b2cde12cf50e0ec60f909684878e936c","score":"0.6085619","text":"@Override\n\tpublic void wykonajZamknij() {\n\n\t}","title":""},{"docid":"fef3334fa5c99a98625169a7536d2157","score":"0.60850453","text":"@Override\r\n\tpublic void method4() {\n\r\n\t}","title":""},{"docid":"67b69bc5da5432117143d4b37155ca9e","score":"0.60719514","text":"public void mo61201z() {\n }","title":""},{"docid":"dc9f6ac22366497ef7fbccd6dcc8a72c","score":"0.6068497","text":"abstract void mo14278c();","title":""},{"docid":"a53d232dac89259f961cbc93762f65b2","score":"0.6062338","text":"@Override\r\n\t\t\tvoid n() {\n\t\t\t\t\r\n\t\t\t}","title":""},{"docid":"d1bbb9bc3b89cd96535f71da8bdcaf2e","score":"0.6060945","text":"public abstract void mo1473c();","title":""},{"docid":"7ca376910f797ab2dbb8d7bff96d2804","score":"0.60513926","text":"public void mo834a() {\n }","title":""},{"docid":"d66780f861182da5e725ad815e1bc024","score":"0.6048773","text":"public void mo16822a() {\n }","title":""},{"docid":"6f1e0cfaa7350cf143896dace56978f5","score":"0.60471576","text":"@Override\n\tpublic void respirar() {\n\t\t\n\t}","title":""},{"docid":"76e3d99118a00e74a082f6a955778f7d","score":"0.6042103","text":"Grensesnitt(){}","title":""},{"docid":"42693116fba02f3f07be1ab752c6d9bc","score":"0.60396135","text":"@Override\r\n\tpublic void concentrarse() {\n\t\t\r\n\t}","title":""},{"docid":"9f0f95ccef49fcce3c39594376bd3b71","score":"0.60327387","text":"public void mo26023r() {\n }","title":""},{"docid":"ef815ccc144ce692211c8c366c9443dc","score":"0.6020465","text":"public void mo36513a() {\n }","title":""},{"docid":"b9024f59965817099d00d0bd0c3e6faa","score":"0.6019397","text":"public void mo23097a() {\n }","title":""},{"docid":"e0484a0369823567b49e79228c2162ea","score":"0.6013886","text":"@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}","title":""},{"docid":"e44838dcf5ad7e9e6fde916ef535f149","score":"0.6010282","text":"private void supporterHSMethod() {\n\t\t\n\t}","title":""},{"docid":"ee49d350aa1b80fa7ebe5e168812c8e8","score":"0.6005433","text":"public void mo26014i() {\n }","title":""},{"docid":"c58bd028a86302d6e5fb5909e112e096","score":"0.60052127","text":"public abstract void mo1474d();","title":""},{"docid":"b8a66b2b3b50e8bf7a26b37cd4b0c8a6","score":"0.5996297","text":"@Override\r\n\tvoid method1() {\n\t\t\r\n\t}","title":""},{"docid":"debc6b4612a5fe9f0680a6bff73f25e6","score":"0.59962046","text":"@Override\r\n\t\tpublic void emettreSon() {\n\t\t\t\r\n\t\t}","title":""},{"docid":"46c2093361121f4ec4e9bf1b6456df44","score":"0.5990674","text":"@Override\n\tpublic void info() {\n\t\t\n\t}","title":""},{"docid":"b1abf9b7f22449274272f392c17c3c3f","score":"0.598847","text":"private void supporterHIMethod() {\n\t\t\n\t}","title":""},{"docid":"50ae3868c65f66b65e63221251809f6f","score":"0.5988262","text":"protected abstract Set method_751();","title":""},{"docid":"eb45f7aa3d5f53a318b1c67b803fb7e0","score":"0.59795076","text":"public final void mo9049b() {\n }","title":""},{"docid":"eed6d7ba6b4a071c283e1203eb8bb526","score":"0.597561","text":"@Override\n public void metoda1() {\n }","title":""},{"docid":"bef645dca0be722faba23823a74bc241","score":"0.59586227","text":"@Override\r\n\t\tpublic void method_3() {\n\t\t\t\r\n\t\t}","title":""},{"docid":"73f45b190ed6242b51c144a24f8d4b9e","score":"0.59575516","text":"abstract void mo14279d();","title":""},{"docid":"9118ebab842568233795c2b8a84351ea","score":"0.5957165","text":"public void e120Q2( )\n {\n }","title":""},{"docid":"5ba58754acbc70c9e223ec8894eac607","score":"0.59541684","text":"public void sampleMethod()\n {\n\n }","title":""},{"docid":"1e26520cdd571260a78927457d0dca61","score":"0.5953186","text":"@Override\r\n\tpublic void method1() {\n\t\t\r\n\t}","title":""},{"docid":"77f859c241fd5e1d997f67c3b890833e","score":"0.5938928","text":"@Override\n\tpublic void dormir() {\n\t\t\n\t}","title":""},{"docid":"873a43d9bb508264718dc24eb945af1f","score":"0.59235764","text":"public void method_239() {}","title":""},{"docid":"0c9bcc0c52f8041b2b2db4ee75f43a45","score":"0.59189975","text":"public void nada() {\n\t}","title":""},{"docid":"29a0533084a38a0acf5a2a4676fdd4f7","score":"0.5913057","text":"@Override\r\n\tpublic void method6() {\n\r\n\t}","title":""},{"docid":"7030c4f1163697a293880bfede661677","score":"0.59047353","text":"private void Goal() {\n\t\t\r\n\t}","title":""},{"docid":"159bff53d9698a2e6231fc6f39dd13a7","score":"0.5902634","text":"@Override\r\n\tpublic void method4() {\n\t}","title":""},{"docid":"60e50abec8df6d4d5a80de13ba750171","score":"0.590251","text":"@Override\r\n\tpublic void retour() {\n\t\t\r\n\t}","title":""},{"docid":"72de7907ef7f55104d42291c18ea6ade","score":"0.5902302","text":"@Override\r\n\tprotected void abstractMethod() {\n\t\t\r\n\t}","title":""},{"docid":"cce15f647f795017e06f2ca544477ccd","score":"0.58990556","text":"@Override\n\tpublic void chamCong() {\n\n\t}","title":""},{"docid":"32c6659f4b67f97f906dd1d88fae1699","score":"0.5896696","text":"public abstract void mo23702Po();","title":""},{"docid":"37d2eaf46e7240d752c51cbfac433601","score":"0.58925486","text":"public void mo89966b() {\n }","title":""},{"docid":"54db842a7ba675cf42c0f819c75c87ae","score":"0.5889733","text":"public void example(){\r\n\t}","title":""},{"docid":"4335fc8a106c3c7f1306354caea5bce2","score":"0.58885205","text":"@Override\r\n\tpublic void getInfo() {\n\t\t\r\n\t}","title":""},{"docid":"0b2971269fe98b0ff303e308456ac5b5","score":"0.58872026","text":"public void method_2917() {\r\n super.method_2917();\r\n }","title":""}],"string":"[\n {\n \"docid\": \"63a51b9825ac81396e1d7ad0b9f3ed82\",\n \"score\": \"0.7126339\",\n \"text\": \"@Override\\n\\tpublic void 군무() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"15ae679aae74424c73fde647cf4332f6\",\n \"score\": \"0.7037496\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void hissetmek() {\\n\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2bd152bb33ecbe797b9818e175c5d4ec\",\n \"score\": \"0.6955621\",\n \"text\": \"public void mo55659a() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bfad11e436c98998f434617a4d2907e5\",\n \"score\": \"0.69312924\",\n \"text\": \"@Override\\r\\n\\tpublic void adharno() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b62655d47438ae6875a06d0702721dbc\",\n \"score\": \"0.69098157\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void koklama() {\\n\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0486d5f3890f3b56ce5a39122c4bdd7\",\n \"score\": \"0.6777097\",\n \"text\": \"@Override\\r\\n\\tvoid metodo4() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1dd3d9bdd67d8cc8bddfe021796a9286\",\n \"score\": \"0.6724086\",\n \"text\": \"@Override\\n protected void lodate() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42c3f8e63385f8e328b6828c1f7243d4\",\n \"score\": \"0.67044294\",\n \"text\": \"@Override\\r\\n\\t\\tpublic void method_4() {\\n\\t\\t\\t\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"106ce0ada7b978eeffda7ec9cccc29e2\",\n \"score\": \"0.668518\",\n \"text\": \"public void дразнит() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"288fd3ee71b736e770bbef790831c263\",\n \"score\": \"0.66603184\",\n \"text\": \"User mo18615e();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"76a80470fd21f5a9092c258ed3a8a632\",\n \"score\": \"0.66471595\",\n \"text\": \"private static void 로또번호리스트() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dda3b5a5b8e9e69b6eec0807bf162606\",\n \"score\": \"0.66411585\",\n \"text\": \"@Override\\r\\n\\tpublic void rozmnozovat() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0b5b11f4251ace8b3d0f5ead186f7beb\",\n \"score\": \"0.66400844\",\n \"text\": \"@Override\\n\\tpublic void comer() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"79c707f3d28263fcc89902b0527d5c14\",\n \"score\": \"0.6595457\",\n \"text\": \"public void mo736a() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9969c2cd0a26f223be9eea348d1c6160\",\n \"score\": \"0.65592927\",\n \"text\": \"private static void 로또수동생성() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"103ef877191eb3bc760c142351d74d08\",\n \"score\": \"0.6472132\",\n \"text\": \"public void mo72547a() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7d3c2b49702a5ed673b243bf8d2b7c0\",\n \"score\": \"0.6471971\",\n \"text\": \"@Override\\n\\tprotected void funcionario() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cf495ef9b2708251f1a707604305e445\",\n \"score\": \"0.6464304\",\n \"text\": \"public void mo10012e() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a3a3aeaffc4b367a8aa8488e4b59610\",\n \"score\": \"0.64487344\",\n \"text\": \"public void mo10856b() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5435fed6c0a9345524c30343d8ed9829\",\n \"score\": \"0.64281726\",\n \"text\": \"@Override\\r\\n\\tpublic void entrenar() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"00075c50e26b18237953cd05ffd5428b\",\n \"score\": \"0.6411402\",\n \"text\": \"@Override\\n\\tpublic void beber() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"00048a15fd5df50d047c45690cdbb79a\",\n \"score\": \"0.63944453\",\n \"text\": \"public void mo72549c() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"61358eff9372995c8157b02d47a44a6a\",\n \"score\": \"0.6386572\",\n \"text\": \"@Override\\n\\tpublic void gravarBd() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"40577cf33330bd70c08bc8e310b4436d\",\n \"score\": \"0.6350708\",\n \"text\": \"@Override\\n\\tpublic void falar() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0ca16e78cddd3c7d9de74c662606bbac\",\n \"score\": \"0.63503677\",\n \"text\": \"public void mo4570b() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4f7bcdf27874d7a17a80f57f8df43e0\",\n \"score\": \"0.63472503\",\n \"text\": \"public void mo10744d() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"abd288d7785f3e1c8446fe448ca79636\",\n \"score\": \"0.634009\",\n \"text\": \"public void mo25895a() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f7c82e188acf30d59f88faf08cf24ac\",\n \"score\": \"0.6339479\",\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.6339479\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void ayuda() {\\n\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1944d39c5e352ed0f9b376a46d2d65d4\",\n \"score\": \"0.6328583\",\n \"text\": \"public void mo72548b() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf8fefe7b85b49281edb456698bfd556\",\n \"score\": \"0.6321131\",\n \"text\": \"@Override\\r\\n\\tpublic void descansar() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d706ec83316608dffe6fb3a50b42f93\",\n \"score\": \"0.6316803\",\n \"text\": \"public void mo104202a() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"33d41636b65afa8267c9085dae3d1a2d\",\n \"score\": \"0.6305496\",\n \"text\": \"private void apparence() {\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"de9d820aa7022de3f155611decfc4bef\",\n \"score\": \"0.63053066\",\n \"text\": \"public void mo9848a() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1113d0fc8cb0c23dc19ebb8e6ed5c6f\",\n \"score\": \"0.6304258\",\n \"text\": \"public void mo119665g() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"52198cab8ce9d6d894927734cc20273c\",\n \"score\": \"0.62944955\",\n \"text\": \"public void mo23635d() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c95af00aee2fa41e8a03e3640ca30750\",\n \"score\": \"0.6290765\",\n \"text\": \"@Override\\n\\tpublic void ligar() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f2c7b5ce36e184040567bd1b4d22ce55\",\n \"score\": \"0.62388736\",\n \"text\": \"public void mo7573ja() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80887229cd7860f253bdaefb01f1687d\",\n \"score\": \"0.6233057\",\n \"text\": \"protected void mo3535a() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"03b93c6668ea7af171bbcdb3af74bb4a\",\n \"score\": \"0.62215984\",\n \"text\": \"@Override\\n public void bicar() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f8d37aee09bc1e9959f768d6eb0183c\",\n \"score\": \"0.621878\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void annadir() {\\n\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"764363f474dae877c00ccbd4222930bb\",\n \"score\": \"0.62053657\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void action() {\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"977bbdfb6519b616aa6ec183058fe095\",\n \"score\": \"0.61995584\",\n \"text\": \"public void mo25898b() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"21122eff5c5fdf26b34ef8b80ffff5e2\",\n \"score\": \"0.6178874\",\n \"text\": \"public void mo3669b() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d38b0575895b09dd770504a60f8d85da\",\n \"score\": \"0.6177756\",\n \"text\": \"@Override\\r\\n\\tpublic void method8() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"33f3cf6a3898654f822043472690d00a\",\n \"score\": \"0.6177718\",\n \"text\": \"public void mo23636e() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"77d32d2a2070d9c3117ff146ac04f114\",\n \"score\": \"0.61743575\",\n \"text\": \"@Override\\r\\n\\tpublic void climaChuvoso() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a6e9388ba580a030c48b527221f8e81a\",\n \"score\": \"0.617232\",\n \"text\": \"@Override\\n\\tpublic void actuar() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ee82efca22c2a7529bf6e463387158a7\",\n \"score\": \"0.6152209\",\n \"text\": \"@Override\\n public void methodExampleCaller() {\\n\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3b072172b17a5e5ab0081f24545795f2\",\n \"score\": \"0.6136484\",\n \"text\": \"public void przymocowac() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9b29988979d452433bf9bca03dddd71d\",\n \"score\": \"0.6135924\",\n \"text\": \"public void mo3670c() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f21bdaa510a3c4aaf729670a764e1420\",\n \"score\": \"0.6109131\",\n \"text\": \"public void mo12455a() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b90a85352bff2d76f367ee348156967c\",\n \"score\": \"0.60939825\",\n \"text\": \"public void mo23099b() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b6d3acffe4d345e208dbd5404078f39a\",\n \"score\": \"0.60922766\",\n \"text\": \"protected abstract Object method_752();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"555ef4e0462825494b2cea69540f132f\",\n \"score\": \"0.609177\",\n \"text\": \"public void mo23978b() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d996fa345e18b74a73dce6394fc0b15\",\n \"score\": \"0.6088854\",\n \"text\": \"@Override\\r\\n\\tpublic void sunricers() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c744960aa067b28111e99db9ddf6aeed\",\n \"score\": \"0.60880125\",\n \"text\": \"@Override\\r\\n\\tpublic void fragancia() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b2cde12cf50e0ec60f909684878e936c\",\n \"score\": \"0.6085619\",\n \"text\": \"@Override\\n\\tpublic void wykonajZamknij() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fef3334fa5c99a98625169a7536d2157\",\n \"score\": \"0.60850453\",\n \"text\": \"@Override\\r\\n\\tpublic void method4() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"67b69bc5da5432117143d4b37155ca9e\",\n \"score\": \"0.60719514\",\n \"text\": \"public void mo61201z() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc9f6ac22366497ef7fbccd6dcc8a72c\",\n \"score\": \"0.6068497\",\n \"text\": \"abstract void mo14278c();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a53d232dac89259f961cbc93762f65b2\",\n \"score\": \"0.6062338\",\n \"text\": \"@Override\\r\\n\\t\\t\\tvoid n() {\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1bbb9bc3b89cd96535f71da8bdcaf2e\",\n \"score\": \"0.6060945\",\n \"text\": \"public abstract void mo1473c();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7ca376910f797ab2dbb8d7bff96d2804\",\n \"score\": \"0.60513926\",\n \"text\": \"public void mo834a() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d66780f861182da5e725ad815e1bc024\",\n \"score\": \"0.6048773\",\n \"text\": \"public void mo16822a() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f1e0cfaa7350cf143896dace56978f5\",\n \"score\": \"0.60471576\",\n \"text\": \"@Override\\n\\tpublic void respirar() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"76e3d99118a00e74a082f6a955778f7d\",\n \"score\": \"0.6042103\",\n \"text\": \"Grensesnitt(){}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42693116fba02f3f07be1ab752c6d9bc\",\n \"score\": \"0.60396135\",\n \"text\": \"@Override\\r\\n\\tpublic void concentrarse() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9f0f95ccef49fcce3c39594376bd3b71\",\n \"score\": \"0.60327387\",\n \"text\": \"public void mo26023r() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ef815ccc144ce692211c8c366c9443dc\",\n \"score\": \"0.6020465\",\n \"text\": \"public void mo36513a() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9024f59965817099d00d0bd0c3e6faa\",\n \"score\": \"0.6019397\",\n \"text\": \"public void mo23097a() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0484a0369823567b49e79228c2162ea\",\n \"score\": \"0.6013886\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void buscar() {\\n\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e44838dcf5ad7e9e6fde916ef535f149\",\n \"score\": \"0.6010282\",\n \"text\": \"private void supporterHSMethod() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ee49d350aa1b80fa7ebe5e168812c8e8\",\n \"score\": \"0.6005433\",\n \"text\": \"public void mo26014i() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c58bd028a86302d6e5fb5909e112e096\",\n \"score\": \"0.60052127\",\n \"text\": \"public abstract void mo1474d();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b8a66b2b3b50e8bf7a26b37cd4b0c8a6\",\n \"score\": \"0.5996297\",\n \"text\": \"@Override\\r\\n\\tvoid method1() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"debc6b4612a5fe9f0680a6bff73f25e6\",\n \"score\": \"0.59962046\",\n \"text\": \"@Override\\r\\n\\t\\tpublic void emettreSon() {\\n\\t\\t\\t\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"46c2093361121f4ec4e9bf1b6456df44\",\n \"score\": \"0.5990674\",\n \"text\": \"@Override\\n\\tpublic void info() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1abf9b7f22449274272f392c17c3c3f\",\n \"score\": \"0.598847\",\n \"text\": \"private void supporterHIMethod() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"50ae3868c65f66b65e63221251809f6f\",\n \"score\": \"0.5988262\",\n \"text\": \"protected abstract Set method_751();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eb45f7aa3d5f53a318b1c67b803fb7e0\",\n \"score\": \"0.59795076\",\n \"text\": \"public final void mo9049b() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eed6d7ba6b4a071c283e1203eb8bb526\",\n \"score\": \"0.597561\",\n \"text\": \"@Override\\n public void metoda1() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bef645dca0be722faba23823a74bc241\",\n \"score\": \"0.59586227\",\n \"text\": \"@Override\\r\\n\\t\\tpublic void method_3() {\\n\\t\\t\\t\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"73f45b190ed6242b51c144a24f8d4b9e\",\n \"score\": \"0.59575516\",\n \"text\": \"abstract void mo14279d();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9118ebab842568233795c2b8a84351ea\",\n \"score\": \"0.5957165\",\n \"text\": \"public void e120Q2( )\\n {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5ba58754acbc70c9e223ec8894eac607\",\n \"score\": \"0.59541684\",\n \"text\": \"public void sampleMethod()\\n {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1e26520cdd571260a78927457d0dca61\",\n \"score\": \"0.5953186\",\n \"text\": \"@Override\\r\\n\\tpublic void method1() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"77f859c241fd5e1d997f67c3b890833e\",\n \"score\": \"0.5938928\",\n \"text\": \"@Override\\n\\tpublic void dormir() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"873a43d9bb508264718dc24eb945af1f\",\n \"score\": \"0.59235764\",\n \"text\": \"public void method_239() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0c9bcc0c52f8041b2b2db4ee75f43a45\",\n \"score\": \"0.59189975\",\n \"text\": \"public void nada() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"29a0533084a38a0acf5a2a4676fdd4f7\",\n \"score\": \"0.5913057\",\n \"text\": \"@Override\\r\\n\\tpublic void method6() {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7030c4f1163697a293880bfede661677\",\n \"score\": \"0.59047353\",\n \"text\": \"private void Goal() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"159bff53d9698a2e6231fc6f39dd13a7\",\n \"score\": \"0.5902634\",\n \"text\": \"@Override\\r\\n\\tpublic void method4() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"60e50abec8df6d4d5a80de13ba750171\",\n \"score\": \"0.590251\",\n \"text\": \"@Override\\r\\n\\tpublic void retour() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"72de7907ef7f55104d42291c18ea6ade\",\n \"score\": \"0.5902302\",\n \"text\": \"@Override\\r\\n\\tprotected void abstractMethod() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cce15f647f795017e06f2ca544477ccd\",\n \"score\": \"0.58990556\",\n \"text\": \"@Override\\n\\tpublic void chamCong() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"32c6659f4b67f97f906dd1d88fae1699\",\n \"score\": \"0.5896696\",\n \"text\": \"public abstract void mo23702Po();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"37d2eaf46e7240d752c51cbfac433601\",\n \"score\": \"0.58925486\",\n \"text\": \"public void mo89966b() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54db842a7ba675cf42c0f819c75c87ae\",\n \"score\": \"0.5889733\",\n \"text\": \"public void example(){\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4335fc8a106c3c7f1306354caea5bce2\",\n \"score\": \"0.58885205\",\n \"text\": \"@Override\\r\\n\\tpublic void getInfo() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0b2971269fe98b0ff303e308456ac5b5\",\n \"score\": \"0.58872026\",\n \"text\": \"public void method_2917() {\\r\\n super.method_2917();\\r\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":369,"cells":{"query_id":{"kind":"string","value":"17d9cf9d687f12e9af5317c5d1288f54"},"query":{"kind":"string","value":"Sets the role card of player."},"positive_passages":{"kind":"list like","value":[{"docid":"0a9c6910a3cf82ac9fc8e3a946b3b548","score":"0.7892927","text":"public void setRole(RoleCard role) {\r\n this.role = role;\r\n }","title":""}],"string":"[\n {\n \"docid\": \"0a9c6910a3cf82ac9fc8e3a946b3b548\",\n \"score\": \"0.7892927\",\n \"text\": \"public void setRole(RoleCard role) {\\r\\n this.role = role;\\r\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"101b10ed947683ee627efadaca31c81c","score":"0.785923","text":"public void setRole(final Role playerRole) {\n role = playerRole;\n }","title":""},{"docid":"36f05f827996ab9224b5a05f48b12012","score":"0.7142108","text":"void setRole(String role);","title":""},{"docid":"78c8fa2e153f63c3e206697997c04603","score":"0.7098867","text":"public void setRole(Object role);","title":""},{"docid":"756d30ccebfa427a1ba41772cfa0cfe4","score":"0.6680635","text":"public void setRole(jp.co.isken.beerGame.entity.Role v) {\r\n this.role = v;\r\n }","title":""},{"docid":"9cb8af28e32d71c62e50e8ee2167c158","score":"0.6579796","text":"public void setPrefRole(String role)\r\n {\r\n prefRole = role;\r\n }","title":""},{"docid":"3da18e5d4aa5ad22710cefdf618e3a59","score":"0.6532905","text":"void setPlayedRole(/*AssociationSet*/List playedRole);","title":""},{"docid":"e6d5011c41cef26bb4efae0a86803121","score":"0.64676684","text":"private void setRole(int roleType) {\r\n if(roleType==0){\r\n this.role=\"Villain\";\r\n }\r\n else{\r\n this.role=\"Hero\";\r\n }\r\n \r\n }","title":""},{"docid":"7386f2160d08cd4c5702b7153b5a9f42","score":"0.6445522","text":"public void takeRole() {\n /* Make sure they are in a set room */\n if (!(curPlayer.getRoom() instanceof SetRoom)) {\n displayMessage(\"Whoops, you cannot take a role in the trailer or office!\");\n return;\n }\n /* Make sure there is still a movie being filmed */\n if (((SetRoom)curPlayer.getRoom()).getScene() == null) {\n displayMessage(\"Whoops, looks like the scene has ended filming for the day.\");\n return;\n }\n /* Get list of roles and convert too list of role names */\n List roleNames = new ArrayList();\n for (Role curRole : curPlayer.getRoles()) {\n roleNames.add(curRole.getName());\n }\n /* Display possible roles and get selected role */\n String selectedRoleName = board.selectionBox(\"What role?\", roleNames);\n for (Role r : curPlayer.getRoles()) {\n if(r.getName().equals(selectedRoleName)) {\n if(curPlayer.getRank() < r.getRank()) {\n displayMessage(\"Sorry bud, you need a little more experience for that role.\");\n return;\n } else {\n curPlayer.takeRole(r);\n }\n }\n }\n /* Update player information in view and location */\n curPlayer.hasActed(true);\n board.paintActions(curPlayer);\n board.paintPlayer(curPlayer);\n endTurn();\n }","title":""},{"docid":"6b2b38da4ed0b80363275d165a7f3ee0","score":"0.635285","text":"public void setRole(String role) {\r\n\t\t this.role = role;\r\n\t }","title":""},{"docid":"b0599c39d4665232f40fa8aecf8e62b6","score":"0.6346973","text":"@Override\r\n\tpublic void performRole(Player player) {}","title":""},{"docid":"5e3ba66ed9741dc56002c0047f3b6764","score":"0.6334547","text":"void addPlayedRole(org.hl7.rim.Role playedRole);","title":""},{"docid":"515673c43a6ec34b3dc6e510cd2f859f","score":"0.63159215","text":"public RoleCard role() {\r\n return role;\r\n }","title":""},{"docid":"0b75b92ff56925ca600299726f8d4238","score":"0.6249335","text":"public void setRole(Role role) {\n\t\tthis.role = role; \n\t}","title":""},{"docid":"1b256af01fff0dfeb4ba094e784b5891","score":"0.6228148","text":"public void setRole(java.lang.String role) {\n this.role = role;\n }","title":""},{"docid":"a310ee30e8d1237056640caaaaac5a2e","score":"0.62096024","text":"public void setRole(String role) {\n this.role = role;\n }","title":""},{"docid":"cc1e623113c2f1ae5907ee0827288072","score":"0.62081814","text":"public void setPartnerRole(Role partnerRole);","title":""},{"docid":"cdbf79bb21ca59dd2fec5ccb261334b5","score":"0.6201918","text":"public void setRole(java.lang.String role)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ROLE$0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ROLE$0);\n }\n target.setStringValue(role);\n }\n }","title":""},{"docid":"0881a883082962be24598a283431de0e","score":"0.6171858","text":"public void setRole(Role role) {\n\t\tthis.role = role;\n\t}","title":""},{"docid":"c2251764b4ae47766ebef9324b1c7507","score":"0.6162814","text":"public Builder setRole(int value) {\r\n \r\n role_ = value;\r\n onChanged();\r\n return this;\r\n }","title":""},{"docid":"c2251764b4ae47766ebef9324b1c7507","score":"0.6162814","text":"public Builder setRole(int value) {\r\n \r\n role_ = value;\r\n onChanged();\r\n return this;\r\n }","title":""},{"docid":"77a992a4ae41fd24397a199c45e0942f","score":"0.61066276","text":"public void setRole(String role) {\r\n\t\tthis.role = role;\r\n\t}","title":""},{"docid":"77a992a4ae41fd24397a199c45e0942f","score":"0.61066276","text":"public void setRole(String role) {\r\n\t\tthis.role = role;\r\n\t}","title":""},{"docid":"183e9bbc56f4fe0db469dcc1a32c6673","score":"0.60808414","text":"public void setRole(java.lang.String newRole) {\n\trole = newRole;\n}","title":""},{"docid":"75c9d938c12346621334616d476b01b0","score":"0.6073405","text":"private void setRoleValue(int value) {\n role_ = value;\n }","title":""},{"docid":"bf666a662d28690c179a7eac1a0e6896","score":"0.60387206","text":"private void setRole(GroupMemberRole value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n role_ = value.getNumber();\n }","title":""},{"docid":"a9782757e6e44d028a734b3210c9ea2f","score":"0.6018485","text":"public void setRole(String role) {\n\t\tthis.role = role;\n\t}","title":""},{"docid":"cc59d7b7422169319355917900eb7ac8","score":"0.5929538","text":"public void setRole(String role) {\n\t\tthis.role = role == null ? null : role.trim();\n\t}","title":""},{"docid":"fee208c9b7b507bd72a07b8ad000115c","score":"0.5887755","text":"public void setRole(String v) {\n if (EntityMention_Type.featOkTst && ((EntityMention_Type)jcasType).casFeat_role == null)\n jcasType.jcas.throwFeatMissing(\"role\", \"de.julielab.jules.types.ace.EntityMention\");\n jcasType.ll_cas.ll_setStringValue(addr, ((EntityMention_Type)jcasType).casFeatCode_role, v);}","title":""},{"docid":"1fa67af0b0676f787da6e0f192fba2c2","score":"0.5877622","text":"public void setUserRole(UserRole role) {\n this.role = role;\n }","title":""},{"docid":"a53c77c8a255675465333b171d54a841","score":"0.5867009","text":"void setRoleRestriction(Role roleRestriction);","title":""},{"docid":"ae798b41b63d374e7783880e92c1125b","score":"0.5840778","text":"public void xsetRole(org.apache.xmlbeans.XmlAnyURI role)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlAnyURI target = null;\n target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(ROLE$0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_attribute_user(ROLE$0);\n }\n target.set(role);\n }\n }","title":""},{"docid":"fbc3eae743b12fd42b90df48b32cc5c2","score":"0.5818906","text":"public void setRole(String param) {\n\t\tthis.roleName = param;\n\t}","title":""},{"docid":"1d35d9a67f538a65b1a4633de9c664e4","score":"0.57881904","text":"void setRole(String role, IProgressMonitor monitor) throws RodinDBException;","title":""},{"docid":"4b08a3b6183cc21d76c6974e93840295","score":"0.5774765","text":"private void attemptRoleAssignment() {\n Guild guild = theEvent.getGuild();\n Category category = guild.getCategoryById(\"556266020625711130\");\n\n if (category == null)\n return;\n\n MessageChannel channel = theEvent.getChannel();\n Role role = guild.getRolesByName(courseId, true).get(0);\n List channels = guild.getTextChannelsByName(courseId, true);\n List electiveChannels = category.getTextChannels();\n\n if (Objects.requireNonNull(guild.getMember(theEvent.getAuthor())).getRoles().contains(role))\n channel.sendMessage(\"You already have this role!\").complete();\n\n else if (channels.isEmpty() || !electiveChannels.contains(channels.get(0)))\n channel.sendMessage(\"I cannot set you to that role\").complete();\n\n else {\n guild.addRoleToMember(Objects.requireNonNull(theEvent.getMember()), role).queue();\n channel.sendMessage(\"Role \" + courseId + \" added to \"\n + Objects.requireNonNull(theEvent.getMember()).getAsMention()).complete();\n }\n }","title":""},{"docid":"63baaca8d58e3790669f52dc5594c8e6","score":"0.5738284","text":"void setLocalRole(BluetoothDevice device, int role) {\n mDeviceRoleMap.put(device, role);\n }","title":""},{"docid":"fa7af53730b7972878ff65f798cfa541","score":"0.5648623","text":"public void setRoles()\r\n\t{\r\n\t\tfor (Role r : discordMember.getRoles())\r\n\t\t{\r\n\t\t\trolesOfMember.addRole(r);\r\n\t\t}\r\n\t}","title":""},{"docid":"4874614913593416236284e02fe17b5c","score":"0.56451756","text":"public void setRole(org.apache.axis.types.URI role) {\n this.role = role;\n }","title":""},{"docid":"8b7511e3de7f0e8a7b33f0425b616f96","score":"0.56272113","text":"public void setCard(Card card) {\r\n this.card = card;\r\n }","title":""},{"docid":"75a87afebd7773ea4c5f772ca2f8ced5","score":"0.56158066","text":"public void setrCard(Card rCard) {\r\n\t\tif (this.roomCard == null) this.roomCard = rCard;\r\n\t}","title":""},{"docid":"041ab4fc02944fb171471336f785e361","score":"0.5606076","text":"public void setPlayer(final Player player) {\n }","title":""},{"docid":"26cb15b8ba1ee167ff0bb4439ddf2e60","score":"0.55327225","text":"public void setFaceCard(){\n if (rank == 1){\n this.faceCard = \"Ace\";\n }\n else if (rank == 11){\n this.faceCard = \"Jack\";\n }\n else if (rank == 12){\n this.faceCard = \"Queen\";\n }\n else if (rank == 13){\n this.faceCard = \"King\";\n }\n }","title":""},{"docid":"24491ae5f543f1e7a115ca77bc8c0853","score":"0.55285275","text":"void setRoleArray(int i, com.exacttarget.wsdl.partnerapi.Role role);","title":""},{"docid":"4d8b3d81bd6a1445dd4fda672e501833","score":"0.55165005","text":"void setRoles(com.exacttarget.wsdl.partnerapi.AccountUser.Roles roles);","title":""},{"docid":"07b4fe69fa49196cd318b2588a45752f","score":"0.55052114","text":"public void setRank(int r)\n {\n switch(r)\n {\n case 1:\n rank = ACE;\n break;\n case 2:\n case 3:\n case 4:\n case 5:\n case 6:\n case 7:\n case 8:\n case 9:\n case 10:\n rank = r;\n break;\n case 11:\n rank = JACK;\n break;\n case 12:\n rank = QUEEN;\n break;\n case 13:\n rank = KING;\n break;\n default:\n System.out.println(\"Invalid card number.\");\n rank = ACE;\n break;\n } \n }","title":""},{"docid":"20fc43f53b71613e2614dfb6c71adde5","score":"0.5505122","text":"@Override\n\tpublic void updateRole(Role role) {\n\n\t}","title":""},{"docid":"fdd83d0b7c380eff64105fc4ebaf1b0f","score":"0.5497826","text":"public void setRoles(Roles roles) {\n this.roles = roles;\n }","title":""},{"docid":"09b01c458235df169e66da1f8578e330","score":"0.5477849","text":"@Override\r\n\tpublic boolean setRole(Member member, Role role) {\n\t\treturn false;\r\n\t}","title":""},{"docid":"400a025d827568eba7f8fdcca0cf1fcc","score":"0.5469151","text":"@Override\n public void setPlayer(Player player) {\n this.player = player;\n }","title":""},{"docid":"d35dc1446353d5e4ba6f6c546c974961","score":"0.5461787","text":"@Override\n public void setApplicationRole(UserRole role) {\n this.applicationRole = role;\n }","title":""},{"docid":"30634e21d800d3bb606233bf96004387","score":"0.5461021","text":"public void setPlayer(Player player)\n {\n this.player = player;\n }","title":""},{"docid":"3cc99f3609a9ed8f76f5e486eed6a590","score":"0.5458641","text":"private boolean assign(MessageReceivedEvent event, String[] args){\n TextChannel channel = event.getTextChannel();\n if (args.length != 0) {\n String target = StringUtil.construct(args, 1);\n Role role = DiscordUtil.findRole(target, event.getGuild());\n if (role != null) {\n if (!DiscordUtil.isRestricted(role)) {\n event.getGuild().addRoleToMember(event.getMember(), role).queue();\n DiscordUtil.queueMessage(String.format(\"%s role added!\", role), channel);\n return true;\n } else {\n DiscordUtil.queueErrorMessage(String.format(\"%s can't be assigned!\", role.getName()), channel);\n }\n } else {\n DiscordUtil.queueErrorMessage(String.format(\"%s is not a role!\", target), channel);\n }\n } else {\n DiscordUtil.queueMessage(\"What role do you want to be assigned?\", channel);\n }\n return false;\n }","title":""},{"docid":"46c81643c55a98f78d444f5b065872c1","score":"0.5452253","text":"void setScopedRole(/*AssociationSet*/List scopedRole);","title":""},{"docid":"bd95a7b3a669e6d017ccece9aa22e1be","score":"0.54445106","text":"public void setPlayer(Player newPlayer) {\n this.player = newPlayer;\n }","title":""},{"docid":"805a9f6b3e1d1f91cac0ff4089e1a441","score":"0.54383725","text":"public void setPlayer(Player player) {\r\n\t\t\t\tthis.player = player;\r\n\t\t\t}","title":""},{"docid":"65b4c9c2a4c32a3f8792380889ea56ee","score":"0.5436491","text":"@Test\n public void testSetRole() {\n LoginUser instance = new LoginUser();\n instance.setRole(role);\n }","title":""},{"docid":"4b41134772e356ebb64dbfc9a9be9233","score":"0.5426435","text":"protected void setPlayer(final Player player) {\n\t\tthis.player = player;\n\t}","title":""},{"docid":"98caae9a8747c441ceb5b65e28d5f66f","score":"0.54148245","text":"public static void setPlayer(char player){\n Connect4.player = player;\n }","title":""},{"docid":"44a3b9234e270c723b8a8c03dcc23bdf","score":"0.5390024","text":"public void setPlayer(Player player){\r\n\t\tthis.player = player;\r\n\t\tthis.setIcon(player.getIcon());\r\n\t}","title":""},{"docid":"b0951c25ab553895ff7d03de0b3be18b","score":"0.5383842","text":"public RedisConnectOptions setRole(RedisRole role) {\n this.role = role;\n return this;\n }","title":""},{"docid":"f5b2815842764022adbc13d342f26691","score":"0.5383442","text":"public String getRole() {\r\n\t\t return this.role;\r\n\t }","title":""},{"docid":"f02b4771f147a25698e5099e3bc98c41","score":"0.53758174","text":"public void setPlayer(Player p ){\n this.player = p;\n }","title":""},{"docid":"f3fa9550374cedeecdce153c6b89c870","score":"0.5374239","text":"public void setCurrentPlayer(Player pl){\r\n currentPlayer = pl;\r\n }","title":""},{"docid":"6c98821429c2c4759358eb0bdae96d1b","score":"0.535998","text":"public void setCurrentPlayer(int player){\n b.setCurrentPlayer(player);\n }","title":""},{"docid":"9fce8c0d7cc32274178f3785664c1d1c","score":"0.5329721","text":"public String getRole() {\n return role;\n }","title":""},{"docid":"9fce8c0d7cc32274178f3785664c1d1c","score":"0.5329721","text":"public String getRole() {\n return role;\n }","title":""},{"docid":"9fce8c0d7cc32274178f3785664c1d1c","score":"0.5329721","text":"public String getRole() {\n return role;\n }","title":""},{"docid":"9fce8c0d7cc32274178f3785664c1d1c","score":"0.5329721","text":"public String getRole() {\n return role;\n }","title":""},{"docid":"be59346d2e3ff0e44e0612c9e5f04bc7","score":"0.5315294","text":"public String getRole() \r\n {\r\n return role;\r\n }","title":""},{"docid":"c120a041ca25800a24948ff45afcbf13","score":"0.5308783","text":"public void addRole(Role role);","title":""},{"docid":"9d3befecabdea506c070c39ad7704794","score":"0.5284917","text":"public void setPlayer(Player player) {\n\t\tstatsPanel.setPlayer(player);\n\t\tequipmentPanel.setPlayer(player);\n\t}","title":""},{"docid":"fa17abcb0084d1320e465a295231f112","score":"0.52661926","text":"public String getRole() {\r\n\t\treturn role;\r\n\t}","title":""},{"docid":"fa17abcb0084d1320e465a295231f112","score":"0.52661926","text":"public String getRole() {\r\n\t\treturn role;\r\n\t}","title":""},{"docid":"736504e4e711a8d581aadd713b45c907","score":"0.525611","text":"public Builder setRoleType(int value) {\n bitField0_ |= 0x00000004;\n roleType_ = value;\n onChanged();\n return this;\n }","title":""},{"docid":"a2893bd359ab521a87bd5045eedb1218","score":"0.5252397","text":"void changeRole(User user, Role role, String token) throws AuthenticationException;","title":""},{"docid":"2f87f872f3e7fb936cefe68648926547","score":"0.52505857","text":"public void setRoles(Set roles);","title":""},{"docid":"e1c2fc7841e643fb322482c94a46f2e9","score":"0.5245263","text":"public CardRole getCardRole(Card card){\n return cardsRoles.getCardRole(card);\n }","title":""},{"docid":"90f7ee961f3bafc36c22708bb3aab00f","score":"0.5245034","text":"public void setRoles(List roles) {\r\n\t\t// if(role instanceof Roles){\r\n\t\t// \tthis.roles.add(role);\r\n\t\t// }\r\n\t\t// this.role.add(role);\r\n\t\tthis.roles=roles;\r\n\t}","title":""},{"docid":"b0781aa40d23c43ec1da315c33ae4ddd","score":"0.523673","text":"public void setLinkRole(Role linkRole);","title":""},{"docid":"2defe77b494bc08e108e7cbc6ae2e892","score":"0.5232149","text":"@Override\r\n public void setCurrentPlayer(Player player) {\r\n f_player = player;\r\n }","title":""},{"docid":"1de2db0c963a3a71b5c82eb39a07b38d","score":"0.52231145","text":"void setArmor(int armor);","title":""},{"docid":"e0735552ce536c6adfe70ec8ca6ce4a6","score":"0.5217889","text":"public void changePlayer() {\r\n\t\tif (currentPlayerMark == 'X') {\r\n\t\t\tcurrentPlayerMark = 'O';\r\n\t\t} else {\r\n\t\t\tcurrentPlayerMark = 'X';\r\n\t\t}\r\n\t}","title":""},{"docid":"65655d0f361ca0f7d485ac7512915fb3","score":"0.5217542","text":"public void addRole(Role r) {\n }","title":""},{"docid":"54237c18bb20ff18b943c298f6b3ff76","score":"0.52165294","text":"public void setCurrentPlayer(Player player) {\n\t\tcurrentPlayer = player;\n\t}","title":""},{"docid":"86a717600cfd9fb3342bfab808c7191f","score":"0.52125674","text":"public Builder role(Coding role) {\n this.role = role;\n return this;\n }","title":""},{"docid":"d7543bf9c5d20422bfc84b3dbae36c82","score":"0.5212352","text":"void setObjectTrainerCard(ObjectTrainer objectCardTrainer);","title":""},{"docid":"0d0af60900e33a1ff6d8921c5aa9afe6","score":"0.52073354","text":"public void chooseRole() {\r\n\t\tfor (int i = 0; i < roleDropdownValues.size(); i++) {\r\n\t\t\tif (i==1) {\r\n\t\t\t\tWebdriverUtils.waitForElementPresent(BaseClass.driver, roleDropdownValues.get(i));\r\n\t\t\t\troleDropdownValues.get(i).click();\r\n\t\t\t}\r\n\t\t}\r\n\t}","title":""},{"docid":"677d523faffe022d8dc476302cc67ecf","score":"0.5207101","text":"public void setCharacterPlayer(String name) {\n\t\tif (name.equals(\"8 Bit Avatar\")) {\n\t\t\t_player = new Avatar(\"8Bit Avatar\", _8bit);\n\t\t\trepaint();\n\t\t}\n\n\t\tif (name.equals(\"16 Bit Avatar\")) {\n\t\t\t_player = new Avatar(\"16Bit Avatar\", _16bit);\n\t\t\trepaint();\n\t\t}\n\n\t\tif (name.equals(\"Modern Avatar\")) {\n\t\t\t_player = new Avatar(\"Modern Avatar\", _modern);\n\t\t\trepaint();\n\t\t}\n\t}","title":""},{"docid":"83e6d0265e55c4c8f66c18250c46ac08","score":"0.5202488","text":"void setRoleArray(com.exacttarget.wsdl.partnerapi.Role[] roleArray);","title":""},{"docid":"c653edfbd51cdf4a99326b014eafbb3e","score":"0.5191568","text":"public void setOwnerRole (java.lang.String ownerRole) {\n\t\tthis.ownerRole = ownerRole;\n\t}","title":""},{"docid":"5e25a388389e69d115770eddd8ebcc2d","score":"0.51879007","text":"public String getRole() {\n\t\treturn role;\n\t}","title":""},{"docid":"5e25a388389e69d115770eddd8ebcc2d","score":"0.51879007","text":"public String getRole() {\n\t\treturn role;\n\t}","title":""},{"docid":"b2c48ace08acc8e96ce3c5546a2cf226","score":"0.51856047","text":"public Role getRole() {\r\n return role;\r\n }","title":""},{"docid":"9c577526ff5a78c240c5ba8d454dc191","score":"0.5183427","text":"public int getRole() {\r\n return role_;\r\n }","title":""},{"docid":"9c577526ff5a78c240c5ba8d454dc191","score":"0.5183427","text":"public int getRole() {\r\n return role_;\r\n }","title":""},{"docid":"e2552242caea2af0b2c8c2159261a320","score":"0.5179388","text":"@Required\n @Updatable\n public RoleResource getRole() {\n return role;\n }","title":""},{"docid":"85bdf27c5b2b878096f423627f60203e","score":"0.5178375","text":"public void setIndividualPlayerCards(Card card) {\n\t\tthis.individualPlayerCards.add(card);\n\t}","title":""},{"docid":"784b007193fc9efeaa7adbbf7c5268bf","score":"0.5178075","text":"public void setRoles(Set roles) {\n\t\tthis.roles = roles;\n\t}","title":""},{"docid":"83161bef0dccaa687719e452db74a9ab","score":"0.5175364","text":"public void setSelectedAvailableRole(final RoleDto selectedAvailableRole) {\n\t\tthis.selectedAvailableRole = selectedAvailableRole;\n\t}","title":""},{"docid":"22d3da1131b25dda5d150c41569ecc36","score":"0.51745385","text":"public void setContactByRole(typekey.ContactRole role, entity.Contact contact) {\n ((com.guidewire.cc.domain.contact.EntityContactRoleOwner)__getDelegateManager().getImplementation(\"com.guidewire.cc.domain.contact.EntityContactRoleOwner\")).setContactByRole(role, contact);\n }","title":""},{"docid":"8f81f4adee99d660140b8c20245dee86","score":"0.51712763","text":"public void changePlayer() {\n\n if (playerTurn == 0)\n playerTurn = 1;\n else if (playerTurn == 1)\n playerTurn = 0;\n }","title":""}],"string":"[\n {\n \"docid\": \"101b10ed947683ee627efadaca31c81c\",\n \"score\": \"0.785923\",\n \"text\": \"public void setRole(final Role playerRole) {\\n role = playerRole;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"36f05f827996ab9224b5a05f48b12012\",\n \"score\": \"0.7142108\",\n \"text\": \"void setRole(String role);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78c8fa2e153f63c3e206697997c04603\",\n \"score\": \"0.7098867\",\n \"text\": \"public void setRole(Object role);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"756d30ccebfa427a1ba41772cfa0cfe4\",\n \"score\": \"0.6680635\",\n \"text\": \"public void setRole(jp.co.isken.beerGame.entity.Role v) {\\r\\n this.role = v;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9cb8af28e32d71c62e50e8ee2167c158\",\n \"score\": \"0.6579796\",\n \"text\": \"public void setPrefRole(String role)\\r\\n {\\r\\n prefRole = role;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3da18e5d4aa5ad22710cefdf618e3a59\",\n \"score\": \"0.6532905\",\n \"text\": \"void setPlayedRole(/*AssociationSet*/List playedRole);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e6d5011c41cef26bb4efae0a86803121\",\n \"score\": \"0.64676684\",\n \"text\": \"private void setRole(int roleType) {\\r\\n if(roleType==0){\\r\\n this.role=\\\"Villain\\\";\\r\\n }\\r\\n else{\\r\\n this.role=\\\"Hero\\\";\\r\\n }\\r\\n \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7386f2160d08cd4c5702b7153b5a9f42\",\n \"score\": \"0.6445522\",\n \"text\": \"public void takeRole() {\\n /* Make sure they are in a set room */\\n if (!(curPlayer.getRoom() instanceof SetRoom)) {\\n displayMessage(\\\"Whoops, you cannot take a role in the trailer or office!\\\");\\n return;\\n }\\n /* Make sure there is still a movie being filmed */\\n if (((SetRoom)curPlayer.getRoom()).getScene() == null) {\\n displayMessage(\\\"Whoops, looks like the scene has ended filming for the day.\\\");\\n return;\\n }\\n /* Get list of roles and convert too list of role names */\\n List roleNames = new ArrayList();\\n for (Role curRole : curPlayer.getRoles()) {\\n roleNames.add(curRole.getName());\\n }\\n /* Display possible roles and get selected role */\\n String selectedRoleName = board.selectionBox(\\\"What role?\\\", roleNames);\\n for (Role r : curPlayer.getRoles()) {\\n if(r.getName().equals(selectedRoleName)) {\\n if(curPlayer.getRank() < r.getRank()) {\\n displayMessage(\\\"Sorry bud, you need a little more experience for that role.\\\");\\n return;\\n } else {\\n curPlayer.takeRole(r);\\n }\\n }\\n }\\n /* Update player information in view and location */\\n curPlayer.hasActed(true);\\n board.paintActions(curPlayer);\\n board.paintPlayer(curPlayer);\\n endTurn();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6b2b38da4ed0b80363275d165a7f3ee0\",\n \"score\": \"0.635285\",\n \"text\": \"public void setRole(String role) {\\r\\n\\t\\t this.role = role;\\r\\n\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b0599c39d4665232f40fa8aecf8e62b6\",\n \"score\": \"0.6346973\",\n \"text\": \"@Override\\r\\n\\tpublic void performRole(Player player) {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e3ba66ed9741dc56002c0047f3b6764\",\n \"score\": \"0.6334547\",\n \"text\": \"void addPlayedRole(org.hl7.rim.Role playedRole);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"515673c43a6ec34b3dc6e510cd2f859f\",\n \"score\": \"0.63159215\",\n \"text\": \"public RoleCard role() {\\r\\n return role;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0b75b92ff56925ca600299726f8d4238\",\n \"score\": \"0.6249335\",\n \"text\": \"public void setRole(Role role) {\\n\\t\\tthis.role = role; \\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1b256af01fff0dfeb4ba094e784b5891\",\n \"score\": \"0.6228148\",\n \"text\": \"public void setRole(java.lang.String role) {\\n this.role = role;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a310ee30e8d1237056640caaaaac5a2e\",\n \"score\": \"0.62096024\",\n \"text\": \"public void setRole(String role) {\\n this.role = role;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cc1e623113c2f1ae5907ee0827288072\",\n \"score\": \"0.62081814\",\n \"text\": \"public void setPartnerRole(Role partnerRole);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cdbf79bb21ca59dd2fec5ccb261334b5\",\n \"score\": \"0.6201918\",\n \"text\": \"public void setRole(java.lang.String role)\\n {\\n synchronized (monitor())\\n {\\n check_orphaned();\\n org.apache.xmlbeans.SimpleValue target = null;\\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ROLE$0);\\n if (target == null)\\n {\\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ROLE$0);\\n }\\n target.setStringValue(role);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0881a883082962be24598a283431de0e\",\n \"score\": \"0.6171858\",\n \"text\": \"public void setRole(Role role) {\\n\\t\\tthis.role = role;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c2251764b4ae47766ebef9324b1c7507\",\n \"score\": \"0.6162814\",\n \"text\": \"public Builder setRole(int value) {\\r\\n \\r\\n role_ = value;\\r\\n onChanged();\\r\\n return this;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c2251764b4ae47766ebef9324b1c7507\",\n \"score\": \"0.6162814\",\n \"text\": \"public Builder setRole(int value) {\\r\\n \\r\\n role_ = value;\\r\\n onChanged();\\r\\n return this;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"77a992a4ae41fd24397a199c45e0942f\",\n \"score\": \"0.61066276\",\n \"text\": \"public void setRole(String role) {\\r\\n\\t\\tthis.role = role;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"77a992a4ae41fd24397a199c45e0942f\",\n \"score\": \"0.61066276\",\n \"text\": \"public void setRole(String role) {\\r\\n\\t\\tthis.role = role;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"183e9bbc56f4fe0db469dcc1a32c6673\",\n \"score\": \"0.60808414\",\n \"text\": \"public void setRole(java.lang.String newRole) {\\n\\trole = newRole;\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75c9d938c12346621334616d476b01b0\",\n \"score\": \"0.6073405\",\n \"text\": \"private void setRoleValue(int value) {\\n role_ = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf666a662d28690c179a7eac1a0e6896\",\n \"score\": \"0.60387206\",\n \"text\": \"private void setRole(GroupMemberRole value) {\\n if (value == null) {\\n throw new NullPointerException();\\n }\\n\\n role_ = value.getNumber();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a9782757e6e44d028a734b3210c9ea2f\",\n \"score\": \"0.6018485\",\n \"text\": \"public void setRole(String role) {\\n\\t\\tthis.role = role;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cc59d7b7422169319355917900eb7ac8\",\n \"score\": \"0.5929538\",\n \"text\": \"public void setRole(String role) {\\n\\t\\tthis.role = role == null ? null : role.trim();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fee208c9b7b507bd72a07b8ad000115c\",\n \"score\": \"0.5887755\",\n \"text\": \"public void setRole(String v) {\\n if (EntityMention_Type.featOkTst && ((EntityMention_Type)jcasType).casFeat_role == null)\\n jcasType.jcas.throwFeatMissing(\\\"role\\\", \\\"de.julielab.jules.types.ace.EntityMention\\\");\\n jcasType.ll_cas.ll_setStringValue(addr, ((EntityMention_Type)jcasType).casFeatCode_role, v);}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1fa67af0b0676f787da6e0f192fba2c2\",\n \"score\": \"0.5877622\",\n \"text\": \"public void setUserRole(UserRole role) {\\n this.role = role;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a53c77c8a255675465333b171d54a841\",\n \"score\": \"0.5867009\",\n \"text\": \"void setRoleRestriction(Role roleRestriction);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae798b41b63d374e7783880e92c1125b\",\n \"score\": \"0.5840778\",\n \"text\": \"public void xsetRole(org.apache.xmlbeans.XmlAnyURI role)\\n {\\n synchronized (monitor())\\n {\\n check_orphaned();\\n org.apache.xmlbeans.XmlAnyURI target = null;\\n target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(ROLE$0);\\n if (target == null)\\n {\\n target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_attribute_user(ROLE$0);\\n }\\n target.set(role);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fbc3eae743b12fd42b90df48b32cc5c2\",\n \"score\": \"0.5818906\",\n \"text\": \"public void setRole(String param) {\\n\\t\\tthis.roleName = param;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1d35d9a67f538a65b1a4633de9c664e4\",\n \"score\": \"0.57881904\",\n \"text\": \"void setRole(String role, IProgressMonitor monitor) throws RodinDBException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4b08a3b6183cc21d76c6974e93840295\",\n \"score\": \"0.5774765\",\n \"text\": \"private void attemptRoleAssignment() {\\n Guild guild = theEvent.getGuild();\\n Category category = guild.getCategoryById(\\\"556266020625711130\\\");\\n\\n if (category == null)\\n return;\\n\\n MessageChannel channel = theEvent.getChannel();\\n Role role = guild.getRolesByName(courseId, true).get(0);\\n List channels = guild.getTextChannelsByName(courseId, true);\\n List electiveChannels = category.getTextChannels();\\n\\n if (Objects.requireNonNull(guild.getMember(theEvent.getAuthor())).getRoles().contains(role))\\n channel.sendMessage(\\\"You already have this role!\\\").complete();\\n\\n else if (channels.isEmpty() || !electiveChannels.contains(channels.get(0)))\\n channel.sendMessage(\\\"I cannot set you to that role\\\").complete();\\n\\n else {\\n guild.addRoleToMember(Objects.requireNonNull(theEvent.getMember()), role).queue();\\n channel.sendMessage(\\\"Role \\\" + courseId + \\\" added to \\\"\\n + Objects.requireNonNull(theEvent.getMember()).getAsMention()).complete();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"63baaca8d58e3790669f52dc5594c8e6\",\n \"score\": \"0.5738284\",\n \"text\": \"void setLocalRole(BluetoothDevice device, int role) {\\n mDeviceRoleMap.put(device, role);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fa7af53730b7972878ff65f798cfa541\",\n \"score\": \"0.5648623\",\n \"text\": \"public void setRoles()\\r\\n\\t{\\r\\n\\t\\tfor (Role r : discordMember.getRoles())\\r\\n\\t\\t{\\r\\n\\t\\t\\trolesOfMember.addRole(r);\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4874614913593416236284e02fe17b5c\",\n \"score\": \"0.56451756\",\n \"text\": \"public void setRole(org.apache.axis.types.URI role) {\\n this.role = role;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8b7511e3de7f0e8a7b33f0425b616f96\",\n \"score\": \"0.56272113\",\n \"text\": \"public void setCard(Card card) {\\r\\n this.card = card;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75a87afebd7773ea4c5f772ca2f8ced5\",\n \"score\": \"0.56158066\",\n \"text\": \"public void setrCard(Card rCard) {\\r\\n\\t\\tif (this.roomCard == null) this.roomCard = rCard;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"041ab4fc02944fb171471336f785e361\",\n \"score\": \"0.5606076\",\n \"text\": \"public void setPlayer(final Player player) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"26cb15b8ba1ee167ff0bb4439ddf2e60\",\n \"score\": \"0.55327225\",\n \"text\": \"public void setFaceCard(){\\n if (rank == 1){\\n this.faceCard = \\\"Ace\\\";\\n }\\n else if (rank == 11){\\n this.faceCard = \\\"Jack\\\";\\n }\\n else if (rank == 12){\\n this.faceCard = \\\"Queen\\\";\\n }\\n else if (rank == 13){\\n this.faceCard = \\\"King\\\";\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"24491ae5f543f1e7a115ca77bc8c0853\",\n \"score\": \"0.55285275\",\n \"text\": \"void setRoleArray(int i, com.exacttarget.wsdl.partnerapi.Role role);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4d8b3d81bd6a1445dd4fda672e501833\",\n \"score\": \"0.55165005\",\n \"text\": \"void setRoles(com.exacttarget.wsdl.partnerapi.AccountUser.Roles roles);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"07b4fe69fa49196cd318b2588a45752f\",\n \"score\": \"0.55052114\",\n \"text\": \"public void setRank(int r)\\n {\\n switch(r)\\n {\\n case 1:\\n rank = ACE;\\n break;\\n case 2:\\n case 3:\\n case 4:\\n case 5:\\n case 6:\\n case 7:\\n case 8:\\n case 9:\\n case 10:\\n rank = r;\\n break;\\n case 11:\\n rank = JACK;\\n break;\\n case 12:\\n rank = QUEEN;\\n break;\\n case 13:\\n rank = KING;\\n break;\\n default:\\n System.out.println(\\\"Invalid card number.\\\");\\n rank = ACE;\\n break;\\n } \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"20fc43f53b71613e2614dfb6c71adde5\",\n \"score\": \"0.5505122\",\n \"text\": \"@Override\\n\\tpublic void updateRole(Role role) {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fdd83d0b7c380eff64105fc4ebaf1b0f\",\n \"score\": \"0.5497826\",\n \"text\": \"public void setRoles(Roles roles) {\\n this.roles = roles;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"09b01c458235df169e66da1f8578e330\",\n \"score\": \"0.5477849\",\n \"text\": \"@Override\\r\\n\\tpublic boolean setRole(Member member, Role role) {\\n\\t\\treturn false;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"400a025d827568eba7f8fdcca0cf1fcc\",\n \"score\": \"0.5469151\",\n \"text\": \"@Override\\n public void setPlayer(Player player) {\\n this.player = player;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d35dc1446353d5e4ba6f6c546c974961\",\n \"score\": \"0.5461787\",\n \"text\": \"@Override\\n public void setApplicationRole(UserRole role) {\\n this.applicationRole = role;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"30634e21d800d3bb606233bf96004387\",\n \"score\": \"0.5461021\",\n \"text\": \"public void setPlayer(Player player)\\n {\\n this.player = player;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3cc99f3609a9ed8f76f5e486eed6a590\",\n \"score\": \"0.5458641\",\n \"text\": \"private boolean assign(MessageReceivedEvent event, String[] args){\\n TextChannel channel = event.getTextChannel();\\n if (args.length != 0) {\\n String target = StringUtil.construct(args, 1);\\n Role role = DiscordUtil.findRole(target, event.getGuild());\\n if (role != null) {\\n if (!DiscordUtil.isRestricted(role)) {\\n event.getGuild().addRoleToMember(event.getMember(), role).queue();\\n DiscordUtil.queueMessage(String.format(\\\"%s role added!\\\", role), channel);\\n return true;\\n } else {\\n DiscordUtil.queueErrorMessage(String.format(\\\"%s can't be assigned!\\\", role.getName()), channel);\\n }\\n } else {\\n DiscordUtil.queueErrorMessage(String.format(\\\"%s is not a role!\\\", target), channel);\\n }\\n } else {\\n DiscordUtil.queueMessage(\\\"What role do you want to be assigned?\\\", channel);\\n }\\n return false;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"46c81643c55a98f78d444f5b065872c1\",\n \"score\": \"0.5452253\",\n \"text\": \"void setScopedRole(/*AssociationSet*/List scopedRole);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bd95a7b3a669e6d017ccece9aa22e1be\",\n \"score\": \"0.54445106\",\n \"text\": \"public void setPlayer(Player newPlayer) {\\n this.player = newPlayer;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"805a9f6b3e1d1f91cac0ff4089e1a441\",\n \"score\": \"0.54383725\",\n \"text\": \"public void setPlayer(Player player) {\\r\\n\\t\\t\\t\\tthis.player = player;\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"65b4c9c2a4c32a3f8792380889ea56ee\",\n \"score\": \"0.5436491\",\n \"text\": \"@Test\\n public void testSetRole() {\\n LoginUser instance = new LoginUser();\\n instance.setRole(role);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4b41134772e356ebb64dbfc9a9be9233\",\n \"score\": \"0.5426435\",\n \"text\": \"protected void setPlayer(final Player player) {\\n\\t\\tthis.player = player;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"98caae9a8747c441ceb5b65e28d5f66f\",\n \"score\": \"0.54148245\",\n \"text\": \"public static void setPlayer(char player){\\n Connect4.player = player;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"44a3b9234e270c723b8a8c03dcc23bdf\",\n \"score\": \"0.5390024\",\n \"text\": \"public void setPlayer(Player player){\\r\\n\\t\\tthis.player = player;\\r\\n\\t\\tthis.setIcon(player.getIcon());\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b0951c25ab553895ff7d03de0b3be18b\",\n \"score\": \"0.5383842\",\n \"text\": \"public RedisConnectOptions setRole(RedisRole role) {\\n this.role = role;\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f5b2815842764022adbc13d342f26691\",\n \"score\": \"0.5383442\",\n \"text\": \"public String getRole() {\\r\\n\\t\\t return this.role;\\r\\n\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f02b4771f147a25698e5099e3bc98c41\",\n \"score\": \"0.53758174\",\n \"text\": \"public void setPlayer(Player p ){\\n this.player = p;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f3fa9550374cedeecdce153c6b89c870\",\n \"score\": \"0.5374239\",\n \"text\": \"public void setCurrentPlayer(Player pl){\\r\\n currentPlayer = pl;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c98821429c2c4759358eb0bdae96d1b\",\n \"score\": \"0.535998\",\n \"text\": \"public void setCurrentPlayer(int player){\\n b.setCurrentPlayer(player);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9fce8c0d7cc32274178f3785664c1d1c\",\n \"score\": \"0.5329721\",\n \"text\": \"public String getRole() {\\n return role;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9fce8c0d7cc32274178f3785664c1d1c\",\n \"score\": \"0.5329721\",\n \"text\": \"public String getRole() {\\n return role;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9fce8c0d7cc32274178f3785664c1d1c\",\n \"score\": \"0.5329721\",\n \"text\": \"public String getRole() {\\n return role;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9fce8c0d7cc32274178f3785664c1d1c\",\n \"score\": \"0.5329721\",\n \"text\": \"public String getRole() {\\n return role;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"be59346d2e3ff0e44e0612c9e5f04bc7\",\n \"score\": \"0.5315294\",\n \"text\": \"public String getRole() \\r\\n {\\r\\n return role;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c120a041ca25800a24948ff45afcbf13\",\n \"score\": \"0.5308783\",\n \"text\": \"public void addRole(Role role);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d3befecabdea506c070c39ad7704794\",\n \"score\": \"0.5284917\",\n \"text\": \"public void setPlayer(Player player) {\\n\\t\\tstatsPanel.setPlayer(player);\\n\\t\\tequipmentPanel.setPlayer(player);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fa17abcb0084d1320e465a295231f112\",\n \"score\": \"0.52661926\",\n \"text\": \"public String getRole() {\\r\\n\\t\\treturn role;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fa17abcb0084d1320e465a295231f112\",\n \"score\": \"0.52661926\",\n \"text\": \"public String getRole() {\\r\\n\\t\\treturn role;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"736504e4e711a8d581aadd713b45c907\",\n \"score\": \"0.525611\",\n \"text\": \"public Builder setRoleType(int value) {\\n bitField0_ |= 0x00000004;\\n roleType_ = value;\\n onChanged();\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2893bd359ab521a87bd5045eedb1218\",\n \"score\": \"0.5252397\",\n \"text\": \"void changeRole(User user, Role role, String token) throws AuthenticationException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2f87f872f3e7fb936cefe68648926547\",\n \"score\": \"0.52505857\",\n \"text\": \"public void setRoles(Set roles);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e1c2fc7841e643fb322482c94a46f2e9\",\n \"score\": \"0.5245263\",\n \"text\": \"public CardRole getCardRole(Card card){\\n return cardsRoles.getCardRole(card);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"90f7ee961f3bafc36c22708bb3aab00f\",\n \"score\": \"0.5245034\",\n \"text\": \"public void setRoles(List roles) {\\r\\n\\t\\t// if(role instanceof Roles){\\r\\n\\t\\t// \\tthis.roles.add(role);\\r\\n\\t\\t// }\\r\\n\\t\\t// this.role.add(role);\\r\\n\\t\\tthis.roles=roles;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b0781aa40d23c43ec1da315c33ae4ddd\",\n \"score\": \"0.523673\",\n \"text\": \"public void setLinkRole(Role linkRole);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2defe77b494bc08e108e7cbc6ae2e892\",\n \"score\": \"0.5232149\",\n \"text\": \"@Override\\r\\n public void setCurrentPlayer(Player player) {\\r\\n f_player = player;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1de2db0c963a3a71b5c82eb39a07b38d\",\n \"score\": \"0.52231145\",\n \"text\": \"void setArmor(int armor);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0735552ce536c6adfe70ec8ca6ce4a6\",\n \"score\": \"0.5217889\",\n \"text\": \"public void changePlayer() {\\r\\n\\t\\tif (currentPlayerMark == 'X') {\\r\\n\\t\\t\\tcurrentPlayerMark = 'O';\\r\\n\\t\\t} else {\\r\\n\\t\\t\\tcurrentPlayerMark = 'X';\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"65655d0f361ca0f7d485ac7512915fb3\",\n \"score\": \"0.5217542\",\n \"text\": \"public void addRole(Role r) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54237c18bb20ff18b943c298f6b3ff76\",\n \"score\": \"0.52165294\",\n \"text\": \"public void setCurrentPlayer(Player player) {\\n\\t\\tcurrentPlayer = player;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"86a717600cfd9fb3342bfab808c7191f\",\n \"score\": \"0.52125674\",\n \"text\": \"public Builder role(Coding role) {\\n this.role = role;\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d7543bf9c5d20422bfc84b3dbae36c82\",\n \"score\": \"0.5212352\",\n \"text\": \"void setObjectTrainerCard(ObjectTrainer objectCardTrainer);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d0af60900e33a1ff6d8921c5aa9afe6\",\n \"score\": \"0.52073354\",\n \"text\": \"public void chooseRole() {\\r\\n\\t\\tfor (int i = 0; i < roleDropdownValues.size(); i++) {\\r\\n\\t\\t\\tif (i==1) {\\r\\n\\t\\t\\t\\tWebdriverUtils.waitForElementPresent(BaseClass.driver, roleDropdownValues.get(i));\\r\\n\\t\\t\\t\\troleDropdownValues.get(i).click();\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"677d523faffe022d8dc476302cc67ecf\",\n \"score\": \"0.5207101\",\n \"text\": \"public void setCharacterPlayer(String name) {\\n\\t\\tif (name.equals(\\\"8 Bit Avatar\\\")) {\\n\\t\\t\\t_player = new Avatar(\\\"8Bit Avatar\\\", _8bit);\\n\\t\\t\\trepaint();\\n\\t\\t}\\n\\n\\t\\tif (name.equals(\\\"16 Bit Avatar\\\")) {\\n\\t\\t\\t_player = new Avatar(\\\"16Bit Avatar\\\", _16bit);\\n\\t\\t\\trepaint();\\n\\t\\t}\\n\\n\\t\\tif (name.equals(\\\"Modern Avatar\\\")) {\\n\\t\\t\\t_player = new Avatar(\\\"Modern Avatar\\\", _modern);\\n\\t\\t\\trepaint();\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"83e6d0265e55c4c8f66c18250c46ac08\",\n \"score\": \"0.5202488\",\n \"text\": \"void setRoleArray(com.exacttarget.wsdl.partnerapi.Role[] roleArray);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c653edfbd51cdf4a99326b014eafbb3e\",\n \"score\": \"0.5191568\",\n \"text\": \"public void setOwnerRole (java.lang.String ownerRole) {\\n\\t\\tthis.ownerRole = ownerRole;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e25a388389e69d115770eddd8ebcc2d\",\n \"score\": \"0.51879007\",\n \"text\": \"public String getRole() {\\n\\t\\treturn role;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e25a388389e69d115770eddd8ebcc2d\",\n \"score\": \"0.51879007\",\n \"text\": \"public String getRole() {\\n\\t\\treturn role;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b2c48ace08acc8e96ce3c5546a2cf226\",\n \"score\": \"0.51856047\",\n \"text\": \"public Role getRole() {\\r\\n return role;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9c577526ff5a78c240c5ba8d454dc191\",\n \"score\": \"0.5183427\",\n \"text\": \"public int getRole() {\\r\\n return role_;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9c577526ff5a78c240c5ba8d454dc191\",\n \"score\": \"0.5183427\",\n \"text\": \"public int getRole() {\\r\\n return role_;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e2552242caea2af0b2c8c2159261a320\",\n \"score\": \"0.5179388\",\n \"text\": \"@Required\\n @Updatable\\n public RoleResource getRole() {\\n return role;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"85bdf27c5b2b878096f423627f60203e\",\n \"score\": \"0.5178375\",\n \"text\": \"public void setIndividualPlayerCards(Card card) {\\n\\t\\tthis.individualPlayerCards.add(card);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"784b007193fc9efeaa7adbbf7c5268bf\",\n \"score\": \"0.5178075\",\n \"text\": \"public void setRoles(Set roles) {\\n\\t\\tthis.roles = roles;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"83161bef0dccaa687719e452db74a9ab\",\n \"score\": \"0.5175364\",\n \"text\": \"public void setSelectedAvailableRole(final RoleDto selectedAvailableRole) {\\n\\t\\tthis.selectedAvailableRole = selectedAvailableRole;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"22d3da1131b25dda5d150c41569ecc36\",\n \"score\": \"0.51745385\",\n \"text\": \"public void setContactByRole(typekey.ContactRole role, entity.Contact contact) {\\n ((com.guidewire.cc.domain.contact.EntityContactRoleOwner)__getDelegateManager().getImplementation(\\\"com.guidewire.cc.domain.contact.EntityContactRoleOwner\\\")).setContactByRole(role, contact);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8f81f4adee99d660140b8c20245dee86\",\n \"score\": \"0.51712763\",\n \"text\": \"public void changePlayer() {\\n\\n if (playerTurn == 0)\\n playerTurn = 1;\\n else if (playerTurn == 1)\\n playerTurn = 0;\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":370,"cells":{"query_id":{"kind":"string","value":"b7e05367474c7f58bd71ef335d819c3a"},"query":{"kind":"string","value":"remove the item from the user's list"},"positive_passages":{"kind":"list like","value":[{"docid":"e456403e37e7df0de7ee7b13845e0feb","score":"0.64556557","text":"public void removeItemFromFirebase(final String removeItem) {\n rootRef.child(\"users\").child(mUser.getUid()).child(\"buckits\").child(removeItem).setValue(null);\n\n //remove the user from the item's list of users\n Query query = rootRef.child(\"buckits\").child(removeItem).child(\"users\").orderByValue().startAt(mUser.getUid()).limitToFirst(1);\n query.addListenerForSingleValueEvent(new ValueEventListener() {\n @Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n if (dataSnapshot.getChildren().iterator().hasNext()) {\n Log.d(\"key\", dataSnapshot.getChildren().iterator().next().getKey());\n rootRef.child(\"buckits\").child(removeItem).child(\"users\").child(dataSnapshot.getChildren().iterator().next().getKey()).setValue(null);\n }\n }\n\n @Override\n public void onCancelled(DatabaseError databaseError) {\n\n }\n });\n\n //decrease the number of users by 1\n rootRef.child(\"buckits\").child(removeItem).child(\"num_users\").runTransaction(new Transaction.Handler() {\n @Override\n public Transaction.Result doTransaction(MutableData mutableData) {\n if (mutableData != null) {\n if (mutableData.getValue() == null) {\n mutableData.setValue(1);\n } else {\n // Set value and report transaction success\n int num_users = mutableData.getValue(Integer.class);\n mutableData.setValue(--num_users);\n }\n }\n return Transaction.success(mutableData);\n }\n @Override\n public void onComplete(DatabaseError databaseError, boolean b,DataSnapshot dataSnapshot) {}\n });\n }","title":""}],"string":"[\n {\n \"docid\": \"e456403e37e7df0de7ee7b13845e0feb\",\n \"score\": \"0.64556557\",\n \"text\": \"public void removeItemFromFirebase(final String removeItem) {\\n rootRef.child(\\\"users\\\").child(mUser.getUid()).child(\\\"buckits\\\").child(removeItem).setValue(null);\\n\\n //remove the user from the item's list of users\\n Query query = rootRef.child(\\\"buckits\\\").child(removeItem).child(\\\"users\\\").orderByValue().startAt(mUser.getUid()).limitToFirst(1);\\n query.addListenerForSingleValueEvent(new ValueEventListener() {\\n @Override\\n public void onDataChange(DataSnapshot dataSnapshot) {\\n if (dataSnapshot.getChildren().iterator().hasNext()) {\\n Log.d(\\\"key\\\", dataSnapshot.getChildren().iterator().next().getKey());\\n rootRef.child(\\\"buckits\\\").child(removeItem).child(\\\"users\\\").child(dataSnapshot.getChildren().iterator().next().getKey()).setValue(null);\\n }\\n }\\n\\n @Override\\n public void onCancelled(DatabaseError databaseError) {\\n\\n }\\n });\\n\\n //decrease the number of users by 1\\n rootRef.child(\\\"buckits\\\").child(removeItem).child(\\\"num_users\\\").runTransaction(new Transaction.Handler() {\\n @Override\\n public Transaction.Result doTransaction(MutableData mutableData) {\\n if (mutableData != null) {\\n if (mutableData.getValue() == null) {\\n mutableData.setValue(1);\\n } else {\\n // Set value and report transaction success\\n int num_users = mutableData.getValue(Integer.class);\\n mutableData.setValue(--num_users);\\n }\\n }\\n return Transaction.success(mutableData);\\n }\\n @Override\\n public void onComplete(DatabaseError databaseError, boolean b,DataSnapshot dataSnapshot) {}\\n });\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"b91a4c54bdedb15ddbdf0186f5780890","score":"0.7365414","text":"public void remove(Info_HiDoctor_UserApp data) {\n int position = list.indexOf(data);\n list.remove(position);\n notifyItemRemoved(position);\n }","title":""},{"docid":"4cf7e1ad32d462e898e3c4c5a8d4bc04","score":"0.73594904","text":"public void removeItem(Answer theItem) {\r\n \titemList.remove(theItem);\r\n }","title":""},{"docid":"50659a7a4b963b14dd4f39a169fd18dc","score":"0.7329578","text":"void removeFromWishToLend(IUserAccount user, ItemInterface item) throws Exception;","title":""},{"docid":"2276ff13e07eecc48133a58158267720","score":"0.7278599","text":"public void remove_user(User new_user){\n list_of_users.remove(new_user);\n }","title":""},{"docid":"da2a54d40d1df6278e189be2c57d9785","score":"0.727558","text":"public void removeUser() {\n\tObject selected = getPresenceTree().getSelectionPath().getLastPathComponent();\n\n\tUserInvite u = (UserInvite) selected;\n\tDSMPProto p = DSMPGenerator.dropInvitee((byte) 0,dispatcher.meetingID,u.inviteID,u.participantID,false,true);\n\tdispatcher.dispatchProtocol(p);\n}","title":""},{"docid":"2dbf7a3033c3593a528884846aa5400d","score":"0.71775496","text":"public void removeUser(User p){\n users.remove(p);\n }","title":""},{"docid":"a3820d5247dcdea645219249d51e3d12","score":"0.71620035","text":"void remove(User user);","title":""},{"docid":"690249c113aaea41698771dc41f81b03","score":"0.7156734","text":"void removeUser();","title":""},{"docid":"0e662a567079acaf8f05e525216c9101","score":"0.7131058","text":"public synchronized void rmUser(String nm) {\n\t\tclListModel.removeElement(nm);\n\t}","title":""},{"docid":"368ec974336243d4b7d6d0147be24ae8","score":"0.7057548","text":"void removeFromWishToBorrow(IUserAccount user, ItemInterface item) throws Exception;","title":""},{"docid":"c994087772a58b9edde4d2ca8aca9e43","score":"0.7026296","text":"private void deletePressed() {\n // Get selected user\n int index = userList.getSelectedIndex();\n String username = userField.getText();\n\n // Check that the user to be deleted isn't the signed in user\n if (user.getUsername().equals(username)) {\n JOptionPane.showMessageDialog(null, \"Signed in user cannot be removed\");\n }\n // The user is not the user signed in\n else {\n // Remove user from the database and clear input fields\n userData.remove(userList.getSelectedValue());\n clearFields();\n index--;\n if (index == -1) {\n if (userData.getSize() != 0) {\n index = 0;\n }\n }\n userList.setSelectedIndex(index);\n checkListSize();\n JOptionPane.showMessageDialog(null, String.format(\"User '%s' successfully deleted\", username));\n }\n }","title":""},{"docid":"5de44271ea8a341065a031dd80fbdfa4","score":"0.70048296","text":"public void removeUserFromList(String nick){\r\n\t\tfor(int i = 0; i < listModel.size(); i ++){\r\n\t\t\tif ( listModel.get(i).toString().equals(nick) || listModel.get(i).toString().equals(nick.substring(1))) {\r\n\t\t\t\tlistModel.remove(i);\r\n\t\t\t}\r\n\t\t}\r\n\t}","title":""},{"docid":"af02ea038c00e9efca321a4cf87124a1","score":"0.6989754","text":"public void removeByUserID(int userID);","title":""},{"docid":"a95d2dfadbfec2d24d8167a8eac55933","score":"0.6977817","text":"public Item removeItem();","title":""},{"docid":"b494de1b722538eaa956f066a3a99677","score":"0.6967649","text":"@Override\n\t\tpublic void onUserListDeletion(User arg0, UserList arg1) {\n\t\t}","title":""},{"docid":"03cbe01d52d0c8e896582b0bf4f9e7e1","score":"0.69334084","text":"private void removeUser(User user) {\r\n\t\tdata.remove(user);\r\n\t\tadapter.notifyDataSetChanged();\r\n\t}","title":""},{"docid":"ca40f94a5e10e448abe133916788b09c","score":"0.6910798","text":"public void removeItem(Item anItem)\n {\n item.remove(anItem); //remove the item\n }","title":""},{"docid":"6867cbae9f6f4cf793f69b8fbaff729e","score":"0.6906649","text":"void remove(Item item);","title":""},{"docid":"eac241f41d80aa6c0fdd11a26e137037","score":"0.68614155","text":"@Override\n public void removeFromParent() {\n for(User u: userList) {\n u.getTaskTypeList().remove(this);\n }\n }","title":""},{"docid":"143583cbb0c9f5cbb80514af311156be","score":"0.68322265","text":"public static int RemoveToListInRoomGUI(int id, String userName){\n for (RoomPannel rP: rPList){\n if (rP.IDROOM == id){\n rP.RemoveFromList(userName);\n }\n }\n return 1;\n }","title":""},{"docid":"f29965051465a621e0550a72fe332f13","score":"0.6772121","text":"public static void removeItem(){\n System.out.print(\"Enter the remove item name: \");\n String itemName = scanner.nextLine();\n groceryList.removeGroceryItem(itemName);\n }","title":""},{"docid":"03a13aeccf41066df7179c17390fd41e","score":"0.673503","text":"@Override\r\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tif (e.getSource() == addButton){\r\n\t\t\tList selected = list.getSelectedValuesList();\r\n\t\t\tif (selected == null){\r\n\t\t\t\tJOptionPane.showMessageDialog(this, \"Please select users!\",\r\n\t\t\t\t\t\t\"Input Error\", JOptionPane.ERROR_MESSAGE);\r\n\t\t\t}else{\r\n\t\t\t\tfor (int i = 0; i < selected.size(); i++){\r\n\t\t\t\t\tlistModel.remove(i); /// how?\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}","title":""},{"docid":"5782cef53bdd43f800608b15a8000974","score":"0.6730547","text":"@Override\n\t\tpublic void onUserListMemberDeletion(User arg0, User arg1, UserList arg2) {\n\t\t}","title":""},{"docid":"4eb77105240d0c5409cfaeaf3a52e3cf","score":"0.66972166","text":"public void removeUsers(final EverisUser user);","title":""},{"docid":"acec39dec9a04548063352381fa8e2cf","score":"0.6693823","text":"public boolean deleteUser(String key)\r\n\t{\r\n\t\tfor(User user:list)\r\n\t\t{\r\n\t\t\tif(user.getKey().equals(key) ) {\r\n\t\t\t\tlist.remove(user);\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t\t\t\r\n\t\t}\r\n\t\treturn false;\r\n\t}","title":""},{"docid":"f8bcf82919285ac09a39d955d6763eea","score":"0.6677582","text":"public void removeItem(int position){\n deletedItem = profesorListFiltered.remove(position);\n Iterator iter = profesorList.iterator();\n while (iter.hasNext()){ //recorre la lista de profesores\n Profesor aux = iter.next();\n if (deletedItem.equals(aux)) //hasta encontrar el profesor que es igual\n iter.remove(); //acá lo remueve de la lista\n }\n notifyItemRemoved(position);\n }","title":""},{"docid":"148d49c1c615bb9d449e3bcb01075f39","score":"0.6672747","text":"public void deleteUser() {\n\t\tadminText.setText(\"\");\n\t\tint selectedNum = userList.getSelectionModel().getSelectedIndex();\n\t\t\n\t\ttry {\n\t\t\tif (selectedNum != -1) {\n\t\t\t\tMain.curApp.users.remove(selectedNum);\n\t\t\t\tadminText.setText(\"deleted\");\n\t\t\t\t\n\t\t\t\tif (Main.curApp.users.size() > 0) {\n\t\t\t\t\tuserList.getSelectionModel().select(0);\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t\tMain.saveCurApp();\n\t\t\treload();\n\t\t}catch (Exception e) {\n\t\t\tSystem.out.println(\"deleteUser error\");\n\t\t}\n\t\t\n\t}","title":""},{"docid":"38c99cb9a2b1cbd07899fdc7e2299bf9","score":"0.6665191","text":"public void deleteUser(ActionEvent event) {\n\t\tif(listView.getSelectionModel().getSelectedIndex()==-1) {\n\t\t\treturn;\n\t\t}\n\t\tif (users.isEmpty()) {\n\t\t\tAlert a = new Alert(AlertType.ERROR, \"There are no users on file. Add users to proceed.\", ButtonType.OK);\n\t\t\ta.show();\t\n\t\t\treturn;\n\t\t}\n\t\tUser user = listView.getSelectionModel().getSelectedItem();\n\t\tif (user.getUsername().equals(\"stock\")) {\n\t\t\tAlert a = new Alert(AlertType.ERROR, \"Cannot delete stock user.\", ButtonType.OK);\n\t\t\ta.show();\t\n\t\t\treturn;\n\t\t}\n\t\telse {\n\t\t\tusers.remove(users.indexOf(user));\n\t\t\tController.allUsers.remove(user);\n\t\t\temptyCreateAndDeleteInfo();\n\t\t\tlistView.setItems(users);\n\t\t}\n\t}","title":""},{"docid":"c2da2d6ee1d4a54e4962f6d060c21522","score":"0.6652667","text":"void removeByName(User user);","title":""},{"docid":"81d74841fa98f59e01f3a176f8039107","score":"0.6649792","text":"@FXML\r\n protected void DeleteUser(ActionEvent event) throws IOException\r\n {\r\n ObservableList itemsToDelete, allItems;\r\n allItems = userListView.getItems();\r\n itemsToDelete = userListView.getSelectionModel().getSelectedItems();\r\n\r\n for (String item : itemsToDelete) {\r\n // Never delete stock user.\r\n if (\"stock\".equals(item)) {\r\n continue;\r\n }\r\n\r\n User x = new User(item);\r\n UserDataStore.delete(x);\r\n }\r\n\r\n System.out.println(itemsToDelete.toString());\r\n itemsToDelete.forEach(allItems::remove);\r\n }","title":""},{"docid":"8561a5ba1dfa5cf3e1d2b62d53463aa6","score":"0.6643354","text":"public void remove_all_users(){\n list_of_users.removeAll(list_of_users);\n }","title":""},{"docid":"7689a255c70a6b4420ad642468af9f9a","score":"0.66334724","text":"public void removeMyItems() {\n\t\tint p = 0;\n\t\tList profile = mDive.getProfile();\n\t\tfor(Iterator it = profile.iterator(); it.hasNext(); ) {\n\t\t\tProfileItem i = it.next();\n\t\t\tif(i.getLineSource() == mSource) {\n\t\t\t\tif(p > 0) {\n\t\t\t\t\tProfileItem lastItem = profile.get(p - 1);\n\t\t\t\t\tif(i.isActive() && ! lastItem.isActive()) {\n\t\t\t\t\t\tlastItem.setActive(true);\n\t\t\t\t\t\t//lastItem.commit();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tit.remove();\n\t\t\t} else {\n\t\t\t\tp++;\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"25fdb5ea3de0d010d378cfc05afab31b","score":"0.66183764","text":"public void removeFromStudy() {\n List studyUsers = new ArrayList();\n List users = new ArrayList(Arrays.asList(availableUsers));\n\n for (StudyUser su : assignedUsers) {\n if (su.isSelected()) {\n session.delete(su);\n users.add(su.getUser());\n } else {\n studyUsers.add(su);\n }\n }\n availableUsers = users.toArray(new User[0]);\n assignedUsers = studyUsers.toArray(new StudyUser[0]);\n }","title":""},{"docid":"87e39b7b9eb31f52f37c38058db5a74b","score":"0.6591811","text":"public void remove() {\n\t\tonlineUsers.remove(this.uuid);\n\t}","title":""},{"docid":"584003fa276557e360492594a6e8327b","score":"0.6567331","text":"public void clearList() {\n\t\tsetUsersList(new ItemListUsersBean());\n\t\tgetUsersList().setCurrentUserKey(getCurrentUser().getKey());\n\t\tgetUsersList().setListEditorEJB(listEditorEJB);\n\t}","title":""},{"docid":"1acd937453e1b1f4deea0f1e78f02795","score":"0.6565981","text":"@Override\r\n\tpublic void onRemoveBlocked(int code, GotyeUser user) {\n\t\t\r\n\t}","title":""},{"docid":"d146eb75c77cb446203a6a5a2ee6e6c3","score":"0.65651876","text":"public void removeItem() {\r\n\t\tthis.getItemList().remove(0);\r\n\t\tthis.decrementNumber();\r\n\t}","title":""},{"docid":"f5a1bce0c4b44155f60962e01f334580","score":"0.6562134","text":"@Override\r\n\tpublic void removeFavoritesItem(long userId, long movieId) {\n\t\tif (userFavorites.containsKey(userId)) {\r\n\t\t\tFavoriutes cart = userFavorites.get(userId);\r\n List menuItemList = cart.getMovieList();\r\n for (MovieList menuItem : menuItemList) {\r\n if (menuItem.getId() == movieId) {\r\n menuItemList.remove(menuItem);\r\n }\r\n }\r\n cart.setMovieList(menuItemList);\r\n userFavorites.put(userId, cart);\r\n \r\n }\r\n}","title":""},{"docid":"40dad6cce071534a0e37f53ef6591bb5","score":"0.6555697","text":"private void removeItem() {\n\t\tpurchase.getPurchaseDetails().remove(currentPosition);\n\t\tpurchaseDetailItems.remove(currentPosition);\n\t\t// remove from list view\n\t\tListView purchaseDetailList = (ListView) findViewById(R.id.listView_purchasedetail);\n\t\tPurchaseDetailListAdapter badapter = (PurchaseDetailListAdapter) purchaseDetailList.getAdapter();\n\t\tbadapter.notifyDataSetChanged();\n\t}","title":""},{"docid":"00d7a92171293f553488cf160fe2edef","score":"0.65475976","text":"public void handle(ActionEvent e){\n User toDelete = userList.getSelectionModel().getSelectedItem();\n Context.getInstance().removeUser(toDelete);\n userList.getItems().remove(toDelete);\n \n //delete serialization\n File file = new File(System.getProperty(\"user.dir\") + \"/data/Users/\" + toDelete.getUsername() + \".ser\");\n file.delete();\n }","title":""},{"docid":"ef9ff628c19c4c1fb7b9d8f856a4224c","score":"0.6543472","text":"public void removeItem(T value) ;","title":""},{"docid":"58e06b3854af9471943b13e1d52f4183","score":"0.6516142","text":"private void removeItem() {\n System.out.println(\"Enter item to remove from inventory:\");\n String itemName = ItemTracker.scanner.nextLine();\n inventory.removeItem(itemName);\n }","title":""},{"docid":"01c0045e2c13e1825d904dfac201136b","score":"0.6512653","text":"protected void removeItemFromList(String itemontouch) {\n final String deletePosition = itemontouch;\n\n AlertDialog.Builder alert = new AlertDialog.Builder(\n ViewListContents.this);\n\n alert.setTitle(\"Delete\");\n alert.setMessage(\"Do you want delete this item?\");\n alert.setPositiveButton(\"YES\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n Deleteraw(deletePosition);\n\n }\n });\n alert.setNegativeButton(\"CANCEL\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n // TODO Auto-generated method stub\n dialog.dismiss();\n }\n });\n\n alert.show();\n\n }","title":""},{"docid":"149b6226fa8e63afcd6b3191d5a75317","score":"0.6505197","text":"@DELETE\n @Path(\"/remove/{id}\")\n public Response deleteUser(@PathParam(\"id\") long id) {\n Predicate user = u ->u.getId() == id;\n if (!userList.removeIf(user)) {\n return Response.status(Response.Status.BAD_REQUEST).build();\n } else\n for (int i = 0; i < notifList.size(); i++) {\n if (notifList.get(i).getOwner().getId() == id) {\n notifList.remove(i);\n }\n }\n return Response.status(Response.Status.OK).build();\n }","title":""},{"docid":"7b77d84b8e73de3c3c2ff6ab038dd570","score":"0.64784175","text":"public void remove(Item item) {\n int position = list.indexOf(item);\n list.remove(position);\n notifyItemRemoved(position);\n storeArrayVal(itemsList, context.getApplicationContext());\n\n }","title":""},{"docid":"9f3c2e71fa3fa9694ab90023f63754b4","score":"0.64766926","text":"private void deleteUser() {\r\n\r\n System.out.println(this.getEtat() + \" supprime!\");\r\n if(this.getEtat().matches(\"membre\")) {\r\n BaseDonnees.getMembres().remove(this);\r\n } else {\r\n if(this.getEtat().matches(\"professionnel\")) {\r\n BaseDonnees.getProfessionnels().remove(this);\r\n } else { BaseDonnees.getEmployes().remove(this); }\r\n }\r\n Objects.requireNonNull(BaseDonnees.getUser(this.numero)).setEtat(\"termine\");\r\n System.out.println(MenuGYM.buildString(false));\r\n\r\n }","title":""},{"docid":"bcd341d6cdd56894a3cee34860155135","score":"0.64697987","text":"public void removeItem(String item) {\n\t}","title":""},{"docid":"c78aff33ccc2f72731d9e7f41e0ef8b2","score":"0.6458631","text":"public void removeItem(View view){\n //get the saved values of username and email from the Shared Preference file 'userData' file\n SharedPreferences recipeData = getSharedPreferences(\"recipeData\",0);\n String recipeList = recipeData.getString(\"recipe\", \"\");\n SharedPreferences.Editor editor = recipeData.edit();\n //Create new Array List\n ArrayList newList = new ArrayList(Arrays.asList(recipeList.split(\"\\n\")));\n //find listvew\n ListView lists = findViewById(R.id.showSaved);\n\n for (int i =0; i< lists.getCount(); i++)\n {\n if (lists.isItemChecked(i)) //checks if the items are checked\n {\n newList.remove(lists.getItemAtPosition(i)); //remove recipe that was checked at the position\n }\n }\n //outputs the string array as string\n String output = new String(newList.toString());\n output = output.replace(\", \", \"\\n\");\n output = output.replace(\"[\",\"\");\n output = output.replace(\"]\",\"\");\n editor.putString(\"recipe\", output);\n editor.commit();\n\n //displays the removed items\n ArrayAdapter remRec = new ArrayAdapter(SavedRecipes.this, android.R.layout.simple_list_item_multiple_choice,newList);\n lists.setAdapter(remRec);\n lists.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);\n }","title":""},{"docid":"072e34af53ca4635c0986e88aa86fb7e","score":"0.64582723","text":"private void removeItem(int position) {\n getterSetterTeachingAssistantList = getterSetterTeachingAssistant.get(position);\n SQLiteHandlerTeachingAssistant db = new SQLiteHandlerTeachingAssistant(context);\n db.deleteTeachingAssistantProfile(getterSetterTeachingAssistantList);\n notifyItemRemoved(position);\n }","title":""},{"docid":"fcc6563fa6513e5f5d5a33460207d9e8","score":"0.64569974","text":"public void removeOwner() {\n\tObject selected = getPresenceTree().getSelectionPath().getLastPathComponent();\n\n\tUserInvite u = (UserInvite) selected;\n\tDSMPProto p = DSMPGenerator.assignOwnership((byte) 0,dispatcher.meetingID,u.participantID,false);\n\tdispatcher.dispatchProtocol(p);\n}","title":""},{"docid":"0adeb40091093faca6b40602a1cebe69","score":"0.6448319","text":"public void removeItem() {\n\t\tthis.item = null;\n\t}","title":""},{"docid":"7dd7e556f0c74e29bdd817a8475f6a9d","score":"0.64471644","text":"void deleteUser (User userIn)\n {\n int Id = userIn.getId();\n for (int i=0; i< usersCount; i++)\n {\n if (users[i].getId() == Id)\n {\n for(int j=i; j users, String name) {\n \r\n }","title":""},{"docid":"1361cd410d3a49df9c23640020993a63","score":"0.6413398","text":"@Override\n\t\tpublic void onUserListUnsubscription(User arg0, User arg1, UserList arg2) {\n\t\t}","title":""},{"docid":"5639d7aa5d3d127a46e8ee6731dd3d56","score":"0.6403929","text":"public void removeGroceryList(String item){\n int position = findItem(item);\n if ( position >= 0)\n removeGroceryList(position);\n else\n System.out.println(\"Don ' have this item already!\");\n }","title":""},{"docid":"ff6f047d7f8d9e75ef4ba9b597c69890","score":"0.6399388","text":"public void removeFromWishlist(Item i){\n\t\twishlist.remove(i);\n\t}","title":""},{"docid":"7f8ba8a2e4b0fed9ba93d5e9a943aa40","score":"0.6396323","text":"public void remove(int id){\r\n accountList.remove(id);\r\n }","title":""},{"docid":"377ffb155801969b6457a2e2cbfff3ef","score":"0.63919437","text":"public void removeFavourite(String id,String user_id);","title":""},{"docid":"75d0af1ae3bcdfb1b36c043656d5b072","score":"0.6378068","text":"public void removeItem(Item item) {\n\t\titemList.remove(item);\n\t}","title":""},{"docid":"acfde4617323cf5c15ef0400bf650cbc","score":"0.63615894","text":"private void removePressed() {\n\t\tsetPresentsDefaultValue(false);\n\t\tint index = list.getSelectionIndex();\n\n\t\tListActions act = new ListActions();\n\t\tact.action = ListActions.DELETE;\n\t\tact.element = index;\n\t\tactions.add(act);\n\n\t\tif (index >= 0) {\n\t\t\tlist.remove(index);\n\t\t\tselectionChanged();\n\t\t}\n\t}","title":""},{"docid":"72b761aba749ced27c26607662ba25e1","score":"0.63613933","text":"public void remove() {}","title":""},{"docid":"72b761aba749ced27c26607662ba25e1","score":"0.63613933","text":"public void remove() {}","title":""},{"docid":"72b761aba749ced27c26607662ba25e1","score":"0.63613933","text":"public void remove() {}","title":""},{"docid":"ce8e6ec29cc7e314d8074d55e77f6264","score":"0.6359077","text":"@Override\n\t\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\t\tlist.remove(position);\n\t\t\t\t\t\tnotifyDataSetChanged();\n\t\t\t\t\t}","title":""},{"docid":"ca151e0c70a2b2b2ff48129cbe3e55f7","score":"0.6357811","text":"@Override\n\tpublic void removeItem(GItem item){\n\t\titems.remove(item.getID());\n\t}","title":""},{"docid":"d3aaabaf398e43a881b34daebe76b196","score":"0.6350316","text":"boolean removeUser(int userID);","title":""},{"docid":"ebaa5fd7150596df4f10942279958f3e","score":"0.63477045","text":"@Override\n public void onClick(View v) {\n list.remove(position);\n notifyDataSetChanged();\n }","title":""},{"docid":"8ba8033655f7feab006fec4d9b2a8f25","score":"0.6341222","text":"public void remove();","title":""},{"docid":"8ba8033655f7feab006fec4d9b2a8f25","score":"0.6341222","text":"public void remove();","title":""},{"docid":"8ba8033655f7feab006fec4d9b2a8f25","score":"0.6341222","text":"public void remove();","title":""},{"docid":"8ba8033655f7feab006fec4d9b2a8f25","score":"0.6341222","text":"public void remove();","title":""},{"docid":"8ba8033655f7feab006fec4d9b2a8f25","score":"0.6341222","text":"public void remove();","title":""},{"docid":"5da9145a0712cbfb433a3b2c79b73c3c","score":"0.6330214","text":"public void remove(IUser user) throws RuntimeException {\n if(!userList.remove(user)){\n throw new RuntimeException();\n }\n else userList.remove(user);\n }","title":""},{"docid":"1a452d2c562ced5c353df9ebfb1ec8f0","score":"0.6319577","text":"public void removeSelectedToDoList(ActionEvent actionEvent) {\n Task assignment;\n assignment = listTasks.getSelectionModel().getSelectedItem();\n listTasks.getItems().remove(assignment);\n labeldispTaskName.setText(\"\");\n labelselectedTask.setText(\"\");\n buttonRemoveToDoList.setDisable(true);\n\n }","title":""},{"docid":"d0ac92b590ec3c3b9bc1083317e0670d","score":"0.63120675","text":"public void removeListItem(View view) {\n model.removeElement(view.getName());\n jList1.repaint();\n }","title":""},{"docid":"7c95e6d978dfb2d11addeb27417bdbc7","score":"0.6311672","text":"private void removeUser() {\r\n\t\tUserRepository ur;\r\n\r\n\t\tur = new UserRepository(em);\r\n\r\n\t\tif (!ur.remove(ap.getUserId())) {\r\n\t\t\tSystem.err.println(\"User with ID = \" + ap.getUserId()\r\n\t\t\t\t\t+ \" not found.\");\r\n\t\t}\r\n\t}","title":""},{"docid":"b61dd4d63f1f7f71de25cb6486479102","score":"0.63114506","text":"public void removeSongFromPlaylist(Playlist selectedItem, Song selectedSong);","title":""},{"docid":"699daa6d1c89882be059a6154fc19e3f","score":"0.63060445","text":"public void removeItemFromLocalStorage(String item){\t\t\r\n\t\tthis.executeJavascript(String.format(\"window.localStorage.removeItem('%s');\", item));\r\n\t}","title":""},{"docid":"8c8b6d5e4580348770969badf8c40c38","score":"0.6297146","text":"@Override\r\n\tpublic void onRemoveFriend(int code, GotyeUser user) {\n\t\t\r\n\t}","title":""},{"docid":"bb8aa20c350651570c17c66938859486","score":"0.62911195","text":"@Override\n\tpublic void delete(User user) {\n\t\tusers.remove(user);\n\t}","title":""},{"docid":"0728d84930d9535d9f40659888423b49","score":"0.6279602","text":"private void deletePetFromPetList() {\n currentPet = petList.getPetArray().get(index);\n String deletedPetName = currentPet.getPetName();\n petList.remove(currentPet);\n JOptionPane.showMessageDialog(frame, String.format(\"Successfully removed %s from profile.\", deletedPetName));\n }","title":""},{"docid":"c51cf5a9eb06eae755b007aa8b6e0d4a","score":"0.62650704","text":"public void remove(Data data) {\n int position = list.indexOf(data);\n list.remove(position);\n notifyItemRemoved(position);\n }","title":""},{"docid":"c51cf5a9eb06eae755b007aa8b6e0d4a","score":"0.62650704","text":"public void remove(Data data) {\n int position = list.indexOf(data);\n list.remove(position);\n notifyItemRemoved(position);\n }","title":""},{"docid":"ac49341b1d971f0094ebda9b41adb6e5","score":"0.62585545","text":"public abstract void removeUser(int userId);","title":""},{"docid":"6689c940431d6c9769e47f6c03ecb53c","score":"0.62537074","text":"void remove();","title":""},{"docid":"6689c940431d6c9769e47f6c03ecb53c","score":"0.62537074","text":"void remove();","title":""},{"docid":"0410824e152f47a5e74155dd81497493","score":"0.6251017","text":"public void removeUser(Socket oldUser)\n\t{\n\t\tthis.userList.remove(oldUser);\n\t}","title":""},{"docid":"70b14c062e78accab32b41889dba94fb","score":"0.624575","text":"@Override\n public boolean onActionItemClicked(androidx.appcompat.view.ActionMode mode, MenuItem item) {\n switch (item.getItemId()) {\n case R.id.menu_remove:\n List selectedAccounts = ((AccountsAdapter) mAdapter).getSelectedItems();\n for(Integer position : selectedAccounts) {\n Account accountToBeRemoved = mAccounts.get(position);\n // Remove the user from the database\n // FIXME: 05/07/2019 DO NOT EXECUTE AN ASYNCTASK IN A FOR LOOP--THE APP WILL HAVE TOO MANY THREADS\n // RUNNING AT ONCE\n new DeleteAccountsAsyncTask().execute(accountToBeRemoved);\n }\n\n // Remove account from the RecyclerView on the UI\n ((AccountsAdapter) mAdapter).removeItems(selectedAccounts);\n mode.finish();\n Toast.makeText(getActivity(), \"Account(s) removed from your vault!\",\n Toast.LENGTH_SHORT).show();\n return true;\n\n default:\n return false;\n }\n }","title":""},{"docid":"3cab62b9c1aec5bd68f1ddf8e4bc02d1","score":"0.6242735","text":"private void processItemRemoval() {\n TreeMap cartItems = getCartMap(this.user.getItems());\n if(cartItems == null || cartItems.size() == 0) {\n emptyCartCheckoutHandler();\n } else {\n System.out.println(\"You have following Items in your cart.\");\n System.out.println(this.user.getItems().displayCart(cartItems));\n System.out.println(\"Please select the Index of Item you want to remove\");\n Scanner inputReader = new Scanner(new InputStreamReader(System.in, Charset.forName(\"UTF-8\")));\n try {\n int userInput = inputReader.nextInt();\n if (userInput > cartItems.size()) {\n System.out.println(\"Index Does not Exist. Enter valid input. Try Again.\");\n processItemRemoval();\n }\n if (this.user.getItems().removeItem(cartItems.get(userInput))) {\n this.user.setItems(this.user.getItems());\n System.out.println(\"Item Removed Successfully\");\n //this.user.setItems();\n } else {\n System.out.println(\"There was some error. We apologize for inconvenience. Please try again\");\n processItemRemoval();\n }\n } catch (Exception e) {\n System.out.println(\"Only Whole Numbers Allowed. Enter Valid Input!\");\n //e.printStackTrace();\n processItemRemoval();\n }\n }\n }","title":""},{"docid":"4482a40245266aa4734626b65f0b5bc4","score":"0.6240758","text":"protected void remove( Component item ){\n int index = items.indexOf( item );\n if( index >= 0 )\n remove( index );\n }","title":""},{"docid":"6ec93f7b276d402620e8babbf915d1e5","score":"0.62406105","text":"public void removeFromWishlist(Integer itemID){\n\t\tItem toRemove = null;\n\t\tfor (Item item : wishlist) {\n\t\t\tif (item.getItemID().equals(itemID)) {\n\t\t\t\ttoRemove = item;\n\t\t\t}\n\t\t}\n\t\tif(!(toRemove == null)) {\n\t\t\tremoveFromWishlist(toRemove);\n\t\t}\n\t}","title":""},{"docid":"033bca4f86c9c467629f579734ad7a0b","score":"0.62361324","text":"@Override\r\n\tpublic void onRemoveBlocked(int code, GotyeUser user) {\n\t\tloadData();\r\n\t}","title":""},{"docid":"1221e3d9ad91ff658cc7e91a1c020642","score":"0.62352556","text":"public void removeListItem(int id) {\n try {\n mDBHelper.getListItemTable().deleteById(id);\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }","title":""},{"docid":"5be3663ab48e151e75151ff0ba53f9c3","score":"0.6234625","text":"public void remove(Data data) {\n int position = list.indexOf(data);\n list.remove(position);\n notifyItemRemoved(position);\n }","title":""},{"docid":"f9f6f68a75b70a3f44479938a26a5ee8","score":"0.62249655","text":"@Override\r\n public void deleteUser(ArrayList users, int id) {\n \r\n }","title":""},{"docid":"081a5abc2fa519b7d900bc53af810691","score":"0.621924","text":"public void removeFriends(){\n dynamicRun(removeFriendMenu, \"Back\");\n }","title":""}],"string":"[\n {\n \"docid\": \"b91a4c54bdedb15ddbdf0186f5780890\",\n \"score\": \"0.7365414\",\n \"text\": \"public void remove(Info_HiDoctor_UserApp data) {\\n int position = list.indexOf(data);\\n list.remove(position);\\n notifyItemRemoved(position);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4cf7e1ad32d462e898e3c4c5a8d4bc04\",\n \"score\": \"0.73594904\",\n \"text\": \"public void removeItem(Answer theItem) {\\r\\n \\titemList.remove(theItem);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"50659a7a4b963b14dd4f39a169fd18dc\",\n \"score\": \"0.7329578\",\n \"text\": \"void removeFromWishToLend(IUserAccount user, ItemInterface item) throws Exception;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2276ff13e07eecc48133a58158267720\",\n \"score\": \"0.7278599\",\n \"text\": \"public void remove_user(User new_user){\\n list_of_users.remove(new_user);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da2a54d40d1df6278e189be2c57d9785\",\n \"score\": \"0.727558\",\n \"text\": \"public void removeUser() {\\n\\tObject selected = getPresenceTree().getSelectionPath().getLastPathComponent();\\n\\n\\tUserInvite u = (UserInvite) selected;\\n\\tDSMPProto p = DSMPGenerator.dropInvitee((byte) 0,dispatcher.meetingID,u.inviteID,u.participantID,false,true);\\n\\tdispatcher.dispatchProtocol(p);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2dbf7a3033c3593a528884846aa5400d\",\n \"score\": \"0.71775496\",\n \"text\": \"public void removeUser(User p){\\n users.remove(p);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a3820d5247dcdea645219249d51e3d12\",\n \"score\": \"0.71620035\",\n \"text\": \"void remove(User user);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"690249c113aaea41698771dc41f81b03\",\n \"score\": \"0.7156734\",\n \"text\": \"void removeUser();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e662a567079acaf8f05e525216c9101\",\n \"score\": \"0.7131058\",\n \"text\": \"public synchronized void rmUser(String nm) {\\n\\t\\tclListModel.removeElement(nm);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"368ec974336243d4b7d6d0147be24ae8\",\n \"score\": \"0.7057548\",\n \"text\": \"void removeFromWishToBorrow(IUserAccount user, ItemInterface item) throws Exception;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c994087772a58b9edde4d2ca8aca9e43\",\n \"score\": \"0.7026296\",\n \"text\": \"private void deletePressed() {\\n // Get selected user\\n int index = userList.getSelectedIndex();\\n String username = userField.getText();\\n\\n // Check that the user to be deleted isn't the signed in user\\n if (user.getUsername().equals(username)) {\\n JOptionPane.showMessageDialog(null, \\\"Signed in user cannot be removed\\\");\\n }\\n // The user is not the user signed in\\n else {\\n // Remove user from the database and clear input fields\\n userData.remove(userList.getSelectedValue());\\n clearFields();\\n index--;\\n if (index == -1) {\\n if (userData.getSize() != 0) {\\n index = 0;\\n }\\n }\\n userList.setSelectedIndex(index);\\n checkListSize();\\n JOptionPane.showMessageDialog(null, String.format(\\\"User '%s' successfully deleted\\\", username));\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5de44271ea8a341065a031dd80fbdfa4\",\n \"score\": \"0.70048296\",\n \"text\": \"public void removeUserFromList(String nick){\\r\\n\\t\\tfor(int i = 0; i < listModel.size(); i ++){\\r\\n\\t\\t\\tif ( listModel.get(i).toString().equals(nick) || listModel.get(i).toString().equals(nick.substring(1))) {\\r\\n\\t\\t\\t\\tlistModel.remove(i);\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af02ea038c00e9efca321a4cf87124a1\",\n \"score\": \"0.6989754\",\n \"text\": \"public void removeByUserID(int userID);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a95d2dfadbfec2d24d8167a8eac55933\",\n \"score\": \"0.6977817\",\n \"text\": \"public Item removeItem();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b494de1b722538eaa956f066a3a99677\",\n \"score\": \"0.6967649\",\n \"text\": \"@Override\\n\\t\\tpublic void onUserListDeletion(User arg0, UserList arg1) {\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"03cbe01d52d0c8e896582b0bf4f9e7e1\",\n \"score\": \"0.69334084\",\n \"text\": \"private void removeUser(User user) {\\r\\n\\t\\tdata.remove(user);\\r\\n\\t\\tadapter.notifyDataSetChanged();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ca40f94a5e10e448abe133916788b09c\",\n \"score\": \"0.6910798\",\n \"text\": \"public void removeItem(Item anItem)\\n {\\n item.remove(anItem); //remove the item\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6867cbae9f6f4cf793f69b8fbaff729e\",\n \"score\": \"0.6906649\",\n \"text\": \"void remove(Item item);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eac241f41d80aa6c0fdd11a26e137037\",\n \"score\": \"0.68614155\",\n \"text\": \"@Override\\n public void removeFromParent() {\\n for(User u: userList) {\\n u.getTaskTypeList().remove(this);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"143583cbb0c9f5cbb80514af311156be\",\n \"score\": \"0.68322265\",\n \"text\": \"public static int RemoveToListInRoomGUI(int id, String userName){\\n for (RoomPannel rP: rPList){\\n if (rP.IDROOM == id){\\n rP.RemoveFromList(userName);\\n }\\n }\\n return 1;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f29965051465a621e0550a72fe332f13\",\n \"score\": \"0.6772121\",\n \"text\": \"public static void removeItem(){\\n System.out.print(\\\"Enter the remove item name: \\\");\\n String itemName = scanner.nextLine();\\n groceryList.removeGroceryItem(itemName);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"03a13aeccf41066df7179c17390fd41e\",\n \"score\": \"0.673503\",\n \"text\": \"@Override\\r\\n\\tpublic void actionPerformed(ActionEvent e) {\\n\\t\\tif (e.getSource() == addButton){\\r\\n\\t\\t\\tList selected = list.getSelectedValuesList();\\r\\n\\t\\t\\tif (selected == null){\\r\\n\\t\\t\\t\\tJOptionPane.showMessageDialog(this, \\\"Please select users!\\\",\\r\\n\\t\\t\\t\\t\\t\\t\\\"Input Error\\\", JOptionPane.ERROR_MESSAGE);\\r\\n\\t\\t\\t}else{\\r\\n\\t\\t\\t\\tfor (int i = 0; i < selected.size(); i++){\\r\\n\\t\\t\\t\\t\\tlistModel.remove(i); /// how?\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5782cef53bdd43f800608b15a8000974\",\n \"score\": \"0.6730547\",\n \"text\": \"@Override\\n\\t\\tpublic void onUserListMemberDeletion(User arg0, User arg1, UserList arg2) {\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4eb77105240d0c5409cfaeaf3a52e3cf\",\n \"score\": \"0.66972166\",\n \"text\": \"public void removeUsers(final EverisUser user);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"acec39dec9a04548063352381fa8e2cf\",\n \"score\": \"0.6693823\",\n \"text\": \"public boolean deleteUser(String key)\\r\\n\\t{\\r\\n\\t\\tfor(User user:list)\\r\\n\\t\\t{\\r\\n\\t\\t\\tif(user.getKey().equals(key) ) {\\r\\n\\t\\t\\t\\tlist.remove(user);\\r\\n\\t\\t\\t\\treturn true;\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t}\\r\\n\\t\\treturn false;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f8bcf82919285ac09a39d955d6763eea\",\n \"score\": \"0.6677582\",\n \"text\": \"public void removeItem(int position){\\n deletedItem = profesorListFiltered.remove(position);\\n Iterator iter = profesorList.iterator();\\n while (iter.hasNext()){ //recorre la lista de profesores\\n Profesor aux = iter.next();\\n if (deletedItem.equals(aux)) //hasta encontrar el profesor que es igual\\n iter.remove(); //acá lo remueve de la lista\\n }\\n notifyItemRemoved(position);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"148d49c1c615bb9d449e3bcb01075f39\",\n \"score\": \"0.6672747\",\n \"text\": \"public void deleteUser() {\\n\\t\\tadminText.setText(\\\"\\\");\\n\\t\\tint selectedNum = userList.getSelectionModel().getSelectedIndex();\\n\\t\\t\\n\\t\\ttry {\\n\\t\\t\\tif (selectedNum != -1) {\\n\\t\\t\\t\\tMain.curApp.users.remove(selectedNum);\\n\\t\\t\\t\\tadminText.setText(\\\"deleted\\\");\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tif (Main.curApp.users.size() > 0) {\\n\\t\\t\\t\\t\\tuserList.getSelectionModel().select(0);\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tMain.saveCurApp();\\n\\t\\t\\treload();\\n\\t\\t}catch (Exception e) {\\n\\t\\t\\tSystem.out.println(\\\"deleteUser error\\\");\\n\\t\\t}\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"38c99cb9a2b1cbd07899fdc7e2299bf9\",\n \"score\": \"0.6665191\",\n \"text\": \"public void deleteUser(ActionEvent event) {\\n\\t\\tif(listView.getSelectionModel().getSelectedIndex()==-1) {\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\tif (users.isEmpty()) {\\n\\t\\t\\tAlert a = new Alert(AlertType.ERROR, \\\"There are no users on file. Add users to proceed.\\\", ButtonType.OK);\\n\\t\\t\\ta.show();\\t\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\tUser user = listView.getSelectionModel().getSelectedItem();\\n\\t\\tif (user.getUsername().equals(\\\"stock\\\")) {\\n\\t\\t\\tAlert a = new Alert(AlertType.ERROR, \\\"Cannot delete stock user.\\\", ButtonType.OK);\\n\\t\\t\\ta.show();\\t\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\telse {\\n\\t\\t\\tusers.remove(users.indexOf(user));\\n\\t\\t\\tController.allUsers.remove(user);\\n\\t\\t\\temptyCreateAndDeleteInfo();\\n\\t\\t\\tlistView.setItems(users);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c2da2d6ee1d4a54e4962f6d060c21522\",\n \"score\": \"0.6652667\",\n \"text\": \"void removeByName(User user);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"81d74841fa98f59e01f3a176f8039107\",\n \"score\": \"0.6649792\",\n \"text\": \"@FXML\\r\\n protected void DeleteUser(ActionEvent event) throws IOException\\r\\n {\\r\\n ObservableList itemsToDelete, allItems;\\r\\n allItems = userListView.getItems();\\r\\n itemsToDelete = userListView.getSelectionModel().getSelectedItems();\\r\\n\\r\\n for (String item : itemsToDelete) {\\r\\n // Never delete stock user.\\r\\n if (\\\"stock\\\".equals(item)) {\\r\\n continue;\\r\\n }\\r\\n\\r\\n User x = new User(item);\\r\\n UserDataStore.delete(x);\\r\\n }\\r\\n\\r\\n System.out.println(itemsToDelete.toString());\\r\\n itemsToDelete.forEach(allItems::remove);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8561a5ba1dfa5cf3e1d2b62d53463aa6\",\n \"score\": \"0.6643354\",\n \"text\": \"public void remove_all_users(){\\n list_of_users.removeAll(list_of_users);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7689a255c70a6b4420ad642468af9f9a\",\n \"score\": \"0.66334724\",\n \"text\": \"public void removeMyItems() {\\n\\t\\tint p = 0;\\n\\t\\tList profile = mDive.getProfile();\\n\\t\\tfor(Iterator it = profile.iterator(); it.hasNext(); ) {\\n\\t\\t\\tProfileItem i = it.next();\\n\\t\\t\\tif(i.getLineSource() == mSource) {\\n\\t\\t\\t\\tif(p > 0) {\\n\\t\\t\\t\\t\\tProfileItem lastItem = profile.get(p - 1);\\n\\t\\t\\t\\t\\tif(i.isActive() && ! lastItem.isActive()) {\\n\\t\\t\\t\\t\\t\\tlastItem.setActive(true);\\n\\t\\t\\t\\t\\t\\t//lastItem.commit();\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tit.remove();\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tp++;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"25fdb5ea3de0d010d378cfc05afab31b\",\n \"score\": \"0.66183764\",\n \"text\": \"public void removeFromStudy() {\\n List studyUsers = new ArrayList();\\n List users = new ArrayList(Arrays.asList(availableUsers));\\n\\n for (StudyUser su : assignedUsers) {\\n if (su.isSelected()) {\\n session.delete(su);\\n users.add(su.getUser());\\n } else {\\n studyUsers.add(su);\\n }\\n }\\n availableUsers = users.toArray(new User[0]);\\n assignedUsers = studyUsers.toArray(new StudyUser[0]);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"87e39b7b9eb31f52f37c38058db5a74b\",\n \"score\": \"0.6591811\",\n \"text\": \"public void remove() {\\n\\t\\tonlineUsers.remove(this.uuid);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"584003fa276557e360492594a6e8327b\",\n \"score\": \"0.6567331\",\n \"text\": \"public void clearList() {\\n\\t\\tsetUsersList(new ItemListUsersBean());\\n\\t\\tgetUsersList().setCurrentUserKey(getCurrentUser().getKey());\\n\\t\\tgetUsersList().setListEditorEJB(listEditorEJB);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1acd937453e1b1f4deea0f1e78f02795\",\n \"score\": \"0.6565981\",\n \"text\": \"@Override\\r\\n\\tpublic void onRemoveBlocked(int code, GotyeUser user) {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d146eb75c77cb446203a6a5a2ee6e6c3\",\n \"score\": \"0.65651876\",\n \"text\": \"public void removeItem() {\\r\\n\\t\\tthis.getItemList().remove(0);\\r\\n\\t\\tthis.decrementNumber();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f5a1bce0c4b44155f60962e01f334580\",\n \"score\": \"0.6562134\",\n \"text\": \"@Override\\r\\n\\tpublic void removeFavoritesItem(long userId, long movieId) {\\n\\t\\tif (userFavorites.containsKey(userId)) {\\r\\n\\t\\t\\tFavoriutes cart = userFavorites.get(userId);\\r\\n List menuItemList = cart.getMovieList();\\r\\n for (MovieList menuItem : menuItemList) {\\r\\n if (menuItem.getId() == movieId) {\\r\\n menuItemList.remove(menuItem);\\r\\n }\\r\\n }\\r\\n cart.setMovieList(menuItemList);\\r\\n userFavorites.put(userId, cart);\\r\\n \\r\\n }\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"40dad6cce071534a0e37f53ef6591bb5\",\n \"score\": \"0.6555697\",\n \"text\": \"private void removeItem() {\\n\\t\\tpurchase.getPurchaseDetails().remove(currentPosition);\\n\\t\\tpurchaseDetailItems.remove(currentPosition);\\n\\t\\t// remove from list view\\n\\t\\tListView purchaseDetailList = (ListView) findViewById(R.id.listView_purchasedetail);\\n\\t\\tPurchaseDetailListAdapter badapter = (PurchaseDetailListAdapter) purchaseDetailList.getAdapter();\\n\\t\\tbadapter.notifyDataSetChanged();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"00d7a92171293f553488cf160fe2edef\",\n \"score\": \"0.65475976\",\n \"text\": \"public void handle(ActionEvent e){\\n User toDelete = userList.getSelectionModel().getSelectedItem();\\n Context.getInstance().removeUser(toDelete);\\n userList.getItems().remove(toDelete);\\n \\n //delete serialization\\n File file = new File(System.getProperty(\\\"user.dir\\\") + \\\"/data/Users/\\\" + toDelete.getUsername() + \\\".ser\\\");\\n file.delete();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ef9ff628c19c4c1fb7b9d8f856a4224c\",\n \"score\": \"0.6543472\",\n \"text\": \"public void removeItem(T value) ;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"58e06b3854af9471943b13e1d52f4183\",\n \"score\": \"0.6516142\",\n \"text\": \"private void removeItem() {\\n System.out.println(\\\"Enter item to remove from inventory:\\\");\\n String itemName = ItemTracker.scanner.nextLine();\\n inventory.removeItem(itemName);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"01c0045e2c13e1825d904dfac201136b\",\n \"score\": \"0.6512653\",\n \"text\": \"protected void removeItemFromList(String itemontouch) {\\n final String deletePosition = itemontouch;\\n\\n AlertDialog.Builder alert = new AlertDialog.Builder(\\n ViewListContents.this);\\n\\n alert.setTitle(\\\"Delete\\\");\\n alert.setMessage(\\\"Do you want delete this item?\\\");\\n alert.setPositiveButton(\\\"YES\\\", new DialogInterface.OnClickListener() {\\n @Override\\n public void onClick(DialogInterface dialog, int which) {\\n Deleteraw(deletePosition);\\n\\n }\\n });\\n alert.setNegativeButton(\\\"CANCEL\\\", new DialogInterface.OnClickListener() {\\n @Override\\n public void onClick(DialogInterface dialog, int which) {\\n // TODO Auto-generated method stub\\n dialog.dismiss();\\n }\\n });\\n\\n alert.show();\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"149b6226fa8e63afcd6b3191d5a75317\",\n \"score\": \"0.6505197\",\n \"text\": \"@DELETE\\n @Path(\\\"/remove/{id}\\\")\\n public Response deleteUser(@PathParam(\\\"id\\\") long id) {\\n Predicate user = u ->u.getId() == id;\\n if (!userList.removeIf(user)) {\\n return Response.status(Response.Status.BAD_REQUEST).build();\\n } else\\n for (int i = 0; i < notifList.size(); i++) {\\n if (notifList.get(i).getOwner().getId() == id) {\\n notifList.remove(i);\\n }\\n }\\n return Response.status(Response.Status.OK).build();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7b77d84b8e73de3c3c2ff6ab038dd570\",\n \"score\": \"0.64784175\",\n \"text\": \"public void remove(Item item) {\\n int position = list.indexOf(item);\\n list.remove(position);\\n notifyItemRemoved(position);\\n storeArrayVal(itemsList, context.getApplicationContext());\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9f3c2e71fa3fa9694ab90023f63754b4\",\n \"score\": \"0.64766926\",\n \"text\": \"private void deleteUser() {\\r\\n\\r\\n System.out.println(this.getEtat() + \\\" supprime!\\\");\\r\\n if(this.getEtat().matches(\\\"membre\\\")) {\\r\\n BaseDonnees.getMembres().remove(this);\\r\\n } else {\\r\\n if(this.getEtat().matches(\\\"professionnel\\\")) {\\r\\n BaseDonnees.getProfessionnels().remove(this);\\r\\n } else { BaseDonnees.getEmployes().remove(this); }\\r\\n }\\r\\n Objects.requireNonNull(BaseDonnees.getUser(this.numero)).setEtat(\\\"termine\\\");\\r\\n System.out.println(MenuGYM.buildString(false));\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bcd341d6cdd56894a3cee34860155135\",\n \"score\": \"0.64697987\",\n \"text\": \"public void removeItem(String item) {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c78aff33ccc2f72731d9e7f41e0ef8b2\",\n \"score\": \"0.6458631\",\n \"text\": \"public void removeItem(View view){\\n //get the saved values of username and email from the Shared Preference file 'userData' file\\n SharedPreferences recipeData = getSharedPreferences(\\\"recipeData\\\",0);\\n String recipeList = recipeData.getString(\\\"recipe\\\", \\\"\\\");\\n SharedPreferences.Editor editor = recipeData.edit();\\n //Create new Array List\\n ArrayList newList = new ArrayList(Arrays.asList(recipeList.split(\\\"\\\\n\\\")));\\n //find listvew\\n ListView lists = findViewById(R.id.showSaved);\\n\\n for (int i =0; i< lists.getCount(); i++)\\n {\\n if (lists.isItemChecked(i)) //checks if the items are checked\\n {\\n newList.remove(lists.getItemAtPosition(i)); //remove recipe that was checked at the position\\n }\\n }\\n //outputs the string array as string\\n String output = new String(newList.toString());\\n output = output.replace(\\\", \\\", \\\"\\\\n\\\");\\n output = output.replace(\\\"[\\\",\\\"\\\");\\n output = output.replace(\\\"]\\\",\\\"\\\");\\n editor.putString(\\\"recipe\\\", output);\\n editor.commit();\\n\\n //displays the removed items\\n ArrayAdapter remRec = new ArrayAdapter(SavedRecipes.this, android.R.layout.simple_list_item_multiple_choice,newList);\\n lists.setAdapter(remRec);\\n lists.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"072e34af53ca4635c0986e88aa86fb7e\",\n \"score\": \"0.64582723\",\n \"text\": \"private void removeItem(int position) {\\n getterSetterTeachingAssistantList = getterSetterTeachingAssistant.get(position);\\n SQLiteHandlerTeachingAssistant db = new SQLiteHandlerTeachingAssistant(context);\\n db.deleteTeachingAssistantProfile(getterSetterTeachingAssistantList);\\n notifyItemRemoved(position);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fcc6563fa6513e5f5d5a33460207d9e8\",\n \"score\": \"0.64569974\",\n \"text\": \"public void removeOwner() {\\n\\tObject selected = getPresenceTree().getSelectionPath().getLastPathComponent();\\n\\n\\tUserInvite u = (UserInvite) selected;\\n\\tDSMPProto p = DSMPGenerator.assignOwnership((byte) 0,dispatcher.meetingID,u.participantID,false);\\n\\tdispatcher.dispatchProtocol(p);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0adeb40091093faca6b40602a1cebe69\",\n \"score\": \"0.6448319\",\n \"text\": \"public void removeItem() {\\n\\t\\tthis.item = null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7dd7e556f0c74e29bdd817a8475f6a9d\",\n \"score\": \"0.64471644\",\n \"text\": \"void deleteUser (User userIn)\\n {\\n int Id = userIn.getId();\\n for (int i=0; i< usersCount; i++)\\n {\\n if (users[i].getId() == Id)\\n {\\n for(int j=i; j users, String name) {\\n \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1361cd410d3a49df9c23640020993a63\",\n \"score\": \"0.6413398\",\n \"text\": \"@Override\\n\\t\\tpublic void onUserListUnsubscription(User arg0, User arg1, UserList arg2) {\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5639d7aa5d3d127a46e8ee6731dd3d56\",\n \"score\": \"0.6403929\",\n \"text\": \"public void removeGroceryList(String item){\\n int position = findItem(item);\\n if ( position >= 0)\\n removeGroceryList(position);\\n else\\n System.out.println(\\\"Don ' have this item already!\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ff6f047d7f8d9e75ef4ba9b597c69890\",\n \"score\": \"0.6399388\",\n \"text\": \"public void removeFromWishlist(Item i){\\n\\t\\twishlist.remove(i);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7f8ba8a2e4b0fed9ba93d5e9a943aa40\",\n \"score\": \"0.6396323\",\n \"text\": \"public void remove(int id){\\r\\n accountList.remove(id);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"377ffb155801969b6457a2e2cbfff3ef\",\n \"score\": \"0.63919437\",\n \"text\": \"public void removeFavourite(String id,String user_id);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75d0af1ae3bcdfb1b36c043656d5b072\",\n \"score\": \"0.6378068\",\n \"text\": \"public void removeItem(Item item) {\\n\\t\\titemList.remove(item);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"acfde4617323cf5c15ef0400bf650cbc\",\n \"score\": \"0.63615894\",\n \"text\": \"private void removePressed() {\\n\\t\\tsetPresentsDefaultValue(false);\\n\\t\\tint index = list.getSelectionIndex();\\n\\n\\t\\tListActions act = new ListActions();\\n\\t\\tact.action = ListActions.DELETE;\\n\\t\\tact.element = index;\\n\\t\\tactions.add(act);\\n\\n\\t\\tif (index >= 0) {\\n\\t\\t\\tlist.remove(index);\\n\\t\\t\\tselectionChanged();\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"72b761aba749ced27c26607662ba25e1\",\n \"score\": \"0.63613933\",\n \"text\": \"public void remove() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"72b761aba749ced27c26607662ba25e1\",\n \"score\": \"0.63613933\",\n \"text\": \"public void remove() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"72b761aba749ced27c26607662ba25e1\",\n \"score\": \"0.63613933\",\n \"text\": \"public void remove() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ce8e6ec29cc7e314d8074d55e77f6264\",\n \"score\": \"0.6359077\",\n \"text\": \"@Override\\n\\t\\t\\t\\t\\tpublic void onClick(View v) {\\n\\t\\t\\t\\t\\t\\tlist.remove(position);\\n\\t\\t\\t\\t\\t\\tnotifyDataSetChanged();\\n\\t\\t\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ca151e0c70a2b2b2ff48129cbe3e55f7\",\n \"score\": \"0.6357811\",\n \"text\": \"@Override\\n\\tpublic void removeItem(GItem item){\\n\\t\\titems.remove(item.getID());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d3aaabaf398e43a881b34daebe76b196\",\n \"score\": \"0.6350316\",\n \"text\": \"boolean removeUser(int userID);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ebaa5fd7150596df4f10942279958f3e\",\n \"score\": \"0.63477045\",\n \"text\": \"@Override\\n public void onClick(View v) {\\n list.remove(position);\\n notifyDataSetChanged();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ba8033655f7feab006fec4d9b2a8f25\",\n \"score\": \"0.6341222\",\n \"text\": \"public void remove();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ba8033655f7feab006fec4d9b2a8f25\",\n \"score\": \"0.6341222\",\n \"text\": \"public void remove();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ba8033655f7feab006fec4d9b2a8f25\",\n \"score\": \"0.6341222\",\n \"text\": \"public void remove();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ba8033655f7feab006fec4d9b2a8f25\",\n \"score\": \"0.6341222\",\n \"text\": \"public void remove();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ba8033655f7feab006fec4d9b2a8f25\",\n \"score\": \"0.6341222\",\n \"text\": \"public void remove();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5da9145a0712cbfb433a3b2c79b73c3c\",\n \"score\": \"0.6330214\",\n \"text\": \"public void remove(IUser user) throws RuntimeException {\\n if(!userList.remove(user)){\\n throw new RuntimeException();\\n }\\n else userList.remove(user);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1a452d2c562ced5c353df9ebfb1ec8f0\",\n \"score\": \"0.6319577\",\n \"text\": \"public void removeSelectedToDoList(ActionEvent actionEvent) {\\n Task assignment;\\n assignment = listTasks.getSelectionModel().getSelectedItem();\\n listTasks.getItems().remove(assignment);\\n labeldispTaskName.setText(\\\"\\\");\\n labelselectedTask.setText(\\\"\\\");\\n buttonRemoveToDoList.setDisable(true);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d0ac92b590ec3c3b9bc1083317e0670d\",\n \"score\": \"0.63120675\",\n \"text\": \"public void removeListItem(View view) {\\n model.removeElement(view.getName());\\n jList1.repaint();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7c95e6d978dfb2d11addeb27417bdbc7\",\n \"score\": \"0.6311672\",\n \"text\": \"private void removeUser() {\\r\\n\\t\\tUserRepository ur;\\r\\n\\r\\n\\t\\tur = new UserRepository(em);\\r\\n\\r\\n\\t\\tif (!ur.remove(ap.getUserId())) {\\r\\n\\t\\t\\tSystem.err.println(\\\"User with ID = \\\" + ap.getUserId()\\r\\n\\t\\t\\t\\t\\t+ \\\" not found.\\\");\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b61dd4d63f1f7f71de25cb6486479102\",\n \"score\": \"0.63114506\",\n \"text\": \"public void removeSongFromPlaylist(Playlist selectedItem, Song selectedSong);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"699daa6d1c89882be059a6154fc19e3f\",\n \"score\": \"0.63060445\",\n \"text\": \"public void removeItemFromLocalStorage(String item){\\t\\t\\r\\n\\t\\tthis.executeJavascript(String.format(\\\"window.localStorage.removeItem('%s');\\\", item));\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8c8b6d5e4580348770969badf8c40c38\",\n \"score\": \"0.6297146\",\n \"text\": \"@Override\\r\\n\\tpublic void onRemoveFriend(int code, GotyeUser user) {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bb8aa20c350651570c17c66938859486\",\n \"score\": \"0.62911195\",\n \"text\": \"@Override\\n\\tpublic void delete(User user) {\\n\\t\\tusers.remove(user);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0728d84930d9535d9f40659888423b49\",\n \"score\": \"0.6279602\",\n \"text\": \"private void deletePetFromPetList() {\\n currentPet = petList.getPetArray().get(index);\\n String deletedPetName = currentPet.getPetName();\\n petList.remove(currentPet);\\n JOptionPane.showMessageDialog(frame, String.format(\\\"Successfully removed %s from profile.\\\", deletedPetName));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c51cf5a9eb06eae755b007aa8b6e0d4a\",\n \"score\": \"0.62650704\",\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\": \"c51cf5a9eb06eae755b007aa8b6e0d4a\",\n \"score\": \"0.62650704\",\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\": \"ac49341b1d971f0094ebda9b41adb6e5\",\n \"score\": \"0.62585545\",\n \"text\": \"public abstract void removeUser(int userId);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6689c940431d6c9769e47f6c03ecb53c\",\n \"score\": \"0.62537074\",\n \"text\": \"void remove();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6689c940431d6c9769e47f6c03ecb53c\",\n \"score\": \"0.62537074\",\n \"text\": \"void remove();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0410824e152f47a5e74155dd81497493\",\n \"score\": \"0.6251017\",\n \"text\": \"public void removeUser(Socket oldUser)\\n\\t{\\n\\t\\tthis.userList.remove(oldUser);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"70b14c062e78accab32b41889dba94fb\",\n \"score\": \"0.624575\",\n \"text\": \"@Override\\n public boolean onActionItemClicked(androidx.appcompat.view.ActionMode mode, MenuItem item) {\\n switch (item.getItemId()) {\\n case R.id.menu_remove:\\n List selectedAccounts = ((AccountsAdapter) mAdapter).getSelectedItems();\\n for(Integer position : selectedAccounts) {\\n Account accountToBeRemoved = mAccounts.get(position);\\n // Remove the user from the database\\n // FIXME: 05/07/2019 DO NOT EXECUTE AN ASYNCTASK IN A FOR LOOP--THE APP WILL HAVE TOO MANY THREADS\\n // RUNNING AT ONCE\\n new DeleteAccountsAsyncTask().execute(accountToBeRemoved);\\n }\\n\\n // Remove account from the RecyclerView on the UI\\n ((AccountsAdapter) mAdapter).removeItems(selectedAccounts);\\n mode.finish();\\n Toast.makeText(getActivity(), \\\"Account(s) removed from your vault!\\\",\\n Toast.LENGTH_SHORT).show();\\n return true;\\n\\n default:\\n return false;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3cab62b9c1aec5bd68f1ddf8e4bc02d1\",\n \"score\": \"0.6242735\",\n \"text\": \"private void processItemRemoval() {\\n TreeMap cartItems = getCartMap(this.user.getItems());\\n if(cartItems == null || cartItems.size() == 0) {\\n emptyCartCheckoutHandler();\\n } else {\\n System.out.println(\\\"You have following Items in your cart.\\\");\\n System.out.println(this.user.getItems().displayCart(cartItems));\\n System.out.println(\\\"Please select the Index of Item you want to remove\\\");\\n Scanner inputReader = new Scanner(new InputStreamReader(System.in, Charset.forName(\\\"UTF-8\\\")));\\n try {\\n int userInput = inputReader.nextInt();\\n if (userInput > cartItems.size()) {\\n System.out.println(\\\"Index Does not Exist. Enter valid input. Try Again.\\\");\\n processItemRemoval();\\n }\\n if (this.user.getItems().removeItem(cartItems.get(userInput))) {\\n this.user.setItems(this.user.getItems());\\n System.out.println(\\\"Item Removed Successfully\\\");\\n //this.user.setItems();\\n } else {\\n System.out.println(\\\"There was some error. We apologize for inconvenience. Please try again\\\");\\n processItemRemoval();\\n }\\n } catch (Exception e) {\\n System.out.println(\\\"Only Whole Numbers Allowed. Enter Valid Input!\\\");\\n //e.printStackTrace();\\n processItemRemoval();\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4482a40245266aa4734626b65f0b5bc4\",\n \"score\": \"0.6240758\",\n \"text\": \"protected void remove( Component item ){\\n int index = items.indexOf( item );\\n if( index >= 0 )\\n remove( index );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ec93f7b276d402620e8babbf915d1e5\",\n \"score\": \"0.62406105\",\n \"text\": \"public void removeFromWishlist(Integer itemID){\\n\\t\\tItem toRemove = null;\\n\\t\\tfor (Item item : wishlist) {\\n\\t\\t\\tif (item.getItemID().equals(itemID)) {\\n\\t\\t\\t\\ttoRemove = item;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(!(toRemove == null)) {\\n\\t\\t\\tremoveFromWishlist(toRemove);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"033bca4f86c9c467629f579734ad7a0b\",\n \"score\": \"0.62361324\",\n \"text\": \"@Override\\r\\n\\tpublic void onRemoveBlocked(int code, GotyeUser user) {\\n\\t\\tloadData();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1221e3d9ad91ff658cc7e91a1c020642\",\n \"score\": \"0.62352556\",\n \"text\": \"public void removeListItem(int id) {\\n try {\\n mDBHelper.getListItemTable().deleteById(id);\\n } catch (SQLException e) {\\n e.printStackTrace();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5be3663ab48e151e75151ff0ba53f9c3\",\n \"score\": \"0.6234625\",\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\": \"f9f6f68a75b70a3f44479938a26a5ee8\",\n \"score\": \"0.62249655\",\n \"text\": \"@Override\\r\\n public void deleteUser(ArrayList users, int id) {\\n \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"081a5abc2fa519b7d900bc53af810691\",\n \"score\": \"0.621924\",\n \"text\": \"public void removeFriends(){\\n dynamicRun(removeFriendMenu, \\\"Back\\\");\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":371,"cells":{"query_id":{"kind":"string","value":"eeece16cb4cca6dd111bbdc5fc97f861"},"query":{"kind":"string","value":"$ANTLR end \"entryRuleConstraints\" $ANTLR start \"ruleConstraints\" InternalDsl.g:1263:1: ruleConstraints : ( ( rule__Constraints__Group__0 ) ) ;"},"positive_passages":{"kind":"list like","value":[{"docid":"60cbbab155e02739b58f8ddbbfbe2b87","score":"0.77705353","text":"public final void ruleConstraints() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:1267:2: ( ( ( rule__Constraints__Group__0 ) ) )\n // InternalDsl.g:1268:2: ( ( rule__Constraints__Group__0 ) )\n {\n // InternalDsl.g:1268:2: ( ( rule__Constraints__Group__0 ) )\n // InternalDsl.g:1269:3: ( rule__Constraints__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getConstraintsAccess().getGroup()); \n }\n // InternalDsl.g:1270:3: ( rule__Constraints__Group__0 )\n // InternalDsl.g:1270:4: rule__Constraints__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__Constraints__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getConstraintsAccess().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":""}],"string":"[\n {\n \"docid\": \"60cbbab155e02739b58f8ddbbfbe2b87\",\n \"score\": \"0.77705353\",\n \"text\": \"public final void ruleConstraints() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalDsl.g:1267:2: ( ( ( rule__Constraints__Group__0 ) ) )\\n // InternalDsl.g:1268:2: ( ( rule__Constraints__Group__0 ) )\\n {\\n // InternalDsl.g:1268:2: ( ( rule__Constraints__Group__0 ) )\\n // InternalDsl.g:1269:3: ( rule__Constraints__Group__0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getConstraintsAccess().getGroup()); \\n }\\n // InternalDsl.g:1270:3: ( rule__Constraints__Group__0 )\\n // InternalDsl.g:1270:4: rule__Constraints__Group__0\\n {\\n pushFollow(FOLLOW_2);\\n rule__Constraints__Group__0();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getConstraintsAccess().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 }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"e0cfcd7cfa043c5c13b3a476436c063b","score":"0.71838987","text":"public final void rule__Constraints__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:12870:1: ( ( 'constraint' ) )\n // InternalDsl.g:12871:1: ( 'constraint' )\n {\n // InternalDsl.g:12871:1: ( 'constraint' )\n // InternalDsl.g:12872:2: 'constraint'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getConstraintsAccess().getConstraintKeyword_1()); \n }\n match(input,99,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getConstraintsAccess().getConstraintKeyword_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":"6247ed46d0eaeed8cec4619f7ca81f56","score":"0.69456476","text":"public final void entryRuleConstraints() throws RecognitionException {\n try {\n // InternalDsl.g:1255:1: ( ruleConstraints EOF )\n // InternalDsl.g:1256:1: ruleConstraints EOF\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getConstraintsRule()); \n }\n pushFollow(FOLLOW_1);\n ruleConstraints();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getConstraintsRule()); \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":"cf4720773c9ae3c61f1ba71cbd43ae24","score":"0.67785156","text":"public final void ruleEConstraints() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:2453:2: ( ( ( rule__EConstraints__Group__0 ) ) )\n // InternalAADMParser.g:2454:2: ( ( rule__EConstraints__Group__0 ) )\n {\n // InternalAADMParser.g:2454:2: ( ( rule__EConstraints__Group__0 ) )\n // InternalAADMParser.g:2455:3: ( rule__EConstraints__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEConstraintsAccess().getGroup()); \n }\n // InternalAADMParser.g:2456:3: ( rule__EConstraints__Group__0 )\n // InternalAADMParser.g:2456:4: rule__EConstraints__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__EConstraints__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEConstraintsAccess().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":"7330bb5bdf6418b8bec1c66ff0f0279f","score":"0.6659367","text":"public final EObject entryRuleConstraints() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleConstraints = null;\n\n\n try {\n // InternalPlatoon.g:589:52: (iv_ruleConstraints= ruleConstraints EOF )\n // InternalPlatoon.g:590:2: iv_ruleConstraints= ruleConstraints EOF\n {\n newCompositeNode(grammarAccess.getConstraintsRule()); \n pushFollow(FOLLOW_1);\n iv_ruleConstraints=ruleConstraints();\n\n state._fsp--;\n\n current =iv_ruleConstraints; \n match(input,EOF,FOLLOW_2); \n\n }\n\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n }\n return current;\n }","title":""},{"docid":"754cef1525bf67c774c393e3a7ffd65c","score":"0.6647652","text":"public final void ruleConstraint() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:1292:2: ( ( ( rule__Constraint__Group__0 ) ) )\n // InternalDsl.g:1293:2: ( ( rule__Constraint__Group__0 ) )\n {\n // InternalDsl.g:1293:2: ( ( rule__Constraint__Group__0 ) )\n // InternalDsl.g:1294:3: ( rule__Constraint__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getConstraintAccess().getGroup()); \n }\n // InternalDsl.g:1295:3: ( rule__Constraint__Group__0 )\n // InternalDsl.g:1295:4: rule__Constraint__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__Constraint__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getConstraintAccess().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":"3d69b64d0b21b96cd2844a2fad9f4715","score":"0.6547997","text":"Collection getGroupConstraints(Group group);","title":""},{"docid":"3571d07d96bf2f4f2d60e07dea048957","score":"0.6467809","text":"public final void rule__EConstraints__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:18681:1: ( rule__EConstraints__Group__0__Impl rule__EConstraints__Group__1 )\n // InternalAADMParser.g:18682:2: rule__EConstraints__Group__0__Impl rule__EConstraints__Group__1\n {\n pushFollow(FOLLOW_23);\n rule__EConstraints__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__EConstraints__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":"b593e3ee011c32613407c08b3322f24b","score":"0.635069","text":"public final void rule__ProcessDSL__ConstraintsAssignment_7() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:36508:1: ( ( ruleConstraints ) )\n // InternalDsl.g:36509:2: ( ruleConstraints )\n {\n // InternalDsl.g:36509:2: ( ruleConstraints )\n // InternalDsl.g:36510:3: ruleConstraints\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getProcessDSLAccess().getConstraintsConstraintsParserRuleCall_7_0()); \n }\n pushFollow(FOLLOW_2);\n ruleConstraints();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getProcessDSLAccess().getConstraintsConstraintsParserRuleCall_7_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":"80e1d972327bd9aac3998e3fff3b959b","score":"0.63253754","text":"public final void rule__EDataTypeBody__Group_1_2__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:6710:1: ( ( Constraints ) )\n // InternalAADMParser.g:6711:1: ( Constraints )\n {\n // InternalAADMParser.g:6711:1: ( Constraints )\n // InternalAADMParser.g:6712:2: Constraints\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEDataTypeBodyAccess().getConstraintsKeyword_1_2_0()); \n }\n match(input,Constraints,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEDataTypeBodyAccess().getConstraintsKeyword_1_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":"7cef94534b35ebd70336b2fef472c13d","score":"0.6319731","text":"public final void rule__Constraints__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:12843:1: ( ( () ) )\n // InternalDsl.g:12844:1: ( () )\n {\n // InternalDsl.g:12844:1: ( () )\n // InternalDsl.g:12845:2: ()\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getConstraintsAccess().getConstraintsAction_0()); \n }\n // InternalDsl.g:12846:2: ()\n // InternalDsl.g:12846:3: \n {\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getConstraintsAccess().getConstraintsAction_0()); \n }\n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"817998299177a4dcf9e5a71f7ecbdd0d","score":"0.624787","text":"public final void rule__Constraints__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:12831:1: ( rule__Constraints__Group__0__Impl rule__Constraints__Group__1 )\n // InternalDsl.g:12832:2: rule__Constraints__Group__0__Impl rule__Constraints__Group__1\n {\n pushFollow(FOLLOW_74);\n rule__Constraints__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Constraints__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":"ada473cd20ae58a23ba6c037ef91633e","score":"0.6219251","text":"public final void rule__EPropertyDefinitionBody__Group_5__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:13968:1: ( ( Constraints ) )\n // InternalAADMParser.g:13969:1: ( Constraints )\n {\n // InternalAADMParser.g:13969:1: ( Constraints )\n // InternalAADMParser.g:13970:2: Constraints\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEPropertyDefinitionBodyAccess().getConstraintsKeyword_5_0()); \n }\n match(input,Constraints,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEPropertyDefinitionBodyAccess().getConstraintsKeyword_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":"754cc4d34bb7a7932c7b2e9c6d9e9683","score":"0.6189699","text":"public final void rule__ProcessType__ConstraintsAssignment_3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:36148:1: ( ( ruleConstraints ) )\n // InternalDsl.g:36149:2: ( ruleConstraints )\n {\n // InternalDsl.g:36149:2: ( ruleConstraints )\n // InternalDsl.g:36150:3: ruleConstraints\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getProcessTypeAccess().getConstraintsConstraintsParserRuleCall_3_0()); \n }\n pushFollow(FOLLOW_2);\n ruleConstraints();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getProcessTypeAccess().getConstraintsConstraintsParserRuleCall_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":"9d6f08363480cf77c050de13cfd62c4c","score":"0.61623687","text":"public final void rule__EConstraints__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:18693:1: ( ( () ) )\n // InternalAADMParser.g:18694:1: ( () )\n {\n // InternalAADMParser.g:18694:1: ( () )\n // InternalAADMParser.g:18695:2: ()\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEConstraintsAccess().getEConstraintsAction_0()); \n }\n // InternalAADMParser.g:18696:2: ()\n // InternalAADMParser.g:18696:3: \n {\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEConstraintsAccess().getEConstraintsAction_0()); \n }\n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"783de431e0997469a02e8f5a21bc238e","score":"0.6095859","text":"public final void rule__EConstraints__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:18719:1: ( ( ( rule__EConstraints__ConstraintsAssignment_1 )* ) )\n // InternalAADMParser.g:18720:1: ( ( rule__EConstraints__ConstraintsAssignment_1 )* )\n {\n // InternalAADMParser.g:18720:1: ( ( rule__EConstraints__ConstraintsAssignment_1 )* )\n // InternalAADMParser.g:18721:2: ( rule__EConstraints__ConstraintsAssignment_1 )*\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEConstraintsAccess().getConstraintsAssignment_1()); \n }\n // InternalAADMParser.g:18722:2: ( rule__EConstraints__ConstraintsAssignment_1 )*\n loop51:\n do {\n int alt51=2;\n int LA51_0 = input.LA(1);\n\n if ( (LA51_0==Greater_or_equal||LA51_0==Less_or_equal||LA51_0==Greater_than||LA51_0==Valid_values||(LA51_0>=Max_length && LA51_0<=Min_length)||LA51_0==Less_than||LA51_0==In_range||LA51_0==Length||LA51_0==Equal) ) {\n alt51=1;\n }\n\n\n switch (alt51) {\n \tcase 1 :\n \t // InternalAADMParser.g:18722:3: rule__EConstraints__ConstraintsAssignment_1\n \t {\n \t pushFollow(FOLLOW_58);\n \t rule__EConstraints__ConstraintsAssignment_1();\n\n \t state._fsp--;\n \t if (state.failed) return ;\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop51;\n }\n } while (true);\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEConstraintsAccess().getConstraintsAssignment_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":"59dadd0bb10171082a66a254c47ec3b6","score":"0.60014236","text":"public final void rule__Constraints__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:12858:1: ( rule__Constraints__Group__1__Impl rule__Constraints__Group__2 )\n // InternalDsl.g:12859:2: rule__Constraints__Group__1__Impl rule__Constraints__Group__2\n {\n pushFollow(FOLLOW_11);\n rule__Constraints__Group__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Constraints__Group__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":"00621190b8bb4496a0fb79032becec04","score":"0.6000516","text":"public final void rule__ActivationConstraints__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4042:1: ( ( 'ActivationConstraints' ) )\n // InternalComponentDefinition.g:4043:1: ( 'ActivationConstraints' )\n {\n // InternalComponentDefinition.g:4043:1: ( 'ActivationConstraints' )\n // InternalComponentDefinition.g:4044:2: 'ActivationConstraints'\n {\n before(grammarAccess.getActivationConstraintsAccess().getActivationConstraintsKeyword_1()); \n match(input,36,FOLLOW_2); \n after(grammarAccess.getActivationConstraintsAccess().getActivationConstraintsKeyword_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":"ec0c40e96858475dd1fd1f4ec0b58c95","score":"0.5978505","text":"public final void entryRuleEConstraints() throws RecognitionException {\n try {\n // InternalAADMParser.g:2441:1: ( ruleEConstraints EOF )\n // InternalAADMParser.g:2442:1: ruleEConstraints EOF\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEConstraintsRule()); \n }\n pushFollow(FOLLOW_1);\n ruleEConstraints();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEConstraintsRule()); \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":"ed2305db4d9a1deb737517704e31ef2b","score":"0.5965973","text":"public final void rule__Constraints__ConstraintAssignment_3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:36268:1: ( ( ruleConstraint ) )\n // InternalDsl.g:36269:2: ( ruleConstraint )\n {\n // InternalDsl.g:36269:2: ( ruleConstraint )\n // InternalDsl.g:36270:3: ruleConstraint\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getConstraintsAccess().getConstraintConstraintParserRuleCall_3_0()); \n }\n pushFollow(FOLLOW_2);\n ruleConstraint();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getConstraintsAccess().getConstraintConstraintParserRuleCall_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":"cf826cbbcf5772aaeab9a8f302b6c38d","score":"0.59325784","text":"public final void ruleActivationConstraints() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:682:2: ( ( ( rule__ActivationConstraints__Group__0 ) ) )\n // InternalComponentDefinition.g:683:2: ( ( rule__ActivationConstraints__Group__0 ) )\n {\n // InternalComponentDefinition.g:683:2: ( ( rule__ActivationConstraints__Group__0 ) )\n // InternalComponentDefinition.g:684:3: ( rule__ActivationConstraints__Group__0 )\n {\n before(grammarAccess.getActivationConstraintsAccess().getGroup()); \n // InternalComponentDefinition.g:685:3: ( rule__ActivationConstraints__Group__0 )\n // InternalComponentDefinition.g:685:4: rule__ActivationConstraints__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getActivationConstraintsAccess().getGroup()); \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":"ff1a8986113bebc991c615759e945eb8","score":"0.5888291","text":"public final void rule__EConstraints__ConstraintsAssignment_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:26681:1: ( ( ruleEConstraint ) )\n // InternalAADMParser.g:26682:2: ( ruleEConstraint )\n {\n // InternalAADMParser.g:26682:2: ( ruleEConstraint )\n // InternalAADMParser.g:26683:3: ruleEConstraint\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEConstraintsAccess().getConstraintsEConstraintParserRuleCall_1_0()); \n }\n pushFollow(FOLLOW_2);\n ruleEConstraint();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEConstraintsAccess().getConstraintsEConstraintParserRuleCall_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":"c234b60cfc0852063a16896f7787220a","score":"0.5885003","text":"public final void rule__Constraints__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:12912:1: ( rule__Constraints__Group__3__Impl rule__Constraints__Group__4 )\n // InternalDsl.g:12913:2: rule__Constraints__Group__3__Impl rule__Constraints__Group__4\n {\n pushFollow(FOLLOW_75);\n rule__Constraints__Group__3__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Constraints__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":"eaff04b65f8ffd563c032a194e17b1b7","score":"0.5846587","text":"public final void rule__Method__ConstraintsAssignment_3_1_5() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:36418:1: ( ( ruleConstraints ) )\n // InternalDsl.g:36419:2: ( ruleConstraints )\n {\n // InternalDsl.g:36419:2: ( ruleConstraints )\n // InternalDsl.g:36420:3: ruleConstraints\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getMethodAccess().getConstraintsConstraintsParserRuleCall_3_1_5_0()); \n }\n pushFollow(FOLLOW_2);\n ruleConstraints();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getMethodAccess().getConstraintsConstraintsParserRuleCall_3_1_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":"8b3671bdd21367f5d7e97cf8870baab8","score":"0.5816766","text":"public final void rule__EDataTypeBody__ConstraintsAssignment_1_2_2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:24262:1: ( ( ruleEConstraints ) )\n // InternalAADMParser.g:24263:2: ( ruleEConstraints )\n {\n // InternalAADMParser.g:24263:2: ( ruleEConstraints )\n // InternalAADMParser.g:24264:3: ruleEConstraints\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEDataTypeBodyAccess().getConstraintsEConstraintsParserRuleCall_1_2_2_0()); \n }\n pushFollow(FOLLOW_2);\n ruleEConstraints();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEDataTypeBodyAccess().getConstraintsEConstraintsParserRuleCall_1_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":"05f3fd66cf530e62b4b70fb03eb4e695","score":"0.5776386","text":"public final void rule__EConstraints__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:18708:1: ( rule__EConstraints__Group__1__Impl )\n // InternalAADMParser.g:18709:2: rule__EConstraints__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__EConstraints__Group__1__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":"36daa1caf9e26692c044f5de9b59a214","score":"0.5774943","text":"public final void rule__Attribute__ConstraintsAssignment_4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:36193:1: ( ( ruleConstraints ) )\n // InternalDsl.g:36194:2: ( ruleConstraints )\n {\n // InternalDsl.g:36194:2: ( ruleConstraints )\n // InternalDsl.g:36195:3: ruleConstraints\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getAttributeAccess().getConstraintsConstraintsParserRuleCall_4_0()); \n }\n pushFollow(FOLLOW_2);\n ruleConstraints();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getAttributeAccess().getConstraintsConstraintsParserRuleCall_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":"c11d221b206dd7c99d3b55071dad9a96","score":"0.5766077","text":"public final void rule__EConstraintList__Group_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:11242:1: ( rule__EConstraintList__Group_1__0__Impl rule__EConstraintList__Group_1__1 )\n // InternalAADMParser.g:11243:2: rule__EConstraintList__Group_1__0__Impl rule__EConstraintList__Group_1__1\n {\n pushFollow(FOLLOW_23);\n rule__EConstraintList__Group_1__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__EConstraintList__Group_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":"cc0ce7a3d96afe1f3a53d9490872273e","score":"0.57612354","text":"public void setConstraints(String constraints)\r\n/* 127: */ {\r\n/* 128:136 */ this.constraints = constraints;\r\n/* 129: */ }","title":""},{"docid":"1ffb9e4c37d0e765f1d2586f3ddab1c9","score":"0.5719196","text":"public final void rule__EConstraintList__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:11188:1: ( rule__EConstraintList__Group__0__Impl rule__EConstraintList__Group__1 )\n // InternalAADMParser.g:11189:2: rule__EConstraintList__Group__0__Impl rule__EConstraintList__Group__1\n {\n pushFollow(FOLLOW_19);\n rule__EConstraintList__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__EConstraintList__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":"d4a9e4e533919dacc542089637915bed","score":"0.5678005","text":"public final void ruleEConstraintList() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:1253:2: ( ( ( rule__EConstraintList__Group__0 ) ) )\n // InternalAADMParser.g:1254:2: ( ( rule__EConstraintList__Group__0 ) )\n {\n // InternalAADMParser.g:1254:2: ( ( rule__EConstraintList__Group__0 ) )\n // InternalAADMParser.g:1255:3: ( rule__EConstraintList__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEConstraintListAccess().getGroup()); \n }\n // InternalAADMParser.g:1256:3: ( rule__EConstraintList__Group__0 )\n // InternalAADMParser.g:1256:4: rule__EConstraintList__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__EConstraintList__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEConstraintListAccess().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":"e3c26a7d6219b783927fa637cdf753a4","score":"0.56724703","text":"Constraints getConstraints();","title":""},{"docid":"1d717af13aa7549288a8e900f98e7561","score":"0.5653939","text":"public final void rule__Constraints__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:12885:1: ( rule__Constraints__Group__2__Impl rule__Constraints__Group__3 )\n // InternalDsl.g:12886:2: rule__Constraints__Group__2__Impl rule__Constraints__Group__3\n {\n pushFollow(FOLLOW_75);\n rule__Constraints__Group__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Constraints__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":"d3329c023681d17e1748c5b48049149a","score":"0.5593727","text":"public final void entryRuleConstraint() throws RecognitionException {\n try {\n // InternalDsl.g:1280:1: ( ruleConstraint EOF )\n // InternalDsl.g:1281:1: ruleConstraint EOF\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getConstraintRule()); \n }\n pushFollow(FOLLOW_1);\n ruleConstraint();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getConstraintRule()); \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":"707066c7f507b9d51cf3051292007236","score":"0.5437732","text":"public final void rule__EConstraintList__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:11226:1: ( ( ( rule__EConstraintList__Group_1__0 )* ) )\n // InternalAADMParser.g:11227:1: ( ( rule__EConstraintList__Group_1__0 )* )\n {\n // InternalAADMParser.g:11227:1: ( ( rule__EConstraintList__Group_1__0 )* )\n // InternalAADMParser.g:11228:2: ( rule__EConstraintList__Group_1__0 )*\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEConstraintListAccess().getGroup_1()); \n }\n // InternalAADMParser.g:11229:2: ( rule__EConstraintList__Group_1__0 )*\n loop31:\n do {\n int alt31=2;\n int LA31_0 = input.LA(1);\n\n if ( (LA31_0==Comma) ) {\n alt31=1;\n }\n\n\n switch (alt31) {\n \tcase 1 :\n \t // InternalAADMParser.g:11229:3: rule__EConstraintList__Group_1__0\n \t {\n \t pushFollow(FOLLOW_20);\n \t rule__EConstraintList__Group_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 loop31;\n }\n } while (true);\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEConstraintListAccess().getGroup_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":"fbb27cbf667a9a8c9ca6a33a0cbdfe63","score":"0.5420496","text":"public final void rule__EAssertionDefinition__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:11146:1: ( ( ( rule__EAssertionDefinition__ConstraintsAssignment_3 ) ) )\n // InternalAADMParser.g:11147:1: ( ( rule__EAssertionDefinition__ConstraintsAssignment_3 ) )\n {\n // InternalAADMParser.g:11147:1: ( ( rule__EAssertionDefinition__ConstraintsAssignment_3 ) )\n // InternalAADMParser.g:11148:2: ( rule__EAssertionDefinition__ConstraintsAssignment_3 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEAssertionDefinitionAccess().getConstraintsAssignment_3()); \n }\n // InternalAADMParser.g:11149:2: ( rule__EAssertionDefinition__ConstraintsAssignment_3 )\n // InternalAADMParser.g:11149:3: rule__EAssertionDefinition__ConstraintsAssignment_3\n {\n pushFollow(FOLLOW_2);\n rule__EAssertionDefinition__ConstraintsAssignment_3();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEAssertionDefinitionAccess().getConstraintsAssignment_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":"fd5d66ca5e55d2b9997d94f8131f1fe6","score":"0.5406017","text":"public final void rule__EAssertionDefinition__ConstraintsAssignment_3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:25087:1: ( ( ruleEConstraintList ) )\n // InternalAADMParser.g:25088:2: ( ruleEConstraintList )\n {\n // InternalAADMParser.g:25088:2: ( ruleEConstraintList )\n // InternalAADMParser.g:25089:3: ruleEConstraintList\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEAssertionDefinitionAccess().getConstraintsEConstraintListParserRuleCall_3_0()); \n }\n pushFollow(FOLLOW_2);\n ruleEConstraintList();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEAssertionDefinitionAccess().getConstraintsEConstraintListParserRuleCall_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":"36d97aa98c8a601cf5a6b36261490d6d","score":"0.53779304","text":"public final EObject entryRuleConstraint() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleConstraint = null;\n\n\n try {\n // InternalAnn.g:513:51: (iv_ruleConstraint= ruleConstraint EOF )\n // InternalAnn.g:514:2: iv_ruleConstraint= ruleConstraint EOF\n {\n newCompositeNode(grammarAccess.getConstraintRule()); \n pushFollow(FOLLOW_1);\n iv_ruleConstraint=ruleConstraint();\n\n state._fsp--;\n\n current =iv_ruleConstraint; \n match(input,EOF,FOLLOW_2); \n\n }\n\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n }\n return current;\n }","title":""},{"docid":"3a6aba4223043057659c76363ad0ae64","score":"0.53411794","text":"public final void rule__ActivationConstraints__Group_7_0__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4300:1: ( rule__ActivationConstraints__Group_7_0__2__Impl rule__ActivationConstraints__Group_7_0__3 )\n // InternalComponentDefinition.g:4301:2: rule__ActivationConstraints__Group_7_0__2__Impl rule__ActivationConstraints__Group_7_0__3\n {\n pushFollow(FOLLOW_32);\n rule__ActivationConstraints__Group_7_0__2__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group_7_0__3();\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":"ffbda020cc533f85ea82f8356483635c","score":"0.5338653","text":"public final void rule__ActivationConstraints__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4003:1: ( rule__ActivationConstraints__Group__0__Impl rule__ActivationConstraints__Group__1 )\n // InternalComponentDefinition.g:4004:2: rule__ActivationConstraints__Group__0__Impl rule__ActivationConstraints__Group__1\n {\n pushFollow(FOLLOW_26);\n rule__ActivationConstraints__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group__1();\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":"d580531610a6dd191393368fdea033e1","score":"0.532437","text":"public final void rule__ActivationConstraints__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4084:1: ( rule__ActivationConstraints__Group__3__Impl rule__ActivationConstraints__Group__4 )\n // InternalComponentDefinition.g:4085:2: rule__ActivationConstraints__Group__3__Impl rule__ActivationConstraints__Group__4\n {\n pushFollow(FOLLOW_28);\n rule__ActivationConstraints__Group__3__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group__4();\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":"3e6f6dacbdbb29fbfd85b83e1af6f306","score":"0.5309632","text":"public final void rule__Constraints__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:12924:1: ( ( ( rule__Constraints__ConstraintAssignment_3 )* ) )\n // InternalDsl.g:12925:1: ( ( rule__Constraints__ConstraintAssignment_3 )* )\n {\n // InternalDsl.g:12925:1: ( ( rule__Constraints__ConstraintAssignment_3 )* )\n // InternalDsl.g:12926:2: ( rule__Constraints__ConstraintAssignment_3 )*\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getConstraintsAccess().getConstraintAssignment_3()); \n }\n // InternalDsl.g:12927:2: ( rule__Constraints__ConstraintAssignment_3 )*\n loop94:\n do {\n int alt94=2;\n int LA94_0 = input.LA(1);\n\n if ( ((LA94_0>=RULE_ID && LA94_0<=RULE_CHAR_SEQUENCE)||LA94_0==RULE_STRING||(LA94_0>=13 && LA94_0<=14)||LA94_0==61||(LA94_0>=166 && LA94_0<=168)||LA94_0==172||LA94_0==179||(LA94_0>=198 && LA94_0<=208)) ) {\n alt94=1;\n }\n\n\n switch (alt94) {\n \tcase 1 :\n \t // InternalDsl.g:12927:3: rule__Constraints__ConstraintAssignment_3\n \t {\n \t pushFollow(FOLLOW_76);\n \t rule__Constraints__ConstraintAssignment_3();\n\n \t state._fsp--;\n \t if (state.failed) return ;\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop94;\n }\n } while (true);\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getConstraintsAccess().getConstraintAssignment_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":"42fe4d83ab858113ecb69fe12a71a13e","score":"0.52917856","text":"public final void rule__ActivationConstraints__Group_7_1__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4435:1: ( rule__ActivationConstraints__Group_7_1__2__Impl rule__ActivationConstraints__Group_7_1__3 )\n // InternalComponentDefinition.g:4436:2: rule__ActivationConstraints__Group_7_1__2__Impl rule__ActivationConstraints__Group_7_1__3\n {\n pushFollow(FOLLOW_32);\n rule__ActivationConstraints__Group_7_1__2__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group_7_1__3();\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":"8f38363470fcdda659257e9454a1da06","score":"0.52775276","text":"public final void rule__ActivationConstraints__Group_7_0__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4327:1: ( rule__ActivationConstraints__Group_7_0__3__Impl rule__ActivationConstraints__Group_7_0__4 )\n // InternalComponentDefinition.g:4328:2: rule__ActivationConstraints__Group_7_0__3__Impl rule__ActivationConstraints__Group_7_0__4\n {\n pushFollow(FOLLOW_6);\n rule__ActivationConstraints__Group_7_0__3__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group_7_0__4();\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":"aa185afe0bfaaeeb619e9ab88191031f","score":"0.5266885","text":"public final void rule__ActivationConstraints__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4057:1: ( rule__ActivationConstraints__Group__2__Impl rule__ActivationConstraints__Group__3 )\n // InternalComponentDefinition.g:4058:2: rule__ActivationConstraints__Group__2__Impl rule__ActivationConstraints__Group__3\n {\n pushFollow(FOLLOW_27);\n rule__ActivationConstraints__Group__2__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group__3();\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":"c4222045e2dd22b50b59c02b14c16225","score":"0.52635056","text":"public final void rule__ActivationConstraints__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4015:1: ( ( () ) )\n // InternalComponentDefinition.g:4016:1: ( () )\n {\n // InternalComponentDefinition.g:4016:1: ( () )\n // InternalComponentDefinition.g:4017:2: ()\n {\n before(grammarAccess.getActivationConstraintsAccess().getActivationConstraintsAction_0()); \n // InternalComponentDefinition.g:4018:2: ()\n // InternalComponentDefinition.g:4018:3: \n {\n }\n\n after(grammarAccess.getActivationConstraintsAccess().getActivationConstraintsAction_0()); \n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"7aa3da0d3e1ff97eeff14e6cbe486e19","score":"0.5261979","text":"public final void rule__ActivationConstraints__Group_7_1__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4462:1: ( rule__ActivationConstraints__Group_7_1__3__Impl rule__ActivationConstraints__Group_7_1__4 )\n // InternalComponentDefinition.g:4463:2: rule__ActivationConstraints__Group_7_1__3__Impl rule__ActivationConstraints__Group_7_1__4\n {\n pushFollow(FOLLOW_6);\n rule__ActivationConstraints__Group_7_1__3__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group_7_1__4();\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":"181c590e82c0cb95b40cf064421794c0","score":"0.5251884","text":"public final void rule__EPropertyDefinitionBody__ConstraintsAssignment_5_2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:25672:1: ( ( ruleEConstraints ) )\n // InternalAADMParser.g:25673:2: ( ruleEConstraints )\n {\n // InternalAADMParser.g:25673:2: ( ruleEConstraints )\n // InternalAADMParser.g:25674:3: ruleEConstraints\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEPropertyDefinitionBodyAccess().getConstraintsEConstraintsParserRuleCall_5_2_0()); \n }\n pushFollow(FOLLOW_2);\n ruleEConstraints();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEPropertyDefinitionBodyAccess().getConstraintsEConstraintsParserRuleCall_5_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":"f2be91e8443c8c75b13f53d40d44fae9","score":"0.5249539","text":"public final void rule__EConstraintList__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:11215:1: ( rule__EConstraintList__Group__1__Impl )\n // InternalAADMParser.g:11216:2: rule__EConstraintList__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__EConstraintList__Group__1__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":"87d2a48d757828a478edcabcac05432f","score":"0.52429813","text":"public final void rule__Constraint__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:12966:1: ( rule__Constraint__Group__0__Impl rule__Constraint__Group__1 )\n // InternalDsl.g:12967:2: rule__Constraint__Group__0__Impl rule__Constraint__Group__1\n {\n pushFollow(FOLLOW_20);\n rule__Constraint__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Constraint__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":"028b9d9796e325911bd60ae9292b1212","score":"0.51914716","text":"public final void rule__EConstraintList__Group_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:11269:1: ( rule__EConstraintList__Group_1__1__Impl )\n // InternalAADMParser.g:11270:2: rule__EConstraintList__Group_1__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__EConstraintList__Group_1__1__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":"3710959d6fdbd4c9a681fb3b839d7534","score":"0.5173552","text":"public final void rule__ActivationConstraints__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4030:1: ( rule__ActivationConstraints__Group__1__Impl rule__ActivationConstraints__Group__2 )\n // InternalComponentDefinition.g:4031:2: rule__ActivationConstraints__Group__1__Impl rule__ActivationConstraints__Group__2\n {\n pushFollow(FOLLOW_12);\n rule__ActivationConstraints__Group__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group__2();\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":"0cd7f3edd3e41901aae386c357100581","score":"0.5166273","text":"InputConstraintPackage getInputConstraintPackage();","title":""},{"docid":"ebe6ad370c9731478b4ad6a26151083d","score":"0.5145231","text":"public final void rule__ActivationConstraints__Group_7_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4273:1: ( rule__ActivationConstraints__Group_7_0__1__Impl rule__ActivationConstraints__Group_7_0__2 )\n // InternalComponentDefinition.g:4274:2: rule__ActivationConstraints__Group_7_0__1__Impl rule__ActivationConstraints__Group_7_0__2\n {\n pushFollow(FOLLOW_31);\n rule__ActivationConstraints__Group_7_0__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group_7_0__2();\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":"6e406df1bae002d0f8a8b6d21a86c086","score":"0.5143974","text":"public final void rule__Constraints__Group__4__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:12950:1: ( ( '}' ) )\n // InternalDsl.g:12951:1: ( '}' )\n {\n // InternalDsl.g:12951:1: ( '}' )\n // InternalDsl.g:12952:2: '}'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getConstraintsAccess().getRightCurlyBracketKeyword_4()); \n }\n match(input,68,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getConstraintsAccess().getRightCurlyBracketKeyword_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":"6ac126e1286ee8a8fc356fb6a29f81d2","score":"0.51236427","text":"public final void rule__ActivationConstraints__Group_7_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4246:1: ( rule__ActivationConstraints__Group_7_0__0__Impl rule__ActivationConstraints__Group_7_0__1 )\n // InternalComponentDefinition.g:4247:2: rule__ActivationConstraints__Group_7_0__0__Impl rule__ActivationConstraints__Group_7_0__1\n {\n pushFollow(FOLLOW_28);\n rule__ActivationConstraints__Group_7_0__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group_7_0__1();\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":"6bde04361467db55fd31a2ef803153e9","score":"0.5122928","text":"public final void rule__ActivationConstraints__Group_7_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4381:1: ( rule__ActivationConstraints__Group_7_1__0__Impl rule__ActivationConstraints__Group_7_1__1 )\n // InternalComponentDefinition.g:4382:2: rule__ActivationConstraints__Group_7_1__0__Impl rule__ActivationConstraints__Group_7_1__1\n {\n pushFollow(FOLLOW_28);\n rule__ActivationConstraints__Group_7_1__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group_7_1__1();\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":"c3701550bacd062a1f875dfe671a6a2a","score":"0.5087389","text":"public final void rule__ActivationConstraints__Group__7() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4192:1: ( rule__ActivationConstraints__Group__7__Impl rule__ActivationConstraints__Group__8 )\n // InternalComponentDefinition.g:4193:2: rule__ActivationConstraints__Group__7__Impl rule__ActivationConstraints__Group__8\n {\n pushFollow(FOLLOW_25);\n rule__ActivationConstraints__Group__7__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group__8();\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":"67183399211f0ddb7ada23f301018886","score":"0.50678164","text":"public LogicCriterion constraints();","title":""},{"docid":"bfd5e5b1d5e035d402bca3b91334fc8f","score":"0.50468963","text":"public final void rule__ActivationConstraints__Group_7_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4408:1: ( rule__ActivationConstraints__Group_7_1__1__Impl rule__ActivationConstraints__Group_7_1__2 )\n // InternalComponentDefinition.g:4409:2: rule__ActivationConstraints__Group_7_1__1__Impl rule__ActivationConstraints__Group_7_1__2\n {\n pushFollow(FOLLOW_31);\n rule__ActivationConstraints__Group_7_1__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group_7_1__2();\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":"b8e185b455ecb9a490a2071122f42257","score":"0.5022453","text":"public final EObject ruleConstraints() throws RecognitionException {\n EObject current = null;\n\n Token otherlv_0=null;\n Token lv_minHeadway_1_0=null;\n Token otherlv_2=null;\n Token otherlv_3=null;\n Token otherlv_4=null;\n Token lv_maxHeadway_5_0=null;\n\n\n \tenterRule();\n\n try {\n // InternalPlatoon.g:602:2: ( (otherlv_0= 'constraints:' ( (lv_minHeadway_1_0= RULE_INT ) ) otherlv_2= '<=' otherlv_3= 'headway' otherlv_4= '<=' ( (lv_maxHeadway_5_0= RULE_INT ) ) ) )\n // InternalPlatoon.g:603:2: (otherlv_0= 'constraints:' ( (lv_minHeadway_1_0= RULE_INT ) ) otherlv_2= '<=' otherlv_3= 'headway' otherlv_4= '<=' ( (lv_maxHeadway_5_0= RULE_INT ) ) )\n {\n // InternalPlatoon.g:603:2: (otherlv_0= 'constraints:' ( (lv_minHeadway_1_0= RULE_INT ) ) otherlv_2= '<=' otherlv_3= 'headway' otherlv_4= '<=' ( (lv_maxHeadway_5_0= RULE_INT ) ) )\n // InternalPlatoon.g:604:3: otherlv_0= 'constraints:' ( (lv_minHeadway_1_0= RULE_INT ) ) otherlv_2= '<=' otherlv_3= 'headway' otherlv_4= '<=' ( (lv_maxHeadway_5_0= RULE_INT ) )\n {\n otherlv_0=(Token)match(input,23,FOLLOW_14); \n\n \t\t\tnewLeafNode(otherlv_0, grammarAccess.getConstraintsAccess().getConstraintsKeyword_0());\n \t\t\n // InternalPlatoon.g:608:3: ( (lv_minHeadway_1_0= RULE_INT ) )\n // InternalPlatoon.g:609:4: (lv_minHeadway_1_0= RULE_INT )\n {\n // InternalPlatoon.g:609:4: (lv_minHeadway_1_0= RULE_INT )\n // InternalPlatoon.g:610:5: lv_minHeadway_1_0= RULE_INT\n {\n lv_minHeadway_1_0=(Token)match(input,RULE_INT,FOLLOW_16); \n\n \t\t\t\t\tnewLeafNode(lv_minHeadway_1_0, grammarAccess.getConstraintsAccess().getMinHeadwayINTTerminalRuleCall_1_0());\n \t\t\t\t\n\n \t\t\t\t\tif (current==null) {\n \t\t\t\t\t\tcurrent = createModelElement(grammarAccess.getConstraintsRule());\n \t\t\t\t\t}\n \t\t\t\t\tsetWithLastConsumed(\n \t\t\t\t\t\tcurrent,\n \t\t\t\t\t\t\"minHeadway\",\n \t\t\t\t\t\tlv_minHeadway_1_0,\n \t\t\t\t\t\t\"org.eclipse.xtext.common.Terminals.INT\");\n \t\t\t\t\n\n }\n\n\n }\n\n otherlv_2=(Token)match(input,24,FOLLOW_17); \n\n \t\t\tnewLeafNode(otherlv_2, grammarAccess.getConstraintsAccess().getLessThanSignEqualsSignKeyword_2());\n \t\t\n otherlv_3=(Token)match(input,25,FOLLOW_16); \n\n \t\t\tnewLeafNode(otherlv_3, grammarAccess.getConstraintsAccess().getHeadwayKeyword_3());\n \t\t\n otherlv_4=(Token)match(input,24,FOLLOW_14); \n\n \t\t\tnewLeafNode(otherlv_4, grammarAccess.getConstraintsAccess().getLessThanSignEqualsSignKeyword_4());\n \t\t\n // InternalPlatoon.g:638:3: ( (lv_maxHeadway_5_0= RULE_INT ) )\n // InternalPlatoon.g:639:4: (lv_maxHeadway_5_0= RULE_INT )\n {\n // InternalPlatoon.g:639:4: (lv_maxHeadway_5_0= RULE_INT )\n // InternalPlatoon.g:640:5: lv_maxHeadway_5_0= RULE_INT\n {\n lv_maxHeadway_5_0=(Token)match(input,RULE_INT,FOLLOW_2); \n\n \t\t\t\t\tnewLeafNode(lv_maxHeadway_5_0, grammarAccess.getConstraintsAccess().getMaxHeadwayINTTerminalRuleCall_5_0());\n \t\t\t\t\n\n \t\t\t\t\tif (current==null) {\n \t\t\t\t\t\tcurrent = createModelElement(grammarAccess.getConstraintsRule());\n \t\t\t\t\t}\n \t\t\t\t\tsetWithLastConsumed(\n \t\t\t\t\t\tcurrent,\n \t\t\t\t\t\t\"maxHeadway\",\n \t\t\t\t\t\tlv_maxHeadway_5_0,\n \t\t\t\t\t\t\"org.eclipse.xtext.common.Terminals.INT\");\n \t\t\t\t\n\n }\n\n\n }\n\n\n }\n\n\n }\n\n\n \tleaveRule();\n\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n }\n return current;\n }","title":""},{"docid":"beb8b414735d557d994d7271a34a4bfb","score":"0.5006359","text":"public final void entryRuleActivationConstraints() throws RecognitionException {\n try {\n // InternalComponentDefinition.g:670:1: ( ruleActivationConstraints EOF )\n // InternalComponentDefinition.g:671:1: ruleActivationConstraints EOF\n {\n before(grammarAccess.getActivationConstraintsRule()); \n pushFollow(FOLLOW_1);\n ruleActivationConstraints();\n\n state._fsp--;\n\n after(grammarAccess.getActivationConstraintsRule()); \n match(input,EOF,FOLLOW_2); \n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }","title":""},{"docid":"4d67f0636f97ce22ae098d6f5346d7b5","score":"0.50063056","text":"public interface Constraint extends NamedElement, AbstractConstraint {\n}","title":""},{"docid":"7f109eb40bada814396350187876e76a","score":"0.50007766","text":"public final void rule__ERequirementDefinition__Group__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:18288:1: ( ( RULE_BEGIN ) )\n // InternalAADMParser.g:18289:1: ( RULE_BEGIN )\n {\n // InternalAADMParser.g:18289:1: ( RULE_BEGIN )\n // InternalAADMParser.g:18290:2: RULE_BEGIN\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getERequirementDefinitionAccess().getBEGINTerminalRuleCall_2()); \n }\n match(input,RULE_BEGIN,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getERequirementDefinitionAccess().getBEGINTerminalRuleCall_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":"6fd83716444f0dd2274f1122ba8b1f88","score":"0.49891868","text":"public final void rule__Constraints__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:12939:1: ( rule__Constraints__Group__4__Impl )\n // InternalDsl.g:12940:2: rule__Constraints__Group__4__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Constraints__Group__4__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":"98f6b6fa950f1bb843153ec1979e9a19","score":"0.49882764","text":"public final void rule__EDataTypeBody__Group_1_2__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:6764:1: ( ( ( rule__EDataTypeBody__ConstraintsAssignment_1_2_2 ) ) )\n // InternalAADMParser.g:6765:1: ( ( rule__EDataTypeBody__ConstraintsAssignment_1_2_2 ) )\n {\n // InternalAADMParser.g:6765:1: ( ( rule__EDataTypeBody__ConstraintsAssignment_1_2_2 ) )\n // InternalAADMParser.g:6766:2: ( rule__EDataTypeBody__ConstraintsAssignment_1_2_2 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEDataTypeBodyAccess().getConstraintsAssignment_1_2_2()); \n }\n // InternalAADMParser.g:6767:2: ( rule__EDataTypeBody__ConstraintsAssignment_1_2_2 )\n // InternalAADMParser.g:6767:3: rule__EDataTypeBody__ConstraintsAssignment_1_2_2\n {\n pushFollow(FOLLOW_2);\n rule__EDataTypeBody__ConstraintsAssignment_1_2_2();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEDataTypeBodyAccess().getConstraintsAssignment_1_2_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":"1908cba931fd1ff2acc33136f4d4aa34","score":"0.49834052","text":"@Test\n\tpublic void testConstraints() {\n\t}","title":""},{"docid":"f1091c1ec3c421a40801b24f84a8e3b7","score":"0.49824795","text":"public final void rule__ActivationConstraints__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4111:1: ( rule__ActivationConstraints__Group__4__Impl rule__ActivationConstraints__Group__5 )\n // InternalComponentDefinition.g:4112:2: rule__ActivationConstraints__Group__4__Impl rule__ActivationConstraints__Group__5\n {\n pushFollow(FOLLOW_29);\n rule__ActivationConstraints__Group__4__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group__5();\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":"9d7cd6822b39a172c0a504867fe77feb","score":"0.4979183","text":"public final void rule__EExtendedTriggerCondition__Group_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:10093:1: ( ( Constraint ) )\n // InternalAADMParser.g:10094:1: ( Constraint )\n {\n // InternalAADMParser.g:10094:1: ( Constraint )\n // InternalAADMParser.g:10095:2: Constraint\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEExtendedTriggerConditionAccess().getConstraintKeyword_0_0()); \n }\n match(input,Constraint,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEExtendedTriggerConditionAccess().getConstraintKeyword_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":"493a26c7ad879e2fa1381dcf52b0c0be","score":"0.49787426","text":"private Constraints() {\r\n\r\n }","title":""},{"docid":"167757ba599c0490b57bdd4d33b03d9c","score":"0.49399474","text":"DependencyConstraintSet getDependencyConstraints();","title":""},{"docid":"48f962d313dc08c798773f281a52cf2d","score":"0.4938887","text":"public interface Constraint {\n\n /**\n * Returns an array of parameter indizes representing the relevant parameters and their order for\n * this constraint. When calling {@link #confirmsWith(Object[])} the Object[] has to be ordered by\n * this array.\n * \n * @return An array representing the order and index of the involved parameters for this\n * constraint.\n */\n public int[] getInvolvedParameters();\n\n /**\n * Checks whether or not a specific input combination confirms with this constraint.\n * \n * @param inputCombination an Object[] representing the input combination. Has to be ordered in\n * the way defined by {@link #getInvolvedParameters()}.\n * @return whether or not the combination confirms with this constraint.\n */\n public abstract boolean confirmsWith(Object[] inputCombination);\n}","title":""},{"docid":"ea3fe5a84458af44fc0280b8691a10f4","score":"0.4933924","text":"private String formatConstraints(String constraints, CustomRules rule)\n {\n constraints=replaceValueByNumber(constraints,Const.VALUE_Value_1Min,rule.getVal_1_min()+\"\");\n constraints=replaceValueByNumber(constraints,Const.VALUE_Value_1Max,rule.getVal_1_max()+\"\");\n constraints=replaceValueByNumber(constraints,Const.VALUE_Value_2Min,rule.getVal_2_min()+\"\");\n constraints=replaceValueByNumber(constraints,Const.VALUE_Value_2Max,rule.getVal_2_max()+\"\");\n return constraints;\n }","title":""},{"docid":"1001f11170b39222f575d7fd4ec7aeee","score":"0.49278623","text":"@Override\r\n public void visitConstraint(Constraint constraint) {\n }","title":""},{"docid":"4468e3e9660249c525fa8399963b203d","score":"0.49244905","text":"public final void entryRuleEConstraint() throws RecognitionException {\n try {\n // InternalAADMParser.g:2466:1: ( ruleEConstraint EOF )\n // InternalAADMParser.g:2467:1: ruleEConstraint EOF\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEConstraintRule()); \n }\n pushFollow(FOLLOW_1);\n ruleEConstraint();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEConstraintRule()); \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":"66883d32bc1b85e17aac9d00711158cb","score":"0.49168438","text":"@Override\n\tprotected Constraint[] createInternalConstraints(Variable[] variables) {\n\t\treturn null;\n\t}","title":""},{"docid":"66883d32bc1b85e17aac9d00711158cb","score":"0.49168438","text":"@Override\n\tprotected Constraint[] createInternalConstraints(Variable[] variables) {\n\t\treturn null;\n\t}","title":""},{"docid":"8e464cdf391af1fcb0ebc3518105a99e","score":"0.4902582","text":"public final void rule__ERequirements__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:18168:1: ( rule__ERequirements__Group__0__Impl rule__ERequirements__Group__1 )\n // InternalAADMParser.g:18169:2: rule__ERequirements__Group__0__Impl rule__ERequirements__Group__1\n {\n pushFollow(FOLLOW_4);\n rule__ERequirements__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__ERequirements__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":"a05d4aca0f304a85a8c27b73e7c63ba4","score":"0.49008143","text":"public final void ruleERequirements() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:2378:2: ( ( ( rule__ERequirements__Group__0 ) ) )\n // InternalAADMParser.g:2379:2: ( ( rule__ERequirements__Group__0 ) )\n {\n // InternalAADMParser.g:2379:2: ( ( rule__ERequirements__Group__0 ) )\n // InternalAADMParser.g:2380:3: ( rule__ERequirements__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getERequirementsAccess().getGroup()); \n }\n // InternalAADMParser.g:2381:3: ( rule__ERequirements__Group__0 )\n // InternalAADMParser.g:2381:4: rule__ERequirements__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__ERequirements__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getERequirementsAccess().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":"e6ad02cb904200cf98feed7f88c882ef","score":"0.48962697","text":"public final void entryRuleEConstraintList() throws RecognitionException {\n try {\n // InternalAADMParser.g:1241:1: ( ruleEConstraintList EOF )\n // InternalAADMParser.g:1242:1: ruleEConstraintList EOF\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEConstraintListRule()); \n }\n pushFollow(FOLLOW_1);\n ruleEConstraintList();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEConstraintListRule()); \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":"c44a0856dd970f28669f8e678c079404","score":"0.48822698","text":"@Override\n public void visitConstraint(Constraint constraint) {\n }","title":""},{"docid":"e3831d319c5f8bb64a3a93d43598edc2","score":"0.4878765","text":"DependencyConstraintSet getAllDependencyConstraints();","title":""},{"docid":"9332eeb2081e12a98267d2d656fe1ae5","score":"0.4878008","text":"public void addConstraint(Constraint c) {\n\t\tremoveConstraint(c.getName());\n\t\tconstraints.add(c);\n\t\tconstraint_lookup.put(c.getName(), c);\n\t}","title":""},{"docid":"4b4047baaf6c3162bb27e282bc38e804","score":"0.48761386","text":"public final void rule__EConstraintList__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:11200:1: ( ( ( rule__EConstraintList__ListAssignment_0 ) ) )\n // InternalAADMParser.g:11201:1: ( ( rule__EConstraintList__ListAssignment_0 ) )\n {\n // InternalAADMParser.g:11201:1: ( ( rule__EConstraintList__ListAssignment_0 ) )\n // InternalAADMParser.g:11202:2: ( rule__EConstraintList__ListAssignment_0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEConstraintListAccess().getListAssignment_0()); \n }\n // InternalAADMParser.g:11203:2: ( rule__EConstraintList__ListAssignment_0 )\n // InternalAADMParser.g:11203:3: rule__EConstraintList__ListAssignment_0\n {\n pushFollow(FOLLOW_2);\n rule__EConstraintList__ListAssignment_0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEConstraintListAccess().getListAssignment_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":"bf093a85452fc84d6ede0613f5e73e02","score":"0.48694715","text":"public final void rule__ERequirements__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:18180:1: ( ( () ) )\n // InternalAADMParser.g:18181:1: ( () )\n {\n // InternalAADMParser.g:18181:1: ( () )\n // InternalAADMParser.g:18182:2: ()\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getERequirementsAccess().getERequirementsAction_0()); \n }\n // InternalAADMParser.g:18183:2: ()\n // InternalAADMParser.g:18183:3: \n {\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getERequirementsAccess().getERequirementsAction_0()); \n }\n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }","title":""},{"docid":"dac835b663183427e04bb1d5b1982476","score":"0.48651877","text":"Literal getConstraint();","title":""},{"docid":"7301f2daf6b1473a45dbf25aa0bb3228","score":"0.4860158","text":"public final void rule__ERequirementAssignment__Group__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:5002:1: ( ( RULE_BEGIN ) )\n // InternalAADMParser.g:5003:1: ( RULE_BEGIN )\n {\n // InternalAADMParser.g:5003:1: ( RULE_BEGIN )\n // InternalAADMParser.g:5004:2: RULE_BEGIN\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getERequirementAssignmentAccess().getBEGINTerminalRuleCall_2()); \n }\n match(input,RULE_BEGIN,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getERequirementAssignmentAccess().getBEGINTerminalRuleCall_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":"3f9afb12176be3d172451c1f8cfe06dc","score":"0.48541114","text":"public final void rule__ActivationConstraints__Group__8__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4230:1: ( ( '}' ) )\n // InternalComponentDefinition.g:4231:1: ( '}' )\n {\n // InternalComponentDefinition.g:4231:1: ( '}' )\n // InternalComponentDefinition.g:4232:2: '}'\n {\n before(grammarAccess.getActivationConstraintsAccess().getRightCurlyBracketKeyword_8()); \n match(input,19,FOLLOW_2); \n after(grammarAccess.getActivationConstraintsAccess().getRightCurlyBracketKeyword_8()); \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":"922ac6b4ae83fc3ffb8d5d1d6292b1e4","score":"0.48405978","text":"public final void ruleEConstraint() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:2478:2: ( ( ( rule__EConstraint__Alternatives ) ) )\n // InternalAADMParser.g:2479:2: ( ( rule__EConstraint__Alternatives ) )\n {\n // InternalAADMParser.g:2479:2: ( ( rule__EConstraint__Alternatives ) )\n // InternalAADMParser.g:2480:3: ( rule__EConstraint__Alternatives )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEConstraintAccess().getAlternatives()); \n }\n // InternalAADMParser.g:2481:3: ( rule__EConstraint__Alternatives )\n // InternalAADMParser.g:2481:4: rule__EConstraint__Alternatives\n {\n pushFollow(FOLLOW_2);\n rule__EConstraint__Alternatives();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEConstraintAccess().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":"cbe9ec7564ced6116b140ed4f7909644","score":"0.48351645","text":"public final void rule__Constraint__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:13004:1: ( ( ';' ) )\n // InternalDsl.g:13005:1: ( ';' )\n {\n // InternalDsl.g:13005:1: ( ';' )\n // InternalDsl.g:13006:2: ';'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getConstraintAccess().getSemicolonKeyword_1()); \n }\n match(input,64,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getConstraintAccess().getSemicolonKeyword_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":"baee5494e9a82a5b7d4b674c8160923d","score":"0.48303503","text":"public int countConstraints() {\n\t\treturn constraints.size();\n\t}","title":""},{"docid":"d4e5f733c2df03b7a662d99061deb274","score":"0.48280022","text":"public final void rule__ActivationConstraints__Group__6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4165:1: ( rule__ActivationConstraints__Group__6__Impl rule__ActivationConstraints__Group__7 )\n // InternalComponentDefinition.g:4166:2: rule__ActivationConstraints__Group__6__Impl rule__ActivationConstraints__Group__7\n {\n pushFollow(FOLLOW_30);\n rule__ActivationConstraints__Group__6__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group__7();\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":"94540635295ee9a73523ad2b176655c2","score":"0.48176447","text":"public final void rule__ProcessType__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:12195:1: ( ( ( rule__ProcessType__ConstraintsAssignment_3 )? ) )\n // InternalDsl.g:12196:1: ( ( rule__ProcessType__ConstraintsAssignment_3 )? )\n {\n // InternalDsl.g:12196:1: ( ( rule__ProcessType__ConstraintsAssignment_3 )? )\n // InternalDsl.g:12197:2: ( rule__ProcessType__ConstraintsAssignment_3 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getProcessTypeAccess().getConstraintsAssignment_3()); \n }\n // InternalDsl.g:12198:2: ( rule__ProcessType__ConstraintsAssignment_3 )?\n int alt89=2;\n int LA89_0 = input.LA(1);\n\n if ( (LA89_0==99) ) {\n alt89=1;\n }\n switch (alt89) {\n case 1 :\n // InternalDsl.g:12198:3: rule__ProcessType__ConstraintsAssignment_3\n {\n pushFollow(FOLLOW_2);\n rule__ProcessType__ConstraintsAssignment_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.getProcessTypeAccess().getConstraintsAssignment_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":"c798fa0dcd181f70cb2a96ccf5073e30","score":"0.48138738","text":"public final void rule__ActivationConstraints__Group__8() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4219:1: ( rule__ActivationConstraints__Group__8__Impl )\n // InternalComponentDefinition.g:4220:2: rule__ActivationConstraints__Group__8__Impl\n {\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group__8__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":"f2761e73e6a7ea80389086dd843d4fa0","score":"0.4786531","text":"public final void rule__EConstraintList__ListAssignment_1_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:25117:1: ( ( ruleEConstraint ) )\n // InternalAADMParser.g:25118:2: ( ruleEConstraint )\n {\n // InternalAADMParser.g:25118:2: ( ruleEConstraint )\n // InternalAADMParser.g:25119:3: ruleEConstraint\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEConstraintListAccess().getListEConstraintParserRuleCall_1_1_0()); \n }\n pushFollow(FOLLOW_2);\n ruleEConstraint();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEConstraintListAccess().getListEConstraintParserRuleCall_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":"5e6e3d3819bf5cee108cd9b571d12f29","score":"0.47860774","text":"public void setConstraints(XModel constraints) {}","title":""},{"docid":"8e2cedbaa9c654a077ecaeb8ad891849","score":"0.47808588","text":"public final void rule__ActivationConstraints__Group__5() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4138:1: ( rule__ActivationConstraints__Group__5__Impl rule__ActivationConstraints__Group__6 )\n // InternalComponentDefinition.g:4139:2: rule__ActivationConstraints__Group__5__Impl rule__ActivationConstraints__Group__6\n {\n pushFollow(FOLLOW_30);\n rule__ActivationConstraints__Group__5__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group__6();\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":"49edd36e8c437ffef84c2ff146be792c","score":"0.47794333","text":"public final void rule__EConstraintList__Group_1__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:11254:1: ( ( Comma ) )\n // InternalAADMParser.g:11255:1: ( Comma )\n {\n // InternalAADMParser.g:11255:1: ( Comma )\n // InternalAADMParser.g:11256:2: Comma\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEConstraintListAccess().getCommaKeyword_1_0()); \n }\n match(input,Comma,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEConstraintListAccess().getCommaKeyword_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":"1e435e80bb3a0b7bc768f7d8cf16189e","score":"0.47755307","text":"public final void rule__Attribute__Group__4__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:12384:1: ( ( ( rule__Attribute__ConstraintsAssignment_4 )? ) )\n // InternalDsl.g:12385:1: ( ( rule__Attribute__ConstraintsAssignment_4 )? )\n {\n // InternalDsl.g:12385:1: ( ( rule__Attribute__ConstraintsAssignment_4 )? )\n // InternalDsl.g:12386:2: ( rule__Attribute__ConstraintsAssignment_4 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getAttributeAccess().getConstraintsAssignment_4()); \n }\n // InternalDsl.g:12387:2: ( rule__Attribute__ConstraintsAssignment_4 )?\n int alt92=2;\n int LA92_0 = input.LA(1);\n\n if ( (LA92_0==99) ) {\n alt92=1;\n }\n switch (alt92) {\n case 1 :\n // InternalDsl.g:12387:3: rule__Attribute__ConstraintsAssignment_4\n {\n pushFollow(FOLLOW_2);\n rule__Attribute__ConstraintsAssignment_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.getAttributeAccess().getConstraintsAssignment_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":"8dd82aff29287447770b1173fc2c4fb1","score":"0.47686654","text":"public final void rule__ENodeTemplateBody__Group_5__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:4678:1: ( ( Requirements ) )\n // InternalAADMParser.g:4679:1: ( Requirements )\n {\n // InternalAADMParser.g:4679:1: ( Requirements )\n // InternalAADMParser.g:4680:2: Requirements\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getENodeTemplateBodyAccess().getRequirementsKeyword_5_0()); \n }\n match(input,Requirements,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getENodeTemplateBodyAccess().getRequirementsKeyword_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":"ea5a41f876fe2260e4e259f5251c0cfa","score":"0.47543237","text":"public final void rule__ECapabilityAssignment__Group_3__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:5353:1: ( ( RULE_BEGIN ) )\n // InternalAADMParser.g:5354:1: ( RULE_BEGIN )\n {\n // InternalAADMParser.g:5354:1: ( RULE_BEGIN )\n // InternalAADMParser.g:5355:2: RULE_BEGIN\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getECapabilityAssignmentAccess().getBEGINTerminalRuleCall_3_1()); \n }\n match(input,RULE_BEGIN,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getECapabilityAssignmentAccess().getBEGINTerminalRuleCall_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":""}],"string":"[\n {\n \"docid\": \"e0cfcd7cfa043c5c13b3a476436c063b\",\n \"score\": \"0.71838987\",\n \"text\": \"public final void rule__Constraints__Group__1__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalDsl.g:12870:1: ( ( 'constraint' ) )\\n // InternalDsl.g:12871:1: ( 'constraint' )\\n {\\n // InternalDsl.g:12871:1: ( 'constraint' )\\n // InternalDsl.g:12872:2: 'constraint'\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getConstraintsAccess().getConstraintKeyword_1()); \\n }\\n match(input,99,FOLLOW_2); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getConstraintsAccess().getConstraintKeyword_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6247ed46d0eaeed8cec4619f7ca81f56\",\n \"score\": \"0.69456476\",\n \"text\": \"public final void entryRuleConstraints() throws RecognitionException {\\n try {\\n // InternalDsl.g:1255:1: ( ruleConstraints EOF )\\n // InternalDsl.g:1256:1: ruleConstraints EOF\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getConstraintsRule()); \\n }\\n pushFollow(FOLLOW_1);\\n ruleConstraints();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getConstraintsRule()); \\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cf4720773c9ae3c61f1ba71cbd43ae24\",\n \"score\": \"0.67785156\",\n \"text\": \"public final void ruleEConstraints() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalAADMParser.g:2453:2: ( ( ( rule__EConstraints__Group__0 ) ) )\\n // InternalAADMParser.g:2454:2: ( ( rule__EConstraints__Group__0 ) )\\n {\\n // InternalAADMParser.g:2454:2: ( ( rule__EConstraints__Group__0 ) )\\n // InternalAADMParser.g:2455:3: ( rule__EConstraints__Group__0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getEConstraintsAccess().getGroup()); \\n }\\n // InternalAADMParser.g:2456:3: ( rule__EConstraints__Group__0 )\\n // InternalAADMParser.g:2456:4: rule__EConstraints__Group__0\\n {\\n pushFollow(FOLLOW_2);\\n rule__EConstraints__Group__0();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getEConstraintsAccess().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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7330bb5bdf6418b8bec1c66ff0f0279f\",\n \"score\": \"0.6659367\",\n \"text\": \"public final EObject entryRuleConstraints() throws RecognitionException {\\n EObject current = null;\\n\\n EObject iv_ruleConstraints = null;\\n\\n\\n try {\\n // InternalPlatoon.g:589:52: (iv_ruleConstraints= ruleConstraints EOF )\\n // InternalPlatoon.g:590:2: iv_ruleConstraints= ruleConstraints EOF\\n {\\n newCompositeNode(grammarAccess.getConstraintsRule()); \\n pushFollow(FOLLOW_1);\\n iv_ruleConstraints=ruleConstraints();\\n\\n state._fsp--;\\n\\n current =iv_ruleConstraints; \\n match(input,EOF,FOLLOW_2); \\n\\n }\\n\\n }\\n\\n catch (RecognitionException re) {\\n recover(input,re);\\n appendSkippedTokens();\\n }\\n finally {\\n }\\n return current;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"754cef1525bf67c774c393e3a7ffd65c\",\n \"score\": \"0.6647652\",\n \"text\": \"public final void ruleConstraint() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalDsl.g:1292:2: ( ( ( rule__Constraint__Group__0 ) ) )\\n // InternalDsl.g:1293:2: ( ( rule__Constraint__Group__0 ) )\\n {\\n // InternalDsl.g:1293:2: ( ( rule__Constraint__Group__0 ) )\\n // InternalDsl.g:1294:3: ( rule__Constraint__Group__0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getConstraintAccess().getGroup()); \\n }\\n // InternalDsl.g:1295:3: ( rule__Constraint__Group__0 )\\n // InternalDsl.g:1295:4: rule__Constraint__Group__0\\n {\\n pushFollow(FOLLOW_2);\\n rule__Constraint__Group__0();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getConstraintAccess().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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3d69b64d0b21b96cd2844a2fad9f4715\",\n \"score\": \"0.6547997\",\n \"text\": \"Collection getGroupConstraints(Group group);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3571d07d96bf2f4f2d60e07dea048957\",\n \"score\": \"0.6467809\",\n \"text\": \"public final void rule__EConstraints__Group__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalAADMParser.g:18681:1: ( rule__EConstraints__Group__0__Impl rule__EConstraints__Group__1 )\\n // InternalAADMParser.g:18682:2: rule__EConstraints__Group__0__Impl rule__EConstraints__Group__1\\n {\\n pushFollow(FOLLOW_23);\\n rule__EConstraints__Group__0__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_2);\\n rule__EConstraints__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b593e3ee011c32613407c08b3322f24b\",\n \"score\": \"0.635069\",\n \"text\": \"public final void rule__ProcessDSL__ConstraintsAssignment_7() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalDsl.g:36508:1: ( ( ruleConstraints ) )\\n // InternalDsl.g:36509:2: ( ruleConstraints )\\n {\\n // InternalDsl.g:36509:2: ( ruleConstraints )\\n // InternalDsl.g:36510:3: ruleConstraints\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getProcessDSLAccess().getConstraintsConstraintsParserRuleCall_7_0()); \\n }\\n pushFollow(FOLLOW_2);\\n ruleConstraints();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getProcessDSLAccess().getConstraintsConstraintsParserRuleCall_7_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\": \"80e1d972327bd9aac3998e3fff3b959b\",\n \"score\": \"0.63253754\",\n \"text\": \"public final void rule__EDataTypeBody__Group_1_2__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalAADMParser.g:6710:1: ( ( Constraints ) )\\n // InternalAADMParser.g:6711:1: ( Constraints )\\n {\\n // InternalAADMParser.g:6711:1: ( Constraints )\\n // InternalAADMParser.g:6712:2: Constraints\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getEDataTypeBodyAccess().getConstraintsKeyword_1_2_0()); \\n }\\n match(input,Constraints,FOLLOW_2); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getEDataTypeBodyAccess().getConstraintsKeyword_1_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\": \"7cef94534b35ebd70336b2fef472c13d\",\n \"score\": \"0.6319731\",\n \"text\": \"public final void rule__Constraints__Group__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalDsl.g:12843:1: ( ( () ) )\\n // InternalDsl.g:12844:1: ( () )\\n {\\n // InternalDsl.g:12844:1: ( () )\\n // InternalDsl.g:12845:2: ()\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getConstraintsAccess().getConstraintsAction_0()); \\n }\\n // InternalDsl.g:12846:2: ()\\n // InternalDsl.g:12846:3: \\n {\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getConstraintsAccess().getConstraintsAction_0()); \\n }\\n\\n }\\n\\n\\n }\\n\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"817998299177a4dcf9e5a71f7ecbdd0d\",\n \"score\": \"0.624787\",\n \"text\": \"public final void rule__Constraints__Group__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalDsl.g:12831:1: ( rule__Constraints__Group__0__Impl rule__Constraints__Group__1 )\\n // InternalDsl.g:12832:2: rule__Constraints__Group__0__Impl rule__Constraints__Group__1\\n {\\n pushFollow(FOLLOW_74);\\n rule__Constraints__Group__0__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_2);\\n rule__Constraints__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ada473cd20ae58a23ba6c037ef91633e\",\n \"score\": \"0.6219251\",\n \"text\": \"public final void rule__EPropertyDefinitionBody__Group_5__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalAADMParser.g:13968:1: ( ( Constraints ) )\\n // InternalAADMParser.g:13969:1: ( Constraints )\\n {\\n // InternalAADMParser.g:13969:1: ( Constraints )\\n // InternalAADMParser.g:13970:2: Constraints\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getEPropertyDefinitionBodyAccess().getConstraintsKeyword_5_0()); \\n }\\n match(input,Constraints,FOLLOW_2); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getEPropertyDefinitionBodyAccess().getConstraintsKeyword_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"754cc4d34bb7a7932c7b2e9c6d9e9683\",\n \"score\": \"0.6189699\",\n \"text\": \"public final void rule__ProcessType__ConstraintsAssignment_3() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalDsl.g:36148:1: ( ( ruleConstraints ) )\\n // InternalDsl.g:36149:2: ( ruleConstraints )\\n {\\n // InternalDsl.g:36149:2: ( ruleConstraints )\\n // InternalDsl.g:36150:3: ruleConstraints\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getProcessTypeAccess().getConstraintsConstraintsParserRuleCall_3_0()); \\n }\\n pushFollow(FOLLOW_2);\\n ruleConstraints();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getProcessTypeAccess().getConstraintsConstraintsParserRuleCall_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d6f08363480cf77c050de13cfd62c4c\",\n \"score\": \"0.61623687\",\n \"text\": \"public final void rule__EConstraints__Group__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalAADMParser.g:18693:1: ( ( () ) )\\n // InternalAADMParser.g:18694:1: ( () )\\n {\\n // InternalAADMParser.g:18694:1: ( () )\\n // InternalAADMParser.g:18695:2: ()\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getEConstraintsAccess().getEConstraintsAction_0()); \\n }\\n // InternalAADMParser.g:18696:2: ()\\n // InternalAADMParser.g:18696:3: \\n {\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getEConstraintsAccess().getEConstraintsAction_0()); \\n }\\n\\n }\\n\\n\\n }\\n\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"783de431e0997469a02e8f5a21bc238e\",\n \"score\": \"0.6095859\",\n \"text\": \"public final void rule__EConstraints__Group__1__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalAADMParser.g:18719:1: ( ( ( rule__EConstraints__ConstraintsAssignment_1 )* ) )\\n // InternalAADMParser.g:18720:1: ( ( rule__EConstraints__ConstraintsAssignment_1 )* )\\n {\\n // InternalAADMParser.g:18720:1: ( ( rule__EConstraints__ConstraintsAssignment_1 )* )\\n // InternalAADMParser.g:18721:2: ( rule__EConstraints__ConstraintsAssignment_1 )*\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getEConstraintsAccess().getConstraintsAssignment_1()); \\n }\\n // InternalAADMParser.g:18722:2: ( rule__EConstraints__ConstraintsAssignment_1 )*\\n loop51:\\n do {\\n int alt51=2;\\n int LA51_0 = input.LA(1);\\n\\n if ( (LA51_0==Greater_or_equal||LA51_0==Less_or_equal||LA51_0==Greater_than||LA51_0==Valid_values||(LA51_0>=Max_length && LA51_0<=Min_length)||LA51_0==Less_than||LA51_0==In_range||LA51_0==Length||LA51_0==Equal) ) {\\n alt51=1;\\n }\\n\\n\\n switch (alt51) {\\n \\tcase 1 :\\n \\t // InternalAADMParser.g:18722:3: rule__EConstraints__ConstraintsAssignment_1\\n \\t {\\n \\t pushFollow(FOLLOW_58);\\n \\t rule__EConstraints__ConstraintsAssignment_1();\\n\\n \\t state._fsp--;\\n \\t if (state.failed) return ;\\n\\n \\t }\\n \\t break;\\n\\n \\tdefault :\\n \\t break loop51;\\n }\\n } while (true);\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getEConstraintsAccess().getConstraintsAssignment_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"59dadd0bb10171082a66a254c47ec3b6\",\n \"score\": \"0.60014236\",\n \"text\": \"public final void rule__Constraints__Group__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalDsl.g:12858:1: ( rule__Constraints__Group__1__Impl rule__Constraints__Group__2 )\\n // InternalDsl.g:12859:2: rule__Constraints__Group__1__Impl rule__Constraints__Group__2\\n {\\n pushFollow(FOLLOW_11);\\n rule__Constraints__Group__1__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_2);\\n rule__Constraints__Group__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"00621190b8bb4496a0fb79032becec04\",\n \"score\": \"0.6000516\",\n \"text\": \"public final void rule__ActivationConstraints__Group__1__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalComponentDefinition.g:4042:1: ( ( 'ActivationConstraints' ) )\\n // InternalComponentDefinition.g:4043:1: ( 'ActivationConstraints' )\\n {\\n // InternalComponentDefinition.g:4043:1: ( 'ActivationConstraints' )\\n // InternalComponentDefinition.g:4044:2: 'ActivationConstraints'\\n {\\n before(grammarAccess.getActivationConstraintsAccess().getActivationConstraintsKeyword_1()); \\n match(input,36,FOLLOW_2); \\n after(grammarAccess.getActivationConstraintsAccess().getActivationConstraintsKeyword_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ec0c40e96858475dd1fd1f4ec0b58c95\",\n \"score\": \"0.5978505\",\n \"text\": \"public final void entryRuleEConstraints() throws RecognitionException {\\n try {\\n // InternalAADMParser.g:2441:1: ( ruleEConstraints EOF )\\n // InternalAADMParser.g:2442:1: ruleEConstraints EOF\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getEConstraintsRule()); \\n }\\n pushFollow(FOLLOW_1);\\n ruleEConstraints();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getEConstraintsRule()); \\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed2305db4d9a1deb737517704e31ef2b\",\n \"score\": \"0.5965973\",\n \"text\": \"public final void rule__Constraints__ConstraintAssignment_3() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalDsl.g:36268:1: ( ( ruleConstraint ) )\\n // InternalDsl.g:36269:2: ( ruleConstraint )\\n {\\n // InternalDsl.g:36269:2: ( ruleConstraint )\\n // InternalDsl.g:36270:3: ruleConstraint\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getConstraintsAccess().getConstraintConstraintParserRuleCall_3_0()); \\n }\\n pushFollow(FOLLOW_2);\\n ruleConstraint();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getConstraintsAccess().getConstraintConstraintParserRuleCall_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cf826cbbcf5772aaeab9a8f302b6c38d\",\n \"score\": \"0.59325784\",\n \"text\": \"public final void ruleActivationConstraints() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalComponentDefinition.g:682:2: ( ( ( rule__ActivationConstraints__Group__0 ) ) )\\n // InternalComponentDefinition.g:683:2: ( ( rule__ActivationConstraints__Group__0 ) )\\n {\\n // InternalComponentDefinition.g:683:2: ( ( rule__ActivationConstraints__Group__0 ) )\\n // InternalComponentDefinition.g:684:3: ( rule__ActivationConstraints__Group__0 )\\n {\\n before(grammarAccess.getActivationConstraintsAccess().getGroup()); \\n // InternalComponentDefinition.g:685:3: ( rule__ActivationConstraints__Group__0 )\\n // InternalComponentDefinition.g:685:4: rule__ActivationConstraints__Group__0\\n {\\n pushFollow(FOLLOW_2);\\n rule__ActivationConstraints__Group__0();\\n\\n state._fsp--;\\n\\n\\n }\\n\\n after(grammarAccess.getActivationConstraintsAccess().getGroup()); \\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\": \"ff1a8986113bebc991c615759e945eb8\",\n \"score\": \"0.5888291\",\n \"text\": \"public final void rule__EConstraints__ConstraintsAssignment_1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalAADMParser.g:26681:1: ( ( ruleEConstraint ) )\\n // InternalAADMParser.g:26682:2: ( ruleEConstraint )\\n {\\n // InternalAADMParser.g:26682:2: ( ruleEConstraint )\\n // InternalAADMParser.g:26683:3: ruleEConstraint\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getEConstraintsAccess().getConstraintsEConstraintParserRuleCall_1_0()); \\n }\\n pushFollow(FOLLOW_2);\\n ruleEConstraint();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getEConstraintsAccess().getConstraintsEConstraintParserRuleCall_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\": \"c234b60cfc0852063a16896f7787220a\",\n \"score\": \"0.5885003\",\n \"text\": \"public final void rule__Constraints__Group__3() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalDsl.g:12912:1: ( rule__Constraints__Group__3__Impl rule__Constraints__Group__4 )\\n // InternalDsl.g:12913:2: rule__Constraints__Group__3__Impl rule__Constraints__Group__4\\n {\\n pushFollow(FOLLOW_75);\\n rule__Constraints__Group__3__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_2);\\n rule__Constraints__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eaff04b65f8ffd563c032a194e17b1b7\",\n \"score\": \"0.5846587\",\n \"text\": \"public final void rule__Method__ConstraintsAssignment_3_1_5() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalDsl.g:36418:1: ( ( ruleConstraints ) )\\n // InternalDsl.g:36419:2: ( ruleConstraints )\\n {\\n // InternalDsl.g:36419:2: ( ruleConstraints )\\n // InternalDsl.g:36420:3: ruleConstraints\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getMethodAccess().getConstraintsConstraintsParserRuleCall_3_1_5_0()); \\n }\\n pushFollow(FOLLOW_2);\\n ruleConstraints();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getMethodAccess().getConstraintsConstraintsParserRuleCall_3_1_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8b3671bdd21367f5d7e97cf8870baab8\",\n \"score\": \"0.5816766\",\n \"text\": \"public final void rule__EDataTypeBody__ConstraintsAssignment_1_2_2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalAADMParser.g:24262:1: ( ( ruleEConstraints ) )\\n // InternalAADMParser.g:24263:2: ( ruleEConstraints )\\n {\\n // InternalAADMParser.g:24263:2: ( ruleEConstraints )\\n // InternalAADMParser.g:24264:3: ruleEConstraints\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getEDataTypeBodyAccess().getConstraintsEConstraintsParserRuleCall_1_2_2_0()); \\n }\\n pushFollow(FOLLOW_2);\\n ruleEConstraints();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getEDataTypeBodyAccess().getConstraintsEConstraintsParserRuleCall_1_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"05f3fd66cf530e62b4b70fb03eb4e695\",\n \"score\": \"0.5776386\",\n \"text\": \"public final void rule__EConstraints__Group__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalAADMParser.g:18708:1: ( rule__EConstraints__Group__1__Impl )\\n // InternalAADMParser.g:18709:2: rule__EConstraints__Group__1__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__EConstraints__Group__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"36daa1caf9e26692c044f5de9b59a214\",\n \"score\": \"0.5774943\",\n \"text\": \"public final void rule__Attribute__ConstraintsAssignment_4() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalDsl.g:36193:1: ( ( ruleConstraints ) )\\n // InternalDsl.g:36194:2: ( ruleConstraints )\\n {\\n // InternalDsl.g:36194:2: ( ruleConstraints )\\n // InternalDsl.g:36195:3: ruleConstraints\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getAttributeAccess().getConstraintsConstraintsParserRuleCall_4_0()); \\n }\\n pushFollow(FOLLOW_2);\\n ruleConstraints();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getAttributeAccess().getConstraintsConstraintsParserRuleCall_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c11d221b206dd7c99d3b55071dad9a96\",\n \"score\": \"0.5766077\",\n \"text\": \"public final void rule__EConstraintList__Group_1__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalAADMParser.g:11242:1: ( rule__EConstraintList__Group_1__0__Impl rule__EConstraintList__Group_1__1 )\\n // InternalAADMParser.g:11243:2: rule__EConstraintList__Group_1__0__Impl rule__EConstraintList__Group_1__1\\n {\\n pushFollow(FOLLOW_23);\\n rule__EConstraintList__Group_1__0__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_2);\\n rule__EConstraintList__Group_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cc0ce7a3d96afe1f3a53d9490872273e\",\n \"score\": \"0.57612354\",\n \"text\": \"public void setConstraints(String constraints)\\r\\n/* 127: */ {\\r\\n/* 128:136 */ this.constraints = constraints;\\r\\n/* 129: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1ffb9e4c37d0e765f1d2586f3ddab1c9\",\n \"score\": \"0.5719196\",\n \"text\": \"public final void rule__EConstraintList__Group__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalAADMParser.g:11188:1: ( rule__EConstraintList__Group__0__Impl rule__EConstraintList__Group__1 )\\n // InternalAADMParser.g:11189:2: rule__EConstraintList__Group__0__Impl rule__EConstraintList__Group__1\\n {\\n pushFollow(FOLLOW_19);\\n rule__EConstraintList__Group__0__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_2);\\n rule__EConstraintList__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d4a9e4e533919dacc542089637915bed\",\n \"score\": \"0.5678005\",\n \"text\": \"public final void ruleEConstraintList() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalAADMParser.g:1253:2: ( ( ( rule__EConstraintList__Group__0 ) ) )\\n // InternalAADMParser.g:1254:2: ( ( rule__EConstraintList__Group__0 ) )\\n {\\n // InternalAADMParser.g:1254:2: ( ( rule__EConstraintList__Group__0 ) )\\n // InternalAADMParser.g:1255:3: ( rule__EConstraintList__Group__0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getEConstraintListAccess().getGroup()); \\n }\\n // InternalAADMParser.g:1256:3: ( rule__EConstraintList__Group__0 )\\n // InternalAADMParser.g:1256:4: rule__EConstraintList__Group__0\\n {\\n pushFollow(FOLLOW_2);\\n rule__EConstraintList__Group__0();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getEConstraintListAccess().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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3c26a7d6219b783927fa637cdf753a4\",\n \"score\": \"0.56724703\",\n \"text\": \"Constraints getConstraints();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1d717af13aa7549288a8e900f98e7561\",\n \"score\": \"0.5653939\",\n \"text\": \"public final void rule__Constraints__Group__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalDsl.g:12885:1: ( rule__Constraints__Group__2__Impl rule__Constraints__Group__3 )\\n // InternalDsl.g:12886:2: rule__Constraints__Group__2__Impl rule__Constraints__Group__3\\n {\\n pushFollow(FOLLOW_75);\\n rule__Constraints__Group__2__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_2);\\n rule__Constraints__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d3329c023681d17e1748c5b48049149a\",\n \"score\": \"0.5593727\",\n \"text\": \"public final void entryRuleConstraint() throws RecognitionException {\\n try {\\n // InternalDsl.g:1280:1: ( ruleConstraint EOF )\\n // InternalDsl.g:1281:1: ruleConstraint EOF\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getConstraintRule()); \\n }\\n pushFollow(FOLLOW_1);\\n ruleConstraint();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getConstraintRule()); \\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"707066c7f507b9d51cf3051292007236\",\n \"score\": \"0.5437732\",\n \"text\": \"public final void rule__EConstraintList__Group__1__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalAADMParser.g:11226:1: ( ( ( rule__EConstraintList__Group_1__0 )* ) )\\n // InternalAADMParser.g:11227:1: ( ( rule__EConstraintList__Group_1__0 )* )\\n {\\n // InternalAADMParser.g:11227:1: ( ( rule__EConstraintList__Group_1__0 )* )\\n // InternalAADMParser.g:11228:2: ( rule__EConstraintList__Group_1__0 )*\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getEConstraintListAccess().getGroup_1()); \\n }\\n // InternalAADMParser.g:11229:2: ( rule__EConstraintList__Group_1__0 )*\\n loop31:\\n do {\\n int alt31=2;\\n int LA31_0 = input.LA(1);\\n\\n if ( (LA31_0==Comma) ) {\\n alt31=1;\\n }\\n\\n\\n switch (alt31) {\\n \\tcase 1 :\\n \\t // InternalAADMParser.g:11229:3: rule__EConstraintList__Group_1__0\\n \\t {\\n \\t pushFollow(FOLLOW_20);\\n \\t rule__EConstraintList__Group_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 loop31;\\n }\\n } while (true);\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getEConstraintListAccess().getGroup_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fbb27cbf667a9a8c9ca6a33a0cbdfe63\",\n \"score\": \"0.5420496\",\n \"text\": \"public final void rule__EAssertionDefinition__Group__3__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalAADMParser.g:11146:1: ( ( ( rule__EAssertionDefinition__ConstraintsAssignment_3 ) ) )\\n // InternalAADMParser.g:11147:1: ( ( rule__EAssertionDefinition__ConstraintsAssignment_3 ) )\\n {\\n // InternalAADMParser.g:11147:1: ( ( rule__EAssertionDefinition__ConstraintsAssignment_3 ) )\\n // InternalAADMParser.g:11148:2: ( rule__EAssertionDefinition__ConstraintsAssignment_3 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getEAssertionDefinitionAccess().getConstraintsAssignment_3()); \\n }\\n // InternalAADMParser.g:11149:2: ( rule__EAssertionDefinition__ConstraintsAssignment_3 )\\n // InternalAADMParser.g:11149:3: rule__EAssertionDefinition__ConstraintsAssignment_3\\n {\\n pushFollow(FOLLOW_2);\\n rule__EAssertionDefinition__ConstraintsAssignment_3();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getEAssertionDefinitionAccess().getConstraintsAssignment_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fd5d66ca5e55d2b9997d94f8131f1fe6\",\n \"score\": \"0.5406017\",\n \"text\": \"public final void rule__EAssertionDefinition__ConstraintsAssignment_3() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalAADMParser.g:25087:1: ( ( ruleEConstraintList ) )\\n // InternalAADMParser.g:25088:2: ( ruleEConstraintList )\\n {\\n // InternalAADMParser.g:25088:2: ( ruleEConstraintList )\\n // InternalAADMParser.g:25089:3: ruleEConstraintList\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getEAssertionDefinitionAccess().getConstraintsEConstraintListParserRuleCall_3_0()); \\n }\\n pushFollow(FOLLOW_2);\\n ruleEConstraintList();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getEAssertionDefinitionAccess().getConstraintsEConstraintListParserRuleCall_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"36d97aa98c8a601cf5a6b36261490d6d\",\n \"score\": \"0.53779304\",\n \"text\": \"public final EObject entryRuleConstraint() throws RecognitionException {\\n EObject current = null;\\n\\n EObject iv_ruleConstraint = null;\\n\\n\\n try {\\n // InternalAnn.g:513:51: (iv_ruleConstraint= ruleConstraint EOF )\\n // InternalAnn.g:514:2: iv_ruleConstraint= ruleConstraint EOF\\n {\\n newCompositeNode(grammarAccess.getConstraintRule()); \\n pushFollow(FOLLOW_1);\\n iv_ruleConstraint=ruleConstraint();\\n\\n state._fsp--;\\n\\n current =iv_ruleConstraint; \\n match(input,EOF,FOLLOW_2); \\n\\n }\\n\\n }\\n\\n catch (RecognitionException re) {\\n recover(input,re);\\n appendSkippedTokens();\\n }\\n finally {\\n }\\n return current;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a6aba4223043057659c76363ad0ae64\",\n \"score\": \"0.53411794\",\n \"text\": \"public final void rule__ActivationConstraints__Group_7_0__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalComponentDefinition.g:4300:1: ( rule__ActivationConstraints__Group_7_0__2__Impl rule__ActivationConstraints__Group_7_0__3 )\\n // InternalComponentDefinition.g:4301:2: rule__ActivationConstraints__Group_7_0__2__Impl rule__ActivationConstraints__Group_7_0__3\\n {\\n pushFollow(FOLLOW_32);\\n rule__ActivationConstraints__Group_7_0__2__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__ActivationConstraints__Group_7_0__3();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ffbda020cc533f85ea82f8356483635c\",\n \"score\": \"0.5338653\",\n \"text\": \"public final void rule__ActivationConstraints__Group__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalComponentDefinition.g:4003:1: ( rule__ActivationConstraints__Group__0__Impl rule__ActivationConstraints__Group__1 )\\n // InternalComponentDefinition.g:4004:2: rule__ActivationConstraints__Group__0__Impl rule__ActivationConstraints__Group__1\\n {\\n pushFollow(FOLLOW_26);\\n rule__ActivationConstraints__Group__0__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__ActivationConstraints__Group__1();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d580531610a6dd191393368fdea033e1\",\n \"score\": \"0.532437\",\n \"text\": \"public final void rule__ActivationConstraints__Group__3() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalComponentDefinition.g:4084:1: ( rule__ActivationConstraints__Group__3__Impl rule__ActivationConstraints__Group__4 )\\n // InternalComponentDefinition.g:4085:2: rule__ActivationConstraints__Group__3__Impl rule__ActivationConstraints__Group__4\\n {\\n pushFollow(FOLLOW_28);\\n rule__ActivationConstraints__Group__3__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__ActivationConstraints__Group__4();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3e6f6dacbdbb29fbfd85b83e1af6f306\",\n \"score\": \"0.5309632\",\n \"text\": \"public final void rule__Constraints__Group__3__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalDsl.g:12924:1: ( ( ( rule__Constraints__ConstraintAssignment_3 )* ) )\\n // InternalDsl.g:12925:1: ( ( rule__Constraints__ConstraintAssignment_3 )* )\\n {\\n // InternalDsl.g:12925:1: ( ( rule__Constraints__ConstraintAssignment_3 )* )\\n // InternalDsl.g:12926:2: ( rule__Constraints__ConstraintAssignment_3 )*\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getConstraintsAccess().getConstraintAssignment_3()); \\n }\\n // InternalDsl.g:12927:2: ( rule__Constraints__ConstraintAssignment_3 )*\\n loop94:\\n do {\\n int alt94=2;\\n int LA94_0 = input.LA(1);\\n\\n if ( ((LA94_0>=RULE_ID && LA94_0<=RULE_CHAR_SEQUENCE)||LA94_0==RULE_STRING||(LA94_0>=13 && LA94_0<=14)||LA94_0==61||(LA94_0>=166 && LA94_0<=168)||LA94_0==172||LA94_0==179||(LA94_0>=198 && LA94_0<=208)) ) {\\n alt94=1;\\n }\\n\\n\\n switch (alt94) {\\n \\tcase 1 :\\n \\t // InternalDsl.g:12927:3: rule__Constraints__ConstraintAssignment_3\\n \\t {\\n \\t pushFollow(FOLLOW_76);\\n \\t rule__Constraints__ConstraintAssignment_3();\\n\\n \\t state._fsp--;\\n \\t if (state.failed) return ;\\n\\n \\t }\\n \\t break;\\n\\n \\tdefault :\\n \\t break loop94;\\n }\\n } while (true);\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getConstraintsAccess().getConstraintAssignment_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42fe4d83ab858113ecb69fe12a71a13e\",\n \"score\": \"0.52917856\",\n \"text\": \"public final void rule__ActivationConstraints__Group_7_1__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalComponentDefinition.g:4435:1: ( rule__ActivationConstraints__Group_7_1__2__Impl rule__ActivationConstraints__Group_7_1__3 )\\n // InternalComponentDefinition.g:4436:2: rule__ActivationConstraints__Group_7_1__2__Impl rule__ActivationConstraints__Group_7_1__3\\n {\\n pushFollow(FOLLOW_32);\\n rule__ActivationConstraints__Group_7_1__2__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__ActivationConstraints__Group_7_1__3();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8f38363470fcdda659257e9454a1da06\",\n \"score\": \"0.52775276\",\n \"text\": \"public final void rule__ActivationConstraints__Group_7_0__3() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalComponentDefinition.g:4327:1: ( rule__ActivationConstraints__Group_7_0__3__Impl rule__ActivationConstraints__Group_7_0__4 )\\n // InternalComponentDefinition.g:4328:2: rule__ActivationConstraints__Group_7_0__3__Impl rule__ActivationConstraints__Group_7_0__4\\n {\\n pushFollow(FOLLOW_6);\\n rule__ActivationConstraints__Group_7_0__3__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__ActivationConstraints__Group_7_0__4();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aa185afe0bfaaeeb619e9ab88191031f\",\n \"score\": \"0.5266885\",\n \"text\": \"public final void rule__ActivationConstraints__Group__2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalComponentDefinition.g:4057:1: ( rule__ActivationConstraints__Group__2__Impl rule__ActivationConstraints__Group__3 )\\n // InternalComponentDefinition.g:4058:2: rule__ActivationConstraints__Group__2__Impl rule__ActivationConstraints__Group__3\\n {\\n pushFollow(FOLLOW_27);\\n rule__ActivationConstraints__Group__2__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__ActivationConstraints__Group__3();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c4222045e2dd22b50b59c02b14c16225\",\n \"score\": \"0.52635056\",\n \"text\": \"public final void rule__ActivationConstraints__Group__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalComponentDefinition.g:4015:1: ( ( () ) )\\n // InternalComponentDefinition.g:4016:1: ( () )\\n {\\n // InternalComponentDefinition.g:4016:1: ( () )\\n // InternalComponentDefinition.g:4017:2: ()\\n {\\n before(grammarAccess.getActivationConstraintsAccess().getActivationConstraintsAction_0()); \\n // InternalComponentDefinition.g:4018:2: ()\\n // InternalComponentDefinition.g:4018:3: \\n {\\n }\\n\\n after(grammarAccess.getActivationConstraintsAccess().getActivationConstraintsAction_0()); \\n\\n }\\n\\n\\n }\\n\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7aa3da0d3e1ff97eeff14e6cbe486e19\",\n \"score\": \"0.5261979\",\n \"text\": \"public final void rule__ActivationConstraints__Group_7_1__3() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalComponentDefinition.g:4462:1: ( rule__ActivationConstraints__Group_7_1__3__Impl rule__ActivationConstraints__Group_7_1__4 )\\n // InternalComponentDefinition.g:4463:2: rule__ActivationConstraints__Group_7_1__3__Impl rule__ActivationConstraints__Group_7_1__4\\n {\\n pushFollow(FOLLOW_6);\\n rule__ActivationConstraints__Group_7_1__3__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__ActivationConstraints__Group_7_1__4();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"181c590e82c0cb95b40cf064421794c0\",\n \"score\": \"0.5251884\",\n \"text\": \"public final void rule__EPropertyDefinitionBody__ConstraintsAssignment_5_2() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalAADMParser.g:25672:1: ( ( ruleEConstraints ) )\\n // InternalAADMParser.g:25673:2: ( ruleEConstraints )\\n {\\n // InternalAADMParser.g:25673:2: ( ruleEConstraints )\\n // InternalAADMParser.g:25674:3: ruleEConstraints\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getEPropertyDefinitionBodyAccess().getConstraintsEConstraintsParserRuleCall_5_2_0()); \\n }\\n pushFollow(FOLLOW_2);\\n ruleEConstraints();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getEPropertyDefinitionBodyAccess().getConstraintsEConstraintsParserRuleCall_5_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\": \"f2be91e8443c8c75b13f53d40d44fae9\",\n \"score\": \"0.5249539\",\n \"text\": \"public final void rule__EConstraintList__Group__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalAADMParser.g:11215:1: ( rule__EConstraintList__Group__1__Impl )\\n // InternalAADMParser.g:11216:2: rule__EConstraintList__Group__1__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__EConstraintList__Group__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"87d2a48d757828a478edcabcac05432f\",\n \"score\": \"0.52429813\",\n \"text\": \"public final void rule__Constraint__Group__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalDsl.g:12966:1: ( rule__Constraint__Group__0__Impl rule__Constraint__Group__1 )\\n // InternalDsl.g:12967:2: rule__Constraint__Group__0__Impl rule__Constraint__Group__1\\n {\\n pushFollow(FOLLOW_20);\\n rule__Constraint__Group__0__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_2);\\n rule__Constraint__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"028b9d9796e325911bd60ae9292b1212\",\n \"score\": \"0.51914716\",\n \"text\": \"public final void rule__EConstraintList__Group_1__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalAADMParser.g:11269:1: ( rule__EConstraintList__Group_1__1__Impl )\\n // InternalAADMParser.g:11270:2: rule__EConstraintList__Group_1__1__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__EConstraintList__Group_1__1__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3710959d6fdbd4c9a681fb3b839d7534\",\n \"score\": \"0.5173552\",\n \"text\": \"public final void rule__ActivationConstraints__Group__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalComponentDefinition.g:4030:1: ( rule__ActivationConstraints__Group__1__Impl rule__ActivationConstraints__Group__2 )\\n // InternalComponentDefinition.g:4031:2: rule__ActivationConstraints__Group__1__Impl rule__ActivationConstraints__Group__2\\n {\\n pushFollow(FOLLOW_12);\\n rule__ActivationConstraints__Group__1__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__ActivationConstraints__Group__2();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0cd7f3edd3e41901aae386c357100581\",\n \"score\": \"0.5166273\",\n \"text\": \"InputConstraintPackage getInputConstraintPackage();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ebe6ad370c9731478b4ad6a26151083d\",\n \"score\": \"0.5145231\",\n \"text\": \"public final void rule__ActivationConstraints__Group_7_0__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalComponentDefinition.g:4273:1: ( rule__ActivationConstraints__Group_7_0__1__Impl rule__ActivationConstraints__Group_7_0__2 )\\n // InternalComponentDefinition.g:4274:2: rule__ActivationConstraints__Group_7_0__1__Impl rule__ActivationConstraints__Group_7_0__2\\n {\\n pushFollow(FOLLOW_31);\\n rule__ActivationConstraints__Group_7_0__1__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__ActivationConstraints__Group_7_0__2();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6e406df1bae002d0f8a8b6d21a86c086\",\n \"score\": \"0.5143974\",\n \"text\": \"public final void rule__Constraints__Group__4__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalDsl.g:12950:1: ( ( '}' ) )\\n // InternalDsl.g:12951:1: ( '}' )\\n {\\n // InternalDsl.g:12951:1: ( '}' )\\n // InternalDsl.g:12952:2: '}'\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getConstraintsAccess().getRightCurlyBracketKeyword_4()); \\n }\\n match(input,68,FOLLOW_2); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getConstraintsAccess().getRightCurlyBracketKeyword_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ac126e1286ee8a8fc356fb6a29f81d2\",\n \"score\": \"0.51236427\",\n \"text\": \"public final void rule__ActivationConstraints__Group_7_0__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalComponentDefinition.g:4246:1: ( rule__ActivationConstraints__Group_7_0__0__Impl rule__ActivationConstraints__Group_7_0__1 )\\n // InternalComponentDefinition.g:4247:2: rule__ActivationConstraints__Group_7_0__0__Impl rule__ActivationConstraints__Group_7_0__1\\n {\\n pushFollow(FOLLOW_28);\\n rule__ActivationConstraints__Group_7_0__0__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__ActivationConstraints__Group_7_0__1();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6bde04361467db55fd31a2ef803153e9\",\n \"score\": \"0.5122928\",\n \"text\": \"public final void rule__ActivationConstraints__Group_7_1__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalComponentDefinition.g:4381:1: ( rule__ActivationConstraints__Group_7_1__0__Impl rule__ActivationConstraints__Group_7_1__1 )\\n // InternalComponentDefinition.g:4382:2: rule__ActivationConstraints__Group_7_1__0__Impl rule__ActivationConstraints__Group_7_1__1\\n {\\n pushFollow(FOLLOW_28);\\n rule__ActivationConstraints__Group_7_1__0__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__ActivationConstraints__Group_7_1__1();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c3701550bacd062a1f875dfe671a6a2a\",\n \"score\": \"0.5087389\",\n \"text\": \"public final void rule__ActivationConstraints__Group__7() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalComponentDefinition.g:4192:1: ( rule__ActivationConstraints__Group__7__Impl rule__ActivationConstraints__Group__8 )\\n // InternalComponentDefinition.g:4193:2: rule__ActivationConstraints__Group__7__Impl rule__ActivationConstraints__Group__8\\n {\\n pushFollow(FOLLOW_25);\\n rule__ActivationConstraints__Group__7__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__ActivationConstraints__Group__8();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"67183399211f0ddb7ada23f301018886\",\n \"score\": \"0.50678164\",\n \"text\": \"public LogicCriterion constraints();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bfd5e5b1d5e035d402bca3b91334fc8f\",\n \"score\": \"0.50468963\",\n \"text\": \"public final void rule__ActivationConstraints__Group_7_1__1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalComponentDefinition.g:4408:1: ( rule__ActivationConstraints__Group_7_1__1__Impl rule__ActivationConstraints__Group_7_1__2 )\\n // InternalComponentDefinition.g:4409:2: rule__ActivationConstraints__Group_7_1__1__Impl rule__ActivationConstraints__Group_7_1__2\\n {\\n pushFollow(FOLLOW_31);\\n rule__ActivationConstraints__Group_7_1__1__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__ActivationConstraints__Group_7_1__2();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b8e185b455ecb9a490a2071122f42257\",\n \"score\": \"0.5022453\",\n \"text\": \"public final EObject ruleConstraints() throws RecognitionException {\\n EObject current = null;\\n\\n Token otherlv_0=null;\\n Token lv_minHeadway_1_0=null;\\n Token otherlv_2=null;\\n Token otherlv_3=null;\\n Token otherlv_4=null;\\n Token lv_maxHeadway_5_0=null;\\n\\n\\n \\tenterRule();\\n\\n try {\\n // InternalPlatoon.g:602:2: ( (otherlv_0= 'constraints:' ( (lv_minHeadway_1_0= RULE_INT ) ) otherlv_2= '<=' otherlv_3= 'headway' otherlv_4= '<=' ( (lv_maxHeadway_5_0= RULE_INT ) ) ) )\\n // InternalPlatoon.g:603:2: (otherlv_0= 'constraints:' ( (lv_minHeadway_1_0= RULE_INT ) ) otherlv_2= '<=' otherlv_3= 'headway' otherlv_4= '<=' ( (lv_maxHeadway_5_0= RULE_INT ) ) )\\n {\\n // InternalPlatoon.g:603:2: (otherlv_0= 'constraints:' ( (lv_minHeadway_1_0= RULE_INT ) ) otherlv_2= '<=' otherlv_3= 'headway' otherlv_4= '<=' ( (lv_maxHeadway_5_0= RULE_INT ) ) )\\n // InternalPlatoon.g:604:3: otherlv_0= 'constraints:' ( (lv_minHeadway_1_0= RULE_INT ) ) otherlv_2= '<=' otherlv_3= 'headway' otherlv_4= '<=' ( (lv_maxHeadway_5_0= RULE_INT ) )\\n {\\n otherlv_0=(Token)match(input,23,FOLLOW_14); \\n\\n \\t\\t\\tnewLeafNode(otherlv_0, grammarAccess.getConstraintsAccess().getConstraintsKeyword_0());\\n \\t\\t\\n // InternalPlatoon.g:608:3: ( (lv_minHeadway_1_0= RULE_INT ) )\\n // InternalPlatoon.g:609:4: (lv_minHeadway_1_0= RULE_INT )\\n {\\n // InternalPlatoon.g:609:4: (lv_minHeadway_1_0= RULE_INT )\\n // InternalPlatoon.g:610:5: lv_minHeadway_1_0= RULE_INT\\n {\\n lv_minHeadway_1_0=(Token)match(input,RULE_INT,FOLLOW_16); \\n\\n \\t\\t\\t\\t\\tnewLeafNode(lv_minHeadway_1_0, grammarAccess.getConstraintsAccess().getMinHeadwayINTTerminalRuleCall_1_0());\\n \\t\\t\\t\\t\\n\\n \\t\\t\\t\\t\\tif (current==null) {\\n \\t\\t\\t\\t\\t\\tcurrent = createModelElement(grammarAccess.getConstraintsRule());\\n \\t\\t\\t\\t\\t}\\n \\t\\t\\t\\t\\tsetWithLastConsumed(\\n \\t\\t\\t\\t\\t\\tcurrent,\\n \\t\\t\\t\\t\\t\\t\\\"minHeadway\\\",\\n \\t\\t\\t\\t\\t\\tlv_minHeadway_1_0,\\n \\t\\t\\t\\t\\t\\t\\\"org.eclipse.xtext.common.Terminals.INT\\\");\\n \\t\\t\\t\\t\\n\\n }\\n\\n\\n }\\n\\n otherlv_2=(Token)match(input,24,FOLLOW_17); \\n\\n \\t\\t\\tnewLeafNode(otherlv_2, grammarAccess.getConstraintsAccess().getLessThanSignEqualsSignKeyword_2());\\n \\t\\t\\n otherlv_3=(Token)match(input,25,FOLLOW_16); \\n\\n \\t\\t\\tnewLeafNode(otherlv_3, grammarAccess.getConstraintsAccess().getHeadwayKeyword_3());\\n \\t\\t\\n otherlv_4=(Token)match(input,24,FOLLOW_14); \\n\\n \\t\\t\\tnewLeafNode(otherlv_4, grammarAccess.getConstraintsAccess().getLessThanSignEqualsSignKeyword_4());\\n \\t\\t\\n // InternalPlatoon.g:638:3: ( (lv_maxHeadway_5_0= RULE_INT ) )\\n // InternalPlatoon.g:639:4: (lv_maxHeadway_5_0= RULE_INT )\\n {\\n // InternalPlatoon.g:639:4: (lv_maxHeadway_5_0= RULE_INT )\\n // InternalPlatoon.g:640:5: lv_maxHeadway_5_0= RULE_INT\\n {\\n lv_maxHeadway_5_0=(Token)match(input,RULE_INT,FOLLOW_2); \\n\\n \\t\\t\\t\\t\\tnewLeafNode(lv_maxHeadway_5_0, grammarAccess.getConstraintsAccess().getMaxHeadwayINTTerminalRuleCall_5_0());\\n \\t\\t\\t\\t\\n\\n \\t\\t\\t\\t\\tif (current==null) {\\n \\t\\t\\t\\t\\t\\tcurrent = createModelElement(grammarAccess.getConstraintsRule());\\n \\t\\t\\t\\t\\t}\\n \\t\\t\\t\\t\\tsetWithLastConsumed(\\n \\t\\t\\t\\t\\t\\tcurrent,\\n \\t\\t\\t\\t\\t\\t\\\"maxHeadway\\\",\\n \\t\\t\\t\\t\\t\\tlv_maxHeadway_5_0,\\n \\t\\t\\t\\t\\t\\t\\\"org.eclipse.xtext.common.Terminals.INT\\\");\\n \\t\\t\\t\\t\\n\\n }\\n\\n\\n }\\n\\n\\n }\\n\\n\\n }\\n\\n\\n \\tleaveRule();\\n\\n }\\n\\n catch (RecognitionException re) {\\n recover(input,re);\\n appendSkippedTokens();\\n }\\n finally {\\n }\\n return current;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"beb8b414735d557d994d7271a34a4bfb\",\n \"score\": \"0.5006359\",\n \"text\": \"public final void entryRuleActivationConstraints() throws RecognitionException {\\n try {\\n // InternalComponentDefinition.g:670:1: ( ruleActivationConstraints EOF )\\n // InternalComponentDefinition.g:671:1: ruleActivationConstraints EOF\\n {\\n before(grammarAccess.getActivationConstraintsRule()); \\n pushFollow(FOLLOW_1);\\n ruleActivationConstraints();\\n\\n state._fsp--;\\n\\n after(grammarAccess.getActivationConstraintsRule()); \\n match(input,EOF,FOLLOW_2); \\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\": \"4d67f0636f97ce22ae098d6f5346d7b5\",\n \"score\": \"0.50063056\",\n \"text\": \"public interface Constraint extends NamedElement, AbstractConstraint {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7f109eb40bada814396350187876e76a\",\n \"score\": \"0.50007766\",\n \"text\": \"public final void rule__ERequirementDefinition__Group__2__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalAADMParser.g:18288:1: ( ( RULE_BEGIN ) )\\n // InternalAADMParser.g:18289:1: ( RULE_BEGIN )\\n {\\n // InternalAADMParser.g:18289:1: ( RULE_BEGIN )\\n // InternalAADMParser.g:18290:2: RULE_BEGIN\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getERequirementDefinitionAccess().getBEGINTerminalRuleCall_2()); \\n }\\n match(input,RULE_BEGIN,FOLLOW_2); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getERequirementDefinitionAccess().getBEGINTerminalRuleCall_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6fd83716444f0dd2274f1122ba8b1f88\",\n \"score\": \"0.49891868\",\n \"text\": \"public final void rule__Constraints__Group__4() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalDsl.g:12939:1: ( rule__Constraints__Group__4__Impl )\\n // InternalDsl.g:12940:2: rule__Constraints__Group__4__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__Constraints__Group__4__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"98f6b6fa950f1bb843153ec1979e9a19\",\n \"score\": \"0.49882764\",\n \"text\": \"public final void rule__EDataTypeBody__Group_1_2__2__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalAADMParser.g:6764:1: ( ( ( rule__EDataTypeBody__ConstraintsAssignment_1_2_2 ) ) )\\n // InternalAADMParser.g:6765:1: ( ( rule__EDataTypeBody__ConstraintsAssignment_1_2_2 ) )\\n {\\n // InternalAADMParser.g:6765:1: ( ( rule__EDataTypeBody__ConstraintsAssignment_1_2_2 ) )\\n // InternalAADMParser.g:6766:2: ( rule__EDataTypeBody__ConstraintsAssignment_1_2_2 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getEDataTypeBodyAccess().getConstraintsAssignment_1_2_2()); \\n }\\n // InternalAADMParser.g:6767:2: ( rule__EDataTypeBody__ConstraintsAssignment_1_2_2 )\\n // InternalAADMParser.g:6767:3: rule__EDataTypeBody__ConstraintsAssignment_1_2_2\\n {\\n pushFollow(FOLLOW_2);\\n rule__EDataTypeBody__ConstraintsAssignment_1_2_2();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getEDataTypeBodyAccess().getConstraintsAssignment_1_2_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1908cba931fd1ff2acc33136f4d4aa34\",\n \"score\": \"0.49834052\",\n \"text\": \"@Test\\n\\tpublic void testConstraints() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1091c1ec3c421a40801b24f84a8e3b7\",\n \"score\": \"0.49824795\",\n \"text\": \"public final void rule__ActivationConstraints__Group__4() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalComponentDefinition.g:4111:1: ( rule__ActivationConstraints__Group__4__Impl rule__ActivationConstraints__Group__5 )\\n // InternalComponentDefinition.g:4112:2: rule__ActivationConstraints__Group__4__Impl rule__ActivationConstraints__Group__5\\n {\\n pushFollow(FOLLOW_29);\\n rule__ActivationConstraints__Group__4__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__ActivationConstraints__Group__5();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d7cd6822b39a172c0a504867fe77feb\",\n \"score\": \"0.4979183\",\n \"text\": \"public final void rule__EExtendedTriggerCondition__Group_0__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalAADMParser.g:10093:1: ( ( Constraint ) )\\n // InternalAADMParser.g:10094:1: ( Constraint )\\n {\\n // InternalAADMParser.g:10094:1: ( Constraint )\\n // InternalAADMParser.g:10095:2: Constraint\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getEExtendedTriggerConditionAccess().getConstraintKeyword_0_0()); \\n }\\n match(input,Constraint,FOLLOW_2); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getEExtendedTriggerConditionAccess().getConstraintKeyword_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\": \"493a26c7ad879e2fa1381dcf52b0c0be\",\n \"score\": \"0.49787426\",\n \"text\": \"private Constraints() {\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"167757ba599c0490b57bdd4d33b03d9c\",\n \"score\": \"0.49399474\",\n \"text\": \"DependencyConstraintSet getDependencyConstraints();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"48f962d313dc08c798773f281a52cf2d\",\n \"score\": \"0.4938887\",\n \"text\": \"public interface Constraint {\\n\\n /**\\n * Returns an array of parameter indizes representing the relevant parameters and their order for\\n * this constraint. When calling {@link #confirmsWith(Object[])} the Object[] has to be ordered by\\n * this array.\\n * \\n * @return An array representing the order and index of the involved parameters for this\\n * constraint.\\n */\\n public int[] getInvolvedParameters();\\n\\n /**\\n * Checks whether or not a specific input combination confirms with this constraint.\\n * \\n * @param inputCombination an Object[] representing the input combination. Has to be ordered in\\n * the way defined by {@link #getInvolvedParameters()}.\\n * @return whether or not the combination confirms with this constraint.\\n */\\n public abstract boolean confirmsWith(Object[] inputCombination);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ea3fe5a84458af44fc0280b8691a10f4\",\n \"score\": \"0.4933924\",\n \"text\": \"private String formatConstraints(String constraints, CustomRules rule)\\n {\\n constraints=replaceValueByNumber(constraints,Const.VALUE_Value_1Min,rule.getVal_1_min()+\\\"\\\");\\n constraints=replaceValueByNumber(constraints,Const.VALUE_Value_1Max,rule.getVal_1_max()+\\\"\\\");\\n constraints=replaceValueByNumber(constraints,Const.VALUE_Value_2Min,rule.getVal_2_min()+\\\"\\\");\\n constraints=replaceValueByNumber(constraints,Const.VALUE_Value_2Max,rule.getVal_2_max()+\\\"\\\");\\n return constraints;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1001f11170b39222f575d7fd4ec7aeee\",\n \"score\": \"0.49278623\",\n \"text\": \"@Override\\r\\n public void visitConstraint(Constraint constraint) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4468e3e9660249c525fa8399963b203d\",\n \"score\": \"0.49244905\",\n \"text\": \"public final void entryRuleEConstraint() throws RecognitionException {\\n try {\\n // InternalAADMParser.g:2466:1: ( ruleEConstraint EOF )\\n // InternalAADMParser.g:2467:1: ruleEConstraint EOF\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getEConstraintRule()); \\n }\\n pushFollow(FOLLOW_1);\\n ruleEConstraint();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getEConstraintRule()); \\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"66883d32bc1b85e17aac9d00711158cb\",\n \"score\": \"0.49168438\",\n \"text\": \"@Override\\n\\tprotected Constraint[] createInternalConstraints(Variable[] variables) {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"66883d32bc1b85e17aac9d00711158cb\",\n \"score\": \"0.49168438\",\n \"text\": \"@Override\\n\\tprotected Constraint[] createInternalConstraints(Variable[] variables) {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8e464cdf391af1fcb0ebc3518105a99e\",\n \"score\": \"0.4902582\",\n \"text\": \"public final void rule__ERequirements__Group__0() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalAADMParser.g:18168:1: ( rule__ERequirements__Group__0__Impl rule__ERequirements__Group__1 )\\n // InternalAADMParser.g:18169:2: rule__ERequirements__Group__0__Impl rule__ERequirements__Group__1\\n {\\n pushFollow(FOLLOW_4);\\n rule__ERequirements__Group__0__Impl();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n pushFollow(FOLLOW_2);\\n rule__ERequirements__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a05d4aca0f304a85a8c27b73e7c63ba4\",\n \"score\": \"0.49008143\",\n \"text\": \"public final void ruleERequirements() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalAADMParser.g:2378:2: ( ( ( rule__ERequirements__Group__0 ) ) )\\n // InternalAADMParser.g:2379:2: ( ( rule__ERequirements__Group__0 ) )\\n {\\n // InternalAADMParser.g:2379:2: ( ( rule__ERequirements__Group__0 ) )\\n // InternalAADMParser.g:2380:3: ( rule__ERequirements__Group__0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getERequirementsAccess().getGroup()); \\n }\\n // InternalAADMParser.g:2381:3: ( rule__ERequirements__Group__0 )\\n // InternalAADMParser.g:2381:4: rule__ERequirements__Group__0\\n {\\n pushFollow(FOLLOW_2);\\n rule__ERequirements__Group__0();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getERequirementsAccess().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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e6ad02cb904200cf98feed7f88c882ef\",\n \"score\": \"0.48962697\",\n \"text\": \"public final void entryRuleEConstraintList() throws RecognitionException {\\n try {\\n // InternalAADMParser.g:1241:1: ( ruleEConstraintList EOF )\\n // InternalAADMParser.g:1242:1: ruleEConstraintList EOF\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getEConstraintListRule()); \\n }\\n pushFollow(FOLLOW_1);\\n ruleEConstraintList();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getEConstraintListRule()); \\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c44a0856dd970f28669f8e678c079404\",\n \"score\": \"0.48822698\",\n \"text\": \"@Override\\n public void visitConstraint(Constraint constraint) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3831d319c5f8bb64a3a93d43598edc2\",\n \"score\": \"0.4878765\",\n \"text\": \"DependencyConstraintSet getAllDependencyConstraints();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9332eeb2081e12a98267d2d656fe1ae5\",\n \"score\": \"0.4878008\",\n \"text\": \"public void addConstraint(Constraint c) {\\n\\t\\tremoveConstraint(c.getName());\\n\\t\\tconstraints.add(c);\\n\\t\\tconstraint_lookup.put(c.getName(), c);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4b4047baaf6c3162bb27e282bc38e804\",\n \"score\": \"0.48761386\",\n \"text\": \"public final void rule__EConstraintList__Group__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalAADMParser.g:11200:1: ( ( ( rule__EConstraintList__ListAssignment_0 ) ) )\\n // InternalAADMParser.g:11201:1: ( ( rule__EConstraintList__ListAssignment_0 ) )\\n {\\n // InternalAADMParser.g:11201:1: ( ( rule__EConstraintList__ListAssignment_0 ) )\\n // InternalAADMParser.g:11202:2: ( rule__EConstraintList__ListAssignment_0 )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getEConstraintListAccess().getListAssignment_0()); \\n }\\n // InternalAADMParser.g:11203:2: ( rule__EConstraintList__ListAssignment_0 )\\n // InternalAADMParser.g:11203:3: rule__EConstraintList__ListAssignment_0\\n {\\n pushFollow(FOLLOW_2);\\n rule__EConstraintList__ListAssignment_0();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getEConstraintListAccess().getListAssignment_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\": \"bf093a85452fc84d6ede0613f5e73e02\",\n \"score\": \"0.48694715\",\n \"text\": \"public final void rule__ERequirements__Group__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalAADMParser.g:18180:1: ( ( () ) )\\n // InternalAADMParser.g:18181:1: ( () )\\n {\\n // InternalAADMParser.g:18181:1: ( () )\\n // InternalAADMParser.g:18182:2: ()\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getERequirementsAccess().getERequirementsAction_0()); \\n }\\n // InternalAADMParser.g:18183:2: ()\\n // InternalAADMParser.g:18183:3: \\n {\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getERequirementsAccess().getERequirementsAction_0()); \\n }\\n\\n }\\n\\n\\n }\\n\\n }\\n finally {\\n\\n \\trestoreStackSize(stackSize);\\n\\n }\\n return ;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dac835b663183427e04bb1d5b1982476\",\n \"score\": \"0.48651877\",\n \"text\": \"Literal getConstraint();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7301f2daf6b1473a45dbf25aa0bb3228\",\n \"score\": \"0.4860158\",\n \"text\": \"public final void rule__ERequirementAssignment__Group__2__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalAADMParser.g:5002:1: ( ( RULE_BEGIN ) )\\n // InternalAADMParser.g:5003:1: ( RULE_BEGIN )\\n {\\n // InternalAADMParser.g:5003:1: ( RULE_BEGIN )\\n // InternalAADMParser.g:5004:2: RULE_BEGIN\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getERequirementAssignmentAccess().getBEGINTerminalRuleCall_2()); \\n }\\n match(input,RULE_BEGIN,FOLLOW_2); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getERequirementAssignmentAccess().getBEGINTerminalRuleCall_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3f9afb12176be3d172451c1f8cfe06dc\",\n \"score\": \"0.48541114\",\n \"text\": \"public final void rule__ActivationConstraints__Group__8__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalComponentDefinition.g:4230:1: ( ( '}' ) )\\n // InternalComponentDefinition.g:4231:1: ( '}' )\\n {\\n // InternalComponentDefinition.g:4231:1: ( '}' )\\n // InternalComponentDefinition.g:4232:2: '}'\\n {\\n before(grammarAccess.getActivationConstraintsAccess().getRightCurlyBracketKeyword_8()); \\n match(input,19,FOLLOW_2); \\n after(grammarAccess.getActivationConstraintsAccess().getRightCurlyBracketKeyword_8()); \\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\": \"922ac6b4ae83fc3ffb8d5d1d6292b1e4\",\n \"score\": \"0.48405978\",\n \"text\": \"public final void ruleEConstraint() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalAADMParser.g:2478:2: ( ( ( rule__EConstraint__Alternatives ) ) )\\n // InternalAADMParser.g:2479:2: ( ( rule__EConstraint__Alternatives ) )\\n {\\n // InternalAADMParser.g:2479:2: ( ( rule__EConstraint__Alternatives ) )\\n // InternalAADMParser.g:2480:3: ( rule__EConstraint__Alternatives )\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getEConstraintAccess().getAlternatives()); \\n }\\n // InternalAADMParser.g:2481:3: ( rule__EConstraint__Alternatives )\\n // InternalAADMParser.g:2481:4: rule__EConstraint__Alternatives\\n {\\n pushFollow(FOLLOW_2);\\n rule__EConstraint__Alternatives();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n\\n }\\n\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getEConstraintAccess().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\": \"cbe9ec7564ced6116b140ed4f7909644\",\n \"score\": \"0.48351645\",\n \"text\": \"public final void rule__Constraint__Group__1__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalDsl.g:13004:1: ( ( ';' ) )\\n // InternalDsl.g:13005:1: ( ';' )\\n {\\n // InternalDsl.g:13005:1: ( ';' )\\n // InternalDsl.g:13006:2: ';'\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getConstraintAccess().getSemicolonKeyword_1()); \\n }\\n match(input,64,FOLLOW_2); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getConstraintAccess().getSemicolonKeyword_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"baee5494e9a82a5b7d4b674c8160923d\",\n \"score\": \"0.48303503\",\n \"text\": \"public int countConstraints() {\\n\\t\\treturn constraints.size();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d4e5f733c2df03b7a662d99061deb274\",\n \"score\": \"0.48280022\",\n \"text\": \"public final void rule__ActivationConstraints__Group__6() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalComponentDefinition.g:4165:1: ( rule__ActivationConstraints__Group__6__Impl rule__ActivationConstraints__Group__7 )\\n // InternalComponentDefinition.g:4166:2: rule__ActivationConstraints__Group__6__Impl rule__ActivationConstraints__Group__7\\n {\\n pushFollow(FOLLOW_30);\\n rule__ActivationConstraints__Group__6__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__ActivationConstraints__Group__7();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"94540635295ee9a73523ad2b176655c2\",\n \"score\": \"0.48176447\",\n \"text\": \"public final void rule__ProcessType__Group__3__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalDsl.g:12195:1: ( ( ( rule__ProcessType__ConstraintsAssignment_3 )? ) )\\n // InternalDsl.g:12196:1: ( ( rule__ProcessType__ConstraintsAssignment_3 )? )\\n {\\n // InternalDsl.g:12196:1: ( ( rule__ProcessType__ConstraintsAssignment_3 )? )\\n // InternalDsl.g:12197:2: ( rule__ProcessType__ConstraintsAssignment_3 )?\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getProcessTypeAccess().getConstraintsAssignment_3()); \\n }\\n // InternalDsl.g:12198:2: ( rule__ProcessType__ConstraintsAssignment_3 )?\\n int alt89=2;\\n int LA89_0 = input.LA(1);\\n\\n if ( (LA89_0==99) ) {\\n alt89=1;\\n }\\n switch (alt89) {\\n case 1 :\\n // InternalDsl.g:12198:3: rule__ProcessType__ConstraintsAssignment_3\\n {\\n pushFollow(FOLLOW_2);\\n rule__ProcessType__ConstraintsAssignment_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.getProcessTypeAccess().getConstraintsAssignment_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c798fa0dcd181f70cb2a96ccf5073e30\",\n \"score\": \"0.48138738\",\n \"text\": \"public final void rule__ActivationConstraints__Group__8() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalComponentDefinition.g:4219:1: ( rule__ActivationConstraints__Group__8__Impl )\\n // InternalComponentDefinition.g:4220:2: rule__ActivationConstraints__Group__8__Impl\\n {\\n pushFollow(FOLLOW_2);\\n rule__ActivationConstraints__Group__8__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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f2761e73e6a7ea80389086dd843d4fa0\",\n \"score\": \"0.4786531\",\n \"text\": \"public final void rule__EConstraintList__ListAssignment_1_1() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalAADMParser.g:25117:1: ( ( ruleEConstraint ) )\\n // InternalAADMParser.g:25118:2: ( ruleEConstraint )\\n {\\n // InternalAADMParser.g:25118:2: ( ruleEConstraint )\\n // InternalAADMParser.g:25119:3: ruleEConstraint\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getEConstraintListAccess().getListEConstraintParserRuleCall_1_1_0()); \\n }\\n pushFollow(FOLLOW_2);\\n ruleEConstraint();\\n\\n state._fsp--;\\n if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getEConstraintListAccess().getListEConstraintParserRuleCall_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e6e3d3819bf5cee108cd9b571d12f29\",\n \"score\": \"0.47860774\",\n \"text\": \"public void setConstraints(XModel constraints) {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8e2cedbaa9c654a077ecaeb8ad891849\",\n \"score\": \"0.47808588\",\n \"text\": \"public final void rule__ActivationConstraints__Group__5() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalComponentDefinition.g:4138:1: ( rule__ActivationConstraints__Group__5__Impl rule__ActivationConstraints__Group__6 )\\n // InternalComponentDefinition.g:4139:2: rule__ActivationConstraints__Group__5__Impl rule__ActivationConstraints__Group__6\\n {\\n pushFollow(FOLLOW_30);\\n rule__ActivationConstraints__Group__5__Impl();\\n\\n state._fsp--;\\n\\n pushFollow(FOLLOW_2);\\n rule__ActivationConstraints__Group__6();\\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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"49edd36e8c437ffef84c2ff146be792c\",\n \"score\": \"0.47794333\",\n \"text\": \"public final void rule__EConstraintList__Group_1__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalAADMParser.g:11254:1: ( ( Comma ) )\\n // InternalAADMParser.g:11255:1: ( Comma )\\n {\\n // InternalAADMParser.g:11255:1: ( Comma )\\n // InternalAADMParser.g:11256:2: Comma\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getEConstraintListAccess().getCommaKeyword_1_0()); \\n }\\n match(input,Comma,FOLLOW_2); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getEConstraintListAccess().getCommaKeyword_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\": \"1e435e80bb3a0b7bc768f7d8cf16189e\",\n \"score\": \"0.47755307\",\n \"text\": \"public final void rule__Attribute__Group__4__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalDsl.g:12384:1: ( ( ( rule__Attribute__ConstraintsAssignment_4 )? ) )\\n // InternalDsl.g:12385:1: ( ( rule__Attribute__ConstraintsAssignment_4 )? )\\n {\\n // InternalDsl.g:12385:1: ( ( rule__Attribute__ConstraintsAssignment_4 )? )\\n // InternalDsl.g:12386:2: ( rule__Attribute__ConstraintsAssignment_4 )?\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getAttributeAccess().getConstraintsAssignment_4()); \\n }\\n // InternalDsl.g:12387:2: ( rule__Attribute__ConstraintsAssignment_4 )?\\n int alt92=2;\\n int LA92_0 = input.LA(1);\\n\\n if ( (LA92_0==99) ) {\\n alt92=1;\\n }\\n switch (alt92) {\\n case 1 :\\n // InternalDsl.g:12387:3: rule__Attribute__ConstraintsAssignment_4\\n {\\n pushFollow(FOLLOW_2);\\n rule__Attribute__ConstraintsAssignment_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.getAttributeAccess().getConstraintsAssignment_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8dd82aff29287447770b1173fc2c4fb1\",\n \"score\": \"0.47686654\",\n \"text\": \"public final void rule__ENodeTemplateBody__Group_5__0__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalAADMParser.g:4678:1: ( ( Requirements ) )\\n // InternalAADMParser.g:4679:1: ( Requirements )\\n {\\n // InternalAADMParser.g:4679:1: ( Requirements )\\n // InternalAADMParser.g:4680:2: Requirements\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getENodeTemplateBodyAccess().getRequirementsKeyword_5_0()); \\n }\\n match(input,Requirements,FOLLOW_2); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getENodeTemplateBodyAccess().getRequirementsKeyword_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 }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ea5a41f876fe2260e4e259f5251c0cfa\",\n \"score\": \"0.47543237\",\n \"text\": \"public final void rule__ECapabilityAssignment__Group_3__1__Impl() throws RecognitionException {\\n\\n \\t\\tint stackSize = keepStackSize();\\n \\t\\n try {\\n // InternalAADMParser.g:5353:1: ( ( RULE_BEGIN ) )\\n // InternalAADMParser.g:5354:1: ( RULE_BEGIN )\\n {\\n // InternalAADMParser.g:5354:1: ( RULE_BEGIN )\\n // InternalAADMParser.g:5355:2: RULE_BEGIN\\n {\\n if ( state.backtracking==0 ) {\\n before(grammarAccess.getECapabilityAssignmentAccess().getBEGINTerminalRuleCall_3_1()); \\n }\\n match(input,RULE_BEGIN,FOLLOW_2); if (state.failed) return ;\\n if ( state.backtracking==0 ) {\\n after(grammarAccess.getECapabilityAssignmentAccess().getBEGINTerminalRuleCall_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 }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":372,"cells":{"query_id":{"kind":"string","value":"4d531daf705408bc4e1817e91b573269"},"query":{"kind":"string","value":"Inserts and returns a new empty value (as xml) as the ith \"OrderReferences\" element"},"positive_passages":{"kind":"list like","value":[{"docid":"52019a3f8650157fd94e8e8b66c1112e","score":"0.602673","text":"public x0301.oecdStandardAuditFileTaxPT1.OrderReferences insertNewOrderReferences(int i)\n {\n synchronized (monitor())\n {\n check_orphaned();\n x0301.oecdStandardAuditFileTaxPT1.OrderReferences target = null;\n target = (x0301.oecdStandardAuditFileTaxPT1.OrderReferences)get_store().insert_element_user(ORDERREFERENCES$2, i);\n return target;\n }\n }","title":""}],"string":"[\n {\n \"docid\": \"52019a3f8650157fd94e8e8b66c1112e\",\n \"score\": \"0.602673\",\n \"text\": \"public x0301.oecdStandardAuditFileTaxPT1.OrderReferences insertNewOrderReferences(int i)\\n {\\n synchronized (monitor())\\n {\\n check_orphaned();\\n x0301.oecdStandardAuditFileTaxPT1.OrderReferences target = null;\\n target = (x0301.oecdStandardAuditFileTaxPT1.OrderReferences)get_store().insert_element_user(ORDERREFERENCES$2, i);\\n return target;\\n }\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"4df7d0ca48bdc3c7f55ebf60e37d7cd5","score":"0.6448633","text":"public x0301.oecdStandardAuditFileTaxPT1.OrderReferences addNewOrderReferences()\n {\n synchronized (monitor())\n {\n check_orphaned();\n x0301.oecdStandardAuditFileTaxPT1.OrderReferences target = null;\n target = (x0301.oecdStandardAuditFileTaxPT1.OrderReferences)get_store().add_element_user(ORDERREFERENCES$2);\n return target;\n }\n }","title":""},{"docid":"4df7d0ca48bdc3c7f55ebf60e37d7cd5","score":"0.6448633","text":"public x0301.oecdStandardAuditFileTaxPT1.OrderReferences addNewOrderReferences()\n {\n synchronized (monitor())\n {\n check_orphaned();\n x0301.oecdStandardAuditFileTaxPT1.OrderReferences target = null;\n target = (x0301.oecdStandardAuditFileTaxPT1.OrderReferences)get_store().add_element_user(ORDERREFERENCES$2);\n return target;\n }\n }","title":""},{"docid":"4df7d0ca48bdc3c7f55ebf60e37d7cd5","score":"0.6448633","text":"public x0301.oecdStandardAuditFileTaxPT1.OrderReferences addNewOrderReferences()\n {\n synchronized (monitor())\n {\n check_orphaned();\n x0301.oecdStandardAuditFileTaxPT1.OrderReferences target = null;\n target = (x0301.oecdStandardAuditFileTaxPT1.OrderReferences)get_store().add_element_user(ORDERREFERENCES$2);\n return target;\n }\n }","title":""},{"docid":"75d512131650114a6553ef19d6f57f8e","score":"0.55728793","text":"OrderRef1 createOrderRef1();","title":""},{"docid":"bddee1c7bb75509e81d146a91ddc1ef3","score":"0.5490115","text":"OrderRef2 createOrderRef2();","title":""},{"docid":"386ab3f79da0a5606fc72dad43eb07c0","score":"0.53239185","text":"public x0301.oecdStandardAuditFileTaxPT1.References addNewReferences()\n {\n synchronized (monitor())\n {\n check_orphaned();\n x0301.oecdStandardAuditFileTaxPT1.References target = null;\n target = (x0301.oecdStandardAuditFileTaxPT1.References)get_store().add_element_user(REFERENCES$16);\n return target;\n }\n }","title":""},{"docid":"8833f8ce1b0f4d4b581475443582fb1e","score":"0.5180745","text":"private void writeRefs(Collection refs)\n throws SAXException {\n if (refs == null)\n return;\n\n SimpleAttributes atts = new SimpleAttributes();\n for (Object o : refs) {\n if (o instanceof Note) {\n Note n = (Note) o;\n if (n.getName() != null)\n atts.addAttribute(Tags.NAME, n.getName());\n writer.startElement(\"\", Tags.NOTE, \"\", atts);\n writer.charactersRaw(n.toString());\n writer.endElement(Tags.NOTE);\n atts.clear();\n } else if (o instanceof Ref) {\n writer.dataElement(Tags.REF, ((Ref) o).getLabel());\n } else\n throw new RuntimeException(\"Not a note/ref\"+ o);\n }\n }","title":""},{"docid":"2320693d6c6453a7703dfdb464bf66c7","score":"0.51613224","text":"public x0301.oecdStandardAuditFileTaxPT1.References insertNewReferences(int i)\n {\n synchronized (monitor())\n {\n check_orphaned();\n x0301.oecdStandardAuditFileTaxPT1.References target = null;\n target = (x0301.oecdStandardAuditFileTaxPT1.References)get_store().insert_element_user(REFERENCES$16, i);\n return target;\n }\n }","title":""},{"docid":"1794bd12868d66ae234ceb90b2157440","score":"0.5112039","text":"void xsetOrderID(org.apache.xmlbeans.XmlString orderID);","title":""},{"docid":"20d884755ecdf2b872e8df3022d3a544","score":"0.51058143","text":"private void addRef(URI uri, List refParents, String refValue) {\n Reference reference = referenceRegistry.addRef(uri, refValue);\n\n // Inject the canonical value to the document\n // to auto-setup the value when mapping from parser.\n for (JsonNode refParent : refParents) {\n if (refValue.equals(refParent.get(refKeyword).textValue())) {\n ((ObjectNode) refParent).set(ABS_REF_FIELD, TreeUtil.json.getNodeFactory().textNode(reference.getCanonicalRef()));\n }\n }\n }","title":""},{"docid":"1ebb5e17a05294066adf8689d60ece6c","score":"0.50533384","text":"gov.nih.nlm.ncbi.www.DocRefDocument.DocRef insertNewDocRef(int i);","title":""},{"docid":"80d5a0efa502ce0260a758b4abe55a4f","score":"0.5048228","text":"private String getOrderAsXML() throws Exception{\n\t\tStringWriter sw = new StringWriter();\n\t\tMarshaller m = jc.createMarshaller();\n\t\tm.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);\n\t\tm.marshal(po, sw);\n\t\treturn sw.toString();\n\t}","title":""},{"docid":"43fc44ee4e9d27779d41560924036697","score":"0.49845463","text":"private Element insertDataValue(Document xmlout, Element parentElement, String dataPointName, Document xmlin, String path, String group) {\n\t\tElement element = null;\n\t\tString str = getDataValue(xmlin, dataPointName, path, group);\n\t\tif (str != null && !\"\".equals(str)) {\n\t\t\telement = (Element)parentElement.appendChild(xmlout.createElement(addNamespace(dataPointName)));\n\t\t\tif (\"AggregateAdjustment\".equals(dataPointName))\n\t\t\t\telement.appendChild(xmlout.createTextNode(str));\n\t\t\telse\n\t\t\t\telement.appendChild(xmlout.createTextNode(toAbsolute(str)));\n\t\t}\n\t\treturn element;\n\t}","title":""},{"docid":"8dbeedb808bc9c95557684246670238f","score":"0.4967704","text":"public void setOrderReference(String orderReference) {\n this.orderReference = orderReference;\n }","title":""},{"docid":"0fc51a84bf59b665bbc98631e8c2ee97","score":"0.49391323","text":"int insert (RdOrder record);","title":""},{"docid":"7b53acc0210f94a3c436727681f6dd05","score":"0.49208635","text":"org.apache.xmlbeans.XmlString xgetOrderID();","title":""},{"docid":"0c1715da60f69df969b256f429e1990e","score":"0.4904047","text":"gov.nih.nlm.ncbi.www.DocRefDocument.DocRef addNewDocRef();","title":""},{"docid":"23b9b3991eba393bf9b5b0182497c568","score":"0.49012852","text":"org.landxml.schema.landXML11.DocFileRefDocument.DocFileRef addNewDocFileRef();","title":""},{"docid":"bfc9a4e56f78a0600d41097a1e0696d2","score":"0.4886202","text":"public void getOrderReferenceNumber() {\n\t\tString referenceNumber = getTextofElement(orderReference);\n\t\tlog.info(\"Your Reference number is: \" + referenceNumber );\n\t}","title":""},{"docid":"8eaebde0d401490d3568e16c72f21737","score":"0.48785466","text":"gov.nih.nlm.ncbi.www.NumRefDocument.NumRef addNewNumRef();","title":""},{"docid":"2f67acbfcb9c1e75322a7bbd5e34be82","score":"0.48580003","text":"private void insertValueAndReferenceAfter(RTreeNode refNode, RTreeNode node)\n throws IOException {\n int index = getIndexOf(refNode);\n\n // insert at index\n insertChild(index + 1, node);\n node.setParentAddress(address);\n }","title":""},{"docid":"864f7ee52323a1250e2a0cc1a9749dfc","score":"0.4828805","text":"@Override\n\t\t\tpublic String insert() {\n\t\t\t\treturn null;\n\t\t\t}","title":""},{"docid":"e2cf710e0e211f153005a78f68ee26a7","score":"0.482201","text":"private void mapServiceOrderCustomRef(ServiceOrder serviceOrder, CustomReferences customReferences, String templateName, Integer ownerId) {\r\n\t\tlogger.info(\"Mapping: Customer Reference --->Starts\");\r\n\r\n\t\tList soCustomRefsVoList = new ArrayList();\r\n\t\tif (null != customReferences && null != customReferences.getCustomRefList()) {\r\n\t\t\tfor (CustomReference customRef : customReferences.getCustomRefList()) {\r\n\t\t\t\t//changes for SL-20772 --START\r\n\t\t\t\tString refType = customRef.getName();\r\n\t\t\t\tSOCustomReference customRefVO = new SOCustomReference();\r\n\t\t\t\tif (ownerId.intValue() == PublicAPIConstant.BUYER_9000.intValue()\r\n\t\t\t\t\t\t&& (PublicAPIConstant.SHOPIFY_ORDER_SKU_PRICE1\r\n\t\t\t\t\t\t\t\t.equalsIgnoreCase(refType)\r\n\t\t\t\t\t\t\t\t|| PublicAPIConstant.SHOPIFY_ORDER_SKU_PRICE2\r\n\t\t\t\t\t\t\t\t\t\t.equalsIgnoreCase(refType)\r\n\t\t\t\t\t\t\t\t|| PublicAPIConstant.SHOPIFY_ORDER_SKU_PRICE3\r\n\t\t\t\t\t\t\t\t\t\t.equalsIgnoreCase(refType) || PublicAPIConstant.SHOPIFY_ORDER_SKU_PRICE4\r\n\t\t\t\t\t\t\t\t\t.equalsIgnoreCase(refType))&& StringUtils.isNotBlank(customRef.getValue())) {\r\n\t\t\t\t\tcustomRefVO.setBuyerRefValue(customRef.getValue().replace(PublicAPIConstant.TARGET_STRING,PublicAPIConstant.REPLACEMENT_STRING));\r\n\t\t\t\t}\r\n\t\t\t\telse{\r\n\t\t\t\t\tcustomRefVO.setBuyerRefValue(customRef.getValue());\r\n\t\t\t\t}\r\n\t\t\t\t//changes for SL-20772 --END\r\n\t\t\t\tcustomRefVO.setBuyerRefTypeName(customRef.getName());\r\n\t\t\t\tcustomRefVO.setBuyerRefTypeId(getCustomRefTypeId(ownerId+\"\", customRef.getName()));\r\n\t\t\t\tsoCustomRefsVoList.add(customRefVO);\r\n\t\t\t}\r\n\t\t\t//see if the template name is not blank and add it as custom reference\r\n\t\t\tif(StringUtils.isNotBlank(templateName)){\r\n\t\t\t\tSOCustomReference customRefVO = new SOCustomReference();\r\n\t\t\t\tcustomRefVO.setBuyerRefValue(templateName);\r\n\t\t\t\tcustomRefVO.setBuyerRefTypeName(SOCustomReference.CREF_TEMPLATE_NAME);\r\n\t\t\t\tcustomRefVO.setBuyerRefTypeId(getCustomRefTypeId(ownerId+\"\", SOCustomReference.CREF_TEMPLATE_NAME));\r\n\t\t\t\tsoCustomRefsVoList.add(customRefVO);\r\n\t\t\t}\r\n\t\t\tif (!soCustomRefsVoList.isEmpty()) {\r\n\t\t\t\tserviceOrder.setCustomReferences(soCustomRefsVoList);\r\n\t\t\t}\r\n\t\t}\r\n\t}","title":""},{"docid":"730ec9f848db6db9bcefeced75abce0c","score":"0.4821865","text":"void setOrderElement(OrderElement orderElement) throws ProblemWithDatabaseException;","title":""},{"docid":"7a0fc89a319920274fde65c641cd4970","score":"0.47919685","text":"@Test\n public void testMarshallReferenceWithElement() {\n BindingModel myModel = new BindingModel();\n Root root = new Root(new QName(\"root\"), ObjectA.class);\n root.setChild(new Reference(new QName(\"reference\"), \"complexType\", null, false), NoGetter.INSTANCE, NoSetter.INSTANCE);\n myModel.registerRoot(root);\n\n ComplexType complexType = new ComplexType(\"complexType\", null, false);\n complexType.setChild(new SimpleType(new QName(\"name\"), false), \"name\");\n myModel.registerComplexType(complexType, true);\n\n ByteArrayOutputStream stream = new ByteArrayOutputStream();\n ObjectA instance = new ObjectA(\"test\");\n myModel.getXmlStreamer(instance.getClass(), null).toXml(XmlStreamFactory.makeWriter(stream), instance);\n assertEquals(\"test\", stream.toString());\n }","title":""},{"docid":"724c6560c70b552a5a64ef7b02ba0da3","score":"0.47793946","text":"public void addNewElement()\n {\n setEditedElement( new DnWrapper( Dn.EMPTY_DN ) );\n }","title":""},{"docid":"5f46994ac005c069d914928f2d143b28","score":"0.47650543","text":"@Override\n public int createOrder() {\n Order order = new SimpleOrder();\n this.orders.add(order);\n return order.getOrderId();\n }","title":""},{"docid":"ac485e1df23baa4d9f5f966eba9e16ef","score":"0.47301272","text":"com.walgreens.rxit.ch.cda.StrucDocFootnoteRef insertNewFootnoteRef(int i);","title":""},{"docid":"992d99702ac4c203bc95bd692c2df032","score":"0.47230375","text":"private void addReferences(org.jdom.Element e)\n {\n addReferences(e, xmgr.getCurrentDocument());\n }","title":""},{"docid":"3d51681fcb3503acdcbc36bfce4b4e38","score":"0.47181702","text":"int insert(XdProductOrder record);","title":""},{"docid":"b3e2fb39773c8c55cf603c052fb8896f","score":"0.46779546","text":"public XmlSerializableOrderBook() {\n orders = new ArrayList<>();\n }","title":""},{"docid":"81bab716f057e826ba37e0d7ec1394bc","score":"0.46631175","text":"int insert(H_Order record);","title":""},{"docid":"b31c1b72bfac3f96f6da6ead595d813b","score":"0.46585324","text":"int insert(Orderlist record);","title":""},{"docid":"30721649b1d62433019c355ccc28c8da","score":"0.46489286","text":"private void updateOrders() {\n\n for (int i = 0; i < this.orders.size(); i++) {\n\n Node node = this.orders.get(i);\n node.setOrder(this.orders.indexOf(node));\n }\n }","title":""},{"docid":"e04e581e2712296c6f5eff9b3e9f8eb2","score":"0.46465263","text":"private TreeElement createNode(TreeReference ref) {\n\n\t\tTreeElement node = root;\n\n\t\tfor (int k = 0; k < ref.size(); k++) {\n\t\t\tString name = (String) ref.names.elementAt(k);\n\t\t\tint count = node.getChildMultiplicity(name);\n\t\t\tint mult = ((Integer) ref.multiplicity.elementAt(k)).intValue();\n\n\t\t\tTreeElement child;\n\t\t\tif (k < ref.size() - 1) {\n\t\t\t\tif (mult == TreeReference.INDEX_UNBOUND) {\n\t\t\t\t\tif (count > 1) {\n\t\t\t\t\t\treturn null; // don't know which node to use\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// will use existing (if one and only one) or create new\n\t\t\t\t\t\tmult = 0;\n\t\t\t\t\t\tref.multiplicity.setElementAt(new Integer(0), k);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// fetch\n\t\t\t\tchild = node.getChild(name, mult);\n\t\t\t\tif (child == null) {\n\t\t\t\t\tif (mult == 0) {\n\t\t\t\t\t\t// create\n\t\t\t\t\t\tchild = new TreeElement(name, count);\n\t\t\t\t\t\tnode.addChild(child);\n\t\t\t\t\t\tref.multiplicity.setElementAt(new Integer(count), k);\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn null; // intermediate node does not exist\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (mult == TreeReference.INDEX_UNBOUND || mult == count) {\n\t\t\t\t\tif (k == 0 && root.getNumChildren() != 0) {\n\t\t\t\t\t\treturn null; // can only be one top-level node, and it\n\t\t\t\t\t\t// already exists\n\t\t\t\t\t}\n\n\t\t\t\t\tif (!node.isChildable()) {\n\t\t\t\t\t\treturn null; // current node can't have children\n\t\t\t\t\t}\n\n\t\t\t\t\t// create new\n\t\t\t\t\tchild = new TreeElement(name, count);\n\t\t\t\t\tnode.addChild(child);\n\t\t\t\t\tref.multiplicity.setElementAt(new Integer(count), k);\n\t\t\t\t} else {\n\t\t\t\t\treturn null; // final node must be a newly-created node\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tnode = child;\n\t\t}\n\n\t\treturn node;\n\t}","title":""},{"docid":"11561c469afc8f24397f3f2afcc75e0d","score":"0.46003234","text":"private void insert(CrossReference crossReference) throws DAOException {\n\t\ttry {\n\t\t\tPreparedStatement stm = sqlLoader.getPreparedStatement(\"--insert.crossreference\", new String[]{\"id\"}, null);\n\t\t\tstm.clearParameters();\n stm.setString(1, crossReference.getAccession());\n stm.setLong(2, crossReference.getDb().getId());\n\t\t\tstm.executeUpdate();\n\n\t\t\tResultSet keys = stm.getGeneratedKeys();\n\n \t\twhile (keys.next()) {\n \t\t\tcrossReference.setId(keys.getLong(1)); //Should only be one\n \t if (LOGGER.isDebugEnabled())\n \t LOGGER.debug(\"insertIntoCrossReference: CrossReference inserted with id:\" + crossReference.getId());\n \t\t}\n\n \t\tkeys.close();\n\n // Add the crossreference to the identity map\n identityMap.addEntity(crossReference);\n\n\n\t\t} catch (SQLException ex) {\n throw new DAOException(ex);\n\t\t}\n\t}","title":""},{"docid":"f4d3654bcfd5996a46e641738b51ee9b","score":"0.45972034","text":"com.walgreens.rxit.ch.cda.StrucDocFootnoteRef addNewFootnoteRef();","title":""},{"docid":"6c53f148ae9110f48065157473d7c9b5","score":"0.45874313","text":"@Override\n\tpublic String insert() {\n\t\treturn null;\n\t}","title":""},{"docid":"17292865e1be84593c1a50a7a08b047b","score":"0.458333","text":"int insertSelective (RdOrder record);","title":""},{"docid":"916f2dfd78b12ca69d74f3ca0395a774","score":"0.45807907","text":"public M csodOrderNull(){if(this.get(\"csodOrderNot\")==null)this.put(\"csodOrderNot\", \"\");this.put(\"csodOrder\", null);return this;}","title":""},{"docid":"92d94ba9348859d64e1c82caa5576dae","score":"0.45748264","text":"public Order getNewOrder();","title":""},{"docid":"1fe28d3dee73b79dc1c1908cc4441b0a","score":"0.456773","text":"private Element insert(Element element){\n\t\tif (map == null){\n\t\t\tmap = new BinaryTree(element);\n\t\t\treturn null;\n\t\t} else{\n\t\t\treturn insert(element, map);\n\t\t}\n\t}","title":""},{"docid":"522121b638df99f6e90190ca2e648821","score":"0.45658526","text":"int insert(DesignerOrder record);","title":""},{"docid":"192446bc32b8d6a27e5cffa70e86e411","score":"0.4537156","text":"public void addReference(Referenced elm);","title":""},{"docid":"f3b08d20ead48023a3f74bc9b7d67c9c","score":"0.4531212","text":"public java.util.List getOrderReferencesList()\n {\n final class OrderReferencesList extends java.util.AbstractList\n {\n @Override\n public x0301.oecdStandardAuditFileTaxPT1.OrderReferences get(int i)\n { return LineImpl.this.getOrderReferencesArray(i); }\n \n @Override\n public x0301.oecdStandardAuditFileTaxPT1.OrderReferences set(int i, x0301.oecdStandardAuditFileTaxPT1.OrderReferences o)\n {\n x0301.oecdStandardAuditFileTaxPT1.OrderReferences old = LineImpl.this.getOrderReferencesArray(i);\n LineImpl.this.setOrderReferencesArray(i, o);\n return old;\n }\n \n @Override\n public void add(int i, x0301.oecdStandardAuditFileTaxPT1.OrderReferences o)\n { LineImpl.this.insertNewOrderReferences(i).set(o); }\n \n @Override\n public x0301.oecdStandardAuditFileTaxPT1.OrderReferences remove(int i)\n {\n x0301.oecdStandardAuditFileTaxPT1.OrderReferences old = LineImpl.this.getOrderReferencesArray(i);\n LineImpl.this.removeOrderReferences(i);\n return old;\n }\n \n @Override\n public int size()\n { return LineImpl.this.sizeOfOrderReferencesArray(); }\n \n }\n \n synchronized (monitor())\n {\n check_orphaned();\n return new OrderReferencesList();\n }\n }","title":""},{"docid":"f3b08d20ead48023a3f74bc9b7d67c9c","score":"0.4531212","text":"public java.util.List getOrderReferencesList()\n {\n final class OrderReferencesList extends java.util.AbstractList\n {\n @Override\n public x0301.oecdStandardAuditFileTaxPT1.OrderReferences get(int i)\n { return LineImpl.this.getOrderReferencesArray(i); }\n \n @Override\n public x0301.oecdStandardAuditFileTaxPT1.OrderReferences set(int i, x0301.oecdStandardAuditFileTaxPT1.OrderReferences o)\n {\n x0301.oecdStandardAuditFileTaxPT1.OrderReferences old = LineImpl.this.getOrderReferencesArray(i);\n LineImpl.this.setOrderReferencesArray(i, o);\n return old;\n }\n \n @Override\n public void add(int i, x0301.oecdStandardAuditFileTaxPT1.OrderReferences o)\n { LineImpl.this.insertNewOrderReferences(i).set(o); }\n \n @Override\n public x0301.oecdStandardAuditFileTaxPT1.OrderReferences remove(int i)\n {\n x0301.oecdStandardAuditFileTaxPT1.OrderReferences old = LineImpl.this.getOrderReferencesArray(i);\n LineImpl.this.removeOrderReferences(i);\n return old;\n }\n \n @Override\n public int size()\n { return LineImpl.this.sizeOfOrderReferencesArray(); }\n \n }\n \n synchronized (monitor())\n {\n check_orphaned();\n return new OrderReferencesList();\n }\n }","title":""},{"docid":"f3b08d20ead48023a3f74bc9b7d67c9c","score":"0.45304412","text":"public java.util.List getOrderReferencesList()\n {\n final class OrderReferencesList extends java.util.AbstractList\n {\n @Override\n public x0301.oecdStandardAuditFileTaxPT1.OrderReferences get(int i)\n { return LineImpl.this.getOrderReferencesArray(i); }\n \n @Override\n public x0301.oecdStandardAuditFileTaxPT1.OrderReferences set(int i, x0301.oecdStandardAuditFileTaxPT1.OrderReferences o)\n {\n x0301.oecdStandardAuditFileTaxPT1.OrderReferences old = LineImpl.this.getOrderReferencesArray(i);\n LineImpl.this.setOrderReferencesArray(i, o);\n return old;\n }\n \n @Override\n public void add(int i, x0301.oecdStandardAuditFileTaxPT1.OrderReferences o)\n { LineImpl.this.insertNewOrderReferences(i).set(o); }\n \n @Override\n public x0301.oecdStandardAuditFileTaxPT1.OrderReferences remove(int i)\n {\n x0301.oecdStandardAuditFileTaxPT1.OrderReferences old = LineImpl.this.getOrderReferencesArray(i);\n LineImpl.this.removeOrderReferences(i);\n return old;\n }\n \n @Override\n public int size()\n { return LineImpl.this.sizeOfOrderReferencesArray(); }\n \n }\n \n synchronized (monitor())\n {\n check_orphaned();\n return new OrderReferencesList();\n }\n }","title":""},{"docid":"d0f77ad145e28322a64965f4457c0f83","score":"0.45300075","text":"public String saveOrder(JsonDocument orderInfo);","title":""},{"docid":"1af4de1ffec48eec022154f886ec1363","score":"0.45286718","text":"public OrderItem insertOrderItem(OrderItem oi) {\n orderItemDAO.insertOrderItem(oi);\n return oi;\n }","title":""},{"docid":"6bee88b295e6b75cd4f295eaf6a8cf73","score":"0.45259356","text":"public void toMarshaling() {\n Warehouse.ordersSequencing.add(this.orderSequencing);\n this.orderSequencing = null;\n String output = this.picker.getName() + \" to Marshaling\";\n System.out.println(output);\n }","title":""},{"docid":"8cd289c51ac1cdca0122cb0737cc0c8b","score":"0.45231503","text":"public net.opengis.gml.x32.ReferenceType addNewReference()\n {\n synchronized (monitor())\n {\n check_orphaned();\n net.opengis.gml.x32.ReferenceType target = null;\n target = (net.opengis.gml.x32.ReferenceType)get_store().add_element_user(REFERENCE$6);\n return target;\n }\n }","title":""},{"docid":"e5bbd0d1bd886a298323efda43dd78fc","score":"0.4517274","text":"private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, net.wit.webservice.xxkyServiceStub.Add_WEB_ORDERENTER param, boolean optimizeContent, javax.xml.namespace.QName methodQName)\n throws org.apache.axis2.AxisFault{\n\n \n try{\n\n org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope();\n emptyEnvelope.getBody().addChild(param.getOMElement(net.wit.webservice.xxkyServiceStub.Add_WEB_ORDERENTER.MY_QNAME,factory));\n return emptyEnvelope;\n } catch(org.apache.axis2.databinding.ADBException e){\n throw org.apache.axis2.AxisFault.makeFault(e);\n }\n \n\n }","title":""},{"docid":"69898b956f94cdb43c21f03ecab6672f","score":"0.45140055","text":"@PostMapping(\"/api/orders\")\r\n public String createOrder(@RequestBody Order order) {\n order.setId(UUID.randomUUID().toString());\r\n order.setTimestamp(LocalDateTime.now());\r\n\r\n order.getItems().forEach(item -> {\r\n // Assign parent Id, generate one for the child item\r\n item.setOrderId(order.getId());\r\n item.setOrderItemId(UUID.randomUUID().toString());\r\n });\r\n return \"1\";\r\n }","title":""},{"docid":"89ab086f49ca59ef7c976325e229aaf3","score":"0.4503512","text":"int insert(OrderDO record);","title":""},{"docid":"89ab086f49ca59ef7c976325e229aaf3","score":"0.4503512","text":"int insert(OrderDO record);","title":""},{"docid":"0da008697f6944e92387c363c116e2ca","score":"0.44873437","text":"eu.aladdin_project.xsd.OperationResult addNewOut();","title":""},{"docid":"78ac6fa9bcb0430ffc097c4902751928","score":"0.4483502","text":"void addOrder(Order order);","title":""},{"docid":"78ac6fa9bcb0430ffc097c4902751928","score":"0.4483502","text":"void addOrder(Order order);","title":""},{"docid":"f8e76c0dc616e5595bd9462b40f19bea","score":"0.44817606","text":"private StringBuilder getXMLInsertField() {\n return new StringBuilder(CollectionUtil.join(CollectionUtil.removeAndTransList(moFieldList,\n item -> item.getName().equals(ConstantUtil.SQL_ID) || item.getName().equals(ConstantUtil.SQL_CREATE_TIME) || item.getName().equals(ConstantUtil.SQL_UPDATE_TIME),\n item -> ConstantUtil.TRIPLE_TAB + \"#{\" + item.getName() + \"}\"\n ), ConstantUtil.ENGLISH_COMMA + ConstantUtil.NEXT_LINE));\n }","title":""},{"docid":"4b00e880c6a42bee4ab41dc1cca5fd69","score":"0.44787967","text":"int insert(OrderItem record);","title":""},{"docid":"4b00e880c6a42bee4ab41dc1cca5fd69","score":"0.44787967","text":"int insert(OrderItem record);","title":""},{"docid":"9945e94a3c7cf9287c58704e3c7b3aa4","score":"0.44729158","text":"int insert(BluePrintEssentialElements record);","title":""},{"docid":"f2dc754e958f5b56247de05f0380e451","score":"0.44709647","text":"private void addOrderToInvoice(){\n\t\tOrder o = new Order(itemsList.getSelectionModel().getSelectedItem());\n\t\trepository.addOrder(o);\n\t\titemsList.getItems().remove(itemsList.getSelectionModel().getSelectedItem());\n\t}","title":""},{"docid":"8b6bc3c5c9f9c6c6ef52d0287fe0348f","score":"0.44697928","text":"public ReferencedContent createReferencedContent(Content refContent);","title":""},{"docid":"42b838da6554df05a48d105ad7fb0c46","score":"0.44617397","text":"int insert(Order record);","title":""},{"docid":"42b838da6554df05a48d105ad7fb0c46","score":"0.44617397","text":"int insert(Order record);","title":""},{"docid":"9ed6d4ef097f2e8a8fad41792b5e915f","score":"0.44583032","text":"public void insertarPorReferencia(int referencia, int valor) {\n Nodos nuevo = new Nodos();\n nuevo.setValor(valor);\n if (!nodoVacio()) {\n if (buscar(referencia)) {\n Nodos aux = inicio;\n while (aux.getValor() != referencia) {\n aux = aux.getSiguiente();\n }\n Nodos siguiente = aux.getSiguiente();\n aux.setSiguiente(nuevo);\n nuevo.setSiguiente(siguiente);\n size++;\n }\n }\n }","title":""},{"docid":"2cbeda7ed6717743f3d8274bd8c5ea91","score":"0.44562054","text":"@ApiModelProperty(required = true, value = \"A custom reference identifying the order.\")\n @JsonProperty(JSON_PROPERTY_REFERENCE)\n @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)\n\n public String getReference() {\n return reference;\n }","title":""},{"docid":"c11e944bd2c3533b40cc3eb9ae07da42","score":"0.44542184","text":"@Override\n protected Uri insertInTransaction(Uri uri, ContentValues values) {\n return null;\n }","title":""},{"docid":"513e869ba3ec83c6c1ed2449acf7c24e","score":"0.44474876","text":"protected > N recursiveInsert(N ref, V value) {\n if (value.compareTo(ref.getValue()) < 0) {\n if (ref.getLeft() == null) {\n // we found its position\n ref.setLeft(nodeCreator.createNewNode(value));\n } else {\n // keep looking on the left\n ref.setLeft(recursiveInsert(ref.getLeft(), value));\n }\n } else {\n if (ref.getRight() == null) {\n // we found its position\n ref.setRight(nodeCreator.createNewNode(value));\n } else {\n // keep looking on the right\n ref.setRight(recursiveInsert(ref.getRight(), value));\n }\n }\n \n return ref;\n }","title":""},{"docid":"5846d10f2e054b2fa10ac7fa92984ddd","score":"0.44474387","text":"public Node insertBefore(Node newChild, Node refChild) throws DOMException {\n return peer.insertBefore(newChild, refChild);\n }","title":""},{"docid":"945a5908926c335b600f147c0c1d9c38","score":"0.44322816","text":"@Override\r\n public boolean insertDetailOrder(DetailOrder order) {\r\n\r\n return PMF.insertObject(order);\r\n\r\n }","title":""},{"docid":"b7282c2979f162b8694f039de080065c","score":"0.44294178","text":"@Override\r\n\tpublic ComplementsRelations createAddressesComplements() {\n\t\treturn null;\r\n\t}","title":""},{"docid":"8a6224285fc55765541ee533e19b3b94","score":"0.44184223","text":"@Test\n public void test072() throws Throwable {\n XmlEntityRef xmlEntityRef0 = new XmlEntityRef(\"tru`e;\");\n xmlEntityRef0._setComponentId(\"tru`e;\");\n }","title":""},{"docid":"ff95355383930ba9666480b815421634","score":"0.44102362","text":"void addIdentifiersToXPath(StringBuffer out, Element el2,\n Map ns2Prefix) {\n AttributeUniqenessAnalyser anal = new AttributeUniqenessAnalyser();\n AttDataObj uniqueAttr = anal.getUniqueAttributeForElement(el2);\n if (uniqueAttr != null) {\n out.append(\"[@\");\n out.append(getAttStrForAtt(uniqueAttr.att)).append(\"='\");\n String val = el2.getAttribute(uniqueAttr.name, uniqueAttr.ns)\n .getValue();\n out.append(escape(val)).append(\"']\");\n\n } else {\n int indx = anal.getIndexForElementAmongstSiblings(el2);\n if (indx != -1)\n out.append(\"[\").append(indx).append(\"]\");\n }\n }","title":""},{"docid":"fcd88545a73f54325e5d00820e2bc675","score":"0.44075966","text":"public com.microsoft.schemas._2003._10.serialization.arrays.ArrayOfanyType addNewValues()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n com.microsoft.schemas._2003._10.serialization.arrays.ArrayOfanyType target = null;\r\n target = (com.microsoft.schemas._2003._10.serialization.arrays.ArrayOfanyType)get_store().add_element_user(VALUES$4);\r\n return target;\r\n }\r\n }","title":""},{"docid":"dd49a8d3cc7ddd9dce374b6bfb7c1f34","score":"0.4401326","text":"private void addReferences(org.jdom.Element e, Document d)\n {\n if (\"material\".equals(e.getName()))\n {\n // Check for composite or fraction tags.\n List l = e.getChildren(\"composite\");\n if (l.isEmpty())\n {\n l = e.getChildren(\"fraction\");\n }\n \n if (l.isEmpty())\n {\n // Bad XML. Required tags missing.\n throw new RuntimeException(\"Material does not contain required fraction or composite tags.\");\n }\n\n for (org.jdom.Element ce : (List)l)\n {\n String ref = ce.getAttributeValue(\"ref\");\n\n // Add if element.\n org.jdom.Element fnd = xmgr.findMaterialElementXML(ref, d);\n if (fnd != null)\n {\n xmgr.addMaterialElementRef(fnd);\n }\n // Add if material.\n else\n {\n fnd = xmgr.findMaterialXML(ref, d);\n\n if (fnd != null)\n {\n // Recursively add references of this material.\n addReferences(fnd, d);\n }\n else\n {\n throw new RuntimeException(\"Material or element reference not found: \" + ref);\n }\n }\n }\n \n // Add original material after refs resolved.\n xmgr.addMaterialRef(e);\n } \n }","title":""},{"docid":"675a420c6c8f4d6f4891fa393e37dd94","score":"0.43992493","text":"private void addInsertOrUpdateManuallyElement(XmlElement parent, IntrospectedTable introspectedTable) {\n XmlElement element = new XmlElement(\"insert\");\n context.getCommentGenerator().addComment(element);\n\n element.addAttribute(new Attribute(\"id\", \"insertOrUpdateManually\"));\n element.addAttribute(new Attribute(\"parameterType\", \"map\"));\n\n GeneratedKey gk = introspectedTable.getGeneratedKey();\n String updateGK = \"\";\n if (gk != null) {\n IntrospectedColumn introspectedColumn = introspectedTable.getColumn(gk.getColumn());\n if (introspectedColumn != null) {\n if (gk.isJdbcStandard()) {\n element.addAttribute(new Attribute(\"useGeneratedKeys\", \"true\"));\n element.addAttribute(new Attribute(\"keyProperty\", \"record.\" + introspectedColumn.getJavaProperty()));\n element.addAttribute(new Attribute(\"keyColumn\", introspectedColumn.getActualColumnName()));\n } else {\n element.addElement(getSelectKeyElement(introspectedColumn, gk));\n }\n updateGK = String.format(\", %s = last_insert_id(%s)\",\n introspectedColumn.getActualColumnName(), introspectedColumn.getActualColumnName());\n }\n }\n StringBuilder insertClause = new StringBuilder();\n StringBuilder valuesClause = new StringBuilder();\n insertClause.append(\"insert into \")\n .append(introspectedTable.getFullyQualifiedTableNameAtRuntime())\n .append(\" (\");\n valuesClause.append(\"values (\");\n\n List valuesClauses = new ArrayList<>();\n List columns = ListUtilities.removeIdentityAndGeneratedAlwaysColumns(\n introspectedTable.getAllColumns());\n for (int i = 0; i < columns.size(); i++) {\n IntrospectedColumn introspectedColumn = columns.get(i);\n\n insertClause.append(MyBatis3FormattingUtilities.getEscapedColumnName(introspectedColumn));\n String parameterClause = MyBatis3FormattingUtilities.getParameterClause(introspectedColumn);\n valuesClause.append(parameterClause.substring(0, 2))\n .append(\"record.\")\n .append(parameterClause.substring(2));\n\n if (i + 1 < columns.size()) {\n insertClause.append(\", \");\n valuesClause.append(\", \");\n }\n\n if (valuesClause.length() > 80) {\n element.addElement(new TextElement(insertClause.toString()));\n insertClause.setLength(0);\n OutputUtilities.xmlIndent(insertClause, 1);\n\n valuesClauses.add(valuesClause.toString());\n valuesClause.setLength(0);\n OutputUtilities.xmlIndent(valuesClause, 1);\n }\n }\n\n insertClause.append(')');\n element.addElement(new TextElement(insertClause.toString()));\n\n valuesClause.append(')');\n valuesClauses.add(valuesClause.toString());\n\n for (String clause: valuesClauses) {\n element.addElement(new TextElement(clause));\n }\n\n // if table has a generated key, append string like `id = last_insert_id(id)` to updateClause\n // to ensures the returned id always references the inserted entity or the updated entity\n element.addElement(new TextElement(\"on duplicate key update ${updateClause}\" + updateGK));\n\n parent.addElement(element);\n }","title":""},{"docid":"67c837033d2be2cc706e70ca1854430f","score":"0.43892798","text":"public void setRelIncidenceOrder(int order) {\n\t\tsetAttribute(GXL.STARTORDER, String.valueOf(order));\n\t}","title":""},{"docid":"ea4997e8570c00f4b1b4dd2b9a160e1f","score":"0.43881372","text":"@Override\n\tpublic void updateReforder(int ref, int reforder) throws Exception {\n\t\t\n\t}","title":""},{"docid":"591a02cc077fa6ae29d488bea2ef4634","score":"0.4385033","text":"public void createNestedElement(Order orderItem, String childName){\r\n\t\t\r\n\t\titem = doc.createElement(childName);\r\n\t\titem.setAttribute(\"PROD_NUMBER\", orderItem.prodId);\r\n\t\titem.setAttribute(\"PROD_NAME\", orderItem.prodName);\r\n\t\titem.setAttribute(\"QUANTITY\", orderItem.prodQuantity);\r\n\t\titem.setAttribute(\"UNIT_PRICE\", orderItem.prodValue);\r\n\t\torder.appendChild(item);\r\n\r\n\t\t\r\n\t}","title":""},{"docid":"923e8af77dd623b12d585c36718e889b","score":"0.43819878","text":"void insertTransaction(AirTransaction dRef);","title":""},{"docid":"ba3256fcf99fe0f2f57a58f0d64fa56b","score":"0.4380613","text":"public amdocs.iam.pd.webservices.quotation.getquoteoutput.Amounts addNewOC()\n {\n synchronized (monitor())\n {\n check_orphaned();\n amdocs.iam.pd.webservices.quotation.getquoteoutput.Amounts target = null;\n target = (amdocs.iam.pd.webservices.quotation.getquoteoutput.Amounts)get_store().add_element_user(OC$0);\n return target;\n }\n }","title":""},{"docid":"00c509dc5af47210a8a6ccf423d62043","score":"0.43772417","text":"@Test\n @SuppressWarnings(\"serial\")\n public void testEncodeNewReference() throws IOException {\n NewReference input = new NewReference(new Atom(\"nonode@nohost\"),\n Byte.valueOf(\"0\"), new ArrayList() {\n {\n add(0);\n add(0);\n add(94);\n }\n });\n byte[] expected = Utils.toBytes(131, 114, 0, 3, 115, 13, 110, 111, 110,\n 111, 100, 101, 64, 110, 111, 104, 111, 115, 116, 0, 0, 0, 0, 0,\n 0, 0, 0, 0, 0, 0, 0, 94);\n\n StreamEmulator stream = new StreamEmulator();\n Encoder.encode(input, stream);\n byte[] actual = stream.getBytes();\n\n assertArrayEquals(expected, actual);\n }","title":""},{"docid":"c7695b6ac479224218ab9feecb1a6675","score":"0.43757594","text":"int insertSelective(H_Order record);","title":""},{"docid":"07836597e804ac8e411386b618adb22f","score":"0.4372109","text":"int insertSelective(XdProductOrder record);","title":""},{"docid":"63523999e54832f456e4b67f375a88e7","score":"0.43579236","text":"private ElementDefinition storeStandardElement(final ElementDefinition elementDefinition) {\n\n final String[] completeElementNames = elementDefinition.elementName.completeElementNames;\n\n int index;\n for (final String completeElementName : completeElementNames) {\n\n index = binarySearch(this.templateMode.isCaseSensitive(), this.standardRepositoryNames, completeElementName);\n\n // binary Search returned (-(insertion point) - 1)\n this.standardRepositoryNames.add(((index + 1) * -1), completeElementName);\n this.standardRepository.add(((index + 1) * -1), elementDefinition);\n\n index = binarySearch(this.templateMode.isCaseSensitive(), this.repositoryNames, completeElementName);\n\n // binary Search returned (-(insertion point) - 1)\n this.repositoryNames.add(((index + 1) * -1), completeElementName);\n this.repository.add(((index + 1) * -1), elementDefinition);\n\n }\n\n return elementDefinition;\n\n }","title":""},{"docid":"0f15680e69de1e3c9eba0748cafd7bef","score":"0.43539077","text":"int insert(ManufacturingOrder record);","title":""},{"docid":"7984c1e5b0b13c33103a5d8455dfeb2c","score":"0.43522656","text":"int insertSelective(OrderDO record);","title":""},{"docid":"7984c1e5b0b13c33103a5d8455dfeb2c","score":"0.43522656","text":"int insertSelective(OrderDO record);","title":""},{"docid":"80ae8f1d6a164e0288e4582824dbb823","score":"0.434843","text":"@Test(timeout = 4000)\n public void test131() throws Throwable {\n XmlEntityRef xmlEntityRef0 = new XmlEntityRef(\"2{;,hz&Z\");\n xmlEntityRef0._setComponentId(\"2{;,hz&Z\");\n assertNull(xmlEntityRef0.defaultTagName());\n }","title":""},{"docid":"48a9751e03db9259998e2c7169b21f84","score":"0.4346384","text":"@Test\n\tpublic void nullOrderTest(){\n\t\t//try to place a null order\n\t\tcompany.addOrder(null);\n\t}","title":""},{"docid":"a7fdae1b56eab8a61844a6efbfc2cc76","score":"0.43429202","text":"@Test(timeout = 4000)\n public void test004() throws Throwable {\n XmlEntityRef xmlEntityRef0 = new XmlEntityRef(\"h6\");\n xmlEntityRef0.afterAdd();\n assertFalse(xmlEntityRef0._isGeneratedId());\n }","title":""},{"docid":"5ab5047e25a942601595c4a4e2daddf8","score":"0.43406725","text":"private static void findAllElementRefNodes(Node qdmVariableNode) {\r\n if ((qdmVariableNode != null) && qdmVariableNode.hasChildNodes()) {\r\n for (int i = 0; i < qdmVariableNode.getChildNodes().getLength(); i++) {\r\n Node childNode = qdmVariableNode.getChildNodes().item(i);\r\n if (childNode.getNodeName().equalsIgnoreCase(\"elementRef\")) {\r\n if (childNode.hasChildNodes()) {\r\n System.out.println(childNode.getFirstChild().getNodeName());\r\n Node attrNode = childNode.getFirstChild();\r\n if (attrNode.getAttributes().getNamedItem(\"attrUUID\") != null) {\r\n attrNode.getAttributes().getNamedItem(\"attrUUID\").setNodeValue(UUIDUtilClient.uuid());\r\n }\r\n }\r\n } else {\r\n if (childNode.hasChildNodes()) {\r\n findAllElementRefNodes(childNode);\r\n }\r\n }\r\n }\r\n }\r\n }","title":""},{"docid":"664c98b50b8b1da6c67b503c64f9efe6","score":"0.43355435","text":"int insert(BmOrder record);","title":""},{"docid":"d0b0db8062ea99911db305b4cfdaf1cc","score":"0.4334761","text":"public org.netbeans.modules.portalpack.websynergy.servicebuilder.beans.Order newOrder() {\n\t\treturn new org.netbeans.modules.portalpack.websynergy.servicebuilder.beans.impl.Order();\n\t}","title":""},{"docid":"cd22f87f2c1aaca7a024ca904aa58a38","score":"0.43344387","text":"int insert(ErpOaWorkOrder record);","title":""},{"docid":"450cbfe508068a9eab075920cd06f4e5","score":"0.4330314","text":"public int addOrder(Order order);","title":""}],"string":"[\n {\n \"docid\": \"4df7d0ca48bdc3c7f55ebf60e37d7cd5\",\n \"score\": \"0.6448633\",\n \"text\": \"public x0301.oecdStandardAuditFileTaxPT1.OrderReferences addNewOrderReferences()\\n {\\n synchronized (monitor())\\n {\\n check_orphaned();\\n x0301.oecdStandardAuditFileTaxPT1.OrderReferences target = null;\\n target = (x0301.oecdStandardAuditFileTaxPT1.OrderReferences)get_store().add_element_user(ORDERREFERENCES$2);\\n return target;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4df7d0ca48bdc3c7f55ebf60e37d7cd5\",\n \"score\": \"0.6448633\",\n \"text\": \"public x0301.oecdStandardAuditFileTaxPT1.OrderReferences addNewOrderReferences()\\n {\\n synchronized (monitor())\\n {\\n check_orphaned();\\n x0301.oecdStandardAuditFileTaxPT1.OrderReferences target = null;\\n target = (x0301.oecdStandardAuditFileTaxPT1.OrderReferences)get_store().add_element_user(ORDERREFERENCES$2);\\n return target;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4df7d0ca48bdc3c7f55ebf60e37d7cd5\",\n \"score\": \"0.6448633\",\n \"text\": \"public x0301.oecdStandardAuditFileTaxPT1.OrderReferences addNewOrderReferences()\\n {\\n synchronized (monitor())\\n {\\n check_orphaned();\\n x0301.oecdStandardAuditFileTaxPT1.OrderReferences target = null;\\n target = (x0301.oecdStandardAuditFileTaxPT1.OrderReferences)get_store().add_element_user(ORDERREFERENCES$2);\\n return target;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75d512131650114a6553ef19d6f57f8e\",\n \"score\": \"0.55728793\",\n \"text\": \"OrderRef1 createOrderRef1();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bddee1c7bb75509e81d146a91ddc1ef3\",\n \"score\": \"0.5490115\",\n \"text\": \"OrderRef2 createOrderRef2();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"386ab3f79da0a5606fc72dad43eb07c0\",\n \"score\": \"0.53239185\",\n \"text\": \"public x0301.oecdStandardAuditFileTaxPT1.References addNewReferences()\\n {\\n synchronized (monitor())\\n {\\n check_orphaned();\\n x0301.oecdStandardAuditFileTaxPT1.References target = null;\\n target = (x0301.oecdStandardAuditFileTaxPT1.References)get_store().add_element_user(REFERENCES$16);\\n return target;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8833f8ce1b0f4d4b581475443582fb1e\",\n \"score\": \"0.5180745\",\n \"text\": \"private void writeRefs(Collection refs)\\n throws SAXException {\\n if (refs == null)\\n return;\\n\\n SimpleAttributes atts = new SimpleAttributes();\\n for (Object o : refs) {\\n if (o instanceof Note) {\\n Note n = (Note) o;\\n if (n.getName() != null)\\n atts.addAttribute(Tags.NAME, n.getName());\\n writer.startElement(\\\"\\\", Tags.NOTE, \\\"\\\", atts);\\n writer.charactersRaw(n.toString());\\n writer.endElement(Tags.NOTE);\\n atts.clear();\\n } else if (o instanceof Ref) {\\n writer.dataElement(Tags.REF, ((Ref) o).getLabel());\\n } else\\n throw new RuntimeException(\\\"Not a note/ref\\\"+ o);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2320693d6c6453a7703dfdb464bf66c7\",\n \"score\": \"0.51613224\",\n \"text\": \"public x0301.oecdStandardAuditFileTaxPT1.References insertNewReferences(int i)\\n {\\n synchronized (monitor())\\n {\\n check_orphaned();\\n x0301.oecdStandardAuditFileTaxPT1.References target = null;\\n target = (x0301.oecdStandardAuditFileTaxPT1.References)get_store().insert_element_user(REFERENCES$16, i);\\n return target;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1794bd12868d66ae234ceb90b2157440\",\n \"score\": \"0.5112039\",\n \"text\": \"void xsetOrderID(org.apache.xmlbeans.XmlString orderID);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"20d884755ecdf2b872e8df3022d3a544\",\n \"score\": \"0.51058143\",\n \"text\": \"private void addRef(URI uri, List refParents, String refValue) {\\n Reference reference = referenceRegistry.addRef(uri, refValue);\\n\\n // Inject the canonical value to the document\\n // to auto-setup the value when mapping from parser.\\n for (JsonNode refParent : refParents) {\\n if (refValue.equals(refParent.get(refKeyword).textValue())) {\\n ((ObjectNode) refParent).set(ABS_REF_FIELD, TreeUtil.json.getNodeFactory().textNode(reference.getCanonicalRef()));\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1ebb5e17a05294066adf8689d60ece6c\",\n \"score\": \"0.50533384\",\n \"text\": \"gov.nih.nlm.ncbi.www.DocRefDocument.DocRef insertNewDocRef(int i);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80d5a0efa502ce0260a758b4abe55a4f\",\n \"score\": \"0.5048228\",\n \"text\": \"private String getOrderAsXML() throws Exception{\\n\\t\\tStringWriter sw = new StringWriter();\\n\\t\\tMarshaller m = jc.createMarshaller();\\n\\t\\tm.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);\\n\\t\\tm.marshal(po, sw);\\n\\t\\treturn sw.toString();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"43fc44ee4e9d27779d41560924036697\",\n \"score\": \"0.49845463\",\n \"text\": \"private Element insertDataValue(Document xmlout, Element parentElement, String dataPointName, Document xmlin, String path, String group) {\\n\\t\\tElement element = null;\\n\\t\\tString str = getDataValue(xmlin, dataPointName, path, group);\\n\\t\\tif (str != null && !\\\"\\\".equals(str)) {\\n\\t\\t\\telement = (Element)parentElement.appendChild(xmlout.createElement(addNamespace(dataPointName)));\\n\\t\\t\\tif (\\\"AggregateAdjustment\\\".equals(dataPointName))\\n\\t\\t\\t\\telement.appendChild(xmlout.createTextNode(str));\\n\\t\\t\\telse\\n\\t\\t\\t\\telement.appendChild(xmlout.createTextNode(toAbsolute(str)));\\n\\t\\t}\\n\\t\\treturn element;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8dbeedb808bc9c95557684246670238f\",\n \"score\": \"0.4967704\",\n \"text\": \"public void setOrderReference(String orderReference) {\\n this.orderReference = orderReference;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0fc51a84bf59b665bbc98631e8c2ee97\",\n \"score\": \"0.49391323\",\n \"text\": \"int insert (RdOrder record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7b53acc0210f94a3c436727681f6dd05\",\n \"score\": \"0.49208635\",\n \"text\": \"org.apache.xmlbeans.XmlString xgetOrderID();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0c1715da60f69df969b256f429e1990e\",\n \"score\": \"0.4904047\",\n \"text\": \"gov.nih.nlm.ncbi.www.DocRefDocument.DocRef addNewDocRef();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"23b9b3991eba393bf9b5b0182497c568\",\n \"score\": \"0.49012852\",\n \"text\": \"org.landxml.schema.landXML11.DocFileRefDocument.DocFileRef addNewDocFileRef();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bfc9a4e56f78a0600d41097a1e0696d2\",\n \"score\": \"0.4886202\",\n \"text\": \"public void getOrderReferenceNumber() {\\n\\t\\tString referenceNumber = getTextofElement(orderReference);\\n\\t\\tlog.info(\\\"Your Reference number is: \\\" + referenceNumber );\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8eaebde0d401490d3568e16c72f21737\",\n \"score\": \"0.48785466\",\n \"text\": \"gov.nih.nlm.ncbi.www.NumRefDocument.NumRef addNewNumRef();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2f67acbfcb9c1e75322a7bbd5e34be82\",\n \"score\": \"0.48580003\",\n \"text\": \"private void insertValueAndReferenceAfter(RTreeNode refNode, RTreeNode node)\\n throws IOException {\\n int index = getIndexOf(refNode);\\n\\n // insert at index\\n insertChild(index + 1, node);\\n node.setParentAddress(address);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"864f7ee52323a1250e2a0cc1a9749dfc\",\n \"score\": \"0.4828805\",\n \"text\": \"@Override\\n\\t\\t\\tpublic String insert() {\\n\\t\\t\\t\\treturn null;\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e2cf710e0e211f153005a78f68ee26a7\",\n \"score\": \"0.482201\",\n \"text\": \"private void mapServiceOrderCustomRef(ServiceOrder serviceOrder, CustomReferences customReferences, String templateName, Integer ownerId) {\\r\\n\\t\\tlogger.info(\\\"Mapping: Customer Reference --->Starts\\\");\\r\\n\\r\\n\\t\\tList soCustomRefsVoList = new ArrayList();\\r\\n\\t\\tif (null != customReferences && null != customReferences.getCustomRefList()) {\\r\\n\\t\\t\\tfor (CustomReference customRef : customReferences.getCustomRefList()) {\\r\\n\\t\\t\\t\\t//changes for SL-20772 --START\\r\\n\\t\\t\\t\\tString refType = customRef.getName();\\r\\n\\t\\t\\t\\tSOCustomReference customRefVO = new SOCustomReference();\\r\\n\\t\\t\\t\\tif (ownerId.intValue() == PublicAPIConstant.BUYER_9000.intValue()\\r\\n\\t\\t\\t\\t\\t\\t&& (PublicAPIConstant.SHOPIFY_ORDER_SKU_PRICE1\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t.equalsIgnoreCase(refType)\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t|| PublicAPIConstant.SHOPIFY_ORDER_SKU_PRICE2\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t.equalsIgnoreCase(refType)\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t|| PublicAPIConstant.SHOPIFY_ORDER_SKU_PRICE3\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t.equalsIgnoreCase(refType) || PublicAPIConstant.SHOPIFY_ORDER_SKU_PRICE4\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t.equalsIgnoreCase(refType))&& StringUtils.isNotBlank(customRef.getValue())) {\\r\\n\\t\\t\\t\\t\\tcustomRefVO.setBuyerRefValue(customRef.getValue().replace(PublicAPIConstant.TARGET_STRING,PublicAPIConstant.REPLACEMENT_STRING));\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\telse{\\r\\n\\t\\t\\t\\t\\tcustomRefVO.setBuyerRefValue(customRef.getValue());\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t//changes for SL-20772 --END\\r\\n\\t\\t\\t\\tcustomRefVO.setBuyerRefTypeName(customRef.getName());\\r\\n\\t\\t\\t\\tcustomRefVO.setBuyerRefTypeId(getCustomRefTypeId(ownerId+\\\"\\\", customRef.getName()));\\r\\n\\t\\t\\t\\tsoCustomRefsVoList.add(customRefVO);\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\t//see if the template name is not blank and add it as custom reference\\r\\n\\t\\t\\tif(StringUtils.isNotBlank(templateName)){\\r\\n\\t\\t\\t\\tSOCustomReference customRefVO = new SOCustomReference();\\r\\n\\t\\t\\t\\tcustomRefVO.setBuyerRefValue(templateName);\\r\\n\\t\\t\\t\\tcustomRefVO.setBuyerRefTypeName(SOCustomReference.CREF_TEMPLATE_NAME);\\r\\n\\t\\t\\t\\tcustomRefVO.setBuyerRefTypeId(getCustomRefTypeId(ownerId+\\\"\\\", SOCustomReference.CREF_TEMPLATE_NAME));\\r\\n\\t\\t\\t\\tsoCustomRefsVoList.add(customRefVO);\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\tif (!soCustomRefsVoList.isEmpty()) {\\r\\n\\t\\t\\t\\tserviceOrder.setCustomReferences(soCustomRefsVoList);\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"730ec9f848db6db9bcefeced75abce0c\",\n \"score\": \"0.4821865\",\n \"text\": \"void setOrderElement(OrderElement orderElement) throws ProblemWithDatabaseException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7a0fc89a319920274fde65c641cd4970\",\n \"score\": \"0.47919685\",\n \"text\": \"@Test\\n public void testMarshallReferenceWithElement() {\\n BindingModel myModel = new BindingModel();\\n Root root = new Root(new QName(\\\"root\\\"), ObjectA.class);\\n root.setChild(new Reference(new QName(\\\"reference\\\"), \\\"complexType\\\", null, false), NoGetter.INSTANCE, NoSetter.INSTANCE);\\n myModel.registerRoot(root);\\n\\n ComplexType complexType = new ComplexType(\\\"complexType\\\", null, false);\\n complexType.setChild(new SimpleType(new QName(\\\"name\\\"), false), \\\"name\\\");\\n myModel.registerComplexType(complexType, true);\\n\\n ByteArrayOutputStream stream = new ByteArrayOutputStream();\\n ObjectA instance = new ObjectA(\\\"test\\\");\\n myModel.getXmlStreamer(instance.getClass(), null).toXml(XmlStreamFactory.makeWriter(stream), instance);\\n assertEquals(\\\"test\\\", stream.toString());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"724c6560c70b552a5a64ef7b02ba0da3\",\n \"score\": \"0.47793946\",\n \"text\": \"public void addNewElement()\\n {\\n setEditedElement( new DnWrapper( Dn.EMPTY_DN ) );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f46994ac005c069d914928f2d143b28\",\n \"score\": \"0.47650543\",\n \"text\": \"@Override\\n public int createOrder() {\\n Order order = new SimpleOrder();\\n this.orders.add(order);\\n return order.getOrderId();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ac485e1df23baa4d9f5f966eba9e16ef\",\n \"score\": \"0.47301272\",\n \"text\": \"com.walgreens.rxit.ch.cda.StrucDocFootnoteRef insertNewFootnoteRef(int i);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"992d99702ac4c203bc95bd692c2df032\",\n \"score\": \"0.47230375\",\n \"text\": \"private void addReferences(org.jdom.Element e)\\n {\\n addReferences(e, xmgr.getCurrentDocument());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3d51681fcb3503acdcbc36bfce4b4e38\",\n \"score\": \"0.47181702\",\n \"text\": \"int insert(XdProductOrder record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b3e2fb39773c8c55cf603c052fb8896f\",\n \"score\": \"0.46779546\",\n \"text\": \"public XmlSerializableOrderBook() {\\n orders = new ArrayList<>();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"81bab716f057e826ba37e0d7ec1394bc\",\n \"score\": \"0.46631175\",\n \"text\": \"int insert(H_Order record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b31c1b72bfac3f96f6da6ead595d813b\",\n \"score\": \"0.46585324\",\n \"text\": \"int insert(Orderlist record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"30721649b1d62433019c355ccc28c8da\",\n \"score\": \"0.46489286\",\n \"text\": \"private void updateOrders() {\\n\\n for (int i = 0; i < this.orders.size(); i++) {\\n\\n Node node = this.orders.get(i);\\n node.setOrder(this.orders.indexOf(node));\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e04e581e2712296c6f5eff9b3e9f8eb2\",\n \"score\": \"0.46465263\",\n \"text\": \"private TreeElement createNode(TreeReference ref) {\\n\\n\\t\\tTreeElement node = root;\\n\\n\\t\\tfor (int k = 0; k < ref.size(); k++) {\\n\\t\\t\\tString name = (String) ref.names.elementAt(k);\\n\\t\\t\\tint count = node.getChildMultiplicity(name);\\n\\t\\t\\tint mult = ((Integer) ref.multiplicity.elementAt(k)).intValue();\\n\\n\\t\\t\\tTreeElement child;\\n\\t\\t\\tif (k < ref.size() - 1) {\\n\\t\\t\\t\\tif (mult == TreeReference.INDEX_UNBOUND) {\\n\\t\\t\\t\\t\\tif (count > 1) {\\n\\t\\t\\t\\t\\t\\treturn null; // don't know which node to use\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\t// will use existing (if one and only one) or create new\\n\\t\\t\\t\\t\\t\\tmult = 0;\\n\\t\\t\\t\\t\\t\\tref.multiplicity.setElementAt(new Integer(0), k);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\n\\t\\t\\t\\t// fetch\\n\\t\\t\\t\\tchild = node.getChild(name, mult);\\n\\t\\t\\t\\tif (child == null) {\\n\\t\\t\\t\\t\\tif (mult == 0) {\\n\\t\\t\\t\\t\\t\\t// create\\n\\t\\t\\t\\t\\t\\tchild = new TreeElement(name, count);\\n\\t\\t\\t\\t\\t\\tnode.addChild(child);\\n\\t\\t\\t\\t\\t\\tref.multiplicity.setElementAt(new Integer(count), k);\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\treturn null; // intermediate node does not exist\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tif (mult == TreeReference.INDEX_UNBOUND || mult == count) {\\n\\t\\t\\t\\t\\tif (k == 0 && root.getNumChildren() != 0) {\\n\\t\\t\\t\\t\\t\\treturn null; // can only be one top-level node, and it\\n\\t\\t\\t\\t\\t\\t// already exists\\n\\t\\t\\t\\t\\t}\\n\\n\\t\\t\\t\\t\\tif (!node.isChildable()) {\\n\\t\\t\\t\\t\\t\\treturn null; // current node can't have children\\n\\t\\t\\t\\t\\t}\\n\\n\\t\\t\\t\\t\\t// create new\\n\\t\\t\\t\\t\\tchild = new TreeElement(name, count);\\n\\t\\t\\t\\t\\tnode.addChild(child);\\n\\t\\t\\t\\t\\tref.multiplicity.setElementAt(new Integer(count), k);\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\treturn null; // final node must be a newly-created node\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\n\\t\\t\\tnode = child;\\n\\t\\t}\\n\\n\\t\\treturn node;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11561c469afc8f24397f3f2afcc75e0d\",\n \"score\": \"0.46003234\",\n \"text\": \"private void insert(CrossReference crossReference) throws DAOException {\\n\\t\\ttry {\\n\\t\\t\\tPreparedStatement stm = sqlLoader.getPreparedStatement(\\\"--insert.crossreference\\\", new String[]{\\\"id\\\"}, null);\\n\\t\\t\\tstm.clearParameters();\\n stm.setString(1, crossReference.getAccession());\\n stm.setLong(2, crossReference.getDb().getId());\\n\\t\\t\\tstm.executeUpdate();\\n\\n\\t\\t\\tResultSet keys = stm.getGeneratedKeys();\\n\\n \\t\\twhile (keys.next()) {\\n \\t\\t\\tcrossReference.setId(keys.getLong(1)); //Should only be one\\n \\t if (LOGGER.isDebugEnabled())\\n \\t LOGGER.debug(\\\"insertIntoCrossReference: CrossReference inserted with id:\\\" + crossReference.getId());\\n \\t\\t}\\n\\n \\t\\tkeys.close();\\n\\n // Add the crossreference to the identity map\\n identityMap.addEntity(crossReference);\\n\\n\\n\\t\\t} catch (SQLException ex) {\\n throw new DAOException(ex);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4d3654bcfd5996a46e641738b51ee9b\",\n \"score\": \"0.45972034\",\n \"text\": \"com.walgreens.rxit.ch.cda.StrucDocFootnoteRef addNewFootnoteRef();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c53f148ae9110f48065157473d7c9b5\",\n \"score\": \"0.45874313\",\n \"text\": \"@Override\\n\\tpublic String insert() {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"17292865e1be84593c1a50a7a08b047b\",\n \"score\": \"0.458333\",\n \"text\": \"int insertSelective (RdOrder record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"916f2dfd78b12ca69d74f3ca0395a774\",\n \"score\": \"0.45807907\",\n \"text\": \"public M csodOrderNull(){if(this.get(\\\"csodOrderNot\\\")==null)this.put(\\\"csodOrderNot\\\", \\\"\\\");this.put(\\\"csodOrder\\\", null);return this;}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"92d94ba9348859d64e1c82caa5576dae\",\n \"score\": \"0.45748264\",\n \"text\": \"public Order getNewOrder();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1fe28d3dee73b79dc1c1908cc4441b0a\",\n \"score\": \"0.456773\",\n \"text\": \"private Element insert(Element element){\\n\\t\\tif (map == null){\\n\\t\\t\\tmap = new BinaryTree(element);\\n\\t\\t\\treturn null;\\n\\t\\t} else{\\n\\t\\t\\treturn insert(element, map);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"522121b638df99f6e90190ca2e648821\",\n \"score\": \"0.45658526\",\n \"text\": \"int insert(DesignerOrder record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"192446bc32b8d6a27e5cffa70e86e411\",\n \"score\": \"0.4537156\",\n \"text\": \"public void addReference(Referenced elm);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f3b08d20ead48023a3f74bc9b7d67c9c\",\n \"score\": \"0.4531212\",\n \"text\": \"public java.util.List getOrderReferencesList()\\n {\\n final class OrderReferencesList extends java.util.AbstractList\\n {\\n @Override\\n public x0301.oecdStandardAuditFileTaxPT1.OrderReferences get(int i)\\n { return LineImpl.this.getOrderReferencesArray(i); }\\n \\n @Override\\n public x0301.oecdStandardAuditFileTaxPT1.OrderReferences set(int i, x0301.oecdStandardAuditFileTaxPT1.OrderReferences o)\\n {\\n x0301.oecdStandardAuditFileTaxPT1.OrderReferences old = LineImpl.this.getOrderReferencesArray(i);\\n LineImpl.this.setOrderReferencesArray(i, o);\\n return old;\\n }\\n \\n @Override\\n public void add(int i, x0301.oecdStandardAuditFileTaxPT1.OrderReferences o)\\n { LineImpl.this.insertNewOrderReferences(i).set(o); }\\n \\n @Override\\n public x0301.oecdStandardAuditFileTaxPT1.OrderReferences remove(int i)\\n {\\n x0301.oecdStandardAuditFileTaxPT1.OrderReferences old = LineImpl.this.getOrderReferencesArray(i);\\n LineImpl.this.removeOrderReferences(i);\\n return old;\\n }\\n \\n @Override\\n public int size()\\n { return LineImpl.this.sizeOfOrderReferencesArray(); }\\n \\n }\\n \\n synchronized (monitor())\\n {\\n check_orphaned();\\n return new OrderReferencesList();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f3b08d20ead48023a3f74bc9b7d67c9c\",\n \"score\": \"0.4531212\",\n \"text\": \"public java.util.List getOrderReferencesList()\\n {\\n final class OrderReferencesList extends java.util.AbstractList\\n {\\n @Override\\n public x0301.oecdStandardAuditFileTaxPT1.OrderReferences get(int i)\\n { return LineImpl.this.getOrderReferencesArray(i); }\\n \\n @Override\\n public x0301.oecdStandardAuditFileTaxPT1.OrderReferences set(int i, x0301.oecdStandardAuditFileTaxPT1.OrderReferences o)\\n {\\n x0301.oecdStandardAuditFileTaxPT1.OrderReferences old = LineImpl.this.getOrderReferencesArray(i);\\n LineImpl.this.setOrderReferencesArray(i, o);\\n return old;\\n }\\n \\n @Override\\n public void add(int i, x0301.oecdStandardAuditFileTaxPT1.OrderReferences o)\\n { LineImpl.this.insertNewOrderReferences(i).set(o); }\\n \\n @Override\\n public x0301.oecdStandardAuditFileTaxPT1.OrderReferences remove(int i)\\n {\\n x0301.oecdStandardAuditFileTaxPT1.OrderReferences old = LineImpl.this.getOrderReferencesArray(i);\\n LineImpl.this.removeOrderReferences(i);\\n return old;\\n }\\n \\n @Override\\n public int size()\\n { return LineImpl.this.sizeOfOrderReferencesArray(); }\\n \\n }\\n \\n synchronized (monitor())\\n {\\n check_orphaned();\\n return new OrderReferencesList();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f3b08d20ead48023a3f74bc9b7d67c9c\",\n \"score\": \"0.45304412\",\n \"text\": \"public java.util.List getOrderReferencesList()\\n {\\n final class OrderReferencesList extends java.util.AbstractList\\n {\\n @Override\\n public x0301.oecdStandardAuditFileTaxPT1.OrderReferences get(int i)\\n { return LineImpl.this.getOrderReferencesArray(i); }\\n \\n @Override\\n public x0301.oecdStandardAuditFileTaxPT1.OrderReferences set(int i, x0301.oecdStandardAuditFileTaxPT1.OrderReferences o)\\n {\\n x0301.oecdStandardAuditFileTaxPT1.OrderReferences old = LineImpl.this.getOrderReferencesArray(i);\\n LineImpl.this.setOrderReferencesArray(i, o);\\n return old;\\n }\\n \\n @Override\\n public void add(int i, x0301.oecdStandardAuditFileTaxPT1.OrderReferences o)\\n { LineImpl.this.insertNewOrderReferences(i).set(o); }\\n \\n @Override\\n public x0301.oecdStandardAuditFileTaxPT1.OrderReferences remove(int i)\\n {\\n x0301.oecdStandardAuditFileTaxPT1.OrderReferences old = LineImpl.this.getOrderReferencesArray(i);\\n LineImpl.this.removeOrderReferences(i);\\n return old;\\n }\\n \\n @Override\\n public int size()\\n { return LineImpl.this.sizeOfOrderReferencesArray(); }\\n \\n }\\n \\n synchronized (monitor())\\n {\\n check_orphaned();\\n return new OrderReferencesList();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d0f77ad145e28322a64965f4457c0f83\",\n \"score\": \"0.45300075\",\n \"text\": \"public String saveOrder(JsonDocument orderInfo);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1af4de1ffec48eec022154f886ec1363\",\n \"score\": \"0.45286718\",\n \"text\": \"public OrderItem insertOrderItem(OrderItem oi) {\\n orderItemDAO.insertOrderItem(oi);\\n return oi;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6bee88b295e6b75cd4f295eaf6a8cf73\",\n \"score\": \"0.45259356\",\n \"text\": \"public void toMarshaling() {\\n Warehouse.ordersSequencing.add(this.orderSequencing);\\n this.orderSequencing = null;\\n String output = this.picker.getName() + \\\" to Marshaling\\\";\\n System.out.println(output);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8cd289c51ac1cdca0122cb0737cc0c8b\",\n \"score\": \"0.45231503\",\n \"text\": \"public net.opengis.gml.x32.ReferenceType addNewReference()\\n {\\n synchronized (monitor())\\n {\\n check_orphaned();\\n net.opengis.gml.x32.ReferenceType target = null;\\n target = (net.opengis.gml.x32.ReferenceType)get_store().add_element_user(REFERENCE$6);\\n return target;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e5bbd0d1bd886a298323efda43dd78fc\",\n \"score\": \"0.4517274\",\n \"text\": \"private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, net.wit.webservice.xxkyServiceStub.Add_WEB_ORDERENTER param, boolean optimizeContent, javax.xml.namespace.QName methodQName)\\n throws org.apache.axis2.AxisFault{\\n\\n \\n try{\\n\\n org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope();\\n emptyEnvelope.getBody().addChild(param.getOMElement(net.wit.webservice.xxkyServiceStub.Add_WEB_ORDERENTER.MY_QNAME,factory));\\n return emptyEnvelope;\\n } catch(org.apache.axis2.databinding.ADBException e){\\n throw org.apache.axis2.AxisFault.makeFault(e);\\n }\\n \\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"69898b956f94cdb43c21f03ecab6672f\",\n \"score\": \"0.45140055\",\n \"text\": \"@PostMapping(\\\"/api/orders\\\")\\r\\n public String createOrder(@RequestBody Order order) {\\n order.setId(UUID.randomUUID().toString());\\r\\n order.setTimestamp(LocalDateTime.now());\\r\\n\\r\\n order.getItems().forEach(item -> {\\r\\n // Assign parent Id, generate one for the child item\\r\\n item.setOrderId(order.getId());\\r\\n item.setOrderItemId(UUID.randomUUID().toString());\\r\\n });\\r\\n return \\\"1\\\";\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"89ab086f49ca59ef7c976325e229aaf3\",\n \"score\": \"0.4503512\",\n \"text\": \"int insert(OrderDO record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"89ab086f49ca59ef7c976325e229aaf3\",\n \"score\": \"0.4503512\",\n \"text\": \"int insert(OrderDO record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0da008697f6944e92387c363c116e2ca\",\n \"score\": \"0.44873437\",\n \"text\": \"eu.aladdin_project.xsd.OperationResult addNewOut();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78ac6fa9bcb0430ffc097c4902751928\",\n \"score\": \"0.4483502\",\n \"text\": \"void addOrder(Order order);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78ac6fa9bcb0430ffc097c4902751928\",\n \"score\": \"0.4483502\",\n \"text\": \"void addOrder(Order order);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f8e76c0dc616e5595bd9462b40f19bea\",\n \"score\": \"0.44817606\",\n \"text\": \"private StringBuilder getXMLInsertField() {\\n return new StringBuilder(CollectionUtil.join(CollectionUtil.removeAndTransList(moFieldList,\\n item -> item.getName().equals(ConstantUtil.SQL_ID) || item.getName().equals(ConstantUtil.SQL_CREATE_TIME) || item.getName().equals(ConstantUtil.SQL_UPDATE_TIME),\\n item -> ConstantUtil.TRIPLE_TAB + \\\"#{\\\" + item.getName() + \\\"}\\\"\\n ), ConstantUtil.ENGLISH_COMMA + ConstantUtil.NEXT_LINE));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4b00e880c6a42bee4ab41dc1cca5fd69\",\n \"score\": \"0.44787967\",\n \"text\": \"int insert(OrderItem record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4b00e880c6a42bee4ab41dc1cca5fd69\",\n \"score\": \"0.44787967\",\n \"text\": \"int insert(OrderItem record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9945e94a3c7cf9287c58704e3c7b3aa4\",\n \"score\": \"0.44729158\",\n \"text\": \"int insert(BluePrintEssentialElements record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f2dc754e958f5b56247de05f0380e451\",\n \"score\": \"0.44709647\",\n \"text\": \"private void addOrderToInvoice(){\\n\\t\\tOrder o = new Order(itemsList.getSelectionModel().getSelectedItem());\\n\\t\\trepository.addOrder(o);\\n\\t\\titemsList.getItems().remove(itemsList.getSelectionModel().getSelectedItem());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8b6bc3c5c9f9c6c6ef52d0287fe0348f\",\n \"score\": \"0.44697928\",\n \"text\": \"public ReferencedContent createReferencedContent(Content refContent);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42b838da6554df05a48d105ad7fb0c46\",\n \"score\": \"0.44617397\",\n \"text\": \"int insert(Order record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42b838da6554df05a48d105ad7fb0c46\",\n \"score\": \"0.44617397\",\n \"text\": \"int insert(Order record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9ed6d4ef097f2e8a8fad41792b5e915f\",\n \"score\": \"0.44583032\",\n \"text\": \"public void insertarPorReferencia(int referencia, int valor) {\\n Nodos nuevo = new Nodos();\\n nuevo.setValor(valor);\\n if (!nodoVacio()) {\\n if (buscar(referencia)) {\\n Nodos aux = inicio;\\n while (aux.getValor() != referencia) {\\n aux = aux.getSiguiente();\\n }\\n Nodos siguiente = aux.getSiguiente();\\n aux.setSiguiente(nuevo);\\n nuevo.setSiguiente(siguiente);\\n size++;\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2cbeda7ed6717743f3d8274bd8c5ea91\",\n \"score\": \"0.44562054\",\n \"text\": \"@ApiModelProperty(required = true, value = \\\"A custom reference identifying the order.\\\")\\n @JsonProperty(JSON_PROPERTY_REFERENCE)\\n @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)\\n\\n public String getReference() {\\n return reference;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c11e944bd2c3533b40cc3eb9ae07da42\",\n \"score\": \"0.44542184\",\n \"text\": \"@Override\\n protected Uri insertInTransaction(Uri uri, ContentValues values) {\\n return null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"513e869ba3ec83c6c1ed2449acf7c24e\",\n \"score\": \"0.44474876\",\n \"text\": \"protected > N recursiveInsert(N ref, V value) {\\n if (value.compareTo(ref.getValue()) < 0) {\\n if (ref.getLeft() == null) {\\n // we found its position\\n ref.setLeft(nodeCreator.createNewNode(value));\\n } else {\\n // keep looking on the left\\n ref.setLeft(recursiveInsert(ref.getLeft(), value));\\n }\\n } else {\\n if (ref.getRight() == null) {\\n // we found its position\\n ref.setRight(nodeCreator.createNewNode(value));\\n } else {\\n // keep looking on the right\\n ref.setRight(recursiveInsert(ref.getRight(), value));\\n }\\n }\\n \\n return ref;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5846d10f2e054b2fa10ac7fa92984ddd\",\n \"score\": \"0.44474387\",\n \"text\": \"public Node insertBefore(Node newChild, Node refChild) throws DOMException {\\n return peer.insertBefore(newChild, refChild);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"945a5908926c335b600f147c0c1d9c38\",\n \"score\": \"0.44322816\",\n \"text\": \"@Override\\r\\n public boolean insertDetailOrder(DetailOrder order) {\\r\\n\\r\\n return PMF.insertObject(order);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7282c2979f162b8694f039de080065c\",\n \"score\": \"0.44294178\",\n \"text\": \"@Override\\r\\n\\tpublic ComplementsRelations createAddressesComplements() {\\n\\t\\treturn null;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8a6224285fc55765541ee533e19b3b94\",\n \"score\": \"0.44184223\",\n \"text\": \"@Test\\n public void test072() throws Throwable {\\n XmlEntityRef xmlEntityRef0 = new XmlEntityRef(\\\"tru`e;\\\");\\n xmlEntityRef0._setComponentId(\\\"tru`e;\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ff95355383930ba9666480b815421634\",\n \"score\": \"0.44102362\",\n \"text\": \"void addIdentifiersToXPath(StringBuffer out, Element el2,\\n Map ns2Prefix) {\\n AttributeUniqenessAnalyser anal = new AttributeUniqenessAnalyser();\\n AttDataObj uniqueAttr = anal.getUniqueAttributeForElement(el2);\\n if (uniqueAttr != null) {\\n out.append(\\\"[@\\\");\\n out.append(getAttStrForAtt(uniqueAttr.att)).append(\\\"='\\\");\\n String val = el2.getAttribute(uniqueAttr.name, uniqueAttr.ns)\\n .getValue();\\n out.append(escape(val)).append(\\\"']\\\");\\n\\n } else {\\n int indx = anal.getIndexForElementAmongstSiblings(el2);\\n if (indx != -1)\\n out.append(\\\"[\\\").append(indx).append(\\\"]\\\");\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fcd88545a73f54325e5d00820e2bc675\",\n \"score\": \"0.44075966\",\n \"text\": \"public com.microsoft.schemas._2003._10.serialization.arrays.ArrayOfanyType addNewValues()\\r\\n {\\r\\n synchronized (monitor())\\r\\n {\\r\\n check_orphaned();\\r\\n com.microsoft.schemas._2003._10.serialization.arrays.ArrayOfanyType target = null;\\r\\n target = (com.microsoft.schemas._2003._10.serialization.arrays.ArrayOfanyType)get_store().add_element_user(VALUES$4);\\r\\n return target;\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dd49a8d3cc7ddd9dce374b6bfb7c1f34\",\n \"score\": \"0.4401326\",\n \"text\": \"private void addReferences(org.jdom.Element e, Document d)\\n {\\n if (\\\"material\\\".equals(e.getName()))\\n {\\n // Check for composite or fraction tags.\\n List l = e.getChildren(\\\"composite\\\");\\n if (l.isEmpty())\\n {\\n l = e.getChildren(\\\"fraction\\\");\\n }\\n \\n if (l.isEmpty())\\n {\\n // Bad XML. Required tags missing.\\n throw new RuntimeException(\\\"Material does not contain required fraction or composite tags.\\\");\\n }\\n\\n for (org.jdom.Element ce : (List)l)\\n {\\n String ref = ce.getAttributeValue(\\\"ref\\\");\\n\\n // Add if element.\\n org.jdom.Element fnd = xmgr.findMaterialElementXML(ref, d);\\n if (fnd != null)\\n {\\n xmgr.addMaterialElementRef(fnd);\\n }\\n // Add if material.\\n else\\n {\\n fnd = xmgr.findMaterialXML(ref, d);\\n\\n if (fnd != null)\\n {\\n // Recursively add references of this material.\\n addReferences(fnd, d);\\n }\\n else\\n {\\n throw new RuntimeException(\\\"Material or element reference not found: \\\" + ref);\\n }\\n }\\n }\\n \\n // Add original material after refs resolved.\\n xmgr.addMaterialRef(e);\\n } \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"675a420c6c8f4d6f4891fa393e37dd94\",\n \"score\": \"0.43992493\",\n \"text\": \"private void addInsertOrUpdateManuallyElement(XmlElement parent, IntrospectedTable introspectedTable) {\\n XmlElement element = new XmlElement(\\\"insert\\\");\\n context.getCommentGenerator().addComment(element);\\n\\n element.addAttribute(new Attribute(\\\"id\\\", \\\"insertOrUpdateManually\\\"));\\n element.addAttribute(new Attribute(\\\"parameterType\\\", \\\"map\\\"));\\n\\n GeneratedKey gk = introspectedTable.getGeneratedKey();\\n String updateGK = \\\"\\\";\\n if (gk != null) {\\n IntrospectedColumn introspectedColumn = introspectedTable.getColumn(gk.getColumn());\\n if (introspectedColumn != null) {\\n if (gk.isJdbcStandard()) {\\n element.addAttribute(new Attribute(\\\"useGeneratedKeys\\\", \\\"true\\\"));\\n element.addAttribute(new Attribute(\\\"keyProperty\\\", \\\"record.\\\" + introspectedColumn.getJavaProperty()));\\n element.addAttribute(new Attribute(\\\"keyColumn\\\", introspectedColumn.getActualColumnName()));\\n } else {\\n element.addElement(getSelectKeyElement(introspectedColumn, gk));\\n }\\n updateGK = String.format(\\\", %s = last_insert_id(%s)\\\",\\n introspectedColumn.getActualColumnName(), introspectedColumn.getActualColumnName());\\n }\\n }\\n StringBuilder insertClause = new StringBuilder();\\n StringBuilder valuesClause = new StringBuilder();\\n insertClause.append(\\\"insert into \\\")\\n .append(introspectedTable.getFullyQualifiedTableNameAtRuntime())\\n .append(\\\" (\\\");\\n valuesClause.append(\\\"values (\\\");\\n\\n List valuesClauses = new ArrayList<>();\\n List columns = ListUtilities.removeIdentityAndGeneratedAlwaysColumns(\\n introspectedTable.getAllColumns());\\n for (int i = 0; i < columns.size(); i++) {\\n IntrospectedColumn introspectedColumn = columns.get(i);\\n\\n insertClause.append(MyBatis3FormattingUtilities.getEscapedColumnName(introspectedColumn));\\n String parameterClause = MyBatis3FormattingUtilities.getParameterClause(introspectedColumn);\\n valuesClause.append(parameterClause.substring(0, 2))\\n .append(\\\"record.\\\")\\n .append(parameterClause.substring(2));\\n\\n if (i + 1 < columns.size()) {\\n insertClause.append(\\\", \\\");\\n valuesClause.append(\\\", \\\");\\n }\\n\\n if (valuesClause.length() > 80) {\\n element.addElement(new TextElement(insertClause.toString()));\\n insertClause.setLength(0);\\n OutputUtilities.xmlIndent(insertClause, 1);\\n\\n valuesClauses.add(valuesClause.toString());\\n valuesClause.setLength(0);\\n OutputUtilities.xmlIndent(valuesClause, 1);\\n }\\n }\\n\\n insertClause.append(')');\\n element.addElement(new TextElement(insertClause.toString()));\\n\\n valuesClause.append(')');\\n valuesClauses.add(valuesClause.toString());\\n\\n for (String clause: valuesClauses) {\\n element.addElement(new TextElement(clause));\\n }\\n\\n // if table has a generated key, append string like `id = last_insert_id(id)` to updateClause\\n // to ensures the returned id always references the inserted entity or the updated entity\\n element.addElement(new TextElement(\\\"on duplicate key update ${updateClause}\\\" + updateGK));\\n\\n parent.addElement(element);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"67c837033d2be2cc706e70ca1854430f\",\n \"score\": \"0.43892798\",\n \"text\": \"public void setRelIncidenceOrder(int order) {\\n\\t\\tsetAttribute(GXL.STARTORDER, String.valueOf(order));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ea4997e8570c00f4b1b4dd2b9a160e1f\",\n \"score\": \"0.43881372\",\n \"text\": \"@Override\\n\\tpublic void updateReforder(int ref, int reforder) throws Exception {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"591a02cc077fa6ae29d488bea2ef4634\",\n \"score\": \"0.4385033\",\n \"text\": \"public void createNestedElement(Order orderItem, String childName){\\r\\n\\t\\t\\r\\n\\t\\titem = doc.createElement(childName);\\r\\n\\t\\titem.setAttribute(\\\"PROD_NUMBER\\\", orderItem.prodId);\\r\\n\\t\\titem.setAttribute(\\\"PROD_NAME\\\", orderItem.prodName);\\r\\n\\t\\titem.setAttribute(\\\"QUANTITY\\\", orderItem.prodQuantity);\\r\\n\\t\\titem.setAttribute(\\\"UNIT_PRICE\\\", orderItem.prodValue);\\r\\n\\t\\torder.appendChild(item);\\r\\n\\r\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"923e8af77dd623b12d585c36718e889b\",\n \"score\": \"0.43819878\",\n \"text\": \"void insertTransaction(AirTransaction dRef);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba3256fcf99fe0f2f57a58f0d64fa56b\",\n \"score\": \"0.4380613\",\n \"text\": \"public amdocs.iam.pd.webservices.quotation.getquoteoutput.Amounts addNewOC()\\n {\\n synchronized (monitor())\\n {\\n check_orphaned();\\n amdocs.iam.pd.webservices.quotation.getquoteoutput.Amounts target = null;\\n target = (amdocs.iam.pd.webservices.quotation.getquoteoutput.Amounts)get_store().add_element_user(OC$0);\\n return target;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"00c509dc5af47210a8a6ccf423d62043\",\n \"score\": \"0.43772417\",\n \"text\": \"@Test\\n @SuppressWarnings(\\\"serial\\\")\\n public void testEncodeNewReference() throws IOException {\\n NewReference input = new NewReference(new Atom(\\\"nonode@nohost\\\"),\\n Byte.valueOf(\\\"0\\\"), new ArrayList() {\\n {\\n add(0);\\n add(0);\\n add(94);\\n }\\n });\\n byte[] expected = Utils.toBytes(131, 114, 0, 3, 115, 13, 110, 111, 110,\\n 111, 100, 101, 64, 110, 111, 104, 111, 115, 116, 0, 0, 0, 0, 0,\\n 0, 0, 0, 0, 0, 0, 0, 94);\\n\\n StreamEmulator stream = new StreamEmulator();\\n Encoder.encode(input, stream);\\n byte[] actual = stream.getBytes();\\n\\n assertArrayEquals(expected, actual);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c7695b6ac479224218ab9feecb1a6675\",\n \"score\": \"0.43757594\",\n \"text\": \"int insertSelective(H_Order record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"07836597e804ac8e411386b618adb22f\",\n \"score\": \"0.4372109\",\n \"text\": \"int insertSelective(XdProductOrder record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"63523999e54832f456e4b67f375a88e7\",\n \"score\": \"0.43579236\",\n \"text\": \"private ElementDefinition storeStandardElement(final ElementDefinition elementDefinition) {\\n\\n final String[] completeElementNames = elementDefinition.elementName.completeElementNames;\\n\\n int index;\\n for (final String completeElementName : completeElementNames) {\\n\\n index = binarySearch(this.templateMode.isCaseSensitive(), this.standardRepositoryNames, completeElementName);\\n\\n // binary Search returned (-(insertion point) - 1)\\n this.standardRepositoryNames.add(((index + 1) * -1), completeElementName);\\n this.standardRepository.add(((index + 1) * -1), elementDefinition);\\n\\n index = binarySearch(this.templateMode.isCaseSensitive(), this.repositoryNames, completeElementName);\\n\\n // binary Search returned (-(insertion point) - 1)\\n this.repositoryNames.add(((index + 1) * -1), completeElementName);\\n this.repository.add(((index + 1) * -1), elementDefinition);\\n\\n }\\n\\n return elementDefinition;\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0f15680e69de1e3c9eba0748cafd7bef\",\n \"score\": \"0.43539077\",\n \"text\": \"int insert(ManufacturingOrder record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7984c1e5b0b13c33103a5d8455dfeb2c\",\n \"score\": \"0.43522656\",\n \"text\": \"int insertSelective(OrderDO record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7984c1e5b0b13c33103a5d8455dfeb2c\",\n \"score\": \"0.43522656\",\n \"text\": \"int insertSelective(OrderDO record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80ae8f1d6a164e0288e4582824dbb823\",\n \"score\": \"0.434843\",\n \"text\": \"@Test(timeout = 4000)\\n public void test131() throws Throwable {\\n XmlEntityRef xmlEntityRef0 = new XmlEntityRef(\\\"2{;,hz&Z\\\");\\n xmlEntityRef0._setComponentId(\\\"2{;,hz&Z\\\");\\n assertNull(xmlEntityRef0.defaultTagName());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"48a9751e03db9259998e2c7169b21f84\",\n \"score\": \"0.4346384\",\n \"text\": \"@Test\\n\\tpublic void nullOrderTest(){\\n\\t\\t//try to place a null order\\n\\t\\tcompany.addOrder(null);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7fdae1b56eab8a61844a6efbfc2cc76\",\n \"score\": \"0.43429202\",\n \"text\": \"@Test(timeout = 4000)\\n public void test004() throws Throwable {\\n XmlEntityRef xmlEntityRef0 = new XmlEntityRef(\\\"h6\\\");\\n xmlEntityRef0.afterAdd();\\n assertFalse(xmlEntityRef0._isGeneratedId());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5ab5047e25a942601595c4a4e2daddf8\",\n \"score\": \"0.43406725\",\n \"text\": \"private static void findAllElementRefNodes(Node qdmVariableNode) {\\r\\n if ((qdmVariableNode != null) && qdmVariableNode.hasChildNodes()) {\\r\\n for (int i = 0; i < qdmVariableNode.getChildNodes().getLength(); i++) {\\r\\n Node childNode = qdmVariableNode.getChildNodes().item(i);\\r\\n if (childNode.getNodeName().equalsIgnoreCase(\\\"elementRef\\\")) {\\r\\n if (childNode.hasChildNodes()) {\\r\\n System.out.println(childNode.getFirstChild().getNodeName());\\r\\n Node attrNode = childNode.getFirstChild();\\r\\n if (attrNode.getAttributes().getNamedItem(\\\"attrUUID\\\") != null) {\\r\\n attrNode.getAttributes().getNamedItem(\\\"attrUUID\\\").setNodeValue(UUIDUtilClient.uuid());\\r\\n }\\r\\n }\\r\\n } else {\\r\\n if (childNode.hasChildNodes()) {\\r\\n findAllElementRefNodes(childNode);\\r\\n }\\r\\n }\\r\\n }\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"664c98b50b8b1da6c67b503c64f9efe6\",\n \"score\": \"0.43355435\",\n \"text\": \"int insert(BmOrder record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d0b0db8062ea99911db305b4cfdaf1cc\",\n \"score\": \"0.4334761\",\n \"text\": \"public org.netbeans.modules.portalpack.websynergy.servicebuilder.beans.Order newOrder() {\\n\\t\\treturn new org.netbeans.modules.portalpack.websynergy.servicebuilder.beans.impl.Order();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd22f87f2c1aaca7a024ca904aa58a38\",\n \"score\": \"0.43344387\",\n \"text\": \"int insert(ErpOaWorkOrder record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"450cbfe508068a9eab075920cd06f4e5\",\n \"score\": \"0.4330314\",\n \"text\": \"public int addOrder(Order order);\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":373,"cells":{"query_id":{"kind":"string","value":"c8030bfcc64cfd2e945531d5912029fb"},"query":{"kind":"string","value":"Test of addSymbol method, of class FixerBuilder."},"positive_passages":{"kind":"list like","value":[{"docid":"218004dfe75293e8b073958e7ceac37f","score":"0.75111836","text":"@Test\r\n public void testAddSymbol() {\r\n System.out.println(\"testAddSymbol\");\r\n Currency base = Currency.AUD;\r\n FixerBuilder instance = new FixerBuilder();\r\n String expResult = \"https://api.fixer.io/latest?base=AUD&symbols=USD,\";\r\n String result = instance.withBase(base).addSymbol(Currency.USD).constructLink();\r\n assertEquals(expResult, result);\r\n }","title":""}],"string":"[\n {\n \"docid\": \"218004dfe75293e8b073958e7ceac37f\",\n \"score\": \"0.75111836\",\n \"text\": \"@Test\\r\\n public void testAddSymbol() {\\r\\n System.out.println(\\\"testAddSymbol\\\");\\r\\n Currency base = Currency.AUD;\\r\\n FixerBuilder instance = new FixerBuilder();\\r\\n String expResult = \\\"https://api.fixer.io/latest?base=AUD&symbols=USD,\\\";\\r\\n String result = instance.withBase(base).addSymbol(Currency.USD).constructLink();\\r\\n assertEquals(expResult, result);\\r\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"1284dcc3c4e3fb90043314f1e94ccbce","score":"0.6381967","text":"@Test\r\n public void testRemoveSymbol() {\r\n System.out.println(\"testRemoveSymbol\");\r\n Currency base = Currency.AUD;\r\n FixerBuilder instance = new FixerBuilder();\r\n String expResult = \"https://api.fixer.io/latest?base=AUD\";\r\n String result = instance.withBase(base).addSymbol(Currency.USD).removeSymbol(Currency.USD).constructLink();\r\n assertEquals(expResult, result);\r\n \r\n instance = new FixerBuilder();\r\n expResult = \"https://api.fixer.io/latest?base=AUD&symbols=PLN,\";\r\n result = instance.withBase(base).addSymbol(Currency.USD).addSymbol(Currency.PLN).removeSymbol(Currency.USD).constructLink();\r\n assertEquals(expResult, result);\r\n }","title":""},{"docid":"e410c59144cd9ecfaf6f5fd8041641f4","score":"0.6182202","text":"@Test\r\n public void testWithSymbols() {\r\n System.out.println(\"testWithSymbols\");\r\n Currency base = Currency.AUD;\r\n FixerBuilder instance = new FixerBuilder();\r\n String expResult = \"https://api.fixer.io/latest?base=AUD&symbols=USD,PLN,\";\r\n String result = instance.withBase(base).withSymbols(Currency.USD, Currency.PLN).constructLink();\r\n assertEquals(expResult, result);\r\n }","title":""},{"docid":"2025895a7b715157c0a32879f291fa62","score":"0.6117584","text":"public void setSymbol(String symbol) { this.symbol = symbol; }","title":""},{"docid":"7b26f341c93c750221d974e88624cbc5","score":"0.60913205","text":"public boolean addSymbol(Symbol s)\n\t{\n\t\tString realname = safeName(s.getName(), s.getKind());\n\t\tSymbol symbol = table.get(realname);\n\t\tif(symbol != null) { return false; }\n\t\ttable.put(realname, s);\n\t\treturn true;\n\t}","title":""},{"docid":"0f072f0e0694ca94b3c057e3011b9e50","score":"0.5924064","text":"@Override\n public void addAlphabetSymbol(I symbol) {\n }","title":""},{"docid":"c725738ab1d8075e645b49781a3a7662","score":"0.5910134","text":"void addNewRow(String symbol);","title":""},{"docid":"d8ecc989ed17637289d5ed2da27de67d","score":"0.58218366","text":"@Override\n public void addSymbol(String symbol, int value) {\n assert !this.symbolTable.containsKey(symbol);\n\n this.symbolTable.put(symbol, new Symbol(value, false));\n }","title":""},{"docid":"021802b20ba756cd35017c1e6d83266c","score":"0.5794867","text":"public void setSymbol(String symbol) {\n this.symbol = symbol;\n }","title":""},{"docid":"aeb2aa6b930ced18f5c1c27bb8949b31","score":"0.56250995","text":"Symbol createSymbol();","title":""},{"docid":"8cb443b57863063a02a700e201461555","score":"0.55971706","text":"public void setSymbol(String symbol) {\n\t\tthis.symbol = symbol;\n\t}","title":""},{"docid":"64f2c761286cd6a1ce845f5d1ecd2978","score":"0.5562514","text":"public Position setPosition(Symbol symbol, int quantity, ExecutionMethod executionMethod);","title":""},{"docid":"49e7b66d9728d7c9a73fef6219bae17c","score":"0.55514395","text":"protected void setSymbol(Symbol symbol) {\n this.symbol = symbol;\n }","title":""},{"docid":"db5a9d6fdcee2ba757ec7675daca2d4a","score":"0.55101144","text":"static void add(String str, InstructionType type, boolean isSymbol) {\n table.put(new StringView(str), type);\n if (isSymbol) {\n symbolList.add(str);\n }\n }","title":""},{"docid":"ab0ba9e7f846e09257cd778d67c40344","score":"0.5390667","text":"@Test\n\tpublic void testSomeSymbols() {\n\t\tLexer lexer = new Lexer(\" -.? \\r\\n\\t ## \");\n\n\t\tToken correctData[] = {\n\t\t\t\tnew Token(TokenType.SYMBOL, Character.valueOf('-')),\n\t\t\t\tnew Token(TokenType.SYMBOL, Character.valueOf('.')),\n\t\t\t\tnew Token(TokenType.SYMBOL, Character.valueOf('?')),\n\t\t\t\tnew Token(TokenType.SYMBOL, Character.valueOf('#')),\n\t\t\t\tnew Token(TokenType.SYMBOL, Character.valueOf('#')),\n\t\t\t\tnew Token(TokenType.EOF, null)\n\t\t};\n\n\t\tcheckTokenStream(lexer, correctData);\n\t}","title":""},{"docid":"3afffb44baa0a7be811a0f4f1da6e8b5","score":"0.5380089","text":"private void addMethodArg(SymbolMethod symbolMethod, ASTArg nodeArg) {\n SymbolVar symbolVar = new SymbolVar(nodeArg.val);\n symbolVar.updateInitialized(false);\n symbolMethod.addSymbol(nodeArg.val, symbolVar);\n\n if (nodeArg.jjtGetNumChildren() != 1)\n return;\n\n if (nodeArg.jjtGetChild(0) instanceof ASTType) {\n symbolMethod.addType(analysingType(symbolVar, (ASTType) nodeArg.jjtGetChild(0)));\n }\n }","title":""},{"docid":"3b713597c04b56b3cd08df62aa985539","score":"0.5351794","text":"boolean hasSymbolSpecific();","title":""},{"docid":"04ce41bb523f5dd6cf20842d3a9b868e","score":"0.53457314","text":"public void addEntry(String symbol) {\n\t\taddEntry(symbol, ramAddress);\n\t\tramAddress++;\n\t}","title":""},{"docid":"ef416b776fbad59645ca9b0447f0cdff","score":"0.52944016","text":"@Test\n void getCompanyBySymbolException()\n {\n }","title":""},{"docid":"c8bc46e919cee60029a70b6833c80664","score":"0.5284899","text":"public void define(Symbol sym);","title":""},{"docid":"8f7a90cf008f53f9c44335d344ddd166","score":"0.5233114","text":"private void addExitSymbol() {\n\t\t\n\t\tInteger exitInstruction = new Integer(0);\n\t\t\n\t\tInteger opCode = new Integer(50);\n\t\tInteger value = new Integer(1);\n\t\t\n\t\texitInstruction = opCode;\n\t\texitInstruction = exitInstruction << 1;\n\t\t\n\t\texitInstruction = exitInstruction | 1;\n\t\t\n\t\t\n\t\texitInstruction = exitInstruction << 25;\n\t\t\n\t\texitInstruction = exitInstruction | value;\n\t\t\n\t\tthis.instructions.addElement(exitInstruction);\n\t\t\n\t}","title":""},{"docid":"f1629998dd23fe75c731e0f39c3faf57","score":"0.51639664","text":"public Position setPosition(Symbol symbol, int quantity);","title":""},{"docid":"bf32dac276c1625fc356c7161bfcf55a","score":"0.514638","text":"public void report_error(String messagePrefix, Symbol aSymbol, String messageSuffix) {\n// System.out.println(\"Symbol \" + aSymbol + \", left=\" + aSymbol.left\n// + \", right=\" + aSymbol.right\n// + \", parse_state=\" + aSymbol.parse_state\n// + \", value=\" + (aSymbol.value != null ? aSymbol.value : \"-nil-\"));\n Symbol theSymbol = aSymbol != null ? aSymbol : lookahead != null ? lookahead[0] : cur_token;\n report_error(messagePrefix + \" \\\"\" + theSymbol.value +\"\\\"\" + messageSuffix, theSymbol);\n }","title":""},{"docid":"d1bee5af7f97dd0f17dc8fa9950260bc","score":"0.5118809","text":"Symbols createSymbols();","title":""},{"docid":"c7c9d5638234e95e88ae6912148c227f","score":"0.50967073","text":"@Override\n\tpublic void buildSymbolTable(STableI table, Stack stStack, int entryLoc, int tableLoc)\n\t\t\tthrows CompileTimeError {\n\t\t\n\t}","title":""},{"docid":"29c0eed4894227a6b42be955efba0c45","score":"0.5094631","text":"public void setValue(char newSymbol) {\r\n\t\tif(!isEmpty()){\r\n\t\t\tthis.current.symbol = newSymbol;\r\n\t\t}\r\n\t\telse{\r\n\t\t\tSystem.out.println(\"The list is empty.\");\r\n\t\t}\r\n\t}","title":""},{"docid":"f1ea721957e1b29a7033d5c147b9956a","score":"0.50908536","text":"public interface Symbol {\n}","title":""},{"docid":"258c497c55b1613f65e02e0535c9e461","score":"0.5082075","text":"public String getSymbol() {\n return symbol;\n }","title":""},{"docid":"83ca836941c21064a136417a70599d03","score":"0.5077386","text":"@Test @Override\n\tpublic void t6_existing_add() {\n\t\t\n\t}","title":""},{"docid":"a1576e08085c1464ba6e25353d7e92b1","score":"0.5075735","text":"String getSymbol();","title":""},{"docid":"83e41d6f48ff96e40e9255f694969151","score":"0.5057652","text":"public void setSymbol(String symbol) {\n this.symbol = symbol == null ? null : symbol.trim();\n }","title":""},{"docid":"c3fde43aaa3d0acf98d2de44172b9309","score":"0.5050059","text":"public void annotateSymbol(final AstNodeSymbol symbol, final ASTNode node) {\n\t\t// Do nothing\n\t}","title":""},{"docid":"06b857379db88eba867c07376a98aafc","score":"0.50422525","text":"void addShip(int x, int y, char[][] map, char shipSymbol){\n map[y][x]=shipSymbol;\n }","title":""},{"docid":"7a0b06726f6b9a641ff4884943445dec","score":"0.5037721","text":"@Test\r\n\tpublic void addPairTest() {\r\n\t\tItemBag testBag = new ItemBag();\r\n\t\tItem testItem1 = new Item(\"testItem1\");\r\n\t\ttestBag.addPair(\"testItem1\", testItem1);\r\n\r\n\t\tfail(\"Not yet implemented\");\r\n\t}","title":""},{"docid":"9e7a1922641d75bf1d69fde057d2d2c9","score":"0.50238436","text":"public void addEntry(String symbol, int address) {\n\t\ttable.put(symbol, Code.mapDecimalToBinary(address));\n\t}","title":""},{"docid":"8f72b335801127cb223ade50734be516","score":"0.5018618","text":"@Test\n @DisplayName(\"testing for push method\")\n void testingForPushMethod() {\n moduleCodes.push(\"CS3305\");\n moduleCodes.push(\"CS3306\");\n moduleCodes.push(\"CS3506\");\n moduleCodes.push(\"CS3506\");\n moduleCodes.push(\"CS3514\");\n moduleCodes.push(\"CS3516\");\n moduleCodes.push(\"CS3519\");\n moduleCodes.push(\"CS1117\");\n assertEquals(7+1,moduleCodes.getSize());\n }","title":""},{"docid":"15cd35b1dd59a0321d28e2f64902c5a1","score":"0.5013952","text":"private Symbol(String name) {\n super();\n this.name = name;\n }","title":""},{"docid":"96a1049b938451b87337585a2654b791","score":"0.5011367","text":"public void set(Symbol symbol, boolean b) {\n if (symbol != null)\n table.put(symbol,b);\n else\n System.out.print(\"ERROR: cannot insert null symbol\");\n }","title":""},{"docid":"79659e9d5ec407f3b1067a72f717cbf8","score":"0.4981141","text":"public Entry(Symbol symbol) {\n this.type = Type.SYMBOL;\n this.other = symbol;\n }","title":""},{"docid":"c80f9d582454f4152673d22c1e0398f9","score":"0.495335","text":"@Test\n public void shouldGetSymbolWriterByMatcher() {\n assertThat(WriterFactory.getWriter(SYMBOL_MATCH), is(instanceOf(SymbolWriter.class)));\n }","title":""},{"docid":"3bd23ac16681a47619bdfc15d4e24091","score":"0.4938638","text":"GenericUnaryOperator(String name, String description, String symbol){\n\t\tthis.name = name;\n\t\tthis.description = description;\n\t\tthis.symbol = symbol;\n\t}","title":""},{"docid":"165d1164006779a4868d50a259b8e6b8","score":"0.49331862","text":"@Test @Override\n\tpublic void t8_existing_addThrice() {\n\t\t\n\t}","title":""},{"docid":"543bd82fc8635b4889d3061222dabc2d","score":"0.4917341","text":"void setMorelinesSymbol(Character symbol);","title":""},{"docid":"543bd82fc8635b4889d3061222dabc2d","score":"0.4917341","text":"void setMorelinesSymbol(Character symbol);","title":""},{"docid":"1718fbc283f03ed04ffceafd27c1d487","score":"0.4909847","text":"@Override\n public void addEntry(int x) {\n //This is a dummy method, but is call in some methods inside SyntacticFeatureFactory class\n }","title":""},{"docid":"072cdadcdcfd09bc71086b6dd045376e","score":"0.49012268","text":"public MySymbolTable(){\n\n\t}","title":""},{"docid":"5449dd4da131631ef2c23b4222db63f8","score":"0.48991293","text":"@Test\n public void shouldGetSymbolWriterByName() {\n assertThat(WriterFactory.getWriter(SYMBOL_NAME), is(instanceOf(SymbolWriter.class)));\n }","title":""},{"docid":"38d6f2c0ea7e904364b46b36c9f5cff8","score":"0.48900044","text":"public void onMatchingSymbolClick(View v, int position);","title":""},{"docid":"e99d79c1a4d77d1bd536ba137cced7a6","score":"0.48867145","text":"@Test @Override\n\tpublic void t7_existing_addTwice() {\n\t\t\n\t}","title":""},{"docid":"4f9791b19589342d8f9eb5dc4fff488a","score":"0.4883638","text":"public OpenOrder placeOrder(Symbol symbol, int quantity, String reference);","title":""},{"docid":"eade069b065a1327067c56a3a7af8dc2","score":"0.48742366","text":"@Test\n public void testAddBracket9PlayersSE() throws BadBracketDataException{\n System.out.println(\"Add 9-player SE bracket\");\n String divisionName = \"division\";\n String bracketType = \"SE\";\n BracketType myBracket;\n Round myRound;\n List players = new ArrayList<>(9);\n players.add(\"za\"); players.add(\"yb\"); players.add(\"xc\");\n players.add(\"vd\"); players.add(\"ue\"); players.add(\"tf\");\n players.add(\"rg\"); players.add(\"qh\"); players.add(\"pi\");\n myBracketManager.addBracket(divisionName, bracketType, players);\n myBracketManager.firstBracket();\n myBracket = myBracketManager.getCurrentBracket();\n assertEquals(4, myBracket.getRoundCount());\n myBracket.firstRound();\n //round 1\n myRound = myBracket.getCurrentRound();\n assertEquals(5, myRound.getMatchCount());\n myBracket.nextRound();\n //round 2\n myRound = myBracket.getCurrentRound();\n assertEquals(3, myRound.getMatchCount());\n myBracket.nextRound();\n //round 3\n myRound = myBracket.getCurrentRound();\n assertEquals(2, myRound.getMatchCount());\n myBracket.nextRound();\n //round 4\n myRound = myBracket.getCurrentRound();\n assertEquals(1, myRound.getMatchCount());\n myBracket.nextRound();\n assertTrue(myBracket.isDone());\n myBracketManager.nextBracket();\n assertTrue(myBracketManager.isDone());\n }","title":""},{"docid":"67efdfa21b06830e2cdcf98b255fbc13","score":"0.48736525","text":"public scala.reflect.internal.Symbols.Symbol apply (java.lang.String name) { throw new RuntimeException(); }","title":""},{"docid":"9a65d3bb0272129eaa6e04e3d5388a77","score":"0.48724833","text":"public void insert(char symbol) {\r\n\t\tCaseRuban theElem = new CaseRuban(null, null, symbol);\r\n\t\t\r\n\t\ttheElem.prev = this.current.prev;\r\n\t\ttheElem.next = this.current;\r\n\t\t(this.current).prev.next = theElem;\r\n\t\t(this.current).prev = theElem;\r\n\t\tthis.current = theElem;\r\n\t\t\r\n\t\tthis.size++;\r\n\t}","title":""},{"docid":"b6f457b1203b38c61a719c4f61d96cdb","score":"0.48697364","text":"@Test\n public void testAdd() {\n assertEquals(ra(1, 2, 3), ra(1).add(ra(2, 3)));\n }","title":""},{"docid":"0a45fe0034035a3bd66a3b0e694c33d1","score":"0.48604366","text":"public String getSymbol() {\n return symbol;\n }","title":""},{"docid":"0a45fe0034035a3bd66a3b0e694c33d1","score":"0.48604366","text":"public String getSymbol() {\n return symbol;\n }","title":""},{"docid":"0a45fe0034035a3bd66a3b0e694c33d1","score":"0.48604366","text":"public String getSymbol() {\n return symbol;\n }","title":""},{"docid":"ccbe1d15bf7590aedbc7fbc97183d581","score":"0.48570305","text":"private void checkAddSymbols(boolean isAddSymbolsCheckbox) {\n\t\t\n\t\ttestFuncs.myDebugPrinting(isAddSymbolsCheckbox?\"true\":\"false\", enumsClass.logModes.MINOR);\n\t driver.switchTo().frame(1);\n\t if (isAddSymbolsCheckbox) {\n\t \t\n\t \tif (!driver.findElement(By.xpath(\"//*[@id='add_symbol']\")).isSelected()) {\n\t\t\t\n\t \t\ttestFuncs.myDebugPrinting(\"Checkbox was unchecked\", enumsClass.logModes.MINOR);\n\t \t\tmyClick(By.xpath(\"//*[@id='add_symbol']\"), 2000);\n\t \t}\n\t\t} else {\n\t\t\t\n\t \tif (driver.findElement(By.xpath(\"//*[@id='add_symbol']\")).isSelected()) {\n\t\t\t\t\n\t \t\ttestFuncs.myDebugPrinting(\"Checkbox was checked\", enumsClass.logModes.MINOR);\n\t \t\tmyClick(By.xpath(\"//*[@id='add_symbol']\"), 2000);\n\t \t}\n\t\t}\n\t}","title":""},{"docid":"3d9e581b3e862552b0e3929d90df50c2","score":"0.48494118","text":"@Test\n public void testAddBracket13PlayersSE() throws BadBracketDataException{\n System.out.println(\"Add 13-player SE bracket\");\n String divisionName = \"division\";\n String bracketType = \"SE\";\n BracketType myBracket;\n Round myRound;\n List players = new ArrayList<>(13);\n players.add(\"1331\"); players.add(\"1221\"); players.add(\"1111\");\n players.add(\"1001\"); players.add(\"0990\"); players.add(\"0880\");\n players.add(\"0770\"); players.add(\"0660\"); players.add(\"0550\");\n players.add(\"0440\"); players.add(\"0330\"); players.add(\"0220\");\n players.add(\"0110\");\n myBracketManager.addBracket(divisionName, bracketType, players);\n myBracketManager.firstBracket();\n myBracket = myBracketManager.getCurrentBracket();\n assertEquals(4, myBracket.getRoundCount());\n myBracket.firstRound();\n //round 1\n myRound = myBracket.getCurrentRound();\n assertEquals(7, myRound.getMatchCount());\n myBracket.nextRound();\n //round 2\n myRound = myBracket.getCurrentRound();\n assertEquals(4, myRound.getMatchCount());\n myBracket.nextRound();\n //round 3\n myRound = myBracket.getCurrentRound();\n assertEquals(2, myRound.getMatchCount());\n myBracket.nextRound();\n //round 4\n myRound = myBracket.getCurrentRound();\n assertEquals(1, myRound.getMatchCount());\n myBracket.nextRound();\n assertTrue(myBracket.isDone());\n myBracketManager.nextBracket();\n assertTrue(myBracketManager.isDone());\n }","title":""},{"docid":"5314837f0f1c32643ffe674d9df87001","score":"0.48396078","text":"public ElementOperator(String symbol) {\n\t\tthis.symbol = symbol;\n\t}","title":""},{"docid":"0b99165cf216d5489fe36ec56ef66e1b","score":"0.48368615","text":"@Override\n public String getSymbol() {\n return SYMBOL;\n }","title":""},{"docid":"efb19da34714102a9d2c1a0ec69765e8","score":"0.4835914","text":"public OpenOrder placeOrder(Symbol symbol, int quantity, double price, String reference);","title":""},{"docid":"50a9973b1f3b4deee95465fe14cbb713","score":"0.4828336","text":"public final void testAdd() {\n assertEquals(sjp.add(3, 4), 7);\n }","title":""},{"docid":"1e4aa73c30fbb68c5b5229c2baa0bcae","score":"0.48220202","text":"public CreateExternalSymbolBackgroundCmd(String libName, String symbol) {\n\t\tthis.provider = new RawSymbolInfoProvider(libName, symbol);\n\t}","title":""},{"docid":"943fd736599447e00a0861a50d695260","score":"0.48088717","text":"public void syntax_error(Symbol aSymbol) {\n syntax_error(aSymbol, \".\");\n }","title":""},{"docid":"a909ae2c3c112d9448f1f006def0be5d","score":"0.48064762","text":"Pair newSymbolName(String name, Expression value, CodeStatement s);","title":""},{"docid":"59628c65b83681d2db5f6b450b57b3b3","score":"0.48060042","text":"private boolean isOpening(char symbol) {\n String openings = \"([{\";\n if (openings.contains(Character.toString(symbol))) {\n return true;\n }\n return false;\n }","title":""},{"docid":"346b07c138dabf8eb02dd48d81ddc348","score":"0.48030725","text":"@Test\n public void testSimpleAdd() {\n\n String[] column = new String[] { \"1.0\", \"2.0\", \"3.0\", \"4.5\" };\n\n BigMoney testObject = MoneyUtils.parse(\"USD 0.00\");\n for (int i = 0; i < column.length; i++) {\n testObject = testObject.plus(MoneyUtils.parse(\"USD \" + column[i]));\n }\n\n assertThat(testObject.toString()).isEqualTo(\"USD 10.50\");\n }","title":""},{"docid":"09fa3b6310c0543a5299df4f2ae99659","score":"0.48021615","text":"@Override\r\n\tpublic void addTo(String newExpression) {\n\r\n\t}","title":""},{"docid":"5a852bc6218911a5e8f797b9a9d1a047","score":"0.47995684","text":"public void unrecovered_syntax_error(Symbol s) throws java.lang.Exception{\n System.out.println(\"Error Sintactico no recuperable en la Linea \" + (s.right+1)+ \" Columna \"+s.left+\". Identificador \" + s.value + \" no reconocido.\");\n}","title":""},{"docid":"9500b9b666418e62bb83b7e774e97a2f","score":"0.47968668","text":"@Override\n\tpublic void addToGrill(String s, int pos) {\n\t\t\n\t}","title":""},{"docid":"fbc3507938ec6008987135ef56b9fa48","score":"0.47951803","text":"AcideAmine(String symb){\n symbol=symb;\n //faire analyse\n }","title":""},{"docid":"bf4c8bd1937632ac3dafa66b1221df8e","score":"0.47924423","text":"private void verifyCEPSuggestion(String inSymbol,\n BigDecimal inPrice,\n BigDecimal inQuantity,\n OrderSingleSuggestion inSuggestion)\n throws Exception\n {\n assertEquals(inSymbol,\n inSuggestion.getOrder().getInstrument().getSymbol());\n assertEquals(inPrice,\n inSuggestion.getOrder().getPrice());\n assertEquals(inQuantity,\n inSuggestion.getOrder().getQuantity());\n }","title":""},{"docid":"e7aafe627114b896229a971e8adcf5f0","score":"0.47796598","text":"public boolean addBug(Bug bug) {\n\t\tif(bugMapper.insert(bug)!=0)\n\t\t\treturn true;\n\t\treturn false;\n\t}","title":""},{"docid":"e6e3316297da2d77d2a1d54e023020b0","score":"0.47779402","text":"@Test\n public void testAddBracket(){\n System.out.println(\"addBracket\");\n String divisionName = \"\";\n String bracketType = \"\";\n List players;\n\n try {\n myBracketManager.addBracket(divisionName, bracketType, null);\n fail();\n } catch (Exception e){\n assertTrue(e instanceof BadBracketDataException);\n }\n try {\n myBracketManager.addBracket(\"alpha\", \"SE\", null);\n fail();\n } catch (Exception e){\n assertTrue(e instanceof BadBracketDataException);\n }\n players = new ArrayList<>(2);\n players.add(\"bob\"); players.add(\"tom\");\n try {\n myBracketManager.addBracket(\"alpha\", bracketType, players);\n fail();\n } catch (Exception e){\n assertTrue(e instanceof BadBracketDataException);\n }\n try {\n myBracketManager.addBracket(\"\", \"SE\", players);\n fail();\n } catch (Exception e){\n assertTrue(e instanceof BadBracketDataException);\n }\n try {\n myBracketManager.addBracket(divisionName, bracketType, players);\n fail();\n } catch (Exception e){\n assertTrue(e instanceof BadBracketDataException);\n }\n players.clear();\n try {\n myBracketManager.addBracket(divisionName, \"SE\", players);\n fail();\n } catch (Exception e){\n assertTrue(e instanceof BadBracketDataException);\n }\n try {\n myBracketManager.addBracket(\"alpha\", bracketType, players);\n fail();\n } catch (Exception e){\n assertTrue(e instanceof BadBracketDataException);\n }\n //Test duplicate division names.\n players.add(\"bob\"); players.add(\"tom\");\n divisionName = \"useThisTwice\";\n try {\n myBracketManager.addBracket(divisionName, \"SE\", players);\n } catch (Exception e){\n fail();\n }\n try {\n myBracketManager.addBracket(divisionName, bracketType, players);\n fail();\n } catch (Exception e){\n assertTrue(e instanceof BadBracketDataException);\n }\n }","title":""},{"docid":"c6a8e8ef599f3dcf930dc5126f722c33","score":"0.47762617","text":"public void syntax_error(Symbol aSymbol, String messageSuffix) {\n// System.out.println(\"Symbol \" + aSymbol + \", left=\" + aSymbol.left\n// + \", right=\" + aSymbol.right\n// + \", parse_state=\" + aSymbol.parse_state\n// + \", value=\" + (aSymbol.value != null ? aSymbol.value : \"-nil-\"));\n report_error(\"Syntax error at \\\"\" + aSymbol.value +\"\\\"\" + messageSuffix, aSymbol);\n }","title":""},{"docid":"d56a083ccdb1004d5229dfd4dccbfa19","score":"0.47701603","text":"@Override\r\n\tpublic StringBuilder appendValueAsSymbol(StringBuilder pBuf, CharacterMatrix pMatrix) {\n\t\treturn appendValue(pBuf);\r\n\t}","title":""},{"docid":"1bf574d0ed0911d8bf297a0e78ab7631","score":"0.47671223","text":"public void syntax_error(Symbol s){\n/**Metodo al que se llama automaticamente ante algun error sintactico.*/\n System.out.println(\"Error Sintactico en la Linea \" + (s.right+1) +\" Columna \"+s.left+ \". Identificador \" +s.value + \" no reconocido.\" );\nint linea = s.right+1; int columna = s.left; \nString texto = \"Identificador \" +s.value + \" no reconocido.\";\n\n}","title":""},{"docid":"e31051819409e0f199a0772a108e9439","score":"0.4767075","text":"@Test\r\n\tpublic void testGetSymbol() {\r\n\t\tSystem.out.println(\"getSymbol\");\r\n\t\tCurrency instance = null;\r\n\t\tString expResult = \"\";\r\n\t\tString result = instance.getSymbol();\r\n\t\tassertEquals(expResult, result);\r\n\t\t// TODO review the generated test code and remove the default call to fail.\r\n\t\tfail(\"The test case is a prototype.\");\r\n\t}","title":""},{"docid":"c4a0d9871182e6a1cd2d130a64873fc8","score":"0.47572628","text":"@Test\n public void testEncodeDecodeSymbolsString() {\n testEncodeDecode(\"+*/-|!£$%&/()=?^[]@#-_.:,;<>\");\n }","title":""},{"docid":"4fdff301af276f6a5b4b93bf527f66b9","score":"0.47559476","text":"@Test\n void postFixTest() {\n assertEquals(63, calc.evaluate(\"567+*2-\", false));\n }","title":""},{"docid":"2d7c917325bd15fa1966ea5362ac6ce4","score":"0.47516015","text":"public ISymbol withIdentifier(Identifier newIdentifier);","title":""},{"docid":"c7c00f4cfce431e79acedb9ee8a41a89","score":"0.47459483","text":"public String getSymbol() {\r\n return this.symbol;\r\n }","title":""},{"docid":"689640a1988f1ca977f884043b759f7d","score":"0.4726525","text":"public String getSymbol() {\n return symbol;\n }","title":""},{"docid":"689640a1988f1ca977f884043b759f7d","score":"0.4726525","text":"public String getSymbol() {\n return symbol;\n }","title":""},{"docid":"23e442610cd521d525abf72380fc439d","score":"0.47204992","text":"adamant.global.v1.CalculateFeeSymbolSpecific getSymbolSpecific();","title":""},{"docid":"837b0482b739bd0464055476e5c0728f","score":"0.47124648","text":"@Test\n public void testAddBracket2PlayersSE() throws BadBracketDataException{\n System.out.println(\"Add 2-player SE bracket\");\n String divisionName = \"alpha\";\n String bracketType = \"SE\";\n BracketType myBracket;\n Round myRound;\n Match myMatch;\n List players = new ArrayList<>(2);\n players.add(\"who\");\n players.add(\"where\");\n myBracketManager.addBracket(divisionName, bracketType, players);\n myBracketManager.firstBracket();\n assertFalse(myBracketManager.isDone());\n myBracket = myBracketManager.getCurrentBracket();\n assertEquals(\"alpha\", myBracket.getBracketName());\n assertEquals(1, myBracket.getRoundCount());\n myBracket.firstRound();\n myRound = myBracket.getCurrentRound();\n assertEquals(1, myRound.getMatchCount());\n myRound.firstMatch();\n assertFalse(myRound.isDone());\n myMatch = myRound.getCurrentMatch();\n assertEquals(\"who\", myMatch.getPlayer1());\n assertEquals(\"where\", myMatch.getPlayer2());\n myRound.nextMatch();\n assertTrue(myRound.isDone());\n myBracketManager.nextBracket();\n assertTrue(myBracketManager.isDone());\n }","title":""},{"docid":"7c21b29c30cf335b869281d3c8a7a198","score":"0.4711986","text":"@Test\n\tpublic void exceptionPutTest() {\n\n\t\tSymbolTable st = new SymbolTable();\n\n\t\ttry {\n\n\t\t\tst.put(\"a\", 99);\n\t\t\tst.put(\"b\", 91);\n\t\t\tst.put(\"a\", 13);\n\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Cannot store the same symbol\");\n\t\t\treturn; //the test will pass\n\t\t}\n\n\t\tfail();\n\t}","title":""},{"docid":"6a229aec8b089a1b90288c1ff108354c","score":"0.47118208","text":"@Test\n public void testAddBracket16PlayersSE() throws BadBracketDataException{\n System.out.println(\"Add 16-player SE bracket\");\n String divisionName = \"division\";\n String bracketType = \"SE\";\n BracketType myBracket;\n Round myRound;\n List players = new ArrayList<>(16);\n players.add(\"z\"); players.add(\"y\"); players.add(\"x\"); players.add(\"w\");\n players.add(\"v\"); players.add(\"u\"); players.add(\"t\"); players.add(\"s\");\n players.add(\"r\"); players.add(\"q\"); players.add(\"p\"); players.add(\"o\");\n players.add(\"n\"); players.add(\"m\"); players.add(\"l\"); players.add(\"k\");\n myBracketManager.addBracket(divisionName, bracketType, players);\n myBracketManager.firstBracket();\n myBracket = myBracketManager.getCurrentBracket();\n assertEquals(4, myBracket.getRoundCount());\n myBracket.firstRound();\n //round 1\n myRound = myBracket.getCurrentRound();\n assertEquals(8, myRound.getMatchCount());\n myBracket.nextRound();\n //round 2\n myRound = myBracket.getCurrentRound();\n assertEquals(4, myRound.getMatchCount());\n myBracket.nextRound();\n //round 3\n myRound = myBracket.getCurrentRound();\n assertEquals(2, myRound.getMatchCount());\n myBracket.nextRound();\n //round 4\n myRound = myBracket.getCurrentRound();\n assertEquals(1, myRound.getMatchCount());\n myBracket.nextRound();\n assertTrue(myBracket.isDone());\n myBracketManager.nextBracket();\n assertTrue(myBracketManager.isDone());\n }","title":""},{"docid":"7c1ac2a6b21b78dea88a66c47f3b00a9","score":"0.47052622","text":"@Test\n public void testAddNum() {\n Calculator instance = new Calculator();\n assertEquals(3, instance.solveEquation(\"add 1 2 \"), 0);\n //Acceptance criteria 1.a\n assertEquals(9, instance.solveEquation(\"add 1 3 5\"), 0);\n assertEquals(15, instance.solveEquation(\"add 1 2 5 7 \"), 0);\n assertEquals(11, instance.solveEquation(\"add 1 10\"), 0);\n assertEquals(12, instance.solveEquation(\"add 10 2 \"), 0);\n assertEquals(1, instance.solveEquation(\"add -1 2 \"), 0);\n assertEquals(8, instance.solveEquation(\"add 10 -2 \"), 0);\n assertEquals(10, instance.solveEquation(\"add 10 0 \"), 0);\n }","title":""},{"docid":"d857197df73b05420e724029a4210a6a","score":"0.47048005","text":"void add(Quote quote);","title":""},{"docid":"964d4bf12202038fd4456f9b964dbaa0","score":"0.4703801","text":"public char getSymbol()\n {\n return 'X'; \n }","title":""},{"docid":"e26cef6fcdd06fb4d78f98930ac3be7d","score":"0.47036958","text":"private static void buildFix(\n Description.Builder builder, MethodInvocationTree tree, VisitorState state) {\n MethodInvocationTree mockitoCall = tree;\n List args = mockitoCall.getArguments();\n Tree mock = mockitoCall.getArguments().get(0);\n boolean isVerify = ASTHelpers.getSymbol(tree).getSimpleName().contentEquals(\"verify\");\n if (isVerify && mock.getKind() == Kind.METHOD_INVOCATION) {\n MethodInvocationTree invocation = (MethodInvocationTree) mock;\n String verify = state.getSourceForNode(mockitoCall.getMethodSelect());\n String receiver = state.getSourceForNode(ASTHelpers.getReceiver(invocation));\n String mode = args.size() > 1 ? \", \" + state.getSourceForNode(args.get(1)) : \"\";\n String call = state.getSourceForNode(invocation).substring(receiver.length());\n builder.addFix(\n SuggestedFix.replace(tree, String.format(\"%s(%s%s)%s\", verify, receiver, mode, call)));\n }\n if (isVerify && args.size() > 1 && NEVER_METHOD.matches(args.get(1), state)) {\n // TODO(cushon): handle times(0) the same as never()\n builder.addFix(\n SuggestedFix.builder()\n .addStaticImport(\"org.mockito.Mockito.verifyZeroInteractions\")\n .replace(\n tree, String.format(\"verifyZeroInteractions(%s)\", state.getSourceForNode(mock)))\n .build());\n }\n // Always suggest the naive semantics-preserving option, which is just to\n // delete the assertion:\n Tree parent = state.getPath().getParentPath().getLeaf();\n if (parent.getKind() == Kind.EXPRESSION_STATEMENT) {\n // delete entire expression statement\n builder.addFix(SuggestedFix.delete(parent));\n } else {\n builder.addFix(SuggestedFix.delete(tree));\n }\n }","title":""},{"docid":"af5614aee30d9ba7f5b164dc611c75a1","score":"0.46972504","text":"protected abstract void add(int size, String method, double timing);","title":""},{"docid":"3e60ea4ed98ce8195e627d2e89e81ce8","score":"0.469697","text":"protected void spy(Issue next)\n {\n }","title":""},{"docid":"ee10ab8625a291b8f4f1d8c8fe03687b","score":"0.4696303","text":"private static void add() {\n\t\t\r\n\t}","title":""},{"docid":"e8827bd7f7124c32777d3f34e74cc810","score":"0.46783027","text":"private Symbol(String label) {\n this(label, Token.getToken(label));\n }","title":""},{"docid":"b4ddcc349f7f42c5810a688245575716","score":"0.46769768","text":"@Test\r\n\tpublic void addStockTest() {\r\n\t\tstore = new Store(100);\r\n\t\tstore.buyStock(\"test\", 15);\r\n\t\tassertEquals(\"Description:test Quantity:15\", store.toString());\r\n\t}","title":""},{"docid":"117cdac16a6790f2c17687e66c3f172e","score":"0.46646917","text":"public String getSymbol(){\n\t\treturn this.symbol;\n\t}","title":""},{"docid":"80506906ecc94403fc5d9dad73269f5e","score":"0.4664058","text":"@Test\n public void testAddNote() {\n System.out.println(\"addNote\");\n String note = \"Test notes\";\n instance.addNote(note);\n }","title":""},{"docid":"c010b06bd58a1b6508c404c89dbbcceb","score":"0.46607628","text":"@Test\r\n\tpublic void testAdd() {\n\t\twhen(calcService.add(10.0, 20.0)).thenReturn(30.00);\r\n\t\t// test the add functionality\r\n\t\tAssert.assertEquals(mathApplication.add(10.0, 20.0), 30.0, 0);\r\n\t\t// Will result in failure as mockito doesn't how to behave if 10.5 is\r\n\t\t// passed as first argument\r\n\t\t// Assert.assertEquals(mathApplication.add(10.5, 20.0),30.0,0);\r\n\t\t// verify the behavior\r\n\t\tverify(calcService).add(20.0, 20.0);\r\n\t\t// try to correct using\r\n\t\t// verify(calcService).add(10.0, 20.0);\r\n\t}","title":""}],"string":"[\n {\n \"docid\": \"1284dcc3c4e3fb90043314f1e94ccbce\",\n \"score\": \"0.6381967\",\n \"text\": \"@Test\\r\\n public void testRemoveSymbol() {\\r\\n System.out.println(\\\"testRemoveSymbol\\\");\\r\\n Currency base = Currency.AUD;\\r\\n FixerBuilder instance = new FixerBuilder();\\r\\n String expResult = \\\"https://api.fixer.io/latest?base=AUD\\\";\\r\\n String result = instance.withBase(base).addSymbol(Currency.USD).removeSymbol(Currency.USD).constructLink();\\r\\n assertEquals(expResult, result);\\r\\n \\r\\n instance = new FixerBuilder();\\r\\n expResult = \\\"https://api.fixer.io/latest?base=AUD&symbols=PLN,\\\";\\r\\n result = instance.withBase(base).addSymbol(Currency.USD).addSymbol(Currency.PLN).removeSymbol(Currency.USD).constructLink();\\r\\n assertEquals(expResult, result);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e410c59144cd9ecfaf6f5fd8041641f4\",\n \"score\": \"0.6182202\",\n \"text\": \"@Test\\r\\n public void testWithSymbols() {\\r\\n System.out.println(\\\"testWithSymbols\\\");\\r\\n Currency base = Currency.AUD;\\r\\n FixerBuilder instance = new FixerBuilder();\\r\\n String expResult = \\\"https://api.fixer.io/latest?base=AUD&symbols=USD,PLN,\\\";\\r\\n String result = instance.withBase(base).withSymbols(Currency.USD, Currency.PLN).constructLink();\\r\\n assertEquals(expResult, result);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2025895a7b715157c0a32879f291fa62\",\n \"score\": \"0.6117584\",\n \"text\": \"public void setSymbol(String symbol) { this.symbol = symbol; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7b26f341c93c750221d974e88624cbc5\",\n \"score\": \"0.60913205\",\n \"text\": \"public boolean addSymbol(Symbol s)\\n\\t{\\n\\t\\tString realname = safeName(s.getName(), s.getKind());\\n\\t\\tSymbol symbol = table.get(realname);\\n\\t\\tif(symbol != null) { return false; }\\n\\t\\ttable.put(realname, s);\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0f072f0e0694ca94b3c057e3011b9e50\",\n \"score\": \"0.5924064\",\n \"text\": \"@Override\\n public void addAlphabetSymbol(I symbol) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c725738ab1d8075e645b49781a3a7662\",\n \"score\": \"0.5910134\",\n \"text\": \"void addNewRow(String symbol);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d8ecc989ed17637289d5ed2da27de67d\",\n \"score\": \"0.58218366\",\n \"text\": \"@Override\\n public void addSymbol(String symbol, int value) {\\n assert !this.symbolTable.containsKey(symbol);\\n\\n this.symbolTable.put(symbol, new Symbol(value, false));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"021802b20ba756cd35017c1e6d83266c\",\n \"score\": \"0.5794867\",\n \"text\": \"public void setSymbol(String symbol) {\\n this.symbol = symbol;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aeb2aa6b930ced18f5c1c27bb8949b31\",\n \"score\": \"0.56250995\",\n \"text\": \"Symbol createSymbol();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8cb443b57863063a02a700e201461555\",\n \"score\": \"0.55971706\",\n \"text\": \"public void setSymbol(String symbol) {\\n\\t\\tthis.symbol = symbol;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"64f2c761286cd6a1ce845f5d1ecd2978\",\n \"score\": \"0.5562514\",\n \"text\": \"public Position setPosition(Symbol symbol, int quantity, ExecutionMethod executionMethod);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"49e7b66d9728d7c9a73fef6219bae17c\",\n \"score\": \"0.55514395\",\n \"text\": \"protected void setSymbol(Symbol symbol) {\\n this.symbol = symbol;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"db5a9d6fdcee2ba757ec7675daca2d4a\",\n \"score\": \"0.55101144\",\n \"text\": \"static void add(String str, InstructionType type, boolean isSymbol) {\\n table.put(new StringView(str), type);\\n if (isSymbol) {\\n symbolList.add(str);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab0ba9e7f846e09257cd778d67c40344\",\n \"score\": \"0.5390667\",\n \"text\": \"@Test\\n\\tpublic void testSomeSymbols() {\\n\\t\\tLexer lexer = new Lexer(\\\" -.? \\\\r\\\\n\\\\t ## \\\");\\n\\n\\t\\tToken correctData[] = {\\n\\t\\t\\t\\tnew Token(TokenType.SYMBOL, Character.valueOf('-')),\\n\\t\\t\\t\\tnew Token(TokenType.SYMBOL, Character.valueOf('.')),\\n\\t\\t\\t\\tnew Token(TokenType.SYMBOL, Character.valueOf('?')),\\n\\t\\t\\t\\tnew Token(TokenType.SYMBOL, Character.valueOf('#')),\\n\\t\\t\\t\\tnew Token(TokenType.SYMBOL, Character.valueOf('#')),\\n\\t\\t\\t\\tnew Token(TokenType.EOF, null)\\n\\t\\t};\\n\\n\\t\\tcheckTokenStream(lexer, correctData);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3afffb44baa0a7be811a0f4f1da6e8b5\",\n \"score\": \"0.5380089\",\n \"text\": \"private void addMethodArg(SymbolMethod symbolMethod, ASTArg nodeArg) {\\n SymbolVar symbolVar = new SymbolVar(nodeArg.val);\\n symbolVar.updateInitialized(false);\\n symbolMethod.addSymbol(nodeArg.val, symbolVar);\\n\\n if (nodeArg.jjtGetNumChildren() != 1)\\n return;\\n\\n if (nodeArg.jjtGetChild(0) instanceof ASTType) {\\n symbolMethod.addType(analysingType(symbolVar, (ASTType) nodeArg.jjtGetChild(0)));\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3b713597c04b56b3cd08df62aa985539\",\n \"score\": \"0.5351794\",\n \"text\": \"boolean hasSymbolSpecific();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"04ce41bb523f5dd6cf20842d3a9b868e\",\n \"score\": \"0.53457314\",\n \"text\": \"public void addEntry(String symbol) {\\n\\t\\taddEntry(symbol, ramAddress);\\n\\t\\tramAddress++;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ef416b776fbad59645ca9b0447f0cdff\",\n \"score\": \"0.52944016\",\n \"text\": \"@Test\\n void getCompanyBySymbolException()\\n {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c8bc46e919cee60029a70b6833c80664\",\n \"score\": \"0.5284899\",\n \"text\": \"public void define(Symbol sym);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8f7a90cf008f53f9c44335d344ddd166\",\n \"score\": \"0.5233114\",\n \"text\": \"private void addExitSymbol() {\\n\\t\\t\\n\\t\\tInteger exitInstruction = new Integer(0);\\n\\t\\t\\n\\t\\tInteger opCode = new Integer(50);\\n\\t\\tInteger value = new Integer(1);\\n\\t\\t\\n\\t\\texitInstruction = opCode;\\n\\t\\texitInstruction = exitInstruction << 1;\\n\\t\\t\\n\\t\\texitInstruction = exitInstruction | 1;\\n\\t\\t\\n\\t\\t\\n\\t\\texitInstruction = exitInstruction << 25;\\n\\t\\t\\n\\t\\texitInstruction = exitInstruction | value;\\n\\t\\t\\n\\t\\tthis.instructions.addElement(exitInstruction);\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1629998dd23fe75c731e0f39c3faf57\",\n \"score\": \"0.51639664\",\n \"text\": \"public Position setPosition(Symbol symbol, int quantity);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf32dac276c1625fc356c7161bfcf55a\",\n \"score\": \"0.514638\",\n \"text\": \"public void report_error(String messagePrefix, Symbol aSymbol, String messageSuffix) {\\n// System.out.println(\\\"Symbol \\\" + aSymbol + \\\", left=\\\" + aSymbol.left\\n// + \\\", right=\\\" + aSymbol.right\\n// + \\\", parse_state=\\\" + aSymbol.parse_state\\n// + \\\", value=\\\" + (aSymbol.value != null ? aSymbol.value : \\\"-nil-\\\"));\\n Symbol theSymbol = aSymbol != null ? aSymbol : lookahead != null ? lookahead[0] : cur_token;\\n report_error(messagePrefix + \\\" \\\\\\\"\\\" + theSymbol.value +\\\"\\\\\\\"\\\" + messageSuffix, theSymbol);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1bee5af7f97dd0f17dc8fa9950260bc\",\n \"score\": \"0.5118809\",\n \"text\": \"Symbols createSymbols();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c7c9d5638234e95e88ae6912148c227f\",\n \"score\": \"0.50967073\",\n \"text\": \"@Override\\n\\tpublic void buildSymbolTable(STableI table, Stack stStack, int entryLoc, int tableLoc)\\n\\t\\t\\tthrows CompileTimeError {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"29c0eed4894227a6b42be955efba0c45\",\n \"score\": \"0.5094631\",\n \"text\": \"public void setValue(char newSymbol) {\\r\\n\\t\\tif(!isEmpty()){\\r\\n\\t\\t\\tthis.current.symbol = newSymbol;\\r\\n\\t\\t}\\r\\n\\t\\telse{\\r\\n\\t\\t\\tSystem.out.println(\\\"The list is empty.\\\");\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1ea721957e1b29a7033d5c147b9956a\",\n \"score\": \"0.50908536\",\n \"text\": \"public interface Symbol {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"258c497c55b1613f65e02e0535c9e461\",\n \"score\": \"0.5082075\",\n \"text\": \"public String getSymbol() {\\n return symbol;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"83ca836941c21064a136417a70599d03\",\n \"score\": \"0.5077386\",\n \"text\": \"@Test @Override\\n\\tpublic void t6_existing_add() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1576e08085c1464ba6e25353d7e92b1\",\n \"score\": \"0.5075735\",\n \"text\": \"String getSymbol();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"83e41d6f48ff96e40e9255f694969151\",\n \"score\": \"0.5057652\",\n \"text\": \"public void setSymbol(String symbol) {\\n this.symbol = symbol == null ? null : symbol.trim();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c3fde43aaa3d0acf98d2de44172b9309\",\n \"score\": \"0.5050059\",\n \"text\": \"public void annotateSymbol(final AstNodeSymbol symbol, final ASTNode node) {\\n\\t\\t// Do nothing\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"06b857379db88eba867c07376a98aafc\",\n \"score\": \"0.50422525\",\n \"text\": \"void addShip(int x, int y, char[][] map, char shipSymbol){\\n map[y][x]=shipSymbol;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7a0b06726f6b9a641ff4884943445dec\",\n \"score\": \"0.5037721\",\n \"text\": \"@Test\\r\\n\\tpublic void addPairTest() {\\r\\n\\t\\tItemBag testBag = new ItemBag();\\r\\n\\t\\tItem testItem1 = new Item(\\\"testItem1\\\");\\r\\n\\t\\ttestBag.addPair(\\\"testItem1\\\", testItem1);\\r\\n\\r\\n\\t\\tfail(\\\"Not yet implemented\\\");\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9e7a1922641d75bf1d69fde057d2d2c9\",\n \"score\": \"0.50238436\",\n \"text\": \"public void addEntry(String symbol, int address) {\\n\\t\\ttable.put(symbol, Code.mapDecimalToBinary(address));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8f72b335801127cb223ade50734be516\",\n \"score\": \"0.5018618\",\n \"text\": \"@Test\\n @DisplayName(\\\"testing for push method\\\")\\n void testingForPushMethod() {\\n moduleCodes.push(\\\"CS3305\\\");\\n moduleCodes.push(\\\"CS3306\\\");\\n moduleCodes.push(\\\"CS3506\\\");\\n moduleCodes.push(\\\"CS3506\\\");\\n moduleCodes.push(\\\"CS3514\\\");\\n moduleCodes.push(\\\"CS3516\\\");\\n moduleCodes.push(\\\"CS3519\\\");\\n moduleCodes.push(\\\"CS1117\\\");\\n assertEquals(7+1,moduleCodes.getSize());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"15cd35b1dd59a0321d28e2f64902c5a1\",\n \"score\": \"0.5013952\",\n \"text\": \"private Symbol(String name) {\\n super();\\n this.name = name;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"96a1049b938451b87337585a2654b791\",\n \"score\": \"0.5011367\",\n \"text\": \"public void set(Symbol symbol, boolean b) {\\n if (symbol != null)\\n table.put(symbol,b);\\n else\\n System.out.print(\\\"ERROR: cannot insert null symbol\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"79659e9d5ec407f3b1067a72f717cbf8\",\n \"score\": \"0.4981141\",\n \"text\": \"public Entry(Symbol symbol) {\\n this.type = Type.SYMBOL;\\n this.other = symbol;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c80f9d582454f4152673d22c1e0398f9\",\n \"score\": \"0.495335\",\n \"text\": \"@Test\\n public void shouldGetSymbolWriterByMatcher() {\\n assertThat(WriterFactory.getWriter(SYMBOL_MATCH), is(instanceOf(SymbolWriter.class)));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3bd23ac16681a47619bdfc15d4e24091\",\n \"score\": \"0.4938638\",\n \"text\": \"GenericUnaryOperator(String name, String description, String symbol){\\n\\t\\tthis.name = name;\\n\\t\\tthis.description = description;\\n\\t\\tthis.symbol = symbol;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"165d1164006779a4868d50a259b8e6b8\",\n \"score\": \"0.49331862\",\n \"text\": \"@Test @Override\\n\\tpublic void t8_existing_addThrice() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"543bd82fc8635b4889d3061222dabc2d\",\n \"score\": \"0.4917341\",\n \"text\": \"void setMorelinesSymbol(Character symbol);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"543bd82fc8635b4889d3061222dabc2d\",\n \"score\": \"0.4917341\",\n \"text\": \"void setMorelinesSymbol(Character symbol);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1718fbc283f03ed04ffceafd27c1d487\",\n \"score\": \"0.4909847\",\n \"text\": \"@Override\\n public void addEntry(int x) {\\n //This is a dummy method, but is call in some methods inside SyntacticFeatureFactory class\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"072cdadcdcfd09bc71086b6dd045376e\",\n \"score\": \"0.49012268\",\n \"text\": \"public MySymbolTable(){\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5449dd4da131631ef2c23b4222db63f8\",\n \"score\": \"0.48991293\",\n \"text\": \"@Test\\n public void shouldGetSymbolWriterByName() {\\n assertThat(WriterFactory.getWriter(SYMBOL_NAME), is(instanceOf(SymbolWriter.class)));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"38d6f2c0ea7e904364b46b36c9f5cff8\",\n \"score\": \"0.48900044\",\n \"text\": \"public void onMatchingSymbolClick(View v, int position);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e99d79c1a4d77d1bd536ba137cced7a6\",\n \"score\": \"0.48867145\",\n \"text\": \"@Test @Override\\n\\tpublic void t7_existing_addTwice() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4f9791b19589342d8f9eb5dc4fff488a\",\n \"score\": \"0.4883638\",\n \"text\": \"public OpenOrder placeOrder(Symbol symbol, int quantity, String reference);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eade069b065a1327067c56a3a7af8dc2\",\n \"score\": \"0.48742366\",\n \"text\": \"@Test\\n public void testAddBracket9PlayersSE() throws BadBracketDataException{\\n System.out.println(\\\"Add 9-player SE bracket\\\");\\n String divisionName = \\\"division\\\";\\n String bracketType = \\\"SE\\\";\\n BracketType myBracket;\\n Round myRound;\\n List players = new ArrayList<>(9);\\n players.add(\\\"za\\\"); players.add(\\\"yb\\\"); players.add(\\\"xc\\\");\\n players.add(\\\"vd\\\"); players.add(\\\"ue\\\"); players.add(\\\"tf\\\");\\n players.add(\\\"rg\\\"); players.add(\\\"qh\\\"); players.add(\\\"pi\\\");\\n myBracketManager.addBracket(divisionName, bracketType, players);\\n myBracketManager.firstBracket();\\n myBracket = myBracketManager.getCurrentBracket();\\n assertEquals(4, myBracket.getRoundCount());\\n myBracket.firstRound();\\n //round 1\\n myRound = myBracket.getCurrentRound();\\n assertEquals(5, myRound.getMatchCount());\\n myBracket.nextRound();\\n //round 2\\n myRound = myBracket.getCurrentRound();\\n assertEquals(3, myRound.getMatchCount());\\n myBracket.nextRound();\\n //round 3\\n myRound = myBracket.getCurrentRound();\\n assertEquals(2, myRound.getMatchCount());\\n myBracket.nextRound();\\n //round 4\\n myRound = myBracket.getCurrentRound();\\n assertEquals(1, myRound.getMatchCount());\\n myBracket.nextRound();\\n assertTrue(myBracket.isDone());\\n myBracketManager.nextBracket();\\n assertTrue(myBracketManager.isDone());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"67efdfa21b06830e2cdcf98b255fbc13\",\n \"score\": \"0.48736525\",\n \"text\": \"public scala.reflect.internal.Symbols.Symbol apply (java.lang.String name) { throw new RuntimeException(); }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a65d3bb0272129eaa6e04e3d5388a77\",\n \"score\": \"0.48724833\",\n \"text\": \"public void insert(char symbol) {\\r\\n\\t\\tCaseRuban theElem = new CaseRuban(null, null, symbol);\\r\\n\\t\\t\\r\\n\\t\\ttheElem.prev = this.current.prev;\\r\\n\\t\\ttheElem.next = this.current;\\r\\n\\t\\t(this.current).prev.next = theElem;\\r\\n\\t\\t(this.current).prev = theElem;\\r\\n\\t\\tthis.current = theElem;\\r\\n\\t\\t\\r\\n\\t\\tthis.size++;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b6f457b1203b38c61a719c4f61d96cdb\",\n \"score\": \"0.48697364\",\n \"text\": \"@Test\\n public void testAdd() {\\n assertEquals(ra(1, 2, 3), ra(1).add(ra(2, 3)));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0a45fe0034035a3bd66a3b0e694c33d1\",\n \"score\": \"0.48604366\",\n \"text\": \"public String getSymbol() {\\n return symbol;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0a45fe0034035a3bd66a3b0e694c33d1\",\n \"score\": \"0.48604366\",\n \"text\": \"public String getSymbol() {\\n return symbol;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0a45fe0034035a3bd66a3b0e694c33d1\",\n \"score\": \"0.48604366\",\n \"text\": \"public String getSymbol() {\\n return symbol;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ccbe1d15bf7590aedbc7fbc97183d581\",\n \"score\": \"0.48570305\",\n \"text\": \"private void checkAddSymbols(boolean isAddSymbolsCheckbox) {\\n\\t\\t\\n\\t\\ttestFuncs.myDebugPrinting(isAddSymbolsCheckbox?\\\"true\\\":\\\"false\\\", enumsClass.logModes.MINOR);\\n\\t driver.switchTo().frame(1);\\n\\t if (isAddSymbolsCheckbox) {\\n\\t \\t\\n\\t \\tif (!driver.findElement(By.xpath(\\\"//*[@id='add_symbol']\\\")).isSelected()) {\\n\\t\\t\\t\\n\\t \\t\\ttestFuncs.myDebugPrinting(\\\"Checkbox was unchecked\\\", enumsClass.logModes.MINOR);\\n\\t \\t\\tmyClick(By.xpath(\\\"//*[@id='add_symbol']\\\"), 2000);\\n\\t \\t}\\n\\t\\t} else {\\n\\t\\t\\t\\n\\t \\tif (driver.findElement(By.xpath(\\\"//*[@id='add_symbol']\\\")).isSelected()) {\\n\\t\\t\\t\\t\\n\\t \\t\\ttestFuncs.myDebugPrinting(\\\"Checkbox was checked\\\", enumsClass.logModes.MINOR);\\n\\t \\t\\tmyClick(By.xpath(\\\"//*[@id='add_symbol']\\\"), 2000);\\n\\t \\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3d9e581b3e862552b0e3929d90df50c2\",\n \"score\": \"0.48494118\",\n \"text\": \"@Test\\n public void testAddBracket13PlayersSE() throws BadBracketDataException{\\n System.out.println(\\\"Add 13-player SE bracket\\\");\\n String divisionName = \\\"division\\\";\\n String bracketType = \\\"SE\\\";\\n BracketType myBracket;\\n Round myRound;\\n List players = new ArrayList<>(13);\\n players.add(\\\"1331\\\"); players.add(\\\"1221\\\"); players.add(\\\"1111\\\");\\n players.add(\\\"1001\\\"); players.add(\\\"0990\\\"); players.add(\\\"0880\\\");\\n players.add(\\\"0770\\\"); players.add(\\\"0660\\\"); players.add(\\\"0550\\\");\\n players.add(\\\"0440\\\"); players.add(\\\"0330\\\"); players.add(\\\"0220\\\");\\n players.add(\\\"0110\\\");\\n myBracketManager.addBracket(divisionName, bracketType, players);\\n myBracketManager.firstBracket();\\n myBracket = myBracketManager.getCurrentBracket();\\n assertEquals(4, myBracket.getRoundCount());\\n myBracket.firstRound();\\n //round 1\\n myRound = myBracket.getCurrentRound();\\n assertEquals(7, myRound.getMatchCount());\\n myBracket.nextRound();\\n //round 2\\n myRound = myBracket.getCurrentRound();\\n assertEquals(4, myRound.getMatchCount());\\n myBracket.nextRound();\\n //round 3\\n myRound = myBracket.getCurrentRound();\\n assertEquals(2, myRound.getMatchCount());\\n myBracket.nextRound();\\n //round 4\\n myRound = myBracket.getCurrentRound();\\n assertEquals(1, myRound.getMatchCount());\\n myBracket.nextRound();\\n assertTrue(myBracket.isDone());\\n myBracketManager.nextBracket();\\n assertTrue(myBracketManager.isDone());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5314837f0f1c32643ffe674d9df87001\",\n \"score\": \"0.48396078\",\n \"text\": \"public ElementOperator(String symbol) {\\n\\t\\tthis.symbol = symbol;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0b99165cf216d5489fe36ec56ef66e1b\",\n \"score\": \"0.48368615\",\n \"text\": \"@Override\\n public String getSymbol() {\\n return SYMBOL;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"efb19da34714102a9d2c1a0ec69765e8\",\n \"score\": \"0.4835914\",\n \"text\": \"public OpenOrder placeOrder(Symbol symbol, int quantity, double price, String reference);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"50a9973b1f3b4deee95465fe14cbb713\",\n \"score\": \"0.4828336\",\n \"text\": \"public final void testAdd() {\\n assertEquals(sjp.add(3, 4), 7);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1e4aa73c30fbb68c5b5229c2baa0bcae\",\n \"score\": \"0.48220202\",\n \"text\": \"public CreateExternalSymbolBackgroundCmd(String libName, String symbol) {\\n\\t\\tthis.provider = new RawSymbolInfoProvider(libName, symbol);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"943fd736599447e00a0861a50d695260\",\n \"score\": \"0.48088717\",\n \"text\": \"public void syntax_error(Symbol aSymbol) {\\n syntax_error(aSymbol, \\\".\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a909ae2c3c112d9448f1f006def0be5d\",\n \"score\": \"0.48064762\",\n \"text\": \"Pair newSymbolName(String name, Expression value, CodeStatement s);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"59628c65b83681d2db5f6b450b57b3b3\",\n \"score\": \"0.48060042\",\n \"text\": \"private boolean isOpening(char symbol) {\\n String openings = \\\"([{\\\";\\n if (openings.contains(Character.toString(symbol))) {\\n return true;\\n }\\n return false;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"346b07c138dabf8eb02dd48d81ddc348\",\n \"score\": \"0.48030725\",\n \"text\": \"@Test\\n public void testSimpleAdd() {\\n\\n String[] column = new String[] { \\\"1.0\\\", \\\"2.0\\\", \\\"3.0\\\", \\\"4.5\\\" };\\n\\n BigMoney testObject = MoneyUtils.parse(\\\"USD 0.00\\\");\\n for (int i = 0; i < column.length; i++) {\\n testObject = testObject.plus(MoneyUtils.parse(\\\"USD \\\" + column[i]));\\n }\\n\\n assertThat(testObject.toString()).isEqualTo(\\\"USD 10.50\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"09fa3b6310c0543a5299df4f2ae99659\",\n \"score\": \"0.48021615\",\n \"text\": \"@Override\\r\\n\\tpublic void addTo(String newExpression) {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5a852bc6218911a5e8f797b9a9d1a047\",\n \"score\": \"0.47995684\",\n \"text\": \"public void unrecovered_syntax_error(Symbol s) throws java.lang.Exception{\\n System.out.println(\\\"Error Sintactico no recuperable en la Linea \\\" + (s.right+1)+ \\\" Columna \\\"+s.left+\\\". Identificador \\\" + s.value + \\\" no reconocido.\\\");\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9500b9b666418e62bb83b7e774e97a2f\",\n \"score\": \"0.47968668\",\n \"text\": \"@Override\\n\\tpublic void addToGrill(String s, int pos) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fbc3507938ec6008987135ef56b9fa48\",\n \"score\": \"0.47951803\",\n \"text\": \"AcideAmine(String symb){\\n symbol=symb;\\n //faire analyse\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf4c8bd1937632ac3dafa66b1221df8e\",\n \"score\": \"0.47924423\",\n \"text\": \"private void verifyCEPSuggestion(String inSymbol,\\n BigDecimal inPrice,\\n BigDecimal inQuantity,\\n OrderSingleSuggestion inSuggestion)\\n throws Exception\\n {\\n assertEquals(inSymbol,\\n inSuggestion.getOrder().getInstrument().getSymbol());\\n assertEquals(inPrice,\\n inSuggestion.getOrder().getPrice());\\n assertEquals(inQuantity,\\n inSuggestion.getOrder().getQuantity());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e7aafe627114b896229a971e8adcf5f0\",\n \"score\": \"0.47796598\",\n \"text\": \"public boolean addBug(Bug bug) {\\n\\t\\tif(bugMapper.insert(bug)!=0)\\n\\t\\t\\treturn true;\\n\\t\\treturn false;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e6e3316297da2d77d2a1d54e023020b0\",\n \"score\": \"0.47779402\",\n \"text\": \"@Test\\n public void testAddBracket(){\\n System.out.println(\\\"addBracket\\\");\\n String divisionName = \\\"\\\";\\n String bracketType = \\\"\\\";\\n List players;\\n\\n try {\\n myBracketManager.addBracket(divisionName, bracketType, null);\\n fail();\\n } catch (Exception e){\\n assertTrue(e instanceof BadBracketDataException);\\n }\\n try {\\n myBracketManager.addBracket(\\\"alpha\\\", \\\"SE\\\", null);\\n fail();\\n } catch (Exception e){\\n assertTrue(e instanceof BadBracketDataException);\\n }\\n players = new ArrayList<>(2);\\n players.add(\\\"bob\\\"); players.add(\\\"tom\\\");\\n try {\\n myBracketManager.addBracket(\\\"alpha\\\", bracketType, players);\\n fail();\\n } catch (Exception e){\\n assertTrue(e instanceof BadBracketDataException);\\n }\\n try {\\n myBracketManager.addBracket(\\\"\\\", \\\"SE\\\", players);\\n fail();\\n } catch (Exception e){\\n assertTrue(e instanceof BadBracketDataException);\\n }\\n try {\\n myBracketManager.addBracket(divisionName, bracketType, players);\\n fail();\\n } catch (Exception e){\\n assertTrue(e instanceof BadBracketDataException);\\n }\\n players.clear();\\n try {\\n myBracketManager.addBracket(divisionName, \\\"SE\\\", players);\\n fail();\\n } catch (Exception e){\\n assertTrue(e instanceof BadBracketDataException);\\n }\\n try {\\n myBracketManager.addBracket(\\\"alpha\\\", bracketType, players);\\n fail();\\n } catch (Exception e){\\n assertTrue(e instanceof BadBracketDataException);\\n }\\n //Test duplicate division names.\\n players.add(\\\"bob\\\"); players.add(\\\"tom\\\");\\n divisionName = \\\"useThisTwice\\\";\\n try {\\n myBracketManager.addBracket(divisionName, \\\"SE\\\", players);\\n } catch (Exception e){\\n fail();\\n }\\n try {\\n myBracketManager.addBracket(divisionName, bracketType, players);\\n fail();\\n } catch (Exception e){\\n assertTrue(e instanceof BadBracketDataException);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c6a8e8ef599f3dcf930dc5126f722c33\",\n \"score\": \"0.47762617\",\n \"text\": \"public void syntax_error(Symbol aSymbol, String messageSuffix) {\\n// System.out.println(\\\"Symbol \\\" + aSymbol + \\\", left=\\\" + aSymbol.left\\n// + \\\", right=\\\" + aSymbol.right\\n// + \\\", parse_state=\\\" + aSymbol.parse_state\\n// + \\\", value=\\\" + (aSymbol.value != null ? aSymbol.value : \\\"-nil-\\\"));\\n report_error(\\\"Syntax error at \\\\\\\"\\\" + aSymbol.value +\\\"\\\\\\\"\\\" + messageSuffix, aSymbol);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d56a083ccdb1004d5229dfd4dccbfa19\",\n \"score\": \"0.47701603\",\n \"text\": \"@Override\\r\\n\\tpublic StringBuilder appendValueAsSymbol(StringBuilder pBuf, CharacterMatrix pMatrix) {\\n\\t\\treturn appendValue(pBuf);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1bf574d0ed0911d8bf297a0e78ab7631\",\n \"score\": \"0.47671223\",\n \"text\": \"public void syntax_error(Symbol s){\\n/**Metodo al que se llama automaticamente ante algun error sintactico.*/\\n System.out.println(\\\"Error Sintactico en la Linea \\\" + (s.right+1) +\\\" Columna \\\"+s.left+ \\\". Identificador \\\" +s.value + \\\" no reconocido.\\\" );\\nint linea = s.right+1; int columna = s.left; \\nString texto = \\\"Identificador \\\" +s.value + \\\" no reconocido.\\\";\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e31051819409e0f199a0772a108e9439\",\n \"score\": \"0.4767075\",\n \"text\": \"@Test\\r\\n\\tpublic void testGetSymbol() {\\r\\n\\t\\tSystem.out.println(\\\"getSymbol\\\");\\r\\n\\t\\tCurrency instance = null;\\r\\n\\t\\tString expResult = \\\"\\\";\\r\\n\\t\\tString result = instance.getSymbol();\\r\\n\\t\\tassertEquals(expResult, result);\\r\\n\\t\\t// TODO review the generated test code and remove the default call to fail.\\r\\n\\t\\tfail(\\\"The test case is a prototype.\\\");\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c4a0d9871182e6a1cd2d130a64873fc8\",\n \"score\": \"0.47572628\",\n \"text\": \"@Test\\n public void testEncodeDecodeSymbolsString() {\\n testEncodeDecode(\\\"+*/-|!£$%&/()=?^[]@#-_.:,;<>\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4fdff301af276f6a5b4b93bf527f66b9\",\n \"score\": \"0.47559476\",\n \"text\": \"@Test\\n void postFixTest() {\\n assertEquals(63, calc.evaluate(\\\"567+*2-\\\", false));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d7c917325bd15fa1966ea5362ac6ce4\",\n \"score\": \"0.47516015\",\n \"text\": \"public ISymbol withIdentifier(Identifier newIdentifier);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c7c00f4cfce431e79acedb9ee8a41a89\",\n \"score\": \"0.47459483\",\n \"text\": \"public String getSymbol() {\\r\\n return this.symbol;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"689640a1988f1ca977f884043b759f7d\",\n \"score\": \"0.4726525\",\n \"text\": \"public String getSymbol() {\\n return symbol;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"689640a1988f1ca977f884043b759f7d\",\n \"score\": \"0.4726525\",\n \"text\": \"public String getSymbol() {\\n return symbol;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"23e442610cd521d525abf72380fc439d\",\n \"score\": \"0.47204992\",\n \"text\": \"adamant.global.v1.CalculateFeeSymbolSpecific getSymbolSpecific();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"837b0482b739bd0464055476e5c0728f\",\n \"score\": \"0.47124648\",\n \"text\": \"@Test\\n public void testAddBracket2PlayersSE() throws BadBracketDataException{\\n System.out.println(\\\"Add 2-player SE bracket\\\");\\n String divisionName = \\\"alpha\\\";\\n String bracketType = \\\"SE\\\";\\n BracketType myBracket;\\n Round myRound;\\n Match myMatch;\\n List players = new ArrayList<>(2);\\n players.add(\\\"who\\\");\\n players.add(\\\"where\\\");\\n myBracketManager.addBracket(divisionName, bracketType, players);\\n myBracketManager.firstBracket();\\n assertFalse(myBracketManager.isDone());\\n myBracket = myBracketManager.getCurrentBracket();\\n assertEquals(\\\"alpha\\\", myBracket.getBracketName());\\n assertEquals(1, myBracket.getRoundCount());\\n myBracket.firstRound();\\n myRound = myBracket.getCurrentRound();\\n assertEquals(1, myRound.getMatchCount());\\n myRound.firstMatch();\\n assertFalse(myRound.isDone());\\n myMatch = myRound.getCurrentMatch();\\n assertEquals(\\\"who\\\", myMatch.getPlayer1());\\n assertEquals(\\\"where\\\", myMatch.getPlayer2());\\n myRound.nextMatch();\\n assertTrue(myRound.isDone());\\n myBracketManager.nextBracket();\\n assertTrue(myBracketManager.isDone());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7c21b29c30cf335b869281d3c8a7a198\",\n \"score\": \"0.4711986\",\n \"text\": \"@Test\\n\\tpublic void exceptionPutTest() {\\n\\n\\t\\tSymbolTable st = new SymbolTable();\\n\\n\\t\\ttry {\\n\\n\\t\\t\\tst.put(\\\"a\\\", 99);\\n\\t\\t\\tst.put(\\\"b\\\", 91);\\n\\t\\t\\tst.put(\\\"a\\\", 13);\\n\\n\\t\\t} catch (Exception e) {\\n\\t\\t\\tSystem.out.println(\\\"Cannot store the same symbol\\\");\\n\\t\\t\\treturn; //the test will pass\\n\\t\\t}\\n\\n\\t\\tfail();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6a229aec8b089a1b90288c1ff108354c\",\n \"score\": \"0.47118208\",\n \"text\": \"@Test\\n public void testAddBracket16PlayersSE() throws BadBracketDataException{\\n System.out.println(\\\"Add 16-player SE bracket\\\");\\n String divisionName = \\\"division\\\";\\n String bracketType = \\\"SE\\\";\\n BracketType myBracket;\\n Round myRound;\\n List players = new ArrayList<>(16);\\n players.add(\\\"z\\\"); players.add(\\\"y\\\"); players.add(\\\"x\\\"); players.add(\\\"w\\\");\\n players.add(\\\"v\\\"); players.add(\\\"u\\\"); players.add(\\\"t\\\"); players.add(\\\"s\\\");\\n players.add(\\\"r\\\"); players.add(\\\"q\\\"); players.add(\\\"p\\\"); players.add(\\\"o\\\");\\n players.add(\\\"n\\\"); players.add(\\\"m\\\"); players.add(\\\"l\\\"); players.add(\\\"k\\\");\\n myBracketManager.addBracket(divisionName, bracketType, players);\\n myBracketManager.firstBracket();\\n myBracket = myBracketManager.getCurrentBracket();\\n assertEquals(4, myBracket.getRoundCount());\\n myBracket.firstRound();\\n //round 1\\n myRound = myBracket.getCurrentRound();\\n assertEquals(8, myRound.getMatchCount());\\n myBracket.nextRound();\\n //round 2\\n myRound = myBracket.getCurrentRound();\\n assertEquals(4, myRound.getMatchCount());\\n myBracket.nextRound();\\n //round 3\\n myRound = myBracket.getCurrentRound();\\n assertEquals(2, myRound.getMatchCount());\\n myBracket.nextRound();\\n //round 4\\n myRound = myBracket.getCurrentRound();\\n assertEquals(1, myRound.getMatchCount());\\n myBracket.nextRound();\\n assertTrue(myBracket.isDone());\\n myBracketManager.nextBracket();\\n assertTrue(myBracketManager.isDone());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7c1ac2a6b21b78dea88a66c47f3b00a9\",\n \"score\": \"0.47052622\",\n \"text\": \"@Test\\n public void testAddNum() {\\n Calculator instance = new Calculator();\\n assertEquals(3, instance.solveEquation(\\\"add 1 2 \\\"), 0);\\n //Acceptance criteria 1.a\\n assertEquals(9, instance.solveEquation(\\\"add 1 3 5\\\"), 0);\\n assertEquals(15, instance.solveEquation(\\\"add 1 2 5 7 \\\"), 0);\\n assertEquals(11, instance.solveEquation(\\\"add 1 10\\\"), 0);\\n assertEquals(12, instance.solveEquation(\\\"add 10 2 \\\"), 0);\\n assertEquals(1, instance.solveEquation(\\\"add -1 2 \\\"), 0);\\n assertEquals(8, instance.solveEquation(\\\"add 10 -2 \\\"), 0);\\n assertEquals(10, instance.solveEquation(\\\"add 10 0 \\\"), 0);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d857197df73b05420e724029a4210a6a\",\n \"score\": \"0.47048005\",\n \"text\": \"void add(Quote quote);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"964d4bf12202038fd4456f9b964dbaa0\",\n \"score\": \"0.4703801\",\n \"text\": \"public char getSymbol()\\n {\\n return 'X'; \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e26cef6fcdd06fb4d78f98930ac3be7d\",\n \"score\": \"0.47036958\",\n \"text\": \"private static void buildFix(\\n Description.Builder builder, MethodInvocationTree tree, VisitorState state) {\\n MethodInvocationTree mockitoCall = tree;\\n List args = mockitoCall.getArguments();\\n Tree mock = mockitoCall.getArguments().get(0);\\n boolean isVerify = ASTHelpers.getSymbol(tree).getSimpleName().contentEquals(\\\"verify\\\");\\n if (isVerify && mock.getKind() == Kind.METHOD_INVOCATION) {\\n MethodInvocationTree invocation = (MethodInvocationTree) mock;\\n String verify = state.getSourceForNode(mockitoCall.getMethodSelect());\\n String receiver = state.getSourceForNode(ASTHelpers.getReceiver(invocation));\\n String mode = args.size() > 1 ? \\\", \\\" + state.getSourceForNode(args.get(1)) : \\\"\\\";\\n String call = state.getSourceForNode(invocation).substring(receiver.length());\\n builder.addFix(\\n SuggestedFix.replace(tree, String.format(\\\"%s(%s%s)%s\\\", verify, receiver, mode, call)));\\n }\\n if (isVerify && args.size() > 1 && NEVER_METHOD.matches(args.get(1), state)) {\\n // TODO(cushon): handle times(0) the same as never()\\n builder.addFix(\\n SuggestedFix.builder()\\n .addStaticImport(\\\"org.mockito.Mockito.verifyZeroInteractions\\\")\\n .replace(\\n tree, String.format(\\\"verifyZeroInteractions(%s)\\\", state.getSourceForNode(mock)))\\n .build());\\n }\\n // Always suggest the naive semantics-preserving option, which is just to\\n // delete the assertion:\\n Tree parent = state.getPath().getParentPath().getLeaf();\\n if (parent.getKind() == Kind.EXPRESSION_STATEMENT) {\\n // delete entire expression statement\\n builder.addFix(SuggestedFix.delete(parent));\\n } else {\\n builder.addFix(SuggestedFix.delete(tree));\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af5614aee30d9ba7f5b164dc611c75a1\",\n \"score\": \"0.46972504\",\n \"text\": \"protected abstract void add(int size, String method, double timing);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3e60ea4ed98ce8195e627d2e89e81ce8\",\n \"score\": \"0.469697\",\n \"text\": \"protected void spy(Issue next)\\n {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ee10ab8625a291b8f4f1d8c8fe03687b\",\n \"score\": \"0.4696303\",\n \"text\": \"private static void add() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e8827bd7f7124c32777d3f34e74cc810\",\n \"score\": \"0.46783027\",\n \"text\": \"private Symbol(String label) {\\n this(label, Token.getToken(label));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b4ddcc349f7f42c5810a688245575716\",\n \"score\": \"0.46769768\",\n \"text\": \"@Test\\r\\n\\tpublic void addStockTest() {\\r\\n\\t\\tstore = new Store(100);\\r\\n\\t\\tstore.buyStock(\\\"test\\\", 15);\\r\\n\\t\\tassertEquals(\\\"Description:test Quantity:15\\\", store.toString());\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"117cdac16a6790f2c17687e66c3f172e\",\n \"score\": \"0.46646917\",\n \"text\": \"public String getSymbol(){\\n\\t\\treturn this.symbol;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80506906ecc94403fc5d9dad73269f5e\",\n \"score\": \"0.4664058\",\n \"text\": \"@Test\\n public void testAddNote() {\\n System.out.println(\\\"addNote\\\");\\n String note = \\\"Test notes\\\";\\n instance.addNote(note);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c010b06bd58a1b6508c404c89dbbcceb\",\n \"score\": \"0.46607628\",\n \"text\": \"@Test\\r\\n\\tpublic void testAdd() {\\n\\t\\twhen(calcService.add(10.0, 20.0)).thenReturn(30.00);\\r\\n\\t\\t// test the add functionality\\r\\n\\t\\tAssert.assertEquals(mathApplication.add(10.0, 20.0), 30.0, 0);\\r\\n\\t\\t// Will result in failure as mockito doesn't how to behave if 10.5 is\\r\\n\\t\\t// passed as first argument\\r\\n\\t\\t// Assert.assertEquals(mathApplication.add(10.5, 20.0),30.0,0);\\r\\n\\t\\t// verify the behavior\\r\\n\\t\\tverify(calcService).add(20.0, 20.0);\\r\\n\\t\\t// try to correct using\\r\\n\\t\\t// verify(calcService).add(10.0, 20.0);\\r\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":374,"cells":{"query_id":{"kind":"string","value":"a45badff9b87da33d195653747f89585"},"query":{"kind":"string","value":"Description: ManifestJpa Author: DIYILIU Update: 20180912 15:56"},"positive_passages":{"kind":"list like","value":[{"docid":"c297759b0e739fa7d65b6e09317326cd","score":"0.735643","text":"public interface ManifestJpa extends JpaRepository {\n\n}","title":""}],"string":"[\n {\n \"docid\": \"c297759b0e739fa7d65b6e09317326cd\",\n \"score\": \"0.735643\",\n \"text\": \"public interface ManifestJpa extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"9fba29ce35bf33f29a7243c42d67c94e","score":"0.6125618","text":"@Override\n\tpublic List getAllManifest() {\n\t\treturn session.getCurrentSession().createQuery(\"from dummy_merchant_manifest\").list();\n\t}","title":""},{"docid":"4218e2e7b343489915629c6d67226815","score":"0.6091486","text":"public interface AssetDistributionRepository extends JpaRepository {\n\n}","title":""},{"docid":"b9b8d48965d01a2baf8f95f9d5c05727","score":"0.58533454","text":"public interface TransmissionMakerRepository extends JpaRepository {\n}","title":""},{"docid":"9a16a562c0db558b0a61671156da17a3","score":"0.58117396","text":"public interface InstEmplHistRepository extends JpaRepository {\n\n}","title":""},{"docid":"8b3dec7c2127b108a906d66452938fba","score":"0.5763705","text":"@Repository\npublic interface MigrationCutoverSrcToTgtRepository extends JpaRepository, JpaSpecificationExecutor {\n\n}","title":""},{"docid":"de9ca599c6cdcee88a0f7a479cd28e9d","score":"0.57421696","text":"@Repository\npublic interface MainVersionRepository extends JpaRepository {\n}","title":""},{"docid":"00a3de64936942103234a61a91193422","score":"0.5709894","text":"public interface AuditLogRepository extends JpaRepository, JpaSpecificationExecutor {\n\n}","title":""},{"docid":"6ec413cc9502596c07c06f18728670a3","score":"0.5631546","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface CommandeRepository extends JpaRepository, JpaSpecificationExecutor {}","title":""},{"docid":"45513e6605a4c6710dee946b29bbd9da","score":"0.56153387","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface WorkflowInstanceRepository extends JpaRepository {}","title":""},{"docid":"b55bcebe5607f1a5756dbed752760ee5","score":"0.5597072","text":"@Repository\npublic interface AuthorBiographyRepository extends JpaRepository {\n\n}","title":""},{"docid":"527bd27f62a331a61ceb99a2d5bc8ed4","score":"0.55948937","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface MQuestDropRateCampaignContentRepository extends JpaRepository, JpaSpecificationExecutor {\n\n}","title":""},{"docid":"6c832cdf80e1c87056fb746ab1108b03","score":"0.5562191","text":"@Repository\npublic interface MS001001InitIRepository extends JpaRepository {\n\n}","title":""},{"docid":"7724c73f7d0eb4d0b72e7f0394a29e93","score":"0.5547935","text":"public interface PermissionResipotory extends JpaSpecificationExecutor,\n JpaRepository {\n}","title":""},{"docid":"b948745e48c59a3a131808a436fef6fc","score":"0.55396694","text":"public interface AnimationRepository extends JpaRepository {\n\n}","title":""},{"docid":"d44d8e999f3df79740ed0d0b2c022468","score":"0.5537237","text":"@Repository\npublic interface MajorRepository extends JpaRepository {\n\n}","title":""},{"docid":"c790f0b8708096832517f6bf5db78868","score":"0.5528275","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface DefinitionRepository extends JpaRepository {\n\n}","title":""},{"docid":"a4b97e541b04e69770553fd06a525167","score":"0.5513888","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface AssetTransactionRepository extends JpaRepository, JpaSpecificationExecutor {\n\n}","title":""},{"docid":"fdef728f3463cb1733e14212166e7a21","score":"0.5511301","text":"public interface RenProcessEntityRepository extends JpaRepository {\n}","title":""},{"docid":"90be653cd9608acb82dec883b8dd2f1f","score":"0.5502039","text":"@Repository\npublic interface ModularAttrRepository extends JpaRepository {\n\n public List findAllByModularIdOrderBySort(Long modularId);\n\n public void deleteByModularId(Long modularId);\n}","title":""},{"docid":"d1741f6a13f7a1e12f1308b7f680eb66","score":"0.5497113","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface ExecutionRepository extends JpaRepository {\n\n}","title":""},{"docid":"24247dbc9156223ef84eda8265a91c97","score":"0.54924786","text":"public interface PermissionRepository extends JpaRepository,JpaSpecificationExecutor {\n @Query(\"from Permission p where p.id in (:ids)\")\n List findByIdIn(@Param(\"ids\") List ids);\n\n @Query(\"from Permission p group by permissionType\")\n List findPermissionGroup();\n\n @Query(\"from Permission p where permissionType =:permissionType\")\n List findPermissionByType(@Param(\"permissionType\") Permission.PermissionType permissionType);\n\n @Query(\"from Permission p where p.code = :code\")\n Permission findByCode(@Param(\"code\") String code);\n}","title":""},{"docid":"b6822630309b80bba1b3b562837a305f","score":"0.54829764","text":"public interface JournalizeRegisterRepository extends JpaRepository {\n}","title":""},{"docid":"dedbac205dfb453f7ad2e7113dcde587","score":"0.54785043","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface FnDescRepository extends JpaRepository {\n\n}","title":""},{"docid":"d6f95a533900e20bce27bf119d8edef3","score":"0.54733735","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface EnumDimissionTypeRepository extends JpaRepository, JpaSpecificationExecutor {\n\n}","title":""},{"docid":"e8cd445376ea0ae8337609c0604f3524","score":"0.5457553","text":"public interface RoleDao extends JpaRepository {\n}","title":""},{"docid":"18d28b87857da941c14f1da70ec0f3d3","score":"0.5456603","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface ContentTypeRepository extends JpaRepository {\n\n}","title":""},{"docid":"7f88a5e9c049220176edc6b84f7e7b40","score":"0.54564553","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface BrightnessRepository extends JpaRepository {\n\n}","title":""},{"docid":"893857c3d724512c1eb3a12e41af2dd2","score":"0.54446816","text":"@Repository\npublic interface ProductRepository extends JpaRepository{\n}","title":""},{"docid":"c4d7212cffdaec4bf9250eaf77012209","score":"0.54396516","text":"@Repository\npublic interface DriverRepository extends JpaRepository {\n\n}","title":""},{"docid":"3c8a00898f5f8dbfa60fd4e4b4db145c","score":"0.54293925","text":"public interface RoleRepository extends JpaRepository\n{\n}","title":""},{"docid":"9f16ce422e0920219a3583d47dfa3057","score":"0.54265225","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface DevolucaoVendaRepository extends JpaRepository, JpaSpecificationExecutor {\n\n}","title":""},{"docid":"64605de37f93be3e426dda04e2b987c6","score":"0.54242593","text":"@Repository\n@Table(name = \"fixed_device\")\npublic interface ScheduleContextRepository extends JpaRepository {\n\n}","title":""},{"docid":"946c43ad3d0fd73c3b4cae9eaec24662","score":"0.5424231","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface HistoriaClinicaRepository extends JpaRepository {\n\n}","title":""},{"docid":"31805ddab01f3f31f97097dd73bb631b","score":"0.54209757","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface MatiereRepository extends JpaRepository {\n\n}","title":""},{"docid":"0e55e2b95a0408cd3b1f2a6fa6cb9b1f","score":"0.5418363","text":"@Repository\npublic interface PartDao extends JpaRepository {\n}","title":""},{"docid":"d953d0b55c93ea449566eeffff54b918","score":"0.5413639","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface MenuRepository extends JpaRepository, JpaSpecificationExecutor {\n\n}","title":""},{"docid":"15d7a629730919057fe9351a67e25720","score":"0.5386722","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface ProvenanceRepository extends JpaRepository, JpaSpecificationExecutor {\n\n}","title":""},{"docid":"96f17abb703ad424a4f02ce4903e86f2","score":"0.5384786","text":"@Repository\npublic interface RoleRepository extends JpaRepository{\n}","title":""},{"docid":"9c6bbc38d3abc1d975f2f8b209662e91","score":"0.5383284","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface EnvironnementRepository extends JpaRepository {\n\n}","title":""},{"docid":"8deb2b08e2cf64bfc29fdbce55f0bb00","score":"0.5364609","text":"public interface RoleQualificationDAO extends JpaRepository {\n\n public List findByProjectRole(ProjectRoleEntity projectRole);\n}","title":""},{"docid":"3e317056932bab26a031d8ef018a7441","score":"0.53639793","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface StandRepository extends JpaRepository {\n\n}","title":""},{"docid":"34a62a7e8cec7631eeecce004d00dfb5","score":"0.5363221","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface MidiaRepository extends JpaRepository, JpaSpecificationExecutor {}","title":""},{"docid":"5d58103daf8f46d6347894d8fb96cea7","score":"0.5360805","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface OrganismRepository extends JpaRepository {\n\n}","title":""},{"docid":"1560746bbf307d7b4db3040a2e3a3de3","score":"0.53507906","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface MovimientoRepository extends JpaRepository {\n\n}","title":""},{"docid":"b63eeed719e3d4117685fde718d300c4","score":"0.53469574","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface SysDirRepository extends JpaRepository {\n\n}","title":""},{"docid":"0b046973214b8501214ed0a6c43728a9","score":"0.5326811","text":"public interface ExamRepository extends JpaRepository {\n}","title":""},{"docid":"598473bc7c535f10a53c0e03abcaf8bc","score":"0.5324368","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface FicheIncidentRepository extends JpaRepository {\n\n}","title":""},{"docid":"883a3cb88b900bdfe7843a6a420bb390","score":"0.53229785","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface LibraryRegistryRepository extends JpaRepository {\n\n}","title":""},{"docid":"2315e53c66b120a8fc36133a6275382d","score":"0.5321378","text":"@Repository\npublic interface VisitLogDao extends JpaRepository {\n\n}","title":""},{"docid":"efc650145af20f3087e33ce95ef829b0","score":"0.5317594","text":"public interface MarsGponPMGemRepository extends JpaRepository {\n}","title":""},{"docid":"a808bcd98f9197b0628e01cce273d4b9","score":"0.5306507","text":"@Repository\npublic interface OrderMasterRepository extends JpaRepository {\n}","title":""},{"docid":"fa4a790f203741a1b5db5dde9dd3c5cc","score":"0.53030133","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface SlotInstanceRepository extends JpaRepository {\n\n}","title":""},{"docid":"4ff8349cf81d45c4035e69c63f1b7f58","score":"0.5302496","text":"public interface RoleRepository extends JpaRepository {\n}","title":""},{"docid":"c618e6fc96397691745f0035c712a544","score":"0.53011346","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface PrescricaoProcedimentoRepository extends JpaRepository {\n\n}","title":""},{"docid":"d55319249c584167a6eb7caa633a6a56","score":"0.5294318","text":"@Repository\npublic interface AppVersionRepository extends JpaRepository {\n AppVersion findByKind(String kind);\n}","title":""},{"docid":"c9a79d31c94b54394e72619e829b8b53","score":"0.5293189","text":"@Repository\npublic interface MovieRepository extends JpaRepository {\n\n}","title":""},{"docid":"7e7adc0f3bdf4e0e23e59adfd05fac4a","score":"0.52873135","text":"public MetaData getGeneratedMetaModel();","title":""},{"docid":"ae93b1b09c43c33003cee5a910c14963","score":"0.5286369","text":"private static void updateManifestazioneTable(AbstractApplicationContext ctx) {\n ManifestazioneService ms = ctx.getBean(ManifestazioneService.class);\n PalinsestoService ps = ctx.getBean(PalinsestoService.class);\n IncontroService is = ctx.getBean(IncontroService.class);\n List manifestaziones = ms.findByDescrizioneLungaIsNull();\n\n for (Manifestazione manifestazione : manifestaziones) {\n List palinsestos = ps.findByIdManifestazione(manifestazione);\n if (palinsestos != null && palinsestos.size() > 0) {\n Incontro incontro = null;\n for (int i = 0; incontro == null && i, JpaSpecificationExecutor {\n\n}","title":""},{"docid":"1d20c131a1b956e592ac79a144b74044","score":"0.5282379","text":"public interface RejectionRepository extends JpaRepository {\n}","title":""},{"docid":"8ef824458cfdccccccbc82a709de35b5","score":"0.52816254","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface DeviceProducerRepository extends JpaRepository {\n}","title":""},{"docid":"750afe40e315d72d1e1b84aed27a605b","score":"0.5276481","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface AppartenanceRepository extends JpaRepository {\n}","title":""},{"docid":"8c60747110efc6a779a059eb3bc6f801","score":"0.5268178","text":"@Repository\npublic interface MenuRepository extends JpaRepository {\n\n\n}","title":""},{"docid":"7f650bbdb8e1e2bb93000eef915318c6","score":"0.5260294","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface MEncountersCutRepository extends JpaRepository, JpaSpecificationExecutor {\n\n}","title":""},{"docid":"774518d125882b4764b51d682a52daa8","score":"0.5258705","text":"@Repository(\"ssnMasterRepository\")\r\npublic interface SsnMasterRepository extends JpaRepository{\r\n\r\n}","title":""},{"docid":"fdf8a6dd657a918e113e438d6a79af04","score":"0.5254413","text":"public interface DecompteRepository extends JpaRepository {\n}","title":""},{"docid":"4e755a7036b3d459ec322da3d74918b7","score":"0.525382","text":"public interface CrtInfoRepo extends JpaRepository {\r\n}","title":""},{"docid":"eda0782d55ec23d6d9ce676b0803daaa","score":"0.5251161","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface SubmissionRepository extends JpaRepository {\n\n}","title":""},{"docid":"4dc1c8e1efe8291926edbda696a9f89f","score":"0.5249577","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface VirtualAccountRepository extends JpaRepository, JpaSpecificationExecutor {\n}","title":""},{"docid":"13b148dcfcd74ebe167a85dbf9e90fce","score":"0.52494824","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface DailyProgramReportRepository extends JpaRepository {\n}","title":""},{"docid":"06141de6f845be51a141a1415ee5f73c","score":"0.5249407","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface LoadShearRepository extends JpaRepository {\n\n}","title":""},{"docid":"a6e29f8968db6517f2bed3cc7883865f","score":"0.52490294","text":"@Repository\npublic interface BatchTaskCompleteDao extends JpaRepository {\n}","title":""},{"docid":"78e16f232923c4b7bd80a8617bda852e","score":"0.5244845","text":"public interface WalletRepository extends JpaRepository {\n}","title":""},{"docid":"f4423f2a8296af6744e801b3f2bf6ac4","score":"0.5244238","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface RecipienteRepository extends JpaRepository {\n\n}","title":""},{"docid":"b9b31688146270d74137b44ac7405c92","score":"0.52424604","text":"public interface JcmProfileSharingMasterRepository extends JpaRepository {\n}","title":""},{"docid":"2a84030254b5fc770bc40194d03481cf","score":"0.52421314","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface BeerOptionOrderRepository extends JpaRepository {\n\n}","title":""},{"docid":"b143ff19efb3c3af79ca500c17802c9b","score":"0.5240373","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface FunctionalityRepository extends JpaRepository {\n \n}","title":""},{"docid":"8d9a6e4c3730907c6e856710580d23c5","score":"0.52374417","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface CrisisRepository extends JpaRepository {\n \n}","title":""},{"docid":"317ceaf812da8808d64c8b2171ab6189","score":"0.5237072","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface CatalogueRepository extends JpaRepository, JpaSpecificationExecutor {\n}","title":""},{"docid":"5e516ed4c1db7a525329adfc9fdd651a","score":"0.52369386","text":"public interface CaissiereRepository extends JpaRepository {\n\n}","title":""},{"docid":"e31ee407733d9a8b1c3a62777d758324","score":"0.5228668","text":"@SuppressWarnings(\"unused\")\npublic interface CirculationRepository extends JpaRepository {\n\n}","title":""},{"docid":"46ef547750a0d2f59f1aec0d2e187ea9","score":"0.5225938","text":"public interface MemberRepository extends JpaRepository {\n}","title":""},{"docid":"c56764586ab7b90a14e3ecc2c4f60b07","score":"0.5220401","text":"@Repository\npublic interface AccountRepository extends JpaRepository {\n\n}","title":""},{"docid":"5f354b8bf97c1dfa0ed3b68f0d460d9b","score":"0.5218326","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface PrototypeRepository extends JpaRepository {\n\n}","title":""},{"docid":"f91999f37cf1f9c58da3af0ed91725aa","score":"0.52128386","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface WaHostCompanyRepository extends JpaRepository {\n}","title":""},{"docid":"704c0f7415f9d74e73c45ed95276b599","score":"0.5211399","text":"@Repository\npublic interface DishRepository extends JpaRepository {\n}","title":""},{"docid":"4a4970b6420c9ba5b48f6a80b7078f5f","score":"0.5208799","text":"@Repository\npublic interface OccupationLabelMappingX28Repository extends JpaRepository {\n}","title":""},{"docid":"db62d00652f5539786f251d55e576e4f","score":"0.5201509","text":"@Repository\npublic interface RackRepository extends JpaRepository {\n\n}","title":""},{"docid":"506a7f80fff5b9b22cb6cb8deb308b2b","score":"0.52001715","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface ProfessioneRepository extends JpaRepository, JpaSpecificationExecutor {\n\n}","title":""},{"docid":"ca9b193f9c1e7cde4540a24afa7f21fa","score":"0.51959515","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface OrdinazioneRepository extends JpaRepository {\n\n}","title":""},{"docid":"e06717045d6c3855b2ac689d09588390","score":"0.51936835","text":"public interface ConjointRepository extends JpaRepository {\n\n}","title":""},{"docid":"f38d7d35790a937c5d898a81413d80d6","score":"0.5190271","text":"@SuppressWarnings(\"unused\")\npublic interface PrestationRepository extends JpaRepository {\n\n}","title":""},{"docid":"57e1a051c2bd6a3b2d3d7e1e2acba2dc","score":"0.5187454","text":"public interface ApplicantRepository extends JpaRepository {\n}","title":""},{"docid":"62ffe2ba72d4a0e624dfb563ad958a94","score":"0.518745","text":"public interface Vehicle1Repository extends JpaRepository {\n}","title":""},{"docid":"7377ee2643bf8ae62e9a0ca1f6682b75","score":"0.5187232","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface EcomStoreMarkupRepository extends JpaRepository {\n\n}","title":""},{"docid":"8db2448af88dd85c97148520d98492a3","score":"0.51836187","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface AuftragPositionenRepository extends JpaRepository {}","title":""},{"docid":"35d7bfdca0f299d991e674111d6f7a20","score":"0.51828593","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface SettlementReportRepository extends JpaRepository, JpaSpecificationExecutor {\n\n}","title":""},{"docid":"ec38d9dfc415d1e66b8c45b44302af51","score":"0.51796","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface AssistanceTechniqueRepository extends JpaRepository {\n\n}","title":""},{"docid":"a3b891798b2cc04be7e35cc8786141b1","score":"0.5178257","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface TblGuardianTypeRepository extends JpaRepository {\n\n}","title":""},{"docid":"a1d0d88ae2231adc898f1ecb25eed125","score":"0.5176751","text":"@SuppressWarnings(\"unused\")\n@Repository\npublic interface BestellungRepository extends JpaRepository {\n\n}","title":""}],"string":"[\n {\n \"docid\": \"9fba29ce35bf33f29a7243c42d67c94e\",\n \"score\": \"0.6125618\",\n \"text\": \"@Override\\n\\tpublic List getAllManifest() {\\n\\t\\treturn session.getCurrentSession().createQuery(\\\"from dummy_merchant_manifest\\\").list();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4218e2e7b343489915629c6d67226815\",\n \"score\": \"0.6091486\",\n \"text\": \"public interface AssetDistributionRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9b8d48965d01a2baf8f95f9d5c05727\",\n \"score\": \"0.58533454\",\n \"text\": \"public interface TransmissionMakerRepository extends JpaRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a16a562c0db558b0a61671156da17a3\",\n \"score\": \"0.58117396\",\n \"text\": \"public interface InstEmplHistRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8b3dec7c2127b108a906d66452938fba\",\n \"score\": \"0.5763705\",\n \"text\": \"@Repository\\npublic interface MigrationCutoverSrcToTgtRepository extends JpaRepository, JpaSpecificationExecutor {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"de9ca599c6cdcee88a0f7a479cd28e9d\",\n \"score\": \"0.57421696\",\n \"text\": \"@Repository\\npublic interface MainVersionRepository extends JpaRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"00a3de64936942103234a61a91193422\",\n \"score\": \"0.5709894\",\n \"text\": \"public interface AuditLogRepository extends JpaRepository, JpaSpecificationExecutor {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ec413cc9502596c07c06f18728670a3\",\n \"score\": \"0.5631546\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface CommandeRepository extends JpaRepository, JpaSpecificationExecutor {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45513e6605a4c6710dee946b29bbd9da\",\n \"score\": \"0.56153387\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface WorkflowInstanceRepository extends JpaRepository {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b55bcebe5607f1a5756dbed752760ee5\",\n \"score\": \"0.5597072\",\n \"text\": \"@Repository\\npublic interface AuthorBiographyRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"527bd27f62a331a61ceb99a2d5bc8ed4\",\n \"score\": \"0.55948937\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface MQuestDropRateCampaignContentRepository extends JpaRepository, JpaSpecificationExecutor {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c832cdf80e1c87056fb746ab1108b03\",\n \"score\": \"0.5562191\",\n \"text\": \"@Repository\\npublic interface MS001001InitIRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7724c73f7d0eb4d0b72e7f0394a29e93\",\n \"score\": \"0.5547935\",\n \"text\": \"public interface PermissionResipotory extends JpaSpecificationExecutor,\\n JpaRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b948745e48c59a3a131808a436fef6fc\",\n \"score\": \"0.55396694\",\n \"text\": \"public interface AnimationRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d44d8e999f3df79740ed0d0b2c022468\",\n \"score\": \"0.5537237\",\n \"text\": \"@Repository\\npublic interface MajorRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c790f0b8708096832517f6bf5db78868\",\n \"score\": \"0.5528275\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface DefinitionRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a4b97e541b04e69770553fd06a525167\",\n \"score\": \"0.5513888\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface AssetTransactionRepository extends JpaRepository, JpaSpecificationExecutor {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fdef728f3463cb1733e14212166e7a21\",\n \"score\": \"0.5511301\",\n \"text\": \"public interface RenProcessEntityRepository extends JpaRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"90be653cd9608acb82dec883b8dd2f1f\",\n \"score\": \"0.5502039\",\n \"text\": \"@Repository\\npublic interface ModularAttrRepository extends JpaRepository {\\n\\n public List findAllByModularIdOrderBySort(Long modularId);\\n\\n public void deleteByModularId(Long modularId);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1741f6a13f7a1e12f1308b7f680eb66\",\n \"score\": \"0.5497113\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface ExecutionRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"24247dbc9156223ef84eda8265a91c97\",\n \"score\": \"0.54924786\",\n \"text\": \"public interface PermissionRepository extends JpaRepository,JpaSpecificationExecutor {\\n @Query(\\\"from Permission p where p.id in (:ids)\\\")\\n List findByIdIn(@Param(\\\"ids\\\") List ids);\\n\\n @Query(\\\"from Permission p group by permissionType\\\")\\n List findPermissionGroup();\\n\\n @Query(\\\"from Permission p where permissionType =:permissionType\\\")\\n List findPermissionByType(@Param(\\\"permissionType\\\") Permission.PermissionType permissionType);\\n\\n @Query(\\\"from Permission p where p.code = :code\\\")\\n Permission findByCode(@Param(\\\"code\\\") String code);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b6822630309b80bba1b3b562837a305f\",\n \"score\": \"0.54829764\",\n \"text\": \"public interface JournalizeRegisterRepository extends JpaRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dedbac205dfb453f7ad2e7113dcde587\",\n \"score\": \"0.54785043\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface FnDescRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d6f95a533900e20bce27bf119d8edef3\",\n \"score\": \"0.54733735\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface EnumDimissionTypeRepository extends JpaRepository, JpaSpecificationExecutor {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e8cd445376ea0ae8337609c0604f3524\",\n \"score\": \"0.5457553\",\n \"text\": \"public interface RoleDao extends JpaRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"18d28b87857da941c14f1da70ec0f3d3\",\n \"score\": \"0.5456603\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface ContentTypeRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7f88a5e9c049220176edc6b84f7e7b40\",\n \"score\": \"0.54564553\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface BrightnessRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"893857c3d724512c1eb3a12e41af2dd2\",\n \"score\": \"0.54446816\",\n \"text\": \"@Repository\\npublic interface ProductRepository extends JpaRepository{\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c4d7212cffdaec4bf9250eaf77012209\",\n \"score\": \"0.54396516\",\n \"text\": \"@Repository\\npublic interface DriverRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3c8a00898f5f8dbfa60fd4e4b4db145c\",\n \"score\": \"0.54293925\",\n \"text\": \"public interface RoleRepository extends JpaRepository\\n{\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9f16ce422e0920219a3583d47dfa3057\",\n \"score\": \"0.54265225\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface DevolucaoVendaRepository extends JpaRepository, JpaSpecificationExecutor {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"64605de37f93be3e426dda04e2b987c6\",\n \"score\": \"0.54242593\",\n \"text\": \"@Repository\\n@Table(name = \\\"fixed_device\\\")\\npublic interface ScheduleContextRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"946c43ad3d0fd73c3b4cae9eaec24662\",\n \"score\": \"0.5424231\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface HistoriaClinicaRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"31805ddab01f3f31f97097dd73bb631b\",\n \"score\": \"0.54209757\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface MatiereRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e55e2b95a0408cd3b1f2a6fa6cb9b1f\",\n \"score\": \"0.5418363\",\n \"text\": \"@Repository\\npublic interface PartDao extends JpaRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d953d0b55c93ea449566eeffff54b918\",\n \"score\": \"0.5413639\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface MenuRepository extends JpaRepository, JpaSpecificationExecutor {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"15d7a629730919057fe9351a67e25720\",\n \"score\": \"0.5386722\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface ProvenanceRepository extends JpaRepository, JpaSpecificationExecutor {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"96f17abb703ad424a4f02ce4903e86f2\",\n \"score\": \"0.5384786\",\n \"text\": \"@Repository\\npublic interface RoleRepository extends JpaRepository{\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9c6bbc38d3abc1d975f2f8b209662e91\",\n \"score\": \"0.5383284\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface EnvironnementRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8deb2b08e2cf64bfc29fdbce55f0bb00\",\n \"score\": \"0.5364609\",\n \"text\": \"public interface RoleQualificationDAO extends JpaRepository {\\n\\n public List findByProjectRole(ProjectRoleEntity projectRole);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3e317056932bab26a031d8ef018a7441\",\n \"score\": \"0.53639793\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface StandRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"34a62a7e8cec7631eeecce004d00dfb5\",\n \"score\": \"0.5363221\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface MidiaRepository extends JpaRepository, JpaSpecificationExecutor {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d58103daf8f46d6347894d8fb96cea7\",\n \"score\": \"0.5360805\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface OrganismRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1560746bbf307d7b4db3040a2e3a3de3\",\n \"score\": \"0.53507906\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface MovimientoRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b63eeed719e3d4117685fde718d300c4\",\n \"score\": \"0.53469574\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface SysDirRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0b046973214b8501214ed0a6c43728a9\",\n \"score\": \"0.5326811\",\n \"text\": \"public interface ExamRepository extends JpaRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"598473bc7c535f10a53c0e03abcaf8bc\",\n \"score\": \"0.5324368\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface FicheIncidentRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"883a3cb88b900bdfe7843a6a420bb390\",\n \"score\": \"0.53229785\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface LibraryRegistryRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2315e53c66b120a8fc36133a6275382d\",\n \"score\": \"0.5321378\",\n \"text\": \"@Repository\\npublic interface VisitLogDao extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"efc650145af20f3087e33ce95ef829b0\",\n \"score\": \"0.5317594\",\n \"text\": \"public interface MarsGponPMGemRepository extends JpaRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a808bcd98f9197b0628e01cce273d4b9\",\n \"score\": \"0.5306507\",\n \"text\": \"@Repository\\npublic interface OrderMasterRepository extends JpaRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fa4a790f203741a1b5db5dde9dd3c5cc\",\n \"score\": \"0.53030133\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface SlotInstanceRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4ff8349cf81d45c4035e69c63f1b7f58\",\n \"score\": \"0.5302496\",\n \"text\": \"public interface RoleRepository extends JpaRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c618e6fc96397691745f0035c712a544\",\n \"score\": \"0.53011346\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface PrescricaoProcedimentoRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d55319249c584167a6eb7caa633a6a56\",\n \"score\": \"0.5294318\",\n \"text\": \"@Repository\\npublic interface AppVersionRepository extends JpaRepository {\\n AppVersion findByKind(String kind);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c9a79d31c94b54394e72619e829b8b53\",\n \"score\": \"0.5293189\",\n \"text\": \"@Repository\\npublic interface MovieRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7e7adc0f3bdf4e0e23e59adfd05fac4a\",\n \"score\": \"0.52873135\",\n \"text\": \"public MetaData getGeneratedMetaModel();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae93b1b09c43c33003cee5a910c14963\",\n \"score\": \"0.5286369\",\n \"text\": \"private static void updateManifestazioneTable(AbstractApplicationContext ctx) {\\n ManifestazioneService ms = ctx.getBean(ManifestazioneService.class);\\n PalinsestoService ps = ctx.getBean(PalinsestoService.class);\\n IncontroService is = ctx.getBean(IncontroService.class);\\n List manifestaziones = ms.findByDescrizioneLungaIsNull();\\n\\n for (Manifestazione manifestazione : manifestaziones) {\\n List palinsestos = ps.findByIdManifestazione(manifestazione);\\n if (palinsestos != null && palinsestos.size() > 0) {\\n Incontro incontro = null;\\n for (int i = 0; incontro == null && i, JpaSpecificationExecutor {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1d20c131a1b956e592ac79a144b74044\",\n \"score\": \"0.5282379\",\n \"text\": \"public interface RejectionRepository extends JpaRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ef824458cfdccccccbc82a709de35b5\",\n \"score\": \"0.52816254\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface DeviceProducerRepository extends JpaRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"750afe40e315d72d1e1b84aed27a605b\",\n \"score\": \"0.5276481\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface AppartenanceRepository extends JpaRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8c60747110efc6a779a059eb3bc6f801\",\n \"score\": \"0.5268178\",\n \"text\": \"@Repository\\npublic interface MenuRepository extends JpaRepository {\\n\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7f650bbdb8e1e2bb93000eef915318c6\",\n \"score\": \"0.5260294\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface MEncountersCutRepository extends JpaRepository, JpaSpecificationExecutor {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"774518d125882b4764b51d682a52daa8\",\n \"score\": \"0.5258705\",\n \"text\": \"@Repository(\\\"ssnMasterRepository\\\")\\r\\npublic interface SsnMasterRepository extends JpaRepository{\\r\\n\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fdf8a6dd657a918e113e438d6a79af04\",\n \"score\": \"0.5254413\",\n \"text\": \"public interface DecompteRepository extends JpaRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4e755a7036b3d459ec322da3d74918b7\",\n \"score\": \"0.525382\",\n \"text\": \"public interface CrtInfoRepo extends JpaRepository {\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eda0782d55ec23d6d9ce676b0803daaa\",\n \"score\": \"0.5251161\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface SubmissionRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4dc1c8e1efe8291926edbda696a9f89f\",\n \"score\": \"0.5249577\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface VirtualAccountRepository extends JpaRepository, JpaSpecificationExecutor {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13b148dcfcd74ebe167a85dbf9e90fce\",\n \"score\": \"0.52494824\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface DailyProgramReportRepository extends JpaRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"06141de6f845be51a141a1415ee5f73c\",\n \"score\": \"0.5249407\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface LoadShearRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a6e29f8968db6517f2bed3cc7883865f\",\n \"score\": \"0.52490294\",\n \"text\": \"@Repository\\npublic interface BatchTaskCompleteDao extends JpaRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78e16f232923c4b7bd80a8617bda852e\",\n \"score\": \"0.5244845\",\n \"text\": \"public interface WalletRepository extends JpaRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4423f2a8296af6744e801b3f2bf6ac4\",\n \"score\": \"0.5244238\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface RecipienteRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9b31688146270d74137b44ac7405c92\",\n \"score\": \"0.52424604\",\n \"text\": \"public interface JcmProfileSharingMasterRepository extends JpaRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2a84030254b5fc770bc40194d03481cf\",\n \"score\": \"0.52421314\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface BeerOptionOrderRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b143ff19efb3c3af79ca500c17802c9b\",\n \"score\": \"0.5240373\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface FunctionalityRepository extends JpaRepository {\\n \\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8d9a6e4c3730907c6e856710580d23c5\",\n \"score\": \"0.52374417\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface CrisisRepository extends JpaRepository {\\n \\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"317ceaf812da8808d64c8b2171ab6189\",\n \"score\": \"0.5237072\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface CatalogueRepository extends JpaRepository, JpaSpecificationExecutor {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e516ed4c1db7a525329adfc9fdd651a\",\n \"score\": \"0.52369386\",\n \"text\": \"public interface CaissiereRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e31ee407733d9a8b1c3a62777d758324\",\n \"score\": \"0.5228668\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\npublic interface CirculationRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"46ef547750a0d2f59f1aec0d2e187ea9\",\n \"score\": \"0.5225938\",\n \"text\": \"public interface MemberRepository extends JpaRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c56764586ab7b90a14e3ecc2c4f60b07\",\n \"score\": \"0.5220401\",\n \"text\": \"@Repository\\npublic interface AccountRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f354b8bf97c1dfa0ed3b68f0d460d9b\",\n \"score\": \"0.5218326\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface PrototypeRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f91999f37cf1f9c58da3af0ed91725aa\",\n \"score\": \"0.52128386\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface WaHostCompanyRepository extends JpaRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"704c0f7415f9d74e73c45ed95276b599\",\n \"score\": \"0.5211399\",\n \"text\": \"@Repository\\npublic interface DishRepository extends JpaRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a4970b6420c9ba5b48f6a80b7078f5f\",\n \"score\": \"0.5208799\",\n \"text\": \"@Repository\\npublic interface OccupationLabelMappingX28Repository extends JpaRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"db62d00652f5539786f251d55e576e4f\",\n \"score\": \"0.5201509\",\n \"text\": \"@Repository\\npublic interface RackRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"506a7f80fff5b9b22cb6cb8deb308b2b\",\n \"score\": \"0.52001715\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface ProfessioneRepository extends JpaRepository, JpaSpecificationExecutor {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ca9b193f9c1e7cde4540a24afa7f21fa\",\n \"score\": \"0.51959515\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface OrdinazioneRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e06717045d6c3855b2ac689d09588390\",\n \"score\": \"0.51936835\",\n \"text\": \"public interface ConjointRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f38d7d35790a937c5d898a81413d80d6\",\n \"score\": \"0.5190271\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\npublic interface PrestationRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"57e1a051c2bd6a3b2d3d7e1e2acba2dc\",\n \"score\": \"0.5187454\",\n \"text\": \"public interface ApplicantRepository extends JpaRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"62ffe2ba72d4a0e624dfb563ad958a94\",\n \"score\": \"0.518745\",\n \"text\": \"public interface Vehicle1Repository extends JpaRepository {\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7377ee2643bf8ae62e9a0ca1f6682b75\",\n \"score\": \"0.5187232\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface EcomStoreMarkupRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8db2448af88dd85c97148520d98492a3\",\n \"score\": \"0.51836187\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface AuftragPositionenRepository extends JpaRepository {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"35d7bfdca0f299d991e674111d6f7a20\",\n \"score\": \"0.51828593\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface SettlementReportRepository extends JpaRepository, JpaSpecificationExecutor {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ec38d9dfc415d1e66b8c45b44302af51\",\n \"score\": \"0.51796\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface AssistanceTechniqueRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a3b891798b2cc04be7e35cc8786141b1\",\n \"score\": \"0.5178257\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface TblGuardianTypeRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1d0d88ae2231adc898f1ecb25eed125\",\n \"score\": \"0.5176751\",\n \"text\": \"@SuppressWarnings(\\\"unused\\\")\\n@Repository\\npublic interface BestellungRepository extends JpaRepository {\\n\\n}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":375,"cells":{"query_id":{"kind":"string","value":"3eac5dfdafdd9b2544da724c57ece418"},"query":{"kind":"string","value":"Creates the main loop."},"positive_passages":{"kind":"list like","value":[{"docid":"307fb5146cad7fe1aedc3095dbbd47d3","score":"0.59499395","text":"public GameLoopManager() {\n this.gameView = new GameView();\n this.gameView.setWindowTitle(\"Choplifter\");\n this.gameView.setStatusText(\"Laura Helfrich - Java Programmierung SS 2021\");\n this.gameView.setWindowIcon(\"WordHelicopter.png\");\n\n this.gameObjectManager = new GameObjectManager(gameView);\n this.inputManager = new InputManager(gameView, gameObjectManager.getChopper());\n this.gamePlayManager = new GamePlayManager(gameView, gameObjectManager);\n }","title":""}],"string":"[\n {\n \"docid\": \"307fb5146cad7fe1aedc3095dbbd47d3\",\n \"score\": \"0.59499395\",\n \"text\": \"public GameLoopManager() {\\n this.gameView = new GameView();\\n this.gameView.setWindowTitle(\\\"Choplifter\\\");\\n this.gameView.setStatusText(\\\"Laura Helfrich - Java Programmierung SS 2021\\\");\\n this.gameView.setWindowIcon(\\\"WordHelicopter.png\\\");\\n\\n this.gameObjectManager = new GameObjectManager(gameView);\\n this.inputManager = new InputManager(gameView, gameObjectManager.getChopper());\\n this.gamePlayManager = new GamePlayManager(gameView, gameObjectManager);\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"3ff203df8d081e6df586cc6bff908ffa","score":"0.7335608","text":"void initMainLoop() {\n log.log(Level.INFO, \"Initializing main loop...\");\n t = new Timer(17, (evt) -> { // timer calls mainLoop() every 17ms (framerate ~ 60fps)\n mainLoop();\n });\n t.start(); // timer started\n log.log(Level.INFO, \"Main loop initialized...\");\n }","title":""},{"docid":"7970195b4e7da7bcd24f57be961c4047","score":"0.7010319","text":"Loop createLoop();","title":""},{"docid":"ffc3a962e4b71fcabf92ef29303cea4a","score":"0.70025617","text":"public Runnable createEventLoop() {\n\treturn new EventLoop();\n }","title":""},{"docid":"acb5cf7fab3e82e640587568dd3f101f","score":"0.6868503","text":"public RunLoop createDefaultRunLoop();","title":""},{"docid":"a6322d8bc1be08da6e30b0f08e4e1574","score":"0.6687175","text":"public static void main(String[] args) {\n\t Gameloop g = new Gameloop();\n\t \tg.start();\n\t}","title":""},{"docid":"dc617db34ea51415ee4335c7e174c374","score":"0.66795075","text":"public static void main(String[] args) {\n\t\tGameLoop gameLoop = new GameLoop();\r\n\t\tgameLoop.init();\r\n\t\tGameLoop gameLoop2 = new GameLoop();\r\n\t\tgameLoop2.init();\r\n\t}","title":""},{"docid":"e2d295611baac0a11ba642401892113c","score":"0.650388","text":"@Override\n\t\t\tpublic void run() {\n\t\t\t\tnew Main();\n\t\t\t}","title":""},{"docid":"80fce9072b295d7285b0a4384eaecbe4","score":"0.6463832","text":"public void run() {\n\t\tinitialize();\n\t\tloop();\n\t\trelease();\n\t\tSystem.exit(0);\n\t}","title":""},{"docid":"91534de1667ac0a895634ba1d6305a39","score":"0.64109474","text":"public final void start() {\n logger.info( \"Application started.\");\n try {\n getAttributes();\n\n initSystem();\n\n assertDisplayCreated();\n\n initGame();\n\n //main loop\n Renderer r = display.getRenderer();\n while (!finished && !display.isClosing()) {\n //update game state, do not use interpolation parameter\n update( -1.0f);\n\n //render\n render( -1.0f);\n\n //draw queue contents\n r.displayBackBuffer();\n }\n }\n catch (Throwable t) {\n logger.logp(Level.SEVERE, this.getClass().toString(), \"start()\", \"Exception in game loop\", t);\n t.printStackTrace();\n }\n\n cleanup();\n logger.info( \"Application ending.\");\n\n if (display != null)\n display.reset();\n quit();\n }","title":""},{"docid":"0f51d4a58bc863bca393f30f0d2de8ed","score":"0.63673985","text":"@Override\n public void run() {\n // main loop timer\n System.out.println(\"Main Controller started\");\n\n // initialization\n int numCars = 8;\n makeCar(numCars);\n makeIDs();\n makeBunkers();\n //initInputController();\n createWall();\n\n // Starts the simulation by creating new guests\n createPatrons();\n }","title":""},{"docid":"a0f940015850326ec522fa285c50aac1","score":"0.63653314","text":"@Override\n public void init_loop() {\n }","title":""},{"docid":"a0f940015850326ec522fa285c50aac1","score":"0.63653314","text":"@Override\n public void init_loop() {\n }","title":""},{"docid":"a0f940015850326ec522fa285c50aac1","score":"0.63653314","text":"@Override\n public void init_loop() {\n }","title":""},{"docid":"a0f940015850326ec522fa285c50aac1","score":"0.63653314","text":"@Override\n public void init_loop() {\n }","title":""},{"docid":"a0f940015850326ec522fa285c50aac1","score":"0.63653314","text":"@Override\n public void init_loop() {\n }","title":""},{"docid":"a0f940015850326ec522fa285c50aac1","score":"0.63653314","text":"@Override\n public void init_loop() {\n }","title":""},{"docid":"a0f940015850326ec522fa285c50aac1","score":"0.63653314","text":"@Override\n public void init_loop() {\n }","title":""},{"docid":"a0f940015850326ec522fa285c50aac1","score":"0.63653314","text":"@Override\n public void init_loop() {\n }","title":""},{"docid":"a0f940015850326ec522fa285c50aac1","score":"0.63653314","text":"@Override\n public void init_loop() {\n }","title":""},{"docid":"a0f940015850326ec522fa285c50aac1","score":"0.63653314","text":"@Override\n public void init_loop() {\n }","title":""},{"docid":"a0f940015850326ec522fa285c50aac1","score":"0.63653314","text":"@Override\n public void init_loop() {\n }","title":""},{"docid":"a0f940015850326ec522fa285c50aac1","score":"0.63653314","text":"@Override\n public void init_loop() {\n }","title":""},{"docid":"a0f940015850326ec522fa285c50aac1","score":"0.63653314","text":"@Override\n public void init_loop() {\n }","title":""},{"docid":"87b2af0c4bbb8afff59650884265d854","score":"0.6294184","text":"public void start() {\n\n\t\tPane root = new Pane();\n\n\t\tfinal Canvas canvas = new Canvas(Main.WIDTH, Main.HEIGHT);\n\t\tfinal GraphicsContext ctx = canvas.getGraphicsContext2D();\n\t\troot.getChildren().add(canvas);\n\n\t\trenderer.setContext(ctx);\n\n\t\tscene = new Scene(root, Main.WIDTH, Main.HEIGHT);\n\t\tMain.changeScene(scene);\n\t\tKeyboard.initScene(scene);\n\n\t\tloop = new Gameloop();\n\n\t\tinit();\n\t\tloop.start();\n\t}","title":""},{"docid":"f14b972533b6a71f354cef4a8963b31c","score":"0.6287424","text":"public static void main(String[] args){\n // Creates an instance of our program\n Main gui = new Main();\n // Lets the computer know to start it in the event thread\n SwingUtilities.invokeLater(gui);\n }","title":""},{"docid":"afb4e38e8072fb90d26a77ccae427085","score":"0.62745154","text":"public static void main(String[] args) {\n\t\tUserInterface.instance().inputLoop();\n\t}","title":""},{"docid":"f05821e7b8702261159e407e937e45d9","score":"0.6263915","text":"public void run()\n\t{\n\t\tinitializeConstants();\n\t\t\n\t\tcreateWindow(); //Create the display and embed it in an awtcanvas\t\n\t\tisMainMenuOpen = true; \n\t\tgameEngine.init();\n\t\tgameEngine.run();\n\t Display.destroy(); //Cleans up \n System.exit(1); //remember to exit the system and release resources\n\t}","title":""},{"docid":"7f8757d5581efa56a280f323d8aa114d","score":"0.6244412","text":"@Override\r\n public void init_loop() {\r\n }","title":""},{"docid":"3db94b439a91539ecc8d2fc043a852ff","score":"0.6239625","text":"public static void main(String[] args) {\n\t\t\twhile(true){\n\t \tTCPServerDemo server = new TCPServerDemo();\n\t \tserver.startServer();\n\t\t\t}\n\t }","title":""},{"docid":"c353702f2e4c3677f97ef3b210079190","score":"0.62184995","text":"public static void main(String[] args) {\r\n\t\tEventQueue.invokeLater(() -> {\r\n\t\t\t// Run initialization\r\n\t\t\tManagement.start();\r\n\t\t});\r\n\t}","title":""},{"docid":"dd048e1e90efc63616601249c2cc474c","score":"0.6214016","text":"public static void main(String[] args) {\n EventQueue.invokeLater(GameMainFrame::new);\n }","title":""},{"docid":"c9d6eac686985c4e4e7d822d7720bddf","score":"0.6203535","text":"@Override\n\t\t\tpublic void run() {\n\t\t\t\tcreateGui();\n\t\t\t}","title":""},{"docid":"f3e2fc9e54681eefcbaa9f4da062dc74","score":"0.61935925","text":"public static void main(String[] args) {\n\t\tint SCREEN_WIDTH = 300;\n\t\tint SCREEN_HEIGHT = 300;\n\t\tint LOOP_DELAY_MS = 16;\n\t\t\n\t\t// Creating loading screen if needed\n\t\t\n\t\t// Loading resources\n\t\tQResourceManager resMan = new QResourceManager();\n\t\tQResourceLoader.loadResources(resMan);\n\t\t\n\t\t// Creating game settings\n\t\tQGameSettings settings = new QGameSettings(SCREEN_WIDTH, SCREEN_HEIGHT, LOOP_DELAY_MS);\n\t\t\n\t\t// Creating game state\n\t\tQGameState gameState = new QGameState();\n\t\t\t\n\t\t// Creating graphics engine\n\t\tQGraphics gfx = new QGraphics(gameState);\n\t\t\n\t\t// Initializing game resources\n\t\tinitializeGame(resMan, gameState, gfx);\n\t\t\n\t\t// Creating game controller and game settings objects\n\t\tnew QGameController(resMan, gameState, gfx, settings);\n\t}","title":""},{"docid":"1a34fe996fd24b63784e1e87d501a427","score":"0.61860555","text":"public static void main(String[] args) {\n\t\t javax.swing.SwingUtilities.invokeLater(new Runnable() {\n\t public void run() {\n\t create();\n\t }\n\t });\n\t}","title":""},{"docid":"2ae6b2cf91c38aa46f167afbaed94920","score":"0.6141047","text":"public static void main (String[] args) {\n\t\t//printMessages();\n\t\t// create thread pool\n\t\tes = Executors.newCachedThreadPool();\n\t\ts = new Settings();\n\t\t// TODO this should be set in the javafx, but for now it's just hardcoded\n\t\ts.connectionSettings = new ConnectionSettings();//\"localhost\", 9876, 9877);\n\t\t// launch the javafx\n\t\t// sets settings object, also creates handshake for connection settings\n\t\tserver = new GameServer(s);\n\t\tclient = new GameClient(s);\n\t\t//Launcher.launchGui(args);\n\t\t//s.characterType = 1;\n\t\t//s.chosenState = 0;\n\t\tif (terminalMode) {\n\t\t\tScanner console = new Scanner(System.in);\n\t\t\tSys.print(\"Enter 0 for solo play, 1 for Client play, 2 for host play\");\n\t\t\ts.chosenState = console.nextInt();\n\t\t} else {\n\t\t\tLauncher.launchGui(args);\n\t\t}\n\t\tswitch(s.chosenState) {\n\t\tcase 0: // currently runs even if they close the window instead of hitting start. fix that\n\t\t\tsoloPlay();\n\t\t\tbreak;\n\t\tcase 1:\n\t\t\tif (terminalMode)\n\t\t\t\tclientTerminalLauncher();\n\t\t\tSys.exit(\"reached end of initial client\");\n\t\t\tclientPlay(null);\n\t\t\tbreak;\n\t\tcase 2: \n\t\t\tif (terminalMode)\n\t\t\t\tserverTerminalLauncher();\n\t\t\tSys.exit(\"reached end of initial server\");\n\t\t\thostPlay();\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tSys.print(\"nothing\");\n\t\t}\n\t}","title":""},{"docid":"446721539edfbc79d319d4c498749a85","score":"0.6101273","text":"@Override\n public void init_loop(){\n\n }","title":""},{"docid":"bc0ddc6f97d1e1c9f3bbc4708da7b14d","score":"0.6097821","text":"public void run(){\n\t\n\tGUIServer sGui = new GUIServer(\"Server Side Program\");\n\tsGui.go();\n\t}","title":""},{"docid":"bf3db647d3a2257d4d49d723ad8abc7d","score":"0.6096297","text":"public static void main(String[] arg) {\n new server_GUI(1500);\n }","title":""},{"docid":"091fd7355f76ac1bd32014297e955da8","score":"0.6091859","text":"@Override\n\tpublic void run() {\n\t\tNIOSocketServer nioss = new NIOSocketServer();\n\t\tfor(;;){\n\t\t\ttry {\n\t\t\t\tnioss.listen();\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}\n\t}","title":""},{"docid":"0c45b4eca20584e360d6a1b7002aae36","score":"0.60856247","text":"public static void main(String[] args) {\n\t\trun(new Gui(), 800, 500);\r\n\t}","title":""},{"docid":"14d8b09dd5a1b2f87316b64ebad40f16","score":"0.60827225","text":"public static void main(String[] args) {\r\n\t\tEventQueue.invokeLater(() -> {\r\n\t\t\ttry {\r\n\t\t\t\t(new ClientController()).start();\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t});\r\n\t}","title":""},{"docid":"7e09c6268b707f99e838d206ae714b41","score":"0.6079662","text":"public static void main(String[] args) {\r\n\t\tSwingUtilities.invokeLater(\r\n\t\t\t\tnew Runnable() {\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void run()\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tnew GameWindow();\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t);\r\n\r\n\t}","title":""},{"docid":"9ad057b8b931b533092ff6246ba8cc8e","score":"0.6066946","text":"@SuppressWarnings(\"InfiniteLoopStatement\")\n public static void main(String[] args){\n SocketManager socketManager = new SocketManager();\n SocketServer socketServer = new SocketServer(8888, socketManager);\n\n socketManager.addInterface(SOCKET_PING, (msg, socketNum)-> socketServer.ping(socketNum));\n socketManager.addInterface(SOCKET_BROADCAST, (msg, socketNum)-> System.out.println(msg));\n socketManager.addInterface(SOCKET_DISCONNECT, (msg, socketNum)-> socketServer.disconnect(socketNum));\n\n Timer.createTimer(()-> socketManager.pushMessage(SOCKET_PING,\"ping\"),1000, -1);\n\n EventHandler.addEventCallback(\"clientConnected\", (evt)->{\n ClientConnectedEvent clientConnectedEvent = (ClientConnectedEvent)evt;\n Debug.log(clientConnectedEvent.getClientSocket().getInetAddress()+\":\"+clientConnectedEvent.getSocketID()+\" has connected\");\n });\n EventHandler.addEventCallback(\"clientDisconnected\", (evt)->{\n ClientDisconnectedEvent clientDisconnectedEvent = (ClientDisconnectedEvent)evt;\n Debug.log(clientDisconnectedEvent.getClientSocket().getInetAddress()+\":\"+clientDisconnectedEvent.getSocketID()+\" has disconnected\");\n });\n while(true){\n Timer.tick();\n }\n }","title":""},{"docid":"af62c3172fd08fd441462fbec3518fe0","score":"0.6052879","text":"public static void main(String[] args) {\n\t\tjavax.swing.SwingUtilities.invokeLater(new Runnable() {\n\t\t\t@Override\n\t\t\tpublic void run() {\n\t\t\t\tcreateAndShowGUI();\n\t\t\t}\n\t\t});\n\n\t}","title":""},{"docid":"4cca4718416bdcc3efe45db0219c40f5","score":"0.6041317","text":"public static void main(String [] args){\n createGui();\n }","title":""},{"docid":"7935841568d99b485e99c8a5002655e8","score":"0.6037461","text":"public static void main(String[] args){\r\n\t\tMain game = getInstance();\r\n\t\t\r\n\t\ttry{\r\n\t\t\tgame.loop();\r\n\t\t}catch(Throwable t){\r\n\t\t\tnew CrashReport(t);\r\n\t\t}\r\n\t\t\r\n\t\tgame.cleanDisplay();\r\n\t}","title":""},{"docid":"785f0b0ee5b2538bd6e3e7d638b683b9","score":"0.60347545","text":"public Main() {\n\t\tinitUI();\n\t}","title":""},{"docid":"8e260f6db77c36bfa723514600652c0d","score":"0.6031731","text":"public App() {\n\t\t// Configure log4j\n\t\tPropertyConfigurator.configureAndWatch(\"log4j.properties\");\n\t\t\n\t\t// Create TUI & GUI\n\t\tGameHandlerConfiguration config = new GameHandlerConfiguration(WIDTH, HEIGHT, AIS);\n\t\tTextUI tui = new TextUI(config.createSingleGameHandler());\n\t\tGraphicalUI gui = new GraphicalUI(\"BombGameSE\", config.createSingleGameHandler());\n\t\t\n\t\ttuithread = new Thread(new TUIThread(tui));\n\t\tguithread = new Thread(new SlickThread(gui));\n\t}","title":""},{"docid":"afe0b16bf4e5742fe60466a0e93e9874","score":"0.60163194","text":"public void run() {\n\t\tsetSize(APPLICATION_WIDTH, APPLICATION_HEIGHT); //Set window size\t\n\t\tEnvironment envrmnt = new Environment(getGCanvas());\n\t\tenvrmnt.Draw();\n\t\tcreateBall();\t\n\t\taddKeyListeners();\n\t\taddMouseListeners(); //Creates listener for mouse\n\n/*\t\tRocket rocket = new Rocket(getGCanvas());\n\t\trocket.setLocation(100, 100);\n\t\trocket.bang();*/\n\n\t}","title":""},{"docid":"fc5298eabb34486b150c5e5dcf954932","score":"0.5997423","text":"public static void main(String[] args){\n\t\tjavax.swing.SwingUtilities.invokeLater(new Runnable() {\n\t\t\tpublic void run() {\n\t\t\t\tcreateAndShowGUI();\n\t\t\t}\n\t\t});\n\t}","title":""},{"docid":"bc6dff574d7a62ef41faab22a9507b23","score":"0.59848744","text":"public static void main(String[] args) {\n\t\tcreateWindow();\n\t\t\n\t}","title":""},{"docid":"3a133bcad537cd0ed1f441e1bf639804","score":"0.5969977","text":"@Override\n public void init_loop() {\n sm.init_loop();\n }","title":""},{"docid":"a0b72c56e82850e1136f1521736986f5","score":"0.5966291","text":"public static void main(String[] args) {\n\t\tWorld world = new WorldFactory().createNewWorld();\n\t\tWorldViewer viewer = new WorldViewer(world);\n\n\t\tcreateAndPackWindow(world, viewer);\n\t\tviewer.loop();\n\t}","title":""},{"docid":"c73481c4bb092cd3016d52cc09ec5691","score":"0.59608805","text":"@Override\n public void run() {\n Main main = new Main();\n }","title":""},{"docid":"b2b12eb983144339d04db98587d0cf41","score":"0.59556925","text":"protected void startLoop() {\n\t\tsynchronized (loopMutex) {\n\t\t\trunLoop = true;\n\t\t\tdispatchPaintEvent(\"startLoop\");\n\t\t}\n\t}","title":""},{"docid":"5e8a3474d453f823acbd344baf884c68","score":"0.5949311","text":"public static void main(String[] args) {\n new ServerGUI();\n }","title":""},{"docid":"d1a7e8a49a0ff084ed23983156091895","score":"0.5939267","text":"private void run() {\n engine.getRunner().getAreaFactory().getFileManager().loadAllTheAvacados();\n \n Debugger.print(\"Starting the game!\", Debugger.INFO);\n while(!engine.isCloseRequested()) {\n engine.doGameCycle();\n //Debugger.print(\"Frame!\", Debugger.INFO);\n }\n //Exit program now\n Debugger.print(\"Exiting normally\", Debugger.INFO);\n System.exit(0);\n }","title":""},{"docid":"9d33bd8094630caef2046755aa8a9fff","score":"0.5938037","text":"public void mainLoop() {\n while (true) {\n readSensors();\n double time = crinterf.GetTime();\n if (time > 0) {\n System.out.println(\"Time: \" + time);\n if (shouldStop()) {\n stop();\n finish();\n } else if (hasObstacle()) {\n avoidObstacle();\n } else if (shouldMoveToBeacon()) {\n moveToBeacon();\n } else {\n wander();\n }\n }\n }\n }","title":""},{"docid":"8dec707e713ceb57060e15c735a3dec1","score":"0.5936424","text":"public static void main(String[] args) {\n\t\tSwingUtilities.invokeLater(new Runnable() {\n\t\t\tpublic void run() {\n\t\t\t\tcreateAndShowGUI();\n\n\t\t\t}\n\t\t});\n\t}","title":""},{"docid":"f59b946fe1a46ec3fc772d7d06ba107c","score":"0.59344685","text":"public static void main(String[] args) {\n\t\tSwingUtilities.invokeLater(new Runnable() {\n\t\t\tpublic void run() {\n\t\t\t\tcreateAndShowGUI();\n\t\t\t}\n\t\t}\t);\n\t}","title":""},{"docid":"b4a376d67cb1a072b05b1957f7f3f7b4","score":"0.59310097","text":"public static void main(String[] args) {\n javax.swing.SwingUtilities.invokeLater(new Runnable() {\n @Override\n public void run() {\n createAndShowGUI();\n }\n });\n }","title":""},{"docid":"0747b4535aa407a6a607932852bf72ad","score":"0.5929524","text":"public static void main(String[] args) {\r\n\t\tJugPuzzleGUIController GUIC = new JugPuzzleGUIController();\r\n\t\tjavax.swing.SwingUtilities.invokeLater(new Runnable() {\r\n\t\t\tpublic void run() {\r\n\t\t\t\tcreateAndShowGUI();\r\n\t\t\t}\r\n\t\t});\r\n\t}","title":""},{"docid":"3b0c1510b396d6e1e691f3c3541ffb5d","score":"0.5927575","text":"public static void main(String[] args) {\n\t\tSwingUtilities.invokeLater(new Runnable() {\n\t\t\tpublic void run() {\n\t\t\t\tcreateAndShowGUI();\n\t\t\t}\n\t\t});\n\t}","title":""},{"docid":"4936cd10c5b02777cf05c8536ee0b4fe","score":"0.59212685","text":"public static void main(String[] args)\n {\n // Create a new instance of the application and make the currently\n // running thread the application's event dispatch thread.\n Main theApp = new Main(); \n theApp.enterEventDispatcher();\n }","title":""},{"docid":"f007b7ed91a0c19fbd14e3bd3bd9ba75","score":"0.5921131","text":"public static void main(String[] args) {\n\t\tIAutoFactory factory = TeslaFactory.getInstance();\n\t\tSystem.out.println(factory.getClass());\n\n\t\tIAuto auto = factory.make();\n\t\tauto.start();\n\t\tauto.stop();\n\n\t}","title":""},{"docid":"f928421b29e195430177d7fbd952915b","score":"0.5917302","text":"public static void main(String[] args) {\n\t java.awt.EventQueue.invokeLater(new Runnable() {\n\t public void run() {\n\t createAndShowUI();\n\t }\n\t });\n\t }","title":""},{"docid":"ca4bef04a70eadf40648596ed566dfcc","score":"0.5906503","text":"public void run() {\n\n createWindow();\n initGL();\n \n //create the camera\n camera = new Camera();\n \n //start with two sources of particles on standard positions\n sources.add(createParticleSource());\n sources.get(0).setGLPosition(new Vector3f(-0.9f, -0.5f, -0.5f));\n sources.add(createParticleSource());\n sources.get(1).setGLPosition(new Vector3f(1.0f, 0.5f, -0.5f));\n \n //create a type of black hole source that sucks the particles\n ParticleSource blackHole = createParticleSource();\n blackHole.setStatus(true);\n sources.add(blackHole);\n \n while (!closeRequested) {\n pollInput();\n updateLogic();\n renderGL();\n Display.sync(60);\n Display.update();\n }\n \n cleanup();\n }","title":""},{"docid":"f51ee7fe4c576432c10fced0025fa8b4","score":"0.59050703","text":"public static void main(String[] args){\n\t\tif(args.length > 0){\n\t\t\tif(args[0] .equals(\"config\")){\n\t\t\t\tnew ConfigListener().run();\n\t\t\t}\n\t\t}\n FloorSystem floorSystem = new FloorSystem();\n while(true){\n }\n }","title":""},{"docid":"96f0515dd3c618b993528c9780c11f48","score":"0.59042364","text":"public static void main(String[] args) {\n\t\tEventQueue.invokeLater(new Runnable() {\n\t\t\tpublic void run() {\n\t\t\t\ttry {\n\t\t\t\t\tBoard window = new Board(GameManager.getButtons());\n\t\t\t\t\twindow.frame.setVisible(true);\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}","title":""},{"docid":"5501fb1c0810733b4b3562bad4f3fca7","score":"0.5903677","text":"private void run() {\n start();\n runLoopUntilExitCommand();\n }","title":""},{"docid":"096ee09526aaf68afdd36f9ebf9c46cc","score":"0.5899277","text":"public void run() {\n\tSystem.out.println(\"PureImmediate.run: starting main loop\");\n\twhile (true) {\n\t render();\n\t Thread.yield();\n\t}\n }","title":""},{"docid":"4d3be47c4806c9cef9164042171e1076","score":"0.58935964","text":"public static void main(String[] args) {\n javax.swing.SwingUtilities.invokeLater(new Runnable() {\n public void run() {\n createAndShowGUI();\n }\n });\n }","title":""},{"docid":"e17457d08e55dbbb51744d4ddf101622","score":"0.5893395","text":"public static void main(String[] args) {\n\t\tICoreServer core = new Core();\n\t\tcore.startGui();\n\t}","title":""},{"docid":"43f839b472a403bdf2cb2a023f067628","score":"0.5889014","text":"public static void main(String[] args) {\n\t\tfinal Client client = new Client();\n\t\tSwingUtilities.invokeLater(new Runnable() {\n\n\t\t\t@Override\n\t\t\tpublic void run() {\n\t\t\t\tclient.initUI();\n\t\t\t}\n\t\t});\n\t\tclient.connect();\n\t}","title":""},{"docid":"35e5dde1d8f197485889fee479c33116","score":"0.5888227","text":"public static void main(String[] args) {\n\t\tserver = new system();\n\t\tstart();\n\t\t\t\n\t}","title":""},{"docid":"3f089566ab3b12e0cffce33d6eff6788","score":"0.58852184","text":"public Main() {\r\n\r\n JFrame f = new JFrame(\"Patterns\");\r\n\r\n f.setContentPane(pixels);\r\n f.pack();\r\n f.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);\r\n f.setVisible(true);\r\n\r\n Thread t = new Thread(new Runnable() {\r\n @Override\r\n public void run() {\r\n\r\n while (true) {\r\n loop();\r\n }\r\n }\r\n });\r\n t.start();\r\n }","title":""},{"docid":"1ef0fe73f5bfe86b2a984cba56d5211c","score":"0.5882226","text":"public static void startLoop() {\n\n GraphicsController.createDisplay();\n ShaderHelper.addShader(\"lighting\");\n ShaderHelper.addShader(\"shadowMap\");\n\n while (!Display.isCloseRequested() && !Thread.interrupted()) {\n\n GraphicsController.clearScreen();\n Renderer.currentRenderQueue = new RenderQueue();\n\n if (!GameController.isLoading()) {\n //Renders all the gameObjects\n ObjectController.gameObjects.forEach(lightEngine.gameObjects.GameObject::addToRenderQueue);\n ObjectController.guiScreens.forEach(screen ->\n screen.getElements().forEach(GUIElement::addToRenderQueue));\n Renderer.currentRenderQueue.render();\n }\n\n ObjectController.getLoadingScreen().render();\n\n TimeHelper.updateFPS();\n GraphicsController.update();\n\n }\n\n GameController.stopGame();\n\n }","title":""},{"docid":"542fb75cadd3bd7ec97caf84e369db85","score":"0.58799666","text":"public static void main(String args[]) {\n\n\t\t// //\n\t\t// run a simple echo server in the background\n\t\tnew Thread(new Runnable() {\n\t\t\t@Override\n\t\t\tpublic void run() {\n\t\t\t\ttry {\n\t\t\t\t\techoServer();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t}).start();\n\n\t\t// //\n\t\t// Pretend main() is a GUI thread!\n\n\t\ttry {\n\t\t\tc_socket = new WSocket().connect(8080, \"localhost\");\n\t\t} catch (UnknownHostException | SocketException e1) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te1.printStackTrace();\n\t\t} catch (SocketTimeoutException e) {\n\t\t\te.printStackTrace();\n\t\t\tSystem.exit(-2);\n\t\t}\n\n\t\t// ...\n\n\t\twhile (true) {\n\t\t\t// pretend this is a running GUI update loop\n\t\t\t// or something\n\n\t\t\tuserPressedVoteButton();\n\n\t\t\ttry {\n\t\t\t\tThread.sleep(1000);\n\t\t\t} catch (Exception e) {\n\t\t\t\t;\n\t\t\t\t;\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"a8fc151789e50d49203238369e2269ab","score":"0.5879399","text":"public static void main(String[] args){\n SwingUtilities.invokeLater(new Game());\n }","title":""},{"docid":"c03d815ca85611bfb7502e707d011404","score":"0.58778507","text":"public void run() {\n setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n \n //create image processing operations, actions, menu bar and GUI\n createActions();\n //createMenuBar();\n createGUI();\n \n //Display the window\n pack();\n setVisible(true);\n setTitle(\"LearnCT\");\n }","title":""},{"docid":"2548e0b4ceb4ca59b290468ad46a07d3","score":"0.5877614","text":"private static void loop(App app) {\n\t\tGL.createCapabilities();\r\n\r\n\t\t// Run the rendering loop until the user has attempted to close\r\n\t\t// the window or has pressed the ESCAPE key.\r\n\t\tloader = new Loader();\r\n\r\n\t\tshader = new StaticShader();\r\n\t\trenderer = new Renderer(70, 0.01f, 1000f);\r\n\t\tmasterRenderer = new MasterRenderer();\r\n\t\tapp.start();\r\n\r\n\t\twhile (!glfwWindowShouldClose(window)) {\r\n\t\t\trenderer.prepare();\r\n\t\t\tshader.start();\r\n\t\t\tshader.loadSun(Sun.light);\r\n\t\t\tshader.stop();\r\n\t\t\t// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n\t\t\tapp.update();\r\n\t\t\t// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n\t\t\tglfwSwapBuffers(window); // swap the color buffers\r\n\r\n\t\t\t// Poll for window events. The key callback above will only be\r\n\t\t\t// invoked during this call.\r\n\t\t\tglfwPollEvents();\r\n\t\t}\r\n\t\tapp.stop();\r\n\t\tshader.cleanUp();\r\n\t\tloader.cleanUp();\r\n\t}","title":""},{"docid":"f46c7b17515f2b49f7c870e0a30341f3","score":"0.587621","text":"public static void main(String[] args) {\n\n\t\tController control = new Controller();\n\t\t\n\t\tsysLog = \"System Log: \" + getDateTime()\n\t\t\t\t+ System.getProperty(\"line.separator\");\n\n\t\ttimerStart = System.currentTimeMillis();\n\t\t\n\t\tcontrol.initiliseHelpers();\n\t\t\n\t\tsysLog += \"Initilising helpers...\"\n\t\t\t\t+ System.getProperty(\"line.separator\");\n\t\n\t\tcontrol.generateParents(40, 40);\n\t\tsysLog += \"Done.\" + System.getProperty(\"line.separator\");\n\t\t\n\t\tsysLog += \"Generating biomorph...\" \n\t\t\t\t+ System.getProperty(\"line.separator\");\n\t\tcontrol.createChildren();\n\t\t\n\t\tsysLog += \"Done.\" + System.getProperty(\"line.separator\");\n\t\t\n\t\tcontrol.initGUI();\n\t\t\n\t\tsysLog += \"Initilising GUI...\" + System.getProperty(\"line.separator\");\n\t\t\n\t\ttimerEnd = System.currentTimeMillis();\n\t\t\n\t\tsysLog += \"Done.\" + System.getProperty(\"line.separator\");\n\t\t\n\t\telapsedTime = timerEnd - timerStart;\n\n\t\tsysLog += System.getProperty(\"line.separator\");\n\t\t\n\t\tsysLog += \"Time taken to boot application: \" + elapsedTime\n\t\t\t\t+ \" milliseconds\";\n\t\ttimerEnd = System.currentTimeMillis();\n\t\telapsedTime = timerEnd - timerStart;\n\n\t\ttry {\n\t\t\tcontrol.generateTextFile(\"SystemLog\", sysLog);\n\t\t} catch (FileNotFoundException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (UnsupportedEncodingException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}","title":""},{"docid":"088e5cc400fb73eb2a29c5d3f36b8e40","score":"0.58717096","text":"public Main()\n\t{\n\t\t// TODO: Make using gameWindow less cryptic and easier\n\t\t\n\t\t// Initializes resources\n\t\t/*\n\t\tMultiMediaHolder.initializeResourceDatabase(ResourceType.SPRITE, \n\t\t\t\t\"configure/spriteload.txt\");\n\t\tMultiMediaHolder.initializeResourceDatabase(ResourceType.GAMEPHASE, \n\t\t\t\t\"configure/gamephaseload.txt\");\n\t\t*/\n\t\tMultiMediaHolder.initializeResourceDatabase(\n\t\t\t\tnew OpenSpriteBankHolder(\"configure/spriteload.txt\"));\n\t\tMultiMediaHolder.initializeResourceDatabase(\n\t\t\t\tnew OpenGamePhaseBankHolder(\"configure/gamephaseload.txt\"));\n\t\t\n\t\t// Creates the main window\n\t\tGamePanel gamepanel = new GamePanel(GameSettings.screenWidth, \n\t\t\t\tGameSettings.screenHeight);\n\t\tGameWindow window = new GameWindow(GameSettings.screenWidth, \n\t\t\t\tGameSettings.screenHeight, \"UniNamo2\", !GameSettings.fullScreen, \n\t\t\t\t120, 10, false);\n\t\twindow.addGamePanel(gamepanel, BorderLayout.CENTER);\n\t\tif (GameSettings.fullScreen)\n\t\t\twindow.setFullScreen(true);\n\t\t\n\t\t// Starts the gameplay area(s)\n\t\tMultiMediaHolder.activateBank(MetaResource.GAMEPHASE, \"default\", true);\n\t\t\n\t\t// TODO: Add key handler when needed\n\t\tAreaChanger areachanger = new AreaChanger(window, gamepanel);\n\t\tareachanger.getArea(\"design\").start();\n\t\tareachanger.getArea(\"coding\").start();\n\t\tareachanger.getArea(\"mission\").start();\n\t\t\n\t\t// TODO: This causes occasional errors\n\t\tareachanger.getArea(\"coding\").getMouseHandler().inactivate();\n\t\tareachanger.getArea(\"coding\").getDrawer().setInvisible();\n\t\t\n\t\t// Also activates FPS test\n\t\tnew FpsApsTest(window.getStepHandler(), gamepanel.getDrawer());\n\t}","title":""},{"docid":"fa2a4eec7567785fd8d6cb54e301d76a","score":"0.5870644","text":"public static void main(String[] args) {\n javax.swing.SwingUtilities.invokeLater(new Runnable() {\n\n public void run() {\n createAndShowGUI();\n }\n });\n\n }","title":""},{"docid":"71702725fa5e53b8b8be5dbdca5deac0","score":"0.5870198","text":"public static void main(String[] args) {\n\t\t\n\t\twhile(true) {\n\t\t\tshowMenu();\n\t\t}\n\t}","title":""},{"docid":"cc5416fab7e5c186129a5628b1bb2012","score":"0.5863661","text":"public void run() {\n\t\t\t\tgame = new GameDemo(Wolf3D.ip, Wolf3D.port);\r\n\t\t\t\tgame.setView(worldView); // give it the view so it can call it's display method appropriately.\r\n\t\t\t}","title":""},{"docid":"5380004b7c860344e24011ede4607215","score":"0.58633864","text":"public static void main(String[] args) throws Exception {\n\t\tSystem.out.println(\"The game server is running.\");\n\t\tServerSocket listener = new ServerSocket(PORT);\n\t\ttry {\n\t\t\twhile (true) {\n\t\t\t\tnew Handler(listener.accept()).start();\n\t\t\t}\n\t\t} finally {\n\t\t\tlistener.close();\n\t\t}\n\t}","title":""},{"docid":"a70d5ce3c943c2796189d5242926061b","score":"0.5858141","text":"public static void main(String[] args) {\n\t\tnew Dispatcher().go();\n\t}","title":""},{"docid":"e32fdefdcbc3a0f2ccd7b4120acc14a5","score":"0.5856609","text":"Loop getLoop();","title":""},{"docid":"a79e6f2df08cf358db3ceb02f4b1c72b","score":"0.5851055","text":"public static void main(String[] args) {\n javax.swing.SwingUtilities.invokeLater(new Runnable() {\n public void run() {\n createAndShowGUI();\n }\n });\n }","title":""},{"docid":"a79e6f2df08cf358db3ceb02f4b1c72b","score":"0.5851055","text":"public static void main(String[] args) {\n javax.swing.SwingUtilities.invokeLater(new Runnable() {\n public void run() {\n createAndShowGUI();\n }\n });\n }","title":""},{"docid":"a79e6f2df08cf358db3ceb02f4b1c72b","score":"0.5851055","text":"public static void main(String[] args) {\n javax.swing.SwingUtilities.invokeLater(new Runnable() {\n public void run() {\n createAndShowGUI();\n }\n });\n }","title":""},{"docid":"a79e6f2df08cf358db3ceb02f4b1c72b","score":"0.5851055","text":"public static void main(String[] args) {\n javax.swing.SwingUtilities.invokeLater(new Runnable() {\n public void run() {\n createAndShowGUI();\n }\n });\n }","title":""},{"docid":"f975d5662d4ad60e44ea1f6d635e50f4","score":"0.5841641","text":"public static void main(String[] args) {\r\n \t\tcontext = new ClassPathXmlApplicationContext(\"applicationContext.xml\");\r\n\t\ttry {\r\n\t\t\tcontroller = new GamePadController();\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\tJOptionPane.showMessageDialog(frame, e.getMessage(),\r\n\t\t\t\t\te.getMessage(), JOptionPane.ERROR_MESSAGE);\r\n\t\t\tSystem.exit(1);\r\n\t\t}\r\n \t\tjavax.swing.SwingUtilities.invokeLater(new Runnable() {\r\n \t\t\tpublic void run() {\r\n \t\t\t\tcreateAndShowGUI();\r\n \t\t\t}\r\n \t\t});\r\n \r\n \t}","title":""},{"docid":"eafd4c5c5b55708834c749d0a8aad4aa","score":"0.5841594","text":"public void autonomousInit() {\n\n autoLoopCounter = 0;\n\n }","title":""},{"docid":"dacfd512b8121b14a94e38039c0ec879","score":"0.5840332","text":"public static void main(String[] args)\n {\n SwingUtilities.invokeLater(() -> createAndShowGUI());\n }","title":""},{"docid":"a37b29235bdf9b0ab97a104ea392f0bc","score":"0.5840102","text":"public static void main(String[] args) {\n\n\t\tContentMatchMainView GUI = new ContentMatchMainView();\n\t\twhile (true){\n\t\t\t\n\t\t}\n\n\t}","title":""},{"docid":"4f198809956ec6b6282e6df194ceaff4","score":"0.5836289","text":"@Override\n public void loop() {\n\n\n\n }","title":""},{"docid":"74a3ecbb34d706481cbaa8b1892a41fb","score":"0.5834029","text":"public static void main(String[] args)\n\t{\n\t\tSwingUtilities.invokeLater(new Runnable() //new Thread()\n\t\t{\n public void run() \n {\n\n try {\n initUI();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n });\n\t}","title":""},{"docid":"0d9541c3573f6078b7d57fece259d25b","score":"0.5833936","text":"public void run () {\r\n\t\t\r\n\t\t//This generates a window\r\n\t\tcsi.cls();\r\n\t\t\r\n\t\t//Generate Map\r\n\t\tMap.drawMap(csi);\r\n\t\t\r\n\t\tString statmes = \"Welcome\";\r\n\t\t\r\n\t\t//Not sure what this does, but game crashes when commented out.\r\n\t\tcsi.saveBuffer();\r\n\r\n\t\t//Generate player stats\r\n\t\tPC.rollStat(\"Strength\");\r\n\t\tPC.rollStat(\"Vision\");\r\n\t\tPC.rollStat(\"Health\");\r\n\t\t\r\n\t\tPC.setHP(PC.maxHealth);\r\n\t\t\r\n\t\t\r\n\t\t//Feeds the required lists into the level generator\r\n\t\t//level.genLevel(0);\r\n\t\t\t\r\n\t\tlevel.genLevel(1, GM, godsList, boulderList, gobList, junkList, trapList, wallList);\r\n\t\t\r\n\t\t\r\n\t\t//Generate wall for a test\r\n\t\t//Wall wall1 = new Wall(7,7);\r\n\t\t//wallList.add(wall1);\r\n\t\t//Add wall1 to actor list for a test\r\n\t\t//actorList.add(wall1);\r\n\t\t\r\n\t\t//Bring Ursatz to life for testing\r\n\t\tGoblin Ursatz = new Goblin(rand.nextInt(75) + 3, rand.nextInt(17) + 3, Goblin.symbol, \"Ursatz\");\r\n\t\tgobList.add(Ursatz);\t\r\n\r\n\t\t//Test with a dummy\r\n\t\tDummy tDummy = new Dummy (10, 10);\r\n\t\tactorList.add(tDummy);\r\n\t\t\r\n\t\t//Another dummy test\r\n\t\t\r\n\t\t\r\n\t\t//This is cool - allows while loop to run. Once \"Exit\" is true, game quits.\r\n\t\tboolean exit = false;\r\n\t\t\t\t\r\n\t\t\r\n\t\t\twhile (!exit){\r\n\t\t\t\t\r\n\t\t\t\t//Sets timer\r\n\t\t\t\tString timeStr = String.valueOf(timer);\r\n\t\t\r\n\t\t\t\tcsi.restore();\r\n\r\n\t\t\t\t//Display Dart Traps\r\n\t\t\t\tfor (DartTrap trap : trapList){\r\n\t\t\t\t\tcsi.print(trap.xPos, trap.yPos, trap.symbol, CSIColor.RED);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t//Display Collectables\r\n\t\t\t\tfor (Collectable junk : junkList){\r\n\t\t\t\t\tcsi.print(junk.xPos, junk.yPos, junk.symbol, junk.color);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t//Display Altars\r\n\t\t\t\tfor (Altar gods : godsList){\r\n\t\t\t\t\tcsi.print(gods.xPos, gods.yPos, gods.symbol, gods.csiColor);\r\n\t\t\t\t}\r\n\r\n\t\t\t\t//Prints the player character in ATOMIC TANGERINE\r\n\t\t\t\tcsi.print(PC.xPos, PC.yPos, \"@\", CSIColor.ATOMIC_TANGERINE);\r\n\t\t\t\t\r\n\t\t\t\t//Display dummy \r\n//\t\t\t\tcsi.print(tDummy.xPos, tDummy.yPos, tDummy.symbol, tDummy.color);\r\n\t\t\t\t\r\n\t\t\t\t//Display actors\r\n\t\t\t\tfor (Actor next : actorList){\r\n\t\t\t\t\tcsi.print(next.xPos, next.yPos, next.symbol, next.color);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t//Display Boulders\r\n\t\t\t\tfor (Boulder rock : boulderList){\r\n\t\t\t\t\tcsi.print(rock.xPos, rock.yPos, rock.symbol, CSIColor.BEIGE);\t\t\r\n\t\t\t\t}\r\n\r\n\t\t\t\t//Display Goblins\r\n\t\t\t\tfor (Goblin gob : gobList){\r\n\t\t\t\t\tcsi.print(gob.xPos, gob.yPos, Goblin.symbol, CSIColor.GREEN);\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\t//Display Walls\r\n\t\t\t\tfor (Wall wall : wallList){\r\n\t\t\t\t\tcsi.print(wall.xPos, wall.yPos, wall.symbol, CSIColor.GRAY);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t//Setup misc. map elements\r\n\t\t\t\tMap.setUp(csi, statmes, PC, timeStr);\r\n\t\t\t\t\r\n\t\t\t\tcsi.refresh();\r\n\t\t\t\tint key = csi.inkey().code;\r\n\t\t\t\t\r\n\t\t\t\t@SuppressWarnings(\"unused\")\r\n\t\t\t\tboolean timestep = false;\r\n\t\t\t\t\r\n\t\t\t\t//Main character movement\r\n\t\t\t\tswitch (key) {\t\t\r\n\t\t\t\t\r\n\t\t\t\t//Base code allows for arrow movement - added number pad to cardinal directions\r\n\t\t\t\t//timer++ hardcoded whenever a key is pressed (to increment turn)\r\n\t\t\t\t\r\n\t\t\t\tcase CharKey.UARROW: case CharKey.T8: case CharKey.N8:\r\n\t\t\t\t\tPC.moveNorth(); timestep = true; \r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\tcase CharKey.DARROW: case CharKey.T2: case CharKey.N2:\r\n\t\t\t\t\tPC.moveSouth(); timestep = true;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\tcase CharKey.LARROW: case CharKey.T4: case CharKey.N4:\r\n\t\t\t\t\tPC.moveWest(); timestep = true; \r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\tcase CharKey.RARROW: case CharKey.T6: case CharKey.N6:\r\n\t\t\t\t\tPC.moveEast(); timestep = true; \r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\t//Diag movement options\r\n\t\t\t\tcase CharKey.N7:\r\n\t\t\t\t\tPC.moveNorthWest(); timestep = true; \t\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\tcase CharKey.N9:\r\n\t\t\t\t\tPC.moveNorthEast(); timestep = true; \r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\tcase CharKey.N1:\r\n\t\t\t\t\tPC.moveSouthWest(); timestep = true; \r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\tcase CharKey.N3:\r\n\t\t\t\t\tPC.moveSouthEast(); timestep = true;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t//Waiting\r\n\t\t\t\tcase CharKey.N5: case CharKey.SPACE:\r\n\t\t\t\t\tPC.loiter();\r\n\t\t\t\t\ttimestep = true;\t\t\t\t\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\t//Option to eat berries\r\n\t\t\t\tcase CharKey.e: case CharKey.E:\r\n\t\t\t\t\tPC.eatBerry();\r\n\t\t\t\t\ttimestep = true;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\r\n\t\t\t\t//Testing upgrade system\r\n\t\t\t\tcase CharKey.U: case CharKey.u:\r\n\t\t\t\t\tPC.armor.upgrade();\r\n\t\t\t\t\tPC.weapon.upgrade();\r\n\t\t\t\t\tPC.bow.upgrade();\r\n\t\t\t\t\tcsi.refresh();\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\tcase CharKey.P: case CharKey.p:\r\n\t\t\t\t\tfor (Altar gods : godsList){\r\n\t\t\t\t\t\tgods.pray(PC);\r\n\t\t\t\t }\r\n\t\t\t\t\tcsi.refresh();\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\tcase CharKey.Y: case CharKey.y:\r\n\t\t\t\tif (PC.converting){\r\n\t\t\t\t\tfor (Altar gods : godsList){\r\n\t\t\t\t\t\tgods.convert(PC);\r\n\t\t\t\t }\r\n\t\t\t\t}\r\n\t\t\t\t//PC.confirm('y');\r\n\t\t\t\t//PC.loiter();\r\n\t\t\t\t\ttimestep = true;\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t//Testing BEAMS\r\n\t\t\t\tcase CharKey.F: case CharKey.f:\r\n\t\t\t\t\r\n\t\t\t\t\t//Generic red beam with a message \r\n\t\t\t\t\t//Only fires to the right\r\n\t\t\t\t\t//Beam.zapBeam\r\n\t\t\t\t\t\r\n\t\t\t\t\t//Generic invisible beam that returns to the consul char data over the tiles it passes\r\n\t\t\t\t\t//Only fires to the right. \r\n\t\t\t\t\t//Beam.peekBeam(PC,csi);\r\n\t\t\t\t\t\r\n\t\t\t\t\t//Fires an arrow\r\n\t\t\t\t\tBeam.fireArrow(PC);\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\t//When \"Q\" is pressed, 'exit' is set to true and game quits. Neat!\r\n\t\t\t\tcase CharKey.Q: case CharKey.q:\r\n\t\t\t\t\tcsi.print(1, 1, \"Quitting...\");\r\n\t\t\t\t\texit = true;\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//essentially the \".run\" mechanic\r\n\t\t\t\tif (timestep = true){\r\n\t\t\t\t\t\r\n\t\t\t\t\t//Code to kill player if they deserve it\r\n\t\t\t\t\tif (PC.currentHealth <= 0){\r\n\t\t\t\t\tcsi.print(1, 1, \"You have perished.\");\r\n\t\t\t\t\texit = true;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\tfor(Actor next : actorList){\r\n\t\t\t\t\t\tnext.run(PC);\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\t//Checks if a player is in a wall - bounces them back if they are.\r\n\t\t\t\t\tfor (Wall wall : wallList){\r\n\t\t\t\t\t\twall.bouncePlayer(PC);\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\tfor (Boulder rock : boulderList){\r\n\t\t\t\t\trock.checkPush(PC); \r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\tfor (DartTrap trap : trapList){\r\n\t\t\t\t\ttrap.checkTrigger(PC);\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\tfor (Goblin gob : gobList){\r\n\t\t\t\t\t\t//Goblin.run does a bunch of stuff. Check goblin class for more info.\r\n\t\t\t\t\t\tgob.run(PC, wallList, boulderList, trapList, gobList);\r\n\t\t\t\t\t\t//System.out.println(gob.health);\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t//Should allow a goblin to go bezerk when its the last one left\r\n\t\t\t\t\t\t//Currently this does not happen\r\n\t\t\t\t\t\tif (gobList.size() == 1 && gob.promotable == true) {\r\n\t\t\t\t\t\t\tgob.promote();\r\n\t\t\t\t\t\t\tPC.GM.setMessage(\"Realizing its the last one left alive, the goblin goes bezerk!\");\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\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\t\r\n\t\t\t\t\tfor (Collectable junk : junkList){\r\n\t\t\t\t\t\tjunk.collect(PC);\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\t//Get PC's position for debugging\r\n\t\t\t\t\t//PC.getPosition();\r\n\t\t\t\t\t\r\n\t\t\t\t\tstatmes = GM.getMessage();\r\n\t\t\t\t\t\r\n\t\t\t\t\ttimer++;\r\n\t\t\t\t\ttimestep = false;\r\n\t\t\t\t}\r\n\t\t\t\r\n\r\n\t\t\t\r\n\t\t//Only triggers on exit\r\n\t\t\r\n\t\tcsi.print(1, 2, \"Press space to continue\");\r\n\t\t\r\n\t\tcsi.refresh();\r\n\t\tcsi.waitKey(CharKey.SPACE);\r\n\t\tSystem.exit(0);\r\n\t\t\t\t\r\n\t\t\t\t}","title":""}],"string":"[\n {\n \"docid\": \"3ff203df8d081e6df586cc6bff908ffa\",\n \"score\": \"0.7335608\",\n \"text\": \"void initMainLoop() {\\n log.log(Level.INFO, \\\"Initializing main loop...\\\");\\n t = new Timer(17, (evt) -> { // timer calls mainLoop() every 17ms (framerate ~ 60fps)\\n mainLoop();\\n });\\n t.start(); // timer started\\n log.log(Level.INFO, \\\"Main loop initialized...\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7970195b4e7da7bcd24f57be961c4047\",\n \"score\": \"0.7010319\",\n \"text\": \"Loop createLoop();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ffc3a962e4b71fcabf92ef29303cea4a\",\n \"score\": \"0.70025617\",\n \"text\": \"public Runnable createEventLoop() {\\n\\treturn new EventLoop();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"acb5cf7fab3e82e640587568dd3f101f\",\n \"score\": \"0.6868503\",\n \"text\": \"public RunLoop createDefaultRunLoop();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a6322d8bc1be08da6e30b0f08e4e1574\",\n \"score\": \"0.6687175\",\n \"text\": \"public static void main(String[] args) {\\n\\t Gameloop g = new Gameloop();\\n\\t \\tg.start();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc617db34ea51415ee4335c7e174c374\",\n \"score\": \"0.66795075\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\tGameLoop gameLoop = new GameLoop();\\r\\n\\t\\tgameLoop.init();\\r\\n\\t\\tGameLoop gameLoop2 = new GameLoop();\\r\\n\\t\\tgameLoop2.init();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e2d295611baac0a11ba642401892113c\",\n \"score\": \"0.650388\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void run() {\\n\\t\\t\\t\\tnew Main();\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80fce9072b295d7285b0a4384eaecbe4\",\n \"score\": \"0.6463832\",\n \"text\": \"public void run() {\\n\\t\\tinitialize();\\n\\t\\tloop();\\n\\t\\trelease();\\n\\t\\tSystem.exit(0);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"91534de1667ac0a895634ba1d6305a39\",\n \"score\": \"0.64109474\",\n \"text\": \"public final void start() {\\n logger.info( \\\"Application started.\\\");\\n try {\\n getAttributes();\\n\\n initSystem();\\n\\n assertDisplayCreated();\\n\\n initGame();\\n\\n //main loop\\n Renderer r = display.getRenderer();\\n while (!finished && !display.isClosing()) {\\n //update game state, do not use interpolation parameter\\n update( -1.0f);\\n\\n //render\\n render( -1.0f);\\n\\n //draw queue contents\\n r.displayBackBuffer();\\n }\\n }\\n catch (Throwable t) {\\n logger.logp(Level.SEVERE, this.getClass().toString(), \\\"start()\\\", \\\"Exception in game loop\\\", t);\\n t.printStackTrace();\\n }\\n\\n cleanup();\\n logger.info( \\\"Application ending.\\\");\\n\\n if (display != null)\\n display.reset();\\n quit();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0f51d4a58bc863bca393f30f0d2de8ed\",\n \"score\": \"0.63673985\",\n \"text\": \"@Override\\n public void run() {\\n // main loop timer\\n System.out.println(\\\"Main Controller started\\\");\\n\\n // initialization\\n int numCars = 8;\\n makeCar(numCars);\\n makeIDs();\\n makeBunkers();\\n //initInputController();\\n createWall();\\n\\n // Starts the simulation by creating new guests\\n createPatrons();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0f940015850326ec522fa285c50aac1\",\n \"score\": \"0.63653314\",\n \"text\": \"@Override\\n public void init_loop() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0f940015850326ec522fa285c50aac1\",\n \"score\": \"0.63653314\",\n \"text\": \"@Override\\n public void init_loop() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0f940015850326ec522fa285c50aac1\",\n \"score\": \"0.63653314\",\n \"text\": \"@Override\\n public void init_loop() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0f940015850326ec522fa285c50aac1\",\n \"score\": \"0.63653314\",\n \"text\": \"@Override\\n public void init_loop() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0f940015850326ec522fa285c50aac1\",\n \"score\": \"0.63653314\",\n \"text\": \"@Override\\n public void init_loop() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0f940015850326ec522fa285c50aac1\",\n \"score\": \"0.63653314\",\n \"text\": \"@Override\\n public void init_loop() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0f940015850326ec522fa285c50aac1\",\n \"score\": \"0.63653314\",\n \"text\": \"@Override\\n public void init_loop() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0f940015850326ec522fa285c50aac1\",\n \"score\": \"0.63653314\",\n \"text\": \"@Override\\n public void init_loop() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0f940015850326ec522fa285c50aac1\",\n \"score\": \"0.63653314\",\n \"text\": \"@Override\\n public void init_loop() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0f940015850326ec522fa285c50aac1\",\n \"score\": \"0.63653314\",\n \"text\": \"@Override\\n public void init_loop() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0f940015850326ec522fa285c50aac1\",\n \"score\": \"0.63653314\",\n \"text\": \"@Override\\n public void init_loop() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0f940015850326ec522fa285c50aac1\",\n \"score\": \"0.63653314\",\n \"text\": \"@Override\\n public void init_loop() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0f940015850326ec522fa285c50aac1\",\n \"score\": \"0.63653314\",\n \"text\": \"@Override\\n public void init_loop() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"87b2af0c4bbb8afff59650884265d854\",\n \"score\": \"0.6294184\",\n \"text\": \"public void start() {\\n\\n\\t\\tPane root = new Pane();\\n\\n\\t\\tfinal Canvas canvas = new Canvas(Main.WIDTH, Main.HEIGHT);\\n\\t\\tfinal GraphicsContext ctx = canvas.getGraphicsContext2D();\\n\\t\\troot.getChildren().add(canvas);\\n\\n\\t\\trenderer.setContext(ctx);\\n\\n\\t\\tscene = new Scene(root, Main.WIDTH, Main.HEIGHT);\\n\\t\\tMain.changeScene(scene);\\n\\t\\tKeyboard.initScene(scene);\\n\\n\\t\\tloop = new Gameloop();\\n\\n\\t\\tinit();\\n\\t\\tloop.start();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f14b972533b6a71f354cef4a8963b31c\",\n \"score\": \"0.6287424\",\n \"text\": \"public static void main(String[] args){\\n // Creates an instance of our program\\n Main gui = new Main();\\n // Lets the computer know to start it in the event thread\\n SwingUtilities.invokeLater(gui);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"afb4e38e8072fb90d26a77ccae427085\",\n \"score\": \"0.62745154\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\tUserInterface.instance().inputLoop();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f05821e7b8702261159e407e937e45d9\",\n \"score\": \"0.6263915\",\n \"text\": \"public void run()\\n\\t{\\n\\t\\tinitializeConstants();\\n\\t\\t\\n\\t\\tcreateWindow(); //Create the display and embed it in an awtcanvas\\t\\n\\t\\tisMainMenuOpen = true; \\n\\t\\tgameEngine.init();\\n\\t\\tgameEngine.run();\\n\\t Display.destroy(); //Cleans up \\n System.exit(1); //remember to exit the system and release resources\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7f8757d5581efa56a280f323d8aa114d\",\n \"score\": \"0.6244412\",\n \"text\": \"@Override\\r\\n public void init_loop() {\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3db94b439a91539ecc8d2fc043a852ff\",\n \"score\": \"0.6239625\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t\\twhile(true){\\n\\t \\tTCPServerDemo server = new TCPServerDemo();\\n\\t \\tserver.startServer();\\n\\t\\t\\t}\\n\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c353702f2e4c3677f97ef3b210079190\",\n \"score\": \"0.62184995\",\n \"text\": \"public static void main(String[] args) {\\r\\n\\t\\tEventQueue.invokeLater(() -> {\\r\\n\\t\\t\\t// Run initialization\\r\\n\\t\\t\\tManagement.start();\\r\\n\\t\\t});\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dd048e1e90efc63616601249c2cc474c\",\n \"score\": \"0.6214016\",\n \"text\": \"public static void main(String[] args) {\\n EventQueue.invokeLater(GameMainFrame::new);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c9d6eac686985c4e4e7d822d7720bddf\",\n \"score\": \"0.6203535\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void run() {\\n\\t\\t\\t\\tcreateGui();\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f3e2fc9e54681eefcbaa9f4da062dc74\",\n \"score\": \"0.61935925\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\tint SCREEN_WIDTH = 300;\\n\\t\\tint SCREEN_HEIGHT = 300;\\n\\t\\tint LOOP_DELAY_MS = 16;\\n\\t\\t\\n\\t\\t// Creating loading screen if needed\\n\\t\\t\\n\\t\\t// Loading resources\\n\\t\\tQResourceManager resMan = new QResourceManager();\\n\\t\\tQResourceLoader.loadResources(resMan);\\n\\t\\t\\n\\t\\t// Creating game settings\\n\\t\\tQGameSettings settings = new QGameSettings(SCREEN_WIDTH, SCREEN_HEIGHT, LOOP_DELAY_MS);\\n\\t\\t\\n\\t\\t// Creating game state\\n\\t\\tQGameState gameState = new QGameState();\\n\\t\\t\\t\\n\\t\\t// Creating graphics engine\\n\\t\\tQGraphics gfx = new QGraphics(gameState);\\n\\t\\t\\n\\t\\t// Initializing game resources\\n\\t\\tinitializeGame(resMan, gameState, gfx);\\n\\t\\t\\n\\t\\t// Creating game controller and game settings objects\\n\\t\\tnew QGameController(resMan, gameState, gfx, settings);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1a34fe996fd24b63784e1e87d501a427\",\n \"score\": \"0.61860555\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t javax.swing.SwingUtilities.invokeLater(new Runnable() {\\n\\t public void run() {\\n\\t create();\\n\\t }\\n\\t });\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ae6b2cf91c38aa46f167afbaed94920\",\n \"score\": \"0.6141047\",\n \"text\": \"public static void main (String[] args) {\\n\\t\\t//printMessages();\\n\\t\\t// create thread pool\\n\\t\\tes = Executors.newCachedThreadPool();\\n\\t\\ts = new Settings();\\n\\t\\t// TODO this should be set in the javafx, but for now it's just hardcoded\\n\\t\\ts.connectionSettings = new ConnectionSettings();//\\\"localhost\\\", 9876, 9877);\\n\\t\\t// launch the javafx\\n\\t\\t// sets settings object, also creates handshake for connection settings\\n\\t\\tserver = new GameServer(s);\\n\\t\\tclient = new GameClient(s);\\n\\t\\t//Launcher.launchGui(args);\\n\\t\\t//s.characterType = 1;\\n\\t\\t//s.chosenState = 0;\\n\\t\\tif (terminalMode) {\\n\\t\\t\\tScanner console = new Scanner(System.in);\\n\\t\\t\\tSys.print(\\\"Enter 0 for solo play, 1 for Client play, 2 for host play\\\");\\n\\t\\t\\ts.chosenState = console.nextInt();\\n\\t\\t} else {\\n\\t\\t\\tLauncher.launchGui(args);\\n\\t\\t}\\n\\t\\tswitch(s.chosenState) {\\n\\t\\tcase 0: // currently runs even if they close the window instead of hitting start. fix that\\n\\t\\t\\tsoloPlay();\\n\\t\\t\\tbreak;\\n\\t\\tcase 1:\\n\\t\\t\\tif (terminalMode)\\n\\t\\t\\t\\tclientTerminalLauncher();\\n\\t\\t\\tSys.exit(\\\"reached end of initial client\\\");\\n\\t\\t\\tclientPlay(null);\\n\\t\\t\\tbreak;\\n\\t\\tcase 2: \\n\\t\\t\\tif (terminalMode)\\n\\t\\t\\t\\tserverTerminalLauncher();\\n\\t\\t\\tSys.exit(\\\"reached end of initial server\\\");\\n\\t\\t\\thostPlay();\\n\\t\\t\\tbreak;\\n\\t\\tdefault:\\n\\t\\t\\tSys.print(\\\"nothing\\\");\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"446721539edfbc79d319d4c498749a85\",\n \"score\": \"0.6101273\",\n \"text\": \"@Override\\n public void init_loop(){\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc0ddc6f97d1e1c9f3bbc4708da7b14d\",\n \"score\": \"0.6097821\",\n \"text\": \"public void run(){\\n\\t\\n\\tGUIServer sGui = new GUIServer(\\\"Server Side Program\\\");\\n\\tsGui.go();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf3db647d3a2257d4d49d723ad8abc7d\",\n \"score\": \"0.6096297\",\n \"text\": \"public static void main(String[] arg) {\\n new server_GUI(1500);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"091fd7355f76ac1bd32014297e955da8\",\n \"score\": \"0.6091859\",\n \"text\": \"@Override\\n\\tpublic void run() {\\n\\t\\tNIOSocketServer nioss = new NIOSocketServer();\\n\\t\\tfor(;;){\\n\\t\\t\\ttry {\\n\\t\\t\\t\\tnioss.listen();\\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}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0c45b4eca20584e360d6a1b7002aae36\",\n \"score\": \"0.60856247\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\trun(new Gui(), 800, 500);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"14d8b09dd5a1b2f87316b64ebad40f16\",\n \"score\": \"0.60827225\",\n \"text\": \"public static void main(String[] args) {\\r\\n\\t\\tEventQueue.invokeLater(() -> {\\r\\n\\t\\t\\ttry {\\r\\n\\t\\t\\t\\t(new ClientController()).start();\\r\\n\\t\\t\\t} catch (Exception e) {\\r\\n\\t\\t\\t\\te.printStackTrace();\\r\\n\\t\\t\\t}\\r\\n\\t\\t});\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7e09c6268b707f99e838d206ae714b41\",\n \"score\": \"0.6079662\",\n \"text\": \"public static void main(String[] args) {\\r\\n\\t\\tSwingUtilities.invokeLater(\\r\\n\\t\\t\\t\\tnew Runnable() {\\r\\n\\t\\t\\t\\t\\t@Override\\r\\n\\t\\t\\t\\t\\tpublic void run()\\r\\n\\t\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\t\\tnew GameWindow();\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t);\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9ad057b8b931b533092ff6246ba8cc8e\",\n \"score\": \"0.6066946\",\n \"text\": \"@SuppressWarnings(\\\"InfiniteLoopStatement\\\")\\n public static void main(String[] args){\\n SocketManager socketManager = new SocketManager();\\n SocketServer socketServer = new SocketServer(8888, socketManager);\\n\\n socketManager.addInterface(SOCKET_PING, (msg, socketNum)-> socketServer.ping(socketNum));\\n socketManager.addInterface(SOCKET_BROADCAST, (msg, socketNum)-> System.out.println(msg));\\n socketManager.addInterface(SOCKET_DISCONNECT, (msg, socketNum)-> socketServer.disconnect(socketNum));\\n\\n Timer.createTimer(()-> socketManager.pushMessage(SOCKET_PING,\\\"ping\\\"),1000, -1);\\n\\n EventHandler.addEventCallback(\\\"clientConnected\\\", (evt)->{\\n ClientConnectedEvent clientConnectedEvent = (ClientConnectedEvent)evt;\\n Debug.log(clientConnectedEvent.getClientSocket().getInetAddress()+\\\":\\\"+clientConnectedEvent.getSocketID()+\\\" has connected\\\");\\n });\\n EventHandler.addEventCallback(\\\"clientDisconnected\\\", (evt)->{\\n ClientDisconnectedEvent clientDisconnectedEvent = (ClientDisconnectedEvent)evt;\\n Debug.log(clientDisconnectedEvent.getClientSocket().getInetAddress()+\\\":\\\"+clientDisconnectedEvent.getSocketID()+\\\" has disconnected\\\");\\n });\\n while(true){\\n Timer.tick();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af62c3172fd08fd441462fbec3518fe0\",\n \"score\": \"0.6052879\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\tjavax.swing.SwingUtilities.invokeLater(new Runnable() {\\n\\t\\t\\t@Override\\n\\t\\t\\tpublic void run() {\\n\\t\\t\\t\\tcreateAndShowGUI();\\n\\t\\t\\t}\\n\\t\\t});\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4cca4718416bdcc3efe45db0219c40f5\",\n \"score\": \"0.6041317\",\n \"text\": \"public static void main(String [] args){\\n createGui();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7935841568d99b485e99c8a5002655e8\",\n \"score\": \"0.6037461\",\n \"text\": \"public static void main(String[] args){\\r\\n\\t\\tMain game = getInstance();\\r\\n\\t\\t\\r\\n\\t\\ttry{\\r\\n\\t\\t\\tgame.loop();\\r\\n\\t\\t}catch(Throwable t){\\r\\n\\t\\t\\tnew CrashReport(t);\\r\\n\\t\\t}\\r\\n\\t\\t\\r\\n\\t\\tgame.cleanDisplay();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"785f0b0ee5b2538bd6e3e7d638b683b9\",\n \"score\": \"0.60347545\",\n \"text\": \"public Main() {\\n\\t\\tinitUI();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8e260f6db77c36bfa723514600652c0d\",\n \"score\": \"0.6031731\",\n \"text\": \"public App() {\\n\\t\\t// Configure log4j\\n\\t\\tPropertyConfigurator.configureAndWatch(\\\"log4j.properties\\\");\\n\\t\\t\\n\\t\\t// Create TUI & GUI\\n\\t\\tGameHandlerConfiguration config = new GameHandlerConfiguration(WIDTH, HEIGHT, AIS);\\n\\t\\tTextUI tui = new TextUI(config.createSingleGameHandler());\\n\\t\\tGraphicalUI gui = new GraphicalUI(\\\"BombGameSE\\\", config.createSingleGameHandler());\\n\\t\\t\\n\\t\\ttuithread = new Thread(new TUIThread(tui));\\n\\t\\tguithread = new Thread(new SlickThread(gui));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"afe0b16bf4e5742fe60466a0e93e9874\",\n \"score\": \"0.60163194\",\n \"text\": \"public void run() {\\n\\t\\tsetSize(APPLICATION_WIDTH, APPLICATION_HEIGHT); //Set window size\\t\\n\\t\\tEnvironment envrmnt = new Environment(getGCanvas());\\n\\t\\tenvrmnt.Draw();\\n\\t\\tcreateBall();\\t\\n\\t\\taddKeyListeners();\\n\\t\\taddMouseListeners(); //Creates listener for mouse\\n\\n/*\\t\\tRocket rocket = new Rocket(getGCanvas());\\n\\t\\trocket.setLocation(100, 100);\\n\\t\\trocket.bang();*/\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fc5298eabb34486b150c5e5dcf954932\",\n \"score\": \"0.5997423\",\n \"text\": \"public static void main(String[] args){\\n\\t\\tjavax.swing.SwingUtilities.invokeLater(new Runnable() {\\n\\t\\t\\tpublic void run() {\\n\\t\\t\\t\\tcreateAndShowGUI();\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc6dff574d7a62ef41faab22a9507b23\",\n \"score\": \"0.59848744\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\tcreateWindow();\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a133bcad537cd0ed1f441e1bf639804\",\n \"score\": \"0.5969977\",\n \"text\": \"@Override\\n public void init_loop() {\\n sm.init_loop();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0b72c56e82850e1136f1521736986f5\",\n \"score\": \"0.5966291\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\tWorld world = new WorldFactory().createNewWorld();\\n\\t\\tWorldViewer viewer = new WorldViewer(world);\\n\\n\\t\\tcreateAndPackWindow(world, viewer);\\n\\t\\tviewer.loop();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c73481c4bb092cd3016d52cc09ec5691\",\n \"score\": \"0.59608805\",\n \"text\": \"@Override\\n public void run() {\\n Main main = new Main();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b2b12eb983144339d04db98587d0cf41\",\n \"score\": \"0.59556925\",\n \"text\": \"protected void startLoop() {\\n\\t\\tsynchronized (loopMutex) {\\n\\t\\t\\trunLoop = true;\\n\\t\\t\\tdispatchPaintEvent(\\\"startLoop\\\");\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e8a3474d453f823acbd344baf884c68\",\n \"score\": \"0.5949311\",\n \"text\": \"public static void main(String[] args) {\\n new ServerGUI();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1a7e8a49a0ff084ed23983156091895\",\n \"score\": \"0.5939267\",\n \"text\": \"private void run() {\\n engine.getRunner().getAreaFactory().getFileManager().loadAllTheAvacados();\\n \\n Debugger.print(\\\"Starting the game!\\\", Debugger.INFO);\\n while(!engine.isCloseRequested()) {\\n engine.doGameCycle();\\n //Debugger.print(\\\"Frame!\\\", Debugger.INFO);\\n }\\n //Exit program now\\n Debugger.print(\\\"Exiting normally\\\", Debugger.INFO);\\n System.exit(0);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d33bd8094630caef2046755aa8a9fff\",\n \"score\": \"0.5938037\",\n \"text\": \"public void mainLoop() {\\n while (true) {\\n readSensors();\\n double time = crinterf.GetTime();\\n if (time > 0) {\\n System.out.println(\\\"Time: \\\" + time);\\n if (shouldStop()) {\\n stop();\\n finish();\\n } else if (hasObstacle()) {\\n avoidObstacle();\\n } else if (shouldMoveToBeacon()) {\\n moveToBeacon();\\n } else {\\n wander();\\n }\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8dec707e713ceb57060e15c735a3dec1\",\n \"score\": \"0.5936424\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\tSwingUtilities.invokeLater(new Runnable() {\\n\\t\\t\\tpublic void run() {\\n\\t\\t\\t\\tcreateAndShowGUI();\\n\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f59b946fe1a46ec3fc772d7d06ba107c\",\n \"score\": \"0.59344685\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\tSwingUtilities.invokeLater(new Runnable() {\\n\\t\\t\\tpublic void run() {\\n\\t\\t\\t\\tcreateAndShowGUI();\\n\\t\\t\\t}\\n\\t\\t}\\t);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b4a376d67cb1a072b05b1957f7f3f7b4\",\n \"score\": \"0.59310097\",\n \"text\": \"public static void main(String[] args) {\\n javax.swing.SwingUtilities.invokeLater(new Runnable() {\\n @Override\\n public void run() {\\n createAndShowGUI();\\n }\\n });\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0747b4535aa407a6a607932852bf72ad\",\n \"score\": \"0.5929524\",\n \"text\": \"public static void main(String[] args) {\\r\\n\\t\\tJugPuzzleGUIController GUIC = new JugPuzzleGUIController();\\r\\n\\t\\tjavax.swing.SwingUtilities.invokeLater(new Runnable() {\\r\\n\\t\\t\\tpublic void run() {\\r\\n\\t\\t\\t\\tcreateAndShowGUI();\\r\\n\\t\\t\\t}\\r\\n\\t\\t});\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3b0c1510b396d6e1e691f3c3541ffb5d\",\n \"score\": \"0.5927575\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\tSwingUtilities.invokeLater(new Runnable() {\\n\\t\\t\\tpublic void run() {\\n\\t\\t\\t\\tcreateAndShowGUI();\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4936cd10c5b02777cf05c8536ee0b4fe\",\n \"score\": \"0.59212685\",\n \"text\": \"public static void main(String[] args)\\n {\\n // Create a new instance of the application and make the currently\\n // running thread the application's event dispatch thread.\\n Main theApp = new Main(); \\n theApp.enterEventDispatcher();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f007b7ed91a0c19fbd14e3bd3bd9ba75\",\n \"score\": \"0.5921131\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\tIAutoFactory factory = TeslaFactory.getInstance();\\n\\t\\tSystem.out.println(factory.getClass());\\n\\n\\t\\tIAuto auto = factory.make();\\n\\t\\tauto.start();\\n\\t\\tauto.stop();\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f928421b29e195430177d7fbd952915b\",\n \"score\": \"0.5917302\",\n \"text\": \"public static void main(String[] args) {\\n\\t java.awt.EventQueue.invokeLater(new Runnable() {\\n\\t public void run() {\\n\\t createAndShowUI();\\n\\t }\\n\\t });\\n\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ca4bef04a70eadf40648596ed566dfcc\",\n \"score\": \"0.5906503\",\n \"text\": \"public void run() {\\n\\n createWindow();\\n initGL();\\n \\n //create the camera\\n camera = new Camera();\\n \\n //start with two sources of particles on standard positions\\n sources.add(createParticleSource());\\n sources.get(0).setGLPosition(new Vector3f(-0.9f, -0.5f, -0.5f));\\n sources.add(createParticleSource());\\n sources.get(1).setGLPosition(new Vector3f(1.0f, 0.5f, -0.5f));\\n \\n //create a type of black hole source that sucks the particles\\n ParticleSource blackHole = createParticleSource();\\n blackHole.setStatus(true);\\n sources.add(blackHole);\\n \\n while (!closeRequested) {\\n pollInput();\\n updateLogic();\\n renderGL();\\n Display.sync(60);\\n Display.update();\\n }\\n \\n cleanup();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f51ee7fe4c576432c10fced0025fa8b4\",\n \"score\": \"0.59050703\",\n \"text\": \"public static void main(String[] args){\\n\\t\\tif(args.length > 0){\\n\\t\\t\\tif(args[0] .equals(\\\"config\\\")){\\n\\t\\t\\t\\tnew ConfigListener().run();\\n\\t\\t\\t}\\n\\t\\t}\\n FloorSystem floorSystem = new FloorSystem();\\n while(true){\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"96f0515dd3c618b993528c9780c11f48\",\n \"score\": \"0.59042364\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\tEventQueue.invokeLater(new Runnable() {\\n\\t\\t\\tpublic void run() {\\n\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\tBoard window = new Board(GameManager.getButtons());\\n\\t\\t\\t\\t\\twindow.frame.setVisible(true);\\n\\t\\t\\t\\t} catch (Exception e) {\\n\\t\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5501fb1c0810733b4b3562bad4f3fca7\",\n \"score\": \"0.5903677\",\n \"text\": \"private void run() {\\n start();\\n runLoopUntilExitCommand();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"096ee09526aaf68afdd36f9ebf9c46cc\",\n \"score\": \"0.5899277\",\n \"text\": \"public void run() {\\n\\tSystem.out.println(\\\"PureImmediate.run: starting main loop\\\");\\n\\twhile (true) {\\n\\t render();\\n\\t Thread.yield();\\n\\t}\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4d3be47c4806c9cef9164042171e1076\",\n \"score\": \"0.58935964\",\n \"text\": \"public static void main(String[] args) {\\n javax.swing.SwingUtilities.invokeLater(new Runnable() {\\n public void run() {\\n createAndShowGUI();\\n }\\n });\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e17457d08e55dbbb51744d4ddf101622\",\n \"score\": \"0.5893395\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\tICoreServer core = new Core();\\n\\t\\tcore.startGui();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"43f839b472a403bdf2cb2a023f067628\",\n \"score\": \"0.5889014\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\tfinal Client client = new Client();\\n\\t\\tSwingUtilities.invokeLater(new Runnable() {\\n\\n\\t\\t\\t@Override\\n\\t\\t\\tpublic void run() {\\n\\t\\t\\t\\tclient.initUI();\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\tclient.connect();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"35e5dde1d8f197485889fee479c33116\",\n \"score\": \"0.5888227\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\tserver = new system();\\n\\t\\tstart();\\n\\t\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3f089566ab3b12e0cffce33d6eff6788\",\n \"score\": \"0.58852184\",\n \"text\": \"public Main() {\\r\\n\\r\\n JFrame f = new JFrame(\\\"Patterns\\\");\\r\\n\\r\\n f.setContentPane(pixels);\\r\\n f.pack();\\r\\n f.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);\\r\\n f.setVisible(true);\\r\\n\\r\\n Thread t = new Thread(new Runnable() {\\r\\n @Override\\r\\n public void run() {\\r\\n\\r\\n while (true) {\\r\\n loop();\\r\\n }\\r\\n }\\r\\n });\\r\\n t.start();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1ef0fe73f5bfe86b2a984cba56d5211c\",\n \"score\": \"0.5882226\",\n \"text\": \"public static void startLoop() {\\n\\n GraphicsController.createDisplay();\\n ShaderHelper.addShader(\\\"lighting\\\");\\n ShaderHelper.addShader(\\\"shadowMap\\\");\\n\\n while (!Display.isCloseRequested() && !Thread.interrupted()) {\\n\\n GraphicsController.clearScreen();\\n Renderer.currentRenderQueue = new RenderQueue();\\n\\n if (!GameController.isLoading()) {\\n //Renders all the gameObjects\\n ObjectController.gameObjects.forEach(lightEngine.gameObjects.GameObject::addToRenderQueue);\\n ObjectController.guiScreens.forEach(screen ->\\n screen.getElements().forEach(GUIElement::addToRenderQueue));\\n Renderer.currentRenderQueue.render();\\n }\\n\\n ObjectController.getLoadingScreen().render();\\n\\n TimeHelper.updateFPS();\\n GraphicsController.update();\\n\\n }\\n\\n GameController.stopGame();\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"542fb75cadd3bd7ec97caf84e369db85\",\n \"score\": \"0.58799666\",\n \"text\": \"public static void main(String args[]) {\\n\\n\\t\\t// //\\n\\t\\t// run a simple echo server in the background\\n\\t\\tnew Thread(new Runnable() {\\n\\t\\t\\t@Override\\n\\t\\t\\tpublic void run() {\\n\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\techoServer();\\n\\t\\t\\t\\t} catch (IOException e) {\\n\\t\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}).start();\\n\\n\\t\\t// //\\n\\t\\t// Pretend main() is a GUI thread!\\n\\n\\t\\ttry {\\n\\t\\t\\tc_socket = new WSocket().connect(8080, \\\"localhost\\\");\\n\\t\\t} catch (UnknownHostException | SocketException e1) {\\n\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\te1.printStackTrace();\\n\\t\\t} catch (SocketTimeoutException e) {\\n\\t\\t\\te.printStackTrace();\\n\\t\\t\\tSystem.exit(-2);\\n\\t\\t}\\n\\n\\t\\t// ...\\n\\n\\t\\twhile (true) {\\n\\t\\t\\t// pretend this is a running GUI update loop\\n\\t\\t\\t// or something\\n\\n\\t\\t\\tuserPressedVoteButton();\\n\\n\\t\\t\\ttry {\\n\\t\\t\\t\\tThread.sleep(1000);\\n\\t\\t\\t} catch (Exception e) {\\n\\t\\t\\t\\t;\\n\\t\\t\\t\\t;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a8fc151789e50d49203238369e2269ab\",\n \"score\": \"0.5879399\",\n \"text\": \"public static void main(String[] args){\\n SwingUtilities.invokeLater(new Game());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c03d815ca85611bfb7502e707d011404\",\n \"score\": \"0.58778507\",\n \"text\": \"public void run() {\\n setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\n \\n //create image processing operations, actions, menu bar and GUI\\n createActions();\\n //createMenuBar();\\n createGUI();\\n \\n //Display the window\\n pack();\\n setVisible(true);\\n setTitle(\\\"LearnCT\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2548e0b4ceb4ca59b290468ad46a07d3\",\n \"score\": \"0.5877614\",\n \"text\": \"private static void loop(App app) {\\n\\t\\tGL.createCapabilities();\\r\\n\\r\\n\\t\\t// Run the rendering loop until the user has attempted to close\\r\\n\\t\\t// the window or has pressed the ESCAPE key.\\r\\n\\t\\tloader = new Loader();\\r\\n\\r\\n\\t\\tshader = new StaticShader();\\r\\n\\t\\trenderer = new Renderer(70, 0.01f, 1000f);\\r\\n\\t\\tmasterRenderer = new MasterRenderer();\\r\\n\\t\\tapp.start();\\r\\n\\r\\n\\t\\twhile (!glfwWindowShouldClose(window)) {\\r\\n\\t\\t\\trenderer.prepare();\\r\\n\\t\\t\\tshader.start();\\r\\n\\t\\t\\tshader.loadSun(Sun.light);\\r\\n\\t\\t\\tshader.stop();\\r\\n\\t\\t\\t// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\\r\\n\\t\\t\\tapp.update();\\r\\n\\t\\t\\t// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\\r\\n\\t\\t\\tglfwSwapBuffers(window); // swap the color buffers\\r\\n\\r\\n\\t\\t\\t// Poll for window events. The key callback above will only be\\r\\n\\t\\t\\t// invoked during this call.\\r\\n\\t\\t\\tglfwPollEvents();\\r\\n\\t\\t}\\r\\n\\t\\tapp.stop();\\r\\n\\t\\tshader.cleanUp();\\r\\n\\t\\tloader.cleanUp();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f46c7b17515f2b49f7c870e0a30341f3\",\n \"score\": \"0.587621\",\n \"text\": \"public static void main(String[] args) {\\n\\n\\t\\tController control = new Controller();\\n\\t\\t\\n\\t\\tsysLog = \\\"System Log: \\\" + getDateTime()\\n\\t\\t\\t\\t+ System.getProperty(\\\"line.separator\\\");\\n\\n\\t\\ttimerStart = System.currentTimeMillis();\\n\\t\\t\\n\\t\\tcontrol.initiliseHelpers();\\n\\t\\t\\n\\t\\tsysLog += \\\"Initilising helpers...\\\"\\n\\t\\t\\t\\t+ System.getProperty(\\\"line.separator\\\");\\n\\t\\n\\t\\tcontrol.generateParents(40, 40);\\n\\t\\tsysLog += \\\"Done.\\\" + System.getProperty(\\\"line.separator\\\");\\n\\t\\t\\n\\t\\tsysLog += \\\"Generating biomorph...\\\" \\n\\t\\t\\t\\t+ System.getProperty(\\\"line.separator\\\");\\n\\t\\tcontrol.createChildren();\\n\\t\\t\\n\\t\\tsysLog += \\\"Done.\\\" + System.getProperty(\\\"line.separator\\\");\\n\\t\\t\\n\\t\\tcontrol.initGUI();\\n\\t\\t\\n\\t\\tsysLog += \\\"Initilising GUI...\\\" + System.getProperty(\\\"line.separator\\\");\\n\\t\\t\\n\\t\\ttimerEnd = System.currentTimeMillis();\\n\\t\\t\\n\\t\\tsysLog += \\\"Done.\\\" + System.getProperty(\\\"line.separator\\\");\\n\\t\\t\\n\\t\\telapsedTime = timerEnd - timerStart;\\n\\n\\t\\tsysLog += System.getProperty(\\\"line.separator\\\");\\n\\t\\t\\n\\t\\tsysLog += \\\"Time taken to boot application: \\\" + elapsedTime\\n\\t\\t\\t\\t+ \\\" milliseconds\\\";\\n\\t\\ttimerEnd = System.currentTimeMillis();\\n\\t\\telapsedTime = timerEnd - timerStart;\\n\\n\\t\\ttry {\\n\\t\\t\\tcontrol.generateTextFile(\\\"SystemLog\\\", sysLog);\\n\\t\\t} catch (FileNotFoundException e) {\\n\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\te.printStackTrace();\\n\\t\\t} catch (UnsupportedEncodingException e) {\\n\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"088e5cc400fb73eb2a29c5d3f36b8e40\",\n \"score\": \"0.58717096\",\n \"text\": \"public Main()\\n\\t{\\n\\t\\t// TODO: Make using gameWindow less cryptic and easier\\n\\t\\t\\n\\t\\t// Initializes resources\\n\\t\\t/*\\n\\t\\tMultiMediaHolder.initializeResourceDatabase(ResourceType.SPRITE, \\n\\t\\t\\t\\t\\\"configure/spriteload.txt\\\");\\n\\t\\tMultiMediaHolder.initializeResourceDatabase(ResourceType.GAMEPHASE, \\n\\t\\t\\t\\t\\\"configure/gamephaseload.txt\\\");\\n\\t\\t*/\\n\\t\\tMultiMediaHolder.initializeResourceDatabase(\\n\\t\\t\\t\\tnew OpenSpriteBankHolder(\\\"configure/spriteload.txt\\\"));\\n\\t\\tMultiMediaHolder.initializeResourceDatabase(\\n\\t\\t\\t\\tnew OpenGamePhaseBankHolder(\\\"configure/gamephaseload.txt\\\"));\\n\\t\\t\\n\\t\\t// Creates the main window\\n\\t\\tGamePanel gamepanel = new GamePanel(GameSettings.screenWidth, \\n\\t\\t\\t\\tGameSettings.screenHeight);\\n\\t\\tGameWindow window = new GameWindow(GameSettings.screenWidth, \\n\\t\\t\\t\\tGameSettings.screenHeight, \\\"UniNamo2\\\", !GameSettings.fullScreen, \\n\\t\\t\\t\\t120, 10, false);\\n\\t\\twindow.addGamePanel(gamepanel, BorderLayout.CENTER);\\n\\t\\tif (GameSettings.fullScreen)\\n\\t\\t\\twindow.setFullScreen(true);\\n\\t\\t\\n\\t\\t// Starts the gameplay area(s)\\n\\t\\tMultiMediaHolder.activateBank(MetaResource.GAMEPHASE, \\\"default\\\", true);\\n\\t\\t\\n\\t\\t// TODO: Add key handler when needed\\n\\t\\tAreaChanger areachanger = new AreaChanger(window, gamepanel);\\n\\t\\tareachanger.getArea(\\\"design\\\").start();\\n\\t\\tareachanger.getArea(\\\"coding\\\").start();\\n\\t\\tareachanger.getArea(\\\"mission\\\").start();\\n\\t\\t\\n\\t\\t// TODO: This causes occasional errors\\n\\t\\tareachanger.getArea(\\\"coding\\\").getMouseHandler().inactivate();\\n\\t\\tareachanger.getArea(\\\"coding\\\").getDrawer().setInvisible();\\n\\t\\t\\n\\t\\t// Also activates FPS test\\n\\t\\tnew FpsApsTest(window.getStepHandler(), gamepanel.getDrawer());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fa2a4eec7567785fd8d6cb54e301d76a\",\n \"score\": \"0.5870644\",\n \"text\": \"public static void main(String[] args) {\\n javax.swing.SwingUtilities.invokeLater(new Runnable() {\\n\\n public void run() {\\n createAndShowGUI();\\n }\\n });\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"71702725fa5e53b8b8be5dbdca5deac0\",\n \"score\": \"0.5870198\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\t\\n\\t\\twhile(true) {\\n\\t\\t\\tshowMenu();\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cc5416fab7e5c186129a5628b1bb2012\",\n \"score\": \"0.5863661\",\n \"text\": \"public void run() {\\n\\t\\t\\t\\tgame = new GameDemo(Wolf3D.ip, Wolf3D.port);\\r\\n\\t\\t\\t\\tgame.setView(worldView); // give it the view so it can call it's display method appropriately.\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5380004b7c860344e24011ede4607215\",\n \"score\": \"0.58633864\",\n \"text\": \"public static void main(String[] args) throws Exception {\\n\\t\\tSystem.out.println(\\\"The game server is running.\\\");\\n\\t\\tServerSocket listener = new ServerSocket(PORT);\\n\\t\\ttry {\\n\\t\\t\\twhile (true) {\\n\\t\\t\\t\\tnew Handler(listener.accept()).start();\\n\\t\\t\\t}\\n\\t\\t} finally {\\n\\t\\t\\tlistener.close();\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a70d5ce3c943c2796189d5242926061b\",\n \"score\": \"0.5858141\",\n \"text\": \"public static void main(String[] args) {\\n\\t\\tnew Dispatcher().go();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e32fdefdcbc3a0f2ccd7b4120acc14a5\",\n \"score\": \"0.5856609\",\n \"text\": \"Loop getLoop();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a79e6f2df08cf358db3ceb02f4b1c72b\",\n \"score\": \"0.5851055\",\n \"text\": \"public static void main(String[] args) {\\n javax.swing.SwingUtilities.invokeLater(new Runnable() {\\n public void run() {\\n createAndShowGUI();\\n }\\n });\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a79e6f2df08cf358db3ceb02f4b1c72b\",\n \"score\": \"0.5851055\",\n \"text\": \"public static void main(String[] args) {\\n javax.swing.SwingUtilities.invokeLater(new Runnable() {\\n public void run() {\\n createAndShowGUI();\\n }\\n });\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a79e6f2df08cf358db3ceb02f4b1c72b\",\n \"score\": \"0.5851055\",\n \"text\": \"public static void main(String[] args) {\\n javax.swing.SwingUtilities.invokeLater(new Runnable() {\\n public void run() {\\n createAndShowGUI();\\n }\\n });\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a79e6f2df08cf358db3ceb02f4b1c72b\",\n \"score\": \"0.5851055\",\n \"text\": \"public static void main(String[] args) {\\n javax.swing.SwingUtilities.invokeLater(new Runnable() {\\n public void run() {\\n createAndShowGUI();\\n }\\n });\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f975d5662d4ad60e44ea1f6d635e50f4\",\n \"score\": \"0.5841641\",\n \"text\": \"public static void main(String[] args) {\\r\\n \\t\\tcontext = new ClassPathXmlApplicationContext(\\\"applicationContext.xml\\\");\\r\\n\\t\\ttry {\\r\\n\\t\\t\\tcontroller = new GamePadController();\\r\\n\\t\\t} catch (Exception e) {\\r\\n\\t\\t\\te.printStackTrace();\\r\\n\\t\\t\\tJOptionPane.showMessageDialog(frame, e.getMessage(),\\r\\n\\t\\t\\t\\t\\te.getMessage(), JOptionPane.ERROR_MESSAGE);\\r\\n\\t\\t\\tSystem.exit(1);\\r\\n\\t\\t}\\r\\n \\t\\tjavax.swing.SwingUtilities.invokeLater(new Runnable() {\\r\\n \\t\\t\\tpublic void run() {\\r\\n \\t\\t\\t\\tcreateAndShowGUI();\\r\\n \\t\\t\\t}\\r\\n \\t\\t});\\r\\n \\r\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eafd4c5c5b55708834c749d0a8aad4aa\",\n \"score\": \"0.5841594\",\n \"text\": \"public void autonomousInit() {\\n\\n autoLoopCounter = 0;\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dacfd512b8121b14a94e38039c0ec879\",\n \"score\": \"0.5840332\",\n \"text\": \"public static void main(String[] args)\\n {\\n SwingUtilities.invokeLater(() -> createAndShowGUI());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a37b29235bdf9b0ab97a104ea392f0bc\",\n \"score\": \"0.5840102\",\n \"text\": \"public static void main(String[] args) {\\n\\n\\t\\tContentMatchMainView GUI = new ContentMatchMainView();\\n\\t\\twhile (true){\\n\\t\\t\\t\\n\\t\\t}\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4f198809956ec6b6282e6df194ceaff4\",\n \"score\": \"0.5836289\",\n \"text\": \"@Override\\n public void loop() {\\n\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"74a3ecbb34d706481cbaa8b1892a41fb\",\n \"score\": \"0.5834029\",\n \"text\": \"public static void main(String[] args)\\n\\t{\\n\\t\\tSwingUtilities.invokeLater(new Runnable() //new Thread()\\n\\t\\t{\\n public void run() \\n {\\n\\n try {\\n initUI();\\n } catch (IOException e) {\\n e.printStackTrace();\\n }\\n }\\n });\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d9541c3573f6078b7d57fece259d25b\",\n \"score\": \"0.5833936\",\n \"text\": \"public void run () {\\r\\n\\t\\t\\r\\n\\t\\t//This generates a window\\r\\n\\t\\tcsi.cls();\\r\\n\\t\\t\\r\\n\\t\\t//Generate Map\\r\\n\\t\\tMap.drawMap(csi);\\r\\n\\t\\t\\r\\n\\t\\tString statmes = \\\"Welcome\\\";\\r\\n\\t\\t\\r\\n\\t\\t//Not sure what this does, but game crashes when commented out.\\r\\n\\t\\tcsi.saveBuffer();\\r\\n\\r\\n\\t\\t//Generate player stats\\r\\n\\t\\tPC.rollStat(\\\"Strength\\\");\\r\\n\\t\\tPC.rollStat(\\\"Vision\\\");\\r\\n\\t\\tPC.rollStat(\\\"Health\\\");\\r\\n\\t\\t\\r\\n\\t\\tPC.setHP(PC.maxHealth);\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t//Feeds the required lists into the level generator\\r\\n\\t\\t//level.genLevel(0);\\r\\n\\t\\t\\t\\r\\n\\t\\tlevel.genLevel(1, GM, godsList, boulderList, gobList, junkList, trapList, wallList);\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t//Generate wall for a test\\r\\n\\t\\t//Wall wall1 = new Wall(7,7);\\r\\n\\t\\t//wallList.add(wall1);\\r\\n\\t\\t//Add wall1 to actor list for a test\\r\\n\\t\\t//actorList.add(wall1);\\r\\n\\t\\t\\r\\n\\t\\t//Bring Ursatz to life for testing\\r\\n\\t\\tGoblin Ursatz = new Goblin(rand.nextInt(75) + 3, rand.nextInt(17) + 3, Goblin.symbol, \\\"Ursatz\\\");\\r\\n\\t\\tgobList.add(Ursatz);\\t\\r\\n\\r\\n\\t\\t//Test with a dummy\\r\\n\\t\\tDummy tDummy = new Dummy (10, 10);\\r\\n\\t\\tactorList.add(tDummy);\\r\\n\\t\\t\\r\\n\\t\\t//Another dummy test\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t//This is cool - allows while loop to run. Once \\\"Exit\\\" is true, game quits.\\r\\n\\t\\tboolean exit = false;\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\twhile (!exit){\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//Sets timer\\r\\n\\t\\t\\t\\tString timeStr = String.valueOf(timer);\\r\\n\\t\\t\\r\\n\\t\\t\\t\\tcsi.restore();\\r\\n\\r\\n\\t\\t\\t\\t//Display Dart Traps\\r\\n\\t\\t\\t\\tfor (DartTrap trap : trapList){\\r\\n\\t\\t\\t\\t\\tcsi.print(trap.xPos, trap.yPos, trap.symbol, CSIColor.RED);\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//Display Collectables\\r\\n\\t\\t\\t\\tfor (Collectable junk : junkList){\\r\\n\\t\\t\\t\\t\\tcsi.print(junk.xPos, junk.yPos, junk.symbol, junk.color);\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//Display Altars\\r\\n\\t\\t\\t\\tfor (Altar gods : godsList){\\r\\n\\t\\t\\t\\t\\tcsi.print(gods.xPos, gods.yPos, gods.symbol, gods.csiColor);\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t//Prints the player character in ATOMIC TANGERINE\\r\\n\\t\\t\\t\\tcsi.print(PC.xPos, PC.yPos, \\\"@\\\", CSIColor.ATOMIC_TANGERINE);\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//Display dummy \\r\\n//\\t\\t\\t\\tcsi.print(tDummy.xPos, tDummy.yPos, tDummy.symbol, tDummy.color);\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//Display actors\\r\\n\\t\\t\\t\\tfor (Actor next : actorList){\\r\\n\\t\\t\\t\\t\\tcsi.print(next.xPos, next.yPos, next.symbol, next.color);\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//Display Boulders\\r\\n\\t\\t\\t\\tfor (Boulder rock : boulderList){\\r\\n\\t\\t\\t\\t\\tcsi.print(rock.xPos, rock.yPos, rock.symbol, CSIColor.BEIGE);\\t\\t\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\t//Display Goblins\\r\\n\\t\\t\\t\\tfor (Goblin gob : gobList){\\r\\n\\t\\t\\t\\t\\tcsi.print(gob.xPos, gob.yPos, Goblin.symbol, CSIColor.GREEN);\\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\\t//Display Walls\\r\\n\\t\\t\\t\\tfor (Wall wall : wallList){\\r\\n\\t\\t\\t\\t\\tcsi.print(wall.xPos, wall.yPos, wall.symbol, CSIColor.GRAY);\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//Setup misc. map elements\\r\\n\\t\\t\\t\\tMap.setUp(csi, statmes, PC, timeStr);\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tcsi.refresh();\\r\\n\\t\\t\\t\\tint key = csi.inkey().code;\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t@SuppressWarnings(\\\"unused\\\")\\r\\n\\t\\t\\t\\tboolean timestep = false;\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//Main character movement\\r\\n\\t\\t\\t\\tswitch (key) {\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//Base code allows for arrow movement - added number pad to cardinal directions\\r\\n\\t\\t\\t\\t//timer++ hardcoded whenever a key is pressed (to increment turn)\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tcase CharKey.UARROW: case CharKey.T8: case CharKey.N8:\\r\\n\\t\\t\\t\\t\\tPC.moveNorth(); timestep = true; \\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tcase CharKey.DARROW: case CharKey.T2: case CharKey.N2:\\r\\n\\t\\t\\t\\t\\tPC.moveSouth(); timestep = true;\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tcase CharKey.LARROW: case CharKey.T4: case CharKey.N4:\\r\\n\\t\\t\\t\\t\\tPC.moveWest(); timestep = true; \\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tcase CharKey.RARROW: case CharKey.T6: case CharKey.N6:\\r\\n\\t\\t\\t\\t\\tPC.moveEast(); timestep = true; \\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//Diag movement options\\r\\n\\t\\t\\t\\tcase CharKey.N7:\\r\\n\\t\\t\\t\\t\\tPC.moveNorthWest(); timestep = true; \\t\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tcase CharKey.N9:\\r\\n\\t\\t\\t\\t\\tPC.moveNorthEast(); timestep = true; \\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tcase CharKey.N1:\\r\\n\\t\\t\\t\\t\\tPC.moveSouthWest(); timestep = true; \\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tcase CharKey.N3:\\r\\n\\t\\t\\t\\t\\tPC.moveSouthEast(); timestep = true;\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//Waiting\\r\\n\\t\\t\\t\\tcase CharKey.N5: case CharKey.SPACE:\\r\\n\\t\\t\\t\\t\\tPC.loiter();\\r\\n\\t\\t\\t\\t\\ttimestep = true;\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//Option to eat berries\\r\\n\\t\\t\\t\\tcase CharKey.e: case CharKey.E:\\r\\n\\t\\t\\t\\t\\tPC.eatBerry();\\r\\n\\t\\t\\t\\t\\ttimestep = true;\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//Testing upgrade system\\r\\n\\t\\t\\t\\tcase CharKey.U: case CharKey.u:\\r\\n\\t\\t\\t\\t\\tPC.armor.upgrade();\\r\\n\\t\\t\\t\\t\\tPC.weapon.upgrade();\\r\\n\\t\\t\\t\\t\\tPC.bow.upgrade();\\r\\n\\t\\t\\t\\t\\tcsi.refresh();\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tcase CharKey.P: case CharKey.p:\\r\\n\\t\\t\\t\\t\\tfor (Altar gods : godsList){\\r\\n\\t\\t\\t\\t\\t\\tgods.pray(PC);\\r\\n\\t\\t\\t\\t }\\r\\n\\t\\t\\t\\t\\tcsi.refresh();\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tcase CharKey.Y: case CharKey.y:\\r\\n\\t\\t\\t\\tif (PC.converting){\\r\\n\\t\\t\\t\\t\\tfor (Altar gods : godsList){\\r\\n\\t\\t\\t\\t\\t\\tgods.convert(PC);\\r\\n\\t\\t\\t\\t }\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t//PC.confirm('y');\\r\\n\\t\\t\\t\\t//PC.loiter();\\r\\n\\t\\t\\t\\t\\ttimestep = true;\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//Testing BEAMS\\r\\n\\t\\t\\t\\tcase CharKey.F: case CharKey.f:\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t//Generic red beam with a message \\r\\n\\t\\t\\t\\t\\t//Only fires to the right\\r\\n\\t\\t\\t\\t\\t//Beam.zapBeam\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t//Generic invisible beam that returns to the consul char data over the tiles it passes\\r\\n\\t\\t\\t\\t\\t//Only fires to the right. \\r\\n\\t\\t\\t\\t\\t//Beam.peekBeam(PC,csi);\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t//Fires an arrow\\r\\n\\t\\t\\t\\t\\tBeam.fireArrow(PC);\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//When \\\"Q\\\" is pressed, 'exit' is set to true and game quits. Neat!\\r\\n\\t\\t\\t\\tcase CharKey.Q: case CharKey.q:\\r\\n\\t\\t\\t\\t\\tcsi.print(1, 1, \\\"Quitting...\\\");\\r\\n\\t\\t\\t\\t\\texit = true;\\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//essentially the \\\".run\\\" mechanic\\r\\n\\t\\t\\t\\tif (timestep = true){\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t//Code to kill player if they deserve it\\r\\n\\t\\t\\t\\t\\tif (PC.currentHealth <= 0){\\r\\n\\t\\t\\t\\t\\tcsi.print(1, 1, \\\"You have perished.\\\");\\r\\n\\t\\t\\t\\t\\texit = true;\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\tfor(Actor next : actorList){\\r\\n\\t\\t\\t\\t\\t\\tnext.run(PC);\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t//Checks if a player is in a wall - bounces them back if they are.\\r\\n\\t\\t\\t\\t\\tfor (Wall wall : wallList){\\r\\n\\t\\t\\t\\t\\t\\twall.bouncePlayer(PC);\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\tfor (Boulder rock : boulderList){\\r\\n\\t\\t\\t\\t\\trock.checkPush(PC); \\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\tfor (DartTrap trap : trapList){\\r\\n\\t\\t\\t\\t\\ttrap.checkTrigger(PC);\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\tfor (Goblin gob : gobList){\\r\\n\\t\\t\\t\\t\\t\\t//Goblin.run does a bunch of stuff. Check goblin class for more info.\\r\\n\\t\\t\\t\\t\\t\\tgob.run(PC, wallList, boulderList, trapList, gobList);\\r\\n\\t\\t\\t\\t\\t\\t//System.out.println(gob.health);\\r\\n\\t\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t//Should allow a goblin to go bezerk when its the last one left\\r\\n\\t\\t\\t\\t\\t\\t//Currently this does not happen\\r\\n\\t\\t\\t\\t\\t\\tif (gobList.size() == 1 && gob.promotable == true) {\\r\\n\\t\\t\\t\\t\\t\\t\\tgob.promote();\\r\\n\\t\\t\\t\\t\\t\\t\\tPC.GM.setMessage(\\\"Realizing its the last one left alive, the goblin goes bezerk!\\\");\\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\\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\\t\\r\\n\\t\\t\\t\\t\\tfor (Collectable junk : junkList){\\r\\n\\t\\t\\t\\t\\t\\tjunk.collect(PC);\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t//Get PC's position for debugging\\r\\n\\t\\t\\t\\t\\t//PC.getPosition();\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\tstatmes = GM.getMessage();\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\ttimer++;\\r\\n\\t\\t\\t\\t\\ttimestep = false;\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\r\\n\\r\\n\\t\\t\\t\\r\\n\\t\\t//Only triggers on exit\\r\\n\\t\\t\\r\\n\\t\\tcsi.print(1, 2, \\\"Press space to continue\\\");\\r\\n\\t\\t\\r\\n\\t\\tcsi.refresh();\\r\\n\\t\\tcsi.waitKey(CharKey.SPACE);\\r\\n\\t\\tSystem.exit(0);\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":376,"cells":{"query_id":{"kind":"string","value":"2b78b3433b580d97919d1b29a93d5361"},"query":{"kind":"string","value":"TODO most of this can be deleted, this is what happens when you press the weight button"},"positive_passages":{"kind":"list like","value":[{"docid":"4470ae8bb030336dc795be275db115ba","score":"0.68215805","text":"public void actionPerformed(ActionEvent e) {\r\n\t\t\t\t\r\n\t\t\t\t//weight in the textbox\r\n\t\t\t\tdouble weight = 0;\r\n\t\t //this is making sure a double was inserted\r\n\t\t try{\r\n\t\t \t\r\n\t\t \tweight = Double.parseDouble(textField.getText());\r\n\t\t }catch(NumberFormatException nfe){\r\n\t\t System.out.println(\"You didn't enter a number!\");\r\n\t\t \t}\r\n\t\t\t\t\r\n\t\t\t\t//create a new backend\r\n\t\t\t\tBackend backend = new Backend(fileLocation);\r\n\t\t\t\ttry {\r\n\t\t\t\t\tbackend.fileIO(new File(fileLocation), weight);\r\n\t\t\t\t} catch (IOException e1) {\r\n\t\t\t\t\te1.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}","title":""}],"string":"[\n {\n \"docid\": \"4470ae8bb030336dc795be275db115ba\",\n \"score\": \"0.68215805\",\n \"text\": \"public void actionPerformed(ActionEvent e) {\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//weight in the textbox\\r\\n\\t\\t\\t\\tdouble weight = 0;\\r\\n\\t\\t //this is making sure a double was inserted\\r\\n\\t\\t try{\\r\\n\\t\\t \\t\\r\\n\\t\\t \\tweight = Double.parseDouble(textField.getText());\\r\\n\\t\\t }catch(NumberFormatException nfe){\\r\\n\\t\\t System.out.println(\\\"You didn't enter a number!\\\");\\r\\n\\t\\t \\t}\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//create a new backend\\r\\n\\t\\t\\t\\tBackend backend = new Backend(fileLocation);\\r\\n\\t\\t\\t\\ttry {\\r\\n\\t\\t\\t\\t\\tbackend.fileIO(new File(fileLocation), weight);\\r\\n\\t\\t\\t\\t} catch (IOException e1) {\\r\\n\\t\\t\\t\\t\\te1.printStackTrace();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"237f00e85bf743ec961a665871d60d83","score":"0.7598835","text":"@Override\n\tpublic void onWeightClick(View v) {\n\t\t\n\t}","title":""},{"docid":"c815b83ea3e25f98e457061aece9d609","score":"0.7507828","text":"@Override\n\t\tpublic void onWeightClick(View v) {\n\t\t\t\n\t\t}","title":""},{"docid":"0a640ec756ad02aad8832dae5d8eba14","score":"0.7505502","text":"@Override\r\n\tpublic void Accelerator() {\n\t\tSystem.out.println(\"Based On Weight\");\r\n\t}","title":""},{"docid":"550b0d7792c2424946f127de8a61770b","score":"0.74071187","text":"private void jButton14ActionPerformed(java.awt.event.ActionEvent evt) {\n \n setWeights();\n \n }","title":""},{"docid":"106447d248c4bccc60caca9a0b82812b","score":"0.7104353","text":"public void setWeight(double weight){\n this.weight=weight;\n \n }","title":""},{"docid":"0a0c727c88d40e940e0ef0084bfef41d","score":"0.69659734","text":"void setWeight(int weight) {\r\n this.weight = weight;\r\n }","title":""},{"docid":"776df86c9905a52679e72495d847fa35","score":"0.68819225","text":"public void setWeight(int w){\n\t\tweight = w;\n\t}","title":""},{"docid":"0321a4e4e220c46476a079ff4a77d73e","score":"0.6879221","text":"public void setWeight(int weight)\n {\n this.weight = weight;\n }","title":""},{"docid":"5ce5efa56696d815b869cd3916107e46","score":"0.6870805","text":"public void setWeight(double weight){\r\n\t\tthis.weight = weight;\r\n\t}","title":""},{"docid":"0573d9908494257c5befd0c3fe43d02e","score":"0.6868758","text":"public void setWeight(float weight)\n {\n this.weight = weight;\n }","title":""},{"docid":"34bca7de40e48bc5e0f548fc6939f48e","score":"0.6835045","text":"public void setWeight(double weight)\n {\n this.weight = weight;\n }","title":""},{"docid":"310258faffd721aadef1a9c4a44bf36c","score":"0.6826235","text":"public void setWeight(float weight) {\n\tthis.weight = weight;\n }","title":""},{"docid":"a68cb641a22d0b2131b5f6b35d2cb8ca","score":"0.67804366","text":"public void setWeight(double weight) {\n this.weight = weight;\n }","title":""},{"docid":"9c693b6f9f3465128869006944113b89","score":"0.67181796","text":"public void setWeight(Float weight) {\n this.weight = weight;\n }","title":""},{"docid":"f231d015eedf79963a61524c486ffab5","score":"0.6716339","text":"public void setWeight(double weight)\n\t{\n\t\tthis.weight = weight;\n\t}","title":""},{"docid":"f231d015eedf79963a61524c486ffab5","score":"0.6716339","text":"public void setWeight(double weight)\n\t{\n\t\tthis.weight = weight;\n\t}","title":""},{"docid":"09d24cddf937387bd66584c7398757fa","score":"0.67106295","text":"@Override\n public int getWeight() { return weight; }","title":""},{"docid":"2b2935d13968135ce68d516ae75db6a9","score":"0.6709363","text":"public void WeightOfChildBear(){\n int weight = 0;\n weight = 80;\n }","title":""},{"docid":"c779457131c327a3d37ac9cacec96099","score":"0.6704285","text":"void setWeight(int weight);","title":""},{"docid":"49bb1b011f602f2d0f8225a5baee76e7","score":"0.6702073","text":"@Override\n public void setWeight(double w) {\n _weight = w;\n }","title":""},{"docid":"b3fa5d781ee863009d961d24d5b95052","score":"0.6677885","text":"public void setWeight (Double w) {\n\t\tweight = w;\n\t}","title":""},{"docid":"064abe43adfd05484e6cbdab30654f4a","score":"0.6671604","text":"public String getWeight() {\r\n\treturn weightTextBox.getText();\r\n }","title":""},{"docid":"ba19f3d8ae1dc268637e129ac0b6dc91","score":"0.6666219","text":"public void weightsOrBands(){\r\n\t\tif(equipPref.equals(\"Bands\")){\r\n\t\t\tshowBand();\r\n\t\t}\r\n\t\telse {\r\n\t\t\tshowWeight();\r\n\t\t}\r\n\t}","title":""},{"docid":"9e5354ba1f069c33607fee586a49d702","score":"0.664421","text":"public void setWeight(double weight) {\n this.weight = weight;\n}","title":""},{"docid":"df54285a051292cf12757a34fe6aba5f","score":"0.6620624","text":"private int getWeight() {\n String text = weightText.getText().toString();\n if (text.length() == 0) {\n return -1;\n }\n\n int weight = Integer.parseInt(text);\n if (weight < 0 || weight > 100) {\n return -1;\n }\n\n return weight;\n }","title":""},{"docid":"c2c3b240db7d6b5bb3ce8dfad3cb00e6","score":"0.65992135","text":"public void setWeight(Integer weight) {\n this.weight = weight;\n }","title":""},{"docid":"c9502578629b01351db572684c4d36a2","score":"0.65897673","text":"public void enterWeightInTheTextBox(String weight) {\n inputText(weightInLbs, weight);\n\n }","title":""},{"docid":"edf039138de3bfc581fac85ff13b3183","score":"0.65845317","text":"@Override\r\npublic void actionPerformed(ActionEvent arg0) {\ndouble h=Double.parseDouble(t2.getText());\r\ndouble w=Double.parseDouble(t3.getText());\r\ndouble bmi=w/(h*h);\r\nt4.setText(\"BMI\"+Math.round(bmi));\r\nif(bmi>0.00 && bmi<19.00)\r\n{\r\nt5.setText(\"under weight...Eat well\");\r\n}\r\nelse if(bmi>19.00 && bmi<26.00)\r\n{\r\nt5.setText(\"normal weight...maintain this\");\r\n}\r\nelse if(bmi>26.00 && bmi<30.00)\r\n{\r\nt5.setText(\"over weight...reduce ur food\");\r\n}\r\nelse\r\n{\r\nt5.setText(\"obese..say no to food\");\r\n}\r\n\r\n}","title":""},{"docid":"5c2011240bd205370eb3596530a90e4c","score":"0.65708786","text":"private void enterCurrentWeight() {\n\t\tSeleniumUtil.waitForElementToBeVisible(inputTetxCurrentWeightOfManageWeightLevel1, driver);\n\t\tSeleniumUtil.element(inputTetxCurrentWeightOfManageWeightLevel1, driver).sendKeys(\"150\");\n\t}","title":""},{"docid":"a10f84c1544f845547f08362126f1f1d","score":"0.6556776","text":"public void actionPerformed(java.awt.event.ActionEvent thing) {\n\n//variables for weight and height\n double height = Double.parseDouble( inHeight.getText().trim() );\n double weight = Double.parseDouble( inHeavy.getText().trim() );\n double BMI = 703*(weight/(height*height)) ;// Formula to calculate the Body Mass Index//\n//if else statements to determine the wellness of yourself//\n if(BMI < 18.5){\n showDist.setText(BMI+\" You are underweight. \");\n }else if(BMI >= 18.5 && BMI <= 25){\n showDist.setText(BMI+\" You BMI is normal. \");\n }else if(BMI >25){\n showDist.setText(BMI+\" You are overweight. \");\n }\n }","title":""},{"docid":"f764d8610186ff7c420fa790d019c54e","score":"0.6544739","text":"private void refreshWeight()\n\t{\n\t\tlong weight = 0;\n\n\t\tfor(final L2ItemInstance element : _items)\n\t\t\tweight += element.getItem().getWeight() * element.getCount();\n\n\t\tif(weight > Integer.MAX_VALUE)\n\t\t\t_totalWeight = Integer.MAX_VALUE;\n\t\telse\n\t\t\t_totalWeight = (int) weight;\n\t\t// notify char for overload checking\n\t\tonRefreshWeight();\n\t}","title":""},{"docid":"db86bbc7ce0f56336eb50cb430cd016f","score":"0.6496273","text":"public void setWeight(Double w) {\n\t\t\tthis.weight = w;\n\t\t}","title":""},{"docid":"62e495a36225afbe1318bc8968c9810f","score":"0.64788306","text":"double getWeight();","title":""},{"docid":"e6cecda7ea4b41a5eedfd166b9cf6b44","score":"0.6475563","text":"public void setWeight (java.lang.Integer weight) {\n\t\tthis.weight = weight;\n\t}","title":""},{"docid":"e0491ff4bb0fa027aee2062c30b02f3f","score":"0.64747095","text":"public void setWeight(int newWeight) {\n\t \tweight = newWeight;\n\t }","title":""},{"docid":"402cda7f21e2b16917baf96bac6a5947","score":"0.6464311","text":"int getWeight();","title":""},{"docid":"803521b70bdd4d671d8d5f1a2da14db1","score":"0.6457922","text":"public void setWeight(double weigth) {\n \t\tthis.weigth = weigth;\n \t}","title":""},{"docid":"da44e0ba95ea91f7d97714b9eac694b0","score":"0.64409554","text":"int getStartWeight();","title":""},{"docid":"9bd1082469aa50c343d70b637e2ba25e","score":"0.6415117","text":"public int increaseWeight() {\n return weight++;\n }","title":""},{"docid":"467d14f0776881f10a00f6c5112662ff","score":"0.64046246","text":"public int getCurrentWeight() \n {\n return this.currentWeight;\n }","title":""},{"docid":"b575cc31d5b596a3e25d1b4e7c7ffecc","score":"0.6399927","text":"public int getWeight(){\n\t\treturn weight;\n\t}","title":""},{"docid":"79318478109387b7ce1adc773513e946","score":"0.63971263","text":"public int getWeight();","title":""},{"docid":"79318478109387b7ce1adc773513e946","score":"0.63971263","text":"public int getWeight();","title":""},{"docid":"79318478109387b7ce1adc773513e946","score":"0.63971263","text":"public int getWeight();","title":""},{"docid":"3d582e6794d2ca94f1d737e7107b0559","score":"0.6387773","text":"public double getWeight(){\r\n\t\treturn this.weight;\r\n\t}","title":""},{"docid":"4a21dbf9c7a57deb9eda4f5cc4faa6e0","score":"0.6378698","text":"public int getWeight() {\n return weight;\n }","title":""},{"docid":"b392bc805901bb834281184e830f47bd","score":"0.6372841","text":"public void setWeight(double weight) {\n\t\tthis.weight.set(weight);\n\t}","title":""},{"docid":"6dc245ef36b5459b52907faf6e06b56c","score":"0.637128","text":"public int getCurrentWeight() {\n return weight;\n }","title":""},{"docid":"14cb7522bb0eb87af130fa5872973f08","score":"0.63700324","text":"public int weight() {\n return weight;\n }","title":""},{"docid":"6306e1fb39ef6b9a00a5359d3901c998","score":"0.63674736","text":"public final int getWeight () {\n return this.weight;\n }","title":""},{"docid":"6ec70aa3474e39795ff8cbb6971f8ba3","score":"0.6350305","text":"int getWeight() {\n return weight;\n }","title":""},{"docid":"051ccf384b0f81f1152fbe0e7a6b7801","score":"0.633627","text":"@Raw\r\n\tprotected void setWeight(int weight){\r\n\t\tif (this.canHaveAsWeight(weight))\r\n\t\t\tthis.weight = weight;\r\n\t\telse\r\n\t\t\tthis.weight = 1;\r\n\t}","title":""},{"docid":"fe6a1b72d7590498c0ec8a4515c13e99","score":"0.63338906","text":"public float GetWeight();","title":""},{"docid":"c82c05b5e0bf6a6482d185444b812371","score":"0.6332499","text":"public int getWeight() {\r\n return weight;\r\n }","title":""},{"docid":"58e449cb3284cf8c07ee2d41dc980c1a","score":"0.6319582","text":"public float getWeight() {\r\n return weight;\r\n }","title":""},{"docid":"bdb8a6bb165320710d986711961eec71","score":"0.63134295","text":"public float getWeight()\n {\n return this.weight;\n }","title":""},{"docid":"f65d6b4bc9b45e141db8447be7ded36e","score":"0.63060004","text":"public int getWeight()\r\n {\r\n return weight;\r\n }","title":""},{"docid":"0ab32cc484f0dd946af458e25a16fc4d","score":"0.6300045","text":"abstract void setWeight(double weight);","title":""},{"docid":"19718934431f4e27a953deac8d392ac0","score":"0.62907386","text":"@Override\n public int getWeight() {\n return 0;\n }","title":""},{"docid":"34c9d0604fb58b18d2808254e52e1479","score":"0.62859076","text":"@Override\n public double getWeight() {\n return _weight;\n }","title":""},{"docid":"19dd9298b3d7f3d795423abe63293225","score":"0.6281683","text":"public void actionPerformed (ActionEvent e)\n\t{\n\t\tinches = Integer.parseInt (heightField.getText());\n\t\tpounds = Integer.parseInt (weightField.getText());\n\t\tmeters = inches / 39.36;\n\t\tkilograms = pounds / 2.2;\n\t\tindex = kilograms / Math.pow(meters,2);\n\t\toutputLabel.setText (\"Your Body Mass Index is \" + Math.round(index) + \".\");\n\t}","title":""},{"docid":"eacd914486b2fdd7163b065e35c7e76e","score":"0.62815094","text":"public final void setWeight(double weight) {\n\t\tif (weight>=80 && weight<=280){\n\t\t\tthis.weight = weight;\n\t\t}\n\t}","title":""},{"docid":"ae1435a8616f902ee3d64cdb444a039a","score":"0.6281387","text":"public final void setWeight(final double argWeight) {\n\t\tthis.weight = argWeight;\n\t}","title":""},{"docid":"089289b80e8609853df402cd5871d87a","score":"0.6277281","text":"@Override\r\n public double weight() {\r\n return 30.0;\r\n }","title":""},{"docid":"2c3eeeabde3d8e84d7e36a6681add746","score":"0.6266718","text":"public float getWeight() {\n\treturn weight;\n }","title":""},{"docid":"14b7807ad9560734ffe534903c7ef9e6","score":"0.6262262","text":"public int getWeight()\n {\n return weight;\n }","title":""},{"docid":"b54366c037104873170021e8022fb173","score":"0.6261056","text":"public double getWeight(){\n return this.weight;\n }","title":""},{"docid":"1f29a6cc1b3af663649c7dc9819c300b","score":"0.6254283","text":"public int getWeight() {\n return weight;\n }","title":""},{"docid":"1f29a6cc1b3af663649c7dc9819c300b","score":"0.6254283","text":"public int getWeight() {\n return weight;\n }","title":""},{"docid":"1f29a6cc1b3af663649c7dc9819c300b","score":"0.6254283","text":"public int getWeight() {\n return weight;\n }","title":""},{"docid":"3273c21dbb291268c3caecd58388afdd","score":"0.62537616","text":"public void enterWeightForDog(String Text) {\n inputText(weightInKGTextBox, Text);\n }","title":""},{"docid":"7d3946afb77ee4aa140e8bbd263dfe7d","score":"0.6251004","text":"public float getWeight()\n {\n return weight;\n }","title":""},{"docid":"3f125fb71b1eab13558137cdb41e6383","score":"0.6243368","text":"public int getWeight() {\n\t\treturn weight;\n\t}","title":""},{"docid":"811067a2c251882fd994ba201a47450a","score":"0.6239604","text":"public float getWeight() {\n return weight;\n }","title":""},{"docid":"2bb88aa9e13de8f691bbee36235b5bdf","score":"0.62253046","text":"public int weight();","title":""},{"docid":"0ef01a675ed22a619de235ff3e7b8bee","score":"0.6205922","text":"public double getWeight() {\n return this.weight;\n }","title":""},{"docid":"b492c56a43ee84ad6115d39fc23a5eda","score":"0.620527","text":"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent openStrtngPoint = new Intent(\"android.intent.action.WEIGHTPGE\");\n\t\t\t\tstartActivity(openStrtngPoint);\n\t\t\t}","title":""},{"docid":"fb72d5e25061c3940b0e86d60fc488aa","score":"0.6201212","text":"@FXML\n public void handleWeightingBtn(MouseEvent event) throws IOException {\n pageSwitcher.switcher(event, \"WeightingTable.fxml\");\n }","title":""},{"docid":"5758f23dbf78810c3df822276f004309","score":"0.6197592","text":"public double getWeight(){\n return weight;\n }","title":""},{"docid":"8c59b7eb86b80c05dfbc94420dc4a43b","score":"0.6196142","text":"protected int getWeight() {\n\t\treturn m_nWeight;\n\t}","title":""},{"docid":"0a81dbeb2d02c4f9d5b1e926c13a1e59","score":"0.6195434","text":"@Override\n\t\t\tpublic void onClick(View v) {\n\n\t\t\t\tif (Tweight.getText().toString().equalsIgnoreCase(\"\"))\n\t\t\t\t{\n\t\t\t\t\tdisplaySubmit.setText(\"Δέν έχει γίνει εισαγωγή του βάρους\");\n\t\t\t\t\tdisplaySubmit.setTextColor(Color.RED);\n\t\t\t\t} else if (Float.parseFloat(Tweight.getText().toString()) > (float) 350.00\n\t\t\t\t\t\t\t|| Float.parseFloat(Tweight.getText().toString()) < (float) 20) \n\t\t\t\t\t{\n\t\t\t\t\tdisplaySubmit.setText(\"Λανθεσμένη είσοδο βάρους:\\nΠρέπει να είναι στο διάστημα [20-350]\");\n\t\t\t\t\tdisplaySubmit.setTextColor(Color.RED);\n\t\t\t\t\t} else if (Theight.getText().toString().equalsIgnoreCase(\"\"))\n\t\t\t\t\t\t{\n\t\t\t\t\t\tdisplaySubmit.setText(\"Δέν έχει γίνει εισαγωγή του ύψους\");\n\t\t\t\t\t\tdisplaySubmit.setTextColor(Color.RED);\n\t\t\t\t\t\t} else if (Float.parseFloat(Theight.getText().toString()) > (float) 250.00\n\t\t\t\t\t\t\t\t|| Float.parseFloat(Theight.getText().toString()) < (float) 40)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplaySubmit.setText(\"Λανθεσμένη είσοδο ύψους:\\nΠρέπει να είναι στο διάστημα [40-250]\");\n\t\t\t\t\t\t\tdisplaySubmit.setTextColor(Color.RED);\n\t\t\t\t\t\t\t}\n\t\t\t}","title":""},{"docid":"64c87854bdd403dfbb2a173fe27bcc3c","score":"0.6192085","text":"public void setWeight(java.lang.String value) {\n this.weight = value;\n }","title":""},{"docid":"aa894ed86b8dc2b432e0360afe0781f0","score":"0.61858","text":"public int getWeight() {\n String weight = weightTextField.getText();\n try {\n int convertedWeight = Integer.parseInt(weight);\n return convertedWeight;\n }catch (NumberFormatException e){\n JOptionPane.showMessageDialog(frame, \"weight required and must be an integer\");\n return 0;\n }\n }","title":""},{"docid":"2b650d13976fab47534c9493ac151adf","score":"0.61796","text":"public double getWeight() {\n return weight;\n }","title":""},{"docid":"8da3a938343d699bf1fdb9b6f8cb4574","score":"0.6178478","text":"public double getWeight()\n\t{\n\t\treturn weight;\n\t}","title":""},{"docid":"ca73e03ce0a46439a28875c3e4348eed","score":"0.61734056","text":"public int getWeight() {\n return mWeight;\n }","title":""},{"docid":"9f1e4e5d99263c5ca794d15f8e8d2c59","score":"0.6171627","text":"public void setWeight(int weight) {\n if (weight > 0 && weight <= 3500)\n this.weight = weight;\n }","title":""},{"docid":"557d838bd866c8c05a5d509360c767b3","score":"0.61687607","text":"public double getWeight() {\n\t\treturn weight;\n\t\t}","title":""},{"docid":"6a807ad179551ae1c45009c61db3a34e","score":"0.61584204","text":"private void weightSliderStateChanged(final ChangeEvent e) {\n\t\tShapeTalk.drawingBoard.setStrokeIndex(weightSlider.getValue());\n\t}","title":""},{"docid":"5f812bb1435bec7d32acea6c81ad7719","score":"0.6157309","text":"@Test\n\tpublic void qualityShouldChangeWhenWeightsChangedManually() throws Exception {\n\t\tfinal Parent root = launchScene();\n\t\tfinal TableView tableView = (TableView) root.lookup(\"#tableView\");\n\t\ttableView.getItems().get(0).setWeight(5.0);\n\t\ttableView.getItems().get(1).setWeight(5.0);\n\t\ttableView.getItems().get(2).setWeight(5.0);\n\t\t((Button) root.lookup(\"#evaluate\")).fire();\n\t\tfinal Double falsePositives = Double.valueOf(((Label) root.lookup(\"#falsePositivesQuantity\")).getText());\n\t\tfinal Double falseNegatives = Double.valueOf(((Label) root.lookup(\"#falseNegativesQuantity\")).getText());\n\t\tassertEquals(new Double(209), falsePositives);\n\t\tassertEquals(new Double(73), falseNegatives);\n\t}","title":""},{"docid":"13c1584c56df2374386647dab23aee37","score":"0.6157275","text":"public void setWeight(java.lang.Double value) {\n this.weight = value;\n }","title":""},{"docid":"d89d3cca45134230e78095357d3d0ab9","score":"0.61511344","text":"public abstract int getWeight();","title":""},{"docid":"d89d3cca45134230e78095357d3d0ab9","score":"0.61511344","text":"public abstract int getWeight();","title":""},{"docid":"857b50303eee5d982953d41696d82177","score":"0.61405957","text":"java.lang.String getWeight();","title":""},{"docid":"f59a06348eb958c469d0e8cebd106d92","score":"0.61355454","text":"public Weight (float currentWeight) {\n\t\tthis.currentWeight = currentWeight;\n\t\tweightDates = new ArrayList(); \n\t\tweightHistory = new ArrayList();\n\t}","title":""},{"docid":"cae39b44dd2bc5e4f5f74b261a05e17d","score":"0.61264294","text":"@Override\n public void onClick(View v) {\n if (etWeightChild.getText() != null\n && etWeightChild.getText().toString().length() > 0\n && !etWeightChild.getText().toString()\n .equalsIgnoreCase(\".\")) {\n float value = Float.valueOf(etWeightChild.getText()\n .toString());\n\n etWeightChild.setText(String.valueOf(value + .1));\n } else {\n float value = Float.valueOf(0);\n\n etWeightChild.setText(String.valueOf(value + .1));\n }\n }","title":""},{"docid":"ec1a488be97dad11bed560f4c7037b42","score":"0.6116463","text":"public double weight() {\n return weight;\n }","title":""},{"docid":"05c058c43e98f43301ce892065b5cbba","score":"0.61039084","text":"public double getWeight()\n {\n return weight;\n }","title":""},{"docid":"ecbb4d51f89d5626344633dd70176548","score":"0.6102664","text":"public double getWeight() {\n\t\treturn weight;\n\t}","title":""},{"docid":"8c1ac82f8fa104b65c43c3c601dde590","score":"0.6095041","text":"public void onIncreaseButtonClicked() {\r\n\t\tif (wordChanger == null) {\r\n\t\t\tinitializeWordChanger();\r\n\t\t}\r\n\r\n\t\tint currentWpm = rsvpStatus.getCurrentWpm();\r\n\r\n\t\tif (currentWpm < 700) {\r\n\t\t\tcurrentWpm += 50;\r\n\t\t\trsvpStatus.setCurrentWpm(currentWpm);\r\n\t\t\twordChanger.setWordsPerMinute(currentWpm);\r\n\t\t}\r\n\r\n\t\tview.updateCurrentWpmLabel(currentWpm);\r\n\t}","title":""}],"string":"[\n {\n \"docid\": \"237f00e85bf743ec961a665871d60d83\",\n \"score\": \"0.7598835\",\n \"text\": \"@Override\\n\\tpublic void onWeightClick(View v) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c815b83ea3e25f98e457061aece9d609\",\n \"score\": \"0.7507828\",\n \"text\": \"@Override\\n\\t\\tpublic void onWeightClick(View v) {\\n\\t\\t\\t\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0a640ec756ad02aad8832dae5d8eba14\",\n \"score\": \"0.7505502\",\n \"text\": \"@Override\\r\\n\\tpublic void Accelerator() {\\n\\t\\tSystem.out.println(\\\"Based On Weight\\\");\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"550b0d7792c2424946f127de8a61770b\",\n \"score\": \"0.74071187\",\n \"text\": \"private void jButton14ActionPerformed(java.awt.event.ActionEvent evt) {\\n \\n setWeights();\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"106447d248c4bccc60caca9a0b82812b\",\n \"score\": \"0.7104353\",\n \"text\": \"public void setWeight(double weight){\\n this.weight=weight;\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0a0c727c88d40e940e0ef0084bfef41d\",\n \"score\": \"0.69659734\",\n \"text\": \"void setWeight(int weight) {\\r\\n this.weight = weight;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"776df86c9905a52679e72495d847fa35\",\n \"score\": \"0.68819225\",\n \"text\": \"public void setWeight(int w){\\n\\t\\tweight = w;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0321a4e4e220c46476a079ff4a77d73e\",\n \"score\": \"0.6879221\",\n \"text\": \"public void setWeight(int weight)\\n {\\n this.weight = weight;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5ce5efa56696d815b869cd3916107e46\",\n \"score\": \"0.6870805\",\n \"text\": \"public void setWeight(double weight){\\r\\n\\t\\tthis.weight = weight;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0573d9908494257c5befd0c3fe43d02e\",\n \"score\": \"0.6868758\",\n \"text\": \"public void setWeight(float weight)\\n {\\n this.weight = weight;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"34bca7de40e48bc5e0f548fc6939f48e\",\n \"score\": \"0.6835045\",\n \"text\": \"public void setWeight(double weight)\\n {\\n this.weight = weight;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"310258faffd721aadef1a9c4a44bf36c\",\n \"score\": \"0.6826235\",\n \"text\": \"public void setWeight(float weight) {\\n\\tthis.weight = weight;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a68cb641a22d0b2131b5f6b35d2cb8ca\",\n \"score\": \"0.67804366\",\n \"text\": \"public void setWeight(double weight) {\\n this.weight = weight;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9c693b6f9f3465128869006944113b89\",\n \"score\": \"0.67181796\",\n \"text\": \"public void setWeight(Float weight) {\\n this.weight = weight;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f231d015eedf79963a61524c486ffab5\",\n \"score\": \"0.6716339\",\n \"text\": \"public void setWeight(double weight)\\n\\t{\\n\\t\\tthis.weight = weight;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f231d015eedf79963a61524c486ffab5\",\n \"score\": \"0.6716339\",\n \"text\": \"public void setWeight(double weight)\\n\\t{\\n\\t\\tthis.weight = weight;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"09d24cddf937387bd66584c7398757fa\",\n \"score\": \"0.67106295\",\n \"text\": \"@Override\\n public int getWeight() { return weight; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2b2935d13968135ce68d516ae75db6a9\",\n \"score\": \"0.6709363\",\n \"text\": \"public void WeightOfChildBear(){\\n int weight = 0;\\n weight = 80;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c779457131c327a3d37ac9cacec96099\",\n \"score\": \"0.6704285\",\n \"text\": \"void setWeight(int weight);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"49bb1b011f602f2d0f8225a5baee76e7\",\n \"score\": \"0.6702073\",\n \"text\": \"@Override\\n public void setWeight(double w) {\\n _weight = w;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b3fa5d781ee863009d961d24d5b95052\",\n \"score\": \"0.6677885\",\n \"text\": \"public void setWeight (Double w) {\\n\\t\\tweight = w;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"064abe43adfd05484e6cbdab30654f4a\",\n \"score\": \"0.6671604\",\n \"text\": \"public String getWeight() {\\r\\n\\treturn weightTextBox.getText();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba19f3d8ae1dc268637e129ac0b6dc91\",\n \"score\": \"0.6666219\",\n \"text\": \"public void weightsOrBands(){\\r\\n\\t\\tif(equipPref.equals(\\\"Bands\\\")){\\r\\n\\t\\t\\tshowBand();\\r\\n\\t\\t}\\r\\n\\t\\telse {\\r\\n\\t\\t\\tshowWeight();\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9e5354ba1f069c33607fee586a49d702\",\n \"score\": \"0.664421\",\n \"text\": \"public void setWeight(double weight) {\\n this.weight = weight;\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"df54285a051292cf12757a34fe6aba5f\",\n \"score\": \"0.6620624\",\n \"text\": \"private int getWeight() {\\n String text = weightText.getText().toString();\\n if (text.length() == 0) {\\n return -1;\\n }\\n\\n int weight = Integer.parseInt(text);\\n if (weight < 0 || weight > 100) {\\n return -1;\\n }\\n\\n return weight;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c2c3b240db7d6b5bb3ce8dfad3cb00e6\",\n \"score\": \"0.65992135\",\n \"text\": \"public void setWeight(Integer weight) {\\n this.weight = weight;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c9502578629b01351db572684c4d36a2\",\n \"score\": \"0.65897673\",\n \"text\": \"public void enterWeightInTheTextBox(String weight) {\\n inputText(weightInLbs, weight);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"edf039138de3bfc581fac85ff13b3183\",\n \"score\": \"0.65845317\",\n \"text\": \"@Override\\r\\npublic void actionPerformed(ActionEvent arg0) {\\ndouble h=Double.parseDouble(t2.getText());\\r\\ndouble w=Double.parseDouble(t3.getText());\\r\\ndouble bmi=w/(h*h);\\r\\nt4.setText(\\\"BMI\\\"+Math.round(bmi));\\r\\nif(bmi>0.00 && bmi<19.00)\\r\\n{\\r\\nt5.setText(\\\"under weight...Eat well\\\");\\r\\n}\\r\\nelse if(bmi>19.00 && bmi<26.00)\\r\\n{\\r\\nt5.setText(\\\"normal weight...maintain this\\\");\\r\\n}\\r\\nelse if(bmi>26.00 && bmi<30.00)\\r\\n{\\r\\nt5.setText(\\\"over weight...reduce ur food\\\");\\r\\n}\\r\\nelse\\r\\n{\\r\\nt5.setText(\\\"obese..say no to food\\\");\\r\\n}\\r\\n\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5c2011240bd205370eb3596530a90e4c\",\n \"score\": \"0.65708786\",\n \"text\": \"private void enterCurrentWeight() {\\n\\t\\tSeleniumUtil.waitForElementToBeVisible(inputTetxCurrentWeightOfManageWeightLevel1, driver);\\n\\t\\tSeleniumUtil.element(inputTetxCurrentWeightOfManageWeightLevel1, driver).sendKeys(\\\"150\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a10f84c1544f845547f08362126f1f1d\",\n \"score\": \"0.6556776\",\n \"text\": \"public void actionPerformed(java.awt.event.ActionEvent thing) {\\n\\n//variables for weight and height\\n double height = Double.parseDouble( inHeight.getText().trim() );\\n double weight = Double.parseDouble( inHeavy.getText().trim() );\\n double BMI = 703*(weight/(height*height)) ;// Formula to calculate the Body Mass Index//\\n//if else statements to determine the wellness of yourself//\\n if(BMI < 18.5){\\n showDist.setText(BMI+\\\" You are underweight. \\\");\\n }else if(BMI >= 18.5 && BMI <= 25){\\n showDist.setText(BMI+\\\" You BMI is normal. \\\");\\n }else if(BMI >25){\\n showDist.setText(BMI+\\\" You are overweight. \\\");\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f764d8610186ff7c420fa790d019c54e\",\n \"score\": \"0.6544739\",\n \"text\": \"private void refreshWeight()\\n\\t{\\n\\t\\tlong weight = 0;\\n\\n\\t\\tfor(final L2ItemInstance element : _items)\\n\\t\\t\\tweight += element.getItem().getWeight() * element.getCount();\\n\\n\\t\\tif(weight > Integer.MAX_VALUE)\\n\\t\\t\\t_totalWeight = Integer.MAX_VALUE;\\n\\t\\telse\\n\\t\\t\\t_totalWeight = (int) weight;\\n\\t\\t// notify char for overload checking\\n\\t\\tonRefreshWeight();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"db86bbc7ce0f56336eb50cb430cd016f\",\n \"score\": \"0.6496273\",\n \"text\": \"public void setWeight(Double w) {\\n\\t\\t\\tthis.weight = w;\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"62e495a36225afbe1318bc8968c9810f\",\n \"score\": \"0.64788306\",\n \"text\": \"double getWeight();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e6cecda7ea4b41a5eedfd166b9cf6b44\",\n \"score\": \"0.6475563\",\n \"text\": \"public void setWeight (java.lang.Integer weight) {\\n\\t\\tthis.weight = weight;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0491ff4bb0fa027aee2062c30b02f3f\",\n \"score\": \"0.64747095\",\n \"text\": \"public void setWeight(int newWeight) {\\n\\t \\tweight = newWeight;\\n\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"402cda7f21e2b16917baf96bac6a5947\",\n \"score\": \"0.6464311\",\n \"text\": \"int getWeight();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"803521b70bdd4d671d8d5f1a2da14db1\",\n \"score\": \"0.6457922\",\n \"text\": \"public void setWeight(double weigth) {\\n \\t\\tthis.weigth = weigth;\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da44e0ba95ea91f7d97714b9eac694b0\",\n \"score\": \"0.64409554\",\n \"text\": \"int getStartWeight();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9bd1082469aa50c343d70b637e2ba25e\",\n \"score\": \"0.6415117\",\n \"text\": \"public int increaseWeight() {\\n return weight++;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"467d14f0776881f10a00f6c5112662ff\",\n \"score\": \"0.64046246\",\n \"text\": \"public int getCurrentWeight() \\n {\\n return this.currentWeight;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b575cc31d5b596a3e25d1b4e7c7ffecc\",\n \"score\": \"0.6399927\",\n \"text\": \"public int getWeight(){\\n\\t\\treturn weight;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"79318478109387b7ce1adc773513e946\",\n \"score\": \"0.63971263\",\n \"text\": \"public int getWeight();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"79318478109387b7ce1adc773513e946\",\n \"score\": \"0.63971263\",\n \"text\": \"public int getWeight();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"79318478109387b7ce1adc773513e946\",\n \"score\": \"0.63971263\",\n \"text\": \"public int getWeight();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3d582e6794d2ca94f1d737e7107b0559\",\n \"score\": \"0.6387773\",\n \"text\": \"public double getWeight(){\\r\\n\\t\\treturn this.weight;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a21dbf9c7a57deb9eda4f5cc4faa6e0\",\n \"score\": \"0.6378698\",\n \"text\": \"public int getWeight() {\\n return weight;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b392bc805901bb834281184e830f47bd\",\n \"score\": \"0.6372841\",\n \"text\": \"public void setWeight(double weight) {\\n\\t\\tthis.weight.set(weight);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6dc245ef36b5459b52907faf6e06b56c\",\n \"score\": \"0.637128\",\n \"text\": \"public int getCurrentWeight() {\\n return weight;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"14cb7522bb0eb87af130fa5872973f08\",\n \"score\": \"0.63700324\",\n \"text\": \"public int weight() {\\n return weight;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6306e1fb39ef6b9a00a5359d3901c998\",\n \"score\": \"0.63674736\",\n \"text\": \"public final int getWeight () {\\n return this.weight;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ec70aa3474e39795ff8cbb6971f8ba3\",\n \"score\": \"0.6350305\",\n \"text\": \"int getWeight() {\\n return weight;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"051ccf384b0f81f1152fbe0e7a6b7801\",\n \"score\": \"0.633627\",\n \"text\": \"@Raw\\r\\n\\tprotected void setWeight(int weight){\\r\\n\\t\\tif (this.canHaveAsWeight(weight))\\r\\n\\t\\t\\tthis.weight = weight;\\r\\n\\t\\telse\\r\\n\\t\\t\\tthis.weight = 1;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fe6a1b72d7590498c0ec8a4515c13e99\",\n \"score\": \"0.63338906\",\n \"text\": \"public float GetWeight();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c82c05b5e0bf6a6482d185444b812371\",\n \"score\": \"0.6332499\",\n \"text\": \"public int getWeight() {\\r\\n return weight;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"58e449cb3284cf8c07ee2d41dc980c1a\",\n \"score\": \"0.6319582\",\n \"text\": \"public float getWeight() {\\r\\n return weight;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bdb8a6bb165320710d986711961eec71\",\n \"score\": \"0.63134295\",\n \"text\": \"public float getWeight()\\n {\\n return this.weight;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f65d6b4bc9b45e141db8447be7ded36e\",\n \"score\": \"0.63060004\",\n \"text\": \"public int getWeight()\\r\\n {\\r\\n return weight;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0ab32cc484f0dd946af458e25a16fc4d\",\n \"score\": \"0.6300045\",\n \"text\": \"abstract void setWeight(double weight);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"19718934431f4e27a953deac8d392ac0\",\n \"score\": \"0.62907386\",\n \"text\": \"@Override\\n public int getWeight() {\\n return 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"34c9d0604fb58b18d2808254e52e1479\",\n \"score\": \"0.62859076\",\n \"text\": \"@Override\\n public double getWeight() {\\n return _weight;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"19dd9298b3d7f3d795423abe63293225\",\n \"score\": \"0.6281683\",\n \"text\": \"public void actionPerformed (ActionEvent e)\\n\\t{\\n\\t\\tinches = Integer.parseInt (heightField.getText());\\n\\t\\tpounds = Integer.parseInt (weightField.getText());\\n\\t\\tmeters = inches / 39.36;\\n\\t\\tkilograms = pounds / 2.2;\\n\\t\\tindex = kilograms / Math.pow(meters,2);\\n\\t\\toutputLabel.setText (\\\"Your Body Mass Index is \\\" + Math.round(index) + \\\".\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eacd914486b2fdd7163b065e35c7e76e\",\n \"score\": \"0.62815094\",\n \"text\": \"public final void setWeight(double weight) {\\n\\t\\tif (weight>=80 && weight<=280){\\n\\t\\t\\tthis.weight = weight;\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae1435a8616f902ee3d64cdb444a039a\",\n \"score\": \"0.6281387\",\n \"text\": \"public final void setWeight(final double argWeight) {\\n\\t\\tthis.weight = argWeight;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"089289b80e8609853df402cd5871d87a\",\n \"score\": \"0.6277281\",\n \"text\": \"@Override\\r\\n public double weight() {\\r\\n return 30.0;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2c3eeeabde3d8e84d7e36a6681add746\",\n \"score\": \"0.6266718\",\n \"text\": \"public float getWeight() {\\n\\treturn weight;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"14b7807ad9560734ffe534903c7ef9e6\",\n \"score\": \"0.6262262\",\n \"text\": \"public int getWeight()\\n {\\n return weight;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b54366c037104873170021e8022fb173\",\n \"score\": \"0.6261056\",\n \"text\": \"public double getWeight(){\\n return this.weight;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f29a6cc1b3af663649c7dc9819c300b\",\n \"score\": \"0.6254283\",\n \"text\": \"public int getWeight() {\\n return weight;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f29a6cc1b3af663649c7dc9819c300b\",\n \"score\": \"0.6254283\",\n \"text\": \"public int getWeight() {\\n return weight;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f29a6cc1b3af663649c7dc9819c300b\",\n \"score\": \"0.6254283\",\n \"text\": \"public int getWeight() {\\n return weight;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3273c21dbb291268c3caecd58388afdd\",\n \"score\": \"0.62537616\",\n \"text\": \"public void enterWeightForDog(String Text) {\\n inputText(weightInKGTextBox, Text);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7d3946afb77ee4aa140e8bbd263dfe7d\",\n \"score\": \"0.6251004\",\n \"text\": \"public float getWeight()\\n {\\n return weight;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3f125fb71b1eab13558137cdb41e6383\",\n \"score\": \"0.6243368\",\n \"text\": \"public int getWeight() {\\n\\t\\treturn weight;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"811067a2c251882fd994ba201a47450a\",\n \"score\": \"0.6239604\",\n \"text\": \"public float getWeight() {\\n return weight;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2bb88aa9e13de8f691bbee36235b5bdf\",\n \"score\": \"0.62253046\",\n \"text\": \"public int weight();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0ef01a675ed22a619de235ff3e7b8bee\",\n \"score\": \"0.6205922\",\n \"text\": \"public double getWeight() {\\n return this.weight;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b492c56a43ee84ad6115d39fc23a5eda\",\n \"score\": \"0.620527\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void onClick(View v) {\\n\\t\\t\\t\\tIntent openStrtngPoint = new Intent(\\\"android.intent.action.WEIGHTPGE\\\");\\n\\t\\t\\t\\tstartActivity(openStrtngPoint);\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fb72d5e25061c3940b0e86d60fc488aa\",\n \"score\": \"0.6201212\",\n \"text\": \"@FXML\\n public void handleWeightingBtn(MouseEvent event) throws IOException {\\n pageSwitcher.switcher(event, \\\"WeightingTable.fxml\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5758f23dbf78810c3df822276f004309\",\n \"score\": \"0.6197592\",\n \"text\": \"public double getWeight(){\\n return weight;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8c59b7eb86b80c05dfbc94420dc4a43b\",\n \"score\": \"0.6196142\",\n \"text\": \"protected int getWeight() {\\n\\t\\treturn m_nWeight;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0a81dbeb2d02c4f9d5b1e926c13a1e59\",\n \"score\": \"0.6195434\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void onClick(View v) {\\n\\n\\t\\t\\t\\tif (Tweight.getText().toString().equalsIgnoreCase(\\\"\\\"))\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\tdisplaySubmit.setText(\\\"Δέν έχει γίνει εισαγωγή του βάρους\\\");\\n\\t\\t\\t\\t\\tdisplaySubmit.setTextColor(Color.RED);\\n\\t\\t\\t\\t} else if (Float.parseFloat(Tweight.getText().toString()) > (float) 350.00\\n\\t\\t\\t\\t\\t\\t\\t|| Float.parseFloat(Tweight.getText().toString()) < (float) 20) \\n\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\tdisplaySubmit.setText(\\\"Λανθεσμένη είσοδο βάρους:\\\\nΠρέπει να είναι στο διάστημα [20-350]\\\");\\n\\t\\t\\t\\t\\tdisplaySubmit.setTextColor(Color.RED);\\n\\t\\t\\t\\t\\t} else if (Theight.getText().toString().equalsIgnoreCase(\\\"\\\"))\\n\\t\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\tdisplaySubmit.setText(\\\"Δέν έχει γίνει εισαγωγή του ύψους\\\");\\n\\t\\t\\t\\t\\t\\tdisplaySubmit.setTextColor(Color.RED);\\n\\t\\t\\t\\t\\t\\t} else if (Float.parseFloat(Theight.getText().toString()) > (float) 250.00\\n\\t\\t\\t\\t\\t\\t\\t\\t|| Float.parseFloat(Theight.getText().toString()) < (float) 40)\\n\\t\\t\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\t\\tdisplaySubmit.setText(\\\"Λανθεσμένη είσοδο ύψους:\\\\nΠρέπει να είναι στο διάστημα [40-250]\\\");\\n\\t\\t\\t\\t\\t\\t\\tdisplaySubmit.setTextColor(Color.RED);\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"64c87854bdd403dfbb2a173fe27bcc3c\",\n \"score\": \"0.6192085\",\n \"text\": \"public void setWeight(java.lang.String value) {\\n this.weight = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aa894ed86b8dc2b432e0360afe0781f0\",\n \"score\": \"0.61858\",\n \"text\": \"public int getWeight() {\\n String weight = weightTextField.getText();\\n try {\\n int convertedWeight = Integer.parseInt(weight);\\n return convertedWeight;\\n }catch (NumberFormatException e){\\n JOptionPane.showMessageDialog(frame, \\\"weight required and must be an integer\\\");\\n return 0;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2b650d13976fab47534c9493ac151adf\",\n \"score\": \"0.61796\",\n \"text\": \"public double getWeight() {\\n return weight;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8da3a938343d699bf1fdb9b6f8cb4574\",\n \"score\": \"0.6178478\",\n \"text\": \"public double getWeight()\\n\\t{\\n\\t\\treturn weight;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ca73e03ce0a46439a28875c3e4348eed\",\n \"score\": \"0.61734056\",\n \"text\": \"public int getWeight() {\\n return mWeight;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9f1e4e5d99263c5ca794d15f8e8d2c59\",\n \"score\": \"0.6171627\",\n \"text\": \"public void setWeight(int weight) {\\n if (weight > 0 && weight <= 3500)\\n this.weight = weight;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"557d838bd866c8c05a5d509360c767b3\",\n \"score\": \"0.61687607\",\n \"text\": \"public double getWeight() {\\n\\t\\treturn weight;\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6a807ad179551ae1c45009c61db3a34e\",\n \"score\": \"0.61584204\",\n \"text\": \"private void weightSliderStateChanged(final ChangeEvent e) {\\n\\t\\tShapeTalk.drawingBoard.setStrokeIndex(weightSlider.getValue());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f812bb1435bec7d32acea6c81ad7719\",\n \"score\": \"0.6157309\",\n \"text\": \"@Test\\n\\tpublic void qualityShouldChangeWhenWeightsChangedManually() throws Exception {\\n\\t\\tfinal Parent root = launchScene();\\n\\t\\tfinal TableView tableView = (TableView) root.lookup(\\\"#tableView\\\");\\n\\t\\ttableView.getItems().get(0).setWeight(5.0);\\n\\t\\ttableView.getItems().get(1).setWeight(5.0);\\n\\t\\ttableView.getItems().get(2).setWeight(5.0);\\n\\t\\t((Button) root.lookup(\\\"#evaluate\\\")).fire();\\n\\t\\tfinal Double falsePositives = Double.valueOf(((Label) root.lookup(\\\"#falsePositivesQuantity\\\")).getText());\\n\\t\\tfinal Double falseNegatives = Double.valueOf(((Label) root.lookup(\\\"#falseNegativesQuantity\\\")).getText());\\n\\t\\tassertEquals(new Double(209), falsePositives);\\n\\t\\tassertEquals(new Double(73), falseNegatives);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13c1584c56df2374386647dab23aee37\",\n \"score\": \"0.6157275\",\n \"text\": \"public void setWeight(java.lang.Double value) {\\n this.weight = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d89d3cca45134230e78095357d3d0ab9\",\n \"score\": \"0.61511344\",\n \"text\": \"public abstract int getWeight();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d89d3cca45134230e78095357d3d0ab9\",\n \"score\": \"0.61511344\",\n \"text\": \"public abstract int getWeight();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"857b50303eee5d982953d41696d82177\",\n \"score\": \"0.61405957\",\n \"text\": \"java.lang.String getWeight();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f59a06348eb958c469d0e8cebd106d92\",\n \"score\": \"0.61355454\",\n \"text\": \"public Weight (float currentWeight) {\\n\\t\\tthis.currentWeight = currentWeight;\\n\\t\\tweightDates = new ArrayList(); \\n\\t\\tweightHistory = new ArrayList();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cae39b44dd2bc5e4f5f74b261a05e17d\",\n \"score\": \"0.61264294\",\n \"text\": \"@Override\\n public void onClick(View v) {\\n if (etWeightChild.getText() != null\\n && etWeightChild.getText().toString().length() > 0\\n && !etWeightChild.getText().toString()\\n .equalsIgnoreCase(\\\".\\\")) {\\n float value = Float.valueOf(etWeightChild.getText()\\n .toString());\\n\\n etWeightChild.setText(String.valueOf(value + .1));\\n } else {\\n float value = Float.valueOf(0);\\n\\n etWeightChild.setText(String.valueOf(value + .1));\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ec1a488be97dad11bed560f4c7037b42\",\n \"score\": \"0.6116463\",\n \"text\": \"public double weight() {\\n return weight;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"05c058c43e98f43301ce892065b5cbba\",\n \"score\": \"0.61039084\",\n \"text\": \"public double getWeight()\\n {\\n return weight;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ecbb4d51f89d5626344633dd70176548\",\n \"score\": \"0.6102664\",\n \"text\": \"public double getWeight() {\\n\\t\\treturn weight;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8c1ac82f8fa104b65c43c3c601dde590\",\n \"score\": \"0.6095041\",\n \"text\": \"public void onIncreaseButtonClicked() {\\r\\n\\t\\tif (wordChanger == null) {\\r\\n\\t\\t\\tinitializeWordChanger();\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\tint currentWpm = rsvpStatus.getCurrentWpm();\\r\\n\\r\\n\\t\\tif (currentWpm < 700) {\\r\\n\\t\\t\\tcurrentWpm += 50;\\r\\n\\t\\t\\trsvpStatus.setCurrentWpm(currentWpm);\\r\\n\\t\\t\\twordChanger.setWordsPerMinute(currentWpm);\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\tview.updateCurrentWpmLabel(currentWpm);\\r\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":377,"cells":{"query_id":{"kind":"string","value":"518bf5364cda3c6202a1a392996f93d1"},"query":{"kind":"string","value":"Inflate the menu; this adds items to the action bar if it is present."},"positive_passages":{"kind":"list like","value":[{"docid":"87c57ca2d85e76c4cfbf686c8dfe9894","score":"0.0","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.base, menu);\n\t\treturn true;\n\t}","title":""}],"string":"[\n {\n \"docid\": \"87c57ca2d85e76c4cfbf686c8dfe9894\",\n \"score\": \"0.0\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.base, menu);\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"9813d71a4b724b9d132f23a2cb80322c","score":"0.7079675","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main_activity_actions, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}","title":""},{"docid":"1d4d5f0b7f637b68b1f2843e12b93b97","score":"0.7057401","text":"@Override\n\t public boolean onCreateOptionsMenu(Menu menu) {\n\t MenuInflater inflater = getMenuInflater();\n\t inflater.inflate(R.menu.main_activity_actions, menu);\n\t return super.onCreateOptionsMenu(menu);\n\t }","title":""},{"docid":"797cada69ce026eb3610079543cb23e3","score":"0.7053981","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.menu_activity_actions, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}","title":""},{"docid":"23fa59e556453058d2bdddd706d81ef5","score":"0.704071","text":"@Override\n\tpublic boolean onCreateOptionsMenu(android.view.Menu menu) {\n\t\tsuper.onCreateOptionsMenu(menu);\n\t\tMenuInflater blowup=getMenuInflater();\n\t\tblowup.inflate(R.menu.coolmenu, menu);\n\t\treturn true;\n\t}","title":""},{"docid":"0d248ac9bca93578555acff1c726ea49","score":"0.6983639","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.layout.amenufavorites_actions, menu);\n\n\t\treturn true;\n\t}","title":""},{"docid":"d48074d93cc9fa97e207ded3a9318cf2","score":"0.6975645","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"6ca5cc09a9db267fe09cd935c6bca3d8","score":"0.69754714","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater=getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}","title":""},{"docid":"d9f8dccdf948d8ba404dd4ab8dcf4fab","score":"0.6955973","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater=getMenuInflater();\n inflater.inflate(R.menu.bar, menu);\n return true;\n }","title":""},{"docid":"5361fca61308505b956341f77c0e301b","score":"0.69221705","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.mainpage_activity, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}","title":""},{"docid":"47d16fa25d516c847da78250e2c606c7","score":"0.6917838","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"6b45c019e2a093d89a9093647aa93d8a","score":"0.6906586","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu)\n {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.action_bar_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"4cb9e69581fbbd1517d65055054baed5","score":"0.69034296","text":"@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\n\t\t\treturn super.onCreateOptionsMenu(menu);\n\t\t}","title":""},{"docid":"e29f41f2c322b6571c12aa1d7475776a","score":"0.6892396","text":"@Override\n public boolean onCreateOptionsMenu(android.view.Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"2c2541506272d9dcb18cec913484ddca","score":"0.6882136","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n //getMenuInflater().inflate(R.menu.menu_main, menu);\n //return true;\n }","title":""},{"docid":"b2b4f13c30c3e71ef3d89549d09b2bbd","score":"0.6874423","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.bar_item, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"7c7f52bc85432234ee2050f101ef1659","score":"0.6862368","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}","title":""},{"docid":"de6168daad2ac8d29d980fc7c3388d94","score":"0.684758","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflate = getMenuInflater();\n inflate.inflate(R.menu.menu, ApplicationData.amvMenu.getMenu());\n return true;\n }","title":""},{"docid":"de6168daad2ac8d29d980fc7c3388d94","score":"0.684758","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflate = getMenuInflater();\n inflate.inflate(R.menu.menu, ApplicationData.amvMenu.getMenu());\n return true;\n }","title":""},{"docid":"973855182fd9a5bfd2c3910b41580942","score":"0.68431026","text":"@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\r\n super.onCreateOptionsMenu(menu);\r\n //folosesc inflaters petnru ca am o metoda deja createa (menu)\r\n //inflater ataseaza o parte de java la o parte de xml\r\n getMenuInflater().inflate(R.menu.app_main_menu, menu);\r\n\r\n return true;\r\n }","title":""},{"docid":"233f0a1dc01f140c2d3d274dee07bb9b","score":"0.6832009","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu)\n {\n \tsuper.onCreateOptionsMenu(menu);;\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.menu, menu);\n \treturn true;\n }","title":""},{"docid":"3bfe35566bc616404911e8e4a19e37c3","score":"0.68301374","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.action_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"2cc05d60945bafa855b419918f481973","score":"0.6826883","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"130df34064e46b4cd517841f00e04b9d","score":"0.68254185","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.actionbar, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"54dfc1e44acfd64fcd4d9635e999627b","score":"0.68052787","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t MenuInflater inflater = getMenuInflater();\n\t inflater.inflate(R.menu.custom_action_bar, menu);\n\t return super.onCreateOptionsMenu(menu);\n\t}","title":""},{"docid":"56d8d832ac3023a5f747878fe5a4a444","score":"0.680371","text":"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t\t menu.add(\"Menu 1a\").setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);\n menu.add(\"Menu 1b\").setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);\n\t}","title":""},{"docid":"5c755a1a2e17389087b52eea3c41d2cb","score":"0.67968994","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.action_bar, menu);\n\t\treturn true;\n\t}","title":""},{"docid":"714da39856e75d5bed48a23456e559fb","score":"0.6795561","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.action_bar_menu, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }","title":""},{"docid":"9d2511f2257f4eaa226d53a72d3a3d28","score":"0.67911977","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n //inflater.inflate(R.menu.home_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"580c217d5e84d7e768636b69fc9609ca","score":"0.67757416","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.main_menu, menu);\n }","title":""},{"docid":"580c217d5e84d7e768636b69fc9609ca","score":"0.67757416","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.main_menu, menu);\n }","title":""},{"docid":"b5a712665ab7d060125a9afad44d9554","score":"0.67729294","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu)\n\t{\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.menu_main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}","title":""},{"docid":"2145818ed7d71aa4f1f976519d0381a5","score":"0.67673975","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\n\t\tMenuInflater inflate=getMenuInflater();\n\t\tinflate.inflate(R.menu.menu, menu);\n\t\t\n\t\t\n\t\n\t\treturn true;\n\t}","title":""},{"docid":"e39652f6f97708e89bb273747717e085","score":"0.67633307","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater=getMenuInflater();\n\t\tinflater.inflate(R.menu.main_menu, menu);\n\t\treturn true;\n\t}","title":""},{"docid":"d48e27560cc805dd42c21fcdbf95b6d9","score":"0.67631435","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater=getMenuInflater();\n inflater.inflate(R.menu.menu_swipe_activity, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"e70abe917fe4d0a552929d81b25da559","score":"0.6756741","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.menu, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }","title":""},{"docid":"9e8d490af5f579bb2cf9a26e01a64612","score":"0.67540455","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.fruit_info_screen, menu);\n\t\treturn true;\n\t}","title":""},{"docid":"0c16ef8f6e725595a816b7d384ebb81c","score":"0.6747087","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.fav_menu, menu);\n\n }","title":""},{"docid":"aba9d941e02abb6f260e83b3aa1543f2","score":"0.6746766","text":"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\r\n\t\tinflater.inflate(R.menu.menu, menu);\r\n\t\treturn true;\r\n\t}","title":""},{"docid":"f17d5c94a5450eef6a504fa05d35ef60","score":"0.67448103","text":"public void createMenuBar() {\n\t\tfinal IMenuManager menuManager = getViewSite().getActionBars().getMenuManager();\n\t\tmenuManager.add(new AddFolderAction(this));\n\t\tmenuManager.add(new AddCategoryAction(this));\n\t\tmenuManager.add(new Separator());\n\t\tmenuManager.add(new RenameElementAction(this));\n\t\tmenuManager.add(new Separator());\n\t\tmenuManager.add(new CopyTreeComponentAction(this,clipboard));\n\t\tmenuManager.add(new CutTreeComponentAction(this,clipboard));\n\t\tmenuManager.add(new PasteTreeComponentAction(this,clipboard));\n\t\tmenuManager.add(new RemoveElementAction(this));\n\t\tmenuManager.add(new Separator());\n\t\tmenuManager.add(new UpdateViewAction(this));\n\t\tmenuManager.add(new CollapseAllAction(this));\n\t}","title":""},{"docid":"d6a3951f27e73f5f9b7bc97ccbd7f647","score":"0.67441195","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main, menu);//Menu Resource, Menu\n return true;\n }","title":""},{"docid":"d6a3951f27e73f5f9b7bc97ccbd7f647","score":"0.67441195","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main, menu);//Menu Resource, Menu\n return true;\n }","title":""},{"docid":"7677b80d26a474626fe92ea78f0230b7","score":"0.6742634","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater=getMenuInflater();\n inflater.inflate(R.menu.fresh_menu, menu);\n return true;\n }","title":""},{"docid":"18db5c4fb6cdaffbbce743c847478e55","score":"0.67320824","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n\t}","title":""},{"docid":"5fa9c9b92e22f3003ee92b43a421f38e","score":"0.67315704","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t inflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}","title":""},{"docid":"7beece16a3151963d6658b28e9b28066","score":"0.6722708","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"7beece16a3151963d6658b28e9b28066","score":"0.6722708","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"27fd72537e22e444e0e735fb22cebd45","score":"0.6721104","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.ui, menu);\n\t\treturn true;\n\t}","title":""},{"docid":"70cf5cfa728c4168bad2a370e23963d2","score":"0.671683","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(toolbar_res, menu);\n return true;\n }","title":""},{"docid":"d1350753f720bf800767ed5f411d29b5","score":"0.6716226","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu)\n\t{\n\t\tgetMenuInflater().inflate(R.menu.main_activity_actions, menu);\n\t\treturn true;\n\t}","title":""},{"docid":"fbfe5f7fb9486d8fc056ff922706085e","score":"0.67046547","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}","title":""},{"docid":"c95cdb5843c5dd6f863bce9f47539159","score":"0.67028844","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.actualite_menu, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }","title":""},{"docid":"90b147d6905fe9d27d67d16cf18bcd76","score":"0.67007804","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.menu_main, menu);\n }","title":""},{"docid":"fbe7a9725684068a6d180e2ee9f9dab5","score":"0.66996926","text":"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\r\n\t\t// generates a Menu from a menu resource file\r\n\t\t// R.menu.main_menu represents the ID of the XML resource file\r\n\t\tinflater.inflate(R.menu.menu, menu);\r\n\t\treturn true;\r\n\t}","title":""},{"docid":"7f0b2226645babc37a0eb99ebab02231","score":"0.66968","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.appbar, menu);\n return true;\n }","title":""},{"docid":"73348ae1c8922e66029358dab9fe4521","score":"0.66956097","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.menu_item, menu);\n\t\treturn true;\n\t}","title":""},{"docid":"f0e79b08257047bf78d6f24887ae1e09","score":"0.6687424","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n\n\n }","title":""},{"docid":"58b51e90d6d0a69b04c4cd210f2e31b4","score":"0.6686849","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_main, menu);//Menu Resource, Menu\n return true;\n }","title":""},{"docid":"58b51e90d6d0a69b04c4cd210f2e31b4","score":"0.6686849","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_main, menu);//Menu Resource, Menu\n return true;\n }","title":""},{"docid":"06641df4f9ea4023d2982804e61981e8","score":"0.6684465","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater menuInflater = getMenuInflater();\n menuInflater.inflate(R.menu.menu, menu);\n\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"76e905c2f87712b24ccf01a0ef716f48","score":"0.6684322","text":"@Override\r\n public boolean onCreateOptionsMenu (Menu menu) {\n getMenuInflater().inflate(R.menu.menu_main, menu);//Menu Resource, Menu\r\n return true;\r\n }","title":""},{"docid":"26adc1e57fcbad7bb2a5b6a7d57e2864","score":"0.6683896","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) { Inflate the menu; this adds items to the action bar if it is present.\n //\n \t/*\n \t * Commenting this out for now, we will need to redo the design a bit if we want this as a menu.\n \t * I will look into a more efficient way of inflating this. Go ahead and just ignore it for now.\n \t */\n \t//getMenuInflater().inflate(R.menu.menu_add_account, menu);\n \t//\n return true;\n }","title":""},{"docid":"8e732469588d275fa857dc91f372941f","score":"0.66810954","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.actionbar_main, menu);\n\t\treturn true;\n\t}","title":""},{"docid":"dbfd8935cbffea8648348d87a8abf82f","score":"0.66810197","text":"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.activity_category, menu);\r\n\t\treturn true;\r\n\t}","title":""},{"docid":"d918dec9691f9389b1e1791fd22adcd7","score":"0.66768193","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.action_bar_menu, menu);\n return true;\n }","title":""},{"docid":"e1e1ba6e055593cb2a3e7bf612d2aad0","score":"0.6672487","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n /* Use the inflater's inflate method to inflate our menu layout to this menu */\n inflater.inflate(R.menu.main, menu);\n /* Return true so that the menu is displayed in the Toolbar */\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"6cc5da99a32692d41c31cc394b4bd681","score":"0.6668993","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.actionbar, menu);\n return true;\n }","title":""},{"docid":"2ee04141f25c0b7dd4efe16fbb659b60","score":"0.6667957","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.home_menu, menu);//Menu Resource, Menu\n return true;\n }","title":""},{"docid":"32f2b30ca557c3111fa2321cd444c8af","score":"0.66654456","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.menu_main, menu);\n\n }","title":""},{"docid":"9e90ee9aba69fb886ba0bf4523a44895","score":"0.6660878","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n }","title":""},{"docid":"48413b5f18107af04ec85f86b8721d4f","score":"0.66592425","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\n super.onCreateOptionsMenu(menu, inflater);\n\n }","title":""},{"docid":"40921ff7517ee4a054ac2f20be84a0c0","score":"0.6658687","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n Global.mainActivity.getMenuInflater().inflate(R.menu.main, menu);\n return true;\n }","title":""},{"docid":"834f6c62845d947459df685b80dd2f2d","score":"0.6656569","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n }","title":""},{"docid":"834f6c62845d947459df685b80dd2f2d","score":"0.6656569","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n }","title":""},{"docid":"834f6c62845d947459df685b80dd2f2d","score":"0.6656569","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n }","title":""},{"docid":"0d4e3aebc4bc5b0c75ee39f00b08e241","score":"0.66552025","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tif (loggedIn) {\n\t\t\tinflater.inflate(R.menu.lookup_and_add, menu);\n\t\t}\n\t\telse {\n\t\t\tinflater.inflate(R.menu.lookup_and_add_logged_out, menu);\n\t\t}\n\t\treturn true;\n\t}","title":""},{"docid":"d3e1bf0e096ddb62754e800cc4637ec6","score":"0.66519684","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.activity, menu);\n\t\treturn true;\n\t}","title":""},{"docid":"e6c72ec1b9f32acf0bc40939d970b5e4","score":"0.66518205","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(edu.dtcc.emailman.cis282listview2.R.menu.menu_main, menu);\n return true;\n }","title":""},{"docid":"4e83c010b9ba4867da4305f1c4f84972","score":"0.6649783","text":"@Override\n \t public boolean onCreateOptionsMenu(Menu menu)\n \t {\n \t MenuInflater menuInflater = getMenuInflater();\n \t menuInflater.inflate(R.menu.menu, menu);\n \t return true;\n \t }","title":""},{"docid":"da6b64de551c39fb51c3a659ceaa75de","score":"0.6645256","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.item_info, menu);\n\t\treturn true;\n\t}","title":""},{"docid":"a02cea8b5ad3fe19952c84bf67d82321","score":"0.66435415","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.menu_activity_add, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }","title":""},{"docid":"1a453c762ad4f106f8bafd6d4bdcea54","score":"0.6643267","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.news_mapper, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"54819dae6818a8473fc7ab2591c860f7","score":"0.66423064","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.init, menu);\n\t\treturn true;\n\t}","title":""},{"docid":"6d04a556b823264a818c7c9872de2e24","score":"0.6638675","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"78b2c983f4a6c6fb0bff3fe0acaa6022","score":"0.66377574","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n //MenuInflater inflater = getMenuInflater();\n //inflater.inflate(R.menu, menu);\n return true;\n }","title":""},{"docid":"4a1dcc16de80916124a40ec94a438a14","score":"0.663648","text":"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.add_wishlist, menu);\r\n\t\treturn true;\r\n\t}","title":""},{"docid":"d8ce15c753b2f57bb1cc72425602ea9f","score":"0.6635695","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_appbar, menu);\n return true;\n }","title":""},{"docid":"896f040bae68c8182568c18af9f1b080","score":"0.663475","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"896f040bae68c8182568c18af9f1b080","score":"0.663475","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"896f040bae68c8182568c18af9f1b080","score":"0.663475","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"e13e923456c6b1976e6aaf1a14465816","score":"0.6634654","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_main, menu);\n //setupActionBar();\n return true;\n }","title":""},{"docid":"969171cc029ab290016039a5f224aa9a","score":"0.6633029","text":"@Override\r\n\tpublic boolean onCreateOptionsMenu(android.view.Menu menu) {\n\t\t\t\tsuper.onCreateOptionsMenu(menu);\r\n\t\t\t\tLog.i(\"state\", \"menu button was pushed\");\t\t\t\t\t\t\t\t//============logging=============\r\n\t\t\t\tMenuInflater blowUp = getMenuInflater();\r\n\t\t\t\tblowUp.inflate(R.menu.cool_menu, menu);\r\n\t\t\t\treturn true;\r\n\r\n\t\t\r\n\t\r\n\t}","title":""},{"docid":"b09ea401caa9218ecee525659a3c546f","score":"0.66324735","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.movielistfragment, menu);\n }","title":""},{"docid":"45442c87d381deee3a66e950c314c3b6","score":"0.6632311","text":"@Override\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.main, menu);\n \t\treturn true;\n \t}","title":""},{"docid":"af338d435cb5615924a1f8fbc74396a3","score":"0.6631079","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.menu_base, menu);\n\t\tthis.menu = menu;\n//\t\tmenu.findItem(R.id.action_create).setActionProvider(new MyActionProvider(this));\n\t\t\n\t\t\n\t\treturn true;\n\t}","title":""},{"docid":"257f720bbceb69df12a7cafe14f0f300","score":"0.6630926","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.m1, menu);//Menu Resource, Menu\n return true;\n }","title":""},{"docid":"86437b2cf081aea9adcb7a4b44938b29","score":"0.66299045","text":"@Override\r\n\t public boolean onCreateOptionsMenu(Menu menu) {\n\t \tMenuInflater menuInflater = getMenuInflater();\r\n\t \tmenuInflater.inflate(R.menu.activity_main, menu);\r\n\t \treturn true;\r\n\t }","title":""},{"docid":"ccde3a4c4e24ff63bc4fd7be953efc4a","score":"0.6629136","text":"@Override\n\tpublic void onCreateOptionsMenu(Menu menu,MenuInflater inflater) {\n\t\tgetActivity().getMenuInflater().inflate(R.menu.main, menu);\n\t\t\n\t}","title":""},{"docid":"6161f5f4b5cee49bea196c1e40e8d77f","score":"0.66271466","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu)\n\t{\n\t\tgetMenuInflater().inflate(R.menu.main_menu, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}","title":""},{"docid":"277058fcbb6c657f51a16add64c659d8","score":"0.6626683","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn true;\n\t}","title":""},{"docid":"277058fcbb6c657f51a16add64c659d8","score":"0.6626683","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn true;\n\t}","title":""},{"docid":"c99b09ab9f8053599448ec9542394560","score":"0.6623158","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n \n menu.clear();\n \n if( User.getInstance().checkedIn() )\n {\n menu.add(0,0,ACTION_CHECK_OUT,getString(R.string.check_out))\n .setIcon( R.drawable.door)\n .setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS);\n\n menu.add(0,0,ACTION_REFRESH,getString(R.string.refresh))\n .setIcon( R.drawable.ic_action_refresh)\n .setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS);\n }\n }","title":""}],"string":"[\n {\n \"docid\": \"9813d71a4b724b9d132f23a2cb80322c\",\n \"score\": \"0.7079675\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tMenuInflater inflater = getMenuInflater();\\n\\t\\tinflater.inflate(R.menu.main_activity_actions, menu);\\n\\t\\treturn super.onCreateOptionsMenu(menu);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1d4d5f0b7f637b68b1f2843e12b93b97\",\n \"score\": \"0.7057401\",\n \"text\": \"@Override\\n\\t public boolean onCreateOptionsMenu(Menu menu) {\\n\\t MenuInflater inflater = getMenuInflater();\\n\\t inflater.inflate(R.menu.main_activity_actions, menu);\\n\\t return super.onCreateOptionsMenu(menu);\\n\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"797cada69ce026eb3610079543cb23e3\",\n \"score\": \"0.7053981\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tMenuInflater inflater = getMenuInflater();\\n\\t\\tinflater.inflate(R.menu.menu_activity_actions, menu);\\n\\t\\treturn super.onCreateOptionsMenu(menu);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"23fa59e556453058d2bdddd706d81ef5\",\n \"score\": \"0.704071\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(android.view.Menu menu) {\\n\\t\\tsuper.onCreateOptionsMenu(menu);\\n\\t\\tMenuInflater blowup=getMenuInflater();\\n\\t\\tblowup.inflate(R.menu.coolmenu, menu);\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d248ac9bca93578555acff1c726ea49\",\n \"score\": \"0.6983639\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tMenuInflater inflater = getMenuInflater();\\n\\t\\tinflater.inflate(R.layout.amenufavorites_actions, menu);\\n\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d48074d93cc9fa97e207ded3a9318cf2\",\n \"score\": \"0.6975645\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.main_activity_actions, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ca5cc09a9db267fe09cd935c6bca3d8\",\n \"score\": \"0.69754714\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tMenuInflater inflater=getMenuInflater();\\n\\t\\tinflater.inflate(R.menu.main, menu);\\n\\t\\treturn super.onCreateOptionsMenu(menu);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d9f8dccdf948d8ba404dd4ab8dcf4fab\",\n \"score\": \"0.6955973\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater=getMenuInflater();\\n inflater.inflate(R.menu.bar, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5361fca61308505b956341f77c0e301b\",\n \"score\": \"0.69221705\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tMenuInflater inflater = getMenuInflater();\\n\\t\\tinflater.inflate(R.menu.mainpage_activity, menu);\\n\\t\\treturn super.onCreateOptionsMenu(menu);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47d16fa25d516c847da78250e2c606c7\",\n \"score\": \"0.6917838\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.main_activity_actions, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6b45c019e2a093d89a9093647aa93d8a\",\n \"score\": \"0.6906586\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu)\\n {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.action_bar_actions, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4cb9e69581fbbd1517d65055054baed5\",\n \"score\": \"0.69034296\",\n \"text\": \"@Override\\n\\t\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\n\\t\\t\\tgetMenuInflater().inflate(R.menu.main, menu);\\n\\n\\t\\t\\treturn super.onCreateOptionsMenu(menu);\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e29f41f2c322b6571c12aa1d7475776a\",\n \"score\": \"0.6892396\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(android.view.Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.menu, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2c2541506272d9dcb18cec913484ddca\",\n \"score\": \"0.6882136\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.main_activity_actions, menu);\\n return super.onCreateOptionsMenu(menu);\\n //getMenuInflater().inflate(R.menu.menu_main, menu);\\n //return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b2b4f13c30c3e71ef3d89549d09b2bbd\",\n \"score\": \"0.6874423\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.bar_item, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7c7f52bc85432234ee2050f101ef1659\",\n \"score\": \"0.6862368\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tMenuInflater inflater = getMenuInflater();\\n\\t\\tinflater.inflate(R.menu.main, menu);\\n\\t\\treturn super.onCreateOptionsMenu(menu);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"de6168daad2ac8d29d980fc7c3388d94\",\n \"score\": \"0.684758\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflate = getMenuInflater();\\n inflate.inflate(R.menu.menu, ApplicationData.amvMenu.getMenu());\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"de6168daad2ac8d29d980fc7c3388d94\",\n \"score\": \"0.684758\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflate = getMenuInflater();\\n inflate.inflate(R.menu.menu, ApplicationData.amvMenu.getMenu());\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"973855182fd9a5bfd2c3910b41580942\",\n \"score\": \"0.68431026\",\n \"text\": \"@Override\\r\\n public boolean onCreateOptionsMenu(Menu menu) {\\r\\n super.onCreateOptionsMenu(menu);\\r\\n //folosesc inflaters petnru ca am o metoda deja createa (menu)\\r\\n //inflater ataseaza o parte de java la o parte de xml\\r\\n getMenuInflater().inflate(R.menu.app_main_menu, menu);\\r\\n\\r\\n return true;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"233f0a1dc01f140c2d3d274dee07bb9b\",\n \"score\": \"0.6832009\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu)\\n {\\n \\tsuper.onCreateOptionsMenu(menu);;\\n \\tMenuInflater inflater = getMenuInflater();\\n \\tinflater.inflate(R.menu.menu, menu);\\n \\treturn true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3bfe35566bc616404911e8e4a19e37c3\",\n \"score\": \"0.68301374\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.action_menu, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2cc05d60945bafa855b419918f481973\",\n \"score\": \"0.6826883\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.main_activity_actions, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"130df34064e46b4cd517841f00e04b9d\",\n \"score\": \"0.68254185\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.actionbar, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54dfc1e44acfd64fcd4d9635e999627b\",\n \"score\": \"0.68052787\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t MenuInflater inflater = getMenuInflater();\\n\\t inflater.inflate(R.menu.custom_action_bar, menu);\\n\\t return super.onCreateOptionsMenu(menu);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"56d8d832ac3023a5f747878fe5a4a444\",\n \"score\": \"0.680371\",\n \"text\": \"@Override\\n\\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n\\t\\tsuper.onCreateOptionsMenu(menu, inflater);\\n\\t\\t menu.add(\\\"Menu 1a\\\").setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);\\n menu.add(\\\"Menu 1b\\\").setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5c755a1a2e17389087b52eea3c41d2cb\",\n \"score\": \"0.67968994\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.action_bar, menu);\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"714da39856e75d5bed48a23456e559fb\",\n \"score\": \"0.6795561\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n inflater.inflate(R.menu.action_bar_menu, menu);\\n super.onCreateOptionsMenu(menu, inflater);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d2511f2257f4eaa226d53a72d3a3d28\",\n \"score\": \"0.67911977\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n //inflater.inflate(R.menu.home_menu, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"580c217d5e84d7e768636b69fc9609ca\",\n \"score\": \"0.67757416\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n super.onCreateOptionsMenu(menu, inflater);\\n inflater.inflate(R.menu.main_menu, menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"580c217d5e84d7e768636b69fc9609ca\",\n \"score\": \"0.67757416\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n super.onCreateOptionsMenu(menu, inflater);\\n inflater.inflate(R.menu.main_menu, menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b5a712665ab7d060125a9afad44d9554\",\n \"score\": \"0.67729294\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu)\\n\\t{\\n\\t\\tMenuInflater inflater = getMenuInflater();\\n\\t\\tinflater.inflate(R.menu.menu_main, menu);\\n\\t\\treturn super.onCreateOptionsMenu(menu);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2145818ed7d71aa4f1f976519d0381a5\",\n \"score\": \"0.67673975\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\t\\n\\t\\tMenuInflater inflate=getMenuInflater();\\n\\t\\tinflate.inflate(R.menu.menu, menu);\\n\\t\\t\\n\\t\\t\\n\\t\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e39652f6f97708e89bb273747717e085\",\n \"score\": \"0.67633307\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tMenuInflater inflater=getMenuInflater();\\n\\t\\tinflater.inflate(R.menu.main_menu, menu);\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d48e27560cc805dd42c21fcdbf95b6d9\",\n \"score\": \"0.67631435\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater=getMenuInflater();\\n inflater.inflate(R.menu.menu_swipe_activity, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e70abe917fe4d0a552929d81b25da559\",\n \"score\": \"0.6756741\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n inflater.inflate(R.menu.menu, menu);\\n super.onCreateOptionsMenu(menu, inflater);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9e8d490af5f579bb2cf9a26e01a64612\",\n \"score\": \"0.67540455\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.fruit_info_screen, menu);\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0c16ef8f6e725595a816b7d384ebb81c\",\n \"score\": \"0.6747087\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n super.onCreateOptionsMenu(menu, inflater);\\n inflater.inflate(R.menu.fav_menu, menu);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aba9d941e02abb6f260e83b3aa1543f2\",\n \"score\": \"0.6746766\",\n \"text\": \"@Override\\r\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tMenuInflater inflater = getMenuInflater();\\r\\n\\t\\tinflater.inflate(R.menu.menu, menu);\\r\\n\\t\\treturn true;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f17d5c94a5450eef6a504fa05d35ef60\",\n \"score\": \"0.67448103\",\n \"text\": \"public void createMenuBar() {\\n\\t\\tfinal IMenuManager menuManager = getViewSite().getActionBars().getMenuManager();\\n\\t\\tmenuManager.add(new AddFolderAction(this));\\n\\t\\tmenuManager.add(new AddCategoryAction(this));\\n\\t\\tmenuManager.add(new Separator());\\n\\t\\tmenuManager.add(new RenameElementAction(this));\\n\\t\\tmenuManager.add(new Separator());\\n\\t\\tmenuManager.add(new CopyTreeComponentAction(this,clipboard));\\n\\t\\tmenuManager.add(new CutTreeComponentAction(this,clipboard));\\n\\t\\tmenuManager.add(new PasteTreeComponentAction(this,clipboard));\\n\\t\\tmenuManager.add(new RemoveElementAction(this));\\n\\t\\tmenuManager.add(new Separator());\\n\\t\\tmenuManager.add(new UpdateViewAction(this));\\n\\t\\tmenuManager.add(new CollapseAllAction(this));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d6a3951f27e73f5f9b7bc97ccbd7f647\",\n \"score\": \"0.67441195\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.main, menu);//Menu Resource, Menu\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d6a3951f27e73f5f9b7bc97ccbd7f647\",\n \"score\": \"0.67441195\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.main, menu);//Menu Resource, Menu\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7677b80d26a474626fe92ea78f0230b7\",\n \"score\": \"0.6742634\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater=getMenuInflater();\\n inflater.inflate(R.menu.fresh_menu, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"18db5c4fb6cdaffbbce743c847478e55\",\n \"score\": \"0.67320824\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.main, menu);\\n return super.onCreateOptionsMenu(menu);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5fa9c9b92e22f3003ee92b43a421f38e\",\n \"score\": \"0.67315704\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tMenuInflater inflater = getMenuInflater();\\n\\t inflater.inflate(R.menu.main, menu);\\n\\t\\treturn super.onCreateOptionsMenu(menu);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7beece16a3151963d6658b28e9b28066\",\n \"score\": \"0.6722708\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.menu, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7beece16a3151963d6658b28e9b28066\",\n \"score\": \"0.6722708\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.menu, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"27fd72537e22e444e0e735fb22cebd45\",\n \"score\": \"0.6721104\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.ui, menu);\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"70cf5cfa728c4168bad2a370e23963d2\",\n \"score\": \"0.671683\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(toolbar_res, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1350753f720bf800767ed5f411d29b5\",\n \"score\": \"0.6716226\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu)\\n\\t{\\n\\t\\tgetMenuInflater().inflate(R.menu.main_activity_actions, menu);\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fbfe5f7fb9486d8fc056ff922706085e\",\n \"score\": \"0.67046547\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.main, menu);\\n\\t\\treturn super.onCreateOptionsMenu(menu);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c95cdb5843c5dd6f863bce9f47539159\",\n \"score\": \"0.67028844\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n inflater.inflate(R.menu.actualite_menu, menu);\\n super.onCreateOptionsMenu(menu, inflater);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"90b147d6905fe9d27d67d16cf18bcd76\",\n \"score\": \"0.67007804\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n inflater.inflate(R.menu.menu_main, menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fbe7a9725684068a6d180e2ee9f9dab5\",\n \"score\": \"0.66996926\",\n \"text\": \"@Override\\r\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tMenuInflater inflater = getMenuInflater();\\r\\n\\t\\t// generates a Menu from a menu resource file\\r\\n\\t\\t// R.menu.main_menu represents the ID of the XML resource file\\r\\n\\t\\tinflater.inflate(R.menu.menu, menu);\\r\\n\\t\\treturn true;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7f0b2226645babc37a0eb99ebab02231\",\n \"score\": \"0.66968\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.appbar, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"73348ae1c8922e66029358dab9fe4521\",\n \"score\": \"0.66956097\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.menu_item, menu);\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f0e79b08257047bf78d6f24887ae1e09\",\n \"score\": \"0.6687424\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.main, menu);\\n return super.onCreateOptionsMenu(menu);\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"58b51e90d6d0a69b04c4cd210f2e31b4\",\n \"score\": \"0.6686849\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.menu_main, menu);//Menu Resource, Menu\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"58b51e90d6d0a69b04c4cd210f2e31b4\",\n \"score\": \"0.6686849\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.menu_main, menu);//Menu Resource, Menu\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"06641df4f9ea4023d2982804e61981e8\",\n \"score\": \"0.6684465\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater menuInflater = getMenuInflater();\\n menuInflater.inflate(R.menu.menu, menu);\\n\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"76e905c2f87712b24ccf01a0ef716f48\",\n \"score\": \"0.6684322\",\n \"text\": \"@Override\\r\\n public boolean onCreateOptionsMenu (Menu menu) {\\n getMenuInflater().inflate(R.menu.menu_main, menu);//Menu Resource, Menu\\r\\n return true;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"26adc1e57fcbad7bb2a5b6a7d57e2864\",\n \"score\": \"0.6683896\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) { Inflate the menu; this adds items to the action bar if it is present.\\n //\\n \\t/*\\n \\t * Commenting this out for now, we will need to redo the design a bit if we want this as a menu.\\n \\t * I will look into a more efficient way of inflating this. Go ahead and just ignore it for now.\\n \\t */\\n \\t//getMenuInflater().inflate(R.menu.menu_add_account, menu);\\n \\t//\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8e732469588d275fa857dc91f372941f\",\n \"score\": \"0.66810954\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.actionbar_main, menu);\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dbfd8935cbffea8648348d87a8abf82f\",\n \"score\": \"0.66810197\",\n \"text\": \"@Override\\r\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.activity_category, menu);\\r\\n\\t\\treturn true;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d918dec9691f9389b1e1791fd22adcd7\",\n \"score\": \"0.66768193\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.action_bar_menu, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e1e1ba6e055593cb2a3e7bf612d2aad0\",\n \"score\": \"0.6672487\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n /* Use the inflater's inflate method to inflate our menu layout to this menu */\\n inflater.inflate(R.menu.main, menu);\\n /* Return true so that the menu is displayed in the Toolbar */\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6cc5da99a32692d41c31cc394b4bd681\",\n \"score\": \"0.6668993\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.actionbar, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ee04141f25c0b7dd4efe16fbb659b60\",\n \"score\": \"0.6667957\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.home_menu, menu);//Menu Resource, Menu\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"32f2b30ca557c3111fa2321cd444c8af\",\n \"score\": \"0.66654456\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n inflater.inflate(R.menu.menu_main, menu);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9e90ee9aba69fb886ba0bf4523a44895\",\n \"score\": \"0.6660878\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"48413b5f18107af04ec85f86b8721d4f\",\n \"score\": \"0.66592425\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n\\n super.onCreateOptionsMenu(menu, inflater);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"40921ff7517ee4a054ac2f20be84a0c0\",\n \"score\": \"0.6658687\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n Global.mainActivity.getMenuInflater().inflate(R.menu.main, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"834f6c62845d947459df685b80dd2f2d\",\n \"score\": \"0.6656569\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n super.onCreateOptionsMenu(menu, inflater);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"834f6c62845d947459df685b80dd2f2d\",\n \"score\": \"0.6656569\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n super.onCreateOptionsMenu(menu, inflater);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"834f6c62845d947459df685b80dd2f2d\",\n \"score\": \"0.6656569\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n super.onCreateOptionsMenu(menu, inflater);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d4e3aebc4bc5b0c75ee39f00b08e241\",\n \"score\": \"0.66552025\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tMenuInflater inflater = getMenuInflater();\\n\\t\\tif (loggedIn) {\\n\\t\\t\\tinflater.inflate(R.menu.lookup_and_add, menu);\\n\\t\\t}\\n\\t\\telse {\\n\\t\\t\\tinflater.inflate(R.menu.lookup_and_add_logged_out, menu);\\n\\t\\t}\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d3e1bf0e096ddb62754e800cc4637ec6\",\n \"score\": \"0.66519684\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.activity, menu);\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e6c72ec1b9f32acf0bc40939d970b5e4\",\n \"score\": \"0.66518205\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(edu.dtcc.emailman.cis282listview2.R.menu.menu_main, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4e83c010b9ba4867da4305f1c4f84972\",\n \"score\": \"0.6649783\",\n \"text\": \"@Override\\n \\t public boolean onCreateOptionsMenu(Menu menu)\\n \\t {\\n \\t MenuInflater menuInflater = getMenuInflater();\\n \\t menuInflater.inflate(R.menu.menu, menu);\\n \\t return true;\\n \\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da6b64de551c39fb51c3a659ceaa75de\",\n \"score\": \"0.6645256\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.item_info, menu);\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a02cea8b5ad3fe19952c84bf67d82321\",\n \"score\": \"0.66435415\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n inflater.inflate(R.menu.menu_activity_add, menu);\\n super.onCreateOptionsMenu(menu, inflater);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1a453c762ad4f106f8bafd6d4bdcea54\",\n \"score\": \"0.6643267\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.news_mapper, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54819dae6818a8473fc7ab2591c860f7\",\n \"score\": \"0.66423064\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.init, menu);\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6d04a556b823264a818c7c9872de2e24\",\n \"score\": \"0.6638675\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.menu_menu, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78b2c983f4a6c6fb0bff3fe0acaa6022\",\n \"score\": \"0.66377574\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n //MenuInflater inflater = getMenuInflater();\\n //inflater.inflate(R.menu, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a1dcc16de80916124a40ec94a438a14\",\n \"score\": \"0.663648\",\n \"text\": \"@Override\\r\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.add_wishlist, menu);\\r\\n\\t\\treturn true;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d8ce15c753b2f57bb1cc72425602ea9f\",\n \"score\": \"0.6635695\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.menu_appbar, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"896f040bae68c8182568c18af9f1b080\",\n \"score\": \"0.663475\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.menu, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"896f040bae68c8182568c18af9f1b080\",\n \"score\": \"0.663475\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.menu, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"896f040bae68c8182568c18af9f1b080\",\n \"score\": \"0.663475\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.menu, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e13e923456c6b1976e6aaf1a14465816\",\n \"score\": \"0.6634654\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.menu_main, menu);\\n //setupActionBar();\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"969171cc029ab290016039a5f224aa9a\",\n \"score\": \"0.6633029\",\n \"text\": \"@Override\\r\\n\\tpublic boolean onCreateOptionsMenu(android.view.Menu menu) {\\n\\t\\t\\t\\tsuper.onCreateOptionsMenu(menu);\\r\\n\\t\\t\\t\\tLog.i(\\\"state\\\", \\\"menu button was pushed\\\");\\t\\t\\t\\t\\t\\t\\t\\t//============logging=============\\r\\n\\t\\t\\t\\tMenuInflater blowUp = getMenuInflater();\\r\\n\\t\\t\\t\\tblowUp.inflate(R.menu.cool_menu, menu);\\r\\n\\t\\t\\t\\treturn true;\\r\\n\\r\\n\\t\\t\\r\\n\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b09ea401caa9218ecee525659a3c546f\",\n \"score\": \"0.66324735\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n inflater.inflate(R.menu.movielistfragment, menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45442c87d381deee3a66e950c314c3b6\",\n \"score\": \"0.6632311\",\n \"text\": \"@Override\\n \\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n \\t\\tgetMenuInflater().inflate(R.menu.main, menu);\\n \\t\\treturn true;\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af338d435cb5615924a1f8fbc74396a3\",\n \"score\": \"0.6631079\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.menu_base, menu);\\n\\t\\tthis.menu = menu;\\n//\\t\\tmenu.findItem(R.id.action_create).setActionProvider(new MyActionProvider(this));\\n\\t\\t\\n\\t\\t\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"257f720bbceb69df12a7cafe14f0f300\",\n \"score\": \"0.6630926\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.m1, menu);//Menu Resource, Menu\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"86437b2cf081aea9adcb7a4b44938b29\",\n \"score\": \"0.66299045\",\n \"text\": \"@Override\\r\\n\\t public boolean onCreateOptionsMenu(Menu menu) {\\n\\t \\tMenuInflater menuInflater = getMenuInflater();\\r\\n\\t \\tmenuInflater.inflate(R.menu.activity_main, menu);\\r\\n\\t \\treturn true;\\r\\n\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ccde3a4c4e24ff63bc4fd7be953efc4a\",\n \"score\": \"0.6629136\",\n \"text\": \"@Override\\n\\tpublic void onCreateOptionsMenu(Menu menu,MenuInflater inflater) {\\n\\t\\tgetActivity().getMenuInflater().inflate(R.menu.main, menu);\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6161f5f4b5cee49bea196c1e40e8d77f\",\n \"score\": \"0.66271466\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu)\\n\\t{\\n\\t\\tgetMenuInflater().inflate(R.menu.main_menu, menu);\\n\\t\\treturn super.onCreateOptionsMenu(menu);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"277058fcbb6c657f51a16add64c659d8\",\n \"score\": \"0.6626683\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tMenuInflater inflater = getMenuInflater();\\n\\t\\tinflater.inflate(R.menu.main, menu);\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"277058fcbb6c657f51a16add64c659d8\",\n \"score\": \"0.6626683\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tMenuInflater inflater = getMenuInflater();\\n\\t\\tinflater.inflate(R.menu.main, menu);\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c99b09ab9f8053599448ec9542394560\",\n \"score\": \"0.6623158\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n super.onCreateOptionsMenu(menu, inflater);\\n \\n menu.clear();\\n \\n if( User.getInstance().checkedIn() )\\n {\\n menu.add(0,0,ACTION_CHECK_OUT,getString(R.string.check_out))\\n .setIcon( R.drawable.door)\\n .setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS);\\n\\n menu.add(0,0,ACTION_REFRESH,getString(R.string.refresh))\\n .setIcon( R.drawable.ic_action_refresh)\\n .setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS);\\n }\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":378,"cells":{"query_id":{"kind":"string","value":"add2fb9ca20b69d811c265ae973835c3"},"query":{"kind":"string","value":"Gets the value of the 'strategyId' field."},"positive_passages":{"kind":"list like","value":[{"docid":"31efb208e07e6a79557124aae0c55d86","score":"0.8245345","text":"public java.lang.Integer getStrategyId() {\n return strategyId;\n }","title":""}],"string":"[\n {\n \"docid\": \"31efb208e07e6a79557124aae0c55d86\",\n \"score\": \"0.8245345\",\n \"text\": \"public java.lang.Integer getStrategyId() {\\n return strategyId;\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"a18b87dee95fb12141dadb5caed1dab2","score":"0.82853687","text":"public java.lang.Integer getStrategyId() {\n return strategyId;\n }","title":""},{"docid":"0f0149c7b80f4b62a90f3af641c272a1","score":"0.6958228","text":"public int getStrategy(){\n\t\treturn this.strategy;\n\t}","title":""},{"docid":"3f696576fb3ebf270c2c4f28d627a6fe","score":"0.62021905","text":"public com.kafang.atgo.memory.avro.record.Order setStrategyId(java.lang.Integer value) {\n this.strategyId = value;\n\treturn this;\n }","title":""},{"docid":"c223bf66b6ee6e597e176b8f4c75d277","score":"0.60554904","text":"public Strategy getStrategy() {\n\t\treturn this.strategy;\n\t}","title":""},{"docid":"c5e6d0ed09b802850c32e6b30943229c","score":"0.5995946","text":"public boolean hasStrategyId() {\n return fieldSetFlags()[4];\n }","title":""},{"docid":"4d3a1e36cc6af7aaf8e324b903f93316","score":"0.5992627","text":"public String getStrategyName() {\n\t\treturn strategyName;\n\t}","title":""},{"docid":"22465cde04dd172a85e4d84b4c4b5a64","score":"0.5907101","text":"public Integer getId() {\r\n return id.get();\r\n }","title":""},{"docid":"959971c5208fb8bf74a40a68394ad5b5","score":"0.5905549","text":"public int getId() {\n return id.get();\n }","title":""},{"docid":"76665386870ee6004532b0127abb09fa","score":"0.58801967","text":"public long getPreferenceId() {\n return preferenceId;\n }","title":""},{"docid":"518840edc05bf8e7f9af92382ef7ca80","score":"0.5849309","text":"public com.kafang.atgo.memory.avro.record.Order.Builder setStrategyId(int value) {\n validate(fields()[4], value);\n this.strategyId = value;\n fieldSetFlags()[4] = true;\n return this;\n }","title":""},{"docid":"46d46cb6a51352a721a0dcd9bbff1a1d","score":"0.58276","text":"public String getId() {\n\t\treturn this. get(\"id\");\n\t}","title":""},{"docid":"81971f4f66a8538487aabb375f2cae3c","score":"0.5782196","text":"public Integer getsId() {\n return sId;\n }","title":""},{"docid":"c6aeb3a8c2e3eb45c64d65ef35a06168","score":"0.5761537","text":"java.lang.String getDealerId();","title":""},{"docid":"c6aeb3a8c2e3eb45c64d65ef35a06168","score":"0.5761537","text":"java.lang.String getDealerId();","title":""},{"docid":"c6aeb3a8c2e3eb45c64d65ef35a06168","score":"0.5761537","text":"java.lang.String getDealerId();","title":""},{"docid":"b0c57794ea87e6277e4e44c65bef7602","score":"0.57428664","text":"public IStrategy getStrategy(){\r\n\t\treturn this.strategy;\r\n\t}","title":""},{"docid":"c13d0436659265914b25d7a07aa3e4b8","score":"0.57207084","text":"@Nullable\n public final Integer getId() {\n return this.id;\n }","title":""},{"docid":"c13d0436659265914b25d7a07aa3e4b8","score":"0.57207084","text":"@Nullable\n public final Integer getId() {\n return this.id;\n }","title":""},{"docid":"ed12149b5167a0228ebef56fc0c14e9c","score":"0.570774","text":"public int getId() {\n\t\treturn (this.id_);\n\t}","title":""},{"docid":"72e17a04b14a2138c4ead5ca343672aa","score":"0.56954557","text":"public String getBidStrategyName() {\n return BidStrategyName;\n }","title":""},{"docid":"cc34e36bade2c19eb199ec9a11a416ba","score":"0.56778395","text":"public String getsId() {\n return sId;\n }","title":""},{"docid":"b05e9db1ce4170ea52046b6149f8b416","score":"0.566781","text":"int getIdValue() {\n\t\treturn this.idValue;\n\t}","title":""},{"docid":"89e943303769625b907ce8a397eac2ff","score":"0.56354505","text":"public int getAlgorithmId() {\n return algorithmId;\n }","title":""},{"docid":"5239b827100fc764ddc9b8c44f0a2dd5","score":"0.5616171","text":"public long getGameId() {\n return gameId_;\n }","title":""},{"docid":"5239b827100fc764ddc9b8c44f0a2dd5","score":"0.5613946","text":"public long getGameId() {\n return gameId_;\n }","title":""},{"docid":"4e03b757107005647aee86b50419d0a2","score":"0.56092423","text":"public String getBetId() {\n\t\treturn betId;\n\t}","title":""},{"docid":"174fcb256db0441009165d61cc3e96ff","score":"0.5608255","text":"@Transient\n @Override\n public Integer getId()\n {\n return this.agentId;\n }","title":""},{"docid":"7c322f8549cb9e1265b06120e4c09935","score":"0.55989736","text":"java.lang.String getDriverId();","title":""},{"docid":"7c322f8549cb9e1265b06120e4c09935","score":"0.55989736","text":"java.lang.String getDriverId();","title":""},{"docid":"a07613c0ff9feafa9968ace9918b5b53","score":"0.55875707","text":"public String getPolicyId() {\n return policyId;\n }","title":""},{"docid":"2c598bcd16c63fed1d37a64f3d492e4e","score":"0.5575618","text":"public long getGameId() {\n return gameId_;\n }","title":""},{"docid":"2c598bcd16c63fed1d37a64f3d492e4e","score":"0.5575618","text":"public long getGameId() {\n return gameId_;\n }","title":""},{"docid":"54f77bbd2e6f258061d22144f90ba939","score":"0.5569365","text":"public final String getId()\n\t{\n\t\treturn _myId;\n\t}","title":""},{"docid":"812500053cc71fcf3b584d8e852c54fb","score":"0.5559027","text":"public Integer getAdId() {\n return adId;\n }","title":""},{"docid":"812500053cc71fcf3b584d8e852c54fb","score":"0.5559027","text":"public Integer getAdId() {\n return adId;\n }","title":""},{"docid":"a8d18109fa14fde83fb927a6f20c8678","score":"0.5558139","text":"public String getStrategyName() {\n\t\treturn playerStrategy.getStrategyName();\n\t}","title":""},{"docid":"0d4f70c13db86270aeaab6626304793e","score":"0.55407774","text":"public java.lang.String getDealerId() {\n java.lang.Object ref = dealerId_;\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 dealerId_ = s;\n }\n return s;\n }\n }","title":""},{"docid":"0d4f70c13db86270aeaab6626304793e","score":"0.55407774","text":"public java.lang.String getDealerId() {\n java.lang.Object ref = dealerId_;\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 dealerId_ = s;\n }\n return s;\n }\n }","title":""},{"docid":"0d4f70c13db86270aeaab6626304793e","score":"0.55407774","text":"public java.lang.String getDealerId() {\n java.lang.Object ref = dealerId_;\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 dealerId_ = s;\n }\n return s;\n }\n }","title":""},{"docid":"127571426952ca4beac3468bd5175505","score":"0.55364156","text":"public Integer getId() { return this.id.get(); }","title":""},{"docid":"5c78b78c92faa61c17e3cb4855622000","score":"0.5527553","text":"public int getConfigId() {\n\t\treturn configId;\n\t}","title":""},{"docid":"d7894ab6ccdf9a631b900541ade4b86b","score":"0.55211264","text":"public String getId() {\n this.initialize();\n return id;\n }","title":""},{"docid":"a04500e9fe5fea442cb101e13ca1a9c6","score":"0.5513401","text":"public long getId() {\n return id_;\n }","title":""},{"docid":"a04500e9fe5fea442cb101e13ca1a9c6","score":"0.5513401","text":"public long getId() {\n return id_;\n }","title":""},{"docid":"a04500e9fe5fea442cb101e13ca1a9c6","score":"0.5513401","text":"public long getId() {\n return id_;\n }","title":""},{"docid":"a04500e9fe5fea442cb101e13ca1a9c6","score":"0.5513401","text":"public long getId() {\n return id_;\n }","title":""},{"docid":"a04500e9fe5fea442cb101e13ca1a9c6","score":"0.5513401","text":"public long getId() {\n return id_;\n }","title":""},{"docid":"5c0a7c59a938ab9a3b99a0acfcbcfa68","score":"0.5510951","text":"public String getId() {\r\n return Integer.toString(id);\r\n }","title":""},{"docid":"585eadd0c3762ebb08ab605d259451c9","score":"0.5510189","text":"public Long getAdId() {\n\t\treturn adId;\n\t}","title":""},{"docid":"46f579fe816551750561a906f6c450c9","score":"0.55068326","text":"public String getId() {\n return id.toString();\n }","title":""},{"docid":"dc99dfb13bfa5a149c0521c3b19107a0","score":"0.5506166","text":"public final String getId()\r\n\t{\r\n\t\treturn id;\r\n\t}","title":""},{"docid":"851e4fc341e21116467c6f9706466ed8","score":"0.55054843","text":"public String getConfigId() {\n return configId;\n }","title":""},{"docid":"851e4fc341e21116467c6f9706466ed8","score":"0.55054843","text":"public String getConfigId() {\n return configId;\n }","title":""},{"docid":"b9a089424a4677e6fa4e5a8819315119","score":"0.5503608","text":"public int getId() {\n return id_;\n }","title":""},{"docid":"b9a089424a4677e6fa4e5a8819315119","score":"0.5503608","text":"public int getId() {\n return id_;\n }","title":""},{"docid":"b9a089424a4677e6fa4e5a8819315119","score":"0.5503608","text":"public int getId() {\n return id_;\n }","title":""},{"docid":"b9a089424a4677e6fa4e5a8819315119","score":"0.5503608","text":"public int getId() {\n return id_;\n }","title":""},{"docid":"b9a089424a4677e6fa4e5a8819315119","score":"0.5503608","text":"public int getId() {\n return id_;\n }","title":""},{"docid":"b9a089424a4677e6fa4e5a8819315119","score":"0.5503608","text":"public int getId() {\n return id_;\n }","title":""},{"docid":"b9a089424a4677e6fa4e5a8819315119","score":"0.5503608","text":"public int getId() {\n return id_;\n }","title":""},{"docid":"b9a089424a4677e6fa4e5a8819315119","score":"0.5503608","text":"public int getId() {\n return id_;\n }","title":""},{"docid":"b9a089424a4677e6fa4e5a8819315119","score":"0.5503608","text":"public int getId() {\n return id_;\n }","title":""},{"docid":"b9a089424a4677e6fa4e5a8819315119","score":"0.5503608","text":"public int getId() {\n return id_;\n }","title":""},{"docid":"b9a089424a4677e6fa4e5a8819315119","score":"0.5503608","text":"public int getId() {\n return id_;\n }","title":""},{"docid":"b9a089424a4677e6fa4e5a8819315119","score":"0.5503608","text":"public int getId() {\n return id_;\n }","title":""},{"docid":"b9a089424a4677e6fa4e5a8819315119","score":"0.5503608","text":"public int getId() {\n return id_;\n }","title":""},{"docid":"b9a089424a4677e6fa4e5a8819315119","score":"0.5503608","text":"public int getId() {\n return id_;\n }","title":""},{"docid":"b9a089424a4677e6fa4e5a8819315119","score":"0.5503608","text":"public int getId() {\n return id_;\n }","title":""},{"docid":"b9a089424a4677e6fa4e5a8819315119","score":"0.5503608","text":"public int getId() {\n return id_;\n }","title":""},{"docid":"b9a089424a4677e6fa4e5a8819315119","score":"0.5503608","text":"public int getId() {\n return id_;\n }","title":""},{"docid":"b9a089424a4677e6fa4e5a8819315119","score":"0.5503608","text":"public int getId() {\n return id_;\n }","title":""},{"docid":"b9a089424a4677e6fa4e5a8819315119","score":"0.5503608","text":"public int getId() {\n return id_;\n }","title":""},{"docid":"b9a089424a4677e6fa4e5a8819315119","score":"0.55035335","text":"public int getId() {\n return id_;\n }","title":""},{"docid":"eac747c2133f7a397064d73f83245d34","score":"0.55027395","text":"@Override\r\n\tpublic String getId() {\n\t\treturn adUserId;\r\n\t}","title":""},{"docid":"e9ce1e31e82da59581c819a985d010fa","score":"0.54978985","text":"public int getValue() {\r\n return this.identifier;\r\n }","title":""},{"docid":"9e1e0733e10532733929bd8482a20de9","score":"0.54966044","text":"public int getClientId() {\n\t\treturn id.intValue();\n\t}","title":""},{"docid":"9224255c73f38aaa89691a03569c4aa9","score":"0.54957175","text":"public long getId() {\n\t\treturn _id;\n\t}","title":""},{"docid":"f0a09b7db74be985309f2dc5254e314a","score":"0.5494886","text":"public String getId() {\r\n\t\treturn mId;\r\n\t}","title":""},{"docid":"1dfcf1bd98a8661a782d387e0a2893fc","score":"0.5494748","text":"public long getId() {\n return id_;\n }","title":""},{"docid":"1dfcf1bd98a8661a782d387e0a2893fc","score":"0.5494748","text":"public long getId() {\n return id_;\n }","title":""},{"docid":"1dfcf1bd98a8661a782d387e0a2893fc","score":"0.5494748","text":"public long getId() {\n return id_;\n }","title":""},{"docid":"1dfcf1bd98a8661a782d387e0a2893fc","score":"0.5494748","text":"public long getId() {\n return id_;\n }","title":""},{"docid":"1dfcf1bd98a8661a782d387e0a2893fc","score":"0.5494748","text":"public long getId() {\n return id_;\n }","title":""},{"docid":"1dfcf1bd98a8661a782d387e0a2893fc","score":"0.5494748","text":"public long getId() {\n return id_;\n }","title":""},{"docid":"3063e625bbab274731dabde55a4d9722","score":"0.54871905","text":"public Integer getId() {\n\t\treturn this.id;\n\t}","title":""},{"docid":"3063e625bbab274731dabde55a4d9722","score":"0.54871905","text":"public Integer getId() {\n\t\treturn this.id;\n\t}","title":""},{"docid":"3063e625bbab274731dabde55a4d9722","score":"0.54871905","text":"public Integer getId() {\n\t\treturn this.id;\n\t}","title":""},{"docid":"3063e625bbab274731dabde55a4d9722","score":"0.54871905","text":"public Integer getId() {\n\t\treturn this.id;\n\t}","title":""},{"docid":"f4c5664d96090e63acb52b54e6eb880f","score":"0.548673","text":"public Integer getServiceId() {\n return serviceId;\n }","title":""},{"docid":"afff3394baa6a556edf5b109e080f64d","score":"0.5484377","text":"public final Long getId() {\n return id;\n }","title":""},{"docid":"d71fea174ed0faa1b9d090609e9113a0","score":"0.5482833","text":"public long getId() {\n\t\treturn this.id;\n\t}","title":""},{"docid":"702b2957d36714ec3b8abb22331f46ac","score":"0.54819405","text":"public final Long getId() {\r\n return id;\r\n }","title":""},{"docid":"0d7ca7a9757fae18677cdbdaf4a2994c","score":"0.54814243","text":"public Integer getId() {\n return (Integer) get(0);\n }","title":""},{"docid":"d8c1c01433b26eef10853516612537c8","score":"0.5477777","text":"public final String getId() {\t\r\n\t\treturn id;\r\n\t}","title":""},{"docid":"65975fdf93b76a0aae0c5e5582323012","score":"0.54733086","text":"public PlayerStrategy getStrategyType() {\r\n return strategyType;\r\n }","title":""},{"docid":"2996d1737cb4c0e507513c30ce5b7274","score":"0.5470489","text":"public int getId() {\n return id_;\n }","title":""},{"docid":"2996d1737cb4c0e507513c30ce5b7274","score":"0.5470489","text":"public int getId() {\n return id_;\n }","title":""},{"docid":"2996d1737cb4c0e507513c30ce5b7274","score":"0.5470489","text":"public int getId() {\n return id_;\n }","title":""},{"docid":"2996d1737cb4c0e507513c30ce5b7274","score":"0.5470489","text":"public int getId() {\n return id_;\n }","title":""},{"docid":"2996d1737cb4c0e507513c30ce5b7274","score":"0.5470489","text":"public int getId() {\n return id_;\n }","title":""}],"string":"[\n {\n \"docid\": \"a18b87dee95fb12141dadb5caed1dab2\",\n \"score\": \"0.82853687\",\n \"text\": \"public java.lang.Integer getStrategyId() {\\n return strategyId;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0f0149c7b80f4b62a90f3af641c272a1\",\n \"score\": \"0.6958228\",\n \"text\": \"public int getStrategy(){\\n\\t\\treturn this.strategy;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3f696576fb3ebf270c2c4f28d627a6fe\",\n \"score\": \"0.62021905\",\n \"text\": \"public com.kafang.atgo.memory.avro.record.Order setStrategyId(java.lang.Integer value) {\\n this.strategyId = value;\\n\\treturn this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c223bf66b6ee6e597e176b8f4c75d277\",\n \"score\": \"0.60554904\",\n \"text\": \"public Strategy getStrategy() {\\n\\t\\treturn this.strategy;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c5e6d0ed09b802850c32e6b30943229c\",\n \"score\": \"0.5995946\",\n \"text\": \"public boolean hasStrategyId() {\\n return fieldSetFlags()[4];\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4d3a1e36cc6af7aaf8e324b903f93316\",\n \"score\": \"0.5992627\",\n \"text\": \"public String getStrategyName() {\\n\\t\\treturn strategyName;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"22465cde04dd172a85e4d84b4c4b5a64\",\n \"score\": \"0.5907101\",\n \"text\": \"public Integer getId() {\\r\\n return id.get();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"959971c5208fb8bf74a40a68394ad5b5\",\n \"score\": \"0.5905549\",\n \"text\": \"public int getId() {\\n return id.get();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"76665386870ee6004532b0127abb09fa\",\n \"score\": \"0.58801967\",\n \"text\": \"public long getPreferenceId() {\\n return preferenceId;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"518840edc05bf8e7f9af92382ef7ca80\",\n \"score\": \"0.5849309\",\n \"text\": \"public com.kafang.atgo.memory.avro.record.Order.Builder setStrategyId(int value) {\\n validate(fields()[4], value);\\n this.strategyId = value;\\n fieldSetFlags()[4] = true;\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"46d46cb6a51352a721a0dcd9bbff1a1d\",\n \"score\": \"0.58276\",\n \"text\": \"public String getId() {\\n\\t\\treturn this. get(\\\"id\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"81971f4f66a8538487aabb375f2cae3c\",\n \"score\": \"0.5782196\",\n \"text\": \"public Integer getsId() {\\n return sId;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c6aeb3a8c2e3eb45c64d65ef35a06168\",\n \"score\": \"0.5761537\",\n \"text\": \"java.lang.String getDealerId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c6aeb3a8c2e3eb45c64d65ef35a06168\",\n \"score\": \"0.5761537\",\n \"text\": \"java.lang.String getDealerId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c6aeb3a8c2e3eb45c64d65ef35a06168\",\n \"score\": \"0.5761537\",\n \"text\": \"java.lang.String getDealerId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b0c57794ea87e6277e4e44c65bef7602\",\n \"score\": \"0.57428664\",\n \"text\": \"public IStrategy getStrategy(){\\r\\n\\t\\treturn this.strategy;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c13d0436659265914b25d7a07aa3e4b8\",\n \"score\": \"0.57207084\",\n \"text\": \"@Nullable\\n public final Integer getId() {\\n return this.id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c13d0436659265914b25d7a07aa3e4b8\",\n \"score\": \"0.57207084\",\n \"text\": \"@Nullable\\n public final Integer getId() {\\n return this.id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed12149b5167a0228ebef56fc0c14e9c\",\n \"score\": \"0.570774\",\n \"text\": \"public int getId() {\\n\\t\\treturn (this.id_);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"72e17a04b14a2138c4ead5ca343672aa\",\n \"score\": \"0.56954557\",\n \"text\": \"public String getBidStrategyName() {\\n return BidStrategyName;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cc34e36bade2c19eb199ec9a11a416ba\",\n \"score\": \"0.56778395\",\n \"text\": \"public String getsId() {\\n return sId;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b05e9db1ce4170ea52046b6149f8b416\",\n \"score\": \"0.566781\",\n \"text\": \"int getIdValue() {\\n\\t\\treturn this.idValue;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"89e943303769625b907ce8a397eac2ff\",\n \"score\": \"0.56354505\",\n \"text\": \"public int getAlgorithmId() {\\n return algorithmId;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5239b827100fc764ddc9b8c44f0a2dd5\",\n \"score\": \"0.5616171\",\n \"text\": \"public long getGameId() {\\n return gameId_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5239b827100fc764ddc9b8c44f0a2dd5\",\n \"score\": \"0.5613946\",\n \"text\": \"public long getGameId() {\\n return gameId_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4e03b757107005647aee86b50419d0a2\",\n \"score\": \"0.56092423\",\n \"text\": \"public String getBetId() {\\n\\t\\treturn betId;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"174fcb256db0441009165d61cc3e96ff\",\n \"score\": \"0.5608255\",\n \"text\": \"@Transient\\n @Override\\n public Integer getId()\\n {\\n return this.agentId;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7c322f8549cb9e1265b06120e4c09935\",\n \"score\": \"0.55989736\",\n \"text\": \"java.lang.String getDriverId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7c322f8549cb9e1265b06120e4c09935\",\n \"score\": \"0.55989736\",\n \"text\": \"java.lang.String getDriverId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a07613c0ff9feafa9968ace9918b5b53\",\n \"score\": \"0.55875707\",\n \"text\": \"public String getPolicyId() {\\n return policyId;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2c598bcd16c63fed1d37a64f3d492e4e\",\n \"score\": \"0.5575618\",\n \"text\": \"public long getGameId() {\\n return gameId_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2c598bcd16c63fed1d37a64f3d492e4e\",\n \"score\": \"0.5575618\",\n \"text\": \"public long getGameId() {\\n return gameId_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54f77bbd2e6f258061d22144f90ba939\",\n \"score\": \"0.5569365\",\n \"text\": \"public final String getId()\\n\\t{\\n\\t\\treturn _myId;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"812500053cc71fcf3b584d8e852c54fb\",\n \"score\": \"0.5559027\",\n \"text\": \"public Integer getAdId() {\\n return adId;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"812500053cc71fcf3b584d8e852c54fb\",\n \"score\": \"0.5559027\",\n \"text\": \"public Integer getAdId() {\\n return adId;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a8d18109fa14fde83fb927a6f20c8678\",\n \"score\": \"0.5558139\",\n \"text\": \"public String getStrategyName() {\\n\\t\\treturn playerStrategy.getStrategyName();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d4f70c13db86270aeaab6626304793e\",\n \"score\": \"0.55407774\",\n \"text\": \"public java.lang.String getDealerId() {\\n java.lang.Object ref = dealerId_;\\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 dealerId_ = s;\\n }\\n return s;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d4f70c13db86270aeaab6626304793e\",\n \"score\": \"0.55407774\",\n \"text\": \"public java.lang.String getDealerId() {\\n java.lang.Object ref = dealerId_;\\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 dealerId_ = s;\\n }\\n return s;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d4f70c13db86270aeaab6626304793e\",\n \"score\": \"0.55407774\",\n \"text\": \"public java.lang.String getDealerId() {\\n java.lang.Object ref = dealerId_;\\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 dealerId_ = s;\\n }\\n return s;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"127571426952ca4beac3468bd5175505\",\n \"score\": \"0.55364156\",\n \"text\": \"public Integer getId() { return this.id.get(); }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5c78b78c92faa61c17e3cb4855622000\",\n \"score\": \"0.5527553\",\n \"text\": \"public int getConfigId() {\\n\\t\\treturn configId;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d7894ab6ccdf9a631b900541ade4b86b\",\n \"score\": \"0.55211264\",\n \"text\": \"public String getId() {\\n this.initialize();\\n return id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a04500e9fe5fea442cb101e13ca1a9c6\",\n \"score\": \"0.5513401\",\n \"text\": \"public long getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a04500e9fe5fea442cb101e13ca1a9c6\",\n \"score\": \"0.5513401\",\n \"text\": \"public long getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a04500e9fe5fea442cb101e13ca1a9c6\",\n \"score\": \"0.5513401\",\n \"text\": \"public long getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a04500e9fe5fea442cb101e13ca1a9c6\",\n \"score\": \"0.5513401\",\n \"text\": \"public long getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a04500e9fe5fea442cb101e13ca1a9c6\",\n \"score\": \"0.5513401\",\n \"text\": \"public long getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5c0a7c59a938ab9a3b99a0acfcbcfa68\",\n \"score\": \"0.5510951\",\n \"text\": \"public String getId() {\\r\\n return Integer.toString(id);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"585eadd0c3762ebb08ab605d259451c9\",\n \"score\": \"0.5510189\",\n \"text\": \"public Long getAdId() {\\n\\t\\treturn adId;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"46f579fe816551750561a906f6c450c9\",\n \"score\": \"0.55068326\",\n \"text\": \"public String getId() {\\n return id.toString();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc99dfb13bfa5a149c0521c3b19107a0\",\n \"score\": \"0.5506166\",\n \"text\": \"public final String getId()\\r\\n\\t{\\r\\n\\t\\treturn id;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"851e4fc341e21116467c6f9706466ed8\",\n \"score\": \"0.55054843\",\n \"text\": \"public String getConfigId() {\\n return configId;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"851e4fc341e21116467c6f9706466ed8\",\n \"score\": \"0.55054843\",\n \"text\": \"public String getConfigId() {\\n return configId;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9a089424a4677e6fa4e5a8819315119\",\n \"score\": \"0.5503608\",\n \"text\": \"public int getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9a089424a4677e6fa4e5a8819315119\",\n \"score\": \"0.5503608\",\n \"text\": \"public int getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9a089424a4677e6fa4e5a8819315119\",\n \"score\": \"0.5503608\",\n \"text\": \"public int getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9a089424a4677e6fa4e5a8819315119\",\n \"score\": \"0.5503608\",\n \"text\": \"public int getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9a089424a4677e6fa4e5a8819315119\",\n \"score\": \"0.5503608\",\n \"text\": \"public int getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9a089424a4677e6fa4e5a8819315119\",\n \"score\": \"0.5503608\",\n \"text\": \"public int getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9a089424a4677e6fa4e5a8819315119\",\n \"score\": \"0.5503608\",\n \"text\": \"public int getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9a089424a4677e6fa4e5a8819315119\",\n \"score\": \"0.5503608\",\n \"text\": \"public int getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9a089424a4677e6fa4e5a8819315119\",\n \"score\": \"0.5503608\",\n \"text\": \"public int getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9a089424a4677e6fa4e5a8819315119\",\n \"score\": \"0.5503608\",\n \"text\": \"public int getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9a089424a4677e6fa4e5a8819315119\",\n \"score\": \"0.5503608\",\n \"text\": \"public int getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9a089424a4677e6fa4e5a8819315119\",\n \"score\": \"0.5503608\",\n \"text\": \"public int getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9a089424a4677e6fa4e5a8819315119\",\n \"score\": \"0.5503608\",\n \"text\": \"public int getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9a089424a4677e6fa4e5a8819315119\",\n \"score\": \"0.5503608\",\n \"text\": \"public int getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9a089424a4677e6fa4e5a8819315119\",\n \"score\": \"0.5503608\",\n \"text\": \"public int getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9a089424a4677e6fa4e5a8819315119\",\n \"score\": \"0.5503608\",\n \"text\": \"public int getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9a089424a4677e6fa4e5a8819315119\",\n \"score\": \"0.5503608\",\n \"text\": \"public int getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9a089424a4677e6fa4e5a8819315119\",\n \"score\": \"0.5503608\",\n \"text\": \"public int getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9a089424a4677e6fa4e5a8819315119\",\n \"score\": \"0.5503608\",\n \"text\": \"public int getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9a089424a4677e6fa4e5a8819315119\",\n \"score\": \"0.55035335\",\n \"text\": \"public int getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eac747c2133f7a397064d73f83245d34\",\n \"score\": \"0.55027395\",\n \"text\": \"@Override\\r\\n\\tpublic String getId() {\\n\\t\\treturn adUserId;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e9ce1e31e82da59581c819a985d010fa\",\n \"score\": \"0.54978985\",\n \"text\": \"public int getValue() {\\r\\n return this.identifier;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9e1e0733e10532733929bd8482a20de9\",\n \"score\": \"0.54966044\",\n \"text\": \"public int getClientId() {\\n\\t\\treturn id.intValue();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9224255c73f38aaa89691a03569c4aa9\",\n \"score\": \"0.54957175\",\n \"text\": \"public long getId() {\\n\\t\\treturn _id;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f0a09b7db74be985309f2dc5254e314a\",\n \"score\": \"0.5494886\",\n \"text\": \"public String getId() {\\r\\n\\t\\treturn mId;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1dfcf1bd98a8661a782d387e0a2893fc\",\n \"score\": \"0.5494748\",\n \"text\": \"public long getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1dfcf1bd98a8661a782d387e0a2893fc\",\n \"score\": \"0.5494748\",\n \"text\": \"public long getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1dfcf1bd98a8661a782d387e0a2893fc\",\n \"score\": \"0.5494748\",\n \"text\": \"public long getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1dfcf1bd98a8661a782d387e0a2893fc\",\n \"score\": \"0.5494748\",\n \"text\": \"public long getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1dfcf1bd98a8661a782d387e0a2893fc\",\n \"score\": \"0.5494748\",\n \"text\": \"public long getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1dfcf1bd98a8661a782d387e0a2893fc\",\n \"score\": \"0.5494748\",\n \"text\": \"public long getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3063e625bbab274731dabde55a4d9722\",\n \"score\": \"0.54871905\",\n \"text\": \"public Integer getId() {\\n\\t\\treturn this.id;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3063e625bbab274731dabde55a4d9722\",\n \"score\": \"0.54871905\",\n \"text\": \"public Integer getId() {\\n\\t\\treturn this.id;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3063e625bbab274731dabde55a4d9722\",\n \"score\": \"0.54871905\",\n \"text\": \"public Integer getId() {\\n\\t\\treturn this.id;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3063e625bbab274731dabde55a4d9722\",\n \"score\": \"0.54871905\",\n \"text\": \"public Integer getId() {\\n\\t\\treturn this.id;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4c5664d96090e63acb52b54e6eb880f\",\n \"score\": \"0.548673\",\n \"text\": \"public Integer getServiceId() {\\n return serviceId;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"afff3394baa6a556edf5b109e080f64d\",\n \"score\": \"0.5484377\",\n \"text\": \"public final Long getId() {\\n return id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d71fea174ed0faa1b9d090609e9113a0\",\n \"score\": \"0.5482833\",\n \"text\": \"public long getId() {\\n\\t\\treturn this.id;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"702b2957d36714ec3b8abb22331f46ac\",\n \"score\": \"0.54819405\",\n \"text\": \"public final Long getId() {\\r\\n return id;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d7ca7a9757fae18677cdbdaf4a2994c\",\n \"score\": \"0.54814243\",\n \"text\": \"public Integer getId() {\\n return (Integer) get(0);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d8c1c01433b26eef10853516612537c8\",\n \"score\": \"0.5477777\",\n \"text\": \"public final String getId() {\\t\\r\\n\\t\\treturn id;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"65975fdf93b76a0aae0c5e5582323012\",\n \"score\": \"0.54733086\",\n \"text\": \"public PlayerStrategy getStrategyType() {\\r\\n return strategyType;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2996d1737cb4c0e507513c30ce5b7274\",\n \"score\": \"0.5470489\",\n \"text\": \"public int getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2996d1737cb4c0e507513c30ce5b7274\",\n \"score\": \"0.5470489\",\n \"text\": \"public int getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2996d1737cb4c0e507513c30ce5b7274\",\n \"score\": \"0.5470489\",\n \"text\": \"public int getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2996d1737cb4c0e507513c30ce5b7274\",\n \"score\": \"0.5470489\",\n \"text\": \"public int getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2996d1737cb4c0e507513c30ce5b7274\",\n \"score\": \"0.5470489\",\n \"text\": \"public int getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":379,"cells":{"query_id":{"kind":"string","value":"0104671e64be214c70278fa36f81f8f4"},"query":{"kind":"string","value":"Triggered by the Alarm at midnight"},"positive_passages":{"kind":"list like","value":[{"docid":"f593522be208e369a676249221055660","score":"0.0","text":"public void onReceive(Context context, Intent intent){\r\n\r\n // Get parameters from Broadcast Intent\r\n int mood = intent.getIntExtra(\"DailyMood\", 3);\r\n String commentary = intent.getStringExtra(\"DailyCommentary\");\r\n\r\n // Create an Intent for service with Broadcast Intent Parameters\r\n Intent i = new Intent(context, AutoSaveService.class);\r\n i.putExtra(\"DailyMood\", mood);\r\n i.putExtra(\"DailyCommentary\", commentary);\r\n context.startService(i);\r\n }","title":""}],"string":"[\n {\n \"docid\": \"f593522be208e369a676249221055660\",\n \"score\": \"0.0\",\n \"text\": \"public void onReceive(Context context, Intent intent){\\r\\n\\r\\n // Get parameters from Broadcast Intent\\r\\n int mood = intent.getIntExtra(\\\"DailyMood\\\", 3);\\r\\n String commentary = intent.getStringExtra(\\\"DailyCommentary\\\");\\r\\n\\r\\n // Create an Intent for service with Broadcast Intent Parameters\\r\\n Intent i = new Intent(context, AutoSaveService.class);\\r\\n i.putExtra(\\\"DailyMood\\\", mood);\\r\\n i.putExtra(\\\"DailyCommentary\\\", commentary);\\r\\n context.startService(i);\\r\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"9a03a5cf1f420aaac9dd52fd52daed9e","score":"0.7318748","text":"@TargetApi(24)\n/*public void setTime(int hourOfDay,int minute)\n{\n\n Calendar calendar = Calendar.getInstance();\n calendar.set(java.util.Calendar.HOUR_OF_DAY, hourOfDay);\n calendar.set(java.util.Calendar.MINUTE, minute);\n calendar.set(java.util.Calendar.SECOND, 00);\n Intent intent=new Intent(getApplicationContext(),DailyNotification.class);\n PendingIntent pendingIntent= PendingIntent.getBroadcast(\n getApplicationContext(), 100,intent,\n PendingIntent.FLAG_UPDATE_CURRENT);\n AlarmManager alarmManager=(AlarmManager)getSystemService(ALARM_SERVICE);\n alarmManager.setRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), AlarmManager.INTERVAL_DAY, pendingIntent);\n}*/\n @Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_reminder, menu);\n return true;\n }","title":""},{"docid":"3a6f7c8d6b89d243063555444deaf2a7","score":"0.7268456","text":"public void setAlarm() {\n Intent intent = new Intent(context, AlarmReceiver.class);\n PendingIntent receivedIntent =\n PendingIntent.getBroadcast(context, 0, intent, PendingIntent.FLAG_CANCEL_CURRENT);\n AlarmManager alarms = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);\n alarms.setInexactRepeating(AlarmManager.ELAPSED_REALTIME_WAKEUP, 0,\n AlarmManager.INTERVAL_HALF_HOUR, receivedIntent);\n }","title":""},{"docid":"a57ec3ff25c02fd78a38fd117a6862c4","score":"0.7216752","text":"public void scheduleAlarm() {\n // Construye un intent que va a ejecutar el AlarmReceiver\n Intent intent = new Intent(getApplicationContext(), MyAlarmReceiver.class);\n // Crea un PendigIntent para ser disparado cuando la alarma se apaga\n final PendingIntent pIntent = PendingIntent.getBroadcast(this, MyAlarmReceiver.REQUEST_CODE,\n intent, PendingIntent.FLAG_UPDATE_CURRENT);\n // Prepara una alarma periodica cada 5 segundos\n long firstMillis = System.currentTimeMillis(); // la alarma se establece de inmediato\n AlarmManager alarm = (AlarmManager) this.getSystemService(Context.ALARM_SERVICE);\n // El primer parametro es del tipo: ELAPSED_REALTIME, ELAPSED_REALTIME_WAKEUP, RTC_WAKEUP\n // El intervalo puede ser INTERVAL_FIFTEEN_MINUTES, INTERVAL_HALF_HOUR, INTERVAL_HOUR, INTERVAL_DAY\n alarm.setInexactRepeating(AlarmManager.RTC_WAKEUP, firstMillis,\n AlarmManager.INTERVAL_FIFTEEN_MINUTES, pIntent);\n }","title":""},{"docid":"1e3c08e891e1a20933ed64ed34819105","score":"0.7211657","text":"protected abstract void executeAlarm();","title":""},{"docid":"ad30572ae1e069919e36c4a883ff3f18","score":"0.7151021","text":"private void scheduleAlarm(){\n \tLong time = new GregorianCalendar().getTimeInMillis();\n \t\n \tLong interval = (long) (30*24*60*60*1000);\n \tIntent intentAlarm = new Intent(this, AlarmReciever.class);\n \t\n \tAlarmManager alarmManager = (AlarmManager) getSystemService(Context.ALARM_SERVICE);\n \t\n \t\n \talarmManager.setInexactRepeating(AlarmManager.RTC_WAKEUP, interval, interval, PendingIntent.getBroadcast(this,1, intentAlarm, PendingIntent.FLAG_UPDATE_CURRENT));\n// \talarmManager.set(AlarmManager.RTC_WAKEUP,time, PendingIntent.getBroadcast(this,1, intentAlarm, PendingIntent.FLAG_UPDATE_CURRENT));\n \tLog.e(\"alarm debug\", \"Zakazao alarm\");\n }","title":""},{"docid":"e5e05a58aa8799906132cfdcfa38d663","score":"0.71421725","text":"public void startAlarm(){\n\t AlarmManager am = (AlarmManager)context.getSystemService(Context.ALARM_SERVICE);\n\t Calendar cal=Calendar.getInstance();\n\t cal.set(Calendar.HOUR_OF_DAY, 18);\n\t cal.set(Calendar.MINUTE,0);\n\t cal.set(Calendar.SECOND, 0);\n\t cal.set(Calendar.MILLISECOND, 0);\n\t // long firstTime = c.getTimeInMillis();\n\t am.setRepeating(AlarmManager.RTC_WAKEUP,cal.getTimeInMillis(), 5*1000,mAlarmSender);\n\t // am.setInexactRepeating(AlarmManager.RTC_WAKEUP, firstTime, 5, mAlarmSender);\n\t // am.set(AlarmManager.RTC_WAKEUP, firstTime, mAlarmSender);\n\t // am.setRepeating(AlarmManager.ELAPSED_REALTIME_WAKEUP, 5 * 60 * 1000, 5 * 60 * 1000, mAlarmSender);\n\t \n\t }","title":""},{"docid":"3a5f78663a45d12067ac07df5ccb33e1","score":"0.6982698","text":"private void registerNotificationTime1() {\n Calendar calendar1 = Calendar.getInstance();\n calendar1.set(Calendar.HOUR_OF_DAY, 6);\n Intent intent1 = new Intent(getApplicationContext(), AlarmReceiver.class);\n PendingIntent pendingIntent1 = PendingIntent.getBroadcast(this, 100, intent1, PendingIntent.FLAG_ONE_SHOT);\n AlarmManager am = (AlarmManager) this.getSystemService(this.ALARM_SERVICE);\n am.setRepeating(AlarmManager.RTC_WAKEUP, calendar1.getTimeInMillis(), AlarmManager.INTERVAL_DAY, pendingIntent1);\n }","title":""},{"docid":"2e96818ac5e7f02df556cbcd98bb7988","score":"0.69417876","text":"AlarmService alarms();","title":""},{"docid":"07b9a7ab136eee32fa586512a671c0f0","score":"0.69106704","text":"private void setAlarm() {\n\t Calendar cal = Calendar.getInstance();\n\t cal.add(Calendar.SECOND, 5);\n\t\n\t //Create a new PendingIntent and add it to the AlarmManager\n\t Intent intent = new Intent(this, AlarmReceiverActivity.class);\n\t PendingIntent pendingIntent = PendingIntent.getActivity(this,\n\t 12345, intent, PendingIntent.FLAG_CANCEL_CURRENT);\n\t AlarmManager am =\n\t (AlarmManager)getSystemService(Activity.ALARM_SERVICE);\n\t am.set(AlarmManager.RTC_WAKEUP, cal.getTimeInMillis(),\n\t pendingIntent);\n\t}","title":""},{"docid":"08a607fcaafaa3d26a78d649b05ea6fa","score":"0.6839939","text":"@Override\n public void onClick(View v) {\n\n Calendar calendar = Calendar.getInstance();\n calendar.set(Calendar.HOUR_OF_DAY, 18); // Sends the notification at 18:00\n\n // Gets the logic for the notification from NotificationReceiver class:\n Intent intent = new Intent(getApplicationContext(), NotificationReceiver.class);\n intent.setAction(\"\");\n\n PendingIntent pendingIntent = PendingIntent.getBroadcast(getApplicationContext(),\n 100, intent, PendingIntent.FLAG_UPDATE_CURRENT);\n\n AlarmManager alarmManager = (AlarmManager) getSystemService(ALARM_SERVICE);\n alarmManager.setRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), AlarmManager.INTERVAL_DAY, pendingIntent); // Sends the notification daily\n\n Toast.makeText(getBaseContext(), \"Notifications enabled\", Toast.LENGTH_SHORT).show(); // Pop up message to show user that notifications are enabled\n }","title":""},{"docid":"9c840bced4c2469495c0558abbdfd292","score":"0.6821258","text":"public static void registerFirstAlarm(Context context){\n\t\tCalendar cal = Calendar.getInstance();\r\n\t\t// set to 0:00 and next day...\r\n\t\tcal.add(Calendar.SECOND, 1);\r\n\t\tregisterAlarm(context, cal.getTimeInMillis());\r\n\t}","title":""},{"docid":"76cc7b232a6a9a2dcab4ffaeab89d7f4","score":"0.6807294","text":"public void set_ontime_notification() {\n Calendar ontimecal = Calendar.getInstance();\n set_calendar(ontimecal, chosenstart_year, chosenstart_monthOfYear, chosenstart_dayOfMonth, chosenstart_hour, chosenstart_minute, 00 );\n // order is; year, month, day, hour, minute, second\n long eventTime = ontimecal.getTimeInMillis();\n\n// AlarmManager alarmManager = (AlarmManager) getSystemService(Context.ALARM_SERVICE);\n Intent intentalarm1 = new Intent(this, ReminderBroadcast.class);\n notification_intent_databuilder(intentalarm1);\n PendingIntent pendingIntent = PendingIntent.getBroadcast(EditActivity.this, 0, intentalarm1, 0);\n\n AlarmManager alarmManager = (AlarmManager) getSystemService(ALARM_SERVICE);\n\n// final long timeid = System.currentTimeMillis();\n\n alarmManager.set(AlarmManager.RTC_WAKEUP, eventTime, pendingIntent);\n }","title":""},{"docid":"88986a12d27745c002f4473c31f477c5","score":"0.6759703","text":"public void triggerAlarm() {\r\n\t\talarmStatus.setText(AlarmStatus.ACTIVE.name());\r\n\t\talarmStatus.setFont(new Font(\"Tahoma\", Font.BOLD, 14));\r\n\t\talarmStatus.setForeground(Color.RED);\r\n\t\tacknowlAlarmButton.setEnabled(true);\r\n\t}","title":""},{"docid":"71e6b219cddf1ebc825ceacab2a0b06b","score":"0.6735357","text":"public static void startAlarmBroadcastReceiver(Context context, int hour, int minute) {\n //An intent to go to the AlarmBroadcastReceiver class:\n Intent intent = new Intent(context, AlarmBroadcastReceiver.class);\n //A pending intent, which activates when the alarm goes off:\n PendingIntent pendingIntent = PendingIntent.getBroadcast(context, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT);\n AlarmManager alarmManager = (AlarmManager)context.getSystemService(Context.ALARM_SERVICE);\n //Cancel any possible other alarms from this app (using pendingIntent) that exist in the system.\n alarmManager.cancel(pendingIntent);\n\n //Generate a Calendar object of the current date and the specified time, by parameters hour and minute. This is when the alarm will go off.\n Calendar calendar = Calendar.getInstance();\n calendar.setTimeInMillis(System.currentTimeMillis());\n calendar.set(Calendar.HOUR_OF_DAY, hour);\n calendar.set(Calendar.MINUTE, minute);\n calendar.set(Calendar.SECOND, 0);\n\n //Set the repeating alarm (daily, at the specified time):\n alarmManager.setInexactRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), AlarmManager.INTERVAL_DAY, pendingIntent);\n }","title":""},{"docid":"fa1998658a0ed6907d7dd8cf682c444c","score":"0.67250264","text":"private void setUpNotifications(int currentSetting) {\n if(currentSetting == -1){\n Calendar calendar = Calendar.getInstance();\n calendar.setTimeInMillis(System.currentTimeMillis());\n calendar.set(Calendar.HOUR_OF_DAY, 10);\n calendar.set(Calendar.MINUTE, 30);\n calendar.set(Calendar.SECOND, 0);\n\n Intent alarmIntent = new Intent(this.getApplicationContext(), MyReceiver.class);\n PendingIntent pendingIntent = PendingIntent.getBroadcast(this, 0, alarmIntent, 0);\n AlarmManager alarmManager = (AlarmManager) getSystemService(Context.ALARM_SERVICE);\n alarmManager.setRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), AlarmManager.INTERVAL_DAY, pendingIntent);\n }\n }","title":""},{"docid":"3e2950350d8a118f02673bd217bc0a42","score":"0.6723625","text":"private void setAlarm(long time) {\n AlarmManager am = (AlarmManager) getSystemService(Context.ALARM_SERVICE);\n\n //creating a new intent specifying the broadcast receiver\n Intent i = new Intent(this, MyAlarm.class);\n\n //creating a pending intent using the intent\n PendingIntent pi = PendingIntent.getBroadcast(this, 0, i, 0);\n\n //setting the repeating alarm that will be fired every day\n am.setRepeating(AlarmManager.RTC, time, AlarmManager.INTERVAL_DAY, pi);\n Toast.makeText(this, \"Time is set\", Toast.LENGTH_SHORT).show();\n }","title":""},{"docid":"828461e7816839083d55fbe69c8693fb","score":"0.66595984","text":"public void scheduleClick(View view) {\n // Handle date field\n SimpleDateFormat sdf = new SimpleDateFormat(\"yyyy-MM-dd HH:mm:ss\", Locale.ENGLISH);\n String date_string = sdf.format(m_calendar.getTime());\n // Schedule alarm based on calendar\n // Calculate the time when it expires.\n Intent intent = new Intent(this, EMAAlarmReceiver.class);\n // Store ID in the Database\n intent.putExtra(\"id\", m_id);\n PendingIntent pendingIntent = PendingIntent.getBroadcast(this, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT);\n AlarmManager alarmManager = (AlarmManager) getSystemService(ALARM_SERVICE);\n alarmManager.set(AlarmManager.RTC_WAKEUP, m_calendar.getTimeInMillis(), pendingIntent);\n Log.d(\"ALARM\", \"Alarm set at \" + date_string + \" for url with id: \" + m_id);\n Log.d(\"ALARM\", \"TIME: \" + m_calendar.getTime().toString());\n Log.d(\"ALARM\", \"NOW: \" + System.currentTimeMillis() + \" Cal: \" + m_calendar.getTimeInMillis() + \" diff: \" + (m_calendar.getTimeInMillis() - System.currentTimeMillis()));\n Toast.makeText(getApplicationContext(), \"Alarm set for \" + date_string, Toast.LENGTH_SHORT).show();\n finish();\n }","title":""},{"docid":"bb30df134f00861e0326d9709499aa65","score":"0.6635224","text":"private void notifyDemo(){\n Calendar cal = Calendar.getInstance();\n // Ask our service to set an alarm for that date,\n // this activity talks to the client that talks to the service\n// cal.add(Calendar.SECOND,5);\n// scheduleClient.getmBoundService()\n// .setNotificationString(\"According to our estimation you are now legally qualify for driving!\");\n// scheduleClient.setAlarmForNotification(cal);\n// scheduleClient.getmBoundService().setNotificationString(\"Did you suffer from a hangover? please let us know!\");\n// scheduleClient.setAlarmForNotification(cal);\n// cal.add(Calendar.SECOND,6);\n ((MenuActivity)getActivity()).createNotification(cal,\"\");\n }","title":""},{"docid":"0e69a8de178121b00c4c84fb1d882acf","score":"0.6629386","text":"private void createRepeatingAlarm() {\n AlarmManager mAlarmManager = (AlarmManager) getSystemService(ALARM_SERVICE);\n // Set inexact repeating alarm\n\n Intent notificationReciverIntent = new Intent(this, SelfiAlarmNotificationReceiver.class);\n PendingIntent notificationPendingIntent = PendingIntent.getBroadcast(this, 0,\n notificationReciverIntent, PendingIntent.FLAG_UPDATE_CURRENT);\n\n mAlarmManager.setInexactRepeating(\n AlarmManager.ELAPSED_REALTIME,\n SystemClock.elapsedRealtime() + INITAL_ALARM_DELAY,\n ALARM_DELAY,\n notificationPendingIntent);\n\n Log.i(TAG, \"Create the Alarm at:\" + getDateStr(new Date()));\n\n }","title":""},{"docid":"76393f8e05d90a1eb09df4112d4bc286","score":"0.6615818","text":"public void setAlarm() {\n //When editing values of the AlarmSetting, the previous alarm must be canceled, and a new one\n //must be made\n boolean temp;\n //isAlarmSet is currently returning true for everthing somehow\n // if (pendingIntent != null && (temp = isAlarmSet())) cancelAlarm();\n cancelAlarm();\n\n if (intent == null) {\n intent = new Intent(ctx, BeepReceiver.class);\n }\n //set new action to create a unique intent for this setting\n intent.setAction(\"Alarm set at \"+this.toString());\n intent.putExtra(\"snooze\", snoozeLength);\n if (pendingIntent == null) pendingIntent = PendingIntent.getBroadcast(ctx, 0, intent, 0);\n\n Calendar calendar = Calendar.getInstance();\n calendar.setTimeInMillis(System.currentTimeMillis());\n calendar.set(Calendar.HOUR_OF_DAY, hours);\n calendar.set(Calendar.MINUTE, minutes);\n //solved problem if user set a time that had already occurred today from having the receiver being instantly notified\n if((temp=(calendar.getTimeInMillis() now) {\n Intent intent = new Intent(mContext, MeetingPreparationReceiver.class);\n intent.putExtra(ARG_EVENT, e);\n PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0);\n mAlarmManager.set(AlarmManager.RTC, wakeUpTime, pendingIntent);\n mAlarmManager.set(AlarmManager.RTC_WAKEUP, wakeUpTime, pendingIntent);\n break;\n }\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n }","title":""},{"docid":"6a7964b5a76ff9d2a1530d36a0b40639","score":"0.6313398","text":"private void handleAlarmExpiration() {\n startAutoPushService(mContext);\n// setExpirationAlarm();\n }","title":""},{"docid":"f5092e64f2f11730d32551d4bc916e24","score":"0.6301895","text":"public final void schedule() {\n AppMethodBeat.i(113876);\n this.che.ae(this.ciy, this.ciy);\n AppMethodBeat.o(113876);\n }","title":""},{"docid":"26894b373f150de61b6cc7cd60c85ee9","score":"0.6270159","text":"private void setRepeatingAlarm() {\n Log.d(TAG, \"setRepeatingAlarm: \");\n Intent intent = new Intent(this, DataCollectReceiver.class);\n intent.putExtra(BROADCAST_DATA_SAVE_ALARM_RECEIVED, true);\n pendingIntentData = PendingIntent.getBroadcast(\n this.getApplicationContext(), 234324243, intent, 0);\n\n alarmManagerData = (AlarmManager) getSystemService(ALARM_SERVICE);\n\n //start timer, start time is earlier than current\n //trigger on interval ALARM_SENSOR_DATA_SAVE INTERVAL\n alarmManagerData.setRepeating(AlarmManager.RTC_WAKEUP, System.currentTimeMillis()\n + ALARM_SENSOR_DATA_SAVE_INTERVAL, ALARM_SENSOR_DATA_SAVE_INTERVAL, pendingIntentData);\n }","title":""},{"docid":"ada38ef79e6c6dac8785d9bfeaff40f2","score":"0.6249683","text":"private static void checkTimeAndMaybeSetupUpdateAlarm(final Context context) {\n // Of all clients, if the one that hasn't been updated for the longest\n // is still more recent than UPDATE_FREQUENCY, do nothing.\n if (!isLastUpdateAtLeastThisOld(context, UPDATE_FREQUENCY)) return;\n\n PrivateLog.log(\"Date changed - registering alarm\");\n AlarmManager alarmManager = (AlarmManager)context.getSystemService(Context.ALARM_SERVICE);\n\n // Best effort to wake between midnight and MAX_ALARM_DELAY in the morning.\n // It doesn't matter too much if this is very inexact.\n final long now = System.currentTimeMillis();\n final long alarmTime = now + new Random().nextInt(MAX_ALARM_DELAY);\n final Intent updateIntent = new Intent(DictionaryService.UPDATE_NOW_INTENT_ACTION);\n final PendingIntent pendingIntent = PendingIntent.getBroadcast(context, 0,\n updateIntent, PendingIntent.FLAG_CANCEL_CURRENT);\n\n // We set the alarm in the type that doesn't forcefully wake the device\n // from sleep, but fires the next time the device actually wakes for any\n // other reason.\n if (null != alarmManager) alarmManager.set(AlarmManager.RTC, alarmTime, pendingIntent);\n }","title":""},{"docid":"18fbf5c9fd22f2b542f1caf358008d77","score":"0.62472457","text":"public static void startAlarm(Context context) {\n Intent intent = new Intent(context, GradesAlarmReceiver.class);\n\n\n // Create a PendingIntent to be triggered when the alarm goes off\n final PendingIntent pIntent = PendingIntent.getBroadcast(context, GradesAlarmReceiver.REQUEST_CODE,\n intent, PendingIntent.FLAG_UPDATE_CURRENT);\n\n // Setup periodic alarm every 5 seconds\n long firstMillis = System.currentTimeMillis(); // alarm is set right away\n AlarmManager alarm = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);\n\n\n // First parameter is the type: ELAPSED_REALTIME, ELAPSED_REALTIME_WAKEUP, RTC_WAKEUP\n // Interval can be INTERVAL_FIFTEEN_MINUTES, INTERVAL_HALF_HOUR, INTERVAL_HOUR, INTERVAL_DAY\n alarm.setInexactRepeating(AlarmManager.RTC_WAKEUP, firstMillis,\n Settings.GRADES_UPDATE_INTERVAL, pIntent);\n }","title":""},{"docid":"5c382e3e1fc925bf39e4b2a2034a431c","score":"0.62366456","text":"public static void schedule(Context context) {\n final Intent intent = new Intent(context, CheckEventsService.class);\r\n final PendingIntent pending = PendingIntent.getService(context, 0, intent, 0);\r\n \r\n // Cancel previously set alarm by CheckEventsService\r\n final AlarmManager alarm = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);\r\n alarm.cancel(pending);\r\n \r\n // Schedule new alarm, first trigger within 24 hours\r\n Calendar c = new GregorianCalendar();\r\n if (!DEBUG) {\r\n if (c.get(Calendar.HOUR_OF_DAY) > EVENT_CHECK_HOUR_OF_DAY || \r\n (c.get(Calendar.HOUR_OF_DAY) == EVENT_CHECK_HOUR_OF_DAY && c.get(Calendar.MINUTE) >= EVENT_CHECK_MINUTE_OF_DAY)) {\r\n c.add(Calendar.DAY_OF_YEAR, 1);\r\n }\r\n c.set(Calendar.HOUR_OF_DAY, EVENT_CHECK_HOUR_OF_DAY);\r\n c.set(Calendar.MINUTE, EVENT_CHECK_MINUTE_OF_DAY);\r\n c.set(Calendar.SECOND, 0);\r\n c.set(Calendar.MILLISECOND, 0);\r\n alarm.setRepeating(AlarmManager.RTC_WAKEUP, c.getTimeInMillis(), EVENTS_CHECK_INTERVAL, pending);\r\n } else {\r\n alarm.setRepeating(AlarmManager.RTC_WAKEUP, c.getTimeInMillis(), EVENTS_CHECK_INTERVAL_DEBUG, pending);\r\n }\r\n }","title":""},{"docid":"80481d0fcc219e4dc44f29cd4e22fed9","score":"0.62093335","text":"@Override\n\t\tpublic void playAlarmSound() {\n\t\t\t\n\t\t}","title":""},{"docid":"c5fe6e168f1f4cd3f02e90587f521098","score":"0.6205261","text":"public static void startRepeatingCalendarEventService(Context context) {\n\t\tIntent intent = new Intent(context, CheckSyncCalendarServiceReceiver.class);\n\t\tPendingIntent pending = PendingIntent.getBroadcast(context, 0, intent, PendingIntent.FLAG_CANCEL_CURRENT);\n\t\tAlarmManager service = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);\n\t\tCalendar cal = Calendar.getInstance();\n\t\t//start 10 minutes after the boot is completed or after called\n\t\tcal.add(Calendar.MINUTE, 10);\n\t\t//fetch in exactly 12 hours\n\t\tservice.setInexactRepeating(AlarmManager.RTC_WAKEUP, cal.getTimeInMillis(), AlarmManager.INTERVAL_HALF_DAY, pending);\n\t}","title":""},{"docid":"f4c6c73ab9cc8ad306f039290ffeedad","score":"0.6204296","text":"public void updateAlarmTime() {\n Calendar now = Calendar.getInstance();\n \n if (isRelative) {\n // relative only uses minutes field, with only a single value (NOT -1)\n alarmTime = now.getTime().getTime() + (minutes[0] * 60000);\n return;\n }\n \n Calendar alarm = (Calendar)now.clone();\n alarm.set( Calendar.SECOND, 0 );\n \n debug(\"now: \" + now.getTime());\n \n //\n // the updates work in a cascade -- if next minute value is in the\n // following hour, hour is incremented. If next valid hour value is\n // in the following day, day is incremented, and so on.\n //\n \n // increase alarm minutes\n int current = alarm.get( Calendar.MINUTE );\n int offset = 0;\n // force increment at least to next minute\n offset = getOffsetToNext( current, minMinute, maxMinute, minutes );\n alarm.add( Calendar.MINUTE, offset );\n debug( \"after min: \" + alarm.getTime() );\n \n // update alarm hours if necessary\n current = alarm.get( Calendar.HOUR_OF_DAY ); // (as updated by minute shift)\n offset = getOffsetToNextOrEqual( current, minHour, maxHour, hours );\n alarm.add( Calendar.HOUR_OF_DAY, offset );\n debug( \"after hour (current:\"+current+\"): \" + alarm.getTime() );\n \n //\n // If days of month AND days of week are restricted, we take whichever match\n // comes sooner.\n // If only one is restricted, take the first match for that one.\n // If neither is restricted, don't do anything.\n //\n if( daysOfMonth[0] != -1 && daysOfWeek[0] != -1 )\n {\n // BOTH are restricted - take earlier match\n Calendar dayOfWeekAlarm = (Calendar)alarm.clone();\n updateDayOfWeekAndMonth( dayOfWeekAlarm );\n \n Calendar dayOfMonthAlarm = (Calendar)alarm.clone();\n updateDayOfMonthAndMonth( dayOfMonthAlarm );\n \n // take the earlier one\n if( dayOfMonthAlarm.getTime().getTime() < dayOfWeekAlarm.getTime().getTime() )\n {\n alarm = dayOfMonthAlarm;\n debug( \"after dayOfMonth CLOSER: \" + alarm.getTime() );\n }\n else\n {\n alarm = dayOfWeekAlarm;\n debug( \"after dayOfWeek CLOSER: \" + alarm.getTime() );\n }\n }\n else if( daysOfWeek[0] != -1 ) // only dayOfWeek is restricted\n {\n // update dayInWeek and month if necessary\n updateDayOfWeekAndMonth( alarm );\n debug( \"after dayOfWeek: \" + alarm.getTime() );\n }\n else if( daysOfMonth[0] != -1 ) // only dayOfMonth is restricted\n {\n // update dayInMonth and month if necessary\n updateDayOfMonthAndMonth( alarm );\n debug( \"after dayOfMonth: \" + alarm.getTime() );\n }\n // else if neither is restricted (both[0] == -1), we don't need to do anything.\n \n \n debug(\"alarm: \" + alarm.getTime());\n \n alarmTime = alarm.getTime().getTime();\n lastUpdateTime = System.currentTimeMillis();\n }","title":""},{"docid":"57d748949c9ee7a105ae2c7150d48247","score":"0.6196473","text":"public void startExecutionEveryDayAt(/*agregar en esta parte aun*/ int targetHour, int targetMin, int targetSec) {\n }","title":""},{"docid":"a0977377ec1085bf2678a68028f96c94","score":"0.618397","text":"private static void setPingAlarm (Context appContext) {\n CommonUtils.printLog(\" process id when setting alarm: \" + android.os.Process.myPid());\n alarmManager = (AlarmManager)appContext.getSystemService(Context.ALARM_SERVICE);\n Intent intent = new Intent(appContext, AlarmReceiver.class);\n pendingIntent = PendingIntent.getBroadcast(appContext, 0, intent, 0);\n CommonUtils.printLog(\"reading form json\");\n int pingFreq = Integer.parseInt(ConnOptsJsonHandler.readFromJsonFile(PING_FREQ_KEY));\n pingFreq *=60 *1000; // converting the val from minutes to millisec\n CommonUtils.printLog(\"setting alarm: \" + pingFreq);\n alarmManager.setRepeating(AlarmManager.ELAPSED_REALTIME_WAKEUP, pingFreq, pingFreq,pendingIntent);\n MqttLogger.writeDataToTempLogFile(\"alarm set\");\n\n // set up the wifi lock\n// WifiManager wm = (WifiManager) appContext.getSystemService(Context.WIFI_SERVICE);\n// WifiManager.WifiLock wifiLock = wm.createWifiLock(WifiManager.WIFI_MODE_FULL , \"MyWifiLock\");\n// wifiLock.acquire();\n }","title":""},{"docid":"40a8f36932ef82c1934a4c7901d61aa6","score":"0.6154215","text":"public void SetTimer(View view, long alarmID, int notification, String sDate){\n \tContext context = this.getApplicationContext(); \n \talarm = new AlarmManagerBroadcastReceiver();\n \t//Toast.makeText(getBaseContext(), \"In SetTimer, alarmID is \"+alarmID, Toast.LENGTH_LONG).show();\n \t\n \tString alarmTimeSet = alarm.ConvertToAlarmString(sDate, notification);\n\t\n\t\tif(alarm != null){ \n\t\t\talarm.SetAlarm(context, alarmID, alarmTimeSet);\n\t\t\t//Log.d(\"EditScreen\",\"Alarm Set\");// for testing\n\t\t\t}else\n\t\t\t{ \n\t\t\tLog.d(\"EditScreen\",\"No alarm Set\");// for testing\n\t\t\t//Toast.makeText(context, \"Alarm is null\", Toast.LENGTH_SHORT).show(); \n\t\t\t} \n\t\t\n\t\tSharedPreferences appActivity = getSharedPreferences(\n\t\t\t\t \"com.friendsbirthdaysver6_preferences\", MODE_PRIVATE); \n\t\tSharedPreferences.Editor appActivityUpdater = appActivity.edit();\n\t \tappActivityUpdater.putBoolean(\"activated\", true);\t \n\t appActivityUpdater.commit();\n\t}","title":""},{"docid":"43f1b029dc693ffad7a78e65e5b1dc06","score":"0.61527854","text":"private void registerWatchDog() {\n alarmManager.setInexactRepeating(AlarmManager.RTC_WAKEUP, System.currentTimeMillis() + AlarmManager.INTERVAL_HOUR,\n AlarmManager.INTERVAL_HOUR, pendingIntent);\n }","title":""},{"docid":"b1bfe55ec6732dcbc65a512c153dd7c3","score":"0.61268467","text":"@Override\n\tpublic void alarm() {\n\t\tSystem.out.println(\"BMWModel alarm\");\n\t}","title":""},{"docid":"23692bbea062784f3ef53fb94d6d69ff","score":"0.612099","text":"public void setAlarm(long time,int value) {\n\n AlarmManager am = (AlarmManager) getSystemService(Context.ALARM_SERVICE);\n\n //creating a new intent specifying the broadcast receiver\n Intent i = new Intent(getApplicationContext(), Updatestudentlist.class);\n\n //creating a pending intent using the intent\n if(value==1) {\n // Toast.makeText(getApplicationContext(), \"morning\", Toast.LENGTH_SHORT).show();\n i.putExtra(\"value\",\"Morning session starts\");\n PendingIntent pi = PendingIntent.getBroadcast(getApplicationContext(), 6, i, 0);\n\n //setting the repeating alarm that will be fired every day\n am.setRepeating(AlarmManager.RTC, time, AlarmManager.INTERVAL_DAY, pi);\n }\n else if (value==2) {\n // Toast.makeText(getApplicationContext(), \"evening\", Toast.LENGTH_SHORT).show();\n i.putExtra(\"value\",\"Morning session ends\");\n PendingIntent pi = PendingIntent.getBroadcast(getApplicationContext(), 5, i, 0);\n\n //setting the repeating alarm that will be fired every day\n am.setRepeating(AlarmManager.RTC, time, AlarmManager.INTERVAL_DAY, pi);\n }\n else if (value==3) {\n // Toast.makeText(getApplicationContext(), \"evening\", Toast.LENGTH_SHORT).show();\n i.putExtra(\"value\",\"Afternoon session starts\");\n PendingIntent pi = PendingIntent.getBroadcast(getApplicationContext(), 7, i, 0);\n\n //setting the repeating alarm that will be fired every day\n am.setRepeating(AlarmManager.RTC, time, AlarmManager.INTERVAL_DAY, pi);\n }\n\n else if (value==4) {\n\n i.putExtra(\"value\",\"Afternoon session ends\");\n PendingIntent pi = PendingIntent.getBroadcast(getApplicationContext(), 8, i, 0);\n\n //setting the repeating alarm that will be fired every day\n am.setRepeating(AlarmManager.RTC, time, AlarmManager.INTERVAL_DAY, pi);\n }\n else if (value==5) {\n// Toast.makeText(getApplicationContext(), \"evening\", Toast.LENGTH_SHORT).show();\n i.putExtra(\"value\",\"Evening session starts\");\n PendingIntent pi = PendingIntent.getBroadcast(getApplicationContext(), 10, i, 0);\n\n //setting the repeating alarm that will be fired every day\n am.setRepeating(AlarmManager.RTC, time, AlarmManager.INTERVAL_DAY, pi);\n }\n\n else if (value==6) {\n\n i.putExtra(\"value\",\"Evening session ends\");\n PendingIntent pi = PendingIntent.getBroadcast(getApplicationContext(), 9, i, 0);\n //setting the repeating alarm that will be fired every day\n am.setRepeating(AlarmManager.RTC, time, AlarmManager.INTERVAL_DAY, pi);\n }\n }","title":""},{"docid":"65a11688eaa2c2cc5b26deff7b4e8896","score":"0.610748","text":"public void setAlarm(Context context, long triggerTime){\n AlarmManager alarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);\n Intent intent = new Intent(context, AlarmReceiver.class);\n\n //pass data to display when alarm is triggered\n //these 2 lines need to be placed before creating the pending intent object\n intent.putExtra(AlarmReceiver.ALARM_TIME, triggerTime);\n intent.putExtra(AlarmReceiver.ALARM_TEXT, \"test text\");\n\n PendingIntent alarmIntent = PendingIntent.getBroadcast(context, (int) triggerTime, intent, PendingIntent.FLAG_ONE_SHOT);\n\n Calendar calendar = new GregorianCalendar();\n calendar.setTimeInMillis(triggerTime);\n DateFormat dateFormat = DateFormat.getDateTimeInstance();\n\n alarmManager.set(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), alarmIntent);\n //Toast.makeText(context, \"Alarm Scheduled :\" + dateFormat.format(calendar.getTime()),Toast.LENGTH_SHORT).show();\n }","title":""},{"docid":"9965e7133cf89cb6aebf29c554e393c6","score":"0.6097715","text":"public static void activateAlarm(int index)\n\t{\n\t\t\n\t\tSystem.out.println(\"Alarm Done!\");\n\t}","title":""},{"docid":"e1840e267935730f02b125fd5586c2a4","score":"0.60957396","text":"private void startBackupService() {\n\n AlarmManager alarmManager = (AlarmManager)getSystemService(Context.ALARM_SERVICE);\n Intent intent = new Intent(HomePageActivity.this, ScheduledBackup.class);\n PendingIntent pendingIntent = PendingIntent.getBroadcast(this, 0, intent, 0);\n\n Calendar calendar = Calendar.getInstance();\n calendar.setTimeInMillis(System.currentTimeMillis());\n calendar.set(Calendar.HOUR_OF_DAY, 4);\n\n alarmManager.setRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), AlarmManager.INTERVAL_DAY, pendingIntent);\n }","title":""},{"docid":"0e6ab7d719443dabcdac27033a5c67ae","score":"0.6094718","text":"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tsettingAlarm();\n\t\t\t}","title":""},{"docid":"46f28e50fae2c4146ae3f822e8057a60","score":"0.6092064","text":"public static void setReminderAlarm(Context context, Alarm alarm) {\n\n //Check whether the alarm is set to run on any days\n if (!AlarmUtils.isAlarmActive(alarm)) {\n //If alarm not set to run on any days, cancel any existing notifications for this alarm\n cancelReminderAlarm(context, alarm);\n return;\n }\n\n final Calendar nextAlarmTime = getTimeForNextAlarm(alarm);\n alarm.setTime(nextAlarmTime.getTimeInMillis());\n\n final Intent intent = new Intent(context, AlarmReceiver.class);\n final Bundle bundle = new Bundle();\n bundle.putParcelable(ALARM_KEY, alarm);\n intent.putExtra(BUNDLE_EXTRA, bundle);\n\n final PendingIntent pIntent = PendingIntent.getBroadcast(\n context,\n alarm.notificationId(),\n intent,\n FLAG_UPDATE_CURRENT\n );\n\n ScheduleAlarm.with(context).schedule(alarm, pIntent);\n }","title":""},{"docid":"92c1aa146b0ca4654d3b332426d88c50","score":"0.6089662","text":"@Override\n public int onStartCommand(Intent intent, int flags, int startId) {\n Calendar calendar = Calendar.getInstance();\n int time;\n int minute;\n\n Log.d(\"PERIODICSERVICE\", \"Timp: \" + MainActivity.time);\n if (MainActivity.time == null) {\n time = 12;\n minute = 0;\n } else {\n String timp = MainActivity.time;\n String timps = \"\";\n String minutes = \"\";\n\n for (int i = 0; i < timp.length(); i++) {\n if (timp.charAt(i) != ':')\n timps += timp.charAt(i);\n else\n break;\n }\n\n for (int i = timp.length() - 1; i >= 0; i--) {\n if (timp.charAt(i) != ':')\n minutes += timp.charAt(i);\n else\n break;\n }\n\n time = Integer.parseInt(timps);\n minute = Integer.parseInt(minutes);\n }\n\n calendar.set(Calendar.HOUR_OF_DAY, time);\n calendar.set(Calendar.MINUTE, minute);\n calendar.set(Calendar.SECOND, 0);\n calendar = Calendar.getInstance();\n Intent i = new Intent(this, LogicNotificationAndSendSMS.class);\n PendingIntent pintent = PendingIntent.getService(this, 0, i, 0);\n AlarmManager alarm = (AlarmManager) getSystemService(Context.ALARM_SERVICE);\n alarm.setRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), AlarmManager.INTERVAL_DAY, pintent);\n\n return super.onStartCommand(intent, flags, startId);\n }","title":""},{"docid":"0fadde8d49e425e7245b4a52613e6096","score":"0.60877734","text":"@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tcalendar.set(Calendar.HOUR_OF_DAY, alarm_timepicker.getCurrentHour());\n\t\t\t\tcalendar.set(Calendar.MINUTE, alarm_timepicker.getCurrentMinute());\n\t\t\t\t\n\t\t\t\t//get the value of hour and minutes\n\t\t\t\tint hour = alarm_timepicker.getCurrentHour();\n\t\t\t\tint minutes = alarm_timepicker.getCurrentMinute();\n\t\t\t\t\n\t\t\t\t//convert int into string\n\t\t\t\tString hour_string = String.valueOf(hour);\n\t\t\t\tString minute_string = String.valueOf(minutes);\n\t\t\t\t\n\t\t\t\tif (minutes < 10){\n\t\t\t\t\tminute_string = \"0\"+ minute_string;\n\t\t\t\t}\n\t\t\t\tmy_intent.putExtra(\"extra\", \"alarm on\");\n\t\t\t\t//method changes the update textbox\n\t\t\t\tset_alarm_text(\"Alarm set to : \"+ hour_string + \" : \"+ minute_string);\n\t\t\t\t\n\t\t\t\t//create a pendding intent to delay th intent\n\t\t\t\t//until the specified calender time;\n\t\t\t\tpending_intent = PendingIntent.getBroadcast(LayoutAlarmActivity.this, 0, my_intent, PendingIntent.FLAG_UPDATE_CURRENT);\n\t\t\t\t\n\t\t\t\t//set alarm manager\n\t\t\t\talarm_manager.set(AlarmManager.RTC_WAKEUP,calendar.getTimeInMillis(),\n\t\t\t\t\t\t\t\tpending_intent);\n\t\t\t\t\n\t\t\t\t//put in extras String into my_intent\n\t\t\t\t//tells the clock that you pressed the alarm on button\n\t\t\t\t\n\t\t\t\t\n\t\t\t}","title":""},{"docid":"f1291a2e4cdb1af35e6b5e5e36a74da1","score":"0.6085998","text":"public void schedule() {\n AppMethodBeat.i(113879);\n this.ciw.chO.f(this, this.ciy);\n AppMethodBeat.o(113879);\n }","title":""},{"docid":"049e13bb3741ff8e2d42ac90bcef3404","score":"0.6079556","text":"public void setAlarm() {\n \tif (SLEEP_MODE_ACTIVE) {\n \t\tCURRENT_POLL_INTERVAL = SLEEP_POLL_INTERVAL;\n \t}else {\n \t\tCURRENT_POLL_INTERVAL = POLL_INTERVAL;\n \t}\n \tint interval = Integer.parseInt(HttpConnectionsHelper.getInStringSeconds(Integer.toString(AlarmReceiver.POLL_INTERVAL)));\n \t\n \tif (jobExecutionContext != null){\n \t\tif (interval != CURRENT_POLL_INTERVAL) {\n \t\t\ttry {\n \t\t\t\tTrigger updateTrigger = TriggerBuilder\n \t\t\t\t\t\t.newTrigger()\n \t\t\t\t\t\t.withSchedule(\n \t\t\t\t\t\t\t\tSimpleScheduleBuilder.simpleSchedule()\n \t\t\t\t\t\t\t\t.withIntervalInSeconds(interval).repeatForever())\n \t\t\t\t\t\t\t\t.build();\n \t\t\t\tTrigger oldTrigger = jobExecutionContext.getTrigger();\n \t\t\t\tScheduler scheduler = StdSchedulerFactory.getDefaultScheduler();\n \t\t\t\tscheduler.rescheduleJob(oldTrigger.getKey(), updateTrigger);\n \t\t\t} catch (SchedulerException e) {\n \t\t\t\te.printStackTrace();\n \t\t\t}\n \t\t}\n \t} else{\n \t\tinitSchedulerForPolling(interval);\n \t}\n \t\n }","title":""},{"docid":"3db2446bba80dd3bff8ceee8dfa4fde4","score":"0.6067457","text":"private void startLocationTracker() {\n AlarmManager alarmManager = (AlarmManager) getSystemService(Context.ALARM_SERVICE);\n PendingIntent pendingIntent = PendingIntent.getBroadcast(this, 0, intent, 0);\n alarmManager.setRepeating(AlarmManager.RTC_WAKEUP, Calendar.getInstance().getTimeInMillis(),\n LocationProvider.FIVE_MINUTES, pendingIntent);\n }","title":""},{"docid":"02b1b0ab5427e62f02983222829c8e00","score":"0.6061842","text":"@Override\n public void onRequestAlarm(JSONObject json) {\n\n }","title":""},{"docid":"26f85e887691c6e5af645c46a6710bc5","score":"0.6061714","text":"public Alarm() {\n\t\tMachine.timer().setInterruptHandler(new Runnable() {\n\t\t\tpublic void run() {\n\t\t\t\ttimerInterrupt();\n\t\t\t}\n\t\t});\n\t}","title":""},{"docid":"4958e5816291271051996ab8548a27bb","score":"0.60540545","text":"private void schedule(long period) {\r\n if (logger.isLoggable(BasicLevel.DEBUG))\r\n logger.log(BasicLevel.DEBUG, \"Schedule wake up task, period=\" + period);\r\n\r\n if (period > 0) {\r\n try {\r\n Timer timer = AgentServer.getTimer();\r\n if (!schedule) {\r\n timer.schedule(this, period, period);\r\n schedule = true;\r\n }\r\n } catch (Exception exc) {\r\n if (logger.isLoggable(BasicLevel.WARN))\r\n logger.log(BasicLevel.WARN, \"--- \" + this, exc);\r\n }\r\n }\r\n }","title":""},{"docid":"1be3ed1ec145da3bdc36102401da79a5","score":"0.6048799","text":"@Override\n public void onReceive(Context context, Intent intent){\n Log.i(\"AlarmReceiver received an alarm\");\n\n Dao dao = new Dao(context);\n\n // check to see we actually want to fire the alarm on this day\n int dayOfWeek = Calendar.getInstance().get(Calendar.DAY_OF_WEEK);\n if (dao.getBooleanPreference(Constants.DAY_PREPEND + dayOfWeek)) {\n Log.i(\"We DO WANT to fire alarm for \" + dayOfWeek + \"->\" + Constants.DAY_MAP_NAMES[dayOfWeek]);\n\n dao.setBooleanPreference(Constants.DO_ALARM, true);\n\n AlarmAlertWakeLock.acquireCpuWakeLock(context);\n\n Intent playAlarm = new Intent(context, MainAlarm.class);\n playAlarm.putExtra(Constants.FROM_ALARM, true);\n playAlarm.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n playAlarm.addFlags(16384);\n\n context.startActivity(playAlarm);\n } else {\n Log.i(\"We DONT WANT to fire alarm for \" + dayOfWeek + \"->\" + Constants.DAY_MAP_NAMES[dayOfWeek]);\n }\n\n }","title":""},{"docid":"fa24dc07d99651c63dd64a2b46e1dfc4","score":"0.60473704","text":"public void triggerAlarmManager(int alarmTriggerTime) {\n // get a Calendar object with current time\n Calendar cal = Calendar.getInstance();\n // add alarmTriggerTime seconds to the calendar object\n cal.add(Calendar.SECOND, alarmTriggerTime);\n\n AlarmManager manager = (AlarmManager) getSystemService(Context.ALARM_SERVICE);//get instance of alarm manager\n manager.set(AlarmManager.RTC_WAKEUP, cal.getTimeInMillis(), pendingIntent);//set alarm manager with entered timer by converting into milliseconds\n\n Toast.makeText(this, \"Alarm Set for \" + alarmTriggerTime + \" seconds.\", Toast.LENGTH_SHORT).show();\n }","title":""},{"docid":"67bbccc71b3a3c5600b4dc994e1216d8","score":"0.6043545","text":"void setAlarmHours(int warningHours, int urgentHours);","title":""},{"docid":"26f5a1d01cb8b084a6f179909f2f5a69","score":"0.60433537","text":"public void powerHourResumed() {\n\t\t\n\t}","title":""},{"docid":"fe449efda0c341e66edf1f1ecd79812b","score":"0.6023418","text":"public static void scheduleWeeklyGoalsService(Context context){\n if(UserAccountUtilities.getUserKey(context) != null){\n //Sets up a PendingIntent to start the Service\n AlarmManager alarmManager = (AlarmManager)context.getSystemService(ALARM_SERVICE);\n String userKey = UserAccountUtilities.getUserKey(context);\n Intent serviceIntent = new Intent(context, WeeklyGoalsService.class);\n serviceIntent.putExtra(WeeklyGoalsService.USER_KEY_EXTRA, userKey);\n PendingIntent pendingIntent = PendingIntent.getService(context, 0, serviceIntent, 0);\n\n //Cancels any previous scheduled PendingIntents\n if(alarmManager != null){\n alarmManager.cancel(pendingIntent);\n }\n\n //Sets the execution date to the start of Monday\n Calendar calendar = Calendar.getInstance();\n\n do{\n calendar.add(Calendar.DAY_OF_WEEK, 1);\n } while(calendar.get(Calendar.DAY_OF_WEEK) != Calendar.MONDAY);\n\n calendar.set(Calendar.AM_PM, Calendar.AM);\n calendar.set(Calendar.HOUR, 0);\n calendar.set(Calendar.MINUTE, 0);\n calendar.set(Calendar.SECOND, 0);\n\n //Schedules the Service to run on Monday morning\n if(alarmManager != null){\n alarmManager.set(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), pendingIntent);\n }\n }\n }","title":""},{"docid":"f004542ea7e16cebc4b08dcbb21085a6","score":"0.59987223","text":"public static void generaAlarmaSincronizarApp (Context context) {\n \n try {\n AlarmManager alarmManager = (AlarmManager) context.getSystemService (Context.ALARM_SERVICE);\n Intent alarmIntent = new Intent (BROADCAST_APP_SYNC); // AlarmReceiver1 = broadcast receiver\n PendingIntent pendingIntent = PendingIntent.getBroadcast (context, ALARMMANAGER_REQUESTCODE_APP_SYNC, alarmIntent, flagBanner);\n if (alarmManager != null) {\n alarmManager.cancel (pendingIntent);\n Calendar alarmStartTime = Calendar.getInstance ();\n alarmStartTime.add(Calendar.HOUR_OF_DAY, BrioGlobales.TIME_SYNC_HOUR);\n alarmStartTime.add(Calendar.MINUTE, BrioGlobales.TIME_SYNC_MIN);\n alarmStartTime.add(Calendar.SECOND, BrioGlobales.TIME_SYNC_SEC);\n alarmManager.set(AlarmManager.RTC_WAKEUP, alarmStartTime.getTimeInMillis(), pendingIntent);\n \n// alarmManager.setRepeating (AlarmManager.RTC_WAKEUP, alarmStartTime.getTimeInMillis (), INTERVAL_APP_SYNC, pendingIntent);\n String fecha = new SimpleDateFormat (\"yyyy-MM-dd HH:mm:ss\").format (alarmStartTime.getTimeInMillis ());\n // Log.e(TAG + \" - \", \"generaAlarmaSincronizarApp:\" + fecha);\n }\n } catch (Exception e) {\n e.printStackTrace ();\n BrioGlobales.ArchivoLog.escribirLineaFichero (BrioUtilsFechas.obtenerFechaDiaHoraFormat () + TAG + \"->generaAlarmaSincronizarApp\" + e.getMessage ());\n }\n }","title":""},{"docid":"c18a8e814bb168e7f1d04ede6930362c","score":"0.59889925","text":"private void sched(Context contexto) {\n\t\tIntent it = new Intent(\"RT_LOCK\");\n\t\tPendingIntent p = PendingIntent.getBroadcast(contexto, 0, it, 0);\n\t\n\t\t// Para executar o alarme depois de x segundos a partir de agora\n\t\tCalendar c = Calendar.getInstance();\n\t\tc.setTimeInMillis(System.currentTimeMillis());\n\t\tc.add(Calendar.SECOND, 2);\n\t\n\t\t// Agenda o alarme\n\t\tAlarmManager alarme = (AlarmManager) contexto.getSystemService(Context.ALARM_SERVICE);\n\t\tlong time = c.getTimeInMillis();\n\t\talarme.set(AlarmManager.RTC_WAKEUP, time, p);\n//\t\talarme.setRepeating(AlarmManager.RTC_WAKEUP, time, tempoRepetir, p);\t\t\n\t}","title":""},{"docid":"259730f4becfaf3d37425cd03f9affcc","score":"0.5982656","text":"@Override\n\t\tpublic void playAlarmBeep() {\n\t\t\t\n\t\t}","title":""},{"docid":"48870085f7dd7e4e43f815f92befeeaf","score":"0.5970404","text":"private static void scheduleAutomaticUpdates(Context context) {\r\n AlarmManager alarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);\r\n\r\n if (LogUtils.DEBUG) {\r\n Log.d(TAG, \"Starting automatic updates schedule..\");\r\n }\r\n alarmManager.setRepeating(AlarmManager.RTC, System.currentTimeMillis(), Configuration\r\n .getUpdateInterval(context), PendingIntent.getBroadcast(context, 0, new Intent(\r\n Updater.ACTION_UPDATE_COUNTERS), PendingIntent.FLAG_CANCEL_CURRENT));\r\n }","title":""},{"docid":"2f445c89d665534e20bcb9c05d47418e","score":"0.5968714","text":"public void tick(LocalTime t, LocalDate d){\n\t\t//Change the time based on current weather/traffic conditions\n\t\tDuration traffic = getTrafficShift();\n\t\tDuration weather = getWeatherShift();\n\t\t//If there are no alarms set to go off today, don't bother checking. \n\t\tif(alarms.peek() != null && alarms.getFirst().getDay().equals(d)){\n\t\tif(traffic != null)\n\t\t\tt.plus(traffic);\n\t\tif(weather != null)\n\t\t\tt.plus(weather);\n\t\t//If the shifted time either passed by or is at the soonest alarm time(s), trip it/them.\n\t\twhile(!alarms.isEmpty() && alarms.getFirst().getTime().compareTo(t) <= 0){\n\t\t\tAlarm alarm = alarms.removeFirst();\n\t\t\tthis.tripAlarm(alarm);\n\t\t\t//If the alarm is set to repeat, re-add it but set for tomorrow. \n\t\t\tif(alarm.doesRepeat())\n\t\t\t\tthis.setAlarm(alarm.getTime(), alarm.getDay().plusDays(1), true);\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"f966f488272b2d8435202e9967d53167","score":"0.59644896","text":"private void setRecurringAlarmProd(Context context) {\r\n\r\n Calendar updateTime = Calendar.getInstance();\r\n updateTime.setTimeInMillis(System.currentTimeMillis());\r\n\r\n // collect stats on every 50th minute of the day\r\n updateTime.set(Calendar.MINUTE, 50);\r\n updateTime.set(Calendar.SECOND, 0);\r\n Intent downloader = new Intent(context, StatsCollectionAlarmReceiver.class);\r\n PendingIntent statCollector = PendingIntent.getBroadcast(context,\r\n 0, downloader, 0);\r\n AlarmManager alarms = (AlarmManager) getSystemService(\r\n Context.ALARM_SERVICE);\r\n alarms.setInexactRepeating(AlarmManager.RTC_WAKEUP,\r\n updateTime.getTimeInMillis(),\r\n AlarmManager.INTERVAL_HOUR, statCollector);\r\n\r\n // send data at 23:55 every day\r\n Calendar uploadTime = Calendar.getInstance();\r\n uploadTime.setTimeInMillis(System.currentTimeMillis());\r\n uploadTime.set(Calendar.HOUR_OF_DAY, 23);\r\n uploadTime.set(Calendar.MINUTE, 55);\r\n uploadTime.set(Calendar.SECOND, 0);\r\n\r\n Intent uploadIntent = new Intent(context, ServerUploaderReceiver.class);\r\n PendingIntent uploadPending = PendingIntent.getBroadcast(context, 0, uploadIntent, 0);\r\n AlarmManager uploadAlarm = (AlarmManager) getSystemService(Context.ALARM_SERVICE);\r\n uploadAlarm.setInexactRepeating(AlarmManager.RTC_WAKEUP,\r\n uploadTime.getTimeInMillis(),\r\n AlarmManager.INTERVAL_DAY,\r\n uploadPending);\r\n }","title":""},{"docid":"b6b98eaa5346a07f31f3f7649e430753","score":"0.59527904","text":"public void setAlarm(String time) throws UiObjectNotFoundException {\n\t\tUiObject uiTab = getObjByClsIdx(\"android.app.ActionBar$Tab\", 0);\n\t\tif (!uiTab.isSelected())\n\t\t\tuiTab.clickAndWaitForNewWindow();\n\t\tgetObjByDesc(\"Add alarm\").clickAndWaitForNewWindow();\n\t\t//TODO:\n\t}","title":""},{"docid":"080f893811b4adacabcb83ef68747475","score":"0.59518313","text":"public void setAlarm(VibrateTimer vt, Context context){\n\t\tif(!datastore.contains(vt.getId()))\n\t\t\tdatastore.addToDB(vt);\n\t\tList startTimes = vt.getStartAlarmCalendars();\n\t\tList endTimes = vt.getEndAlarmCalendars();\n\t\tint timerId = vt.getId();\n\t\tfor (Calendar startTime : startTimes) {\n\t\t\tint id = timerId + startTime.get(Calendar.DAY_OF_WEEK);\n\t\t\tIntent activateVibration = new Intent(parent, VibrateOnBroadcastReceiver.class); \n\t\t\tcreateSystemTimer(startTime.getTimeInMillis(), id, activateVibration);\n\t\t}\n\t\tfor(Calendar endTime : endTimes){\n\t\t\tint id = timerId + endTime.get(Calendar.DAY_OF_WEEK) + 10;\n\t\t\tIntent disableVibration = new Intent(parent, VibrateOffBroadcastReceiver.class);\n\t\t\tcreateSystemTimer(endTime.getTimeInMillis(), id, disableVibration);\n\t\t}\n\t}","title":""},{"docid":"13717e7772421c211e4f79e8a219fb56","score":"0.5947727","text":"public static boolean setReminder(Context context, Class cls, int year, int month, int day,\n int hour, int min,int tripID)\n {\n //get a Calendar instance based on the current time\n Calendar calendar = Calendar.getInstance();\n\n //set the scheduled trip time\n Calendar setcalendar = Calendar.getInstance();\n setcalendar.set(year,month,day);\n setcalendar.set(Calendar.HOUR_OF_DAY, hour);\n setcalendar.set(Calendar.MINUTE, min);\n\n // check whether this scheduled time is in the future, show a error message if it is in the\n // past\n if(setcalendar.before(calendar)){\n Toast.makeText(context,\"Wrong for creating a future trip, Please try it again!\",Toast.LENGTH_SHORT).show();\n return false;\n }else {\n // Enable a receiver\n ComponentName receiver = new ComponentName(context, cls);\n PackageManager pm = context.getPackageManager();\n\n pm.setComponentEnabledSetting(receiver,\n PackageManager.COMPONENT_ENABLED_STATE_ENABLED,\n PackageManager.DONT_KILL_APP);\n\n // Create new intent\n Intent intent1 = new Intent(context, cls);\n PendingIntent pendingIntent = PendingIntent.getBroadcast(context, tripID, intent1, PendingIntent.FLAG_ONE_SHOT);\n\n // Set an alarm\n AlarmManager am = (AlarmManager) context.getSystemService(ALARM_SERVICE);\n am.setInexactRepeating(AlarmManager.RTC_WAKEUP, setcalendar.getTimeInMillis(), AlarmManager.INTERVAL_DAY, pendingIntent);\n Toast.makeText(context, \"A future reminder is successfully set!\", Toast.LENGTH_SHORT).show();\n }\n return true;\n }","title":""},{"docid":"5827b3edffd8bc8c2b98c1081f13c9a3","score":"0.5946852","text":"public static void scheduleAlarm(Context context, long offset, NotificationType notificationType )\n {\n\n Long time = new GregorianCalendar().getTimeInMillis() + offset;\n // create an Intent and set the class which will execute when Alarm triggers, here we have\n // given AlarmReciever in the Intent, the onRecieve() method of this class will execute when\n // alarm triggers and\n //we will write the code to send SMS inside onRecieve() method pf Alarmreciever class\n Intent intentAlarm = new Intent(context, AlarmReceiver.class);\n\n intentAlarm.putExtra(NOTIFICATION_TYPE, notificationType.name());\n\n final int alarmId = notificationType == NotificationType.JOURNALTIME ? AlarmType.JOURNAL.ordinal() : AlarmType.TIP.ordinal();\n // find any previous scheduled alarm and cancel them\n PendingIntent pendingIntent = PendingIntent.getBroadcast(context, alarmId, intentAlarm, PendingIntent.FLAG_UPDATE_CURRENT);\n\n // create the object\n AlarmManager alarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);\n\n if(pendingIntent != null) {\n pendingIntent.cancel();\n alarmManager.cancel(pendingIntent);\n }\n\n //set the alarm for particular time\n alarmManager.setInexactRepeating(AlarmManager.RTC_WAKEUP, time, MILLISECONDS_A_DAY, PendingIntent.getBroadcast(context, alarmId, intentAlarm, PendingIntent.FLAG_UPDATE_CURRENT));\n }","title":""},{"docid":"9f5c6a97eeda545dc70089ebf4641b66","score":"0.59296","text":"int checkForAlarm();","title":""},{"docid":"73f6564376ef9c60bd68290f9b385d9e","score":"0.59011734","text":"public void checkForAppt() throws SQLException, ParseException{\r\n\tLocalDateTime now = LocalDateTime.now();\r\n LocalDateTime future = LocalDateTime.now().plusMinutes(15);\r\n \r\n String sNow = now.format(formatter);\r\n String sFuture = future.format(formatter);\r\n String location = \"UTC\";\r\n \r\n //Taking Current Time and 15 min and switching into \"UTC\" Time\r\n String sNowU = Appointment.getUTCLocationDateTime(location, sNow);\r\n String sFutureU = Appointment.getUTCLocationDateTime(location, sFuture);\r\n \r\n //Check against database if there are any appointments within 15 min. \r\n if (Appointment.appointmentAvialableUser(sNowU,sFutureU) == false){\r\n //Message for Appointment within 15 min\r\n Alert alert = new Alert(Alert.AlertType.INFORMATION);\r\n alert.setTitle(\"Appointment\");\r\n alert.setHeaderText(\"Pending Appointment\");\r\n alert.setContentText(\"You have an Appointment with 15 min\");\r\n alert.showAndWait();\r\n } \r\n }","title":""},{"docid":"209812223d8916a6c653f837ceda8191","score":"0.58967733","text":"public Alarm() {\r\n \r\n \t\r\n\tMachine.timer().setInterruptHandler(new Runnable() {\r\n\t\tpublic void run() { timerInterrupt(); }\r\n\t });\r\n }","title":""},{"docid":"0fe24babdc45a8e2446ae72b31bbc2b5","score":"0.5893434","text":"public void onClick(View view) {\n\t\t\t\tstopService(alarmIntent);\n\t\t\t\tsetCurrentTime();\n\t\t\t\tsetCurrentDate();\n\t\t\t\tCalendar cal = Calendar.getInstance();\n\t\t\t\tmanager = (AlarmManager) getSystemService(Context.ALARM_SERVICE);\n\n\t\t\t\tSimpleDateFormat format = new SimpleDateFormat(\n\t\t\t\t\t\t\"MM-dd-yyyy HH:mm\");\n\t\t\t\tString setDateTime = date.getText().toString() + \" \"\n\t\t\t\t\t\t+ time.getText().toString();\n\t\t\t\tString currentDateTime = currentDate.toString() + \" \"\n\t\t\t\t\t\t+ currentTime.toString();\n\t\t\t\tDate d1 = null;\n\t\t\t\tDate d2 = null;\n\t\t\t\ttry {\n\t\t\t\t\td1 = format.parse(setDateTime);\n\t\t\t\t\td2 = format.parse(currentDateTime);\n\t\t\t\t\tLong diff = (d1.getTime() - d2.getTime());\n\t\t\t\t\tLog.i(\"works12\", \"Works in \" + diff.toString());\n\t\t\t\t\tBundle bundle = new Bundle();\n\t\t\t\t\tbundle.putString(\"phoneNo\", txtphoneNo.getText().toString());\n\t\t\t\t\tbundle.putString(\"txtMessage\", txtMessage.getText()\n\t\t\t\t\t\t\t.toString());\n\t\t\t\t\tbundle.putInt(\"serviceCounter\",1);\n\t\t\t\t\talarmIntent.putExtras(bundle);\n\t\t\t\t\tstartService(alarmIntent);\n\t\t\t\t\tmanager.setRepeating(AlarmManager.RTC_WAKEUP,\n\t\t\t\t\t\t\tcal.getTimeInMillis(), diff, pendingIntent);\n\t\t\t\t} catch (ParseException 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\n\t\t\t}","title":""},{"docid":"ba34cece6aadb6ec107ff76b6f821dc7","score":"0.5892119","text":"public AlarmEntry(int startHour,int startMin,byte repeat,boolean isOn){\n this.startHour = startHour;\n this.startMin = startMin;\n this.repeat = repeat;\n this.isOn = isOn;\n }","title":""},{"docid":"efaeb2fb458f25580eb66d4473cc8c4e","score":"0.5890011","text":"@Override\n\t\t\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\t\t\t\t\t\tIntent notificationIntent = new Intent(\n\t\t\t\t\t\t\t\tMainActivity.this, NotificationService.class);\n\t\t\t\t\t\tpendingIntent = PendingIntent.getService(\n\t\t\t\t\t\t\t\tMainActivity.this, 0, notificationIntent, 0);\n\t\t\t\t\t\tAlarmManager alarmManager = (AlarmManager) getSystemService(ALARM_SERVICE);\n\t\t\t\t\t\tCalendar calendar = Calendar.getInstance();\n\t\t\t\t\t\tcalendar.setTimeInMillis(System.currentTimeMillis());\n\t\t\t\t\t\tcalendar.add(Calendar.MINUTE, timings[which]);\n\t\t\t\t\t\talarmManager.set(AlarmManager.RTC_WAKEUP,\n\t\t\t\t\t\t\t\tcalendar.getTimeInMillis(), pendingIntent);\n\n\t\t\t\t\t\tToast.makeText(MainActivity.this,\n\t\t\t\t\t\t\t\t\"Reminder is Set!\", Toast.LENGTH_SHORT)\n\t\t\t\t\t\t\t\t.show();\n\t\t\t\t\t\tdialog.dismiss();\n\n\t\t\t\t\t\t// alert the user with another notification, that says\n\t\t\t\t\t\t// remider has set\n\n\t\t\t\t\t\t// Set the icon, scrolling text and timestamp\n\t\t\t\t\t\tUri soundUri = RingtoneManager\n\t\t\t\t\t\t\t\t.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION);\n\n\t\t\t\t\t\t// The PendingIntent to launch our activity if the user\n\t\t\t\t\t\t// selects this notification\n\t\t\t\t\t\tPendingIntent contentIntent = PendingIntent\n\t\t\t\t\t\t\t\t.getActivity(MainActivity.this, 0, new Intent(\n\t\t\t\t\t\t\t\t\t\tMainActivity.this, MainActivity.class),\n\t\t\t\t\t\t\t\t\t\t0);\n\n\t\t\t\t\t\tNotification notification = new Notification.Builder(\n\t\t\t\t\t\t\t\tMainActivity.this)\n\t\t\t\t\t\t\t\t.setContentTitle(\"ParkMyCar\")\n\t\t\t\t\t\t\t\t.setContentText(\n\t\t\t\t\t\t\t\t\t\t\"Reminder is set to: \"\n\t\t\t\t\t\t\t\t\t\t\t\t+ calendar.get(Calendar.HOUR)\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+ calendar.get(Calendar.MINUTE)\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+ calendar.getDisplayName(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tCalendar.AM_PM,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tCalendar.SHORT,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocale.US))\n\t\t\t\t\t\t\t\t.setWhen(System.currentTimeMillis())\n\t\t\t\t\t\t\t\t.setSound(soundUri)\n\t\t\t\t\t\t\t\t.setSmallIcon(R.drawable.ic_launcher)\n\t\t\t\t\t\t\t\t.setContentIntent(contentIntent)\n\t\t\t\t\t\t\t\t.setVibrate(\n\t\t\t\t\t\t\t\t\t\tnew long[] { 1000, 1000, 1000, 1000,\n\t\t\t\t\t\t\t\t\t\t\t\t1000 })\n\t\t\t\t\t\t\t\t.setLights(Color.RED, 3000, 3000).build();\n\n\t\t\t\t\t\t// clear notification after pressing:\n\t\t\t\t\t\tnotification.flags |= Notification.FLAG_AUTO_CANCEL;\n\n\t\t\t\t\t\t// Send the notification.\n\n\t\t\t\t\t\tNotificationManager mNM = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);\n\t\t\t\t\t\tif (mNM != null) {\n\t\t\t\t\t\t\tmNM.cancel(123456);\n\t\t\t\t\t\t\tmNM.cancel(123457);\n\t\t\t\t\t\t\tmNM.notify(123457, notification);\n\t\t\t\t\t\t}\n\t\t\t\t\t}","title":""},{"docid":"3e093bd170d1d4acdb589a49cb801974","score":"0.5889386","text":"@Override\n public void onReceive(@NonNull Context context, Intent intent) {\n Log.d(\"SnoozeReceiver\", \"snoozing\");\n Calendar calendar = Calendar.getInstance();\n calendar.add(Calendar.MINUTE, Integer.parseInt(PreferenceManager.getDefaultSharedPreferences(context).getString(PreferenceKeys.SNOOZE, PreferenceKeys.DEFAULT_SNOOZE)));\n Alarm.setAlarm(calendar, context);\n NotificationManagerCompat.from(context).cancel(AlarmReceiver.NOTIFICATION_ID);\n PreferenceManager.getDefaultSharedPreferences(context).edit().putInt(PreferenceKeys.ALARM_MODE, 2).apply();\n AlarmReceiver.stopRingtone();\n context.sendBroadcast(new Intent(ALARM_BROADCAST));\n }","title":""},{"docid":"8218ce26ace93f78775da16aaf423b04","score":"0.5888053","text":"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tif(cb5.isChecked()){\n\t\t\t\t\tContext c=MainActivity.this;\n\t\t\t\t\t//...................jan...1\n\t\t\t\t i5=new Intent(getBaseContext(),alarm5.class);\n\t\t\t pi5=PendingIntent.getBroadcast(getBaseContext(), 0, i5,PendingIntent.FLAG_CANCEL_CURRENT);\n\t\t\t Calendar cal5=Calendar.getInstance();\n\t\t\t cal5.setTimeInMillis(System.currentTimeMillis()); //cal.getTimeInMillis();\n\t\t\t // cal.set(2014,0,1, 6 ,00,00);\n\t\t\t //cal.add(Calendar.SECOND,5);\n\t\t\t \n\t\t\t cal5.set(Calendar.MONTH,1);\n\t\t\t cal5.set(Calendar.DAY_OF_MONTH,24);\n\t\t\t cal5.set(Calendar.HOUR_OF_DAY,7);\n\t\t\t cal5.set(Calendar.MINUTE,00);\n\t\t\t cal5.set(Calendar.SECOND, 00);\n\t\t\t manager=(AlarmManager) c.getSystemService(ALARM_SERVICE);\n\t\t\t manager.setRepeating(AlarmManager.RTC_WAKEUP,cal5.getTimeInMillis(),5*1000*60,pi5);\n\t\t\t \n\t\t\t\t\tb5.setVisibility(View.VISIBLE);\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}","title":""},{"docid":"ac4f631e50a2baf65bbbb710b7963858","score":"0.58835584","text":"public void MADailyTimesheet()\r\n\t{\r\n\t\tString pass = \"MA_Daily\";\r\n\t\talaskaAssociate(pass);\r\n\t}","title":""},{"docid":"e6378d7db1ec48af02fc2d04e0654220","score":"0.5871751","text":"@Scheduled(every = \"1m\")\n void onTime(){\n }","title":""},{"docid":"64a441d9df6c8d6c8ce83cd22a14ce5a","score":"0.5866127","text":"private void createSystemTimer(long time, int id, Intent intent){\n\t\tPendingIntent startVibrating = PendingIntent.getBroadcast(parent,\n\t\t\t\tid, intent, PendingIntent.FLAG_UPDATE_CURRENT);\n\t\tam.setRepeating(AlarmManager.RTC, time, WEEK_MILLISECONDS, startVibrating); \n\t}","title":""},{"docid":"1771b27e521e06e05a25ee437c39e3fd","score":"0.5865324","text":"@Scheduled(cron=\"0 0 23 * * *\")\n\t//@Scheduled(cron=\"0 59 16 * * *\")\n\t//@Scheduled(cron=\"*/5 * * * * ?\")\n\t//@Scheduled(cron=\"*/5 * * * * *\")\n\tpublic void doSchedule() {\n\t\tlogger.info(\"Start schedule\");\n\t\tmraWorker.work();\n\t\tlogger.info(\"End schedule\");\n\t}","title":""},{"docid":"8fe3360fffbff330f5165f0b9afd11b7","score":"0.58541465","text":"public Alarm() {\n\t\tthis.id = this.generateUniqueId();\n\t\t\n\t\tCalendar calendar = Calendar.getInstance();\n\t\tthis.hour = calendar.get(Calendar.HOUR_OF_DAY);\n\t\tthis.minute = calendar.get(Calendar.MINUTE);\n\t\t\n\t\tthis.city = new City();\n\t\tthis.active = Boolean.TRUE;\n\t}","title":""},{"docid":"415592eceeafe681cec9131a29f1b31d","score":"0.58537143","text":"public void openAlarm() {\n Intent intent = new Intent(this, alarm.class);\n startActivity(intent);\n }","title":""},{"docid":"f1395f4b3f8a2984afa11d08f76b9e50","score":"0.58523154","text":"WarbandsAlarm() {\n\n dayToEpochMillis = processFile(\"warbands.txt\");\n\n }","title":""},{"docid":"9c6b8329250507178102fd90693867cb","score":"0.58492553","text":"public static void startRepeatingNotificationService(Context context) {\n\t\tIntent intent = new Intent(context, CheckNotificationServiceReceiver.class);\n\t\tPendingIntent pending = PendingIntent.getBroadcast(context, 0, intent, PendingIntent.FLAG_CANCEL_CURRENT);\n\t\tAlarmManager service = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);\n\t\tCalendar cal = Calendar.getInstance();\n\t\t//start 10 minutes after the boot is completed or after called\n\t\tcal.add(Calendar.MINUTE, 10);\n\t\t//fetch in exactly half an hour\n\t\tservice.setInexactRepeating(AlarmManager.RTC_WAKEUP, cal.getTimeInMillis(), AlarmManager.INTERVAL_HOUR, pending);\n\t}","title":""},{"docid":"657c1ada4477bcc7ec17a14477b2c6fc","score":"0.5837954","text":"public void alarmSet(long num){\n Calendar t = Calendar.getInstance();\n // Set start time after the given time\n t.setTimeInMillis(num);\n result = true;\n Context context = this;\n AlarmManager alarmMgr;\n alarmMgr = (AlarmManager)getSystemService(Context.ALARM_SERVICE);\n Intent intent = new Intent(this, AlarmReceiver.class);\n intent.putExtra(\"some_constant\", result);\n PendingIntent pendingIntent = PendingIntent.getBroadcast(context, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT);\n alarmMgr.set(AlarmManager.RTC_WAKEUP, t.getTimeInMillis(), pendingIntent);\n\n // Start getting hardware data to determine what is the right time to stop.\n getDataAsyncTask tsk = new getDataAsyncTask(num+1000);\n tsk.execute();\n }","title":""},{"docid":"e3921b79c1bda93376729e27ee59213e","score":"0.58361137","text":"public void schedule();","title":""},{"docid":"3b6460b773b70215a7d75e2eeceda65b","score":"0.58320993","text":"@Override\n public void onTimeSet(TimePicker view, int hourOfDay, int minute) {\n cHour = hourOfDay;\n cMinute = minute;\n\n customCalender.set(cYear,cMonth,cDay,cHour,cMinute);\n\n startTime = customCalender.getTimeInMillis();\n startAlarm((int) startTime);\n tvDate.setText(date_time+\" \"+hourOfDay + \":\" + minute);\n }","title":""},{"docid":"a7879e6f9c28ee3dd8686fb0a7429309","score":"0.5830191","text":"@Override\r\n\tpublic void morning() {\n\t\tSystem.out.println(\"Shubodaya\");\r\n\t\t\r\n\t}","title":""},{"docid":"bb88c2c1a3c6472de7408beef2b3cbe3","score":"0.58285964","text":"protected void setExpirationAlarm() {\n AlarmManager alarmManager = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE);\n Intent intent = new Intent(ACTION_ALARM_EXPIRING);\n PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, 0, intent, PendingIntent.FLAG_ONE_SHOT\n | PendingIntent.FLAG_UPDATE_CURRENT);\n alarmManager.cancel(pendingIntent);\n long expirationDate = getAlarmExpiration();\n if (getAlarmExpirationTimeout() > 0 && expirationDate > 0) {\n long currentTimeMillis = System.currentTimeMillis();\n long timeout = expirationDate - currentTimeMillis;\n // if alarm has expired, recalculate a new expiration date\n if (timeout <= 0) {\n expirationDate = currentTimeMillis + timeout % MS_PER_DAY + MS_PER_DAY;\n expirationDate = currentTimeMillis + getAlarmExpirationTimeout();\n }\n\n alarmManager.set(AlarmManager.RTC, expirationDate, pendingIntent);\n }\n }","title":""},{"docid":"b29051c62224b113c8cff92a1447c2d1","score":"0.5827688","text":"@Override\n public void autonomousPeriodic() {\n SmartDashboard.putNumber(\"MatchTime\", Timer.getMatchTime());\n Scheduler.getInstance().run();\n }","title":""},{"docid":"35c725ddc6f3d65e03f48ad139bf9a57","score":"0.58096844","text":"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tif(cb4.isChecked()){\n\t\t\t\t\tContext c=MainActivity.this;\n\t\t\t\t\t//...................jan...1\n\t\t\t\t i4=new Intent(getBaseContext(),alarm4.class);\n\t\t\t pi4=PendingIntent.getBroadcast(getBaseContext(), 0, i4,PendingIntent.FLAG_CANCEL_CURRENT);\n\t\t\t Calendar cal4=Calendar.getInstance();\n\t\t\t cal4.setTimeInMillis(System.currentTimeMillis()); //cal.getTimeInMillis();\n\t\t\t // cal.set(2014,0,1, 6 ,00,00);\n\t\t\t //cal.add(Calendar.SECOND,5);\n\t\t\t \n\t\t\t cal4.set(Calendar.MONTH,1);\n\t\t\t cal4.set(Calendar.DAY_OF_MONTH,16);\n\t\t\t cal4.set(Calendar.HOUR_OF_DAY,7);\n\t\t\t cal4.set(Calendar.MINUTE,00);\n\t\t\t cal4.set(Calendar.SECOND, 00);\n\t\t\t manager=(AlarmManager) c.getSystemService(ALARM_SERVICE);\n\t\t\t manager.setRepeating(AlarmManager.RTC_WAKEUP,cal4.getTimeInMillis(),5*1000*60,pi4);\n\t\t\t \n\t\t\t\t\tb4.setVisibility(View.VISIBLE);\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}","title":""},{"docid":"71fa497364805b5f63e8aa1100497617","score":"0.58076096","text":"private void setRecurringAlarmTest(Context context) {\r\n long minuteCollect = 1000 * 60L;\r\n\r\n Calendar updateTime = Calendar.getInstance();\r\n updateTime.setTimeInMillis(System.currentTimeMillis());\r\n\r\n Intent downloader = new Intent(context, StatsCollectionAlarmReceiver.class);\r\n PendingIntent statCollector = PendingIntent.getBroadcast(context,\r\n 0, downloader, 0);\r\n AlarmManager alarms = (AlarmManager) getSystemService(\r\n Context.ALARM_SERVICE);\r\n alarms.setInexactRepeating(AlarmManager.RTC_WAKEUP,\r\n updateTime.getTimeInMillis(),\r\n minuteCollect, statCollector);\r\n\r\n Calendar uploadTime = Calendar.getInstance();\r\n uploadTime.setTimeInMillis(System.currentTimeMillis());\r\n\r\n Intent uploadIntent = new Intent(context, ServerUploaderReceiver.class);\r\n PendingIntent uploadPending = PendingIntent.getBroadcast(context, 0, uploadIntent, 0);\r\n AlarmManager uploadAlarm = (AlarmManager) getSystemService(Context.ALARM_SERVICE);\r\n uploadAlarm.setInexactRepeating(AlarmManager.RTC_WAKEUP,\r\n uploadTime.getTimeInMillis(),\r\n AlarmManager.INTERVAL_HOUR,\r\n uploadPending);\r\n }","title":""},{"docid":"7e32abf70454898d690565df85a4d191","score":"0.5806986","text":"public void startAlertTimer() {\n alertTimer = new Timer();\n alertTimer.scheduleAtFixedRate(new AlertTask(this.activeClock, this.activeCalendar), new Date(), interval);\n this.setChanged();\n }","title":""},{"docid":"3c9fb777e00f7b73089c91d16f40f934","score":"0.5802248","text":"public void setAlarms(Context context) {\r\n\t\tCalendar calendar = Calendar.getInstance();\r\n\t\t\r\n\t\t// Set repeating alarm for notifying the user\r\n//\t\tcalendar.set(Calendar.HOUR_OF_DAY, 12);\r\n//\t\tcalendar.set(Calendar.MINUTE, 0);\r\n//\t\tcalendar.set(Calendar.SECOND, 0);\r\n\t\tIntent notification = new Intent(context, NotificationReceiver.class);\r\n\t\tnotificationPendingIntent = PendingIntent.getBroadcast(context, 0, notification, PendingIntent.FLAG_CANCEL_CURRENT);\r\n\t\talarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);\r\n\t\talarmManager.cancel(notificationPendingIntent);\r\n//\t\talarmManager.setRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis() + 3*AlarmManager.INTERVAL_DAY,\r\n//\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t3*AlarmManager.INTERVAL_DAY, notificationPendingIntent);\r\n\r\n\t\t// Set repeating alarm for fetching data from server\r\n\t\tint hours = 10 + (int) (Math.random() * ((12 - 10) + 1));\r\n\t\tint minutes = 0 + (int) (Math.random() * ((60 - 0) + 1));\r\n\t\tcalendar.set(Calendar.HOUR_OF_DAY, hours);\r\n\t\tcalendar.set(Calendar.MINUTE, minutes);\r\n\t\tcalendar.set(Calendar.SECOND, 0);\r\n\t\tIntent dataFetch = new Intent(context, DataFetchReceiver.class);\r\n\t\tfetchingPendingIntent = PendingIntent.getBroadcast(context, 0, dataFetch, PendingIntent.FLAG_CANCEL_CURRENT);\r\n\t\talarmManager.cancel(fetchingPendingIntent);\r\n\t\talarmManager.setRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis() + AlarmManager.INTERVAL_DAY,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlarmManager.INTERVAL_DAY, fetchingPendingIntent);\r\n\t\t\r\n\t\t// Set repeating alarm for uploading usage data to server\r\n\t\thours = 17 + (int) (Math.random() * ((19 - 17) + 1));\r\n\t\tminutes = 0 + (int) (Math.random() * ((60 - 0) + 1));\r\n\t\tcalendar.set(Calendar.HOUR_OF_DAY, hours);\r\n\t\tcalendar.set(Calendar.MINUTE, minutes);\r\n\t\tcalendar.set(Calendar.SECOND, 0);\r\n\t\tIntent usageUpload = new Intent(context, UsageUploadReceiver.class);\r\n\t\tuploadPendingIntent = PendingIntent.getBroadcast(context, 0, usageUpload, PendingIntent.FLAG_CANCEL_CURRENT);\r\n\t\talarmManager.cancel(uploadPendingIntent);\r\n\t\talarmManager.setRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), AlarmManager.INTERVAL_DAY, uploadPendingIntent);\r\n\t}","title":""},{"docid":"076f34b36c7b4e471c347f60a079456b","score":"0.5799728","text":"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tif(cb1.isChecked()){\n\t\t\t\t\tContext c=MainActivity.this;\n\t\t\t\t\t//...................jan...1\n\t\t\t\t i=new Intent(getBaseContext(),alarm.class);\n\t\t\t pi=PendingIntent.getBroadcast(getBaseContext(), 0, i,PendingIntent.FLAG_CANCEL_CURRENT);\n\t\t\t Calendar cal=Calendar.getInstance();\n\t\t\t cal.setTimeInMillis(System.currentTimeMillis()); //cal.getTimeInMillis();\n\t\t\t // cal.set(2014,0,1, 6 ,00,00);\n\t\t\t //cal.add(Calendar.SECOND,5);\n\t\t\t \n\t\t\t cal.set(Calendar.MONTH,0);\n\t\t\t cal.set(Calendar.DAY_OF_MONTH,30);\n\t\t\t cal.set(Calendar.HOUR_OF_DAY,7);\n\t\t\t cal.set(Calendar.MINUTE,00);\n\t\t\t cal.set(Calendar.SECOND, 00);\n\t\t\t manager=(AlarmManager) c.getSystemService(ALARM_SERVICE);\n\t\t\t manager.setRepeating(AlarmManager.RTC_WAKEUP,cal.getTimeInMillis(),5*1000*60,pi);\n\t\t\t \n\t\t\t\t\tb.setVisibility(View.VISIBLE);\n\t\t\t\t\t\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\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t}","title":""},{"docid":"f748476da136c13d3d08d373395bbd25","score":"0.57983375","text":"public void test_repeatEachHour_iterations_noSchedule(){\n\t\tDate now = new Date(112, 4, 3, 21, 31);\n\t\tDate end = new Date(112, 5, 3, 12, 31);\n\t\tDate start = new Date(112, 4, 3, 18, 38);\n\n\t\tReminder a = new Reminder(\"\", \"\", start, end, true, Reminder.END_TYPE_ITERATIONS, Reminder.REPEAT_PERIOD_HOUR, 1, 2);\n\t\t\n\t\tDate result = a.getNextTimeLapse(now);\n\t\tassertNull(result);\n\t}","title":""}],"string":"[\n {\n \"docid\": \"9a03a5cf1f420aaac9dd52fd52daed9e\",\n \"score\": \"0.7318748\",\n \"text\": \"@TargetApi(24)\\n/*public void setTime(int hourOfDay,int minute)\\n{\\n\\n Calendar calendar = Calendar.getInstance();\\n calendar.set(java.util.Calendar.HOUR_OF_DAY, hourOfDay);\\n calendar.set(java.util.Calendar.MINUTE, minute);\\n calendar.set(java.util.Calendar.SECOND, 00);\\n Intent intent=new Intent(getApplicationContext(),DailyNotification.class);\\n PendingIntent pendingIntent= PendingIntent.getBroadcast(\\n getApplicationContext(), 100,intent,\\n PendingIntent.FLAG_UPDATE_CURRENT);\\n AlarmManager alarmManager=(AlarmManager)getSystemService(ALARM_SERVICE);\\n alarmManager.setRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), AlarmManager.INTERVAL_DAY, pendingIntent);\\n}*/\\n @Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.menu_reminder, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a6f7c8d6b89d243063555444deaf2a7\",\n \"score\": \"0.7268456\",\n \"text\": \"public void setAlarm() {\\n Intent intent = new Intent(context, AlarmReceiver.class);\\n PendingIntent receivedIntent =\\n PendingIntent.getBroadcast(context, 0, intent, PendingIntent.FLAG_CANCEL_CURRENT);\\n AlarmManager alarms = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);\\n alarms.setInexactRepeating(AlarmManager.ELAPSED_REALTIME_WAKEUP, 0,\\n AlarmManager.INTERVAL_HALF_HOUR, receivedIntent);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a57ec3ff25c02fd78a38fd117a6862c4\",\n \"score\": \"0.7216752\",\n \"text\": \"public void scheduleAlarm() {\\n // Construye un intent que va a ejecutar el AlarmReceiver\\n Intent intent = new Intent(getApplicationContext(), MyAlarmReceiver.class);\\n // Crea un PendigIntent para ser disparado cuando la alarma se apaga\\n final PendingIntent pIntent = PendingIntent.getBroadcast(this, MyAlarmReceiver.REQUEST_CODE,\\n intent, PendingIntent.FLAG_UPDATE_CURRENT);\\n // Prepara una alarma periodica cada 5 segundos\\n long firstMillis = System.currentTimeMillis(); // la alarma se establece de inmediato\\n AlarmManager alarm = (AlarmManager) this.getSystemService(Context.ALARM_SERVICE);\\n // El primer parametro es del tipo: ELAPSED_REALTIME, ELAPSED_REALTIME_WAKEUP, RTC_WAKEUP\\n // El intervalo puede ser INTERVAL_FIFTEEN_MINUTES, INTERVAL_HALF_HOUR, INTERVAL_HOUR, INTERVAL_DAY\\n alarm.setInexactRepeating(AlarmManager.RTC_WAKEUP, firstMillis,\\n AlarmManager.INTERVAL_FIFTEEN_MINUTES, pIntent);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1e3c08e891e1a20933ed64ed34819105\",\n \"score\": \"0.7211657\",\n \"text\": \"protected abstract void executeAlarm();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ad30572ae1e069919e36c4a883ff3f18\",\n \"score\": \"0.7151021\",\n \"text\": \"private void scheduleAlarm(){\\n \\tLong time = new GregorianCalendar().getTimeInMillis();\\n \\t\\n \\tLong interval = (long) (30*24*60*60*1000);\\n \\tIntent intentAlarm = new Intent(this, AlarmReciever.class);\\n \\t\\n \\tAlarmManager alarmManager = (AlarmManager) getSystemService(Context.ALARM_SERVICE);\\n \\t\\n \\t\\n \\talarmManager.setInexactRepeating(AlarmManager.RTC_WAKEUP, interval, interval, PendingIntent.getBroadcast(this,1, intentAlarm, PendingIntent.FLAG_UPDATE_CURRENT));\\n// \\talarmManager.set(AlarmManager.RTC_WAKEUP,time, PendingIntent.getBroadcast(this,1, intentAlarm, PendingIntent.FLAG_UPDATE_CURRENT));\\n \\tLog.e(\\\"alarm debug\\\", \\\"Zakazao alarm\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e5e05a58aa8799906132cfdcfa38d663\",\n \"score\": \"0.71421725\",\n \"text\": \"public void startAlarm(){\\n\\t AlarmManager am = (AlarmManager)context.getSystemService(Context.ALARM_SERVICE);\\n\\t Calendar cal=Calendar.getInstance();\\n\\t cal.set(Calendar.HOUR_OF_DAY, 18);\\n\\t cal.set(Calendar.MINUTE,0);\\n\\t cal.set(Calendar.SECOND, 0);\\n\\t cal.set(Calendar.MILLISECOND, 0);\\n\\t // long firstTime = c.getTimeInMillis();\\n\\t am.setRepeating(AlarmManager.RTC_WAKEUP,cal.getTimeInMillis(), 5*1000,mAlarmSender);\\n\\t // am.setInexactRepeating(AlarmManager.RTC_WAKEUP, firstTime, 5, mAlarmSender);\\n\\t // am.set(AlarmManager.RTC_WAKEUP, firstTime, mAlarmSender);\\n\\t // am.setRepeating(AlarmManager.ELAPSED_REALTIME_WAKEUP, 5 * 60 * 1000, 5 * 60 * 1000, mAlarmSender);\\n\\t \\n\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a5f78663a45d12067ac07df5ccb33e1\",\n \"score\": \"0.6982698\",\n \"text\": \"private void registerNotificationTime1() {\\n Calendar calendar1 = Calendar.getInstance();\\n calendar1.set(Calendar.HOUR_OF_DAY, 6);\\n Intent intent1 = new Intent(getApplicationContext(), AlarmReceiver.class);\\n PendingIntent pendingIntent1 = PendingIntent.getBroadcast(this, 100, intent1, PendingIntent.FLAG_ONE_SHOT);\\n AlarmManager am = (AlarmManager) this.getSystemService(this.ALARM_SERVICE);\\n am.setRepeating(AlarmManager.RTC_WAKEUP, calendar1.getTimeInMillis(), AlarmManager.INTERVAL_DAY, pendingIntent1);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2e96818ac5e7f02df556cbcd98bb7988\",\n \"score\": \"0.69417876\",\n \"text\": \"AlarmService alarms();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"07b9a7ab136eee32fa586512a671c0f0\",\n \"score\": \"0.69106704\",\n \"text\": \"private void setAlarm() {\\n\\t Calendar cal = Calendar.getInstance();\\n\\t cal.add(Calendar.SECOND, 5);\\n\\t\\n\\t //Create a new PendingIntent and add it to the AlarmManager\\n\\t Intent intent = new Intent(this, AlarmReceiverActivity.class);\\n\\t PendingIntent pendingIntent = PendingIntent.getActivity(this,\\n\\t 12345, intent, PendingIntent.FLAG_CANCEL_CURRENT);\\n\\t AlarmManager am =\\n\\t (AlarmManager)getSystemService(Activity.ALARM_SERVICE);\\n\\t am.set(AlarmManager.RTC_WAKEUP, cal.getTimeInMillis(),\\n\\t pendingIntent);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"08a607fcaafaa3d26a78d649b05ea6fa\",\n \"score\": \"0.6839939\",\n \"text\": \"@Override\\n public void onClick(View v) {\\n\\n Calendar calendar = Calendar.getInstance();\\n calendar.set(Calendar.HOUR_OF_DAY, 18); // Sends the notification at 18:00\\n\\n // Gets the logic for the notification from NotificationReceiver class:\\n Intent intent = new Intent(getApplicationContext(), NotificationReceiver.class);\\n intent.setAction(\\\"\\\");\\n\\n PendingIntent pendingIntent = PendingIntent.getBroadcast(getApplicationContext(),\\n 100, intent, PendingIntent.FLAG_UPDATE_CURRENT);\\n\\n AlarmManager alarmManager = (AlarmManager) getSystemService(ALARM_SERVICE);\\n alarmManager.setRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), AlarmManager.INTERVAL_DAY, pendingIntent); // Sends the notification daily\\n\\n Toast.makeText(getBaseContext(), \\\"Notifications enabled\\\", Toast.LENGTH_SHORT).show(); // Pop up message to show user that notifications are enabled\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9c840bced4c2469495c0558abbdfd292\",\n \"score\": \"0.6821258\",\n \"text\": \"public static void registerFirstAlarm(Context context){\\n\\t\\tCalendar cal = Calendar.getInstance();\\r\\n\\t\\t// set to 0:00 and next day...\\r\\n\\t\\tcal.add(Calendar.SECOND, 1);\\r\\n\\t\\tregisterAlarm(context, cal.getTimeInMillis());\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"76cc7b232a6a9a2dcab4ffaeab89d7f4\",\n \"score\": \"0.6807294\",\n \"text\": \"public void set_ontime_notification() {\\n Calendar ontimecal = Calendar.getInstance();\\n set_calendar(ontimecal, chosenstart_year, chosenstart_monthOfYear, chosenstart_dayOfMonth, chosenstart_hour, chosenstart_minute, 00 );\\n // order is; year, month, day, hour, minute, second\\n long eventTime = ontimecal.getTimeInMillis();\\n\\n// AlarmManager alarmManager = (AlarmManager) getSystemService(Context.ALARM_SERVICE);\\n Intent intentalarm1 = new Intent(this, ReminderBroadcast.class);\\n notification_intent_databuilder(intentalarm1);\\n PendingIntent pendingIntent = PendingIntent.getBroadcast(EditActivity.this, 0, intentalarm1, 0);\\n\\n AlarmManager alarmManager = (AlarmManager) getSystemService(ALARM_SERVICE);\\n\\n// final long timeid = System.currentTimeMillis();\\n\\n alarmManager.set(AlarmManager.RTC_WAKEUP, eventTime, pendingIntent);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"88986a12d27745c002f4473c31f477c5\",\n \"score\": \"0.6759703\",\n \"text\": \"public void triggerAlarm() {\\r\\n\\t\\talarmStatus.setText(AlarmStatus.ACTIVE.name());\\r\\n\\t\\talarmStatus.setFont(new Font(\\\"Tahoma\\\", Font.BOLD, 14));\\r\\n\\t\\talarmStatus.setForeground(Color.RED);\\r\\n\\t\\tacknowlAlarmButton.setEnabled(true);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"71e6b219cddf1ebc825ceacab2a0b06b\",\n \"score\": \"0.6735357\",\n \"text\": \"public static void startAlarmBroadcastReceiver(Context context, int hour, int minute) {\\n //An intent to go to the AlarmBroadcastReceiver class:\\n Intent intent = new Intent(context, AlarmBroadcastReceiver.class);\\n //A pending intent, which activates when the alarm goes off:\\n PendingIntent pendingIntent = PendingIntent.getBroadcast(context, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT);\\n AlarmManager alarmManager = (AlarmManager)context.getSystemService(Context.ALARM_SERVICE);\\n //Cancel any possible other alarms from this app (using pendingIntent) that exist in the system.\\n alarmManager.cancel(pendingIntent);\\n\\n //Generate a Calendar object of the current date and the specified time, by parameters hour and minute. This is when the alarm will go off.\\n Calendar calendar = Calendar.getInstance();\\n calendar.setTimeInMillis(System.currentTimeMillis());\\n calendar.set(Calendar.HOUR_OF_DAY, hour);\\n calendar.set(Calendar.MINUTE, minute);\\n calendar.set(Calendar.SECOND, 0);\\n\\n //Set the repeating alarm (daily, at the specified time):\\n alarmManager.setInexactRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), AlarmManager.INTERVAL_DAY, pendingIntent);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fa1998658a0ed6907d7dd8cf682c444c\",\n \"score\": \"0.67250264\",\n \"text\": \"private void setUpNotifications(int currentSetting) {\\n if(currentSetting == -1){\\n Calendar calendar = Calendar.getInstance();\\n calendar.setTimeInMillis(System.currentTimeMillis());\\n calendar.set(Calendar.HOUR_OF_DAY, 10);\\n calendar.set(Calendar.MINUTE, 30);\\n calendar.set(Calendar.SECOND, 0);\\n\\n Intent alarmIntent = new Intent(this.getApplicationContext(), MyReceiver.class);\\n PendingIntent pendingIntent = PendingIntent.getBroadcast(this, 0, alarmIntent, 0);\\n AlarmManager alarmManager = (AlarmManager) getSystemService(Context.ALARM_SERVICE);\\n alarmManager.setRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), AlarmManager.INTERVAL_DAY, pendingIntent);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3e2950350d8a118f02673bd217bc0a42\",\n \"score\": \"0.6723625\",\n \"text\": \"private void setAlarm(long time) {\\n AlarmManager am = (AlarmManager) getSystemService(Context.ALARM_SERVICE);\\n\\n //creating a new intent specifying the broadcast receiver\\n Intent i = new Intent(this, MyAlarm.class);\\n\\n //creating a pending intent using the intent\\n PendingIntent pi = PendingIntent.getBroadcast(this, 0, i, 0);\\n\\n //setting the repeating alarm that will be fired every day\\n am.setRepeating(AlarmManager.RTC, time, AlarmManager.INTERVAL_DAY, pi);\\n Toast.makeText(this, \\\"Time is set\\\", Toast.LENGTH_SHORT).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"828461e7816839083d55fbe69c8693fb\",\n \"score\": \"0.66595984\",\n \"text\": \"public void scheduleClick(View view) {\\n // Handle date field\\n SimpleDateFormat sdf = new SimpleDateFormat(\\\"yyyy-MM-dd HH:mm:ss\\\", Locale.ENGLISH);\\n String date_string = sdf.format(m_calendar.getTime());\\n // Schedule alarm based on calendar\\n // Calculate the time when it expires.\\n Intent intent = new Intent(this, EMAAlarmReceiver.class);\\n // Store ID in the Database\\n intent.putExtra(\\\"id\\\", m_id);\\n PendingIntent pendingIntent = PendingIntent.getBroadcast(this, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT);\\n AlarmManager alarmManager = (AlarmManager) getSystemService(ALARM_SERVICE);\\n alarmManager.set(AlarmManager.RTC_WAKEUP, m_calendar.getTimeInMillis(), pendingIntent);\\n Log.d(\\\"ALARM\\\", \\\"Alarm set at \\\" + date_string + \\\" for url with id: \\\" + m_id);\\n Log.d(\\\"ALARM\\\", \\\"TIME: \\\" + m_calendar.getTime().toString());\\n Log.d(\\\"ALARM\\\", \\\"NOW: \\\" + System.currentTimeMillis() + \\\" Cal: \\\" + m_calendar.getTimeInMillis() + \\\" diff: \\\" + (m_calendar.getTimeInMillis() - System.currentTimeMillis()));\\n Toast.makeText(getApplicationContext(), \\\"Alarm set for \\\" + date_string, Toast.LENGTH_SHORT).show();\\n finish();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bb30df134f00861e0326d9709499aa65\",\n \"score\": \"0.6635224\",\n \"text\": \"private void notifyDemo(){\\n Calendar cal = Calendar.getInstance();\\n // Ask our service to set an alarm for that date,\\n // this activity talks to the client that talks to the service\\n// cal.add(Calendar.SECOND,5);\\n// scheduleClient.getmBoundService()\\n// .setNotificationString(\\\"According to our estimation you are now legally qualify for driving!\\\");\\n// scheduleClient.setAlarmForNotification(cal);\\n// scheduleClient.getmBoundService().setNotificationString(\\\"Did you suffer from a hangover? please let us know!\\\");\\n// scheduleClient.setAlarmForNotification(cal);\\n// cal.add(Calendar.SECOND,6);\\n ((MenuActivity)getActivity()).createNotification(cal,\\\"\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e69a8de178121b00c4c84fb1d882acf\",\n \"score\": \"0.6629386\",\n \"text\": \"private void createRepeatingAlarm() {\\n AlarmManager mAlarmManager = (AlarmManager) getSystemService(ALARM_SERVICE);\\n // Set inexact repeating alarm\\n\\n Intent notificationReciverIntent = new Intent(this, SelfiAlarmNotificationReceiver.class);\\n PendingIntent notificationPendingIntent = PendingIntent.getBroadcast(this, 0,\\n notificationReciverIntent, PendingIntent.FLAG_UPDATE_CURRENT);\\n\\n mAlarmManager.setInexactRepeating(\\n AlarmManager.ELAPSED_REALTIME,\\n SystemClock.elapsedRealtime() + INITAL_ALARM_DELAY,\\n ALARM_DELAY,\\n notificationPendingIntent);\\n\\n Log.i(TAG, \\\"Create the Alarm at:\\\" + getDateStr(new Date()));\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"76393f8e05d90a1eb09df4112d4bc286\",\n \"score\": \"0.6615818\",\n \"text\": \"public void setAlarm() {\\n //When editing values of the AlarmSetting, the previous alarm must be canceled, and a new one\\n //must be made\\n boolean temp;\\n //isAlarmSet is currently returning true for everthing somehow\\n // if (pendingIntent != null && (temp = isAlarmSet())) cancelAlarm();\\n cancelAlarm();\\n\\n if (intent == null) {\\n intent = new Intent(ctx, BeepReceiver.class);\\n }\\n //set new action to create a unique intent for this setting\\n intent.setAction(\\\"Alarm set at \\\"+this.toString());\\n intent.putExtra(\\\"snooze\\\", snoozeLength);\\n if (pendingIntent == null) pendingIntent = PendingIntent.getBroadcast(ctx, 0, intent, 0);\\n\\n Calendar calendar = Calendar.getInstance();\\n calendar.setTimeInMillis(System.currentTimeMillis());\\n calendar.set(Calendar.HOUR_OF_DAY, hours);\\n calendar.set(Calendar.MINUTE, minutes);\\n //solved problem if user set a time that had already occurred today from having the receiver being instantly notified\\n if((temp=(calendar.getTimeInMillis() now) {\\n Intent intent = new Intent(mContext, MeetingPreparationReceiver.class);\\n intent.putExtra(ARG_EVENT, e);\\n PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0);\\n mAlarmManager.set(AlarmManager.RTC, wakeUpTime, pendingIntent);\\n mAlarmManager.set(AlarmManager.RTC_WAKEUP, wakeUpTime, pendingIntent);\\n break;\\n }\\n }\\n } catch (Exception e) {\\n e.printStackTrace();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6a7964b5a76ff9d2a1530d36a0b40639\",\n \"score\": \"0.6313398\",\n \"text\": \"private void handleAlarmExpiration() {\\n startAutoPushService(mContext);\\n// setExpirationAlarm();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f5092e64f2f11730d32551d4bc916e24\",\n \"score\": \"0.6301895\",\n \"text\": \"public final void schedule() {\\n AppMethodBeat.i(113876);\\n this.che.ae(this.ciy, this.ciy);\\n AppMethodBeat.o(113876);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"26894b373f150de61b6cc7cd60c85ee9\",\n \"score\": \"0.6270159\",\n \"text\": \"private void setRepeatingAlarm() {\\n Log.d(TAG, \\\"setRepeatingAlarm: \\\");\\n Intent intent = new Intent(this, DataCollectReceiver.class);\\n intent.putExtra(BROADCAST_DATA_SAVE_ALARM_RECEIVED, true);\\n pendingIntentData = PendingIntent.getBroadcast(\\n this.getApplicationContext(), 234324243, intent, 0);\\n\\n alarmManagerData = (AlarmManager) getSystemService(ALARM_SERVICE);\\n\\n //start timer, start time is earlier than current\\n //trigger on interval ALARM_SENSOR_DATA_SAVE INTERVAL\\n alarmManagerData.setRepeating(AlarmManager.RTC_WAKEUP, System.currentTimeMillis()\\n + ALARM_SENSOR_DATA_SAVE_INTERVAL, ALARM_SENSOR_DATA_SAVE_INTERVAL, pendingIntentData);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ada38ef79e6c6dac8785d9bfeaff40f2\",\n \"score\": \"0.6249683\",\n \"text\": \"private static void checkTimeAndMaybeSetupUpdateAlarm(final Context context) {\\n // Of all clients, if the one that hasn't been updated for the longest\\n // is still more recent than UPDATE_FREQUENCY, do nothing.\\n if (!isLastUpdateAtLeastThisOld(context, UPDATE_FREQUENCY)) return;\\n\\n PrivateLog.log(\\\"Date changed - registering alarm\\\");\\n AlarmManager alarmManager = (AlarmManager)context.getSystemService(Context.ALARM_SERVICE);\\n\\n // Best effort to wake between midnight and MAX_ALARM_DELAY in the morning.\\n // It doesn't matter too much if this is very inexact.\\n final long now = System.currentTimeMillis();\\n final long alarmTime = now + new Random().nextInt(MAX_ALARM_DELAY);\\n final Intent updateIntent = new Intent(DictionaryService.UPDATE_NOW_INTENT_ACTION);\\n final PendingIntent pendingIntent = PendingIntent.getBroadcast(context, 0,\\n updateIntent, PendingIntent.FLAG_CANCEL_CURRENT);\\n\\n // We set the alarm in the type that doesn't forcefully wake the device\\n // from sleep, but fires the next time the device actually wakes for any\\n // other reason.\\n if (null != alarmManager) alarmManager.set(AlarmManager.RTC, alarmTime, pendingIntent);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"18fbf5c9fd22f2b542f1caf358008d77\",\n \"score\": \"0.62472457\",\n \"text\": \"public static void startAlarm(Context context) {\\n Intent intent = new Intent(context, GradesAlarmReceiver.class);\\n\\n\\n // Create a PendingIntent to be triggered when the alarm goes off\\n final PendingIntent pIntent = PendingIntent.getBroadcast(context, GradesAlarmReceiver.REQUEST_CODE,\\n intent, PendingIntent.FLAG_UPDATE_CURRENT);\\n\\n // Setup periodic alarm every 5 seconds\\n long firstMillis = System.currentTimeMillis(); // alarm is set right away\\n AlarmManager alarm = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);\\n\\n\\n // First parameter is the type: ELAPSED_REALTIME, ELAPSED_REALTIME_WAKEUP, RTC_WAKEUP\\n // Interval can be INTERVAL_FIFTEEN_MINUTES, INTERVAL_HALF_HOUR, INTERVAL_HOUR, INTERVAL_DAY\\n alarm.setInexactRepeating(AlarmManager.RTC_WAKEUP, firstMillis,\\n Settings.GRADES_UPDATE_INTERVAL, pIntent);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5c382e3e1fc925bf39e4b2a2034a431c\",\n \"score\": \"0.62366456\",\n \"text\": \"public static void schedule(Context context) {\\n final Intent intent = new Intent(context, CheckEventsService.class);\\r\\n final PendingIntent pending = PendingIntent.getService(context, 0, intent, 0);\\r\\n \\r\\n // Cancel previously set alarm by CheckEventsService\\r\\n final AlarmManager alarm = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);\\r\\n alarm.cancel(pending);\\r\\n \\r\\n // Schedule new alarm, first trigger within 24 hours\\r\\n Calendar c = new GregorianCalendar();\\r\\n if (!DEBUG) {\\r\\n if (c.get(Calendar.HOUR_OF_DAY) > EVENT_CHECK_HOUR_OF_DAY || \\r\\n (c.get(Calendar.HOUR_OF_DAY) == EVENT_CHECK_HOUR_OF_DAY && c.get(Calendar.MINUTE) >= EVENT_CHECK_MINUTE_OF_DAY)) {\\r\\n c.add(Calendar.DAY_OF_YEAR, 1);\\r\\n }\\r\\n c.set(Calendar.HOUR_OF_DAY, EVENT_CHECK_HOUR_OF_DAY);\\r\\n c.set(Calendar.MINUTE, EVENT_CHECK_MINUTE_OF_DAY);\\r\\n c.set(Calendar.SECOND, 0);\\r\\n c.set(Calendar.MILLISECOND, 0);\\r\\n alarm.setRepeating(AlarmManager.RTC_WAKEUP, c.getTimeInMillis(), EVENTS_CHECK_INTERVAL, pending);\\r\\n } else {\\r\\n alarm.setRepeating(AlarmManager.RTC_WAKEUP, c.getTimeInMillis(), EVENTS_CHECK_INTERVAL_DEBUG, pending);\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80481d0fcc219e4dc44f29cd4e22fed9\",\n \"score\": \"0.62093335\",\n \"text\": \"@Override\\n\\t\\tpublic void playAlarmSound() {\\n\\t\\t\\t\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c5fe6e168f1f4cd3f02e90587f521098\",\n \"score\": \"0.6205261\",\n \"text\": \"public static void startRepeatingCalendarEventService(Context context) {\\n\\t\\tIntent intent = new Intent(context, CheckSyncCalendarServiceReceiver.class);\\n\\t\\tPendingIntent pending = PendingIntent.getBroadcast(context, 0, intent, PendingIntent.FLAG_CANCEL_CURRENT);\\n\\t\\tAlarmManager service = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);\\n\\t\\tCalendar cal = Calendar.getInstance();\\n\\t\\t//start 10 minutes after the boot is completed or after called\\n\\t\\tcal.add(Calendar.MINUTE, 10);\\n\\t\\t//fetch in exactly 12 hours\\n\\t\\tservice.setInexactRepeating(AlarmManager.RTC_WAKEUP, cal.getTimeInMillis(), AlarmManager.INTERVAL_HALF_DAY, pending);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4c6c73ab9cc8ad306f039290ffeedad\",\n \"score\": \"0.6204296\",\n \"text\": \"public void updateAlarmTime() {\\n Calendar now = Calendar.getInstance();\\n \\n if (isRelative) {\\n // relative only uses minutes field, with only a single value (NOT -1)\\n alarmTime = now.getTime().getTime() + (minutes[0] * 60000);\\n return;\\n }\\n \\n Calendar alarm = (Calendar)now.clone();\\n alarm.set( Calendar.SECOND, 0 );\\n \\n debug(\\\"now: \\\" + now.getTime());\\n \\n //\\n // the updates work in a cascade -- if next minute value is in the\\n // following hour, hour is incremented. If next valid hour value is\\n // in the following day, day is incremented, and so on.\\n //\\n \\n // increase alarm minutes\\n int current = alarm.get( Calendar.MINUTE );\\n int offset = 0;\\n // force increment at least to next minute\\n offset = getOffsetToNext( current, minMinute, maxMinute, minutes );\\n alarm.add( Calendar.MINUTE, offset );\\n debug( \\\"after min: \\\" + alarm.getTime() );\\n \\n // update alarm hours if necessary\\n current = alarm.get( Calendar.HOUR_OF_DAY ); // (as updated by minute shift)\\n offset = getOffsetToNextOrEqual( current, minHour, maxHour, hours );\\n alarm.add( Calendar.HOUR_OF_DAY, offset );\\n debug( \\\"after hour (current:\\\"+current+\\\"): \\\" + alarm.getTime() );\\n \\n //\\n // If days of month AND days of week are restricted, we take whichever match\\n // comes sooner.\\n // If only one is restricted, take the first match for that one.\\n // If neither is restricted, don't do anything.\\n //\\n if( daysOfMonth[0] != -1 && daysOfWeek[0] != -1 )\\n {\\n // BOTH are restricted - take earlier match\\n Calendar dayOfWeekAlarm = (Calendar)alarm.clone();\\n updateDayOfWeekAndMonth( dayOfWeekAlarm );\\n \\n Calendar dayOfMonthAlarm = (Calendar)alarm.clone();\\n updateDayOfMonthAndMonth( dayOfMonthAlarm );\\n \\n // take the earlier one\\n if( dayOfMonthAlarm.getTime().getTime() < dayOfWeekAlarm.getTime().getTime() )\\n {\\n alarm = dayOfMonthAlarm;\\n debug( \\\"after dayOfMonth CLOSER: \\\" + alarm.getTime() );\\n }\\n else\\n {\\n alarm = dayOfWeekAlarm;\\n debug( \\\"after dayOfWeek CLOSER: \\\" + alarm.getTime() );\\n }\\n }\\n else if( daysOfWeek[0] != -1 ) // only dayOfWeek is restricted\\n {\\n // update dayInWeek and month if necessary\\n updateDayOfWeekAndMonth( alarm );\\n debug( \\\"after dayOfWeek: \\\" + alarm.getTime() );\\n }\\n else if( daysOfMonth[0] != -1 ) // only dayOfMonth is restricted\\n {\\n // update dayInMonth and month if necessary\\n updateDayOfMonthAndMonth( alarm );\\n debug( \\\"after dayOfMonth: \\\" + alarm.getTime() );\\n }\\n // else if neither is restricted (both[0] == -1), we don't need to do anything.\\n \\n \\n debug(\\\"alarm: \\\" + alarm.getTime());\\n \\n alarmTime = alarm.getTime().getTime();\\n lastUpdateTime = System.currentTimeMillis();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"57d748949c9ee7a105ae2c7150d48247\",\n \"score\": \"0.6196473\",\n \"text\": \"public void startExecutionEveryDayAt(/*agregar en esta parte aun*/ int targetHour, int targetMin, int targetSec) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a0977377ec1085bf2678a68028f96c94\",\n \"score\": \"0.618397\",\n \"text\": \"private static void setPingAlarm (Context appContext) {\\n CommonUtils.printLog(\\\" process id when setting alarm: \\\" + android.os.Process.myPid());\\n alarmManager = (AlarmManager)appContext.getSystemService(Context.ALARM_SERVICE);\\n Intent intent = new Intent(appContext, AlarmReceiver.class);\\n pendingIntent = PendingIntent.getBroadcast(appContext, 0, intent, 0);\\n CommonUtils.printLog(\\\"reading form json\\\");\\n int pingFreq = Integer.parseInt(ConnOptsJsonHandler.readFromJsonFile(PING_FREQ_KEY));\\n pingFreq *=60 *1000; // converting the val from minutes to millisec\\n CommonUtils.printLog(\\\"setting alarm: \\\" + pingFreq);\\n alarmManager.setRepeating(AlarmManager.ELAPSED_REALTIME_WAKEUP, pingFreq, pingFreq,pendingIntent);\\n MqttLogger.writeDataToTempLogFile(\\\"alarm set\\\");\\n\\n // set up the wifi lock\\n// WifiManager wm = (WifiManager) appContext.getSystemService(Context.WIFI_SERVICE);\\n// WifiManager.WifiLock wifiLock = wm.createWifiLock(WifiManager.WIFI_MODE_FULL , \\\"MyWifiLock\\\");\\n// wifiLock.acquire();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"40a8f36932ef82c1934a4c7901d61aa6\",\n \"score\": \"0.6154215\",\n \"text\": \"public void SetTimer(View view, long alarmID, int notification, String sDate){\\n \\tContext context = this.getApplicationContext(); \\n \\talarm = new AlarmManagerBroadcastReceiver();\\n \\t//Toast.makeText(getBaseContext(), \\\"In SetTimer, alarmID is \\\"+alarmID, Toast.LENGTH_LONG).show();\\n \\t\\n \\tString alarmTimeSet = alarm.ConvertToAlarmString(sDate, notification);\\n\\t\\n\\t\\tif(alarm != null){ \\n\\t\\t\\talarm.SetAlarm(context, alarmID, alarmTimeSet);\\n\\t\\t\\t//Log.d(\\\"EditScreen\\\",\\\"Alarm Set\\\");// for testing\\n\\t\\t\\t}else\\n\\t\\t\\t{ \\n\\t\\t\\tLog.d(\\\"EditScreen\\\",\\\"No alarm Set\\\");// for testing\\n\\t\\t\\t//Toast.makeText(context, \\\"Alarm is null\\\", Toast.LENGTH_SHORT).show(); \\n\\t\\t\\t} \\n\\t\\t\\n\\t\\tSharedPreferences appActivity = getSharedPreferences(\\n\\t\\t\\t\\t \\\"com.friendsbirthdaysver6_preferences\\\", MODE_PRIVATE); \\n\\t\\tSharedPreferences.Editor appActivityUpdater = appActivity.edit();\\n\\t \\tappActivityUpdater.putBoolean(\\\"activated\\\", true);\\t \\n\\t appActivityUpdater.commit();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"43f1b029dc693ffad7a78e65e5b1dc06\",\n \"score\": \"0.61527854\",\n \"text\": \"private void registerWatchDog() {\\n alarmManager.setInexactRepeating(AlarmManager.RTC_WAKEUP, System.currentTimeMillis() + AlarmManager.INTERVAL_HOUR,\\n AlarmManager.INTERVAL_HOUR, pendingIntent);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1bfe55ec6732dcbc65a512c153dd7c3\",\n \"score\": \"0.61268467\",\n \"text\": \"@Override\\n\\tpublic void alarm() {\\n\\t\\tSystem.out.println(\\\"BMWModel alarm\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"23692bbea062784f3ef53fb94d6d69ff\",\n \"score\": \"0.612099\",\n \"text\": \"public void setAlarm(long time,int value) {\\n\\n AlarmManager am = (AlarmManager) getSystemService(Context.ALARM_SERVICE);\\n\\n //creating a new intent specifying the broadcast receiver\\n Intent i = new Intent(getApplicationContext(), Updatestudentlist.class);\\n\\n //creating a pending intent using the intent\\n if(value==1) {\\n // Toast.makeText(getApplicationContext(), \\\"morning\\\", Toast.LENGTH_SHORT).show();\\n i.putExtra(\\\"value\\\",\\\"Morning session starts\\\");\\n PendingIntent pi = PendingIntent.getBroadcast(getApplicationContext(), 6, i, 0);\\n\\n //setting the repeating alarm that will be fired every day\\n am.setRepeating(AlarmManager.RTC, time, AlarmManager.INTERVAL_DAY, pi);\\n }\\n else if (value==2) {\\n // Toast.makeText(getApplicationContext(), \\\"evening\\\", Toast.LENGTH_SHORT).show();\\n i.putExtra(\\\"value\\\",\\\"Morning session ends\\\");\\n PendingIntent pi = PendingIntent.getBroadcast(getApplicationContext(), 5, i, 0);\\n\\n //setting the repeating alarm that will be fired every day\\n am.setRepeating(AlarmManager.RTC, time, AlarmManager.INTERVAL_DAY, pi);\\n }\\n else if (value==3) {\\n // Toast.makeText(getApplicationContext(), \\\"evening\\\", Toast.LENGTH_SHORT).show();\\n i.putExtra(\\\"value\\\",\\\"Afternoon session starts\\\");\\n PendingIntent pi = PendingIntent.getBroadcast(getApplicationContext(), 7, i, 0);\\n\\n //setting the repeating alarm that will be fired every day\\n am.setRepeating(AlarmManager.RTC, time, AlarmManager.INTERVAL_DAY, pi);\\n }\\n\\n else if (value==4) {\\n\\n i.putExtra(\\\"value\\\",\\\"Afternoon session ends\\\");\\n PendingIntent pi = PendingIntent.getBroadcast(getApplicationContext(), 8, i, 0);\\n\\n //setting the repeating alarm that will be fired every day\\n am.setRepeating(AlarmManager.RTC, time, AlarmManager.INTERVAL_DAY, pi);\\n }\\n else if (value==5) {\\n// Toast.makeText(getApplicationContext(), \\\"evening\\\", Toast.LENGTH_SHORT).show();\\n i.putExtra(\\\"value\\\",\\\"Evening session starts\\\");\\n PendingIntent pi = PendingIntent.getBroadcast(getApplicationContext(), 10, i, 0);\\n\\n //setting the repeating alarm that will be fired every day\\n am.setRepeating(AlarmManager.RTC, time, AlarmManager.INTERVAL_DAY, pi);\\n }\\n\\n else if (value==6) {\\n\\n i.putExtra(\\\"value\\\",\\\"Evening session ends\\\");\\n PendingIntent pi = PendingIntent.getBroadcast(getApplicationContext(), 9, i, 0);\\n //setting the repeating alarm that will be fired every day\\n am.setRepeating(AlarmManager.RTC, time, AlarmManager.INTERVAL_DAY, pi);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"65a11688eaa2c2cc5b26deff7b4e8896\",\n \"score\": \"0.610748\",\n \"text\": \"public void setAlarm(Context context, long triggerTime){\\n AlarmManager alarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);\\n Intent intent = new Intent(context, AlarmReceiver.class);\\n\\n //pass data to display when alarm is triggered\\n //these 2 lines need to be placed before creating the pending intent object\\n intent.putExtra(AlarmReceiver.ALARM_TIME, triggerTime);\\n intent.putExtra(AlarmReceiver.ALARM_TEXT, \\\"test text\\\");\\n\\n PendingIntent alarmIntent = PendingIntent.getBroadcast(context, (int) triggerTime, intent, PendingIntent.FLAG_ONE_SHOT);\\n\\n Calendar calendar = new GregorianCalendar();\\n calendar.setTimeInMillis(triggerTime);\\n DateFormat dateFormat = DateFormat.getDateTimeInstance();\\n\\n alarmManager.set(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), alarmIntent);\\n //Toast.makeText(context, \\\"Alarm Scheduled :\\\" + dateFormat.format(calendar.getTime()),Toast.LENGTH_SHORT).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9965e7133cf89cb6aebf29c554e393c6\",\n \"score\": \"0.6097715\",\n \"text\": \"public static void activateAlarm(int index)\\n\\t{\\n\\t\\t\\n\\t\\tSystem.out.println(\\\"Alarm Done!\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e1840e267935730f02b125fd5586c2a4\",\n \"score\": \"0.60957396\",\n \"text\": \"private void startBackupService() {\\n\\n AlarmManager alarmManager = (AlarmManager)getSystemService(Context.ALARM_SERVICE);\\n Intent intent = new Intent(HomePageActivity.this, ScheduledBackup.class);\\n PendingIntent pendingIntent = PendingIntent.getBroadcast(this, 0, intent, 0);\\n\\n Calendar calendar = Calendar.getInstance();\\n calendar.setTimeInMillis(System.currentTimeMillis());\\n calendar.set(Calendar.HOUR_OF_DAY, 4);\\n\\n alarmManager.setRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), AlarmManager.INTERVAL_DAY, pendingIntent);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0e6ab7d719443dabcdac27033a5c67ae\",\n \"score\": \"0.6094718\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void onClick(View v) {\\n\\t\\t\\t\\tsettingAlarm();\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"46f28e50fae2c4146ae3f822e8057a60\",\n \"score\": \"0.6092064\",\n \"text\": \"public static void setReminderAlarm(Context context, Alarm alarm) {\\n\\n //Check whether the alarm is set to run on any days\\n if (!AlarmUtils.isAlarmActive(alarm)) {\\n //If alarm not set to run on any days, cancel any existing notifications for this alarm\\n cancelReminderAlarm(context, alarm);\\n return;\\n }\\n\\n final Calendar nextAlarmTime = getTimeForNextAlarm(alarm);\\n alarm.setTime(nextAlarmTime.getTimeInMillis());\\n\\n final Intent intent = new Intent(context, AlarmReceiver.class);\\n final Bundle bundle = new Bundle();\\n bundle.putParcelable(ALARM_KEY, alarm);\\n intent.putExtra(BUNDLE_EXTRA, bundle);\\n\\n final PendingIntent pIntent = PendingIntent.getBroadcast(\\n context,\\n alarm.notificationId(),\\n intent,\\n FLAG_UPDATE_CURRENT\\n );\\n\\n ScheduleAlarm.with(context).schedule(alarm, pIntent);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"92c1aa146b0ca4654d3b332426d88c50\",\n \"score\": \"0.6089662\",\n \"text\": \"@Override\\n public int onStartCommand(Intent intent, int flags, int startId) {\\n Calendar calendar = Calendar.getInstance();\\n int time;\\n int minute;\\n\\n Log.d(\\\"PERIODICSERVICE\\\", \\\"Timp: \\\" + MainActivity.time);\\n if (MainActivity.time == null) {\\n time = 12;\\n minute = 0;\\n } else {\\n String timp = MainActivity.time;\\n String timps = \\\"\\\";\\n String minutes = \\\"\\\";\\n\\n for (int i = 0; i < timp.length(); i++) {\\n if (timp.charAt(i) != ':')\\n timps += timp.charAt(i);\\n else\\n break;\\n }\\n\\n for (int i = timp.length() - 1; i >= 0; i--) {\\n if (timp.charAt(i) != ':')\\n minutes += timp.charAt(i);\\n else\\n break;\\n }\\n\\n time = Integer.parseInt(timps);\\n minute = Integer.parseInt(minutes);\\n }\\n\\n calendar.set(Calendar.HOUR_OF_DAY, time);\\n calendar.set(Calendar.MINUTE, minute);\\n calendar.set(Calendar.SECOND, 0);\\n calendar = Calendar.getInstance();\\n Intent i = new Intent(this, LogicNotificationAndSendSMS.class);\\n PendingIntent pintent = PendingIntent.getService(this, 0, i, 0);\\n AlarmManager alarm = (AlarmManager) getSystemService(Context.ALARM_SERVICE);\\n alarm.setRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), AlarmManager.INTERVAL_DAY, pintent);\\n\\n return super.onStartCommand(intent, flags, startId);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0fadde8d49e425e7245b4a52613e6096\",\n \"score\": \"0.60877734\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void onClick(View arg0) {\\n\\t\\t\\t\\tcalendar.set(Calendar.HOUR_OF_DAY, alarm_timepicker.getCurrentHour());\\n\\t\\t\\t\\tcalendar.set(Calendar.MINUTE, alarm_timepicker.getCurrentMinute());\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t//get the value of hour and minutes\\n\\t\\t\\t\\tint hour = alarm_timepicker.getCurrentHour();\\n\\t\\t\\t\\tint minutes = alarm_timepicker.getCurrentMinute();\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t//convert int into string\\n\\t\\t\\t\\tString hour_string = String.valueOf(hour);\\n\\t\\t\\t\\tString minute_string = String.valueOf(minutes);\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tif (minutes < 10){\\n\\t\\t\\t\\t\\tminute_string = \\\"0\\\"+ minute_string;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tmy_intent.putExtra(\\\"extra\\\", \\\"alarm on\\\");\\n\\t\\t\\t\\t//method changes the update textbox\\n\\t\\t\\t\\tset_alarm_text(\\\"Alarm set to : \\\"+ hour_string + \\\" : \\\"+ minute_string);\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t//create a pendding intent to delay th intent\\n\\t\\t\\t\\t//until the specified calender time;\\n\\t\\t\\t\\tpending_intent = PendingIntent.getBroadcast(LayoutAlarmActivity.this, 0, my_intent, PendingIntent.FLAG_UPDATE_CURRENT);\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t//set alarm manager\\n\\t\\t\\t\\talarm_manager.set(AlarmManager.RTC_WAKEUP,calendar.getTimeInMillis(),\\n\\t\\t\\t\\t\\t\\t\\t\\tpending_intent);\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t//put in extras String into my_intent\\n\\t\\t\\t\\t//tells the clock that you pressed the alarm on button\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1291a2e4cdb1af35e6b5e5e36a74da1\",\n \"score\": \"0.6085998\",\n \"text\": \"public void schedule() {\\n AppMethodBeat.i(113879);\\n this.ciw.chO.f(this, this.ciy);\\n AppMethodBeat.o(113879);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"049e13bb3741ff8e2d42ac90bcef3404\",\n \"score\": \"0.6079556\",\n \"text\": \"public void setAlarm() {\\n \\tif (SLEEP_MODE_ACTIVE) {\\n \\t\\tCURRENT_POLL_INTERVAL = SLEEP_POLL_INTERVAL;\\n \\t}else {\\n \\t\\tCURRENT_POLL_INTERVAL = POLL_INTERVAL;\\n \\t}\\n \\tint interval = Integer.parseInt(HttpConnectionsHelper.getInStringSeconds(Integer.toString(AlarmReceiver.POLL_INTERVAL)));\\n \\t\\n \\tif (jobExecutionContext != null){\\n \\t\\tif (interval != CURRENT_POLL_INTERVAL) {\\n \\t\\t\\ttry {\\n \\t\\t\\t\\tTrigger updateTrigger = TriggerBuilder\\n \\t\\t\\t\\t\\t\\t.newTrigger()\\n \\t\\t\\t\\t\\t\\t.withSchedule(\\n \\t\\t\\t\\t\\t\\t\\t\\tSimpleScheduleBuilder.simpleSchedule()\\n \\t\\t\\t\\t\\t\\t\\t\\t.withIntervalInSeconds(interval).repeatForever())\\n \\t\\t\\t\\t\\t\\t\\t\\t.build();\\n \\t\\t\\t\\tTrigger oldTrigger = jobExecutionContext.getTrigger();\\n \\t\\t\\t\\tScheduler scheduler = StdSchedulerFactory.getDefaultScheduler();\\n \\t\\t\\t\\tscheduler.rescheduleJob(oldTrigger.getKey(), updateTrigger);\\n \\t\\t\\t} catch (SchedulerException e) {\\n \\t\\t\\t\\te.printStackTrace();\\n \\t\\t\\t}\\n \\t\\t}\\n \\t} else{\\n \\t\\tinitSchedulerForPolling(interval);\\n \\t}\\n \\t\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3db2446bba80dd3bff8ceee8dfa4fde4\",\n \"score\": \"0.6067457\",\n \"text\": \"private void startLocationTracker() {\\n AlarmManager alarmManager = (AlarmManager) getSystemService(Context.ALARM_SERVICE);\\n PendingIntent pendingIntent = PendingIntent.getBroadcast(this, 0, intent, 0);\\n alarmManager.setRepeating(AlarmManager.RTC_WAKEUP, Calendar.getInstance().getTimeInMillis(),\\n LocationProvider.FIVE_MINUTES, pendingIntent);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"02b1b0ab5427e62f02983222829c8e00\",\n \"score\": \"0.6061842\",\n \"text\": \"@Override\\n public void onRequestAlarm(JSONObject json) {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"26f85e887691c6e5af645c46a6710bc5\",\n \"score\": \"0.6061714\",\n \"text\": \"public Alarm() {\\n\\t\\tMachine.timer().setInterruptHandler(new Runnable() {\\n\\t\\t\\tpublic void run() {\\n\\t\\t\\t\\ttimerInterrupt();\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4958e5816291271051996ab8548a27bb\",\n \"score\": \"0.60540545\",\n \"text\": \"private void schedule(long period) {\\r\\n if (logger.isLoggable(BasicLevel.DEBUG))\\r\\n logger.log(BasicLevel.DEBUG, \\\"Schedule wake up task, period=\\\" + period);\\r\\n\\r\\n if (period > 0) {\\r\\n try {\\r\\n Timer timer = AgentServer.getTimer();\\r\\n if (!schedule) {\\r\\n timer.schedule(this, period, period);\\r\\n schedule = true;\\r\\n }\\r\\n } catch (Exception exc) {\\r\\n if (logger.isLoggable(BasicLevel.WARN))\\r\\n logger.log(BasicLevel.WARN, \\\"--- \\\" + this, exc);\\r\\n }\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1be3ed1ec145da3bdc36102401da79a5\",\n \"score\": \"0.6048799\",\n \"text\": \"@Override\\n public void onReceive(Context context, Intent intent){\\n Log.i(\\\"AlarmReceiver received an alarm\\\");\\n\\n Dao dao = new Dao(context);\\n\\n // check to see we actually want to fire the alarm on this day\\n int dayOfWeek = Calendar.getInstance().get(Calendar.DAY_OF_WEEK);\\n if (dao.getBooleanPreference(Constants.DAY_PREPEND + dayOfWeek)) {\\n Log.i(\\\"We DO WANT to fire alarm for \\\" + dayOfWeek + \\\"->\\\" + Constants.DAY_MAP_NAMES[dayOfWeek]);\\n\\n dao.setBooleanPreference(Constants.DO_ALARM, true);\\n\\n AlarmAlertWakeLock.acquireCpuWakeLock(context);\\n\\n Intent playAlarm = new Intent(context, MainAlarm.class);\\n playAlarm.putExtra(Constants.FROM_ALARM, true);\\n playAlarm.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\\n playAlarm.addFlags(16384);\\n\\n context.startActivity(playAlarm);\\n } else {\\n Log.i(\\\"We DONT WANT to fire alarm for \\\" + dayOfWeek + \\\"->\\\" + Constants.DAY_MAP_NAMES[dayOfWeek]);\\n }\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fa24dc07d99651c63dd64a2b46e1dfc4\",\n \"score\": \"0.60473704\",\n \"text\": \"public void triggerAlarmManager(int alarmTriggerTime) {\\n // get a Calendar object with current time\\n Calendar cal = Calendar.getInstance();\\n // add alarmTriggerTime seconds to the calendar object\\n cal.add(Calendar.SECOND, alarmTriggerTime);\\n\\n AlarmManager manager = (AlarmManager) getSystemService(Context.ALARM_SERVICE);//get instance of alarm manager\\n manager.set(AlarmManager.RTC_WAKEUP, cal.getTimeInMillis(), pendingIntent);//set alarm manager with entered timer by converting into milliseconds\\n\\n Toast.makeText(this, \\\"Alarm Set for \\\" + alarmTriggerTime + \\\" seconds.\\\", Toast.LENGTH_SHORT).show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"67bbccc71b3a3c5600b4dc994e1216d8\",\n \"score\": \"0.6043545\",\n \"text\": \"void setAlarmHours(int warningHours, int urgentHours);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"26f5a1d01cb8b084a6f179909f2f5a69\",\n \"score\": \"0.60433537\",\n \"text\": \"public void powerHourResumed() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fe449efda0c341e66edf1f1ecd79812b\",\n \"score\": \"0.6023418\",\n \"text\": \"public static void scheduleWeeklyGoalsService(Context context){\\n if(UserAccountUtilities.getUserKey(context) != null){\\n //Sets up a PendingIntent to start the Service\\n AlarmManager alarmManager = (AlarmManager)context.getSystemService(ALARM_SERVICE);\\n String userKey = UserAccountUtilities.getUserKey(context);\\n Intent serviceIntent = new Intent(context, WeeklyGoalsService.class);\\n serviceIntent.putExtra(WeeklyGoalsService.USER_KEY_EXTRA, userKey);\\n PendingIntent pendingIntent = PendingIntent.getService(context, 0, serviceIntent, 0);\\n\\n //Cancels any previous scheduled PendingIntents\\n if(alarmManager != null){\\n alarmManager.cancel(pendingIntent);\\n }\\n\\n //Sets the execution date to the start of Monday\\n Calendar calendar = Calendar.getInstance();\\n\\n do{\\n calendar.add(Calendar.DAY_OF_WEEK, 1);\\n } while(calendar.get(Calendar.DAY_OF_WEEK) != Calendar.MONDAY);\\n\\n calendar.set(Calendar.AM_PM, Calendar.AM);\\n calendar.set(Calendar.HOUR, 0);\\n calendar.set(Calendar.MINUTE, 0);\\n calendar.set(Calendar.SECOND, 0);\\n\\n //Schedules the Service to run on Monday morning\\n if(alarmManager != null){\\n alarmManager.set(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), pendingIntent);\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f004542ea7e16cebc4b08dcbb21085a6\",\n \"score\": \"0.59987223\",\n \"text\": \"public static void generaAlarmaSincronizarApp (Context context) {\\n \\n try {\\n AlarmManager alarmManager = (AlarmManager) context.getSystemService (Context.ALARM_SERVICE);\\n Intent alarmIntent = new Intent (BROADCAST_APP_SYNC); // AlarmReceiver1 = broadcast receiver\\n PendingIntent pendingIntent = PendingIntent.getBroadcast (context, ALARMMANAGER_REQUESTCODE_APP_SYNC, alarmIntent, flagBanner);\\n if (alarmManager != null) {\\n alarmManager.cancel (pendingIntent);\\n Calendar alarmStartTime = Calendar.getInstance ();\\n alarmStartTime.add(Calendar.HOUR_OF_DAY, BrioGlobales.TIME_SYNC_HOUR);\\n alarmStartTime.add(Calendar.MINUTE, BrioGlobales.TIME_SYNC_MIN);\\n alarmStartTime.add(Calendar.SECOND, BrioGlobales.TIME_SYNC_SEC);\\n alarmManager.set(AlarmManager.RTC_WAKEUP, alarmStartTime.getTimeInMillis(), pendingIntent);\\n \\n// alarmManager.setRepeating (AlarmManager.RTC_WAKEUP, alarmStartTime.getTimeInMillis (), INTERVAL_APP_SYNC, pendingIntent);\\n String fecha = new SimpleDateFormat (\\\"yyyy-MM-dd HH:mm:ss\\\").format (alarmStartTime.getTimeInMillis ());\\n // Log.e(TAG + \\\" - \\\", \\\"generaAlarmaSincronizarApp:\\\" + fecha);\\n }\\n } catch (Exception e) {\\n e.printStackTrace ();\\n BrioGlobales.ArchivoLog.escribirLineaFichero (BrioUtilsFechas.obtenerFechaDiaHoraFormat () + TAG + \\\"->generaAlarmaSincronizarApp\\\" + e.getMessage ());\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c18a8e814bb168e7f1d04ede6930362c\",\n \"score\": \"0.59889925\",\n \"text\": \"private void sched(Context contexto) {\\n\\t\\tIntent it = new Intent(\\\"RT_LOCK\\\");\\n\\t\\tPendingIntent p = PendingIntent.getBroadcast(contexto, 0, it, 0);\\n\\t\\n\\t\\t// Para executar o alarme depois de x segundos a partir de agora\\n\\t\\tCalendar c = Calendar.getInstance();\\n\\t\\tc.setTimeInMillis(System.currentTimeMillis());\\n\\t\\tc.add(Calendar.SECOND, 2);\\n\\t\\n\\t\\t// Agenda o alarme\\n\\t\\tAlarmManager alarme = (AlarmManager) contexto.getSystemService(Context.ALARM_SERVICE);\\n\\t\\tlong time = c.getTimeInMillis();\\n\\t\\talarme.set(AlarmManager.RTC_WAKEUP, time, p);\\n//\\t\\talarme.setRepeating(AlarmManager.RTC_WAKEUP, time, tempoRepetir, p);\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"259730f4becfaf3d37425cd03f9affcc\",\n \"score\": \"0.5982656\",\n \"text\": \"@Override\\n\\t\\tpublic void playAlarmBeep() {\\n\\t\\t\\t\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"48870085f7dd7e4e43f815f92befeeaf\",\n \"score\": \"0.5970404\",\n \"text\": \"private static void scheduleAutomaticUpdates(Context context) {\\r\\n AlarmManager alarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);\\r\\n\\r\\n if (LogUtils.DEBUG) {\\r\\n Log.d(TAG, \\\"Starting automatic updates schedule..\\\");\\r\\n }\\r\\n alarmManager.setRepeating(AlarmManager.RTC, System.currentTimeMillis(), Configuration\\r\\n .getUpdateInterval(context), PendingIntent.getBroadcast(context, 0, new Intent(\\r\\n Updater.ACTION_UPDATE_COUNTERS), PendingIntent.FLAG_CANCEL_CURRENT));\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2f445c89d665534e20bcb9c05d47418e\",\n \"score\": \"0.5968714\",\n \"text\": \"public void tick(LocalTime t, LocalDate d){\\n\\t\\t//Change the time based on current weather/traffic conditions\\n\\t\\tDuration traffic = getTrafficShift();\\n\\t\\tDuration weather = getWeatherShift();\\n\\t\\t//If there are no alarms set to go off today, don't bother checking. \\n\\t\\tif(alarms.peek() != null && alarms.getFirst().getDay().equals(d)){\\n\\t\\tif(traffic != null)\\n\\t\\t\\tt.plus(traffic);\\n\\t\\tif(weather != null)\\n\\t\\t\\tt.plus(weather);\\n\\t\\t//If the shifted time either passed by or is at the soonest alarm time(s), trip it/them.\\n\\t\\twhile(!alarms.isEmpty() && alarms.getFirst().getTime().compareTo(t) <= 0){\\n\\t\\t\\tAlarm alarm = alarms.removeFirst();\\n\\t\\t\\tthis.tripAlarm(alarm);\\n\\t\\t\\t//If the alarm is set to repeat, re-add it but set for tomorrow. \\n\\t\\t\\tif(alarm.doesRepeat())\\n\\t\\t\\t\\tthis.setAlarm(alarm.getTime(), alarm.getDay().plusDays(1), true);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f966f488272b2d8435202e9967d53167\",\n \"score\": \"0.59644896\",\n \"text\": \"private void setRecurringAlarmProd(Context context) {\\r\\n\\r\\n Calendar updateTime = Calendar.getInstance();\\r\\n updateTime.setTimeInMillis(System.currentTimeMillis());\\r\\n\\r\\n // collect stats on every 50th minute of the day\\r\\n updateTime.set(Calendar.MINUTE, 50);\\r\\n updateTime.set(Calendar.SECOND, 0);\\r\\n Intent downloader = new Intent(context, StatsCollectionAlarmReceiver.class);\\r\\n PendingIntent statCollector = PendingIntent.getBroadcast(context,\\r\\n 0, downloader, 0);\\r\\n AlarmManager alarms = (AlarmManager) getSystemService(\\r\\n Context.ALARM_SERVICE);\\r\\n alarms.setInexactRepeating(AlarmManager.RTC_WAKEUP,\\r\\n updateTime.getTimeInMillis(),\\r\\n AlarmManager.INTERVAL_HOUR, statCollector);\\r\\n\\r\\n // send data at 23:55 every day\\r\\n Calendar uploadTime = Calendar.getInstance();\\r\\n uploadTime.setTimeInMillis(System.currentTimeMillis());\\r\\n uploadTime.set(Calendar.HOUR_OF_DAY, 23);\\r\\n uploadTime.set(Calendar.MINUTE, 55);\\r\\n uploadTime.set(Calendar.SECOND, 0);\\r\\n\\r\\n Intent uploadIntent = new Intent(context, ServerUploaderReceiver.class);\\r\\n PendingIntent uploadPending = PendingIntent.getBroadcast(context, 0, uploadIntent, 0);\\r\\n AlarmManager uploadAlarm = (AlarmManager) getSystemService(Context.ALARM_SERVICE);\\r\\n uploadAlarm.setInexactRepeating(AlarmManager.RTC_WAKEUP,\\r\\n uploadTime.getTimeInMillis(),\\r\\n AlarmManager.INTERVAL_DAY,\\r\\n uploadPending);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b6b98eaa5346a07f31f3f7649e430753\",\n \"score\": \"0.59527904\",\n \"text\": \"public void setAlarm(String time) throws UiObjectNotFoundException {\\n\\t\\tUiObject uiTab = getObjByClsIdx(\\\"android.app.ActionBar$Tab\\\", 0);\\n\\t\\tif (!uiTab.isSelected())\\n\\t\\t\\tuiTab.clickAndWaitForNewWindow();\\n\\t\\tgetObjByDesc(\\\"Add alarm\\\").clickAndWaitForNewWindow();\\n\\t\\t//TODO:\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"080f893811b4adacabcb83ef68747475\",\n \"score\": \"0.59518313\",\n \"text\": \"public void setAlarm(VibrateTimer vt, Context context){\\n\\t\\tif(!datastore.contains(vt.getId()))\\n\\t\\t\\tdatastore.addToDB(vt);\\n\\t\\tList startTimes = vt.getStartAlarmCalendars();\\n\\t\\tList endTimes = vt.getEndAlarmCalendars();\\n\\t\\tint timerId = vt.getId();\\n\\t\\tfor (Calendar startTime : startTimes) {\\n\\t\\t\\tint id = timerId + startTime.get(Calendar.DAY_OF_WEEK);\\n\\t\\t\\tIntent activateVibration = new Intent(parent, VibrateOnBroadcastReceiver.class); \\n\\t\\t\\tcreateSystemTimer(startTime.getTimeInMillis(), id, activateVibration);\\n\\t\\t}\\n\\t\\tfor(Calendar endTime : endTimes){\\n\\t\\t\\tint id = timerId + endTime.get(Calendar.DAY_OF_WEEK) + 10;\\n\\t\\t\\tIntent disableVibration = new Intent(parent, VibrateOffBroadcastReceiver.class);\\n\\t\\t\\tcreateSystemTimer(endTime.getTimeInMillis(), id, disableVibration);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13717e7772421c211e4f79e8a219fb56\",\n \"score\": \"0.5947727\",\n \"text\": \"public static boolean setReminder(Context context, Class cls, int year, int month, int day,\\n int hour, int min,int tripID)\\n {\\n //get a Calendar instance based on the current time\\n Calendar calendar = Calendar.getInstance();\\n\\n //set the scheduled trip time\\n Calendar setcalendar = Calendar.getInstance();\\n setcalendar.set(year,month,day);\\n setcalendar.set(Calendar.HOUR_OF_DAY, hour);\\n setcalendar.set(Calendar.MINUTE, min);\\n\\n // check whether this scheduled time is in the future, show a error message if it is in the\\n // past\\n if(setcalendar.before(calendar)){\\n Toast.makeText(context,\\\"Wrong for creating a future trip, Please try it again!\\\",Toast.LENGTH_SHORT).show();\\n return false;\\n }else {\\n // Enable a receiver\\n ComponentName receiver = new ComponentName(context, cls);\\n PackageManager pm = context.getPackageManager();\\n\\n pm.setComponentEnabledSetting(receiver,\\n PackageManager.COMPONENT_ENABLED_STATE_ENABLED,\\n PackageManager.DONT_KILL_APP);\\n\\n // Create new intent\\n Intent intent1 = new Intent(context, cls);\\n PendingIntent pendingIntent = PendingIntent.getBroadcast(context, tripID, intent1, PendingIntent.FLAG_ONE_SHOT);\\n\\n // Set an alarm\\n AlarmManager am = (AlarmManager) context.getSystemService(ALARM_SERVICE);\\n am.setInexactRepeating(AlarmManager.RTC_WAKEUP, setcalendar.getTimeInMillis(), AlarmManager.INTERVAL_DAY, pendingIntent);\\n Toast.makeText(context, \\\"A future reminder is successfully set!\\\", Toast.LENGTH_SHORT).show();\\n }\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5827b3edffd8bc8c2b98c1081f13c9a3\",\n \"score\": \"0.5946852\",\n \"text\": \"public static void scheduleAlarm(Context context, long offset, NotificationType notificationType )\\n {\\n\\n Long time = new GregorianCalendar().getTimeInMillis() + offset;\\n // create an Intent and set the class which will execute when Alarm triggers, here we have\\n // given AlarmReciever in the Intent, the onRecieve() method of this class will execute when\\n // alarm triggers and\\n //we will write the code to send SMS inside onRecieve() method pf Alarmreciever class\\n Intent intentAlarm = new Intent(context, AlarmReceiver.class);\\n\\n intentAlarm.putExtra(NOTIFICATION_TYPE, notificationType.name());\\n\\n final int alarmId = notificationType == NotificationType.JOURNALTIME ? AlarmType.JOURNAL.ordinal() : AlarmType.TIP.ordinal();\\n // find any previous scheduled alarm and cancel them\\n PendingIntent pendingIntent = PendingIntent.getBroadcast(context, alarmId, intentAlarm, PendingIntent.FLAG_UPDATE_CURRENT);\\n\\n // create the object\\n AlarmManager alarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);\\n\\n if(pendingIntent != null) {\\n pendingIntent.cancel();\\n alarmManager.cancel(pendingIntent);\\n }\\n\\n //set the alarm for particular time\\n alarmManager.setInexactRepeating(AlarmManager.RTC_WAKEUP, time, MILLISECONDS_A_DAY, PendingIntent.getBroadcast(context, alarmId, intentAlarm, PendingIntent.FLAG_UPDATE_CURRENT));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9f5c6a97eeda545dc70089ebf4641b66\",\n \"score\": \"0.59296\",\n \"text\": \"int checkForAlarm();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"73f6564376ef9c60bd68290f9b385d9e\",\n \"score\": \"0.59011734\",\n \"text\": \"public void checkForAppt() throws SQLException, ParseException{\\r\\n\\tLocalDateTime now = LocalDateTime.now();\\r\\n LocalDateTime future = LocalDateTime.now().plusMinutes(15);\\r\\n \\r\\n String sNow = now.format(formatter);\\r\\n String sFuture = future.format(formatter);\\r\\n String location = \\\"UTC\\\";\\r\\n \\r\\n //Taking Current Time and 15 min and switching into \\\"UTC\\\" Time\\r\\n String sNowU = Appointment.getUTCLocationDateTime(location, sNow);\\r\\n String sFutureU = Appointment.getUTCLocationDateTime(location, sFuture);\\r\\n \\r\\n //Check against database if there are any appointments within 15 min. \\r\\n if (Appointment.appointmentAvialableUser(sNowU,sFutureU) == false){\\r\\n //Message for Appointment within 15 min\\r\\n Alert alert = new Alert(Alert.AlertType.INFORMATION);\\r\\n alert.setTitle(\\\"Appointment\\\");\\r\\n alert.setHeaderText(\\\"Pending Appointment\\\");\\r\\n alert.setContentText(\\\"You have an Appointment with 15 min\\\");\\r\\n alert.showAndWait();\\r\\n } \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"209812223d8916a6c653f837ceda8191\",\n \"score\": \"0.58967733\",\n \"text\": \"public Alarm() {\\r\\n \\r\\n \\t\\r\\n\\tMachine.timer().setInterruptHandler(new Runnable() {\\r\\n\\t\\tpublic void run() { timerInterrupt(); }\\r\\n\\t });\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0fe24babdc45a8e2446ae72b31bbc2b5\",\n \"score\": \"0.5893434\",\n \"text\": \"public void onClick(View view) {\\n\\t\\t\\t\\tstopService(alarmIntent);\\n\\t\\t\\t\\tsetCurrentTime();\\n\\t\\t\\t\\tsetCurrentDate();\\n\\t\\t\\t\\tCalendar cal = Calendar.getInstance();\\n\\t\\t\\t\\tmanager = (AlarmManager) getSystemService(Context.ALARM_SERVICE);\\n\\n\\t\\t\\t\\tSimpleDateFormat format = new SimpleDateFormat(\\n\\t\\t\\t\\t\\t\\t\\\"MM-dd-yyyy HH:mm\\\");\\n\\t\\t\\t\\tString setDateTime = date.getText().toString() + \\\" \\\"\\n\\t\\t\\t\\t\\t\\t+ time.getText().toString();\\n\\t\\t\\t\\tString currentDateTime = currentDate.toString() + \\\" \\\"\\n\\t\\t\\t\\t\\t\\t+ currentTime.toString();\\n\\t\\t\\t\\tDate d1 = null;\\n\\t\\t\\t\\tDate d2 = null;\\n\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\td1 = format.parse(setDateTime);\\n\\t\\t\\t\\t\\td2 = format.parse(currentDateTime);\\n\\t\\t\\t\\t\\tLong diff = (d1.getTime() - d2.getTime());\\n\\t\\t\\t\\t\\tLog.i(\\\"works12\\\", \\\"Works in \\\" + diff.toString());\\n\\t\\t\\t\\t\\tBundle bundle = new Bundle();\\n\\t\\t\\t\\t\\tbundle.putString(\\\"phoneNo\\\", txtphoneNo.getText().toString());\\n\\t\\t\\t\\t\\tbundle.putString(\\\"txtMessage\\\", txtMessage.getText()\\n\\t\\t\\t\\t\\t\\t\\t.toString());\\n\\t\\t\\t\\t\\tbundle.putInt(\\\"serviceCounter\\\",1);\\n\\t\\t\\t\\t\\talarmIntent.putExtras(bundle);\\n\\t\\t\\t\\t\\tstartService(alarmIntent);\\n\\t\\t\\t\\t\\tmanager.setRepeating(AlarmManager.RTC_WAKEUP,\\n\\t\\t\\t\\t\\t\\t\\tcal.getTimeInMillis(), diff, pendingIntent);\\n\\t\\t\\t\\t} catch (ParseException 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\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba34cece6aadb6ec107ff76b6f821dc7\",\n \"score\": \"0.5892119\",\n \"text\": \"public AlarmEntry(int startHour,int startMin,byte repeat,boolean isOn){\\n this.startHour = startHour;\\n this.startMin = startMin;\\n this.repeat = repeat;\\n this.isOn = isOn;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"efaeb2fb458f25580eb66d4473cc8c4e\",\n \"score\": \"0.5890011\",\n \"text\": \"@Override\\n\\t\\t\\t\\t\\tpublic void onClick(DialogInterface dialog, int which) {\\n\\t\\t\\t\\t\\t\\tIntent notificationIntent = new Intent(\\n\\t\\t\\t\\t\\t\\t\\t\\tMainActivity.this, NotificationService.class);\\n\\t\\t\\t\\t\\t\\tpendingIntent = PendingIntent.getService(\\n\\t\\t\\t\\t\\t\\t\\t\\tMainActivity.this, 0, notificationIntent, 0);\\n\\t\\t\\t\\t\\t\\tAlarmManager alarmManager = (AlarmManager) getSystemService(ALARM_SERVICE);\\n\\t\\t\\t\\t\\t\\tCalendar calendar = Calendar.getInstance();\\n\\t\\t\\t\\t\\t\\tcalendar.setTimeInMillis(System.currentTimeMillis());\\n\\t\\t\\t\\t\\t\\tcalendar.add(Calendar.MINUTE, timings[which]);\\n\\t\\t\\t\\t\\t\\talarmManager.set(AlarmManager.RTC_WAKEUP,\\n\\t\\t\\t\\t\\t\\t\\t\\tcalendar.getTimeInMillis(), pendingIntent);\\n\\n\\t\\t\\t\\t\\t\\tToast.makeText(MainActivity.this,\\n\\t\\t\\t\\t\\t\\t\\t\\t\\\"Reminder is Set!\\\", Toast.LENGTH_SHORT)\\n\\t\\t\\t\\t\\t\\t\\t\\t.show();\\n\\t\\t\\t\\t\\t\\tdialog.dismiss();\\n\\n\\t\\t\\t\\t\\t\\t// alert the user with another notification, that says\\n\\t\\t\\t\\t\\t\\t// remider has set\\n\\n\\t\\t\\t\\t\\t\\t// Set the icon, scrolling text and timestamp\\n\\t\\t\\t\\t\\t\\tUri soundUri = RingtoneManager\\n\\t\\t\\t\\t\\t\\t\\t\\t.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION);\\n\\n\\t\\t\\t\\t\\t\\t// The PendingIntent to launch our activity if the user\\n\\t\\t\\t\\t\\t\\t// selects this notification\\n\\t\\t\\t\\t\\t\\tPendingIntent contentIntent = PendingIntent\\n\\t\\t\\t\\t\\t\\t\\t\\t.getActivity(MainActivity.this, 0, new Intent(\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tMainActivity.this, MainActivity.class),\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t0);\\n\\n\\t\\t\\t\\t\\t\\tNotification notification = new Notification.Builder(\\n\\t\\t\\t\\t\\t\\t\\t\\tMainActivity.this)\\n\\t\\t\\t\\t\\t\\t\\t\\t.setContentTitle(\\\"ParkMyCar\\\")\\n\\t\\t\\t\\t\\t\\t\\t\\t.setContentText(\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"Reminder is set to: \\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t+ calendar.get(Calendar.HOUR)\\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+ calendar.get(Calendar.MINUTE)\\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+ calendar.getDisplayName(\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tCalendar.AM_PM,\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tCalendar.SHORT,\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tLocale.US))\\n\\t\\t\\t\\t\\t\\t\\t\\t.setWhen(System.currentTimeMillis())\\n\\t\\t\\t\\t\\t\\t\\t\\t.setSound(soundUri)\\n\\t\\t\\t\\t\\t\\t\\t\\t.setSmallIcon(R.drawable.ic_launcher)\\n\\t\\t\\t\\t\\t\\t\\t\\t.setContentIntent(contentIntent)\\n\\t\\t\\t\\t\\t\\t\\t\\t.setVibrate(\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tnew long[] { 1000, 1000, 1000, 1000,\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t1000 })\\n\\t\\t\\t\\t\\t\\t\\t\\t.setLights(Color.RED, 3000, 3000).build();\\n\\n\\t\\t\\t\\t\\t\\t// clear notification after pressing:\\n\\t\\t\\t\\t\\t\\tnotification.flags |= Notification.FLAG_AUTO_CANCEL;\\n\\n\\t\\t\\t\\t\\t\\t// Send the notification.\\n\\n\\t\\t\\t\\t\\t\\tNotificationManager mNM = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);\\n\\t\\t\\t\\t\\t\\tif (mNM != null) {\\n\\t\\t\\t\\t\\t\\t\\tmNM.cancel(123456);\\n\\t\\t\\t\\t\\t\\t\\tmNM.cancel(123457);\\n\\t\\t\\t\\t\\t\\t\\tmNM.notify(123457, notification);\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3e093bd170d1d4acdb589a49cb801974\",\n \"score\": \"0.5889386\",\n \"text\": \"@Override\\n public void onReceive(@NonNull Context context, Intent intent) {\\n Log.d(\\\"SnoozeReceiver\\\", \\\"snoozing\\\");\\n Calendar calendar = Calendar.getInstance();\\n calendar.add(Calendar.MINUTE, Integer.parseInt(PreferenceManager.getDefaultSharedPreferences(context).getString(PreferenceKeys.SNOOZE, PreferenceKeys.DEFAULT_SNOOZE)));\\n Alarm.setAlarm(calendar, context);\\n NotificationManagerCompat.from(context).cancel(AlarmReceiver.NOTIFICATION_ID);\\n PreferenceManager.getDefaultSharedPreferences(context).edit().putInt(PreferenceKeys.ALARM_MODE, 2).apply();\\n AlarmReceiver.stopRingtone();\\n context.sendBroadcast(new Intent(ALARM_BROADCAST));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8218ce26ace93f78775da16aaf423b04\",\n \"score\": \"0.5888053\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void onClick(View v) {\\n\\t\\t\\t\\tif(cb5.isChecked()){\\n\\t\\t\\t\\t\\tContext c=MainActivity.this;\\n\\t\\t\\t\\t\\t//...................jan...1\\n\\t\\t\\t\\t i5=new Intent(getBaseContext(),alarm5.class);\\n\\t\\t\\t pi5=PendingIntent.getBroadcast(getBaseContext(), 0, i5,PendingIntent.FLAG_CANCEL_CURRENT);\\n\\t\\t\\t Calendar cal5=Calendar.getInstance();\\n\\t\\t\\t cal5.setTimeInMillis(System.currentTimeMillis()); //cal.getTimeInMillis();\\n\\t\\t\\t // cal.set(2014,0,1, 6 ,00,00);\\n\\t\\t\\t //cal.add(Calendar.SECOND,5);\\n\\t\\t\\t \\n\\t\\t\\t cal5.set(Calendar.MONTH,1);\\n\\t\\t\\t cal5.set(Calendar.DAY_OF_MONTH,24);\\n\\t\\t\\t cal5.set(Calendar.HOUR_OF_DAY,7);\\n\\t\\t\\t cal5.set(Calendar.MINUTE,00);\\n\\t\\t\\t cal5.set(Calendar.SECOND, 00);\\n\\t\\t\\t manager=(AlarmManager) c.getSystemService(ALARM_SERVICE);\\n\\t\\t\\t manager.setRepeating(AlarmManager.RTC_WAKEUP,cal5.getTimeInMillis(),5*1000*60,pi5);\\n\\t\\t\\t \\n\\t\\t\\t\\t\\tb5.setVisibility(View.VISIBLE);\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ac4f631e50a2baf65bbbb710b7963858\",\n \"score\": \"0.58835584\",\n \"text\": \"public void MADailyTimesheet()\\r\\n\\t{\\r\\n\\t\\tString pass = \\\"MA_Daily\\\";\\r\\n\\t\\talaskaAssociate(pass);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e6378d7db1ec48af02fc2d04e0654220\",\n \"score\": \"0.5871751\",\n \"text\": \"@Scheduled(every = \\\"1m\\\")\\n void onTime(){\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"64a441d9df6c8d6c8ce83cd22a14ce5a\",\n \"score\": \"0.5866127\",\n \"text\": \"private void createSystemTimer(long time, int id, Intent intent){\\n\\t\\tPendingIntent startVibrating = PendingIntent.getBroadcast(parent,\\n\\t\\t\\t\\tid, intent, PendingIntent.FLAG_UPDATE_CURRENT);\\n\\t\\tam.setRepeating(AlarmManager.RTC, time, WEEK_MILLISECONDS, startVibrating); \\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1771b27e521e06e05a25ee437c39e3fd\",\n \"score\": \"0.5865324\",\n \"text\": \"@Scheduled(cron=\\\"0 0 23 * * *\\\")\\n\\t//@Scheduled(cron=\\\"0 59 16 * * *\\\")\\n\\t//@Scheduled(cron=\\\"*/5 * * * * ?\\\")\\n\\t//@Scheduled(cron=\\\"*/5 * * * * *\\\")\\n\\tpublic void doSchedule() {\\n\\t\\tlogger.info(\\\"Start schedule\\\");\\n\\t\\tmraWorker.work();\\n\\t\\tlogger.info(\\\"End schedule\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8fe3360fffbff330f5165f0b9afd11b7\",\n \"score\": \"0.58541465\",\n \"text\": \"public Alarm() {\\n\\t\\tthis.id = this.generateUniqueId();\\n\\t\\t\\n\\t\\tCalendar calendar = Calendar.getInstance();\\n\\t\\tthis.hour = calendar.get(Calendar.HOUR_OF_DAY);\\n\\t\\tthis.minute = calendar.get(Calendar.MINUTE);\\n\\t\\t\\n\\t\\tthis.city = new City();\\n\\t\\tthis.active = Boolean.TRUE;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"415592eceeafe681cec9131a29f1b31d\",\n \"score\": \"0.58537143\",\n \"text\": \"public void openAlarm() {\\n Intent intent = new Intent(this, alarm.class);\\n startActivity(intent);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1395f4b3f8a2984afa11d08f76b9e50\",\n \"score\": \"0.58523154\",\n \"text\": \"WarbandsAlarm() {\\n\\n dayToEpochMillis = processFile(\\\"warbands.txt\\\");\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9c6b8329250507178102fd90693867cb\",\n \"score\": \"0.58492553\",\n \"text\": \"public static void startRepeatingNotificationService(Context context) {\\n\\t\\tIntent intent = new Intent(context, CheckNotificationServiceReceiver.class);\\n\\t\\tPendingIntent pending = PendingIntent.getBroadcast(context, 0, intent, PendingIntent.FLAG_CANCEL_CURRENT);\\n\\t\\tAlarmManager service = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);\\n\\t\\tCalendar cal = Calendar.getInstance();\\n\\t\\t//start 10 minutes after the boot is completed or after called\\n\\t\\tcal.add(Calendar.MINUTE, 10);\\n\\t\\t//fetch in exactly half an hour\\n\\t\\tservice.setInexactRepeating(AlarmManager.RTC_WAKEUP, cal.getTimeInMillis(), AlarmManager.INTERVAL_HOUR, pending);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"657c1ada4477bcc7ec17a14477b2c6fc\",\n \"score\": \"0.5837954\",\n \"text\": \"public void alarmSet(long num){\\n Calendar t = Calendar.getInstance();\\n // Set start time after the given time\\n t.setTimeInMillis(num);\\n result = true;\\n Context context = this;\\n AlarmManager alarmMgr;\\n alarmMgr = (AlarmManager)getSystemService(Context.ALARM_SERVICE);\\n Intent intent = new Intent(this, AlarmReceiver.class);\\n intent.putExtra(\\\"some_constant\\\", result);\\n PendingIntent pendingIntent = PendingIntent.getBroadcast(context, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT);\\n alarmMgr.set(AlarmManager.RTC_WAKEUP, t.getTimeInMillis(), pendingIntent);\\n\\n // Start getting hardware data to determine what is the right time to stop.\\n getDataAsyncTask tsk = new getDataAsyncTask(num+1000);\\n tsk.execute();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3921b79c1bda93376729e27ee59213e\",\n \"score\": \"0.58361137\",\n \"text\": \"public void schedule();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3b6460b773b70215a7d75e2eeceda65b\",\n \"score\": \"0.58320993\",\n \"text\": \"@Override\\n public void onTimeSet(TimePicker view, int hourOfDay, int minute) {\\n cHour = hourOfDay;\\n cMinute = minute;\\n\\n customCalender.set(cYear,cMonth,cDay,cHour,cMinute);\\n\\n startTime = customCalender.getTimeInMillis();\\n startAlarm((int) startTime);\\n tvDate.setText(date_time+\\\" \\\"+hourOfDay + \\\":\\\" + minute);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7879e6f9c28ee3dd8686fb0a7429309\",\n \"score\": \"0.5830191\",\n \"text\": \"@Override\\r\\n\\tpublic void morning() {\\n\\t\\tSystem.out.println(\\\"Shubodaya\\\");\\r\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bb88c2c1a3c6472de7408beef2b3cbe3\",\n \"score\": \"0.58285964\",\n \"text\": \"protected void setExpirationAlarm() {\\n AlarmManager alarmManager = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE);\\n Intent intent = new Intent(ACTION_ALARM_EXPIRING);\\n PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, 0, intent, PendingIntent.FLAG_ONE_SHOT\\n | PendingIntent.FLAG_UPDATE_CURRENT);\\n alarmManager.cancel(pendingIntent);\\n long expirationDate = getAlarmExpiration();\\n if (getAlarmExpirationTimeout() > 0 && expirationDate > 0) {\\n long currentTimeMillis = System.currentTimeMillis();\\n long timeout = expirationDate - currentTimeMillis;\\n // if alarm has expired, recalculate a new expiration date\\n if (timeout <= 0) {\\n expirationDate = currentTimeMillis + timeout % MS_PER_DAY + MS_PER_DAY;\\n expirationDate = currentTimeMillis + getAlarmExpirationTimeout();\\n }\\n\\n alarmManager.set(AlarmManager.RTC, expirationDate, pendingIntent);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b29051c62224b113c8cff92a1447c2d1\",\n \"score\": \"0.5827688\",\n \"text\": \"@Override\\n public void autonomousPeriodic() {\\n SmartDashboard.putNumber(\\\"MatchTime\\\", Timer.getMatchTime());\\n Scheduler.getInstance().run();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"35c725ddc6f3d65e03f48ad139bf9a57\",\n \"score\": \"0.58096844\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void onClick(View v) {\\n\\t\\t\\t\\tif(cb4.isChecked()){\\n\\t\\t\\t\\t\\tContext c=MainActivity.this;\\n\\t\\t\\t\\t\\t//...................jan...1\\n\\t\\t\\t\\t i4=new Intent(getBaseContext(),alarm4.class);\\n\\t\\t\\t pi4=PendingIntent.getBroadcast(getBaseContext(), 0, i4,PendingIntent.FLAG_CANCEL_CURRENT);\\n\\t\\t\\t Calendar cal4=Calendar.getInstance();\\n\\t\\t\\t cal4.setTimeInMillis(System.currentTimeMillis()); //cal.getTimeInMillis();\\n\\t\\t\\t // cal.set(2014,0,1, 6 ,00,00);\\n\\t\\t\\t //cal.add(Calendar.SECOND,5);\\n\\t\\t\\t \\n\\t\\t\\t cal4.set(Calendar.MONTH,1);\\n\\t\\t\\t cal4.set(Calendar.DAY_OF_MONTH,16);\\n\\t\\t\\t cal4.set(Calendar.HOUR_OF_DAY,7);\\n\\t\\t\\t cal4.set(Calendar.MINUTE,00);\\n\\t\\t\\t cal4.set(Calendar.SECOND, 00);\\n\\t\\t\\t manager=(AlarmManager) c.getSystemService(ALARM_SERVICE);\\n\\t\\t\\t manager.setRepeating(AlarmManager.RTC_WAKEUP,cal4.getTimeInMillis(),5*1000*60,pi4);\\n\\t\\t\\t \\n\\t\\t\\t\\t\\tb4.setVisibility(View.VISIBLE);\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"71fa497364805b5f63e8aa1100497617\",\n \"score\": \"0.58076096\",\n \"text\": \"private void setRecurringAlarmTest(Context context) {\\r\\n long minuteCollect = 1000 * 60L;\\r\\n\\r\\n Calendar updateTime = Calendar.getInstance();\\r\\n updateTime.setTimeInMillis(System.currentTimeMillis());\\r\\n\\r\\n Intent downloader = new Intent(context, StatsCollectionAlarmReceiver.class);\\r\\n PendingIntent statCollector = PendingIntent.getBroadcast(context,\\r\\n 0, downloader, 0);\\r\\n AlarmManager alarms = (AlarmManager) getSystemService(\\r\\n Context.ALARM_SERVICE);\\r\\n alarms.setInexactRepeating(AlarmManager.RTC_WAKEUP,\\r\\n updateTime.getTimeInMillis(),\\r\\n minuteCollect, statCollector);\\r\\n\\r\\n Calendar uploadTime = Calendar.getInstance();\\r\\n uploadTime.setTimeInMillis(System.currentTimeMillis());\\r\\n\\r\\n Intent uploadIntent = new Intent(context, ServerUploaderReceiver.class);\\r\\n PendingIntent uploadPending = PendingIntent.getBroadcast(context, 0, uploadIntent, 0);\\r\\n AlarmManager uploadAlarm = (AlarmManager) getSystemService(Context.ALARM_SERVICE);\\r\\n uploadAlarm.setInexactRepeating(AlarmManager.RTC_WAKEUP,\\r\\n uploadTime.getTimeInMillis(),\\r\\n AlarmManager.INTERVAL_HOUR,\\r\\n uploadPending);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7e32abf70454898d690565df85a4d191\",\n \"score\": \"0.5806986\",\n \"text\": \"public void startAlertTimer() {\\n alertTimer = new Timer();\\n alertTimer.scheduleAtFixedRate(new AlertTask(this.activeClock, this.activeCalendar), new Date(), interval);\\n this.setChanged();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3c9fb777e00f7b73089c91d16f40f934\",\n \"score\": \"0.5802248\",\n \"text\": \"public void setAlarms(Context context) {\\r\\n\\t\\tCalendar calendar = Calendar.getInstance();\\r\\n\\t\\t\\r\\n\\t\\t// Set repeating alarm for notifying the user\\r\\n//\\t\\tcalendar.set(Calendar.HOUR_OF_DAY, 12);\\r\\n//\\t\\tcalendar.set(Calendar.MINUTE, 0);\\r\\n//\\t\\tcalendar.set(Calendar.SECOND, 0);\\r\\n\\t\\tIntent notification = new Intent(context, NotificationReceiver.class);\\r\\n\\t\\tnotificationPendingIntent = PendingIntent.getBroadcast(context, 0, notification, PendingIntent.FLAG_CANCEL_CURRENT);\\r\\n\\t\\talarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);\\r\\n\\t\\talarmManager.cancel(notificationPendingIntent);\\r\\n//\\t\\talarmManager.setRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis() + 3*AlarmManager.INTERVAL_DAY,\\r\\n//\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t3*AlarmManager.INTERVAL_DAY, notificationPendingIntent);\\r\\n\\r\\n\\t\\t// Set repeating alarm for fetching data from server\\r\\n\\t\\tint hours = 10 + (int) (Math.random() * ((12 - 10) + 1));\\r\\n\\t\\tint minutes = 0 + (int) (Math.random() * ((60 - 0) + 1));\\r\\n\\t\\tcalendar.set(Calendar.HOUR_OF_DAY, hours);\\r\\n\\t\\tcalendar.set(Calendar.MINUTE, minutes);\\r\\n\\t\\tcalendar.set(Calendar.SECOND, 0);\\r\\n\\t\\tIntent dataFetch = new Intent(context, DataFetchReceiver.class);\\r\\n\\t\\tfetchingPendingIntent = PendingIntent.getBroadcast(context, 0, dataFetch, PendingIntent.FLAG_CANCEL_CURRENT);\\r\\n\\t\\talarmManager.cancel(fetchingPendingIntent);\\r\\n\\t\\talarmManager.setRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis() + AlarmManager.INTERVAL_DAY,\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tAlarmManager.INTERVAL_DAY, fetchingPendingIntent);\\r\\n\\t\\t\\r\\n\\t\\t// Set repeating alarm for uploading usage data to server\\r\\n\\t\\thours = 17 + (int) (Math.random() * ((19 - 17) + 1));\\r\\n\\t\\tminutes = 0 + (int) (Math.random() * ((60 - 0) + 1));\\r\\n\\t\\tcalendar.set(Calendar.HOUR_OF_DAY, hours);\\r\\n\\t\\tcalendar.set(Calendar.MINUTE, minutes);\\r\\n\\t\\tcalendar.set(Calendar.SECOND, 0);\\r\\n\\t\\tIntent usageUpload = new Intent(context, UsageUploadReceiver.class);\\r\\n\\t\\tuploadPendingIntent = PendingIntent.getBroadcast(context, 0, usageUpload, PendingIntent.FLAG_CANCEL_CURRENT);\\r\\n\\t\\talarmManager.cancel(uploadPendingIntent);\\r\\n\\t\\talarmManager.setRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), AlarmManager.INTERVAL_DAY, uploadPendingIntent);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"076f34b36c7b4e471c347f60a079456b\",\n \"score\": \"0.5799728\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void onClick(View v) {\\n\\t\\t\\t\\tif(cb1.isChecked()){\\n\\t\\t\\t\\t\\tContext c=MainActivity.this;\\n\\t\\t\\t\\t\\t//...................jan...1\\n\\t\\t\\t\\t i=new Intent(getBaseContext(),alarm.class);\\n\\t\\t\\t pi=PendingIntent.getBroadcast(getBaseContext(), 0, i,PendingIntent.FLAG_CANCEL_CURRENT);\\n\\t\\t\\t Calendar cal=Calendar.getInstance();\\n\\t\\t\\t cal.setTimeInMillis(System.currentTimeMillis()); //cal.getTimeInMillis();\\n\\t\\t\\t // cal.set(2014,0,1, 6 ,00,00);\\n\\t\\t\\t //cal.add(Calendar.SECOND,5);\\n\\t\\t\\t \\n\\t\\t\\t cal.set(Calendar.MONTH,0);\\n\\t\\t\\t cal.set(Calendar.DAY_OF_MONTH,30);\\n\\t\\t\\t cal.set(Calendar.HOUR_OF_DAY,7);\\n\\t\\t\\t cal.set(Calendar.MINUTE,00);\\n\\t\\t\\t cal.set(Calendar.SECOND, 00);\\n\\t\\t\\t manager=(AlarmManager) c.getSystemService(ALARM_SERVICE);\\n\\t\\t\\t manager.setRepeating(AlarmManager.RTC_WAKEUP,cal.getTimeInMillis(),5*1000*60,pi);\\n\\t\\t\\t \\n\\t\\t\\t\\t\\tb.setVisibility(View.VISIBLE);\\n\\t\\t\\t\\t\\t\\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\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f748476da136c13d3d08d373395bbd25\",\n \"score\": \"0.57983375\",\n \"text\": \"public void test_repeatEachHour_iterations_noSchedule(){\\n\\t\\tDate now = new Date(112, 4, 3, 21, 31);\\n\\t\\tDate end = new Date(112, 5, 3, 12, 31);\\n\\t\\tDate start = new Date(112, 4, 3, 18, 38);\\n\\n\\t\\tReminder a = new Reminder(\\\"\\\", \\\"\\\", start, end, true, Reminder.END_TYPE_ITERATIONS, Reminder.REPEAT_PERIOD_HOUR, 1, 2);\\n\\t\\t\\n\\t\\tDate result = a.getNextTimeLapse(now);\\n\\t\\tassertNull(result);\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":380,"cells":{"query_id":{"kind":"string","value":"c59c9c399b56649f4d4a85b05767460b"},"query":{"kind":"string","value":"EVENT HANDLERS ////////////////////////////////////////////////////////// / If sources for events kept isolated, components (Toolbars, Menubars, CrossReferences) can be added to any frame."},"positive_passages":{"kind":"list like","value":[{"docid":"5d994598d53c077e3511d3f8785e7b95","score":"0.0","text":"@Override\n\tpublic void referenceClicked(String link) {\n\t\tnoteMap.openClickedNote(link);\n\t}","title":""}],"string":"[\n {\n \"docid\": \"5d994598d53c077e3511d3f8785e7b95\",\n \"score\": \"0.0\",\n \"text\": \"@Override\\n\\tpublic void referenceClicked(String link) {\\n\\t\\tnoteMap.openClickedNote(link);\\n\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"3f4aa2e755d09aad8f0181917f9602b6","score":"0.6619256","text":"private static void eventController(){\r\n\r\n\t\t_frame.addWindowListener(new WindowAdapter(){ \t\t\t\t//windowAdapter is a dummy class\r\n\t\t\t@Override\r\n\t\t\tpublic void windowClosing(WindowEvent e){\r\n\t\t\t\tquit();\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\t_send.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\tperformAction();\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\t_menuItemBrown.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\t_corpusNormalizer.show();\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\t_menuItemLocations.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\t_fileLocator.show();\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\t_menuItemAnalysis.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\t_analysis.show();\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\t_menuItemQuit.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\tquit();\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\t_menuItemPennTags.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\t_pennTagViewer.show();\r\n\t\t\t}\r\n\t\t});\r\n\t}","title":""},{"docid":"c4ad984de1e98aa3b12e62ac5af34ef1","score":"0.6332061","text":"@Override\n\t\t\tpublic void componentShown(ComponentEvent e) {\n\t\t\t}","title":""},{"docid":"d23cc24a653b2cfca530956896f7ab90","score":"0.6329105","text":"@Override\r\n\tpublic void componentMoved(ComponentEvent e) {\n\r\n\t}","title":""},{"docid":"52e2782a26edc9fa0c47e09ff9608039","score":"0.63215","text":"@Override\n public void componentShown(ComponentEvent e) {\n }","title":""},{"docid":"52e2782a26edc9fa0c47e09ff9608039","score":"0.63215","text":"@Override\n public void componentShown(ComponentEvent e) {\n }","title":""},{"docid":"52e2782a26edc9fa0c47e09ff9608039","score":"0.63215","text":"@Override\n public void componentShown(ComponentEvent e) {\n }","title":""},{"docid":"52e2782a26edc9fa0c47e09ff9608039","score":"0.63215","text":"@Override\n public void componentShown(ComponentEvent e) {\n }","title":""},{"docid":"52e2782a26edc9fa0c47e09ff9608039","score":"0.63215","text":"@Override\n public void componentShown(ComponentEvent e) {\n }","title":""},{"docid":"da6cde8af55307cc94a43a14cc749abe","score":"0.6315602","text":"public void event_BeforeShowComponent(Component comp) { }","title":""},{"docid":"f66d716aae7ca6bd992a6121283f1f81","score":"0.6281535","text":"@Override\n\tpublic void componentShown(ComponentEvent e) {\n\t\t\n\t}","title":""},{"docid":"f66d716aae7ca6bd992a6121283f1f81","score":"0.6281535","text":"@Override\n\tpublic void componentShown(ComponentEvent e) {\n\t\t\n\t}","title":""},{"docid":"0f1300c360c84351aba5a2f3c9a6b926","score":"0.62809074","text":"protected void onGuiEvent(GuiEvent e) {\n }","title":""},{"docid":"0f1300c360c84351aba5a2f3c9a6b926","score":"0.62809074","text":"protected void onGuiEvent(GuiEvent e) {\n }","title":""},{"docid":"facf7e7bb1fb1c03a2ee9674af1ad53c","score":"0.6275093","text":"@Override\r\n\tpublic void componentShown(ComponentEvent arg0) {\n\t\t\r\n\t}","title":""},{"docid":"3b22b413685634086acfad68ee157dac","score":"0.62619966","text":"private CommonButtonPanelListener(JFrame parent) {\r\n\t\t\tthis.parent = parent;\r\n\t\t}","title":""},{"docid":"c6739eacb29f1ad84928e88c66b3438d","score":"0.6261136","text":"@Override\n\t\t public void componentShown(ComponentEvent e) {\n\t\n\t\t }","title":""},{"docid":"595cce674adeb1491ecd5b90cfd1f6e0","score":"0.6247599","text":"public void componentMoved(ComponentEvent e) {\r\n\t\t\t\tlogger.finest(\"window frame moved\");\r\n\t\t\t\t\r\n\t\t\t\tpopUpNotification.setVisible(false);\r\n\t\t\t\tpopUpHelp.setVisible(false);\r\n\t\t\t\tinitPopUps();\t\t\t\t\r\n\t\t\t}","title":""},{"docid":"40d1ab1c095569c6f179b442680c3cb1","score":"0.62419796","text":"@Override\n\tpublic void componentShown(ComponentEvent arg0) {\n\t\t\n\t}","title":""},{"docid":"40d1ab1c095569c6f179b442680c3cb1","score":"0.62419796","text":"@Override\n\tpublic void componentShown(ComponentEvent arg0) {\n\t\t\n\t}","title":""},{"docid":"ac967da19ca9061b8c396f25008d5ae5","score":"0.62344575","text":"private void formInternalFrameActivated(javax.swing.event.InternalFrameEvent evt) {\n \n }","title":""},{"docid":"f068f0d205e77fb04451d4e45b7d4e0a","score":"0.62254566","text":"@Override\n public void componentMoved(ComponentEvent e) {\n }","title":""},{"docid":"f068f0d205e77fb04451d4e45b7d4e0a","score":"0.62254566","text":"@Override\n public void componentMoved(ComponentEvent e) {\n }","title":""},{"docid":"f068f0d205e77fb04451d4e45b7d4e0a","score":"0.62254566","text":"@Override\n public void componentMoved(ComponentEvent e) {\n }","title":""},{"docid":"f068f0d205e77fb04451d4e45b7d4e0a","score":"0.62254566","text":"@Override\n public void componentMoved(ComponentEvent e) {\n }","title":""},{"docid":"f068f0d205e77fb04451d4e45b7d4e0a","score":"0.62254566","text":"@Override\n public void componentMoved(ComponentEvent e) {\n }","title":""},{"docid":"f69d4d86e7f9bec61b2685cb299fe313","score":"0.6225118","text":"@Override\r\n\tpublic void componentMoved(ComponentEvent arg0) {\n\t}","title":""},{"docid":"c8f76c6733ca26d90b2be67f481a61cc","score":"0.6216025","text":"private void addEvents() {\n\t\tthis.addMouseListener(new MouseAdapter() {\n\t\t\tpublic void mouseClicked(java.awt.event.MouseEvent evt) {\n\t\t\t\txuLyShowProduct();\n \n }\n\t\t});\n\t\tbtnShow.addActionListener(new ActionListener() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\txuLyShowProduct();\n\t\t\t}\n\t\t});\n\t\tbtnAdd.addActionListener(new ActionListener() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\txuLyThemSanPhamVaoGioHang();\n\t\t\t}\n\t\t});\n\t}","title":""},{"docid":"b82a5e39e57cd0a54075f0aa1deb9ee6","score":"0.62088144","text":"@Override\n\tpublic void componentShown(ComponentEvent arg0) {\n\n\t}","title":""},{"docid":"432f06c91bb7eefeb90d8407c082bfc7","score":"0.62059665","text":"@Override\r\n\tpublic void internalFrameActivated(InternalFrameEvent e) {\n\t\t\r\n\t}","title":""},{"docid":"329060485d04cc50a65f34ee42e7e249","score":"0.62015164","text":"@Override\n\tpublic void componentMoved(ComponentEvent e) {\n\t\t\n\t}","title":""},{"docid":"329060485d04cc50a65f34ee42e7e249","score":"0.62015164","text":"@Override\n\tpublic void componentMoved(ComponentEvent e) {\n\t\t\n\t}","title":""},{"docid":"258be6c2504f72b1058824edec7c7a80","score":"0.61689436","text":"@Override\n\tpublic void componentMoved(ComponentEvent arg0) {\n\n\t}","title":""},{"docid":"7a485cda48020b6cc04d639212f40df0","score":"0.61605763","text":"@Override\n\tpublic void componentMoved(ComponentEvent arg0) {\n\t\t\n\t}","title":""},{"docid":"7a485cda48020b6cc04d639212f40df0","score":"0.61605763","text":"@Override\n\tpublic void componentMoved(ComponentEvent arg0) {\n\t\t\n\t}","title":""},{"docid":"4b9078854225198512eff10269b110e9","score":"0.61592907","text":"@Override\n\t\t\tpublic void componentMoved(ComponentEvent e) {\n\t\t\t}","title":""},{"docid":"59bb167b2335a7a4357097af70fa1540","score":"0.6140193","text":"public void componentShown(ComponentEvent e) {\n \t}","title":""},{"docid":"2e3c430f334ab62be5dd096079cbfdf6","score":"0.61350083","text":"@Override\r\n\tpublic void internalFrameOpened(InternalFrameEvent e) {\n\t\t\r\n\t}","title":""},{"docid":"8ef7a499ee9338989be5156cbdf4e6a3","score":"0.6132899","text":"@Override\n\t\t public void componentMoved(ComponentEvent e) {\n\t\n\t\t }","title":""},{"docid":"f738b18217b24a8f731912ff8aa9a1c1","score":"0.61241937","text":"public void handleEvent(Event event) {\n if (toolBarManager.getContextMenuManager() == null) {\n handleContextMenu(event);\n }\n }","title":""},{"docid":"3ed33d8abbb19588c42ea5eb215347ce","score":"0.61135834","text":"private void actionListeners(){\n\t\t_event = new EventHandler(_model);\n\t\t_burningShipMenu.addActionListener(_event);\n\t\t_juliaMenu.addActionListener(_event);\n\t\t_multibrotMenu.addActionListener(_event);\n\t\t_mandelbrotMenu.addActionListener(_event);\n\t\t\n\t\t_color0Menu.addActionListener(_event);\n\t\t_color1Menu.addActionListener(_event);\n\t\t_color2Menu.addActionListener(_event);\n\t\t_color3Menu.addActionListener(_event);\n\t\t_escapeDistMenu.addActionListener(_event);\n\t\t_setMaxPassesMenu.addActionListener(_event);\n\t\t_resetZoomMenu.addActionListener(_event);\n\t\t_setNumThreadsMenu.addActionListener(_event);\n\t\t_exit.addActionListener(_event);\n\t\t_mevent = new MouseHandler(_model, this);\n\t\t_fractalPanel.addMouseListener(_mevent);\n\t\t_fractalPanel.addMouseMotionListener(_mevent);\n\t}","title":""},{"docid":"6fc4b78274a7f034ec0b2de2176ee012","score":"0.61064637","text":"public NewEventActionListener(EnvironmentFrame parentFrame)\n {\n this.parentFrame = parentFrame;\n }","title":""},{"docid":"435735a2cb14265771e19c8f478a3521","score":"0.60918677","text":"@Override\r\n\t\tpublic void internalFrameActivated(InternalFrameEvent e) {\n\t\t\t\r\n\t\t}","title":""},{"docid":"e6e619e42df3508ff0f4abec2b243332","score":"0.60593307","text":"public void componentShown(ComponentEvent e) {\r\n }","title":""},{"docid":"f193552339c2a6da445e2b6361a44f58","score":"0.6057811","text":"public void componentShown(ComponentEvent e) {\n\t\t\n\t}","title":""},{"docid":"03a0c446b89025094ec407e7f738e3db","score":"0.6053773","text":"@Override\r\n\tpublic void internalFrameIconified(InternalFrameEvent e) {\n\t\t\r\n\t}","title":""},{"docid":"3e5de15575858621441263780e84acce","score":"0.604627","text":"private MenuBarListener(JFrame parent) {\r\n\t\t\tthis.parent = parent;\r\n\t\t}","title":""},{"docid":"222ae77288f4104290479c838e5cf545","score":"0.60279995","text":"private void addEvents() {\n\t\taddDomHandler(new MouseOverHandler() {\n\n\t\t\tpublic void onMouseOver(MouseOverEvent event) {\n\t\t\t\taddThisOpen(anchor.getElement());\n\t\t\t}\n\t\t}, MouseOverEvent.getType());\n\t\taddDomHandler(new MouseOutHandler() {\n\n\t\t\tpublic void onMouseOut(MouseOutEvent event) {\n\t\t\t\taddThisClose();\n\t\t\t}\n\t\t}, MouseOutEvent.getType());\n\t\taddDomHandler(new ClickHandler() {\n\n\t\t\tpublic void onClick(ClickEvent event) {\n\t\t\t\taddThisSendTo();\n\t\t\t\tevent.preventDefault();\n\t\t\t}\n\t\t}, ClickEvent.getType());\n\t}","title":""},{"docid":"35e91c016e099e4e074454dc8901d164","score":"0.60177994","text":"public GuiListener(MainFrame frame) {\n\n\t\tthis.frame = frame;\n\n\t\t/* the bad words, which are available in the class MainFrame, are added to the bad word \n\t\t filter-object */\n\t\t\n\t\tfilter = new BadWordFilter(new Message(\"\", \"\"));\n\t\tfilter.addBadWords(frame.badWords);\n\n\t\t/* the translations, which are available in the class MainFrame, are added to the \n\t\t translator-object */\n\t\t\n\t\ttranslator = new Translator(filter);\n\t\ttranslator.addTranslations(frame.translations);\n\t}","title":""},{"docid":"ab52124cc5491350bbdef457c2d5fbaa","score":"0.6015831","text":"@Override\r\n\t\tpublic void internalFrameOpened(InternalFrameEvent e) {\n\t\t\t\r\n\t\t}","title":""},{"docid":"d84fb7a433337dc392930a0d231ae66b","score":"0.6011281","text":"private void attachEventHandlers() {\n // About Menu Item Handler\n optionsModuleChooserMenuBar.addAboutHandler(a -> alertDialogBuilder(AlertType.INFORMATION, \"Information Dialog\", null, \"Options Module Chooser MVC app v1.0\"));\n\n // Exit Menu Item Handler\n optionsModuleChooserMenuBar.addExitHandler(e -> System.exit(0));\n\n // Creating, Save and Load the Students Profile\n studentProfileViewPane.addCreateStudentProfileHandler(new StudentProfilesHandler());\n optionsModuleChooserMenuBar.addLoadStudentDataHandler(new LoadStudentHandler());\n optionsModuleChooserMenuBar.addSaveStudentDataHandler(new SaveStudentHandler());\n\n // Submit Button Module Selections\n moduleSelectionViewPane.addSubmitModulesHandler(new SubmitModulesHandler());\n\n // Reset Button\n moduleSelectionViewPane.addResetModulesHandler(new ResetModulesHandler());\n\n // Term 1 - Add & Remove Handlers\n term1SelectionPane.addAddHandler(new AddHandler(term1SelectionPane));\n term1SelectionPane.addRemoveHandler(new RemoveHandler(term1SelectionPane));\n\n // Term 2 - Add & Remove Handlers\n term2SelectionPane.addAddHandler(new AddHandler(term2SelectionPane));\n term2SelectionPane.addRemoveHandler(new RemoveHandler(term2SelectionPane));\n\n // Term 1 - Select and Remove items with double clicks\n term1SelectionPane.addDoubleMouseAddClickSelectionHandler(new DoubleMouseAddClickSelectionHandler(term1SelectionPane));\n term1SelectionPane.addDoubleMouseRemoveClickSelectionHandler(new DoubleMouseRemoveClickSelectionHandler(term1SelectionPane));\n\n // Term 2 - Select and Remove items with double clicks\n term2SelectionPane.addDoubleMouseAddClickSelectionHandler(new DoubleMouseAddClickSelectionHandler(term2SelectionPane));\n term2SelectionPane.addDoubleMouseRemoveClickSelectionHandler(new DoubleMouseRemoveClickSelectionHandler(term2SelectionPane));\n\n overviewViewPane.addSaveOverviewHandler(new SaveOverviewHandler());\n\n optionsModuleChooserMenuBar.addLoadCourseDataHandler(new LoadCoursesHandler());\n }","title":""},{"docid":"3592c139f4826b256ca0abb86d96944a","score":"0.6003618","text":"@Override\n\t\t\t\tpublic void internalFrameIconified(InternalFrameEvent arg0) {\n\t\t\t\t\t\n\t\t\t\t}","title":""},{"docid":"6d3088a7e312edb7709f1b4fc55066e6","score":"0.5992633","text":"@Override\n\t\t\t\tpublic void internalFrameOpened(InternalFrameEvent arg0) {\n\t\t\t\t\t\n\t\t\t\t}","title":""},{"docid":"c3a04e68571ef98ac5b67e932d393d89","score":"0.59763455","text":"@Override\n\tpublic void addEventHandlers() {\n\n\t}","title":""},{"docid":"331a7f935dd9b9665455259e844698c2","score":"0.59609246","text":"@Override\r\n\t\tpublic void internalFrameIconified(InternalFrameEvent e) {\n\t\t\t\r\n\t\t}","title":""},{"docid":"b673baa8201dd9e8b4d5828f66442499","score":"0.5950886","text":"public void componentShown(final ComponentEvent e)\r\n {\r\n // Nothing to do here\r\n }","title":""},{"docid":"a088a43012f93b0737855367e07e3981","score":"0.59369737","text":"public void componentMoved(ComponentEvent arg0) {\n\n }","title":""},{"docid":"c60b1ed30187f50ab99cc35cee64ece3","score":"0.5908967","text":"interface FrameOrderingPanelListener {\n\tvoid frameOrderingPanel_hotItemClicked(int iId);\n\tvoid frameOrderingPanel_hotItemLongClicked(int iId);\n\tvoid frameOrderingPanel_functionClicked(int iId, String[] sName, String sParameter);\n\tvoid frameOrderingPanel_lookupClicked(int iId);\n\tvoid frameOrderingPanel_hotModifierClicked(int iId, String sParameter);\n\tvoid frameOrderingPanel_modifierLookupClicked(int iId, String sParameter);\n\tvoid frameOrderingPanel_paymentClicked(int iId, String sParameter);\n\tvoid frameOrderingPanel_subPanelPageClicked(int iId);\n\tvoid frameOrderingPanel_discountClicked(int iId, String sParameter);\n\tvoid frameOrderingPanel_tabClicked();\n\tvoid frameOrderingPanel_UpdateMenuItem();\n\tboolean frameOrderingPanel_OrderingTimeout();\n\tboolean frameOrderingPanel_CashierTimeout();\n\tvoid frameOrderingPanel_barcodeReaded(int iCurrentFrameId, String sValue);\n\tvoid frameOrderingPanel_clearOctopusDisplay();\n}","title":""},{"docid":"c748c7cecfc649f6ec0f7535427baa4e","score":"0.5894442","text":"@Override //also have listener that displays\n public void mouseClicked(MouseEvent e) { //all the tasks of that much\n monthFrame.makeNewFrame();\n }","title":""},{"docid":"af3369140ff933721cf8eb7fe4d9830d","score":"0.5882799","text":"private void addListeners(){\n newBtn.addEventHandler(MouseEvent.MOUSE_RELEASED,\n new EventHandler() {\n @Override\n public void handle(MouseEvent e) {\n create();\n }\n }\n );\n\n openBtn.addEventHandler(MouseEvent.MOUSE_RELEASED,\n new EventHandler() {\n @Override\n public void handle(MouseEvent e) {\n open();\n }\n }\n );\n }","title":""},{"docid":"588de7f3205e50f7885e0679ffdf7a25","score":"0.5876322","text":"public void componentMoved(ComponentEvent e) {\n\t\t\n\t}","title":""},{"docid":"3cdcb8d0fc2f92f4fb6b613a1697e758","score":"0.58579344","text":"@Override\r\n protected void handleEvent(AppEvent event)\r\n {\n if (event.getType() == AppEvents.ViewOAITest) {\r\n LayoutContainer centerPanel = (LayoutContainer) Registry.get(AppView.CENTER_PANEL);\r\n centerPanel.removeAll();\r\n\r\n eraseBrowseNavPanel();\r\n\r\n centerPanel.add(oaiTestPanel);\r\n oaiTestPanel.newOAITest();\r\n centerPanel.layout();\r\n }\r\n if (event.getType() == AppEvents.ViewOAISpecificSet) {\r\n LayoutContainer centerPanel = (LayoutContainer) Registry.get(AppView.CENTER_PANEL);\r\n centerPanel.removeAll();\r\n\r\n eraseBrowseNavPanel();\r\n\r\n centerPanel.add(oaiTestPanel);\r\n DataSourceUI dataSourceUI = (DataSourceUI) event.getData();\r\n oaiTestPanel.loadOAITest(dataSourceUI);\r\n centerPanel.layout();\r\n }else if (event.getType() == AppEvents.ViewRestRecordOperations) {\r\n LayoutContainer centerPanel = (LayoutContainer) Registry.get(AppView.CENTER_PANEL);\r\n centerPanel.removeAll();\r\n\r\n eraseBrowseNavPanel();\r\n\r\n centerPanel.add(restRecordOperationsPanel);\r\n centerPanel.layout();\r\n }\r\n }","title":""},{"docid":"de6ac1126e655d4e3bb5d3099bdda571","score":"0.5857157","text":"private void createEvents() {\n\r\n\t\tbtnWr.addActionListener((ActionListener) new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\tMenu frame = new Menu(getContentPane().getSize().width, getContentPane().getSize().height,\r\n\t\t\t\t\t\tgetContentPane().getBounds().x, getContentPane().getBounds().y,\r\n\t\t\t\t\t\tgetContentPane().getBounds().width, getContentPane().getBounds().height);\r\n\t\t\t\tdispose();\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tbtnDodajNowOsob.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\tTypLekcjaFrame frame = new TypLekcjaFrame(getContentPane().getSize().width,\r\n\t\t\t\t\t\tgetContentPane().getSize().height, getContentPane().getBounds().x,\r\n\t\t\t\t\t\tgetContentPane().getBounds().y, getContentPane().getBounds().width,\r\n\t\t\t\t\t\tgetContentPane().getBounds().height);\r\n\t\t\t\tdispose();\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\t// gdy klikniemy w element po lewej stronie\r\n\t\tlessonJList.addMouseListener(new MouseAdapter() {\r\n\t\t\tpublic void mouseClicked(MouseEvent e) {\r\n\r\n\t\t\t\tint id = ((Lekcja) lessonList.get(lessonJList.getSelectedIndex())).getId();\r\n\r\n\t\t\t\tSession session = HibernateUtil.getSessionFactory().getCurrentSession();\r\n\t\t\t\tsession.beginTransaction();\r\n\t\t\t\tLekcja lesson = session.get(Lekcja.class, id);\r\n\r\n\t\t\t\tDefaultListModel listaLekcji = new DefaultListModel();\r\n\r\n\t\t\t\t// sprawdzam typ osoby i wyświetlam w lewym panelu dane o nim a w prawym\r\n\t\t\t\t// powiązania na jego temat\r\n\t\t\t\t// rightpersonlist to lista\r\n\t\t\t\t// JRighthlist to gui\r\n\r\n\t\t\t\tif (lesson instanceof Indywidualna) {\r\n\t\t\t\t\tlessonInfoLabel.setText(\"typ: \" + lesson.getClass().getSimpleName() + \"
Cena: \"\r\n\t\t\t\t\t\t\t+ lesson.getCena() + \"
Spot: \" + lesson.getSpot() + \"
Długość: \"\r\n\t\t\t\t\t\t\t+ lesson.getTypLekcja() + \"
Instruktor: \" + lesson.getInstruktor().getImie() + \" \"\r\n\t\t\t\t\t\t\t+ lesson.getInstruktor().getNazwisko() + \"
Kursanci: \" + lesson.getKursant().getImie()\r\n\t\t\t\t\t\t\t+ \" \" + lesson.getKursant().getNazwisko() + \"\");\r\n\t\t\t\t} else if (lesson instanceof Grupowa) {\r\n\t\t\t\t\tlessonInfoLabel.setText(\"typ: \" + lesson.getClass().getSimpleName() + \"
Cena: \"\r\n\t\t\t\t\t\t\t+ lesson.getCena() + \"
Spot: \" + lesson.getSpot() + \"
Długość: \"\r\n\t\t\t\t\t\t\t+ lesson.getTypLekcja() + \"
Numer grupy: \" + ((Grupowa) lesson).getNumer()\r\n\t\t\t\t\t\t\t+ \"
Rodzaj grupy: \" + ((Grupowa) lesson).getRodzajGrupa() + \"
Instruktor: \"\r\n\t\t\t\t\t\t\t+ lesson.getInstruktor().getImie() + \" \" + lesson.getInstruktor().getNazwisko()\r\n\t\t\t\t\t\t\t+ \"
Kursanci: \" + lesson.getKursant().getImie() + \" \"\r\n\t\t\t\t\t\t\t+ lesson.getKursant().getNazwisko() + \"\");\r\n\t\t\t\t}\r\n\r\n\t\t\t\tsession.getTransaction().commit();\r\n\t\t\t}\r\n\r\n\t\t});\r\n\r\n\t}","title":""},{"docid":"f7b3078b0dbc89e4f6e9074e1b2e3cd9","score":"0.5842241","text":"public void GotMouseEvent(MouseEvent evt) {\n Vector2f absCoords = new Vector2f(Ref.glRef.GetResolution());\n Vector2f orgCoords = new Vector2f(evt.Position);\n absCoords.x *= evt.Position.x;\n absCoords.y *= 1-evt.Position.y;\n \n evt.Position = absCoords;\n \n Vector2f position = null, size = null;\n if(popupContainer != null) {\n position = popupContainer.getPosition();\n size = popupContainer.getLayoutSize();\n }\n \n if(popupContainer != null && absCoords.x >= position.x && absCoords.x < position.x + size.x &&\n absCoords.y >= position.y && absCoords.y < position.y + size.y) {\n popupContainer.MouseEvent(evt);\n } else if(popupContainer != null && evt.Button == 0 && evt.Pressed) {\n // remove popupcont\n popupContainer = null;\n } else {\n position = sidepanel.getPosition();\n size = sidepanel.getLayoutSize();\n if(absCoords.x >= position.x && absCoords.x < position.x + size.x &&\n absCoords.y >= position.y && absCoords.y < position.y + size.y) {\n sidepanel.MouseEvent(evt);\n } else {\n position = menupanel.getPosition();\n size = menupanel.getLayoutSize();\n if(absCoords.x >= position.x && absCoords.x < position.x + size.x &&\n absCoords.y >= position.y && absCoords.y < position.y + size.y) {\n menupanel.MouseEvent(evt);\n } else {\n position = stashpanel.getPosition();\n size = stashpanel.getLayoutSize();\n if(absCoords.x >= position.x && absCoords.x < position.x + size.x &&\n absCoords.y >= position.y && absCoords.y < position.y + size.y) {\n stashpanel.MouseEvent(evt);\n } else if(mat_show) {\n matSelect.MouseEvent(evt);\n } else {\n evt.Position = orgCoords;\n toolMouseEvent(evt);\n }\n }\n \n \n }\n }\n // }\n \n \n }","title":""},{"docid":"8788b449d07d9b5e86a799c9ef75b06c","score":"0.58391273","text":"public void componentShown(ComponentEvent arg0) {\n\t}","title":""},{"docid":"60c90293ab8f5fedaa0700110579b142","score":"0.58305806","text":"@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tif(e.getActionCommand().equals(\"addTransfer\")){\n\t\t\tframe.getContentPane().removeAll();\n\t\t\tthis.currentPanel = new HallTransferUI(this);\n\t\t\tframe.add(currentPanel);\n\t\t\tframe.validate();\n\t\t\tframe.repaint();\n\t\t\t\n\t\t}else if(e.getActionCommand().equals(\"addArrival\")){\n\t\t\tframe.getContentPane().removeAll();\n\t\t\tthis.currentPanel = new HallArrivalUI(this);\n\t\t\tframe.add(currentPanel);\n\t\t\tframe.validate();\n\t\t\tframe.repaint();\n\t\t\t\n\t\t}else if(e.getActionCommand().equals(\"addDeliver\")){\n\t\t\tframe.getContentPane().removeAll();\n\t\t\tthis.currentPanel = new HallDeliverUI(this);\n\t\t\tframe.add(currentPanel);\n\t\t\tframe.validate();\n\t\t\tframe.repaint();\n\t\t\t\n\t\t}else if(e.getActionCommand().equals(\"addPayment\")){\n\t\t\tframe.getContentPane().removeAll();\n\t\t\tthis.currentPanel = new HallPaymentUI(this);\n\t\t\tframe.add(currentPanel);\n\t\t\tframe.validate();\n\t\t\tframe.repaint();\n\t\t\t\n\t\t}else if(e.getActionCommand().equals(\"manageDriver\")){\n\t\t\tframe.getContentPane().removeAll();\n\t\t\tthis.currentPanel = new DriverUI(this);\n\t\t\tframe.add(currentPanel);\n\t\t\tframe.validate();\n\t\t\tframe.repaint();\n\t\t\t\n\t\t}else if(e.getActionCommand().equals(\"manageCar\")){\n\t\t\tframe.getContentPane().removeAll();\n\t\t\tthis.currentPanel = new CarUI(this);\n\t\t\tframe.add(currentPanel);\n\t\t\tframe.validate();\n\t\t\tframe.repaint();\n\t\t\t\n\t\t}\n\t}","title":""},{"docid":"9f094bde5dfc7d2ec1db2c3cc89d787e","score":"0.5801224","text":"private void constructFrameComponents()\r\n {\r\n toolBar = new ToolBar(graph);\r\n panel = new GraphPanel(toolBar, graph);\r\n terminal = new JTextArea();\r\n terminalPanel = new TerminalPanel(terminal);\r\n scrollPane = new JScrollPane(panel);\r\n stateControlPanel = new StateControlPanel();\r\n stateControlPanel.setVisible(false);\r\n this.add(toolBar, BorderLayout.NORTH);\r\n this.add(scrollPane, BorderLayout.CENTER);\r\n this.add(stateControlPanel,BorderLayout.EAST);\r\n this.add(terminalPanel, BorderLayout.SOUTH);\r\n }","title":""},{"docid":"1f9f83804715db3be7c9b57a47f1cb63","score":"0.5790897","text":"public void componentMoved(final ComponentEvent e)\r\n {\r\n // Nothing to do here\r\n }","title":""},{"docid":"2b07e6e5e9a5108bee4c7c42bbfce90d","score":"0.5789441","text":"private void jButton1AncestorAdded(javax.swing.event.AncestorEvent evt) {\n }","title":""},{"docid":"7e4ae6daf235eb7c83957f68f97823cd","score":"0.5787256","text":"@Override\n public void mouseClicked(MouseEvent e) {\n frame.dispose();\n ast.Stop();\n CoolMenu menu = new CoolMenu();\n\n }","title":""},{"docid":"8c7e9f9ce052702cf35204c8b2d966e0","score":"0.57868105","text":"@Override\n public void addComponents(Frame windowFrame) {\n windowFrame.setLayout(new GridLayout(1, 3));\n windowFrame.setBackground(Color.lightGray);\n\n //******************************************************************************************************\n //Info panel to select elevator and to display relevant information about currently selected elevator\n //******************************************************************************************************\n infoPanel = new Panel();\n infoPanel.setLayout(new GridBagLayout());\n\n GridBagConstraints c = new GridBagConstraints();\n c.gridx = 0;\n c.gridy = 0;\n c.anchor = GridBagConstraints.WEST;\n c.weightx = 1;\n elevatorSelection = new Choice();\n elevatorSelection.setSize(50, 75);\n elevatorSelection.addItemListener(e -> {\n controller.setSelectedElevator(elevatorSelection.getSelectedIndex());\n floorSelection.select(floorIndex);\n });\n infoPanel.add(elevatorSelection, c);\n elevatorSelection.setVisible(false);\n\n c.gridx = 0;\n c.gridy = 1;\n c.anchor = GridBagConstraints.WEST;\n c.weightx = 1;\n Label labelPayload = new Label(\"Payload:\");\n infoPanel.add(labelPayload, c);\n\n c.gridy = 2;\n c.anchor = GridBagConstraints.CENTER;\n payload = new Label(\"____\");\n infoPanel.add(payload, c);\n\n c.gridy = 3;\n c.anchor = GridBagConstraints.WEST;\n Label labelSpeed = new Label(\"Speed:\");\n infoPanel.add(labelSpeed, c);\n\n c.gridy = 4;\n c.anchor = GridBagConstraints.CENTER;\n speed = new Label(\"__\");\n infoPanel.add(speed, c);\n\n c.gridy = 5;\n c.anchor = GridBagConstraints.WEST;\n Label labelDoorStatus = new Label(\"Door Status:\");\n infoPanel.add(labelDoorStatus, c);\n\n c.gridy = 6;\n c.anchor = GridBagConstraints.CENTER;\n doorStatus = new Label(\"__\");\n infoPanel.add(doorStatus, c);\n\n c.gridy = 7;\n c.anchor = GridBagConstraints.WEST;\n Label labelTarget = new Label(\"Target:\");\n infoPanel.add(labelTarget, c);\n\n c.gridy = 8;\n c.anchor = GridBagConstraints.CENTER;\n target = new Label(\"__\");\n infoPanel.add(target, c);\n\n Font myFont = new Font(\"Helvetica\", Font.PLAIN, 30);\n infoPanel.setFont(myFont);\n\n //******************************************************************************************************\n //Position panel to display current floor and direction which the elevator is going\n //******************************************************************************************************\n Panel positionPanel = new Panel();\n positionPanel.setLayout(new GridBagLayout());\n\n c = new GridBagConstraints();\n c.gridx = 0;\n c.gridy = 0;\n c.weighty = 1;\n c.fill = GridBagConstraints.HORIZONTAL;\n positionPanel.add(new Panel(), c);\n\n c = new GridBagConstraints();\n c.gridx = 0;\n c.gridy = 1;\n c.anchor = GridBagConstraints.CENTER;\n c.weightx = 1;\n directionUp = new Label(\"UP\");\n directionUp.setFont(new Font(\"Helvetica\", Font.BOLD, 45));\n positionPanel.add(directionUp, c);\n\n c = new GridBagConstraints();\n c.gridx = 0;\n c.gridy = 2;\n c.weighty = 1;\n c.fill = GridBagConstraints.HORIZONTAL;\n positionPanel.add(new Panel(), c);\n\n c = new GridBagConstraints();\n c.gridx = 0;\n c.gridy = 3;\n c.anchor = GridBagConstraints.CENTER;\n c.weightx = 1;\n currentPosition = new Label(\"PO\");\n currentPosition.setFont(new Font(\"Helvetica\", Font.BOLD, 35));\n positionPanel.add(currentPosition, c);\n\n c = new GridBagConstraints();\n c.gridx = 0;\n c.gridy = 3;\n c.anchor = GridBagConstraints.CENTER;\n c.weightx = 1;\n floorSelection = new Choice();\n floorSelection.setSize(50, 75);\n floorSelection.addItemListener(e -> controller.setSelectedFloor(elevatorIndex, floorSelection.getSelectedIndex()));\n floorSelection.setFont(new Font(\"Helvetica\", Font.BOLD, 20));\n positionPanel.add(floorSelection, c);\n\n c = new GridBagConstraints();\n c.gridx = 0;\n c.gridy = 4;\n c.weighty = 1;\n c.fill = GridBagConstraints.HORIZONTAL;\n positionPanel.add(new Panel(), c);\n\n c = new GridBagConstraints();\n c.gridx = 0;\n c.gridy = 5;\n c.anchor = GridBagConstraints.CENTER;\n c.weightx = 1;\n directionDown = new Label(\"DOWN\");\n directionDown.setFont(new Font(\"Helvetica\", Font.BOLD, 45));\n positionPanel.add(directionDown, c);\n\n c = new GridBagConstraints();\n c.gridx = 0;\n c.gridy = 6;\n c.weighty = 1;\n c.fill = GridBagConstraints.HORIZONTAL;\n positionPanel.add(new Panel(), c);\n\n\n //******************************************************************************************************\n // Floor panel for mode selection, to display on which floor UP and DOWN buttons are pressed and which\n // are pressed on the panel inside the elevator\n //******************************************************************************************************\n Panel floorPanel = new Panel();\n floorPanel.setLayout(new GridBagLayout());\n\n //Upper Panel for mode selection\n Panel modePanel = new Panel(new GridLayout());\n\n CheckboxGroup cbg = new CheckboxGroup();\n checkBoxAuto = new Checkbox(\"Aut\", cbg, true);\n checkBoxAuto.setBounds(100, 100, 50, 50);\n checkBoxManual = new Checkbox(\"Man\", cbg, false);\n checkBoxManual.setBounds(100, 150, 50, 50);\n\n checkBoxAuto.addItemListener(e -> {\n controller.setAutomaticMode(elevatorIndex, true);\n floorSelection.select(floorIndex);\n });\n checkBoxManual.addItemListener(e -> {\n controller.setAutomaticMode(elevatorIndex, false);\n floorSelection.select(floorIndex);\n });\n\n checkBoxAuto.setEnabled(false);\n checkBoxManual.setEnabled(false);\n\n c = new GridBagConstraints();\n c.gridx = 0;\n c.gridy = 0;\n c.weighty = 1;\n c.fill = GridBagConstraints.CENTER;\n Label labelMode = new Label(\"Mode:\");\n modePanel.add(labelMode);\n\n modePanel.add(checkBoxAuto);\n modePanel.add(checkBoxManual);\n\n floorPanel.add(modePanel, c);\n floorPanel.setFont(new Font(\"Helvetica\", Font.PLAIN, 20));\n\n // Second panel for pressed button information\n Panel callStopPanel = new Panel();\n callStopPanel.setLayout(new GridBagLayout());\n\n c = new GridBagConstraints();\n c.gridx = 0;\n c.gridy = 0;\n c.anchor = GridBagConstraints.WEST;\n Label labelCallStop = new Label(\"Call/Stop pressed on floor: \");\n callStopPanel.add(labelCallStop, c);\n c.gridx = 0;\n c.gridy = 1;\n UpButtonsPressed = new Label(\"\");\n callStopPanel.add(UpButtonsPressed, c);\n c.gridx = 0;\n c.gridy = 2;\n downButtonsPressed = new Label(\"\");\n callStopPanel.add(downButtonsPressed, c);\n c.gridx = 0;\n c.gridy = 3;\n Label labelElevatorPanel = new Label(\"Pressed on Elevator panel:\");\n callStopPanel.add(labelElevatorPanel, c);\n c.gridx = 0;\n c.gridy = 4;\n elevatorPanelButtonsPressed = new Label(\"\");\n callStopPanel.add(elevatorPanelButtonsPressed, c);\n\n callStopPanel.setFont(new Font(\"Helvetica\", Font.PLAIN, 20));\n\n c = new GridBagConstraints();\n c.gridx = 0;\n c.gridy = 1;\n c.weighty = 1;\n c.fill = GridBagConstraints.HORIZONTAL;\n floorPanel.add(callStopPanel, c);\n\n //Add all panels to Frame\n windowFrame.add(infoPanel);\n windowFrame.add(positionPanel);\n windowFrame.add(floorPanel);\n }","title":""},{"docid":"38bfe0d66a241ee94b99e2ea1f19b08a","score":"0.5786061","text":"void IHEY2ObsContextPanel_focusGained(java.awt.event.FocusEvent event)\r\n\t{\n\t\tobservationContextList.setVisible(true);\r\n\t\tSystem.out.println(\"Made it visible\");\r\n\t\t\t \r\n\t}","title":""},{"docid":"0b9c0ef1093a2b2bb59e66f1cd3c072d","score":"0.5770453","text":"@Override\r\n\t\t\tpublic void handle(MouseEvent event) {\n\t\t\t\t\r\n\r\n\t\t\t}","title":""},{"docid":"699523482652d1d927a05ece5ab53e58","score":"0.5769832","text":"public MainWindowEventObject(Object source) {\r\n super(source);\r\n }","title":""},{"docid":"d94529ec0921230bfa0dc660e58e9f23","score":"0.57583046","text":"private void SalirPnl(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SalirPnl\n \n }","title":""},{"docid":"18bdc4ae262f3774a997d79fe12d7add","score":"0.5757046","text":"@Override\n\t\t\tpublic void windowActivated(WindowEvent arg0) {\n\t\t\t\t\n\t\t\t}","title":""},{"docid":"18bdc4ae262f3774a997d79fe12d7add","score":"0.5757046","text":"@Override\n\t\t\tpublic void windowActivated(WindowEvent arg0) {\n\t\t\t\t\n\t\t\t}","title":""},{"docid":"0c4a791479f2f58ca13e9b826629b991","score":"0.5747723","text":"@Override\r\n public void handle(MouseEvent event) {\n }","title":""},{"docid":"43e1dc66a14fb3e1f2196791e09709a8","score":"0.574251","text":"protected void installListeners() {\n MouseWheelListener wheelTracker = new MouseWheelListener() {\n /**\n *\n */\n public void mouseWheelMoved(MouseWheelEvent e) {\n if (e.getSource() instanceof mxGraphOutline || e.isControlDown()) {\n SoftwareModeling.this.mouseWheelMoved(e);\n }\n }\n\n };\n\n // Handles mouse wheel events in the outline and graph component\n graphOutline.addMouseWheelListener(wheelTracker);\n graphComponent.addMouseWheelListener(wheelTracker);\n\n // Installs the popup menu in the outline\n graphOutline.addMouseListener(new MouseAdapter() {\n\n /**\n *\n */\n public void mousePressed(MouseEvent e) {\n // Handles context menu on the Mac where the trigger is on\n // mousepressed\n mouseReleased(e);\n }\n\n /**\n *\n */\n public void mouseReleased(MouseEvent e) {\n if (e.isPopupTrigger()) {\n showOutlinePopupMenu(e);\n }\n }\n\n });\n\n // Installs the popup menu in the graph component\n graphComponent.getGraphControl().addMouseListener(new MouseAdapter() {\n public void mousePressed(MouseEvent e) {\n // Handles context menu on the Mac where the trigger is on\n // mousepressed\n mouseReleased(e);\n\n mxCell cell = (mxCell) graphComponent.getCellAt(e.getX(), e.getY(), false);\n myConstants.cell = cell;\n if (cell != null) {\n if (cell != null && graphComponent.getGraph().isCellEditable(cell)) {\n javax.swing.JTabbedPane p2 = myConstants.jTabbedPane2;\n String tip = graphComponent.getGraph().getToolTipForCell(cell);\n System.out.println(tip);\n String tiptext = tip.substring(6, tip.length() - 7);\n System.out.println(tiptext);\n String[] arr = tiptext.split(\"
\");\n String dir = arr[arr.length - 1].split(\"=\")[1];//获取路径\n p2.setEnabled(true);\n swRight.setProid(dir);\n swRight.setObjid(cell.getId());\n String[] arrStyle = cell.getStyle().split(\";\");\n String style = arrStyle[arrStyle.length - 1];\n // 软件资源建模界面,软件步骤\n if (style.equals(\"one\")) {\n try {\n // buRight.setCellId(cell.getId());\n p2.setSelectedIndex(1);\n swRight.getjButton1().setEnabled(false);\n swRight.getjButton2().setEnabled(true);\n swRight.getQingjingmingcheng().setText(\"\");\n swRight.getZhixingzhe().setText(\"\");\n swRight.getShuchuchengguo().setText(\"\");\n swRight.getShijian().setText(\"\");\n swRight.getDidian().setText(\"\");\n swRight.getBiaozhun().setText(\"\");\n swRight.getFuzhusheshi().setText(\"\");\n swRight.getKongqihuanjing().setText(\"\");\n swRight.getKongjian().setText(\"\");\n swRight.getZuzhijili().setText(\"\");\n swRight.getNeirongmiaoshu().setText(\"\");\n swRight.setProid(dir);\n swRight.setObjid(String.valueOf(cell.getId()));\n\n int count = DaoSolution.exist(dir, String.valueOf(cell.getId()));\n if (count > 0) {\n SolutionBuild model = DaoSolution.getModel(dir, String.valueOf(cell.getId()));\n swRight.getQingjingmingcheng().setText(model.getQingjingmingcheng());\n swRight.getZhixingzhe().setText(model.getZhixingzhe());\n swRight.getShuchuchengguo().setText(model.getShuchuchengguo());\n swRight.getShijian().setText(model.getDate());\n swRight.getDidian().setText(model.getPlace());\n swRight.getBiaozhun().setText(model.getStandard());\n swRight.getFuzhusheshi().setText(model.getFuzhusheshi());\n swRight.getKongqihuanjing().setText(model.getKongqihuanjing());\n swRight.getKongjian().setText(model.getKongjian());\n swRight.getZuzhijili().setText(model.getZuzhijili());\n swRight.getNeirongmiaoshu().setText(model.getNeirongmiaoshu());\n }\n\n } catch (SQLException ex) {\n Logger.getLogger(SoftwareModeling.class.getName()).log(Level.SEVERE, null, ex);\n }\n } else if (style.equals(\"two\")) {\n try {\n p2.setSelectedIndex(0);\n swRight.getjButton1().setEnabled(true);\n swRight.getjButton2().setEnabled(false);\n swRight.setProid(dir);\n swRight.setObjid(String.valueOf(cell.getId()));\n\n swRight.getYewuhuodong().setText(\"\");\n swRight.getYewuhuodongbianhao().setText(\"\");\n\n swRight.getFuguocheng().setText(\"\");\n swRight.getHuodongmiaoshu().setText(\"\");\n\n int count = DaoYUHD.exist(dir, String.valueOf(cell.getId()));\n if (count > 0) {\n YUHD model = DaoYUHD.getModel(dir, String.valueOf(cell.getId()));\n swRight.setProid(dir);\n swRight.setObjid(model.getObjid());\n\n swRight.getYewuhuodong().setText(model.getHuodongmingcheng());\n swRight.getYewuhuodongbianhao().setText(model.getYwuhuodongbianhao());\n\n swRight.getFuguocheng().setText(model.getFuguocheng());\n swRight.getHuodongmiaoshu().setText(model.getHuodongmiaoshu());\n }\n } catch (SQLException ex) {\n Logger.getLogger(SoftwareModeling.class.getName()).log(Level.SEVERE, null, ex);\n }\n\n }\n }\n }\n }\n\n /**\n *\n */\n public void mouseReleased(MouseEvent e) {\n if (e.isPopupTrigger()) {\n showGraphPopupMenu(e);\n }\n }\n\n });\n\n // Installs a mouse motion listener to display the mouse location\n graphComponent.getGraphControl().addMouseMotionListener(new MouseMotionListener() {\n\n /*\n * (non-Javadoc)\n * \n * @see\n * java.awt.event.MouseMotionListener#mouseDragged(java.awt.event.\n * MouseEvent)\n */\n public void mouseDragged(MouseEvent e) {\n mouseLocationChanged(e);\n }\n\n /*\n * (non-Javadoc)\n * \n * @see\n * java.awt.event.MouseMotionListener#mouseMoved(java.awt.event.\n * MouseEvent)\n */\n public void mouseMoved(MouseEvent e) {\n mouseDragged(e);\n }\n\n });\n }","title":""},{"docid":"e505a4277a44a3cfe020fd46e7ff8220","score":"0.573787","text":"@Override\n\t\t\tpublic void windowActivated(WindowEvent e) {\n\t\t\t\t\n\t\t\t}","title":""},{"docid":"e9313000595450ee5aebd970dd843f65","score":"0.5736115","text":"protected void attachFrame () {\n }","title":""},{"docid":"6d82e8f805de9d856bc57a25285a87e8","score":"0.5727415","text":"@Override\n public void handle(MouseEvent event) {\n \n }","title":""},{"docid":"ae4213a4530eaafbf8ec4168cc919e83","score":"0.5713243","text":"@Override\r\n public void mouseReleased(MouseEvent arg0) {\n\r\n }","title":""},{"docid":"d4a7c186ac0545ec04cf6b9f9a5d5628","score":"0.57100487","text":"@Override\r\n\tpublic void componentShown(ComponentEvent event) {\n\t\trepaintCanvas();\r\n\t}","title":""},{"docid":"573ebf7b64fb47bf973f1a6ad3646931","score":"0.57025903","text":"public native final void addTarget(EventTarget e) /*-{\nthis.addTarget(e); \n}-*/;","title":""},{"docid":"60e156b363733ba93d62079a99cd5807","score":"0.5691822","text":"private void Jugador1MouseEntered(java.awt.event.MouseEvent evt) {\n }","title":""},{"docid":"71ad02d95720d1e1483a5fb3fe600ea7","score":"0.5691386","text":"@Override\r\n public void mouseReleased(MouseEvent e) {\n }","title":""},{"docid":"8993d46b21a53c643463b0d1ec17f9be","score":"0.5688995","text":"public void addBtnHandler(MouseEvent event){\n AddScreenStarter a = new AddScreenStarter(); //Open add windwo\n a.start(null);\n }","title":""},{"docid":"3c766d54ca7d10eb57b0efdc48a44e0d","score":"0.5686285","text":"private void toolbarEmpMouseDragged(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_toolbarEmpMouseDragged\n int x = evt.getXOnScreen();\n int y = evt.getYOnScreen();\n // Move frame by the mouse delta\n setLocation(getLocationOnScreen().x + x - lastX,\n getLocationOnScreen().y + y - lastY);\n lastX = x;\n lastY = y;\n }","title":""},{"docid":"088ed74ebba666bf6ff3d60f44b1697e","score":"0.56818753","text":"private void afegirListeners() {\n botoReiniciarWave.addListener(new ComponentListener() {\n\n public void componentActivated(AbstractComponent comp) {\n state.enterState(EstatSeguentWave.ID);\n }\n });\n botoMenuPrincipal.addListener(new ComponentListener() {\n\n public void componentActivated(AbstractComponent comp) {\n state.enterState(EstatMenuPrincipal.ID);\n }\n });\n }","title":""},{"docid":"713aaedff22e9a61a544ebad676ebe60","score":"0.5681321","text":"private void formMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_formMouseClicked\n\n }","title":""},{"docid":"5f8cb01f4c091f01fcec5911c83a04c2","score":"0.5676959","text":"@Override\n\tprotected void initEvents() {\n\n\t}","title":""},{"docid":"87248f5e41ca5a07c7a314278758c402","score":"0.5673051","text":"public void componentMoved(ComponentEvent arg0) {\n\t\t\n\t}","title":""},{"docid":"659df875f9e93f8da1619954b968fd67","score":"0.56706494","text":"@Override\n \t\t\tpublic void componentResized(ComponentEvent arg0) {\n \n \t\t\t\tbottomPanel.setBounds(HOME_SPACE_LEFT_X, frame.getHeight() - HOME_BOTTOM_SPACE_Y, frame.getWidth() - HOME_SPACE_RIGHT_X, 12);\n \n \t\t\t\tif (currentOs != MAC_OS) {\n \t\t\t\t\tbackgroundPanel.setBounds(HOME_SPACE_LEFT_X, menuBarWindows.getHeight(), frame.getWidth() - HOME_SPACE_RIGHT_X, frame.getHeight() - HOME_SPACE_Y - menuBarWindows.getHeight());\n \t\t\t\t} else {\n \n \t\t\t\t\tbackgroundPanel.setSize(frame.getWidth() - HOME_SPACE_RIGHT_X, frame.getHeight() - HOME_SPACE_Y);\n \t\t\t\t\tbackgroundPanel.rerenderBackground();\n \n \t\t\t\t\tbottomPanel.rerenderBackground();\n \t\t\t\t}\n \n \t\t\t\tworkspacePanel.setBounds(0, 0, backgroundPanel.getWidth(), backgroundPanel.getHeight());\n \n \t\t\t\tif (currentOs != MAC_OS) {\n \t\t\t\t\tmenuBarWindows.setBounds(0, 0, getWidth(), 30);\n \t\t\t\t}\n \n \t\t\t\tnavBar.setBounds(0, backgroundPanel.getHeight() - 40 - 40, getWidth(), 80);\n \t\t\t\tworkspacePanel.add(navBar);\n \n \t\t\t\tif (tabbedPane != null) {\n \t\t\t\t\ttabbedPane.setBounds(20, 20, workspacePanel.getWidth() - 40, workspacePanel.getHeight() - 40 - navBar.getHeight());\n \t\t\t\t}\n \t\t\t\tif (tabBar != null) {\n \t\t\t\t\ttabBar.setBounds(0, 0, frame.getWidth(), frame.getHeight());\n \t\t\t\t\ttabBar.setLayout(null);\n \t\t\t\t}\n \t\t\t\tif (boxChartImage != null) {\n \t\t\t\t\tboxChartImage.setBounds(tabBar.getWidth() - 70, 15, 50, 40);\n \t\t\t\t}\n \t\t\t\tif (histogramChartImage != null) {\n \t\t\t\t\thistogramChartImage.setBounds(tabBar.getWidth() - 105, 15, 50, 40);\n \t\t\t\t}\n \t\t\t\tif (scatterplotChartImage != null) {\n \t\t\t\t\tscatterplotChartImage.setBounds(tabBar.getWidth() - 140, 15, 50, 40);\n \t\t\t\t}\n \t\t\t\tif (infoPanel != null) {\n \t\t\t\t\tinfoPanel.setBounds(0, workspacePanel.getHeight() - 112, getWidth(), 43);\n \t\t\t\t}\n \t\t\t\tif (studentPanel != null) {\n \t\t\t\t\tstudentPanel.setBounds(frame.getWidth() - 45, 45, 250, getHeight() - 20);\n \t\t\t\t\tstudentPanel.setNewX(getWidth() - 45);\n \t\t\t\t\tstudentPanel.setOldX(getWidth() - 250);\n \t\t\t\t}\n \t\t\t\tif (searchPanel != null) {\n \t\t\t\t\tsearchPanel.setBounds(workspacePanel.getWidth() - 170, 10, 150, 30);\n \t\t\t\t}\n \n \t\t\t}","title":""},{"docid":"cedc90abd5551a175b4f5d059813cc2e","score":"0.56696784","text":"@Override\n\t\tpublic void windowActivated(WindowEvent e) {\n\t\t\t\n\t\t}","title":""},{"docid":"cedc90abd5551a175b4f5d059813cc2e","score":"0.56696784","text":"@Override\n\t\tpublic void windowActivated(WindowEvent e) {\n\t\t\t\n\t\t}","title":""},{"docid":"cedc90abd5551a175b4f5d059813cc2e","score":"0.56696784","text":"@Override\n\t\tpublic void windowActivated(WindowEvent e) {\n\t\t\t\n\t\t}","title":""},{"docid":"747794285da5db511996d6adf22d113c","score":"0.5666944","text":"public void initListeners() {\n\t\t// Diese Listener definiere ich als anonyme Klassen!\n\t\t// Das bedeutet, dass ihre Klassendefinition quasi einfach so in\n\t\t// dieser Methode steht. Damit vermeide ich, für jede Kleinigkeit\n\t\t// und jeden Listener eine einzelne Klasse schreiben zu müssen.\n\t\t\n\t\t// Diese Selbst-Referenz führe ich ein, um innerhalb der Listener-Implementierungen\n\t\t// auf die GUI zugreifen zu können. Alternativ könnte man auch jedes mal \"GarageGUI.this\" schreiben!\n\t\tfinal ShopGUI frame = this;\n\t\t\n\t\t// Quit-Listener für das \"Datei\"-Menü\n\t\tActionListener listenerQuit = new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent ae) {\n\t\t\t\t// Anwendung beenden\n\t\t\t\tframe.setVisible(false);\n\t\t\t\ttry {\n\t\t\t\t\tconnection.logout();\n\t\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\t\tJOptionPane.showMessageDialog(null, e.getMessage());\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tJOptionPane.showMessageDialog(null, e.getMessage());\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\tframe.dispose();\n\t\t\t}\n\t\t};\n\t\tmenuItemQuit.addActionListener(listenerQuit);\n\t\t\n\t\t// WINDOW LISTENER\n\t\tthis.addWindowListener(new WindowAdapter(){\n\t\t\tpublic void windowClosing(WindowEvent e){\n\t\t\t\tsuper.windowClosing(e);\n\t\t\t\ttry {\n\t\t\t\t\tconnection.logout();\n\t\t\t\t} catch (FileNotFoundException e1) {\n\t\t\t\t\tJOptionPane.showMessageDialog(null, e1.getMessage());\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t} catch (IOException e1) {\n\t\t\t\t\tJOptionPane.showMessageDialog(null, e1.getMessage());\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t}\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t});\n\n\n\t\t// Back Button für Registrier Panel\n\t\tActionListener listenerBack = new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent ae) {\n\t\t\t\tframe.cardLayout.show(centerPanel, \"loginPanel\");\n\t\t\t\tframe.pack();\n\t\t\t}\n\t\t};\t\t\n\t\tregPanel.addActionListenerBack(listenerBack);\n\n\t\t// Event Listener für Login Button\n\t\tActionListener listenerLogin = new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent ae) {\n\t\t\t\tString name = loginPanel.getUserName();\n\t\t\t\tchar[] pw = loginPanel.getPasswort();\n\t\t\t\ttry {\n\t\t\t\t\taktuellerBenutzer = connection.userLogin(name, pw);\n\t\t\t\t\tif (aktuellerBenutzer instanceof Kunde) {\n\t\t\t\t\t\t// Top Panel und Bot Panel erstellen und hinzufügen\n\t\t\t\t\t\ttopPanel = new TopPanel();\n\t\t\t\t\t\tframe.getContentPane().add(topPanel, BorderLayout.NORTH);\n\t\t\t\t\t\t\n\t\t\t\t\t\t// Bottom Panel \n\t\t\t\t\t\tbotPanel = new BottomPanel();\n\t\t\t\t\t\tframe.getContentPane().add(botPanel, BorderLayout.SOUTH);\n\t\t\t\t\t\tkunde = (Kunde)aktuellerBenutzer;\n\t\t\t\t\t\tframe.cardLayout.show(westPanel, \"kundeMenu\");\n\t\t\t\t\t\tframe.cardLayout.show(centerPanel, \"artikelPanel\");\n\t\t\t\t\t\t// Warenkorb Panel erstellen und hinzufügen\n\t\t\t\t\t\twarenkorbPanel = new WarenkorbPanel(kunde.getWarenkorb());\n\t\t\t\t\t\twarenkorbPanel.setBorder(BorderFactory.createLineBorder(Color.black));\n\t\t\t\t\t\t\n\t\t\t\t\t\t// Listener für zur Kasse Button\n\t\t\t\t\t\tActionListener listenerZurKasse = new ActionListener() {\n\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\tpublic void actionPerformed(ActionEvent ae) {\n\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\tRechnung re = connection.rechnungErstellen(kunde);\n\t\t\t\t\t\t\t\t\tRechnungPanel rechnungPanel = new RechnungPanel(re);\n\t\t\t\t\t\t\t\t\tcenterPanel.add(rechnungPanel, \"rechnungPanel\");\n\t\t\t\t\t\t\t\t\tframe.cardLayout.show(centerPanel, \"rechnungPanel\");\n\t\t\t\t\t\t\t\t\tconnection.warenkorbLeeren(kunde);\n\t\t\t\t\t\t\t\t\tkunde = (Kunde)connection.getUser();\n\t\t\t\t\t\t\t\t\tHashMap warenkorbListe = kunde.getWarenkorb().getInhalt();\n\t\t\t\t\t\t\t\t\tWarenkorbTableModell wtm = (WarenkorbTableModell) warenkorbPanel.warenkorbListe.getModel();\n\t\t\t\t\t\t\t\t\twtm.updateDataVector(warenkorbListe);\t\t\t\n\t\t\t\t\t\t\t\t\tframe.pack();\n\t\t\t\t\t\t\t\t\t// Listener für zur Kasse Button\n\t\t\t\t\t\t\t\t\tActionListener listenerBack = new ActionListener() {\n\t\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\t\tpublic void actionPerformed(ActionEvent ae) {\n\t\t\t\t\t\t\t\t\t\t\tframe.cardLayout.show(centerPanel, \"artikelPanel\");\n\t\t\t\t\t\t\t\t\t\t\tartikelListe = connection.gibAlleArtikel();\t\n\t\t\t\t\t\t\t\t\t\t\tcenterPanel.remove(artikelPanel);\n\t\t\t\t\t\t\t\t\t\t\tartikelPanel = new ArtikelPanel(artikelListe);\n\t\t\t\t\t\t\t\t\t\t\tcenterPanel.add(artikelPanel, \"artikelPanel\");\n\t\t\t\t\t\t\t\t\t\t\tframe.cardLayout.show(centerPanel, \"artikelPanel\");\n\t\t\t\t\t\t\t\t\t\t\tframe.pack();\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\trechnungPanel.rechnungListePanel.addActionListenerBack(listenerBack);\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\t\t\t\tJOptionPane.showMessageDialog(null, e.getMessage()); \n\t\t\t\t\t\t\t\t\te.printStackTrace();\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\twarenkorbPanel.addActionListenerZurKasse(listenerZurKasse);\n\t\t\t\t\t\teastPanel.add(warenkorbPanel, \"warenkorbPanel\");\n\t\t\t\t\t\tframe.cardLayout.show(eastPanel, \"warenkorbPanel\");\n\t\t\t\t\t\tframe.westPanel.setVisible(true);\t\t\n\t\t\t\t\t\tframe.eastPanel.setVisible(true);\t\n\t\t\t\t\t\tframe.pack();\n\n\t\t\t\t\t} else if(aktuellerBenutzer instanceof Mitarbeiter) {\n\t\t\t\t\t\t// Top Panel und Bot Panel erstellen und hinzufügen\n\t\t\t\t\t\ttopPanel = new TopPanel();\n\t\t\t\t\t\tframe.getContentPane().add(topPanel, BorderLayout.NORTH);\n\t\t\t\t\t\t\n\t\t\t\t\t\t// Bottom Panel \n\t\t\t\t\t\tbotPanel = new BottomPanel();\n\t\t\t\t\t\tframe.getContentPane().add(botPanel, BorderLayout.SOUTH);\n\t\t\t\t\t\t// protokollMenu wird erstellt\n\t\t\t\t\t\tprotokollMenuPanel = new ProtokollMenuPanel(connection.gibAlleArtikel());\n\t\t\t\t\t\tprotokollMenuPanel.setBorder(BorderFactory.createLineBorder(Color.black));\n\t\t\t\t\t\teastPanel.add(protokollMenuPanel, \"protokollMenuPanel\");\n\t\t\t\t\t\t\n\t\t\t\t\t\t// Selection Listener für ProtokolMenuPanel\n\t\t\t\t\t\tListSelectionListener listSelectProtokollMenuPanel = new ListSelectionListener() {\n\t\t\t\t\t\t\tpublic void valueChanged(ListSelectionEvent e) {\n\t\t\t\t \t\tif(e.getValueIsAdjusting()) return;\n\t\t\t\t \t int row = protokollMenuPanel.artikelListe.getSelectedRow();\n\t\t\t\t \t Artikel a = null;\n\t\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t\ta = connection.findArtikelByNumber(Integer.parseInt((String) protokollMenuPanel.artikelListe.getValueAt(row, 0)));\n\t\t\t\t\t\t\t\t\t} catch (NumberFormatException\n\t\t\t\t\t\t\t\t\t\t\t| ArtikelNichtVerfuegbarException e1) {\n\t\t\t\t\t\t\t\t\t\tJOptionPane.showMessageDialog(null, e); \n\t\t\t\t\t\t\t\t\t\te1.printStackTrace();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tprotokollPanel.drawChart(connection.gibEreignisseNachArtikelUndTagen(a), a.getName());\n\t\t\t\t \t frame.repaint();\n\t\t\t\t \t frame.revalidate();\n\t\t\t\t \t \n\t\t\t\t\t } \n\t\t\t\t };\n\t\t\t\t protokollMenuPanel.addListSelectionListener(listSelectProtokollMenuPanel);\n\t\t\t\t ActionListener listenerBack = new ActionListener() {\n\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\tpublic void actionPerformed(ActionEvent ae) {\n\t\t\t\t\t\t\t\tframe.cardLayout.show(westPanel, \"mitarbeiterMenu\");\n\t\t\t\t\t\t\t\tframe.cardLayout.show(centerPanel, \"mitarbeiterPanel\");\n\t\t\t\t\t\t\t\teastPanel.setVisible(false);\n\t\t\t\t\t\t\t\twestPanel.setVisible(true);\n\t\t\t\t\t\t\t\tframe.pack();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tprotokollMenuPanel.addActionListenerBack(listenerBack);\n\t\t\t\t\t\t\n\t\t\t\t\t\tframe.westPanel.setVisible(true);\n\t\t\t\t\t\tframe.eastPanel.setVisible(false);\n\t\t\t\t\t\tframe.cardLayout.show(westPanel, \"mitarbeiterMenu\");\n\t\t\t\t\t\tframe.cardLayout.show(centerPanel, \"mitarbeiterPanel\");\n\t\t\t\t\t\tframe.pack();\n\t\t\t\t\t}\n\t\t\t\t\tframe.pack();\n\t\t\t\t} catch (LoginFehlgeschlagenException e) {\n\t\t\t\t\tJOptionPane.showMessageDialog(null, e); \n\t\t\t\t\te.printStackTrace();\n\t\t\t\t} catch (UserIstSchonEingeloggtException e) {\n\t\t\t\t\tJOptionPane.showMessageDialog(null, e); \n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tloginPanel.addActionListenerLogin(listenerLogin);\n\t\n\t\t// Event Listener für Registrieren Button\n\t\tActionListener listenerRegistrieren = new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent ae) {\n\t\t\t\tframe.cardLayout.show(centerPanel, \"regPanel\");\n\t\t\t\tframe.pack();\n\t\t\t}\n\t\t};\n\t\tloginPanel.addActionListenerRegistieren(listenerRegistrieren);\n\t\t\n\t\t// Event Listener für Registrier Button (OKAY) von regPanel\n\t\tActionListener listenerReg = new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent ae) {\n\t\t\t\tif(Arrays.equals(regPanel.getPw1(),regPanel.getPw2())) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tframe.connection.fuegeUserEin(regPanel.getUserName(), regPanel.getPw1(), regPanel.getAnrede(), regPanel.getName(), regPanel.getStr(), Integer.parseInt(regPanel.getPlz()), regPanel.getOrt(), regPanel.getLand());\n\t\t\t\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t\t\t\tJOptionPane.showMessageDialog(null, e.getMessage()); \n\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t} catch (InkorrekteRegWerteException e) {\n\t\t\t\t\t\tJOptionPane.showMessageDialog(null, e.getMessage()); \n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Passwort stimmt nicht überein.\");\n\t\t\t\t}\n\t\t\t\tframe.cardLayout.show(centerPanel, \"loginPanel\");\n\t\t\t\tframe.pack();\t\t\t}\n\t\t};\n\t\tregPanel.addActionListenerReg(listenerReg);\n\t\t\n\t\t// Event Listener für Logout Button \n\t\tActionListener listenerLogout = new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent ae) {\n\t\t\t\taktuellerBenutzer = null;\n\t\t\t\tkunde = null;\n\t\t\t\tconnection.userLogout();\n\t\t\t\tframe.topPanel.setVisible(false);\n\t\t\t\tframe.botPanel.setVisible(false);\n\t\t\t\tframe.eastPanel.setVisible(false);\n\t\t\t\tframe.cardLayout.show(centerPanel, \"loginPanel\");\n\t\t\t\tframe.westPanel.setVisible(false);\n\t\t\t\t// Vorgefüllte textFelder löschen\n \t usrDelPanel.setArtikelNummerTextfield(null);\n \t artDelPanel.setArtikelNummerTextfield(null);\n \t artMengPanel.setArtikelNummerTextfield(null);\n \t artMengPanel.setArtikelMengeTextfield(null);\n \t artAusWPanel.setArtikelNummerTextfield(null);\n \t artMengeInWPanel.setArtikelNummerTextfield(null);\n \t artMengeInWPanel.setArtikelMengeTextfield(null);\n \t artInWPanel.setArtikelNummerTextfield(null);\n \t artInWPanel.setArtikelMengeTextfield(null);\n \t usrDelPanel.setArtikelNummerTextfield(null);\n\t\t\t\t\n\t\t\t\tframe.pack();\n\t\t\t}\n\t\t};\n\t\tkundeMenuPanel.addActionListenerLogout(listenerLogout);\n\t\tmitarbeiterMenuPanel.addActionListenerLogout(listenerLogout);\n\t\t\n\t\t// Listener für Kunden und Mitarbeitermenü initialisieren\n\t\tinitListenerMitarbeiter();\n\t\tinitListenerKunde();\n\t}","title":""},{"docid":"33eb54509354762c49476276eced774e","score":"0.5664435","text":"private void EntrarPnl(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_EntrarPnl\n \n }","title":""},{"docid":"f8cc93c24b174e2d44453bfd490cf8d8","score":"0.5657849","text":"public void hierarchyChanged(HierarchyEvent e)\r\n/* */ {\r\n/* 411 */ if (((e.getChangeFlags() & 0x4) != 0L) && \r\n/* 412 */ ((e.getSource() instanceof Window))) {\r\n/* 413 */ Window secondaryWindow = (Window)e.getSource();\r\n/* 414 */ if (!secondaryWindow.isShowing()) {\r\n/* 415 */ SingleFrameApplication.this.saveSession(secondaryWindow);\r\n/* */ }\r\n/* */ }\r\n/* */ }","title":""},{"docid":"958d08b7ad31da52b00c2f31f39e4697","score":"0.5656675","text":"@Override\n\t\t\tpublic void mouseReleased(MouseEvent e) {\n\t\t\t\t\n\t\t\t}","title":""},{"docid":"958d08b7ad31da52b00c2f31f39e4697","score":"0.5656675","text":"@Override\n\t\t\tpublic void mouseReleased(MouseEvent e) {\n\t\t\t\t\n\t\t\t}","title":""}],"string":"[\n {\n \"docid\": \"3f4aa2e755d09aad8f0181917f9602b6\",\n \"score\": \"0.6619256\",\n \"text\": \"private static void eventController(){\\r\\n\\r\\n\\t\\t_frame.addWindowListener(new WindowAdapter(){ \\t\\t\\t\\t//windowAdapter is a dummy class\\r\\n\\t\\t\\t@Override\\r\\n\\t\\t\\tpublic void windowClosing(WindowEvent e){\\r\\n\\t\\t\\t\\tquit();\\r\\n\\t\\t\\t}\\r\\n\\t\\t});\\r\\n\\t\\t\\r\\n\\t\\t_send.addActionListener(new ActionListener() {\\r\\n\\t\\t\\t@Override\\r\\n\\t\\t\\tpublic void actionPerformed(ActionEvent arg0) {\\r\\n\\t\\t\\t\\tperformAction();\\r\\n\\t\\t\\t}\\r\\n\\t\\t});\\r\\n\\t\\t\\r\\n\\t\\t_menuItemBrown.addActionListener(new ActionListener() {\\r\\n\\t\\t\\t@Override\\r\\n\\t\\t\\tpublic void actionPerformed(ActionEvent arg0) {\\r\\n\\t\\t\\t\\t_corpusNormalizer.show();\\r\\n\\t\\t\\t}\\r\\n\\t\\t});\\r\\n\\t\\t\\r\\n\\t\\t_menuItemLocations.addActionListener(new ActionListener() {\\r\\n\\t\\t\\t@Override\\r\\n\\t\\t\\tpublic void actionPerformed(ActionEvent arg0) {\\r\\n\\t\\t\\t\\t_fileLocator.show();\\r\\n\\t\\t\\t}\\r\\n\\t\\t});\\r\\n\\t\\t\\r\\n\\t\\t_menuItemAnalysis.addActionListener(new ActionListener() {\\r\\n\\t\\t\\t@Override\\r\\n\\t\\t\\tpublic void actionPerformed(ActionEvent arg0) {\\r\\n\\t\\t\\t\\t_analysis.show();\\r\\n\\t\\t\\t}\\r\\n\\t\\t});\\r\\n\\t\\t\\r\\n\\t\\t_menuItemQuit.addActionListener(new ActionListener() {\\r\\n\\t\\t\\t@Override\\r\\n\\t\\t\\tpublic void actionPerformed(ActionEvent arg0) {\\r\\n\\t\\t\\t\\tquit();\\r\\n\\t\\t\\t}\\r\\n\\t\\t});\\r\\n\\t\\t\\r\\n\\t\\t_menuItemPennTags.addActionListener(new ActionListener() {\\r\\n\\t\\t\\t@Override\\r\\n\\t\\t\\tpublic void actionPerformed(ActionEvent arg0) {\\r\\n\\t\\t\\t\\t_pennTagViewer.show();\\r\\n\\t\\t\\t}\\r\\n\\t\\t});\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c4ad984de1e98aa3b12e62ac5af34ef1\",\n \"score\": \"0.6332061\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void componentShown(ComponentEvent e) {\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d23cc24a653b2cfca530956896f7ab90\",\n \"score\": \"0.6329105\",\n \"text\": \"@Override\\r\\n\\tpublic void componentMoved(ComponentEvent e) {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"52e2782a26edc9fa0c47e09ff9608039\",\n \"score\": \"0.63215\",\n \"text\": \"@Override\\n public void componentShown(ComponentEvent e) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"52e2782a26edc9fa0c47e09ff9608039\",\n \"score\": \"0.63215\",\n \"text\": \"@Override\\n public void componentShown(ComponentEvent e) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"52e2782a26edc9fa0c47e09ff9608039\",\n \"score\": \"0.63215\",\n \"text\": \"@Override\\n public void componentShown(ComponentEvent e) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"52e2782a26edc9fa0c47e09ff9608039\",\n \"score\": \"0.63215\",\n \"text\": \"@Override\\n public void componentShown(ComponentEvent e) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"52e2782a26edc9fa0c47e09ff9608039\",\n \"score\": \"0.63215\",\n \"text\": \"@Override\\n public void componentShown(ComponentEvent e) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da6cde8af55307cc94a43a14cc749abe\",\n \"score\": \"0.6315602\",\n \"text\": \"public void event_BeforeShowComponent(Component comp) { }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f66d716aae7ca6bd992a6121283f1f81\",\n \"score\": \"0.6281535\",\n \"text\": \"@Override\\n\\tpublic void componentShown(ComponentEvent e) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f66d716aae7ca6bd992a6121283f1f81\",\n \"score\": \"0.6281535\",\n \"text\": \"@Override\\n\\tpublic void componentShown(ComponentEvent e) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0f1300c360c84351aba5a2f3c9a6b926\",\n \"score\": \"0.62809074\",\n \"text\": \"protected void onGuiEvent(GuiEvent e) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0f1300c360c84351aba5a2f3c9a6b926\",\n \"score\": \"0.62809074\",\n \"text\": \"protected void onGuiEvent(GuiEvent e) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"facf7e7bb1fb1c03a2ee9674af1ad53c\",\n \"score\": \"0.6275093\",\n \"text\": \"@Override\\r\\n\\tpublic void componentShown(ComponentEvent arg0) {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3b22b413685634086acfad68ee157dac\",\n \"score\": \"0.62619966\",\n \"text\": \"private CommonButtonPanelListener(JFrame parent) {\\r\\n\\t\\t\\tthis.parent = parent;\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c6739eacb29f1ad84928e88c66b3438d\",\n \"score\": \"0.6261136\",\n \"text\": \"@Override\\n\\t\\t public void componentShown(ComponentEvent e) {\\n\\t\\n\\t\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"595cce674adeb1491ecd5b90cfd1f6e0\",\n \"score\": \"0.6247599\",\n \"text\": \"public void componentMoved(ComponentEvent e) {\\r\\n\\t\\t\\t\\tlogger.finest(\\\"window frame moved\\\");\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tpopUpNotification.setVisible(false);\\r\\n\\t\\t\\t\\tpopUpHelp.setVisible(false);\\r\\n\\t\\t\\t\\tinitPopUps();\\t\\t\\t\\t\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"40d1ab1c095569c6f179b442680c3cb1\",\n \"score\": \"0.62419796\",\n \"text\": \"@Override\\n\\tpublic void componentShown(ComponentEvent arg0) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"40d1ab1c095569c6f179b442680c3cb1\",\n \"score\": \"0.62419796\",\n \"text\": \"@Override\\n\\tpublic void componentShown(ComponentEvent arg0) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ac967da19ca9061b8c396f25008d5ae5\",\n \"score\": \"0.62344575\",\n \"text\": \"private void formInternalFrameActivated(javax.swing.event.InternalFrameEvent evt) {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f068f0d205e77fb04451d4e45b7d4e0a\",\n \"score\": \"0.62254566\",\n \"text\": \"@Override\\n public void componentMoved(ComponentEvent e) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f068f0d205e77fb04451d4e45b7d4e0a\",\n \"score\": \"0.62254566\",\n \"text\": \"@Override\\n public void componentMoved(ComponentEvent e) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f068f0d205e77fb04451d4e45b7d4e0a\",\n \"score\": \"0.62254566\",\n \"text\": \"@Override\\n public void componentMoved(ComponentEvent e) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f068f0d205e77fb04451d4e45b7d4e0a\",\n \"score\": \"0.62254566\",\n \"text\": \"@Override\\n public void componentMoved(ComponentEvent e) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f068f0d205e77fb04451d4e45b7d4e0a\",\n \"score\": \"0.62254566\",\n \"text\": \"@Override\\n public void componentMoved(ComponentEvent e) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f69d4d86e7f9bec61b2685cb299fe313\",\n \"score\": \"0.6225118\",\n \"text\": \"@Override\\r\\n\\tpublic void componentMoved(ComponentEvent arg0) {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c8f76c6733ca26d90b2be67f481a61cc\",\n \"score\": \"0.6216025\",\n \"text\": \"private void addEvents() {\\n\\t\\tthis.addMouseListener(new MouseAdapter() {\\n\\t\\t\\tpublic void mouseClicked(java.awt.event.MouseEvent evt) {\\n\\t\\t\\t\\txuLyShowProduct();\\n \\n }\\n\\t\\t});\\n\\t\\tbtnShow.addActionListener(new ActionListener() {\\n\\t\\t\\t\\n\\t\\t\\t@Override\\n\\t\\t\\tpublic void actionPerformed(ActionEvent e) {\\n\\t\\t\\t\\t// TODO Auto-generated method stub\\n\\t\\t\\t\\txuLyShowProduct();\\n\\t\\t\\t}\\n\\t\\t});\\n\\t\\tbtnAdd.addActionListener(new ActionListener() {\\n\\t\\t\\t\\n\\t\\t\\t@Override\\n\\t\\t\\tpublic void actionPerformed(ActionEvent e) {\\n\\t\\t\\t\\t// TODO Auto-generated method stub\\n\\t\\t\\t\\txuLyThemSanPhamVaoGioHang();\\n\\t\\t\\t}\\n\\t\\t});\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b82a5e39e57cd0a54075f0aa1deb9ee6\",\n \"score\": \"0.62088144\",\n \"text\": \"@Override\\n\\tpublic void componentShown(ComponentEvent arg0) {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"432f06c91bb7eefeb90d8407c082bfc7\",\n \"score\": \"0.62059665\",\n \"text\": \"@Override\\r\\n\\tpublic void internalFrameActivated(InternalFrameEvent e) {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"329060485d04cc50a65f34ee42e7e249\",\n \"score\": \"0.62015164\",\n \"text\": \"@Override\\n\\tpublic void componentMoved(ComponentEvent e) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"329060485d04cc50a65f34ee42e7e249\",\n \"score\": \"0.62015164\",\n \"text\": \"@Override\\n\\tpublic void componentMoved(ComponentEvent e) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"258be6c2504f72b1058824edec7c7a80\",\n \"score\": \"0.61689436\",\n \"text\": \"@Override\\n\\tpublic void componentMoved(ComponentEvent arg0) {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7a485cda48020b6cc04d639212f40df0\",\n \"score\": \"0.61605763\",\n \"text\": \"@Override\\n\\tpublic void componentMoved(ComponentEvent arg0) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7a485cda48020b6cc04d639212f40df0\",\n \"score\": \"0.61605763\",\n \"text\": \"@Override\\n\\tpublic void componentMoved(ComponentEvent arg0) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4b9078854225198512eff10269b110e9\",\n \"score\": \"0.61592907\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void componentMoved(ComponentEvent e) {\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"59bb167b2335a7a4357097af70fa1540\",\n \"score\": \"0.6140193\",\n \"text\": \"public void componentShown(ComponentEvent e) {\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2e3c430f334ab62be5dd096079cbfdf6\",\n \"score\": \"0.61350083\",\n \"text\": \"@Override\\r\\n\\tpublic void internalFrameOpened(InternalFrameEvent e) {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ef7a499ee9338989be5156cbdf4e6a3\",\n \"score\": \"0.6132899\",\n \"text\": \"@Override\\n\\t\\t public void componentMoved(ComponentEvent e) {\\n\\t\\n\\t\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f738b18217b24a8f731912ff8aa9a1c1\",\n \"score\": \"0.61241937\",\n \"text\": \"public void handleEvent(Event event) {\\n if (toolBarManager.getContextMenuManager() == null) {\\n handleContextMenu(event);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3ed33d8abbb19588c42ea5eb215347ce\",\n \"score\": \"0.61135834\",\n \"text\": \"private void actionListeners(){\\n\\t\\t_event = new EventHandler(_model);\\n\\t\\t_burningShipMenu.addActionListener(_event);\\n\\t\\t_juliaMenu.addActionListener(_event);\\n\\t\\t_multibrotMenu.addActionListener(_event);\\n\\t\\t_mandelbrotMenu.addActionListener(_event);\\n\\t\\t\\n\\t\\t_color0Menu.addActionListener(_event);\\n\\t\\t_color1Menu.addActionListener(_event);\\n\\t\\t_color2Menu.addActionListener(_event);\\n\\t\\t_color3Menu.addActionListener(_event);\\n\\t\\t_escapeDistMenu.addActionListener(_event);\\n\\t\\t_setMaxPassesMenu.addActionListener(_event);\\n\\t\\t_resetZoomMenu.addActionListener(_event);\\n\\t\\t_setNumThreadsMenu.addActionListener(_event);\\n\\t\\t_exit.addActionListener(_event);\\n\\t\\t_mevent = new MouseHandler(_model, this);\\n\\t\\t_fractalPanel.addMouseListener(_mevent);\\n\\t\\t_fractalPanel.addMouseMotionListener(_mevent);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6fc4b78274a7f034ec0b2de2176ee012\",\n \"score\": \"0.61064637\",\n \"text\": \"public NewEventActionListener(EnvironmentFrame parentFrame)\\n {\\n this.parentFrame = parentFrame;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"435735a2cb14265771e19c8f478a3521\",\n \"score\": \"0.60918677\",\n \"text\": \"@Override\\r\\n\\t\\tpublic void internalFrameActivated(InternalFrameEvent e) {\\n\\t\\t\\t\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e6e619e42df3508ff0f4abec2b243332\",\n \"score\": \"0.60593307\",\n \"text\": \"public void componentShown(ComponentEvent e) {\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f193552339c2a6da445e2b6361a44f58\",\n \"score\": \"0.6057811\",\n \"text\": \"public void componentShown(ComponentEvent e) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"03a0c446b89025094ec407e7f738e3db\",\n \"score\": \"0.6053773\",\n \"text\": \"@Override\\r\\n\\tpublic void internalFrameIconified(InternalFrameEvent e) {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3e5de15575858621441263780e84acce\",\n \"score\": \"0.604627\",\n \"text\": \"private MenuBarListener(JFrame parent) {\\r\\n\\t\\t\\tthis.parent = parent;\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"222ae77288f4104290479c838e5cf545\",\n \"score\": \"0.60279995\",\n \"text\": \"private void addEvents() {\\n\\t\\taddDomHandler(new MouseOverHandler() {\\n\\n\\t\\t\\tpublic void onMouseOver(MouseOverEvent event) {\\n\\t\\t\\t\\taddThisOpen(anchor.getElement());\\n\\t\\t\\t}\\n\\t\\t}, MouseOverEvent.getType());\\n\\t\\taddDomHandler(new MouseOutHandler() {\\n\\n\\t\\t\\tpublic void onMouseOut(MouseOutEvent event) {\\n\\t\\t\\t\\taddThisClose();\\n\\t\\t\\t}\\n\\t\\t}, MouseOutEvent.getType());\\n\\t\\taddDomHandler(new ClickHandler() {\\n\\n\\t\\t\\tpublic void onClick(ClickEvent event) {\\n\\t\\t\\t\\taddThisSendTo();\\n\\t\\t\\t\\tevent.preventDefault();\\n\\t\\t\\t}\\n\\t\\t}, ClickEvent.getType());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"35e91c016e099e4e074454dc8901d164\",\n \"score\": \"0.60177994\",\n \"text\": \"public GuiListener(MainFrame frame) {\\n\\n\\t\\tthis.frame = frame;\\n\\n\\t\\t/* the bad words, which are available in the class MainFrame, are added to the bad word \\n\\t\\t filter-object */\\n\\t\\t\\n\\t\\tfilter = new BadWordFilter(new Message(\\\"\\\", \\\"\\\"));\\n\\t\\tfilter.addBadWords(frame.badWords);\\n\\n\\t\\t/* the translations, which are available in the class MainFrame, are added to the \\n\\t\\t translator-object */\\n\\t\\t\\n\\t\\ttranslator = new Translator(filter);\\n\\t\\ttranslator.addTranslations(frame.translations);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab52124cc5491350bbdef457c2d5fbaa\",\n \"score\": \"0.6015831\",\n \"text\": \"@Override\\r\\n\\t\\tpublic void internalFrameOpened(InternalFrameEvent e) {\\n\\t\\t\\t\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d84fb7a433337dc392930a0d231ae66b\",\n \"score\": \"0.6011281\",\n \"text\": \"private void attachEventHandlers() {\\n // About Menu Item Handler\\n optionsModuleChooserMenuBar.addAboutHandler(a -> alertDialogBuilder(AlertType.INFORMATION, \\\"Information Dialog\\\", null, \\\"Options Module Chooser MVC app v1.0\\\"));\\n\\n // Exit Menu Item Handler\\n optionsModuleChooserMenuBar.addExitHandler(e -> System.exit(0));\\n\\n // Creating, Save and Load the Students Profile\\n studentProfileViewPane.addCreateStudentProfileHandler(new StudentProfilesHandler());\\n optionsModuleChooserMenuBar.addLoadStudentDataHandler(new LoadStudentHandler());\\n optionsModuleChooserMenuBar.addSaveStudentDataHandler(new SaveStudentHandler());\\n\\n // Submit Button Module Selections\\n moduleSelectionViewPane.addSubmitModulesHandler(new SubmitModulesHandler());\\n\\n // Reset Button\\n moduleSelectionViewPane.addResetModulesHandler(new ResetModulesHandler());\\n\\n // Term 1 - Add & Remove Handlers\\n term1SelectionPane.addAddHandler(new AddHandler(term1SelectionPane));\\n term1SelectionPane.addRemoveHandler(new RemoveHandler(term1SelectionPane));\\n\\n // Term 2 - Add & Remove Handlers\\n term2SelectionPane.addAddHandler(new AddHandler(term2SelectionPane));\\n term2SelectionPane.addRemoveHandler(new RemoveHandler(term2SelectionPane));\\n\\n // Term 1 - Select and Remove items with double clicks\\n term1SelectionPane.addDoubleMouseAddClickSelectionHandler(new DoubleMouseAddClickSelectionHandler(term1SelectionPane));\\n term1SelectionPane.addDoubleMouseRemoveClickSelectionHandler(new DoubleMouseRemoveClickSelectionHandler(term1SelectionPane));\\n\\n // Term 2 - Select and Remove items with double clicks\\n term2SelectionPane.addDoubleMouseAddClickSelectionHandler(new DoubleMouseAddClickSelectionHandler(term2SelectionPane));\\n term2SelectionPane.addDoubleMouseRemoveClickSelectionHandler(new DoubleMouseRemoveClickSelectionHandler(term2SelectionPane));\\n\\n overviewViewPane.addSaveOverviewHandler(new SaveOverviewHandler());\\n\\n optionsModuleChooserMenuBar.addLoadCourseDataHandler(new LoadCoursesHandler());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3592c139f4826b256ca0abb86d96944a\",\n \"score\": \"0.6003618\",\n \"text\": \"@Override\\n\\t\\t\\t\\tpublic void internalFrameIconified(InternalFrameEvent arg0) {\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6d3088a7e312edb7709f1b4fc55066e6\",\n \"score\": \"0.5992633\",\n \"text\": \"@Override\\n\\t\\t\\t\\tpublic void internalFrameOpened(InternalFrameEvent arg0) {\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c3a04e68571ef98ac5b67e932d393d89\",\n \"score\": \"0.59763455\",\n \"text\": \"@Override\\n\\tpublic void addEventHandlers() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"331a7f935dd9b9665455259e844698c2\",\n \"score\": \"0.59609246\",\n \"text\": \"@Override\\r\\n\\t\\tpublic void internalFrameIconified(InternalFrameEvent e) {\\n\\t\\t\\t\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b673baa8201dd9e8b4d5828f66442499\",\n \"score\": \"0.5950886\",\n \"text\": \"public void componentShown(final ComponentEvent e)\\r\\n {\\r\\n // Nothing to do here\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a088a43012f93b0737855367e07e3981\",\n \"score\": \"0.59369737\",\n \"text\": \"public void componentMoved(ComponentEvent arg0) {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c60b1ed30187f50ab99cc35cee64ece3\",\n \"score\": \"0.5908967\",\n \"text\": \"interface FrameOrderingPanelListener {\\n\\tvoid frameOrderingPanel_hotItemClicked(int iId);\\n\\tvoid frameOrderingPanel_hotItemLongClicked(int iId);\\n\\tvoid frameOrderingPanel_functionClicked(int iId, String[] sName, String sParameter);\\n\\tvoid frameOrderingPanel_lookupClicked(int iId);\\n\\tvoid frameOrderingPanel_hotModifierClicked(int iId, String sParameter);\\n\\tvoid frameOrderingPanel_modifierLookupClicked(int iId, String sParameter);\\n\\tvoid frameOrderingPanel_paymentClicked(int iId, String sParameter);\\n\\tvoid frameOrderingPanel_subPanelPageClicked(int iId);\\n\\tvoid frameOrderingPanel_discountClicked(int iId, String sParameter);\\n\\tvoid frameOrderingPanel_tabClicked();\\n\\tvoid frameOrderingPanel_UpdateMenuItem();\\n\\tboolean frameOrderingPanel_OrderingTimeout();\\n\\tboolean frameOrderingPanel_CashierTimeout();\\n\\tvoid frameOrderingPanel_barcodeReaded(int iCurrentFrameId, String sValue);\\n\\tvoid frameOrderingPanel_clearOctopusDisplay();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c748c7cecfc649f6ec0f7535427baa4e\",\n \"score\": \"0.5894442\",\n \"text\": \"@Override //also have listener that displays\\n public void mouseClicked(MouseEvent e) { //all the tasks of that much\\n monthFrame.makeNewFrame();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af3369140ff933721cf8eb7fe4d9830d\",\n \"score\": \"0.5882799\",\n \"text\": \"private void addListeners(){\\n newBtn.addEventHandler(MouseEvent.MOUSE_RELEASED,\\n new EventHandler() {\\n @Override\\n public void handle(MouseEvent e) {\\n create();\\n }\\n }\\n );\\n\\n openBtn.addEventHandler(MouseEvent.MOUSE_RELEASED,\\n new EventHandler() {\\n @Override\\n public void handle(MouseEvent e) {\\n open();\\n }\\n }\\n );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"588de7f3205e50f7885e0679ffdf7a25\",\n \"score\": \"0.5876322\",\n \"text\": \"public void componentMoved(ComponentEvent e) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3cdcb8d0fc2f92f4fb6b613a1697e758\",\n \"score\": \"0.58579344\",\n \"text\": \"@Override\\r\\n protected void handleEvent(AppEvent event)\\r\\n {\\n if (event.getType() == AppEvents.ViewOAITest) {\\r\\n LayoutContainer centerPanel = (LayoutContainer) Registry.get(AppView.CENTER_PANEL);\\r\\n centerPanel.removeAll();\\r\\n\\r\\n eraseBrowseNavPanel();\\r\\n\\r\\n centerPanel.add(oaiTestPanel);\\r\\n oaiTestPanel.newOAITest();\\r\\n centerPanel.layout();\\r\\n }\\r\\n if (event.getType() == AppEvents.ViewOAISpecificSet) {\\r\\n LayoutContainer centerPanel = (LayoutContainer) Registry.get(AppView.CENTER_PANEL);\\r\\n centerPanel.removeAll();\\r\\n\\r\\n eraseBrowseNavPanel();\\r\\n\\r\\n centerPanel.add(oaiTestPanel);\\r\\n DataSourceUI dataSourceUI = (DataSourceUI) event.getData();\\r\\n oaiTestPanel.loadOAITest(dataSourceUI);\\r\\n centerPanel.layout();\\r\\n }else if (event.getType() == AppEvents.ViewRestRecordOperations) {\\r\\n LayoutContainer centerPanel = (LayoutContainer) Registry.get(AppView.CENTER_PANEL);\\r\\n centerPanel.removeAll();\\r\\n\\r\\n eraseBrowseNavPanel();\\r\\n\\r\\n centerPanel.add(restRecordOperationsPanel);\\r\\n centerPanel.layout();\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"de6ac1126e655d4e3bb5d3099bdda571\",\n \"score\": \"0.5857157\",\n \"text\": \"private void createEvents() {\\n\\r\\n\\t\\tbtnWr.addActionListener((ActionListener) new ActionListener() {\\r\\n\\t\\t\\tpublic void actionPerformed(ActionEvent arg0) {\\r\\n\\t\\t\\t\\tMenu frame = new Menu(getContentPane().getSize().width, getContentPane().getSize().height,\\r\\n\\t\\t\\t\\t\\t\\tgetContentPane().getBounds().x, getContentPane().getBounds().y,\\r\\n\\t\\t\\t\\t\\t\\tgetContentPane().getBounds().width, getContentPane().getBounds().height);\\r\\n\\t\\t\\t\\tdispose();\\r\\n\\t\\t\\t}\\r\\n\\t\\t});\\r\\n\\r\\n\\t\\tbtnDodajNowOsob.addActionListener(new ActionListener() {\\r\\n\\t\\t\\tpublic void actionPerformed(ActionEvent arg0) {\\r\\n\\t\\t\\t\\tTypLekcjaFrame frame = new TypLekcjaFrame(getContentPane().getSize().width,\\r\\n\\t\\t\\t\\t\\t\\tgetContentPane().getSize().height, getContentPane().getBounds().x,\\r\\n\\t\\t\\t\\t\\t\\tgetContentPane().getBounds().y, getContentPane().getBounds().width,\\r\\n\\t\\t\\t\\t\\t\\tgetContentPane().getBounds().height);\\r\\n\\t\\t\\t\\tdispose();\\r\\n\\t\\t\\t}\\r\\n\\t\\t});\\r\\n\\r\\n\\t\\t// gdy klikniemy w element po lewej stronie\\r\\n\\t\\tlessonJList.addMouseListener(new MouseAdapter() {\\r\\n\\t\\t\\tpublic void mouseClicked(MouseEvent e) {\\r\\n\\r\\n\\t\\t\\t\\tint id = ((Lekcja) lessonList.get(lessonJList.getSelectedIndex())).getId();\\r\\n\\r\\n\\t\\t\\t\\tSession session = HibernateUtil.getSessionFactory().getCurrentSession();\\r\\n\\t\\t\\t\\tsession.beginTransaction();\\r\\n\\t\\t\\t\\tLekcja lesson = session.get(Lekcja.class, id);\\r\\n\\r\\n\\t\\t\\t\\tDefaultListModel listaLekcji = new DefaultListModel();\\r\\n\\r\\n\\t\\t\\t\\t// sprawdzam typ osoby i wyświetlam w lewym panelu dane o nim a w prawym\\r\\n\\t\\t\\t\\t// powiązania na jego temat\\r\\n\\t\\t\\t\\t// rightpersonlist to lista\\r\\n\\t\\t\\t\\t// JRighthlist to gui\\r\\n\\r\\n\\t\\t\\t\\tif (lesson instanceof Indywidualna) {\\r\\n\\t\\t\\t\\t\\tlessonInfoLabel.setText(\\\"typ: \\\" + lesson.getClass().getSimpleName() + \\\"
Cena: \\\"\\r\\n\\t\\t\\t\\t\\t\\t\\t+ lesson.getCena() + \\\"
Spot: \\\" + lesson.getSpot() + \\\"
Długość: \\\"\\r\\n\\t\\t\\t\\t\\t\\t\\t+ lesson.getTypLekcja() + \\\"
Instruktor: \\\" + lesson.getInstruktor().getImie() + \\\" \\\"\\r\\n\\t\\t\\t\\t\\t\\t\\t+ lesson.getInstruktor().getNazwisko() + \\\"
Kursanci: \\\" + lesson.getKursant().getImie()\\r\\n\\t\\t\\t\\t\\t\\t\\t+ \\\" \\\" + lesson.getKursant().getNazwisko() + \\\"\\\");\\r\\n\\t\\t\\t\\t} else if (lesson instanceof Grupowa) {\\r\\n\\t\\t\\t\\t\\tlessonInfoLabel.setText(\\\"typ: \\\" + lesson.getClass().getSimpleName() + \\\"
Cena: \\\"\\r\\n\\t\\t\\t\\t\\t\\t\\t+ lesson.getCena() + \\\"
Spot: \\\" + lesson.getSpot() + \\\"
Długość: \\\"\\r\\n\\t\\t\\t\\t\\t\\t\\t+ lesson.getTypLekcja() + \\\"
Numer grupy: \\\" + ((Grupowa) lesson).getNumer()\\r\\n\\t\\t\\t\\t\\t\\t\\t+ \\\"
Rodzaj grupy: \\\" + ((Grupowa) lesson).getRodzajGrupa() + \\\"
Instruktor: \\\"\\r\\n\\t\\t\\t\\t\\t\\t\\t+ lesson.getInstruktor().getImie() + \\\" \\\" + lesson.getInstruktor().getNazwisko()\\r\\n\\t\\t\\t\\t\\t\\t\\t+ \\\"
Kursanci: \\\" + lesson.getKursant().getImie() + \\\" \\\"\\r\\n\\t\\t\\t\\t\\t\\t\\t+ lesson.getKursant().getNazwisko() + \\\"\\\");\\r\\n\\t\\t\\t\\t}\\r\\n\\r\\n\\t\\t\\t\\tsession.getTransaction().commit();\\r\\n\\t\\t\\t}\\r\\n\\r\\n\\t\\t});\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f7b3078b0dbc89e4f6e9074e1b2e3cd9\",\n \"score\": \"0.5842241\",\n \"text\": \"public void GotMouseEvent(MouseEvent evt) {\\n Vector2f absCoords = new Vector2f(Ref.glRef.GetResolution());\\n Vector2f orgCoords = new Vector2f(evt.Position);\\n absCoords.x *= evt.Position.x;\\n absCoords.y *= 1-evt.Position.y;\\n \\n evt.Position = absCoords;\\n \\n Vector2f position = null, size = null;\\n if(popupContainer != null) {\\n position = popupContainer.getPosition();\\n size = popupContainer.getLayoutSize();\\n }\\n \\n if(popupContainer != null && absCoords.x >= position.x && absCoords.x < position.x + size.x &&\\n absCoords.y >= position.y && absCoords.y < position.y + size.y) {\\n popupContainer.MouseEvent(evt);\\n } else if(popupContainer != null && evt.Button == 0 && evt.Pressed) {\\n // remove popupcont\\n popupContainer = null;\\n } else {\\n position = sidepanel.getPosition();\\n size = sidepanel.getLayoutSize();\\n if(absCoords.x >= position.x && absCoords.x < position.x + size.x &&\\n absCoords.y >= position.y && absCoords.y < position.y + size.y) {\\n sidepanel.MouseEvent(evt);\\n } else {\\n position = menupanel.getPosition();\\n size = menupanel.getLayoutSize();\\n if(absCoords.x >= position.x && absCoords.x < position.x + size.x &&\\n absCoords.y >= position.y && absCoords.y < position.y + size.y) {\\n menupanel.MouseEvent(evt);\\n } else {\\n position = stashpanel.getPosition();\\n size = stashpanel.getLayoutSize();\\n if(absCoords.x >= position.x && absCoords.x < position.x + size.x &&\\n absCoords.y >= position.y && absCoords.y < position.y + size.y) {\\n stashpanel.MouseEvent(evt);\\n } else if(mat_show) {\\n matSelect.MouseEvent(evt);\\n } else {\\n evt.Position = orgCoords;\\n toolMouseEvent(evt);\\n }\\n }\\n \\n \\n }\\n }\\n // }\\n \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8788b449d07d9b5e86a799c9ef75b06c\",\n \"score\": \"0.58391273\",\n \"text\": \"public void componentShown(ComponentEvent arg0) {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"60c90293ab8f5fedaa0700110579b142\",\n \"score\": \"0.58305806\",\n \"text\": \"@Override\\n\\tpublic void actionPerformed(ActionEvent e) {\\n\\t\\tif(e.getActionCommand().equals(\\\"addTransfer\\\")){\\n\\t\\t\\tframe.getContentPane().removeAll();\\n\\t\\t\\tthis.currentPanel = new HallTransferUI(this);\\n\\t\\t\\tframe.add(currentPanel);\\n\\t\\t\\tframe.validate();\\n\\t\\t\\tframe.repaint();\\n\\t\\t\\t\\n\\t\\t}else if(e.getActionCommand().equals(\\\"addArrival\\\")){\\n\\t\\t\\tframe.getContentPane().removeAll();\\n\\t\\t\\tthis.currentPanel = new HallArrivalUI(this);\\n\\t\\t\\tframe.add(currentPanel);\\n\\t\\t\\tframe.validate();\\n\\t\\t\\tframe.repaint();\\n\\t\\t\\t\\n\\t\\t}else if(e.getActionCommand().equals(\\\"addDeliver\\\")){\\n\\t\\t\\tframe.getContentPane().removeAll();\\n\\t\\t\\tthis.currentPanel = new HallDeliverUI(this);\\n\\t\\t\\tframe.add(currentPanel);\\n\\t\\t\\tframe.validate();\\n\\t\\t\\tframe.repaint();\\n\\t\\t\\t\\n\\t\\t}else if(e.getActionCommand().equals(\\\"addPayment\\\")){\\n\\t\\t\\tframe.getContentPane().removeAll();\\n\\t\\t\\tthis.currentPanel = new HallPaymentUI(this);\\n\\t\\t\\tframe.add(currentPanel);\\n\\t\\t\\tframe.validate();\\n\\t\\t\\tframe.repaint();\\n\\t\\t\\t\\n\\t\\t}else if(e.getActionCommand().equals(\\\"manageDriver\\\")){\\n\\t\\t\\tframe.getContentPane().removeAll();\\n\\t\\t\\tthis.currentPanel = new DriverUI(this);\\n\\t\\t\\tframe.add(currentPanel);\\n\\t\\t\\tframe.validate();\\n\\t\\t\\tframe.repaint();\\n\\t\\t\\t\\n\\t\\t}else if(e.getActionCommand().equals(\\\"manageCar\\\")){\\n\\t\\t\\tframe.getContentPane().removeAll();\\n\\t\\t\\tthis.currentPanel = new CarUI(this);\\n\\t\\t\\tframe.add(currentPanel);\\n\\t\\t\\tframe.validate();\\n\\t\\t\\tframe.repaint();\\n\\t\\t\\t\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9f094bde5dfc7d2ec1db2c3cc89d787e\",\n \"score\": \"0.5801224\",\n \"text\": \"private void constructFrameComponents()\\r\\n {\\r\\n toolBar = new ToolBar(graph);\\r\\n panel = new GraphPanel(toolBar, graph);\\r\\n terminal = new JTextArea();\\r\\n terminalPanel = new TerminalPanel(terminal);\\r\\n scrollPane = new JScrollPane(panel);\\r\\n stateControlPanel = new StateControlPanel();\\r\\n stateControlPanel.setVisible(false);\\r\\n this.add(toolBar, BorderLayout.NORTH);\\r\\n this.add(scrollPane, BorderLayout.CENTER);\\r\\n this.add(stateControlPanel,BorderLayout.EAST);\\r\\n this.add(terminalPanel, BorderLayout.SOUTH);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f9f83804715db3be7c9b57a47f1cb63\",\n \"score\": \"0.5790897\",\n \"text\": \"public void componentMoved(final ComponentEvent e)\\r\\n {\\r\\n // Nothing to do here\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2b07e6e5e9a5108bee4c7c42bbfce90d\",\n \"score\": \"0.5789441\",\n \"text\": \"private void jButton1AncestorAdded(javax.swing.event.AncestorEvent evt) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7e4ae6daf235eb7c83957f68f97823cd\",\n \"score\": \"0.5787256\",\n \"text\": \"@Override\\n public void mouseClicked(MouseEvent e) {\\n frame.dispose();\\n ast.Stop();\\n CoolMenu menu = new CoolMenu();\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8c7e9f9ce052702cf35204c8b2d966e0\",\n \"score\": \"0.57868105\",\n \"text\": \"@Override\\n public void addComponents(Frame windowFrame) {\\n windowFrame.setLayout(new GridLayout(1, 3));\\n windowFrame.setBackground(Color.lightGray);\\n\\n //******************************************************************************************************\\n //Info panel to select elevator and to display relevant information about currently selected elevator\\n //******************************************************************************************************\\n infoPanel = new Panel();\\n infoPanel.setLayout(new GridBagLayout());\\n\\n GridBagConstraints c = new GridBagConstraints();\\n c.gridx = 0;\\n c.gridy = 0;\\n c.anchor = GridBagConstraints.WEST;\\n c.weightx = 1;\\n elevatorSelection = new Choice();\\n elevatorSelection.setSize(50, 75);\\n elevatorSelection.addItemListener(e -> {\\n controller.setSelectedElevator(elevatorSelection.getSelectedIndex());\\n floorSelection.select(floorIndex);\\n });\\n infoPanel.add(elevatorSelection, c);\\n elevatorSelection.setVisible(false);\\n\\n c.gridx = 0;\\n c.gridy = 1;\\n c.anchor = GridBagConstraints.WEST;\\n c.weightx = 1;\\n Label labelPayload = new Label(\\\"Payload:\\\");\\n infoPanel.add(labelPayload, c);\\n\\n c.gridy = 2;\\n c.anchor = GridBagConstraints.CENTER;\\n payload = new Label(\\\"____\\\");\\n infoPanel.add(payload, c);\\n\\n c.gridy = 3;\\n c.anchor = GridBagConstraints.WEST;\\n Label labelSpeed = new Label(\\\"Speed:\\\");\\n infoPanel.add(labelSpeed, c);\\n\\n c.gridy = 4;\\n c.anchor = GridBagConstraints.CENTER;\\n speed = new Label(\\\"__\\\");\\n infoPanel.add(speed, c);\\n\\n c.gridy = 5;\\n c.anchor = GridBagConstraints.WEST;\\n Label labelDoorStatus = new Label(\\\"Door Status:\\\");\\n infoPanel.add(labelDoorStatus, c);\\n\\n c.gridy = 6;\\n c.anchor = GridBagConstraints.CENTER;\\n doorStatus = new Label(\\\"__\\\");\\n infoPanel.add(doorStatus, c);\\n\\n c.gridy = 7;\\n c.anchor = GridBagConstraints.WEST;\\n Label labelTarget = new Label(\\\"Target:\\\");\\n infoPanel.add(labelTarget, c);\\n\\n c.gridy = 8;\\n c.anchor = GridBagConstraints.CENTER;\\n target = new Label(\\\"__\\\");\\n infoPanel.add(target, c);\\n\\n Font myFont = new Font(\\\"Helvetica\\\", Font.PLAIN, 30);\\n infoPanel.setFont(myFont);\\n\\n //******************************************************************************************************\\n //Position panel to display current floor and direction which the elevator is going\\n //******************************************************************************************************\\n Panel positionPanel = new Panel();\\n positionPanel.setLayout(new GridBagLayout());\\n\\n c = new GridBagConstraints();\\n c.gridx = 0;\\n c.gridy = 0;\\n c.weighty = 1;\\n c.fill = GridBagConstraints.HORIZONTAL;\\n positionPanel.add(new Panel(), c);\\n\\n c = new GridBagConstraints();\\n c.gridx = 0;\\n c.gridy = 1;\\n c.anchor = GridBagConstraints.CENTER;\\n c.weightx = 1;\\n directionUp = new Label(\\\"UP\\\");\\n directionUp.setFont(new Font(\\\"Helvetica\\\", Font.BOLD, 45));\\n positionPanel.add(directionUp, c);\\n\\n c = new GridBagConstraints();\\n c.gridx = 0;\\n c.gridy = 2;\\n c.weighty = 1;\\n c.fill = GridBagConstraints.HORIZONTAL;\\n positionPanel.add(new Panel(), c);\\n\\n c = new GridBagConstraints();\\n c.gridx = 0;\\n c.gridy = 3;\\n c.anchor = GridBagConstraints.CENTER;\\n c.weightx = 1;\\n currentPosition = new Label(\\\"PO\\\");\\n currentPosition.setFont(new Font(\\\"Helvetica\\\", Font.BOLD, 35));\\n positionPanel.add(currentPosition, c);\\n\\n c = new GridBagConstraints();\\n c.gridx = 0;\\n c.gridy = 3;\\n c.anchor = GridBagConstraints.CENTER;\\n c.weightx = 1;\\n floorSelection = new Choice();\\n floorSelection.setSize(50, 75);\\n floorSelection.addItemListener(e -> controller.setSelectedFloor(elevatorIndex, floorSelection.getSelectedIndex()));\\n floorSelection.setFont(new Font(\\\"Helvetica\\\", Font.BOLD, 20));\\n positionPanel.add(floorSelection, c);\\n\\n c = new GridBagConstraints();\\n c.gridx = 0;\\n c.gridy = 4;\\n c.weighty = 1;\\n c.fill = GridBagConstraints.HORIZONTAL;\\n positionPanel.add(new Panel(), c);\\n\\n c = new GridBagConstraints();\\n c.gridx = 0;\\n c.gridy = 5;\\n c.anchor = GridBagConstraints.CENTER;\\n c.weightx = 1;\\n directionDown = new Label(\\\"DOWN\\\");\\n directionDown.setFont(new Font(\\\"Helvetica\\\", Font.BOLD, 45));\\n positionPanel.add(directionDown, c);\\n\\n c = new GridBagConstraints();\\n c.gridx = 0;\\n c.gridy = 6;\\n c.weighty = 1;\\n c.fill = GridBagConstraints.HORIZONTAL;\\n positionPanel.add(new Panel(), c);\\n\\n\\n //******************************************************************************************************\\n // Floor panel for mode selection, to display on which floor UP and DOWN buttons are pressed and which\\n // are pressed on the panel inside the elevator\\n //******************************************************************************************************\\n Panel floorPanel = new Panel();\\n floorPanel.setLayout(new GridBagLayout());\\n\\n //Upper Panel for mode selection\\n Panel modePanel = new Panel(new GridLayout());\\n\\n CheckboxGroup cbg = new CheckboxGroup();\\n checkBoxAuto = new Checkbox(\\\"Aut\\\", cbg, true);\\n checkBoxAuto.setBounds(100, 100, 50, 50);\\n checkBoxManual = new Checkbox(\\\"Man\\\", cbg, false);\\n checkBoxManual.setBounds(100, 150, 50, 50);\\n\\n checkBoxAuto.addItemListener(e -> {\\n controller.setAutomaticMode(elevatorIndex, true);\\n floorSelection.select(floorIndex);\\n });\\n checkBoxManual.addItemListener(e -> {\\n controller.setAutomaticMode(elevatorIndex, false);\\n floorSelection.select(floorIndex);\\n });\\n\\n checkBoxAuto.setEnabled(false);\\n checkBoxManual.setEnabled(false);\\n\\n c = new GridBagConstraints();\\n c.gridx = 0;\\n c.gridy = 0;\\n c.weighty = 1;\\n c.fill = GridBagConstraints.CENTER;\\n Label labelMode = new Label(\\\"Mode:\\\");\\n modePanel.add(labelMode);\\n\\n modePanel.add(checkBoxAuto);\\n modePanel.add(checkBoxManual);\\n\\n floorPanel.add(modePanel, c);\\n floorPanel.setFont(new Font(\\\"Helvetica\\\", Font.PLAIN, 20));\\n\\n // Second panel for pressed button information\\n Panel callStopPanel = new Panel();\\n callStopPanel.setLayout(new GridBagLayout());\\n\\n c = new GridBagConstraints();\\n c.gridx = 0;\\n c.gridy = 0;\\n c.anchor = GridBagConstraints.WEST;\\n Label labelCallStop = new Label(\\\"Call/Stop pressed on floor: \\\");\\n callStopPanel.add(labelCallStop, c);\\n c.gridx = 0;\\n c.gridy = 1;\\n UpButtonsPressed = new Label(\\\"\\\");\\n callStopPanel.add(UpButtonsPressed, c);\\n c.gridx = 0;\\n c.gridy = 2;\\n downButtonsPressed = new Label(\\\"\\\");\\n callStopPanel.add(downButtonsPressed, c);\\n c.gridx = 0;\\n c.gridy = 3;\\n Label labelElevatorPanel = new Label(\\\"Pressed on Elevator panel:\\\");\\n callStopPanel.add(labelElevatorPanel, c);\\n c.gridx = 0;\\n c.gridy = 4;\\n elevatorPanelButtonsPressed = new Label(\\\"\\\");\\n callStopPanel.add(elevatorPanelButtonsPressed, c);\\n\\n callStopPanel.setFont(new Font(\\\"Helvetica\\\", Font.PLAIN, 20));\\n\\n c = new GridBagConstraints();\\n c.gridx = 0;\\n c.gridy = 1;\\n c.weighty = 1;\\n c.fill = GridBagConstraints.HORIZONTAL;\\n floorPanel.add(callStopPanel, c);\\n\\n //Add all panels to Frame\\n windowFrame.add(infoPanel);\\n windowFrame.add(positionPanel);\\n windowFrame.add(floorPanel);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"38bfe0d66a241ee94b99e2ea1f19b08a\",\n \"score\": \"0.5786061\",\n \"text\": \"void IHEY2ObsContextPanel_focusGained(java.awt.event.FocusEvent event)\\r\\n\\t{\\n\\t\\tobservationContextList.setVisible(true);\\r\\n\\t\\tSystem.out.println(\\\"Made it visible\\\");\\r\\n\\t\\t\\t \\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0b9c0ef1093a2b2bb59e66f1cd3c072d\",\n \"score\": \"0.5770453\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void handle(MouseEvent event) {\\n\\t\\t\\t\\t\\r\\n\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"699523482652d1d927a05ece5ab53e58\",\n \"score\": \"0.5769832\",\n \"text\": \"public MainWindowEventObject(Object source) {\\r\\n super(source);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d94529ec0921230bfa0dc660e58e9f23\",\n \"score\": \"0.57583046\",\n \"text\": \"private void SalirPnl(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SalirPnl\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"18bdc4ae262f3774a997d79fe12d7add\",\n \"score\": \"0.5757046\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void windowActivated(WindowEvent arg0) {\\n\\t\\t\\t\\t\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"18bdc4ae262f3774a997d79fe12d7add\",\n \"score\": \"0.5757046\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void windowActivated(WindowEvent arg0) {\\n\\t\\t\\t\\t\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0c4a791479f2f58ca13e9b826629b991\",\n \"score\": \"0.5747723\",\n \"text\": \"@Override\\r\\n public void handle(MouseEvent event) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"43e1dc66a14fb3e1f2196791e09709a8\",\n \"score\": \"0.574251\",\n \"text\": \"protected void installListeners() {\\n MouseWheelListener wheelTracker = new MouseWheelListener() {\\n /**\\n *\\n */\\n public void mouseWheelMoved(MouseWheelEvent e) {\\n if (e.getSource() instanceof mxGraphOutline || e.isControlDown()) {\\n SoftwareModeling.this.mouseWheelMoved(e);\\n }\\n }\\n\\n };\\n\\n // Handles mouse wheel events in the outline and graph component\\n graphOutline.addMouseWheelListener(wheelTracker);\\n graphComponent.addMouseWheelListener(wheelTracker);\\n\\n // Installs the popup menu in the outline\\n graphOutline.addMouseListener(new MouseAdapter() {\\n\\n /**\\n *\\n */\\n public void mousePressed(MouseEvent e) {\\n // Handles context menu on the Mac where the trigger is on\\n // mousepressed\\n mouseReleased(e);\\n }\\n\\n /**\\n *\\n */\\n public void mouseReleased(MouseEvent e) {\\n if (e.isPopupTrigger()) {\\n showOutlinePopupMenu(e);\\n }\\n }\\n\\n });\\n\\n // Installs the popup menu in the graph component\\n graphComponent.getGraphControl().addMouseListener(new MouseAdapter() {\\n public void mousePressed(MouseEvent e) {\\n // Handles context menu on the Mac where the trigger is on\\n // mousepressed\\n mouseReleased(e);\\n\\n mxCell cell = (mxCell) graphComponent.getCellAt(e.getX(), e.getY(), false);\\n myConstants.cell = cell;\\n if (cell != null) {\\n if (cell != null && graphComponent.getGraph().isCellEditable(cell)) {\\n javax.swing.JTabbedPane p2 = myConstants.jTabbedPane2;\\n String tip = graphComponent.getGraph().getToolTipForCell(cell);\\n System.out.println(tip);\\n String tiptext = tip.substring(6, tip.length() - 7);\\n System.out.println(tiptext);\\n String[] arr = tiptext.split(\\\"
\\\");\\n String dir = arr[arr.length - 1].split(\\\"=\\\")[1];//获取路径\\n p2.setEnabled(true);\\n swRight.setProid(dir);\\n swRight.setObjid(cell.getId());\\n String[] arrStyle = cell.getStyle().split(\\\";\\\");\\n String style = arrStyle[arrStyle.length - 1];\\n // 软件资源建模界面,软件步骤\\n if (style.equals(\\\"one\\\")) {\\n try {\\n // buRight.setCellId(cell.getId());\\n p2.setSelectedIndex(1);\\n swRight.getjButton1().setEnabled(false);\\n swRight.getjButton2().setEnabled(true);\\n swRight.getQingjingmingcheng().setText(\\\"\\\");\\n swRight.getZhixingzhe().setText(\\\"\\\");\\n swRight.getShuchuchengguo().setText(\\\"\\\");\\n swRight.getShijian().setText(\\\"\\\");\\n swRight.getDidian().setText(\\\"\\\");\\n swRight.getBiaozhun().setText(\\\"\\\");\\n swRight.getFuzhusheshi().setText(\\\"\\\");\\n swRight.getKongqihuanjing().setText(\\\"\\\");\\n swRight.getKongjian().setText(\\\"\\\");\\n swRight.getZuzhijili().setText(\\\"\\\");\\n swRight.getNeirongmiaoshu().setText(\\\"\\\");\\n swRight.setProid(dir);\\n swRight.setObjid(String.valueOf(cell.getId()));\\n\\n int count = DaoSolution.exist(dir, String.valueOf(cell.getId()));\\n if (count > 0) {\\n SolutionBuild model = DaoSolution.getModel(dir, String.valueOf(cell.getId()));\\n swRight.getQingjingmingcheng().setText(model.getQingjingmingcheng());\\n swRight.getZhixingzhe().setText(model.getZhixingzhe());\\n swRight.getShuchuchengguo().setText(model.getShuchuchengguo());\\n swRight.getShijian().setText(model.getDate());\\n swRight.getDidian().setText(model.getPlace());\\n swRight.getBiaozhun().setText(model.getStandard());\\n swRight.getFuzhusheshi().setText(model.getFuzhusheshi());\\n swRight.getKongqihuanjing().setText(model.getKongqihuanjing());\\n swRight.getKongjian().setText(model.getKongjian());\\n swRight.getZuzhijili().setText(model.getZuzhijili());\\n swRight.getNeirongmiaoshu().setText(model.getNeirongmiaoshu());\\n }\\n\\n } catch (SQLException ex) {\\n Logger.getLogger(SoftwareModeling.class.getName()).log(Level.SEVERE, null, ex);\\n }\\n } else if (style.equals(\\\"two\\\")) {\\n try {\\n p2.setSelectedIndex(0);\\n swRight.getjButton1().setEnabled(true);\\n swRight.getjButton2().setEnabled(false);\\n swRight.setProid(dir);\\n swRight.setObjid(String.valueOf(cell.getId()));\\n\\n swRight.getYewuhuodong().setText(\\\"\\\");\\n swRight.getYewuhuodongbianhao().setText(\\\"\\\");\\n\\n swRight.getFuguocheng().setText(\\\"\\\");\\n swRight.getHuodongmiaoshu().setText(\\\"\\\");\\n\\n int count = DaoYUHD.exist(dir, String.valueOf(cell.getId()));\\n if (count > 0) {\\n YUHD model = DaoYUHD.getModel(dir, String.valueOf(cell.getId()));\\n swRight.setProid(dir);\\n swRight.setObjid(model.getObjid());\\n\\n swRight.getYewuhuodong().setText(model.getHuodongmingcheng());\\n swRight.getYewuhuodongbianhao().setText(model.getYwuhuodongbianhao());\\n\\n swRight.getFuguocheng().setText(model.getFuguocheng());\\n swRight.getHuodongmiaoshu().setText(model.getHuodongmiaoshu());\\n }\\n } catch (SQLException ex) {\\n Logger.getLogger(SoftwareModeling.class.getName()).log(Level.SEVERE, null, ex);\\n }\\n\\n }\\n }\\n }\\n }\\n\\n /**\\n *\\n */\\n public void mouseReleased(MouseEvent e) {\\n if (e.isPopupTrigger()) {\\n showGraphPopupMenu(e);\\n }\\n }\\n\\n });\\n\\n // Installs a mouse motion listener to display the mouse location\\n graphComponent.getGraphControl().addMouseMotionListener(new MouseMotionListener() {\\n\\n /*\\n * (non-Javadoc)\\n * \\n * @see\\n * java.awt.event.MouseMotionListener#mouseDragged(java.awt.event.\\n * MouseEvent)\\n */\\n public void mouseDragged(MouseEvent e) {\\n mouseLocationChanged(e);\\n }\\n\\n /*\\n * (non-Javadoc)\\n * \\n * @see\\n * java.awt.event.MouseMotionListener#mouseMoved(java.awt.event.\\n * MouseEvent)\\n */\\n public void mouseMoved(MouseEvent e) {\\n mouseDragged(e);\\n }\\n\\n });\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e505a4277a44a3cfe020fd46e7ff8220\",\n \"score\": \"0.573787\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void windowActivated(WindowEvent e) {\\n\\t\\t\\t\\t\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e9313000595450ee5aebd970dd843f65\",\n \"score\": \"0.5736115\",\n \"text\": \"protected void attachFrame () {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6d82e8f805de9d856bc57a25285a87e8\",\n \"score\": \"0.5727415\",\n \"text\": \"@Override\\n public void handle(MouseEvent event) {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae4213a4530eaafbf8ec4168cc919e83\",\n \"score\": \"0.5713243\",\n \"text\": \"@Override\\r\\n public void mouseReleased(MouseEvent arg0) {\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d4a7c186ac0545ec04cf6b9f9a5d5628\",\n \"score\": \"0.57100487\",\n \"text\": \"@Override\\r\\n\\tpublic void componentShown(ComponentEvent event) {\\n\\t\\trepaintCanvas();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"573ebf7b64fb47bf973f1a6ad3646931\",\n \"score\": \"0.57025903\",\n \"text\": \"public native final void addTarget(EventTarget e) /*-{\\nthis.addTarget(e); \\n}-*/;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"60e156b363733ba93d62079a99cd5807\",\n \"score\": \"0.5691822\",\n \"text\": \"private void Jugador1MouseEntered(java.awt.event.MouseEvent evt) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"71ad02d95720d1e1483a5fb3fe600ea7\",\n \"score\": \"0.5691386\",\n \"text\": \"@Override\\r\\n public void mouseReleased(MouseEvent e) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8993d46b21a53c643463b0d1ec17f9be\",\n \"score\": \"0.5688995\",\n \"text\": \"public void addBtnHandler(MouseEvent event){\\n AddScreenStarter a = new AddScreenStarter(); //Open add windwo\\n a.start(null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3c766d54ca7d10eb57b0efdc48a44e0d\",\n \"score\": \"0.5686285\",\n \"text\": \"private void toolbarEmpMouseDragged(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_toolbarEmpMouseDragged\\n int x = evt.getXOnScreen();\\n int y = evt.getYOnScreen();\\n // Move frame by the mouse delta\\n setLocation(getLocationOnScreen().x + x - lastX,\\n getLocationOnScreen().y + y - lastY);\\n lastX = x;\\n lastY = y;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"088ed74ebba666bf6ff3d60f44b1697e\",\n \"score\": \"0.56818753\",\n \"text\": \"private void afegirListeners() {\\n botoReiniciarWave.addListener(new ComponentListener() {\\n\\n public void componentActivated(AbstractComponent comp) {\\n state.enterState(EstatSeguentWave.ID);\\n }\\n });\\n botoMenuPrincipal.addListener(new ComponentListener() {\\n\\n public void componentActivated(AbstractComponent comp) {\\n state.enterState(EstatMenuPrincipal.ID);\\n }\\n });\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"713aaedff22e9a61a544ebad676ebe60\",\n \"score\": \"0.5681321\",\n \"text\": \"private void formMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_formMouseClicked\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f8cb01f4c091f01fcec5911c83a04c2\",\n \"score\": \"0.5676959\",\n \"text\": \"@Override\\n\\tprotected void initEvents() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"87248f5e41ca5a07c7a314278758c402\",\n \"score\": \"0.5673051\",\n \"text\": \"public void componentMoved(ComponentEvent arg0) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"659df875f9e93f8da1619954b968fd67\",\n \"score\": \"0.56706494\",\n \"text\": \"@Override\\n \\t\\t\\tpublic void componentResized(ComponentEvent arg0) {\\n \\n \\t\\t\\t\\tbottomPanel.setBounds(HOME_SPACE_LEFT_X, frame.getHeight() - HOME_BOTTOM_SPACE_Y, frame.getWidth() - HOME_SPACE_RIGHT_X, 12);\\n \\n \\t\\t\\t\\tif (currentOs != MAC_OS) {\\n \\t\\t\\t\\t\\tbackgroundPanel.setBounds(HOME_SPACE_LEFT_X, menuBarWindows.getHeight(), frame.getWidth() - HOME_SPACE_RIGHT_X, frame.getHeight() - HOME_SPACE_Y - menuBarWindows.getHeight());\\n \\t\\t\\t\\t} else {\\n \\n \\t\\t\\t\\t\\tbackgroundPanel.setSize(frame.getWidth() - HOME_SPACE_RIGHT_X, frame.getHeight() - HOME_SPACE_Y);\\n \\t\\t\\t\\t\\tbackgroundPanel.rerenderBackground();\\n \\n \\t\\t\\t\\t\\tbottomPanel.rerenderBackground();\\n \\t\\t\\t\\t}\\n \\n \\t\\t\\t\\tworkspacePanel.setBounds(0, 0, backgroundPanel.getWidth(), backgroundPanel.getHeight());\\n \\n \\t\\t\\t\\tif (currentOs != MAC_OS) {\\n \\t\\t\\t\\t\\tmenuBarWindows.setBounds(0, 0, getWidth(), 30);\\n \\t\\t\\t\\t}\\n \\n \\t\\t\\t\\tnavBar.setBounds(0, backgroundPanel.getHeight() - 40 - 40, getWidth(), 80);\\n \\t\\t\\t\\tworkspacePanel.add(navBar);\\n \\n \\t\\t\\t\\tif (tabbedPane != null) {\\n \\t\\t\\t\\t\\ttabbedPane.setBounds(20, 20, workspacePanel.getWidth() - 40, workspacePanel.getHeight() - 40 - navBar.getHeight());\\n \\t\\t\\t\\t}\\n \\t\\t\\t\\tif (tabBar != null) {\\n \\t\\t\\t\\t\\ttabBar.setBounds(0, 0, frame.getWidth(), frame.getHeight());\\n \\t\\t\\t\\t\\ttabBar.setLayout(null);\\n \\t\\t\\t\\t}\\n \\t\\t\\t\\tif (boxChartImage != null) {\\n \\t\\t\\t\\t\\tboxChartImage.setBounds(tabBar.getWidth() - 70, 15, 50, 40);\\n \\t\\t\\t\\t}\\n \\t\\t\\t\\tif (histogramChartImage != null) {\\n \\t\\t\\t\\t\\thistogramChartImage.setBounds(tabBar.getWidth() - 105, 15, 50, 40);\\n \\t\\t\\t\\t}\\n \\t\\t\\t\\tif (scatterplotChartImage != null) {\\n \\t\\t\\t\\t\\tscatterplotChartImage.setBounds(tabBar.getWidth() - 140, 15, 50, 40);\\n \\t\\t\\t\\t}\\n \\t\\t\\t\\tif (infoPanel != null) {\\n \\t\\t\\t\\t\\tinfoPanel.setBounds(0, workspacePanel.getHeight() - 112, getWidth(), 43);\\n \\t\\t\\t\\t}\\n \\t\\t\\t\\tif (studentPanel != null) {\\n \\t\\t\\t\\t\\tstudentPanel.setBounds(frame.getWidth() - 45, 45, 250, getHeight() - 20);\\n \\t\\t\\t\\t\\tstudentPanel.setNewX(getWidth() - 45);\\n \\t\\t\\t\\t\\tstudentPanel.setOldX(getWidth() - 250);\\n \\t\\t\\t\\t}\\n \\t\\t\\t\\tif (searchPanel != null) {\\n \\t\\t\\t\\t\\tsearchPanel.setBounds(workspacePanel.getWidth() - 170, 10, 150, 30);\\n \\t\\t\\t\\t}\\n \\n \\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cedc90abd5551a175b4f5d059813cc2e\",\n \"score\": \"0.56696784\",\n \"text\": \"@Override\\n\\t\\tpublic void windowActivated(WindowEvent e) {\\n\\t\\t\\t\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cedc90abd5551a175b4f5d059813cc2e\",\n \"score\": \"0.56696784\",\n \"text\": \"@Override\\n\\t\\tpublic void windowActivated(WindowEvent e) {\\n\\t\\t\\t\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cedc90abd5551a175b4f5d059813cc2e\",\n \"score\": \"0.56696784\",\n \"text\": \"@Override\\n\\t\\tpublic void windowActivated(WindowEvent e) {\\n\\t\\t\\t\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"747794285da5db511996d6adf22d113c\",\n \"score\": \"0.5666944\",\n \"text\": \"public void initListeners() {\\n\\t\\t// Diese Listener definiere ich als anonyme Klassen!\\n\\t\\t// Das bedeutet, dass ihre Klassendefinition quasi einfach so in\\n\\t\\t// dieser Methode steht. Damit vermeide ich, für jede Kleinigkeit\\n\\t\\t// und jeden Listener eine einzelne Klasse schreiben zu müssen.\\n\\t\\t\\n\\t\\t// Diese Selbst-Referenz führe ich ein, um innerhalb der Listener-Implementierungen\\n\\t\\t// auf die GUI zugreifen zu können. Alternativ könnte man auch jedes mal \\\"GarageGUI.this\\\" schreiben!\\n\\t\\tfinal ShopGUI frame = this;\\n\\t\\t\\n\\t\\t// Quit-Listener für das \\\"Datei\\\"-Menü\\n\\t\\tActionListener listenerQuit = new ActionListener() {\\n\\t\\t\\t@Override\\n\\t\\t\\tpublic void actionPerformed(ActionEvent ae) {\\n\\t\\t\\t\\t// Anwendung beenden\\n\\t\\t\\t\\tframe.setVisible(false);\\n\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\tconnection.logout();\\n\\t\\t\\t\\t} catch (FileNotFoundException e) {\\n\\t\\t\\t\\t\\tJOptionPane.showMessageDialog(null, e.getMessage());\\n\\t\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t\\t} catch (IOException e) {\\n\\t\\t\\t\\t\\tJOptionPane.showMessageDialog(null, e.getMessage());\\n\\t\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tframe.dispose();\\n\\t\\t\\t}\\n\\t\\t};\\n\\t\\tmenuItemQuit.addActionListener(listenerQuit);\\n\\t\\t\\n\\t\\t// WINDOW LISTENER\\n\\t\\tthis.addWindowListener(new WindowAdapter(){\\n\\t\\t\\tpublic void windowClosing(WindowEvent e){\\n\\t\\t\\t\\tsuper.windowClosing(e);\\n\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\tconnection.logout();\\n\\t\\t\\t\\t} catch (FileNotFoundException e1) {\\n\\t\\t\\t\\t\\tJOptionPane.showMessageDialog(null, e1.getMessage());\\n\\t\\t\\t\\t\\te1.printStackTrace();\\n\\t\\t\\t\\t} catch (IOException e1) {\\n\\t\\t\\t\\t\\tJOptionPane.showMessageDialog(null, e1.getMessage());\\n\\t\\t\\t\\t\\te1.printStackTrace();\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tSystem.exit(0);\\n\\t\\t\\t}\\n\\t\\t});\\n\\n\\n\\t\\t// Back Button für Registrier Panel\\n\\t\\tActionListener listenerBack = new ActionListener() {\\n\\t\\t\\t@Override\\n\\t\\t\\tpublic void actionPerformed(ActionEvent ae) {\\n\\t\\t\\t\\tframe.cardLayout.show(centerPanel, \\\"loginPanel\\\");\\n\\t\\t\\t\\tframe.pack();\\n\\t\\t\\t}\\n\\t\\t};\\t\\t\\n\\t\\tregPanel.addActionListenerBack(listenerBack);\\n\\n\\t\\t// Event Listener für Login Button\\n\\t\\tActionListener listenerLogin = new ActionListener() {\\n\\t\\t\\t@Override\\n\\t\\t\\tpublic void actionPerformed(ActionEvent ae) {\\n\\t\\t\\t\\tString name = loginPanel.getUserName();\\n\\t\\t\\t\\tchar[] pw = loginPanel.getPasswort();\\n\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\taktuellerBenutzer = connection.userLogin(name, pw);\\n\\t\\t\\t\\t\\tif (aktuellerBenutzer instanceof Kunde) {\\n\\t\\t\\t\\t\\t\\t// Top Panel und Bot Panel erstellen und hinzufügen\\n\\t\\t\\t\\t\\t\\ttopPanel = new TopPanel();\\n\\t\\t\\t\\t\\t\\tframe.getContentPane().add(topPanel, BorderLayout.NORTH);\\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t// Bottom Panel \\n\\t\\t\\t\\t\\t\\tbotPanel = new BottomPanel();\\n\\t\\t\\t\\t\\t\\tframe.getContentPane().add(botPanel, BorderLayout.SOUTH);\\n\\t\\t\\t\\t\\t\\tkunde = (Kunde)aktuellerBenutzer;\\n\\t\\t\\t\\t\\t\\tframe.cardLayout.show(westPanel, \\\"kundeMenu\\\");\\n\\t\\t\\t\\t\\t\\tframe.cardLayout.show(centerPanel, \\\"artikelPanel\\\");\\n\\t\\t\\t\\t\\t\\t// Warenkorb Panel erstellen und hinzufügen\\n\\t\\t\\t\\t\\t\\twarenkorbPanel = new WarenkorbPanel(kunde.getWarenkorb());\\n\\t\\t\\t\\t\\t\\twarenkorbPanel.setBorder(BorderFactory.createLineBorder(Color.black));\\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t// Listener für zur Kasse Button\\n\\t\\t\\t\\t\\t\\tActionListener listenerZurKasse = new ActionListener() {\\n\\t\\t\\t\\t\\t\\t\\t@Override\\n\\t\\t\\t\\t\\t\\t\\tpublic void actionPerformed(ActionEvent ae) {\\n\\t\\t\\t\\t\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tRechnung re = connection.rechnungErstellen(kunde);\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tRechnungPanel rechnungPanel = new RechnungPanel(re);\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tcenterPanel.add(rechnungPanel, \\\"rechnungPanel\\\");\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tframe.cardLayout.show(centerPanel, \\\"rechnungPanel\\\");\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tconnection.warenkorbLeeren(kunde);\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tkunde = (Kunde)connection.getUser();\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tHashMap warenkorbListe = kunde.getWarenkorb().getInhalt();\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tWarenkorbTableModell wtm = (WarenkorbTableModell) warenkorbPanel.warenkorbListe.getModel();\\n\\t\\t\\t\\t\\t\\t\\t\\t\\twtm.updateDataVector(warenkorbListe);\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tframe.pack();\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t// Listener für zur Kasse Button\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tActionListener listenerBack = new ActionListener() {\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t@Override\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tpublic void actionPerformed(ActionEvent ae) {\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tframe.cardLayout.show(centerPanel, \\\"artikelPanel\\\");\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tartikelListe = connection.gibAlleArtikel();\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tcenterPanel.remove(artikelPanel);\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tartikelPanel = new ArtikelPanel(artikelListe);\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tcenterPanel.add(artikelPanel, \\\"artikelPanel\\\");\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tframe.cardLayout.show(centerPanel, \\\"artikelPanel\\\");\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tframe.pack();\\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\\trechnungPanel.rechnungListePanel.addActionListenerBack(listenerBack);\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t} catch (Exception e) {\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tJOptionPane.showMessageDialog(null, e.getMessage()); \\n\\t\\t\\t\\t\\t\\t\\t\\t\\te.printStackTrace();\\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\\twarenkorbPanel.addActionListenerZurKasse(listenerZurKasse);\\n\\t\\t\\t\\t\\t\\teastPanel.add(warenkorbPanel, \\\"warenkorbPanel\\\");\\n\\t\\t\\t\\t\\t\\tframe.cardLayout.show(eastPanel, \\\"warenkorbPanel\\\");\\n\\t\\t\\t\\t\\t\\tframe.westPanel.setVisible(true);\\t\\t\\n\\t\\t\\t\\t\\t\\tframe.eastPanel.setVisible(true);\\t\\n\\t\\t\\t\\t\\t\\tframe.pack();\\n\\n\\t\\t\\t\\t\\t} else if(aktuellerBenutzer instanceof Mitarbeiter) {\\n\\t\\t\\t\\t\\t\\t// Top Panel und Bot Panel erstellen und hinzufügen\\n\\t\\t\\t\\t\\t\\ttopPanel = new TopPanel();\\n\\t\\t\\t\\t\\t\\tframe.getContentPane().add(topPanel, BorderLayout.NORTH);\\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t// Bottom Panel \\n\\t\\t\\t\\t\\t\\tbotPanel = new BottomPanel();\\n\\t\\t\\t\\t\\t\\tframe.getContentPane().add(botPanel, BorderLayout.SOUTH);\\n\\t\\t\\t\\t\\t\\t// protokollMenu wird erstellt\\n\\t\\t\\t\\t\\t\\tprotokollMenuPanel = new ProtokollMenuPanel(connection.gibAlleArtikel());\\n\\t\\t\\t\\t\\t\\tprotokollMenuPanel.setBorder(BorderFactory.createLineBorder(Color.black));\\n\\t\\t\\t\\t\\t\\teastPanel.add(protokollMenuPanel, \\\"protokollMenuPanel\\\");\\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t// Selection Listener für ProtokolMenuPanel\\n\\t\\t\\t\\t\\t\\tListSelectionListener listSelectProtokollMenuPanel = new ListSelectionListener() {\\n\\t\\t\\t\\t\\t\\t\\tpublic void valueChanged(ListSelectionEvent e) {\\n\\t\\t\\t\\t \\t\\tif(e.getValueIsAdjusting()) return;\\n\\t\\t\\t\\t \\t int row = protokollMenuPanel.artikelListe.getSelectedRow();\\n\\t\\t\\t\\t \\t Artikel a = null;\\n\\t\\t\\t\\t\\t\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\ta = connection.findArtikelByNumber(Integer.parseInt((String) protokollMenuPanel.artikelListe.getValueAt(row, 0)));\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t} catch (NumberFormatException\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t| ArtikelNichtVerfuegbarException e1) {\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tJOptionPane.showMessageDialog(null, e); \\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\te1.printStackTrace();\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tprotokollPanel.drawChart(connection.gibEreignisseNachArtikelUndTagen(a), a.getName());\\n\\t\\t\\t\\t \\t frame.repaint();\\n\\t\\t\\t\\t \\t frame.revalidate();\\n\\t\\t\\t\\t \\t \\n\\t\\t\\t\\t\\t } \\n\\t\\t\\t\\t };\\n\\t\\t\\t\\t protokollMenuPanel.addListSelectionListener(listSelectProtokollMenuPanel);\\n\\t\\t\\t\\t ActionListener listenerBack = new ActionListener() {\\n\\t\\t\\t\\t\\t\\t\\t@Override\\n\\t\\t\\t\\t\\t\\t\\tpublic void actionPerformed(ActionEvent ae) {\\n\\t\\t\\t\\t\\t\\t\\t\\tframe.cardLayout.show(westPanel, \\\"mitarbeiterMenu\\\");\\n\\t\\t\\t\\t\\t\\t\\t\\tframe.cardLayout.show(centerPanel, \\\"mitarbeiterPanel\\\");\\n\\t\\t\\t\\t\\t\\t\\t\\teastPanel.setVisible(false);\\n\\t\\t\\t\\t\\t\\t\\t\\twestPanel.setVisible(true);\\n\\t\\t\\t\\t\\t\\t\\t\\tframe.pack();\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\t\\tprotokollMenuPanel.addActionListenerBack(listenerBack);\\n\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\tframe.westPanel.setVisible(true);\\n\\t\\t\\t\\t\\t\\tframe.eastPanel.setVisible(false);\\n\\t\\t\\t\\t\\t\\tframe.cardLayout.show(westPanel, \\\"mitarbeiterMenu\\\");\\n\\t\\t\\t\\t\\t\\tframe.cardLayout.show(centerPanel, \\\"mitarbeiterPanel\\\");\\n\\t\\t\\t\\t\\t\\tframe.pack();\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tframe.pack();\\n\\t\\t\\t\\t} catch (LoginFehlgeschlagenException e) {\\n\\t\\t\\t\\t\\tJOptionPane.showMessageDialog(null, e); \\n\\t\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t\\t} catch (UserIstSchonEingeloggtException e) {\\n\\t\\t\\t\\t\\tJOptionPane.showMessageDialog(null, e); \\n\\t\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t};\\n\\t\\tloginPanel.addActionListenerLogin(listenerLogin);\\n\\t\\n\\t\\t// Event Listener für Registrieren Button\\n\\t\\tActionListener listenerRegistrieren = new ActionListener() {\\n\\t\\t\\t@Override\\n\\t\\t\\tpublic void actionPerformed(ActionEvent ae) {\\n\\t\\t\\t\\tframe.cardLayout.show(centerPanel, \\\"regPanel\\\");\\n\\t\\t\\t\\tframe.pack();\\n\\t\\t\\t}\\n\\t\\t};\\n\\t\\tloginPanel.addActionListenerRegistieren(listenerRegistrieren);\\n\\t\\t\\n\\t\\t// Event Listener für Registrier Button (OKAY) von regPanel\\n\\t\\tActionListener listenerReg = new ActionListener() {\\n\\t\\t\\t@Override\\n\\t\\t\\tpublic void actionPerformed(ActionEvent ae) {\\n\\t\\t\\t\\tif(Arrays.equals(regPanel.getPw1(),regPanel.getPw2())) {\\n\\t\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\t\\tframe.connection.fuegeUserEin(regPanel.getUserName(), regPanel.getPw1(), regPanel.getAnrede(), regPanel.getName(), regPanel.getStr(), Integer.parseInt(regPanel.getPlz()), regPanel.getOrt(), regPanel.getLand());\\n\\t\\t\\t\\t\\t\\t} catch (NumberFormatException e) {\\n\\t\\t\\t\\t\\t\\t\\tJOptionPane.showMessageDialog(null, e.getMessage()); \\n\\t\\t\\t\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t\\t\\t} catch (InkorrekteRegWerteException e) {\\n\\t\\t\\t\\t\\t\\tJOptionPane.showMessageDialog(null, e.getMessage()); \\n\\t\\t\\t\\t\\t\\te.printStackTrace();\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tJOptionPane.showMessageDialog(null, \\\"Passwort stimmt nicht überein.\\\");\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tframe.cardLayout.show(centerPanel, \\\"loginPanel\\\");\\n\\t\\t\\t\\tframe.pack();\\t\\t\\t}\\n\\t\\t};\\n\\t\\tregPanel.addActionListenerReg(listenerReg);\\n\\t\\t\\n\\t\\t// Event Listener für Logout Button \\n\\t\\tActionListener listenerLogout = new ActionListener() {\\n\\t\\t\\t@Override\\n\\t\\t\\tpublic void actionPerformed(ActionEvent ae) {\\n\\t\\t\\t\\taktuellerBenutzer = null;\\n\\t\\t\\t\\tkunde = null;\\n\\t\\t\\t\\tconnection.userLogout();\\n\\t\\t\\t\\tframe.topPanel.setVisible(false);\\n\\t\\t\\t\\tframe.botPanel.setVisible(false);\\n\\t\\t\\t\\tframe.eastPanel.setVisible(false);\\n\\t\\t\\t\\tframe.cardLayout.show(centerPanel, \\\"loginPanel\\\");\\n\\t\\t\\t\\tframe.westPanel.setVisible(false);\\n\\t\\t\\t\\t// Vorgefüllte textFelder löschen\\n \\t usrDelPanel.setArtikelNummerTextfield(null);\\n \\t artDelPanel.setArtikelNummerTextfield(null);\\n \\t artMengPanel.setArtikelNummerTextfield(null);\\n \\t artMengPanel.setArtikelMengeTextfield(null);\\n \\t artAusWPanel.setArtikelNummerTextfield(null);\\n \\t artMengeInWPanel.setArtikelNummerTextfield(null);\\n \\t artMengeInWPanel.setArtikelMengeTextfield(null);\\n \\t artInWPanel.setArtikelNummerTextfield(null);\\n \\t artInWPanel.setArtikelMengeTextfield(null);\\n \\t usrDelPanel.setArtikelNummerTextfield(null);\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tframe.pack();\\n\\t\\t\\t}\\n\\t\\t};\\n\\t\\tkundeMenuPanel.addActionListenerLogout(listenerLogout);\\n\\t\\tmitarbeiterMenuPanel.addActionListenerLogout(listenerLogout);\\n\\t\\t\\n\\t\\t// Listener für Kunden und Mitarbeitermenü initialisieren\\n\\t\\tinitListenerMitarbeiter();\\n\\t\\tinitListenerKunde();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"33eb54509354762c49476276eced774e\",\n \"score\": \"0.5664435\",\n \"text\": \"private void EntrarPnl(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_EntrarPnl\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f8cc93c24b174e2d44453bfd490cf8d8\",\n \"score\": \"0.5657849\",\n \"text\": \"public void hierarchyChanged(HierarchyEvent e)\\r\\n/* */ {\\r\\n/* 411 */ if (((e.getChangeFlags() & 0x4) != 0L) && \\r\\n/* 412 */ ((e.getSource() instanceof Window))) {\\r\\n/* 413 */ Window secondaryWindow = (Window)e.getSource();\\r\\n/* 414 */ if (!secondaryWindow.isShowing()) {\\r\\n/* 415 */ SingleFrameApplication.this.saveSession(secondaryWindow);\\r\\n/* */ }\\r\\n/* */ }\\r\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"958d08b7ad31da52b00c2f31f39e4697\",\n \"score\": \"0.5656675\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void mouseReleased(MouseEvent e) {\\n\\t\\t\\t\\t\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"958d08b7ad31da52b00c2f31f39e4697\",\n \"score\": \"0.5656675\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void mouseReleased(MouseEvent e) {\\n\\t\\t\\t\\t\\n\\t\\t\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":381,"cells":{"query_id":{"kind":"string","value":"abb33f85d76f7e8736e63ece06e7d531"},"query":{"kind":"string","value":"databinding method to get an XML representation of this object"},"positive_passages":{"kind":"list like","value":[{"docid":"a83516cd49d413aec04ec778bbd0ba4c","score":"0.0","text":"public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName)\r\n throws org.apache.axis2.databinding.ADBException{\r\n\r\n\r\n \r\n java.util.ArrayList elementList = new java.util.ArrayList();\r\n java.util.ArrayList attribList = new java.util.ArrayList();\r\n\r\n \r\n elementList.add(new javax.xml.namespace.QName(\"http://beanCCAA.batch.vuds.map.es\",\r\n \"strDescripcionViaReclamacion\"));\r\n \r\n elementList.add(localStrDescripcionViaReclamacion==null?null:\r\n org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localStrDescripcionViaReclamacion));\r\n \r\n elementList.add(new javax.xml.namespace.QName(\"http://beanCCAA.batch.vuds.map.es\",\r\n \"strOrganismoReclamacion\"));\r\n \r\n elementList.add(localStrOrganismoReclamacion==null?null:\r\n org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localStrOrganismoReclamacion));\r\n \r\n elementList.add(new javax.xml.namespace.QName(\"http://beanCCAA.batch.vuds.map.es\",\r\n \"strRecurso\"));\r\n \r\n elementList.add(localStrRecurso==null?null:\r\n org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localStrRecurso));\r\n \r\n elementList.add(new javax.xml.namespace.QName(\"http://beanCCAA.batch.vuds.map.es\",\r\n \"strResultadoProceso\"));\r\n \r\n elementList.add(localStrResultadoProceso==null?null:\r\n org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localStrResultadoProceso));\r\n \r\n elementList.add(new javax.xml.namespace.QName(\"http://beanCCAA.batch.vuds.map.es\",\r\n \"strTipologiaInstrumentoReclamacion\"));\r\n \r\n elementList.add(localStrTipologiaInstrumentoReclamacion==null?null:\r\n org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localStrTipologiaInstrumentoReclamacion));\r\n \r\n elementList.add(new javax.xml.namespace.QName(\"http://beanCCAA.batch.vuds.map.es\",\r\n \"strTipologiaViaReclamacion\"));\r\n \r\n elementList.add(localStrTipologiaViaReclamacion==null?null:\r\n org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localStrTipologiaViaReclamacion));\r\n \r\n\r\n return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray());\r\n \r\n \r\n\r\n }","title":""}],"string":"[\n {\n \"docid\": \"a83516cd49d413aec04ec778bbd0ba4c\",\n \"score\": \"0.0\",\n \"text\": \"public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName)\\r\\n throws org.apache.axis2.databinding.ADBException{\\r\\n\\r\\n\\r\\n \\r\\n java.util.ArrayList elementList = new java.util.ArrayList();\\r\\n java.util.ArrayList attribList = new java.util.ArrayList();\\r\\n\\r\\n \\r\\n elementList.add(new javax.xml.namespace.QName(\\\"http://beanCCAA.batch.vuds.map.es\\\",\\r\\n \\\"strDescripcionViaReclamacion\\\"));\\r\\n \\r\\n elementList.add(localStrDescripcionViaReclamacion==null?null:\\r\\n org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localStrDescripcionViaReclamacion));\\r\\n \\r\\n elementList.add(new javax.xml.namespace.QName(\\\"http://beanCCAA.batch.vuds.map.es\\\",\\r\\n \\\"strOrganismoReclamacion\\\"));\\r\\n \\r\\n elementList.add(localStrOrganismoReclamacion==null?null:\\r\\n org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localStrOrganismoReclamacion));\\r\\n \\r\\n elementList.add(new javax.xml.namespace.QName(\\\"http://beanCCAA.batch.vuds.map.es\\\",\\r\\n \\\"strRecurso\\\"));\\r\\n \\r\\n elementList.add(localStrRecurso==null?null:\\r\\n org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localStrRecurso));\\r\\n \\r\\n elementList.add(new javax.xml.namespace.QName(\\\"http://beanCCAA.batch.vuds.map.es\\\",\\r\\n \\\"strResultadoProceso\\\"));\\r\\n \\r\\n elementList.add(localStrResultadoProceso==null?null:\\r\\n org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localStrResultadoProceso));\\r\\n \\r\\n elementList.add(new javax.xml.namespace.QName(\\\"http://beanCCAA.batch.vuds.map.es\\\",\\r\\n \\\"strTipologiaInstrumentoReclamacion\\\"));\\r\\n \\r\\n elementList.add(localStrTipologiaInstrumentoReclamacion==null?null:\\r\\n org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localStrTipologiaInstrumentoReclamacion));\\r\\n \\r\\n elementList.add(new javax.xml.namespace.QName(\\\"http://beanCCAA.batch.vuds.map.es\\\",\\r\\n \\\"strTipologiaViaReclamacion\\\"));\\r\\n \\r\\n elementList.add(localStrTipologiaViaReclamacion==null?null:\\r\\n org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localStrTipologiaViaReclamacion));\\r\\n \\r\\n\\r\\n return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray());\\r\\n \\r\\n \\r\\n\\r\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"e8e01405cbdc7e8bfc26bf89b5568b29","score":"0.6845753","text":"@Override\n\tpublic Object toXML() {\n\t\treturn null;\n\t}","title":""},{"docid":"cc3f6ed93d15893ac1d6b6e5e6c56649","score":"0.6763015","text":"public final String toXML() {\r\n if (this.isAsXML())\r\n return getObjAsXML();\r\n else\r\n return convertToXML();\r\n }","title":""},{"docid":"c155ad034b2e96caefb5639eefb8f90c","score":"0.6757254","text":"public String getXMLRepresentation();","title":""},{"docid":"186133d56467b16e29648436e46b6733","score":"0.66197604","text":"public String toXML() {\n\t\treturn null;\t\t\n\t}","title":""},{"docid":"9c13d936ad4305e6289f1e585c402678","score":"0.6605638","text":"public String toXML() {\r\n\t\tXStream xstream = new XStream();\r\n\t\treturn xstream.toXML(this);\r\n\t}","title":""},{"docid":"604e04bbf9da4596b20c2423d241a629","score":"0.6512309","text":"@Override\n public String toString() {\n return ToStringBuilder.reflectionToString(this, JAXBToStringStyle.DEFAULT_STYLE);\n }","title":""},{"docid":"604e04bbf9da4596b20c2423d241a629","score":"0.6512309","text":"@Override\n public String toString() {\n return ToStringBuilder.reflectionToString(this, JAXBToStringStyle.DEFAULT_STYLE);\n }","title":""},{"docid":"fb78209b3b62604612e537640cba5c78","score":"0.64924896","text":"@Override\r\n public String toString() {\r\n return JAXBToStringBuilder.valueOf(this, JAXBToStringStyle.SIMPLE_STYLE);\r\n }","title":""},{"docid":"19405f97dda39eef550fc14cb47ccf61","score":"0.6455136","text":"public String toXml();","title":""},{"docid":"d1c13f7945dc4b07dc4ad5845172e39e","score":"0.64304435","text":"private String model2xml() {\n\t\tString xml = null;\n\t\ttry {\n\t\t\tJasperDesign report = bundle.getJasperDesign();\n\t\t\treport.removeProperty(DataQueryAdapters.DEFAULT_DATAADAPTER);\n\t\t\tString version = jrContext.getProperty(JRVersionPreferencesPages.JSS_COMPATIBILITY_VERSION, JRXmlWriterHelper.LAST_VERSION);\n\t\t\txml = JRXmlWriterHelper.writeReport(jrContext, report, net.sf.jasperreports.eclipse.util.FileUtils.UTF8_ENCODING, version); //$NON-NLS-1$\n\t\t} catch (Throwable e) {\n\t\t\tUIUtils.showError(e);\n\t\t}\n\t\treturn xml;\n\t}","title":""},{"docid":"aa79803d20e9cef5c6e2d60de24ecb63","score":"0.6281732","text":"public String asXML() throws Exception {\n\t\tJAXBContext context = JAXBContext.newInstance(FolderJPA.class);\n\t\tMarshaller marshaller = context.createMarshaller();\n\t\tjava.io.StringWriter sw = new StringWriter();\n\t\tmarshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);\n\t\tmarshaller.marshal(this, sw);\n\t\tString result = sw.toString();\n\t\treturn result;\n\t}","title":""},{"docid":"38e8a83a6f06c621aad3d8d5845bb3bd","score":"0.62488425","text":"public String toXml() {\n\t\treturn(_value);\n\t}","title":""},{"docid":"c0dd63be5c0dc77a0eca30851c5d2b96","score":"0.623717","text":"public String asXML()\n\t{\n\t\treturn null;\n\t}","title":""},{"docid":"3981bf09aec665c01843cc903e37d6ac","score":"0.62051135","text":"@Override\n\tpublic String toXMLString() {\n\t\treturn null;\n\t}","title":""},{"docid":"5d3fdc91d362bd1eb03292e6476bb0ba","score":"0.6171108","text":"@Override\n public String getXml() {\n StringBuilder retval = new StringBuilder();\n\n retval.append( super.getXml() );\n //example value to xml\n retval.append( XmlHandler.addTagValue( \"example\", \"value\" ) );\n\n return retval.toString();\n }","title":""},{"docid":"67621d0ae534049400d690df359df175","score":"0.6127815","text":"public String getXML();","title":""},{"docid":"67621d0ae534049400d690df359df175","score":"0.6127815","text":"public String getXML();","title":""},{"docid":"c34e79bff4846e70aa00d0006a2723fb","score":"0.61241585","text":"public String getXml() {\n return xml;\n }","title":""},{"docid":"a5344f49c926475c027cc9d705567d2a","score":"0.60028994","text":"@Override\n public List getXMLElement() {\n List rtnList = new LinkedList<>();\n // create and add the content Element\n for(Element e : super.getXMLElement()) {\n rtnList.add(e);\n }\n Element bean = new Element(\"PostcodeBean\");\n rtnList.add(bean);\n // set the data\n bean.setAttribute(\"postcode\", postcode);\n bean.setAttribute(\"population\", Integer.toString(population));\n bean.setAttribute(\"households\", Integer.toString(households));\n\n bean.setAttribute(\"serialVersionUID\", Long.toString(serialVersionUID));\n return (rtnList);\n }","title":""},{"docid":"0bf747973cfd842bc6ebc9f2c8c06184","score":"0.5969638","text":"public String getXml() throws HopException {\n convertIOMetaToTransformNames();\n return XmlMetadataUtil.serializeObjectToXml(this);\n }","title":""},{"docid":"2507bf372abbab5cc51cecbce46edfdc","score":"0.5955636","text":"public String toXml() {\n return doc.toXml();\n }","title":""},{"docid":"8892412e4ce72ede9af45f24a4ed8063","score":"0.5946703","text":"public String xml();","title":""},{"docid":"9d256d6f97811413adfa927dcce8fa0d","score":"0.59206736","text":"public String toString()\n {\n return xmlWrap(xml);\n }","title":""},{"docid":"9029d62251770e2ae888e29389facc51","score":"0.5902232","text":"public Element toXml();","title":""},{"docid":"daa12afe702cd72e7c047002d231a076","score":"0.5866241","text":"public String getXml(){\n\n String xml = \"\";\n \n xml += \" \\n\";\n \n for(Columna c : this.columnas)\n xml += c.getXml();\n \n xml += \" \\n\";\n \n return xml;\n }","title":""},{"docid":"8e6e8ad8b7f8c8ff015359e276275f48","score":"0.583477","text":"public final String toXml() {\n\t\treturn toXml((String) null);\n\t}","title":""},{"docid":"778004607259366a799b370db5e91b47","score":"0.5819225","text":"protected String settingsToXml() {\n\t\tStringWriter writer = new StringWriter();\n\t\tJAXB.marshal(this.settings, writer);\n\t\treturn writer.toString();\n\t}","title":""},{"docid":"8de192708db7e98c9eb9a1f3c436a4af","score":"0.5812585","text":"java.lang.String getXml();","title":""},{"docid":"fcc58515baa901976025090a3570317d","score":"0.57924026","text":"@Override\n\tpublic String toXMLString(Object value) {\n\t\treturn value.toString();\n\t}","title":""},{"docid":"2d5899282aba10f0c2b46ea75601281c","score":"0.574458","text":"public String toXml() {\n StringBuffer xml = new StringBuffer();\n\n xml.append(\"\\n\");\n\n return xml.toString();\n }","title":""},{"docid":"1aa4829e40e76bdf508f7f29cb66cf15","score":"0.5735157","text":"String toXML(Object inObject) throws JAXBException {\r\n Marshaller marshaller = getMarshaller();\r\n StringWriter writer = new StringWriter();\r\n marshaller.marshal(inObject, writer);\r\n //no need to close or flush the writer as they do nothing.\r\n return writer.toString();\r\n }","title":""},{"docid":"53d95240f2da46792f9600aa4503099c","score":"0.57296246","text":"public StringBuffer exportToXML() {\r\n\t\treturn null;\r\n\t}","title":""},{"docid":"dfab78d0fbf31b3862fdbd480b58a974","score":"0.5724638","text":"protected String toXMLFragment() {\n StringBuffer xml = new StringBuffer();\n if (isSetCount()) {\n xml.append(\"\");\n xml.append(getCount() + \"\");\n xml.append(\"\");\n }\n if (isSetAmount()) {\n Amount amount = getAmount();\n xml.append(\"\");\n xml.append(amount.toXMLFragment());\n xml.append(\"\");\n } \n if (isSetLastResetCount()) {\n xml.append(\"\");\n xml.append(getLastResetCount() + \"\");\n xml.append(\"\");\n }\n if (isSetLastResetAmount()) {\n Amount lastResetAmount = getLastResetAmount();\n xml.append(\"\");\n xml.append(lastResetAmount.toXMLFragment());\n xml.append(\"\");\n } \n if (isSetLastResetTimestamp()) {\n xml.append(\"\");\n xml.append(getLastResetTimestamp() + \"\");\n xml.append(\"\");\n }\n return xml.toString();\n }","title":""},{"docid":"e4815edecf721b3fc834a044a2e3f955","score":"0.5693386","text":"String toXML();","title":""},{"docid":"e4815edecf721b3fc834a044a2e3f955","score":"0.5693386","text":"String toXML();","title":""},{"docid":"7130536760fdeb8db9afbba0d8eeaaac","score":"0.5667469","text":"@Override\n\tpublic String toXML()\n\t{\n\t\tString s = \" \";\n\n\t\ts = s.replaceAll(\"#i\", getID());\n\t\ts = s.replaceAll(\"#s\", colorToHex(getColor()));\n\t\ts = s.replaceAll(\"#w\", \"\" + getThickness());\n\t\tWhiteboardPoint p1 = getWhiteboardPointStart();\n\t\tWhiteboardPoint p2 = getWhiteboardPointEnd();\n\n\t\ts = s.replaceAll(\"#x1\", \"\" + p1.getX());\n\t\ts = s.replaceAll(\"#y1\", \"\" + p1.getY());\n\n\t\ts = s.replaceAll(\"#x2\", \"\" + p2.getX());\n\t\ts = s.replaceAll(\"#y2\", \"\" + p2.getY());\n\n\t\treturn s;\n\t}","title":""},{"docid":"92d2f15b74d4835180071f1e76d0734b","score":"0.5631781","text":"public XmlBeanTranslator() {\n\t\tsuper();\n\t\tthis.formattedOutput = false ;\n\t\tthis.rootTag = ROOT_TAG ;\n\t}","title":""},{"docid":"2e4be8b61a882d468fb568c3a9198202","score":"0.56273746","text":"public Element toXml() {\n Element retval = new Element(\"prop\");\n retval.setAttribute(\"name\", toString());\n return retval;\n }","title":""},{"docid":"47a080e12d1035d3aa8a243598e5c9e9","score":"0.56027484","text":"XMLDataValue getXMLDataValue();","title":""},{"docid":"4a02288cd159a44635308f3300b5bb9d","score":"0.55923593","text":"public String toStringFXML(){\r\n\t\tString re = \"\";\r\n\t\t\r\n\t\tif(this.type == ComponentType.AnchorPane){\r\n\t\t\tre = \"<\" + this.type + \" maxHeight=\\\"-Infinity\\\" maxWidth=\\\"-Infinity\\\"\"\r\n\t\t\t\t\t+ \" minHeight=\\\"-Infinity\\\" minWidth=\\\"-Infinity\\\"\"\r\n\t\t\t\t\t+ \" prefHeight=\\\"415.0\\\" prefWidth=\\\"770.0\\\"> \";\r\n\t\t}else if(this.type == ComponentType.Button){\r\n\t\t\tre = \"<\" + this.type + \" mnemonicParsing=\\\"false\\\" text=\\\"\"+this.text+\"\\\" />\";\r\n\t\t}else if(this.type == ComponentType.HBox){\r\n\t\t\tre = \"<\" + this.type + \"> \";\r\n\t\t}else if(this.type == ComponentType.Label){\r\n\t\t\tre = \"<\"+this.type+\" text=\\\"\" + this.text+\"\\\" />\";\r\n\t\t}else if(this.type == ComponentType.TextArea){\r\n\t\t\tre = \"<\"+this.type+\" promptText=\\\"\"+this.text+\"\\\" />\";\r\n\t\t}else if(this.type==ComponentType.VBox){\r\n\t\t\tre = \"<\"+this.type+\"> \";\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\treturn re;\r\n\t}","title":""},{"docid":"b2a5f4ce8ef43faa8abc34ccbecaaf46","score":"0.55874527","text":"@GET\r\n @Produces(MediaType.APPLICATION_XML)\r\n public String getXml() {\r\n //TODO return proper representation object\r\n throw new UnsupportedOperationException();\r\n }","title":""},{"docid":"b2a5f4ce8ef43faa8abc34ccbecaaf46","score":"0.55874527","text":"@GET\r\n @Produces(MediaType.APPLICATION_XML)\r\n public String getXml() {\r\n //TODO return proper representation object\r\n throw new UnsupportedOperationException();\r\n }","title":""},{"docid":"acc04f7cc3dede54a4e2cf7a9f700620","score":"0.5577767","text":"@Override\r\n public Element toXML(){\r\n Element root = new Element(\"ApplicationFactory\");\r\n \r\n root.setAttribute(\"classname\", this.getClass().getName());\r\n root.setAttribute(\"seed\", String.valueOf(this.seed));\r\n \r\n // set parameters\r\n root.setAttribute(\"numTasks\", String.valueOf(this.numTasks));\r\n \r\n return root;\r\n }","title":""},{"docid":"f302aa03867e2f59f4f65a9cede6f3db","score":"0.55757207","text":"@Override\n public List getXMLElement() {\n List rtnList = new LinkedList();\n // create and add the content Element\n for(Element e : super.getXMLElement()) {\n rtnList.add(e);\n }\n Element bean = new Element(\"CustomerCreditBean\");\n rtnList.add(bean);\n // set the data\n bean.setAttribute(\"accountId\", Integer.toString(accountId));\n bean.setAttribute(\"creditYwd\", Integer.toString(creditYwd));\n bean.setAttribute(\"creditId\", Integer.toString(creditId));\n bean.setAttribute(\"credit\", Long.toString(credit));\n bean.setAttribute(\"creditType\", creditType.toString());\n bean.setAttribute(\"debitYwd\", Integer.toString(debitYwd));\n bean.setAttribute(\"debitId\", Integer.toString(debitId));\n bean.setAttribute(\"debit\", Long.toString(debit));\n bean.setAttribute(\"debitType\", debitType.toString());\n\n bean.setAttribute(\"serialVersionUID\", Long.toString(serialVersionUID));\n return (rtnList);\n }","title":""},{"docid":"af30aada457bd8a34383eac0757f8d4c","score":"0.5530437","text":"String toXml(Dto obj);","title":""},{"docid":"202db26ea7db3f49d44a4da5306c9aa6","score":"0.55133057","text":"public String toString() {\n String str = null;\n try {\n str = new String(toXML());\n } catch(Exception ex) {}\n return str;\n }","title":""},{"docid":"a1707907335ad280687690f78f7fa01d","score":"0.55001366","text":"public Document getDataXML() {\n\t\treturn dataXML;\n\t}","title":""},{"docid":"a7bb3f00719232c98c40d35e270ef7a1","score":"0.54976314","text":"@GET\n @Produces(MediaType.APPLICATION_XML)\n public String getXml() {\n //TODO return proper representation object\n throw new UnsupportedOperationException();\n }","title":""},{"docid":"50dd94a3d0cc8c8bd60a616dfb28a5b9","score":"0.5489722","text":"public String toXML()\r\n\t {\r\n\t\tString xml = \"\";\r\n\t\txml += \"\";\r\n\t\t\r\n\t\tfor(int i =0; i < strokeList.size(); i++)\r\n\t\t{\r\n\t\t\txml += strokeList.get(i).toXML();\r\n\t\t}\r\n\t\t\r\n\t\txml += \"\";\r\n\t\treturn xml;\r\n\t }","title":""},{"docid":"aed7e03cbcbce0e5c872282eefc2c1ab","score":"0.54737926","text":"Xml createXml();","title":""},{"docid":"f0c1a4909775b1bf43320411cbf676b5","score":"0.54570776","text":"public String toXML() {\n\t\tString toReturn = \"\";\n\t\t\n\t\t// Add the opening tags\n\t\ttoReturn += \"\";\n\t\t\n\t\ttoReturn += \"\";\n\t\t\n\t\t// Save all string attribute names\n\t\tfor (String name : stringAttributeNames) {\n\t\t\ttoReturn += \"\";\n\t\t\ttoReturn += name;\n\t\t\ttoReturn += \"\";\n\t\t}\n\t\t\n\t\ttoReturn += \"\";\n\t\t\n\t\ttoReturn += \"\";\n\t\t\n\t\t// Save all enum attribute names\n\t\tfor (String name : enumAttributeNames) {\n\t\t\ttoReturn += \"\";\n\t\t\ttoReturn += name;\n\t\t\ttoReturn += \"\";\n\t\t}\n\t\t\n\t\ttoReturn += \"\";\n\t\t\n\t\ttoReturn += \"\";\n\t\t\n\t\t// Save all double attribute names\n\t\tfor (String name : doubleAttributeNames) {\n\t\t\ttoReturn += \"\";\n\t\t\ttoReturn += name;\n\t\t\ttoReturn += \"\";\n\t\t}\n\t\t\n\t\ttoReturn += \"\";\n\t\t\n\t\ttoReturn += \"\";\n\t\t\n\t\t// Save all attribute names to display\n\t\tfor (String name : namesToDisplay) {\n\t\t\ttoReturn += \"\";\n\t\t\ttoReturn += name;\n\t\t\ttoReturn += \"\";\n\t\t}\n\t\t\n\t\ttoReturn += \"\";\n\t\t\n\t\ttoReturn += \"\";\n\t\t\n\t\t// Save all attribute types to display\n\t\tfor (String name : typesToDisplay) {\n\t\t\ttoReturn += \"\";\n\t\t\ttoReturn += name;\n\t\t\ttoReturn += \"\";\n\t\t}\n\t\t\n\t\ttoReturn += \"\";\n\t\t\n\t\ttoReturn += \"\";\n\t\t\n\t\t// Save all composite levels for displaying purposes\n\t\tfor (Integer val : compositeLevel) {\n\t\t\ttoReturn += \"\";\n\t\t\ttoReturn += val.toString();\n\t\t\ttoReturn += \"\";\n\t\t}\n\t\t\n\t\t// Add the closing tags to the XML\n\t\ttoReturn += \"\";\n\t\t\n\t\ttoReturn += \"\";\n\t\t\n\t\treturn(toReturn);\n\t}","title":""},{"docid":"c7107b915214694b3c391b2e24981e81","score":"0.54455596","text":"public String savetoXML();","title":""},{"docid":"74c9a91b7a63ef1a232c71481027ed2c","score":"0.54449856","text":"public GenerateXML() {\r\n try {\r\n \t//DOM to make a blank document\r\n \tdocFact = DocumentBuilderFactory.newInstance();\r\n \tdocBuild = docFact.newDocumentBuilder();\r\n \t\r\n\r\n } catch (Exception e) {\r\n System.out.println(e);\r\n }\r\n }","title":""},{"docid":"21cd7a94a95649044bacbb0585a59da9","score":"0.54448104","text":"public final String getDetailsXml() {\n\t\treturn this.detailsXml;\n\t}","title":""},{"docid":"8d8b25b650f92fb9469c6261a3c5983c","score":"0.5440596","text":"@Override\n @Generated(value = \"com.sun.tools.xjc.Driver\", date = \"2014-06-21T04:08:14-04:00\", comments = \"JAXB RI v2.2.7\")\n public String toString() {\n return ToStringBuilder.reflectionToString(this, JAXBToStringStyle.MULTI_LINE_STYLE);\n }","title":""},{"docid":"072c2d6979348a3d65198a555f9c893d","score":"0.5432943","text":"public String createXML () {\n\t\tif(this.validateFields() == false)\r\n\t\t\treturn null;\r\n\t\telse {\r\n\t\t\tString xmlToChangeString = this.xml.toString(); \r\n\t\t\t\r\n\t\t\txmlToChangeString = xmlToChangeString.replaceAll(\"\\\\{OWNER\\\\}\",this.owner);\r\n\t\t\txmlToChangeString = xmlToChangeString.replaceAll(\"\\\\{UNIQUE_ID\\\\}\",this.unigueID);\r\n\t\t\txmlToChangeString = xmlToChangeString.replaceAll(\"\\\\{LONGITUDE\\\\}\",this.longitude);\r\n\t\t\txmlToChangeString = xmlToChangeString.replaceAll(\"\\\\{LATITUDE\\\\}\",this.latitude);\r\n\t\t\txmlToChangeString = xmlToChangeString.replaceAll(\"\\\\{TIMESTAMP\\\\}\",this.timestamp);\r\n\t\t\txmlToChangeString = xmlToChangeString.replaceAll(\"\\\\{PHENOMENON_1\\\\}\",this.phenomenon1);\r\n\t\t\txmlToChangeString = xmlToChangeString.replaceAll(\"\\\\{PHENOMENON_URN_1\\\\}\",this.phenomenonURN1);\r\n\t\t\txmlToChangeString = xmlToChangeString.replaceAll(\"\\\\{VALUE_1\\\\}\",this.temperatureValue);\r\n\t\t\txmlToChangeString = xmlToChangeString.replaceAll(\"\\\\{PHENOMENON_2\\\\}\",this.phenomenon2);\r\n\t\t\txmlToChangeString = xmlToChangeString.replaceAll(\"\\\\{PHENOMENON_URN_2\\\\}\",this.phenomenonURN2);\r\n\t\t\txmlToChangeString = xmlToChangeString.replaceAll(\"\\\\{VALUE_2\\\\}\",this.lightValue);\r\n\t\t\t\r\n\t\t\t//System.out.println(this.xml.toString());\r\n\t\t\t//System.out.println(xmlToChangeString.toString());\r\n\t\t\t\r\n\t\t\treturn xmlToChangeString;\r\n\t\t}\r\n\t}","title":""},{"docid":"df78dda4b683e1edb689a597379fd090","score":"0.54286623","text":"@Override\n\tpublic String toString() { return serialize(); }","title":""},{"docid":"abe0e63472bc3a78740afbb5fb2c8fd5","score":"0.5423292","text":"String getAllProductAsXML();","title":""},{"docid":"d6ad3629b5561378272e83a36a42db2b","score":"0.54051733","text":"public String resultsXml();","title":""},{"docid":"5294e7d9459f344415754b96cda1ed6f","score":"0.53904575","text":"public String toXML()\n {\n return \"<\" + ELEMENT_NAME + \" id='\" + correctedMessageUID\n + \"' xmlns='\" + NAMESPACE + \"' />\";\n }","title":""},{"docid":"e5e4f80bcdc6ad6e00ca960e0544e2f1","score":"0.53735745","text":"@Override\n\tpublic void serializeUI() {\n\t\t\n\t}","title":""},{"docid":"deeedbc057360ba6edb247c2b03415a9","score":"0.5369759","text":"com.google.protobuf.ByteString\n getXmlBytes();","title":""},{"docid":"d3ab3d34285a1c6c1b6e6e56441a62c8","score":"0.53430843","text":"@Override\n\tpublic String getXML() throws KettleException {\n\t\tXStream xs = new XStream(new DomDriver());\n\t\txs.alias(\"DataTable\", DataTable.class);\n\t\txs.registerConverter(new DataTableConverter());\n\t\tStringBuilder xml = new StringBuilder();\n\t\txml.append(XMLHandler.addTagValue(Field.DIMENSION_TABLE.name(), xs.toXML(this.dimensionTable)));\n\t\txml.append(XMLHandler.addTagValue(Field.VOCABULARY_TABLE.name(), xs.toXML(this.vocabularyTable)));\n\t\txml.append(XMLHandler.addTagValue(Field.DATACUBE_OUTPUT_FIELD_NAME.name(), dataCubeOutputFieldName));\n\t\txml.append(XMLHandler.addTagValue(Field.KEEP_INPUT_FIELDS.name(), keepInputFields));\n\t\treturn xml.toString();\n\t}","title":""},{"docid":"206b479c6e981490dfcc9d9ff58f55c0","score":"0.53251404","text":"public XMLNode getDataXML() {\n\n //Obtiene el XML node\n XMLNode xmlNode = null;\n\n xmlNode = (XMLNode)writeXML(0, XMLInterface.XML_IGNORE_DEPTH_COUNT);\n //Regresa el resultado\n return xmlNode;\n }","title":""},{"docid":"c2b4aae5caf083f364e651019b42c070","score":"0.5299584","text":"@Override\n public synchronized Appendable renderXml(final int spacing) {\n final StringBuilder xml = new StringBuilder();\n toXmlString(this, xml, spacing);\n return xml;\n }","title":""},{"docid":"f84b651bea1e2b70166f2c3598547ad4","score":"0.52911186","text":"public WriteXml() {\r\n\t\t\r\n\t}","title":""},{"docid":"5d18f4f3c2f124c86800633cb412ffbd","score":"0.52899456","text":"org.apache.xmlbeans.XmlString xgetHeterogen();","title":""},{"docid":"7a0e8969a38c8f801828796c50634577","score":"0.5283487","text":"public String getXML(Object obj) throws JAXBException {\n\t\tStringWriter stringWriter = new StringWriter();\n\t\tJAXBContext context = null;\n\t\tMarshaller marshaller = null;\n\t\tcontext = JAXBContext.newInstance(obj.getClass());\n\t\tmarshaller = context.createMarshaller();\n\t\tmarshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);\n\t\tmarshaller.setProperty(Marshaller.JAXB_ENCODING, \"UTF-8\");\n\t\tmarshaller.marshal(obj, stringWriter);\n\t\tString xmlString = stringWriter.getBuffer().toString();\n\n\t\tStringWriter writer = new StringWriter();\n\n\t\tTransformerFactory tf = TransformerFactory.newInstance();\n\t\tTransformer transformer;\n\t\ttry {\n\t\t\ttransformer = tf.newTransformer();\n\t\t\ttransformer.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, \"yes\");\n\t\t\ttransformer.transform(new StreamSource(new StringReader(xmlString)), new StreamResult(writer));\n\t\t} catch (TransformerConfigurationException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (TransformerException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\treturn writer.getBuffer().toString();\n\t}","title":""},{"docid":"bff35866555d8e510d884f4c7af65171","score":"0.528343","text":"XmlContents createXmlContents();","title":""},{"docid":"604fd2eea4ea524dbc25b331113562bc","score":"0.5242261","text":"public String toString() {\n return root.toString();\n }","title":""},{"docid":"3616d9f52ad4608889d34f52704e0fad","score":"0.52375895","text":"public static String toXml(Person person){\n\t\txstream.setMode(XStream.NO_REFERENCES);\n\t\t//注册使用了注解的实体\n\t\txstream.processAnnotations(new Class[]{Person.class, Address.class});\n\t\tString xml = xstream.toXML(person);\n\t\treturn xml;\n\t}","title":""},{"docid":"7d856fb29480081ea30077277f404c77","score":"0.52293587","text":"@Override\n\tpublic List> viewXML() {\n\t\tList> mlist = new ArrayList>();\n\t\tString sql = \"select * from comment\";\n\t\t\n\t\t\n\t\ttry {\n\t\t\tdb.getConnetion();\n\t\t\tmlist = db.findMoreResult(sql, null);\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}finally{\n\t\t\tdb.releaseConn();\n\t\t}\n\t\t\n\t\t\n\t\treturn mlist;\n\t}","title":""},{"docid":"00c7f9e5a3be9ecc05b2fba5562aa0c6","score":"0.522926","text":"private String getXMLAsString(Object object) throws Exception {\n\t\t\n\t\tStringWriter sw = new StringWriter();\n\t\tJAXBContext context = JAXBContext.newInstance(object.getClass());\n\t\tMarshaller m = context.createMarshaller();\n\t\t\n\t\t//for pretty-print XML in JAXB\n\t\tm.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);\n\t\tm.setProperty(Marshaller.JAXB_FRAGMENT, Boolean.TRUE);\n\n\t\t// Write to File\n\t\tm.marshal(object, sw);\n\t\treturn sw.toString();\n\t}","title":""},{"docid":"8e060c965ae57ab1bff10d44e3685349","score":"0.52241594","text":"public Element toXML() {\n\t\tElement e = DocumentHelper.createElement(\"excerption\"); //$NON-NLS-1$\n\t\te.addElement(\"sourceFilePath\").addText(pathInSourceFile); //$NON-NLS-1$\n\t\te.addElement(\"startPos\").addText(startPos.toString()); //$NON-NLS-1$\n\t\te.addElement(\"endPos\").addText(endPos.toString()); //$NON-NLS-1$\n\t\treturn e;\n\t}","title":""},{"docid":"727a3f863243b2a47d7cb303aa0af723","score":"0.52241284","text":"private String getFormXML() {\n FormXmlBuilder builder = new FormXmlBuilder(config, pack, meta, form, new XmlValidatorImpl());\n return builder.getXML();\n }","title":""},{"docid":"e155c18bb7a2ae63d8cd31e0ed83f06f","score":"0.5217558","text":"public abstract String getXmlFormat();","title":""},{"docid":"e7309ffa576a556cf4b8857f9a388e7a","score":"0.52073646","text":"@Override\r\n\tpublic String toString() {\r\n\t\treturn getClass().getSimpleName() + \"\";\r\n\t}","title":""},{"docid":"37fac23c634d57440061150ae748e39a","score":"0.5202743","text":"public SoapDataConsumer(){\n Jaxb2Marshaller marshaller = new Jaxb2Marshaller();\n marshaller.setContextPath(\"es.daniel.outputgui.data\");\n setMarshaller(marshaller);\n setUnmarshaller(marshaller);\n }","title":""},{"docid":"722157fd441f8e13be61ad6a19ef591d","score":"0.5200999","text":"private String streamXML() {\n return BatchExecutionHelper.newXStreamMarshaller().toXML(batchCommand());\n }","title":""},{"docid":"616707300cbaffcc356bc232e682257c","score":"0.5186972","text":"public java.lang.String getXml() {\n java.lang.Object ref = xml_;\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 xml_ = s;\n return s;\n }\n }","title":""},{"docid":"f77195e6143d0ec1f52b105b0d457adf","score":"0.5172341","text":"public Document getRelationXML() {\n\t\treturn relationXML;\n\t}","title":""},{"docid":"b8de20901330319d5e10d7a2cf8e3f10","score":"0.51723355","text":"abstract public String getXMLString();","title":""},{"docid":"540d07353a4ce99d60949a3a5dc88336","score":"0.51626146","text":"public boolean getEscapeXml() {\n\t\treturn super.escapeXml;\n\t}","title":""},{"docid":"13e545b1ee37665b49259db5101a0e5b","score":"0.51601154","text":"public java.lang.String getXml() {\n java.lang.Object ref = xml_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n xml_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }","title":""},{"docid":"2e6dcfe52077b5f73c4e7bfcd06d9068","score":"0.5158704","text":"@Override\n\tpublic String toString() {\n\t\t//TODO implement me!!!\n\t}","title":""},{"docid":"da4620c3c1ab52fd6731b7fbaa477324","score":"0.51572603","text":"@Override\n\t\t\tpublic String toString() {\n\t\t\t\treturn super.toString();\n\t\t\t}","title":""},{"docid":"bf64269dec12dea95c92beef105cfb71","score":"0.5154453","text":"@Override\n\t\tpublic String toString() {\n\t\t\treturn \"DataTree [rootNode=\" + rootNode + \"]\";\n\t\t}","title":""},{"docid":"5a47b58b163a949b09de942472d11852","score":"0.51446587","text":"@Override\n protected void loadXMLDescription() {\n\n }","title":""},{"docid":"d653e4080e238a2e351d228c0c637483","score":"0.51343125","text":"@Override\r\n public String toString() {\r\n return ReflectionToStringBuilder.toString(this);\r\n }","title":""},{"docid":"dc526cd149ceeda31a5a38bc4c4930dc","score":"0.5129467","text":"@Override\r\n public String toString() {\r\n return OpbToStringHelper.toString(this);\r\n }","title":""},{"docid":"1234913465dbee4e40c9a6530e86ba8d","score":"0.5125928","text":"public String toString_d() {\r\n return root.toStringAll();\r\n }","title":""},{"docid":"1946bf0ca0bacaf3631b0583efda5efc","score":"0.5121113","text":"@Override\r\n\tpublic Element serialize() {\n\t\treturn null;\r\n\t}","title":""},{"docid":"f4e68b88279ce340f50ebd347246820c","score":"0.5110834","text":"@Override\r\n\tpublic String toString() {\n\t\treturn super.toString();\r\n\t}","title":""},{"docid":"f4e68b88279ce340f50ebd347246820c","score":"0.5110834","text":"@Override\r\n\tpublic String toString() {\n\t\treturn super.toString();\r\n\t}","title":""},{"docid":"f4e68b88279ce340f50ebd347246820c","score":"0.5110834","text":"@Override\r\n\tpublic String toString() {\n\t\treturn super.toString();\r\n\t}","title":""},{"docid":"c6c89617345a97ed8b43fdb0810f9b70","score":"0.510919","text":"@Override\r\n\tpublic String toString() {\n\t\treturn elemento.toString();\r\n\t}","title":""},{"docid":"56dd4195fb5492509dc26ad221dbe026","score":"0.51023185","text":"@Override\n public XmlStringBuilder toXML(XmlEnvironment xmlEnvironment)\n {\n XmlStringBuilder xml = new XmlStringBuilder(this);\n\n // add the rest of the attributes if any\n for (Map.Entry entry : attributes.entrySet()) {\n xml.optAttribute(entry.getKey(), entry.getValue().toString());\n }\n xml.rightAngleBracket();\n\n xml.optElement(ELEMENT_DISPLAY_TEXT, displayText);\n xml.optElement(ELEMENT_CALLID, callID);\n xml.optElement(ELEMENT_FROMTAG, fromTag);\n xml.optElement(ELEMENT_TOTAG, toTag);\n\n for (ExtensionElement ext : getChildExtensions()) {\n xml.append(ext.toXML(XmlEnvironment.EMPTY));\n }\n xml.closeElement(ELEMENT);\n return xml;\n }","title":""},{"docid":"74de2cee768e44bf752daa01709d286b","score":"0.5101795","text":"@Override\n\tpublic String toString() {\n\t\treturn \"\"; // TODO\n\t}","title":""},{"docid":"12948e758967f812bbf98140be1846fe","score":"0.5094558","text":"@Override\r\n public String toString() {\r\n return super.toString();\r\n }","title":""},{"docid":"c53a783b3905630f68ac6efb23f39b2a","score":"0.5093339","text":"public String serialize() {\n Gson gson = new Gson();\n return gson.toJson(this);\n }","title":""},{"docid":"006cd3b74e48ae3b1571f5181edb77d1","score":"0.5092021","text":"public String toStringFXMLend(){\r\n\t\tString re = \"\";\r\n\t\t\r\n\t\tif(this.type == ComponentType.AnchorPane){\r\n\t\t\tre = \" \";\r\n\t\t}else if(this.type == ComponentType.Button){\r\n\t\t\tre = \"\";\r\n\t\t}else if(this.type == ComponentType.HBox){\r\n\t\t\tre = \" \";\r\n\t\t}else if(this.type == ComponentType.Label){\r\n\t\t\tre = \" \";\r\n\t\t}else if(this.type == ComponentType.TextArea){\r\n\t\t\tre = \" \";\r\n\t\t}else if(this.type==ComponentType.VBox){\r\n\t\t\tre = \" \";\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\treturn re;\r\n\t}","title":""}],"string":"[\n {\n \"docid\": \"e8e01405cbdc7e8bfc26bf89b5568b29\",\n \"score\": \"0.6845753\",\n \"text\": \"@Override\\n\\tpublic Object toXML() {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cc3f6ed93d15893ac1d6b6e5e6c56649\",\n \"score\": \"0.6763015\",\n \"text\": \"public final String toXML() {\\r\\n if (this.isAsXML())\\r\\n return getObjAsXML();\\r\\n else\\r\\n return convertToXML();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c155ad034b2e96caefb5639eefb8f90c\",\n \"score\": \"0.6757254\",\n \"text\": \"public String getXMLRepresentation();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"186133d56467b16e29648436e46b6733\",\n \"score\": \"0.66197604\",\n \"text\": \"public String toXML() {\\n\\t\\treturn null;\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9c13d936ad4305e6289f1e585c402678\",\n \"score\": \"0.6605638\",\n \"text\": \"public String toXML() {\\r\\n\\t\\tXStream xstream = new XStream();\\r\\n\\t\\treturn xstream.toXML(this);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"604e04bbf9da4596b20c2423d241a629\",\n \"score\": \"0.6512309\",\n \"text\": \"@Override\\n public String toString() {\\n return ToStringBuilder.reflectionToString(this, JAXBToStringStyle.DEFAULT_STYLE);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"604e04bbf9da4596b20c2423d241a629\",\n \"score\": \"0.6512309\",\n \"text\": \"@Override\\n public String toString() {\\n return ToStringBuilder.reflectionToString(this, JAXBToStringStyle.DEFAULT_STYLE);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fb78209b3b62604612e537640cba5c78\",\n \"score\": \"0.64924896\",\n \"text\": \"@Override\\r\\n public String toString() {\\r\\n return JAXBToStringBuilder.valueOf(this, JAXBToStringStyle.SIMPLE_STYLE);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"19405f97dda39eef550fc14cb47ccf61\",\n \"score\": \"0.6455136\",\n \"text\": \"public String toXml();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1c13f7945dc4b07dc4ad5845172e39e\",\n \"score\": \"0.64304435\",\n \"text\": \"private String model2xml() {\\n\\t\\tString xml = null;\\n\\t\\ttry {\\n\\t\\t\\tJasperDesign report = bundle.getJasperDesign();\\n\\t\\t\\treport.removeProperty(DataQueryAdapters.DEFAULT_DATAADAPTER);\\n\\t\\t\\tString version = jrContext.getProperty(JRVersionPreferencesPages.JSS_COMPATIBILITY_VERSION, JRXmlWriterHelper.LAST_VERSION);\\n\\t\\t\\txml = JRXmlWriterHelper.writeReport(jrContext, report, net.sf.jasperreports.eclipse.util.FileUtils.UTF8_ENCODING, version); //$NON-NLS-1$\\n\\t\\t} catch (Throwable e) {\\n\\t\\t\\tUIUtils.showError(e);\\n\\t\\t}\\n\\t\\treturn xml;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aa79803d20e9cef5c6e2d60de24ecb63\",\n \"score\": \"0.6281732\",\n \"text\": \"public String asXML() throws Exception {\\n\\t\\tJAXBContext context = JAXBContext.newInstance(FolderJPA.class);\\n\\t\\tMarshaller marshaller = context.createMarshaller();\\n\\t\\tjava.io.StringWriter sw = new StringWriter();\\n\\t\\tmarshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);\\n\\t\\tmarshaller.marshal(this, sw);\\n\\t\\tString result = sw.toString();\\n\\t\\treturn result;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"38e8a83a6f06c621aad3d8d5845bb3bd\",\n \"score\": \"0.62488425\",\n \"text\": \"public String toXml() {\\n\\t\\treturn(_value);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c0dd63be5c0dc77a0eca30851c5d2b96\",\n \"score\": \"0.623717\",\n \"text\": \"public String asXML()\\n\\t{\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3981bf09aec665c01843cc903e37d6ac\",\n \"score\": \"0.62051135\",\n \"text\": \"@Override\\n\\tpublic String toXMLString() {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d3fdc91d362bd1eb03292e6476bb0ba\",\n \"score\": \"0.6171108\",\n \"text\": \"@Override\\n public String getXml() {\\n StringBuilder retval = new StringBuilder();\\n\\n retval.append( super.getXml() );\\n //example value to xml\\n retval.append( XmlHandler.addTagValue( \\\"example\\\", \\\"value\\\" ) );\\n\\n return retval.toString();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"67621d0ae534049400d690df359df175\",\n \"score\": \"0.6127815\",\n \"text\": \"public String getXML();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"67621d0ae534049400d690df359df175\",\n \"score\": \"0.6127815\",\n \"text\": \"public String getXML();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c34e79bff4846e70aa00d0006a2723fb\",\n \"score\": \"0.61241585\",\n \"text\": \"public String getXml() {\\n return xml;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a5344f49c926475c027cc9d705567d2a\",\n \"score\": \"0.60028994\",\n \"text\": \"@Override\\n public List getXMLElement() {\\n List rtnList = new LinkedList<>();\\n // create and add the content Element\\n for(Element e : super.getXMLElement()) {\\n rtnList.add(e);\\n }\\n Element bean = new Element(\\\"PostcodeBean\\\");\\n rtnList.add(bean);\\n // set the data\\n bean.setAttribute(\\\"postcode\\\", postcode);\\n bean.setAttribute(\\\"population\\\", Integer.toString(population));\\n bean.setAttribute(\\\"households\\\", Integer.toString(households));\\n\\n bean.setAttribute(\\\"serialVersionUID\\\", Long.toString(serialVersionUID));\\n return (rtnList);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0bf747973cfd842bc6ebc9f2c8c06184\",\n \"score\": \"0.5969638\",\n \"text\": \"public String getXml() throws HopException {\\n convertIOMetaToTransformNames();\\n return XmlMetadataUtil.serializeObjectToXml(this);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2507bf372abbab5cc51cecbce46edfdc\",\n \"score\": \"0.5955636\",\n \"text\": \"public String toXml() {\\n return doc.toXml();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8892412e4ce72ede9af45f24a4ed8063\",\n \"score\": \"0.5946703\",\n \"text\": \"public String xml();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d256d6f97811413adfa927dcce8fa0d\",\n \"score\": \"0.59206736\",\n \"text\": \"public String toString()\\n {\\n return xmlWrap(xml);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9029d62251770e2ae888e29389facc51\",\n \"score\": \"0.5902232\",\n \"text\": \"public Element toXml();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"daa12afe702cd72e7c047002d231a076\",\n \"score\": \"0.5866241\",\n \"text\": \"public String getXml(){\\n\\n String xml = \\\"\\\";\\n \\n xml += \\\" \\\\n\\\";\\n \\n for(Columna c : this.columnas)\\n xml += c.getXml();\\n \\n xml += \\\" \\\\n\\\";\\n \\n return xml;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8e6e8ad8b7f8c8ff015359e276275f48\",\n \"score\": \"0.583477\",\n \"text\": \"public final String toXml() {\\n\\t\\treturn toXml((String) null);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"778004607259366a799b370db5e91b47\",\n \"score\": \"0.5819225\",\n \"text\": \"protected String settingsToXml() {\\n\\t\\tStringWriter writer = new StringWriter();\\n\\t\\tJAXB.marshal(this.settings, writer);\\n\\t\\treturn writer.toString();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8de192708db7e98c9eb9a1f3c436a4af\",\n \"score\": \"0.5812585\",\n \"text\": \"java.lang.String getXml();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fcc58515baa901976025090a3570317d\",\n \"score\": \"0.57924026\",\n \"text\": \"@Override\\n\\tpublic String toXMLString(Object value) {\\n\\t\\treturn value.toString();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d5899282aba10f0c2b46ea75601281c\",\n \"score\": \"0.574458\",\n \"text\": \"public String toXml() {\\n StringBuffer xml = new StringBuffer();\\n\\n xml.append(\\\"\\\\n\\\");\\n\\n return xml.toString();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1aa4829e40e76bdf508f7f29cb66cf15\",\n \"score\": \"0.5735157\",\n \"text\": \"String toXML(Object inObject) throws JAXBException {\\r\\n Marshaller marshaller = getMarshaller();\\r\\n StringWriter writer = new StringWriter();\\r\\n marshaller.marshal(inObject, writer);\\r\\n //no need to close or flush the writer as they do nothing.\\r\\n return writer.toString();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"53d95240f2da46792f9600aa4503099c\",\n \"score\": \"0.57296246\",\n \"text\": \"public StringBuffer exportToXML() {\\r\\n\\t\\treturn null;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dfab78d0fbf31b3862fdbd480b58a974\",\n \"score\": \"0.5724638\",\n \"text\": \"protected String toXMLFragment() {\\n StringBuffer xml = new StringBuffer();\\n if (isSetCount()) {\\n xml.append(\\\"\\\");\\n xml.append(getCount() + \\\"\\\");\\n xml.append(\\\"\\\");\\n }\\n if (isSetAmount()) {\\n Amount amount = getAmount();\\n xml.append(\\\"\\\");\\n xml.append(amount.toXMLFragment());\\n xml.append(\\\"\\\");\\n } \\n if (isSetLastResetCount()) {\\n xml.append(\\\"\\\");\\n xml.append(getLastResetCount() + \\\"\\\");\\n xml.append(\\\"\\\");\\n }\\n if (isSetLastResetAmount()) {\\n Amount lastResetAmount = getLastResetAmount();\\n xml.append(\\\"\\\");\\n xml.append(lastResetAmount.toXMLFragment());\\n xml.append(\\\"\\\");\\n } \\n if (isSetLastResetTimestamp()) {\\n xml.append(\\\"\\\");\\n xml.append(getLastResetTimestamp() + \\\"\\\");\\n xml.append(\\\"\\\");\\n }\\n return xml.toString();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e4815edecf721b3fc834a044a2e3f955\",\n \"score\": \"0.5693386\",\n \"text\": \"String toXML();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e4815edecf721b3fc834a044a2e3f955\",\n \"score\": \"0.5693386\",\n \"text\": \"String toXML();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7130536760fdeb8db9afbba0d8eeaaac\",\n \"score\": \"0.5667469\",\n \"text\": \"@Override\\n\\tpublic String toXML()\\n\\t{\\n\\t\\tString s = \\\" \\\";\\n\\n\\t\\ts = s.replaceAll(\\\"#i\\\", getID());\\n\\t\\ts = s.replaceAll(\\\"#s\\\", colorToHex(getColor()));\\n\\t\\ts = s.replaceAll(\\\"#w\\\", \\\"\\\" + getThickness());\\n\\t\\tWhiteboardPoint p1 = getWhiteboardPointStart();\\n\\t\\tWhiteboardPoint p2 = getWhiteboardPointEnd();\\n\\n\\t\\ts = s.replaceAll(\\\"#x1\\\", \\\"\\\" + p1.getX());\\n\\t\\ts = s.replaceAll(\\\"#y1\\\", \\\"\\\" + p1.getY());\\n\\n\\t\\ts = s.replaceAll(\\\"#x2\\\", \\\"\\\" + p2.getX());\\n\\t\\ts = s.replaceAll(\\\"#y2\\\", \\\"\\\" + p2.getY());\\n\\n\\t\\treturn s;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"92d2f15b74d4835180071f1e76d0734b\",\n \"score\": \"0.5631781\",\n \"text\": \"public XmlBeanTranslator() {\\n\\t\\tsuper();\\n\\t\\tthis.formattedOutput = false ;\\n\\t\\tthis.rootTag = ROOT_TAG ;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2e4be8b61a882d468fb568c3a9198202\",\n \"score\": \"0.56273746\",\n \"text\": \"public Element toXml() {\\n Element retval = new Element(\\\"prop\\\");\\n retval.setAttribute(\\\"name\\\", toString());\\n return retval;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47a080e12d1035d3aa8a243598e5c9e9\",\n \"score\": \"0.56027484\",\n \"text\": \"XMLDataValue getXMLDataValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a02288cd159a44635308f3300b5bb9d\",\n \"score\": \"0.55923593\",\n \"text\": \"public String toStringFXML(){\\r\\n\\t\\tString re = \\\"\\\";\\r\\n\\t\\t\\r\\n\\t\\tif(this.type == ComponentType.AnchorPane){\\r\\n\\t\\t\\tre = \\\"<\\\" + this.type + \\\" maxHeight=\\\\\\\"-Infinity\\\\\\\" maxWidth=\\\\\\\"-Infinity\\\\\\\"\\\"\\r\\n\\t\\t\\t\\t\\t+ \\\" minHeight=\\\\\\\"-Infinity\\\\\\\" minWidth=\\\\\\\"-Infinity\\\\\\\"\\\"\\r\\n\\t\\t\\t\\t\\t+ \\\" prefHeight=\\\\\\\"415.0\\\\\\\" prefWidth=\\\\\\\"770.0\\\\\\\"> \\\";\\r\\n\\t\\t}else if(this.type == ComponentType.Button){\\r\\n\\t\\t\\tre = \\\"<\\\" + this.type + \\\" mnemonicParsing=\\\\\\\"false\\\\\\\" text=\\\\\\\"\\\"+this.text+\\\"\\\\\\\" />\\\";\\r\\n\\t\\t}else if(this.type == ComponentType.HBox){\\r\\n\\t\\t\\tre = \\\"<\\\" + this.type + \\\"> \\\";\\r\\n\\t\\t}else if(this.type == ComponentType.Label){\\r\\n\\t\\t\\tre = \\\"<\\\"+this.type+\\\" text=\\\\\\\"\\\" + this.text+\\\"\\\\\\\" />\\\";\\r\\n\\t\\t}else if(this.type == ComponentType.TextArea){\\r\\n\\t\\t\\tre = \\\"<\\\"+this.type+\\\" promptText=\\\\\\\"\\\"+this.text+\\\"\\\\\\\" />\\\";\\r\\n\\t\\t}else if(this.type==ComponentType.VBox){\\r\\n\\t\\t\\tre = \\\"<\\\"+this.type+\\\"> \\\";\\r\\n\\t\\t}\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\treturn re;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b2a5f4ce8ef43faa8abc34ccbecaaf46\",\n \"score\": \"0.55874527\",\n \"text\": \"@GET\\r\\n @Produces(MediaType.APPLICATION_XML)\\r\\n public String getXml() {\\r\\n //TODO return proper representation object\\r\\n throw new UnsupportedOperationException();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b2a5f4ce8ef43faa8abc34ccbecaaf46\",\n \"score\": \"0.55874527\",\n \"text\": \"@GET\\r\\n @Produces(MediaType.APPLICATION_XML)\\r\\n public String getXml() {\\r\\n //TODO return proper representation object\\r\\n throw new UnsupportedOperationException();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"acc04f7cc3dede54a4e2cf7a9f700620\",\n \"score\": \"0.5577767\",\n \"text\": \"@Override\\r\\n public Element toXML(){\\r\\n Element root = new Element(\\\"ApplicationFactory\\\");\\r\\n \\r\\n root.setAttribute(\\\"classname\\\", this.getClass().getName());\\r\\n root.setAttribute(\\\"seed\\\", String.valueOf(this.seed));\\r\\n \\r\\n // set parameters\\r\\n root.setAttribute(\\\"numTasks\\\", String.valueOf(this.numTasks));\\r\\n \\r\\n return root;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f302aa03867e2f59f4f65a9cede6f3db\",\n \"score\": \"0.55757207\",\n \"text\": \"@Override\\n public List getXMLElement() {\\n List rtnList = new LinkedList();\\n // create and add the content Element\\n for(Element e : super.getXMLElement()) {\\n rtnList.add(e);\\n }\\n Element bean = new Element(\\\"CustomerCreditBean\\\");\\n rtnList.add(bean);\\n // set the data\\n bean.setAttribute(\\\"accountId\\\", Integer.toString(accountId));\\n bean.setAttribute(\\\"creditYwd\\\", Integer.toString(creditYwd));\\n bean.setAttribute(\\\"creditId\\\", Integer.toString(creditId));\\n bean.setAttribute(\\\"credit\\\", Long.toString(credit));\\n bean.setAttribute(\\\"creditType\\\", creditType.toString());\\n bean.setAttribute(\\\"debitYwd\\\", Integer.toString(debitYwd));\\n bean.setAttribute(\\\"debitId\\\", Integer.toString(debitId));\\n bean.setAttribute(\\\"debit\\\", Long.toString(debit));\\n bean.setAttribute(\\\"debitType\\\", debitType.toString());\\n\\n bean.setAttribute(\\\"serialVersionUID\\\", Long.toString(serialVersionUID));\\n return (rtnList);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af30aada457bd8a34383eac0757f8d4c\",\n \"score\": \"0.5530437\",\n \"text\": \"String toXml(Dto obj);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"202db26ea7db3f49d44a4da5306c9aa6\",\n \"score\": \"0.55133057\",\n \"text\": \"public String toString() {\\n String str = null;\\n try {\\n str = new String(toXML());\\n } catch(Exception ex) {}\\n return str;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1707907335ad280687690f78f7fa01d\",\n \"score\": \"0.55001366\",\n \"text\": \"public Document getDataXML() {\\n\\t\\treturn dataXML;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7bb3f00719232c98c40d35e270ef7a1\",\n \"score\": \"0.54976314\",\n \"text\": \"@GET\\n @Produces(MediaType.APPLICATION_XML)\\n public String getXml() {\\n //TODO return proper representation object\\n throw new UnsupportedOperationException();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"50dd94a3d0cc8c8bd60a616dfb28a5b9\",\n \"score\": \"0.5489722\",\n \"text\": \"public String toXML()\\r\\n\\t {\\r\\n\\t\\tString xml = \\\"\\\";\\r\\n\\t\\txml += \\\"\\\";\\r\\n\\t\\t\\r\\n\\t\\tfor(int i =0; i < strokeList.size(); i++)\\r\\n\\t\\t{\\r\\n\\t\\t\\txml += strokeList.get(i).toXML();\\r\\n\\t\\t}\\r\\n\\t\\t\\r\\n\\t\\txml += \\\"\\\";\\r\\n\\t\\treturn xml;\\r\\n\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aed7e03cbcbce0e5c872282eefc2c1ab\",\n \"score\": \"0.54737926\",\n \"text\": \"Xml createXml();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f0c1a4909775b1bf43320411cbf676b5\",\n \"score\": \"0.54570776\",\n \"text\": \"public String toXML() {\\n\\t\\tString toReturn = \\\"\\\";\\n\\t\\t\\n\\t\\t// Add the opening tags\\n\\t\\ttoReturn += \\\"\\\";\\n\\t\\t\\n\\t\\ttoReturn += \\\"\\\";\\n\\t\\t\\n\\t\\t// Save all string attribute names\\n\\t\\tfor (String name : stringAttributeNames) {\\n\\t\\t\\ttoReturn += \\\"\\\";\\n\\t\\t\\ttoReturn += name;\\n\\t\\t\\ttoReturn += \\\"\\\";\\n\\t\\t}\\n\\t\\t\\n\\t\\ttoReturn += \\\"\\\";\\n\\t\\t\\n\\t\\ttoReturn += \\\"\\\";\\n\\t\\t\\n\\t\\t// Save all enum attribute names\\n\\t\\tfor (String name : enumAttributeNames) {\\n\\t\\t\\ttoReturn += \\\"\\\";\\n\\t\\t\\ttoReturn += name;\\n\\t\\t\\ttoReturn += \\\"\\\";\\n\\t\\t}\\n\\t\\t\\n\\t\\ttoReturn += \\\"\\\";\\n\\t\\t\\n\\t\\ttoReturn += \\\"\\\";\\n\\t\\t\\n\\t\\t// Save all double attribute names\\n\\t\\tfor (String name : doubleAttributeNames) {\\n\\t\\t\\ttoReturn += \\\"\\\";\\n\\t\\t\\ttoReturn += name;\\n\\t\\t\\ttoReturn += \\\"\\\";\\n\\t\\t}\\n\\t\\t\\n\\t\\ttoReturn += \\\"\\\";\\n\\t\\t\\n\\t\\ttoReturn += \\\"\\\";\\n\\t\\t\\n\\t\\t// Save all attribute names to display\\n\\t\\tfor (String name : namesToDisplay) {\\n\\t\\t\\ttoReturn += \\\"\\\";\\n\\t\\t\\ttoReturn += name;\\n\\t\\t\\ttoReturn += \\\"\\\";\\n\\t\\t}\\n\\t\\t\\n\\t\\ttoReturn += \\\"\\\";\\n\\t\\t\\n\\t\\ttoReturn += \\\"\\\";\\n\\t\\t\\n\\t\\t// Save all attribute types to display\\n\\t\\tfor (String name : typesToDisplay) {\\n\\t\\t\\ttoReturn += \\\"\\\";\\n\\t\\t\\ttoReturn += name;\\n\\t\\t\\ttoReturn += \\\"\\\";\\n\\t\\t}\\n\\t\\t\\n\\t\\ttoReturn += \\\"\\\";\\n\\t\\t\\n\\t\\ttoReturn += \\\"\\\";\\n\\t\\t\\n\\t\\t// Save all composite levels for displaying purposes\\n\\t\\tfor (Integer val : compositeLevel) {\\n\\t\\t\\ttoReturn += \\\"\\\";\\n\\t\\t\\ttoReturn += val.toString();\\n\\t\\t\\ttoReturn += \\\"\\\";\\n\\t\\t}\\n\\t\\t\\n\\t\\t// Add the closing tags to the XML\\n\\t\\ttoReturn += \\\"\\\";\\n\\t\\t\\n\\t\\ttoReturn += \\\"\\\";\\n\\t\\t\\n\\t\\treturn(toReturn);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c7107b915214694b3c391b2e24981e81\",\n \"score\": \"0.54455596\",\n \"text\": \"public String savetoXML();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"74c9a91b7a63ef1a232c71481027ed2c\",\n \"score\": \"0.54449856\",\n \"text\": \"public GenerateXML() {\\r\\n try {\\r\\n \\t//DOM to make a blank document\\r\\n \\tdocFact = DocumentBuilderFactory.newInstance();\\r\\n \\tdocBuild = docFact.newDocumentBuilder();\\r\\n \\t\\r\\n\\r\\n } catch (Exception e) {\\r\\n System.out.println(e);\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"21cd7a94a95649044bacbb0585a59da9\",\n \"score\": \"0.54448104\",\n \"text\": \"public final String getDetailsXml() {\\n\\t\\treturn this.detailsXml;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8d8b25b650f92fb9469c6261a3c5983c\",\n \"score\": \"0.5440596\",\n \"text\": \"@Override\\n @Generated(value = \\\"com.sun.tools.xjc.Driver\\\", date = \\\"2014-06-21T04:08:14-04:00\\\", comments = \\\"JAXB RI v2.2.7\\\")\\n public String toString() {\\n return ToStringBuilder.reflectionToString(this, JAXBToStringStyle.MULTI_LINE_STYLE);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"072c2d6979348a3d65198a555f9c893d\",\n \"score\": \"0.5432943\",\n \"text\": \"public String createXML () {\\n\\t\\tif(this.validateFields() == false)\\r\\n\\t\\t\\treturn null;\\r\\n\\t\\telse {\\r\\n\\t\\t\\tString xmlToChangeString = this.xml.toString(); \\r\\n\\t\\t\\t\\r\\n\\t\\t\\txmlToChangeString = xmlToChangeString.replaceAll(\\\"\\\\\\\\{OWNER\\\\\\\\}\\\",this.owner);\\r\\n\\t\\t\\txmlToChangeString = xmlToChangeString.replaceAll(\\\"\\\\\\\\{UNIQUE_ID\\\\\\\\}\\\",this.unigueID);\\r\\n\\t\\t\\txmlToChangeString = xmlToChangeString.replaceAll(\\\"\\\\\\\\{LONGITUDE\\\\\\\\}\\\",this.longitude);\\r\\n\\t\\t\\txmlToChangeString = xmlToChangeString.replaceAll(\\\"\\\\\\\\{LATITUDE\\\\\\\\}\\\",this.latitude);\\r\\n\\t\\t\\txmlToChangeString = xmlToChangeString.replaceAll(\\\"\\\\\\\\{TIMESTAMP\\\\\\\\}\\\",this.timestamp);\\r\\n\\t\\t\\txmlToChangeString = xmlToChangeString.replaceAll(\\\"\\\\\\\\{PHENOMENON_1\\\\\\\\}\\\",this.phenomenon1);\\r\\n\\t\\t\\txmlToChangeString = xmlToChangeString.replaceAll(\\\"\\\\\\\\{PHENOMENON_URN_1\\\\\\\\}\\\",this.phenomenonURN1);\\r\\n\\t\\t\\txmlToChangeString = xmlToChangeString.replaceAll(\\\"\\\\\\\\{VALUE_1\\\\\\\\}\\\",this.temperatureValue);\\r\\n\\t\\t\\txmlToChangeString = xmlToChangeString.replaceAll(\\\"\\\\\\\\{PHENOMENON_2\\\\\\\\}\\\",this.phenomenon2);\\r\\n\\t\\t\\txmlToChangeString = xmlToChangeString.replaceAll(\\\"\\\\\\\\{PHENOMENON_URN_2\\\\\\\\}\\\",this.phenomenonURN2);\\r\\n\\t\\t\\txmlToChangeString = xmlToChangeString.replaceAll(\\\"\\\\\\\\{VALUE_2\\\\\\\\}\\\",this.lightValue);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t//System.out.println(this.xml.toString());\\r\\n\\t\\t\\t//System.out.println(xmlToChangeString.toString());\\r\\n\\t\\t\\t\\r\\n\\t\\t\\treturn xmlToChangeString;\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"df78dda4b683e1edb689a597379fd090\",\n \"score\": \"0.54286623\",\n \"text\": \"@Override\\n\\tpublic String toString() { return serialize(); }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"abe0e63472bc3a78740afbb5fb2c8fd5\",\n \"score\": \"0.5423292\",\n \"text\": \"String getAllProductAsXML();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d6ad3629b5561378272e83a36a42db2b\",\n \"score\": \"0.54051733\",\n \"text\": \"public String resultsXml();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5294e7d9459f344415754b96cda1ed6f\",\n \"score\": \"0.53904575\",\n \"text\": \"public String toXML()\\n {\\n return \\\"<\\\" + ELEMENT_NAME + \\\" id='\\\" + correctedMessageUID\\n + \\\"' xmlns='\\\" + NAMESPACE + \\\"' />\\\";\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e5e4f80bcdc6ad6e00ca960e0544e2f1\",\n \"score\": \"0.53735745\",\n \"text\": \"@Override\\n\\tpublic void serializeUI() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"deeedbc057360ba6edb247c2b03415a9\",\n \"score\": \"0.5369759\",\n \"text\": \"com.google.protobuf.ByteString\\n getXmlBytes();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d3ab3d34285a1c6c1b6e6e56441a62c8\",\n \"score\": \"0.53430843\",\n \"text\": \"@Override\\n\\tpublic String getXML() throws KettleException {\\n\\t\\tXStream xs = new XStream(new DomDriver());\\n\\t\\txs.alias(\\\"DataTable\\\", DataTable.class);\\n\\t\\txs.registerConverter(new DataTableConverter());\\n\\t\\tStringBuilder xml = new StringBuilder();\\n\\t\\txml.append(XMLHandler.addTagValue(Field.DIMENSION_TABLE.name(), xs.toXML(this.dimensionTable)));\\n\\t\\txml.append(XMLHandler.addTagValue(Field.VOCABULARY_TABLE.name(), xs.toXML(this.vocabularyTable)));\\n\\t\\txml.append(XMLHandler.addTagValue(Field.DATACUBE_OUTPUT_FIELD_NAME.name(), dataCubeOutputFieldName));\\n\\t\\txml.append(XMLHandler.addTagValue(Field.KEEP_INPUT_FIELDS.name(), keepInputFields));\\n\\t\\treturn xml.toString();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"206b479c6e981490dfcc9d9ff58f55c0\",\n \"score\": \"0.53251404\",\n \"text\": \"public XMLNode getDataXML() {\\n\\n //Obtiene el XML node\\n XMLNode xmlNode = null;\\n\\n xmlNode = (XMLNode)writeXML(0, XMLInterface.XML_IGNORE_DEPTH_COUNT);\\n //Regresa el resultado\\n return xmlNode;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c2b4aae5caf083f364e651019b42c070\",\n \"score\": \"0.5299584\",\n \"text\": \"@Override\\n public synchronized Appendable renderXml(final int spacing) {\\n final StringBuilder xml = new StringBuilder();\\n toXmlString(this, xml, spacing);\\n return xml;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f84b651bea1e2b70166f2c3598547ad4\",\n \"score\": \"0.52911186\",\n \"text\": \"public WriteXml() {\\r\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d18f4f3c2f124c86800633cb412ffbd\",\n \"score\": \"0.52899456\",\n \"text\": \"org.apache.xmlbeans.XmlString xgetHeterogen();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7a0e8969a38c8f801828796c50634577\",\n \"score\": \"0.5283487\",\n \"text\": \"public String getXML(Object obj) throws JAXBException {\\n\\t\\tStringWriter stringWriter = new StringWriter();\\n\\t\\tJAXBContext context = null;\\n\\t\\tMarshaller marshaller = null;\\n\\t\\tcontext = JAXBContext.newInstance(obj.getClass());\\n\\t\\tmarshaller = context.createMarshaller();\\n\\t\\tmarshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);\\n\\t\\tmarshaller.setProperty(Marshaller.JAXB_ENCODING, \\\"UTF-8\\\");\\n\\t\\tmarshaller.marshal(obj, stringWriter);\\n\\t\\tString xmlString = stringWriter.getBuffer().toString();\\n\\n\\t\\tStringWriter writer = new StringWriter();\\n\\n\\t\\tTransformerFactory tf = TransformerFactory.newInstance();\\n\\t\\tTransformer transformer;\\n\\t\\ttry {\\n\\t\\t\\ttransformer = tf.newTransformer();\\n\\t\\t\\ttransformer.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, \\\"yes\\\");\\n\\t\\t\\ttransformer.transform(new StreamSource(new StringReader(xmlString)), new StreamResult(writer));\\n\\t\\t} catch (TransformerConfigurationException e) {\\n\\t\\t\\te.printStackTrace();\\n\\t\\t} catch (TransformerException e) {\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}\\n\\n\\t\\treturn writer.getBuffer().toString();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bff35866555d8e510d884f4c7af65171\",\n \"score\": \"0.528343\",\n \"text\": \"XmlContents createXmlContents();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"604fd2eea4ea524dbc25b331113562bc\",\n \"score\": \"0.5242261\",\n \"text\": \"public String toString() {\\n return root.toString();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3616d9f52ad4608889d34f52704e0fad\",\n \"score\": \"0.52375895\",\n \"text\": \"public static String toXml(Person person){\\n\\t\\txstream.setMode(XStream.NO_REFERENCES);\\n\\t\\t//注册使用了注解的实体\\n\\t\\txstream.processAnnotations(new Class[]{Person.class, Address.class});\\n\\t\\tString xml = xstream.toXML(person);\\n\\t\\treturn xml;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7d856fb29480081ea30077277f404c77\",\n \"score\": \"0.52293587\",\n \"text\": \"@Override\\n\\tpublic List> viewXML() {\\n\\t\\tList> mlist = new ArrayList>();\\n\\t\\tString sql = \\\"select * from comment\\\";\\n\\t\\t\\n\\t\\t\\n\\t\\ttry {\\n\\t\\t\\tdb.getConnetion();\\n\\t\\t\\tmlist = db.findMoreResult(sql, null);\\n\\t\\t} catch (SQLException e) {\\n\\t\\t\\t// TODO Auto-generated catch block\\n\\t\\t\\te.printStackTrace();\\n\\t\\t}finally{\\n\\t\\t\\tdb.releaseConn();\\n\\t\\t}\\n\\t\\t\\n\\t\\t\\n\\t\\treturn mlist;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"00c7f9e5a3be9ecc05b2fba5562aa0c6\",\n \"score\": \"0.522926\",\n \"text\": \"private String getXMLAsString(Object object) throws Exception {\\n\\t\\t\\n\\t\\tStringWriter sw = new StringWriter();\\n\\t\\tJAXBContext context = JAXBContext.newInstance(object.getClass());\\n\\t\\tMarshaller m = context.createMarshaller();\\n\\t\\t\\n\\t\\t//for pretty-print XML in JAXB\\n\\t\\tm.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);\\n\\t\\tm.setProperty(Marshaller.JAXB_FRAGMENT, Boolean.TRUE);\\n\\n\\t\\t// Write to File\\n\\t\\tm.marshal(object, sw);\\n\\t\\treturn sw.toString();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8e060c965ae57ab1bff10d44e3685349\",\n \"score\": \"0.52241594\",\n \"text\": \"public Element toXML() {\\n\\t\\tElement e = DocumentHelper.createElement(\\\"excerption\\\"); //$NON-NLS-1$\\n\\t\\te.addElement(\\\"sourceFilePath\\\").addText(pathInSourceFile); //$NON-NLS-1$\\n\\t\\te.addElement(\\\"startPos\\\").addText(startPos.toString()); //$NON-NLS-1$\\n\\t\\te.addElement(\\\"endPos\\\").addText(endPos.toString()); //$NON-NLS-1$\\n\\t\\treturn e;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"727a3f863243b2a47d7cb303aa0af723\",\n \"score\": \"0.52241284\",\n \"text\": \"private String getFormXML() {\\n FormXmlBuilder builder = new FormXmlBuilder(config, pack, meta, form, new XmlValidatorImpl());\\n return builder.getXML();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e155c18bb7a2ae63d8cd31e0ed83f06f\",\n \"score\": \"0.5217558\",\n \"text\": \"public abstract String getXmlFormat();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e7309ffa576a556cf4b8857f9a388e7a\",\n \"score\": \"0.52073646\",\n \"text\": \"@Override\\r\\n\\tpublic String toString() {\\r\\n\\t\\treturn getClass().getSimpleName() + \\\"\\\";\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"37fac23c634d57440061150ae748e39a\",\n \"score\": \"0.5202743\",\n \"text\": \"public SoapDataConsumer(){\\n Jaxb2Marshaller marshaller = new Jaxb2Marshaller();\\n marshaller.setContextPath(\\\"es.daniel.outputgui.data\\\");\\n setMarshaller(marshaller);\\n setUnmarshaller(marshaller);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"722157fd441f8e13be61ad6a19ef591d\",\n \"score\": \"0.5200999\",\n \"text\": \"private String streamXML() {\\n return BatchExecutionHelper.newXStreamMarshaller().toXML(batchCommand());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"616707300cbaffcc356bc232e682257c\",\n \"score\": \"0.5186972\",\n \"text\": \"public java.lang.String getXml() {\\n java.lang.Object ref = xml_;\\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 xml_ = s;\\n return s;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f77195e6143d0ec1f52b105b0d457adf\",\n \"score\": \"0.5172341\",\n \"text\": \"public Document getRelationXML() {\\n\\t\\treturn relationXML;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b8de20901330319d5e10d7a2cf8e3f10\",\n \"score\": \"0.51723355\",\n \"text\": \"abstract public String getXMLString();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"540d07353a4ce99d60949a3a5dc88336\",\n \"score\": \"0.51626146\",\n \"text\": \"public boolean getEscapeXml() {\\n\\t\\treturn super.escapeXml;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13e545b1ee37665b49259db5101a0e5b\",\n \"score\": \"0.51601154\",\n \"text\": \"public java.lang.String getXml() {\\n java.lang.Object ref = xml_;\\n if (!(ref instanceof java.lang.String)) {\\n com.google.protobuf.ByteString bs =\\n (com.google.protobuf.ByteString) ref;\\n java.lang.String s = bs.toStringUtf8();\\n xml_ = s;\\n return s;\\n } else {\\n return (java.lang.String) ref;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2e6dcfe52077b5f73c4e7bfcd06d9068\",\n \"score\": \"0.5158704\",\n \"text\": \"@Override\\n\\tpublic String toString() {\\n\\t\\t//TODO implement me!!!\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da4620c3c1ab52fd6731b7fbaa477324\",\n \"score\": \"0.51572603\",\n \"text\": \"@Override\\n\\t\\t\\tpublic String toString() {\\n\\t\\t\\t\\treturn super.toString();\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf64269dec12dea95c92beef105cfb71\",\n \"score\": \"0.5154453\",\n \"text\": \"@Override\\n\\t\\tpublic String toString() {\\n\\t\\t\\treturn \\\"DataTree [rootNode=\\\" + rootNode + \\\"]\\\";\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5a47b58b163a949b09de942472d11852\",\n \"score\": \"0.51446587\",\n \"text\": \"@Override\\n protected void loadXMLDescription() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d653e4080e238a2e351d228c0c637483\",\n \"score\": \"0.51343125\",\n \"text\": \"@Override\\r\\n public String toString() {\\r\\n return ReflectionToStringBuilder.toString(this);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc526cd149ceeda31a5a38bc4c4930dc\",\n \"score\": \"0.5129467\",\n \"text\": \"@Override\\r\\n public String toString() {\\r\\n return OpbToStringHelper.toString(this);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1234913465dbee4e40c9a6530e86ba8d\",\n \"score\": \"0.5125928\",\n \"text\": \"public String toString_d() {\\r\\n return root.toStringAll();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1946bf0ca0bacaf3631b0583efda5efc\",\n \"score\": \"0.5121113\",\n \"text\": \"@Override\\r\\n\\tpublic Element serialize() {\\n\\t\\treturn null;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4e68b88279ce340f50ebd347246820c\",\n \"score\": \"0.5110834\",\n \"text\": \"@Override\\r\\n\\tpublic String toString() {\\n\\t\\treturn super.toString();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4e68b88279ce340f50ebd347246820c\",\n \"score\": \"0.5110834\",\n \"text\": \"@Override\\r\\n\\tpublic String toString() {\\n\\t\\treturn super.toString();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4e68b88279ce340f50ebd347246820c\",\n \"score\": \"0.5110834\",\n \"text\": \"@Override\\r\\n\\tpublic String toString() {\\n\\t\\treturn super.toString();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c6c89617345a97ed8b43fdb0810f9b70\",\n \"score\": \"0.510919\",\n \"text\": \"@Override\\r\\n\\tpublic String toString() {\\n\\t\\treturn elemento.toString();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"56dd4195fb5492509dc26ad221dbe026\",\n \"score\": \"0.51023185\",\n \"text\": \"@Override\\n public XmlStringBuilder toXML(XmlEnvironment xmlEnvironment)\\n {\\n XmlStringBuilder xml = new XmlStringBuilder(this);\\n\\n // add the rest of the attributes if any\\n for (Map.Entry entry : attributes.entrySet()) {\\n xml.optAttribute(entry.getKey(), entry.getValue().toString());\\n }\\n xml.rightAngleBracket();\\n\\n xml.optElement(ELEMENT_DISPLAY_TEXT, displayText);\\n xml.optElement(ELEMENT_CALLID, callID);\\n xml.optElement(ELEMENT_FROMTAG, fromTag);\\n xml.optElement(ELEMENT_TOTAG, toTag);\\n\\n for (ExtensionElement ext : getChildExtensions()) {\\n xml.append(ext.toXML(XmlEnvironment.EMPTY));\\n }\\n xml.closeElement(ELEMENT);\\n return xml;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"74de2cee768e44bf752daa01709d286b\",\n \"score\": \"0.5101795\",\n \"text\": \"@Override\\n\\tpublic String toString() {\\n\\t\\treturn \\\"\\\"; // TODO\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"12948e758967f812bbf98140be1846fe\",\n \"score\": \"0.5094558\",\n \"text\": \"@Override\\r\\n public String toString() {\\r\\n return super.toString();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c53a783b3905630f68ac6efb23f39b2a\",\n \"score\": \"0.5093339\",\n \"text\": \"public String serialize() {\\n Gson gson = new Gson();\\n return gson.toJson(this);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"006cd3b74e48ae3b1571f5181edb77d1\",\n \"score\": \"0.5092021\",\n \"text\": \"public String toStringFXMLend(){\\r\\n\\t\\tString re = \\\"\\\";\\r\\n\\t\\t\\r\\n\\t\\tif(this.type == ComponentType.AnchorPane){\\r\\n\\t\\t\\tre = \\\" \\\";\\r\\n\\t\\t}else if(this.type == ComponentType.Button){\\r\\n\\t\\t\\tre = \\\"\\\";\\r\\n\\t\\t}else if(this.type == ComponentType.HBox){\\r\\n\\t\\t\\tre = \\\" \\\";\\r\\n\\t\\t}else if(this.type == ComponentType.Label){\\r\\n\\t\\t\\tre = \\\" \\\";\\r\\n\\t\\t}else if(this.type == ComponentType.TextArea){\\r\\n\\t\\t\\tre = \\\" \\\";\\r\\n\\t\\t}else if(this.type==ComponentType.VBox){\\r\\n\\t\\t\\tre = \\\" \\\";\\r\\n\\t\\t}\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\treturn re;\\r\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":382,"cells":{"query_id":{"kind":"string","value":"6facd61747cc7efe8fd9c7f37db1f111"},"query":{"kind":"string","value":"Does the current album have a cache"},"positive_passages":{"kind":"list like","value":[{"docid":"7a083fc96340fa3e754d97f59b3f41c3","score":"0.6619445","text":"private boolean isCurrentCacheFolderData(int position) {\n mTvPictureTitle.setTag(R.id.view_index_tag, position);\n LocalMediaFolder currentFolder = albumView.getFolder(position);\n if (currentFolder != null\n && currentFolder.getData() != null\n && currentFolder.getData().size() > 0) {\n mAdapter.bindData(currentFolder.getData());\n mPage = currentFolder.getCurrentDataPage();\n isHasMore = currentFolder.isHasMore();\n mRecyclerView.smoothScrollToPosition(0);\n\n return true;\n }\n return false;\n }","title":""}],"string":"[\n {\n \"docid\": \"7a083fc96340fa3e754d97f59b3f41c3\",\n \"score\": \"0.6619445\",\n \"text\": \"private boolean isCurrentCacheFolderData(int position) {\\n mTvPictureTitle.setTag(R.id.view_index_tag, position);\\n LocalMediaFolder currentFolder = albumView.getFolder(position);\\n if (currentFolder != null\\n && currentFolder.getData() != null\\n && currentFolder.getData().size() > 0) {\\n mAdapter.bindData(currentFolder.getData());\\n mPage = currentFolder.getCurrentDataPage();\\n isHasMore = currentFolder.isHasMore();\\n mRecyclerView.smoothScrollToPosition(0);\\n\\n return true;\\n }\\n return false;\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"deafc5d4f3b82882bab355b463071366","score":"0.76296526","text":"boolean inCache();","title":""},{"docid":"18abcd9ac09bd32c2461b459d8b59781","score":"0.72413254","text":"public boolean isCached() {\n return isCached;\n }","title":""},{"docid":"aac2c19fb3e8988b35c9440a428b7a9f","score":"0.72177833","text":"boolean getCacheable();","title":""},{"docid":"d038d67dcc4de6aee2b7cda10f4e6152","score":"0.72078073","text":"public boolean isCache()\n/* */ {\n/* 116 */ return this.cacheLimit > 0;\n/* */ }","title":""},{"docid":"829be70dde0517350e67ceae4aee8235","score":"0.71843857","text":"public boolean issetCache() {\n\t\treturn file.exists();\n\t}","title":""},{"docid":"391248b4776a671eb6dc918964069b18","score":"0.71234816","text":"public boolean isCached(HttpRequest request) {\n\t\treturn false;\r\n\t}","title":""},{"docid":"e046085260a9e324159d74c2cd6297bc","score":"0.7039727","text":"public boolean isCache() {\n return false;\n }","title":""},{"docid":"214bf048fd3062841c47a4193c2192ac","score":"0.70026225","text":"public boolean isCached() {\n if (file == null) {\n return false;\n }\n else {\n try {\n if ((file.canRead()) && (file.isFile())) {\n return true;\n }\n else {\n return false;\n }\n }\n catch(Exception e) {\n return false;\n }\n }\n }","title":""},{"docid":"d34c6bed895df42240d1b0c5f4f7dea2","score":"0.6958621","text":"public boolean isCached(String url) {\n return mImageLoader.isCached(url);\n }","title":""},{"docid":"cfa493b84d8adbd6996c031360a1d0cc","score":"0.6943998","text":"boolean isCached(final String eventId);","title":""},{"docid":"0d61136eead55fe3d35e07767569aa99","score":"0.6811189","text":"private boolean isUseCache(Request request) {\n return request.isShouldCache() && null != requestCache.get(request.getUrl());\n }","title":""},{"docid":"27e4f9fc57d87bd61614fac26c79f064","score":"0.6803453","text":"boolean isCached(K key);","title":""},{"docid":"aa93362c42071e7427ec85d3c5897b80","score":"0.6797381","text":"protected boolean getCache() {\n\t\treturn true;\n\t}","title":""},{"docid":"6f3320c526ac19215ffa3d986ae17c83","score":"0.6795391","text":"public boolean isUseCache() {\n return useCache;\n }","title":""},{"docid":"db9f10e1938aee6c6c1cd7951c19d507","score":"0.6787398","text":"public boolean isSetCached()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().find_attribute_user(CACHED$8) != null;\n }\n }","title":""},{"docid":"9e919b34c363c8cbec61e26ac49fd82d","score":"0.6779519","text":"public boolean isCacheEntity() {\n return request == null;\n }","title":""},{"docid":"ebda8d02e16c0dfebba553353c0804ca","score":"0.6737055","text":"public boolean hasCacheFiles(){\n File filePath = context.getFilesDir();\n\n if (filePath.isDirectory())\n {\n if(filePath.list().length > 0){\n return true;\n }\n }\n return false;\n }","title":""},{"docid":"de383b2066ab2a6cfd766b5e9d35f266","score":"0.66860276","text":"public boolean isUseCache() {\r\n\t\treturn useCache;\r\n\t}","title":""},{"docid":"d07b6af2b805248ce4277d60b45f27b7","score":"0.6648068","text":"@VisibleForTesting\n protected boolean isCached(Uri baseUri, long id) {\n int match = findMatch(baseUri, \"isCached\");\n int table = match >> BASE_SHIFT;\n ContentCache cache = mContentCaches[table];\n if (cache == null) return false;\n Cursor cc = cache.get(Long.toString(id));\n return (cc != null);\n }","title":""},{"docid":"2f3b189e2ccd4ca8ed370594ee701c4a","score":"0.66463876","text":"private boolean getShowFromCache(String request) {\n\t\tint showId = 0;\n\t\t\n\t\ttry {\n\t\t\tshowId = Integer.parseInt(request.substring(request.lastIndexOf(\"/\")+1));\t\n\t\t} catch (StringIndexOutOfBoundsException e) {\n\t\t\tLog.e(TAG, \"Can't look for \" + request + \" so assuming not in cache.\");\n\t\t\treturn false;\n\t\t} catch (NumberFormatException nfe) {\n\t\t\tLog.e(TAG, \"Request doesn't contain a showId: \" + request);\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\tLog.i(TAG, \"found showId in requestforcache: \" + showId);\n\t\tCursor cursor = mDbHelper.fetchShow(showId);\n\t\tboolean isEmpty = cursor.getCount() == 0; \n\t\tif (!isEmpty) {\n\t\t\tthis.bdShow = mDbHelper.cursorToShow(cursor);\n\t\t}\n\t\tcursor.close();\n\t\t\n\t\treturn !isEmpty;\n\t}","title":""},{"docid":"8269d8ebb49810599076c0d3a498fc82","score":"0.6640367","text":"protected boolean cached(String cacheKey){\r\n\t\treturn cache.containsKey(cacheKey);\r\n\t}","title":""},{"docid":"4059584b1385c681c0a25b8b242b5f6b","score":"0.6634547","text":"boolean isCacheable();","title":""},{"docid":"ff9bbe2b21cc434bd6e5db558bbc37e6","score":"0.65632176","text":"public boolean showExistsInCache(Show show) {\n return false;\n }","title":""},{"docid":"b580aca435c4d5bb88f69ac24adacc27","score":"0.6557416","text":"public boolean hasCached(ModuleId identifier) {\n\t\treturn cache.containsKey(identifier);\n\t}","title":""},{"docid":"99cf17f336ce186804b350596385bce2","score":"0.65320903","text":"public boolean hasCachedValues() {\n return !unknown;\n }","title":""},{"docid":"4995a9e72359a6d6965d474871a0d908","score":"0.6495131","text":"public boolean isCacheHash() {\n return isUseLazyhash() || isUsePrehashed();\n }","title":""},{"docid":"ea6e70a137276c8a1ef7587b9a8ae946","score":"0.6491721","text":"public boolean isCacheStillValid() {\n return true;\n }","title":""},{"docid":"7a9288c487ccfd39289950eda2e7d155","score":"0.6484382","text":"boolean getAutoCacheState();","title":""},{"docid":"27e9c2583d389883660cd1b636a330cb","score":"0.64427316","text":"public boolean isCacheUnresolved()\n/* */ {\n/* 139 */ return this.cacheUnresolved;\n/* */ }","title":""},{"docid":"7d5be4984e2cbde4b00c56b6c8aec755","score":"0.64384407","text":"private boolean fetchFilesFromCache() {\n if (adapter != null) {\n adapter.cancelThumbLoad();\n }\n\n if (!viewmode.equals(\"files\")) {\n return false;\n }\n\n // Get cached children\n ArrayList cachedFiles = filelistCache.getChildren(getCurrentFolderId());\n\n if (cachedFiles.size() > 0) {\n emptyList();\n items.addAll(cachedFiles);\n filteredItems.addAll(cachedFiles);\n\n if (hierarchy.size() == 1) {\n hierarchy.set(0, filelistCache.getFile(getCurrentFolderId()));\n }\n\n displayFiles();\n }\n\n return (cachedFiles.size() > 0);\n }","title":""},{"docid":"b516d783c96f6dedde6e3bed0d18499e","score":"0.64372164","text":"@Override\r\n\tpublic boolean needCache() {\n\t\treturn false;\r\n\t}","title":""},{"docid":"43bd00797896e282563a685204119d7a","score":"0.6421426","text":"public boolean isReady()\r\n\t{\r\n\t\treturn cache.isReady();\r\n\t}","title":""},{"docid":"20b0c43a41f5d5e26cdd3fda61f4867f","score":"0.64200795","text":"boolean isCached(Statement statement);","title":""},{"docid":"8dd0718a91be386ccae87857d7c6d068","score":"0.6403824","text":"public boolean isCacheStillValid() {\n return false;\n }","title":""},{"docid":"3722a4273dc0cfe0b85938b5822f6ca4","score":"0.6374796","text":"public static boolean hasExternalCacheDir() {\n return Build.VERSION.SDK_INT >= Build.VERSION_CODES.FROYO;\n }","title":""},{"docid":"45a63ce1888cbe7b6ca725692692aad5","score":"0.6349914","text":"public boolean isUsingCaching() {\r\n\t\treturn useCaching;\r\n\t}","title":""},{"docid":"f5665acbd7575363c4fa886ea4830ef5","score":"0.6303272","text":"public boolean isPresent(CacheKey cacheKey)\n\t\t\tthrows com.tyba.technicalServices.cache.CachingException {\n\t\treturn false;\n\t}","title":""},{"docid":"4f25728158837e8f0654c429bf7bc45b","score":"0.62521553","text":"public boolean contains(String imageUrl) {\n\t\treturn cacheInfo.containsKey(imageUrl);\n\t}","title":""},{"docid":"3db356098ae5ac747a09b32d96ef853d","score":"0.61955327","text":"boolean hasAsset();","title":""},{"docid":"3db356098ae5ac747a09b32d96ef853d","score":"0.61955327","text":"boolean hasAsset();","title":""},{"docid":"3db356098ae5ac747a09b32d96ef853d","score":"0.61955327","text":"boolean hasAsset();","title":""},{"docid":"e507fca35852b614ab5f6c4692154577","score":"0.6195203","text":"public boolean isCachedAtomContainer(IAtomContainer container) {\n\t\tif (cachedDescriptorValues == null) return false;\n\t\treturn (cachedDescriptorValues.get(PREVIOUS_ATOMCONTAINER) == container);\n\t}","title":""},{"docid":"5603abbf6f260d45a21e5bcc7a07b804","score":"0.6156898","text":"public boolean getCacheWiz();","title":""},{"docid":"603a442d422d0f1424c0d9aa44f10e06","score":"0.6152814","text":"public boolean hasItem() {\n return genClient.cacheHasKey(CacheKey.item);\n }","title":""},{"docid":"d8461ddbbfb2c376803b0e53ce426355","score":"0.6152263","text":"public boolean hasAsset() {\n return asset_ != null;\n }","title":""},{"docid":"0f029831aba4df3ffbf3caed9e879a0f","score":"0.61150336","text":"public boolean isCacheInvalidationRequired() {\n\t\treturn hasFormulaProperties() ||\n\t\t\t\t( !isVersioned() && ( entityMetamodel.isDynamicUpdate() || getTableSpan() > 1 ) );\n\t}","title":""},{"docid":"2eba4a4b0c84fd294e6c7cc67c60a2f4","score":"0.61084026","text":"@Override\n public boolean test(UnknownSdkSnapshot snapshot) {\n if (snapshot.equals(myPreviousRequestCache)) return false;\n myPreviousRequestCache = snapshot;\n return true;\n }","title":""},{"docid":"2710018e4569e0a6f12b9466afe40d29","score":"0.6105956","text":"private boolean loadImageCache() {\n\t\timageCache = new HashMap<>();\n\t\t\n\t\ttry {\n\t\t\timageCache.put(\"b-left\", ImageIO.read(new File(path, \"b-left.png\")));\n\t\t\timageCache.put(\"b-right\", ImageIO.read(new File(path, \"b-right.png\")));\n\t\t\timageCache.put(\"player\", ImageIO.read(new File(path, \"player.png\")));\n\t\t\timageCache.put(\"farmer\", ImageIO.read(new File(path, \"farmer.png\")));\n\t\t\timageCache.put(\"doctor\", ImageIO.read(new File(path, \"doctor.png\")));\n\t\t} catch (Exception e) {\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\treturn true;\n\t\t\n\t}","title":""},{"docid":"099cfc4e74efb45ddbafb562f0c2a96f","score":"0.6103004","text":"boolean noCache();","title":""},{"docid":"e5f2a2198d46d24e55e8453cfa8d810a","score":"0.60860825","text":"public boolean hasItems() {\n return cacheHasKey(CacheKey.items);\n }","title":""},{"docid":"ac01da250658c0e687ac49db3d05315e","score":"0.60791415","text":"public static boolean hasNextCache() {\n \t\tfor (boolean cached : plugins.values()) {\n \t\t\tif (!cached) {\n \t\t\t\treturn true;\n \t\t\t}\n \t\t}\n \t\treturn false;\n \t}","title":""},{"docid":"2f36d60eefe21edf870be9ae23bad1d1","score":"0.6077906","text":"public boolean isCacheable() {\n return true;\n }","title":""},{"docid":"4d8b14d971d0346361343ff4294bd719","score":"0.6073825","text":"boolean isBrowserCacheable() {\n return (isReleaseVersion() && isMatchingPluginVersionInstalled());\n }","title":""},{"docid":"745a3a662f1e22804eba837150bafb1a","score":"0.6056173","text":"private boolean cacheOutdated() {\n return this.__cacheTraceCount < 0 || this.__cacheTraceCount != this.spectra.getTraces().size();\n }","title":""},{"docid":"184d3215d2821afa0ebc2a36ddb1d475","score":"0.6054722","text":"public boolean isUseHitTestCache() {\n return useHitTestCache;\n }","title":""},{"docid":"b0269d866f1d186de53ddf562164c881","score":"0.605448","text":"public boolean isPresent(CacheKey cacheKey, String regionName)\n\t\t\tthrows com.tyba.technicalServices.cache.CachingException {\n\t\treturn false;\n\t}","title":""},{"docid":"6c65f942d1e72cd3b7d448501705f983","score":"0.60105526","text":"protected boolean onPerformCacheRead() {\n if (!isLoading()) {\n cache.readAsync(getAdapter(), this);\n return true;\n }\n return false;\n }","title":""},{"docid":"98a0552d6ffaa1cf5dbc21d3745e39da","score":"0.599941","text":"public static boolean isCached(String group) {\n return getGroups().contains(group);\n }","title":""},{"docid":"496857c365d945e789a44104d5ba5952","score":"0.5997869","text":"boolean getIgnoreCache();","title":""},{"docid":"cff19feeb79350b77c213537b6d02dac","score":"0.5995454","text":"public boolean getCached()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CACHED$8);\n if (target == null)\n {\n return false;\n }\n return target.getBooleanValue();\n }\n }","title":""},{"docid":"f746860ff50b60578b112dfb3af3eaeb","score":"0.5984334","text":"public static boolean isCacheAvailableOnAndroid() {\n try {\n Class cache = Class.forName(\"android.net.http.HttpResponseCache\");\n cache.getMethod(\"getInstalled\").invoke(null);\n androidSupportCache = true;\n } catch (ClassNotFoundException e) {\n LogUtil.printError(\"Could not find Class: android.net.http.HttpResponseCache\", e.getCause());\n androidSupportCache = false;\n } catch (NoSuchMethodException e) {\n LogUtil.printError(\"Could not find Method: getInstalled\", e.getCause());\n androidSupportCache = false;\n } catch (IllegalAccessException e) {\n LogUtil.printError(\"Could not access Method: getInstalled\", e.getCause());\n androidSupportCache = false;\n } catch (InvocationTargetException e) {\n LogUtil.printError(\"Failed to invoke Method: getInstalled\", e.getCause());\n androidSupportCache = false;\n }\n return androidSupportCache;\n }","title":""},{"docid":"6b23ea12e8989beaafe71869555a4188","score":"0.5955326","text":"public boolean containsCache(String serviceType,String opName){\n\tDescription description = new Description(serviceType, opName);\n \tif (caches.containsKey(description))\n \t{\n \t List descriptions = caches.get(description);\n \t return descriptions!= null && descriptions.size() > 0;\n \t}\n \treturn false;\n }","title":""},{"docid":"ffd03863c699c016d13293e07703eff7","score":"0.59547454","text":"public boolean addCache() {\n\n if (poplist.isEmpty() || remainingMemory == 0)\n return false; // if the RequestList is empty or the cache is full return false\n\n // Delete video that are too big for the buffer\n while (!poplist.isEmpty() && Parser.videos.get(poplist.get(poplist.lastKey())) > remainingMemory) {\n poplist.remove(poplist.firstKey());\n }\n \n if (poplist.isEmpty() || remainingMemory == 0)\n return false; // if the RequestList is empty or the cache is full return false\n\n int videoAdd = poplist.remove(poplist.lastKey());// Get the id of the video to add to the buffer\n\n videos.add(videoAdd);\n remainingMemory -= Parser.videos.get(videoAdd); // reduce de size of remainingMemory\n return true;\n }","title":""},{"docid":"67e64db8661bac723662d84b0a0f38b2","score":"0.59303117","text":"@java.lang.Override\n public boolean hasAsset() {\n return asset_ != null;\n }","title":""},{"docid":"c6eb097e3a13d2a1b328fb8fb84ddd73","score":"0.5922155","text":"boolean isCached(Class type, Serializable key);","title":""},{"docid":"4b91471dec11033d15d37c57bdbcad32","score":"0.5916015","text":"@Override\n\tpublic final boolean isCacheable() {\n\t\treturn true;\n\t}","title":""},{"docid":"b18f3b59154b2078d59f09619e2cf254","score":"0.58757067","text":"private boolean getEpisodeFromCache(String request) {\n\t\tint epId = 0;\n\n\t\ttry {\n\t\t\tepId = Integer.parseInt(request.substring(request.lastIndexOf(\"/\")+1));\t\n\t\t} catch (StringIndexOutOfBoundsException e) {\n\t\t\tLog.e(TAG, \"Can't look for \" + request + \" so assuming not in cache.\");\n\t\t\treturn false;\n\t\t} catch (NumberFormatException nfe) {\n\t\t\tLog.e(TAG, \"Request doesn't contain an epId: \" + request);\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\tLog.i(TAG, \"found epid in cache: \" + epId);\n\t\tCursor cursor = mDbHelper.fetchEpisode(epId);\n\t\tboolean isEmpty = cursor.getCount() != 0; \n\t\tif (!isEmpty) {\n\t\t\tthis.bdEp= mDbHelper.cursorToEpisode(cursor);\n\t\t}\n\t\tcursor.close();\n\t\n\t\treturn !isEmpty;\n\t}","title":""},{"docid":"7ee8ab21790471fe064ad3f16eedc086","score":"0.58604056","text":"@Override\n public boolean isOn() {\n if (BardFeatureFlag.DRUID_CACHE.isSet() || BardFeatureFlag.DRUID_CACHE_V2.isSet()) {\n // no cache\n if (this.value.equals(\"NoCache\")) {\n return ! BardFeatureFlag.DRUID_CACHE.isOn();\n }\n\n return (this.value.equals(\"Ttl\")\n && !BardFeatureFlag.DRUID_CACHE_V2.isOn()\n && BardFeatureFlag.DRUID_CACHE.isOn()\n )\n || (this.value.equals(\"LocalSignature\")\n && BardFeatureFlag.DRUID_CACHE.isOn()\n && BardFeatureFlag.DRUID_CACHE_V2.isOn());\n }\n return value.equalsIgnoreCase(\n SYSTEM_CONFIG.getStringProperty(\n SYSTEM_CONFIG.getPackageVariableName(\"query_response_caching_strategy\"),\n \"NoCache\"\n )\n );\n }","title":""},{"docid":"7fa0c85638a6a8f35708cb8f5d047be4","score":"0.5858174","text":"public boolean isCacheable() {\n return false;\n }","title":""},{"docid":"98453be7b45826d2ff68badae4d8756b","score":"0.58538043","text":"public boolean hasName() {\n return genClient.cacheHasKey(CacheKey.name);\n }","title":""},{"docid":"e0f21f41e4168a28d8bb14050e1adbf7","score":"0.5827156","text":"public boolean hasName() {\n return cacheHasKey(CacheKey.name);\n }","title":""},{"docid":"2e0cddbb8e3758effd4d48021a909c3a","score":"0.5824984","text":"private boolean shouldSaveToCache(ArrayList segments) {\n for (DataSegment segment:segments) {\n if (segment.shouldSaveToCache()) return true; // store the whole sequence in the cache if one segment requests it\n }\n return false;\n }","title":""},{"docid":"50805e1a9986b0f7387e300c27fa5ed2","score":"0.5804496","text":"protected void cacheExists(final boolean exists) {\n\t\tcachedExistsMap.put(new CacheKey(getClient(), getURI()), new CachedExists(exists)); //cache the information\n\t}","title":""},{"docid":"a6bd43aa41be2853ffbce09029328b98","score":"0.5801068","text":"public boolean isDeliveryDetailsCached(int offset) {\n return mRealm.where(DeliveryDetailsRealm.class).equalTo(\"id\", offset).count() > 0;\n }","title":""},{"docid":"56b3488372e11a10a414be95684d7fc0","score":"0.5789826","text":"private boolean checkIfCachedSimulationIsPossible() {\n\n if ((support.getMySimulationCache() != null) && (support.getMySimulationCache().getCacheSize() >= 1)) {\n if (support.getMySimulationCache().checkIfAllParameterMatchTable((parameterTableModel) this.jTableParameterList.getModel())) {\n support.log(\"Cached Simulation available, all Parameter match.\", typeOfLogLevel.INFO);\n support.setMySimulationCache(support.getMySimulationCache());\n support.setCachedSimulationEnabled(true);\n this.jButtonEmptyCache.setEnabled(true);\n } else {\n support.log(\"Cached Simulation not available, but all Parameter match. Maybe Stepping or Range is wrong.\", typeOfLogLevel.INFO);\n support.setCachedSimulationEnabled(false);\n }\n } else {\n support.log(\"Cached Simulation not available, no simulation cache given.\", typeOfLogLevel.INFO);\n support.setCachedSimulationEnabled(false);\n this.jButtonEmptyCache.setEnabled(false);\n }\n this.updateComboBoxSimulationType();\n this.jButtonEmptyCache.setEnabled(support.getMySimulationCache().getCacheSize() >= 1);\n this.saveProperties();\n return support.isCachedSimulationAvailable();\n }","title":""},{"docid":"a45a5a22b6a382d4f233327552a50c23","score":"0.5769164","text":"public boolean isConnected() {\r\n if (cacheServer != null && cacheServer.isConnected()) {\r\n return true;\r\n }\r\n return false;\r\n }","title":""},{"docid":"7d4e3b18892ee06063654a03d366d34e","score":"0.57551414","text":"private static boolean isUseTransactionCache() {\n\t\t// TODO Auto-generated method stub\n\t\treturn false;\n\t}","title":""},{"docid":"63118c93551ca38f81cfd8200c2cb7f2","score":"0.57228124","text":"public boolean getCacheWizFwd();","title":""},{"docid":"320e5a69685322b3e1f2d92af7091c5a","score":"0.5705474","text":"public static boolean isEnvironmentCached() {\n return cacheEnvironment;\n }","title":""},{"docid":"c1061bff10238b384b1fd7bef2c59246","score":"0.57022905","text":"public boolean isFresh() {\n return System.currentTimeMillis() - this.lastModified <= this.maxAge;\n }","title":""},{"docid":"d9b6fe7d610359db65fb400c5dd91afe","score":"0.5697668","text":"public boolean hasAsset() {\n return assetBuilder_ != null || asset_ != null;\n }","title":""},{"docid":"d9b6fe7d610359db65fb400c5dd91afe","score":"0.5697668","text":"public boolean hasAsset() {\n return assetBuilder_ != null || asset_ != null;\n }","title":""},{"docid":"c9bb4040dfcdd393c01492955f0c4ee1","score":"0.56806296","text":"@Override\n\tpublic boolean isExpired() {\n\t\treturn _editionGallery.isExpired();\n\t}","title":""},{"docid":"424de13ac116bd76bfb825a6d7cc5244","score":"0.56690985","text":"boolean isFresh();","title":""},{"docid":"e43061217f8dbeb45e3201bae965c5fc","score":"0.5644729","text":"private boolean checkRefreshNecessary()\n {\n boolean refreshNecessary = false;\n\n long currentTimestamp = Instant.now().getEpochSecond();\n long expires_At = currentAthlete.getExpires_At();\n\n if ((expires_At - 3600) < currentTimestamp)\n {\n refreshNecessary = true;\n }\n\n return refreshNecessary;\n }","title":""},{"docid":"0d0e54c886e119a0e952229551df9bcb","score":"0.5638528","text":"public boolean cached(int i) {\r\n\t\tboolean ok;\r\n\t\tint pos = lookup(i);\r\n\t\tif (index[pos] == i) {\r\n\t\t\tif (last_used[pos] > 0) {\r\n\t\t\t\tok = true;\r\n\t\t\t} else {\r\n\t\t\t\tok = false;\r\n\t\t\t};\r\n\t\t} else {\r\n\t\t\tok = false;\r\n\t\t};\r\n\t\treturn (ok);\r\n\t}","title":""},{"docid":"5112286f7b5f7abc49681f6c00de7d76","score":"0.5629166","text":"@Cacheable({\"product5\"})\n boolean existsByName(String name);","title":""},{"docid":"24c0b6e34257a77b3dd83a1bed2530d6","score":"0.5628819","text":"public boolean isInMemory();","title":""},{"docid":"34abcc009819688fb4ead2f06ae70d12","score":"0.56279564","text":"boolean getCachePreparedQuery();","title":""},{"docid":"dcdd0de06352c187a155a066d8fdb860","score":"0.5596803","text":"public boolean isFetching()\n {\n return mFetchTask != null;\n }","title":""},{"docid":"e5f4b5d99fc807eb5204d58317289191","score":"0.5586782","text":"@Override\n\tprotected boolean isValidDataCacheEnabled() {\n\t\treturn false;\n\t}","title":""},{"docid":"0cb181afd44f8de7eef49bd13d04bbd5","score":"0.5586579","text":"public boolean loadCacheFromManifest() throws IOException {\n if (_fileSystem.exists(_newManifest)) {\n loadCacheFromManifest(_newManifest);\n return true;\n } else if (_fileSystem.exists(_manifest)) {\n loadCacheFromManifest(_manifest);\n return true;\n } else {\n return false;\n }\n }","title":""},{"docid":"a8a3e038de5d733c654ae82fb618bf83","score":"0.5584928","text":"public boolean contains(Object key) {\n\t\treturn underlyingCache.toMap().containsKey( key );\r\n\t}","title":""},{"docid":"c37af592ed1c8e30ca83236d037485d1","score":"0.55421704","text":"public boolean hasCover() {\n\treturn image_cover != null;\n }","title":""},{"docid":"0d06f0391651c8d35e80f0906a2b215d","score":"0.55384237","text":"public static void isCacheEmpty() throws ClassNotFoundException, RemoteReadException, IOException\n\t{\n\t\tString cacheKey;\n\t\tIsCacheEmptyInPointingStoreResponse response;\n\t\tfor (int i = 0; i < cacheMaxNum; i++)\n\t\t{\n\t\t\tcacheKey = \"Cache\" + i;\n\t\t\tresponse = FrontReader.RR().isPointingCacheEmpty(cacheKey);\n\t\t\tif (response.isEmpty())\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Cache key = \" + cacheKey + \" is EMPTY in the store\");\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Cache key = \" + cacheKey + \" is NOT EMPTY in the store\");\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"ac1697aa2f376a7b923e38bf18cc355e","score":"0.55345356","text":"boolean hasUse();","title":""},{"docid":"4ddebd38b8d0b0c85264d523021390bc","score":"0.55259097","text":"public boolean clearCache() {\n if (cache!=null) return cache.clearCache();\n else return true;\n }","title":""},{"docid":"78b30b10f93e3752118431ba1f35499a","score":"0.55223393","text":"public boolean hasTitle() {\n return genClient.cacheHasKey(CacheKey.title);\n }","title":""},{"docid":"56053a3725f03a78f175c981061bd30e","score":"0.5513136","text":"public Object getCache();","title":""},{"docid":"f9a82acb62b4bc1f08d8dd7c89234e24","score":"0.5506789","text":"private static boolean hasCacheProperty(String cacheName, String suffix) {\n String propName = PROPERTY_PREFIX_CACHE + cacheName.replaceAll(\" \", \"\") + suffix;\n String sizeProp = JiveGlobals.getProperty(propName);\n if (sizeProp == null && cacheNames.containsKey(cacheName)) {\n // No system property was found for the cache name so try now with short name\n propName = PROPERTY_PREFIX_CACHE + cacheNames.get(cacheName) + suffix;\n sizeProp = JiveGlobals.getProperty(propName);\n }\n if (sizeProp != null) {\n try {\n Long.parseLong(sizeProp);\n return true;\n }\n catch (NumberFormatException nfe) {\n log.warn(\"Unable to parse \" + propName + \" using default value.\");\n }\n }\n return false;\n }","title":""}],"string":"[\n {\n \"docid\": \"deafc5d4f3b82882bab355b463071366\",\n \"score\": \"0.76296526\",\n \"text\": \"boolean inCache();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"18abcd9ac09bd32c2461b459d8b59781\",\n \"score\": \"0.72413254\",\n \"text\": \"public boolean isCached() {\\n return isCached;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aac2c19fb3e8988b35c9440a428b7a9f\",\n \"score\": \"0.72177833\",\n \"text\": \"boolean getCacheable();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d038d67dcc4de6aee2b7cda10f4e6152\",\n \"score\": \"0.72078073\",\n \"text\": \"public boolean isCache()\\n/* */ {\\n/* 116 */ return this.cacheLimit > 0;\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"829be70dde0517350e67ceae4aee8235\",\n \"score\": \"0.71843857\",\n \"text\": \"public boolean issetCache() {\\n\\t\\treturn file.exists();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"391248b4776a671eb6dc918964069b18\",\n \"score\": \"0.71234816\",\n \"text\": \"public boolean isCached(HttpRequest request) {\\n\\t\\treturn false;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e046085260a9e324159d74c2cd6297bc\",\n \"score\": \"0.7039727\",\n \"text\": \"public boolean isCache() {\\n return false;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"214bf048fd3062841c47a4193c2192ac\",\n \"score\": \"0.70026225\",\n \"text\": \"public boolean isCached() {\\n if (file == null) {\\n return false;\\n }\\n else {\\n try {\\n if ((file.canRead()) && (file.isFile())) {\\n return true;\\n }\\n else {\\n return false;\\n }\\n }\\n catch(Exception e) {\\n return false;\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d34c6bed895df42240d1b0c5f4f7dea2\",\n \"score\": \"0.6958621\",\n \"text\": \"public boolean isCached(String url) {\\n return mImageLoader.isCached(url);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cfa493b84d8adbd6996c031360a1d0cc\",\n \"score\": \"0.6943998\",\n \"text\": \"boolean isCached(final String eventId);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d61136eead55fe3d35e07767569aa99\",\n \"score\": \"0.6811189\",\n \"text\": \"private boolean isUseCache(Request request) {\\n return request.isShouldCache() && null != requestCache.get(request.getUrl());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"27e4f9fc57d87bd61614fac26c79f064\",\n \"score\": \"0.6803453\",\n \"text\": \"boolean isCached(K key);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aa93362c42071e7427ec85d3c5897b80\",\n \"score\": \"0.6797381\",\n \"text\": \"protected boolean getCache() {\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f3320c526ac19215ffa3d986ae17c83\",\n \"score\": \"0.6795391\",\n \"text\": \"public boolean isUseCache() {\\n return useCache;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"db9f10e1938aee6c6c1cd7951c19d507\",\n \"score\": \"0.6787398\",\n \"text\": \"public boolean isSetCached()\\n {\\n synchronized (monitor())\\n {\\n check_orphaned();\\n return get_store().find_attribute_user(CACHED$8) != null;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9e919b34c363c8cbec61e26ac49fd82d\",\n \"score\": \"0.6779519\",\n \"text\": \"public boolean isCacheEntity() {\\n return request == null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ebda8d02e16c0dfebba553353c0804ca\",\n \"score\": \"0.6737055\",\n \"text\": \"public boolean hasCacheFiles(){\\n File filePath = context.getFilesDir();\\n\\n if (filePath.isDirectory())\\n {\\n if(filePath.list().length > 0){\\n return true;\\n }\\n }\\n return false;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"de383b2066ab2a6cfd766b5e9d35f266\",\n \"score\": \"0.66860276\",\n \"text\": \"public boolean isUseCache() {\\r\\n\\t\\treturn useCache;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d07b6af2b805248ce4277d60b45f27b7\",\n \"score\": \"0.6648068\",\n \"text\": \"@VisibleForTesting\\n protected boolean isCached(Uri baseUri, long id) {\\n int match = findMatch(baseUri, \\\"isCached\\\");\\n int table = match >> BASE_SHIFT;\\n ContentCache cache = mContentCaches[table];\\n if (cache == null) return false;\\n Cursor cc = cache.get(Long.toString(id));\\n return (cc != null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2f3b189e2ccd4ca8ed370594ee701c4a\",\n \"score\": \"0.66463876\",\n \"text\": \"private boolean getShowFromCache(String request) {\\n\\t\\tint showId = 0;\\n\\t\\t\\n\\t\\ttry {\\n\\t\\t\\tshowId = Integer.parseInt(request.substring(request.lastIndexOf(\\\"/\\\")+1));\\t\\n\\t\\t} catch (StringIndexOutOfBoundsException e) {\\n\\t\\t\\tLog.e(TAG, \\\"Can't look for \\\" + request + \\\" so assuming not in cache.\\\");\\n\\t\\t\\treturn false;\\n\\t\\t} catch (NumberFormatException nfe) {\\n\\t\\t\\tLog.e(TAG, \\\"Request doesn't contain a showId: \\\" + request);\\n\\t\\t\\treturn false;\\n\\t\\t}\\n\\t\\t\\n\\t\\tLog.i(TAG, \\\"found showId in requestforcache: \\\" + showId);\\n\\t\\tCursor cursor = mDbHelper.fetchShow(showId);\\n\\t\\tboolean isEmpty = cursor.getCount() == 0; \\n\\t\\tif (!isEmpty) {\\n\\t\\t\\tthis.bdShow = mDbHelper.cursorToShow(cursor);\\n\\t\\t}\\n\\t\\tcursor.close();\\n\\t\\t\\n\\t\\treturn !isEmpty;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8269d8ebb49810599076c0d3a498fc82\",\n \"score\": \"0.6640367\",\n \"text\": \"protected boolean cached(String cacheKey){\\r\\n\\t\\treturn cache.containsKey(cacheKey);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4059584b1385c681c0a25b8b242b5f6b\",\n \"score\": \"0.6634547\",\n \"text\": \"boolean isCacheable();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ff9bbe2b21cc434bd6e5db558bbc37e6\",\n \"score\": \"0.65632176\",\n \"text\": \"public boolean showExistsInCache(Show show) {\\n return false;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b580aca435c4d5bb88f69ac24adacc27\",\n \"score\": \"0.6557416\",\n \"text\": \"public boolean hasCached(ModuleId identifier) {\\n\\t\\treturn cache.containsKey(identifier);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"99cf17f336ce186804b350596385bce2\",\n \"score\": \"0.65320903\",\n \"text\": \"public boolean hasCachedValues() {\\n return !unknown;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4995a9e72359a6d6965d474871a0d908\",\n \"score\": \"0.6495131\",\n \"text\": \"public boolean isCacheHash() {\\n return isUseLazyhash() || isUsePrehashed();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ea6e70a137276c8a1ef7587b9a8ae946\",\n \"score\": \"0.6491721\",\n \"text\": \"public boolean isCacheStillValid() {\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7a9288c487ccfd39289950eda2e7d155\",\n \"score\": \"0.6484382\",\n \"text\": \"boolean getAutoCacheState();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"27e9c2583d389883660cd1b636a330cb\",\n \"score\": \"0.64427316\",\n \"text\": \"public boolean isCacheUnresolved()\\n/* */ {\\n/* 139 */ return this.cacheUnresolved;\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7d5be4984e2cbde4b00c56b6c8aec755\",\n \"score\": \"0.64384407\",\n \"text\": \"private boolean fetchFilesFromCache() {\\n if (adapter != null) {\\n adapter.cancelThumbLoad();\\n }\\n\\n if (!viewmode.equals(\\\"files\\\")) {\\n return false;\\n }\\n\\n // Get cached children\\n ArrayList cachedFiles = filelistCache.getChildren(getCurrentFolderId());\\n\\n if (cachedFiles.size() > 0) {\\n emptyList();\\n items.addAll(cachedFiles);\\n filteredItems.addAll(cachedFiles);\\n\\n if (hierarchy.size() == 1) {\\n hierarchy.set(0, filelistCache.getFile(getCurrentFolderId()));\\n }\\n\\n displayFiles();\\n }\\n\\n return (cachedFiles.size() > 0);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b516d783c96f6dedde6e3bed0d18499e\",\n \"score\": \"0.64372164\",\n \"text\": \"@Override\\r\\n\\tpublic boolean needCache() {\\n\\t\\treturn false;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"43bd00797896e282563a685204119d7a\",\n \"score\": \"0.6421426\",\n \"text\": \"public boolean isReady()\\r\\n\\t{\\r\\n\\t\\treturn cache.isReady();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"20b0c43a41f5d5e26cdd3fda61f4867f\",\n \"score\": \"0.64200795\",\n \"text\": \"boolean isCached(Statement statement);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8dd0718a91be386ccae87857d7c6d068\",\n \"score\": \"0.6403824\",\n \"text\": \"public boolean isCacheStillValid() {\\n return false;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3722a4273dc0cfe0b85938b5822f6ca4\",\n \"score\": \"0.6374796\",\n \"text\": \"public static boolean hasExternalCacheDir() {\\n return Build.VERSION.SDK_INT >= Build.VERSION_CODES.FROYO;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45a63ce1888cbe7b6ca725692692aad5\",\n \"score\": \"0.6349914\",\n \"text\": \"public boolean isUsingCaching() {\\r\\n\\t\\treturn useCaching;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f5665acbd7575363c4fa886ea4830ef5\",\n \"score\": \"0.6303272\",\n \"text\": \"public boolean isPresent(CacheKey cacheKey)\\n\\t\\t\\tthrows com.tyba.technicalServices.cache.CachingException {\\n\\t\\treturn false;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4f25728158837e8f0654c429bf7bc45b\",\n \"score\": \"0.62521553\",\n \"text\": \"public boolean contains(String imageUrl) {\\n\\t\\treturn cacheInfo.containsKey(imageUrl);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3db356098ae5ac747a09b32d96ef853d\",\n \"score\": \"0.61955327\",\n \"text\": \"boolean hasAsset();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3db356098ae5ac747a09b32d96ef853d\",\n \"score\": \"0.61955327\",\n \"text\": \"boolean hasAsset();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3db356098ae5ac747a09b32d96ef853d\",\n \"score\": \"0.61955327\",\n \"text\": \"boolean hasAsset();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e507fca35852b614ab5f6c4692154577\",\n \"score\": \"0.6195203\",\n \"text\": \"public boolean isCachedAtomContainer(IAtomContainer container) {\\n\\t\\tif (cachedDescriptorValues == null) return false;\\n\\t\\treturn (cachedDescriptorValues.get(PREVIOUS_ATOMCONTAINER) == container);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5603abbf6f260d45a21e5bcc7a07b804\",\n \"score\": \"0.6156898\",\n \"text\": \"public boolean getCacheWiz();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"603a442d422d0f1424c0d9aa44f10e06\",\n \"score\": \"0.6152814\",\n \"text\": \"public boolean hasItem() {\\n return genClient.cacheHasKey(CacheKey.item);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d8461ddbbfb2c376803b0e53ce426355\",\n \"score\": \"0.6152263\",\n \"text\": \"public boolean hasAsset() {\\n return asset_ != null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0f029831aba4df3ffbf3caed9e879a0f\",\n \"score\": \"0.61150336\",\n \"text\": \"public boolean isCacheInvalidationRequired() {\\n\\t\\treturn hasFormulaProperties() ||\\n\\t\\t\\t\\t( !isVersioned() && ( entityMetamodel.isDynamicUpdate() || getTableSpan() > 1 ) );\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2eba4a4b0c84fd294e6c7cc67c60a2f4\",\n \"score\": \"0.61084026\",\n \"text\": \"@Override\\n public boolean test(UnknownSdkSnapshot snapshot) {\\n if (snapshot.equals(myPreviousRequestCache)) return false;\\n myPreviousRequestCache = snapshot;\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2710018e4569e0a6f12b9466afe40d29\",\n \"score\": \"0.6105956\",\n \"text\": \"private boolean loadImageCache() {\\n\\t\\timageCache = new HashMap<>();\\n\\t\\t\\n\\t\\ttry {\\n\\t\\t\\timageCache.put(\\\"b-left\\\", ImageIO.read(new File(path, \\\"b-left.png\\\")));\\n\\t\\t\\timageCache.put(\\\"b-right\\\", ImageIO.read(new File(path, \\\"b-right.png\\\")));\\n\\t\\t\\timageCache.put(\\\"player\\\", ImageIO.read(new File(path, \\\"player.png\\\")));\\n\\t\\t\\timageCache.put(\\\"farmer\\\", ImageIO.read(new File(path, \\\"farmer.png\\\")));\\n\\t\\t\\timageCache.put(\\\"doctor\\\", ImageIO.read(new File(path, \\\"doctor.png\\\")));\\n\\t\\t} catch (Exception e) {\\n\\t\\t\\treturn false;\\n\\t\\t}\\n\\t\\t\\n\\t\\treturn true;\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"099cfc4e74efb45ddbafb562f0c2a96f\",\n \"score\": \"0.6103004\",\n \"text\": \"boolean noCache();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e5f2a2198d46d24e55e8453cfa8d810a\",\n \"score\": \"0.60860825\",\n \"text\": \"public boolean hasItems() {\\n return cacheHasKey(CacheKey.items);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ac01da250658c0e687ac49db3d05315e\",\n \"score\": \"0.60791415\",\n \"text\": \"public static boolean hasNextCache() {\\n \\t\\tfor (boolean cached : plugins.values()) {\\n \\t\\t\\tif (!cached) {\\n \\t\\t\\t\\treturn true;\\n \\t\\t\\t}\\n \\t\\t}\\n \\t\\treturn false;\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2f36d60eefe21edf870be9ae23bad1d1\",\n \"score\": \"0.6077906\",\n \"text\": \"public boolean isCacheable() {\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4d8b14d971d0346361343ff4294bd719\",\n \"score\": \"0.6073825\",\n \"text\": \"boolean isBrowserCacheable() {\\n return (isReleaseVersion() && isMatchingPluginVersionInstalled());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"745a3a662f1e22804eba837150bafb1a\",\n \"score\": \"0.6056173\",\n \"text\": \"private boolean cacheOutdated() {\\n return this.__cacheTraceCount < 0 || this.__cacheTraceCount != this.spectra.getTraces().size();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"184d3215d2821afa0ebc2a36ddb1d475\",\n \"score\": \"0.6054722\",\n \"text\": \"public boolean isUseHitTestCache() {\\n return useHitTestCache;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b0269d866f1d186de53ddf562164c881\",\n \"score\": \"0.605448\",\n \"text\": \"public boolean isPresent(CacheKey cacheKey, String regionName)\\n\\t\\t\\tthrows com.tyba.technicalServices.cache.CachingException {\\n\\t\\treturn false;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c65f942d1e72cd3b7d448501705f983\",\n \"score\": \"0.60105526\",\n \"text\": \"protected boolean onPerformCacheRead() {\\n if (!isLoading()) {\\n cache.readAsync(getAdapter(), this);\\n return true;\\n }\\n return false;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"98a0552d6ffaa1cf5dbc21d3745e39da\",\n \"score\": \"0.599941\",\n \"text\": \"public static boolean isCached(String group) {\\n return getGroups().contains(group);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"496857c365d945e789a44104d5ba5952\",\n \"score\": \"0.5997869\",\n \"text\": \"boolean getIgnoreCache();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cff19feeb79350b77c213537b6d02dac\",\n \"score\": \"0.5995454\",\n \"text\": \"public boolean getCached()\\n {\\n synchronized (monitor())\\n {\\n check_orphaned();\\n org.apache.xmlbeans.SimpleValue target = null;\\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CACHED$8);\\n if (target == null)\\n {\\n return false;\\n }\\n return target.getBooleanValue();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f746860ff50b60578b112dfb3af3eaeb\",\n \"score\": \"0.5984334\",\n \"text\": \"public static boolean isCacheAvailableOnAndroid() {\\n try {\\n Class cache = Class.forName(\\\"android.net.http.HttpResponseCache\\\");\\n cache.getMethod(\\\"getInstalled\\\").invoke(null);\\n androidSupportCache = true;\\n } catch (ClassNotFoundException e) {\\n LogUtil.printError(\\\"Could not find Class: android.net.http.HttpResponseCache\\\", e.getCause());\\n androidSupportCache = false;\\n } catch (NoSuchMethodException e) {\\n LogUtil.printError(\\\"Could not find Method: getInstalled\\\", e.getCause());\\n androidSupportCache = false;\\n } catch (IllegalAccessException e) {\\n LogUtil.printError(\\\"Could not access Method: getInstalled\\\", e.getCause());\\n androidSupportCache = false;\\n } catch (InvocationTargetException e) {\\n LogUtil.printError(\\\"Failed to invoke Method: getInstalled\\\", e.getCause());\\n androidSupportCache = false;\\n }\\n return androidSupportCache;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6b23ea12e8989beaafe71869555a4188\",\n \"score\": \"0.5955326\",\n \"text\": \"public boolean containsCache(String serviceType,String opName){\\n\\tDescription description = new Description(serviceType, opName);\\n \\tif (caches.containsKey(description))\\n \\t{\\n \\t List descriptions = caches.get(description);\\n \\t return descriptions!= null && descriptions.size() > 0;\\n \\t}\\n \\treturn false;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ffd03863c699c016d13293e07703eff7\",\n \"score\": \"0.59547454\",\n \"text\": \"public boolean addCache() {\\n\\n if (poplist.isEmpty() || remainingMemory == 0)\\n return false; // if the RequestList is empty or the cache is full return false\\n\\n // Delete video that are too big for the buffer\\n while (!poplist.isEmpty() && Parser.videos.get(poplist.get(poplist.lastKey())) > remainingMemory) {\\n poplist.remove(poplist.firstKey());\\n }\\n \\n if (poplist.isEmpty() || remainingMemory == 0)\\n return false; // if the RequestList is empty or the cache is full return false\\n\\n int videoAdd = poplist.remove(poplist.lastKey());// Get the id of the video to add to the buffer\\n\\n videos.add(videoAdd);\\n remainingMemory -= Parser.videos.get(videoAdd); // reduce de size of remainingMemory\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"67e64db8661bac723662d84b0a0f38b2\",\n \"score\": \"0.59303117\",\n \"text\": \"@java.lang.Override\\n public boolean hasAsset() {\\n return asset_ != null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c6eb097e3a13d2a1b328fb8fb84ddd73\",\n \"score\": \"0.5922155\",\n \"text\": \"boolean isCached(Class type, Serializable key);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4b91471dec11033d15d37c57bdbcad32\",\n \"score\": \"0.5916015\",\n \"text\": \"@Override\\n\\tpublic final boolean isCacheable() {\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b18f3b59154b2078d59f09619e2cf254\",\n \"score\": \"0.58757067\",\n \"text\": \"private boolean getEpisodeFromCache(String request) {\\n\\t\\tint epId = 0;\\n\\n\\t\\ttry {\\n\\t\\t\\tepId = Integer.parseInt(request.substring(request.lastIndexOf(\\\"/\\\")+1));\\t\\n\\t\\t} catch (StringIndexOutOfBoundsException e) {\\n\\t\\t\\tLog.e(TAG, \\\"Can't look for \\\" + request + \\\" so assuming not in cache.\\\");\\n\\t\\t\\treturn false;\\n\\t\\t} catch (NumberFormatException nfe) {\\n\\t\\t\\tLog.e(TAG, \\\"Request doesn't contain an epId: \\\" + request);\\n\\t\\t\\treturn false;\\n\\t\\t}\\n\\t\\t\\n\\t\\tLog.i(TAG, \\\"found epid in cache: \\\" + epId);\\n\\t\\tCursor cursor = mDbHelper.fetchEpisode(epId);\\n\\t\\tboolean isEmpty = cursor.getCount() != 0; \\n\\t\\tif (!isEmpty) {\\n\\t\\t\\tthis.bdEp= mDbHelper.cursorToEpisode(cursor);\\n\\t\\t}\\n\\t\\tcursor.close();\\n\\t\\n\\t\\treturn !isEmpty;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7ee8ab21790471fe064ad3f16eedc086\",\n \"score\": \"0.58604056\",\n \"text\": \"@Override\\n public boolean isOn() {\\n if (BardFeatureFlag.DRUID_CACHE.isSet() || BardFeatureFlag.DRUID_CACHE_V2.isSet()) {\\n // no cache\\n if (this.value.equals(\\\"NoCache\\\")) {\\n return ! BardFeatureFlag.DRUID_CACHE.isOn();\\n }\\n\\n return (this.value.equals(\\\"Ttl\\\")\\n && !BardFeatureFlag.DRUID_CACHE_V2.isOn()\\n && BardFeatureFlag.DRUID_CACHE.isOn()\\n )\\n || (this.value.equals(\\\"LocalSignature\\\")\\n && BardFeatureFlag.DRUID_CACHE.isOn()\\n && BardFeatureFlag.DRUID_CACHE_V2.isOn());\\n }\\n return value.equalsIgnoreCase(\\n SYSTEM_CONFIG.getStringProperty(\\n SYSTEM_CONFIG.getPackageVariableName(\\\"query_response_caching_strategy\\\"),\\n \\\"NoCache\\\"\\n )\\n );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7fa0c85638a6a8f35708cb8f5d047be4\",\n \"score\": \"0.5858174\",\n \"text\": \"public boolean isCacheable() {\\n return false;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"98453be7b45826d2ff68badae4d8756b\",\n \"score\": \"0.58538043\",\n \"text\": \"public boolean hasName() {\\n return genClient.cacheHasKey(CacheKey.name);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0f21f41e4168a28d8bb14050e1adbf7\",\n \"score\": \"0.5827156\",\n \"text\": \"public boolean hasName() {\\n return cacheHasKey(CacheKey.name);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2e0cddbb8e3758effd4d48021a909c3a\",\n \"score\": \"0.5824984\",\n \"text\": \"private boolean shouldSaveToCache(ArrayList segments) {\\n for (DataSegment segment:segments) {\\n if (segment.shouldSaveToCache()) return true; // store the whole sequence in the cache if one segment requests it\\n }\\n return false;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"50805e1a9986b0f7387e300c27fa5ed2\",\n \"score\": \"0.5804496\",\n \"text\": \"protected void cacheExists(final boolean exists) {\\n\\t\\tcachedExistsMap.put(new CacheKey(getClient(), getURI()), new CachedExists(exists)); //cache the information\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a6bd43aa41be2853ffbce09029328b98\",\n \"score\": \"0.5801068\",\n \"text\": \"public boolean isDeliveryDetailsCached(int offset) {\\n return mRealm.where(DeliveryDetailsRealm.class).equalTo(\\\"id\\\", offset).count() > 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"56b3488372e11a10a414be95684d7fc0\",\n \"score\": \"0.5789826\",\n \"text\": \"private boolean checkIfCachedSimulationIsPossible() {\\n\\n if ((support.getMySimulationCache() != null) && (support.getMySimulationCache().getCacheSize() >= 1)) {\\n if (support.getMySimulationCache().checkIfAllParameterMatchTable((parameterTableModel) this.jTableParameterList.getModel())) {\\n support.log(\\\"Cached Simulation available, all Parameter match.\\\", typeOfLogLevel.INFO);\\n support.setMySimulationCache(support.getMySimulationCache());\\n support.setCachedSimulationEnabled(true);\\n this.jButtonEmptyCache.setEnabled(true);\\n } else {\\n support.log(\\\"Cached Simulation not available, but all Parameter match. Maybe Stepping or Range is wrong.\\\", typeOfLogLevel.INFO);\\n support.setCachedSimulationEnabled(false);\\n }\\n } else {\\n support.log(\\\"Cached Simulation not available, no simulation cache given.\\\", typeOfLogLevel.INFO);\\n support.setCachedSimulationEnabled(false);\\n this.jButtonEmptyCache.setEnabled(false);\\n }\\n this.updateComboBoxSimulationType();\\n this.jButtonEmptyCache.setEnabled(support.getMySimulationCache().getCacheSize() >= 1);\\n this.saveProperties();\\n return support.isCachedSimulationAvailable();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a45a5a22b6a382d4f233327552a50c23\",\n \"score\": \"0.5769164\",\n \"text\": \"public boolean isConnected() {\\r\\n if (cacheServer != null && cacheServer.isConnected()) {\\r\\n return true;\\r\\n }\\r\\n return false;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7d4e3b18892ee06063654a03d366d34e\",\n \"score\": \"0.57551414\",\n \"text\": \"private static boolean isUseTransactionCache() {\\n\\t\\t// TODO Auto-generated method stub\\n\\t\\treturn false;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"63118c93551ca38f81cfd8200c2cb7f2\",\n \"score\": \"0.57228124\",\n \"text\": \"public boolean getCacheWizFwd();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"320e5a69685322b3e1f2d92af7091c5a\",\n \"score\": \"0.5705474\",\n \"text\": \"public static boolean isEnvironmentCached() {\\n return cacheEnvironment;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c1061bff10238b384b1fd7bef2c59246\",\n \"score\": \"0.57022905\",\n \"text\": \"public boolean isFresh() {\\n return System.currentTimeMillis() - this.lastModified <= this.maxAge;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d9b6fe7d610359db65fb400c5dd91afe\",\n \"score\": \"0.5697668\",\n \"text\": \"public boolean hasAsset() {\\n return assetBuilder_ != null || asset_ != null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d9b6fe7d610359db65fb400c5dd91afe\",\n \"score\": \"0.5697668\",\n \"text\": \"public boolean hasAsset() {\\n return assetBuilder_ != null || asset_ != null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c9bb4040dfcdd393c01492955f0c4ee1\",\n \"score\": \"0.56806296\",\n \"text\": \"@Override\\n\\tpublic boolean isExpired() {\\n\\t\\treturn _editionGallery.isExpired();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"424de13ac116bd76bfb825a6d7cc5244\",\n \"score\": \"0.56690985\",\n \"text\": \"boolean isFresh();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e43061217f8dbeb45e3201bae965c5fc\",\n \"score\": \"0.5644729\",\n \"text\": \"private boolean checkRefreshNecessary()\\n {\\n boolean refreshNecessary = false;\\n\\n long currentTimestamp = Instant.now().getEpochSecond();\\n long expires_At = currentAthlete.getExpires_At();\\n\\n if ((expires_At - 3600) < currentTimestamp)\\n {\\n refreshNecessary = true;\\n }\\n\\n return refreshNecessary;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d0e54c886e119a0e952229551df9bcb\",\n \"score\": \"0.5638528\",\n \"text\": \"public boolean cached(int i) {\\r\\n\\t\\tboolean ok;\\r\\n\\t\\tint pos = lookup(i);\\r\\n\\t\\tif (index[pos] == i) {\\r\\n\\t\\t\\tif (last_used[pos] > 0) {\\r\\n\\t\\t\\t\\tok = true;\\r\\n\\t\\t\\t} else {\\r\\n\\t\\t\\t\\tok = false;\\r\\n\\t\\t\\t};\\r\\n\\t\\t} else {\\r\\n\\t\\t\\tok = false;\\r\\n\\t\\t};\\r\\n\\t\\treturn (ok);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5112286f7b5f7abc49681f6c00de7d76\",\n \"score\": \"0.5629166\",\n \"text\": \"@Cacheable({\\\"product5\\\"})\\n boolean existsByName(String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"24c0b6e34257a77b3dd83a1bed2530d6\",\n \"score\": \"0.5628819\",\n \"text\": \"public boolean isInMemory();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"34abcc009819688fb4ead2f06ae70d12\",\n \"score\": \"0.56279564\",\n \"text\": \"boolean getCachePreparedQuery();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dcdd0de06352c187a155a066d8fdb860\",\n \"score\": \"0.5596803\",\n \"text\": \"public boolean isFetching()\\n {\\n return mFetchTask != null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e5f4b5d99fc807eb5204d58317289191\",\n \"score\": \"0.5586782\",\n \"text\": \"@Override\\n\\tprotected boolean isValidDataCacheEnabled() {\\n\\t\\treturn false;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0cb181afd44f8de7eef49bd13d04bbd5\",\n \"score\": \"0.5586579\",\n \"text\": \"public boolean loadCacheFromManifest() throws IOException {\\n if (_fileSystem.exists(_newManifest)) {\\n loadCacheFromManifest(_newManifest);\\n return true;\\n } else if (_fileSystem.exists(_manifest)) {\\n loadCacheFromManifest(_manifest);\\n return true;\\n } else {\\n return false;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a8a3e038de5d733c654ae82fb618bf83\",\n \"score\": \"0.5584928\",\n \"text\": \"public boolean contains(Object key) {\\n\\t\\treturn underlyingCache.toMap().containsKey( key );\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c37af592ed1c8e30ca83236d037485d1\",\n \"score\": \"0.55421704\",\n \"text\": \"public boolean hasCover() {\\n\\treturn image_cover != null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d06f0391651c8d35e80f0906a2b215d\",\n \"score\": \"0.55384237\",\n \"text\": \"public static void isCacheEmpty() throws ClassNotFoundException, RemoteReadException, IOException\\n\\t{\\n\\t\\tString cacheKey;\\n\\t\\tIsCacheEmptyInPointingStoreResponse response;\\n\\t\\tfor (int i = 0; i < cacheMaxNum; i++)\\n\\t\\t{\\n\\t\\t\\tcacheKey = \\\"Cache\\\" + i;\\n\\t\\t\\tresponse = FrontReader.RR().isPointingCacheEmpty(cacheKey);\\n\\t\\t\\tif (response.isEmpty())\\n\\t\\t\\t{\\n\\t\\t\\t\\tSystem.out.println(\\\"Cache key = \\\" + cacheKey + \\\" is EMPTY in the store\\\");\\n\\t\\t\\t}\\n\\t\\t\\telse\\n\\t\\t\\t{\\n\\t\\t\\t\\tSystem.out.println(\\\"Cache key = \\\" + cacheKey + \\\" is NOT EMPTY in the store\\\");\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ac1697aa2f376a7b923e38bf18cc355e\",\n \"score\": \"0.55345356\",\n \"text\": \"boolean hasUse();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4ddebd38b8d0b0c85264d523021390bc\",\n \"score\": \"0.55259097\",\n \"text\": \"public boolean clearCache() {\\n if (cache!=null) return cache.clearCache();\\n else return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78b30b10f93e3752118431ba1f35499a\",\n \"score\": \"0.55223393\",\n \"text\": \"public boolean hasTitle() {\\n return genClient.cacheHasKey(CacheKey.title);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"56053a3725f03a78f175c981061bd30e\",\n \"score\": \"0.5513136\",\n \"text\": \"public Object getCache();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f9a82acb62b4bc1f08d8dd7c89234e24\",\n \"score\": \"0.5506789\",\n \"text\": \"private static boolean hasCacheProperty(String cacheName, String suffix) {\\n String propName = PROPERTY_PREFIX_CACHE + cacheName.replaceAll(\\\" \\\", \\\"\\\") + suffix;\\n String sizeProp = JiveGlobals.getProperty(propName);\\n if (sizeProp == null && cacheNames.containsKey(cacheName)) {\\n // No system property was found for the cache name so try now with short name\\n propName = PROPERTY_PREFIX_CACHE + cacheNames.get(cacheName) + suffix;\\n sizeProp = JiveGlobals.getProperty(propName);\\n }\\n if (sizeProp != null) {\\n try {\\n Long.parseLong(sizeProp);\\n return true;\\n }\\n catch (NumberFormatException nfe) {\\n log.warn(\\\"Unable to parse \\\" + propName + \\\" using default value.\\\");\\n }\\n }\\n return false;\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":383,"cells":{"query_id":{"kind":"string","value":"f50c586715978f4a0436a96c60923551"},"query":{"kind":"string","value":"METHOD TO SAVE CTC DETAILS"},"positive_passages":{"kind":"list like","value":[{"docid":"d994d265f37b01d66058851b40640a70","score":"0.65014124","text":"public String save() throws Exception {\r\n\t\ttry {\r\n\t\t\tCTCDetailModel model = new CTCDetailModel();\r\n\t\t\tmodel.initiate(context, session);\r\n\t\t\tString str = null;\r\n\t\t\tString empId = ctcDetail.getEmpId();\r\n\t\t\tString qury = \" SELECT DISTINCT NVL(CREDIT_AMT,0),HRMS_CREDIT_HEAD.CREDIT_CODE ,HRMS_CREDIT_HEAD.CREDIT_NAME ,\"\r\n\t\t\t\t\t+ \"\tNVL(CREDIT_APPLICABLE,'Y') , EMP_ID\tFROM HRMS_EMP_CREDIT \"\r\n\t\t\t\t\t+ \"\tRIGHT JOIN HRMS_CREDIT_HEAD ON (HRMS_CREDIT_HEAD.CREDIT_CODE=HRMS_EMP_CREDIT.CREDIT_CODE AND EMP_ID=\"\r\n\t\t\t\t\t+ empId\r\n\t\t\t\t\t+ \" ) \"\r\n\t\t\t\t\t+ \"\tORDER BY EMP_ID,HRMS_CREDIT_HEAD.CREDIT_CODE\";\r\n\t\t\tObject amt[][] = model.getSqlModel().getSingleResult(qury);\r\n\t\t\tString[] amount = request.getParameterValues(\"amount\");\r\n\t\t\tString[] code = request.getParameterValues(\"ctcNameIdItt\");\r\n\t\t\tlogger.info(\"code lenght -- \" + code.length);\r\n\t\t\tfor (int i = 0; i < amount.length; i++) {// for loop for\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// retrieving data from\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// jsp\r\n\r\n\t\t\t\tObject[] bean = new Object[4];\r\n\r\n\t\t\t\tif (amount[i].trim().equalsIgnoreCase(String.valueOf(\"\"))\r\n\t\t\t\t\t\t|| amount[i] == null) {// if amount is blank or null\r\n\t\t\t\t\tamount[i] = String.valueOf(\"0\");\r\n\t\t\t\t}// end of if\r\n\r\n\t\t\t\tbean[0] = code[i];// code\r\n\t\t\t\tbean[1] = String.valueOf(\"Y\");// applicable\r\n\t\t\t\tbean[2] = amount[i];// amount\r\n\t\t\t\tbean[3] = empId;// empid\r\n\r\n\t\t\t\tlogger.info(\"ctcNameIdItt \" + bean[0] + \"amount is\" + bean[2]\r\n\t\t\t\t\t\t+ \"emp id is\" + bean[3]);\r\n\t\t\t\tstr = model.addCreditData(bean, ctcDetail, request);\r\n\r\n\t\t\t}// end of for\r\n\t\t\t\tmodel.updateSalGrade(ctcDetail);\r\n\t\t\tempId = ctcDetail.getEmpId();\r\n\t\t\tmodel.updateFormula(ctcDetail);\r\n\t\t\t/**\r\n\t\t\t * Following code calculates the tax and updates tax process\r\n\t\t\t */\r\n\r\n\t\t\ttry {\r\n\t\t\t\tCommonTaxCalculationModel taxtmodel = new CommonTaxCalculationModel();\r\n\t\t\t\tlogger.info(\"I m calling tax calculation method\");\r\n\t\t\t\ttaxtmodel.initiate(context, session);\r\n\t\t\t\tObject[][] empList = new Object[1][1];\r\n\t\t\t\tCalendar cal = Calendar.getInstance();\r\n\t\t\t\tcal.setTime(new Date());\r\n\t\t\t\tint fromYear = Integer.parseInt(String.valueOf(cal\r\n\t\t\t\t\t\t.get(Calendar.YEAR)));\r\n\t\t\t\tint month = Integer.parseInt(String.valueOf(cal\r\n\t\t\t\t\t\t.get(Calendar.MONTH)));\r\n\t\t\t\tif (month <= 2)\r\n\t\t\t\t\tfromYear--;\r\n\t\t\t\tempList[0][0] = ctcDetail.getEmpId();// employee id\r\n\t\t\t\tif (empList != null && empList.length > 0) {// if employee id\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// not null\r\n\t\t\t\t\ttaxtmodel.calculateTax(empList, String.valueOf(fromYear),\r\n\t\t\t\t\t\t\tString.valueOf(fromYear + 1));\r\n\t\t\t\t}// end of if\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\tlogger\r\n\t\t\t\t\t\t.error(\"Exception in addCreditData() while calling calculateTax : \"\r\n\t\t\t\t\t\t\t\t+ e);\r\n\t\t\t} // end of catch\r\n\t\t\taddActionMessage(str);\r\n\t\t\treset();\r\n\t\t\tempDetail();\r\n\t\t\tctcDetail.setEditFlag(false);\r\n\t\t\tctcDetail.setEditDetail(false);\r\n\t\t\tgetProfileImage();\r\n\t\t\tmodel.terminate();\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn SUCCESS;\r\n\r\n\t}","title":""}],"string":"[\n {\n \"docid\": \"d994d265f37b01d66058851b40640a70\",\n \"score\": \"0.65014124\",\n \"text\": \"public String save() throws Exception {\\r\\n\\t\\ttry {\\r\\n\\t\\t\\tCTCDetailModel model = new CTCDetailModel();\\r\\n\\t\\t\\tmodel.initiate(context, session);\\r\\n\\t\\t\\tString str = null;\\r\\n\\t\\t\\tString empId = ctcDetail.getEmpId();\\r\\n\\t\\t\\tString qury = \\\" SELECT DISTINCT NVL(CREDIT_AMT,0),HRMS_CREDIT_HEAD.CREDIT_CODE ,HRMS_CREDIT_HEAD.CREDIT_NAME ,\\\"\\r\\n\\t\\t\\t\\t\\t+ \\\"\\tNVL(CREDIT_APPLICABLE,'Y') , EMP_ID\\tFROM HRMS_EMP_CREDIT \\\"\\r\\n\\t\\t\\t\\t\\t+ \\\"\\tRIGHT JOIN HRMS_CREDIT_HEAD ON (HRMS_CREDIT_HEAD.CREDIT_CODE=HRMS_EMP_CREDIT.CREDIT_CODE AND EMP_ID=\\\"\\r\\n\\t\\t\\t\\t\\t+ empId\\r\\n\\t\\t\\t\\t\\t+ \\\" ) \\\"\\r\\n\\t\\t\\t\\t\\t+ \\\"\\tORDER BY EMP_ID,HRMS_CREDIT_HEAD.CREDIT_CODE\\\";\\r\\n\\t\\t\\tObject amt[][] = model.getSqlModel().getSingleResult(qury);\\r\\n\\t\\t\\tString[] amount = request.getParameterValues(\\\"amount\\\");\\r\\n\\t\\t\\tString[] code = request.getParameterValues(\\\"ctcNameIdItt\\\");\\r\\n\\t\\t\\tlogger.info(\\\"code lenght -- \\\" + code.length);\\r\\n\\t\\t\\tfor (int i = 0; i < amount.length; i++) {// for loop for\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t// retrieving data from\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t// jsp\\r\\n\\r\\n\\t\\t\\t\\tObject[] bean = new Object[4];\\r\\n\\r\\n\\t\\t\\t\\tif (amount[i].trim().equalsIgnoreCase(String.valueOf(\\\"\\\"))\\r\\n\\t\\t\\t\\t\\t\\t|| amount[i] == null) {// if amount is blank or null\\r\\n\\t\\t\\t\\t\\tamount[i] = String.valueOf(\\\"0\\\");\\r\\n\\t\\t\\t\\t}// end of if\\r\\n\\r\\n\\t\\t\\t\\tbean[0] = code[i];// code\\r\\n\\t\\t\\t\\tbean[1] = String.valueOf(\\\"Y\\\");// applicable\\r\\n\\t\\t\\t\\tbean[2] = amount[i];// amount\\r\\n\\t\\t\\t\\tbean[3] = empId;// empid\\r\\n\\r\\n\\t\\t\\t\\tlogger.info(\\\"ctcNameIdItt \\\" + bean[0] + \\\"amount is\\\" + bean[2]\\r\\n\\t\\t\\t\\t\\t\\t+ \\\"emp id is\\\" + bean[3]);\\r\\n\\t\\t\\t\\tstr = model.addCreditData(bean, ctcDetail, request);\\r\\n\\r\\n\\t\\t\\t}// end of for\\r\\n\\t\\t\\t\\tmodel.updateSalGrade(ctcDetail);\\r\\n\\t\\t\\tempId = ctcDetail.getEmpId();\\r\\n\\t\\t\\tmodel.updateFormula(ctcDetail);\\r\\n\\t\\t\\t/**\\r\\n\\t\\t\\t * Following code calculates the tax and updates tax process\\r\\n\\t\\t\\t */\\r\\n\\r\\n\\t\\t\\ttry {\\r\\n\\t\\t\\t\\tCommonTaxCalculationModel taxtmodel = new CommonTaxCalculationModel();\\r\\n\\t\\t\\t\\tlogger.info(\\\"I m calling tax calculation method\\\");\\r\\n\\t\\t\\t\\ttaxtmodel.initiate(context, session);\\r\\n\\t\\t\\t\\tObject[][] empList = new Object[1][1];\\r\\n\\t\\t\\t\\tCalendar cal = Calendar.getInstance();\\r\\n\\t\\t\\t\\tcal.setTime(new Date());\\r\\n\\t\\t\\t\\tint fromYear = Integer.parseInt(String.valueOf(cal\\r\\n\\t\\t\\t\\t\\t\\t.get(Calendar.YEAR)));\\r\\n\\t\\t\\t\\tint month = Integer.parseInt(String.valueOf(cal\\r\\n\\t\\t\\t\\t\\t\\t.get(Calendar.MONTH)));\\r\\n\\t\\t\\t\\tif (month <= 2)\\r\\n\\t\\t\\t\\t\\tfromYear--;\\r\\n\\t\\t\\t\\tempList[0][0] = ctcDetail.getEmpId();// employee id\\r\\n\\t\\t\\t\\tif (empList != null && empList.length > 0) {// if employee id\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t// not null\\r\\n\\t\\t\\t\\t\\ttaxtmodel.calculateTax(empList, String.valueOf(fromYear),\\r\\n\\t\\t\\t\\t\\t\\t\\tString.valueOf(fromYear + 1));\\r\\n\\t\\t\\t\\t}// end of if\\r\\n\\t\\t\\t} catch (Exception e) {\\r\\n\\t\\t\\t\\tlogger\\r\\n\\t\\t\\t\\t\\t\\t.error(\\\"Exception in addCreditData() while calling calculateTax : \\\"\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t+ e);\\r\\n\\t\\t\\t} // end of catch\\r\\n\\t\\t\\taddActionMessage(str);\\r\\n\\t\\t\\treset();\\r\\n\\t\\t\\tempDetail();\\r\\n\\t\\t\\tctcDetail.setEditFlag(false);\\r\\n\\t\\t\\tctcDetail.setEditDetail(false);\\r\\n\\t\\t\\tgetProfileImage();\\r\\n\\t\\t\\tmodel.terminate();\\r\\n\\t\\t} catch (Exception e) {\\r\\n\\t\\t\\te.printStackTrace();\\r\\n\\t\\t}\\r\\n\\t\\treturn SUCCESS;\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"87160ba339ca444087b94d3de7079a19","score":"0.6259128","text":"public void save() throws OperationFailedException\n {\n assertConnected();\n\n List details = infoRetreiver.getContactDetails(uin);\n VCard vCard = new VCard();\n for (GenericDetail detail : details)\n {\n if (detail instanceof ImageDetail)\n {\n byte[] avatar = ((ImageDetail) detail).getBytes();\n if (avatar == null) vCard.setAvatar(new byte[0]);\n else vCard.setAvatar(avatar);\n fireServerStoredDetailsChangeEvent(\n jabberProvider,\n ServerStoredDetailsChangeEvent.DETAIL_ADDED,\n null,\n detail);\n }\n else if (detail.getClass().equals(FirstNameDetail.class))\n {\n vCard.setFirstName((String)detail.getDetailValue());\n }\n else if (detail.getClass().equals(MiddleNameDetail.class))\n {\n vCard.setMiddleName((String)detail.getDetailValue());\n }\n else if (detail.getClass().equals(LastNameDetail.class))\n {\n vCard.setLastName((String)detail.getDetailValue());\n }\n else if (detail.getClass().equals(NicknameDetail.class))\n vCard.setNickName((String)detail.getDetailValue());\n else if (detail.getClass().equals(URLDetail.class))\n {\n if (detail.getDetailValue() != null)\n vCard.setField(\n \"URL\", detail.getDetailValue().toString());\n }\n else if (detail.getClass().equals(BirthDateDetail.class))\n {\n if (detail.getDetailValue() != null)\n {\n Calendar c = ((BirthDateDetail)detail).getCalendar();\n DateFormat dateFormat =\n new SimpleDateFormat(\n JabberActivator.getResources().getI18NString(\n \"plugin.accountinfo.BDAY_FORMAT\"));\n String strdate = dateFormat.format(c.getTime());\n vCard.setField(\"BDAY\", strdate);\n }\n }\n else if (detail.getClass().equals(AddressDetail.class))\n vCard.setAddressFieldHome(\n \"STREET\", (String)detail.getDetailValue());\n else if (detail.getClass().equals(CityDetail.class))\n vCard.setAddressFieldHome(\n \"LOCALITY\", (String)detail.getDetailValue());\n else if (detail.getClass().equals(ProvinceDetail.class))\n vCard.setAddressFieldHome(\n \"REGION\", (String)detail.getDetailValue());\n else if (detail.getClass().equals(PostalCodeDetail.class))\n vCard.setAddressFieldHome(\n \"PCODE\", (String)detail.getDetailValue());\n else if (detail.getClass().equals(CountryDetail.class))\n vCard.setAddressFieldHome(\n \"CTRY\", (String)detail.getDetailValue());\n else if (detail.getClass().equals(PhoneNumberDetail.class))\n vCard.setPhoneHome(\"VOICE\", (String)detail.getDetailValue());\n else if (detail.getClass().equals(WorkPhoneDetail.class))\n vCard.setPhoneWork(\"VOICE\", (String)detail.getDetailValue());\n else if (detail.getClass().equals(MobilePhoneDetail.class))\n vCard.setPhoneHome(\"CELL\", (String)detail.getDetailValue());\n else if (detail.getClass().equals(VideoDetail.class))\n vCard.setPhoneHome(\"VIDEO\", (String)detail.getDetailValue());\n else if (detail.getClass().equals(WorkVideoDetail.class))\n vCard.setPhoneWork(\"VIDEO\", (String)detail.getDetailValue());\n else if (detail.getClass().equals(EmailAddressDetail.class))\n vCard.setEmailHome((String)detail.getDetailValue());\n else if (detail.getClass().equals(WorkEmailAddressDetail.class))\n vCard.setEmailWork((String)detail.getDetailValue());\n else if (detail.getClass().equals(WorkOrganizationNameDetail.class))\n vCard.setOrganization((String)detail.getDetailValue());\n else if (detail.getClass().equals(JobTitleDetail.class))\n vCard.setField(\"TITLE\", (String)detail.getDetailValue());\n else if (detail.getClass().equals(AboutMeDetail.class))\n vCard.setField(\"ABOUTME\", (String)detail.getDetailValue());\n }\n\n //Fix the display name detail\n String tmp;\n\n tmp = infoRetreiver.checkForFullName(vCard);\n if(tmp != null)\n {\n DisplayNameDetail displayNameDetail = new DisplayNameDetail(\n StringEscapeUtils.unescapeXml(tmp));\n Iterator detailIt\n = infoRetreiver.getDetails(uin, DisplayNameDetail.class);\n while(detailIt.hasNext())\n {\n infoRetreiver.getCachedContactDetails(uin)\n .remove(detailIt.next());\n }\n infoRetreiver.getCachedContactDetails(uin).add(displayNameDetail);\n }\n\n try\n {\n VCardManager\n .getInstanceFor(jabberProvider.getConnection())\n .saveVCard(vCard);\n }\n catch (XMPPException\n | InterruptedException\n | NoResponseException\n | NotConnectedException xmppe)\n {\n logger.error(\"Error loading/saving vcard: \", xmppe);\n throw new OperationFailedException(\n \"Error loading/saving vcard: \", 1, xmppe);\n }\n }","title":""},{"docid":"795e9ed17f2dcb2c6703744b0b628504","score":"0.6232161","text":"private void commitAboutDetails() {\n\t\tInvoiceGenerator.invoice.setMessers(txtMessers.getText());\r\n\t\tInvoiceGenerator.invoice.setBuyers_vat_no(new BigDecimal(txtBuyersVatNo.getText()));\r\n\t\tInvoiceGenerator.invoice.setAddress(txtrAddress.getText());\r\n\t}","title":""},{"docid":"7e82ee539891077181624fe1e5967cfb","score":"0.6123587","text":"public CourierVO saveCourier(CourierVO courierVO);","title":""},{"docid":"a655dd0222dc04b0260382a0dfaa6a0a","score":"0.6075981","text":"public void createNewCashDetails(CashManagementDocument cmDoc, String cashieringSource);","title":""},{"docid":"50be8f3a5a80ddfd48c77a1251c5993d","score":"0.6026163","text":"HouseHoldDetail saveHouseHoldDetail(HouseHoldDetail houseHoldDetail);","title":""},{"docid":"934e43d3a482d608da2cfe98be10d022","score":"0.60123944","text":"@Override\n\tpublic String persistCustomerDetails(Customer cust) {\n\t\treturn rentalDao.persistCustomerDetails(cust);\n\t}","title":""},{"docid":"6a079323144c4d05c44affee9f40baf3","score":"0.6009565","text":"public void saveCompaign() {\n campaignio.saveCompaign(campaign);\n }","title":""},{"docid":"2394ca9c08e2f4428abdeae92e360e1f","score":"0.59598583","text":"private void saveInfo() {\n\n\t\t// make sure the data in here is stored in the consultation class.\n\t\tVerifyPhysicianInfo();\n\t\tVerifySocialHistory();\n\t\tVerifyAssessmentAndPlan();\n\t\tVerifyVitalSigns();\n\n\t\t// ////////////////Physician Info ////////////////////////////\n\t\tPhysicianInfo pI = _globals.GetConsultation().GetPI();\n\t\tif (pI != null) \n\t\t{\n\t\t\tString Sname = pI.PhysicianName;\n\t\t\tString Sorg = pI.PhysicianOrganization;\n\t\t\tMap columnsValuesPI = new HashMap();\n\t\t\tcolumnsValuesPI.put(\"MyTimeStamp\", ScurrTimestamp);\n\t\t\tcolumnsValuesPI.put(\"profileID\", SprofileId_);\n\t\t\tcolumnsValuesPI.put(\"Name\", Sname);\n\t\t\tcolumnsValuesPI.put(\"Organization\", Sorg);\n\n\t\t\t_db.addRow(columnsValuesPI, \"physician_info\");\n\t\t\t_db.printAllValues(\"physician_info\");\n\t\t}\n\t\t\n\t\t// ////////////////Assesmnt & Plans ////////////////////////////\n\t\tString sAssesmentPlans = \" \";\n\t\tsAssesmentPlans = _assesmentPlans_EditText.getText().toString();\n\t\t\n\t\tMap columnsValuesAP = new HashMap();\n\t\tcolumnsValuesAP.put(\"MyTimeStamp\", ScurrTimestamp);\n\t\tcolumnsValuesAP.put(\"profileID\", SprofileId_);\n\t\tcolumnsValuesAP.put(\"Note\", sAssesmentPlans);\n\n\t\t_db.addRow(columnsValuesAP, \"assesment_note\");\n\t\t_db.printAllValues(\"assesment_note\");\n\t\t\t\n\t\t// ////////////////IllnessHistory ////////////////////////////\n\t\tList listHistory = _globals.GetConsultation().GetCCs();\n\t\tif (listHistory != null)\n\t\t{\n\t\t\tfor (int i = 0; i < listHistory.size(); i++) \n\t\t\t{\n\t\t\t\tChiefComplaint hist1 = listHistory.get(i);\n\t\t\t\t// Long ScurrTimestamp = System.currentTimeMillis()/1000;\n\t\t\t\t// int profileId_ = _globals.GetProfile().ProfileID;\n\t\t\t\tString Ssymptom = hist1.Symptom;\n\t\t\t\tString Sonset = hist1.OnsetOfSymptom;\n\t\t\t\tString Lduration = hist1.duration;\n\t\t\t\tString SOTC = hist1.OTCTreatment;\n\t\t\t\t// String LendDate = hist1.Note;\n\t\t\t\t// System.out.println(\"dosage \" + med1.StartDate);\n\t\t\t\tMap columnsValues2 = new HashMap();\n\t\t\t\tcolumnsValues2.put(\"MyTimeStamp\", ScurrTimestamp);\n\t\t\t\tcolumnsValues2.put(\"profileID\", SprofileId_);\n\t\t\t\tcolumnsValues2.put(\"Symptom\", Ssymptom);\n\t\t\t\tcolumnsValues2.put(\"Onset\", Sonset);\n\t\t\t\tcolumnsValues2.put(\"Duration\", Lduration);\n\t\t\t\tcolumnsValues2.put(\"OTC\", SOTC);\n\n\t\t\t\t_db.addRow(columnsValues2, \"illness_history\");\n\t\t\t\t_db.printAllValues(\"illness_history\");\n\t\t\t}\n\t\t}\n\t\t// //////////////////////////////////////////////////////////\n\n\t\t// //////////////// Medication ////////////////////////////\n\t\tList listMeds = _globals.GetConsultation().GetMeds();\n\t\tif (listMeds != null) {\n\t\t\tfor (int i = 0; i < listMeds.size(); i++) {\n\t\t\t\tMedication med1 = listMeds.get(i);\n\n\t\t\t\tString Sdosage = med1.Dosage;\n\t\t\t\tString Sdrug = med1.Drug;\n\t\t\t\tString Sfreq = med1.Freq;\n\t\t\t\tLong LstartDate = med1.StartDate;\n\t\t\t\tLong LendDate = med1.EndDate;\n\t\t\t\t// System.out.println(\"dosage \" + med1.StartDate);\n\t\t\t\tMap columnsValues2 = new HashMap();\n\t\t\t\tcolumnsValues2.put(\"MyTimeStamp\", ScurrTimestamp);\n\t\t\t\tcolumnsValues2.put(\"profileID\", SprofileId_);\n\t\t\t\tcolumnsValues2.put(\"drug\", Sdrug);\n\t\t\t\tcolumnsValues2.put(\"dosage\", Sdosage);\n\t\t\t\tcolumnsValues2.put(\"frequency\", Sfreq);\n\t\t\t\tcolumnsValues2.put(\"start_date\", LstartDate);\n\t\t\t\tcolumnsValues2.put(\"stop_date\", LendDate);\n\n\t\t\t\t_db.addRow(columnsValues2, \"current_medication\");\n\t\t\t\t_db.printAllValues(\"current_medication\");\n\t\t\t}\n\t\t}\n\t\t// //////////////////////////////////////////////////////////\n\n\t\t// //////////////// Allergies ////////////////////////////\n\n\t\tList listAllergies = _globals.GetConsultation().GetAlgs();\n\t\tif (listAllergies != null) {\n\t\t\tfor (int i = 0; i < listAllergies.size(); i++) {\n\t\t\t\tAllergy all1 = listAllergies.get(i);\n\n\t\t\t\tString Stype = all1.Type;\n\t\t\t\tString Sreaction = all1.Reaction;\n\t\t\t\tString Sseverity = all1.Severity;\n\t\t\t\tLong LlastDate = all1.LastDate;\n\t\t\t\tString Streatment = all1.Treatment;\n\t\t\t\t// System.out.println(\"dosage \" + med1.StartDate);\n\t\t\t\tMap columnsValues2 = new HashMap();\n\t\t\t\tcolumnsValues2.put(\"MyTimeStamp\", ScurrTimestamp);\n\t\t\t\tcolumnsValues2.put(\"profileID\", SprofileId_);\n\t\t\t\tcolumnsValues2.put(\"allergyType\", Stype);\n\t\t\t\tcolumnsValues2.put(\"reaction\", Sreaction);\n\t\t\t\tcolumnsValues2.put(\"severity\", Sseverity);\n\t\t\t\tcolumnsValues2.put(\"date_last_occurred\", LlastDate);\n\t\t\t\tcolumnsValues2.put(\"treatment\", Streatment);\n\n\t\t\t\t_db.addRow(columnsValues2, \"allergies\");\n\t\t\t\t_db.printAllValues(\"allergies\");\n\t\t\t}\n\t\t}\n\t\t// //////////////////////////////////////////////////////////\n\n\t\t// //////////////// Body Systems ////////////////////////////\n\t\tBodySystemReview listRBS = _globals.GetConsultation().GetRBS();\n\t\tif (listRBS != null) {\n\t\t\t//System.out.println(\"RBS \" + listRBS);\n\t\t\tBodySystemReview rbs1 = listRBS;\n\t\t\t\n\t\t\tString SSkin = rbs1.Skin;\n\t\t\tSystem.out.println(\"RBS \" + SSkin);\n\t\t\tString SVision = rbs1.Vision;\n\t\t\tString SHearing = rbs1.Hearing;\n\t\t\tString SRespiratory = rbs1.Respiratory;\n\t\t\tString SCardiovascular = rbs1.Cardiovascular;\n\t\t\tString SGastrointestinal = rbs1.Gastrointestinal;\n\t\t\tString SGynecologic = rbs1.Gynecologic;\n\t\t\tString SMusculoskeletal = rbs1.Musculoskeletal;\n\t\t\tString SVascular = rbs1.Vascular;\n\t\t\tString SNeurologic = rbs1.Neurologic;\n\t\t\tString SHematologic = rbs1.Hematologic;\n\t\t\tString SEndocrine = rbs1.Endocrine;\n\t\t\tString SPsychiatric = rbs1.Psychiatric;\n\t\t\tString SUrological = rbs1.Urological;\n\t\t\tSystem.out.println(\"S_Uro: \" + rbs1.Urological);\n\t\t\tString SOther = rbs1.Other;\n\n\t\t\t// System.out.println(\"dosage \" + med1.StartDate);\n\t\t\tMap columnsValues2 = new HashMap();\n\t\t\tcolumnsValues2.put(\"MyTimeStamp\", ScurrTimestamp);\n\t\t\tcolumnsValues2.put(\"profileID\", SprofileId_);\n\t\t\tcolumnsValues2.put(\"skin\", SSkin);\n\t\t\tcolumnsValues2.put(\"vision\", SVision);\n\t\t\tcolumnsValues2.put(\"hearing\", SHearing);\n\t\t\tcolumnsValues2.put(\"respiratory\", SRespiratory);\n\t\t\tcolumnsValues2.put(\"cardiovascular\", SCardiovascular);\n\t\t\tcolumnsValues2.put(\"gastrointestinal\", SGastrointestinal);\n\t\t\tcolumnsValues2.put(\"gynecologic\", SGynecologic);\n\t\t\tcolumnsValues2.put(\"musculoskeletal\", SMusculoskeletal);\n\t\t\tcolumnsValues2.put(\"vascular\", SVascular);\n\t\t\tcolumnsValues2.put(\"neurologic\", SNeurologic);\n\t\t\tcolumnsValues2.put(\"hematologic\", SHematologic);\n\t\t\tcolumnsValues2.put(\"endocrine\", SEndocrine);\n\t\t\tcolumnsValues2.put(\"psychiatric\", SPsychiatric);\n\t\t\tcolumnsValues2.put(\"urological\", SUrological);\n\t\t\tcolumnsValues2.put(\"other\", SOther);\n\t\t\t\n\t\t\t_db.addRow(columnsValues2, \"body_systems\");\n\t\t\t_db.printAllValues(\"body_systems\");\n\n\t\t}\n\t\t// //////////////////////////////////////////////////////////\n\n\t\t// //////////////// Procedure History ////////////////////////////\n\n\t\tList listProcedures = _globals.GetConsultation()\n\t\t\t\t.GetPHs();\n\t\tif (listProcedures != null) {\n\t\t\tfor (int i = 0; i < listProcedures.size(); i++) {\n\t\t\t\tProcedureHistory ph1 = listProcedures.get(i);\n\n\t\t\t\tString SProcedure = ph1.Procedure;\n\t\t\t\tString SPhysician = ph1.Physician;\n\t\t\t\tString SLocation = ph1.Location;\n\t\t\t\tLong LDate = ph1.Date;\n\t\t\t\tString SResult = ph1.Result;\n\t\t\t\t// System.out.println(\"dosage \" + med1.StartDate);\n\t\t\t\tMap columnsValues2 = new HashMap();\n\t\t\t\tcolumnsValues2.put(\"MyTimeStamp\", ScurrTimestamp);\n\t\t\t\tcolumnsValues2.put(\"profileID\", SprofileId_);\n\t\t\t\tcolumnsValues2.put(\"procedure_name\", SProcedure);\n\t\t\t\tcolumnsValues2.put(\"physician_name\", SPhysician);\n\t\t\t\tcolumnsValues2.put(\"institution_location\", SLocation);\n\t\t\t\tcolumnsValues2.put(\"date\", LDate);\n\t\t\t\tcolumnsValues2.put(\"result\", SResult);\n\t\t\t\t_db.addRow(columnsValues2, \"procedure_history\");\n\t\t\t\t_db.printAllValues(\"procedure_history\");\n\t\t\t}\n\t\t}\n\t\t// //////////////////////////////////////////////////////////\n\n\t\t// ////////////////Diagnostic Findings ////////////////////////////\n\n\t\tList listDiagnostics = _globals.GetConsultation()\n\t\t\t\t.GetDFs();\n\t\tif (listDiagnostics != null) {\n\t\t\tfor (int i = 0; i < listDiagnostics.size(); i++) {\n\t\t\t\tDiagnosticFinding df1 = listDiagnostics.get(i);\n\n\t\t\t\tString STest = df1.Test;\n\t\t\t\tString SResult = df1.Result;\n\t\t\t\tString SInterpretation = df1.Interpretation;\n\t\t\t\tLong LDate = df1.Date;\n\n\t\t\t\t// System.out.println(\"dosage \" + med1.StartDate);\n\t\t\t\tMap columnsValues2 = new HashMap();\n\t\t\t\tcolumnsValues2.put(\"MyTimeStamp\", ScurrTimestamp);\n\t\t\t\tcolumnsValues2.put(\"profileID\", SprofileId_);\n\t\t\t\tcolumnsValues2.put(\"test_name\", STest);\n\t\t\t\tcolumnsValues2.put(\"result_finding\", SResult);\n\t\t\t\tcolumnsValues2.put(\"interpretation\", SInterpretation);\n\t\t\t\tcolumnsValues2.put(\"date\", LDate);\n\n\t\t\t\t_db.addRow(columnsValues2, \"diagnosis_finding\");\n\t\t\t\t_db.printAllValues(\"diagnosis_finding\");\n\t\t\t}\n\t\t}\n\t\t// //////////////////////////////////////////////////////////\n\n\t\t// ////////////////Immunization ////////////////////////////\n\t\tList listImmune = _globals.GetConsultation().GetIVs();\n\t\tif (listImmune != null) {\n\t\t\tfor (int i = 0; i < listImmune.size(); i++) {\n\t\t\t\tImmunization if1 = listImmune.get(i);\n\n\t\t\t\tString SName = if1.Vaccine;\n\t\t\t\tString SType = if1.Type;\n\t\t\t\tString SDose = if1.Dose;\n\t\t\t\tLong LDate = if1.Date;\n\t\t\t\tint IAge = if1.Age;\n\t\t\t\tString SLot = if1.LotNumber;\n\n\t\t\t\t// System.out.println(\"dosage \" + med1.StartDate);\n\t\t\t\tMap columnsValues2 = new HashMap();\n\t\t\t\tcolumnsValues2.put(\"MyTimeStamp\", ScurrTimestamp);\n\t\t\t\tcolumnsValues2.put(\"profileID\", SprofileId_);\n\t\t\t\tcolumnsValues2.put(\"vaccine_name\", SName);\n\t\t\t\tcolumnsValues2.put(\"vaccine_type\", SType);\n\t\t\t\tcolumnsValues2.put(\"dose\", SDose);\n\t\t\t\tcolumnsValues2.put(\"age\", IAge);\n\t\t\t\tcolumnsValues2.put(\"date_administered\", LDate);\n\t\t\t\tcolumnsValues2.put(\"lot_number\", SLot);\n\n\t\t\t\t_db.addRow(columnsValues2, \"immunization\");\n\t\t\t\t_db.printAllValues(\"immunization\");\n\t\t\t}\n\t\t}\n\t\t// //////////////////////////////////////////////////////////\n\n\t\t// ////////////////Social History ////////////////////////////\n\t\tSocialHistory listSocialhist = _globals.GetConsultation().GetSH();\n\t\tif (listSocialhist != null) {\n\t\t\tString SmaritalStatus = listSocialhist.MaritalStatus;\n\t\t\tString Soccupation = listSocialhist.Occupation;\n\t\t\tString Scoffe_consumption = listSocialhist.CoffeeConsumption;\n\t\t\tString Stobacco_use = listSocialhist.TobaccoUse;\n\t\t\tString Salcohol_Use = listSocialhist.AlcoholUse;\n\t\t\tString Sdrug_use = listSocialhist.DrugUse;\n\n\t\t\t// System.out.println(\"dosage \" + med1.StartDate);\n\t\t\tMap columnsValuessoc = new HashMap();\n\t\t\tcolumnsValuessoc.put(\"MyTimeStamp\", ScurrTimestamp);\n\t\t\tcolumnsValuessoc.put(\"profileID\", SprofileId_);\n\t\t\tcolumnsValuessoc.put(\"maritalStatus\", SmaritalStatus);\n\t\t\tcolumnsValuessoc.put(\"occupation\", Soccupation);\n\t\t\tcolumnsValuessoc.put(\"coffe_consumption\", Scoffe_consumption);\n\t\t\tcolumnsValuessoc.put(\"tobacco_use\", Stobacco_use);\n\t\t\tcolumnsValuessoc.put(\"alcohol_use\", Salcohol_Use);\n\t\t\tcolumnsValuessoc.put(\"drug_use\", Sdrug_use);\n\n\t\t\t_db.addRow(columnsValuessoc, \"social_history\");\n\t\t\t_db.printAllValues(\"social_history\");\n\t\t}\n\t\t// //////////////////////////////////////////////////////////\n\t\t\n\t\t// ////////////////Vital Signs ////////////////////////////\n\t\tVitalSigns listVS = _globals.GetConsultation().GetVS();\n\t\tif (listVS != null) {\n\t\t\t\t\t \n\t\t\t// System.out.println(\"dosage \" + med1.StartDate);\n\t\t\tMap columnsValuessoc = new HashMap();\n\t\t\tcolumnsValuessoc.put(\"MyTimeStamp\", ScurrTimestamp);\n\t\t\tcolumnsValuessoc.put(\"profileID\", SprofileId_);\n\t\t\tcolumnsValuessoc.put(\"pulse\", listVS.Pulse);\n\t\t\tcolumnsValuessoc.put(\"respiratory_rate\", listVS.RespirateRate);\n\t\t\tcolumnsValuessoc.put(\"systolic_blood_pressure\", listVS.SystolicBloodPressure);\n\t\t\tcolumnsValuessoc.put(\"diastolic_blood_pressure\", listVS.DisstolicBloodPressure);\n\t\t\tcolumnsValuessoc.put(\"body_temp\", listVS.BodyTemp);\n\t\t\tcolumnsValuessoc.put(\"height\", listVS.Height);\n\t\t\tcolumnsValuessoc.put(\"weight\", listVS.Weight);\n\t\t\tcolumnsValuessoc.put(\"BMI\", listVS.BMI);\n\t\t\tSystem.out.println(\"Systolic \" + listVS.SystolicBloodPressure + \" \" + listVS.DisstolicBloodPressure + \" \" + listVS.BodyTemp);\n\t\t\t_db.addRow(columnsValuessoc, \"vital_signs\");\n\t\t\t_db.printAllValues(\"vital_signs\");\n\t\t}\n\t\t// //////////////////////////////////////////////////////////\n\t\t_globals.GetConsultation().ClearThemAll();\n\t\tIntent i = new Intent(Page_ConsultationReport.this,\n\t\t\t\tPage_Patient_History.class);\n\t\tstartActivity(i);\n\t}","title":""},{"docid":"870d68e861f03294d0f271d40b509a49","score":"0.59450334","text":"@Override\r\n\tpublic String save() throws Exception {\n\t\ttry {\r\n\t\t\tif(_id==null){\r\n\t\t\t\t_id=mongoSequence.currval(PubConstants.SUC_ACTIVITYINFO); \r\n\t\t\t} \r\n\t\t\tString custid=SpringSecurityUtils.getCurrentUser().getId(); \r\n\t\t\tentity.set_id(_id); \r\n\t\t\tentity.setCustid(custid);\r\n\t\t\tentity.setCreatedate(new Date());\r\n\t\t\tentity.setEwmurl(wwzService.recode(\"activity-mbTicket-\"+_id,SysConfig.getProperty(\"ip\")+\"/suc/activity!mbTicket.action?custid=\"+custid+\"&id=\"+_id, entity.getPicurl(),true, 200, 1000));\r\n\t\t\tbaseDao.insert(PubConstants.SUC_ACTIVITYINFO, entity);\r\n\t\t\taddActionMessage(\"添加成功\");\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\taddActionMessage(\"添加失败\");\r\n\t\t}\r\n\t\treturn RELOAD;\r\n\t}","title":""},{"docid":"d58b6fdb93a2388989095ba43829c446","score":"0.5905024","text":"public void accountDetails(Cuenta c){\n\t\tcleaner();\n\t\tSystem.out.println(\"Account Details\");\n\t\tSystem.out.println(\"Name : \" +c.getName());\n\t\tSystem.out.println(\"Amount : \" +c.getAmount());\n\t\tSystem.out.println(\"Number : \" +c.getNumber());\n\t}","title":""},{"docid":"36c742c9b00d818cddf0d0be3d21e881","score":"0.5901922","text":"public void saveAddTaskDetails(){\n\t\tinfo(\"Save a task with more detail\");\n\t\twaitForAndGetElement(ELEMENT_BUTTON_TASK_SAVE_DETAILS, DEFAULT_TIMEOUT, 1);\n\t\tclickByJavascript(ELEMENT_BUTTON_TASK_SAVE_DETAILS, 2);\n\t\t//click(ELEMENT_BUTTON_TASK_SAVE_DETAILS);\n\t\twaitForElementNotPresent(ELEMENT_BUTTON_TASK_SAVE_DETAILS);\n\t\tUtils.pause(500);\n\t}","title":""},{"docid":"2786a3a6a6772d49c4bcc56ad0bf0299","score":"0.5820691","text":"public void saveCurrencyInfo(CurrencyInfo currencyInfo);","title":""},{"docid":"462b6d3b4a93dc77c91ad64c69f299f1","score":"0.57892174","text":"public void saveOrganizationAdditionalInfo(Record record);","title":""},{"docid":"24f88478a85ee454052efd9ff4201af3","score":"0.576728","text":"void saveCostCenter(CfCostCenter costCenter);","title":""},{"docid":"103bda8fa0e607d86d234a111753cf71","score":"0.5762906","text":"@Override\n\tpublic ConnectCntVO writeDetail(ConnectCntVO vo) {\n\t\treturn dao.writeDetail(vo);\n\t}","title":""},{"docid":"2a0a0f847639ee0c917daae095ea5c4b","score":"0.5730324","text":"public void saveCustomer(Customer theCustomer);","title":""},{"docid":"129b20c9426c89d682007f9aca8f0cd7","score":"0.5728826","text":"public void saveAddressDetail(Record inputRecord);","title":""},{"docid":"e756a40d2abdf4e285524e61b45f888e","score":"0.5727654","text":"AdditionalContactDetails saveAdditionalContactDetails(AdditionalContactDetails contact);","title":""},{"docid":"862f0b2467a2f367b602a5ae8626540f","score":"0.57157594","text":"public void saveCreditCard(CreditCard card) {\n\n\t}","title":""},{"docid":"5808d9482adda70839f9d863dd307c01","score":"0.5683704","text":"public TransactionMaster saveTransMaster(TransactionMaster tm);","title":""},{"docid":"994a095becad8180de35d2fc52ca32e9","score":"0.5645509","text":"void saveComemnt(Comment comment);","title":""},{"docid":"f3302de9b9e520aebc45ba9c00cb5f70","score":"0.56310254","text":"private void saveCDRListIntoDatabase(List callDetailRecords) {\r\n // Iterate through CallDetailRecords List and save all into Database\r\n for (CallDetailRecord callDetailRecord : callDetailRecords) {\r\n callDetailRecordService.save(callDetailRecord);\r\n }\r\n }","title":""},{"docid":"99cd25d9028e22667b147e5597e706ae","score":"0.5628185","text":"public void saveAddressAdditionalInfo(Record record);","title":""},{"docid":"563b801607bb4336d63f57f9428a0e21","score":"0.56092584","text":"public void save() {\r\n\t\tcustomerService.saveSuccess();\r\n\t}","title":""},{"docid":"3f468f70e581a7cc340b7d7d9eeb9a77","score":"0.5606284","text":"public void saveCustomer() {\n\t\tif (checkInputs())\n\t\t\tcustomerView.getStatusText().setText(\"Please enter all the inputs\");\n\t\telse {\n\t\t\n\t\tSystem.out.println(\"Save has been called\");\n\t\tfetchCustomerInformation();\n\t\tString response = modelControllerCustomer.sendCustomerInfo();\n\t\tcustomerView.getStatusText().setText(response);\n\t\t}\n\t}","title":""},{"docid":"c4a010ddce0565f8f50d4fb140fafe57","score":"0.5583164","text":"public void saveUC() {\n UCDTO uc = ucDetailModel.provideUCDTO();\n boolean wasNew = uc.isNew();\n\n try {\n ucBean.save(uc);\n ucDetailModel.setUc(ucBean.find(uc.getInternalId()));\n PresentSuccessMessage(\"ucdetailform\", wasNew ? \"Adicionado com sucesso\" : \"Guardado com sucesso\");\n } catch (EntityValidationException eve) {\n PresentErrorMessages(\"ucdetailform\", eve.getEntityValidationErrors(), errorMessages);\n } catch (EntityNotFoundException enf) {\n PresentErrorMessage(\"ucdetailform\", \"UC a ser editada, não foi encontrada ou foi removida.\");\n }\n }","title":""},{"docid":"dbe41ffe3d60e28c5a4fd81ca4136232","score":"0.5577085","text":"CarrierContactDetails saveCarrierContactDetails(CarrierContactDetails contact);","title":""},{"docid":"d345119d06c9ff672d17290873878600","score":"0.5571702","text":"Doctor save(Doctor doctor);","title":""},{"docid":"3f48d313949dece649c3edcfd5974360","score":"0.55691993","text":"public Customer save(long customerId, NameDB name);","title":""},{"docid":"3d24cc16668833a28cd866c44f511d3e","score":"0.5562218","text":"public void savePersonAdditionalInfo(Record record);","title":""},{"docid":"ba510bb960d469b40390397d87410b9a","score":"0.5560665","text":"@Override\n\tpublic AboutDetailEntity saveDetail(AboutDetailEntity client) {\n\t\treturn aboutDetail.save(client);\n\t}","title":""},{"docid":"856cc126d28092e06e12c3a5a8234e8e","score":"0.554195","text":"private void saveCase(Session session, CaseComponent description){\n System.out.println(\"SAVE CASE ONLY\");\n Case _case = (Case) description;\n Army army = _case.getArmy();\n session.createSQLQuery(CASE_QUERY)\n .setInteger(0, _case.getID())\n .setInteger(1, army.getID())\n .setString(2, _case.getOpponent().toString())\n .setString(3, _case.getOutcome().toString())\n .executeUpdate();\n }","title":""},{"docid":"99ddeb9cbdbb2ac6162f837cad907ed0","score":"0.5533686","text":"public boolean saveCustomerTODetails(CustomerMO CustomerTOObject) {\n\t\treturn false;\n\t}","title":""},{"docid":"0c70dfaa8ef5d10f2933cd5c2481f2a4","score":"0.55213207","text":"void save(Centro centro);","title":""},{"docid":"b1961a2f363ad0a47881bf548576ff2f","score":"0.55157715","text":"public void save_Customer_OrderDetails(Order order) {\n\t\tthis.cust_order.add(order);\n\n\t}","title":""},{"docid":"41fb322e5c10b67fa50a7f705557c01c","score":"0.55039805","text":"public void save_Customer_Vehicle() {\n\t\tthis.cust_vehno = \"AP04\" + (int) (Math.random() * 1000);\n\n\t}","title":""},{"docid":"308012f2582058c5e6c63752761a82a9","score":"0.549733","text":"private void saveContact() {\n DatabaseConnector databaseConnector = new DatabaseConnector(this);\n\n if (getIntent().getExtras() == null) {\n // insert the contact information into the database\n databaseConnector.insertContact(api2.getCityName());\n } // end if\n else {\n// databaseConnector.updateContact(rowID, nameEditText.getText().toString(), emailEditText\n// .getText().toString(), phoneEditText.getText().toString(), streetEditText\n// .getText().toString(), cityEditText.getText().toString());\n } // end else\n }","title":""},{"docid":"450edb818906d7c8b8a3b69bd37761cf","score":"0.549555","text":"EmployeeCertificationDetails saveEmployeeCertification(EmployeeCertificationDetails certificationDetails);","title":""},{"docid":"96ad73cb3c3be3f75a157f1a7e1184e5","score":"0.5492424","text":"int insert(CouponDetail record);","title":""},{"docid":"64f847ecaa392a31ae7e87792b46926e","score":"0.5491097","text":"int insert(TCpyEquityPledge record);","title":""},{"docid":"ab531169063b70eb2003704ace228a71","score":"0.5488238","text":"@Override\r\n\tpublic void save(TP4piccard piccard) {\n\r\n\t}","title":""},{"docid":"eafb3a8f5132401a4095d336c40a8a47","score":"0.5474344","text":"void saveDeposit (DepositLog depositLog);","title":""},{"docid":"099931658525ba24cf2a0078a1549857","score":"0.5470526","text":"public void getCustomerDetails() {\n\n\t\ttry{\n\t\t\tif (customerDetailsList.size() != 0) {\n\n\t\t\t\tCustomerIdProof customerDetails = customerDetailsList.get(0);\n\n\t\t\t\tsetSelectCard(customerDetails.getFsBizComponentDataByIdentityTypeId().getComponentDataId());\n\t\t\t\tsetIdNumber(customerDetails.getIdentityInt());\n\t\t\t\tsetCustomerName(customerDetails.getFsCustomer().getFirstName());\n\t\t\t\tsetCustomerCrNumber(customerDetails.getFsCustomer().getCrNo() == null ? \"\" : customerDetails.getFsCustomer().getCrNo());\n\t\t\t\tsetCustomerId(customerDetails.getFsCustomer().getCustomerId());\n\t\t\t\tsetCustomerrefno(customerDetails.getFsCustomer().getCustomerReference());\n\t\t\t\tsetFirstName(customerDetails.getFsCustomer().getFirstName());\n\t\t\t\tsetSecondName(customerDetails.getFsCustomer().getMiddleName());\n\t\t\t\tsetThirdName(customerDetails.getFsCustomer().getLastName());\n\t\t\t\tsetCustomerFullName(nullCheck(getFirstName()) + \" \" + nullCheck(getSecondName()) + \" \" + nullCheck(getThirdName()));\n\t\t\t\tsetCustomerLocalFullName(nullCheck(customerDetails.getFsCustomer().getFirstNameLocal()) + \" \" + nullCheck(customerDetails.getFsCustomer().getMiddleNameLocal()) + \" \" + nullCheck(customerDetails.getFsCustomer().getLastNameLocal()));\n\t\t\t\tsetCustomerIsActive(customerDetails.getFsCustomer().getIsActive());\n\t\t\t\tsetCustomerExpDate(customerDetails.getIdentityExpiryDate());\n\t\t\t\tsetCustomerTypeId(customerDetails.getFsBizComponentDataByCustomerTypeId().getComponentDataId());\n\t\t\t\tString customerTypeString = iPersonalRemittanceService.getCustomerType(getCustomerTypeId());\n\t\t\t\tif (customerTypeString != null) {\n\t\t\t\t\tsetCustomerType(customerTypeString);\n\t\t\t\t}\n\t\t\t\tif (getCustomerExpDate() != null) {\n\t\t\t\t\tsetCustomerExpireDateMsg(new SimpleDateFormat(\"dd/MM/yyyy\").format(getCustomerExpDate()));\n\t\t\t\t}\n\t\t\t\tsetNationality(customerDetails.getFsCustomer().getFsCountryMasterByNationality().getCountryId());\n\t\t\t\tsetDateOfBrith(customerDetails.getFsCustomer().getDateOfBirth());\n\t\t\t\tString teleCountryId = generalService.getTelephoneCountryBasedOnNationality(customerDetails.getFsCustomer().getFsCountryMasterByNationality().getCountryId());\n\t\t\t\tsetCountryCode(teleCountryId);\n\t\t\t\tsetMcountryCode(teleCountryId);\n\t\t\t\tBigDecimal occupationID = generalService.getOccupationId(customerDetails.getFsCustomer().getCustomerId());\n\t\t\t\tsetLoyaltyPoints(iPersonalRemittanceService.getLoyaltyPointFromFunction(sessionStateManage.getCountryId(),getCustomerrefno()));\n\t\t\t\tSystem.out.println(\"Loyalty Points :\"+customerDetails.getFsCustomer().getLoyaltyPoints());\n\t\t\t\tif (occupationID != null) {\n\t\t\t\t\tString occupation = generalService.getOccupationDesc(occupationID,sessionStateManage.getLanguageId());\n\t\t\t\t\tif (occupation != null) {\n\t\t\t\t\t\tsetOccupation(occupation);\n\t\t\t\t\t}else {\n\t\t\t\t\t\tsetOccupation(\"UN-EMPLOYEE\");\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tsetOccupation(\"UN-EMPLOYEE\");\n\t\t\t\t}\n\t\t\t}\n\t\t}catch(Exception e){\n\t\t\tsetErrmsg(e.getMessage());\n\t\t\tRequestContext.getCurrentInstance().execute(\"alertmsg.show();\");\n\t\t}\n\n\t\tlog.info(\"Exit into getCustomerDetails method \");\n\t}","title":""},{"docid":"0d2e017e05ae1eb6de05fcc50e2d371c","score":"0.5459279","text":"public void saveCarrera(Carrera carrera) {\n\t\t\n\t}","title":""},{"docid":"38e58287d1226e36e7b767b90d559e20","score":"0.54541916","text":"@Override\r\n\tpublic void save(CusReprieveEntity t) {\n\t\tcusReprieveDao.save(t);\r\n\t}","title":""},{"docid":"3d3b560d9b765bafb95552761e77992a","score":"0.5451462","text":"public void saveStateToDB() {\n DatabasePortal myDB = DatabasePortal.getInstance();\n // add customers\n for (Customer customer : getBank().getCustomers()) {\n myDB.addCustomer(customer);\n }\n // add managers\n for (Manager manager : getBank().getManagers()) {\n myDB.addManager(manager);\n }\n myDB.storeSession(getDay());\n }","title":""},{"docid":"1d6ea0dd3c6e128e96f4c932013e198d","score":"0.5442654","text":"public void saveCoche(Coche coche) {\n\t\t\n\t}","title":""},{"docid":"11251836b076ff8d7e372ebd3826c028","score":"0.5435004","text":"int insert(TMallCkInfo record);","title":""},{"docid":"c33fc81670c242e3bfbd7627cd7190db","score":"0.54275495","text":"CARC13SO saveSecurityClass(CARC13SI carc13si);","title":""},{"docid":"03f573302f42535b9704b2110bfc1df4","score":"0.54262114","text":"int insert(consigneeManage record);","title":""},{"docid":"a910fbda9ef59c0f59daba2095e32b68","score":"0.5414545","text":"@Override\n public Compte saveCompte(Compte cp) {\n cp.setDateCreation(new Date());\n return cpRepo.save(cp);\n }","title":""},{"docid":"b31b7647f95eba3d63022bafe3f48ad7","score":"0.541413","text":"@Override\r\n\tpublic void vehicleDetailsInfo(VehicleDetails vehicleDetails) throws SQLException {\n\t\tConnection con = ConnectionManagerMysql.connectToSql(); //connection establishment\r\n//\t\tStatement st = con.createStatement();\r\n//\t\tResultSet rs = st.executeQuery(\"SELECT * FROM insurance_policy\");\r\n//\t\tVehicleDetails vehicleDetails = new VehicleDetails();\r\n\t\tString insurancePolicyDetailsInsert = \"INSERT INTO vehicleInfo VALUES (?,?,?,?)\";\r\n\t\t\r\n\r\n\t\tPreparedStatement ps = con.prepareStatement(insurancePolicyDetailsInsert);\r\n\t\tps.setString(1, vehicleDetails.getVehicle_RC());\r\n\t\tps.setString(2, vehicleDetails.getCustomer_Id());\r\n\t\tps.setLong(3,vehicleDetails.getAaNum());\r\n\t\tps.setString(4,vehicleDetails.getLicense_Num());\r\n\t\t\r\n\t\r\n\t\t\r\n\t\t\r\n\t\tint execution = ps.executeUpdate();\r\n\t\tif(execution >0) {\r\n\t\t\tSystem.out.println(\"Inserted succesfully\");\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t}","title":""},{"docid":"3e0d320d78a937b4f60c2d272e15b427","score":"0.54019153","text":"@Override\r\n\tpublic boolean saveCustomer(CustomerDetails customerDetails) {\n\t\tTransaction transaction1=null;\r\n\t\tTransaction transaction=null;\r\n\t\ttry{\r\n\t\tSession session=sessionFactory.getCurrentSession();\r\n\t\ttransaction=session.beginTransaction();\r\n\t\tCustomerDetails customer=new CustomerDetails();\r\n\t\tcustomer.setCustomerName(customerDetails.getCustomerName());\r\n\t\tcustomer.setCustomerAddr(customerDetails.getCustomerAddr());\r\n\t\tcustomer.setCustomerPhone(customerDetails.getCustomerPhone());\r\n\t\tcustomer.setUsername(customerDetails.getUsername());\r\n\t\tcustomer.setAddressType(customerDetails.getAddressType());\r\n\t\tcustomer.setCode(customerDetails.getCode());\r\n\t\tcustomer.setCost(customerDetails.getCost());\r\n\t\tcustomer.setEmail(\"chandu@gmail.com\");\r\n\t\tsession.save(customer);\t\r\n\t\t}catch(Exception e){\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\tfinally{\r\n\t\t\t\r\n\t\t\ttransaction.commit();\r\n\t\t}\r\n\t\treturn true;\r\n\t}","title":""},{"docid":"7db7beaa1e64929f5576cd8e665641e2","score":"0.53819686","text":"@Override\r\n\tpublic void saveRecord(View view) {\r\n\t\t// String for costs amount\r\n\t\tfinal String amount = ((EditText)findViewById(R.id.amount_input_field)).getText().toString();\r\n\t\t// Float number for amount format check\r\n\t\tdouble cislo;\r\n\r\n\t\tif (amount.trim().equals(\"\")) {\r\n\t\t\t(new ErrorDialog(context, R.string.input_error,\r\n\t\t\t\t\tR.string.empty_amount)).show();\r\n\t\t\treturn;\r\n\t\t}\r\n\t\ttry {\r\n\t\t\t// Check float format\r\n\t\t\tcislo = Double.parseDouble(amount);\r\n\t\t} catch (NumberFormatException e) {\r\n\t\t\t(new ErrorDialog(context, R.string.input_error,\r\n\t\t\t\t\tR.string.bad_amount_format)).show();\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tCurrencyLocale currency = null;\r\n\t\tCategory category = null;\r\n\t\tJourney journey = null;\r\n\t\t// String for selected currency\r\n\t\ttry {\r\n\t\t\tcurrency = (CurrencyLocale)curSpinner.getAdapter().getItem(curSpinner.getSelectedItemPosition());\r\n\t\t} catch (ArrayIndexOutOfBoundsException e) {\r\n\t\t\t(new ErrorDialog(context, R.string.input_error, R.string.empty_currency_name)).show();\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t// String for selected category\r\n\t\ttry {\r\n\t\t\tcategory = (Category)catSpinner.getAdapter().getItem(catSpinner.getSelectedItemPosition());\r\n\t\t} catch (ArrayIndexOutOfBoundsException e) {\r\n\t\t\t(new ErrorDialog(context, R.string.input_error, R.string.empty_category_name)).show();\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t// String for selected journey\r\n\t\ttry {\r\n\t\t\tjourney = (Journey)jouSpinner.getAdapter().getItem(jouSpinner.getSelectedItemPosition());\r\n\t\t} catch (ArrayIndexOutOfBoundsException e) {\r\n\t\t\t(new ErrorDialog(context, R.string.input_error, R.string.empty_journey_name)).show();\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tToast.makeText(context, R.string.saving_cost, Toast.LENGTH_SHORT).show();\r\n\t\tdataSource.updateRecord(id_record, category.getId(), currency.getCurrency().getCurrencyCode(),\r\n\t\t\t\tjourney.getId(), cislo, date, time);\r\n\t\tToast.makeText(context, R.string.cost_saved, Toast.LENGTH_SHORT).show();\r\n\t\t//Toast.makeText(context, \"OK ;)\", Toast.LENGTH_SHORT).show();\r\n\t\tstartView();\r\n\t}","title":""},{"docid":"36c8c3e9c851d37cf1419181ceb93df0","score":"0.5375935","text":"void saveData();","title":""},{"docid":"f3a9a45d4df90702bc9e1b186a2afe28","score":"0.53742015","text":"public void populateCustomerCreditMemoDetails() {\n CustomerCreditMemoDetail customerCreditMemoDetail;\n KualiDecimal invItemTaxAmount, openInvoiceQuantity, openInvoiceAmount;\n\n CustomerInvoiceDetailService customerInvoiceDetailService = SpringContext.getBean(CustomerInvoiceDetailService.class);\n setStatusCode(ArConstants.CustomerCreditMemoStatuses.IN_PROCESS);\n \n //set accounts receivable document header\n AccountsReceivableDocumentHeader accountsReceivableDocumentHeader = SpringContext.getBean(AccountsReceivableDocumentHeaderService.class).getNewAccountsReceivableDocumentHeaderForCurrentUser();\n accountsReceivableDocumentHeader.setDocumentNumber(getDocumentNumber());\n accountsReceivableDocumentHeader.setCustomerNumber(invoice.getAccountsReceivableDocumentHeader().getCustomerNumber());\n setAccountsReceivableDocumentHeader(accountsReceivableDocumentHeader);\n\n List customerInvoiceDetails = invoice.getCustomerInvoiceDetailsWithoutDiscounts();\n for (CustomerInvoiceDetail customerInvoiceDetail : customerInvoiceDetails) {\n customerCreditMemoDetail = new CustomerCreditMemoDetail();\n\n if(ObjectUtils.isNull(customerInvoiceDetail.getInvoiceItemTaxAmount())){\n customerInvoiceDetail.setInvoiceItemTaxAmount(KualiDecimal.ZERO);\n }\n customerCreditMemoDetail.setInvoiceLineTotalAmount(customerInvoiceDetail.getInvoiceItemTaxAmount(), customerInvoiceDetail.getInvoiceItemPreTaxAmount());\n customerCreditMemoDetail.setReferenceInvoiceItemNumber(customerInvoiceDetail.getSequenceNumber());\n openInvoiceAmount = customerInvoiceDetail.getAmountOpen();\n\n customerCreditMemoDetail.setInvoiceOpenItemAmount(openInvoiceAmount);\n customerCreditMemoDetail.setInvoiceOpenItemQuantity(getInvoiceOpenItemQuantity(customerCreditMemoDetail, customerInvoiceDetail));\n customerCreditMemoDetail.setDocumentNumber(this.documentNumber);\n customerCreditMemoDetail.setFinancialDocumentReferenceInvoiceNumber(this.financialDocumentReferenceInvoiceNumber);\n\n // this is a hookup for institution custom to update financial object code for prior year(s) invoice\n //customerInvoiceDetailService.updateFinancialObjectCode(customerCreditMemoDetail);\n \n creditMemoDetails.add(customerCreditMemoDetail);\n }\n\n }","title":""},{"docid":"d07b38bb0b5e41384b216170f0516635","score":"0.53703964","text":"public void populateCashDetailsForDeposit(CashManagementDocument cmDoc);","title":""},{"docid":"5cff14f4e28a9477316244fb4777be1c","score":"0.5361429","text":"protected void fileSave()\n {\n String id = mainTab.getTransId();\n String firstName = mainTab.getFirstName();\n String lastName = mainTab.getLastName();\n String compName = mainTab.getCompName();\n\n System.out.println(id + \" \" + firstName + \" \" + lastName + \" \" + compName);\n\n String sqlStmt = \" select \" + prospectObj.ID + \", \" +\n prospectObj.FIRST_NAME + \", \" +\n prospectObj.LAST_NAME + \", \" +\n prospectObj.COMPANY_NAME +\n \" from \" + prospectObj.TABLE_NAME +\n \" where \" + prospectObj.FIRST_NAME + \" = '\" + firstName + \"' and \" +\n prospectObj.LAST_NAME + \" = '\" + lastName + \" ' and \" +\n prospectObj.COMPANY_NAME + \" = '\" + compName + \"'\";\n\n csDBAdapter dbAdapter = csDBAdapterFactory.getInstance().getDBAdapter();\n\n try {\n SessionMetaData sessionMeta = SessionMetaData.getInstance();\n DBRecSet attribs = dbAdapter.execDynamicSQL(sessionMeta.getClientServerSecurity(),\n sqlStmt);\n boolean duplicateFound = false;\n String duplicateId = null;\n if (attribs.getSize() > 0) {\n for (int i=0; i 0);\n\t}","title":""},{"docid":"3f7c807ef536444d9af9d7fa0c932a39","score":"0.5360865","text":"@Override\n public boolean save(InvoiceDTO entity) throws Exception{\n Invoice invoice=new Invoice(0,entity.getDiscription(),entity.getCid());\n return invoiceDAO.save(invoice);\n \n \n \n \n }","title":""},{"docid":"6c0720128e69e46b179b39326d5bfafd","score":"0.5348095","text":"@Override\n public void save(Customer customer) {\n }","title":""},{"docid":"42f5f22fd8412265764032eb5cb671ea","score":"0.5328473","text":"public Customer save(Customer cus1) {\r\n\t\treturn customerRepository.save(cus1);\r\n\t}","title":""},{"docid":"c7f410b1f5e767f19539dbb5d0cbf473","score":"0.53257686","text":"Contact saveContact(Contact contact) throws Exception;","title":""},{"docid":"486324a8a16f4a36d30045342eb25c35","score":"0.5322166","text":"@Override\r\n\tpublic void save(Compte t) {\n\t\tString sql =\"INSERT INTO compte(idClient,numCompte,solde,typeCompte) VALUES (?,?,?,?)\";\r\n\t\t\r\n\t\ttry {\r\n\t\t\tpst = con.prepareStatement(sql);\r\n\t\t\tpst.setInt(1, t.getIdClient());\r\n\t\t\tpst.setDouble(2, t.getNumCompte());\r\n\t\t\tpst.setDouble(3, t.getSolde());\r\n\t\t\tpst.setString(4, t.getTypeCompte());\r\n\t\t\tpst.execute();\r\n\t\t\tSystem.out.println(\"Enregistrement effectue\");\r\n\t\t} catch (Exception e) {\r\n\t\t\tSystem.out.println(\"Enregistrement non effectue\");\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t}","title":""},{"docid":"94d0946fe0c584cff6098ec08e6e2cd4","score":"0.531947","text":"public void saveData() {\n data.writeAnimaDetails(allAnimals);\n data.writeKeeperDetails(allKeepers);\n data.writeCageDetails(allCages);\n\n }","title":""},{"docid":"b7464be07adfee87d35a92ed018a2a4a","score":"0.5313583","text":"@Override\n public void save(Candidato candidato) {\n conn = Conexao.getConnection();\n if (candidato == null) {\n System.out.println(\"O campo candidato não pode ser nulo\");\n\n } else {\n try {\n \n ps = conn.prepareStatement(INSERIR);\n ps.setString(1, candidato.getPrimeiroNomeCandidato());\n ps.setString(2, candidato.getSegundoNomeCandidato());\n ps.setString(3, candidato.getUltimoNomeFuncionario());\n ps.setString(4, candidato.getAlcunhaFuncionario());\n ps.setBytes(5, candidato.getFotoCandidato());\n ps.setString(6, candidato.getUrlFotoCandidato());\n ps.setDate(7, candidato.getDataNascimentoCandidato());\n ps.setString(8, candidato.getTelefoneFixo());\n ps.setString(9, candidato.getTelemovelPrincipal());\n ps.setString(10, candidato.getTelemovelSecundario());\n ps.setString(11, candidato.getEmailPrincipal());\n ps.setString(12, candidato.getEmailSecundario());\n ps.setString(13, candidato.getCasaCandidato());\n ps.setString(14, candidato.getRuaFuncionario());\n ps.setString(15, candidato.getBairroCandidato());\n ps.setInt(16, candidato.getMunicipioCandidato().getIdMunicipio());\n ps.executeUpdate();\n\n } catch (SQLException ex) {\n System.out.println(\"erro na insercao de dados: \" + ex.getMessage());\n } finally {\n Conexao.closeConnection(conn, ps);\n }\n }\n\n }","title":""},{"docid":"3178c58777273788fd4e5fd3447d773d","score":"0.53121614","text":"int insert(CareOrderItem record);","title":""},{"docid":"148cd47b9b169153ac1b687103d59ba5","score":"0.53044575","text":"@Override\r\n\tpublic void addCustomer(Customerdetail c) {\n\t\ttemplate.save(c);\r\n\t}","title":""},{"docid":"e63c1552b4850821281d0806c1fcc134","score":"0.52988344","text":"private void saveAndReturn() {\n SimpleDateFormat sfaDate = new SimpleDateFormat(\"MM/dd/yyyy HH:mm:ss\", Locale.US);\n SimpleDateFormat sfdDate = new SimpleDateFormat(\"MM/dd/yyyy HH:mm:ss\", Locale.US);\n\n // Initializes dates with new date\n Date assignDate = new Date();\n Date dueDate = new Date();\n\n // Parses dates that user typed in according to format\n try {\n assignDate = sfaDate.parse(mAssignDate.getText().toString());\n } catch (ParseException e) {\n e.printStackTrace();\n }\n\n try {\n dueDate = sfdDate.parse(mDueDate.getText().toString());\n } catch (ParseException e) {\n e.printStackTrace();\n }\n\n // Casts classId as int\n// int cid = Integer.parseInt(mClassId.getText().toString());\n\n // Saves data to Db in the correct format\n mViewModel.saveData(mTitle.getText().toString(),\n mDescription.getText().toString(),\n mCategory.getSelectedItem().toString(),\n assignDate,\n dueDate,\n cClassIdItem);\n finish();\n }","title":""},{"docid":"f8a88706895d92b5d0c56ac4fcdfa6a5","score":"0.52972454","text":"@Test\n\tvoid testEditCustomerDetails() {\n\t\tCustomer cust = new Customer(new Name(\"first1\",\"mid1\",\"last1\"),\"street1\");\n\t\tAccount acc = service.createAccount(cust, \"saving\");\n\t\t\n\t\tList customers = service.getAllCustomersByAccId(acc.getId());\n\t\tassertEquals(customers.size(), 1);\n\t\tassertEquals(customers.get(0).getAddress(),\"street1\");\n\t\t\n\t\tCustomer custChange = new Customer(customers.get(0).getId(),new Name(\"first1\",\"mid1\",\"last1\"),\"street2\");\n\t\tCustomer cust1 = service.editCustomerDetails(custChange);\n\t\t\n\t\tList customersList = service.getAllCustomersByAccId(acc.getId());\n\t\tassertEquals(customersList.size(), 1);\n\t\tassertEquals(customersList.get(0).getAddress(),\"street2\");\n\t}","title":""},{"docid":"329c7df5aa9b208d243f22e142173362","score":"0.5278722","text":"@Override\r\n\tpublic String createAccount(Customer c) {\r\n\t\tString result=\"\";\r\n\t\ttry {\r\n\t\t\t\r\n\t\t\t//Row Insertion in Account table\r\n\t\t\tps=con.prepareStatement(\"insert into Account values(?,?,?,?,?,?,?,?,?,?,?) \");\r\n\t\t ps.setLong(1, c.getAccountNumber());\r\n\t\t ps.setString(2, c.getFirstName());\r\n\t\t ps.setString(3, c.getLastName());\r\n\t\t ps.setInt(4, c.getAge());\r\n\t\t ps.setLong(5, c.getMobileNumber());\r\n\t\t ps.setString(6, c.getEmailId());\r\n\t\t ps.setString(7, c.getCity());\r\n\t\t ps.setString(8, c.getState());\r\n\t\t ps.setInt(9, c.getPinCode());\r\n\t\t ps.setDouble(10, c.getBalance());\r\n\t\t ps.setLong(11, c.getAadharCardNumber());\r\n\t\t \r\n\t\t //Query Execution\r\n\t\t int x=ps.executeUpdate();\r\n\t\t if(x!=0) {\r\n\t\t \tString s=\"Credited With Rs. \"+c.getBalance()+\" on \"+new Date();\r\n\t\t \tc.setTransaction(s);\r\n\t\t \t\r\n\t\t \t ps1=con.prepareStatement(\"insert into Transcript values(?,?)\");\r\n\t\t\t\t ps1.setLong(1,c.getAccountNumber());\r\n\t\t\t\t ps1.setString(2, c.getTransaction());\r\n\t\t\t\t ps1.execute();\r\n\t\t\t\t \r\n\t\t \tresult=\"Account Created With Name :\"+c.getFirstName()+\" and Account_Number:\"+c.getAccountNumber();\r\n\t\t }\r\n\t\t else {\r\n\t\t \tresult=\"Unable to create an Account. \\nTry Next Time \";\r\n\t\t }\r\n\t\t \r\n\t\t \r\n\t\t} catch (SQLException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t \r\n\t\t return result;\r\n\t\t\r\n\t}","title":""},{"docid":"4235b0be586c419e66f7f9616b8ed31f","score":"0.52745724","text":"public void save(Cancel cancel) {\n\t\tStringBuffer sql=new StringBuffer(\"insert into CSMS_Cancel(\");\n\t\tsql.append(FieldUtil.getFieldMap(Cancel.class,cancel).get(\"nameStr\")+\") values(\");\n\t\tsql.append(FieldUtil.getFieldMap(Cancel.class,cancel).get(\"valueStr\")+\")\");\n\t\tsave(sql.toString());\n\t}","title":""},{"docid":"364f4c84962abb5ea1383bd069dc49e0","score":"0.5272034","text":"BusinessClientContact saveBusinessClientContact(BusinessClientContact contact);","title":""},{"docid":"fdb639729267015d498b4c18b074df11","score":"0.52627075","text":"@Override\n\tpublic void save(Customer customer) {\n\t\t\n\t}","title":""},{"docid":"50496234f5bc62f21c2a5f1d55f8376a","score":"0.5261036","text":"public String calCtc() {\r\n\t\ttry {\r\n\t\t\tCTCDetailModel model = new CTCDetailModel();\r\n\t\t\tmodel.initiate(context, session);\r\n\t\t\tmodel.getEmpDetails(ctcDetail, request);\r\n\t\t\tObject[][] rows = model.showFormula(ctcDetail, request);\r\n\t\t\tctcDetail.setNoData(\"false\");\r\n\t\t\tgetProfileImage();\r\n\t\t\tmodel.terminate();\r\n\t\t\tString viewFm = \"viewFm\";\r\n\t\t\trequest.setAttribute(\"rows\", rows);\r\n\t\t\trequest.setAttribute(\"viewFm\", viewFm);\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn \"success\";\r\n\r\n\t}","title":""},{"docid":"1b44b7a2762db00ceb82f69f4e335979","score":"0.52555114","text":"public void finishTransaction() throws Exception{\n\t\tif(cust!=null){\r\n\t\t\ttran.setCustId(cust.getId());\r\n\t\t}\r\n\t\t\r\n\t\tTranConfirm tc = new TranConfirm(shlSaleWindow, SWT.DIALOG_TRIM | SWT.APPLICATION_MODAL);\r\n\t\t//tc.setConfirm(Double.toString(tran.getTotal()), Double.toString(tran.getTax()), Double.toString(tran.getSubtotal()));\r\n\t\ttc.setConfirm(tran);\r\n\t\ttc.open();\r\n\t\tif(tc.getAnswer())\r\n\t\t{\r\n\t\t\r\n\t\ttran.setStoreId(store.getId());\r\n\t\ttran.setEmpId(emp.getId());\r\n\t\ttran.setEntrydate(new Date());\r\n\t\t//tran.save();\r\n\t\t\r\n\t\tPaymentWin paywin = new PaymentWin(shlSaleWindow, 0, tran);\r\n\t\tpaywin.open();\r\n\t\t{\r\n\t\t//Save Payment\r\n//\t\tPayment pay = BusinessObjectDAO.getInstance().create(\"Payment\");\r\n//\t\tpay.setAmount(tran.getTotal());\r\n//\t\tpay.setPaytype(\"Cash\");\r\n//\t\tpay.setTranid(tran.getId());\r\n//\t\tpay.save();\r\n\t\t//tran.setPaymentId(pay.getId());\r\n\t\t\r\n\t\t//Save Commission\r\n\t\tcomm = BusinessObjectDAO.getInstance().create(\"Commission\");\r\n\t\ttran.setCommissionId(comm.getId());\r\n\t\tcomm.setEmpId(emp.getId());\r\n\t\tcomm.setEntryDate(new Date());\r\n\t\tcomm.setTranId(tran.getId());\r\n\t\tcomm.setAmt(getComm());\r\n\t\tSystem.out.println(comm.getAmt());\r\n\t\tcomm.save();\r\n\t\t\r\n\t\t//Commission Journal Entry\r\n\t\tJournalEntry JE = BusinessObjectDAO.getInstance().create(\"JournalEntry\");\r\n\t\tJE.setEntrydate(new Date());\r\n\t\tJE.setTranId(tran.getId());\r\n\t\tJE.save();\r\n\t\tCreditDebit CD = BusinessObjectDAO.getInstance().create(\"CreditDebit\");\r\n\t\tCD.setAmount(comm.getAmt());\r\n\t\tCD.setDorc(false);\r\n\t\tCD.setJournalId(JE.getId());\r\n\t\tCD.setGeneralname(\"Comm Payable\");\r\n\t\tCD.save();\r\n\t\tCreditDebit CD2 = BusinessObjectDAO.getInstance().create(\"CreditDebit\");\r\n\t\tCD2.setAmount(comm.getAmt());\r\n\t\tCD2.setDorc(true);\r\n\t\tCD2.setGeneralname(\"Comm Expense\");\r\n\t\tCD2.setJournalId(JE.getId());\r\n\t\tCD2.save();\r\n\t\t\r\n\t\t\r\n\t\t//Save sale objects.\r\n\t\tfor(RevenueSource s:saleList){\r\n\t\t\ts.save();\r\n\t\t}\r\n\t\t\r\n\t\t//Update inventory and run journal entries.\r\n\t\tupdateInventory();\r\n\t\tString journalid = TransactionCtlr.getInstance().journalEntries(tran);\r\n\t\ttran.setJournalId(journalid);\r\n\t\t\r\n\t\tsearchText.setText(\"\");\r\n\t\tphoneField.setText(\"\");\r\n\t\taddressField.setText(\"\");\r\n\t\tcustField.setText(\"\");\r\n\t\tsearchProd.setText(\"\");\r\n\t\tprodnameField.setText(\"\");\r\n\t\tpriceField.setText(\"\");\r\n\t\tquantityField.setSelection(0);\r\n\t\tdescField.setText(\"\");\r\n\t\tsubtotalField.setText(\"\");\r\n\t\ttotalField.setText(\"\");\r\n\t\ttaxField.setText(\"\");\r\n\t\tclist.clear();\r\n\t\ttableViewer.refresh();\r\n\t\t\r\n\t\ttran.save();\r\n\t\tString tempTran = tran.getId();\r\n\t\tSystem.out.println(\"Transation Saved.\");\r\n\t\tclearSalesWin();\r\n\t\tpopulate();\r\n\t\t\r\n\t\tTransaction t1 = BusinessObjectDAO.getInstance().searchForBO(\"Transaction\", new SearchCriteria(\"id\", tempTran));\r\n\t\tSystem.out.println(\"Storeid: \" + t1.getStoreId());\r\n\t\tSystem.out.println(\"Date: \" + t1.getEntrydate());\r\n\t\tSystem.out.println(\"Subtotal: \" + t1.getSubtotal());\r\n\t\tSystem.out.println(\"Total: \" + t1.getTotal());\r\n\t\tSystem.out.println(\"Tax: \" + t1.getTax());\r\n\t\tSystem.out.println(\"JournalEntry \" + t1.getJe().getEntrydate());\r\n\t\tSystem.out.println(\"Commission \" + t1.getComm().getAmt());\r\n\t\tSystem.out.println(\"Payment \" + t1.getPayment().getAmount());\r\n\t\t}\r\n\t\t}\r\n\t}","title":""},{"docid":"5696c93d699c3e23220ffe7ef43389c2","score":"0.5252136","text":"@Override\n public void save(Contact contact) {\n\n }","title":""},{"docid":"22e45759b51c86cec08d9f4a826904f6","score":"0.5249909","text":"protected void save(){\r\n if(file == null){\r\n throw new RuntimeException(\"The CustomerManager class has not been loaded: it cannot be saved!\");\r\n }\r\n \r\n try {\r\n PrintStream out = new PrintStream(file);\r\n for(Customer c : customers.values()){\r\n out.print(c.getName() + \"--\");\r\n out.print(c.getPhoneNo() + \"--\");\r\n out.print(c.getAddress());\r\n out.println();\r\n }\r\n out.close();\r\n } catch (FileNotFoundException e) {\r\n e.printStackTrace(); //DEBUG\r\n //Irrecoverable.\r\n }\r\n }","title":""},{"docid":"f22ddcc01a9cdad465c049e9806b4754","score":"0.5249624","text":"public void addcustomer(String cus_id, String name, String address, String tel) {\r\n try{\r\n \r\n stmt=DBconnection.getStatementConnection();\r\n stmt.executeUpdate\r\n (\"INSERT INTO customer VALUE('\"+cus_id+\"','\"+name+\"','\"+address+\"','\"+tel+\"')\");\r\n JOptionPane.showMessageDialog(null,\"You are Succesful Added Data..!\");\r\n } \r\n catch(Exception e){\r\n e.printStackTrace();\r\n }\r\n }","title":""},{"docid":"c3db8f68e3f2d4811d23cb6e30806d9c","score":"0.52481365","text":"@Override\n public boolean onSave(EditTransaction et) {\n\n et.retrieveData(VisitDrugDental.TOOTHAREA, typecode, false, null, null);\n\n ContentValues cv = et.getContentValues();\n cv.put(VisitDrugDental.TOOTHAREA, typecode.getText().toString());\n cv.put(VisitDrugDental.SURFACE, quality.getSelectionId());\n cv.put(VisitDrugDental.COMMENT, quality2.getText().toString());\n return true;\n }","title":""},{"docid":"a904294236121127a1fe7e5405946a82","score":"0.5247888","text":"public void saveCurrencyChange(CurrencyChange currencyChange);","title":""},{"docid":"e058bbd69bb64a25fd23bb0af74e4e1e","score":"0.52471304","text":"void saveContextToFile();","title":""},{"docid":"331f3a7cad199f528fadae2eff9645b5","score":"0.52345407","text":"public void saveData() throws PersistenceException, IOException {\r\n\t\tgerenteComentario.saveData();\r\n\r\n\t}","title":""},{"docid":"78a056fe67bdd25295fdd4a48598fc53","score":"0.5230619","text":"public void save(Button.ClickEvent event) {\n try {\n // Commit the fields from UI to DAO\n formFieldBindings.commit();\n\n // Save DAO to backend with direct synchronous service API\n\n //getUI().service.save(contact);\n expenseView.dataAccess.postExpense(expenseItem);\n\n String msg = String.format(\"Saved '%s %s'.\",\n expenseItem.getExpense(),\n expenseItem.getDescription());\n show(msg, Type.TRAY_NOTIFICATION);\n expenseView.refreshContacts();\n } catch (FieldGroup.CommitException e) {\n // Validation exceptions could be shown here\n }\n }","title":""},{"docid":"47bb746cd8c98dad72042e4ec44bfd88","score":"0.5229879","text":"void saveOrder(Order order);","title":""},{"docid":"47bb746cd8c98dad72042e4ec44bfd88","score":"0.5229879","text":"void saveOrder(Order order);","title":""},{"docid":"d27e5b0a2a310fcc4071d3c02a60f50d","score":"0.52269995","text":"public void saveFormData() {\r\n StrictEquals stCloseout = new StrictEquals();\r\n AwardCloseOutBean qryBean = new AwardCloseOutBean();\r\n Hashtable htData = new Hashtable();\r\n htData = getCloseOutData();\r\n try{\r\n setSaveFormData();\r\n if(validate()){\r\n CoeusVector cvdTemp = queryEngine.executeQuery(queryKey,AwardCloseOutBean.class, CoeusVector.FILTER_ACTIVE_BEANS);\r\n if(cvdTemp!= null && cvdTemp.size() > 0){\r\n qryBean = (AwardCloseOutBean)cvdTemp.get(0);\r\n }else{\r\n CoeusVector cvTempData = (CoeusVector)htData.get(AwardCloseOutBean.class);\r\n if(cvTempData!= null && cvTempData.size()> 0){\r\n// qryBean = (AwardCloseOutBean)htData.get(AwardCloseOutBean.class);\r\n qryBean = (AwardCloseOutBean)cvTempData.elementAt(0);\r\n }\r\n }\r\n dataChange = stCloseout.compare(awardCloseOutBean, qryBean);\r\n if(!dataChange){\r\n CoeusVector dataObject = new CoeusVector();\r\n dataObject.add(awardCloseOutBean);\r\n if(dataObject!= null && dataObject.size()>0){\r\n if(functionType==NEW_AWARD){\r\n awardCloseOutBean.setAcType(TypeConstants.INSERT_RECORD);\r\n queryEngine.addCollection(queryKey,AwardCloseOutBean.class, dataObject);\r\n }\r\n awardCloseOutBean.setAcType(TypeConstants.UPDATE_RECORD);\r\n queryEngine.addCollection(queryKey,AwardCloseOutBean.class, dataObject);\r\n }\r\n }\r\n dlgCloseout.dispose();\r\n }\r\n }catch (CoeusException coeusException){\r\n coeusException.printStackTrace();\r\n }catch (CoeusUIException coeusUIException){\r\n coeusUIException.printStackTrace();\r\n }\r\n }","title":""},{"docid":"238d9a3842716ffbe7a02227b7d8fa2d","score":"0.52209747","text":"public void save(Context ctx) {\n ContentValues values = new ContentValues();\n ContentResolver cr = ctx.getContentResolver();\n long targetGroupId = prepareTargetGroupId(ctx);\n createContact(ctx, targetGroupId);\n\n // Display confirmation\n Context context = ctx;\n CharSequence text = ctx.getText(R.string.contact_saved);\n int duration = Toast.LENGTH_SHORT;\n\n Toast toast = Toast.makeText(context, text, duration);\n toast.show();\n }","title":""},{"docid":"eb85012a4ff266c03cd50cd0afddeec9","score":"0.522002","text":"void accDetails(int id);","title":""},{"docid":"218b2f0ff9e32855929db4834a8aa04e","score":"0.52197987","text":"private void saveData() {\n String f_code = txtCode.getText().trim();\n String f_desc = txtDesc.getText().trim();\n\n if (f_code == null || f_code.equals(\"\")) {\n Log.m(\"กรุณาระบุรหัสโรงงาน (Code)\");\n txtCode.requestFocus();\n } else if (f_code.length() > 3) {\n Log.m(\"กรุณาระบุรหัสกลุ่ม (Code) ไม่เกิน 3 ตัว\");\n } else if (f_desc == null || f_desc.equals(\"\")) {\n Log.m(\"กรุณาระบุชื่อชื่อโรงงาน (Description)\");\n txtCode.setEditable(false);\n txtDesc.requestFocus();\n } else {\n FactoryControl factory = new FactoryControl();\n FactoryBean bean = new FactoryBean();\n bean.setFactorycode(f_code);\n bean.setFactoryname(f_desc);\n\n factory.insert(bean);\n\n clearForm();\n loadData();\n }\n }","title":""},{"docid":"3f2f6ec62155136c0bf08612720cd4cd","score":"0.5218394","text":"private void saveFurtherInformationDataToDatabase(List list) {\n for (int i = 0; i < list.size(); i++) {\n ParseObject furtherInformationFromParse = list.get(i);\n int civicID = furtherInformationFromParse.getInt(PARSE_CORRESPONDING_CIVIC_ID);\n String dayTicket = furtherInformationFromParse.getString(PARSE_DAY_TICKET);\n String sports = furtherInformationFromParse.getString(PARSE_SPORTS);\n furtherInformationDatabase.addFurtherInformationItem(civicID, dayTicket, sports);\n }\n }","title":""},{"docid":"0162dc5bd61b1756ccbd244b24bb84a7","score":"0.5203037","text":"void saveExpirableTransactionRecord();","title":""},{"docid":"c0308be895e8cc496a93ae3857c628f5","score":"0.52018684","text":"int insert(AccountInvoiceCancelEntity record);","title":""},{"docid":"fa112a2481aba371363a9e309e26c157","score":"0.5196272","text":"public void save() {\n\t\t\t\n\t\t}","title":""},{"docid":"8bb869c39ece3df44a816fde99512957","score":"0.51950395","text":"public long createContractorEntry(String cName, String cMobile, String cEmail, String cAddr, String cType, String cCharge, String cNotes) {\n\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\n\t\t\t\tContentValues cv = new ContentValues();\n\t\t\t\t//(column to pass it, what to pass in)\n\t\t\t\tcv.put(CONTRACTOR_NAME, cName);\n\t\t\t\tcv.put(CONTRACTOR_MOBILE, cMobile);\n\t\t\t\tcv.put(CONTRACTOR_EMAIL, cEmail);\n\t\t\t\tcv.put(CONTRACTOR_ADDR, cAddr);\n\t\t\t\tcv.put(CONTRACTOR_TYPE, cType);\n\t\t\t\tcv.put(CONTRACTOR_CHARGE, cCharge);\n\t\t\t\tcv.put(CONTRACTOR_NOTES, cNotes);\n\t\t\t\t\n\t\t\t\t//table, null, what to put in(puts)\n\t\t\t\treturn sqlitedatabase.insert(TABLE_CONTRACTORS, null , cv); \t\n\t\t\t}","title":""},{"docid":"dd45f85bbb9766af1044b597530f1858","score":"0.51915526","text":"private void storeData()\n\t{\n\t\tif(strFilePath!=null)\n\t\t{\n\t\t\tString strLogin=getResources().getString(R.string.login_table);\n\t\t\tString strMainSection=getResources().getString(R.string.mainsection_table);\n\t\t\tString strSection=getResources().getString(R.string.subsection_table);\n\t\t\tString strAuditData=getResources().getString(R.string.auditdata_table);\n\t\t\tOJTDAO database=new OJTDAO(Utility.context, getResources().getString(R.string.db_name));\n\t\t\tdatabase.create(strLogin,strMainSection,strSection,strAuditData);\n\t\t\tContentValues contentvalues=new ContentValues();\n\t\t\tcontentvalues.put(\"bsipath\", strFilePath);\n\t\t\tdatabase.update(contentvalues, strAuditData, \"status=?\", new String[]{\"0\"});\n\t\t\tdatabase.close();\n\t\t\tstrLogin=null;\n\t\t\tstrMainSection=null;\n\t\t\tstrSection=null;\n\t\t\tstrAuditData=null;\n\t\t\tstrFilePath=null;\n\t\t}\n\t}","title":""},{"docid":"746c5ef78fdd8fb3e97e2148e8a8d7ca","score":"0.5191298","text":"public int save(int idArea, String name){\n int i=0;\n try{\n Date date = new Date(0000-00-00);\n //Preparando\n getConexion();\n hp = new Helpers();\n qs = new Query();\n String Table = this._table;\n String now = hp.getDateNow();\n \n objCargo = new Cargo(0,name,idArea,now,now);\n //Iniciando consulta y asignando valores\n pt = qs.sqlRegister(Table);\n pt.setInt(1,objCargo.getIdare());\n pt.setString(2,objCargo.getName());\n pt.setDate(3,date.valueOf(objCargo.getCreated()));\n pt.setDate(4,date.valueOf(objCargo.getModified()));\n //Ejecucion y cierre\n i= pt.executeUpdate();\n pt.close();\n closeConexion();\n return i;\n }\n catch(Exception e){\n System.out.println(_error + \"save: \"+e);\n return i;\n }\n }","title":""},{"docid":"81bfd1bf34cb5fca3bb913d8374ad6fd","score":"0.5187874","text":"public void saveEntry(int i)\n {\n PCInfo[i].setPCInfo(txtPCName.getText(),txtPCID.getText(),txtIP.getText()); \n\n // You may also wish to write all the records that are currently in the array\n // to your data file on the hard drive (USB, SSD, or equivalent)\n writeFile(dataFileName);\n }","title":""},{"docid":"aa7e22b72668f3e93e332ec832ab40c2","score":"0.5186927","text":"@Override\n\tpublic boolean save(CitasDTO citasObjDTO) {\n\t\treturn false;\n\t}","title":""},{"docid":"af55cd8c6c5134d9482068a969e734e4","score":"0.5181355","text":"public void save(){\n \t}","title":""}],"string":"[\n {\n \"docid\": \"87160ba339ca444087b94d3de7079a19\",\n \"score\": \"0.6259128\",\n \"text\": \"public void save() throws OperationFailedException\\n {\\n assertConnected();\\n\\n List details = infoRetreiver.getContactDetails(uin);\\n VCard vCard = new VCard();\\n for (GenericDetail detail : details)\\n {\\n if (detail instanceof ImageDetail)\\n {\\n byte[] avatar = ((ImageDetail) detail).getBytes();\\n if (avatar == null) vCard.setAvatar(new byte[0]);\\n else vCard.setAvatar(avatar);\\n fireServerStoredDetailsChangeEvent(\\n jabberProvider,\\n ServerStoredDetailsChangeEvent.DETAIL_ADDED,\\n null,\\n detail);\\n }\\n else if (detail.getClass().equals(FirstNameDetail.class))\\n {\\n vCard.setFirstName((String)detail.getDetailValue());\\n }\\n else if (detail.getClass().equals(MiddleNameDetail.class))\\n {\\n vCard.setMiddleName((String)detail.getDetailValue());\\n }\\n else if (detail.getClass().equals(LastNameDetail.class))\\n {\\n vCard.setLastName((String)detail.getDetailValue());\\n }\\n else if (detail.getClass().equals(NicknameDetail.class))\\n vCard.setNickName((String)detail.getDetailValue());\\n else if (detail.getClass().equals(URLDetail.class))\\n {\\n if (detail.getDetailValue() != null)\\n vCard.setField(\\n \\\"URL\\\", detail.getDetailValue().toString());\\n }\\n else if (detail.getClass().equals(BirthDateDetail.class))\\n {\\n if (detail.getDetailValue() != null)\\n {\\n Calendar c = ((BirthDateDetail)detail).getCalendar();\\n DateFormat dateFormat =\\n new SimpleDateFormat(\\n JabberActivator.getResources().getI18NString(\\n \\\"plugin.accountinfo.BDAY_FORMAT\\\"));\\n String strdate = dateFormat.format(c.getTime());\\n vCard.setField(\\\"BDAY\\\", strdate);\\n }\\n }\\n else if (detail.getClass().equals(AddressDetail.class))\\n vCard.setAddressFieldHome(\\n \\\"STREET\\\", (String)detail.getDetailValue());\\n else if (detail.getClass().equals(CityDetail.class))\\n vCard.setAddressFieldHome(\\n \\\"LOCALITY\\\", (String)detail.getDetailValue());\\n else if (detail.getClass().equals(ProvinceDetail.class))\\n vCard.setAddressFieldHome(\\n \\\"REGION\\\", (String)detail.getDetailValue());\\n else if (detail.getClass().equals(PostalCodeDetail.class))\\n vCard.setAddressFieldHome(\\n \\\"PCODE\\\", (String)detail.getDetailValue());\\n else if (detail.getClass().equals(CountryDetail.class))\\n vCard.setAddressFieldHome(\\n \\\"CTRY\\\", (String)detail.getDetailValue());\\n else if (detail.getClass().equals(PhoneNumberDetail.class))\\n vCard.setPhoneHome(\\\"VOICE\\\", (String)detail.getDetailValue());\\n else if (detail.getClass().equals(WorkPhoneDetail.class))\\n vCard.setPhoneWork(\\\"VOICE\\\", (String)detail.getDetailValue());\\n else if (detail.getClass().equals(MobilePhoneDetail.class))\\n vCard.setPhoneHome(\\\"CELL\\\", (String)detail.getDetailValue());\\n else if (detail.getClass().equals(VideoDetail.class))\\n vCard.setPhoneHome(\\\"VIDEO\\\", (String)detail.getDetailValue());\\n else if (detail.getClass().equals(WorkVideoDetail.class))\\n vCard.setPhoneWork(\\\"VIDEO\\\", (String)detail.getDetailValue());\\n else if (detail.getClass().equals(EmailAddressDetail.class))\\n vCard.setEmailHome((String)detail.getDetailValue());\\n else if (detail.getClass().equals(WorkEmailAddressDetail.class))\\n vCard.setEmailWork((String)detail.getDetailValue());\\n else if (detail.getClass().equals(WorkOrganizationNameDetail.class))\\n vCard.setOrganization((String)detail.getDetailValue());\\n else if (detail.getClass().equals(JobTitleDetail.class))\\n vCard.setField(\\\"TITLE\\\", (String)detail.getDetailValue());\\n else if (detail.getClass().equals(AboutMeDetail.class))\\n vCard.setField(\\\"ABOUTME\\\", (String)detail.getDetailValue());\\n }\\n\\n //Fix the display name detail\\n String tmp;\\n\\n tmp = infoRetreiver.checkForFullName(vCard);\\n if(tmp != null)\\n {\\n DisplayNameDetail displayNameDetail = new DisplayNameDetail(\\n StringEscapeUtils.unescapeXml(tmp));\\n Iterator detailIt\\n = infoRetreiver.getDetails(uin, DisplayNameDetail.class);\\n while(detailIt.hasNext())\\n {\\n infoRetreiver.getCachedContactDetails(uin)\\n .remove(detailIt.next());\\n }\\n infoRetreiver.getCachedContactDetails(uin).add(displayNameDetail);\\n }\\n\\n try\\n {\\n VCardManager\\n .getInstanceFor(jabberProvider.getConnection())\\n .saveVCard(vCard);\\n }\\n catch (XMPPException\\n | InterruptedException\\n | NoResponseException\\n | NotConnectedException xmppe)\\n {\\n logger.error(\\\"Error loading/saving vcard: \\\", xmppe);\\n throw new OperationFailedException(\\n \\\"Error loading/saving vcard: \\\", 1, xmppe);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"795e9ed17f2dcb2c6703744b0b628504\",\n \"score\": \"0.6232161\",\n \"text\": \"private void commitAboutDetails() {\\n\\t\\tInvoiceGenerator.invoice.setMessers(txtMessers.getText());\\r\\n\\t\\tInvoiceGenerator.invoice.setBuyers_vat_no(new BigDecimal(txtBuyersVatNo.getText()));\\r\\n\\t\\tInvoiceGenerator.invoice.setAddress(txtrAddress.getText());\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7e82ee539891077181624fe1e5967cfb\",\n \"score\": \"0.6123587\",\n \"text\": \"public CourierVO saveCourier(CourierVO courierVO);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a655dd0222dc04b0260382a0dfaa6a0a\",\n \"score\": \"0.6075981\",\n \"text\": \"public void createNewCashDetails(CashManagementDocument cmDoc, String cashieringSource);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"50be8f3a5a80ddfd48c77a1251c5993d\",\n \"score\": \"0.6026163\",\n \"text\": \"HouseHoldDetail saveHouseHoldDetail(HouseHoldDetail houseHoldDetail);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"934e43d3a482d608da2cfe98be10d022\",\n \"score\": \"0.60123944\",\n \"text\": \"@Override\\n\\tpublic String persistCustomerDetails(Customer cust) {\\n\\t\\treturn rentalDao.persistCustomerDetails(cust);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6a079323144c4d05c44affee9f40baf3\",\n \"score\": \"0.6009565\",\n \"text\": \"public void saveCompaign() {\\n campaignio.saveCompaign(campaign);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2394ca9c08e2f4428abdeae92e360e1f\",\n \"score\": \"0.59598583\",\n \"text\": \"private void saveInfo() {\\n\\n\\t\\t// make sure the data in here is stored in the consultation class.\\n\\t\\tVerifyPhysicianInfo();\\n\\t\\tVerifySocialHistory();\\n\\t\\tVerifyAssessmentAndPlan();\\n\\t\\tVerifyVitalSigns();\\n\\n\\t\\t// ////////////////Physician Info ////////////////////////////\\n\\t\\tPhysicianInfo pI = _globals.GetConsultation().GetPI();\\n\\t\\tif (pI != null) \\n\\t\\t{\\n\\t\\t\\tString Sname = pI.PhysicianName;\\n\\t\\t\\tString Sorg = pI.PhysicianOrganization;\\n\\t\\t\\tMap columnsValuesPI = new HashMap();\\n\\t\\t\\tcolumnsValuesPI.put(\\\"MyTimeStamp\\\", ScurrTimestamp);\\n\\t\\t\\tcolumnsValuesPI.put(\\\"profileID\\\", SprofileId_);\\n\\t\\t\\tcolumnsValuesPI.put(\\\"Name\\\", Sname);\\n\\t\\t\\tcolumnsValuesPI.put(\\\"Organization\\\", Sorg);\\n\\n\\t\\t\\t_db.addRow(columnsValuesPI, \\\"physician_info\\\");\\n\\t\\t\\t_db.printAllValues(\\\"physician_info\\\");\\n\\t\\t}\\n\\t\\t\\n\\t\\t// ////////////////Assesmnt & Plans ////////////////////////////\\n\\t\\tString sAssesmentPlans = \\\" \\\";\\n\\t\\tsAssesmentPlans = _assesmentPlans_EditText.getText().toString();\\n\\t\\t\\n\\t\\tMap columnsValuesAP = new HashMap();\\n\\t\\tcolumnsValuesAP.put(\\\"MyTimeStamp\\\", ScurrTimestamp);\\n\\t\\tcolumnsValuesAP.put(\\\"profileID\\\", SprofileId_);\\n\\t\\tcolumnsValuesAP.put(\\\"Note\\\", sAssesmentPlans);\\n\\n\\t\\t_db.addRow(columnsValuesAP, \\\"assesment_note\\\");\\n\\t\\t_db.printAllValues(\\\"assesment_note\\\");\\n\\t\\t\\t\\n\\t\\t// ////////////////IllnessHistory ////////////////////////////\\n\\t\\tList listHistory = _globals.GetConsultation().GetCCs();\\n\\t\\tif (listHistory != null)\\n\\t\\t{\\n\\t\\t\\tfor (int i = 0; i < listHistory.size(); i++) \\n\\t\\t\\t{\\n\\t\\t\\t\\tChiefComplaint hist1 = listHistory.get(i);\\n\\t\\t\\t\\t// Long ScurrTimestamp = System.currentTimeMillis()/1000;\\n\\t\\t\\t\\t// int profileId_ = _globals.GetProfile().ProfileID;\\n\\t\\t\\t\\tString Ssymptom = hist1.Symptom;\\n\\t\\t\\t\\tString Sonset = hist1.OnsetOfSymptom;\\n\\t\\t\\t\\tString Lduration = hist1.duration;\\n\\t\\t\\t\\tString SOTC = hist1.OTCTreatment;\\n\\t\\t\\t\\t// String LendDate = hist1.Note;\\n\\t\\t\\t\\t// System.out.println(\\\"dosage \\\" + med1.StartDate);\\n\\t\\t\\t\\tMap columnsValues2 = new HashMap();\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"MyTimeStamp\\\", ScurrTimestamp);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"profileID\\\", SprofileId_);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"Symptom\\\", Ssymptom);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"Onset\\\", Sonset);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"Duration\\\", Lduration);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"OTC\\\", SOTC);\\n\\n\\t\\t\\t\\t_db.addRow(columnsValues2, \\\"illness_history\\\");\\n\\t\\t\\t\\t_db.printAllValues(\\\"illness_history\\\");\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t// //////////////////////////////////////////////////////////\\n\\n\\t\\t// //////////////// Medication ////////////////////////////\\n\\t\\tList listMeds = _globals.GetConsultation().GetMeds();\\n\\t\\tif (listMeds != null) {\\n\\t\\t\\tfor (int i = 0; i < listMeds.size(); i++) {\\n\\t\\t\\t\\tMedication med1 = listMeds.get(i);\\n\\n\\t\\t\\t\\tString Sdosage = med1.Dosage;\\n\\t\\t\\t\\tString Sdrug = med1.Drug;\\n\\t\\t\\t\\tString Sfreq = med1.Freq;\\n\\t\\t\\t\\tLong LstartDate = med1.StartDate;\\n\\t\\t\\t\\tLong LendDate = med1.EndDate;\\n\\t\\t\\t\\t// System.out.println(\\\"dosage \\\" + med1.StartDate);\\n\\t\\t\\t\\tMap columnsValues2 = new HashMap();\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"MyTimeStamp\\\", ScurrTimestamp);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"profileID\\\", SprofileId_);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"drug\\\", Sdrug);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"dosage\\\", Sdosage);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"frequency\\\", Sfreq);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"start_date\\\", LstartDate);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"stop_date\\\", LendDate);\\n\\n\\t\\t\\t\\t_db.addRow(columnsValues2, \\\"current_medication\\\");\\n\\t\\t\\t\\t_db.printAllValues(\\\"current_medication\\\");\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t// //////////////////////////////////////////////////////////\\n\\n\\t\\t// //////////////// Allergies ////////////////////////////\\n\\n\\t\\tList listAllergies = _globals.GetConsultation().GetAlgs();\\n\\t\\tif (listAllergies != null) {\\n\\t\\t\\tfor (int i = 0; i < listAllergies.size(); i++) {\\n\\t\\t\\t\\tAllergy all1 = listAllergies.get(i);\\n\\n\\t\\t\\t\\tString Stype = all1.Type;\\n\\t\\t\\t\\tString Sreaction = all1.Reaction;\\n\\t\\t\\t\\tString Sseverity = all1.Severity;\\n\\t\\t\\t\\tLong LlastDate = all1.LastDate;\\n\\t\\t\\t\\tString Streatment = all1.Treatment;\\n\\t\\t\\t\\t// System.out.println(\\\"dosage \\\" + med1.StartDate);\\n\\t\\t\\t\\tMap columnsValues2 = new HashMap();\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"MyTimeStamp\\\", ScurrTimestamp);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"profileID\\\", SprofileId_);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"allergyType\\\", Stype);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"reaction\\\", Sreaction);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"severity\\\", Sseverity);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"date_last_occurred\\\", LlastDate);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"treatment\\\", Streatment);\\n\\n\\t\\t\\t\\t_db.addRow(columnsValues2, \\\"allergies\\\");\\n\\t\\t\\t\\t_db.printAllValues(\\\"allergies\\\");\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t// //////////////////////////////////////////////////////////\\n\\n\\t\\t// //////////////// Body Systems ////////////////////////////\\n\\t\\tBodySystemReview listRBS = _globals.GetConsultation().GetRBS();\\n\\t\\tif (listRBS != null) {\\n\\t\\t\\t//System.out.println(\\\"RBS \\\" + listRBS);\\n\\t\\t\\tBodySystemReview rbs1 = listRBS;\\n\\t\\t\\t\\n\\t\\t\\tString SSkin = rbs1.Skin;\\n\\t\\t\\tSystem.out.println(\\\"RBS \\\" + SSkin);\\n\\t\\t\\tString SVision = rbs1.Vision;\\n\\t\\t\\tString SHearing = rbs1.Hearing;\\n\\t\\t\\tString SRespiratory = rbs1.Respiratory;\\n\\t\\t\\tString SCardiovascular = rbs1.Cardiovascular;\\n\\t\\t\\tString SGastrointestinal = rbs1.Gastrointestinal;\\n\\t\\t\\tString SGynecologic = rbs1.Gynecologic;\\n\\t\\t\\tString SMusculoskeletal = rbs1.Musculoskeletal;\\n\\t\\t\\tString SVascular = rbs1.Vascular;\\n\\t\\t\\tString SNeurologic = rbs1.Neurologic;\\n\\t\\t\\tString SHematologic = rbs1.Hematologic;\\n\\t\\t\\tString SEndocrine = rbs1.Endocrine;\\n\\t\\t\\tString SPsychiatric = rbs1.Psychiatric;\\n\\t\\t\\tString SUrological = rbs1.Urological;\\n\\t\\t\\tSystem.out.println(\\\"S_Uro: \\\" + rbs1.Urological);\\n\\t\\t\\tString SOther = rbs1.Other;\\n\\n\\t\\t\\t// System.out.println(\\\"dosage \\\" + med1.StartDate);\\n\\t\\t\\tMap columnsValues2 = new HashMap();\\n\\t\\t\\tcolumnsValues2.put(\\\"MyTimeStamp\\\", ScurrTimestamp);\\n\\t\\t\\tcolumnsValues2.put(\\\"profileID\\\", SprofileId_);\\n\\t\\t\\tcolumnsValues2.put(\\\"skin\\\", SSkin);\\n\\t\\t\\tcolumnsValues2.put(\\\"vision\\\", SVision);\\n\\t\\t\\tcolumnsValues2.put(\\\"hearing\\\", SHearing);\\n\\t\\t\\tcolumnsValues2.put(\\\"respiratory\\\", SRespiratory);\\n\\t\\t\\tcolumnsValues2.put(\\\"cardiovascular\\\", SCardiovascular);\\n\\t\\t\\tcolumnsValues2.put(\\\"gastrointestinal\\\", SGastrointestinal);\\n\\t\\t\\tcolumnsValues2.put(\\\"gynecologic\\\", SGynecologic);\\n\\t\\t\\tcolumnsValues2.put(\\\"musculoskeletal\\\", SMusculoskeletal);\\n\\t\\t\\tcolumnsValues2.put(\\\"vascular\\\", SVascular);\\n\\t\\t\\tcolumnsValues2.put(\\\"neurologic\\\", SNeurologic);\\n\\t\\t\\tcolumnsValues2.put(\\\"hematologic\\\", SHematologic);\\n\\t\\t\\tcolumnsValues2.put(\\\"endocrine\\\", SEndocrine);\\n\\t\\t\\tcolumnsValues2.put(\\\"psychiatric\\\", SPsychiatric);\\n\\t\\t\\tcolumnsValues2.put(\\\"urological\\\", SUrological);\\n\\t\\t\\tcolumnsValues2.put(\\\"other\\\", SOther);\\n\\t\\t\\t\\n\\t\\t\\t_db.addRow(columnsValues2, \\\"body_systems\\\");\\n\\t\\t\\t_db.printAllValues(\\\"body_systems\\\");\\n\\n\\t\\t}\\n\\t\\t// //////////////////////////////////////////////////////////\\n\\n\\t\\t// //////////////// Procedure History ////////////////////////////\\n\\n\\t\\tList listProcedures = _globals.GetConsultation()\\n\\t\\t\\t\\t.GetPHs();\\n\\t\\tif (listProcedures != null) {\\n\\t\\t\\tfor (int i = 0; i < listProcedures.size(); i++) {\\n\\t\\t\\t\\tProcedureHistory ph1 = listProcedures.get(i);\\n\\n\\t\\t\\t\\tString SProcedure = ph1.Procedure;\\n\\t\\t\\t\\tString SPhysician = ph1.Physician;\\n\\t\\t\\t\\tString SLocation = ph1.Location;\\n\\t\\t\\t\\tLong LDate = ph1.Date;\\n\\t\\t\\t\\tString SResult = ph1.Result;\\n\\t\\t\\t\\t// System.out.println(\\\"dosage \\\" + med1.StartDate);\\n\\t\\t\\t\\tMap columnsValues2 = new HashMap();\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"MyTimeStamp\\\", ScurrTimestamp);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"profileID\\\", SprofileId_);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"procedure_name\\\", SProcedure);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"physician_name\\\", SPhysician);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"institution_location\\\", SLocation);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"date\\\", LDate);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"result\\\", SResult);\\n\\t\\t\\t\\t_db.addRow(columnsValues2, \\\"procedure_history\\\");\\n\\t\\t\\t\\t_db.printAllValues(\\\"procedure_history\\\");\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t// //////////////////////////////////////////////////////////\\n\\n\\t\\t// ////////////////Diagnostic Findings ////////////////////////////\\n\\n\\t\\tList listDiagnostics = _globals.GetConsultation()\\n\\t\\t\\t\\t.GetDFs();\\n\\t\\tif (listDiagnostics != null) {\\n\\t\\t\\tfor (int i = 0; i < listDiagnostics.size(); i++) {\\n\\t\\t\\t\\tDiagnosticFinding df1 = listDiagnostics.get(i);\\n\\n\\t\\t\\t\\tString STest = df1.Test;\\n\\t\\t\\t\\tString SResult = df1.Result;\\n\\t\\t\\t\\tString SInterpretation = df1.Interpretation;\\n\\t\\t\\t\\tLong LDate = df1.Date;\\n\\n\\t\\t\\t\\t// System.out.println(\\\"dosage \\\" + med1.StartDate);\\n\\t\\t\\t\\tMap columnsValues2 = new HashMap();\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"MyTimeStamp\\\", ScurrTimestamp);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"profileID\\\", SprofileId_);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"test_name\\\", STest);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"result_finding\\\", SResult);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"interpretation\\\", SInterpretation);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"date\\\", LDate);\\n\\n\\t\\t\\t\\t_db.addRow(columnsValues2, \\\"diagnosis_finding\\\");\\n\\t\\t\\t\\t_db.printAllValues(\\\"diagnosis_finding\\\");\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t// //////////////////////////////////////////////////////////\\n\\n\\t\\t// ////////////////Immunization ////////////////////////////\\n\\t\\tList listImmune = _globals.GetConsultation().GetIVs();\\n\\t\\tif (listImmune != null) {\\n\\t\\t\\tfor (int i = 0; i < listImmune.size(); i++) {\\n\\t\\t\\t\\tImmunization if1 = listImmune.get(i);\\n\\n\\t\\t\\t\\tString SName = if1.Vaccine;\\n\\t\\t\\t\\tString SType = if1.Type;\\n\\t\\t\\t\\tString SDose = if1.Dose;\\n\\t\\t\\t\\tLong LDate = if1.Date;\\n\\t\\t\\t\\tint IAge = if1.Age;\\n\\t\\t\\t\\tString SLot = if1.LotNumber;\\n\\n\\t\\t\\t\\t// System.out.println(\\\"dosage \\\" + med1.StartDate);\\n\\t\\t\\t\\tMap columnsValues2 = new HashMap();\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"MyTimeStamp\\\", ScurrTimestamp);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"profileID\\\", SprofileId_);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"vaccine_name\\\", SName);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"vaccine_type\\\", SType);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"dose\\\", SDose);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"age\\\", IAge);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"date_administered\\\", LDate);\\n\\t\\t\\t\\tcolumnsValues2.put(\\\"lot_number\\\", SLot);\\n\\n\\t\\t\\t\\t_db.addRow(columnsValues2, \\\"immunization\\\");\\n\\t\\t\\t\\t_db.printAllValues(\\\"immunization\\\");\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t// //////////////////////////////////////////////////////////\\n\\n\\t\\t// ////////////////Social History ////////////////////////////\\n\\t\\tSocialHistory listSocialhist = _globals.GetConsultation().GetSH();\\n\\t\\tif (listSocialhist != null) {\\n\\t\\t\\tString SmaritalStatus = listSocialhist.MaritalStatus;\\n\\t\\t\\tString Soccupation = listSocialhist.Occupation;\\n\\t\\t\\tString Scoffe_consumption = listSocialhist.CoffeeConsumption;\\n\\t\\t\\tString Stobacco_use = listSocialhist.TobaccoUse;\\n\\t\\t\\tString Salcohol_Use = listSocialhist.AlcoholUse;\\n\\t\\t\\tString Sdrug_use = listSocialhist.DrugUse;\\n\\n\\t\\t\\t// System.out.println(\\\"dosage \\\" + med1.StartDate);\\n\\t\\t\\tMap columnsValuessoc = new HashMap();\\n\\t\\t\\tcolumnsValuessoc.put(\\\"MyTimeStamp\\\", ScurrTimestamp);\\n\\t\\t\\tcolumnsValuessoc.put(\\\"profileID\\\", SprofileId_);\\n\\t\\t\\tcolumnsValuessoc.put(\\\"maritalStatus\\\", SmaritalStatus);\\n\\t\\t\\tcolumnsValuessoc.put(\\\"occupation\\\", Soccupation);\\n\\t\\t\\tcolumnsValuessoc.put(\\\"coffe_consumption\\\", Scoffe_consumption);\\n\\t\\t\\tcolumnsValuessoc.put(\\\"tobacco_use\\\", Stobacco_use);\\n\\t\\t\\tcolumnsValuessoc.put(\\\"alcohol_use\\\", Salcohol_Use);\\n\\t\\t\\tcolumnsValuessoc.put(\\\"drug_use\\\", Sdrug_use);\\n\\n\\t\\t\\t_db.addRow(columnsValuessoc, \\\"social_history\\\");\\n\\t\\t\\t_db.printAllValues(\\\"social_history\\\");\\n\\t\\t}\\n\\t\\t// //////////////////////////////////////////////////////////\\n\\t\\t\\n\\t\\t// ////////////////Vital Signs ////////////////////////////\\n\\t\\tVitalSigns listVS = _globals.GetConsultation().GetVS();\\n\\t\\tif (listVS != null) {\\n\\t\\t\\t\\t\\t \\n\\t\\t\\t// System.out.println(\\\"dosage \\\" + med1.StartDate);\\n\\t\\t\\tMap columnsValuessoc = new HashMap();\\n\\t\\t\\tcolumnsValuessoc.put(\\\"MyTimeStamp\\\", ScurrTimestamp);\\n\\t\\t\\tcolumnsValuessoc.put(\\\"profileID\\\", SprofileId_);\\n\\t\\t\\tcolumnsValuessoc.put(\\\"pulse\\\", listVS.Pulse);\\n\\t\\t\\tcolumnsValuessoc.put(\\\"respiratory_rate\\\", listVS.RespirateRate);\\n\\t\\t\\tcolumnsValuessoc.put(\\\"systolic_blood_pressure\\\", listVS.SystolicBloodPressure);\\n\\t\\t\\tcolumnsValuessoc.put(\\\"diastolic_blood_pressure\\\", listVS.DisstolicBloodPressure);\\n\\t\\t\\tcolumnsValuessoc.put(\\\"body_temp\\\", listVS.BodyTemp);\\n\\t\\t\\tcolumnsValuessoc.put(\\\"height\\\", listVS.Height);\\n\\t\\t\\tcolumnsValuessoc.put(\\\"weight\\\", listVS.Weight);\\n\\t\\t\\tcolumnsValuessoc.put(\\\"BMI\\\", listVS.BMI);\\n\\t\\t\\tSystem.out.println(\\\"Systolic \\\" + listVS.SystolicBloodPressure + \\\" \\\" + listVS.DisstolicBloodPressure + \\\" \\\" + listVS.BodyTemp);\\n\\t\\t\\t_db.addRow(columnsValuessoc, \\\"vital_signs\\\");\\n\\t\\t\\t_db.printAllValues(\\\"vital_signs\\\");\\n\\t\\t}\\n\\t\\t// //////////////////////////////////////////////////////////\\n\\t\\t_globals.GetConsultation().ClearThemAll();\\n\\t\\tIntent i = new Intent(Page_ConsultationReport.this,\\n\\t\\t\\t\\tPage_Patient_History.class);\\n\\t\\tstartActivity(i);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"870d68e861f03294d0f271d40b509a49\",\n \"score\": \"0.59450334\",\n \"text\": \"@Override\\r\\n\\tpublic String save() throws Exception {\\n\\t\\ttry {\\r\\n\\t\\t\\tif(_id==null){\\r\\n\\t\\t\\t\\t_id=mongoSequence.currval(PubConstants.SUC_ACTIVITYINFO); \\r\\n\\t\\t\\t} \\r\\n\\t\\t\\tString custid=SpringSecurityUtils.getCurrentUser().getId(); \\r\\n\\t\\t\\tentity.set_id(_id); \\r\\n\\t\\t\\tentity.setCustid(custid);\\r\\n\\t\\t\\tentity.setCreatedate(new Date());\\r\\n\\t\\t\\tentity.setEwmurl(wwzService.recode(\\\"activity-mbTicket-\\\"+_id,SysConfig.getProperty(\\\"ip\\\")+\\\"/suc/activity!mbTicket.action?custid=\\\"+custid+\\\"&id=\\\"+_id, entity.getPicurl(),true, 200, 1000));\\r\\n\\t\\t\\tbaseDao.insert(PubConstants.SUC_ACTIVITYINFO, entity);\\r\\n\\t\\t\\taddActionMessage(\\\"添加成功\\\");\\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\\taddActionMessage(\\\"添加失败\\\");\\r\\n\\t\\t}\\r\\n\\t\\treturn RELOAD;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d58b6fdb93a2388989095ba43829c446\",\n \"score\": \"0.5905024\",\n \"text\": \"public void accountDetails(Cuenta c){\\n\\t\\tcleaner();\\n\\t\\tSystem.out.println(\\\"Account Details\\\");\\n\\t\\tSystem.out.println(\\\"Name : \\\" +c.getName());\\n\\t\\tSystem.out.println(\\\"Amount : \\\" +c.getAmount());\\n\\t\\tSystem.out.println(\\\"Number : \\\" +c.getNumber());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"36c742c9b00d818cddf0d0be3d21e881\",\n \"score\": \"0.5901922\",\n \"text\": \"public void saveAddTaskDetails(){\\n\\t\\tinfo(\\\"Save a task with more detail\\\");\\n\\t\\twaitForAndGetElement(ELEMENT_BUTTON_TASK_SAVE_DETAILS, DEFAULT_TIMEOUT, 1);\\n\\t\\tclickByJavascript(ELEMENT_BUTTON_TASK_SAVE_DETAILS, 2);\\n\\t\\t//click(ELEMENT_BUTTON_TASK_SAVE_DETAILS);\\n\\t\\twaitForElementNotPresent(ELEMENT_BUTTON_TASK_SAVE_DETAILS);\\n\\t\\tUtils.pause(500);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2786a3a6a6772d49c4bcc56ad0bf0299\",\n \"score\": \"0.5820691\",\n \"text\": \"public void saveCurrencyInfo(CurrencyInfo currencyInfo);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"462b6d3b4a93dc77c91ad64c69f299f1\",\n \"score\": \"0.57892174\",\n \"text\": \"public void saveOrganizationAdditionalInfo(Record record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"24f88478a85ee454052efd9ff4201af3\",\n \"score\": \"0.576728\",\n \"text\": \"void saveCostCenter(CfCostCenter costCenter);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"103bda8fa0e607d86d234a111753cf71\",\n \"score\": \"0.5762906\",\n \"text\": \"@Override\\n\\tpublic ConnectCntVO writeDetail(ConnectCntVO vo) {\\n\\t\\treturn dao.writeDetail(vo);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2a0a0f847639ee0c917daae095ea5c4b\",\n \"score\": \"0.5730324\",\n \"text\": \"public void saveCustomer(Customer theCustomer);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"129b20c9426c89d682007f9aca8f0cd7\",\n \"score\": \"0.5728826\",\n \"text\": \"public void saveAddressDetail(Record inputRecord);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e756a40d2abdf4e285524e61b45f888e\",\n \"score\": \"0.5727654\",\n \"text\": \"AdditionalContactDetails saveAdditionalContactDetails(AdditionalContactDetails contact);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"862f0b2467a2f367b602a5ae8626540f\",\n \"score\": \"0.57157594\",\n \"text\": \"public void saveCreditCard(CreditCard card) {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5808d9482adda70839f9d863dd307c01\",\n \"score\": \"0.5683704\",\n \"text\": \"public TransactionMaster saveTransMaster(TransactionMaster tm);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"994a095becad8180de35d2fc52ca32e9\",\n \"score\": \"0.5645509\",\n \"text\": \"void saveComemnt(Comment comment);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f3302de9b9e520aebc45ba9c00cb5f70\",\n \"score\": \"0.56310254\",\n \"text\": \"private void saveCDRListIntoDatabase(List callDetailRecords) {\\r\\n // Iterate through CallDetailRecords List and save all into Database\\r\\n for (CallDetailRecord callDetailRecord : callDetailRecords) {\\r\\n callDetailRecordService.save(callDetailRecord);\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"99cd25d9028e22667b147e5597e706ae\",\n \"score\": \"0.5628185\",\n \"text\": \"public void saveAddressAdditionalInfo(Record record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"563b801607bb4336d63f57f9428a0e21\",\n \"score\": \"0.56092584\",\n \"text\": \"public void save() {\\r\\n\\t\\tcustomerService.saveSuccess();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3f468f70e581a7cc340b7d7d9eeb9a77\",\n \"score\": \"0.5606284\",\n \"text\": \"public void saveCustomer() {\\n\\t\\tif (checkInputs())\\n\\t\\t\\tcustomerView.getStatusText().setText(\\\"Please enter all the inputs\\\");\\n\\t\\telse {\\n\\t\\t\\n\\t\\tSystem.out.println(\\\"Save has been called\\\");\\n\\t\\tfetchCustomerInformation();\\n\\t\\tString response = modelControllerCustomer.sendCustomerInfo();\\n\\t\\tcustomerView.getStatusText().setText(response);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c4a010ddce0565f8f50d4fb140fafe57\",\n \"score\": \"0.5583164\",\n \"text\": \"public void saveUC() {\\n UCDTO uc = ucDetailModel.provideUCDTO();\\n boolean wasNew = uc.isNew();\\n\\n try {\\n ucBean.save(uc);\\n ucDetailModel.setUc(ucBean.find(uc.getInternalId()));\\n PresentSuccessMessage(\\\"ucdetailform\\\", wasNew ? \\\"Adicionado com sucesso\\\" : \\\"Guardado com sucesso\\\");\\n } catch (EntityValidationException eve) {\\n PresentErrorMessages(\\\"ucdetailform\\\", eve.getEntityValidationErrors(), errorMessages);\\n } catch (EntityNotFoundException enf) {\\n PresentErrorMessage(\\\"ucdetailform\\\", \\\"UC a ser editada, não foi encontrada ou foi removida.\\\");\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dbe41ffe3d60e28c5a4fd81ca4136232\",\n \"score\": \"0.5577085\",\n \"text\": \"CarrierContactDetails saveCarrierContactDetails(CarrierContactDetails contact);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d345119d06c9ff672d17290873878600\",\n \"score\": \"0.5571702\",\n \"text\": \"Doctor save(Doctor doctor);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3f48d313949dece649c3edcfd5974360\",\n \"score\": \"0.55691993\",\n \"text\": \"public Customer save(long customerId, NameDB name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3d24cc16668833a28cd866c44f511d3e\",\n \"score\": \"0.5562218\",\n \"text\": \"public void savePersonAdditionalInfo(Record record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba510bb960d469b40390397d87410b9a\",\n \"score\": \"0.5560665\",\n \"text\": \"@Override\\n\\tpublic AboutDetailEntity saveDetail(AboutDetailEntity client) {\\n\\t\\treturn aboutDetail.save(client);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"856cc126d28092e06e12c3a5a8234e8e\",\n \"score\": \"0.554195\",\n \"text\": \"private void saveCase(Session session, CaseComponent description){\\n System.out.println(\\\"SAVE CASE ONLY\\\");\\n Case _case = (Case) description;\\n Army army = _case.getArmy();\\n session.createSQLQuery(CASE_QUERY)\\n .setInteger(0, _case.getID())\\n .setInteger(1, army.getID())\\n .setString(2, _case.getOpponent().toString())\\n .setString(3, _case.getOutcome().toString())\\n .executeUpdate();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"99ddeb9cbdbb2ac6162f837cad907ed0\",\n \"score\": \"0.5533686\",\n \"text\": \"public boolean saveCustomerTODetails(CustomerMO CustomerTOObject) {\\n\\t\\treturn false;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0c70dfaa8ef5d10f2933cd5c2481f2a4\",\n \"score\": \"0.55213207\",\n \"text\": \"void save(Centro centro);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1961a2f363ad0a47881bf548576ff2f\",\n \"score\": \"0.55157715\",\n \"text\": \"public void save_Customer_OrderDetails(Order order) {\\n\\t\\tthis.cust_order.add(order);\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"41fb322e5c10b67fa50a7f705557c01c\",\n \"score\": \"0.55039805\",\n \"text\": \"public void save_Customer_Vehicle() {\\n\\t\\tthis.cust_vehno = \\\"AP04\\\" + (int) (Math.random() * 1000);\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"308012f2582058c5e6c63752761a82a9\",\n \"score\": \"0.549733\",\n \"text\": \"private void saveContact() {\\n DatabaseConnector databaseConnector = new DatabaseConnector(this);\\n\\n if (getIntent().getExtras() == null) {\\n // insert the contact information into the database\\n databaseConnector.insertContact(api2.getCityName());\\n } // end if\\n else {\\n// databaseConnector.updateContact(rowID, nameEditText.getText().toString(), emailEditText\\n// .getText().toString(), phoneEditText.getText().toString(), streetEditText\\n// .getText().toString(), cityEditText.getText().toString());\\n } // end else\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"450edb818906d7c8b8a3b69bd37761cf\",\n \"score\": \"0.549555\",\n \"text\": \"EmployeeCertificationDetails saveEmployeeCertification(EmployeeCertificationDetails certificationDetails);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"96ad73cb3c3be3f75a157f1a7e1184e5\",\n \"score\": \"0.5492424\",\n \"text\": \"int insert(CouponDetail record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"64f847ecaa392a31ae7e87792b46926e\",\n \"score\": \"0.5491097\",\n \"text\": \"int insert(TCpyEquityPledge record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ab531169063b70eb2003704ace228a71\",\n \"score\": \"0.5488238\",\n \"text\": \"@Override\\r\\n\\tpublic void save(TP4piccard piccard) {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eafb3a8f5132401a4095d336c40a8a47\",\n \"score\": \"0.5474344\",\n \"text\": \"void saveDeposit (DepositLog depositLog);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"099931658525ba24cf2a0078a1549857\",\n \"score\": \"0.5470526\",\n \"text\": \"public void getCustomerDetails() {\\n\\n\\t\\ttry{\\n\\t\\t\\tif (customerDetailsList.size() != 0) {\\n\\n\\t\\t\\t\\tCustomerIdProof customerDetails = customerDetailsList.get(0);\\n\\n\\t\\t\\t\\tsetSelectCard(customerDetails.getFsBizComponentDataByIdentityTypeId().getComponentDataId());\\n\\t\\t\\t\\tsetIdNumber(customerDetails.getIdentityInt());\\n\\t\\t\\t\\tsetCustomerName(customerDetails.getFsCustomer().getFirstName());\\n\\t\\t\\t\\tsetCustomerCrNumber(customerDetails.getFsCustomer().getCrNo() == null ? \\\"\\\" : customerDetails.getFsCustomer().getCrNo());\\n\\t\\t\\t\\tsetCustomerId(customerDetails.getFsCustomer().getCustomerId());\\n\\t\\t\\t\\tsetCustomerrefno(customerDetails.getFsCustomer().getCustomerReference());\\n\\t\\t\\t\\tsetFirstName(customerDetails.getFsCustomer().getFirstName());\\n\\t\\t\\t\\tsetSecondName(customerDetails.getFsCustomer().getMiddleName());\\n\\t\\t\\t\\tsetThirdName(customerDetails.getFsCustomer().getLastName());\\n\\t\\t\\t\\tsetCustomerFullName(nullCheck(getFirstName()) + \\\" \\\" + nullCheck(getSecondName()) + \\\" \\\" + nullCheck(getThirdName()));\\n\\t\\t\\t\\tsetCustomerLocalFullName(nullCheck(customerDetails.getFsCustomer().getFirstNameLocal()) + \\\" \\\" + nullCheck(customerDetails.getFsCustomer().getMiddleNameLocal()) + \\\" \\\" + nullCheck(customerDetails.getFsCustomer().getLastNameLocal()));\\n\\t\\t\\t\\tsetCustomerIsActive(customerDetails.getFsCustomer().getIsActive());\\n\\t\\t\\t\\tsetCustomerExpDate(customerDetails.getIdentityExpiryDate());\\n\\t\\t\\t\\tsetCustomerTypeId(customerDetails.getFsBizComponentDataByCustomerTypeId().getComponentDataId());\\n\\t\\t\\t\\tString customerTypeString = iPersonalRemittanceService.getCustomerType(getCustomerTypeId());\\n\\t\\t\\t\\tif (customerTypeString != null) {\\n\\t\\t\\t\\t\\tsetCustomerType(customerTypeString);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tif (getCustomerExpDate() != null) {\\n\\t\\t\\t\\t\\tsetCustomerExpireDateMsg(new SimpleDateFormat(\\\"dd/MM/yyyy\\\").format(getCustomerExpDate()));\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tsetNationality(customerDetails.getFsCustomer().getFsCountryMasterByNationality().getCountryId());\\n\\t\\t\\t\\tsetDateOfBrith(customerDetails.getFsCustomer().getDateOfBirth());\\n\\t\\t\\t\\tString teleCountryId = generalService.getTelephoneCountryBasedOnNationality(customerDetails.getFsCustomer().getFsCountryMasterByNationality().getCountryId());\\n\\t\\t\\t\\tsetCountryCode(teleCountryId);\\n\\t\\t\\t\\tsetMcountryCode(teleCountryId);\\n\\t\\t\\t\\tBigDecimal occupationID = generalService.getOccupationId(customerDetails.getFsCustomer().getCustomerId());\\n\\t\\t\\t\\tsetLoyaltyPoints(iPersonalRemittanceService.getLoyaltyPointFromFunction(sessionStateManage.getCountryId(),getCustomerrefno()));\\n\\t\\t\\t\\tSystem.out.println(\\\"Loyalty Points :\\\"+customerDetails.getFsCustomer().getLoyaltyPoints());\\n\\t\\t\\t\\tif (occupationID != null) {\\n\\t\\t\\t\\t\\tString occupation = generalService.getOccupationDesc(occupationID,sessionStateManage.getLanguageId());\\n\\t\\t\\t\\t\\tif (occupation != null) {\\n\\t\\t\\t\\t\\t\\tsetOccupation(occupation);\\n\\t\\t\\t\\t\\t}else {\\n\\t\\t\\t\\t\\t\\tsetOccupation(\\\"UN-EMPLOYEE\\\");\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\tsetOccupation(\\\"UN-EMPLOYEE\\\");\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}catch(Exception e){\\n\\t\\t\\tsetErrmsg(e.getMessage());\\n\\t\\t\\tRequestContext.getCurrentInstance().execute(\\\"alertmsg.show();\\\");\\n\\t\\t}\\n\\n\\t\\tlog.info(\\\"Exit into getCustomerDetails method \\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d2e017e05ae1eb6de05fcc50e2d371c\",\n \"score\": \"0.5459279\",\n \"text\": \"public void saveCarrera(Carrera carrera) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"38e58287d1226e36e7b767b90d559e20\",\n \"score\": \"0.54541916\",\n \"text\": \"@Override\\r\\n\\tpublic void save(CusReprieveEntity t) {\\n\\t\\tcusReprieveDao.save(t);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3d3b560d9b765bafb95552761e77992a\",\n \"score\": \"0.5451462\",\n \"text\": \"public void saveStateToDB() {\\n DatabasePortal myDB = DatabasePortal.getInstance();\\n // add customers\\n for (Customer customer : getBank().getCustomers()) {\\n myDB.addCustomer(customer);\\n }\\n // add managers\\n for (Manager manager : getBank().getManagers()) {\\n myDB.addManager(manager);\\n }\\n myDB.storeSession(getDay());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1d6ea0dd3c6e128e96f4c932013e198d\",\n \"score\": \"0.5442654\",\n \"text\": \"public void saveCoche(Coche coche) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11251836b076ff8d7e372ebd3826c028\",\n \"score\": \"0.5435004\",\n \"text\": \"int insert(TMallCkInfo record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c33fc81670c242e3bfbd7627cd7190db\",\n \"score\": \"0.54275495\",\n \"text\": \"CARC13SO saveSecurityClass(CARC13SI carc13si);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"03f573302f42535b9704b2110bfc1df4\",\n \"score\": \"0.54262114\",\n \"text\": \"int insert(consigneeManage record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a910fbda9ef59c0f59daba2095e32b68\",\n \"score\": \"0.5414545\",\n \"text\": \"@Override\\n public Compte saveCompte(Compte cp) {\\n cp.setDateCreation(new Date());\\n return cpRepo.save(cp);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b31b7647f95eba3d63022bafe3f48ad7\",\n \"score\": \"0.541413\",\n \"text\": \"@Override\\r\\n\\tpublic void vehicleDetailsInfo(VehicleDetails vehicleDetails) throws SQLException {\\n\\t\\tConnection con = ConnectionManagerMysql.connectToSql(); //connection establishment\\r\\n//\\t\\tStatement st = con.createStatement();\\r\\n//\\t\\tResultSet rs = st.executeQuery(\\\"SELECT * FROM insurance_policy\\\");\\r\\n//\\t\\tVehicleDetails vehicleDetails = new VehicleDetails();\\r\\n\\t\\tString insurancePolicyDetailsInsert = \\\"INSERT INTO vehicleInfo VALUES (?,?,?,?)\\\";\\r\\n\\t\\t\\r\\n\\r\\n\\t\\tPreparedStatement ps = con.prepareStatement(insurancePolicyDetailsInsert);\\r\\n\\t\\tps.setString(1, vehicleDetails.getVehicle_RC());\\r\\n\\t\\tps.setString(2, vehicleDetails.getCustomer_Id());\\r\\n\\t\\tps.setLong(3,vehicleDetails.getAaNum());\\r\\n\\t\\tps.setString(4,vehicleDetails.getLicense_Num());\\r\\n\\t\\t\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\tint execution = ps.executeUpdate();\\r\\n\\t\\tif(execution >0) {\\r\\n\\t\\t\\tSystem.out.println(\\\"Inserted succesfully\\\");\\r\\n\\t\\t}\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3e0d320d78a937b4f60c2d272e15b427\",\n \"score\": \"0.54019153\",\n \"text\": \"@Override\\r\\n\\tpublic boolean saveCustomer(CustomerDetails customerDetails) {\\n\\t\\tTransaction transaction1=null;\\r\\n\\t\\tTransaction transaction=null;\\r\\n\\t\\ttry{\\r\\n\\t\\tSession session=sessionFactory.getCurrentSession();\\r\\n\\t\\ttransaction=session.beginTransaction();\\r\\n\\t\\tCustomerDetails customer=new CustomerDetails();\\r\\n\\t\\tcustomer.setCustomerName(customerDetails.getCustomerName());\\r\\n\\t\\tcustomer.setCustomerAddr(customerDetails.getCustomerAddr());\\r\\n\\t\\tcustomer.setCustomerPhone(customerDetails.getCustomerPhone());\\r\\n\\t\\tcustomer.setUsername(customerDetails.getUsername());\\r\\n\\t\\tcustomer.setAddressType(customerDetails.getAddressType());\\r\\n\\t\\tcustomer.setCode(customerDetails.getCode());\\r\\n\\t\\tcustomer.setCost(customerDetails.getCost());\\r\\n\\t\\tcustomer.setEmail(\\\"chandu@gmail.com\\\");\\r\\n\\t\\tsession.save(customer);\\t\\r\\n\\t\\t}catch(Exception e){\\r\\n\\t\\t\\te.printStackTrace();\\r\\n\\t\\t\\treturn false;\\r\\n\\t\\t}\\r\\n\\t\\tfinally{\\r\\n\\t\\t\\t\\r\\n\\t\\t\\ttransaction.commit();\\r\\n\\t\\t}\\r\\n\\t\\treturn true;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7db7beaa1e64929f5576cd8e665641e2\",\n \"score\": \"0.53819686\",\n \"text\": \"@Override\\r\\n\\tpublic void saveRecord(View view) {\\r\\n\\t\\t// String for costs amount\\r\\n\\t\\tfinal String amount = ((EditText)findViewById(R.id.amount_input_field)).getText().toString();\\r\\n\\t\\t// Float number for amount format check\\r\\n\\t\\tdouble cislo;\\r\\n\\r\\n\\t\\tif (amount.trim().equals(\\\"\\\")) {\\r\\n\\t\\t\\t(new ErrorDialog(context, R.string.input_error,\\r\\n\\t\\t\\t\\t\\tR.string.empty_amount)).show();\\r\\n\\t\\t\\treturn;\\r\\n\\t\\t}\\r\\n\\t\\ttry {\\r\\n\\t\\t\\t// Check float format\\r\\n\\t\\t\\tcislo = Double.parseDouble(amount);\\r\\n\\t\\t} catch (NumberFormatException e) {\\r\\n\\t\\t\\t(new ErrorDialog(context, R.string.input_error,\\r\\n\\t\\t\\t\\t\\tR.string.bad_amount_format)).show();\\r\\n\\t\\t\\treturn;\\r\\n\\t\\t}\\r\\n\\t\\tCurrencyLocale currency = null;\\r\\n\\t\\tCategory category = null;\\r\\n\\t\\tJourney journey = null;\\r\\n\\t\\t// String for selected currency\\r\\n\\t\\ttry {\\r\\n\\t\\t\\tcurrency = (CurrencyLocale)curSpinner.getAdapter().getItem(curSpinner.getSelectedItemPosition());\\r\\n\\t\\t} catch (ArrayIndexOutOfBoundsException e) {\\r\\n\\t\\t\\t(new ErrorDialog(context, R.string.input_error, R.string.empty_currency_name)).show();\\r\\n\\t\\t\\treturn;\\r\\n\\t\\t}\\r\\n\\t\\t// String for selected category\\r\\n\\t\\ttry {\\r\\n\\t\\t\\tcategory = (Category)catSpinner.getAdapter().getItem(catSpinner.getSelectedItemPosition());\\r\\n\\t\\t} catch (ArrayIndexOutOfBoundsException e) {\\r\\n\\t\\t\\t(new ErrorDialog(context, R.string.input_error, R.string.empty_category_name)).show();\\r\\n\\t\\t\\treturn;\\r\\n\\t\\t}\\r\\n\\t\\t// String for selected journey\\r\\n\\t\\ttry {\\r\\n\\t\\t\\tjourney = (Journey)jouSpinner.getAdapter().getItem(jouSpinner.getSelectedItemPosition());\\r\\n\\t\\t} catch (ArrayIndexOutOfBoundsException e) {\\r\\n\\t\\t\\t(new ErrorDialog(context, R.string.input_error, R.string.empty_journey_name)).show();\\r\\n\\t\\t\\treturn;\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\tToast.makeText(context, R.string.saving_cost, Toast.LENGTH_SHORT).show();\\r\\n\\t\\tdataSource.updateRecord(id_record, category.getId(), currency.getCurrency().getCurrencyCode(),\\r\\n\\t\\t\\t\\tjourney.getId(), cislo, date, time);\\r\\n\\t\\tToast.makeText(context, R.string.cost_saved, Toast.LENGTH_SHORT).show();\\r\\n\\t\\t//Toast.makeText(context, \\\"OK ;)\\\", Toast.LENGTH_SHORT).show();\\r\\n\\t\\tstartView();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"36c8c3e9c851d37cf1419181ceb93df0\",\n \"score\": \"0.5375935\",\n \"text\": \"void saveData();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f3a9a45d4df90702bc9e1b186a2afe28\",\n \"score\": \"0.53742015\",\n \"text\": \"public void populateCustomerCreditMemoDetails() {\\n CustomerCreditMemoDetail customerCreditMemoDetail;\\n KualiDecimal invItemTaxAmount, openInvoiceQuantity, openInvoiceAmount;\\n\\n CustomerInvoiceDetailService customerInvoiceDetailService = SpringContext.getBean(CustomerInvoiceDetailService.class);\\n setStatusCode(ArConstants.CustomerCreditMemoStatuses.IN_PROCESS);\\n \\n //set accounts receivable document header\\n AccountsReceivableDocumentHeader accountsReceivableDocumentHeader = SpringContext.getBean(AccountsReceivableDocumentHeaderService.class).getNewAccountsReceivableDocumentHeaderForCurrentUser();\\n accountsReceivableDocumentHeader.setDocumentNumber(getDocumentNumber());\\n accountsReceivableDocumentHeader.setCustomerNumber(invoice.getAccountsReceivableDocumentHeader().getCustomerNumber());\\n setAccountsReceivableDocumentHeader(accountsReceivableDocumentHeader);\\n\\n List customerInvoiceDetails = invoice.getCustomerInvoiceDetailsWithoutDiscounts();\\n for (CustomerInvoiceDetail customerInvoiceDetail : customerInvoiceDetails) {\\n customerCreditMemoDetail = new CustomerCreditMemoDetail();\\n\\n if(ObjectUtils.isNull(customerInvoiceDetail.getInvoiceItemTaxAmount())){\\n customerInvoiceDetail.setInvoiceItemTaxAmount(KualiDecimal.ZERO);\\n }\\n customerCreditMemoDetail.setInvoiceLineTotalAmount(customerInvoiceDetail.getInvoiceItemTaxAmount(), customerInvoiceDetail.getInvoiceItemPreTaxAmount());\\n customerCreditMemoDetail.setReferenceInvoiceItemNumber(customerInvoiceDetail.getSequenceNumber());\\n openInvoiceAmount = customerInvoiceDetail.getAmountOpen();\\n\\n customerCreditMemoDetail.setInvoiceOpenItemAmount(openInvoiceAmount);\\n customerCreditMemoDetail.setInvoiceOpenItemQuantity(getInvoiceOpenItemQuantity(customerCreditMemoDetail, customerInvoiceDetail));\\n customerCreditMemoDetail.setDocumentNumber(this.documentNumber);\\n customerCreditMemoDetail.setFinancialDocumentReferenceInvoiceNumber(this.financialDocumentReferenceInvoiceNumber);\\n\\n // this is a hookup for institution custom to update financial object code for prior year(s) invoice\\n //customerInvoiceDetailService.updateFinancialObjectCode(customerCreditMemoDetail);\\n \\n creditMemoDetails.add(customerCreditMemoDetail);\\n }\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d07b38bb0b5e41384b216170f0516635\",\n \"score\": \"0.53703964\",\n \"text\": \"public void populateCashDetailsForDeposit(CashManagementDocument cmDoc);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5cff14f4e28a9477316244fb4777be1c\",\n \"score\": \"0.5361429\",\n \"text\": \"protected void fileSave()\\n {\\n String id = mainTab.getTransId();\\n String firstName = mainTab.getFirstName();\\n String lastName = mainTab.getLastName();\\n String compName = mainTab.getCompName();\\n\\n System.out.println(id + \\\" \\\" + firstName + \\\" \\\" + lastName + \\\" \\\" + compName);\\n\\n String sqlStmt = \\\" select \\\" + prospectObj.ID + \\\", \\\" +\\n prospectObj.FIRST_NAME + \\\", \\\" +\\n prospectObj.LAST_NAME + \\\", \\\" +\\n prospectObj.COMPANY_NAME +\\n \\\" from \\\" + prospectObj.TABLE_NAME +\\n \\\" where \\\" + prospectObj.FIRST_NAME + \\\" = '\\\" + firstName + \\\"' and \\\" +\\n prospectObj.LAST_NAME + \\\" = '\\\" + lastName + \\\" ' and \\\" +\\n prospectObj.COMPANY_NAME + \\\" = '\\\" + compName + \\\"'\\\";\\n\\n csDBAdapter dbAdapter = csDBAdapterFactory.getInstance().getDBAdapter();\\n\\n try {\\n SessionMetaData sessionMeta = SessionMetaData.getInstance();\\n DBRecSet attribs = dbAdapter.execDynamicSQL(sessionMeta.getClientServerSecurity(),\\n sqlStmt);\\n boolean duplicateFound = false;\\n String duplicateId = null;\\n if (attribs.getSize() > 0) {\\n for (int i=0; i 0);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3f7c807ef536444d9af9d7fa0c932a39\",\n \"score\": \"0.5360865\",\n \"text\": \"@Override\\n public boolean save(InvoiceDTO entity) throws Exception{\\n Invoice invoice=new Invoice(0,entity.getDiscription(),entity.getCid());\\n return invoiceDAO.save(invoice);\\n \\n \\n \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c0720128e69e46b179b39326d5bfafd\",\n \"score\": \"0.5348095\",\n \"text\": \"@Override\\n public void save(Customer customer) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42f5f22fd8412265764032eb5cb671ea\",\n \"score\": \"0.5328473\",\n \"text\": \"public Customer save(Customer cus1) {\\r\\n\\t\\treturn customerRepository.save(cus1);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c7f410b1f5e767f19539dbb5d0cbf473\",\n \"score\": \"0.53257686\",\n \"text\": \"Contact saveContact(Contact contact) throws Exception;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"486324a8a16f4a36d30045342eb25c35\",\n \"score\": \"0.5322166\",\n \"text\": \"@Override\\r\\n\\tpublic void save(Compte t) {\\n\\t\\tString sql =\\\"INSERT INTO compte(idClient,numCompte,solde,typeCompte) VALUES (?,?,?,?)\\\";\\r\\n\\t\\t\\r\\n\\t\\ttry {\\r\\n\\t\\t\\tpst = con.prepareStatement(sql);\\r\\n\\t\\t\\tpst.setInt(1, t.getIdClient());\\r\\n\\t\\t\\tpst.setDouble(2, t.getNumCompte());\\r\\n\\t\\t\\tpst.setDouble(3, t.getSolde());\\r\\n\\t\\t\\tpst.setString(4, t.getTypeCompte());\\r\\n\\t\\t\\tpst.execute();\\r\\n\\t\\t\\tSystem.out.println(\\\"Enregistrement effectue\\\");\\r\\n\\t\\t} catch (Exception e) {\\r\\n\\t\\t\\tSystem.out.println(\\\"Enregistrement non effectue\\\");\\r\\n\\t\\t\\t// TODO Auto-generated catch block\\r\\n\\t\\t\\te.printStackTrace();\\r\\n\\t\\t}\\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\": \"94d0946fe0c584cff6098ec08e6e2cd4\",\n \"score\": \"0.531947\",\n \"text\": \"public void saveData() {\\n data.writeAnimaDetails(allAnimals);\\n data.writeKeeperDetails(allKeepers);\\n data.writeCageDetails(allCages);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7464be07adfee87d35a92ed018a2a4a\",\n \"score\": \"0.5313583\",\n \"text\": \"@Override\\n public void save(Candidato candidato) {\\n conn = Conexao.getConnection();\\n if (candidato == null) {\\n System.out.println(\\\"O campo candidato não pode ser nulo\\\");\\n\\n } else {\\n try {\\n \\n ps = conn.prepareStatement(INSERIR);\\n ps.setString(1, candidato.getPrimeiroNomeCandidato());\\n ps.setString(2, candidato.getSegundoNomeCandidato());\\n ps.setString(3, candidato.getUltimoNomeFuncionario());\\n ps.setString(4, candidato.getAlcunhaFuncionario());\\n ps.setBytes(5, candidato.getFotoCandidato());\\n ps.setString(6, candidato.getUrlFotoCandidato());\\n ps.setDate(7, candidato.getDataNascimentoCandidato());\\n ps.setString(8, candidato.getTelefoneFixo());\\n ps.setString(9, candidato.getTelemovelPrincipal());\\n ps.setString(10, candidato.getTelemovelSecundario());\\n ps.setString(11, candidato.getEmailPrincipal());\\n ps.setString(12, candidato.getEmailSecundario());\\n ps.setString(13, candidato.getCasaCandidato());\\n ps.setString(14, candidato.getRuaFuncionario());\\n ps.setString(15, candidato.getBairroCandidato());\\n ps.setInt(16, candidato.getMunicipioCandidato().getIdMunicipio());\\n ps.executeUpdate();\\n\\n } catch (SQLException ex) {\\n System.out.println(\\\"erro na insercao de dados: \\\" + ex.getMessage());\\n } finally {\\n Conexao.closeConnection(conn, ps);\\n }\\n }\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3178c58777273788fd4e5fd3447d773d\",\n \"score\": \"0.53121614\",\n \"text\": \"int insert(CareOrderItem record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"148cd47b9b169153ac1b687103d59ba5\",\n \"score\": \"0.53044575\",\n \"text\": \"@Override\\r\\n\\tpublic void addCustomer(Customerdetail c) {\\n\\t\\ttemplate.save(c);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e63c1552b4850821281d0806c1fcc134\",\n \"score\": \"0.52988344\",\n \"text\": \"private void saveAndReturn() {\\n SimpleDateFormat sfaDate = new SimpleDateFormat(\\\"MM/dd/yyyy HH:mm:ss\\\", Locale.US);\\n SimpleDateFormat sfdDate = new SimpleDateFormat(\\\"MM/dd/yyyy HH:mm:ss\\\", Locale.US);\\n\\n // Initializes dates with new date\\n Date assignDate = new Date();\\n Date dueDate = new Date();\\n\\n // Parses dates that user typed in according to format\\n try {\\n assignDate = sfaDate.parse(mAssignDate.getText().toString());\\n } catch (ParseException e) {\\n e.printStackTrace();\\n }\\n\\n try {\\n dueDate = sfdDate.parse(mDueDate.getText().toString());\\n } catch (ParseException e) {\\n e.printStackTrace();\\n }\\n\\n // Casts classId as int\\n// int cid = Integer.parseInt(mClassId.getText().toString());\\n\\n // Saves data to Db in the correct format\\n mViewModel.saveData(mTitle.getText().toString(),\\n mDescription.getText().toString(),\\n mCategory.getSelectedItem().toString(),\\n assignDate,\\n dueDate,\\n cClassIdItem);\\n finish();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f8a88706895d92b5d0c56ac4fcdfa6a5\",\n \"score\": \"0.52972454\",\n \"text\": \"@Test\\n\\tvoid testEditCustomerDetails() {\\n\\t\\tCustomer cust = new Customer(new Name(\\\"first1\\\",\\\"mid1\\\",\\\"last1\\\"),\\\"street1\\\");\\n\\t\\tAccount acc = service.createAccount(cust, \\\"saving\\\");\\n\\t\\t\\n\\t\\tList customers = service.getAllCustomersByAccId(acc.getId());\\n\\t\\tassertEquals(customers.size(), 1);\\n\\t\\tassertEquals(customers.get(0).getAddress(),\\\"street1\\\");\\n\\t\\t\\n\\t\\tCustomer custChange = new Customer(customers.get(0).getId(),new Name(\\\"first1\\\",\\\"mid1\\\",\\\"last1\\\"),\\\"street2\\\");\\n\\t\\tCustomer cust1 = service.editCustomerDetails(custChange);\\n\\t\\t\\n\\t\\tList customersList = service.getAllCustomersByAccId(acc.getId());\\n\\t\\tassertEquals(customersList.size(), 1);\\n\\t\\tassertEquals(customersList.get(0).getAddress(),\\\"street2\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"329c7df5aa9b208d243f22e142173362\",\n \"score\": \"0.5278722\",\n \"text\": \"@Override\\r\\n\\tpublic String createAccount(Customer c) {\\r\\n\\t\\tString result=\\\"\\\";\\r\\n\\t\\ttry {\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t//Row Insertion in Account table\\r\\n\\t\\t\\tps=con.prepareStatement(\\\"insert into Account values(?,?,?,?,?,?,?,?,?,?,?) \\\");\\r\\n\\t\\t ps.setLong(1, c.getAccountNumber());\\r\\n\\t\\t ps.setString(2, c.getFirstName());\\r\\n\\t\\t ps.setString(3, c.getLastName());\\r\\n\\t\\t ps.setInt(4, c.getAge());\\r\\n\\t\\t ps.setLong(5, c.getMobileNumber());\\r\\n\\t\\t ps.setString(6, c.getEmailId());\\r\\n\\t\\t ps.setString(7, c.getCity());\\r\\n\\t\\t ps.setString(8, c.getState());\\r\\n\\t\\t ps.setInt(9, c.getPinCode());\\r\\n\\t\\t ps.setDouble(10, c.getBalance());\\r\\n\\t\\t ps.setLong(11, c.getAadharCardNumber());\\r\\n\\t\\t \\r\\n\\t\\t //Query Execution\\r\\n\\t\\t int x=ps.executeUpdate();\\r\\n\\t\\t if(x!=0) {\\r\\n\\t\\t \\tString s=\\\"Credited With Rs. \\\"+c.getBalance()+\\\" on \\\"+new Date();\\r\\n\\t\\t \\tc.setTransaction(s);\\r\\n\\t\\t \\t\\r\\n\\t\\t \\t ps1=con.prepareStatement(\\\"insert into Transcript values(?,?)\\\");\\r\\n\\t\\t\\t\\t ps1.setLong(1,c.getAccountNumber());\\r\\n\\t\\t\\t\\t ps1.setString(2, c.getTransaction());\\r\\n\\t\\t\\t\\t ps1.execute();\\r\\n\\t\\t\\t\\t \\r\\n\\t\\t \\tresult=\\\"Account Created With Name :\\\"+c.getFirstName()+\\\" and Account_Number:\\\"+c.getAccountNumber();\\r\\n\\t\\t }\\r\\n\\t\\t else {\\r\\n\\t\\t \\tresult=\\\"Unable to create an Account. \\\\nTry Next Time \\\";\\r\\n\\t\\t }\\r\\n\\t\\t \\r\\n\\t\\t \\r\\n\\t\\t} catch (SQLException e) {\\r\\n\\t\\t\\te.printStackTrace();\\r\\n\\t\\t}\\r\\n\\t \\r\\n\\t\\t return result;\\r\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4235b0be586c419e66f7f9616b8ed31f\",\n \"score\": \"0.52745724\",\n \"text\": \"public void save(Cancel cancel) {\\n\\t\\tStringBuffer sql=new StringBuffer(\\\"insert into CSMS_Cancel(\\\");\\n\\t\\tsql.append(FieldUtil.getFieldMap(Cancel.class,cancel).get(\\\"nameStr\\\")+\\\") values(\\\");\\n\\t\\tsql.append(FieldUtil.getFieldMap(Cancel.class,cancel).get(\\\"valueStr\\\")+\\\")\\\");\\n\\t\\tsave(sql.toString());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"364f4c84962abb5ea1383bd069dc49e0\",\n \"score\": \"0.5272034\",\n \"text\": \"BusinessClientContact saveBusinessClientContact(BusinessClientContact contact);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fdb639729267015d498b4c18b074df11\",\n \"score\": \"0.52627075\",\n \"text\": \"@Override\\n\\tpublic void save(Customer customer) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"50496234f5bc62f21c2a5f1d55f8376a\",\n \"score\": \"0.5261036\",\n \"text\": \"public String calCtc() {\\r\\n\\t\\ttry {\\r\\n\\t\\t\\tCTCDetailModel model = new CTCDetailModel();\\r\\n\\t\\t\\tmodel.initiate(context, session);\\r\\n\\t\\t\\tmodel.getEmpDetails(ctcDetail, request);\\r\\n\\t\\t\\tObject[][] rows = model.showFormula(ctcDetail, request);\\r\\n\\t\\t\\tctcDetail.setNoData(\\\"false\\\");\\r\\n\\t\\t\\tgetProfileImage();\\r\\n\\t\\t\\tmodel.terminate();\\r\\n\\t\\t\\tString viewFm = \\\"viewFm\\\";\\r\\n\\t\\t\\trequest.setAttribute(\\\"rows\\\", rows);\\r\\n\\t\\t\\trequest.setAttribute(\\\"viewFm\\\", viewFm);\\r\\n\\t\\t} catch (Exception e) {\\r\\n\\t\\t\\te.printStackTrace();\\r\\n\\t\\t}\\r\\n\\t\\treturn \\\"success\\\";\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1b44b7a2762db00ceb82f69f4e335979\",\n \"score\": \"0.52555114\",\n \"text\": \"public void finishTransaction() throws Exception{\\n\\t\\tif(cust!=null){\\r\\n\\t\\t\\ttran.setCustId(cust.getId());\\r\\n\\t\\t}\\r\\n\\t\\t\\r\\n\\t\\tTranConfirm tc = new TranConfirm(shlSaleWindow, SWT.DIALOG_TRIM | SWT.APPLICATION_MODAL);\\r\\n\\t\\t//tc.setConfirm(Double.toString(tran.getTotal()), Double.toString(tran.getTax()), Double.toString(tran.getSubtotal()));\\r\\n\\t\\ttc.setConfirm(tran);\\r\\n\\t\\ttc.open();\\r\\n\\t\\tif(tc.getAnswer())\\r\\n\\t\\t{\\r\\n\\t\\t\\r\\n\\t\\ttran.setStoreId(store.getId());\\r\\n\\t\\ttran.setEmpId(emp.getId());\\r\\n\\t\\ttran.setEntrydate(new Date());\\r\\n\\t\\t//tran.save();\\r\\n\\t\\t\\r\\n\\t\\tPaymentWin paywin = new PaymentWin(shlSaleWindow, 0, tran);\\r\\n\\t\\tpaywin.open();\\r\\n\\t\\t{\\r\\n\\t\\t//Save Payment\\r\\n//\\t\\tPayment pay = BusinessObjectDAO.getInstance().create(\\\"Payment\\\");\\r\\n//\\t\\tpay.setAmount(tran.getTotal());\\r\\n//\\t\\tpay.setPaytype(\\\"Cash\\\");\\r\\n//\\t\\tpay.setTranid(tran.getId());\\r\\n//\\t\\tpay.save();\\r\\n\\t\\t//tran.setPaymentId(pay.getId());\\r\\n\\t\\t\\r\\n\\t\\t//Save Commission\\r\\n\\t\\tcomm = BusinessObjectDAO.getInstance().create(\\\"Commission\\\");\\r\\n\\t\\ttran.setCommissionId(comm.getId());\\r\\n\\t\\tcomm.setEmpId(emp.getId());\\r\\n\\t\\tcomm.setEntryDate(new Date());\\r\\n\\t\\tcomm.setTranId(tran.getId());\\r\\n\\t\\tcomm.setAmt(getComm());\\r\\n\\t\\tSystem.out.println(comm.getAmt());\\r\\n\\t\\tcomm.save();\\r\\n\\t\\t\\r\\n\\t\\t//Commission Journal Entry\\r\\n\\t\\tJournalEntry JE = BusinessObjectDAO.getInstance().create(\\\"JournalEntry\\\");\\r\\n\\t\\tJE.setEntrydate(new Date());\\r\\n\\t\\tJE.setTranId(tran.getId());\\r\\n\\t\\tJE.save();\\r\\n\\t\\tCreditDebit CD = BusinessObjectDAO.getInstance().create(\\\"CreditDebit\\\");\\r\\n\\t\\tCD.setAmount(comm.getAmt());\\r\\n\\t\\tCD.setDorc(false);\\r\\n\\t\\tCD.setJournalId(JE.getId());\\r\\n\\t\\tCD.setGeneralname(\\\"Comm Payable\\\");\\r\\n\\t\\tCD.save();\\r\\n\\t\\tCreditDebit CD2 = BusinessObjectDAO.getInstance().create(\\\"CreditDebit\\\");\\r\\n\\t\\tCD2.setAmount(comm.getAmt());\\r\\n\\t\\tCD2.setDorc(true);\\r\\n\\t\\tCD2.setGeneralname(\\\"Comm Expense\\\");\\r\\n\\t\\tCD2.setJournalId(JE.getId());\\r\\n\\t\\tCD2.save();\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t//Save sale objects.\\r\\n\\t\\tfor(RevenueSource s:saleList){\\r\\n\\t\\t\\ts.save();\\r\\n\\t\\t}\\r\\n\\t\\t\\r\\n\\t\\t//Update inventory and run journal entries.\\r\\n\\t\\tupdateInventory();\\r\\n\\t\\tString journalid = TransactionCtlr.getInstance().journalEntries(tran);\\r\\n\\t\\ttran.setJournalId(journalid);\\r\\n\\t\\t\\r\\n\\t\\tsearchText.setText(\\\"\\\");\\r\\n\\t\\tphoneField.setText(\\\"\\\");\\r\\n\\t\\taddressField.setText(\\\"\\\");\\r\\n\\t\\tcustField.setText(\\\"\\\");\\r\\n\\t\\tsearchProd.setText(\\\"\\\");\\r\\n\\t\\tprodnameField.setText(\\\"\\\");\\r\\n\\t\\tpriceField.setText(\\\"\\\");\\r\\n\\t\\tquantityField.setSelection(0);\\r\\n\\t\\tdescField.setText(\\\"\\\");\\r\\n\\t\\tsubtotalField.setText(\\\"\\\");\\r\\n\\t\\ttotalField.setText(\\\"\\\");\\r\\n\\t\\ttaxField.setText(\\\"\\\");\\r\\n\\t\\tclist.clear();\\r\\n\\t\\ttableViewer.refresh();\\r\\n\\t\\t\\r\\n\\t\\ttran.save();\\r\\n\\t\\tString tempTran = tran.getId();\\r\\n\\t\\tSystem.out.println(\\\"Transation Saved.\\\");\\r\\n\\t\\tclearSalesWin();\\r\\n\\t\\tpopulate();\\r\\n\\t\\t\\r\\n\\t\\tTransaction t1 = BusinessObjectDAO.getInstance().searchForBO(\\\"Transaction\\\", new SearchCriteria(\\\"id\\\", tempTran));\\r\\n\\t\\tSystem.out.println(\\\"Storeid: \\\" + t1.getStoreId());\\r\\n\\t\\tSystem.out.println(\\\"Date: \\\" + t1.getEntrydate());\\r\\n\\t\\tSystem.out.println(\\\"Subtotal: \\\" + t1.getSubtotal());\\r\\n\\t\\tSystem.out.println(\\\"Total: \\\" + t1.getTotal());\\r\\n\\t\\tSystem.out.println(\\\"Tax: \\\" + t1.getTax());\\r\\n\\t\\tSystem.out.println(\\\"JournalEntry \\\" + t1.getJe().getEntrydate());\\r\\n\\t\\tSystem.out.println(\\\"Commission \\\" + t1.getComm().getAmt());\\r\\n\\t\\tSystem.out.println(\\\"Payment \\\" + t1.getPayment().getAmount());\\r\\n\\t\\t}\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5696c93d699c3e23220ffe7ef43389c2\",\n \"score\": \"0.5252136\",\n \"text\": \"@Override\\n public void save(Contact contact) {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"22e45759b51c86cec08d9f4a826904f6\",\n \"score\": \"0.5249909\",\n \"text\": \"protected void save(){\\r\\n if(file == null){\\r\\n throw new RuntimeException(\\\"The CustomerManager class has not been loaded: it cannot be saved!\\\");\\r\\n }\\r\\n \\r\\n try {\\r\\n PrintStream out = new PrintStream(file);\\r\\n for(Customer c : customers.values()){\\r\\n out.print(c.getName() + \\\"--\\\");\\r\\n out.print(c.getPhoneNo() + \\\"--\\\");\\r\\n out.print(c.getAddress());\\r\\n out.println();\\r\\n }\\r\\n out.close();\\r\\n } catch (FileNotFoundException e) {\\r\\n e.printStackTrace(); //DEBUG\\r\\n //Irrecoverable.\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f22ddcc01a9cdad465c049e9806b4754\",\n \"score\": \"0.5249624\",\n \"text\": \"public void addcustomer(String cus_id, String name, String address, String tel) {\\r\\n try{\\r\\n \\r\\n stmt=DBconnection.getStatementConnection();\\r\\n stmt.executeUpdate\\r\\n (\\\"INSERT INTO customer VALUE('\\\"+cus_id+\\\"','\\\"+name+\\\"','\\\"+address+\\\"','\\\"+tel+\\\"')\\\");\\r\\n JOptionPane.showMessageDialog(null,\\\"You are Succesful Added Data..!\\\");\\r\\n } \\r\\n catch(Exception e){\\r\\n e.printStackTrace();\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c3db8f68e3f2d4811d23cb6e30806d9c\",\n \"score\": \"0.52481365\",\n \"text\": \"@Override\\n public boolean onSave(EditTransaction et) {\\n\\n et.retrieveData(VisitDrugDental.TOOTHAREA, typecode, false, null, null);\\n\\n ContentValues cv = et.getContentValues();\\n cv.put(VisitDrugDental.TOOTHAREA, typecode.getText().toString());\\n cv.put(VisitDrugDental.SURFACE, quality.getSelectionId());\\n cv.put(VisitDrugDental.COMMENT, quality2.getText().toString());\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a904294236121127a1fe7e5405946a82\",\n \"score\": \"0.5247888\",\n \"text\": \"public void saveCurrencyChange(CurrencyChange currencyChange);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e058bbd69bb64a25fd23bb0af74e4e1e\",\n \"score\": \"0.52471304\",\n \"text\": \"void saveContextToFile();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"331f3a7cad199f528fadae2eff9645b5\",\n \"score\": \"0.52345407\",\n \"text\": \"public void saveData() throws PersistenceException, IOException {\\r\\n\\t\\tgerenteComentario.saveData();\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78a056fe67bdd25295fdd4a48598fc53\",\n \"score\": \"0.5230619\",\n \"text\": \"public void save(Button.ClickEvent event) {\\n try {\\n // Commit the fields from UI to DAO\\n formFieldBindings.commit();\\n\\n // Save DAO to backend with direct synchronous service API\\n\\n //getUI().service.save(contact);\\n expenseView.dataAccess.postExpense(expenseItem);\\n\\n String msg = String.format(\\\"Saved '%s %s'.\\\",\\n expenseItem.getExpense(),\\n expenseItem.getDescription());\\n show(msg, Type.TRAY_NOTIFICATION);\\n expenseView.refreshContacts();\\n } catch (FieldGroup.CommitException e) {\\n // Validation exceptions could be shown here\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47bb746cd8c98dad72042e4ec44bfd88\",\n \"score\": \"0.5229879\",\n \"text\": \"void saveOrder(Order order);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47bb746cd8c98dad72042e4ec44bfd88\",\n \"score\": \"0.5229879\",\n \"text\": \"void saveOrder(Order order);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d27e5b0a2a310fcc4071d3c02a60f50d\",\n \"score\": \"0.52269995\",\n \"text\": \"public void saveFormData() {\\r\\n StrictEquals stCloseout = new StrictEquals();\\r\\n AwardCloseOutBean qryBean = new AwardCloseOutBean();\\r\\n Hashtable htData = new Hashtable();\\r\\n htData = getCloseOutData();\\r\\n try{\\r\\n setSaveFormData();\\r\\n if(validate()){\\r\\n CoeusVector cvdTemp = queryEngine.executeQuery(queryKey,AwardCloseOutBean.class, CoeusVector.FILTER_ACTIVE_BEANS);\\r\\n if(cvdTemp!= null && cvdTemp.size() > 0){\\r\\n qryBean = (AwardCloseOutBean)cvdTemp.get(0);\\r\\n }else{\\r\\n CoeusVector cvTempData = (CoeusVector)htData.get(AwardCloseOutBean.class);\\r\\n if(cvTempData!= null && cvTempData.size()> 0){\\r\\n// qryBean = (AwardCloseOutBean)htData.get(AwardCloseOutBean.class);\\r\\n qryBean = (AwardCloseOutBean)cvTempData.elementAt(0);\\r\\n }\\r\\n }\\r\\n dataChange = stCloseout.compare(awardCloseOutBean, qryBean);\\r\\n if(!dataChange){\\r\\n CoeusVector dataObject = new CoeusVector();\\r\\n dataObject.add(awardCloseOutBean);\\r\\n if(dataObject!= null && dataObject.size()>0){\\r\\n if(functionType==NEW_AWARD){\\r\\n awardCloseOutBean.setAcType(TypeConstants.INSERT_RECORD);\\r\\n queryEngine.addCollection(queryKey,AwardCloseOutBean.class, dataObject);\\r\\n }\\r\\n awardCloseOutBean.setAcType(TypeConstants.UPDATE_RECORD);\\r\\n queryEngine.addCollection(queryKey,AwardCloseOutBean.class, dataObject);\\r\\n }\\r\\n }\\r\\n dlgCloseout.dispose();\\r\\n }\\r\\n }catch (CoeusException coeusException){\\r\\n coeusException.printStackTrace();\\r\\n }catch (CoeusUIException coeusUIException){\\r\\n coeusUIException.printStackTrace();\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"238d9a3842716ffbe7a02227b7d8fa2d\",\n \"score\": \"0.52209747\",\n \"text\": \"public void save(Context ctx) {\\n ContentValues values = new ContentValues();\\n ContentResolver cr = ctx.getContentResolver();\\n long targetGroupId = prepareTargetGroupId(ctx);\\n createContact(ctx, targetGroupId);\\n\\n // Display confirmation\\n Context context = ctx;\\n CharSequence text = ctx.getText(R.string.contact_saved);\\n int duration = Toast.LENGTH_SHORT;\\n\\n Toast toast = Toast.makeText(context, text, duration);\\n toast.show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eb85012a4ff266c03cd50cd0afddeec9\",\n \"score\": \"0.522002\",\n \"text\": \"void accDetails(int id);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"218b2f0ff9e32855929db4834a8aa04e\",\n \"score\": \"0.52197987\",\n \"text\": \"private void saveData() {\\n String f_code = txtCode.getText().trim();\\n String f_desc = txtDesc.getText().trim();\\n\\n if (f_code == null || f_code.equals(\\\"\\\")) {\\n Log.m(\\\"กรุณาระบุรหัสโรงงาน (Code)\\\");\\n txtCode.requestFocus();\\n } else if (f_code.length() > 3) {\\n Log.m(\\\"กรุณาระบุรหัสกลุ่ม (Code) ไม่เกิน 3 ตัว\\\");\\n } else if (f_desc == null || f_desc.equals(\\\"\\\")) {\\n Log.m(\\\"กรุณาระบุชื่อชื่อโรงงาน (Description)\\\");\\n txtCode.setEditable(false);\\n txtDesc.requestFocus();\\n } else {\\n FactoryControl factory = new FactoryControl();\\n FactoryBean bean = new FactoryBean();\\n bean.setFactorycode(f_code);\\n bean.setFactoryname(f_desc);\\n\\n factory.insert(bean);\\n\\n clearForm();\\n loadData();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3f2f6ec62155136c0bf08612720cd4cd\",\n \"score\": \"0.5218394\",\n \"text\": \"private void saveFurtherInformationDataToDatabase(List list) {\\n for (int i = 0; i < list.size(); i++) {\\n ParseObject furtherInformationFromParse = list.get(i);\\n int civicID = furtherInformationFromParse.getInt(PARSE_CORRESPONDING_CIVIC_ID);\\n String dayTicket = furtherInformationFromParse.getString(PARSE_DAY_TICKET);\\n String sports = furtherInformationFromParse.getString(PARSE_SPORTS);\\n furtherInformationDatabase.addFurtherInformationItem(civicID, dayTicket, sports);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0162dc5bd61b1756ccbd244b24bb84a7\",\n \"score\": \"0.5203037\",\n \"text\": \"void saveExpirableTransactionRecord();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c0308be895e8cc496a93ae3857c628f5\",\n \"score\": \"0.52018684\",\n \"text\": \"int insert(AccountInvoiceCancelEntity record);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fa112a2481aba371363a9e309e26c157\",\n \"score\": \"0.5196272\",\n \"text\": \"public void save() {\\n\\t\\t\\t\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8bb869c39ece3df44a816fde99512957\",\n \"score\": \"0.51950395\",\n \"text\": \"public long createContractorEntry(String cName, String cMobile, String cEmail, String cAddr, String cType, String cCharge, String cNotes) {\\n\\t\\t\\t// TODO Auto-generated method stub\\n\\t\\t\\t\\t\\n\\t\\t\\t\\tContentValues cv = new ContentValues();\\n\\t\\t\\t\\t//(column to pass it, what to pass in)\\n\\t\\t\\t\\tcv.put(CONTRACTOR_NAME, cName);\\n\\t\\t\\t\\tcv.put(CONTRACTOR_MOBILE, cMobile);\\n\\t\\t\\t\\tcv.put(CONTRACTOR_EMAIL, cEmail);\\n\\t\\t\\t\\tcv.put(CONTRACTOR_ADDR, cAddr);\\n\\t\\t\\t\\tcv.put(CONTRACTOR_TYPE, cType);\\n\\t\\t\\t\\tcv.put(CONTRACTOR_CHARGE, cCharge);\\n\\t\\t\\t\\tcv.put(CONTRACTOR_NOTES, cNotes);\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t//table, null, what to put in(puts)\\n\\t\\t\\t\\treturn sqlitedatabase.insert(TABLE_CONTRACTORS, null , cv); \\t\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dd45f85bbb9766af1044b597530f1858\",\n \"score\": \"0.51915526\",\n \"text\": \"private void storeData()\\n\\t{\\n\\t\\tif(strFilePath!=null)\\n\\t\\t{\\n\\t\\t\\tString strLogin=getResources().getString(R.string.login_table);\\n\\t\\t\\tString strMainSection=getResources().getString(R.string.mainsection_table);\\n\\t\\t\\tString strSection=getResources().getString(R.string.subsection_table);\\n\\t\\t\\tString strAuditData=getResources().getString(R.string.auditdata_table);\\n\\t\\t\\tOJTDAO database=new OJTDAO(Utility.context, getResources().getString(R.string.db_name));\\n\\t\\t\\tdatabase.create(strLogin,strMainSection,strSection,strAuditData);\\n\\t\\t\\tContentValues contentvalues=new ContentValues();\\n\\t\\t\\tcontentvalues.put(\\\"bsipath\\\", strFilePath);\\n\\t\\t\\tdatabase.update(contentvalues, strAuditData, \\\"status=?\\\", new String[]{\\\"0\\\"});\\n\\t\\t\\tdatabase.close();\\n\\t\\t\\tstrLogin=null;\\n\\t\\t\\tstrMainSection=null;\\n\\t\\t\\tstrSection=null;\\n\\t\\t\\tstrAuditData=null;\\n\\t\\t\\tstrFilePath=null;\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"746c5ef78fdd8fb3e97e2148e8a8d7ca\",\n \"score\": \"0.5191298\",\n \"text\": \"public int save(int idArea, String name){\\n int i=0;\\n try{\\n Date date = new Date(0000-00-00);\\n //Preparando\\n getConexion();\\n hp = new Helpers();\\n qs = new Query();\\n String Table = this._table;\\n String now = hp.getDateNow();\\n \\n objCargo = new Cargo(0,name,idArea,now,now);\\n //Iniciando consulta y asignando valores\\n pt = qs.sqlRegister(Table);\\n pt.setInt(1,objCargo.getIdare());\\n pt.setString(2,objCargo.getName());\\n pt.setDate(3,date.valueOf(objCargo.getCreated()));\\n pt.setDate(4,date.valueOf(objCargo.getModified()));\\n //Ejecucion y cierre\\n i= pt.executeUpdate();\\n pt.close();\\n closeConexion();\\n return i;\\n }\\n catch(Exception e){\\n System.out.println(_error + \\\"save: \\\"+e);\\n return i;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"81bfd1bf34cb5fca3bb913d8374ad6fd\",\n \"score\": \"0.5187874\",\n \"text\": \"public void saveEntry(int i)\\n {\\n PCInfo[i].setPCInfo(txtPCName.getText(),txtPCID.getText(),txtIP.getText()); \\n\\n // You may also wish to write all the records that are currently in the array\\n // to your data file on the hard drive (USB, SSD, or equivalent)\\n writeFile(dataFileName);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aa7e22b72668f3e93e332ec832ab40c2\",\n \"score\": \"0.5186927\",\n \"text\": \"@Override\\n\\tpublic boolean save(CitasDTO citasObjDTO) {\\n\\t\\treturn false;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af55cd8c6c5134d9482068a969e734e4\",\n \"score\": \"0.5181355\",\n \"text\": \"public void save(){\\n \\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":384,"cells":{"query_id":{"kind":"string","value":"0f2b27f06c15cd6256fe61646970db6a"},"query":{"kind":"string","value":"optional uint32 hp = 14;"},"positive_passages":{"kind":"list like","value":[{"docid":"21847fc8c3955cde4727cf07505ae7d0","score":"0.0","text":"public Builder clearHp() {\n bitField0_ = (bitField0_ & ~0x00002000);\n hp_ = 0;\n onChanged();\n return this;\n }","title":""}],"string":"[\n {\n \"docid\": \"21847fc8c3955cde4727cf07505ae7d0\",\n \"score\": \"0.0\",\n \"text\": \"public Builder clearHp() {\\n bitField0_ = (bitField0_ & ~0x00002000);\\n hp_ = 0;\\n onChanged();\\n return this;\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"7ec9909d7728133a432fb3b1b0118e1a","score":"0.6394599","text":"public int getHP()\n {\n return hp;\n }","title":""},{"docid":"470626ece5cd7a12adb04d84dcb9d712","score":"0.6199038","text":"public int getHp(){ return hp; }","title":""},{"docid":"276858ef0286a9bb0cde25d508699c53","score":"0.61816096","text":"int getHp();","title":""},{"docid":"410f29084533959e905960aa822cf221","score":"0.6144413","text":"public int getHP() { return HP; }","title":""},{"docid":"948cba96190c130f68bd9ce08dbbd815","score":"0.60699517","text":"public int getHP() {\n return HP;\n }","title":""},{"docid":"f30ed126de257d21418ef02524b96397","score":"0.60020787","text":"public int getHp() {\n return hp;\n }","title":""},{"docid":"c546642330f4695c6dede85262eac588","score":"0.5896802","text":"public Quantum183 getHMax(){\n return localHMax;\n }","title":""},{"docid":"dc3e627f610982725a8a1ff285d79f3b","score":"0.58374286","text":"int getPlayerHp();","title":""},{"docid":"3cdf16c4a4c15da827ce4d61f8a6cbb3","score":"0.5812814","text":"public int getStrongholdHP() { \r\n return strongholdHP;\r\n }","title":""},{"docid":"166b7a3ffbdc7eeaf51b4ae922e96463","score":"0.5805682","text":"public int getHp() {\r\n\t return _hp;\r\n\t}","title":""},{"docid":"1d2854cab3c4e0af2ccbff9354da95c9","score":"0.5800835","text":"public int getSoHuu();","title":""},{"docid":"c048bcee506c99cb4f614384cabc74bd","score":"0.5788226","text":"public int getHp() {\n return hp_;\n }","title":""},{"docid":"8edc38b0f77ef2299d22f45f35504e2c","score":"0.5722957","text":"@Basic \n public int getHP() {\n\t\treturn HP;\n\t}","title":""},{"docid":"0070a00346c0c34cfe55352d33abae2a","score":"0.57074976","text":"public Quantum183 getHbMax(){\n return localHbMax;\n }","title":""},{"docid":"3a22a21f89515506b512a6369e4c819d","score":"0.5694292","text":"int readVarUInt32() throws IOException;","title":""},{"docid":"55e789a4dafcbf55973429377057c168","score":"0.56715405","text":"public int getNowHp() {\n return nowHp_;\n }","title":""},{"docid":"7567a958d121192189d8779ade8120a0","score":"0.56703043","text":"int getHarm();","title":""},{"docid":"28a2d6c7c9c6e9f3f82b069b1f5c35eb","score":"0.5667424","text":"void mo8236a(C1905h hVar);","title":""},{"docid":"b75d728a6d2739e7cc2e53301a2fa953","score":"0.5627609","text":"int mo91973h(CatalogVHData bVar);","title":""},{"docid":"8bfbec3ad6daf0a2262a7e15ebfc261c","score":"0.56031793","text":"int getMaxHp();","title":""},{"docid":"4300dce3973c9e3e35eb1c1b7265b1d5","score":"0.5586783","text":"public int getHp() {\n return hp_;\n }","title":""},{"docid":"d8617dd6d8e1627a3464f595fbade248","score":"0.558243","text":"public IllegalHPException(int hp) {\n HP = hp;\n }","title":""},{"docid":"76f16c42fbcf00ea054c496f662db9e4","score":"0.5563352","text":"public final int mo5109h() {\n return 2;\n }","title":""},{"docid":"8d6eaf7b169b5ef3cfa7000e5d414c1b","score":"0.55558723","text":"public interface ASN_TIMETICKS\n{\n public static final short value = (short)(0x43);\n}","title":""},{"docid":"40ee9fa150e05da204ef9a3e8729a988","score":"0.55530906","text":"public Quantum183 getHMin(){\n return localHMin;\n }","title":""},{"docid":"e7eb68d3b6f60462541aeb4ecd60939a","score":"0.55514115","text":"public String getHp() {\r\n return hp;\r\n }","title":""},{"docid":"29a10f427c5c4757ad24c7b1ba249065","score":"0.554444","text":"public void setSoHuu(int soHuu);","title":""},{"docid":"c4100ad9cfef55c6f00b096fc4c11827","score":"0.5537589","text":"public interface HqPlayerType {\n int EXO_PLAYER = 178;\n int IJK_PLAYER = 981;\n int UNKNOWN_PLAYER = 736;\n}","title":""},{"docid":"fa29ae40131233ba32c143150a3034fd","score":"0.55252016","text":"public abstract int mo232h();","title":""},{"docid":"dc9e06840a74ded0886ab8fa111dbc3c","score":"0.5518962","text":"public String getHp() {\n return hp;\n }","title":""},{"docid":"aa2a4b1d8dcb46edaa27ad6a8ae6c278","score":"0.55061316","text":"public int getPStackHighwater() {\n return pStackHighwater;\n }","title":""},{"docid":"e47a48c3659e8a72da26defad9c9670c","score":"0.5496704","text":"short PC();","title":""},{"docid":"f08da19bc7aaf456165a39d7b945cc7f","score":"0.5472919","text":"public void setHealth(int h) {health = h;}","title":""},{"docid":"13618cbaca2ec5d5ed4bd659040d2feb","score":"0.54603016","text":"public Quantum183 getHbMin(){\n return localHbMin;\n }","title":""},{"docid":"07cd882d2103942fd48203f2857ada9d","score":"0.5454864","text":"public int getLostHealth(){\n return this.lostHealth;\n }","title":""},{"docid":"70f50414180fc95e0ee3cec55fd7cf49","score":"0.5453357","text":"public int getHopDongSauCung();","title":""},{"docid":"dbab29f22e10a3ccd4bbc81362f64024","score":"0.54304695","text":"public void setHp(int hp) {\n\t\tthis.hp = hp;\n\t}","title":""},{"docid":"68137e0af28ec62657efb7852bd2e371","score":"0.5428447","text":"public static int m1088h() {\n return 4;\n }","title":""},{"docid":"461d1cb17f831faf2f4667f45669f284","score":"0.5426177","text":"public void setHP(int HP) {\n this.HP = HP;\n }","title":""},{"docid":"5eb73b9f4af7205e20eaaa42cd49065b","score":"0.5413871","text":"public int getNowHp() {\n return nowHp_;\n }","title":""},{"docid":"20ead96829a3ab8529d0460be75eb890","score":"0.54133594","text":"void mo31969a(zzlh zzlh);","title":""},{"docid":"9cbb65eb6e5deeedec6e1057a25c9a9f","score":"0.5378084","text":"boolean mo3767h();","title":""},{"docid":"415e5dd380650cd5e0c88cd7f08fab99","score":"0.53641313","text":"public int getHandi() {\n return handicap;\n }","title":""},{"docid":"3b97d109cd98610c1ca39f44bfb90abd","score":"0.5363434","text":"int getPlayerHp(){\n return this.player.getHp();\n }","title":""},{"docid":"a1794c2ab98784c22b38dc8831f3e315","score":"0.5362642","text":"public void setHMax(Quantum183 param){\n \n this.localHMax=param;\n \n\n }","title":""},{"docid":"2fde14c552111b7b568c84f326bb8211","score":"0.53534687","text":"public abstract int mo15794h();","title":""},{"docid":"5ef8e483442b9b49a2c9bae97fe87175","score":"0.53381145","text":"public void setHp(String hp) {\r\n this.hp = hp;\r\n }","title":""},{"docid":"f9a630b859f94f3092d96fb326706d6f","score":"0.53254855","text":"int getHealth();","title":""},{"docid":"72bda36c9bf0ee4639e4e0072dcdd7f9","score":"0.5323601","text":"public int getHealth() {return health;}","title":""},{"docid":"7bedaf458d44b931937c2524692ce534","score":"0.5316375","text":"private int m7870i() {\n return 0;\n }","title":""},{"docid":"7370e85287e14610788f8428052a2b8e","score":"0.53150165","text":"public void setHp(String hp) {\n this.hp = hp;\n }","title":""},{"docid":"174dbb5774fc7ddd3577de598dd0b3fd","score":"0.5311998","text":"int mo91967e(CatalogVHData bVar);","title":""},{"docid":"649f396d99107ab5116be91811aa99d9","score":"0.5300439","text":"@NativeType(\"uint32_t\")\n public int value() { return nvalue(address()); }","title":""},{"docid":"fbe1f11444878fec1a46bfa5ad4a3be2","score":"0.529744","text":"public static void main(String[] args) {\n\n short num;\n\n num = 150;\n System.out.println(num);\n }","title":""},{"docid":"55c741eeb484cbe6cc98869da1f2c18d","score":"0.52963275","text":"public Hobbit() {\n\t_HP = 130;\n\t_strength = 100;\n\t_defense = 50;\n\t_attack = .4;\n }","title":""},{"docid":"4388646a69cebbcf4ce52d421e9b75f4","score":"0.52898544","text":"private Integer optUInt16Null(JSONObject json, String name) {\n\t\tint i = json.optInt(name, -1);\n\t\tif (i < 0 || i > (0xFFFF)) {\n\t\t\treturn null;\n\t\t}\n\t\telse {\n\t\t\treturn new Integer(i);\n\t\t}\n\t}","title":""},{"docid":"d2c4ab490e754a4e2c22b77440e9ad6f","score":"0.52742803","text":"int readVarInt32() throws IOException;","title":""},{"docid":"a4a4f69cd455b99f78deedf7a2135ba0","score":"0.52716786","text":"public int getH() {\n\t\treturn h;\r\n\t}","title":""},{"docid":"1017bd47dd1093c1d2d9a90a4a6a5c82","score":"0.5270065","text":"public Integer getXh() {\n return xh;\n }","title":""},{"docid":"1017bd47dd1093c1d2d9a90a4a6a5c82","score":"0.5270065","text":"public Integer getXh() {\n return xh;\n }","title":""},{"docid":"c6ccc0a40e300050778db51add50664a","score":"0.5268479","text":"public interface PriorityOrder\n{\n public static final short value = (short)(2);\n}","title":""},{"docid":"1fd954605b00bec240dd6facbab4754f","score":"0.5264762","text":"public int getHealth()\r\n {\r\n return health;\r\n }","title":""},{"docid":"d189792a2b6aaad0fe884ec1f937ff60","score":"0.5264113","text":"int getH();","title":""},{"docid":"3e680f98ed92ef66f5251f17bac084c7","score":"0.52624947","text":"public int getMinHeigth(){ return minHeigth; }","title":""},{"docid":"3d21dee087787ec2d229127ad43709b4","score":"0.52606297","text":"boolean mo18477h();","title":""},{"docid":"b5dfcb2ead6a95048edb3e06547903f3","score":"0.5256657","text":"int getInteger7();","title":""},{"docid":"0465b78d4197acd204960a9631c9b982","score":"0.5255218","text":"public short mo34e() {\n return 256;\n }","title":""},{"docid":"0fccb2ee63a30a5c9a3db0ea4ba763b6","score":"0.5251603","text":"short readVarInt16() throws IOException;","title":""},{"docid":"cfa3aebc055bf60dac56dfe1c3987071","score":"0.5251369","text":"public int getArmorValue()\r\n/* 31: */ {\r\n/* 32: 34 */ return ck() * 3;\r\n/* 33: */ }","title":""},{"docid":"4e4e169bb739b02f848184de3ed1270b","score":"0.523922","text":"int getVariable();","title":""},{"docid":"6b22a9bf8e64b6ddde88b4225ad0debb","score":"0.52319217","text":"BigInteger readVarUInt() throws IOException;","title":""},{"docid":"f1b867542ed3b69a5038f5c11879e101","score":"0.52294075","text":"public void setHp(int amount)\r\n \t{\r\n \t\thp=amount;\r\n \t}","title":""},{"docid":"a85bed07af1a482acd4999bd482027ce","score":"0.5225163","text":"public void setHMin(Quantum183 param){\n \n this.localHMin=param;\n \n\n }","title":""},{"docid":"c4306917f041b667a92bd6e1cbcac6ab","score":"0.52230537","text":"int mo91971g(CatalogVHData bVar);","title":""},{"docid":"b5e838fff04700d45ae2a5d3001b32d0","score":"0.5222151","text":"private void setPlayerOverheadHP(Player player, int hp) {\n GamePlayer gamePlayer = API.getGamePlayer(player);\n if (gamePlayer == null) {\n return;\n }\n ScoreboardHandler.getInstance().updatePlayerHP(player, hp);\n double maxHP = getPlayerMaxHPLive(player);\n double healthPercentage = ((double) hp / maxHP);\n if (healthPercentage * 100.0F > 100.0F) {\n healthPercentage = 1.0;\n }\n float healthToDisplay = (float) (healthPercentage * 100.F);\n int playerLevel = gamePlayer.getLevel();\n String playerLevelInfo = ChatColor.AQUA.toString() + ChatColor.BOLD + \"LVL \" + ChatColor.AQUA + playerLevel;\n String separator = ChatColor.WHITE.toString() + \" - \";\n String playerHPInfo;\n BossBarAPI.Color color;\n if (API.isInSafeRegion(player.getLocation())) {\n color = BossBarAPI.Color.GREEN;\n playerHPInfo = ChatColor.GREEN.toString() + ChatColor.BOLD + \"HP \" + ChatColor.GREEN + hp + ChatColor.BOLD + \" / \" + ChatColor.GREEN + (int) maxHP;\n } else if (API.isNonPvPRegion(player.getLocation())) {\n color = BossBarAPI.Color.YELLOW;\n playerHPInfo = ChatColor.YELLOW.toString() + ChatColor.BOLD + \"HP \" + ChatColor.YELLOW + hp + ChatColor.BOLD + \" / \" + ChatColor.YELLOW + (int) maxHP;\n } else {\n color = BossBarAPI.Color.RED;\n playerHPInfo = ChatColor.RED.toString() + ChatColor.BOLD + \"HP \" + ChatColor.RED + hp + ChatColor.BOLD + \" / \" + ChatColor.RED + (int) maxHP;\n }\n double exp = ((double) gamePlayer.getExperience()) / ((double) gamePlayer.getEXPNeeded(playerLevel));\n exp *= 100;\n String playerEXPInfo = ChatColor.LIGHT_PURPLE.toString() + ChatColor.BOLD + \"XP \" + ChatColor.LIGHT_PURPLE + (int) exp + \"%\";\n if (playerLevel == 100) {\n playerEXPInfo = ChatColor.LIGHT_PURPLE + ChatColor.BOLD.toString() + \"MAX\";\n }\n BossBarAPI.removeAllBars(player);\n BossBarAPI.addBar(player, new TextComponent(\" \" + playerLevelInfo + separator + playerHPInfo + separator + playerEXPInfo), color, BossBarAPI.Style.NOTCHED_20, healthToDisplay);\n }","title":""},{"docid":"9819392a394f73f271d03308347ed29d","score":"0.52202576","text":"int getSupportValue();","title":""},{"docid":"bb192f2ef6ab056bff9da8b8f9c4000a","score":"0.5217147","text":"public int getHp() {\n\t\treturn this.hp;\n\t}","title":""},{"docid":"94b904fa52ceacebb6d6369dee2f7c26","score":"0.51986456","text":"public int getHealth()\n {\n return health;\n }","title":""},{"docid":"3354264dd3b7e903c2bbfd401787d18c","score":"0.5197724","text":"int getInteger17();","title":""},{"docid":"464e01d5e561eb42db148a6d0b2eaeff","score":"0.51898694","text":"public int[] uj10HosszuIntTomb() {\n\t\treturn null;\n\t}","title":""},{"docid":"0cdca1693413494ba07256f861ed4756","score":"0.518656","text":"public int getReservedPieceNumber() {\n return -1;\n }","title":""},{"docid":"6d062fee26bbba0d2c1fe5eeb057c3bf","score":"0.5186389","text":"public void setHbMax(Quantum183 param){\n \n this.localHbMax=param;\n \n\n }","title":""},{"docid":"49c52121161b57855ad2ed6c3f7c519f","score":"0.51790047","text":"public Quantum183 getSnMax(){\n return localSnMax;\n }","title":""},{"docid":"43c9b2ed6b3988563f3732711e29eeb9","score":"0.51743656","text":"public int getHealth(){\n return this.health;\n }","title":""},{"docid":"43c9b2ed6b3988563f3732711e29eeb9","score":"0.51743656","text":"public int getHealth(){\n return this.health;\n }","title":""},{"docid":"7d6e44dfe652b404f4f46d5c4e6403bf","score":"0.51711386","text":"int maxGasLevel();","title":""},{"docid":"a7e2681c5d4fa78afe9b7c0c22bd4778","score":"0.5165623","text":"public abstract double getHpFactor();","title":""},{"docid":"9790a873e2c7d9e0042eadcc31c539e8","score":"0.51613426","text":"public int getHealth() {\n return health;\r\n }","title":""},{"docid":"1620eb42883c3d59bc82b549640739fb","score":"0.5155153","text":"public int getgame_over(){\n \treturn game_over;\n }","title":""},{"docid":"a330c22832de4f42e5b8c19661a0d13c","score":"0.5152538","text":"public static int HARDNESS(int code) { return c().data[code&RESOURCE_MASK][3];}","title":""},{"docid":"a93c14c4c92aa776d17138f23e84faaf","score":"0.5149874","text":"@Override\n public int getAscensionMaxHPLoss() {\n return 0;\n }","title":""},{"docid":"c85088873f1dbb43870456f895719346","score":"0.51447797","text":"public short mo34e() {\n return 549;\n }","title":""},{"docid":"7c2efa47ae04d885b63bc64124e43b8f","score":"0.5142784","text":"int\ngetMax() { \nreturn\nharr[0]; }","title":""},{"docid":"28a11db21248a83b1a3dc6f36ddfb6f2","score":"0.5139172","text":"double getHobOccupancyFactor();","title":""},{"docid":"e182f3bce315ff186199c616d5ef3a25","score":"0.5138854","text":"public int method_2460(ahb var1) {\r\n return 4;\r\n }","title":""},{"docid":"6f40e6dfc22de92a2dcd709c2990fb4b","score":"0.51381016","text":"public int varNum() {\n return 0;\n }","title":""},{"docid":"6973debe489aecb46dc95bb89f3c84c0","score":"0.51299953","text":"public short mo34e() {\n return 182;\n }","title":""},{"docid":"8e901150aa805d671c2c2c2cc2bc013d","score":"0.5126407","text":"public int getDefence(){\n return 5;\n }","title":""},{"docid":"ee7894885a4899332cd6843d3e5a7a43","score":"0.51227814","text":"public long getWood() {\n return wood_;\n }","title":""},{"docid":"6a598510b2b1402f9b0364665264619f","score":"0.5121361","text":"public int getNumberOfMinionsInHand();","title":""},{"docid":"a81e38817017f97570ecef9a66c1fdc1","score":"0.5120002","text":"abstract protected int getHedgehogFoodValue();","title":""}],"string":"[\n {\n \"docid\": \"7ec9909d7728133a432fb3b1b0118e1a\",\n \"score\": \"0.6394599\",\n \"text\": \"public int getHP()\\n {\\n return hp;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"470626ece5cd7a12adb04d84dcb9d712\",\n \"score\": \"0.6199038\",\n \"text\": \"public int getHp(){ return hp; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"276858ef0286a9bb0cde25d508699c53\",\n \"score\": \"0.61816096\",\n \"text\": \"int getHp();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"410f29084533959e905960aa822cf221\",\n \"score\": \"0.6144413\",\n \"text\": \"public int getHP() { return HP; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"948cba96190c130f68bd9ce08dbbd815\",\n \"score\": \"0.60699517\",\n \"text\": \"public int getHP() {\\n return HP;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f30ed126de257d21418ef02524b96397\",\n \"score\": \"0.60020787\",\n \"text\": \"public int getHp() {\\n return hp;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c546642330f4695c6dede85262eac588\",\n \"score\": \"0.5896802\",\n \"text\": \"public Quantum183 getHMax(){\\n return localHMax;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc3e627f610982725a8a1ff285d79f3b\",\n \"score\": \"0.58374286\",\n \"text\": \"int getPlayerHp();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3cdf16c4a4c15da827ce4d61f8a6cbb3\",\n \"score\": \"0.5812814\",\n \"text\": \"public int getStrongholdHP() { \\r\\n return strongholdHP;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"166b7a3ffbdc7eeaf51b4ae922e96463\",\n \"score\": \"0.5805682\",\n \"text\": \"public int getHp() {\\r\\n\\t return _hp;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1d2854cab3c4e0af2ccbff9354da95c9\",\n \"score\": \"0.5800835\",\n \"text\": \"public int getSoHuu();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c048bcee506c99cb4f614384cabc74bd\",\n \"score\": \"0.5788226\",\n \"text\": \"public int getHp() {\\n return hp_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8edc38b0f77ef2299d22f45f35504e2c\",\n \"score\": \"0.5722957\",\n \"text\": \"@Basic \\n public int getHP() {\\n\\t\\treturn HP;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0070a00346c0c34cfe55352d33abae2a\",\n \"score\": \"0.57074976\",\n \"text\": \"public Quantum183 getHbMax(){\\n return localHbMax;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a22a21f89515506b512a6369e4c819d\",\n \"score\": \"0.5694292\",\n \"text\": \"int readVarUInt32() throws IOException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"55e789a4dafcbf55973429377057c168\",\n \"score\": \"0.56715405\",\n \"text\": \"public int getNowHp() {\\n return nowHp_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7567a958d121192189d8779ade8120a0\",\n \"score\": \"0.56703043\",\n \"text\": \"int getHarm();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"28a2d6c7c9c6e9f3f82b069b1f5c35eb\",\n \"score\": \"0.5667424\",\n \"text\": \"void mo8236a(C1905h hVar);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b75d728a6d2739e7cc2e53301a2fa953\",\n \"score\": \"0.5627609\",\n \"text\": \"int mo91973h(CatalogVHData bVar);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8bfbec3ad6daf0a2262a7e15ebfc261c\",\n \"score\": \"0.56031793\",\n \"text\": \"int getMaxHp();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4300dce3973c9e3e35eb1c1b7265b1d5\",\n \"score\": \"0.5586783\",\n \"text\": \"public int getHp() {\\n return hp_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d8617dd6d8e1627a3464f595fbade248\",\n \"score\": \"0.558243\",\n \"text\": \"public IllegalHPException(int hp) {\\n HP = hp;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"76f16c42fbcf00ea054c496f662db9e4\",\n \"score\": \"0.5563352\",\n \"text\": \"public final int mo5109h() {\\n return 2;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8d6eaf7b169b5ef3cfa7000e5d414c1b\",\n \"score\": \"0.55558723\",\n \"text\": \"public interface ASN_TIMETICKS\\n{\\n public static final short value = (short)(0x43);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"40ee9fa150e05da204ef9a3e8729a988\",\n \"score\": \"0.55530906\",\n \"text\": \"public Quantum183 getHMin(){\\n return localHMin;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e7eb68d3b6f60462541aeb4ecd60939a\",\n \"score\": \"0.55514115\",\n \"text\": \"public String getHp() {\\r\\n return hp;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"29a10f427c5c4757ad24c7b1ba249065\",\n \"score\": \"0.554444\",\n \"text\": \"public void setSoHuu(int soHuu);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c4100ad9cfef55c6f00b096fc4c11827\",\n \"score\": \"0.5537589\",\n \"text\": \"public interface HqPlayerType {\\n int EXO_PLAYER = 178;\\n int IJK_PLAYER = 981;\\n int UNKNOWN_PLAYER = 736;\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fa29ae40131233ba32c143150a3034fd\",\n \"score\": \"0.55252016\",\n \"text\": \"public abstract int mo232h();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc9e06840a74ded0886ab8fa111dbc3c\",\n \"score\": \"0.5518962\",\n \"text\": \"public String getHp() {\\n return hp;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aa2a4b1d8dcb46edaa27ad6a8ae6c278\",\n \"score\": \"0.55061316\",\n \"text\": \"public int getPStackHighwater() {\\n return pStackHighwater;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e47a48c3659e8a72da26defad9c9670c\",\n \"score\": \"0.5496704\",\n \"text\": \"short PC();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f08da19bc7aaf456165a39d7b945cc7f\",\n \"score\": \"0.5472919\",\n \"text\": \"public void setHealth(int h) {health = h;}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13618cbaca2ec5d5ed4bd659040d2feb\",\n \"score\": \"0.54603016\",\n \"text\": \"public Quantum183 getHbMin(){\\n return localHbMin;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"07cd882d2103942fd48203f2857ada9d\",\n \"score\": \"0.5454864\",\n \"text\": \"public int getLostHealth(){\\n return this.lostHealth;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"70f50414180fc95e0ee3cec55fd7cf49\",\n \"score\": \"0.5453357\",\n \"text\": \"public int getHopDongSauCung();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dbab29f22e10a3ccd4bbc81362f64024\",\n \"score\": \"0.54304695\",\n \"text\": \"public void setHp(int hp) {\\n\\t\\tthis.hp = hp;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"68137e0af28ec62657efb7852bd2e371\",\n \"score\": \"0.5428447\",\n \"text\": \"public static int m1088h() {\\n return 4;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"461d1cb17f831faf2f4667f45669f284\",\n \"score\": \"0.5426177\",\n \"text\": \"public void setHP(int HP) {\\n this.HP = HP;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5eb73b9f4af7205e20eaaa42cd49065b\",\n \"score\": \"0.5413871\",\n \"text\": \"public int getNowHp() {\\n return nowHp_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"20ead96829a3ab8529d0460be75eb890\",\n \"score\": \"0.54133594\",\n \"text\": \"void mo31969a(zzlh zzlh);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9cbb65eb6e5deeedec6e1057a25c9a9f\",\n \"score\": \"0.5378084\",\n \"text\": \"boolean mo3767h();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"415e5dd380650cd5e0c88cd7f08fab99\",\n \"score\": \"0.53641313\",\n \"text\": \"public int getHandi() {\\n return handicap;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3b97d109cd98610c1ca39f44bfb90abd\",\n \"score\": \"0.5363434\",\n \"text\": \"int getPlayerHp(){\\n return this.player.getHp();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1794c2ab98784c22b38dc8831f3e315\",\n \"score\": \"0.5362642\",\n \"text\": \"public void setHMax(Quantum183 param){\\n \\n this.localHMax=param;\\n \\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2fde14c552111b7b568c84f326bb8211\",\n \"score\": \"0.53534687\",\n \"text\": \"public abstract int mo15794h();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5ef8e483442b9b49a2c9bae97fe87175\",\n \"score\": \"0.53381145\",\n \"text\": \"public void setHp(String hp) {\\r\\n this.hp = hp;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f9a630b859f94f3092d96fb326706d6f\",\n \"score\": \"0.53254855\",\n \"text\": \"int getHealth();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"72bda36c9bf0ee4639e4e0072dcdd7f9\",\n \"score\": \"0.5323601\",\n \"text\": \"public int getHealth() {return health;}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7bedaf458d44b931937c2524692ce534\",\n \"score\": \"0.5316375\",\n \"text\": \"private int m7870i() {\\n return 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7370e85287e14610788f8428052a2b8e\",\n \"score\": \"0.53150165\",\n \"text\": \"public void setHp(String hp) {\\n this.hp = hp;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"174dbb5774fc7ddd3577de598dd0b3fd\",\n \"score\": \"0.5311998\",\n \"text\": \"int mo91967e(CatalogVHData bVar);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"649f396d99107ab5116be91811aa99d9\",\n \"score\": \"0.5300439\",\n \"text\": \"@NativeType(\\\"uint32_t\\\")\\n public int value() { return nvalue(address()); }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fbe1f11444878fec1a46bfa5ad4a3be2\",\n \"score\": \"0.529744\",\n \"text\": \"public static void main(String[] args) {\\n\\n short num;\\n\\n num = 150;\\n System.out.println(num);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"55c741eeb484cbe6cc98869da1f2c18d\",\n \"score\": \"0.52963275\",\n \"text\": \"public Hobbit() {\\n\\t_HP = 130;\\n\\t_strength = 100;\\n\\t_defense = 50;\\n\\t_attack = .4;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4388646a69cebbcf4ce52d421e9b75f4\",\n \"score\": \"0.52898544\",\n \"text\": \"private Integer optUInt16Null(JSONObject json, String name) {\\n\\t\\tint i = json.optInt(name, -1);\\n\\t\\tif (i < 0 || i > (0xFFFF)) {\\n\\t\\t\\treturn null;\\n\\t\\t}\\n\\t\\telse {\\n\\t\\t\\treturn new Integer(i);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d2c4ab490e754a4e2c22b77440e9ad6f\",\n \"score\": \"0.52742803\",\n \"text\": \"int readVarInt32() throws IOException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a4a4f69cd455b99f78deedf7a2135ba0\",\n \"score\": \"0.52716786\",\n \"text\": \"public int getH() {\\n\\t\\treturn h;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1017bd47dd1093c1d2d9a90a4a6a5c82\",\n \"score\": \"0.5270065\",\n \"text\": \"public Integer getXh() {\\n return xh;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1017bd47dd1093c1d2d9a90a4a6a5c82\",\n \"score\": \"0.5270065\",\n \"text\": \"public Integer getXh() {\\n return xh;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c6ccc0a40e300050778db51add50664a\",\n \"score\": \"0.5268479\",\n \"text\": \"public interface PriorityOrder\\n{\\n public static final short value = (short)(2);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1fd954605b00bec240dd6facbab4754f\",\n \"score\": \"0.5264762\",\n \"text\": \"public int getHealth()\\r\\n {\\r\\n return health;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d189792a2b6aaad0fe884ec1f937ff60\",\n \"score\": \"0.5264113\",\n \"text\": \"int getH();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3e680f98ed92ef66f5251f17bac084c7\",\n \"score\": \"0.52624947\",\n \"text\": \"public int getMinHeigth(){ return minHeigth; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3d21dee087787ec2d229127ad43709b4\",\n \"score\": \"0.52606297\",\n \"text\": \"boolean mo18477h();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b5dfcb2ead6a95048edb3e06547903f3\",\n \"score\": \"0.5256657\",\n \"text\": \"int getInteger7();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0465b78d4197acd204960a9631c9b982\",\n \"score\": \"0.5255218\",\n \"text\": \"public short mo34e() {\\n return 256;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0fccb2ee63a30a5c9a3db0ea4ba763b6\",\n \"score\": \"0.5251603\",\n \"text\": \"short readVarInt16() throws IOException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cfa3aebc055bf60dac56dfe1c3987071\",\n \"score\": \"0.5251369\",\n \"text\": \"public int getArmorValue()\\r\\n/* 31: */ {\\r\\n/* 32: 34 */ return ck() * 3;\\r\\n/* 33: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4e4e169bb739b02f848184de3ed1270b\",\n \"score\": \"0.523922\",\n \"text\": \"int getVariable();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6b22a9bf8e64b6ddde88b4225ad0debb\",\n \"score\": \"0.52319217\",\n \"text\": \"BigInteger readVarUInt() throws IOException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1b867542ed3b69a5038f5c11879e101\",\n \"score\": \"0.52294075\",\n \"text\": \"public void setHp(int amount)\\r\\n \\t{\\r\\n \\t\\thp=amount;\\r\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a85bed07af1a482acd4999bd482027ce\",\n \"score\": \"0.5225163\",\n \"text\": \"public void setHMin(Quantum183 param){\\n \\n this.localHMin=param;\\n \\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c4306917f041b667a92bd6e1cbcac6ab\",\n \"score\": \"0.52230537\",\n \"text\": \"int mo91971g(CatalogVHData bVar);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b5e838fff04700d45ae2a5d3001b32d0\",\n \"score\": \"0.5222151\",\n \"text\": \"private void setPlayerOverheadHP(Player player, int hp) {\\n GamePlayer gamePlayer = API.getGamePlayer(player);\\n if (gamePlayer == null) {\\n return;\\n }\\n ScoreboardHandler.getInstance().updatePlayerHP(player, hp);\\n double maxHP = getPlayerMaxHPLive(player);\\n double healthPercentage = ((double) hp / maxHP);\\n if (healthPercentage * 100.0F > 100.0F) {\\n healthPercentage = 1.0;\\n }\\n float healthToDisplay = (float) (healthPercentage * 100.F);\\n int playerLevel = gamePlayer.getLevel();\\n String playerLevelInfo = ChatColor.AQUA.toString() + ChatColor.BOLD + \\\"LVL \\\" + ChatColor.AQUA + playerLevel;\\n String separator = ChatColor.WHITE.toString() + \\\" - \\\";\\n String playerHPInfo;\\n BossBarAPI.Color color;\\n if (API.isInSafeRegion(player.getLocation())) {\\n color = BossBarAPI.Color.GREEN;\\n playerHPInfo = ChatColor.GREEN.toString() + ChatColor.BOLD + \\\"HP \\\" + ChatColor.GREEN + hp + ChatColor.BOLD + \\\" / \\\" + ChatColor.GREEN + (int) maxHP;\\n } else if (API.isNonPvPRegion(player.getLocation())) {\\n color = BossBarAPI.Color.YELLOW;\\n playerHPInfo = ChatColor.YELLOW.toString() + ChatColor.BOLD + \\\"HP \\\" + ChatColor.YELLOW + hp + ChatColor.BOLD + \\\" / \\\" + ChatColor.YELLOW + (int) maxHP;\\n } else {\\n color = BossBarAPI.Color.RED;\\n playerHPInfo = ChatColor.RED.toString() + ChatColor.BOLD + \\\"HP \\\" + ChatColor.RED + hp + ChatColor.BOLD + \\\" / \\\" + ChatColor.RED + (int) maxHP;\\n }\\n double exp = ((double) gamePlayer.getExperience()) / ((double) gamePlayer.getEXPNeeded(playerLevel));\\n exp *= 100;\\n String playerEXPInfo = ChatColor.LIGHT_PURPLE.toString() + ChatColor.BOLD + \\\"XP \\\" + ChatColor.LIGHT_PURPLE + (int) exp + \\\"%\\\";\\n if (playerLevel == 100) {\\n playerEXPInfo = ChatColor.LIGHT_PURPLE + ChatColor.BOLD.toString() + \\\"MAX\\\";\\n }\\n BossBarAPI.removeAllBars(player);\\n BossBarAPI.addBar(player, new TextComponent(\\\" \\\" + playerLevelInfo + separator + playerHPInfo + separator + playerEXPInfo), color, BossBarAPI.Style.NOTCHED_20, healthToDisplay);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9819392a394f73f271d03308347ed29d\",\n \"score\": \"0.52202576\",\n \"text\": \"int getSupportValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bb192f2ef6ab056bff9da8b8f9c4000a\",\n \"score\": \"0.5217147\",\n \"text\": \"public int getHp() {\\n\\t\\treturn this.hp;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"94b904fa52ceacebb6d6369dee2f7c26\",\n \"score\": \"0.51986456\",\n \"text\": \"public int getHealth()\\n {\\n return health;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3354264dd3b7e903c2bbfd401787d18c\",\n \"score\": \"0.5197724\",\n \"text\": \"int getInteger17();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"464e01d5e561eb42db148a6d0b2eaeff\",\n \"score\": \"0.51898694\",\n \"text\": \"public int[] uj10HosszuIntTomb() {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0cdca1693413494ba07256f861ed4756\",\n \"score\": \"0.518656\",\n \"text\": \"public int getReservedPieceNumber() {\\n return -1;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6d062fee26bbba0d2c1fe5eeb057c3bf\",\n \"score\": \"0.5186389\",\n \"text\": \"public void setHbMax(Quantum183 param){\\n \\n this.localHbMax=param;\\n \\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"49c52121161b57855ad2ed6c3f7c519f\",\n \"score\": \"0.51790047\",\n \"text\": \"public Quantum183 getSnMax(){\\n return localSnMax;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"43c9b2ed6b3988563f3732711e29eeb9\",\n \"score\": \"0.51743656\",\n \"text\": \"public int getHealth(){\\n return this.health;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"43c9b2ed6b3988563f3732711e29eeb9\",\n \"score\": \"0.51743656\",\n \"text\": \"public int getHealth(){\\n return this.health;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7d6e44dfe652b404f4f46d5c4e6403bf\",\n \"score\": \"0.51711386\",\n \"text\": \"int maxGasLevel();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7e2681c5d4fa78afe9b7c0c22bd4778\",\n \"score\": \"0.5165623\",\n \"text\": \"public abstract double getHpFactor();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9790a873e2c7d9e0042eadcc31c539e8\",\n \"score\": \"0.51613426\",\n \"text\": \"public int getHealth() {\\n return health;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1620eb42883c3d59bc82b549640739fb\",\n \"score\": \"0.5155153\",\n \"text\": \"public int getgame_over(){\\n \\treturn game_over;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a330c22832de4f42e5b8c19661a0d13c\",\n \"score\": \"0.5152538\",\n \"text\": \"public static int HARDNESS(int code) { return c().data[code&RESOURCE_MASK][3];}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a93c14c4c92aa776d17138f23e84faaf\",\n \"score\": \"0.5149874\",\n \"text\": \"@Override\\n public int getAscensionMaxHPLoss() {\\n return 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c85088873f1dbb43870456f895719346\",\n \"score\": \"0.51447797\",\n \"text\": \"public short mo34e() {\\n return 549;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7c2efa47ae04d885b63bc64124e43b8f\",\n \"score\": \"0.5142784\",\n \"text\": \"int\\ngetMax() { \\nreturn\\nharr[0]; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"28a11db21248a83b1a3dc6f36ddfb6f2\",\n \"score\": \"0.5139172\",\n \"text\": \"double getHobOccupancyFactor();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e182f3bce315ff186199c616d5ef3a25\",\n \"score\": \"0.5138854\",\n \"text\": \"public int method_2460(ahb var1) {\\r\\n return 4;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f40e6dfc22de92a2dcd709c2990fb4b\",\n \"score\": \"0.51381016\",\n \"text\": \"public int varNum() {\\n return 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6973debe489aecb46dc95bb89f3c84c0\",\n \"score\": \"0.51299953\",\n \"text\": \"public short mo34e() {\\n return 182;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8e901150aa805d671c2c2c2cc2bc013d\",\n \"score\": \"0.5126407\",\n \"text\": \"public int getDefence(){\\n return 5;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ee7894885a4899332cd6843d3e5a7a43\",\n \"score\": \"0.51227814\",\n \"text\": \"public long getWood() {\\n return wood_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6a598510b2b1402f9b0364665264619f\",\n \"score\": \"0.5121361\",\n \"text\": \"public int getNumberOfMinionsInHand();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a81e38817017f97570ecef9a66c1fdc1\",\n \"score\": \"0.5120002\",\n \"text\": \"abstract protected int getHedgehogFoodValue();\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":385,"cells":{"query_id":{"kind":"string","value":"d573fe61a6e30be359567f24fd12ffbb"},"query":{"kind":"string","value":"/ maybe later we put in the GramTarget container instead of only building KtK here?"},"positive_passages":{"kind":"list like","value":[{"docid":"fee9984885808f682dc6cf408e696105","score":"0.0","text":"public DenseMatrix buildBasicKtK(FeatureList featureList, ProgressReporter reporter) throws ApplicationException {\n checkFeatureList(featureList, true);\n \n int size = featureList.size();\n int numGenes = cache.getNodeIds(organismId).getNodeIds().length; \n \n DenseMatrix KtK = new DenseMatrix(size, size);\n FeatureLoader featureLoader = new FeatureLoader(cache, namespace, organismId);\n \n KtK.set(0, 0, numGenes*numGenes);\n for (int i = 1; i < size; i++) {\n Feature iFeature = featureList.get(i);\n// logger.debug(String.format(\"processing %d'th feature, type %s\", i, iFeature.getType().toString()));\n SymMatrix network_i = featureLoader.load(iFeature);\n \n double networkSum = network_i.elementSum();\n KtK.set(i, 0, networkSum);\n KtK.set(0, i, networkSum);\n\n for (int j = 1; j <= i; j++) {\n if (progress.isCanceled()) {\n throw new CancellationException();\n }\n \n Feature jFeature = featureList.get(j);\n SymMatrix network_j = featureLoader.load(jFeature);\n \n double prodSum = network_j.elementMultiplySum(network_i);\n// double prodSum = network_i.elementMultiplySum(network_j);\n KtK.set(i, j, prodSum);\n KtK.set(j, i, prodSum);\n }\n } \n \n return KtK; \n }","title":""}],"string":"[\n {\n \"docid\": \"fee9984885808f682dc6cf408e696105\",\n \"score\": \"0.0\",\n \"text\": \"public DenseMatrix buildBasicKtK(FeatureList featureList, ProgressReporter reporter) throws ApplicationException {\\n checkFeatureList(featureList, true);\\n \\n int size = featureList.size();\\n int numGenes = cache.getNodeIds(organismId).getNodeIds().length; \\n \\n DenseMatrix KtK = new DenseMatrix(size, size);\\n FeatureLoader featureLoader = new FeatureLoader(cache, namespace, organismId);\\n \\n KtK.set(0, 0, numGenes*numGenes);\\n for (int i = 1; i < size; i++) {\\n Feature iFeature = featureList.get(i);\\n// logger.debug(String.format(\\\"processing %d'th feature, type %s\\\", i, iFeature.getType().toString()));\\n SymMatrix network_i = featureLoader.load(iFeature);\\n \\n double networkSum = network_i.elementSum();\\n KtK.set(i, 0, networkSum);\\n KtK.set(0, i, networkSum);\\n\\n for (int j = 1; j <= i; j++) {\\n if (progress.isCanceled()) {\\n throw new CancellationException();\\n }\\n \\n Feature jFeature = featureList.get(j);\\n SymMatrix network_j = featureLoader.load(jFeature);\\n \\n double prodSum = network_j.elementMultiplySum(network_i);\\n// double prodSum = network_i.elementMultiplySum(network_j);\\n KtK.set(i, j, prodSum);\\n KtK.set(j, i, prodSum);\\n }\\n } \\n \\n return KtK; \\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"a29dcffb14f8e6368cab7791cae1b078","score":"0.5386046","text":" FreecellOperations build();","title":""},{"docid":"73ea1632999202dbc8aa527a083b7d5d","score":"0.5334126","text":"public void assembleTrape() {\r\n\t\t\r\n\t}","title":""},{"docid":"20664b3d5b32af57dbf2f4ddf390b933","score":"0.5237057","text":"private SpectraTagger(){\n\t\t\n\t}","title":""},{"docid":"4cb9d2e9f5cb8c81b6a50994e37057f3","score":"0.5209391","text":"ConceptMapTarget createConceptMapTarget();","title":""},{"docid":"ac72f7c2b67609946b0b29b4fa626ed1","score":"0.5166616","text":"@Override\n\tprotected void build ()\n\t{\n\t\t\n\t}","title":""},{"docid":"8787d3300d92673d047fe8a7870fd0fa","score":"0.51487267","text":"@Override\n\t\tprotected void buildInternal(MultiLabelInstances trainingSet)\n\t\t\t\tthrows Exception {\n\n\t\t}","title":""},{"docid":"fa699da9a1b51a2e2af586a8c03c5cc6","score":"0.5148047","text":"@Override \n\t\t public boolean isGenerateBuilders() {\n\t\t\t return true; \n\t\t }","title":""},{"docid":"b2891004e71124276383884864974769","score":"0.51106954","text":"ErgoProver build();","title":""},{"docid":"4de157c531336836d95315cc814fd441","score":"0.508651","text":"private LexusES300Builder() {\n\t\t\n\t}","title":""},{"docid":"24c66c67d85f78cf196750e6c05e0746","score":"0.5075395","text":"StructureMapTarget createStructureMapTarget();","title":""},{"docid":"138c9eb9e86ae455d47c1a7cd0367182","score":"0.5050548","text":"public void createTarget(Graphics g) {\n target = new Target((int) (Math.random() * 390 + 1), (int) (Math.random() * 350 + 1), ((int) (Math.random() * 4)) + 0);\r\n target.draw(g);\r\n }","title":""},{"docid":"450630249b4c5d7a1eef809b0f346823","score":"0.4992135","text":"private void buildTargetTree()\n {\n // set is building flag\n _isBuildingTree = true;\n\n // clear tree\n _treeTarget.clear();\n\n // build the tree staring at the root\n try\n {\n buildNode(_treeTarget.getRoot());\n }\n catch(Exception e)\n {\n GuiManager.showErrorDialog(this, ERR_BUILDTREE.getText(), e);\n }\n\n // refresh the tree to ensure proper display\n _treeTarget.refreshModel();\n\n // set is building flag\n _isBuildingTree = false;\n\n }","title":""},{"docid":"78bf57b8931c2fc929a2665e9ec28cd8","score":"0.49656785","text":"private void setupGoogleMtStep() {\n\t\tString googleKey = null;\r\n\t\ttry( FileInputStream fis = new FileInputStream(new File(\"autotranslator.config\")) ) {\r\n\t\t\tProperties prop = new Properties();\r\n\t\t\tprop.load(fis);\r\n\t\t\tgoogleKey = prop.getProperty(\"googleKey\");\r\n\t\t}\r\n\t\tcatch (Exception e) {\r\n\t\t\tthrow new RuntimeException(\"Error loading the configuration file.\", e);\r\n\t\t}\r\n\r\n\t\t// Construct the Leveraging step\r\n\t\tLeveragingStep step = new LeveragingStep();\r\n\t\tnet.sf.okapi.steps.leveraging.Parameters params \r\n\t\t\t= (net.sf.okapi.steps.leveraging.Parameters)step.getParameters();\r\n\t\tparams.setMakeTMX(false);\r\n\t\tparams.setFillTarget(true);\r\n\t\tparams.setFillIfTargetIsEmpty(true);\r\n\t\tparams.setFillIfTargetIsSameAsSource(false);\r\n\t\tparams.setUseTargetPrefix(false);\r\n\r\n\t\tparams.setResourceClassName(\"net.sf.okapi.connectors.google.GoogleMTv2Connector\");\r\n\t\tnet.sf.okapi.connectors.google.GoogleMTv2Parameters p = new net.sf.okapi.connectors.google.GoogleMTv2Parameters();\r\n\t\tp.setApiKey(googleKey);\r\n\t\tp.setUsePBMT(false);\r\n\t\tparams.setResourceParameters(p.toString());\r\n\t\t\r\n\t\tdriver.addStep(step);\r\n\t}","title":""},{"docid":"bd03a4f132498f7aa98702ee46aa402b","score":"0.49499375","text":"private void createTeapot(Appearance ap, TransformGroup tg) {\n\t\tString classPath = System.getProperty(\"user.dir\");\n\t\t\n\t\tcreateTeapotPart(classPath + \"/\" + filenames[0]);\n\n\t\t// Create a 3d shape using the co-ordinates from the file and add the\n\t\t// shape to the scene\n\t\tShape3D shape1 = new TeapotSurface(pts, idx);\n\t\tshape1.setAppearance(ap);\n\t\ttg.addChild(shape1);\n\t\tcreateTeapotPart(classPath + \"/\" + filenames[1]);\n\t\tShape3D shape2 = new TeapotSurface(pts, idx);\n\t\tshape2.setAppearance(ap);\n\t\ttg.addChild(shape2);\n\t\tcreateTeapotPart(classPath + \"/\" + filenames[2]);\n\t\tShape3D shape3 = new TeapotSurface(pts, idx);\n\t\tshape3.setAppearance(ap);\n\t\ttg.addChild(shape3);\n\t\tcreateTeapotPart(classPath + \"/\" + filenames[3]);\n\t\tShape3D shape4 = new TeapotSurface(pts, idx);\n\t\tshape4.setAppearance(ap);\n\t\ttg.addChild(shape4);\n\t\tcreateTeapotPart(classPath + \"/\" + filenames[4]);\n\t\tShape3D shape5 = new TeapotSurface(pts, idx);\n\t\tshape5.setAppearance(ap);\n\t\ttg.addChild(shape5);\n\t\tcreateTeapotPart(classPath + \"/\" + filenames[5]);\n\t\tShape3D shape6 = new TeapotSurface(pts, idx);\n\t\tshape6.setAppearance(ap);\n\t\ttg.addChild(shape6);\n\t\tcreateTeapotPart(classPath + \"/\" + filenames[6]);\n\t\tShape3D shape7 = new TeapotSurface(pts, idx);\n\t\tshape7.setAppearance(ap);\n\t\ttg.addChild(shape7);\n\t\tcreateTeapotPart(classPath + \"/\" + filenames[7]);\n\t\tShape3D shape8 = new TeapotSurface(pts, idx);\n\t\tshape8.setAppearance(ap);\n\t\ttg.addChild(shape8);\n\t}","title":""},{"docid":"405418f82ebf482f7a7e92009e196d44","score":"0.4943489","text":"void build();","title":""},{"docid":"17139ce597bcf4ea6b84df0b722dac32","score":"0.48769566","text":"@Override\n\tprotected void buildPillars() {\n\t\tSystem.out.println(\"building pillars with RCC for glass house\");\n\t}","title":""},{"docid":"dc287c1577e8dfbb3179331de38678df","score":"0.48762792","text":"@DebuggerTargetObjectIface(\"BreakpointContainer\")\npublic interface TargetBreakpointContainer>\n\t\textends TypedTargetObject {\n\tenum Private {\n\t\t;\n\t\tprivate abstract class Cls implements TargetBreakpointContainer {\n\t\t}\n\t}\n\n\t@SuppressWarnings({ \"unchecked\", \"rawtypes\" })\n\tClass tclass = (Class) TargetBreakpointContainer.class;\n\n\tString SUPPORTED_BREAK_KINDS_ATTRIBUTE_NAME = PREFIX_INVISIBLE + \"supported_breakpoint_kinds\";\n\n\tpublic interface TargetBreakpointKindSet extends Set {\n\t\tpublic static class EmptyTargetBreakpointKindSet\n\t\t\t\textends AbstractEmptySet implements TargetBreakpointKindSet {\n\t\t\t// Nothing\n\t\t}\n\n\t\tpublic static class ImmutableTargetBreakpointKindSet\n\t\t\t\textends AbstractNSet\n\t\t\t\timplements TargetBreakpointKindSet {\n\n\t\t\tpublic ImmutableTargetBreakpointKindSet(TargetBreakpointKind... kinds) {\n\t\t\t\tsuper(kinds);\n\t\t\t}\n\n\t\t\tpublic ImmutableTargetBreakpointKindSet(Set set) {\n\t\t\t\tsuper(set);\n\t\t\t}\n\t\t}\n\n\t\tTargetBreakpointKindSet EMPTY = new EmptyTargetBreakpointKindSet();\n\n\t\tpublic static TargetBreakpointKindSet of() {\n\t\t\treturn EMPTY;\n\t\t}\n\n\t\tpublic static TargetBreakpointKindSet of(TargetBreakpointKind... kinds) {\n\t\t\treturn new ImmutableTargetBreakpointKindSet(kinds);\n\t\t}\n\n\t\tpublic static TargetBreakpointKindSet copyOf(Set set) {\n\t\t\treturn new ImmutableTargetBreakpointKindSet(set);\n\t\t}\n\t}\n\n\t/**\n\t * Get the kinds of supported breakpoints\n\t * \n\t *

\n\t * Different debuggers have differing vocabularies of breakpoints, and may only support a subset\n\t * of those recognized by Ghidra. This attribute describes those supported.\n\t * \n\t * @return the set of supported kinds\n\t */\n\t@TargetAttributeType(name = SUPPORTED_BREAK_KINDS_ATTRIBUTE_NAME, required = true, hidden = true)\n\tpublic default TargetBreakpointKindSet getSupportedBreakpointKinds() {\n\t\treturn getTypedAttributeNowByName(SUPPORTED_BREAK_KINDS_ATTRIBUTE_NAME,\n\t\t\tTargetBreakpointKindSet.class, TargetBreakpointKindSet.of());\n\t}\n\n\t/**\n\t * Specify a breakpoint having the given expression and kinds\n\t * \n\t *

\n\t * Certain combinations of kinds and expression may not be reasonable. In those cases, the\n\t * debugger may choose to reject, split, and/or adjust the request.\n\t * \n\t * @param expression the expression, in the native debugger's syntax\n\t * @param kinds the desired set of kinds\n\t * @return a future which completes when the request is processed\n\t */\n\tpublic CompletableFuture placeBreakpoint(String expression,\n\t\t\tSet kinds);\n\n\t/**\n\t * Specify a breakpoint having the given range and kinds\n\t * \n\t *

\n\t * Certain combinations of kinds and range may not be reasonable. In those cases, the debugger\n\t * may choose to reject, split, and/or adjust the request.\n\t * \n\t * @param range the range of addresses for the breakpoint\n\t * @param kinds the desired set of kinds\n\t * @return a future which completes when the request is processed\n\t */\n\tpublic CompletableFuture placeBreakpoint(AddressRange range,\n\t\t\tSet kinds);\n\n\t/**\n\t * Specify a breakpoint having the given address and kinds\n\t * \n\t *

\n\t * Certain combinations of kinds may not be reasonable. In those cases, the debugger may choose\n\t * to reject, split, and/or adjust the request.\n\t * \n\t * @param expression the expression, in the native debugger's syntax\n\t * @param kinds the desired set of kinds\n\t * @return a future which completes when the request is processed\n\t */\n\tpublic default CompletableFuture placeBreakpoint(Address address,\n\t\t\tSet kinds) {\n\t\treturn placeBreakpoint(new AddressRangeImpl(address, address), kinds);\n\t}\n\n\tpublic interface TargetBreakpointListener extends TargetObjectListener {\n\t\t/**\n\t\t * A breakpoint trapped execution\n\t\t * \n\t\t *

\n\t\t * The program counter can be obtained in a few ways. The most reliable is to get the\n\t\t * address of the effective breakpoint. If available, the frame will also contain the\n\t\t * program counter. Finally, the trapped object or one of its relatives may offer the\n\t\t * program counter.\n\t\t * \n\t\t * @param container the container whose breakpoint trapped execution\n\t\t * @param trapped the object whose execution was trapped\n\t\t * @param frame the innermost stack frame, if available, of the trapped object\n\t\t * @param spec the breakpoint specification\n\t\t * @param breakpoint the breakpoint location that actually trapped execution\n\t\t */\n\t\tdefault void breakpointHit(TargetBreakpointContainer container, TargetObjectRef trapped,\n\t\t\t\tTypedTargetObjectRef> frame,\n\t\t\t\tTypedTargetObjectRef> spec,\n\t\t\t\tTypedTargetObjectRef> breakpoint) {\n\t\t}\n\t}\n}","title":""},{"docid":"a55b4556d4150238c774f1786ae2d019","score":"0.48729417","text":"@Test\n public void processSimpleAugment() {\n setUp();\n // As an application, creates the object.\n\n // Creates container cont1s with the leaf.\n org.onosproject.yang.gen.v1.ytbsimpleaugment.rev20160826\n .ytbsimpleaugment.cont1.cont2.augmentedcont2.cont1s\n .Cont1s cont1s1 = new org.onosproject.yang.gen.v1.ytbsimpleaugment\n .rev20160826.ytbsimpleaugment.cont1.cont2\n .augmentedcont2.cont1s.DefaultCont1s();\n\n // Appends the created container into another container.\n Cont1s cont1s = new DefaultCont1s();\n cont1s.cont1s(cont1s1);\n\n // Creates augment with the container and leaf.\n DefaultAugmentedCont2 augment = new DefaultAugmentedCont2();\n augment.cont1s(cont1s);\n augment.leaf4(500);\n\n // Creates for the node which will be getting augmented.\n // Creates cont2 where content will be augmented into.\n DefaultCont2 augCont2 = new DefaultCont2();\n augCont2.addAugmentation(augment);\n\n // Creates cont1 where cont2 is added.\n DefaultCont1 cont1 = new DefaultCont1();\n cont1.cont2(augCont2);\n\n // Builds YANG tree in YTB.\n data = new DefaultModelObjectData.Builder();\n data.addModelObject(cont1);\n rscData = treeBuilder.getResourceData(data.build());\n\n nameSpace = \"yms:test:ytb:simple:augment\";\n id = rscData.resourceId();\n keys = id.nodeKeys();\n assertThat(1, is(keys.size()));\n\n sid = keys.get(0).schemaId();\n assertThat(\"/\", is(sid.name()));\n assertThat(null, is(sid.namespace()));\n\n dataNodes = rscData.dataNodes();\n assertThat(1, is(dataNodes.size()));\n\n node = dataNodes.get(0);\n validateDataNode(node, \"cont1\", nameSpace,\n SINGLE_INSTANCE_NODE,\n true, null);\n //Here only one instance of list will be added because config is\n // false. so there will be no difference in 2 instance of list node.\n Map child = ((InnerNode) node).childNodes();\n assertThat(1, is(child.size()));\n Iterator> it = child.entrySet().iterator();\n\n Map.Entry n = it.next();\n validateDataNode(n.getValue(), \"cont2\", nameSpace,\n SINGLE_INSTANCE_NODE,\n true, null);\n child = ((InnerNode) n.getValue()).childNodes();\n assertThat(2, is(child.size()));\n\n it = child.entrySet().iterator();\n n = it.next();\n validateDataNode(n.getValue(), \"leaf4\", nameSpace,\n SINGLE_INSTANCE_LEAF_VALUE_NODE,\n true, \"500\");\n\n n = it.next();\n validateDataNode(n.getValue(), \"cont1s\", nameSpace,\n SINGLE_INSTANCE_NODE,\n true, null);\n\n child = ((InnerNode) n.getValue()).childNodes();\n assertThat(1, is(child.size()));\n\n it = child.entrySet().iterator();\n n = it.next();\n validateDataNode(n.getValue(), \"cont1s\", nameSpace,\n SINGLE_INSTANCE_NODE,\n true, null);\n }","title":""},{"docid":"5192fd7a3d44da09962432dafe598a4a","score":"0.48603547","text":"protected void setupTransform(Transformer t) {\n\t\t// This space available\n\t}","title":""},{"docid":"b78c48dfb7e7184713f5aea8368c3989","score":"0.48233432","text":"public void test030() {\n // first series shows that a clean build is OK\n this.runConformTest(new String[] { \"X.java\", \"public interface X, \\n\" + \" K extends X.K, \\n\" + \" S extends X.S> {\\n\" + \"\tpublic interface K, \\n\" + \"\t KS extends X.S> {\\n\" + \"\t}\\n\" + \"\tpublic interface S {\\n\" + \"\t}\\n\" + \"}\\n\", \"Y.java\", \"public class Y, \\n\" + \" K extends X.K, \\n\" + \" S extends X.S> { \\n\" + \"}\\n\" }, \"\\\"\" + OUTPUT_DIR + File.separator + \"Y.java\\\"\" + \" -1.5 -g -preserveAllLocals\" + \" -cp \\\"\" + OUTPUT_DIR + File.separator + \"\\\"\" + \" -proceedOnError -referenceInfo\" + \" -d \\\"\" + OUTPUT_DIR + \"\\\"\", \"\", \"\", true);\n // second series shows that a staged build - that simulates the auto build context - is OK as well\n this.runConformTest(new String[] { \"X.java\", \"public interface X, \\n\" + \" K extends X.K, \\n\" + \" S extends X.S> {\\n\" + \"\tpublic interface K, \\n\" + \"\t KS extends X.S> {\\n\" + \"\t}\\n\" + \"\tpublic interface S {\\n\" + \"\t}\\n\" + \"}\\n\" }, \"\\\"\" + OUTPUT_DIR + File.separator + \"X.java\\\"\" + \" -1.5 -g -preserveAllLocals\" + \" -proceedOnError -referenceInfo\" + \" -d \\\"\" + OUTPUT_DIR + \"\\\"\", \"\", \"\", true);\n this.runConformTest(new String[] { \"Y.java\", \"public class Y, \\n\" + \" K extends X.K, \\n\" + \" S extends X.S> { \\n\" + \"}\\n\" }, \"\\\"\" + OUTPUT_DIR + File.separator + \"Y.java\\\"\" + \" -1.5 -g -preserveAllLocals\" + \" -cp \\\"\" + OUTPUT_DIR + File.separator + \"\\\"\" + \" -proceedOnError -referenceInfo\" + \" -d \\\"\" + OUTPUT_DIR + \"\\\"\", \"\", \"\", false);\n }","title":""},{"docid":"caa8166a831ccba8f0255c2b73b710a6","score":"0.48041636","text":"private WordCloudGenerator() { }","title":""},{"docid":"4de5d771812bf28124e10bf9016e3377","score":"0.479243","text":"private PlainteAggregateRootBuilder (){\n\t\t\n\t}","title":""},{"docid":"94baaefbf5a8f7ff7e1713ef90870f98","score":"0.47748318","text":"Clerk createClerk();","title":""},{"docid":"f9a477f364df4e603ae7accbd26c6b1d","score":"0.47641793","text":"@Override\n\tpublic void setupQueryContext(KeyedTopKQueue topk, Map map) throws IOException {\n\n\t}","title":""},{"docid":"43b37289f4c5d39cc19788e51dca31a5","score":"0.47491822","text":"GraphDefinitionTarget createGraphDefinitionTarget();","title":""},{"docid":"29ed0efc84749b4346c9d82cb422a83e","score":"0.47369036","text":"T build();","title":""},{"docid":"955890762902c0953f2ba8978a915582","score":"0.47357923","text":"@Test\n public void processSimpleAugmentModIdC1() {\n setUp();\n // As an application, creates the object.\n\n // Creates container cont1s with the leaf.\n org.onosproject.yang.gen.v1.ytbsimpleaugment.rev20160826\n .ytbsimpleaugment.cont1.cont2.augmentedcont2.cont1s\n .Cont1s cont1s1 = new org.onosproject.yang.gen.v1.ytbsimpleaugment\n .rev20160826.ytbsimpleaugment.cont1.cont2\n .augmentedcont2.cont1s.DefaultCont1s();\n\n // Appends the created container into another container.\n Cont1s cont1s = new DefaultCont1s();\n cont1s.cont1s(cont1s1);\n\n // Creates augment with the container and leaf.\n DefaultAugmentedCont2 augment = new DefaultAugmentedCont2();\n augment.cont1s(cont1s);\n augment.leaf4(500);\n\n // Creates for the node which will be getting augmented.\n // Creates cont2 where content will be augmented into.\n DefaultCont2 augCont2 = new DefaultCont2();\n augCont2.addAugmentation(augment);\n\n // Builds YANG tree in YTB.\n data = new DefaultModelObjectData.Builder();\n data.addModelObject(augCont2);\n mid = ModelObjectId.builder().addChild(DefaultCont1.class).build();\n data.identifier(mid);\n rscData = treeBuilder.getResourceData(data.build());\n\n nameSpace = \"yms:test:ytb:simple:augment\";\n id = rscData.resourceId();\n keys = id.nodeKeys();\n assertThat(2, is(keys.size()));\n\n sid = keys.get(0).schemaId();\n assertThat(\"/\", is(sid.name()));\n assertThat(null, is(sid.namespace()));\n\n sid = keys.get(1).schemaId();\n assertThat(\"cont1\", is(sid.name()));\n assertThat(nameSpace, is(sid.namespace()));\n\n dataNodes = rscData.dataNodes();\n assertThat(1, is(dataNodes.size()));\n\n node = dataNodes.get(0);\n validateDataNode(node, \"cont2\", nameSpace,\n SINGLE_INSTANCE_NODE,\n true, null);\n //Here only one instance of list will be added because config is\n // false. so there will be no difference in 2 instance of list node.\n Map child = ((InnerNode) node).childNodes();\n assertThat(2, is(child.size()));\n Iterator> it = child.entrySet().iterator();\n\n Map.Entry n = it.next();\n validateDataNode(n.getValue(), \"leaf4\", nameSpace,\n SINGLE_INSTANCE_LEAF_VALUE_NODE,\n true, \"500\");\n\n n = it.next();\n validateDataNode(n.getValue(), \"cont1s\", nameSpace,\n SINGLE_INSTANCE_NODE,\n true, null);\n\n child = ((InnerNode) n.getValue()).childNodes();\n assertThat(1, is(child.size()));\n\n it = child.entrySet().iterator();\n n = it.next();\n validateDataNode(n.getValue(), \"cont1s\", nameSpace,\n SINGLE_INSTANCE_NODE,\n true, null);\n }","title":""},{"docid":"3e244050d8343d87eb010b54c400c389","score":"0.4730468","text":"K create( );","title":""},{"docid":"c2d02b7d86228bd60bcb495f2961325a","score":"0.47282544","text":"TargetDefinition createTargetDefinition();","title":""},{"docid":"2fc54caf63ae66057d1a4189adda3e62","score":"0.4723822","text":"@Test\n public void processSimpleAugmentModIdC2() {\n setUp();\n // As an application, creates the object.\n\n // Creates container cont1s with the leaf.\n org.onosproject.yang.gen.v1.ytbsimpleaugment.rev20160826\n .ytbsimpleaugment.cont1.cont2.augmentedcont2.cont1s\n .Cont1s cont1s1 = new org.onosproject.yang.gen.v1.ytbsimpleaugment\n .rev20160826.ytbsimpleaugment.cont1.cont2\n .augmentedcont2.cont1s.DefaultCont1s();\n\n // Appends the created container into another container.\n Cont1s cont1s = new DefaultCont1s();\n cont1s.cont1s(cont1s1);\n\n // Creates augment with the container and leaf.\n DefaultAugmentedCont2 augment = new DefaultAugmentedCont2();\n augment.cont1s(cont1s);\n augment.leaf4(500);\n\n // Builds YANG tree in YTB.\n data = new DefaultModelObjectData.Builder();\n data.addModelObject(augment);\n mid = ModelObjectId.builder().addChild(DefaultCont1.class)\n .addChild(DefaultCont2.class).build();\n\n data.identifier(mid);\n rscData = treeBuilder.getResourceData(data.build());\n\n nameSpace = \"yms:test:ytb:simple:augment\";\n id = rscData.resourceId();\n keys = id.nodeKeys();\n assertThat(3, is(keys.size()));\n\n sid = keys.get(0).schemaId();\n assertThat(\"/\", is(sid.name()));\n assertThat(null, is(sid.namespace()));\n\n sid = keys.get(1).schemaId();\n assertThat(\"cont1\", is(sid.name()));\n assertThat(nameSpace, is(sid.namespace()));\n\n sid = keys.get(2).schemaId();\n assertThat(\"cont2\", is(sid.name()));\n assertThat(nameSpace, is(sid.namespace()));\n\n dataNodes = rscData.dataNodes();\n assertThat(2, is(dataNodes.size()));\n\n node = dataNodes.get(0);\n validateDataNode(node, \"leaf4\", nameSpace,\n SINGLE_INSTANCE_LEAF_VALUE_NODE,\n true, \"500\");\n\n node = dataNodes.get(1);\n validateDataNode(node, \"cont1s\", nameSpace,\n SINGLE_INSTANCE_NODE,\n true, null);\n }","title":""},{"docid":"a4de4bc5012a36af53e00617494c1e3f","score":"0.4707643","text":"protected MordorFrameBuilds(){\t}","title":""},{"docid":"2a7a6f1ea8841ec67bd0169e4ebed4b4","score":"0.4701434","text":"public void initTarget(){\n\t\tfor(Building b : listBuildings){\n\t\t\tif(b.getAttackBehavior()!=null){\n\t\t\t\tb.getAttackBehavior().setMainTarget(ScreenManager.fightScreen.getOtherTeam(b.getMyTeam()).getCastle());\n\t\t\t\tb.getAttackBehavior().setCurrentTarget(ScreenManager.fightScreen.getOtherTeam(b.getMyTeam()).getCastle());\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"46169bacfb13c359fabda562d2b2b968","score":"0.46841028","text":"public void setUpTargetPanel() {\n jp.setLayout(new GridBagLayout());\n GridBagConstraints gc = new GridBagConstraints();\n gc.fill = GridBagConstraints.HORIZONTAL;\n\n for (int i = 0; i < labels.length; i++) {\n setUpLabels(labels[i],i,gc,jp);\n }\n\n targetCalories(gc);\n remainingCalories(gc);\n caloriesEaten(gc);\n }","title":""},{"docid":"a2e45b0edbd4c70d0bbbea093da7e872","score":"0.4667291","text":"@Override\r\n\tpublic void use(Target target) {\n\r\n\t}","title":""},{"docid":"7fe91f50132da81bb3a3a407b7f46083","score":"0.46549326","text":"@Override\n\tprotected void processEngine() {\n\t\t\n\t}","title":""},{"docid":"e48d06bd3a4ecf12aa2675a686d9740c","score":"0.46543905","text":"public void prepareAttackTargets() {\n\t}","title":""},{"docid":"69b616f6c8e18a4df2852b64bae9c28d","score":"0.4643801","text":"public static void updateTexturePackClouds() {\n }","title":""},{"docid":"897f38bff50bbec872331acf494892a7","score":"0.46419102","text":"@Override\n public void run() {\n for (Map.Entry entry :\n scene.spaces.entrySet()) {\n entry.getValue().clearPieces();\n }\n\n // Add the GooeySpace suspect pieces back.\n for (Map.Entry entry :\n gameState.getSuspectLocations().entrySet()) {\n SuspectCard suspectCard = entry.getKey();\n Integer locationId = entry.getValue();\n\n // Get the GooeySpace mapped to locationId\n GooeySpace space = scene.spaces.get(locationId);\n space.addSuspect(suspectCard);\n }\n\n // Add the GooeySpace weapon pieces back.\n for (Map.Entry entry :\n gameState.getWeaponLocations().entrySet()) {\n WeaponCard card = entry.getKey();\n Integer locationId = entry.getValue();\n\n // Get the GooeySpace mapped to locationId\n GooeySpace space = scene.spaces.get(locationId);\n space.addWeapon(card);\n }\n if (gameState.isGameActive()) {\n scene.clearCards();\n // Populate the face up cards and my cards\n for (Card card : gameState.getFaceUpCards()) {\n scene.addOtherCard(card);\n }\n\n for (Card card : gameState.getCards()) {\n scene.addMyCard(card);\n }\n }\n\n if (clientState.isConfigured()) {\n scene.suspectField.setText(\n clientState.getMySuspect().getName());\n }\n }","title":""},{"docid":"a4882dbbbca62576bc9aadf087fca6c8","score":"0.46334934","text":"public void spawnTargetIn(){\n for(int x = 0; x < MAPIMGWIDTH; x++){\n for(int y = 0; y < MAPIMGHEIGHT; y++){\n if((Target)field[x][y][4] != null){\n spawnTarget = false;\n }\n if(spawnTarget && ((Player)field[x][y][1]) != null){\n field[x][y][4] = new Target(x * TILESIZE + TILESIZE/2, y * TILESIZE + TILESIZE/2);\n targetX = x;\n targetY = y;\n spawnTarget = true;\n maxY = targetY + 1;\n minY = targetY - 1;\n maxX = targetX + 1;\n minX = targetX - 1;\n }\n }\n }\n }","title":""},{"docid":"35c914924c2913dd18f40561cb6dfe4d","score":"0.46322966","text":"protected abstract void doBuildTemplate(RunData runData, Context context,\n AntelopeTaskInstance taskInstance, FormTool form) throws Exception;","title":""},{"docid":"4f1718d0bac716b831532d59ff80c800","score":"0.46285734","text":"private void getAllTargetsIntern() {\n getPixels();\n\n // concatenate the two lists such that PPA labeled targets are first\n allTargets = newArrayListWithExpectedSize(ppaTargets.size()\n + stellarTargets.size());\n allTargets.addAll(ppaTargets);\n allTargets.addAll(stellarTargets);\n }","title":""},{"docid":"e4a568b380fc9e1e2bf25197a1970d8e","score":"0.4628163","text":"private void findTargetPush()\r\n {\r\n AxisAlignedBB impactBox = this.getEntityBoundingBox().expand(12D, 6D, 12D); \r\n List list = this.world.getEntitiesWithinAABB(EntityLivingBase.class, impactBox);\r\n \r\n //valid entity\r\n list.removeIf(ent -> this.equals(ent) || !ent.canBePushed() || !ent.canBeCollidedWith());\r\n \r\n //從可騎乘目標中挑出一個目標騎乘\r\n if (list.size() > 0)\r\n {\r\n \tthis.targetPush = list.get(rand.nextInt(list.size()));\r\n \tthis.tickPush = 0;\r\n\t\t\tthis.isPushing = true;\r\n }\r\n }","title":""},{"docid":"339f0371e7ea38d751e17fe6de3b3608","score":"0.4627067","text":"@Override\n\tpublic void crecer() {\n\n\t}","title":""},{"docid":"339f0371e7ea38d751e17fe6de3b3608","score":"0.4627067","text":"@Override\n\tpublic void crecer() {\n\n\t}","title":""},{"docid":"ce72683ac8d1b62c98b58ac7006451a6","score":"0.4624421","text":"@Override\n protected void buildStructure() {\n\n }","title":""},{"docid":"006fb30daf647fec761633ad99f9d8ea","score":"0.4618779","text":"private void createDecoration() {\n\t\tRandom rand = new Random();\r\n\t\t\r\n\t\tint x = rand.nextInt(1281) + 1;\r\n\t\tint y = rand.nextInt(321) + 400;\r\n\t\tint cloudSpeed = -(rand.nextInt(11) + 35);\r\n\t\tint farCloudSpeed = -(rand.nextInt(11) + 10);\r\n\t\tint numberOfTrees = 6;\r\n\t\tint treeHeight = 75;\r\n\t\t\r\n\t\tint[] trees_positions = {80, 350, 425, 750, 850, 1200};\r\n\t\tITextureRegion region = resourcesManager.game_trees_1_region;\r\n\t\tSprite treeSprite = new Sprite(0, 0, region.deepCopy(), vbom);\r\n\t\t\r\n\t\tfor (int i = 0; i < numberOfTrees; i++) {\r\n\t\t\t\r\n\t\t\tint tree = rand.nextInt(6);\r\n\t\t\tint treeOffsetX = rand.nextInt(51) - 25;\r\n\t\t\tint treeOffsetY = rand.nextInt(101);\r\n\t\t\t\r\n\t\t\tswitch (tree) {\r\n\t\t\tcase 0:\r\n\t\t\t\tregion = resourcesManager.game_trees_1_region;\r\n\t\t\t\tbreak;\r\n\t\t\tcase 1:\r\n\t\t\t\tregion = resourcesManager.game_trees_2_region;\r\n\t\t\t\tbreak;\r\n\t\t\tcase 2:\r\n\t\t\t\tregion = resourcesManager.game_trees_3_region;\r\n\t\t\t\tbreak;\r\n\t\t\tcase 3:\r\n\t\t\t\tregion = resourcesManager.game_trees_4_region;\r\n\t\t\t\tbreak;\r\n\t\t\tcase 4:\r\n\t\t\t\tregion = resourcesManager.game_trees_5_region;\r\n\t\t\t\tbreak;\r\n\t\t\tcase 5:\r\n\t\t\t\tregion = resourcesManager.game_trees_6_region;\r\n\t\t\t\tbreak;\r\n\t\t\tdefault:\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\ttreeSprite = new Sprite(trees_positions[i] + treeOffsetX, treeHeight + treeOffsetY, region.deepCopy(), vbom);\r\n\t\t\tGameScene.this.attachChild(treeSprite);\r\n\t\t}\r\n\t\t\r\n\t\t\tSprite cloud1 = new Sprite(x, y, resourcesManager.game_cloud_1_region, vbom) {\r\n\t\t\t\tprotected void onManagedUpdate(float pSecondsElapsed) {\r\n\t\t\t\t\tsuper.onManagedUpdate(pSecondsElapsed);\r\n\t\t\t\t\tif (this.getX() < -200) {\r\n\t\t\t\t\t\tthis.setPosition(1480, this.getY());\r\n\t\t\t\t\t}\r\n\t\t\t\t};\r\n\t\t\t};\r\n\t\t\tPhysicsHandler handler = new PhysicsHandler(cloud1);\r\n\t\t\tcloud1.registerUpdateHandler(handler);\r\n\t\t\thandler.setVelocity(cloudSpeed, 0);\r\n\t\t\t\r\n\t\t\tx = rand.nextInt(1281) + 1;\r\n\t\t\ty = rand.nextInt(321) + 400;\r\n\t\t\tcloudSpeed = -(rand.nextInt(11) + 35);\r\n\t\t\t\r\n\t\t\tSprite cloud2 = new Sprite(x, y, resourcesManager.game_cloud_2_region, vbom) {\r\n\t\t\t\tprotected void onManagedUpdate(float pSecondsElapsed) {\r\n\t\t\t\t\tsuper.onManagedUpdate(pSecondsElapsed);\r\n\t\t\t\t\tif (this.getX() < -200) {\r\n\t\t\t\t\t\tthis.setPosition(1480, this.getY());\r\n\t\t\t\t\t}\r\n\t\t\t\t};\r\n\t\t\t};\r\n\t\t\tPhysicsHandler handler2 = new PhysicsHandler(cloud2);\r\n\t\t\tcloud1.registerUpdateHandler(handler2);\r\n\t\t\thandler2.setVelocity(cloudSpeed, 0);\r\n\t\t\t\r\n\t\t\tx = rand.nextInt(1281) + 1;\r\n\t\t\ty = rand.nextInt(321) + 400;\r\n\t\t\t\r\n\t\t\tSprite farCloud1 = new Sprite(x, y, resourcesManager.game_far_cloud_1_region, vbom) {\r\n\t\t\t\tprotected void onManagedUpdate(float pSecondsElapsed) {\r\n\t\t\t\t\tsuper.onManagedUpdate(pSecondsElapsed);\r\n\t\t\t\t\tif (this.getX() < -200) {\r\n\t\t\t\t\t\tthis.setPosition(1480, this.getY());\r\n\t\t\t\t\t}\r\n\t\t\t\t};\r\n\t\t\t};\r\n\t\t\tPhysicsHandler handler4 = new PhysicsHandler(farCloud1);\r\n\t\t\tfarCloud1.registerUpdateHandler(handler4);\r\n\t\t\thandler4.setVelocity(farCloudSpeed, 0);\r\n\t\t\t\r\n\t\t\tx = rand.nextInt(1281) + 1;\r\n\t\t\ty = rand.nextInt(321) + 400;\r\n\t\t\tfarCloudSpeed = -(rand.nextInt(11) + 10);\r\n\t\t\t\r\n\t\t\tSprite farCloud2 = new Sprite(x, y, resourcesManager.game_far_cloud_2_region, vbom) {\r\n\t\t\t\tprotected void onManagedUpdate(float pSecondsElapsed) {\r\n\t\t\t\t\tsuper.onManagedUpdate(pSecondsElapsed);\r\n\t\t\t\t\tif (this.getX() < -200) {\r\n\t\t\t\t\t\tthis.setPosition(1480, this.getY());\r\n\t\t\t\t\t}\r\n\t\t\t\t};\r\n\t\t\t};\r\n\t\t\tPhysicsHandler handler5 = new PhysicsHandler(farCloud2);\r\n\t\t\tfarCloud2.registerUpdateHandler(handler5);\r\n\t\t\thandler5.setVelocity(farCloudSpeed, 0);\r\n\t\t\t\r\n\t\t\tGameScene.this.attachChild(cloud1);\r\n\t\t\tGameScene.this.attachChild(cloud2);\r\n\t\t\tGameScene.this.attachChild(farCloud1);\r\n\t\t\tGameScene.this.attachChild(farCloud2);\r\n\t}","title":""},{"docid":"9640dd08ae17a289484f910f69cfff0f","score":"0.461255","text":"@Override\n public void initializeGenKill() {\n int other_tid = st.thFieldMap.get(this.tField);\n this.KILL.addAll(st.N.get(other_tid));\n }","title":""},{"docid":"b9ca985e4eb75286b1d2a5171f9d4350","score":"0.4598972","text":"public void build() {\n\tstartitup();\n\t}","title":""},{"docid":"7217d3365ecf86726ac948f8652c8c91","score":"0.4596234","text":"@Override\n\tpublic DI build(Map map) throws ObjectBuilderException {\n\t\treturn null;\n\t}","title":""},{"docid":"f5f9ffc777f86cb5870a6eb9f1b3f07d","score":"0.45928293","text":"public void buildMappings() {\n \t\tsecondPassCompile();\n \t}","title":""},{"docid":"0b144aa46222fd75cdc14d52ba1fcfd3","score":"0.4587474","text":"@Override \n\npublic Context build (Contextcontext){\n\t\n\n\tNetworkBuildernetBuilder = new NetworkBuilder(\"DC interaction network\", context,true);\n\tnetBuilder.buildNetwork();\n\tGridFactory gridFactory = GridFactoryFinder.createGridFactory(null);\n\tGrid grid = gridFactory.createGrid(\"grid\", context,\n\tnew GridBuilderParameters(new BouncyBorders(), //new WrapAroundBorders()\n\tnew SimpleGridAdder(),\n\ttrue,Constants.GRID_WIDTH,Constants.GRID_SIZE,Constants.GRID_SIZE));\n\n\t//set up parameters\n\tParameters params = RunEnvironment.getInstance().getParameters();\n\tdouble Inner_Radius = Constants.INNER_RADIUS;\n\tdouble Outer_Radius = Constants.OUTER_RADIUS;\n\tdouble entry_percent = Constants.ENTRY_PERCENTAGE;\n\tdouble exit_percent = Constants.EXIT_PERCENTAGE; \n\tint gridWidth = Constants.GRID_WIDTH;\n\tint gridHeight = Constants.GRID_SIZE;\n\tint gridz = Constants.GRID_SIZE;\n\tint TCellCount = Constants.Initial_Tcellcount;\n\tint DCCount = Constants.initialDC;//(int)params.getValue(\"initialDC\");//Constants.INITIAL_DC_COUNT; //(Integer)params.getValue(\"DC_count\");\n\tint centreP = Constants.CENTRE_POINT; //(for a hemisphere this is only for j and k , for a quarter this is only for j else is 0\n\tint centreX= 0;\n\n\t//Duration of simulation\n\tRunEnvironment.getInstance().endAt(Constants.SIMULATION_LENGTH);\n\n\t//and set up geometry value layer\n\n\tGridValueLayer geometryLayer = new GridValueLayer(\"Geometry\",true,\n\t\t\tnew BouncyBorders(), Constants.GRID_WIDTH,Constants.GRID_SIZE,Constants.GRID_SIZE); //new WrapAroundBorders()\n\t\t\tfor (int i=0; i grid2 = gridFactory.createGrid(\"grid2\", context,\n\t\t\t\t\t\tnew GridBuilderParameters(new BouncyBorders(), //new WrapAroundBorders()\n\t\t\t\t\t\tnew SimpleGridAdder(),true,Constants.GRID_SIZE,Constants.GRID_SIZE));\n\n\n\t\t\t//make boundary\n\t\t\t\t\t\tfor (int i =0; i < gridWidth; i++){\n\t\t\t\t\t\t\tfor (int j = 0; j < gridHeight; j++){\n\t\t\t\t\t\t\t\tfor (int k = 0; k < gridz; k++){\n\t\t\t\t\t\t\t\t\tGridPoint centre = new GridPoint(centreX,centreP,centreP);\n\t\t\t\t\t\t\t\t\tGridPoint otherPoint= new GridPoint(i,j,k);\n\t\t\t\t\t\t\t\t\tif (grid.getDistance(otherPoint,centre) < Outer_Radius )\n\t\t\t\t\t\t\t\t\t{geometryLayer.set(15,i, j,k);}}}}\n\n\t\t\t\t\t\tdouble entry_radius = entry_percent * Outer_Radius;\n\t\t\t\t\t\tdouble exit_radius = exit_percent * Outer_Radius;\n\t\t\t\t\t\tdouble exit_height = 0.75 * Outer_Radius + (gridHeight/2); //75% of the height of the node\n\n\t\t\t//make general inside\n\t\t\t\t\t\tfor (int i =0; i < gridWidth; i++){\n\t\t\t\t\t\t\tfor (int j = 0; j < gridHeight; j++){\n\t\t\t\t\t\t\t\tfor (int k = 0; k < gridz; k++){\n\t\t\t\t\t\t\t\t\tGridPoint centre = new GridPoint(centreX,centreP,centreP);\n\t\t\t\t\t\t\t\t\tGridPoint otherPoint= new GridPoint(i,j,k);\n\t\t\t\t\t\t\t\t\tif (grid.getDistance(otherPoint,centre) < Inner_Radius )\n\t\t\t\t\t\t\t\t\t{geometryLayer.set(20,i, j,k);}\n\t\t\t\t\t\t\t\t}}}\n\t\t\t//make exit \n\t\t\t\t\t\tfor (int i =0; i < gridWidth; i++){\n\t\t\t\t\t\t\tfor (int j = 0; j < gridHeight; j++){\n\t\t\t\t\t\t\t\tfor (int k = 0; k < gridz; k++){\n\t\t\t\t\t\t\t\t\tGridPoint centre = new GridPoint(centreX,centreP,centreP);\n\t\t\t\t\t\t\t\t\tGridPoint otherPoint= new GridPoint(i,j,k);\n\t\t\t\t\t\t\t\t\tif (j < exit_height ){ \n\t\t\t\t\t\t\t\t\t\tif (grid.getDistance(otherPoint,centre) < Inner_Radius )\n\t\t\t\t\t\t\t\t\t\t{geometryLayer.set(18,i, j,k);}} }}}\n\n\t\t\t//make rest of entry\n\t\t\t\t\t\tfor (int i =0; i < gridWidth; i++){\n\t\t\t\t\t\t\tfor (int j = 0; j < gridHeight; j++){\n\t\t\t\t\t\t\t\tfor (int k = 0; k < gridz; k++){\n\t\t\t\t\t\t\t\t\tGridPoint centre = new GridPoint(centreX,centreP,centreP);\n\t\t\t\t\t\t\t\t\tGridPoint otherPoint= new GridPoint(i,j,k);\n\t\t\t\t\t\t\t\t\tif (grid.getDistance(otherPoint,centre) < exit_radius )\n\t\t\t\t\t\t\t\t\t{geometryLayer.set(20,i, j,k);}}}}\n\n\t\t\t//make inside\n\t\t\t\t\t\tfor (int i =0; i < gridWidth; i++){\n\t\t\t\t\t\t\tfor (int j = 0; j < gridHeight; j++){\n\t\t\t\t\t\t\t\tfor (int k = 0; k < gridz; k++){\n\t\t\t\t\t\t\t\t\tGridPoint centre = new GridPoint(centreX,centreP,centreP);\n\t\t\t\t\t\t\t\t\tGridPoint otherPoint= new GridPoint(i,j,k);\n\t\t\t\t\t\t\t\t\tif (grid.getDistance(otherPoint,centre) < entry_radius)\n\t\t\t\t\t\t\t\t\t{geometryLayer.set(24,i, j,k);}\n\t\t\t\t\t\t\t\t}}}\n\n\t\t\t// take the middle cross section and convert to a 2 D grid\n\t\t\t\t\t\tfor (int j=0; jFreePoints = new ArrayList();\n\tfor (int r =0; r < gridWidth; r++)\n\t\t{ for (int j = 0; j < gridHeight; j++)\n \t\t{for (int k = 0; k < gridz; k++)\n \t\t\t{ GridPoint centre = new GridPoint(centreX,centreP,centreP);\n \t\t\tGridPoint otherPoint= new GridPoint(r,j,k);\n \t\t\tif (grid.getDistance(otherPoint,centre) < (Constants.INNER_RADIUS - 1))\n \t\t\t\t{FreePoints.add(otherPoint);}}}}\n\t\n\t//move objects to points in the list\n\tfor (Object obj:context)\n\t\t{ SimUtilities.shuffle(FreePoints, RandomHelper.getUniform()); \n\t\t\tint index = 0;\n\t\t\tGridPoint point = FreePoints.get(index);\t\n\t\t\tgrid.moveTo (obj, (int)point.getX(),(int)point.getY(),(int)point.getZ());}\n\n\t//if want to count Cells added,\n\t\tint index3 =0;\n\t\tint index4 = 0;\n\t\tfor (Object obj:context){\n\t\t\tif (obj instanceof CognateCell)\n\t\t\t{\n\t\t\t\tif ( ((CognateCell)obj).getCD4() == true)\n\t\t\t\t{index3++;}\n\t\t\t\tif (((CognateCell)obj).getCD8() == true)\n\t\t\t\t{index4++;}\t}}\n\t\tSystem.out.println(\"CD4:CD8 \" + index3 +\" \"+index4);\n\t\t\nreturn context;\n\n}","title":""},{"docid":"6b36cb139721b16abbf6708481249022","score":"0.45829362","text":"private BuildStageTemplates() {\n }","title":""},{"docid":"0b200a47d860975892ac7216a49abafc","score":"0.45790437","text":"GoalTarget createGoalTarget();","title":""},{"docid":"ce33facc7cc8f8d5ec60a6745fae9b0a","score":"0.4578614","text":"public GraphCopyCommand(final Graph sourceGraph, final Graph targetGraph,\n\t\t\tfinal EObject container) {\n\t\tthis.sourceGraph = sourceGraph;\n\t\tthis.targetGraph = targetGraph;\n\t\tnodes = new HashMap();\n\n\t\tList mappings = new ArrayList();\n\n\t\tif (container instanceof Rule) {\n\t\t\tmappings = ((Rule) container).getMappings();\n\t\t} else if (container instanceof NestedCondition) {\n\t\t\tmappings = ((NestedCondition) container).getMappings();\n\t\t}\n\n\t\tfor (Node node : sourceGraph.getNodes()) {\n\t\t\tboolean nodeMapped = false;\n\t\t\tfor (Mapping mapping : new ArrayList(mappings)) {\n\t\t\t\tif (mapping.getOrigin() == node\n\t\t\t\t\t\t&& mapping.getImage().getGraph() == targetGraph) {\n\t\t\t\t\tnodeMapped = true;\n\t\t\t\t\t// add(new DeleteMappingCommand(mapping));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (!nodeMapped) {\n\t\t\t\tNode newNode = HenshinFactory.eINSTANCE.createNode();\n\n\t\t\t\tif (node.getName() != null) {\n\t\t\t\t\tnewNode.setName(new String(node.getName()));\n\t\t\t\t}\n\n\t\t\t\tnewNode.setType(node.getType());\n\n\t\t\t\tNodeLayout nodeLayout = HenshinLayoutUtil.INSTANCE\n\t\t\t\t\t\t.getLayout(node);\n\n\t\t\t\tint x = nodeLayout.getX();\n\t\t\t\tint y = nodeLayout.getY();\n\n\t\t\t\tNodeLayout targetLayout = null;\n\t\t\t\tCreateNodeCommand newNodeCmd = null;\n\n\t\t\t\tif (targetGraph.eContainer() instanceof NestedCondition) {\n\t\t\t\t\tnewNodeCmd = new CreateNodeCommand(targetGraph, newNode, x,\n\t\t\t\t\t\t\ty);\n\n\t\t\t\t} else if ((sourceGraph.isLhs() && targetGraph.isRhs())\n\t\t\t\t\t\t|| (!sourceGraph.isLhs() && !targetGraph.isLhs())) {\n\t\t\t\t\tnewNodeCmd = new CreateNodeCommand(targetGraph, newNode, x,\n\t\t\t\t\t\t\ty, false, false);\n\n\t\t\t\t}\n\n\t\t\t\tif (newNodeCmd != null) {\n\t\t\t\t\tadd(newNodeCmd);\n\n\t\t\t\t\ttargetLayout = newNodeCmd.getNodeLayout();\n\t\t\t\t}\n\n\t\t\t\tCreateNodeMappingCommand mapCmd = new CreateNodeMappingCommand(\n\t\t\t\t\t\tnode, newNode, container);\n\n\t\t\t\tmapCmd.setImageLayout(targetLayout);\n\t\t\t\tmapCmd.setImgGraph(targetGraph);\n\n\t\t\t\tadd(mapCmd);\n\n\t\t\t\tnodes.put(node, newNode);\n\n\t\t\t\tfor (Attribute attr : node.getAttributes()) {\n\t\t\t\t\tadd(new CreateAttributeCommand(newNode, new String(\n\t\t\t\t\t\t\tattr.getValue()), attr.getType()));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (Edge edge : sourceGraph.getEdges()) {\n\t\t\tadd(new CreateEdgeCommand(targetGraph, nodes.get(edge.getSource()),\n\t\t\t\t\tnodes.get(edge.getTarget()), edge.getType()));\n\t\t}\n\n\t}","title":""},{"docid":"67dffa8733956e50e35a8b7f8e9949a3","score":"0.45771143","text":"@Override\r\n \tprotected void processEndBatch () {\n \t\tUtil.createDirectories(manifest.getPackageRoot()+\"omegat/\");\r\n \t\tUtil.createDirectories(manifest.getPackageRoot()+\"glossary/\");\r\n \t\tUtil.createDirectories(manifest.getTempTargetDirectory());\r\n \t\tUtil.createDirectories(manifest.getTempTmDirectory());\r\n \r\n \t\t// Write the OmegaT project file\r\n \t\tcreateOmegaTProject();\r\n \t\t\r\n \t\t// Call base class method\r\n \t\tsuper.processEndBatch();\r\n \t}","title":""},{"docid":"1b3e4454ec6ceede4dfaba97e57f32ec","score":"0.45768824","text":"public void update(GameContainer gc, GameManager gm, float dt){\n\t\t\n\t\t// if the targhet hasnbt been set, set it\n\t\tif(target == null){\n\t\t\ttarget = gm.getObject(targetTag);\n\t\t}\n\t\t\n\t\t// if the target was not found, return.\n\t\tif(target == null)return;\n\t\t\n\t\t//////////////////////////////////////////////////////////////////////////////////////////////////////////\n\t\t// \t\t\t\t\t\t\t\t\tDYNAMIC CAMERA MOVEMENT\n\t\t// Camera movement speed will depend on how far the target is from the center of the screen\n\t\t// Camera will not follow player exactly, instead camera will 'lag' behind the target.\n\t\t\n\t\t// I DO NOT LIKE THIS EFFECT, IT NEEDS TO BE FIXED OR DONT USE\n\t\t\n\t\t// Determine where the camera will move towards\n\t\t//targetCameraLocationX = (target.getPosX() - target.getWidth()/2) - gc.getWidth()/2;\n\t\t//targetCameraLocationY = (target.getPosY() - target.getHeight()/2) - gc.getHeight()/2;\n\t\t\n\t\t// Determine how much the camera should move this frame\n\t\t//offX -= dt * (offX - targetCameraLocationX) * cameraSpeedConstant;\n\t\t//offY -= dt * (offY - targetCameraLocationY) * cameraSpeedConstant;\n\t\t///////////////////////////////////////////////////////////////////////////////////////////////////////////\n\t\t\n\t\t\n\t\t///////////////////////////////////////////////////////////////////////////////////////////////////////////\n\t\t//\t\t\t\t\t\t\t\t\t\t\tREGULAR CAMERA\n\t\toffX = (target.getPosX() - target.getWidth()/2) - gc.getWidth()/2; //center camera in middle of screen by subtracting half width\n\t\toffY = (target.getPosY() - target.getHeight()/2) - gc.getHeight()/2;\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t//Dont show zone outside level\n\t\tif(offX < 0){\n\t\t\toffX = 0;\n\t\t}\n\t\t\n\t\tif(offY < 0){\n\t\t\toffY = 0;\n\t\t}\n\t\t\n\t\tif(offX > (gm.getLevelWidth() * GameManager.TS) - gc.getWidth()){\n\t\t\toffX = (gm.getLevelWidth() * GameManager.TS) - gc.getWidth();\n\t\t\t//System.out.println(\"Level Width: \" + gm.getLevelWidth());\n\t\t}\n\t\t\n\t\tif(offY > (gm.getLevelHeight() * GameManager.TS) - gc.getHeight()){\n\t\t\toffY = (gm.getLevelHeight() * GameManager.TS) - gc.getHeight();\n\t\t\t//System.out.println(\"Level Width: \" + gm.getLevelWidth());\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t// Set CamX and CamY\n\t\tgc.getRenderer().setCamX((int)offX);\n\t\tgc.getRenderer().setCamY((int)offY);\n\t\t\n\t}","title":""},{"docid":"9644ce1c088233e6c74fb1bf40af90a9","score":"0.4570092","text":"object_detection.protos.FasterRcnnOuterClass.Context getContextConfig();","title":""},{"docid":"d0d2a263f384cd94ebf59ab9bf9d0714","score":"0.45685995","text":"public MachineGun(KeyPointEntity owner)\r\n\t{\r\n\t\tthis.owner = owner;\r\n\t}","title":""},{"docid":"8987eb5cb3cc2e67512fc5514d251254","score":"0.4562434","text":"@Override\n\tprotected void loadKaraokeResources() {\n\t\tLog.d(TAG, \"loadKaraokeResources: \");\n\t\tttpAmefuri1 = mTexturePackLoaderFromSource.load(\"amefuri1.xml\");\n\t\tttpAmefuri1.loadTexture();\n\t\tttpLibAmefuri1 = ttpAmefuri1.getTexturePackTextureRegionLibrary();\n\t\tttpAmefuri2 = mTexturePackLoaderFromSource.load(\"amefuri2.xml\");\n\t\tttpAmefuri2.loadTexture();\n//\t\tttpLibAmefuri2 = ttpAmefuri2.getTexturePackTextureRegionLibrary();\n\t\tttpAmefuri3 = mTexturePackLoaderFromSource.load(\"amefuri3.xml\");\n\t\tttpAmefuri3.loadTexture();\n\t\tttpLibAmefuri3 = ttpAmefuri3.getTexturePackTextureRegionLibrary();\n\t\t\n\t\tttrBackground = ttpLibAmefuri3.get(Vol3AmefuriResource.A3_04_IPHONE3G_AMEFURI_HAIKEI_ID);\n\t\tttrRBus = ttpLibAmefuri1.get(Vol3AmefuriResource.A3_06_1_IPHONE3G_E0003_BUS_ID);\n\t\t// Whell\n\t\tttrRWheel = ttpLibAmefuri1.get(Vol3AmefuriResource.A3_06_2_IPHONE3G_E0003_BUS_ID);\n\t\t\n\t\tttrRHuman = getTiledTextureFromPacker(ttpAmefuri1, \n\t\t\t\tVol3AmefuriResource.A3_12_1_IPHONE3G_HUMAN_ID,\n\t\t\t\tVol3AmefuriResource.A3_12_2_IPHONE3G_HUMAN_ID,\n\t\t\t\tVol3AmefuriResource.A3_12_3_IPHONE3G_HUMAN_ID,\n\t\t\t\tVol3AmefuriResource.A3_12_4_IPHONE3G_HUMAN_ID);\n\n\t\tttrRHuman2 = getTiledTextureFromPacker(ttpAmefuri1,\n\t\t\t\tVol3AmefuriResource.A3_16_1_IPHONE3G_HUMAN_ACTION_ID,\n\t\t\t\tVol3AmefuriResource.A3_16_2_IPHONE3G_HUMAN_ACTION_ID);\n\t\tttrRHumanBound = ttpLibAmefuri3.get(Vol3AmefuriResource.HUMAN_TEMP_ID);\n\t\tttrRCat = getTiledTextureFromPacker(ttpAmefuri1,\n\t\t\t\tVol3AmefuriResource.A3_17_1_IPHONE3G_CATS_BEFORE_ID,\n\t\t\t\tVol3AmefuriResource.A3_17_2_IPHONE3G_CATS_AFTER_ID);\n\t\t\n\t\tttrRFlog = getTiledTextureFromPacker(ttpAmefuri1, \n\t\t\t\tVol3AmefuriResource.A3_11_1_IPHONE3G_E0002_FROG_ID,\n\t\t\t\tVol3AmefuriResource.A3_11_2_IPHONE3G_E0002_FROG_ID,\n\t\t\t\tVol3AmefuriResource.A3_11_3_IPHONE3G_E0002_FROG_ID,\n\t\t\t\tVol3AmefuriResource.A3_11_4_IPHONE3G_E0002_FROG_ID);\n\t\t\n\t\tttrRain = getTiledTextureFromPacker(ttpAmefuri2, \n\t\t\t\tVol3AmefuriResource.A3_14_1_IPHONE3G_RAIN_ID,\n\t\t\t\tVol3AmefuriResource.A3_14_2_IPHONE3G_RAIN_ID,\n\t\t\t\tVol3AmefuriResource.A3_14_3_IPHONE3G_RAIN_ID,\n\t\t\t\tVol3AmefuriResource.A3_14_4_IPHONE3G_RAIN_ID);\n\t}","title":""},{"docid":"ef40053701d49ca9b7019394194af0d2","score":"0.45568517","text":"public Pikeman(Pane layer, Castle src, Castle target)\r\n\t{\r\n\t\tsuper(layer, Settings.COST_PRODUCTION_PIKEMAN, Settings.TIME_COST_PIKEMAN, \r\n\t\t\t\tSettings.SPEED_PIKEMAN, Settings.HEALTH_PIKEMAN, Settings.DAMMAGES_PIKEMAN, src, target);\r\n\t\tr.setFill(Color.RED);\r\n\t}","title":""},{"docid":"2c344791dc68729e286c26fac8a283ff","score":"0.4544706","text":"@Test\n public void build_default() throws Exception {\n OBOSession oboSession = OboUtils.createOBOSession( CvObjectOntologyBuilderTest.class.getResource(\"/ontologies/psi-mi25-1_51.obo\" ));\n log.debug( oboSession.getObjects().size() );\n\n CvObjectOntologyBuilder ontologyBuilder = new CvObjectOntologyBuilder( oboSession );\n Assert.assertEquals( 16, ontologyBuilder.getRootOBOObjects().size() );\n\n int allOrphanCvs = ontologyBuilder.getOrphanCvObjects().size();\n Assert.assertEquals( 54, allOrphanCvs );\n\n List allCvs = ontologyBuilder.getAllCvs();\n int allCvsSize = allCvs.size();\n Assert.assertEquals( 987, allCvsSize );\n\n List orderedList = ontologyBuilder.getAllOrderedCvs( allCvs );\n Assert.assertEquals( 987, orderedList.size() );\n\n for ( CvDagObject cvdag : orderedList ) {\n log.debug( \"CvDag: \\t\" + cvdag.getMiIdentifier() + \"\\t\" + cvdag.getObjClass() + \"\\t\" + cvdag.getShortLabel() );\n }\n\n\n if ( log.isDebugEnabled() )\n log.debug( \"ontologyBuilder.getAllCvsAsList().size() \" + ontologyBuilder.getAllCvs().size() );\n Assert.assertEquals(\"CvInteraction\", ontologyBuilder.findCvClassforMI( \"MI:0439\" ).getSimpleName());\n Assert.assertEquals(\"CvDatabase\", ontologyBuilder.findCvClassforMI( \"MI:0244\" ).getSimpleName() );//non-root object\n Assert.assertEquals(\"CvFeatureIdentification\", ontologyBuilder.findCvClassforMI( \"MI:0003\" ).getSimpleName() );//root object\n\n //an example term with 3 Aliases and 2 xrefs, a database xref and identity xref\n /**\n * [Term]\n id: MI:0439\n name: random spore analysis\n def: \"A technique used to detect genetic interactions between 2 (or more) genes in a sporulating organism by scoring a large population of haploid spores for a phenotype and correlating the phenotype with the presence of single vs double (multiple) mutations. A diploid heterozygous organism harbouring mutations in two (or more) genes is induced to sporulate. Resulting spores are meiotic segregants that are haploid and are either wild type or mutant at each locus. Spores are scored for a phenotype, such as loss of viability.\" [PMID:14755292]\n subset: PSI-MI slim\n synonym: \"random-spore analysis\" EXACT PSI-MI-alternate []\n synonym: \"RSA\" EXACT PSI-MI-alternate []\n synonym: \"rsa\" EXACT PSI-MI-short []\n synonym: \"spore germination\" EXACT PSI-MI-alternate []\n is_a: MI:0254 ! genetic interference\n\n */\n OBOObject testObj = ( OBOObject ) oboSession.getObject( \"MI:0439\" );\n CvObject cvObject = ontologyBuilder.toCvObject( testObj );\n Assert.assertEquals( \"random spore analysis\", cvObject.getFullName() );\n Assert.assertEquals( \"MI:0439\", CvObjectUtils.getIdentity( cvObject ) );\n Assert.assertEquals( \"MI:0439\", cvObject.getMiIdentifier() );\n Assert.assertEquals( \"rsa\", cvObject.getShortLabel() );\n Assert.assertEquals( 3, cvObject.getAliases().size() );\n Assert.assertEquals( 2, cvObject.getXrefs().size() );\n Assert.assertTrue( CvObjectUtils.hasIdentity( cvObject, \"MI:0439\" ) );\n\n //Obsolote Term test MI:0443\n OBOObject testObsoleteObj = ( OBOObject ) oboSession.getObject( \"MI:0443\" );\n Assert.assertEquals( true, testObsoleteObj.isObsolete() );\n\n //947+1=948 root object MI:0000\n Assert.assertEquals( 957, ontologyBuilder.getAllMIOBOObjects().size() );\n Assert.assertEquals( 54, ontologyBuilder.getObsoleteOBOObjects().size() );\n Assert.assertEquals( 54, ontologyBuilder.getOrphanOBOObjects().size() );\n Assert.assertEquals( 11, ontologyBuilder.getInvalidOBOObjects().size() );\n //957+11+1=959\n Assert.assertEquals( 969, ontologyBuilder.getAllOBOObjects().size() );\n\n OBOObject endogenousObj = ( OBOObject ) oboSession.getObject( \"MI:0222\" );\n CvObject endogenousCvObject = ontologyBuilder.toCvObject( endogenousObj );\n testCvObject( endogenousCvObject );\n\n OBOObject rnaCleavage = ( OBOObject ) oboSession.getObject( \"MI:0902\" );\n CvObject rnaCleavageCv = ontologyBuilder.toCvObject( rnaCleavage );\n testCvObject( rnaCleavageCv );\n\n\n OBOObject obsoleteTerm = ( OBOObject ) oboSession.getObject( \"MI:0021\" );\n CvObject obsoleteCv = ontologyBuilder.toCvObject( obsoleteTerm );\n testCvObject( obsoleteCv );\n\n OBOObject defTerm = ( OBOObject ) oboSession.getObject( \"MI:0409\" );\n CvObject longDefCv = ontologyBuilder.toCvObject( defTerm );\n testCvObject( longDefCv );\n\n //OBOObject testObj = (OBOObject)oboSession.getObject(\"MI:0001\");//root Cv interaction detection method\n //OBOObject testObj = (OBOObject)oboSession.getObject(\"MI:0012\");\n //OBOObject testObj = (OBOObject)oboSession.getObject(\"MI:0192\");//with GO\n //OBOObject testObj = (OBOObject)oboSession.getObject(\"MI:0122\");//with unique resid\n //OBOObject testObj = (OBOObject)oboSession.getObject(\"MI:0460\"); //def with url\n //OBOObject testObj = (OBOObject)oboSession.getObject(\"MI:0021\"); //def with OBSOLETE\n //OBOObject testObj = (OBOObject)oboSession.getObject(\"MI:2002\"); //example with pubmed\n //OBOObject testObj = (OBOObject)oboSession.getObject(\"MI:0108\"); //example with comment subset PSI-MI slim\n //OBOObject testObj = (OBOObject)oboSession.getObject(\"MI:2120\"); //example with comment subset Drugable\n //OBOObject testObj = (OBOObject)oboSession.getObject(\"MI:0031\"); //example with alias\n //OBOObject testObj = (OBOObject)oboSession.getObject(\"MI:0244\"); //example with 4 annotations + search-url\n\n\n }","title":""},{"docid":"0a5839884e38d1ebd9d81a098664e102","score":"0.4543646","text":"public TCaseBuilder()\n {\n start();\n }","title":""},{"docid":"30faf8e442606e3e443afce71d3dfb5e","score":"0.45364398","text":"public SinglePlayEnvironment(String nnetPath, Random random, int testLevelID) {\n // Screen width and height\n this.width = 800;\t//Gdx.graphics.getWidth();\n this.height = 1216;\t//Gdx.graphics.getHeight();\n //Gdx.graphics.setDisplayMode((int)width, (int)height, false);\n\n // The test level to display\n String levelPath = TrainingParams.TileMapsPath + \"TestLevel\" + testLevelID + \".tmx\";\n\n // Setup camera\n this.Camera = new OrthographicCamera();\n this.Camera.setToOrtho(false, width, height);\n this.Camera.update();\n\n // Setup map asset\n this.TiledMap = new TmxMapLoader().load(levelPath);\n this.TiledMapRenderer = new OrthogonalTiledMapRenderer(this.TiledMap);\n\n // Setup input (motion grabbing) processing\n Gdx.input.setInputProcessor(this);\n\n // Setup Rendering Objects\n this.MapNodeSR = new ShapeRenderer();\n this.SpriteBatchRenderer = new SpriteBatch();\n this.LineRenderer = new ShapeRenderer();\n \n // Setup Trackers\n this.BulletTracker = Collections.newSetFromMap(new ConcurrentHashMap());\n this.trainees = Collections.newSetFromMap(new ConcurrentHashMap());\n this.shooters = Collections.newSetFromMap(new ConcurrentHashMap());\n \n // Generate TileMap Objects\n this.TraverseNodes = new ConcurrentHashMap();\n this.TileNodeGraph = createGraphFromTileMap(this.TraverseNodes, (TiledMapTileLayer) this.TiledMap.getLayers().get(1));\n \n // Add a Training Shooter\n this.shooters.add(new TrainingShooter(190, 630, this.trainees, this.shooters, this.BulletTracker, random));\n this.shooters.add(new TrainingShooter(540, 700, this.trainees, this.shooters, this.BulletTracker, random));\n this.shooters.add(new TrainingShooter(510, 90, this.trainees, this.shooters, this.BulletTracker, random));\n this.shooters.add(new TrainingShooter( 65, 1090, this.trainees, this.shooters, this.BulletTracker, random));\n this.shooters.add(new TrainingShooter(740, 1090, this.trainees, this.shooters, this.BulletTracker, random));\n this.shooters.add(new TrainingShooter(410, 960, this.trainees, this.shooters, this.BulletTracker, random));\n \n int startX = 16;\n int startY = 16;\n \n switch(testLevelID) {\n case 1:\n \tstartX = 16;\n startY = 16;\n break;\n case 2:\n \tstartX = 784;\n startY = 16;\n break;\n case 3:\n \tstartX = 784;\n startY = 1200;\n break;\n case 4:\n \tstartX = 16;\n startY = 1200;\n break;\n case 5:\n \tstartX = 16;\n startY = 16;\n break;\n }\n \n // Add the Trainee\n if( NNET ) { \n \tthis.trainees.add(new TrainingAgent(testLevelID, NeuralNetwork.createFromFile(nnetPath), startX, startY,\n this.TraverseNodes, random, this.TiledMap, this.trainees, this.shooters, this.BulletTracker));\n }\n \n if( PUPPET ) {\n \tthis.puppet = new PuppetAgent(this.TiledMap, this.TraverseNodes, new TileAStarPathFinder(), startX, startY, this.BulletTracker, this.shooters);\n }\n }","title":""},{"docid":"6f9453575c664e3f2f2ee72768384aee","score":"0.45312124","text":"public TartGP() {}","title":""},{"docid":"c88ab6b53ebc9e65636a4fdb7becda68","score":"0.45305997","text":"@Test\n public void testPutContainer() {\n System.out.println(\"putContainer\");\n Controller instance = new Controller(new WindowTest());\n instance.Start();\n \n AGV agv = instance.buffers.get(0).ownedAGV.get(0);\n Crane bufferCrane = instance.buffers.get(0).crane;\n try {\n instance.putContainer(agv, bufferCrane);\n } catch (Exception e){\n \n }\n \n assertEquals(true,true);\n // TODO review the generated test code and remove the default call to fail.\n \n }","title":""},{"docid":"ee5f7edf53964f7631e6226690a1dc63","score":"0.45176694","text":"public interface Producer {\n\n public static final int DEFAULT = 0;\n public static final int SKIP_DUPLICATE_TEST = 1;\n // Producer delivers from Path of from Provenance Graph\n public static final int EXTENSION = 2;\n\t\n\t/**\n\t * KGRAM calls this method before executing a query.\n\t * It enables to initialize the Producer\n\t * \n\t */\n\tdefault void init(Query q) {};\n\tdefault void start(Query q) {};\n\tdefault void finish(Query q) {};\n\t\n\t/**\n\t * A hook to tune Producer\n\t */\n\tvoid setMode(int n);\n \n public int getMode();\n\t\n\t\n\t/**\n\t * Return all graph nodes that are known by the Producer.\n\t * Should return graph nodes that are member of from (if any).\n\t * \n\t * @param gNode The graph query node \n\t * @param from The from named node list (may be empty)\n\t * @param env The binding environment\n\t * @return graph nodes\n\t */\n\tIterable getGraphNodes(Node gNode, List from, Environment env);\n\t\n\t/**\n\t * Check whether a node is a graph node and if yes, check it is member of from (if any)\n\t * @param gNode The graph query node \n\t * @param from The from named node list (may be empty)\n\t * @param env The binding environment\n\t * @return true if the node is a graph node\n\t */\n\tboolean isGraphNode(Node gNode, List from, Environment env);\n\t\n\t/**\n\t * Return candidate edges that match a query edge. Matcher checks conformity afterwards.\n\t * If there is a gNode\n\t * If it is bound in environment, should return edges from the same graph as gNode value.\n\t * Otherwise if there is a from, should return edges whose graph is in from.\n\t * If there is no gNode, if there is a from, should return edges whose graph is in from. \n\t * Should return edges whose nodes conform to current bindings in environment, nevertheless bindings are checked afterwards in KGRAM.\n\t * \n\t * @param gNode The query graph node if any\n\t * @param from The from named if gNode is not null, otherwise the from (from may be empty)\n\t * @param qEdge The query edge\n\t * @param env The current mapping : query node -> target node\n\t * @return Candidate edge iterator\n\t */\n\tIterable getEdges(Node gNode, List from, Edge qEdge, Environment env);\n \n Mappings getMappings(Node gNode, List from, Exp exp, Environment env);\n\n\t\n\t\n\t/**\n\t * Same as candidate() for edges\n\t * @param gNode\n\t * @param from\n\t * @param qNode\n\t * @param env\n\t * @return\n\t */\n\tIterable getNodes(Node gNode, List from, Node qNode, Environment env);\n\n\t\n\t\n\t/**************** PATH **************/\n\t\n\t\n\t/**\n\t * Start the processing of a path instruction with qEdge as pseudo query edge.\n\t * index is the index of the node in qEdge where to start path.\n\t * It is the index of the node that we want to enumerate in getNodes()\n\t * \n\t * @param qEdge\n\t * @param index\n\t */\n\tvoid initPath(Edge qEdge, int index);\n\t\n\t\n\t/**\n\t * Return nodes for Zero length path \n\t * \n\t * @param gNode The graph node where to get nodes (may be null)\n\t * @param from from or from named, may be empty\n\t * @param qEdge Pseudo query edge for path\n\t * @param env The binding environment\n\t * @param exp either property name or a ! (pname | pname) or null\n\t * @param index of the node to return\n\t * @return Iterable of start nodes for exp\n\t * \n\t * SPARQL 1.1 requires:\n\t * ZeroLengthPath match all nodes of (current) graph, including Literals\n\t * If the argument is a constant, it matches even if it is not a node of the graph\n\t * \n\t */\n\t\n\tIterable getNodes(Node gNode, List from, Edge qEdge, Environment env, \n\t\t\tList exp, int index);\n\t\n\t\n\t/**\n\t * Return candidate edges for a path step for an elementary regex exp.\n\t * Edge start at start Node, start is the node at index.\n\t * Hence start can be edge.getNode(0) as well as edge.getNode(1)\n\t * \n\t * isInverse = true means consider also target edge nodes in reverse order\n\t * query: start = Bob ; ?a ^foaf:knows ?b\n\t * target: Jack foaf:knows Bob\n\t * return edge above because we consider also Bob foaf:knows Jack\n\t * This is orthogonal to index = 1, in which case we also consider nodes in inverse order\n\t * \n\t * @param gNode The start node of edges\n\t * @param from from or from named, may be empty\n\t * @param qEdge Pseudo query edge for path\n\t * @param env The binding environment\n\t * @param exp either property name or a ! (pname | pname)\n\t * @param src current source if any\n\t * @param start The start node for current edge\n\t * @param index of the start node in edge\n\t * exp.isInverse() authorize to consider nodes in reverse order (as if the symmetric relation would exist)\n\t * @return Iterable of start nodes for exp\n\t */\n\tIterable getEdges(Node gNode, List from, Edge qEdge, Environment env, \n\t\t\tRegex exp, Node src, Node start, int index);\n\t\n\t\n\t\n\t/**************** value to node **************/\n\t\n\t\n\t/**\n\t * Given a value from the filter language, return a Node that contains this value\n\t * use case: select fun(?x) as ?y\n\t * \n\t * @param value a target value from the filter language\n\t */\n\tNode getNode(Object value);\n \n // cast java value into IDatatype value\n Object getValue(Object value);\n \n // DatatypeValue from IDatatype or from Java value\n DatatypeValue getDatatypeValue(Object value);\n \t\n\t/**\n\t * use case: filter (?x = ?y) filter(?x = 'cst')\n\t * is it possible to bind ?x to the argument to optimize query processing ?\n\t * node is the argument \n\t */\n\tboolean isBindable(Node node);\n\t\n\t\n\t/**\n\t * Given a value from the filter language, return a list of Node that represent this value\n\t * use case: select (xpath('/book/title') ?as list) \n\t * \n\t * @param value\n\t * @return List\n\t */\n\tList toNodeList(Object value);\n\t\n\t\n\t/**\n\t * Given an object resulting from the evaluation of an extension function, return Mappings\n\t * that represents the values\n\t * use case: select (sql('select fom where') as (?x, ?y))\n\t * in case of sql, the object is a java.sql.ResultSet\n\t * \n\t * @param qNodes the query nodes to bind with values of object\n\t * @param object\n\t * @return Mappings\n\t */\n\tMappings map(List qNodes, Object object);\n\n /**\n * graph node { }\n * Node node represents (contains) a graph \n */\n boolean isProducer(Node node);\n\n Producer getProducer(Node node, Environment env);\n \n // use case: Producer created for a specific query\n Query getQuery();\n\t\n // May return an object that implement the RDF graph\n Object getGraph();\n \n void setGraphNode(Node n);\n \n Node getGraphNode();\n \n Entity copy(Entity ent);\n\n\t void close();\n}","title":""},{"docid":"85ec20add82b940135b1a80283b607ff","score":"0.45173445","text":"public void TransformBy ( Transformation rkTransform,\r\n BoundingVolume pkResult)\r\n {\r\n Sphere3f rkTarget = ((SphereBV)pkResult).m_kSphere;\r\n rkTarget.Center = rkTransform.ApplyForward(m_kSphere.Center);\r\n rkTarget.Radius = rkTransform.GetNorm()*m_kSphere.Radius;\r\n }","title":""},{"docid":"60e1818fe132ae7e742a121cf10b38cf","score":"0.45151228","text":"private Task createTransportLeg(Task task, NewWorkflow wf, TransportTuple tt)\n {\n NewTask subtask = theLDMF.newTask();\n Vector prepphrases = new Vector();\n //Enumeration origpp = task.getPrepositionalPhrases();\n //while (origpp.hasMoreElements()) {\n // PrepositionalPhrase pp = (PrepositionalPhrase)origpp.nextElement();\n // if ((pp.getPreposition().equals(Constants.Preposition.FOR)) && \n // (pp.getIndirectObject() instanceof Asset) ) {\t\n // prepphrases.addElement(pp);\n // }\n // }\n NewPrepositionalPhrase newpp = theLDMF.newPrepositionalPhrase();\n newpp.setPreposition(Constants.Preposition.OFTYPE);\n AbstractAsset transasset = null;\n try {\n Asset trans_proto = theLDMF.createPrototype(Class.forName(\"org.cougaar.planning.ldm.asset.AbstractAsset\"),\n \"StrategicTransportation\");\n transasset = (AbstractAsset)theLDMF.createInstance(trans_proto);\n } catch (Exception e) {\n e.printStackTrace();\n }\n newpp.setIndirectObject(transasset);\n prepphrases.addElement(newpp);\n \n NewPrepositionalPhrase frompp = theLDMF.newPrepositionalPhrase();\n frompp.setPreposition(Constants.Preposition.FROM);\n frompp.setIndirectObject(tt.getFrom());\n prepphrases.addElement(frompp);\n \n NewPrepositionalPhrase topp = theLDMF.newPrepositionalPhrase();\n topp.setPreposition(Constants.Preposition.TO);\n topp.setIndirectObject(tt.getTo());\n prepphrases.addElement(topp);\n \n subtask.setParentTask(task);\n subtask.setDirectObject(task.getDirectObject());\n subtask.setPrepositionalPhrases(prepphrases.elements());\n subtask.setVerb(task.getVerb());\n subtask.setPlan(task.getPlan());\n \n Vector prefs = new Vector();\n AspectValue startAV = AspectValue.newAspectValue(AspectType.START_TIME, tt.getStartTime().getTime());\n ScoringFunction startSF = ScoringFunction.createPreferredAtValue(startAV, 2);\n Preference startPref = theLDMF.newPreference(AspectType.START_TIME, startSF);\n prefs.addElement(startPref);\n\n AspectValue endAV = AspectValue.newAspectValue(AspectType.END_TIME, tt.getEndTime().getTime());\n ScoringFunction endSF = ScoringFunction.createPreferredAtValue(endAV, 2);\n Preference endPref = theLDMF.newPreference(AspectType.END_TIME, endSF);\n prefs.addElement(endPref);\n \n subtask.setPreferences(prefs.elements());\n subtask.setSource(getMessageAddress());\n wf.addTask(subtask);\n subtask.setWorkflow(wf);\n publishAdd(subtask);\n \n return subtask;\n }","title":""},{"docid":"dc11f29ab80e0ee4ecc6732e387f7243","score":"0.45090353","text":"public final void f() {\n /*\n r7 = this;\n T extends com.my.target.mediation.MediationAdapter r0 = r7.e\n r1 = 0\n java.lang.String r2 = \"MediationEngine error: \"\n if (r0 == 0) goto L_0x0015\n r0.destroy() // Catch:{ all -> 0x000b }\n goto L_0x0013\n L_0x000b:\n r0 = move-exception\n java.lang.StringBuilder r3 = a2.b.a.a.a.L(r2)\n a2.b.a.a.a.r1(r0, r3)\n L_0x0013:\n r7.e = r1\n L_0x0015:\n android.content.Context r0 = r7.g()\n if (r0 != 0) goto L_0x0021\n java.lang.String r0 = \"MediationEngine: can't configure next ad network, context is null\"\n com.my.target.ae.b(r0)\n return\n L_0x0021:\n com.my.target.cl r3 = r7.a\n com.my.target.cm r3 = r3.bK()\n if (r3 != 0) goto L_0x0032\n java.lang.String r0 = \"MediationEngine: no ad networks available\"\n com.my.target.ae.a(r0)\n r7.e()\n return\n L_0x0032:\n java.lang.String r4 = \"MediationEngine: prepare adapter for \"\n java.lang.StringBuilder r4 = a2.b.a.a.a.L(r4)\n java.lang.String r5 = r3.getName()\n r4.append(r5)\n java.lang.String r5 = \" ad network\"\n r4.append(r5)\n java.lang.String r4 = r4.toString()\n com.my.target.ae.a(r4)\n java.lang.String r4 = r3.getName()\n java.lang.String r5 = \"myTarget\"\n boolean r4 = r5.equals(r4)\n if (r4 == 0) goto L_0x005c\n com.my.target.mediation.MediationAdapter r1 = r7.d()\n goto L_0x007d\n L_0x005c:\n java.lang.String r4 = r3.bM()\n java.lang.Class r4 = java.lang.Class.forName(r4) // Catch:{ all -> 0x0075 }\n r5 = 0\n java.lang.Class[] r6 = new java.lang.Class[r5] // Catch:{ all -> 0x0075 }\n java.lang.reflect.Constructor r4 = r4.getConstructor(r6) // Catch:{ all -> 0x0075 }\n java.lang.Object[] r5 = new java.lang.Object[r5] // Catch:{ all -> 0x0075 }\n java.lang.Object r4 = r4.newInstance(r5) // Catch:{ all -> 0x0075 }\n com.my.target.mediation.MediationAdapter r4 = (com.my.target.mediation.MediationAdapter) r4 // Catch:{ all -> 0x0075 }\n r1 = r4\n goto L_0x007d\n L_0x0075:\n r4 = move-exception\n java.lang.StringBuilder r2 = a2.b.a.a.a.L(r2)\n a2.b.a.a.a.r1(r4, r2)\n L_0x007d:\n r7.e = r1\n if (r1 == 0) goto L_0x00b7\n boolean r1 = r7.c(r1)\n if (r1 == 0) goto L_0x00b7\n java.lang.String r1 = \"MediationEngine: adapter created\"\n com.my.target.ae.a(r1)\n com.my.target.az$b r1 = new com.my.target.az$b\n r1.(r3)\n r7.d = r1\n int r1 = r3.getTimeout()\n if (r1 <= 0) goto L_0x00a4\n com.my.target.ik r1 = com.my.target.ik.J(r1)\n r7.c = r1\n com.my.target.az$b r2 = r7.d\n r1.d(r2)\n L_0x00a4:\n com.my.target.cz r1 = r3.getStatHolder()\n java.lang.String r2 = \"networkRequested\"\n java.util.ArrayList r1 = r1.K(r2)\n com.my.target.im.a(r1, r0)\n T extends com.my.target.mediation.MediationAdapter r1 = r7.e\n r7.b(r1, r3, r0)\n goto L_0x00d3\n L_0x00b7:\n java.lang.String r0 = \"MediationEngine: can't create adapter, class \"\n java.lang.StringBuilder r0 = a2.b.a.a.a.L(r0)\n java.lang.String r1 = r3.bM()\n r0.append(r1)\n java.lang.String r1 = \" not found or invalid\"\n r0.append(r1)\n java.lang.String r0 = r0.toString()\n com.my.target.ae.b(r0)\n r7.f()\n L_0x00d3:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.my.target.az.f():void\");\n }","title":""},{"docid":"6b859a74cc959810b2caea053cd4a807","score":"0.4507441","text":"PlanDefinitionTarget createPlanDefinitionTarget();","title":""},{"docid":"0f1975e56ae598363bf92a544984f371","score":"0.45069724","text":"private void initFabricMaps(){\n\n //Set fabric map nodeId-id\n List lFabricMap = new ArrayList();\n FabricMapBuilder fmb = new FabricMapBuilder();\n\n // circle the hash table\n Iterator> iter = this.nodeIdMapTag.entrySet().iterator();\n while (iter.hasNext()) {\n Map.Entry entry = (Map.Entry) iter.next();\n FabricMap fm = fmb.setId(entry.getValue())\n .setNodeId(entry.getKey())\n .build();\n lFabricMap.add(fm);\n }\n FabricMaps maps = new FabricMapsBuilder().setFabricMap(lFabricMap).build();\n\n // submit to Operational Data Store!\n DataModificationTransaction it = this.dataBrokerService.beginTransaction();\n InstanceIdentifier dataRef = InstanceIdentifier.builder(FabricMaps.class).toInstance();\n it.putOperationalData(dataRef, maps);\n it.commit();\n\n // return\n return;\n }","title":""},{"docid":"7fcbe4e54b71b4f7767a23593df10c17","score":"0.45061353","text":"object_detection.protos.AnchorGeneratorOuterClass.AnchorGenerator getFirstStageAnchorGenerator();","title":""},{"docid":"684a2e935aa45415c594a3d909119f3b","score":"0.4501258","text":"private void initFabricFlows(){\n HashSet ids = new HashSet(this.tagMapNodeId.keySet());\n\n // create multi-thread to creat each node to others' path\n // install each path into the switch\n for(Long srcId : ids){\n new Thread(new InstallFabric(srcId,tagMapNodeId,flowWriterService,linksInSrcDst)).start();\n }\n\n return;\n }","title":""},{"docid":"dacad3f6cd2104426bc9010e4dd3b470","score":"0.45012346","text":"public void run() {\n\t\tint sampleIndex = this.sortedIndices[sortedIndices.length-1] + 1;\r\n\t\tthis.source = new ImagePlus( \"sample\", alignedStack.getStack().getProcessor(sampleIndex).convertToByte(true) );\r\n\t\tImageConverter.setDoScaling(true);\r\n\t\tImageConverter ic = new ImageConverter( alignedStack );\r\n\t\tic.convertToGray8();\r\n\t\t// Output stack\r\n\t\tint nChannels = 2;\r\n int nSlices = alignedStack.getStack().getSize();\r\n int nFrames = 1;\r\n //ImagePlus impMerged = IJ.createHyperStack( \"merged\", this.source.getWidth(), this.source.getHeight(), nChannels, nSlices, nFrames, this.source.getBitDepth() );\r\n\r\n\t\t//for ( int refIndex = nReferenceImages - param.CONGEALING_NREFERENCES; refIndex <= nReferenceImages; refIndex++ ) {\r\n\t\tfor ( int refIndex = 1; refIndex <= nReferenceImages; refIndex++ ) {\r\n\t\t\tTransformation transfo = registerOne( sampleId, idMap.getKey(refIndex) );\r\n\t\t\ttransfosElastic.put( idMap.getKey(refIndex), transfo );\r\n\t\t\t//ImagePlus reg = transfo.getInverseResults();\r\n\t\t\t//impMerged.getImageStack().setProcessor( LibImage.convertSimilar( reg.getStack().getProcessor(1), this.target.getProcessor()) , 2 * refIndex );\r\n\t\t\t//impMerged.getImageStack().setProcessor( this.source.getProcessor() , 2 * refIndex - 1 );\r\n\t\t}\r\n\r\n\t\t//CompositeImage impComp = new CompositeImage( impMerged, CompositeImage.COMPOSITE );\r\n\t\t//impComp.show();\r\n\r\n\t\t//int refIndex = this.stackProps.get( refId ).index;\r\n\t\t//this.source.show();\r\n\t\t//this.target.show();\r\n\t}","title":""},{"docid":"57c76f363910bf3e891fcee1a4736fb2","score":"0.45002943","text":"@Test\n public void testConstructor() {\n OtmModelManager mgr = TestOtmModelManager.build();\n OtmLibrary lib = TestLibrary.buildOtm( mgr );\n // OtmLibrary lib = mgr.add( new TLLibrary() );\n spriteMgr = TestSpriteManager.buildSpriteManager();\n gc = spriteMgr.getSettingsManager().getGc();\n\n OtmBusinessObject bo = TestBusiness.buildOtm( lib, \"Bo1\" );\n OtmContextualFacet cfC = TestCustomFacet.buildOtm( bo, \"CF1\" );\n OtmContextualFacet cfE = TestCustomFacet.buildOtm( bo, \"CF2\" );\n OtmAttribute attr = TestOtmPropertiesBase.buildAttribute( cfE );\n assertTrue( attr != null );\n attr.setName( \"thisisareallyreallyreallylongnametoassureexpandedwidthiswiderthancollapsed\" );\n\n cfC.setExpanded( false );\n cfE.setExpanded( true );\n\n // 157 x 28\n csC = new ContextualFacetSprite( cfC, spriteMgr );\n assertTrue( \"Must have had size set.\", csC.getBoundaries() != null );\n assertTrue( \"Must have width.\", csC.getWidth() > 0 );\n assertTrue( \"Must have height.\", csC.getHeight() > 0 );\n\n // 567 x 116\n csE = new ContextualFacetSprite( cfE, spriteMgr );\n assertTrue( \"Must have had size set.\", csE.getBoundaries() != null );\n assertTrue( \"Must have width.\", csE.getWidth() > csC.getWidth() );\n assertTrue( \"Must have height.\", csE.getHeight() > csC.getHeight() );\n }","title":""},{"docid":"1d67ff87010a8aefbbdc276dd64ea9a6","score":"0.45002273","text":"public StorageTargetSpaceAllocation() {\n }","title":""},{"docid":"2ac3da1f6b0e87946151c46725456589","score":"0.44964144","text":"public Marker(T aTarget)\n {\n _target = aTarget;\n setRect(2, 0, 9, 5);\n }","title":""},{"docid":"4e5ddf09271060b57f9c1ca0186cd913","score":"0.44886574","text":"static KawtToolkit init () {\n\n\t//System.out.println (\"ti0\");\n\n\tRuntime.getRuntime ().gc (); // dont ask why this is neccessary...\n\n\t//System.out.println (\"ti1\");\n\n\tString laf = classbase+\".LafImpl\";\n\n\ttry { \n\t Class.forName(\"com.sun.midp.palm.Info\"); \n\t laf = \"de.kawt.impl.kjava.LafImpl\";\n\t}\n\tcatch (Throwable x) {}\n\n\ttry {\n\t Laf.laf = (Laf) Class.forName (laf).newInstance ();\n\t}\n\tcatch (Exception e) {\n\t Laf.laf = new Laf ();\n\t}\n\n\t//System.out.println (\"*** ti2/cb: \"+classbase);\n\n try {\n\t //System.out.println (\"*** ti3\");\n graphicsImpl = Class.forName (classbase+\".GraphicsImpl\");\n\t //System.out.println (\"*** ti4\");\n return (KawtToolkit) Class.forName \n\t\t(classbase+\".ToolkitImpl\").newInstance ();\n }\n catch (Exception e) {\n\t //System.out.println (\"*** ti5: \"+e);\n throw new RuntimeException (\"kawt init failure: \"+e.toString ());\n }\n }","title":""},{"docid":"b95afd3dde7d533c59aef00bb22b49be","score":"0.44860637","text":"private Collection findTargetNodes(InjectorTarget injectorTarget, List injectionPoints) {\n/* 217 */ MethodNode method = injectorTarget.getMethod();\n/* 218 */ Map targetNodes = new TreeMap();\n/* 219 */ Collection nodes = new ArrayList(32);\n/* */ \n/* 221 */ for (InjectionPoint injectionPoint : injectionPoints) {\n/* 222 */ nodes.clear();\n/* */ \n/* 224 */ if (findTargetNodes(method, injectionPoint, injectorTarget.getSlice(injectionPoint), nodes)) {\n/* 225 */ for (AbstractInsnNode insn : nodes) {\n/* 226 */ Integer key = Integer.valueOf(method.instructions.indexOf(insn));\n/* 227 */ TargetNode targetNode = targetNodes.get(key);\n/* 228 */ if (targetNode == null) {\n/* 229 */ targetNode = new TargetNode(insn);\n/* 230 */ targetNodes.put(key, targetNode);\n/* */ } \n/* 232 */ targetNode.nominators.add(injectionPoint);\n/* */ } \n/* */ }\n/* */ } \n/* */ \n/* 237 */ return targetNodes.values();\n/* */ }","title":""},{"docid":"5ffdb173de7cc980bf7ca7bc3de80f73","score":"0.4478136","text":"public DnnTransform(Lop input, OpOpDnn op, DataType dt, ValueType vt, ExecType et, int k, double intermediateMemBudget) {\n\t\tsuper(Lop.Type.Transform, dt, vt);\n\t\tinit(input, op, dt, vt, et);\n\t\tnumThreads = k;\n\t\tthis.intermediateMemBudget = intermediateMemBudget;\n\t}","title":""},{"docid":"8e4a2eb24ea69db05eca048f3b6cbf38","score":"0.44713697","text":"private TensorBuffer createEmbedding(Bitmap style) {\n TensorImage styleImage = TensorImage.fromBitmap(style);\n MagentaArbitraryImageStylizationV1256Int8Prediction1.Outputs outputs = embedder.process(styleImage);\n\n return outputs.getStyleBottleneckAsTensorBuffer();\n }","title":""},{"docid":"56b78139efe38b8f2259bd9de8a41a9f","score":"0.44703373","text":"private GEngine(){\r\n\t\tGdx.app.log(\"GEngine\", \"Running constructor\");\r\n\t\t\r\n\t\tbatch = Main.getInstance().batch;\r\n\t\tcamera = new OrthographicCamera();\r\n\t\tcamera.setToOrtho(true);\r\n\t\t\r\n\t\tuiCamera = new OrthographicCamera();\r\n\t\tuiCamera.setToOrtho(false);\r\n\t\t\r\n\t\tuserInterface = new GameUI(uiCamera);\r\n\t\t\r\n\t\tinputHandler = new InputHandler();\r\n\t\tactionHandler = new ActionHandler();\r\n\t\thighlighter = new Highlighter(this);\r\n\t\t\r\n\t\tgUnits = new HashMap();\r\n\t\tgBuildings = new HashMap();\r\n\t\tdecideSmoothLines();\r\n\t\t\r\n\t\tcameraController = new CameraController(camera);\r\n\t\tMain.getInstance().gestureMultiplexer.addProcessor(cameraController);\r\n\t\tMain.getInstance().addProcessor(cameraController);\r\n\t}","title":""},{"docid":"9f9fa14995e8ada03757f6849a432c1d","score":"0.44636902","text":"protected ATPGenericPhase() {}","title":""},{"docid":"b1d1f000badf53268c2485b3ad8db9f1","score":"0.44634688","text":"java.util.HashMap getTargetMap() { return targetMap; }","title":""},{"docid":"e8998b9a85100e736ccd43a07b60d86f","score":"0.44628966","text":"private ITreeAutomatonBU buildEmptyLanguageTree() {\r\n\t\treturn new TreeAutomatonBU<>();\r\n\t}","title":""},{"docid":"826e2d58afdc529858a6e7658c219c20","score":"0.44541216","text":"private TGDGeneratorsMap getGeneratorsMap(FORule tgd, MappingTask mappingTask) {\n\t\tTGDGeneratorsMap custom = new GenerateValueGenerators().generateValueGenerators(tgd, mappingTask);\n\t\tthis.generatorsMaps.put(tgd, custom);\n\t\treturn custom;\n\t}","title":""},{"docid":"e30388a9e55b4aab9277e413c28cd7de","score":"0.444775","text":"private ScoutBeeTargets(){\n }","title":""},{"docid":"52ba05b0590869469e9e0e0c20274baf","score":"0.44477466","text":"public KdTree()\n {\n allpoints = new Queue();\n }","title":""},{"docid":"38fa72bcd79564cf9df891aea73cf93f","score":"0.44446218","text":"public StatefulKnowledgeSession createKSession(){\n //Create the kbuilder\n KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();\n\n //Add simpleProcess.bpmn to kbuilder\n kbuilder.add(new ClassPathResource(\"rules/dynamic/subProcessSelectionRules.drl\"), ResourceType.DRL);\n kbuilder.add(new ClassPathResource(\"process/dynamic/dynamicReusableSubProcess-Parent.bpmn\"), ResourceType.BPMN2);\n kbuilder.add(new ClassPathResource(\"process/dynamic/personTaggerProcess.bpmn\"), ResourceType.BPMN2);\n kbuilder.add(new ClassPathResource(\"process/dynamic/carTaggerProcess.bpmn\"), ResourceType.BPMN2);\n System.out.println(\"Compiling resources\");\n \n //Check for errors\n if (kbuilder.hasErrors()) {\n if (kbuilder.getErrors().size() > 0) {\n for (KnowledgeBuilderError error : kbuilder.getErrors()) {\n System.out.println(\"Error building kbase: \" + error.getMessage());\n }\n }\n throw new RuntimeException(\"Error building kbase!\");\n }\n\n //Create a knowledge base and add the generated package\n KnowledgeBase kbase = KnowledgeBaseFactory.newKnowledgeBase();\n kbase.addKnowledgePackages(kbuilder.getKnowledgePackages());\n\n //return a new statefull session\n return kbase.newStatefulKnowledgeSession();\n }","title":""},{"docid":"aa9cc2bd5d590d9e1f758f7f43d26f14","score":"0.44409928","text":"private void prepareTest() {\r\n OpBroker broker = session.newBroker();\r\n try {\r\n OpTransaction t = broker.newTransaction();\r\n\r\n //create the project node and the project plan\r\n OpProjectNode project = new OpProjectNode();\r\n project.setName(PROJECT_NAME);\r\n project.setType(OpProjectNode.PROJECT);\r\n project.setStart(new Date(getCalendarWithExactDaySet(2007, 6, 10).getTimeInMillis()));\r\n OpProjectPlan projectPlan = new OpProjectPlan();\r\n projectPlan.setStart(new Date(getCalendarWithExactDaySet(2007, 6, 10).getTimeInMillis()));\r\n projectPlan.setFinish(new Date(getCalendarWithExactDaySet(2007, 6, 30).getTimeInMillis()));\r\n projectPlan.setProjectNode(project);\r\n\r\n //create the activity - assignment - resource\r\n OpActivity activity = new OpActivity();\r\n activity.setName(ACTIVITY_NAME);\r\n activity.setProjectPlan(projectPlan);\r\n activity.setBaseTravelCosts(30d);\r\n activity.setBaseMaterialCosts(50d);\r\n OpResource resource = new OpResource();\r\n resource.setName(RESOURCE_NAME);\r\n OpAssignment assignment = new OpAssignment();\r\n activity.addAssignment(assignment);\r\n assignment.setResource(resource);\r\n\r\n //create the workRecord\r\n OpWorkRecord workRecord = new OpWorkRecord();\r\n workRecord.setAssignment(assignment);\r\n\r\n //create the OpCostRecords\r\n OpCostRecord costRecord1 = new OpCostRecord();\r\n costRecord1.setType(OpCostRecord.TRAVEL_COST);\r\n costRecord1.setActualCosts(20d);\r\n costRecord1.setRemainingCosts(10d);\r\n costRecord1.setComment(\"Comment cost record 1\");\r\n costRecord1.setWorkRecord(workRecord);\r\n OpCostRecord costRecord2 = new OpCostRecord();\r\n costRecord2.setType(OpCostRecord.MATERIAL_COST);\r\n costRecord2.setActualCosts(25d);\r\n costRecord2.setRemainingCosts(25d);\r\n costRecord2.setComment(\"Comment cost record 2\");\r\n costRecord2.setWorkRecord(workRecord);\r\n\r\n //create an attachment for the first cost record\r\n OpAttachment attachment1 = new OpAttachment();\r\n attachment1.setLinked(true);\r\n attachment1.setName(\"Attachment 1\");\r\n attachment1.setLocation(\"http://www.google.com/\");\r\n attachment1.setObject(costRecord1);\r\n\r\n broker.makePersistent(project);\r\n broker.makePersistent(projectPlan);\r\n broker.makePersistent(activity);\r\n broker.makePersistent(resource);\r\n broker.makePersistent(assignment);\r\n broker.makePersistent(workRecord);\r\n broker.makePersistent(costRecord1);\r\n broker.makePersistent(costRecord2);\r\n broker.makePersistent(attachment1);\r\n\r\n t.commit();\r\n }\r\n finally {\r\n broker.close();\r\n }\r\n }","title":""},{"docid":"23780d3dac15d3d5a8fd3a77f3900c55","score":"0.4437428","text":"private MiuiGxzwAnimArgs build() {\n return new MiuiGxzwAnimArgs(this.res, this.startPosition, this.repeat, this.frameInterval, this.backgroundRes, this.backgroundFrame, this.customerDrawBitmap, this.feedback, this.aod, this.translateX, this.translateY);\n }","title":""},{"docid":"84286c1f9e52a5dcc75da6a9ca870861","score":"0.44365707","text":"private void setUpTargetSpaces()\n {\n //Red Circle\n boardSquares[1][4].setIcon(redCircle);\n boardSquares[1][4].setTopEdge(true);\n boardSquares[1][4].setLeftEdge(true);\n boardSquares[0][4].setBottomEdge(true);\n boardSquares[0][4].setIcon(bottomSideBarrier);\n boardSquares[1][3].setRightEdge(true);\n boardSquares[1][3].setIcon(rightSideBarrier);\n boardSquares[1][4].setTargetSpace(\"redCircle\");\n boardSquares[1][4].sendIcon(redCircle);\n ///\n boardSquares[1][4].setSquareColour(\"red\");\n ///\n targetMap.put(\"redCircle\", redCircle);\n \n //Red Square\n boardSquares[1][13].setIcon(redSquare);\n boardSquares[1][13].setTopEdge(true);\n boardSquares[1][13].setLeftEdge(true);\n boardSquares[0][13].setBottomEdge(true);\n boardSquares[0][13].setIcon(bottomSideBarrier);\n boardSquares[1][12].setRightEdge(true);\n boardSquares[1][12].setIcon(rightSideBarrier);\n boardSquares[1][13].setTargetSpace(\"redSquare\");\n boardSquares[1][13].sendIcon(redSquare);\n ///\n boardSquares[1][13].setSquareColour(\"red\");\n ///\n targetMap.put(\"redSquare\", redSquare);\n \n //Green Triangle\n boardSquares[2][1].setIcon(greenTriangle);\n boardSquares[2][1].setTopEdge(true);\n boardSquares[2][1].setRightEdge(true);\n boardSquares[1][1].setBottomEdge(true);\n boardSquares[1][1].setIcon(bottomSideBarrier);\n boardSquares[2][2].setLeftEdge(true);\n boardSquares[2][2].setIcon(leftSideBarrier);\n boardSquares[2][1].setTargetSpace(\"greenTriangle\");\n boardSquares[2][1].sendIcon(greenTriangle);\n ///\n boardSquares[2][1].setSquareColour(\"green\");\n ///\n targetMap.put(\"greenTriangle\", greenTriangle);\n \n //Blue Triangle\n boardSquares[2][9].setIcon(blueTriangle);\n boardSquares[2][9].setBottomEdge(true);\n boardSquares[2][9].setRightEdge(true);\n boardSquares[3][9].setTopEdge(true);\n boardSquares[3][9].setIcon(topSideBarrier);\n boardSquares[2][10].setLeftEdge(true);\n boardSquares[2][10].setIcon(leftSideBarrier);\n boardSquares[2][9].setTargetSpace(\"blueTriangle\");\n boardSquares[2][9].sendIcon(blueTriangle);\n ///\n boardSquares[2][9].setSquareColour(\"blue\");\n ///\n targetMap.put(\"blueTriangle\", blueTriangle);\n \n //Yellow Star\n boardSquares[3][6].setIcon(yellowStar);\n boardSquares[3][6].setBottomEdge(true);\n boardSquares[3][6].setRightEdge(true);\n boardSquares[4][6].setTopEdge(true);\n boardSquares[4][6].setIcon(topSideBarrier);\n boardSquares[3][7].setLeftEdge(true);\n boardSquares[3][7].setIcon(leftSideBarrier);\n boardSquares[3][6].setTargetSpace(\"yellowStar\");\n boardSquares[3][6].sendIcon(yellowStar);\n ///\n boardSquares[3][6].setSquareColour(\"yellow\");\n ///\n targetMap.put(\"yellowStar\", yellowStar);\n \n //Green Star\n boardSquares[5][14].setIcon(greenStar);\n boardSquares[5][14].setBottomEdge(true);\n boardSquares[5][14].setLeftEdge(true);\n boardSquares[6][14].setTopEdge(true);\n boardSquares[6][14].setIcon(topSideBarrier);\n boardSquares[5][13].setRightEdge(true);\n boardSquares[5][13].setIcon(rightSideBarrier);\n boardSquares[5][14].setTargetSpace(\"greenStar\");\n boardSquares[5][14].sendIcon(greenStar);\n ///\n boardSquares[5][14].setSquareColour(\"green\");\n ///\n targetMap.put(\"greenStar\", greenStar);\n \n //Blue Square\n boardSquares[6][3].setIcon(blueSquare);\n boardSquares[6][3].setBottomEdge(true);\n boardSquares[6][3].setLeftEdge(true);\n boardSquares[7][3].setTopEdge(true);\n boardSquares[7][3].setIcon(topSideBarrier);\n boardSquares[6][2].setRightEdge(true);\n boardSquares[6][2].setIcon(rightSideBarrier);\n boardSquares[6][3].setTargetSpace(\"blueSquare\");\n boardSquares[6][3].sendIcon(blueSquare);\n ///\n boardSquares[6][3].setSquareColour(\"blue\");\n ///\n targetMap.put(\"blueSquare\", blueSquare);\n \n //Yellow Circle\n boardSquares[6][11].setIcon(yellowCircle);\n boardSquares[6][11].setTopEdge(true);\n boardSquares[6][11].setRightEdge(true);\n boardSquares[5][11].setBottomEdge(true);\n boardSquares[5][11].setIcon(bottomSideBarrier);\n boardSquares[6][12].setLeftEdge(true);\n boardSquares[6][12].setIcon(leftSideBarrier);\n boardSquares[6][11].setTargetSpace(\"yellowCircle\");\n boardSquares[6][11].sendIcon(yellowCircle);\n ///\n boardSquares[6][11].setSquareColour(\"yellow\");\n ///\n targetMap.put(\"yellowCircle\", yellowCircle);\n \n //Multivortex\n boardSquares[8][5].setIcon(multivortex);\n boardSquares[8][5].setTopEdge(true);\n boardSquares[8][5].setRightEdge(true);\n boardSquares[7][5].setBottomEdge(true);\n boardSquares[7][5].setIcon(bottomSideBarrier);\n boardSquares[8][6].setLeftEdge(true);\n boardSquares[8][6].setIcon(leftSideBarrier);\n boardSquares[8][5].setTargetSpace(\"multivortex\");\n boardSquares[8][5].sendIcon(multivortex);\n ///\n boardSquares[8][5].setSquareColour(\"multi\");\n ///\n targetMap.put(\"multivortex\", multivortex);\n \n //Blue Circle\n boardSquares[9][1].setIcon(blueCircle);\n boardSquares[9][1].setBottomEdge(true);\n boardSquares[9][1].setRightEdge(true);\n boardSquares[10][1].setTopEdge(true);\n boardSquares[10][1].setIcon(topSideBarrier);\n boardSquares[9][2].setLeftEdge(true);\n boardSquares[9][2].setIcon(leftSideBarrier);\n boardSquares[9][1].setTargetSpace(\"blueCircle\");\n boardSquares[9][1].sendIcon(blueCircle);\n ///\n boardSquares[9][1].setSquareColour(\"blue\");\n ///\n targetMap.put(\"blueCircle\", blueCircle);\n \n //Yellow Square\n boardSquares[9][14].setIcon(yellowSquare);\n boardSquares[9][14].setBottomEdge(true);\n boardSquares[9][14].setRightEdge(true);\n boardSquares[10][14].setTopEdge(true);\n boardSquares[10][14].setIcon(topSideBarrier);\n boardSquares[9][15].setLeftEdge(true);\n boardSquares[9][15].setIcon(leftSideBarrier);\n boardSquares[9][14].setTargetSpace(\"yellowSquare\");\n boardSquares[9][14].sendIcon(yellowSquare);\n ///\n boardSquares[9][14].setSquareColour(\"yellow\");\n ///\n targetMap.put(\"yellowSquare\", yellowSquare);\n \n //Green Square\n boardSquares[10][4].setIcon(greenSquare);\n boardSquares[10][4].setBottomEdge(true);\n boardSquares[10][4].setLeftEdge(true);\n boardSquares[11][4].setTopEdge(true);\n boardSquares[11][4].setIcon(topSideBarrier);\n boardSquares[10][3].setRightEdge(true);\n boardSquares[10][3].setIcon(rightSideBarrier);\n boardSquares[10][4].setTargetSpace(\"greenSquare\");\n boardSquares[10][4].sendIcon(greenSquare);\n ///\n boardSquares[10][4].setSquareColour(\"green\");\n ///\n targetMap.put(\"greenSquare\", greenSquare);\n \n //Red Triangle\n boardSquares[10][8].setIcon(redTriangle);\n boardSquares[10][8].setTopEdge(true);\n boardSquares[10][8].setRightEdge(true);\n boardSquares[9][8].setBottomEdge(true);\n boardSquares[9][8].setIcon(bottomSideBarrier);\n boardSquares[10][9].setLeftEdge(true);\n boardSquares[10][9].setIcon(leftSideBarrier);\n boardSquares[10][8].setTargetSpace(\"redTriangle\");\n boardSquares[10][8].sendIcon(redTriangle);\n ///\n boardSquares[10][8].setSquareColour(\"red\");\n ///\n targetMap.put(\"redTriangle\", redTriangle);\n \n //Green Circle\n boardSquares[11][13].setIcon(greenCircle);\n boardSquares[11][13].setBottomEdge(true);\n boardSquares[11][13].setLeftEdge(true);\n boardSquares[12][13].setTopEdge(true);\n boardSquares[12][13].setIcon(topSideBarrier);\n boardSquares[11][12].setRightEdge(true);\n boardSquares[11][12].setIcon(rightSideBarrier);\n boardSquares[11][13].setTargetSpace(\"greenCircle\");\n boardSquares[11][13].sendIcon(greenCircle);\n ///\n boardSquares[11][13].setSquareColour(\"green\");\n ///\n targetMap.put(\"greenCircle\", greenCircle);\n \n //Red Star\n boardSquares[13][5].setIcon(redStar);\n boardSquares[13][5].setTopEdge(true);\n boardSquares[13][5].setRightEdge(true);\n boardSquares[12][5].setBottomEdge(true);\n boardSquares[12][5].setIcon(bottomSideBarrier);\n boardSquares[13][6].setLeftEdge(true);\n boardSquares[13][6].setIcon(leftSideBarrier);\n boardSquares[13][5].setTargetSpace(\"redStar\");\n boardSquares[13][5].sendIcon(redStar);\n ///\n boardSquares[13][5].setSquareColour(\"red\");\n ///\n targetMap.put(\"redStar\", redStar);\n \n //Blue Star\n boardSquares[13][10].setIcon(blueStar);\n boardSquares[13][10].setTopEdge(true);\n boardSquares[13][10].setLeftEdge(true);\n boardSquares[12][10].setBottomEdge(true);\n boardSquares[12][10].setIcon(bottomSideBarrier);\n boardSquares[13][9].setRightEdge(true);\n boardSquares[13][9].setIcon(rightSideBarrier);\n boardSquares[13][10].setTargetSpace(\"blueStar\");\n boardSquares[13][10].sendIcon(blueStar);\n ///\n boardSquares[13][10].setSquareColour(\"blue\");\n ///\n targetMap.put(\"blueStar\", blueStar);\n \n //Yellow Triangle\n boardSquares[14][3].setIcon(yellowTriangle);\n boardSquares[14][3].setTopEdge(true);\n boardSquares[14][3].setLeftEdge(true);\n boardSquares[13][3].setBottomEdge(true);\n boardSquares[13][3].setIcon(bottomSideBarrier);\n boardSquares[14][2].setRightEdge(true);\n boardSquares[14][2].setIcon(rightSideBarrier);\n boardSquares[14][3].setTargetSpace(\"yellowTriangle\");\n boardSquares[14][3].sendIcon(yellowTriangle);\n ///\n boardSquares[14][3].setSquareColour(\"yellow\");\n ///\n targetMap.put(\"yellowTriangle\", yellowTriangle);\n }","title":""},{"docid":"7b72ee0e47bc125acc2393e69ff3de1b","score":"0.44362316","text":"@Override\n protected GarbageCollectionRunnable genGCTask(Class clazz) {\n return new GlobalGCRunnable(dbClient, clazz, dependencyTracker, gcDelayMins, coordinator);\n }","title":""},{"docid":"c833b52a7be426f970937d26aaadca32","score":"0.44362012","text":"public void runContainer(ExecutionContainer container) {\n\t\tString libDir = \"\";\n\t\ttry {\n\t\t\tlibDir = PASTAUtil.getTemplateResource(\"lib/\").getAbsolutePath();\n\t\t} catch (FileNotFoundException e) {\n\t\t\tlogger.error(\"Could not load lib directory for Docker container.\", e);\n\t\t}\n\t\t\n\t\tMap labels = new HashMap<>();\n\t\tlabels.put(\"image\", container.getImageName());\n\t\t\n\t\tList binds = new LinkedList<>();\n\t\t\n\t\tString hostSrc = toHostPath(container.getSrcLoc().getAbsolutePath());\n\t\tString hostOut = toHostPath(container.getOutLoc().getAbsolutePath());\n\t\tString hostLib = toHostPath(libDir);\n\t\t\n\t\tbinds.add(new Bind(hostSrc, new Volume(PASTA_SRC + \"/\")));\n\t\tbinds.add(new Bind(hostOut, new Volume(PASTA_OUT + \"/\")));\n\t\tbinds.add(new Bind(hostLib, new Volume(PASTA_LIB + \"/\")));\n\t\t\n\t\tif(container.getLanguage().getId().equals(\"matlab\")) {\n\t\t\tbinds.add(new Bind(WhichProgram.getInstance().path(\"matlab.install\"), new Volume(PASTA_BIN + \"/MATLAB/\")));\n\t\t}\n\t\t\n\t\ttry {\n\t\t\tCreateContainerCmd cmd = dockerClient\n\t\t\t\t\t.createContainerCmd(container.getImageName())\n\t\t\t\t\t.withName(container.getLabel())\n\t\t\t\t\t.withLabels(labels)\n\t\t\t\t\t.withTty(true)\n\t\t\t\t\t.withBinds(binds);\n\t\t\t\n\t\t\tString macKey = container.getLanguage().getId() + \".hardware-address\";\n\t\t\tString mac = LanguageManager.getInstance().getProperty(macKey);\n\t\t\tif(mac != null && !mac.isEmpty()) {\n\t\t\t\tcmd = cmd.withMacAddress(mac);\n\t\t\t}\n\t\t\t\n\t\t\tString portsKey = container.getLanguage().getId() + \".exposed-ports\";\n\t\t\tString ports = LanguageManager.getInstance().getProperty(portsKey);\n\t\t\tif(ports != null && !ports.isEmpty()) {\n\t\t\t\tcmd = cmd.withExposedPorts(parsePorts(ports));\n\t\t\t}\n\t\t\t\n\t\t\tCreateContainerResponse resp = cmd.exec();\n\t\t\tcontainer.setId(resp.getId());\n\t\t\t\n\t\t\tdockerClient\n\t\t\t.startContainerCmd(container.getId())\n\t\t\t.exec();\n\t\t\t\n\t\t\trunCommand(container, \"sh\", \"-c\", \"cp -rp \" + PASTA_SRC + \"/* .\");\n\t\t} catch (ConflictException e) {\n\t\t\tlogger.error(\"Container \" + container.getLabel() + \" already running.\");\n\t\t}\n\t}","title":""},{"docid":"2f35afc8538149370e0e509be6440d82","score":"0.4433783","text":"public GenericContainerStill(T t, RetroImageRequest imageRequest){\n obj = t;\n this.imageRequest = imageRequest;\n }","title":""},{"docid":"48a986b8f165f3aab5a0d2700a8d38c7","score":"0.44318816","text":"public TConTextureResourcePackBase(String name)\r\n/* 40: */ {\r\n/* 41: 39 */ this.name = name.toLowerCase();\r\n/* 42: 40 */ this.delegate = FMLClientHandler.instance().getResourcePackFor(\"TConstruct\");\r\n/* 43: */ }","title":""},{"docid":"20ee453e2868008ee480320adc6fc781","score":"0.44313464","text":"private GraphGenerationAfcl() {}","title":""},{"docid":"f6bab49775dc3bf7314bd83c4419741a","score":"0.44277564","text":"public TagModifyBuilder() {\r\n tagModify = new TagModify();\r\n }","title":""},{"docid":"fbc13012b68cc4c795f1c3928dac85a9","score":"0.44265285","text":"@Test\n public void processChoiceWithNodeAndLeafList() {\n setUp();\n\n // As an application, creates the object.\n\n // Creates reproduce container for list predict-1.\n Reproduce reproduce1 = new DefaultReproduce();\n reproduce1.yangAutoPrefixCatch((short) 90);\n\n // Assigns predict-1 with the container.\n Predict predict1 = new DefaultPredict();\n predict1.reproduce(reproduce1);\n\n // Creates reproduce container for list predict-2.\n Reproduce reproduce2 = new DefaultReproduce();\n reproduce2.yangAutoPrefixCatch((short) 100);\n\n // Assigns predict-2 with the container.\n Predict predict2 = new DefaultPredict();\n predict2.reproduce(reproduce2);\n\n List predictList = new ArrayList<>();\n predictList.add(predict1);\n predictList.add(predict2);\n\n // Case container is added to the choice content-test.\n ChoiceContainer containerCase = new DefaultChoiceContainer();\n containerCase.predict(predictList);\n // Case container is added to the choice content-test.\n org.onosproject.yang.gen.v1.ytbchoicewithcontainerandleaflist.rev20160826\n .ytbchoicewithcontainerandleaflist.contenttest\n .DefaultChoiceContainer contentTest =\n new org.onosproject.yang.gen.v1.ytbchoicewithcontainerandleaflist\n .rev20160826.ytbchoicewithcontainerandleaflist.contenttest\n .DefaultChoiceContainer();\n contentTest.choiceContainer(containerCase);\n\n // Creates string list for leaf-list final.\n List stringList = new ArrayList<>();\n stringList.add(VAL);\n stringList.add(IND);\n\n // For choice current value, the leaf list gets added as case.\n DefaultYtbAbsent currentValue = new DefaultYtbAbsent();\n currentValue.yangAutoPrefixFinal(stringList);\n\n // Builds YANG tree in YTB.\n data = new DefaultModelObjectData.Builder();\n data.addModelObject(contentTest).addModelObject(currentValue);\n rscData = treeBuilder.getResourceData(data.build());\n\n nameSpace = \"yms:test:ytb:choice:with:container:and:leaf:list\";\n id = rscData.resourceId();\n keys = id.nodeKeys();\n assertThat(1, is(keys.size()));\n\n sid = keys.get(0).schemaId();\n assertThat(\"/\", is(sid.name()));\n assertThat(null, is(sid.namespace()));\n\n dataNodes = rscData.dataNodes();\n assertThat(3, is(dataNodes.size()));\n\n node = dataNodes.get(0);\n validateDataNode(node, \"choice-container\", nameSpace,\n SINGLE_INSTANCE_NODE,\n true, null);\n //Here only one instance of list will be added because config is\n // false. so there will be no difference in 2 instance of list node.\n Map child = ((InnerNode) node).childNodes();\n assertThat(1, is(child.size()));\n Iterator> it = child.entrySet().iterator();\n\n Map.Entry n = it.next();\n validateDataNode(n.getValue(), \"predict\", nameSpace,\n MULTI_INSTANCE_NODE,\n true, null);\n child = ((InnerNode) n.getValue()).childNodes();\n assertThat(1, is(child.size()));\n\n it = child.entrySet().iterator();\n n = it.next();\n validateDataNode(n.getValue(), \"reproduce\", nameSpace,\n SINGLE_INSTANCE_NODE,\n true, null);\n\n child = ((InnerNode) n.getValue()).childNodes();\n assertThat(1, is(child.size()));\n\n it = child.entrySet().iterator();\n n = it.next();\n validateDataNode(n.getValue(), \"catch\", nameSpace,\n SINGLE_INSTANCE_LEAF_VALUE_NODE,\n true, \"100\");\n\n node = dataNodes.get(1);\n validateDataNode(node, \"final\", nameSpace,\n MULTI_INSTANCE_LEAF_VALUE_NODE,\n true, VAL);\n\n node = dataNodes.get(2);\n validateDataNode(node, \"final\", nameSpace,\n MULTI_INSTANCE_LEAF_VALUE_NODE,\n true, IND);\n }","title":""},{"docid":"a8f6c54e20c1bab9a2dffac7b64b6576","score":"0.44230413","text":"public void build(Workspace workspace) {\n Set loaded = new HashSet();\n if (!preferredGroupOrdering.isEmpty()) {\n for (final String group : preferredGroupOrdering) {\n if (loaded.contains(group)) continue;\n\n for (ToolSet ts : toBeLoaded) {\n if (ts.getToolSetName().equals(group)) {\n loaded.add(group);\n workspace.addToolSet(ts);\n }\n }\n\n if (loaded.contains(group)) continue;\n\n if (toBeLoadedGroups.containsKey(group)) {\n loaded.add(group);\n\n final List toBeRendered = new ArrayList();\n for (ToolProvider provider : toBeLoadedGroups.get(group)) {\n Tool t = provider.getTool();\n if (t != null) {\n toBeRendered.add(t);\n }\n }\n\n if (!toBeRendered.isEmpty()) {\n ToolSet ts = new ToolSet() {\n public Tool[] getAllProvidedTools() {\n Tool[] toolArray = new Tool[toBeRendered.size()];\n toBeRendered.toArray(toolArray);\n return toolArray;\n }\n\n public String getToolSetName() {\n return group;\n }\n\n public Widget getWidget() {\n return null;\n }\n };\n\n workspace.addToolSet(ts);\n }\n }\n }\n }\n\n for (ToolSet ts : toBeLoaded) {\n if (loaded.contains(ts.getToolSetName())) continue;\n workspace.addToolSet(ts);\n }\n\n for (final String group : toBeLoadedGroups.keySet()) {\n if (loaded.contains(group)) continue;\n\n final List toBeRendered = new ArrayList();\n for (ToolProvider provider : toBeLoadedGroups.get(group)) {\n Tool t = provider.getTool();\n if (t != null) {\n toBeRendered.add(t);\n }\n }\n\n if (!toBeRendered.isEmpty()) {\n\n ToolSet ts = new ToolSet() {\n public Tool[] getAllProvidedTools() {\n Tool[] toolArray = new Tool[toBeRendered.size()];\n toBeRendered.toArray(toolArray);\n return toolArray;\n }\n\n public String getToolSetName() {\n return group;\n }\n\n public Widget getWidget() {\n return null;\n }\n };\n\n workspace.addToolSet(ts);\n }\n }\n\n }","title":""},{"docid":"257aa3c6f47af81d622da06f978fb54f","score":"0.44214725","text":"@Test\n public void testEmptyAdd() {\n Coordinates coords = new Coordinates(\n new Angle(0, ARCSECS), new Angle(midDetector, ARCSECS)\n );\n\n SPTarget guideTarget = new SPTarget(coords.getRaDeg(), coords.getDecDeg());\n TargetEnvironment env = group.add(guideTarget, baseContext);\n\n // Adds an ODGW1 target by default.\n ImList col = env.getOrCreatePrimaryGuideGroup().getAll();\n assertEquals(1, col.size());\n\n Option gtOpt = env.getPrimaryGuideProbeTargets(GsaoiOdgw.odgw1);\n assertFalse(gtOpt.isEmpty());\n\n GuideProbeTargets gt = gtOpt.getValue();\n assertEquals(1, gt.getOptions().size());\n assertEquals(guideTarget, gt.getOptions().head());\n }","title":""}],"string":"[\n {\n \"docid\": \"a29dcffb14f8e6368cab7791cae1b078\",\n \"score\": \"0.5386046\",\n \"text\": \" FreecellOperations build();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"73ea1632999202dbc8aa527a083b7d5d\",\n \"score\": \"0.5334126\",\n \"text\": \"public void assembleTrape() {\\r\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"20664b3d5b32af57dbf2f4ddf390b933\",\n \"score\": \"0.5237057\",\n \"text\": \"private SpectraTagger(){\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4cb9d2e9f5cb8c81b6a50994e37057f3\",\n \"score\": \"0.5209391\",\n \"text\": \"ConceptMapTarget createConceptMapTarget();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ac72f7c2b67609946b0b29b4fa626ed1\",\n \"score\": \"0.5166616\",\n \"text\": \"@Override\\n\\tprotected void build ()\\n\\t{\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8787d3300d92673d047fe8a7870fd0fa\",\n \"score\": \"0.51487267\",\n \"text\": \"@Override\\n\\t\\tprotected void buildInternal(MultiLabelInstances trainingSet)\\n\\t\\t\\t\\tthrows Exception {\\n\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fa699da9a1b51a2e2af586a8c03c5cc6\",\n \"score\": \"0.5148047\",\n \"text\": \"@Override \\n\\t\\t public boolean isGenerateBuilders() {\\n\\t\\t\\t return true; \\n\\t\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b2891004e71124276383884864974769\",\n \"score\": \"0.51106954\",\n \"text\": \"ErgoProver build();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4de157c531336836d95315cc814fd441\",\n \"score\": \"0.508651\",\n \"text\": \"private LexusES300Builder() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"24c66c67d85f78cf196750e6c05e0746\",\n \"score\": \"0.5075395\",\n \"text\": \"StructureMapTarget createStructureMapTarget();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"138c9eb9e86ae455d47c1a7cd0367182\",\n \"score\": \"0.5050548\",\n \"text\": \"public void createTarget(Graphics g) {\\n target = new Target((int) (Math.random() * 390 + 1), (int) (Math.random() * 350 + 1), ((int) (Math.random() * 4)) + 0);\\r\\n target.draw(g);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"450630249b4c5d7a1eef809b0f346823\",\n \"score\": \"0.4992135\",\n \"text\": \"private void buildTargetTree()\\n {\\n // set is building flag\\n _isBuildingTree = true;\\n\\n // clear tree\\n _treeTarget.clear();\\n\\n // build the tree staring at the root\\n try\\n {\\n buildNode(_treeTarget.getRoot());\\n }\\n catch(Exception e)\\n {\\n GuiManager.showErrorDialog(this, ERR_BUILDTREE.getText(), e);\\n }\\n\\n // refresh the tree to ensure proper display\\n _treeTarget.refreshModel();\\n\\n // set is building flag\\n _isBuildingTree = false;\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"78bf57b8931c2fc929a2665e9ec28cd8\",\n \"score\": \"0.49656785\",\n \"text\": \"private void setupGoogleMtStep() {\\n\\t\\tString googleKey = null;\\r\\n\\t\\ttry( FileInputStream fis = new FileInputStream(new File(\\\"autotranslator.config\\\")) ) {\\r\\n\\t\\t\\tProperties prop = new Properties();\\r\\n\\t\\t\\tprop.load(fis);\\r\\n\\t\\t\\tgoogleKey = prop.getProperty(\\\"googleKey\\\");\\r\\n\\t\\t}\\r\\n\\t\\tcatch (Exception e) {\\r\\n\\t\\t\\tthrow new RuntimeException(\\\"Error loading the configuration file.\\\", e);\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\t// Construct the Leveraging step\\r\\n\\t\\tLeveragingStep step = new LeveragingStep();\\r\\n\\t\\tnet.sf.okapi.steps.leveraging.Parameters params \\r\\n\\t\\t\\t= (net.sf.okapi.steps.leveraging.Parameters)step.getParameters();\\r\\n\\t\\tparams.setMakeTMX(false);\\r\\n\\t\\tparams.setFillTarget(true);\\r\\n\\t\\tparams.setFillIfTargetIsEmpty(true);\\r\\n\\t\\tparams.setFillIfTargetIsSameAsSource(false);\\r\\n\\t\\tparams.setUseTargetPrefix(false);\\r\\n\\r\\n\\t\\tparams.setResourceClassName(\\\"net.sf.okapi.connectors.google.GoogleMTv2Connector\\\");\\r\\n\\t\\tnet.sf.okapi.connectors.google.GoogleMTv2Parameters p = new net.sf.okapi.connectors.google.GoogleMTv2Parameters();\\r\\n\\t\\tp.setApiKey(googleKey);\\r\\n\\t\\tp.setUsePBMT(false);\\r\\n\\t\\tparams.setResourceParameters(p.toString());\\r\\n\\t\\t\\r\\n\\t\\tdriver.addStep(step);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bd03a4f132498f7aa98702ee46aa402b\",\n \"score\": \"0.49499375\",\n \"text\": \"private void createTeapot(Appearance ap, TransformGroup tg) {\\n\\t\\tString classPath = System.getProperty(\\\"user.dir\\\");\\n\\t\\t\\n\\t\\tcreateTeapotPart(classPath + \\\"/\\\" + filenames[0]);\\n\\n\\t\\t// Create a 3d shape using the co-ordinates from the file and add the\\n\\t\\t// shape to the scene\\n\\t\\tShape3D shape1 = new TeapotSurface(pts, idx);\\n\\t\\tshape1.setAppearance(ap);\\n\\t\\ttg.addChild(shape1);\\n\\t\\tcreateTeapotPart(classPath + \\\"/\\\" + filenames[1]);\\n\\t\\tShape3D shape2 = new TeapotSurface(pts, idx);\\n\\t\\tshape2.setAppearance(ap);\\n\\t\\ttg.addChild(shape2);\\n\\t\\tcreateTeapotPart(classPath + \\\"/\\\" + filenames[2]);\\n\\t\\tShape3D shape3 = new TeapotSurface(pts, idx);\\n\\t\\tshape3.setAppearance(ap);\\n\\t\\ttg.addChild(shape3);\\n\\t\\tcreateTeapotPart(classPath + \\\"/\\\" + filenames[3]);\\n\\t\\tShape3D shape4 = new TeapotSurface(pts, idx);\\n\\t\\tshape4.setAppearance(ap);\\n\\t\\ttg.addChild(shape4);\\n\\t\\tcreateTeapotPart(classPath + \\\"/\\\" + filenames[4]);\\n\\t\\tShape3D shape5 = new TeapotSurface(pts, idx);\\n\\t\\tshape5.setAppearance(ap);\\n\\t\\ttg.addChild(shape5);\\n\\t\\tcreateTeapotPart(classPath + \\\"/\\\" + filenames[5]);\\n\\t\\tShape3D shape6 = new TeapotSurface(pts, idx);\\n\\t\\tshape6.setAppearance(ap);\\n\\t\\ttg.addChild(shape6);\\n\\t\\tcreateTeapotPart(classPath + \\\"/\\\" + filenames[6]);\\n\\t\\tShape3D shape7 = new TeapotSurface(pts, idx);\\n\\t\\tshape7.setAppearance(ap);\\n\\t\\ttg.addChild(shape7);\\n\\t\\tcreateTeapotPart(classPath + \\\"/\\\" + filenames[7]);\\n\\t\\tShape3D shape8 = new TeapotSurface(pts, idx);\\n\\t\\tshape8.setAppearance(ap);\\n\\t\\ttg.addChild(shape8);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"405418f82ebf482f7a7e92009e196d44\",\n \"score\": \"0.4943489\",\n \"text\": \"void build();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"17139ce597bcf4ea6b84df0b722dac32\",\n \"score\": \"0.48769566\",\n \"text\": \"@Override\\n\\tprotected void buildPillars() {\\n\\t\\tSystem.out.println(\\\"building pillars with RCC for glass house\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc287c1577e8dfbb3179331de38678df\",\n \"score\": \"0.48762792\",\n \"text\": \"@DebuggerTargetObjectIface(\\\"BreakpointContainer\\\")\\npublic interface TargetBreakpointContainer>\\n\\t\\textends TypedTargetObject {\\n\\tenum Private {\\n\\t\\t;\\n\\t\\tprivate abstract class Cls implements TargetBreakpointContainer {\\n\\t\\t}\\n\\t}\\n\\n\\t@SuppressWarnings({ \\\"unchecked\\\", \\\"rawtypes\\\" })\\n\\tClass tclass = (Class) TargetBreakpointContainer.class;\\n\\n\\tString SUPPORTED_BREAK_KINDS_ATTRIBUTE_NAME = PREFIX_INVISIBLE + \\\"supported_breakpoint_kinds\\\";\\n\\n\\tpublic interface TargetBreakpointKindSet extends Set {\\n\\t\\tpublic static class EmptyTargetBreakpointKindSet\\n\\t\\t\\t\\textends AbstractEmptySet implements TargetBreakpointKindSet {\\n\\t\\t\\t// Nothing\\n\\t\\t}\\n\\n\\t\\tpublic static class ImmutableTargetBreakpointKindSet\\n\\t\\t\\t\\textends AbstractNSet\\n\\t\\t\\t\\timplements TargetBreakpointKindSet {\\n\\n\\t\\t\\tpublic ImmutableTargetBreakpointKindSet(TargetBreakpointKind... kinds) {\\n\\t\\t\\t\\tsuper(kinds);\\n\\t\\t\\t}\\n\\n\\t\\t\\tpublic ImmutableTargetBreakpointKindSet(Set set) {\\n\\t\\t\\t\\tsuper(set);\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\tTargetBreakpointKindSet EMPTY = new EmptyTargetBreakpointKindSet();\\n\\n\\t\\tpublic static TargetBreakpointKindSet of() {\\n\\t\\t\\treturn EMPTY;\\n\\t\\t}\\n\\n\\t\\tpublic static TargetBreakpointKindSet of(TargetBreakpointKind... kinds) {\\n\\t\\t\\treturn new ImmutableTargetBreakpointKindSet(kinds);\\n\\t\\t}\\n\\n\\t\\tpublic static TargetBreakpointKindSet copyOf(Set set) {\\n\\t\\t\\treturn new ImmutableTargetBreakpointKindSet(set);\\n\\t\\t}\\n\\t}\\n\\n\\t/**\\n\\t * Get the kinds of supported breakpoints\\n\\t * \\n\\t *

\\n\\t * Different debuggers have differing vocabularies of breakpoints, and may only support a subset\\n\\t * of those recognized by Ghidra. This attribute describes those supported.\\n\\t * \\n\\t * @return the set of supported kinds\\n\\t */\\n\\t@TargetAttributeType(name = SUPPORTED_BREAK_KINDS_ATTRIBUTE_NAME, required = true, hidden = true)\\n\\tpublic default TargetBreakpointKindSet getSupportedBreakpointKinds() {\\n\\t\\treturn getTypedAttributeNowByName(SUPPORTED_BREAK_KINDS_ATTRIBUTE_NAME,\\n\\t\\t\\tTargetBreakpointKindSet.class, TargetBreakpointKindSet.of());\\n\\t}\\n\\n\\t/**\\n\\t * Specify a breakpoint having the given expression and kinds\\n\\t * \\n\\t *

\\n\\t * Certain combinations of kinds and expression may not be reasonable. In those cases, the\\n\\t * debugger may choose to reject, split, and/or adjust the request.\\n\\t * \\n\\t * @param expression the expression, in the native debugger's syntax\\n\\t * @param kinds the desired set of kinds\\n\\t * @return a future which completes when the request is processed\\n\\t */\\n\\tpublic CompletableFuture placeBreakpoint(String expression,\\n\\t\\t\\tSet kinds);\\n\\n\\t/**\\n\\t * Specify a breakpoint having the given range and kinds\\n\\t * \\n\\t *

\\n\\t * Certain combinations of kinds and range may not be reasonable. In those cases, the debugger\\n\\t * may choose to reject, split, and/or adjust the request.\\n\\t * \\n\\t * @param range the range of addresses for the breakpoint\\n\\t * @param kinds the desired set of kinds\\n\\t * @return a future which completes when the request is processed\\n\\t */\\n\\tpublic CompletableFuture placeBreakpoint(AddressRange range,\\n\\t\\t\\tSet kinds);\\n\\n\\t/**\\n\\t * Specify a breakpoint having the given address and kinds\\n\\t * \\n\\t *

\\n\\t * Certain combinations of kinds may not be reasonable. In those cases, the debugger may choose\\n\\t * to reject, split, and/or adjust the request.\\n\\t * \\n\\t * @param expression the expression, in the native debugger's syntax\\n\\t * @param kinds the desired set of kinds\\n\\t * @return a future which completes when the request is processed\\n\\t */\\n\\tpublic default CompletableFuture placeBreakpoint(Address address,\\n\\t\\t\\tSet kinds) {\\n\\t\\treturn placeBreakpoint(new AddressRangeImpl(address, address), kinds);\\n\\t}\\n\\n\\tpublic interface TargetBreakpointListener extends TargetObjectListener {\\n\\t\\t/**\\n\\t\\t * A breakpoint trapped execution\\n\\t\\t * \\n\\t\\t *

\\n\\t\\t * The program counter can be obtained in a few ways. The most reliable is to get the\\n\\t\\t * address of the effective breakpoint. If available, the frame will also contain the\\n\\t\\t * program counter. Finally, the trapped object or one of its relatives may offer the\\n\\t\\t * program counter.\\n\\t\\t * \\n\\t\\t * @param container the container whose breakpoint trapped execution\\n\\t\\t * @param trapped the object whose execution was trapped\\n\\t\\t * @param frame the innermost stack frame, if available, of the trapped object\\n\\t\\t * @param spec the breakpoint specification\\n\\t\\t * @param breakpoint the breakpoint location that actually trapped execution\\n\\t\\t */\\n\\t\\tdefault void breakpointHit(TargetBreakpointContainer container, TargetObjectRef trapped,\\n\\t\\t\\t\\tTypedTargetObjectRef> frame,\\n\\t\\t\\t\\tTypedTargetObjectRef> spec,\\n\\t\\t\\t\\tTypedTargetObjectRef> breakpoint) {\\n\\t\\t}\\n\\t}\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a55b4556d4150238c774f1786ae2d019\",\n \"score\": \"0.48729417\",\n \"text\": \"@Test\\n public void processSimpleAugment() {\\n setUp();\\n // As an application, creates the object.\\n\\n // Creates container cont1s with the leaf.\\n org.onosproject.yang.gen.v1.ytbsimpleaugment.rev20160826\\n .ytbsimpleaugment.cont1.cont2.augmentedcont2.cont1s\\n .Cont1s cont1s1 = new org.onosproject.yang.gen.v1.ytbsimpleaugment\\n .rev20160826.ytbsimpleaugment.cont1.cont2\\n .augmentedcont2.cont1s.DefaultCont1s();\\n\\n // Appends the created container into another container.\\n Cont1s cont1s = new DefaultCont1s();\\n cont1s.cont1s(cont1s1);\\n\\n // Creates augment with the container and leaf.\\n DefaultAugmentedCont2 augment = new DefaultAugmentedCont2();\\n augment.cont1s(cont1s);\\n augment.leaf4(500);\\n\\n // Creates for the node which will be getting augmented.\\n // Creates cont2 where content will be augmented into.\\n DefaultCont2 augCont2 = new DefaultCont2();\\n augCont2.addAugmentation(augment);\\n\\n // Creates cont1 where cont2 is added.\\n DefaultCont1 cont1 = new DefaultCont1();\\n cont1.cont2(augCont2);\\n\\n // Builds YANG tree in YTB.\\n data = new DefaultModelObjectData.Builder();\\n data.addModelObject(cont1);\\n rscData = treeBuilder.getResourceData(data.build());\\n\\n nameSpace = \\\"yms:test:ytb:simple:augment\\\";\\n id = rscData.resourceId();\\n keys = id.nodeKeys();\\n assertThat(1, is(keys.size()));\\n\\n sid = keys.get(0).schemaId();\\n assertThat(\\\"/\\\", is(sid.name()));\\n assertThat(null, is(sid.namespace()));\\n\\n dataNodes = rscData.dataNodes();\\n assertThat(1, is(dataNodes.size()));\\n\\n node = dataNodes.get(0);\\n validateDataNode(node, \\\"cont1\\\", nameSpace,\\n SINGLE_INSTANCE_NODE,\\n true, null);\\n //Here only one instance of list will be added because config is\\n // false. so there will be no difference in 2 instance of list node.\\n Map child = ((InnerNode) node).childNodes();\\n assertThat(1, is(child.size()));\\n Iterator> it = child.entrySet().iterator();\\n\\n Map.Entry n = it.next();\\n validateDataNode(n.getValue(), \\\"cont2\\\", nameSpace,\\n SINGLE_INSTANCE_NODE,\\n true, null);\\n child = ((InnerNode) n.getValue()).childNodes();\\n assertThat(2, is(child.size()));\\n\\n it = child.entrySet().iterator();\\n n = it.next();\\n validateDataNode(n.getValue(), \\\"leaf4\\\", nameSpace,\\n SINGLE_INSTANCE_LEAF_VALUE_NODE,\\n true, \\\"500\\\");\\n\\n n = it.next();\\n validateDataNode(n.getValue(), \\\"cont1s\\\", nameSpace,\\n SINGLE_INSTANCE_NODE,\\n true, null);\\n\\n child = ((InnerNode) n.getValue()).childNodes();\\n assertThat(1, is(child.size()));\\n\\n it = child.entrySet().iterator();\\n n = it.next();\\n validateDataNode(n.getValue(), \\\"cont1s\\\", nameSpace,\\n SINGLE_INSTANCE_NODE,\\n true, null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5192fd7a3d44da09962432dafe598a4a\",\n \"score\": \"0.48603547\",\n \"text\": \"protected void setupTransform(Transformer t) {\\n\\t\\t// This space available\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b78c48dfb7e7184713f5aea8368c3989\",\n \"score\": \"0.48233432\",\n \"text\": \"public void test030() {\\n // first series shows that a clean build is OK\\n this.runConformTest(new String[] { \\\"X.java\\\", \\\"public interface X, \\\\n\\\" + \\\" K extends X.K, \\\\n\\\" + \\\" S extends X.S> {\\\\n\\\" + \\\"\\tpublic interface K, \\\\n\\\" + \\\"\\t KS extends X.S> {\\\\n\\\" + \\\"\\t}\\\\n\\\" + \\\"\\tpublic interface S {\\\\n\\\" + \\\"\\t}\\\\n\\\" + \\\"}\\\\n\\\", \\\"Y.java\\\", \\\"public class Y, \\\\n\\\" + \\\" K extends X.K, \\\\n\\\" + \\\" S extends X.S> { \\\\n\\\" + \\\"}\\\\n\\\" }, \\\"\\\\\\\"\\\" + OUTPUT_DIR + File.separator + \\\"Y.java\\\\\\\"\\\" + \\\" -1.5 -g -preserveAllLocals\\\" + \\\" -cp \\\\\\\"\\\" + OUTPUT_DIR + File.separator + \\\"\\\\\\\"\\\" + \\\" -proceedOnError -referenceInfo\\\" + \\\" -d \\\\\\\"\\\" + OUTPUT_DIR + \\\"\\\\\\\"\\\", \\\"\\\", \\\"\\\", true);\\n // second series shows that a staged build - that simulates the auto build context - is OK as well\\n this.runConformTest(new String[] { \\\"X.java\\\", \\\"public interface X, \\\\n\\\" + \\\" K extends X.K, \\\\n\\\" + \\\" S extends X.S> {\\\\n\\\" + \\\"\\tpublic interface K, \\\\n\\\" + \\\"\\t KS extends X.S> {\\\\n\\\" + \\\"\\t}\\\\n\\\" + \\\"\\tpublic interface S {\\\\n\\\" + \\\"\\t}\\\\n\\\" + \\\"}\\\\n\\\" }, \\\"\\\\\\\"\\\" + OUTPUT_DIR + File.separator + \\\"X.java\\\\\\\"\\\" + \\\" -1.5 -g -preserveAllLocals\\\" + \\\" -proceedOnError -referenceInfo\\\" + \\\" -d \\\\\\\"\\\" + OUTPUT_DIR + \\\"\\\\\\\"\\\", \\\"\\\", \\\"\\\", true);\\n this.runConformTest(new String[] { \\\"Y.java\\\", \\\"public class Y, \\\\n\\\" + \\\" K extends X.K, \\\\n\\\" + \\\" S extends X.S> { \\\\n\\\" + \\\"}\\\\n\\\" }, \\\"\\\\\\\"\\\" + OUTPUT_DIR + File.separator + \\\"Y.java\\\\\\\"\\\" + \\\" -1.5 -g -preserveAllLocals\\\" + \\\" -cp \\\\\\\"\\\" + OUTPUT_DIR + File.separator + \\\"\\\\\\\"\\\" + \\\" -proceedOnError -referenceInfo\\\" + \\\" -d \\\\\\\"\\\" + OUTPUT_DIR + \\\"\\\\\\\"\\\", \\\"\\\", \\\"\\\", false);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"caa8166a831ccba8f0255c2b73b710a6\",\n \"score\": \"0.48041636\",\n \"text\": \"private WordCloudGenerator() { }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4de5d771812bf28124e10bf9016e3377\",\n \"score\": \"0.479243\",\n \"text\": \"private PlainteAggregateRootBuilder (){\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"94baaefbf5a8f7ff7e1713ef90870f98\",\n \"score\": \"0.47748318\",\n \"text\": \"Clerk createClerk();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f9a477f364df4e603ae7accbd26c6b1d\",\n \"score\": \"0.47641793\",\n \"text\": \"@Override\\n\\tpublic void setupQueryContext(KeyedTopKQueue topk, Map map) throws IOException {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"43b37289f4c5d39cc19788e51dca31a5\",\n \"score\": \"0.47491822\",\n \"text\": \"GraphDefinitionTarget createGraphDefinitionTarget();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"29ed0efc84749b4346c9d82cb422a83e\",\n \"score\": \"0.47369036\",\n \"text\": \"T build();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"955890762902c0953f2ba8978a915582\",\n \"score\": \"0.47357923\",\n \"text\": \"@Test\\n public void processSimpleAugmentModIdC1() {\\n setUp();\\n // As an application, creates the object.\\n\\n // Creates container cont1s with the leaf.\\n org.onosproject.yang.gen.v1.ytbsimpleaugment.rev20160826\\n .ytbsimpleaugment.cont1.cont2.augmentedcont2.cont1s\\n .Cont1s cont1s1 = new org.onosproject.yang.gen.v1.ytbsimpleaugment\\n .rev20160826.ytbsimpleaugment.cont1.cont2\\n .augmentedcont2.cont1s.DefaultCont1s();\\n\\n // Appends the created container into another container.\\n Cont1s cont1s = new DefaultCont1s();\\n cont1s.cont1s(cont1s1);\\n\\n // Creates augment with the container and leaf.\\n DefaultAugmentedCont2 augment = new DefaultAugmentedCont2();\\n augment.cont1s(cont1s);\\n augment.leaf4(500);\\n\\n // Creates for the node which will be getting augmented.\\n // Creates cont2 where content will be augmented into.\\n DefaultCont2 augCont2 = new DefaultCont2();\\n augCont2.addAugmentation(augment);\\n\\n // Builds YANG tree in YTB.\\n data = new DefaultModelObjectData.Builder();\\n data.addModelObject(augCont2);\\n mid = ModelObjectId.builder().addChild(DefaultCont1.class).build();\\n data.identifier(mid);\\n rscData = treeBuilder.getResourceData(data.build());\\n\\n nameSpace = \\\"yms:test:ytb:simple:augment\\\";\\n id = rscData.resourceId();\\n keys = id.nodeKeys();\\n assertThat(2, is(keys.size()));\\n\\n sid = keys.get(0).schemaId();\\n assertThat(\\\"/\\\", is(sid.name()));\\n assertThat(null, is(sid.namespace()));\\n\\n sid = keys.get(1).schemaId();\\n assertThat(\\\"cont1\\\", is(sid.name()));\\n assertThat(nameSpace, is(sid.namespace()));\\n\\n dataNodes = rscData.dataNodes();\\n assertThat(1, is(dataNodes.size()));\\n\\n node = dataNodes.get(0);\\n validateDataNode(node, \\\"cont2\\\", nameSpace,\\n SINGLE_INSTANCE_NODE,\\n true, null);\\n //Here only one instance of list will be added because config is\\n // false. so there will be no difference in 2 instance of list node.\\n Map child = ((InnerNode) node).childNodes();\\n assertThat(2, is(child.size()));\\n Iterator> it = child.entrySet().iterator();\\n\\n Map.Entry n = it.next();\\n validateDataNode(n.getValue(), \\\"leaf4\\\", nameSpace,\\n SINGLE_INSTANCE_LEAF_VALUE_NODE,\\n true, \\\"500\\\");\\n\\n n = it.next();\\n validateDataNode(n.getValue(), \\\"cont1s\\\", nameSpace,\\n SINGLE_INSTANCE_NODE,\\n true, null);\\n\\n child = ((InnerNode) n.getValue()).childNodes();\\n assertThat(1, is(child.size()));\\n\\n it = child.entrySet().iterator();\\n n = it.next();\\n validateDataNode(n.getValue(), \\\"cont1s\\\", nameSpace,\\n SINGLE_INSTANCE_NODE,\\n true, null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3e244050d8343d87eb010b54c400c389\",\n \"score\": \"0.4730468\",\n \"text\": \"K create( );\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c2d02b7d86228bd60bcb495f2961325a\",\n \"score\": \"0.47282544\",\n \"text\": \"TargetDefinition createTargetDefinition();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2fc54caf63ae66057d1a4189adda3e62\",\n \"score\": \"0.4723822\",\n \"text\": \"@Test\\n public void processSimpleAugmentModIdC2() {\\n setUp();\\n // As an application, creates the object.\\n\\n // Creates container cont1s with the leaf.\\n org.onosproject.yang.gen.v1.ytbsimpleaugment.rev20160826\\n .ytbsimpleaugment.cont1.cont2.augmentedcont2.cont1s\\n .Cont1s cont1s1 = new org.onosproject.yang.gen.v1.ytbsimpleaugment\\n .rev20160826.ytbsimpleaugment.cont1.cont2\\n .augmentedcont2.cont1s.DefaultCont1s();\\n\\n // Appends the created container into another container.\\n Cont1s cont1s = new DefaultCont1s();\\n cont1s.cont1s(cont1s1);\\n\\n // Creates augment with the container and leaf.\\n DefaultAugmentedCont2 augment = new DefaultAugmentedCont2();\\n augment.cont1s(cont1s);\\n augment.leaf4(500);\\n\\n // Builds YANG tree in YTB.\\n data = new DefaultModelObjectData.Builder();\\n data.addModelObject(augment);\\n mid = ModelObjectId.builder().addChild(DefaultCont1.class)\\n .addChild(DefaultCont2.class).build();\\n\\n data.identifier(mid);\\n rscData = treeBuilder.getResourceData(data.build());\\n\\n nameSpace = \\\"yms:test:ytb:simple:augment\\\";\\n id = rscData.resourceId();\\n keys = id.nodeKeys();\\n assertThat(3, is(keys.size()));\\n\\n sid = keys.get(0).schemaId();\\n assertThat(\\\"/\\\", is(sid.name()));\\n assertThat(null, is(sid.namespace()));\\n\\n sid = keys.get(1).schemaId();\\n assertThat(\\\"cont1\\\", is(sid.name()));\\n assertThat(nameSpace, is(sid.namespace()));\\n\\n sid = keys.get(2).schemaId();\\n assertThat(\\\"cont2\\\", is(sid.name()));\\n assertThat(nameSpace, is(sid.namespace()));\\n\\n dataNodes = rscData.dataNodes();\\n assertThat(2, is(dataNodes.size()));\\n\\n node = dataNodes.get(0);\\n validateDataNode(node, \\\"leaf4\\\", nameSpace,\\n SINGLE_INSTANCE_LEAF_VALUE_NODE,\\n true, \\\"500\\\");\\n\\n node = dataNodes.get(1);\\n validateDataNode(node, \\\"cont1s\\\", nameSpace,\\n SINGLE_INSTANCE_NODE,\\n true, null);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a4de4bc5012a36af53e00617494c1e3f\",\n \"score\": \"0.4707643\",\n \"text\": \"protected MordorFrameBuilds(){\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2a7a6f1ea8841ec67bd0169e4ebed4b4\",\n \"score\": \"0.4701434\",\n \"text\": \"public void initTarget(){\\n\\t\\tfor(Building b : listBuildings){\\n\\t\\t\\tif(b.getAttackBehavior()!=null){\\n\\t\\t\\t\\tb.getAttackBehavior().setMainTarget(ScreenManager.fightScreen.getOtherTeam(b.getMyTeam()).getCastle());\\n\\t\\t\\t\\tb.getAttackBehavior().setCurrentTarget(ScreenManager.fightScreen.getOtherTeam(b.getMyTeam()).getCastle());\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"46169bacfb13c359fabda562d2b2b968\",\n \"score\": \"0.46841028\",\n \"text\": \"public void setUpTargetPanel() {\\n jp.setLayout(new GridBagLayout());\\n GridBagConstraints gc = new GridBagConstraints();\\n gc.fill = GridBagConstraints.HORIZONTAL;\\n\\n for (int i = 0; i < labels.length; i++) {\\n setUpLabels(labels[i],i,gc,jp);\\n }\\n\\n targetCalories(gc);\\n remainingCalories(gc);\\n caloriesEaten(gc);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2e45b0edbd4c70d0bbbea093da7e872\",\n \"score\": \"0.4667291\",\n \"text\": \"@Override\\r\\n\\tpublic void use(Target target) {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7fe91f50132da81bb3a3a407b7f46083\",\n \"score\": \"0.46549326\",\n \"text\": \"@Override\\n\\tprotected void processEngine() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e48d06bd3a4ecf12aa2675a686d9740c\",\n \"score\": \"0.46543905\",\n \"text\": \"public void prepareAttackTargets() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"69b616f6c8e18a4df2852b64bae9c28d\",\n \"score\": \"0.4643801\",\n \"text\": \"public static void updateTexturePackClouds() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"897f38bff50bbec872331acf494892a7\",\n \"score\": \"0.46419102\",\n \"text\": \"@Override\\n public void run() {\\n for (Map.Entry entry :\\n scene.spaces.entrySet()) {\\n entry.getValue().clearPieces();\\n }\\n\\n // Add the GooeySpace suspect pieces back.\\n for (Map.Entry entry :\\n gameState.getSuspectLocations().entrySet()) {\\n SuspectCard suspectCard = entry.getKey();\\n Integer locationId = entry.getValue();\\n\\n // Get the GooeySpace mapped to locationId\\n GooeySpace space = scene.spaces.get(locationId);\\n space.addSuspect(suspectCard);\\n }\\n\\n // Add the GooeySpace weapon pieces back.\\n for (Map.Entry entry :\\n gameState.getWeaponLocations().entrySet()) {\\n WeaponCard card = entry.getKey();\\n Integer locationId = entry.getValue();\\n\\n // Get the GooeySpace mapped to locationId\\n GooeySpace space = scene.spaces.get(locationId);\\n space.addWeapon(card);\\n }\\n if (gameState.isGameActive()) {\\n scene.clearCards();\\n // Populate the face up cards and my cards\\n for (Card card : gameState.getFaceUpCards()) {\\n scene.addOtherCard(card);\\n }\\n\\n for (Card card : gameState.getCards()) {\\n scene.addMyCard(card);\\n }\\n }\\n\\n if (clientState.isConfigured()) {\\n scene.suspectField.setText(\\n clientState.getMySuspect().getName());\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a4882dbbbca62576bc9aadf087fca6c8\",\n \"score\": \"0.46334934\",\n \"text\": \"public void spawnTargetIn(){\\n for(int x = 0; x < MAPIMGWIDTH; x++){\\n for(int y = 0; y < MAPIMGHEIGHT; y++){\\n if((Target)field[x][y][4] != null){\\n spawnTarget = false;\\n }\\n if(spawnTarget && ((Player)field[x][y][1]) != null){\\n field[x][y][4] = new Target(x * TILESIZE + TILESIZE/2, y * TILESIZE + TILESIZE/2);\\n targetX = x;\\n targetY = y;\\n spawnTarget = true;\\n maxY = targetY + 1;\\n minY = targetY - 1;\\n maxX = targetX + 1;\\n minX = targetX - 1;\\n }\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"35c914924c2913dd18f40561cb6dfe4d\",\n \"score\": \"0.46322966\",\n \"text\": \"protected abstract void doBuildTemplate(RunData runData, Context context,\\n AntelopeTaskInstance taskInstance, FormTool form) throws Exception;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4f1718d0bac716b831532d59ff80c800\",\n \"score\": \"0.46285734\",\n \"text\": \"private void getAllTargetsIntern() {\\n getPixels();\\n\\n // concatenate the two lists such that PPA labeled targets are first\\n allTargets = newArrayListWithExpectedSize(ppaTargets.size()\\n + stellarTargets.size());\\n allTargets.addAll(ppaTargets);\\n allTargets.addAll(stellarTargets);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e4a568b380fc9e1e2bf25197a1970d8e\",\n \"score\": \"0.4628163\",\n \"text\": \"private void findTargetPush()\\r\\n {\\r\\n AxisAlignedBB impactBox = this.getEntityBoundingBox().expand(12D, 6D, 12D); \\r\\n List list = this.world.getEntitiesWithinAABB(EntityLivingBase.class, impactBox);\\r\\n \\r\\n //valid entity\\r\\n list.removeIf(ent -> this.equals(ent) || !ent.canBePushed() || !ent.canBeCollidedWith());\\r\\n \\r\\n //從可騎乘目標中挑出一個目標騎乘\\r\\n if (list.size() > 0)\\r\\n {\\r\\n \\tthis.targetPush = list.get(rand.nextInt(list.size()));\\r\\n \\tthis.tickPush = 0;\\r\\n\\t\\t\\tthis.isPushing = true;\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"339f0371e7ea38d751e17fe6de3b3608\",\n \"score\": \"0.4627067\",\n \"text\": \"@Override\\n\\tpublic void crecer() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"339f0371e7ea38d751e17fe6de3b3608\",\n \"score\": \"0.4627067\",\n \"text\": \"@Override\\n\\tpublic void crecer() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ce72683ac8d1b62c98b58ac7006451a6\",\n \"score\": \"0.4624421\",\n \"text\": \"@Override\\n protected void buildStructure() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"006fb30daf647fec761633ad99f9d8ea\",\n \"score\": \"0.4618779\",\n \"text\": \"private void createDecoration() {\\n\\t\\tRandom rand = new Random();\\r\\n\\t\\t\\r\\n\\t\\tint x = rand.nextInt(1281) + 1;\\r\\n\\t\\tint y = rand.nextInt(321) + 400;\\r\\n\\t\\tint cloudSpeed = -(rand.nextInt(11) + 35);\\r\\n\\t\\tint farCloudSpeed = -(rand.nextInt(11) + 10);\\r\\n\\t\\tint numberOfTrees = 6;\\r\\n\\t\\tint treeHeight = 75;\\r\\n\\t\\t\\r\\n\\t\\tint[] trees_positions = {80, 350, 425, 750, 850, 1200};\\r\\n\\t\\tITextureRegion region = resourcesManager.game_trees_1_region;\\r\\n\\t\\tSprite treeSprite = new Sprite(0, 0, region.deepCopy(), vbom);\\r\\n\\t\\t\\r\\n\\t\\tfor (int i = 0; i < numberOfTrees; i++) {\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tint tree = rand.nextInt(6);\\r\\n\\t\\t\\tint treeOffsetX = rand.nextInt(51) - 25;\\r\\n\\t\\t\\tint treeOffsetY = rand.nextInt(101);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tswitch (tree) {\\r\\n\\t\\t\\tcase 0:\\r\\n\\t\\t\\t\\tregion = resourcesManager.game_trees_1_region;\\r\\n\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\tcase 1:\\r\\n\\t\\t\\t\\tregion = resourcesManager.game_trees_2_region;\\r\\n\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\tcase 2:\\r\\n\\t\\t\\t\\tregion = resourcesManager.game_trees_3_region;\\r\\n\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\tcase 3:\\r\\n\\t\\t\\t\\tregion = resourcesManager.game_trees_4_region;\\r\\n\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\tcase 4:\\r\\n\\t\\t\\t\\tregion = resourcesManager.game_trees_5_region;\\r\\n\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\tcase 5:\\r\\n\\t\\t\\t\\tregion = resourcesManager.game_trees_6_region;\\r\\n\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\tdefault:\\r\\n\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\ttreeSprite = new Sprite(trees_positions[i] + treeOffsetX, treeHeight + treeOffsetY, region.deepCopy(), vbom);\\r\\n\\t\\t\\tGameScene.this.attachChild(treeSprite);\\r\\n\\t\\t}\\r\\n\\t\\t\\r\\n\\t\\t\\tSprite cloud1 = new Sprite(x, y, resourcesManager.game_cloud_1_region, vbom) {\\r\\n\\t\\t\\t\\tprotected void onManagedUpdate(float pSecondsElapsed) {\\r\\n\\t\\t\\t\\t\\tsuper.onManagedUpdate(pSecondsElapsed);\\r\\n\\t\\t\\t\\t\\tif (this.getX() < -200) {\\r\\n\\t\\t\\t\\t\\t\\tthis.setPosition(1480, this.getY());\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t};\\r\\n\\t\\t\\t};\\r\\n\\t\\t\\tPhysicsHandler handler = new PhysicsHandler(cloud1);\\r\\n\\t\\t\\tcloud1.registerUpdateHandler(handler);\\r\\n\\t\\t\\thandler.setVelocity(cloudSpeed, 0);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tx = rand.nextInt(1281) + 1;\\r\\n\\t\\t\\ty = rand.nextInt(321) + 400;\\r\\n\\t\\t\\tcloudSpeed = -(rand.nextInt(11) + 35);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tSprite cloud2 = new Sprite(x, y, resourcesManager.game_cloud_2_region, vbom) {\\r\\n\\t\\t\\t\\tprotected void onManagedUpdate(float pSecondsElapsed) {\\r\\n\\t\\t\\t\\t\\tsuper.onManagedUpdate(pSecondsElapsed);\\r\\n\\t\\t\\t\\t\\tif (this.getX() < -200) {\\r\\n\\t\\t\\t\\t\\t\\tthis.setPosition(1480, this.getY());\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t};\\r\\n\\t\\t\\t};\\r\\n\\t\\t\\tPhysicsHandler handler2 = new PhysicsHandler(cloud2);\\r\\n\\t\\t\\tcloud1.registerUpdateHandler(handler2);\\r\\n\\t\\t\\thandler2.setVelocity(cloudSpeed, 0);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tx = rand.nextInt(1281) + 1;\\r\\n\\t\\t\\ty = rand.nextInt(321) + 400;\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tSprite farCloud1 = new Sprite(x, y, resourcesManager.game_far_cloud_1_region, vbom) {\\r\\n\\t\\t\\t\\tprotected void onManagedUpdate(float pSecondsElapsed) {\\r\\n\\t\\t\\t\\t\\tsuper.onManagedUpdate(pSecondsElapsed);\\r\\n\\t\\t\\t\\t\\tif (this.getX() < -200) {\\r\\n\\t\\t\\t\\t\\t\\tthis.setPosition(1480, this.getY());\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t};\\r\\n\\t\\t\\t};\\r\\n\\t\\t\\tPhysicsHandler handler4 = new PhysicsHandler(farCloud1);\\r\\n\\t\\t\\tfarCloud1.registerUpdateHandler(handler4);\\r\\n\\t\\t\\thandler4.setVelocity(farCloudSpeed, 0);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tx = rand.nextInt(1281) + 1;\\r\\n\\t\\t\\ty = rand.nextInt(321) + 400;\\r\\n\\t\\t\\tfarCloudSpeed = -(rand.nextInt(11) + 10);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tSprite farCloud2 = new Sprite(x, y, resourcesManager.game_far_cloud_2_region, vbom) {\\r\\n\\t\\t\\t\\tprotected void onManagedUpdate(float pSecondsElapsed) {\\r\\n\\t\\t\\t\\t\\tsuper.onManagedUpdate(pSecondsElapsed);\\r\\n\\t\\t\\t\\t\\tif (this.getX() < -200) {\\r\\n\\t\\t\\t\\t\\t\\tthis.setPosition(1480, this.getY());\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t};\\r\\n\\t\\t\\t};\\r\\n\\t\\t\\tPhysicsHandler handler5 = new PhysicsHandler(farCloud2);\\r\\n\\t\\t\\tfarCloud2.registerUpdateHandler(handler5);\\r\\n\\t\\t\\thandler5.setVelocity(farCloudSpeed, 0);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tGameScene.this.attachChild(cloud1);\\r\\n\\t\\t\\tGameScene.this.attachChild(cloud2);\\r\\n\\t\\t\\tGameScene.this.attachChild(farCloud1);\\r\\n\\t\\t\\tGameScene.this.attachChild(farCloud2);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9640dd08ae17a289484f910f69cfff0f\",\n \"score\": \"0.461255\",\n \"text\": \"@Override\\n public void initializeGenKill() {\\n int other_tid = st.thFieldMap.get(this.tField);\\n this.KILL.addAll(st.N.get(other_tid));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b9ca985e4eb75286b1d2a5171f9d4350\",\n \"score\": \"0.4598972\",\n \"text\": \"public void build() {\\n\\tstartitup();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7217d3365ecf86726ac948f8652c8c91\",\n \"score\": \"0.4596234\",\n \"text\": \"@Override\\n\\tpublic DI build(Map map) throws ObjectBuilderException {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f5f9ffc777f86cb5870a6eb9f1b3f07d\",\n \"score\": \"0.45928293\",\n \"text\": \"public void buildMappings() {\\n \\t\\tsecondPassCompile();\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0b144aa46222fd75cdc14d52ba1fcfd3\",\n \"score\": \"0.4587474\",\n \"text\": \"@Override \\n\\npublic Context build (Contextcontext){\\n\\t\\n\\n\\tNetworkBuildernetBuilder = new NetworkBuilder(\\\"DC interaction network\\\", context,true);\\n\\tnetBuilder.buildNetwork();\\n\\tGridFactory gridFactory = GridFactoryFinder.createGridFactory(null);\\n\\tGrid grid = gridFactory.createGrid(\\\"grid\\\", context,\\n\\tnew GridBuilderParameters(new BouncyBorders(), //new WrapAroundBorders()\\n\\tnew SimpleGridAdder(),\\n\\ttrue,Constants.GRID_WIDTH,Constants.GRID_SIZE,Constants.GRID_SIZE));\\n\\n\\t//set up parameters\\n\\tParameters params = RunEnvironment.getInstance().getParameters();\\n\\tdouble Inner_Radius = Constants.INNER_RADIUS;\\n\\tdouble Outer_Radius = Constants.OUTER_RADIUS;\\n\\tdouble entry_percent = Constants.ENTRY_PERCENTAGE;\\n\\tdouble exit_percent = Constants.EXIT_PERCENTAGE; \\n\\tint gridWidth = Constants.GRID_WIDTH;\\n\\tint gridHeight = Constants.GRID_SIZE;\\n\\tint gridz = Constants.GRID_SIZE;\\n\\tint TCellCount = Constants.Initial_Tcellcount;\\n\\tint DCCount = Constants.initialDC;//(int)params.getValue(\\\"initialDC\\\");//Constants.INITIAL_DC_COUNT; //(Integer)params.getValue(\\\"DC_count\\\");\\n\\tint centreP = Constants.CENTRE_POINT; //(for a hemisphere this is only for j and k , for a quarter this is only for j else is 0\\n\\tint centreX= 0;\\n\\n\\t//Duration of simulation\\n\\tRunEnvironment.getInstance().endAt(Constants.SIMULATION_LENGTH);\\n\\n\\t//and set up geometry value layer\\n\\n\\tGridValueLayer geometryLayer = new GridValueLayer(\\\"Geometry\\\",true,\\n\\t\\t\\tnew BouncyBorders(), Constants.GRID_WIDTH,Constants.GRID_SIZE,Constants.GRID_SIZE); //new WrapAroundBorders()\\n\\t\\t\\tfor (int i=0; i grid2 = gridFactory.createGrid(\\\"grid2\\\", context,\\n\\t\\t\\t\\t\\t\\tnew GridBuilderParameters(new BouncyBorders(), //new WrapAroundBorders()\\n\\t\\t\\t\\t\\t\\tnew SimpleGridAdder(),true,Constants.GRID_SIZE,Constants.GRID_SIZE));\\n\\n\\n\\t\\t\\t//make boundary\\n\\t\\t\\t\\t\\t\\tfor (int i =0; i < gridWidth; i++){\\n\\t\\t\\t\\t\\t\\t\\tfor (int j = 0; j < gridHeight; j++){\\n\\t\\t\\t\\t\\t\\t\\t\\tfor (int k = 0; k < gridz; k++){\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tGridPoint centre = new GridPoint(centreX,centreP,centreP);\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tGridPoint otherPoint= new GridPoint(i,j,k);\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tif (grid.getDistance(otherPoint,centre) < Outer_Radius )\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t{geometryLayer.set(15,i, j,k);}}}}\\n\\n\\t\\t\\t\\t\\t\\tdouble entry_radius = entry_percent * Outer_Radius;\\n\\t\\t\\t\\t\\t\\tdouble exit_radius = exit_percent * Outer_Radius;\\n\\t\\t\\t\\t\\t\\tdouble exit_height = 0.75 * Outer_Radius + (gridHeight/2); //75% of the height of the node\\n\\n\\t\\t\\t//make general inside\\n\\t\\t\\t\\t\\t\\tfor (int i =0; i < gridWidth; i++){\\n\\t\\t\\t\\t\\t\\t\\tfor (int j = 0; j < gridHeight; j++){\\n\\t\\t\\t\\t\\t\\t\\t\\tfor (int k = 0; k < gridz; k++){\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tGridPoint centre = new GridPoint(centreX,centreP,centreP);\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tGridPoint otherPoint= new GridPoint(i,j,k);\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tif (grid.getDistance(otherPoint,centre) < Inner_Radius )\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t{geometryLayer.set(20,i, j,k);}\\n\\t\\t\\t\\t\\t\\t\\t\\t}}}\\n\\t\\t\\t//make exit \\n\\t\\t\\t\\t\\t\\tfor (int i =0; i < gridWidth; i++){\\n\\t\\t\\t\\t\\t\\t\\tfor (int j = 0; j < gridHeight; j++){\\n\\t\\t\\t\\t\\t\\t\\t\\tfor (int k = 0; k < gridz; k++){\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tGridPoint centre = new GridPoint(centreX,centreP,centreP);\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tGridPoint otherPoint= new GridPoint(i,j,k);\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tif (j < exit_height ){ \\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tif (grid.getDistance(otherPoint,centre) < Inner_Radius )\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t{geometryLayer.set(18,i, j,k);}} }}}\\n\\n\\t\\t\\t//make rest of entry\\n\\t\\t\\t\\t\\t\\tfor (int i =0; i < gridWidth; i++){\\n\\t\\t\\t\\t\\t\\t\\tfor (int j = 0; j < gridHeight; j++){\\n\\t\\t\\t\\t\\t\\t\\t\\tfor (int k = 0; k < gridz; k++){\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tGridPoint centre = new GridPoint(centreX,centreP,centreP);\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tGridPoint otherPoint= new GridPoint(i,j,k);\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tif (grid.getDistance(otherPoint,centre) < exit_radius )\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t{geometryLayer.set(20,i, j,k);}}}}\\n\\n\\t\\t\\t//make inside\\n\\t\\t\\t\\t\\t\\tfor (int i =0; i < gridWidth; i++){\\n\\t\\t\\t\\t\\t\\t\\tfor (int j = 0; j < gridHeight; j++){\\n\\t\\t\\t\\t\\t\\t\\t\\tfor (int k = 0; k < gridz; k++){\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tGridPoint centre = new GridPoint(centreX,centreP,centreP);\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tGridPoint otherPoint= new GridPoint(i,j,k);\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tif (grid.getDistance(otherPoint,centre) < entry_radius)\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t{geometryLayer.set(24,i, j,k);}\\n\\t\\t\\t\\t\\t\\t\\t\\t}}}\\n\\n\\t\\t\\t// take the middle cross section and convert to a 2 D grid\\n\\t\\t\\t\\t\\t\\tfor (int j=0; jFreePoints = new ArrayList();\\n\\tfor (int r =0; r < gridWidth; r++)\\n\\t\\t{ for (int j = 0; j < gridHeight; j++)\\n \\t\\t{for (int k = 0; k < gridz; k++)\\n \\t\\t\\t{ GridPoint centre = new GridPoint(centreX,centreP,centreP);\\n \\t\\t\\tGridPoint otherPoint= new GridPoint(r,j,k);\\n \\t\\t\\tif (grid.getDistance(otherPoint,centre) < (Constants.INNER_RADIUS - 1))\\n \\t\\t\\t\\t{FreePoints.add(otherPoint);}}}}\\n\\t\\n\\t//move objects to points in the list\\n\\tfor (Object obj:context)\\n\\t\\t{ SimUtilities.shuffle(FreePoints, RandomHelper.getUniform()); \\n\\t\\t\\tint index = 0;\\n\\t\\t\\tGridPoint point = FreePoints.get(index);\\t\\n\\t\\t\\tgrid.moveTo (obj, (int)point.getX(),(int)point.getY(),(int)point.getZ());}\\n\\n\\t//if want to count Cells added,\\n\\t\\tint index3 =0;\\n\\t\\tint index4 = 0;\\n\\t\\tfor (Object obj:context){\\n\\t\\t\\tif (obj instanceof CognateCell)\\n\\t\\t\\t{\\n\\t\\t\\t\\tif ( ((CognateCell)obj).getCD4() == true)\\n\\t\\t\\t\\t{index3++;}\\n\\t\\t\\t\\tif (((CognateCell)obj).getCD8() == true)\\n\\t\\t\\t\\t{index4++;}\\t}}\\n\\t\\tSystem.out.println(\\\"CD4:CD8 \\\" + index3 +\\\" \\\"+index4);\\n\\t\\t\\nreturn context;\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6b36cb139721b16abbf6708481249022\",\n \"score\": \"0.45829362\",\n \"text\": \"private BuildStageTemplates() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0b200a47d860975892ac7216a49abafc\",\n \"score\": \"0.45790437\",\n \"text\": \"GoalTarget createGoalTarget();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ce33facc7cc8f8d5ec60a6745fae9b0a\",\n \"score\": \"0.4578614\",\n \"text\": \"public GraphCopyCommand(final Graph sourceGraph, final Graph targetGraph,\\n\\t\\t\\tfinal EObject container) {\\n\\t\\tthis.sourceGraph = sourceGraph;\\n\\t\\tthis.targetGraph = targetGraph;\\n\\t\\tnodes = new HashMap();\\n\\n\\t\\tList mappings = new ArrayList();\\n\\n\\t\\tif (container instanceof Rule) {\\n\\t\\t\\tmappings = ((Rule) container).getMappings();\\n\\t\\t} else if (container instanceof NestedCondition) {\\n\\t\\t\\tmappings = ((NestedCondition) container).getMappings();\\n\\t\\t}\\n\\n\\t\\tfor (Node node : sourceGraph.getNodes()) {\\n\\t\\t\\tboolean nodeMapped = false;\\n\\t\\t\\tfor (Mapping mapping : new ArrayList(mappings)) {\\n\\t\\t\\t\\tif (mapping.getOrigin() == node\\n\\t\\t\\t\\t\\t\\t&& mapping.getImage().getGraph() == targetGraph) {\\n\\t\\t\\t\\t\\tnodeMapped = true;\\n\\t\\t\\t\\t\\t// add(new DeleteMappingCommand(mapping));\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\n\\t\\t\\tif (!nodeMapped) {\\n\\t\\t\\t\\tNode newNode = HenshinFactory.eINSTANCE.createNode();\\n\\n\\t\\t\\t\\tif (node.getName() != null) {\\n\\t\\t\\t\\t\\tnewNode.setName(new String(node.getName()));\\n\\t\\t\\t\\t}\\n\\n\\t\\t\\t\\tnewNode.setType(node.getType());\\n\\n\\t\\t\\t\\tNodeLayout nodeLayout = HenshinLayoutUtil.INSTANCE\\n\\t\\t\\t\\t\\t\\t.getLayout(node);\\n\\n\\t\\t\\t\\tint x = nodeLayout.getX();\\n\\t\\t\\t\\tint y = nodeLayout.getY();\\n\\n\\t\\t\\t\\tNodeLayout targetLayout = null;\\n\\t\\t\\t\\tCreateNodeCommand newNodeCmd = null;\\n\\n\\t\\t\\t\\tif (targetGraph.eContainer() instanceof NestedCondition) {\\n\\t\\t\\t\\t\\tnewNodeCmd = new CreateNodeCommand(targetGraph, newNode, x,\\n\\t\\t\\t\\t\\t\\t\\ty);\\n\\n\\t\\t\\t\\t} else if ((sourceGraph.isLhs() && targetGraph.isRhs())\\n\\t\\t\\t\\t\\t\\t|| (!sourceGraph.isLhs() && !targetGraph.isLhs())) {\\n\\t\\t\\t\\t\\tnewNodeCmd = new CreateNodeCommand(targetGraph, newNode, x,\\n\\t\\t\\t\\t\\t\\t\\ty, false, false);\\n\\n\\t\\t\\t\\t}\\n\\n\\t\\t\\t\\tif (newNodeCmd != null) {\\n\\t\\t\\t\\t\\tadd(newNodeCmd);\\n\\n\\t\\t\\t\\t\\ttargetLayout = newNodeCmd.getNodeLayout();\\n\\t\\t\\t\\t}\\n\\n\\t\\t\\t\\tCreateNodeMappingCommand mapCmd = new CreateNodeMappingCommand(\\n\\t\\t\\t\\t\\t\\tnode, newNode, container);\\n\\n\\t\\t\\t\\tmapCmd.setImageLayout(targetLayout);\\n\\t\\t\\t\\tmapCmd.setImgGraph(targetGraph);\\n\\n\\t\\t\\t\\tadd(mapCmd);\\n\\n\\t\\t\\t\\tnodes.put(node, newNode);\\n\\n\\t\\t\\t\\tfor (Attribute attr : node.getAttributes()) {\\n\\t\\t\\t\\t\\tadd(new CreateAttributeCommand(newNode, new String(\\n\\t\\t\\t\\t\\t\\t\\tattr.getValue()), attr.getType()));\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\tfor (Edge edge : sourceGraph.getEdges()) {\\n\\t\\t\\tadd(new CreateEdgeCommand(targetGraph, nodes.get(edge.getSource()),\\n\\t\\t\\t\\t\\tnodes.get(edge.getTarget()), edge.getType()));\\n\\t\\t}\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"67dffa8733956e50e35a8b7f8e9949a3\",\n \"score\": \"0.45771143\",\n \"text\": \"@Override\\r\\n \\tprotected void processEndBatch () {\\n \\t\\tUtil.createDirectories(manifest.getPackageRoot()+\\\"omegat/\\\");\\r\\n \\t\\tUtil.createDirectories(manifest.getPackageRoot()+\\\"glossary/\\\");\\r\\n \\t\\tUtil.createDirectories(manifest.getTempTargetDirectory());\\r\\n \\t\\tUtil.createDirectories(manifest.getTempTmDirectory());\\r\\n \\r\\n \\t\\t// Write the OmegaT project file\\r\\n \\t\\tcreateOmegaTProject();\\r\\n \\t\\t\\r\\n \\t\\t// Call base class method\\r\\n \\t\\tsuper.processEndBatch();\\r\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1b3e4454ec6ceede4dfaba97e57f32ec\",\n \"score\": \"0.45768824\",\n \"text\": \"public void update(GameContainer gc, GameManager gm, float dt){\\n\\t\\t\\n\\t\\t// if the targhet hasnbt been set, set it\\n\\t\\tif(target == null){\\n\\t\\t\\ttarget = gm.getObject(targetTag);\\n\\t\\t}\\n\\t\\t\\n\\t\\t// if the target was not found, return.\\n\\t\\tif(target == null)return;\\n\\t\\t\\n\\t\\t//////////////////////////////////////////////////////////////////////////////////////////////////////////\\n\\t\\t// \\t\\t\\t\\t\\t\\t\\t\\t\\tDYNAMIC CAMERA MOVEMENT\\n\\t\\t// Camera movement speed will depend on how far the target is from the center of the screen\\n\\t\\t// Camera will not follow player exactly, instead camera will 'lag' behind the target.\\n\\t\\t\\n\\t\\t// I DO NOT LIKE THIS EFFECT, IT NEEDS TO BE FIXED OR DONT USE\\n\\t\\t\\n\\t\\t// Determine where the camera will move towards\\n\\t\\t//targetCameraLocationX = (target.getPosX() - target.getWidth()/2) - gc.getWidth()/2;\\n\\t\\t//targetCameraLocationY = (target.getPosY() - target.getHeight()/2) - gc.getHeight()/2;\\n\\t\\t\\n\\t\\t// Determine how much the camera should move this frame\\n\\t\\t//offX -= dt * (offX - targetCameraLocationX) * cameraSpeedConstant;\\n\\t\\t//offY -= dt * (offY - targetCameraLocationY) * cameraSpeedConstant;\\n\\t\\t///////////////////////////////////////////////////////////////////////////////////////////////////////////\\n\\t\\t\\n\\t\\t\\n\\t\\t///////////////////////////////////////////////////////////////////////////////////////////////////////////\\n\\t\\t//\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tREGULAR CAMERA\\n\\t\\toffX = (target.getPosX() - target.getWidth()/2) - gc.getWidth()/2; //center camera in middle of screen by subtracting half width\\n\\t\\toffY = (target.getPosY() - target.getHeight()/2) - gc.getHeight()/2;\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t\\t//Dont show zone outside level\\n\\t\\tif(offX < 0){\\n\\t\\t\\toffX = 0;\\n\\t\\t}\\n\\t\\t\\n\\t\\tif(offY < 0){\\n\\t\\t\\toffY = 0;\\n\\t\\t}\\n\\t\\t\\n\\t\\tif(offX > (gm.getLevelWidth() * GameManager.TS) - gc.getWidth()){\\n\\t\\t\\toffX = (gm.getLevelWidth() * GameManager.TS) - gc.getWidth();\\n\\t\\t\\t//System.out.println(\\\"Level Width: \\\" + gm.getLevelWidth());\\n\\t\\t}\\n\\t\\t\\n\\t\\tif(offY > (gm.getLevelHeight() * GameManager.TS) - gc.getHeight()){\\n\\t\\t\\toffY = (gm.getLevelHeight() * GameManager.TS) - gc.getHeight();\\n\\t\\t\\t//System.out.println(\\\"Level Width: \\\" + gm.getLevelWidth());\\n\\t\\t}\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t\\t// Set CamX and CamY\\n\\t\\tgc.getRenderer().setCamX((int)offX);\\n\\t\\tgc.getRenderer().setCamY((int)offY);\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9644ce1c088233e6c74fb1bf40af90a9\",\n \"score\": \"0.4570092\",\n \"text\": \"object_detection.protos.FasterRcnnOuterClass.Context getContextConfig();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d0d2a263f384cd94ebf59ab9bf9d0714\",\n \"score\": \"0.45685995\",\n \"text\": \"public MachineGun(KeyPointEntity owner)\\r\\n\\t{\\r\\n\\t\\tthis.owner = owner;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8987eb5cb3cc2e67512fc5514d251254\",\n \"score\": \"0.4562434\",\n \"text\": \"@Override\\n\\tprotected void loadKaraokeResources() {\\n\\t\\tLog.d(TAG, \\\"loadKaraokeResources: \\\");\\n\\t\\tttpAmefuri1 = mTexturePackLoaderFromSource.load(\\\"amefuri1.xml\\\");\\n\\t\\tttpAmefuri1.loadTexture();\\n\\t\\tttpLibAmefuri1 = ttpAmefuri1.getTexturePackTextureRegionLibrary();\\n\\t\\tttpAmefuri2 = mTexturePackLoaderFromSource.load(\\\"amefuri2.xml\\\");\\n\\t\\tttpAmefuri2.loadTexture();\\n//\\t\\tttpLibAmefuri2 = ttpAmefuri2.getTexturePackTextureRegionLibrary();\\n\\t\\tttpAmefuri3 = mTexturePackLoaderFromSource.load(\\\"amefuri3.xml\\\");\\n\\t\\tttpAmefuri3.loadTexture();\\n\\t\\tttpLibAmefuri3 = ttpAmefuri3.getTexturePackTextureRegionLibrary();\\n\\t\\t\\n\\t\\tttrBackground = ttpLibAmefuri3.get(Vol3AmefuriResource.A3_04_IPHONE3G_AMEFURI_HAIKEI_ID);\\n\\t\\tttrRBus = ttpLibAmefuri1.get(Vol3AmefuriResource.A3_06_1_IPHONE3G_E0003_BUS_ID);\\n\\t\\t// Whell\\n\\t\\tttrRWheel = ttpLibAmefuri1.get(Vol3AmefuriResource.A3_06_2_IPHONE3G_E0003_BUS_ID);\\n\\t\\t\\n\\t\\tttrRHuman = getTiledTextureFromPacker(ttpAmefuri1, \\n\\t\\t\\t\\tVol3AmefuriResource.A3_12_1_IPHONE3G_HUMAN_ID,\\n\\t\\t\\t\\tVol3AmefuriResource.A3_12_2_IPHONE3G_HUMAN_ID,\\n\\t\\t\\t\\tVol3AmefuriResource.A3_12_3_IPHONE3G_HUMAN_ID,\\n\\t\\t\\t\\tVol3AmefuriResource.A3_12_4_IPHONE3G_HUMAN_ID);\\n\\n\\t\\tttrRHuman2 = getTiledTextureFromPacker(ttpAmefuri1,\\n\\t\\t\\t\\tVol3AmefuriResource.A3_16_1_IPHONE3G_HUMAN_ACTION_ID,\\n\\t\\t\\t\\tVol3AmefuriResource.A3_16_2_IPHONE3G_HUMAN_ACTION_ID);\\n\\t\\tttrRHumanBound = ttpLibAmefuri3.get(Vol3AmefuriResource.HUMAN_TEMP_ID);\\n\\t\\tttrRCat = getTiledTextureFromPacker(ttpAmefuri1,\\n\\t\\t\\t\\tVol3AmefuriResource.A3_17_1_IPHONE3G_CATS_BEFORE_ID,\\n\\t\\t\\t\\tVol3AmefuriResource.A3_17_2_IPHONE3G_CATS_AFTER_ID);\\n\\t\\t\\n\\t\\tttrRFlog = getTiledTextureFromPacker(ttpAmefuri1, \\n\\t\\t\\t\\tVol3AmefuriResource.A3_11_1_IPHONE3G_E0002_FROG_ID,\\n\\t\\t\\t\\tVol3AmefuriResource.A3_11_2_IPHONE3G_E0002_FROG_ID,\\n\\t\\t\\t\\tVol3AmefuriResource.A3_11_3_IPHONE3G_E0002_FROG_ID,\\n\\t\\t\\t\\tVol3AmefuriResource.A3_11_4_IPHONE3G_E0002_FROG_ID);\\n\\t\\t\\n\\t\\tttrRain = getTiledTextureFromPacker(ttpAmefuri2, \\n\\t\\t\\t\\tVol3AmefuriResource.A3_14_1_IPHONE3G_RAIN_ID,\\n\\t\\t\\t\\tVol3AmefuriResource.A3_14_2_IPHONE3G_RAIN_ID,\\n\\t\\t\\t\\tVol3AmefuriResource.A3_14_3_IPHONE3G_RAIN_ID,\\n\\t\\t\\t\\tVol3AmefuriResource.A3_14_4_IPHONE3G_RAIN_ID);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ef40053701d49ca9b7019394194af0d2\",\n \"score\": \"0.45568517\",\n \"text\": \"public Pikeman(Pane layer, Castle src, Castle target)\\r\\n\\t{\\r\\n\\t\\tsuper(layer, Settings.COST_PRODUCTION_PIKEMAN, Settings.TIME_COST_PIKEMAN, \\r\\n\\t\\t\\t\\tSettings.SPEED_PIKEMAN, Settings.HEALTH_PIKEMAN, Settings.DAMMAGES_PIKEMAN, src, target);\\r\\n\\t\\tr.setFill(Color.RED);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2c344791dc68729e286c26fac8a283ff\",\n \"score\": \"0.4544706\",\n \"text\": \"@Test\\n public void build_default() throws Exception {\\n OBOSession oboSession = OboUtils.createOBOSession( CvObjectOntologyBuilderTest.class.getResource(\\\"/ontologies/psi-mi25-1_51.obo\\\" ));\\n log.debug( oboSession.getObjects().size() );\\n\\n CvObjectOntologyBuilder ontologyBuilder = new CvObjectOntologyBuilder( oboSession );\\n Assert.assertEquals( 16, ontologyBuilder.getRootOBOObjects().size() );\\n\\n int allOrphanCvs = ontologyBuilder.getOrphanCvObjects().size();\\n Assert.assertEquals( 54, allOrphanCvs );\\n\\n List allCvs = ontologyBuilder.getAllCvs();\\n int allCvsSize = allCvs.size();\\n Assert.assertEquals( 987, allCvsSize );\\n\\n List orderedList = ontologyBuilder.getAllOrderedCvs( allCvs );\\n Assert.assertEquals( 987, orderedList.size() );\\n\\n for ( CvDagObject cvdag : orderedList ) {\\n log.debug( \\\"CvDag: \\\\t\\\" + cvdag.getMiIdentifier() + \\\"\\\\t\\\" + cvdag.getObjClass() + \\\"\\\\t\\\" + cvdag.getShortLabel() );\\n }\\n\\n\\n if ( log.isDebugEnabled() )\\n log.debug( \\\"ontologyBuilder.getAllCvsAsList().size() \\\" + ontologyBuilder.getAllCvs().size() );\\n Assert.assertEquals(\\\"CvInteraction\\\", ontologyBuilder.findCvClassforMI( \\\"MI:0439\\\" ).getSimpleName());\\n Assert.assertEquals(\\\"CvDatabase\\\", ontologyBuilder.findCvClassforMI( \\\"MI:0244\\\" ).getSimpleName() );//non-root object\\n Assert.assertEquals(\\\"CvFeatureIdentification\\\", ontologyBuilder.findCvClassforMI( \\\"MI:0003\\\" ).getSimpleName() );//root object\\n\\n //an example term with 3 Aliases and 2 xrefs, a database xref and identity xref\\n /**\\n * [Term]\\n id: MI:0439\\n name: random spore analysis\\n def: \\\"A technique used to detect genetic interactions between 2 (or more) genes in a sporulating organism by scoring a large population of haploid spores for a phenotype and correlating the phenotype with the presence of single vs double (multiple) mutations. A diploid heterozygous organism harbouring mutations in two (or more) genes is induced to sporulate. Resulting spores are meiotic segregants that are haploid and are either wild type or mutant at each locus. Spores are scored for a phenotype, such as loss of viability.\\\" [PMID:14755292]\\n subset: PSI-MI slim\\n synonym: \\\"random-spore analysis\\\" EXACT PSI-MI-alternate []\\n synonym: \\\"RSA\\\" EXACT PSI-MI-alternate []\\n synonym: \\\"rsa\\\" EXACT PSI-MI-short []\\n synonym: \\\"spore germination\\\" EXACT PSI-MI-alternate []\\n is_a: MI:0254 ! genetic interference\\n\\n */\\n OBOObject testObj = ( OBOObject ) oboSession.getObject( \\\"MI:0439\\\" );\\n CvObject cvObject = ontologyBuilder.toCvObject( testObj );\\n Assert.assertEquals( \\\"random spore analysis\\\", cvObject.getFullName() );\\n Assert.assertEquals( \\\"MI:0439\\\", CvObjectUtils.getIdentity( cvObject ) );\\n Assert.assertEquals( \\\"MI:0439\\\", cvObject.getMiIdentifier() );\\n Assert.assertEquals( \\\"rsa\\\", cvObject.getShortLabel() );\\n Assert.assertEquals( 3, cvObject.getAliases().size() );\\n Assert.assertEquals( 2, cvObject.getXrefs().size() );\\n Assert.assertTrue( CvObjectUtils.hasIdentity( cvObject, \\\"MI:0439\\\" ) );\\n\\n //Obsolote Term test MI:0443\\n OBOObject testObsoleteObj = ( OBOObject ) oboSession.getObject( \\\"MI:0443\\\" );\\n Assert.assertEquals( true, testObsoleteObj.isObsolete() );\\n\\n //947+1=948 root object MI:0000\\n Assert.assertEquals( 957, ontologyBuilder.getAllMIOBOObjects().size() );\\n Assert.assertEquals( 54, ontologyBuilder.getObsoleteOBOObjects().size() );\\n Assert.assertEquals( 54, ontologyBuilder.getOrphanOBOObjects().size() );\\n Assert.assertEquals( 11, ontologyBuilder.getInvalidOBOObjects().size() );\\n //957+11+1=959\\n Assert.assertEquals( 969, ontologyBuilder.getAllOBOObjects().size() );\\n\\n OBOObject endogenousObj = ( OBOObject ) oboSession.getObject( \\\"MI:0222\\\" );\\n CvObject endogenousCvObject = ontologyBuilder.toCvObject( endogenousObj );\\n testCvObject( endogenousCvObject );\\n\\n OBOObject rnaCleavage = ( OBOObject ) oboSession.getObject( \\\"MI:0902\\\" );\\n CvObject rnaCleavageCv = ontologyBuilder.toCvObject( rnaCleavage );\\n testCvObject( rnaCleavageCv );\\n\\n\\n OBOObject obsoleteTerm = ( OBOObject ) oboSession.getObject( \\\"MI:0021\\\" );\\n CvObject obsoleteCv = ontologyBuilder.toCvObject( obsoleteTerm );\\n testCvObject( obsoleteCv );\\n\\n OBOObject defTerm = ( OBOObject ) oboSession.getObject( \\\"MI:0409\\\" );\\n CvObject longDefCv = ontologyBuilder.toCvObject( defTerm );\\n testCvObject( longDefCv );\\n\\n //OBOObject testObj = (OBOObject)oboSession.getObject(\\\"MI:0001\\\");//root Cv interaction detection method\\n //OBOObject testObj = (OBOObject)oboSession.getObject(\\\"MI:0012\\\");\\n //OBOObject testObj = (OBOObject)oboSession.getObject(\\\"MI:0192\\\");//with GO\\n //OBOObject testObj = (OBOObject)oboSession.getObject(\\\"MI:0122\\\");//with unique resid\\n //OBOObject testObj = (OBOObject)oboSession.getObject(\\\"MI:0460\\\"); //def with url\\n //OBOObject testObj = (OBOObject)oboSession.getObject(\\\"MI:0021\\\"); //def with OBSOLETE\\n //OBOObject testObj = (OBOObject)oboSession.getObject(\\\"MI:2002\\\"); //example with pubmed\\n //OBOObject testObj = (OBOObject)oboSession.getObject(\\\"MI:0108\\\"); //example with comment subset PSI-MI slim\\n //OBOObject testObj = (OBOObject)oboSession.getObject(\\\"MI:2120\\\"); //example with comment subset Drugable\\n //OBOObject testObj = (OBOObject)oboSession.getObject(\\\"MI:0031\\\"); //example with alias\\n //OBOObject testObj = (OBOObject)oboSession.getObject(\\\"MI:0244\\\"); //example with 4 annotations + search-url\\n\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0a5839884e38d1ebd9d81a098664e102\",\n \"score\": \"0.4543646\",\n \"text\": \"public TCaseBuilder()\\n {\\n start();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"30faf8e442606e3e443afce71d3dfb5e\",\n \"score\": \"0.45364398\",\n \"text\": \"public SinglePlayEnvironment(String nnetPath, Random random, int testLevelID) {\\n // Screen width and height\\n this.width = 800;\\t//Gdx.graphics.getWidth();\\n this.height = 1216;\\t//Gdx.graphics.getHeight();\\n //Gdx.graphics.setDisplayMode((int)width, (int)height, false);\\n\\n // The test level to display\\n String levelPath = TrainingParams.TileMapsPath + \\\"TestLevel\\\" + testLevelID + \\\".tmx\\\";\\n\\n // Setup camera\\n this.Camera = new OrthographicCamera();\\n this.Camera.setToOrtho(false, width, height);\\n this.Camera.update();\\n\\n // Setup map asset\\n this.TiledMap = new TmxMapLoader().load(levelPath);\\n this.TiledMapRenderer = new OrthogonalTiledMapRenderer(this.TiledMap);\\n\\n // Setup input (motion grabbing) processing\\n Gdx.input.setInputProcessor(this);\\n\\n // Setup Rendering Objects\\n this.MapNodeSR = new ShapeRenderer();\\n this.SpriteBatchRenderer = new SpriteBatch();\\n this.LineRenderer = new ShapeRenderer();\\n \\n // Setup Trackers\\n this.BulletTracker = Collections.newSetFromMap(new ConcurrentHashMap());\\n this.trainees = Collections.newSetFromMap(new ConcurrentHashMap());\\n this.shooters = Collections.newSetFromMap(new ConcurrentHashMap());\\n \\n // Generate TileMap Objects\\n this.TraverseNodes = new ConcurrentHashMap();\\n this.TileNodeGraph = createGraphFromTileMap(this.TraverseNodes, (TiledMapTileLayer) this.TiledMap.getLayers().get(1));\\n \\n // Add a Training Shooter\\n this.shooters.add(new TrainingShooter(190, 630, this.trainees, this.shooters, this.BulletTracker, random));\\n this.shooters.add(new TrainingShooter(540, 700, this.trainees, this.shooters, this.BulletTracker, random));\\n this.shooters.add(new TrainingShooter(510, 90, this.trainees, this.shooters, this.BulletTracker, random));\\n this.shooters.add(new TrainingShooter( 65, 1090, this.trainees, this.shooters, this.BulletTracker, random));\\n this.shooters.add(new TrainingShooter(740, 1090, this.trainees, this.shooters, this.BulletTracker, random));\\n this.shooters.add(new TrainingShooter(410, 960, this.trainees, this.shooters, this.BulletTracker, random));\\n \\n int startX = 16;\\n int startY = 16;\\n \\n switch(testLevelID) {\\n case 1:\\n \\tstartX = 16;\\n startY = 16;\\n break;\\n case 2:\\n \\tstartX = 784;\\n startY = 16;\\n break;\\n case 3:\\n \\tstartX = 784;\\n startY = 1200;\\n break;\\n case 4:\\n \\tstartX = 16;\\n startY = 1200;\\n break;\\n case 5:\\n \\tstartX = 16;\\n startY = 16;\\n break;\\n }\\n \\n // Add the Trainee\\n if( NNET ) { \\n \\tthis.trainees.add(new TrainingAgent(testLevelID, NeuralNetwork.createFromFile(nnetPath), startX, startY,\\n this.TraverseNodes, random, this.TiledMap, this.trainees, this.shooters, this.BulletTracker));\\n }\\n \\n if( PUPPET ) {\\n \\tthis.puppet = new PuppetAgent(this.TiledMap, this.TraverseNodes, new TileAStarPathFinder(), startX, startY, this.BulletTracker, this.shooters);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f9453575c664e3f2f2ee72768384aee\",\n \"score\": \"0.45312124\",\n \"text\": \"public TartGP() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c88ab6b53ebc9e65636a4fdb7becda68\",\n \"score\": \"0.45305997\",\n \"text\": \"@Test\\n public void testPutContainer() {\\n System.out.println(\\\"putContainer\\\");\\n Controller instance = new Controller(new WindowTest());\\n instance.Start();\\n \\n AGV agv = instance.buffers.get(0).ownedAGV.get(0);\\n Crane bufferCrane = instance.buffers.get(0).crane;\\n try {\\n instance.putContainer(agv, bufferCrane);\\n } catch (Exception e){\\n \\n }\\n \\n assertEquals(true,true);\\n // TODO review the generated test code and remove the default call to fail.\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ee5f7edf53964f7631e6226690a1dc63\",\n \"score\": \"0.45176694\",\n \"text\": \"public interface Producer {\\n\\n public static final int DEFAULT = 0;\\n public static final int SKIP_DUPLICATE_TEST = 1;\\n // Producer delivers from Path of from Provenance Graph\\n public static final int EXTENSION = 2;\\n\\t\\n\\t/**\\n\\t * KGRAM calls this method before executing a query.\\n\\t * It enables to initialize the Producer\\n\\t * \\n\\t */\\n\\tdefault void init(Query q) {};\\n\\tdefault void start(Query q) {};\\n\\tdefault void finish(Query q) {};\\n\\t\\n\\t/**\\n\\t * A hook to tune Producer\\n\\t */\\n\\tvoid setMode(int n);\\n \\n public int getMode();\\n\\t\\n\\t\\n\\t/**\\n\\t * Return all graph nodes that are known by the Producer.\\n\\t * Should return graph nodes that are member of from (if any).\\n\\t * \\n\\t * @param gNode The graph query node \\n\\t * @param from The from named node list (may be empty)\\n\\t * @param env The binding environment\\n\\t * @return graph nodes\\n\\t */\\n\\tIterable getGraphNodes(Node gNode, List from, Environment env);\\n\\t\\n\\t/**\\n\\t * Check whether a node is a graph node and if yes, check it is member of from (if any)\\n\\t * @param gNode The graph query node \\n\\t * @param from The from named node list (may be empty)\\n\\t * @param env The binding environment\\n\\t * @return true if the node is a graph node\\n\\t */\\n\\tboolean isGraphNode(Node gNode, List from, Environment env);\\n\\t\\n\\t/**\\n\\t * Return candidate edges that match a query edge. Matcher checks conformity afterwards.\\n\\t * If there is a gNode\\n\\t * If it is bound in environment, should return edges from the same graph as gNode value.\\n\\t * Otherwise if there is a from, should return edges whose graph is in from.\\n\\t * If there is no gNode, if there is a from, should return edges whose graph is in from. \\n\\t * Should return edges whose nodes conform to current bindings in environment, nevertheless bindings are checked afterwards in KGRAM.\\n\\t * \\n\\t * @param gNode The query graph node if any\\n\\t * @param from The from named if gNode is not null, otherwise the from (from may be empty)\\n\\t * @param qEdge The query edge\\n\\t * @param env The current mapping : query node -> target node\\n\\t * @return Candidate edge iterator\\n\\t */\\n\\tIterable getEdges(Node gNode, List from, Edge qEdge, Environment env);\\n \\n Mappings getMappings(Node gNode, List from, Exp exp, Environment env);\\n\\n\\t\\n\\t\\n\\t/**\\n\\t * Same as candidate() for edges\\n\\t * @param gNode\\n\\t * @param from\\n\\t * @param qNode\\n\\t * @param env\\n\\t * @return\\n\\t */\\n\\tIterable getNodes(Node gNode, List from, Node qNode, Environment env);\\n\\n\\t\\n\\t\\n\\t/**************** PATH **************/\\n\\t\\n\\t\\n\\t/**\\n\\t * Start the processing of a path instruction with qEdge as pseudo query edge.\\n\\t * index is the index of the node in qEdge where to start path.\\n\\t * It is the index of the node that we want to enumerate in getNodes()\\n\\t * \\n\\t * @param qEdge\\n\\t * @param index\\n\\t */\\n\\tvoid initPath(Edge qEdge, int index);\\n\\t\\n\\t\\n\\t/**\\n\\t * Return nodes for Zero length path \\n\\t * \\n\\t * @param gNode The graph node where to get nodes (may be null)\\n\\t * @param from from or from named, may be empty\\n\\t * @param qEdge Pseudo query edge for path\\n\\t * @param env The binding environment\\n\\t * @param exp either property name or a ! (pname | pname) or null\\n\\t * @param index of the node to return\\n\\t * @return Iterable of start nodes for exp\\n\\t * \\n\\t * SPARQL 1.1 requires:\\n\\t * ZeroLengthPath match all nodes of (current) graph, including Literals\\n\\t * If the argument is a constant, it matches even if it is not a node of the graph\\n\\t * \\n\\t */\\n\\t\\n\\tIterable getNodes(Node gNode, List from, Edge qEdge, Environment env, \\n\\t\\t\\tList exp, int index);\\n\\t\\n\\t\\n\\t/**\\n\\t * Return candidate edges for a path step for an elementary regex exp.\\n\\t * Edge start at start Node, start is the node at index.\\n\\t * Hence start can be edge.getNode(0) as well as edge.getNode(1)\\n\\t * \\n\\t * isInverse = true means consider also target edge nodes in reverse order\\n\\t * query: start = Bob ; ?a ^foaf:knows ?b\\n\\t * target: Jack foaf:knows Bob\\n\\t * return edge above because we consider also Bob foaf:knows Jack\\n\\t * This is orthogonal to index = 1, in which case we also consider nodes in inverse order\\n\\t * \\n\\t * @param gNode The start node of edges\\n\\t * @param from from or from named, may be empty\\n\\t * @param qEdge Pseudo query edge for path\\n\\t * @param env The binding environment\\n\\t * @param exp either property name or a ! (pname | pname)\\n\\t * @param src current source if any\\n\\t * @param start The start node for current edge\\n\\t * @param index of the start node in edge\\n\\t * exp.isInverse() authorize to consider nodes in reverse order (as if the symmetric relation would exist)\\n\\t * @return Iterable of start nodes for exp\\n\\t */\\n\\tIterable getEdges(Node gNode, List from, Edge qEdge, Environment env, \\n\\t\\t\\tRegex exp, Node src, Node start, int index);\\n\\t\\n\\t\\n\\t\\n\\t/**************** value to node **************/\\n\\t\\n\\t\\n\\t/**\\n\\t * Given a value from the filter language, return a Node that contains this value\\n\\t * use case: select fun(?x) as ?y\\n\\t * \\n\\t * @param value a target value from the filter language\\n\\t */\\n\\tNode getNode(Object value);\\n \\n // cast java value into IDatatype value\\n Object getValue(Object value);\\n \\n // DatatypeValue from IDatatype or from Java value\\n DatatypeValue getDatatypeValue(Object value);\\n \\t\\n\\t/**\\n\\t * use case: filter (?x = ?y) filter(?x = 'cst')\\n\\t * is it possible to bind ?x to the argument to optimize query processing ?\\n\\t * node is the argument \\n\\t */\\n\\tboolean isBindable(Node node);\\n\\t\\n\\t\\n\\t/**\\n\\t * Given a value from the filter language, return a list of Node that represent this value\\n\\t * use case: select (xpath('/book/title') ?as list) \\n\\t * \\n\\t * @param value\\n\\t * @return List\\n\\t */\\n\\tList toNodeList(Object value);\\n\\t\\n\\t\\n\\t/**\\n\\t * Given an object resulting from the evaluation of an extension function, return Mappings\\n\\t * that represents the values\\n\\t * use case: select (sql('select fom where') as (?x, ?y))\\n\\t * in case of sql, the object is a java.sql.ResultSet\\n\\t * \\n\\t * @param qNodes the query nodes to bind with values of object\\n\\t * @param object\\n\\t * @return Mappings\\n\\t */\\n\\tMappings map(List qNodes, Object object);\\n\\n /**\\n * graph node { }\\n * Node node represents (contains) a graph \\n */\\n boolean isProducer(Node node);\\n\\n Producer getProducer(Node node, Environment env);\\n \\n // use case: Producer created for a specific query\\n Query getQuery();\\n\\t\\n // May return an object that implement the RDF graph\\n Object getGraph();\\n \\n void setGraphNode(Node n);\\n \\n Node getGraphNode();\\n \\n Entity copy(Entity ent);\\n\\n\\t void close();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"85ec20add82b940135b1a80283b607ff\",\n \"score\": \"0.45173445\",\n \"text\": \"public void TransformBy ( Transformation rkTransform,\\r\\n BoundingVolume pkResult)\\r\\n {\\r\\n Sphere3f rkTarget = ((SphereBV)pkResult).m_kSphere;\\r\\n rkTarget.Center = rkTransform.ApplyForward(m_kSphere.Center);\\r\\n rkTarget.Radius = rkTransform.GetNorm()*m_kSphere.Radius;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"60e1818fe132ae7e742a121cf10b38cf\",\n \"score\": \"0.45151228\",\n \"text\": \"private Task createTransportLeg(Task task, NewWorkflow wf, TransportTuple tt)\\n {\\n NewTask subtask = theLDMF.newTask();\\n Vector prepphrases = new Vector();\\n //Enumeration origpp = task.getPrepositionalPhrases();\\n //while (origpp.hasMoreElements()) {\\n // PrepositionalPhrase pp = (PrepositionalPhrase)origpp.nextElement();\\n // if ((pp.getPreposition().equals(Constants.Preposition.FOR)) && \\n // (pp.getIndirectObject() instanceof Asset) ) {\\t\\n // prepphrases.addElement(pp);\\n // }\\n // }\\n NewPrepositionalPhrase newpp = theLDMF.newPrepositionalPhrase();\\n newpp.setPreposition(Constants.Preposition.OFTYPE);\\n AbstractAsset transasset = null;\\n try {\\n Asset trans_proto = theLDMF.createPrototype(Class.forName(\\\"org.cougaar.planning.ldm.asset.AbstractAsset\\\"),\\n \\\"StrategicTransportation\\\");\\n transasset = (AbstractAsset)theLDMF.createInstance(trans_proto);\\n } catch (Exception e) {\\n e.printStackTrace();\\n }\\n newpp.setIndirectObject(transasset);\\n prepphrases.addElement(newpp);\\n \\n NewPrepositionalPhrase frompp = theLDMF.newPrepositionalPhrase();\\n frompp.setPreposition(Constants.Preposition.FROM);\\n frompp.setIndirectObject(tt.getFrom());\\n prepphrases.addElement(frompp);\\n \\n NewPrepositionalPhrase topp = theLDMF.newPrepositionalPhrase();\\n topp.setPreposition(Constants.Preposition.TO);\\n topp.setIndirectObject(tt.getTo());\\n prepphrases.addElement(topp);\\n \\n subtask.setParentTask(task);\\n subtask.setDirectObject(task.getDirectObject());\\n subtask.setPrepositionalPhrases(prepphrases.elements());\\n subtask.setVerb(task.getVerb());\\n subtask.setPlan(task.getPlan());\\n \\n Vector prefs = new Vector();\\n AspectValue startAV = AspectValue.newAspectValue(AspectType.START_TIME, tt.getStartTime().getTime());\\n ScoringFunction startSF = ScoringFunction.createPreferredAtValue(startAV, 2);\\n Preference startPref = theLDMF.newPreference(AspectType.START_TIME, startSF);\\n prefs.addElement(startPref);\\n\\n AspectValue endAV = AspectValue.newAspectValue(AspectType.END_TIME, tt.getEndTime().getTime());\\n ScoringFunction endSF = ScoringFunction.createPreferredAtValue(endAV, 2);\\n Preference endPref = theLDMF.newPreference(AspectType.END_TIME, endSF);\\n prefs.addElement(endPref);\\n \\n subtask.setPreferences(prefs.elements());\\n subtask.setSource(getMessageAddress());\\n wf.addTask(subtask);\\n subtask.setWorkflow(wf);\\n publishAdd(subtask);\\n \\n return subtask;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc11f29ab80e0ee4ecc6732e387f7243\",\n \"score\": \"0.45090353\",\n \"text\": \"public final void f() {\\n /*\\n r7 = this;\\n T extends com.my.target.mediation.MediationAdapter r0 = r7.e\\n r1 = 0\\n java.lang.String r2 = \\\"MediationEngine error: \\\"\\n if (r0 == 0) goto L_0x0015\\n r0.destroy() // Catch:{ all -> 0x000b }\\n goto L_0x0013\\n L_0x000b:\\n r0 = move-exception\\n java.lang.StringBuilder r3 = a2.b.a.a.a.L(r2)\\n a2.b.a.a.a.r1(r0, r3)\\n L_0x0013:\\n r7.e = r1\\n L_0x0015:\\n android.content.Context r0 = r7.g()\\n if (r0 != 0) goto L_0x0021\\n java.lang.String r0 = \\\"MediationEngine: can't configure next ad network, context is null\\\"\\n com.my.target.ae.b(r0)\\n return\\n L_0x0021:\\n com.my.target.cl r3 = r7.a\\n com.my.target.cm r3 = r3.bK()\\n if (r3 != 0) goto L_0x0032\\n java.lang.String r0 = \\\"MediationEngine: no ad networks available\\\"\\n com.my.target.ae.a(r0)\\n r7.e()\\n return\\n L_0x0032:\\n java.lang.String r4 = \\\"MediationEngine: prepare adapter for \\\"\\n java.lang.StringBuilder r4 = a2.b.a.a.a.L(r4)\\n java.lang.String r5 = r3.getName()\\n r4.append(r5)\\n java.lang.String r5 = \\\" ad network\\\"\\n r4.append(r5)\\n java.lang.String r4 = r4.toString()\\n com.my.target.ae.a(r4)\\n java.lang.String r4 = r3.getName()\\n java.lang.String r5 = \\\"myTarget\\\"\\n boolean r4 = r5.equals(r4)\\n if (r4 == 0) goto L_0x005c\\n com.my.target.mediation.MediationAdapter r1 = r7.d()\\n goto L_0x007d\\n L_0x005c:\\n java.lang.String r4 = r3.bM()\\n java.lang.Class r4 = java.lang.Class.forName(r4) // Catch:{ all -> 0x0075 }\\n r5 = 0\\n java.lang.Class[] r6 = new java.lang.Class[r5] // Catch:{ all -> 0x0075 }\\n java.lang.reflect.Constructor r4 = r4.getConstructor(r6) // Catch:{ all -> 0x0075 }\\n java.lang.Object[] r5 = new java.lang.Object[r5] // Catch:{ all -> 0x0075 }\\n java.lang.Object r4 = r4.newInstance(r5) // Catch:{ all -> 0x0075 }\\n com.my.target.mediation.MediationAdapter r4 = (com.my.target.mediation.MediationAdapter) r4 // Catch:{ all -> 0x0075 }\\n r1 = r4\\n goto L_0x007d\\n L_0x0075:\\n r4 = move-exception\\n java.lang.StringBuilder r2 = a2.b.a.a.a.L(r2)\\n a2.b.a.a.a.r1(r4, r2)\\n L_0x007d:\\n r7.e = r1\\n if (r1 == 0) goto L_0x00b7\\n boolean r1 = r7.c(r1)\\n if (r1 == 0) goto L_0x00b7\\n java.lang.String r1 = \\\"MediationEngine: adapter created\\\"\\n com.my.target.ae.a(r1)\\n com.my.target.az$b r1 = new com.my.target.az$b\\n r1.(r3)\\n r7.d = r1\\n int r1 = r3.getTimeout()\\n if (r1 <= 0) goto L_0x00a4\\n com.my.target.ik r1 = com.my.target.ik.J(r1)\\n r7.c = r1\\n com.my.target.az$b r2 = r7.d\\n r1.d(r2)\\n L_0x00a4:\\n com.my.target.cz r1 = r3.getStatHolder()\\n java.lang.String r2 = \\\"networkRequested\\\"\\n java.util.ArrayList r1 = r1.K(r2)\\n com.my.target.im.a(r1, r0)\\n T extends com.my.target.mediation.MediationAdapter r1 = r7.e\\n r7.b(r1, r3, r0)\\n goto L_0x00d3\\n L_0x00b7:\\n java.lang.String r0 = \\\"MediationEngine: can't create adapter, class \\\"\\n java.lang.StringBuilder r0 = a2.b.a.a.a.L(r0)\\n java.lang.String r1 = r3.bM()\\n r0.append(r1)\\n java.lang.String r1 = \\\" not found or invalid\\\"\\n r0.append(r1)\\n java.lang.String r0 = r0.toString()\\n com.my.target.ae.b(r0)\\n r7.f()\\n L_0x00d3:\\n return\\n */\\n throw new UnsupportedOperationException(\\\"Method not decompiled: com.my.target.az.f():void\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6b859a74cc959810b2caea053cd4a807\",\n \"score\": \"0.4507441\",\n \"text\": \"PlanDefinitionTarget createPlanDefinitionTarget();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0f1975e56ae598363bf92a544984f371\",\n \"score\": \"0.45069724\",\n \"text\": \"private void initFabricMaps(){\\n\\n //Set fabric map nodeId-id\\n List lFabricMap = new ArrayList();\\n FabricMapBuilder fmb = new FabricMapBuilder();\\n\\n // circle the hash table\\n Iterator> iter = this.nodeIdMapTag.entrySet().iterator();\\n while (iter.hasNext()) {\\n Map.Entry entry = (Map.Entry) iter.next();\\n FabricMap fm = fmb.setId(entry.getValue())\\n .setNodeId(entry.getKey())\\n .build();\\n lFabricMap.add(fm);\\n }\\n FabricMaps maps = new FabricMapsBuilder().setFabricMap(lFabricMap).build();\\n\\n // submit to Operational Data Store!\\n DataModificationTransaction it = this.dataBrokerService.beginTransaction();\\n InstanceIdentifier dataRef = InstanceIdentifier.builder(FabricMaps.class).toInstance();\\n it.putOperationalData(dataRef, maps);\\n it.commit();\\n\\n // return\\n return;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7fcbe4e54b71b4f7767a23593df10c17\",\n \"score\": \"0.45061353\",\n \"text\": \"object_detection.protos.AnchorGeneratorOuterClass.AnchorGenerator getFirstStageAnchorGenerator();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"684a2e935aa45415c594a3d909119f3b\",\n \"score\": \"0.4501258\",\n \"text\": \"private void initFabricFlows(){\\n HashSet ids = new HashSet(this.tagMapNodeId.keySet());\\n\\n // create multi-thread to creat each node to others' path\\n // install each path into the switch\\n for(Long srcId : ids){\\n new Thread(new InstallFabric(srcId,tagMapNodeId,flowWriterService,linksInSrcDst)).start();\\n }\\n\\n return;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dacad3f6cd2104426bc9010e4dd3b470\",\n \"score\": \"0.45012346\",\n \"text\": \"public void run() {\\n\\t\\tint sampleIndex = this.sortedIndices[sortedIndices.length-1] + 1;\\r\\n\\t\\tthis.source = new ImagePlus( \\\"sample\\\", alignedStack.getStack().getProcessor(sampleIndex).convertToByte(true) );\\r\\n\\t\\tImageConverter.setDoScaling(true);\\r\\n\\t\\tImageConverter ic = new ImageConverter( alignedStack );\\r\\n\\t\\tic.convertToGray8();\\r\\n\\t\\t// Output stack\\r\\n\\t\\tint nChannels = 2;\\r\\n int nSlices = alignedStack.getStack().getSize();\\r\\n int nFrames = 1;\\r\\n //ImagePlus impMerged = IJ.createHyperStack( \\\"merged\\\", this.source.getWidth(), this.source.getHeight(), nChannels, nSlices, nFrames, this.source.getBitDepth() );\\r\\n\\r\\n\\t\\t//for ( int refIndex = nReferenceImages - param.CONGEALING_NREFERENCES; refIndex <= nReferenceImages; refIndex++ ) {\\r\\n\\t\\tfor ( int refIndex = 1; refIndex <= nReferenceImages; refIndex++ ) {\\r\\n\\t\\t\\tTransformation transfo = registerOne( sampleId, idMap.getKey(refIndex) );\\r\\n\\t\\t\\ttransfosElastic.put( idMap.getKey(refIndex), transfo );\\r\\n\\t\\t\\t//ImagePlus reg = transfo.getInverseResults();\\r\\n\\t\\t\\t//impMerged.getImageStack().setProcessor( LibImage.convertSimilar( reg.getStack().getProcessor(1), this.target.getProcessor()) , 2 * refIndex );\\r\\n\\t\\t\\t//impMerged.getImageStack().setProcessor( this.source.getProcessor() , 2 * refIndex - 1 );\\r\\n\\t\\t}\\r\\n\\r\\n\\t\\t//CompositeImage impComp = new CompositeImage( impMerged, CompositeImage.COMPOSITE );\\r\\n\\t\\t//impComp.show();\\r\\n\\r\\n\\t\\t//int refIndex = this.stackProps.get( refId ).index;\\r\\n\\t\\t//this.source.show();\\r\\n\\t\\t//this.target.show();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"57c76f363910bf3e891fcee1a4736fb2\",\n \"score\": \"0.45002943\",\n \"text\": \"@Test\\n public void testConstructor() {\\n OtmModelManager mgr = TestOtmModelManager.build();\\n OtmLibrary lib = TestLibrary.buildOtm( mgr );\\n // OtmLibrary lib = mgr.add( new TLLibrary() );\\n spriteMgr = TestSpriteManager.buildSpriteManager();\\n gc = spriteMgr.getSettingsManager().getGc();\\n\\n OtmBusinessObject bo = TestBusiness.buildOtm( lib, \\\"Bo1\\\" );\\n OtmContextualFacet cfC = TestCustomFacet.buildOtm( bo, \\\"CF1\\\" );\\n OtmContextualFacet cfE = TestCustomFacet.buildOtm( bo, \\\"CF2\\\" );\\n OtmAttribute attr = TestOtmPropertiesBase.buildAttribute( cfE );\\n assertTrue( attr != null );\\n attr.setName( \\\"thisisareallyreallyreallylongnametoassureexpandedwidthiswiderthancollapsed\\\" );\\n\\n cfC.setExpanded( false );\\n cfE.setExpanded( true );\\n\\n // 157 x 28\\n csC = new ContextualFacetSprite( cfC, spriteMgr );\\n assertTrue( \\\"Must have had size set.\\\", csC.getBoundaries() != null );\\n assertTrue( \\\"Must have width.\\\", csC.getWidth() > 0 );\\n assertTrue( \\\"Must have height.\\\", csC.getHeight() > 0 );\\n\\n // 567 x 116\\n csE = new ContextualFacetSprite( cfE, spriteMgr );\\n assertTrue( \\\"Must have had size set.\\\", csE.getBoundaries() != null );\\n assertTrue( \\\"Must have width.\\\", csE.getWidth() > csC.getWidth() );\\n assertTrue( \\\"Must have height.\\\", csE.getHeight() > csC.getHeight() );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1d67ff87010a8aefbbdc276dd64ea9a6\",\n \"score\": \"0.45002273\",\n \"text\": \"public StorageTargetSpaceAllocation() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2ac3da1f6b0e87946151c46725456589\",\n \"score\": \"0.44964144\",\n \"text\": \"public Marker(T aTarget)\\n {\\n _target = aTarget;\\n setRect(2, 0, 9, 5);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4e5ddf09271060b57f9c1ca0186cd913\",\n \"score\": \"0.44886574\",\n \"text\": \"static KawtToolkit init () {\\n\\n\\t//System.out.println (\\\"ti0\\\");\\n\\n\\tRuntime.getRuntime ().gc (); // dont ask why this is neccessary...\\n\\n\\t//System.out.println (\\\"ti1\\\");\\n\\n\\tString laf = classbase+\\\".LafImpl\\\";\\n\\n\\ttry { \\n\\t Class.forName(\\\"com.sun.midp.palm.Info\\\"); \\n\\t laf = \\\"de.kawt.impl.kjava.LafImpl\\\";\\n\\t}\\n\\tcatch (Throwable x) {}\\n\\n\\ttry {\\n\\t Laf.laf = (Laf) Class.forName (laf).newInstance ();\\n\\t}\\n\\tcatch (Exception e) {\\n\\t Laf.laf = new Laf ();\\n\\t}\\n\\n\\t//System.out.println (\\\"*** ti2/cb: \\\"+classbase);\\n\\n try {\\n\\t //System.out.println (\\\"*** ti3\\\");\\n graphicsImpl = Class.forName (classbase+\\\".GraphicsImpl\\\");\\n\\t //System.out.println (\\\"*** ti4\\\");\\n return (KawtToolkit) Class.forName \\n\\t\\t(classbase+\\\".ToolkitImpl\\\").newInstance ();\\n }\\n catch (Exception e) {\\n\\t //System.out.println (\\\"*** ti5: \\\"+e);\\n throw new RuntimeException (\\\"kawt init failure: \\\"+e.toString ());\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b95afd3dde7d533c59aef00bb22b49be\",\n \"score\": \"0.44860637\",\n \"text\": \"private Collection findTargetNodes(InjectorTarget injectorTarget, List injectionPoints) {\\n/* 217 */ MethodNode method = injectorTarget.getMethod();\\n/* 218 */ Map targetNodes = new TreeMap();\\n/* 219 */ Collection nodes = new ArrayList(32);\\n/* */ \\n/* 221 */ for (InjectionPoint injectionPoint : injectionPoints) {\\n/* 222 */ nodes.clear();\\n/* */ \\n/* 224 */ if (findTargetNodes(method, injectionPoint, injectorTarget.getSlice(injectionPoint), nodes)) {\\n/* 225 */ for (AbstractInsnNode insn : nodes) {\\n/* 226 */ Integer key = Integer.valueOf(method.instructions.indexOf(insn));\\n/* 227 */ TargetNode targetNode = targetNodes.get(key);\\n/* 228 */ if (targetNode == null) {\\n/* 229 */ targetNode = new TargetNode(insn);\\n/* 230 */ targetNodes.put(key, targetNode);\\n/* */ } \\n/* 232 */ targetNode.nominators.add(injectionPoint);\\n/* */ } \\n/* */ }\\n/* */ } \\n/* */ \\n/* 237 */ return targetNodes.values();\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5ffdb173de7cc980bf7ca7bc3de80f73\",\n \"score\": \"0.4478136\",\n \"text\": \"public DnnTransform(Lop input, OpOpDnn op, DataType dt, ValueType vt, ExecType et, int k, double intermediateMemBudget) {\\n\\t\\tsuper(Lop.Type.Transform, dt, vt);\\n\\t\\tinit(input, op, dt, vt, et);\\n\\t\\tnumThreads = k;\\n\\t\\tthis.intermediateMemBudget = intermediateMemBudget;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8e4a2eb24ea69db05eca048f3b6cbf38\",\n \"score\": \"0.44713697\",\n \"text\": \"private TensorBuffer createEmbedding(Bitmap style) {\\n TensorImage styleImage = TensorImage.fromBitmap(style);\\n MagentaArbitraryImageStylizationV1256Int8Prediction1.Outputs outputs = embedder.process(styleImage);\\n\\n return outputs.getStyleBottleneckAsTensorBuffer();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"56b78139efe38b8f2259bd9de8a41a9f\",\n \"score\": \"0.44703373\",\n \"text\": \"private GEngine(){\\r\\n\\t\\tGdx.app.log(\\\"GEngine\\\", \\\"Running constructor\\\");\\r\\n\\t\\t\\r\\n\\t\\tbatch = Main.getInstance().batch;\\r\\n\\t\\tcamera = new OrthographicCamera();\\r\\n\\t\\tcamera.setToOrtho(true);\\r\\n\\t\\t\\r\\n\\t\\tuiCamera = new OrthographicCamera();\\r\\n\\t\\tuiCamera.setToOrtho(false);\\r\\n\\t\\t\\r\\n\\t\\tuserInterface = new GameUI(uiCamera);\\r\\n\\t\\t\\r\\n\\t\\tinputHandler = new InputHandler();\\r\\n\\t\\tactionHandler = new ActionHandler();\\r\\n\\t\\thighlighter = new Highlighter(this);\\r\\n\\t\\t\\r\\n\\t\\tgUnits = new HashMap();\\r\\n\\t\\tgBuildings = new HashMap();\\r\\n\\t\\tdecideSmoothLines();\\r\\n\\t\\t\\r\\n\\t\\tcameraController = new CameraController(camera);\\r\\n\\t\\tMain.getInstance().gestureMultiplexer.addProcessor(cameraController);\\r\\n\\t\\tMain.getInstance().addProcessor(cameraController);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9f9fa14995e8ada03757f6849a432c1d\",\n \"score\": \"0.44636902\",\n \"text\": \"protected ATPGenericPhase() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b1d1f000badf53268c2485b3ad8db9f1\",\n \"score\": \"0.44634688\",\n \"text\": \"java.util.HashMap getTargetMap() { return targetMap; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e8998b9a85100e736ccd43a07b60d86f\",\n \"score\": \"0.44628966\",\n \"text\": \"private ITreeAutomatonBU buildEmptyLanguageTree() {\\r\\n\\t\\treturn new TreeAutomatonBU<>();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"826e2d58afdc529858a6e7658c219c20\",\n \"score\": \"0.44541216\",\n \"text\": \"private TGDGeneratorsMap getGeneratorsMap(FORule tgd, MappingTask mappingTask) {\\n\\t\\tTGDGeneratorsMap custom = new GenerateValueGenerators().generateValueGenerators(tgd, mappingTask);\\n\\t\\tthis.generatorsMaps.put(tgd, custom);\\n\\t\\treturn custom;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e30388a9e55b4aab9277e413c28cd7de\",\n \"score\": \"0.444775\",\n \"text\": \"private ScoutBeeTargets(){\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"52ba05b0590869469e9e0e0c20274baf\",\n \"score\": \"0.44477466\",\n \"text\": \"public KdTree()\\n {\\n allpoints = new Queue();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"38fa72bcd79564cf9df891aea73cf93f\",\n \"score\": \"0.44446218\",\n \"text\": \"public StatefulKnowledgeSession createKSession(){\\n //Create the kbuilder\\n KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();\\n\\n //Add simpleProcess.bpmn to kbuilder\\n kbuilder.add(new ClassPathResource(\\\"rules/dynamic/subProcessSelectionRules.drl\\\"), ResourceType.DRL);\\n kbuilder.add(new ClassPathResource(\\\"process/dynamic/dynamicReusableSubProcess-Parent.bpmn\\\"), ResourceType.BPMN2);\\n kbuilder.add(new ClassPathResource(\\\"process/dynamic/personTaggerProcess.bpmn\\\"), ResourceType.BPMN2);\\n kbuilder.add(new ClassPathResource(\\\"process/dynamic/carTaggerProcess.bpmn\\\"), ResourceType.BPMN2);\\n System.out.println(\\\"Compiling resources\\\");\\n \\n //Check for errors\\n if (kbuilder.hasErrors()) {\\n if (kbuilder.getErrors().size() > 0) {\\n for (KnowledgeBuilderError error : kbuilder.getErrors()) {\\n System.out.println(\\\"Error building kbase: \\\" + error.getMessage());\\n }\\n }\\n throw new RuntimeException(\\\"Error building kbase!\\\");\\n }\\n\\n //Create a knowledge base and add the generated package\\n KnowledgeBase kbase = KnowledgeBaseFactory.newKnowledgeBase();\\n kbase.addKnowledgePackages(kbuilder.getKnowledgePackages());\\n\\n //return a new statefull session\\n return kbase.newStatefulKnowledgeSession();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aa9cc2bd5d590d9e1f758f7f43d26f14\",\n \"score\": \"0.44409928\",\n \"text\": \"private void prepareTest() {\\r\\n OpBroker broker = session.newBroker();\\r\\n try {\\r\\n OpTransaction t = broker.newTransaction();\\r\\n\\r\\n //create the project node and the project plan\\r\\n OpProjectNode project = new OpProjectNode();\\r\\n project.setName(PROJECT_NAME);\\r\\n project.setType(OpProjectNode.PROJECT);\\r\\n project.setStart(new Date(getCalendarWithExactDaySet(2007, 6, 10).getTimeInMillis()));\\r\\n OpProjectPlan projectPlan = new OpProjectPlan();\\r\\n projectPlan.setStart(new Date(getCalendarWithExactDaySet(2007, 6, 10).getTimeInMillis()));\\r\\n projectPlan.setFinish(new Date(getCalendarWithExactDaySet(2007, 6, 30).getTimeInMillis()));\\r\\n projectPlan.setProjectNode(project);\\r\\n\\r\\n //create the activity - assignment - resource\\r\\n OpActivity activity = new OpActivity();\\r\\n activity.setName(ACTIVITY_NAME);\\r\\n activity.setProjectPlan(projectPlan);\\r\\n activity.setBaseTravelCosts(30d);\\r\\n activity.setBaseMaterialCosts(50d);\\r\\n OpResource resource = new OpResource();\\r\\n resource.setName(RESOURCE_NAME);\\r\\n OpAssignment assignment = new OpAssignment();\\r\\n activity.addAssignment(assignment);\\r\\n assignment.setResource(resource);\\r\\n\\r\\n //create the workRecord\\r\\n OpWorkRecord workRecord = new OpWorkRecord();\\r\\n workRecord.setAssignment(assignment);\\r\\n\\r\\n //create the OpCostRecords\\r\\n OpCostRecord costRecord1 = new OpCostRecord();\\r\\n costRecord1.setType(OpCostRecord.TRAVEL_COST);\\r\\n costRecord1.setActualCosts(20d);\\r\\n costRecord1.setRemainingCosts(10d);\\r\\n costRecord1.setComment(\\\"Comment cost record 1\\\");\\r\\n costRecord1.setWorkRecord(workRecord);\\r\\n OpCostRecord costRecord2 = new OpCostRecord();\\r\\n costRecord2.setType(OpCostRecord.MATERIAL_COST);\\r\\n costRecord2.setActualCosts(25d);\\r\\n costRecord2.setRemainingCosts(25d);\\r\\n costRecord2.setComment(\\\"Comment cost record 2\\\");\\r\\n costRecord2.setWorkRecord(workRecord);\\r\\n\\r\\n //create an attachment for the first cost record\\r\\n OpAttachment attachment1 = new OpAttachment();\\r\\n attachment1.setLinked(true);\\r\\n attachment1.setName(\\\"Attachment 1\\\");\\r\\n attachment1.setLocation(\\\"http://www.google.com/\\\");\\r\\n attachment1.setObject(costRecord1);\\r\\n\\r\\n broker.makePersistent(project);\\r\\n broker.makePersistent(projectPlan);\\r\\n broker.makePersistent(activity);\\r\\n broker.makePersistent(resource);\\r\\n broker.makePersistent(assignment);\\r\\n broker.makePersistent(workRecord);\\r\\n broker.makePersistent(costRecord1);\\r\\n broker.makePersistent(costRecord2);\\r\\n broker.makePersistent(attachment1);\\r\\n\\r\\n t.commit();\\r\\n }\\r\\n finally {\\r\\n broker.close();\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"23780d3dac15d3d5a8fd3a77f3900c55\",\n \"score\": \"0.4437428\",\n \"text\": \"private MiuiGxzwAnimArgs build() {\\n return new MiuiGxzwAnimArgs(this.res, this.startPosition, this.repeat, this.frameInterval, this.backgroundRes, this.backgroundFrame, this.customerDrawBitmap, this.feedback, this.aod, this.translateX, this.translateY);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"84286c1f9e52a5dcc75da6a9ca870861\",\n \"score\": \"0.44365707\",\n \"text\": \"private void setUpTargetSpaces()\\n {\\n //Red Circle\\n boardSquares[1][4].setIcon(redCircle);\\n boardSquares[1][4].setTopEdge(true);\\n boardSquares[1][4].setLeftEdge(true);\\n boardSquares[0][4].setBottomEdge(true);\\n boardSquares[0][4].setIcon(bottomSideBarrier);\\n boardSquares[1][3].setRightEdge(true);\\n boardSquares[1][3].setIcon(rightSideBarrier);\\n boardSquares[1][4].setTargetSpace(\\\"redCircle\\\");\\n boardSquares[1][4].sendIcon(redCircle);\\n ///\\n boardSquares[1][4].setSquareColour(\\\"red\\\");\\n ///\\n targetMap.put(\\\"redCircle\\\", redCircle);\\n \\n //Red Square\\n boardSquares[1][13].setIcon(redSquare);\\n boardSquares[1][13].setTopEdge(true);\\n boardSquares[1][13].setLeftEdge(true);\\n boardSquares[0][13].setBottomEdge(true);\\n boardSquares[0][13].setIcon(bottomSideBarrier);\\n boardSquares[1][12].setRightEdge(true);\\n boardSquares[1][12].setIcon(rightSideBarrier);\\n boardSquares[1][13].setTargetSpace(\\\"redSquare\\\");\\n boardSquares[1][13].sendIcon(redSquare);\\n ///\\n boardSquares[1][13].setSquareColour(\\\"red\\\");\\n ///\\n targetMap.put(\\\"redSquare\\\", redSquare);\\n \\n //Green Triangle\\n boardSquares[2][1].setIcon(greenTriangle);\\n boardSquares[2][1].setTopEdge(true);\\n boardSquares[2][1].setRightEdge(true);\\n boardSquares[1][1].setBottomEdge(true);\\n boardSquares[1][1].setIcon(bottomSideBarrier);\\n boardSquares[2][2].setLeftEdge(true);\\n boardSquares[2][2].setIcon(leftSideBarrier);\\n boardSquares[2][1].setTargetSpace(\\\"greenTriangle\\\");\\n boardSquares[2][1].sendIcon(greenTriangle);\\n ///\\n boardSquares[2][1].setSquareColour(\\\"green\\\");\\n ///\\n targetMap.put(\\\"greenTriangle\\\", greenTriangle);\\n \\n //Blue Triangle\\n boardSquares[2][9].setIcon(blueTriangle);\\n boardSquares[2][9].setBottomEdge(true);\\n boardSquares[2][9].setRightEdge(true);\\n boardSquares[3][9].setTopEdge(true);\\n boardSquares[3][9].setIcon(topSideBarrier);\\n boardSquares[2][10].setLeftEdge(true);\\n boardSquares[2][10].setIcon(leftSideBarrier);\\n boardSquares[2][9].setTargetSpace(\\\"blueTriangle\\\");\\n boardSquares[2][9].sendIcon(blueTriangle);\\n ///\\n boardSquares[2][9].setSquareColour(\\\"blue\\\");\\n ///\\n targetMap.put(\\\"blueTriangle\\\", blueTriangle);\\n \\n //Yellow Star\\n boardSquares[3][6].setIcon(yellowStar);\\n boardSquares[3][6].setBottomEdge(true);\\n boardSquares[3][6].setRightEdge(true);\\n boardSquares[4][6].setTopEdge(true);\\n boardSquares[4][6].setIcon(topSideBarrier);\\n boardSquares[3][7].setLeftEdge(true);\\n boardSquares[3][7].setIcon(leftSideBarrier);\\n boardSquares[3][6].setTargetSpace(\\\"yellowStar\\\");\\n boardSquares[3][6].sendIcon(yellowStar);\\n ///\\n boardSquares[3][6].setSquareColour(\\\"yellow\\\");\\n ///\\n targetMap.put(\\\"yellowStar\\\", yellowStar);\\n \\n //Green Star\\n boardSquares[5][14].setIcon(greenStar);\\n boardSquares[5][14].setBottomEdge(true);\\n boardSquares[5][14].setLeftEdge(true);\\n boardSquares[6][14].setTopEdge(true);\\n boardSquares[6][14].setIcon(topSideBarrier);\\n boardSquares[5][13].setRightEdge(true);\\n boardSquares[5][13].setIcon(rightSideBarrier);\\n boardSquares[5][14].setTargetSpace(\\\"greenStar\\\");\\n boardSquares[5][14].sendIcon(greenStar);\\n ///\\n boardSquares[5][14].setSquareColour(\\\"green\\\");\\n ///\\n targetMap.put(\\\"greenStar\\\", greenStar);\\n \\n //Blue Square\\n boardSquares[6][3].setIcon(blueSquare);\\n boardSquares[6][3].setBottomEdge(true);\\n boardSquares[6][3].setLeftEdge(true);\\n boardSquares[7][3].setTopEdge(true);\\n boardSquares[7][3].setIcon(topSideBarrier);\\n boardSquares[6][2].setRightEdge(true);\\n boardSquares[6][2].setIcon(rightSideBarrier);\\n boardSquares[6][3].setTargetSpace(\\\"blueSquare\\\");\\n boardSquares[6][3].sendIcon(blueSquare);\\n ///\\n boardSquares[6][3].setSquareColour(\\\"blue\\\");\\n ///\\n targetMap.put(\\\"blueSquare\\\", blueSquare);\\n \\n //Yellow Circle\\n boardSquares[6][11].setIcon(yellowCircle);\\n boardSquares[6][11].setTopEdge(true);\\n boardSquares[6][11].setRightEdge(true);\\n boardSquares[5][11].setBottomEdge(true);\\n boardSquares[5][11].setIcon(bottomSideBarrier);\\n boardSquares[6][12].setLeftEdge(true);\\n boardSquares[6][12].setIcon(leftSideBarrier);\\n boardSquares[6][11].setTargetSpace(\\\"yellowCircle\\\");\\n boardSquares[6][11].sendIcon(yellowCircle);\\n ///\\n boardSquares[6][11].setSquareColour(\\\"yellow\\\");\\n ///\\n targetMap.put(\\\"yellowCircle\\\", yellowCircle);\\n \\n //Multivortex\\n boardSquares[8][5].setIcon(multivortex);\\n boardSquares[8][5].setTopEdge(true);\\n boardSquares[8][5].setRightEdge(true);\\n boardSquares[7][5].setBottomEdge(true);\\n boardSquares[7][5].setIcon(bottomSideBarrier);\\n boardSquares[8][6].setLeftEdge(true);\\n boardSquares[8][6].setIcon(leftSideBarrier);\\n boardSquares[8][5].setTargetSpace(\\\"multivortex\\\");\\n boardSquares[8][5].sendIcon(multivortex);\\n ///\\n boardSquares[8][5].setSquareColour(\\\"multi\\\");\\n ///\\n targetMap.put(\\\"multivortex\\\", multivortex);\\n \\n //Blue Circle\\n boardSquares[9][1].setIcon(blueCircle);\\n boardSquares[9][1].setBottomEdge(true);\\n boardSquares[9][1].setRightEdge(true);\\n boardSquares[10][1].setTopEdge(true);\\n boardSquares[10][1].setIcon(topSideBarrier);\\n boardSquares[9][2].setLeftEdge(true);\\n boardSquares[9][2].setIcon(leftSideBarrier);\\n boardSquares[9][1].setTargetSpace(\\\"blueCircle\\\");\\n boardSquares[9][1].sendIcon(blueCircle);\\n ///\\n boardSquares[9][1].setSquareColour(\\\"blue\\\");\\n ///\\n targetMap.put(\\\"blueCircle\\\", blueCircle);\\n \\n //Yellow Square\\n boardSquares[9][14].setIcon(yellowSquare);\\n boardSquares[9][14].setBottomEdge(true);\\n boardSquares[9][14].setRightEdge(true);\\n boardSquares[10][14].setTopEdge(true);\\n boardSquares[10][14].setIcon(topSideBarrier);\\n boardSquares[9][15].setLeftEdge(true);\\n boardSquares[9][15].setIcon(leftSideBarrier);\\n boardSquares[9][14].setTargetSpace(\\\"yellowSquare\\\");\\n boardSquares[9][14].sendIcon(yellowSquare);\\n ///\\n boardSquares[9][14].setSquareColour(\\\"yellow\\\");\\n ///\\n targetMap.put(\\\"yellowSquare\\\", yellowSquare);\\n \\n //Green Square\\n boardSquares[10][4].setIcon(greenSquare);\\n boardSquares[10][4].setBottomEdge(true);\\n boardSquares[10][4].setLeftEdge(true);\\n boardSquares[11][4].setTopEdge(true);\\n boardSquares[11][4].setIcon(topSideBarrier);\\n boardSquares[10][3].setRightEdge(true);\\n boardSquares[10][3].setIcon(rightSideBarrier);\\n boardSquares[10][4].setTargetSpace(\\\"greenSquare\\\");\\n boardSquares[10][4].sendIcon(greenSquare);\\n ///\\n boardSquares[10][4].setSquareColour(\\\"green\\\");\\n ///\\n targetMap.put(\\\"greenSquare\\\", greenSquare);\\n \\n //Red Triangle\\n boardSquares[10][8].setIcon(redTriangle);\\n boardSquares[10][8].setTopEdge(true);\\n boardSquares[10][8].setRightEdge(true);\\n boardSquares[9][8].setBottomEdge(true);\\n boardSquares[9][8].setIcon(bottomSideBarrier);\\n boardSquares[10][9].setLeftEdge(true);\\n boardSquares[10][9].setIcon(leftSideBarrier);\\n boardSquares[10][8].setTargetSpace(\\\"redTriangle\\\");\\n boardSquares[10][8].sendIcon(redTriangle);\\n ///\\n boardSquares[10][8].setSquareColour(\\\"red\\\");\\n ///\\n targetMap.put(\\\"redTriangle\\\", redTriangle);\\n \\n //Green Circle\\n boardSquares[11][13].setIcon(greenCircle);\\n boardSquares[11][13].setBottomEdge(true);\\n boardSquares[11][13].setLeftEdge(true);\\n boardSquares[12][13].setTopEdge(true);\\n boardSquares[12][13].setIcon(topSideBarrier);\\n boardSquares[11][12].setRightEdge(true);\\n boardSquares[11][12].setIcon(rightSideBarrier);\\n boardSquares[11][13].setTargetSpace(\\\"greenCircle\\\");\\n boardSquares[11][13].sendIcon(greenCircle);\\n ///\\n boardSquares[11][13].setSquareColour(\\\"green\\\");\\n ///\\n targetMap.put(\\\"greenCircle\\\", greenCircle);\\n \\n //Red Star\\n boardSquares[13][5].setIcon(redStar);\\n boardSquares[13][5].setTopEdge(true);\\n boardSquares[13][5].setRightEdge(true);\\n boardSquares[12][5].setBottomEdge(true);\\n boardSquares[12][5].setIcon(bottomSideBarrier);\\n boardSquares[13][6].setLeftEdge(true);\\n boardSquares[13][6].setIcon(leftSideBarrier);\\n boardSquares[13][5].setTargetSpace(\\\"redStar\\\");\\n boardSquares[13][5].sendIcon(redStar);\\n ///\\n boardSquares[13][5].setSquareColour(\\\"red\\\");\\n ///\\n targetMap.put(\\\"redStar\\\", redStar);\\n \\n //Blue Star\\n boardSquares[13][10].setIcon(blueStar);\\n boardSquares[13][10].setTopEdge(true);\\n boardSquares[13][10].setLeftEdge(true);\\n boardSquares[12][10].setBottomEdge(true);\\n boardSquares[12][10].setIcon(bottomSideBarrier);\\n boardSquares[13][9].setRightEdge(true);\\n boardSquares[13][9].setIcon(rightSideBarrier);\\n boardSquares[13][10].setTargetSpace(\\\"blueStar\\\");\\n boardSquares[13][10].sendIcon(blueStar);\\n ///\\n boardSquares[13][10].setSquareColour(\\\"blue\\\");\\n ///\\n targetMap.put(\\\"blueStar\\\", blueStar);\\n \\n //Yellow Triangle\\n boardSquares[14][3].setIcon(yellowTriangle);\\n boardSquares[14][3].setTopEdge(true);\\n boardSquares[14][3].setLeftEdge(true);\\n boardSquares[13][3].setBottomEdge(true);\\n boardSquares[13][3].setIcon(bottomSideBarrier);\\n boardSquares[14][2].setRightEdge(true);\\n boardSquares[14][2].setIcon(rightSideBarrier);\\n boardSquares[14][3].setTargetSpace(\\\"yellowTriangle\\\");\\n boardSquares[14][3].sendIcon(yellowTriangle);\\n ///\\n boardSquares[14][3].setSquareColour(\\\"yellow\\\");\\n ///\\n targetMap.put(\\\"yellowTriangle\\\", yellowTriangle);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7b72ee0e47bc125acc2393e69ff3de1b\",\n \"score\": \"0.44362316\",\n \"text\": \"@Override\\n protected GarbageCollectionRunnable genGCTask(Class clazz) {\\n return new GlobalGCRunnable(dbClient, clazz, dependencyTracker, gcDelayMins, coordinator);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c833b52a7be426f970937d26aaadca32\",\n \"score\": \"0.44362012\",\n \"text\": \"public void runContainer(ExecutionContainer container) {\\n\\t\\tString libDir = \\\"\\\";\\n\\t\\ttry {\\n\\t\\t\\tlibDir = PASTAUtil.getTemplateResource(\\\"lib/\\\").getAbsolutePath();\\n\\t\\t} catch (FileNotFoundException e) {\\n\\t\\t\\tlogger.error(\\\"Could not load lib directory for Docker container.\\\", e);\\n\\t\\t}\\n\\t\\t\\n\\t\\tMap labels = new HashMap<>();\\n\\t\\tlabels.put(\\\"image\\\", container.getImageName());\\n\\t\\t\\n\\t\\tList binds = new LinkedList<>();\\n\\t\\t\\n\\t\\tString hostSrc = toHostPath(container.getSrcLoc().getAbsolutePath());\\n\\t\\tString hostOut = toHostPath(container.getOutLoc().getAbsolutePath());\\n\\t\\tString hostLib = toHostPath(libDir);\\n\\t\\t\\n\\t\\tbinds.add(new Bind(hostSrc, new Volume(PASTA_SRC + \\\"/\\\")));\\n\\t\\tbinds.add(new Bind(hostOut, new Volume(PASTA_OUT + \\\"/\\\")));\\n\\t\\tbinds.add(new Bind(hostLib, new Volume(PASTA_LIB + \\\"/\\\")));\\n\\t\\t\\n\\t\\tif(container.getLanguage().getId().equals(\\\"matlab\\\")) {\\n\\t\\t\\tbinds.add(new Bind(WhichProgram.getInstance().path(\\\"matlab.install\\\"), new Volume(PASTA_BIN + \\\"/MATLAB/\\\")));\\n\\t\\t}\\n\\t\\t\\n\\t\\ttry {\\n\\t\\t\\tCreateContainerCmd cmd = dockerClient\\n\\t\\t\\t\\t\\t.createContainerCmd(container.getImageName())\\n\\t\\t\\t\\t\\t.withName(container.getLabel())\\n\\t\\t\\t\\t\\t.withLabels(labels)\\n\\t\\t\\t\\t\\t.withTty(true)\\n\\t\\t\\t\\t\\t.withBinds(binds);\\n\\t\\t\\t\\n\\t\\t\\tString macKey = container.getLanguage().getId() + \\\".hardware-address\\\";\\n\\t\\t\\tString mac = LanguageManager.getInstance().getProperty(macKey);\\n\\t\\t\\tif(mac != null && !mac.isEmpty()) {\\n\\t\\t\\t\\tcmd = cmd.withMacAddress(mac);\\n\\t\\t\\t}\\n\\t\\t\\t\\n\\t\\t\\tString portsKey = container.getLanguage().getId() + \\\".exposed-ports\\\";\\n\\t\\t\\tString ports = LanguageManager.getInstance().getProperty(portsKey);\\n\\t\\t\\tif(ports != null && !ports.isEmpty()) {\\n\\t\\t\\t\\tcmd = cmd.withExposedPorts(parsePorts(ports));\\n\\t\\t\\t}\\n\\t\\t\\t\\n\\t\\t\\tCreateContainerResponse resp = cmd.exec();\\n\\t\\t\\tcontainer.setId(resp.getId());\\n\\t\\t\\t\\n\\t\\t\\tdockerClient\\n\\t\\t\\t.startContainerCmd(container.getId())\\n\\t\\t\\t.exec();\\n\\t\\t\\t\\n\\t\\t\\trunCommand(container, \\\"sh\\\", \\\"-c\\\", \\\"cp -rp \\\" + PASTA_SRC + \\\"/* .\\\");\\n\\t\\t} catch (ConflictException e) {\\n\\t\\t\\tlogger.error(\\\"Container \\\" + container.getLabel() + \\\" already running.\\\");\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2f35afc8538149370e0e509be6440d82\",\n \"score\": \"0.4433783\",\n \"text\": \"public GenericContainerStill(T t, RetroImageRequest imageRequest){\\n obj = t;\\n this.imageRequest = imageRequest;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"48a986b8f165f3aab5a0d2700a8d38c7\",\n \"score\": \"0.44318816\",\n \"text\": \"public TConTextureResourcePackBase(String name)\\r\\n/* 40: */ {\\r\\n/* 41: 39 */ this.name = name.toLowerCase();\\r\\n/* 42: 40 */ this.delegate = FMLClientHandler.instance().getResourcePackFor(\\\"TConstruct\\\");\\r\\n/* 43: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"20ee453e2868008ee480320adc6fc781\",\n \"score\": \"0.44313464\",\n \"text\": \"private GraphGenerationAfcl() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f6bab49775dc3bf7314bd83c4419741a\",\n \"score\": \"0.44277564\",\n \"text\": \"public TagModifyBuilder() {\\r\\n tagModify = new TagModify();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fbc13012b68cc4c795f1c3928dac85a9\",\n \"score\": \"0.44265285\",\n \"text\": \"@Test\\n public void processChoiceWithNodeAndLeafList() {\\n setUp();\\n\\n // As an application, creates the object.\\n\\n // Creates reproduce container for list predict-1.\\n Reproduce reproduce1 = new DefaultReproduce();\\n reproduce1.yangAutoPrefixCatch((short) 90);\\n\\n // Assigns predict-1 with the container.\\n Predict predict1 = new DefaultPredict();\\n predict1.reproduce(reproduce1);\\n\\n // Creates reproduce container for list predict-2.\\n Reproduce reproduce2 = new DefaultReproduce();\\n reproduce2.yangAutoPrefixCatch((short) 100);\\n\\n // Assigns predict-2 with the container.\\n Predict predict2 = new DefaultPredict();\\n predict2.reproduce(reproduce2);\\n\\n List predictList = new ArrayList<>();\\n predictList.add(predict1);\\n predictList.add(predict2);\\n\\n // Case container is added to the choice content-test.\\n ChoiceContainer containerCase = new DefaultChoiceContainer();\\n containerCase.predict(predictList);\\n // Case container is added to the choice content-test.\\n org.onosproject.yang.gen.v1.ytbchoicewithcontainerandleaflist.rev20160826\\n .ytbchoicewithcontainerandleaflist.contenttest\\n .DefaultChoiceContainer contentTest =\\n new org.onosproject.yang.gen.v1.ytbchoicewithcontainerandleaflist\\n .rev20160826.ytbchoicewithcontainerandleaflist.contenttest\\n .DefaultChoiceContainer();\\n contentTest.choiceContainer(containerCase);\\n\\n // Creates string list for leaf-list final.\\n List stringList = new ArrayList<>();\\n stringList.add(VAL);\\n stringList.add(IND);\\n\\n // For choice current value, the leaf list gets added as case.\\n DefaultYtbAbsent currentValue = new DefaultYtbAbsent();\\n currentValue.yangAutoPrefixFinal(stringList);\\n\\n // Builds YANG tree in YTB.\\n data = new DefaultModelObjectData.Builder();\\n data.addModelObject(contentTest).addModelObject(currentValue);\\n rscData = treeBuilder.getResourceData(data.build());\\n\\n nameSpace = \\\"yms:test:ytb:choice:with:container:and:leaf:list\\\";\\n id = rscData.resourceId();\\n keys = id.nodeKeys();\\n assertThat(1, is(keys.size()));\\n\\n sid = keys.get(0).schemaId();\\n assertThat(\\\"/\\\", is(sid.name()));\\n assertThat(null, is(sid.namespace()));\\n\\n dataNodes = rscData.dataNodes();\\n assertThat(3, is(dataNodes.size()));\\n\\n node = dataNodes.get(0);\\n validateDataNode(node, \\\"choice-container\\\", nameSpace,\\n SINGLE_INSTANCE_NODE,\\n true, null);\\n //Here only one instance of list will be added because config is\\n // false. so there will be no difference in 2 instance of list node.\\n Map child = ((InnerNode) node).childNodes();\\n assertThat(1, is(child.size()));\\n Iterator> it = child.entrySet().iterator();\\n\\n Map.Entry n = it.next();\\n validateDataNode(n.getValue(), \\\"predict\\\", nameSpace,\\n MULTI_INSTANCE_NODE,\\n true, null);\\n child = ((InnerNode) n.getValue()).childNodes();\\n assertThat(1, is(child.size()));\\n\\n it = child.entrySet().iterator();\\n n = it.next();\\n validateDataNode(n.getValue(), \\\"reproduce\\\", nameSpace,\\n SINGLE_INSTANCE_NODE,\\n true, null);\\n\\n child = ((InnerNode) n.getValue()).childNodes();\\n assertThat(1, is(child.size()));\\n\\n it = child.entrySet().iterator();\\n n = it.next();\\n validateDataNode(n.getValue(), \\\"catch\\\", nameSpace,\\n SINGLE_INSTANCE_LEAF_VALUE_NODE,\\n true, \\\"100\\\");\\n\\n node = dataNodes.get(1);\\n validateDataNode(node, \\\"final\\\", nameSpace,\\n MULTI_INSTANCE_LEAF_VALUE_NODE,\\n true, VAL);\\n\\n node = dataNodes.get(2);\\n validateDataNode(node, \\\"final\\\", nameSpace,\\n MULTI_INSTANCE_LEAF_VALUE_NODE,\\n true, IND);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a8f6c54e20c1bab9a2dffac7b64b6576\",\n \"score\": \"0.44230413\",\n \"text\": \"public void build(Workspace workspace) {\\n Set loaded = new HashSet();\\n if (!preferredGroupOrdering.isEmpty()) {\\n for (final String group : preferredGroupOrdering) {\\n if (loaded.contains(group)) continue;\\n\\n for (ToolSet ts : toBeLoaded) {\\n if (ts.getToolSetName().equals(group)) {\\n loaded.add(group);\\n workspace.addToolSet(ts);\\n }\\n }\\n\\n if (loaded.contains(group)) continue;\\n\\n if (toBeLoadedGroups.containsKey(group)) {\\n loaded.add(group);\\n\\n final List toBeRendered = new ArrayList();\\n for (ToolProvider provider : toBeLoadedGroups.get(group)) {\\n Tool t = provider.getTool();\\n if (t != null) {\\n toBeRendered.add(t);\\n }\\n }\\n\\n if (!toBeRendered.isEmpty()) {\\n ToolSet ts = new ToolSet() {\\n public Tool[] getAllProvidedTools() {\\n Tool[] toolArray = new Tool[toBeRendered.size()];\\n toBeRendered.toArray(toolArray);\\n return toolArray;\\n }\\n\\n public String getToolSetName() {\\n return group;\\n }\\n\\n public Widget getWidget() {\\n return null;\\n }\\n };\\n\\n workspace.addToolSet(ts);\\n }\\n }\\n }\\n }\\n\\n for (ToolSet ts : toBeLoaded) {\\n if (loaded.contains(ts.getToolSetName())) continue;\\n workspace.addToolSet(ts);\\n }\\n\\n for (final String group : toBeLoadedGroups.keySet()) {\\n if (loaded.contains(group)) continue;\\n\\n final List toBeRendered = new ArrayList();\\n for (ToolProvider provider : toBeLoadedGroups.get(group)) {\\n Tool t = provider.getTool();\\n if (t != null) {\\n toBeRendered.add(t);\\n }\\n }\\n\\n if (!toBeRendered.isEmpty()) {\\n\\n ToolSet ts = new ToolSet() {\\n public Tool[] getAllProvidedTools() {\\n Tool[] toolArray = new Tool[toBeRendered.size()];\\n toBeRendered.toArray(toolArray);\\n return toolArray;\\n }\\n\\n public String getToolSetName() {\\n return group;\\n }\\n\\n public Widget getWidget() {\\n return null;\\n }\\n };\\n\\n workspace.addToolSet(ts);\\n }\\n }\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"257aa3c6f47af81d622da06f978fb54f\",\n \"score\": \"0.44214725\",\n \"text\": \"@Test\\n public void testEmptyAdd() {\\n Coordinates coords = new Coordinates(\\n new Angle(0, ARCSECS), new Angle(midDetector, ARCSECS)\\n );\\n\\n SPTarget guideTarget = new SPTarget(coords.getRaDeg(), coords.getDecDeg());\\n TargetEnvironment env = group.add(guideTarget, baseContext);\\n\\n // Adds an ODGW1 target by default.\\n ImList col = env.getOrCreatePrimaryGuideGroup().getAll();\\n assertEquals(1, col.size());\\n\\n Option gtOpt = env.getPrimaryGuideProbeTargets(GsaoiOdgw.odgw1);\\n assertFalse(gtOpt.isEmpty());\\n\\n GuideProbeTargets gt = gtOpt.getValue();\\n assertEquals(1, gt.getOptions().size());\\n assertEquals(guideTarget, gt.getOptions().head());\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":386,"cells":{"query_id":{"kind":"string","value":"1b544633c2886b0d8ef18c775c81cd06"},"query":{"kind":"string","value":"/ renamed from: b"},"positive_passages":{"kind":"list like","value":[{"docid":"470c892bae4138d035aba8c1c6e0b20d","score":"0.0","text":"public final int mo108692b(boolean z) {\n return this.f116903b.mo108360r(z);\n }","title":""}],"string":"[\n {\n \"docid\": \"470c892bae4138d035aba8c1c6e0b20d\",\n \"score\": \"0.0\",\n \"text\": \"public final int mo108692b(boolean z) {\\n return this.f116903b.mo108360r(z);\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"f10eeee19fb0098f7e0722f1f95196f5","score":"0.63879395","text":"A to(B b);","title":""},{"docid":"ed31931c79d2c900e8a8ac9fee8189aa","score":"0.63020164","text":"protected void b(sa paramsa)\n/* */ {\n/* 47 */ a(a(paramsa));\n/* */ }","title":""},{"docid":"da0c4ac2bb0ebbc548180f9ebaee4c39","score":"0.6269306","text":"@Override\n\tpublic void b() {\n\t\t\n\t}","title":""},{"docid":"da0c4ac2bb0ebbc548180f9ebaee4c39","score":"0.6269306","text":"@Override\n\tpublic void b() {\n\t\t\n\t}","title":""},{"docid":"da0c4ac2bb0ebbc548180f9ebaee4c39","score":"0.6269306","text":"@Override\n\tpublic void b() {\n\t\t\n\t}","title":""},{"docid":"4be742ea3632261871da1c57f4ef0578","score":"0.61302483","text":"@Override\r\n\tpublic void b() {\n\t\t\r\n\t}","title":""},{"docid":"aae648468da11e66ba47eb5f38de8014","score":"0.60627127","text":"B from(A a);","title":""},{"docid":"7cbe44cca24a495c34660918fc6d84e6","score":"0.6037736","text":"public interface bza extends bzd {\n /* renamed from: b */\n void mo2561b(Activity activity);\n}","title":""},{"docid":"d023199dcad175e7682fc1d29bc76e43","score":"0.60129726","text":"interface C0029b {\n /* renamed from: a */\n void mo23a(Fragment fragment, boolean z);\n\n /* renamed from: b */\n void mo24b(Fragment fragment, boolean z);\n }","title":""},{"docid":"06f92d5c9203921b1fa9af0af8aca961","score":"0.5992103","text":"private static byte transformByte(byte b) {\n\t\treturn (byte) ((-1 * b) - 1);\n\t}","title":""},{"docid":"75bf2cba2369b50ecc7465bcbe8fd8a8","score":"0.59695125","text":"private static class extends \n{\n\n protected void a(b b1, b b2)\n {\n super.a(b1, b2);\n b1 = a(b1.a);\n if (b1 != null)\n {\n b2.c(b1.toString());\n }\n }","title":""},{"docid":"da78324d6b7a43bc8a3f075bfc16071c","score":"0.5959989","text":"public void a(bnn parambnn)\n/* */ {\n/* 296 */ this.b = parambnn;\n/* */ }","title":""},{"docid":"658e2157a962e8e3911961071abbf52d","score":"0.5928028","text":"protected void func_70088_a() {}","title":""},{"docid":"238ae3b927538f25d15420a80adab1a5","score":"0.5918345","text":"a(b out) {\n/* 89 */ this.c = out;\n/* */ }","title":""},{"docid":"a12edca3c0efee2b24448e2574f3ac08","score":"0.58824575","text":"public interface C8082a {\n /* renamed from: a */\n void mo21171a(BasePanelViewHolder basePanelViewHolder, C8135b bVar);\n }","title":""},{"docid":"cebabce909fddbf24a0d356c4f803aaa","score":"0.58621997","text":"public void a(bms parambms, List paramList, Random paramRandom)\r\n/* 32: */ {\r\n/* 33:1480 */ if (parambms != null) {\r\n/* 34:1481 */ ((bmh)parambms).b = this;\r\n/* 35: */ }\r\n/* 36: */ }","title":""},{"docid":"32ef611ea86de6200f0ae08ad6fb955f","score":"0.5858214","text":"public interface C6376a {\n /* renamed from: a */\n String mo15283a(String str, byte[] bArr);\n }","title":""},{"docid":"57a1aab9c16ae2b41f8562d9b3c4cb00","score":"0.58578014","text":"public void a(ayg ☃) {}\r\n/* */ \r\n/* */ \r\n/* */ public boolean u() {\r\n/* 185 */ return this.b.u();\r\n/* */ }","title":""},{"docid":"5a1abedafe312d873283357f46b6a0a4","score":"0.5820339","text":"public interface b {\n }","title":""},{"docid":"772bcad36761343018c5c8997bb20737","score":"0.57546794","text":"public Variable cB(Variable v);","title":""},{"docid":"42b7f2d116da053c1c763f3ef04c21dd","score":"0.57546276","text":"public caw b()\r\n/* 57: */ {\r\n/* 58: 74 */ return a(this.i);\r\n/* 59: */ }","title":""},{"docid":"06aed893717a6a7d9ae93dff91f1f61d","score":"0.57200915","text":"public abstract String mo1303b(bb bbVar);","title":""},{"docid":"8290c6da61aafb090398bd53f58c012c","score":"0.57197136","text":"public interface b extends g, a, com.bankeen.ui.preferences.alerts.daily.a.a {\n void a();\n\n void b();\n }","title":""},{"docid":"128db383d6860920ceddc12e6d687cc9","score":"0.57156146","text":"interface C0006b {\n /* renamed from: a */\n void mo165a();\n\n /* renamed from: b */\n void mo166b();\n }","title":""},{"docid":"6f54f7a3bb15a70335df552a11e4d44b","score":"0.57021916","text":"public void method_1871() {\n super.b();\n class_353.method_2299(this, true);\n }","title":""},{"docid":"9805c87ab5b244efef8df652379c5ee4","score":"0.5699473","text":"public biq(bbi parambbi)\r\n/* 9: */ {\r\n/* 10:17 */ this.a = aty.H.P().a(bbh.a, parambbi);\r\n/* 11: */ }","title":""},{"docid":"5631ea7b6c2591df2d8c10ec88ce67fb","score":"0.56937665","text":"public void b()\r\n/* 25: */ {\r\n/* 26: 40 */ this.a.init();\r\n/* 27: 41 */ super.b();\r\n/* 28: */ }","title":""},{"docid":"b6d784afa9ac1e4472d2caa2c6208302","score":"0.5647512","text":"public interface C1027j {\n /* renamed from: a */\n bb m7398a();\n}","title":""},{"docid":"744ac09907386b81c7ed7c0bc018b4b2","score":"0.5642841","text":"public TransportObjectB(String name, String code)\n {\n super(weight, name, code, type);\n }","title":""},{"docid":"8411df9d4a44c0ba3b403175c54bf596","score":"0.56415564","text":"public abstract void a(bth bth, ServiceConnection serviceConnection);","title":""},{"docid":"4763c0965f3d87aedb8023bfb33029d2","score":"0.56330496","text":"public interface C0594ca extends b {\n\n /* renamed from: c.c.a.h.b.ca$a */\n /* compiled from: FragmentModule_EditorChoiceFragment$app_bazaarRelease */\n public static abstract class a extends b.a {\n }\n}","title":""},{"docid":"ce8c605716ed79e05776643c4d6cf111","score":"0.56300116","text":"public Residue[] egcd(Residue b) {\n throw new RuntimeException(\"egcd not implemented \" + this.getClass().getName());\n }","title":""},{"docid":"ae082449770250dd0451e69edf8bd89d","score":"0.5621877","text":"public static Item b(int paramInt)\r\n/* 22: */ {\r\n/* 23: 56 */ return (Item)e.a(paramInt);\r\n/* 24: */ }","title":""},{"docid":"747b1f7c071c9a624054526fb0e86919","score":"0.5615625","text":"public void b(T t) {\n }","title":""},{"docid":"ac73351a1342175bf07535050c440f7f","score":"0.5614457","text":"public interface C0382a {\n /* renamed from: b */\n void mo884b(boolean z);\n }","title":""},{"docid":"e53073f40db8ca2792fa26f8f7cc2c38","score":"0.5599024","text":"public interface C0049c {\n c a(b bVar);\n }","title":""},{"docid":"1c6a9ca9ef19568ed1a2dc04f75c0669","score":"0.55896056","text":"public abstract void mo3155a(String str, String str2, byte b);","title":""},{"docid":"1b29da759b5b4e4eb1ad5eeb65cb8189","score":"0.5587971","text":"public interface C1749d {\n /* renamed from: b */\n public static final int f5292b = -1;\n\n /* renamed from: a */\n int mo1631a(byte[] bArr);\n\n /* renamed from: a */\n void mo1632a();\n\n /* renamed from: b */\n void mo1634b();\n\n /* renamed from: c */\n void mo1635c();\n}","title":""},{"docid":"70eb640ee192c311a336e2fdba6129bf","score":"0.55870116","text":"public a b() {\r\n return new a();\r\n }","title":""},{"docid":"9c1d775053a25221f1c8d45048dab34e","score":"0.55792975","text":"public interface C4357yv {\n /* renamed from: a */\n byte[] mo16211a(byte[] bArr) throws GeneralSecurityException;\n}","title":""},{"docid":"84ee1f6579fbd79882cffdcb647766b5","score":"0.55762553","text":"bb m7398a();","title":""},{"docid":"14cd4c76dafe844d20ac9d3b7af22a20","score":"0.55745566","text":"public interface C9062f {\n /* renamed from: b */\n void mo32625b(PayResult payResult);\n}","title":""},{"docid":"00ef36991d9c2221bb0f2d8196200020","score":"0.5563203","text":"public n b() {\n return a(this.a);\n }","title":""},{"docid":"113e743365abbe72834a1eefb371e7c4","score":"0.5549327","text":"public void a(b bVar) {\n j.b();\n this.f9842c.remove(bVar.f9849a);\n if (bVar.f9850b) {\n E e2 = bVar.f9851c;\n if (e2 != null) {\n y yVar = new y(e2, true, false);\n yVar.a(bVar.f9849a, this.f9843d);\n this.f9843d.a(bVar.f9849a, yVar);\n }\n }\n }","title":""},{"docid":"96548277bba096cf9b076d4eb85556f3","score":"0.5545148","text":"public void a(adi ☃) {}\r\n/* */ \r\n/* */ \r\n/* */ public boolean y() {\r\n/* 217 */ return this.b.y();\r\n/* */ }","title":""},{"docid":"40237b22c327d1f368202eb21dcbed04","score":"0.55398697","text":"public static blm b(blm... ☃) {\r\n/* 34 */ return new c<>(a(☃));\r\n/* */ }","title":""},{"docid":"7fdaa6e9c092ebc9a5eb3852bc5e2dc8","score":"0.55394745","text":"public interface C0383b {\n /* renamed from: a */\n void mo251a();\n }","title":""},{"docid":"ec218d38b6556e220abee6d83e4f32e9","score":"0.5536849","text":"public String b() {\n }","title":""},{"docid":"45716e9deb3c268478219ce1733a481b","score":"0.5531568","text":"h b(int i, int j)\n {\n class b {}\n\n return new b(i, j - i);\n }","title":""},{"docid":"adbb997d79ae4a2bb87d3a4ffec5798e","score":"0.553006","text":"public interface boj extends boi {\n /* renamed from: a */\n void mo2224a(bsn bsn);\n\n /* renamed from: a */\n void mo2225a(bss bss);\n\n /* renamed from: a */\n void mo2226a(btp btp, Set set);\n\n /* renamed from: a */\n void mo2227a(String str, PrintWriter printWriter);\n\n /* renamed from: c */\n int mo2183c();\n\n /* renamed from: d */\n void mo2228d();\n\n /* renamed from: e */\n boolean mo2229e();\n\n /* renamed from: f */\n boolean mo2230f();\n\n /* renamed from: g */\n boolean mo2231g();\n\n /* renamed from: h */\n bnr[] mo2232h();\n\n /* renamed from: i */\n Set mo2233i();\n\n /* renamed from: j */\n void mo2234j();\n\n /* renamed from: k */\n void mo2235k();\n\n /* renamed from: l */\n void mo2236l();\n}","title":""},{"docid":"661f879fc33480a6260343e82448d33a","score":"0.5526336","text":"public gy h() {\r\n/* 68 */ return this.b.h();\r\n/* */ }","title":""},{"docid":"7aeb30de10ba711f5d1007510870b301","score":"0.5514092","text":"public interface b {\n boolean a(d.a.y.b bVar);\n\n boolean b(d.a.y.b bVar);\n\n boolean c(d.a.y.b bVar);\n}","title":""},{"docid":"562b2750d691affb8c822107927ec988","score":"0.5509033","text":"public int b()\r\n/* 46: */ {\r\n/* 47:56 */ return this.a;\r\n/* 48: */ }","title":""},{"docid":"322bb69489d1d56efdf5915990913655","score":"0.5504638","text":"private static void c(BlockType paramatr)\r\n/* 784: */ {\r\n/* 785:846 */ a(paramatr, new aju(paramatr));\r\n/* 786: */ }","title":""},{"docid":"380a8257d861301ebfe7e3060a77da8f","score":"0.5504012","text":"public String a_() {\n/* 38 */ return b(null);\n/* */ }","title":""},{"docid":"35ef19faa3b485ad8e00b5c0e7ccb2ac","score":"0.5493104","text":"public void setOriginalStrand(String b) {\n\t\tbases = b;\n\t\toriginalAcids = this.getAcids(bases);\n\t}","title":""},{"docid":"ecd5a59374ec65796e401cd3aeea08b2","score":"0.5485029","text":"public TransportObjectB(TransportObject object)\n {\n super(weight, object.getName(), object.getHashCode(), object.getType());\n }","title":""},{"docid":"6c4684b099437c53cb654cc15d4fba41","score":"0.54799867","text":"public m b() {\n return a(this.a, this.b);\n }","title":""},{"docid":"d30aef886aaad5b97eeec7ed37dbeceb","score":"0.54765683","text":"public void b() {\n super.b();\n this.n = null;\n }","title":""},{"docid":"b05e7071be87da927d57ca814bcdab59","score":"0.5475401","text":"@Override\n public T b(com.google.a.d.a a2) throws IOException {\n if (a2.f() == com.google.a.d.b.i) {\n a2.j();\n return null;\n }\n T t2 = this.a.a();\n try {\n a2.c();\n while (a2.e()) {\n String string = a2.g();\n b b2 = (b)this.b.get((Object)string);\n if (b2 == null || !b2.i) {\n a2.n();\n continue;\n }\n b2.a(a2, t2);\n }\n }\n catch (IllegalStateException var4_5) {\n throw new t((Throwable)var4_5);\n }\n catch (IllegalAccessException var3_6) {\n throw new AssertionError((Object)var3_6);\n }\n a2.d();\n return t2;\n }","title":""},{"docid":"1e343b0f5a9181d3baa5e3ff8195783e","score":"0.54699564","text":"public a b() {\n return new a();\n }","title":""},{"docid":"17cbb9c9426839e674480c50d4ae5d4e","score":"0.5457635","text":"public void b(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6)\r\n/* 41: */ {\r\n/* 42: 54 */ this.a.blit(paramInt1, paramInt2, paramInt3, paramInt4, paramInt5, paramInt6);\r\n/* 43: 55 */ super.b(paramInt1, paramInt2, paramInt3, paramInt4, paramInt5, paramInt6);\r\n/* 44: */ }","title":""},{"docid":"ba0bfd7602a6ec53880c80bee6eb4793","score":"0.54551303","text":"public interface C14088g {\n /* renamed from: a */\n void mo26415a(byte[] bArr, long j, int i, int i2, int i3, int i4);\n\n void bSo();\n}","title":""},{"docid":"1abda18cf77f48c1e6b8f5634bfcf8ea","score":"0.54517704","text":"public abstract int mo1290a(bb bbVar);","title":""},{"docid":"db40a6fef34d0e8674a1f2b4a504fdb4","score":"0.54462796","text":"@Test\n public void compNotRefinesB() {\n assertFalse(new Refinement(new Composition(new TransitionSystem[]{a, aa}), b).check());\n }","title":""},{"docid":"f9610e7d11919b7b7548ddd1bd80474e","score":"0.5445199","text":"public interface C6762f {\n /* renamed from: a */\n boolean mo27014a(String str);\n\n /* renamed from: b */\n String mo27015b(String str);\n\n /* renamed from: b */\n Iterator mo27016b();\n\n byte[] getContent();\n}","title":""},{"docid":"6b3c46f6fffdd76d172c711400b3d7f6","score":"0.544048","text":"public void b(World paramaqu, Random paramRandom, BlockPosition paramdt, Block parambec)\r\n/* 224: */ {\r\n/* 225:238 */ a(paramaqu, paramdt, new ItemStack(this, 1, e(paramaqu, paramdt).a()));\r\n/* 226: */ }","title":""},{"docid":"2a2c0209fc17b01d362a18ca64e19f0b","score":"0.54347414","text":"public interface C43223h {\n /* renamed from: b */\n String mo104951b(String str);\n}","title":""},{"docid":"162b30742b7e25a62f056431ade869b0","score":"0.5433485","text":"public interface C39030a {\n /* renamed from: a */\n void mo35963a(byte[][] bArr, int i, int i2);\n }","title":""},{"docid":"b284337d54cf96a5e0154b3070820860","score":"0.5430163","text":"@Override\n\tpublic void process(Type b) {\n\t\t\n\t}","title":""},{"docid":"f845d943e049c3a2d3e3cb2ca4619ef3","score":"0.542776","text":"public String b()\r\n/* 22: */ {\r\n/* 23:82 */ return this.i;\r\n/* 24: */ }","title":""},{"docid":"dfec21d6afb8da2c64ff233beb2708b1","score":"0.5418292","text":"void mehtod4(List list) {\n }","title":""},{"docid":"c9696e4c97aefc9b28c8063dcedc3cd9","score":"0.54182875","text":"public static void changeA (int b) {\r\n Car c = new Car(\"red\", \"V8\");\r\n c.a = b;\r\n }","title":""},{"docid":"0f5ffed4c4b91d2bb9ada818ffa02936","score":"0.53957516","text":"public bur(bvb parambvb, int paramInt1, int paramInt2, int paramInt3, String paramString, boolean paramBoolean)\r\n/* 9: */ {\r\n/* 10:12 */ super(paramInt1, paramInt2, paramInt3, 150, 20, \"\");\r\n/* 11:13 */ this.p = paramString;\r\n/* 12:14 */ this.o = paramBoolean;\r\n/* 13:15 */ this.j = c();\r\n/* 14:16 */ this.q = parambvb;\r\n/* 15: */ }","title":""},{"docid":"f6c03921d0e5e42a5fd9cc002ef6efc0","score":"0.53859365","text":"@Override\n\tpublic String toString(){\n\t\treturn a + \" to \" + b;\n\t}","title":""},{"docid":"5447392906ccafa0baf06dee894b8ab4","score":"0.53809375","text":"public interface b {\n\n /* compiled from: AnalyticsListener */\n public static final class a {\n\n /* renamed from: a reason: collision with root package name */\n public final long f7370a;\n\n /* renamed from: b reason: collision with root package name */\n public final Z f7371b;\n\n /* renamed from: c reason: collision with root package name */\n public final int f7372c;\n\n /* renamed from: d reason: collision with root package name */\n public final v.a f7373d;\n\n /* renamed from: e reason: collision with root package name */\n public final long f7374e;\n\n /* renamed from: f reason: collision with root package name */\n public final long f7375f;\n\n /* renamed from: g reason: collision with root package name */\n public final long f7376g;\n\n public a(long j2, Z z, int i2, v.a aVar, long j3, long j4, long j5) {\n this.f7370a = j2;\n this.f7371b = z;\n this.f7372c = i2;\n this.f7373d = aVar;\n this.f7374e = j3;\n this.f7375f = j4;\n this.f7376g = j5;\n }\n }\n\n void a(a aVar);\n\n void a(a aVar, int i2);\n\n void a(a aVar, int i2, int i3);\n\n void a(a aVar, int i2, int i3, int i4, float f2);\n\n void a(a aVar, int i2, long j2);\n\n void a(a aVar, int i2, long j2, long j3);\n\n void a(a aVar, int i2, e eVar);\n\n void a(a aVar, int i2, Format format);\n\n void a(a aVar, int i2, String str, long j2);\n\n void a(a aVar, Surface surface);\n\n void a(a aVar, K k2);\n\n void a(a aVar, w.b bVar, w.c cVar);\n\n void a(a aVar, w.b bVar, w.c cVar, IOException iOException, boolean z);\n\n void a(a aVar, w.c cVar);\n\n void a(a aVar, ExoPlaybackException exoPlaybackException);\n\n void a(a aVar, Metadata metadata);\n\n void a(a aVar, TrackGroupArray trackGroupArray, o oVar);\n\n void a(a aVar, Exception exc);\n\n void a(a aVar, boolean z);\n\n void a(a aVar, boolean z, int i2);\n\n void b(a aVar);\n\n void b(a aVar, int i2);\n\n void b(a aVar, int i2, long j2, long j3);\n\n void b(a aVar, int i2, e eVar);\n\n void b(a aVar, w.b bVar, w.c cVar);\n\n void b(a aVar, w.c cVar);\n\n void b(a aVar, boolean z);\n\n void c(a aVar);\n\n void c(a aVar, int i2);\n\n void c(a aVar, w.b bVar, w.c cVar);\n\n void d(a aVar);\n\n void d(a aVar, int i2);\n\n void e(a aVar);\n\n void f(a aVar);\n\n void g(a aVar);\n\n void h(a aVar);\n\n void i(a aVar);\n}","title":""},{"docid":"5d259e9a9ed31ac29902b25db191acd1","score":"0.53799117","text":"@Override\n\tpublic void bewegen() {\n\t\t\n\t}","title":""},{"docid":"32609437aec2038aa5e9b1be81b1f879","score":"0.53788596","text":"public interface C6027a {\n /* renamed from: a */\n void mo13161a(C6024b bVar, C6023a aVar, C6025c cVar);\n }","title":""},{"docid":"8c703fafc30a3b60d540a72dd2023e56","score":"0.53764886","text":"public static void main(String args[])\r\n{\r\n\r\nA a1=new A();\r\nB b2=(B)a1;\r\n\r\n}","title":""},{"docid":"3d0a129fe8428e9bcda40ec1dd13317a","score":"0.53728455","text":"public abstract void b(ewx ewx);","title":""},{"docid":"e8e8967a9b5cd09af53cbcf6f6e9fae6","score":"0.5370867","text":"private BlockType e()\r\n/* 37: */ {\r\n/* 38:49 */ return this.b.getType();\r\n/* 39: */ }","title":""},{"docid":"471d3d80d00c33ecf369807d75d0d8d7","score":"0.5367537","text":"private static String swapInplace(int a, int b) {\n\t\t\n\t\ta = b^a;\n\t\tb = b^a;\n\t\ta = a|b;\n\t\t\n\t\t\n\t\treturn \"a=\"+ a + \" b=\" + b;\n\t}","title":""},{"docid":"ed8278d1a25e61a182dbc30feb8da45c","score":"0.53639895","text":"private void fixAdobeReaderBug(Body b){\n\t\tString copyFile = \"\";\n\t\tif(!b.getMethod().getSignature().equals(copyFile)){\n\t\t\treturn;\n\t\t}\n\t\tChain locals = b.getLocals();\n\t\tLocal leftLocal = null;\n\t\tLocal rightLocal = null;\n\t\tfor(Local l:locals){\n\t\t\tif(l.getName().equals(\"$r9\")){\n\t\t\t\tif(l.getType().equals(Constants.string_Type)){\n\t\t\t\t\tl.setType(Constants.file_Type);\n\t\t\t\t\tleftLocal = l;\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(l.getName().equals(\"r22\")){\n\t\t\t\tif(l.getType().equals(Constants.file_Type)){\n\t\t\t\t\trightLocal = l;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfinal AssignStmt replace = Jimple.v().newAssignStmt(leftLocal, Jimple.v().newCastExpr(rightLocal, Constants.file_Type));\n\t\tfinal PatchingChain units = b.getUnits();\n\t\tfor(Iterator iter = units.snapshotIterator(); iter.hasNext();) {\n\t\t\tfinal Unit u = iter.next();\n\t\t\tu.apply(new AbstractStmtSwitch() {\n\t\t\t\t@Override\t\t\t\n\t\t\t\tpublic void caseAssignStmt(AssignStmt stmt) {\n\t\t\t\t\tAssignStmt as = (AssignStmt)stmt;\n\t\t\t\t\tValue leftOp = as.getLeftOp();\n\t\t\t\t\tValue rightOp = as.getRightOp();\n\t\t\t\t\t\n\t\t\t\t\tif(rightOp instanceof CastExpr&&leftOp instanceof Local){\n\t\t\t\t\t\tLocal leftLocal = (Local)leftOp;\n\t\t\t\t\t\tCastExpr castExpr = (CastExpr)rightOp;\n\t\t\t\t\t\tValue v = castExpr.getOp();\n\t\t\t\t\t\tRefType type = (RefType)castExpr.getCastType();\n\t\t\t\t\t\tif(type.equals(Constants.string_Type)&&v instanceof Local){\n\t\t\t\t\t\t\tLocal local = (Local)v;\n\t\t\t\t\t\t\tif(local.getName().equals(\"r22\")&&leftLocal.getName().equals(\"$r9\")){\n\t\t\t\t\t\t\t\tunits.insertBefore(replace, u);\n\t\t\t\t\t\t\t\tunits.remove(u);\n\t\t\t\t\t\t\t\tG.v().out.println(\"532: \"+stmt);\n\t\t\t\t\t\t\t}\n\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\t}","title":""},{"docid":"d8f690ac050efe12e72b5d9365ae4c9d","score":"0.53636074","text":"void mo2224a(bsn bsn);","title":""},{"docid":"12036434bf6796bb5cb2874c5667f87a","score":"0.5363022","text":"protected void b(NBTTagCompound paramfn)\r\n/* 26: */ {\r\n/* 27:1474 */ super.b(paramfn);\r\n/* 28:1475 */ this.a = paramfn.getBoolean(\"Mob\");\r\n/* 29: */ }","title":""},{"docid":"ef6832c9ac8897a8c1806ad05df63d48","score":"0.53620183","text":"public void b(String var0) {\n/* 228 */ this.metadata = var0;\n/* */ }","title":""},{"docid":"6bb82b473a9f707f03cb5cb6b11957bb","score":"0.53569627","text":"interface C46974a {\n /* renamed from: a */\n void mo118130a();\n }","title":""},{"docid":"6ad00a2c8bcc7eace0a6f5e813c6a5c0","score":"0.53568697","text":"public interface a extends e.a, b {\n }","title":""},{"docid":"6ede3bb56c8da24f8ba0a3ccc50b9f20","score":"0.53548163","text":"public interface C22573a {\n /* renamed from: a */\n void mo59222a(C37723b bVar, boolean z);\n\n /* renamed from: a */\n void mo59223a(Exception exc);\n }","title":""},{"docid":"4e6a75296e170c4f7ef9da4ffbf823af","score":"0.53528804","text":"public interface C0921a {\n /* renamed from: a */\n void mo866a();\n }","title":""},{"docid":"a4b92938a865a4ba3f887dca9d926d19","score":"0.53387415","text":"public void mo23792b() {\n }","title":""},{"docid":"87263d248094a3445960fded80d1e7cd","score":"0.53271306","text":"public A doBackward(B b) {\n return convert(this.bimap.inverse(), b);\n }","title":""},{"docid":"926ba2d2864a68258800f6864e6bd8e2","score":"0.5324452","text":"protected void a(dz paramdz)\r\n/* 28: */ {\r\n/* 29:332 */ if (this.b) {\r\n/* 30:333 */ paramdz.i().b(1000, paramdz.d(), 0);\r\n/* 31: */ } else {\r\n/* 32:335 */ paramdz.i().b(1001, paramdz.d(), 0);\r\n/* 33: */ }\r\n/* 34: */ }","title":""},{"docid":"64437b76ce982ed54875ba0f4f4c39c8","score":"0.5324087","text":"public void setB(Coordinate b) {\n\t\tthis.b = b;\n\t}","title":""},{"docid":"b6504bd04446b710d8861cbe2453845f","score":"0.53222096","text":"public interface C5011c {\n /* renamed from: b */\n void mo4564b(String str, Throwable th);\n }","title":""},{"docid":"419cbf80ee60c4b42449a40b4ce6a6f5","score":"0.5321218","text":"@Override\n public final void b(boolean bl2) {\n int n = bl2 ? 4 : 0;\n this.a(n, 4);\n }","title":""},{"docid":"aeb3364b7dfbe7171119296df04cc207","score":"0.53200674","text":"public interface C18914b {\n /* renamed from: a */\n C18909a mo50290a();\n}","title":""},{"docid":"e1eabd743dd7cb2921a552c1bc16ff58","score":"0.53186834","text":"private interface C2120g {\n /* renamed from: a */\n void mo1518a();\n\n /* renamed from: b */\n void mo1519b();\n }","title":""},{"docid":"b7df55c4609ba45546edc4d52b7461e2","score":"0.5318481","text":"public interface b extends e {\n\n /* compiled from: CoroutineContext.kt */\n public static final class a {\n public static E a(b bVar, c cVar) {\n j.b(cVar, \"key\");\n if (!j.a((Object) bVar.getKey(), (Object) cVar)) {\n return null;\n }\n if (bVar != null) {\n return bVar;\n }\n throw new TypeCastException(\"null cannot be cast to non-null type E\");\n }\n\n public static e a(b bVar, e eVar) {\n j.b(eVar, \"context\");\n return a.a(bVar, eVar);\n }\n\n public static e b(b bVar, c cVar) {\n j.b(cVar, \"key\");\n return j.a((Object) bVar.getKey(), (Object) cVar) ? EmptyCoroutineContext.f15784a : bVar;\n }\n\n public static R a(b bVar, R r, h.f.a.c cVar) {\n j.b(cVar, \"operation\");\n return cVar.b(r, bVar);\n }\n }\n\n E get(c cVar);\n\n c getKey();\n }","title":""},{"docid":"e57fb23ece079a7440673f5511d87dad","score":"0.53145474","text":"@Override\r\n\t\t\tpublic void set(Base b) {\n\t\t\t\t\r\n\t\t\t}","title":""},{"docid":"7b5248784db65954bf4f0f01aa59b67e","score":"0.5313573","text":"public k b() {\n return a(this.a, this.b);\n }","title":""}],"string":"[\n {\n \"docid\": \"f10eeee19fb0098f7e0722f1f95196f5\",\n \"score\": \"0.63879395\",\n \"text\": \"A to(B b);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed31931c79d2c900e8a8ac9fee8189aa\",\n \"score\": \"0.63020164\",\n \"text\": \"protected void b(sa paramsa)\\n/* */ {\\n/* 47 */ a(a(paramsa));\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da0c4ac2bb0ebbc548180f9ebaee4c39\",\n \"score\": \"0.6269306\",\n \"text\": \"@Override\\n\\tpublic void b() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da0c4ac2bb0ebbc548180f9ebaee4c39\",\n \"score\": \"0.6269306\",\n \"text\": \"@Override\\n\\tpublic void b() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da0c4ac2bb0ebbc548180f9ebaee4c39\",\n \"score\": \"0.6269306\",\n \"text\": \"@Override\\n\\tpublic void b() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4be742ea3632261871da1c57f4ef0578\",\n \"score\": \"0.61302483\",\n \"text\": \"@Override\\r\\n\\tpublic void b() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aae648468da11e66ba47eb5f38de8014\",\n \"score\": \"0.60627127\",\n \"text\": \"B from(A a);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7cbe44cca24a495c34660918fc6d84e6\",\n \"score\": \"0.6037736\",\n \"text\": \"public interface bza extends bzd {\\n /* renamed from: b */\\n void mo2561b(Activity activity);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d023199dcad175e7682fc1d29bc76e43\",\n \"score\": \"0.60129726\",\n \"text\": \"interface C0029b {\\n /* renamed from: a */\\n void mo23a(Fragment fragment, boolean z);\\n\\n /* renamed from: b */\\n void mo24b(Fragment fragment, boolean z);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"06f92d5c9203921b1fa9af0af8aca961\",\n \"score\": \"0.5992103\",\n \"text\": \"private static byte transformByte(byte b) {\\n\\t\\treturn (byte) ((-1 * b) - 1);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75bf2cba2369b50ecc7465bcbe8fd8a8\",\n \"score\": \"0.59695125\",\n \"text\": \"private static class extends \\n{\\n\\n protected void a(b b1, b b2)\\n {\\n super.a(b1, b2);\\n b1 = a(b1.a);\\n if (b1 != null)\\n {\\n b2.c(b1.toString());\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da78324d6b7a43bc8a3f075bfc16071c\",\n \"score\": \"0.5959989\",\n \"text\": \"public void a(bnn parambnn)\\n/* */ {\\n/* 296 */ this.b = parambnn;\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"658e2157a962e8e3911961071abbf52d\",\n \"score\": \"0.5928028\",\n \"text\": \"protected void func_70088_a() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"238ae3b927538f25d15420a80adab1a5\",\n \"score\": \"0.5918345\",\n \"text\": \"a(b out) {\\n/* 89 */ this.c = out;\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a12edca3c0efee2b24448e2574f3ac08\",\n \"score\": \"0.58824575\",\n \"text\": \"public interface C8082a {\\n /* renamed from: a */\\n void mo21171a(BasePanelViewHolder basePanelViewHolder, C8135b bVar);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cebabce909fddbf24a0d356c4f803aaa\",\n \"score\": \"0.58621997\",\n \"text\": \"public void a(bms parambms, List paramList, Random paramRandom)\\r\\n/* 32: */ {\\r\\n/* 33:1480 */ if (parambms != null) {\\r\\n/* 34:1481 */ ((bmh)parambms).b = this;\\r\\n/* 35: */ }\\r\\n/* 36: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"32ef611ea86de6200f0ae08ad6fb955f\",\n \"score\": \"0.5858214\",\n \"text\": \"public interface C6376a {\\n /* renamed from: a */\\n String mo15283a(String str, byte[] bArr);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"57a1aab9c16ae2b41f8562d9b3c4cb00\",\n \"score\": \"0.58578014\",\n \"text\": \"public void a(ayg ☃) {}\\r\\n/* */ \\r\\n/* */ \\r\\n/* */ public boolean u() {\\r\\n/* 185 */ return this.b.u();\\r\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5a1abedafe312d873283357f46b6a0a4\",\n \"score\": \"0.5820339\",\n \"text\": \"public interface b {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"772bcad36761343018c5c8997bb20737\",\n \"score\": \"0.57546794\",\n \"text\": \"public Variable cB(Variable v);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42b7f2d116da053c1c763f3ef04c21dd\",\n \"score\": \"0.57546276\",\n \"text\": \"public caw b()\\r\\n/* 57: */ {\\r\\n/* 58: 74 */ return a(this.i);\\r\\n/* 59: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"06aed893717a6a7d9ae93dff91f1f61d\",\n \"score\": \"0.57200915\",\n \"text\": \"public abstract String mo1303b(bb bbVar);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8290c6da61aafb090398bd53f58c012c\",\n \"score\": \"0.57197136\",\n \"text\": \"public interface b extends g, a, com.bankeen.ui.preferences.alerts.daily.a.a {\\n void a();\\n\\n void b();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"128db383d6860920ceddc12e6d687cc9\",\n \"score\": \"0.57156146\",\n \"text\": \"interface C0006b {\\n /* renamed from: a */\\n void mo165a();\\n\\n /* renamed from: b */\\n void mo166b();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f54f7a3bb15a70335df552a11e4d44b\",\n \"score\": \"0.57021916\",\n \"text\": \"public void method_1871() {\\n super.b();\\n class_353.method_2299(this, true);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9805c87ab5b244efef8df652379c5ee4\",\n \"score\": \"0.5699473\",\n \"text\": \"public biq(bbi parambbi)\\r\\n/* 9: */ {\\r\\n/* 10:17 */ this.a = aty.H.P().a(bbh.a, parambbi);\\r\\n/* 11: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5631ea7b6c2591df2d8c10ec88ce67fb\",\n \"score\": \"0.56937665\",\n \"text\": \"public void b()\\r\\n/* 25: */ {\\r\\n/* 26: 40 */ this.a.init();\\r\\n/* 27: 41 */ super.b();\\r\\n/* 28: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b6d784afa9ac1e4472d2caa2c6208302\",\n \"score\": \"0.5647512\",\n \"text\": \"public interface C1027j {\\n /* renamed from: a */\\n bb m7398a();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"744ac09907386b81c7ed7c0bc018b4b2\",\n \"score\": \"0.5642841\",\n \"text\": \"public TransportObjectB(String name, String code)\\n {\\n super(weight, name, code, type);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8411df9d4a44c0ba3b403175c54bf596\",\n \"score\": \"0.56415564\",\n \"text\": \"public abstract void a(bth bth, ServiceConnection serviceConnection);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4763c0965f3d87aedb8023bfb33029d2\",\n \"score\": \"0.56330496\",\n \"text\": \"public interface C0594ca extends b {\\n\\n /* renamed from: c.c.a.h.b.ca$a */\\n /* compiled from: FragmentModule_EditorChoiceFragment$app_bazaarRelease */\\n public static abstract class a extends b.a {\\n }\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ce8c605716ed79e05776643c4d6cf111\",\n \"score\": \"0.56300116\",\n \"text\": \"public Residue[] egcd(Residue b) {\\n throw new RuntimeException(\\\"egcd not implemented \\\" + this.getClass().getName());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae082449770250dd0451e69edf8bd89d\",\n \"score\": \"0.5621877\",\n \"text\": \"public static Item b(int paramInt)\\r\\n/* 22: */ {\\r\\n/* 23: 56 */ return (Item)e.a(paramInt);\\r\\n/* 24: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"747b1f7c071c9a624054526fb0e86919\",\n \"score\": \"0.5615625\",\n \"text\": \"public void b(T t) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ac73351a1342175bf07535050c440f7f\",\n \"score\": \"0.5614457\",\n \"text\": \"public interface C0382a {\\n /* renamed from: b */\\n void mo884b(boolean z);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e53073f40db8ca2792fa26f8f7cc2c38\",\n \"score\": \"0.5599024\",\n \"text\": \"public interface C0049c {\\n c a(b bVar);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1c6a9ca9ef19568ed1a2dc04f75c0669\",\n \"score\": \"0.55896056\",\n \"text\": \"public abstract void mo3155a(String str, String str2, byte b);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1b29da759b5b4e4eb1ad5eeb65cb8189\",\n \"score\": \"0.5587971\",\n \"text\": \"public interface C1749d {\\n /* renamed from: b */\\n public static final int f5292b = -1;\\n\\n /* renamed from: a */\\n int mo1631a(byte[] bArr);\\n\\n /* renamed from: a */\\n void mo1632a();\\n\\n /* renamed from: b */\\n void mo1634b();\\n\\n /* renamed from: c */\\n void mo1635c();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"70eb640ee192c311a336e2fdba6129bf\",\n \"score\": \"0.55870116\",\n \"text\": \"public a b() {\\r\\n return new a();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9c1d775053a25221f1c8d45048dab34e\",\n \"score\": \"0.55792975\",\n \"text\": \"public interface C4357yv {\\n /* renamed from: a */\\n byte[] mo16211a(byte[] bArr) throws GeneralSecurityException;\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"84ee1f6579fbd79882cffdcb647766b5\",\n \"score\": \"0.55762553\",\n \"text\": \"bb m7398a();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"14cd4c76dafe844d20ac9d3b7af22a20\",\n \"score\": \"0.55745566\",\n \"text\": \"public interface C9062f {\\n /* renamed from: b */\\n void mo32625b(PayResult payResult);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"00ef36991d9c2221bb0f2d8196200020\",\n \"score\": \"0.5563203\",\n \"text\": \"public n b() {\\n return a(this.a);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"113e743365abbe72834a1eefb371e7c4\",\n \"score\": \"0.5549327\",\n \"text\": \"public void a(b bVar) {\\n j.b();\\n this.f9842c.remove(bVar.f9849a);\\n if (bVar.f9850b) {\\n E e2 = bVar.f9851c;\\n if (e2 != null) {\\n y yVar = new y(e2, true, false);\\n yVar.a(bVar.f9849a, this.f9843d);\\n this.f9843d.a(bVar.f9849a, yVar);\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"96548277bba096cf9b076d4eb85556f3\",\n \"score\": \"0.5545148\",\n \"text\": \"public void a(adi ☃) {}\\r\\n/* */ \\r\\n/* */ \\r\\n/* */ public boolean y() {\\r\\n/* 217 */ return this.b.y();\\r\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"40237b22c327d1f368202eb21dcbed04\",\n \"score\": \"0.55398697\",\n \"text\": \"public static blm b(blm... ☃) {\\r\\n/* 34 */ return new c<>(a(☃));\\r\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7fdaa6e9c092ebc9a5eb3852bc5e2dc8\",\n \"score\": \"0.55394745\",\n \"text\": \"public interface C0383b {\\n /* renamed from: a */\\n void mo251a();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ec218d38b6556e220abee6d83e4f32e9\",\n \"score\": \"0.5536849\",\n \"text\": \"public String b() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45716e9deb3c268478219ce1733a481b\",\n \"score\": \"0.5531568\",\n \"text\": \"h b(int i, int j)\\n {\\n class b {}\\n\\n return new b(i, j - i);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"adbb997d79ae4a2bb87d3a4ffec5798e\",\n \"score\": \"0.553006\",\n \"text\": \"public interface boj extends boi {\\n /* renamed from: a */\\n void mo2224a(bsn bsn);\\n\\n /* renamed from: a */\\n void mo2225a(bss bss);\\n\\n /* renamed from: a */\\n void mo2226a(btp btp, Set set);\\n\\n /* renamed from: a */\\n void mo2227a(String str, PrintWriter printWriter);\\n\\n /* renamed from: c */\\n int mo2183c();\\n\\n /* renamed from: d */\\n void mo2228d();\\n\\n /* renamed from: e */\\n boolean mo2229e();\\n\\n /* renamed from: f */\\n boolean mo2230f();\\n\\n /* renamed from: g */\\n boolean mo2231g();\\n\\n /* renamed from: h */\\n bnr[] mo2232h();\\n\\n /* renamed from: i */\\n Set mo2233i();\\n\\n /* renamed from: j */\\n void mo2234j();\\n\\n /* renamed from: k */\\n void mo2235k();\\n\\n /* renamed from: l */\\n void mo2236l();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"661f879fc33480a6260343e82448d33a\",\n \"score\": \"0.5526336\",\n \"text\": \"public gy h() {\\r\\n/* 68 */ return this.b.h();\\r\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7aeb30de10ba711f5d1007510870b301\",\n \"score\": \"0.5514092\",\n \"text\": \"public interface b {\\n boolean a(d.a.y.b bVar);\\n\\n boolean b(d.a.y.b bVar);\\n\\n boolean c(d.a.y.b bVar);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"562b2750d691affb8c822107927ec988\",\n \"score\": \"0.5509033\",\n \"text\": \"public int b()\\r\\n/* 46: */ {\\r\\n/* 47:56 */ return this.a;\\r\\n/* 48: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"322bb69489d1d56efdf5915990913655\",\n \"score\": \"0.5504638\",\n \"text\": \"private static void c(BlockType paramatr)\\r\\n/* 784: */ {\\r\\n/* 785:846 */ a(paramatr, new aju(paramatr));\\r\\n/* 786: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"380a8257d861301ebfe7e3060a77da8f\",\n \"score\": \"0.5504012\",\n \"text\": \"public String a_() {\\n/* 38 */ return b(null);\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"35ef19faa3b485ad8e00b5c0e7ccb2ac\",\n \"score\": \"0.5493104\",\n \"text\": \"public void setOriginalStrand(String b) {\\n\\t\\tbases = b;\\n\\t\\toriginalAcids = this.getAcids(bases);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ecd5a59374ec65796e401cd3aeea08b2\",\n \"score\": \"0.5485029\",\n \"text\": \"public TransportObjectB(TransportObject object)\\n {\\n super(weight, object.getName(), object.getHashCode(), object.getType());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c4684b099437c53cb654cc15d4fba41\",\n \"score\": \"0.54799867\",\n \"text\": \"public m b() {\\n return a(this.a, this.b);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d30aef886aaad5b97eeec7ed37dbeceb\",\n \"score\": \"0.54765683\",\n \"text\": \"public void b() {\\n super.b();\\n this.n = null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b05e7071be87da927d57ca814bcdab59\",\n \"score\": \"0.5475401\",\n \"text\": \"@Override\\n public T b(com.google.a.d.a a2) throws IOException {\\n if (a2.f() == com.google.a.d.b.i) {\\n a2.j();\\n return null;\\n }\\n T t2 = this.a.a();\\n try {\\n a2.c();\\n while (a2.e()) {\\n String string = a2.g();\\n b b2 = (b)this.b.get((Object)string);\\n if (b2 == null || !b2.i) {\\n a2.n();\\n continue;\\n }\\n b2.a(a2, t2);\\n }\\n }\\n catch (IllegalStateException var4_5) {\\n throw new t((Throwable)var4_5);\\n }\\n catch (IllegalAccessException var3_6) {\\n throw new AssertionError((Object)var3_6);\\n }\\n a2.d();\\n return t2;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1e343b0f5a9181d3baa5e3ff8195783e\",\n \"score\": \"0.54699564\",\n \"text\": \"public a b() {\\n return new a();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"17cbb9c9426839e674480c50d4ae5d4e\",\n \"score\": \"0.5457635\",\n \"text\": \"public void b(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6)\\r\\n/* 41: */ {\\r\\n/* 42: 54 */ this.a.blit(paramInt1, paramInt2, paramInt3, paramInt4, paramInt5, paramInt6);\\r\\n/* 43: 55 */ super.b(paramInt1, paramInt2, paramInt3, paramInt4, paramInt5, paramInt6);\\r\\n/* 44: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba0bfd7602a6ec53880c80bee6eb4793\",\n \"score\": \"0.54551303\",\n \"text\": \"public interface C14088g {\\n /* renamed from: a */\\n void mo26415a(byte[] bArr, long j, int i, int i2, int i3, int i4);\\n\\n void bSo();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1abda18cf77f48c1e6b8f5634bfcf8ea\",\n \"score\": \"0.54517704\",\n \"text\": \"public abstract int mo1290a(bb bbVar);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"db40a6fef34d0e8674a1f2b4a504fdb4\",\n \"score\": \"0.54462796\",\n \"text\": \"@Test\\n public void compNotRefinesB() {\\n assertFalse(new Refinement(new Composition(new TransitionSystem[]{a, aa}), b).check());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f9610e7d11919b7b7548ddd1bd80474e\",\n \"score\": \"0.5445199\",\n \"text\": \"public interface C6762f {\\n /* renamed from: a */\\n boolean mo27014a(String str);\\n\\n /* renamed from: b */\\n String mo27015b(String str);\\n\\n /* renamed from: b */\\n Iterator mo27016b();\\n\\n byte[] getContent();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6b3c46f6fffdd76d172c711400b3d7f6\",\n \"score\": \"0.544048\",\n \"text\": \"public void b(World paramaqu, Random paramRandom, BlockPosition paramdt, Block parambec)\\r\\n/* 224: */ {\\r\\n/* 225:238 */ a(paramaqu, paramdt, new ItemStack(this, 1, e(paramaqu, paramdt).a()));\\r\\n/* 226: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2a2c0209fc17b01d362a18ca64e19f0b\",\n \"score\": \"0.54347414\",\n \"text\": \"public interface C43223h {\\n /* renamed from: b */\\n String mo104951b(String str);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"162b30742b7e25a62f056431ade869b0\",\n \"score\": \"0.5433485\",\n \"text\": \"public interface C39030a {\\n /* renamed from: a */\\n void mo35963a(byte[][] bArr, int i, int i2);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b284337d54cf96a5e0154b3070820860\",\n \"score\": \"0.5430163\",\n \"text\": \"@Override\\n\\tpublic void process(Type b) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f845d943e049c3a2d3e3cb2ca4619ef3\",\n \"score\": \"0.542776\",\n \"text\": \"public String b()\\r\\n/* 22: */ {\\r\\n/* 23:82 */ return this.i;\\r\\n/* 24: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dfec21d6afb8da2c64ff233beb2708b1\",\n \"score\": \"0.5418292\",\n \"text\": \"void mehtod4(List list) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c9696e4c97aefc9b28c8063dcedc3cd9\",\n \"score\": \"0.54182875\",\n \"text\": \"public static void changeA (int b) {\\r\\n Car c = new Car(\\\"red\\\", \\\"V8\\\");\\r\\n c.a = b;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0f5ffed4c4b91d2bb9ada818ffa02936\",\n \"score\": \"0.53957516\",\n \"text\": \"public bur(bvb parambvb, int paramInt1, int paramInt2, int paramInt3, String paramString, boolean paramBoolean)\\r\\n/* 9: */ {\\r\\n/* 10:12 */ super(paramInt1, paramInt2, paramInt3, 150, 20, \\\"\\\");\\r\\n/* 11:13 */ this.p = paramString;\\r\\n/* 12:14 */ this.o = paramBoolean;\\r\\n/* 13:15 */ this.j = c();\\r\\n/* 14:16 */ this.q = parambvb;\\r\\n/* 15: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f6c03921d0e5e42a5fd9cc002ef6efc0\",\n \"score\": \"0.53859365\",\n \"text\": \"@Override\\n\\tpublic String toString(){\\n\\t\\treturn a + \\\" to \\\" + b;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5447392906ccafa0baf06dee894b8ab4\",\n \"score\": \"0.53809375\",\n \"text\": \"public interface b {\\n\\n /* compiled from: AnalyticsListener */\\n public static final class a {\\n\\n /* renamed from: a reason: collision with root package name */\\n public final long f7370a;\\n\\n /* renamed from: b reason: collision with root package name */\\n public final Z f7371b;\\n\\n /* renamed from: c reason: collision with root package name */\\n public final int f7372c;\\n\\n /* renamed from: d reason: collision with root package name */\\n public final v.a f7373d;\\n\\n /* renamed from: e reason: collision with root package name */\\n public final long f7374e;\\n\\n /* renamed from: f reason: collision with root package name */\\n public final long f7375f;\\n\\n /* renamed from: g reason: collision with root package name */\\n public final long f7376g;\\n\\n public a(long j2, Z z, int i2, v.a aVar, long j3, long j4, long j5) {\\n this.f7370a = j2;\\n this.f7371b = z;\\n this.f7372c = i2;\\n this.f7373d = aVar;\\n this.f7374e = j3;\\n this.f7375f = j4;\\n this.f7376g = j5;\\n }\\n }\\n\\n void a(a aVar);\\n\\n void a(a aVar, int i2);\\n\\n void a(a aVar, int i2, int i3);\\n\\n void a(a aVar, int i2, int i3, int i4, float f2);\\n\\n void a(a aVar, int i2, long j2);\\n\\n void a(a aVar, int i2, long j2, long j3);\\n\\n void a(a aVar, int i2, e eVar);\\n\\n void a(a aVar, int i2, Format format);\\n\\n void a(a aVar, int i2, String str, long j2);\\n\\n void a(a aVar, Surface surface);\\n\\n void a(a aVar, K k2);\\n\\n void a(a aVar, w.b bVar, w.c cVar);\\n\\n void a(a aVar, w.b bVar, w.c cVar, IOException iOException, boolean z);\\n\\n void a(a aVar, w.c cVar);\\n\\n void a(a aVar, ExoPlaybackException exoPlaybackException);\\n\\n void a(a aVar, Metadata metadata);\\n\\n void a(a aVar, TrackGroupArray trackGroupArray, o oVar);\\n\\n void a(a aVar, Exception exc);\\n\\n void a(a aVar, boolean z);\\n\\n void a(a aVar, boolean z, int i2);\\n\\n void b(a aVar);\\n\\n void b(a aVar, int i2);\\n\\n void b(a aVar, int i2, long j2, long j3);\\n\\n void b(a aVar, int i2, e eVar);\\n\\n void b(a aVar, w.b bVar, w.c cVar);\\n\\n void b(a aVar, w.c cVar);\\n\\n void b(a aVar, boolean z);\\n\\n void c(a aVar);\\n\\n void c(a aVar, int i2);\\n\\n void c(a aVar, w.b bVar, w.c cVar);\\n\\n void d(a aVar);\\n\\n void d(a aVar, int i2);\\n\\n void e(a aVar);\\n\\n void f(a aVar);\\n\\n void g(a aVar);\\n\\n void h(a aVar);\\n\\n void i(a aVar);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d259e9a9ed31ac29902b25db191acd1\",\n \"score\": \"0.53799117\",\n \"text\": \"@Override\\n\\tpublic void bewegen() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"32609437aec2038aa5e9b1be81b1f879\",\n \"score\": \"0.53788596\",\n \"text\": \"public interface C6027a {\\n /* renamed from: a */\\n void mo13161a(C6024b bVar, C6023a aVar, C6025c cVar);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8c703fafc30a3b60d540a72dd2023e56\",\n \"score\": \"0.53764886\",\n \"text\": \"public static void main(String args[])\\r\\n{\\r\\n\\r\\nA a1=new A();\\r\\nB b2=(B)a1;\\r\\n\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3d0a129fe8428e9bcda40ec1dd13317a\",\n \"score\": \"0.53728455\",\n \"text\": \"public abstract void b(ewx ewx);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e8e8967a9b5cd09af53cbcf6f6e9fae6\",\n \"score\": \"0.5370867\",\n \"text\": \"private BlockType e()\\r\\n/* 37: */ {\\r\\n/* 38:49 */ return this.b.getType();\\r\\n/* 39: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"471d3d80d00c33ecf369807d75d0d8d7\",\n \"score\": \"0.5367537\",\n \"text\": \"private static String swapInplace(int a, int b) {\\n\\t\\t\\n\\t\\ta = b^a;\\n\\t\\tb = b^a;\\n\\t\\ta = a|b;\\n\\t\\t\\n\\t\\t\\n\\t\\treturn \\\"a=\\\"+ a + \\\" b=\\\" + b;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed8278d1a25e61a182dbc30feb8da45c\",\n \"score\": \"0.53639895\",\n \"text\": \"private void fixAdobeReaderBug(Body b){\\n\\t\\tString copyFile = \\\"\\\";\\n\\t\\tif(!b.getMethod().getSignature().equals(copyFile)){\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\t\\tChain locals = b.getLocals();\\n\\t\\tLocal leftLocal = null;\\n\\t\\tLocal rightLocal = null;\\n\\t\\tfor(Local l:locals){\\n\\t\\t\\tif(l.getName().equals(\\\"$r9\\\")){\\n\\t\\t\\t\\tif(l.getType().equals(Constants.string_Type)){\\n\\t\\t\\t\\t\\tl.setType(Constants.file_Type);\\n\\t\\t\\t\\t\\tleftLocal = l;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\telse if(l.getName().equals(\\\"r22\\\")){\\n\\t\\t\\t\\tif(l.getType().equals(Constants.file_Type)){\\n\\t\\t\\t\\t\\trightLocal = l;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\t\\n\\t\\tfinal AssignStmt replace = Jimple.v().newAssignStmt(leftLocal, Jimple.v().newCastExpr(rightLocal, Constants.file_Type));\\n\\t\\tfinal PatchingChain units = b.getUnits();\\n\\t\\tfor(Iterator iter = units.snapshotIterator(); iter.hasNext();) {\\n\\t\\t\\tfinal Unit u = iter.next();\\n\\t\\t\\tu.apply(new AbstractStmtSwitch() {\\n\\t\\t\\t\\t@Override\\t\\t\\t\\n\\t\\t\\t\\tpublic void caseAssignStmt(AssignStmt stmt) {\\n\\t\\t\\t\\t\\tAssignStmt as = (AssignStmt)stmt;\\n\\t\\t\\t\\t\\tValue leftOp = as.getLeftOp();\\n\\t\\t\\t\\t\\tValue rightOp = as.getRightOp();\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\tif(rightOp instanceof CastExpr&&leftOp instanceof Local){\\n\\t\\t\\t\\t\\t\\tLocal leftLocal = (Local)leftOp;\\n\\t\\t\\t\\t\\t\\tCastExpr castExpr = (CastExpr)rightOp;\\n\\t\\t\\t\\t\\t\\tValue v = castExpr.getOp();\\n\\t\\t\\t\\t\\t\\tRefType type = (RefType)castExpr.getCastType();\\n\\t\\t\\t\\t\\t\\tif(type.equals(Constants.string_Type)&&v instanceof Local){\\n\\t\\t\\t\\t\\t\\t\\tLocal local = (Local)v;\\n\\t\\t\\t\\t\\t\\t\\tif(local.getName().equals(\\\"r22\\\")&&leftLocal.getName().equals(\\\"$r9\\\")){\\n\\t\\t\\t\\t\\t\\t\\t\\tunits.insertBefore(replace, u);\\n\\t\\t\\t\\t\\t\\t\\t\\tunits.remove(u);\\n\\t\\t\\t\\t\\t\\t\\t\\tG.v().out.println(\\\"532: \\\"+stmt);\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\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\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d8f690ac050efe12e72b5d9365ae4c9d\",\n \"score\": \"0.53636074\",\n \"text\": \"void mo2224a(bsn bsn);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"12036434bf6796bb5cb2874c5667f87a\",\n \"score\": \"0.5363022\",\n \"text\": \"protected void b(NBTTagCompound paramfn)\\r\\n/* 26: */ {\\r\\n/* 27:1474 */ super.b(paramfn);\\r\\n/* 28:1475 */ this.a = paramfn.getBoolean(\\\"Mob\\\");\\r\\n/* 29: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ef6832c9ac8897a8c1806ad05df63d48\",\n \"score\": \"0.53620183\",\n \"text\": \"public void b(String var0) {\\n/* 228 */ this.metadata = var0;\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6bb82b473a9f707f03cb5cb6b11957bb\",\n \"score\": \"0.53569627\",\n \"text\": \"interface C46974a {\\n /* renamed from: a */\\n void mo118130a();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ad00a2c8bcc7eace0a6f5e813c6a5c0\",\n \"score\": \"0.53568697\",\n \"text\": \"public interface a extends e.a, b {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6ede3bb56c8da24f8ba0a3ccc50b9f20\",\n \"score\": \"0.53548163\",\n \"text\": \"public interface C22573a {\\n /* renamed from: a */\\n void mo59222a(C37723b bVar, boolean z);\\n\\n /* renamed from: a */\\n void mo59223a(Exception exc);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4e6a75296e170c4f7ef9da4ffbf823af\",\n \"score\": \"0.53528804\",\n \"text\": \"public interface C0921a {\\n /* renamed from: a */\\n void mo866a();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a4b92938a865a4ba3f887dca9d926d19\",\n \"score\": \"0.53387415\",\n \"text\": \"public void mo23792b() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"87263d248094a3445960fded80d1e7cd\",\n \"score\": \"0.53271306\",\n \"text\": \"public A doBackward(B b) {\\n return convert(this.bimap.inverse(), b);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"926ba2d2864a68258800f6864e6bd8e2\",\n \"score\": \"0.5324452\",\n \"text\": \"protected void a(dz paramdz)\\r\\n/* 28: */ {\\r\\n/* 29:332 */ if (this.b) {\\r\\n/* 30:333 */ paramdz.i().b(1000, paramdz.d(), 0);\\r\\n/* 31: */ } else {\\r\\n/* 32:335 */ paramdz.i().b(1001, paramdz.d(), 0);\\r\\n/* 33: */ }\\r\\n/* 34: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"64437b76ce982ed54875ba0f4f4c39c8\",\n \"score\": \"0.5324087\",\n \"text\": \"public void setB(Coordinate b) {\\n\\t\\tthis.b = b;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b6504bd04446b710d8861cbe2453845f\",\n \"score\": \"0.53222096\",\n \"text\": \"public interface C5011c {\\n /* renamed from: b */\\n void mo4564b(String str, Throwable th);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"419cbf80ee60c4b42449a40b4ce6a6f5\",\n \"score\": \"0.5321218\",\n \"text\": \"@Override\\n public final void b(boolean bl2) {\\n int n = bl2 ? 4 : 0;\\n this.a(n, 4);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aeb3364b7dfbe7171119296df04cc207\",\n \"score\": \"0.53200674\",\n \"text\": \"public interface C18914b {\\n /* renamed from: a */\\n C18909a mo50290a();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e1eabd743dd7cb2921a552c1bc16ff58\",\n \"score\": \"0.53186834\",\n \"text\": \"private interface C2120g {\\n /* renamed from: a */\\n void mo1518a();\\n\\n /* renamed from: b */\\n void mo1519b();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7df55c4609ba45546edc4d52b7461e2\",\n \"score\": \"0.5318481\",\n \"text\": \"public interface b extends e {\\n\\n /* compiled from: CoroutineContext.kt */\\n public static final class a {\\n public static E a(b bVar, c cVar) {\\n j.b(cVar, \\\"key\\\");\\n if (!j.a((Object) bVar.getKey(), (Object) cVar)) {\\n return null;\\n }\\n if (bVar != null) {\\n return bVar;\\n }\\n throw new TypeCastException(\\\"null cannot be cast to non-null type E\\\");\\n }\\n\\n public static e a(b bVar, e eVar) {\\n j.b(eVar, \\\"context\\\");\\n return a.a(bVar, eVar);\\n }\\n\\n public static e b(b bVar, c cVar) {\\n j.b(cVar, \\\"key\\\");\\n return j.a((Object) bVar.getKey(), (Object) cVar) ? EmptyCoroutineContext.f15784a : bVar;\\n }\\n\\n public static R a(b bVar, R r, h.f.a.c cVar) {\\n j.b(cVar, \\\"operation\\\");\\n return cVar.b(r, bVar);\\n }\\n }\\n\\n E get(c cVar);\\n\\n c getKey();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e57fb23ece079a7440673f5511d87dad\",\n \"score\": \"0.53145474\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void set(Base b) {\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7b5248784db65954bf4f0f01aa59b67e\",\n \"score\": \"0.5313573\",\n \"text\": \"public k b() {\\n return a(this.a, this.b);\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":387,"cells":{"query_id":{"kind":"string","value":"cc6a544546fe0ad93061d09432391037"},"query":{"kind":"string","value":"Avoid override when use setOnScrollListener"},"positive_passages":{"kind":"list like","value":[{"docid":"cde0b23840b399cf2071bc019800848f","score":"0.7833081","text":"@Override\n public void onScrollStateChanged(AbsListView view, int scrollState) {\n if (mOnScrollListener != null) {\n mOnScrollListener.onScrollStateChanged(view, scrollState);\n }\n }","title":""}],"string":"[\n {\n \"docid\": \"cde0b23840b399cf2071bc019800848f\",\n \"score\": \"0.7833081\",\n \"text\": \"@Override\\n public void onScrollStateChanged(AbsListView view, int scrollState) {\\n if (mOnScrollListener != null) {\\n mOnScrollListener.onScrollStateChanged(view, scrollState);\\n }\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"d77ff42e1ac0e94a8c1738891e7b7abc","score":"0.86333126","text":"@Override\r\n\t\tpublic void onScroll() {\n\t\t\t\r\n\t\t}","title":""},{"docid":"0b5b44026a6623efa13914a861f5f762","score":"0.84358513","text":"@Override\nprotected void applyScrollListener() {\n\t\n}","title":""},{"docid":"862d5d2f6958e2ce343e480c642f3442","score":"0.83996207","text":"@Override\n\tpublic void onScrollChanged() {\n\t}","title":""},{"docid":"751c77cefee096723ad793df9e133849","score":"0.8136019","text":"@Override\r\n public void onScrollChanged(int l, int t, int oldl, int oldt) {\n\r\n }","title":""},{"docid":"b81bdbef25dfe71a3e1938288833ea85","score":"0.80191433","text":"public void onScrollStarted();","title":""},{"docid":"e2db8dafbc365284d306b5fa8c897eb9","score":"0.796341","text":"public interface ScrollViewListener {\n void onScrollChanged(MyScrollView context, int x, int y, int oldx, int oldy);\n}","title":""},{"docid":"aaa1a10c9c80fc37eb9dec88068d056a","score":"0.7915554","text":"public interface ScrollViewListener {\n void onScrollChanged(ScrollViewExt scrollView,\n int x, int y, int oldx, int oldy);\n}","title":""},{"docid":"1e26f7a3af6e1a660576db00aa483357","score":"0.7849633","text":"@Override\n\tpublic void onScrollStateChanged(AbsListView arg0, int arg1) {\n\n\t}","title":""},{"docid":"39c179edac397a904922c5710b86ac70","score":"0.7836892","text":"@Override\n\tpublic void onScroll(AbsListView arg0, int arg1, int arg2, int arg3) {\n\t\t\n\t}","title":""},{"docid":"b94084e70c3d700295cd18dbf56c16f8","score":"0.7791638","text":"public interface OnScrollListener {\n public void onScroll(int scrollDistance);\n}","title":""},{"docid":"fb3733ce8ec4463428ccd29fd1dd6c59","score":"0.77891046","text":"void onScrollChange(View v, int scrollX, int scrollY, int oldScrollX, int oldScrollY);","title":""},{"docid":"e850baa775d9652fcb325995f8776fa8","score":"0.77883434","text":"@Override\n\t\t\t\tpublic void onScrollStateChanged(AbsListView view,\n\t\t\t\t\t\tint scrollState) {\n\n\t\t\t\t}","title":""},{"docid":"08b19a9df0c9f99b9a3950d2af31212d","score":"0.7788097","text":"@Override\n\t\tpublic void onScroll(AbsListView arg0, int arg1, int arg2, int arg3) {\n\n\t\t}","title":""},{"docid":"ae78f1dc43b03f123f13a452f3661782","score":"0.7783807","text":"@Override\n\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\n\t}","title":""},{"docid":"63c75f653f65f1c2a11cdf659bcc35cb","score":"0.7774128","text":"@Override\n\t\t\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\n\n\t\t\t}","title":""},{"docid":"63c75f653f65f1c2a11cdf659bcc35cb","score":"0.7774128","text":"@Override\n\t\t\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\n\n\t\t\t}","title":""},{"docid":"63c75f653f65f1c2a11cdf659bcc35cb","score":"0.7774128","text":"@Override\n\t\t\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\n\n\t\t\t}","title":""},{"docid":"0d0d2096401cb0b47228485d4a856e3b","score":"0.7768989","text":"@Override\r\n\t\t\tpublic void onScroll(AbsListView arg0, int arg1, int arg2, int arg3) {\n\r\n\t\t\t}","title":""},{"docid":"3a7898c0fa76584f02dba32f85c61bac","score":"0.7748876","text":"@Override\n public void onScroll(AbsListView view, int firstVisibleItem,\n int visibleItemCount, int totalItemCount) {\n }","title":""},{"docid":"3a7898c0fa76584f02dba32f85c61bac","score":"0.7748876","text":"@Override\n public void onScroll(AbsListView view, int firstVisibleItem,\n int visibleItemCount, int totalItemCount) {\n }","title":""},{"docid":"8c90d5aecaa32ab86e109caf4e0ce61e","score":"0.7747278","text":"@Override\n\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\n\t\t\n\t}","title":""},{"docid":"8c90d5aecaa32ab86e109caf4e0ce61e","score":"0.7747278","text":"@Override\n\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\n\t\t\n\t}","title":""},{"docid":"8c90d5aecaa32ab86e109caf4e0ce61e","score":"0.7747278","text":"@Override\n\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\n\t\t\n\t}","title":""},{"docid":"8c90d5aecaa32ab86e109caf4e0ce61e","score":"0.7747278","text":"@Override\n\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\n\t\t\n\t}","title":""},{"docid":"8c90d5aecaa32ab86e109caf4e0ce61e","score":"0.7747278","text":"@Override\n\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\n\t\t\n\t}","title":""},{"docid":"8a314f737708722c73bf1991805b7d06","score":"0.7741656","text":"@Override\n public void onScrollStateChanged(AbsListView view, int scrollState) {\n }","title":""},{"docid":"6cea830e7549a025aa26b1ee4eb1c12f","score":"0.77391213","text":"@Override\r\n\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\n\t\t\r\n\t}","title":""},{"docid":"a9fccb93a6b079d2f2a41f1359d68770","score":"0.7738768","text":"@Override\n\tpublic void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {\n\t\t\n\t}","title":""},{"docid":"0bc4f44e158247ecb2a2f05eb40e50c8","score":"0.77315193","text":"@Override\n\t\t\tpublic void onScroll(AbsListView view, int firstVisibleItem,\n\t\t\t\t\tint visibleItemCount, int totalItemCount) {\n\t\t\t}","title":""},{"docid":"0bc4f44e158247ecb2a2f05eb40e50c8","score":"0.77315193","text":"@Override\n\t\t\tpublic void onScroll(AbsListView view, int firstVisibleItem,\n\t\t\t\t\tint visibleItemCount, int totalItemCount) {\n\t\t\t}","title":""},{"docid":"ca479af1839a467492c22c270ac51203","score":"0.77289075","text":"@Override\n public void onScrollStateChanged(AbsListView view, int scrollState) {\n }","title":""},{"docid":"ca479af1839a467492c22c270ac51203","score":"0.77289075","text":"@Override\n public void onScrollStateChanged(AbsListView view, int scrollState) {\n }","title":""},{"docid":"ca479af1839a467492c22c270ac51203","score":"0.77289075","text":"@Override\n public void onScrollStateChanged(AbsListView view, int scrollState) {\n }","title":""},{"docid":"c0369cd5d193bf3a31b9202ba0d5b4cc","score":"0.77237576","text":"@Override\r\n\t\tpublic void onScroll(AbsListView view, int firstVisibleItem,\r\n\t\t\t\tint visibleItemCount, int totalItemCount) {\n\r\n\t\t}","title":""},{"docid":"70807dcb2ffd4543ac73b4bfb9939498","score":"0.772013","text":"public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {\n\t\t }","title":""},{"docid":"90eda62464fe4d89048faf1c5c602d01","score":"0.7710024","text":"@Override\n\t\t\t\tpublic void onScroll(AbsListView view, int firstVisibleItem,\n\t\t\t\t\t\tint visibleItemCount, int totalItemCount) {\n\n\t\t\t\t}","title":""},{"docid":"3e29ee64d481dc5ad05140456fee5335","score":"0.7705119","text":"@Override\r\n\tpublic void onScroll(AbsListView view, int firstVisibleItem,\r\n\t\t\tint visibleItemCount, int totalItemCount) {\n\t\t\r\n\t}","title":""},{"docid":"9b088f74aee08df6780dc5df065716ca","score":"0.7704368","text":"@Override\n\tpublic void onScroll(AbsListView view, int firstVisibleItem,\n\t\t\tint visibleItemCount, int totalItemCount) {\n\t\t\n\t}","title":""},{"docid":"9b088f74aee08df6780dc5df065716ca","score":"0.7704368","text":"@Override\n\tpublic void onScroll(AbsListView view, int firstVisibleItem,\n\t\t\tint visibleItemCount, int totalItemCount) {\n\t\t\n\t}","title":""},{"docid":"9b088f74aee08df6780dc5df065716ca","score":"0.7704368","text":"@Override\n\tpublic void onScroll(AbsListView view, int firstVisibleItem,\n\t\t\tint visibleItemCount, int totalItemCount) {\n\t\t\n\t}","title":""},{"docid":"3b59f83226cab31733440f70afee68ff","score":"0.7701807","text":"public interface OnScrolledListener {\n void scroll(int y);\n}","title":""},{"docid":"dda21c3e9a85e668da60a8c53de46523","score":"0.7686635","text":"void onScrollChange(int scrollY, int oldScrollY);","title":""},{"docid":"cbd64eed08086cd9082fe2fd323a52ef","score":"0.7678306","text":"@Override\r\n public void onScrollStateChanged(AbsListView view, int scrollState) {\n \r\n }","title":""},{"docid":"8ba530f2c5d739c4e4d6750675034b03","score":"0.7670431","text":"@Override\n\tpublic void onScroll(AbsListView view, int firstVisibleItem,\n\t\t\tint visibleItemCount, int totalItemCount) {\n\n\t}","title":""},{"docid":"724fb531e21713e9153c9f51c38bfa35","score":"0.7668093","text":"public void onScrollEnded();","title":""},{"docid":"dc7566ddb58bc1897a77d940adc976b4","score":"0.7664865","text":"@Override\n\tpublic void onScrollChanged(int top, int oldTop) {\n\t\t\n\t}","title":""},{"docid":"ddb117a24eb17a50009dfa9cfc6c4ad2","score":"0.7649211","text":"@Override\n public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {\n\n }","title":""},{"docid":"5b9fc3089e6895e2e39d723a564eedaa","score":"0.76465106","text":"@Override\r\n\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\n\r\n\t}","title":""},{"docid":"a09232a301dd6416c8dcf38b926c2ef0","score":"0.7638553","text":"@Override\n\t\t\tpublic void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {\n\n\t\t\t}","title":""},{"docid":"a09232a301dd6416c8dcf38b926c2ef0","score":"0.7638553","text":"@Override\n\t\t\tpublic void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {\n\n\t\t\t}","title":""},{"docid":"dc9a8c74157db9dce580cee86a88bdf7","score":"0.7633412","text":"@Override\r\n\t\t\tpublic void onScroll(AbsListView view, int firstVisibleItem,\r\n\t\t\t\t\tint visibleItemCount, int totalItemCount)\r\n\t\t\t{\n\r\n\t\t\t}","title":""},{"docid":"751b91116d10bf6b1cba138788fd8d99","score":"0.76221836","text":"@Override\r\n\tpublic void onScroll(float progress, float scrollXProgress) {\n\r\n\t}","title":""},{"docid":"7b5b8ff0f8dd94a8b5710c1aa0b70af4","score":"0.7620962","text":"public void onScrollStateChanged(AbsListView view, int scrollState) {\n \n \t}","title":""},{"docid":"251aee47c64de83e67718645b6548456","score":"0.7595475","text":"@Override\r\n\tpublic boolean onScroll(MotionEvent arg0, MotionEvent arg1, float arg2,\r\n\t\t\tfloat arg3) {\n\t\treturn false;\r\n\t}","title":""},{"docid":"c2e382f2e9876c9d9041ee6611ced472","score":"0.7563674","text":"@Override\n\tpublic boolean onScroll(MotionEvent arg0, MotionEvent arg1, float arg2,\n\t\t\tfloat arg3) {\n\t\treturn false;\n\t}","title":""},{"docid":"0c47be9d6e0fa40b4074e1e40c49a23d","score":"0.75612223","text":"@Override\npublic void onScroll(AbsListView arg0, int arg1, int arg2, int arg3) {\n\t\n}","title":""},{"docid":"b2f909a4858f8dcaebe928489f9ec0f3","score":"0.7556109","text":"@Override\n public void onScrollStateChanged(AbsListView view, int scrollState) {\n\n }","title":""},{"docid":"26def79823ffc244011050d85fda4f0c","score":"0.75427306","text":"@Override\n\tpublic void handleScroll(ScrollEvent event) {\n\t}","title":""},{"docid":"b7d5b2cd9178677ba2b6b77eeab669e5","score":"0.75209975","text":"boolean onScroll(int index, int dy, int scrollY);","title":""},{"docid":"45e5f56d44d82d3edf53b35acaddd545","score":"0.7478818","text":"public final void setOnScrollListener(OnScrollListener l) {\n\t\tmScrollListener = l;\n\t}","title":""},{"docid":"6f82b888269b946deefef17ae86a4e69","score":"0.7446626","text":"@Override\npublic void onScrollStateChanged(AbsListView arg0, int arg1) {\n\t\n}","title":""},{"docid":"1fb217c069b4fee7ed6c0eca9c27fa9a","score":"0.7427106","text":"protected void onScrollInteractionBegin() {\n }","title":""},{"docid":"af82608091be5cdea28843bcfc367209","score":"0.73917687","text":"@Override\n public void onScrollingStarted(WheelView wheel) {\n\n }","title":""},{"docid":"af82608091be5cdea28843bcfc367209","score":"0.73917687","text":"@Override\n public void onScrollingStarted(WheelView wheel) {\n\n }","title":""},{"docid":"af82608091be5cdea28843bcfc367209","score":"0.73917687","text":"@Override\n public void onScrollingStarted(WheelView wheel) {\n\n }","title":""},{"docid":"c86d1bf7a9c0b68b783b77aef36a009e","score":"0.73522204","text":"@Override\n\t\t\t\tpublic void onPageScrollStateChanged(int arg0) {\n\n\t\t\t\t}","title":""},{"docid":"a58cf5b6b14661b14fd7b9d8fccec992","score":"0.734956","text":"public boolean onScroll(ScrollEvent event);","title":""},{"docid":"10774b5197f96c0af0bda3ddd1de42e6","score":"0.73473305","text":"@Override\n public boolean onScroll(float displacement, float delta, float velocity) {\n return true;\n }","title":""},{"docid":"631749914ef70e66b112ae714cad5e02","score":"0.73404175","text":"@Override\r\n\t\t\tpublic void onScrolledDown () {\n\t\t\t}","title":""},{"docid":"4e841f2880c821746684efb09d2979ad","score":"0.7331775","text":"@Override\n public void onPageScrollStateChanged(int arg0) {\n\n }","title":""},{"docid":"e774e4647475218ff44b4d1adef6b75d","score":"0.73153585","text":"@Override\n public void onPageScrollStateChanged(int arg0) {\n }","title":""},{"docid":"e774e4647475218ff44b4d1adef6b75d","score":"0.73153585","text":"@Override\n public void onPageScrollStateChanged(int arg0) {\n }","title":""},{"docid":"1fd89a300753c3b471c26b7271aa92fa","score":"0.7311472","text":"@Override\n\t\t\tpublic void onPageScrollStateChanged(int arg0) {\n\n\t\t\t}","title":""},{"docid":"1fd89a300753c3b471c26b7271aa92fa","score":"0.7311472","text":"@Override\n\t\t\tpublic void onPageScrollStateChanged(int arg0) {\n\n\t\t\t}","title":""},{"docid":"1fd89a300753c3b471c26b7271aa92fa","score":"0.7311472","text":"@Override\n\t\t\tpublic void onPageScrollStateChanged(int arg0) {\n\n\t\t\t}","title":""},{"docid":"1fd89a300753c3b471c26b7271aa92fa","score":"0.7311472","text":"@Override\n\t\t\tpublic void onPageScrollStateChanged(int arg0) {\n\n\t\t\t}","title":""},{"docid":"1fd89a300753c3b471c26b7271aa92fa","score":"0.7311472","text":"@Override\n\t\t\tpublic void onPageScrollStateChanged(int arg0) {\n\n\t\t\t}","title":""},{"docid":"1fd89a300753c3b471c26b7271aa92fa","score":"0.7311472","text":"@Override\n\t\t\tpublic void onPageScrollStateChanged(int arg0) {\n\n\t\t\t}","title":""},{"docid":"1fd89a300753c3b471c26b7271aa92fa","score":"0.7311472","text":"@Override\n\t\t\tpublic void onPageScrollStateChanged(int arg0) {\n\n\t\t\t}","title":""},{"docid":"1fd89a300753c3b471c26b7271aa92fa","score":"0.7311472","text":"@Override\n\t\t\tpublic void onPageScrollStateChanged(int arg0) {\n\n\t\t\t}","title":""},{"docid":"73d664f32f3d8bdacd6ffcae12a481e7","score":"0.730659","text":"public interface OnRecyclerViewScrollListener {\n public void onScrollStateChanged(android.support.v7.widget.RecyclerView recyclerView, int newState);\n\n public void onScrolled(android.support.v7.widget.RecyclerView recyclerView, int dx, int dy);\n}","title":""},{"docid":"071d20ee4198c7117eaaefc9ed63740b","score":"0.73026425","text":"@Override\n public void onPageScrollStateChanged(int arg0) {\n }","title":""},{"docid":"cd63357d2d95b3b6e57d53213bc1d02f","score":"0.7294779","text":"@Override\n\t\t\tpublic void onPageScrollStateChanged(int arg0) {\n\t\t\t}","title":""},{"docid":"cd63357d2d95b3b6e57d53213bc1d02f","score":"0.7294779","text":"@Override\n\t\t\tpublic void onPageScrollStateChanged(int arg0) {\n\t\t\t}","title":""},{"docid":"cd63357d2d95b3b6e57d53213bc1d02f","score":"0.7294779","text":"@Override\n\t\t\tpublic void onPageScrollStateChanged(int arg0) {\n\t\t\t}","title":""},{"docid":"cd63357d2d95b3b6e57d53213bc1d02f","score":"0.7294779","text":"@Override\n\t\t\tpublic void onPageScrollStateChanged(int arg0) {\n\t\t\t}","title":""},{"docid":"ed9d8861401ecca1edd8cbf89a9f192b","score":"0.72915274","text":"@Override\n public void onPageScrollStateChanged(int arg0) {\n \n }","title":""},{"docid":"cdf5226b643e20c25f1bec39d045ff8f","score":"0.7288879","text":"@Override\r\n public void onScrolled(RecyclerView recyclerView, int dx, int dy){\r\n if(this.externalListener != null) {\r\n this.externalListener.onScrolled(recyclerView, dx, dy);\r\n }\r\n }","title":""},{"docid":"fc7daa5c1486ecf3668c02e3634962b8","score":"0.72858495","text":"@Override\n public void onPageScrollStateChanged(int arg0) {\n\n }","title":""},{"docid":"fc7daa5c1486ecf3668c02e3634962b8","score":"0.72858495","text":"@Override\n public void onPageScrollStateChanged(int arg0) {\n\n }","title":""},{"docid":"fc7daa5c1486ecf3668c02e3634962b8","score":"0.72858495","text":"@Override\n public void onPageScrollStateChanged(int arg0) {\n\n }","title":""},{"docid":"4ca6e3c813bfc05f8f3b60b01457b6cc","score":"0.72762173","text":"@Override\r\n\t\t\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\n\t\t\t\tswitch (scrollState) {\r\n\t\t\t\tcase SCROLL_STATE_FLING:\r\n\t\t\t\tcase SCROLL_STATE_TOUCH_SCROLL:\r\n\t\t\t\t\tworkStatus = STATE_IDLE;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase SCROLL_STATE_IDLE:\r\n\t\t\t\t\tworkStatus = STATE_STOP;\r\n\t\t\t\t\tbreak;\r\n\r\n\t\t\t\tdefault:\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}","title":""},{"docid":"aefaee8f50878a04cf0a71550219b132","score":"0.72755957","text":"@Override\r\n\t\t\tpublic void onPageScrollStateChanged(int arg0) {\n\t\t\t\t\r\n\t\t\t}","title":""},{"docid":"aefaee8f50878a04cf0a71550219b132","score":"0.72755957","text":"@Override\r\n\t\t\tpublic void onPageScrollStateChanged(int arg0) {\n\t\t\t\t\r\n\t\t\t}","title":""},{"docid":"aefaee8f50878a04cf0a71550219b132","score":"0.72755957","text":"@Override\r\n\t\t\tpublic void onPageScrollStateChanged(int arg0) {\n\t\t\t\t\r\n\t\t\t}","title":""},{"docid":"51c7a3c7ab7a37bcdd5e9994aaee5a82","score":"0.72692853","text":"@Override\n\tpublic void onPageScrollStateChanged(int arg0) {\n\n\t}","title":""},{"docid":"51c7a3c7ab7a37bcdd5e9994aaee5a82","score":"0.72692853","text":"@Override\n\tpublic void onPageScrollStateChanged(int arg0) {\n\n\t}","title":""},{"docid":"51c7a3c7ab7a37bcdd5e9994aaee5a82","score":"0.72692853","text":"@Override\n\tpublic void onPageScrollStateChanged(int arg0) {\n\n\t}","title":""},{"docid":"51c7a3c7ab7a37bcdd5e9994aaee5a82","score":"0.72692853","text":"@Override\n\tpublic void onPageScrollStateChanged(int arg0) {\n\n\t}","title":""},{"docid":"51c7a3c7ab7a37bcdd5e9994aaee5a82","score":"0.72692853","text":"@Override\n\tpublic void onPageScrollStateChanged(int arg0) {\n\n\t}","title":""}],"string":"[\n {\n \"docid\": \"d77ff42e1ac0e94a8c1738891e7b7abc\",\n \"score\": \"0.86333126\",\n \"text\": \"@Override\\r\\n\\t\\tpublic void onScroll() {\\n\\t\\t\\t\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0b5b44026a6623efa13914a861f5f762\",\n \"score\": \"0.84358513\",\n \"text\": \"@Override\\nprotected void applyScrollListener() {\\n\\t\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"862d5d2f6958e2ce343e480c642f3442\",\n \"score\": \"0.83996207\",\n \"text\": \"@Override\\n\\tpublic void onScrollChanged() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"751c77cefee096723ad793df9e133849\",\n \"score\": \"0.8136019\",\n \"text\": \"@Override\\r\\n public void onScrollChanged(int l, int t, int oldl, int oldt) {\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b81bdbef25dfe71a3e1938288833ea85\",\n \"score\": \"0.80191433\",\n \"text\": \"public void onScrollStarted();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e2db8dafbc365284d306b5fa8c897eb9\",\n \"score\": \"0.796341\",\n \"text\": \"public interface ScrollViewListener {\\n void onScrollChanged(MyScrollView context, int x, int y, int oldx, int oldy);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aaa1a10c9c80fc37eb9dec88068d056a\",\n \"score\": \"0.7915554\",\n \"text\": \"public interface ScrollViewListener {\\n void onScrollChanged(ScrollViewExt scrollView,\\n int x, int y, int oldx, int oldy);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1e26f7a3af6e1a660576db00aa483357\",\n \"score\": \"0.7849633\",\n \"text\": \"@Override\\n\\tpublic void onScrollStateChanged(AbsListView arg0, int arg1) {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"39c179edac397a904922c5710b86ac70\",\n \"score\": \"0.7836892\",\n \"text\": \"@Override\\n\\tpublic void onScroll(AbsListView arg0, int arg1, int arg2, int arg3) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b94084e70c3d700295cd18dbf56c16f8\",\n \"score\": \"0.7791638\",\n \"text\": \"public interface OnScrollListener {\\n public void onScroll(int scrollDistance);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fb3733ce8ec4463428ccd29fd1dd6c59\",\n \"score\": \"0.77891046\",\n \"text\": \"void onScrollChange(View v, int scrollX, int scrollY, int oldScrollX, int oldScrollY);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e850baa775d9652fcb325995f8776fa8\",\n \"score\": \"0.77883434\",\n \"text\": \"@Override\\n\\t\\t\\t\\tpublic void onScrollStateChanged(AbsListView view,\\n\\t\\t\\t\\t\\t\\tint scrollState) {\\n\\n\\t\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"08b19a9df0c9f99b9a3950d2af31212d\",\n \"score\": \"0.7788097\",\n \"text\": \"@Override\\n\\t\\tpublic void onScroll(AbsListView arg0, int arg1, int arg2, int arg3) {\\n\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae78f1dc43b03f123f13a452f3661782\",\n \"score\": \"0.7783807\",\n \"text\": \"@Override\\n\\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"63c75f653f65f1c2a11cdf659bcc35cb\",\n \"score\": \"0.7774128\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\\n\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"63c75f653f65f1c2a11cdf659bcc35cb\",\n \"score\": \"0.7774128\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\\n\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"63c75f653f65f1c2a11cdf659bcc35cb\",\n \"score\": \"0.7774128\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\\n\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d0d2096401cb0b47228485d4a856e3b\",\n \"score\": \"0.7768989\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void onScroll(AbsListView arg0, int arg1, int arg2, int arg3) {\\n\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a7898c0fa76584f02dba32f85c61bac\",\n \"score\": \"0.7748876\",\n \"text\": \"@Override\\n public void onScroll(AbsListView view, int firstVisibleItem,\\n int visibleItemCount, int totalItemCount) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a7898c0fa76584f02dba32f85c61bac\",\n \"score\": \"0.7748876\",\n \"text\": \"@Override\\n public void onScroll(AbsListView view, int firstVisibleItem,\\n int visibleItemCount, int totalItemCount) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8c90d5aecaa32ab86e109caf4e0ce61e\",\n \"score\": \"0.7747278\",\n \"text\": \"@Override\\n\\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8c90d5aecaa32ab86e109caf4e0ce61e\",\n \"score\": \"0.7747278\",\n \"text\": \"@Override\\n\\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8c90d5aecaa32ab86e109caf4e0ce61e\",\n \"score\": \"0.7747278\",\n \"text\": \"@Override\\n\\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8c90d5aecaa32ab86e109caf4e0ce61e\",\n \"score\": \"0.7747278\",\n \"text\": \"@Override\\n\\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8c90d5aecaa32ab86e109caf4e0ce61e\",\n \"score\": \"0.7747278\",\n \"text\": \"@Override\\n\\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8a314f737708722c73bf1991805b7d06\",\n \"score\": \"0.7741656\",\n \"text\": \"@Override\\n public void onScrollStateChanged(AbsListView view, int scrollState) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6cea830e7549a025aa26b1ee4eb1c12f\",\n \"score\": \"0.77391213\",\n \"text\": \"@Override\\r\\n\\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a9fccb93a6b079d2f2a41f1359d68770\",\n \"score\": \"0.7738768\",\n \"text\": \"@Override\\n\\tpublic void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0bc4f44e158247ecb2a2f05eb40e50c8\",\n \"score\": \"0.77315193\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void onScroll(AbsListView view, int firstVisibleItem,\\n\\t\\t\\t\\t\\tint visibleItemCount, int totalItemCount) {\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0bc4f44e158247ecb2a2f05eb40e50c8\",\n \"score\": \"0.77315193\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void onScroll(AbsListView view, int firstVisibleItem,\\n\\t\\t\\t\\t\\tint visibleItemCount, int totalItemCount) {\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ca479af1839a467492c22c270ac51203\",\n \"score\": \"0.77289075\",\n \"text\": \"@Override\\n public void onScrollStateChanged(AbsListView view, int scrollState) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ca479af1839a467492c22c270ac51203\",\n \"score\": \"0.77289075\",\n \"text\": \"@Override\\n public void onScrollStateChanged(AbsListView view, int scrollState) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ca479af1839a467492c22c270ac51203\",\n \"score\": \"0.77289075\",\n \"text\": \"@Override\\n public void onScrollStateChanged(AbsListView view, int scrollState) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c0369cd5d193bf3a31b9202ba0d5b4cc\",\n \"score\": \"0.77237576\",\n \"text\": \"@Override\\r\\n\\t\\tpublic void onScroll(AbsListView view, int firstVisibleItem,\\r\\n\\t\\t\\t\\tint visibleItemCount, int totalItemCount) {\\n\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"70807dcb2ffd4543ac73b4bfb9939498\",\n \"score\": \"0.772013\",\n \"text\": \"public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {\\n\\t\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"90eda62464fe4d89048faf1c5c602d01\",\n \"score\": \"0.7710024\",\n \"text\": \"@Override\\n\\t\\t\\t\\tpublic void onScroll(AbsListView view, int firstVisibleItem,\\n\\t\\t\\t\\t\\t\\tint visibleItemCount, int totalItemCount) {\\n\\n\\t\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3e29ee64d481dc5ad05140456fee5335\",\n \"score\": \"0.7705119\",\n \"text\": \"@Override\\r\\n\\tpublic void onScroll(AbsListView view, int firstVisibleItem,\\r\\n\\t\\t\\tint visibleItemCount, int totalItemCount) {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9b088f74aee08df6780dc5df065716ca\",\n \"score\": \"0.7704368\",\n \"text\": \"@Override\\n\\tpublic void onScroll(AbsListView view, int firstVisibleItem,\\n\\t\\t\\tint visibleItemCount, int totalItemCount) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9b088f74aee08df6780dc5df065716ca\",\n \"score\": \"0.7704368\",\n \"text\": \"@Override\\n\\tpublic void onScroll(AbsListView view, int firstVisibleItem,\\n\\t\\t\\tint visibleItemCount, int totalItemCount) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9b088f74aee08df6780dc5df065716ca\",\n \"score\": \"0.7704368\",\n \"text\": \"@Override\\n\\tpublic void onScroll(AbsListView view, int firstVisibleItem,\\n\\t\\t\\tint visibleItemCount, int totalItemCount) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3b59f83226cab31733440f70afee68ff\",\n \"score\": \"0.7701807\",\n \"text\": \"public interface OnScrolledListener {\\n void scroll(int y);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dda21c3e9a85e668da60a8c53de46523\",\n \"score\": \"0.7686635\",\n \"text\": \"void onScrollChange(int scrollY, int oldScrollY);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cbd64eed08086cd9082fe2fd323a52ef\",\n \"score\": \"0.7678306\",\n \"text\": \"@Override\\r\\n public void onScrollStateChanged(AbsListView view, int scrollState) {\\n \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ba530f2c5d739c4e4d6750675034b03\",\n \"score\": \"0.7670431\",\n \"text\": \"@Override\\n\\tpublic void onScroll(AbsListView view, int firstVisibleItem,\\n\\t\\t\\tint visibleItemCount, int totalItemCount) {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"724fb531e21713e9153c9f51c38bfa35\",\n \"score\": \"0.7668093\",\n \"text\": \"public void onScrollEnded();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc7566ddb58bc1897a77d940adc976b4\",\n \"score\": \"0.7664865\",\n \"text\": \"@Override\\n\\tpublic void onScrollChanged(int top, int oldTop) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ddb117a24eb17a50009dfa9cfc6c4ad2\",\n \"score\": \"0.7649211\",\n \"text\": \"@Override\\n public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5b9fc3089e6895e2e39d723a564eedaa\",\n \"score\": \"0.76465106\",\n \"text\": \"@Override\\r\\n\\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a09232a301dd6416c8dcf38b926c2ef0\",\n \"score\": \"0.7638553\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {\\n\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a09232a301dd6416c8dcf38b926c2ef0\",\n \"score\": \"0.7638553\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {\\n\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc9a8c74157db9dce580cee86a88bdf7\",\n \"score\": \"0.7633412\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void onScroll(AbsListView view, int firstVisibleItem,\\r\\n\\t\\t\\t\\t\\tint visibleItemCount, int totalItemCount)\\r\\n\\t\\t\\t{\\n\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"751b91116d10bf6b1cba138788fd8d99\",\n \"score\": \"0.76221836\",\n \"text\": \"@Override\\r\\n\\tpublic void onScroll(float progress, float scrollXProgress) {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7b5b8ff0f8dd94a8b5710c1aa0b70af4\",\n \"score\": \"0.7620962\",\n \"text\": \"public void onScrollStateChanged(AbsListView view, int scrollState) {\\n \\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"251aee47c64de83e67718645b6548456\",\n \"score\": \"0.7595475\",\n \"text\": \"@Override\\r\\n\\tpublic boolean onScroll(MotionEvent arg0, MotionEvent arg1, float arg2,\\r\\n\\t\\t\\tfloat arg3) {\\n\\t\\treturn false;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c2e382f2e9876c9d9041ee6611ced472\",\n \"score\": \"0.7563674\",\n \"text\": \"@Override\\n\\tpublic boolean onScroll(MotionEvent arg0, MotionEvent arg1, float arg2,\\n\\t\\t\\tfloat arg3) {\\n\\t\\treturn false;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0c47be9d6e0fa40b4074e1e40c49a23d\",\n \"score\": \"0.75612223\",\n \"text\": \"@Override\\npublic void onScroll(AbsListView arg0, int arg1, int arg2, int arg3) {\\n\\t\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b2f909a4858f8dcaebe928489f9ec0f3\",\n \"score\": \"0.7556109\",\n \"text\": \"@Override\\n public void onScrollStateChanged(AbsListView view, int scrollState) {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"26def79823ffc244011050d85fda4f0c\",\n \"score\": \"0.75427306\",\n \"text\": \"@Override\\n\\tpublic void handleScroll(ScrollEvent event) {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7d5b2cd9178677ba2b6b77eeab669e5\",\n \"score\": \"0.75209975\",\n \"text\": \"boolean onScroll(int index, int dy, int scrollY);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45e5f56d44d82d3edf53b35acaddd545\",\n \"score\": \"0.7478818\",\n \"text\": \"public final void setOnScrollListener(OnScrollListener l) {\\n\\t\\tmScrollListener = l;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f82b888269b946deefef17ae86a4e69\",\n \"score\": \"0.7446626\",\n \"text\": \"@Override\\npublic void onScrollStateChanged(AbsListView arg0, int arg1) {\\n\\t\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1fb217c069b4fee7ed6c0eca9c27fa9a\",\n \"score\": \"0.7427106\",\n \"text\": \"protected void onScrollInteractionBegin() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af82608091be5cdea28843bcfc367209\",\n \"score\": \"0.73917687\",\n \"text\": \"@Override\\n public void onScrollingStarted(WheelView wheel) {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af82608091be5cdea28843bcfc367209\",\n \"score\": \"0.73917687\",\n \"text\": \"@Override\\n public void onScrollingStarted(WheelView wheel) {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af82608091be5cdea28843bcfc367209\",\n \"score\": \"0.73917687\",\n \"text\": \"@Override\\n public void onScrollingStarted(WheelView wheel) {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c86d1bf7a9c0b68b783b77aef36a009e\",\n \"score\": \"0.73522204\",\n \"text\": \"@Override\\n\\t\\t\\t\\tpublic void onPageScrollStateChanged(int arg0) {\\n\\n\\t\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a58cf5b6b14661b14fd7b9d8fccec992\",\n \"score\": \"0.734956\",\n \"text\": \"public boolean onScroll(ScrollEvent event);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"10774b5197f96c0af0bda3ddd1de42e6\",\n \"score\": \"0.73473305\",\n \"text\": \"@Override\\n public boolean onScroll(float displacement, float delta, float velocity) {\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"631749914ef70e66b112ae714cad5e02\",\n \"score\": \"0.73404175\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void onScrolledDown () {\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4e841f2880c821746684efb09d2979ad\",\n \"score\": \"0.7331775\",\n \"text\": \"@Override\\n public void onPageScrollStateChanged(int arg0) {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e774e4647475218ff44b4d1adef6b75d\",\n \"score\": \"0.73153585\",\n \"text\": \"@Override\\n public void onPageScrollStateChanged(int arg0) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e774e4647475218ff44b4d1adef6b75d\",\n \"score\": \"0.73153585\",\n \"text\": \"@Override\\n public void onPageScrollStateChanged(int arg0) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1fd89a300753c3b471c26b7271aa92fa\",\n \"score\": \"0.7311472\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void onPageScrollStateChanged(int arg0) {\\n\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1fd89a300753c3b471c26b7271aa92fa\",\n \"score\": \"0.7311472\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void onPageScrollStateChanged(int arg0) {\\n\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1fd89a300753c3b471c26b7271aa92fa\",\n \"score\": \"0.7311472\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void onPageScrollStateChanged(int arg0) {\\n\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1fd89a300753c3b471c26b7271aa92fa\",\n \"score\": \"0.7311472\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void onPageScrollStateChanged(int arg0) {\\n\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1fd89a300753c3b471c26b7271aa92fa\",\n \"score\": \"0.7311472\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void onPageScrollStateChanged(int arg0) {\\n\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1fd89a300753c3b471c26b7271aa92fa\",\n \"score\": \"0.7311472\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void onPageScrollStateChanged(int arg0) {\\n\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1fd89a300753c3b471c26b7271aa92fa\",\n \"score\": \"0.7311472\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void onPageScrollStateChanged(int arg0) {\\n\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1fd89a300753c3b471c26b7271aa92fa\",\n \"score\": \"0.7311472\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void onPageScrollStateChanged(int arg0) {\\n\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"73d664f32f3d8bdacd6ffcae12a481e7\",\n \"score\": \"0.730659\",\n \"text\": \"public interface OnRecyclerViewScrollListener {\\n public void onScrollStateChanged(android.support.v7.widget.RecyclerView recyclerView, int newState);\\n\\n public void onScrolled(android.support.v7.widget.RecyclerView recyclerView, int dx, int dy);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"071d20ee4198c7117eaaefc9ed63740b\",\n \"score\": \"0.73026425\",\n \"text\": \"@Override\\n public void onPageScrollStateChanged(int arg0) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd63357d2d95b3b6e57d53213bc1d02f\",\n \"score\": \"0.7294779\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void onPageScrollStateChanged(int arg0) {\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd63357d2d95b3b6e57d53213bc1d02f\",\n \"score\": \"0.7294779\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void onPageScrollStateChanged(int arg0) {\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd63357d2d95b3b6e57d53213bc1d02f\",\n \"score\": \"0.7294779\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void onPageScrollStateChanged(int arg0) {\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd63357d2d95b3b6e57d53213bc1d02f\",\n \"score\": \"0.7294779\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void onPageScrollStateChanged(int arg0) {\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed9d8861401ecca1edd8cbf89a9f192b\",\n \"score\": \"0.72915274\",\n \"text\": \"@Override\\n public void onPageScrollStateChanged(int arg0) {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cdf5226b643e20c25f1bec39d045ff8f\",\n \"score\": \"0.7288879\",\n \"text\": \"@Override\\r\\n public void onScrolled(RecyclerView recyclerView, int dx, int dy){\\r\\n if(this.externalListener != null) {\\r\\n this.externalListener.onScrolled(recyclerView, dx, dy);\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fc7daa5c1486ecf3668c02e3634962b8\",\n \"score\": \"0.72858495\",\n \"text\": \"@Override\\n public void onPageScrollStateChanged(int arg0) {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fc7daa5c1486ecf3668c02e3634962b8\",\n \"score\": \"0.72858495\",\n \"text\": \"@Override\\n public void onPageScrollStateChanged(int arg0) {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fc7daa5c1486ecf3668c02e3634962b8\",\n \"score\": \"0.72858495\",\n \"text\": \"@Override\\n public void onPageScrollStateChanged(int arg0) {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4ca6e3c813bfc05f8f3b60b01457b6cc\",\n \"score\": \"0.72762173\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\\n\\t\\t\\t\\tswitch (scrollState) {\\r\\n\\t\\t\\t\\tcase SCROLL_STATE_FLING:\\r\\n\\t\\t\\t\\tcase SCROLL_STATE_TOUCH_SCROLL:\\r\\n\\t\\t\\t\\t\\tworkStatus = STATE_IDLE;\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\tcase SCROLL_STATE_IDLE:\\r\\n\\t\\t\\t\\t\\tworkStatus = STATE_STOP;\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\r\\n\\t\\t\\t\\tdefault:\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aefaee8f50878a04cf0a71550219b132\",\n \"score\": \"0.72755957\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void onPageScrollStateChanged(int arg0) {\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aefaee8f50878a04cf0a71550219b132\",\n \"score\": \"0.72755957\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void onPageScrollStateChanged(int arg0) {\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aefaee8f50878a04cf0a71550219b132\",\n \"score\": \"0.72755957\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void onPageScrollStateChanged(int arg0) {\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"51c7a3c7ab7a37bcdd5e9994aaee5a82\",\n \"score\": \"0.72692853\",\n \"text\": \"@Override\\n\\tpublic void onPageScrollStateChanged(int arg0) {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"51c7a3c7ab7a37bcdd5e9994aaee5a82\",\n \"score\": \"0.72692853\",\n \"text\": \"@Override\\n\\tpublic void onPageScrollStateChanged(int arg0) {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"51c7a3c7ab7a37bcdd5e9994aaee5a82\",\n \"score\": \"0.72692853\",\n \"text\": \"@Override\\n\\tpublic void onPageScrollStateChanged(int arg0) {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"51c7a3c7ab7a37bcdd5e9994aaee5a82\",\n \"score\": \"0.72692853\",\n \"text\": \"@Override\\n\\tpublic void onPageScrollStateChanged(int arg0) {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"51c7a3c7ab7a37bcdd5e9994aaee5a82\",\n \"score\": \"0.72692853\",\n \"text\": \"@Override\\n\\tpublic void onPageScrollStateChanged(int arg0) {\\n\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":388,"cells":{"query_id":{"kind":"string","value":"275bb29f32951f985bd53a5e5d185fed"},"query":{"kind":"string","value":"The doGet method of the servlet. This method is called when a form has its tag value method equals to get."},"positive_passages":{"kind":"list like","value":[{"docid":"dc211da43ebeb990e9d39023a92d2292","score":"0.0","text":"public void doGet(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(request, response);\n\t}","title":""}],"string":"[\n {\n \"docid\": \"dc211da43ebeb990e9d39023a92d2292\",\n \"score\": \"0.0\",\n \"text\": \"public void doGet(HttpServletRequest request, HttpServletResponse response)\\n\\t\\t\\tthrows ServletException, IOException {\\n\\t\\tdoPost(request, response);\\n\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"8a69612518b2ebe27bf01421db851720","score":"0.7371096","text":"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException{\r\n\t perForm(request,response);\r\n\t}","title":""},{"docid":"563585596a1523b636e4dcceff7547e4","score":"0.7255866","text":"@Override\r\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n doGet(request, response);\r\n }","title":""},{"docid":"6e183765a52a5a3921a8cdb2b9b11cff","score":"0.7207248","text":"public void doGet(HttpServletRequest req, HttpServletResponse resp)\r\n throws ServletException, IOException {\r\n\r\n doPost(req, resp); // call doPost processing\r\n\r\n }","title":""},{"docid":"a97ee9260c4f1cfc4a68b57c53b9997e","score":"0.7205568","text":"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\r\n\t}","title":""},{"docid":"a97ee9260c4f1cfc4a68b57c53b9997e","score":"0.7205568","text":"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\r\n\t}","title":""},{"docid":"28eff473183c65a1947b7ae02c12eded","score":"0.7199107","text":"@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n doPost(request, response);\r\n }","title":""},{"docid":"28eff473183c65a1947b7ae02c12eded","score":"0.7199107","text":"@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n doPost(request, response);\r\n }","title":""},{"docid":"28eff473183c65a1947b7ae02c12eded","score":"0.7199107","text":"@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n doPost(request, response);\r\n }","title":""},{"docid":"0c6f3a271fc8ba2424c6da0fe676b490","score":"0.71714604","text":"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n doPost(request, response);\n }","title":""},{"docid":"d3b6a08fe7a6dc0a7a5231caa6a82a55","score":"0.7170735","text":"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tthis.doPost(req, resp);\r\n\t}","title":""},{"docid":"00b432a2f780da2bcec47b3948a51ff8","score":"0.7154274","text":"@Override\r\n public void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n doPost(request,response);\r\n }","title":""},{"docid":"dfd4364371e5c690cd8ea048f22d3793","score":"0.7147406","text":"@Override\n protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n doPost(req, resp);\n }","title":""},{"docid":"37d94bd813f2de8b11d34303dd49de66","score":"0.71391207","text":"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\r\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(req, resp);\r\n\t}","title":""},{"docid":"37d94bd813f2de8b11d34303dd49de66","score":"0.71391207","text":"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\r\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(req, resp);\r\n\t}","title":""},{"docid":"f44d66e4c35cfafd182c9ce4038e6f9c","score":"0.713383","text":"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}","title":""},{"docid":"f44d66e4c35cfafd182c9ce4038e6f9c","score":"0.713383","text":"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}","title":""},{"docid":"f44d66e4c35cfafd182c9ce4038e6f9c","score":"0.713383","text":"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}","title":""},{"docid":"f44d66e4c35cfafd182c9ce4038e6f9c","score":"0.713383","text":"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}","title":""},{"docid":"f44d66e4c35cfafd182c9ce4038e6f9c","score":"0.713383","text":"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}","title":""},{"docid":"f44d66e4c35cfafd182c9ce4038e6f9c","score":"0.713383","text":"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}","title":""},{"docid":"f44d66e4c35cfafd182c9ce4038e6f9c","score":"0.713383","text":"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}","title":""},{"docid":"f44d66e4c35cfafd182c9ce4038e6f9c","score":"0.713383","text":"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}","title":""},{"docid":"f44d66e4c35cfafd182c9ce4038e6f9c","score":"0.713383","text":"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}","title":""},{"docid":"f44d66e4c35cfafd182c9ce4038e6f9c","score":"0.713383","text":"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}","title":""},{"docid":"f44d66e4c35cfafd182c9ce4038e6f9c","score":"0.713383","text":"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}","title":""},{"docid":"f44d66e4c35cfafd182c9ce4038e6f9c","score":"0.713383","text":"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}","title":""},{"docid":"465de1698b005c8bf322b3145c566a87","score":"0.71297204","text":"@Override\n\tprotected void doGet(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(request, response); //call doPost() for flow control logic.\n\t}","title":""},{"docid":"e11169f3af74f9ffff31ceb1d0ef0757","score":"0.7114754","text":"@Override\n protected void doGet(HttpServletRequest req, HttpServletResponse resp)\n throws ServletException, IOException {\n doPost(req, resp);\n }","title":""},{"docid":"c093dcd06f4e0b15ad4b87f7c5aca0f5","score":"0.7114104","text":"protected void doGet( HttpServletRequest request, HttpServletResponse response ) throws ServletException, IOException\n {\n \t// Maneja el GET y el POST de la misma manera\n procesarSolicitud( request, response );\n }","title":""},{"docid":"30b463ea03db1f85950c9e84d76dc905","score":"0.7106074","text":"@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\t doGet(req, resp);\n\t}","title":""},{"docid":"1098926486d6510ec701a85ab610560f","score":"0.7098881","text":"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\r\n\t\t\tthrows ServletException, IOException {\n\t\tthis.doPost(req, resp);\r\n\t}","title":""},{"docid":"6a48574d66e619970acfbad76a3eb9fe","score":"0.7088295","text":"public void doGet(HttpServletRequest request, HttpServletResponse response)\r\n\t\t\tthrows ServletException, IOException {doPost(request, response);}","title":""},{"docid":"4a19e446bd3c39e6093b905e35d66075","score":"0.70881087","text":"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n doPost(request, response);\n }","title":""},{"docid":"4a19e446bd3c39e6093b905e35d66075","score":"0.70881087","text":"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n doPost(request, response);\n }","title":""},{"docid":"4a19e446bd3c39e6093b905e35d66075","score":"0.70881087","text":"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n doPost(request, response);\n }","title":""},{"docid":"4a19e446bd3c39e6093b905e35d66075","score":"0.70881087","text":"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n doPost(request, response);\n }","title":""},{"docid":"d8bbdb19094288234b359704549b780e","score":"0.7087069","text":"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tthis.doPost(req, resp);\n\t}","title":""},{"docid":"d8bbdb19094288234b359704549b780e","score":"0.7087069","text":"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tthis.doPost(req, resp);\n\t}","title":""},{"docid":"d8bbdb19094288234b359704549b780e","score":"0.7087069","text":"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tthis.doPost(req, resp);\n\t}","title":""},{"docid":"a3c4951b06f6803c43f4e72ac81a094e","score":"0.7083461","text":"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n \t\tdoPost(request, response);\n\t}","title":""},{"docid":"8ac5948912f832602f0e611747ed2458","score":"0.70831424","text":"public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException, ServletException {\r\n doPost(req, resp);\r\n }","title":""},{"docid":"29e02f1482d054334b3cfa61172d4226","score":"0.7078801","text":"public void doGet(HttpServletRequest request, HttpServletResponse response)\r\n\t\t\tthrows ServletException, IOException {\r\n\r\n\r\nthis.doPost(request, response);\r\n\r\n\t}","title":""},{"docid":"1a5d2941c3ac0fac07c6e33d87144c59","score":"0.7077007","text":"@Override\n protected abstract void doGet(HttpServletRequest req, HttpServletResponse resp) \n\tthrows ServletException, IOException;","title":""},{"docid":"fceb442cde35b849bab13216225cd027","score":"0.7072391","text":"@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n doPost(request,response);\r\n }","title":""},{"docid":"930a1ee2ae0a948585ae36cf7fb6fb7b","score":"0.7068362","text":"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n doPost(request,response);\r\n }","title":""},{"docid":"930a1ee2ae0a948585ae36cf7fb6fb7b","score":"0.7068362","text":"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n doPost(request,response);\r\n }","title":""},{"docid":"2b97d72d8cc3c53b0034ed3b29c194a3","score":"0.70676684","text":"@Override\n protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n doGet(req, resp);\n }","title":""},{"docid":"e828d2cf622ec99748afbcbd4a01ffc5","score":"0.70546377","text":"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\r\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(req,resp);\r\n\t}","title":""},{"docid":"e828d2cf622ec99748afbcbd4a01ffc5","score":"0.70546377","text":"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\r\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(req,resp);\r\n\t}","title":""},{"docid":"e0a5179faab431e534f95ea30e86dad7","score":"0.7050164","text":"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}","title":""},{"docid":"e0a5179faab431e534f95ea30e86dad7","score":"0.7050164","text":"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}","title":""},{"docid":"e0a5179faab431e534f95ea30e86dad7","score":"0.7050164","text":"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}","title":""},{"docid":"83faebba0cb1dd4e7219eb9b8128dc5d","score":"0.70495355","text":"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\n\t\tSystem.out.println(\"Chamou pelo método GET\");\n\t}","title":""},{"docid":"471aa304bc8bdc95eb6d2386e334f119","score":"0.7048971","text":"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\t\tdoPost(request, response);\r\n\t\t}","title":""},{"docid":"93bc80796c8339b02714a5f2397a06bb","score":"0.7036657","text":"@Override\n\tprotected void doGet(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(request, response);\n\t}","title":""},{"docid":"93bc80796c8339b02714a5f2397a06bb","score":"0.7036657","text":"@Override\n\tprotected void doGet(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(request, response);\n\t}","title":""},{"docid":"41033acbfb1375a0e572e0147c6379fd","score":"0.70351475","text":"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException\r\n\t{\r\n\r\n\t\tdoPost(request, response);\r\n\t}","title":""},{"docid":"fb6264fafb16f603c6ac2e042cc94d32","score":"0.70306224","text":"@Override\r\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n doGet(request, response);\r\n }","title":""},{"docid":"48875dc9f472eea6fe559e20c4be5d3f","score":"0.70232064","text":"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \n doPost(request, response);\n }","title":""},{"docid":"3beb428513ead9a2a9eb81645303813e","score":"0.70098835","text":"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\r\n\t\tdoPost(request, response);\r\n\t}","title":""},{"docid":"b4f620dddc1587e9ad71ca97ad86a6f3","score":"0.7007046","text":"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tdoPost(request, response);\r\n\t}","title":""},{"docid":"b4f620dddc1587e9ad71ca97ad86a6f3","score":"0.7007046","text":"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tdoPost(request, response);\r\n\t}","title":""},{"docid":"434a27b5b9ff01553d381ebec87e4e16","score":"0.7005563","text":"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\t\n\t\t\n\t}","title":""},{"docid":"001224d7881d3153ee305f047dc16626","score":"0.70048577","text":"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException \n\t{\n\t\t\n\t}","title":""},{"docid":"01c3f297ded56fa1d2b43faa5eb8ef8e","score":"0.7002859","text":"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException \n\t{\n\t\tdoPost(request, response);\n\t}","title":""},{"docid":"0c334655922039340e99c206bd7bce93","score":"0.69976825","text":"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processGetRequest(request, response);\n }","title":""},{"docid":"697d52a8d528032a4fe7eadba6e0279c","score":"0.6996101","text":"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tthis.doPost(req, resp);\n\t}","title":""},{"docid":"697d52a8d528032a4fe7eadba6e0279c","score":"0.6996101","text":"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tthis.doPost(req, resp);\n\t}","title":""},{"docid":"3a27701bf33d6087ed35334460a96f23","score":"0.69949937","text":"protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t}","title":""},{"docid":"8d4fbcda7d4e278dc95386ef821bb030","score":"0.6989294","text":"@Override\n protected void doGet(HttpServletRequest request,\n HttpServletResponse response) throws ServletException, IOException {\n //because it is calling the post the get requests to this servlet\n //perform the same operations as the post requests\n doPost(request, response);\n }","title":""},{"docid":"649ba89f94ad2a40b203a0c7c28a521a","score":"0.6985465","text":"@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n doGet(request, response);\n }","title":""},{"docid":"2f5cd5b7eda12ce374aab1b546dbaa51","score":"0.69812506","text":"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n }","title":""},{"docid":"bc57bda20ab7151fc59db91cf12fa992","score":"0.69789743","text":"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\t\n\t}","title":""},{"docid":"aa9d1c8928477805247df05362360af1","score":"0.69766104","text":"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n this.doPost(request,response);\n }","title":""},{"docid":"1f067f2929bccc03211ae4deeb94ba3f","score":"0.6975308","text":"@Override\n protected void doGet (HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException\n {\n\t \n\t \n }","title":""},{"docid":"4ff02b789e5ab92b9bd9c40abe9ff61f","score":"0.69666255","text":"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\r\n\t\tdoPost(request,response);\r\n\t}","title":""},{"docid":"650a1df10f2b571e34303d7ac94f41f8","score":"0.69602424","text":"public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\r\n\r\n\t\tdoPost(request, response);\r\n\t}","title":""},{"docid":"7af0abd4724b5dfe0265a5f0ff9e0a82","score":"0.6958937","text":"public void doGet(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n this.doPost(request, response);\n\t\t\n\t}","title":""},{"docid":"01237c5cf8fd6def1332f54ece8c8546","score":"0.69588125","text":"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tdoPost(request,response);\r\n\t}","title":""},{"docid":"677c85de8f5ae7490744d7801988c3e4","score":"0.69569886","text":"protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \n/******************************************************************************\n *--Declaration/Instantiation Section-- *\n ******************************************************************************/\n _MyPage = (NonBillablePage)request.getSession().getAttribute(\"myEditNonBillablePage\");\n _MyNonBillable = (NonBillableType)request.getSession().getAttribute(\"BNonBillableType\");\n _ButtonClicked = \"doGet\";\n/******************************************************************************\n *--Refresh Section-- *\n ******************************************************************************/\n\n _MyPage.setName(_MyNonBillable.getNonBillableTypeName());\n _MyPage.setNonBillableID(_MyNonBillable.getNonBillableTypeID());\n _MyPage.setRemarks(_MyNonBillable.getRemarks());\n _MyPage.setStatus(_MyNonBillable.getStatus()+\"\");\n \n/******************************************************************************\n *--Check Input Section-- *\n ******************************************************************************/\n\n/******************************************************************************\n *--Process Section-- *\n ******************************************************************************/\n \n processRequest(request, response);\n }","title":""},{"docid":"f5b95ecb0513c40fa5c9c315a1871382","score":"0.69523257","text":"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tthis.doPost(request, response);\r\n\t}","title":""},{"docid":"38ddfd3aee2e8539a604c124a1b592f9","score":"0.6948428","text":"public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\r\n\r\n\t\tthis.doPost(request, response);\r\n\t}","title":""},{"docid":"8009af9b39c9ee014aaa7df1b812e783","score":"0.69409","text":"public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n doPost(request, response);\n }","title":""},{"docid":"6d76b96f3ca44e1e3c5bf83d3a08824f","score":"0.6938494","text":"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n System.out.println(\"entro get\");\n processRequest(request, response);\n }","title":""},{"docid":"630e4e0f400cc2260ecc3c4603767eb6","score":"0.69361514","text":"public void doGet(HttpServletRequest request,HttpServletResponse response) throws ServletException,IOException\n {\n doPost(request,response);\n }","title":""},{"docid":"8413940570936e007ab37a0081edf56d","score":"0.6935202","text":"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tdoPost(request, response);\n\t}","title":""},{"docid":"8413940570936e007ab37a0081edf56d","score":"0.6935202","text":"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tdoPost(request, response);\n\t}","title":""},{"docid":"8413940570936e007ab37a0081edf56d","score":"0.6935202","text":"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tdoPost(request, response);\n\t}","title":""},{"docid":"8413940570936e007ab37a0081edf56d","score":"0.6935202","text":"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tdoPost(request, response);\n\t}","title":""},{"docid":"8413940570936e007ab37a0081edf56d","score":"0.6935202","text":"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tdoPost(request, response);\n\t}","title":""},{"docid":"8413940570936e007ab37a0081edf56d","score":"0.6935202","text":"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tdoPost(request, response);\n\t}","title":""},{"docid":"8413940570936e007ab37a0081edf56d","score":"0.6935202","text":"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tdoPost(request, response);\n\t}","title":""},{"docid":"793012c260c8dc6fc6e1440a4167b840","score":"0.6932762","text":"@Override\n protected void doGet(HttpServletRequest req, HttpServletResponse resp)\n throws ServletException, IOException\n {\n }","title":""},{"docid":"6d61df8c2ef2213f810586e730b93216","score":"0.6912494","text":"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\n\t}","title":""},{"docid":"c172ae36dd4e5c686f633ff90255b2e6","score":"0.6901335","text":"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}","title":""},{"docid":"c172ae36dd4e5c686f633ff90255b2e6","score":"0.6901335","text":"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}","title":""},{"docid":"c172ae36dd4e5c686f633ff90255b2e6","score":"0.6901335","text":"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}","title":""},{"docid":"c172ae36dd4e5c686f633ff90255b2e6","score":"0.6901335","text":"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}","title":""},{"docid":"c172ae36dd4e5c686f633ff90255b2e6","score":"0.6901335","text":"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}","title":""},{"docid":"dc80bcd0afd44f05df9ff5e6aa296749","score":"0.68972427","text":"@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoGet(req, resp);\n\t}","title":""},{"docid":"dc80bcd0afd44f05df9ff5e6aa296749","score":"0.68972427","text":"@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoGet(req, resp);\n\t}","title":""}],"string":"[\n {\n \"docid\": \"8a69612518b2ebe27bf01421db851720\",\n \"score\": \"0.7371096\",\n \"text\": \"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException{\\r\\n\\t perForm(request,response);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"563585596a1523b636e4dcceff7547e4\",\n \"score\": \"0.7255866\",\n \"text\": \"@Override\\r\\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\\r\\n throws ServletException, IOException {\\r\\n doGet(request, response);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6e183765a52a5a3921a8cdb2b9b11cff\",\n \"score\": \"0.7207248\",\n \"text\": \"public void doGet(HttpServletRequest req, HttpServletResponse resp)\\r\\n throws ServletException, IOException {\\r\\n\\r\\n doPost(req, resp); // call doPost processing\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a97ee9260c4f1cfc4a68b57c53b9997e\",\n \"score\": \"0.7205568\",\n \"text\": \"@Override\\r\\n\\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\\n\\t\\tdoPost(req, resp);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a97ee9260c4f1cfc4a68b57c53b9997e\",\n \"score\": \"0.7205568\",\n \"text\": \"@Override\\r\\n\\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\\n\\t\\tdoPost(req, resp);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"28eff473183c65a1947b7ae02c12eded\",\n \"score\": \"0.7199107\",\n \"text\": \"@Override\\r\\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\\r\\n throws ServletException, IOException {\\r\\n doPost(request, response);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"28eff473183c65a1947b7ae02c12eded\",\n \"score\": \"0.7199107\",\n \"text\": \"@Override\\r\\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\\r\\n throws ServletException, IOException {\\r\\n doPost(request, response);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"28eff473183c65a1947b7ae02c12eded\",\n \"score\": \"0.7199107\",\n \"text\": \"@Override\\r\\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\\r\\n throws ServletException, IOException {\\r\\n doPost(request, response);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0c6f3a271fc8ba2424c6da0fe676b490\",\n \"score\": \"0.71714604\",\n \"text\": \"@Override\\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\\n throws ServletException, IOException {\\n doPost(request, response);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d3b6a08fe7a6dc0a7a5231caa6a82a55\",\n \"score\": \"0.7170735\",\n \"text\": \"@Override\\r\\n\\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\\n\\t\\tthis.doPost(req, resp);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"00b432a2f780da2bcec47b3948a51ff8\",\n \"score\": \"0.7154274\",\n \"text\": \"@Override\\r\\n public void doGet(HttpServletRequest request, HttpServletResponse response)\\r\\n throws ServletException, IOException {\\r\\n doPost(request,response);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dfd4364371e5c690cd8ea048f22d3793\",\n \"score\": \"0.7147406\",\n \"text\": \"@Override\\n protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\\n doPost(req, resp);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"37d94bd813f2de8b11d34303dd49de66\",\n \"score\": \"0.71391207\",\n \"text\": \"@Override\\r\\n\\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\\r\\n\\t\\t\\tthrows ServletException, IOException {\\n\\t\\tdoPost(req, resp);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"37d94bd813f2de8b11d34303dd49de66\",\n \"score\": \"0.71391207\",\n \"text\": \"@Override\\r\\n\\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\\r\\n\\t\\t\\tthrows ServletException, IOException {\\n\\t\\tdoPost(req, resp);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f44d66e4c35cfafd182c9ce4038e6f9c\",\n \"score\": \"0.713383\",\n \"text\": \"@Override\\n\\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\\n\\t\\tdoPost(req, resp);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f44d66e4c35cfafd182c9ce4038e6f9c\",\n \"score\": \"0.713383\",\n \"text\": \"@Override\\n\\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\\n\\t\\tdoPost(req, resp);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f44d66e4c35cfafd182c9ce4038e6f9c\",\n \"score\": \"0.713383\",\n \"text\": \"@Override\\n\\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\\n\\t\\tdoPost(req, resp);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f44d66e4c35cfafd182c9ce4038e6f9c\",\n \"score\": \"0.713383\",\n \"text\": \"@Override\\n\\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\\n\\t\\tdoPost(req, resp);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f44d66e4c35cfafd182c9ce4038e6f9c\",\n \"score\": \"0.713383\",\n \"text\": \"@Override\\n\\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\\n\\t\\tdoPost(req, resp);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f44d66e4c35cfafd182c9ce4038e6f9c\",\n \"score\": \"0.713383\",\n \"text\": \"@Override\\n\\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\\n\\t\\tdoPost(req, resp);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f44d66e4c35cfafd182c9ce4038e6f9c\",\n \"score\": \"0.713383\",\n \"text\": \"@Override\\n\\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\\n\\t\\tdoPost(req, resp);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f44d66e4c35cfafd182c9ce4038e6f9c\",\n \"score\": \"0.713383\",\n \"text\": \"@Override\\n\\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\\n\\t\\tdoPost(req, resp);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f44d66e4c35cfafd182c9ce4038e6f9c\",\n \"score\": \"0.713383\",\n \"text\": \"@Override\\n\\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\\n\\t\\tdoPost(req, resp);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f44d66e4c35cfafd182c9ce4038e6f9c\",\n \"score\": \"0.713383\",\n \"text\": \"@Override\\n\\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\\n\\t\\tdoPost(req, resp);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f44d66e4c35cfafd182c9ce4038e6f9c\",\n \"score\": \"0.713383\",\n \"text\": \"@Override\\n\\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\\n\\t\\tdoPost(req, resp);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f44d66e4c35cfafd182c9ce4038e6f9c\",\n \"score\": \"0.713383\",\n \"text\": \"@Override\\n\\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\\n\\t\\tdoPost(req, resp);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"465de1698b005c8bf322b3145c566a87\",\n \"score\": \"0.71297204\",\n \"text\": \"@Override\\n\\tprotected void doGet(HttpServletRequest request, HttpServletResponse response)\\n\\t\\t\\tthrows ServletException, IOException {\\n\\t\\tdoPost(request, response); //call doPost() for flow control logic.\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e11169f3af74f9ffff31ceb1d0ef0757\",\n \"score\": \"0.7114754\",\n \"text\": \"@Override\\n protected void doGet(HttpServletRequest req, HttpServletResponse resp)\\n throws ServletException, IOException {\\n doPost(req, resp);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c093dcd06f4e0b15ad4b87f7c5aca0f5\",\n \"score\": \"0.7114104\",\n \"text\": \"protected void doGet( HttpServletRequest request, HttpServletResponse response ) throws ServletException, IOException\\n {\\n \\t// Maneja el GET y el POST de la misma manera\\n procesarSolicitud( request, response );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"30b463ea03db1f85950c9e84d76dc905\",\n \"score\": \"0.7106074\",\n \"text\": \"@Override\\n\\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\\n\\t\\t doGet(req, resp);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1098926486d6510ec701a85ab610560f\",\n \"score\": \"0.7098881\",\n \"text\": \"@Override\\r\\n\\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\\r\\n\\t\\t\\tthrows ServletException, IOException {\\n\\t\\tthis.doPost(req, resp);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6a48574d66e619970acfbad76a3eb9fe\",\n \"score\": \"0.7088295\",\n \"text\": \"public void doGet(HttpServletRequest request, HttpServletResponse response)\\r\\n\\t\\t\\tthrows ServletException, IOException {doPost(request, response);}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a19e446bd3c39e6093b905e35d66075\",\n \"score\": \"0.70881087\",\n \"text\": \"@Override\\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\\n throws ServletException, IOException {\\n doPost(request, response);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a19e446bd3c39e6093b905e35d66075\",\n \"score\": \"0.70881087\",\n \"text\": \"@Override\\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\\n throws ServletException, IOException {\\n doPost(request, response);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a19e446bd3c39e6093b905e35d66075\",\n \"score\": \"0.70881087\",\n \"text\": \"@Override\\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\\n throws ServletException, IOException {\\n doPost(request, response);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4a19e446bd3c39e6093b905e35d66075\",\n \"score\": \"0.70881087\",\n \"text\": \"@Override\\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\\n throws ServletException, IOException {\\n doPost(request, response);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d8bbdb19094288234b359704549b780e\",\n \"score\": \"0.7087069\",\n \"text\": \"@Override\\n\\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\\n\\t\\tthis.doPost(req, resp);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d8bbdb19094288234b359704549b780e\",\n \"score\": \"0.7087069\",\n \"text\": \"@Override\\n\\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\\n\\t\\tthis.doPost(req, resp);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d8bbdb19094288234b359704549b780e\",\n \"score\": \"0.7087069\",\n \"text\": \"@Override\\n\\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\\n\\t\\tthis.doPost(req, resp);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a3c4951b06f6803c43f4e72ac81a094e\",\n \"score\": \"0.7083461\",\n \"text\": \"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\n \\t\\tdoPost(request, response);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ac5948912f832602f0e611747ed2458\",\n \"score\": \"0.70831424\",\n \"text\": \"public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException, ServletException {\\r\\n doPost(req, resp);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"29e02f1482d054334b3cfa61172d4226\",\n \"score\": \"0.7078801\",\n \"text\": \"public void doGet(HttpServletRequest request, HttpServletResponse response)\\r\\n\\t\\t\\tthrows ServletException, IOException {\\r\\n\\r\\n\\r\\nthis.doPost(request, response);\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1a5d2941c3ac0fac07c6e33d87144c59\",\n \"score\": \"0.7077007\",\n \"text\": \"@Override\\n protected abstract void doGet(HttpServletRequest req, HttpServletResponse resp) \\n\\tthrows ServletException, IOException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fceb442cde35b849bab13216225cd027\",\n \"score\": \"0.7072391\",\n \"text\": \"@Override\\r\\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\\r\\n throws ServletException, IOException {\\r\\n doPost(request,response);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"930a1ee2ae0a948585ae36cf7fb6fb7b\",\n \"score\": \"0.7068362\",\n \"text\": \"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\n doPost(request,response);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"930a1ee2ae0a948585ae36cf7fb6fb7b\",\n \"score\": \"0.7068362\",\n \"text\": \"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\n doPost(request,response);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2b97d72d8cc3c53b0034ed3b29c194a3\",\n \"score\": \"0.70676684\",\n \"text\": \"@Override\\n protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\\n doGet(req, resp);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e828d2cf622ec99748afbcbd4a01ffc5\",\n \"score\": \"0.70546377\",\n \"text\": \"@Override\\r\\n\\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\\r\\n\\t\\t\\tthrows ServletException, IOException {\\n\\t\\tdoPost(req,resp);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e828d2cf622ec99748afbcbd4a01ffc5\",\n \"score\": \"0.70546377\",\n \"text\": \"@Override\\r\\n\\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\\r\\n\\t\\t\\tthrows ServletException, IOException {\\n\\t\\tdoPost(req,resp);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0a5179faab431e534f95ea30e86dad7\",\n \"score\": \"0.7050164\",\n \"text\": \"@Override\\n\\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\\n\\t\\t\\tthrows ServletException, IOException {\\n\\t\\tdoPost(req, resp);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0a5179faab431e534f95ea30e86dad7\",\n \"score\": \"0.7050164\",\n \"text\": \"@Override\\n\\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\\n\\t\\t\\tthrows ServletException, IOException {\\n\\t\\tdoPost(req, resp);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0a5179faab431e534f95ea30e86dad7\",\n \"score\": \"0.7050164\",\n \"text\": \"@Override\\n\\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\\n\\t\\t\\tthrows ServletException, IOException {\\n\\t\\tdoPost(req, resp);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"83faebba0cb1dd4e7219eb9b8128dc5d\",\n \"score\": \"0.70495355\",\n \"text\": \"@Override\\n\\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\\n\\n\\t\\tSystem.out.println(\\\"Chamou pelo método GET\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"471aa304bc8bdc95eb6d2386e334f119\",\n \"score\": \"0.7048971\",\n \"text\": \"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\n\\t\\t\\tdoPost(request, response);\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"93bc80796c8339b02714a5f2397a06bb\",\n \"score\": \"0.7036657\",\n \"text\": \"@Override\\n\\tprotected void doGet(HttpServletRequest request, HttpServletResponse response)\\n\\t\\t\\tthrows ServletException, IOException {\\n\\t\\tdoPost(request, response);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"93bc80796c8339b02714a5f2397a06bb\",\n \"score\": \"0.7036657\",\n \"text\": \"@Override\\n\\tprotected void doGet(HttpServletRequest request, HttpServletResponse response)\\n\\t\\t\\tthrows ServletException, IOException {\\n\\t\\tdoPost(request, response);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"41033acbfb1375a0e572e0147c6379fd\",\n \"score\": \"0.70351475\",\n \"text\": \"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException\\r\\n\\t{\\r\\n\\r\\n\\t\\tdoPost(request, response);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fb6264fafb16f603c6ac2e042cc94d32\",\n \"score\": \"0.70306224\",\n \"text\": \"@Override\\r\\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\\r\\n throws ServletException, IOException {\\r\\n doGet(request, response);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"48875dc9f472eea6fe559e20c4be5d3f\",\n \"score\": \"0.70232064\",\n \"text\": \"@Override\\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\\n throws ServletException, IOException {\\n \\n doPost(request, response);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3beb428513ead9a2a9eb81645303813e\",\n \"score\": \"0.70098835\",\n \"text\": \"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\r\\n\\t\\tdoPost(request, response);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b4f620dddc1587e9ad71ca97ad86a6f3\",\n \"score\": \"0.7007046\",\n \"text\": \"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\n\\t\\tdoPost(request, response);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b4f620dddc1587e9ad71ca97ad86a6f3\",\n \"score\": \"0.7007046\",\n \"text\": \"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\n\\t\\tdoPost(request, response);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"434a27b5b9ff01553d381ebec87e4e16\",\n \"score\": \"0.7005563\",\n \"text\": \"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\n\\t\\t\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"001224d7881d3153ee305f047dc16626\",\n \"score\": \"0.70048577\",\n \"text\": \"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException \\n\\t{\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"01c3f297ded56fa1d2b43faa5eb8ef8e\",\n \"score\": \"0.7002859\",\n \"text\": \"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException \\n\\t{\\n\\t\\tdoPost(request, response);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0c334655922039340e99c206bd7bce93\",\n \"score\": \"0.69976825\",\n \"text\": \"@Override\\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\\n throws ServletException, IOException {\\n processGetRequest(request, response);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"697d52a8d528032a4fe7eadba6e0279c\",\n \"score\": \"0.6996101\",\n \"text\": \"@Override\\n\\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\\n\\t\\t\\tthrows ServletException, IOException {\\n\\t\\tthis.doPost(req, resp);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"697d52a8d528032a4fe7eadba6e0279c\",\n \"score\": \"0.6996101\",\n \"text\": \"@Override\\n\\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\\n\\t\\t\\tthrows ServletException, IOException {\\n\\t\\tthis.doPost(req, resp);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3a27701bf33d6087ed35334460a96f23\",\n \"score\": \"0.69949937\",\n \"text\": \"protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8d4fbcda7d4e278dc95386ef821bb030\",\n \"score\": \"0.6989294\",\n \"text\": \"@Override\\n protected void doGet(HttpServletRequest request,\\n HttpServletResponse response) throws ServletException, IOException {\\n //because it is calling the post the get requests to this servlet\\n //perform the same operations as the post requests\\n doPost(request, response);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"649ba89f94ad2a40b203a0c7c28a521a\",\n \"score\": \"0.6985465\",\n \"text\": \"@Override\\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\\n throws ServletException, IOException {\\n doGet(request, response);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2f5cd5b7eda12ce374aab1b546dbaa51\",\n \"score\": \"0.69812506\",\n \"text\": \"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc57bda20ab7151fc59db91cf12fa992\",\n \"score\": \"0.69789743\",\n \"text\": \"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aa9d1c8928477805247df05362360af1\",\n \"score\": \"0.69766104\",\n \"text\": \"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\n this.doPost(request,response);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f067f2929bccc03211ae4deeb94ba3f\",\n \"score\": \"0.6975308\",\n \"text\": \"@Override\\n protected void doGet (HttpServletRequest request, HttpServletResponse response)\\n throws ServletException, IOException\\n {\\n\\t \\n\\t \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4ff02b789e5ab92b9bd9c40abe9ff61f\",\n \"score\": \"0.69666255\",\n \"text\": \"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\r\\n\\t\\tdoPost(request,response);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"650a1df10f2b571e34303d7ac94f41f8\",\n \"score\": \"0.69602424\",\n \"text\": \"public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\r\\n\\r\\n\\t\\tdoPost(request, response);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7af0abd4724b5dfe0265a5f0ff9e0a82\",\n \"score\": \"0.6958937\",\n \"text\": \"public void doGet(HttpServletRequest request, HttpServletResponse response)\\n\\t\\t\\tthrows ServletException, IOException {\\n this.doPost(request, response);\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"01237c5cf8fd6def1332f54ece8c8546\",\n \"score\": \"0.69588125\",\n \"text\": \"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\n\\t\\tdoPost(request,response);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"677c85de8f5ae7490744d7801988c3e4\",\n \"score\": \"0.69569886\",\n \"text\": \"protected void doGet(HttpServletRequest request, HttpServletResponse response)\\n throws ServletException, IOException {\\n \\n/******************************************************************************\\n *--Declaration/Instantiation Section-- *\\n ******************************************************************************/\\n _MyPage = (NonBillablePage)request.getSession().getAttribute(\\\"myEditNonBillablePage\\\");\\n _MyNonBillable = (NonBillableType)request.getSession().getAttribute(\\\"BNonBillableType\\\");\\n _ButtonClicked = \\\"doGet\\\";\\n/******************************************************************************\\n *--Refresh Section-- *\\n ******************************************************************************/\\n\\n _MyPage.setName(_MyNonBillable.getNonBillableTypeName());\\n _MyPage.setNonBillableID(_MyNonBillable.getNonBillableTypeID());\\n _MyPage.setRemarks(_MyNonBillable.getRemarks());\\n _MyPage.setStatus(_MyNonBillable.getStatus()+\\\"\\\");\\n \\n/******************************************************************************\\n *--Check Input Section-- *\\n ******************************************************************************/\\n\\n/******************************************************************************\\n *--Process Section-- *\\n ******************************************************************************/\\n \\n processRequest(request, response);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f5b95ecb0513c40fa5c9c315a1871382\",\n \"score\": \"0.69523257\",\n \"text\": \"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\n\\t\\tthis.doPost(request, response);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"38ddfd3aee2e8539a604c124a1b592f9\",\n \"score\": \"0.6948428\",\n \"text\": \"public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\r\\n\\r\\n\\t\\tthis.doPost(request, response);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8009af9b39c9ee014aaa7df1b812e783\",\n \"score\": \"0.69409\",\n \"text\": \"public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\n doPost(request, response);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6d76b96f3ca44e1e3c5bf83d3a08824f\",\n \"score\": \"0.6938494\",\n \"text\": \"@Override\\n protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\n System.out.println(\\\"entro get\\\");\\n processRequest(request, response);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"630e4e0f400cc2260ecc3c4603767eb6\",\n \"score\": \"0.69361514\",\n \"text\": \"public void doGet(HttpServletRequest request,HttpServletResponse response) throws ServletException,IOException\\n {\\n doPost(request,response);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8413940570936e007ab37a0081edf56d\",\n \"score\": \"0.6935202\",\n \"text\": \"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\n\\t\\tdoPost(request, response);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8413940570936e007ab37a0081edf56d\",\n \"score\": \"0.6935202\",\n \"text\": \"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\n\\t\\tdoPost(request, response);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8413940570936e007ab37a0081edf56d\",\n \"score\": \"0.6935202\",\n \"text\": \"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\n\\t\\tdoPost(request, response);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8413940570936e007ab37a0081edf56d\",\n \"score\": \"0.6935202\",\n \"text\": \"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\n\\t\\tdoPost(request, response);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8413940570936e007ab37a0081edf56d\",\n \"score\": \"0.6935202\",\n \"text\": \"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\n\\t\\tdoPost(request, response);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8413940570936e007ab37a0081edf56d\",\n \"score\": \"0.6935202\",\n \"text\": \"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\n\\t\\tdoPost(request, response);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8413940570936e007ab37a0081edf56d\",\n \"score\": \"0.6935202\",\n \"text\": \"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\n\\t\\tdoPost(request, response);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"793012c260c8dc6fc6e1440a4167b840\",\n \"score\": \"0.6932762\",\n \"text\": \"@Override\\n protected void doGet(HttpServletRequest req, HttpServletResponse resp)\\n throws ServletException, IOException\\n {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6d61df8c2ef2213f810586e730b93216\",\n \"score\": \"0.6912494\",\n \"text\": \"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\n\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c172ae36dd4e5c686f633ff90255b2e6\",\n \"score\": \"0.6901335\",\n \"text\": \"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c172ae36dd4e5c686f633ff90255b2e6\",\n \"score\": \"0.6901335\",\n \"text\": \"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c172ae36dd4e5c686f633ff90255b2e6\",\n \"score\": \"0.6901335\",\n \"text\": \"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c172ae36dd4e5c686f633ff90255b2e6\",\n \"score\": \"0.6901335\",\n \"text\": \"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c172ae36dd4e5c686f633ff90255b2e6\",\n \"score\": \"0.6901335\",\n \"text\": \"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc80bcd0afd44f05df9ff5e6aa296749\",\n \"score\": \"0.68972427\",\n \"text\": \"@Override\\n\\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\\n\\t\\tdoGet(req, resp);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc80bcd0afd44f05df9ff5e6aa296749\",\n \"score\": \"0.68972427\",\n \"text\": \"@Override\\n\\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\\n\\t\\tdoGet(req, resp);\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":389,"cells":{"query_id":{"kind":"string","value":"f293c52ba4e9bab986a5111094fb79d0"},"query":{"kind":"string","value":"required .CMsgProtoDefHeader header = 1;"},"positive_passages":{"kind":"list like","value":[{"docid":"11ce068639c3a30fb0f40d9ca5f560cd","score":"0.65592545","text":"public Builder setHeader(TfProtoDefMessages.CMsgProtoDefHeader value) {\n if (headerBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n header_ = value;\n onChanged();\n } else {\n headerBuilder_.setMessage(value);\n }\n bitField0_ |= 0x00000001;\n return this;\n }","title":""}],"string":"[\n {\n \"docid\": \"11ce068639c3a30fb0f40d9ca5f560cd\",\n \"score\": \"0.65592545\",\n \"text\": \"public Builder setHeader(TfProtoDefMessages.CMsgProtoDefHeader value) {\\n if (headerBuilder_ == null) {\\n if (value == null) {\\n throw new NullPointerException();\\n }\\n header_ = value;\\n onChanged();\\n } else {\\n headerBuilder_.setMessage(value);\\n }\\n bitField0_ |= 0x00000001;\\n return this;\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"80a31e3012ac4103fe06db8d7612e5c1","score":"0.7976947","text":"TfProtoDefMessages.CMsgProtoDefHeader getHeader();","title":""},{"docid":"80a31e3012ac4103fe06db8d7612e5c1","score":"0.7976947","text":"TfProtoDefMessages.CMsgProtoDefHeader getHeader();","title":""},{"docid":"80a31e3012ac4103fe06db8d7612e5c1","score":"0.7976947","text":"TfProtoDefMessages.CMsgProtoDefHeader getHeader();","title":""},{"docid":"80a31e3012ac4103fe06db8d7612e5c1","score":"0.7976947","text":"TfProtoDefMessages.CMsgProtoDefHeader getHeader();","title":""},{"docid":"80a31e3012ac4103fe06db8d7612e5c1","score":"0.7976947","text":"TfProtoDefMessages.CMsgProtoDefHeader getHeader();","title":""},{"docid":"80a31e3012ac4103fe06db8d7612e5c1","score":"0.7976947","text":"TfProtoDefMessages.CMsgProtoDefHeader getHeader();","title":""},{"docid":"80a31e3012ac4103fe06db8d7612e5c1","score":"0.7976947","text":"TfProtoDefMessages.CMsgProtoDefHeader getHeader();","title":""},{"docid":"80a31e3012ac4103fe06db8d7612e5c1","score":"0.7976947","text":"TfProtoDefMessages.CMsgProtoDefHeader getHeader();","title":""},{"docid":"80a31e3012ac4103fe06db8d7612e5c1","score":"0.7976947","text":"TfProtoDefMessages.CMsgProtoDefHeader getHeader();","title":""},{"docid":"80a31e3012ac4103fe06db8d7612e5c1","score":"0.7976947","text":"TfProtoDefMessages.CMsgProtoDefHeader getHeader();","title":""},{"docid":"80a31e3012ac4103fe06db8d7612e5c1","score":"0.7975679","text":"TfProtoDefMessages.CMsgProtoDefHeader getHeader();","title":""},{"docid":"80a31e3012ac4103fe06db8d7612e5c1","score":"0.7975679","text":"TfProtoDefMessages.CMsgProtoDefHeader getHeader();","title":""},{"docid":"9113e7d4002c785704e79d6ab38b8b86","score":"0.77259624","text":"TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();","title":""},{"docid":"9113e7d4002c785704e79d6ab38b8b86","score":"0.77259624","text":"TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();","title":""},{"docid":"9113e7d4002c785704e79d6ab38b8b86","score":"0.77259624","text":"TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();","title":""},{"docid":"9113e7d4002c785704e79d6ab38b8b86","score":"0.77259624","text":"TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();","title":""},{"docid":"9113e7d4002c785704e79d6ab38b8b86","score":"0.77259624","text":"TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();","title":""},{"docid":"9113e7d4002c785704e79d6ab38b8b86","score":"0.77259624","text":"TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();","title":""},{"docid":"9113e7d4002c785704e79d6ab38b8b86","score":"0.77259624","text":"TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();","title":""},{"docid":"9113e7d4002c785704e79d6ab38b8b86","score":"0.77259624","text":"TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();","title":""},{"docid":"9113e7d4002c785704e79d6ab38b8b86","score":"0.77259624","text":"TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();","title":""},{"docid":"9113e7d4002c785704e79d6ab38b8b86","score":"0.7725694","text":"TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();","title":""},{"docid":"9113e7d4002c785704e79d6ab38b8b86","score":"0.7725221","text":"TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();","title":""},{"docid":"9113e7d4002c785704e79d6ab38b8b86","score":"0.7725221","text":"TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();","title":""},{"docid":"b0214e477d5b8f9f1571716c0932dde1","score":"0.73182136","text":"TfProtoDefMessages.CMsgHeaderOnly getInstanceDefTypeHeaderOnly();","title":""},{"docid":"969de67c227b300717037167a09cc248","score":"0.6867404","text":"private CMsgProtoDefHeader(com.google.protobuf.GeneratedMessageV3.Builder builder) {\n super(builder);\n }","title":""},{"docid":"bc08768eec43f91692f3e248f3f401e5","score":"0.6838372","text":"pipe.common.Common.HeaderOrBuilder getHeaderOrBuilder();","title":""},{"docid":"bc08768eec43f91692f3e248f3f401e5","score":"0.6838372","text":"pipe.common.Common.HeaderOrBuilder getHeaderOrBuilder();","title":""},{"docid":"8f160d4ddee4a8998fb8b84fade7a642","score":"0.67086434","text":"TfProtoDefMessages.CMsgHeaderOnlyOrBuilder getInstanceDefTypeHeaderOnlyOrBuilder();","title":""},{"docid":"f33e180b4113c21bb7f10f9d11e01452","score":"0.67026544","text":"@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }","title":""},{"docid":"f33e180b4113c21bb7f10f9d11e01452","score":"0.67026544","text":"@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }","title":""},{"docid":"f33e180b4113c21bb7f10f9d11e01452","score":"0.67026544","text":"@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }","title":""},{"docid":"f33e180b4113c21bb7f10f9d11e01452","score":"0.6702624","text":"@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }","title":""},{"docid":"f33e180b4113c21bb7f10f9d11e01452","score":"0.6702624","text":"@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }","title":""},{"docid":"f33e180b4113c21bb7f10f9d11e01452","score":"0.6702624","text":"@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }","title":""},{"docid":"f33e180b4113c21bb7f10f9d11e01452","score":"0.6701467","text":"@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }","title":""},{"docid":"f33e180b4113c21bb7f10f9d11e01452","score":"0.67012644","text":"@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }","title":""},{"docid":"f33e180b4113c21bb7f10f9d11e01452","score":"0.67012644","text":"@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }","title":""},{"docid":"f33e180b4113c21bb7f10f9d11e01452","score":"0.67012644","text":"@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }","title":""},{"docid":"f33e180b4113c21bb7f10f9d11e01452","score":"0.67012644","text":"@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }","title":""},{"docid":"f33e180b4113c21bb7f10f9d11e01452","score":"0.67012644","text":"@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }","title":""},{"docid":"5631fffd2857adaae5a89de8dd4b3932","score":"0.66593623","text":"@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }","title":""},{"docid":"5631fffd2857adaae5a89de8dd4b3932","score":"0.66593623","text":"@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }","title":""},{"docid":"5631fffd2857adaae5a89de8dd4b3932","score":"0.66593623","text":"@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }","title":""},{"docid":"5631fffd2857adaae5a89de8dd4b3932","score":"0.6658864","text":"@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }","title":""},{"docid":"5631fffd2857adaae5a89de8dd4b3932","score":"0.6658864","text":"@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }","title":""},{"docid":"5631fffd2857adaae5a89de8dd4b3932","score":"0.6658864","text":"@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }","title":""},{"docid":"5631fffd2857adaae5a89de8dd4b3932","score":"0.6658594","text":"@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }","title":""},{"docid":"5631fffd2857adaae5a89de8dd4b3932","score":"0.6658594","text":"@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }","title":""},{"docid":"5631fffd2857adaae5a89de8dd4b3932","score":"0.6658594","text":"@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }","title":""},{"docid":"5631fffd2857adaae5a89de8dd4b3932","score":"0.6658482","text":"@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }","title":""},{"docid":"5631fffd2857adaae5a89de8dd4b3932","score":"0.6658482","text":"@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }","title":""},{"docid":"5631fffd2857adaae5a89de8dd4b3932","score":"0.6658351","text":"@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }","title":""},{"docid":"55d04b4693a604539a62c1fa38a678f1","score":"0.6493601","text":"public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n if (headerBuilder_ != null) {\n return headerBuilder_.getMessageOrBuilder();\n } else {\n return header_ == null ?\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }\n }","title":""},{"docid":"55d04b4693a604539a62c1fa38a678f1","score":"0.6493601","text":"public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n if (headerBuilder_ != null) {\n return headerBuilder_.getMessageOrBuilder();\n } else {\n return header_ == null ?\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }\n }","title":""},{"docid":"55d04b4693a604539a62c1fa38a678f1","score":"0.6493601","text":"public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n if (headerBuilder_ != null) {\n return headerBuilder_.getMessageOrBuilder();\n } else {\n return header_ == null ?\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }\n }","title":""},{"docid":"55d04b4693a604539a62c1fa38a678f1","score":"0.6493601","text":"public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n if (headerBuilder_ != null) {\n return headerBuilder_.getMessageOrBuilder();\n } else {\n return header_ == null ?\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }\n }","title":""},{"docid":"55d04b4693a604539a62c1fa38a678f1","score":"0.6493284","text":"public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n if (headerBuilder_ != null) {\n return headerBuilder_.getMessageOrBuilder();\n } else {\n return header_ == null ?\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }\n }","title":""},{"docid":"55d04b4693a604539a62c1fa38a678f1","score":"0.6491899","text":"public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n if (headerBuilder_ != null) {\n return headerBuilder_.getMessageOrBuilder();\n } else {\n return header_ == null ?\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }\n }","title":""},{"docid":"55d04b4693a604539a62c1fa38a678f1","score":"0.6491899","text":"public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n if (headerBuilder_ != null) {\n return headerBuilder_.getMessageOrBuilder();\n } else {\n return header_ == null ?\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }\n }","title":""},{"docid":"55d04b4693a604539a62c1fa38a678f1","score":"0.6491179","text":"public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n if (headerBuilder_ != null) {\n return headerBuilder_.getMessageOrBuilder();\n } else {\n return header_ == null ?\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }\n }","title":""},{"docid":"55d04b4693a604539a62c1fa38a678f1","score":"0.6491179","text":"public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n if (headerBuilder_ != null) {\n return headerBuilder_.getMessageOrBuilder();\n } else {\n return header_ == null ?\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }\n }","title":""},{"docid":"55d04b4693a604539a62c1fa38a678f1","score":"0.6491179","text":"public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n if (headerBuilder_ != null) {\n return headerBuilder_.getMessageOrBuilder();\n } else {\n return header_ == null ?\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }\n }","title":""},{"docid":"55d04b4693a604539a62c1fa38a678f1","score":"0.64904314","text":"public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n if (headerBuilder_ != null) {\n return headerBuilder_.getMessageOrBuilder();\n } else {\n return header_ == null ?\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }\n }","title":""},{"docid":"55d04b4693a604539a62c1fa38a678f1","score":"0.64904314","text":"public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n if (headerBuilder_ != null) {\n return headerBuilder_.getMessageOrBuilder();\n } else {\n return header_ == null ?\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }\n }","title":""},{"docid":"1499687717c723acb46e8c8c29151780","score":"0.6461917","text":"public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n if (headerBuilder_ == null) {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n } else {\n return headerBuilder_.getMessage();\n }\n }","title":""},{"docid":"1499687717c723acb46e8c8c29151780","score":"0.64612067","text":"public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n if (headerBuilder_ == null) {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n } else {\n return headerBuilder_.getMessage();\n }\n }","title":""},{"docid":"1499687717c723acb46e8c8c29151780","score":"0.6461059","text":"public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n if (headerBuilder_ == null) {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n } else {\n return headerBuilder_.getMessage();\n }\n }","title":""},{"docid":"1499687717c723acb46e8c8c29151780","score":"0.6461059","text":"public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n if (headerBuilder_ == null) {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n } else {\n return headerBuilder_.getMessage();\n }\n }","title":""},{"docid":"1499687717c723acb46e8c8c29151780","score":"0.6460748","text":"public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n if (headerBuilder_ == null) {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n } else {\n return headerBuilder_.getMessage();\n }\n }","title":""},{"docid":"1499687717c723acb46e8c8c29151780","score":"0.6460748","text":"public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n if (headerBuilder_ == null) {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n } else {\n return headerBuilder_.getMessage();\n }\n }","title":""},{"docid":"1499687717c723acb46e8c8c29151780","score":"0.6460748","text":"public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n if (headerBuilder_ == null) {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n } else {\n return headerBuilder_.getMessage();\n }\n }","title":""},{"docid":"1499687717c723acb46e8c8c29151780","score":"0.6460748","text":"public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n if (headerBuilder_ == null) {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n } else {\n return headerBuilder_.getMessage();\n }\n }","title":""},{"docid":"1499687717c723acb46e8c8c29151780","score":"0.6460639","text":"public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n if (headerBuilder_ == null) {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n } else {\n return headerBuilder_.getMessage();\n }\n }","title":""},{"docid":"1499687717c723acb46e8c8c29151780","score":"0.6460639","text":"public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n if (headerBuilder_ == null) {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n } else {\n return headerBuilder_.getMessage();\n }\n }","title":""},{"docid":"1499687717c723acb46e8c8c29151780","score":"0.6460639","text":"public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n if (headerBuilder_ == null) {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n } else {\n return headerBuilder_.getMessage();\n }\n }","title":""},{"docid":"1499687717c723acb46e8c8c29151780","score":"0.6460639","text":"public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n if (headerBuilder_ == null) {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n } else {\n return headerBuilder_.getMessage();\n }\n }","title":""},{"docid":"84eed9ea7d88da02ae79c4f6574b54d0","score":"0.64358544","text":"public interface MsgProtocol {\n /** 默认flag值 */\n public byte defaultFlag = 1;\n /** 最大长度 */\n public int maxPackLength = 1024 * 5;\n /** 标识数占得 byte数 */\n public int flagSize = 1;//\n /** 协议中 长度部分 占用的byte数,其值表示( 协议号+内容) 的长度 */\n public int lengthSize = 4;//\n /** 消息号占用的byte数 */\n public int msgCodeSize = 4;\n}","title":""},{"docid":"ed63f65a45529d69da13e7aa358b8372","score":"0.632798","text":"public TfProtoDefMessages.CMsgProtoDefHeader.Builder getHeaderBuilder() {\n bitField0_ |= 0x00000001;\n onChanged();\n return getHeaderFieldBuilder().getBuilder();\n }","title":""},{"docid":"ed63f65a45529d69da13e7aa358b8372","score":"0.632798","text":"public TfProtoDefMessages.CMsgProtoDefHeader.Builder getHeaderBuilder() {\n bitField0_ |= 0x00000001;\n onChanged();\n return getHeaderFieldBuilder().getBuilder();\n }","title":""},{"docid":"ed63f65a45529d69da13e7aa358b8372","score":"0.632798","text":"public TfProtoDefMessages.CMsgProtoDefHeader.Builder getHeaderBuilder() {\n bitField0_ |= 0x00000001;\n onChanged();\n return getHeaderFieldBuilder().getBuilder();\n }","title":""},{"docid":"ed63f65a45529d69da13e7aa358b8372","score":"0.632798","text":"public TfProtoDefMessages.CMsgProtoDefHeader.Builder getHeaderBuilder() {\n bitField0_ |= 0x00000001;\n onChanged();\n return getHeaderFieldBuilder().getBuilder();\n }","title":""},{"docid":"ed63f65a45529d69da13e7aa358b8372","score":"0.6327849","text":"public TfProtoDefMessages.CMsgProtoDefHeader.Builder getHeaderBuilder() {\n bitField0_ |= 0x00000001;\n onChanged();\n return getHeaderFieldBuilder().getBuilder();\n }","title":""},{"docid":"ed63f65a45529d69da13e7aa358b8372","score":"0.6327849","text":"public TfProtoDefMessages.CMsgProtoDefHeader.Builder getHeaderBuilder() {\n bitField0_ |= 0x00000001;\n onChanged();\n return getHeaderFieldBuilder().getBuilder();\n }","title":""},{"docid":"ed63f65a45529d69da13e7aa358b8372","score":"0.6327849","text":"public TfProtoDefMessages.CMsgProtoDefHeader.Builder getHeaderBuilder() {\n bitField0_ |= 0x00000001;\n onChanged();\n return getHeaderFieldBuilder().getBuilder();\n }","title":""},{"docid":"ed63f65a45529d69da13e7aa358b8372","score":"0.6327849","text":"public TfProtoDefMessages.CMsgProtoDefHeader.Builder getHeaderBuilder() {\n bitField0_ |= 0x00000001;\n onChanged();\n return getHeaderFieldBuilder().getBuilder();\n }","title":""},{"docid":"ed63f65a45529d69da13e7aa358b8372","score":"0.6327168","text":"public TfProtoDefMessages.CMsgProtoDefHeader.Builder getHeaderBuilder() {\n bitField0_ |= 0x00000001;\n onChanged();\n return getHeaderFieldBuilder().getBuilder();\n }","title":""},{"docid":"ed63f65a45529d69da13e7aa358b8372","score":"0.6326178","text":"public TfProtoDefMessages.CMsgProtoDefHeader.Builder getHeaderBuilder() {\n bitField0_ |= 0x00000001;\n onChanged();\n return getHeaderFieldBuilder().getBuilder();\n }","title":""},{"docid":"ed63f65a45529d69da13e7aa358b8372","score":"0.6326178","text":"public TfProtoDefMessages.CMsgProtoDefHeader.Builder getHeaderBuilder() {\n bitField0_ |= 0x00000001;\n onChanged();\n return getHeaderFieldBuilder().getBuilder();\n }","title":""}],"string":"[\n {\n \"docid\": \"80a31e3012ac4103fe06db8d7612e5c1\",\n \"score\": \"0.7976947\",\n \"text\": \"TfProtoDefMessages.CMsgProtoDefHeader getHeader();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80a31e3012ac4103fe06db8d7612e5c1\",\n \"score\": \"0.7976947\",\n \"text\": \"TfProtoDefMessages.CMsgProtoDefHeader getHeader();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80a31e3012ac4103fe06db8d7612e5c1\",\n \"score\": \"0.7976947\",\n \"text\": \"TfProtoDefMessages.CMsgProtoDefHeader getHeader();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80a31e3012ac4103fe06db8d7612e5c1\",\n \"score\": \"0.7976947\",\n \"text\": \"TfProtoDefMessages.CMsgProtoDefHeader getHeader();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80a31e3012ac4103fe06db8d7612e5c1\",\n \"score\": \"0.7976947\",\n \"text\": \"TfProtoDefMessages.CMsgProtoDefHeader getHeader();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80a31e3012ac4103fe06db8d7612e5c1\",\n \"score\": \"0.7976947\",\n \"text\": \"TfProtoDefMessages.CMsgProtoDefHeader getHeader();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80a31e3012ac4103fe06db8d7612e5c1\",\n \"score\": \"0.7976947\",\n \"text\": \"TfProtoDefMessages.CMsgProtoDefHeader getHeader();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80a31e3012ac4103fe06db8d7612e5c1\",\n \"score\": \"0.7976947\",\n \"text\": \"TfProtoDefMessages.CMsgProtoDefHeader getHeader();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80a31e3012ac4103fe06db8d7612e5c1\",\n \"score\": \"0.7976947\",\n \"text\": \"TfProtoDefMessages.CMsgProtoDefHeader getHeader();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80a31e3012ac4103fe06db8d7612e5c1\",\n \"score\": \"0.7976947\",\n \"text\": \"TfProtoDefMessages.CMsgProtoDefHeader getHeader();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80a31e3012ac4103fe06db8d7612e5c1\",\n \"score\": \"0.7975679\",\n \"text\": \"TfProtoDefMessages.CMsgProtoDefHeader getHeader();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80a31e3012ac4103fe06db8d7612e5c1\",\n \"score\": \"0.7975679\",\n \"text\": \"TfProtoDefMessages.CMsgProtoDefHeader getHeader();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9113e7d4002c785704e79d6ab38b8b86\",\n \"score\": \"0.77259624\",\n \"text\": \"TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9113e7d4002c785704e79d6ab38b8b86\",\n \"score\": \"0.77259624\",\n \"text\": \"TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9113e7d4002c785704e79d6ab38b8b86\",\n \"score\": \"0.77259624\",\n \"text\": \"TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9113e7d4002c785704e79d6ab38b8b86\",\n \"score\": \"0.77259624\",\n \"text\": \"TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9113e7d4002c785704e79d6ab38b8b86\",\n \"score\": \"0.77259624\",\n \"text\": \"TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9113e7d4002c785704e79d6ab38b8b86\",\n \"score\": \"0.77259624\",\n \"text\": \"TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9113e7d4002c785704e79d6ab38b8b86\",\n \"score\": \"0.77259624\",\n \"text\": \"TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9113e7d4002c785704e79d6ab38b8b86\",\n \"score\": \"0.77259624\",\n \"text\": \"TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9113e7d4002c785704e79d6ab38b8b86\",\n \"score\": \"0.77259624\",\n \"text\": \"TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9113e7d4002c785704e79d6ab38b8b86\",\n \"score\": \"0.7725694\",\n \"text\": \"TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9113e7d4002c785704e79d6ab38b8b86\",\n \"score\": \"0.7725221\",\n \"text\": \"TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9113e7d4002c785704e79d6ab38b8b86\",\n \"score\": \"0.7725221\",\n \"text\": \"TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b0214e477d5b8f9f1571716c0932dde1\",\n \"score\": \"0.73182136\",\n \"text\": \"TfProtoDefMessages.CMsgHeaderOnly getInstanceDefTypeHeaderOnly();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"969de67c227b300717037167a09cc248\",\n \"score\": \"0.6867404\",\n \"text\": \"private CMsgProtoDefHeader(com.google.protobuf.GeneratedMessageV3.Builder builder) {\\n super(builder);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc08768eec43f91692f3e248f3f401e5\",\n \"score\": \"0.6838372\",\n \"text\": \"pipe.common.Common.HeaderOrBuilder getHeaderOrBuilder();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc08768eec43f91692f3e248f3f401e5\",\n \"score\": \"0.6838372\",\n \"text\": \"pipe.common.Common.HeaderOrBuilder getHeaderOrBuilder();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8f160d4ddee4a8998fb8b84fade7a642\",\n \"score\": \"0.67086434\",\n \"text\": \"TfProtoDefMessages.CMsgHeaderOnlyOrBuilder getInstanceDefTypeHeaderOnlyOrBuilder();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f33e180b4113c21bb7f10f9d11e01452\",\n \"score\": \"0.67026544\",\n \"text\": \"@java.lang.Override\\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f33e180b4113c21bb7f10f9d11e01452\",\n \"score\": \"0.67026544\",\n \"text\": \"@java.lang.Override\\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f33e180b4113c21bb7f10f9d11e01452\",\n \"score\": \"0.67026544\",\n \"text\": \"@java.lang.Override\\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f33e180b4113c21bb7f10f9d11e01452\",\n \"score\": \"0.6702624\",\n \"text\": \"@java.lang.Override\\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f33e180b4113c21bb7f10f9d11e01452\",\n \"score\": \"0.6702624\",\n \"text\": \"@java.lang.Override\\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f33e180b4113c21bb7f10f9d11e01452\",\n \"score\": \"0.6702624\",\n \"text\": \"@java.lang.Override\\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f33e180b4113c21bb7f10f9d11e01452\",\n \"score\": \"0.6701467\",\n \"text\": \"@java.lang.Override\\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f33e180b4113c21bb7f10f9d11e01452\",\n \"score\": \"0.67012644\",\n \"text\": \"@java.lang.Override\\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f33e180b4113c21bb7f10f9d11e01452\",\n \"score\": \"0.67012644\",\n \"text\": \"@java.lang.Override\\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f33e180b4113c21bb7f10f9d11e01452\",\n \"score\": \"0.67012644\",\n \"text\": \"@java.lang.Override\\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f33e180b4113c21bb7f10f9d11e01452\",\n \"score\": \"0.67012644\",\n \"text\": \"@java.lang.Override\\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f33e180b4113c21bb7f10f9d11e01452\",\n \"score\": \"0.67012644\",\n \"text\": \"@java.lang.Override\\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5631fffd2857adaae5a89de8dd4b3932\",\n \"score\": \"0.66593623\",\n \"text\": \"@java.lang.Override\\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5631fffd2857adaae5a89de8dd4b3932\",\n \"score\": \"0.66593623\",\n \"text\": \"@java.lang.Override\\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5631fffd2857adaae5a89de8dd4b3932\",\n \"score\": \"0.66593623\",\n \"text\": \"@java.lang.Override\\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5631fffd2857adaae5a89de8dd4b3932\",\n \"score\": \"0.6658864\",\n \"text\": \"@java.lang.Override\\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5631fffd2857adaae5a89de8dd4b3932\",\n \"score\": \"0.6658864\",\n \"text\": \"@java.lang.Override\\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5631fffd2857adaae5a89de8dd4b3932\",\n \"score\": \"0.6658864\",\n \"text\": \"@java.lang.Override\\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5631fffd2857adaae5a89de8dd4b3932\",\n \"score\": \"0.6658594\",\n \"text\": \"@java.lang.Override\\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5631fffd2857adaae5a89de8dd4b3932\",\n \"score\": \"0.6658594\",\n \"text\": \"@java.lang.Override\\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5631fffd2857adaae5a89de8dd4b3932\",\n \"score\": \"0.6658594\",\n \"text\": \"@java.lang.Override\\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5631fffd2857adaae5a89de8dd4b3932\",\n \"score\": \"0.6658482\",\n \"text\": \"@java.lang.Override\\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5631fffd2857adaae5a89de8dd4b3932\",\n \"score\": \"0.6658482\",\n \"text\": \"@java.lang.Override\\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5631fffd2857adaae5a89de8dd4b3932\",\n \"score\": \"0.6658351\",\n \"text\": \"@java.lang.Override\\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"55d04b4693a604539a62c1fa38a678f1\",\n \"score\": \"0.6493601\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\\n if (headerBuilder_ != null) {\\n return headerBuilder_.getMessageOrBuilder();\\n } else {\\n return header_ == null ?\\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"55d04b4693a604539a62c1fa38a678f1\",\n \"score\": \"0.6493601\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\\n if (headerBuilder_ != null) {\\n return headerBuilder_.getMessageOrBuilder();\\n } else {\\n return header_ == null ?\\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"55d04b4693a604539a62c1fa38a678f1\",\n \"score\": \"0.6493601\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\\n if (headerBuilder_ != null) {\\n return headerBuilder_.getMessageOrBuilder();\\n } else {\\n return header_ == null ?\\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"55d04b4693a604539a62c1fa38a678f1\",\n \"score\": \"0.6493601\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\\n if (headerBuilder_ != null) {\\n return headerBuilder_.getMessageOrBuilder();\\n } else {\\n return header_ == null ?\\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"55d04b4693a604539a62c1fa38a678f1\",\n \"score\": \"0.6493284\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\\n if (headerBuilder_ != null) {\\n return headerBuilder_.getMessageOrBuilder();\\n } else {\\n return header_ == null ?\\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"55d04b4693a604539a62c1fa38a678f1\",\n \"score\": \"0.6491899\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\\n if (headerBuilder_ != null) {\\n return headerBuilder_.getMessageOrBuilder();\\n } else {\\n return header_ == null ?\\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"55d04b4693a604539a62c1fa38a678f1\",\n \"score\": \"0.6491899\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\\n if (headerBuilder_ != null) {\\n return headerBuilder_.getMessageOrBuilder();\\n } else {\\n return header_ == null ?\\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"55d04b4693a604539a62c1fa38a678f1\",\n \"score\": \"0.6491179\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\\n if (headerBuilder_ != null) {\\n return headerBuilder_.getMessageOrBuilder();\\n } else {\\n return header_ == null ?\\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"55d04b4693a604539a62c1fa38a678f1\",\n \"score\": \"0.6491179\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\\n if (headerBuilder_ != null) {\\n return headerBuilder_.getMessageOrBuilder();\\n } else {\\n return header_ == null ?\\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"55d04b4693a604539a62c1fa38a678f1\",\n \"score\": \"0.6491179\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\\n if (headerBuilder_ != null) {\\n return headerBuilder_.getMessageOrBuilder();\\n } else {\\n return header_ == null ?\\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"55d04b4693a604539a62c1fa38a678f1\",\n \"score\": \"0.64904314\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\\n if (headerBuilder_ != null) {\\n return headerBuilder_.getMessageOrBuilder();\\n } else {\\n return header_ == null ?\\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"55d04b4693a604539a62c1fa38a678f1\",\n \"score\": \"0.64904314\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\\n if (headerBuilder_ != null) {\\n return headerBuilder_.getMessageOrBuilder();\\n } else {\\n return header_ == null ?\\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1499687717c723acb46e8c8c29151780\",\n \"score\": \"0.6461917\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\\n if (headerBuilder_ == null) {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n } else {\\n return headerBuilder_.getMessage();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1499687717c723acb46e8c8c29151780\",\n \"score\": \"0.64612067\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\\n if (headerBuilder_ == null) {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n } else {\\n return headerBuilder_.getMessage();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1499687717c723acb46e8c8c29151780\",\n \"score\": \"0.6461059\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\\n if (headerBuilder_ == null) {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n } else {\\n return headerBuilder_.getMessage();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1499687717c723acb46e8c8c29151780\",\n \"score\": \"0.6461059\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\\n if (headerBuilder_ == null) {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n } else {\\n return headerBuilder_.getMessage();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1499687717c723acb46e8c8c29151780\",\n \"score\": \"0.6460748\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\\n if (headerBuilder_ == null) {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n } else {\\n return headerBuilder_.getMessage();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1499687717c723acb46e8c8c29151780\",\n \"score\": \"0.6460748\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\\n if (headerBuilder_ == null) {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n } else {\\n return headerBuilder_.getMessage();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1499687717c723acb46e8c8c29151780\",\n \"score\": \"0.6460748\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\\n if (headerBuilder_ == null) {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n } else {\\n return headerBuilder_.getMessage();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1499687717c723acb46e8c8c29151780\",\n \"score\": \"0.6460748\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\\n if (headerBuilder_ == null) {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n } else {\\n return headerBuilder_.getMessage();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1499687717c723acb46e8c8c29151780\",\n \"score\": \"0.6460639\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\\n if (headerBuilder_ == null) {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n } else {\\n return headerBuilder_.getMessage();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1499687717c723acb46e8c8c29151780\",\n \"score\": \"0.6460639\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\\n if (headerBuilder_ == null) {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n } else {\\n return headerBuilder_.getMessage();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1499687717c723acb46e8c8c29151780\",\n \"score\": \"0.6460639\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\\n if (headerBuilder_ == null) {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n } else {\\n return headerBuilder_.getMessage();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1499687717c723acb46e8c8c29151780\",\n \"score\": \"0.6460639\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\\n if (headerBuilder_ == null) {\\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\\n } else {\\n return headerBuilder_.getMessage();\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"84eed9ea7d88da02ae79c4f6574b54d0\",\n \"score\": \"0.64358544\",\n \"text\": \"public interface MsgProtocol {\\n /** 默认flag值 */\\n public byte defaultFlag = 1;\\n /** 最大长度 */\\n public int maxPackLength = 1024 * 5;\\n /** 标识数占得 byte数 */\\n public int flagSize = 1;//\\n /** 协议中 长度部分 占用的byte数,其值表示( 协议号+内容) 的长度 */\\n public int lengthSize = 4;//\\n /** 消息号占用的byte数 */\\n public int msgCodeSize = 4;\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed63f65a45529d69da13e7aa358b8372\",\n \"score\": \"0.632798\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeader.Builder getHeaderBuilder() {\\n bitField0_ |= 0x00000001;\\n onChanged();\\n return getHeaderFieldBuilder().getBuilder();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed63f65a45529d69da13e7aa358b8372\",\n \"score\": \"0.632798\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeader.Builder getHeaderBuilder() {\\n bitField0_ |= 0x00000001;\\n onChanged();\\n return getHeaderFieldBuilder().getBuilder();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed63f65a45529d69da13e7aa358b8372\",\n \"score\": \"0.632798\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeader.Builder getHeaderBuilder() {\\n bitField0_ |= 0x00000001;\\n onChanged();\\n return getHeaderFieldBuilder().getBuilder();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed63f65a45529d69da13e7aa358b8372\",\n \"score\": \"0.632798\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeader.Builder getHeaderBuilder() {\\n bitField0_ |= 0x00000001;\\n onChanged();\\n return getHeaderFieldBuilder().getBuilder();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed63f65a45529d69da13e7aa358b8372\",\n \"score\": \"0.6327849\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeader.Builder getHeaderBuilder() {\\n bitField0_ |= 0x00000001;\\n onChanged();\\n return getHeaderFieldBuilder().getBuilder();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed63f65a45529d69da13e7aa358b8372\",\n \"score\": \"0.6327849\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeader.Builder getHeaderBuilder() {\\n bitField0_ |= 0x00000001;\\n onChanged();\\n return getHeaderFieldBuilder().getBuilder();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed63f65a45529d69da13e7aa358b8372\",\n \"score\": \"0.6327849\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeader.Builder getHeaderBuilder() {\\n bitField0_ |= 0x00000001;\\n onChanged();\\n return getHeaderFieldBuilder().getBuilder();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed63f65a45529d69da13e7aa358b8372\",\n \"score\": \"0.6327849\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeader.Builder getHeaderBuilder() {\\n bitField0_ |= 0x00000001;\\n onChanged();\\n return getHeaderFieldBuilder().getBuilder();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed63f65a45529d69da13e7aa358b8372\",\n \"score\": \"0.6327168\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeader.Builder getHeaderBuilder() {\\n bitField0_ |= 0x00000001;\\n onChanged();\\n return getHeaderFieldBuilder().getBuilder();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed63f65a45529d69da13e7aa358b8372\",\n \"score\": \"0.6326178\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeader.Builder getHeaderBuilder() {\\n bitField0_ |= 0x00000001;\\n onChanged();\\n return getHeaderFieldBuilder().getBuilder();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed63f65a45529d69da13e7aa358b8372\",\n \"score\": \"0.6326178\",\n \"text\": \"public TfProtoDefMessages.CMsgProtoDefHeader.Builder getHeaderBuilder() {\\n bitField0_ |= 0x00000001;\\n onChanged();\\n return getHeaderFieldBuilder().getBuilder();\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":390,"cells":{"query_id":{"kind":"string","value":"25197b4cf814864ecd440f23b9149cb3"},"query":{"kind":"string","value":"TODO Autogenerated method stub"},"positive_passages":{"kind":"list like","value":[{"docid":"4b493651108f4ef58570af03fb86c2c0","score":"0.0","text":"@Override\n\tpublic void insertComplaint(Complaintdetail complaint) {\n\t\tem.persist(complaint);\n\t\t\n\t}","title":""}],"string":"[\n {\n \"docid\": \"4b493651108f4ef58570af03fb86c2c0\",\n \"score\": \"0.0\",\n \"text\": \"@Override\\n\\tpublic void insertComplaint(Complaintdetail complaint) {\\n\\t\\tem.persist(complaint);\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"b7c706d331e2b507ec0ff8404ad87dc7","score":"0.69742316","text":"@Override\r\n\t\t\tpublic void crispel() {\n\t\t\t\t\r\n\t\t\t}","title":""},{"docid":"76b3966c8e3f64884c4127d1a3df09a8","score":"0.68059677","text":"@Override\r\n\t\t\tpublic void maruti() {\n\t\t\t\t\r\n\t\t\t}","title":""},{"docid":"34b43810a805e0d48661629f62b35f2b","score":"0.6648208","text":"@Override\r\n\tpublic void 위험물회피() {\n\t\t\r\n\t}","title":""},{"docid":"80d20df1cc75d8fa96c12c49a757fc43","score":"0.65278774","text":"@Override\n\tprotected void getExras() {\n\t\t\n\t}","title":""},{"docid":"096eb77080c8c192fe461650f49ca14b","score":"0.65149313","text":"@Override\r\n public void catering() {\r\n\r\n }","title":""},{"docid":"a21047eaafcc2c1ada6326bfbe33e0ad","score":"0.64755934","text":"@Override\r\n public void alquilar() {\n }","title":""},{"docid":"646377f9a04958a6eeea1118fddba04e","score":"0.64358324","text":"@Override\n\tpublic void refuel() {\n\n\t}","title":""},{"docid":"c2f383f280f298416bf45e72c374ecfa","score":"0.6414421","text":"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}","title":""},{"docid":"cc5af39f74474ffdb7b456b8a10d5774","score":"0.6357822","text":"@Override\r\n\tpublic void 길안내() {\n\t\t\r\n\t}","title":""},{"docid":"c18c3127184f8abd7be145ddb9d4c3e6","score":"0.6348844","text":"@Override\r\n\tpublic void 온도내리기() {\n\t\t\r\n\t}","title":""},{"docid":"bde53ee3de9072b04cd122133e6162a1","score":"0.6326172","text":"public void soigner() {\n\t\t\r\n\t}","title":""},{"docid":"fdbf96893589fef5cdd1a8fe92e98938","score":"0.62869394","text":"@Override\n\tpublic void enfria() {\n\n\t}","title":""},{"docid":"9ee6be05232928533401d708d518b6ed","score":"0.62742454","text":"@Override\r\n\t\t\tpublic void enginetype() {\n\t\t\t\t\r\n\t\t\t}","title":""},{"docid":"83c17378086426b4324c4ea8c160e29d","score":"0.626611","text":"@Override\r\n\tpublic void provjeri() {\n\r\n\t}","title":""},{"docid":"556495e35d508ac961dae051dd40b377","score":"0.61844474","text":"@Override\n\tpublic void afficher() {\n\t\t\n\t}","title":""},{"docid":"9da42c54ca8fb8825afce96ad2d2781c","score":"0.61519784","text":"@Override\r\n\tpublic void comenzar() {\n\t\t\r\n\t}","title":""},{"docid":"ce01e16cbc1fc0a29d28a4365b63f79d","score":"0.6131432","text":"@Override\n\tprotected void specialFuntion() {\n\t\t\n\t}","title":""},{"docid":"c387be8fe936bea8d505f3a779d6ba15","score":"0.61139184","text":"@Override\n\tpublic void actualise() {\n\t\t\n\t}","title":""},{"docid":"30c236da9912ee76f7962e7da2c72b59","score":"0.6074856","text":"@Override\n\tpublic void chante() {\n\t\t\n\t}","title":""},{"docid":"7839d9b18f833d7ad1ccae8536c829da","score":"0.605568","text":"@Override\r\n\tpublic void zielone_swiatlo() {\n\t\t\r\n\t}","title":""},{"docid":"f13a29996996a34a710d85285e104a7f","score":"0.6034386","text":"public void mo5201a() {\n }","title":""},{"docid":"90586632a4af36d51003a1554ebef902","score":"0.6030915","text":"public void mo24205Oz() {\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":"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":"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":"0b7a2d4389f8d1afdedab87d2ac4fb96","score":"0.5973926","text":"@Override\n\tprotected void generateData() {\n\t\treturn;\t\t\n\t}","title":""},{"docid":"43f0eb79e8610935222f70ad7a047f4f","score":"0.59676504","text":"protected void Referesh() {\n\t\t\t\r\n\t\t}","title":""},{"docid":"69f727ad790d8c02f9f110fb4190bf05","score":"0.5958382","text":"@Override\r\n\tpublic void 에어백펼치기() {\n\t\t\r\n\t}","title":""},{"docid":"4fd121321f2d50da2f5700be65d017d8","score":"0.59534895","text":"@Override\n\tpublic void filngtonext() {\n\t\t\n\t}","title":""},{"docid":"5289bcfa483e278c4782f4e45b7117eb","score":"0.59168786","text":"@Override\n\tpublic void generer() {\n\t\t\n\t}","title":""},{"docid":"c52abf264dc130278399a6a822295dca","score":"0.5916093","text":"@Override\n\t\t\tpublic void e() {\n\t\t\t\t\n\t\t\t}","title":""},{"docid":"661a589ba018609d85af5ba0fc651d02","score":"0.5909626","text":"@Override\n\t\tprotected void process() {\n\t\t}","title":""},{"docid":"661a589ba018609d85af5ba0fc651d02","score":"0.5909626","text":"@Override\n\t\tprotected void process() {\n\t\t}","title":""},{"docid":"c28afddea09ba99a1adc54b371dabaa1","score":"0.59047043","text":"@Override\r\n\tpublic void 온도높이기() {\n\t\t\r\n\t}","title":""},{"docid":"afad8999ad242028a092a07078328021","score":"0.5886539","text":"public void mo55240a() {\n }","title":""},{"docid":"6827ba40809e6f9bad9a043036edaa04","score":"0.58847684","text":"@Override\r\n\tpublic void dormir() {\n\t}","title":""},{"docid":"6afb1e3a721c7314f12581b77ae35716","score":"0.5883849","text":"@Override\n\tprotected void colisao() {\n\t\t\n\t}","title":""},{"docid":"40a41a107fa03a270a78b03d0bcf910d","score":"0.58717483","text":"private void ergebnisAuswerten() {\n\n\t}","title":""},{"docid":"c5fa2315669c0925b60762f7cca5f0f6","score":"0.58611465","text":"public void mo5203c() {\n }","title":""},{"docid":"a672d2d2a4b7bb037f7f20d62ff1f55e","score":"0.58465064","text":"@Override\n\tpublic void ss() {\n\t\t\n\t}","title":""},{"docid":"fa29da40be3a8b33b07b21fe8e0ba298","score":"0.5842648","text":"@Override\n\tpublic void notity() {\n\t\t\n\t}","title":""},{"docid":"4ff7fd5d2a0aebc561e81557b528262a","score":"0.58340675","text":"@Override\n\tprotected void initialize() {\n\n }","title":""},{"docid":"f323cb003520a5608cea47c5412447e4","score":"0.58295655","text":"@Override\n\t\t\t\tpublic int characteristics() {\n\t\t\t\t\treturn 0;\n\t\t\t\t}","title":""},{"docid":"089be79d90be02605e37d2a48b09e194","score":"0.58192337","text":"@Override\n\tpublic void gril() {\n\n\t}","title":""},{"docid":"b14d9313b224be37257260448fc816d3","score":"0.58025044","text":"@Override\n\tpublic void breathes()\n\t{\n\n\t}","title":""},{"docid":"5783648f118108797828ca2085091ef9","score":"0.57931334","text":"@Override\n protected void initialize() {\n \n }","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":"630b43215e2b87f8b2bd389cae71f8a6","score":"0.5789139","text":"@Override\n\tprotected void dataAcquisition() {\n\t}","title":""},{"docid":"54b1134554bc066c34ed30a72adb660c","score":"0.5788234","text":"@Override\n\tprotected void initData() {\n\n\t}","title":""},{"docid":"54b1134554bc066c34ed30a72adb660c","score":"0.5788234","text":"@Override\n\tprotected void initData() {\n\n\t}","title":""},{"docid":"54b1134554bc066c34ed30a72adb660c","score":"0.5788234","text":"@Override\n\tprotected void initData() {\n\n\t}","title":""},{"docid":"54b1134554bc066c34ed30a72adb660c","score":"0.5788234","text":"@Override\n\tprotected void initData() {\n\n\t}","title":""},{"docid":"79a702a1409937a9a2dd8f8167323190","score":"0.5784611","text":"@Override\n\tvoid promocja() {\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":"86ca2b6b7e0174532c4a1f8a4dec7946","score":"0.577024","text":"@Override\r\n\tpublic void 주차보조() {\n\t\t\r\n\t}","title":""},{"docid":"e74841359f2b616460c1fcf1e3e0b696","score":"0.57600427","text":"@Override\n\tpublic void Oeffne_Schadenanlage() {\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":"ebfe1bb4dd1c0618c0fad36d9f7674b4","score":"0.57514423","text":"@Override\n protected void initialize() {\n\n }","title":""},{"docid":"a8b768dae1b52549249069e4d6a9253f","score":"0.5750039","text":"@Override\n public int getType() {\n return 0;\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":"f98329c4ce112f2ebcf93e4b478576a0","score":"0.5745665","text":"@Override\r\n\tpublic void work4() {\n\t\t\r\n\t}","title":""},{"docid":"6cfde2be0b51f55a421cdc3e28609c66","score":"0.57384264","text":"@Override\n\tprotected void salario() {\n\t\t\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":"f5fd4f1b89ecbb54b8b64a1b9e40552c","score":"0.5733982","text":"protected void mo7431b() {\n }","title":""},{"docid":"3fb97b46c147b19f8180197325c66d34","score":"0.5722489","text":"@Override\n public void quite() {\n }","title":""},{"docid":"f448e47f2da25727e964a3718545f012","score":"0.5718643","text":"public final void mo93547c() {\n }","title":""},{"docid":"9a26c4906f8195084e9ec158504cab47","score":"0.571633","text":"@Override\n public void init() {\n \n }","title":""},{"docid":"0fc890bce2cd6e7184e33036b92f8217","score":"0.5714686","text":"public void mo55254a() {\n }","title":""},{"docid":"d7c48eb628caa38ca564de355edb7e6e","score":"0.5709367","text":"@Override\n public int getType() {\n return 1;\n }","title":""},{"docid":"593053b99bc5abca6d010d9e21a31e6b","score":"0.570741","text":"@Override\r\n\tpublic void 자율주행하기() {\n\t\t\r\n\t}","title":""},{"docid":"28872bba7a5c17cad13c73f21624cabc","score":"0.57049847","text":"@Override\n\tpublic void CreateRs() {\n\t\t\n\t}","title":""},{"docid":"8e056894cd061aea767d71a9c1b43d97","score":"0.5701457","text":"@Override\n\tpublic void init(){\n\t}","title":""},{"docid":"2102a3691307d06f0d2ee35d192fccc6","score":"0.57008916","text":"protected Encontro() {\n\t}","title":""},{"docid":"e8f6ecd3f06f1f0e76ca511991b76265","score":"0.5697829","text":"protected void defesa(){}","title":""},{"docid":"39132efb6b42f8ec625d96ff6226d80b","score":"0.5696396","text":"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}","title":""},{"docid":"09b27558b293ecd91a8d2d3a705d8a37","score":"0.5676146","text":"@Override\n\t\t\tpublic void c() {\n\t\t\t\t\n\t\t\t}","title":""},{"docid":"c937f9289f415cfdd7aefc5d621d0867","score":"0.567194","text":"@Override\n protected void inicializar() {\n }","title":""},{"docid":"75e13fc47dcc1e84b4615e5de4d4c091","score":"0.56708115","text":"@Override\n public String getName() {\n return null;\n }","title":""},{"docid":"b6c641fa6ba40a5b14cc33cb07aa0671","score":"0.5669723","text":"@Override\n\tprotected void initData() {\n\t}","title":""},{"docid":"81488a3212e9004be8808ba15e91f1a5","score":"0.56636477","text":"public final void mo93546b() {\n }","title":""},{"docid":"1b6ae1f9acb8e538994b7d00bae50317","score":"0.5662892","text":"@Override\n\tprotected void skirmish() {\n\n\t}","title":""},{"docid":"da07444f023c4f45aa766ef285cccf1c","score":"0.56608945","text":"@Override\n\tpublic void 吃斋() {\n\n\t}","title":""},{"docid":"9f6aa437b415b967faa876e403ae9f7b","score":"0.5658635","text":"@Override\n\t\t\tpublic boolean esTorre() {\n\t\t\t\treturn false;\n\t\t\t}","title":""},{"docid":"9f6aa437b415b967faa876e403ae9f7b","score":"0.5658635","text":"@Override\n\t\t\tpublic boolean esTorre() {\n\t\t\t\treturn false;\n\t\t\t}","title":""},{"docid":"9f6aa437b415b967faa876e403ae9f7b","score":"0.5658635","text":"@Override\n\t\t\tpublic boolean esTorre() {\n\t\t\t\treturn false;\n\t\t\t}","title":""},{"docid":"9f6aa437b415b967faa876e403ae9f7b","score":"0.5658635","text":"@Override\n\t\t\tpublic boolean esTorre() {\n\t\t\t\treturn false;\n\t\t\t}","title":""},{"docid":"9f6aa437b415b967faa876e403ae9f7b","score":"0.5658635","text":"@Override\n\t\t\tpublic boolean esTorre() {\n\t\t\t\treturn false;\n\t\t\t}","title":""}],"string":"[\n {\n \"docid\": \"b7c706d331e2b507ec0ff8404ad87dc7\",\n \"score\": \"0.69742316\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void crispel() {\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"76b3966c8e3f64884c4127d1a3df09a8\",\n \"score\": \"0.68059677\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void maruti() {\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"34b43810a805e0d48661629f62b35f2b\",\n \"score\": \"0.6648208\",\n \"text\": \"@Override\\r\\n\\tpublic void 위험물회피() {\\n\\t\\t\\r\\n\\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\": \"096eb77080c8c192fe461650f49ca14b\",\n \"score\": \"0.65149313\",\n \"text\": \"@Override\\r\\n public void catering() {\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a21047eaafcc2c1ada6326bfbe33e0ad\",\n \"score\": \"0.64755934\",\n \"text\": \"@Override\\r\\n public void alquilar() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"646377f9a04958a6eeea1118fddba04e\",\n \"score\": \"0.64358324\",\n \"text\": \"@Override\\n\\tpublic void refuel() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c2f383f280f298416bf45e72c374ecfa\",\n \"score\": \"0.6414421\",\n \"text\": \"@Override\\r\\n\\tpublic void anularFact() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cc5af39f74474ffdb7b456b8a10d5774\",\n \"score\": \"0.6357822\",\n \"text\": \"@Override\\r\\n\\tpublic void 길안내() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c18c3127184f8abd7be145ddb9d4c3e6\",\n \"score\": \"0.6348844\",\n \"text\": \"@Override\\r\\n\\tpublic void 온도내리기() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bde53ee3de9072b04cd122133e6162a1\",\n \"score\": \"0.6326172\",\n \"text\": \"public void soigner() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fdbf96893589fef5cdd1a8fe92e98938\",\n \"score\": \"0.62869394\",\n \"text\": \"@Override\\n\\tpublic void enfria() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9ee6be05232928533401d708d518b6ed\",\n \"score\": \"0.62742454\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic void enginetype() {\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"83c17378086426b4324c4ea8c160e29d\",\n \"score\": \"0.626611\",\n \"text\": \"@Override\\r\\n\\tpublic void provjeri() {\\n\\r\\n\\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\": \"9da42c54ca8fb8825afce96ad2d2781c\",\n \"score\": \"0.61519784\",\n \"text\": \"@Override\\r\\n\\tpublic void comenzar() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ce01e16cbc1fc0a29d28a4365b63f79d\",\n \"score\": \"0.6131432\",\n \"text\": \"@Override\\n\\tprotected void specialFuntion() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c387be8fe936bea8d505f3a779d6ba15\",\n \"score\": \"0.61139184\",\n \"text\": \"@Override\\n\\tpublic void actualise() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"30c236da9912ee76f7962e7da2c72b59\",\n \"score\": \"0.6074856\",\n \"text\": \"@Override\\n\\tpublic void chante() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7839d9b18f833d7ad1ccae8536c829da\",\n \"score\": \"0.605568\",\n \"text\": \"@Override\\r\\n\\tpublic void zielone_swiatlo() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f13a29996996a34a710d85285e104a7f\",\n \"score\": \"0.6034386\",\n \"text\": \"public void mo5201a() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"90586632a4af36d51003a1554ebef902\",\n \"score\": \"0.6030915\",\n \"text\": \"public void mo24205Oz() {\\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\": \"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\": \"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\": \"0b7a2d4389f8d1afdedab87d2ac4fb96\",\n \"score\": \"0.5973926\",\n \"text\": \"@Override\\n\\tprotected void generateData() {\\n\\t\\treturn;\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"43f0eb79e8610935222f70ad7a047f4f\",\n \"score\": \"0.59676504\",\n \"text\": \"protected void Referesh() {\\n\\t\\t\\t\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"69f727ad790d8c02f9f110fb4190bf05\",\n \"score\": \"0.5958382\",\n \"text\": \"@Override\\r\\n\\tpublic void 에어백펼치기() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4fd121321f2d50da2f5700be65d017d8\",\n \"score\": \"0.59534895\",\n \"text\": \"@Override\\n\\tpublic void filngtonext() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5289bcfa483e278c4782f4e45b7117eb\",\n \"score\": \"0.59168786\",\n \"text\": \"@Override\\n\\tpublic void generer() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c52abf264dc130278399a6a822295dca\",\n \"score\": \"0.5916093\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void e() {\\n\\t\\t\\t\\t\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"661a589ba018609d85af5ba0fc651d02\",\n \"score\": \"0.5909626\",\n \"text\": \"@Override\\n\\t\\tprotected void process() {\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"661a589ba018609d85af5ba0fc651d02\",\n \"score\": \"0.5909626\",\n \"text\": \"@Override\\n\\t\\tprotected void process() {\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c28afddea09ba99a1adc54b371dabaa1\",\n \"score\": \"0.59047043\",\n \"text\": \"@Override\\r\\n\\tpublic void 온도높이기() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"afad8999ad242028a092a07078328021\",\n \"score\": \"0.5886539\",\n \"text\": \"public void mo55240a() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6827ba40809e6f9bad9a043036edaa04\",\n \"score\": \"0.58847684\",\n \"text\": \"@Override\\r\\n\\tpublic void dormir() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6afb1e3a721c7314f12581b77ae35716\",\n \"score\": \"0.5883849\",\n \"text\": \"@Override\\n\\tprotected void colisao() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"40a41a107fa03a270a78b03d0bcf910d\",\n \"score\": \"0.58717483\",\n \"text\": \"private void ergebnisAuswerten() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c5fa2315669c0925b60762f7cca5f0f6\",\n \"score\": \"0.58611465\",\n \"text\": \"public void mo5203c() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a672d2d2a4b7bb037f7f20d62ff1f55e\",\n \"score\": \"0.58465064\",\n \"text\": \"@Override\\n\\tpublic void ss() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fa29da40be3a8b33b07b21fe8e0ba298\",\n \"score\": \"0.5842648\",\n \"text\": \"@Override\\n\\tpublic void notity() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4ff7fd5d2a0aebc561e81557b528262a\",\n \"score\": \"0.58340675\",\n \"text\": \"@Override\\n\\tprotected void initialize() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f323cb003520a5608cea47c5412447e4\",\n \"score\": \"0.58295655\",\n \"text\": \"@Override\\n\\t\\t\\t\\tpublic int characteristics() {\\n\\t\\t\\t\\t\\treturn 0;\\n\\t\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"089be79d90be02605e37d2a48b09e194\",\n \"score\": \"0.58192337\",\n \"text\": \"@Override\\n\\tpublic void gril() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b14d9313b224be37257260448fc816d3\",\n \"score\": \"0.58025044\",\n \"text\": \"@Override\\n\\tpublic void breathes()\\n\\t{\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5783648f118108797828ca2085091ef9\",\n \"score\": \"0.57931334\",\n \"text\": \"@Override\\n protected void initialize() {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ce91051d32625345f2bf3562abbb93de\",\n \"score\": \"0.5791661\",\n \"text\": \"@Override\\n\\tprotected void inicializar() {\\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\": \"630b43215e2b87f8b2bd389cae71f8a6\",\n \"score\": \"0.5789139\",\n \"text\": \"@Override\\n\\tprotected void dataAcquisition() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54b1134554bc066c34ed30a72adb660c\",\n \"score\": \"0.5788234\",\n \"text\": \"@Override\\n\\tprotected void initData() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54b1134554bc066c34ed30a72adb660c\",\n \"score\": \"0.5788234\",\n \"text\": \"@Override\\n\\tprotected void initData() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54b1134554bc066c34ed30a72adb660c\",\n \"score\": \"0.5788234\",\n \"text\": \"@Override\\n\\tprotected void initData() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54b1134554bc066c34ed30a72adb660c\",\n \"score\": \"0.5788234\",\n \"text\": \"@Override\\n\\tprotected void initData() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"79a702a1409937a9a2dd8f8167323190\",\n \"score\": \"0.5784611\",\n \"text\": \"@Override\\n\\tvoid promocja() {\\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\": \"86ca2b6b7e0174532c4a1f8a4dec7946\",\n \"score\": \"0.577024\",\n \"text\": \"@Override\\r\\n\\tpublic void 주차보조() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e74841359f2b616460c1fcf1e3e0b696\",\n \"score\": \"0.57600427\",\n \"text\": \"@Override\\n\\tpublic void Oeffne_Schadenanlage() {\\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\": \"ebfe1bb4dd1c0618c0fad36d9f7674b4\",\n \"score\": \"0.57514423\",\n \"text\": \"@Override\\n protected void initialize() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a8b768dae1b52549249069e4d6a9253f\",\n \"score\": \"0.5750039\",\n \"text\": \"@Override\\n public int getType() {\\n return 0;\\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\": \"f98329c4ce112f2ebcf93e4b478576a0\",\n \"score\": \"0.5745665\",\n \"text\": \"@Override\\r\\n\\tpublic void work4() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6cfde2be0b51f55a421cdc3e28609c66\",\n \"score\": \"0.57384264\",\n \"text\": \"@Override\\n\\tprotected void salario() {\\n\\t\\t\\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\": \"f5fd4f1b89ecbb54b8b64a1b9e40552c\",\n \"score\": \"0.5733982\",\n \"text\": \"protected void mo7431b() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3fb97b46c147b19f8180197325c66d34\",\n \"score\": \"0.5722489\",\n \"text\": \"@Override\\n public void quite() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f448e47f2da25727e964a3718545f012\",\n \"score\": \"0.5718643\",\n \"text\": \"public final void mo93547c() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a26c4906f8195084e9ec158504cab47\",\n \"score\": \"0.571633\",\n \"text\": \"@Override\\n public void init() {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0fc890bce2cd6e7184e33036b92f8217\",\n \"score\": \"0.5714686\",\n \"text\": \"public void mo55254a() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d7c48eb628caa38ca564de355edb7e6e\",\n \"score\": \"0.5709367\",\n \"text\": \"@Override\\n public int getType() {\\n return 1;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"593053b99bc5abca6d010d9e21a31e6b\",\n \"score\": \"0.570741\",\n \"text\": \"@Override\\r\\n\\tpublic void 자율주행하기() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"28872bba7a5c17cad13c73f21624cabc\",\n \"score\": \"0.57049847\",\n \"text\": \"@Override\\n\\tpublic void CreateRs() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8e056894cd061aea767d71a9c1b43d97\",\n \"score\": \"0.5701457\",\n \"text\": \"@Override\\n\\tpublic void init(){\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2102a3691307d06f0d2ee35d192fccc6\",\n \"score\": \"0.57008916\",\n \"text\": \"protected Encontro() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e8f6ecd3f06f1f0e76ca511991b76265\",\n \"score\": \"0.5697829\",\n \"text\": \"protected void defesa(){}\",\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\": \"09b27558b293ecd91a8d2d3a705d8a37\",\n \"score\": \"0.5676146\",\n \"text\": \"@Override\\n\\t\\t\\tpublic void c() {\\n\\t\\t\\t\\t\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c937f9289f415cfdd7aefc5d621d0867\",\n \"score\": \"0.567194\",\n \"text\": \"@Override\\n protected void inicializar() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75e13fc47dcc1e84b4615e5de4d4c091\",\n \"score\": \"0.56708115\",\n \"text\": \"@Override\\n public String getName() {\\n return null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b6c641fa6ba40a5b14cc33cb07aa0671\",\n \"score\": \"0.5669723\",\n \"text\": \"@Override\\n\\tprotected void initData() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"81488a3212e9004be8808ba15e91f1a5\",\n \"score\": \"0.56636477\",\n \"text\": \"public final void mo93546b() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1b6ae1f9acb8e538994b7d00bae50317\",\n \"score\": \"0.5662892\",\n \"text\": \"@Override\\n\\tprotected void skirmish() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da07444f023c4f45aa766ef285cccf1c\",\n \"score\": \"0.56608945\",\n \"text\": \"@Override\\n\\tpublic void 吃斋() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9f6aa437b415b967faa876e403ae9f7b\",\n \"score\": \"0.5658635\",\n \"text\": \"@Override\\n\\t\\t\\tpublic boolean esTorre() {\\n\\t\\t\\t\\treturn false;\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9f6aa437b415b967faa876e403ae9f7b\",\n \"score\": \"0.5658635\",\n \"text\": \"@Override\\n\\t\\t\\tpublic boolean esTorre() {\\n\\t\\t\\t\\treturn false;\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9f6aa437b415b967faa876e403ae9f7b\",\n \"score\": \"0.5658635\",\n \"text\": \"@Override\\n\\t\\t\\tpublic boolean esTorre() {\\n\\t\\t\\t\\treturn false;\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9f6aa437b415b967faa876e403ae9f7b\",\n \"score\": \"0.5658635\",\n \"text\": \"@Override\\n\\t\\t\\tpublic boolean esTorre() {\\n\\t\\t\\t\\treturn false;\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9f6aa437b415b967faa876e403ae9f7b\",\n \"score\": \"0.5658635\",\n \"text\": \"@Override\\n\\t\\t\\tpublic boolean esTorre() {\\n\\t\\t\\t\\treturn false;\\n\\t\\t\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":391,"cells":{"query_id":{"kind":"string","value":"27882d4ce844f85ff9446921c8bc1089"},"query":{"kind":"string","value":"Create and set up a grid bag constraint with the values given."},"positive_passages":{"kind":"list like","value":[{"docid":"d167bac5d66d99685633004bc27ae159","score":"0.5341002","text":"private GridBagConstraints getConstraints (int x, int y, int width, int height, int fill,\n\t\t\t int anchor, double weightX, double weightY){\n\t\t\tGridBagConstraints c = new GridBagConstraints ();\n\t\t\tc.gridx \t= x;\n\t\t\tc.gridy \t= y;\n\t\t\tc.gridwidth = width;\n\t\t\tc.gridheight = height;\n\t\t\tc.fill \t\t= fill;\n\t\t\tc.anchor \t= anchor;\n\t\t\tc.weightx\t= weightX;\n\t\t\tc.weighty \t= weightY;\n\t\t\treturn c;\n\t\t}","title":""}],"string":"[\n {\n \"docid\": \"d167bac5d66d99685633004bc27ae159\",\n \"score\": \"0.5341002\",\n \"text\": \"private GridBagConstraints getConstraints (int x, int y, int width, int height, int fill,\\n\\t\\t\\t int anchor, double weightX, double weightY){\\n\\t\\t\\tGridBagConstraints c = new GridBagConstraints ();\\n\\t\\t\\tc.gridx \\t= x;\\n\\t\\t\\tc.gridy \\t= y;\\n\\t\\t\\tc.gridwidth = width;\\n\\t\\t\\tc.gridheight = height;\\n\\t\\t\\tc.fill \\t\\t= fill;\\n\\t\\t\\tc.anchor \\t= anchor;\\n\\t\\t\\tc.weightx\\t= weightX;\\n\\t\\t\\tc.weighty \\t= weightY;\\n\\t\\t\\treturn c;\\n\\t\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"d27b5feb9b514a685a4146b341639bec","score":"0.604428","text":"public default void setConstraints(GridPane gridpane,int columnCount,int rowCount,int vGap,int hGap,String cssTag) {\n\t\tif(vGap != 0) {gridpane.setVgap(vGap);}\n\t\tif(hGap != 0) {gridpane.setHgap(hGap);}\n\t\tList columns = new ArrayList<>();\n\t\tint columnNum = 0;\n\t\twhile(columnNum < columnCount) {\n\t\t\tColumnConstraints newColumn = new ColumnConstraints();\n\t\t\tnewColumn.setPercentWidth(100/columnCount);\n\t\t\tcolumns.add(newColumn);\n\t\t\tcolumnNum = columnNum+1;\n\t\t}\n\t\tfor(ColumnConstraints column: columns) {\n\t\t\tgridpane.getColumnConstraints().add(column);\n\t\t}\n\t\t\n\t\tList rows = new ArrayList<>();\n\t\tint rowNum = 0;\n\t\twhile(rowNum < rowCount) {\n\t\t\tRowConstraints newRow = new RowConstraints();\n\t\t\tnewRow.setPercentHeight(100/rowCount);\n\t\t\trows.add(newRow);\n\t\t\trowNum = rowNum+1;\n\t\t}\n\t\tfor(RowConstraints row: rows) {\n\t\t\tgridpane.getRowConstraints().add(row);\n\t\t}\n\t\tgridpane.getStyleClass().add(cssTag);\n\t}","title":""},{"docid":"9e3d205ff8b0988f9bd4d0f68f2d57a4","score":"0.58780694","text":"public CellConstraints createCellConstraints();","title":""},{"docid":"f40fc224c2c2a7a1ff4cee63c6cd97a0","score":"0.5660984","text":"private Object Constraint(int i, int j, double d, double k, int horizontal) {\n\t\tGridBagConstraints c = new GridBagConstraints();\n\t\tc.gridx = i;\n\t\tc.gridy = j;\n\t\tc.weightx = d;\n\t\tc.weighty = k;\n\t\tc.fill = horizontal;\n\t\treturn c;\n\t}","title":""},{"docid":"04e6f2b70bd856d430095395b50ab830","score":"0.545238","text":"void addConstraint(List cs);","title":""},{"docid":"edc3b198eb8c395870c36ebbe03bebde","score":"0.5372047","text":"@Test\r\n\tpublic void testECCORE_LLG1_ConstraintGeneration() throws Exception\r\n\t{\r\n\t\tIloCplex cplexSolver = new IloCplex();\r\n\t\tList items = new LinkedList();\r\n\t\titems.add(1);\r\n\t\titems.add(2);\r\n\t\t\r\n\t\tdouble marginalValueL1 = 0.1;\r\n\t\tdouble marginalValueL2 = 0.2;\r\n\t\tdouble marginalValueG = 0.4;\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tList bundle = new LinkedList();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValueL1);\r\n\t\tCombinatorialType t1 = new CombinatorialType();\r\n\t\tt1.addAtomicBid(atom11);\r\n\r\n\t\t//Local bidder\r\n\t\tbundle = new LinkedList();\r\n\t\tbundle.add( items.get(1) );\r\n\t\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValueL2);\r\n\t\tCombinatorialType t2 = new CombinatorialType();\r\n\t\tt2.addAtomicBid(atom21);\r\n\t\t\r\n\t\t//Global bidder\r\n\t\tbundle = new LinkedList();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tbundle.add( items.get(1) );\r\n\t\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValueG);\r\n\t\tCombinatorialType t3 = new CombinatorialType();\r\n\t\tt3.addAtomicBid(atom31);\r\n\t\t\r\n\t\tList bids = new LinkedList();\r\n\t\tbids.add(t1);\r\n\t\tbids.add(t2);\r\n\t\tbids.add(t3);\r\n\t\t\r\n\t\tList costs = new LinkedList();\r\n\t\tcosts.add(0.05);\r\n\t\tcosts.add(0.1);\r\n\t\t\r\n\t\tGridGenerator generator = new GridGenerator(1, 2);\r\n\t\tgenerator.setSeed(0);\r\n\t\tgenerator.buildProximityGraph();\r\n\t\tGraph grid = generator.getGrid();\r\n\t\t\r\n\t\tassertTrue(grid.getVertices().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\r\n\t\t\r\n\t\tdouble primaryReductionCoef = 0.3;\r\n\t\tdouble secondaryReductionCoef = 0.2;\r\n\t\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\r\n\t\tjpmf.setNumberOfSamples(1000000);\r\n\t\tjpmf.setNumberOfBombsToThrow(1);\r\n\t\t\r\n\t\tIBombingStrategy b = new FocusedBombingStrategy(grid, 1., primaryReductionCoef, secondaryReductionCoef);\r\n\t\tList bombs = new LinkedList();\r\n\t\tbombs.add(b);\r\n\t\t\r\n\t\tList pd = new LinkedList();\r\n\t\tpd.add(1.);\r\n\t\t\r\n\t\tjpmf.setBombs(bombs, pd);\r\n\t\tjpmf.update();\r\n\t\t\r\n\t\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\r\n\t\tauction.setSolver(cplexSolver);\r\n\t\tauction.setPaymentRule(\"EC-CORE\");\r\n\t\tauction.setSeed(0);\r\n\t\ttry\r\n\t\t{\r\n\t\t\tauction.solveIt();\r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\tif( e.getMessage().equals(\"VCG is in the Core\") )\r\n\t\t\t{\r\n\t\t\t\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\r\n\t\t\t\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\r\n\t\t\t\t//System.out.println(\"Test sw = \" + allocation.getExpectedWelfare() );\r\n\t\t\t\tassertTrue( allocation.getBiddersInvolved(0).size() == 1 );\r\n\t\t\t\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.175 ) < 1e-4);\r\n\t\t\t\t\r\n\t\t\t\t//Get allocated buyers involved in the trade \r\n\t\t\t\tassertTrue( allocation.getBiddersInvolved(0).size() == 1);\r\n\t\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 3 );\r\n\t\t\t\t\r\n\t\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 1 );\r\n\t\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\r\n\t\t\t\t\r\n\t\t\t\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6) );\r\n\t\t\t\t\r\n\t\t\t\tdouble[] payments = auction.getPayments();\r\n\t\t\t\tassertTrue( payments.length == 1);\r\n\t\t\t\t\r\n\t\t\t\t//System.out.println(\"payments[0]=\"+payments[0] + \" payments[1]=\" + payments[1]);\r\n\t\t\t\t//System.out.println(\">> \" + allocation.getRealizedRV(0, 0) + \" p[0]=\"+payments[0] + \" p[1]=\"+payments[1]);\r\n\t\t\t\tif( allocation.getRealizedRV(0, 0) == 0.7 )\r\n\t\t\t\t{\r\n\t\t\t\t\tassertTrue( Math.abs(payments[0] - 0.2175) < 1e-4 );\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tassertTrue( allocation.isAllocated(0) );\r\n\t\t\t\tassertTrue( !allocation.isAllocated(1) );\r\n\t\t\t\tassertTrue( !allocation.isAllocated(2) );\r\n\t\t\t\tassertTrue( allocation.isAllocated(3) );\r\n\t\t\t\treturn;\r\n\t\t\t}\t\r\n\t\t}\r\n\t\tassertTrue(false); \t//PaymentException must be thrown\r\n\t}","title":""},{"docid":"f522dc1c3609b0e42ca32e95cc38c4a7","score":"0.53051937","text":"private void initialize() {\n\t\tGridBagConstraints gridBagConstraints81 = new GridBagConstraints();\n\t\tgridBagConstraints81.gridx = 1;\n\t\tgridBagConstraints81.weighty = 1.0D;\n\t\tgridBagConstraints81.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints81.gridy = 11;\n\t\tGridBagConstraints gridBagConstraints10 = new GridBagConstraints();\n\t\tgridBagConstraints10.gridx = 1;\n\t\tgridBagConstraints10.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints10.gridy = 9;\n\t\tGridBagConstraints gridBagConstraints9 = new GridBagConstraints();\n\t\tgridBagConstraints9.gridx = 0;\n\t\tgridBagConstraints9.insets = new Insets(5, 10, 0, 0);\n\t\tgridBagConstraints9.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints9.gridy = 9;\n\t\tlblPossibilityDriverHasCar = new JLabel();\n\t\tlblPossibilityDriverHasCar.setText(\"Possibility driver has car:\");\n\t\tGridBagConstraints gridBagConstraints8 = new GridBagConstraints();\n\t\tgridBagConstraints8.gridx = 1;\n\t\tgridBagConstraints8.anchor = GridBagConstraints.NORTHWEST;\n\t\tgridBagConstraints8.gridy = 10;\n\t\tGridBagConstraints gridBagConstraints71 = new GridBagConstraints();\n\t\tgridBagConstraints71.gridx = 1;\n\t\tgridBagConstraints71.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints71.gridy = 8;\n\t\tGridBagConstraints gridBagConstraints6 = new GridBagConstraints();\n\t\tgridBagConstraints6.gridx = 1;\n\t\tgridBagConstraints6.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints6.gridy = 7;\n\t\tGridBagConstraints gridBagConstraints51 = new GridBagConstraints();\n\t\tgridBagConstraints51.gridx = 1;\n\t\tgridBagConstraints51.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints51.gridy = 6;\n\t\tGridBagConstraints gridBagConstraints4 = new GridBagConstraints();\n\t\tgridBagConstraints4.gridx = 0;\n\t\tgridBagConstraints4.insets = new Insets(5, 10, 0, 0);\n\t\tgridBagConstraints4.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints4.gridy = 10;\n\t\tlblPossibilityAdultHasJob = new JLabel();\n\t\tlblPossibilityAdultHasJob.setText(\"Possibility adult has job:\");\n\t\tGridBagConstraints gridBagConstraints32 = new GridBagConstraints();\n\t\tgridBagConstraints32.gridx = 0;\n\t\tgridBagConstraints32.insets = new Insets(5, 10, 0, 0);\n\t\tgridBagConstraints32.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints32.gridy = 8;\n\t\tlblPossibilityAdultIsDriver = new JLabel();\n\t\tlblPossibilityAdultIsDriver.setText(\"Possibility adult is driver:\");\n\t\tGridBagConstraints gridBagConstraints21 = new GridBagConstraints();\n\t\tgridBagConstraints21.gridx = 0;\n\t\tgridBagConstraints21.insets = new Insets(5, 10, 0, 10);\n\t\tgridBagConstraints21.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints21.gridy = 7;\n\t\tlblAverageChildrenPerHouse = new JLabel();\n\t\tlblAverageChildrenPerHouse.setText(\"Average children per house:\");\n\t\tGridBagConstraints gridBagConstraints13 = new GridBagConstraints();\n\t\tgridBagConstraints13.gridx = 0;\n\t\tgridBagConstraints13.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints13.insets = new Insets(5, 10, 0, 0);\n\t\tgridBagConstraints13.gridy = 6;\n\t\tlblAverageAdultsPerHouse = new JLabel();\n\t\tlblAverageAdultsPerHouse.setText(\"Average adults per house:\");\n\t\tGridBagConstraints gridBagConstraints31 = new GridBagConstraints();\n\t\tgridBagConstraints31.gridx = 0;\n\t\tgridBagConstraints31.insets = new Insets(5, 0, 5, 10);\n\t\tgridBagConstraints31.anchor = GridBagConstraints.NORTH;\n\t\tgridBagConstraints31.fill = GridBagConstraints.NONE;\n\t\tgridBagConstraints31.gridwidth = 2;\n\t\tgridBagConstraints31.gridy = 4;\n\t\tGridBagConstraints gridBagConstraints2 = new GridBagConstraints();\n\t\tgridBagConstraints2.gridx = 0;\n\t\tgridBagConstraints2.insets = new Insets(5, 0, 5, 10);\n\t\tgridBagConstraints2.anchor = GridBagConstraints.NORTH;\n\t\tgridBagConstraints2.fill = GridBagConstraints.NONE;\n\t\tgridBagConstraints2.gridwidth = 2;\n\t\tgridBagConstraints2.gridy = 2;\n\t\tGridBagConstraints gridBagConstraints5 = new GridBagConstraints();\n\t\tgridBagConstraints5.gridx = 1;\n\t\tgridBagConstraints5.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints5.gridy = 3;\n\t\tGridBagConstraints gridBagConstraints41 = new GridBagConstraints();\n\t\tgridBagConstraints41.gridx = 1;\n\t\tgridBagConstraints41.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints41.gridy = 1;\n\t\tGridBagConstraints gridBagConstraints12 = new GridBagConstraints();\n\t\tgridBagConstraints12.gridx = 1;\n\t\tgridBagConstraints12.anchor = GridBagConstraints.NORTH;\n\t\tgridBagConstraints12.fill = GridBagConstraints.HORIZONTAL;\n\t\tgridBagConstraints12.insets = new Insets(0, 0, 0, 10);\n\t\tgridBagConstraints12.gridy = 5;\n\t\tGridBagConstraints gridBagConstraints3 = new GridBagConstraints();\n\t\tgridBagConstraints3.gridx = 0;\n\t\tgridBagConstraints3.insets = new Insets(0, 10, 0, 5);\n\t\tgridBagConstraints3.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints3.gridy = 3;\n\t\tlblWorkPositions = new JLabel();\n\t\tlblWorkPositions.setText(\"Work positions:\");\n\t\tGridBagConstraints gridBagConstraints11 = new GridBagConstraints();\n\t\tgridBagConstraints11.gridx = 0;\n\t\tgridBagConstraints11.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints11.insets = new Insets(0, 10, 0, 0);\n\t\tgridBagConstraints11.gridy = 1;\n\t\tlblPopulation = new JLabel();\n\t\tlblPopulation.setText(\"Population:\");\n\t\tGridBagConstraints gridBagConstraints7 = new GridBagConstraints();\n\t\tgridBagConstraints7.gridx = 0;\n\t\tgridBagConstraints7.weighty = 0.0D;\n\t\tgridBagConstraints7.anchor = GridBagConstraints.NORTHWEST;\n\t\tgridBagConstraints7.insets = new Insets(0, 10, 0, 0);\n\t\tgridBagConstraints7.gridy = 5;\n\t\tlblColorTitle = new JLabel();\n\t\tlblColorTitle.setText(\"Color:\");\n\t\tGridBagConstraints gridBagConstraints1 = new GridBagConstraints();\n\t\tgridBagConstraints1.fill = GridBagConstraints.HORIZONTAL;\n\t\tgridBagConstraints1.gridy = 0;\n\t\tgridBagConstraints1.weightx = 1.0;\n\t\tgridBagConstraints1.insets = new Insets(10, 0, 0, 10);\n\t\tgridBagConstraints1.gridx = 1;\n\t\tGridBagConstraints gridBagConstraints = new GridBagConstraints();\n\t\tgridBagConstraints.gridx = 0;\n\t\tgridBagConstraints.insets = new Insets(10, 10, 0, 0);\n\t\tgridBagConstraints.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints.gridy = 0;\n\t\tlblNameTitle = new JLabel();\n\t\tlblNameTitle.setText(\"Name:\");\n\t\tthis.setSize(351, 280);\n\t\tthis.setLayout(new GridBagLayout());\n\t\tthis.add(lblNameTitle, gridBagConstraints);\n\t\tthis.add(getTxtName(), gridBagConstraints1);\n\t\tthis.add(lblColorTitle, gridBagConstraints7);\n\t\tthis.add(lblPopulation, gridBagConstraints11);\n\t\tthis.add(lblWorkPositions, gridBagConstraints3);\n\t\tthis.add(getBtnChangeColor(), gridBagConstraints12);\n\t\tthis.add(getSpnPopulation(), gridBagConstraints41);\n\t\tthis.add(getSpnWorkPositions(), gridBagConstraints5);\n\t\tthis.add(getBtnResidentJobs(), gridBagConstraints2);\n\t\tthis.add(getBtnWorkerJobs(), gridBagConstraints31);\n\t\tthis.add(lblAverageAdultsPerHouse, gridBagConstraints13);\n\t\tthis.add(lblAverageChildrenPerHouse, gridBagConstraints21);\n\t\tthis.add(lblPossibilityAdultIsDriver, gridBagConstraints32);\n\t\tthis.add(lblPossibilityAdultHasJob, gridBagConstraints4);\n\t\tthis.add(getSpnAverageAdultsPerHouse(), gridBagConstraints51);\n\t\tthis.add(getSpnAverageChildrenPerHouse(), gridBagConstraints6);\n\t\tthis.add(getSpnPossibilityAdultIsDriver(), gridBagConstraints71);\n\t\tthis.add(getSpnPossibilityAdultHasJob(), gridBagConstraints8);\n\t\tthis.add(lblPossibilityDriverHasCar, gridBagConstraints9);\n\t\tthis.add(getSpnPossibilityDriverHasCar(), gridBagConstraints10);\n\t\tthis.add(getChkEnabled(), gridBagConstraints81);\n\t}","title":""},{"docid":"f522dc1c3609b0e42ca32e95cc38c4a7","score":"0.53051937","text":"private void initialize() {\n\t\tGridBagConstraints gridBagConstraints81 = new GridBagConstraints();\n\t\tgridBagConstraints81.gridx = 1;\n\t\tgridBagConstraints81.weighty = 1.0D;\n\t\tgridBagConstraints81.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints81.gridy = 11;\n\t\tGridBagConstraints gridBagConstraints10 = new GridBagConstraints();\n\t\tgridBagConstraints10.gridx = 1;\n\t\tgridBagConstraints10.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints10.gridy = 9;\n\t\tGridBagConstraints gridBagConstraints9 = new GridBagConstraints();\n\t\tgridBagConstraints9.gridx = 0;\n\t\tgridBagConstraints9.insets = new Insets(5, 10, 0, 0);\n\t\tgridBagConstraints9.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints9.gridy = 9;\n\t\tlblPossibilityDriverHasCar = new JLabel();\n\t\tlblPossibilityDriverHasCar.setText(\"Possibility driver has car:\");\n\t\tGridBagConstraints gridBagConstraints8 = new GridBagConstraints();\n\t\tgridBagConstraints8.gridx = 1;\n\t\tgridBagConstraints8.anchor = GridBagConstraints.NORTHWEST;\n\t\tgridBagConstraints8.gridy = 10;\n\t\tGridBagConstraints gridBagConstraints71 = new GridBagConstraints();\n\t\tgridBagConstraints71.gridx = 1;\n\t\tgridBagConstraints71.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints71.gridy = 8;\n\t\tGridBagConstraints gridBagConstraints6 = new GridBagConstraints();\n\t\tgridBagConstraints6.gridx = 1;\n\t\tgridBagConstraints6.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints6.gridy = 7;\n\t\tGridBagConstraints gridBagConstraints51 = new GridBagConstraints();\n\t\tgridBagConstraints51.gridx = 1;\n\t\tgridBagConstraints51.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints51.gridy = 6;\n\t\tGridBagConstraints gridBagConstraints4 = new GridBagConstraints();\n\t\tgridBagConstraints4.gridx = 0;\n\t\tgridBagConstraints4.insets = new Insets(5, 10, 0, 0);\n\t\tgridBagConstraints4.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints4.gridy = 10;\n\t\tlblPossibilityAdultHasJob = new JLabel();\n\t\tlblPossibilityAdultHasJob.setText(\"Possibility adult has job:\");\n\t\tGridBagConstraints gridBagConstraints32 = new GridBagConstraints();\n\t\tgridBagConstraints32.gridx = 0;\n\t\tgridBagConstraints32.insets = new Insets(5, 10, 0, 0);\n\t\tgridBagConstraints32.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints32.gridy = 8;\n\t\tlblPossibilityAdultIsDriver = new JLabel();\n\t\tlblPossibilityAdultIsDriver.setText(\"Possibility adult is driver:\");\n\t\tGridBagConstraints gridBagConstraints21 = new GridBagConstraints();\n\t\tgridBagConstraints21.gridx = 0;\n\t\tgridBagConstraints21.insets = new Insets(5, 10, 0, 10);\n\t\tgridBagConstraints21.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints21.gridy = 7;\n\t\tlblAverageChildrenPerHouse = new JLabel();\n\t\tlblAverageChildrenPerHouse.setText(\"Average children per house:\");\n\t\tGridBagConstraints gridBagConstraints13 = new GridBagConstraints();\n\t\tgridBagConstraints13.gridx = 0;\n\t\tgridBagConstraints13.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints13.insets = new Insets(5, 10, 0, 0);\n\t\tgridBagConstraints13.gridy = 6;\n\t\tlblAverageAdultsPerHouse = new JLabel();\n\t\tlblAverageAdultsPerHouse.setText(\"Average adults per house:\");\n\t\tGridBagConstraints gridBagConstraints31 = new GridBagConstraints();\n\t\tgridBagConstraints31.gridx = 0;\n\t\tgridBagConstraints31.insets = new Insets(5, 0, 5, 10);\n\t\tgridBagConstraints31.anchor = GridBagConstraints.NORTH;\n\t\tgridBagConstraints31.fill = GridBagConstraints.NONE;\n\t\tgridBagConstraints31.gridwidth = 2;\n\t\tgridBagConstraints31.gridy = 4;\n\t\tGridBagConstraints gridBagConstraints2 = new GridBagConstraints();\n\t\tgridBagConstraints2.gridx = 0;\n\t\tgridBagConstraints2.insets = new Insets(5, 0, 5, 10);\n\t\tgridBagConstraints2.anchor = GridBagConstraints.NORTH;\n\t\tgridBagConstraints2.fill = GridBagConstraints.NONE;\n\t\tgridBagConstraints2.gridwidth = 2;\n\t\tgridBagConstraints2.gridy = 2;\n\t\tGridBagConstraints gridBagConstraints5 = new GridBagConstraints();\n\t\tgridBagConstraints5.gridx = 1;\n\t\tgridBagConstraints5.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints5.gridy = 3;\n\t\tGridBagConstraints gridBagConstraints41 = new GridBagConstraints();\n\t\tgridBagConstraints41.gridx = 1;\n\t\tgridBagConstraints41.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints41.gridy = 1;\n\t\tGridBagConstraints gridBagConstraints12 = new GridBagConstraints();\n\t\tgridBagConstraints12.gridx = 1;\n\t\tgridBagConstraints12.anchor = GridBagConstraints.NORTH;\n\t\tgridBagConstraints12.fill = GridBagConstraints.HORIZONTAL;\n\t\tgridBagConstraints12.insets = new Insets(0, 0, 0, 10);\n\t\tgridBagConstraints12.gridy = 5;\n\t\tGridBagConstraints gridBagConstraints3 = new GridBagConstraints();\n\t\tgridBagConstraints3.gridx = 0;\n\t\tgridBagConstraints3.insets = new Insets(0, 10, 0, 5);\n\t\tgridBagConstraints3.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints3.gridy = 3;\n\t\tlblWorkPositions = new JLabel();\n\t\tlblWorkPositions.setText(\"Work positions:\");\n\t\tGridBagConstraints gridBagConstraints11 = new GridBagConstraints();\n\t\tgridBagConstraints11.gridx = 0;\n\t\tgridBagConstraints11.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints11.insets = new Insets(0, 10, 0, 0);\n\t\tgridBagConstraints11.gridy = 1;\n\t\tlblPopulation = new JLabel();\n\t\tlblPopulation.setText(\"Population:\");\n\t\tGridBagConstraints gridBagConstraints7 = new GridBagConstraints();\n\t\tgridBagConstraints7.gridx = 0;\n\t\tgridBagConstraints7.weighty = 0.0D;\n\t\tgridBagConstraints7.anchor = GridBagConstraints.NORTHWEST;\n\t\tgridBagConstraints7.insets = new Insets(0, 10, 0, 0);\n\t\tgridBagConstraints7.gridy = 5;\n\t\tlblColorTitle = new JLabel();\n\t\tlblColorTitle.setText(\"Color:\");\n\t\tGridBagConstraints gridBagConstraints1 = new GridBagConstraints();\n\t\tgridBagConstraints1.fill = GridBagConstraints.HORIZONTAL;\n\t\tgridBagConstraints1.gridy = 0;\n\t\tgridBagConstraints1.weightx = 1.0;\n\t\tgridBagConstraints1.insets = new Insets(10, 0, 0, 10);\n\t\tgridBagConstraints1.gridx = 1;\n\t\tGridBagConstraints gridBagConstraints = new GridBagConstraints();\n\t\tgridBagConstraints.gridx = 0;\n\t\tgridBagConstraints.insets = new Insets(10, 10, 0, 0);\n\t\tgridBagConstraints.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints.gridy = 0;\n\t\tlblNameTitle = new JLabel();\n\t\tlblNameTitle.setText(\"Name:\");\n\t\tthis.setSize(351, 280);\n\t\tthis.setLayout(new GridBagLayout());\n\t\tthis.add(lblNameTitle, gridBagConstraints);\n\t\tthis.add(getTxtName(), gridBagConstraints1);\n\t\tthis.add(lblColorTitle, gridBagConstraints7);\n\t\tthis.add(lblPopulation, gridBagConstraints11);\n\t\tthis.add(lblWorkPositions, gridBagConstraints3);\n\t\tthis.add(getBtnChangeColor(), gridBagConstraints12);\n\t\tthis.add(getSpnPopulation(), gridBagConstraints41);\n\t\tthis.add(getSpnWorkPositions(), gridBagConstraints5);\n\t\tthis.add(getBtnResidentJobs(), gridBagConstraints2);\n\t\tthis.add(getBtnWorkerJobs(), gridBagConstraints31);\n\t\tthis.add(lblAverageAdultsPerHouse, gridBagConstraints13);\n\t\tthis.add(lblAverageChildrenPerHouse, gridBagConstraints21);\n\t\tthis.add(lblPossibilityAdultIsDriver, gridBagConstraints32);\n\t\tthis.add(lblPossibilityAdultHasJob, gridBagConstraints4);\n\t\tthis.add(getSpnAverageAdultsPerHouse(), gridBagConstraints51);\n\t\tthis.add(getSpnAverageChildrenPerHouse(), gridBagConstraints6);\n\t\tthis.add(getSpnPossibilityAdultIsDriver(), gridBagConstraints71);\n\t\tthis.add(getSpnPossibilityAdultHasJob(), gridBagConstraints8);\n\t\tthis.add(lblPossibilityDriverHasCar, gridBagConstraints9);\n\t\tthis.add(getSpnPossibilityDriverHasCar(), gridBagConstraints10);\n\t\tthis.add(getChkEnabled(), gridBagConstraints81);\n\t}","title":""},{"docid":"627b19e547068d6bafde8dd9b8e87c22","score":"0.52754784","text":"private GridBagConstraints getConstraintsForPurchaseMenu() {\n\t\tGridBagConstraints gc = new GridBagConstraints();\n\n\t\tgc.fill = GridBagConstraints.HORIZONTAL;\n\t\tgc.anchor = GridBagConstraints.NORTH;\n\t\tgc.gridwidth = GridBagConstraints.REMAINDER;\n\t\tgc.weightx = 1.0d;\n\t\tgc.weighty = 0d;\n\n\t\treturn gc;\n\t}","title":""},{"docid":"eb17165bf7c5cae34d37e9bc25dc2c28","score":"0.52411306","text":"public static GridBagConstraints makeGBC(int x, int y, int fill, double wx, double wy) {\n GridBagConstraints gbc = new GridBagConstraints();\n gbc.gridx = x;\n gbc.gridy = y;\n gbc.fill = fill;\n gbc.weightx = wx;\n gbc.weighty = wy;\n return gbc;\n }","title":""},{"docid":"0d3adc293744f3b964d6fca5f890d404","score":"0.5234562","text":"private void initialize() {\r\n\ttry {\r\n\t\t// user code begin {1}\r\n\t\t// user code end\r\n\t\tsetName(\"ScalePanel\");\r\n\t\tsetLayout(new java.awt.GridBagLayout());\r\n\t\tsetSize(120, 247);\r\n\r\n\t\tjava.awt.GridBagConstraints constraintsCheckboxAuto = new java.awt.GridBagConstraints();\r\n\t\tconstraintsCheckboxAuto.gridx = 0; constraintsCheckboxAuto.gridy = 1;\r\n\t\tconstraintsCheckboxAuto.gridwidth = 2;\r\n\t\tconstraintsCheckboxAuto.fill = java.awt.GridBagConstraints.HORIZONTAL;\r\n\t\tconstraintsCheckboxAuto.anchor = java.awt.GridBagConstraints.WEST;\r\n\t\tconstraintsCheckboxAuto.insets = new java.awt.Insets(0, 10, 0, 5);\r\n\t\tadd(getCheckboxAuto(), constraintsCheckboxAuto);\r\n\r\n\t\tjava.awt.GridBagConstraints constraintsCheckboxManual = new java.awt.GridBagConstraints();\r\n\t\tconstraintsCheckboxManual.gridx = 0; constraintsCheckboxManual.gridy = 4;\r\n\t\tconstraintsCheckboxManual.gridwidth = 2;\r\n\t\tconstraintsCheckboxManual.fill = java.awt.GridBagConstraints.HORIZONTAL;\r\n\t\tconstraintsCheckboxManual.anchor = java.awt.GridBagConstraints.WEST;\r\n\t\tconstraintsCheckboxManual.insets = new java.awt.Insets(0, 10, 0, 5);\r\n\t\tadd(getCheckboxManual(), constraintsCheckboxManual);\r\n\r\n\t\tjava.awt.GridBagConstraints constraintsTextFieldMin = new java.awt.GridBagConstraints();\r\n\t\tconstraintsTextFieldMin.gridx = 1; constraintsTextFieldMin.gridy = 5;\r\n\t\tconstraintsTextFieldMin.fill = java.awt.GridBagConstraints.HORIZONTAL;\r\n\t\tconstraintsTextFieldMin.anchor = java.awt.GridBagConstraints.EAST;\r\n\t\tconstraintsTextFieldMin.insets = new java.awt.Insets(0, 0, 0, 5);\r\n\t\tadd(getTextFieldMin(), constraintsTextFieldMin);\r\n\r\n\t\tjava.awt.GridBagConstraints constraintsTextFieldMax = new java.awt.GridBagConstraints();\r\n\t\tconstraintsTextFieldMax.gridx = 1; constraintsTextFieldMax.gridy = 6;\r\n\t\tconstraintsTextFieldMax.fill = java.awt.GridBagConstraints.HORIZONTAL;\r\n\t\tconstraintsTextFieldMax.anchor = java.awt.GridBagConstraints.EAST;\r\n\t\tconstraintsTextFieldMax.weightx = 1.0;\r\n\t\tconstraintsTextFieldMax.insets = new java.awt.Insets(0, 0, 5, 5);\r\n\t\tadd(getTextFieldMax(), constraintsTextFieldMax);\r\n\r\n\t\tjava.awt.GridBagConstraints constraintsLabelMin = new java.awt.GridBagConstraints();\r\n\t\tconstraintsLabelMin.gridx = 0; constraintsLabelMin.gridy = 5;\r\n\t\tconstraintsLabelMin.anchor = java.awt.GridBagConstraints.WEST;\r\n\t\tconstraintsLabelMin.insets = new java.awt.Insets(0, 15, 0, 5);\r\n\t\tadd(getLabelMin(), constraintsLabelMin);\r\n\r\n\t\tjava.awt.GridBagConstraints constraintsLabelMax = new java.awt.GridBagConstraints();\r\n\t\tconstraintsLabelMax.gridx = 0; constraintsLabelMax.gridy = 6;\r\n\t\tconstraintsLabelMax.anchor = java.awt.GridBagConstraints.WEST;\r\n\t\tconstraintsLabelMax.insets = new java.awt.Insets(0, 15, 0, 5);\r\n\t\tadd(getLabelMax(), constraintsLabelMax);\r\n\r\n\t\tjava.awt.GridBagConstraints constraintsLabelRealMin = new java.awt.GridBagConstraints();\r\n\t\tconstraintsLabelRealMin.gridx = 1; constraintsLabelRealMin.gridy = 2;\r\n\t\tconstraintsLabelRealMin.fill = java.awt.GridBagConstraints.HORIZONTAL;\r\n\t\tconstraintsLabelRealMin.insets = new java.awt.Insets(0, 0, 0, 5);\r\n\t\tadd(getLabelRealMin(), constraintsLabelRealMin);\r\n\r\n\t\tjava.awt.GridBagConstraints constraintsLabelRealMax = new java.awt.GridBagConstraints();\r\n\t\tconstraintsLabelRealMax.gridx = 1; constraintsLabelRealMax.gridy = 3;\r\n\t\tconstraintsLabelRealMax.fill = java.awt.GridBagConstraints.HORIZONTAL;\r\n\t\tconstraintsLabelRealMax.insets = new java.awt.Insets(0, 0, 0, 5);\r\n\t\tadd(getLabelRealMax(), constraintsLabelRealMax);\r\n\r\n\t\tjava.awt.GridBagConstraints constraintsCheckboxGrayscale = new java.awt.GridBagConstraints();\r\n\t\tconstraintsCheckboxGrayscale.gridx = 0; constraintsCheckboxGrayscale.gridy = 8;\r\n\t\tconstraintsCheckboxGrayscale.gridwidth = 2;\r\n\t\tconstraintsCheckboxGrayscale.fill = java.awt.GridBagConstraints.HORIZONTAL;\r\n\t\tconstraintsCheckboxGrayscale.insets = new java.awt.Insets(0, 10, 0, 5);\r\n\t\tadd(getCheckboxGrayscale(), constraintsCheckboxGrayscale);\r\n\r\n\t\tjava.awt.GridBagConstraints constraintsCheckboxBlueToRed = new java.awt.GridBagConstraints();\r\n\t\tconstraintsCheckboxBlueToRed.gridx = 0; constraintsCheckboxBlueToRed.gridy = 9;\r\n\t\tconstraintsCheckboxBlueToRed.gridwidth = 2;\r\n\t\tconstraintsCheckboxBlueToRed.fill = java.awt.GridBagConstraints.HORIZONTAL;\r\n\t\tconstraintsCheckboxBlueToRed.insets = new java.awt.Insets(0, 10, 5, 5);\r\n\t\tadd(getCheckboxBlueToRed(), constraintsCheckboxBlueToRed);\r\n\r\n\t\tjava.awt.GridBagConstraints constraintsJLabel3 = new java.awt.GridBagConstraints();\r\n\t\tconstraintsJLabel3.gridx = 0; constraintsJLabel3.gridy = 0;\r\n\t\tconstraintsJLabel3.gridwidth = 2;\r\n\t\tconstraintsJLabel3.fill = java.awt.GridBagConstraints.BOTH;\r\n\t\tconstraintsJLabel3.weightx = 1.0;\r\n\t\tconstraintsJLabel3.insets = new java.awt.Insets(5, 5, 0, 5);\r\n\t\tadd(getJLabel3(), constraintsJLabel3);\r\n\r\n\t\tjava.awt.GridBagConstraints constraintsJLabel = new java.awt.GridBagConstraints();\r\n\t\tconstraintsJLabel.gridx = 0; constraintsJLabel.gridy = 2;\r\n\t\tconstraintsJLabel.anchor = java.awt.GridBagConstraints.WEST;\r\n\t\tconstraintsJLabel.insets = new java.awt.Insets(0, 15, 0, 5);\r\n\t\tadd(getJLabel(), constraintsJLabel);\r\n\r\n\t\tjava.awt.GridBagConstraints constraintsJLabel1 = new java.awt.GridBagConstraints();\r\n\t\tconstraintsJLabel1.gridx = 0; constraintsJLabel1.gridy = 3;\r\n\t\tconstraintsJLabel1.anchor = java.awt.GridBagConstraints.WEST;\r\n\t\tconstraintsJLabel1.insets = new java.awt.Insets(0, 15, 0, 5);\r\n\t\tadd(getJLabel1(), constraintsJLabel1);\r\n\r\n\t\tjava.awt.GridBagConstraints constraintsJLabel2 = new java.awt.GridBagConstraints();\r\n\t\tconstraintsJLabel2.gridx = 0; constraintsJLabel2.gridy = 7;\r\n\t\tconstraintsJLabel2.gridwidth = 2;\r\n\t\tconstraintsJLabel2.fill = java.awt.GridBagConstraints.BOTH;\r\n\t\tconstraintsJLabel2.weightx = 1.0;\r\n\t\tconstraintsJLabel2.insets = new java.awt.Insets(0, 5, 0, 5);\r\n\t\tadd(getJLabel2(), constraintsJLabel2);\r\n\t\tinitConnections();\r\n\t\tconnEtoM1();\r\n\t\tconnEtoM2();\r\n\t\tconnEtoM15();\r\n\t\tconnEtoM16();\r\n\t} catch (java.lang.Throwable ivjExc) {\r\n\t\thandleException(ivjExc);\r\n\t}\r\n\t// user code begin {2}\r\n\t// user code end\r\n}","title":""},{"docid":"f914fe8867c9fcd6dd0f0f68a1fb031f","score":"0.52318496","text":"IConstraint createConstraint();","title":""},{"docid":"1ee3a4460762b24d544ac82c941dfd82","score":"0.5225493","text":"CapacityGoal(BalancingConstraint constraint) {\n _balancingConstraint = constraint;\n }","title":""},{"docid":"0b4ba48c7151f300d26d80a6ed4f2041","score":"0.5219229","text":"@Test\r\n\tpublic void testECCCORE_LLG_ConstraintGeneration() throws IloException \r\n\t{\r\n\t\tIloCplex cplexSolver = new IloCplex();\r\n\t\tList items = new LinkedList();\r\n\t\titems.add(1);\r\n\t\titems.add(2);\r\n\t\t\r\n\t\tdouble marginalValueL1 = 0.1;\r\n\t\tdouble marginalValueL2 = 0.2;\r\n\t\tdouble marginalValueG = 0.3;\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tList bundle = new LinkedList();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValueL1);\r\n\t\tCombinatorialType t1 = new CombinatorialType();\r\n\t\tt1.addAtomicBid(atom11);\r\n\r\n\t\t//Local bidder\r\n\t\tbundle = new LinkedList();\r\n\t\tbundle.add( items.get(1) );\r\n\t\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValueL2);\r\n\t\tCombinatorialType t2 = new CombinatorialType();\r\n\t\tt2.addAtomicBid(atom21);\r\n\t\t\r\n\t\t//Global bidder\r\n\t\tbundle = new LinkedList();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tbundle.add( items.get(1) );\r\n\t\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValueG);\r\n\t\tCombinatorialType t3 = new CombinatorialType();\r\n\t\tt3.addAtomicBid(atom31);\r\n\t\t\r\n\t\tList bids = new LinkedList();\r\n\t\tbids.add(t1);\r\n\t\tbids.add(t2);\r\n\t\tbids.add(t3);\r\n\t\t\r\n\t\tList costs = new LinkedList();\r\n\t\tcosts.add(0.05);\r\n\t\tcosts.add(0.1);\r\n\t\t\r\n\t\tGridGenerator generator = new GridGenerator(1, 2);\r\n\t\tgenerator.setSeed(0);\r\n\t\tgenerator.buildProximityGraph();\r\n\t\tGraph grid = generator.getGrid();\r\n\t\t\r\n\t\tassertTrue(grid.getVertices().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\r\n\t\t\r\n\t\tdouble primaryReductionCoef = 0.3;\r\n\t\tdouble secondaryReductionCoef = 0.2;\r\n\t\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\r\n\t\tjpmf.setNumberOfSamples(1000000);\r\n\t\tjpmf.setNumberOfBombsToThrow(1);\r\n\t\t\r\n\t\tIBombingStrategy b1 = new FocusedBombingStrategy(grid, 1., primaryReductionCoef, secondaryReductionCoef);\r\n\t\tIBombingStrategy b2 = new FocusedBombingStrategy(grid, 1., 0.4, 0.3);\r\n\t\tList bombs = new LinkedList();\r\n\t\tbombs.add(b1);\r\n\t\tbombs.add(b2);\r\n\t\t\r\n\t\tList pd = new LinkedList();\r\n\t\tpd.add(0.5);\r\n\t\tpd.add(0.5);\r\n\t\t\r\n\t\tjpmf.setBombs(bombs, pd);\r\n\t\tjpmf.update();\r\n\t\t\r\n\t\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\r\n\t\tauction.setSolver(cplexSolver);\r\n\t\tauction.setPaymentRule(\"ECC-CORE\");\r\n\t\tauction.setSeed(0);\r\n\t\ttry\r\n\t\t{\r\n\t\t\tauction.solveIt();\r\n\t\t\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\r\n\t\t\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\r\n\t\t\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.105 ) < 1e-4);\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).size() == 2 );\r\n\t\t\t\r\n\t\t\t//Get allocated buyers involved in the trade \r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 1 );\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(1) == 2 );\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 2 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\t\t//First bidder gets its first bid\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(1) == 0 );\t\t//Second bidder gets its first bid\t\t\r\n\t\t\t\r\n\t\t\tdouble[] payments = auction.getPayments();\r\n\t\t\tassertTrue( payments.length == 2);\r\n\t\t\t\r\n\t\t\tSystem.out.println(\">> \" + allocation.getRealizedRV(0, 0) + \" \" + allocation.getRealizedRV(0, 1) + \" p[0]=\"+payments[0] + \" p[1]=\"+payments[1]);\r\n\t\t\tif( Math.abs(allocation.getRealizedRV(0, 0) - 0.7) < 1e-4 && Math.abs(allocation.getRealizedRV(0, 1) - 0.8) < 1e-4 )\r\n\t\t\t{\r\n\t\t\t\tassertTrue( Math.abs(payments[0] - 0.065) < 1e-4 );\r\n\t\t\t\tassertTrue( Math.abs(payments[1] - 0.155) < 1e-4 );\r\n\t\t\t}\r\n\t\t\telse if( Math.abs(allocation.getRealizedRV(0, 0) - 0.8) < 1e-4 && Math.abs(allocation.getRealizedRV(0, 1) - 0.7) < 1e-4 )\r\n\t\t\t{\r\n\t\t\t\tassertTrue( Math.abs(payments[0] - 0.0775) < 1e-4 );\r\n\t\t\t\tassertTrue( Math.abs(payments[1] - 0.1375) < 1e-4 );\r\n\t\t\t} \r\n\t\t\telse if( Math.abs(allocation.getRealizedRV(0, 0) - 0.6) < 1e-4 && Math.abs(allocation.getRealizedRV(0, 1) - 0.7) < 1e-4 )\r\n\t\t\t{\r\n\t\t\t\tassertTrue( Math.abs(payments[0] - 0.055) < 1e-4 );\r\n\t\t\t\tassertTrue( Math.abs(payments[1] - 0.135) < 1e-4 );\r\n\t\t\t}\r\n\t\t\telse if( Math.abs(allocation.getRealizedRV(0, 0) - 0.7) < 1e-4 && Math.abs(allocation.getRealizedRV(0, 1) - 0.6) < 1e-4 )\r\n\t\t\t{\r\n\t\t\t\tassertTrue( Math.abs(payments[0] - 0.0675) < 1e-4 );\r\n\t\t\t\tassertTrue( Math.abs(payments[1] - 0.1175) < 1e-4 );\r\n\t\t\t}\r\n\t\t\telse throw new RuntimeException(\"Wrong realized a vailabilities\");\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.isAllocated(0) );\r\n\t\t\tassertTrue( allocation.isAllocated(1) );\r\n\t\t\tassertTrue( allocation.isAllocated(2) );\r\n\t\t\tassertTrue(!allocation.isAllocated(3) );\r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{ \r\n\t\t\te.printStackTrace(); \r\n\t\t}\r\n\t}","title":""},{"docid":"e2749d480d9b94f5d29562c9b367f6f8","score":"0.5210333","text":"public ConstraintHandler(GUIBuilderState guiState) {\n super(guiState);\n }","title":""},{"docid":"ac37ed143a2ef110eb034cd8fe4db82f","score":"0.52085215","text":"public static GridBagConstraints makeGBC(int x, int y, int w, int h, int fill, \n double wx, double wy) {\n GridBagConstraints gbc = new GridBagConstraints();\n gbc.gridx = x;\n gbc.gridy = y;\n gbc.gridwidth = w;\n gbc.gridheight = h;\n gbc.fill = fill;\n gbc.weightx = wx;\n gbc.weighty = wy;\n return gbc;\n }","title":""},{"docid":"2402909adc50aef6bb89e874a65ec254","score":"0.5208407","text":"private void initialize() {\n\t\tGridBagConstraints gridBagConstraints11 = new GridBagConstraints();\n\t\tgridBagConstraints11.gridx = 0;\n\t\tgridBagConstraints11.gridwidth = 2;\n\t\tgridBagConstraints11.insets = new Insets(3, 0, 3, 0);\n\t\tgridBagConstraints11.anchor = GridBagConstraints.CENTER;\n\t\tgridBagConstraints11.gridy = 1;\n\t\tGridBagConstraints gridBagConstraints1 = new GridBagConstraints();\n\t\tgridBagConstraints1.gridx = 0;\n\t\tgridBagConstraints1.fill = GridBagConstraints.BOTH;\n\t\tgridBagConstraints1.weightx = 1.0D;\n\t\tgridBagConstraints1.weighty = 1.0D;\n\t\tgridBagConstraints1.gridy = 3;\n\t\tGridBagConstraints gridBagConstraints = new GridBagConstraints();\n\t\tgridBagConstraints.gridx = 0;\n\t\tgridBagConstraints.gridwidth = 2;\n\t\tgridBagConstraints.fill = GridBagConstraints.BOTH;\n\t\tgridBagConstraints.weightx = 1.0D;\n\t\tgridBagConstraints.weighty = 2.0D;\n\t\tgridBagConstraints.insets = new Insets(5, 1, 0, 0);\n\t\tgridBagConstraints.gridy = 0;\n\t\tGridBagConstraints fromTopButtonConstraints = new GridBagConstraints();\n\t\tfromTopButtonConstraints.gridx = 0;\n\t\tfromTopButtonConstraints.gridy = 2;\n\t\tfromTopButtonConstraints.weightx = 1.0D;\n\t\tfromTopButtonConstraints.weighty = 1.0D;\n\t\tfromTopButtonConstraints.fill = GridBagConstraints.BOTH;\n\t\tGridBagConstraints nextButtonConstraints = new GridBagConstraints();\n\t\tnextButtonConstraints.gridx = 1;\n\t\tnextButtonConstraints.gridy = 2;\n\t\tnextButtonConstraints.weightx = 1.0D;\n\t\tnextButtonConstraints.weighty = 1.0D;\n\t\tnextButtonConstraints.fill = GridBagConstraints.BOTH;\n\t\tGridBagConstraints previousButtonConstraints = new GridBagConstraints();\n\t\tpreviousButtonConstraints.gridx = 1;\n\t\tpreviousButtonConstraints.gridy = 3;\n\t\tpreviousButtonConstraints.weightx = 1.0D;\n\t\tpreviousButtonConstraints.weighty = 1.0D;\n\t\tpreviousButtonConstraints.fill = GridBagConstraints.BOTH;\n\t\tthis.setLayout(new GridBagLayout());\n\t\tthis.setBounds(new Rectangle(0, 0, 318, 138));\n\t\tGridBagConstraints closeConstraints = new GridBagConstraints();\n\t\tcloseConstraints.gridx = 0;\n\t\tcloseConstraints.gridy = 4;\n\t\tcloseConstraints.weightx = 1.0D;\n\t\tcloseConstraints.weighty = 1.0D;\n\t\tcloseConstraints.gridwidth = 3;\n\t\tcloseConstraints.gridheight = 2;\n\t\tcloseConstraints.insets = new Insets(11, 0, 0, 0);\n\t\tcloseConstraints.fill = GridBagConstraints.BOTH;\n\t\tthis.add(getFromTopButton(), fromTopButtonConstraints);\n\t\tthis.add(getNextButton(), nextButtonConstraints);\n\t\tthis.add(getFromBottomButton(), gridBagConstraints1);\n\t\tthis.add(getPreviousButton(), previousButtonConstraints);\n\t\tthis.add(getCloseButton(), closeConstraints);\n\t\tthis.add(getTextPanel(), gridBagConstraints);\n\t\tthis.add(getCasePanel(), gridBagConstraints11);\n\t}","title":""},{"docid":"145f96c362fd56d76f0b88172e97b0c8","score":"0.52077794","text":"public void orderNSquaredConstraints() {\n\t\tGRBVar[][][] feasibilityVariables = new GRBVar[size][size][size * size];\r\n\r\n\t\tfor (int i = 0; i < size; i++) {\r\n\t\t\tfor (int j = 0; j < size; j++) {\r\n\t\t\t\tfor (int k = 0; k < size * size; k++) {\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tif (k != 0) {\r\n\t\t\t\t\t\t\tfeasibilityVariables[i][j][k] = GRBModel.addVar(0.0, 1.0, 0.0, GRB.BINARY,\r\n\t\t\t\t\t\t\t\t\t\"feasibilityVariables_row_\" + row + \"column\" + column + \"Timestep\" + k\r\n\t\t\t\t\t\t\t\t\t\t\t+ Math.random());\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tif (i == 0 && j == 0) {\r\n\t\t\t\t\t\t\t\tfeasibilityVariables[i][j][k] = GRBModel.addVar(1.0, 1.0, 1.0, GRB.BINARY,\r\n\t\t\t\t\t\t\t\t\t\t\"feasibilityVariables_row_\" + row + \"column\" + column + \"Timestep\" + k\r\n\t\t\t\t\t\t\t\t\t\t\t\t+ Math.random());\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\tfeasibilityVariables[i][j][k] = GRBModel.addVar(0.0, 0.0, 0.0, GRB.BINARY,\r\n\t\t\t\t\t\t\t\t\t\t\"feasibilityVariables_row_\" + row + \"column\" + column + \"Timestep\" + k\r\n\t\t\t\t\t\t\t\t\t\t\t\t+ Math.random());\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tGRBLinExpr obstacleConstraint = new GRBLinExpr();\r\n\t\t\t\t\t\tobstacleConstraint.addConstant(1.0);\r\n\t\t\t\t\t\tobstacleConstraint.addTerm(-1.0, grid.get(i).get(j));\r\n\t\t\t\t\t\tGRBModel.addConstr(feasibilityVariables[i][j][k], GRB.LESS_EQUAL, obstacleConstraint,\r\n\t\t\t\t\t\t\t\t\"obsConstrForRow\" + row + \"Column\" + column + \"Timestep\" + k + Math.random());\r\n\t\t\t\t\t} catch (GRBException e) {\r\n\t\t\t\t\t\te.printStackTrace();\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\tfor (int i = 0; i < size; i++) {\r\n\t\t\tfor (int j = 0; j < size; j++) {\r\n\t\t\t\tfor (int k = 1; k < size * size; k++) {\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tGRBVar[] orCondition = new GRBVar[5];\r\n\t\t\t\t\t\tGRBVar orVariable = GRBModel.addVar(0.0, 1.0, 0.0, GRB.BINARY, \"milne\" + Math.random());\r\n\t\t\t\t\t\torCondition[0] = feasibilityVariables[i][j][k - 1];\r\n\t\t\t\t\t\tif (i > 0)\r\n\t\t\t\t\t\t\torCondition[1] = feasibilityVariables[i - 1][j][k - 1];\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\torCondition[1] = GRBModel.addVar(0.0, 0.0, 0.0, GRB.BINARY, \"milne\" + Math.random());\r\n\t\t\t\t\t\tif (i != size - 1)\r\n\t\t\t\t\t\t\torCondition[2] = feasibilityVariables[i + 1][j][k - 1];\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\torCondition[2] = GRBModel.addVar(0.0, 0.0, 0.0, GRB.BINARY, \"milne\" + Math.random());\r\n\t\t\t\t\t\tif (j > 0)\r\n\t\t\t\t\t\t\torCondition[3] = feasibilityVariables[i][j - 1][k - 1];\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\torCondition[3] = GRBModel.addVar(0.0, 0.0, 0.0, GRB.BINARY, \"milne\" + Math.random());\r\n\t\t\t\t\t\tif (j != size - 1)\r\n\t\t\t\t\t\t\torCondition[4] = feasibilityVariables[i][j + 1][k - 1];\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\torCondition[4] = GRBModel.addVar(0.0, 0.0, 0.0, GRB.BINARY, \"milne\" + Math.random());\r\n\r\n\t\t\t\t\t\tGRBModel.addGenConstrOr(orVariable, orCondition, \"orI\" + i + \"j\" + j + \"k\" + k);\r\n\t\t\t\t\t\tGRBModel.addConstr(feasibilityVariables[i][j][k], GRB.LESS_EQUAL, orVariable,\r\n\t\t\t\t\t\t\t\t\"orConstrI\" + i + \"j\" + j + \"k\" + k);\r\n\r\n\t\t\t\t\t\tGRBLinExpr kPlusOneConstraint = new GRBLinExpr();\r\n\t\t\t\t\t\tkPlusOneConstraint.addTerm(-1.0, grid.get(i).get(j));\r\n\t\t\t\t\t\tkPlusOneConstraint.addTerm(1.0, orVariable);\r\n\t\t\t\t\t\tGRBModel.addConstr(feasibilityVariables[i][j][k], GRB.GREATER_EQUAL, kPlusOneConstraint,\r\n\t\t\t\t\t\t\t\t\"kPlusONeConstraintI\" + i + \"j\" + j + \"k\" + k);\r\n\r\n\t\t\t\t\t} catch (GRBException e) {\r\n\t\t\t\t\t\te.printStackTrace();\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\ttry {\r\n\t\t\tGRBModel.addConstr(feasibilityVariables[size - 1][0][(size * size) - 1], GRB.EQUAL, 1,\r\n\t\t\t\t\t\"NewFeasibilityConstraint\");\r\n\t\t} catch (GRBException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}","title":""},{"docid":"b687e6edc4be9134debe7c268600393b","score":"0.52023256","text":"@Test\r\n\tpublic void testECCCORE_LLG2_ConstraintGeneration() throws Exception \r\n\t{\r\n\t\tIloCplex cplexSolver = new IloCplex();\r\n\t\tList items = new LinkedList();\r\n\t\titems.add(1);\r\n\t\titems.add(2);\r\n\t\t\r\n\t\tdouble marginalValueL1 = 0.3867;\r\n\t\tdouble marginalValueL2 = 0.7139;\r\n\t\tdouble marginalValueG = 0.9067;\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tList bundle = Arrays.asList( items.get(0) );\r\n\t\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValueL1);\r\n\t\tCombinatorialType t1 = new CombinatorialType();\r\n\t\tt1.addAtomicBid(atom11);\r\n\r\n\t\t//Local bidder\r\n\t\tbundle = Arrays.asList( items.get(1) );\r\n\t\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValueL2);\r\n\t\tCombinatorialType t2 = new CombinatorialType();\r\n\t\tt2.addAtomicBid(atom21);\r\n\t\t\r\n\t\t//Global bidder\r\n\t\tbundle = Arrays.asList( items.get(0), items.get(1) );\r\n\t\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValueG);\r\n\t\tCombinatorialType t3 = new CombinatorialType();\r\n\t\tt3.addAtomicBid(atom31);\r\n\t\t\r\n\t\tList bids = Arrays.asList(t1, t2, t3);\r\n\t\t\r\n\t\tList costs = Arrays.asList(0.7275, 0.6832);\r\n\t\t\r\n\t\tGridGenerator generator = new GridGenerator(1, 2);\r\n\t\tgenerator.setSeed(0);\r\n\t\tgenerator.buildProximityGraph();\r\n\t\tGraph grid = generator.getGrid();\r\n\t\t\r\n\t\tassertTrue(grid.getVertices().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\r\n\t\t\r\n\t\tdouble primaryReductionCoef = 0.3;\r\n\t\tdouble secondaryReductionCoef = 0.2;\r\n\t\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\r\n\t\tjpmf.setNumberOfSamples(1000000);\r\n\t\tjpmf.setNumberOfBombsToThrow(1);\r\n\t\t\r\n\t\tIBombingStrategy b = new FocusedBombingStrategy(grid, 1., primaryReductionCoef, secondaryReductionCoef);\r\n\t\tList bombs = new LinkedList();\r\n\t\tbombs.add(b);\r\n\t\t\r\n\t\tList pd = Arrays.asList(1.);\r\n\t\t\r\n\t\tjpmf.setBombs(bombs, pd);\r\n\t\tjpmf.update();\r\n\t\t\r\n\t\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\r\n\t\tauction.setSolver(cplexSolver);\r\n\t\tauction.setPaymentRule(\"ECC-CORE\");\r\n\t\tauction.setSeed(0);\r\n\t\ttry\r\n\t\t{\r\n\t\t\tauction.solveIt();\r\n\t\t\tthrow new RuntimeException(\"VCG should be in the core for this setting\");\r\n\t\t}\r\n\t\tcatch (PaymentException e)\r\n\t\t{\r\n\t\t\tif( e.getMessage().equals(\"VCG is in the Core\"))\r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\"VCG is in the Core\");\r\n\t\t\t\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\r\n\t\t\t\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\r\n\t\t\t\tassertTrue(allocation.getBiddersInvolved(0).size() == 1);\r\n\t\t\t\tassertTrue(allocation.getBiddersInvolved(0).get(0) == 2);\r\n\t\t\t\t\r\n\t\t\t\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.0230 ) < 1e-4);\r\n\t\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 1 );\r\n\t\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\r\n\t\t\t\t\r\n\t\t\t\tdouble[] payments = auction.getPayments();\r\n\t\t\t\tassertTrue(payments.length == 1);\r\n\t\t\t\t\r\n\t\t\t\tif(allocation.getRealizedRV(0, 0) == 0.7)\r\n\t\t\t\t\tassertTrue( Math.abs( payments[0] - 0.6832*0.7) < 1e-4 );\r\n\t\t\t\telse if(allocation.getRealizedRV(0, 0) == 0.8)\r\n\t\t\t\t\tassertTrue( Math.abs( payments[0] - 0.6832*0.8) < 1e-4 );\r\n\t\t\t\telse throw new RuntimeException(\"Incorrect realization of RV\");\r\n\t\t\t\t\r\n\t\t\t\tassertTrue( allocation.isAllocated(0) );\r\n\t\t\t\tassertTrue( !allocation.isAllocated(1) );\r\n\t\t\t\tassertTrue( allocation.isAllocated(2) );\r\n\t\t\t\tassertTrue( !allocation.isAllocated(3) );\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}","title":""},{"docid":"0a27c464ced090191cec296a2c034115","score":"0.51861435","text":"private void init(){\n setLayout(m_gbl);\n\n m_gbc.gridx = 0;\n m_gbc.gridy = 0;\n m_gbc.gridwidth = 1;\n //m_gbc.weightx = 1;\n //m_gbc.weighty = 1;\n m_gbc.fill = GridBagConstraints.VERTICAL;\n m_gbc.insets = new Insets(2,2,2,2);\n\n m_gbc.anchor = GridBagConstraints.EAST;\n m_numClustLbl = new JLabel();\n m_numClustLbl.setText(\"Number of clusters: \");\n //m_numClustLbl.setFont(new Font(\"Arial\", Font.BOLD,10));\n m_numClustLbl.setToolTipText(\"Enter integer value > 2 specifying number of clusters desired.\");\n m_gbl.setConstraints(m_numClustLbl, m_gbc);\n\n m_gbc.gridx = 1;\n m_gbc.anchor = GridBagConstraints.WEST;\n m_numClust = new JTextField(Integer.toString((_src.getNumberOfClusters() < 2)?5:_src.getNumberOfClusters()), 5);\n m_numClust.setFont(new Font(\"Arial\", Font.BOLD,12));\n m_numClust.setToolTipText(\"Enter integer value > 2 specifying number of clusters desired.\");\n m_gbl.setConstraints(m_numClust, m_gbc);\n\n\n\n m_gbc.gridx = 0;\n m_gbc.gridy++;\n m_gbc.gridwidth = 1;\n m_gbc.fill = GridBagConstraints.VERTICAL;\n m_gbc.insets = new Insets(2,2,2,2);\n\n m_gbc.anchor = GridBagConstraints.EAST;\n m_maxPartLbl = new JLabel();\n m_maxPartLbl.setText(\"Max partition size: \");\n m_maxPartLbl.setToolTipText(\"Enter integer value > 0 specifying max partition size.\");\n m_gbl.setConstraints(m_maxPartLbl, m_gbc);\n\n m_gbc.gridx = 1;\n m_gbc.anchor = GridBagConstraints.WEST;\n m_maxPart = new JTextField(Integer.toString((_src.getmaxPartitionSize() < 1)?250:_src.getmaxPartitionSize()), 7);\n m_maxPart.setFont(new Font(\"Arial\", Font.BOLD,12));\n m_maxPart.setToolTipText(\"Enter integer value > 0 specifying max partition size.\");\n m_gbl.setConstraints(m_maxPart, m_gbc);\n\n\n\n m_gbc.gridx = 0;\n m_gbc.gridy++;\n m_gbc.gridwidth = 1;\n m_gbc.fill = GridBagConstraints.VERTICAL;\n m_gbc.insets = new Insets(2,2,2,2);\n\n m_gbc.anchor = GridBagConstraints.EAST;\n m_nthSortLbl = new JLabel();\n m_nthSortLbl.setText(\"Sort attribute: \");\n m_nthSortLbl.setToolTipText(\"Enter integer value >= 0 specifying the index of attribute to sort on.\");\n m_gbl.setConstraints(m_nthSortLbl, m_gbc);\n\n m_gbc.gridx = 1;\n m_gbc.anchor = GridBagConstraints.WEST;\n m_nthSort = new JTextField(Integer.toString((_src.getNthSortTerm() < 0)?0:_src.getNthSortTerm()), 5);\n m_nthSort.setFont(new Font(\"Arial\", Font.BOLD,12));\n m_nthSort.setToolTipText(\"Enter integer value >= 0 specifying the index of attribute to sort on.\");\n m_gbl.setConstraints(m_nthSort, m_gbc);\n\n m_gbc.gridwidth = 2;\n\n m_gbc.gridx = 0;\n m_gbc.gridy++;\n m_gbc.insets = new Insets(4,2,2,2);\n m_gbc.anchor = GridBagConstraints.CENTER;\n m_verbose = new JCheckBox(\"Verbose\", _src.getVerbose());\n m_verbose.setToolTipText(\"Print verbose messages to console.\");\n m_gbl.setConstraints(m_verbose, m_gbc);\n m_verbose.setVisible(_showVerbose);\n\n m_gbc.gridy++;\n m_gbc.anchor = GridBagConstraints.CENTER;\n m_gbc.insets = new Insets(4,2,2,2);\n this.m_checkMV = new JCheckBox(\"Check Missing for Values\",_src.getCheckMissingValues());\n m_checkMV.setToolTipText(\"Screen for missing values in the input table.\");\n m_gbl.setConstraints(m_checkMV, m_gbc);\n m_checkMV.setVisible(this._showMVCheck);\n\n add(m_numClustLbl);\n add(m_numClust);\n add(m_maxPartLbl);\n add(m_maxPart);\n add(m_nthSortLbl);\n add(m_nthSort);\n add(m_verbose);\n add(m_checkMV);\n\n this.setMinimumSize(this.getPreferredSize());\n this.validateTree();\n\n }","title":""},{"docid":"ba1b7855a1e9696956b883ecba75c952","score":"0.51832074","text":"private void populateConstraints() {\n constraints = ArrayListMultimap.create();\n for (Name name : moduleVersionPool.keySet()) {\n Set dependencies = Sets.newLinkedHashSet();\n for (Module module : registry.getModuleVersions(name)) {\n for (DependencyInfo dependency : module.getMetadata().getDependencies()) {\n dependencies.add(dependency.getId());\n }\n }\n\n for (Name dependency : dependencies) {\n Map constraintTable = Maps.newHashMapWithExpectedSize(moduleVersionPool.get(name).size());\n for (Version version : moduleVersionPool.get(name)) {\n Module versionedModule = registry.getModule(name, version);\n DependencyInfo info = versionedModule.getMetadata().getDependencyInfo(dependency);\n if (info != null) {\n constraintTable.put(version, info.versionRange());\n }\n }\n constraints.put(name, new Constraint(name, dependency, constraintTable));\n constraints.put(dependency, new Constraint(name, dependency, constraintTable));\n }\n }\n }","title":""},{"docid":"8dd20871c54b3ff388c9492d5f49c70e","score":"0.51780474","text":"public void setConstraints (ConstraintKnowledge constraints) {\n\tthis.ck=constraints;\n }","title":""},{"docid":"85c394a4a519d36e96470539031f9b67","score":"0.5174419","text":"public static GridBagConstraints makeGBC(int x, int y, int w, int h, int fill, \n Insets insets, double wx, double wy) {\n GridBagConstraints gbc = new GridBagConstraints();\n gbc.gridx = x;\n gbc.gridy = y;\n gbc.gridwidth = w;\n gbc.gridheight = h;\n gbc.fill = fill;\n gbc.insets = insets;\n gbc.weightx = wx;\n gbc.weighty = wy;\n return gbc;\n }","title":""},{"docid":"e01b3df662cf348a6b8e241a580ee54d","score":"0.5163964","text":"public static GridBagConstraints makeGBC(int x, int y, int fill, Insets insets, double wx, double wy) {\n GridBagConstraints gbc = new GridBagConstraints();\n gbc.gridx = x;\n gbc.gridy = y;\n gbc.fill = fill;\n gbc.insets = insets;\n gbc.weightx = wx;\n gbc.weighty = wy;\n return gbc;\n }","title":""},{"docid":"30ff384905d5f522983bb43ec65df76e","score":"0.5154774","text":"public void setConstraints (Container cont, Component it, int x, int y,\n\t\t\t\tint width, int height, int fill,\n\t\t\t int anchor, double weightX, double weightY)\n\t\t{\n\t\t\tGridBagConstraints c = this.getConstraints (x, y, width, height, fill, anchor, weightX, weightY);\n\t\t\tc.insets = new Insets (2, 2, 2, 2);\n\t\t\t((GridBagLayout) cont.getLayout()).setConstraints (it, c);\n\t\t\tcont.add (it);\n\t\t}","title":""},{"docid":"3be9b4deb79ee234be24a0e7572843cc","score":"0.5138083","text":"public void addGridBagComponent(Container container, JComponent comp, GridBagLayout g, GridBagConstraints c,\n int gx, int gy, int a, int gw, int gh, int f, double wx, double wy)\n {\n c.gridx = gx;\n c.gridy = gy;\n c.anchor = a;\n c.insets = new Insets(2, 2, 2, 2);\n c.ipadx = 2;\n c.ipady = 2;\n c.gridwidth = gw;\n c.gridheight = gh;\n c.fill = f;\n c.weightx = wx;\n c.weighty = wy;\n g.setConstraints(comp, c);\n container.add(comp);\n }","title":""},{"docid":"dc3e0d75095da7cc3c141209c546322b","score":"0.512167","text":"private GridBagConstraints createGbc(int x, int y) {\n GridBagConstraints gbc = new GridBagConstraints();\n gbc.gridx = x;\n gbc.gridy = y;\n gbc.gridwidth = 1;\n gbc.gridheight = 1;\n\n gbc.anchor = x == 0 ? GridBagConstraints.WEST : GridBagConstraints.EAST;\n gbc.fill = GridBagConstraints.HORIZONTAL;\n\n gbc.insets = (x == 0) ? WEST_INSETS : EAST_INSETS;\n gbc.weightx = (x == 0) ? 0.1 : 1.0;\n gbc.weighty = 0.75;\n return gbc;\n }","title":""},{"docid":"13a22febbe5c28246d3768d54d1e339f","score":"0.5093586","text":"public BubbleGrid(int[][] grid) {\n this.grid = grid;\n }","title":""},{"docid":"d22207461d2f7ceb471e0e3605bf01ba","score":"0.50913906","text":"private void initFixedConstraints() {\n\n\t\tboolean hasChanged = true;\n\t\t//While the fixed constrains where changed \n\t\twhile (hasChanged) {\n\t\t\thasChanged = false;\n\t\t\t//Loops over the fixed constrains for each index\n\t\t\tfor (int i = 0; i < fixedConstrains.length; i++) {\n\t\t\t\tint radIndex = (int) Math.floor(i / size);\n\t\t\t\tint colIndex = i % size;\n\t\t\t\t\n\t\t\t\t//Removes the fixed values for the row from the possible values this index can be\n\t\t\t\tfor (int k = radIndex * size, to = radIndex * size + size; k < to; k++) {\n\t\t\t\t\tif (i != k && isConstrainedIndex(k))\n\t\t\t\t\t\tfixedConstrains[i].removeValue(values[k]);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t//Same for column\n\t\t\t\tfor (int j = colIndex; j < values.length; j += size) {\n\t\t\t\t\tif (i != j && isConstrainedIndex(j))\n\t\t\t\t\t\tfixedConstrains[i].removeValue(values[j]);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t//Same for bulk\n\t\t\t\tint startIndex = i - (radIndex % bulkSize) * size - colIndex\n\t\t\t\t\t\t% bulkSize, bulkLength = startIndex + size\n\t\t\t\t\t\t* (bulkSize - 1) + bulkSize;\n\t\t\t\tfor (int k = startIndex; k < bulkLength; k += size) {\n\t\t\t\t\tfor (int k2 = 0; k2 < bulkSize; k2++) {\n\t\t\t\t\t\tint index = k + k2;\n\t\t\t\t\t\tif (i != index && isConstrainedIndex(index))\n\t\t\t\t\t\t\tfixedConstrains[i].removeValue(values[index]);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t//If this index only can be one value set it to this value \n\t\t\t\t// and make it a fixed value\n\t\t\t\t//Also set that the fixed constrains have changed\n\t\t\t\tif (fixedConstrains[i].size() == 1 && !isConstrainedIndex(i)) {\n\t\t\t\t\thasChanged = true;\n\t\t\t\t\tconstrainedIndexes[i] = true;\n\t\t\t\t\tvalues[i] = fixedConstrains[i].get(0);\n\t\t\t\t}\n\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"dceb1eacc0bf71d66ea1c819224ee1fc","score":"0.50773364","text":"public void setConstraints (Container cont, Component it, int x, int y, int width, int height, int fill,\n\t\t\t int anchor, double weightX, double weightY, Insets insets)\n\t\t{\n\t\t\tGridBagConstraints c = this.getConstraints (x, y, width, height, fill, anchor, weightX, weightY);\n\t\t\tc.insets \t= insets;\n\t\t\t((GridBagLayout) cont.getLayout()).setConstraints (it, c);\n\t\t\tcont.add (it);\n\t\t}","title":""},{"docid":"447f0f5a3181d4f1a8efc7c52199039d","score":"0.505438","text":"public Graph(int V){\n\t\tthis.V=V;\n\t\tthis.E=0;\n\t\tbg= (Bag[]) new Bag[V]; //casting done\n\t\tfor(int i=0;i();\n\t\t}\n\t}","title":""},{"docid":"5d8c1c2e976f2a2dfc9bf5423a107e27","score":"0.5007862","text":"public void createGrid(){\n\t\tcreateBorder();\n\t\tcreateRandomFences();\n\t\tcreateMhos();\n\t}","title":""},{"docid":"63bc42fea2288abd702d88173324ce5a","score":"0.49861103","text":"public static void inputBounds(){\n \t int lowerBound = lowerBoundValidation();\n \t Matrix.setLowerBound(lowerBound);\n \t int upperBound = upperBoundValidation(lowerBound);\n \t Matrix.setUpperBound(upperBound);\n }","title":""},{"docid":"e3b52ac092562db090ee35c482bb930e","score":"0.49368092","text":"private void augmentInvariant(T inv,\n Pair constraints) {\n TempConstrainedInvariant lowerConstrInv = new TempConstrainedInvariant(\n inv, constraints.getLeft(),\n AbstractMain.getInstance().options.outputSupportCount);\n TempConstrainedInvariant upperConstrInv = new TempConstrainedInvariant(\n inv, constraints.getRight(),\n AbstractMain.getInstance().options.outputSupportCount);\n\n constrainedInvs.add(lowerConstrInv);\n constrainedInvs.add(upperConstrInv);\n }","title":""},{"docid":"299ba97b86e7966fe81aba441acdb635","score":"0.49207297","text":"private void PrepareGrid()\n {\n // Define grid parameters\n grid = new GridPane();\n grid.setHgap(10);\n grid.setVgap(10);\n grid.setPadding(new Insets(20, 150, 10, 10));\n\n // Add labels & controls to grid\n grid.add(new Label(ADD_GOOD_NAME_PLACEHOLDER), 0, 0);\n grid.add(name, 1, 0);\n grid.add(new Label(ADD_GOOD_VOLUME_PLACEHOLDER), 0, 1);\n grid.add(volume, 1, 1);\n grid.add(new Label(ADD_GOOD_PHOTO_PLACEHOLDER), 0, 2);\n grid.add(photoChooser, 1, 2);\n grid.add(pickedPhoto, 2, 2);\n grid.add(new Label(ADD_GOOD_PRICE_PLACEHOLDER), 0, 3);\n grid.add(price, 1, 3);\n }","title":""},{"docid":"df65285c8455cd2eca796535b8dad4b1","score":"0.4915356","text":"public void SetConstraint(int value)\n {\n constraint = value;\n }","title":""},{"docid":"8ffa27ea712ae74b70e3a1a84e516175","score":"0.48800376","text":"public void setConstraint(graphene.model.idl.G_Constraint value) {\n this.constraint = value;\n }","title":""},{"docid":"abb0c61b216bb9c312002227c349dbef","score":"0.48706537","text":"protected void addConstraint(){\n\t}","title":""},{"docid":"304415ab69c654dd6213ba0390225e59","score":"0.4864711","text":"public void createGrid(){\r\n grid.setAlignment(Pos.CENTER);\r\n grid.setHgap(10);\r\n grid.setVgap(10);\r\n grid.setPadding(new Insets(25, 25, 25, 25));\r\n }","title":""},{"docid":"a48e3760625c3e6cb4ee1a646b3a0539","score":"0.48610926","text":"public StdConstraint() { }","title":""},{"docid":"493ed67390885792f0b1f9c6b92ec92c","score":"0.48498955","text":"private void initializeGrid() {\n int count = this.nBombs;\n while (count > 0) {\n int randX = ThreadLocalRandom.current().nextInt(0, this.fieldSize);\n int randY = ThreadLocalRandom.current().nextInt(0, this.fieldSize);\n if (!this.grid[randX][randY]) {\n this.grid[randX][randY] = true;\n count--;\n }\n }\n }","title":""},{"docid":"53cb8e400dafae2c83df3c5cdea1452c","score":"0.48495522","text":"public void CreateMatrix()\n {\n for (int i = 0; i <= 31; i++)\n {\n ColumnConstraints column = new ColumnConstraints();\n RowConstraints row = new RowConstraints();\n column.setPercentWidth(3.125);\n column.setHgrow(SOMETIMES);\n row.setPercentHeight(2.5);\n row.setVgrow(SOMETIMES);\n root.getColumnConstraints().add(column);\n root.getRowConstraints().add(row);\n }\n for (int j = 0; j <= 7; j++)\n {\n RowConstraints row = new RowConstraints();\n row.setPercentHeight(2.5);\n row.setVgrow(SOMETIMES);\n root.getRowConstraints().add(row);\n }\n }","title":""},{"docid":"863c28ca07e386b5141bb3120f660a57","score":"0.48425427","text":"void setBounds(int idx, float lower, float upper);","title":""},{"docid":"a2a152f979a52c8ed6ebf569ac6e7dfc","score":"0.48311076","text":"private void createValueAndWeightParams() {\n\t\t// make parameter for value\n\t\t DoubleValueWeightConstraint constraint = (DoubleValueWeightConstraint)model.getConstraint();\n \t DoubleConstraint valConstraint=null, weightConstraint = null;\n \t if(constraint!=null) {\n \t\t valConstraint = new DoubleConstraint(constraint.getMinVal(), constraint.getMaxVal());\n \t\t valConstraint.setNullAllowed(true);\n \t\t weightConstraint = new DoubleConstraint(constraint.getMinWt(), constraint.getMaxWt());\n \t\t weightConstraint.setNullAllowed(true);\n \t }\n \t valueParameter = new DoubleParameter(VALUE, valConstraint, model.getUnits());\n \t valueParameter.addParameterChangeListener(this);\n \t // make paramter for weight\n \t weightParameter = new DoubleParameter(WEIGHT, weightConstraint);\n \t weightParameter.addParameterChangeListener(this);\n \t // set initial values in value and weight\n \t ValueWeight valueWeight = (ValueWeight)this.model.getValue();\n \t if(valueWeight!=null) {\n \t\t valueParameter.setValue(valueWeight.getValue());\n \t\t weightParameter.setValue(valueWeight.getWeight());\n \t }\n\t}","title":""},{"docid":"a5cef3f1c9197e6ac2a9886584017461","score":"0.48063484","text":"public void finalizeConstraints(char[] item1ValidBags, char[] item2ValidBags){\r\n\t\tString v1 = String.valueOf(item1ValidBags);\r\n\t\tString v2 = String.valueOf(item2ValidBags);\r\n\t\tfor (int i=1; i < matrix.length; i++){\r\n\t\t\tfor (int j = 1; j < matrix.length; j++){\r\n\t\t\t\tif (v1.indexOf(matrix[i][0]) == -1){\r\n\t\t\t\t\tmatrix[i][j] = 'f';\r\n\t\t\t\t}\r\n\t\t\t\tif (v2.indexOf(matrix[0][j]) == -1){\r\n\t\t\t\t\tmatrix[i][j] = 'f';\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}","title":""},{"docid":"12a03fce14ba14d8b183e9a3e715ecc3","score":"0.480391","text":"public void makeGrid(int x, int y){\n gridContraints = new GridBagConstraints();\n gridContraints.anchor = GridBagConstraints.FIRST_LINE_START;\n buttons = new Cell[x][y];\n// gamePanel.p\n for(int i = 0; i < y; i++){\n for (int j = 0; j < x; j++){\n int[] pos = new int[2];\n pos[0] = j;\n pos[1] = i;\n buttons[j][i] = new Cell(pos);\n gridContraints.gridx = j;\n gridContraints.gridy = i;\n buttons[j][i].addActionListener(new FirstButtonClickListener());\n gamePanel.add(buttons[j][i],gridContraints);\n// gamePanel.paintImmediately(new Rectangle(j,i,40,40));\n }\n }\n }","title":""},{"docid":"d455db9891c31a35dbe51ccdb2f6beb9","score":"0.47971195","text":"public void visitsConstraints() {\r\n\r\n\t\tGRBLinExpr sumOfDecisions = new GRBLinExpr();\r\n\r\n\t\tdouble[] ones;\r\n\r\n\t\tones = new double[timestep + 1];\r\n\t\tArrays.fill(ones, 1.0);\r\n\r\n\t\tGRBVar[] decisionsUntilK = decisions.get(row).get(column).subList(0, timestep + 1)\r\n\t\t\t\t.toArray(new GRBVar[timestep + 1]); // decisions to move to this cell, up until this point. +1 is because\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t// timestep starts at 0\r\n\r\n\t\ttry {\r\n\t\t\tsumOfDecisions = new GRBLinExpr();\r\n\t\t\tsumOfDecisions.addTerms(ones, decisionsUntilK);\r\n\t\t\tsumOfDecisions.addTerm(timestep + 2, grid.get(row).get(column)); // if obstacle present, disallow Squeaky from visiting here\r\n\t\t\tGRBModel.addConstr(visits.get(row).get(column).get(timestep), GRB.EQUAL, sumOfDecisions,\r\n\t\t\t\t\t\"visitscount_\" + timestep + \"row\" + row + \"column\" + column);\r\n\t\t} catch (GRBException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\tSystem.out.println(\"Abnormal exception - exiting now.\");\r\n\t\t\tSystem.exit(1);\r\n\t\t}\r\n\t}","title":""},{"docid":"60914c3925b204b0782e1676b3462310","score":"0.4790822","text":"public KnapsackStateImpl() {\n _isBound = new ArrayList();\n _isIn = new ArrayList();\n }","title":""},{"docid":"5665572689a27f9b7c694b7a1ebd7be2","score":"0.4790372","text":"private void initialize() {\r\n\t\tthis.setSize(800, 600);\r\n\t\tthis.setLayout(new GridBagLayout());\r\n\r\n\t\tGridBagConstraints gridBagConstraints2 = new GridBagConstraints();\r\n\t\tgridBagConstraints2.gridx = 2;\r\n\t\tgridBagConstraints2.anchor = GridBagConstraints.WEST;\r\n\t\tgridBagConstraints2.gridy = 7;\r\n\t\tlblRightChannelPeak = new JLabel();\r\n\t\tlblRightChannelPeak.setText(\"Right channel peak:\");\r\n\t\tGridBagConstraints gridBagConstraints1 = new GridBagConstraints();\r\n\t\tgridBagConstraints1.gridx = 2;\r\n\t\tgridBagConstraints1.anchor = GridBagConstraints.WEST;\r\n\t\tgridBagConstraints1.gridy = 6;\r\n\t\tlblLeftChannelPeak = new JLabel();\r\n\t\tlblLeftChannelPeak.setText(\"Left channel peak:\");\r\n\t\tGridBagConstraints gridBagConstraints = new GridBagConstraints();\r\n\t\tgridBagConstraints.gridx = 0;\r\n\t\tgridBagConstraints.anchor = GridBagConstraints.WEST;\r\n\t\tgridBagConstraints.gridy = 6;\r\n\t\tlblRecordingInterfaces = new JLabel();\r\n\t\tlblRecordingInterfaces.setText(\"Recording Interfaces\");\r\n\r\n\t\tGridBagConstraints lstRecordingInterfacesConstraints = new GridBagConstraints();\r\n\t\tlstRecordingInterfacesConstraints.fill = GridBagConstraints.BOTH;\r\n\t\tlstRecordingInterfacesConstraints.gridy = 7;\r\n\t\tlstRecordingInterfacesConstraints.weightx = 1.0;\r\n\t\tlstRecordingInterfacesConstraints.weighty = 1.0;\r\n\t\tlstRecordingInterfacesConstraints.gridx = 0;\r\n\t\tlstRecordingInterfacesConstraints.gridheight = 3;\r\n\t\t\r\n\t\t// Add top row spacer.\r\n\t\tGridBagConstraints topRowConstraint = new GridBagConstraints();\r\n\t\ttopRowConstraint.gridx = 0;\r\n\t\ttopRowConstraint.gridy = 0;\r\n\t\ttopRowConstraint.gridwidth = 3;\r\n\t\ttopRowConstraint.fill = GridBagConstraints.BOTH;\r\n\t\ttopRowConstraint.weightx = 0.0;\r\n\t\ttopRowConstraint.weighty = 0.0;\r\n\t\t\r\n\t\tGridBagConstraints cboRightOutputChannelConstraints = new GridBagConstraints();\r\n\t\tcboRightOutputChannelConstraints.fill = GridBagConstraints.NONE;\r\n\t\tcboRightOutputChannelConstraints.gridy = 5;\r\n\t\tcboRightOutputChannelConstraints.weightx = 1.0;\r\n\t\tcboRightOutputChannelConstraints.anchor = GridBagConstraints.NORTHWEST;\r\n\t\tcboRightOutputChannelConstraints.insets = new Insets(5, 5, 5, 5);\r\n\t\tcboRightOutputChannelConstraints.gridx = 1;\r\n\t\t\r\n\t\tGridBagConstraints cboLeftOutputChannelConstraints = new GridBagConstraints();\r\n\t\tcboLeftOutputChannelConstraints.fill = GridBagConstraints.NONE;\r\n\t\tcboLeftOutputChannelConstraints.gridy = 3;\r\n\t\tcboLeftOutputChannelConstraints.weightx = 1.0;\r\n\t\tcboLeftOutputChannelConstraints.anchor = GridBagConstraints.NORTHWEST;\r\n\t\tcboLeftOutputChannelConstraints.insets = new Insets(5, 5, 5, 5);\r\n\t\tcboLeftOutputChannelConstraints.gridx = 1;\r\n\t\t\r\n\t\tGridBagConstraints btnInterfacesConstraints = new GridBagConstraints();\r\n\t\tbtnInterfacesConstraints.gridx = 0;\r\n\t\tbtnInterfacesConstraints.gridy = 1;\r\n\t\tbtnInterfacesConstraints.gridwidth = 1;\r\n\t\tbtnInterfacesConstraints.anchor = GridBagConstraints.NORTHWEST;\r\n\t\tbtnInterfacesConstraints.insets = new Insets(5, 5, 5, 5);\r\n\t\tbtnInterfacesConstraints.gridheight = 1;\r\n\t\t\r\n\t\tGridBagConstraints btnRecordConstraints = new GridBagConstraints();\r\n\t\tbtnRecordConstraints.gridx = 2;\r\n\t\tbtnRecordConstraints.gridy = 4;\r\n\t\tbtnRecordConstraints.gridheight = 1;\r\n\t\tbtnRecordConstraints.anchor = GridBagConstraints.NORTHWEST;\r\n\t\tbtnRecordConstraints.insets = new Insets(5, 5, 5, 5);\r\n\t\tbtnRecordConstraints.gridwidth = 1;\r\n\t\t\r\n\t\tGridBagConstraints lblInterfacesConstraints = new GridBagConstraints();\r\n\t\tlblInterfacesConstraints.gridx = 0;\r\n\t\tlblInterfacesConstraints.insets = new Insets(5, 5, 5, 5);\r\n\t\tlblInterfacesConstraints.anchor = GridBagConstraints.SOUTHWEST;\r\n\t\tlblInterfacesConstraints.gridy = 2;\r\n\t\t\r\n\t\tGridBagConstraints lstInterfacesConstaints = new GridBagConstraints();\r\n\t\tlstInterfacesConstaints.gridx = 0;\r\n\t\tlstInterfacesConstaints.fill = GridBagConstraints.BOTH;\r\n\t\tlstInterfacesConstaints.anchor = GridBagConstraints.NORTHWEST;\r\n\t\tlstInterfacesConstaints.gridheight = 3;\r\n\t\tlstInterfacesConstaints.weightx = 0.5;\r\n\t\tlstInterfacesConstaints.weighty = 0.5;\r\n\t\tlstInterfacesConstaints.gridy = 3;\r\n\t\t\r\n\t\tGridBagConstraints lblLeftOutputChannelConstraints = new GridBagConstraints();\r\n\t\tlblLeftOutputChannelConstraints.gridx = 1;\r\n\t\tlblLeftOutputChannelConstraints.gridy = 2;\r\n\t\tlblLeftOutputChannelConstraints.gridheight = 1;\r\n\t\tlblLeftOutputChannelConstraints.insets = new Insets(5, 5, 5, 5);\r\n\t\tlblLeftOutputChannelConstraints.anchor = GridBagConstraints.SOUTHWEST;\r\n\t\tlblLeftOutputChannelConstraints.gridwidth = 1;\r\n\r\n\t\tGridBagConstraints lblRightOutputChannelConstraints = new GridBagConstraints();\r\n\t\tlblRightOutputChannelConstraints.gridx = 1;\r\n\t\tlblRightOutputChannelConstraints.gridy = 4;\r\n\t\tlblRightOutputChannelConstraints.gridheight = 1;\r\n\t\tlblRightOutputChannelConstraints.insets = new Insets(5, 5, 5, 5);\r\n\t\tlblRightOutputChannelConstraints.anchor = GridBagConstraints.SOUTHWEST;\r\n\t\tlblRightOutputChannelConstraints.gridwidth = 1;\r\n\t\t\r\n\t\tGridBagConstraints lblInputChannelConstraints = new GridBagConstraints();\r\n\t\tlblInputChannelConstraints.gridx = 1;\r\n\t\tlblInputChannelConstraints.gridy = 6;\r\n\t\tlblInputChannelConstraints.gridheight = 1;\r\n\t\tlblInputChannelConstraints.insets = new Insets(5, 5, 5, 5);\r\n\t\tlblInputChannelConstraints.anchor = GridBagConstraints.SOUTHWEST;\r\n\t\tlblInputChannelConstraints.gridwidth = 1;\r\n\r\n\t\tGridBagConstraints cboInputChannelConstraints = new GridBagConstraints();\r\n\t\tcboInputChannelConstraints.fill = GridBagConstraints.NONE;\r\n\t\tcboInputChannelConstraints.gridy = 7;\r\n\t\tcboInputChannelConstraints.weightx = 1.0;\r\n\t\tcboInputChannelConstraints.anchor = GridBagConstraints.NORTHWEST;\r\n\t\tcboInputChannelConstraints.insets = new Insets(5, 5, 5, 5);\r\n\t\tcboInputChannelConstraints.gridx = 1;\r\n\r\n\t\tGridBagConstraints lblSamplingRateConstraints = new GridBagConstraints();\r\n\t\tlblSamplingRateConstraints.gridx = 2;\r\n\t\tlblSamplingRateConstraints.gridy = 2;\r\n\t\tlblSamplingRateConstraints.gridheight = 1;\r\n\t\tlblSamplingRateConstraints.insets = new Insets(5, 5, 5, 5);\r\n\t\tlblSamplingRateConstraints.anchor = GridBagConstraints.SOUTHWEST;\r\n\t\tlblSamplingRateConstraints.gridwidth = 1;\r\n\r\n\t\tGridBagConstraints cboSamplingRateConstraints = new GridBagConstraints();\r\n\t\tcboSamplingRateConstraints.fill = GridBagConstraints.NONE;\r\n\t\tcboSamplingRateConstraints.gridy = 3;\r\n\t\tcboSamplingRateConstraints.weightx = 1.0;\r\n\t\tcboSamplingRateConstraints.anchor = GridBagConstraints.NORTHWEST;\r\n\t\tcboSamplingRateConstraints.insets = new Insets(5, 5, 5, 5);\r\n\t\tcboSamplingRateConstraints.gridx = 2;\r\n\t\t\r\n\t\tGridBagConstraints bottomRowConstraint = new GridBagConstraints();\r\n\t\tbottomRowConstraint.gridx = 0;\r\n\t\tbottomRowConstraint.gridy = 11;\r\n\t\tbottomRowConstraint.gridwidth = 3;\r\n\t\tbottomRowConstraint.fill = GridBagConstraints.BOTH;\r\n\t\tbottomRowConstraint.weightx = 0.0;\r\n\t\tbottomRowConstraint.weighty = 0.0;\r\n\r\n\r\n\t\tthis.add(getPnlTopSpace(), topRowConstraint);\r\n\t\tthis.add(getBtnInterfaces(), btnInterfacesConstraints);\r\n\t\tthis.add(getLblPlaybackInterfaces(), lblInterfacesConstraints);\r\n\t\tthis.add(getLstInterfaces(), lstInterfacesConstaints);\r\n\t\tthis.add(getLblLeftOutputChannel(), lblLeftOutputChannelConstraints);\r\n\t\tthis.add(getCboLeftOutputChannel(), cboLeftOutputChannelConstraints);\r\n\t\tthis.add(getLblRightOutputChannel(), lblRightOutputChannelConstraints);\r\n\t\tthis.add(getCboRightOutputChannel(), cboRightOutputChannelConstraints);\r\n\t\tthis.add(getLblInputChannel(), lblInputChannelConstraints);\r\n\t\tthis.add(getCboInputChannel(), cboInputChannelConstraints);\r\n\t\tthis.add(getLblSamplingRate(), lblSamplingRateConstraints);\r\n\t\tthis.add(getCboSamplingRate(), cboSamplingRateConstraints);\r\n\t\tthis.add(getBtnRecord(), btnRecordConstraints);\r\n\t\tthis.add(getPnlBottomSpace(), bottomRowConstraint);\r\n\t\tthis.add(getLstRecordingInterfaces(), lstRecordingInterfacesConstraints);\r\n\t\tthis.add(lblRecordingInterfaces, gridBagConstraints);\r\n\t\tthis.add(lblLeftChannelPeak, gridBagConstraints1);\r\n\t\tthis.add(lblRightChannelPeak, gridBagConstraints2);\r\n\t}","title":""},{"docid":"00ffe44642f2aebf13904e3d7150d5df","score":"0.47811848","text":"@Test\r\n\tpublic void testECVCG_LLG1() throws IloException \r\n\t{\r\n\t\tIloCplex cplexSolver = new IloCplex();\r\n\t\tList items = new LinkedList();\r\n\t\titems.add(1);\r\n\t\titems.add(2);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tList bundle = new LinkedList();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tdouble marginalValue = 0.1;\r\n\t\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t1 = new CombinatorialType();\r\n\t\tt1.addAtomicBid(atom11);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tbundle = new LinkedList();\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.2;\r\n\t\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t2 = new CombinatorialType();\r\n\t\tt2.addAtomicBid(atom21);\r\n\t\t\r\n\t\t//Global bidder\r\n\t\tbundle = new LinkedList();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.35;\r\n\t\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t3 = new CombinatorialType();\r\n\t\tt3.addAtomicBid(atom31);\r\n\t\t\r\n\t\tList bids = new LinkedList();\r\n\t\tbids.add(t1);\r\n\t\tbids.add(t2);\r\n\t\tbids.add(t3);\r\n\t\t\r\n\t\tList costs = new LinkedList();\r\n\t\tcosts.add(0.05);\r\n\t\tcosts.add(0.1);\r\n\t\t\r\n\t\tGridGenerator generator = new GridGenerator(1, 2);\r\n\t\tgenerator.setSeed(0);\r\n\t\tgenerator.buildProximityGraph();\r\n\t\tGraph grid = generator.getGrid();\r\n\t\t\r\n\t\tassertTrue(grid.getVertices().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\r\n\t\t\r\n\t\tdouble primaryReductionCoef = 0.3;\r\n\t\tdouble secondaryReductionCoef = 0.2;\r\n\t\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\r\n\t\tjpmf.setNumberOfSamples(1000000);\r\n\t\tjpmf.setNumberOfBombsToThrow(1);\r\n\t\t\r\n\t\tIBombingStrategy b = new FocusedBombingStrategy(grid, 1., primaryReductionCoef, secondaryReductionCoef);\r\n\t\tList bombs = new LinkedList();\r\n\t\tbombs.add(b);\r\n\t\t\r\n\t\tList probDistribution = new LinkedList();\r\n\t\tprobDistribution.add(1.);\r\n\t\t\r\n\t\tjpmf.setBombs(bombs, probDistribution);\r\n\t\tjpmf.update();\r\n\t\t\r\n\t\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\r\n\t\tauction.setSolver(cplexSolver);\r\n\t\tauction.setSeed(0);\r\n\t\ttry\r\n\t\t{\r\n\t\t\tauction.solveIt();\r\n\t\t\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\r\n\t\t\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\r\n\t\t\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.14 ) < 1e-4);\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).size() == 1 );\r\n\t\t\t\r\n\t\t\t//Get allocated buyers involved in the trade \r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 3 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 1 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\t\t\r\n\t\t\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6) );\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.getRealizedRV(0, 0) == 0.7);\r\n\t\t\tassertTrue( allocation.getRealizedRVsPerGood(0).size() == 2 );\r\n\t\t\tassertTrue( (allocation.getRealizedRVsPerGood(0).get(0) == (1.-primaryReductionCoef)) || (allocation.getRealizedRVsPerGood(0).get(0) == (1.-secondaryReductionCoef)));\r\n\t\t\tif( allocation.getRealizedRVsPerGood(0).get(0) == (1.-primaryReductionCoef) )\r\n\t\t\t\tassertTrue(allocation.getRealizedRVsPerGood(0).get(1) == (1.-secondaryReductionCoef));\r\n\t\t\telse if( allocation.getRealizedRVsPerGood(0).get(0) == (1.-secondaryReductionCoef) )\r\n\t\t\t\tassertTrue(allocation.getRealizedRVsPerGood(0).get(1) == (1.-primaryReductionCoef));\r\n\t\t\t\r\n\t\t\tdouble[] payments = auction.getPayments();\r\n\t\t\tassertTrue( payments.length == 1);\r\n\t\t\t\r\n\t\t\t//System.out.println(\"Realized value = \" + allocation.getRealizedRV(0, 0) + \" p=\"+payments[0]);\r\n\t\t\tif( allocation.getRealizedRV(0, 0) == 0.7 )\t\t\t\t\t\t//Min{0.7, 0.8}\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.2175 ) < 1e-4);\r\n\t\t\t//else if( allocation.getRealizedRV(0, 0) == 0.8 )\r\n\t\t\t//\tassertTrue( Math.abs( payments[0] - 0.2225 ) < 1e-4);\r\n\t\t\telse throw new RuntimeException(\"Wrong realized value\");\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.isAllocated(0) );\r\n\t\t\tassertTrue(!allocation.isAllocated(1) );\r\n\t\t\tassertTrue(!allocation.isAllocated(2) );\r\n\t\t\tassertTrue( allocation.isAllocated(3) );\r\n\t\t}\r\n\t\tcatch (Exception e) \r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}","title":""},{"docid":"ef021924854dbf4cabb54452680df826","score":"0.47810593","text":"public B6DSLBoundedTemplate() {\n super();\n }","title":""},{"docid":"ebe67821eb417171a413303eca45e7fb","score":"0.47644618","text":"public void setValueConstrains(int minValue, int maxValue) {\n \t\tthis.minValue = minValue;\n \t\tthis.maxValue = maxValue;\n \t}","title":""},{"docid":"93943544cc3973e721c1c9500fc9ab4e","score":"0.4761996","text":"public void setBounded(boolean bounded) {\r\n this.bounded = bounded;\r\n }","title":""},{"docid":"f010ad736449bc9208ac3c9f56d6f819","score":"0.47544873","text":"private void initGrid()\n\t{\n\t\tMap chitsAvailable = getChitsAvailable();\n\t\tMap resourcesAvailable = getResourcesAvailable();\n\n\t\t// for each column\n\t\tfor (int x = -SIZE_OF_GRID; x <= SIZE_OF_GRID; x++)\n\t\t{\n\t\t\t// for each row\n\t\t\tfor (int y = -SIZE_OF_GRID; y <= SIZE_OF_GRID; y++)\n\t\t\t{\n\t\t\t\t// If in boundaries\n\t\t\t\tif (inBoundries(x, y))\n\t\t\t\t{\n\n\t\t\t\t\t// Condition for whether or not the coordinate is a hex.\n\t\t\t\t\tif (Math.abs(x + y) % 3 == 0 || x + y == 0) // TODO make\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// more generic.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// NO magic\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// number\n\t\t\t\t\t{\n\t\t\t\t\t\tHex hex = new Hex(x, y);\n\n\t\t\t\t\t\tallocateResource(hex, chitsAvailable, resourcesAvailable);\n\t\t\t\t\t\tgrid.put(new Point(x, y), hex);\n\t\t\t\t\t}\n\n\t\t\t\t\t// Condition for whether or not the coordinate is a node\n\t\t\t\t\telse\n\t\t\t\t\t\tnodes.put(new Point(x, y), new Node(x, y));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tsetUpReferences();\n\t\tmakePorts();\n\t}","title":""},{"docid":"5c542c6e951e825959ef53d63e32e15d","score":"0.4751503","text":"public ConwayGrid(int mysize){\n\t\tsuper(mysize);\n\t\t\n\t\n\t}","title":""},{"docid":"9f833f672a173fa9b768a5b2d1d9b360","score":"0.474957","text":"@Test\r\n\tpublic void testECVCG_LLG() throws IloException \r\n\t{\r\n\t\tIloCplex cplexSolver = new IloCplex();\r\n\t\tList items = Arrays.asList(1, 2);\r\n\t\t\r\n\t\t//Local bidder \r\n\t\tList bundle = new LinkedList();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tdouble marginalValue = 0.1;\r\n\t\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t1 = new CombinatorialType();\r\n\t\tt1.addAtomicBid(atom11);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tbundle = new LinkedList();\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.2;\r\n\t\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t2 = new CombinatorialType();\r\n\t\tt2.addAtomicBid(atom21);\r\n\t\t\r\n\t\t//Global bidder\r\n\t\tbundle = new LinkedList();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.15;\r\n\t\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t3 = new CombinatorialType();\r\n\t\tt3.addAtomicBid(atom31);\r\n\t\t\r\n\t\tList bids = new LinkedList();\r\n\t\tbids.add(t1);\r\n\t\tbids.add(t2);\r\n\t\tbids.add(t3);\r\n\t\t\r\n\t\tList costs = new LinkedList();\r\n\t\tcosts.add(0.05);\r\n\t\tcosts.add(0.1);\r\n\t\t\r\n\t\tGridGenerator generator = new GridGenerator(1, 2);\r\n\t\tgenerator.setSeed(0);\r\n\t\tgenerator.buildProximityGraph();\r\n\t\tGraph grid = generator.getGrid();\r\n\t\t\r\n\t\tassertTrue(grid.getVertices().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\r\n\t\t\r\n\t\tdouble primaryReductionCoef = 1.0;\r\n\t\tdouble secondaryReductionCoef = 0.5;\r\n\t\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\r\n\t\tjpmf.setNumberOfSamples(1000000);\r\n\t\tjpmf.setNumberOfBombsToThrow(1);\r\n\t\t\r\n\t\tIBombingStrategy b = new FocusedBombingStrategy(grid, 1, primaryReductionCoef, secondaryReductionCoef);\r\n\t\tList bombingStrategies = new LinkedList();\r\n\t\t\r\n\t\tList probDistribution = new LinkedList();\r\n\t\tprobDistribution.add(1.);\r\n\t\t\r\n\t\tbombingStrategies.add(b);\r\n\t\tjpmf.setBombs(bombingStrategies, probDistribution);\r\n\t\tjpmf.update();\r\n\t\t\r\n\t\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\r\n\t\tauction.setSolver(cplexSolver);\r\n\t\tauction.setSeed(0);\r\n\t\ttry\r\n\t\t{\r\n\t\t\tauction.solveIt();\r\n\t\t\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\r\n\t\t\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\r\n\t\t\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.0375 ) < 1e-4);\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).size() == 2 );\r\n\t\t\t\r\n\t\t\t//Get allocated buyers involved in the trade \r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 1 );\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(1) == 2 );\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 2 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\t\t//First bidder gets its first bid\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(1) == 0 );\t\t//Second bidder gets its first bid\t\t\r\n\t\t\t\r\n\t\t\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6) );\r\n\t\t\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 1) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 1) - (1.-secondaryReductionCoef)) < 1e-6) );\r\n\t\t\t\r\n\t\t\tif((Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6))\r\n\t\t\t{\r\n\t\t\t\tassertTrue( allocation.getRealizedRVsPerGood(0).size() == 2 );\r\n\t\t\t\tassertTrue( allocation.getRealizedRVsPerGood(0).get(0) == 1.-primaryReductionCoef );\r\n\t\t\t}\r\n\t\t\telse if ((Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6))\r\n\t\t\t{\r\n\t\t\t\tassertTrue( allocation.getRealizedRVsPerGood(0).size() == 2 );\r\n\t\t\t\tassertTrue( allocation.getRealizedRVsPerGood(0).get(0) == 1.-secondaryReductionCoef );\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tdouble[] payments = auction.getPayments();\r\n\t\t\tassertTrue( payments.length == 2);\r\n\t\t\t\r\n\t\t\tif( allocation.getRealizedRV(0, 0) == 0.5 )\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.025 ) < 1e-4);\r\n\t\t\telse if( allocation.getRealizedRV(0, 0) == 0. )\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0. ) < 1e-4);\r\n\t\t\t\r\n\t\t\tif( allocation.getRealizedRV(0, 1) == 0.5 )\r\n\t\t\t\tassertTrue( Math.abs( payments[1] - 0.05 ) < 1e-4);\r\n\t\t\telse if( allocation.getRealizedRV(0, 1) == 0. )\r\n\t\t\t\tassertTrue( Math.abs( payments[1] - 0. ) < 1e-4);\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.isAllocated(0) );\r\n\t\t\tassertTrue( allocation.isAllocated(1) );\r\n\t\t\tassertTrue( allocation.isAllocated(2) );\r\n\t\t\tassertTrue(!allocation.isAllocated(3) );\r\n\t\t}\r\n\t\tcatch (Exception e) \r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}","title":""},{"docid":"5935bc71ee3854a954ca11ee313c13a1","score":"0.4743987","text":"public IntArrayBag( int initialCapacity ) {\r\n \r\n // First check if the parameter is zero or less. \r\n // Throw an exception if true.\r\n \r\n if (initialCapacity < 0)\r\n\r\n throw new IllegalArgumentException( \"The initialCapacity is negative: \" + initialCapacity );\r\n \r\n // Inizialize the instance variables.\r\n\r\n data = new int[initialCapacity];\r\n \r\n // Each bag starts with zero items.\r\n \r\n manyItems = 0;\r\n \r\n }","title":""},{"docid":"1479ae915966c7fc45b528e98d6c7fc9","score":"0.47427195","text":"public void initState() {\n\t\tfor (int i = 0; i < values.length; i++) {\n\t\t\tif (!constrainedIndexes[i]) {\n\t\t\t\tvalues[i] = fixedConstrains[i].getRandom();\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"ae05efff4576d9eddf2824166be71914","score":"0.47256303","text":"public GeoConstraints() {\n }","title":""},{"docid":"25f28cb6df6ced56817a338e01d4dbd1","score":"0.4717826","text":"@Test\r\n\tpublic void testECVCG_LLG2() throws IloException \r\n\t{\r\n\t\tIloCplex cplexSolver = new IloCplex();\r\n\t\tList items = new LinkedList();\r\n\t\titems.add(1);\r\n\t\titems.add(2);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tList bundle = new LinkedList();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tdouble marginalValue = 0.1;\r\n\t\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t1 = new CombinatorialType();\r\n\t\tt1.addAtomicBid(atom11);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tbundle = new LinkedList();\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.2;\r\n\t\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t2 = new CombinatorialType();\r\n\t\tt2.addAtomicBid(atom21);\r\n\t\t\r\n\t\t//Global bidder\r\n\t\tbundle = new LinkedList();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.3;\r\n\t\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t3 = new CombinatorialType();\r\n\t\tt3.addAtomicBid(atom31);\r\n\t\t\r\n\t\tList bids = new LinkedList();\r\n\t\tbids.add(t1);\r\n\t\tbids.add(t2);\r\n\t\tbids.add(t3);\r\n\t\t\r\n\t\tList costs = new LinkedList();\r\n\t\tcosts.add(0.05);\r\n\t\tcosts.add(0.1);\r\n\t\t\r\n\t\tGridGenerator generator = new GridGenerator(1, 2);\r\n\t\tgenerator.setSeed(0);\r\n\t\tgenerator.buildProximityGraph();\r\n\t\tGraph grid = generator.getGrid();\r\n\t\t\r\n\t\tassertTrue(grid.getVertices().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\r\n\t\t\r\n\t\tdouble primaryReductionCoef = 0.3;\r\n\t\tdouble secondaryReductionCoef = 0.2;\r\n\t\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\r\n\t\tjpmf.setNumberOfSamples(1000000);\r\n\t\tjpmf.setNumberOfBombsToThrow(1);\r\n\t\t\r\n\t\tIBombingStrategy b = new FocusedBombingStrategy(grid, 1, primaryReductionCoef, secondaryReductionCoef);\r\n\t\tList bombs = new LinkedList();\r\n\t\tbombs.add(b);\r\n\t\t\r\n\t\tList probDistribution = new LinkedList();\r\n\t\tprobDistribution.add(1.);\r\n\t\t\r\n\t\tjpmf.setBombs(bombs, probDistribution);\r\n\t\tjpmf.update();\r\n\t\t\r\n\t\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\r\n\t\tauction.setSolver(cplexSolver);\r\n\t\tauction.setSeed(0);\r\n\t\ttry\r\n\t\t{\r\n\t\t\tauction.solveIt();\r\n\t\t\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\r\n\t\t\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\r\n\t\t\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.1125 ) < 1e-4);\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).size() == 2 );\r\n\t\t\t\r\n\t\t\t//Get allocated buyers involved in the trade \r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 1 );\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(1) == 2 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 2 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\t\t\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(1) == 0 );\r\n\t\t\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6) );\r\n\t\t\t\r\n\t\t\tdouble[] payments = auction.getPayments();\r\n\t\t\tassertTrue( payments.length == 2);\r\n\t\t\t\r\n\t\t\t//System.out.println(\"Realized value = \" + allocation.getRealizedRV(0, 0) + \" p=\"+payments[1]);\r\n\t\t\tif( allocation.getRealizedRV(0, 0) == 0.7 )\r\n\t\t\t{\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.065 ) < 1e-4);\r\n\t\t\t\tassertTrue( Math.abs( payments[1] - 0.1475) < 1e-4);\r\n\t\t\t}\r\n\t\t\telse if( allocation.getRealizedRV(0, 0) == 0.8 )\r\n\t\t\t{\t\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.07 ) < 1e-4);\r\n\t\t\t\tassertTrue( Math.abs( payments[1] - 0.1375) < 1e-4);\r\n\t\t\t}\r\n\t\t\telse throw new RuntimeException(\"Wrong realized value\");\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.isAllocated(0) );\r\n\t\t\tassertTrue( allocation.isAllocated(1) );\r\n\t\t\tassertTrue( allocation.isAllocated(2) );\r\n\t\t\tassertTrue(!allocation.isAllocated(3) );\r\n\t\t}\r\n\t\tcatch (Exception e) \r\n\t\t{ \r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}","title":""},{"docid":"92510008184a36cd724191b80a4d9912","score":"0.4717275","text":"@Test\r\n\tpublic void testECCVCG_LLG1() throws IloException \r\n\t{\r\n\t\tIloCplex cplexSolver = new IloCplex();\r\n\t\tList items = new LinkedList();\r\n\t\titems.add(1);\r\n\t\titems.add(2);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tList bundle = new LinkedList();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tdouble marginalValue = 0.1;\r\n\t\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t1 = new CombinatorialType();\r\n\t\tt1.addAtomicBid(atom11);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tbundle = new LinkedList();\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.2;\r\n\t\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t2 = new CombinatorialType();\r\n\t\tt2.addAtomicBid(atom21);\r\n\t\t\r\n\t\t//Global bidder\r\n\t\tbundle = new LinkedList();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.35;\r\n\t\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t3 = new CombinatorialType();\r\n\t\tt3.addAtomicBid(atom31);\r\n\t\t\r\n\t\tList bids = new LinkedList();\r\n\t\tbids.add(t1);\r\n\t\tbids.add(t2);\r\n\t\tbids.add(t3);\r\n\t\t\r\n\t\tList costs = new LinkedList();\r\n\t\tcosts.add(0.05);\r\n\t\tcosts.add(0.1);\r\n\t\t\r\n\t\tGridGenerator generator = new GridGenerator(1, 2);\r\n\t\tgenerator.setSeed(0);\r\n\t\tgenerator.buildProximityGraph();\r\n\t\tGraph grid = generator.getGrid();\r\n\t\t\r\n\t\tassertTrue(grid.getVertices().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\r\n\t\t\r\n\t\tdouble primaryReductionCoef = 0.3;\r\n\t\tdouble secondaryReductionCoef = 0.2;\r\n\t\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\r\n\t\tjpmf.setNumberOfSamples(1000000);\r\n\t\tjpmf.setNumberOfBombsToThrow(1);\r\n\t\t\r\n\t\tIBombingStrategy b = new FocusedBombingStrategy(grid, 1., primaryReductionCoef, secondaryReductionCoef);\r\n\t\tList bombs = new LinkedList();\r\n\t\tbombs.add(b);\r\n\t\t\r\n\t\tList pd = new LinkedList();\r\n\t\tpd.add(1.);\r\n\t\t\r\n\t\tjpmf.setBombs(bombs, pd);\r\n\t\tjpmf.update();\r\n\t\t\r\n\t\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\r\n\t\tauction.setSolver(cplexSolver);\r\n\t\tauction.setPaymentRule(\"ECC-VCG_LLG\");\r\n\t\tauction.setSeed(0);\r\n\t\ttry\r\n\t\t{\r\n\t\t\tauction.solveIt();\r\n\t\t\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\r\n\t\t\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\r\n\t\t\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.14 ) < 1e-4);\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).size() == 1 );\r\n\t\t\t\r\n\t\t\t//Get allocated buyers involved in the trade \r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 3 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 1 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\t\t\r\n\t\t\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6) );\r\n\t\t\t\r\n\t\t\tdouble[] payments = auction.getPayments();\r\n\t\t\tassertTrue( payments.length == 1);\r\n\t\t\t\r\n\t\t\tSystem.out.println(\"Realized value = \" + allocation.getRealizedRV(0, 0) + \" p=\"+payments[0]);\r\n\t\t\tassertTrue(allocation.getRealizedRV(0, 0) == 0.7);\r\n\t\t\t\r\n\t\t\tif( allocation.getRealizedRVsPerGood(0).get(0) == 0.7 )\t\t\t\t\t\t//Min{0.7, 0.8}\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.22 ) < 1e-4);\r\n\t\t\telse if( allocation.getRealizedRVsPerGood(0).get(0) == 0.8 )\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.215 ) < 1e-4);\r\n\t\t\telse throw new RuntimeException(\"Wrong realized value\");\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.isAllocated(0) );\r\n\t\t\tassertTrue(!allocation.isAllocated(1) );\r\n\t\t\tassertTrue(!allocation.isAllocated(2) );\r\n\t\t\tassertTrue( allocation.isAllocated(3) );\r\n\t\t}\r\n\t\tcatch (Exception e) \r\n\t\t{\r\n\t\t\te.printStackTrace(); \r\n\t\t}\r\n\t}","title":""},{"docid":"339566701a858924bbc5d249df969dec","score":"0.4715284","text":"public BubbleGrid(Vector2 origin) {\n this.origin = origin;\n }","title":""},{"docid":"8f52e8d35ab380c9995cb173bb8499ad","score":"0.47129995","text":"private void setupConstraints() {\n ConstraintBuilder builder;\n\n for (Event event : tournament.getEvents()) {\n // Restricciones de equipos\n if (event.hasTeams()) {\n builder = new ConstraintBuilder(new TeamsConstraint(event));\n constraints.addAll(builder.getConstraints());\n }\n\n // Restricciones de modo de enfrentamiento\n if (event.getMatchesPerPlayer() > 1 && event.getPlayersPerMatch() > 1) {\n MatchupMode mode = event.getMatchupMode();\n if (mode == MatchupMode.ALL_DIFFERENT || mode == MatchupMode.ALL_EQUAL) {\n builder = new ConstraintBuilder(new MatchupModeConstraint(event));\n constraints.addAll(builder.getConstraints());\n }\n }\n\n // Restricciones de suma de partidos\n builder = new ConstraintBuilder(new TotalMatchesConstraint(event));\n constraints.addAll(builder.getConstraints());\n\n // Restricciones de emparejamientos predefinidos\n if (event.hasPredefinedMatchups()) {\n builder = new ConstraintBuilder(new PredefinedMatchupsConstraint(event));\n constraints.addAll(builder.getConstraints());\n }\n\n // Restricciones de número de partidos por jugador\n builder = new ConstraintBuilder(new MatchesPerPlayerConstraint(event));\n constraints.addAll(builder.getConstraints());\n\n // Restricciones de número de jugadores en la misma pista\n builder = new ConstraintBuilder(new LocalizationOccupationConstraint(event));\n constraints.addAll(builder.getConstraints());\n }\n\n // Restricciones que mapean los comienzos de los partidos\n //builder = new ConstraintBuilder(new MatchStartMappingConstraint(tournament));\n //constraints.addAll(builder.getConstraints());\n\n // Restricciones que mapean los partidos\n builder = new ConstraintBuilder(new MatchMappingConstraint(tournament));\n constraints.addAll(builder.getConstraints());\n\n // Restricciones de jugadores de distintas categorías en la misma pista\n builder = new ConstraintBuilder(new LocalizationCollisionConstraint(tournament));\n constraints.addAll(builder.getConstraints());\n\n // Restricciones de jugador en la misma pista a la misma hora en distintas categorías\n builder = new ConstraintBuilder(new PlayerNotSimultaneousConstraint(tournament));\n constraints.addAll(builder.getConstraints());\n }","title":""},{"docid":"aa53b4ed9177e21b5272366ff16e7de2","score":"0.4710205","text":"private _02_architecture_constraintsPackage() {}","title":""},{"docid":"b24416e91411116704a2fea8a9b40e15","score":"0.46988508","text":"private void addGridBagComponent(Component c, int row, GridBagConstraints constraints) {\n constraints.gridx = 1;\n constraints.gridy = row;\n constraints.gridheight = 1;\n constraints.gridwidth = GridBagConstraints.REMAINDER;\n constraints.fill = GridBagConstraints.NONE;\n constraints.weightx = 1.0;\n add(c, constraints);\n }","title":""},{"docid":"25a30787d2f8dcc754ded991a220a61b","score":"0.46961606","text":"@Override\r\n public void construct(List coinKinds, int selectionButtonCount, int coinRackCapacity, int popCanRackCapacity, int receptacleCapacity) {\n \tint[] coinKindList = new int[coinKinds.size()]; \r\n \tfor (int i = 0; i < coinKinds.size(); i++) { \r\n \t\tcoinKindList[i] = coinKinds.get(i);\r\n \t}\r\n \t\r\n \t//Construct the vending machine\r\n \tvendingMachine = new VendingMachine(coinKindList, selectionButtonCount, coinRackCapacity, popCanRackCapacity, receptacleCapacity);\r\n }","title":""},{"docid":"97dc3fa8e1f5f6f608e25367530793a9","score":"0.46915746","text":"@Test\r\n\tpublic void testECCVCG_LLG() throws IloException \r\n\t{\r\n\t\tIloCplex cplexSolver = new IloCplex();\r\n\t\tList items = new LinkedList();\r\n\t\titems.add(1);\r\n\t\titems.add(2);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tList bundle = new LinkedList();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tdouble marginalValue = 0.1;\r\n\t\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t1 = new CombinatorialType();\r\n\t\tt1.addAtomicBid(atom11);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tbundle = new LinkedList();\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.2;\r\n\t\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t2 = new CombinatorialType();\r\n\t\tt2.addAtomicBid(atom21);\r\n\t\t\r\n\t\t//Global bidder\r\n\t\tbundle = new LinkedList();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.15;\r\n\t\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t3 = new CombinatorialType();\r\n\t\tt3.addAtomicBid(atom31);\r\n\t\t\r\n\t\tList bids = new LinkedList();\r\n\t\tbids.add(t1);\r\n\t\tbids.add(t2);\r\n\t\tbids.add(t3);\r\n\t\t\r\n\t\tList costs = new LinkedList();\r\n\t\tcosts.add(0.05);\r\n\t\tcosts.add(0.1);\r\n\t\t\r\n\t\tGridGenerator generator = new GridGenerator(1, 2);\r\n\t\tgenerator.setSeed(0);\r\n\t\tgenerator.buildProximityGraph();\r\n\t\tGraph grid = generator.getGrid();\r\n\t\t\r\n\t\tassertTrue(grid.getVertices().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\r\n\t\t\r\n\t\tdouble primaryReductionCoef = 1.0;\r\n\t\tdouble secondaryReductionCoef = 0.5;\r\n\t\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\r\n\t\tjpmf.setNumberOfSamples(1000000);\r\n\t\tjpmf.setNumberOfBombsToThrow(1);\r\n\t\t\r\n\t\tIBombingStrategy b = new FocusedBombingStrategy(grid, 1, primaryReductionCoef, secondaryReductionCoef);\r\n\t\tList bombs = new LinkedList();\r\n\t\tbombs.add(b);\r\n\t\t\r\n\t\tList probDistribution = new LinkedList();\r\n\t\tprobDistribution.add(1.);\r\n\t\t\r\n\t\tjpmf.setBombs(bombs, probDistribution);\r\n\t\tjpmf.update();\r\n\t\t\r\n\t\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\r\n\t\tauction.setPaymentRule(\"ECC-VCG_LLG\");\r\n\t\tauction.setSolver(cplexSolver);\r\n\t\tauction.setSeed(0);\r\n\t\ttry\r\n\t\t{\r\n\t\t\tauction.solveIt();\r\n\t\t\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\r\n\t\t\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\r\n\t\t\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.0375 ) < 1e-4);\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).size() == 2 );\r\n\t\t\t\r\n\t\t\t//Get allocated buyers involved in the trade \r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 1 );\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(1) == 2 );\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 2 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\t\t//First bidder gets its first bid\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(1) == 0 );\t\t//Second bidder gets its first bid\t\t\r\n\t\t\t\r\n\t\t\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6) );\r\n\t\t\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 1) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 1) - (1.-secondaryReductionCoef)) < 1e-6) );\r\n\t\t\t\r\n\t\t\tdouble[] payments = auction.getPayments();\r\n\t\t\tassertTrue( payments.length == 2);\r\n\t\t\t\r\n\t\t\tif( allocation.getRealizedRV(0, 0) == 0.5 )\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.025 ) < 1e-4);\r\n\t\t\telse if( allocation.getRealizedRV(0, 0) == 0. )\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0. ) < 1e-4);\r\n\t\t\t\r\n\t\t\tif( allocation.getRealizedRV(0, 1) == 0.5 )\r\n\t\t\t\tassertTrue( Math.abs( payments[1] - 0.05 ) < 1e-4);\r\n\t\t\telse if( allocation.getRealizedRV(0, 1) == 0. )\r\n\t\t\t\tassertTrue( Math.abs( payments[1] - 0. ) < 1e-4);\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.isAllocated(0) );\r\n\t\t\tassertTrue( allocation.isAllocated(1) );\r\n\t\t\tassertTrue( allocation.isAllocated(2) );\r\n\t\t\tassertTrue(!allocation.isAllocated(3) );\r\n\t\t}\r\n\t\tcatch (Exception e) \r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}","title":""},{"docid":"c965a1c52b9ccd41ad6e94e2a561781f","score":"0.46815646","text":"@Test\r\n\tpublic void testECRVCG_LLG1() throws IloException \r\n\t{\r\n\t\tIloCplex cplexSolver = new IloCplex();\r\n\t\tList items = new LinkedList();\r\n\t\titems.add(1);\r\n\t\titems.add(2);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tList bundle = new LinkedList();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tdouble marginalValue = 0.1;\r\n\t\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t1 = new CombinatorialType();\r\n\t\tt1.addAtomicBid(atom11);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tbundle = new LinkedList();\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.2;\r\n\t\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t2 = new CombinatorialType();\r\n\t\tt2.addAtomicBid(atom21);\r\n\t\t\r\n\t\t//Global bidder\r\n\t\tbundle = new LinkedList();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.35;\r\n\t\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t3 = new CombinatorialType();\r\n\t\tt3.addAtomicBid(atom31);\r\n\t\t\r\n\t\tList bids = new LinkedList();\r\n\t\tbids.add(t1);\r\n\t\tbids.add(t2);\r\n\t\tbids.add(t3);\r\n\t\t\r\n\t\tList costs = new LinkedList();\r\n\t\tcosts.add(0.05);\r\n\t\tcosts.add(0.1);\r\n\t\t\r\n\t\tGridGenerator generator = new GridGenerator(1, 2);\r\n\t\tgenerator.setSeed(0);\r\n\t\tgenerator.buildProximityGraph();\r\n\t\tGraph grid = generator.getGrid();\r\n\t\t\r\n\t\tassertTrue(grid.getVertices().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\r\n\t\t\r\n\t\tdouble primaryReductionCoef = 0.3;\r\n\t\tdouble secondaryReductionCoef = 0.2;\r\n\t\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\r\n\t\tjpmf.setNumberOfSamples(1000000);\r\n\t\tjpmf.setNumberOfBombsToThrow(1);\r\n\t\t\r\n\t\tIBombingStrategy b = new FocusedBombingStrategy( grid, 1, primaryReductionCoef, secondaryReductionCoef);\r\n\t\tList bombs = new LinkedList();\r\n\t\tbombs.add(b);\r\n\t\t\r\n\t\tList probDistribution = new LinkedList();\r\n\t\tprobDistribution.add(1.);\r\n\t\t\r\n\t\tjpmf.setBombs(bombs, probDistribution);\r\n\t\tjpmf.update();\r\n\t\t\r\n\t\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\r\n\t\tauction.setSolver(cplexSolver);\r\n\t\tauction.setPaymentRule(\"ECR-VCG_LLG\");\r\n\t\tauction.setSeed(0);\r\n\t\ttry\r\n\t\t{\r\n\t\t\tauction.solveIt();\r\n\t\t\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\r\n\t\t\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\r\n\t\t\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.14 ) < 1e-4);\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).size() == 1 );\r\n\t\t\t\r\n\t\t\t//Get allocated buyers involved in the trade \r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 3 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 1 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\t\t\r\n\t\t\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6) );\r\n\t\t\t\r\n\t\t\tdouble[] payments = auction.getPayments();\r\n\t\t\tassertTrue( payments.length == 1);\r\n\t\t\t\r\n\t\t\tSystem.out.println(\"Realized value = \" + allocation.getRealizedRV(0, 0) + \" p=\"+payments[0]);\r\n\t\t\tassertTrue(allocation.getRealizedRV(0, 0) == 0.7);\r\n\t\t\t\r\n\t\t\tif( allocation.getRealizedRVsPerGood(0).get(0) == 0.7 )\t\t\t\t\t\t//Min{0.7, 0.8}\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.22 ) < 1e-4);\r\n\t\t\telse if( allocation.getRealizedRVsPerGood(0).get(0) == 0.8 )\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.215 ) < 1e-4);\r\n\t\t\telse throw new RuntimeException(\"Wrong realized value\");\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.isAllocated(0) );\r\n\t\t\tassertTrue(!allocation.isAllocated(1) );\r\n\t\t\tassertTrue(!allocation.isAllocated(2) );\r\n\t\t\tassertTrue( allocation.isAllocated(3) );\r\n\t\t}\r\n\t\tcatch (Exception e) \r\n\t\t{\r\n\t\t\te.printStackTrace(); \r\n\t\t}\r\n\t}","title":""},{"docid":"7ba76cb04349ac33416988d190d3dc38","score":"0.46700838","text":"@Test\r\n\tpublic void testECCVCG_LLG3() throws IloException \r\n\t{\r\n\t\tIloCplex cplexSolver = new IloCplex();\r\n\t\tList items = new LinkedList();\r\n\t\titems.add(1);\r\n\t\titems.add(2);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tList bundle = new LinkedList();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tdouble marginalValue = 0.1;\r\n\t\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t1 = new CombinatorialType();\r\n\t\tt1.addAtomicBid(atom11);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tbundle = new LinkedList();\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.02;\r\n\t\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t2 = new CombinatorialType();\r\n\t\tt2.addAtomicBid(atom21);\r\n\t\t\r\n\t\t//Global bidder\r\n\t\tbundle = new LinkedList();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.3;\r\n\t\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t3 = new CombinatorialType();\r\n\t\tt3.addAtomicBid(atom31);\r\n\t\t\r\n\t\tList bids = new LinkedList();\r\n\t\tbids.add(t1);\r\n\t\tbids.add(t2);\r\n\t\tbids.add(t3);\r\n\t\t\r\n\t\tList costs = new LinkedList();\r\n\t\tcosts.add(0.05);\r\n\t\tcosts.add(0.21);\r\n\t\t\r\n\t\tGridGenerator generator = new GridGenerator(1, 2);\r\n\t\tgenerator.setSeed(0);\r\n\t\tgenerator.buildProximityGraph();\r\n\t\tGraph grid = generator.getGrid();\r\n\t\t\r\n\t\tassertTrue(grid.getVertices().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\r\n\t\t\r\n\t\tdouble primaryReductionCoef = 0.3;\r\n\t\tdouble secondaryReductionCoef = 0.2;\r\n\t\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\r\n\t\tjpmf.setNumberOfSamples(1000000);\r\n\t\tjpmf.setNumberOfBombsToThrow(1);\r\n\t\t\r\n\t\tIBombingStrategy b1 = new FocusedBombingStrategy(grid, 1., primaryReductionCoef, secondaryReductionCoef);\r\n\t\tIBombingStrategy b2 = new FocusedBombingStrategy(grid, 1., 0.4, 0.3);\r\n\t\tList bombs = new LinkedList();\r\n\t\tbombs.add(b1);\r\n\t\tbombs.add(b2);\r\n\t\t\r\n\t\tList pd = new LinkedList();\r\n\t\tpd.add(0.5);\r\n\t\tpd.add(0.5);\r\n\t\tjpmf.setBombs(bombs, pd);\r\n\t\tjpmf.update();\r\n\t\t\r\n\t\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\r\n\t\tauction.setSolver(cplexSolver);\r\n\t\tauction.setPaymentRule(\"ECC-VCG_LLG\");\r\n\t\tauction.setSeed(0);\r\n\t\ttry\r\n\t\t{\r\n\t\t\tauction.solveIt();\r\n\t\t\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\r\n\t\t\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\r\n\t\t\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.035 ) < 1e-4);\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).size() == 1 );\r\n\t\t\t\r\n\t\t\t//Get allocated buyers involved in the trade \r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 1 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 1 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\t\t\r\n\t\t\t\r\n\t\t\tdouble[] payments = auction.getPayments();\r\n\t\t\tassertTrue( payments.length == 1);\r\n\t\t\t\r\n\t\t\tSystem.out.println(\">> \" + allocation.getRealizedRV(0, 0) + \" payments[0]=\"+payments[0]);\r\n\t\t\tif( allocation.getRealizedRV(0, 0) == 0.6 )\r\n\t\t\t{\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.054 ) < 1e-4);\r\n\t\t\t}\r\n\t\t\telse if( allocation.getRealizedRV(0, 0) == 0.7 )\r\n\t\t\t{\t\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.061 ) < 1e-4);\r\n\t\t\t}\r\n\t\t\telse if( allocation.getRealizedRV(0, 0) == 0.8 )\r\n\t\t\t{\t\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.068 ) < 1e-4);\r\n\t\t\t} \r\n\t\t\telse throw new RuntimeException(\"Wrong realized value\");\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.isAllocated(0) );\r\n\t\t\tassertTrue( allocation.isAllocated(1) );\r\n\t\t\tassertTrue(!allocation.isAllocated(2) );\r\n\t\t\tassertTrue(!allocation.isAllocated(3) );\r\n\t\t}\r\n\t\tcatch (Exception e) \r\n\t\t{ \r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}","title":""},{"docid":"e1a74e0821ddf83952ac4cca81d3ad1b","score":"0.46652636","text":"public Cage()\n {\n constraintModifier = ' ';\n constraint = 0;\n cagePerimiter = new ArrayList();\n }","title":""},{"docid":"87717038382c67187328bae91c5951f1","score":"0.46612749","text":"@ZAttr(id=766)\n public void setConstraint(String[] zimbraConstraint) throws com.zimbra.common.service.ServiceException {\n HashMap attrs = new HashMap();\n attrs.put(Provisioning.A_zimbraConstraint, zimbraConstraint);\n getProvisioning().modifyAttrs(this, attrs);\n }","title":""},{"docid":"929463d7ece8922f442f759bb877e424","score":"0.46568972","text":"@Test\r\n\tpublic void testECCVCG_LLG2() throws IloException \r\n\t{\r\n\t\tIloCplex cplexSolver = new IloCplex();\r\n\t\tList items = new LinkedList();\r\n\t\titems.add(1);\r\n\t\titems.add(2);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tList bundle = new LinkedList();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tdouble marginalValue = 0.1;\r\n\t\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t1 = new CombinatorialType();\r\n\t\tt1.addAtomicBid(atom11);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tbundle = new LinkedList();\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.2;\r\n\t\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t2 = new CombinatorialType();\r\n\t\tt2.addAtomicBid(atom21);\r\n\t\t\r\n\t\t//Global bidder\r\n\t\tbundle = new LinkedList();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.3;\r\n\t\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t3 = new CombinatorialType();\r\n\t\tt3.addAtomicBid(atom31);\r\n\t\t\r\n\t\tList bids = new LinkedList();\r\n\t\tbids.add(t1);\r\n\t\tbids.add(t2);\r\n\t\tbids.add(t3);\r\n\t\t\r\n\t\tList costs = new LinkedList();\r\n\t\tcosts.add(0.05);\r\n\t\tcosts.add(0.1);\r\n\t\t\r\n\t\tGridGenerator generator = new GridGenerator(1, 2);\r\n\t\tgenerator.setSeed(0);\r\n\t\tgenerator.buildProximityGraph();\r\n\t\tGraph grid = generator.getGrid();\r\n\t\t\r\n\t\tassertTrue(grid.getVertices().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\r\n\t\t\r\n\t\tdouble primaryReductionCoef = 0.3;\r\n\t\tdouble secondaryReductionCoef = 0.2;\r\n\t\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\r\n\t\tjpmf.setNumberOfSamples(1000000);\r\n\t\tjpmf.setNumberOfBombsToThrow(1);\r\n\t\t\r\n\t\tIBombingStrategy b = new FocusedBombingStrategy(grid, 1, primaryReductionCoef, secondaryReductionCoef);\r\n\t\tList bombs = new LinkedList();\r\n\t\tbombs.add(b);\r\n\t\r\n\t\tList probDistribution = new LinkedList();\r\n\t\tprobDistribution.add(1.);\r\n\t\t\r\n\t\tjpmf.setBombs(bombs, probDistribution);\r\n\t\tjpmf.update();\r\n\t\t\r\n\t\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\r\n\t\tauction.setSolver(cplexSolver);\r\n\t\tauction.setPaymentRule(\"ECC-VCG_LLG\");\r\n\t\tauction.setSeed(0);\r\n\t\ttry\r\n\t\t{\r\n\t\t\tauction.solveIt();\r\n\t\t\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\r\n\t\t\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\r\n\t\t\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.1125 ) < 1e-4);\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).size() == 2 );\r\n\t\t\t\r\n\t\t\t//Get allocated buyers involved in the trade \r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 1 );\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(1) == 2 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 2 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\t\t\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(1) == 0 );\r\n\t\t\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6) );\r\n\t\t\t\r\n\t\t\tdouble[] payments = auction.getPayments();\r\n\t\t\tassertTrue( payments.length == 2);\r\n\t\t\t\r\n\t\t\tif( allocation.getRealizedRV(0, 0) == 0.7 )\r\n\t\t\t{\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.06 ) < 1e-4);\r\n\t\t\t\tassertTrue( Math.abs( payments[1] - 0.15) < 1e-4);\r\n\t\t\t}\r\n\t\t\telse if( allocation.getRealizedRV(0, 0) == 0.8 )\r\n\t\t\t{\t\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.075 ) < 1e-4);\r\n\t\t\t\tassertTrue( Math.abs( payments[1] - 0.135) < 1e-4);\r\n\t\t\t}\r\n\t\t\telse throw new RuntimeException(\"Wrong realized value\");\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.isAllocated(0) );\r\n\t\t\tassertTrue( allocation.isAllocated(1) );\r\n\t\t\tassertTrue( allocation.isAllocated(2) );\r\n\t\t\tassertTrue(!allocation.isAllocated(3) );\r\n\t\t}\r\n\t\tcatch (Exception e) \r\n\t\t{ \r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}","title":""},{"docid":"875eb340033e4edf60a01f2115d85abb","score":"0.4642035","text":"public Grid(int rows, int cols, String[] vals)\n {\n grid = new String[rows][cols];\n for(rows = 0; rows < grid.length; rows++)\n {\n for( cols = 0; cols < grid[rows].length; cols++)\n {\n grid[rows][cols] = vals[(int)(Math.random()*5)]; \n }\n } \n }","title":""},{"docid":"a2c147cb1d9059b9fa4c4af37162fc3b","score":"0.46399963","text":"public Grid(int rows, int cols, String[] vals)\n {\n grid = new String[rows][cols];\n for(rows = 0; rows < grid.length; rows++)\n {\n for( cols = 0; cols < grid[rows].length; cols++)\n {\n grid[rows][cols] = vals[(int)(Math.random()*5)]; \n }\n }\n \n \n \n }","title":""},{"docid":"5577da0c7c0715e0b05b509b2c8e4b24","score":"0.46358532","text":"@Test\r\n\tpublic void testECRVCG_LLG3() throws IloException \r\n\t{\r\n\t\tIloCplex cplexSolver = new IloCplex();\r\n\t\tList items = new LinkedList();\r\n\t\titems.add(1);\r\n\t\titems.add(2);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tList bundle = new LinkedList();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tdouble marginalValue = 0.1;\r\n\t\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t1 = new CombinatorialType();\r\n\t\tt1.addAtomicBid(atom11);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tbundle = new LinkedList();\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.02;\r\n\t\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t2 = new CombinatorialType();\r\n\t\tt2.addAtomicBid(atom21);\r\n\t\t\r\n\t\t//Global bidder\r\n\t\tbundle = new LinkedList();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.3;\r\n\t\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t3 = new CombinatorialType();\r\n\t\tt3.addAtomicBid(atom31);\r\n\t\t\r\n\t\tList bids = new LinkedList();\r\n\t\tbids.add(t1);\r\n\t\tbids.add(t2);\r\n\t\tbids.add(t3);\r\n\t\t\r\n\t\tList costs = new LinkedList();\r\n\t\tcosts.add(0.05);\r\n\t\tcosts.add(0.21);\r\n\t\t\r\n\t\tGridGenerator generator = new GridGenerator(1, 2);\r\n\t\tgenerator.setSeed(0);\r\n\t\tgenerator.buildProximityGraph();\r\n\t\tGraph grid = generator.getGrid();\r\n\t\t\r\n\t\tassertTrue(grid.getVertices().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\r\n\t\t\r\n\t\tdouble primaryReductionCoef = 0.3;\r\n\t\tdouble secondaryReductionCoef = 0.2;\r\n\t\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\r\n\t\tjpmf.setNumberOfSamples(1000000);\r\n\t\tjpmf.setNumberOfBombsToThrow(1);\r\n\t\t\r\n\t\tIBombingStrategy b1 = new FocusedBombingStrategy(grid, 1., primaryReductionCoef, secondaryReductionCoef);\r\n\t\tIBombingStrategy b2 = new FocusedBombingStrategy(grid, 1., 0.4, 0.3);\r\n\t\tList bombs = new LinkedList();\r\n\t\tbombs.add(b1);\r\n\t\tbombs.add(b2);\r\n\t\t\r\n\t\tList pd = new LinkedList();\r\n\t\tpd.add(0.5);\r\n\t\tpd.add(0.5);\r\n\t\t\r\n\t\tjpmf.setBombs(bombs, pd);\r\n\t\tjpmf.update();\r\n\t\t\r\n\t\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\r\n\t\tauction.setSolver(cplexSolver);\r\n\t\tauction.setPaymentRule(\"ECR-VCG_LLG\");\r\n\t\tauction.setSeed(0);\r\n\t\ttry\r\n\t\t{\r\n\t\t\tauction.solveIt();\r\n\t\t\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\r\n\t\t\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\r\n\t\t\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.035 ) < 1e-4);\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).size() == 1 );\r\n\t\t\t\r\n\t\t\t//Get allocated buyers involved in the trade \r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 1 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 1 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\t\t\r\n\t\t\t\r\n\t\t\tdouble[] payments = auction.getPayments();\r\n\t\t\tassertTrue( payments.length == 1);\r\n\t\t\t\r\n\t\t\tSystem.out.println(\">> \" + allocation.getRealizedRVsPerGood(0).get(0) + \" \" + allocation.getRealizedRVsPerGood(0).get(1) + \" payments[0]=\"+payments[0]);\r\n\t\t\tif( allocation.getRealizedRVsPerGood(0).get(0) == 0.6 && allocation.getRealizedRVsPerGood(0).get(1) == 0.7 )\r\n\t\t\t{\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.054 ) < 1e-4);\r\n\t\t\t}\r\n\t\t\telse if( allocation.getRealizedRVsPerGood(0).get(0) == 0.7 && allocation.getRealizedRVsPerGood(0).get(1) == 0.6 )\r\n\t\t\t{\t\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.059 ) < 1e-4);\r\n\t\t\t}\r\n\t\t\telse if( allocation.getRealizedRVsPerGood(0).get(0) == 0.7 && allocation.getRealizedRVsPerGood(0).get(1) == 0.8 )\r\n\t\t\t{\t\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.063 ) < 1e-4);\r\n\t\t\t} \r\n\t\t\telse if( allocation.getRealizedRVsPerGood(0).get(0) == 0.8 && allocation.getRealizedRVsPerGood(0).get(1) == 0.7 )\r\n\t\t\t{\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.068 ) < 1e-4);\r\n\t\t\t}\r\n\t\t\telse throw new RuntimeException(\"Wrong realized value\");\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.isAllocated(0) );\r\n\t\t\tassertTrue( allocation.isAllocated(1) );\r\n\t\t\tassertTrue(!allocation.isAllocated(2) );\r\n\t\t\tassertTrue(!allocation.isAllocated(3) );\r\n\t\t}\r\n\t\tcatch (Exception e) \r\n\t\t{ \r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}","title":""},{"docid":"0c9949472e8a833d535a8498d86c6a53","score":"0.46351486","text":"public void addConstraint(List coefs, List vars, \n int eq, int bound)\n {\n if (coefs.size() != vars.size())\n return;\n\n if (constraints.length() != 0)\n constraints.append(NEWLINE);\n\n constraints.append(SPACE);\n constraints.append(CONSPREFIX);\n constraints.append(++numConstraints);\n constraints.append(COLON);\n\n for (int index = 0; index < vars.size(); index++)\n {\n constraints.append(SPACE);\n\n if (index != 0)\n {\n constraints.append(PLUS);\n constraints.append(SPACE);\n }\n\n constraints.append(coefs.get(index));\n constraints.append(SPACE);\n constraints.append(vars.get(index));\n }\n\n constraints.append(SPACE);\n if (eq == 0)\n constraints.append(EQ);\n else if (eq > 0)\n constraints.append(GTE);\n else constraints.append(LTE);\n\n constraints.append(SPACE);\n\n constraints.append(bound);\n }","title":""},{"docid":"84fd1f3d0c04ef5a8fe62195bccdf704","score":"0.46294436","text":"public void build() {\r\n\r\n GridBagConstraints constraint = new GridBagConstraints();\r\n\r\n constraint.anchor = GridBagConstraints.FIRST_LINE_START;\r\n constraint.gridx = 0;\r\n constraint.gridy = 0;\r\n constraint.gridheight = 1;\r\n constraint.gridwidth = 1;\r\n\r\n constraint.insets = new Insets(0, 0, 50, 300);\r\n add(back, constraint);\r\n\r\n constraint.anchor = GridBagConstraints.CENTER;\r\n constraint.insets = new Insets(10, 0, 0, 0);\r\n constraint.gridy = 1;\r\n constraint.ipadx = 250;\r\n add(name, constraint);\r\n\r\n constraint.gridy = 2;\r\n add(surname, constraint);\r\n\r\n constraint.gridy = 3;\r\n add(email, constraint);\r\n\r\n constraint.gridy = 4;\r\n add(password, constraint);\r\n\r\n constraint.gridy = 5;\r\n add(confirmationPassword, constraint);\r\n\r\n constraint.gridy = 6;\r\n constraint.ipadx = 0;\r\n constraint.ipady = 0;\r\n add(register, constraint);\r\n }","title":""},{"docid":"3bb8a11e7d91d91810d5f23f0c87c4bb","score":"0.46218696","text":"@ZAttr(id=766)\n public Map setConstraint(String[] zimbraConstraint, Map attrs) {\n if (attrs == null) attrs = new HashMap();\n attrs.put(Provisioning.A_zimbraConstraint, zimbraConstraint);\n return attrs;\n }","title":""},{"docid":"4658b389694fd5c5e130e29a013646d4","score":"0.46174568","text":"@Test\r\n\tpublic void testExpVCG_LLG() \r\n\t{\r\n\t\tList items = new LinkedList();\r\n\t\titems.add(1);\r\n\t\titems.add(2);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tList bundle = new LinkedList();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tdouble marginalValue = 0.1;\r\n\t\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t1 = new CombinatorialType();\r\n\t\tt1.addAtomicBid(atom11);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tbundle = new LinkedList();\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.2;\r\n\t\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t2 = new CombinatorialType();\r\n\t\tt2.addAtomicBid(atom21);\r\n\t\t\r\n\t\t//Global bidder\r\n\t\tbundle = new LinkedList();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.15;\r\n\t\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t3 = new CombinatorialType();\r\n\t\tt3.addAtomicBid(atom31);\r\n\t\t\r\n\t\tList bids = new LinkedList();\r\n\t\tbids.add(t1);\r\n\t\tbids.add(t2);\r\n\t\tbids.add(t3);\r\n\t\t\r\n\t\tList costs = new LinkedList();\r\n\t\tcosts.add(0.05);\r\n\t\tcosts.add(0.1);\r\n\t\t\r\n\t\tGridGenerator generator = new GridGenerator(1, 2);\r\n\t\tgenerator.setSeed(0);\r\n\t\tgenerator.buildProximityGraph();\r\n\t\tGraph grid = generator.getGrid();\r\n\t\t\r\n\t\tassertTrue(grid.getVertices().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\r\n\t\t\r\n\t\tdouble primaryReductionCoef = 1.0;\r\n\t\tdouble secondaryReductionCoef = 0.5;\r\n\t\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\r\n\t\tjpmf.setNumberOfSamples(1000000);\r\n\t\tjpmf.setNumberOfBombsToThrow(1);\r\n\t\t\r\n\t\tIBombingStrategy b = new FocusedBombingStrategy(grid, 1, primaryReductionCoef, secondaryReductionCoef);\r\n\t\tList bombs = new LinkedList();\r\n\t\tbombs.add(b);\r\n\t\t\r\n\t\tList probDistribution = new LinkedList();\r\n\t\tprobDistribution.add(1.);\r\n\t\t\r\n\t\tjpmf.setBombs(bombs, probDistribution );\r\n\t\tjpmf.update();\r\n\t\t\r\n\t\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\r\n\t\tauction.setPaymentRule(\"Exp-VCG_LLG\");\r\n\t\tauction.setSeed(0);\r\n\t\ttry\r\n\t\t{\r\n\t\t\tauction.solveIt();\r\n\t\t\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\r\n\t\t\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\r\n\t\t\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.0375 ) < 1e-4);\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).size() == 2 );\r\n\t\t\t\r\n\t\t\t//Get allocated buyers involved in the trade \r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 1 );\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(1) == 2 );\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 2 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\t\t//First bidder gets its first bid\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(1) == 0 );\t\t//Second bidder gets its first bid\t\t\r\n\t\t\t\r\n\t\t\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6) );\r\n\t\t\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 1) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 1) - (1.-secondaryReductionCoef)) < 1e-6) );\r\n\t\t\t\r\n\t\t\tdouble[] payments = auction.getPayments();\r\n\t\t\tassertTrue( payments.length == 2);\r\n\t\t\t\r\n\t\t\tSystem.out.println(\">> \" + payments[0]);\r\n\t\t\tassertTrue( Math.abs( payments[0] - 0.0125 ) < 1e-4);\r\n\t\t\tassertTrue( Math.abs( payments[1] - 0.025 ) < 1e-4);\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.isAllocated(0) );\r\n\t\t\tassertTrue( allocation.isAllocated(1) );\r\n\t\t\tassertTrue( allocation.isAllocated(2) );\r\n\t\t\tassertTrue(!allocation.isAllocated(3) );\r\n\t\t}\r\n\t\tcatch (Exception e) \r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}","title":""},{"docid":"33653b0321ca2d68e6eff06023b0f19b","score":"0.4617007","text":"@Test\r\n\tpublic void testECRVCG_LLG() throws IloException \r\n\t{\r\n\t\tIloCplex cplexSolver = new IloCplex();\r\n\t\tList items = new LinkedList();\r\n\t\titems.add(1);\r\n\t\titems.add(2);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tList bundle = new LinkedList();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tdouble marginalValue = 0.1;\r\n\t\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t1 = new CombinatorialType();\r\n\t\tt1.addAtomicBid(atom11);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tbundle = new LinkedList();\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.2;\r\n\t\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t2 = new CombinatorialType();\r\n\t\tt2.addAtomicBid(atom21);\r\n\t\t\r\n\t\t//Global bidder\r\n\t\tbundle = new LinkedList();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.15;\r\n\t\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t3 = new CombinatorialType();\r\n\t\tt3.addAtomicBid(atom31);\r\n\t\t\r\n\t\tList bids = new LinkedList();\r\n\t\tbids.add(t1);\r\n\t\tbids.add(t2);\r\n\t\tbids.add(t3);\r\n\t\t\r\n\t\tList costs = new LinkedList();\r\n\t\tcosts.add(0.05);\r\n\t\tcosts.add(0.1);\r\n\t\t\r\n\t\tGridGenerator generator = new GridGenerator(1, 2);\r\n\t\tgenerator.setSeed(0);\r\n\t\tgenerator.buildProximityGraph();\r\n\t\tGraph grid = generator.getGrid();\r\n\t\t\r\n\t\tassertTrue(grid.getVertices().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\r\n\t\t\r\n\t\tdouble primaryReductionCoef = 1.0;\r\n\t\tdouble secondaryReductionCoef = 0.5;\r\n\t\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\r\n\t\tjpmf.setNumberOfSamples(1000000);\r\n\t\tjpmf.setNumberOfBombsToThrow(1);\r\n\t\t\r\n\t\tIBombingStrategy b = new FocusedBombingStrategy(grid, 1., primaryReductionCoef, secondaryReductionCoef);\r\n\t\tList bombs = new LinkedList();\r\n\t\tbombs.add(b);\r\n\t\t\r\n\t\tList pd = new LinkedList();\r\n\t\tpd.add(1.);\r\n\t\t\r\n\t\tjpmf.setBombs(bombs, pd);\r\n\t\tjpmf.update();\r\n\t\t\r\n\t\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\r\n\t\tauction.setPaymentRule(\"ECR-VCG_LLG\");\r\n\t\tauction.setSolver(cplexSolver);\r\n\t\tauction.setSeed(0);\r\n\t\ttry\r\n\t\t{\r\n\t\t\tauction.solveIt();\r\n\t\t\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\r\n\t\t\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\r\n\t\t\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.0375 ) < 1e-4);\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).size() == 2 );\r\n\t\t\t\r\n\t\t\t//Get allocated buyers involved in the trade \r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 1 );\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(1) == 2 );\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 2 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\t\t//First bidder gets its first bid\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(1) == 0 );\t\t//Second bidder gets its first bid\t\t\r\n\t\t\t\r\n\t\t\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6) );\r\n\t\t\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 1) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 1) - (1.-secondaryReductionCoef)) < 1e-6) );\r\n\t\t\t\r\n\t\t\tdouble[] payments = auction.getPayments();\r\n\t\t\tassertTrue( payments.length == 2);\r\n\t\t\t\r\n\t\t\tif( allocation.getRealizedRV(0, 0) == 0.5 )\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.025 ) < 1e-4);\r\n\t\t\telse if( allocation.getRealizedRV(0, 0) == 0. )\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0. ) < 1e-4);\r\n\t\t\t\r\n\t\t\tif( allocation.getRealizedRV(0, 1) == 0.5 )\r\n\t\t\t\tassertTrue( Math.abs( payments[1] - 0.05 ) < 1e-4);\r\n\t\t\telse if( allocation.getRealizedRV(0, 1) == 0. )\r\n\t\t\t\tassertTrue( Math.abs( payments[1] - 0. ) < 1e-4);\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.isAllocated(0) );\r\n\t\t\tassertTrue( allocation.isAllocated(1) );\r\n\t\t\tassertTrue( allocation.isAllocated(2) );\r\n\t\t\tassertTrue(!allocation.isAllocated(3) );\r\n\t\t}\r\n\t\tcatch (Exception e) \r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}","title":""},{"docid":"b72a5b036a53fd226f1b94dde2128f71","score":"0.46107557","text":"@Test\r\n\tpublic void testECRVCG_LLG2() throws IloException \r\n\t{\r\n\t\tIloCplex cplexSolver = new IloCplex();\r\n\t\tList items = new LinkedList();\r\n\t\titems.add(1);\r\n\t\titems.add(2);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tList bundle = new LinkedList();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tdouble marginalValue = 0.1;\r\n\t\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t1 = new CombinatorialType();\r\n\t\tt1.addAtomicBid(atom11);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tbundle = new LinkedList();\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.2;\r\n\t\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t2 = new CombinatorialType();\r\n\t\tt2.addAtomicBid(atom21);\r\n\t\t\r\n\t\t//Global bidder\r\n\t\tbundle = new LinkedList();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.3;\r\n\t\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t3 = new CombinatorialType();\r\n\t\tt3.addAtomicBid(atom31);\r\n\t\t\r\n\t\tList bids = new LinkedList();\r\n\t\tbids.add(t1);\r\n\t\tbids.add(t2);\r\n\t\tbids.add(t3);\r\n\t\t\r\n\t\tList costs = new LinkedList();\r\n\t\tcosts.add(0.05);\r\n\t\tcosts.add(0.1);\r\n\t\t\r\n\t\tGridGenerator generator = new GridGenerator(1, 2);\r\n\t\tgenerator.setSeed(0);\r\n\t\tgenerator.buildProximityGraph();\r\n\t\tGraph grid = generator.getGrid();\r\n\t\t\r\n\t\tassertTrue(grid.getVertices().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\r\n\t\t\r\n\t\tdouble primaryReductionCoef = 0.3;\r\n\t\tdouble secondaryReductionCoef = 0.2;\r\n\t\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\r\n\t\tjpmf.setNumberOfSamples(1000000);\r\n\t\tjpmf.setNumberOfBombsToThrow(1);\r\n\t\t\r\n\t\tIBombingStrategy b = new FocusedBombingStrategy(grid, 1., primaryReductionCoef, secondaryReductionCoef);\r\n\t\tList bombs = new LinkedList();\r\n\t\tbombs.add(b);\r\n\t\t\r\n\t\tList pd = new LinkedList();\r\n\t\tpd.add(1.);\r\n\t\t\r\n\t\tjpmf.setBombs(bombs, pd);\r\n\t\tjpmf.update();\r\n\t\t\r\n\t\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\r\n\t\tauction.setSolver(cplexSolver);\r\n\t\tauction.setPaymentRule(\"ECR-VCG_LLG\");\r\n\t\tauction.setSeed(0);\r\n\t\ttry\r\n\t\t{\r\n\t\t\tauction.solveIt();\r\n\t\t\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\r\n\t\t\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\r\n\t\t\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.1125 ) < 1e-4);\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).size() == 2 );\r\n\t\t\t\r\n\t\t\t//Get allocated buyers involved in the trade \r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 1 );\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(1) == 2 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 2 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\t\t\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(1) == 0 );\r\n\t\t\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6) );\r\n\t\t\t\r\n\t\t\tdouble[] payments = auction.getPayments();\r\n\t\t\tassertTrue( payments.length == 2);\r\n\t\t\t\r\n\t\t\tif( allocation.getRealizedRV(0, 0) == 0.7 )\r\n\t\t\t{\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.06 ) < 1e-4);\r\n\t\t\t\tassertTrue( Math.abs( payments[1] - 0.15) < 1e-4);\r\n\t\t\t}\r\n\t\t\telse if( allocation.getRealizedRV(0, 0) == 0.8 )\r\n\t\t\t{\t\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.075 ) < 1e-4);\r\n\t\t\t\tassertTrue( Math.abs( payments[1] - 0.135) < 1e-4);\r\n\t\t\t}\r\n\t\t\telse throw new RuntimeException(\"Wrong realized value\");\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.isAllocated(0) );\r\n\t\t\tassertTrue( allocation.isAllocated(1) );\r\n\t\t\tassertTrue( allocation.isAllocated(2) );\r\n\t\t\tassertTrue(!allocation.isAllocated(3) );\r\n\t\t}\r\n\t\tcatch (Exception e) \r\n\t\t{ \r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}","title":""},{"docid":"5d0a128ca6f5d9e11321cc2c6b9209be","score":"0.46090695","text":"protected void createConstraintAnnotations() {\r\n\t\tString source = \"http://www.polarsys.org/kitalpha/emde/1.0.0/constraint\"; //$NON-NLS-1$\t\r\n\t\taddAnnotation(capellaTagEClass, source,\r\n\t\t\t\tnew String[] { \"ExtendedElement\", \" http://www.polarsys.org/capella/core/core/1.0.0#//CapellaElement\" //$NON-NLS-1$ //$NON-NLS-2$\r\n\t\t});\r\n\t}","title":""},{"docid":"c77d4ffe17a1b950710664e2384fb154","score":"0.46085814","text":"public FSGridLayout(int rows, int cols, int hgap, int vgap) {\n\t\tsuper(rows, cols, hgap, vgap);\n\t}","title":""},{"docid":"b7400c03a5a29f938d1e42cab55078a0","score":"0.45865086","text":"public void CreateRectangle() {\n\t\tfor (int row = 0; row < 4; row++) {\n\t\t\tfor (int col = 0; col < 3; col++) {\n\t\t\t\tint x = initialX + (RECTSIZE + COLGAPSIZE) * col;\n\t\t\t\tint y = initialY + (RECTSIZE + ROWGAPSIZE) * row;\n\t\t\t\tif (row > 1)\n\t\t\t\t\ty += 20;// the gap changes when the row lager than 1\n\t\t\t\tbagRectangle[row][col] = new Rectangle(x, y, RECTSIZE, RECTSIZE);\n\t\t\t}\n\t\t}\n\t}","title":""},{"docid":"0eb5a5f13db204d05754f442031b721e","score":"0.45814967","text":"private void setBasket() {\n // ground of the basket like shape\n Shape groundShape = new BoxShape(30, 0.5f);\n Body ground = new StaticBody(this, groundShape);\n ground.setPosition(new Vec2(0, -20f));\n\n // walls of the basket like shape\n Shape wallShape = new BoxShape(0.05f, 3f);\n Body leftWall = new StaticBody(this, wallShape);\n leftWall.setPosition(new Vec2(-1, -20));\n Body rightWall = new StaticBody(this, wallShape);\n rightWall.setPosition(new Vec2(1, -20));\n }","title":""},{"docid":"94fbca0be5e69a59940e9f5a7452f675","score":"0.45761022","text":"public Tetrad(MyBoundedGrid grid)\r\n {\r\n this.grid = grid;\r\n block = new Block[4];\r\n shadow = new Block[4];\r\n for (int i=0; i() {\n public void changed(ObservableValue ov, Number old_val, Number new_val) {\n \tmakeAmtSlider.setValue(new_val.intValue());\n \tif (((int) makeAmtMult.getValue() * new_val.intValue() < 1)) { makeButton.setDisable(true); }\n \telse { makeButton.setDisable(false); }\n makeAmtVal.setText(String.valueOf((int)((int) makeAmtMult.getValue() * new_val.intValue()))); }\n });\n\t\t\n\t\t/* Make amount multiplier setup */\n\t\tmakeAmtMult.setShowTickMarks(true);\n\t\tmakeAmtMult.setShowTickLabels(true);\n\t\tmakeAmtMult.setSnapToTicks(true);\n\t\tmakeAmtMult.setMajorTickUnit(5);\n\t\tmakeAmtMult.setMinorTickCount(4);\n\t\tmakeAmtMult.setPrefWidth(1000);\n\t\tmakeAmtMult.valueProperty().addListener(new ChangeListener() {\n public void changed(ObservableValue ov, Number old_val, Number new_val) {\n \tif (((int) makeAmtSlider.getValue() * new_val.intValue() < 1)) { makeButton.setDisable(true); }\n \telse { makeButton.setDisable(false); }\n makeAmtVal.setText(String.valueOf((int)((int) makeAmtSlider.getValue() * new_val.intValue()))); }\n });\n\n\t\t/* Add everything to pane */\n\t makeAmtPane.add(makeAmtLabel, 0, 0);\n\t makeAmtPane.add(makeAmtSlider, 0, 1);\n\t makeAmtPane.add(makeMultLabel, 0, 2);\n\t makeAmtPane.add(makeAmtMult, 0, 3);\n\t makeAmtPane.add(makeAmtVal, 1, 1);\n\t makeAmtPane.add(makeButton, 1, 2);\n\t}","title":""},{"docid":"84f78c80e1a14b1be322c011689177a0","score":"0.45613772","text":"private void initialize() {\n\t\tframe = new JFrame();\n\t\tframe.setBounds(100, 100, 450, 300);\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tGridBagLayout gridBagLayout = new GridBagLayout();\n\t\tgridBagLayout.columnWidths = new int[]{0, 0};\n\t\tgridBagLayout.rowHeights = new int[]{0, 0, 0, 0, 154, 0};\n\t\tgridBagLayout.columnWeights = new double[]{0, 1.0};\n\t\tgridBagLayout.rowWeights = new double[]{0.0, 0.0, 0.0, 1.0, 0.0, Double.MIN_VALUE};\n\t\tframe.getContentPane().setLayout(gridBagLayout);\n\t\t\n\t\tJLabel lblId = new JLabel(\"Id:\");\n\t\tGridBagConstraints gbc_lblId = new GridBagConstraints();\n\t\tgbc_lblId.anchor = GridBagConstraints.EAST;\n\t\tgbc_lblId.insets = new Insets(0, 5, 5, 5);\n\t\tgbc_lblId.gridx = 0;\n\t\tgbc_lblId.gridy = 0;\n\t\tframe.getContentPane().add(lblId, gbc_lblId);\n\t\t\n\t\tjtfid = new JTextField();\n\t\tGridBagConstraints gbc_jtfid = new GridBagConstraints();\n\t\tgbc_jtfid.ipady = 1;\n\t\tgbc_jtfid.ipadx = 1;\n\t\tgbc_jtfid.insets = new Insets(5, 0, 5, 25);\n\t\tgbc_jtfid.fill = GridBagConstraints.HORIZONTAL;\n\t\tgbc_jtfid.gridx = 1;\n\t\tgbc_jtfid.gridy = 0;\n\t\tframe.getContentPane().add(jtfid, gbc_jtfid);\n\t\tjtfid.setColumns(10);\n\t\t\n\t\tJLabel lblCif = new JLabel(\"CIF:\");\n\t\tGridBagConstraints gbc_lblCif = new GridBagConstraints();\n\t\tgbc_lblCif.anchor = GridBagConstraints.EAST;\n\t\tgbc_lblCif.insets = new Insets(0, 5, 5, 5);\n\t\tgbc_lblCif.gridx = 0;\n\t\tgbc_lblCif.gridy = 1;\n\t\tframe.getContentPane().add(lblCif, gbc_lblCif);\n\t\t\n\t\tjtfCIF = new JTextField();\n\t\tGridBagConstraints gbc_jtfCIF = new GridBagConstraints();\n\t\tgbc_jtfCIF.insets = new Insets(0, 0, 5, 25);\n\t\tgbc_jtfCIF.fill = GridBagConstraints.HORIZONTAL;\n\t\tgbc_jtfCIF.gridx = 1;\n\t\tgbc_jtfCIF.gridy = 1;\n\t\tframe.getContentPane().add(jtfCIF, gbc_jtfCIF);\n\t\tjtfCIF.setColumns(10);\n\t\t\n\t\tJLabel lblNombreFabricante = new JLabel(\"nombre\");\n\t\tGridBagConstraints gbc_lblNombreFabricante = new GridBagConstraints();\n\t\tgbc_lblNombreFabricante.anchor = GridBagConstraints.EAST;\n\t\tgbc_lblNombreFabricante.insets = new Insets(0, 5, 5, 5);\n\t\tgbc_lblNombreFabricante.gridx = 0;\n\t\tgbc_lblNombreFabricante.gridy = 2;\n\t\tframe.getContentPane().add(lblNombreFabricante, gbc_lblNombreFabricante);\n\t\t\n\t\tjtfnombre = new JTextField();\n\t\tGridBagConstraints gbc_jtfnombre = new GridBagConstraints();\n\t\tgbc_jtfnombre.insets = new Insets(0, 0, 5, 25);\n\t\tgbc_jtfnombre.fill = GridBagConstraints.HORIZONTAL;\n\t\tgbc_jtfnombre.gridx = 1;\n\t\tgbc_jtfnombre.gridy = 2;\n\t\tframe.getContentPane().add(jtfnombre, gbc_jtfnombre);\n\t\tjtfnombre.setColumns(10);\n\t\t\n\t\tJPanel panel = new JPanel();\n\t\tGridBagConstraints gbc_panel = new GridBagConstraints();\n\t\tgbc_panel.insets = new Insets(0, 0, 5, 0);\n\t\tgbc_panel.gridwidth = 2;\n\t\tgbc_panel.fill = GridBagConstraints.BOTH;\n\t\tgbc_panel.gridx = 0;\n\t\tgbc_panel.gridy = 3;\n\t\tframe.getContentPane().add(panel, gbc_panel);\n\t\tpanel.setLayout(new FlowLayout(FlowLayout.CENTER, 5, 5));\n\t\t\n\t\tJButton btnPrimero = new JButton(\"<<\");\n\t\tpanel.add(btnPrimero);\n\t\t\n\t\tJButton btnAnterior = new JButton(\"<\");\n\t\tpanel.add(btnAnterior);\n\t\t\n\t\tJButton btnSiguiente = new JButton(\">\");\n\t\tpanel.add(btnSiguiente);\n\t\t\n\t\tJButton btnUltimo = new JButton(\">>\");\n\t\tpanel.add(btnUltimo);\n\t\tgbc_panel.fill = GridBagConstraints.BOTH;\n\t\tgbc_panel.gridx = 0;\n\t\tgbc_panel.gridy = 4;\n\t\t\n\t\tJPanel panel_1 = new JPanel();\n\t\tGridBagConstraints gbc_panel_1 = new GridBagConstraints();\n\t\tgbc_panel_1.gridwidth = 2;\n\t\tgbc_panel_1.fill = GridBagConstraints.BOTH;\n\t\tgbc_panel_1.gridx = 0;\n\t\tgbc_panel_1.gridy = 4;\n\t\tframe.getContentPane().add(panel_1, gbc_panel_1);\n\t\tpanel_1.setLayout(new FlowLayout(FlowLayout.CENTER, 5, 5));\n\t\t\n\t\tJButton btnNuevo = new JButton(\"Nuevo\");\n\t\tpanel_1.add(btnNuevo);\n\t\t\n\t\tJButton btnGuardar = new JButton(\"Guardar\");\n\t\tpanel_1.add(btnGuardar);\n\t\t\n\t\tJButton btnBorrar = new JButton(\"Borrar\");\n\t\tpanel_1.add(btnBorrar);\n\t}","title":""},{"docid":"ddefdb915c0e0fdf1010677cbd3c3a7e","score":"0.45611942","text":"public void makeGrid(Cell[][] actualGrid){\n gamePanel.removeAll();\n gamePanel.setVisible(false);\n for(int i = 0; i < GC.getGridY(); i++){\n for (int j = 0; j < GC.getGridX(); j++){\n buttons[j][i] = actualGrid[j][i];\n if(buttons[j][i] instanceof Empty){\n buttons[j][i].addMouseListener(new GameControlEmptyListener());\n buttons[j][i].addActionListener(new CellListener());\n }\n else if(buttons[j][i] instanceof Bomb){\n buttons[j][i].addActionListener(new BombListener());\n }\n else{\n buttons[j][i].addActionListener(new CellListener());\n }\n buttons[j][i].addMouseListener(new GameControlMarkListener());\n\n gridContraints.gridx = j;\n gridContraints.gridy = i;\n gamePanel.add(buttons[j][i],gridContraints);\n }\n }\n controlContainer.add(gamePanel,gameConstraint);\n gamePanel.setVisible(true);\n }","title":""},{"docid":"6fb3a9cfd43eb278caceeeacbc370a79","score":"0.45576403","text":"private void addComponent(Component component, int gridx, int gridy,\n int gridwidth, int gridheight, int weightx, int weighty, int ipady, int fill,\n int anchor) {\n \n GridBagConstraints constraints = new GridBagConstraints();\n constraints.gridx = gridx;\n constraints.gridy = gridy;\n constraints.gridwidth = gridwidth;\n constraints.gridheight = gridheight;\n constraints.weightx = weightx;\n constraints.weighty = weighty;\n constraints.fill = fill;\n\t\tconstraints.ipady = ipady;\n constraints.anchor = anchor;\n gridbag.setConstraints(component, constraints);\n pane.add(component);\n }","title":""},{"docid":"5d8ac3de9904ba99a4b2009fa630c58e","score":"0.45383775","text":"public void configure(int ti){\r\n setLayout(new GridBagLayout());\r\n setTitle(\"Neue Bestellung\");\r\n setResizable(false);\r\n setSize(new Dimension(380,370));\r\n setLocation(500,300);\r\n GridBagConstraints bagConstraints = new GridBagConstraints();\r\n setLayout(new GridBagLayout());\r\n setHeader(bagConstraints, \"Neue Bestellung hinzufügen\");\r\n setTableCombo(ti,bagConstraints);\r\n setPersonCombo(bagConstraints);\r\n setReservedRadio(bagConstraints);\r\n setEating(bagConstraints);\r\n setDrinking(bagConstraints);\r\n setCommit(bagConstraints);\r\n setVisible(true);\r\n setAlwaysOnTop(true);\r\n setDefaultCloseOperation(this.HIDE_ON_CLOSE);\r\n }","title":""},{"docid":"c9a9717a067214e37119b69a05ad59b6","score":"0.45284832","text":"private void initialize() {\r\n\t\t// user code begin {1}\r\n\t\t// user code end\r\n\t\tGridBagConstraints gridBagConstraints2 = new GridBagConstraints();\r\n\t\tgridBagConstraints2.fill = GridBagConstraints.NONE;\r\n\t\tgridBagConstraints2.gridy = 0;\r\n\t\tgridBagConstraints2.weightx = 0.0;\r\n\t\tgridBagConstraints2.gridx = 0;\r\n\t\tGridBagConstraints gridBagConstraints1 = new GridBagConstraints();\r\n\t\tgridBagConstraints1.fill = GridBagConstraints.NONE;\r\n\t\tgridBagConstraints1.gridy = 0;\r\n\t\tgridBagConstraints1.weightx = 0.0;\r\n\t\tgridBagConstraints1.gridx = 4;\r\n\t\tsetName(\"DataTablePanel\");\r\n\t\tsetLayout(new java.awt.GridBagLayout());\r\n\t\tsetBackground(new java.awt.Color(181, 183, 154));\r\n\t\tsetSize(489, 203);\r\n\r\n\t\tjava.awt.GridBagConstraints constraintsBarraEstadosPanel = new java.awt.GridBagConstraints();\r\n\t\tconstraintsBarraEstadosPanel.gridx = 2;\r\n\t\tconstraintsBarraEstadosPanel.gridy = 0;\r\n\t\tconstraintsBarraEstadosPanel.fill = GridBagConstraints.BOTH;\r\n\t\tconstraintsBarraEstadosPanel.weighty = 0.0D;\r\n\t\tconstraintsBarraEstadosPanel.weightx = 1.0;\r\n\t\tjava.awt.GridBagConstraints constraintsJScrollPane = new java.awt.GridBagConstraints();\r\n\t\tconstraintsJScrollPane.gridx = 0;\r\n\t\tconstraintsJScrollPane.gridy = 2;\r\n\t\tconstraintsJScrollPane.gridwidth = 5;\r\n\t\tconstraintsJScrollPane.fill = java.awt.GridBagConstraints.BOTH;\r\n\t\tconstraintsJScrollPane.weightx = 1.0;\r\n\t\tconstraintsJScrollPane.weighty = 1.0;\r\n\t\tjava.awt.GridBagConstraints constraintsBar02Panel1 = new java.awt.GridBagConstraints();\r\n\t\tconstraintsBar02Panel1.gridx = 0;\r\n\t\tconstraintsBar02Panel1.gridy = 3;\r\n\t\tconstraintsBar02Panel1.gridwidth = 5;\r\n\t\tconstraintsBar02Panel1.fill = java.awt.GridBagConstraints.HORIZONTAL;\r\n\t\tconstraintsBar02Panel1.weightx = 1.0;\r\n\t\tgetTableExt().setFont(efren.util.FontManager.currentSystemPlainFont());\r\n\t\tthis.setBorder(javax.swing.BorderFactory.createLoweredBevelBorder());\r\n\t\tthis.add(getJScrollPane(), constraintsJScrollPane);\r\n\t\tthis.add(getBar02Panel1(), constraintsBar02Panel1);\r\n\t\tthis.add(getBarraEstadosPanel(), constraintsBarraEstadosPanel);\r\n\t\tthis.add(getJToolBar(), gridBagConstraints1);\r\n\t\tthis.add(getJToolBar1(), gridBagConstraints2);\r\n\t\tthis.getTableExt().setContainerPanel(this);\r\n\r\n\t\ttry {\r\n\t\t\tinitConnections();\r\n\t\t} catch (Exception e) {\r\n\t\t\te.getMessage();\r\n\t\t}\r\n\t}","title":""},{"docid":"1639996ceaaed34739aa9273e04a4086","score":"0.45103872","text":"ConstraintTypeFormula() {\n }","title":""},{"docid":"d6358126799efd6b630641c8eace6b87","score":"0.4509758","text":"public void createGrid() {\r\n\t\tfor (int i = 0; i < length; i++) {\r\n\t\t\tfor (int j = 0; j < width; j++) {\r\n\t\t\t\tgrid[i][j] = new Point(i, j);\r\n\t\t\t}\r\n\t\t}\r\n\t}","title":""},{"docid":"bfed6c1f53b06f036d1bdf2172c45d01","score":"0.44971418","text":"private Grid() {}","title":""},{"docid":"9b4c49cf74e9ed91e49a5355dd34f642","score":"0.44953603","text":"public static void createGrid( ArrayList gridNumbers )\r\n\t{\r\n\t\tgrid = new int[numOfVariables+1][numOfVariables+1];\r\n\t\tfor( int i = 0; i < numOfVariables+1; i++ )\r\n\t\t{\r\n\t\t\tfor( int j = 0; j < numOfVariables+1; j++ )\r\n\t\t\t{\r\n\t\t\t\tgrid[i][j] = gridNumbers.get( 0 );\r\n\t\t\t\tgridNumbers.remove( 0 );\r\n\t\t\t}\r\n\t\t}\r\n\t}","title":""},{"docid":"aacb17241c5387032f814dfd20aaa144","score":"0.4494996","text":"public BudgetConstraint(double weight, double[] highestValues, ConstraintScope c) {\r\n\t\tsuper(weight, MSPolicy.DESCENDENT_TYPE, c);\r\n\t\tthis.constraintName = \"Budget\";\r\n\t\thighRamCost = highestValues[0];\r\n\t\thighStorageCost = highestValues[1];\r\n\t}","title":""},{"docid":"c16c5a2afb71cd52f95fb9b7a0272593","score":"0.44887152","text":"public abstract void buildGrid();","title":""},{"docid":"89d454f669af9464cf4c75412b6048f1","score":"0.44861525","text":"public PointBag(int capacity) {\n\t\tpoints = new Point[capacity];\n\t\tsize = 0;\n\t}","title":""},{"docid":"e516fbcfc04995f0e1ec4d1a6910ac57","score":"0.4479026","text":"public void putConstraintViews(ConstraintView[] constraintViews)\n {\n _desktopPane.putGraphComponents(constraintViews);\n }","title":""}],"string":"[\n {\n \"docid\": \"d27b5feb9b514a685a4146b341639bec\",\n \"score\": \"0.604428\",\n \"text\": \"public default void setConstraints(GridPane gridpane,int columnCount,int rowCount,int vGap,int hGap,String cssTag) {\\n\\t\\tif(vGap != 0) {gridpane.setVgap(vGap);}\\n\\t\\tif(hGap != 0) {gridpane.setHgap(hGap);}\\n\\t\\tList columns = new ArrayList<>();\\n\\t\\tint columnNum = 0;\\n\\t\\twhile(columnNum < columnCount) {\\n\\t\\t\\tColumnConstraints newColumn = new ColumnConstraints();\\n\\t\\t\\tnewColumn.setPercentWidth(100/columnCount);\\n\\t\\t\\tcolumns.add(newColumn);\\n\\t\\t\\tcolumnNum = columnNum+1;\\n\\t\\t}\\n\\t\\tfor(ColumnConstraints column: columns) {\\n\\t\\t\\tgridpane.getColumnConstraints().add(column);\\n\\t\\t}\\n\\t\\t\\n\\t\\tList rows = new ArrayList<>();\\n\\t\\tint rowNum = 0;\\n\\t\\twhile(rowNum < rowCount) {\\n\\t\\t\\tRowConstraints newRow = new RowConstraints();\\n\\t\\t\\tnewRow.setPercentHeight(100/rowCount);\\n\\t\\t\\trows.add(newRow);\\n\\t\\t\\trowNum = rowNum+1;\\n\\t\\t}\\n\\t\\tfor(RowConstraints row: rows) {\\n\\t\\t\\tgridpane.getRowConstraints().add(row);\\n\\t\\t}\\n\\t\\tgridpane.getStyleClass().add(cssTag);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9e3d205ff8b0988f9bd4d0f68f2d57a4\",\n \"score\": \"0.58780694\",\n \"text\": \"public CellConstraints createCellConstraints();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f40fc224c2c2a7a1ff4cee63c6cd97a0\",\n \"score\": \"0.5660984\",\n \"text\": \"private Object Constraint(int i, int j, double d, double k, int horizontal) {\\n\\t\\tGridBagConstraints c = new GridBagConstraints();\\n\\t\\tc.gridx = i;\\n\\t\\tc.gridy = j;\\n\\t\\tc.weightx = d;\\n\\t\\tc.weighty = k;\\n\\t\\tc.fill = horizontal;\\n\\t\\treturn c;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"04e6f2b70bd856d430095395b50ab830\",\n \"score\": \"0.545238\",\n \"text\": \"void addConstraint(List cs);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"edc3b198eb8c395870c36ebbe03bebde\",\n \"score\": \"0.5372047\",\n \"text\": \"@Test\\r\\n\\tpublic void testECCORE_LLG1_ConstraintGeneration() throws Exception\\r\\n\\t{\\r\\n\\t\\tIloCplex cplexSolver = new IloCplex();\\r\\n\\t\\tList items = new LinkedList();\\r\\n\\t\\titems.add(1);\\r\\n\\t\\titems.add(2);\\r\\n\\t\\t\\r\\n\\t\\tdouble marginalValueL1 = 0.1;\\r\\n\\t\\tdouble marginalValueL2 = 0.2;\\r\\n\\t\\tdouble marginalValueG = 0.4;\\r\\n\\t\\t\\r\\n\\t\\t//Local bidder\\r\\n\\t\\tList bundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(0) );\\r\\n\\t\\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValueL1);\\r\\n\\t\\tCombinatorialType t1 = new CombinatorialType();\\r\\n\\t\\tt1.addAtomicBid(atom11);\\r\\n\\r\\n\\t\\t//Local bidder\\r\\n\\t\\tbundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(1) );\\r\\n\\t\\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValueL2);\\r\\n\\t\\tCombinatorialType t2 = new CombinatorialType();\\r\\n\\t\\tt2.addAtomicBid(atom21);\\r\\n\\t\\t\\r\\n\\t\\t//Global bidder\\r\\n\\t\\tbundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(0) );\\r\\n\\t\\tbundle.add( items.get(1) );\\r\\n\\t\\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValueG);\\r\\n\\t\\tCombinatorialType t3 = new CombinatorialType();\\r\\n\\t\\tt3.addAtomicBid(atom31);\\r\\n\\t\\t\\r\\n\\t\\tList bids = new LinkedList();\\r\\n\\t\\tbids.add(t1);\\r\\n\\t\\tbids.add(t2);\\r\\n\\t\\tbids.add(t3);\\r\\n\\t\\t\\r\\n\\t\\tList costs = new LinkedList();\\r\\n\\t\\tcosts.add(0.05);\\r\\n\\t\\tcosts.add(0.1);\\r\\n\\t\\t\\r\\n\\t\\tGridGenerator generator = new GridGenerator(1, 2);\\r\\n\\t\\tgenerator.setSeed(0);\\r\\n\\t\\tgenerator.buildProximityGraph();\\r\\n\\t\\tGraph grid = generator.getGrid();\\r\\n\\t\\t\\r\\n\\t\\tassertTrue(grid.getVertices().size() == 2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().size() == 2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\\r\\n\\t\\t\\r\\n\\t\\tdouble primaryReductionCoef = 0.3;\\r\\n\\t\\tdouble secondaryReductionCoef = 0.2;\\r\\n\\t\\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\\r\\n\\t\\tjpmf.setNumberOfSamples(1000000);\\r\\n\\t\\tjpmf.setNumberOfBombsToThrow(1);\\r\\n\\t\\t\\r\\n\\t\\tIBombingStrategy b = new FocusedBombingStrategy(grid, 1., primaryReductionCoef, secondaryReductionCoef);\\r\\n\\t\\tList bombs = new LinkedList();\\r\\n\\t\\tbombs.add(b);\\r\\n\\t\\t\\r\\n\\t\\tList pd = new LinkedList();\\r\\n\\t\\tpd.add(1.);\\r\\n\\t\\t\\r\\n\\t\\tjpmf.setBombs(bombs, pd);\\r\\n\\t\\tjpmf.update();\\r\\n\\t\\t\\r\\n\\t\\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\\r\\n\\t\\tauction.setSolver(cplexSolver);\\r\\n\\t\\tauction.setPaymentRule(\\\"EC-CORE\\\");\\r\\n\\t\\tauction.setSeed(0);\\r\\n\\t\\ttry\\r\\n\\t\\t{\\r\\n\\t\\t\\tauction.solveIt();\\r\\n\\t\\t}\\r\\n\\t\\tcatch (Exception e)\\r\\n\\t\\t{\\r\\n\\t\\t\\tif( e.getMessage().equals(\\\"VCG is in the Core\\\") )\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\\r\\n\\t\\t\\t\\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\\r\\n\\t\\t\\t\\t//System.out.println(\\\"Test sw = \\\" + allocation.getExpectedWelfare() );\\r\\n\\t\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).size() == 1 );\\r\\n\\t\\t\\t\\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.175 ) < 1e-4);\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//Get allocated buyers involved in the trade \\r\\n\\t\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).size() == 1);\\r\\n\\t\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 3 );\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 1 );\\r\\n\\t\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6) );\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tdouble[] payments = auction.getPayments();\\r\\n\\t\\t\\t\\tassertTrue( payments.length == 1);\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t//System.out.println(\\\"payments[0]=\\\"+payments[0] + \\\" payments[1]=\\\" + payments[1]);\\r\\n\\t\\t\\t\\t//System.out.println(\\\">> \\\" + allocation.getRealizedRV(0, 0) + \\\" p[0]=\\\"+payments[0] + \\\" p[1]=\\\"+payments[1]);\\r\\n\\t\\t\\t\\tif( allocation.getRealizedRV(0, 0) == 0.7 )\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tassertTrue( Math.abs(payments[0] - 0.2175) < 1e-4 );\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tassertTrue( allocation.isAllocated(0) );\\r\\n\\t\\t\\t\\tassertTrue( !allocation.isAllocated(1) );\\r\\n\\t\\t\\t\\tassertTrue( !allocation.isAllocated(2) );\\r\\n\\t\\t\\t\\tassertTrue( allocation.isAllocated(3) );\\r\\n\\t\\t\\t\\treturn;\\r\\n\\t\\t\\t}\\t\\r\\n\\t\\t}\\r\\n\\t\\tassertTrue(false); \\t//PaymentException must be thrown\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f522dc1c3609b0e42ca32e95cc38c4a7\",\n \"score\": \"0.53051937\",\n \"text\": \"private void initialize() {\\n\\t\\tGridBagConstraints gridBagConstraints81 = new GridBagConstraints();\\n\\t\\tgridBagConstraints81.gridx = 1;\\n\\t\\tgridBagConstraints81.weighty = 1.0D;\\n\\t\\tgridBagConstraints81.anchor = GridBagConstraints.WEST;\\n\\t\\tgridBagConstraints81.gridy = 11;\\n\\t\\tGridBagConstraints gridBagConstraints10 = new GridBagConstraints();\\n\\t\\tgridBagConstraints10.gridx = 1;\\n\\t\\tgridBagConstraints10.anchor = GridBagConstraints.WEST;\\n\\t\\tgridBagConstraints10.gridy = 9;\\n\\t\\tGridBagConstraints gridBagConstraints9 = new GridBagConstraints();\\n\\t\\tgridBagConstraints9.gridx = 0;\\n\\t\\tgridBagConstraints9.insets = new Insets(5, 10, 0, 0);\\n\\t\\tgridBagConstraints9.anchor = GridBagConstraints.WEST;\\n\\t\\tgridBagConstraints9.gridy = 9;\\n\\t\\tlblPossibilityDriverHasCar = new JLabel();\\n\\t\\tlblPossibilityDriverHasCar.setText(\\\"Possibility driver has car:\\\");\\n\\t\\tGridBagConstraints gridBagConstraints8 = new GridBagConstraints();\\n\\t\\tgridBagConstraints8.gridx = 1;\\n\\t\\tgridBagConstraints8.anchor = GridBagConstraints.NORTHWEST;\\n\\t\\tgridBagConstraints8.gridy = 10;\\n\\t\\tGridBagConstraints gridBagConstraints71 = new GridBagConstraints();\\n\\t\\tgridBagConstraints71.gridx = 1;\\n\\t\\tgridBagConstraints71.anchor = GridBagConstraints.WEST;\\n\\t\\tgridBagConstraints71.gridy = 8;\\n\\t\\tGridBagConstraints gridBagConstraints6 = new GridBagConstraints();\\n\\t\\tgridBagConstraints6.gridx = 1;\\n\\t\\tgridBagConstraints6.anchor = GridBagConstraints.WEST;\\n\\t\\tgridBagConstraints6.gridy = 7;\\n\\t\\tGridBagConstraints gridBagConstraints51 = new GridBagConstraints();\\n\\t\\tgridBagConstraints51.gridx = 1;\\n\\t\\tgridBagConstraints51.anchor = GridBagConstraints.WEST;\\n\\t\\tgridBagConstraints51.gridy = 6;\\n\\t\\tGridBagConstraints gridBagConstraints4 = new GridBagConstraints();\\n\\t\\tgridBagConstraints4.gridx = 0;\\n\\t\\tgridBagConstraints4.insets = new Insets(5, 10, 0, 0);\\n\\t\\tgridBagConstraints4.anchor = GridBagConstraints.WEST;\\n\\t\\tgridBagConstraints4.gridy = 10;\\n\\t\\tlblPossibilityAdultHasJob = new JLabel();\\n\\t\\tlblPossibilityAdultHasJob.setText(\\\"Possibility adult has job:\\\");\\n\\t\\tGridBagConstraints gridBagConstraints32 = new GridBagConstraints();\\n\\t\\tgridBagConstraints32.gridx = 0;\\n\\t\\tgridBagConstraints32.insets = new Insets(5, 10, 0, 0);\\n\\t\\tgridBagConstraints32.anchor = GridBagConstraints.WEST;\\n\\t\\tgridBagConstraints32.gridy = 8;\\n\\t\\tlblPossibilityAdultIsDriver = new JLabel();\\n\\t\\tlblPossibilityAdultIsDriver.setText(\\\"Possibility adult is driver:\\\");\\n\\t\\tGridBagConstraints gridBagConstraints21 = new GridBagConstraints();\\n\\t\\tgridBagConstraints21.gridx = 0;\\n\\t\\tgridBagConstraints21.insets = new Insets(5, 10, 0, 10);\\n\\t\\tgridBagConstraints21.anchor = GridBagConstraints.WEST;\\n\\t\\tgridBagConstraints21.gridy = 7;\\n\\t\\tlblAverageChildrenPerHouse = new JLabel();\\n\\t\\tlblAverageChildrenPerHouse.setText(\\\"Average children per house:\\\");\\n\\t\\tGridBagConstraints gridBagConstraints13 = new GridBagConstraints();\\n\\t\\tgridBagConstraints13.gridx = 0;\\n\\t\\tgridBagConstraints13.anchor = GridBagConstraints.WEST;\\n\\t\\tgridBagConstraints13.insets = new Insets(5, 10, 0, 0);\\n\\t\\tgridBagConstraints13.gridy = 6;\\n\\t\\tlblAverageAdultsPerHouse = new JLabel();\\n\\t\\tlblAverageAdultsPerHouse.setText(\\\"Average adults per house:\\\");\\n\\t\\tGridBagConstraints gridBagConstraints31 = new GridBagConstraints();\\n\\t\\tgridBagConstraints31.gridx = 0;\\n\\t\\tgridBagConstraints31.insets = new Insets(5, 0, 5, 10);\\n\\t\\tgridBagConstraints31.anchor = GridBagConstraints.NORTH;\\n\\t\\tgridBagConstraints31.fill = GridBagConstraints.NONE;\\n\\t\\tgridBagConstraints31.gridwidth = 2;\\n\\t\\tgridBagConstraints31.gridy = 4;\\n\\t\\tGridBagConstraints gridBagConstraints2 = new GridBagConstraints();\\n\\t\\tgridBagConstraints2.gridx = 0;\\n\\t\\tgridBagConstraints2.insets = new Insets(5, 0, 5, 10);\\n\\t\\tgridBagConstraints2.anchor = GridBagConstraints.NORTH;\\n\\t\\tgridBagConstraints2.fill = GridBagConstraints.NONE;\\n\\t\\tgridBagConstraints2.gridwidth = 2;\\n\\t\\tgridBagConstraints2.gridy = 2;\\n\\t\\tGridBagConstraints gridBagConstraints5 = new GridBagConstraints();\\n\\t\\tgridBagConstraints5.gridx = 1;\\n\\t\\tgridBagConstraints5.anchor = GridBagConstraints.WEST;\\n\\t\\tgridBagConstraints5.gridy = 3;\\n\\t\\tGridBagConstraints gridBagConstraints41 = new GridBagConstraints();\\n\\t\\tgridBagConstraints41.gridx = 1;\\n\\t\\tgridBagConstraints41.anchor = GridBagConstraints.WEST;\\n\\t\\tgridBagConstraints41.gridy = 1;\\n\\t\\tGridBagConstraints gridBagConstraints12 = new GridBagConstraints();\\n\\t\\tgridBagConstraints12.gridx = 1;\\n\\t\\tgridBagConstraints12.anchor = GridBagConstraints.NORTH;\\n\\t\\tgridBagConstraints12.fill = GridBagConstraints.HORIZONTAL;\\n\\t\\tgridBagConstraints12.insets = new Insets(0, 0, 0, 10);\\n\\t\\tgridBagConstraints12.gridy = 5;\\n\\t\\tGridBagConstraints gridBagConstraints3 = new GridBagConstraints();\\n\\t\\tgridBagConstraints3.gridx = 0;\\n\\t\\tgridBagConstraints3.insets = new Insets(0, 10, 0, 5);\\n\\t\\tgridBagConstraints3.anchor = GridBagConstraints.WEST;\\n\\t\\tgridBagConstraints3.gridy = 3;\\n\\t\\tlblWorkPositions = new JLabel();\\n\\t\\tlblWorkPositions.setText(\\\"Work positions:\\\");\\n\\t\\tGridBagConstraints gridBagConstraints11 = new GridBagConstraints();\\n\\t\\tgridBagConstraints11.gridx = 0;\\n\\t\\tgridBagConstraints11.anchor = GridBagConstraints.WEST;\\n\\t\\tgridBagConstraints11.insets = new Insets(0, 10, 0, 0);\\n\\t\\tgridBagConstraints11.gridy = 1;\\n\\t\\tlblPopulation = new JLabel();\\n\\t\\tlblPopulation.setText(\\\"Population:\\\");\\n\\t\\tGridBagConstraints gridBagConstraints7 = new GridBagConstraints();\\n\\t\\tgridBagConstraints7.gridx = 0;\\n\\t\\tgridBagConstraints7.weighty = 0.0D;\\n\\t\\tgridBagConstraints7.anchor = GridBagConstraints.NORTHWEST;\\n\\t\\tgridBagConstraints7.insets = new Insets(0, 10, 0, 0);\\n\\t\\tgridBagConstraints7.gridy = 5;\\n\\t\\tlblColorTitle = new JLabel();\\n\\t\\tlblColorTitle.setText(\\\"Color:\\\");\\n\\t\\tGridBagConstraints gridBagConstraints1 = new GridBagConstraints();\\n\\t\\tgridBagConstraints1.fill = GridBagConstraints.HORIZONTAL;\\n\\t\\tgridBagConstraints1.gridy = 0;\\n\\t\\tgridBagConstraints1.weightx = 1.0;\\n\\t\\tgridBagConstraints1.insets = new Insets(10, 0, 0, 10);\\n\\t\\tgridBagConstraints1.gridx = 1;\\n\\t\\tGridBagConstraints gridBagConstraints = new GridBagConstraints();\\n\\t\\tgridBagConstraints.gridx = 0;\\n\\t\\tgridBagConstraints.insets = new Insets(10, 10, 0, 0);\\n\\t\\tgridBagConstraints.anchor = GridBagConstraints.WEST;\\n\\t\\tgridBagConstraints.gridy = 0;\\n\\t\\tlblNameTitle = new JLabel();\\n\\t\\tlblNameTitle.setText(\\\"Name:\\\");\\n\\t\\tthis.setSize(351, 280);\\n\\t\\tthis.setLayout(new GridBagLayout());\\n\\t\\tthis.add(lblNameTitle, gridBagConstraints);\\n\\t\\tthis.add(getTxtName(), gridBagConstraints1);\\n\\t\\tthis.add(lblColorTitle, gridBagConstraints7);\\n\\t\\tthis.add(lblPopulation, gridBagConstraints11);\\n\\t\\tthis.add(lblWorkPositions, gridBagConstraints3);\\n\\t\\tthis.add(getBtnChangeColor(), gridBagConstraints12);\\n\\t\\tthis.add(getSpnPopulation(), gridBagConstraints41);\\n\\t\\tthis.add(getSpnWorkPositions(), gridBagConstraints5);\\n\\t\\tthis.add(getBtnResidentJobs(), gridBagConstraints2);\\n\\t\\tthis.add(getBtnWorkerJobs(), gridBagConstraints31);\\n\\t\\tthis.add(lblAverageAdultsPerHouse, gridBagConstraints13);\\n\\t\\tthis.add(lblAverageChildrenPerHouse, gridBagConstraints21);\\n\\t\\tthis.add(lblPossibilityAdultIsDriver, gridBagConstraints32);\\n\\t\\tthis.add(lblPossibilityAdultHasJob, gridBagConstraints4);\\n\\t\\tthis.add(getSpnAverageAdultsPerHouse(), gridBagConstraints51);\\n\\t\\tthis.add(getSpnAverageChildrenPerHouse(), gridBagConstraints6);\\n\\t\\tthis.add(getSpnPossibilityAdultIsDriver(), gridBagConstraints71);\\n\\t\\tthis.add(getSpnPossibilityAdultHasJob(), gridBagConstraints8);\\n\\t\\tthis.add(lblPossibilityDriverHasCar, gridBagConstraints9);\\n\\t\\tthis.add(getSpnPossibilityDriverHasCar(), gridBagConstraints10);\\n\\t\\tthis.add(getChkEnabled(), gridBagConstraints81);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f522dc1c3609b0e42ca32e95cc38c4a7\",\n \"score\": \"0.53051937\",\n \"text\": \"private void initialize() {\\n\\t\\tGridBagConstraints gridBagConstraints81 = new GridBagConstraints();\\n\\t\\tgridBagConstraints81.gridx = 1;\\n\\t\\tgridBagConstraints81.weighty = 1.0D;\\n\\t\\tgridBagConstraints81.anchor = GridBagConstraints.WEST;\\n\\t\\tgridBagConstraints81.gridy = 11;\\n\\t\\tGridBagConstraints gridBagConstraints10 = new GridBagConstraints();\\n\\t\\tgridBagConstraints10.gridx = 1;\\n\\t\\tgridBagConstraints10.anchor = GridBagConstraints.WEST;\\n\\t\\tgridBagConstraints10.gridy = 9;\\n\\t\\tGridBagConstraints gridBagConstraints9 = new GridBagConstraints();\\n\\t\\tgridBagConstraints9.gridx = 0;\\n\\t\\tgridBagConstraints9.insets = new Insets(5, 10, 0, 0);\\n\\t\\tgridBagConstraints9.anchor = GridBagConstraints.WEST;\\n\\t\\tgridBagConstraints9.gridy = 9;\\n\\t\\tlblPossibilityDriverHasCar = new JLabel();\\n\\t\\tlblPossibilityDriverHasCar.setText(\\\"Possibility driver has car:\\\");\\n\\t\\tGridBagConstraints gridBagConstraints8 = new GridBagConstraints();\\n\\t\\tgridBagConstraints8.gridx = 1;\\n\\t\\tgridBagConstraints8.anchor = GridBagConstraints.NORTHWEST;\\n\\t\\tgridBagConstraints8.gridy = 10;\\n\\t\\tGridBagConstraints gridBagConstraints71 = new GridBagConstraints();\\n\\t\\tgridBagConstraints71.gridx = 1;\\n\\t\\tgridBagConstraints71.anchor = GridBagConstraints.WEST;\\n\\t\\tgridBagConstraints71.gridy = 8;\\n\\t\\tGridBagConstraints gridBagConstraints6 = new GridBagConstraints();\\n\\t\\tgridBagConstraints6.gridx = 1;\\n\\t\\tgridBagConstraints6.anchor = GridBagConstraints.WEST;\\n\\t\\tgridBagConstraints6.gridy = 7;\\n\\t\\tGridBagConstraints gridBagConstraints51 = new GridBagConstraints();\\n\\t\\tgridBagConstraints51.gridx = 1;\\n\\t\\tgridBagConstraints51.anchor = GridBagConstraints.WEST;\\n\\t\\tgridBagConstraints51.gridy = 6;\\n\\t\\tGridBagConstraints gridBagConstraints4 = new GridBagConstraints();\\n\\t\\tgridBagConstraints4.gridx = 0;\\n\\t\\tgridBagConstraints4.insets = new Insets(5, 10, 0, 0);\\n\\t\\tgridBagConstraints4.anchor = GridBagConstraints.WEST;\\n\\t\\tgridBagConstraints4.gridy = 10;\\n\\t\\tlblPossibilityAdultHasJob = new JLabel();\\n\\t\\tlblPossibilityAdultHasJob.setText(\\\"Possibility adult has job:\\\");\\n\\t\\tGridBagConstraints gridBagConstraints32 = new GridBagConstraints();\\n\\t\\tgridBagConstraints32.gridx = 0;\\n\\t\\tgridBagConstraints32.insets = new Insets(5, 10, 0, 0);\\n\\t\\tgridBagConstraints32.anchor = GridBagConstraints.WEST;\\n\\t\\tgridBagConstraints32.gridy = 8;\\n\\t\\tlblPossibilityAdultIsDriver = new JLabel();\\n\\t\\tlblPossibilityAdultIsDriver.setText(\\\"Possibility adult is driver:\\\");\\n\\t\\tGridBagConstraints gridBagConstraints21 = new GridBagConstraints();\\n\\t\\tgridBagConstraints21.gridx = 0;\\n\\t\\tgridBagConstraints21.insets = new Insets(5, 10, 0, 10);\\n\\t\\tgridBagConstraints21.anchor = GridBagConstraints.WEST;\\n\\t\\tgridBagConstraints21.gridy = 7;\\n\\t\\tlblAverageChildrenPerHouse = new JLabel();\\n\\t\\tlblAverageChildrenPerHouse.setText(\\\"Average children per house:\\\");\\n\\t\\tGridBagConstraints gridBagConstraints13 = new GridBagConstraints();\\n\\t\\tgridBagConstraints13.gridx = 0;\\n\\t\\tgridBagConstraints13.anchor = GridBagConstraints.WEST;\\n\\t\\tgridBagConstraints13.insets = new Insets(5, 10, 0, 0);\\n\\t\\tgridBagConstraints13.gridy = 6;\\n\\t\\tlblAverageAdultsPerHouse = new JLabel();\\n\\t\\tlblAverageAdultsPerHouse.setText(\\\"Average adults per house:\\\");\\n\\t\\tGridBagConstraints gridBagConstraints31 = new GridBagConstraints();\\n\\t\\tgridBagConstraints31.gridx = 0;\\n\\t\\tgridBagConstraints31.insets = new Insets(5, 0, 5, 10);\\n\\t\\tgridBagConstraints31.anchor = GridBagConstraints.NORTH;\\n\\t\\tgridBagConstraints31.fill = GridBagConstraints.NONE;\\n\\t\\tgridBagConstraints31.gridwidth = 2;\\n\\t\\tgridBagConstraints31.gridy = 4;\\n\\t\\tGridBagConstraints gridBagConstraints2 = new GridBagConstraints();\\n\\t\\tgridBagConstraints2.gridx = 0;\\n\\t\\tgridBagConstraints2.insets = new Insets(5, 0, 5, 10);\\n\\t\\tgridBagConstraints2.anchor = GridBagConstraints.NORTH;\\n\\t\\tgridBagConstraints2.fill = GridBagConstraints.NONE;\\n\\t\\tgridBagConstraints2.gridwidth = 2;\\n\\t\\tgridBagConstraints2.gridy = 2;\\n\\t\\tGridBagConstraints gridBagConstraints5 = new GridBagConstraints();\\n\\t\\tgridBagConstraints5.gridx = 1;\\n\\t\\tgridBagConstraints5.anchor = GridBagConstraints.WEST;\\n\\t\\tgridBagConstraints5.gridy = 3;\\n\\t\\tGridBagConstraints gridBagConstraints41 = new GridBagConstraints();\\n\\t\\tgridBagConstraints41.gridx = 1;\\n\\t\\tgridBagConstraints41.anchor = GridBagConstraints.WEST;\\n\\t\\tgridBagConstraints41.gridy = 1;\\n\\t\\tGridBagConstraints gridBagConstraints12 = new GridBagConstraints();\\n\\t\\tgridBagConstraints12.gridx = 1;\\n\\t\\tgridBagConstraints12.anchor = GridBagConstraints.NORTH;\\n\\t\\tgridBagConstraints12.fill = GridBagConstraints.HORIZONTAL;\\n\\t\\tgridBagConstraints12.insets = new Insets(0, 0, 0, 10);\\n\\t\\tgridBagConstraints12.gridy = 5;\\n\\t\\tGridBagConstraints gridBagConstraints3 = new GridBagConstraints();\\n\\t\\tgridBagConstraints3.gridx = 0;\\n\\t\\tgridBagConstraints3.insets = new Insets(0, 10, 0, 5);\\n\\t\\tgridBagConstraints3.anchor = GridBagConstraints.WEST;\\n\\t\\tgridBagConstraints3.gridy = 3;\\n\\t\\tlblWorkPositions = new JLabel();\\n\\t\\tlblWorkPositions.setText(\\\"Work positions:\\\");\\n\\t\\tGridBagConstraints gridBagConstraints11 = new GridBagConstraints();\\n\\t\\tgridBagConstraints11.gridx = 0;\\n\\t\\tgridBagConstraints11.anchor = GridBagConstraints.WEST;\\n\\t\\tgridBagConstraints11.insets = new Insets(0, 10, 0, 0);\\n\\t\\tgridBagConstraints11.gridy = 1;\\n\\t\\tlblPopulation = new JLabel();\\n\\t\\tlblPopulation.setText(\\\"Population:\\\");\\n\\t\\tGridBagConstraints gridBagConstraints7 = new GridBagConstraints();\\n\\t\\tgridBagConstraints7.gridx = 0;\\n\\t\\tgridBagConstraints7.weighty = 0.0D;\\n\\t\\tgridBagConstraints7.anchor = GridBagConstraints.NORTHWEST;\\n\\t\\tgridBagConstraints7.insets = new Insets(0, 10, 0, 0);\\n\\t\\tgridBagConstraints7.gridy = 5;\\n\\t\\tlblColorTitle = new JLabel();\\n\\t\\tlblColorTitle.setText(\\\"Color:\\\");\\n\\t\\tGridBagConstraints gridBagConstraints1 = new GridBagConstraints();\\n\\t\\tgridBagConstraints1.fill = GridBagConstraints.HORIZONTAL;\\n\\t\\tgridBagConstraints1.gridy = 0;\\n\\t\\tgridBagConstraints1.weightx = 1.0;\\n\\t\\tgridBagConstraints1.insets = new Insets(10, 0, 0, 10);\\n\\t\\tgridBagConstraints1.gridx = 1;\\n\\t\\tGridBagConstraints gridBagConstraints = new GridBagConstraints();\\n\\t\\tgridBagConstraints.gridx = 0;\\n\\t\\tgridBagConstraints.insets = new Insets(10, 10, 0, 0);\\n\\t\\tgridBagConstraints.anchor = GridBagConstraints.WEST;\\n\\t\\tgridBagConstraints.gridy = 0;\\n\\t\\tlblNameTitle = new JLabel();\\n\\t\\tlblNameTitle.setText(\\\"Name:\\\");\\n\\t\\tthis.setSize(351, 280);\\n\\t\\tthis.setLayout(new GridBagLayout());\\n\\t\\tthis.add(lblNameTitle, gridBagConstraints);\\n\\t\\tthis.add(getTxtName(), gridBagConstraints1);\\n\\t\\tthis.add(lblColorTitle, gridBagConstraints7);\\n\\t\\tthis.add(lblPopulation, gridBagConstraints11);\\n\\t\\tthis.add(lblWorkPositions, gridBagConstraints3);\\n\\t\\tthis.add(getBtnChangeColor(), gridBagConstraints12);\\n\\t\\tthis.add(getSpnPopulation(), gridBagConstraints41);\\n\\t\\tthis.add(getSpnWorkPositions(), gridBagConstraints5);\\n\\t\\tthis.add(getBtnResidentJobs(), gridBagConstraints2);\\n\\t\\tthis.add(getBtnWorkerJobs(), gridBagConstraints31);\\n\\t\\tthis.add(lblAverageAdultsPerHouse, gridBagConstraints13);\\n\\t\\tthis.add(lblAverageChildrenPerHouse, gridBagConstraints21);\\n\\t\\tthis.add(lblPossibilityAdultIsDriver, gridBagConstraints32);\\n\\t\\tthis.add(lblPossibilityAdultHasJob, gridBagConstraints4);\\n\\t\\tthis.add(getSpnAverageAdultsPerHouse(), gridBagConstraints51);\\n\\t\\tthis.add(getSpnAverageChildrenPerHouse(), gridBagConstraints6);\\n\\t\\tthis.add(getSpnPossibilityAdultIsDriver(), gridBagConstraints71);\\n\\t\\tthis.add(getSpnPossibilityAdultHasJob(), gridBagConstraints8);\\n\\t\\tthis.add(lblPossibilityDriverHasCar, gridBagConstraints9);\\n\\t\\tthis.add(getSpnPossibilityDriverHasCar(), gridBagConstraints10);\\n\\t\\tthis.add(getChkEnabled(), gridBagConstraints81);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"627b19e547068d6bafde8dd9b8e87c22\",\n \"score\": \"0.52754784\",\n \"text\": \"private GridBagConstraints getConstraintsForPurchaseMenu() {\\n\\t\\tGridBagConstraints gc = new GridBagConstraints();\\n\\n\\t\\tgc.fill = GridBagConstraints.HORIZONTAL;\\n\\t\\tgc.anchor = GridBagConstraints.NORTH;\\n\\t\\tgc.gridwidth = GridBagConstraints.REMAINDER;\\n\\t\\tgc.weightx = 1.0d;\\n\\t\\tgc.weighty = 0d;\\n\\n\\t\\treturn gc;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eb17165bf7c5cae34d37e9bc25dc2c28\",\n \"score\": \"0.52411306\",\n \"text\": \"public static GridBagConstraints makeGBC(int x, int y, int fill, double wx, double wy) {\\n GridBagConstraints gbc = new GridBagConstraints();\\n gbc.gridx = x;\\n gbc.gridy = y;\\n gbc.fill = fill;\\n gbc.weightx = wx;\\n gbc.weighty = wy;\\n return gbc;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d3adc293744f3b964d6fca5f890d404\",\n \"score\": \"0.5234562\",\n \"text\": \"private void initialize() {\\r\\n\\ttry {\\r\\n\\t\\t// user code begin {1}\\r\\n\\t\\t// user code end\\r\\n\\t\\tsetName(\\\"ScalePanel\\\");\\r\\n\\t\\tsetLayout(new java.awt.GridBagLayout());\\r\\n\\t\\tsetSize(120, 247);\\r\\n\\r\\n\\t\\tjava.awt.GridBagConstraints constraintsCheckboxAuto = new java.awt.GridBagConstraints();\\r\\n\\t\\tconstraintsCheckboxAuto.gridx = 0; constraintsCheckboxAuto.gridy = 1;\\r\\n\\t\\tconstraintsCheckboxAuto.gridwidth = 2;\\r\\n\\t\\tconstraintsCheckboxAuto.fill = java.awt.GridBagConstraints.HORIZONTAL;\\r\\n\\t\\tconstraintsCheckboxAuto.anchor = java.awt.GridBagConstraints.WEST;\\r\\n\\t\\tconstraintsCheckboxAuto.insets = new java.awt.Insets(0, 10, 0, 5);\\r\\n\\t\\tadd(getCheckboxAuto(), constraintsCheckboxAuto);\\r\\n\\r\\n\\t\\tjava.awt.GridBagConstraints constraintsCheckboxManual = new java.awt.GridBagConstraints();\\r\\n\\t\\tconstraintsCheckboxManual.gridx = 0; constraintsCheckboxManual.gridy = 4;\\r\\n\\t\\tconstraintsCheckboxManual.gridwidth = 2;\\r\\n\\t\\tconstraintsCheckboxManual.fill = java.awt.GridBagConstraints.HORIZONTAL;\\r\\n\\t\\tconstraintsCheckboxManual.anchor = java.awt.GridBagConstraints.WEST;\\r\\n\\t\\tconstraintsCheckboxManual.insets = new java.awt.Insets(0, 10, 0, 5);\\r\\n\\t\\tadd(getCheckboxManual(), constraintsCheckboxManual);\\r\\n\\r\\n\\t\\tjava.awt.GridBagConstraints constraintsTextFieldMin = new java.awt.GridBagConstraints();\\r\\n\\t\\tconstraintsTextFieldMin.gridx = 1; constraintsTextFieldMin.gridy = 5;\\r\\n\\t\\tconstraintsTextFieldMin.fill = java.awt.GridBagConstraints.HORIZONTAL;\\r\\n\\t\\tconstraintsTextFieldMin.anchor = java.awt.GridBagConstraints.EAST;\\r\\n\\t\\tconstraintsTextFieldMin.insets = new java.awt.Insets(0, 0, 0, 5);\\r\\n\\t\\tadd(getTextFieldMin(), constraintsTextFieldMin);\\r\\n\\r\\n\\t\\tjava.awt.GridBagConstraints constraintsTextFieldMax = new java.awt.GridBagConstraints();\\r\\n\\t\\tconstraintsTextFieldMax.gridx = 1; constraintsTextFieldMax.gridy = 6;\\r\\n\\t\\tconstraintsTextFieldMax.fill = java.awt.GridBagConstraints.HORIZONTAL;\\r\\n\\t\\tconstraintsTextFieldMax.anchor = java.awt.GridBagConstraints.EAST;\\r\\n\\t\\tconstraintsTextFieldMax.weightx = 1.0;\\r\\n\\t\\tconstraintsTextFieldMax.insets = new java.awt.Insets(0, 0, 5, 5);\\r\\n\\t\\tadd(getTextFieldMax(), constraintsTextFieldMax);\\r\\n\\r\\n\\t\\tjava.awt.GridBagConstraints constraintsLabelMin = new java.awt.GridBagConstraints();\\r\\n\\t\\tconstraintsLabelMin.gridx = 0; constraintsLabelMin.gridy = 5;\\r\\n\\t\\tconstraintsLabelMin.anchor = java.awt.GridBagConstraints.WEST;\\r\\n\\t\\tconstraintsLabelMin.insets = new java.awt.Insets(0, 15, 0, 5);\\r\\n\\t\\tadd(getLabelMin(), constraintsLabelMin);\\r\\n\\r\\n\\t\\tjava.awt.GridBagConstraints constraintsLabelMax = new java.awt.GridBagConstraints();\\r\\n\\t\\tconstraintsLabelMax.gridx = 0; constraintsLabelMax.gridy = 6;\\r\\n\\t\\tconstraintsLabelMax.anchor = java.awt.GridBagConstraints.WEST;\\r\\n\\t\\tconstraintsLabelMax.insets = new java.awt.Insets(0, 15, 0, 5);\\r\\n\\t\\tadd(getLabelMax(), constraintsLabelMax);\\r\\n\\r\\n\\t\\tjava.awt.GridBagConstraints constraintsLabelRealMin = new java.awt.GridBagConstraints();\\r\\n\\t\\tconstraintsLabelRealMin.gridx = 1; constraintsLabelRealMin.gridy = 2;\\r\\n\\t\\tconstraintsLabelRealMin.fill = java.awt.GridBagConstraints.HORIZONTAL;\\r\\n\\t\\tconstraintsLabelRealMin.insets = new java.awt.Insets(0, 0, 0, 5);\\r\\n\\t\\tadd(getLabelRealMin(), constraintsLabelRealMin);\\r\\n\\r\\n\\t\\tjava.awt.GridBagConstraints constraintsLabelRealMax = new java.awt.GridBagConstraints();\\r\\n\\t\\tconstraintsLabelRealMax.gridx = 1; constraintsLabelRealMax.gridy = 3;\\r\\n\\t\\tconstraintsLabelRealMax.fill = java.awt.GridBagConstraints.HORIZONTAL;\\r\\n\\t\\tconstraintsLabelRealMax.insets = new java.awt.Insets(0, 0, 0, 5);\\r\\n\\t\\tadd(getLabelRealMax(), constraintsLabelRealMax);\\r\\n\\r\\n\\t\\tjava.awt.GridBagConstraints constraintsCheckboxGrayscale = new java.awt.GridBagConstraints();\\r\\n\\t\\tconstraintsCheckboxGrayscale.gridx = 0; constraintsCheckboxGrayscale.gridy = 8;\\r\\n\\t\\tconstraintsCheckboxGrayscale.gridwidth = 2;\\r\\n\\t\\tconstraintsCheckboxGrayscale.fill = java.awt.GridBagConstraints.HORIZONTAL;\\r\\n\\t\\tconstraintsCheckboxGrayscale.insets = new java.awt.Insets(0, 10, 0, 5);\\r\\n\\t\\tadd(getCheckboxGrayscale(), constraintsCheckboxGrayscale);\\r\\n\\r\\n\\t\\tjava.awt.GridBagConstraints constraintsCheckboxBlueToRed = new java.awt.GridBagConstraints();\\r\\n\\t\\tconstraintsCheckboxBlueToRed.gridx = 0; constraintsCheckboxBlueToRed.gridy = 9;\\r\\n\\t\\tconstraintsCheckboxBlueToRed.gridwidth = 2;\\r\\n\\t\\tconstraintsCheckboxBlueToRed.fill = java.awt.GridBagConstraints.HORIZONTAL;\\r\\n\\t\\tconstraintsCheckboxBlueToRed.insets = new java.awt.Insets(0, 10, 5, 5);\\r\\n\\t\\tadd(getCheckboxBlueToRed(), constraintsCheckboxBlueToRed);\\r\\n\\r\\n\\t\\tjava.awt.GridBagConstraints constraintsJLabel3 = new java.awt.GridBagConstraints();\\r\\n\\t\\tconstraintsJLabel3.gridx = 0; constraintsJLabel3.gridy = 0;\\r\\n\\t\\tconstraintsJLabel3.gridwidth = 2;\\r\\n\\t\\tconstraintsJLabel3.fill = java.awt.GridBagConstraints.BOTH;\\r\\n\\t\\tconstraintsJLabel3.weightx = 1.0;\\r\\n\\t\\tconstraintsJLabel3.insets = new java.awt.Insets(5, 5, 0, 5);\\r\\n\\t\\tadd(getJLabel3(), constraintsJLabel3);\\r\\n\\r\\n\\t\\tjava.awt.GridBagConstraints constraintsJLabel = new java.awt.GridBagConstraints();\\r\\n\\t\\tconstraintsJLabel.gridx = 0; constraintsJLabel.gridy = 2;\\r\\n\\t\\tconstraintsJLabel.anchor = java.awt.GridBagConstraints.WEST;\\r\\n\\t\\tconstraintsJLabel.insets = new java.awt.Insets(0, 15, 0, 5);\\r\\n\\t\\tadd(getJLabel(), constraintsJLabel);\\r\\n\\r\\n\\t\\tjava.awt.GridBagConstraints constraintsJLabel1 = new java.awt.GridBagConstraints();\\r\\n\\t\\tconstraintsJLabel1.gridx = 0; constraintsJLabel1.gridy = 3;\\r\\n\\t\\tconstraintsJLabel1.anchor = java.awt.GridBagConstraints.WEST;\\r\\n\\t\\tconstraintsJLabel1.insets = new java.awt.Insets(0, 15, 0, 5);\\r\\n\\t\\tadd(getJLabel1(), constraintsJLabel1);\\r\\n\\r\\n\\t\\tjava.awt.GridBagConstraints constraintsJLabel2 = new java.awt.GridBagConstraints();\\r\\n\\t\\tconstraintsJLabel2.gridx = 0; constraintsJLabel2.gridy = 7;\\r\\n\\t\\tconstraintsJLabel2.gridwidth = 2;\\r\\n\\t\\tconstraintsJLabel2.fill = java.awt.GridBagConstraints.BOTH;\\r\\n\\t\\tconstraintsJLabel2.weightx = 1.0;\\r\\n\\t\\tconstraintsJLabel2.insets = new java.awt.Insets(0, 5, 0, 5);\\r\\n\\t\\tadd(getJLabel2(), constraintsJLabel2);\\r\\n\\t\\tinitConnections();\\r\\n\\t\\tconnEtoM1();\\r\\n\\t\\tconnEtoM2();\\r\\n\\t\\tconnEtoM15();\\r\\n\\t\\tconnEtoM16();\\r\\n\\t} catch (java.lang.Throwable ivjExc) {\\r\\n\\t\\thandleException(ivjExc);\\r\\n\\t}\\r\\n\\t// user code begin {2}\\r\\n\\t// user code end\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f914fe8867c9fcd6dd0f0f68a1fb031f\",\n \"score\": \"0.52318496\",\n \"text\": \"IConstraint createConstraint();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1ee3a4460762b24d544ac82c941dfd82\",\n \"score\": \"0.5225493\",\n \"text\": \"CapacityGoal(BalancingConstraint constraint) {\\n _balancingConstraint = constraint;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0b4ba48c7151f300d26d80a6ed4f2041\",\n \"score\": \"0.5219229\",\n \"text\": \"@Test\\r\\n\\tpublic void testECCCORE_LLG_ConstraintGeneration() throws IloException \\r\\n\\t{\\r\\n\\t\\tIloCplex cplexSolver = new IloCplex();\\r\\n\\t\\tList items = new LinkedList();\\r\\n\\t\\titems.add(1);\\r\\n\\t\\titems.add(2);\\r\\n\\t\\t\\r\\n\\t\\tdouble marginalValueL1 = 0.1;\\r\\n\\t\\tdouble marginalValueL2 = 0.2;\\r\\n\\t\\tdouble marginalValueG = 0.3;\\r\\n\\t\\t\\r\\n\\t\\t//Local bidder\\r\\n\\t\\tList bundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(0) );\\r\\n\\t\\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValueL1);\\r\\n\\t\\tCombinatorialType t1 = new CombinatorialType();\\r\\n\\t\\tt1.addAtomicBid(atom11);\\r\\n\\r\\n\\t\\t//Local bidder\\r\\n\\t\\tbundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(1) );\\r\\n\\t\\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValueL2);\\r\\n\\t\\tCombinatorialType t2 = new CombinatorialType();\\r\\n\\t\\tt2.addAtomicBid(atom21);\\r\\n\\t\\t\\r\\n\\t\\t//Global bidder\\r\\n\\t\\tbundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(0) );\\r\\n\\t\\tbundle.add( items.get(1) );\\r\\n\\t\\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValueG);\\r\\n\\t\\tCombinatorialType t3 = new CombinatorialType();\\r\\n\\t\\tt3.addAtomicBid(atom31);\\r\\n\\t\\t\\r\\n\\t\\tList bids = new LinkedList();\\r\\n\\t\\tbids.add(t1);\\r\\n\\t\\tbids.add(t2);\\r\\n\\t\\tbids.add(t3);\\r\\n\\t\\t\\r\\n\\t\\tList costs = new LinkedList();\\r\\n\\t\\tcosts.add(0.05);\\r\\n\\t\\tcosts.add(0.1);\\r\\n\\t\\t\\r\\n\\t\\tGridGenerator generator = new GridGenerator(1, 2);\\r\\n\\t\\tgenerator.setSeed(0);\\r\\n\\t\\tgenerator.buildProximityGraph();\\r\\n\\t\\tGraph grid = generator.getGrid();\\r\\n\\t\\t\\r\\n\\t\\tassertTrue(grid.getVertices().size() == 2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().size() == 2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\\r\\n\\t\\t\\r\\n\\t\\tdouble primaryReductionCoef = 0.3;\\r\\n\\t\\tdouble secondaryReductionCoef = 0.2;\\r\\n\\t\\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\\r\\n\\t\\tjpmf.setNumberOfSamples(1000000);\\r\\n\\t\\tjpmf.setNumberOfBombsToThrow(1);\\r\\n\\t\\t\\r\\n\\t\\tIBombingStrategy b1 = new FocusedBombingStrategy(grid, 1., primaryReductionCoef, secondaryReductionCoef);\\r\\n\\t\\tIBombingStrategy b2 = new FocusedBombingStrategy(grid, 1., 0.4, 0.3);\\r\\n\\t\\tList bombs = new LinkedList();\\r\\n\\t\\tbombs.add(b1);\\r\\n\\t\\tbombs.add(b2);\\r\\n\\t\\t\\r\\n\\t\\tList pd = new LinkedList();\\r\\n\\t\\tpd.add(0.5);\\r\\n\\t\\tpd.add(0.5);\\r\\n\\t\\t\\r\\n\\t\\tjpmf.setBombs(bombs, pd);\\r\\n\\t\\tjpmf.update();\\r\\n\\t\\t\\r\\n\\t\\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\\r\\n\\t\\tauction.setSolver(cplexSolver);\\r\\n\\t\\tauction.setPaymentRule(\\\"ECC-CORE\\\");\\r\\n\\t\\tauction.setSeed(0);\\r\\n\\t\\ttry\\r\\n\\t\\t{\\r\\n\\t\\t\\tauction.solveIt();\\r\\n\\t\\t\\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\\r\\n\\t\\t\\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\\r\\n\\t\\t\\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.105 ) < 1e-4);\\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).size() == 2 );\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t//Get allocated buyers involved in the trade \\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 1 );\\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).get(1) == 2 );\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 2 );\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\\t\\t//First bidder gets its first bid\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(1) == 0 );\\t\\t//Second bidder gets its first bid\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tdouble[] payments = auction.getPayments();\\r\\n\\t\\t\\tassertTrue( payments.length == 2);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tSystem.out.println(\\\">> \\\" + allocation.getRealizedRV(0, 0) + \\\" \\\" + allocation.getRealizedRV(0, 1) + \\\" p[0]=\\\"+payments[0] + \\\" p[1]=\\\"+payments[1]);\\r\\n\\t\\t\\tif( Math.abs(allocation.getRealizedRV(0, 0) - 0.7) < 1e-4 && Math.abs(allocation.getRealizedRV(0, 1) - 0.8) < 1e-4 )\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tassertTrue( Math.abs(payments[0] - 0.065) < 1e-4 );\\r\\n\\t\\t\\t\\tassertTrue( Math.abs(payments[1] - 0.155) < 1e-4 );\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\telse if( Math.abs(allocation.getRealizedRV(0, 0) - 0.8) < 1e-4 && Math.abs(allocation.getRealizedRV(0, 1) - 0.7) < 1e-4 )\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tassertTrue( Math.abs(payments[0] - 0.0775) < 1e-4 );\\r\\n\\t\\t\\t\\tassertTrue( Math.abs(payments[1] - 0.1375) < 1e-4 );\\r\\n\\t\\t\\t} \\r\\n\\t\\t\\telse if( Math.abs(allocation.getRealizedRV(0, 0) - 0.6) < 1e-4 && Math.abs(allocation.getRealizedRV(0, 1) - 0.7) < 1e-4 )\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tassertTrue( Math.abs(payments[0] - 0.055) < 1e-4 );\\r\\n\\t\\t\\t\\tassertTrue( Math.abs(payments[1] - 0.135) < 1e-4 );\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\telse if( Math.abs(allocation.getRealizedRV(0, 0) - 0.7) < 1e-4 && Math.abs(allocation.getRealizedRV(0, 1) - 0.6) < 1e-4 )\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tassertTrue( Math.abs(payments[0] - 0.0675) < 1e-4 );\\r\\n\\t\\t\\t\\tassertTrue( Math.abs(payments[1] - 0.1175) < 1e-4 );\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\telse throw new RuntimeException(\\\"Wrong realized a vailabilities\\\");\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(0) );\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(1) );\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(2) );\\r\\n\\t\\t\\tassertTrue(!allocation.isAllocated(3) );\\r\\n\\t\\t}\\r\\n\\t\\tcatch (Exception e)\\r\\n\\t\\t{ \\r\\n\\t\\t\\te.printStackTrace(); \\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e2749d480d9b94f5d29562c9b367f6f8\",\n \"score\": \"0.5210333\",\n \"text\": \"public ConstraintHandler(GUIBuilderState guiState) {\\n super(guiState);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ac37ed143a2ef110eb034cd8fe4db82f\",\n \"score\": \"0.52085215\",\n \"text\": \"public static GridBagConstraints makeGBC(int x, int y, int w, int h, int fill, \\n double wx, double wy) {\\n GridBagConstraints gbc = new GridBagConstraints();\\n gbc.gridx = x;\\n gbc.gridy = y;\\n gbc.gridwidth = w;\\n gbc.gridheight = h;\\n gbc.fill = fill;\\n gbc.weightx = wx;\\n gbc.weighty = wy;\\n return gbc;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2402909adc50aef6bb89e874a65ec254\",\n \"score\": \"0.5208407\",\n \"text\": \"private void initialize() {\\n\\t\\tGridBagConstraints gridBagConstraints11 = new GridBagConstraints();\\n\\t\\tgridBagConstraints11.gridx = 0;\\n\\t\\tgridBagConstraints11.gridwidth = 2;\\n\\t\\tgridBagConstraints11.insets = new Insets(3, 0, 3, 0);\\n\\t\\tgridBagConstraints11.anchor = GridBagConstraints.CENTER;\\n\\t\\tgridBagConstraints11.gridy = 1;\\n\\t\\tGridBagConstraints gridBagConstraints1 = new GridBagConstraints();\\n\\t\\tgridBagConstraints1.gridx = 0;\\n\\t\\tgridBagConstraints1.fill = GridBagConstraints.BOTH;\\n\\t\\tgridBagConstraints1.weightx = 1.0D;\\n\\t\\tgridBagConstraints1.weighty = 1.0D;\\n\\t\\tgridBagConstraints1.gridy = 3;\\n\\t\\tGridBagConstraints gridBagConstraints = new GridBagConstraints();\\n\\t\\tgridBagConstraints.gridx = 0;\\n\\t\\tgridBagConstraints.gridwidth = 2;\\n\\t\\tgridBagConstraints.fill = GridBagConstraints.BOTH;\\n\\t\\tgridBagConstraints.weightx = 1.0D;\\n\\t\\tgridBagConstraints.weighty = 2.0D;\\n\\t\\tgridBagConstraints.insets = new Insets(5, 1, 0, 0);\\n\\t\\tgridBagConstraints.gridy = 0;\\n\\t\\tGridBagConstraints fromTopButtonConstraints = new GridBagConstraints();\\n\\t\\tfromTopButtonConstraints.gridx = 0;\\n\\t\\tfromTopButtonConstraints.gridy = 2;\\n\\t\\tfromTopButtonConstraints.weightx = 1.0D;\\n\\t\\tfromTopButtonConstraints.weighty = 1.0D;\\n\\t\\tfromTopButtonConstraints.fill = GridBagConstraints.BOTH;\\n\\t\\tGridBagConstraints nextButtonConstraints = new GridBagConstraints();\\n\\t\\tnextButtonConstraints.gridx = 1;\\n\\t\\tnextButtonConstraints.gridy = 2;\\n\\t\\tnextButtonConstraints.weightx = 1.0D;\\n\\t\\tnextButtonConstraints.weighty = 1.0D;\\n\\t\\tnextButtonConstraints.fill = GridBagConstraints.BOTH;\\n\\t\\tGridBagConstraints previousButtonConstraints = new GridBagConstraints();\\n\\t\\tpreviousButtonConstraints.gridx = 1;\\n\\t\\tpreviousButtonConstraints.gridy = 3;\\n\\t\\tpreviousButtonConstraints.weightx = 1.0D;\\n\\t\\tpreviousButtonConstraints.weighty = 1.0D;\\n\\t\\tpreviousButtonConstraints.fill = GridBagConstraints.BOTH;\\n\\t\\tthis.setLayout(new GridBagLayout());\\n\\t\\tthis.setBounds(new Rectangle(0, 0, 318, 138));\\n\\t\\tGridBagConstraints closeConstraints = new GridBagConstraints();\\n\\t\\tcloseConstraints.gridx = 0;\\n\\t\\tcloseConstraints.gridy = 4;\\n\\t\\tcloseConstraints.weightx = 1.0D;\\n\\t\\tcloseConstraints.weighty = 1.0D;\\n\\t\\tcloseConstraints.gridwidth = 3;\\n\\t\\tcloseConstraints.gridheight = 2;\\n\\t\\tcloseConstraints.insets = new Insets(11, 0, 0, 0);\\n\\t\\tcloseConstraints.fill = GridBagConstraints.BOTH;\\n\\t\\tthis.add(getFromTopButton(), fromTopButtonConstraints);\\n\\t\\tthis.add(getNextButton(), nextButtonConstraints);\\n\\t\\tthis.add(getFromBottomButton(), gridBagConstraints1);\\n\\t\\tthis.add(getPreviousButton(), previousButtonConstraints);\\n\\t\\tthis.add(getCloseButton(), closeConstraints);\\n\\t\\tthis.add(getTextPanel(), gridBagConstraints);\\n\\t\\tthis.add(getCasePanel(), gridBagConstraints11);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"145f96c362fd56d76f0b88172e97b0c8\",\n \"score\": \"0.52077794\",\n \"text\": \"public void orderNSquaredConstraints() {\\n\\t\\tGRBVar[][][] feasibilityVariables = new GRBVar[size][size][size * size];\\r\\n\\r\\n\\t\\tfor (int i = 0; i < size; i++) {\\r\\n\\t\\t\\tfor (int j = 0; j < size; j++) {\\r\\n\\t\\t\\t\\tfor (int k = 0; k < size * size; k++) {\\r\\n\\t\\t\\t\\t\\ttry {\\r\\n\\t\\t\\t\\t\\t\\tif (k != 0) {\\r\\n\\t\\t\\t\\t\\t\\t\\tfeasibilityVariables[i][j][k] = GRBModel.addVar(0.0, 1.0, 0.0, GRB.BINARY,\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"feasibilityVariables_row_\\\" + row + \\\"column\\\" + column + \\\"Timestep\\\" + k\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t+ Math.random());\\r\\n\\t\\t\\t\\t\\t\\t} else {\\r\\n\\t\\t\\t\\t\\t\\t\\tif (i == 0 && j == 0) {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\tfeasibilityVariables[i][j][k] = GRBModel.addVar(1.0, 1.0, 1.0, GRB.BINARY,\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"feasibilityVariables_row_\\\" + row + \\\"column\\\" + column + \\\"Timestep\\\" + k\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t+ Math.random());\\r\\n\\t\\t\\t\\t\\t\\t\\t} else {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\tfeasibilityVariables[i][j][k] = GRBModel.addVar(0.0, 0.0, 0.0, GRB.BINARY,\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\\"feasibilityVariables_row_\\\" + row + \\\"column\\\" + column + \\\"Timestep\\\" + k\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t+ Math.random());\\r\\n\\t\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\tGRBLinExpr obstacleConstraint = new GRBLinExpr();\\r\\n\\t\\t\\t\\t\\t\\tobstacleConstraint.addConstant(1.0);\\r\\n\\t\\t\\t\\t\\t\\tobstacleConstraint.addTerm(-1.0, grid.get(i).get(j));\\r\\n\\t\\t\\t\\t\\t\\tGRBModel.addConstr(feasibilityVariables[i][j][k], GRB.LESS_EQUAL, obstacleConstraint,\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\\"obsConstrForRow\\\" + row + \\\"Column\\\" + column + \\\"Timestep\\\" + k + Math.random());\\r\\n\\t\\t\\t\\t\\t} catch (GRBException e) {\\r\\n\\t\\t\\t\\t\\t\\te.printStackTrace();\\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\\tfor (int i = 0; i < size; i++) {\\r\\n\\t\\t\\tfor (int j = 0; j < size; j++) {\\r\\n\\t\\t\\t\\tfor (int k = 1; k < size * size; k++) {\\r\\n\\t\\t\\t\\t\\ttry {\\r\\n\\t\\t\\t\\t\\t\\tGRBVar[] orCondition = new GRBVar[5];\\r\\n\\t\\t\\t\\t\\t\\tGRBVar orVariable = GRBModel.addVar(0.0, 1.0, 0.0, GRB.BINARY, \\\"milne\\\" + Math.random());\\r\\n\\t\\t\\t\\t\\t\\torCondition[0] = feasibilityVariables[i][j][k - 1];\\r\\n\\t\\t\\t\\t\\t\\tif (i > 0)\\r\\n\\t\\t\\t\\t\\t\\t\\torCondition[1] = feasibilityVariables[i - 1][j][k - 1];\\r\\n\\t\\t\\t\\t\\t\\telse\\r\\n\\t\\t\\t\\t\\t\\t\\torCondition[1] = GRBModel.addVar(0.0, 0.0, 0.0, GRB.BINARY, \\\"milne\\\" + Math.random());\\r\\n\\t\\t\\t\\t\\t\\tif (i != size - 1)\\r\\n\\t\\t\\t\\t\\t\\t\\torCondition[2] = feasibilityVariables[i + 1][j][k - 1];\\r\\n\\t\\t\\t\\t\\t\\telse\\r\\n\\t\\t\\t\\t\\t\\t\\torCondition[2] = GRBModel.addVar(0.0, 0.0, 0.0, GRB.BINARY, \\\"milne\\\" + Math.random());\\r\\n\\t\\t\\t\\t\\t\\tif (j > 0)\\r\\n\\t\\t\\t\\t\\t\\t\\torCondition[3] = feasibilityVariables[i][j - 1][k - 1];\\r\\n\\t\\t\\t\\t\\t\\telse\\r\\n\\t\\t\\t\\t\\t\\t\\torCondition[3] = GRBModel.addVar(0.0, 0.0, 0.0, GRB.BINARY, \\\"milne\\\" + Math.random());\\r\\n\\t\\t\\t\\t\\t\\tif (j != size - 1)\\r\\n\\t\\t\\t\\t\\t\\t\\torCondition[4] = feasibilityVariables[i][j + 1][k - 1];\\r\\n\\t\\t\\t\\t\\t\\telse\\r\\n\\t\\t\\t\\t\\t\\t\\torCondition[4] = GRBModel.addVar(0.0, 0.0, 0.0, GRB.BINARY, \\\"milne\\\" + Math.random());\\r\\n\\r\\n\\t\\t\\t\\t\\t\\tGRBModel.addGenConstrOr(orVariable, orCondition, \\\"orI\\\" + i + \\\"j\\\" + j + \\\"k\\\" + k);\\r\\n\\t\\t\\t\\t\\t\\tGRBModel.addConstr(feasibilityVariables[i][j][k], GRB.LESS_EQUAL, orVariable,\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\\"orConstrI\\\" + i + \\\"j\\\" + j + \\\"k\\\" + k);\\r\\n\\r\\n\\t\\t\\t\\t\\t\\tGRBLinExpr kPlusOneConstraint = new GRBLinExpr();\\r\\n\\t\\t\\t\\t\\t\\tkPlusOneConstraint.addTerm(-1.0, grid.get(i).get(j));\\r\\n\\t\\t\\t\\t\\t\\tkPlusOneConstraint.addTerm(1.0, orVariable);\\r\\n\\t\\t\\t\\t\\t\\tGRBModel.addConstr(feasibilityVariables[i][j][k], GRB.GREATER_EQUAL, kPlusOneConstraint,\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\\"kPlusONeConstraintI\\\" + i + \\\"j\\\" + j + \\\"k\\\" + k);\\r\\n\\r\\n\\t\\t\\t\\t\\t} catch (GRBException e) {\\r\\n\\t\\t\\t\\t\\t\\te.printStackTrace();\\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\\ttry {\\r\\n\\t\\t\\tGRBModel.addConstr(feasibilityVariables[size - 1][0][(size * size) - 1], GRB.EQUAL, 1,\\r\\n\\t\\t\\t\\t\\t\\\"NewFeasibilityConstraint\\\");\\r\\n\\t\\t} catch (GRBException e) {\\r\\n\\t\\t\\te.printStackTrace();\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b687e6edc4be9134debe7c268600393b\",\n \"score\": \"0.52023256\",\n \"text\": \"@Test\\r\\n\\tpublic void testECCCORE_LLG2_ConstraintGeneration() throws Exception \\r\\n\\t{\\r\\n\\t\\tIloCplex cplexSolver = new IloCplex();\\r\\n\\t\\tList items = new LinkedList();\\r\\n\\t\\titems.add(1);\\r\\n\\t\\titems.add(2);\\r\\n\\t\\t\\r\\n\\t\\tdouble marginalValueL1 = 0.3867;\\r\\n\\t\\tdouble marginalValueL2 = 0.7139;\\r\\n\\t\\tdouble marginalValueG = 0.9067;\\r\\n\\t\\t\\r\\n\\t\\t//Local bidder\\r\\n\\t\\tList bundle = Arrays.asList( items.get(0) );\\r\\n\\t\\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValueL1);\\r\\n\\t\\tCombinatorialType t1 = new CombinatorialType();\\r\\n\\t\\tt1.addAtomicBid(atom11);\\r\\n\\r\\n\\t\\t//Local bidder\\r\\n\\t\\tbundle = Arrays.asList( items.get(1) );\\r\\n\\t\\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValueL2);\\r\\n\\t\\tCombinatorialType t2 = new CombinatorialType();\\r\\n\\t\\tt2.addAtomicBid(atom21);\\r\\n\\t\\t\\r\\n\\t\\t//Global bidder\\r\\n\\t\\tbundle = Arrays.asList( items.get(0), items.get(1) );\\r\\n\\t\\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValueG);\\r\\n\\t\\tCombinatorialType t3 = new CombinatorialType();\\r\\n\\t\\tt3.addAtomicBid(atom31);\\r\\n\\t\\t\\r\\n\\t\\tList bids = Arrays.asList(t1, t2, t3);\\r\\n\\t\\t\\r\\n\\t\\tList costs = Arrays.asList(0.7275, 0.6832);\\r\\n\\t\\t\\r\\n\\t\\tGridGenerator generator = new GridGenerator(1, 2);\\r\\n\\t\\tgenerator.setSeed(0);\\r\\n\\t\\tgenerator.buildProximityGraph();\\r\\n\\t\\tGraph grid = generator.getGrid();\\r\\n\\t\\t\\r\\n\\t\\tassertTrue(grid.getVertices().size() == 2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().size() == 2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\\r\\n\\t\\t\\r\\n\\t\\tdouble primaryReductionCoef = 0.3;\\r\\n\\t\\tdouble secondaryReductionCoef = 0.2;\\r\\n\\t\\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\\r\\n\\t\\tjpmf.setNumberOfSamples(1000000);\\r\\n\\t\\tjpmf.setNumberOfBombsToThrow(1);\\r\\n\\t\\t\\r\\n\\t\\tIBombingStrategy b = new FocusedBombingStrategy(grid, 1., primaryReductionCoef, secondaryReductionCoef);\\r\\n\\t\\tList bombs = new LinkedList();\\r\\n\\t\\tbombs.add(b);\\r\\n\\t\\t\\r\\n\\t\\tList pd = Arrays.asList(1.);\\r\\n\\t\\t\\r\\n\\t\\tjpmf.setBombs(bombs, pd);\\r\\n\\t\\tjpmf.update();\\r\\n\\t\\t\\r\\n\\t\\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\\r\\n\\t\\tauction.setSolver(cplexSolver);\\r\\n\\t\\tauction.setPaymentRule(\\\"ECC-CORE\\\");\\r\\n\\t\\tauction.setSeed(0);\\r\\n\\t\\ttry\\r\\n\\t\\t{\\r\\n\\t\\t\\tauction.solveIt();\\r\\n\\t\\t\\tthrow new RuntimeException(\\\"VCG should be in the core for this setting\\\");\\r\\n\\t\\t}\\r\\n\\t\\tcatch (PaymentException e)\\r\\n\\t\\t{\\r\\n\\t\\t\\tif( e.getMessage().equals(\\\"VCG is in the Core\\\"))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tSystem.out.println(\\\"VCG is in the Core\\\");\\r\\n\\t\\t\\t\\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\\r\\n\\t\\t\\t\\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\\r\\n\\t\\t\\t\\tassertTrue(allocation.getBiddersInvolved(0).size() == 1);\\r\\n\\t\\t\\t\\tassertTrue(allocation.getBiddersInvolved(0).get(0) == 2);\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.0230 ) < 1e-4);\\r\\n\\t\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 1 );\\r\\n\\t\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tdouble[] payments = auction.getPayments();\\r\\n\\t\\t\\t\\tassertTrue(payments.length == 1);\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tif(allocation.getRealizedRV(0, 0) == 0.7)\\r\\n\\t\\t\\t\\t\\tassertTrue( Math.abs( payments[0] - 0.6832*0.7) < 1e-4 );\\r\\n\\t\\t\\t\\telse if(allocation.getRealizedRV(0, 0) == 0.8)\\r\\n\\t\\t\\t\\t\\tassertTrue( Math.abs( payments[0] - 0.6832*0.8) < 1e-4 );\\r\\n\\t\\t\\t\\telse throw new RuntimeException(\\\"Incorrect realization of RV\\\");\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\tassertTrue( allocation.isAllocated(0) );\\r\\n\\t\\t\\t\\tassertTrue( !allocation.isAllocated(1) );\\r\\n\\t\\t\\t\\tassertTrue( allocation.isAllocated(2) );\\r\\n\\t\\t\\t\\tassertTrue( !allocation.isAllocated(3) );\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\telse\\r\\n\\t\\t\\t\\te.printStackTrace();\\r\\n\\t\\t}\\r\\n\\t\\tcatch (Exception e)\\r\\n\\t\\t{\\r\\n\\t\\t\\te.printStackTrace();\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0a27c464ced090191cec296a2c034115\",\n \"score\": \"0.51861435\",\n \"text\": \"private void init(){\\n setLayout(m_gbl);\\n\\n m_gbc.gridx = 0;\\n m_gbc.gridy = 0;\\n m_gbc.gridwidth = 1;\\n //m_gbc.weightx = 1;\\n //m_gbc.weighty = 1;\\n m_gbc.fill = GridBagConstraints.VERTICAL;\\n m_gbc.insets = new Insets(2,2,2,2);\\n\\n m_gbc.anchor = GridBagConstraints.EAST;\\n m_numClustLbl = new JLabel();\\n m_numClustLbl.setText(\\\"Number of clusters: \\\");\\n //m_numClustLbl.setFont(new Font(\\\"Arial\\\", Font.BOLD,10));\\n m_numClustLbl.setToolTipText(\\\"Enter integer value > 2 specifying number of clusters desired.\\\");\\n m_gbl.setConstraints(m_numClustLbl, m_gbc);\\n\\n m_gbc.gridx = 1;\\n m_gbc.anchor = GridBagConstraints.WEST;\\n m_numClust = new JTextField(Integer.toString((_src.getNumberOfClusters() < 2)?5:_src.getNumberOfClusters()), 5);\\n m_numClust.setFont(new Font(\\\"Arial\\\", Font.BOLD,12));\\n m_numClust.setToolTipText(\\\"Enter integer value > 2 specifying number of clusters desired.\\\");\\n m_gbl.setConstraints(m_numClust, m_gbc);\\n\\n\\n\\n m_gbc.gridx = 0;\\n m_gbc.gridy++;\\n m_gbc.gridwidth = 1;\\n m_gbc.fill = GridBagConstraints.VERTICAL;\\n m_gbc.insets = new Insets(2,2,2,2);\\n\\n m_gbc.anchor = GridBagConstraints.EAST;\\n m_maxPartLbl = new JLabel();\\n m_maxPartLbl.setText(\\\"Max partition size: \\\");\\n m_maxPartLbl.setToolTipText(\\\"Enter integer value > 0 specifying max partition size.\\\");\\n m_gbl.setConstraints(m_maxPartLbl, m_gbc);\\n\\n m_gbc.gridx = 1;\\n m_gbc.anchor = GridBagConstraints.WEST;\\n m_maxPart = new JTextField(Integer.toString((_src.getmaxPartitionSize() < 1)?250:_src.getmaxPartitionSize()), 7);\\n m_maxPart.setFont(new Font(\\\"Arial\\\", Font.BOLD,12));\\n m_maxPart.setToolTipText(\\\"Enter integer value > 0 specifying max partition size.\\\");\\n m_gbl.setConstraints(m_maxPart, m_gbc);\\n\\n\\n\\n m_gbc.gridx = 0;\\n m_gbc.gridy++;\\n m_gbc.gridwidth = 1;\\n m_gbc.fill = GridBagConstraints.VERTICAL;\\n m_gbc.insets = new Insets(2,2,2,2);\\n\\n m_gbc.anchor = GridBagConstraints.EAST;\\n m_nthSortLbl = new JLabel();\\n m_nthSortLbl.setText(\\\"Sort attribute: \\\");\\n m_nthSortLbl.setToolTipText(\\\"Enter integer value >= 0 specifying the index of attribute to sort on.\\\");\\n m_gbl.setConstraints(m_nthSortLbl, m_gbc);\\n\\n m_gbc.gridx = 1;\\n m_gbc.anchor = GridBagConstraints.WEST;\\n m_nthSort = new JTextField(Integer.toString((_src.getNthSortTerm() < 0)?0:_src.getNthSortTerm()), 5);\\n m_nthSort.setFont(new Font(\\\"Arial\\\", Font.BOLD,12));\\n m_nthSort.setToolTipText(\\\"Enter integer value >= 0 specifying the index of attribute to sort on.\\\");\\n m_gbl.setConstraints(m_nthSort, m_gbc);\\n\\n m_gbc.gridwidth = 2;\\n\\n m_gbc.gridx = 0;\\n m_gbc.gridy++;\\n m_gbc.insets = new Insets(4,2,2,2);\\n m_gbc.anchor = GridBagConstraints.CENTER;\\n m_verbose = new JCheckBox(\\\"Verbose\\\", _src.getVerbose());\\n m_verbose.setToolTipText(\\\"Print verbose messages to console.\\\");\\n m_gbl.setConstraints(m_verbose, m_gbc);\\n m_verbose.setVisible(_showVerbose);\\n\\n m_gbc.gridy++;\\n m_gbc.anchor = GridBagConstraints.CENTER;\\n m_gbc.insets = new Insets(4,2,2,2);\\n this.m_checkMV = new JCheckBox(\\\"Check Missing for Values\\\",_src.getCheckMissingValues());\\n m_checkMV.setToolTipText(\\\"Screen for missing values in the input table.\\\");\\n m_gbl.setConstraints(m_checkMV, m_gbc);\\n m_checkMV.setVisible(this._showMVCheck);\\n\\n add(m_numClustLbl);\\n add(m_numClust);\\n add(m_maxPartLbl);\\n add(m_maxPart);\\n add(m_nthSortLbl);\\n add(m_nthSort);\\n add(m_verbose);\\n add(m_checkMV);\\n\\n this.setMinimumSize(this.getPreferredSize());\\n this.validateTree();\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba1b7855a1e9696956b883ecba75c952\",\n \"score\": \"0.51832074\",\n \"text\": \"private void populateConstraints() {\\n constraints = ArrayListMultimap.create();\\n for (Name name : moduleVersionPool.keySet()) {\\n Set dependencies = Sets.newLinkedHashSet();\\n for (Module module : registry.getModuleVersions(name)) {\\n for (DependencyInfo dependency : module.getMetadata().getDependencies()) {\\n dependencies.add(dependency.getId());\\n }\\n }\\n\\n for (Name dependency : dependencies) {\\n Map constraintTable = Maps.newHashMapWithExpectedSize(moduleVersionPool.get(name).size());\\n for (Version version : moduleVersionPool.get(name)) {\\n Module versionedModule = registry.getModule(name, version);\\n DependencyInfo info = versionedModule.getMetadata().getDependencyInfo(dependency);\\n if (info != null) {\\n constraintTable.put(version, info.versionRange());\\n }\\n }\\n constraints.put(name, new Constraint(name, dependency, constraintTable));\\n constraints.put(dependency, new Constraint(name, dependency, constraintTable));\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8dd20871c54b3ff388c9492d5f49c70e\",\n \"score\": \"0.51780474\",\n \"text\": \"public void setConstraints (ConstraintKnowledge constraints) {\\n\\tthis.ck=constraints;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"85c394a4a519d36e96470539031f9b67\",\n \"score\": \"0.5174419\",\n \"text\": \"public static GridBagConstraints makeGBC(int x, int y, int w, int h, int fill, \\n Insets insets, double wx, double wy) {\\n GridBagConstraints gbc = new GridBagConstraints();\\n gbc.gridx = x;\\n gbc.gridy = y;\\n gbc.gridwidth = w;\\n gbc.gridheight = h;\\n gbc.fill = fill;\\n gbc.insets = insets;\\n gbc.weightx = wx;\\n gbc.weighty = wy;\\n return gbc;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e01b3df662cf348a6b8e241a580ee54d\",\n \"score\": \"0.5163964\",\n \"text\": \"public static GridBagConstraints makeGBC(int x, int y, int fill, Insets insets, double wx, double wy) {\\n GridBagConstraints gbc = new GridBagConstraints();\\n gbc.gridx = x;\\n gbc.gridy = y;\\n gbc.fill = fill;\\n gbc.insets = insets;\\n gbc.weightx = wx;\\n gbc.weighty = wy;\\n return gbc;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"30ff384905d5f522983bb43ec65df76e\",\n \"score\": \"0.5154774\",\n \"text\": \"public void setConstraints (Container cont, Component it, int x, int y,\\n\\t\\t\\t\\tint width, int height, int fill,\\n\\t\\t\\t int anchor, double weightX, double weightY)\\n\\t\\t{\\n\\t\\t\\tGridBagConstraints c = this.getConstraints (x, y, width, height, fill, anchor, weightX, weightY);\\n\\t\\t\\tc.insets = new Insets (2, 2, 2, 2);\\n\\t\\t\\t((GridBagLayout) cont.getLayout()).setConstraints (it, c);\\n\\t\\t\\tcont.add (it);\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3be9b4deb79ee234be24a0e7572843cc\",\n \"score\": \"0.5138083\",\n \"text\": \"public void addGridBagComponent(Container container, JComponent comp, GridBagLayout g, GridBagConstraints c,\\n int gx, int gy, int a, int gw, int gh, int f, double wx, double wy)\\n {\\n c.gridx = gx;\\n c.gridy = gy;\\n c.anchor = a;\\n c.insets = new Insets(2, 2, 2, 2);\\n c.ipadx = 2;\\n c.ipady = 2;\\n c.gridwidth = gw;\\n c.gridheight = gh;\\n c.fill = f;\\n c.weightx = wx;\\n c.weighty = wy;\\n g.setConstraints(comp, c);\\n container.add(comp);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc3e0d75095da7cc3c141209c546322b\",\n \"score\": \"0.512167\",\n \"text\": \"private GridBagConstraints createGbc(int x, int y) {\\n GridBagConstraints gbc = new GridBagConstraints();\\n gbc.gridx = x;\\n gbc.gridy = y;\\n gbc.gridwidth = 1;\\n gbc.gridheight = 1;\\n\\n gbc.anchor = x == 0 ? GridBagConstraints.WEST : GridBagConstraints.EAST;\\n gbc.fill = GridBagConstraints.HORIZONTAL;\\n\\n gbc.insets = (x == 0) ? WEST_INSETS : EAST_INSETS;\\n gbc.weightx = (x == 0) ? 0.1 : 1.0;\\n gbc.weighty = 0.75;\\n return gbc;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13a22febbe5c28246d3768d54d1e339f\",\n \"score\": \"0.5093586\",\n \"text\": \"public BubbleGrid(int[][] grid) {\\n this.grid = grid;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d22207461d2f7ceb471e0e3605bf01ba\",\n \"score\": \"0.50913906\",\n \"text\": \"private void initFixedConstraints() {\\n\\n\\t\\tboolean hasChanged = true;\\n\\t\\t//While the fixed constrains where changed \\n\\t\\twhile (hasChanged) {\\n\\t\\t\\thasChanged = false;\\n\\t\\t\\t//Loops over the fixed constrains for each index\\n\\t\\t\\tfor (int i = 0; i < fixedConstrains.length; i++) {\\n\\t\\t\\t\\tint radIndex = (int) Math.floor(i / size);\\n\\t\\t\\t\\tint colIndex = i % size;\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t//Removes the fixed values for the row from the possible values this index can be\\n\\t\\t\\t\\tfor (int k = radIndex * size, to = radIndex * size + size; k < to; k++) {\\n\\t\\t\\t\\t\\tif (i != k && isConstrainedIndex(k))\\n\\t\\t\\t\\t\\t\\tfixedConstrains[i].removeValue(values[k]);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t//Same for column\\n\\t\\t\\t\\tfor (int j = colIndex; j < values.length; j += size) {\\n\\t\\t\\t\\t\\tif (i != j && isConstrainedIndex(j))\\n\\t\\t\\t\\t\\t\\tfixedConstrains[i].removeValue(values[j]);\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\n\\t\\t\\t\\t//Same for bulk\\n\\t\\t\\t\\tint startIndex = i - (radIndex % bulkSize) * size - colIndex\\n\\t\\t\\t\\t\\t\\t% bulkSize, bulkLength = startIndex + size\\n\\t\\t\\t\\t\\t\\t* (bulkSize - 1) + bulkSize;\\n\\t\\t\\t\\tfor (int k = startIndex; k < bulkLength; k += size) {\\n\\t\\t\\t\\t\\tfor (int k2 = 0; k2 < bulkSize; k2++) {\\n\\t\\t\\t\\t\\t\\tint index = k + k2;\\n\\t\\t\\t\\t\\t\\tif (i != index && isConstrainedIndex(index))\\n\\t\\t\\t\\t\\t\\t\\tfixedConstrains[i].removeValue(values[index]);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\n\\t\\t\\t\\t//If this index only can be one value set it to this value \\n\\t\\t\\t\\t// and make it a fixed value\\n\\t\\t\\t\\t//Also set that the fixed constrains have changed\\n\\t\\t\\t\\tif (fixedConstrains[i].size() == 1 && !isConstrainedIndex(i)) {\\n\\t\\t\\t\\t\\thasChanged = true;\\n\\t\\t\\t\\t\\tconstrainedIndexes[i] = true;\\n\\t\\t\\t\\t\\tvalues[i] = fixedConstrains[i].get(0);\\n\\t\\t\\t\\t}\\n\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dceb1eacc0bf71d66ea1c819224ee1fc\",\n \"score\": \"0.50773364\",\n \"text\": \"public void setConstraints (Container cont, Component it, int x, int y, int width, int height, int fill,\\n\\t\\t\\t int anchor, double weightX, double weightY, Insets insets)\\n\\t\\t{\\n\\t\\t\\tGridBagConstraints c = this.getConstraints (x, y, width, height, fill, anchor, weightX, weightY);\\n\\t\\t\\tc.insets \\t= insets;\\n\\t\\t\\t((GridBagLayout) cont.getLayout()).setConstraints (it, c);\\n\\t\\t\\tcont.add (it);\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"447f0f5a3181d4f1a8efc7c52199039d\",\n \"score\": \"0.505438\",\n \"text\": \"public Graph(int V){\\n\\t\\tthis.V=V;\\n\\t\\tthis.E=0;\\n\\t\\tbg= (Bag[]) new Bag[V]; //casting done\\n\\t\\tfor(int i=0;i();\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d8c1c2e976f2a2dfc9bf5423a107e27\",\n \"score\": \"0.5007862\",\n \"text\": \"public void createGrid(){\\n\\t\\tcreateBorder();\\n\\t\\tcreateRandomFences();\\n\\t\\tcreateMhos();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"63bc42fea2288abd702d88173324ce5a\",\n \"score\": \"0.49861103\",\n \"text\": \"public static void inputBounds(){\\n \\t int lowerBound = lowerBoundValidation();\\n \\t Matrix.setLowerBound(lowerBound);\\n \\t int upperBound = upperBoundValidation(lowerBound);\\n \\t Matrix.setUpperBound(upperBound);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3b52ac092562db090ee35c482bb930e\",\n \"score\": \"0.49368092\",\n \"text\": \"private void augmentInvariant(T inv,\\n Pair constraints) {\\n TempConstrainedInvariant lowerConstrInv = new TempConstrainedInvariant(\\n inv, constraints.getLeft(),\\n AbstractMain.getInstance().options.outputSupportCount);\\n TempConstrainedInvariant upperConstrInv = new TempConstrainedInvariant(\\n inv, constraints.getRight(),\\n AbstractMain.getInstance().options.outputSupportCount);\\n\\n constrainedInvs.add(lowerConstrInv);\\n constrainedInvs.add(upperConstrInv);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"299ba97b86e7966fe81aba441acdb635\",\n \"score\": \"0.49207297\",\n \"text\": \"private void PrepareGrid()\\n {\\n // Define grid parameters\\n grid = new GridPane();\\n grid.setHgap(10);\\n grid.setVgap(10);\\n grid.setPadding(new Insets(20, 150, 10, 10));\\n\\n // Add labels & controls to grid\\n grid.add(new Label(ADD_GOOD_NAME_PLACEHOLDER), 0, 0);\\n grid.add(name, 1, 0);\\n grid.add(new Label(ADD_GOOD_VOLUME_PLACEHOLDER), 0, 1);\\n grid.add(volume, 1, 1);\\n grid.add(new Label(ADD_GOOD_PHOTO_PLACEHOLDER), 0, 2);\\n grid.add(photoChooser, 1, 2);\\n grid.add(pickedPhoto, 2, 2);\\n grid.add(new Label(ADD_GOOD_PRICE_PLACEHOLDER), 0, 3);\\n grid.add(price, 1, 3);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"df65285c8455cd2eca796535b8dad4b1\",\n \"score\": \"0.4915356\",\n \"text\": \"public void SetConstraint(int value)\\n {\\n constraint = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8ffa27ea712ae74b70e3a1a84e516175\",\n \"score\": \"0.48800376\",\n \"text\": \"public void setConstraint(graphene.model.idl.G_Constraint value) {\\n this.constraint = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"abb0c61b216bb9c312002227c349dbef\",\n \"score\": \"0.48706537\",\n \"text\": \"protected void addConstraint(){\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"304415ab69c654dd6213ba0390225e59\",\n \"score\": \"0.4864711\",\n \"text\": \"public void createGrid(){\\r\\n grid.setAlignment(Pos.CENTER);\\r\\n grid.setHgap(10);\\r\\n grid.setVgap(10);\\r\\n grid.setPadding(new Insets(25, 25, 25, 25));\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a48e3760625c3e6cb4ee1a646b3a0539\",\n \"score\": \"0.48610926\",\n \"text\": \"public StdConstraint() { }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"493ed67390885792f0b1f9c6b92ec92c\",\n \"score\": \"0.48498955\",\n \"text\": \"private void initializeGrid() {\\n int count = this.nBombs;\\n while (count > 0) {\\n int randX = ThreadLocalRandom.current().nextInt(0, this.fieldSize);\\n int randY = ThreadLocalRandom.current().nextInt(0, this.fieldSize);\\n if (!this.grid[randX][randY]) {\\n this.grid[randX][randY] = true;\\n count--;\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"53cb8e400dafae2c83df3c5cdea1452c\",\n \"score\": \"0.48495522\",\n \"text\": \"public void CreateMatrix()\\n {\\n for (int i = 0; i <= 31; i++)\\n {\\n ColumnConstraints column = new ColumnConstraints();\\n RowConstraints row = new RowConstraints();\\n column.setPercentWidth(3.125);\\n column.setHgrow(SOMETIMES);\\n row.setPercentHeight(2.5);\\n row.setVgrow(SOMETIMES);\\n root.getColumnConstraints().add(column);\\n root.getRowConstraints().add(row);\\n }\\n for (int j = 0; j <= 7; j++)\\n {\\n RowConstraints row = new RowConstraints();\\n row.setPercentHeight(2.5);\\n row.setVgrow(SOMETIMES);\\n root.getRowConstraints().add(row);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"863c28ca07e386b5141bb3120f660a57\",\n \"score\": \"0.48425427\",\n \"text\": \"void setBounds(int idx, float lower, float upper);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2a152f979a52c8ed6ebf569ac6e7dfc\",\n \"score\": \"0.48311076\",\n \"text\": \"private void createValueAndWeightParams() {\\n\\t\\t// make parameter for value\\n\\t\\t DoubleValueWeightConstraint constraint = (DoubleValueWeightConstraint)model.getConstraint();\\n \\t DoubleConstraint valConstraint=null, weightConstraint = null;\\n \\t if(constraint!=null) {\\n \\t\\t valConstraint = new DoubleConstraint(constraint.getMinVal(), constraint.getMaxVal());\\n \\t\\t valConstraint.setNullAllowed(true);\\n \\t\\t weightConstraint = new DoubleConstraint(constraint.getMinWt(), constraint.getMaxWt());\\n \\t\\t weightConstraint.setNullAllowed(true);\\n \\t }\\n \\t valueParameter = new DoubleParameter(VALUE, valConstraint, model.getUnits());\\n \\t valueParameter.addParameterChangeListener(this);\\n \\t // make paramter for weight\\n \\t weightParameter = new DoubleParameter(WEIGHT, weightConstraint);\\n \\t weightParameter.addParameterChangeListener(this);\\n \\t // set initial values in value and weight\\n \\t ValueWeight valueWeight = (ValueWeight)this.model.getValue();\\n \\t if(valueWeight!=null) {\\n \\t\\t valueParameter.setValue(valueWeight.getValue());\\n \\t\\t weightParameter.setValue(valueWeight.getWeight());\\n \\t }\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a5cef3f1c9197e6ac2a9886584017461\",\n \"score\": \"0.48063484\",\n \"text\": \"public void finalizeConstraints(char[] item1ValidBags, char[] item2ValidBags){\\r\\n\\t\\tString v1 = String.valueOf(item1ValidBags);\\r\\n\\t\\tString v2 = String.valueOf(item2ValidBags);\\r\\n\\t\\tfor (int i=1; i < matrix.length; i++){\\r\\n\\t\\t\\tfor (int j = 1; j < matrix.length; j++){\\r\\n\\t\\t\\t\\tif (v1.indexOf(matrix[i][0]) == -1){\\r\\n\\t\\t\\t\\t\\tmatrix[i][j] = 'f';\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\tif (v2.indexOf(matrix[0][j]) == -1){\\r\\n\\t\\t\\t\\t\\tmatrix[i][j] = 'f';\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"12a03fce14ba14d8b183e9a3e715ecc3\",\n \"score\": \"0.480391\",\n \"text\": \"public void makeGrid(int x, int y){\\n gridContraints = new GridBagConstraints();\\n gridContraints.anchor = GridBagConstraints.FIRST_LINE_START;\\n buttons = new Cell[x][y];\\n// gamePanel.p\\n for(int i = 0; i < y; i++){\\n for (int j = 0; j < x; j++){\\n int[] pos = new int[2];\\n pos[0] = j;\\n pos[1] = i;\\n buttons[j][i] = new Cell(pos);\\n gridContraints.gridx = j;\\n gridContraints.gridy = i;\\n buttons[j][i].addActionListener(new FirstButtonClickListener());\\n gamePanel.add(buttons[j][i],gridContraints);\\n// gamePanel.paintImmediately(new Rectangle(j,i,40,40));\\n }\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d455db9891c31a35dbe51ccdb2f6beb9\",\n \"score\": \"0.47971195\",\n \"text\": \"public void visitsConstraints() {\\r\\n\\r\\n\\t\\tGRBLinExpr sumOfDecisions = new GRBLinExpr();\\r\\n\\r\\n\\t\\tdouble[] ones;\\r\\n\\r\\n\\t\\tones = new double[timestep + 1];\\r\\n\\t\\tArrays.fill(ones, 1.0);\\r\\n\\r\\n\\t\\tGRBVar[] decisionsUntilK = decisions.get(row).get(column).subList(0, timestep + 1)\\r\\n\\t\\t\\t\\t.toArray(new GRBVar[timestep + 1]); // decisions to move to this cell, up until this point. +1 is because\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t// timestep starts at 0\\r\\n\\r\\n\\t\\ttry {\\r\\n\\t\\t\\tsumOfDecisions = new GRBLinExpr();\\r\\n\\t\\t\\tsumOfDecisions.addTerms(ones, decisionsUntilK);\\r\\n\\t\\t\\tsumOfDecisions.addTerm(timestep + 2, grid.get(row).get(column)); // if obstacle present, disallow Squeaky from visiting here\\r\\n\\t\\t\\tGRBModel.addConstr(visits.get(row).get(column).get(timestep), GRB.EQUAL, sumOfDecisions,\\r\\n\\t\\t\\t\\t\\t\\\"visitscount_\\\" + timestep + \\\"row\\\" + row + \\\"column\\\" + column);\\r\\n\\t\\t} catch (GRBException e) {\\r\\n\\t\\t\\te.printStackTrace();\\r\\n\\t\\t\\tSystem.out.println(\\\"Abnormal exception - exiting now.\\\");\\r\\n\\t\\t\\tSystem.exit(1);\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"60914c3925b204b0782e1676b3462310\",\n \"score\": \"0.4790822\",\n \"text\": \"public KnapsackStateImpl() {\\n _isBound = new ArrayList();\\n _isIn = new ArrayList();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5665572689a27f9b7c694b7a1ebd7be2\",\n \"score\": \"0.4790372\",\n \"text\": \"private void initialize() {\\r\\n\\t\\tthis.setSize(800, 600);\\r\\n\\t\\tthis.setLayout(new GridBagLayout());\\r\\n\\r\\n\\t\\tGridBagConstraints gridBagConstraints2 = new GridBagConstraints();\\r\\n\\t\\tgridBagConstraints2.gridx = 2;\\r\\n\\t\\tgridBagConstraints2.anchor = GridBagConstraints.WEST;\\r\\n\\t\\tgridBagConstraints2.gridy = 7;\\r\\n\\t\\tlblRightChannelPeak = new JLabel();\\r\\n\\t\\tlblRightChannelPeak.setText(\\\"Right channel peak:\\\");\\r\\n\\t\\tGridBagConstraints gridBagConstraints1 = new GridBagConstraints();\\r\\n\\t\\tgridBagConstraints1.gridx = 2;\\r\\n\\t\\tgridBagConstraints1.anchor = GridBagConstraints.WEST;\\r\\n\\t\\tgridBagConstraints1.gridy = 6;\\r\\n\\t\\tlblLeftChannelPeak = new JLabel();\\r\\n\\t\\tlblLeftChannelPeak.setText(\\\"Left channel peak:\\\");\\r\\n\\t\\tGridBagConstraints gridBagConstraints = new GridBagConstraints();\\r\\n\\t\\tgridBagConstraints.gridx = 0;\\r\\n\\t\\tgridBagConstraints.anchor = GridBagConstraints.WEST;\\r\\n\\t\\tgridBagConstraints.gridy = 6;\\r\\n\\t\\tlblRecordingInterfaces = new JLabel();\\r\\n\\t\\tlblRecordingInterfaces.setText(\\\"Recording Interfaces\\\");\\r\\n\\r\\n\\t\\tGridBagConstraints lstRecordingInterfacesConstraints = new GridBagConstraints();\\r\\n\\t\\tlstRecordingInterfacesConstraints.fill = GridBagConstraints.BOTH;\\r\\n\\t\\tlstRecordingInterfacesConstraints.gridy = 7;\\r\\n\\t\\tlstRecordingInterfacesConstraints.weightx = 1.0;\\r\\n\\t\\tlstRecordingInterfacesConstraints.weighty = 1.0;\\r\\n\\t\\tlstRecordingInterfacesConstraints.gridx = 0;\\r\\n\\t\\tlstRecordingInterfacesConstraints.gridheight = 3;\\r\\n\\t\\t\\r\\n\\t\\t// Add top row spacer.\\r\\n\\t\\tGridBagConstraints topRowConstraint = new GridBagConstraints();\\r\\n\\t\\ttopRowConstraint.gridx = 0;\\r\\n\\t\\ttopRowConstraint.gridy = 0;\\r\\n\\t\\ttopRowConstraint.gridwidth = 3;\\r\\n\\t\\ttopRowConstraint.fill = GridBagConstraints.BOTH;\\r\\n\\t\\ttopRowConstraint.weightx = 0.0;\\r\\n\\t\\ttopRowConstraint.weighty = 0.0;\\r\\n\\t\\t\\r\\n\\t\\tGridBagConstraints cboRightOutputChannelConstraints = new GridBagConstraints();\\r\\n\\t\\tcboRightOutputChannelConstraints.fill = GridBagConstraints.NONE;\\r\\n\\t\\tcboRightOutputChannelConstraints.gridy = 5;\\r\\n\\t\\tcboRightOutputChannelConstraints.weightx = 1.0;\\r\\n\\t\\tcboRightOutputChannelConstraints.anchor = GridBagConstraints.NORTHWEST;\\r\\n\\t\\tcboRightOutputChannelConstraints.insets = new Insets(5, 5, 5, 5);\\r\\n\\t\\tcboRightOutputChannelConstraints.gridx = 1;\\r\\n\\t\\t\\r\\n\\t\\tGridBagConstraints cboLeftOutputChannelConstraints = new GridBagConstraints();\\r\\n\\t\\tcboLeftOutputChannelConstraints.fill = GridBagConstraints.NONE;\\r\\n\\t\\tcboLeftOutputChannelConstraints.gridy = 3;\\r\\n\\t\\tcboLeftOutputChannelConstraints.weightx = 1.0;\\r\\n\\t\\tcboLeftOutputChannelConstraints.anchor = GridBagConstraints.NORTHWEST;\\r\\n\\t\\tcboLeftOutputChannelConstraints.insets = new Insets(5, 5, 5, 5);\\r\\n\\t\\tcboLeftOutputChannelConstraints.gridx = 1;\\r\\n\\t\\t\\r\\n\\t\\tGridBagConstraints btnInterfacesConstraints = new GridBagConstraints();\\r\\n\\t\\tbtnInterfacesConstraints.gridx = 0;\\r\\n\\t\\tbtnInterfacesConstraints.gridy = 1;\\r\\n\\t\\tbtnInterfacesConstraints.gridwidth = 1;\\r\\n\\t\\tbtnInterfacesConstraints.anchor = GridBagConstraints.NORTHWEST;\\r\\n\\t\\tbtnInterfacesConstraints.insets = new Insets(5, 5, 5, 5);\\r\\n\\t\\tbtnInterfacesConstraints.gridheight = 1;\\r\\n\\t\\t\\r\\n\\t\\tGridBagConstraints btnRecordConstraints = new GridBagConstraints();\\r\\n\\t\\tbtnRecordConstraints.gridx = 2;\\r\\n\\t\\tbtnRecordConstraints.gridy = 4;\\r\\n\\t\\tbtnRecordConstraints.gridheight = 1;\\r\\n\\t\\tbtnRecordConstraints.anchor = GridBagConstraints.NORTHWEST;\\r\\n\\t\\tbtnRecordConstraints.insets = new Insets(5, 5, 5, 5);\\r\\n\\t\\tbtnRecordConstraints.gridwidth = 1;\\r\\n\\t\\t\\r\\n\\t\\tGridBagConstraints lblInterfacesConstraints = new GridBagConstraints();\\r\\n\\t\\tlblInterfacesConstraints.gridx = 0;\\r\\n\\t\\tlblInterfacesConstraints.insets = new Insets(5, 5, 5, 5);\\r\\n\\t\\tlblInterfacesConstraints.anchor = GridBagConstraints.SOUTHWEST;\\r\\n\\t\\tlblInterfacesConstraints.gridy = 2;\\r\\n\\t\\t\\r\\n\\t\\tGridBagConstraints lstInterfacesConstaints = new GridBagConstraints();\\r\\n\\t\\tlstInterfacesConstaints.gridx = 0;\\r\\n\\t\\tlstInterfacesConstaints.fill = GridBagConstraints.BOTH;\\r\\n\\t\\tlstInterfacesConstaints.anchor = GridBagConstraints.NORTHWEST;\\r\\n\\t\\tlstInterfacesConstaints.gridheight = 3;\\r\\n\\t\\tlstInterfacesConstaints.weightx = 0.5;\\r\\n\\t\\tlstInterfacesConstaints.weighty = 0.5;\\r\\n\\t\\tlstInterfacesConstaints.gridy = 3;\\r\\n\\t\\t\\r\\n\\t\\tGridBagConstraints lblLeftOutputChannelConstraints = new GridBagConstraints();\\r\\n\\t\\tlblLeftOutputChannelConstraints.gridx = 1;\\r\\n\\t\\tlblLeftOutputChannelConstraints.gridy = 2;\\r\\n\\t\\tlblLeftOutputChannelConstraints.gridheight = 1;\\r\\n\\t\\tlblLeftOutputChannelConstraints.insets = new Insets(5, 5, 5, 5);\\r\\n\\t\\tlblLeftOutputChannelConstraints.anchor = GridBagConstraints.SOUTHWEST;\\r\\n\\t\\tlblLeftOutputChannelConstraints.gridwidth = 1;\\r\\n\\r\\n\\t\\tGridBagConstraints lblRightOutputChannelConstraints = new GridBagConstraints();\\r\\n\\t\\tlblRightOutputChannelConstraints.gridx = 1;\\r\\n\\t\\tlblRightOutputChannelConstraints.gridy = 4;\\r\\n\\t\\tlblRightOutputChannelConstraints.gridheight = 1;\\r\\n\\t\\tlblRightOutputChannelConstraints.insets = new Insets(5, 5, 5, 5);\\r\\n\\t\\tlblRightOutputChannelConstraints.anchor = GridBagConstraints.SOUTHWEST;\\r\\n\\t\\tlblRightOutputChannelConstraints.gridwidth = 1;\\r\\n\\t\\t\\r\\n\\t\\tGridBagConstraints lblInputChannelConstraints = new GridBagConstraints();\\r\\n\\t\\tlblInputChannelConstraints.gridx = 1;\\r\\n\\t\\tlblInputChannelConstraints.gridy = 6;\\r\\n\\t\\tlblInputChannelConstraints.gridheight = 1;\\r\\n\\t\\tlblInputChannelConstraints.insets = new Insets(5, 5, 5, 5);\\r\\n\\t\\tlblInputChannelConstraints.anchor = GridBagConstraints.SOUTHWEST;\\r\\n\\t\\tlblInputChannelConstraints.gridwidth = 1;\\r\\n\\r\\n\\t\\tGridBagConstraints cboInputChannelConstraints = new GridBagConstraints();\\r\\n\\t\\tcboInputChannelConstraints.fill = GridBagConstraints.NONE;\\r\\n\\t\\tcboInputChannelConstraints.gridy = 7;\\r\\n\\t\\tcboInputChannelConstraints.weightx = 1.0;\\r\\n\\t\\tcboInputChannelConstraints.anchor = GridBagConstraints.NORTHWEST;\\r\\n\\t\\tcboInputChannelConstraints.insets = new Insets(5, 5, 5, 5);\\r\\n\\t\\tcboInputChannelConstraints.gridx = 1;\\r\\n\\r\\n\\t\\tGridBagConstraints lblSamplingRateConstraints = new GridBagConstraints();\\r\\n\\t\\tlblSamplingRateConstraints.gridx = 2;\\r\\n\\t\\tlblSamplingRateConstraints.gridy = 2;\\r\\n\\t\\tlblSamplingRateConstraints.gridheight = 1;\\r\\n\\t\\tlblSamplingRateConstraints.insets = new Insets(5, 5, 5, 5);\\r\\n\\t\\tlblSamplingRateConstraints.anchor = GridBagConstraints.SOUTHWEST;\\r\\n\\t\\tlblSamplingRateConstraints.gridwidth = 1;\\r\\n\\r\\n\\t\\tGridBagConstraints cboSamplingRateConstraints = new GridBagConstraints();\\r\\n\\t\\tcboSamplingRateConstraints.fill = GridBagConstraints.NONE;\\r\\n\\t\\tcboSamplingRateConstraints.gridy = 3;\\r\\n\\t\\tcboSamplingRateConstraints.weightx = 1.0;\\r\\n\\t\\tcboSamplingRateConstraints.anchor = GridBagConstraints.NORTHWEST;\\r\\n\\t\\tcboSamplingRateConstraints.insets = new Insets(5, 5, 5, 5);\\r\\n\\t\\tcboSamplingRateConstraints.gridx = 2;\\r\\n\\t\\t\\r\\n\\t\\tGridBagConstraints bottomRowConstraint = new GridBagConstraints();\\r\\n\\t\\tbottomRowConstraint.gridx = 0;\\r\\n\\t\\tbottomRowConstraint.gridy = 11;\\r\\n\\t\\tbottomRowConstraint.gridwidth = 3;\\r\\n\\t\\tbottomRowConstraint.fill = GridBagConstraints.BOTH;\\r\\n\\t\\tbottomRowConstraint.weightx = 0.0;\\r\\n\\t\\tbottomRowConstraint.weighty = 0.0;\\r\\n\\r\\n\\r\\n\\t\\tthis.add(getPnlTopSpace(), topRowConstraint);\\r\\n\\t\\tthis.add(getBtnInterfaces(), btnInterfacesConstraints);\\r\\n\\t\\tthis.add(getLblPlaybackInterfaces(), lblInterfacesConstraints);\\r\\n\\t\\tthis.add(getLstInterfaces(), lstInterfacesConstaints);\\r\\n\\t\\tthis.add(getLblLeftOutputChannel(), lblLeftOutputChannelConstraints);\\r\\n\\t\\tthis.add(getCboLeftOutputChannel(), cboLeftOutputChannelConstraints);\\r\\n\\t\\tthis.add(getLblRightOutputChannel(), lblRightOutputChannelConstraints);\\r\\n\\t\\tthis.add(getCboRightOutputChannel(), cboRightOutputChannelConstraints);\\r\\n\\t\\tthis.add(getLblInputChannel(), lblInputChannelConstraints);\\r\\n\\t\\tthis.add(getCboInputChannel(), cboInputChannelConstraints);\\r\\n\\t\\tthis.add(getLblSamplingRate(), lblSamplingRateConstraints);\\r\\n\\t\\tthis.add(getCboSamplingRate(), cboSamplingRateConstraints);\\r\\n\\t\\tthis.add(getBtnRecord(), btnRecordConstraints);\\r\\n\\t\\tthis.add(getPnlBottomSpace(), bottomRowConstraint);\\r\\n\\t\\tthis.add(getLstRecordingInterfaces(), lstRecordingInterfacesConstraints);\\r\\n\\t\\tthis.add(lblRecordingInterfaces, gridBagConstraints);\\r\\n\\t\\tthis.add(lblLeftChannelPeak, gridBagConstraints1);\\r\\n\\t\\tthis.add(lblRightChannelPeak, gridBagConstraints2);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"00ffe44642f2aebf13904e3d7150d5df\",\n \"score\": \"0.47811848\",\n \"text\": \"@Test\\r\\n\\tpublic void testECVCG_LLG1() throws IloException \\r\\n\\t{\\r\\n\\t\\tIloCplex cplexSolver = new IloCplex();\\r\\n\\t\\tList items = new LinkedList();\\r\\n\\t\\titems.add(1);\\r\\n\\t\\titems.add(2);\\r\\n\\t\\t\\r\\n\\t\\t//Local bidder\\r\\n\\t\\tList bundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(0) );\\r\\n\\t\\tdouble marginalValue = 0.1;\\r\\n\\t\\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t1 = new CombinatorialType();\\r\\n\\t\\tt1.addAtomicBid(atom11);\\r\\n\\t\\t\\r\\n\\t\\t//Local bidder\\r\\n\\t\\tbundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(1) );\\r\\n\\t\\tmarginalValue = 0.2;\\r\\n\\t\\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t2 = new CombinatorialType();\\r\\n\\t\\tt2.addAtomicBid(atom21);\\r\\n\\t\\t\\r\\n\\t\\t//Global bidder\\r\\n\\t\\tbundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(0) );\\r\\n\\t\\tbundle.add( items.get(1) );\\r\\n\\t\\tmarginalValue = 0.35;\\r\\n\\t\\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t3 = new CombinatorialType();\\r\\n\\t\\tt3.addAtomicBid(atom31);\\r\\n\\t\\t\\r\\n\\t\\tList bids = new LinkedList();\\r\\n\\t\\tbids.add(t1);\\r\\n\\t\\tbids.add(t2);\\r\\n\\t\\tbids.add(t3);\\r\\n\\t\\t\\r\\n\\t\\tList costs = new LinkedList();\\r\\n\\t\\tcosts.add(0.05);\\r\\n\\t\\tcosts.add(0.1);\\r\\n\\t\\t\\r\\n\\t\\tGridGenerator generator = new GridGenerator(1, 2);\\r\\n\\t\\tgenerator.setSeed(0);\\r\\n\\t\\tgenerator.buildProximityGraph();\\r\\n\\t\\tGraph grid = generator.getGrid();\\r\\n\\t\\t\\r\\n\\t\\tassertTrue(grid.getVertices().size() == 2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().size() == 2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\\r\\n\\t\\t\\r\\n\\t\\tdouble primaryReductionCoef = 0.3;\\r\\n\\t\\tdouble secondaryReductionCoef = 0.2;\\r\\n\\t\\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\\r\\n\\t\\tjpmf.setNumberOfSamples(1000000);\\r\\n\\t\\tjpmf.setNumberOfBombsToThrow(1);\\r\\n\\t\\t\\r\\n\\t\\tIBombingStrategy b = new FocusedBombingStrategy(grid, 1., primaryReductionCoef, secondaryReductionCoef);\\r\\n\\t\\tList bombs = new LinkedList();\\r\\n\\t\\tbombs.add(b);\\r\\n\\t\\t\\r\\n\\t\\tList probDistribution = new LinkedList();\\r\\n\\t\\tprobDistribution.add(1.);\\r\\n\\t\\t\\r\\n\\t\\tjpmf.setBombs(bombs, probDistribution);\\r\\n\\t\\tjpmf.update();\\r\\n\\t\\t\\r\\n\\t\\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\\r\\n\\t\\tauction.setSolver(cplexSolver);\\r\\n\\t\\tauction.setSeed(0);\\r\\n\\t\\ttry\\r\\n\\t\\t{\\r\\n\\t\\t\\tauction.solveIt();\\r\\n\\t\\t\\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\\r\\n\\t\\t\\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\\r\\n\\t\\t\\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.14 ) < 1e-4);\\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).size() == 1 );\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t//Get allocated buyers involved in the trade \\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 3 );\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 1 );\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\\t\\t\\r\\n\\t\\t\\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6) );\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tassertTrue( allocation.getRealizedRV(0, 0) == 0.7);\\r\\n\\t\\t\\tassertTrue( allocation.getRealizedRVsPerGood(0).size() == 2 );\\r\\n\\t\\t\\tassertTrue( (allocation.getRealizedRVsPerGood(0).get(0) == (1.-primaryReductionCoef)) || (allocation.getRealizedRVsPerGood(0).get(0) == (1.-secondaryReductionCoef)));\\r\\n\\t\\t\\tif( allocation.getRealizedRVsPerGood(0).get(0) == (1.-primaryReductionCoef) )\\r\\n\\t\\t\\t\\tassertTrue(allocation.getRealizedRVsPerGood(0).get(1) == (1.-secondaryReductionCoef));\\r\\n\\t\\t\\telse if( allocation.getRealizedRVsPerGood(0).get(0) == (1.-secondaryReductionCoef) )\\r\\n\\t\\t\\t\\tassertTrue(allocation.getRealizedRVsPerGood(0).get(1) == (1.-primaryReductionCoef));\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tdouble[] payments = auction.getPayments();\\r\\n\\t\\t\\tassertTrue( payments.length == 1);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t//System.out.println(\\\"Realized value = \\\" + allocation.getRealizedRV(0, 0) + \\\" p=\\\"+payments[0]);\\r\\n\\t\\t\\tif( allocation.getRealizedRV(0, 0) == 0.7 )\\t\\t\\t\\t\\t\\t//Min{0.7, 0.8}\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[0] - 0.2175 ) < 1e-4);\\r\\n\\t\\t\\t//else if( allocation.getRealizedRV(0, 0) == 0.8 )\\r\\n\\t\\t\\t//\\tassertTrue( Math.abs( payments[0] - 0.2225 ) < 1e-4);\\r\\n\\t\\t\\telse throw new RuntimeException(\\\"Wrong realized value\\\");\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(0) );\\r\\n\\t\\t\\tassertTrue(!allocation.isAllocated(1) );\\r\\n\\t\\t\\tassertTrue(!allocation.isAllocated(2) );\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(3) );\\r\\n\\t\\t}\\r\\n\\t\\tcatch (Exception e) \\r\\n\\t\\t{\\r\\n\\t\\t\\te.printStackTrace();\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ef021924854dbf4cabb54452680df826\",\n \"score\": \"0.47810593\",\n \"text\": \"public B6DSLBoundedTemplate() {\\n super();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ebe67821eb417171a413303eca45e7fb\",\n \"score\": \"0.47644618\",\n \"text\": \"public void setValueConstrains(int minValue, int maxValue) {\\n \\t\\tthis.minValue = minValue;\\n \\t\\tthis.maxValue = maxValue;\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"93943544cc3973e721c1c9500fc9ab4e\",\n \"score\": \"0.4761996\",\n \"text\": \"public void setBounded(boolean bounded) {\\r\\n this.bounded = bounded;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f010ad736449bc9208ac3c9f56d6f819\",\n \"score\": \"0.47544873\",\n \"text\": \"private void initGrid()\\n\\t{\\n\\t\\tMap chitsAvailable = getChitsAvailable();\\n\\t\\tMap resourcesAvailable = getResourcesAvailable();\\n\\n\\t\\t// for each column\\n\\t\\tfor (int x = -SIZE_OF_GRID; x <= SIZE_OF_GRID; x++)\\n\\t\\t{\\n\\t\\t\\t// for each row\\n\\t\\t\\tfor (int y = -SIZE_OF_GRID; y <= SIZE_OF_GRID; y++)\\n\\t\\t\\t{\\n\\t\\t\\t\\t// If in boundaries\\n\\t\\t\\t\\tif (inBoundries(x, y))\\n\\t\\t\\t\\t{\\n\\n\\t\\t\\t\\t\\t// Condition for whether or not the coordinate is a hex.\\n\\t\\t\\t\\t\\tif (Math.abs(x + y) % 3 == 0 || x + y == 0) // TODO make\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t// more generic.\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t// NO magic\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t// number\\n\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\tHex hex = new Hex(x, y);\\n\\n\\t\\t\\t\\t\\t\\tallocateResource(hex, chitsAvailable, resourcesAvailable);\\n\\t\\t\\t\\t\\t\\tgrid.put(new Point(x, y), hex);\\n\\t\\t\\t\\t\\t}\\n\\n\\t\\t\\t\\t\\t// Condition for whether or not the coordinate is a node\\n\\t\\t\\t\\t\\telse\\n\\t\\t\\t\\t\\t\\tnodes.put(new Point(x, y), new Node(x, y));\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tsetUpReferences();\\n\\t\\tmakePorts();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5c542c6e951e825959ef53d63e32e15d\",\n \"score\": \"0.4751503\",\n \"text\": \"public ConwayGrid(int mysize){\\n\\t\\tsuper(mysize);\\n\\t\\t\\n\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9f833f672a173fa9b768a5b2d1d9b360\",\n \"score\": \"0.474957\",\n \"text\": \"@Test\\r\\n\\tpublic void testECVCG_LLG() throws IloException \\r\\n\\t{\\r\\n\\t\\tIloCplex cplexSolver = new IloCplex();\\r\\n\\t\\tList items = Arrays.asList(1, 2);\\r\\n\\t\\t\\r\\n\\t\\t//Local bidder \\r\\n\\t\\tList bundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(0) );\\r\\n\\t\\tdouble marginalValue = 0.1;\\r\\n\\t\\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t1 = new CombinatorialType();\\r\\n\\t\\tt1.addAtomicBid(atom11);\\r\\n\\t\\t\\r\\n\\t\\t//Local bidder\\r\\n\\t\\tbundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(1) );\\r\\n\\t\\tmarginalValue = 0.2;\\r\\n\\t\\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t2 = new CombinatorialType();\\r\\n\\t\\tt2.addAtomicBid(atom21);\\r\\n\\t\\t\\r\\n\\t\\t//Global bidder\\r\\n\\t\\tbundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(0) );\\r\\n\\t\\tbundle.add( items.get(1) );\\r\\n\\t\\tmarginalValue = 0.15;\\r\\n\\t\\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t3 = new CombinatorialType();\\r\\n\\t\\tt3.addAtomicBid(atom31);\\r\\n\\t\\t\\r\\n\\t\\tList bids = new LinkedList();\\r\\n\\t\\tbids.add(t1);\\r\\n\\t\\tbids.add(t2);\\r\\n\\t\\tbids.add(t3);\\r\\n\\t\\t\\r\\n\\t\\tList costs = new LinkedList();\\r\\n\\t\\tcosts.add(0.05);\\r\\n\\t\\tcosts.add(0.1);\\r\\n\\t\\t\\r\\n\\t\\tGridGenerator generator = new GridGenerator(1, 2);\\r\\n\\t\\tgenerator.setSeed(0);\\r\\n\\t\\tgenerator.buildProximityGraph();\\r\\n\\t\\tGraph grid = generator.getGrid();\\r\\n\\t\\t\\r\\n\\t\\tassertTrue(grid.getVertices().size() == 2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().size() == 2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\\r\\n\\t\\t\\r\\n\\t\\tdouble primaryReductionCoef = 1.0;\\r\\n\\t\\tdouble secondaryReductionCoef = 0.5;\\r\\n\\t\\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\\r\\n\\t\\tjpmf.setNumberOfSamples(1000000);\\r\\n\\t\\tjpmf.setNumberOfBombsToThrow(1);\\r\\n\\t\\t\\r\\n\\t\\tIBombingStrategy b = new FocusedBombingStrategy(grid, 1, primaryReductionCoef, secondaryReductionCoef);\\r\\n\\t\\tList bombingStrategies = new LinkedList();\\r\\n\\t\\t\\r\\n\\t\\tList probDistribution = new LinkedList();\\r\\n\\t\\tprobDistribution.add(1.);\\r\\n\\t\\t\\r\\n\\t\\tbombingStrategies.add(b);\\r\\n\\t\\tjpmf.setBombs(bombingStrategies, probDistribution);\\r\\n\\t\\tjpmf.update();\\r\\n\\t\\t\\r\\n\\t\\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\\r\\n\\t\\tauction.setSolver(cplexSolver);\\r\\n\\t\\tauction.setSeed(0);\\r\\n\\t\\ttry\\r\\n\\t\\t{\\r\\n\\t\\t\\tauction.solveIt();\\r\\n\\t\\t\\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\\r\\n\\t\\t\\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\\r\\n\\t\\t\\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.0375 ) < 1e-4);\\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).size() == 2 );\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t//Get allocated buyers involved in the trade \\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 1 );\\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).get(1) == 2 );\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 2 );\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\\t\\t//First bidder gets its first bid\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(1) == 0 );\\t\\t//Second bidder gets its first bid\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6) );\\r\\n\\t\\t\\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 1) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 1) - (1.-secondaryReductionCoef)) < 1e-6) );\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif((Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tassertTrue( allocation.getRealizedRVsPerGood(0).size() == 2 );\\r\\n\\t\\t\\t\\tassertTrue( allocation.getRealizedRVsPerGood(0).get(0) == 1.-primaryReductionCoef );\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\telse if ((Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tassertTrue( allocation.getRealizedRVsPerGood(0).size() == 2 );\\r\\n\\t\\t\\t\\tassertTrue( allocation.getRealizedRVsPerGood(0).get(0) == 1.-secondaryReductionCoef );\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tdouble[] payments = auction.getPayments();\\r\\n\\t\\t\\tassertTrue( payments.length == 2);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif( allocation.getRealizedRV(0, 0) == 0.5 )\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[0] - 0.025 ) < 1e-4);\\r\\n\\t\\t\\telse if( allocation.getRealizedRV(0, 0) == 0. )\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[0] - 0. ) < 1e-4);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif( allocation.getRealizedRV(0, 1) == 0.5 )\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[1] - 0.05 ) < 1e-4);\\r\\n\\t\\t\\telse if( allocation.getRealizedRV(0, 1) == 0. )\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[1] - 0. ) < 1e-4);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(0) );\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(1) );\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(2) );\\r\\n\\t\\t\\tassertTrue(!allocation.isAllocated(3) );\\r\\n\\t\\t}\\r\\n\\t\\tcatch (Exception e) \\r\\n\\t\\t{\\r\\n\\t\\t\\te.printStackTrace();\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5935bc71ee3854a954ca11ee313c13a1\",\n \"score\": \"0.4743987\",\n \"text\": \"public IntArrayBag( int initialCapacity ) {\\r\\n \\r\\n // First check if the parameter is zero or less. \\r\\n // Throw an exception if true.\\r\\n \\r\\n if (initialCapacity < 0)\\r\\n\\r\\n throw new IllegalArgumentException( \\\"The initialCapacity is negative: \\\" + initialCapacity );\\r\\n \\r\\n // Inizialize the instance variables.\\r\\n\\r\\n data = new int[initialCapacity];\\r\\n \\r\\n // Each bag starts with zero items.\\r\\n \\r\\n manyItems = 0;\\r\\n \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1479ae915966c7fc45b528e98d6c7fc9\",\n \"score\": \"0.47427195\",\n \"text\": \"public void initState() {\\n\\t\\tfor (int i = 0; i < values.length; i++) {\\n\\t\\t\\tif (!constrainedIndexes[i]) {\\n\\t\\t\\t\\tvalues[i] = fixedConstrains[i].getRandom();\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae05efff4576d9eddf2824166be71914\",\n \"score\": \"0.47256303\",\n \"text\": \"public GeoConstraints() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"25f28cb6df6ced56817a338e01d4dbd1\",\n \"score\": \"0.4717826\",\n \"text\": \"@Test\\r\\n\\tpublic void testECVCG_LLG2() throws IloException \\r\\n\\t{\\r\\n\\t\\tIloCplex cplexSolver = new IloCplex();\\r\\n\\t\\tList items = new LinkedList();\\r\\n\\t\\titems.add(1);\\r\\n\\t\\titems.add(2);\\r\\n\\t\\t\\r\\n\\t\\t//Local bidder\\r\\n\\t\\tList bundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(0) );\\r\\n\\t\\tdouble marginalValue = 0.1;\\r\\n\\t\\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t1 = new CombinatorialType();\\r\\n\\t\\tt1.addAtomicBid(atom11);\\r\\n\\t\\t\\r\\n\\t\\t//Local bidder\\r\\n\\t\\tbundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(1) );\\r\\n\\t\\tmarginalValue = 0.2;\\r\\n\\t\\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t2 = new CombinatorialType();\\r\\n\\t\\tt2.addAtomicBid(atom21);\\r\\n\\t\\t\\r\\n\\t\\t//Global bidder\\r\\n\\t\\tbundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(0) );\\r\\n\\t\\tbundle.add( items.get(1) );\\r\\n\\t\\tmarginalValue = 0.3;\\r\\n\\t\\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t3 = new CombinatorialType();\\r\\n\\t\\tt3.addAtomicBid(atom31);\\r\\n\\t\\t\\r\\n\\t\\tList bids = new LinkedList();\\r\\n\\t\\tbids.add(t1);\\r\\n\\t\\tbids.add(t2);\\r\\n\\t\\tbids.add(t3);\\r\\n\\t\\t\\r\\n\\t\\tList costs = new LinkedList();\\r\\n\\t\\tcosts.add(0.05);\\r\\n\\t\\tcosts.add(0.1);\\r\\n\\t\\t\\r\\n\\t\\tGridGenerator generator = new GridGenerator(1, 2);\\r\\n\\t\\tgenerator.setSeed(0);\\r\\n\\t\\tgenerator.buildProximityGraph();\\r\\n\\t\\tGraph grid = generator.getGrid();\\r\\n\\t\\t\\r\\n\\t\\tassertTrue(grid.getVertices().size() == 2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().size() == 2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\\r\\n\\t\\t\\r\\n\\t\\tdouble primaryReductionCoef = 0.3;\\r\\n\\t\\tdouble secondaryReductionCoef = 0.2;\\r\\n\\t\\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\\r\\n\\t\\tjpmf.setNumberOfSamples(1000000);\\r\\n\\t\\tjpmf.setNumberOfBombsToThrow(1);\\r\\n\\t\\t\\r\\n\\t\\tIBombingStrategy b = new FocusedBombingStrategy(grid, 1, primaryReductionCoef, secondaryReductionCoef);\\r\\n\\t\\tList bombs = new LinkedList();\\r\\n\\t\\tbombs.add(b);\\r\\n\\t\\t\\r\\n\\t\\tList probDistribution = new LinkedList();\\r\\n\\t\\tprobDistribution.add(1.);\\r\\n\\t\\t\\r\\n\\t\\tjpmf.setBombs(bombs, probDistribution);\\r\\n\\t\\tjpmf.update();\\r\\n\\t\\t\\r\\n\\t\\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\\r\\n\\t\\tauction.setSolver(cplexSolver);\\r\\n\\t\\tauction.setSeed(0);\\r\\n\\t\\ttry\\r\\n\\t\\t{\\r\\n\\t\\t\\tauction.solveIt();\\r\\n\\t\\t\\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\\r\\n\\t\\t\\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\\r\\n\\t\\t\\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.1125 ) < 1e-4);\\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).size() == 2 );\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t//Get allocated buyers involved in the trade \\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 1 );\\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).get(1) == 2 );\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 2 );\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\\t\\t\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(1) == 0 );\\r\\n\\t\\t\\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6) );\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tdouble[] payments = auction.getPayments();\\r\\n\\t\\t\\tassertTrue( payments.length == 2);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t//System.out.println(\\\"Realized value = \\\" + allocation.getRealizedRV(0, 0) + \\\" p=\\\"+payments[1]);\\r\\n\\t\\t\\tif( allocation.getRealizedRV(0, 0) == 0.7 )\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[0] - 0.065 ) < 1e-4);\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[1] - 0.1475) < 1e-4);\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\telse if( allocation.getRealizedRV(0, 0) == 0.8 )\\r\\n\\t\\t\\t{\\t\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[0] - 0.07 ) < 1e-4);\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[1] - 0.1375) < 1e-4);\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\telse throw new RuntimeException(\\\"Wrong realized value\\\");\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(0) );\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(1) );\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(2) );\\r\\n\\t\\t\\tassertTrue(!allocation.isAllocated(3) );\\r\\n\\t\\t}\\r\\n\\t\\tcatch (Exception e) \\r\\n\\t\\t{ \\r\\n\\t\\t\\te.printStackTrace();\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"92510008184a36cd724191b80a4d9912\",\n \"score\": \"0.4717275\",\n \"text\": \"@Test\\r\\n\\tpublic void testECCVCG_LLG1() throws IloException \\r\\n\\t{\\r\\n\\t\\tIloCplex cplexSolver = new IloCplex();\\r\\n\\t\\tList items = new LinkedList();\\r\\n\\t\\titems.add(1);\\r\\n\\t\\titems.add(2);\\r\\n\\t\\t\\r\\n\\t\\t//Local bidder\\r\\n\\t\\tList bundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(0) );\\r\\n\\t\\tdouble marginalValue = 0.1;\\r\\n\\t\\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t1 = new CombinatorialType();\\r\\n\\t\\tt1.addAtomicBid(atom11);\\r\\n\\t\\t\\r\\n\\t\\t//Local bidder\\r\\n\\t\\tbundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(1) );\\r\\n\\t\\tmarginalValue = 0.2;\\r\\n\\t\\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t2 = new CombinatorialType();\\r\\n\\t\\tt2.addAtomicBid(atom21);\\r\\n\\t\\t\\r\\n\\t\\t//Global bidder\\r\\n\\t\\tbundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(0) );\\r\\n\\t\\tbundle.add( items.get(1) );\\r\\n\\t\\tmarginalValue = 0.35;\\r\\n\\t\\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t3 = new CombinatorialType();\\r\\n\\t\\tt3.addAtomicBid(atom31);\\r\\n\\t\\t\\r\\n\\t\\tList bids = new LinkedList();\\r\\n\\t\\tbids.add(t1);\\r\\n\\t\\tbids.add(t2);\\r\\n\\t\\tbids.add(t3);\\r\\n\\t\\t\\r\\n\\t\\tList costs = new LinkedList();\\r\\n\\t\\tcosts.add(0.05);\\r\\n\\t\\tcosts.add(0.1);\\r\\n\\t\\t\\r\\n\\t\\tGridGenerator generator = new GridGenerator(1, 2);\\r\\n\\t\\tgenerator.setSeed(0);\\r\\n\\t\\tgenerator.buildProximityGraph();\\r\\n\\t\\tGraph grid = generator.getGrid();\\r\\n\\t\\t\\r\\n\\t\\tassertTrue(grid.getVertices().size() == 2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().size() == 2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\\r\\n\\t\\t\\r\\n\\t\\tdouble primaryReductionCoef = 0.3;\\r\\n\\t\\tdouble secondaryReductionCoef = 0.2;\\r\\n\\t\\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\\r\\n\\t\\tjpmf.setNumberOfSamples(1000000);\\r\\n\\t\\tjpmf.setNumberOfBombsToThrow(1);\\r\\n\\t\\t\\r\\n\\t\\tIBombingStrategy b = new FocusedBombingStrategy(grid, 1., primaryReductionCoef, secondaryReductionCoef);\\r\\n\\t\\tList bombs = new LinkedList();\\r\\n\\t\\tbombs.add(b);\\r\\n\\t\\t\\r\\n\\t\\tList pd = new LinkedList();\\r\\n\\t\\tpd.add(1.);\\r\\n\\t\\t\\r\\n\\t\\tjpmf.setBombs(bombs, pd);\\r\\n\\t\\tjpmf.update();\\r\\n\\t\\t\\r\\n\\t\\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\\r\\n\\t\\tauction.setSolver(cplexSolver);\\r\\n\\t\\tauction.setPaymentRule(\\\"ECC-VCG_LLG\\\");\\r\\n\\t\\tauction.setSeed(0);\\r\\n\\t\\ttry\\r\\n\\t\\t{\\r\\n\\t\\t\\tauction.solveIt();\\r\\n\\t\\t\\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\\r\\n\\t\\t\\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\\r\\n\\t\\t\\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.14 ) < 1e-4);\\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).size() == 1 );\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t//Get allocated buyers involved in the trade \\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 3 );\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 1 );\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\\t\\t\\r\\n\\t\\t\\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6) );\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tdouble[] payments = auction.getPayments();\\r\\n\\t\\t\\tassertTrue( payments.length == 1);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tSystem.out.println(\\\"Realized value = \\\" + allocation.getRealizedRV(0, 0) + \\\" p=\\\"+payments[0]);\\r\\n\\t\\t\\tassertTrue(allocation.getRealizedRV(0, 0) == 0.7);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif( allocation.getRealizedRVsPerGood(0).get(0) == 0.7 )\\t\\t\\t\\t\\t\\t//Min{0.7, 0.8}\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[0] - 0.22 ) < 1e-4);\\r\\n\\t\\t\\telse if( allocation.getRealizedRVsPerGood(0).get(0) == 0.8 )\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[0] - 0.215 ) < 1e-4);\\r\\n\\t\\t\\telse throw new RuntimeException(\\\"Wrong realized value\\\");\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(0) );\\r\\n\\t\\t\\tassertTrue(!allocation.isAllocated(1) );\\r\\n\\t\\t\\tassertTrue(!allocation.isAllocated(2) );\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(3) );\\r\\n\\t\\t}\\r\\n\\t\\tcatch (Exception e) \\r\\n\\t\\t{\\r\\n\\t\\t\\te.printStackTrace(); \\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"339566701a858924bbc5d249df969dec\",\n \"score\": \"0.4715284\",\n \"text\": \"public BubbleGrid(Vector2 origin) {\\n this.origin = origin;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8f52e8d35ab380c9995cb173bb8499ad\",\n \"score\": \"0.47129995\",\n \"text\": \"private void setupConstraints() {\\n ConstraintBuilder builder;\\n\\n for (Event event : tournament.getEvents()) {\\n // Restricciones de equipos\\n if (event.hasTeams()) {\\n builder = new ConstraintBuilder(new TeamsConstraint(event));\\n constraints.addAll(builder.getConstraints());\\n }\\n\\n // Restricciones de modo de enfrentamiento\\n if (event.getMatchesPerPlayer() > 1 && event.getPlayersPerMatch() > 1) {\\n MatchupMode mode = event.getMatchupMode();\\n if (mode == MatchupMode.ALL_DIFFERENT || mode == MatchupMode.ALL_EQUAL) {\\n builder = new ConstraintBuilder(new MatchupModeConstraint(event));\\n constraints.addAll(builder.getConstraints());\\n }\\n }\\n\\n // Restricciones de suma de partidos\\n builder = new ConstraintBuilder(new TotalMatchesConstraint(event));\\n constraints.addAll(builder.getConstraints());\\n\\n // Restricciones de emparejamientos predefinidos\\n if (event.hasPredefinedMatchups()) {\\n builder = new ConstraintBuilder(new PredefinedMatchupsConstraint(event));\\n constraints.addAll(builder.getConstraints());\\n }\\n\\n // Restricciones de número de partidos por jugador\\n builder = new ConstraintBuilder(new MatchesPerPlayerConstraint(event));\\n constraints.addAll(builder.getConstraints());\\n\\n // Restricciones de número de jugadores en la misma pista\\n builder = new ConstraintBuilder(new LocalizationOccupationConstraint(event));\\n constraints.addAll(builder.getConstraints());\\n }\\n\\n // Restricciones que mapean los comienzos de los partidos\\n //builder = new ConstraintBuilder(new MatchStartMappingConstraint(tournament));\\n //constraints.addAll(builder.getConstraints());\\n\\n // Restricciones que mapean los partidos\\n builder = new ConstraintBuilder(new MatchMappingConstraint(tournament));\\n constraints.addAll(builder.getConstraints());\\n\\n // Restricciones de jugadores de distintas categorías en la misma pista\\n builder = new ConstraintBuilder(new LocalizationCollisionConstraint(tournament));\\n constraints.addAll(builder.getConstraints());\\n\\n // Restricciones de jugador en la misma pista a la misma hora en distintas categorías\\n builder = new ConstraintBuilder(new PlayerNotSimultaneousConstraint(tournament));\\n constraints.addAll(builder.getConstraints());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aa53b4ed9177e21b5272366ff16e7de2\",\n \"score\": \"0.4710205\",\n \"text\": \"private _02_architecture_constraintsPackage() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b24416e91411116704a2fea8a9b40e15\",\n \"score\": \"0.46988508\",\n \"text\": \"private void addGridBagComponent(Component c, int row, GridBagConstraints constraints) {\\n constraints.gridx = 1;\\n constraints.gridy = row;\\n constraints.gridheight = 1;\\n constraints.gridwidth = GridBagConstraints.REMAINDER;\\n constraints.fill = GridBagConstraints.NONE;\\n constraints.weightx = 1.0;\\n add(c, constraints);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"25a30787d2f8dcc754ded991a220a61b\",\n \"score\": \"0.46961606\",\n \"text\": \"@Override\\r\\n public void construct(List coinKinds, int selectionButtonCount, int coinRackCapacity, int popCanRackCapacity, int receptacleCapacity) {\\n \\tint[] coinKindList = new int[coinKinds.size()]; \\r\\n \\tfor (int i = 0; i < coinKinds.size(); i++) { \\r\\n \\t\\tcoinKindList[i] = coinKinds.get(i);\\r\\n \\t}\\r\\n \\t\\r\\n \\t//Construct the vending machine\\r\\n \\tvendingMachine = new VendingMachine(coinKindList, selectionButtonCount, coinRackCapacity, popCanRackCapacity, receptacleCapacity);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"97dc3fa8e1f5f6f608e25367530793a9\",\n \"score\": \"0.46915746\",\n \"text\": \"@Test\\r\\n\\tpublic void testECCVCG_LLG() throws IloException \\r\\n\\t{\\r\\n\\t\\tIloCplex cplexSolver = new IloCplex();\\r\\n\\t\\tList items = new LinkedList();\\r\\n\\t\\titems.add(1);\\r\\n\\t\\titems.add(2);\\r\\n\\t\\t\\r\\n\\t\\t//Local bidder\\r\\n\\t\\tList bundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(0) );\\r\\n\\t\\tdouble marginalValue = 0.1;\\r\\n\\t\\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t1 = new CombinatorialType();\\r\\n\\t\\tt1.addAtomicBid(atom11);\\r\\n\\t\\t\\r\\n\\t\\t//Local bidder\\r\\n\\t\\tbundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(1) );\\r\\n\\t\\tmarginalValue = 0.2;\\r\\n\\t\\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t2 = new CombinatorialType();\\r\\n\\t\\tt2.addAtomicBid(atom21);\\r\\n\\t\\t\\r\\n\\t\\t//Global bidder\\r\\n\\t\\tbundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(0) );\\r\\n\\t\\tbundle.add( items.get(1) );\\r\\n\\t\\tmarginalValue = 0.15;\\r\\n\\t\\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t3 = new CombinatorialType();\\r\\n\\t\\tt3.addAtomicBid(atom31);\\r\\n\\t\\t\\r\\n\\t\\tList bids = new LinkedList();\\r\\n\\t\\tbids.add(t1);\\r\\n\\t\\tbids.add(t2);\\r\\n\\t\\tbids.add(t3);\\r\\n\\t\\t\\r\\n\\t\\tList costs = new LinkedList();\\r\\n\\t\\tcosts.add(0.05);\\r\\n\\t\\tcosts.add(0.1);\\r\\n\\t\\t\\r\\n\\t\\tGridGenerator generator = new GridGenerator(1, 2);\\r\\n\\t\\tgenerator.setSeed(0);\\r\\n\\t\\tgenerator.buildProximityGraph();\\r\\n\\t\\tGraph grid = generator.getGrid();\\r\\n\\t\\t\\r\\n\\t\\tassertTrue(grid.getVertices().size() == 2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().size() == 2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\\r\\n\\t\\t\\r\\n\\t\\tdouble primaryReductionCoef = 1.0;\\r\\n\\t\\tdouble secondaryReductionCoef = 0.5;\\r\\n\\t\\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\\r\\n\\t\\tjpmf.setNumberOfSamples(1000000);\\r\\n\\t\\tjpmf.setNumberOfBombsToThrow(1);\\r\\n\\t\\t\\r\\n\\t\\tIBombingStrategy b = new FocusedBombingStrategy(grid, 1, primaryReductionCoef, secondaryReductionCoef);\\r\\n\\t\\tList bombs = new LinkedList();\\r\\n\\t\\tbombs.add(b);\\r\\n\\t\\t\\r\\n\\t\\tList probDistribution = new LinkedList();\\r\\n\\t\\tprobDistribution.add(1.);\\r\\n\\t\\t\\r\\n\\t\\tjpmf.setBombs(bombs, probDistribution);\\r\\n\\t\\tjpmf.update();\\r\\n\\t\\t\\r\\n\\t\\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\\r\\n\\t\\tauction.setPaymentRule(\\\"ECC-VCG_LLG\\\");\\r\\n\\t\\tauction.setSolver(cplexSolver);\\r\\n\\t\\tauction.setSeed(0);\\r\\n\\t\\ttry\\r\\n\\t\\t{\\r\\n\\t\\t\\tauction.solveIt();\\r\\n\\t\\t\\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\\r\\n\\t\\t\\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\\r\\n\\t\\t\\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.0375 ) < 1e-4);\\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).size() == 2 );\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t//Get allocated buyers involved in the trade \\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 1 );\\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).get(1) == 2 );\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 2 );\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\\t\\t//First bidder gets its first bid\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(1) == 0 );\\t\\t//Second bidder gets its first bid\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6) );\\r\\n\\t\\t\\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 1) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 1) - (1.-secondaryReductionCoef)) < 1e-6) );\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tdouble[] payments = auction.getPayments();\\r\\n\\t\\t\\tassertTrue( payments.length == 2);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif( allocation.getRealizedRV(0, 0) == 0.5 )\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[0] - 0.025 ) < 1e-4);\\r\\n\\t\\t\\telse if( allocation.getRealizedRV(0, 0) == 0. )\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[0] - 0. ) < 1e-4);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif( allocation.getRealizedRV(0, 1) == 0.5 )\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[1] - 0.05 ) < 1e-4);\\r\\n\\t\\t\\telse if( allocation.getRealizedRV(0, 1) == 0. )\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[1] - 0. ) < 1e-4);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(0) );\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(1) );\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(2) );\\r\\n\\t\\t\\tassertTrue(!allocation.isAllocated(3) );\\r\\n\\t\\t}\\r\\n\\t\\tcatch (Exception e) \\r\\n\\t\\t{\\r\\n\\t\\t\\te.printStackTrace();\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c965a1c52b9ccd41ad6e94e2a561781f\",\n \"score\": \"0.46815646\",\n \"text\": \"@Test\\r\\n\\tpublic void testECRVCG_LLG1() throws IloException \\r\\n\\t{\\r\\n\\t\\tIloCplex cplexSolver = new IloCplex();\\r\\n\\t\\tList items = new LinkedList();\\r\\n\\t\\titems.add(1);\\r\\n\\t\\titems.add(2);\\r\\n\\t\\t\\r\\n\\t\\t//Local bidder\\r\\n\\t\\tList bundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(0) );\\r\\n\\t\\tdouble marginalValue = 0.1;\\r\\n\\t\\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t1 = new CombinatorialType();\\r\\n\\t\\tt1.addAtomicBid(atom11);\\r\\n\\t\\t\\r\\n\\t\\t//Local bidder\\r\\n\\t\\tbundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(1) );\\r\\n\\t\\tmarginalValue = 0.2;\\r\\n\\t\\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t2 = new CombinatorialType();\\r\\n\\t\\tt2.addAtomicBid(atom21);\\r\\n\\t\\t\\r\\n\\t\\t//Global bidder\\r\\n\\t\\tbundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(0) );\\r\\n\\t\\tbundle.add( items.get(1) );\\r\\n\\t\\tmarginalValue = 0.35;\\r\\n\\t\\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t3 = new CombinatorialType();\\r\\n\\t\\tt3.addAtomicBid(atom31);\\r\\n\\t\\t\\r\\n\\t\\tList bids = new LinkedList();\\r\\n\\t\\tbids.add(t1);\\r\\n\\t\\tbids.add(t2);\\r\\n\\t\\tbids.add(t3);\\r\\n\\t\\t\\r\\n\\t\\tList costs = new LinkedList();\\r\\n\\t\\tcosts.add(0.05);\\r\\n\\t\\tcosts.add(0.1);\\r\\n\\t\\t\\r\\n\\t\\tGridGenerator generator = new GridGenerator(1, 2);\\r\\n\\t\\tgenerator.setSeed(0);\\r\\n\\t\\tgenerator.buildProximityGraph();\\r\\n\\t\\tGraph grid = generator.getGrid();\\r\\n\\t\\t\\r\\n\\t\\tassertTrue(grid.getVertices().size() == 2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().size() == 2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\\r\\n\\t\\t\\r\\n\\t\\tdouble primaryReductionCoef = 0.3;\\r\\n\\t\\tdouble secondaryReductionCoef = 0.2;\\r\\n\\t\\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\\r\\n\\t\\tjpmf.setNumberOfSamples(1000000);\\r\\n\\t\\tjpmf.setNumberOfBombsToThrow(1);\\r\\n\\t\\t\\r\\n\\t\\tIBombingStrategy b = new FocusedBombingStrategy( grid, 1, primaryReductionCoef, secondaryReductionCoef);\\r\\n\\t\\tList bombs = new LinkedList();\\r\\n\\t\\tbombs.add(b);\\r\\n\\t\\t\\r\\n\\t\\tList probDistribution = new LinkedList();\\r\\n\\t\\tprobDistribution.add(1.);\\r\\n\\t\\t\\r\\n\\t\\tjpmf.setBombs(bombs, probDistribution);\\r\\n\\t\\tjpmf.update();\\r\\n\\t\\t\\r\\n\\t\\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\\r\\n\\t\\tauction.setSolver(cplexSolver);\\r\\n\\t\\tauction.setPaymentRule(\\\"ECR-VCG_LLG\\\");\\r\\n\\t\\tauction.setSeed(0);\\r\\n\\t\\ttry\\r\\n\\t\\t{\\r\\n\\t\\t\\tauction.solveIt();\\r\\n\\t\\t\\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\\r\\n\\t\\t\\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\\r\\n\\t\\t\\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.14 ) < 1e-4);\\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).size() == 1 );\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t//Get allocated buyers involved in the trade \\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 3 );\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 1 );\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\\t\\t\\r\\n\\t\\t\\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6) );\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tdouble[] payments = auction.getPayments();\\r\\n\\t\\t\\tassertTrue( payments.length == 1);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tSystem.out.println(\\\"Realized value = \\\" + allocation.getRealizedRV(0, 0) + \\\" p=\\\"+payments[0]);\\r\\n\\t\\t\\tassertTrue(allocation.getRealizedRV(0, 0) == 0.7);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif( allocation.getRealizedRVsPerGood(0).get(0) == 0.7 )\\t\\t\\t\\t\\t\\t//Min{0.7, 0.8}\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[0] - 0.22 ) < 1e-4);\\r\\n\\t\\t\\telse if( allocation.getRealizedRVsPerGood(0).get(0) == 0.8 )\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[0] - 0.215 ) < 1e-4);\\r\\n\\t\\t\\telse throw new RuntimeException(\\\"Wrong realized value\\\");\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(0) );\\r\\n\\t\\t\\tassertTrue(!allocation.isAllocated(1) );\\r\\n\\t\\t\\tassertTrue(!allocation.isAllocated(2) );\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(3) );\\r\\n\\t\\t}\\r\\n\\t\\tcatch (Exception e) \\r\\n\\t\\t{\\r\\n\\t\\t\\te.printStackTrace(); \\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7ba76cb04349ac33416988d190d3dc38\",\n \"score\": \"0.46700838\",\n \"text\": \"@Test\\r\\n\\tpublic void testECCVCG_LLG3() throws IloException \\r\\n\\t{\\r\\n\\t\\tIloCplex cplexSolver = new IloCplex();\\r\\n\\t\\tList items = new LinkedList();\\r\\n\\t\\titems.add(1);\\r\\n\\t\\titems.add(2);\\r\\n\\t\\t\\r\\n\\t\\t//Local bidder\\r\\n\\t\\tList bundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(0) );\\r\\n\\t\\tdouble marginalValue = 0.1;\\r\\n\\t\\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t1 = new CombinatorialType();\\r\\n\\t\\tt1.addAtomicBid(atom11);\\r\\n\\t\\t\\r\\n\\t\\t//Local bidder\\r\\n\\t\\tbundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(1) );\\r\\n\\t\\tmarginalValue = 0.02;\\r\\n\\t\\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t2 = new CombinatorialType();\\r\\n\\t\\tt2.addAtomicBid(atom21);\\r\\n\\t\\t\\r\\n\\t\\t//Global bidder\\r\\n\\t\\tbundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(0) );\\r\\n\\t\\tbundle.add( items.get(1) );\\r\\n\\t\\tmarginalValue = 0.3;\\r\\n\\t\\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t3 = new CombinatorialType();\\r\\n\\t\\tt3.addAtomicBid(atom31);\\r\\n\\t\\t\\r\\n\\t\\tList bids = new LinkedList();\\r\\n\\t\\tbids.add(t1);\\r\\n\\t\\tbids.add(t2);\\r\\n\\t\\tbids.add(t3);\\r\\n\\t\\t\\r\\n\\t\\tList costs = new LinkedList();\\r\\n\\t\\tcosts.add(0.05);\\r\\n\\t\\tcosts.add(0.21);\\r\\n\\t\\t\\r\\n\\t\\tGridGenerator generator = new GridGenerator(1, 2);\\r\\n\\t\\tgenerator.setSeed(0);\\r\\n\\t\\tgenerator.buildProximityGraph();\\r\\n\\t\\tGraph grid = generator.getGrid();\\r\\n\\t\\t\\r\\n\\t\\tassertTrue(grid.getVertices().size() == 2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().size() == 2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\\r\\n\\t\\t\\r\\n\\t\\tdouble primaryReductionCoef = 0.3;\\r\\n\\t\\tdouble secondaryReductionCoef = 0.2;\\r\\n\\t\\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\\r\\n\\t\\tjpmf.setNumberOfSamples(1000000);\\r\\n\\t\\tjpmf.setNumberOfBombsToThrow(1);\\r\\n\\t\\t\\r\\n\\t\\tIBombingStrategy b1 = new FocusedBombingStrategy(grid, 1., primaryReductionCoef, secondaryReductionCoef);\\r\\n\\t\\tIBombingStrategy b2 = new FocusedBombingStrategy(grid, 1., 0.4, 0.3);\\r\\n\\t\\tList bombs = new LinkedList();\\r\\n\\t\\tbombs.add(b1);\\r\\n\\t\\tbombs.add(b2);\\r\\n\\t\\t\\r\\n\\t\\tList pd = new LinkedList();\\r\\n\\t\\tpd.add(0.5);\\r\\n\\t\\tpd.add(0.5);\\r\\n\\t\\tjpmf.setBombs(bombs, pd);\\r\\n\\t\\tjpmf.update();\\r\\n\\t\\t\\r\\n\\t\\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\\r\\n\\t\\tauction.setSolver(cplexSolver);\\r\\n\\t\\tauction.setPaymentRule(\\\"ECC-VCG_LLG\\\");\\r\\n\\t\\tauction.setSeed(0);\\r\\n\\t\\ttry\\r\\n\\t\\t{\\r\\n\\t\\t\\tauction.solveIt();\\r\\n\\t\\t\\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\\r\\n\\t\\t\\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\\r\\n\\t\\t\\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.035 ) < 1e-4);\\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).size() == 1 );\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t//Get allocated buyers involved in the trade \\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 1 );\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 1 );\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tdouble[] payments = auction.getPayments();\\r\\n\\t\\t\\tassertTrue( payments.length == 1);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tSystem.out.println(\\\">> \\\" + allocation.getRealizedRV(0, 0) + \\\" payments[0]=\\\"+payments[0]);\\r\\n\\t\\t\\tif( allocation.getRealizedRV(0, 0) == 0.6 )\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[0] - 0.054 ) < 1e-4);\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\telse if( allocation.getRealizedRV(0, 0) == 0.7 )\\r\\n\\t\\t\\t{\\t\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[0] - 0.061 ) < 1e-4);\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\telse if( allocation.getRealizedRV(0, 0) == 0.8 )\\r\\n\\t\\t\\t{\\t\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[0] - 0.068 ) < 1e-4);\\r\\n\\t\\t\\t} \\r\\n\\t\\t\\telse throw new RuntimeException(\\\"Wrong realized value\\\");\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(0) );\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(1) );\\r\\n\\t\\t\\tassertTrue(!allocation.isAllocated(2) );\\r\\n\\t\\t\\tassertTrue(!allocation.isAllocated(3) );\\r\\n\\t\\t}\\r\\n\\t\\tcatch (Exception e) \\r\\n\\t\\t{ \\r\\n\\t\\t\\te.printStackTrace();\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e1a74e0821ddf83952ac4cca81d3ad1b\",\n \"score\": \"0.46652636\",\n \"text\": \"public Cage()\\n {\\n constraintModifier = ' ';\\n constraint = 0;\\n cagePerimiter = new ArrayList();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"87717038382c67187328bae91c5951f1\",\n \"score\": \"0.46612749\",\n \"text\": \"@ZAttr(id=766)\\n public void setConstraint(String[] zimbraConstraint) throws com.zimbra.common.service.ServiceException {\\n HashMap attrs = new HashMap();\\n attrs.put(Provisioning.A_zimbraConstraint, zimbraConstraint);\\n getProvisioning().modifyAttrs(this, attrs);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"929463d7ece8922f442f759bb877e424\",\n \"score\": \"0.46568972\",\n \"text\": \"@Test\\r\\n\\tpublic void testECCVCG_LLG2() throws IloException \\r\\n\\t{\\r\\n\\t\\tIloCplex cplexSolver = new IloCplex();\\r\\n\\t\\tList items = new LinkedList();\\r\\n\\t\\titems.add(1);\\r\\n\\t\\titems.add(2);\\r\\n\\t\\t\\r\\n\\t\\t//Local bidder\\r\\n\\t\\tList bundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(0) );\\r\\n\\t\\tdouble marginalValue = 0.1;\\r\\n\\t\\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t1 = new CombinatorialType();\\r\\n\\t\\tt1.addAtomicBid(atom11);\\r\\n\\t\\t\\r\\n\\t\\t//Local bidder\\r\\n\\t\\tbundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(1) );\\r\\n\\t\\tmarginalValue = 0.2;\\r\\n\\t\\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t2 = new CombinatorialType();\\r\\n\\t\\tt2.addAtomicBid(atom21);\\r\\n\\t\\t\\r\\n\\t\\t//Global bidder\\r\\n\\t\\tbundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(0) );\\r\\n\\t\\tbundle.add( items.get(1) );\\r\\n\\t\\tmarginalValue = 0.3;\\r\\n\\t\\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t3 = new CombinatorialType();\\r\\n\\t\\tt3.addAtomicBid(atom31);\\r\\n\\t\\t\\r\\n\\t\\tList bids = new LinkedList();\\r\\n\\t\\tbids.add(t1);\\r\\n\\t\\tbids.add(t2);\\r\\n\\t\\tbids.add(t3);\\r\\n\\t\\t\\r\\n\\t\\tList costs = new LinkedList();\\r\\n\\t\\tcosts.add(0.05);\\r\\n\\t\\tcosts.add(0.1);\\r\\n\\t\\t\\r\\n\\t\\tGridGenerator generator = new GridGenerator(1, 2);\\r\\n\\t\\tgenerator.setSeed(0);\\r\\n\\t\\tgenerator.buildProximityGraph();\\r\\n\\t\\tGraph grid = generator.getGrid();\\r\\n\\t\\t\\r\\n\\t\\tassertTrue(grid.getVertices().size() == 2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().size() == 2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\\r\\n\\t\\t\\r\\n\\t\\tdouble primaryReductionCoef = 0.3;\\r\\n\\t\\tdouble secondaryReductionCoef = 0.2;\\r\\n\\t\\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\\r\\n\\t\\tjpmf.setNumberOfSamples(1000000);\\r\\n\\t\\tjpmf.setNumberOfBombsToThrow(1);\\r\\n\\t\\t\\r\\n\\t\\tIBombingStrategy b = new FocusedBombingStrategy(grid, 1, primaryReductionCoef, secondaryReductionCoef);\\r\\n\\t\\tList bombs = new LinkedList();\\r\\n\\t\\tbombs.add(b);\\r\\n\\t\\r\\n\\t\\tList probDistribution = new LinkedList();\\r\\n\\t\\tprobDistribution.add(1.);\\r\\n\\t\\t\\r\\n\\t\\tjpmf.setBombs(bombs, probDistribution);\\r\\n\\t\\tjpmf.update();\\r\\n\\t\\t\\r\\n\\t\\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\\r\\n\\t\\tauction.setSolver(cplexSolver);\\r\\n\\t\\tauction.setPaymentRule(\\\"ECC-VCG_LLG\\\");\\r\\n\\t\\tauction.setSeed(0);\\r\\n\\t\\ttry\\r\\n\\t\\t{\\r\\n\\t\\t\\tauction.solveIt();\\r\\n\\t\\t\\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\\r\\n\\t\\t\\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\\r\\n\\t\\t\\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.1125 ) < 1e-4);\\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).size() == 2 );\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t//Get allocated buyers involved in the trade \\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 1 );\\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).get(1) == 2 );\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 2 );\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\\t\\t\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(1) == 0 );\\r\\n\\t\\t\\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6) );\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tdouble[] payments = auction.getPayments();\\r\\n\\t\\t\\tassertTrue( payments.length == 2);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif( allocation.getRealizedRV(0, 0) == 0.7 )\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[0] - 0.06 ) < 1e-4);\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[1] - 0.15) < 1e-4);\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\telse if( allocation.getRealizedRV(0, 0) == 0.8 )\\r\\n\\t\\t\\t{\\t\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[0] - 0.075 ) < 1e-4);\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[1] - 0.135) < 1e-4);\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\telse throw new RuntimeException(\\\"Wrong realized value\\\");\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(0) );\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(1) );\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(2) );\\r\\n\\t\\t\\tassertTrue(!allocation.isAllocated(3) );\\r\\n\\t\\t}\\r\\n\\t\\tcatch (Exception e) \\r\\n\\t\\t{ \\r\\n\\t\\t\\te.printStackTrace();\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"875eb340033e4edf60a01f2115d85abb\",\n \"score\": \"0.4642035\",\n \"text\": \"public Grid(int rows, int cols, String[] vals)\\n {\\n grid = new String[rows][cols];\\n for(rows = 0; rows < grid.length; rows++)\\n {\\n for( cols = 0; cols < grid[rows].length; cols++)\\n {\\n grid[rows][cols] = vals[(int)(Math.random()*5)]; \\n }\\n } \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2c147cb1d9059b9fa4c4af37162fc3b\",\n \"score\": \"0.46399963\",\n \"text\": \"public Grid(int rows, int cols, String[] vals)\\n {\\n grid = new String[rows][cols];\\n for(rows = 0; rows < grid.length; rows++)\\n {\\n for( cols = 0; cols < grid[rows].length; cols++)\\n {\\n grid[rows][cols] = vals[(int)(Math.random()*5)]; \\n }\\n }\\n \\n \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5577da0c7c0715e0b05b509b2c8e4b24\",\n \"score\": \"0.46358532\",\n \"text\": \"@Test\\r\\n\\tpublic void testECRVCG_LLG3() throws IloException \\r\\n\\t{\\r\\n\\t\\tIloCplex cplexSolver = new IloCplex();\\r\\n\\t\\tList items = new LinkedList();\\r\\n\\t\\titems.add(1);\\r\\n\\t\\titems.add(2);\\r\\n\\t\\t\\r\\n\\t\\t//Local bidder\\r\\n\\t\\tList bundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(0) );\\r\\n\\t\\tdouble marginalValue = 0.1;\\r\\n\\t\\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t1 = new CombinatorialType();\\r\\n\\t\\tt1.addAtomicBid(atom11);\\r\\n\\t\\t\\r\\n\\t\\t//Local bidder\\r\\n\\t\\tbundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(1) );\\r\\n\\t\\tmarginalValue = 0.02;\\r\\n\\t\\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t2 = new CombinatorialType();\\r\\n\\t\\tt2.addAtomicBid(atom21);\\r\\n\\t\\t\\r\\n\\t\\t//Global bidder\\r\\n\\t\\tbundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(0) );\\r\\n\\t\\tbundle.add( items.get(1) );\\r\\n\\t\\tmarginalValue = 0.3;\\r\\n\\t\\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t3 = new CombinatorialType();\\r\\n\\t\\tt3.addAtomicBid(atom31);\\r\\n\\t\\t\\r\\n\\t\\tList bids = new LinkedList();\\r\\n\\t\\tbids.add(t1);\\r\\n\\t\\tbids.add(t2);\\r\\n\\t\\tbids.add(t3);\\r\\n\\t\\t\\r\\n\\t\\tList costs = new LinkedList();\\r\\n\\t\\tcosts.add(0.05);\\r\\n\\t\\tcosts.add(0.21);\\r\\n\\t\\t\\r\\n\\t\\tGridGenerator generator = new GridGenerator(1, 2);\\r\\n\\t\\tgenerator.setSeed(0);\\r\\n\\t\\tgenerator.buildProximityGraph();\\r\\n\\t\\tGraph grid = generator.getGrid();\\r\\n\\t\\t\\r\\n\\t\\tassertTrue(grid.getVertices().size() == 2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().size() == 2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\\r\\n\\t\\t\\r\\n\\t\\tdouble primaryReductionCoef = 0.3;\\r\\n\\t\\tdouble secondaryReductionCoef = 0.2;\\r\\n\\t\\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\\r\\n\\t\\tjpmf.setNumberOfSamples(1000000);\\r\\n\\t\\tjpmf.setNumberOfBombsToThrow(1);\\r\\n\\t\\t\\r\\n\\t\\tIBombingStrategy b1 = new FocusedBombingStrategy(grid, 1., primaryReductionCoef, secondaryReductionCoef);\\r\\n\\t\\tIBombingStrategy b2 = new FocusedBombingStrategy(grid, 1., 0.4, 0.3);\\r\\n\\t\\tList bombs = new LinkedList();\\r\\n\\t\\tbombs.add(b1);\\r\\n\\t\\tbombs.add(b2);\\r\\n\\t\\t\\r\\n\\t\\tList pd = new LinkedList();\\r\\n\\t\\tpd.add(0.5);\\r\\n\\t\\tpd.add(0.5);\\r\\n\\t\\t\\r\\n\\t\\tjpmf.setBombs(bombs, pd);\\r\\n\\t\\tjpmf.update();\\r\\n\\t\\t\\r\\n\\t\\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\\r\\n\\t\\tauction.setSolver(cplexSolver);\\r\\n\\t\\tauction.setPaymentRule(\\\"ECR-VCG_LLG\\\");\\r\\n\\t\\tauction.setSeed(0);\\r\\n\\t\\ttry\\r\\n\\t\\t{\\r\\n\\t\\t\\tauction.solveIt();\\r\\n\\t\\t\\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\\r\\n\\t\\t\\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\\r\\n\\t\\t\\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.035 ) < 1e-4);\\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).size() == 1 );\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t//Get allocated buyers involved in the trade \\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 1 );\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 1 );\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tdouble[] payments = auction.getPayments();\\r\\n\\t\\t\\tassertTrue( payments.length == 1);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tSystem.out.println(\\\">> \\\" + allocation.getRealizedRVsPerGood(0).get(0) + \\\" \\\" + allocation.getRealizedRVsPerGood(0).get(1) + \\\" payments[0]=\\\"+payments[0]);\\r\\n\\t\\t\\tif( allocation.getRealizedRVsPerGood(0).get(0) == 0.6 && allocation.getRealizedRVsPerGood(0).get(1) == 0.7 )\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[0] - 0.054 ) < 1e-4);\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\telse if( allocation.getRealizedRVsPerGood(0).get(0) == 0.7 && allocation.getRealizedRVsPerGood(0).get(1) == 0.6 )\\r\\n\\t\\t\\t{\\t\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[0] - 0.059 ) < 1e-4);\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\telse if( allocation.getRealizedRVsPerGood(0).get(0) == 0.7 && allocation.getRealizedRVsPerGood(0).get(1) == 0.8 )\\r\\n\\t\\t\\t{\\t\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[0] - 0.063 ) < 1e-4);\\r\\n\\t\\t\\t} \\r\\n\\t\\t\\telse if( allocation.getRealizedRVsPerGood(0).get(0) == 0.8 && allocation.getRealizedRVsPerGood(0).get(1) == 0.7 )\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[0] - 0.068 ) < 1e-4);\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\telse throw new RuntimeException(\\\"Wrong realized value\\\");\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(0) );\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(1) );\\r\\n\\t\\t\\tassertTrue(!allocation.isAllocated(2) );\\r\\n\\t\\t\\tassertTrue(!allocation.isAllocated(3) );\\r\\n\\t\\t}\\r\\n\\t\\tcatch (Exception e) \\r\\n\\t\\t{ \\r\\n\\t\\t\\te.printStackTrace();\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0c9949472e8a833d535a8498d86c6a53\",\n \"score\": \"0.46351486\",\n \"text\": \"public void addConstraint(List coefs, List vars, \\n int eq, int bound)\\n {\\n if (coefs.size() != vars.size())\\n return;\\n\\n if (constraints.length() != 0)\\n constraints.append(NEWLINE);\\n\\n constraints.append(SPACE);\\n constraints.append(CONSPREFIX);\\n constraints.append(++numConstraints);\\n constraints.append(COLON);\\n\\n for (int index = 0; index < vars.size(); index++)\\n {\\n constraints.append(SPACE);\\n\\n if (index != 0)\\n {\\n constraints.append(PLUS);\\n constraints.append(SPACE);\\n }\\n\\n constraints.append(coefs.get(index));\\n constraints.append(SPACE);\\n constraints.append(vars.get(index));\\n }\\n\\n constraints.append(SPACE);\\n if (eq == 0)\\n constraints.append(EQ);\\n else if (eq > 0)\\n constraints.append(GTE);\\n else constraints.append(LTE);\\n\\n constraints.append(SPACE);\\n\\n constraints.append(bound);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"84fd1f3d0c04ef5a8fe62195bccdf704\",\n \"score\": \"0.46294436\",\n \"text\": \"public void build() {\\r\\n\\r\\n GridBagConstraints constraint = new GridBagConstraints();\\r\\n\\r\\n constraint.anchor = GridBagConstraints.FIRST_LINE_START;\\r\\n constraint.gridx = 0;\\r\\n constraint.gridy = 0;\\r\\n constraint.gridheight = 1;\\r\\n constraint.gridwidth = 1;\\r\\n\\r\\n constraint.insets = new Insets(0, 0, 50, 300);\\r\\n add(back, constraint);\\r\\n\\r\\n constraint.anchor = GridBagConstraints.CENTER;\\r\\n constraint.insets = new Insets(10, 0, 0, 0);\\r\\n constraint.gridy = 1;\\r\\n constraint.ipadx = 250;\\r\\n add(name, constraint);\\r\\n\\r\\n constraint.gridy = 2;\\r\\n add(surname, constraint);\\r\\n\\r\\n constraint.gridy = 3;\\r\\n add(email, constraint);\\r\\n\\r\\n constraint.gridy = 4;\\r\\n add(password, constraint);\\r\\n\\r\\n constraint.gridy = 5;\\r\\n add(confirmationPassword, constraint);\\r\\n\\r\\n constraint.gridy = 6;\\r\\n constraint.ipadx = 0;\\r\\n constraint.ipady = 0;\\r\\n add(register, constraint);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3bb8a11e7d91d91810d5f23f0c87c4bb\",\n \"score\": \"0.46218696\",\n \"text\": \"@ZAttr(id=766)\\n public Map setConstraint(String[] zimbraConstraint, Map attrs) {\\n if (attrs == null) attrs = new HashMap();\\n attrs.put(Provisioning.A_zimbraConstraint, zimbraConstraint);\\n return attrs;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4658b389694fd5c5e130e29a013646d4\",\n \"score\": \"0.46174568\",\n \"text\": \"@Test\\r\\n\\tpublic void testExpVCG_LLG() \\r\\n\\t{\\r\\n\\t\\tList items = new LinkedList();\\r\\n\\t\\titems.add(1);\\r\\n\\t\\titems.add(2);\\r\\n\\t\\t\\r\\n\\t\\t//Local bidder\\r\\n\\t\\tList bundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(0) );\\r\\n\\t\\tdouble marginalValue = 0.1;\\r\\n\\t\\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t1 = new CombinatorialType();\\r\\n\\t\\tt1.addAtomicBid(atom11);\\r\\n\\t\\t\\r\\n\\t\\t//Local bidder\\r\\n\\t\\tbundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(1) );\\r\\n\\t\\tmarginalValue = 0.2;\\r\\n\\t\\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t2 = new CombinatorialType();\\r\\n\\t\\tt2.addAtomicBid(atom21);\\r\\n\\t\\t\\r\\n\\t\\t//Global bidder\\r\\n\\t\\tbundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(0) );\\r\\n\\t\\tbundle.add( items.get(1) );\\r\\n\\t\\tmarginalValue = 0.15;\\r\\n\\t\\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t3 = new CombinatorialType();\\r\\n\\t\\tt3.addAtomicBid(atom31);\\r\\n\\t\\t\\r\\n\\t\\tList bids = new LinkedList();\\r\\n\\t\\tbids.add(t1);\\r\\n\\t\\tbids.add(t2);\\r\\n\\t\\tbids.add(t3);\\r\\n\\t\\t\\r\\n\\t\\tList costs = new LinkedList();\\r\\n\\t\\tcosts.add(0.05);\\r\\n\\t\\tcosts.add(0.1);\\r\\n\\t\\t\\r\\n\\t\\tGridGenerator generator = new GridGenerator(1, 2);\\r\\n\\t\\tgenerator.setSeed(0);\\r\\n\\t\\tgenerator.buildProximityGraph();\\r\\n\\t\\tGraph grid = generator.getGrid();\\r\\n\\t\\t\\r\\n\\t\\tassertTrue(grid.getVertices().size() == 2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().size() == 2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\\r\\n\\t\\t\\r\\n\\t\\tdouble primaryReductionCoef = 1.0;\\r\\n\\t\\tdouble secondaryReductionCoef = 0.5;\\r\\n\\t\\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\\r\\n\\t\\tjpmf.setNumberOfSamples(1000000);\\r\\n\\t\\tjpmf.setNumberOfBombsToThrow(1);\\r\\n\\t\\t\\r\\n\\t\\tIBombingStrategy b = new FocusedBombingStrategy(grid, 1, primaryReductionCoef, secondaryReductionCoef);\\r\\n\\t\\tList bombs = new LinkedList();\\r\\n\\t\\tbombs.add(b);\\r\\n\\t\\t\\r\\n\\t\\tList probDistribution = new LinkedList();\\r\\n\\t\\tprobDistribution.add(1.);\\r\\n\\t\\t\\r\\n\\t\\tjpmf.setBombs(bombs, probDistribution );\\r\\n\\t\\tjpmf.update();\\r\\n\\t\\t\\r\\n\\t\\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\\r\\n\\t\\tauction.setPaymentRule(\\\"Exp-VCG_LLG\\\");\\r\\n\\t\\tauction.setSeed(0);\\r\\n\\t\\ttry\\r\\n\\t\\t{\\r\\n\\t\\t\\tauction.solveIt();\\r\\n\\t\\t\\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\\r\\n\\t\\t\\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\\r\\n\\t\\t\\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.0375 ) < 1e-4);\\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).size() == 2 );\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t//Get allocated buyers involved in the trade \\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 1 );\\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).get(1) == 2 );\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 2 );\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\\t\\t//First bidder gets its first bid\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(1) == 0 );\\t\\t//Second bidder gets its first bid\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6) );\\r\\n\\t\\t\\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 1) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 1) - (1.-secondaryReductionCoef)) < 1e-6) );\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tdouble[] payments = auction.getPayments();\\r\\n\\t\\t\\tassertTrue( payments.length == 2);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tSystem.out.println(\\\">> \\\" + payments[0]);\\r\\n\\t\\t\\tassertTrue( Math.abs( payments[0] - 0.0125 ) < 1e-4);\\r\\n\\t\\t\\tassertTrue( Math.abs( payments[1] - 0.025 ) < 1e-4);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(0) );\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(1) );\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(2) );\\r\\n\\t\\t\\tassertTrue(!allocation.isAllocated(3) );\\r\\n\\t\\t}\\r\\n\\t\\tcatch (Exception e) \\r\\n\\t\\t{\\r\\n\\t\\t\\te.printStackTrace();\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"33653b0321ca2d68e6eff06023b0f19b\",\n \"score\": \"0.4617007\",\n \"text\": \"@Test\\r\\n\\tpublic void testECRVCG_LLG() throws IloException \\r\\n\\t{\\r\\n\\t\\tIloCplex cplexSolver = new IloCplex();\\r\\n\\t\\tList items = new LinkedList();\\r\\n\\t\\titems.add(1);\\r\\n\\t\\titems.add(2);\\r\\n\\t\\t\\r\\n\\t\\t//Local bidder\\r\\n\\t\\tList bundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(0) );\\r\\n\\t\\tdouble marginalValue = 0.1;\\r\\n\\t\\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t1 = new CombinatorialType();\\r\\n\\t\\tt1.addAtomicBid(atom11);\\r\\n\\t\\t\\r\\n\\t\\t//Local bidder\\r\\n\\t\\tbundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(1) );\\r\\n\\t\\tmarginalValue = 0.2;\\r\\n\\t\\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t2 = new CombinatorialType();\\r\\n\\t\\tt2.addAtomicBid(atom21);\\r\\n\\t\\t\\r\\n\\t\\t//Global bidder\\r\\n\\t\\tbundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(0) );\\r\\n\\t\\tbundle.add( items.get(1) );\\r\\n\\t\\tmarginalValue = 0.15;\\r\\n\\t\\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t3 = new CombinatorialType();\\r\\n\\t\\tt3.addAtomicBid(atom31);\\r\\n\\t\\t\\r\\n\\t\\tList bids = new LinkedList();\\r\\n\\t\\tbids.add(t1);\\r\\n\\t\\tbids.add(t2);\\r\\n\\t\\tbids.add(t3);\\r\\n\\t\\t\\r\\n\\t\\tList costs = new LinkedList();\\r\\n\\t\\tcosts.add(0.05);\\r\\n\\t\\tcosts.add(0.1);\\r\\n\\t\\t\\r\\n\\t\\tGridGenerator generator = new GridGenerator(1, 2);\\r\\n\\t\\tgenerator.setSeed(0);\\r\\n\\t\\tgenerator.buildProximityGraph();\\r\\n\\t\\tGraph grid = generator.getGrid();\\r\\n\\t\\t\\r\\n\\t\\tassertTrue(grid.getVertices().size() == 2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().size() == 2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\\r\\n\\t\\t\\r\\n\\t\\tdouble primaryReductionCoef = 1.0;\\r\\n\\t\\tdouble secondaryReductionCoef = 0.5;\\r\\n\\t\\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\\r\\n\\t\\tjpmf.setNumberOfSamples(1000000);\\r\\n\\t\\tjpmf.setNumberOfBombsToThrow(1);\\r\\n\\t\\t\\r\\n\\t\\tIBombingStrategy b = new FocusedBombingStrategy(grid, 1., primaryReductionCoef, secondaryReductionCoef);\\r\\n\\t\\tList bombs = new LinkedList();\\r\\n\\t\\tbombs.add(b);\\r\\n\\t\\t\\r\\n\\t\\tList pd = new LinkedList();\\r\\n\\t\\tpd.add(1.);\\r\\n\\t\\t\\r\\n\\t\\tjpmf.setBombs(bombs, pd);\\r\\n\\t\\tjpmf.update();\\r\\n\\t\\t\\r\\n\\t\\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\\r\\n\\t\\tauction.setPaymentRule(\\\"ECR-VCG_LLG\\\");\\r\\n\\t\\tauction.setSolver(cplexSolver);\\r\\n\\t\\tauction.setSeed(0);\\r\\n\\t\\ttry\\r\\n\\t\\t{\\r\\n\\t\\t\\tauction.solveIt();\\r\\n\\t\\t\\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\\r\\n\\t\\t\\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\\r\\n\\t\\t\\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.0375 ) < 1e-4);\\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).size() == 2 );\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t//Get allocated buyers involved in the trade \\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 1 );\\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).get(1) == 2 );\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 2 );\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\\t\\t//First bidder gets its first bid\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(1) == 0 );\\t\\t//Second bidder gets its first bid\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6) );\\r\\n\\t\\t\\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 1) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 1) - (1.-secondaryReductionCoef)) < 1e-6) );\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tdouble[] payments = auction.getPayments();\\r\\n\\t\\t\\tassertTrue( payments.length == 2);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif( allocation.getRealizedRV(0, 0) == 0.5 )\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[0] - 0.025 ) < 1e-4);\\r\\n\\t\\t\\telse if( allocation.getRealizedRV(0, 0) == 0. )\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[0] - 0. ) < 1e-4);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif( allocation.getRealizedRV(0, 1) == 0.5 )\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[1] - 0.05 ) < 1e-4);\\r\\n\\t\\t\\telse if( allocation.getRealizedRV(0, 1) == 0. )\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[1] - 0. ) < 1e-4);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(0) );\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(1) );\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(2) );\\r\\n\\t\\t\\tassertTrue(!allocation.isAllocated(3) );\\r\\n\\t\\t}\\r\\n\\t\\tcatch (Exception e) \\r\\n\\t\\t{\\r\\n\\t\\t\\te.printStackTrace();\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b72a5b036a53fd226f1b94dde2128f71\",\n \"score\": \"0.46107557\",\n \"text\": \"@Test\\r\\n\\tpublic void testECRVCG_LLG2() throws IloException \\r\\n\\t{\\r\\n\\t\\tIloCplex cplexSolver = new IloCplex();\\r\\n\\t\\tList items = new LinkedList();\\r\\n\\t\\titems.add(1);\\r\\n\\t\\titems.add(2);\\r\\n\\t\\t\\r\\n\\t\\t//Local bidder\\r\\n\\t\\tList bundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(0) );\\r\\n\\t\\tdouble marginalValue = 0.1;\\r\\n\\t\\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t1 = new CombinatorialType();\\r\\n\\t\\tt1.addAtomicBid(atom11);\\r\\n\\t\\t\\r\\n\\t\\t//Local bidder\\r\\n\\t\\tbundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(1) );\\r\\n\\t\\tmarginalValue = 0.2;\\r\\n\\t\\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t2 = new CombinatorialType();\\r\\n\\t\\tt2.addAtomicBid(atom21);\\r\\n\\t\\t\\r\\n\\t\\t//Global bidder\\r\\n\\t\\tbundle = new LinkedList();\\r\\n\\t\\tbundle.add( items.get(0) );\\r\\n\\t\\tbundle.add( items.get(1) );\\r\\n\\t\\tmarginalValue = 0.3;\\r\\n\\t\\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\\r\\n\\t\\t\\r\\n\\t\\tCombinatorialType t3 = new CombinatorialType();\\r\\n\\t\\tt3.addAtomicBid(atom31);\\r\\n\\t\\t\\r\\n\\t\\tList bids = new LinkedList();\\r\\n\\t\\tbids.add(t1);\\r\\n\\t\\tbids.add(t2);\\r\\n\\t\\tbids.add(t3);\\r\\n\\t\\t\\r\\n\\t\\tList costs = new LinkedList();\\r\\n\\t\\tcosts.add(0.05);\\r\\n\\t\\tcosts.add(0.1);\\r\\n\\t\\t\\r\\n\\t\\tGridGenerator generator = new GridGenerator(1, 2);\\r\\n\\t\\tgenerator.setSeed(0);\\r\\n\\t\\tgenerator.buildProximityGraph();\\r\\n\\t\\tGraph grid = generator.getGrid();\\r\\n\\t\\t\\r\\n\\t\\tassertTrue(grid.getVertices().size() == 2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().size() == 2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\\r\\n\\t\\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\\r\\n\\t\\t\\r\\n\\t\\tdouble primaryReductionCoef = 0.3;\\r\\n\\t\\tdouble secondaryReductionCoef = 0.2;\\r\\n\\t\\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\\r\\n\\t\\tjpmf.setNumberOfSamples(1000000);\\r\\n\\t\\tjpmf.setNumberOfBombsToThrow(1);\\r\\n\\t\\t\\r\\n\\t\\tIBombingStrategy b = new FocusedBombingStrategy(grid, 1., primaryReductionCoef, secondaryReductionCoef);\\r\\n\\t\\tList bombs = new LinkedList();\\r\\n\\t\\tbombs.add(b);\\r\\n\\t\\t\\r\\n\\t\\tList pd = new LinkedList();\\r\\n\\t\\tpd.add(1.);\\r\\n\\t\\t\\r\\n\\t\\tjpmf.setBombs(bombs, pd);\\r\\n\\t\\tjpmf.update();\\r\\n\\t\\t\\r\\n\\t\\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\\r\\n\\t\\tauction.setSolver(cplexSolver);\\r\\n\\t\\tauction.setPaymentRule(\\\"ECR-VCG_LLG\\\");\\r\\n\\t\\tauction.setSeed(0);\\r\\n\\t\\ttry\\r\\n\\t\\t{\\r\\n\\t\\t\\tauction.solveIt();\\r\\n\\t\\t\\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\\r\\n\\t\\t\\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\\r\\n\\t\\t\\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.1125 ) < 1e-4);\\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).size() == 2 );\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t//Get allocated buyers involved in the trade \\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 1 );\\r\\n\\t\\t\\tassertTrue( allocation.getBiddersInvolved(0).get(1) == 2 );\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 2 );\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\\t\\t\\r\\n\\t\\t\\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(1) == 0 );\\r\\n\\t\\t\\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6) );\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tdouble[] payments = auction.getPayments();\\r\\n\\t\\t\\tassertTrue( payments.length == 2);\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tif( allocation.getRealizedRV(0, 0) == 0.7 )\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[0] - 0.06 ) < 1e-4);\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[1] - 0.15) < 1e-4);\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\telse if( allocation.getRealizedRV(0, 0) == 0.8 )\\r\\n\\t\\t\\t{\\t\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[0] - 0.075 ) < 1e-4);\\r\\n\\t\\t\\t\\tassertTrue( Math.abs( payments[1] - 0.135) < 1e-4);\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\telse throw new RuntimeException(\\\"Wrong realized value\\\");\\r\\n\\t\\t\\t\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(0) );\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(1) );\\r\\n\\t\\t\\tassertTrue( allocation.isAllocated(2) );\\r\\n\\t\\t\\tassertTrue(!allocation.isAllocated(3) );\\r\\n\\t\\t}\\r\\n\\t\\tcatch (Exception e) \\r\\n\\t\\t{ \\r\\n\\t\\t\\te.printStackTrace();\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d0a128ca6f5d9e11321cc2c6b9209be\",\n \"score\": \"0.46090695\",\n \"text\": \"protected void createConstraintAnnotations() {\\r\\n\\t\\tString source = \\\"http://www.polarsys.org/kitalpha/emde/1.0.0/constraint\\\"; //$NON-NLS-1$\\t\\r\\n\\t\\taddAnnotation(capellaTagEClass, source,\\r\\n\\t\\t\\t\\tnew String[] { \\\"ExtendedElement\\\", \\\" http://www.polarsys.org/capella/core/core/1.0.0#//CapellaElement\\\" //$NON-NLS-1$ //$NON-NLS-2$\\r\\n\\t\\t});\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c77d4ffe17a1b950710664e2384fb154\",\n \"score\": \"0.46085814\",\n \"text\": \"public FSGridLayout(int rows, int cols, int hgap, int vgap) {\\n\\t\\tsuper(rows, cols, hgap, vgap);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7400c03a5a29f938d1e42cab55078a0\",\n \"score\": \"0.45865086\",\n \"text\": \"public void CreateRectangle() {\\n\\t\\tfor (int row = 0; row < 4; row++) {\\n\\t\\t\\tfor (int col = 0; col < 3; col++) {\\n\\t\\t\\t\\tint x = initialX + (RECTSIZE + COLGAPSIZE) * col;\\n\\t\\t\\t\\tint y = initialY + (RECTSIZE + ROWGAPSIZE) * row;\\n\\t\\t\\t\\tif (row > 1)\\n\\t\\t\\t\\t\\ty += 20;// the gap changes when the row lager than 1\\n\\t\\t\\t\\tbagRectangle[row][col] = new Rectangle(x, y, RECTSIZE, RECTSIZE);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0eb5a5f13db204d05754f442031b721e\",\n \"score\": \"0.45814967\",\n \"text\": \"private void setBasket() {\\n // ground of the basket like shape\\n Shape groundShape = new BoxShape(30, 0.5f);\\n Body ground = new StaticBody(this, groundShape);\\n ground.setPosition(new Vec2(0, -20f));\\n\\n // walls of the basket like shape\\n Shape wallShape = new BoxShape(0.05f, 3f);\\n Body leftWall = new StaticBody(this, wallShape);\\n leftWall.setPosition(new Vec2(-1, -20));\\n Body rightWall = new StaticBody(this, wallShape);\\n rightWall.setPosition(new Vec2(1, -20));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"94fbca0be5e69a59940e9f5a7452f675\",\n \"score\": \"0.45761022\",\n \"text\": \"public Tetrad(MyBoundedGrid grid)\\r\\n {\\r\\n this.grid = grid;\\r\\n block = new Block[4];\\r\\n shadow = new Block[4];\\r\\n for (int i=0; i() {\\n public void changed(ObservableValue ov, Number old_val, Number new_val) {\\n \\tmakeAmtSlider.setValue(new_val.intValue());\\n \\tif (((int) makeAmtMult.getValue() * new_val.intValue() < 1)) { makeButton.setDisable(true); }\\n \\telse { makeButton.setDisable(false); }\\n makeAmtVal.setText(String.valueOf((int)((int) makeAmtMult.getValue() * new_val.intValue()))); }\\n });\\n\\t\\t\\n\\t\\t/* Make amount multiplier setup */\\n\\t\\tmakeAmtMult.setShowTickMarks(true);\\n\\t\\tmakeAmtMult.setShowTickLabels(true);\\n\\t\\tmakeAmtMult.setSnapToTicks(true);\\n\\t\\tmakeAmtMult.setMajorTickUnit(5);\\n\\t\\tmakeAmtMult.setMinorTickCount(4);\\n\\t\\tmakeAmtMult.setPrefWidth(1000);\\n\\t\\tmakeAmtMult.valueProperty().addListener(new ChangeListener() {\\n public void changed(ObservableValue ov, Number old_val, Number new_val) {\\n \\tif (((int) makeAmtSlider.getValue() * new_val.intValue() < 1)) { makeButton.setDisable(true); }\\n \\telse { makeButton.setDisable(false); }\\n makeAmtVal.setText(String.valueOf((int)((int) makeAmtSlider.getValue() * new_val.intValue()))); }\\n });\\n\\n\\t\\t/* Add everything to pane */\\n\\t makeAmtPane.add(makeAmtLabel, 0, 0);\\n\\t makeAmtPane.add(makeAmtSlider, 0, 1);\\n\\t makeAmtPane.add(makeMultLabel, 0, 2);\\n\\t makeAmtPane.add(makeAmtMult, 0, 3);\\n\\t makeAmtPane.add(makeAmtVal, 1, 1);\\n\\t makeAmtPane.add(makeButton, 1, 2);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"84f78c80e1a14b1be322c011689177a0\",\n \"score\": \"0.45613772\",\n \"text\": \"private void initialize() {\\n\\t\\tframe = new JFrame();\\n\\t\\tframe.setBounds(100, 100, 450, 300);\\n\\t\\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\\n\\t\\tGridBagLayout gridBagLayout = new GridBagLayout();\\n\\t\\tgridBagLayout.columnWidths = new int[]{0, 0};\\n\\t\\tgridBagLayout.rowHeights = new int[]{0, 0, 0, 0, 154, 0};\\n\\t\\tgridBagLayout.columnWeights = new double[]{0, 1.0};\\n\\t\\tgridBagLayout.rowWeights = new double[]{0.0, 0.0, 0.0, 1.0, 0.0, Double.MIN_VALUE};\\n\\t\\tframe.getContentPane().setLayout(gridBagLayout);\\n\\t\\t\\n\\t\\tJLabel lblId = new JLabel(\\\"Id:\\\");\\n\\t\\tGridBagConstraints gbc_lblId = new GridBagConstraints();\\n\\t\\tgbc_lblId.anchor = GridBagConstraints.EAST;\\n\\t\\tgbc_lblId.insets = new Insets(0, 5, 5, 5);\\n\\t\\tgbc_lblId.gridx = 0;\\n\\t\\tgbc_lblId.gridy = 0;\\n\\t\\tframe.getContentPane().add(lblId, gbc_lblId);\\n\\t\\t\\n\\t\\tjtfid = new JTextField();\\n\\t\\tGridBagConstraints gbc_jtfid = new GridBagConstraints();\\n\\t\\tgbc_jtfid.ipady = 1;\\n\\t\\tgbc_jtfid.ipadx = 1;\\n\\t\\tgbc_jtfid.insets = new Insets(5, 0, 5, 25);\\n\\t\\tgbc_jtfid.fill = GridBagConstraints.HORIZONTAL;\\n\\t\\tgbc_jtfid.gridx = 1;\\n\\t\\tgbc_jtfid.gridy = 0;\\n\\t\\tframe.getContentPane().add(jtfid, gbc_jtfid);\\n\\t\\tjtfid.setColumns(10);\\n\\t\\t\\n\\t\\tJLabel lblCif = new JLabel(\\\"CIF:\\\");\\n\\t\\tGridBagConstraints gbc_lblCif = new GridBagConstraints();\\n\\t\\tgbc_lblCif.anchor = GridBagConstraints.EAST;\\n\\t\\tgbc_lblCif.insets = new Insets(0, 5, 5, 5);\\n\\t\\tgbc_lblCif.gridx = 0;\\n\\t\\tgbc_lblCif.gridy = 1;\\n\\t\\tframe.getContentPane().add(lblCif, gbc_lblCif);\\n\\t\\t\\n\\t\\tjtfCIF = new JTextField();\\n\\t\\tGridBagConstraints gbc_jtfCIF = new GridBagConstraints();\\n\\t\\tgbc_jtfCIF.insets = new Insets(0, 0, 5, 25);\\n\\t\\tgbc_jtfCIF.fill = GridBagConstraints.HORIZONTAL;\\n\\t\\tgbc_jtfCIF.gridx = 1;\\n\\t\\tgbc_jtfCIF.gridy = 1;\\n\\t\\tframe.getContentPane().add(jtfCIF, gbc_jtfCIF);\\n\\t\\tjtfCIF.setColumns(10);\\n\\t\\t\\n\\t\\tJLabel lblNombreFabricante = new JLabel(\\\"nombre\\\");\\n\\t\\tGridBagConstraints gbc_lblNombreFabricante = new GridBagConstraints();\\n\\t\\tgbc_lblNombreFabricante.anchor = GridBagConstraints.EAST;\\n\\t\\tgbc_lblNombreFabricante.insets = new Insets(0, 5, 5, 5);\\n\\t\\tgbc_lblNombreFabricante.gridx = 0;\\n\\t\\tgbc_lblNombreFabricante.gridy = 2;\\n\\t\\tframe.getContentPane().add(lblNombreFabricante, gbc_lblNombreFabricante);\\n\\t\\t\\n\\t\\tjtfnombre = new JTextField();\\n\\t\\tGridBagConstraints gbc_jtfnombre = new GridBagConstraints();\\n\\t\\tgbc_jtfnombre.insets = new Insets(0, 0, 5, 25);\\n\\t\\tgbc_jtfnombre.fill = GridBagConstraints.HORIZONTAL;\\n\\t\\tgbc_jtfnombre.gridx = 1;\\n\\t\\tgbc_jtfnombre.gridy = 2;\\n\\t\\tframe.getContentPane().add(jtfnombre, gbc_jtfnombre);\\n\\t\\tjtfnombre.setColumns(10);\\n\\t\\t\\n\\t\\tJPanel panel = new JPanel();\\n\\t\\tGridBagConstraints gbc_panel = new GridBagConstraints();\\n\\t\\tgbc_panel.insets = new Insets(0, 0, 5, 0);\\n\\t\\tgbc_panel.gridwidth = 2;\\n\\t\\tgbc_panel.fill = GridBagConstraints.BOTH;\\n\\t\\tgbc_panel.gridx = 0;\\n\\t\\tgbc_panel.gridy = 3;\\n\\t\\tframe.getContentPane().add(panel, gbc_panel);\\n\\t\\tpanel.setLayout(new FlowLayout(FlowLayout.CENTER, 5, 5));\\n\\t\\t\\n\\t\\tJButton btnPrimero = new JButton(\\\"<<\\\");\\n\\t\\tpanel.add(btnPrimero);\\n\\t\\t\\n\\t\\tJButton btnAnterior = new JButton(\\\"<\\\");\\n\\t\\tpanel.add(btnAnterior);\\n\\t\\t\\n\\t\\tJButton btnSiguiente = new JButton(\\\">\\\");\\n\\t\\tpanel.add(btnSiguiente);\\n\\t\\t\\n\\t\\tJButton btnUltimo = new JButton(\\\">>\\\");\\n\\t\\tpanel.add(btnUltimo);\\n\\t\\tgbc_panel.fill = GridBagConstraints.BOTH;\\n\\t\\tgbc_panel.gridx = 0;\\n\\t\\tgbc_panel.gridy = 4;\\n\\t\\t\\n\\t\\tJPanel panel_1 = new JPanel();\\n\\t\\tGridBagConstraints gbc_panel_1 = new GridBagConstraints();\\n\\t\\tgbc_panel_1.gridwidth = 2;\\n\\t\\tgbc_panel_1.fill = GridBagConstraints.BOTH;\\n\\t\\tgbc_panel_1.gridx = 0;\\n\\t\\tgbc_panel_1.gridy = 4;\\n\\t\\tframe.getContentPane().add(panel_1, gbc_panel_1);\\n\\t\\tpanel_1.setLayout(new FlowLayout(FlowLayout.CENTER, 5, 5));\\n\\t\\t\\n\\t\\tJButton btnNuevo = new JButton(\\\"Nuevo\\\");\\n\\t\\tpanel_1.add(btnNuevo);\\n\\t\\t\\n\\t\\tJButton btnGuardar = new JButton(\\\"Guardar\\\");\\n\\t\\tpanel_1.add(btnGuardar);\\n\\t\\t\\n\\t\\tJButton btnBorrar = new JButton(\\\"Borrar\\\");\\n\\t\\tpanel_1.add(btnBorrar);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ddefdb915c0e0fdf1010677cbd3c3a7e\",\n \"score\": \"0.45611942\",\n \"text\": \"public void makeGrid(Cell[][] actualGrid){\\n gamePanel.removeAll();\\n gamePanel.setVisible(false);\\n for(int i = 0; i < GC.getGridY(); i++){\\n for (int j = 0; j < GC.getGridX(); j++){\\n buttons[j][i] = actualGrid[j][i];\\n if(buttons[j][i] instanceof Empty){\\n buttons[j][i].addMouseListener(new GameControlEmptyListener());\\n buttons[j][i].addActionListener(new CellListener());\\n }\\n else if(buttons[j][i] instanceof Bomb){\\n buttons[j][i].addActionListener(new BombListener());\\n }\\n else{\\n buttons[j][i].addActionListener(new CellListener());\\n }\\n buttons[j][i].addMouseListener(new GameControlMarkListener());\\n\\n gridContraints.gridx = j;\\n gridContraints.gridy = i;\\n gamePanel.add(buttons[j][i],gridContraints);\\n }\\n }\\n controlContainer.add(gamePanel,gameConstraint);\\n gamePanel.setVisible(true);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6fb3a9cfd43eb278caceeeacbc370a79\",\n \"score\": \"0.45576403\",\n \"text\": \"private void addComponent(Component component, int gridx, int gridy,\\n int gridwidth, int gridheight, int weightx, int weighty, int ipady, int fill,\\n int anchor) {\\n \\n GridBagConstraints constraints = new GridBagConstraints();\\n constraints.gridx = gridx;\\n constraints.gridy = gridy;\\n constraints.gridwidth = gridwidth;\\n constraints.gridheight = gridheight;\\n constraints.weightx = weightx;\\n constraints.weighty = weighty;\\n constraints.fill = fill;\\n\\t\\tconstraints.ipady = ipady;\\n constraints.anchor = anchor;\\n gridbag.setConstraints(component, constraints);\\n pane.add(component);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d8ac3de9904ba99a4b2009fa630c58e\",\n \"score\": \"0.45383775\",\n \"text\": \"public void configure(int ti){\\r\\n setLayout(new GridBagLayout());\\r\\n setTitle(\\\"Neue Bestellung\\\");\\r\\n setResizable(false);\\r\\n setSize(new Dimension(380,370));\\r\\n setLocation(500,300);\\r\\n GridBagConstraints bagConstraints = new GridBagConstraints();\\r\\n setLayout(new GridBagLayout());\\r\\n setHeader(bagConstraints, \\\"Neue Bestellung hinzufügen\\\");\\r\\n setTableCombo(ti,bagConstraints);\\r\\n setPersonCombo(bagConstraints);\\r\\n setReservedRadio(bagConstraints);\\r\\n setEating(bagConstraints);\\r\\n setDrinking(bagConstraints);\\r\\n setCommit(bagConstraints);\\r\\n setVisible(true);\\r\\n setAlwaysOnTop(true);\\r\\n setDefaultCloseOperation(this.HIDE_ON_CLOSE);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c9a9717a067214e37119b69a05ad59b6\",\n \"score\": \"0.45284832\",\n \"text\": \"private void initialize() {\\r\\n\\t\\t// user code begin {1}\\r\\n\\t\\t// user code end\\r\\n\\t\\tGridBagConstraints gridBagConstraints2 = new GridBagConstraints();\\r\\n\\t\\tgridBagConstraints2.fill = GridBagConstraints.NONE;\\r\\n\\t\\tgridBagConstraints2.gridy = 0;\\r\\n\\t\\tgridBagConstraints2.weightx = 0.0;\\r\\n\\t\\tgridBagConstraints2.gridx = 0;\\r\\n\\t\\tGridBagConstraints gridBagConstraints1 = new GridBagConstraints();\\r\\n\\t\\tgridBagConstraints1.fill = GridBagConstraints.NONE;\\r\\n\\t\\tgridBagConstraints1.gridy = 0;\\r\\n\\t\\tgridBagConstraints1.weightx = 0.0;\\r\\n\\t\\tgridBagConstraints1.gridx = 4;\\r\\n\\t\\tsetName(\\\"DataTablePanel\\\");\\r\\n\\t\\tsetLayout(new java.awt.GridBagLayout());\\r\\n\\t\\tsetBackground(new java.awt.Color(181, 183, 154));\\r\\n\\t\\tsetSize(489, 203);\\r\\n\\r\\n\\t\\tjava.awt.GridBagConstraints constraintsBarraEstadosPanel = new java.awt.GridBagConstraints();\\r\\n\\t\\tconstraintsBarraEstadosPanel.gridx = 2;\\r\\n\\t\\tconstraintsBarraEstadosPanel.gridy = 0;\\r\\n\\t\\tconstraintsBarraEstadosPanel.fill = GridBagConstraints.BOTH;\\r\\n\\t\\tconstraintsBarraEstadosPanel.weighty = 0.0D;\\r\\n\\t\\tconstraintsBarraEstadosPanel.weightx = 1.0;\\r\\n\\t\\tjava.awt.GridBagConstraints constraintsJScrollPane = new java.awt.GridBagConstraints();\\r\\n\\t\\tconstraintsJScrollPane.gridx = 0;\\r\\n\\t\\tconstraintsJScrollPane.gridy = 2;\\r\\n\\t\\tconstraintsJScrollPane.gridwidth = 5;\\r\\n\\t\\tconstraintsJScrollPane.fill = java.awt.GridBagConstraints.BOTH;\\r\\n\\t\\tconstraintsJScrollPane.weightx = 1.0;\\r\\n\\t\\tconstraintsJScrollPane.weighty = 1.0;\\r\\n\\t\\tjava.awt.GridBagConstraints constraintsBar02Panel1 = new java.awt.GridBagConstraints();\\r\\n\\t\\tconstraintsBar02Panel1.gridx = 0;\\r\\n\\t\\tconstraintsBar02Panel1.gridy = 3;\\r\\n\\t\\tconstraintsBar02Panel1.gridwidth = 5;\\r\\n\\t\\tconstraintsBar02Panel1.fill = java.awt.GridBagConstraints.HORIZONTAL;\\r\\n\\t\\tconstraintsBar02Panel1.weightx = 1.0;\\r\\n\\t\\tgetTableExt().setFont(efren.util.FontManager.currentSystemPlainFont());\\r\\n\\t\\tthis.setBorder(javax.swing.BorderFactory.createLoweredBevelBorder());\\r\\n\\t\\tthis.add(getJScrollPane(), constraintsJScrollPane);\\r\\n\\t\\tthis.add(getBar02Panel1(), constraintsBar02Panel1);\\r\\n\\t\\tthis.add(getBarraEstadosPanel(), constraintsBarraEstadosPanel);\\r\\n\\t\\tthis.add(getJToolBar(), gridBagConstraints1);\\r\\n\\t\\tthis.add(getJToolBar1(), gridBagConstraints2);\\r\\n\\t\\tthis.getTableExt().setContainerPanel(this);\\r\\n\\r\\n\\t\\ttry {\\r\\n\\t\\t\\tinitConnections();\\r\\n\\t\\t} catch (Exception e) {\\r\\n\\t\\t\\te.getMessage();\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1639996ceaaed34739aa9273e04a4086\",\n \"score\": \"0.45103872\",\n \"text\": \"ConstraintTypeFormula() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d6358126799efd6b630641c8eace6b87\",\n \"score\": \"0.4509758\",\n \"text\": \"public void createGrid() {\\r\\n\\t\\tfor (int i = 0; i < length; i++) {\\r\\n\\t\\t\\tfor (int j = 0; j < width; j++) {\\r\\n\\t\\t\\t\\tgrid[i][j] = new Point(i, j);\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bfed6c1f53b06f036d1bdf2172c45d01\",\n \"score\": \"0.44971418\",\n \"text\": \"private Grid() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9b4c49cf74e9ed91e49a5355dd34f642\",\n \"score\": \"0.44953603\",\n \"text\": \"public static void createGrid( ArrayList gridNumbers )\\r\\n\\t{\\r\\n\\t\\tgrid = new int[numOfVariables+1][numOfVariables+1];\\r\\n\\t\\tfor( int i = 0; i < numOfVariables+1; i++ )\\r\\n\\t\\t{\\r\\n\\t\\t\\tfor( int j = 0; j < numOfVariables+1; j++ )\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tgrid[i][j] = gridNumbers.get( 0 );\\r\\n\\t\\t\\t\\tgridNumbers.remove( 0 );\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aacb17241c5387032f814dfd20aaa144\",\n \"score\": \"0.4494996\",\n \"text\": \"public BudgetConstraint(double weight, double[] highestValues, ConstraintScope c) {\\r\\n\\t\\tsuper(weight, MSPolicy.DESCENDENT_TYPE, c);\\r\\n\\t\\tthis.constraintName = \\\"Budget\\\";\\r\\n\\t\\thighRamCost = highestValues[0];\\r\\n\\t\\thighStorageCost = highestValues[1];\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c16c5a2afb71cd52f95fb9b7a0272593\",\n \"score\": \"0.44887152\",\n \"text\": \"public abstract void buildGrid();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"89d454f669af9464cf4c75412b6048f1\",\n \"score\": \"0.44861525\",\n \"text\": \"public PointBag(int capacity) {\\n\\t\\tpoints = new Point[capacity];\\n\\t\\tsize = 0;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e516fbcfc04995f0e1ec4d1a6910ac57\",\n \"score\": \"0.4479026\",\n \"text\": \"public void putConstraintViews(ConstraintView[] constraintViews)\\n {\\n _desktopPane.putGraphComponents(constraintViews);\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":392,"cells":{"query_id":{"kind":"string","value":"c1e4b6d0b67428ae2662fc414452f1e2"},"query":{"kind":"string","value":"suleta un objeto de la mochila"},"positive_passages":{"kind":"list like","value":[{"docid":"424146e5d49135223452c41787c43e3b","score":"0.0","text":"public void dropItem(String nombreObjeto)\n {\n for(int i = 0;i();// creamos una instancia de la lista\n \n}","title":""},{"docid":"ef7bf650f1f9d78359d33246ebe361c9","score":"0.6297741","text":"public Conta() {}","title":""},{"docid":"49823f8da9e1985625b2e626ebfddd52","score":"0.62557864","text":"public Saida(){\n \n }","title":""},{"docid":"ee77db466b1383b772b5363a6bafc28c","score":"0.625244","text":"public LnEstado() {\n this.conexion = new Conexion(\"empresa\");//Se establece la conexion\n }","title":""},{"docid":"dea42d5fb1fd2ac7090189dde69b6c49","score":"0.6245045","text":"public Une_Carte() {\r\n }","title":""},{"docid":"db853408d3a27511a5d982b8c1fc95aa","score":"0.6244785","text":"private Puesto(){}","title":""},{"docid":"1eafbb01dbcbfcc91227cf84d863c6b0","score":"0.62410516","text":"private Tramo(){}","title":""},{"docid":"5044e41d7fc96ce4dffd0f07ff346e8b","score":"0.62382305","text":"public Aluno() {\n\t}","title":""},{"docid":"0463442ecb8a044200901a479c7dd1f3","score":"0.62010545","text":"private void iniciar() {\n this.principal=new Container();\n this.contenedores=new Container[cantidad][2];\n this.objetos=new Object[cantidad][5];\n crearObjetos();\n }","title":""},{"docid":"dee9dfe189fbf707872f0e5a9b47763b","score":"0.61944443","text":"public Carrera() {\n\t}","title":""},{"docid":"32eaff37533fa443301834a55edfbcbc","score":"0.61719537","text":"@Override\n protected Object _crearCuentaBancaria() {return new CuentaBancaria(\"SONIA\", \"123456\", \"SAN\");}","title":""},{"docid":"0a9f97f9e43b17e821cedb4701e920f7","score":"0.6160132","text":"public Contador(){\n \n }","title":""},{"docid":"6c46cf2ede5f6601887ac897b32dc065","score":"0.6158325","text":"public Trabaja(){\r\n\t}","title":""},{"docid":"6bed6f26700123aa32c3943f58f25b4e","score":"0.6152904","text":"public Prueba() {\n }","title":""},{"docid":"6bed6f26700123aa32c3943f58f25b4e","score":"0.6152904","text":"public Prueba() {\n }","title":""},{"docid":"33ef0049239d375a1a902820bae4f38f","score":"0.6145739","text":"public Parametro() {\n this.iniciar();\n }","title":""},{"docid":"ad37accc0618e6835aaf3f7311f7b246","score":"0.6144657","text":"public VentasVista() {\n }","title":""},{"docid":"f7400ea1cd7fcef5885dcf6efd234326","score":"0.61404467","text":"public CambioPagina() {\r\n }","title":""},{"docid":"0131feadf6342682f704ba56b7ce6767","score":"0.61394143","text":"public MVCModelo()\n\t{\n\t\tdatos = new ArrayList< DoubleLinkedList>();\n\t\tdatos.add(new DoubleLinkedList());\n\t\tdatos.add(new DoubleLinkedList());\n\t}","title":""},{"docid":"7cd935ccb16b30435472918b145d0bd1","score":"0.61352855","text":"VARE getObj();","title":""},{"docid":"be52189aa243d1bdbc6b3b470f6cb87d","score":"0.6134424","text":"public Automatico(){\n\t\t\n\t\tvalores = Valores.getInstance();\n\t\t\n\t}","title":""},{"docid":"58f7350f4183754465365bcedd00e60a","score":"0.61199903","text":"public Muro()\n {\n entradas = new ArrayList ();\n }","title":""},{"docid":"d42de1bfa7c6125226dd70d03b3cdd29","score":"0.6112628","text":"public DetalleRangoCupoTrans () {\r\n\r\n }","title":""},{"docid":"ad4b34c8932e396ac81b5079bf185b66","score":"0.6109783","text":"public CasaDeCambio() {\n }","title":""},{"docid":"5cbbf93fab2e1f16747821addc9bfe9b","score":"0.61090016","text":"public void Malo2() {\r\n malo = new Malo2(600, 30, 1);\r\n\r\n }","title":""},{"docid":"33090984c599b1fcaaea9883b3aef5e0","score":"0.610784","text":"public Competicao () {\n\t\t\n\t}","title":""},{"docid":"e8bc835a144aa8335e53ec26c92d54f1","score":"0.60967904","text":"@Override\n protected ContaAnime preencheObjeto(ResultSet resultado) {\n ContaAnime tmp = new ContaAnime();\n AnimeDAO daoAnime = new AnimeDAO();\n Anime anime = new Anime();\n \n try {\n tmp.setId(resultado.getInt(1));\n \n \n //select id,idConta,idFilme,classificacao\n tmp.setClassificacao(resultado.getInt(4));\n tmp.getAnime().setId(resultado.getInt(3));\n tmp.setComentario(resultado.getString(5));\n tmp.setAnime(daoAnime.Abrir(tmp.getAnime().getId()));\n \n \n \n \n \n } catch (SQLException ex) {\n Logger.getLogger(ContaAnimeDAO.class.getName()).log(Level.SEVERE, null, ex);\n }\n // Retorna o objeto\n return tmp;\n \n \n }","title":""},{"docid":"c581dc0f9c429737f464437b66429a82","score":"0.6096473","text":"public Game(){\n\t\tcontroleur = new Controleur();\n\t}","title":""},{"docid":"eeb252fd9d61c5dc2049af0a080b0d87","score":"0.6094698","text":"public Receta() {\n\t\tsuper();\n\t}","title":""},{"docid":"c5ac52875dad8d1bb9f9ed060abfeca5","score":"0.60849667","text":"private FullSingleObject() {\r\n\t}","title":""},{"docid":"b0370fb362b4fc5b5880c836aad96436","score":"0.6072586","text":"public CamisetaModel() {\n\t\t\n\t}","title":""},{"docid":"81223d979613536d75f86449a356814d","score":"0.6066614","text":"public Akcija() {\n\n }","title":""},{"docid":"a9b0510b1424c8e6916734f013e262d9","score":"0.6062865","text":"public AudiAnalista()\r\n {\r\n }","title":""},{"docid":"5140c94888e22a6477bdb621e5c494bb","score":"0.6058119","text":"public GRAFO(){\n\t//Pre: true\n\t//Post: El Grafo esta inicializado en Vacio\n\t\tLv = new Lista();\n\t}","title":""},{"docid":"6bd374f3ab76627ec5d8981a3c054e5b","score":"0.60523206","text":"private SingleObject(){}","title":""},{"docid":"bde44db92533741115471531a8367f76","score":"0.6044165","text":"private SingleObject() {\r\n\t}","title":""},{"docid":"1ee3d580bc8f3ee7b30c320d312fad16","score":"0.6038586","text":"public Celula(Player elemento) {\n this.elemento = elemento;\n this.prox = null;\n }","title":""},{"docid":"d398cbe2c0b2f6d8aba8b49c4752d14e","score":"0.6038088","text":"public SolicitudPedidoMB() {\r\n\r\n }","title":""},{"docid":"714c7a4d5ffc0c7fa7c4004f3340c7a1","score":"0.60343724","text":"public Persona() {\n\n\t\t\n\t\t\n\n\t}","title":""},{"docid":"0fe5de3cf4f9acf96b66d52fb641d365","score":"0.6032546","text":"public MyProjet() {\r\n }","title":""},{"docid":"9996aee2f211b0fbf85355176e00b496","score":"0.6030818","text":"public Agenda(){\r\n this.tamanhoDaAgenda = 100;\r\n }","title":""},{"docid":"e3f37776fefc6d03f7889470810ba4c9","score":"0.60267484","text":"public ModelJadwalSolat() {\n }","title":""},{"docid":"032bed7927ca2051486564ebc300a28d","score":"0.6024238","text":"public Lavadora() {\r\n\t \r\n }","title":""},{"docid":"2aeb5442db6e1500567ca0fce2cf1f5a","score":"0.6018483","text":"private ControleInformacao() {\r\n }","title":""},{"docid":"964b54d3bb4280bbf42a4f62956f1713","score":"0.6017669","text":"public MVCModelo()\n\t{\n\t\tcolaMes= new MaxPQ<>();\n\t\tcolaDia= new MaxPQ<>();\n\t\tcolaHora= new MaxPQ<>();\n\t\tnodos= new LinearProbingHashST<>();\n\t}","title":""},{"docid":"5722e2efd99e3907458d4c59e753a5bb","score":"0.60171026","text":"public Modalitet() {\n }","title":""},{"docid":"82fc3d49848ada94017334e45632b789","score":"0.60091984","text":"public CrearDirectorio() {\n }","title":""},{"docid":"1389e234247930123b2dc67fef25ed4d","score":"0.6004337","text":"private RepositorioTarefa() {\n\n }","title":""},{"docid":"5c1a2c27137d0b9a0a75d86ab699ce0a","score":"0.60026497","text":"public Partida() {\n }","title":""},{"docid":"6cafb829ce94070fa02659140d26be62","score":"0.5998955","text":"Anclaje() {\n /*\n Constructor vacío para la clase Anclaje para utilizar\n los vlaores por defecto declarados en la clase\n */\n }","title":""},{"docid":"22e794bd0e567233b120292bb04445b0","score":"0.599597","text":"Aluno createAluno();","title":""},{"docid":"cf44d8280308eb67d1210403b953f424","score":"0.5995148","text":"public Producto(){\n }","title":""},{"docid":"6f5b83e5933eb2c2bf880b3fea50abf3","score":"0.599421","text":"public Tiempo(){\r\n\t\tid = new TiempoId();\r\n\t}","title":""},{"docid":"03ccc45ec144709d1e217bbae90e9765","score":"0.59882563","text":"public Pessoa() {\r\n super();\r\n }","title":""},{"docid":"524bfc1dee8db786d098350f313314b3","score":"0.5988196","text":"public Figura() {\r\n \r\n }","title":""},{"docid":"5a9d2b8acbc080ee25e542f37978092e","score":"0.59846103","text":"public Producto(){\t}","title":""},{"docid":"ef5918c2a38ebe9a97cf083d2020e570","score":"0.59707034","text":"public Pelicula(){\n\t\t\n\t}","title":""},{"docid":"0001bacfa0e03ea6a52d5cd8a5649715","score":"0.5965354","text":"public EstoqueFarmacia() {\n }","title":""},{"docid":"94024769b4fa7948e7d4ce0ab30d39ba","score":"0.5964716","text":"private void crearCuerpo()\n {\n cuerpoPoligono =new CuerpoPoligono(getElementos(),new CuerpoDinamico());\n }","title":""},{"docid":"5bdd462737865ddd8b9a6d61e8d35f88","score":"0.59636587","text":"public Demanda(){}","title":""},{"docid":"b82b46e5e2fb229f5aa7a292c23378a3","score":"0.59606373","text":"public RequisitoVista() {\r\n }","title":""},{"docid":"3673d7377da1bbf945d37c261224dfa1","score":"0.596043","text":"public Dispositivo() {\n\t\t\n\t}","title":""},{"docid":"f991ab1c145d60fdf1bb63b9645b5480","score":"0.5958423","text":"public Academico(){}","title":""},{"docid":"cf7795ce700107e21e0a90ef4e4fd04a","score":"0.595638","text":"public Oem() {\n oemBo = new OemBO();\n }","title":""},{"docid":"496037180096e8f50dd77a62cf38d511","score":"0.59550446","text":"public Comentario() {\n }","title":""},{"docid":"24ff27c4c0ce3d94ed8cfeaa1436a378","score":"0.594914","text":"Lavadora(){\r\n\t\tsuper();\r\n\t\tthis.carga= 5;\r\n\t}","title":""},{"docid":"0ac86cadf18c12bc40bc7c6d9a4274e7","score":"0.59462374","text":"public ArticuloBean() {\r\n proveedor = new FacProveedor();\r\n articulo = new FacArticulo();\r\n proveedorArticulo = new FacProveedorArticulo();\r\n articuloDetalle = new AudDetEstadoFinan();\r\n cargarCombos();\r\n cargarDependencias();\r\n }","title":""},{"docid":"05ef74bdbf2e9ee5282352e8c7893274","score":"0.5943137","text":"public Tmio1Ruta() {\n\t}","title":""},{"docid":"1c63f0681386a48e09b6157bf24f951e","score":"0.5942481","text":"public Cuenta() {\n }","title":""},{"docid":"d79ccbdeed875cd867fd85305a99d378","score":"0.59419185","text":"public Pessoa() {\n\t\tsuper();\n\t}","title":""},{"docid":"5f0155f595685da75914a03d0a6cc74b","score":"0.5940446","text":"public FiltroTarifaSocialRevisaoMotivo() {\r\n\t}","title":""},{"docid":"ad7e4b0d26e161fd8d9fd998b1ef52fa","score":"0.59380037","text":"private Dovahzul(){}","title":""},{"docid":"8e09f78ac1ef6ce691edf847e3e30cb5","score":"0.59315425","text":"public Producto() {\n }","title":""},{"docid":"fa6be62ce49389469f73276de4e1ad24","score":"0.59281045","text":"public Aluno() {\n\t\tsuper();\n\t}","title":""},{"docid":"1111c13ed591bb36d67a12a5c1940a5b","score":"0.5926359","text":"public concesionario()\n {\n concesionario = new ArrayList();\n id=1;\n }","title":""},{"docid":"ecb914debb4783e489989b1091b824bb","score":"0.5924232","text":"public Persona() {\r\n }","title":""},{"docid":"83b703e288ef5db0510946d88ec0cfdb","score":"0.59183264","text":"public Texto() {\r\n }","title":""},{"docid":"89291bbdd7623fb988ae4ae4ae7b3140","score":"0.59159297","text":"public Articoli(){\r\n this.id = 0;\r\n this.idVenditore = 0;\r\n this.nomeArticolo = \"\";\r\n this.urlImmagine = \"\";\r\n this.descrizione = \"\";\r\n this.prezzo = 0.0;\r\n this.quantita = 0;\r\n }","title":""},{"docid":"1027a1e183d86a9f58c957a00faaac24","score":"0.5915056","text":"public Campeonato() {\n }","title":""},{"docid":"df0d42a9972db3f6ed0736d282e867db","score":"0.591132","text":"public Vendeur() {\n\t}","title":""},{"docid":"abb2461ea45e8a55a5627e44e04ed945","score":"0.5910131","text":"public Problema() {\n\t\tconfiguraciones = new ArrayList();\n\t\t\n\t\tcadenas = new ArrayList();\n\t}","title":""},{"docid":"ecd30f6c460c5c40288b3773e7d21b42","score":"0.5902358","text":"public ClassificaManagement() {\n this.objects=new Object[DEFAULT_SIZE];\n \n }","title":""},{"docid":"ba4e3984beafc9efdf51c00f86a59eea","score":"0.5901618","text":"public Parametro() {\r\n\t}","title":""},{"docid":"18ca5a994c9d28f8d1c0ac9743862f41","score":"0.5897845","text":"private Fachada(){}","title":""},{"docid":"c2a41ef1d9bf630d445db296477dc0ab","score":"0.58966315","text":"public ZafMae04(ZafParSis obj)\n {\n try\n {\n //Inicializar objetos.\n objParSis=(ZafParSis)obj.clone();\n objUti=new ZafUtil();\n initComponents();\n if (!configurarFrm())\n exitForm();\n agregarDocLis();\n }\n catch (CloneNotSupportedException e)\n {\n this.setTitle(this.getTitle() + \" [ERROR]\");\n }\n }","title":""},{"docid":"4e3a94ea30aa78ff84c814f2bff8c241","score":"0.5892311","text":"public Valuta() {\r\n\t\tsuper();\r\n\t}","title":""}],"string":"[\n {\n \"docid\": \"ce6a5840c01d886ddf9923c082373a7e\",\n \"score\": \"0.6673176\",\n \"text\": \"public Pasta (){\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"73d13859db2752df14b92b3c7a368aaa\",\n \"score\": \"0.66469675\",\n \"text\": \"public ObjetoGrafico() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ca8ea2fa0ee80483283caf80aa4bf7e0\",\n \"score\": \"0.6622898\",\n \"text\": \"public conta(){\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"112d4e044819ac429477fca6cc0b65f6\",\n \"score\": \"0.65937316\",\n \"text\": \"public Aktuelles(){}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"26c1be8a070a82fe6c3921ec0214e6da\",\n \"score\": \"0.6538352\",\n \"text\": \"public Trabalho(){}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"df53ef2c9b957798cf20c50b7feb0f26\",\n \"score\": \"0.6492857\",\n \"text\": \"public Objet() {\\r\\n\\t\\tcouleur = \\\"\\\";\\r\\n\\t\\tnbre = 0;\\r\\n\\t\\tpos = 0;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"68e95f76aa53bf1591300ec2978f2748\",\n \"score\": \"0.6470249\",\n \"text\": \"public void createObject()//laver et nyt object\\n {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0b0d94da0a79bf7fce1c962132afdbd2\",\n \"score\": \"0.6453352\",\n \"text\": \"private Modelo(Marca marca) {\\n\\t\\tthis.marca = marca;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f9a47b48cf17a19799b6862d4b8af736\",\n \"score\": \"0.6397971\",\n \"text\": \"public Proyecto(){}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0ac31408fe3017bd70f4f4931920f163\",\n \"score\": \"0.63777465\",\n \"text\": \"public CasaDeVacanta(){\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"485fa3c412d3fdcf5acbe7446c5678a4\",\n \"score\": \"0.6366477\",\n \"text\": \"public Model(){\\r\\n this.encomendas = new Encomendas();\\r\\n this.lojas = new Lojas();\\r\\n this.transportadoras = new Transportadoras();\\r\\n this.utilizadores = new Utilizadores();\\r\\n this.voluntarios = new Voluntarios();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"70a3f39cbf44695f9cf4cb517c8cf5cf\",\n \"score\": \"0.6348461\",\n \"text\": \"public Reserva() {\\n this.passageiro = new Passageiro(); // evito erro de null pointer\\n this.voo = new Voo(); // evito erro de acesso a espaco na memoria inexistente\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"801844e45fe45a2a36c841a7e3cd65a2\",\n \"score\": \"0.6342926\",\n \"text\": \"public Paziente(){\\r\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"891e923fcf4ff36755488e348c2b10df\",\n \"score\": \"0.6342149\",\n \"text\": \"public AlunoMB() {\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"23ebe251ad4bd2d8ede854c0c6ea7e58\",\n \"score\": \"0.6319918\",\n \"text\": \"public Acta(){\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"723cd8fd8153dce27ee1b8a0bbc1aa82\",\n \"score\": \"0.63149565\",\n \"text\": \"public admCurso(){//creamos el constructor de la clase admCurso\\n ConexCurso = new conexionBD();// crear un objeto con la coneccionBD \\n ConexCurso.Conectar();// Conectar a la base de datos\\n ListaCurso = new ArrayList<>();// creamos una instancia de la lista\\n \\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ef7bf650f1f9d78359d33246ebe361c9\",\n \"score\": \"0.6297741\",\n \"text\": \"public Conta() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"49823f8da9e1985625b2e626ebfddd52\",\n \"score\": \"0.62557864\",\n \"text\": \"public Saida(){\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ee77db466b1383b772b5363a6bafc28c\",\n \"score\": \"0.625244\",\n \"text\": \"public LnEstado() {\\n this.conexion = new Conexion(\\\"empresa\\\");//Se establece la conexion\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dea42d5fb1fd2ac7090189dde69b6c49\",\n \"score\": \"0.6245045\",\n \"text\": \"public Une_Carte() {\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"db853408d3a27511a5d982b8c1fc95aa\",\n \"score\": \"0.6244785\",\n \"text\": \"private Puesto(){}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1eafbb01dbcbfcc91227cf84d863c6b0\",\n \"score\": \"0.62410516\",\n \"text\": \"private Tramo(){}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5044e41d7fc96ce4dffd0f07ff346e8b\",\n \"score\": \"0.62382305\",\n \"text\": \"public Aluno() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0463442ecb8a044200901a479c7dd1f3\",\n \"score\": \"0.62010545\",\n \"text\": \"private void iniciar() {\\n this.principal=new Container();\\n this.contenedores=new Container[cantidad][2];\\n this.objetos=new Object[cantidad][5];\\n crearObjetos();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dee9dfe189fbf707872f0e5a9b47763b\",\n \"score\": \"0.61944443\",\n \"text\": \"public Carrera() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"32eaff37533fa443301834a55edfbcbc\",\n \"score\": \"0.61719537\",\n \"text\": \"@Override\\n protected Object _crearCuentaBancaria() {return new CuentaBancaria(\\\"SONIA\\\", \\\"123456\\\", \\\"SAN\\\");}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0a9f97f9e43b17e821cedb4701e920f7\",\n \"score\": \"0.6160132\",\n \"text\": \"public Contador(){\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c46cf2ede5f6601887ac897b32dc065\",\n \"score\": \"0.6158325\",\n \"text\": \"public Trabaja(){\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6bed6f26700123aa32c3943f58f25b4e\",\n \"score\": \"0.6152904\",\n \"text\": \"public Prueba() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6bed6f26700123aa32c3943f58f25b4e\",\n \"score\": \"0.6152904\",\n \"text\": \"public Prueba() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"33ef0049239d375a1a902820bae4f38f\",\n \"score\": \"0.6145739\",\n \"text\": \"public Parametro() {\\n this.iniciar();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ad37accc0618e6835aaf3f7311f7b246\",\n \"score\": \"0.6144657\",\n \"text\": \"public VentasVista() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f7400ea1cd7fcef5885dcf6efd234326\",\n \"score\": \"0.61404467\",\n \"text\": \"public CambioPagina() {\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0131feadf6342682f704ba56b7ce6767\",\n \"score\": \"0.61394143\",\n \"text\": \"public MVCModelo()\\n\\t{\\n\\t\\tdatos = new ArrayList< DoubleLinkedList>();\\n\\t\\tdatos.add(new DoubleLinkedList());\\n\\t\\tdatos.add(new DoubleLinkedList());\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7cd935ccb16b30435472918b145d0bd1\",\n \"score\": \"0.61352855\",\n \"text\": \"VARE getObj();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"be52189aa243d1bdbc6b3b470f6cb87d\",\n \"score\": \"0.6134424\",\n \"text\": \"public Automatico(){\\n\\t\\t\\n\\t\\tvalores = Valores.getInstance();\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"58f7350f4183754465365bcedd00e60a\",\n \"score\": \"0.61199903\",\n \"text\": \"public Muro()\\n {\\n entradas = new ArrayList ();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d42de1bfa7c6125226dd70d03b3cdd29\",\n \"score\": \"0.6112628\",\n \"text\": \"public DetalleRangoCupoTrans () {\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ad4b34c8932e396ac81b5079bf185b66\",\n \"score\": \"0.6109783\",\n \"text\": \"public CasaDeCambio() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5cbbf93fab2e1f16747821addc9bfe9b\",\n \"score\": \"0.61090016\",\n \"text\": \"public void Malo2() {\\r\\n malo = new Malo2(600, 30, 1);\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"33090984c599b1fcaaea9883b3aef5e0\",\n \"score\": \"0.610784\",\n \"text\": \"public Competicao () {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e8bc835a144aa8335e53ec26c92d54f1\",\n \"score\": \"0.60967904\",\n \"text\": \"@Override\\n protected ContaAnime preencheObjeto(ResultSet resultado) {\\n ContaAnime tmp = new ContaAnime();\\n AnimeDAO daoAnime = new AnimeDAO();\\n Anime anime = new Anime();\\n \\n try {\\n tmp.setId(resultado.getInt(1));\\n \\n \\n //select id,idConta,idFilme,classificacao\\n tmp.setClassificacao(resultado.getInt(4));\\n tmp.getAnime().setId(resultado.getInt(3));\\n tmp.setComentario(resultado.getString(5));\\n tmp.setAnime(daoAnime.Abrir(tmp.getAnime().getId()));\\n \\n \\n \\n \\n \\n } catch (SQLException ex) {\\n Logger.getLogger(ContaAnimeDAO.class.getName()).log(Level.SEVERE, null, ex);\\n }\\n // Retorna o objeto\\n return tmp;\\n \\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c581dc0f9c429737f464437b66429a82\",\n \"score\": \"0.6096473\",\n \"text\": \"public Game(){\\n\\t\\tcontroleur = new Controleur();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eeb252fd9d61c5dc2049af0a080b0d87\",\n \"score\": \"0.6094698\",\n \"text\": \"public Receta() {\\n\\t\\tsuper();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c5ac52875dad8d1bb9f9ed060abfeca5\",\n \"score\": \"0.60849667\",\n \"text\": \"private FullSingleObject() {\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b0370fb362b4fc5b5880c836aad96436\",\n \"score\": \"0.6072586\",\n \"text\": \"public CamisetaModel() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"81223d979613536d75f86449a356814d\",\n \"score\": \"0.6066614\",\n \"text\": \"public Akcija() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a9b0510b1424c8e6916734f013e262d9\",\n \"score\": \"0.6062865\",\n \"text\": \"public AudiAnalista()\\r\\n {\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5140c94888e22a6477bdb621e5c494bb\",\n \"score\": \"0.6058119\",\n \"text\": \"public GRAFO(){\\n\\t//Pre: true\\n\\t//Post: El Grafo esta inicializado en Vacio\\n\\t\\tLv = new Lista();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6bd374f3ab76627ec5d8981a3c054e5b\",\n \"score\": \"0.60523206\",\n \"text\": \"private SingleObject(){}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bde44db92533741115471531a8367f76\",\n \"score\": \"0.6044165\",\n \"text\": \"private SingleObject() {\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1ee3d580bc8f3ee7b30c320d312fad16\",\n \"score\": \"0.6038586\",\n \"text\": \"public Celula(Player elemento) {\\n this.elemento = elemento;\\n this.prox = null;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d398cbe2c0b2f6d8aba8b49c4752d14e\",\n \"score\": \"0.6038088\",\n \"text\": \"public SolicitudPedidoMB() {\\r\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"714c7a4d5ffc0c7fa7c4004f3340c7a1\",\n \"score\": \"0.60343724\",\n \"text\": \"public Persona() {\\n\\n\\t\\t\\n\\t\\t\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0fe5de3cf4f9acf96b66d52fb641d365\",\n \"score\": \"0.6032546\",\n \"text\": \"public MyProjet() {\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9996aee2f211b0fbf85355176e00b496\",\n \"score\": \"0.6030818\",\n \"text\": \"public Agenda(){\\r\\n this.tamanhoDaAgenda = 100;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3f37776fefc6d03f7889470810ba4c9\",\n \"score\": \"0.60267484\",\n \"text\": \"public ModelJadwalSolat() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"032bed7927ca2051486564ebc300a28d\",\n \"score\": \"0.6024238\",\n \"text\": \"public Lavadora() {\\r\\n\\t \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2aeb5442db6e1500567ca0fce2cf1f5a\",\n \"score\": \"0.6018483\",\n \"text\": \"private ControleInformacao() {\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"964b54d3bb4280bbf42a4f62956f1713\",\n \"score\": \"0.6017669\",\n \"text\": \"public MVCModelo()\\n\\t{\\n\\t\\tcolaMes= new MaxPQ<>();\\n\\t\\tcolaDia= new MaxPQ<>();\\n\\t\\tcolaHora= new MaxPQ<>();\\n\\t\\tnodos= new LinearProbingHashST<>();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5722e2efd99e3907458d4c59e753a5bb\",\n \"score\": \"0.60171026\",\n \"text\": \"public Modalitet() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"82fc3d49848ada94017334e45632b789\",\n \"score\": \"0.60091984\",\n \"text\": \"public CrearDirectorio() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1389e234247930123b2dc67fef25ed4d\",\n \"score\": \"0.6004337\",\n \"text\": \"private RepositorioTarefa() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5c1a2c27137d0b9a0a75d86ab699ce0a\",\n \"score\": \"0.60026497\",\n \"text\": \"public Partida() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6cafb829ce94070fa02659140d26be62\",\n \"score\": \"0.5998955\",\n \"text\": \"Anclaje() {\\n /*\\n Constructor vacío para la clase Anclaje para utilizar\\n los vlaores por defecto declarados en la clase\\n */\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"22e794bd0e567233b120292bb04445b0\",\n \"score\": \"0.599597\",\n \"text\": \"Aluno createAluno();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cf44d8280308eb67d1210403b953f424\",\n \"score\": \"0.5995148\",\n \"text\": \"public Producto(){\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f5b83e5933eb2c2bf880b3fea50abf3\",\n \"score\": \"0.599421\",\n \"text\": \"public Tiempo(){\\r\\n\\t\\tid = new TiempoId();\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"03ccc45ec144709d1e217bbae90e9765\",\n \"score\": \"0.59882563\",\n \"text\": \"public Pessoa() {\\r\\n super();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"524bfc1dee8db786d098350f313314b3\",\n \"score\": \"0.5988196\",\n \"text\": \"public Figura() {\\r\\n \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5a9d2b8acbc080ee25e542f37978092e\",\n \"score\": \"0.59846103\",\n \"text\": \"public Producto(){\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ef5918c2a38ebe9a97cf083d2020e570\",\n \"score\": \"0.59707034\",\n \"text\": \"public Pelicula(){\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0001bacfa0e03ea6a52d5cd8a5649715\",\n \"score\": \"0.5965354\",\n \"text\": \"public EstoqueFarmacia() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"94024769b4fa7948e7d4ce0ab30d39ba\",\n \"score\": \"0.5964716\",\n \"text\": \"private void crearCuerpo()\\n {\\n cuerpoPoligono =new CuerpoPoligono(getElementos(),new CuerpoDinamico());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5bdd462737865ddd8b9a6d61e8d35f88\",\n \"score\": \"0.59636587\",\n \"text\": \"public Demanda(){}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b82b46e5e2fb229f5aa7a292c23378a3\",\n \"score\": \"0.59606373\",\n \"text\": \"public RequisitoVista() {\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3673d7377da1bbf945d37c261224dfa1\",\n \"score\": \"0.596043\",\n \"text\": \"public Dispositivo() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f991ab1c145d60fdf1bb63b9645b5480\",\n \"score\": \"0.5958423\",\n \"text\": \"public Academico(){}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cf7795ce700107e21e0a90ef4e4fd04a\",\n \"score\": \"0.595638\",\n \"text\": \"public Oem() {\\n oemBo = new OemBO();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"496037180096e8f50dd77a62cf38d511\",\n \"score\": \"0.59550446\",\n \"text\": \"public Comentario() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"24ff27c4c0ce3d94ed8cfeaa1436a378\",\n \"score\": \"0.594914\",\n \"text\": \"Lavadora(){\\r\\n\\t\\tsuper();\\r\\n\\t\\tthis.carga= 5;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0ac86cadf18c12bc40bc7c6d9a4274e7\",\n \"score\": \"0.59462374\",\n \"text\": \"public ArticuloBean() {\\r\\n proveedor = new FacProveedor();\\r\\n articulo = new FacArticulo();\\r\\n proveedorArticulo = new FacProveedorArticulo();\\r\\n articuloDetalle = new AudDetEstadoFinan();\\r\\n cargarCombos();\\r\\n cargarDependencias();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"05ef74bdbf2e9ee5282352e8c7893274\",\n \"score\": \"0.5943137\",\n \"text\": \"public Tmio1Ruta() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1c63f0681386a48e09b6157bf24f951e\",\n \"score\": \"0.5942481\",\n \"text\": \"public Cuenta() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d79ccbdeed875cd867fd85305a99d378\",\n \"score\": \"0.59419185\",\n \"text\": \"public Pessoa() {\\n\\t\\tsuper();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f0155f595685da75914a03d0a6cc74b\",\n \"score\": \"0.5940446\",\n \"text\": \"public FiltroTarifaSocialRevisaoMotivo() {\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ad7e4b0d26e161fd8d9fd998b1ef52fa\",\n \"score\": \"0.59380037\",\n \"text\": \"private Dovahzul(){}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8e09f78ac1ef6ce691edf847e3e30cb5\",\n \"score\": \"0.59315425\",\n \"text\": \"public Producto() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fa6be62ce49389469f73276de4e1ad24\",\n \"score\": \"0.59281045\",\n \"text\": \"public Aluno() {\\n\\t\\tsuper();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1111c13ed591bb36d67a12a5c1940a5b\",\n \"score\": \"0.5926359\",\n \"text\": \"public concesionario()\\n {\\n concesionario = new ArrayList();\\n id=1;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ecb914debb4783e489989b1091b824bb\",\n \"score\": \"0.5924232\",\n \"text\": \"public Persona() {\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"83b703e288ef5db0510946d88ec0cfdb\",\n \"score\": \"0.59183264\",\n \"text\": \"public Texto() {\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"89291bbdd7623fb988ae4ae4ae7b3140\",\n \"score\": \"0.59159297\",\n \"text\": \"public Articoli(){\\r\\n this.id = 0;\\r\\n this.idVenditore = 0;\\r\\n this.nomeArticolo = \\\"\\\";\\r\\n this.urlImmagine = \\\"\\\";\\r\\n this.descrizione = \\\"\\\";\\r\\n this.prezzo = 0.0;\\r\\n this.quantita = 0;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1027a1e183d86a9f58c957a00faaac24\",\n \"score\": \"0.5915056\",\n \"text\": \"public Campeonato() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"df0d42a9972db3f6ed0736d282e867db\",\n \"score\": \"0.591132\",\n \"text\": \"public Vendeur() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"abb2461ea45e8a55a5627e44e04ed945\",\n \"score\": \"0.5910131\",\n \"text\": \"public Problema() {\\n\\t\\tconfiguraciones = new ArrayList();\\n\\t\\t\\n\\t\\tcadenas = new ArrayList();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ecd30f6c460c5c40288b3773e7d21b42\",\n \"score\": \"0.5902358\",\n \"text\": \"public ClassificaManagement() {\\n this.objects=new Object[DEFAULT_SIZE];\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba4e3984beafc9efdf51c00f86a59eea\",\n \"score\": \"0.5901618\",\n \"text\": \"public Parametro() {\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"18ca5a994c9d28f8d1c0ac9743862f41\",\n \"score\": \"0.5897845\",\n \"text\": \"private Fachada(){}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c2a41ef1d9bf630d445db296477dc0ab\",\n \"score\": \"0.58966315\",\n \"text\": \"public ZafMae04(ZafParSis obj)\\n {\\n try\\n {\\n //Inicializar objetos.\\n objParSis=(ZafParSis)obj.clone();\\n objUti=new ZafUtil();\\n initComponents();\\n if (!configurarFrm())\\n exitForm();\\n agregarDocLis();\\n }\\n catch (CloneNotSupportedException e)\\n {\\n this.setTitle(this.getTitle() + \\\" [ERROR]\\\");\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4e3a94ea30aa78ff84c814f2bff8c241\",\n \"score\": \"0.5892311\",\n \"text\": \"public Valuta() {\\r\\n\\t\\tsuper();\\r\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":393,"cells":{"query_id":{"kind":"string","value":"f7d018c9a261a8de299b13ea5c1f5ef4"},"query":{"kind":"string","value":"Set ring end time"},"positive_passages":{"kind":"list like","value":[{"docid":"05237a8d2a02bd201238b0f8eaed6c4a","score":"0.6610572","text":"int AD101_SetRingOffTime(int nSecond);","title":""}],"string":"[\n {\n \"docid\": \"05237a8d2a02bd201238b0f8eaed6c4a\",\n \"score\": \"0.6610572\",\n \"text\": \"int AD101_SetRingOffTime(int nSecond);\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"9d26363e016a6d7315f472be24586996","score":"0.7409692","text":"void setEnd(int newTime);","title":""},{"docid":"23fd53202da7ec46caab7445e2c863d0","score":"0.6829639","text":"void setEndFreeTime(int time) {\r\n endFreeTime = time;\r\n }","title":""},{"docid":"edd0cda54738618849e9aee9c9045ea8","score":"0.6810411","text":"public void setEndTime(long etime) {\n endTime = etime;\n }","title":""},{"docid":"5b02e379d45f9931109aef7e5d86483f","score":"0.66446024","text":"public void setEnd(boolean t)\r\n\t {\r\n\t endtime=t;\r\n\t }","title":""},{"docid":"488b70a6b89224e95a167533785bcd11","score":"0.6615884","text":"public void setEndTime(int et){\n this.endTime = et;\n }","title":""},{"docid":"1c083299d868a729ec2d10a5241733fc","score":"0.644304","text":"private static void setEndTime() {\r\n\t\tend = Instant.now();\r\n\t\tLOG.info(\"Program End: \" + end);\r\n\t}","title":""},{"docid":"86f3bdc892a1abad48dbd74a7cd63bb3","score":"0.63893056","text":"void setEndBusyTime(int time) {\r\n endBusyTime = time;\r\n customer.setFinishTime(time);\r\n }","title":""},{"docid":"731aefd6fbc55a85d99e4cbe12b9680a","score":"0.6379463","text":"void setEndTimestamp( long val );","title":""},{"docid":"ad0903aa759b15cd8e36280f77a6c6c2","score":"0.6370534","text":"public static void setEndTime() {\n\t\tendTime = System.currentTimeMillis();\n\t}","title":""},{"docid":"8e5b004bf0972a6e0ad9b64e34e7dae6","score":"0.63350713","text":"protected void setEndTime(int endTime) {\n this.lastTick = endTime;\n }","title":""},{"docid":"9981d53880e9901bcb7539abae04abff","score":"0.62401706","text":"public void setEndTime(long value) {\r\n this.endTime = value;\r\n }","title":""},{"docid":"4663ce27d096f20434d4802e3b91c151","score":"0.6237707","text":"private void updateSegmentEndtime( long time )\n {\n Log.d( DatabaseHelper.LOG_TAG, \"updateSegmentEndtime to \" + time );\n \n long currentSegmentId = getCurrentSegment( getCurrentTrack() );\n \n ContentValues args = new ContentValues();\n args.put( SegmentsColumns.ENDTIME, time );\n \n SQLiteDatabase mDb = getWritableDatabase();\n mDb.update( Segments.TABLE, args, BaseColumns._ID + \"=\" + currentSegmentId, null );\n mDb.close();\n \n ContentResolver resolver = this.mContext.getContentResolver();\n Uri notifyUri = Uri.withAppendedPath( Segments.CONTENT_URI, \"\"+currentSegmentId ) ;\n resolver.notifyChange( notifyUri, null );\n \n updateTrackEndtime( time );\n }","title":""},{"docid":"bfa8d32fa7bb9868e681f7d196b6573d","score":"0.62339175","text":"public void setEndTime() {\n\t\tDate now = new Date();\n\t\tSimpleDateFormat endTimeFormat = new SimpleDateFormat(\"yyyy-MM-dd HH:mm:ss\");\n\t\tthis.endTime=endTimeFormat.format(now);\n\t\t//System.out.print(this.endTime);\n\t}","title":""},{"docid":"3d824f8c6e8a120aca189a54e3f06620","score":"0.6227967","text":"private void setTimePeriodicRest(float time){\r\n\t\tthis.periodicRest = time;\r\n\t}","title":""},{"docid":"efd0eac46642cb08c9e6d96d261d4fd8","score":"0.62132114","text":"@Override\n\tpublic void setEndTime(long endTime) {\n\t\t\n\t}","title":""},{"docid":"fd2fb0f293c49e154fc8aaeb858c3fed","score":"0.62092084","text":"public void setAttendTime(int time){\n\t\tthis.attendTime = time;\n\t}","title":""},{"docid":"c90d38b605ceaec1f8121d372c43c44b","score":"0.6183165","text":"private void setEndTime(){\n LocalTime start = LocalTime.of(8,15);\n LocalTime end = LocalTime.of(22,0);\n\n while (start.isBefore(end.plusSeconds(1))){\n endTimeCB.getItems().add(start);\n start = start.plusMinutes(15);\n }\n }","title":""},{"docid":"2f1dc6a7d19f40f1414afdcfa2997b28","score":"0.6171944","text":"private void setTimeResting(float time) {\r\n\t\tthis.timeResting = time;\r\n\t}","title":""},{"docid":"ba991b13c342d34c7c4c10aefaeef392","score":"0.61561066","text":"public void setEndFixedTime(long value) {\n endFixedTime = value;\n }","title":""},{"docid":"4649fa052c335f7bd7c54d2fb2cde4db","score":"0.61500347","text":"public void setTimeEnd(Date timeEnd) {\n this.timeEnd = timeEnd;\n }","title":""},{"docid":"1d8408811cb24d9d1c485e40e3b07625","score":"0.6138832","text":"public void setEndtime(Date endtime) {\n this.endtime = endtime;\n }","title":""},{"docid":"63195608d54d7d9c98c230036161d2b1","score":"0.61151665","text":"public void setEndSpawningTime(long endSpawningTime) {\r\n\t\tthis.endSpawningTime = endSpawningTime;\r\n\t}","title":""},{"docid":"13bc7aea6db6a823183f371ea6248f04","score":"0.6102285","text":"public M csmsUpdatetimeEnd(Object end){this.put(\"csmsUpdatetimeEnd\", end);return this;}","title":""},{"docid":"89ed6e9701d2f8a329d8dc824ec3442a","score":"0.5999415","text":"public void setEndtime(Date endtime) {\n\t\tthis.endtime = endtime;\n\t}","title":""},{"docid":"44a3b46a71a73a878786c8a28158fe03","score":"0.59953994","text":"public void setEndTime(long p_endTime) {\n m_endTime = p_endTime;\n m_endTimeSet = true;\n }","title":""},{"docid":"42750891011ee237b668389b83200fef","score":"0.59594095","text":"public void setEndtime (java.lang.String endtime) {\r\n\t\tthis.endtime = endtime;\r\n\t}","title":""},{"docid":"889e46f23af126ed00ea86542d2f09a8","score":"0.59196484","text":"public void setEndTime(Long endTime) {\n this.endTime = endTime;\n }","title":""},{"docid":"19be827a391766153a834a02bb2324bd","score":"0.5911882","text":"public void setEndTime(String EndTime) {\n this.EndTime = EndTime;\n }","title":""},{"docid":"19be827a391766153a834a02bb2324bd","score":"0.5911882","text":"public void setEndTime(String EndTime) {\n this.EndTime = EndTime;\n }","title":""},{"docid":"19be827a391766153a834a02bb2324bd","score":"0.5911882","text":"public void setEndTime(String EndTime) {\n this.EndTime = EndTime;\n }","title":""},{"docid":"19be827a391766153a834a02bb2324bd","score":"0.5911882","text":"public void setEndTime(String EndTime) {\n this.EndTime = EndTime;\n }","title":""},{"docid":"f5964f1fee5a72ed7c9d0a51f9ca1993","score":"0.5888969","text":"public Builder setEndAutoTime(int value) {\n \n endAutoTime_ = value;\n onChanged();\n return this;\n }","title":""},{"docid":"bfaf7bf1d159725ffd6a87261047e026","score":"0.5859561","text":"public void setEnd(ReadableInstant end) {\n long endMillis = DateTimeUtils.getInstantMillis(end);\n super.setInterval(getStartMillis(), endMillis, getChronology());\n }","title":""},{"docid":"20318e42f3ec1007b517cc43b56a6def","score":"0.5846296","text":"protected void doSetStopTime(long time) {\n\t}","title":""},{"docid":"0ac80f63779d9862f570199c6329e958","score":"0.58331645","text":"public void setEndTime(String endTime);","title":""},{"docid":"5b5ff7cea29cf424ebefef8d7f5b04d8","score":"0.5828363","text":"public rocks.theodolite.benchmarks.commons.model.records.HourOfDayActivePowerRecord.Builder setPeriodEnd(long value) {\n validate(fields()[3], value);\n this.periodEnd = value;\n fieldSetFlags()[3] = true;\n return this;\n }","title":""},{"docid":"169db1606dcb080f39fd870b4d49a56b","score":"0.58043945","text":"public void setEndTime(long time, JobState jobState) {\n endTime = time;\n executionTime = endTime - startTime;\n finalJobState = jobState;\n completed = true;\n }","title":""},{"docid":"d9917e54c9123ca1450d9dc4f0b076d8","score":"0.5798877","text":"public void setEndTime(Date end) {\r\n this.endTime = end.getTime();\r\n }","title":""},{"docid":"118f51d08f40f69988551514a8f15449","score":"0.5796581","text":"public M cscUpdateTimeEnd(Object end){this.put(\"cscUpdateTimeEnd\", end);return this;}","title":""},{"docid":"38e3bfd373864d8eef056d34fb8eb9c3","score":"0.5772403","text":"public void setEndTime(Date endTime)\n/* */ {\n/* 161 */ this.endTime = endTime;\n/* */ }","title":""},{"docid":"eae1fb81a6f0b5fd99fb488599384f87","score":"0.57722205","text":"public Builder end_at_ms(Long end_at_ms) {\n this.end_at_ms = end_at_ms;\n return this;\n }","title":""},{"docid":"9249c708a0840b46dd3ea9d4420aa362","score":"0.5762268","text":"private void setTimePending(double time) {\r\n\t\tthis.timeToPend = time;\r\n\t}","title":""},{"docid":"13344505f76cbfc30381c9c2cae37d37","score":"0.5716761","text":"public void setEndTime(long newVal)\r\n {\r\n setEndTime(new java.util.Date(newVal));\r\n }","title":""},{"docid":"1985b2e5cd8ac3b5e3a0c98640152da5","score":"0.57049847","text":"public void setTime(int t) {\n\t\tclock = t;\n\t}","title":""},{"docid":"11199c45919c70172e8da34387f78d2c","score":"0.5704042","text":"public void setPeriodEnd(long value) {\n this.periodEnd = value;\n }","title":""},{"docid":"821d852068588f22a06df6b9c7561f91","score":"0.56931555","text":"public final void setEnd(java.util.Date end)\n\t{\n\t\tsetEnd(getContext(), end);\n\t}","title":""},{"docid":"990102d8fc749b6082ac1bf2f19eda15","score":"0.5658207","text":"public void setEndMillis(long endInstant) {\n super.setInterval(getStartMillis(), endInstant, getChronology());\n }","title":""},{"docid":"610e20a74fa57186d9f31896037f22e5","score":"0.56423706","text":"public void setEndTime(TimeRange endTime) {\n this.endTime = endTime;\n }","title":""},{"docid":"6f720f6605e9956e46473aa97db51186","score":"0.56365806","text":"public void setEnd(String end) {\n\t\tthis.end = LocalTime.parse(end, DateTimeFormatter.ofPattern(\"hh:mma\", Locale.US));\n\t}","title":""},{"docid":"82f830196026e92af7c7918d492b62d6","score":"0.5626486","text":"@Override\n public Date getEndTime(){\n return end;\n }","title":""},{"docid":"bd1f2ae775ca19271db82a7f78f3316a","score":"0.56151116","text":"public void setEndTime(String endTime) {\n this.endTime = endTime;\n }","title":""},{"docid":"1fdc854a5cd96ac0e1a9660859740ab8","score":"0.56060773","text":"public Builder setEnd(long value) {\n \n end_ = value;\n onChanged();\n return this;\n }","title":""},{"docid":"0766645c5b43d3c18828b7258bb27e3c","score":"0.5586819","text":"public M cscAddTimeEnd(Object end){this.put(\"cscAddTimeEnd\", end);return this;}","title":""},{"docid":"510df811fe3b5d81028cfe3c7defe0c7","score":"0.55808127","text":"public void setTime(long time) {\n this.time = time;\n }","title":""},{"docid":"fc747ee167c2c00d45de8f4d212b19a5","score":"0.5578063","text":"public void setEndTime(java.util.Calendar endTime)\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(ENDTIME$8, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ENDTIME$8);\n }\n target.setCalendarValue(endTime);\n }\n }","title":""},{"docid":"3c89d73230bd936dcc16ed20302a7060","score":"0.55763876","text":"void setStart(int newTime);","title":""},{"docid":"51df4edabc3ce0b620eae307ebb55390","score":"0.5572438","text":"public void setEndTime(String endTime) {\r\n this.endTime = endTime;\r\n }","title":""},{"docid":"409d92cbe5cbf82cee0122159e73f2b2","score":"0.5569874","text":"public void setEndTime(java.util.Date value);","title":""},{"docid":"d065fb1eed23f1531bd71b1d04067008","score":"0.5560567","text":"public void setEndTime(java.util.Calendar endTime)\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(ENDTIME$6, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ENDTIME$6);\n }\n target.setCalendarValue(endTime);\n }\n }","title":""},{"docid":"856edee04fe1aab4fed3b61a6e829dcc","score":"0.5550547","text":"private void setTimeSinceRest(float time){\r\n\t\tthis.timeSinceRest = time;\r\n\t}","title":""},{"docid":"40afc0532b58b2d81de48b6f9e6c4de4","score":"0.5546836","text":"public M csmsAddtimeEnd(Object end){this.put(\"csmsAddtimeEnd\", end);return this;}","title":""},{"docid":"993fcf859b87028e38de1495950efd9b","score":"0.5542707","text":"public void setEndTime(Date endTime) {\n this.endTime = endTime;\n }","title":""},{"docid":"c45a422e6b2b0f8ae7b2e246a8fe54b7","score":"0.5521672","text":"public void setEndTime(String endTime) {\n this.endTime = endTime;\n }","title":""},{"docid":"c45a422e6b2b0f8ae7b2e246a8fe54b7","score":"0.5521672","text":"public void setEndTime(String endTime) {\n this.endTime = endTime;\n }","title":""},{"docid":"c61539db690faaf03359f1516cb01342","score":"0.5509948","text":"@Override\n\tpublic void setTime(ZonedDateTime time) {\n\t\tthis.time = time;\n\t\tthis.update();\n\t}","title":""},{"docid":"ce26bcd2fab1ce54bf8ae6e9179f9b38","score":"0.5503434","text":"@Override\n protected void end() {\n Robot.toteElevator.setToteElevatorSpeed(0);\n Robot.toteElevator.updateBrakeSetting();\n super.end();\n }","title":""},{"docid":"6c93ac55a639acd593a0ad717fa761e0","score":"0.5501491","text":"private void updateTrackEndtime( long time )\n {\n Log.d( DatabaseHelper.LOG_TAG, \"updateTrackEndtime to \" + time );\n \n long currentTrackId = getCurrentTrack();\n \n ContentValues args = new ContentValues();\n args.put( TracksColumns.ENDTIME, time );\n \n SQLiteDatabase mDb = getWritableDatabase();\n mDb.update( Tracks.TABLE, args, BaseColumns._ID + \"=\" + currentTrackId, null );\n mDb.close();\n \n ContentResolver resolver = this.mContext.getContentResolver();\n Uri notifyUri = Uri.withAppendedPath( Tracks.CONTENT_URI, \"\"+currentTrackId ) ;\n Log.d( DatabaseHelper.LOG_TAG, \"notifyChange to \" + notifyUri );\n resolver.notifyChange( notifyUri, null );\n }","title":""},{"docid":"f60963dd4b2597ec439f62da152856b7","score":"0.55003476","text":"public void setClock(int time) {\n processTime = time;\n }","title":""},{"docid":"f8dfa0e9f968763fa20b7cd70a0322bf","score":"0.5496388","text":"public long getEndTime(){\n\t\treturn lEnd;\n\t}","title":""},{"docid":"1609ba7b821298caf819deee4d2b5a04","score":"0.5495566","text":"@OnClick(R.id.et_endTime)\n public void endTimer()\n {\n Calendar mcurrentTime = Calendar.getInstance();\n int hour = mcurrentTime.get(Calendar.HOUR_OF_DAY);\n int minute = mcurrentTime.get(Calendar.MINUTE);\n final TimePickerDialog mTimePicker;\n mTimePicker = new TimePickerDialog(getActivity(), new TimePickerDialog.OnTimeSetListener() {\n @Override\n public void onTimeSet(TimePicker timePicker, int selectedHour, int selectedMinute) {\n\n et_endTime.setText( String.format(\"%02d:%02d\", selectedHour, selectedMinute));\n e_endTime=String.format(\"%02d:%02d\", selectedHour, selectedMinute);\n\n }\n }, hour, minute, true);//Yes 24 hour time\n mTimePicker.setTitle(\"Select Time\");\n mTimePicker.show();\n }","title":""},{"docid":"4308a19842b0e62dfc8bb1b815843c0e","score":"0.5495067","text":"public void setTime(Long time) {\n this.time = time;\n }","title":""},{"docid":"e8332f04b8c2cefb6c24db94379dd41e","score":"0.5491652","text":"void setTimeStopped(long timeStopped);","title":""},{"docid":"a9876c382acdd75b2e7033b640396849","score":"0.548466","text":"public long getEndTime() {\n return endTime;\n }","title":""},{"docid":"27863eb4aa7c63fa6ce91143ae16ad85","score":"0.54818916","text":"public Slot setEnd(InstantDt theValue) {\n\t\tmyEnd = theValue;\n\t\treturn this;\n\t}","title":""},{"docid":"efba96c8ad3109960521ce20263ca620","score":"0.54714227","text":"public void setCallOutTime(Double callOutTime)\n/* */ {\n/* 279 */ this.callOutTime = callOutTime;\n/* */ }","title":""},{"docid":"a7d10bd4a2b85c2bccfb8e200ce18231","score":"0.54706204","text":"public void finish() {\n this.mEndTime = SystemClock.uptimeMillis();\n }","title":""},{"docid":"16d50fe9f61ff4cb9b8eb81738066771","score":"0.5452626","text":"public int getEndTime() {return endTime;}","title":""},{"docid":"6afd84177654b1f92328780fb967bc83","score":"0.54504687","text":"public void xsetEndTime(org.apache.xmlbeans.XmlDateTime endTime)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlDateTime target = null;\n target = (org.apache.xmlbeans.XmlDateTime)get_store().find_element_user(ENDTIME$8, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlDateTime)get_store().add_element_user(ENDTIME$8);\n }\n target.set(endTime);\n }\n }","title":""},{"docid":"7d66dab9a7e5b2834e0b817414db9d12","score":"0.54443455","text":"public void setTime(long tTime) {\n this.tTime = tTime;\n }","title":""},{"docid":"19c92cf3034c2a4dd04f5cbd84de68e8","score":"0.5443692","text":"int getEndAutoTime();","title":""},{"docid":"8f71a7284e84c0d3b44502231b3b32f8","score":"0.54436046","text":"public void setRestTime(TextView textView) {\n int restTime = mExerciseDbCursor.getInt(mExerciseDbCursor.getColumnIndex(WorkoutViewContract.WorkoutViewEntry.COLUMN_REST_TIME));\n String restTimeString = \"Rest: \" + String.valueOf(restTime) + \" seconds\";\n textView.setText(restTimeString);\n }","title":""},{"docid":"40c8433a1c1865366034faa00eff3728","score":"0.5443349","text":"public void xsetEndTime(org.apache.xmlbeans.XmlDateTime endTime)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlDateTime target = null;\n target = (org.apache.xmlbeans.XmlDateTime)get_store().find_element_user(ENDTIME$6, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlDateTime)get_store().add_element_user(ENDTIME$6);\n }\n target.set(endTime);\n }\n }","title":""},{"docid":"1a7235239055c6c67da1468d23367658","score":"0.54400223","text":"public void setEndTime(LocalTime endTime) {\n this.endTime = endTime;\n }","title":""},{"docid":"0a1bb8d287f042bf7dcd338d24b19675","score":"0.5439721","text":"@Override\n public int getTimeActivityEnd() { return TIME_ACTIVITY_END; }","title":""},{"docid":"fc449208f5bc4691d38d22d005fab628","score":"0.5439404","text":"public Builder clearEndAutoTime() {\n \n endAutoTime_ = 0;\n onChanged();\n return this;\n }","title":""},{"docid":"45928fafda8d1b79d3959571d9bf5229","score":"0.5438745","text":"public long getEndSpawningTime() {\r\n\t\treturn endSpawningTime;\r\n\t}","title":""},{"docid":"e1911927e180331076ab231ae965fb08","score":"0.54349095","text":"public long getEndTime() {\r\n return endTime;\r\n }","title":""},{"docid":"fca317a5aff949495ce4ef73c495695d","score":"0.5431255","text":"void setTimeToPoll(Long time) {\n RSSConfiguration.getInstance().setTimeToPoll(time);\n log.info(\"Set time to poll to \" + time);\n }","title":""},{"docid":"c8b6ce067a8fe2ba154bfb1a8132a8ae","score":"0.54202443","text":"long getEndTime();","title":""},{"docid":"88a5642c2b2d6e08b9d5b21bf29c36ac","score":"0.5408789","text":"public final void setEnd(com.mendix.systemwideinterfaces.core.IContext context, java.util.Date end)\n\t{\n\t\tgetMendixObject().setValue(context, MemberNames.End.toString(), end);\n\t}","title":""},{"docid":"0232b775117aa967d80494a6f62cc001","score":"0.5402836","text":"public void setEndTime(Date endTime) {\n\t this.endTime = endTime;\n\t}","title":""},{"docid":"d063263a58f6dffa33c2c1d834edd1ef","score":"0.5402175","text":"public void setTime(int time) \n {\n timer = time;\n }","title":""},{"docid":"0f1d7184fbb8880a4e9d4dc72a37d7b3","score":"0.5387906","text":"public void setEnd(double end) {\n\t\tthis.end = end;\n\t}","title":""},{"docid":"6597d0eca0f9620bbca0f3b432d901d9","score":"0.5362086","text":"public Date getEndtime() {\n return endtime;\n }","title":""},{"docid":"915dd81a480403d53dc74d761648f774","score":"0.5355109","text":"public static void setTime(int time) {\r\n\t\tif (requester != null) {\r\n\t\t\trequester.sendMessage(new SetTime(time));\r\n\t\t}\r\n\t}","title":""},{"docid":"0f38fa359fcc75b373437add51fa1f3e","score":"0.5348006","text":"@Override\n protected void end() {\n Robot.elevator.setSpeed(0.0);\n }","title":""},{"docid":"2a94ed08d9552563b1138a09a0f9c947","score":"0.5340123","text":"@Override\n\tpublic void setTimeRange(long startTime, long endTime) {\n\t\t\n\t}","title":""},{"docid":"a903a089fbe2b127559f8bafc4b3591d","score":"0.5338189","text":"public void setEnd(int end)\n {\n _end = end;\n }","title":""},{"docid":"9a925c15fcab95d4221d5adcad2da8c1","score":"0.5335765","text":"@Override\n\tpublic long getEndTime() {\n\t\treturn 0;\n\t}","title":""},{"docid":"ae4ac35b1f8868603d369e248edbadd4","score":"0.53315455","text":"public void setTime( Times time )\r\n {\r\n this.time = new Times(time);\r\n }","title":""}],"string":"[\n {\n \"docid\": \"9d26363e016a6d7315f472be24586996\",\n \"score\": \"0.7409692\",\n \"text\": \"void setEnd(int newTime);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"23fd53202da7ec46caab7445e2c863d0\",\n \"score\": \"0.6829639\",\n \"text\": \"void setEndFreeTime(int time) {\\r\\n endFreeTime = time;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"edd0cda54738618849e9aee9c9045ea8\",\n \"score\": \"0.6810411\",\n \"text\": \"public void setEndTime(long etime) {\\n endTime = etime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5b02e379d45f9931109aef7e5d86483f\",\n \"score\": \"0.66446024\",\n \"text\": \"public void setEnd(boolean t)\\r\\n\\t {\\r\\n\\t endtime=t;\\r\\n\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"488b70a6b89224e95a167533785bcd11\",\n \"score\": \"0.6615884\",\n \"text\": \"public void setEndTime(int et){\\n this.endTime = et;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1c083299d868a729ec2d10a5241733fc\",\n \"score\": \"0.644304\",\n \"text\": \"private static void setEndTime() {\\r\\n\\t\\tend = Instant.now();\\r\\n\\t\\tLOG.info(\\\"Program End: \\\" + end);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"86f3bdc892a1abad48dbd74a7cd63bb3\",\n \"score\": \"0.63893056\",\n \"text\": \"void setEndBusyTime(int time) {\\r\\n endBusyTime = time;\\r\\n customer.setFinishTime(time);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"731aefd6fbc55a85d99e4cbe12b9680a\",\n \"score\": \"0.6379463\",\n \"text\": \"void setEndTimestamp( long val );\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ad0903aa759b15cd8e36280f77a6c6c2\",\n \"score\": \"0.6370534\",\n \"text\": \"public static void setEndTime() {\\n\\t\\tendTime = System.currentTimeMillis();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8e5b004bf0972a6e0ad9b64e34e7dae6\",\n \"score\": \"0.63350713\",\n \"text\": \"protected void setEndTime(int endTime) {\\n this.lastTick = endTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9981d53880e9901bcb7539abae04abff\",\n \"score\": \"0.62401706\",\n \"text\": \"public void setEndTime(long value) {\\r\\n this.endTime = value;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4663ce27d096f20434d4802e3b91c151\",\n \"score\": \"0.6237707\",\n \"text\": \"private void updateSegmentEndtime( long time )\\n {\\n Log.d( DatabaseHelper.LOG_TAG, \\\"updateSegmentEndtime to \\\" + time );\\n \\n long currentSegmentId = getCurrentSegment( getCurrentTrack() );\\n \\n ContentValues args = new ContentValues();\\n args.put( SegmentsColumns.ENDTIME, time );\\n \\n SQLiteDatabase mDb = getWritableDatabase();\\n mDb.update( Segments.TABLE, args, BaseColumns._ID + \\\"=\\\" + currentSegmentId, null );\\n mDb.close();\\n \\n ContentResolver resolver = this.mContext.getContentResolver();\\n Uri notifyUri = Uri.withAppendedPath( Segments.CONTENT_URI, \\\"\\\"+currentSegmentId ) ;\\n resolver.notifyChange( notifyUri, null );\\n \\n updateTrackEndtime( time );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bfa8d32fa7bb9868e681f7d196b6573d\",\n \"score\": \"0.62339175\",\n \"text\": \"public void setEndTime() {\\n\\t\\tDate now = new Date();\\n\\t\\tSimpleDateFormat endTimeFormat = new SimpleDateFormat(\\\"yyyy-MM-dd HH:mm:ss\\\");\\n\\t\\tthis.endTime=endTimeFormat.format(now);\\n\\t\\t//System.out.print(this.endTime);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3d824f8c6e8a120aca189a54e3f06620\",\n \"score\": \"0.6227967\",\n \"text\": \"private void setTimePeriodicRest(float time){\\r\\n\\t\\tthis.periodicRest = time;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"efd0eac46642cb08c9e6d96d261d4fd8\",\n \"score\": \"0.62132114\",\n \"text\": \"@Override\\n\\tpublic void setEndTime(long endTime) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fd2fb0f293c49e154fc8aaeb858c3fed\",\n \"score\": \"0.62092084\",\n \"text\": \"public void setAttendTime(int time){\\n\\t\\tthis.attendTime = time;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c90d38b605ceaec1f8121d372c43c44b\",\n \"score\": \"0.6183165\",\n \"text\": \"private void setEndTime(){\\n LocalTime start = LocalTime.of(8,15);\\n LocalTime end = LocalTime.of(22,0);\\n\\n while (start.isBefore(end.plusSeconds(1))){\\n endTimeCB.getItems().add(start);\\n start = start.plusMinutes(15);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2f1dc6a7d19f40f1414afdcfa2997b28\",\n \"score\": \"0.6171944\",\n \"text\": \"private void setTimeResting(float time) {\\r\\n\\t\\tthis.timeResting = time;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba991b13c342d34c7c4c10aefaeef392\",\n \"score\": \"0.61561066\",\n \"text\": \"public void setEndFixedTime(long value) {\\n endFixedTime = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4649fa052c335f7bd7c54d2fb2cde4db\",\n \"score\": \"0.61500347\",\n \"text\": \"public void setTimeEnd(Date timeEnd) {\\n this.timeEnd = timeEnd;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1d8408811cb24d9d1c485e40e3b07625\",\n \"score\": \"0.6138832\",\n \"text\": \"public void setEndtime(Date endtime) {\\n this.endtime = endtime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"63195608d54d7d9c98c230036161d2b1\",\n \"score\": \"0.61151665\",\n \"text\": \"public void setEndSpawningTime(long endSpawningTime) {\\r\\n\\t\\tthis.endSpawningTime = endSpawningTime;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13bc7aea6db6a823183f371ea6248f04\",\n \"score\": \"0.6102285\",\n \"text\": \"public M csmsUpdatetimeEnd(Object end){this.put(\\\"csmsUpdatetimeEnd\\\", end);return this;}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"89ed6e9701d2f8a329d8dc824ec3442a\",\n \"score\": \"0.5999415\",\n \"text\": \"public void setEndtime(Date endtime) {\\n\\t\\tthis.endtime = endtime;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"44a3b46a71a73a878786c8a28158fe03\",\n \"score\": \"0.59953994\",\n \"text\": \"public void setEndTime(long p_endTime) {\\n m_endTime = p_endTime;\\n m_endTimeSet = true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42750891011ee237b668389b83200fef\",\n \"score\": \"0.59594095\",\n \"text\": \"public void setEndtime (java.lang.String endtime) {\\r\\n\\t\\tthis.endtime = endtime;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"889e46f23af126ed00ea86542d2f09a8\",\n \"score\": \"0.59196484\",\n \"text\": \"public void setEndTime(Long endTime) {\\n this.endTime = endTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"19be827a391766153a834a02bb2324bd\",\n \"score\": \"0.5911882\",\n \"text\": \"public void setEndTime(String EndTime) {\\n this.EndTime = EndTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"19be827a391766153a834a02bb2324bd\",\n \"score\": \"0.5911882\",\n \"text\": \"public void setEndTime(String EndTime) {\\n this.EndTime = EndTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"19be827a391766153a834a02bb2324bd\",\n \"score\": \"0.5911882\",\n \"text\": \"public void setEndTime(String EndTime) {\\n this.EndTime = EndTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"19be827a391766153a834a02bb2324bd\",\n \"score\": \"0.5911882\",\n \"text\": \"public void setEndTime(String EndTime) {\\n this.EndTime = EndTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f5964f1fee5a72ed7c9d0a51f9ca1993\",\n \"score\": \"0.5888969\",\n \"text\": \"public Builder setEndAutoTime(int value) {\\n \\n endAutoTime_ = value;\\n onChanged();\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bfaf7bf1d159725ffd6a87261047e026\",\n \"score\": \"0.5859561\",\n \"text\": \"public void setEnd(ReadableInstant end) {\\n long endMillis = DateTimeUtils.getInstantMillis(end);\\n super.setInterval(getStartMillis(), endMillis, getChronology());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"20318e42f3ec1007b517cc43b56a6def\",\n \"score\": \"0.5846296\",\n \"text\": \"protected void doSetStopTime(long time) {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0ac80f63779d9862f570199c6329e958\",\n \"score\": \"0.58331645\",\n \"text\": \"public void setEndTime(String endTime);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5b5ff7cea29cf424ebefef8d7f5b04d8\",\n \"score\": \"0.5828363\",\n \"text\": \"public rocks.theodolite.benchmarks.commons.model.records.HourOfDayActivePowerRecord.Builder setPeriodEnd(long value) {\\n validate(fields()[3], value);\\n this.periodEnd = value;\\n fieldSetFlags()[3] = true;\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"169db1606dcb080f39fd870b4d49a56b\",\n \"score\": \"0.58043945\",\n \"text\": \"public void setEndTime(long time, JobState jobState) {\\n endTime = time;\\n executionTime = endTime - startTime;\\n finalJobState = jobState;\\n completed = true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d9917e54c9123ca1450d9dc4f0b076d8\",\n \"score\": \"0.5798877\",\n \"text\": \"public void setEndTime(Date end) {\\r\\n this.endTime = end.getTime();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"118f51d08f40f69988551514a8f15449\",\n \"score\": \"0.5796581\",\n \"text\": \"public M cscUpdateTimeEnd(Object end){this.put(\\\"cscUpdateTimeEnd\\\", end);return this;}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"38e3bfd373864d8eef056d34fb8eb9c3\",\n \"score\": \"0.5772403\",\n \"text\": \"public void setEndTime(Date endTime)\\n/* */ {\\n/* 161 */ this.endTime = endTime;\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eae1fb81a6f0b5fd99fb488599384f87\",\n \"score\": \"0.57722205\",\n \"text\": \"public Builder end_at_ms(Long end_at_ms) {\\n this.end_at_ms = end_at_ms;\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9249c708a0840b46dd3ea9d4420aa362\",\n \"score\": \"0.5762268\",\n \"text\": \"private void setTimePending(double time) {\\r\\n\\t\\tthis.timeToPend = time;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13344505f76cbfc30381c9c2cae37d37\",\n \"score\": \"0.5716761\",\n \"text\": \"public void setEndTime(long newVal)\\r\\n {\\r\\n setEndTime(new java.util.Date(newVal));\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1985b2e5cd8ac3b5e3a0c98640152da5\",\n \"score\": \"0.57049847\",\n \"text\": \"public void setTime(int t) {\\n\\t\\tclock = t;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"11199c45919c70172e8da34387f78d2c\",\n \"score\": \"0.5704042\",\n \"text\": \"public void setPeriodEnd(long value) {\\n this.periodEnd = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"821d852068588f22a06df6b9c7561f91\",\n \"score\": \"0.56931555\",\n \"text\": \"public final void setEnd(java.util.Date end)\\n\\t{\\n\\t\\tsetEnd(getContext(), end);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"990102d8fc749b6082ac1bf2f19eda15\",\n \"score\": \"0.5658207\",\n \"text\": \"public void setEndMillis(long endInstant) {\\n super.setInterval(getStartMillis(), endInstant, getChronology());\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"610e20a74fa57186d9f31896037f22e5\",\n \"score\": \"0.56423706\",\n \"text\": \"public void setEndTime(TimeRange endTime) {\\n this.endTime = endTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f720f6605e9956e46473aa97db51186\",\n \"score\": \"0.56365806\",\n \"text\": \"public void setEnd(String end) {\\n\\t\\tthis.end = LocalTime.parse(end, DateTimeFormatter.ofPattern(\\\"hh:mma\\\", Locale.US));\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"82f830196026e92af7c7918d492b62d6\",\n \"score\": \"0.5626486\",\n \"text\": \"@Override\\n public Date getEndTime(){\\n return end;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bd1f2ae775ca19271db82a7f78f3316a\",\n \"score\": \"0.56151116\",\n \"text\": \"public void setEndTime(String endTime) {\\n this.endTime = endTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1fdc854a5cd96ac0e1a9660859740ab8\",\n \"score\": \"0.56060773\",\n \"text\": \"public Builder setEnd(long value) {\\n \\n end_ = value;\\n onChanged();\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0766645c5b43d3c18828b7258bb27e3c\",\n \"score\": \"0.5586819\",\n \"text\": \"public M cscAddTimeEnd(Object end){this.put(\\\"cscAddTimeEnd\\\", end);return this;}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"510df811fe3b5d81028cfe3c7defe0c7\",\n \"score\": \"0.55808127\",\n \"text\": \"public void setTime(long time) {\\n this.time = time;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fc747ee167c2c00d45de8f4d212b19a5\",\n \"score\": \"0.5578063\",\n \"text\": \"public void setEndTime(java.util.Calendar endTime)\\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(ENDTIME$8, 0);\\n if (target == null)\\n {\\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ENDTIME$8);\\n }\\n target.setCalendarValue(endTime);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3c89d73230bd936dcc16ed20302a7060\",\n \"score\": \"0.55763876\",\n \"text\": \"void setStart(int newTime);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"51df4edabc3ce0b620eae307ebb55390\",\n \"score\": \"0.5572438\",\n \"text\": \"public void setEndTime(String endTime) {\\r\\n this.endTime = endTime;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"409d92cbe5cbf82cee0122159e73f2b2\",\n \"score\": \"0.5569874\",\n \"text\": \"public void setEndTime(java.util.Date value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d065fb1eed23f1531bd71b1d04067008\",\n \"score\": \"0.5560567\",\n \"text\": \"public void setEndTime(java.util.Calendar endTime)\\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(ENDTIME$6, 0);\\n if (target == null)\\n {\\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ENDTIME$6);\\n }\\n target.setCalendarValue(endTime);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"856edee04fe1aab4fed3b61a6e829dcc\",\n \"score\": \"0.5550547\",\n \"text\": \"private void setTimeSinceRest(float time){\\r\\n\\t\\tthis.timeSinceRest = time;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"40afc0532b58b2d81de48b6f9e6c4de4\",\n \"score\": \"0.5546836\",\n \"text\": \"public M csmsAddtimeEnd(Object end){this.put(\\\"csmsAddtimeEnd\\\", end);return this;}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"993fcf859b87028e38de1495950efd9b\",\n \"score\": \"0.5542707\",\n \"text\": \"public void setEndTime(Date endTime) {\\n this.endTime = endTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c45a422e6b2b0f8ae7b2e246a8fe54b7\",\n \"score\": \"0.5521672\",\n \"text\": \"public void setEndTime(String endTime) {\\n this.endTime = endTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c45a422e6b2b0f8ae7b2e246a8fe54b7\",\n \"score\": \"0.5521672\",\n \"text\": \"public void setEndTime(String endTime) {\\n this.endTime = endTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c61539db690faaf03359f1516cb01342\",\n \"score\": \"0.5509948\",\n \"text\": \"@Override\\n\\tpublic void setTime(ZonedDateTime time) {\\n\\t\\tthis.time = time;\\n\\t\\tthis.update();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ce26bcd2fab1ce54bf8ae6e9179f9b38\",\n \"score\": \"0.5503434\",\n \"text\": \"@Override\\n protected void end() {\\n Robot.toteElevator.setToteElevatorSpeed(0);\\n Robot.toteElevator.updateBrakeSetting();\\n super.end();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c93ac55a639acd593a0ad717fa761e0\",\n \"score\": \"0.5501491\",\n \"text\": \"private void updateTrackEndtime( long time )\\n {\\n Log.d( DatabaseHelper.LOG_TAG, \\\"updateTrackEndtime to \\\" + time );\\n \\n long currentTrackId = getCurrentTrack();\\n \\n ContentValues args = new ContentValues();\\n args.put( TracksColumns.ENDTIME, time );\\n \\n SQLiteDatabase mDb = getWritableDatabase();\\n mDb.update( Tracks.TABLE, args, BaseColumns._ID + \\\"=\\\" + currentTrackId, null );\\n mDb.close();\\n \\n ContentResolver resolver = this.mContext.getContentResolver();\\n Uri notifyUri = Uri.withAppendedPath( Tracks.CONTENT_URI, \\\"\\\"+currentTrackId ) ;\\n Log.d( DatabaseHelper.LOG_TAG, \\\"notifyChange to \\\" + notifyUri );\\n resolver.notifyChange( notifyUri, null );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f60963dd4b2597ec439f62da152856b7\",\n \"score\": \"0.55003476\",\n \"text\": \"public void setClock(int time) {\\n processTime = time;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f8dfa0e9f968763fa20b7cd70a0322bf\",\n \"score\": \"0.5496388\",\n \"text\": \"public long getEndTime(){\\n\\t\\treturn lEnd;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1609ba7b821298caf819deee4d2b5a04\",\n \"score\": \"0.5495566\",\n \"text\": \"@OnClick(R.id.et_endTime)\\n public void endTimer()\\n {\\n Calendar mcurrentTime = Calendar.getInstance();\\n int hour = mcurrentTime.get(Calendar.HOUR_OF_DAY);\\n int minute = mcurrentTime.get(Calendar.MINUTE);\\n final TimePickerDialog mTimePicker;\\n mTimePicker = new TimePickerDialog(getActivity(), new TimePickerDialog.OnTimeSetListener() {\\n @Override\\n public void onTimeSet(TimePicker timePicker, int selectedHour, int selectedMinute) {\\n\\n et_endTime.setText( String.format(\\\"%02d:%02d\\\", selectedHour, selectedMinute));\\n e_endTime=String.format(\\\"%02d:%02d\\\", selectedHour, selectedMinute);\\n\\n }\\n }, hour, minute, true);//Yes 24 hour time\\n mTimePicker.setTitle(\\\"Select Time\\\");\\n mTimePicker.show();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4308a19842b0e62dfc8bb1b815843c0e\",\n \"score\": \"0.5495067\",\n \"text\": \"public void setTime(Long time) {\\n this.time = time;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e8332f04b8c2cefb6c24db94379dd41e\",\n \"score\": \"0.5491652\",\n \"text\": \"void setTimeStopped(long timeStopped);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a9876c382acdd75b2e7033b640396849\",\n \"score\": \"0.548466\",\n \"text\": \"public long getEndTime() {\\n return endTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"27863eb4aa7c63fa6ce91143ae16ad85\",\n \"score\": \"0.54818916\",\n \"text\": \"public Slot setEnd(InstantDt theValue) {\\n\\t\\tmyEnd = theValue;\\n\\t\\treturn this;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"efba96c8ad3109960521ce20263ca620\",\n \"score\": \"0.54714227\",\n \"text\": \"public void setCallOutTime(Double callOutTime)\\n/* */ {\\n/* 279 */ this.callOutTime = callOutTime;\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7d10bd4a2b85c2bccfb8e200ce18231\",\n \"score\": \"0.54706204\",\n \"text\": \"public void finish() {\\n this.mEndTime = SystemClock.uptimeMillis();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"16d50fe9f61ff4cb9b8eb81738066771\",\n \"score\": \"0.5452626\",\n \"text\": \"public int getEndTime() {return endTime;}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6afd84177654b1f92328780fb967bc83\",\n \"score\": \"0.54504687\",\n \"text\": \"public void xsetEndTime(org.apache.xmlbeans.XmlDateTime endTime)\\n {\\n synchronized (monitor())\\n {\\n check_orphaned();\\n org.apache.xmlbeans.XmlDateTime target = null;\\n target = (org.apache.xmlbeans.XmlDateTime)get_store().find_element_user(ENDTIME$8, 0);\\n if (target == null)\\n {\\n target = (org.apache.xmlbeans.XmlDateTime)get_store().add_element_user(ENDTIME$8);\\n }\\n target.set(endTime);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7d66dab9a7e5b2834e0b817414db9d12\",\n \"score\": \"0.54443455\",\n \"text\": \"public void setTime(long tTime) {\\n this.tTime = tTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"19c92cf3034c2a4dd04f5cbd84de68e8\",\n \"score\": \"0.5443692\",\n \"text\": \"int getEndAutoTime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8f71a7284e84c0d3b44502231b3b32f8\",\n \"score\": \"0.54436046\",\n \"text\": \"public void setRestTime(TextView textView) {\\n int restTime = mExerciseDbCursor.getInt(mExerciseDbCursor.getColumnIndex(WorkoutViewContract.WorkoutViewEntry.COLUMN_REST_TIME));\\n String restTimeString = \\\"Rest: \\\" + String.valueOf(restTime) + \\\" seconds\\\";\\n textView.setText(restTimeString);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"40c8433a1c1865366034faa00eff3728\",\n \"score\": \"0.5443349\",\n \"text\": \"public void xsetEndTime(org.apache.xmlbeans.XmlDateTime endTime)\\n {\\n synchronized (monitor())\\n {\\n check_orphaned();\\n org.apache.xmlbeans.XmlDateTime target = null;\\n target = (org.apache.xmlbeans.XmlDateTime)get_store().find_element_user(ENDTIME$6, 0);\\n if (target == null)\\n {\\n target = (org.apache.xmlbeans.XmlDateTime)get_store().add_element_user(ENDTIME$6);\\n }\\n target.set(endTime);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1a7235239055c6c67da1468d23367658\",\n \"score\": \"0.54400223\",\n \"text\": \"public void setEndTime(LocalTime endTime) {\\n this.endTime = endTime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0a1bb8d287f042bf7dcd338d24b19675\",\n \"score\": \"0.5439721\",\n \"text\": \"@Override\\n public int getTimeActivityEnd() { return TIME_ACTIVITY_END; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fc449208f5bc4691d38d22d005fab628\",\n \"score\": \"0.5439404\",\n \"text\": \"public Builder clearEndAutoTime() {\\n \\n endAutoTime_ = 0;\\n onChanged();\\n return this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45928fafda8d1b79d3959571d9bf5229\",\n \"score\": \"0.5438745\",\n \"text\": \"public long getEndSpawningTime() {\\r\\n\\t\\treturn endSpawningTime;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e1911927e180331076ab231ae965fb08\",\n \"score\": \"0.54349095\",\n \"text\": \"public long getEndTime() {\\r\\n return endTime;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fca317a5aff949495ce4ef73c495695d\",\n \"score\": \"0.5431255\",\n \"text\": \"void setTimeToPoll(Long time) {\\n RSSConfiguration.getInstance().setTimeToPoll(time);\\n log.info(\\\"Set time to poll to \\\" + time);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c8b6ce067a8fe2ba154bfb1a8132a8ae\",\n \"score\": \"0.54202443\",\n \"text\": \"long getEndTime();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"88a5642c2b2d6e08b9d5b21bf29c36ac\",\n \"score\": \"0.5408789\",\n \"text\": \"public final void setEnd(com.mendix.systemwideinterfaces.core.IContext context, java.util.Date end)\\n\\t{\\n\\t\\tgetMendixObject().setValue(context, MemberNames.End.toString(), end);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0232b775117aa967d80494a6f62cc001\",\n \"score\": \"0.5402836\",\n \"text\": \"public void setEndTime(Date endTime) {\\n\\t this.endTime = endTime;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d063263a58f6dffa33c2c1d834edd1ef\",\n \"score\": \"0.5402175\",\n \"text\": \"public void setTime(int time) \\n {\\n timer = time;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0f1d7184fbb8880a4e9d4dc72a37d7b3\",\n \"score\": \"0.5387906\",\n \"text\": \"public void setEnd(double end) {\\n\\t\\tthis.end = end;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6597d0eca0f9620bbca0f3b432d901d9\",\n \"score\": \"0.5362086\",\n \"text\": \"public Date getEndtime() {\\n return endtime;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"915dd81a480403d53dc74d761648f774\",\n \"score\": \"0.5355109\",\n \"text\": \"public static void setTime(int time) {\\r\\n\\t\\tif (requester != null) {\\r\\n\\t\\t\\trequester.sendMessage(new SetTime(time));\\r\\n\\t\\t}\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0f38fa359fcc75b373437add51fa1f3e\",\n \"score\": \"0.5348006\",\n \"text\": \"@Override\\n protected void end() {\\n Robot.elevator.setSpeed(0.0);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2a94ed08d9552563b1138a09a0f9c947\",\n \"score\": \"0.5340123\",\n \"text\": \"@Override\\n\\tpublic void setTimeRange(long startTime, long endTime) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a903a089fbe2b127559f8bafc4b3591d\",\n \"score\": \"0.5338189\",\n \"text\": \"public void setEnd(int end)\\n {\\n _end = end;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a925c15fcab95d4221d5adcad2da8c1\",\n \"score\": \"0.5335765\",\n \"text\": \"@Override\\n\\tpublic long getEndTime() {\\n\\t\\treturn 0;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae4ac35b1f8868603d369e248edbadd4\",\n \"score\": \"0.53315455\",\n \"text\": \"public void setTime( Times time )\\r\\n {\\r\\n this.time = new Times(time);\\r\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":394,"cells":{"query_id":{"kind":"string","value":"c1d23db51c87f4b6171361f3bddf5c81"},"query":{"kind":"string","value":"/ every time entering a method"},"positive_passages":{"kind":"list like","value":[{"docid":"7437e797d775b0de1b6d7bb332a7f080","score":"0.0","text":"@Before (\n marker = BodyMarker.class,\n scope = \"*.*\",\n order = 1000)\n public static void before_enter (final CallContext msc) {\n IPCAnalysisStub.boundary_start (msc.thisMethodFullName ());\n }","title":""}],"string":"[\n {\n \"docid\": \"7437e797d775b0de1b6d7bb332a7f080\",\n \"score\": \"0.0\",\n \"text\": \"@Before (\\n marker = BodyMarker.class,\\n scope = \\\"*.*\\\",\\n order = 1000)\\n public static void before_enter (final CallContext msc) {\\n IPCAnalysisStub.boundary_start (msc.thisMethodFullName ());\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"7030c4f1163697a293880bfede661677","score":"0.6651051","text":"private void Goal() {\n\t\t\r\n\t}","title":""},{"docid":"630c56482d5f5fcff05ee19796788da5","score":"0.6615657","text":"public void enter() {\n\t}","title":""},{"docid":"fdf02ca4ecb9cacccbe507e1e6c0bf03","score":"0.65053207","text":"public void nextCaller(){\n\t}","title":""},{"docid":"33d41636b65afa8267c9085dae3d1a2d","score":"0.64930415","text":"private void apparence() {\r\n\r\n\t}","title":""},{"docid":"3d596e8e5ed80aeb8c48c85654e0a370","score":"0.6462188","text":"@Override\r\n\tpublic void runsOn() {\n\t\t\r\n\t}","title":""},{"docid":"895047da41541a1fd01ec250531e9575","score":"0.64543474","text":"@Override\n\tpublic void enter() {\n\n\t}","title":""},{"docid":"e4e0c05dbe896a5dec1120724da1bcc8","score":"0.64265114","text":"protected void perAct() {\n\n\t}","title":""},{"docid":"87dd605b4eb53a19bcade1f878d2f219","score":"0.639046","text":"public final void start(){\n\t\t\n\t\tSystem.out.println(\"i am inside the final method\");\n\t}","title":""},{"docid":"00075c50e26b18237953cd05ffd5428b","score":"0.6339943","text":"@Override\n\tpublic void beber() {\n\t\t\n\t}","title":""},{"docid":"0c7fbac3312d29ea7b0fbe2ca4f4fc76","score":"0.63204217","text":"public void method() {\n\t System.out.println(\"Inside\");\n }","title":""},{"docid":"001227e6b58a587f9eb4f77b15fc3588","score":"0.6282745","text":"@Override\n\tprotected void local() {\n\t\t\n\t}","title":""},{"docid":"a53d232dac89259f961cbc93762f65b2","score":"0.62347394","text":"@Override\r\n\t\t\tvoid n() {\n\t\t\t\t\r\n\t\t\t}","title":""},{"docid":"d61d3ecb30a6b9ffaa60a2acb61562d2","score":"0.62307465","text":"public static void begin() {\n\r\n }","title":""},{"docid":"a6e9388ba580a030c48b527221f8e81a","score":"0.62304455","text":"@Override\n\tpublic void actuar() {\n\t\t\n\t}","title":""},{"docid":"c5ed0b1f1d44d410369904734d551a9e","score":"0.62259454","text":"@Override\n\tpublic void onEnter() {\n\n\t}","title":""},{"docid":"4650249bdf83e40517dab67e3e731f03","score":"0.6206447","text":"public void attaquer() {\n\t}","title":""},{"docid":"ea37fd66145e23bdff37ef18f663ba44","score":"0.61970353","text":"@Override\n\tpublic void flagfunction() {\n\t\t\n\t}","title":""},{"docid":"9f03845ba4d233011f17c09112b86e7f","score":"0.6196952","text":"@Override\r\n\tpublic void fun() {\n\t\t\r\n\t}","title":""},{"docid":"b7a85a3b57a8081589607db97fda3efc","score":"0.6192503","text":"@Override\n public void periodic() {\n\n }","title":""},{"docid":"b7a85a3b57a8081589607db97fda3efc","score":"0.6192503","text":"@Override\n public void periodic() {\n\n }","title":""},{"docid":"b7a85a3b57a8081589607db97fda3efc","score":"0.6192503","text":"@Override\n public void periodic() {\n\n }","title":""},{"docid":"b7a85a3b57a8081589607db97fda3efc","score":"0.6192503","text":"@Override\n public void periodic() {\n\n }","title":""},{"docid":"b7a85a3b57a8081589607db97fda3efc","score":"0.6192503","text":"@Override\n public void periodic() {\n\n }","title":""},{"docid":"b7a85a3b57a8081589607db97fda3efc","score":"0.6192503","text":"@Override\n public void periodic() {\n\n }","title":""},{"docid":"b7a85a3b57a8081589607db97fda3efc","score":"0.6192503","text":"@Override\n public void periodic() {\n\n }","title":""},{"docid":"abaa5b55c27e2367782a1937e5695aa6","score":"0.61894387","text":"@Override\r\n public void periodic() {\n\r\n }","title":""},{"docid":"d2acbc298e3a6a60f67949d3d13de56b","score":"0.6184727","text":"public void appelerGarcon() {\n }","title":""},{"docid":"b83e00257407c5803cec27c49186c88b","score":"0.6182375","text":"@Override\n public void periodic() {\n }","title":""},{"docid":"b83e00257407c5803cec27c49186c88b","score":"0.6182375","text":"@Override\n public void periodic() {\n }","title":""},{"docid":"b83e00257407c5803cec27c49186c88b","score":"0.6182375","text":"@Override\n public void periodic() {\n }","title":""},{"docid":"b83e00257407c5803cec27c49186c88b","score":"0.6182375","text":"@Override\n public void periodic() {\n }","title":""},{"docid":"b83e00257407c5803cec27c49186c88b","score":"0.6182375","text":"@Override\n public void periodic() {\n }","title":""},{"docid":"b83e00257407c5803cec27c49186c88b","score":"0.6182375","text":"@Override\n public void periodic() {\n }","title":""},{"docid":"b83e00257407c5803cec27c49186c88b","score":"0.6182375","text":"@Override\n public void periodic() {\n }","title":""},{"docid":"b83e00257407c5803cec27c49186c88b","score":"0.6182375","text":"@Override\n public void periodic() {\n }","title":""},{"docid":"b83e00257407c5803cec27c49186c88b","score":"0.6182375","text":"@Override\n public void periodic() {\n }","title":""},{"docid":"b83e00257407c5803cec27c49186c88b","score":"0.6182375","text":"@Override\n public void periodic() {\n }","title":""},{"docid":"b83e00257407c5803cec27c49186c88b","score":"0.6182375","text":"@Override\n public void periodic() {\n }","title":""},{"docid":"b83e00257407c5803cec27c49186c88b","score":"0.6182375","text":"@Override\n public void periodic() {\n }","title":""},{"docid":"b83e00257407c5803cec27c49186c88b","score":"0.6182375","text":"@Override\n public void periodic() {\n }","title":""},{"docid":"b83e00257407c5803cec27c49186c88b","score":"0.6182375","text":"@Override\n public void periodic() {\n }","title":""},{"docid":"b83e00257407c5803cec27c49186c88b","score":"0.6182375","text":"@Override\n public void periodic() {\n }","title":""},{"docid":"b83e00257407c5803cec27c49186c88b","score":"0.6182375","text":"@Override\n public void periodic() {\n }","title":""},{"docid":"b83e00257407c5803cec27c49186c88b","score":"0.6182375","text":"@Override\n public void periodic() {\n }","title":""},{"docid":"b83e00257407c5803cec27c49186c88b","score":"0.6182375","text":"@Override\n public void periodic() {\n }","title":""},{"docid":"b83e00257407c5803cec27c49186c88b","score":"0.6182375","text":"@Override\n public void periodic() {\n }","title":""},{"docid":"b83e00257407c5803cec27c49186c88b","score":"0.6182375","text":"@Override\n public void periodic() {\n }","title":""},{"docid":"b83e00257407c5803cec27c49186c88b","score":"0.6182375","text":"@Override\n public void periodic() {\n }","title":""},{"docid":"b83e00257407c5803cec27c49186c88b","score":"0.6182375","text":"@Override\n public void periodic() {\n }","title":""},{"docid":"b83e00257407c5803cec27c49186c88b","score":"0.6182375","text":"@Override\n public void periodic() {\n }","title":""},{"docid":"b83e00257407c5803cec27c49186c88b","score":"0.6182375","text":"@Override\n public void periodic() {\n }","title":""},{"docid":"b83e00257407c5803cec27c49186c88b","score":"0.6182375","text":"@Override\n public void periodic() {\n }","title":""},{"docid":"b83e00257407c5803cec27c49186c88b","score":"0.6182375","text":"@Override\n public void periodic() {\n }","title":""},{"docid":"b83e00257407c5803cec27c49186c88b","score":"0.6182375","text":"@Override\n public void periodic() {\n }","title":""},{"docid":"b83e00257407c5803cec27c49186c88b","score":"0.6182375","text":"@Override\n public void periodic() {\n }","title":""},{"docid":"b83e00257407c5803cec27c49186c88b","score":"0.6182375","text":"@Override\n public void periodic() {\n }","title":""},{"docid":"a7673c4b4b113e68275b4afb1cbf5b8e","score":"0.6177691","text":"@Override\r\n protected void onMethodEnter()\r\n {\n invokeStatic(typeBeingWoven, staticInitMethod);\r\n super.onMethodEnter();\r\n }","title":""},{"docid":"80081e851d06bd19297996345761e04c","score":"0.61774176","text":"@Override\n\tpublic void time() {\n\t\tSystem.out.println(\"Class in the Afternoon!\");\n\t}","title":""},{"docid":"e3baf100746c67ea258c65c49bfb0e76","score":"0.6169409","text":"@Override\n public void always_executed_hook() {\n get_logger().info(\"In always_executed_hook method()\");\n }","title":""},{"docid":"40577cf33330bd70c08bc8e310b4436d","score":"0.61690927","text":"@Override\n\tpublic void falar() {\n\n\t}","title":""},{"docid":"80887229cd7860f253bdaefb01f1687d","score":"0.6166737","text":"protected void mo3535a() {\n }","title":""},{"docid":"2dfdb53ad81f60adacb98bafc90651b1","score":"0.61521757","text":"@Override\r\n\t\tvoid n() {\n\t\t\t\r\n\t\t}","title":""},{"docid":"221d4c2d78326c3c7caa7a4128c510c4","score":"0.6141022","text":"public void endOfTheWorld() {\n }","title":""},{"docid":"855801dd91248e0a1bc83dff4324d504","score":"0.61381906","text":"public void excute(){\n }","title":""},{"docid":"b5231ebf993b77997cfec4c8312c209f","score":"0.61368984","text":"@Override\r\n public void periodic() {\n }","title":""},{"docid":"9e19b5d913fc1c071d660ef9e3115e9e","score":"0.6121315","text":"@Override\n\tpublic void periodic() {\n\n }","title":""},{"docid":"41958b82a38fd6e07787daf066823688","score":"0.61151904","text":"public void always() {\n }","title":""},{"docid":"9969c2cd0a26f223be9eea348d1c6160","score":"0.61044514","text":"private static void 로또수동생성() {\n\t\t\r\n\t}","title":""},{"docid":"551d43e8a73edb7fd04cb89e87276b8b","score":"0.61032","text":"@Override\n\tpublic void periodic() {\n\t}","title":""},{"docid":"b4eb8809bc9bc1e64076010d36e77b7f","score":"0.60943514","text":"public void enter() {\n System.out.println(\"Entering state\");\n }","title":""},{"docid":"76a80470fd21f5a9092c258ed3a8a632","score":"0.6093768","text":"private static void 로또번호리스트() {\n\t\t\r\n\t}","title":""},{"docid":"fe36dbf033e639f71f461467c00b7306","score":"0.60918224","text":"@Override\n\t\tpublic void onThinking() {\n\t\t\tLog.i(TAG, \"In progress\");\n\t\t}","title":""},{"docid":"d9642ed5311e1eb57a7f1d1298ffa267","score":"0.60843045","text":"@Override\n\tvoid monMaitreMeLave() {\n\n\t}","title":""},{"docid":"8d63499560d467b4c53ed2535c30f5f4","score":"0.6077471","text":"@Override\n public void periodic() {\n }","title":""},{"docid":"8d63499560d467b4c53ed2535c30f5f4","score":"0.6077471","text":"@Override\n public void periodic() {\n }","title":""},{"docid":"8d63499560d467b4c53ed2535c30f5f4","score":"0.6077471","text":"@Override\n public void periodic() {\n }","title":""},{"docid":"883a011db373136dd93d9ea2a1acd298","score":"0.60663337","text":"@Override\n public void periodic() {\n // This method will be called once per scheduler run\n\n }","title":""},{"docid":"f4c0242296797398e2b40d70a07df943","score":"0.6064958","text":"private void thingCounterIncr() {}","title":""},{"docid":"2bd152bb33ecbe797b9818e175c5d4ec","score":"0.6057873","text":"public void mo55659a() {\n }","title":""},{"docid":"3cb6fea36147d048eb9bd44b83fbe365","score":"0.60576326","text":"public void enterMethod(MethodInfo info) {\n\r\n\t}","title":""},{"docid":"cca56b9c5f15aa48fcce3accc863097a","score":"0.6056826","text":"public void(){\n }","title":""},{"docid":"dde8675b16a700f1baa58027d96bf7a5","score":"0.6047797","text":"protected void beforeLoop() {\n }","title":""},{"docid":"7fe506c36bcc63f1216d9c53abb8266f","score":"0.60449135","text":"public void Something(){\n System.out.println(\"Something done.\");\n }","title":""},{"docid":"a1113d0fc8cb0c23dc19ebb8e6ed5c6f","score":"0.6043874","text":"public void mo119665g() {\n }","title":""},{"docid":"a97ffbd55898f7453e23b99acc8e3efa","score":"0.6040829","text":"void clockStarted();","title":""},{"docid":"f0671ebb94840079b77d3969f9ddec85","score":"0.6037243","text":"void inicialitzar();","title":""},{"docid":"92001736a2ac49c6f975b4fc450982d1","score":"0.6036135","text":"@Override\n public void doSparring() {\n \n }","title":""},{"docid":"7855cb0887ef3a8afdf13f20ba80fa8a","score":"0.60342807","text":"void cl(){\r\n\t\tSystem.out.println(\"normel method...\");\r\n\t}","title":""},{"docid":"2c6bf13dd3d7954c8efeacb9416e2392","score":"0.6027318","text":"public void zzmr() {\n }","title":""},{"docid":"4f73241e4b3e9681ef2a1f13dae2117c","score":"0.6021307","text":"@Override\n\t\t\t\t\t\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\t\t\t\t\t\treStart();\n\t\t\t\t\t\t\t\t\t\t\t\t}","title":""},{"docid":"18af065f1803942329b75959ac6d0aac","score":"0.6007951","text":"public void doAnythingElse() {\n\t}","title":""},{"docid":"169b8a1b67106f4b6a97f977d35732a9","score":"0.60041547","text":"void accionRestar() {\n \r\n }","title":""},{"docid":"0d996fa345e18b74a73dce6394fc0b15","score":"0.60025305","text":"@Override\r\n\tpublic void sunricers() {\n\t\t\r\n\t}","title":""},{"docid":"c92aaacc04e9ba9761b8b18281f6ff6e","score":"0.59963477","text":"private void iniEvent() {\n\n\t}","title":""},{"docid":"706608f100b5f9525b07c2265724729d","score":"0.59954095","text":"private static void begruessen()\r\n\t{\r\n\t\tDebugAusgabeKlasse.ausgeben(LokalisierungsKeys.BEGRUESSUNG_BEI_PROGRAMMSTART);\r\n\t}","title":""},{"docid":"7b68113c2158e639eb9c018e935641d1","score":"0.5994535","text":"@Override\n\tpublic void onBegin() {\n\t\t\n\t}","title":""},{"docid":"48a5f62f89dc78c50c4ec2b36f07e90b","score":"0.5991729","text":"void methodA(){\n System.out.println(\"method A\");\n }","title":""},{"docid":"c1ae23f562732eecc76dddc1a39be2f2","score":"0.59878075","text":"public void gameStarted() {}","title":""},{"docid":"b3e1c967102f1a17da7f78d167653987","score":"0.5986989","text":"private void start() {\n\t\r\n}","title":""},{"docid":"1d691eb16c35ac63522877c654564635","score":"0.5986171","text":"public final void aktualisiere() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t// tut nichts, da er mit der Info nichts anfangen kann\r\n\t}","title":""},{"docid":"89050337f1b567c4dab9dd0a41d4dc9d","score":"0.5980552","text":"@Override\r\n public void doAtTheEnd() {\r\n doPeriodically();\r\n }","title":""}],"string":"[\n {\n \"docid\": \"7030c4f1163697a293880bfede661677\",\n \"score\": \"0.6651051\",\n \"text\": \"private void Goal() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"630c56482d5f5fcff05ee19796788da5\",\n \"score\": \"0.6615657\",\n \"text\": \"public void enter() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fdf02ca4ecb9cacccbe507e1e6c0bf03\",\n \"score\": \"0.65053207\",\n \"text\": \"public void nextCaller(){\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"33d41636b65afa8267c9085dae3d1a2d\",\n \"score\": \"0.64930415\",\n \"text\": \"private void apparence() {\\r\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3d596e8e5ed80aeb8c48c85654e0a370\",\n \"score\": \"0.6462188\",\n \"text\": \"@Override\\r\\n\\tpublic void runsOn() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"895047da41541a1fd01ec250531e9575\",\n \"score\": \"0.64543474\",\n \"text\": \"@Override\\n\\tpublic void enter() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e4e0c05dbe896a5dec1120724da1bcc8\",\n \"score\": \"0.64265114\",\n \"text\": \"protected void perAct() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"87dd605b4eb53a19bcade1f878d2f219\",\n \"score\": \"0.639046\",\n \"text\": \"public final void start(){\\n\\t\\t\\n\\t\\tSystem.out.println(\\\"i am inside the final method\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"00075c50e26b18237953cd05ffd5428b\",\n \"score\": \"0.6339943\",\n \"text\": \"@Override\\n\\tpublic void beber() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0c7fbac3312d29ea7b0fbe2ca4f4fc76\",\n \"score\": \"0.63204217\",\n \"text\": \"public void method() {\\n\\t System.out.println(\\\"Inside\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"001227e6b58a587f9eb4f77b15fc3588\",\n \"score\": \"0.6282745\",\n \"text\": \"@Override\\n\\tprotected void local() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a53d232dac89259f961cbc93762f65b2\",\n \"score\": \"0.62347394\",\n \"text\": \"@Override\\r\\n\\t\\t\\tvoid n() {\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d61d3ecb30a6b9ffaa60a2acb61562d2\",\n \"score\": \"0.62307465\",\n \"text\": \"public static void begin() {\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a6e9388ba580a030c48b527221f8e81a\",\n \"score\": \"0.62304455\",\n \"text\": \"@Override\\n\\tpublic void actuar() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c5ed0b1f1d44d410369904734d551a9e\",\n \"score\": \"0.62259454\",\n \"text\": \"@Override\\n\\tpublic void onEnter() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4650249bdf83e40517dab67e3e731f03\",\n \"score\": \"0.6206447\",\n \"text\": \"public void attaquer() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ea37fd66145e23bdff37ef18f663ba44\",\n \"score\": \"0.61970353\",\n \"text\": \"@Override\\n\\tpublic void flagfunction() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9f03845ba4d233011f17c09112b86e7f\",\n \"score\": \"0.6196952\",\n \"text\": \"@Override\\r\\n\\tpublic void fun() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7a85a3b57a8081589607db97fda3efc\",\n \"score\": \"0.6192503\",\n \"text\": \"@Override\\n public void periodic() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7a85a3b57a8081589607db97fda3efc\",\n \"score\": \"0.6192503\",\n \"text\": \"@Override\\n public void periodic() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7a85a3b57a8081589607db97fda3efc\",\n \"score\": \"0.6192503\",\n \"text\": \"@Override\\n public void periodic() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7a85a3b57a8081589607db97fda3efc\",\n \"score\": \"0.6192503\",\n \"text\": \"@Override\\n public void periodic() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7a85a3b57a8081589607db97fda3efc\",\n \"score\": \"0.6192503\",\n \"text\": \"@Override\\n public void periodic() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7a85a3b57a8081589607db97fda3efc\",\n \"score\": \"0.6192503\",\n \"text\": \"@Override\\n public void periodic() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7a85a3b57a8081589607db97fda3efc\",\n \"score\": \"0.6192503\",\n \"text\": \"@Override\\n public void periodic() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"abaa5b55c27e2367782a1937e5695aa6\",\n \"score\": \"0.61894387\",\n \"text\": \"@Override\\r\\n public void periodic() {\\n\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d2acbc298e3a6a60f67949d3d13de56b\",\n \"score\": \"0.6184727\",\n \"text\": \"public void appelerGarcon() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b83e00257407c5803cec27c49186c88b\",\n \"score\": \"0.6182375\",\n \"text\": \"@Override\\n public void periodic() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b83e00257407c5803cec27c49186c88b\",\n \"score\": \"0.6182375\",\n \"text\": \"@Override\\n public void periodic() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b83e00257407c5803cec27c49186c88b\",\n \"score\": \"0.6182375\",\n \"text\": \"@Override\\n public void periodic() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b83e00257407c5803cec27c49186c88b\",\n \"score\": \"0.6182375\",\n \"text\": \"@Override\\n public void periodic() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b83e00257407c5803cec27c49186c88b\",\n \"score\": \"0.6182375\",\n \"text\": \"@Override\\n public void periodic() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b83e00257407c5803cec27c49186c88b\",\n \"score\": \"0.6182375\",\n \"text\": \"@Override\\n public void periodic() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b83e00257407c5803cec27c49186c88b\",\n \"score\": \"0.6182375\",\n \"text\": \"@Override\\n public void periodic() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b83e00257407c5803cec27c49186c88b\",\n \"score\": \"0.6182375\",\n \"text\": \"@Override\\n public void periodic() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b83e00257407c5803cec27c49186c88b\",\n \"score\": \"0.6182375\",\n \"text\": \"@Override\\n public void periodic() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b83e00257407c5803cec27c49186c88b\",\n \"score\": \"0.6182375\",\n \"text\": \"@Override\\n public void periodic() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b83e00257407c5803cec27c49186c88b\",\n \"score\": \"0.6182375\",\n \"text\": \"@Override\\n public void periodic() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b83e00257407c5803cec27c49186c88b\",\n \"score\": \"0.6182375\",\n \"text\": \"@Override\\n public void periodic() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b83e00257407c5803cec27c49186c88b\",\n \"score\": \"0.6182375\",\n \"text\": \"@Override\\n public void periodic() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b83e00257407c5803cec27c49186c88b\",\n \"score\": \"0.6182375\",\n \"text\": \"@Override\\n public void periodic() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b83e00257407c5803cec27c49186c88b\",\n \"score\": \"0.6182375\",\n \"text\": \"@Override\\n public void periodic() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b83e00257407c5803cec27c49186c88b\",\n \"score\": \"0.6182375\",\n \"text\": \"@Override\\n public void periodic() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b83e00257407c5803cec27c49186c88b\",\n \"score\": \"0.6182375\",\n \"text\": \"@Override\\n public void periodic() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b83e00257407c5803cec27c49186c88b\",\n \"score\": \"0.6182375\",\n \"text\": \"@Override\\n public void periodic() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b83e00257407c5803cec27c49186c88b\",\n \"score\": \"0.6182375\",\n \"text\": \"@Override\\n public void periodic() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b83e00257407c5803cec27c49186c88b\",\n \"score\": \"0.6182375\",\n \"text\": \"@Override\\n public void periodic() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b83e00257407c5803cec27c49186c88b\",\n \"score\": \"0.6182375\",\n \"text\": \"@Override\\n public void periodic() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b83e00257407c5803cec27c49186c88b\",\n \"score\": \"0.6182375\",\n \"text\": \"@Override\\n public void periodic() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b83e00257407c5803cec27c49186c88b\",\n \"score\": \"0.6182375\",\n \"text\": \"@Override\\n public void periodic() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b83e00257407c5803cec27c49186c88b\",\n \"score\": \"0.6182375\",\n \"text\": \"@Override\\n public void periodic() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b83e00257407c5803cec27c49186c88b\",\n \"score\": \"0.6182375\",\n \"text\": \"@Override\\n public void periodic() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b83e00257407c5803cec27c49186c88b\",\n \"score\": \"0.6182375\",\n \"text\": \"@Override\\n public void periodic() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b83e00257407c5803cec27c49186c88b\",\n \"score\": \"0.6182375\",\n \"text\": \"@Override\\n public void periodic() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b83e00257407c5803cec27c49186c88b\",\n \"score\": \"0.6182375\",\n \"text\": \"@Override\\n public void periodic() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b83e00257407c5803cec27c49186c88b\",\n \"score\": \"0.6182375\",\n \"text\": \"@Override\\n public void periodic() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7673c4b4b113e68275b4afb1cbf5b8e\",\n \"score\": \"0.6177691\",\n \"text\": \"@Override\\r\\n protected void onMethodEnter()\\r\\n {\\n invokeStatic(typeBeingWoven, staticInitMethod);\\r\\n super.onMethodEnter();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80081e851d06bd19297996345761e04c\",\n \"score\": \"0.61774176\",\n \"text\": \"@Override\\n\\tpublic void time() {\\n\\t\\tSystem.out.println(\\\"Class in the Afternoon!\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e3baf100746c67ea258c65c49bfb0e76\",\n \"score\": \"0.6169409\",\n \"text\": \"@Override\\n public void always_executed_hook() {\\n get_logger().info(\\\"In always_executed_hook method()\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"40577cf33330bd70c08bc8e310b4436d\",\n \"score\": \"0.61690927\",\n \"text\": \"@Override\\n\\tpublic void falar() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80887229cd7860f253bdaefb01f1687d\",\n \"score\": \"0.6166737\",\n \"text\": \"protected void mo3535a() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2dfdb53ad81f60adacb98bafc90651b1\",\n \"score\": \"0.61521757\",\n \"text\": \"@Override\\r\\n\\t\\tvoid n() {\\n\\t\\t\\t\\r\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"221d4c2d78326c3c7caa7a4128c510c4\",\n \"score\": \"0.6141022\",\n \"text\": \"public void endOfTheWorld() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"855801dd91248e0a1bc83dff4324d504\",\n \"score\": \"0.61381906\",\n \"text\": \"public void excute(){\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b5231ebf993b77997cfec4c8312c209f\",\n \"score\": \"0.61368984\",\n \"text\": \"@Override\\r\\n public void periodic() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9e19b5d913fc1c071d660ef9e3115e9e\",\n \"score\": \"0.6121315\",\n \"text\": \"@Override\\n\\tpublic void periodic() {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"41958b82a38fd6e07787daf066823688\",\n \"score\": \"0.61151904\",\n \"text\": \"public void always() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9969c2cd0a26f223be9eea348d1c6160\",\n \"score\": \"0.61044514\",\n \"text\": \"private static void 로또수동생성() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"551d43e8a73edb7fd04cb89e87276b8b\",\n \"score\": \"0.61032\",\n \"text\": \"@Override\\n\\tpublic void periodic() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b4eb8809bc9bc1e64076010d36e77b7f\",\n \"score\": \"0.60943514\",\n \"text\": \"public void enter() {\\n System.out.println(\\\"Entering state\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"76a80470fd21f5a9092c258ed3a8a632\",\n \"score\": \"0.6093768\",\n \"text\": \"private static void 로또번호리스트() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fe36dbf033e639f71f461467c00b7306\",\n \"score\": \"0.60918224\",\n \"text\": \"@Override\\n\\t\\tpublic void onThinking() {\\n\\t\\t\\tLog.i(TAG, \\\"In progress\\\");\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d9642ed5311e1eb57a7f1d1298ffa267\",\n \"score\": \"0.60843045\",\n \"text\": \"@Override\\n\\tvoid monMaitreMeLave() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8d63499560d467b4c53ed2535c30f5f4\",\n \"score\": \"0.6077471\",\n \"text\": \"@Override\\n public void periodic() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8d63499560d467b4c53ed2535c30f5f4\",\n \"score\": \"0.6077471\",\n \"text\": \"@Override\\n public void periodic() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8d63499560d467b4c53ed2535c30f5f4\",\n \"score\": \"0.6077471\",\n \"text\": \"@Override\\n public void periodic() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"883a011db373136dd93d9ea2a1acd298\",\n \"score\": \"0.60663337\",\n \"text\": \"@Override\\n public void periodic() {\\n // This method will be called once per scheduler run\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4c0242296797398e2b40d70a07df943\",\n \"score\": \"0.6064958\",\n \"text\": \"private void thingCounterIncr() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2bd152bb33ecbe797b9818e175c5d4ec\",\n \"score\": \"0.6057873\",\n \"text\": \"public void mo55659a() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3cb6fea36147d048eb9bd44b83fbe365\",\n \"score\": \"0.60576326\",\n \"text\": \"public void enterMethod(MethodInfo info) {\\n\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cca56b9c5f15aa48fcce3accc863097a\",\n \"score\": \"0.6056826\",\n \"text\": \"public void(){\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dde8675b16a700f1baa58027d96bf7a5\",\n \"score\": \"0.6047797\",\n \"text\": \"protected void beforeLoop() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7fe506c36bcc63f1216d9c53abb8266f\",\n \"score\": \"0.60449135\",\n \"text\": \"public void Something(){\\n System.out.println(\\\"Something done.\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1113d0fc8cb0c23dc19ebb8e6ed5c6f\",\n \"score\": \"0.6043874\",\n \"text\": \"public void mo119665g() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a97ffbd55898f7453e23b99acc8e3efa\",\n \"score\": \"0.6040829\",\n \"text\": \"void clockStarted();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f0671ebb94840079b77d3969f9ddec85\",\n \"score\": \"0.6037243\",\n \"text\": \"void inicialitzar();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"92001736a2ac49c6f975b4fc450982d1\",\n \"score\": \"0.6036135\",\n \"text\": \"@Override\\n public void doSparring() {\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7855cb0887ef3a8afdf13f20ba80fa8a\",\n \"score\": \"0.60342807\",\n \"text\": \"void cl(){\\r\\n\\t\\tSystem.out.println(\\\"normel method...\\\");\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2c6bf13dd3d7954c8efeacb9416e2392\",\n \"score\": \"0.6027318\",\n \"text\": \"public void zzmr() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4f73241e4b3e9681ef2a1f13dae2117c\",\n \"score\": \"0.6021307\",\n \"text\": \"@Override\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tpublic void run() {\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\treStart();\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"18af065f1803942329b75959ac6d0aac\",\n \"score\": \"0.6007951\",\n \"text\": \"public void doAnythingElse() {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"169b8a1b67106f4b6a97f977d35732a9\",\n \"score\": \"0.60041547\",\n \"text\": \"void accionRestar() {\\n \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0d996fa345e18b74a73dce6394fc0b15\",\n \"score\": \"0.60025305\",\n \"text\": \"@Override\\r\\n\\tpublic void sunricers() {\\n\\t\\t\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c92aaacc04e9ba9761b8b18281f6ff6e\",\n \"score\": \"0.59963477\",\n \"text\": \"private void iniEvent() {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"706608f100b5f9525b07c2265724729d\",\n \"score\": \"0.59954095\",\n \"text\": \"private static void begruessen()\\r\\n\\t{\\r\\n\\t\\tDebugAusgabeKlasse.ausgeben(LokalisierungsKeys.BEGRUESSUNG_BEI_PROGRAMMSTART);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7b68113c2158e639eb9c018e935641d1\",\n \"score\": \"0.5994535\",\n \"text\": \"@Override\\n\\tpublic void onBegin() {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"48a5f62f89dc78c50c4ec2b36f07e90b\",\n \"score\": \"0.5991729\",\n \"text\": \"void methodA(){\\n System.out.println(\\\"method A\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c1ae23f562732eecc76dddc1a39be2f2\",\n \"score\": \"0.59878075\",\n \"text\": \"public void gameStarted() {}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b3e1c967102f1a17da7f78d167653987\",\n \"score\": \"0.5986989\",\n \"text\": \"private void start() {\\n\\t\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1d691eb16c35ac63522877c654564635\",\n \"score\": \"0.5986171\",\n \"text\": \"public final void aktualisiere() {\\r\\n\\t\\t// TODO Auto-generated method stub\\r\\n\\t\\t// tut nichts, da er mit der Info nichts anfangen kann\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"89050337f1b567c4dab9dd0a41d4dc9d\",\n \"score\": \"0.5980552\",\n \"text\": \"@Override\\r\\n public void doAtTheEnd() {\\r\\n doPeriodically();\\r\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":395,"cells":{"query_id":{"kind":"string","value":"518bf5364cda3c6202a1a392996f93d1"},"query":{"kind":"string","value":"Inflate the menu; this adds items to the action bar if it is present."},"positive_passages":{"kind":"list like","value":[{"docid":"6aaffed15b43626074b84e6112cb0fe6","score":"0.0","text":"@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.toolbarnavigation, menu);\r\n return true;\r\n }","title":""}],"string":"[\n {\n \"docid\": \"6aaffed15b43626074b84e6112cb0fe6\",\n \"score\": \"0.0\",\n \"text\": \"@Override\\r\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.toolbarnavigation, menu);\\r\\n return true;\\r\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"d74efebd6fe79f46209a7e8cb2c52d89","score":"0.7182902","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater mif= getMenuInflater();\n\t\tmif.inflate(R.menu.main_activity_action, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}","title":""},{"docid":"fbc818363f43bfa4def513470fc61eb3","score":"0.70953584","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n \n }","title":""},{"docid":"9813d71a4b724b9d132f23a2cb80322c","score":"0.70787674","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main_activity_actions, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}","title":""},{"docid":"9813d71a4b724b9d132f23a2cb80322c","score":"0.70787674","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main_activity_actions, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}","title":""},{"docid":"4f67034b0c009c91afff1a3c9ce6240a","score":"0.7026569","text":"@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\r\n inflater.inflate(R.menu.main_activities_actions, menu);\r\n return super.onCreateOptionsMenu(menu);\r\n }","title":""},{"docid":"1ae01ac120460ecb9278d0ee2036eb5a","score":"0.69988716","text":"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tthis.getMenuInflater().inflate(R.menu.main_activity_actions, menu);\r\n\t\treturn super.onCreateOptionsMenu(menu);\r\n\t}","title":""},{"docid":"d9f8dccdf948d8ba404dd4ab8dcf4fab","score":"0.6955428","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater=getMenuInflater();\n inflater.inflate(R.menu.bar, menu);\n return true;\n }","title":""},{"docid":"2066a0138662a0f763a22c8eefb48727","score":"0.6921628","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.action_buttons, menu); // loads the action buttons @action_buttons.xml\n return super.onCreateOptionsMenu(menu);\n\t}","title":""},{"docid":"d317d5cdf47c613388dc87fa624092cf","score":"0.69179773","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main, menu);\n \treturn super.onCreateOptionsMenu(menu);\n\t}","title":""},{"docid":"47d16fa25d516c847da78250e2c606c7","score":"0.6916928","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"47d16fa25d516c847da78250e2c606c7","score":"0.6916928","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"47d16fa25d516c847da78250e2c606c7","score":"0.6916928","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"47d16fa25d516c847da78250e2c606c7","score":"0.6916928","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"509fae1ba18012276eddf232dcd6d282","score":"0.69046056","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.action_bar, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"e1c5959fedb949b948373ccfa85852c4","score":"0.6902698","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n\n }","title":""},{"docid":"4d0d7a830c288fb93503f933974685fe","score":"0.6887943","text":"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\r\n\t\tinflater.inflate(R.menu.main_menu, menu);\r\n\t\treturn super.onCreateOptionsMenu(menu);\r\n\t}","title":""},{"docid":"a3151c4e13cae7dacb6dec6daf295d1a","score":"0.6880202","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.item, menu);\n\t\treturn true;\n\t}","title":""},{"docid":"451b71888e43598067b4eda39f0ffe42","score":"0.68761444","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_items, menu); //Inflate the menu called menu_items and display on tool bar\n return true;\n }","title":""},{"docid":"4b695542930b2e201fe9008a5ab09b12","score":"0.68758297","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.archive, menu);\n\t\treturn true;\n\t}","title":""},{"docid":"a924bfd5d9db8594d922ba94de06300c","score":"0.68707335","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"1a035ab9f1345858047008a1bcc3fa4c","score":"0.687023","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater menuInflater = new MenuInflater(this);\n menuInflater.inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"af7225c9bd422c4118f1c584f5a5f619","score":"0.6866039","text":"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.holder, menu);\r\n\t\treturn true;\r\n\t}","title":""},{"docid":"7c7f52bc85432234ee2050f101ef1659","score":"0.68621665","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}","title":""},{"docid":"adeb821bed22cdc354bbd21fc992fa61","score":"0.6847388","text":"@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\n super.onCreateOptionsMenu(menu);\r\n MenuInflater blowup=getMenuInflater();\r\n blowup.inflate(R.menu.menu, menu);\r\n return true;\r\n }","title":""},{"docid":"82c234879313705c11bfce72b53dcae0","score":"0.6846226","text":"@Override\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.inventory, menu);\n \t\treturn true;\n \t}","title":""},{"docid":"c9ae23a98029ee7ecf5e58c84bb404cd","score":"0.684009","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n getMenuInflater().inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"77b5a3be405fc7842bcdff35e4968b6b","score":"0.68381715","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tsuper.onCreateOptionsMenu(menu);\n\t\tMenuInflater inflater = getMenuInflater();\n\t\t/* getMenuInflater() */inflater.inflate(R.menu.menu, menu);\n\t\treturn true;\n\t}","title":""},{"docid":"3e94ddb059e739ddb4b096f022f97ece","score":"0.6833407","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.actions, menu);\n\t\treturn true;\n\t}","title":""},{"docid":"b83018f1aef05ed30131b15e514f07ac","score":"0.6823394","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n }","title":""},{"docid":"a6ba221423784f86e4efcf17cdf92606","score":"0.6813087","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);//Menu Resource, Menu\n return true;\n }","title":""},{"docid":"4f7c5df11c44d860667748976361a1a3","score":"0.6809537","text":"@Override\npublic boolean onCreateOptionsMenu(Menu menu) {\n\tMenuInflater inflator=getMenuInflater();\n\tinflator.inflate(R.menu.menu, menu);\n\treturn true;\n}","title":""},{"docid":"bc31c73990e5b0d621c4e7a1dfc61faa","score":"0.68021864","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n Log.i(\"menu\",\"getmenuinflater\");\n return true;\n }","title":""},{"docid":"1771f60acf022163d7b00bdd2deb1cb3","score":"0.67977905","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"ea6c841abb9876e1b4160ca652078e91","score":"0.6791314","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t inflater.inflate(R.menu.menu, menu);\n\t \n\t\treturn super.onCreateOptionsMenu(menu);\n\t}","title":""},{"docid":"75fc012d3b4ad5c03f315d95069f4ad5","score":"0.6785732","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.lateral, menu);\n return true;\n }","title":""},{"docid":"9c2aab8b80c508c4c2ce9d34a7f5774f","score":"0.6785593","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater awesome = getMenuInflater();\n\t\tawesome.inflate(R.menu.main_menu, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t\t\n\t}","title":""},{"docid":"fe2f2293c791d75fbd7451d031ac53b5","score":"0.67755157","text":"@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\r\n MenuInflater inflater = getMenuInflater();\r\n inflater.inflate(R.menu.menu_items,menu);\r\n return true;\r\n }","title":""},{"docid":"46f1e4eed2dab6007835ce1ac36e1c92","score":"0.67754984","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menubar, menu);\n return true;\n }","title":""},{"docid":"6a21d407035dd3e243859db1a74c70ed","score":"0.67746866","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_actions, menu);\n return true;\n }","title":""},{"docid":"9191995182c9174a1544c51a98e5e750","score":"0.6773825","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_archive, menu);\n return true;\n }","title":""},{"docid":"53665231caec76382079118f8bb36336","score":"0.67670035","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.main, menu);\n }","title":""},{"docid":"53665231caec76382079118f8bb36336","score":"0.67670035","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.main, menu);\n }","title":""},{"docid":"e75892cebd2cb749accb826f4b2ce487","score":"0.67633086","text":"@Override\npublic boolean onCreateOptionsMenu(Menu menu) {\n\t MenuInflater inflater=new MenuInflater(this);\n\t inflater.inflate(R.menu.main, menu);\n\t \n\treturn super.onCreateOptionsMenu(menu);\n}","title":""},{"docid":"ca3327872559a9645484bbaa602e9250","score":"0.67531055","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater im = getMenuInflater();\n\t\tim.inflate(R.menu.cool_menu, menu);\n\t\treturn true;\n\n\t}","title":""},{"docid":"6593b9da4a59c909d5b933290320419b","score":"0.6752168","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.items, menu);\n return true;\n }","title":""},{"docid":"6593b9da4a59c909d5b933290320419b","score":"0.6752168","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.items, menu);\n return true;\n }","title":""},{"docid":"a9f72b0a5cecfa9aeb8dd243e10fab29","score":"0.6748495","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_toolbar_actionbar, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"a297d8c9b74bd43bd9c9924098dcda55","score":"0.6746953","text":"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.inventory, menu);\r\n\t\treturn true;\r\n\t}","title":""},{"docid":"794a1678f2483bc46fb5f63e48dd8b14","score":"0.6743387","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.actions, menu);\n return true;\n }","title":""},{"docid":"e1fc9a05fefe49e78b37db80a35ac64b","score":"0.674201","text":"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t\tMenuItem item1 = menu.add(0, 0, 0, \"All Delete\");\n\t\titem1.setIcon(android.R.drawable.ic_menu_edit);\n\t\titem1.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);\n\t}","title":""},{"docid":"c619adec870dd0596de07ac23e3ee955","score":"0.6722745","text":"@Override\r\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\r\n\t}","title":""},{"docid":"7beece16a3151963d6658b28e9b28066","score":"0.67226785","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"762bd7d6305624fb3ed918f668cd10cc","score":"0.67205226","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.menu_main, menu);\n }","title":""},{"docid":"70cf5cfa728c4168bad2a370e23963d2","score":"0.67163664","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(toolbar_res, menu);\n return true;\n }","title":""},{"docid":"88a308ef320dea5a54ba8df857f33c55","score":"0.67136246","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_lateral, menu);\n return true;\n }","title":""},{"docid":"c61efb498e78bf50a1e6733f4c10b428","score":"0.6712936","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n\n MenuInflater menuInflater= getMenuInflater();\n\n menuInflater.inflate(R.menu.main_menu, menu);\n\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"68ff5248461aa52f1d14fba35beb0c24","score":"0.6704989","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater menuInflater=getMenuInflater();\n menuInflater.inflate(R.menu.menu, menu);\n //getMenuInflater().inflate(R.menu.menu_main, menu);\n return true;\n }","title":""},{"docid":"d7cb657b98ec4dd6045fdcea2d92a817","score":"0.670269","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\t\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}","title":""},{"docid":"6f40aaf480c62338798d3697d6f15938","score":"0.6696186","text":"public boolean onCreateOptionsMenu(android.view.Menu menu) {\n\t\t\tsuper.onCreateOptionsMenu(menu);\n\t\t\tMenuInflater blowup=getMenuInflater();\n\t\t\tblowup.inflate(R.menu.main, menu);\n\t\t\treturn true;\n\t\t}","title":""},{"docid":"4ed8e9e26b9ef0556b32d687e92b86af","score":"0.6695448","text":"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t super.onCreateOptionsMenu(menu, inflater);\n\t}","title":""},{"docid":"2c3f6225a3db9c3fc9a58a3e0c87a920","score":"0.66928923","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu){\n getMenuInflater().inflate(R.menu.action_bar, menu);\n return true;\n }","title":""},{"docid":"f705af98b22b81d8cfdcdaca7fe37a29","score":"0.6691919","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.main, menu);\n\n super.onCreateOptionsMenu(menu,inflater);\n }","title":""},{"docid":"d62db5cecbe9745b88ab74e4d7881798","score":"0.66881996","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.main, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }","title":""},{"docid":"58b51e90d6d0a69b04c4cd210f2e31b4","score":"0.6686782","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_main, menu);//Menu Resource, Menu\n return true;\n }","title":""},{"docid":"213f076590e745bf6792506509ae0c3d","score":"0.6683743","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.actionbar_menu, menu);\n\t\treturn true;\n\t}","title":""},{"docid":"3466c6986f2fe141e0161be6d135b76d","score":"0.667976","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater M = getMenuInflater();\n M.inflate(R.menu.main, menu);\n\n // getMenuInflater().inflate(R.main.main, main);\n return true;\n }","title":""},{"docid":"0b6599173ec5768f63e35e5407a9ea95","score":"0.66750103","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\n super.onCreateOptionsMenu(menu, inflater);\n }","title":""},{"docid":"86c590ff738fa4c01f843813579dbf51","score":"0.66742015","text":"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tinflater.inflate(R.menu.modulesfragment_actionbar, menu);\n\t\t\n\t\tif(exam != null) {\n\t\t\tmenu.removeItem(R.id.action_add_exam);\n\t\t}\n\t}","title":""},{"docid":"b93a1090c194037dc76c79a162e44ee5","score":"0.66728455","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)\n {\n super.onCreateOptionsMenu(menu, inflater);\n }","title":""},{"docid":"89d08db6734f62c736882b3842146a6c","score":"0.66676044","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"c356a9baad005daaee9b4b000d81de39","score":"0.6663499","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}","title":""},{"docid":"aba1fba6ddcb6bb43753edbad2938279","score":"0.66625786","text":"@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\n \tgetMenuInflater().inflate(R.menu.main, menu);\r\n \treturn true;\r\n }","title":""},{"docid":"68e3b122be1d5c7f8c5453023920e99e","score":"0.6662311","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n }","title":""},{"docid":"266afa8e337221c867730ce499a1a9bf","score":"0.6661733","text":"@Override\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.main_screen, menu);\n \t\treturn true;\n \t}","title":""},{"docid":"9e90ee9aba69fb886ba0bf4523a44895","score":"0.66609097","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n }","title":""},{"docid":"9e90ee9aba69fb886ba0bf4523a44895","score":"0.66609097","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n }","title":""},{"docid":"57a00d62db4e95d21c2686f9de75c8e3","score":"0.66600406","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_food_items, menu);\n return true;\n }","title":""},{"docid":"9a283eccc2fb94f0580cb8fe3eeb300b","score":"0.6657578","text":"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}","title":""},{"docid":"9a283eccc2fb94f0580cb8fe3eeb300b","score":"0.6657578","text":"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}","title":""},{"docid":"834f6c62845d947459df685b80dd2f2d","score":"0.6656586","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n }","title":""},{"docid":"d80517ef6e8c1d2bb16beb0228b07bd5","score":"0.6656327","text":"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}","title":""},{"docid":"a3c651a9a3cd0bab9669c2a6e4a05b29","score":"0.66533417","text":"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.xml__id, menu);\n\t\treturn true;\n\t}","title":""},{"docid":"3e8720a0ec0a7b29939158c5939793e8","score":"0.6650132","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"1636840ec330d0059f2dc0682da90483","score":"0.66490555","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n\n }","title":""},{"docid":"09b93fe42ba987456e7fe8007339cc0c","score":"0.6642647","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.my_items_list, menu);\n return true;\n }","title":""},{"docid":"e4259acba5563ad673e43d4331c2b8de","score":"0.66410965","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater menuInflater = getMenuInflater();\n menuInflater.inflate(R.menu.main_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"bffd5822f812f403e58aaeab74256590","score":"0.6639924","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.mainbasket, menu);\n return true;\n }","title":""},{"docid":"e2e647c65783c7d50584c0a3d7fc2874","score":"0.66383636","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n actionBarMenu = menu;\n getMenuInflater().inflate(R.menu.main, menu);\n return true;\n }","title":""},{"docid":"ba79c1c8dc121f6767fffd2174489c3c","score":"0.66367024","text":"@Override\n public boolean onCreateOptionsMenu(android.view.Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return true;\n }","title":""},{"docid":"d489782153a062021a100d0839c9f034","score":"0.66360873","text":"@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\n \tgetMenuInflater().inflate(R.menu.main, menu);\r\n \treturn true;\r\n }","title":""},{"docid":"896f040bae68c8182568c18af9f1b080","score":"0.6634786","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"896f040bae68c8182568c18af9f1b080","score":"0.6634786","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"896f040bae68c8182568c18af9f1b080","score":"0.6634786","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"896f040bae68c8182568c18af9f1b080","score":"0.6634786","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"2070510652543f64ffa0e9fcbc7cead6","score":"0.66335195","text":"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n if(menu.findItem(R.id.add_feed_menu) != null){\n menu.findItem(R.id.add_feed_menu).setVisible(true);\n menu.findItem(R.id.refresh_menu).setVisible(true);\n }\n }","title":""},{"docid":"e9e40756280254842ea3abc90e82d898","score":"0.6633264","text":"@Override\r\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tMenuInflater inflater = getMenuInflater();\r\n \t\tinflater.inflate(R.menu.add_illustration_menu, menu);\r\n \r\n \t\tinflater.inflate(R.menu.standard_menu, menu);\r\n \t\treturn super.onCreateOptionsMenu(menu);\r\n \t}","title":""},{"docid":"4dbc23a78c228b5dd7745f51c9e3cb1e","score":"0.66329557","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.activity_main, menu);\n return super.onCreateOptionsMenu(menu);\n }","title":""},{"docid":"45442c87d381deee3a66e950c314c3b6","score":"0.6632049","text":"@Override\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.main, menu);\n \t\treturn true;\n \t}","title":""},{"docid":"45442c87d381deee3a66e950c314c3b6","score":"0.6632049","text":"@Override\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.main, menu);\n \t\treturn true;\n \t}","title":""},{"docid":"e1a12324b9f13e82d6f713ef97f3b274","score":"0.66315657","text":"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.action_bar, menu);\n return true;\n }","title":""},{"docid":"c769f4224e575554d1426fe804c708a9","score":"0.66269803","text":"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.poi_item_manager, menu);\r\n\t\treturn true;\r\n\t}","title":""}],"string":"[\n {\n \"docid\": \"d74efebd6fe79f46209a7e8cb2c52d89\",\n \"score\": \"0.7182902\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tMenuInflater mif= getMenuInflater();\\n\\t\\tmif.inflate(R.menu.main_activity_action, menu);\\n\\t\\treturn super.onCreateOptionsMenu(menu);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fbc818363f43bfa4def513470fc61eb3\",\n \"score\": \"0.70953584\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n \\tMenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.main_activity_actions, menu);\\n return super.onCreateOptionsMenu(menu);\\n \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9813d71a4b724b9d132f23a2cb80322c\",\n \"score\": \"0.70787674\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tMenuInflater inflater = getMenuInflater();\\n\\t\\tinflater.inflate(R.menu.main_activity_actions, menu);\\n\\t\\treturn super.onCreateOptionsMenu(menu);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9813d71a4b724b9d132f23a2cb80322c\",\n \"score\": \"0.70787674\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tMenuInflater inflater = getMenuInflater();\\n\\t\\tinflater.inflate(R.menu.main_activity_actions, menu);\\n\\t\\treturn super.onCreateOptionsMenu(menu);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4f67034b0c009c91afff1a3c9ce6240a\",\n \"score\": \"0.7026569\",\n \"text\": \"@Override\\r\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\r\\n inflater.inflate(R.menu.main_activities_actions, menu);\\r\\n return super.onCreateOptionsMenu(menu);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1ae01ac120460ecb9278d0ee2036eb5a\",\n \"score\": \"0.69988716\",\n \"text\": \"@Override\\r\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tthis.getMenuInflater().inflate(R.menu.main_activity_actions, menu);\\r\\n\\t\\treturn super.onCreateOptionsMenu(menu);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d9f8dccdf948d8ba404dd4ab8dcf4fab\",\n \"score\": \"0.6955428\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater=getMenuInflater();\\n inflater.inflate(R.menu.bar, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2066a0138662a0f763a22c8eefb48727\",\n \"score\": \"0.6921628\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n \\tMenuInflater inflater = getMenuInflater();\\n \\tinflater.inflate(R.menu.action_buttons, menu); // loads the action buttons @action_buttons.xml\\n return super.onCreateOptionsMenu(menu);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d317d5cdf47c613388dc87fa624092cf\",\n \"score\": \"0.69179773\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n \\tMenuInflater inflater = getMenuInflater();\\n \\tinflater.inflate(R.menu.main, menu);\\n \\treturn super.onCreateOptionsMenu(menu);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47d16fa25d516c847da78250e2c606c7\",\n \"score\": \"0.6916928\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.main_activity_actions, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47d16fa25d516c847da78250e2c606c7\",\n \"score\": \"0.6916928\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.main_activity_actions, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47d16fa25d516c847da78250e2c606c7\",\n \"score\": \"0.6916928\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.main_activity_actions, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47d16fa25d516c847da78250e2c606c7\",\n \"score\": \"0.6916928\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.main_activity_actions, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"509fae1ba18012276eddf232dcd6d282\",\n \"score\": \"0.69046056\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.action_bar, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e1c5959fedb949b948373ccfa85852c4\",\n \"score\": \"0.6902698\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.main_activity_actions, menu);\\n return super.onCreateOptionsMenu(menu);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4d0d7a830c288fb93503f933974685fe\",\n \"score\": \"0.6887943\",\n \"text\": \"@Override\\r\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tMenuInflater inflater = getMenuInflater();\\r\\n\\t\\tinflater.inflate(R.menu.main_menu, menu);\\r\\n\\t\\treturn super.onCreateOptionsMenu(menu);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a3151c4e13cae7dacb6dec6daf295d1a\",\n \"score\": \"0.6880202\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.item, menu);\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"451b71888e43598067b4eda39f0ffe42\",\n \"score\": \"0.68761444\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.menu_items, menu); //Inflate the menu called menu_items and display on tool bar\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4b695542930b2e201fe9008a5ab09b12\",\n \"score\": \"0.68758297\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.archive, menu);\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a924bfd5d9db8594d922ba94de06300c\",\n \"score\": \"0.68707335\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.main_activity_actions, menu);\\n\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1a035ab9f1345858047008a1bcc3fa4c\",\n \"score\": \"0.687023\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n \\tMenuInflater menuInflater = new MenuInflater(this);\\n menuInflater.inflate(R.menu.menu, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af7225c9bd422c4118f1c584f5a5f619\",\n \"score\": \"0.6866039\",\n \"text\": \"@Override\\r\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.holder, menu);\\r\\n\\t\\treturn true;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7c7f52bc85432234ee2050f101ef1659\",\n \"score\": \"0.68621665\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tMenuInflater inflater = getMenuInflater();\\n\\t\\tinflater.inflate(R.menu.main, menu);\\n\\t\\treturn super.onCreateOptionsMenu(menu);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"adeb821bed22cdc354bbd21fc992fa61\",\n \"score\": \"0.6847388\",\n \"text\": \"@Override\\r\\n public boolean onCreateOptionsMenu(Menu menu) {\\n super.onCreateOptionsMenu(menu);\\r\\n MenuInflater blowup=getMenuInflater();\\r\\n blowup.inflate(R.menu.menu, menu);\\r\\n return true;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"82c234879313705c11bfce72b53dcae0\",\n \"score\": \"0.6846226\",\n \"text\": \"@Override\\n \\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n \\t\\tgetMenuInflater().inflate(R.menu.inventory, menu);\\n \\t\\treturn true;\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c9ae23a98029ee7ecf5e58c84bb404cd\",\n \"score\": \"0.684009\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n \\tMenuInflater inflater = getMenuInflater();\\n getMenuInflater().inflate(R.menu.main, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"77b5a3be405fc7842bcdff35e4968b6b\",\n \"score\": \"0.68381715\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tsuper.onCreateOptionsMenu(menu);\\n\\t\\tMenuInflater inflater = getMenuInflater();\\n\\t\\t/* getMenuInflater() */inflater.inflate(R.menu.menu, menu);\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3e94ddb059e739ddb4b096f022f97ece\",\n \"score\": \"0.6833407\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.actions, menu);\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b83018f1aef05ed30131b15e514f07ac\",\n \"score\": \"0.6823394\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a6ba221423784f86e4efcf17cdf92606\",\n \"score\": \"0.6813087\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.menu, menu);//Menu Resource, Menu\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4f7c5df11c44d860667748976361a1a3\",\n \"score\": \"0.6809537\",\n \"text\": \"@Override\\npublic boolean onCreateOptionsMenu(Menu menu) {\\n\\tMenuInflater inflator=getMenuInflater();\\n\\tinflator.inflate(R.menu.menu, menu);\\n\\treturn true;\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bc31c73990e5b0d621c4e7a1dfc61faa\",\n \"score\": \"0.68021864\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.menu, menu);\\n Log.i(\\\"menu\\\",\\\"getmenuinflater\\\");\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1771f60acf022163d7b00bdd2deb1cb3\",\n \"score\": \"0.67977905\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.menu_, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ea6c841abb9876e1b4160ca652078e91\",\n \"score\": \"0.6791314\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tMenuInflater inflater = getMenuInflater();\\n\\t inflater.inflate(R.menu.menu, menu);\\n\\t \\n\\t\\treturn super.onCreateOptionsMenu(menu);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75fc012d3b4ad5c03f315d95069f4ad5\",\n \"score\": \"0.6785732\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.lateral, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9c2aab8b80c508c4c2ce9d34a7f5774f\",\n \"score\": \"0.6785593\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tMenuInflater awesome = getMenuInflater();\\n\\t\\tawesome.inflate(R.menu.main_menu, menu);\\n\\t\\treturn super.onCreateOptionsMenu(menu);\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fe2f2293c791d75fbd7451d031ac53b5\",\n \"score\": \"0.67755157\",\n \"text\": \"@Override\\r\\n public boolean onCreateOptionsMenu(Menu menu) {\\r\\n MenuInflater inflater = getMenuInflater();\\r\\n inflater.inflate(R.menu.menu_items,menu);\\r\\n return true;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"46f1e4eed2dab6007835ce1ac36e1c92\",\n \"score\": \"0.67754984\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.menubar, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6a21d407035dd3e243859db1a74c70ed\",\n \"score\": \"0.67746866\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.menu_actions, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9191995182c9174a1544c51a98e5e750\",\n \"score\": \"0.6773825\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.menu_archive, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"53665231caec76382079118f8bb36336\",\n \"score\": \"0.67670035\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n inflater.inflate(R.menu.main, menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"53665231caec76382079118f8bb36336\",\n \"score\": \"0.67670035\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n inflater.inflate(R.menu.main, menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e75892cebd2cb749accb826f4b2ce487\",\n \"score\": \"0.67633086\",\n \"text\": \"@Override\\npublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t MenuInflater inflater=new MenuInflater(this);\\n\\t inflater.inflate(R.menu.main, menu);\\n\\t \\n\\treturn super.onCreateOptionsMenu(menu);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ca3327872559a9645484bbaa602e9250\",\n \"score\": \"0.67531055\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tMenuInflater im = getMenuInflater();\\n\\t\\tim.inflate(R.menu.cool_menu, menu);\\n\\t\\treturn true;\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6593b9da4a59c909d5b933290320419b\",\n \"score\": \"0.6752168\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.items, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6593b9da4a59c909d5b933290320419b\",\n \"score\": \"0.6752168\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.items, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a9f72b0a5cecfa9aeb8dd243e10fab29\",\n \"score\": \"0.6748495\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.menu_toolbar_actionbar, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a297d8c9b74bd43bd9c9924098dcda55\",\n \"score\": \"0.6746953\",\n \"text\": \"@Override\\r\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.inventory, menu);\\r\\n\\t\\treturn true;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"794a1678f2483bc46fb5f63e48dd8b14\",\n \"score\": \"0.6743387\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.actions, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e1fc9a05fefe49e78b37db80a35ac64b\",\n \"score\": \"0.674201\",\n \"text\": \"@Override\\n\\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n\\t\\tsuper.onCreateOptionsMenu(menu, inflater);\\n\\t\\tMenuItem item1 = menu.add(0, 0, 0, \\\"All Delete\\\");\\n\\t\\titem1.setIcon(android.R.drawable.ic_menu_edit);\\n\\t\\titem1.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c619adec870dd0596de07ac23e3ee955\",\n \"score\": \"0.6722745\",\n \"text\": \"@Override\\r\\n\\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n\\t\\tsuper.onCreateOptionsMenu(menu, inflater);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7beece16a3151963d6658b28e9b28066\",\n \"score\": \"0.67226785\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.menu, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"762bd7d6305624fb3ed918f668cd10cc\",\n \"score\": \"0.67205226\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n super.onCreateOptionsMenu(menu, inflater);\\n inflater.inflate(R.menu.menu_main, menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"70cf5cfa728c4168bad2a370e23963d2\",\n \"score\": \"0.67163664\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(toolbar_res, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"88a308ef320dea5a54ba8df857f33c55\",\n \"score\": \"0.67136246\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.menu_lateral, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c61efb498e78bf50a1e6733f4c10b428\",\n \"score\": \"0.6712936\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n\\n MenuInflater menuInflater= getMenuInflater();\\n\\n menuInflater.inflate(R.menu.main_menu, menu);\\n\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"68ff5248461aa52f1d14fba35beb0c24\",\n \"score\": \"0.6704989\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater menuInflater=getMenuInflater();\\n menuInflater.inflate(R.menu.menu, menu);\\n //getMenuInflater().inflate(R.menu.menu_main, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d7cb657b98ec4dd6045fdcea2d92a817\",\n \"score\": \"0.670269\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.main, menu);\\n\\t\\t\\n\\t\\treturn super.onCreateOptionsMenu(menu);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6f40aaf480c62338798d3697d6f15938\",\n \"score\": \"0.6696186\",\n \"text\": \"public boolean onCreateOptionsMenu(android.view.Menu menu) {\\n\\t\\t\\tsuper.onCreateOptionsMenu(menu);\\n\\t\\t\\tMenuInflater blowup=getMenuInflater();\\n\\t\\t\\tblowup.inflate(R.menu.main, menu);\\n\\t\\t\\treturn true;\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4ed8e9e26b9ef0556b32d687e92b86af\",\n \"score\": \"0.6695448\",\n \"text\": \"@Override\\n\\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n\\t super.onCreateOptionsMenu(menu, inflater);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2c3f6225a3db9c3fc9a58a3e0c87a920\",\n \"score\": \"0.66928923\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu){\\n getMenuInflater().inflate(R.menu.action_bar, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f705af98b22b81d8cfdcdaca7fe37a29\",\n \"score\": \"0.6691919\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n inflater.inflate(R.menu.main, menu);\\n\\n super.onCreateOptionsMenu(menu,inflater);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d62db5cecbe9745b88ab74e4d7881798\",\n \"score\": \"0.66881996\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n inflater.inflate(R.menu.main, menu);\\n super.onCreateOptionsMenu(menu, inflater);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"58b51e90d6d0a69b04c4cd210f2e31b4\",\n \"score\": \"0.6686782\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.menu_main, menu);//Menu Resource, Menu\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"213f076590e745bf6792506509ae0c3d\",\n \"score\": \"0.6683743\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.actionbar_menu, menu);\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3466c6986f2fe141e0161be6d135b76d\",\n \"score\": \"0.667976\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater M = getMenuInflater();\\n M.inflate(R.menu.main, menu);\\n\\n // getMenuInflater().inflate(R.main.main, main);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0b6599173ec5768f63e35e5407a9ea95\",\n \"score\": \"0.66750103\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n\\n super.onCreateOptionsMenu(menu, inflater);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"86c590ff738fa4c01f843813579dbf51\",\n \"score\": \"0.66742015\",\n \"text\": \"@Override\\n\\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n\\t\\tinflater.inflate(R.menu.modulesfragment_actionbar, menu);\\n\\t\\t\\n\\t\\tif(exam != null) {\\n\\t\\t\\tmenu.removeItem(R.id.action_add_exam);\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b93a1090c194037dc76c79a162e44ee5\",\n \"score\": \"0.66728455\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)\\n {\\n super.onCreateOptionsMenu(menu, inflater);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"89d08db6734f62c736882b3842146a6c\",\n \"score\": \"0.66676044\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n\\n getMenuInflater().inflate(R.menu.menu, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c356a9baad005daaee9b4b000d81de39\",\n \"score\": \"0.6663499\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\t\\n\\t\\tgetMenuInflater().inflate(R.menu.main, menu);\\n\\t\\treturn super.onCreateOptionsMenu(menu);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aba1fba6ddcb6bb43753edbad2938279\",\n \"score\": \"0.66625786\",\n \"text\": \"@Override\\r\\n public boolean onCreateOptionsMenu(Menu menu) {\\n \\tgetMenuInflater().inflate(R.menu.main, menu);\\r\\n \\treturn true;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"68e3b122be1d5c7f8c5453023920e99e\",\n \"score\": \"0.6662311\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n super.onCreateOptionsMenu(menu, inflater);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"266afa8e337221c867730ce499a1a9bf\",\n \"score\": \"0.6661733\",\n \"text\": \"@Override\\n \\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n \\t\\tgetMenuInflater().inflate(R.menu.main_screen, menu);\\n \\t\\treturn true;\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9e90ee9aba69fb886ba0bf4523a44895\",\n \"score\": \"0.66609097\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9e90ee9aba69fb886ba0bf4523a44895\",\n \"score\": \"0.66609097\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"57a00d62db4e95d21c2686f9de75c8e3\",\n \"score\": \"0.66600406\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.menu_food_items, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a283eccc2fb94f0580cb8fe3eeb300b\",\n \"score\": \"0.6657578\",\n \"text\": \"@Override\\n\\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n\\t\\tsuper.onCreateOptionsMenu(menu, inflater);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9a283eccc2fb94f0580cb8fe3eeb300b\",\n \"score\": \"0.6657578\",\n \"text\": \"@Override\\n\\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n\\t\\tsuper.onCreateOptionsMenu(menu, inflater);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"834f6c62845d947459df685b80dd2f2d\",\n \"score\": \"0.6656586\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n super.onCreateOptionsMenu(menu, inflater);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d80517ef6e8c1d2bb16beb0228b07bd5\",\n \"score\": \"0.6656327\",\n \"text\": \"@Override\\n\\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n\\n\\t\\tsuper.onCreateOptionsMenu(menu, inflater);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a3c651a9a3cd0bab9669c2a6e4a05b29\",\n \"score\": \"0.66533417\",\n \"text\": \"@Override\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.xml__id, menu);\\n\\t\\treturn true;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3e8720a0ec0a7b29939158c5939793e8\",\n \"score\": \"0.6650132\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.main_menu, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1636840ec330d0059f2dc0682da90483\",\n \"score\": \"0.66490555\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.main, menu);\\n return super.onCreateOptionsMenu(menu);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"09b93fe42ba987456e7fe8007339cc0c\",\n \"score\": \"0.6642647\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.my_items_list, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e4259acba5563ad673e43d4331c2b8de\",\n \"score\": \"0.66410965\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater menuInflater = getMenuInflater();\\n menuInflater.inflate(R.menu.main_menu, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bffd5822f812f403e58aaeab74256590\",\n \"score\": \"0.6639924\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.mainbasket, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e2e647c65783c7d50584c0a3d7fc2874\",\n \"score\": \"0.66383636\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n actionBarMenu = menu;\\n getMenuInflater().inflate(R.menu.main, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba79c1c8dc121f6767fffd2174489c3c\",\n \"score\": \"0.66367024\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(android.view.Menu menu) {\\n getMenuInflater().inflate(R.menu.menu, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d489782153a062021a100d0839c9f034\",\n \"score\": \"0.66360873\",\n \"text\": \"@Override\\r\\n public boolean onCreateOptionsMenu(Menu menu) {\\n \\tgetMenuInflater().inflate(R.menu.main, menu);\\r\\n \\treturn true;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"896f040bae68c8182568c18af9f1b080\",\n \"score\": \"0.6634786\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.menu, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"896f040bae68c8182568c18af9f1b080\",\n \"score\": \"0.6634786\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.menu, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"896f040bae68c8182568c18af9f1b080\",\n \"score\": \"0.6634786\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.menu, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"896f040bae68c8182568c18af9f1b080\",\n \"score\": \"0.6634786\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.menu, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2070510652543f64ffa0e9fcbc7cead6\",\n \"score\": \"0.66335195\",\n \"text\": \"@Override\\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\\n super.onCreateOptionsMenu(menu, inflater);\\n if(menu.findItem(R.id.add_feed_menu) != null){\\n menu.findItem(R.id.add_feed_menu).setVisible(true);\\n menu.findItem(R.id.refresh_menu).setVisible(true);\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e9e40756280254842ea3abc90e82d898\",\n \"score\": \"0.6633264\",\n \"text\": \"@Override\\r\\n \\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n \\t\\tMenuInflater inflater = getMenuInflater();\\r\\n \\t\\tinflater.inflate(R.menu.add_illustration_menu, menu);\\r\\n \\r\\n \\t\\tinflater.inflate(R.menu.standard_menu, menu);\\r\\n \\t\\treturn super.onCreateOptionsMenu(menu);\\r\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4dbc23a78c228b5dd7745f51c9e3cb1e\",\n \"score\": \"0.66329557\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n MenuInflater inflater = getMenuInflater();\\n inflater.inflate(R.menu.activity_main, menu);\\n return super.onCreateOptionsMenu(menu);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45442c87d381deee3a66e950c314c3b6\",\n \"score\": \"0.6632049\",\n \"text\": \"@Override\\n \\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n \\t\\tgetMenuInflater().inflate(R.menu.main, menu);\\n \\t\\treturn true;\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45442c87d381deee3a66e950c314c3b6\",\n \"score\": \"0.6632049\",\n \"text\": \"@Override\\n \\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n \\t\\tgetMenuInflater().inflate(R.menu.main, menu);\\n \\t\\treturn true;\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e1a12324b9f13e82d6f713ef97f3b274\",\n \"score\": \"0.66315657\",\n \"text\": \"@Override\\n public boolean onCreateOptionsMenu(Menu menu) {\\n getMenuInflater().inflate(R.menu.action_bar, menu);\\n return true;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c769f4224e575554d1426fe804c708a9\",\n \"score\": \"0.66269803\",\n \"text\": \"@Override\\r\\n\\tpublic boolean onCreateOptionsMenu(Menu menu) {\\n\\t\\tgetMenuInflater().inflate(R.menu.poi_item_manager, menu);\\r\\n\\t\\treturn true;\\r\\n\\t}\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":396,"cells":{"query_id":{"kind":"string","value":"96a3e6a1f895703cdacbfb0988f7a87c"},"query":{"kind":"string","value":"/ get int 1 or 0 for boolean b"},"positive_passages":{"kind":"list like","value":[{"docid":"38f11f9f307f5e7b116ff83267e6850d","score":"0.8063362","text":"public static int booleanValue(boolean b) {\n\t\tint i;\n\t\ti = b ? 1 : 0;\n\t\treturn i;\n\t}","title":""}],"string":"[\n {\n \"docid\": \"38f11f9f307f5e7b116ff83267e6850d\",\n \"score\": \"0.8063362\",\n \"text\": \"public static int booleanValue(boolean b) {\\n\\t\\tint i;\\n\\t\\ti = b ? 1 : 0;\\n\\t\\treturn i;\\n\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"d866cbad783042476468001cddaf5162","score":"0.8242461","text":"private int booleanToInteger(boolean b){\n return b ? 1 : 0;\n }","title":""},{"docid":"239049029908ce64e22c280dbc81ba87","score":"0.79211825","text":"private int btoi(boolean b){\n if(b) return 1;\n else return 0;\n }","title":""},{"docid":"fddfa47ed0653dc9bfa60ec92c0c252a","score":"0.7905178","text":"public static int toInt(boolean b) {\n\t\treturn b ? 1 : 0;\n\t}","title":""},{"docid":"8dd5ee5efa91253eee62bcdef9f2a8b4","score":"0.7641235","text":"public int boolValue(boolean value);","title":""},{"docid":"9ce218fb36b2471e7f51ecdfebd4944a","score":"0.7075214","text":"public static int convertBooleanToInt( boolean aValue )\r\n {\r\n return aValue ? TRUE : FALSE;\r\n }","title":""},{"docid":"e39ae62b0a488884765a4f0687895643","score":"0.70302343","text":"boolean getBoolValue();","title":""},{"docid":"2d57ce1c6d5a62cc382b604d6871f4d7","score":"0.7028382","text":"public static SchemeBoolean getBoolean(boolean b)\n {\n \tif (b)\n return TRUE;\n\telse\n\t return FALSE;\n }","title":""},{"docid":"546d0cac6e8909bf2f317e3afa91eaeb","score":"0.6925652","text":"@Override\n\tpublic Value visitBooleanLiteral(BooleanLiteral nd) {\n\t\t/*\n\t\t * TODO: return something meaningful here (hint: translate 'true' to integer\n\t\t * constant 1, 'false' to integer constant 0)\n\t\t */\n\t\tif (nd.getValue())\n\t\t\treturn IntConstant.v(1);\n\t\telse\n\t\t\treturn IntConstant.v(0);\n\t}","title":""},{"docid":"3bf0c82d00247c8f28eba4f65335d4bc","score":"0.678166","text":"boolean getBool();","title":""},{"docid":"7a6cdc575744a282e9936357447ec1b9","score":"0.6757509","text":"boolean getBooleanValue();","title":""},{"docid":"c089c38e01ed7813a87c32aae2938bd1","score":"0.67361003","text":"Boolean getBooleanValue();","title":""},{"docid":"fb919cf46eda7d531ef38a884e3c0544","score":"0.66758144","text":"private boolean toBoolean(int i){\n return i != 0; //se e solo se != 0\n }","title":""},{"docid":"cf7782dd0cff9fcb63142b3e4ba90ad3","score":"0.65881175","text":"abstract boolean value();","title":""},{"docid":"5c82284570b9871d27ccecd17dcb5c8b","score":"0.6579536","text":"public boolean getAsBoolean ();","title":""},{"docid":"d54bbd9d6060131973fc5959bdca20d3","score":"0.653363","text":"public static void isTrue(boolean b) {\n\t\t\n\t}","title":""},{"docid":"26b20e4f6c05b4981b1d10315a938557","score":"0.6490512","text":"String getBoolean();","title":""},{"docid":"26b20e4f6c05b4981b1d10315a938557","score":"0.6490512","text":"String getBoolean();","title":""},{"docid":"854dbd55f08a0c20104f9b19ceb4d918","score":"0.646222","text":"public static Integer booleanToInteger(Boolean value) {\n return value ? Integer.valueOf(1) : Integer.valueOf(0);\n }","title":""},{"docid":"8c134b2244b7850ec7f183015334431d","score":"0.64529335","text":"Boolean createBoolean();","title":""},{"docid":"8c134b2244b7850ec7f183015334431d","score":"0.64529335","text":"Boolean createBoolean();","title":""},{"docid":"3fb7173f5e6758594d025ba7685ee4d1","score":"0.6443293","text":"private boolean integerToBoolean(int x){\n return x > 0 ? true: false;\n }","title":""},{"docid":"32e302d720faf3f249aea20da241a89f","score":"0.641326","text":"boolean isBoolean_01();","title":""},{"docid":"c5f247e4146e76afb24e2a1836a0a466","score":"0.6400018","text":"boolean isBoolean_1();","title":""},{"docid":"34f3f659a3148c0731d6ebbebea6c02b","score":"0.6374879","text":"public abstract Boolean getValue();","title":""},{"docid":"40359b9b248cf673b545e059bb00348e","score":"0.6371988","text":"public static boolean isTrue(Boolean b) {\r\n if (b == null) {\r\n return false;\r\n } else {\r\n return b;\r\n }\r\n }","title":""},{"docid":"47cf72f20449f4dfd730c297d5758418","score":"0.63221693","text":"public static boolean convertIntToBoolean( int aValue )\r\n {\r\n return aValue == TRUE;\r\n }","title":""},{"docid":"8da14237a730b3e14724658b9fc7c34d","score":"0.62972414","text":"static boolean cToBool(char c){\n boolean resp = false;\n if(c == '1')\n resp = true;\n return resp;\n }","title":""},{"docid":"f3717b7ed5a1b3ce9356c591ecb9a5ae","score":"0.62954444","text":"public boolean getBoolVal1(){\n\t\tif(!bboolVal1) assert(false);\n\t\treturn boolVal1;\n\t}","title":""},{"docid":"96aff0908f7950f458253d94a0525c13","score":"0.6286469","text":"BooleanVariableValue createBooleanVariableValue();","title":""},{"docid":"991ec9f71564bbe55493f114e0ae15fc","score":"0.62847173","text":"@Test public void representationOfBooleanPrimitive() throws Exception {\n assertEquals(\"b:1;\", representationOf(true));\n assertEquals(\"b:0;\", representationOf(false));\n }","title":""},{"docid":"e00d93b36d1669602dce3f439f94e51b","score":"0.62844515","text":"static native int jniParseBool(AtomicInteger out, String value);","title":""},{"docid":"ba1ce9f528a171100937638e369cdb08","score":"0.62787855","text":"public abstract boolean getValue();","title":""},{"docid":"7cdc4b99a23ad5946619c29bfe33e5a9","score":"0.62728864","text":"BoolExp (tree.Exp b) { bool = b; }","title":""},{"docid":"380ac20eecd5db6623f840152e4fb166","score":"0.61979914","text":"public static String getBoolValue(String myInt){\r\n \r\n switch(myInt){\r\n case \"1\": return \"true\";\r\n default: return \"false\";\r\n }\r\n }","title":""},{"docid":"30926f82cb0b674646dbe8d46ed59968","score":"0.61918586","text":"boolean m12623b();","title":""},{"docid":"94e99eb62c6d00a6994dc53240e5e463","score":"0.61779267","text":"public static native boolean truth(Object a) /*-{\n return a ? true : false;\n }-*/;","title":""},{"docid":"3ecd6dcb516a5c48c4a28f90d49657a8","score":"0.6171847","text":"public Object getValue () {\n return new Boolean ( true );\n }","title":""},{"docid":"f925b08b44f0e05c2d2b4572465524b7","score":"0.6159973","text":"public static PyObject __bor__bool_bool(PyBool l, PyBool obj){\n boolean res = l.value | obj.value;\n if(res){\n return PySingletons.True;\n }\n else{\n return PySingletons.False;\n }\n }","title":""},{"docid":"3b320e8179112cf0baf06a145a687214","score":"0.614999","text":"boolean value(State s);","title":""},{"docid":"6d57f5016161a8ee1a8b282f171fa896","score":"0.61284053","text":"@Override\n\tpublic int getOpRet() {\n\t\treturn opRet==true?1:0;\n\t}","title":""},{"docid":"2f1da1ad03a4689eff274b64e2fa94d1","score":"0.6100362","text":"boolean getFlag();","title":""},{"docid":"234b2b81e2aeffaf3398d2bc300a0f69","score":"0.6092668","text":"public boolean writeBoolean(String path, boolean b){\r\n\t\tif (b){\r\n\t\t\treturn writeString(path, Integer.toString(1));\r\n\t\t} \r\n\t\tif (!b){\r\n\t\t\treturn writeString(path, Integer.toString(0));\r\n\t\t}\r\n\t\treturn false;\r\n\t}","title":""},{"docid":"35ea595f129ce5a7fcd2f586cd2007bb","score":"0.6066358","text":"boolean hasBValue();","title":""},{"docid":"f3b479dbbc7f324f5c0d9b742eb91f15","score":"0.60462713","text":"boolean hasBoolValue();","title":""},{"docid":"1afebccea2f57a5ea29d5d1d8ba72d35","score":"0.60197914","text":"public static PyObject __bxor__bool_bool(PyBool l, PyBool obj){\n boolean res = l.value ^ obj.value;\n if(res){\n return PySingletons.True;\n }\n else{\n return PySingletons.False;\n }\n }","title":""},{"docid":"a5f91040c5b7cd0787bf07b6a92b6cd4","score":"0.6019734","text":"public static Byte booleanToByte(Boolean value) {\n return value ? (byte)1 : (byte)0;\n }","title":""},{"docid":"cb45a8290821574cac7e493d934ee81f","score":"0.6018245","text":"BooleanVariable createBooleanVariable();","title":""},{"docid":"cb45a8290821574cac7e493d934ee81f","score":"0.6018245","text":"BooleanVariable createBooleanVariable();","title":""},{"docid":"49c257ae47e20cc09fce565a8b37d89e","score":"0.6017441","text":"boolean getBooleanNext();","title":""},{"docid":"efb72bd52530892185591ee1442ec5e1","score":"0.60135883","text":"public boolean b() {\n boolean booleanValue;\n synchronized (e) {\n if (this.d == null) {\n this.d = Boolean.valueOf(g.a().c());\n }\n if (DJIA.DEV_FLAG) {\n DJIA.log.a(DJIA.LOG_TAG, \"mIsBaseInfoSent is \" + this.d);\n }\n booleanValue = this.d.booleanValue();\n }\n return booleanValue;\n }","title":""},{"docid":"e469c7a34110dd56a8ff8b6180c5fb24","score":"0.6009434","text":"public static Long booleanToLong(Boolean value) {\n return value? Long.valueOf(1) : Long.valueOf(0);\n }","title":""},{"docid":"06854b11c578163fe9d1a86ef30a5bdb","score":"0.6003766","text":"@Test public void representationOfBooleans() throws Exception {\n assertEquals(\"b:1;\", representationOf(new Boolean(true)));\n assertEquals(\"b:0;\", representationOf(new Boolean(false)));\n }","title":""},{"docid":"465268b9ce55574931ea27bd28d8c244","score":"0.59957165","text":"public Bool() {\n type = DataType.BaseType.BOOL;\n }","title":""},{"docid":"00cbba13a7194bac78be05d9a4d153a0","score":"0.59949684","text":"public abstract AnyBool asAnyBool();","title":""},{"docid":"bb9960ea0aede2b983b26a7c72e2bfff","score":"0.59919745","text":"public boolean getBool() {\n\t\tbyte b;\n\n\t\ttry { // Un booleano ocupa un byte. \n\t\t\tb = (byte) is.read();\n\n\t\t\tif (b == 0) { // Cero indica falso. \n\t\t\t\treturn false;\n\t\t\t} else { // Cualquier otro valor, cierto. \n\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (IOException ioe) {\n\t\t\treturn false;\n\t\t}\n\t}","title":""},{"docid":"63314d8485f1075377358c4890c1b1c3","score":"0.59855336","text":"boolean mo21731b();","title":""},{"docid":"db504a8540c31542fe4c048164413d0a","score":"0.5975688","text":"BoolType createBoolType();","title":""},{"docid":"fc068102b6c219f7cb5938094b5aff23","score":"0.5975203","text":"public Boolean getBval()\n {\n return bval; \n }","title":""},{"docid":"4058afef3d568ae47af8e0660f812cb0","score":"0.59748065","text":"public boolean getIsTrue(){return isTrue;}","title":""},{"docid":"d3dc9d65deee9c313df1bce51473de12","score":"0.5958469","text":"@DISPID(204) //= 0xcc. The runtime will prefer the VTID if present\r\n @VTID(13)\r\n boolean isBoolean();","title":""},{"docid":"8f71635a80fa0376022d606f8c50ca7b","score":"0.5955694","text":"public void method_4511(boolean var1) {\r\n String[] var2 = class_752.method_4253();\r\n int var10002 = var1;\r\n if(var2 != null) {\r\n var10002 = var1 != 0?1:0;\r\n }\r\n\r\n this.field_3036.method_9506(18, Byte.valueOf((byte)var10002));\r\n }","title":""},{"docid":"81f6a060d8fb13aac3a59bcb945b8924","score":"0.59553605","text":"public static PyObject __add__int_bool(PyInteger l, PyBool obj) {\n\n long r = (long)l.value;\n if (obj.value){\n r+=1;\n }\n\n if( r > (long)Integer.MAX_VALUE || r < (long)Integer.MIN_VALUE){\n return new PyLong(r);\n }\n return new PyInteger((int)r);\n\n }","title":""},{"docid":"3cbaef9768c859c8a47d7b325ef84db5","score":"0.5942853","text":"public boolean a() {\n return ((Boolean) a(Boolean.valueOf(this.a))).booleanValue();\n }","title":""},{"docid":"e9c98f453341d23f5839d54045163470","score":"0.59405583","text":"boolean getBoolean(int columnIndex) throws SQLException;","title":""},{"docid":"62c81adfd7dfb534d9616ddfe432a7ab","score":"0.59377664","text":"public String bool2String(boolean b) {\n\tif (b) { return getYes();}\n\telse { return getNo();}\n\n}","title":""},{"docid":"9d97b5ad68ed37f96cb1e59bb7676582","score":"0.593696","text":"public abstract Boolean asistir();","title":""},{"docid":"d15ad828cc22a24f0906041bb7020330","score":"0.59295315","text":"BoolConstant createBoolConstant();","title":""},{"docid":"a8fb6c8367f11c81357d3ea41ab0c995","score":"0.5919818","text":"public boolean b(int i2) {\n return i2 != 0 && (i2 & 1) == 0;\n }","title":""},{"docid":"c0753ae7e701cfd2ab8bc2c4ba36dd41","score":"0.591667","text":"public int b() { return b; }","title":""},{"docid":"928682effcac804b735b53ac7d1f23ec","score":"0.5911291","text":"void mo8325b(boolean z);","title":""},{"docid":"63ef595ba4563a0e97da7b0c38863bef","score":"0.5899309","text":"private boolean b(int paramInt)\r\n/* 53: */ {\r\n/* 54:53 */ return (paramInt & 0x1) == 0;\r\n/* 55: */ }","title":""},{"docid":"b4fd8a54c836ce685242074f8f68bbca","score":"0.58974826","text":"public Boolean getBoolean() {\n\tboolean b=sc.hasNextBoolean();\n\t\treturn b;\n\t}","title":""},{"docid":"13a1f79536f807036d038fbe0b835680","score":"0.5896472","text":"public static TypeDescriptor boolOp(TypeDescriptor a, TypeDescriptor b) {\n return (a.equals(boolType) && b.equals(boolType))\n ? boolType\n : errType;\n }","title":""},{"docid":"d6d09d321e1354d396c9f9915862bfb5","score":"0.58923805","text":"public boolean isBoolean();","title":""},{"docid":"1ca655a2f924b0f58f470b37e45d594a","score":"0.58901894","text":"public static SchemeBoolean getTrue()\n {\n\treturn TRUE;\n }","title":""},{"docid":"ddc6efbef1cc28084141135d6b0977cc","score":"0.5886432","text":"private int K(boolean k)\r\n {\r\n \t\treturn k ? 1 : -1;\r\n }","title":""},{"docid":"b0a3c6b1deaba56dc4f4cfd994700cb4","score":"0.5878657","text":"public void a(boolean paramBoolean) {\n/* 142 */ a(d.h, Boolean.valueOf(paramBoolean));\n/* */ }","title":""},{"docid":"daf46c8a08e02b94754953021b0f5964","score":"0.5868671","text":"@Override\n public boolean getBoolean1() {\n return getCv().getBoolean1();\n }","title":""},{"docid":"c46a4f700c8a7bf5acfd0de0cbea5098","score":"0.58660376","text":"public RubyBoolean getTrue() {\n return trueObject;\n }","title":""},{"docid":"77ff177dbc66adf56faefd9a18965863","score":"0.5863773","text":"public SimpleBoolean value(State s) {\r\n\t\treturn e.value(s);\r\n\t}","title":""},{"docid":"7548070bfb3dec5191c699d768d511b6","score":"0.5857665","text":"public static Boolean integerToBoolean(Integer value) {\n return value == 0 ? Boolean.FALSE : Boolean.TRUE;\n }","title":""},{"docid":"65f7325f7231dd208dc2266b219a1a42","score":"0.5848977","text":"public void b(boolean paramBoolean) {\n/* 177 */ a(d.g, Boolean.valueOf(paramBoolean));\n/* */ }","title":""},{"docid":"89f6cdf5dda653604b6202f84e27e70d","score":"0.584804","text":"public static DataType cboolean() {\n return primitiveTypeMap.get(Name.BOOLEAN);\n }","title":""},{"docid":"7eff3055b802bfae024d08d14c20de5a","score":"0.58475125","text":"public boolean getBoolean(String arg0) {\n\t\treturn false;\r\n\t}","title":""},{"docid":"aedfa2e4b4647a77bcab13aa6a3f0b2f","score":"0.5826846","text":"public boolean getBit(int index)\n\t{\n\t\treturn (val & (1 << index)) != 0;\n\t}","title":""},{"docid":"24364bbbe53c58ce93effd686550398e","score":"0.5825051","text":"BooleanLiteral createBooleanLiteral();","title":""},{"docid":"24364bbbe53c58ce93effd686550398e","score":"0.5825051","text":"BooleanLiteral createBooleanLiteral();","title":""},{"docid":"e788cff13284c47261cff1a9bae7d0d8","score":"0.5824864","text":"boolean interpret();","title":""},{"docid":"be3d3fe8eaa3b9299ad62d3097f28ffc","score":"0.58155257","text":"static native int jniGetBool(AtomicInteger out, long cfg, String name);","title":""},{"docid":"e7fd8d41af45710782e58815da155b9e","score":"0.5812757","text":"public int getBit() \r\n\t{\r\n\t\treturn bit;\r\n\t}","title":""},{"docid":"573cd63ba22bd8650fb76433e305eab2","score":"0.5812649","text":"Boolean isBooleanTerm1();","title":""},{"docid":"9e417c5e366dc30313ace69746057bb8","score":"0.5812079","text":"boolean getProposedBooleanValue(Variable var);","title":""},{"docid":"79074133508e320cef094986c28d7a38","score":"0.5808775","text":"@Test public void valueOfBoolean() throws Exception {\n assertEquals(true, valueOf(\"b:1;\"));\n assertEquals(false, valueOf(\"b:0;\"));\n }","title":""},{"docid":"311e3e82e30198b4e559e72cf9cc3fb9","score":"0.5806759","text":"boolean mo1179b();","title":""},{"docid":"3688a7738b9b712a84541474c1d1a02a","score":"0.58047473","text":"public static void isTrue(boolean b, String string) {\n\t\t\n\t}","title":""},{"docid":"65bb6c6d7ec1144a0c8adf1dade961b9","score":"0.5795026","text":"public final boolean a() {\n /*\n r5 = this;\n r4 = 28\n r1 = 1\n r2 = 0\n boolean r0 = r5.d\n if (r0 != 0) goto L_0x0023\n int r0 = android.os.Build.VERSION.SDK_INT\n if (r0 < r4) goto L_0x0025\n r0 = r1\n L_0x000d:\n boolean r3 = r5.a\n if (r3 == 0) goto L_0x001b\n int r3 = r5.b\n if (r3 > 0) goto L_0x0027\n r3 = r4\n L_0x0016:\n if (r3 < r4) goto L_0x002a\n r3 = r1\n L_0x0019:\n if (r3 == 0) goto L_0x002c\n L_0x001b:\n r3 = r1\n L_0x001c:\n if (r0 == 0) goto L_0x002e\n if (r3 == 0) goto L_0x002e\n r0 = r1\n L_0x0021:\n if (r0 == 0) goto L_0x0024\n L_0x0023:\n r2 = r1\n L_0x0024:\n return r2\n L_0x0025:\n r0 = r2\n goto L_0x000d\n L_0x0027:\n int r3 = r5.b\n goto L_0x0016\n L_0x002a:\n r3 = r2\n goto L_0x0019\n L_0x002c:\n r3 = r2\n goto L_0x001c\n L_0x002e:\n r0 = r2\n goto L_0x0021\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.loc.p.b.a():boolean\");\n }","title":""},{"docid":"4fe8a2339d9215402083bab238cbdc64","score":"0.57939506","text":"public static Boolean valueOf(Boolean value) {\r\n return value ? Boolean.TRUE : Boolean.FALSE;\r\n }","title":""},{"docid":"ce7cf9644a01dec264e70e698c7244c0","score":"0.5793906","text":"boolean mo134641b();","title":""},{"docid":"51caec6f82f59491fd3e355319018872","score":"0.5793676","text":"boolean mo13355a();","title":""},{"docid":"04072befb17959741ea39b99f0ee752d","score":"0.5777131","text":"boolean mo2324b();","title":""}],"string":"[\n {\n \"docid\": \"d866cbad783042476468001cddaf5162\",\n \"score\": \"0.8242461\",\n \"text\": \"private int booleanToInteger(boolean b){\\n return b ? 1 : 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"239049029908ce64e22c280dbc81ba87\",\n \"score\": \"0.79211825\",\n \"text\": \"private int btoi(boolean b){\\n if(b) return 1;\\n else return 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fddfa47ed0653dc9bfa60ec92c0c252a\",\n \"score\": \"0.7905178\",\n \"text\": \"public static int toInt(boolean b) {\\n\\t\\treturn b ? 1 : 0;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8dd5ee5efa91253eee62bcdef9f2a8b4\",\n \"score\": \"0.7641235\",\n \"text\": \"public int boolValue(boolean value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9ce218fb36b2471e7f51ecdfebd4944a\",\n \"score\": \"0.7075214\",\n \"text\": \"public static int convertBooleanToInt( boolean aValue )\\r\\n {\\r\\n return aValue ? TRUE : FALSE;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e39ae62b0a488884765a4f0687895643\",\n \"score\": \"0.70302343\",\n \"text\": \"boolean getBoolValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d57ce1c6d5a62cc382b604d6871f4d7\",\n \"score\": \"0.7028382\",\n \"text\": \"public static SchemeBoolean getBoolean(boolean b)\\n {\\n \\tif (b)\\n return TRUE;\\n\\telse\\n\\t return FALSE;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"546d0cac6e8909bf2f317e3afa91eaeb\",\n \"score\": \"0.6925652\",\n \"text\": \"@Override\\n\\tpublic Value visitBooleanLiteral(BooleanLiteral nd) {\\n\\t\\t/*\\n\\t\\t * TODO: return something meaningful here (hint: translate 'true' to integer\\n\\t\\t * constant 1, 'false' to integer constant 0)\\n\\t\\t */\\n\\t\\tif (nd.getValue())\\n\\t\\t\\treturn IntConstant.v(1);\\n\\t\\telse\\n\\t\\t\\treturn IntConstant.v(0);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3bf0c82d00247c8f28eba4f65335d4bc\",\n \"score\": \"0.678166\",\n \"text\": \"boolean getBool();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7a6cdc575744a282e9936357447ec1b9\",\n \"score\": \"0.6757509\",\n \"text\": \"boolean getBooleanValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c089c38e01ed7813a87c32aae2938bd1\",\n \"score\": \"0.67361003\",\n \"text\": \"Boolean getBooleanValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fb919cf46eda7d531ef38a884e3c0544\",\n \"score\": \"0.66758144\",\n \"text\": \"private boolean toBoolean(int i){\\n return i != 0; //se e solo se != 0\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cf7782dd0cff9fcb63142b3e4ba90ad3\",\n \"score\": \"0.65881175\",\n \"text\": \"abstract boolean value();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5c82284570b9871d27ccecd17dcb5c8b\",\n \"score\": \"0.6579536\",\n \"text\": \"public boolean getAsBoolean ();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d54bbd9d6060131973fc5959bdca20d3\",\n \"score\": \"0.653363\",\n \"text\": \"public static void isTrue(boolean b) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"26b20e4f6c05b4981b1d10315a938557\",\n \"score\": \"0.6490512\",\n \"text\": \"String getBoolean();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"26b20e4f6c05b4981b1d10315a938557\",\n \"score\": \"0.6490512\",\n \"text\": \"String getBoolean();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"854dbd55f08a0c20104f9b19ceb4d918\",\n \"score\": \"0.646222\",\n \"text\": \"public static Integer booleanToInteger(Boolean value) {\\n return value ? Integer.valueOf(1) : Integer.valueOf(0);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8c134b2244b7850ec7f183015334431d\",\n \"score\": \"0.64529335\",\n \"text\": \"Boolean createBoolean();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8c134b2244b7850ec7f183015334431d\",\n \"score\": \"0.64529335\",\n \"text\": \"Boolean createBoolean();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3fb7173f5e6758594d025ba7685ee4d1\",\n \"score\": \"0.6443293\",\n \"text\": \"private boolean integerToBoolean(int x){\\n return x > 0 ? true: false;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"32e302d720faf3f249aea20da241a89f\",\n \"score\": \"0.641326\",\n \"text\": \"boolean isBoolean_01();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c5f247e4146e76afb24e2a1836a0a466\",\n \"score\": \"0.6400018\",\n \"text\": \"boolean isBoolean_1();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"34f3f659a3148c0731d6ebbebea6c02b\",\n \"score\": \"0.6374879\",\n \"text\": \"public abstract Boolean getValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"40359b9b248cf673b545e059bb00348e\",\n \"score\": \"0.6371988\",\n \"text\": \"public static boolean isTrue(Boolean b) {\\r\\n if (b == null) {\\r\\n return false;\\r\\n } else {\\r\\n return b;\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"47cf72f20449f4dfd730c297d5758418\",\n \"score\": \"0.63221693\",\n \"text\": \"public static boolean convertIntToBoolean( int aValue )\\r\\n {\\r\\n return aValue == TRUE;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8da14237a730b3e14724658b9fc7c34d\",\n \"score\": \"0.62972414\",\n \"text\": \"static boolean cToBool(char c){\\n boolean resp = false;\\n if(c == '1')\\n resp = true;\\n return resp;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f3717b7ed5a1b3ce9356c591ecb9a5ae\",\n \"score\": \"0.62954444\",\n \"text\": \"public boolean getBoolVal1(){\\n\\t\\tif(!bboolVal1) assert(false);\\n\\t\\treturn boolVal1;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"96aff0908f7950f458253d94a0525c13\",\n \"score\": \"0.6286469\",\n \"text\": \"BooleanVariableValue createBooleanVariableValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"991ec9f71564bbe55493f114e0ae15fc\",\n \"score\": \"0.62847173\",\n \"text\": \"@Test public void representationOfBooleanPrimitive() throws Exception {\\n assertEquals(\\\"b:1;\\\", representationOf(true));\\n assertEquals(\\\"b:0;\\\", representationOf(false));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e00d93b36d1669602dce3f439f94e51b\",\n \"score\": \"0.62844515\",\n \"text\": \"static native int jniParseBool(AtomicInteger out, String value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ba1ce9f528a171100937638e369cdb08\",\n \"score\": \"0.62787855\",\n \"text\": \"public abstract boolean getValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7cdc4b99a23ad5946619c29bfe33e5a9\",\n \"score\": \"0.62728864\",\n \"text\": \"BoolExp (tree.Exp b) { bool = b; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"380ac20eecd5db6623f840152e4fb166\",\n \"score\": \"0.61979914\",\n \"text\": \"public static String getBoolValue(String myInt){\\r\\n \\r\\n switch(myInt){\\r\\n case \\\"1\\\": return \\\"true\\\";\\r\\n default: return \\\"false\\\";\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"30926f82cb0b674646dbe8d46ed59968\",\n \"score\": \"0.61918586\",\n \"text\": \"boolean m12623b();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"94e99eb62c6d00a6994dc53240e5e463\",\n \"score\": \"0.61779267\",\n \"text\": \"public static native boolean truth(Object a) /*-{\\n return a ? true : false;\\n }-*/;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3ecd6dcb516a5c48c4a28f90d49657a8\",\n \"score\": \"0.6171847\",\n \"text\": \"public Object getValue () {\\n return new Boolean ( true );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f925b08b44f0e05c2d2b4572465524b7\",\n \"score\": \"0.6159973\",\n \"text\": \"public static PyObject __bor__bool_bool(PyBool l, PyBool obj){\\n boolean res = l.value | obj.value;\\n if(res){\\n return PySingletons.True;\\n }\\n else{\\n return PySingletons.False;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3b320e8179112cf0baf06a145a687214\",\n \"score\": \"0.614999\",\n \"text\": \"boolean value(State s);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6d57f5016161a8ee1a8b282f171fa896\",\n \"score\": \"0.61284053\",\n \"text\": \"@Override\\n\\tpublic int getOpRet() {\\n\\t\\treturn opRet==true?1:0;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2f1da1ad03a4689eff274b64e2fa94d1\",\n \"score\": \"0.6100362\",\n \"text\": \"boolean getFlag();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"234b2b81e2aeffaf3398d2bc300a0f69\",\n \"score\": \"0.6092668\",\n \"text\": \"public boolean writeBoolean(String path, boolean b){\\r\\n\\t\\tif (b){\\r\\n\\t\\t\\treturn writeString(path, Integer.toString(1));\\r\\n\\t\\t} \\r\\n\\t\\tif (!b){\\r\\n\\t\\t\\treturn writeString(path, Integer.toString(0));\\r\\n\\t\\t}\\r\\n\\t\\treturn false;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"35ea595f129ce5a7fcd2f586cd2007bb\",\n \"score\": \"0.6066358\",\n \"text\": \"boolean hasBValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f3b479dbbc7f324f5c0d9b742eb91f15\",\n \"score\": \"0.60462713\",\n \"text\": \"boolean hasBoolValue();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1afebccea2f57a5ea29d5d1d8ba72d35\",\n \"score\": \"0.60197914\",\n \"text\": \"public static PyObject __bxor__bool_bool(PyBool l, PyBool obj){\\n boolean res = l.value ^ obj.value;\\n if(res){\\n return PySingletons.True;\\n }\\n else{\\n return PySingletons.False;\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a5f91040c5b7cd0787bf07b6a92b6cd4\",\n \"score\": \"0.6019734\",\n \"text\": \"public static Byte booleanToByte(Boolean value) {\\n return value ? (byte)1 : (byte)0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cb45a8290821574cac7e493d934ee81f\",\n \"score\": \"0.6018245\",\n \"text\": \"BooleanVariable createBooleanVariable();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cb45a8290821574cac7e493d934ee81f\",\n \"score\": \"0.6018245\",\n \"text\": \"BooleanVariable createBooleanVariable();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"49c257ae47e20cc09fce565a8b37d89e\",\n \"score\": \"0.6017441\",\n \"text\": \"boolean getBooleanNext();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"efb72bd52530892185591ee1442ec5e1\",\n \"score\": \"0.60135883\",\n \"text\": \"public boolean b() {\\n boolean booleanValue;\\n synchronized (e) {\\n if (this.d == null) {\\n this.d = Boolean.valueOf(g.a().c());\\n }\\n if (DJIA.DEV_FLAG) {\\n DJIA.log.a(DJIA.LOG_TAG, \\\"mIsBaseInfoSent is \\\" + this.d);\\n }\\n booleanValue = this.d.booleanValue();\\n }\\n return booleanValue;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e469c7a34110dd56a8ff8b6180c5fb24\",\n \"score\": \"0.6009434\",\n \"text\": \"public static Long booleanToLong(Boolean value) {\\n return value? Long.valueOf(1) : Long.valueOf(0);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"06854b11c578163fe9d1a86ef30a5bdb\",\n \"score\": \"0.6003766\",\n \"text\": \"@Test public void representationOfBooleans() throws Exception {\\n assertEquals(\\\"b:1;\\\", representationOf(new Boolean(true)));\\n assertEquals(\\\"b:0;\\\", representationOf(new Boolean(false)));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"465268b9ce55574931ea27bd28d8c244\",\n \"score\": \"0.59957165\",\n \"text\": \"public Bool() {\\n type = DataType.BaseType.BOOL;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"00cbba13a7194bac78be05d9a4d153a0\",\n \"score\": \"0.59949684\",\n \"text\": \"public abstract AnyBool asAnyBool();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bb9960ea0aede2b983b26a7c72e2bfff\",\n \"score\": \"0.59919745\",\n \"text\": \"public boolean getBool() {\\n\\t\\tbyte b;\\n\\n\\t\\ttry { // Un booleano ocupa un byte. \\n\\t\\t\\tb = (byte) is.read();\\n\\n\\t\\t\\tif (b == 0) { // Cero indica falso. \\n\\t\\t\\t\\treturn false;\\n\\t\\t\\t} else { // Cualquier otro valor, cierto. \\n\\t\\t\\t\\treturn true;\\n\\t\\t\\t}\\n\\t\\t} catch (IOException ioe) {\\n\\t\\t\\treturn false;\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"63314d8485f1075377358c4890c1b1c3\",\n \"score\": \"0.59855336\",\n \"text\": \"boolean mo21731b();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"db504a8540c31542fe4c048164413d0a\",\n \"score\": \"0.5975688\",\n \"text\": \"BoolType createBoolType();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fc068102b6c219f7cb5938094b5aff23\",\n \"score\": \"0.5975203\",\n \"text\": \"public Boolean getBval()\\n {\\n return bval; \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4058afef3d568ae47af8e0660f812cb0\",\n \"score\": \"0.59748065\",\n \"text\": \"public boolean getIsTrue(){return isTrue;}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d3dc9d65deee9c313df1bce51473de12\",\n \"score\": \"0.5958469\",\n \"text\": \"@DISPID(204) //= 0xcc. The runtime will prefer the VTID if present\\r\\n @VTID(13)\\r\\n boolean isBoolean();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8f71635a80fa0376022d606f8c50ca7b\",\n \"score\": \"0.5955694\",\n \"text\": \"public void method_4511(boolean var1) {\\r\\n String[] var2 = class_752.method_4253();\\r\\n int var10002 = var1;\\r\\n if(var2 != null) {\\r\\n var10002 = var1 != 0?1:0;\\r\\n }\\r\\n\\r\\n this.field_3036.method_9506(18, Byte.valueOf((byte)var10002));\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"81f6a060d8fb13aac3a59bcb945b8924\",\n \"score\": \"0.59553605\",\n \"text\": \"public static PyObject __add__int_bool(PyInteger l, PyBool obj) {\\n\\n long r = (long)l.value;\\n if (obj.value){\\n r+=1;\\n }\\n\\n if( r > (long)Integer.MAX_VALUE || r < (long)Integer.MIN_VALUE){\\n return new PyLong(r);\\n }\\n return new PyInteger((int)r);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3cbaef9768c859c8a47d7b325ef84db5\",\n \"score\": \"0.5942853\",\n \"text\": \"public boolean a() {\\n return ((Boolean) a(Boolean.valueOf(this.a))).booleanValue();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e9c98f453341d23f5839d54045163470\",\n \"score\": \"0.59405583\",\n \"text\": \"boolean getBoolean(int columnIndex) throws SQLException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"62c81adfd7dfb534d9616ddfe432a7ab\",\n \"score\": \"0.59377664\",\n \"text\": \"public String bool2String(boolean b) {\\n\\tif (b) { return getYes();}\\n\\telse { return getNo();}\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9d97b5ad68ed37f96cb1e59bb7676582\",\n \"score\": \"0.593696\",\n \"text\": \"public abstract Boolean asistir();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d15ad828cc22a24f0906041bb7020330\",\n \"score\": \"0.59295315\",\n \"text\": \"BoolConstant createBoolConstant();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a8fb6c8367f11c81357d3ea41ab0c995\",\n \"score\": \"0.5919818\",\n \"text\": \"public boolean b(int i2) {\\n return i2 != 0 && (i2 & 1) == 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c0753ae7e701cfd2ab8bc2c4ba36dd41\",\n \"score\": \"0.591667\",\n \"text\": \"public int b() { return b; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"928682effcac804b735b53ac7d1f23ec\",\n \"score\": \"0.5911291\",\n \"text\": \"void mo8325b(boolean z);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"63ef595ba4563a0e97da7b0c38863bef\",\n \"score\": \"0.5899309\",\n \"text\": \"private boolean b(int paramInt)\\r\\n/* 53: */ {\\r\\n/* 54:53 */ return (paramInt & 0x1) == 0;\\r\\n/* 55: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b4fd8a54c836ce685242074f8f68bbca\",\n \"score\": \"0.58974826\",\n \"text\": \"public Boolean getBoolean() {\\n\\tboolean b=sc.hasNextBoolean();\\n\\t\\treturn b;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"13a1f79536f807036d038fbe0b835680\",\n \"score\": \"0.5896472\",\n \"text\": \"public static TypeDescriptor boolOp(TypeDescriptor a, TypeDescriptor b) {\\n return (a.equals(boolType) && b.equals(boolType))\\n ? boolType\\n : errType;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d6d09d321e1354d396c9f9915862bfb5\",\n \"score\": \"0.58923805\",\n \"text\": \"public boolean isBoolean();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1ca655a2f924b0f58f470b37e45d594a\",\n \"score\": \"0.58901894\",\n \"text\": \"public static SchemeBoolean getTrue()\\n {\\n\\treturn TRUE;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ddc6efbef1cc28084141135d6b0977cc\",\n \"score\": \"0.5886432\",\n \"text\": \"private int K(boolean k)\\r\\n {\\r\\n \\t\\treturn k ? 1 : -1;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b0a3c6b1deaba56dc4f4cfd994700cb4\",\n \"score\": \"0.5878657\",\n \"text\": \"public void a(boolean paramBoolean) {\\n/* 142 */ a(d.h, Boolean.valueOf(paramBoolean));\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"daf46c8a08e02b94754953021b0f5964\",\n \"score\": \"0.5868671\",\n \"text\": \"@Override\\n public boolean getBoolean1() {\\n return getCv().getBoolean1();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c46a4f700c8a7bf5acfd0de0cbea5098\",\n \"score\": \"0.58660376\",\n \"text\": \"public RubyBoolean getTrue() {\\n return trueObject;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"77ff177dbc66adf56faefd9a18965863\",\n \"score\": \"0.5863773\",\n \"text\": \"public SimpleBoolean value(State s) {\\r\\n\\t\\treturn e.value(s);\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7548070bfb3dec5191c699d768d511b6\",\n \"score\": \"0.5857665\",\n \"text\": \"public static Boolean integerToBoolean(Integer value) {\\n return value == 0 ? Boolean.FALSE : Boolean.TRUE;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"65f7325f7231dd208dc2266b219a1a42\",\n \"score\": \"0.5848977\",\n \"text\": \"public void b(boolean paramBoolean) {\\n/* 177 */ a(d.g, Boolean.valueOf(paramBoolean));\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"89f6cdf5dda653604b6202f84e27e70d\",\n \"score\": \"0.584804\",\n \"text\": \"public static DataType cboolean() {\\n return primitiveTypeMap.get(Name.BOOLEAN);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7eff3055b802bfae024d08d14c20de5a\",\n \"score\": \"0.58475125\",\n \"text\": \"public boolean getBoolean(String arg0) {\\n\\t\\treturn false;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"aedfa2e4b4647a77bcab13aa6a3f0b2f\",\n \"score\": \"0.5826846\",\n \"text\": \"public boolean getBit(int index)\\n\\t{\\n\\t\\treturn (val & (1 << index)) != 0;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"24364bbbe53c58ce93effd686550398e\",\n \"score\": \"0.5825051\",\n \"text\": \"BooleanLiteral createBooleanLiteral();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"24364bbbe53c58ce93effd686550398e\",\n \"score\": \"0.5825051\",\n \"text\": \"BooleanLiteral createBooleanLiteral();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e788cff13284c47261cff1a9bae7d0d8\",\n \"score\": \"0.5824864\",\n \"text\": \"boolean interpret();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"be3d3fe8eaa3b9299ad62d3097f28ffc\",\n \"score\": \"0.58155257\",\n \"text\": \"static native int jniGetBool(AtomicInteger out, long cfg, String name);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e7fd8d41af45710782e58815da155b9e\",\n \"score\": \"0.5812757\",\n \"text\": \"public int getBit() \\r\\n\\t{\\r\\n\\t\\treturn bit;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"573cd63ba22bd8650fb76433e305eab2\",\n \"score\": \"0.5812649\",\n \"text\": \"Boolean isBooleanTerm1();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9e417c5e366dc30313ace69746057bb8\",\n \"score\": \"0.5812079\",\n \"text\": \"boolean getProposedBooleanValue(Variable var);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"79074133508e320cef094986c28d7a38\",\n \"score\": \"0.5808775\",\n \"text\": \"@Test public void valueOfBoolean() throws Exception {\\n assertEquals(true, valueOf(\\\"b:1;\\\"));\\n assertEquals(false, valueOf(\\\"b:0;\\\"));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"311e3e82e30198b4e559e72cf9cc3fb9\",\n \"score\": \"0.5806759\",\n \"text\": \"boolean mo1179b();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3688a7738b9b712a84541474c1d1a02a\",\n \"score\": \"0.58047473\",\n \"text\": \"public static void isTrue(boolean b, String string) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"65bb6c6d7ec1144a0c8adf1dade961b9\",\n \"score\": \"0.5795026\",\n \"text\": \"public final boolean a() {\\n /*\\n r5 = this;\\n r4 = 28\\n r1 = 1\\n r2 = 0\\n boolean r0 = r5.d\\n if (r0 != 0) goto L_0x0023\\n int r0 = android.os.Build.VERSION.SDK_INT\\n if (r0 < r4) goto L_0x0025\\n r0 = r1\\n L_0x000d:\\n boolean r3 = r5.a\\n if (r3 == 0) goto L_0x001b\\n int r3 = r5.b\\n if (r3 > 0) goto L_0x0027\\n r3 = r4\\n L_0x0016:\\n if (r3 < r4) goto L_0x002a\\n r3 = r1\\n L_0x0019:\\n if (r3 == 0) goto L_0x002c\\n L_0x001b:\\n r3 = r1\\n L_0x001c:\\n if (r0 == 0) goto L_0x002e\\n if (r3 == 0) goto L_0x002e\\n r0 = r1\\n L_0x0021:\\n if (r0 == 0) goto L_0x0024\\n L_0x0023:\\n r2 = r1\\n L_0x0024:\\n return r2\\n L_0x0025:\\n r0 = r2\\n goto L_0x000d\\n L_0x0027:\\n int r3 = r5.b\\n goto L_0x0016\\n L_0x002a:\\n r3 = r2\\n goto L_0x0019\\n L_0x002c:\\n r3 = r2\\n goto L_0x001c\\n L_0x002e:\\n r0 = r2\\n goto L_0x0021\\n */\\n throw new UnsupportedOperationException(\\\"Method not decompiled: com.loc.p.b.a():boolean\\\");\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4fe8a2339d9215402083bab238cbdc64\",\n \"score\": \"0.57939506\",\n \"text\": \"public static Boolean valueOf(Boolean value) {\\r\\n return value ? Boolean.TRUE : Boolean.FALSE;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ce7cf9644a01dec264e70e698c7244c0\",\n \"score\": \"0.5793906\",\n \"text\": \"boolean mo134641b();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"51caec6f82f59491fd3e355319018872\",\n \"score\": \"0.5793676\",\n \"text\": \"boolean mo13355a();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"04072befb17959741ea39b99f0ee752d\",\n \"score\": \"0.5777131\",\n \"text\": \"boolean mo2324b();\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":397,"cells":{"query_id":{"kind":"string","value":"d6d01eeb5a2268515ae8038724724dd2"},"query":{"kind":"string","value":"TODO: Warning this method won't work in the case the id fields are not set"},"positive_passages":{"kind":"list like","value":[{"docid":"609af2773215633720ce94aa21082e05","score":"0.0","text":"@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof AttributeEnumeration)) {\r\n return false;\r\n }\r\n AttributeEnumeration other = (AttributeEnumeration) object;\r\n if ((this.attributeEnumerationPK == null && other.attributeEnumerationPK != null) || (this.attributeEnumerationPK != null && !this.attributeEnumerationPK.equals(other.attributeEnumerationPK))) {\r\n return false;\r\n }\r\n return true;\r\n }","title":""}],"string":"[\n {\n \"docid\": \"609af2773215633720ce94aa21082e05\",\n \"score\": \"0.0\",\n \"text\": \"@Override\\r\\n public boolean equals(Object object) {\\n if (!(object instanceof AttributeEnumeration)) {\\r\\n return false;\\r\\n }\\r\\n AttributeEnumeration other = (AttributeEnumeration) object;\\r\\n if ((this.attributeEnumerationPK == null && other.attributeEnumerationPK != null) || (this.attributeEnumerationPK != null && !this.attributeEnumerationPK.equals(other.attributeEnumerationPK))) {\\r\\n return false;\\r\\n }\\r\\n return true;\\r\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"2ea3f646855a4de84777156e9d69a012","score":"0.67264146","text":"private int getId(){\n\t\t return id;\n\t }","title":""},{"docid":"be61a06bd9418dd678f25642f5ddfa42","score":"0.66328716","text":"public void setId(long id) {this.id = id; }","title":""},{"docid":"34f045641c8a043f7fab0a39729a6601","score":"0.65844834","text":"public void setId(Integer id) { this.id = id; }","title":""},{"docid":"0847e73c7b4cc818acc9450f87baf6ce","score":"0.6577308","text":"public void setId(int id) { this.id = id; }","title":""},{"docid":"0726e82f8e61c201289edfe685d77472","score":"0.65736425","text":"public int getId() { return id; }","title":""},{"docid":"0726e82f8e61c201289edfe685d77472","score":"0.65736425","text":"public int getId() { return id; }","title":""},{"docid":"0726e82f8e61c201289edfe685d77472","score":"0.65736425","text":"public int getId() { return id; }","title":""},{"docid":"cb7878360ea0f28ae5871125e9671228","score":"0.6558154","text":"public void setId (Long pId)\n {\n this.id=pId;\n }","title":""},{"docid":"5186e1ce01315036681f78aee861b407","score":"0.65468985","text":"public void setId() {\n this.id = id;\r\n }","title":""},{"docid":"1991be481f9f0b5852403121b14f0048","score":"0.6528518","text":"public int getId() { return this.id; }","title":""},{"docid":"1991be481f9f0b5852403121b14f0048","score":"0.6528518","text":"public int getId() { return this.id; }","title":""},{"docid":"72381e36cd861d7983f95633fec329fa","score":"0.65207356","text":"public int getId() {return id;}","title":""},{"docid":"4346e5a854bafebc22dbca1980d8631f","score":"0.6506292","text":"public void setId(String id) { this.id = id; }","title":""},{"docid":"d048f526390cef538b93f3434c48f249","score":"0.6404033","text":"public int getId(){\r\n return id;\r\n }","title":""},{"docid":"d048f526390cef538b93f3434c48f249","score":"0.6404033","text":"public int getId(){\r\n return id;\r\n }","title":""},{"docid":"d048f526390cef538b93f3434c48f249","score":"0.6404033","text":"public int getId(){\r\n return id;\r\n }","title":""},{"docid":"2d6404813a2d56afe36d8155397d8a74","score":"0.6391066","text":"public int getId(){\n return this.id;\n }","title":""},{"docid":"fe6ba866b866aa3103945a514b99fac1","score":"0.6385022","text":"@Override\n\tpublic void fildById(long id) {\n\t\t\n\t}","title":""},{"docid":"6b7063f5d3e36a5ba43d1dc760010e36","score":"0.6378473","text":"@Override\n\tprotected Serializable pkVal() {\n\t\treturn id;\n\t}","title":""},{"docid":"6b7063f5d3e36a5ba43d1dc760010e36","score":"0.6378473","text":"@Override\n\tprotected Serializable pkVal() {\n\t\treturn id;\n\t}","title":""},{"docid":"a190569955873b13bfbfc77c1ca3048e","score":"0.6377697","text":"@Override\r\n\t\t\tpublic long getId() {\n\t\t\t\treturn 0;\r\n\t\t\t}","title":""},{"docid":"a190569955873b13bfbfc77c1ca3048e","score":"0.6377697","text":"@Override\r\n\t\t\tpublic long getId() {\n\t\t\t\treturn 0;\r\n\t\t\t}","title":""},{"docid":"a190569955873b13bfbfc77c1ca3048e","score":"0.6377697","text":"@Override\r\n\t\t\tpublic long getId() {\n\t\t\t\treturn 0;\r\n\t\t\t}","title":""},{"docid":"a190569955873b13bfbfc77c1ca3048e","score":"0.6377697","text":"@Override\r\n\t\t\tpublic long getId() {\n\t\t\t\treturn 0;\r\n\t\t\t}","title":""},{"docid":"a190569955873b13bfbfc77c1ca3048e","score":"0.6377697","text":"@Override\r\n\t\t\tpublic long getId() {\n\t\t\t\treturn 0;\r\n\t\t\t}","title":""},{"docid":"a190569955873b13bfbfc77c1ca3048e","score":"0.6377697","text":"@Override\r\n\t\t\tpublic long getId() {\n\t\t\t\treturn 0;\r\n\t\t\t}","title":""},{"docid":"45d95b1e4ff8c2de3d9f58d7a5909ce9","score":"0.63734204","text":"public void setId(long id) {\n this.id = id;\n }","title":""},{"docid":"043394b8e6adaf980c2478e40610782c","score":"0.6371339","text":"@Override\n public int getID() {\n return 0;\n }","title":""},{"docid":"cfdad6033866ec5853f03b81a4ee00d0","score":"0.6368857","text":"public void setId(Long id)\n/* */ {\n/* 39 */ this.id = id;\n/* */ }","title":""},{"docid":"60d9eee31087a33ef9148d2e8731f8a2","score":"0.6353283","text":"void setId(String id){\n this.id = id;\n }","title":""},{"docid":"1d95fbf0085059f6ba552b7b2bb6bcd3","score":"0.6346895","text":"public Integer getId() { return id; }","title":""},{"docid":"1d95fbf0085059f6ba552b7b2bb6bcd3","score":"0.6346895","text":"public Integer getId() { return id; }","title":""},{"docid":"3e4436db53e986df6adebee790236105","score":"0.63341516","text":"@Override\n\tpublic void validateId(Long id) {\n\n\t}","title":""},{"docid":"4c1fcbfc5fd65634915cb1cf2a513611","score":"0.633019","text":"@Override\n public Long getId() {\n return id;\n }","title":""},{"docid":"f003e9fba3158cf593e1f6a182180bed","score":"0.63251114","text":"public String getId(){ return id; }","title":""},{"docid":"8337ded66d2c194d61e666fdf631f439","score":"0.6317254","text":"@Override\n public Integer getId() {\n return id;\n }","title":""},{"docid":"54e02fbf0b61ccc5872190ffc2afa275","score":"0.6313735","text":"public Long getId() { return id; }","title":""},{"docid":"54e02fbf0b61ccc5872190ffc2afa275","score":"0.6313735","text":"public Long getId() { return id; }","title":""},{"docid":"ff8afa5ef3eeeeee214ec8a1bf4bf1f2","score":"0.6308969","text":"public Integer getId() {\nreturn this.id;\n}","title":""},{"docid":"056f66ef4f9795874d5e1936cbd0e0b7","score":"0.6304997","text":"public int getId(){\n return id;\n }","title":""},{"docid":"056f66ef4f9795874d5e1936cbd0e0b7","score":"0.6304997","text":"public int getId(){\n return id;\n }","title":""},{"docid":"056f66ef4f9795874d5e1936cbd0e0b7","score":"0.6304997","text":"public int getId(){\n return id;\n }","title":""},{"docid":"056f66ef4f9795874d5e1936cbd0e0b7","score":"0.6304997","text":"public int getId(){\n return id;\n }","title":""},{"docid":"2bd18b580753f5c542a2b844c888c648","score":"0.6299508","text":"@Override\n public long getId() {\n return id;\n }","title":""},{"docid":"2bd18b580753f5c542a2b844c888c648","score":"0.6299508","text":"@Override\n public long getId() {\n return id;\n }","title":""},{"docid":"617b80cba328af3c9236dcd1cece0991","score":"0.6296255","text":"public int getId() {\n return id;\n }","title":""},{"docid":"617b80cba328af3c9236dcd1cece0991","score":"0.6296255","text":"public int getId() {\n return id;\n }","title":""},{"docid":"f906affcecd6e02b44a4aab12f6b5f4c","score":"0.6295485","text":"@Override\r\n public long getId() {\r\n return id;\r\n }","title":""},{"docid":"86d191508bca5b8419a7198c0d176215","score":"0.6294937","text":"public void setID(String id) { this.id = id; }","title":""},{"docid":"86d5dccf7cd39919a982345740c16106","score":"0.6285577","text":"private Integer getId () {\n return id;\n }","title":""},{"docid":"841ef7f2b9d9cb04f22e891c3d4b8e45","score":"0.62725466","text":"public int getId(){\n return this.id;\n }","title":""},{"docid":"841ef7f2b9d9cb04f22e891c3d4b8e45","score":"0.62725466","text":"public int getId(){\n return this.id;\n }","title":""},{"docid":"841ef7f2b9d9cb04f22e891c3d4b8e45","score":"0.62725466","text":"public int getId(){\n return this.id;\n }","title":""},{"docid":"841ef7f2b9d9cb04f22e891c3d4b8e45","score":"0.62725466","text":"public int getId(){\n return this.id;\n }","title":""},{"docid":"64dc1df658a5c8677407b96a0af51e2f","score":"0.62647945","text":"public void setID(int id) { \r\n this.id = id; \r\n }","title":""},{"docid":"e7143c96e21d1967509444bb7fd1ebc0","score":"0.6257621","text":"@Override\n\tpublic void setId(Long id) {\n\t\t\n\t}","title":""},{"docid":"32f1a9191bd511ff94bfcbe520d98a08","score":"0.6244713","text":"public long getId() { return id; }","title":""},{"docid":"2fe7b81eedf5f53431866c0fceb20540","score":"0.6242365","text":"public void setId(Long id)\n/* */ {\n/* 72 */ this.id = id;\n/* */ }","title":""},{"docid":"9b126c93aed8ac67677daf0381b825a7","score":"0.6240275","text":"void setId(int id)\n {\n this.id = id;\n }","title":""},{"docid":"beeff237f6270a0a447da3efd6bf73af","score":"0.6238265","text":"@Override\n\tpublic Long getId() {\n\t\treturn null;\n\t}","title":""},{"docid":"beeff237f6270a0a447da3efd6bf73af","score":"0.6238265","text":"@Override\n\tpublic Long getId() {\n\t\treturn null;\n\t}","title":""},{"docid":"beeff237f6270a0a447da3efd6bf73af","score":"0.6238265","text":"@Override\n\tpublic Long getId() {\n\t\treturn null;\n\t}","title":""},{"docid":"182a00edc5b7ea0b45440649707ca9d2","score":"0.6223203","text":"@Override\n\tpublic void setId(Long id) {\n\t}","title":""},{"docid":"1f0e142fea21d963bf589694fe09e359","score":"0.6220433","text":"void setId(long id) {\n this.id = id;\n }","title":""},{"docid":"e0a48d763c64445de504666cf016ba52","score":"0.6217962","text":"public void setId(String value) {\n this.id = value;\n }","title":""},{"docid":"cd2d0d0c9b31ceaea7289e225b24bac9","score":"0.6209563","text":"public void setId(int id)\n {\n this.id = id;\n }","title":""},{"docid":"605caa4cb7aea4133af9d212d98594d3","score":"0.62067384","text":"public void setId(java.lang.Integer id) { \n this.id = id; \n }","title":""},{"docid":"be5850996f4de94ca7fd9440f2fbf9db","score":"0.62051886","text":"public void setId(int id){\r\n this.id = id;\r\n }","title":""},{"docid":"76c998ce9ffc25fa50f060f6bc85137a","score":"0.6203707","text":"public int getID() {return this.id;}","title":""},{"docid":"e5f1aadae01879f7a78ce1fc59d9d74d","score":"0.6191058","text":"public void setId(Long id)\n\t{\n this.id = id;\n }","title":""},{"docid":"3f33378b4dae14f30e35e33ae528a6eb","score":"0.6189607","text":"public Long getId()\n {\n return id;\n }","title":""},{"docid":"553f022d92cd42e529e2201c8c72716e","score":"0.6184117","text":"public String getId() {return id;}","title":""},{"docid":"f7795cf4998791a21ecbf489352a6d84","score":"0.6180895","text":"public int getId ()\r\n {\r\n return id;\r\n }","title":""},{"docid":"689737315ad274300d409b07f7bb37d3","score":"0.6170892","text":"@Override\r\n\t\t\tpublic int getId() {\n\t\t\t\treturn 0;\r\n\t\t\t}","title":""},{"docid":"689737315ad274300d409b07f7bb37d3","score":"0.6170892","text":"@Override\r\n\t\t\tpublic int getId() {\n\t\t\t\treturn 0;\r\n\t\t\t}","title":""},{"docid":"689737315ad274300d409b07f7bb37d3","score":"0.6170892","text":"@Override\r\n\t\t\tpublic int getId() {\n\t\t\t\treturn 0;\r\n\t\t\t}","title":""},{"docid":"61e8667c1e6a8fe1660705de0a34d386","score":"0.61633444","text":"void setId(int id) {\n this.id = id;\n }","title":""},{"docid":"d789c5fdc7aa36ab198ae7454c8eab1c","score":"0.61621815","text":"public void setId(String id)\n/* */ {\n/* 72 */ this.id = id;\n/* */ }","title":""},{"docid":"28fb56ce01a52d72a88d392f75cc4ff9","score":"0.6157086","text":"@Override\n\tlong getID() {\n\t\treturn id;\n\t}","title":""},{"docid":"bb938c0a267ac6e2cb5e6b135cf1ed68","score":"0.6155131","text":"@Override\n public int getId() {\n return id;\n }","title":""},{"docid":"93d4dbe6f99e96118de0c19dced5b542","score":"0.61486626","text":"public String getIdField();","title":""},{"docid":"7bb2d71c1ac3cd01f30bd011dc8e6602","score":"0.61475587","text":"public String getID() { return id; }","title":""},{"docid":"7bb2d71c1ac3cd01f30bd011dc8e6602","score":"0.61475587","text":"public String getID() { return id; }","title":""},{"docid":"a603ab2be3abb5139dbc9b57bd52dd22","score":"0.61460084","text":"public void setId(int id){\n this.id = id;\n }","title":""},{"docid":"3d781bc213b63f37f826edef4350867b","score":"0.61326534","text":"@Override\n\tpublic void setId(int id) {\n\t\t\n\t}","title":""},{"docid":"95a3701ea60ee5e62b0b90e4ccd9d068","score":"0.6121451","text":"@Override\r\n\t\t\tpublic String getId() {\n\t\t\t\treturn null;\r\n\t\t\t}","title":""},{"docid":"408a8ba764cbf657e234b706ecc53505","score":"0.6121042","text":"@Override\n \tpublic String getId()\n \t{\n \t\treturn myId;\n \t}","title":""},{"docid":"e5e40506424a106f08233550ccf6c471","score":"0.6104574","text":"public void setId(int id){\n this.id = id;\n }","title":""},{"docid":"e5e40506424a106f08233550ccf6c471","score":"0.6104574","text":"public void setId(int id){\n this.id = id;\n }","title":""},{"docid":"39e2222efef0e9307de32ba60b42c794","score":"0.6104423","text":"@Override\n public long getId();","title":""},{"docid":"6603df875c35093d1e4a642c37c09f46","score":"0.61041874","text":"@java.lang.Override\n public int getId() {\n return id_;\n }","title":""},{"docid":"6627a5f7184cacf054f1a0d73e0e46e4","score":"0.6094719","text":"public int getId(){\n return localId;\n }","title":""},{"docid":"6627a5f7184cacf054f1a0d73e0e46e4","score":"0.6094719","text":"public int getId(){\n return localId;\n }","title":""},{"docid":"d7347a31455edf335999eec176e902d4","score":"0.6094328","text":"int getId() {\r\n\t\treturn id;\r\n\t}","title":""},{"docid":"d781136ba761071a3e6bafd7c6ef4c82","score":"0.6060657","text":"java.lang.String getId();","title":""},{"docid":"d781136ba761071a3e6bafd7c6ef4c82","score":"0.6060657","text":"java.lang.String getId();","title":""},{"docid":"d781136ba761071a3e6bafd7c6ef4c82","score":"0.6060657","text":"java.lang.String getId();","title":""},{"docid":"d781136ba761071a3e6bafd7c6ef4c82","score":"0.6060657","text":"java.lang.String getId();","title":""},{"docid":"d781136ba761071a3e6bafd7c6ef4c82","score":"0.6060657","text":"java.lang.String getId();","title":""},{"docid":"d781136ba761071a3e6bafd7c6ef4c82","score":"0.6060657","text":"java.lang.String getId();","title":""},{"docid":"d781136ba761071a3e6bafd7c6ef4c82","score":"0.6060657","text":"java.lang.String getId();","title":""}],"string":"[\n {\n \"docid\": \"2ea3f646855a4de84777156e9d69a012\",\n \"score\": \"0.67264146\",\n \"text\": \"private int getId(){\\n\\t\\t return id;\\n\\t }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"be61a06bd9418dd678f25642f5ddfa42\",\n \"score\": \"0.66328716\",\n \"text\": \"public void setId(long id) {this.id = id; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"34f045641c8a043f7fab0a39729a6601\",\n \"score\": \"0.65844834\",\n \"text\": \"public void setId(Integer id) { this.id = id; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0847e73c7b4cc818acc9450f87baf6ce\",\n \"score\": \"0.6577308\",\n \"text\": \"public void setId(int id) { this.id = id; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0726e82f8e61c201289edfe685d77472\",\n \"score\": \"0.65736425\",\n \"text\": \"public int getId() { return id; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0726e82f8e61c201289edfe685d77472\",\n \"score\": \"0.65736425\",\n \"text\": \"public int getId() { return id; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0726e82f8e61c201289edfe685d77472\",\n \"score\": \"0.65736425\",\n \"text\": \"public int getId() { return id; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cb7878360ea0f28ae5871125e9671228\",\n \"score\": \"0.6558154\",\n \"text\": \"public void setId (Long pId)\\n {\\n this.id=pId;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5186e1ce01315036681f78aee861b407\",\n \"score\": \"0.65468985\",\n \"text\": \"public void setId() {\\n this.id = id;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1991be481f9f0b5852403121b14f0048\",\n \"score\": \"0.6528518\",\n \"text\": \"public int getId() { return this.id; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1991be481f9f0b5852403121b14f0048\",\n \"score\": \"0.6528518\",\n \"text\": \"public int getId() { return this.id; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"72381e36cd861d7983f95633fec329fa\",\n \"score\": \"0.65207356\",\n \"text\": \"public int getId() {return id;}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4346e5a854bafebc22dbca1980d8631f\",\n \"score\": \"0.6506292\",\n \"text\": \"public void setId(String id) { this.id = id; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d048f526390cef538b93f3434c48f249\",\n \"score\": \"0.6404033\",\n \"text\": \"public int getId(){\\r\\n return id;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d048f526390cef538b93f3434c48f249\",\n \"score\": \"0.6404033\",\n \"text\": \"public int getId(){\\r\\n return id;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d048f526390cef538b93f3434c48f249\",\n \"score\": \"0.6404033\",\n \"text\": \"public int getId(){\\r\\n return id;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2d6404813a2d56afe36d8155397d8a74\",\n \"score\": \"0.6391066\",\n \"text\": \"public int getId(){\\n return this.id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fe6ba866b866aa3103945a514b99fac1\",\n \"score\": \"0.6385022\",\n \"text\": \"@Override\\n\\tpublic void fildById(long id) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6b7063f5d3e36a5ba43d1dc760010e36\",\n \"score\": \"0.6378473\",\n \"text\": \"@Override\\n\\tprotected Serializable pkVal() {\\n\\t\\treturn id;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6b7063f5d3e36a5ba43d1dc760010e36\",\n \"score\": \"0.6378473\",\n \"text\": \"@Override\\n\\tprotected Serializable pkVal() {\\n\\t\\treturn id;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a190569955873b13bfbfc77c1ca3048e\",\n \"score\": \"0.6377697\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic long getId() {\\n\\t\\t\\t\\treturn 0;\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a190569955873b13bfbfc77c1ca3048e\",\n \"score\": \"0.6377697\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic long getId() {\\n\\t\\t\\t\\treturn 0;\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a190569955873b13bfbfc77c1ca3048e\",\n \"score\": \"0.6377697\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic long getId() {\\n\\t\\t\\t\\treturn 0;\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a190569955873b13bfbfc77c1ca3048e\",\n \"score\": \"0.6377697\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic long getId() {\\n\\t\\t\\t\\treturn 0;\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a190569955873b13bfbfc77c1ca3048e\",\n \"score\": \"0.6377697\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic long getId() {\\n\\t\\t\\t\\treturn 0;\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a190569955873b13bfbfc77c1ca3048e\",\n \"score\": \"0.6377697\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic long getId() {\\n\\t\\t\\t\\treturn 0;\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"45d95b1e4ff8c2de3d9f58d7a5909ce9\",\n \"score\": \"0.63734204\",\n \"text\": \"public void setId(long id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"043394b8e6adaf980c2478e40610782c\",\n \"score\": \"0.6371339\",\n \"text\": \"@Override\\n public int getID() {\\n return 0;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cfdad6033866ec5853f03b81a4ee00d0\",\n \"score\": \"0.6368857\",\n \"text\": \"public void setId(Long id)\\n/* */ {\\n/* 39 */ this.id = id;\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"60d9eee31087a33ef9148d2e8731f8a2\",\n \"score\": \"0.6353283\",\n \"text\": \"void setId(String id){\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1d95fbf0085059f6ba552b7b2bb6bcd3\",\n \"score\": \"0.6346895\",\n \"text\": \"public Integer getId() { return id; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1d95fbf0085059f6ba552b7b2bb6bcd3\",\n \"score\": \"0.6346895\",\n \"text\": \"public Integer getId() { return id; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3e4436db53e986df6adebee790236105\",\n \"score\": \"0.63341516\",\n \"text\": \"@Override\\n\\tpublic void validateId(Long id) {\\n\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4c1fcbfc5fd65634915cb1cf2a513611\",\n \"score\": \"0.633019\",\n \"text\": \"@Override\\n public Long getId() {\\n return id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f003e9fba3158cf593e1f6a182180bed\",\n \"score\": \"0.63251114\",\n \"text\": \"public String getId(){ return id; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8337ded66d2c194d61e666fdf631f439\",\n \"score\": \"0.6317254\",\n \"text\": \"@Override\\n public Integer getId() {\\n return id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54e02fbf0b61ccc5872190ffc2afa275\",\n \"score\": \"0.6313735\",\n \"text\": \"public Long getId() { return id; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"54e02fbf0b61ccc5872190ffc2afa275\",\n \"score\": \"0.6313735\",\n \"text\": \"public Long getId() { return id; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ff8afa5ef3eeeeee214ec8a1bf4bf1f2\",\n \"score\": \"0.6308969\",\n \"text\": \"public Integer getId() {\\nreturn this.id;\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"056f66ef4f9795874d5e1936cbd0e0b7\",\n \"score\": \"0.6304997\",\n \"text\": \"public int getId(){\\n return id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"056f66ef4f9795874d5e1936cbd0e0b7\",\n \"score\": \"0.6304997\",\n \"text\": \"public int getId(){\\n return id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"056f66ef4f9795874d5e1936cbd0e0b7\",\n \"score\": \"0.6304997\",\n \"text\": \"public int getId(){\\n return id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"056f66ef4f9795874d5e1936cbd0e0b7\",\n \"score\": \"0.6304997\",\n \"text\": \"public int getId(){\\n return id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2bd18b580753f5c542a2b844c888c648\",\n \"score\": \"0.6299508\",\n \"text\": \"@Override\\n public long getId() {\\n return id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2bd18b580753f5c542a2b844c888c648\",\n \"score\": \"0.6299508\",\n \"text\": \"@Override\\n public long getId() {\\n return id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"617b80cba328af3c9236dcd1cece0991\",\n \"score\": \"0.6296255\",\n \"text\": \"public int getId() {\\n return id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"617b80cba328af3c9236dcd1cece0991\",\n \"score\": \"0.6296255\",\n \"text\": \"public int getId() {\\n return id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f906affcecd6e02b44a4aab12f6b5f4c\",\n \"score\": \"0.6295485\",\n \"text\": \"@Override\\r\\n public long getId() {\\r\\n return id;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"86d191508bca5b8419a7198c0d176215\",\n \"score\": \"0.6294937\",\n \"text\": \"public void setID(String id) { this.id = id; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"86d5dccf7cd39919a982345740c16106\",\n \"score\": \"0.6285577\",\n \"text\": \"private Integer getId () {\\n return id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"841ef7f2b9d9cb04f22e891c3d4b8e45\",\n \"score\": \"0.62725466\",\n \"text\": \"public int getId(){\\n return this.id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"841ef7f2b9d9cb04f22e891c3d4b8e45\",\n \"score\": \"0.62725466\",\n \"text\": \"public int getId(){\\n return this.id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"841ef7f2b9d9cb04f22e891c3d4b8e45\",\n \"score\": \"0.62725466\",\n \"text\": \"public int getId(){\\n return this.id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"841ef7f2b9d9cb04f22e891c3d4b8e45\",\n \"score\": \"0.62725466\",\n \"text\": \"public int getId(){\\n return this.id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"64dc1df658a5c8677407b96a0af51e2f\",\n \"score\": \"0.62647945\",\n \"text\": \"public void setID(int id) { \\r\\n this.id = id; \\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e7143c96e21d1967509444bb7fd1ebc0\",\n \"score\": \"0.6257621\",\n \"text\": \"@Override\\n\\tpublic void setId(Long id) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"32f1a9191bd511ff94bfcbe520d98a08\",\n \"score\": \"0.6244713\",\n \"text\": \"public long getId() { return id; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2fe7b81eedf5f53431866c0fceb20540\",\n \"score\": \"0.6242365\",\n \"text\": \"public void setId(Long id)\\n/* */ {\\n/* 72 */ this.id = id;\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9b126c93aed8ac67677daf0381b825a7\",\n \"score\": \"0.6240275\",\n \"text\": \"void setId(int id)\\n {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"beeff237f6270a0a447da3efd6bf73af\",\n \"score\": \"0.6238265\",\n \"text\": \"@Override\\n\\tpublic Long getId() {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"beeff237f6270a0a447da3efd6bf73af\",\n \"score\": \"0.6238265\",\n \"text\": \"@Override\\n\\tpublic Long getId() {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"beeff237f6270a0a447da3efd6bf73af\",\n \"score\": \"0.6238265\",\n \"text\": \"@Override\\n\\tpublic Long getId() {\\n\\t\\treturn null;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"182a00edc5b7ea0b45440649707ca9d2\",\n \"score\": \"0.6223203\",\n \"text\": \"@Override\\n\\tpublic void setId(Long id) {\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f0e142fea21d963bf589694fe09e359\",\n \"score\": \"0.6220433\",\n \"text\": \"void setId(long id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0a48d763c64445de504666cf016ba52\",\n \"score\": \"0.6217962\",\n \"text\": \"public void setId(String value) {\\n this.id = value;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cd2d0d0c9b31ceaea7289e225b24bac9\",\n \"score\": \"0.6209563\",\n \"text\": \"public void setId(int id)\\n {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"605caa4cb7aea4133af9d212d98594d3\",\n \"score\": \"0.62067384\",\n \"text\": \"public void setId(java.lang.Integer id) { \\n this.id = id; \\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"be5850996f4de94ca7fd9440f2fbf9db\",\n \"score\": \"0.62051886\",\n \"text\": \"public void setId(int id){\\r\\n this.id = id;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"76c998ce9ffc25fa50f060f6bc85137a\",\n \"score\": \"0.6203707\",\n \"text\": \"public int getID() {return this.id;}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e5f1aadae01879f7a78ce1fc59d9d74d\",\n \"score\": \"0.6191058\",\n \"text\": \"public void setId(Long id)\\n\\t{\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3f33378b4dae14f30e35e33ae528a6eb\",\n \"score\": \"0.6189607\",\n \"text\": \"public Long getId()\\n {\\n return id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"553f022d92cd42e529e2201c8c72716e\",\n \"score\": \"0.6184117\",\n \"text\": \"public String getId() {return id;}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f7795cf4998791a21ecbf489352a6d84\",\n \"score\": \"0.6180895\",\n \"text\": \"public int getId ()\\r\\n {\\r\\n return id;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"689737315ad274300d409b07f7bb37d3\",\n \"score\": \"0.6170892\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic int getId() {\\n\\t\\t\\t\\treturn 0;\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"689737315ad274300d409b07f7bb37d3\",\n \"score\": \"0.6170892\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic int getId() {\\n\\t\\t\\t\\treturn 0;\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"689737315ad274300d409b07f7bb37d3\",\n \"score\": \"0.6170892\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic int getId() {\\n\\t\\t\\t\\treturn 0;\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"61e8667c1e6a8fe1660705de0a34d386\",\n \"score\": \"0.61633444\",\n \"text\": \"void setId(int id) {\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d789c5fdc7aa36ab198ae7454c8eab1c\",\n \"score\": \"0.61621815\",\n \"text\": \"public void setId(String id)\\n/* */ {\\n/* 72 */ this.id = id;\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"28fb56ce01a52d72a88d392f75cc4ff9\",\n \"score\": \"0.6157086\",\n \"text\": \"@Override\\n\\tlong getID() {\\n\\t\\treturn id;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bb938c0a267ac6e2cb5e6b135cf1ed68\",\n \"score\": \"0.6155131\",\n \"text\": \"@Override\\n public int getId() {\\n return id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"93d4dbe6f99e96118de0c19dced5b542\",\n \"score\": \"0.61486626\",\n \"text\": \"public String getIdField();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7bb2d71c1ac3cd01f30bd011dc8e6602\",\n \"score\": \"0.61475587\",\n \"text\": \"public String getID() { return id; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7bb2d71c1ac3cd01f30bd011dc8e6602\",\n \"score\": \"0.61475587\",\n \"text\": \"public String getID() { return id; }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a603ab2be3abb5139dbc9b57bd52dd22\",\n \"score\": \"0.61460084\",\n \"text\": \"public void setId(int id){\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3d781bc213b63f37f826edef4350867b\",\n \"score\": \"0.61326534\",\n \"text\": \"@Override\\n\\tpublic void setId(int id) {\\n\\t\\t\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"95a3701ea60ee5e62b0b90e4ccd9d068\",\n \"score\": \"0.6121451\",\n \"text\": \"@Override\\r\\n\\t\\t\\tpublic String getId() {\\n\\t\\t\\t\\treturn null;\\r\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"408a8ba764cbf657e234b706ecc53505\",\n \"score\": \"0.6121042\",\n \"text\": \"@Override\\n \\tpublic String getId()\\n \\t{\\n \\t\\treturn myId;\\n \\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e5e40506424a106f08233550ccf6c471\",\n \"score\": \"0.6104574\",\n \"text\": \"public void setId(int id){\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e5e40506424a106f08233550ccf6c471\",\n \"score\": \"0.6104574\",\n \"text\": \"public void setId(int id){\\n this.id = id;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"39e2222efef0e9307de32ba60b42c794\",\n \"score\": \"0.6104423\",\n \"text\": \"@Override\\n public long getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6603df875c35093d1e4a642c37c09f46\",\n \"score\": \"0.61041874\",\n \"text\": \"@java.lang.Override\\n public int getId() {\\n return id_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6627a5f7184cacf054f1a0d73e0e46e4\",\n \"score\": \"0.6094719\",\n \"text\": \"public int getId(){\\n return localId;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6627a5f7184cacf054f1a0d73e0e46e4\",\n \"score\": \"0.6094719\",\n \"text\": \"public int getId(){\\n return localId;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d7347a31455edf335999eec176e902d4\",\n \"score\": \"0.6094328\",\n \"text\": \"int getId() {\\r\\n\\t\\treturn id;\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d781136ba761071a3e6bafd7c6ef4c82\",\n \"score\": \"0.6060657\",\n \"text\": \"java.lang.String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d781136ba761071a3e6bafd7c6ef4c82\",\n \"score\": \"0.6060657\",\n \"text\": \"java.lang.String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d781136ba761071a3e6bafd7c6ef4c82\",\n \"score\": \"0.6060657\",\n \"text\": \"java.lang.String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d781136ba761071a3e6bafd7c6ef4c82\",\n \"score\": \"0.6060657\",\n \"text\": \"java.lang.String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d781136ba761071a3e6bafd7c6ef4c82\",\n \"score\": \"0.6060657\",\n \"text\": \"java.lang.String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d781136ba761071a3e6bafd7c6ef4c82\",\n \"score\": \"0.6060657\",\n \"text\": \"java.lang.String getId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d781136ba761071a3e6bafd7c6ef4c82\",\n \"score\": \"0.6060657\",\n \"text\": \"java.lang.String getId();\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":398,"cells":{"query_id":{"kind":"string","value":"102935cac49f330b2bff1baf818a731f"},"query":{"kind":"string","value":"This interface must be implemented by activities that contain this fragment to allow an interaction in this fragment to be communicated to the activity and potentially other fragments contained in that activity. See the Android Training lesson Communicating with Other Fragments for more information."},"positive_passages":{"kind":"list like","value":[{"docid":"c829a94e29eeb1f1a58d9ec35cc97712","score":"0.0","text":"public interface OnFragmentInteractionListener {\n void onFragmentInteraction(Uri uri);\n }","title":""}],"string":"[\n {\n \"docid\": \"c829a94e29eeb1f1a58d9ec35cc97712\",\n \"score\": \"0.0\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n void onFragmentInteraction(Uri uri);\\n }\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"99ab694104cc186d3c4509239146a610","score":"0.7300961","text":"public interface FragmentCommunicator {\n\n void changeFragment(View v, String currentFrag);\n}","title":""},{"docid":"90ba17b9e4e05d6752d9c4542a3899b9","score":"0.7289868","text":"public interface FragmentInteractionListener{\n void sending_data(Trails trails);\n void editing_data(Trails trails);\n }","title":""},{"docid":"5b7156708aaa7a84155646a438ef1101","score":"0.72048604","text":"@Override\n public void onFragmentInteraction() {\n }","title":""},{"docid":"80a2c57ba8cc857535bc9b602df1d1ad","score":"0.71740633","text":"public interface OnFragmentInteractionListener {\n\n }","title":""},{"docid":"8a3cc5bc713506834460bfd647925731","score":"0.71690947","text":"public interface OnFragmentInteractionListener {\n }","title":""},{"docid":"1e178e952dd90e30c5ed01049a5525c2","score":"0.7167677","text":"public interface OnFragmentInteractionListener {\n void onFragmentInteraction(String purpose, String un, String pw);\n }","title":""},{"docid":"3522f62ff5c6a2358ba70281919548ac","score":"0.70694494","text":"public interface OnFragmentInteractionListener {\n\n void onFragmentInteraction(int position);\n\n}","title":""},{"docid":"5251b462e0153c2ec8415b2175e3ed55","score":"0.7060964","text":"public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onChatSelected(String contactID, String conversationID);\n void logout();\n }","title":""},{"docid":"d11d9392989177823293c935fb4bf9f1","score":"0.7058494","text":"public interface FragmentInterface {\r\n\r\n void onClicCategoria(String id);\r\n\r\n void onClicApp(App app);\r\n}","title":""},{"docid":"c9779de9b5f005ae16ff6379e6d2039a","score":"0.7037439","text":"public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onFragmentInteraction(int position, int fragmentCaller );\n }","title":""},{"docid":"8b9e9c16bb0d159ba1f9dee256ff978a","score":"0.7032914","text":"public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onFragmentInteraction(Celebrity celebrity);\n }","title":""},{"docid":"a7c41c3c30e8df80e0dc9e95c5de0195","score":"0.7026933","text":"public interface FragmentComunication {\n\n public void sendAppointment(Appointment appointment);\n\n public void sendEvent(Event event);\n\n}","title":""},{"docid":"66d57c6a37ffa77a73b06569feef04cb","score":"0.7025223","text":"public interface OnAddFragmentInteractionListener {\n // TODO: Update argument type and name\n void onAddFragmentInteraction();\n }","title":""},{"docid":"3497aeb3f37ad363cf1801c2c69bf8d8","score":"0.70208305","text":"public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n public void onInvoicesFragmentInteraction(String string);\n }","title":""},{"docid":"b3adc37d3037d924d0216d812f10a85b","score":"0.7020728","text":"public interface OnFragmentInteractionListener {\n void onFragmentInteraction();\n }","title":""},{"docid":"30a1f6e3930af198686e2c310ba9c601","score":"0.70091873","text":"public interface OnFragmentInteractionListener {\n void onOpenChat(int theChatId);\n void onSearchInteractionListener();\n }","title":""},{"docid":"464cf2d546ebbb9d121428acc19326e6","score":"0.699435","text":"public interface MainActivityView {\n void onSetupFragmentList(ListFragment fragment);\n void onSetupFragmentItemForm(ItemFormFragment mItemFormFragment);\n}","title":""},{"docid":"79407c552f0483734d85e395fc589226","score":"0.69853145","text":"public interface FragmentCommunicator{\n public void passDataToFragmentSpinnerGroup(int someValue,ViewModelSongNumberIndex index);\n public void passDataToFragmentSongNumber(int someValue);\n\n }","title":""},{"docid":"31a8f75aea610148b4f2b5fd7ed1e08f","score":"0.6976336","text":"public interface OnFragmentInteractionListener {\n void onFragmentInteraction(String name);\n }","title":""},{"docid":"d874193e002dffe716c7053618dfbf68","score":"0.69748276","text":"void onFragmentInteraction();","title":""},{"docid":"d874193e002dffe716c7053618dfbf68","score":"0.69748276","text":"void onFragmentInteraction();","title":""},{"docid":"d874193e002dffe716c7053618dfbf68","score":"0.69748276","text":"void onFragmentInteraction();","title":""},{"docid":"efd9f573469f73ffdc4d7a8e89ce7733","score":"0.69688505","text":"public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n }","title":""},{"docid":"904e0617e96ac63f446bc15027d45346","score":"0.6964382","text":"public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onFragmentInteraction();\n }","title":""},{"docid":"904e0617e96ac63f446bc15027d45346","score":"0.6964382","text":"public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onFragmentInteraction();\n }","title":""},{"docid":"4b724b79b4a9270f539e7fee87124edb","score":"0.69475704","text":"public interface FragmentComunication {\n\n public void sendCourse (Course course);\n\n public void sendCategory (int id);\n\n public void sendMyCourse (Course course);\n\n public void setFragment(int position);\n}","title":""},{"docid":"ac91dc34720cb7ec74816d6fdff751eb","score":"0.69426745","text":"public interface OnFragmentInteractionListener {\r\n void recebidoFragmento2(int numero);\r\n int enviaFragmento2();\r\n }","title":""},{"docid":"70ba84ab1e82c71cd4de07cb1c4be701","score":"0.69269186","text":"public interface OnFragmentInteractionListener{\n void onOkPressed(String email, String phone);\n }","title":""},{"docid":"27e1aea494160f4fac20a96204e93900","score":"0.6924753","text":"public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onImageClickListener();\n int getMessage();\n void setStudent(Student student);\n Student getStudent();\n void moveFromProfileToDisplayFragment();\n }","title":""},{"docid":"fc293ec08c33d91633ce1615d27afa23","score":"0.69125986","text":"public interface OnFragmentInteractionListener {\n\n // change to the right section in navigation drawer\n public void onSectionAttached(int number);\n public boolean sendMsg(String message);\n /* public void resetAllMotors();\n public int getMotorCount();\n public void adjustAllMotorToZero();\n public boolean liftMotorUp(int index, float roations);\n public boolean liftMotorDown(int index, float rotations);\n public boolean moveMotorToPos(int index, float position);\n public boolean moveToForm(long id, float[] motorPos, int[] ledValues );\n*/\n public void updateAdatpers();\n public PanelingLampDBHelper getDBHelper();\n public void dispatchTakePictureIntent();\n public void showAddNewFormDialog(float[] motorV, int[] ledV);\n\n public void onScrollUp(int l, int t, int x, int y, int dx, int dy);\n public void onScrollDown(int l, int t, int x, int y, int dx, int dy);\n\n}","title":""},{"docid":"30808e2e8e73793d97c4d8a65964b2f2","score":"0.68942803","text":"public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n public void onFragmentInteraction(Uri uri);\n void loadMovieDetailFragment(Movie movie);\n }","title":""},{"docid":"ce0956053c1f157b63bc05b61310d42e","score":"0.6875637","text":"public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onFragmentInteraction(String title);\n }","title":""},{"docid":"ed064d25d3a87356e1ca8a5998ba6336","score":"0.6862568","text":"public interface OnFragmentInteractionListener {\n void onFragmentInteraction(int action);\n }","title":""},{"docid":"0552b547bcf10f5813a4279f7391eaa8","score":"0.68615335","text":"public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void goToExpenseOnCancel();\n void goToExpenseOnAdd(Expense expense);\n }","title":""},{"docid":"ffa6ce3b9ce5125dc3eba23a134f15d9","score":"0.6861348","text":"public interface OnFragmentInteractionListener {\n void onEditPersFragmentInteraction(String nombre, String alias, String desc, Uri retrato, List imagenes, long id);\n }","title":""},{"docid":"600d0115e15b996ce9cc9ae3f75a5f42","score":"0.68465996","text":"public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onViewFocused(Activity activity, View view);\n void onFragmentInteraction();\n }","title":""},{"docid":"94244f56ef92cfd91b329d0cca1d44ef","score":"0.6846414","text":"public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onFragmentInteraction(String interaction);\n }","title":""},{"docid":"f882ad771a56cf899a662ae4cb7bc53f","score":"0.68446934","text":"public interface OnFragmentInteractionListener {\n void onFragmentInteraction(String tag);\n }","title":""},{"docid":"142b4edc956c0f42687dfb5b0993e891","score":"0.68434805","text":"public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onEpisodeLog(long symptomId, CharSequence name, int type);\n void onMainFragmentResume();\n }","title":""},{"docid":"c6b6183272b846321f8a932707062299","score":"0.6834096","text":"public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n public void onSuccess();\n public void onFailure(String errMsg);\n }","title":""},{"docid":"982e05c9836d952cbd4960a7170db5eb","score":"0.68125194","text":"public interface OnFragmentInteractionListener {\n\n void onFragmentInteraction(SPMaintain maintain);\n}","title":""},{"docid":"f4a4d8e5f9df1e7ec1c517ce82512897","score":"0.68024516","text":"public interface OnFragmentInteractionListener {\n void changeViewVisible();\n}","title":""},{"docid":"d8c85e1869da50df4ae8dc82e649d641","score":"0.67952377","text":"public interface SendFragmentView extends MvpView {\n String getRecipient();\n String getSubject();\n String getContentMessage();\n String getAttachment();\n void chooseFile();\n void sendMessage();\n void initializeForm(View view);\n void errorRecipient();\n void errorContent();\n}","title":""},{"docid":"da46233a62ff8c25aacb77b46480b7e4","score":"0.67937285","text":"public interface DoccumentInterface {\n\n public void callFragment(Fragment fragment);\n}","title":""},{"docid":"57a9123965198bd3d9b52a6906ce9e8e","score":"0.6779503","text":"public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onFragmentInteraction(Uri uri);\n\n //enviar la cancion que se debe de reproducir a la actividad\n void reproducirAudio(Playlist playlist);\n void audioAtras(Playlist playlist);\n void audioAdelante(Playlist playlist);\n void reanudarPausarAudio(Playlist playlist);\n\n }","title":""},{"docid":"1f817ac8ef50bd7774da0496c223861c","score":"0.6778074","text":"public interface OnFragmentInteractionListener {\n void loadFragment5();\n }","title":""},{"docid":"f70ba6d3c8779aa25efe9e38ff8404dd","score":"0.6771635","text":"public void onFragmentInteraction(Bundle bundle);","title":""},{"docid":"f1a778fb884d01d78ac42ed9166c38ca","score":"0.6771381","text":"public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n public void onFragmentInteraction(String id);\n }","title":""},{"docid":"f1a778fb884d01d78ac42ed9166c38ca","score":"0.6771381","text":"public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n public void onFragmentInteraction(String id);\n }","title":""},{"docid":"f1a778fb884d01d78ac42ed9166c38ca","score":"0.6771381","text":"public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n public void onFragmentInteraction(String id);\n }","title":""},{"docid":"f1a778fb884d01d78ac42ed9166c38ca","score":"0.6771381","text":"public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n public void onFragmentInteraction(String id);\n }","title":""},{"docid":"b5267b6dd1714d7d836a1e497c06a619","score":"0.6756734","text":"public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n //void onFragmentInteraction(Uri uri);\n void update(String data);\n }","title":""},{"docid":"334d6df0caf91326e9eb0e9db0cedae3","score":"0.67561674","text":"public interface OnFragmentInteractionListener {\r\n public void editTask(long id);\r\n }","title":""},{"docid":"15b68f4f4ebb050c4f52cc04870294c5","score":"0.6751458","text":"public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onFragmentInteraction( String action);\n }","title":""},{"docid":"9365d23329888f1813f063f6bda992ba","score":"0.67304933","text":"void onFragmentInteraction(Celebrity celebrity);","title":""},{"docid":"0f704a02ace5d0ac19dd70560d459e08","score":"0.67259747","text":"public interface OnDreamFragmentInteractionListener {\n //not yet implemented\n void onDreamFragmentInteraction(Dream dream);\n }","title":""},{"docid":"5f29a589131e5e2cda64779071cb1142","score":"0.67127055","text":"public interface OnFragmentInteractionListener {\n void onFragmentTouch();\n }","title":""},{"docid":"25d82e76b59062047528104504b2a227","score":"0.66996443","text":"public interface OnFragmentInteractionListener\n {\n void onButtonClick(String id);\n }","title":""},{"docid":"e08ee5637ec95ea295fd72df335044bd","score":"0.6686844","text":"public interface IView {\n void change(Fragment fragment);\n}","title":""},{"docid":"1b2392a643d9be93c3847ba953af2fa3","score":"0.6676019","text":"void onFragmentInteraction(String interaction);","title":""},{"docid":"ccfc7d2459f33e9fb703cf0e00eea0bf","score":"0.6675201","text":"public interface onFragmentAttachedListenner {\n public String getUsername();\n\n}","title":""},{"docid":"2499dd7448a5ce2a82a2a86290a7c013","score":"0.66568166","text":"public interface OnFragmentSelectedListener {\n public void onFragmentSelected(int position);\n}","title":""},{"docid":"5ad0756d102f4e2e471c179b6ec15ea3","score":"0.6656639","text":"public interface OnFragmentInteractionListener {\n void checkPermission();\n }","title":""},{"docid":"72fb17f7ae80373612013faf176cf64e","score":"0.6651437","text":"public void onFragmentInteraction(int position);","title":""},{"docid":"63651151a4253205851283f58947612b","score":"0.6651098","text":"public interface OnFragmentInteractionListener {\n void onRegistrationSuccess();\n }","title":""},{"docid":"cc8a2571de66645998f11b60d0d16bbf","score":"0.66449755","text":"public interface IFragment {\n /** Standard activity result: operation canceled. */\n public static final int RESULT_CANCELED = 0;\n /** Standard activity result: operation succeeded. */\n public static final int RESULT_OK = -1;\n /** Start of user-defined activity results. */\n public static final int RESULT_FIRST_USER = 1;\n /**\n * void onAttach(Activity activity);\n *

\n * void onCreate(Bundle savedInstanceState);\n *

\n * View onCreateView(LayoutInflater inflater, ViewGroup container,\n * Bundle savedInstanceState);\n *

\n * void onBecomeVisible();\n *

\n * void onResume();\n *

\n * void onPause();\n *

\n * void onStop();\n *

\n * void onDestroyView();\n *

\n * void onDestroy();\n *

\n * void onDetach();\n */\n void finish();\n\n /**\n * @param frament\n * @param pop true pop to the frament in the stack if exist; false start anew directly\n */\n void startNewFragment(Class frament, boolean pop);\n\n void startNewFragment(Class frament);\n\n void startNewFragment(Intent intent, Class frament);\n\n void startNewFragment(Intent intent);\n /**\n * @param intent\n * @param frament\n * @param pop true pop to the frament in the stack if exist; false start anew directly\n */\n void startNewFragment(Intent intent, Class frament, boolean pop);\n\n Intent getIntent();\n\n void setIntent(Intent intent);\n\n void onNewIntent(Intent intent);\n\n boolean isDestroy();\n\n Context getContext();\n\n Activity getActivity();\n\n boolean isActive();\n\n void bindManager(IFragmentManager manager);\n\n void setView(View contentView);\n\n View getView();\n\n void onLowMemory();\n\n void startFragmentForResult(Intent intent, Class fragment, int requestCode);\n\n// void onFragmentResult(int requestCode, int resultCode, Intent data);\n\n// void onActivityResult(int requestCode, int resultCode, Intent data);\n\n void onRequest(int requestCode);\n\n int requestCode();\n\n Window getWindow();\n\n View findViewById(int id);\n\n void setContentView(int id);\n\n void setContentView(View view);\n\n void startActivity(Intent intent);\n\n boolean bindService(Intent service, ServiceConnection conn,\n int flags);\n\n void unbindService(ServiceConnection conn);\n\n void startActivityForResult(Intent intent, int requestCode);\n\n void startService(Intent intent);\n\n String getString(int id);\n public boolean onKeyBack();\n}","title":""},{"docid":"0ca25cada541de1baf0d9479ab5c14a5","score":"0.6642654","text":"public void onFragmentInteraction(String id);","title":""},{"docid":"0ca25cada541de1baf0d9479ab5c14a5","score":"0.6642654","text":"public void onFragmentInteraction(String id);","title":""},{"docid":"0ca25cada541de1baf0d9479ab5c14a5","score":"0.6642654","text":"public void onFragmentInteraction(String id);","title":""},{"docid":"0ca25cada541de1baf0d9479ab5c14a5","score":"0.6642654","text":"public void onFragmentInteraction(String id);","title":""},{"docid":"480919ddb02b695007f266417323a9e8","score":"0.6636361","text":"public interface ActivityViewFragment {\n\n /**\n * Called when the activity's onBackPressed() method is called.\n * @return Return true if the activity should continue with normal processing.\n */\n boolean onBackPressed();\n\n}","title":""},{"docid":"266974a24e6b69f916048d6c03b1e5e8","score":"0.6634221","text":"public interface OnFragmentInteractionListener{\n void onOkPressed(String description, String region, Boolean delete);\n }","title":""},{"docid":"dc7a52ae1bafc312f50b31783c0b36d8","score":"0.66267836","text":"public interface GamecodeFragmentView extends View {\n boolean isCameraPermissionGranted();\n void openDonateFragment(int streamId, String streamName, String streamer_id);\n}","title":""},{"docid":"428326dc990a726ea0cc507817985300","score":"0.66133785","text":"@Override\n public void onAttach(@NonNull Context context) {\n super.onAttach(context);\n if(context instanceof TopFragmentInterface )\n topFragmentInterfaceListener = (TopFragmentInterface) context;\n // here, context is the MainActivity\n // Assign context to TopFragmentInterfaceListener means that MainActivity implements that interface\n // and changeImage() method is definitely implemented in MainActivity\n }","title":""},{"docid":"585ba99c8ae0eb62797cfad86ce2a0a1","score":"0.6611608","text":"public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n public void showFragment(int fragmentIndex, boolean addToBackStack);\n public void setCurrentItem(EventItem item);\n public EventItem getCurrentItem();\n }","title":""},{"docid":"c7b7db689498db094130fc93471ca8ad","score":"0.6608704","text":"public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n public void onTopHeadlineSelected(int id);\n\n }","title":""},{"docid":"02e4af598bb3b603a5d05a9804b7495b","score":"0.66085076","text":"public interface FragmentInterface {\n public void fragmentResult(Fragment fragment, String title);\n}","title":""},{"docid":"b50f14787c239e8736bb246312134bd9","score":"0.66028047","text":"public interface WebCamExtendedInfoFragment {\r\n public void initUserInterface(WebCamExtendedInfoDto[] webCamExtendedInfoDtos);\r\n public FragmentActivity getActivity();\r\n}","title":""},{"docid":"32844b117c23b9ce4e87dd397fc24eb2","score":"0.65949976","text":"void onFragmentInteraction(int position);","title":""},{"docid":"26a31cff8a9c42dbeb227cbc415583bd","score":"0.6594466","text":"public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onSignUpPressed(String name, String email, String college, String address,String pincode,int age,String gender);\n }","title":""},{"docid":"dcb03bf41c74b9e0650f4d7025b6c08a","score":"0.65792894","text":"public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n public void onFragmentInteraction(Uri uri);\n public Project getProject();\n }","title":""},{"docid":"3def03bb68e3de684fe9d4f64f934851","score":"0.65772885","text":"@Override\r\n public void onClick(View v) {\n TheListener listener = (TheListener) getActivity();\r\n\r\n // this method call helps to send data from fragment to the parent activity\r\n assert listener != null;\r\n listener.printMessage(\"Message sent by listener\");\r\n }","title":""},{"docid":"4de72cfbfa38b1e25ad42b422ecbb8ba","score":"0.65698195","text":"void onFragmentInteraction(int position, int fragmentCaller );","title":""},{"docid":"05b7e7b3a56df82dbfc4dee848385daa","score":"0.6569739","text":"public interface OnFragmentInteractionListener {\n\t\t// TODO: Update argument type and name\n\t\tpublic void onFragmentInteraction(Uri uri);\n\t}","title":""},{"docid":"05b7e7b3a56df82dbfc4dee848385daa","score":"0.6569739","text":"public interface OnFragmentInteractionListener {\n\t\t// TODO: Update argument type and name\n\t\tpublic void onFragmentInteraction(Uri uri);\n\t}","title":""},{"docid":"26734e99afd55ea14d1e87189295cb36","score":"0.6565969","text":"void onAddFragmentInteraction();","title":""},{"docid":"60afb7ca84a6a1e8f3aa49f71a79e56e","score":"0.65542364","text":"public interface QuickFragmentPresenter extends FragmentPresenter {\n void onProvider(Context context, String status);\n void onClickMapView(Context context);\n void onClickAddContacts();\n void removeContacts();\n void onContactsActivityResult(Context context, Intent data);\n void onClickContacts();\n void onClickFindLocation();\n void onInputAddContacts(Context context, String number);\n void onCheckedProvider(int checkedId);\n void onClickShare(Context context);\n void onClickSMS(Context context);\n void sendSMS(Context context, String target);\n void onClick112(Context context);\n void onClick119(Context context);\n void registerReceiver(Context context);\n void unregisterReceiver(Context context);\n void onClickCopy(Context context);\n interface View extends FragmentPresenter.View {\n void showAddress(String address);\n void showLatlng(String latlng);\n void navigateToGPS(Intent intent);\n void showToast(String msg);\n void removeUpdates();\n void navigateToMap(Intent intent);\n void navigateToContacts(Intent intent);\n void navigateToShare(Intent intent);\n void addContacts(ArrayList itemArrayList);\n void findLocation(String locationProvider);\n void clearInputContactsEditText();\n void showRemoveContactsAlert();\n void clearLocationInfoTextView();\n void showSMSDialog(String message, String target);\n void showShortUrl(String shortUrl);\n }\n}","title":""},{"docid":"93a25d92b030520c9fb2289d931e5bbe","score":"0.65465105","text":"public interface OnFragmentVideoInteractionListener {\n void onFragmentInteraction(long playbackposition, int currentWindow, boolean playwhenready, String description, String thumbnail, String video);\n }","title":""},{"docid":"e8c2c9f1606384bf4940f3725ce97d3c","score":"0.65458995","text":"@Override\n\tpublic void onAttach(Context context)\n\t{\n\t\tsuper.onAttach(context);\n\t\tif(context instanceof OnFragmentInteractionListener){\n\t\t\tlistener=(OnFragmentInteractionListener)context;\n\t\t}\n\t\telse{\n\t\t\tthrow new RuntimeException(context.toString()+\" must implement OnFragmentInterActionListener\");\n\t\t}\n\t}","title":""},{"docid":"456cee6cd425aeceda37e479126612c4","score":"0.65438724","text":"@Override\n public void onAttach(Activity activity) {\n super.onAttach(activity);\n //check for implementation by trying to cast to an instance of the interface\n try {\n _hostActivity = (InteractionWithGoalViewFragmentListener) activity;\n } catch (ClassCastException e) {\n // if fails, interface wasn't implemented\n throw new ClassCastException(activity.toString() + \" must implement \" +\n \"InteractionWithGoalViewFragmentListener\");\n }\n }","title":""},{"docid":"ea24b92808ed89943a56111c0f24eae7","score":"0.6537932","text":"public interface DatosFragmentListener {\n public void OnBackClicked();\n}","title":""},{"docid":"327c59e63ecb2279989a9459b086ac84","score":"0.65343386","text":"@Override\r\n public void onAttach(Context context) {\r\n super.onAttach(context);\r\n if (context instanceof OnFragmentInteractionListener){\r\n listener = (OnFragmentInteractionListener) context;\r\n } else {\r\n throw new RuntimeException(context.toString()\r\n + \" must implement OnFragmentInteractionListener\");\r\n }\r\n }","title":""},{"docid":"a1701b2dcec422be3a85113d49e7c457","score":"0.65335256","text":"public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onVideofdetFragmentInteraction(String uri);\n }","title":""},{"docid":"97f3c840d62de53f9e81ab54d9403a24","score":"0.65325695","text":"public interface OnListFragmentInteractionListener {\n// void onListFragmentInteraction(DummyItem item);\n }","title":""},{"docid":"e72eb02a15da8268cf5ff1c893db6816","score":"0.6532474","text":"public interface OnFragmentInteractionListener {\n public void onFragmentInteraction(Uri uri);\n }","title":""},{"docid":"e72eb02a15da8268cf5ff1c893db6816","score":"0.6532474","text":"public interface OnFragmentInteractionListener {\n public void onFragmentInteraction(Uri uri);\n }","title":""},{"docid":"e72eb02a15da8268cf5ff1c893db6816","score":"0.6532474","text":"public interface OnFragmentInteractionListener {\n public void onFragmentInteraction(Uri uri);\n }","title":""},{"docid":"e72eb02a15da8268cf5ff1c893db6816","score":"0.6532474","text":"public interface OnFragmentInteractionListener {\n public void onFragmentInteraction(Uri uri);\n }","title":""},{"docid":"e72eb02a15da8268cf5ff1c893db6816","score":"0.6532474","text":"public interface OnFragmentInteractionListener {\n public void onFragmentInteraction(Uri uri);\n }","title":""},{"docid":"0091c57bbb023fbc9197fa1781668211","score":"0.6517793","text":"public interface NotesFragmentListener {\n // goes to note details activity\n public void goToNote(Note note);\n }","title":""},{"docid":"2b26b5965ff6009a25e224355bf01801","score":"0.65112936","text":"public interface OnFragmentInteractionListener {\n void onFragmentInteraction(Uri uri);\n }","title":""}],"string":"[\n {\n \"docid\": \"99ab694104cc186d3c4509239146a610\",\n \"score\": \"0.7300961\",\n \"text\": \"public interface FragmentCommunicator {\\n\\n void changeFragment(View v, String currentFrag);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"90ba17b9e4e05d6752d9c4542a3899b9\",\n \"score\": \"0.7289868\",\n \"text\": \"public interface FragmentInteractionListener{\\n void sending_data(Trails trails);\\n void editing_data(Trails trails);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5b7156708aaa7a84155646a438ef1101\",\n \"score\": \"0.72048604\",\n \"text\": \"@Override\\n public void onFragmentInteraction() {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"80a2c57ba8cc857535bc9b602df1d1ad\",\n \"score\": \"0.71740633\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8a3cc5bc713506834460bfd647925731\",\n \"score\": \"0.71690947\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1e178e952dd90e30c5ed01049a5525c2\",\n \"score\": \"0.7167677\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n void onFragmentInteraction(String purpose, String un, String pw);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3522f62ff5c6a2358ba70281919548ac\",\n \"score\": \"0.70694494\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n\\n void onFragmentInteraction(int position);\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5251b462e0153c2ec8415b2175e3ed55\",\n \"score\": \"0.7060964\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n // TODO: Update argument type and name\\n void onChatSelected(String contactID, String conversationID);\\n void logout();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d11d9392989177823293c935fb4bf9f1\",\n \"score\": \"0.7058494\",\n \"text\": \"public interface FragmentInterface {\\r\\n\\r\\n void onClicCategoria(String id);\\r\\n\\r\\n void onClicApp(App app);\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c9779de9b5f005ae16ff6379e6d2039a\",\n \"score\": \"0.7037439\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n // TODO: Update argument type and name\\n void onFragmentInteraction(int position, int fragmentCaller );\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8b9e9c16bb0d159ba1f9dee256ff978a\",\n \"score\": \"0.7032914\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n // TODO: Update argument type and name\\n void onFragmentInteraction(Celebrity celebrity);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a7c41c3c30e8df80e0dc9e95c5de0195\",\n \"score\": \"0.7026933\",\n \"text\": \"public interface FragmentComunication {\\n\\n public void sendAppointment(Appointment appointment);\\n\\n public void sendEvent(Event event);\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"66d57c6a37ffa77a73b06569feef04cb\",\n \"score\": \"0.7025223\",\n \"text\": \"public interface OnAddFragmentInteractionListener {\\n // TODO: Update argument type and name\\n void onAddFragmentInteraction();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3497aeb3f37ad363cf1801c2c69bf8d8\",\n \"score\": \"0.70208305\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n // TODO: Update argument type and name\\n public void onInvoicesFragmentInteraction(String string);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b3adc37d3037d924d0216d812f10a85b\",\n \"score\": \"0.7020728\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n void onFragmentInteraction();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"30a1f6e3930af198686e2c310ba9c601\",\n \"score\": \"0.70091873\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n void onOpenChat(int theChatId);\\n void onSearchInteractionListener();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"464cf2d546ebbb9d121428acc19326e6\",\n \"score\": \"0.699435\",\n \"text\": \"public interface MainActivityView {\\n void onSetupFragmentList(ListFragment fragment);\\n void onSetupFragmentItemForm(ItemFormFragment mItemFormFragment);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"79407c552f0483734d85e395fc589226\",\n \"score\": \"0.69853145\",\n \"text\": \"public interface FragmentCommunicator{\\n public void passDataToFragmentSpinnerGroup(int someValue,ViewModelSongNumberIndex index);\\n public void passDataToFragmentSongNumber(int someValue);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"31a8f75aea610148b4f2b5fd7ed1e08f\",\n \"score\": \"0.6976336\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n void onFragmentInteraction(String name);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d874193e002dffe716c7053618dfbf68\",\n \"score\": \"0.69748276\",\n \"text\": \"void onFragmentInteraction();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d874193e002dffe716c7053618dfbf68\",\n \"score\": \"0.69748276\",\n \"text\": \"void onFragmentInteraction();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d874193e002dffe716c7053618dfbf68\",\n \"score\": \"0.69748276\",\n \"text\": \"void onFragmentInteraction();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"efd9f573469f73ffdc4d7a8e89ce7733\",\n \"score\": \"0.69688505\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n // TODO: Update argument type and name\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"904e0617e96ac63f446bc15027d45346\",\n \"score\": \"0.6964382\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n // TODO: Update argument type and name\\n void onFragmentInteraction();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"904e0617e96ac63f446bc15027d45346\",\n \"score\": \"0.6964382\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n // TODO: Update argument type and name\\n void onFragmentInteraction();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4b724b79b4a9270f539e7fee87124edb\",\n \"score\": \"0.69475704\",\n \"text\": \"public interface FragmentComunication {\\n\\n public void sendCourse (Course course);\\n\\n public void sendCategory (int id);\\n\\n public void sendMyCourse (Course course);\\n\\n public void setFragment(int position);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ac91dc34720cb7ec74816d6fdff751eb\",\n \"score\": \"0.69426745\",\n \"text\": \"public interface OnFragmentInteractionListener {\\r\\n void recebidoFragmento2(int numero);\\r\\n int enviaFragmento2();\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"70ba84ab1e82c71cd4de07cb1c4be701\",\n \"score\": \"0.69269186\",\n \"text\": \"public interface OnFragmentInteractionListener{\\n void onOkPressed(String email, String phone);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"27e1aea494160f4fac20a96204e93900\",\n \"score\": \"0.6924753\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n // TODO: Update argument type and name\\n void onImageClickListener();\\n int getMessage();\\n void setStudent(Student student);\\n Student getStudent();\\n void moveFromProfileToDisplayFragment();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fc293ec08c33d91633ce1615d27afa23\",\n \"score\": \"0.69125986\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n\\n // change to the right section in navigation drawer\\n public void onSectionAttached(int number);\\n public boolean sendMsg(String message);\\n /* public void resetAllMotors();\\n public int getMotorCount();\\n public void adjustAllMotorToZero();\\n public boolean liftMotorUp(int index, float roations);\\n public boolean liftMotorDown(int index, float rotations);\\n public boolean moveMotorToPos(int index, float position);\\n public boolean moveToForm(long id, float[] motorPos, int[] ledValues );\\n*/\\n public void updateAdatpers();\\n public PanelingLampDBHelper getDBHelper();\\n public void dispatchTakePictureIntent();\\n public void showAddNewFormDialog(float[] motorV, int[] ledV);\\n\\n public void onScrollUp(int l, int t, int x, int y, int dx, int dy);\\n public void onScrollDown(int l, int t, int x, int y, int dx, int dy);\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"30808e2e8e73793d97c4d8a65964b2f2\",\n \"score\": \"0.68942803\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n // TODO: Update argument type and name\\n public void onFragmentInteraction(Uri uri);\\n void loadMovieDetailFragment(Movie movie);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ce0956053c1f157b63bc05b61310d42e\",\n \"score\": \"0.6875637\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n // TODO: Update argument type and name\\n void onFragmentInteraction(String title);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ed064d25d3a87356e1ca8a5998ba6336\",\n \"score\": \"0.6862568\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n void onFragmentInteraction(int action);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0552b547bcf10f5813a4279f7391eaa8\",\n \"score\": \"0.68615335\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n // TODO: Update argument type and name\\n void goToExpenseOnCancel();\\n void goToExpenseOnAdd(Expense expense);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ffa6ce3b9ce5125dc3eba23a134f15d9\",\n \"score\": \"0.6861348\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n void onEditPersFragmentInteraction(String nombre, String alias, String desc, Uri retrato, List imagenes, long id);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"600d0115e15b996ce9cc9ae3f75a5f42\",\n \"score\": \"0.68465996\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n // TODO: Update argument type and name\\n void onViewFocused(Activity activity, View view);\\n void onFragmentInteraction();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"94244f56ef92cfd91b329d0cca1d44ef\",\n \"score\": \"0.6846414\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n // TODO: Update argument type and name\\n void onFragmentInteraction(String interaction);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f882ad771a56cf899a662ae4cb7bc53f\",\n \"score\": \"0.68446934\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n void onFragmentInteraction(String tag);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"142b4edc956c0f42687dfb5b0993e891\",\n \"score\": \"0.68434805\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n // TODO: Update argument type and name\\n void onEpisodeLog(long symptomId, CharSequence name, int type);\\n void onMainFragmentResume();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c6b6183272b846321f8a932707062299\",\n \"score\": \"0.6834096\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n // TODO: Update argument type and name\\n public void onSuccess();\\n public void onFailure(String errMsg);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"982e05c9836d952cbd4960a7170db5eb\",\n \"score\": \"0.68125194\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n\\n void onFragmentInteraction(SPMaintain maintain);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f4a4d8e5f9df1e7ec1c517ce82512897\",\n \"score\": \"0.68024516\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n void changeViewVisible();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d8c85e1869da50df4ae8dc82e649d641\",\n \"score\": \"0.67952377\",\n \"text\": \"public interface SendFragmentView extends MvpView {\\n String getRecipient();\\n String getSubject();\\n String getContentMessage();\\n String getAttachment();\\n void chooseFile();\\n void sendMessage();\\n void initializeForm(View view);\\n void errorRecipient();\\n void errorContent();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"da46233a62ff8c25aacb77b46480b7e4\",\n \"score\": \"0.67937285\",\n \"text\": \"public interface DoccumentInterface {\\n\\n public void callFragment(Fragment fragment);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"57a9123965198bd3d9b52a6906ce9e8e\",\n \"score\": \"0.6779503\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n // TODO: Update argument type and name\\n void onFragmentInteraction(Uri uri);\\n\\n //enviar la cancion que se debe de reproducir a la actividad\\n void reproducirAudio(Playlist playlist);\\n void audioAtras(Playlist playlist);\\n void audioAdelante(Playlist playlist);\\n void reanudarPausarAudio(Playlist playlist);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1f817ac8ef50bd7774da0496c223861c\",\n \"score\": \"0.6778074\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n void loadFragment5();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f70ba6d3c8779aa25efe9e38ff8404dd\",\n \"score\": \"0.6771635\",\n \"text\": \"public void onFragmentInteraction(Bundle bundle);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1a778fb884d01d78ac42ed9166c38ca\",\n \"score\": \"0.6771381\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n // TODO: Update argument type and name\\n public void onFragmentInteraction(String id);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1a778fb884d01d78ac42ed9166c38ca\",\n \"score\": \"0.6771381\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n // TODO: Update argument type and name\\n public void onFragmentInteraction(String id);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1a778fb884d01d78ac42ed9166c38ca\",\n \"score\": \"0.6771381\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n // TODO: Update argument type and name\\n public void onFragmentInteraction(String id);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f1a778fb884d01d78ac42ed9166c38ca\",\n \"score\": \"0.6771381\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n // TODO: Update argument type and name\\n public void onFragmentInteraction(String id);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b5267b6dd1714d7d836a1e497c06a619\",\n \"score\": \"0.6756734\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n // TODO: Update argument type and name\\n //void onFragmentInteraction(Uri uri);\\n void update(String data);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"334d6df0caf91326e9eb0e9db0cedae3\",\n \"score\": \"0.67561674\",\n \"text\": \"public interface OnFragmentInteractionListener {\\r\\n public void editTask(long id);\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"15b68f4f4ebb050c4f52cc04870294c5\",\n \"score\": \"0.6751458\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n // TODO: Update argument type and name\\n void onFragmentInteraction( String action);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9365d23329888f1813f063f6bda992ba\",\n \"score\": \"0.67304933\",\n \"text\": \"void onFragmentInteraction(Celebrity celebrity);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0f704a02ace5d0ac19dd70560d459e08\",\n \"score\": \"0.67259747\",\n \"text\": \"public interface OnDreamFragmentInteractionListener {\\n //not yet implemented\\n void onDreamFragmentInteraction(Dream dream);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5f29a589131e5e2cda64779071cb1142\",\n \"score\": \"0.67127055\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n void onFragmentTouch();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"25d82e76b59062047528104504b2a227\",\n \"score\": \"0.66996443\",\n \"text\": \"public interface OnFragmentInteractionListener\\n {\\n void onButtonClick(String id);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e08ee5637ec95ea295fd72df335044bd\",\n \"score\": \"0.6686844\",\n \"text\": \"public interface IView {\\n void change(Fragment fragment);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1b2392a643d9be93c3847ba953af2fa3\",\n \"score\": \"0.6676019\",\n \"text\": \"void onFragmentInteraction(String interaction);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ccfc7d2459f33e9fb703cf0e00eea0bf\",\n \"score\": \"0.6675201\",\n \"text\": \"public interface onFragmentAttachedListenner {\\n public String getUsername();\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2499dd7448a5ce2a82a2a86290a7c013\",\n \"score\": \"0.66568166\",\n \"text\": \"public interface OnFragmentSelectedListener {\\n public void onFragmentSelected(int position);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5ad0756d102f4e2e471c179b6ec15ea3\",\n \"score\": \"0.6656639\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n void checkPermission();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"72fb17f7ae80373612013faf176cf64e\",\n \"score\": \"0.6651437\",\n \"text\": \"public void onFragmentInteraction(int position);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"63651151a4253205851283f58947612b\",\n \"score\": \"0.6651098\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n void onRegistrationSuccess();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cc8a2571de66645998f11b60d0d16bbf\",\n \"score\": \"0.66449755\",\n \"text\": \"public interface IFragment {\\n /** Standard activity result: operation canceled. */\\n public static final int RESULT_CANCELED = 0;\\n /** Standard activity result: operation succeeded. */\\n public static final int RESULT_OK = -1;\\n /** Start of user-defined activity results. */\\n public static final int RESULT_FIRST_USER = 1;\\n /**\\n * void onAttach(Activity activity);\\n *

\\n * void onCreate(Bundle savedInstanceState);\\n *

\\n * View onCreateView(LayoutInflater inflater, ViewGroup container,\\n * Bundle savedInstanceState);\\n *

\\n * void onBecomeVisible();\\n *

\\n * void onResume();\\n *

\\n * void onPause();\\n *

\\n * void onStop();\\n *

\\n * void onDestroyView();\\n *

\\n * void onDestroy();\\n *

\\n * void onDetach();\\n */\\n void finish();\\n\\n /**\\n * @param frament\\n * @param pop true pop to the frament in the stack if exist; false start anew directly\\n */\\n void startNewFragment(Class frament, boolean pop);\\n\\n void startNewFragment(Class frament);\\n\\n void startNewFragment(Intent intent, Class frament);\\n\\n void startNewFragment(Intent intent);\\n /**\\n * @param intent\\n * @param frament\\n * @param pop true pop to the frament in the stack if exist; false start anew directly\\n */\\n void startNewFragment(Intent intent, Class frament, boolean pop);\\n\\n Intent getIntent();\\n\\n void setIntent(Intent intent);\\n\\n void onNewIntent(Intent intent);\\n\\n boolean isDestroy();\\n\\n Context getContext();\\n\\n Activity getActivity();\\n\\n boolean isActive();\\n\\n void bindManager(IFragmentManager manager);\\n\\n void setView(View contentView);\\n\\n View getView();\\n\\n void onLowMemory();\\n\\n void startFragmentForResult(Intent intent, Class fragment, int requestCode);\\n\\n// void onFragmentResult(int requestCode, int resultCode, Intent data);\\n\\n// void onActivityResult(int requestCode, int resultCode, Intent data);\\n\\n void onRequest(int requestCode);\\n\\n int requestCode();\\n\\n Window getWindow();\\n\\n View findViewById(int id);\\n\\n void setContentView(int id);\\n\\n void setContentView(View view);\\n\\n void startActivity(Intent intent);\\n\\n boolean bindService(Intent service, ServiceConnection conn,\\n int flags);\\n\\n void unbindService(ServiceConnection conn);\\n\\n void startActivityForResult(Intent intent, int requestCode);\\n\\n void startService(Intent intent);\\n\\n String getString(int id);\\n public boolean onKeyBack();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0ca25cada541de1baf0d9479ab5c14a5\",\n \"score\": \"0.6642654\",\n \"text\": \"public void onFragmentInteraction(String id);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0ca25cada541de1baf0d9479ab5c14a5\",\n \"score\": \"0.6642654\",\n \"text\": \"public void onFragmentInteraction(String id);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0ca25cada541de1baf0d9479ab5c14a5\",\n \"score\": \"0.6642654\",\n \"text\": \"public void onFragmentInteraction(String id);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0ca25cada541de1baf0d9479ab5c14a5\",\n \"score\": \"0.6642654\",\n \"text\": \"public void onFragmentInteraction(String id);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"480919ddb02b695007f266417323a9e8\",\n \"score\": \"0.6636361\",\n \"text\": \"public interface ActivityViewFragment {\\n\\n /**\\n * Called when the activity's onBackPressed() method is called.\\n * @return Return true if the activity should continue with normal processing.\\n */\\n boolean onBackPressed();\\n\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"266974a24e6b69f916048d6c03b1e5e8\",\n \"score\": \"0.6634221\",\n \"text\": \"public interface OnFragmentInteractionListener{\\n void onOkPressed(String description, String region, Boolean delete);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dc7a52ae1bafc312f50b31783c0b36d8\",\n \"score\": \"0.66267836\",\n \"text\": \"public interface GamecodeFragmentView extends View {\\n boolean isCameraPermissionGranted();\\n void openDonateFragment(int streamId, String streamName, String streamer_id);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"428326dc990a726ea0cc507817985300\",\n \"score\": \"0.66133785\",\n \"text\": \"@Override\\n public void onAttach(@NonNull Context context) {\\n super.onAttach(context);\\n if(context instanceof TopFragmentInterface )\\n topFragmentInterfaceListener = (TopFragmentInterface) context;\\n // here, context is the MainActivity\\n // Assign context to TopFragmentInterfaceListener means that MainActivity implements that interface\\n // and changeImage() method is definitely implemented in MainActivity\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"585ba99c8ae0eb62797cfad86ce2a0a1\",\n \"score\": \"0.6611608\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n // TODO: Update argument type and name\\n public void showFragment(int fragmentIndex, boolean addToBackStack);\\n public void setCurrentItem(EventItem item);\\n public EventItem getCurrentItem();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c7b7db689498db094130fc93471ca8ad\",\n \"score\": \"0.6608704\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n // TODO: Update argument type and name\\n public void onTopHeadlineSelected(int id);\\n\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"02e4af598bb3b603a5d05a9804b7495b\",\n \"score\": \"0.66085076\",\n \"text\": \"public interface FragmentInterface {\\n public void fragmentResult(Fragment fragment, String title);\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b50f14787c239e8736bb246312134bd9\",\n \"score\": \"0.66028047\",\n \"text\": \"public interface WebCamExtendedInfoFragment {\\r\\n public void initUserInterface(WebCamExtendedInfoDto[] webCamExtendedInfoDtos);\\r\\n public FragmentActivity getActivity();\\r\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"32844b117c23b9ce4e87dd397fc24eb2\",\n \"score\": \"0.65949976\",\n \"text\": \"void onFragmentInteraction(int position);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"26a31cff8a9c42dbeb227cbc415583bd\",\n \"score\": \"0.6594466\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n // TODO: Update argument type and name\\n void onSignUpPressed(String name, String email, String college, String address,String pincode,int age,String gender);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"dcb03bf41c74b9e0650f4d7025b6c08a\",\n \"score\": \"0.65792894\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n // TODO: Update argument type and name\\n public void onFragmentInteraction(Uri uri);\\n public Project getProject();\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3def03bb68e3de684fe9d4f64f934851\",\n \"score\": \"0.65772885\",\n \"text\": \"@Override\\r\\n public void onClick(View v) {\\n TheListener listener = (TheListener) getActivity();\\r\\n\\r\\n // this method call helps to send data from fragment to the parent activity\\r\\n assert listener != null;\\r\\n listener.printMessage(\\\"Message sent by listener\\\");\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4de72cfbfa38b1e25ad42b422ecbb8ba\",\n \"score\": \"0.65698195\",\n \"text\": \"void onFragmentInteraction(int position, int fragmentCaller );\",\n \"title\": \"\"\n },\n {\n \"docid\": \"05b7e7b3a56df82dbfc4dee848385daa\",\n \"score\": \"0.6569739\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n\\t\\t// TODO: Update argument type and name\\n\\t\\tpublic void onFragmentInteraction(Uri uri);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"05b7e7b3a56df82dbfc4dee848385daa\",\n \"score\": \"0.6569739\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n\\t\\t// TODO: Update argument type and name\\n\\t\\tpublic void onFragmentInteraction(Uri uri);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"26734e99afd55ea14d1e87189295cb36\",\n \"score\": \"0.6565969\",\n \"text\": \"void onAddFragmentInteraction();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"60afb7ca84a6a1e8f3aa49f71a79e56e\",\n \"score\": \"0.65542364\",\n \"text\": \"public interface QuickFragmentPresenter extends FragmentPresenter {\\n void onProvider(Context context, String status);\\n void onClickMapView(Context context);\\n void onClickAddContacts();\\n void removeContacts();\\n void onContactsActivityResult(Context context, Intent data);\\n void onClickContacts();\\n void onClickFindLocation();\\n void onInputAddContacts(Context context, String number);\\n void onCheckedProvider(int checkedId);\\n void onClickShare(Context context);\\n void onClickSMS(Context context);\\n void sendSMS(Context context, String target);\\n void onClick112(Context context);\\n void onClick119(Context context);\\n void registerReceiver(Context context);\\n void unregisterReceiver(Context context);\\n void onClickCopy(Context context);\\n interface View extends FragmentPresenter.View {\\n void showAddress(String address);\\n void showLatlng(String latlng);\\n void navigateToGPS(Intent intent);\\n void showToast(String msg);\\n void removeUpdates();\\n void navigateToMap(Intent intent);\\n void navigateToContacts(Intent intent);\\n void navigateToShare(Intent intent);\\n void addContacts(ArrayList itemArrayList);\\n void findLocation(String locationProvider);\\n void clearInputContactsEditText();\\n void showRemoveContactsAlert();\\n void clearLocationInfoTextView();\\n void showSMSDialog(String message, String target);\\n void showShortUrl(String shortUrl);\\n }\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"93a25d92b030520c9fb2289d931e5bbe\",\n \"score\": \"0.65465105\",\n \"text\": \"public interface OnFragmentVideoInteractionListener {\\n void onFragmentInteraction(long playbackposition, int currentWindow, boolean playwhenready, String description, String thumbnail, String video);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e8c2c9f1606384bf4940f3725ce97d3c\",\n \"score\": \"0.65458995\",\n \"text\": \"@Override\\n\\tpublic void onAttach(Context context)\\n\\t{\\n\\t\\tsuper.onAttach(context);\\n\\t\\tif(context instanceof OnFragmentInteractionListener){\\n\\t\\t\\tlistener=(OnFragmentInteractionListener)context;\\n\\t\\t}\\n\\t\\telse{\\n\\t\\t\\tthrow new RuntimeException(context.toString()+\\\" must implement OnFragmentInterActionListener\\\");\\n\\t\\t}\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"456cee6cd425aeceda37e479126612c4\",\n \"score\": \"0.65438724\",\n \"text\": \"@Override\\n public void onAttach(Activity activity) {\\n super.onAttach(activity);\\n //check for implementation by trying to cast to an instance of the interface\\n try {\\n _hostActivity = (InteractionWithGoalViewFragmentListener) activity;\\n } catch (ClassCastException e) {\\n // if fails, interface wasn't implemented\\n throw new ClassCastException(activity.toString() + \\\" must implement \\\" +\\n \\\"InteractionWithGoalViewFragmentListener\\\");\\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ea24b92808ed89943a56111c0f24eae7\",\n \"score\": \"0.6537932\",\n \"text\": \"public interface DatosFragmentListener {\\n public void OnBackClicked();\\n}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"327c59e63ecb2279989a9459b086ac84\",\n \"score\": \"0.65343386\",\n \"text\": \"@Override\\r\\n public void onAttach(Context context) {\\r\\n super.onAttach(context);\\r\\n if (context instanceof OnFragmentInteractionListener){\\r\\n listener = (OnFragmentInteractionListener) context;\\r\\n } else {\\r\\n throw new RuntimeException(context.toString()\\r\\n + \\\" must implement OnFragmentInteractionListener\\\");\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a1701b2dcec422be3a85113d49e7c457\",\n \"score\": \"0.65335256\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n // TODO: Update argument type and name\\n void onVideofdetFragmentInteraction(String uri);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"97f3c840d62de53f9e81ab54d9403a24\",\n \"score\": \"0.65325695\",\n \"text\": \"public interface OnListFragmentInteractionListener {\\n// void onListFragmentInteraction(DummyItem item);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e72eb02a15da8268cf5ff1c893db6816\",\n \"score\": \"0.6532474\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n public void onFragmentInteraction(Uri uri);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e72eb02a15da8268cf5ff1c893db6816\",\n \"score\": \"0.6532474\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n public void onFragmentInteraction(Uri uri);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e72eb02a15da8268cf5ff1c893db6816\",\n \"score\": \"0.6532474\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n public void onFragmentInteraction(Uri uri);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e72eb02a15da8268cf5ff1c893db6816\",\n \"score\": \"0.6532474\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n public void onFragmentInteraction(Uri uri);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e72eb02a15da8268cf5ff1c893db6816\",\n \"score\": \"0.6532474\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n public void onFragmentInteraction(Uri uri);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0091c57bbb023fbc9197fa1781668211\",\n \"score\": \"0.6517793\",\n \"text\": \"public interface NotesFragmentListener {\\n // goes to note details activity\\n public void goToNote(Note note);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2b26b5965ff6009a25e224355bf01801\",\n \"score\": \"0.65112936\",\n \"text\": \"public interface OnFragmentInteractionListener {\\n void onFragmentInteraction(Uri uri);\\n }\",\n \"title\": \"\"\n }\n]"}}},{"rowIdx":399,"cells":{"query_id":{"kind":"string","value":"6fe226de390378c533a52976bf612615"},"query":{"kind":"string","value":"Return the value associated with the column: lesseeaddrkey"},"positive_passages":{"kind":"list like","value":[{"docid":"6aa618deac94444223956e411190051c","score":"0.719716","text":"public String getLesseeaddrkey () {\n\t\treturn lesseeaddrkey;\n\t}","title":""}],"string":"[\n {\n \"docid\": \"6aa618deac94444223956e411190051c\",\n \"score\": \"0.719716\",\n \"text\": \"public String getLesseeaddrkey () {\\n\\t\\treturn lesseeaddrkey;\\n\\t}\",\n \"title\": \"\"\n }\n]"},"negative_passages":{"kind":"list like","value":[{"docid":"70c7b96fa36fce14d76bd0bb7c87d8ed","score":"0.6374328","text":"Address getValueAddress();","title":""},{"docid":"fca0fbdb120144e5c321e4cce36f1e14","score":"0.6326447","text":"public void setLesseeaddrkey (String lesseeaddrkey) {\n\t\tthis.lesseeaddrkey = lesseeaddrkey;\n\t}","title":""},{"docid":"d1110032eafec115a39a13001a8cd4ee","score":"0.6141116","text":"public String slaveAddress() throws SQLException {\n\t\tString sqlCreate = \"SELECT Address FROM Addresstable\";\n\t\tLog.log(sqlCreate);\n\t\tstmt = con.createStatement();\n\t\tResultSet rs = stmt.executeQuery(\"fish\");\n\t\trs.next();\n\t\treturn rs.getString(\"Address\");\n\t}","title":""},{"docid":"6c832d5039e712fbaad6fb0d9b4ffbd5","score":"0.58568144","text":"private static InetSocketAddress correctQueryByAddr(String key, TreeMap tree) {\n long hash = Helper.hashString(key);\n Long succId = tree.ceilingKey(hash);\n if(succId == null) \n return tree.firstEntry().getValue();\n else\n return tree.get(succId);\n }","title":""},{"docid":"27066bf62af166e0614498aec7970918","score":"0.5615808","text":"long getAddressId();","title":""},{"docid":"27066bf62af166e0614498aec7970918","score":"0.5615808","text":"long getAddressId();","title":""},{"docid":"6c5b635b56354e0898fac3c10345edce","score":"0.5562131","text":"java.lang.String getAddress();","title":""},{"docid":"6c5b635b56354e0898fac3c10345edce","score":"0.5562131","text":"java.lang.String getAddress();","title":""},{"docid":"6c5b635b56354e0898fac3c10345edce","score":"0.5562131","text":"java.lang.String getAddress();","title":""},{"docid":"6c5b635b56354e0898fac3c10345edce","score":"0.5562131","text":"java.lang.String getAddress();","title":""},{"docid":"6c5b635b56354e0898fac3c10345edce","score":"0.5562131","text":"java.lang.String getAddress();","title":""},{"docid":"6c5b635b56354e0898fac3c10345edce","score":"0.5562131","text":"java.lang.String getAddress();","title":""},{"docid":"6c5b635b56354e0898fac3c10345edce","score":"0.5562131","text":"java.lang.String getAddress();","title":""},{"docid":"0ede23806ece53ed15a83c5d45860267","score":"0.5557531","text":"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getAddressLine2KanjiInternal();","title":""},{"docid":"1a130198cf9d3de94a9ef7b2239a2175","score":"0.5542421","text":"String getX121address();","title":""},{"docid":"eddfc79c7a0f46c686b7761bf485fbb3","score":"0.549051","text":"TypedValue getAddress();","title":""},{"docid":"61e6f30e448f40860568f2128b7f9aff","score":"0.54789734","text":"public StrColumn getTecheditorAddress() {\n return new DelegatingStrColumn(parentBlock.getColumn(\"journal_techeditor_address\"));\n }","title":""},{"docid":"cef5261ec9dd4e763839881b44be6e46","score":"0.54715806","text":"String getFromAddress();","title":""},{"docid":"cf808e9a7eada710ad5072893d6b6250","score":"0.54566544","text":"java.lang.String getAddr();","title":""},{"docid":"f491e970434da29991c57aa7425f126f","score":"0.5419563","text":"int getGroupAddress();","title":""},{"docid":"ec866d28fbd542b8c306dc7f1ea12804","score":"0.5419208","text":"public StrColumn getAddress() {\n return new DelegatingStrColumn(parentBlock.getColumn(\"journal_coeditor_address\"));\n }","title":""},{"docid":"f0388cd7b43575e886a7fc8c1cdcebae","score":"0.5407656","text":"@Override\n public NetworkTableEntry getEntry(String key) {\n return m_table.getEntry(key);\n }","title":""},{"docid":"42a34591ab505e3ee0b8d7f79c3718ea","score":"0.5397273","text":"public String getAddr()\n {\n return addr;\n }","title":""},{"docid":"2e0da50ce4aa7af6402a467f7bbdeef2","score":"0.5380544","text":"java.lang.String getAddress1();","title":""},{"docid":"2e0da50ce4aa7af6402a467f7bbdeef2","score":"0.5380544","text":"java.lang.String getAddress1();","title":""},{"docid":"f46d6ff5b28a513baed320a8896ee032","score":"0.5376715","text":"com.google.protobuf.StringValue getAddress();","title":""},{"docid":"754652d3b6fe475a6357828fe9ac7056","score":"0.5370565","text":"public String getAddressline() {\n return addressline;\n }","title":""},{"docid":"4d5e0f39a8e23f1fb4707d4f4ac0850a","score":"0.5352093","text":"public long address() {\n\t\treturn address;\n\t}","title":""},{"docid":"e0e306c42ea8b5240608dce45266374f","score":"0.5343776","text":"String getAddress();","title":""},{"docid":"e0e306c42ea8b5240608dce45266374f","score":"0.5343776","text":"String getAddress();","title":""},{"docid":"e0e306c42ea8b5240608dce45266374f","score":"0.5343776","text":"String getAddress();","title":""},{"docid":"465a04531037c73a8af7c76043ed3703","score":"0.53423625","text":"RefDataValue getDataValue(RowLocation value);","title":""},{"docid":"d4445bdd5c36e0d25302559c781c7920","score":"0.5339275","text":"public String getStringValueByKeyFromOtherTable(String key) {\n\t\textractUniDataSetByUniDataSetAndExtendedKey(this, key);\n\t\treturn ud.getValueAsString();\n\t}","title":""},{"docid":"121c2d0c5bc7d920105406bc2332a0f3","score":"0.53186893","text":"private static String getAddress(byte[] publicKey) {\n Keccak.DigestKeccak keccak = new Keccak.Digest256();\n keccak.update(publicKey);\n return toHexString(keccak.digest(), 0, keccak.digest().length);\n }","title":""},{"docid":"99dbd450a1379232b6d58f901c23703d","score":"0.5318584","text":"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getAddressLine1KanjiInternal();","title":""},{"docid":"18b05f48005001f220a2f2f740c45754","score":"0.5314477","text":"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getAddressLine1Internal();","title":""},{"docid":"c321b3064b49a00bb8fcbe12fd8e06b2","score":"0.52808493","text":"java.lang.String getAddress2();","title":""},{"docid":"c321b3064b49a00bb8fcbe12fd8e06b2","score":"0.52808493","text":"java.lang.String getAddress2();","title":""},{"docid":"fcb795fb36e6479004beeed98a1d7e12","score":"0.52759856","text":"@Override\n\tpublic String getIp(String key, String value) {\n\t\tStringBuffer temp = new StringBuffer();\n\t\ttemp.append(key).append( MyUtils.IntegerToString16For4(Long.toHexString(MyUtils.ipToLong(value)).length())).append(Long.toHexString(MyUtils.ipToLong(value)));\n\t\treturn temp.toString();\n\t}","title":""},{"docid":"1697d57dee89e4931f379933a01d2415","score":"0.5273175","text":"String getAddressDisplayValue(Location location);","title":""},{"docid":"96dcf10a688cd2a401c92249d8d4932d","score":"0.5242022","text":"public String getEntry(int rowId, String columnName);","title":""},{"docid":"f7eb96b9afe3b740892e88d0f8e08936","score":"0.52411675","text":"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getAddressLine2Internal();","title":""},{"docid":"1706c2cb9de1fe61ac4941c4c64c3cc9","score":"0.52311057","text":"public java.lang.Integer getAddress_code() {\n return address_code;\n }","title":""},{"docid":"848f55d5d59397618f9a9e14a4d099d3","score":"0.5230328","text":"public String getAddr() {\n return addr;\n }","title":""},{"docid":"635066fcd192794e4ae4898444fb6111","score":"0.52244735","text":"int getAddress();","title":""},{"docid":"ae1f78a7594ebe6ecce847dacf097c21","score":"0.5185462","text":"protected int getAddr() {\n\t\treturn addr;\n\t}","title":""},{"docid":"a045a0de79c8720db5a04f149e4cb27d","score":"0.5179652","text":"String getLocalAddress();","title":""},{"docid":"fb81fa9811c7bd9c6c2a025cfae8e814","score":"0.5157674","text":"public String getAddress() {\n\t\treturn String.format(addressLength, Integer.toHexString(address)).replaceAll(\" \", \"0\").toUpperCase();\n\t}","title":""},{"docid":"83baffed5a0cf1d82b1ce9a5817a8934","score":"0.5153311","text":"public String getAddress1();","title":""},{"docid":"3eabf24e4ecb9c06ab4a9340ef7a0d7d","score":"0.5139402","text":"public String getAddress();","title":""},{"docid":"3eabf24e4ecb9c06ab4a9340ef7a0d7d","score":"0.5139402","text":"public String getAddress();","title":""},{"docid":"3eabf24e4ecb9c06ab4a9340ef7a0d7d","score":"0.5139402","text":"public String getAddress();","title":""},{"docid":"a92e7bd6ddbfee08e978208e076113ee","score":"0.513072","text":"public String getDepotaddrkey () {\n\t\treturn _depotaddrkey;\n\t}","title":""},{"docid":"5d136441cafdebdf6db8b29b11534734","score":"0.5126919","text":"public String getAddress() {\n\t\t\tObject ref = address_;\n\t\t\tif (ref instanceof String) {\n\t\t\t\treturn (String) ref;\n\t\t\t} else {\n\t\t\t\tByteString bs = (ByteString) ref;\n\t\t\t\tString s = bs.toStringUtf8();\n\t\t\t\tif (bs.isValidUtf8()) {\n\t\t\t\t\taddress_ = s;\n\t\t\t\t}\n\t\t\t\treturn s;\n\t\t\t}\n\t\t}","title":""},{"docid":"9983e5beba1b02418ca2ca0636261a7e","score":"0.51249796","text":"java.lang.String getAddress4();","title":""},{"docid":"344cff91c540f5c4418c499767480168","score":"0.51192087","text":"public abstract LinkedList getCandidateKey(String database, String table);","title":""},{"docid":"7d2edbe93493759fd2b8793bb82b7699","score":"0.5093959","text":"String getCellRangeAddress();","title":""},{"docid":"d71a425f3eca2ce306f05b686a6350af","score":"0.50908417","text":"public Object getValue(String name) throws TableKeyNotDefinedException{\n synchronized(entryStore){\r\n NetworkTableEntry entry = entryStore.getEntry(name);\r\n if(entry == null)\r\n throw new TableKeyNotDefinedException(name);\r\n return entry.getValue();\r\n }\r\n\t}","title":""},{"docid":"6925a322a0f8871ddacd8ed211ebb0bf","score":"0.5083","text":"public int getLKey()\n {\n return field_8_lKey;\n }","title":""},{"docid":"acb7b78ecf50843c4c5e8ef3a834cbda","score":"0.5082282","text":"public int getAddress() {\n return address;\n }","title":""},{"docid":"acb7b78ecf50843c4c5e8ef3a834cbda","score":"0.5082282","text":"public int getAddress() {\n return address;\n }","title":""},{"docid":"b21c0f1ab6e5661201f29df6b4f3509e","score":"0.5080677","text":"@java.lang.Override\n public int getAddress() {\n return address_;\n }","title":""},{"docid":"fc45064f6798f6cff3f5d86288aa0ff8","score":"0.50559103","text":"public abstract long getKey(int ndx) throws PsseModelException;","title":""},{"docid":"799f1ae2d71f05909ae26ffa7e9d12d5","score":"0.50555736","text":"public KeyValuePair getVCFLineGenome(String sLine, Long lLineNr){\n\t\tKeyValuePair result = new KeyValuePair();\n\t\tresult = extractKeyValuePairFromLine(sLine, fREGEXPDATALINE);\t\n\t\tresult.setKey(lLineNr.toString());\n\t\treturn result;\n\t}","title":""},{"docid":"3236dd31b102b91f4f5bf54e88205cc0","score":"0.5049339","text":"public String getAddress() {\n\t\t\t\tObject ref = address_;\n\t\t\t\tif (!(ref instanceof String)) {\n\t\t\t\t\tString s = ((ByteString) ref).toStringUtf8();\n\t\t\t\t\taddress_ = s;\n\t\t\t\t\treturn s;\n\t\t\t\t} else {\n\t\t\t\t\treturn (String) ref;\n\t\t\t\t}\n\t\t\t}","title":""},{"docid":"b7592ab4533c7fbee01236b81378a670","score":"0.50490814","text":"public String getDBHostName_tra() {\n //return (String) getAttributeInternal(DBHOSTNAME_TRA);\n Scheduler scheduler = this.getStdSchedulerInVORImpl();\n \n\n try {\n JobDetail jobDetail = this.getCurrentRowJobDetail(scheduler);\n return jobDetail.getJobDataMap().getString(\"hostName\");\n } catch (SchedulerException e) {\n e.printStackTrace();\n return \"数据库主机Ip 信息获取错误!(voImpl 748行)\"; \n }\n }","title":""},{"docid":"2a7cf811ac2e017e1739825044bea470","score":"0.5043482","text":"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getInsuredAddressLine1();","title":""},{"docid":"cef87f85a3fc9598b8d5318d215fceb9","score":"0.5042781","text":"public String getAddr() {\n\t\t\n\t\treturn String.format(\"%d.%d.%d.%d\", this.addr[0], this.addr[1], this.addr[2], this.addr[3]);\n\t}","title":""},{"docid":"d1c9775553bef1a951f33a1d1676e28e","score":"0.504212","text":"public java.lang.String getAddress () {\n\t\treturn address;\n\t}","title":""},{"docid":"c1ec630d0f3a8028bb4e00ce4f650d58","score":"0.5040691","text":"public String\n get_address()\n {\n return byte_address;\n }","title":""},{"docid":"fcac0fe920f6f59ba7a96cfa2ad77780","score":"0.50370973","text":"public Criteria andSnmpAddressEqualToColumn(Server.Column column) {\n addCriterion(new StringBuilder(\"snmp_address = \").append(column.getEscapedColumnName()).toString());\n return (Criteria) this;\n }","title":""},{"docid":"227b82b3fac6092172ad7919cae5e467","score":"0.5035735","text":"String getaddress()\n\t{\n\t\treturn address;\n\t}","title":""},{"docid":"35307347477304407c188a4e6e53cbe8","score":"0.50343984","text":"public java.lang.String getChargeBackRetrievalAddressFlag() {\n return genClient.cacheGet(CacheKey.chargeBackRetrievalAddressFlag);\n }","title":""},{"docid":"5e152e5bb7be3e092dec1c936d6caf41","score":"0.50288814","text":"public String getSecondaryAddress() throws RemoteException{\n return secondaryAddress + addressEnd;\n }","title":""},{"docid":"ea026aa757c32380b84c442fa70e92c3","score":"0.50273114","text":"LuaValue key();","title":""},{"docid":"fd82054896ef391bd0eafb4819c58382","score":"0.5027231","text":"public long getAddressId() {\n return addressId_;\n }","title":""},{"docid":"fd82054896ef391bd0eafb4819c58382","score":"0.5027231","text":"public long getAddressId() {\n return addressId_;\n }","title":""},{"docid":"44af69438d18b14ee0ee5d1a3e62c73c","score":"0.5025611","text":"public int rbGetAddr()\r\n/* 45: */ {\r\n/* 46: 42 */ return this.rbaddr;\r\n/* 47: */ }","title":""},{"docid":"a2799f12b006b3d63956f7c1d3010a40","score":"0.50215447","text":"public String getAddress() { return address.toString(); }","title":""},{"docid":"69cc5753635f6319b7344404655d1346","score":"0.501458","text":"objkey_column getObjkey_column();","title":""},{"docid":"c5d91d3bfbd868edc29d65d3210ea061","score":"0.50138766","text":"public String get_address() {return address;}","title":""},{"docid":"fd4a049bcd8577b411428571d5201cf9","score":"0.5008454","text":"public String getAddress(){\n\t\treturn address;\n\t}","title":""},{"docid":"194d66eb7d51fd018dd7c8c57d0dbe37","score":"0.50053704","text":"long getDistributorAddressId();","title":""},{"docid":"194d66eb7d51fd018dd7c8c57d0dbe37","score":"0.50053704","text":"long getDistributorAddressId();","title":""},{"docid":"194d66eb7d51fd018dd7c8c57d0dbe37","score":"0.50053704","text":"long getDistributorAddressId();","title":""},{"docid":"cf83582b4a7c25e0be283d2137de10de","score":"0.49932542","text":"io.opencannabis.schema.geo.Address getAddress();","title":""},{"docid":"bf747409424890ed5790c9c0273338f0","score":"0.49915928","text":"@Override\n\tpublic String getAddress() {\n\t\treturn s_yinhuanaddress;\n\t}","title":""},{"docid":"b876379fa014575b2d8520ded0845144","score":"0.49910188","text":"public long getDataAddress() {\n if (!isDataValid()) {\n throw new UcxException(\"Data is not received yet.\");\n }\n return address;\n }","title":""},{"docid":"235427c07e1003e70d358f312277a7ed","score":"0.49861914","text":"public int getVal(int lig, int col){\n return tableau[lig][col];\n }","title":""},{"docid":"d1ab80e39e5f9474315c8c403da33ca7","score":"0.49809945","text":"public String getAddress()\n/* */ {\n/* 325 */ return this.address;\n/* */ }","title":""},{"docid":"7693e11b449ab169b381a179ba179e33","score":"0.49768013","text":"public Address getAddress() {\n\t\treturn addr;\n\t}","title":""},{"docid":"8f2bf78d6335b73d08763dff8e7b0178","score":"0.49759096","text":"public String get(Column cd);","title":""},{"docid":"ecaa0747ac770753ed73d7636ebd5d31","score":"0.4973988","text":"public java.lang.String getStreetAddress()\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_element_user(STREETADDRESS$0, 0);\r\n if (target == null)\r\n {\r\n return null;\r\n }\r\n return target.getStringValue();\r\n }\r\n }","title":""},{"docid":"8aef467d90d744bd0c00ebc5509619c5","score":"0.49709967","text":"public double getAddress() {\r\n return address;\r\n }","title":""},{"docid":"af52568b78ae49b727783abfa36997e1","score":"0.49707818","text":"java.lang.String getUnstructuredAddress();","title":""},{"docid":"75dc2f7456b4004626e60fc0e851dfd1","score":"0.4955454","text":"public int getValue(String key){\n\t\tString value = this.sTable.get(key);\n\t\tSymbolTable symbolTable = SymbolTable.getSymbolTable();\n\t\treturn symbolTable.get(value);\n\t}","title":""},{"docid":"f02ea6ac87fa3c4a800ff5d6372bfb32","score":"0.49548182","text":"public String getLocationkey () {\n\t\treturn locationkey;\n\t}","title":""},{"docid":"d6e1e2d708f4660b98bbd36af06ceefe","score":"0.49543262","text":"String getRec_val();","title":""},{"docid":"3ee01144bf8ea73e10cce590ea58fec5","score":"0.49534282","text":"long getStartAddress();","title":""},{"docid":"9db9f240474afc15297a9c1a4ba01199","score":"0.4950311","text":"String address();","title":""}],"string":"[\n {\n \"docid\": \"70c7b96fa36fce14d76bd0bb7c87d8ed\",\n \"score\": \"0.6374328\",\n \"text\": \"Address getValueAddress();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fca0fbdb120144e5c321e4cce36f1e14\",\n \"score\": \"0.6326447\",\n \"text\": \"public void setLesseeaddrkey (String lesseeaddrkey) {\\n\\t\\tthis.lesseeaddrkey = lesseeaddrkey;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1110032eafec115a39a13001a8cd4ee\",\n \"score\": \"0.6141116\",\n \"text\": \"public String slaveAddress() throws SQLException {\\n\\t\\tString sqlCreate = \\\"SELECT Address FROM Addresstable\\\";\\n\\t\\tLog.log(sqlCreate);\\n\\t\\tstmt = con.createStatement();\\n\\t\\tResultSet rs = stmt.executeQuery(\\\"fish\\\");\\n\\t\\trs.next();\\n\\t\\treturn rs.getString(\\\"Address\\\");\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c832d5039e712fbaad6fb0d9b4ffbd5\",\n \"score\": \"0.58568144\",\n \"text\": \"private static InetSocketAddress correctQueryByAddr(String key, TreeMap tree) {\\n long hash = Helper.hashString(key);\\n Long succId = tree.ceilingKey(hash);\\n if(succId == null) \\n return tree.firstEntry().getValue();\\n else\\n return tree.get(succId);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"27066bf62af166e0614498aec7970918\",\n \"score\": \"0.5615808\",\n \"text\": \"long getAddressId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"27066bf62af166e0614498aec7970918\",\n \"score\": \"0.5615808\",\n \"text\": \"long getAddressId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c5b635b56354e0898fac3c10345edce\",\n \"score\": \"0.5562131\",\n \"text\": \"java.lang.String getAddress();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c5b635b56354e0898fac3c10345edce\",\n \"score\": \"0.5562131\",\n \"text\": \"java.lang.String getAddress();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c5b635b56354e0898fac3c10345edce\",\n \"score\": \"0.5562131\",\n \"text\": \"java.lang.String getAddress();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c5b635b56354e0898fac3c10345edce\",\n \"score\": \"0.5562131\",\n \"text\": \"java.lang.String getAddress();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c5b635b56354e0898fac3c10345edce\",\n \"score\": \"0.5562131\",\n \"text\": \"java.lang.String getAddress();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c5b635b56354e0898fac3c10345edce\",\n \"score\": \"0.5562131\",\n \"text\": \"java.lang.String getAddress();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6c5b635b56354e0898fac3c10345edce\",\n \"score\": \"0.5562131\",\n \"text\": \"java.lang.String getAddress();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"0ede23806ece53ed15a83c5d45860267\",\n \"score\": \"0.5557531\",\n \"text\": \"@gw.internal.gosu.parser.ExtendedProperty\\n public java.lang.String getAddressLine2KanjiInternal();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1a130198cf9d3de94a9ef7b2239a2175\",\n \"score\": \"0.5542421\",\n \"text\": \"String getX121address();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"eddfc79c7a0f46c686b7761bf485fbb3\",\n \"score\": \"0.549051\",\n \"text\": \"TypedValue getAddress();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"61e6f30e448f40860568f2128b7f9aff\",\n \"score\": \"0.54789734\",\n \"text\": \"public StrColumn getTecheditorAddress() {\\n return new DelegatingStrColumn(parentBlock.getColumn(\\\"journal_techeditor_address\\\"));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cef5261ec9dd4e763839881b44be6e46\",\n \"score\": \"0.54715806\",\n \"text\": \"String getFromAddress();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cf808e9a7eada710ad5072893d6b6250\",\n \"score\": \"0.54566544\",\n \"text\": \"java.lang.String getAddr();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f491e970434da29991c57aa7425f126f\",\n \"score\": \"0.5419563\",\n \"text\": \"int getGroupAddress();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ec866d28fbd542b8c306dc7f1ea12804\",\n \"score\": \"0.5419208\",\n \"text\": \"public StrColumn getAddress() {\\n return new DelegatingStrColumn(parentBlock.getColumn(\\\"journal_coeditor_address\\\"));\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f0388cd7b43575e886a7fc8c1cdcebae\",\n \"score\": \"0.5407656\",\n \"text\": \"@Override\\n public NetworkTableEntry getEntry(String key) {\\n return m_table.getEntry(key);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"42a34591ab505e3ee0b8d7f79c3718ea\",\n \"score\": \"0.5397273\",\n \"text\": \"public String getAddr()\\n {\\n return addr;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2e0da50ce4aa7af6402a467f7bbdeef2\",\n \"score\": \"0.5380544\",\n \"text\": \"java.lang.String getAddress1();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2e0da50ce4aa7af6402a467f7bbdeef2\",\n \"score\": \"0.5380544\",\n \"text\": \"java.lang.String getAddress1();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f46d6ff5b28a513baed320a8896ee032\",\n \"score\": \"0.5376715\",\n \"text\": \"com.google.protobuf.StringValue getAddress();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"754652d3b6fe475a6357828fe9ac7056\",\n \"score\": \"0.5370565\",\n \"text\": \"public String getAddressline() {\\n return addressline;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"4d5e0f39a8e23f1fb4707d4f4ac0850a\",\n \"score\": \"0.5352093\",\n \"text\": \"public long address() {\\n\\t\\treturn address;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0e306c42ea8b5240608dce45266374f\",\n \"score\": \"0.5343776\",\n \"text\": \"String getAddress();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0e306c42ea8b5240608dce45266374f\",\n \"score\": \"0.5343776\",\n \"text\": \"String getAddress();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"e0e306c42ea8b5240608dce45266374f\",\n \"score\": \"0.5343776\",\n \"text\": \"String getAddress();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"465a04531037c73a8af7c76043ed3703\",\n \"score\": \"0.53423625\",\n \"text\": \"RefDataValue getDataValue(RowLocation value);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d4445bdd5c36e0d25302559c781c7920\",\n \"score\": \"0.5339275\",\n \"text\": \"public String getStringValueByKeyFromOtherTable(String key) {\\n\\t\\textractUniDataSetByUniDataSetAndExtendedKey(this, key);\\n\\t\\treturn ud.getValueAsString();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"121c2d0c5bc7d920105406bc2332a0f3\",\n \"score\": \"0.53186893\",\n \"text\": \"private static String getAddress(byte[] publicKey) {\\n Keccak.DigestKeccak keccak = new Keccak.Digest256();\\n keccak.update(publicKey);\\n return toHexString(keccak.digest(), 0, keccak.digest().length);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"99dbd450a1379232b6d58f901c23703d\",\n \"score\": \"0.5318584\",\n \"text\": \"@gw.internal.gosu.parser.ExtendedProperty\\n public java.lang.String getAddressLine1KanjiInternal();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"18b05f48005001f220a2f2f740c45754\",\n \"score\": \"0.5314477\",\n \"text\": \"@gw.internal.gosu.parser.ExtendedProperty\\n public java.lang.String getAddressLine1Internal();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c321b3064b49a00bb8fcbe12fd8e06b2\",\n \"score\": \"0.52808493\",\n \"text\": \"java.lang.String getAddress2();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c321b3064b49a00bb8fcbe12fd8e06b2\",\n \"score\": \"0.52808493\",\n \"text\": \"java.lang.String getAddress2();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fcb795fb36e6479004beeed98a1d7e12\",\n \"score\": \"0.52759856\",\n \"text\": \"@Override\\n\\tpublic String getIp(String key, String value) {\\n\\t\\tStringBuffer temp = new StringBuffer();\\n\\t\\ttemp.append(key).append( MyUtils.IntegerToString16For4(Long.toHexString(MyUtils.ipToLong(value)).length())).append(Long.toHexString(MyUtils.ipToLong(value)));\\n\\t\\treturn temp.toString();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1697d57dee89e4931f379933a01d2415\",\n \"score\": \"0.5273175\",\n \"text\": \"String getAddressDisplayValue(Location location);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"96dcf10a688cd2a401c92249d8d4932d\",\n \"score\": \"0.5242022\",\n \"text\": \"public String getEntry(int rowId, String columnName);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f7eb96b9afe3b740892e88d0f8e08936\",\n \"score\": \"0.52411675\",\n \"text\": \"@gw.internal.gosu.parser.ExtendedProperty\\n public java.lang.String getAddressLine2Internal();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"1706c2cb9de1fe61ac4941c4c64c3cc9\",\n \"score\": \"0.52311057\",\n \"text\": \"public java.lang.Integer getAddress_code() {\\n return address_code;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"848f55d5d59397618f9a9e14a4d099d3\",\n \"score\": \"0.5230328\",\n \"text\": \"public String getAddr() {\\n return addr;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"635066fcd192794e4ae4898444fb6111\",\n \"score\": \"0.52244735\",\n \"text\": \"int getAddress();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ae1f78a7594ebe6ecce847dacf097c21\",\n \"score\": \"0.5185462\",\n \"text\": \"protected int getAddr() {\\n\\t\\treturn addr;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a045a0de79c8720db5a04f149e4cb27d\",\n \"score\": \"0.5179652\",\n \"text\": \"String getLocalAddress();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fb81fa9811c7bd9c6c2a025cfae8e814\",\n \"score\": \"0.5157674\",\n \"text\": \"public String getAddress() {\\n\\t\\treturn String.format(addressLength, Integer.toHexString(address)).replaceAll(\\\" \\\", \\\"0\\\").toUpperCase();\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"83baffed5a0cf1d82b1ce9a5817a8934\",\n \"score\": \"0.5153311\",\n \"text\": \"public String getAddress1();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3eabf24e4ecb9c06ab4a9340ef7a0d7d\",\n \"score\": \"0.5139402\",\n \"text\": \"public String getAddress();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3eabf24e4ecb9c06ab4a9340ef7a0d7d\",\n \"score\": \"0.5139402\",\n \"text\": \"public String getAddress();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3eabf24e4ecb9c06ab4a9340ef7a0d7d\",\n \"score\": \"0.5139402\",\n \"text\": \"public String getAddress();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a92e7bd6ddbfee08e978208e076113ee\",\n \"score\": \"0.513072\",\n \"text\": \"public String getDepotaddrkey () {\\n\\t\\treturn _depotaddrkey;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5d136441cafdebdf6db8b29b11534734\",\n \"score\": \"0.5126919\",\n \"text\": \"public String getAddress() {\\n\\t\\t\\tObject ref = address_;\\n\\t\\t\\tif (ref instanceof String) {\\n\\t\\t\\t\\treturn (String) ref;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tByteString bs = (ByteString) ref;\\n\\t\\t\\t\\tString s = bs.toStringUtf8();\\n\\t\\t\\t\\tif (bs.isValidUtf8()) {\\n\\t\\t\\t\\t\\taddress_ = s;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\treturn s;\\n\\t\\t\\t}\\n\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9983e5beba1b02418ca2ca0636261a7e\",\n \"score\": \"0.51249796\",\n \"text\": \"java.lang.String getAddress4();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"344cff91c540f5c4418c499767480168\",\n \"score\": \"0.51192087\",\n \"text\": \"public abstract LinkedList getCandidateKey(String database, String table);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7d2edbe93493759fd2b8793bb82b7699\",\n \"score\": \"0.5093959\",\n \"text\": \"String getCellRangeAddress();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d71a425f3eca2ce306f05b686a6350af\",\n \"score\": \"0.50908417\",\n \"text\": \"public Object getValue(String name) throws TableKeyNotDefinedException{\\n synchronized(entryStore){\\r\\n NetworkTableEntry entry = entryStore.getEntry(name);\\r\\n if(entry == null)\\r\\n throw new TableKeyNotDefinedException(name);\\r\\n return entry.getValue();\\r\\n }\\r\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"6925a322a0f8871ddacd8ed211ebb0bf\",\n \"score\": \"0.5083\",\n \"text\": \"public int getLKey()\\n {\\n return field_8_lKey;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"acb7b78ecf50843c4c5e8ef3a834cbda\",\n \"score\": \"0.5082282\",\n \"text\": \"public int getAddress() {\\n return address;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"acb7b78ecf50843c4c5e8ef3a834cbda\",\n \"score\": \"0.5082282\",\n \"text\": \"public int getAddress() {\\n return address;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b21c0f1ab6e5661201f29df6b4f3509e\",\n \"score\": \"0.5080677\",\n \"text\": \"@java.lang.Override\\n public int getAddress() {\\n return address_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fc45064f6798f6cff3f5d86288aa0ff8\",\n \"score\": \"0.50559103\",\n \"text\": \"public abstract long getKey(int ndx) throws PsseModelException;\",\n \"title\": \"\"\n },\n {\n \"docid\": \"799f1ae2d71f05909ae26ffa7e9d12d5\",\n \"score\": \"0.50555736\",\n \"text\": \"public KeyValuePair getVCFLineGenome(String sLine, Long lLineNr){\\n\\t\\tKeyValuePair result = new KeyValuePair();\\n\\t\\tresult = extractKeyValuePairFromLine(sLine, fREGEXPDATALINE);\\t\\n\\t\\tresult.setKey(lLineNr.toString());\\n\\t\\treturn result;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3236dd31b102b91f4f5bf54e88205cc0\",\n \"score\": \"0.5049339\",\n \"text\": \"public String getAddress() {\\n\\t\\t\\t\\tObject ref = address_;\\n\\t\\t\\t\\tif (!(ref instanceof String)) {\\n\\t\\t\\t\\t\\tString s = ((ByteString) ref).toStringUtf8();\\n\\t\\t\\t\\t\\taddress_ = s;\\n\\t\\t\\t\\t\\treturn s;\\n\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\treturn (String) ref;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b7592ab4533c7fbee01236b81378a670\",\n \"score\": \"0.50490814\",\n \"text\": \"public String getDBHostName_tra() {\\n //return (String) getAttributeInternal(DBHOSTNAME_TRA);\\n Scheduler scheduler = this.getStdSchedulerInVORImpl();\\n \\n\\n try {\\n JobDetail jobDetail = this.getCurrentRowJobDetail(scheduler);\\n return jobDetail.getJobDataMap().getString(\\\"hostName\\\");\\n } catch (SchedulerException e) {\\n e.printStackTrace();\\n return \\\"数据库主机Ip 信息获取错误!(voImpl 748行)\\\"; \\n }\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"2a7cf811ac2e017e1739825044bea470\",\n \"score\": \"0.5043482\",\n \"text\": \"@gw.internal.gosu.parser.ExtendedProperty\\n public java.lang.String getInsuredAddressLine1();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cef87f85a3fc9598b8d5318d215fceb9\",\n \"score\": \"0.5042781\",\n \"text\": \"public String getAddr() {\\n\\t\\t\\n\\t\\treturn String.format(\\\"%d.%d.%d.%d\\\", this.addr[0], this.addr[1], this.addr[2], this.addr[3]);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1c9775553bef1a951f33a1d1676e28e\",\n \"score\": \"0.504212\",\n \"text\": \"public java.lang.String getAddress () {\\n\\t\\treturn address;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c1ec630d0f3a8028bb4e00ce4f650d58\",\n \"score\": \"0.5040691\",\n \"text\": \"public String\\n get_address()\\n {\\n return byte_address;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fcac0fe920f6f59ba7a96cfa2ad77780\",\n \"score\": \"0.50370973\",\n \"text\": \"public Criteria andSnmpAddressEqualToColumn(Server.Column column) {\\n addCriterion(new StringBuilder(\\\"snmp_address = \\\").append(column.getEscapedColumnName()).toString());\\n return (Criteria) this;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"227b82b3fac6092172ad7919cae5e467\",\n \"score\": \"0.5035735\",\n \"text\": \"String getaddress()\\n\\t{\\n\\t\\treturn address;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"35307347477304407c188a4e6e53cbe8\",\n \"score\": \"0.50343984\",\n \"text\": \"public java.lang.String getChargeBackRetrievalAddressFlag() {\\n return genClient.cacheGet(CacheKey.chargeBackRetrievalAddressFlag);\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"5e152e5bb7be3e092dec1c936d6caf41\",\n \"score\": \"0.50288814\",\n \"text\": \"public String getSecondaryAddress() throws RemoteException{\\n return secondaryAddress + addressEnd;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ea026aa757c32380b84c442fa70e92c3\",\n \"score\": \"0.50273114\",\n \"text\": \"LuaValue key();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fd82054896ef391bd0eafb4819c58382\",\n \"score\": \"0.5027231\",\n \"text\": \"public long getAddressId() {\\n return addressId_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fd82054896ef391bd0eafb4819c58382\",\n \"score\": \"0.5027231\",\n \"text\": \"public long getAddressId() {\\n return addressId_;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"44af69438d18b14ee0ee5d1a3e62c73c\",\n \"score\": \"0.5025611\",\n \"text\": \"public int rbGetAddr()\\r\\n/* 45: */ {\\r\\n/* 46: 42 */ return this.rbaddr;\\r\\n/* 47: */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"a2799f12b006b3d63956f7c1d3010a40\",\n \"score\": \"0.50215447\",\n \"text\": \"public String getAddress() { return address.toString(); }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"69cc5753635f6319b7344404655d1346\",\n \"score\": \"0.501458\",\n \"text\": \"objkey_column getObjkey_column();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"c5d91d3bfbd868edc29d65d3210ea061\",\n \"score\": \"0.50138766\",\n \"text\": \"public String get_address() {return address;}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"fd4a049bcd8577b411428571d5201cf9\",\n \"score\": \"0.5008454\",\n \"text\": \"public String getAddress(){\\n\\t\\treturn address;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"194d66eb7d51fd018dd7c8c57d0dbe37\",\n \"score\": \"0.50053704\",\n \"text\": \"long getDistributorAddressId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"194d66eb7d51fd018dd7c8c57d0dbe37\",\n \"score\": \"0.50053704\",\n \"text\": \"long getDistributorAddressId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"194d66eb7d51fd018dd7c8c57d0dbe37\",\n \"score\": \"0.50053704\",\n \"text\": \"long getDistributorAddressId();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"cf83582b4a7c25e0be283d2137de10de\",\n \"score\": \"0.49932542\",\n \"text\": \"io.opencannabis.schema.geo.Address getAddress();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"bf747409424890ed5790c9c0273338f0\",\n \"score\": \"0.49915928\",\n \"text\": \"@Override\\n\\tpublic String getAddress() {\\n\\t\\treturn s_yinhuanaddress;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"b876379fa014575b2d8520ded0845144\",\n \"score\": \"0.49910188\",\n \"text\": \"public long getDataAddress() {\\n if (!isDataValid()) {\\n throw new UcxException(\\\"Data is not received yet.\\\");\\n }\\n return address;\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"235427c07e1003e70d358f312277a7ed\",\n \"score\": \"0.49861914\",\n \"text\": \"public int getVal(int lig, int col){\\n return tableau[lig][col];\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d1ab80e39e5f9474315c8c403da33ca7\",\n \"score\": \"0.49809945\",\n \"text\": \"public String getAddress()\\n/* */ {\\n/* 325 */ return this.address;\\n/* */ }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"7693e11b449ab169b381a179ba179e33\",\n \"score\": \"0.49768013\",\n \"text\": \"public Address getAddress() {\\n\\t\\treturn addr;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8f2bf78d6335b73d08763dff8e7b0178\",\n \"score\": \"0.49759096\",\n \"text\": \"public String get(Column cd);\",\n \"title\": \"\"\n },\n {\n \"docid\": \"ecaa0747ac770753ed73d7636ebd5d31\",\n \"score\": \"0.4973988\",\n \"text\": \"public java.lang.String getStreetAddress()\\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_element_user(STREETADDRESS$0, 0);\\r\\n if (target == null)\\r\\n {\\r\\n return null;\\r\\n }\\r\\n return target.getStringValue();\\r\\n }\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"8aef467d90d744bd0c00ebc5509619c5\",\n \"score\": \"0.49709967\",\n \"text\": \"public double getAddress() {\\r\\n return address;\\r\\n }\",\n \"title\": \"\"\n },\n {\n \"docid\": \"af52568b78ae49b727783abfa36997e1\",\n \"score\": \"0.49707818\",\n \"text\": \"java.lang.String getUnstructuredAddress();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"75dc2f7456b4004626e60fc0e851dfd1\",\n \"score\": \"0.4955454\",\n \"text\": \"public int getValue(String key){\\n\\t\\tString value = this.sTable.get(key);\\n\\t\\tSymbolTable symbolTable = SymbolTable.getSymbolTable();\\n\\t\\treturn symbolTable.get(value);\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"f02ea6ac87fa3c4a800ff5d6372bfb32\",\n \"score\": \"0.49548182\",\n \"text\": \"public String getLocationkey () {\\n\\t\\treturn locationkey;\\n\\t}\",\n \"title\": \"\"\n },\n {\n \"docid\": \"d6e1e2d708f4660b98bbd36af06ceefe\",\n \"score\": \"0.49543262\",\n \"text\": \"String getRec_val();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"3ee01144bf8ea73e10cce590ea58fec5\",\n \"score\": \"0.49534282\",\n \"text\": \"long getStartAddress();\",\n \"title\": \"\"\n },\n {\n \"docid\": \"9db9f240474afc15297a9c1a4ba01199\",\n \"score\": \"0.4950311\",\n \"text\": \"String address();\",\n \"title\": \"\"\n }\n]"}}}],"truncated":false,"partial":false},"paginationData":{"pageIndex":3,"numItemsPerPage":100,"numTotalItems":995064,"offset":300,"length":100}},"jwt":"eyJhbGciOiJFZERTQSJ9.eyJyZWFkIjp0cnVlLCJwZXJtaXNzaW9ucyI6eyJyZXBvLmNvbnRlbnQucmVhZCI6dHJ1ZX0sImlhdCI6MTc1NjI5MTAzNywic3ViIjoiL2RhdGFzZXRzL250aGFrdXIvY29ybnN0YWNrLWphdmEtdjEtdGV2YXRyb24tMU0iLCJleHAiOjE3NTYyOTQ2MzcsImlzcyI6Imh0dHBzOi8vaHVnZ2luZ2ZhY2UuY28ifQ.lgasCN2RoJKEBvmeL2zwxM62Ox6OOoHT0bCjTzF1rGxkB40NLo0H550QSvtCYsLXRbJg375arz80BeslYyaPCA","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
ee76ea9c4e0b2834bbd40a6e663395bd
This method was generated by MyBatis Generator. This method sets the value of the database column PAAS_ORDER.BILL_NO
[ { "docid": "b3634900c95d0f81a0da394c17117035", "score": "0.62515455", "text": "public void setBillNo(String billNo) {\r\n this.billNo = billNo == null ? null : billNo.trim();\r\n }", "title": "" } ]
[ { "docid": "9737a3b26cd674e59296362905c6e226", "score": "0.6474964", "text": "public void setBillNo(Integer billNo) {\n\t\tthis.billNo = billNo;\n\t}", "title": "" }, { "docid": "7df98ae9f68ce00f54ae8716ff0f89db", "score": "0.6341344", "text": "public void setBillNo(java.lang.Integer billNo) {\n\t\tthis.billNo = billNo;\n\t}", "title": "" }, { "docid": "be33cadb521625333670860165ff0a9c", "score": "0.6063067", "text": "public void setBill_BPartner_ID (int Bill_BPartner_ID);", "title": "" }, { "docid": "af5f5de25cac5eccad41c96feaa193bc", "score": "0.60140395", "text": "public void setBillId(Integer value) {\n setValue(BILL_ID, value);\n }", "title": "" }, { "docid": "a45c327a3bee36ecdd6a77806778648e", "score": "0.58952934", "text": "public void setBankAccountNo (String BankAccountNo)\n\t{\n\t\tset_Value (COLUMNNAME_BankAccountNo, BankAccountNo);\n\t}", "title": "" }, { "docid": "3365ba7bef95e34ad9389ee955a95da9", "score": "0.5780513", "text": "public String getBillNo() {\r\n return billNo;\r\n }", "title": "" }, { "docid": "67ea5c540d5b01557c34433da8997a9f", "score": "0.56976074", "text": "private void setInvoiceNo() { Bill_Frame.txtInvoiceNo.setText(Bill_Frame.tblBill.getValueAt(getSelectedRow(Bill_Frame.tblBill), 0).toString());}", "title": "" }, { "docid": "f11aaa2c34acef7abeee451a1908231c", "score": "0.5686956", "text": "public void setACC_NO(BigDecimal ACC_NO) {\r\n this.ACC_NO = ACC_NO;\r\n }", "title": "" }, { "docid": "60149b753321e4e4155bb58613df319d", "score": "0.5663111", "text": "public void setCOL_NO(BigDecimal COL_NO) {\r\n this.COL_NO = COL_NO;\r\n }", "title": "" }, { "docid": "ded2b21b9afc2cac66c2235bf35365ed", "score": "0.55997723", "text": "public void setBill_User_ID (int Bill_User_ID);", "title": "" }, { "docid": "8ee5d3e31cae6c054ae633fb759584ee", "score": "0.55525374", "text": "public void setOrderNo(String orderNo) {\n this.orderNo = orderNo;\n }", "title": "" }, { "docid": "8ee5d3e31cae6c054ae633fb759584ee", "score": "0.55525374", "text": "public void setOrderNo(String orderNo) {\n this.orderNo = orderNo;\n }", "title": "" }, { "docid": "59c24d45603639c6781498f749e2d689", "score": "0.5539057", "text": "@Override\n\tpublic int updateProcessByPay(String productNo) {\n\t\treturn session.update(\"customerMapper.updateProcessByPay\",productNo);\n\t}", "title": "" }, { "docid": "a478e5115c2cbb0b9ff43c90622bc9dc", "score": "0.549199", "text": "public void setBill_Location_ID (int Bill_Location_ID);", "title": "" }, { "docid": "9e9b13a87a129662f4252e01ad6fdeaf", "score": "0.54606867", "text": "private void initializeSaleBill() {\n \n \n EntityManager em = EntityManagerHelper.getInstance().getEm();\n \n Integer nextValue = (Integer)em.createQuery(\"select max(s.saleBillNo) from SaleBill s\").getSingleResult();\n \n if(nextValue!=null)\n {\n nextValue++;\n billNoTextbox.setText(nextValue+\"\");\n s.setSaleBillNo(nextValue);\n }\n else\n {\n billNoTextbox.setText(1+\"\");\n s.setSaleBillNo(1);\n }\n \n \n \n \n s.setSaleBillDate(new Date()); \n \n \n Calendar c = Calendar.getInstance();\n int month = c.get(Calendar.MONTH)+1;\n int day = c.get(Calendar.DAY_OF_MONTH);\n int year = c.get(Calendar.YEAR);\n \n dateTextBox.setText(day+\"/\"+month+\"/\"+year);\n dateTextBox.setEditable(false);\n \n fillCustomerComboBox();\n \n \n \n }", "title": "" }, { "docid": "d8f125fbdbc27091c38e77cc0a31dc42", "score": "0.545757", "text": "public void setBillKey(String billKey) {\n this.billKey = billKey;\n }", "title": "" }, { "docid": "b8d05c1b509cfa03aafcbeffcb7aba32", "score": "0.5449106", "text": "public void setOrderNo(String orderNo) {\n this.orderNo = orderNo == null ? null : orderNo.trim();\n }", "title": "" }, { "docid": "b8d05c1b509cfa03aafcbeffcb7aba32", "score": "0.5449106", "text": "public void setOrderNo(String orderNo) {\n this.orderNo = orderNo == null ? null : orderNo.trim();\n }", "title": "" }, { "docid": "b8d05c1b509cfa03aafcbeffcb7aba32", "score": "0.5449106", "text": "public void setOrderNo(String orderNo) {\n this.orderNo = orderNo == null ? null : orderNo.trim();\n }", "title": "" }, { "docid": "8d3ce58bca839bee60dc09fc89856488", "score": "0.5445862", "text": "public void setAccountNo(String accountNo) {\r\n this.accountNo = accountNo;\r\n }", "title": "" }, { "docid": "f958a81e6f2a84cef96d0c1c80ad19b0", "score": "0.54019", "text": "public void setAccountNO(long accountNO) {\n\t\tthis.accountNO = accountNO;\n\t}", "title": "" }, { "docid": "63d250a14d04839fcc0ac2546cf660bd", "score": "0.540059", "text": "public void setOrderNumber(String orderNumber);", "title": "" }, { "docid": "95db5c2f355506698386f0dab87ebac2", "score": "0.5388522", "text": "public void setOrderNo(java.lang.Integer orderNo) {\n this.orderNo = orderNo;\n }", "title": "" }, { "docid": "8d91a6081757b7ae41441d6901f59b4c", "score": "0.5382343", "text": "private void set_order_id() {\n\t\t\t\n\t\t\t \n\t\t\t \t\ttry\n\t\t\t {\n\t\t\t Database db = new Database();\n\t\t\t String query = \"SELECT MAX(ord_id) AS M_ord_ID FROM orderx\";\n\t\t\t ResultSet rs = db.GetData(query);\n\t\t\t \n\t\t\t rs.next();\n\t\t\t \n\t\t\t int rows = rs.getRow();\n\t\t\t if(rows > 0)\n\t\t\t {\n\t\t\t int Max_ord_ID = Integer.parseInt(rs.getString(\"M_ord_ID\"));\n\t\t\t Max_ord_ID++;\n\t\t\t String ord_ID = String.format(\"%04d\", Max_ord_ID);\n\t\t\t txtOrd_id.setText(String.valueOf(ord_ID));\n\t\t\t \n\t\t\t }\n\t\t\t else\n\t\t\t {\n\t\t\t \n\t\t\t \t JOptionPane.showMessageDialog(null, \"Error\",\"Error occured while creating a new Order Id\",JOptionPane.ERROR_MESSAGE);\n\t\t\t }\n\t\t\t \n\t\t\t db.closeCon();\n\t\t\t \n\t\t\t }\n\t\t\t catch(SQLException ex)\n\t\t\t {\n\t\t\t javax.swing.JOptionPane.showMessageDialog(null, \n\t\t\t ex.getMessage(), \n\t\t\t \"SQL Exception\", \n\t\t\t javax.swing.JOptionPane.WARNING_MESSAGE);\n\t\t\t }\n\t\t\t \n\t\t\t\t\t\t\n\t\t\t\t\t}", "title": "" }, { "docid": "ee26bff76cdb789414c9a2987fb3ce0c", "score": "0.5377948", "text": "public void setOrderNo(java.lang.Integer orderNo) {\n\t\tthis.orderNo = orderNo;\n\t}", "title": "" }, { "docid": "bdf4e3f7eb70153c3f1692649ed70213", "score": "0.5376621", "text": "public void setAlipayBillNo(String alipayBillNo) {\n\t\tthis.alipayBillNo = alipayBillNo;\n\t}", "title": "" }, { "docid": "6bb731fcb142c69ca56d36951a0a15f7", "score": "0.53720856", "text": "public void setOrderNo(java.lang.String orderNo) {\n this.orderNo = orderNo;\n }", "title": "" }, { "docid": "d5d32558727290072cafa8957e9668c7", "score": "0.53463614", "text": "public void setSP_NO(BigDecimal SP_NO) {\r\n this.SP_NO = SP_NO;\r\n }", "title": "" }, { "docid": "f083fd6aec4c662f274b44c08031e89c", "score": "0.5332531", "text": "public void setDEAL_NO(BigDecimal DEAL_NO) {\r\n this.DEAL_NO = DEAL_NO;\r\n }", "title": "" }, { "docid": "bafa2f7707f490c6d947a19f75659f0f", "score": "0.5331312", "text": "public void setC_BP_BankAccount_ID (int C_BP_BankAccount_ID);", "title": "" }, { "docid": "0437f1ae7dbde233825483d5b9a5396c", "score": "0.5329563", "text": "public void setAccountNum(String setNumber) {\r\n\t\tthis.accountNo.set(setNumber);\r\n\t}", "title": "" }, { "docid": "79b8251b9ba5fa12cf1e41c0f677c339", "score": "0.53165084", "text": "public void setOrderNumber(int value) {\n this.orderNumber = value;\n }", "title": "" }, { "docid": "6f69339865dac4b0e2e0e7cd26670364", "score": "0.53163016", "text": "public void setIpsBillNo(String ipsBillNo) {\n this.ipsBillNo = ipsBillNo;\n }", "title": "" }, { "docid": "7ca46318af46d23f11fc96ce73059c51", "score": "0.5304062", "text": "public void setCheckoutOrderBillingAddress(int addrId)\n {\n if (kkAppEng.getCustomerMgr().getCurrentCustomer() == null\n || kkAppEng.getCustomerMgr().getCurrentCustomer().getAddresses() == null)\n {\n return;\n }\n\n AddressIf selectedAddr = null;\n for (int i = 0; i < kkAppEng.getCustomerMgr().getCurrentCustomer()\n .getAddresses().length; i++)\n {\n AddressIf addr = kkAppEng.getCustomerMgr().getCurrentCustomer().getAddresses()[i];\n if (addr.getId() == addrId)\n {\n selectedAddr = addr;\n break;\n }\n }\n\n if (selectedAddr == null)\n {\n return;\n }\n\n checkoutOrder.setBillingName(selectedAddr.getFormattedName());\n checkoutOrder.setBillingCompany(selectedAddr.getCompany());\n checkoutOrder.setBillingStreetAddress(selectedAddr.getStreetAddress());\n checkoutOrder.setBillingStreetAddress1(selectedAddr.getStreetAddress1());\n checkoutOrder.setBillingSuburb(selectedAddr.getSuburb());\n checkoutOrder.setBillingCity(selectedAddr.getCity());\n checkoutOrder.setBillingPostcode(selectedAddr.getPostcode());\n checkoutOrder.setBillingState(selectedAddr.getState());\n checkoutOrder.setBillingCountry(selectedAddr.getCountryName());\n checkoutOrder.setBillingTelephone(selectedAddr.getTelephoneNumber());\n checkoutOrder.setBillingTelephone1(selectedAddr.getTelephoneNumber1());\n checkoutOrder.setBillingEmail(selectedAddr.getEmailAddr());\n checkoutOrder.setBillingFormattedAddress(selectedAddr.getFormattedAddress());\n checkoutOrder.setBillingAddrId(selectedAddr.getId());\n }", "title": "" }, { "docid": "6ebe5bac69f43b60ec535bac6ac76d19", "score": "0.52985376", "text": "public void setCustomerNo(CustomerNo customerNo) { this.customerNo = customerNo;}", "title": "" }, { "docid": "fec6d96ba69cfb8daa6e31a7c39c3e28", "score": "0.529124", "text": "public void setACCOUNT_NO(String ACCOUNT_NO) {\n\t\tthis.ACCOUNT_NO = ACCOUNT_NO == null ? null : ACCOUNT_NO.trim();\n\t}", "title": "" }, { "docid": "a40f568b446b7e56b823e02576f151bb", "score": "0.5289567", "text": "private int updateAPRMPendingPaymentFromInvoiceRecord(final FIN_Payment payment,\n final PaymentExecutionProcess executionProcess) {\n if (executionProcess == null || payment == null) {\n return 0;\n }\n\n int rowCount;\n final StringBuffer hql = new StringBuffer();\n hql.append(\"update APRM_PendingPaymentInvoice \");\n hql.append(\"set paymentExecutionProcess.id = :paymentExecutionProcessId \");\n hql.append(\"where paymentExecutionProcess.id <> :paymentExecutionProcessId \");\n hql.append(\"and payment.id = :paymentId \");\n\n Query updateQry = OBDal.getInstance().getSession().createQuery(hql.toString());\n updateQry.setString(\"paymentExecutionProcessId\", executionProcess.getId());\n updateQry.setString(\"paymentId\", payment.getId());\n rowCount = updateQry.executeUpdate();\n return rowCount;\n }", "title": "" }, { "docid": "0e123caf498e9ab7b05e30d955f01b73", "score": "0.5283117", "text": "public void setSupplierBillPaymentId(long supplierBillPaymentId);", "title": "" }, { "docid": "34d9417af8e50367e0f6c9357481ccd5", "score": "0.5280353", "text": "public void setOrder_no(String order_no) {\n\t\tthis.order_no = order_no == null ? null : order_no.trim();\n\t}", "title": "" }, { "docid": "e6ee31d66a7a59d483c4c424d75d483b", "score": "0.5274824", "text": "public void setOrderNumber(long value) {\r\n this.orderNumber = value;\r\n }", "title": "" }, { "docid": "c28536c57c3141a81869710d4da2e3fe", "score": "0.5261493", "text": "public void setInvoiceNum(int invoiceNum){\n\t\tthis.invoiceNum = invoiceNum;\n\t}", "title": "" }, { "docid": "845f3275cf92bd18a727d6a38cd0e6a8", "score": "0.52607375", "text": "public void setInvoiceDocumentNo (String InvoiceDocumentNo)\n\t{\n\t\tset_Value (COLUMNNAME_InvoiceDocumentNo, InvoiceDocumentNo);\n\t}", "title": "" }, { "docid": "67540d7f3cef47f79706f444a0ae47d2", "score": "0.52420956", "text": "public java.lang.Integer getBillNo() {\n\t\treturn billNo;\n\t}", "title": "" }, { "docid": "880d729424afac9618ca9e17c7bac516", "score": "0.52407986", "text": "public void setPROCESS_REF_NBR(BigDecimal PROCESS_REF_NBR) {\r\n this.PROCESS_REF_NBR = PROCESS_REF_NBR;\r\n }", "title": "" }, { "docid": "7539e8bb447c8c486b1cf553dbbdd36a", "score": "0.52336454", "text": "public int update(BusinessBillDO businessBill) throws DataAccessException;", "title": "" }, { "docid": "e9710ad08a0052718057af378438be04", "score": "0.5226588", "text": "public void setPaymentId(int tmp) {\n this.paymentId = tmp;\n }", "title": "" }, { "docid": "53f89a5a9417fcd6d34f416aab7867a9", "score": "0.5206541", "text": "public void setBnNumber(int bnNumber)\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(BNNUMBER$0, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BNNUMBER$0);\n }\n target.setIntValue(bnNumber);\n }\n }", "title": "" }, { "docid": "926de509da43078b6ed00df11ed214c0", "score": "0.52064425", "text": "public void setBill(String bill) {\r\n this.bill = bill == null ? null : bill.trim();\r\n }", "title": "" }, { "docid": "428ba843cd0750e323cf64e8dd214205", "score": "0.5196378", "text": "public void setBillDate(Date billDate) {\r\n this.billDate = billDate;\r\n }", "title": "" }, { "docid": "e51097a86f1a80ee2119847a3c1b5cb0", "score": "0.51947296", "text": "public void setSupplierBillId(long supplierBillId);", "title": "" }, { "docid": "b2c5c84824306e2892745214c5896dfa", "score": "0.51903564", "text": "public String getAlipayBillNo() {\n\t\treturn this.alipayBillNo;\n\t}", "title": "" }, { "docid": "ce2cf8bc4c21397af31f273cd5d20e40", "score": "0.5179037", "text": "public void setBillType(Integer billType) {\n this.billType = billType;\n }", "title": "" }, { "docid": "705548414c8e32c41a6a84a71696ea5c", "score": "0.5133001", "text": "public void setC_Payment_ID (int C_Payment_ID)\n{\nif (C_Payment_ID <= 0) set_Value (\"C_Payment_ID\", null);\n else \nset_Value (\"C_Payment_ID\", new Integer(C_Payment_ID));\n}", "title": "" }, { "docid": "4f8b92ca2c706dea30744b96ea5c998e", "score": "0.51315206", "text": "public void setReportOrderNO(java.lang.String param) {\r\n\t\t\tlocalReportOrderNOTracker = param != null;\r\n\r\n\t\t\tthis.localReportOrderNO = param;\r\n\r\n\t\t}", "title": "" }, { "docid": "a21ce8886beabd914a745f086647ab13", "score": "0.5128669", "text": "@Modifying\n\t@Transactional\n\tvoid updatePinNumber(String pin , String mobileNo);", "title": "" }, { "docid": "ec24d2e0729c9065dcf96f5c2ed7b3df", "score": "0.5115854", "text": "@Override\n public void setNUMBER(int arg0, NUMBER arg1) throws SQLException {\n\n }", "title": "" }, { "docid": "bbab2ce7dfc456953cbd1580fd871807", "score": "0.51142853", "text": "public void setACC_BR(BigDecimal ACC_BR) {\r\n this.ACC_BR = ACC_BR;\r\n }", "title": "" }, { "docid": "706e68d7256cadc28df137e08c5a32de", "score": "0.5113467", "text": "@Override\n public void updateBill(Bill bill) {\n billDao.save(bill);\n }", "title": "" }, { "docid": "344dc63c60052a10e0876028d55d63f6", "score": "0.510874", "text": "public void setOrderNumber(String orderNumber) {\n this.orderNumber = orderNumber;\n }", "title": "" }, { "docid": "1a5ae3bfb1cb5e96b64e109863698427", "score": "0.51057947", "text": "public void setC_BPartner_ID (int C_BPartner_ID)\n{\nset_Value (\"C_BPartner_ID\", new Integer(C_BPartner_ID));\n}", "title": "" }, { "docid": "ab44e789975391747edfc2589809ef56", "score": "0.5096709", "text": "public void setChargeAmt (BigDecimal ChargeAmt)\n{\nset_Value (\"ChargeAmt\", ChargeAmt);\n}", "title": "" }, { "docid": "fe716ccd1e632317efbb86e22ad6922d", "score": "0.5094248", "text": "public void setRecordNo(String recordNo) {\r\n this.recordNo = recordNo;\r\n }", "title": "" }, { "docid": "08c0d0366f33dac6f8787eec2abc8ac9", "score": "0.50779223", "text": "public void setEBillAccountID(long value) {\n this.eBillAccountID = value;\n }", "title": "" }, { "docid": "21acb491e7d78e1267e03d6baeaaf56c", "score": "0.5073447", "text": "public void setOrderno (java.lang.String orderno) {\n\t\tthis.orderno = orderno;\n\t}", "title": "" }, { "docid": "18660fc346597c4d99ade027e5ca31e5", "score": "0.50723124", "text": "int updateByPrimaryKey(MigrationInvestmentBill record);", "title": "" }, { "docid": "cf7fa9e555b9d91271e0dffe0ff36907", "score": "0.50645316", "text": "public void setInitialCurrentAccountAmt (BigDecimal InitialCurrentAccountAmt)\n{\nif (InitialCurrentAccountAmt == null) throw new IllegalArgumentException (\"InitialCurrentAccountAmt is mandatory\");\nset_Value (\"InitialCurrentAccountAmt\", InitialCurrentAccountAmt);\n}", "title": "" }, { "docid": "9f5185d094e814a6dd6b2a70303157bc", "score": "0.5059406", "text": "protected void setQuantity(RetailStoreOrderLineItem retailStoreOrderLineItem, ResultSet rs, int rowNumber) throws SQLException{\n\t\tInteger quantity = rs.getInt(RetailStoreOrderLineItemTable.COLUMN_QUANTITY);\n\t\tif(quantity == null){\n\t\t\t//do nothing when nothing found in database\n\t\t\treturn;\n\t\t}\n\t\n\t\tretailStoreOrderLineItem.setQuantity(quantity);\n\t}", "title": "" }, { "docid": "2e82f4f831ae122aab0fcd69216fb674", "score": "0.50585973", "text": "public boolean setInvoiceNumber(String num) { \n boolean good = false;\n good = this.checkInvoiceNumber(num);\n if (good){\n invoiceNumber = num;\n return true;\n }else return false;\n \n }", "title": "" }, { "docid": "32db845502f2ced9ce4d91ef30d801a7", "score": "0.5052213", "text": "@Override\n\tpublic void updateOrder(Order order) {\n\t\t\n\t\tcall = new SimpleJdbcCall(jdbcTemplate).withProcedureName(\"update_n_order\");\n\t\tMap<String, Object> map = new HashMap<String, Object>();\n\t\t\n\t\tmap.put(\"pid_order\",order.getIdOrder());\n\t\tmap.put(\"pdate_time\",order.getDateTime());\n\t\tmap.put(\"ptotal_amount\",order.getTotalAmount());\n\t\t\n\t\t\t\tSqlParameterSource src = new MapSqlParameterSource()\n\t\t\t\t.addValues(map);\n\t\tcall.execute(src);\n\n\t\t\n\t}", "title": "" }, { "docid": "026009331c4c291365c88f14558fe716", "score": "0.50444007", "text": "public void setCustNo(String custNo) { this.custNo = custNo; }", "title": "" }, { "docid": "2d41b5f2ced3c87c66ac0da214e30ede", "score": "0.50440645", "text": "void setCreateNumberOrder(com.callfire.api.service.xsd.CreateNumberOrderDocument.CreateNumberOrder createNumberOrder);", "title": "" }, { "docid": "dc8e965843174705b8376c6917ce99dc", "score": "0.5036632", "text": "public void setTRANSACTION_NUMBER(BigDecimal TRANSACTION_NUMBER) {\r\n this.TRANSACTION_NUMBER = TRANSACTION_NUMBER;\r\n }", "title": "" }, { "docid": "0d4322f850fdd2f6042e48f755858add", "score": "0.50312954", "text": "public void setAccountNum(int accountNum) {\n this.accountNum= accountNum;\n }", "title": "" }, { "docid": "95d54a826007bbb034318c1535906cbb", "score": "0.5019643", "text": "protected void setId(RetailStoreOrderLineItem retailStoreOrderLineItem, ResultSet rs, int rowNumber) throws SQLException{\n\t\tString id = rs.getString(RetailStoreOrderLineItemTable.COLUMN_ID);\n\t\tif(id == null){\n\t\t\t//do nothing when nothing found in database\n\t\t\treturn;\n\t\t}\n\t\n\t\tretailStoreOrderLineItem.setId(id);\n\t}", "title": "" }, { "docid": "865b8afd780e05433077661616c7a345", "score": "0.5016967", "text": "public\n\n void setOrderNumber(String orderNumber) {\n\n this.orderNumber = orderNumber;\n\n }", "title": "" }, { "docid": "a2ad48f9800c460154c57114026fe955", "score": "0.49965018", "text": "public void setInvoiceNo(java.lang.String invoiceNo) {\n this.invoiceNo = invoiceNo;\n }", "title": "" }, { "docid": "b2ca48df10da2e6bc25742218bc69a8e", "score": "0.4996135", "text": "public void setAccountNumber(int value) {\n this.accountNumber = value;\n }", "title": "" }, { "docid": "d8dd2c51f1684a8f151d7e2177ca9951", "score": "0.49935412", "text": "@Override\n\tpublic int adminOrderPay(int order_number) {\n\t\tHashMap<String, Object> map=new HashMap<String, Object>();\n\t\t\n\t\tString state=\"결제완료\";\n\t\tmap.put(\"state\", state);\n\t\tmap.put(\"order_number\", order_number);\n\t\treturn sqlSessionTemplate.update(\"dao.adminOrderMapper.adminOrderPay\",map);\n\t}", "title": "" }, { "docid": "3af834a47b83d65ee7d49e46e7511443", "score": "0.49919808", "text": "protected void setAmount(RetailStoreOrderLineItem retailStoreOrderLineItem, ResultSet rs, int rowNumber) throws SQLException{\n\t\tDouble amount = rs.getDouble(RetailStoreOrderLineItemTable.COLUMN_AMOUNT);\n\t\tif(amount == null){\n\t\t\t//do nothing when nothing found in database\n\t\t\treturn;\n\t\t}\n\t\n\t\tretailStoreOrderLineItem.setAmount(amount);\n\t}", "title": "" }, { "docid": "dd56f47a1adefc9e7a8dbda8d0e62267", "score": "0.49918014", "text": "public void setC_Payment_ID (int C_Payment_ID);", "title": "" }, { "docid": "7adabcdf5c696464dfb734eef02ec3d7", "score": "0.4986489", "text": "private void saveBill(String bill)\r\n {\r\n \r\n try\r\n {\r\n PreparedStatement bsmt=StaticMember.con.prepareStatement(\"insert into k_retail_bill_items(sr_no,k_retail_bill_no,qty,free_qty,kprice,kdisc,product_id,batch_no,manifacture_id,mrp,exp_date) values(?,?,?,?,?,?,?,?,?,?,?)\");\r\n ResultSet sr=StaticMember.con.createStatement().executeQuery(\"select max(sr_no) as sr_no from k_retail_bill_items\");\r\n sr.next();\r\n bsmt.setInt(1,sr.getInt(\"sr_no\")+1);\r\n bsmt.setString(2,bill);\r\n int qty=Integer.parseInt(product_quintity.getText().trim());\r\n bsmt.setInt(3, qty);\r\n int frqty=Integer.parseInt(free_qty.getText().trim());\r\n bsmt.setInt(4, frqty);\r\n float pgst=Float.parseFloat(product_sgst.getText().trim())*2;\r\n float price=Float.parseFloat(product_rate.getText().trim());\r\n float disc=Float.parseFloat(product_disc.getText().trim());\r\n float tamt=price*qty;\r\n float sgst=tamt*pgst/100;\r\n float disamt=tamt*disc/100;\r\n float netamt=tamt-disamt;\r\n bsmt.setFloat(5, price);\r\n bsmt.setFloat(6, disc);\r\n bsmt.setString(7, p_id);\r\n bsmt.setString(8, \" \"+batch);\r\n bsmt.setString(9,mri);\r\n bsmt.setString(10,product_mrp.getText());\r\n bsmt.setString(11,expary);\r\n bsmt.execute();\r\n PreparedStatement ssmt=StaticMember.con.prepareStatement(\"update k_retail_bill set kpay_amount=? where k_retail_bill_no=?\"); \r\n float pamt=Float.parseFloat(p_amt);\r\n ssmt.setFloat(1, pamt+netamt+sgst);\r\n ssmt.setString(2, bill);\r\n ssmt.execute();\r\n empaty();\r\n MDIMainWindow.k_b_m_obj.allBill();\r\n JOptionPane.showMessageDialog(KModifyWindow.this,\"Bill Updated!\",null,JOptionPane.INFORMATION_MESSAGE);\r\n product_name.requestFocusInWindow();\r\n \r\n }\r\n catch(SQLException ex)\r\n {\r\n JOptionPane.showMessageDialog(null, ex.getMessage(),\"save bill\",JOptionPane.INFORMATION_MESSAGE);\r\n }catch(NumberFormatException ex)\r\n {\r\n JOptionPane.showMessageDialog(null, ex.getMessage(),\"save bill3\",JOptionPane.INFORMATION_MESSAGE);\r\n }\r\n \r\n \r\n }", "title": "" }, { "docid": "591c65fa058a092ecf24e803997a6cb1", "score": "0.4978626", "text": "public void setC_Invoice_ID (int C_Invoice_ID);", "title": "" }, { "docid": "591c65fa058a092ecf24e803997a6cb1", "score": "0.4978626", "text": "public void setC_Invoice_ID (int C_Invoice_ID);", "title": "" }, { "docid": "a0590afc1433bb29efe5013fd503f961", "score": "0.4976191", "text": "public void setCustomerNo(Integer customerNo) {\n this.customerNo = customerNo;\n }", "title": "" }, { "docid": "127702362204a6020b5618b4a1cc0359", "score": "0.49743828", "text": "private void setWeiXinPayOrder(boomegg.cn.wawa.proto.PhpApi.WeiXinPayOrder value) {\n if (value == null) {\n throw new NullPointerException();\n }\n weiXinPayOrder_ = value;\n \n }", "title": "" }, { "docid": "02d7d91bddc4ab27bdb93db0d4446db7", "score": "0.49679965", "text": "public void setSL_NO(BigDecimal SL_NO) {\r\n this.SL_NO = SL_NO;\r\n }", "title": "" }, { "docid": "02d7d91bddc4ab27bdb93db0d4446db7", "score": "0.49679965", "text": "public void setSL_NO(BigDecimal SL_NO) {\r\n this.SL_NO = SL_NO;\r\n }", "title": "" }, { "docid": "58fd09a1d8d23c6950d720908501223c", "score": "0.49628583", "text": "@Override\n public Boolean setPhoneBill(String customer, PhoneCall call) {\n PhoneBill bill = this.bills.get(customer);\n if(bill == null) {\n bill = new PhoneBill();\n bill.setCustomer(customer);\n this.bills.put(customer, bill);\n }\n\n if(bill.callExistsInBill(call) == true) {\n return false;\n }\n\n bill.addPhoneCall(call);\n return true;\n }", "title": "" }, { "docid": "f0f6b5113955748dda7c2411423fe10c", "score": "0.49612588", "text": "int updateByPrimaryKey(BillItemDO record);", "title": "" }, { "docid": "c56fbe32e6a71ba4d85cf329bca4c0bf", "score": "0.49547127", "text": "void setPaid(int cash_unit) {\n }", "title": "" }, { "docid": "a423290c3b8a5a69395f8669b4e05a64", "score": "0.4952623", "text": "public void setOrderNum(Integer orderNum) {\r\n this.orderNum = orderNum;\r\n }", "title": "" }, { "docid": "5ff241b832a455459a2b001928abc38b", "score": "0.49511245", "text": "public void setC_Invoice_ID (int C_Invoice_ID)\n{\nset_ValueNoCheck (\"C_Invoice_ID\", new Integer(C_Invoice_ID));\n}", "title": "" }, { "docid": "51ec388144b3706a6d46cfd039daa659", "score": "0.49439305", "text": "public void updateProductNumber() {\n\t\tproductDao.updateNumber();\r\n\t}", "title": "" }, { "docid": "55f97a4041b049a493f351e53e9e6301", "score": "0.49410644", "text": "public void setOrderNum(Integer orderNum) {\n this.orderNum = orderNum;\n }", "title": "" }, { "docid": "e0dbf69ac6c29430adf096a65d183874", "score": "0.49392125", "text": "public void setOrderNumber(String value) {\n setAttributeInternal(ORDERNUMBER, value);\n }", "title": "" }, { "docid": "8d56f3af28aee2b7510143f0f1c709a3", "score": "0.49354035", "text": "public void setW_InvActualAdjust_Acct (int W_InvActualAdjust_Acct)\n{\nset_Value (\"W_InvActualAdjust_Acct\", new Integer(W_InvActualAdjust_Acct));\n}", "title": "" }, { "docid": "5070c34a34315eb82a91db7ec7803f9f", "score": "0.49280852", "text": "public void setPaymentId(int value) {\n this.paymentId = value;\n }", "title": "" }, { "docid": "619e13dfcc59fd32055c891bdb1901e9", "score": "0.49263385", "text": "protected void setCode(Period period, ResultSet rs, int rowNumber) throws SQLException{\n\t\t\n\t\tString code = rs.getString(PeriodTable.COLUMN_CODE);\n\t\t\n\t\tif(code == null){\n\t\t\t//do nothing when nothing found in database\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tperiod.setCode(code);\n\t}", "title": "" }, { "docid": "618e232596fb5e519c5fcd8f46857f5b", "score": "0.49256825", "text": "int updateByPrimaryKey(AccountNumberDO record);", "title": "" }, { "docid": "9922ca1a9f8cf879987ce3594d32bb2e", "score": "0.49231842", "text": "@Override\n public void addBill(Bill bill) {\n\n// Customer customer = bill.getCustomer_bill();\n// customer.getBill().add(bill);\n// customerDao.save(customer);\n billDao.save(bill);\n }", "title": "" } ]
12768d6170ddda10b386fbd02112f68a
verify required params are set
[ { "docid": "2b546a62b6250bf4a5bdcd7059b3457d", "score": "0.0", "text": "public ProviderUserResponse updateProviderUser (String id, ProviderUserRequest body, String fields, String related) throws ApiException {\n if(id == null || body == null ) {\n throw new ApiException(400, \"missing required params\");\n }\n // create path and map variables\n String path = \"/system/provider_user/{id}\".replaceAll(\"\\\\{format\\\\}\",\"json\").replaceAll(\"\\\\{\" + \"id\" + \"\\\\}\", apiInvoker.escapeString(id.toString()));\n\n // query params\n Map<String, String> queryParams = new HashMap<String, String>();\n Map<String, String> headerParams = new HashMap<String, String>();\n\n if(!\"null\".equals(String.valueOf(fields)))\n queryParams.put(\"fields\", String.valueOf(fields));\n if(!\"null\".equals(String.valueOf(related)))\n queryParams.put(\"related\", String.valueOf(related));\n String contentType = \"application/json\";\n\n try {\n String response = apiInvoker.invokeAPI(basePath, path, \"PATCH\", queryParams, body, headerParams, contentType);\n if(response != null){\n return (ProviderUserResponse) ApiInvoker.deserialize(response, \"\", ProviderUserResponse.class);\n }\n else {\n return null;\n }\n } catch (ApiException ex) {\n if(ex.getCode() == 404) {\n return null;\n }\n else {\n throw ex;\n }\n }\n }", "title": "" } ]
[ { "docid": "62f480ac3f3847098104fba66ef4de3e", "score": "0.7893082", "text": "@Override\n\tpublic boolean checkMandatoryParams() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "6923b45acfbe96edc47c51eff58a4919", "score": "0.7317486", "text": "protected void checkRequiredParametersAreSpecified() throws MojoFailureException {\r\n if (driver == null) {\r\n throw new MojoFailureException(\"The driver has not been specified either as a \"\r\n + \"parameter or in a properties file.\");\r\n } else if (url == null) {\r\n throw new MojoFailureException(\"The database URL has not been specified either as \"\r\n + \"a parameter or in a properties file.\");\r\n }\r\n\r\n if (password != null && emptyPassword) {\r\n throw new MojoFailureException(\"A password cannot be present and the empty \"\r\n + \"password property both be specified.\");\r\n }\r\n }", "title": "" }, { "docid": "a2b89d1b043b2e727b9cf1b67eecdc51", "score": "0.70488083", "text": "@Override\n public void validateParameters() {\n }", "title": "" }, { "docid": "2605ea67bd2c86c1a6f070e10ad04e17", "score": "0.70367", "text": "@Override\n public void ValidateParams() {\n\n Validator.given(sessionId, \"Session id (-id)\")\n .isSetThen()\n .notAllowed(browser, \"Browser (-br)\")\n .notAllowed(capsFile, \"Caps file (-cf)\");\n }", "title": "" }, { "docid": "efaa2018b4bc9b1d006f3c6eda72f947", "score": "0.6992105", "text": "private static boolean validateParams(OperationParams params) {\n return true;\n }", "title": "" }, { "docid": "b07c38aa1e2cb89fc3f09f22f5978e9c", "score": "0.69259024", "text": "@JsonIgnore\n @Override\n public boolean valid() {\n if (params == null)\n return false;\n if (params.get(0) == null)\n return false;\n return true;\n }", "title": "" }, { "docid": "d152e6b0e9f9e5ea7b960a28f1055ddc", "score": "0.68424904", "text": "protected boolean paramsCheck(Object[] params) {\n return true;\n }", "title": "" }, { "docid": "3b31844ea0d68cd29d21aed21856a787", "score": "0.6809636", "text": "protected abstract boolean validateRequestParams (Object obj) ;", "title": "" }, { "docid": "7ddddd4554ddd05f6d5d8932b8691250", "score": "0.6798313", "text": "private void verifyParameters() throws Exception{\r\n\t\tif (urlConnection==null || urlConnection.length()==0)\r\n\t\t\tthrow new Exception(\"Error, empty urlConection\");\r\n\t\tswitch(operation){\r\n\t\tcase OPERATION_KEYS:\r\n\t\tcase OPERATION_TYPE:\r\n\t\tcase OPERATION_HGEALL:\r\n\t\tcase OPERATION_DELETE:\r\n\t\tcase OPERATION_GET:\r\n\t\tcase OPERATION_TTL:\r\n\t\t\tif (key==null || key.length()==0)\r\n\t\t\t\tthrow new Exception(\"Error in operation \"+operation\r\n\t\t\t\t\t\t+\"\\n key is mandatory\");\r\n\t\t\tbreak;\r\n\t\tcase OPERATION_HGET:\r\n\t\tcase OPERATION_HDEL:\r\n\t\tcase OPERATION_EXPIRE:\r\n\t\tcase OPERATION_EXPIRE_AT:\r\n\t\t\tif (key==null || field==null || key.length()==0 || field.length()==0)\r\n\t\t\t\tthrow new Exception(\"Error in operation \"+operation\r\n\t\t\t\t\t\t+\"\\n key and field are mandatory\");\r\n\t\t\tbreak;\r\n\t\tcase OPERATION_HSET:\r\n\t\t\tif (key==null || field==null || data==null\r\n\t\t\t|| key.length()==0 || field.length()==0 || data.length()==0)\r\n\t\t\t\tthrow new Exception(\"Error in operation \"+operation\r\n\t\t\t\t\t\t+\"\\n key, field and data are mandatory\");\r\n\t\t\tbreak;\r\n\t\tcase OPERATION_SET:\r\n\t\tcase OPERATION_HSETM:\r\n\t\t\tif (key==null || data==null\r\n\t\t\t|| key.length()==0 || data.length()==0)\r\n\t\t\t\tthrow new Exception(\"Error in operation \"+operation\r\n\t\t\t\t\t\t+\"\\n key and data are mandatory\");\r\n\t\t\tbreak;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "95a368c7f553b26e04e4bd02b9c34194", "score": "0.6768564", "text": "protected boolean checkArguments() {\n for (Parameter p : inputParameters) {\n if (p.description.mandatory && p.get() == null) {\n String shortOpt = \"\";\n if (p.description.shortOpt != null) {\n shortOpt = \" (-\" + p.description.shortOpt + \")\";\n }\n throw new NotSetArgumentException(\"Mandatory argument --\" + p.description.name + shortOpt + \" not set\");\n }\n }\n return true;\n }", "title": "" }, { "docid": "907bdf2e91aaed7765abe5ad53dbc789", "score": "0.6691422", "text": "boolean hasParams();", "title": "" }, { "docid": "907bdf2e91aaed7765abe5ad53dbc789", "score": "0.6691422", "text": "boolean hasParams();", "title": "" }, { "docid": "ad0e6ad89a33149bf7ff6daffc95d8ab", "score": "0.6612844", "text": "private void fillMandatoryFields() {\n\n }", "title": "" }, { "docid": "b89335112b972edf87e2c552daea7619", "score": "0.65603524", "text": "@Test\n public void testSuccessRequiredAddressParams() {\n validator = new RequiredParametersValidator(requiredParamsMap);\n\n assertTrue(validator.isValidRequiredParams());\n }", "title": "" }, { "docid": "3084a5921cd331c649427d2471d3bdac", "score": "0.6435449", "text": "@Override\n public boolean checkParams() {\n String[] parts = params.split(DELIMITER);\n if (parts.length == 1) {\n //visitorID given\n if (parts[0].length() == 10) {\n visitorID = parts[0];\n }\n //visitorID not given\n else{\n visitorID = accountDB.getVisitorIDFromClientID(clientID);\n }\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "f4dd77b9c4328e3ad5420df062164944", "score": "0.64033586", "text": "protected void checkPreconditions(OAuthRequest request) {\n Preconditions.checkNotNull(request, \"Cannot extract a header from a null object\");\n\n if (request.getOauthParameters() == null || request.getOauthParameters().size() <= 0) {\n throw new OAuthParametersMissingException(request);\n }\n }", "title": "" }, { "docid": "fb7c5bf130bc325348f7830c03acede4", "score": "0.63578844", "text": "void ensureValid();", "title": "" }, { "docid": "56a571e9b21621de950f1e8bebe5fa8f", "score": "0.6347575", "text": "@Test\n public void testHasRequiredFields() {\n boolean expResult = false;\n boolean result = instance.hasRequiredFields();\n assertEquals(expResult, result);\n instance.setField(\"author\", \"testA\");\n assertEquals(expResult, instance.hasRequiredFields());\n instance.setField(\"title\", \"testT\");\n assertEquals(expResult, instance.hasRequiredFields());\n instance.setField(\"school\", \"testJ\");\n assertEquals(expResult, instance.hasRequiredFields());\n }", "title": "" }, { "docid": "64f1d8a615e334534ef3f4886549a9e0", "score": "0.63407516", "text": "@java.lang.Override\n public boolean hasParams() {\n return params_ != null;\n }", "title": "" }, { "docid": "7bb1b7ba1cb1ffe49a96bdcc38a96a93", "score": "0.63345945", "text": "@Test\n public void testHasRequiredFieldsWhenFieldsAreSet() {\n instance = new PhdThesis();\n instance.setField(\"author\", \"Arto Hellas\");\n instance.setField(\"school\", \"University of Nakkila\");\n instance.setField(\"title\", \"My doctoral dissertation: \" +\n \"never getting it ready\");\n instance.setField(\"year\", \"2060\");\n boolean expResult = true;\n boolean result = instance.hasRequiredFields();\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "f62f672435238fb7d7bd9b7ae17c320b", "score": "0.6330269", "text": "@Override\n\tpublic void doEmptyCheck(Object... needParams) {\n\n\t}", "title": "" }, { "docid": "41194d25e5f7007b6bbcbf39cd1238de", "score": "0.6301934", "text": "@Override\n\tpublic int getNumRequiredParameters() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "35a0f6d0e10c630242adbefb33c8bf23", "score": "0.62666744", "text": "public boolean isSetParams() {\n return this.params != null;\n }", "title": "" }, { "docid": "35a0f6d0e10c630242adbefb33c8bf23", "score": "0.62666744", "text": "public boolean isSetParams() {\n return this.params != null;\n }", "title": "" }, { "docid": "35a0f6d0e10c630242adbefb33c8bf23", "score": "0.62666744", "text": "public boolean isSetParams() {\n return this.params != null;\n }", "title": "" }, { "docid": "35a0f6d0e10c630242adbefb33c8bf23", "score": "0.62666744", "text": "public boolean isSetParams() {\n return this.params != null;\n }", "title": "" }, { "docid": "35a0f6d0e10c630242adbefb33c8bf23", "score": "0.62666744", "text": "public boolean isSetParams() {\n return this.params != null;\n }", "title": "" }, { "docid": "35a0f6d0e10c630242adbefb33c8bf23", "score": "0.62666744", "text": "public boolean isSetParams() {\n return this.params != null;\n }", "title": "" }, { "docid": "35a0f6d0e10c630242adbefb33c8bf23", "score": "0.62666744", "text": "public boolean isSetParams() {\n return this.params != null;\n }", "title": "" }, { "docid": "35a0f6d0e10c630242adbefb33c8bf23", "score": "0.62666744", "text": "public boolean isSetParams() {\n return this.params != null;\n }", "title": "" }, { "docid": "35a0f6d0e10c630242adbefb33c8bf23", "score": "0.62666744", "text": "public boolean isSetParams() {\n return this.params != null;\n }", "title": "" }, { "docid": "35a0f6d0e10c630242adbefb33c8bf23", "score": "0.62666744", "text": "public boolean isSetParams() {\n return this.params != null;\n }", "title": "" }, { "docid": "35a0f6d0e10c630242adbefb33c8bf23", "score": "0.62666744", "text": "public boolean isSetParams() {\n return this.params != null;\n }", "title": "" }, { "docid": "35a0f6d0e10c630242adbefb33c8bf23", "score": "0.62666744", "text": "public boolean isSetParams() {\n return this.params != null;\n }", "title": "" }, { "docid": "8d33d9cf6d199eaed30057d7e42f7475", "score": "0.6254061", "text": "boolean hasParam();", "title": "" }, { "docid": "8d33d9cf6d199eaed30057d7e42f7475", "score": "0.6254061", "text": "boolean hasParam();", "title": "" }, { "docid": "8d33d9cf6d199eaed30057d7e42f7475", "score": "0.6254061", "text": "boolean hasParam();", "title": "" }, { "docid": "8d33d9cf6d199eaed30057d7e42f7475", "score": "0.6254061", "text": "boolean hasParam();", "title": "" }, { "docid": "8d33d9cf6d199eaed30057d7e42f7475", "score": "0.6254061", "text": "boolean hasParam();", "title": "" }, { "docid": "cb91b7ac67e97e1f9af901e2fb8eed88", "score": "0.62458295", "text": "boolean hasIsRequired();", "title": "" }, { "docid": "5d1867a8b7ba6808c050245576390b0a", "score": "0.6237955", "text": "private boolean validate(ServletRequest req) {\n // Validate \"lang\" parameter - REQUIRED\n if (req.getParameter(\"lang\") == null) {\n logger.warn(\"Bad request! Reason : \\\"lang\\\" parameter missing!\");\n // \"lang\" is required -> invalid request\n return false;\n } else if (req.getParameter(\"lang\").isEmpty()) {\n logger.warn(\"Bad request! Reason : \\\"lang\\\" parameter is empty!\");\n // \"lang\" cannot be empty -> invalid request\n return false;\n }\n // Validate \"callno\" parameter - REQUIRED\n if (req.getParameter(\"callno\") == null) {\n logger.warn(\"Bad request! Reason : \\\"callno\\\" parameter missing!\");\n // \"callno\" is required -> invalid request\n return false;\n }\n // Validate \"owner\" parameter - REQUIRED\n if (req.getParameter(\"owner\") == null) {\n logger.warn(\"Bad request! Reason : \\\"owner\\\" parameter missing!\");\n // \"owner\" is required -> invalid request\n return false;\n } else if (req.getParameter(\"owner\").isEmpty()) {\n logger.warn(\"Bad request! Reason : \\\"owner\\\" parameter is empty!\");\n // \"owner\" cannot be empty -> invalid request\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "8a895a7dbcfe5fb3e149de9c56d5a444", "score": "0.617321", "text": "@Override\n\tpublic void validateParameters() throws ECException {\n\t\tString METHOD_NAME = \"validateParameters\";\n\t\tLOGGER.entering(CLASSNAME, METHOD_NAME);\n\t\t// It allow CSR user to access this command behalf of user.\n\t\tif (getCommandContext().getUserId().equals(getCommandContext().getCallerId())) {\n\t\t\tthrow new ECApplicationException(ECMessage._ERR_USER_AUTHORITY, CLASSNAME, METHOD_NAME,\n\t\t\t\t\tnew Object[] { getCommandName() });\n\t\t}\n\n\t\tif (StringUtils.isBlank(orderId)) {\n\t\t\tthrow new ECApplicationException(ECMessage._ERR_CMD_BAD_PARAMETER, CLASSNAME, METHOD_NAME,\n\t\t\t\t\tnew Object[] { \"orderId\" });\n\t\t}\n\n\t\tif (StringUtils.isBlank(shipAdjustment)) {\n\t\t\tthrow new ECApplicationException(ECMessage._ERR_CMD_BAD_PARAMETER, CLASSNAME, METHOD_NAME,\n\t\t\t\t\tnew Object[] { \"shipAdjustment\" });\n\t\t}\n\t\t// shipAdjustment value is negative then throw the error\n\t\tif (Double.valueOf(shipAdjustment) < 0.0D){\n\t\t\tthrow new ECApplicationException(ECMessage._ERR_INVALID_INPUT, CLASSNAME, METHOD_NAME,\n\t\t\t\t\tnew Object[] { \"shipAdjustment\" });\n\t\t}\n\t}", "title": "" }, { "docid": "7d00f415a1070a1cfdeef0152ad714a5", "score": "0.6131854", "text": "@Override\r\n public boolean argumentRequired() {\r\n return true;\r\n }", "title": "" }, { "docid": "a06492d0fbac0e52d4202b38f697809d", "score": "0.6116309", "text": "protected boolean hasParameter() {\n \t\treturn !mParams.empty();\n \t}", "title": "" }, { "docid": "13d0db435ab72e26ee21e96246cf6532", "score": "0.61142373", "text": "@Test\n public void testFillEmptiesRequired() {\n testFillEmpties(REQUIRED);\n }", "title": "" }, { "docid": "fdbe0d3b1564f6025ce1f1153c42af50", "score": "0.6102435", "text": "@PostConstruct\n protected void checkInit() throws OPMConfigurationException {\n super.checkInit();\n Helper.checkState(paymentService == null, \"'paymentService' can not be null.\");\n Helper.checkState(currentSelectedAccountIdKey == null, \"'currentSelectedAccountIdKey' can not be null.\");\n Helper.checkState(currentSelectedAccountIdKey.trim().length() == 0,\n \"'currentSelectedAccountIdKey' can not be empty.\");\n\n }", "title": "" }, { "docid": "6de70ac9a2f32217f0ad1b113fb2ac95", "score": "0.6092936", "text": "private void validateUserInput() {\n validateAge();\n validateName();\n validateWeight();\n validateHeight();\n }", "title": "" }, { "docid": "bed5f7c5cf17b06a321144e07beae795", "score": "0.60879797", "text": "public boolean isRequired();", "title": "" }, { "docid": "bed5f7c5cf17b06a321144e07beae795", "score": "0.60879797", "text": "public boolean isRequired();", "title": "" }, { "docid": "1d1dd386812ca29d80b5dc122e408799", "score": "0.608403", "text": "@Override\r\n\tpublic void validateParam(Object obj) throws Exception {\n\t}", "title": "" }, { "docid": "3f94eb6d45e1c63e92432704c408c8ba", "score": "0.6077697", "text": "@Test\n public void environmentTest() {\n s3Model.checkParameters();\n\n //2. Check lambda parameters\n lambdaModel.checkParameters();\n\n //3. Check dynamoDB parameters\n dynamoModel.checkParameters();\n }", "title": "" }, { "docid": "328f01254806da8cc966bf0fe778906a", "score": "0.6073154", "text": "void validate(MetadataExportParams params);", "title": "" }, { "docid": "2573f3252ff2628501a094209416dbb4", "score": "0.6054575", "text": "@Override\n public ArrayList<Parameter> getRequiredParameters() {\n // Create the required parameters.\n ArrayList<Parameter> requiredParameters = new ArrayList<>();\n requiredParameters.add(new Parameter(\"username\",Parameter.ParameterType.STRING));\n requiredParameters.add(new Parameter(\"password\",Parameter.ParameterType.STRING));\n\n // Return the required parameters.\n return requiredParameters;\n }", "title": "" }, { "docid": "25caa23e324db1cedf36617d2dcf6f6e", "score": "0.60452914", "text": "@Override\n\tpublic void fillMandatoryFields() {\n\t\t\n\t}", "title": "" }, { "docid": "ae809fa537f3e56c7b3b95ff14eb9428", "score": "0.60438627", "text": "public void testPreconditions() {\n assertNotNull(mViewWelcome);\n assertNotNull(mButtonStart);\n }", "title": "" }, { "docid": "216d99b835bda1cfcd4842de48e85cd7", "score": "0.6038033", "text": "protected void validateRequest( RPCMethodCall mc ) throws GazetteerClientException { \n RPCParameter[] params = mc.getParameters();\n if ( params == null || params.length != 1 ) {\n throw new GazetteerClientException(\"one rpc parameter containing a struct \"+\n \"with requiered parameters must be set\");\n }\n RPCStruct struct = (RPCStruct)params[0].getValue();\n if ( struct.getMember( Constants.SOURCETYPE ) == null ) {\n \tthrow new GazetteerClientException(\"sourceType parameter must be set \" +\n \"to perform a gazetteer client getTerms\" +\n \"request\");\n }\n if ( struct.getMember( Constants.SOURCEVALUE ) == null ) {\n throw new GazetteerClientException(\"sourceValue parameter must be set \" +\n \"to perform a gazetteer client getTerms\" +\n \"request\");\n }\n if ( struct.getMember( Constants.TARGETTYPE ) == null ) {\n throw new GazetteerClientException(\"targetType parameter must be set \" +\n \"to perform a gazetteer client getTerms\" +\n \"request\");\n }\n if ( struct.getMember( Constants.RELATIONTYPE ) == null ) {\n throw new GazetteerClientException(\"relationType parameter must be set \" +\n \"to perform a gazetteer client getTerms\" +\n \"request\");\n }\n }", "title": "" }, { "docid": "b037ebd2147e923230b54d40792667de", "score": "0.6030905", "text": "private boolean validateParameters() {\n if (StringUtils.isEmpty(imagePath))\n return false;\n if (StringUtils.isEmpty(threshold))\n threshold = \"5\";\n return true;\n }", "title": "" }, { "docid": "2ceee9806cf68fd7dbd37f2a7ff05a5f", "score": "0.60291", "text": "protected void validateRequirementsAsSkillRequirements(SkillRequirement[] param){\r\n \r\n }", "title": "" }, { "docid": "6d871021fdf13bb38b7a0e8b5bc54619", "score": "0.6014311", "text": "public CheckParameters(){\n }", "title": "" }, { "docid": "5d549d51682d42ba41c7807bd0230788", "score": "0.6011977", "text": "public boolean hasParams() {\n return paramsBuilder_ != null || params_ != null;\n }", "title": "" }, { "docid": "b1c6f1412090db0e191e18e6a07ddc8f", "score": "0.6007745", "text": "protected void validateMetadati(KeyValuePair[] param){\n \n }", "title": "" }, { "docid": "b1c6f1412090db0e191e18e6a07ddc8f", "score": "0.6007745", "text": "protected void validateMetadati(KeyValuePair[] param){\n \n }", "title": "" }, { "docid": "b1c6f1412090db0e191e18e6a07ddc8f", "score": "0.6007745", "text": "protected void validateMetadati(KeyValuePair[] param){\n \n }", "title": "" }, { "docid": "d2c2913968f97e3f0df35957791e4036", "score": "0.60024863", "text": "@Test (expected = RequiredParamsException.class)\n public void missingControlParam(){\n String deviceType = \"browser\";\n sale3DRequest.set3dsV2ControlDeviceType(deviceType);\n assertEquals(deviceType, sale3DRequest.get3dsV2ControlDeviceType());\n sale3DRequest.build3DSv2ControlParams();\n }", "title": "" }, { "docid": "9066bbb105860bf6bf81c1de6edb207f", "score": "0.60006326", "text": "private void fillMandatoryFields_custom() {\n\n }", "title": "" }, { "docid": "d85448e5bed5e9eb674db0c20c67cf3f", "score": "0.5996472", "text": "@Override\n public ArrayList<Parameter> getRequiredParameters() {\n // Create the required parameters.\n ArrayList<Parameter> requiredParameters = new ArrayList<>();\n requiredParameters.add(new Parameter(\"number-of-days\",Parameter.ParameterType.INTEGER));\n\n // Return the required parameters.\n return requiredParameters;\n }", "title": "" }, { "docid": "5c8535b259a1ce0b744e53fdf43399e7", "score": "0.5993562", "text": "public void validate() throws org.apache.thrift.TException {\n if (square != null) {\n square.validate();\n }\n if (creator != null) {\n creator.validate();\n }\n if (authority != null) {\n authority.validate();\n }\n if (status != null) {\n status.validate();\n }\n }", "title": "" }, { "docid": "a218a12dd81de68eb54cdc4ba9f51616", "score": "0.5981986", "text": "protected void verifyParameters() throws QueryException {\n \t\tverifyParameters(false);\n \t}", "title": "" }, { "docid": "7174ab0a38abeb0a6706f104df218880", "score": "0.59771335", "text": "public void validate() throws org.apache.thrift.TException {\n if (projectionSpec != null) {\n projectionSpec.validate();\n }\n if (filterSpec != null) {\n filterSpec.validate();\n }\n }", "title": "" }, { "docid": "d6a0b61802db2b90bfa3059b6aaec9b2", "score": "0.597361", "text": "public void validate() throws org.apache.thrift.TException {\n if (pluginName == null) {\n throw new org.apache.thrift.protocol.TProtocolException(\"Required field 'pluginName' was not present! Struct: \" + toString());\n }\n if (userId == null) {\n throw new org.apache.thrift.protocol.TProtocolException(\"Required field 'userId' was not present! Struct: \" + toString());\n }\n if (deviceOs == null) {\n throw new org.apache.thrift.protocol.TProtocolException(\"Required field 'deviceOs' was not present! Struct: \" + toString());\n }\n if (pushToken == null) {\n throw new org.apache.thrift.protocol.TProtocolException(\"Required field 'pushToken' was not present! Struct: \" + toString());\n }\n }", "title": "" }, { "docid": "838552d1410bc1596564fa74c02b1a49", "score": "0.5967052", "text": "protected boolean determineRequiredStatus(AnnotationAttributes ann) {\r\n\t\treturn (!ann.containsKey(this.requiredParameterName) ||\r\n\t\t\t\tthis.requiredParameterValue == ann.getBoolean(this.requiredParameterName));\r\n\t}", "title": "" }, { "docid": "1cd53d054b7fceacbee1b4e390c61b9c", "score": "0.5960764", "text": "private boolean validateControllerParams(VCenter vCenter) throws ConfigurationException {\n\t\tif (vCenter.mandatorySettingsMissing()) {\n\t\t\tthrow new ConfigurationException(\n\t\t\t\t\tgetLocalizedErrorMessage(\"ui.config.error.controller.param.empty\", vCenter.anyMissing()));\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "67f15f0d4af4f9e0cf6cf4ac50b3e970", "score": "0.5960088", "text": "@Override\n\tprotected void checkParamIsNull(Map<String, Object> paramsMap)\n\t\t\tthrows BaseException {\n\t\tString jsonField = (String) paramsMap.get(COMPANYORGS);\n\t\tif (StringUtils.isEmpty(jsonField)){\n\t\t\tthrow new PurBizException(PurExceptionDefine.REQUIRED_ARGS,new String[]{COMPANYORGS,ParamCheckUtil.LISTTYPE});\n\t\t}\n\t}", "title": "" }, { "docid": "23cd432ba6af93c2e0daf443730978f0", "score": "0.5958162", "text": "protected void validateSearchCarInfo(SearchCarInfo[] param) {\r\n }", "title": "" }, { "docid": "554453507a7c3ba72a97a00914a2c543", "score": "0.595094", "text": "@Test\n public void testGetValidatorWithValidArgs() {\n EngineConfigMap engineConfigMap = mock(EngineConfigMap.class);\n when(engineConfigMap.getKey()).thenReturn(\"keyToGet\");\n ConfigActionType setAction = ConfigActionType.ACTION_GET;\n setAction.validate(engineConfigMap);\n }", "title": "" }, { "docid": "d27b977f8498c2dc0e2fddba0169d0a5", "score": "0.5941301", "text": "private void validate() {\n \t//implementation here \n }", "title": "" }, { "docid": "24088990da9154b4d9d58a1790a2d81c", "score": "0.59362096", "text": "private void checkPresenceOfObligatoryArgs() throws MissingObligatoryArgException {\r\n\t\tif (this._input_grammar == null) {\r\n\t\t\tthrow new MissingObligatoryArgException(\"Missing the grammar file in the arguments.\");\t\t\r\n\t\t}\r\n\t\treturn;\r\n\t}", "title": "" }, { "docid": "bd4055823980fdd59d442cdb096d4dc0", "score": "0.59324354", "text": "private void checkParametersForNull(String customerName, String callerNumber, String calleeNumber, String startTime, String endTime) {\n if (customerName == null || \"\".equals(customerName)) {\n throw new ValidatePhoneBillException(\"Customer name cannot be blank\");\n } else if (callerNumber == null || \"\".equals(callerNumber)) {\n throw new ValidatePhoneBillException(\"Caller number cannot be blank\");\n } else if (calleeNumber == null || \"\".equals(calleeNumber)) {\n throw new ValidatePhoneBillException(\"Callee number cannot be blank\");\n } else if (startTime == null || \"\".equals(startTime)) {\n throw new ValidatePhoneBillException(\"Start time cannot be blank\");\n } else if (endTime == null || \"\".equals(endTime)) {\n throw new ValidatePhoneBillException(\"End time cannot be blank\");\n }\n }", "title": "" }, { "docid": "e7bd8ee4443bc816263ba611bad14a10", "score": "0.59298426", "text": "public void testPreconditions() {\r\n\t\tassertNotNull(mActivity);\r\n\t\tassertNotNull(mInst);\r\n\t}", "title": "" }, { "docid": "bd12a532e4b85832574004989c070d8e", "score": "0.59166646", "text": "protected static void VerifyIfParamErrors(String name, String email, String courseID){\n\t\tif(name == null) //Throws an Error if parameter name was wrong\n\t\t\tthrow new InvalidNameParamException(\"Form From Course ID: \" + courseID + \" Email: \" + email); \n\n\t\tif(email == null) //Throws an Error if parameter name was wrong\n\t\t\tthrow new InvalidEmailParamException(\"Form From Course ID: \" + courseID + \" Name: \" + name);\n\t\t\n\t\tif(courseID == null) //Throws an Error if parameter name was wrong\n\t\t\tthrow new InvalidCourseIdParamException(\"Name: \" + name + \" Email: \" + email);\n\t}", "title": "" }, { "docid": "1a107ef8314316ac1732910281c8e5af", "score": "0.5911268", "text": "@Test(enabled = true, groups = {\"upload additional info\"})\n public void testUploadAdditionalInfoRequiredFieldsValidation() {\n //Don't enter any values and click on submit\n pm.getFillOutUploadAdditionalInfo().submitUploadAdditionalInfo();\n //Get the validation messages from the Ui to compare\n String projectValidationUi = pm.getUiDataUploadAdditionalInfoBase().getProjectValidationMessageUi();\n String qicAppealNumberValidationUi = pm.getUiDataUploadAdditionalInfoBase().getQicAppealNumberValidationMessageUi();\n String qicPortalTempIdValidationUi = pm.getUiDataUploadAdditionalInfoBase().getQicPortalTempIdValidationMessageUi();\n String documentValidationUi = pm.getUiDataUploadAdditionalInfoBase().getDocumentValidationMessageUi();\n //Get the validation message from the requirements to compare\n String projectValidationRequired = pm.getRequirementsDataUploadAdditionalInfo().requiredProjectValidation();\n String qicAppealNumberValidationRequired = pm.getRequirementsDataUploadAdditionalInfo().requiredQicAppealNumberOrTempIdValidation();\n String qicPortalTempIdValidationRequired = pm.getRequirementsDataUploadAdditionalInfo().requiredQicAppealNumberOrTempIdValidation();\n String documentValidationRequired = pm.getRequirementsDataUploadAdditionalInfo().requiredDocumentValidation();\n //This method clicks on the Reset button on the Upload Additional Information page\n pm.getFillOutUploadAdditionalInfo().resetUploadAdditionalInfo();\n\n //Compare validation messages from the UI to the expected in the requirements.\n assertEquals(projectValidationUi, projectValidationRequired);\n assertEquals(qicAppealNumberValidationUi, qicAppealNumberValidationRequired);\n assertEquals(qicPortalTempIdValidationUi, qicPortalTempIdValidationRequired);\n assertEquals(documentValidationUi, documentValidationRequired);\n }", "title": "" }, { "docid": "60a23b03d98217215a38ebf58d776d96", "score": "0.5910006", "text": "@Override\n public void validate() throws OpsGenieClientValidationException {\n super.validate();\n if (id == null)\n throw OpsGenieClientValidationException.missingMandatoryProperty(OpsGenieClientConstants.API.ID);\n }", "title": "" }, { "docid": "4a9dda274fe088102cd6fa82105a6959", "score": "0.59074384", "text": "public void validate() throws org.apache.thrift.TException {\n if (req == null) {\n throw new org.apache.thrift.protocol.TProtocolException(\n \"Required field 'req' was not present! Struct: \" + toString());\n }\n // check for sub-struct validity\n }", "title": "" }, { "docid": "980fb0d9928b042df359b02929912463", "score": "0.58940804", "text": "private void checkOpt() {\n if (this.opt.outliers < 0.0 || this.opt.outliers > 1.0)\n throw new IllegalArgumentException(\"The weight of noise and outliers must be 0.0~1.0\");\n\n\n //Non-rigid registration options\n if (this.opt.lambda < 0.0)\n throw new IllegalArgumentException(\"Regularization weight must greater than 0.0\");\n if (this.opt.beta < 0.0)\n throw new IllegalArgumentException(\"Gaussian smoothing filter size must greater than 0.0\");\n }", "title": "" }, { "docid": "68af9f4ae5e8bcbc94773af022549aa9", "score": "0.5887191", "text": "protected void validateFascicoloid(KeyValuePair[] param){\n \n }", "title": "" }, { "docid": "68af9f4ae5e8bcbc94773af022549aa9", "score": "0.5887191", "text": "protected void validateFascicoloid(KeyValuePair[] param){\n \n }", "title": "" }, { "docid": "d4d261f595b9e6cd824c1180bad450c5", "score": "0.5883047", "text": "private Boolean preFlightSanityChecks(){\n\n\t\t// check whether user entered both values for environment id/conf file\n\t\tif(!this.configurationID.equals(\"\") && !this.configurationFile.equals(\"\")){\n\t\t\tJenkinsLogger.error(\"Values were provided for both environment ID and file. Please provide just one or the other.\");\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\t// check whether we have neither environment id or file\n\t\tif(this.configurationFile.equals(\"\") && this.configurationID.equals(\"\")){\n\t\t\tJenkinsLogger.error(\"No value was provided for environment ID or file. Please provide either a valid Skytap environment ID, or a valid environment file.\");\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\t// check whether user entered both values for project id/project name\n\t\tif(!this.projectID.equals(\"\") && !this.projectName.equals(\"\")){\n\t\t\tJenkinsLogger.error(\"Values were provided for both project ID and file. Please provide just one or the other.\");\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\t// check whether we have neither project id nor name\n\t\tif(this.projectID.equals(\"\") && this.projectName.equals(\"\")){\n\t\t\tJenkinsLogger.error(\"No value was provided for project ID or name. Please provide either the name or ID of a valid Skytap project.\");\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\treturn true;\n\t}", "title": "" }, { "docid": "95bfd62780e8bf87ccfce260c14dedcc", "score": "0.58818704", "text": "private void verifyRequest(TransactionStatusRequest transactionStatusRequest){\n if( transactionStatusRequest.getAmount() == null ){\n throw new IllegalArgumentException( \"The TransactionStatusRequest is missing an amount\" );\n }\n if( transactionStatusRequest.getContractConfiguration() == null\n || transactionStatusRequest.getEnvironment() == null\n || transactionStatusRequest.getPartnerConfiguration() == null ){\n throw new IllegalArgumentException( \"The TransactionStatusRequest is missing required data\" );\n }\n }", "title": "" }, { "docid": "0f9b88dc19f0dc1c045bf51a90524332", "score": "0.5878218", "text": "public static boolean validateParams(String accessToken) {\n return accessToken != null && !accessToken.isEmpty();\n }", "title": "" }, { "docid": "23133a2545db212bfddaf6ced2d67fc5", "score": "0.587814", "text": "boolean hasDevparams();", "title": "" }, { "docid": "df608310deb0b30421a079de55ba813c", "score": "0.5863861", "text": "protected void validateRouteOption(RouteOption[] param) {\r\n }", "title": "" }, { "docid": "40cb08ccdf0699d81ae323e301250768", "score": "0.5861608", "text": "void validate() {\n Preconditions.checkBlank(keyAlias, \"keyAlias is null\");\n Preconditions.checkNull(keyPassword, \"KeyPassword is null\");\n Preconditions.checkArgument(keyStore != null || (keyStorePath != null && keyStoreType != null && keyPassword != null), \"Either provide a KeyStore instance, or key Store location, key store password and key store type \");\n\n }", "title": "" }, { "docid": "5c8184b6baad621d484f912d0fd6ca34", "score": "0.58600634", "text": "boolean isSetParameter();", "title": "" }, { "docid": "7ee6dec0c68ddd678e046d5b9fdae631", "score": "0.5853", "text": "protected void validate() {\r\n }", "title": "" }, { "docid": "6c60bfd98c1f1c497991ec4791408e50", "score": "0.5852515", "text": "protected void checkArg (ObjectID oid)\n {\n if (oid == null)\n throw new IllegalArgumentException (\"null object id\");\n if (! oid.complete ())\n throw new IllegalArgumentException (\"incomplete object id: \" + oid);\n }", "title": "" }, { "docid": "c09c0442cb5666d12858786a798a0876", "score": "0.58450973", "text": "@Override\r\n public boolean isRequired() {\r\n return false;\r\n }", "title": "" }, { "docid": "9da00e5bb22dd4133895e96fd9e21471", "score": "0.58442515", "text": "public boolean hasValidInput() {\n\t\treturn (tittel != null && beskrivelse != null && gruppenavn != null && lokasjon != null\n\t\t\t\t&& bildeurl != null); \n\t}", "title": "" }, { "docid": "d5523152b155ce187653b928ef7d84d0", "score": "0.58422595", "text": "private void checkRep(){\n assert !this.username.equals(\"\");\n assert !this.password.equals(\"\");\n assert accessLevel != null;\n }", "title": "" }, { "docid": "dc5dc2b166f95f529b8510a8f3aa8726", "score": "0.58370465", "text": "public boolean isValid(){\n return !StringUtils.isEmpty(name) && longitude != null && latitude != null && description != null && foundation != null;\n }", "title": "" }, { "docid": "f6fa81076dca6e70cf0b5b40a2735ca3", "score": "0.583097", "text": "boolean hasParam1();", "title": "" }, { "docid": "b7b4d054e8001b89dc47d7c2601adb73", "score": "0.5830179", "text": "public void setRequired(Integer required) {\n this.required = required;\n }", "title": "" } ]
4fb5411ac3c8e6c744526ae93eb2904b
TODO: Fill in the code for this method
[ { "docid": "bdedcc83e0afe84d8615f17b6dc2ea2f", "score": "0.0", "text": "public static int[][] invertImage(int[][] imageTwoD) {\n int[][] invertedImage = new int[imageTwoD.length][imageTwoD[0].length];\n for (int i = 0; i < imageTwoD.length; i++) {\n for (int j = 0; j < imageTwoD[i].length; j++) {\n invertedImage[i][j] = imageTwoD[(imageTwoD.length - 1) - i][(imageTwoD[i].length - 1) - j];\n }\n }\n\t\treturn invertedImage;\n\t}", "title": "" } ]
[ { "docid": "76a80470fd21f5a9092c258ed3a8a632", "score": "0.6655829", "text": "private static void 로또번호리스트() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9969c2cd0a26f223be9eea348d1c6160", "score": "0.6394473", "text": "private static void 로또수동생성() {\n\t\t\r\n\t}", "title": "" }, { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.63104635", "text": "private void apparence() {\r\n\r\n\t}", "title": "" }, { "docid": "76e3d99118a00e74a082f6a955778f7d", "score": "0.6156892", "text": "Grensesnitt(){}", "title": "" }, { "docid": "d92d5fe4c6efcfe66d53457e76817518", "score": "0.5960756", "text": "@Override\r\n\t\t\tprotected void init() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "1c10afc999966d89d84d1fb549910281", "score": "0.5926238", "text": "@Override \n\t\tprotected void parse() {\t\t\t\n\t\t}", "title": "" }, { "docid": "1dd3d9bdd67d8cc8bddfe021796a9286", "score": "0.5885896", "text": "@Override\n protected void lodate() {\n\n }", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.58363664", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "15ae679aae74424c73fde647cf4332f6", "score": "0.58176774", "text": "@Override\r\n\t\t\tpublic void hissetmek() {\n\r\n\t\t\t}", "title": "" }, { "docid": "63a51b9825ac81396e1d7ad0b9f3ed82", "score": "0.5799531", "text": "@Override\n\tpublic void 군무() {\n\t\t\n\t}", "title": "" }, { "docid": "bfad11e436c98998f434617a4d2907e5", "score": "0.573032", "text": "@Override\r\n\tpublic void adharno() {\n\t\t\r\n\t}", "title": "" }, { "docid": "00075c50e26b18237953cd05ffd5428b", "score": "0.56973016", "text": "@Override\n\tpublic void beber() {\n\t\t\n\t}", "title": "" }, { "docid": "288fd3ee71b736e770bbef790831c263", "score": "0.56825924", "text": "User mo18615e();", "title": "" }, { "docid": "a0486d5f3890f3b56ce5a39122c4bdd7", "score": "0.5657878", "text": "@Override\r\n\tvoid metodo4() {\n\t\t\r\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.56376964", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.56376964", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "dda3b5a5b8e9e69b6eec0807bf162606", "score": "0.56218517", "text": "@Override\r\n\tpublic void rozmnozovat() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b7d3c2b49702a5ed673b243bf8d2b7c0", "score": "0.5600652", "text": "@Override\n\tprotected void funcionario() {\n\t\t\n\t}", "title": "" }, { "docid": "c612bcadafd393d086f44fd19558a8be", "score": "0.55911523", "text": "@Override\r\n\tpublic void inicialize() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5435fed6c0a9345524c30343d8ed9829", "score": "0.55165714", "text": "@Override\r\n\tpublic void entrenar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a6c2db17f79f35f8fc3b8e99eee9ab48", "score": "0.5507952", "text": "@Override\r\n\tprotected void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0d996fa345e18b74a73dce6394fc0b15", "score": "0.54559714", "text": "@Override\r\n\tpublic void sunricers() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5f8d37aee09bc1e9959f768d6eb0183c", "score": "0.54350305", "text": "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "title": "" }, { "docid": "bf8fefe7b85b49281edb456698bfd556", "score": "0.54295415", "text": "@Override\r\n\tpublic void descansar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b62655d47438ae6875a06d0702721dbc", "score": "0.5427612", "text": "@Override\r\n\t\t\tpublic void koklama() {\n\r\n\t\t\t}", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5415155", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5415155", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5415155", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5415155", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5415155", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5415155", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5415155", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5415155", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5415155", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5415155", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5415155", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5415155", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5415155", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5415155", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "27c725838f280928d869cc973588317c", "score": "0.5395436", "text": "@Override\r\n\tpublic void doSelfOpertion() {\n\t\t\r\n\t}", "title": "" }, { "docid": "434e4a5ff222046d0f614414fae44211", "score": "0.5386871", "text": "private Reflexion() {\n\t}", "title": "" }, { "docid": "17e507b0166d99f88c8237ad30d967b7", "score": "0.53726196", "text": "public void zamowic() {\n\t\t\n\t}", "title": "" }, { "docid": "b1abf9b7f22449274272f392c17c3c3f", "score": "0.53663164", "text": "private void supporterHIMethod() {\n\t\t\n\t}", "title": "" }, { "docid": "f5070bb70dd1c77710d9fd3f75fedc9d", "score": "0.5343362", "text": "@Override\n\tprotected void refurbish() {\n\t\t\n\t}", "title": "" }, { "docid": "a46afb3a57efda28ee1b37c4a9b1960f", "score": "0.5337345", "text": "private void getEx() {\n\r\n\t}", "title": "" }, { "docid": "6f1e0cfaa7350cf143896dace56978f5", "score": "0.53362775", "text": "@Override\n\tpublic void respirar() {\n\t\t\n\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.53255856", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "42693116fba02f3f07be1ab752c6d9bc", "score": "0.53120154", "text": "@Override\r\n\tpublic void concentrarse() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2bd152bb33ecbe797b9818e175c5d4ec", "score": "0.5305644", "text": "public void mo55659a() {\n }", "title": "" }, { "docid": "92001736a2ac49c6f975b4fc450982d1", "score": "0.53036183", "text": "@Override\n public void doSparring() {\n \n }", "title": "" }, { "docid": "106ce0ada7b978eeffda7ec9cccc29e2", "score": "0.5297733", "text": "public void дразнит() {\n\n\t}", "title": "" }, { "docid": "1ba6f6b334c51461b3fe944110e91ef5", "score": "0.5297578", "text": "@Override\n\tpublic void comerHojas() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.5294322", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.5294322", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.5294322", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "d45e7311f809d3019d7382af887cb3cf", "score": "0.5289866", "text": "@Override\r\n\tpublic void dehlidervels() {\n\t\t\r\n\t}", "title": "" }, { "docid": "42c3f8e63385f8e328b6828c1f7243d4", "score": "0.5289067", "text": "@Override\r\n\t\tpublic void method_4() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "5e6804b1ba880a8cc8a98006ca4ba35b", "score": "0.5284201", "text": "@Override\n public void init() {\n\n }", "title": "" }, { "docid": "f350fb57d7c81ec6d70f2643960940a8", "score": "0.5280991", "text": "@Override \r\n public void init() {\n \r\n }", "title": "" }, { "docid": "c47723cc77bfdfbeac347959926f9a12", "score": "0.52748615", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "03b93c6668ea7af171bbcdb3af74bb4a", "score": "0.52692723", "text": "@Override\n public void bicar() {\n }", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.52599704", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.52599704", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "a13b3b18f343b7cc400098f8fe8ffc80", "score": "0.5255932", "text": "@Override\n\tprotected void prepare() {\n\t\t\n\t}", "title": "" }, { "docid": "f15b553b0e56273af7458108504ab24b", "score": "0.52545065", "text": "private ZapLoadData() {\n\t}", "title": "" }, { "docid": "9808ba3c113b79c3677f2c08c09e60a1", "score": "0.52533543", "text": "@Override\n\tpublic void resert() {\n\t\t\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5244798", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5244798", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "cce15f647f795017e06f2ca544477ccd", "score": "0.5243212", "text": "@Override\n\tpublic void chamCong() {\n\n\t}", "title": "" }, { "docid": "77f859c241fd5e1d997f67c3b890833e", "score": "0.5240653", "text": "@Override\n\tpublic void dormir() {\n\t\t\n\t}", "title": "" }, { "docid": "a6e9388ba580a030c48b527221f8e81a", "score": "0.52316207", "text": "@Override\n\tpublic void actuar() {\n\t\t\n\t}", "title": "" }, { "docid": "a3768980ec32c77e38c523c48f55137b", "score": "0.522946", "text": "@Override\n\tprotected void refurbish() \n\t{\n\t\t\n\t}", "title": "" }, { "docid": "61358eff9372995c8157b02d47a44a6a", "score": "0.5228521", "text": "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "title": "" }, { "docid": "ce91051d32625345f2bf3562abbb93de", "score": "0.5217026", "text": "@Override\n\tprotected void inicializar() {\n\t}", "title": "" }, { "docid": "1b2b14182c814ea12be48fa3ab499e9d", "score": "0.5215352", "text": "@Override\r\n\tprotected void initialize() {\r\n\t}", "title": "" }, { "docid": "7bbf3f0011f317b7faa88562e06495b7", "score": "0.5214005", "text": "@Override\r\n public void reculer() {\n }", "title": "" }, { "docid": "c744960aa067b28111e99db9ddf6aeed", "score": "0.5208222", "text": "@Override\r\n\tpublic void fragancia() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5eb23c7a0390c92afed0b252a266fff8", "score": "0.52054423", "text": "protected void customize() {}", "title": "" }, { "docid": "9e8629ced62a55ad1be791787c89f9d2", "score": "0.519908", "text": "@Override\r\n\tpublic void process() {\n\t\t\r\n\t}", "title": "" }, { "docid": "60e50abec8df6d4d5a80de13ba750171", "score": "0.5192916", "text": "@Override\r\n\tpublic void retour() {\n\t\t\r\n\t}", "title": "" }, { "docid": "7a64af47763e4842ef0277e0c557687f", "score": "0.5186776", "text": "@Override\n public void init() {\n }", "title": "" }, { "docid": "001227e6b58a587f9eb4f77b15fc3588", "score": "0.5184743", "text": "@Override\n\tprotected void local() {\n\t\t\n\t}", "title": "" }, { "docid": "4f035da85a44bb830509e046190e6ee5", "score": "0.5177291", "text": "@Override\r\n\tpublic void rajastanroyals() {\n\t\t\r\n\t}", "title": "" }, { "docid": "39132efb6b42f8ec625d96ff6226d80b", "score": "0.5174866", "text": "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "title": "" }, { "docid": "624bb7d5d0af8d8f1ef01b202ec80d17", "score": "0.5172869", "text": "@Override\r\n\tpublic void grab() {\n\t\t\r\n\t}", "title": "" }, { "docid": "471669022d13695bb9646a1b6851211f", "score": "0.5170875", "text": "@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}", "title": "" }, { "docid": "471669022d13695bb9646a1b6851211f", "score": "0.5170875", "text": "@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}", "title": "" }, { "docid": "6db196fe12df2040e890be66656ff251", "score": "0.5170409", "text": "@Override\n\tprotected void execute() {\n\t\t\n\t}", "title": "" }, { "docid": "b95bbed498007dfeba9b078798c02e53", "score": "0.51697046", "text": "@Override\r\n\tpublic void exibir() {\n\t\t\r\n\t}", "title": "" }, { "docid": "79c707f3d28263fcc89902b0527d5c14", "score": "0.5163954", "text": "public void mo736a() {\n }", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.515955", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.515955", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.515955", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.515955", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.515955", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.515955", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.515955", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.515955", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.515955", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "33825a60c07b25bd96656b4f1cab2037", "score": "0.5157303", "text": "@Override\n\t\t\t\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t}", "title": "" }, { "docid": "c95af00aee2fa41e8a03e3640ca30750", "score": "0.5157055", "text": "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "4d22dcc5db701b76e34046ec43094a7f", "score": "0.0", "text": "@Override\r\n\tpublic String getBindingExpression() {\n\t\treturn m_strCmdExpression;\r\n\t}", "title": "" } ]
[ { "docid": "ffe5fe3cec40acf4b0b07ea257dfa06a", "score": "0.6831473", "text": "private void apparence()\r\n\t\t{\r\n\r\n\t\t}", "title": "" }, { "docid": "838a915c9ea69d56cc37df198cff9cb2", "score": "0.67589027", "text": "@Override\n\t\t\t\tpublic void pintar() {\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "479340d7603590876396cc58262a3776", "score": "0.6593355", "text": "@Override\r\n\tpublic int attaquer() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "ff9130d3531037a891a2580fd00e89e9", "score": "0.649512", "text": "@Override\r\n\tpublic void refuel() {\n\r\n\t}", "title": "" }, { "docid": "4faa810505ebcb260aff0793654a731e", "score": "0.64787245", "text": "@Override\n\tpublic void refuel() {\n\t\t\n\t}", "title": "" }, { "docid": "440ce72c689aef1dd3c429cf5498732b", "score": "0.6443756", "text": "@Override\n\tpublic void pohyb() {\n\n\t}", "title": "" }, { "docid": "c2f383f280f298416bf45e72c374ecfa", "score": "0.64127725", "text": "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "title": "" }, { "docid": "592b765f0188dd7fa8d3f1f3683fa9d7", "score": "0.62889814", "text": "@Override\n\tprotected void generateData() {\n\t\t\n\t}", "title": "" }, { "docid": "4bc8e88e84699c223ea476caacb4d454", "score": "0.6277223", "text": "@Override\r\n\tpublic void sauter() {\n\t\t\r\n\t}", "title": "" }, { "docid": "db6adf52deb87c2723f80c6df873c47d", "score": "0.6273419", "text": "public void mo4741aD() {\n }", "title": "" }, { "docid": "80d10ea62cee927f9ad0a7965909eaba", "score": "0.6230557", "text": "@Override\n\tprotected void remplit() {\n\t\t\n\t}", "title": "" }, { "docid": "95ffa256b098e9b494cb96d4874e063f", "score": "0.6218078", "text": "@Override\n\tvoid refuel() {\n\n\t}", "title": "" }, { "docid": "03d7171196199db238d56b8aeab47987", "score": "0.61277896", "text": "private void welcom() {\n\n\t}", "title": "" }, { "docid": "093a096d6e96e05b160fe2406b1e8a2d", "score": "0.61053663", "text": "@Override\n\tpublic void parir() {\n\t\t\n\t}", "title": "" }, { "docid": "ce165aec4a92510d2d7f78a45c6a1f81", "score": "0.60921794", "text": "@Override\r\n\tpublic void retirer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "23f3a7415a3f7463e8a1124d06cf4cf2", "score": "0.609125", "text": "@Override\n\tpublic void valide() {\n\t\t\n\t}", "title": "" }, { "docid": "e2c0ee2f563aa58a1d1fbb6ed1a49084", "score": "0.60562134", "text": "public void namam() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e2c0ee2f563aa58a1d1fbb6ed1a49084", "score": "0.60562134", "text": "public void namam() {\n\t\t\r\n\t}", "title": "" }, { "docid": "453637afdcc490de35afa10f347a4092", "score": "0.6052283", "text": "protected void mo4927v() {\n }", "title": "" }, { "docid": "081ae6b4d91b610b8046f5ebfe7ba326", "score": "0.60330045", "text": "@Override\r\n\tpublic void fertilizar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "4c9e25ea6f293e2f67da562cd4a0b657", "score": "0.60203654", "text": "public final void mo8553EA() {\n }", "title": "" }, { "docid": "5fda61f75e47491fe0badbfe139070a9", "score": "0.6020252", "text": "@Override\n\tprotected void initdata() {\n\n\t}", "title": "" }, { "docid": "b1cf16017c8057c0255a9ad368ecaee5", "score": "0.60185045", "text": "@Override\r\n\tprotected void init() {\n\r\n\t}", "title": "" }, { "docid": "4c957ed6879296e2489fa4cc534c9d68", "score": "0.60134614", "text": "@Override\r\n\tpublic void geefMeerprijs() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fa1a013b1df2f5f1062e1cc971135645", "score": "0.5987973", "text": "@Override\n\tpublic void mamar() {\n\t\t\n\t}", "title": "" }, { "docid": "e1a5212784625cf033b8b0d71916d9a8", "score": "0.59843665", "text": "@Override\r\n\tpublic void se_baisser() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ab92fd509dcf9edd6498a0302e1555e9", "score": "0.598327", "text": "@Override\n\tpublic void withdrawl() {\n\t\t\n\t}", "title": "" }, { "docid": "8a997a9a187c71891dd8b44afdbaa2a2", "score": "0.59794915", "text": "private void noOtomatis(){\n\n \n \n \n\n }", "title": "" }, { "docid": "0056b38abf02cf94e7a1afab1755d909", "score": "0.59666646", "text": "@Override\r\n\tpublic void defendre() {\n\t\t\r\n\t}", "title": "" }, { "docid": "05b92fe6834e71a629bc6b218827d95f", "score": "0.596291", "text": "Intervencion() {\n\t}", "title": "" }, { "docid": "acc39f55f5b37ab7050a241c64f9a4f9", "score": "0.59580564", "text": "@Override\n\tpublic void actualize() {\n\t\t\n\t}", "title": "" }, { "docid": "9a1a66628f4518af9fa213c400d9592e", "score": "0.5951102", "text": "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "16a4669a2213802ac94829fc8d9946ff", "score": "0.5935938", "text": "@Override\n\t\tpublic void init() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59239364", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "b4f806add60ad7a84ab034d616e626e7", "score": "0.59232795", "text": "@Override\n public void Ramasser() {\n }", "title": "" }, { "docid": "fb8e5a5b14d5c382d38f4afcb6d4f55d", "score": "0.59119946", "text": "@Override\r\n\tpublic void reculer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c9b74342d0ae0e22bc7119b60588c66a", "score": "0.5897873", "text": "@Override\n\t\t\tpublic int getType() {\n\t\t\t\treturn 0;\n\t\t\t}", "title": "" }, { "docid": "835a3677095e4c9f21649ab17f1ba40b", "score": "0.58930063", "text": "private static void diwalioffer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "4967494f628119c8d3a4740e09278944", "score": "0.5857751", "text": "@Override\r\n\tprotected void initData() {\n\r\n\t}", "title": "" }, { "docid": "4967494f628119c8d3a4740e09278944", "score": "0.5857751", "text": "@Override\r\n\tprotected void initData() {\n\r\n\t}", "title": "" }, { "docid": "47bef3d0c0ee761e936de1dada2442ec", "score": "0.5845612", "text": "private void Partida() {\r\n\t}", "title": "" }, { "docid": "c34617230b51592fc8652a6c8fc39d7b", "score": "0.5841976", "text": "@Override\n\t\t public int describeContents() { \n\t\t return 0;\n\t\t }", "title": "" }, { "docid": "39c15addb7f9cae9284ae4af01c5a911", "score": "0.58368444", "text": "@Override\r\n\tpublic void cortar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "74acf90efa52ac7bee2d28c6dee180bf", "score": "0.5808944", "text": "public void mo25302P() {\n }", "title": "" }, { "docid": "9d2f44c3ebe1fb8de1ac4ae677e2d851", "score": "0.5806823", "text": "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b14d9313b224be37257260448fc816d3", "score": "0.5805753", "text": "@Override\n\tpublic void breathes()\n\t{\n\n\t}", "title": "" }, { "docid": "4958a5331fdb65d09e333f006441f701", "score": "0.57990485", "text": "@Override\n public int size() {\n // TODO Auto-generated method stub\n return 0;\n }", "title": "" }, { "docid": "ce91051d32625345f2bf3562abbb93de", "score": "0.5794177", "text": "@Override\n\tprotected void inicializar() {\n\t}", "title": "" }, { "docid": "2a790ebdc342a2b85b21b58d99e8bb02", "score": "0.57934815", "text": "@Override\n\tpublic void landen()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b17089ec7f3b873adc1ebff906be9241", "score": "0.5790544", "text": "@Override\r\n\tpublic void carregar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "925ab02db0448f51f913efd603e7b5b4", "score": "0.57877386", "text": "@Override\n\tpublic void breathe() {\n\n\t\t\n\t}", "title": "" }, { "docid": "3f682cd35cc51a176e84d31bb70401ec", "score": "0.5786728", "text": "@Override\n\t\t\tpublic int Order() {\n\t\t\t\treturn 1;\n\t\t\t}", "title": "" }, { "docid": "3f682cd35cc51a176e84d31bb70401ec", "score": "0.5786728", "text": "@Override\n\t\t\tpublic int Order() {\n\t\t\t\treturn 1;\n\t\t\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": "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": "b0f36892991e52a8359bd9bea7916606", "score": "0.5773981", "text": "@Override\r\n\tpublic void Value() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b0f36892991e52a8359bd9bea7916606", "score": "0.5773981", "text": "@Override\r\n\tpublic void Value() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e7dbef6468de164eadd6d220b4ed2936", "score": "0.57625693", "text": "@Override\n\tpublic void vegetais() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57596046", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "627bf6ef88b45b88b902a23fc9a6eb2b", "score": "0.5754491", "text": "@Override\r\n\tpublic void init()\r\n\t{\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": "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": "dfa3deb699f1baaf610b77ae9370559a", "score": "0.57471", "text": "@Override\n\tpublic void gravar() {\n\n\t}", "title": "" }, { "docid": "bf96ef68c4dc727efe52fcae4e20a6c6", "score": "0.5736261", "text": "@Override\r\n public int getType() {\n return 1;\r\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": "a7ae27b45bb1a02a96ba4232264be825", "score": "0.57315516", "text": "@Override\n\tpublic void embarcar() {\n\t\t\n\t}", "title": "" }, { "docid": "8b16d59a149827c698e510477f7a4e9d", "score": "0.57292205", "text": "public void mo9585b() {\n }", "title": "" }, { "docid": "0ce436410fb4ad1af4e012ab5253a43a", "score": "0.57232136", "text": "@Override\n\tpublic void maas() {\n\t\t\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "10daa0b69fc83ea1f81c27147cd56557", "score": "0.5712038", "text": "@Override\n\tpublic void Ordenar() {\n\t\t\n\t}", "title": "" }, { "docid": "78a0d7cad7b423dba2c6000b1302b9a0", "score": "0.5705727", "text": "@Override\n\tprotected void ganharExp() {\n\t\t\n\t}", "title": "" }, { "docid": "162a468b891a508701c52265588e91b6", "score": "0.5699155", "text": "@Override\r\n public void init() {\n\r\n }", "title": "" }, { "docid": "39132efb6b42f8ec625d96ff6226d80b", "score": "0.56991017", "text": "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "title": "" }, { "docid": "6fba68e503150b58bb627390fe723ce3", "score": "0.56942755", "text": "@Override\r\n\tpublic void servir() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9e8299e02e2afca4b347ab5022949b84", "score": "0.56936175", "text": "@Override\n public void rest() {\n \n }", "title": "" }, { "docid": "ddd8d8a26991b887b8f19171d700e1d3", "score": "0.56922704", "text": "@Override\n\tpublic void proveerdatos() {\n\t\t\n\t}", "title": "" }, { "docid": "e21063ae833db842230f1d37006a0359", "score": "0.56854326", "text": "@Override public int getAtaque(){\n\n return 0;\n\n }", "title": "" }, { "docid": "b6c641fa6ba40a5b14cc33cb07aa0671", "score": "0.5669649", "text": "@Override\n\tprotected void initData() {\n\t}", "title": "" }, { "docid": "a0b89d2fbd83aefeb636ae04ad1fcd91", "score": "0.56631064", "text": "public void init(){\n\t //TODO Auto-generated method stub\n\t}", "title": "" }, { "docid": "2aed4e4b25907c376dc30c486b4f975f", "score": "0.5657416", "text": "public final void mo73469b() {\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": "" } ]
387197d6cfcd105cedac6f0d3e9e0dcb
Allows the user to select what action he or she wishes to make. The desired action is then executed.
[ { "docid": "9eb8faebabf6b9f078584a39917bef72", "score": "0.0", "text": "public void interactWithUser( )\r\n {\r\n Scanner in = new Scanner(System.in);\r\n ArrayList <Integer> testData = generateData( );\r\n int choice = 0;\r\n printData(testData);\r\n while (choice != 10)\r\n {\r\n printMenu();\r\n choice = in.nextInt();\r\n // clear the input buffer\r\n in.nextLine();\r\n\r\n if(choice == 1)\r\n {\r\n testData = generateData( ); \r\n }\r\n else if (choice == 2)\r\n {\r\n printData( testData );\r\n }\r\n else if (choice == 3)\r\n {\r\n System.out.println( \"Sum = \" + sumOfData(testData) );\r\n System.out.println( \"Product = \" + productOfData(testData) ); \r\n System.out.println( \"Max = \" + maxOfData(testData) ); \r\n System.out.println( \"Min = \" + minOfData(testData) );\r\n }\r\n else if (choice == 4)\r\n {\r\n replaceEvenWith7( testData);\r\n }\r\n else if (choice == 5)\r\n {\r\n setAbsolute( testData);\r\n } \r\n else if (choice == 6)\r\n {\r\n removeOdds( testData);\r\n }\r\n else if (choice == 7)\r\n {\r\n doubleUp( testData);\r\n } \r\n else if (choice == 8)\r\n {\r\n removeOneNeighboringTwin(testData);\r\n } \r\n else if (choice == 9)\r\n {\r\n removeAllNeighboringTwins(testData);\r\n } \r\n else if (choice == 10)\r\n {\r\n System.out.println(\"Good bye\");\r\n }\r\n }\r\n }", "title": "" } ]
[ { "docid": "a1fc490acd782550f8c0e3a03a915ef5", "score": "0.7521178", "text": "private void performAction(int choice)\n {\n switch (choice)\n {\n case 1:\n newEvent();\n break;\n case 2:\n // Record an establishment\n newEstablishment();\n break;\n case 3:\n runSubMenu();\n break;\n case 4:\n printEvents(ioController);\n break;\n case 5:\n printEstablishments(ioController);\n break;\n case 6:\n exit = true;\n System.out.print(\"Goodbye \\n\");\n break;\n case 7:\n Main.debug(new IO());\n break;\n default:\n System.out.print(\"Error has occurred\");\n\n }\n }", "title": "" }, { "docid": "b94af974648ce6517fa4225a1cc1630d", "score": "0.72424513", "text": "public void setAction(java.lang.String action);", "title": "" }, { "docid": "b94af974648ce6517fa4225a1cc1630d", "score": "0.72424513", "text": "public void setAction(java.lang.String action);", "title": "" }, { "docid": "163fdfd9902fcbc33de9627b7f186c18", "score": "0.7227488", "text": "public static void chooseAction(){\r\n\t\tSystem.out.println(\"Your turn: Choose an action:\\n1 = ATTACK\\n2 = RETREAT\\n3 = PASS\");\r\n\t\tScanner kb= new Scanner(System.in);\r\n\t\taction= kb.nextInt();\r\n\t\t//action is a global variable, so the goodPoke's choice of action\r\n\t\t//can be used in other functions based on what they choose\r\n\t\tif(action== 1){\r\n\t\t\tchooseAttack(); //good guys get to choose what attack to use, refers to function\r\n\t\t\t\r\n\t\t}\r\n\t\tif(action ==2){\r\n\t\t\tSystem.out.println(\"Your pokemon RETREATED from the battle\");\r\n\t\t}\r\n\t\tif(action== 3){\r\n\t\t\tSystem.out.println(\"Your pokemon PASSES it's turn\");\r\n\t\t}\t\r\n\t}", "title": "" }, { "docid": "2ea34988f5234afc249e71712684f6f2", "score": "0.7091909", "text": "public void setAction(java.lang.String value) {\n this.action = value;\n }", "title": "" }, { "docid": "843a1f08f808512b6863db2dcfd843e3", "score": "0.70282716", "text": "public void setAction(actionType action) { this.action = action; }", "title": "" }, { "docid": "54d2c7770904b953070dc9d5a82b3b9a", "score": "0.7007009", "text": "public void executePrimaryAction();", "title": "" }, { "docid": "f0e48c28b4c104421f9a97ea9a6e4459", "score": "0.69764054", "text": "public void action() {\n\t\tselectedGenre = \"Action\";\n\t\tfilterCovers();\n\t}", "title": "" }, { "docid": "b27108768a1246664d04a821f911aef3", "score": "0.6934571", "text": "String getAction();", "title": "" }, { "docid": "b27108768a1246664d04a821f911aef3", "score": "0.6934571", "text": "String getAction();", "title": "" }, { "docid": "b27108768a1246664d04a821f911aef3", "score": "0.6934571", "text": "String getAction();", "title": "" }, { "docid": "65df3f6ac1f34a8c544521ef1eb99109", "score": "0.69220716", "text": "int choisirAction();", "title": "" }, { "docid": "94ca8c1c7cce29587bba7200a8751144", "score": "0.68687004", "text": "public void setAction(String action) {\n this.action = action;\n }", "title": "" }, { "docid": "693e9a94616944eab5e51275e28c1d9c", "score": "0.68309045", "text": "abstract public Action getAction();", "title": "" }, { "docid": "9e408b8f65663feaaadf993a8fbcaeac", "score": "0.6822792", "text": "private void execAction(String act) {\n\t\tactions.get(act).execute();\n\t}", "title": "" }, { "docid": "cca37aae5ae90bc2e9c7f9a9061a8836", "score": "0.68227696", "text": "@Override\n public boolean doAction(String[] inputs) {\n try {\n // Act on the user's input.\n // This is a \"dispatch\" function that decides what\n // other functions to call. You can use an if-, if-else,\n // or switch statement.\n // return false if you want this view to exit and return\n // to the view that called it.\n switch (inputs[0].trim().toUpperCase()) {\n case \"1\":\n animals();\n break;\n case \"2\":\n tools();\n break;\n case \"3\":\n provisions();\n break;\n case \"4\":\n authors();\n break;\n case \"5\":\n poorCondition();\n break;\n case \"6\":\n savePoorCondition();\n break;\n case \"7\":\n easterEgg();\n break;\n case \"X\":\n return false;\n }\n\n } catch (NullPointerException npe) {\n ErrorView.display(this.getClass().getName(), \"A choice must be made.\");\n }\n return true;\n }", "title": "" }, { "docid": "6acd6dfe8e24348c516738e43f0d8262", "score": "0.68207693", "text": "public void set_action(String action) \r\n\t{\r\n\t\tthis.action = action;\r\n\t}", "title": "" }, { "docid": "021bd63d6655850741795a82cee0b47b", "score": "0.68195397", "text": "public void act() \n {\n // Add your action code here.\n \n }", "title": "" }, { "docid": "46def5b151b7eba308a507dccea39192", "score": "0.68134207", "text": "@Override\n\t\t\t\tpublic void action(int selectionID) {\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "7784675b28b663ddcf78febc43a987f0", "score": "0.6801729", "text": "public java.lang.String getAction();", "title": "" }, { "docid": "7784675b28b663ddcf78febc43a987f0", "score": "0.6801729", "text": "public java.lang.String getAction();", "title": "" }, { "docid": "4efc060b8fdd91f33733fc10d10522d8", "score": "0.679507", "text": "void performAction();", "title": "" }, { "docid": "96c1bfc86e065bb0c3ef9ee0b9030f44", "score": "0.6788876", "text": "public void setAction(int value) {\n this.action = value;\n }", "title": "" }, { "docid": "c89902e14209723a086ffb1df353f429", "score": "0.67801505", "text": "public interface Action {\n\n\tpublic void performAction(int choice);\n\n}", "title": "" }, { "docid": "a2c4dde4b00cf4c1c655354285ba2f0e", "score": "0.6772636", "text": "private static void printActions(){\n System.out.println(\"\\nAvailable actions:\\npress\");\n System.out.println(\"0 - to shutdown\\n\" +\n \"1 - to print contacts\\n\" +\n \"2 - to add a new contact\\n\" +\n \"3 - to update existing contact\\n\" +\n \"4 - to remove an existing contact\\n\" +\n \"5 - query if an existing contact exists\\n\" +\n \"6 - to print a list of available actions.\");\n\n System.out.println(\"Choose your action: \");\n\n }", "title": "" }, { "docid": "05a705390391eb9ea4b309f88aec40c9", "score": "0.6767474", "text": "public void userAction(){\n\n Scanner scan = new Scanner(System.in);\n\n int user = scan.nextInt();\n\n switch (user){\n case 1:\n action1(scan);\n break;\n case 2:\n action2(scan);\n break;\n case 3:\n System.exit(0);\n break;\n default:\n System.out.println(\"That is not within the choice list, try again.\");\n }\n\n }", "title": "" }, { "docid": "291ff54b26a7e301bbe13a0aa670c05d", "score": "0.67670906", "text": "public String getAction();", "title": "" }, { "docid": "922e06af7d82547c5e7b10d44c5ed3b0", "score": "0.6766715", "text": "public interface Action {\n\t\n\t/**\n\t * mark whether the action is available or not\n\t * \n\t * @return\n\t */\n\tpublic boolean isAvailable(); \n\t\n\t/**\n\t * register action options to existing main options\n\t * \n\t * @throws SOAUtilityError\n\t */\n\tpublic void registerOptions(SOAUtilityOpts opts) throws SOAUtilityError;\n\t\n\t/**\n\t * validate the options before execute action\n\t * \n\t * @return\n\t * @throws SOAActionException\n\t */\n\tpublic boolean preConditions(SOAUtilityOpts opts) throws SOAUtilityError; \n\t\n\t/**\n\t * Execute the action\n\t * \n\t * @param args\n\t * @return\n\t */\n\tpublic void execute() throws SOAUtilityError;\n}", "title": "" }, { "docid": "d2fd88d490c0234ff5e56a50173e928b", "score": "0.67662203", "text": "private void preformMenuAction(int choices)\n {\n switch (choices){\n case 0:\n System.exit(1);\n break;\n case 1:\n runBookMenu();\n break;\n case 2:\n runAuthMenu();\n break;\n case 3:\n runPubMenu();\n break;\n default:\n System.out.println(\"Unknown Error\");\n }\n }", "title": "" }, { "docid": "045e2fad9685d8de5a493a13f598541b", "score": "0.67525", "text": "public void setActionCommand (String action)\n {\n _action = action;\n }", "title": "" }, { "docid": "885cf3e225fa41258df1af6f3d8c8314", "score": "0.67520815", "text": "@Override public void doAction(int option) {\n // governing switch statement\n switch (option) {\n // If option 1, call viewGoals()\n case 1:\n viewGoals();\n break;\n // if option 2, call viewMapHelp()\n case 2:\n viewMapHelp();\n break;\n // if option 3, call viewMoveHelp()\n case 3:\n viewMoveHelp();\n break;\n // if option 4, call viewListHelp()\n case 4:\n viewListHelp();\n break;\n // if option 5, display goodbye message\n case 5:\n System.out.println(\"Thanks for playing! Goodbye =D\\n\");\n }\n }", "title": "" }, { "docid": "03718ea5bfd18ea8d0bf200641176499", "score": "0.6740008", "text": "public void performAction(Action action) throws IllegalActionException;", "title": "" }, { "docid": "778985fe17c69bac977b72fb9d41efaa", "score": "0.67294306", "text": "public void action() {\n\t\t\r\n\t}", "title": "" }, { "docid": "41aa7e0d21b26b997bacc555339d75b5", "score": "0.6718356", "text": "public void askForAction(){\n\t\tboolean finished = false;\n\t\twhile (!finished){\n\t\t\tint choice = InputHelper.readIntBetween(\"Choose an item to buy or another action:\\n\" + printItems(), 1, 7);\n\t\t\tswitch(choice) {\n\t\t\tcase 1: \n\t\t\t\taddIphoneSix();\n\t\t\t\tbreak;\n\t\t\tcase 2: \n\t\t\t\taddIphoneSeven();\n\t\t\t\tbreak;\n\t\t\tcase 3: \n\t\t\t\taddMacbookAir();\n\t\t\t\tbreak;\n\t\t\tcase 4: \n\t\t\t\taddMacbook();\n\t\t\t\tbreak;\n\t\t\tcase 5:\n\t\t\t\taddMacbookPro();\n\t\t\t\tbreak;\n\t\t\tcase 6:\n\t\t\t\tSystem.out.println(String.format(\"Your order of %d item(s) costs $%.2f. Thank you for coming, and we hope to see you again soon.\", currentOrder.getNumOrders(), currentOrder.getTotalCost()));\n\t\t\t\tfinished = true;\n\t\t\t\tbreak;\n\t\t\tcase 7:\n\t\t\t\tSystem.out.println(\"We're sorry you've decided to cancel your order. Have a good day, and we hope to see you again soon.\");\n\t\t\t\tfinished = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "7c76237b2554f13e473617e1b6cd6e8c", "score": "0.66805613", "text": "protected void run(AbstractAction action) {\n\t\t\t\tif(action.userInterfaceAction == null)\r\n\t\t\t\t\tthrow new RuntimeException(\"One of the following user interface action must be defined : \"+Arrays.toString(UserInterfaceAction.values()));\r\n\t\t\t\tif(UserInterfaceAction.SHOW_DIALOG.equals(action.userInterfaceAction))\r\n\t\t\t\t\trunShowDialog(action);\r\n\t\t\t\telse if(UserInterfaceAction.NAVIGATE_TO_VIEW.equals(action.userInterfaceAction))\r\n\t\t\t\t\trunNavigateToView(action);\r\n\t\t\t\telse if(UserInterfaceAction.EXECUTE_FUNCTION.equals(action.userInterfaceAction))\r\n\t\t\t\t\trunExecuteFunction(action);\r\n\t\t\t\telse if(UserInterfaceAction.OPEN_VIEW_IN_DIALOG.equals(action.userInterfaceAction))\r\n\t\t\t\t\trunOpenViewInDialog(action);\r\n\t\t\t\telse if(UserInterfaceAction.RETURN_FROM_VIEW_IN_DIALOG.equals(action.userInterfaceAction))\r\n\t\t\t\t\trunReturnFromViewInDialog(action);\r\n\t\t\t\telse\r\n\t\t\t\t\tthrow new RuntimeException(\"user interface action \"+action.userInterfaceAction+\" not yet handled.\");\r\n\t\t\t}", "title": "" }, { "docid": "db46adcc9f743c96864554a284c04a37", "score": "0.6659234", "text": "protected void processAction(String action) {\r\n if (action.equals(\"HELLO\")) {\r\n System.out.println(\"\\nGold to win: \" + hello() + \"\\n\");\r\n } else if (action.equals(\"GOLD\")) {\r\n System.out.println(\"\\nGold owned: \" + gold() + \"\\n\");\r\n } else if (action.contains(\"MOVE \")) {\r\n System.out.println(\"\\n\" + move(humanPlayer, action.charAt(action.length() - 1)));\r\n } else if (action.equals(\"PICKUP\")) {\r\n System.out.println(\"\\n\" + pickup() + \"\\n\");\r\n } else if (action.equals(\"LOOK\")) {\r\n System.out.println(\"\\n\" + look(humanPlayer));\r\n } else if (action.equals(\"EXIT\")) {\r\n quitGame(exit());\r\n } else if (action.equals(\"Invalid\")) {\r\n System.out.println(\"\\n\" + action + \"\\n\");\r\n }\r\n }", "title": "" }, { "docid": "58620c90ad7dc6ceeaccb20703234021", "score": "0.6647679", "text": "public void act() \r\n {\r\n // Add your action code here.\r\n }", "title": "" }, { "docid": "40ee4a45ca0499cd35afc99c4e00d07f", "score": "0.663825", "text": "public void execute()\n {\n int choice;\n do\n {\n ui.showFunctionMenu(context);\n choice = io.getInt();\n switch(choice)\n {\n //add\n case 1: add();\n break;\n //remove\n case 2: remove();\n break;\n //view\n case 3: view();\n break;\n //go back\n case 0:\n break;\n //invalid selection\n default: ui.printMessage(\"please enter an appropriate selection\");\n break;\n }\n }while(choice!=0);//exit\n }", "title": "" }, { "docid": "54fa38948f1606738e97ffec9897ccd1", "score": "0.6610222", "text": "public void act() \n {\n // Add your action code here.\n }", "title": "" }, { "docid": "54fa38948f1606738e97ffec9897ccd1", "score": "0.6610222", "text": "public void act() \n {\n // Add your action code here.\n }", "title": "" }, { "docid": "54fa38948f1606738e97ffec9897ccd1", "score": "0.6610222", "text": "public void act() \n {\n // Add your action code here.\n }", "title": "" }, { "docid": "54fa38948f1606738e97ffec9897ccd1", "score": "0.6610222", "text": "public void act() \n {\n // Add your action code here.\n }", "title": "" }, { "docid": "54fa38948f1606738e97ffec9897ccd1", "score": "0.6610222", "text": "public void act() \n {\n // Add your action code here.\n }", "title": "" }, { "docid": "54fa38948f1606738e97ffec9897ccd1", "score": "0.6610222", "text": "public void act() \n {\n // Add your action code here.\n }", "title": "" }, { "docid": "54fa38948f1606738e97ffec9897ccd1", "score": "0.6610222", "text": "public void act() \n {\n // Add your action code here.\n }", "title": "" }, { "docid": "54fa38948f1606738e97ffec9897ccd1", "score": "0.6610222", "text": "public void act() \n {\n // Add your action code here.\n }", "title": "" }, { "docid": "bf68fe57c42023c007f9ee2ce5e3a0a3", "score": "0.65971464", "text": "@Override\n\tpublic Action chooseAction() {\n\t\tthis.bidsManager.ourTurnHasArrived();\n\t\treturn super.chooseAction();\n\t}", "title": "" }, { "docid": "90761126335a4aff5a893e6bab3f7ac2", "score": "0.65932786", "text": "private void execAction() {\n\n\t\tint choix = Integer.parseInt(this.scanner.nextLine());\n\t\tif (choix != 99) {\n\t\t\tif (choix <= 5) {\n\t\t\t\ttry {\n\t\t\t\t\tmenu.get(choix).executerAction();\n\t\t\t\t} catch (PizzaException e) {\n\t\t\t\t\tLogger.getLogger(PizzaDaoJdbc.class.getName()).severe(e.getMessage());\n\t\t\t\t\tthrow new PizzaException(e);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"Commande non reconnu\");\n\t\t\t}\n\n\t\t\tdemarrer();\n\t\t}\n\t}", "title": "" }, { "docid": "5fccec5b1acef8f0d959bb98ab056371", "score": "0.6578692", "text": "public void actionPerformed(ActionEvent e)\n \t{\n \t\tString command = e.getActionCommand();\n \t\tif(command.equals(\"Cascade\"))\n \t\t\tcascade();\n \t\telse if(command.equals(\"Tile Horizontally\"))\n \t\t\ttileHorizontally();\n \t\telse if(command.equals(\"Tile Vertically\"))\n \t\t\ttileVertically();\n \t\telse if(command.equals(\"Arrange Icons\"))\n \t\t\tarrangeIcons();\n \t\telse if(command.equals(\"Minimize All\"))\n \t\t\tminimizeAll();\n \t\telse if(command.equals(\"Maximize All\"))\n \t\t\tmaximizeAll();\n \t\telse\n \t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\tselectInternalFrame(Integer.parseInt(command));\n\t\t\t}\n\t\t\tcatch(NumberFormatException e1){}//if its not an integer ignore it\n\t\t}\n \t}", "title": "" }, { "docid": "30960dabdd86dd5ead0c455171e6941e", "score": "0.65733045", "text": "public void commandAction (Command c)\r\n {\r\n if (c == showCommand)\r\n {\r\n done();\r\n }\r\n else if (c == enterRequestCommand)\r\n {\r\n showRequestDialog();\r\n }\r\n else\r\n super.commandAction(c);\r\n }", "title": "" }, { "docid": "60016a3023a3f69211f96b6259282b19", "score": "0.6511677", "text": "void onSelectAction();", "title": "" }, { "docid": "d019bb6fd5e6faee633eade5d84d0f35", "score": "0.6483746", "text": "public void printAskWhatActionToDo();", "title": "" }, { "docid": "04d4008087be696c5b8de592aa11da0a", "score": "0.64799184", "text": "@Override\n protected boolean executeAction(SUT system, State state, Action action){\n // adding the action that is going to be executed into HTML report:\n htmlReport.addSelectedAction(state, action);\n return super.executeAction(system, state, action);\n }", "title": "" }, { "docid": "bac15cdf096478cb2d9d6188186b8617", "score": "0.64790225", "text": "public void choixAction(String action) {\n turnP = this.getPlayer(this.turnPlayer);\n //turnP.shouldIChangeStrategy(this);\n switch (action) {//\"passe\" virer vu que c'était juste un print, il est passé chez announcer\n case FORGE:\n Announcer.printForge(turnP);\n List<Face> alreadyBought = new ArrayList<Face>();\n do{\n Pool pool = forge.getPool(turnP.strategy.choosePool());\n if (!pool.isEmpty() && turnP.getGold() >= pool.getPrice()) {\n int poolFace = turnP.strategy.choosePoolFace(pool);\n int dice = turnP.strategy.chooseDice();\n int diceFace = turnP.strategy.chooseDiceFace(turnP.strategy.chooseDice());\n if (alreadyBought.stream()\n .filter(x -> pool.getFace(poolFace).compareTo(x))\n .collect(Collectors.toList())\n .isEmpty()) {\n alreadyBought.add(pool.getFace(poolFace));\n this.getPlayer(this.turnPlayer).buy(pool, poolFace, dice, diceFace);\n } else break;\n }\n }while(turnP.strategy.shouldKeepForging());\n break;\n case EXPLOIT:\n Island island = this.world.getIsland(turnP.getCurrentIsland());\n nameFeat exploit = turnP.listFeat(turnP.strategy.chooseFeat());//l'exploit sur l'ile qu'il va choisir\n Announcer.printExploit(turnP, exploit);\n if(exploit==nameFeat.Satyres) this.getEnnemyRoll();\n if (island.affordableFeat(turnP,exploit)) {\n this.world.giveFeat(turnP, exploit);\n }\n break;\n case PASSE: Announcer.printPasse(turnP); break;\n }\n }", "title": "" }, { "docid": "4a66efe0e3be2c36877d282d6349b1b5", "score": "0.6476056", "text": "@Override\n public void act(ActionExec action) {\n // Get the action term\n Structure actionTerm = action.getActionTerm();\n String actionString = actionTerm.toString();\n\n // Add the action to agentState if it is longer than 0 characters\n if (actionString.length() > 0) {\n agentState.addAction(actionString);\n }\n\n // Set that the execution was OK and flag it as complete.\n action.setResult(true);\n actionExecuted(action);\n }", "title": "" }, { "docid": "73f707899af8e0e9b7e39dd6c7980a36", "score": "0.6462164", "text": "public void doAction(int action) {\n GameAudio.playSfx(GameAudio.sfx_click);\n switch (action) {\n case 0:\n setScore(getScore() + answer(concentration, questionId));\n questionsLeft--;\n concentration = startingConcentration;\n questionId = generateQuestion(id, lv1, lv2);\n if (questionsLeft == 0) {\n setFinished();\n GAME.getPlayer().setEmotion(null);\n setFeedbackText(FileReader.getLessonString(5) + FileReader.getLessonString(6) +\n (int)((getScore() / getRounds()) * 100) + \"!\");\n }\n break;\n case 1:\n if (attentionSpan > 0) {\n attentionSpan--;\n concentration++;\n setFeedbackText(FileReader.getLessonString(7));\n }\n else {\n setFeedbackText(FileReader.getLessonString(8));\n GAME.getPlayer().setEmotion(new Emotion(3));\n }\n break;\n case 2:\n if (GAME.hasEnergyDrink()) {\n GameAudio.playSfx(GameAudio.sfx_buff);\n attentionSpan++;\n concentration++;\n GAME.drinkEnergyDrink();\n setFeedbackText(FileReader.getLessonString(9) + FileReader.getLessonString(10));\n GAME.getPlayer().setEmotion(new Emotion(5));\n }\n else {\n setFeedbackText(FileReader.getLessonString(11));\n GAME.getPlayer().setEmotion(new Emotion(6));\n }\n break;\n case 3:\n if (!toilet && questionsLeft > 1) {\n GameAudio.playSfx(GameAudio.sfx_buff);\n GAME.doTransition();\n attentionSpan++;\n toilet = true;\n questionId = generateQuestion(id, lv1, lv2);\n questionsLeft--;\n setFeedbackText(FileReader.getLessonString(12));\n GAME.getPlayer().setEmotion(new Emotion(5));\n }\n else if (toilet){\n setFeedbackText(FileReader.getLessonString(13));\n GAME.getPlayer().setEmotion(new Emotion(6));\n }\n else {\n setFeedbackText(FileReader.getLessonString(14));\n GAME.getPlayer().setEmotion(new Emotion(6));\n }\n break;\n case 4:\n setRules(true);\n return;\n }\n setFeedback(true);\n }", "title": "" }, { "docid": "894393b49b66a60c02f7a203a529ddde", "score": "0.64599675", "text": "public java.lang.String getAction() {\n return action;\n }", "title": "" }, { "docid": "ee8270e30e2ffa2596aebfaf011a8139", "score": "0.6456763", "text": "public abstract void action();", "title": "" }, { "docid": "a82afb66e2edfb22aa6099af57d957da", "score": "0.64534557", "text": "@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tString source = e.getActionCommand();\n\t\tif(source == \"Create an Activity Category\") {\n\t\t\tthis.vc.CreateActivityCategoryView();\n\t\t}\n\t\telse if(source == \"Update an Activity Category\") {\n\t\t\tthis.vc.UpdateActivityCategoryView();\n\t\t}\n\t}", "title": "" }, { "docid": "83f3388712393c6d048f1c5cbc93b448", "score": "0.64408624", "text": "@Override\n\tpublic void doAction() {\n\n\t}", "title": "" }, { "docid": "7c5c57806709c02e0eee4c500078e1ae", "score": "0.643977", "text": "public void performAction (){\r\n if (dDown) gameCombine.game.moveHero(10);\r\n if (aDown) gameCombine.game.moveHero(-10);\r\n if (spaceDown) gameCombine.checkMatch();\r\n if (upDown) {\r\n gameCombine.sp.selectedCapital = gameCombine.sp.optionPositions[0];\r\n gameCombine.sp.selection = 0;\r\n }\r\n if (rightDown){\r\n gameCombine.sp.selectedCapital = gameCombine.sp.optionPositions[1];\r\n gameCombine.sp.selection = 1;\r\n }\r\n if (downDown){\r\n gameCombine.sp.selectedCapital = gameCombine.sp.optionPositions[2];\r\n gameCombine.sp.selection = 2;\r\n }\r\n if (leftDown) {\r\n gameCombine.sp.selectedCapital = gameCombine.sp.optionPositions[3];\r\n gameCombine.sp.selection = 3;\r\n } \r\n }", "title": "" }, { "docid": "f8a2afca96f957b68b9798bad0864b94", "score": "0.6439078", "text": "public final String getAction()\r\n\t{\r\n\t\treturn action;\r\n\t}", "title": "" }, { "docid": "4f06b129b093bd9a434ef809f816e7e1", "score": "0.6434674", "text": "@Override\n\tpublic Action chooseActionToPlay() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "acd11a2f65041b2b5d9b100416299ec5", "score": "0.6434528", "text": "private void executeSelectedAction(int selectedAction, int selectedUser) {\r\n if (selectedAction < 1 || selectedAction > 5)\r\n throw new IllegalArgumentException(\"Invalid input\");\r\n switch (selectedAction) {\r\n case 1: { // Assign user to the project\r\n ProjectDAO projectDAO = new ProjectDAO();\r\n System.out.println(\"Select the project to which you want to assign a User with userId \" + selectedUser);\r\n for (Project project : projectDAO.getAllProjects())\r\n System.out.println(project);\r\n int selectedProjectId = ConsoleHelper.readInt();\r\n if (!projectDAO.getAllProjects().stream().anyMatch(project -> project.getProjectId() == selectedProjectId))\r\n throw new NoSuchEntityException(\"Project with id \" + selectedProjectId + \" is not exist\"); // If was invalid input id's from user\r\n Project project = projectDAO.getProject(selectedProjectId);\r\n userDAO.assignUserToProject(userDAO.getUser(selectedUser), project);\r\n System.out.println(\"User with id \" + selectedUser + \" was successfully assigned to the project \" + project.getProjectName());\r\n break;\r\n }\r\n case 2: {\r\n List<Task> taskList = new TaskDAO().getAllTasks().stream().filter(task -> task.getUserId() == selectedUser).collect(Collectors.toList());\r\n if (taskList.size() == 0)\r\n throw new NoSuchElementsMenuException(\"Task's not found\"); // If database hasn't any entity\r\n taskList.forEach(System.out::println);\r\n break;\r\n }\r\n case 3: { // Delete user\r\n User expectedUser = userDAO.getUser(selectedUser);\r\n userDAO.delete(expectedUser);\r\n System.out.println(\"User \" + expectedUser.getFirstName() + \" \" + expectedUser.getLastName() + \" was successfully deleted\");\r\n break;\r\n }\r\n case 4: { // Get info about user\r\n userDAO.showInfo(userDAO.getUser(selectedUser));\r\n break;\r\n }\r\n }\r\n }", "title": "" }, { "docid": "2de586d44f7c824cca573fb174ad23eb", "score": "0.6434361", "text": "public void commandAction(Command cmd, Displayable source) {\n if (cmd == CMD_EXIT) {\n midlet.exitRequested();\n } else if (cmd == CMD_EDIT) {\n midlet.locationRequested();\n } else {\n // Functionality to handle for unexpected commands may be added here...\n }\n }", "title": "" }, { "docid": "13c734af544e96dbdde53819278cd4f7", "score": "0.643305", "text": "@Override\n\tprotected void doAction() {\n\n\t}", "title": "" }, { "docid": "3c3010c1058fd8ce755db4c1f4e43bc5", "score": "0.64325565", "text": "public int action();", "title": "" }, { "docid": "603fb052c644a6ac23f88b2be1870512", "score": "0.64317405", "text": "@Override\n\tpublic boolean pickAndExecuteAnAction() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "603fb052c644a6ac23f88b2be1870512", "score": "0.64317405", "text": "@Override\n\tpublic boolean pickAndExecuteAnAction() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "68b9b1f2ee65f93016d276c570e79d92", "score": "0.6425782", "text": "@Override\n public void onClick(View v) {\n final Map<Feature.FeatureEffectVariable, String> values = new HashMap<>();\n Runnable continuation = new Runnable() {\n @Override\n public void run() {\n Map<String, String> stringValueMap = new HashMap<String, String>();\n for (Map.Entry<Feature.FeatureEffectVariable, String> entry : values.entrySet()) {\n stringValueMap.put(entry.getKey().getName(), entry.getValue());\n }\n adapter.viewHelper.useAction(info, action, stringValueMap);\n }\n };\n if (!action.hasVariables()) {\n continuation.run();\n return;\n }\n\n // prompt\n final List<Feature.FeatureEffectVariable> variables = action.getVariables();\n\n prompt(variables, values, 0, context, continuation);\n }", "title": "" }, { "docid": "20faecfbcd647ebd3fdc9180defc284f", "score": "0.64106345", "text": "public ActionType getAction();", "title": "" }, { "docid": "8ee146d87eeb90e6bacbcb3850c70b41", "score": "0.6401264", "text": "public void setPrimaryAction(PrimaryAction action);", "title": "" }, { "docid": "0130d37c3dd9d113518103bb5b397340", "score": "0.63861054", "text": "public void actionPerformed(ActionEvent ae)\r\n\t{\r\n\t\t//know which menu item is clicked\r\n\t\tif(op.isArmed()) this.openFile();\r\n\t\tif(sa.isArmed()) this.saveFile();\r\n\t\tif(ex.isArmed()) System.out.println(\"Exit is selected\");\r\n\t\tif(cp.isArmed()) System.out.println(\"Copy is selected\");\r\n\t\tif(pt.isArmed()) System.out.println(\"paste is selected\");\r\n\t\tif(pr.getModel().isSelected()) System.out.println(\"Printing on...\");\r\n\t\telse\r\n\t\t\tSystem.out.println(\"Printing off...\");\r\n\t\tif(f1.isArmed()) System.out.println(\"Arial font is selected\");\r\n\t\tif(f2.isArmed()) System.out.println(\"Times new roman is selected\");\r\n\t}", "title": "" }, { "docid": "00d962c3a5068047295246f132b159a8", "score": "0.6383958", "text": "public java.lang.String getAction() {\n return action;\n }", "title": "" }, { "docid": "22e012156c3d6a0a974858561ad1c334", "score": "0.6377752", "text": "public java.lang.String getAction() {\n return action;\n }", "title": "" }, { "docid": "ab58bab90ddaede5bab86514c823b712", "score": "0.6375868", "text": "public Action selectAction() {\n\t\tepsilon -= dec;\n\t\tif(random.nextDouble()<randfactor) return randomAction(); \n\t\tswitch(actionSelection) {\n\t\t\tcase eGreedy : return eGreedySelection();\n\t\t\tdefault : return softMax();\n\t\t}\n\t}", "title": "" }, { "docid": "ec5eb0a85124e4948bb16140cfba772f", "score": "0.6359528", "text": "public interface UserAction {\n\n /**\n * Execute menu item.\n */\n void execute();\n\n /**\n * Menu item info.\n * @return menu item info.\n */\n String info();\n\n}", "title": "" }, { "docid": "61e62a0eda414ee6dd3156c38b4a73e3", "score": "0.63591594", "text": "void action();", "title": "" }, { "docid": "71294af3f0d7f4b5e311537d7d4102da", "score": "0.6356399", "text": "@Override\n\t\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\t\toption = \"maso\";\n\t\t\t\t}", "title": "" }, { "docid": "33ffaa57a8ebc5455f1b4e0276d0f08f", "score": "0.63317454", "text": "@Override\n\tprotected void actions() {\n\t}", "title": "" }, { "docid": "4af76f10afd5a5320de92379a157cbdb", "score": "0.63315505", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n switch (CommandsGUI.valueOf(e.getActionCommand())) {\n case CREATE_GRAMMAR:\n createGrammar();\n break;\n case ANALIZE_WORD:\n analizeWord();\n break;\n\n case BACK_PANEL:\n io.showPrincipalPanel();\n break;\n }\n }", "title": "" }, { "docid": "5f487b296d93e58ce3c12253adf5d996", "score": "0.6325536", "text": "public void actionPerformed(ActionEvent e) {\n\t\t\t((AccountController) getController()).mainMenuOperation(e.getActionCommand());\n\t\t}", "title": "" }, { "docid": "c67ec47e453eee6f58671e62b74db556", "score": "0.6318868", "text": "@Override\n\tprotected void executeAction(String actionCommand) throws Exception {\n\n\t}", "title": "" }, { "docid": "d3b6940a2227f3e612e0a1cc2ffb0b31", "score": "0.6314318", "text": "public void setAction(java.lang.String action) throws G2AccessException;", "title": "" }, { "docid": "ae95d4030f32fd4de43918049d346434", "score": "0.63037914", "text": "public void setAction(Expression pAction);", "title": "" }, { "docid": "cb95a4daa0434accc68975cb4fb3c724", "score": "0.63035864", "text": "public void actionPerformed(ActionEvent e) {\n\t\t// If the ActionEvent received is the one corresponding to our Help menu item added above, launch the help file. \n\t\tif (e.getActionCommand().compareToIgnoreCase(\"Gauss's Law for a Dipole and Disk\") == 0) {\n \tif(mFramework instanceof TFramework) {\n \t\t((TFramework) mFramework).openBrowser(\"help/gausslawmagdipoledisk.html\");\n \t}\n\t\t} else if (e.getActionCommand().compareToIgnoreCase(\"Execution & View\") == 0) \n {\n \tif(mFramework instanceof TFramework) {\n \t\t((TFramework)mFramework).openBrowser(\"help/executionView.html\");}\n\t\t} else {\n\t\t\tsuper.actionPerformed(e);\n\t\t}\n\t}", "title": "" }, { "docid": "8883b1000a91e9044f8f0c9050850cbe", "score": "0.62886834", "text": "public void edit(Object actionToEdit);", "title": "" }, { "docid": "5cdd802844abc23b9bbf17a2e5ebbfb2", "score": "0.6284962", "text": "private void doAction() {\n\t\tctlr.doAction(potiIndex, sutraIndex, idOfEntryToEdit, idOfEntryToCopy);\n\t}", "title": "" }, { "docid": "0dd1c581e94a26cf1eb78bd2c3171474", "score": "0.6259947", "text": "public void setCurrentAction() {\n currentAction.setText(\" \" + figureMenus[0].getSelectedItem());\n }", "title": "" }, { "docid": "3e242fe9c29e092fe6a09ba5e9176d15", "score": "0.6259542", "text": "public Action selectAction(IEnvironment env, State state, Set<Action> actions, JIPrologWrapper jipWrapper);", "title": "" }, { "docid": "19f8407ec7620967dc4036db3509688b", "score": "0.62528163", "text": "public abstract Object doAction();", "title": "" }, { "docid": "5ba392e12b631cce3d794b62f07351aa", "score": "0.6251781", "text": "Action() {\n\t\t}", "title": "" }, { "docid": "3409cb26cf471e59e453a35119aa44b4", "score": "0.62482315", "text": "protected abstract AbstractFloraEditorAction createAction();", "title": "" }, { "docid": "fe882b719c31ca6ac2592912f6dee633", "score": "0.62447566", "text": "public String getAction() {\r\n return action;\r\n }", "title": "" }, { "docid": "7d4039848ec58ff03113cbcaa4c53515", "score": "0.6239912", "text": "public void setAction(com.vmware.vim.TypeDescription[] action) {\n\t\tthis.action = action;\n\t}", "title": "" }, { "docid": "c4734f49a447b65c15ce4cbad5e541db", "score": "0.62379724", "text": "protected void actionEvent() \r\n\t{\n\t}", "title": "" }, { "docid": "e9cd5f85b0faf8fb77bd421023cf164c", "score": "0.62219346", "text": "public void actionPerformed(ActionEvent e) {\n String actionEvent = e.getActionCommand();\n switch (actionEvent) {\n case \"save\":\n saveAccounts();\n break;\n case \"load\":\n loadAFile();\n case \"saveas\":\n saveAFile();\n }\n }", "title": "" }, { "docid": "2f0a4b9d0ad8278e5546805585733935", "score": "0.6218162", "text": "public void performActions(List<Action> action)\r\n\t\t\tthrows IllegalActionException;", "title": "" }, { "docid": "e9b3a9d4f82107b1ad478fd8167f288a", "score": "0.6217016", "text": "public void actionPerformed(ActionEvent evt) {\r\n\t\t\tString cmd = evt.getActionCommand();\r\n\t\t\tif (cmd.compareTo(\"comboBoxChanged\") == 0) listSelection(evt);\r\n\t\t\tif (cmd.compareTo(\"Exit\") == 0) exit();\r\n\t\t\tif (cmd.compareTo(\"Accept\") == 0) accept();\r\n\t\t}", "title": "" }, { "docid": "a51e029ff68d42f11bca405460fa2b78", "score": "0.6216812", "text": "@Override\n\tpublic Action doAction() throws CannotPerformActionException{\n\t\tthis.getModel().getCurrentPlayer().getPocket().addPocketable(new Coin(4));\n\t\tCouncil council;\n\t\tCouncelor c;\n\t\ttry {\n\t\t\tcouncil = this.dtoCouncil.getReply().decode(candidates);\n\t\t\tc = this.dtoCouncelor.getReply().decode(this.getModel().getBoard().getUnemployedCouncelors());\n\t\t} catch (ElementNotFoundException e) {\n\t\t\tthis.getModel().getLogger().log(e);\n\t\t\tthrow new CannotPerformActionException(\"Something went wrong with your selection\");\n\t\t}\n\t\tthis.getModel().getBoard().getUnemployedCouncelors().remove(c);\n\t\tthis.getModel().getBoard().getUnemployedCouncelors().add(council.electCouncelor(c));\n\t\tthis.getModel().useMainAction();\n\t\tif(this.getModel().actionStackIsEmpty())\n\t\t\treturn new ChooseActionTypeAction<>(this.getModel());\n\t\treturn this.getModel().popAction();\n\t}", "title": "" }, { "docid": "d0c2d8e04aa7963672fdab6723891a3e", "score": "0.6207741", "text": "public String getAction() {\r\n return action;\r\n }", "title": "" } ]
4270a924baeb3d0926ad2078ceb77d47
/ DO NOT change the signature of this method. It is used by the grading scripts.
[ { "docid": "913bb0f24d78e3abb268dbe8c8198ae0", "score": "0.0", "text": "public boolean attack(int x, char y) {\r\n\t\tResult playerAttack = opponentsBoard.attack(x, y);\r\n\t\tif (playerAttack.getResult() == INVALID) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\tResult opponentAttackResult;\r\n\t\tdo {\r\n\t\t\t// AI does random attacks, so it might attack the same spot twice\r\n\t\t\t// let it try until it gets it right\r\n\t\t\topponentAttackResult = playersBoard.attack(randRow(), randCol());\r\n\t\t} while (opponentAttackResult.getResult() == INVALID);\r\n\r\n\t\treturn true;\r\n\t}", "title": "" } ]
[ { "docid": "937c490ed6f46287f970ddda2ef81b94", "score": "0.6283115", "text": "public updateGrade() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "8619203d4867f5c6d05eb9a5354405c0", "score": "0.6229622", "text": "@Override\n\t\tpublic void pintate() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "8619203d4867f5c6d05eb9a5354405c0", "score": "0.6229622", "text": "@Override\n\t\tpublic void pintate() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "187206cea8e5d256089808c33cd268d3", "score": "0.60292405", "text": "public void grade() {\n\t\tSystem.out.println(\"I don't know what grade I am in!\");\n\n\t}", "title": "" }, { "docid": "05a606445504484958a1c21e14b7198e", "score": "0.602007", "text": "@Override\r\n\tpublic void sapace() {\n\t\t\r\n\t}", "title": "" }, { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.600997", "text": "private void apparence() {\r\n\r\n\t}", "title": "" }, { "docid": "4e49f5db36ca664153e54380025b85d4", "score": "0.5955745", "text": "protected boolean method_21825() {\n }", "title": "" }, { "docid": "0d3bf6f2ee77f787007ba6b4021b5721", "score": "0.5940473", "text": "protected void olha()\r\n\t{\r\n\t\t\r\n\t}", "title": "" }, { "docid": "41e50fb9a0b417818374927eb02c67f1", "score": "0.5923245", "text": "protected void mo5608a() {\n }", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.59080625", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "553ff32155519e39dfd03e97abb8c1e3", "score": "0.5904457", "text": "protected Score() {/* intentionally empty block */}", "title": "" }, { "docid": "689ef8ddcd6ccd288c197d21cadd4bee", "score": "0.58730924", "text": "@Override\n public final void entertain() {\n }", "title": "" }, { "docid": "ffd8193c9cf73515d0f9301b9a7d8817", "score": "0.5831189", "text": "@Override\n\tpublic void morrer() {\n\n\t}", "title": "" }, { "docid": "d270102f0b19e98fa78e0919beafc233", "score": "0.577327", "text": "@Override\r\n\tpublic void imprime() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9781c90863e9dc9781fafcc4dc828136", "score": "0.5764324", "text": "public void mo7839l() {\n }", "title": "" }, { "docid": "9781c90863e9dc9781fafcc4dc828136", "score": "0.5764324", "text": "public void mo7839l() {\n }", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.5738974", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "b62a7c8e0bb1090171742c543bf4b253", "score": "0.5738063", "text": "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "title": "" }, { "docid": "756d409403243420e7c077f51f93a7ca", "score": "0.57159567", "text": "@Override\n\tpublic void renovation() {\n\t\t\n\t}", "title": "" }, { "docid": "ce1b7c50409933d359ea0a51cd328337", "score": "0.5705923", "text": "@Override\n protected void gagne() {\n }", "title": "" }, { "docid": "c3f5d9008e2a1ac60839da8a92eaf481", "score": "0.5686558", "text": "protected void sauvegarder(int score) {\t\t\n\t}", "title": "" }, { "docid": "7d110d5ea1b4795727b052c3f897a146", "score": "0.5665341", "text": "public void ligar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b941b399a338e8c204f1063e54a94824", "score": "0.56591177", "text": "public void mo7103g() {\n }", "title": "" }, { "docid": "b941b399a338e8c204f1063e54a94824", "score": "0.56591177", "text": "public void mo7103g() {\n }", "title": "" }, { "docid": "b941b399a338e8c204f1063e54a94824", "score": "0.56591177", "text": "public void mo7103g() {\n }", "title": "" }, { "docid": "118f2b8a20f48999973063ac332d07d3", "score": "0.5649961", "text": "@Override\r\n\t\t\tpublic void atras() {\n\r\n\t\t\t}", "title": "" }, { "docid": "27e4479db2c37a2e77fe796119b66d4b", "score": "0.56295854", "text": "@Override\r\n\t\t\tpublic void adelante() {\n\r\n\t\t\t}", "title": "" }, { "docid": "27639b085e59b9c296c839975bb3d08c", "score": "0.562139", "text": "@Test\n public void testCurrentGrade() {\n this.reset();\n assertEquals(94, this.c1.currentGrade(\"nalekhn\"), .01);\n assertEquals(93.89, this.c1.currentGrade(\"chperrone\"), .01);\n assertEquals(67.08, this.c1.currentGrade(\"thmyolk\"), .01);\n assertEquals(0, this.c1.currentGrade(\"a;ldfjk\"), .00);\n\n assertEquals(book1.currentGrade(\"enwilson\"), 82.5, 0.001);\n assertEquals(book1.currentGrade(\"onon\"), 84.17, 0.001);\n\n book1.changeGrade(\"A2\", \"enwilson\", 100);\n\n assertEquals(book1.currentGrade(\"enwilson\"), 96.6, 0.1);\n }", "title": "" }, { "docid": "6eff73405c62cb723b3e9d98a999fb00", "score": "0.5619988", "text": "protected void also() {\n\n\t}", "title": "" }, { "docid": "04815d68f60968b0a16d65f94950f5fb", "score": "0.5615373", "text": "private void mgSO4() {\n\n\n }", "title": "" }, { "docid": "a544bb4b68c1ced79245024d63295d80", "score": "0.561237", "text": "protected void veja()\r\n\t{\r\n\t\t\r\n\t}", "title": "" }, { "docid": "94fbc7cc462bcbd6ae350624f9fd7ce3", "score": "0.5610931", "text": "private void dextrose10() {\n\n }", "title": "" }, { "docid": "e7fc6c9056dd72a701e29065d2cc8667", "score": "0.56066126", "text": "public void mo5774g() {\n }", "title": "" }, { "docid": "e022c47f335a39c6bdb94a0f49a4e940", "score": "0.56059265", "text": "@Override\r\n\tpublic void parar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "81c48400a6915ab21165c7ea207a2c02", "score": "0.5601553", "text": "@Test\n public void testAssignmentGrade() {\n this.reset();\n assertEquals(90, \n this.c1.assignmentGrade(\"Assignment1\", \"chperrone\"), .01);\n assertEquals(115.0,\n this.c1.assignmentGrade(\"Assignment2\", \"chperrone\"), .01);\n assertEquals(0, \n this.c1.assignmentGrade(\"Assignment3\", \"chperrone\"), .01);\n assertEquals(this.c1.assignmentGrade(\"asldfjk\", \"chperrone\"), 0, .00);\n assertEquals(this.c1.assignmentGrade(\"Assignment1\", \"als;dkjf\"), 0, .0);\n\n assertEquals(book1.assignmentGrade(\n \"Opening Assignment\", \"enwilson\"), 8.0, 0);\n assertEquals(book1.assignmentGrade(\"A2\", \"enwilson\"), 83.0, 0);\n }", "title": "" }, { "docid": "132ebee1d663aa8e1c0ab776375c437a", "score": "0.55878043", "text": "Support support();", "title": "" }, { "docid": "6f653341cfc7d30c8418e4b72116f7e2", "score": "0.5568292", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "89619f99d91a57a4816df447ffd5c641", "score": "0.5558337", "text": "@Override\n\tpublic void apagarLuces() {\n\t\t\n\t}", "title": "" }, { "docid": "fb9ffff099069870d350335229be101c", "score": "0.5544353", "text": "public void studyCourse() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d27989de6d3167262d36a3fdb22cebc4", "score": "0.55395377", "text": "public void mo109409n() {\n }", "title": "" }, { "docid": "482b1825ec60700f97ed42e420d69d99", "score": "0.55365664", "text": "@Override\n\tpublic void valide() {\n\t}", "title": "" }, { "docid": "31ff01b7c455749b8cf84a2adf1e3c1f", "score": "0.55354744", "text": "private void priMethod() {\n \n }", "title": "" }, { "docid": "b14d9313b224be37257260448fc816d3", "score": "0.5525933", "text": "@Override\n\tpublic void breathes()\n\t{\n\n\t}", "title": "" }, { "docid": "0adb5f1f1c75684eab047201533dcfe7", "score": "0.5519254", "text": "protected void mo5609b() {\n }", "title": "" }, { "docid": "29013162e612ccff84eb2574db6f8f82", "score": "0.5518853", "text": "public void inputGrades()\r\n {\r\n\t//add body of inputGrades\r\n }", "title": "" }, { "docid": "b044552fe4d8d8225d09361b41fbea3a", "score": "0.5516507", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "d07e23dc56cec35e3a7f27058ea1d195", "score": "0.55025095", "text": "@Override\npublic void amputatedLegs() {\n\t\n}", "title": "" }, { "docid": "e2c250c2f47b210f6660ab404b7d0644", "score": "0.5501941", "text": "public void getAssignmentNumber()\n {\n \n }", "title": "" }, { "docid": "588ab475e29950e8a1944c4a28fe2189", "score": "0.5498287", "text": "public void mo7036d() {\n }", "title": "" }, { "docid": "ee1886ae0e55ef8c183fc184b4d0492e", "score": "0.5498228", "text": "String outGrade(int grade_Point);", "title": "" }, { "docid": "0ecc2b05fa1b3fe069983a07eba7914d", "score": "0.54953516", "text": "private void inicialitzarTaulell() {\r\n\t\t//PENDENT IMPLEMENTAR\r\n\t}", "title": "" }, { "docid": "483919326d4738e6a14515db0dde599a", "score": "0.54828066", "text": "public void valider();", "title": "" }, { "docid": "a613dcce17453a8e1eed3b984b6b35b1", "score": "0.5481258", "text": "@Override\n\tpublic void composant() {\n\t}", "title": "" }, { "docid": "a0922417fcb403d5a10f66565e04aa8d", "score": "0.547943", "text": "protected void proMethod() {\n \n }", "title": "" }, { "docid": "67e1a422c8d1e74f6601c8a6d1aaa237", "score": "0.5475728", "text": "@Override\n\tpublic void apagar() {\n\n\t}", "title": "" }, { "docid": "963cb7748259d6cd136153dd9086abb9", "score": "0.54309946", "text": "@Override\r\n\t\t\tpublic void Main() {\n\r\n\t\t\t}", "title": "" }, { "docid": "c8f75a8f93bc20d4e8695ba99b470e1d", "score": "0.54233426", "text": "public void mo1684e() {\n }", "title": "" }, { "docid": "6c2fa45ab362625ae567ee8a229630a4", "score": "0.54113305", "text": "@Override\n\tprotected void interr() {\n\t}", "title": "" }, { "docid": "d93fe62a4855806b863f37e6d93157a4", "score": "0.54086137", "text": "public static void retirementGoalMet() {\r\n\t\t/**\r\n\t\t * \r\n\t\t * \r\n\t\t *getSavingsGoal\r\n\t\t *getYearsInRetirement\r\n\t\t * \r\n\t\t */\r\n\t}", "title": "" }, { "docid": "8cd27a30547d884635fa11f9657360e3", "score": "0.54067814", "text": "public void penalizar() {\n\t\t\n\t}", "title": "" }, { "docid": "4da4d5cf96c032296a894fc6e8d76283", "score": "0.54030174", "text": "@Override\n\tpublic void beCagey() {\n\t\t\n\t}", "title": "" }, { "docid": "512af758382cce011388de2a5743ff5c", "score": "0.5397735", "text": "private void caGL() {\n\n\n\n\n\n }", "title": "" }, { "docid": "b8d886581a76c72e11ab317e6cb6e2a8", "score": "0.5391114", "text": "@Override\r\n public void rechercher() {\n }", "title": "" }, { "docid": "be56f3b9269d996071de6538eb904fdf", "score": "0.5383728", "text": "private void ePIIV() {\n\n }", "title": "" }, { "docid": "c86f446a8bd6af19f88cc011fdf2ffd4", "score": "0.5374528", "text": "public void asustar() {\n // TODO implement here\n \n }", "title": "" }, { "docid": "7bebfb20044c56784d07afc38dd21533", "score": "0.53691846", "text": "@Override\r\n\tvoid being() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8ff38dd3eaa9185a0355a9a5d33f6786", "score": "0.5364339", "text": "public static void _17 () {\n }", "title": "" }, { "docid": "01496166e8a218d12b09b0e498fb863c", "score": "0.53630936", "text": "protected Answer() {/* intentionally empty block */}", "title": "" }, { "docid": "466e6a2e7c3216d9cb9d941ea971c123", "score": "0.53571534", "text": "public abstract void mo19596b();", "title": "" }, { "docid": "6d0d175328361bb379f22aa26ec8f30f", "score": "0.5351356", "text": "@Override\n\tprotected void generatePropositions() {\n\t}", "title": "" }, { "docid": "5dd2fcceb821009115848b53ce5aa99c", "score": "0.53478414", "text": "public abstract void mo7229g();", "title": "" }, { "docid": "95b0ccdc9fe5d435952428ebfec538cd", "score": "0.534177", "text": "@Override\n\tpublic void leti() \n\t{\n\t\t\n\t}", "title": "" }, { "docid": "283db9996d7813ea89833ec2a83c1ca9", "score": "0.53391445", "text": "private void apparence()\r\n\t\t{\r\n\t\t// rien\r\n\t\t}", "title": "" }, { "docid": "7c052358c008bb21fdb7ac5498fe5830", "score": "0.53327143", "text": "abstract protected void calculates();", "title": "" }, { "docid": "c55ca8437c880780b7ecbfc6a6d4d49f", "score": "0.53313124", "text": "@Override\n\tpublic void importQuestion() {\n\t\t\n\t}", "title": "" }, { "docid": "90c34f769dcb0f9f66760727128a1ce9", "score": "0.532548", "text": "public void mo10999gG() {\n }", "title": "" }, { "docid": "90c34f769dcb0f9f66760727128a1ce9", "score": "0.532548", "text": "public void mo10999gG() {\n }", "title": "" }, { "docid": "90c34f769dcb0f9f66760727128a1ce9", "score": "0.532548", "text": "public void mo10999gG() {\n }", "title": "" }, { "docid": "90c34f769dcb0f9f66760727128a1ce9", "score": "0.532548", "text": "public void mo10999gG() {\n }", "title": "" }, { "docid": "90c34f769dcb0f9f66760727128a1ce9", "score": "0.532548", "text": "public void mo10999gG() {\n }", "title": "" }, { "docid": "90c34f769dcb0f9f66760727128a1ce9", "score": "0.532548", "text": "public void mo10999gG() {\n }", "title": "" }, { "docid": "90c34f769dcb0f9f66760727128a1ce9", "score": "0.532548", "text": "public void mo10999gG() {\n }", "title": "" }, { "docid": "90c34f769dcb0f9f66760727128a1ce9", "score": "0.532548", "text": "public void mo10999gG() {\n }", "title": "" }, { "docid": "90c34f769dcb0f9f66760727128a1ce9", "score": "0.532548", "text": "public void mo10999gG() {\n }", "title": "" }, { "docid": "90c34f769dcb0f9f66760727128a1ce9", "score": "0.532548", "text": "public void mo10999gG() {\n }", "title": "" }, { "docid": "90c34f769dcb0f9f66760727128a1ce9", "score": "0.532548", "text": "public void mo10999gG() {\n }", "title": "" }, { "docid": "90c34f769dcb0f9f66760727128a1ce9", "score": "0.532548", "text": "public void mo10999gG() {\n }", "title": "" }, { "docid": "90c34f769dcb0f9f66760727128a1ce9", "score": "0.532548", "text": "public void mo10999gG() {\n }", "title": "" }, { "docid": "894c8539c713cd7bec687c8783f2ba54", "score": "0.53242683", "text": "public void mo5772e() {\n }", "title": "" }, { "docid": "b6ae9d0fdc0c8bf8ec236982324b0fc8", "score": "0.5322521", "text": "public String computerLetterGrade(){\n if(this.overallNumericScore >= 90.0 && this.overallNumericScore < 100.0){\n letterGrade = \"A\";\n }\n else if(this.overallNumericScore >= 80.0 && this.overallNumericScore < 90.0){\n letterGrade = \"B\";\n }\n else if(this.overallNumericScore >= 70.0 && this.overallNumericScore < 80.0){\n letterGrade = \"C\";\n }\n else if(this.overallNumericScore >= 60.0 && this.overallNumericScore < 70.0){\n letterGrade = \"D\";\n }\n else if(this.overallNumericScore < 60.0 && this.overallNumericScore >= 0.0){\n letterGrade = \"F\";\n }\n /**\n * else statement only invokes if the numeric score is not within the range 0-100\n */\n else{\n System.out.println(\"Error calculating Letter Grade with Numeric Score\");\n }\n return letterGrade;\n}", "title": "" }, { "docid": "264e2bbd5b066861e446c9bd034097d3", "score": "0.53133893", "text": "public void mo109406k() {\n }", "title": "" }, { "docid": "e071ca9eec75058b3213adadf2f930b9", "score": "0.5309982", "text": "public final void mo8109b() {\n }", "title": "" }, { "docid": "32d0d506f2de2532fe4789f006c84da0", "score": "0.5309589", "text": "@Override\n\tpublic void bicar() {\n\t\t\n\t}", "title": "" }, { "docid": "a5600ed00582d8ca8d293829dcfd6c38", "score": "0.53066725", "text": "private void Syso() {\n\r\n\t}", "title": "" }, { "docid": "80b9d43881232c7081ff3ffca0158697", "score": "0.5306246", "text": "public void calculateFinalGrade()\r\n\t{\r\n\t\tfinalGrade = calculateIAssignmentGrade(iAssignmentGrades) +\r\n\t\t\t\tcalculateIQuizGrade(iQuizGrades) +\r\n\t\t\t\tcalculateICodingChallengeGrade(iCodingChallengeGrades) +\r\n\t\t\t\tcalculateTQuizGrade(tQuizGrades) + \r\n\t\t\t\tcalculateTProjectGrade(tProjectGrade);\r\n\t}", "title": "" }, { "docid": "c610ff4a064981849f01af179c2ba3a9", "score": "0.5304176", "text": "public void testGrading() {\r\n section1.insertStudent(123456, name1);\r\n section1.score(95);\r\n section1.insertStudent(123789, name2);\r\n section1.score(80);\r\n section1.insertStudent(123098, name3);\r\n section1.score(65);\r\n section1.grade();\r\n section1.stat();\r\n boolean result = true;\r\n assertTrue(result);\r\n }", "title": "" }, { "docid": "6527effc431dac52b6dba729e0887c97", "score": "0.52998984", "text": "private Early()\r\n\t{}", "title": "" }, { "docid": "4d8274e5614ca5473aeda50337707f4f", "score": "0.5293635", "text": "protected void updateAgsPercept() {\n }", "title": "" }, { "docid": "1c223692b2a2bdbc36ebfa379064d28d", "score": "0.52860564", "text": "public void mo7102f() {\n }", "title": "" }, { "docid": "1c223692b2a2bdbc36ebfa379064d28d", "score": "0.52860564", "text": "public void mo7102f() {\n }", "title": "" }, { "docid": "1c223692b2a2bdbc36ebfa379064d28d", "score": "0.52860564", "text": "public void mo7102f() {\n }", "title": "" } ]
cd095b5333231af33855c180c6dd6975
Creates and initializes an instance for the given servlet context
[ { "docid": "e11b004a337aa57db792bf6a4421a8cb", "score": "0.0", "text": "public void initialize() {\n // Read the messages of the language, creating missing keys\n translationMessageService.addTranslationChangeListener(new TranslationChangeListener() {\n// @Override\n public void onTranslationsChanged(final Properties properties) {\n reload(properties);\n }\n });\n\n // Load the messages\n reload(null);\n\n // now we can fire an event saying that the translation resources have been loaded\n for (final MessageResourcesLoadedListener messagesLoadedListener : messagesLoadedListeners) {\n messagesLoadedListener.onApplicationResourcesLoaded();\n }\n // Store the resources on the context, so Struts will find it\n servletContext.setAttribute(Globals.MESSAGES_KEY, this);\n }", "title": "" } ]
[ { "docid": "e3bebfacab79ec7050da4cc93ba8b4d3", "score": "0.7041828", "text": "public void init() throws ServletException {\n controller.Context.getInstance();\n }", "title": "" }, { "docid": "b4ab899f3f9f1a6baa93970e5ad11f34", "score": "0.6806798", "text": "public ServletExternalContext(ServletContext context, HttpServletRequest request, HttpServletResponse response) {\n\t\tinit(context, request, response, new DefaultFlowUrlHandler());\n\t}", "title": "" }, { "docid": "6a6927bebec91fe4f9e4c71741d42c3f", "score": "0.6763482", "text": "@Override\n\tpublic void init(ServletConfig config) throws ServletException {\n\t\tservletContext = config.getServletContext();\n\t}", "title": "" }, { "docid": "b610f01ab24c65f7984a0d3b19bf714c", "score": "0.6716546", "text": "public void init(ServletConfig arg0) throws ServletException\n\t{\n\t\ttry\n\t\t{\n\t\t\tinitContext = new InitialContext();\n\t\t\t//servidorOTA = (String)arg0.getServletContext().getAttribute(\"ServidorOTA\");\n\t\t\t//portaOTA = (String)arg0.getServletContext().getAttribute(\"PortaServidorOTA\");\n\t\t\t//usernameOTA = (String)arg0.getServletContext().getAttribute(\"UsuarioOTA\");\n\t\t\t//passwordOTA = (String)arg0.getServletContext().getAttribute(\"SenhaUsuarioOTA\");\n\t\t} catch (NamingException e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "d627dac23651b86bb1c1e309a0367ea3", "score": "0.66548467", "text": "public void init() throws ServletException {\n\t\tDAOContext.init(this.getServletContext());\n\n\t}", "title": "" }, { "docid": "96174e9415c6a124036835358cfad767", "score": "0.6550477", "text": "public void init() throws ServletException {\r\n super.init();\r\n\r\n long startTime = System.currentTimeMillis();\r\n if (LOG.isDebugEnabled()) {\r\n LOG.debug(\"Servlet '\" + getServletName() + \"' init\");\r\n }\r\n\r\n setContextClassName(getServletConfig().getInitParameter(\"contextClassName\"));\r\n setContextConfigLocation(getServletConfig().getInitParameter(\"contextConfigLocation\"));\r\n setNamespace(getServletConfig().getInitParameter(\"namespace\"));\r\n\r\n try {\r\n this.webApplicationContext = initWebApplicationContext();\r\n } catch (BeansException ex) {\r\n LOG.error(\"Context initialization failed\", ex);\r\n throw ex;\r\n }\r\n\r\n if (LOG.isDebugEnabled()) {\r\n long elapsedTime = System.currentTimeMillis() - startTime;\r\n LOG.debug(\"Servlet '\"\r\n + this.getServletName()\r\n + \"' init completed in \"\r\n + elapsedTime\r\n + \" ms\");\r\n }\r\n }", "title": "" }, { "docid": "ab92e93d1d8bfd2313fb5e4f52733537", "score": "0.64982784", "text": "@Override\n public void init(ServletConfig config) throws ServletException {\n \tbankAccountService = new BankAccountServiceImpl();\n \tcontext = config.getServletContext();\n \tserviceContext = config.getServletContext();\n \t\n }", "title": "" }, { "docid": "772b19b10f7d029ae72683d40231c216", "score": "0.6480844", "text": "@Override\n\tpublic void init(ServletConfig arg0) throws ServletException {\n\t\tthis.conf=conf;\n\t\tSystem.out.println(\"Creating object\");\n\t\t\n\t}", "title": "" }, { "docid": "504cd45888ac45f26b532b1ec26a312d", "score": "0.64453435", "text": "protected static ResourceLocator createLocator(ServletContext context) {\n WebApplicationResourceLocator locator = new WebApplicationResourceLocator();\n locator.setSkipAbsolutePath(true);\n locator.setSkipClasspath(false);\n locator.setSkipCurrentDirectory(true);\n locator.setSkipHomeDirectory(true);\n\n locator.setServletContext(context);\n String configurationPath = context.getInitParameter(CONFIGURATION_PATH_KEY);\n if (configurationPath != null && configurationPath.trim().length() > 0) {\n locator.addFilesystemPath(configurationPath.trim());\n }\n\n return locator;\n }", "title": "" }, { "docid": "2f4c352027050ef71fe129224132a211", "score": "0.6277251", "text": "@Override\n\tpublic void init() throws ServletException\n\t{\n\t\tServletContext context = getServletContext();\n\t\tWebApplicationContext applicationContext = WebApplicationContextUtils\n\t\t\t\t.getWebApplicationContext(context);\n\t\texeItemServiceImpl = (ExeItemService) applicationContext\n\t\t\t\t.getBean(\"exeItemServiceImpl\");\n\t}", "title": "" }, { "docid": "0ffeb8518481173206e3f8a4d41dbbde", "score": "0.6267274", "text": "protected void reinit( ServletContext servletContext )\n {\n _servletContext = servletContext;\n }", "title": "" }, { "docid": "cea385928be5f5319b7f82a04c4c0973", "score": "0.62374157", "text": "@Override\n public void init() throws ServletException {\n daoFactory = (DaoFactory) getServletContext().getAttribute(\"daoFactory\");\n }", "title": "" }, { "docid": "c16919f8c5145f09758b413508678e87", "score": "0.6213359", "text": "public JaxrsApplication(@Context ServletConfig servletConfig) {\r\n super();\r\n initSwagger(servletConfig);\r\n }", "title": "" }, { "docid": "eb5af5395f0d1412d748c03fb3ed744e", "score": "0.6205494", "text": "WebAppInterface(Context c) {\n context = c;\n }", "title": "" }, { "docid": "ae7c017490005274a111b2712dd84cba", "score": "0.6172861", "text": "private ServletContextHandler buildFusekiServerContext() {\n // DataAccessPointRegistry was created by buildStart so does not need copying.\n ServletContextHandler handler = buildServletContext(contextPath);\n ServletContext cxt = handler.getServletContext();\n Fuseki.setVerbose(cxt, verbose);\n servletAttr.forEach((n,v)->cxt.setAttribute(n, v));\n JettyLib.setMimeTypes(handler);\n servletsAndFilters(handler);\n return handler;\n }", "title": "" }, { "docid": "561dbf3003ec9cf2bf3f537d215aca8d", "score": "0.61645144", "text": "private void InitApp() {\n//\t\tAppContext.GetInstance().Register(getServlet().getServletContext());\n\t}", "title": "" }, { "docid": "6b6a8ddf22275330caff91277412a0df", "score": "0.6152481", "text": "@Override\n\tpublic void init(ServletConfig config) throws ServletException {\n\n\t\tservletContext = config.getServletContext();\n\t\t\n\t\tcon=(Connection)servletContext.getAttribute(\"connection\");\n\t\t/*\n\t\t * driver = servletContext.getInitParameter(\"driver\"); url =\n\t\t * servletContext.getInitParameter(\"url\"); dUserName =\n\t\t * servletContext.getInitParameter(\"dUserName\"); dPassword =\n\t\t * servletContext.getInitParameter(\"dPassword\");\n\t\t */\n\n\t}", "title": "" }, { "docid": "7f70aa6816230fbffd0b32c2c0292b1e", "score": "0.6149999", "text": "public ServletContext getServletContext();", "title": "" }, { "docid": "e9a4b88113ab37632ce949120baca8ad", "score": "0.61426646", "text": "@Override\n\tpublic void init(ServletConfig servletConfig) {\n\t\tString fileManagerRef = \n\t\t\t\tservletConfig.getInitParameter(\"fileManagerRef\");\n\n\t\tclientIdHeaderKey = servletConfig.getInitParameter(\"clientIdHeaderKey\");\n\n\t\tlogger.debug(\"KFileManagerServlet init(): fileManagerRef: \" + fileManagerRef);\n\n\t\tcontext = WebApplicationContextUtils.getWebApplicationContext(servletConfig.getServletContext());\n\n\t\tif (context == null) {\n\t\t\tlogger.debug(\"context is null; checking for contextConfigLocation ...\"); \n\n\t\t\t// see if we have a contextConfigLocation **CONTEXT** param\n\t\t\tString config = \n\t\t\t\t\tservletConfig.getServletContext().getInitParameter(\"contextConfigLocation\");\n\n\t\t\tif (config != null) {\n\t\t\t\tlogger.debug(\"found config: \" + config);\n\t\t\t\tXmlWebApplicationContext c = new XmlWebApplicationContext();\n\t\t\t\tc.setConfigLocation(config);\n\t\t\t\tc.afterPropertiesSet();\n\t\t\t\tcontext = c;\n\t\t\t} else {\n\t\t\t\tlogger.debug(\"no context config location found\");\n\t\t\t}\n\n\t\t\tif (context == null) {\n\t\t\t\tthrow new IllegalStateException(\n\t\t\t\t\t\t\"No Spring web application context found\");\n\t\t\t}\n\t\t}\n\n\t\tfileManager = getFileManager(fileManagerRef);\n\t\tlogger.debug(\"KFileManagerServlet initialized\");\n\t}", "title": "" }, { "docid": "c4ba9be69b9404cde06ac7bd890d5b12", "score": "0.613798", "text": "@Override\r\n\tpublic void init(ApplicationConfig config) throws ServletException {\r\n\t\t// get the configuration properties and get the \"greeting\" configuration\r\n\t\t// if not provided, it will default to \"Hello\"\r\n\t\tString greeting = config.getProperties().getString(\"greeting\", \"Hello\");\r\n\t\t\r\n\t\t// create the singleton/stateless instance\r\n\t\tthis.context = new HelloWorldContext(greeting);\r\n\t}", "title": "" }, { "docid": "d779c48dbc53aef3f3c4e2b0ef56f27b", "score": "0.6107476", "text": "private void createBaseContext()\n {\n Context context = new Context(this.server, BASE_CONTEXT, Context.SESSIONS);\n context.setContextPath(BASE_CONTEXT);\n context.setResourceBase(\"webapps/jsonrpc/\");\n context.setAttribute(\"copyWebDir\", \"true\");\n ServletHolder defaultServlet = new ServletHolder(new DefaultServlet());\n context.addServlet(defaultServlet, \"/\");\n\n // do jsps\n ServletHolder jspServlet = new ServletHolder(new JspServlet());\n jspServlet.setInitParameter(\"auto-session-bridge\", \"0\");\n context.addServlet(jspServlet, \"*.jsp\");\n\n // do static content\n {\n ServletHolder jsonRpcServlet = new ServletHolder(new JSONRPCServlet(\n \"JSONRPCBridge_Default\"));\n jsonRpcServlet.setInitParameter(\"auto-session-bridge\", \"0\");\n context.addServlet(jsonRpcServlet, \"/JSON-RPC-Default/*\");\n\n }\n {\n ServletHolder jsonRpcServlet = new ServletHolder(new JSONRPCServlet(\n \"JSONRPCBridge_CircRefs\"));\n jsonRpcServlet.setInitParameter(\"auto-session-bridge\", \"0\");\n context.addServlet(jsonRpcServlet, \"/JSON-RPC/*\");\n }\n {\n ServletHolder jsonRpcServlet = new ServletHolder(new JSONRPCServlet(\n \"JSONRPCBridge_Flat\"));\n jsonRpcServlet.setInitParameter(\"auto-session-bridge\", \"0\");\n context.addServlet(jsonRpcServlet, \"/JSON-RPC-Flat/*\");\n }\n }", "title": "" }, { "docid": "9debc7a2352978635c2516d80a6cb539", "score": "0.61072624", "text": "public ServletExternalContext(ServletContext context, HttpServletRequest request, HttpServletResponse response,\n\t\t\tFlowUrlHandler flowUrlHandler) {\n\t\tinit(context, request, response, flowUrlHandler);\n\t}", "title": "" }, { "docid": "a6a7fda498b667117dae0f0304ab82e3", "score": "0.6104213", "text": "public ApplicationPrefs(ServletContext context) {\n initializePrefs(context);\n }", "title": "" }, { "docid": "878426d265e9ae2211f90d3d30596350", "score": "0.6086024", "text": "public void init(ServletConfig config) throws ServletException {\r\n\t\tsuper.init(config);\r\n\t\tWebApplicationContext wac = WebApplicationContextUtils.getWebApplicationContext(getServletContext());\r\n\t\tAutowireCapableBeanFactory factory = wac.getAutowireCapableBeanFactory();\r\n\t\tfactory.autowireBean(this);\r\n\t}", "title": "" }, { "docid": "2a7979d1b846f1e85609ece2307787c6", "score": "0.6082587", "text": "public void init() {\n ServletContext context = getServletContext();\n host = context.getInitParameter(\"host\");\n port = context.getInitParameter(\"port\");\n socketFactoryClass = context.getInitParameter(\"socketFactoryClass\");\n auth = context.getInitParameter(\"auth\");\n email = context.getInitParameter(\"email\");\n name = context.getInitParameter(\"name\");\n pass = context.getInitParameter(\"pass\");\n }", "title": "" }, { "docid": "6f9730849099685621de048a47f27344", "score": "0.6068796", "text": "public servlet() {\r\n\t\tsuper();\r\n\t}", "title": "" }, { "docid": "7c32c30e95af4acba191f7467872f4dc", "score": "0.6043067", "text": "@Override\n\tpublic void setServletContext(ServletContext servletContext) {\n\t\tthis.servletContext = servletContext;\n\t\tinitVariables();\n\t}", "title": "" }, { "docid": "16a7921f02f33da199344581bb9cdc68", "score": "0.6034554", "text": "protected abstract void initServlet();", "title": "" }, { "docid": "3e73ea01a219aaab94c027977449311f", "score": "0.60282636", "text": "protected void initServletContext(ServletContext sc)\r\n/* 28: */ {\r\n/* 29: 71 */ if ((sc.getMajorVersion() == 2) && (sc.getMinorVersion() < 5)) {\r\n/* 30: 72 */ this.exposeForwardAttributes = true;\r\n/* 31: */ }\r\n/* 32: */ }", "title": "" }, { "docid": "e31c6a8f23b1b3aa1b66a204ee96535e", "score": "0.6027298", "text": "public void init() \r\n {\n ServletContext context = getServletContext();\r\n host = context.getInitParameter(\"host\");\r\n email = context.getInitParameter(\"email\");\r\n pass = context.getInitParameter(\"pass\");\r\n }", "title": "" }, { "docid": "09aa028c1c09012f12b36325c2f22cb4", "score": "0.6026899", "text": "public void init() \n\t {\n\t \t// Prepare the FreeMarker configuration;\n\t // - Load templates from the WEB-INF/templates directory of the Web app.\n\t //\n\t cfg = new Configuration();\n\t cfg.setServletContextForTemplateLoading(\n\t getServletContext(), \n\t \"WEB-INF/templates\"\n\t );\n\t }", "title": "" }, { "docid": "c0a5468ffe739476bedccf24bb55ca27", "score": "0.60128695", "text": "@Autowired\n public void setServletContext(ServletContext servletContext) {\n OrganizationUnit.servletContext = servletContext;\n }", "title": "" }, { "docid": "2a124fb382ec29746496c494e7741c75", "score": "0.6000915", "text": "public void init() \r\n\t {\r\n\t \t// Prepare the FreeMarker configuration;\r\n\t // - Load templates from the WEB-INF/templates directory of the Web app.\r\n\t //\r\n\t cfg = new Configuration();\r\n\t cfg.setServletContextForTemplateLoading(\r\n\t getServletContext(), \r\n\t \"WEB-INF/templates\"\r\n\t );\r\n\t }", "title": "" }, { "docid": "e7dec32d287ad69f92c1fd7b2f1301e2", "score": "0.5985952", "text": "public void init(ServletConfig config) throws ServletException {\n\t\tproductService=new ProductServiceImpl();\r\n\t\tuserService=new UserServiceImpl();\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "3495b07c329fc0e4921eaa30b87c249c", "score": "0.59775865", "text": "void init(Map<String, Object> context);", "title": "" }, { "docid": "1258e5fd177c77e978e1ad49e0c6e0de", "score": "0.5965458", "text": "public static void initialize(Context context, Config config) {\n\n\n ComponentHolder.getInstance().init(context, config);\n DownloadRequestQueue.initialize();\n\n\n }", "title": "" }, { "docid": "753d74f07db4e5a62e4d928037095ec0", "score": "0.59580356", "text": "public void init() throws ServletException {\n\t\tsuper.init();\n\t\tapplicationContext = WebApplicationContextUtils.getWebApplicationContext(getServletContext());\n\t\tpicServiceImpl = (PicService) applicationContext.getBean(\"PicServiceImpl\");\n\t}", "title": "" }, { "docid": "7b3b7c561770a1b4125965c0dcb0f37a", "score": "0.5953953", "text": "public VTApplication(){\n \t\n// \tContext initContext;\n//\t\ttry {\n//\t\t\tinitContext = new InitialContext();\n//\n//\t\t\tContext envContext = (Context)initContext.lookup(\"java:/comp/env\");\n//\t\t\tdataSource = (DataSource)envContext.lookup(\"jdbc/VTDB\");\n//\t\t\t\n//\t\t\tconnection = ds.getConnection();\n//\t\t\t\n//\t\t\tdbWrapper = new DatabaseWrapper(dataSource);\t\n\t\t\tdbWrapper = new DatabaseWrapper(\"jdbc/VTDB\");\t\n//\t\t\t\n//\t\t} catch (NamingException e) {\n//\t\t\t\n//\t\t\tlogger.error(e.toString());\n//\t\t}\n\t\t\t \n }", "title": "" }, { "docid": "47780d71618c50b9e7cba257c75f4f8d", "score": "0.59401697", "text": "public void init() throws ServletException {\n\t\tsuper.init();\r\n\t\ttry {\r\n ctx=getServletContext();\r\n\t\t\tSystem.out.println(\"Driver loaded\");\r\n\t\t con = (Connection)ctx.getAttribute(\"Connection\");\r\n\t\t\t st = con.createStatement(); \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}", "title": "" }, { "docid": "350f87cad5ef87dcae99e5889ccffc6d", "score": "0.593758", "text": "public TestServlet() {\n super();\n }", "title": "" }, { "docid": "48ca0323096a20d80e08e2ceff4125ef", "score": "0.5936809", "text": "public void init() {\n ServletContext context = getServletContext();\r\n host = context.getInitParameter(\"host\");\r\n port = context.getInitParameter(\"port\");\r\n user = context.getInitParameter(\"user\");\r\n pass = context.getInitParameter(\"pass\");\r\n }", "title": "" }, { "docid": "59e586a27df308a554a34f2b9a0fafbb", "score": "0.5922511", "text": "public abstract void init(Context context);", "title": "" }, { "docid": "d99b48eb90ecb6a65f9eb0b11f8e153c", "score": "0.59019196", "text": "public void init() throws ServletException {\n _application = ((ManagedPlatform)ServicePlatform.getService(ManagedPlatform.INSTANCE).first).getName();\n\n/*\n ApplicationContext wac = WebApplicationContextUtils.getWebApplicationContext(getServletContext());\n if (wac.containsBean(\"persistence\")) { // persistence may not be there if persistent storage is not required\n _persistence = (Persistence)wac.getBean(\"persistence\");\n }\n*/\n }", "title": "" }, { "docid": "5c010807fc61b69b9c2ecf393f0b6526", "score": "0.5874922", "text": "public Application createApplication(Context context) {\r\n Application application = null;\r\n // Try to instantiate a new target application\r\n // First, find the application class name\r\n String applicationClassName = getInitParameter(Application.KEY, null);\r\n \r\n // Load the application class using the given class name\r\n if (applicationClassName != null) {\r\n try {\r\n // According to\r\n // http://www.caucho.com/resin-3.0/webapp/faq.xtp#Class.forName()-doesn't-seem-to-work-right\r\n // this approach may need to used when loading classes.\r\n Class targetClass;\r\n ClassLoader loader = Thread.currentThread()\r\n .getContextClassLoader();\r\n \r\n if (loader != null)\r\n targetClass = Class.forName(applicationClassName, false,\r\n loader);\r\n else\r\n targetClass = Class.forName(applicationClassName);\r\n \r\n try {\r\n // Create a new instance of the application class by\r\n // invoking the constructor with the Context parameter.\r\n application = (Application) targetClass.getConstructor(\r\n Context.class).newInstance(context);\r\n } catch (NoSuchMethodException e) {\r\n log(\r\n \"[Noelios Restlet Engine] - The ServerServlet couldn't invoke the constructor of the target class. Please check this class has a constructor with a single parameter of Context. The empty constructor and the context setter wille used instead. \"\r\n + applicationClassName, e);\r\n // The constructor with the Context parameter does not\r\n // exist. Instantiate an application with the default\r\n // constructor then invoke the setContext method.\r\n application = (Application) targetClass.getConstructor()\r\n .newInstance();\r\n }\r\n } catch (ClassNotFoundException e) {\r\n log(\r\n \"[Noelios Restlet Engine] - The ServerServlet couldn't find the target class. Please check that your classpath includes \"\r\n + applicationClassName, e);\r\n \r\n } catch (InstantiationException e) {\r\n log(\r\n \"[Noelios Restlet Engine] - The ServerServlet couldn't instantiate the target class. Please check this class has an empty constructor \"\r\n + applicationClassName, e);\r\n } catch (IllegalAccessException e) {\r\n log(\r\n \"[Noelios Restlet Engine] - The ServerServlet couldn't instantiate the target class. Please check that you have to proper access rights to \"\r\n + applicationClassName, e);\r\n } catch (NoSuchMethodException e) {\r\n log(\r\n \"[Noelios Restlet Engine] - The ServerServlet couldn't invoke the constructor of the target class. Please check this class has a constructor with a single parameter of Context \"\r\n + applicationClassName, e);\r\n } catch (InvocationTargetException e) {\r\n log(\r\n \"[Noelios Restlet Engine] - The ServerServlet couldn't instantiate the target class. An exception was thrown while creating \"\r\n + applicationClassName, e);\r\n }\r\n \r\n if (application != null) {\r\n // Set the context based on the Servlet's context\r\n application.setContext(new ServletContextAdapter(this,\r\n application, context));\r\n }\r\n }\r\n \r\n return application;\r\n }", "title": "" }, { "docid": "4f4a7a42b8f57b37a00ce4d26936332c", "score": "0.58677936", "text": "public static void init(Context context) {\n thisContext = context;\n }", "title": "" }, { "docid": "6c75fd4aac6e9cb274057a296ac1ece8", "score": "0.58674437", "text": "public ServletDemo1() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "272e9addf4719e2dec6df86d9818691d", "score": "0.5858477", "text": "public Context initApp(String name, String contextPath, String baseDirectory, Class<?> moduleClass) {\n try {\n // Define webapp context\n Context context = addWebapp(name, new File(\".\").getAbsolutePath());\n\n // Get module JAR file from it's class\n File jarFile = ClassUtils.getJarFile(moduleClass);\n\n // Define application resources\n WebResourceRoot resource = new StandardRoot(context);\n if (jarFile.isFile()) {\n // Define resources as a JAR file\n resource.createWebResourceSet(WebResourceRoot.ResourceSetType.RESOURCE_JAR, contextPath, jarFile.getCanonicalPath(), null, baseDirectory);\n\n } else {\n // Define resources as a folder if module is a folder (DEV MODE)\n resource.createWebResourceSet(WebResourceRoot.ResourceSetType.PRE, contextPath, jarFile.getCanonicalPath(), null, baseDirectory);\n }\n\n // Speed class scanning avoiding to scan useless dependencies\n Set<String> jarModules = new HashSet<>();\n this.instance.getModules().forEach((module) -> {\n File moduleJarFile = ClassUtils.getJarFile(module.getClass());\n if (moduleJarFile.getName().endsWith(\".jar\")) {\n jarModules.add(moduleJarFile.getName());\n }\n });\n\n // Change application scanner to avoid land and unnecessary library scan\n context.getJarScanner().setJarScanFilter((JarScanType jarScanType, String jarName) -> {\n if (jarScanType == JarScanType.TLD) {\n if (jarName.endsWith(\".jar\")) {\n boolean shouldBeScan = jarModules.contains(jarName);\n if (shouldBeScan) {\n LOGGER.debug(\"Scan for Tomcat TLD: \" + jarName);\n }\n return shouldBeScan;\n } else {\n return true;\n }\n } else {\n return true;\n }\n });\n\n // Add resources to context\n context.setResources(resource);\n\n // Allow application to get opensilex instance through servlet context injection\n context.getServletContext().setAttribute(\"opensilex\", instance);\n\n return context;\n\n } catch (IOException ex) {\n if (name.equals(\"\")) {\n name = \"/\";\n }\n LOGGER.error(\"Can't initialize application:\" + name, ex);\n }\n\n return null;\n }", "title": "" }, { "docid": "7f9db68e7dda76cd477b82fcb41d17da", "score": "0.585314", "text": "public void init() {\n ServletContext context = getServletContext();\n host = context.getInitParameter(\"host\");\n port = context.getInitParameter(\"port\");\n user = context.getInitParameter(\"user\");\n pass = context.getInitParameter(\"pass\");\n }", "title": "" }, { "docid": "12c724f081475650eae84c0b0f5f269b", "score": "0.5831593", "text": "@Override\n\tpublic void init() throws ServletException {\n\t\tsuper.init();\n\t\tApplicationContext applicationContext=new ClassPathXmlApplicationContext(\"applicationContext.xml\");\n\t\tiservice=(InnService) applicationContext.getBean(\"innservice\");\n\t\toservice=(OrderService) applicationContext.getBean(\"orderservice\");\n\n\t\tmservice=(MemberService) applicationContext.getBean(\"memberservice\");\n\t\tpservice=(PlanService) applicationContext.getBean(\"planservice\");\n\t}", "title": "" }, { "docid": "b78cf0c49bd804966087f91f87dfc6ac", "score": "0.5830767", "text": "public void init(ServletContext servletContext, Map<String, PropertyType> globalParameters,\n DataSourceConfiguration dataSourceConfig) throws DataSourceException {\n\n WebApplicationContext context = WebApplicationContextUtils.getWebApplicationContext(servletContext);\n geneSolrDAO = context.getBean(GeneSolrDAO.class);\n propertyDAO = context.getBean(PropertyDAO.class);\n atlasProperties = context.getBean(AtlasProperties.class);\n atlasStatisticsQueryService = context.getBean(AtlasStatisticsQueryService.class);\n anatomogramFactory = context.getBean(AnatomogramFactory.class);\n }", "title": "" }, { "docid": "cfc34cd652cb288189bd56e30e59d543", "score": "0.58283305", "text": "static @NonNull Pac4jContext create(@NonNull Context ctx) {\n String key = Pac4jContext.class.getName();\n WebContextImpl impl = ctx.getAttribute(key);\n if (impl == null) {\n impl = new WebContextImpl(ctx);\n ctx.setAttribute(key, impl);\n }\n return impl;\n }", "title": "" }, { "docid": "aa8ace5b03f2dd2fddfbd9b36dd3449b", "score": "0.58269954", "text": "protected ServletContext getServletContext()\n {\n return _servletContext;\n }", "title": "" }, { "docid": "d1cc71ce03f930fbc9792008b65ab218", "score": "0.58198416", "text": "void init(BLContext context);", "title": "" }, { "docid": "848ce8b488b955c443f243a16db4cbf3", "score": "0.5818491", "text": "@Override\n public void setServletContext(ServletContext servletContext) {\n System.out.println(\"Setting servlet context in ServletAware2\");\n }", "title": "" }, { "docid": "8bcea776c82d230ce6f37a34701fc491", "score": "0.5810796", "text": "Context createContext();", "title": "" }, { "docid": "0f3eb0da3597a46aaebbcf2a84083481", "score": "0.5809859", "text": "@PostConstruct\n\t//ctx polje je null u konstuktoru, mora se pozvati nakon konstruktora\n\tpublic void init() {\n\t\tif(ctx.getAttribute(\"userDAO\")==null) {\n\t\t\tString contextPath = ctx.getRealPath(\"\");\n\t\t\tctx.setAttribute(\"userDAO\", new UserDAO(contextPath));\n\t\t}\n\t}", "title": "" }, { "docid": "b391ac22155fcdae3e5b3d3586f9ae21", "score": "0.58075154", "text": "@Override\n public void setServletContext(ServletContext servletContext) {\n this.servletContext = servletContext;\n }", "title": "" }, { "docid": "47f9346555fb1ad867e4172e972aaffb", "score": "0.5804539", "text": "public static synchronized EFGServletInitializerInterface getInstance() {\r\n\t\tif(servInit == null){\r\n\t\t\tservInit = new RDBServletInitializer();\r\n\t\t}\r\n\t\treturn servInit;\r\n\t}", "title": "" }, { "docid": "f0a5cb0783013e4a73eb22f73e2d2d26", "score": "0.58039385", "text": "@Override\n\tpublic ServletContext getServletContext() {\n\n\t\tif (context == null) {\n\t\t\tcontext = new ApplicationContext(getBasePath(), this);\n\t\t\tif (altDDName != null)\n\t\t\t\tcontext.setAttribute(Globals.ALT_DD_ATTR, altDDName);\n\t\t}\n\t\treturn (context.getFacade());\n\n\t}", "title": "" }, { "docid": "49fabe9821a44799a3e4f520c72a9085", "score": "0.5801782", "text": "private ServiceContext createServiceContext(HttpServletRequest req) {\r\n\r\n ServiceContext serviceContext = new ServiceContext();\r\n ServiceContext.setServiceContext(serviceContext);\r\n return serviceContext;\r\n }", "title": "" }, { "docid": "4f93a8118f750047db2858d8c281569b", "score": "0.5791171", "text": "@Override\n protected void init(ServletConfig config, Properties properties) throws Exception {\n ApplicationContext ac = WebApplicationContextUtils.getWebApplicationContext(config.getServletContext());\n ac.getAutowireCapableBeanFactory().autowireBeanProperties(this, Autowire.BY_NAME.value(), false);\n }", "title": "" }, { "docid": "548913a93812310844949eaf7cd2cfd6", "score": "0.57900554", "text": "protected WebApplicationContext initWebApplicationContext() throws BeansException {\r\n log(\"Initializing WebApplicationContext for servlet '\" + this.getServletName() + \"'\");\r\n\r\n ServletContext ctx = getServletContext();\r\n WebApplicationContext parent = WebApplicationContextUtils.getWebApplicationContext(ctx);\r\n\r\n WebApplicationContext wac = createWebApplicationContext(parent);\r\n if (LOG.isDebugEnabled()) {\r\n LOG.debug(\"Using context class '\"\r\n + wac.getClass().getName()\r\n + \"' for servlet '\"\r\n + getServletName()\r\n + \"'\");\r\n }\r\n\r\n // publish the context as a servlet context attribute\r\n ctx.setAttribute(SERVLET_CONTEXT_ATTRIBUTE, wac);\r\n if (LOG.isDebugEnabled()) {\r\n LOG.debug(\"Published WebApplicationContext of servlet '\"\r\n + getServletName()\r\n + \"' as ServletContext attribute with name [\"\r\n + SERVLET_CONTEXT_ATTRIBUTE\r\n + \"]\");\r\n }\r\n return wac;\r\n }", "title": "" }, { "docid": "1be055382004d5ccaa614abfc0d807ee", "score": "0.57716465", "text": "public void initialize(WebApplicationContext ctx);", "title": "" }, { "docid": "9feffbbb66e774fc371f5c1f72099bd8", "score": "0.5768284", "text": "public TopTags(ServletContext context) {\n\t\tthis.context = context;\n\t}", "title": "" }, { "docid": "ebadeb648d10c81652880f68df7d03d9", "score": "0.57539326", "text": "private WebAppContext createJettyWebContext(Bundle bundle, String contextPath) throws Exception {\r\n\r\n\t\tWebAppContext wac = new WebAppContext();\r\n\r\n\t\t// create a jetty web app context\r\n\r\n\t\t// the server is being used to generate the temp folder (so we have to set it)\r\n\t\twac.setServer(serverService);\r\n\t\t// set the war string since it's used to generate the temp path\r\n\t\twac.setWar(OsgiStringUtils.nullSafeName(bundle));\r\n\t\t// same goes for the context path (add leading \"/\" -> w/o the context will not work)\r\n\t\twac.setContextPath(contextPath);\r\n\t\t// no hot deployment (at least not through directly Jetty)\r\n\t\twac.setCopyWebDir(false);\r\n\t\twac.setExtractWAR(true);\r\n\r\n\t\t//\r\n\t\t// 1. resource settings\r\n\t\t//\r\n\r\n\t\t// start with the slow, IO activity\r\n\t\tResource rootResource = getRootResource(bundle, wac);\r\n\r\n\t\t// wac needs access to the WAR root\r\n\t\t// we have to make sure we don't trigger any direct file lookup\r\n\t\t// so instead of calling .setWar()\r\n\t\t// we set the base resource directly\r\n\t\twac.setBaseResource(rootResource);\r\n\t\t// reset the war setting (so that the base resource is used)\r\n\t\twac.setWar(null);\r\n\r\n\t\t// \r\n\t\t// 2. class-loading behaviour\r\n\t\t//\r\n\r\n\t\t// obey the servlet spec class-loading contract\r\n\t\twac.setSystemClasses(systemClasses);\r\n\t\twac.setServerClasses(serverClasses);\r\n\r\n\t\t// no java 2 loading compliance\r\n\t\twac.setParentLoaderPriority(false);\r\n\t\t// create special classloader\r\n\t\twac.setClassLoader(Utils.createWebAppClassLoader(bundle, Server.class));\r\n\r\n\t\treturn wac;\r\n\t}", "title": "" }, { "docid": "430789d2f1f51b30ce92ae0debb58b44", "score": "0.5751569", "text": "@Override\n public void init(ServletConfig config) throws ServletException\n {\n super.init(config);\n\n try {\n // create new database binding class\n userDB = new BindingsUserDB();\n }\n catch(Exception e) {\n System.out.println(e.getMessage());\n }\n }", "title": "" }, { "docid": "07a9f6f8621f8b4b7466633037b27d12", "score": "0.5750626", "text": "public void init() throws ServletException {\n\t\tDataSource ds = new MySQLDataSource(\"biblio\");\n\t\tDatabase db = new Database(ds);\n\t\tAuthorDao authorDao = new AuthorDaojdbc(db);\n\t\tTitleDao docDao = new TitleDaojdbc(db);\n\t\tPublisherDao pubDao = new PublisherDaojdbc(db);\n\t\tBiblioService service = new BiblioServiceDefault(authorDao, pubDao, docDao);\n\t\taction = new BiblioAction(service);\n\t}", "title": "" }, { "docid": "c975b8130a96058423ab5e90af071903", "score": "0.5748547", "text": "protected ServletContext getServletContext() {\n\t\treturn servletContext();\n\t}", "title": "" }, { "docid": "7836f4de17598014cfec703534012d6e", "score": "0.57433474", "text": "public void init(ServletConfig config) throws ServletException {\n super.init(config);\n String path= config.getServletContext().getRealPath(\"/WEB-INF\");\n String[] configFiles = new String[] { path + \"/datos.xml\", path + \"/servicios.xml\"};\n BeanFactory factory = new FileSystemXmlApplicationContext(configFiles);\n }", "title": "" }, { "docid": "618df1bfe75d03f1713dbebe81da55c1", "score": "0.57429844", "text": "@Override\n public void contextInitialized(ServletContextEvent sce) {\n ServletContext sc = sce.getServletContext();\n String dogBreed = sc.getInitParameter(\"breed\");\n Dog d = new Dog(dogBreed);\n sc.setAttribute(\"dog\", d);\n }", "title": "" }, { "docid": "a6d6d5c7cb6e69d770762c38720ad99a", "score": "0.5742013", "text": "public void init(ServletConfig servletConfig) throws ServletException {\n\t\tSystem.out.println(\"init...\");\n this.servletConfig = servletConfig;\n\t}", "title": "" }, { "docid": "248f487cf6ed9c4fd227b3398723fbd2", "score": "0.57388395", "text": "@Override\n\tpublic void onStartup(ServletContext servletContext) throws ServletException {\n\t\t// create a spring container, which can load all beans from this configuration file (AppConfig)\n\t\tAnnotationConfigWebApplicationContext ctx;\n\t\tctx = new AnnotationConfigWebApplicationContext();\n\t\tctx.register(AppConfig.class);\n\t\t\n\t\t// create a DispatcherServlet instance, supplying the reference of the spring container\n\t\t\n\t\tDynamic ds = servletContext.addServlet(\"ds\", new DispatcherServlet(ctx));\n\t\t\n\t\t// make DispatcherServlet as the controller for all user requests '/'\n\t\tds.addMapping(\"/\");\n\t\t\n\t\t// load the servlet and it's mapping before any other servlets\n\t\tds.setLoadOnStartup(1);\n\t}", "title": "" }, { "docid": "f72aed9c0b068fe3dd2e4cc25319a198", "score": "0.5737905", "text": "@Override\n public void onStartup(ServletContext ctx) {\n ctx.addListener(ContextLoaderListener.class);\n ctx.addListener(RequestContextListener.class);\n ctx.setInitParameter(ContextLoader.CONTEXT_CLASS_PARAM, AnnotationConfigWebApplicationContext.class.getName());\n ctx.setInitParameter(ContextLoader.CONFIG_LOCATION_PARAM, SpringConfig.class.getName());\n \n // Register and map the dispatcher servlet\n final ServletRegistration.Dynamic dispatcher = ctx.addServlet(\"td-character-gen\", ServletContainer.class.getName());\n dispatcher.setInitParameter(\"javax.ws.rs.Application\", JerseyConfig.class.getName());\n dispatcher.setLoadOnStartup(1);\n dispatcher.addMapping(\"/*\");\n \n }", "title": "" }, { "docid": "c2c9218441dd2ac50b7a92e53dd6deec", "score": "0.5734478", "text": "public void init(ServletConfig config) throws ServletException {\n\t\tsavepath = config.getServletContext().getRealPath(\"/\");\n\t\t// Create a factory for disk-based file items\n\n\t}", "title": "" }, { "docid": "6eade39e5d208cd27df6ae601c45d997", "score": "0.57341707", "text": "public static WebServiceFacade getInstance(Context context){\r\n\t\tmContext = context;\r\n\t\treturn webServiceFacade; \r\n\t}", "title": "" }, { "docid": "5eee01174345a7636213a02f059342a7", "score": "0.5733974", "text": "public void onStartup(ServletContext servletContext) throws ServletException {\n\t\t\n\t\t\n\t\tAnnotationConfigWebApplicationContext webApplicationContext = new AnnotationConfigWebApplicationContext();\n\t\twebApplicationContext.register(LoveCalculatorApplicationConfig.class);\n\t\t\n\t\t\n\t\t// need to set the file of xml to the xmlWebApplicationContext class which is\n\t\t// present in classpath:(src/main/resources)\n\t\t//webApplicationContext.setConfigLocation(\"classpath:beans.xml\");\n\n\t\t// create a dispatcher servlet object\n\n\t\tDispatcherServlet disServlet = new DispatcherServlet(webApplicationContext);\n\n\t\t// and register that dispatcher servlet object with the servlet context object\n\t\tServletRegistration.Dynamic myCustomDispatcherServlet = servletContext.addServlet(\"myDispatcherServlet\",\n\t\t\t\tdisServlet); // any name and class object or ref need to be there for the addServlet method\n\n\t\t// both ServletRegistration and Dynamic are inteface and Dynamic is inner\n\t\t// interface and implementation\n\t\t// is provided by Tomcat classes for those interfaces\n\n\t\t// 1.set load-on-startup\n\t\t// 2.set url-mapping\n\n\t\tmyCustomDispatcherServlet.setLoadOnStartup(1);\n\n\t\tmyCustomDispatcherServlet.addMapping(\"/mywebsite.com/*\");\n\n\t}", "title": "" }, { "docid": "eff53f253bb8e69a8b60aa9be75517ad", "score": "0.5728703", "text": "public void onStartup(ServletContext servletContext) {\n }", "title": "" }, { "docid": "01a30756894017af7a5a34cf1ba095ed", "score": "0.57267517", "text": "@Override\n\tpublic void init() throws ServletException {\n\t\t\n\t\tthis.mWebApplicationContext = initWebApplicationContext();\n\t}", "title": "" }, { "docid": "649ad401b276c2a402612de824c86270", "score": "0.5719154", "text": "@Override\n\tpublic void setServletContext(ServletContext context) {\n\t\tthis.context = context;\n\t}", "title": "" }, { "docid": "61166328d0cf25f784311780c51ccf2d", "score": "0.571727", "text": "public void setServletContext(ServletContext arg0) {\n\r\n\t}", "title": "" }, { "docid": "6b7a55ff9bc1af186753515a50a8eb58", "score": "0.57168084", "text": "public void init() throws ServletException {\r\n\t\tthis.contextLoader = createContextLoader();\r\n\t\tthis.contextLoader.initWebApplicationContext(getServletContext());\r\n\t\t\r\n try {\r\n\t\t\tgetMwareConfig();\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 \r\n DataBaseMessageResources dataBaseMessageResources = \r\n (DataBaseMessageResources)getServletContext().getAttribute(org.apache.struts.Globals.MESSAGES_KEY);\r\n \r\n ConfigService configService = (ConfigService) BaseAction.ctx.getBean(\"configService\");\r\n \r\n //dataBaseMessageResources.loadLocale(null);\r\n dataBaseMessageResources.loadLocale(configService.findLanguage());\r\n \r\n }", "title": "" }, { "docid": "d39247576cf80a38bd252dd7b52757f0", "score": "0.5708954", "text": "public void init() {\n String username = this.getServletContext().getInitParameter(\"username\");\n String password = this.getServletContext().getInitParameter(\"password\");\n String url = this.getServletContext().getInitParameter(\"url\");\n db = new UserDB(url, username, password);\n db.createUserInfoTable();\n }", "title": "" }, { "docid": "713df0de75dad42f468e42a9c9ed6ded", "score": "0.5705018", "text": "@Override\n\tpublic void setServletContext(ServletContext servletContext) {\n\t\tthis.servletContext = servletContext;\n\t}", "title": "" }, { "docid": "dc0e400985f7ef53b6dc0551971da69a", "score": "0.5700073", "text": "public void initVelocity(ServletConfig config) throws ServletException {\r\n try { \r\n \tengine = VelocityEngineHolder.getInstance(config, getServletContext()).getVelocityEngine();\r\n \tcontext = new VelocityContext();\r\n \tcontext.put(\"request_uid\", lebah.util.UIDGenerator.getUID());\r\n } catch ( Exception e ) {\r\n \tSystem.out.println(\"ERROR IN VELOCITYSERVLET INITVELOCITY\");\r\n\t e.printStackTrace();\r\n }\r\n }", "title": "" }, { "docid": "34bb66d3b9695caee00c1913a97d0a8b", "score": "0.5695683", "text": "@Override\r\n\t\tpublic void init(ServletConfig arg0) throws ServletException {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "6bec37d67c5f8323e8ad366bbbca1933", "score": "0.5694727", "text": "public void init (ServletConfig config)\tthrows ServletException \n {\n super.init (config);\n\n\t\ttry {\n\t\t\tContext initContext = new InitialContext();\n\t\t\tContext envContext = (Context) initContext.lookup(\"java:/comp/env\");\n\t\t\tPdsConf pdsConf = (PdsConf) envContext.lookup(\"bean/PdsConf\");\n\t\t\tconf = pdsConf.getConf();\n\t\t\tmemcache = (CacheController) envContext.lookup(\"bean/CacheController\");\n\t\t\tds = (DataSource) envContext.lookup(\"jdbc/DrsDB\");\n\t\t} catch (NamingException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tcache = conf.getString(\"cache\");\n\t\tidsUrl = conf.getString(\"ids\");\n\t\tftsUrl = conf.getString(\"fts\");\n\t\tgiffy = conf.getString(\"t2gif\");\n\t\tcacheUrl = conf.getString(\"cacheUrl\");\n\t\tpdsUrl \t \t\t = conf.getString(\"pds\");\n\t\tnrsUrl \t \t\t = conf.getString(\"nrsUrl\");\n\t\tString logFile = conf.getString(\"logFile\");\n\n maxThumbnails = conf.getString(\"maxThumbnails\");\n\n\t\t//Configure the logger\n\t\tlogger = Logger.getLogger(\"edu.harvard.hul.ois.pds.ws\");\n\t\ttry {\n\t\t\tXmlLayout myLayout = new XmlLayout();\n\t\t\t//an appender for the access log\n\t\t\tAppender myAppender = new DailyRollingFileAppender(myLayout, logFile, conf.getString(\"logRollover\"));\n\t\t\tlogger.addAppender(myAppender);\n\t\t}\n\t catch (Exception e) {\n\t\t\tWebAppLogMessage message = new WebAppLogMessage();\n message.setContext(\"init logger\");\n message.setMessage(\"Error initializing logger\");\n logger.error(message,e);\n\t \tthrow new ServletException(e.getMessage());\n\t\t}\n\t //reset the logger for this class\n logger = Logger.getLogger(PDSWebService.class);\n\n\t\tSystem.setProperty(\"org.xml.sax.driver\",\"org.apache.xerces.parsers.SAXParser\");\n\n\t\t//init pdf conversions hash\n\t\tpdfConversions = new Hashtable<String,ArrayList<Integer>>();\n\n\t\t//Log successful servlet init\n\t\tWebAppLogMessage message = new WebAppLogMessage();\n\t\tmessage.setMessage(\"Servlet init()\");\n\t\tlogger.info(message);\n\n\t\tdrs2Service = new ServiceWrapper(conf.getString(\"drs2ServiceURL\"),\n\t\t conf.getString(\"drs2AppKey\"),\n\t\t 1);\n\n\n }", "title": "" }, { "docid": "55b24ee8de73a23df9ad0b4fa5d4dc56", "score": "0.5693758", "text": "public void contextInitialized(ServletContextEvent evt) {\n // TODO add your code here e.g.:\n /*\n Connection con = // create connection\n evt.getServletContext().setAttribute(\"con\", con);\n */\n }", "title": "" }, { "docid": "3153279aa80fb3f2881373d73a41e223", "score": "0.5691758", "text": "public void init() throws ServletException\n {\n }", "title": "" }, { "docid": "ef9f31ee95740d4952c89836238cf811", "score": "0.5681252", "text": "public DebugServlet() {}", "title": "" }, { "docid": "eda42dd4a5b3298fd718e510136114d5", "score": "0.5677887", "text": "public TagcloudServlet() {\r\n\t\tsuper();\r\n\t}", "title": "" }, { "docid": "6b8172cd7a661d786604ee47eefeee39", "score": "0.56558126", "text": "private void initExtScript(ServletContext servletContext)\n {\n try\n {\n //the reloading listener also is the marker to avoid double initialisation\n //after the container is kickstarted\n if (servletContext.getAttribute(RELOADING_LISTENER) == null)\n {\n StartupServletContextPluginChainLoaderBase.startup(servletContext);\n servletContext.setAttribute(RELOADING_LISTENER, new ReloadingListener());\n WeavingContext.getInstance().addListener((ReloadingListener) servletContext.getAttribute(RELOADING_LISTENER));\n File target = WeavingContext.getInstance().getConfiguration().getCompileTarget(\"/META-INF/beans.xml\");\n\n //we generate a beans.xml for weld, owb seems to be able to cope without it\n String beansXML = \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\\n\" +\n \"<beans xmlns=\\\"http://java.sun.com/xml/ns/javaee\\\"\\n\" +\n \" xmlns:xsi=\\\"http://www.w3.org/2001/XMLSchema-instance\\\"\\n\" +\n \" xsi:schemaLocation=\\\"http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/beans_1_0.xsd\\\">\\n\" +\n \"</beans>\";\n FileUtils.writeStringToFile(target, beansXML);\n\n }\n //we have to set a classloader here, because otherwise the bean discovery\n //would fail, weld uses a different method than owb for the discovery\n\n Thread.currentThread().setContextClassLoader(new CDIThrowAwayClassloader(Thread.currentThread().getContextClassLoader()));\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "427362eb6179bf8c88914013ed5a0d81", "score": "0.5652842", "text": "WebAppInterface(Context c) {\n mContext = c;\n }", "title": "" }, { "docid": "427362eb6179bf8c88914013ed5a0d81", "score": "0.5652842", "text": "WebAppInterface(Context c) {\n mContext = c;\n }", "title": "" }, { "docid": "7e7e0c5fafa91edbad2aa952eab8c559", "score": "0.56488633", "text": "public static void initialize(Context context) {\n initialize(context, Config.newBuilder(context).build());\n }", "title": "" }, { "docid": "50f990499025974fc4ce36700a6272ba", "score": "0.5644387", "text": "public void onStartup(ServletContext servletContext) throws ServletException {\n\t\tlog.debug(\"WebApplicationInitializer started...\");\n\t\tAnnotationConfigWebApplicationContext rootContext = new AnnotationConfigWebApplicationContext();\n\t\t\t\t\n\t\t // Manage the lifecycle of the root application context\n\t servletContext.addListener(new ContextLoaderListener(rootContext));\n\t servletContext.setInitParameter(\"contextConfigLocation\", \"<NONE>\");\n\t \n\t \n\t rootContext.register(DBConfig.class);\n\t rootContext.register(WebConfig.class);\t \n\t \n\t\trootContext.setServletContext(servletContext);\n\t\t\t\t\t\t\n\t\tlog.debug(\"Starting Dispatcher Servlet.....\");\n\t\tServletRegistration.Dynamic servlet = servletContext.addServlet(\"dispatcher\", new DispatcherServlet(rootContext));\n\t\tservlet.setLoadOnStartup(1);\n\t\tservlet.addMapping(\"/\");\n\t\tservlet.setMultipartConfig(new MultipartConfigElement(\"/img\", 1024*1024*5, 1024*1024*5*5, 1024*1024));\n\t\tlog.debug(\"Started Dispatcher Servlet.....\");\n\t\t\t\n\t\tregisterSitemeshFilter(servletContext);\n\t \n\t}", "title": "" }, { "docid": "ad9dc51f30ff5287eef32108e7ad08b6", "score": "0.5642746", "text": "public void init(ServletConfig config) throws ServletException {\n\t\tsuper.init();\n\t\tuserDataMan = new UserDataManager();\n\t\tuserDataMan.setDbUrl(config.getInitParameter(\"dbUrl\"));\n\t\tuserDataMan.setDbUser(config.getInitParameter(\"dbUser\"));\n\t\tuserDataMan.setDbPass(config.getInitParameter(\"dbPass\"));\n\t\ttry {\n\t\t\tClass.forName(config.getInitParameter(\"jdbcDriver\"));\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "75f79ae443a88dfcdfb7ab11b92f24cd", "score": "0.5638951", "text": "@Override\r\n public void init() throws ServletException {\n DAOFactory daoFactory = (DAOFactory) super.getServletContext().getAttribute(\"daoFactory\");\r\n if (daoFactory == null) {\r\n throw new ServletException(\"Impossible to get dao factory for user storage system\");\r\n }\r\n //assegna a userdao la connessione(costruttore) e salva la connessione in una variabile tipo Connection\r\n userdao = new JDBCUserDAO(daoFactory.getConnection());\r\n }", "title": "" }, { "docid": "4a55fdbce29964744346432ecee1f1ad", "score": "0.56296724", "text": "public void init() throws ServletException {\n }", "title": "" }, { "docid": "4a55fdbce29964744346432ecee1f1ad", "score": "0.56296724", "text": "public void init() throws ServletException {\n }", "title": "" }, { "docid": "75f750f591636d9f3c27444676e3dcf1", "score": "0.5622701", "text": "public static synchronized AppServiceHelperImpl getInstance(Context context) {\n if (instance == null) {\n instance = new AppServiceHelperImpl(context);\n }\n return instance;\n }", "title": "" }, { "docid": "d285ee202644a21a66c20b7922bfe075", "score": "0.56197184", "text": "@Override\n\tpublic void setServletContext(ServletContext arg0) {\n\t\t\n\t}", "title": "" } ]
48dc6e6533888a75da5caa0d62baaef4
glory runnerup group mode
[ { "docid": "fb2d616ab014e6b19a4992ebc244f420", "score": "0.7073958", "text": "public static int getGloryRunnerupGroupMode() {\n return getInt(\"key_glory_runnerup_group_mode\", AppConstants.GROUP_BY_ALL);\n }", "title": "" } ]
[ { "docid": "a8ba1fb1bdf57152dc7e465e8c4073e9", "score": "0.7202559", "text": "public static void setGloryRunnerupGroupMode(int mode) {\n setInt(\"key_glory_runnerup_group_mode\", mode);\n }", "title": "" }, { "docid": "11349916f24609ca001370aae8fd5ebd", "score": "0.6191267", "text": "@Test(groups= {\"Apple\"})\r\n\tpublic void apple1() {\r\n\t\tSystem.out.println(\"Apple Testing\");\r\n\t}", "title": "" }, { "docid": "afc8fc1db1962a88efa8be80fbb7a541", "score": "0.61535335", "text": "void nextGroup();", "title": "" }, { "docid": "5e122ed38a7efd5198e3482cd635900a", "score": "0.6103425", "text": "@BeforeGroups\n public static void beforeGroupsTest() {\n System.out.println(\"In beforeGroupsTest\\n\");\n }", "title": "" }, { "docid": "18d4a18cc8b1aeee86e7b2b6c6b3ce14", "score": "0.60607", "text": "@AfterGroups\n public static void afterGroupsTest() {\n System.out.println(\"In afterGroupsTest\\n\");\n }", "title": "" }, { "docid": "67a03c2c83cbe7e1c4a50bea5e45036f", "score": "0.60259014", "text": "private List<Future<Void>> runGroup(RunnerGroup group) {\n if (group.isParallel()) {\n return runParallelGroup(group);\n }\n else {\n return runSequentialGroup(group);\n }\n }", "title": "" }, { "docid": "b5bef74b8b80075a6f28bd6516250a6b", "score": "0.5908892", "text": "public WorldCupGroup(String groupName)\n {\n win=3;\n draw=1;\n goalScored=0.1;\n name = groupName;\n teams = new ArrayList<WorldCupTeam>();\n \n }", "title": "" }, { "docid": "1287654065822652a890b3cd2fa950eb", "score": "0.5836137", "text": "public void createGroup(){\n\t}", "title": "" }, { "docid": "9da81c7cf4c57f031c70aa56e7b34251", "score": "0.5808939", "text": "@Test\n public void testGetGroup1() {\n GradleTask instance = new GradleTask(\":run\", \"application\", \"run\", \"\");\n String expResult = \"application\";\n String result = instance.getGroup();\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "994c38c22df99a05ad4359a4febcb6b4", "score": "0.5807264", "text": "boolean isGroup();", "title": "" }, { "docid": "994c38c22df99a05ad4359a4febcb6b4", "score": "0.5807264", "text": "boolean isGroup();", "title": "" }, { "docid": "b355a1570e869249f9cee63843007a7d", "score": "0.5747314", "text": "@Test\r\n\tpublic void sampleGroupTestEight() {\r\n\r\n\t\tSystem.out.println(\"It's in Sample Test 08\");\r\n\r\n\t}", "title": "" }, { "docid": "ea1b71e497642391d83af21a31f497e9", "score": "0.5727778", "text": "public void setGroup(String group) { \n }", "title": "" }, { "docid": "5ee15b1d593465745c17977afa27d27c", "score": "0.5712378", "text": "Group createGroup();", "title": "" }, { "docid": "4791d6a4d4923a69f0c4cce840cad2e1", "score": "0.5691575", "text": "@Test\n\tpublic void groupPostTest() {\n\t}", "title": "" }, { "docid": "6e3687c778feab9db4b9444f776c7e4a", "score": "0.5671054", "text": "@AfterGroups({\"Smoke\"})\n\t@Test\n\tpublic void test3() {\n\n\t}", "title": "" }, { "docid": "ce5d364399bdd8699e66d309dc768915", "score": "0.56624705", "text": "private void registTaskGroup(SandBoxContext sandBox, String url) {\n \r\n }", "title": "" }, { "docid": "28733dc2187bf6a1198e54737ac6e74e", "score": "0.56601304", "text": "public AutonomousCommandGroup() {\r\n addSequential(new AutoAimAndShootCommandGroup(5, 5, true));\r\n addSequential(new PyramidTowardsFeederCommand());\r\n }", "title": "" }, { "docid": "bce7138b7662e45a820fdad47b55fd08", "score": "0.56246173", "text": "@Test\n public void testGetGroup2() {\n GradleTask instance = new GradleTask(\":run\", null, \"run\", \"\");\n String expResult = GradleBaseProject.PRIVATE_TASK_GROUP;\n String result = instance.getGroup();\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "a7be216c269328681f137c6ba94d8b8a", "score": "0.5613397", "text": "@Test( priority = 1 )\n\t\tpublic void addGroupSpecial() throws Exception {\n\t\t\tReporter.log(\"exeuting testcase ****addGroupSpecial() ***** Test Rail id:C2131...\",true);\n\t\t\tSystem.out.println(\"exeuting testcase ****addGroupSpecial() ***** ...\");\n\t\t\t//String uri =suiteData.getReferer()+\"admin/group/ng/add/\";\n\t\t\tString payload =\"{\\\"group\\\":{\\\"name\\\":\\\"Blr##$$\\\",\\\"description\\\":\\\"testgrp\\\",\\\"is_active\\\":true,\\\"notes\\\":\\\"testgrp\\\"}}\";\n\t\t\t//String payload=\"{\\\"user\\\":{\\\"first_name\\\":\\\"raj1\\\",\\\"last_name\\\":\\\"raj1\\\",\\\"email\\\":\\\"[email protected]\\\",\\\"secondary_user_id\\\":\\\"\\\",\\\"password\\\":\\\"\\\",\\\"title\\\":\\\"\\\",\\\"work_phone\\\":\\\"\\\",\\\"cell_phone\\\":\\\"\\\",\\\"access_profiles\\\":[],\\\"is_admin\\\":true,\\\"is_active\\\":true,\\\"notes\\\":\\\"\\\",\\\"is_dpo\\\":false}}\";\n//\t\t\tURI dataUri = ClientUtil.BuidURI(uri);\n//\t\t\tReporter.log(\"Request Method type: POST\",true);\n//\t\t\tReporter.log(\"Request API :\"+dataUri,true);\n\t\t\tHttpResponse response = Infractions.createGroup(suiteData, headers, payload);// restClient.doPost(dataUri, headers, null, new StringEntity(payload));\n\t\t\tString responseBody = ClientUtil.getResponseBody(response);\n\t\t\tassertEquals(response.getStatusLine().getStatusCode(),HttpStatus.SC_OK, \"Response code verification failed\");\n\t\t\tReporter.log(\"** addGroupSpecial** Response: \",response.getStatusLine().getStatusCode(),true);\n\t\t\tSystem.out.println(\"** addGroupSpecial ** Response: \"+response.getStatusLine().getStatusCode());\n\t\t\tReporter.log(\"Expected status : \"+HttpStatus.SC_OK,true);\n\t\t\tReporter.log(\"Actual status :\"+response.getStatusLine().getStatusCode(),true);\n\t\t\tReporter.log(\"Testcase execution Completed \",true);\n\t\t\t \n\n\t\t\t\n\t\t}", "title": "" }, { "docid": "03387afb0f65548c1d8a4ad30315dc4c", "score": "0.5586495", "text": "@Test(groups = { \"Smoke\" })\n\tpublic void test1() {\n\t\tSystem.out.println(\"This is Smoke Test\");\n\n\t}", "title": "" }, { "docid": "617f4415f3922c54926c63a395141724", "score": "0.5580188", "text": "public void setGroup(String group);", "title": "" }, { "docid": "47dc96dab1b6d85b58aa8096390d4023", "score": "0.55532974", "text": "void addRider(Context context, Group g, String netid);", "title": "" }, { "docid": "7f500bee0bcde2b8a525dd2bbef2ef74", "score": "0.5552682", "text": "TaskGroup createTaskGroup();", "title": "" }, { "docid": "6ef6af6694f8ba57ffa649f797317b5d", "score": "0.55208576", "text": "@java.lang.Override\n public boolean hasGroup() {\n return scopeCase_ == 3;\n }", "title": "" }, { "docid": "98003db5c998a2c27556e8826a5453ef", "score": "0.55112684", "text": "public abstract void grouping();", "title": "" }, { "docid": "e57c6e43c5eacdfab88722b7dda16305", "score": "0.55035424", "text": "protected boolean showGroups() {\r\n return true;\r\n }", "title": "" }, { "docid": "95d2990d9e52889a508f914e39ef76eb", "score": "0.5501536", "text": "public boolean hasGroup();", "title": "" }, { "docid": "3d0c06178c6db27f5d1a1c7e25ba5928", "score": "0.54807574", "text": "@java.lang.Override\n public boolean hasGroup() {\n return scopeCase_ == 3;\n }", "title": "" }, { "docid": "0a3db1112b06b2a2cc6cbc4014bf8bbd", "score": "0.5464695", "text": "@Test( priority = 1 )\n\t\tpublic void addInactiveGroup() throws Exception {\n\t\t\tReporter.log(\"exeuting testcase ****addGroup() ***** ...\",true);\n\t\t\tSystem.out.println(\"exeuting testcase ****addGroup() ***** ...\");\n\t\t\t//String uri =suiteData.getReferer()+\"admin/group/ng/add/\";\n\t\t\tString payload =InfraConstants.GROUP_PL;\n\t\t\t//String payload=\"{\\\"user\\\":{\\\"first_name\\\":\\\"raj1\\\",\\\"last_name\\\":\\\"raj1\\\",\\\"email\\\":\\\"[email protected]\\\",\\\"secondary_user_id\\\":\\\"\\\",\\\"password\\\":\\\"\\\",\\\"title\\\":\\\"\\\",\\\"work_phone\\\":\\\"\\\",\\\"cell_phone\\\":\\\"\\\",\\\"access_profiles\\\":[],\\\"is_admin\\\":true,\\\"is_active\\\":true,\\\"notes\\\":\\\"\\\",\\\"is_dpo\\\":false}}\";\n\t\t\t\n\t\t\t//URI dataUri = ClientUtil.BuidURI(suiteData.getScheme(), suiteData.getHost(), \"/admin/group/ng/add/\");//BuidURI(uri);\n\t\t\t//Reporter.log(\"Request Method type: POST\",true);\n\t\t\t//Reporter.log(\"Request API :\"+dataUri,true);\n\t\t\tHttpResponse response = Infractions.createGroup(suiteData, headers, payload);//restClient.doPost(dataUri, headers, null, new StringEntity(payload));\n\t\t\tString responseBody = ClientUtil.getResponseBody(response);\n\t\t\tassertEquals(response.getStatusLine().getStatusCode(),HttpStatus.SC_OK, \"Response code verification failed\");\n\t\t\tReporter.log(\"** addGroup** Response: \",response.getStatusLine().getStatusCode(),true);\n\t\t\tReporter.log(\"** addGroup** Response: \"+responseBody,true);\n\t\t\t\n\t\t\tSystem.out.println(\"** addGroup ** Response: \"+response.getStatusLine().getStatusCode());\n\t\t\t\n\t\t}", "title": "" }, { "docid": "45466b70c867ad6d3bbf4fa86fd35789", "score": "0.5463629", "text": "@Test(groups = { \"regression\" })\n\t\n\tpublic void test2() {\n\t\tSystem.out.println(\"This is Regression Test \");\n\n\t}", "title": "" }, { "docid": "8820cca03619f77bbf45029aeae56e6a", "score": "0.54602635", "text": "public boolean isGroup() {\n return false;\n }", "title": "" }, { "docid": "a860118330674801abf5f5562d06530b", "score": "0.54592377", "text": "@Test\n public void testDumpGroupNoMonitorNoSecondary() {\n dumpGroup();\n }", "title": "" }, { "docid": "88220d227eaf978c06fb3e22b10a6528", "score": "0.54577863", "text": "public boolean isInGroup() {return inGroup;}", "title": "" }, { "docid": "6f05f16fbda62fe466a07f224a7fc90b", "score": "0.5448349", "text": "private List<Future<Void>> runParallelGroup(RunnerGroup group) {\n if (group.isEmpty()) {\n listenerRegistry.fireStartingTestGroup(group);\n listenerRegistry.fireFinishedTestGroup(group);\n return new ArrayList<Future<Void>>();\n }\n else {\n ArrayList<Future<Void>> futures = new ArrayList<Future<Void>>();\n for (RunnerNode childNode : group.getChildren()) {\n if (childNode instanceof RunnerGroup) {\n futures.addAll(runGroup((RunnerGroup) childNode));\n }\n else if (childNode instanceof RunnerLeaf) {\n futures.add(submitParallelLeaf((RunnerLeaf) childNode));\n }\n else {\n throw new TechnicalException(\"Not a supported RunnerNode: \" + childNode.getClass());\n }\n }\n return futures;\n }\n }", "title": "" }, { "docid": "2b14dce5ca6ab204b835ade8e5e811d0", "score": "0.54462415", "text": "public static void main(String[] args) {\n\t\tTG1 runnable = new TG1();\n\t\t//Create an object of ThreadGroup class with name as constructor argument.\n\t\tThreadGroup tg = new ThreadGroup(\"Parent thread group\");\n\t\t\n\t\t//Then create a thread class object and using its constructor group the thread into a thread group with name \"XYZ\".\n\t\tThread t1 = new Thread(tg,runnable,\"one\");\n\t\tt1.start();\n\t\t\n\t\tThread t2 = new Thread(tg,runnable,\"two\");\n\t\tt2.start();\n\t\t\n\t\tThread t3 = new Thread(tg,runnable,\"three\");\n\t\tt3.start();\n\t\t\n\t\tSystem.out.println(\"Thread group name: \"+tg.getName());\n\t\ttg.list();\n\t\tSystem.out.println(\"Active count: \"+tg.activeCount());\n\t\t\n\t}", "title": "" }, { "docid": "1930b272a7e3c7a8f23a56b7cd2639e1", "score": "0.5437163", "text": "public void run() {\n\t\t\t\tupdateGroup();\r\n\t\t\t}", "title": "" }, { "docid": "a9af20842ebb40ad7bb289372231113e", "score": "0.54284656", "text": "public String updateGroup();", "title": "" }, { "docid": "29b23406235c7855914853c6ba9fcfa7", "score": "0.5393464", "text": "int saveBenchmarkGroup(BenchmarkGroup group);", "title": "" }, { "docid": "f6518ce199ed91259ec5a8154325833b", "score": "0.53844196", "text": "public static void main(String[] args) {\n QuackingGroup[] ducks = {\r\n new MallardDuck(new Quack(), new FlyWithWings()),\r\n new RubberDuck(new Squeak())\r\n };\r\n \r\n for(QuackingGroup duck : ducks) {\r\n duck.quack();\r\n duck.display();\r\n } \r\n \r\n // Ducks that can Fly\r\n FlyingGroup[] ducks2 = {\r\n new MallardDuck(new Quack(), new FlyWithWings()),\r\n //new MuteMallardDuck(new FlyWithWings())\r\n };\r\n \r\n for(FlyingGroup duck : ducks2) {\r\n duck.fly();\r\n duck.display();\r\n } \r\n \r\n // Ducks that can Fly and Quack\r\n FlyAndQuackGroup[] ducks3 = {\r\n new MallardDuck(new Quack(), new FlyWithWings()),\r\n //new RedHeadedDuck(new Quack(), new FlyWithWings())\r\n };\r\n \r\n for(FlyAndQuackGroup duck : ducks3) {\r\n duck.fly();\r\n duck.quack();\r\n duck.display();\r\n } \r\n \r\n // Ducks that are just, well Ducks (can display)\r\n DuckGroup[] ducks4 = {\r\n new MallardDuck(new Quack(), new FlyWithWings()),\r\n //new RedHeadedDuck(new Quack(), new FlyWithWings()),\r\n new RubberDuck(new Squeak()),\r\n //new MuteMallardDuck(new FlyRocketPowered()),\r\n new ModelDuck()\r\n };\r\n \r\n for(DuckGroup duck : ducks4) {\r\n duck.display();\r\n } \r\n \r\n\t}", "title": "" }, { "docid": "828e1af59da5fbdb8b2085bf2c188b24", "score": "0.53806955", "text": "public void setGroup(Group group);", "title": "" }, { "docid": "b32b77b1bef78228852e4e90ad4167f0", "score": "0.5367293", "text": "interface WithGroup extends GroupableResource.DefinitionStages.WithGroup<WithCreate> {\n }", "title": "" }, { "docid": "f26ea908377bee0b80a95f76a2a305c9", "score": "0.53563297", "text": "void switchToGroup() {\r\n if (LOADING_PERCENTAGE == -1) {\r\n groupPanel.resetScroll();\r\n cardLayoutManager.show(this, \"group\");\r\n }\r\n }", "title": "" }, { "docid": "db4d9248f6879a664d4e3e35fc98f518", "score": "0.5355639", "text": "interface WithGroup extends GroupableResourceCore.DefinitionStages.WithGroup<WithCreate> {\n }", "title": "" }, { "docid": "db4d9248f6879a664d4e3e35fc98f518", "score": "0.5355639", "text": "interface WithGroup extends GroupableResourceCore.DefinitionStages.WithGroup<WithCreate> {\n }", "title": "" }, { "docid": "ee8aee91e5ee7a716116ab195416634c", "score": "0.5354551", "text": "public static void main(String[] args) {\n\t\tSystem.out.println(Thread.currentThread().getThreadGroup().getName());\n\n\t\t// for every thread system threadgroup is a parent thread group either directly or indirectly.\n\t\tSystem.out.println(Thread.currentThread().getThreadGroup().getParent().getName());\n\n\t\t// constructor to create a threadgroup.\n\t\tThreadGroup g1 = new ThreadGroup(\"first threadgroup \");\n\n\t\t// by default the parent threadgroup is the executing thread threadgroup.\n\t\tSystem.out.println(g1.getParent().getName());\n\n\t\t// we can explicitly define the parentThreadGroup of creating threadgroup.\n\t\tThreadGroup g2 = new ThreadGroup(g1, \"first threadgroup \");\n\t\tSystem.out.println(g2.getParent().getName());\n\t}", "title": "" }, { "docid": "22e20bb0d5c139887cdf5f23e613d3fc", "score": "0.53385615", "text": "private void addToCorrectThreadGroup(ThreadContext context) {\n IRubyObject group = context.getThread().group();\n if (!group.isNil()) {\n ((RubyThreadGroup) group).addDirectly(this);\n } else {\n context.getRuntime().getDefaultThreadGroup().addDirectly(this);\n }\n }", "title": "" }, { "docid": "95300157f4f1a7bf28ae8676e2e9f7e5", "score": "0.5335643", "text": "@Test public void testMpp9Groups() throws Exception\n {\n ProjectFile mpp = new MPPReader().read(MpxjTestData.filePath(\"mpp9group.mpp\"));\n testGroups(mpp);\n }", "title": "" }, { "docid": "5113c7e99e0e652883b5af64deca37b3", "score": "0.53354436", "text": "public static void setGloryChampionGroupMode(int mode) {\n setInt(\"key_glory_champion_group_mode\", mode);\n }", "title": "" }, { "docid": "30f121ca79f1636b8a33fa20a3ef6604", "score": "0.53297246", "text": "public void setGroup(String group) {\n this.group = group;\n }", "title": "" }, { "docid": "35cdefd30622c55f49d16f5cfe7608b9", "score": "0.5299443", "text": "@Test( priority = 1 )\n\t\tpublic void addGroupMaxChar() throws Exception {\n\t\t\tReporter.log(\"exeuting testcase ****addGroupSpecial() ***** Test Rail id :C2133...\",true);\n\t\t\tSystem.out.println(\"exeuting testcase ****addGroupSpecial() ***** ...\");\n\t\t\tString uri =suiteData.getReferer()+\"/admin/group/ng/add/\";\n\t\t\tString payload =\"{\\\"group\\\":{\\\"name\\\":\\\"BlrTestGroupforMaxCharacterLenthTestBlrTestGroupforMaxCharacterLenthTest\\\",\\\"description\\\":\\\"testgrp\\\",\\\"is_active\\\":true,\\\"notes\\\":\\\"testgrp\\\"}}\";\n\t\t\t//String payload=\"{\\\"user\\\":{\\\"first_name\\\":\\\"raj1\\\",\\\"last_name\\\":\\\"raj1\\\",\\\"email\\\":\\\"[email protected]\\\",\\\"secondary_user_id\\\":\\\"\\\",\\\"password\\\":\\\"\\\",\\\"title\\\":\\\"\\\",\\\"work_phone\\\":\\\"\\\",\\\"cell_phone\\\":\\\"\\\",\\\"access_profiles\\\":[],\\\"is_admin\\\":true,\\\"is_active\\\":true,\\\"notes\\\":\\\"\\\",\\\"is_dpo\\\":false}}\";\n\t\t\tSystem.out.println(\" ## uri reques :\" + uri );\n\t\t\tURI dataUri = ClientUtil.BuidURI(uri);\n\t\t\tReporter.log(\"Request Method type: POST\",true);\n\t\t\tReporter.log(\"Request API :\"+dataUri,true);\n\t\t\tHttpResponse response = Infractions.createGroup(suiteData, headers, payload);//restClient.doPost(dataUri, headers, null, new StringEntity(payload));\n\t\t\tString responseBody = ClientUtil.getResponseBody(response);\n\t\t\tassertEquals(response.getStatusLine().getStatusCode(),HttpStatus.SC_OK, \"Response code verification failed\");\n\t\t\tReporter.log(\"** addGroupSpecial** Response: \",response.getStatusLine().getStatusCode(),true);\n\t\t\tSystem.out.println(\"** addGroupSpecial ** Response: \"+response.getStatusLine().getStatusCode());\n\t\t\tReporter.log(\"Expected result :200\"+false,true);\n\t\t\tReporter.log(\"Actual result :\"+HttpStatus.SC_OK,true);\n\t\t\tReporter.log(\"Testcase execution Completed \",true);\n\t\t\t\n\t\t\t \n\t\t\t\n\t\t}", "title": "" }, { "docid": "b66042699e6c2ddbfbd14130835f6f75", "score": "0.5297426", "text": "Group getGroup();", "title": "" }, { "docid": "7d74f57cfd886b0e649cd7469df3166f", "score": "0.5291307", "text": "@Override\n\tpublic void updateGroup(Group group) {\n\t\t\n\t}", "title": "" }, { "docid": "397c200350cb5f68ecdd0fb46053f72d", "score": "0.528912", "text": "@Override\n protected void createGroup(Composite parent) {\n\n Group group = new Group(parent, SWT.SHADOW_ETCHED_IN);\n // Layout has 4 columns of non-equal size\n group.setLayout(new GridLayout());\n group.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));\n group.setFont(parent.getFont());\n group.setText(\"Sencha\");\n \n // Check box for choosing to include Sencha Touch\n\n mSenchaCheck = new Button(group, SWT.CHECK);\n mSenchaCheck.setText(\"Include Sencha Touch libraries in project\");\n mSenchaCheck.setSelection(AndroidPgProjectCreationPage.sSenchaCheck);\n mSenchaCheck.setToolTipText(\"Check to use Sencha Touch mobile JavaScript framework\\n\"\n + \"Note, you must already have downloaded Sencha Touch separately\\n\"\n + \"See http://www.sencha.com/products/touch for more details\");\n\n SelectionListener senchaListener = new SelectionAdapter() {\n @Override\n public void widgetSelected(SelectionEvent e) {\n super.widgetSelected(e);\n enableSenchaWidgets(true);\n validate();\n }\n };\n mSenchaCheck.addSelectionListener(senchaListener);\n \n // Directory chooser for local Sencha installation\n\n Composite sencha_group = new Composite(group, SWT.NONE);\n sencha_group.setLayout(new GridLayout(3, /* num columns */\n false /* columns of not equal size */));\n sencha_group.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));\n sencha_group.setFont(parent.getFont());\n\n mSenchaLabel = new Label(sencha_group, SWT.NONE);\n mSenchaLabel.setText(\"Sencha Install Location:\");\n\n mSenchaPathField = new Text(sencha_group, SWT.BORDER);\n mSenchaPathField.setText(getStaticSave());\n mBrowseButton = setupDirectoryBrowse(mSenchaPathField, parent, sencha_group);\n \n // Check box to seed project with Sencha Kitchen Sink app.\n // This should eventually be a scroll box like the Android sample seeder, \n // But many of the other Sencha examples specific to tablets.\n \n mSenchaKitchenSink = new Button(group, SWT.CHECK);\n mSenchaKitchenSink.setText(\"Create project with Sencha Touch Kitchen Sink app\");\n mSenchaKitchenSink.setSelection(false);\n mSenchaKitchenSink.setToolTipText(\"Checking this project will create an Android\"\n + \" kitchen sink app populated from your Sencha installaion\");\n \n /**\n * Enables the Contents section based on the Kitchen Sink checkbox\n * Contents isn't needed if we're making a Sencha Kitchen Sink\n */\n\n SelectionListener senchaKsListener = new SelectionAdapter() {\n @Override\n public void widgetSelected(SelectionEvent e) {\n super.widgetSelected(e);\n mWizardPage.mContentsSection.setVisible(!mSenchaKitchenSink.getSelection());\n mWizardPage.validatePageComplete();\n }\n };\n mSenchaKitchenSink.addSelectionListener(senchaKsListener);\n \n enableSenchaWidgets(false); // to get the visibility and initial settings\n }", "title": "" }, { "docid": "ddaa31f687d7150f5aed6a0cdb797e41", "score": "0.52872103", "text": "@Test( priority = 1 )\n\t\tpublic void addDuplicategroup() throws Exception {\n\t\t\tReporter.log(\"exeuting testcase ****addDuplicategroup() ***** Test Rail id :C2167...\",true);\n\t\t\tSystem.out.println(\"exeuting testcase ****addDuplicategroup() ***** ...\");\n\t\t\t//String uri =suiteData.getReferer()+\"admin/group/ng/add/\";\n\t\t\tString payload =\"{\\\"group\\\":{\\\"name\\\":\\\"Blr\\\",\\\"description\\\":\\\"testgrp\\\",\\\"is_active\\\":true,\\\"notes\\\":\\\"testgrp\\\"}}\";\n\t\t\t//String payload=\"{\\\"user\\\":{\\\"first_name\\\":\\\"raj1\\\",\\\"last_name\\\":\\\"raj1\\\",\\\"email\\\":\\\"[email protected]\\\",\\\"secondary_user_id\\\":\\\"\\\",\\\"password\\\":\\\"\\\",\\\"title\\\":\\\"\\\",\\\"work_phone\\\":\\\"\\\",\\\"cell_phone\\\":\\\"\\\",\\\"access_profiles\\\":[],\\\"is_admin\\\":true,\\\"is_active\\\":true,\\\"notes\\\":\\\"\\\",\\\"is_dpo\\\":false}}\";\n//\t\t\tURI dataUri = ClientUtil.BuidURI(uri);\n//\t\t\tReporter.log(\"Request Method type: POST\",true);\n//\t\t\tReporter.log(\"Request API :\"+dataUri,true);\n\t\t\tHttpResponse response = Infractions.createGroup(suiteData, headers, payload);// restClient.doPost(dataUri, headers, null, new StringEntity(payload));\n\t\t\tString responseBody = ClientUtil.getResponseBody(response);\n\t\t\tassertEquals(response.getStatusLine().getStatusCode(),HttpStatus.SC_OK, \"Response code verification failed\");\n\t\t\t//assertEquals(200, response.getStatusLine().getStatusCode(), \"Response code verification failed\");\n\t\t\tReporter.log(\"** addDuplicategroup** Response: \",response.getStatusLine().getStatusCode(),true);\n\t\t\tSystem.out.println(\"** addDuplicategroup ** Response: \"+response.getStatusLine().getStatusCode());\n\t\t\tReporter.log(\"Expected result :200\"+false,true);\n\t\t\tReporter.log(\"Actual result :\"+HttpStatus.SC_OK,true);\n\t\t\tReporter.log(\"Testcase execution Completed \",true);\n\t\t\t\n\t\t\t\n\t\t}", "title": "" }, { "docid": "99c35b7ef62ad62183c532d86ee6cee5", "score": "0.5282154", "text": "Collection<BenchmarkGroup> getAllGroups();", "title": "" }, { "docid": "edb5ad8197bb6f3075303dd919da56d0", "score": "0.52745616", "text": "@Override\n public void run() {\n this.log.info(\"Start\\tGroup Execution\\t\" + this.groupId);\n final File resultFile = FileUtil.newTempFile(\"group-\" + this.groupId, \".tsv\");\n try {\n final StopWatch groupStopWatch = new StopWatch(\"Group\");\n groupStopWatch.start();\n final Long moduleTime = this.groupIdMap.getLong(\"moduleTime\");\n this.businessApplication = this.scheduler.getBusinessApplication(this.log, this.moduleName,\n moduleTime, this.businessApplicationName);\n if (this.businessApplication == null) {\n Logs.error(this, \"Business application \" + this.moduleName + \".\"\n + this.businessApplicationName + \" is not loaded groupId=\" + this.groupId);\n this.scheduler.addFailedGroup(this.groupId);\n return;\n } else {\n try (\n FileOutputStream resultOut = new FileOutputStream(resultFile);\n final TsvWriter resultWriter = Tsv.plainWriter(resultOut);) {\n resultWriter.write(this.businessApplication.getResultFieldNames());\n this.businessApplication.setLogLevel(this.logLevel);\n this.module = this.businessApplication.getModule();\n if (this.businessApplication.isSecurityServiceRequired()) {\n final SecurityServiceFactory securityServiceFactory = this.scheduler\n .getSecurityServiceFactory();\n this.securityService = securityServiceFactory.getSecurityService(this.module,\n this.userId);\n }\n\n final RecordDefinition requestRecordDefinition = this.businessApplication\n .getRequestRecordDefinition();\n final MapEx applicationParameters = this.groupIdMap.getValue(\"applicationParameters\");\n\n for (final String name : requestRecordDefinition.getFieldNames()) {\n final Object value = applicationParameters.get(name);\n if (value != null) {\n try {\n final DataType dataType = requestRecordDefinition.getFieldType(name);\n final Object convertedValue = dataType.toObject(value);\n applicationParameters.put(name, convertedValue);\n } catch (final Throwable e) {\n addError(0, \"Invalid application parameter \" + name + \"=\" + value,\n \"BAD_INPUT_DATA_VALUE\", e);\n }\n }\n }\n final String groupPath = \"/worker/workers/\" + this.workerId + \"/jobs/\" + this.batchJobId\n + \"/groups/\" + this.groupId;\n try (\n CloseableHttpResponse groupInputResponse = this.httpClient.execute(groupPath)) {\n final HttpEntity entity = groupInputResponse.getEntity();\n try (\n InputStream requestIn = entity.getContent()) {\n try (\n MapReader requestReader = Tsv.mapReader(requestIn)) {\n for (final MapEx requestParameters : requestReader) {\n if (ThreadUtil.isInterrupted() || !this.module.isStarted()) {\n this.scheduler.addFailedGroup(this.groupId);\n return;\n }\n executeRequest(resultWriter, requestRecordDefinition, applicationParameters,\n requestParameters);\n }\n }\n }\n }\n }\n if (ThreadUtil.isInterrupted() || !this.module.isStarted()) {\n this.scheduler.addFailedGroup(this.groupId);\n return;\n }\n try {\n if (groupStopWatch.isRunning()) {\n groupStopWatch.stop();\n }\n } catch (final IllegalStateException e) {\n }\n final long groupExecutionTime = groupStopWatch.getTotalTimeMillis();\n\n final TsvWriter errorWriter = this.errorWriter;\n this.errorWriter = null;\n if (errorWriter != null) {\n try {\n errorWriter.close();\n final String errorPath = \"/worker/workers/\" + this.workerId + \"/jobs/\" + this.batchJobId\n + \"/groups/\" + this.groupId + \"/error\";\n final HttpResponse errorResponse = this.httpClient.postResource(errorPath,\n Tsv.MIME_TYPE, this.errorFile);\n try {\n final StatusLine statusLine = errorResponse.getStatusLine();\n if (statusLine.getStatusCode() != 200) {\n this.log.error(\"Error writing errors:\\nresponse=\" + statusLine + \"\\nerror=\"\n + FileUtil.getString(this.errorFile));\n this.scheduler.addFailedGroup(this.groupId);\n }\n } finally {\n HttpClientUtils.closeQuietly(errorResponse);\n }\n } finally {\n FileUtil.delete(this.errorFile);\n this.errorFile = null;\n }\n }\n if (resultFile.exists()) {\n final Map<String, Object> parameters = new HashMap<>();\n parameters.put(\"groupExecutedTime\", groupExecutionTime);\n parameters.put(\"applicationExecutedTime\", this.applicationExecutionTime);\n parameters.put(\"completedRequestRange\", this.successRequests.toString());\n parameters.put(\"failedRequestRange\", this.errorRequests.toString());\n final String path = \"/worker/workers/\" + this.workerId + \"/jobs/\" + this.batchJobId\n + \"/groups/\" + this.groupId + \"/results\";\n try (\n InputStream inputStream = new FileInputStream(resultFile)) {\n final HttpResponse response = this.httpClient.postResource(path, Tsv.MIME_TYPE,\n inputStream, parameters);\n HttpClientUtils.closeQuietly(response);\n\n }\n }\n }\n } catch (final Throwable e) {\n Logs.error(this, \"Error processing group \" + this.moduleName + \".\"\n + this.businessApplicationName + \" is not loaded groupId=\" + this.groupId, e);\n this.log.error(\"Unable to process group \" + this.groupId, e);\n this.scheduler.addFailedGroup(this.groupId);\n } finally {\n try {\n this.scheduler.removeExecutingGroupId(this.groupId);\n this.log.info(\"End\\tGroup execution\\t\" + this.groupId);\n FileUtil.delete(this.errorFile);\n final TsvWriter errorWriter = this.errorWriter;\n this.errorWriter = null;\n if (errorWriter != null) {\n errorWriter.close();\n }\n } finally {\n try {\n FileUtil.delete(this.errorFile);\n } finally {\n FileUtil.delete(resultFile);\n }\n }\n }\n }", "title": "" }, { "docid": "1e2aabda6735d3435ed37de8d3218cc6", "score": "0.52725106", "text": "public void setGroup(String group) {\r\n\t\tthis.group = group;\r\n\t}", "title": "" }, { "docid": "16aa2f643831fb10781893bb32ebd881", "score": "0.52681345", "text": "@Test\n public void testCreateGroup() {\n setup();\n\n //Make group\n HashMap in = new HashMap();\n in.put(\"name\", \"UnitTest\");\n Wrapper<HashMap> response = new GroupInteraction(user.getUsername()).createGroup(JSONObject.valueToString(in));\n //Check success\n Assert.assertTrue(response.getSucces());\n\n //Search group in database\n Query getGroup = new Query(Criteria.where(\"name\").is(\"UnitTest\"));\n Group group = mongoOperations.findOne(getGroup, Group.class, \"users\");\n //Check if exists\n Assert.assertTrue(group != null);\n //Check if teacher is correct\n Assert.assertTrue(group.getTeacher().equals(user.getId()));\n\n //update user\n setup();\n\n //check if groupid is added to user\n Assert.assertTrue(user.getGroups().contains(new ObjectId(group.getId())));\n\n //reset DB\n user.setGroups(new ArrayList<ObjectId>());\n mongoOperations.save(user, \"users\");\n mongoOperations.remove(group, \"users\");\n }", "title": "" }, { "docid": "5c54136211dcbb3c8f7ae15678528613", "score": "0.5265641", "text": "private void doGroup(ABB... abbs) {\n\n\n for (ABB abb : abbs) {\n if (set.contains(abb)) {\n return;\n }\n System.out.println(\"GROUP: adding \" + abb);\n set.add(abb);\n System.out.println(\"GROUP: resolving dependency\");\n ResolveDependency rd = new ResolveDependency(availableAbbs);\n HashSet<ABB> back = rd.resolve(abb); \n if (back != null) {\n // back contains the dependencies of the ABB. \n // for each dependency I apply the group\n\n System.out.println(\"GROUP: resolved \" + back.size() + \" dependencies\");\n\n set.addAll(back);\n\n Iterator<ABB> dependencyIterator = back.iterator();\n while (dependencyIterator.hasNext()) {\n ABB y = dependencyIterator.next();\n System.out.println(\"Resolved dependency \" + y + \" for ABB \" + abb);\n System.out.println(\"Evaluating quality attributes\");\n abb.getQualityAttributes().stream().forEach(x -> x.evaluate(abb, y));\n\n System.out.println(\"Recursively calling group(\" + abb.getName() + \",\" + y.getName() + \")\");\n doGroup(abb, y);\n }\n } else {\n System.out.println(\"GROUP: no dependencies resolved\");\n }\n\n\n\n\n }\n\n\n }", "title": "" }, { "docid": "cedbb7c24391fba9f96bfc76e06914fa", "score": "0.52520365", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n RP.post(new Runnable() {\n @Override\n public void run() {\n Group.setActiveGroup(g);\n }\n });\n }", "title": "" }, { "docid": "63a582843dda85dec5b294f9cb7e2b73", "score": "0.52211165", "text": "BenchmarkGroup getBenchmarkGroup(int id);", "title": "" }, { "docid": "e8d7f8a1dca35ec48ff9d41756f7b03e", "score": "0.52168983", "text": "@Test public void testMpp12Groups() throws Exception\n {\n ProjectFile mpp = new MPPReader().read(MpxjTestData.filePath(\"mpp12group.mpp\"));\n testGroups(mpp);\n }", "title": "" }, { "docid": "b4f40609dd404854ed77f7ba7494b1fb", "score": "0.5216241", "text": "private List<Future<Void>> runSequentialGroup(RunnerGroup group) {\n ArrayList<Future<Void>> futures = new ArrayList<Future<Void>>();\n Runnable groupRunnable = new SequentialGroupRunnable(group);\n Future<Void> future = submitSequentialNode(groupRunnable);\n futures.add(future);\n synchronized (sequentialTasks) {\n sequentialTasks.add(future);\n }\n return futures;\n }", "title": "" }, { "docid": "8b49ded74315bae31dbfedd6075b0c44", "score": "0.5206433", "text": "@Test public void testMpp14Groups() throws Exception\n {\n ProjectFile mpp = new MPPReader().read(MpxjTestData.filePath(\"mpp14group.mpp\"));\n testGroups(mpp);\n }", "title": "" }, { "docid": "a271e5c7e18c9e69e316a70a862f6756", "score": "0.5206127", "text": "public void setGroup(Integer group) {\n\t\tthis.group = group;\n\t}", "title": "" }, { "docid": "6c4df9ad714b920ee11259cf2fd1c298", "score": "0.5204053", "text": "public void addGroup(String group) {\n }", "title": "" }, { "docid": "03105e1a846bd37fcfdce9180f9ba50b", "score": "0.51935756", "text": "private void createSelectionGroup(Composite parent) {\n \t\tGroup selection = WidgetUtils.createFillingGroup(parent, Messages.PBSRMLaunchConfigGroup1_title, 3, 3, true);\n \t\tselection.setForeground(WidgetUtils.DKMG);\n \t\ttemplates = WidgetUtils.createItemCombo(selection, null, templateManager.findAvailableTemplates(), null, null, true,\n \t\t\t\ttemplateChangeListener, 2);\n \t\t((GridData) templates.getLayoutData()).widthHint = 200;\n \t\tviewScript = WidgetUtils.createButton(selection, Messages.PBSRMLaunchConfigViewScript_title, null, SWT.PUSH, 1, true,\n \t\t\t\tlistener);\n \t}", "title": "" }, { "docid": "d9a78ef5b8a5abeca191d206b051319c", "score": "0.5169264", "text": "private RPGGroup generateOpponent() {\n return new RPGGroup();\n }", "title": "" }, { "docid": "ed151c8595110168bb5aa0ca73d6e44e", "score": "0.51663303", "text": "@Test public void testMpp9GroupsFrom14() throws Exception\n {\n //ProjectFile mpp = new MPPReader().read(MpxjTestData.filePath(\"mpp9group-from14.mpp\"));\n //testGroups(mpp);\n }", "title": "" }, { "docid": "7f61cf6e1beb580d9dff1c1be1af435a", "score": "0.5154038", "text": "private void runCustomMode(){\n //A mode that allows the user to tweak certain aspects of the game such as chance to find events, new equipment,\n //ect\n }", "title": "" }, { "docid": "1edfe9c08e5f77bc5b6166cc4157bf47", "score": "0.51451963", "text": "public void useGroupMaker(int groupSize, boolean guaranteeGroupSize, boolean balanceSkill, boolean randomize, boolean sequential) {\n GroupMaker groupMaker = new GroupMaker(groupSize, classlist);\n \n //Set GroupSizingStrategy\n if (guaranteeGroupSize) {\n groupMaker.setGss(new GSS1()); \n } \n else {\n groupMaker.setGss(new GSS2()); \n }\n \n //Set SkillBalancingStrategy\n if (balanceSkill) {\n groupMaker.setSbs(new SBS2()); \n }\n else if (randomize) {\n groupMaker.setSbs(new SBS4()); \n }\n else if (sequential) {\n groupMaker.setSbs(new SBS1()); \n }\n \n groupMaker.generateGroups();\n groupList = groupMaker.getGroupList(); \n }", "title": "" }, { "docid": "0042728cfd8fff87dd24f06547828106", "score": "0.51415294", "text": "@Test public void testMpp9GroupsFrom12() throws Exception\n {\n //ProjectFile mpp = new MPPReader().read(MpxjTestData.filePath(\"mpp9group-from12.mpp\"));\n //testGroups(mpp);\n }", "title": "" }, { "docid": "2dcd1541a01c1cb8f031b241b9170d2d", "score": "0.51322305", "text": "public void generateGroup(Exercise exercise) {\n _workoutExercises.addTo_group(exercise);\n }", "title": "" }, { "docid": "ba93215ecc78d1d176fb7b59b9fb0485", "score": "0.51271445", "text": "void openChooseGroup();", "title": "" }, { "docid": "fab62c032e76b3ad3556b413a8b07803", "score": "0.5125673", "text": "@Test\n public void testCreateGroup() throws Exception {\n mCreateGroup.runOnUiThread(new Runnable() {\n @Override\n public void run() {\n assertTrue(mCreateGroup.createGroup(\"Unit Test\", \"Cyberspace\", \"This is part of a unit test\", \"\"));\n }\n });\n }", "title": "" }, { "docid": "24aca5d1ddac5c06e6aaa46c9f9cdb02", "score": "0.5114773", "text": "protected abstract String getApiGroup();", "title": "" }, { "docid": "8c5dcf2865bf0c6f52050fb5a6804a48", "score": "0.51139027", "text": "public void setGroup(String group) {\n\t\tthis.group = group;\n\t}", "title": "" }, { "docid": "d80c021bdf2cfa284789aac9525075b8", "score": "0.5103662", "text": "private void addCurrentTravelrToChosenGroup() {\n }", "title": "" }, { "docid": "5095906b559a50ae5bbb4bf96aabd399", "score": "0.5103623", "text": "public static int getGloryChampionGroupMode() {\n return getInt(\"key_glory_champion_group_mode\", AppConstants.GROUP_BY_ALL);\n }", "title": "" }, { "docid": "227b4e97b4cba71a5e77df5862d69c93", "score": "0.50926113", "text": "public void addGroup(String groupname);", "title": "" }, { "docid": "880d575dd52b40be2ba5b31c26207274", "score": "0.50806415", "text": "@Override\r\n\tpublic void lockGroup(String tel) {\n\t\t\r\n\t}", "title": "" }, { "docid": "26ca5b89abd495e35d5a1fcf3b8cf575", "score": "0.5079758", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n RP.post(new Runnable() {\n @Override\n public void run() {\n Group.setActiveGroup(null);\n }\n });\n }", "title": "" }, { "docid": "8ace5df9db4ab0621c57fda1d557420d", "score": "0.50710654", "text": "@Test\n public void switchToEasyMode() {\n }", "title": "" }, { "docid": "9fdee93cc593f5db3b91a9bb493574ff", "score": "0.50681996", "text": "public synchronized Group openGroup (String groupname, String topic, User opener, User rUser) {\n if (Server.srv.MAX_GROUPNAME_LENGTH > 0 && groupname.length() > Server.srv.MAX_GROUPNAME_LENGTH)\n return null;\n if (isStartingGroup(groupname)\n && (!opener.hasRight(IUserStates.ROLE_VIP)\n || topic==null))\n topic = (String) startGroupThemes.get(groupname.trim().toLowerCase());\n \n boolean moderated = moderatedGroups.contains(groupname.trim().toLowerCase());\n\t if (moderated && !rUser.hasRight(IUserStates.MAY_OPEN_MODERATED_GROUP))\n\t\t\t\treturn null;\n\t Group g = getGroup(groupname);\n\t // if the group is already opened, try to add \n // the given user and return the group on success\n if (g != null) {\n return g.addUser(opener, rUser) ? g : null;\n }\n\t if (!rUser.hasRight (IUserStates.MAY_OPEN_GROUP) && opener.getGroup() != null) \n\t return null;\n\t if (opener != null)\n\t g = new Group (checkGproupname(groupname), topic, opener);\n\t else g = new Group (checkGproupname(groupname), topic, rUser);\n\t\t\n if (isStartingGroup(g.getRawName())) {\n g.setState(IGroupState.ENTRANCE);\n g.setState(IGroupState.CAN_SET_PUNISHABLE);\n } else {\n \t g.setState(IGroupState.ALLOW_USE_SMILEY);\n g.setState(IGroupState.ALLOW_USE_BBCODES);\n \t g.setState(IGroupState.SU_CAN_SETTHEME);\n }\n\t if (moderated)\n\t g.setState(IGroupState.MODERATED);\n StringBuffer sb = new StringBuffer (Server.BASE_PATH);\n sb.append (\"/grouppolicies/\");\n sb.append (groupname.toLowerCase());\n sb.append (\".properties\");\n File f = new File (sb.toString());\n if (f.exists()) {\n g = checkProperties (f, g, rUser);\n if (g == null)\n return null;\n }\n if (opener != null){\n if (opener.isUnregistered && g.hasState(IGroupState.NOT_ALLOW_JOIN_UNREG))\n return null;\n }\n if (!g.isMembershipRoom(opener))\n \treturn null;\n if (!g.addUser (opener))\n return null;\n\t\taddGroup (g);\n\t\treturn g;\n }", "title": "" }, { "docid": "4ba061e4bb5a9ff74377d0f7ba326125", "score": "0.50660336", "text": "public void setStaticgroup(boolean value) {\n this.staticgroup = value;\n }", "title": "" }, { "docid": "534e5da666c05ef99cbeb489c3725ff5", "score": "0.50650585", "text": "public EventLoopGroup group() {\n\t\treturn defaultGroup;\n\t}", "title": "" }, { "docid": "6028e165224528da4401b56502025a00", "score": "0.5064456", "text": "@Test\n void addAndRemoveGroup() {\n assertTrue(aclBuilder\n .reset()\n .addGroup(\"test\", \"write\")\n .buildAcl()\n .entryMap()\n .get(\"write\")\n .getGroups()\n .contains(\"test\"));\n assertFalse(aclBuilder\n .removeGroup(\"test\", \"write\")\n .buildAcl()\n .entryMap()\n .get(\"write\")\n .getGroups()\n .contains(\"test\"));\n }", "title": "" }, { "docid": "3382a124dbdf6d51ba7f95438a635485", "score": "0.5063772", "text": "public boolean isCreatingGroup() {return this.CreatingGroup;}", "title": "" }, { "docid": "8378ab952afd4f66ce2c3015e6bb7fc8", "score": "0.50619674", "text": "public GroupInstance(Group group) {\n\t\tthis.group = group;\n\t\t\n\t\tsequencer = new Sequencer(group);\n\t\tdataWarehouse = ServerDataWarehouse.getWarehouseForGroup(group);\n\t\tdataWarehouse.addInstructionEventListener(new InstructionEventListener() {\n\t\t\t@Override\n\t\t\tpublic void onDataSynchronisationInstruction(InstructionEvent event) {\n\t\t\t\tInstructionRelayMessage message = new InstructionRelayMessage(null);\n\t\t\t\tmessage.setData(event.getInstruction());\n\t\t\t\tsequencer.sendMessageToAll(message);\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic void onCommunicationStatusInstruction(InstructionEvent event) {\n\t\t\t\thandleCommunicationStatusInstruction((CommunicationStatusInstruction) event.getInstruction());\n\t\t\t}\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void onGroupStatusInstruction(InstructionEvent event) {}\n\t\t\t@Override\n\t\t\tpublic void onGroupInstruction(InstructionEvent event) {}\n\t\t\t@Override\n\t\t\tpublic void onGameInstruction(InstructionEvent event) {}\n\t\t\t@Override\n\t\t\tpublic void onDataTransferInstruction(InstructionEvent event) {}\n\t\t\t@Override\n\t\t\tpublic void onCharacterInteractionInstruction(InstructionEvent event) { }\n\t\t});\n\t\t\n\t\t// Add a sequencer event listener for local events\n\t\tsequencer.addSequencerEventListener(new MessageEventListener(){\n\t\t\tprivate boolean isMessageForServer(MessageEvent event) {\n\t\t\t\treturn event.getReceiverId().equals(\"SERVER\");\n\t\t\t}\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void onMessageEvent(MessageEvent event) {\n\t\t\t\tif (isMessageForServer(event)) {\n\t\t\t\t\t// TODO\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic void onGroupStatusMessageEvent(MessageEvent event) {\n\t\t\t\t// Group Status Messages are handled by the group instance manager\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic void onControlMessage(MessageEvent event) {\n\t\t\t\t// Control messages are handled by the group instance manager\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic void onInstructionRelayMessage(MessageEvent event) {\n\t\t\t\tif (isMessageForServer(event)) {\n\t\t\t\t\t// TODO\n\t\t\t\t\thandleInstruction((Instruction) event.getMessage().getData(), event.getMessage().getSenderId());\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic void onIdMessageEvent(MessageEvent event) {\n\t\t\t\t// group instance does not care about this...\n\t\t\t}\n\n\t\t});\n\t\t\n\t\t// Allow components to subscribe to instruction events\n\t\tinstructionEventListenerManager = new ListenerManager<InstructionEventListener, InstructionEvent>() {\n\t\t\t@Override\n\t\t\tprotected void eventHandlerHelper(InstructionEventListener listener, InstructionEvent event) {\n\t\t\t\t// Use the implementation by the listener\n\t\t\t\tInstructionEventListener.eventHandlerHelper(listener, event);\n\t\t\t}\n\t\t};\n\t\t\n\t}", "title": "" }, { "docid": "49c1b291b7b15a76873a7a5a8accbb38", "score": "0.5061128", "text": "public TaskGroup newTaskGroup(String title, Lecture lecture);", "title": "" }, { "docid": "dc349fd29a66d9e04e09edfa4cbe724f", "score": "0.5059168", "text": "synchronized void createMultiRaftGroup(Collection<RequestProcessor4CP> processors) {\n if (!this.isStarted) {\n this.processors.addAll(processors);\n return;\n }\n \n final String parentPath = Paths.get(EnvUtil.getNacosHome(), \"data/protocol/raft\").toString();\n \n for (RequestProcessor4CP processor : processors) {\n final String groupName = processor.group();\n if (multiRaftGroup.containsKey(groupName)) {\n throw new DuplicateRaftGroupException(groupName);\n }\n \n // Ensure that each Raft Group has its own configuration and NodeOptions\n Configuration configuration = conf.copy();\n NodeOptions copy = nodeOptions.copy();\n JRaftUtils.initDirectory(parentPath, groupName, copy);\n \n // Here, the LogProcessor is passed into StateMachine, and when the StateMachine\n // triggers onApply, the onApply of the LogProcessor is actually called\n NacosStateMachine machine = new NacosStateMachine(this, processor);\n \n copy.setFsm(machine);\n copy.setInitialConf(configuration);\n \n // Set snapshot interval, default 1800 seconds\n int doSnapshotInterval = ConvertUtils.toInt(raftConfig.getVal(RaftSysConstants.RAFT_SNAPSHOT_INTERVAL_SECS),\n RaftSysConstants.DEFAULT_RAFT_SNAPSHOT_INTERVAL_SECS);\n \n // If the business module does not implement a snapshot processor, cancel the snapshot\n doSnapshotInterval = CollectionUtils.isEmpty(processor.loadSnapshotOperate()) ? 0 : doSnapshotInterval;\n \n copy.setSnapshotIntervalSecs(doSnapshotInterval);\n Loggers.RAFT.info(\"create raft group : {}\", groupName);\n RaftGroupService raftGroupService = new RaftGroupService(groupName, localPeerId, copy, rpcServer, true);\n \n // Because BaseRpcServer has been started before, it is not allowed to start again here\n Node node = raftGroupService.start(false);\n machine.setNode(node);\n RouteTable.getInstance().updateConfiguration(groupName, configuration);\n \n RaftExecutor.executeByCommon(() -> registerSelfToCluster(groupName, localPeerId, configuration));\n \n // Turn on the leader auto refresh for this group\n Random random = new Random();\n long period = nodeOptions.getElectionTimeoutMs() + random.nextInt(5 * 1000);\n RaftExecutor.scheduleRaftMemberRefreshJob(() -> refreshRouteTable(groupName),\n nodeOptions.getElectionTimeoutMs(), period, TimeUnit.MILLISECONDS);\n multiRaftGroup.put(groupName, new RaftGroupTuple(node, processor, raftGroupService, machine));\n }\n }", "title": "" }, { "docid": "774ea101d2be2dd1faccf507eef7d73e", "score": "0.50536776", "text": "public boolean addGroup(String group);", "title": "" }, { "docid": "28f579a48b9cd75deac969cf0b393576", "score": "0.5052569", "text": "@Test\n public void testReplicationGroupAdmin()\n throws Exception {\n\n ReplicatedEnvironment master = RepTestUtils.joinGroup(repEnvInfo);\n\n final DataChannelFactory channelFactory =\n DataChannelFactoryBuilder.construct(\n RepTestUtils.readRepNetConfig());\n\n ReplicationGroupAdmin groupAdmin = new ReplicationGroupAdmin\n (RepTestUtils.TEST_REP_GROUP_NAME,\n master.getRepConfig().getHelperSockets(),\n channelFactory);\n\n /* Test the DbPing utility. */\n RepTestUtils.syncGroupToLastCommit(repEnvInfo, repEnvInfo.length);\n VLSN commitVLSN = repEnvInfo[0].getRepNode().getCurrentTxnEndVLSN();\n String groupName = groupAdmin.getGroupName();\n String masterName = groupAdmin.getMasterNodeName();\n\n Set<ReplicationNode> replicationNodes =\n groupAdmin.getGroup().getElectableNodes();\n for (ReplicationNode replicationNode : replicationNodes) {\n NodeState nodeState =\n groupAdmin.getNodeState(replicationNode, 10000);\n assertEquals(nodeState.getGroupName(), groupName);\n assertEquals(nodeState.getMasterName(), masterName);\n assertEquals(nodeState.getJEVersion(), JEVersion.CURRENT_VERSION);\n /* Check the values depends on the node state. */\n if (replicationNode.getName().equals(masterName)) {\n assertEquals(nodeState.getNodeState(), State.MASTER);\n assertEquals(nodeState.getActiveFeeders(),\n repEnvInfo.length - 1);\n assertEquals(nodeState.getKnownMasterTxnEndVLSN(), 0);\n } else {\n assertEquals(nodeState.getNodeState(), State.REPLICA);\n assertEquals(nodeState.getActiveFeeders(), 0);\n assertEquals(nodeState.getKnownMasterTxnEndVLSN(),\n commitVLSN.getSequence());\n }\n assertEquals(nodeState.getCurrentTxnEndVLSN(),\n commitVLSN.getSequence());\n assertEquals(nodeState.getLogVersion(), LogEntryType.LOG_VERSION);\n }\n\n /* Check the master name. */\n assertEquals(master.getNodeName(), groupAdmin.getMasterNodeName());\n\n /* Check the group information. */\n RepGroupImpl repGroupImpl = master.getGroup().getRepGroupImpl();\n assertEquals(repGroupImpl, groupAdmin.getGroup().getRepGroupImpl());\n\n /* Check the ensureMember utility, no monitors at the begining. */\n assertEquals(repGroupImpl.getMonitorMembers().size(), 0);\n\n openMonitor(master);\n\n /* Check the group information and monitor after insertion. */\n repGroupImpl = master.getGroup().getRepGroupImpl();\n assertEquals(repGroupImpl, groupAdmin.getGroup().getRepGroupImpl());\n assertEquals(repGroupImpl.getMonitorMembers().size(), 1);\n }", "title": "" }, { "docid": "b9293342d31af00ac0c99f2ac47cafae", "score": "0.50522834", "text": "private void createOptionalGroup(Composite parent, PBSBatchScriptTemplate template) {\n \t\tif (template == null)\n \t\t\treturn;\n \t\tboolean[] nonNull = new boolean[] { null != template.getMpiCommand(), null != template.getPrependedBashCommands(),\n \t\t\t\tnull != template.getPostpendedBashCommands() };\n \n \t\tif (!nonNull[0] && !nonNull[1] && !nonNull[2])\n \t\t\treturn;\n \n \t\tGroup options = WidgetUtils.createFillingGroup(parent, Messages.PBSRMLaunchConfigGroup2_title, 3, 1, false);\n \t\toptions.setForeground(WidgetUtils.DKMG);\n \n \t\tif (nonNull[0])\n \t\t\tmpiCommand = WidgetUtils.createItemCombo(options, Messages.PBSBatchScriptTemplateMPICommand, mpiChoices, mpiChoices[0],\n \t\t\t\t\tnull, true, listener, 2);\n \t\tif (nonNull[1])\n \t\t\teditPrepended = WidgetUtils.createButton(options, Messages.PBSBatchScriptTemplateEditPrepend_title, null, SWT.PUSH, 1,\n \t\t\t\t\tfalse, listener);\n \t\tif (nonNull[2])\n \t\t\teditPostpended = WidgetUtils.createButton(options, Messages.PBSBatchScriptTemplateEditPostpend_title, null, SWT.PUSH,\n \t\t\t\t\t1, false, listener);\n \t}", "title": "" }, { "docid": "d1ab3d571a523a3a8a7467a8329e586d", "score": "0.5046297", "text": "void add(IGUIGroup group);", "title": "" }, { "docid": "b7e25bf98934a8f450c47030f7c7689e", "score": "0.50417364", "text": "public boolean getIsGroupedByTarget() {\n return isGroupedByTarget;\n }", "title": "" }, { "docid": "37c5f99ae0f59105b06b0fe22607eac9", "score": "0.5041047", "text": "@Test public void testMpp12GroupsFrom14() throws Exception\n {\n //ProjectFile mpp = new MPPReader().read(MpxjTestData.filePath(\"mpp12group-from14.mpp\"));\n //testGroups(mpp);\n }", "title": "" }, { "docid": "a095901e998844037cc370ccb52d29a8", "score": "0.5037126", "text": "@Test\n public void showOutcomeGroupGlobalTest() {\n String id = null;\n // OutcomeGroup response = api.showOutcomeGroupGlobal(id);\n\n // TODO: test validations\n }", "title": "" }, { "docid": "ca16cfb1eb3c85d80653fbc600019382", "score": "0.50334525", "text": "void completeGroup(Object groupId);", "title": "" } ]
ff4cd846781c1952c767ef21069592f7
/ Create the CargoItem table
[ { "docid": "c4bc0a6115022290306acac55b835c27", "score": "0.0", "text": "public static void onCreate(SQLiteDatabase database) {\n\t\tdatabase.execSQL(DATABASE_CREATE);\n\t}", "title": "" } ]
[ { "docid": "bb557d001b0c6c6912848b7a7263a85d", "score": "0.63616616", "text": "private ContentValues createDBToDo(ToDo item) {\n ContentValues insertItem = new ContentValues();\n insertItem.put(COL_NAME, item.getName());\n insertItem.put(COL_DESCRIPTION, item.getDescription());\n\n insertItem.put(COL_READY, item.isDone() ? 1 : 0);\n return insertItem;\n }", "title": "" }, { "docid": "63a00fd5d69b78ea561c431bf3975a32", "score": "0.63482", "text": "@Override\n public void addTodata(Item item) {\n String taksCreateTable = new StringBuilder().append(\"CREATE TABLE IF NOT EXISTS\").append(\" \")\n .append(workBase.getNameTable()).append(\"(id text,name text,description text,date timestamp);\").toString();\n String taskInsertIntoTable = new StringBuilder().append(\"INSERT INTO \").append(workBase.getNameTable())\n .append(\" VALUES (?,?,?,?)\").toString();\n try {\n PreparedStatement st = con.prepareStatement(taksCreateTable);\n st.executeUpdate();\n st = con.prepareStatement(taskInsertIntoTable);\n st.setString(1,item.getID());\n st.setString(2,item.getName());\n st.setString(3,item.getDescription());\n st.setObject(4,new Timestamp(item.getDate().getTime()));\n st.executeUpdate();\n } catch (SQLException e) {\n LOGGER.info(\"method: addToData has mistake\");\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "29e631eefd5032da555908adbaa75950", "score": "0.621372", "text": "public void createCostumerTable() throws SQLException {\n ResultSet rs =\n ConnectionDB.getResultSetfromInput(\n db,\n \"SELECT clientID,clientname,clientaddress,clientemail,clientphone,shippingarea FROM client WHERE 1\");\n FillItemsClass.populateMultiColumnTable(CustomerTable, CustomerList, rs);\n }", "title": "" }, { "docid": "89706cc9098c8b0a2273a6e88a970be3", "score": "0.6082533", "text": "@Override\n public void onCreate(SQLiteDatabase db) {\n String query = \"CREATE TABLE \" + TABLE_ITEMS +\n \"(\" +\n KEY_ITEM_ID + \" INTEGER PRIMARY KEY,\" + // Define a primary key\n KEY_ITEM_TEXT + \" TEXT\" +\n \")\";\n db.execSQL(query);\n }", "title": "" }, { "docid": "00a899d5e7d3bf2faf2033676030f2e1", "score": "0.6074971", "text": "@Override\n public void onCreate(SQLiteDatabase sqLiteDatabase) {\n String createTable = \"CREATE TABLE \" + ItemTable.ItemEntry.TABLE + \" ( \" +\n ItemTable.ItemEntry._ID + \" INTEGER PRIMARY KEY AUTOINCREMENT, \" +\n ItemTable.ItemEntry.COLUMN_ITEM_TITLE + \" TEXT NOT NULL, \" +\n ItemTable.ItemEntry.COLUMN_ITEMS_DESC + \" TEXT NOT NULL, \" +\n ItemTable.ItemEntry.COLUMN_ITEM_STATUS + \" TEXT NOT NULL, \" +\n ItemTable.ItemEntry.COLUMN_DUE_DATE + \" INTEGER);\";\n\n sqLiteDatabase.execSQL(createTable);\n }", "title": "" }, { "docid": "8d6c955bc1c966e421db97333db55f88", "score": "0.60587156", "text": "CaseItem createCaseItem();", "title": "" }, { "docid": "52cae0fff308060e2cd997c188e73707", "score": "0.6031932", "text": "private void createInventoryTable() throws SQLException {\n\t\tString createString = \n\t\t\t\"create table \" + dbName + \".\" + TABLE_INVENTORY +\n\t\t\t\"(ITEM_ID int NOT NULL GENERATED ALWAYS AS IDENTITY (START WITH 1, INCREMENT BY 1), \" +\n\t\t\t\"NAME varchar(32) NOT NULL, \" +\n\t\t\t\"DEFAULT_PRICE double NOT NULL, \" +\n\t\t\t\"ACTIVE smallint DEFAULT 1 NOT NULL, \" +\n\t\t\t\"PRIMARY KEY (ITEM_ID))\";\n\t\t\n\t\tStatement stmt = connection.createStatement();\n\t stmt.executeUpdate(createString);\n\t stmt.close();\n\t}", "title": "" }, { "docid": "b4fac157502655587eaf59dbec8b711e", "score": "0.5913007", "text": "Item createItem ();", "title": "" }, { "docid": "e8bd1dcb792b0483cb22f19aab6d395a", "score": "0.5831488", "text": "private void createItem()\n {\n \n String itemName = inputUI.inputItemName();\n double itemPrice = inputUI.inputItemPrice();\n String description = inputUI.inputDescription(); \n int minInStock = inputUI.inputMinInStock();\n int maxInStock = inputUI.inputMaxInStock();\n while(maxInStock <= minInStock)\n {\n System.out.println(\"Maksmimumsbeholdningen er mindre end eller lig med minimumsbeholdningen\");\n maxInStock = inputUI.inputMaxInStock();\n }\n int itemsInStock = inputUI.inputItemsInStock();\n// while(itemCtr.checkSupplyLimit(minInStock, maxInStock, itemsInStock) == true)\n// {\n// System.out.println(\"Antallet af varer skal være indenfor minimums-/maksiumsbeholdningen\");\n// itemsInStock = inputUI.inputItemsInStock();\n// }\n while(itemsInStock > maxInStock || itemsInStock < minInStock)\n {\n System.out.println(\"Antallet af eksemplarer skal være indenfor minimums-/maksiumsbeholdningen\");\n itemsInStock = inputUI.inputItemsInStock();\n }\n boolean isYes = inputUI.UnitYesOrNo();\n String brand = inputUI.inputBrand();\n String place = inputUI.inputPlace();\n int i = itemCtr.createItem(itemName, itemPrice, description, maxInStock, minInStock, itemsInStock, brand, place, isYes);\n System.out.println(\"Varen er oprettet og har fået ID'et: \" + i);\n inputUI.pause();\n }", "title": "" }, { "docid": "c25205b2b838140dbe688c28dc4b871f", "score": "0.58123106", "text": "public void acrescentaItem(Object item)\n\t { cabeca = new Nodo(item, cabeca);\n\t tamanho++;\n\t }", "title": "" }, { "docid": "8a51c7a722d9b7fbe6a08bd10e5a26f4", "score": "0.5765084", "text": "public void DBCreateThisItem(String roomID, Item thisItem);", "title": "" }, { "docid": "74e972c8ad9ed4c687a822ab312f0410", "score": "0.57336634", "text": "public void newAlumno(Alumno item){\n SQLiteDatabase db = helper.getWritableDatabase();\n\n // TODO: 12.- Mapeamos columnas con valores\n // Crea un nuevo mapa de valores, de tipo clave-valor, donde clave es nombre de columna\n ContentValues values = new ContentValues();\n values.put(AlumnosContract.Entrada.COLUMNA_ID, item.getId());\n values.put(AlumnosContract.Entrada.COLUMNA_NOMBRE, item.getNombre());\n\n // TODO: 13.- Insertamos fila\n // Inserta la nueva fila, regresando el valor de la primary key\n long newRowId = db.insert(AlumnosContract.Entrada.NOMBRE_TABLA, null, values);\n\n // cierra conexión\n db.close();\n }", "title": "" }, { "docid": "065b2928a0a1ebb32cc088506298c25d", "score": "0.57032645", "text": "@Override\r\n public void onCreate(SQLiteDatabase db) {\n log.d(CREATE_INVENTORY);\r\n try\r\n {\r\n db.execSQL(CREATE_INVENTORY); // table will be created\r\n }\r\n catch(SQLiteException error)\r\n {\r\n log.e(error.getMessage());\r\n Toast.makeText(ctx, error.getMessage(), Toast.LENGTH_LONG).show();\r\n }\r\n log.d(\"Table Created\");\r\n }", "title": "" }, { "docid": "9b709447e1971df2a8a932bfc2cf23a7", "score": "0.56843835", "text": "private void makeTable() {\r\n\t\tString[] colNames = {\"Brand\", \"Type\", \"Extra\"};\r\n\t\tString[][] data = new String[mainStore.getProducts().size()][3];\r\n\t\tfor(int i = 0; i < data.length; i++) {\r\n\t\t\tdata[i] = mainStore.getProducts().get(i).getVector();\r\n\t\t}\r\n\t\tAction add = new AbstractAction() {\r\n\t\t\tprivate static final long serialVersionUID = 885677526106133799L;\r\n\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\taddItem(e.getModifiers());\r\n\t\t\t}\r\n\t\t};\r\n\t\tDefaultTableModel model = new DefaultTableModel(data, colNames);\r\n\t\tsorter = new TableRowSorter<DefaultTableModel>(model);\r\n\t\taddButtons = new Vector<JButton>();\r\n\t\tfor(int i = 0; i < mainStore.getProducts().size(); i++) { \r\n\t\t\taddButtons.add(new JButton(\"Add Item\"));\t\t\r\n\t\t}\r\n\t\tmodel.addColumn(\"Add Item\", addButtons);\r\n\t\t\r\n\t\ttable = new JTable(model);\t\t\r\n\t\ttable.setRowSorter(sorter);\r\n\t\tButtonColumn bc = new ButtonColumn(table, add, 3);\r\n\t\ttable.setCellSelectionEnabled(false);\r\n\t\tsp = new JScrollPane(table);\r\n\t\tadd(sp);\r\n\t\tpack();\r\n\t\tfilterMenu();\r\n\t\tsetVisible(true);\r\n\t\t\r\n\t\ttableVisible = true;\r\n\t}", "title": "" }, { "docid": "de56b9ab4251212eb7899fec08fa1f93", "score": "0.5679295", "text": "com.cdiscount.www.ArrayOfParcelItem addNewParcelItemList();", "title": "" }, { "docid": "16783b7c1fc92af220fb1558ff3dc320", "score": "0.5660028", "text": "public void create(MusicItem item)\n throws SQLException {\n // Use the following releaseDate value in the prepared statement for setDate\n java.sql.Date releaseDate = new java.sql.Date(item.getReleaseDate().getTime());\n //-- set the ? parameters on the PreparedStatement --//\n pstmtCreate.setString(1, item.getTitle());\n pstmtCreate.setString(2, item.getArtist());\n pstmtCreate.setDate(3, releaseDate);\n pstmtCreate.setBigDecimal(4, item.getListPrice());\n pstmtCreate.setBigDecimal(5, item.getPrice());\n pstmtCreate.setInt(6, 1);\n\n //-- execute the PreparedStatement - ignore the update count --//\n System.out.println(pstmtCreate.executeUpdate());\n m_conn.commit();\n }", "title": "" }, { "docid": "08dcbddc43f326b2cdb72358e080251e", "score": "0.5635566", "text": "private void createItems(){\n }", "title": "" }, { "docid": "9c9b0c97fb802d7290cf83ecc819f81c", "score": "0.56168836", "text": "@Override\n\t\tpublic void onCreate(SQLiteDatabase db) {\n\n\t\t\tString testsql = String.format(\"create table %s (%s TEXT,%s TEXT,%s TEXT,%s TEXT)\",TABLE,C_NAME,C_PRICE,C_QTY,C_MID);\n\t\t\t\n\t\t\tdb.execSQL(testsql);\n\t\t\t\n\t\t}", "title": "" }, { "docid": "dba830e90457698f890ff7ad3467d7d7", "score": "0.5616097", "text": "private void Adicionar() {\n Middle_CargoBD adicionador = new Middle_CargoBD();\n DefaultTableModel Tabledata = (DefaultTableModel) TbCargo.getModel();\n Tabledata.setNumRows(0);\n for (Classes.Cargo cargo : adicionador.ListarCargo()) {\n Object[] receberDados = {\n cargo.getId_cargo(),\n cargo.getCargo(),\n cargo.getDesc_cargo(),\n cargo.getSalario()\n };\n Tabledata.addRow(receberDados);\n }\n\n }", "title": "" }, { "docid": "d8690a583092beb2fcf93fc306096f5c", "score": "0.56133896", "text": "Cumul_Cartes createCumul_Cartes();", "title": "" }, { "docid": "b4aed328499e88ffc93c6ab78138012f", "score": "0.5570147", "text": "protected void createCompany2() {\r\n createEntityTable_FileString_primaryKey(\"scheme2Company.txt\", genQualifiedName(\"Company\"), \"id\");\r\n\r\n/*\r\n createEntityTable_columnsString(\"Company\",\r\n \", name \"+databaseProduct.typeString()+\" \"+ databaseProduct.nullable()+\r\n \", revenue \"+databaseProduct.typeDecimal()+\" \"+databaseProduct.nullable()+\r\n \"\");\r\n*/\r\n }", "title": "" }, { "docid": "60988850bc3f19d678a77b931381af31", "score": "0.55674785", "text": "public static void createTable(SQLiteDatabase db, boolean ifNotExists) {\n String constraint = ifNotExists? \"IF NOT EXISTS \": \"\";\n db.execSQL(\"CREATE TABLE \" + constraint + \"\\\"ITEM_INVENTORY\\\" (\" + //\n \"\\\"_id\\\" INTEGER PRIMARY KEY AUTOINCREMENT ,\" + // 0: id\n \"\\\"STORE_ID\\\" INTEGER,\" + // 1: store_id\n \"\\\"PRODUCT_ID\\\" INTEGER,\" + // 2: product_id\n \"\\\"NAME\\\" TEXT,\" + // 3: name\n \"\\\"QUANTITY\\\" REAL,\" + // 4: quantity\n \"\\\"IS_UPDATED\\\" INTEGER);\"); // 5: is_updated\n }", "title": "" }, { "docid": "06fd97156226619b65899652b300a536", "score": "0.55505604", "text": "public void addItem(ItemCreation aItem);", "title": "" }, { "docid": "c543f31aae3d637cff5e9f1f94f3d68e", "score": "0.5539118", "text": "void create() {\n\t\tContextMenu menu = new ContextMenu();\n\t\t\n\t\tmenu.getItems().add(createAddExampleItem());\n\t\tmenu.getItems().add(createCustomizeAttributesItem());\n\t\tmenu.getItems().add(createAddAttributeItem());\n\t\tmenu.getItems().add(createRemoveExamplesItem());\n\t\tmenu.getItems().add(createCopyRowAction());\n\t\t\n\t\ttable.setContextMenu(menu);\n\t}", "title": "" }, { "docid": "035a4cb40eff5bc7d89f41acf7726b47", "score": "0.553525", "text": "@Override\n public void onCreate(SQLiteDatabase db) {\n String SQL_CREATE_BATHTOYS_TABLE = \"CREATE TABLE \" + BathToyContract.BathToysEntry.TABLE_NAME + \" (\"\n + BathToyContract.BathToysEntry._ID + \" INTEGER PRIMARY KEY AUTOINCREMENT, \"\n + BathToyContract.BathToysEntry.COLUMN_BATHTOYS_IMAGE + \" BLOB, \"\n + BathToyContract.BathToysEntry.COLUMN_BATHTOYS_NAME + \" TEXT NOT NULL, \"\n + BathToyContract.BathToysEntry.COLUMN_BATHTOYS_QUANTITY + \" INTEGER NOT NULL DEFAULT 0, \"\n + BathToyContract.BathToysEntry.COLUMN_BATHTOYS_PRICE + \" INTEGER NOT NULL DEFAULT 0);\";\n\n db.execSQL(SQL_CREATE_BATHTOYS_TABLE);\n }", "title": "" }, { "docid": "d76e4bbc95c5791a3a21b461f0dcc41d", "score": "0.5531278", "text": "public ToDoItem addItemInTable(ToDoItem item) throws ExecutionException, InterruptedException {\n ToDoItem entity = mToDoTable.insert(item).get();\n return entity;\n }", "title": "" }, { "docid": "3381ab89c3d0237028367f8df3714a0e", "score": "0.55302835", "text": "protected void createProject3() {\r\n createEntityTable_FileString_primaryKey(\"scheme3Project.txt\", genQualifiedName(\"Project\"), \"id\");\r\n\r\n/*\r\n createEntityTable_columnsString(\"Project\",\r\n \", name \"+databaseProduct.typeString()+\" \"+ databaseProduct.nullable()+\r\n \", company_ID INT \"+ databaseProduct.nullable()+\r\n \", start_date \"+databaseProduct.typeDate()+\" \"+databaseProduct.nullable()+\r\n \"\");\r\n*/\r\n }", "title": "" }, { "docid": "98c1232d87764b7cb1cf9164fe1a4530", "score": "0.55241394", "text": "private void createTable(){\n mToDoTable = mClient.getTable(users.class);\n }", "title": "" }, { "docid": "a2d0229924dad76d9535f1794bf98cbe", "score": "0.55208284", "text": "BallotItem create();", "title": "" }, { "docid": "f578e0d616d114bded74b5a83bb2692b", "score": "0.5517752", "text": "@Override\n\tpublic void onCreate(SQLiteDatabase db) {\n\t\t\n\t\tdb.execSQL(\"CREATE TABLE \"+tableName+\" (\"+colId+ \" INTEGER PRIMARY KEY , \"+\n\t\t\t colBrand+ \" TEXT , \"+colType+ \" TEXT , \" +colVitola+ \" TEXT ,\"+\n\t\t\t\tcolWrapper+ \" TEXT , \"\t+colQuantity+ \" INTEGER)\");\n\t\t\t \n\t}", "title": "" }, { "docid": "f3a340a96faade6a6ff615b24be2d020", "score": "0.55019814", "text": "private void setupItemTable(List<Item> itemList) {\n\t\tObservableList<Item> obsItemList = FXCollections.observableArrayList(itemList);\n\t\titemTable = new ItemTable();\n\t\titemTable.setItems(obsItemList);\n\n\t}", "title": "" }, { "docid": "cc65934134db22772c75d3e4c9b3bf08", "score": "0.548995", "text": "public void createCustomerTable() {\n customerRepository = new CustomerRepository(session);\r\n customerRepository.createTableCustomer();\r\n }", "title": "" }, { "docid": "18ec70eded9cfb155a28c442ed6cf4ea", "score": "0.5475806", "text": "@Override\r\n public void onCreate(SQLiteDatabase db) {\r\n String createTableStatement = \"create table \" + ExpirationDatabase.FoodTable.TABLE + \" (\" +\r\n ExpirationDatabase.FoodTable.COL_ID + \" integer primary key autoincrement, \" +\r\n ExpirationDatabase.FoodTable.NAME + \" text, \" + ExpirationDatabase.FoodTable.CATEGORY + \" text, \"\r\n + ExpirationDatabase.FoodTable.PICTURE + \" integer, \" +ExpirationDatabase.FoodTable.YEAR +\r\n \" integer, \"+ ExpirationDatabase.FoodTable.MONTH + \" integer, \" + ExpirationDatabase.FoodTable.DAY + \" integer, \"\r\n + ExpirationDatabase.FoodTable.REMAINING_DAYS + \" integer, \" + ExpirationDatabase.FoodTable.FREEZE_MULTIPIER + \" integer, \"\r\n + ExpirationDatabase.FoodTable.FROZEN + \" integer)\";\r\n db.execSQL(createTableStatement);\r\n }", "title": "" }, { "docid": "714503f1106a085323f2ad664b616d92", "score": "0.5446723", "text": "private void executeCreateOrder() {\n if(clientDAO.findByName(controller.getClientName()) == null) return;\n billCount++;\n Order order;\n order = getOrder();\n ItemOrder itemOrder = new ItemOrder();\n Product product = productDAO.findByProductName(controller.getProductName());\n int quantity = controller.getQuantity();\n if(quantity > product.getQuantity()) {\n underStockCount++;\n reportGenerator.generateUnderStock(\"understock\" + underStockCount + \".pdf\", product, quantity);\n orderDAO.delete(order);\n return;\n }\n order.setTotal(order.getTotal() + controller.getQuantity() * product.getPrice());\n orderDAO.update(order);\n itemOrder.setOrderId(order.getPrimaryKey());\n itemOrder.setProductId(product.getPrimaryKey());\n itemOrder.setQuantity(quantity);\n itemOrderDAO.insert(itemOrder);\n reportGenerator.generateBill(\"bill\" + billCount + \".pdf\", order, itemOrder);\n product.setQuantity(product.getQuantity() - quantity);\n productDAO.update(product);\n }", "title": "" }, { "docid": "da2ddaf92f8fa3c8909b9bd1e1c8e817", "score": "0.54464084", "text": "public ToDo createItemFromCursor(Cursor c) {\n // create the item\n ToDo currentItem = new ToDo();\n\n // then populate the item with the results from the cursor\n currentItem.setId(c.getLong(c.getColumnIndex(COL_ID)));\n currentItem.setName(c.getString(c.getColumnIndex(COL_NAME)));\n currentItem.setDescription(c.getString(c\n .getColumnIndex(COL_DESCRIPTION)));\n currentItem.setDone(c.getInt(c.getColumnIndex(COL_READY))==1);\n return currentItem;\n }", "title": "" }, { "docid": "edacc780ba60f0bcb98eb04fd27d7482", "score": "0.54449993", "text": "private void create() {\n/* 86 */ Connection dbcon = null;\n/* 87 */ PreparedStatement ps = null;\n/* */ \n/* */ try {\n/* 90 */ dbcon = DbConnector.getEconomyDbCon();\n/* 91 */ ps = dbcon.prepareStatement(\"INSERT INTO BANKS_ITEMS (ITEMID,BANKID,INSERTED,STASIS) VALUES(?,?,?,?)\");\n/* 92 */ ps.setLong(1, this.item.getWurmId());\n/* 93 */ ps.setLong(2, this.bank);\n/* 94 */ ps.setLong(3, System.currentTimeMillis());\n/* 95 */ ps.setBoolean(4, this.stasis);\n/* 96 */ ps.executeUpdate();\n/* */ }\n/* 98 */ catch (SQLException sqx) {\n/* */ \n/* 100 */ logger.log(Level.WARNING, \"Failed to create bank slot for item \" + this.item.getWurmId() + \", SqlState: \" + sqx.getSQLState() + \", ErrorCode: \" + sqx.getErrorCode(), sqx);\n/* 101 */ Exception lNext = sqx.getNextException();\n/* 102 */ if (lNext != null)\n/* */ {\n/* 104 */ logger.log(Level.WARNING, \"Failed to create bank slot for item \" + this.item.getWurmId() + \", next exception\", lNext);\n/* */ }\n/* */ }\n/* */ finally {\n/* */ \n/* 109 */ DbUtilities.closeDatabaseObjects(ps, null);\n/* 110 */ DbConnector.returnConnection(dbcon);\n/* */ } \n/* */ }", "title": "" }, { "docid": "51d4f6b6a197b5fba410ec4695ebf5c7", "score": "0.54430455", "text": "protected void createProject4() {\r\n createEntityTable_FileString_primaryKey(\"scheme4Project.txt\", genQualifiedName(\"Project\"), \"id\");\r\n\r\n/*\r\n createEntityTable_columnsString(\"Project\",\r\n \", name \"+databaseProduct.typeString()+\" \"+ databaseProduct.nullable()+\r\n \", company_ID INT \"+ databaseProduct.nullable()+\r\n \", start_date \"+databaseProduct.typeDate()+\" \"+databaseProduct.nullable()+\r\n \", budgeted CHAR(1) \"+ databaseProduct.nullable()+\r\n \", profit_margin \" + databaseProduct.typeDecimal()+\" \"+databaseProduct.nullable()+\r\n \"\");\r\n*/\r\n }", "title": "" }, { "docid": "eaf52cc810353f1888038c7ecadbfd0c", "score": "0.54389954", "text": "@Override\n\t\tpublic void onCreate(SQLiteDatabase db) {\n\t\t\tdb.execSQL(SQL_CREATE_CUSTOMER);\n\t\t\tdb.execSQL(SQL_CREATE_LISTITEM);\n\t\t\tdb.execSQL(SQL_CREATE_ITEM);\n\t\t\tdb.execSQL(SQL_CREATE_CATEGORY);\n\t\t\tdb.execSQL(SQL_CREATE_AP);\n\t\t\tdb.execSQL(SQL_CREATE_VERSION);\n\t\t\tdb.execSQL(SQL_CREATE_ALERTS);\n\t\t}", "title": "" }, { "docid": "c862fa4f9393910817b5b3fa002eef13", "score": "0.5435574", "text": "@Override\n public void onCreate(SQLiteDatabase db) {\n String query = \"CREATE TABLE \" + TABLE_PRODUCTS + \"(\" +\n COLUMN_ID + \" INTEGER PRIMARY KEY AUTOINCREMENT, \" +\n //the following words add the traits to the product\n // ONLY ONE PRIMARY KEY\n COLUMN_GENRE+ \" TEXT \"+\n COLUMN_TITLE+ \" TEXT \"+\n COLUMN_URL+\" TEXT \" +\n \");\";\n //remember database already input\n db.execSQL(query);\n\n }", "title": "" }, { "docid": "cb2fcd1c40d3b5c3eb2d0bcae743cd09", "score": "0.5420585", "text": "public long dbCreateItem(String name, String category, int quantity,\n\t\t\tfloat price, String upc) {\n\t\t// Create a new map of values, where column names are the keys\n\t\tContentValues values = new ContentValues();\n\t\tvalues.put(DbContract.ItemEntry.ITEM_NAME, name);\n\t\tvalues.put(DbContract.ItemEntry.ITEM_CATEGORY, category);\n\t\tvalues.put(DbContract.ItemEntry.ITEM_QUANTITY, quantity);\n\t\tvalues.put(DbContract.ItemEntry.ITEM_PRICE, price);\n\t\tvalues.put(DbContract.ItemEntry.ITEM_UPC, upc);\n\n\t\t// Insert the new row, returning the primary key value of the new row\n\t\t// (itemId)\n\t\treturn db.insert(DbContract.ItemEntry.TABLE_NAME, null, values);\n\t}", "title": "" }, { "docid": "c0ecdfdda3436e1a2a7ce4c7330faf81", "score": "0.54201883", "text": "@Override\n public void onCreate(SQLiteDatabase db) {\n String CAR_TABLE = \"CREATE TABLE conductor (idConductor INTEGER PRIMARY KEY,telefono TEXT)\";\n db.execSQL(CAR_TABLE);\n\n String BD_TABLE = \"CREATE TABLE tipoBd (Bd TEXT)\";\n db.execSQL(BD_TABLE);\n }", "title": "" }, { "docid": "397c1f42b6bfe7bedf3fe09b70e4e81f", "score": "0.5417304", "text": "public static void createTable(SQLiteDatabase db, boolean ifNotExists) {\n String constraint = ifNotExists? \"IF NOT EXISTS \": \"\";\n db.execSQL(\"CREATE TABLE \" + constraint + \"'MENU_DETAIL' (\" + //\n \"'MENU_DATE_ID' TEXT,\" + // 0: menuDateId\n \"'MENU_ID' INTEGER,\" + // 1: menuId\n \"'WIDGET_ID' INTEGER,\" + // 2: widgetId\n \"'TYPE' TEXT,\" + // 3: type\n \"'NAME' TEXT,\" + // 4: name\n \"'X' REAL,\" + // 5: x\n \"'Y' REAL,\" + // 6: y\n \"'PRICE' INTEGER,\" + // 7: price\n \"'FONT_SIZE' INTEGER,\" + // 8: fontSize\n \"'FONT_COLOR' TEXT,\" + // 9: fontColor\n \"'BACKGROUND_COLOR' TEXT,\" + // 10: backgroundColor\n \"'DISTANCE' REAL,\" + // 11: distance\n \"'ADDTIONTAL' TEXT,\" + // 12: addtiontal\n \"'BIND_TO_ITEM_SERVER_ID' INTEGER,\" + // 13: BindToItemServerId\n \"'REDUNDANCE1' TEXT,\" + // 14: redundance1\n \"'REDUNDANCE2' TEXT,\" + // 15: redundance2\n \"'REDUNDANCE3' TEXT,\" + // 16: redundance3\n \"'REDUNDANCE4' TEXT,\" + // 17: redundance4\n \"'REDUNDANCE5' TEXT);\"); // 18: redundance5\n }", "title": "" }, { "docid": "0aac01d7d91217dc340ba1277a89ed0c", "score": "0.54082257", "text": "@Override\n public void onCreate(SQLiteDatabase db) {\n String CREATE_TODO_TABLE = \"CREATE TABLE \"+DATABASE_NAME+\" ( \" +\n KEY_ID + \" INTEGER PRIMARY KEY AUTOINCREMENT, \" +\n KEY_TITLE + \" TEXT, \"+\n KEY_DUE + \" INTEGER )\";\n\n // create todo_table\n db.execSQL(CREATE_TODO_TABLE);\n }", "title": "" }, { "docid": "353514c4c1412d567baddd17eaafdda7", "score": "0.5405167", "text": "@Override\n\tpublic void createOrderItem(int id, int orderId, int quantity, int idProduct) {\n\t\tConnection conn = null;\n\t\tconn = getDbConnection();\n\t\t\n\t\tPreparedStatement ps = null;\n\t\ttry{\n\t\t\tString sqlQuery = \"insert into public.orderitem (id, id_order, quantity, id_product) values(?,?,?,?)\";\n\t\t\tps = conn.prepareStatement(sqlQuery);\n\t\t\tps.setInt(1, id);\n\t\t\tps.setInt(2, orderId);\n\t\t\tps.setInt(3, quantity);\n\t\t\tps.setInt(4, idProduct);\n\t\t\tps.executeUpdate();\n\t\t\tSystem.out.println(\"Inserted item into orderitem table!\");\n\t\t\t\n\t\t}catch(SQLException e){\n\t\t\te.printStackTrace();\n\t\t}\n\t\tfinally {\n\t\t\tif(conn!=null){try{conn.close(); }catch(SQLException e){e.printStackTrace();}}\n\t\t\tif(ps!=null){try{ps.close(); }catch(SQLException e){e.printStackTrace();}}\n\t\t}\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "ae2da1fe4a2483f60cf6d34d73681c3c", "score": "0.54029053", "text": "public void createTable() {//Table created by Administrator\n\t\tSystem.out.println(\"Enter number of items to be added : \");\n\t\tint num = sc.nextInt();//reading number items to add from Administrator\n\t\t\n\t\t\n\t\tfor(int itemNo = 1; itemNo <= num; itemNo++) {\n\t\t\tList<String> array = new ArrayList<String>();\n\t\t\tSystem.out.println(\"Entry for item : \" + itemNo);\n\t\t\tSystem.out.println(\"Enter item name : \");\n\t\t\tarray.add(sc.next());//reading item name\n\t\t\tString price;\n\t\t\tdo {\n\t\t\t\tSystem.out.println(\"Enter item Price (Should be greater than zero) : \");\n\t\t\t\tprice = sc.next();\n\t\t\t}while(Integer.parseInt(price) <= 0);\n\t\t\titemPrice.add(price);\n\t\t\tarray.add(price);\n\t\t\tString quantity;\n\t\t\tdo {\n\t\t\t\tSystem.out.println(\"Enter item Quantity (Should be greater than zero) : \");\n\t\t\t\tquantity = sc.next();//reading number of items in store\n\t\t\t}while(Integer.parseInt(quantity) <= 0);\n\t\t\tarray.add(quantity);\n\t\t\tadminTable.put(itemNo, array);//adding entry for an item\n\t\t}//end of for loop\n\t\t\n\t}", "title": "" }, { "docid": "5983f34d535cf06e55a4ee46f05bc9f3", "score": "0.5389266", "text": "private void insertItem() {\n byte[] imageByte = convertImage();\n // Create a ContentValues object where column names are the keys, and item attributes are\n // values.\n ContentValues values = new ContentValues();\n values.put(ItemContract.ItemEntry.COLUMN_ITEM_NAME, \"Kaladesh Booster Pack\");\n values.put(ItemContract.ItemEntry.COLUMN_ITEM_QTY, 10);\n values.put(ItemContract.ItemEntry.COLUMN_ITEM_PRICE, 3.99);\n values.put(ItemContract.ItemEntry.COLUMN_ITEM_DESCRIPTION, \"15 card booster pack for the \" +\n \"MTG set Kaladesh.\");\n values.put(ItemContract.ItemEntry.COLUMN_ITEM_PICTURE, convertImage());\n values.put(ItemContract.ItemEntry.COLUMN_ITEM_CONTACTNUMBER, \"18003246496\");\n\n // Insert the dummy data into the database\n Uri newUri = getContentResolver().insert(ItemContract.ItemEntry.CONTENT_URI, values);\n }", "title": "" }, { "docid": "98e751ba2042273b95dfdcae810792a4", "score": "0.538594", "text": "private void createTaskTable(SQLiteDatabase db){\n db.execSQL(\"CREATE TABLE \" + DbContract.TaskEntry.TABLE_NAME + \" (\" +\n DbContract.TaskEntry.COLUMN_NAME_NUMBER + \" INTEGER PRIMARY KEY AUTOINCREMENT, \" +\n DbContract.TaskEntry.COLUMN_NAME_BOARD + \" TEXT, \" +\n DbContract.TaskEntry.COLUMN_NAME_INSTRUCTIONS + \" TEXT,\" +\n DbContract.TaskEntry.COLUMN_NAME_FILEPATH + \" TEXT );\");\n }", "title": "" }, { "docid": "a4eba4d6fbf500f7345c356ac3bcb2e9", "score": "0.5366285", "text": "public VendorInventoryItemType ( )\n\t{\n\t\tsuper( myTableName );\n\n\t\tsetDependencies();\n\t\t\n\t\tpersistentState = new Properties();\n\t\t\n\t\tinitializeState();\n\t}", "title": "" }, { "docid": "a545d8a2d1673d6bf157a020763f82fa", "score": "0.53662634", "text": "public Item createItem(String title, int coorX, int coorY, direction d) {\n Item newItem = new Item.Builder().id(ItemId.generate()).title(title)\n .created(Instant.now().toEpochMilli()).coorX(coorX).coorY(coorY).dir(d).build();\n em.persist(newItem);\n return newItem;\n }", "title": "" }, { "docid": "57b38dd377a537c41eda3dc9df20d02c", "score": "0.5354046", "text": "Cartes createCartes();", "title": "" }, { "docid": "777d5bcd3423e133a5788cbe50d84c51", "score": "0.5343449", "text": "private void prepareItemData() {\n Item item1 = new Item(\"house\",\"walking the dog\",30,50);\n helper.saveItems(item1);\n\n// Item item2 = new Item(\"hammer\");\n// item2.setHabit(\"drinking 10 glasses of water\");\n// item2.setHabitDuration(7);\n// item2.setPoints(40);\n// helper.saveItems(item2);\n//\n// Item item3 = new Item(\"saw\");\n// item3.setHabit(\"jogging for 30 minutes\");\n// item3.setHabitDuration(60);\n// item3.setPoints(30);\n// helper.saveItems(item3);\n//\n// Item item4 = new Item(\"barbwire\");\n// item4.setHabit(\"meditating every morning\");\n// item4.setHabitDuration(14);\n// item4.setPoints(20);\n// helper.saveItems(item4);\n\n }", "title": "" }, { "docid": "94572a8cbe926575d12c8181c314cd3a", "score": "0.53335124", "text": "public BasketItem createNewItem() {\n\t\tBasketItem item = new BasketItem();\n\t\titem.setQuantity(1);\n\t\tProduct product = new Product();\n\t\tproduct.setPrice(20.0);\n\t\tproduct.setProductName(\"name\");\n\t\titem.setProduct(product);\n\t\trepo.save(item);\n\t\treturn item;\n\t}", "title": "" }, { "docid": "eb670579acd231dc4a259737b2cc3177", "score": "0.53112245", "text": "@Override\n public void onCreate(SQLiteDatabase db) {\n\n String CREATE_CART_TABLE = \"CREATE TABLE \" + FavContract.FavColumn.TABLE_NAME + \" (\"\n + FavContract.FavColumn._ID + \" INTEGER PRIMARY KEY AUTOINCREMENT, \"\n + FavContract.FavColumn.COLUMN_NAME + \" TEXT NOT NULL, \"\n + FavContract.FavColumn.COLUMN_IMAGE2 + \" TEXT NOT NULL, \"\n + FavContract.FavColumn.COLUMN_price2 + \" INTEGER NOT NULL, \"\n + FavContract.FavColumn.COLUMN_QUANTITY2 + \" INTEGER NOT NULL, \"\n + FavContract.FavColumn.COLUMN_MULTIPLE2 + \" INTEGER NOT NULL)\";\n //create database\n db.execSQL(CREATE_CART_TABLE);\n }", "title": "" }, { "docid": "71ca9c3bde7fc92ed45286f46772ba17", "score": "0.53106207", "text": "public static void createTable(SQLiteDatabase db, boolean ifNotExists) {\n String constraint = ifNotExists? \"IF NOT EXISTS \": \"\";\n db.execSQL(\"CREATE TABLE \" + constraint + \"'ENTITY_BILL_RECORD' (\" + //\n \"'ACCT__ITEM__TYPE' TEXT,\" + // 0: ACCT_ITEM_TYPE\n \"'TOTAL__AMOUNT' TEXT,\" + // 1: TOTAL_AMOUNT\n \"'BILLING__CYCLE__ID' TEXT,\" + // 2: BILLING_CYCLE_ID\n \"'UNPAY__AMOUNT' TEXT,\" + // 3: UNPAY_AMOUNT\n \"'PPY__AMOUNT' TEXT);\"); // 4: PPY_AMOUNT\n }", "title": "" }, { "docid": "4936b9e8d9a0d642de3c1d7bab6afd27", "score": "0.53002346", "text": "@Override\r\n public void onCreate(SQLiteDatabase db) {\r\n String sql = String.format(\"create table %s (%s int primary key, %s int, %s text, %s text)\",\r\n StatusContract.TABLE, StatusContract.Columns._ID,\r\n StatusContract.Columns.CREATED_AT,StatusContract.Columns.USER,\r\n StatusContract.Columns.TEXT);\r\n Log.d(\"DbHelper\", \"SQL: \" + sql);\r\n db.execSQL(sql);\r\n }", "title": "" }, { "docid": "48e0e61eacc14ada08ebac9ada5db8d3", "score": "0.5298693", "text": "@Override\n public void onCreate(SQLiteDatabase SQLiteDb) {\n String SqlitStatement = \"CREATE TABLE \"+ TableCustomerUtilities.CUSTOMER_TABLE+\"( \" +\n \"\"+ TableCustomerUtilities.COLUMN_ID+\" INTEGER PRIMARY KEY AUTOINCREMENT , \"+\n TableCustomerUtilities.COLUMN_CUSTOMER_NAME+\" TEXT , \" +\n \"\"+ TableCustomerUtilities.COLUMN_CUSTOMER_AGE +\" INTEGER, \"\n + TableCustomerUtilities.COLUMN_IS_ACTIVE+\" INTEGER)\";\n\n SQLiteDb.execSQL(SqlitStatement);\n }", "title": "" }, { "docid": "4f936d1288e069d1d55b0c89f879ebd1", "score": "0.5293222", "text": "@PostMapping(\"/items\")\n @ResponseStatus(HttpStatus.CREATED)\n public Item createItem(@RequestBody Item req) {\n // Since item IDs cannot be changed, generated a new ID, create a new item, add it to the\n // inventory, and then return the new item.\n Long newID = inventory.get(inventory.size() - 1).getId() + 1;\n Item newItem = new Item(newID, req.getName(), req.getPrice(), req.getCount());\n inventory.add(newItem);\n return newItem;\n }", "title": "" }, { "docid": "ce70b8c6da0e0ad716d312d02b3b9b99", "score": "0.52902275", "text": "@Override\n public void onCreate(SQLiteDatabase db) {\n String CREATE_TABLE_BUSINESS = \"CREATE TABLE \"+ PRODUCT_TABLE_NAME +\n \" (\" + PRODUCT_ID + \" INTEGER PRIMARY KEY AUTOINCREMENT, \"\n + PRODUCT_COLOUR + \" TEXT, \"\n + PRODUCT_TYPE + \" TEXT, \"\n + PRODUCT_NAME + \" TEXT, \"\n + PRODUCT_DESCRIPTION + \" TEXT,\"\n + PRODUCT_URL + \" TEXT,\"\n + PRODUCT_IMAGE + \" TEXT )\";\n\n db.execSQL(CREATE_TABLE_BUSINESS);\n }", "title": "" }, { "docid": "56f3a34a13fa49495627250593956d84", "score": "0.5286239", "text": "@Test\n public void testCreateItem() {\n Item expResult = createTestItem();\n String id = \"123\";\n String measure = \"\";\n String description = \"Test item\";\n String brand = \"\";\n String industry = \"\";\n String type = \"\";\n String subtype = \"\";\n Double cost = 10.0;\n Double price = 15.0;\n Item result = companyServices.createItem(id, measure, description, brand, industry, type, subtype, cost, price);\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "c85e1b5972e1e59afb0c0fac0eb5b162", "score": "0.52815026", "text": "Jouer_plusieurs_cartes createJouer_plusieurs_cartes();", "title": "" }, { "docid": "3896acd216429e57bc1f661af47e8b25", "score": "0.5279999", "text": "private void createTable(SQLiteDatabase db) {\r\n\r\n\t\tString createQuery = getCreateStocksTableQuery();\r\n\t\tdb.execSQL(createQuery);\r\n\t}", "title": "" }, { "docid": "fce7ec5fe7eaf18aa4e44bc5730b445f", "score": "0.52793145", "text": "public void initDatabase() throws SQLException {\n Statement statement = connection.createStatement();\n statement.execute(\"CREATE TABLE IF NOT EXISTS groceryItems (id IDENTITY, usersID INT, name VARCHAR, quantity INT)\");\n statement.execute(\"CREATE TABLE IF NOT EXISTS users (id IDENTITY, name VARCHAR, password VARCHAR)\");\n }", "title": "" }, { "docid": "c11f47f7970e896d061ff0504088367a", "score": "0.5271502", "text": "public void onCreate(SQLiteDatabase db) {\n\t\tdb.execSQL(\"CREATE TABLE \" + TABLE_REPORT\n\t\t\t//\t+ \"(ItemID INTEGER PRIMARY KEY AUTOINCREMENT,\"\n\t\t\t\t+ \" (Date TEXT(100),\"\n\t\t\t\t+ \" Name TEXT(100),\"\n\t\t\t\t+ \" Quantity TEXT(100), \" \n\t\t\t\t+ \" Price TEXT(100));\");\n\t\t\n\t\tLog.d(\"CREATE TABLE\", \"Create Table Successfully.\");\n\t}", "title": "" }, { "docid": "2a50bcb71220b72fbd72733f3c14c412", "score": "0.5268045", "text": "public static void createTable(Database db, boolean ifNotExists) {\n String constraint = ifNotExists? \"IF NOT EXISTS \": \"\";\n db.execSQL(\"CREATE TABLE \" + constraint + \"\\\"ENTRY_SPACE_ENTITY\\\" (\" + //\n \"\\\"_id\\\" INTEGER PRIMARY KEY ,\" + // 0: id\n \"\\\"NAME\\\" TEXT,\" + // 1: name\n \"\\\"CAPACITY_THEATER\\\" INTEGER NOT NULL ,\" + // 2: capacityTheater\n \"\\\"CAPACITY_CLASSROOM\\\" INTEGER NOT NULL ,\" + // 3: capacityClassroom\n \"\\\"CAPACITY_U\\\" INTEGER NOT NULL ,\" + // 4: capacityU\n \"\\\"CAPACITY_COCKTAIL\\\" INTEGER NOT NULL ,\" + // 5: capacityCocktail\n \"\\\"CAPACITY_SEATEDMEAL\\\" INTEGER NOT NULL ,\" + // 6: capacitySeatedmeal\n \"\\\"CEILING_HEIGHT\\\" INTEGER NOT NULL ,\" + // 7: ceilingHeight\n \"\\\"IS_NATURAL_LIGHT\\\" INTEGER NOT NULL ,\" + // 8: isNaturalLight\n \"\\\"AREA\\\" INTEGER NOT NULL );\"); // 9: area\n }", "title": "" }, { "docid": "f543bf058944802765836b3450363943", "score": "0.5252586", "text": "public void addItemToDatabase(String cabinName, String itemName, String amount) throws SQLException{\n\n\t\tstatement = connection.createStatement();\n\t\tstatement.execute(\"INSERT INTO Item (cabinname, itemname, amount) VALUES \"\n\t\t\t\t+ \"('\" +cabinName+ \"','\" + itemName+ \"','\" + amount + \"')\" );\n\n\t\tSystem.out.println(\"Item: \" + itemName + \"Successfully added to database\");\n\t}", "title": "" }, { "docid": "fc83ede4163c69fe61bde9b68e815880", "score": "0.52425414", "text": "public com.idetronic.subur.model.ItemItemType create(\n\t\tcom.idetronic.subur.service.persistence.ItemItemTypePK itemItemTypePK);", "title": "" }, { "docid": "5880f9c014160240cf27a70caab3fb11", "score": "0.5241998", "text": "@Override\r\n public void onCreate(SQLiteDatabase db){\r\n db.execSQL(\"CREATE TABLE spend(S_id INTEGER REFERENCES save(S_id),C_id INTEGER REFERENCES category(C_id),amount INTEGER,month INTEGER,year INTEGER)\");\r\n\r\n /* //CREATE TABLE save(S_id INTEGER PRIMARY KEY,accountName TEXT,amount INTEGER,imageResourceID INTEGER)\r\n String SQL_CREATE_SAVE_TABLE = \"CREATE TABLE \" + SaveEntry.STABLE_NAME + \"(\"\r\n + SaveEntry.S_ID + \" INTEGER PRIMARY KEY AUTOINCREMENT, \"\r\n + SaveEntry.COLUMN_ACCOUNT + \" TEXT NOT NULL, \"\r\n + SaveEntry.COLUMN_SAMOUNT + \" INTEGER NOT NULL, \"\r\n + SaveEntry.COLUMN_SIID + \" INTEGER DEFAULT 00);\";\r\n*/\r\n db.execSQL(\"CREATE TABLE save(S_id INTEGER PRIMARY KEY,accountName TEXT,amount INTEGER,imageResourceID INTEGER)\");\r\n\r\n /* //CREATE TABLE category(C_id INTEGER PRIMARY KEY,name TEXT,imageResourceID INTEGER)\r\n String SQL_CREATE_CATEGORY_TABLE = \"CREATE TABLE \" + CategoryEntry.CTABLE_NAME + \"(\"\r\n + CategoryEntry.C_ID + \" INTEGER PRIMARY KEY AUTOINCREMENT, \"\r\n + CategoryEntry.COLUMN_NAME + \" TEXT NOT NULL, \"\r\n + CategoryEntry.COLUMN_CIID + \" INTEGER DEFAULT 11);\";\r\n */\r\n db.execSQL(\"CREATE TABLE category(C_id INTEGER PRIMARY KEY,name TEXT,imageResourceID INTEGER)\");\r\n\r\n }", "title": "" }, { "docid": "b66759881202312ee15650b6753d3388", "score": "0.5238422", "text": "public Item(Context context) {\n\t\tsuper(context);\n\t\t\n\t\tLog.e(\"Spendy\", \"Item constructor\");\n\t\tbuildParentLinearParams();\n\t\tbuildQuantities();\n\t\tresetRelativeParams();\n\t\tbuildName(context);\n\t\tbuildPrice(context);\n//\t\tOUTDATED 10/29/2014: buildQty(context);\n\t\tbuildQtySpinner(context);\n\t}", "title": "" }, { "docid": "e08b30876785629b84d998415188470c", "score": "0.52346617", "text": "protected void AddStepToTable(Action action)\r\n\t{\r\n\t\t// Averiguo el numero del nuevo item\r\n \tint itemNumer = formTableModel.getRowCount() + 1;\r\n\r\n\t\t// Agrego la fila a la tabla con el numero de paso en el primer campo\r\n\t\tint transactionColumnIndex = formTableModel.findColumn(action.getTransaction());\r\n \tObject[] newRow = new Object[formTableModel.getColumnCount() + 1];\r\n \tnewRow[0] = Integer.toString(itemNumer);\r\n \tnewRow[transactionColumnIndex] = action.toString(false);\r\n \tformTableModel.addRow(newRow);\r\n\t}", "title": "" }, { "docid": "faf675a4a1ff28c2d9a14938fb48b998", "score": "0.52344966", "text": "private static void billing() throws SQLException {\n Connection conn = H2Access.createConnection(\"me\", \"password\");\n String query = \"CREATE TABLE IF NOT EXISTS billing(\"\n // Autoincrement for easy of adding future billing\n + \"ID INT PRIMARY KEY auto_increment,\"\n + \"BALANCE_TO_DATE DOUBLE,\"\n + \"PAY_MODEL VARCHAR(255),\"\n + \"ACCOUNT_NUMBER_FK INT,\"\n + \"EMPLOYEE_ID INT,\"\n + \");\" ;\n Statement stmt = conn.createStatement();\n stmt.execute(query);\n try {\n BufferedReader br = new BufferedReader(new FileReader(\"./src/RegExModel/CSVs/billing.csv\"));\n String line;\n while((line = br.readLine()) != null){\n String[] split = line.split(\",\");\n if(!split[0].equals(\"ID\")) {\n String payModel = split[2].substring(1, split[2].length()-1);\n query = String.format(\"INSERT INTO billing VALUES(%d, %f,'%s',%d,%d);\",\n Integer.parseInt(split[0].replace(\"\\\"\",\"\")),\n Double.parseDouble(split[1].replace(\"\\\"\",\"\")),\n payModel,\n Integer.parseInt(split[3].replace(\"\\\"\",\"\")),\n Integer.parseInt(split[4].replace(\"\\\"\",\"\")));\n conn.createStatement().execute(query);\n }\n }\n br.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "c8b133ed95d62705374fa6381eaf983a", "score": "0.5234421", "text": "public static void createTable(Database db, boolean ifNotExists) {\n String constraint = ifNotExists? \"IF NOT EXISTS \": \"\";\n db.execSQL(\"CREATE TABLE \" + constraint + \"\\\"POKEMON_DATA\\\" (\" + //\n \"\\\"_id\\\" INTEGER PRIMARY KEY AUTOINCREMENT ,\" + // 0: id\n \"\\\"QTD\\\" INTEGER,\" + // 1: qtd\n \"\\\"qtd_candy\\\" INTEGER,\" + // 2: qtdCandy\n \"\\\"qtd_candy_evolve\\\" INTEGER,\" + // 3: qtdCandyEvolve\n \"\\\"TRANSFER\\\" INTEGER,\" + // 4: transfer\n \"\\\"pokemon_number\\\" INTEGER);\"); // 5: pokemonNumber\n }", "title": "" }, { "docid": "5d551bae7cf907472b646248afcb2241", "score": "0.52296436", "text": "@Override\n public void onCreate(SQLiteDatabase db) {\n String CREATE_TASK_TABLE = \"CREATE TABLE \" + Util.TASK_TABLE_NAME + \"(\"\n + Util.KEY_TASK_ID + \" INTEGER PRIMARY KEY,\" + Util.KEY_TASK + \" TEXT,\"\n + Util.KEY_TASK_DESCR + \" TEXT,\" + Util.KEY_DATE_NAME + \" LONG\" + \")\";\n\n db.execSQL(CREATE_TASK_TABLE);\n }", "title": "" }, { "docid": "4b4bcc9efff6979730f7212d816f1e5d", "score": "0.5224261", "text": "private void createItems()\n {\n // create the items in rooms\n itemList = new ArrayList<Item>();\n \n storeItem(new Item(\"hypospray\", 1, sickBay, \"north\", false));\n \n storeItem(new Item(\"broken engineering console\", engineering, \"east\")); \n \n storeItem(new Item(\"life support controls, status: normal\", engineering, \"south\"));\n \n storeItem(new Item(\"tool\", 3, engineering, \"north\", false));\n \n storeItem(new Item(\"phaser\", 3, cargoBay, \"south\", false));\n \n String discription = \"transporter pad, this will take you to \";\n \n storeItem(new Item(discription + \"science lab\", transporterRoom, \"west\"));\n \n storeItem(new Item(discription + \"sickBay\", transporterRoom, \"south\"));\n \n storeItem(new Item(discription + \"cargo bay\", transporterRoom, \"north\"));\n \n storeItem(new Item(\"modulator\", 2, scienceLab, \"south\", true)); // carried by scienceOfficer\n \n }", "title": "" }, { "docid": "ea2f0221af76dc588b25e4905d74a5de", "score": "0.5208778", "text": "public void addTask(TodoOneItem item){\n Log.d(\"addTask\", item.get_text());\n // 1. get reference to writable DB\n SQLiteDatabase db = this.getWritableDatabase();\n\n // 2. create ContentValues to add key \"column\"/value\n ContentValues values = new ContentValues();\n values.put(KEY_TITLE, item.get_text()); // get title\n values.put(KEY_DUE, item.get_date().getTimeInMillis()); // get author\n\n // 3. insert\n db.insert(DATABASE_NAME, // table\n null, //nullColumnHack\n values); // key/value -> keys = column names/ values = column values\n\n // 4. close\n db.close();\n }", "title": "" }, { "docid": "539d4ceb58a640697feb1ec616b60af0", "score": "0.5206825", "text": "public void addItem(Item item) {\r\n final String update = String.format(Locale.US, \"INSERT INTO Item (name, price, owner) \"\r\n + \"VALUES ('%s', %f, '%s')\", item.name, item.price, item.owner);\r\n\r\n try (Statement stmt = conn.createStatement()) {\r\n stmt.executeUpdate(update);\r\n } catch (SQLException se) {\r\n se.printStackTrace();\r\n }\r\n }", "title": "" }, { "docid": "0574663bbd6279c702b898bea79734a4", "score": "0.5195835", "text": "protected ToDoItem() {}", "title": "" }, { "docid": "a085782584acdf681f7f0c97b2ffb843", "score": "0.51840484", "text": "public static void createTable(SQLiteDatabase db, boolean ifNotExists) {\n String constraint = ifNotExists? \"IF NOT EXISTS \": \"\";\n db.execSQL(\"CREATE TABLE \" + constraint + \"\\\"DELIVERY_ORDERS\\\" (\" + //\n \"\\\"_id\\\" INTEGER PRIMARY KEY ,\" + // 0: id\n \"\\\"DO_DR_ID\\\" INTEGER NOT NULL ,\" + // 1: doDrId\n \"\\\"DO_D_ID\\\" INTEGER NOT NULL ,\" + // 2: doDId\n \"\\\"DO_O_ID\\\" INTEGER);\"); // 3: doOId\n }", "title": "" }, { "docid": "df012a08321c559c41b024bb3ace2f46", "score": "0.5181608", "text": "private void createNewTable() {\n\t\ttry {\n\t\t\tthis.controller.\n\t\t\t\tcreateNewTable(this, this.jTextField1.getText(), activeSpreadsheet);\n\t\t\tfireSpreadsheetSelectionChanged();\n\t\t} catch (IllegalArgumentException ex) {\n\t\t\tJOptionPane.\n\t\t\t\tshowMessageDialog(this, ex.getMessage(), \"Error\", JOptionPane.ERROR_MESSAGE);\n\t\t}\n\t}", "title": "" }, { "docid": "36d680a2a67c869d38950a828f10362c", "score": "0.5181377", "text": "public static void createTable(Database db, boolean ifNotExists) {\n String constraint = ifNotExists? \"IF NOT EXISTS \": \"\";\n db.execSQL(\"CREATE TABLE \" + constraint + \"\\\"SUBMIT_BUDGET\\\" (\" + //\n \"\\\"WEEK_INTERVAL\\\" TEXT,\" + // 0: Week_interval\n \"\\\"GIFTCARDAMOUNTSPEND_1\\\" TEXT,\" + // 1: Giftcardamountspend_1\n \"\\\"CREDITITEMS_1\\\" TEXT,\" + // 2: credititems_1\n \"\\\"CREDITAMOUNT_1\\\" TEXT,\" + // 3: Creditamount_1\n \"\\\"GIFTCARDAMOUNTSPEND_2\\\" TEXT,\" + // 4: Giftcardamountspend_2\n \"\\\"CREDITITEMS_2\\\" TEXT,\" + // 5: credititems_2\n \"\\\"CREDITAMOUNT_2\\\" TEXT,\" + // 6: Creditamount_2\n \"\\\"GIFTCARDAMOUNTSPEND_3\\\" TEXT,\" + // 7: Giftcardamountspend_3\n \"\\\"CREDITITEMS_3\\\" TEXT,\" + // 8: credititems_3\n \"\\\"CREDITAMOUNT_3\\\" TEXT,\" + // 9: Creditamount_3\n \"\\\"GIFTCARDAMOUNTSPEND_4\\\" TEXT,\" + // 10: Giftcardamountspend_4\n \"\\\"CREDITITEMS_4\\\" TEXT,\" + // 11: credititems_4\n \"\\\"CREDITAMOUNT_4\\\" TEXT,\" + // 12: Creditamount_4\n \"\\\"GIFTCARDAMOUNTSPEND_5\\\" TEXT,\" + // 13: Giftcardamountspend_5\n \"\\\"CREDITITEMS_5\\\" TEXT,\" + // 14: credititems_5\n \"\\\"CREDITAMOUNT_5\\\" TEXT,\" + // 15: Creditamount_5\n \"\\\"GIFTCARDAMOUNTSPEND_6\\\" TEXT,\" + // 16: Giftcardamountspend_6\n \"\\\"CREDITITEMS_6\\\" TEXT,\" + // 17: credititems_6\n \"\\\"CREDITAMOUNT_6\\\" TEXT,\" + // 18: Creditamount_6\n \"\\\"GIFTCARDAMOUNTSPEND_7\\\" TEXT,\" + // 19: Giftcardamountspend_7\n \"\\\"CREDITITEMS_7\\\" TEXT,\" + // 20: credititems_7\n \"\\\"CREDITAMOUNT_7\\\" TEXT,\" + // 21: Creditamount_7\n \"\\\"GIFTCARDAMOUNTSPEND_8\\\" TEXT,\" + // 22: Giftcardamountspend_8\n \"\\\"CREDITITEMS_8\\\" TEXT,\" + // 23: credititems_8\n \"\\\"CREDITAMOUNT_8\\\" TEXT,\" + // 24: Creditamount_8\n \"\\\"SUBMIT_BUDGET_ID\\\" TEXT,\" + // 25: submit_budget_id\n \"\\\"CHEF_ID\\\" TEXT,\" + // 26: Chef_id\n \"\\\"WEEK_NUMBER\\\" TEXT,\" + // 27: Week_number\n \"\\\"YEAR\\\" TEXT,\" + // 28: Year\n \"\\\"ACCOUNT_NAME\\\" TEXT,\" + // 29: Account_name\n \"\\\"WEEKLY_BUDGET\\\" TEXT,\" + // 30: Weekly_budget\n \"\\\"GROCERY_STORE\\\" TEXT,\" + // 31: Grocery_store\n \"\\\"COSTCO\\\" TEXT,\" + // 32: Costco\n \"\\\"SYSCO\\\" TEXT,\" + // 33: Sysco\n \"\\\"OTHER\\\" TEXT,\" + // 34: Other\n \"\\\"TOTAL\\\" TEXT,\" + // 35: Total\n \"\\\"OVER_UNDER\\\" TEXT,\" + // 36: Over_under\n \"\\\"STARTING_BALANCE\\\" TEXT,\" + // 37: Starting_balance\n \"\\\"ENDING_BALANCE\\\" TEXT,\" + // 38: Ending_balance\n \"\\\"SPECIAL_EVENT\\\" TEXT,\" + // 39: Special_event\n \"\\\"TOTAL_INVOICE\\\" TEXT,\" + // 40: Total_invoice\n \"\\\"IS_DRAFT\\\" TEXT);\"); // 41: Is_draft\n }", "title": "" }, { "docid": "5d1ec5922b9401148d11a3da1ba75211", "score": "0.51775235", "text": "public static void createTable(Database db, boolean ifNotExists) {\n String constraint = ifNotExists? \"IF NOT EXISTS \": \"\";\n db.execSQL(\"CREATE TABLE \" + constraint + \"\\\"PRODUCT_CATEGORY\\\" (\" + //\n \"\\\"_id\\\" INTEGER PRIMARY KEY ,\" + // 0: id\n \"\\\"MENU__ID\\\" INTEGER NOT NULL ,\" + // 1: Menu_ID\n \"\\\"MENU_NAME\\\" TEXT,\" + // 2: Menu_name\n \"\\\"PRICE\\\" REAL NOT NULL ,\" + // 3: Price\n \"\\\"DESCRIPTION\\\" TEXT,\" + // 4: Description\n \"\\\"MENU_IMAGE\\\" TEXT,\" + // 5: Menu_image\n \"\\\"CATEGORY__ID\\\" INTEGER NOT NULL ,\" + // 6: Category_ID\n \"\\\"PRODUCT__ID\\\" INTEGER NOT NULL ,\" + // 7: Product_ID\n \"\\\"SUB_CATEGORY__ID\\\" INTEGER NOT NULL ,\" + // 8: SubCategory_ID\n \"\\\"QUANTITY\\\" INTEGER NOT NULL ,\" + // 9: Quantity\n \"\\\"RATING\\\" INTEGER NOT NULL ,\" + // 10: Rating\n \"\\\"MENU_NAME_LOWERCASE\\\" TEXT);\"); // 11: menuNameLowercase\n }", "title": "" }, { "docid": "ae2e4dc3782fda4bea2538134ba6714f", "score": "0.51712894", "text": "@Override\n\tpublic void create(int custId, int carId) throws RemoteException, SQLException {\n\t\tcreateDao = new CreateDao();\n\t\tcreateDao.Create(custId, carId);\n\t}", "title": "" }, { "docid": "bb0671cc230c7f6c1aaba772436b59fa", "score": "0.5159672", "text": "public void createOrder(ArrayList<MenuItem> items, int table);", "title": "" }, { "docid": "f354655cec2b8966441a5a5d93217dd6", "score": "0.51554334", "text": "private static void createSbxcListInfo(Schema pSchema) {\n Entity info = pSchema.addEntity(\"SbjcListInfo\");\n info.addIdProperty().primaryKey().autoincrement();\n info.addIntProperty(\"cpid\");\n info.addStringProperty(\"prodname\");\n info.addStringProperty(\"sccheckname\");\n info.addStringProperty(\"sccheckdate\");\n info.addStringProperty(\"sccheckstat\");\n info.addStringProperty(\"sccheckdetail\");\n }", "title": "" }, { "docid": "c4a7f593f41a544909b14bb578882387", "score": "0.5151591", "text": "public void createInventoryTable() {\n inventoryTablePanel.setViewportView(inventoryTab.createInventoryTable());\n }", "title": "" }, { "docid": "4f60b4d734faa72e5d1d1bd4701fad5a", "score": "0.5151558", "text": "@Override\n public Object createObject(String key){\n checkKey(key);\n try{\n ItemInfo info = (ItemInfo)itemTable.get(key);\n return context.createItem(info.className);\n }\n catch(G2AccessException ex){\n throw new UnexpectedException(ex);\n }\n }", "title": "" }, { "docid": "de1f771b3a55ba61efa3e4a70c7eefa5", "score": "0.5149796", "text": "private TableField<AvailableItem> createAvailableTable() {\n\t\t\n\t\tavailableSelectionModel = new TableSelectionModel<AvailableItem>();\n\t\tSelectionChangeEvent.Handler selectionHandler = new SelectionChangeEvent.Handler() {\n\t\t\tpublic void onSelectionChange(SelectionChangeEvent event) {}\n\t\t};\n\t\tavailableSelectionModel.addSelectionChangeHandler(selectionHandler);\n\n\t\t//-----------------------------------------------\n\t\t// The key provider that allows keys to be formed from row values.\n\t\t// This is used to pass a style to StyledCells.\n\t\t//-----------------------------------------------\n\t\tfinal ProvidesKey<AvailableItem> keyProvider = new ProvidesKey<AvailableItem>() {\n\t\t\tpublic String getKey(AvailableItem item) {\n\t\t\t\tif (item.isSpecial(0.85)) {return \"color: red;\";}\n\t\t\t\tif (item.isSpecial(1.0)) {return \"color: orange;\";}\n\t\t\t\telse {return \"color: black;\";}\n\t\t\t}\n\t\t};\n\n\t\tavailableTable = new TableField<AvailableItem>(this, null,\n\t\t\t\tnew LookBook(),\n\t\t\t\tavailableSelectionModel,\n\t\t\t\tkeyProvider,\n\t\t\t\tTABLE_ROWS,\n\t\t\t\ttab++);\n\n\t\tavailableTable.addStyleName(CSS.tableStyle());\n\t\tavailableTable.setEmptyValue(availabletableEmpty());\n\t\tavailableTable.setOrderby(AvailableItem.RANK);\n\n\t\tavailableTable.setTableError(new TableError() {\n\t\t\t@Override\n\t\t\tpublic boolean error() {\n\t\t\t\treturn (\n\t\t\t\t\t\tspecialField.getValue()\n\t\t\t\t\t\t|| mapField.noValue()\n\t\t\t\t\t\t|| distanceField.noValue()\n\t\t\t\t\t\t|| fromtodateField.noValue()\n\t\t\t\t\t\t|| countField.noValue()\n\t\t\t\t\t\t|| countunitField.noValue()\n\t\t\t\t\t\t|| pricerangeField.noValue()\n\t\t\t\t\t\t|| priceunitField.noValue()\n\t\t\t\t\t\t|| currencyField.noValue()\n\t\t\t\t\t\t|| ratingField.noValue()\n\t\t\t\t\t\t|| commissionField.noValue()\n\t\t\t\t);\n\t\t\t}\n\t\t});\n\n\t\tavailableTable.setTableExecutor(new TableExecutor<LookBook>() {\n\t\t\tpublic void execute(LookBook action) {getValue(action);}\n\t\t});\n\n\t\tint col = 0;\n\n\t\t//-----------------------------------------------\n\t\t// Product column\n\t\t//-----------------------------------------------\n\t\tColumn<AvailableItem, String> productname = new Column<AvailableItem, String>( new TextCell() ) {\n\t\t\t@Override\n\t\t\tpublic String getValue( AvailableItem availableitem ) {return availableitem.getProductname(28);}\n\t\t};\n\t\tavailableTable.addStringColumn(productname, CONSTANTS.availableHeader()[col++], AvailableItem.PRODUCTNAME);\n\n\t\t//-----------------------------------------------\n\t\t// Product Info column\n\t\t//-----------------------------------------------\n\t\tColumn<AvailableItem, AvailableItem> productinfo = new Column<AvailableItem, AvailableItem>( new ImageCell<AvailableItem>(AbstractField.PRODUCTS, AbstractField.CSS.cbtInfoButton(),\n\t\t\t\tnew ImageCell.Delegate<AvailableItem>() {\n\t\t\tpublic void execute( AvailableItem availableitem ){\n\t\t\t\tBrochurePopup.getInstance().show(availableitem);\n\t\t\t}\n\t\t}\n\t\t\t\t)) {\n\t\t\t@Override\n\t\t\tpublic AvailableItem getValue( AvailableItem availableitem ) {return availableitem;}\n\t\t};\n\t\tavailableTable.addColumn(productinfo, CONSTANTS.availableHeader()[col++], AvailableItem.PRODUCTNAME);\n\n\t\t//-----------------------------------------------\n\t\t// Supplier column\n\t\t//-----------------------------------------------\n\t\tColumn<AvailableItem, String> suppliername = new Column<AvailableItem, String>( new TextCell() ) {\n\t\t\t@Override\n\t\t\tpublic String getValue(AvailableItem availableitem ) {return availableitem.getSuppliername(12);}\n\t\t};\n\t\tavailableTable.addStringColumn(suppliername, CONSTANTS.availableHeader()[col++], AvailableItem.SUPPLIERNAME);\n\n\t\t//-----------------------------------------------\n\t\t// Supplier Info column\n\t\t//-----------------------------------------------\n\t\tif (isWidget()) {col++;}\n\t\telse {\n\t\t\tColumn<AvailableItem, AvailableItem> supplierinfo = new Column<AvailableItem, AvailableItem>( new ImageCell<AvailableItem>(AbstractField.BUNDLE.info(), AbstractField.CSS.cbtInfoButton(),\n\t\t\t\t\tnew ImageCell.Delegate<AvailableItem>(){\n\t\t\t\tpublic void execute( AvailableItem availableitem ) {\n\t\t\t\t\tif (availableitem.hasRank()) {PartyPopup.getInstance().show(availableitem.getSupplierid());}\n\t\t\t\t\telse {AbstractField.addMessage(Level.VERBOSE, CONSTANTS.productRank(), offlineField);}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t)) {\n\t\t\t\t@Override\n\t\t\t\tpublic AvailableItem getValue( AvailableItem availableitem ) {return availableitem;}\n\t\t\t};\n\t\t\tavailableTable.addColumn(supplierinfo, CONSTANTS.availableHeader()[col++], AvailableItem.PRODUCTNAME);\n\t\t}\n\t\t\n\t\t//-----------------------------------------------\n\t\t// Room Count column\n\t\t//-----------------------------------------------\n\t\tColumn<AvailableItem, Number> room = new Column<AvailableItem, Number>(new NumberCell(AbstractField.IF)) {\n\t\t\t@Override\n\t\t\tpublic Integer getValue( AvailableItem availableitem ) {return availableitem.getRoom();}\n\t\t};\n\t\tavailableTable.addNumberColumn(room, CONSTANTS.availableHeader()[col++], AvailableItem.ROOM);\n\n\t\t//-----------------------------------------------\n\t\t// Quote column\n\t\t//-----------------------------------------------\n\t\tColumn<AvailableItem, Number> quote = new Column<AvailableItem, Number>(new StyledNumberCell(AbstractField.AF)) {\n\t\t\t@Override\n\t\t\tpublic Double getValue( AvailableItem availableitem ) {return availableitem.getQuote();}\n\t\t};\n\t\tavailableTable.addNumberColumn(quote, CONSTANTS.availableHeader()[col++], AvailableItem.QUOTE);\n\n\t\t//-----------------------------------------------\n\t\t// STO column\n\t\t//-----------------------------------------------\n//\t\tColumn<AvailableItem, Number> cost = new Column<AvailableItem, Number>(new NumberCell(AbstractField.AF)) {\n//\t\t\t@Override\n//\t\t\tpublic Double getValue( AvailableItem availableitem ) {return availableitem.getCost();}\n//\t\t};\n//\t\tavailableTable.addNumberColumn( cost, CONSTANTS.availableHeader()[col++], AvailableItem.COST);\n\n\t\t//-----------------------------------------------\n\t\t// Commission column\n\t\t//-----------------------------------------------\n\t\tColumn<AvailableItem, Number> commission = new Column<AvailableItem, Number>(new NumberCell(AbstractField.AF)) {\n\t\t\t@Override\n\t\t\tpublic Double getValue( AvailableItem availableitem ) {return availableitem.getCommission();}\n\t\t};\n\t\tavailableTable.addNumberColumn( commission, CONSTANTS.availableHeader()[col++], AvailableItem.COMMISSION);\n\n\t\t//-----------------------------------------------\n\t\t// Price column\n\t\t//-----------------------------------------------\n\t\tColumn<AvailableItem, Number> rack = new Column<AvailableItem, Number>(new NumberCell(AbstractField.AF)) {\n\t\t\t@Override\n\t\t\tpublic Double getValue( AvailableItem availableitem ) {return availableitem.getPrice();}\n\t\t};\n\t\tavailableTable.addNumberColumn( rack, CONSTANTS.availableHeader()[col++], AvailableItem.PRICE);\n\n\t\t//-----------------------------------------------\n\t\t// Rating column\n\t\t//-----------------------------------------------\n\t\tColumn<AvailableItem, Integer> rating = new Column<AvailableItem, Integer>( new ImageCell<Integer>(AbstractField.STARS, CSS.ratingStyle())) {\n\t\t\t@Override\n\t\t\tpublic Integer getValue( AvailableItem availableitem ) {return availableitem.getKey();}\n\t\t};\n\t\tavailableTable.addColumn(rating, CONSTANTS.availableHeader()[col++], AvailableItem.RATING);\n\n\t\treturn availableTable;\n\t}", "title": "" }, { "docid": "6ce256811e759ddf52ef2a6ccaf0588b", "score": "0.514943", "text": "private void loadTable() {\n try {\n ArrayList<ItemDTO> allItems = ctrlItem.getAll();\n DefaultTableModel dtm = (DefaultTableModel) tblItem.getModel();\n dtm.setRowCount(0);\n for (ItemDTO item : allItems) {\n Object[] rowData = {item.getCode(), item.getDescription(), item.getUnitPrice(), item.getQtyOnHand()};\n dtm.addRow(rowData);\n }\n\n } catch (Exception ex) {\n Logger.getLogger(CustomerForm.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "title": "" }, { "docid": "662f620204b8a4e75166b0c331e78727", "score": "0.514767", "text": "public Entry createItemEntry(Entry item) {\n ContentValues values = item.toValues();\n mDatabase.insert(EntriesTable.TABLE_ENTRY_ITEMS, null, values);\n return item;\n }", "title": "" }, { "docid": "447d2d6a0a7e91ac03b39da43c259ade", "score": "0.51452786", "text": "Long addMdItem(Connection conn, Long parentSeq, Long mdItemTypeSeq,\n Long auMdSeq, String date, String coverage, long fetchTime)\n\t throws DbException {\n final String DEBUG_HEADER = \"addMdItem(): \";\n if (log.isDebug2()) {\n log.debug2(DEBUG_HEADER + \"parentSeq = \" + parentSeq);\n log.debug2(DEBUG_HEADER + \"mdItemTypeSeq = \" + mdItemTypeSeq);\n log.debug2(DEBUG_HEADER + \"auMdSeq = \" + auMdSeq);\n log.debug2(DEBUG_HEADER + \"date = \" + date);\n log.debug2(DEBUG_HEADER + \"coverage = \" + coverage);\n log.debug2(DEBUG_HEADER + \"fetchTime = \" + fetchTime);\n }\n\n PreparedStatement insertMdItem = dbManager.prepareStatement(conn,\n\tINSERT_MD_ITEM_QUERY, Statement.RETURN_GENERATED_KEYS);\n\n ResultSet resultSet = null;\n Long mdItemSeq = null;\n\n try {\n // skip auto-increment key field #0\n if (parentSeq != null) {\n\tinsertMdItem.setLong(1, parentSeq);\n } else {\n\tinsertMdItem.setNull(1, BIGINT);\n }\n insertMdItem.setLong(2, mdItemTypeSeq);\n if (auMdSeq != null) {\n\tinsertMdItem.setLong(3, auMdSeq);\n } else {\n\tinsertMdItem.setNull(3, BIGINT);\n }\n insertMdItem.setString(4, date);\n insertMdItem.setString(5, coverage);\n insertMdItem.setLong(6, fetchTime);\n dbManager.executeUpdate(insertMdItem);\n resultSet = insertMdItem.getGeneratedKeys();\n\n if (!resultSet.next()) {\n\tlog.error(\"Unable to create metadata item table row.\");\n\treturn null;\n }\n\n mdItemSeq = resultSet.getLong(1);\n if (log.isDebug3())\n\tlog.debug3(DEBUG_HEADER + \"Added mdItemSeq = \" + mdItemSeq);\n } catch (SQLException sqle) {\n String message = \"Cannot insert metadata item\";\n log.error(message, sqle);\n log.error(\"SQL = '\" + INSERT_MD_ITEM_QUERY + \"'.\");\n log.error(\"parentSeq = \" + parentSeq + \".\");\n log.error(\"mdItemTypeSeq = \" + mdItemTypeSeq + \".\");\n log.error(\"auMdSeq = \" + auMdSeq + \".\");\n log.error(\"date = '\" + date + \"'.\");\n log.error(\"coverage = '\" + coverage + \"'.\");\n log.error(\"fetchTime = \" + fetchTime);\n throw new DbException(message, sqle);\n } finally {\n DbManager.safeCloseResultSet(resultSet);\n DbManager.safeCloseStatement(insertMdItem);\n }\n\n if (log.isDebug2()) log.debug2(DEBUG_HEADER + \"mdItemSeq = \" + mdItemSeq);\n return mdItemSeq;\n }", "title": "" }, { "docid": "f2672a2cb489e6f702a844a59971b7c9", "score": "0.51415664", "text": "private TableField<AvailableItem> createSpecialTable() {\n\n\t\tspecialSelectionModel = new TableSelectionModel<AvailableItem>();\n\t\tSelectionChangeEvent.Handler selectionHandler = new SelectionChangeEvent.Handler() {\n\t\t\tpublic void onSelectionChange(SelectionChangeEvent event) {\n\t\t\t}\n\t\t};\n\t\tspecialSelectionModel.addSelectionChangeHandler(selectionHandler);\n\n\t\tspecialTable = new TableField<AvailableItem> (this, null,\n\t\t\t\tnew LookBookSpecial(),\n\t\t\t\tspecialSelectionModel,\n\t\t\t\tTABLE_ROWS,\n\t\t\t\ttab++);\n\n\t\tspecialTable.addStyleName(CSS.tableStyle());\n\t\tspecialTable.setEmptyValue(availabletableEmpty());\n\n\t\tspecialTable.setTableError(new TableError() {\n\t\t\t@Override\n\t\t\tpublic boolean error() {\n\t\t\t\treturn (\n\t\t\t\t\t\t!specialField.getValue()\n\t\t\t\t\t\t|| mapField.noValue()\n\t\t\t\t\t\t|| distanceField.noValue()\n\t\t\t\t\t\t|| fromtodateField.noValue()\n\t\t\t\t\t\t|| countField.noValue()\n\t\t\t\t\t\t|| countunitField.noValue()\n\t\t\t\t\t\t|| pricerangeField.noValue()\n\t\t\t\t\t\t|| priceunitField.noValue()\n\t\t\t\t\t\t|| currencyField.noValue()\n\t\t\t\t\t\t|| ratingField.noValue()\n\t\t\t\t\t\t|| commissionField.noValue()\n\t\t\t\t\t\t);\n\t\t\t}\n\t\t});\n\n\t\tspecialTable.setTableExecutor(new TableExecutor<LookBookSpecial>() {\n\t\t\tpublic void execute(LookBookSpecial action) {\n\t\t\t\tgetValue(action);\n\t\t\t}\n\t\t});\n\n\t\tint col = 0;\n\n\t\t//-----------------------------------------------\n\t\t// Product column\n\t\t//-----------------------------------------------\n\t\tColumn<AvailableItem, String> name = new Column<AvailableItem, String>( new TextCell() ) {\n\t\t\t@Override\n\t\t\tpublic String getValue( AvailableItem availableitem ) {return availableitem.getProductname(20);}\n\t\t};\n\t\tspecialTable.addStringColumn(name, CONSTANTS.specialHeader()[col++], AvailableItem.PRODUCTNAME);\n\n\t\t//-----------------------------------------------\n\t\t// Product Info column\n\t\t//-----------------------------------------------\n\t\tColumn<AvailableItem, AvailableItem> productinfo = new Column<AvailableItem, AvailableItem>( new ImageCell<AvailableItem>(AbstractField.BUNDLE.info(), AbstractField.CSS.cbtInfoButton(),\n\t\t\t\tnew ImageCell.Delegate<AvailableItem>() {\n\t\t\tpublic void execute( AvailableItem availableitem ) {\n\t\t\t\tBrochurePopup.getInstance().show(availableitem);\n\t\t\t}\n\t\t}\n\t\t\t\t)) {\n\t\t\t@Override\n\t\t\tpublic AvailableItem getValue( AvailableItem availableitem ) {return availableitem;}\n\t\t};\n\t\tspecialTable.addColumn(productinfo, CONSTANTS.specialHeader()[col++], AvailableItem.PRODUCTNAME);\n\n\t\t//-----------------------------------------------\n\t\t// Supplier column\n\t\t//-----------------------------------------------\n\t\tColumn<AvailableItem, String> supplier = new Column<AvailableItem, String>( new TextCell() ) {\n\t\t\t@Override\n\t\t\tpublic String getValue( AvailableItem availableitem ) {return availableitem.getSuppliername(15);}\n\t\t};\n\t\tspecialTable.addStringColumn(supplier, CONSTANTS.specialHeader()[col++], AvailableItem.SUPPLIERNAME);\n\n\t\t//-----------------------------------------------\n\t\t// Supplier Info column\n\t\t//-----------------------------------------------\n\t\tColumn<AvailableItem, AvailableItem> supplierinfo = new Column<AvailableItem, AvailableItem>( new ImageCell<AvailableItem>(AbstractField.BUNDLE.info(), AbstractField.CSS.cbtInfoButton(),\n\t\t\t\tnew ImageCell.Delegate<AvailableItem>(){\n\t\t\tpublic void execute( AvailableItem availableitem ){\n\t\t\t\tif (availableitem.hasRank()) {PartyPopup.getInstance().show(availableitem.getSupplierid());}\n\t\t\t}\n\t\t}\n\t\t\t\t)) {\n\t\t\t@Override\n\t\t\tpublic AvailableItem getValue( AvailableItem availableitem ) {return availableitem;}\n\t\t};\n\t\tspecialTable.addColumn(supplierinfo, CONSTANTS.specialHeader()[col++], AvailableItem.PRODUCTNAME);\n\n\t\t//-----------------------------------------------\n\t\t// Days column\n\t\t//-----------------------------------------------\n\t\tColumn<AvailableItem, Number> days = new Column<AvailableItem, Number>(new NumberCell(AbstractField.SIF)) {\n\t\t\t@Override\n\t\t\tpublic Double getValue( AvailableItem availableitem ) {return availableitem.getDuration(Time.DAY);}\n\t\t};\n\t\tspecialTable.addNumberColumn(days, CONSTANTS.specialHeader()[col++], AvailableItem.DURATION);\n\n\t\t//-----------------------------------------------\n\t\t// From Date column\n\t\t//-----------------------------------------------\n\t\tColumn<AvailableItem, Date> fromdate = new Column<AvailableItem, Date>(new DateCell(AbstractRoot.getDF())) {\n\t\t\t@Override\n\t\t\tpublic Date getValue( AvailableItem availableitem ) {return Time.getDateClient(availableitem.getFromdate());}\n\t\t};\n\t\tspecialTable.addDateColumn(fromdate, CONSTANTS.specialHeader()[col++], AvailableItem.FROMDATE);\n\n\t\t//-----------------------------------------------\n\t\t// To Date column\n\t\t//-----------------------------------------------\n\t\tColumn<AvailableItem, Date> todate = new Column<AvailableItem, Date>(new DateCell(AbstractRoot.getDF())) {\n\t\t\t@Override\n\t\t\tpublic Date getValue( AvailableItem availableitem ) {return Time.getDateClient(availableitem.getTodate());}\n\t\t};\n\t\tspecialTable.addDateColumn(todate, CONSTANTS.specialHeader()[col++], AvailableItem.TODATE);\n\n\t\t//-----------------------------------------------\n\t\t// Quote column\n\t\t//-----------------------------------------------\n\t\tColumn<AvailableItem, Number> quote = new Column<AvailableItem, Number>(new NumberCell(AbstractField.AF)) {\n\t\t\t@Override\n\t\t\tpublic Double getValue( AvailableItem availableitem ) {return availableitem.getQuote();}\n\t\t};\n\t\tspecialTable.addNumberColumn(quote, CONSTANTS.specialHeader()[col++], AvailableItem.QUOTE);\n\n\t\t//-----------------------------------------------\n\t\t// STO column\n\t\t//-----------------------------------------------\n\t\t//\t\tColumn<AvailableItem, Number> cost = new Column<AvailableItem, Number>(new NumberCell(AbstractField.AF)) {\n\t\t//\t\t\t@Override\n\t\t//\t\t\tpublic Double getValue( AvailableItem availableitem ) {return availableitem.getCost();}\n\t\t//\t\t};\n\t\t//\t\tspecialTable.alignRightCol(col);\n\t\t//\t\tspecialTable.addNumberColumn( cost, CONSTANTS.specialHeader()[col++], AvailableItem.COST);\n\n\t\t//-----------------------------------------------\n\t\t// Commission column\n\t\t//-----------------------------------------------\n\t\tColumn<AvailableItem, Number> commission = new Column<AvailableItem, Number>(new NumberCell(AbstractField.AF)) {\n\t\t\t@Override\n\t\t\tpublic Double getValue( AvailableItem availableitem ) {return availableitem.getCommission();}\n\t\t};\n\t\tspecialTable.addNumberColumn( commission, CONSTANTS.specialHeader()[col++], AvailableItem.COMMISSION);\n\n\t\t//-----------------------------------------------\n\t\t// Price column\n\t\t//-----------------------------------------------\n\t\tColumn<AvailableItem, Number> price = new Column<AvailableItem, Number>(new NumberCell(AbstractField.AF)) {\n\t\t\t@Override\n\t\t\tpublic Double getValue( AvailableItem availableitem ) {return availableitem.getPrice();}\n\t\t};\n\t\tspecialTable.addNumberColumn( price, CONSTANTS.specialHeader()[col++], AvailableItem.PRICE);\n\n\t\t//-----------------------------------------------\n\t\t// Rating column\n\t\t//-----------------------------------------------\n\t\tColumn<AvailableItem, Integer> rating = new Column<AvailableItem, Integer>( new ImageCell<Integer>(AbstractField.STARS, CSS.ratingStyle())) {\n\t\t\t@Override\n\t\t\tpublic Integer getValue( AvailableItem availableitem ) {return availableitem.getKey();}\n\t\t};\n\t\tspecialTable.addColumn(rating, CONSTANTS.specialHeader()[col++], AvailableItem.RATING);\n\t\tspecialTable.setVisible(false);\n\t\treturn specialTable;\n\t}", "title": "" }, { "docid": "ba20d3bbfa702db59c6342be7b8f5643", "score": "0.514038", "text": "@Override\r\n\tpublic boolean createItem(Item item) {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "119c6b742fc1cb2e5a3ff874bda8ea1b", "score": "0.51336586", "text": "private void createContainer() {\n\n\t\t\t// Set the properties (columns)\n\t\t\tcontainer = new IndexedContainer();\n\t\t\tcontainer.addContainerProperty( \"name\", String.class, null );\n\t\t\tcontainer.addContainerProperty( \"number\", Integer.class, null );\n\t\t\tcontainer.addContainerProperty( \"id\", String.class, null );\n\n\t\t\t// Add items (rows)\n\t\t\taddItem( \"Bob\", 10 );\n\t\t\taddItem( \"Harry\", 1 );\n\t\t\taddItem( \"Margaret\", 13 );\n\t\t\taddItem( \"Glenda\", 22 );\n\t\t\taddItem( \"Jessica\", 24 );\n\t\t\taddItem( null, 99 );\n\t\t\taddItem( \"Knute\", null );\n\t\t}", "title": "" }, { "docid": "16b7e6d7ec891b6a2ec04caf699cd44f", "score": "0.5130908", "text": "private void createTransactionsTable() throws SQLException {\n\t\tString createString = \"\" +\n\t\t\t\t\"create table \" + dbName + \".\" + TABLE_TRANSACTIONS +\n\t\t\t\t\"(TRANSACTION_ID int NOT NULL GENERATED ALWAYS AS IDENTITY (START WITH 1, INCREMENT BY 1),\" +\n\t\t\t\t\"DATE timestamp NOT NULL, \" + \n\t\t\t\t\"SUBTOTAL double NOT NULL, \" +\n\t\t\t\t\"SALES_TAX double NOT NULL, \" +\n\t\t\t\t\"GRAND_TOTAL double NOT NULL, \" +\n\t\t\t\t\"ITEMS clob, \" +\n\t\t\t\t\"PRIMARY KEY (TRANSACTION_ID))\";\n\t\t\n\t\tStatement stmt = connection.createStatement();\n\t\t\n\t\tstmt.executeUpdate(createString);\n\t\tstmt.close();\t\t\n\t}", "title": "" }, { "docid": "4447d7422e42c6bf824c98c0b830c29e", "score": "0.5128458", "text": "public static void createTable(Database db, boolean ifNotExists) {\n String constraint = ifNotExists? \"IF NOT EXISTS \": \"\";\n db.execSQL(\"CREATE TABLE \" + constraint + \"\\\"CYCLE\\\" (\" + //\n \"\\\"_id\\\" INTEGER PRIMARY KEY ,\" + // 0: ID\n \"\\\"PLAN_ID\\\" INTEGER NOT NULL ,\" + // 1: PlanID\n \"\\\"BEGIN_TIME\\\" TEXT,\" + // 2: BeginTime\n \"\\\"END_TIME\\\" TEXT);\"); // 3: EndTime\n }", "title": "" }, { "docid": "b38deab269ec9dea353fd0720fa640d8", "score": "0.51266074", "text": "private void addItems() {\n ItemDescriptionDTO appleDescription = new ItemDescriptionDTO(\"Apple\", new Amount(10), VAT_TWENTY_FIVE);\n ItemDescriptionDTO milkDescription = new ItemDescriptionDTO(\"Milk\", new Amount(20), VAT_TWELVE);\n ItemDescriptionDTO SpinachDescription = new ItemDescriptionDTO(\"Spinach\", new Amount(30), VAT_TWELVE);\n ItemDescriptionDTO errorDescription = new ItemDescriptionDTO(\"error\", new Amount(0), VAT_TWENTY_FIVE);\n\n itemList.add(new ItemDTO(1, appleDescription));\n itemList.add(new ItemDTO(2, milkDescription));\n itemList.add(new ItemDTO(3, SpinachDescription));\n itemList.add(new ItemDTO(-1, errorDescription));\n\n }", "title": "" }, { "docid": "27562b6c5506fa56910701097436822a", "score": "0.51154274", "text": "public static void createTable(SQLiteDatabase db, boolean ifNotExists) {\n String constraint = ifNotExists? \"IF NOT EXISTS \": \"\";\n db.execSQL(\"CREATE TABLE \" + constraint + \"\\\"PRODUCT\\\" (\" + //\n \"\\\"ID\\\" TEXT PRIMARY KEY NOT NULL UNIQUE ,\" + // 0: id\n \"\\\"ORDER_ID\\\" TEXT,\" + // 1: order_id\n \"\\\"STRING_NUMBER\\\" TEXT,\" + // 2: string_number\n \"\\\"BRUTTO_WEIGHT\\\" TEXT,\" + // 3: brutto_weight\n \"\\\"COUNT\\\" TEXT,\" + // 4: count\n \"\\\"DESCRIPTION\\\" TEXT,\" + // 5: description\n \"\\\"MEASURE_UNIT\\\" TEXT);\"); // 6: measure_unit\n }", "title": "" }, { "docid": "a99b9bcdaaba861c5dd75157783ac183", "score": "0.51131773", "text": "@Override\n\tpublic ICpItem createItem(ICpItem parent, String tag) {\n\t\treturn super.createItem(parent, tag);\n\t}", "title": "" }, { "docid": "8b19b510d18486f8c838c92ea7ae3249", "score": "0.5112151", "text": "public static void createTable(Database db, boolean ifNotExists) {\n String constraint = ifNotExists? \"IF NOT EXISTS \": \"\";\n db.execSQL(\"CREATE TABLE \" + constraint + \"\\\"CONTENT\\\" (\" + //\n \"\\\"_id\\\" INTEGER PRIMARY KEY ,\" + // 0: id\n \"\\\"ITEM_ID\\\" TEXT NOT NULL ,\" + // 1: item_id\n \"\\\"CATEGORY\\\" INTEGER,\" + // 2: category\n \"\\\"TITLE\\\" TEXT,\" + // 3: title\n \"\\\"IMG_URL\\\" TEXT,\" + // 4: img_url\n \"\\\"PIC_INFO\\\" TEXT,\" + // 5: pic_info\n \"\\\"WORDS_INFO\\\" TEXT,\" + // 6: words_info\n \"\\\"SUBTITLE\\\" TEXT,\" + // 7: subtitle\n \"\\\"POST_DATE\\\" INTEGER);\"); // 8: post_date\n }", "title": "" }, { "docid": "aa082cd16cb565a7e19f007bf80541bb", "score": "0.51107585", "text": "public BlueprintItem() {\n\n\t\t}", "title": "" }, { "docid": "3a4e99a38a745a0d1e628dd137fdbeaa", "score": "0.51068425", "text": "@Override\n\t\tpublic void onCreate(SQLiteDatabase db) {\n\t\t\tdb.execSQL(\"CREATE TABLE \" + DATABASE_TABLE + \"(\" + KEY_ROWID\n\t\t\t\t\t+ \" INTEGER PRIMARY KEY AUTOINCREMENT,\" + KEY_TYPE\n\t\t\t\t\t+ \" TEXT NOT NULL, \" + KEY_VALUE + \" TEXT NOT NULL);\");\n\t\t}", "title": "" }, { "docid": "4efbba791c0bba21c25e6768ffd615ca", "score": "0.50975925", "text": "public void billsData()\n\t{\n\t\ttry {\n\t\t\tDatabaseMetaData d=con.getMetaData();\n\t\t\tResultSet rs=d.getTables(null,null,\"BillsData\",null);\n\t\t\tif(rs.next())\n\t\t\t{\n\t//\t\t\tJOptionPane.showMessageDialog(null,\"BillsData table exist\");\n\t\t\t}\n\t\t\telse \n\t\t\t{\n\t\t\t\tString Create_Table=\"create table BillsData(Invoice_No int references CustomerData,Product_No int references ProductsData)\";\n\t\t\t\tPreparedStatement ps=con.prepareStatement(Create_Table);\n\t\t\t\tps.executeUpdate();\n\t//\t\t\tJOptionPane.showMessageDialog(null,\"BillsData created successfully!\");\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t}", "title": "" } ]
960e310f8256070e4f99e0b568c39fe1
Method to delete the given entity record with the given id value.
[ { "docid": "629d10dcf578f2777aa9e6686a9237da", "score": "0.0", "text": "public void delete() {\r\n\t\trunDeleteQuery(this);\r\n\t}", "title": "" } ]
[ { "docid": "d988cf83d9b394ba2644d0ffef8d03bb", "score": "0.7503092", "text": "public void delete(long id);", "title": "" }, { "docid": "d988cf83d9b394ba2644d0ffef8d03bb", "score": "0.7503092", "text": "public void delete(long id);", "title": "" }, { "docid": "d988cf83d9b394ba2644d0ffef8d03bb", "score": "0.7503092", "text": "public void delete(long id);", "title": "" }, { "docid": "788b79d41ac951b2b8358f124b8cd378", "score": "0.743992", "text": "void deleteById(Long id);", "title": "" }, { "docid": "788b79d41ac951b2b8358f124b8cd378", "score": "0.743992", "text": "void deleteById(Long id);", "title": "" }, { "docid": "788b79d41ac951b2b8358f124b8cd378", "score": "0.743992", "text": "void deleteById(Long id);", "title": "" }, { "docid": "281e02f821dbd744e6b040ff8c1b61bf", "score": "0.7434101", "text": "public void deleteById(Long entityId) {\n\n\t}", "title": "" }, { "docid": "1234722bc769c07f34ab5f0949b0faf8", "score": "0.7430871", "text": "public void deleteById(String id);", "title": "" }, { "docid": "1234722bc769c07f34ab5f0949b0faf8", "score": "0.7430871", "text": "public void deleteById(String id);", "title": "" }, { "docid": "e703cc5b1a6c7053471691f3011f4c25", "score": "0.7415248", "text": "public void delete(Long id);", "title": "" }, { "docid": "e703cc5b1a6c7053471691f3011f4c25", "score": "0.7415248", "text": "public void delete(Long id);", "title": "" }, { "docid": "e703cc5b1a6c7053471691f3011f4c25", "score": "0.7415248", "text": "public void delete(Long id);", "title": "" }, { "docid": "e703cc5b1a6c7053471691f3011f4c25", "score": "0.7415248", "text": "public void delete(Long id);", "title": "" }, { "docid": "b90001945c01f0c7f4d058810bf6aff2", "score": "0.74023354", "text": "public boolean deleteById(Object id);", "title": "" }, { "docid": "b90001945c01f0c7f4d058810bf6aff2", "score": "0.74023354", "text": "public boolean deleteById(Object id);", "title": "" }, { "docid": "052aac6016395855f1bad85f9a3d1a10", "score": "0.73898596", "text": "void deleteById(String id);", "title": "" }, { "docid": "052aac6016395855f1bad85f9a3d1a10", "score": "0.73898596", "text": "void deleteById(String id);", "title": "" }, { "docid": "052aac6016395855f1bad85f9a3d1a10", "score": "0.73898596", "text": "void deleteById(String id);", "title": "" }, { "docid": "052aac6016395855f1bad85f9a3d1a10", "score": "0.73898596", "text": "void deleteById(String id);", "title": "" }, { "docid": "052aac6016395855f1bad85f9a3d1a10", "score": "0.73898596", "text": "void deleteById(String id);", "title": "" }, { "docid": "052aac6016395855f1bad85f9a3d1a10", "score": "0.73898596", "text": "void deleteById(String id);", "title": "" }, { "docid": "052aac6016395855f1bad85f9a3d1a10", "score": "0.73898596", "text": "void deleteById(String id);", "title": "" }, { "docid": "115d81bca52653a81f6aabfbbaf2cdb6", "score": "0.73796797", "text": "void deleteById(Integer id);", "title": "" }, { "docid": "0c435f08a7b27809a13c53121b10e959", "score": "0.73757845", "text": "public void delete(Integer id);", "title": "" }, { "docid": "0c435f08a7b27809a13c53121b10e959", "score": "0.73757845", "text": "public void delete(Integer id);", "title": "" }, { "docid": "aa5dd66cfcb4f99b0d7608a8be55ca61", "score": "0.7367144", "text": "public void delete(Record entity) {\r\n\t\tLogUtil.log(\"deleting Record instance\", Level.INFO, null);\r\n\t\ttry {\r\n\t\t\tentity = entityManager.getReference(Record.class, entity.getRid());\r\n\t\t\tentityManager.remove(entity);\r\n\t\t\tLogUtil.log(\"delete successful\", Level.INFO, null);\r\n\t\t} catch (RuntimeException re) {\r\n\t\t\tLogUtil.log(\"delete failed\", Level.SEVERE, re);\r\n\t\t\tthrow re;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "124efffb198708ac44fe6e0c830bf1d5", "score": "0.7337878", "text": "public void delete(String id);", "title": "" }, { "docid": "124efffb198708ac44fe6e0c830bf1d5", "score": "0.7337878", "text": "public void delete(String id);", "title": "" }, { "docid": "8f23db63d1528d681c017f25dbc97ace", "score": "0.731116", "text": "void deleteById(int id);", "title": "" }, { "docid": "8f23db63d1528d681c017f25dbc97ace", "score": "0.731116", "text": "void deleteById(int id);", "title": "" }, { "docid": "12fda0750b5c2120c35719d8b67757ea", "score": "0.7291995", "text": "T delete(ID id) throws EntityNotFoundException;", "title": "" }, { "docid": "b0bd1add670cc2f305d31c0b996d6246", "score": "0.72829163", "text": "public Boolean delete(Integer id);", "title": "" }, { "docid": "30c39f1a8e07d646a52dc90bd4f4fa6f", "score": "0.724605", "text": "public void deleteById(Long id) throws NotFoundException;", "title": "" }, { "docid": "209828bca865637bb35ecab99d291aea", "score": "0.72378826", "text": "public void deleteById(Integer id) {\n\t\t\n\t}", "title": "" }, { "docid": "3f1ba746e0f2d18c5463b2a1f5f252ff", "score": "0.7233998", "text": "void deleteById(ID id);", "title": "" }, { "docid": "66d93166cfbbfc5b659e1caa8cf0c3ca", "score": "0.7216542", "text": "public void deleteProductionRecord(long recordId);", "title": "" }, { "docid": "d7f7a348e2436da8f148883cc7a9b498", "score": "0.72154135", "text": "boolean delete(Integer id);", "title": "" }, { "docid": "d7f7a348e2436da8f148883cc7a9b498", "score": "0.72154135", "text": "boolean delete(Integer id);", "title": "" }, { "docid": "d7f7a348e2436da8f148883cc7a9b498", "score": "0.72154135", "text": "boolean delete(Integer id);", "title": "" }, { "docid": "73d5c4c0594ff725838c15ee623dc9fb", "score": "0.72096586", "text": "public boolean delete(Long id);", "title": "" }, { "docid": "73d5c4c0594ff725838c15ee623dc9fb", "score": "0.72096586", "text": "public boolean delete(Long id);", "title": "" }, { "docid": "7dfb9b5505fccfd9c0ed111be8ac877a", "score": "0.71995354", "text": "@Override\n public void deleteById(IDType id) {\n EntityType entity = this.retrieveById(id);\n if (entity != null) {\n getCurrentSession().delete(entity);\n }\n }", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" }, { "docid": "8fe046818857c6fdee7b9d203ef4ab19", "score": "0.71620727", "text": "void delete(Long id);", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "1602bca831de76cb4bf3fc75a87738fa", "score": "0.0", "text": "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_financial_state_info);\n\n setUpVariables();\n final DatabaseHelper db = new DatabaseHelper(this);\n\n submit.setOnClickListener(new OnClickListener() {\n\n @Override\n public void onClick(View v) {\n // TODO Auto-generated method stub\n\n //get strings from text boxes\n String enteredCash = enterCash.getText().toString();\n String enteredAssets = enterAssets.getText().toString();\n String enteredLiabilities = enterLiabilities.getText().toString();\n String enteredCreditCards = enterCreditCards.getText().toString();\n String enteredOther = enterOther.getText().toString();\n\n //make sure all fields are filled in\n if (enteredCash.equals(\"\") || enteredAssets.equals(\"\") || enteredLiabilities.equals(\"\") || enteredCreditCards.equals(\"\") ||\n enteredOther.equals(\"\")) {\n error.setVisibility(View.VISIBLE);\n\n } else {\n\n Intent j = new Intent(FinancialStateInfoActivity.this, FinancialStateActivity.class);\n /*\n\t\t\t\t\tj.putExtra(\"cash\", enteredCash.toString());\n\t\t\t\t\tj.putExtra(\"assets\", enteredAssets);\n\t\t\t\t\tj.putExtra(\"liabilities\", enteredLiabilities);\n\t\t\t\t\tj.putExtra(\"creditCards\", enteredCreditCards);\n\t\t\t\t\tj.putExtra(\"other\", enteredOther);\n\t\t\t\t\t*/\n\n\n SimpleDateFormat dateFormat = new SimpleDateFormat(\"MM/dd/yy\");\n Date date = new Date();\n String d = dateFormat.format(date);\n\n\n //add financial state to the database\n FinancialState state = new FinancialState(0);\n state.setDate(d);\n state.setCash(enteredCash);\n state.setAssets(enteredAssets);\n state.setLiabilities(enteredLiabilities);\n state.setCreditCards(enteredCreditCards);\n state.setOther(enteredOther);\n\n\n db.addState(state);\n startActivity(j);\n finish();\n\n }\n\n\n }\n\n });\n }", "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": "" } ]
9dfa357f8854df8af96593e7cfa8235c
Test of deleteFromBegin method, of class List, in case, when list is empty.
[ { "docid": "a0d03e853f8a67edb4a7f5038216e7e5", "score": "0.73437154", "text": "public void testDeleteIntegerFromEndInCaseOfEmptness() throws DeletionFromEmptyListException {\n intList.deleteFromEnd();\n }", "title": "" } ]
[ { "docid": "f09f2be80d0374efb0f23f1c3e03ce98", "score": "0.80745643", "text": "@Test\n public void testDeleteIntegerFromBegin() throws DeletionFromEmptyListException {\n intList.addToBegin(3);\n intList.addToBegin(4);\n intList.deleteFromBegin();\n assertEquals(3, intList.first(), 0.0);\n }", "title": "" }, { "docid": "3433237e28088a12dd544cba2dad8f06", "score": "0.76806986", "text": "@Test\n public void testIsEmpty() throws DeletionFromEmptyListException {\n assertTrue(intList.isEmpty());\n intList.addToBegin(3);\n assertFalse(intList.isEmpty());\n intList.deleteFromEnd();\n assertTrue(intList.isEmpty());\n assertTrue(strList.isEmpty());\n }", "title": "" }, { "docid": "b54742e6e2fffe5827f8feec2fd7f78a", "score": "0.7617089", "text": "public void testDeleteStringFromBeginInCaseOfEmptness() throws DeletionFromEmptyListException {\n strList.deleteFromBegin();\n }", "title": "" }, { "docid": "7712c6da09719dcb491b0598825c31a6", "score": "0.75603527", "text": "@Test\n public void testDeleteStringFromBegin() throws DeletionFromEmptyListException {\n strList.addToBegin(\"world\");\n strList.addToBegin(\"Hello\");\n strList.deleteFromBegin();\n assertEquals(\"world\", strList.first());\n }", "title": "" }, { "docid": "92aff5f6a8d625997fabbc2dea890c8d", "score": "0.7364561", "text": "@Test\n public void testDeleteIntegerFromEnd() throws DeletionFromEmptyListException {\n intList.addToBegin(3);\n intList.addToBegin(4);\n intList.deleteFromEnd();\n assertEquals(4, intList.last(), 0.0);\n }", "title": "" }, { "docid": "e0caf3cff9c7414f6adb73a1ba0b5f96", "score": "0.7184992", "text": "@Test\n public void testNumberOfElements() throws DeletionFromEmptyListException {\n assertEquals(0, intList.numberOfElements());\n intList.addToBegin(3);\n intList.addToBegin(2);\n assertEquals(2, intList.numberOfElements());\n intList.deleteFromBegin();\n assertEquals(1, intList.numberOfElements());\n strList.addToEnd(\"Yes\");\n assertEquals(1, strList.numberOfElements());\n }", "title": "" }, { "docid": "8563dedf1bf5b2028ef9dbaeb9cc3deb", "score": "0.71454126", "text": "@org.junit.jupiter.api.Test\n void deleteList() {\n }", "title": "" }, { "docid": "9c7e53e8a1fa6490695cc60506f5c37d", "score": "0.71346414", "text": "@Test\n public void testDeleteIntegerElement() throws DeletionFromEmptyListException {\n intList.addToBegin(3);\n intList.addToEnd(4);\n intList.addToBegin(2);\n intList.deleteElement(4);\n assertEquals(3, intList.last(), 0.0);\n }", "title": "" }, { "docid": "9c24e048d9f396444bf7fc303a8f2bd1", "score": "0.69383055", "text": "public void testDeleteStringFromEndInCaseOfEmptness() throws DeletionFromEmptyListException {\n strList.deleteFromEnd();\n }", "title": "" }, { "docid": "a49798bde531c104ebb3a9c3b0ab98b4", "score": "0.6852154", "text": "@Test\n public void testDeleteNonExistingList() {\n }", "title": "" }, { "docid": "e90ce24622760bd37639e7bc2540c6fe", "score": "0.67855936", "text": "@Test\n public void testDeleteStringFromEnd() throws DeletionFromEmptyListException {\n strList.addToBegin(\"world\");\n strList.addToBegin(\"Hello\");\n strList.deleteFromEnd();\n assertEquals(\"Hello\", strList.last());\n }", "title": "" }, { "docid": "5b2487b8ae17f196c5158e5dec147667", "score": "0.6782276", "text": "@Test\n void isEmpty() {\n assertFalse(list.isEmpty());\n list.clear();\n assertTrue(list.isEmpty());\n }", "title": "" }, { "docid": "c300da2e3df6824113f4f5e579810fec", "score": "0.6749958", "text": "@Test\n void removeAll() {\n assertTrue(list.removeAll(list));\n assertEquals(0, list.size());\n }", "title": "" }, { "docid": "3164dc6b7110f21b4167113a09ed2a06", "score": "0.6710701", "text": "@Test\n public void testRemove(){\n intList.addToBegin(3);\n intList.addToBegin(4);\n intList.addToBegin(5);\n ListIterator<Integer> iterator = intList.iterator();\n iterator.remove();\n assertEquals(4, intList.first(), 0.0);\n iterator.next();\n iterator.remove();\n assertEquals(4, intList.last(), 0.0);\n \n }", "title": "" }, { "docid": "dfa124e5fd1765d00c7d8ee891df0f4f", "score": "0.66740906", "text": "public void testDeleteIntegerElementInCaseOfEmptness() throws DeletionFromEmptyListException {\n intList.deleteElement(4);\n }", "title": "" }, { "docid": "d6546b981e8fce3361992c278f724329", "score": "0.66279393", "text": "private void doListEmpty() {\r\n\t\tfirst = newLE;\r\n\t\tlast = newLE;\r\n\t\tsize++;\r\n\t}", "title": "" }, { "docid": "29d18e2acedaf759a68cf4e2c5df3f41", "score": "0.6620116", "text": "public abstract void emptyList();", "title": "" }, { "docid": "0d6bc2c2d0ac82b1fa2ae1509e25d2e5", "score": "0.65680444", "text": "public boolean deleteFromStart() \n\t\t{\n\t\t\tif (head != null) \n\t\t\t{\n\t\t\t\thead = head.next;\n\t\t\t\tsize--;\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\t\telse \n\t\t\t\t{\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t}", "title": "" }, { "docid": "e005828a13f6712bbfbb4c41a7683310", "score": "0.651155", "text": "@Test\n public void testDeleteStringElement() throws DeletionFromEmptyListException {\n strList.addToBegin(\",\");\n strList.addToEnd(\"world\");\n strList.addToBegin(\"Hello\");\n strList.deleteElement(\"world\");\n assertEquals(\",\", strList.last());\n }", "title": "" }, { "docid": "13818fb978be9f3342c64562e5928570", "score": "0.65072876", "text": "public void testDeleteBeginning() throws Exception {\n storage.flush(new Record(\"foo1\", BASE, new byte[0]));\n storage.flush(new Record(\"foo2\", BASE, new byte[0]));\n updateIndex();\n Record deletedRecord = new Record(\"foo1\", BASE, new byte[0]);\n deletedRecord.setDeleted(true);\n Thread.sleep(10); // Hack to make createdTime != modifiedTime\n deletedRecord.touch();\n storage.flush(deletedRecord);\n updateIndex();\n\n assertEquals(\"The number of processed ids should be correct\",\n 3, IterativeHelperDocCreator.processedIDs.size());\n assertIndexEquals(\"The index should contain a single document\",\n Arrays.asList(\"foo2\"), 0);\n// assertTagsEquals(\"The index should contain a single Title tag\",\n// \"Title\", Arrays.asList(\"Title_foo2\"));\n }", "title": "" }, { "docid": "59fa2641553e29b5245f1c37f18003e6", "score": "0.64785576", "text": "@Test\n void test16_remove_from_empty_list() {\n if (dataStructureInstance.remove(\"one\") != false) {\n fail(\"removing from empty list should return false\");\n }\n }", "title": "" }, { "docid": "7ff893aa59753d3b80c8cda7939a0a03", "score": "0.64611745", "text": "@Test\n\tpublic void testListIsEmpty() {\n\t\t\n\t\t// Test isEmpty() in IntList on empty list.\n\t\tIntList list = new ArrayIntList();\n\t\tassertTrue(list.isEmpty());\n\t\t\n\t\t// Test isEmpty() in IntList on element removed.\n\t\tlist.add(1);\n\t\tlist.remove(0);\n\t\tassertTrue(list.isEmpty());\n\t}", "title": "" }, { "docid": "08a6d702bf9599309284d8782180125c", "score": "0.6382638", "text": "@Test\n public void testDeleteList() {\n }", "title": "" }, { "docid": "2b29d9677dda2d098a7011fe159afe3e", "score": "0.63608", "text": "static node Delete_beg(node head) {\n\t\t\tif(head==null) {\n\t\t\t\tSystem.out.println(\"List is empty\");\n\t\t\t\treturn head;\n\t\t\t}\n\t\t\t\n\t\t\tif(head.next==head)\n\t\t\t\t{\n\t\t\t\thead=null;\n\t\t\t\tSystem.out.println(\"Node deleted\");\n\t\t\t\t}\n\t\t\telse {\n\t\t\t\tnode ptr=head;\n\t\t\t\twhile(ptr.next!=head)\n\t\t\t\t\tptr=ptr.next;\n\t\t\t\t\n\t\t\t\thead=head.next;\n\t\t\t\tptr.next=head;\n\t\t\t\tSystem.out.println(\"Node deleted\");\n\t\t\t\t\n\t\t\t}\n\t\t\treturn head;\n\t\t}", "title": "" }, { "docid": "38718f1a120613523cc8555075a86c5b", "score": "0.6278791", "text": "@Test\n <E> void removeFirst(){\n assertEquals(7, dLinkList.removeFirst());\n assertEquals(5,dLinkList.ElemStart());\n }", "title": "" }, { "docid": "7c20217b1ea0ea96e97773ca2a450314", "score": "0.62571466", "text": "@Test\n public void isEmpty_TrueTest(){\n assertTrue(list.isEmpty());\n }", "title": "" }, { "docid": "2881d3ee33899373e12da7147425ef12", "score": "0.62513524", "text": "void testRemoveFromHead(Tester t) {\n this.initData();\n\n t.checkException(new RuntimeException(\"Attempting to remove from an empty list.\"), this.deque1,\n \"removeFromHead\");\n\n t.checkExpect(this.deque2.header.getNext().getData(), \"abc\");\n\n this.deque2.addAtHead(\"aaa\");\n String removed1 = this.deque2.removeFromHead();\n t.checkExpect(removed1, \"aaa\");\n\n t.checkExpect(this.deque2.header.getNext().getData(), \"abc\");\n\n String removed2 = this.deque2.removeFromHead();\n t.checkExpect(removed2, \"abc\");\n\n t.checkExpect(this.deque2.header.getNext().getData(), \"bcd\");\n\n }", "title": "" }, { "docid": "e0543e6d8e9fbe49f55ed3cca107450f", "score": "0.62446535", "text": "@Test\n public void testClearList() {\n }", "title": "" }, { "docid": "88fd61a1a9702494e4ba7ac90530ba68", "score": "0.61937255", "text": "@Test\n public void testRemoveRange() throws Exception {\n//TODO: Test goes here...\n LinkedList list = (LinkedList) getList();\n list.removeRange(2, 5);\n Assert.assertArrayEquals(toArray(list), new Object[] {1, 2, 5});\n }", "title": "" }, { "docid": "0d266cacdaf7255c50e1817aa125a609", "score": "0.618796", "text": "@Test\n public void testDeleteAt()\n {\n \t\tDoublyLinkedList<Integer> testDLL = new DoublyLinkedList<Integer>();\n \t\tassertFalse(\"Returns false if trying to delete a node if the List is empty\", testDLL.deleteAt(0));\n \t\ttestDLL.insertBefore(0, 5);\n \t\tassertFalse(\"Returns False if delete at a poisition greather than the size of the List\"\n \t\t\t\t+ \" when the lis has one elementt \",testDLL.deleteAt(3));\n \t\tassertTrue(\" Return true if successfully delete a head node in a one element list\",\n \t\t\t\ttestDLL.deleteAt(0));\n \t\ttestDLL.insertBefore(0, 1); \n \t\ttestDLL.insertBefore(1, 2);\n \t\ttestDLL.insertBefore(2, 3);\n \t\ttestDLL.insertBefore(3, 4);\n \t\ttestDLL.insertBefore(4, 5);\n \t\t\n \t\tassertFalse(\"Returns False if delete at a poisition greather than the size of the List\"\n \t\t\t\t+ \" when the lis has more than one elementt \",testDLL.deleteAt(5));\n \t\tassertTrue(\" Return true if successfully delete a tail node in a multi element list\",\n \t\t\t\ttestDLL.deleteAt(4));\n \tassertTrue(\" Return true if successfully delete a middle node in a multi element list\",\n \t\t\t\ttestDLL.deleteAt(2));\n \t\tassertTrue(\" Return true if successfully delete a head node in a multi element list\",\n \t\t\t\ttestDLL.deleteAt(0));\n \t\tassertFalse(\"Returns False if delete at a poisition less than 0 \",testDLL.deleteAt(-5));\n }", "title": "" }, { "docid": "7cbd99fcfb604168613b91fd5d519a8b", "score": "0.6155965", "text": "@Test\r\n public void testRemove(){\r\n //remove first element\r\n list5.remove(0);\r\n assertEquals(\"Check that list removes object; nothing else changes\",\r\n 2, list5.get(0));\r\n assertEquals(\"Check that size decreases by one\",\r\n 2, list5.size());\r\n assertEquals(\"Check that capacity remains the same\",\r\n 3, list5.getCapacity());\r\n //remove last elemement\r\n list5.remove(list5.size()-1);\r\n assertEquals(\"Check that list removes object; nothing else changes\",\r\n 2, list5.get(0));\r\n assertEquals(\"Check that size decreases by one\",\r\n 1, list5.size());\r\n // tests invalid negative input to see if exception is thrown\r\n try {\r\n list1.remove(-1);\r\n fail(\"Expected an IndexOutOfBoundsException to be thrown\");\r\n } catch (IndexOutOfBoundsException e) {\r\n //pass\r\n }\r\n // tests invalid out of bounds input to see if exception is thrown\r\n try {\r\n list5.remove(list5.size() + 1);\r\n fail(\"Expected an IndexOutOfBoundsException to be thrown\");\r\n } catch (IndexOutOfBoundsException e) {\r\n //pass\r\n }\r\n }", "title": "" }, { "docid": "35aa5bbf62c0f99df602f828dd0225c5", "score": "0.61510015", "text": "@Test\n public void when_adding_and_removing_size_zero(){\n // setup\n TodoItemsHolderImpl holderUnderTest = new TodoItemsHolderImpl(new ArrayList<>());\n assertEquals(0, holderUnderTest.getCurrentItems().size());\n\n // test\n holderUnderTest.addNewInProgressItem(\"do shopping\");\n\n // verify\n assertEquals(1, holderUnderTest.getCurrentItems().size());\n\n holderUnderTest.deleteItem(holderUnderTest.getCurrentItems().get(0));\n // verify\n assertEquals(0, holderUnderTest.getCurrentItems().size());\n\n }", "title": "" }, { "docid": "c685868f99cd5c73f2f541cc0054ca16", "score": "0.6134957", "text": "@Test\n public void testEmpty() {\n assertEquals(true, lista.empty());\n assertEquals(0,lista.size());\n lista.add(a);\n assertEquals(1, lista.size()); \n }", "title": "" }, { "docid": "c38cac1127a8816f2faa161923864499", "score": "0.61065733", "text": "@Test\n public void testDeleteListFromDB(){\n \tDAOUtils daoUtil = new DAOUtils();\n \tShoppingListDAO dao = new ShoppingListDAO(daoUtil);\n \tShoppingList shoppingList = new ShoppingList(\"TestList\");\n \tshoppingList.addList(testShoppingList);\n \t\n \tBoolean isDeleted = shoppingList.deleteShoppingListFromDB();\n \tassertTrue(isDeleted);\n }", "title": "" }, { "docid": "b88f87a24a82c8770147534aec879fe5", "score": "0.60928917", "text": "@Test\r\n public void testRemoveFirst() {\r\n System.out.println(\"removeFirst\");\r\n List instance = new ListImpl();\r\n Object expResult = null;\r\n Object result = instance.removeFirst();\r\n assertEquals(expResult, result);\r\n }", "title": "" }, { "docid": "06579aaa200c79f1f94ea1678c6ea88a", "score": "0.6090699", "text": "@Test\n public void testRemoveForILength() throws Exception {\n//TODO: Test goes here...\n LinkedList list = (LinkedList) getList();\n list.remove(1, 3);\n Assert.assertArrayEquals(toArray(list), new Object[] {1, 5});\n }", "title": "" }, { "docid": "86053e43bc4324534e5440bea1ff688b", "score": "0.6085233", "text": "public void testDeleteStringElementInCaseOfEmptness() throws DeletionFromEmptyListException {\n strList.deleteElement(\"world\");\n }", "title": "" }, { "docid": "bd7ad1679d6eb38739c8639b25f7fac8", "score": "0.6056352", "text": "@Test\n void removeList() {\n }", "title": "" }, { "docid": "79e26333ba114c5ca0cfc1f4be58cd28", "score": "0.6035936", "text": "@Test\n\tpublic void testSortedLinkedList() {\n\t\tassertEquals(0, list.size());\n\t}", "title": "" }, { "docid": "26b04cf2e8d2a8a5d6e4d1cb0d8a540b", "score": "0.6011672", "text": "public void testIsEmpty() {\n System.out.println(\"Entering testIsEmpty\");\n assertFalse(za.isEmpty());\n za.remove(indx);\n assertTrue(za.isEmpty());\n System.out.println(\"Exiting testIsEmpty\");\n }", "title": "" }, { "docid": "1ee93ef3666d2a4764a7ce2a1e63db00", "score": "0.5997829", "text": "@Test\n public void linkedListClear() {\n linkedList = new LinkedList<Integer>();\n linkedList.add(1);\n linkedList.clear();\n Assertions.assertEquals( 0,linkedList.size());\n }", "title": "" }, { "docid": "fd25dbd37fbf3bd7480d3b3568da11b7", "score": "0.5975659", "text": "@Test\n\tpublic void testClearMoveList() {\n\t\tnan.makeMoveList(p, wp3);\n\t\tassertFalse(nan.moveList.size() == 0);\n\t\tnan.clearMoveList();\n\t\tassertTrue(nan.moveList.size() == 0);\t\t\n\t}", "title": "" }, { "docid": "ae477b3fd63db2c120fe435d0a68b5d5", "score": "0.5973358", "text": "@Test\n public void shouldReturnZeroWhenRemoveClientFromNoNEmptyList() {\n Client client = new Client(\"Jan\",\"Nowak\");\n bank2.removeClient(client);\n int result = bank2.getClients().size();\n assertEquals(0, result, \"Should return 0 when removing client from non empty list\");\n\n }", "title": "" }, { "docid": "04e13cafd9e9adacd68a5bdeed109964", "score": "0.5959496", "text": "@Test(timeout = DEFAULT_TIMEOUT, expected = IndexOutOfBoundsException.class)\n public void removeTest() throws Exception {\n //Remove singleton\n MyUnsortedList<Integer> testEmpty = MyUnsortedList.of();\n MyUnsortedList<Integer> test1 = MyUnsortedList.of(1);\n int removedResult = test1.remove(0);\n assertTrue(\"Remove from singleton\", test1.equals(testEmpty)&&removedResult==1);\n //Remove from n element list\n //Remove nth element\n MyUnsortedList<Integer> test123 = MyUnsortedList.of(1, 2, 3);\n MyUnsortedList<Integer> test12 = MyUnsortedList.of(1, 2);\n removedResult = test123.remove(2);\n //assertTrue(\"Remove last element in n size list\", test12.equals(test123)&&removedResult==3);\n //remove 0th element\n test123 = MyUnsortedList.of(0, 1, 2);\n removedResult = test123.remove(0);\n assertTrue(\"Remove 0th element\", test12.equals(test123)&&removedResult==0);\n\n //remove 0<kth<n element\n MyUnsortedList<Integer> test13 = MyUnsortedList.of(1, 3);\n test123 = MyUnsortedList.of(1, 2, 3);\n removedResult = test123.remove(1);\n assertTrue(\"Remove element in the middle of the list\", test13.equals(test123)&&removedResult==2);\n\n //Remove at -1:\n test1 = MyUnsortedList.of(1);\n test1.remove(-1);\n //remove out of bound\n test1.remove(3);\n }", "title": "" }, { "docid": "26a671af57ecb036f88abbf44385b89e", "score": "0.5956835", "text": "@Test\n void testDeleteANodeFromASingleLinkedList() {\n ListNode<Integer> list;\n\n list = ListNode.toListNode(1, 2);\n ListNode<Integer> nextNode = list.next;\n deleteANodeFromASingleLinkedList(list);\n assertEquals(list, nextNode);\n\n\n list = ListNode.toListNode(1, 2, 3);\n deleteANodeFromASingleLinkedList(list.next);\n assertEquals(ListNode.toListNode(1, 3), list);\n }", "title": "" }, { "docid": "2c93a651ad0c1438b437465f13ae59c0", "score": "0.59359723", "text": "@Test\n public void removeAll_SimpleTest() {\n PhonyList<Integer> listToRemove = list();\n list = list(1,2,3);\n PhonyList<Integer> listOracle = list(1,2,3);\n list.removeAll(listToRemove);\n for(Object elemList: list){\n for(Integer elemDeleted: listToRemove){\n if (elemList!=null && elemDeleted!=null) {\n assertNotEquals(elemList.toString(), elemDeleted.toString());\n }\n }\n }\n assertFalse(list.contains(listToRemove));\n assertEquals(list.size(),listOracle.size());\n }", "title": "" }, { "docid": "4c95632f51d765ab0ae3520e24e9e109", "score": "0.59337175", "text": "public void clearList();", "title": "" }, { "docid": "a446cf3cf32f46d867ddef93234a17b1", "score": "0.5933422", "text": "public void emptyList() {\r\n myList.clear();\r\n notifyAllViewers(); \r\n }", "title": "" }, { "docid": "41346905fa6ec7bd886481aa5f097a28", "score": "0.59148824", "text": "@Override\r\n\tpublic boolean delete(List<ContasReceber> list) {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "d8ce1a60dd20712e5ec155c7b5f2694a", "score": "0.58927625", "text": "@Test\n public void isEmpty_FalseTest(){\n list.add(1);\n assertFalse(list.isEmpty());\n }", "title": "" }, { "docid": "96aa1ccefe2e89b4d7bac71aca1cb2c7", "score": "0.5868923", "text": "@Test\n public void test_deleteSong()\n {\n before = sizeOfLibrary(aLibrary);\n aLibrary.removeItem(1);\n assertEquals(before - 1, sizeOfLibrary(aLibrary));\n assertEquals(before - 1, lvp.getListView().getItems().size());\n\n }", "title": "" }, { "docid": "cc949f8818bf5981b908046280e7705a", "score": "0.58538747", "text": "@Test\r\n public void testRemove_0args() {\r\n System.out.println(\"remove\");\r\n List instance = new ListImpl();\r\n Object expResult = null;\r\n Object result = instance.remove();\r\n assertEquals(expResult, result);\r\n }", "title": "" }, { "docid": "63db38b0313e3131a7ad9e8c0217f5d9", "score": "0.5850182", "text": "public void testDeleteRecordsAtEnd() {\n deleteAllRecords();\n }", "title": "" }, { "docid": "3caa8c4989e5b401fb9db811b99ad1ef", "score": "0.58395296", "text": "public void delete() {\r\n\t\tif (size == 1) {\r\n\t\t\tif (list.getSize() == 0) {\r\n\t\t\t\tlist.insert(head.getPosX(), head.getType());\r\n\t\t\t\thead = head.getNext();\r\n\t\t\t\tsize--;\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tlist.insert(head.getPosX(), head.getType());\r\n\t\t\thead = head.getNext();\r\n\t\t\tsize--;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "0cf01de4d9b48a4feca96b1dffabd6f3", "score": "0.58370006", "text": "public void clear() {\nlist.clear();\n}", "title": "" }, { "docid": "460104a97eef0129e3d8ebc3004aecac", "score": "0.582142", "text": "@Test\r\n\tpublic void removingItemsFromList() {\r\n\t\t\r\n\t\tShoppingListItem testRemove = new ShoppingListItem(1, \"Milk\");\r\n\t\tboolean result = dao.removeItem(testRemove);\r\n\r\n\t\tassertEquals(true, result);\r\n\t}", "title": "" }, { "docid": "ed57983037c54bae18cbdd1ee795569f", "score": "0.5806878", "text": "public void testDeleteEnd() throws Exception {\n storage.flush(new Record(\"foo1\", BASE, new byte[0]));\n storage.flush(new Record(\"foo2\", BASE, new byte[0]));\n Record firstFoo2 = storage.getRecord(\"foo2\", null);\n updateIndex();\n Record deletedRecord = new Record(\"foo2\", BASE, new byte[0]);\n deletedRecord.setDeleted(true);\n Thread.sleep(10); // Hack to make createdTime != modifiedTime\n deletedRecord.touch();\n storage.flush(deletedRecord);\n Record secondFoo2 = storage.getRecord(\"foo2\", null);\n assertTrue(\"Flushed record should be marked as deleted when re-requested\",\n secondFoo2.isDeleted());\n assertFalse(\"Flushed record should be have different mtime when re-requested\",\n firstFoo2.getModificationTime() == secondFoo2.getModificationTime());\n updateIndex();\n\n assertEquals(\"The number of processed ids should be correct\",\n 3, IterativeHelperDocCreator.processedIDs.size());\n assertIndexEquals(\"The index should contain a single document\",\n Arrays.asList(\"foo1\"), 0);\n// assertTagsEquals(\"The index should contain a single Title tag\",\n// \"Title\", Arrays.asList(\"Title_foo1\"));\n }", "title": "" }, { "docid": "b645d061e0f2f1bf2dba543e450ea0ed", "score": "0.579693", "text": "static node Delete_end(node head) {\n\t\t\tif(head==null)\n\t\t\t\tSystem.out.println(\"List is empty\");\n\t\t\telse if(head.next==head)\n\t\t\t\t{\n\t\t\t\thead=null;\n\t\t\t\tSystem.out.println(\"Node deleted\");\n\t\t\t\t}\n\t\t\telse {\n\t\t\t\tnode ptr=head;\n\t\t\t\twhile(ptr.next.next!=head)\n\t\t\t\t{\n\t\t\t\t\n\t\t\t\t\tptr=ptr.next;\n\t\t\t\t}\n\t\t\t\tptr.next=head;\n\t\t\t\tSystem.out.println(\"Node deleted\");\n\t\t\t}\n\t\t\treturn head;\n\t\t}", "title": "" }, { "docid": "d9336a3d589c8ac7c443e27ab6b01ed8", "score": "0.579313", "text": "@Test\n public void removeRange_Test(){\n list = list(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15);\n assertEquals(list.size(), 15);\n list.removeRange(5, 10);\n assertEquals(list.size(), 10);\n assertEquals(list.get(5).toString(), \"11\");\n\n }", "title": "" }, { "docid": "5cb0c9cbaf13b6d1879706ce38e45168", "score": "0.5792241", "text": "public void deleteEnd(){\r\n if(size==0){\r\n System.out.println(\"List is currently empty\");\r\n return;\r\n }else{\r\n node prevs = null;\r\n node current = head;\r\n while(current.next!=null){\r\n prevs=current;\r\n current = current.next;\r\n }\r\n prevs.next = null;\r\n tail = prevs;\r\n }\r\n size--;\r\n }", "title": "" }, { "docid": "d20ddd1bad91dd8a47efc2de2b469bff", "score": "0.5792231", "text": "public void remove(boolean fromBeginning) {\n\t\tif (head.next == null) {\n\t\t\tSystem.out.println(\" Item removed is[1] ::\" + head.item);\n\t\t\thead = null;\n\t\t\ttail = null;\n\t\t\treturn;\n\t\t}\n\n\t\tif (fromBeginning) {\n\t\t\tSystem.out.println(\" Item removed is[2] ::\" + head.item);\n\t\t\t// if only 2 element is there and we are deleting the head\n\t\t\thead = head.next;\n\t\t} else {\n\t\t\tSystem.out.println(\" Item removed is[3] ::\" + tail.item);\n\t\t\tNode<T> temp = head;\n\t\t\twhile (temp.next != tail) {\n\t\t\t\ttemp = temp.next;\n\t\t\t}\n\t\t\ttail = temp;\n\t\t\ttail.next = null;\n\t\t}\n\t}", "title": "" }, { "docid": "6c076c7ff3386be8c9d1f3c4a4c8d31e", "score": "0.5784808", "text": "public static void testRemoveIndex() {\n System.out.print(\"testing remove-at method...\");\n\n TestCaseFirstLastLinkList[] cases = new TestCaseFirstLastLinkList[4];\n\n // normal case\n cases[0] = new TestCaseFirstLastLinkList<String, FirstLastLinkList<Integer>>();\n cases[0].list = new FirstLastLinkList<Integer>(3, 5, 7, 6, 8, 13);\n cases[0].list.removeAt(3);\n cases[0].setExpected(\"[ 3 5 7 6 8 13]\");\n cases[0].setActual(cases[0].list.toString());\n\n // case delete head\n cases[1] = new TestCaseFirstLastLinkList<String, FirstLastLinkList<Integer>>();\n cases[1].list = new FirstLastLinkList<Integer>(10, 57);\n cases[1].list.removeAt(0);\n cases[1].setExpected(\"[ 57]\");\n cases[1].setActual(cases[1].list.toString());\n\n // case delete tail\n cases[2] = new TestCaseFirstLastLinkList<String, FirstLastLinkList<Integer>>();\n cases[2].list = new FirstLastLinkList<Integer>(10, 57);\n cases[2].list.removeAt(1);\n cases[2].setExpected(\"[ 10]\");\n cases[2].setActual(cases[2].list.toString());\n\n // case delete the only element in the list\n cases[3] = new TestCaseFirstLastLinkList<String, FirstLastLinkList<Integer>>();\n cases[3].list = new FirstLastLinkList<Integer>(10);\n cases[3].list.removeAt(0);\n cases[3].setExpected(\"[]\");\n cases[3].setActual(cases[3].list.toString());\n\n TestCaseFirstLastLinkList.runTests(cases);\n }", "title": "" }, { "docid": "cae6aa8b52c74965c11c65c333bc63a9", "score": "0.5783943", "text": "@Test\n public void shouldReturnZeroWhenRemoveClientFromEmptyList() {\n Client client = new Client(\"Jan\" , \"Nowak\");\n bank1.removeClient(client);\n int result = bank1.getClients().size();\n assertEquals(0, result, \"Should return 0 when removing client from an empty list\");\n\n }", "title": "" }, { "docid": "00ca7824dfad2bc181e64df6983a4df7", "score": "0.57785994", "text": "private IndexedUnsortedList<Integer> A_removefirst_emptylist() {\r\n\t\tIndexedUnsortedList<Integer> list = emptyList_addToFrontA_A(); \r\n\t\tlist.removeFirst();\r\n\t\treturn list;\r\n\t}", "title": "" }, { "docid": "de71bbae2cb86187d1b5019228407c37", "score": "0.5769948", "text": "public void deleteEnd(){\n if(size==0){\n System.out.println(\"List is currently empty\");\n return;\n }else{\n node prevs = null;\n node current = head;\n while(current.next!=null){\n prevs=current;\n current = current.next;\n }\n prevs.next = null;\n tail = prevs;\n }\n size--;\n }", "title": "" }, { "docid": "8c78b2c83554848c8bb99d912976e6c0", "score": "0.5752573", "text": "@Test\n public void linkedListIsEmpty() {\n linkedList = new LinkedList<Integer>();\n Assertions.assertTrue(linkedList.isEmpty());\n }", "title": "" }, { "docid": "4189dcb5265047633a2b827646c41204", "score": "0.5746286", "text": "@Override\n public void delete() throws Exception {\n if (isEmpty()) {\n throw new Exception(\"Lista ya esta vacía\");\n } else if (head == tail) {\n head = tail = null;\n } else {\n head.getNextNode().setPreviousNode(null);\n head = head.getNextNode();\n }\n }", "title": "" }, { "docid": "ca03d8226ea7d7a77e72d9a7e8d6b87b", "score": "0.57460946", "text": "@Test\n\tpublic void testingRemovingFromOneElementList() {\n\t\ttry {\n\t\t\tPossibleLocationsQueue test = new PossibleLocationsQueue();\n\t\t\ttest.add(Loc1);\n\t\t\ttest.remove();\n\t\t\t\n\t\t\tassertEquals(true, test.isEmpty());\n\t\t}\n\t\tcatch(AssertionFailedError e) {\n\t\t\t\n\t\t}\n\t\tcatch(Exception e) {\n\t\t\tfail(\"Failed: Unexpected Exception.\");\n\t\t}\n\t}", "title": "" }, { "docid": "8e77100e21924549af83ed8471a44e47", "score": "0.5741534", "text": "@Test(expected = IndexOutOfBoundsException.class)\n public void get_EmptyListTest() {\n assertEquals(null, list.get(0).toString());\n }", "title": "" }, { "docid": "68390bde878041723bf89eb2cd76ebeb", "score": "0.5723523", "text": "public DLLNode deleteAtBeginning() {\n\t\tDLLNode result = null;\n\t\tif(head == null) result=head= null; \n\t\t\n\t\tif(head != null) {\n\t\t\tif(head.getNext() == null) {\n\t\t\t\tresult = head = null;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tDLLNode temp = head;\n\t\t\t\thead = head.getNext();\n\t\t\t\ttemp.setNext(null);\n\t\t\t\thead.setPrev(null);\n\t\t\t\tresult = temp;\t\n\t\t\t}\n\t\t\tlength--;\n\t\t}\n\t\treturn result;\n\t}", "title": "" }, { "docid": "e05c45ff403467b898ec33c39500b2e6", "score": "0.5722701", "text": "@Test\n\tvoid remove1Test() {\n\t\tIDLList<Integer> test = new IDLList<Integer>();\n\t\ttest.add(1);//create an IDLList with one element [1]\n\t\ttest.remove();//make the IDLList empty\n\t\tassertEquals(test.toString(),\"[]\");\n\t\ttest.add(1); test.add(2); test.add(3); // creates a IDLList [3,2,1,]\n\t\tassertEquals(test.remove().toString(),\"3\");//testing to see if remove returns head.data\n\t\tassertEquals(test.toString(),\"[2,1,]\");\n\t}", "title": "" }, { "docid": "f555cc4fe07d2712929702c9a3820c9b", "score": "0.5722198", "text": "@Test\n public void size_Test() {\n assertEquals(list.size(), 0);\n list.add(1);\n list.add(2);\n list.add(3);\n assertEquals(list.size(), 3);\n\n }", "title": "" }, { "docid": "1c0e8e3855c7e80e8490f9f81828b757", "score": "0.5716209", "text": "public void testRemove() {\n HandleList list = new HandleList(4);\n Handle h1 = new Handle(8, 0, true);\n Handle h2 = new Handle(8, 64, true);\n Handle h3 = new Handle(8, 32, true);\n\n list.add(h1, 1);\n list.add(h2, 1);\n list.add(h3, 1);\n\n assertNotNull(list.getHead(1));\n list.remove(1, h2);\n list.remove(1, h3);\n list.remove(1, h1);\n\n assertNull(list.getHead(1));\n\n }", "title": "" }, { "docid": "c88e2536e446a0083ea51bca5ce3b137", "score": "0.5712735", "text": "@Test\n public void testIsEmpty() \n { \n \t boolean expectedResult = true; \n \t DoublyLinkedList<Integer> testDLL = new DoublyLinkedList<Integer>();\n \t assertEquals(\"Tests isEmpty() to see if it returns true for an empty List\",expectedResult, testDLL.isEmpty());\n \t testDLL.insertBefore(0,4);\n \t expectedResult = false; \n \t assertEquals(\"Tests isEmpty() to see if it returns false for a list with elements\",expectedResult, testDLL.isEmpty());\n }", "title": "" }, { "docid": "d4abaff36e8976611c50e3af2b40a6c7", "score": "0.5712179", "text": "@Test\n void remove1() {\n assertEquals(10247, (int)list.remove(1));\n assertEquals(10246, (int)list.remove(0));\n }", "title": "" }, { "docid": "3d4979b93668d348ace7df17f89df203", "score": "0.57092154", "text": "private void testRemoveFromEmpty(){\n println(\"score.remove(0)\");\n try{\n score.remove(0); \n } \n catch (Exception e){\n e.printStackTrace();\n } \n println(\"score.size() = \" + score.size()); \n canvas.displayList(score);\n pause(2000);\n\n /// Remove 1 : ERROR\n println(\"score.remove(1)\");\n try{\n score.remove(1); \n } \n catch (Exception e){\n e.printStackTrace();\n } \n println(\"score.size() = \" + score.size()); \n canvas.displayList(score);\n pause(2000);\n }", "title": "" }, { "docid": "59b21647502f2f56182c1980a37a8be4", "score": "0.5706235", "text": "private IndexedUnsortedList<Integer> A_listiterRemoveAfterNextA_emptyList() {\r\n\t\tIndexedUnsortedList<Integer> list = emptyList_addToFrontA_A(); \r\n\t\tListIterator<Integer> it = list.listIterator();\r\n\t\tit.next();\r\n\t\tit.remove();\r\n\t\treturn list;\r\n\t}", "title": "" }, { "docid": "7f4eda33968c7958e257a370b7b3bf17", "score": "0.5702017", "text": "@Test\r\n public void testTrimToSize(){\r\n //check if trim works for empty list that needs to be trimmed\r\n list1.trimToSize();\r\n assertEquals(\"Check to see if empty list is trimmed\",\r\n 0, list1.getCapacity());\r\n assertEquals(\"Check to see if size remains unchanged\",\r\n 0, list1.size());\r\n //checks to see if arraylist doesnt trim when capacity = size\r\n list5.trimToSize();\r\n assertEquals(\"Check to see that array with elements is trimmed\",\r\n 3, list5.getCapacity());\r\n assertEquals(\"Check if size unchanged for arraylist with elements\",\r\n 3, list5.size());\r\n //trims when populated but capacity not reached\r\n list3.append(2);\r\n list3.trimToSize();\r\n assertEquals(\"Check to see that it is trimmed\",\r\n 1, list3.getCapacity());\r\n assertEquals(\"Check to see that siz remains the same\",\r\n 1, list3.size());\r\n }", "title": "" }, { "docid": "172a044a1a08cde780678c6d24224fe4", "score": "0.56881326", "text": "public void dLListEndDelete(){\n if(isEmpty()){\n System.out.println(\"List is Empty, Nothing to delete\");\n return;\n }\n if(head.next == null){//If only one node is left out and is to be deleted the statement current.prev.next = null\n current = null;\t\t// will throw exception as current.prev is updated to null\n System.out.println(\"Item deleted from rear : \"+head.data);\n head = null;\n dLListDisplay();\n System.out.println();\n }\n else{\n current = head;\n while(current.next != null){\n current = current.next;\n }\n System.out.println(\"Item deleted from rear : \"+current.data);\n current.prev.next = null;\t\t\t\t\t\t\t\t\t\t//here\n current = null;\n dLListDisplay();\n System.out.println();\n }\n }", "title": "" }, { "docid": "a72daa6e7345e8437be59f919aac9451", "score": "0.5687821", "text": "private IndexedUnsortedList<Integer> A_remove0_emptylist() {\r\n\t\tIndexedUnsortedList<Integer> list = emptyList_addToFrontA_A(); \r\n\t\tlist.remove(0);\r\n\t\treturn list;\r\n\t}", "title": "" }, { "docid": "63d751e31098c23d0a5ecec09f0240c2", "score": "0.5682417", "text": "void testRemoveFromTail(Tester t) {\n this.initData();\n\n t.checkException(new RuntimeException(\"Attempting to remove from an empty list.\"), this.deque1,\n \"removeFromTail\");\n\n t.checkExpect(this.deque2.header.getPrev().getData(), \"def\");\n\n this.deque2.addAtTail(\"aaa\");\n String removed1 = this.deque2.removeFromTail();\n t.checkExpect(removed1, \"aaa\");\n\n t.checkExpect(this.deque2.header.getPrev().getData(), \"def\");\n\n String removed2 = this.deque2.removeFromTail();\n t.checkExpect(removed2, \"def\");\n\n t.checkExpect(this.deque2.header.getPrev().getData(), \"cde\");\n }", "title": "" }, { "docid": "3216a6c0a9dbbc50bb768162b2d9adeb", "score": "0.56816894", "text": "public boolean isEmpty()\r\n\t {\r\n\t\t if (this.list == null)\r\n\t\t\t return true;\r\n\t\t else\r\n\t\t\t return false;\r\n\t }", "title": "" }, { "docid": "d43c1f0394c63ffe78026586a156a1f3", "score": "0.5676569", "text": "@Test\r\n\tpublic void removingWrongItemsFromList() {\r\n\t\t\t\r\n\t\tShoppingListItem testRemove = new ShoppingListItem(3, \"Cocoa\");\r\n\t\tboolean result = dao.removeItem(testRemove);\r\n\r\n\t\tassertEquals(false, result);\r\n\t}", "title": "" }, { "docid": "26fd795a641ab5263bcdf7adda465ea4", "score": "0.5670201", "text": "public boolean delete(MyList<String> a) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "09f73f6cb6fa6cb0caa1311080cf5069", "score": "0.56524825", "text": "@Test\r\n\tpublic void m5() {\r\n\t\tlist.add(\"test\");\r\n\t\tassertFalse(list.isEmpty());\r\n\t\tassertEquals(1, list.size());\r\n\t}", "title": "" }, { "docid": "e4acfc0cb93ef2d4fa449b2c54d4d258", "score": "0.5647082", "text": "@Test\r\n public void testRemoveLast() {\r\n System.out.println(\"removeLast\");\r\n List instance = new ListImpl();\r\n Object expResult = null;\r\n Object result = instance.removeLast();\r\n assertEquals(expResult, result);\r\n }", "title": "" }, { "docid": "1a2779bef61655c5e4f5e70c42a8bd7d", "score": "0.5642214", "text": "@Override\n public void clear() {\n firstInList = lastInList = null;\n size = 0;\n // END\n }", "title": "" }, { "docid": "16108a9b87f51f731e7aa7828f5fbe44", "score": "0.5637874", "text": "@Test(expected = IllegalStateException.class)\r\n public void remove1NotStarted() {\r\n initData();\r\n ex1.remove(1, 0, 1, 1);\r\n\r\n }", "title": "" }, { "docid": "c5e4df75057bdf015ef6cad82adad860", "score": "0.5633462", "text": "public void deleteComponentList(ComponentList list);", "title": "" }, { "docid": "0b213437f774f5a9b4b959a2860a776c", "score": "0.5624678", "text": "private boolean testIsEmpty(IndexedUnsortedList<Integer> list, Result expectedResult) {\r\n\t\tResult result;\r\n\t\ttry {\r\n\t\t\tif (list.isEmpty()) {\r\n\t\t\t\tresult = Result.True;\r\n\t\t\t} else {\r\n\t\t\t\tresult = Result.False;\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\tSystem.out.printf(\"%s caught unexpected %s\\n\", \"testIsEmpty\", e.toString());\r\n\t\t\te.printStackTrace();\r\n\t\t\tresult = Result.UnexpectedException;\r\n\t\t}\r\n\t\treturn result == expectedResult;\r\n\t}", "title": "" }, { "docid": "005a6c07fad9c462d34d0f94d83b4808", "score": "0.5620052", "text": "private boolean testRemoveFirst(IndexedUnsortedList<Integer> list, Integer expectedElement, Result expectedResult) {\r\n\t\tResult result;\r\n\t\ttry {\r\n\t\t\tInteger retVal = list.removeFirst();\r\n\t\t\tif (retVal.equals(expectedElement)) {\r\n\t\t\t\tresult = Result.MatchingValue;\r\n\t\t\t} else {\r\n\t\t\t\tresult = Result.Fail;\r\n\t\t\t}\r\n\t\t} catch (NoSuchElementException e) {\r\n\t\t\tresult = Result.NoSuchElement;\r\n\t\t} catch (Exception e) {\r\n\t\t\tSystem.out.printf(\"%s caught unexpected %s\\n\", \"testRemoveFirst\", e.toString());\r\n\t\t\te.printStackTrace();\r\n\t\t\tresult = Result.UnexpectedException;\r\n\t\t}\r\n\t\treturn result == expectedResult;\r\n\t}", "title": "" }, { "docid": "a0ba21051e3dddcdbf4ecabb8b90a388", "score": "0.56190443", "text": "@Test\n void test02_after_insert_one_remove_one_size_is_0() {\n dataStructureInstance.insert(\"one\", \"a\");\n dataStructureInstance.remove(\"one\");\n if (dataStructureInstance.size() != 0)\n fail(\"data structure should be empty, with size=0, but size=\" + dataStructureInstance.size());\n }", "title": "" }, { "docid": "3b7513f3cc097dbf0462ec73c868c474", "score": "0.5607938", "text": "public void dLListFrontDelete(){\n if(isEmpty()){\n System.out.println(\"List is Empty, Nothing to delete\");\n return;\n }\n if(head.next == null){//If only one node is left out and is to be deleted the statement head.prev = null below will\n System.out.println(\"Item deleted from front : \"+head.data);\t//throw exception as head is updated to NULL\n head = null;\n dLListDisplay();\n System.out.println();\n }\n else{\n System.out.println(\"Item deleted from front : \"+head.data);\n head = head.next;\n head.prev = null;\t\t\t\t\t\t\t\t\t\t\t\t\t//here\n dLListDisplay();\n System.out.println();\n }\n }", "title": "" }, { "docid": "566211f2eb34356995fd3f04d46de0d0", "score": "0.5599988", "text": "@Test\r\n public void function_size_returns_2_after_removing_one_item_by_index_from_a_list_containing_3_items() {\r\n listWith3Items.remove(1);\r\n assertEquals(2, listWith3Items.size());\r\n }", "title": "" }, { "docid": "44ee17c8d8a6005fbdc150f89faf6873", "score": "0.55986595", "text": "@Test\n void add() {\n assertTrue(list.add(7));\n list.clear();\n assertTrue(list.add(7));\n }", "title": "" }, { "docid": "c8817713874a86190f53bf74a6d7ab2e", "score": "0.5592476", "text": "public void deleteSLL(){\n head = null;\n tail = null;\n System.out.println(\"The list has been deleted successfully!\");\n }", "title": "" }, { "docid": "e02815de495d9a3d73d2d71741e91e9c", "score": "0.5582066", "text": "@Test\n\tpublic void deleteTc1() {\n\t\tassertEquals(null, logic.delete(0));\n\t}", "title": "" }, { "docid": "4e724ed05ce28c6e68ff24a8c4cb3378", "score": "0.55788887", "text": "@Override\n public boolean empty() {\n return this.list.enmpty();\n }", "title": "" }, { "docid": "5ddb4af1b8bc2284ba0a48803b65236f", "score": "0.55752087", "text": "@Override\n public boolean isEmpty() {\n return list.isEmpty();\n }", "title": "" }, { "docid": "edce4eab24d25ac5d1cceec3c3154133", "score": "0.5573573", "text": "private IndexedUnsortedList<Integer> A_iteratorremoveAfterprevious_emptylist() {\r\n\t\tIndexedUnsortedList<Integer> list = emptyList_addToFrontA_A();\r\n\t\tListIterator<Integer> it = list.listIterator(1);\r\n\t\tit.previous();\r\n\t\tit.remove();\r\n\t\treturn list;\r\n\t}", "title": "" } ]
84f8d2145f81bb472d1c4b54d8fcfffb
constructor with all params
[ { "docid": "620bc1b970eff2157a5c4e46f10d04d9", "score": "0.0", "text": "public EmployeeVO(String lastName, String firstName, String street, int houseNumber, String personnelNo,\n\t\t\tfloat salary, int vacationDays) {\n\t\tsuper(lastName, firstName, street, houseNumber);\n\t\tsetPersonnelNo(personnelNo);\n\t\tsetSalary(salary);\n\t\tsetVacationDays(vacationDays);\n\t}", "title": "" } ]
[ { "docid": "0324cc0a2c070d69f11c0c0770f3f0f9", "score": "0.720995", "text": "public RequestParams( ) {\n logger.debug( \"Class initiated\" + this.getClass( ).getCanonicalName( ) );\n }", "title": "" }, { "docid": "c4e085b6b452e4ace740c7ad4e685a8f", "score": "0.7184339", "text": "public void init(String ... parameters) { }", "title": "" }, { "docid": "6f3c5a4f8e5bf09118e3504ac15916e9", "score": "0.7095032", "text": "public void init(String params);", "title": "" }, { "docid": "fdd721d7067185d8b440e979186f9e34", "score": "0.7024077", "text": "public ModelParameters()\r\n\t{\r\n\t}", "title": "" }, { "docid": "92b55e09d9a92e3bcefc48561c328a7d", "score": "0.6843229", "text": "public SqlParams() {\n\n }", "title": "" }, { "docid": "a086767af8fbcf6b02ae98c5f6056474", "score": "0.6734686", "text": "public Parada() {\n\t\t\n\t}", "title": "" }, { "docid": "ed7b4b36dffd8e11e0d35867ae420345", "score": "0.6719527", "text": "private SS(){}", "title": "" }, { "docid": "8c75f3d4864fd07f06f08273954fe432", "score": "0.67061895", "text": "public ParamSupport() {\n super();\n init();\n }", "title": "" }, { "docid": "1f58356a110494892877b3222637962b", "score": "0.6640349", "text": "private IntegrationParams() {}", "title": "" }, { "docid": "cbcb1ae408d2b5ba674f23c0f9c5a97b", "score": "0.6638902", "text": "public abstract void initParameters();", "title": "" }, { "docid": "f57f7d472cfd2b6eea58a326d51519e5", "score": "0.6623618", "text": "private ConfigParameters()\n {\n }", "title": "" }, { "docid": "6af01346978a4522eda8c2699bc5c9bd", "score": "0.6623314", "text": "public Parametro() {\n\t\t\n\t}", "title": "" }, { "docid": "38723887da804e76da71624fe698f900", "score": "0.6598435", "text": "@Override\r\n\tpublic void initParameters() {\n\t\t\r\n\t}", "title": "" }, { "docid": "f216228914a89e29a9ab855df499c8d9", "score": "0.6557252", "text": "public Mozzarella() {\r\n \t//call the super class that has 3 parameters\r\n super(description, cost, calories);\r\n }", "title": "" }, { "docid": "d38d8273c5fc3093ab61041d1b5daeb2", "score": "0.65339106", "text": "public void construire(){\n\t\t}", "title": "" }, { "docid": "26f152c3f27956be93ea449d436917b5", "score": "0.6516589", "text": "public TestParameters() {\n\t\tparamMap = new HashMap<>();\n\t}", "title": "" }, { "docid": "4cc481878b43130effd075da44e2a43e", "score": "0.65148765", "text": "public void construct(){\n\t\tbuilder.buildCarBodyPost();\n\t\tbuilder.buildDriveTrainPost();\n\t\tbuilder.buildAccessoriesPost();\n\t}", "title": "" }, { "docid": "6aab55f8cecfeb325c9b1422ff645895", "score": "0.64994067", "text": "public Paso() {\r\n\t}", "title": "" }, { "docid": "2152280cde8c3aa4830d2041195119e6", "score": "0.6490656", "text": "public Sala() {\n\t\t\n\t}", "title": "" }, { "docid": "c830dca3a3f583727c6f90c2228a2489", "score": "0.63988066", "text": "public Pessoas() {\r\n }", "title": "" }, { "docid": "bb08dfbac8e0118a4212481ff35dc54a", "score": "0.6379948", "text": "public NEOObject(Object args)\n {\n }", "title": "" }, { "docid": "1a6efafd219f08c92e8717e1ed974e41", "score": "0.63774395", "text": "public DatabaseUpdateParameters() {\n }", "title": "" }, { "docid": "6c97d5a9f3251ea731aa738be52ece77", "score": "0.63540626", "text": "public Sala() {\n }", "title": "" }, { "docid": "55fb14b86c914d0fb5a144ffe36c6ed9", "score": "0.6327668", "text": "public Reiziger() {\n\t}", "title": "" }, { "docid": "2bae91f53b2b100864a94a490dc3c3cb", "score": "0.6309941", "text": "public ReasoningParameters() {}", "title": "" }, { "docid": "f049da41e87aa1e74eb9369575fff10c", "score": "0.63082904", "text": "public All() {\n }", "title": "" }, { "docid": "d39b06466560e66e8c8ddab5f99b5ee5", "score": "0.6303255", "text": "public RFTStateParams()\n {\n super();\n }", "title": "" }, { "docid": "e8c5950dafd4a164d67cea90b08b777d", "score": "0.62721646", "text": "public BaseParamFilterReader() {\n super();\n }", "title": "" }, { "docid": "8d75e9d52cbf7268a7241c1ec1af9525", "score": "0.62661195", "text": "public Parameter()\r\n {\r\n }", "title": "" }, { "docid": "9431d91c3eea9ede90a10a11a08c063f", "score": "0.626314", "text": "@Override\r\n\tpublic String init(String params) {\n\t\treturn \"xx\";\r\n\t}", "title": "" }, { "docid": "5ce10e94dce8851944d7c17ab122fb92", "score": "0.62410337", "text": "protected void initParams() {\n params = new Hashtable<Integer, Object>();\n }", "title": "" }, { "docid": "7760da5cdd0adcd574867e6b412ec186", "score": "0.6192059", "text": "public ParameterSet() {\n }", "title": "" }, { "docid": "3a249ec17309f7198e1431fd4da5993c", "score": "0.6184382", "text": "public Response init(String[] args);", "title": "" }, { "docid": "9bf3865ab55ce695a2f386989ad620f1", "score": "0.61820734", "text": "protected void init(final List<? extends VariableElement> params) {\n\n }", "title": "" }, { "docid": "0b915f8a66be2c9a4d3898768169e9de", "score": "0.61817294", "text": "private QueryRequest_Factory() {\n\t}", "title": "" }, { "docid": "add17adc465ad24f826cf64b096e88c1", "score": "0.61754215", "text": "public CRRequest() {\n\t}", "title": "" }, { "docid": "64c9a11c67a988870f4a0551bc8f0974", "score": "0.61719227", "text": "public Parameters() {\n values = new HashMap<String, List<String>>();\n }", "title": "" }, { "docid": "63e02cdff82b5ba63a953e5fa0fb4512", "score": "0.6160501", "text": "public SessionBuilder(final Properties someParams) {\n this(someParams, null);\n }", "title": "" }, { "docid": "fc3f9c38a265423e68ecb80068cec0a1", "score": "0.61477214", "text": "@Test\n void allArgsConstructor() {\n }", "title": "" }, { "docid": "d97006b1645e6573f4e74d431ea68fe7", "score": "0.6146986", "text": "public Strassen () {\n\t}", "title": "" }, { "docid": "c710e9f08a52056bf30c0f6f7d5819fd", "score": "0.614208", "text": "private void construct(String name, String code, String police, String medical, String fire) {\n this.name = name;\n this.code = code;\n this.police = police;\n this.medical = medical;\n this.fire = fire;\n }", "title": "" }, { "docid": "c97f29d03d93d94133f88921fa53058c", "score": "0.6141034", "text": "public RequestData() {\n }", "title": "" }, { "docid": "4be1678a667958d6851d3a7c5775c34c", "score": "0.6137706", "text": "Builder() {\n }", "title": "" }, { "docid": "253f822ac3786fd0a56d5b2cf4538894", "score": "0.612803", "text": "public RestRequest() {\n }", "title": "" }, { "docid": "8841b27528ca2db1425c4c6f10f18d1b", "score": "0.61104834", "text": "public Car(){\n this(4,4,\"Default mercedes\", \"Default v8\", \"Default azul\");\n System.out.println(\"Empty constructor called\");\n }", "title": "" }, { "docid": "f7e67a4b7a284fd279dfe3ec35420434", "score": "0.60998315", "text": "public Tent () {\n\n\t}", "title": "" }, { "docid": "4ba1c8a8f67482af61c322f20f41ff93", "score": "0.60879046", "text": "public ParameterGroups() {\n }", "title": "" }, { "docid": "f2f44db5dca8a2ce25051a36b05f1402", "score": "0.6085831", "text": "@Test\n public void Constructor() {\n Detection detectionObject =\n new Detection(\n ID,\n AGENCYID,\n AUTHOR,\n LATITUDE,\n LONGITUDE,\n TIME,\n DEPTH,\n LATITUDEERROR,\n LONGITUDEERROR,\n TIMEERROR,\n DEPTHERROR,\n DETECTIONTYPE,\n DETECTIONTIME,\n EVENTTYPE,\n CERTAINTY,\n BAYES,\n MINIMUMDISTANCE,\n RMS,\n GAP,\n DETECTOR,\n buildPickData(),\n buildCorrelationData());\n\n // check data values\n CheckData(detectionObject, \"Constructor\");\n\n // use constructor\n Detection altDetectionObject =\n new Detection(\n ID,\n new Source(AGENCYID, AUTHOR),\n new Hypocenter(\n LATITUDE,\n LONGITUDE,\n TIME,\n DEPTH,\n LATITUDEERROR,\n LONGITUDEERROR,\n TIMEERROR,\n DEPTHERROR),\n DETECTIONTYPE,\n DETECTIONTIME,\n new EventType(EVENTTYPE, CERTAINTY),\n BAYES,\n MINIMUMDISTANCE,\n RMS,\n GAP,\n DETECTOR,\n buildPickData(),\n buildCorrelationData());\n\n // check data values\n CheckData(altDetectionObject, \"Alternate Constructor 1\");\n\n // empty constructor\n JSONObject emptyJSONObject = new JSONObject();\n Detection emptyObject = new Detection(emptyJSONObject);\n\n // check the data\n CheckData(emptyObject, \"Empty Constructor\");\n }", "title": "" }, { "docid": "d2af8d77e84adb32850e7b6578199e12", "score": "0.6083695", "text": "@Test\n public void constructorDefault() {\n final FilterRequest filterRequest = new FilterRequest();\n\n assertNull(filterRequest.getField());\n assertNull(filterRequest.getValue());\n assertNull(filterRequest.getOperation());\n }", "title": "" }, { "docid": "3f3eda4e0af507a910c1da81c418f842", "score": "0.6081874", "text": "public Lokasi() {\n }", "title": "" }, { "docid": "0fc949d171d7f466d3f4529cf1d19d98", "score": "0.60800976", "text": "public Atraccion() {\r\n }", "title": "" }, { "docid": "bbe5f8c781f169a4d1ac91abf70f09e1", "score": "0.6072757", "text": "public Ava()\n {\n this( null );\n }", "title": "" }, { "docid": "f76aeeabc68eb47c646e974638188493", "score": "0.60700417", "text": "public PersonalizationParameters()\n {\n this.setClassDelegate(DELEGATE);\n _init();\n }", "title": "" }, { "docid": "b679d792cb644efb05ef592fdfcd9bf4", "score": "0.6069196", "text": "public BackendUpdateParameters() {\n }", "title": "" }, { "docid": "25ceed8103194221fcc5082169394232", "score": "0.60652137", "text": "public Reference(String paramString1, String paramString2, String paramString3) {\n/* 155 */ this(paramString1);\n/* 156 */ this.classFactory = paramString2;\n/* 157 */ this.classFactoryLocation = paramString3;\n/* */ }", "title": "" }, { "docid": "a41dd5b866c13f8a7488915e5ec1213d", "score": "0.6052231", "text": "private ag(int paramInt, String paramString)\r\n/* 7: */ {\r\n/* 8:136 */ this.f = paramInt;\r\n/* 9:137 */ this.g = paramString;\r\n/* 10: */ }", "title": "" }, { "docid": "cc100681171c838f47f6931fb1d8be9a", "score": "0.60473937", "text": "public CancerTieringInterpretationAnalysisParams() {\n }", "title": "" }, { "docid": "154185eb8367d699d6549053f8c5acba", "score": "0.6045093", "text": "public Rueda()\r\n\t{\r\n\t\t\r\n\t}", "title": "" }, { "docid": "578d19dd248dd5cf1f5ec8612cdaf600", "score": "0.6042379", "text": "public abstract StrategyParams initParams();", "title": "" }, { "docid": "e7f9fff993d7e2f9986f001508c76932", "score": "0.60336703", "text": "public Employee(int empId,String empFirstName,String empSecondName,double empSalary)\r\n{\r\nthis.empId=empId;//constructor\r\nthis.empFirstName=empFirstName;\r\nthis.empSecondName=empSecondName;\r\nthis.empSalary=empSalary;\r\n}", "title": "" }, { "docid": "2813ba2ad384b93e3dbf98a88cbf1bde", "score": "0.60313123", "text": "public Person(){\n\t\tthis(\"Calling another constructor\");\n\t\tfirstName = \"John\";\n\t\tlastName = \"Doe\";\n\t\tage = 0;\n\t\tbirthday = new Date();\n\t\tgender = \"Male\";\t\t\n\t}", "title": "" }, { "docid": "c59a2fbceec79dedc379d0a5b142cc59", "score": "0.60289633", "text": "public EnsamblePiezas() {\n }", "title": "" }, { "docid": "0f198c155f8f02d3ad040743be07af2e", "score": "0.6028922", "text": "public Wrapper(){\t\t\n\t}", "title": "" }, { "docid": "e85fd419519dc548d5149fa6a0eb32d8", "score": "0.60273933", "text": "public Data()\n {\n this(defaultTitle, \"\", \"\", \"\", defaultType);\n }", "title": "" }, { "docid": "341bb95b78d5dd8631345fc9dd863ffc", "score": "0.60262424", "text": "private Common() {\n }", "title": "" }, { "docid": "c92e1a8fd9cd021b480bf3f97a2939da", "score": "0.6022722", "text": "public Book() {\n this(\"Book\",\"Author\",\"Publisher\",2000,0,0);\n }", "title": "" }, { "docid": "f9bf89fd727ddff5373f0ec81435cfb0", "score": "0.6021904", "text": "public Agencia() {\r\n\r\n\t}", "title": "" }, { "docid": "5ff24a02a2f48489187ef52a23b8ea90", "score": "0.6017392", "text": "public Comprador() {\r\n }", "title": "" }, { "docid": "118dd5060179ceb5c24782ba2f7ec3ac", "score": "0.60119325", "text": "public Sample()\n\t{\n\t}", "title": "" }, { "docid": "77db00d71670211b657456d392fdbca0", "score": "0.6011604", "text": "public ObjectBuilder() {\n super();\n }", "title": "" }, { "docid": "52c5f0778ba6c0983b4172fa32942611", "score": "0.6010489", "text": "public ObjectFactory() {\n\t}", "title": "" }, { "docid": "52c5f0778ba6c0983b4172fa32942611", "score": "0.6010489", "text": "public ObjectFactory() {\n\t}", "title": "" }, { "docid": "52c5f0778ba6c0983b4172fa32942611", "score": "0.6010489", "text": "public ObjectFactory() {\n\t}", "title": "" }, { "docid": "52c5f0778ba6c0983b4172fa32942611", "score": "0.6010489", "text": "public ObjectFactory() {\n\t}", "title": "" }, { "docid": "52c5f0778ba6c0983b4172fa32942611", "score": "0.6010489", "text": "public ObjectFactory() {\n\t}", "title": "" }, { "docid": "a23ee5219bf392827b02a577dd4f64f8", "score": "0.60033745", "text": "private ProxyGenerator(String paramString, Class<?>[] paramArrayOfClass, int paramInt)\n/* */ {\n/* 418 */ this.className = paramString;\n/* 419 */ this.interfaces = paramArrayOfClass;\n/* 420 */ this.accessFlags = paramInt;\n/* */ }", "title": "" }, { "docid": "4752ee19a5b2cc7b885dd17ea0a5855b", "score": "0.60006434", "text": "public static AdapterParameteters params() {\n \t\treturn new AdapterParameteters();\n \t}", "title": "" }, { "docid": "cadb6d4a75fb7fae3e0d694006bb2670", "score": "0.5999598", "text": "public Sach() {\n\t}", "title": "" }, { "docid": "6ca8f1b9105bd821c50aefc78718726c", "score": "0.5996233", "text": "private Apiary() {\r\n\r\n }", "title": "" }, { "docid": "546830c270647074b5b3ed51b80d1209", "score": "0.59914255", "text": "public MethodParametersAttribute()\n {\n }", "title": "" }, { "docid": "aad225e463f4f3363d9027f95cd7e746", "score": "0.5990823", "text": "public Club() {\n\t}", "title": "" }, { "docid": "13429eed075ca16a38f2d529a7525745", "score": "0.59906834", "text": "@Test\n public void constructorComplete() {\n final String FIELD = \"test\";\n final String VALUE = \"value\";\n final FilterRequest.OPERATIONS OPERATION = FilterRequest.OPERATIONS.EQ;\n final FilterRequest filterRequest = new FilterRequest(FIELD, VALUE, OPERATION);\n\n assertSame(FIELD, filterRequest.getField());\n assertSame(VALUE, filterRequest.getValue());\n assertSame(OPERATION, filterRequest.getOperation());\n }", "title": "" }, { "docid": "4741522eeadac495b772b4b392cfdf9b", "score": "0.59882027", "text": "public LinkNotificationHubParameters() {\n }", "title": "" }, { "docid": "17bb5d7a03f9f4f652c5e3fb6dd26f01", "score": "0.59873813", "text": "public AR_Base(Map<String, Object> conf) {\n super(conf);\n }", "title": "" }, { "docid": "c4a59c89ede0eb95f196ff8ddfb84f2b", "score": "0.5987077", "text": "public Convertor() {\r\n }", "title": "" }, { "docid": "c6de4094eeac2e7639f8fcbc8ccfe34d", "score": "0.5986425", "text": "public ComponentParameterFactoryImpl() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "6454148d3ce1634c2edfb56353f87ea5", "score": "0.5980945", "text": "public p4p3() {\n }", "title": "" }, { "docid": "bf9e6bed3b9f19fed7847e223068f1ed", "score": "0.59745216", "text": "protected HttpEntity()\n/* */ {\n/* 73 */ this(null, null);\n/* */ }", "title": "" }, { "docid": "18a80c481a627ca170e3c0d5af199073", "score": "0.5973832", "text": "public Batch() {\r\n\t}", "title": "" }, { "docid": "e3cf6d3980c2f7c7ddb9f167710e39ea", "score": "0.5973255", "text": "public CustomerTracker()\n {\n // initialise instance variables\n this( 0,0 );\n }", "title": "" }, { "docid": "f18e7408f871cb02a068868af99d4639", "score": "0.59672815", "text": "public MatParam() {\n }", "title": "" }, { "docid": "d92d40c3c9d6a626076026d954cf4a80", "score": "0.5963637", "text": "public CreateRequest() {\n }", "title": "" }, { "docid": "72caa0f345b4c32536ef0df79ccc9a1e", "score": "0.5959805", "text": "public Critter2() {\n\n\t}", "title": "" }, { "docid": "75032d273818b656586eac05f9de8496", "score": "0.59597045", "text": "public Pelouse() {\r\n\t}", "title": "" }, { "docid": "6870069a2bfe26cf98fa82aa0b6aa993", "score": "0.59513396", "text": "public LoadRequest() {\n }", "title": "" }, { "docid": "c50ed9142779a96ac4c1cebcc14e5d25", "score": "0.5951307", "text": "public static void main(String[] args) {\n parameterized_constructor obj=new parameterized_constructor(5,6.78);\n\n }", "title": "" }, { "docid": "a52d9da1be4e1c1d0e76fb933f43036e", "score": "0.59511566", "text": "public ConfigParameter() {\n super();\n }", "title": "" }, { "docid": "05a4c76f2791f4827cb4f88ba24af85f", "score": "0.59507054", "text": "public AllCovidInfo() {\n }", "title": "" }, { "docid": "e9d53132d504b8ef1535eaee0c51f70d", "score": "0.59453976", "text": "private RequestDataFactory() {\r\n }", "title": "" }, { "docid": "e02e6007f6831e63b0b3f141996a0a0b", "score": "0.59416", "text": "public MCS(HashMap p) {\r\n _params = new HashMap(p);\r\n }", "title": "" }, { "docid": "e6d07d048c1f0a61b11b76e9f8f59310", "score": "0.59366137", "text": "public Customer(String fname, String lname, String dob)\n {\n \n }", "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.775593", "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.775593", "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.7712101", "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.7712101", "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.7712101", "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.7712101", "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.7712101", "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.7712101", "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.7712101", "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.7712101", "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.7712101", "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.7712101", "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.7712101", "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.7712101", "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.7712101", "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.7712101", "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.7712101", "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.7712101", "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.7712101", "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.7712101", "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.7712101", "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.7712101", "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.7712101", "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": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7657996", "text": "private void writeAttribute(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 (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7657996", "text": "private void writeAttribute(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 (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7646986", "text": "private void writeAttribute(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 (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7646986", "text": "private void writeAttribute(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 (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7646986", "text": "private void writeAttribute(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 (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7646986", "text": "private void writeAttribute(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 (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7646986", "text": "private void writeAttribute(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 (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7646986", "text": "private void writeAttribute(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 (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7646986", "text": "private void writeAttribute(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 (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7646986", "text": "private void writeAttribute(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 (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7646986", "text": "private void writeAttribute(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 (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7646986", "text": "private void writeAttribute(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 (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7646986", "text": "private void writeAttribute(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 (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7646986", "text": "private void writeAttribute(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 (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7646986", "text": "private void writeAttribute(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 (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7646986", "text": "private void writeAttribute(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 (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7646986", "text": "private void writeAttribute(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 (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7646986", "text": "private void writeAttribute(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 (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7646986", "text": "private void writeAttribute(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 (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7646986", "text": "private void writeAttribute(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 (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7646986", "text": "private void writeAttribute(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 (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7646986", "text": "private void writeAttribute(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 (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7646986", "text": "private void writeAttribute(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 (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" }, { "docid": "10fd6e56e19c627a29b9297c77de39eb", "score": "0.76265365", "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 xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }", "title": "" } ]
57740db4ed4bc2aebcf8e1cd518a8c07
Original signature : initWithBytesNoCopy(void, NSUInteger, NSStringEncoding, BOOL) "NoCopy" is a hint from NSStringExtensionMethods native declaration : :263
[ { "docid": "2df9bc6478dd54755ce4239fed59d1e6", "score": "0.703484", "text": "public abstract NSString initWithBytesNoCopy_length_encoding_freeWhenDone(com.sun.jna.Pointer bytes, NSUInteger len, NSUInteger encoding, boolean freeBuffer);", "title": "" } ]
[ { "docid": "95fe52eb788e47622073c91b66285360", "score": "0.7185348", "text": "public abstract NSString initWithCString(String bytes);", "title": "" }, { "docid": "0e1d47bdc22f10a72fec2871e0727b2d", "score": "0.70977795", "text": "public abstract NSString initWithBytes_length_encoding(com.sun.jna.Pointer bytes, NSUInteger len, NSUInteger encoding);", "title": "" }, { "docid": "1341b47f4974f3b6c20cde3b3957dcee", "score": "0.70382434", "text": "public abstract NSString initWithUTF8String(String nullTerminatedCString);", "title": "" }, { "docid": "ba9d5788f2629a648993cb58b1b6be73", "score": "0.6821606", "text": "public abstract NSString initWithCString_encoding(String nullTerminatedCString, NSUInteger encoding);", "title": "" }, { "docid": "8dc7e033b2131bb6f7c011befdbb2e41", "score": "0.68083954", "text": "public abstract NSString initWithCString_length(String bytes, NSUInteger length);", "title": "" }, { "docid": "0173b2893c0a9b9b28649ab5ff171e98", "score": "0.6432448", "text": "public abstract NSString initWithCStringNoCopy_length_freeWhenDone(java.nio.ByteBuffer bytes, NSUInteger length, boolean freeBuffer);", "title": "" }, { "docid": "a6f171b186229b3b2bf2d1f9a0adf1d3", "score": "0.62103856", "text": "public abstract NSString init();", "title": "" }, { "docid": "6ff6f452240528e3d40748d93144e8fb", "score": "0.619332", "text": "private native void initFromArray(byte[] array);", "title": "" }, { "docid": "c371ac08c30bb28f813d9878d8ce2990", "score": "0.61829984", "text": "public abstract NSString initWithCharactersNoCopy_length_freeWhenDone(char characters, NSUInteger length, boolean freeBuffer);", "title": "" }, { "docid": "90f9c7d65f99c6e98ce6bafc86183c0d", "score": "0.6062039", "text": "private Base64() { // nop\n }", "title": "" }, { "docid": "3f074a4c271dd5f08dc3722ccbf6aac7", "score": "0.6022971", "text": "public abstract NSString initWithString(String aString);", "title": "" }, { "docid": "18d5d685e9389868d94045fd2e328fb1", "score": "0.59680575", "text": "@Keep\n public native void initialize(String str, Object obj);", "title": "" }, { "docid": "1bac65fcba025070e44d1a6124b3b949", "score": "0.59202814", "text": "public abstract NSString initWithCharacters_length(char characters[], NSUInteger length);", "title": "" }, { "docid": "8f06236c3891e4986715e4f94b1e8342", "score": "0.5907409", "text": "private static void constructorTestString() {\n byte[] bytes=new byte[2];\n bytes[0]=(byte) 0x90;\n bytes[0]=(byte) 0x91;\n String str= new String(bytes);\n System.out.println(str);\n }", "title": "" }, { "docid": "2834b3444f969e915b0c5d14af8ed393", "score": "0.58357435", "text": "private SwiftUtil() { }", "title": "" }, { "docid": "4efca54df8118c1fccb8a1759104be3e", "score": "0.57830733", "text": "public CharMarshal(final java.lang.System[] $dummy) {\n \n }", "title": "" }, { "docid": "12ce014e091921ea3157f1670dac7ddb", "score": "0.5753078", "text": "@Test\n public void testConstructorImmutability() {\n UUID id = new UUID();\n byte[] bytes = id.getBytes();\n byte[] original = Arrays.copyOf(bytes, bytes.length);\n\n UUID id2 = new UUID(bytes);\n bytes[0] = 0;\n bytes[1] = 0;\n\n assertTrue(Arrays.equals(id2.getBytes(), original));\n }", "title": "" }, { "docid": "91cae06575ac8d7fb4e0effa8c440bdd", "score": "0.5729553", "text": "public ByteMarshal(final java.lang.System[] $dummy) {\n \n }", "title": "" }, { "docid": "614ae9075993ddaf982e192186ba27ad", "score": "0.5697025", "text": "Buffer unsafeCopy();", "title": "" }, { "docid": "bec907349db028951bd514dbf1ceb0ba", "score": "0.5674152", "text": "private KCEncodingUtils()\n\t{\n\t}", "title": "" }, { "docid": "c5ab673f5759a964152c8560a22edbf5", "score": "0.56469834", "text": "NSString stringWithCString(String bytes);", "title": "" }, { "docid": "8dce296029fd3e4f538bf0f706bbef36", "score": "0.5631208", "text": "public MachineByteV1()\n\t{\n\t\tjunk.getChars(0, bitsinbyte, bytearray, 0);\n\t}", "title": "" }, { "docid": "d0be52df1c5e79cd0dc623c2658abdf9", "score": "0.5591299", "text": "public void copyFrom(byte[] d) {\n/* 399 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "title": "" }, { "docid": "36989fa05340fec904ff2a6fe2e51b22", "score": "0.5580961", "text": "public java.lang.Object clone() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: android.icu.impl.CharacterIteratorWrapper.clone():java.lang.Object, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.icu.impl.CharacterIteratorWrapper.clone():java.lang.Object\");\n }", "title": "" }, { "docid": "37b63577e6af7fd5ed1107956b12a07a", "score": "0.5578381", "text": "public UByteMarshal(final java.lang.System[] $dummy) {\n \n }", "title": "" }, { "docid": "749863bfd2727b8f587f37566534a867", "score": "0.5559721", "text": "private MethodVisitor rewriteStringBufferConstructor(MethodVisitor mv) {\n Assert.assertTrue(Vm.isJDK14());\n mv.visitCode();\n mv.visitVarInsn(ALOAD, 0);\n mv.visitMethodInsn(INVOKESPECIAL, \"java/lang/Object\", \"<init>\", \"()V\");\n mv.visitVarInsn(ALOAD, 1);\n mv.visitMethodInsn(INVOKEVIRTUAL, \"java/lang/StringBuffer\", \"toString\", \"()Ljava/lang/String;\");\n mv.visitVarInsn(ASTORE, 2);\n mv.visitVarInsn(ALOAD, 0);\n mv.visitVarInsn(ALOAD, 2);\n mv.visitFieldInsn(GETFIELD, \"java/lang/String\", \"value\", \"[C\");\n mv.visitFieldInsn(PUTFIELD, \"java/lang/String\", \"value\", \"[C\");\n mv.visitVarInsn(ALOAD, 0);\n mv.visitVarInsn(ALOAD, 2);\n mv.visitFieldInsn(GETFIELD, \"java/lang/String\", \"count\", \"I\");\n mv.visitFieldInsn(PUTFIELD, \"java/lang/String\", \"count\", \"I\");\n mv.visitVarInsn(ALOAD, 0);\n mv.visitVarInsn(ALOAD, 2);\n mv.visitFieldInsn(GETFIELD, \"java/lang/String\", \"offset\", \"I\");\n mv.visitFieldInsn(PUTFIELD, \"java/lang/String\", \"offset\", \"I\");\n mv.visitInsn(RETURN);\n mv.visitMaxs(0, 0);\n return null;\n }", "title": "" }, { "docid": "95d44083559321dd9db78e42474cc607", "score": "0.5534288", "text": "public abstract com.sun.jna.ptr.ByteByReference cStringUsingEncoding(NSUInteger encoding);", "title": "" }, { "docid": "371b8097cbdf02b2e6d5cf7ac8728461", "score": "0.5530136", "text": "public abstract com.sun.jna.ptr.ByteByReference lossyCString();", "title": "" }, { "docid": "39f840bb1c8b656b1193e99d8174d790", "score": "0.55196303", "text": "public\t\tTXTRecord( byte[] initBytes) \n\t{ fBytes = initBytes.clone(); }", "title": "" }, { "docid": "75abf6c3409b3225a970dba2686f6686", "score": "0.54852927", "text": "public ByteMarshal() {\n this((java.lang.System[]) null);\n x10$io$Marshal$ByteMarshal$$init$S();\n }", "title": "" }, { "docid": "58f1991c0eb98144f67693ff6d416132", "score": "0.54354596", "text": "@VisibleForTesting\n static Marshal copyFromBytes(byte[] bytes) throws MarshalException {\n byte[] dst = new byte[bytes.length];\n System.arraycopy(bytes, 0, dst, 0, bytes.length);\n\n return fromBytes(new ByteArray(dst));\n }", "title": "" }, { "docid": "29d17339793121079298d45104cbd294", "score": "0.54219633", "text": "private StringHelper()\r\n\t{\r\n\t}", "title": "" }, { "docid": "d47c1cb152903f07c23848b99fe194dd", "score": "0.54163575", "text": "private native void initFromBuffer(ByteBuffer buffer, int start, int len);", "title": "" }, { "docid": "da58453b751e6757a380b37d175b4d70", "score": "0.53966933", "text": "public MyString() {}", "title": "" }, { "docid": "be1eb430d7e8b65fcd11944434b41c15", "score": "0.53415644", "text": "public abstract NSString precomposedStringWithCompatibilityMapping();", "title": "" }, { "docid": "b32ce6b8a6571cb2b69188f6c959c37b", "score": "0.5337657", "text": "public abstract com.sun.jna.ptr.ByteByReference cString();", "title": "" }, { "docid": "2c621032892af897bac43977066192ed", "score": "0.5329615", "text": "public void copyFromUnchecked(byte[] d) {\n/* 275 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "title": "" }, { "docid": "15f0be7ff4cee2e977545ddb19aeda16", "score": "0.5325437", "text": "protected abstract T newInstance(byte[] data);", "title": "" }, { "docid": "1a9a15e58d915842d008ca09d44cebd5", "score": "0.53051996", "text": "public UByteMarshal() {\n this((java.lang.System[]) null);\n x10$io$Marshal$UByteMarshal$$init$S();\n }", "title": "" }, { "docid": "5dfd46fe394291a47e6aeb9083b3b9dc", "score": "0.52965844", "text": "public\n YutilChar()\n {\n }", "title": "" }, { "docid": "7e0e0f0bf8df7ca6a750e3548ef154a3", "score": "0.5270429", "text": "NSString stringWithUTF8String(String nullTerminatedCString);", "title": "" }, { "docid": "c271b4fe3341d2a6a785836f196167a3", "score": "0.52658194", "text": "public DeprecatedUTF8(String string) {\n super(string);\n }", "title": "" }, { "docid": "d13277d8c5d198c857f46b03bd479463", "score": "0.5247827", "text": "public VerbatimBuilder(String verbatim) {\n/* 1374 */ super(null); throw new RuntimeException(\"Stub!\");\n/* */ }", "title": "" }, { "docid": "75bf161a9d03d42b563961e03467f8c4", "score": "0.52337736", "text": "Mac m17227OooO00o(String str) throws NoSuchAlgorithmException, NoSuchProviderException;", "title": "" }, { "docid": "3ec9d944247206392e3cf742f11eb252", "score": "0.52195007", "text": "private UnicodeUtils() { super(); }", "title": "" }, { "docid": "84c7c8b61bc2c32b5836fd5ca479bd17", "score": "0.5215996", "text": "public native Object clone() throws CloneNotSupportedException;", "title": "" }, { "docid": "2ede24e1ebfe114b55308a510ccc6681", "score": "0.52100825", "text": "public ReadableByteArray (byte [] b)\n {\n super (b);\n }", "title": "" }, { "docid": "59921b0809eaa572bd2fc902e8ff5c71", "score": "0.5180364", "text": "public CharMarshal() {\n this((java.lang.System[]) null);\n x10$io$Marshal$CharMarshal$$init$S();\n }", "title": "" }, { "docid": "47cd2fab6979a256565020d1abb40a2f", "score": "0.51773757", "text": "public void copyTo(byte[] d) {\n/* 1051 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "title": "" }, { "docid": "cb610b623f6899cbd92165c9473a81de", "score": "0.517688", "text": "private byte[] fromBase64( byte[] bytes ) {\n // TODO Auto-generated method stub\n return null;\n }", "title": "" }, { "docid": "447218258adcabfeeec31472cee483db", "score": "0.51593286", "text": "public native boolean Init(byte[] param, byte[] bin);", "title": "" }, { "docid": "a65611b8f4b9a714b23bdadb7981ee0a", "score": "0.5152155", "text": "MyVersionObject() {\r\n i = 512;\r\n s = new String( \"Instance of MyVersionObject...\" );\r\n }", "title": "" }, { "docid": "3a302d91a4cc999579fe57675929845e", "score": "0.514893", "text": "public abstract NSString initWithContentsOfURL(NSURL url);", "title": "" }, { "docid": "89e176ec3d1b9d6e343db9be35db59d9", "score": "0.51435417", "text": "private StringUtilities() {\n\t}", "title": "" }, { "docid": "3722b8c3fcaab16ae2274187d17cf7e3", "score": "0.51384556", "text": "public ne(String paramString, PublicKey paramPublicKey, byte[] paramArrayOfByte)\r\n/* 13: */ {\r\n/* 14:20 */ this.a = paramString;\r\n/* 15:21 */ this.b = paramPublicKey;\r\n/* 16:22 */ this.c = paramArrayOfByte;\r\n/* 17: */ }", "title": "" }, { "docid": "90fb42fa111a406a8b0891210018cf50", "score": "0.51380444", "text": "void mo35798a(String str, byte[] bArr, boolean z);", "title": "" }, { "docid": "e269e97370f9c24dbf02e90b7c7b095c", "score": "0.5119399", "text": "public void testConstructorBytesPositive2() {\n byte aBytes[] = {12, 56, 100};\n byte rBytes[] = {12, 56, 100};\n BigInteger aNumber = new BigInteger(aBytes);\n byte resBytes[] = new byte[rBytes.length];\n resBytes = aNumber.toByteArray();\n for(int i = 0; i < resBytes.length; i++) {\n assertTrue(resBytes[i] == rBytes[i]);\n }\n assertEquals(\"incorrect sign\", 1, aNumber.signum());\n }", "title": "" }, { "docid": "ece15146d51c37aebb6309d7b54a394c", "score": "0.5113339", "text": "public FastStringBuffer() {\r\n this(16);\r\n }", "title": "" }, { "docid": "251ed867d6f7b0cd28c7fe543062e0bc", "score": "0.509539", "text": "public abstract NSData dataUsingEncoding_allowLossyConversion(NSUInteger encoding, boolean lossy);", "title": "" }, { "docid": "ee4ed03c0bf8a95c838504c32fb40767", "score": "0.50913316", "text": "private static byte[] stringToBytes(String str) {\n\t\ttry {\n\t\t\treturn (str + \"\\0\").getBytes(CHARSET);\n\t\t} catch (UnsupportedEncodingException e) {\n\t\t\tthrow new RuntimeException(e);\n\t\t}\n\t}", "title": "" }, { "docid": "66b34a7aaa4c679ce5c5cfe1cbc2e231", "score": "0.5091146", "text": "@Test\n public void testGetBytesImmutability() {\n UUID id = new UUID();\n byte[] bytes = id.getBytes();\n byte[] original = Arrays.copyOf(bytes, bytes.length);\n bytes[0] = 0;\n bytes[1] = 0;\n bytes[2] = 0;\n\n assertTrue(Arrays.equals(id.getBytes(), original));\n }", "title": "" }, { "docid": "af8e3291d9e1bf532bdab2024e681996", "score": "0.50870407", "text": "public interface C3299bj {\n /* renamed from: ı reason: contains not printable characters */\n String[] m1810();\n\n /* renamed from: ǃ reason: contains not printable characters */\n InputStream m1811();\n\n /* renamed from: ɩ reason: contains not printable characters */\n String m1812();\n\n /* renamed from: Ι reason: contains not printable characters */\n long m1813();\n}", "title": "" }, { "docid": "9ea00bcbb5a8ce612d47476695c6851a", "score": "0.5085882", "text": "private LsCodecUtility() {\n }", "title": "" }, { "docid": "b7466d99d9487970ec852a012b13fa6e", "score": "0.5068905", "text": "Buffer copy();", "title": "" }, { "docid": "81e2cf02940b496a0a16c34f74964ba1", "score": "0.5057015", "text": "public void testConstructorBytesZero() {\n byte aBytes[] = {0, 0, 0, -0, +0, 0, -0};\n byte rBytes[] = {0};\n BigInteger aNumber = new BigInteger(aBytes);\n byte resBytes[] = new byte[rBytes.length];\n resBytes = aNumber.toByteArray();\n for(int i = 0; i < resBytes.length; i++) {\n assertTrue(resBytes[i] == rBytes[i]);\n }\n assertEquals(\"incorrect sign\", 0, aNumber.signum());\n }", "title": "" }, { "docid": "9ee718af416d1bb7ef30921534c0c725", "score": "0.5055971", "text": "private Object newDummyObject(long i) {\n byte[] value = new byte[byteArraySize];\n Arrays.fill(value, (byte) i);\n return value;\n }", "title": "" }, { "docid": "27840bb95498189dee7c746f66831358", "score": "0.5052506", "text": "@Test\n public void testTokenFactoryStringsNonUTF()\n {\n Token.TokenFactory factory = this.part.getTokenFactory();\n BytesToken tok = new BytesToken((byte)0xFF, (byte)0xFF);\n assert tok.compareTo(factory.fromString(factory.toString(tok))) == 0;\n }", "title": "" }, { "docid": "344e836c39555e5660e24e7721548bfb", "score": "0.5041388", "text": "public XMLX509SKI(Document paramDocument, byte[] paramArrayOfbyte) {\n/* 65 */ super(paramDocument);\n/* 66 */ addBase64Text(paramArrayOfbyte);\n/* */ }", "title": "" }, { "docid": "89cd13836d007a62c7a59a3b9adb28ac", "score": "0.5039829", "text": "@Override\n public void init() throws PasswordEncoderException {\n }", "title": "" }, { "docid": "409bf851fccb2ba321de5480056330e5", "score": "0.50362235", "text": "public abstract NSString initWithContentsOfFile(NSString path);", "title": "" }, { "docid": "65ac95b4ed11976284151228eb1af4ca", "score": "0.503433", "text": "public TokenBuilder(final byte[] token) {\n final int sz = token.length;\n chars = Arrays.copyOf(token, sz);\n size = sz;\n }", "title": "" }, { "docid": "914fc9a45eca91224d73d5aed858bd61", "score": "0.5033017", "text": "byte[] mo28835a(byte[] bArr) throws GeneralSecurityException;", "title": "" }, { "docid": "d78e618a24e75a494ab30af94f2af9bb", "score": "0.5032291", "text": "public abstract NSString initWithFormat(String format, NSObject... varargs);", "title": "" }, { "docid": "32bfaa0558b78d5a93060dbbb04d4215", "score": "0.50304985", "text": "public CString(CString original) {\n\t\tif (original == null) {\n\t\t\tthrow new IllegalArgumentException(\"Argument cannot be null.\");\n\t\t}\n\t\tif (original.count < original.data.length) {\n\t\t\tdata = original.toCharArray();\n\t\t\toffset = 0;\n\t\t\tcount = data.length;\n\t\t} else {\n\t\t\tdata = original.data;\n\t\t\toffset = original.offset;\n\t\t\tcount = original.count;\n\t\t}\n\t}", "title": "" }, { "docid": "1688a9f48e05272cf0bd86d809c4cf3c", "score": "0.5029998", "text": "public BinaryData() {\n }", "title": "" }, { "docid": "50eb7f12bc2a7987d823d34c82f806ec", "score": "0.5022164", "text": "public Obfuscated(char[] key, String data, int version) {\n this(key, data.getBytes(StandardCharsets.UTF_8), version);\n }", "title": "" }, { "docid": "996a8390051ea86454a4dbbf655d0044", "score": "0.5020835", "text": "SmartContractDataPackage.SmartContractData initFromBuffer(byte[] buf) throws JulongChainException;", "title": "" }, { "docid": "258b66bed226aaeac994a86c5e66fa21", "score": "0.5019589", "text": "static void $opt$TestNegativeValueNewByteArray() {\n byte[] a = { (byte)0xa0, (byte)0xa1, (byte)0xa2, (byte)0xa3,\n (byte)0xa4, (byte)0xa5, (byte)0xa6, (byte)0xa7 };\n for (int i = 0; i < a.length; i++) {\n assertEquals((byte)0xa0 + i, a[i]);\n }\n }", "title": "" }, { "docid": "6409d5f50fc1652586755aac72b04a4c", "score": "0.5017395", "text": "public TextBuilder(String text) {\n/* 1305 */ super(null); throw new RuntimeException(\"Stub!\");\n/* */ }", "title": "" }, { "docid": "339d05f6bc5a1973710ed15c7933da64", "score": "0.5016204", "text": "@Override\n public function copy() {\n String s = toString();\n return initFromString(s);\n }", "title": "" }, { "docid": "a602b33910fbf9ff12b8c0d2251374c7", "score": "0.5008031", "text": "public String copy(){\n\treturn null;\n }", "title": "" }, { "docid": "c70dca2593ae147c1d2746dd679ea236", "score": "0.50054646", "text": "public interface C27843a {\n /* renamed from: a */\n void mo35798a(String str, byte[] bArr, boolean z);\n }", "title": "" }, { "docid": "b5cb86ce13236c6032df3fbf944d08b4", "score": "0.5000977", "text": "public void testConstructorBytesNegative2() {\n byte aBytes[] = {-12, 56, 100};\n byte rBytes[] = {-12, 56, 100};\n BigInteger aNumber = new BigInteger(aBytes);\n byte resBytes[] = new byte[rBytes.length];\n resBytes = aNumber.toByteArray();\n for(int i = 0; i < resBytes.length; i++) {\n assertTrue(resBytes[i] == rBytes[i]);\n }\n assertEquals(\"incorrect sign\", -1, aNumber.signum());\n }", "title": "" }, { "docid": "ba77230cd4d91276336e09080d193574", "score": "0.499922", "text": "@Override\n\tpublic ByteBuf copy() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "1fb08471709c284dadcfe9e0270b69a8", "score": "0.49926704", "text": "BaseConstructorAdapter() {\n super(EBEAN_ASM_VERSION, null);\n }", "title": "" }, { "docid": "4bac707481289c21c3d9023cd2dc715b", "score": "0.49921203", "text": "@Override\r\n\tpublic void initialize(String str) {\n\t\t\r\n\t}", "title": "" }, { "docid": "4c11d9b6295eb0e84e20208f9d6a0fc4", "score": "0.49842656", "text": "public static void main(String[] args) {\n\t\t\r\n\t\tString s1 = \"s1\"; // This makes a String object in the pool\r\n\t\tString s2 = \"s2\"; // \"\r\n\t\tString s3 = \"s1\"; // Does not make a new String object\r\n\t\t\r\n\t\tbyte[] bytes = { 1, 2, 3, 4};\r\n\t\t\r\n\t\tString s4 = new String(bytes);\r\n\t\t\r\n\t\tSystem.out.println(s4);\r\n\t\t\r\n\t\tSystem.out.println(s1 == s4);\r\n\t\t\r\n\t\t// Check for equality of strings\r\n\t\tSystem.out.println(s4.equals(s1));\r\n\t\t\r\n\t\t// Look at String instance methods\r\n\t\tString demo = \" Salesforce core Java \";\r\n\t\t\t// substring\r\n\t\t\tString sub = demo.substring(4);\r\n\t\t\tString sub2 = demo.substring(4, 7);\r\n\t\t\t\r\n\t\t\tSystem.out.println(sub + \"||\" + sub2);\r\n\t\t\r\n\t\t\t// trim and strip\r\n\t\t\tdemo = demo.strip();\r\n\t\t\tSystem.out.println(demo);\r\n\t\t\r\n\t\t\t// indexOf\r\n\t\t\tSystem.out.println(demo.indexOf(' '));\r\n\t\t\t\r\n\t\t\tSystem.out.println(demo.indexOf(\"core\"));\r\n\t\t\r\n\t\t\t// charAt\r\n\t\t\tSystem.out.println(demo.charAt(11));\r\n\t\t\r\n\t\t// String Static methods\r\n\t\t\t// Value of does conversion\r\n\t\t\tchar[] charArray = {'H', 'e', 'l', 'l', 'o'};\r\n\t\t\tString conv = String.valueOf(charArray);\r\n\t\t\t\r\n\t\t\tString num = String.valueOf(2.60);\r\n\t\t\tString num2 = String.valueOf(5.0);\r\n\t\t\t\r\n\t\t\tSystem.out.println(Arrays.toString(charArray));\r\n\t\t\tSystem.out.println(num + num2);\r\n\t\t\r\n\t\t// iterating through Strings\r\n\t\t\t\r\n\t\t\tfor (int i = 0; i < demo.length(); i++) {\r\n\t\t\t\tchar [] temp = demo.toCharArray();\r\n\t\t\t\tSystem.out.println(demo.toCharArray()[i]);\r\n\t\t\t}\r\n\t\t\r\n\t\t// String Builder and String Buffer\r\n\t\t\tStringBuilder build = new StringBuilder(demo);\r\n\t\t\tStringBuffer buff = new StringBuffer(demo);\r\n\t\t\t\r\n\t\t\tSystem.out.println(build.reverse().toString());\r\n\t\t\r\n\t\t// Pass by value\r\n\t\t\r\n\t\tString one = new String(\"1\");\r\n\t\tString two = new String(\"2\");\r\n\t\t\r\n\t\tstringCheck(one, two);\r\n\t\t\r\n//\t\tSystem.out.println(one + \" \" + two);\r\n\r\n\t}", "title": "" }, { "docid": "32c487f0426c1c58f821beb4462c0d7e", "score": "0.49805814", "text": "@Override\n\t\tpublic function initFromString(String s) {\n\t\t\treturn null;\n\t\t}", "title": "" }, { "docid": "982f34eb6870a86f557680b188bfbeb6", "score": "0.49800694", "text": "public void testConstructorBytesPositive1() {\n byte aBytes[] = {12, 56, 100, -2, -76, 89, 45, 91, 3, -15, 35, 26, 3, 91};\n byte rBytes[] = {12, 56, 100, -2, -76, 89, 45, 91, 3, -15, 35, 26, 3, 91};\n BigInteger aNumber = new BigInteger(aBytes);\n byte resBytes[] = new byte[rBytes.length];\n resBytes = aNumber.toByteArray();\n for(int i = 0; i < resBytes.length; i++) {\n assertTrue(resBytes[i] == rBytes[i]);\n }\n assertEquals(\"incorrect sign\", 1, aNumber.signum());\n }", "title": "" }, { "docid": "f1225ba01930ba8f6f665a7eec38822d", "score": "0.49798724", "text": "private SymmetricEncryption()\n {\n }", "title": "" }, { "docid": "1bcab792ccb6849d08c0d6e674e6c120", "score": "0.4979106", "text": "public ObservableString() {\n }", "title": "" }, { "docid": "1fb742d05146690bf137610675c6eeee", "score": "0.49774683", "text": "public void copyStringToByte(String astring)\n\t{\n\t\tjunk.getChars(0, bitsinbyte, bytearray, 0);\n\t\tint stringlength = astring.length();\n\t\tif(stringlength > bitsinbyte)\n\t\t stringlength = bitsinbyte;\n\t\tastring.getChars(0, stringlength, bytearray, 0);\n\t}", "title": "" }, { "docid": "d98cd9b86b024ab72b7af2ff4230a9d0", "score": "0.49723038", "text": "protected void clone(Substring other) {\n\t\tother.nIntervals=nIntervals;\n\t\tfor (int i=0; i<nIntervals; i++) {\n\t\t\tother.bwtIntervals[i][0]=bwtIntervals[i][0];\n\t\t\tother.bwtIntervals[i][1]=bwtIntervals[i][1];\n\t\t}\n\t\tother.address=-1; // Cloning the address of this string is potentially wrong in multithreading\n\t\tother.log2address=-1;\n\t\tother.previousAddress=-1;\n\t\tother.length=length;\n\t\tother.log2length=log2length;\n\t\tother.bitsToEncodeLength=bitsToEncodeLength;\n\t\tother.firstCharacter=firstCharacter;\n\t\tother.hasBeenExtended=hasBeenExtended;\n\t\tother.hasBeenStolen=hasBeenStolen;\n\t}", "title": "" }, { "docid": "0970b0f34dddd93d35164f3593d9f5cf", "score": "0.49650392", "text": "ByteString(String str) {\r\n\t\tstr = removeNull(str);\r\n\t\tlength = str.length();\r\n\r\n\t\tbyte[] byteArray = str.getBytes();\r\n\t\tif (length > 0)\r\n\t\t\tdata = new int[1 + ((length - 1) >> 2)];\r\n\t\telse\r\n\t\t\tdata = new int[0];\r\n\t\tfor (int i = 0; i < length; i++)\r\n\t\t\tputByte(byteArray[i], i);\r\n\t}", "title": "" }, { "docid": "d0c7ccb7001dab7e22786b33e0aafe8e", "score": "0.49647853", "text": "public NPObjImpl() {\n super();\n\tmyname = new String(\"unknown\");\n }", "title": "" }, { "docid": "b9e1209853e0b4b5ecc4ce23b26d3bea", "score": "0.4954494", "text": "@Converted(kind = Converted.Kind.AUTO, source = \"${LLVM_SRC}/llvm/lib/Support/MemoryBuffer.cpp\", line = 45,\n old_source = \"${LLVM_SRC}/llvm/lib/Support/MemoryBuffer.cpp\", old_line = 46,\n FQN = \"llvm::MemoryBuffer::init\", NM = \"_ZN4llvm12MemoryBuffer4initEPKcS2_b\",\n cmd = \"jclank.sh -java-options=${SPUTNIK}/modules/org.llvm.adtsupport/llvmToClangType ${LLVM_SRC}/llvm/lib/Support/MemoryBuffer.cpp -nm=_ZN4llvm12MemoryBuffer4initEPKcS2_b\")\n //</editor-fold>\n protected void init(/*const*/char$ptr/*char P*/ BufStart, /*const*/char$ptr/*char P*/ BufEnd, \n boolean RequiresNullTerminator) {\n assert ((!RequiresNullTerminator || BufEnd.$at(0) == 0)) : \"Buffer is not null terminated!\";\n BufferStart = $toConst(BufStart);\n BufferEnd = $toConst(BufEnd);\n $StringRef = new StringRef(BufStart, BufferEnd.$sub(BufferStart));\n }", "title": "" }, { "docid": "65bf40f508c3b5ade8fad62563a71429", "score": "0.49501532", "text": "private ChannelBufferUtil() {\n }", "title": "" }, { "docid": "740164d0a6b91ef00813a5065a9f849b", "score": "0.49499363", "text": "void mo64864b(String str);", "title": "" }, { "docid": "efe08e23fa3c2c63809249d150f79335", "score": "0.4941955", "text": "private ObjUtils()\r\n {\r\n // Private constructor to prevent instantiation.\r\n }", "title": "" }, { "docid": "c621e8f5b4484f995d3d57b326ce2ee5", "score": "0.49413896", "text": "public void testConstructorSignBytesZeroNull2() {\n byte aBytes[] = {};\n int aSign = 0;\n byte rBytes[] = {0};\n BigInteger aNumber = new BigInteger(aSign, aBytes);\n byte resBytes[] = new byte[rBytes.length];\n resBytes = aNumber.toByteArray();\n for(int i = 0; i < resBytes.length; i++) {\n assertTrue(resBytes[i] == rBytes[i]);\n }\n assertEquals(\"incorrect sign\", 0, aNumber.signum());\n }", "title": "" } ]
294bae3f8c95280e76b33905b5325c42
the setter of the model attribute.
[ { "docid": "d2afbd4f8eea8ff991ad812cf14e207f", "score": "0.0", "text": "public void setServiceUrl(String serviceUrl) {\n this.serviceUrl = serviceUrl;\n }", "title": "" } ]
[ { "docid": "7daf927a16654b333e227207e3d4a0ed", "score": "0.7299557", "text": "@Override\n\tprotected void doSetValue(Object value) {\n\t\tthis.modelValue = value;\n\t\tsuper.doSetValue(value);\n\t}", "title": "" }, { "docid": "f7043e61151cc279c13c4dc431c7f80a", "score": "0.6910658", "text": "@Override\n public void setModelProperty(KeyValuePair change) {\n }", "title": "" }, { "docid": "217cefca56d60506726974ff5d29068b", "score": "0.6781848", "text": "@Override\r\n\tpublic void setModel() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cb9dbbfd7fdc54ba7c38f67df0f554c0", "score": "0.6629203", "text": "public void setAttributeValue()\n\t\t{\n\t\t\tthis.creator.setAttributeValue(this.sourceIndividual,this.targetAttribute,this.targetAttribute.getValue());\n\t\t\tString s = \"Set Attribute IRI: \" + this.sourceIndividual.getIRI().toString() + \" Attribute: \" + this.targetAttribute.getName() + \n\t\t\t\" Value: \" + this.targetAttribute.getValue();\n\t\t\tthis.writeToTextArea(s);\n\t\t\tthis.sourceIndividual = null;\n\t\t\tthis.targetAttribute = null;\n\t\t}", "title": "" }, { "docid": "2cbc87fce914122431efcd4074cfce09", "score": "0.6617001", "text": "@Override\n\tpublic void setModel() {\n\n\t}", "title": "" }, { "docid": "a9a8b533fd5cae24a924d5d13c949fa4", "score": "0.6596507", "text": "public M set( String attr, Object value ) {\n if ( getTable().hasColumnLabel( attr ) ) {\n attrs.put( attr, value );\n getModifyFlag().add( attr ); // Add modify flag, update() need this flag.\n return (M) this;\n }\n throw new ActiveRecordException( \"The attribute name is not exists: \" + attr );\n }", "title": "" }, { "docid": "b114c468610ef75dd682bd83d9160b66", "score": "0.65022004", "text": "@Override\n\tpublic void setValue(String value) {\n\t\tmodel.setValue(value);\n\t}", "title": "" }, { "docid": "d2c78ad23d8bb194bc954a59e442a572", "score": "0.6402554", "text": "public abstract void doSetValue(Object attr);", "title": "" }, { "docid": "8fee7f77514476d6264bba061b2787d5", "score": "0.6291663", "text": "void setProperty(String modelInstanceId, String name, Object value);", "title": "" }, { "docid": "c1317d67cf2a2564adfba85ada4133a6", "score": "0.6236458", "text": "@Override\n public void setModel(ModelJANI model) {\n\n }", "title": "" }, { "docid": "31f410435e9686082cf5008616fd4939", "score": "0.62299573", "text": "@Override\r\n\t\t\t\t\tpublic void set(String obj) {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" }, { "docid": "469547c24f172a50b7adb4a071fe4b6e", "score": "0.6208003", "text": "public void setModel (String value) {\n model = value;\n }", "title": "" }, { "docid": "35e5e57f8d851e244956f82fbdffe338", "score": "0.62041545", "text": "public M set(String attr, Object value) {\n attrs.put(attr, value);\n return (M) this;\n }", "title": "" }, { "docid": "ba27dc67cb5bcc74bfdb451fe3af5259", "score": "0.61911213", "text": "@Override\r\n\t\t\tpublic void set(E arg0) {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "cdbf4d342f686e3b978244274a4003f3", "score": "0.61869866", "text": "@Override\n public void setValue(Object newValue) {\n super.setValue(newValue);\n }", "title": "" }, { "docid": "cdbf4d342f686e3b978244274a4003f3", "score": "0.61869866", "text": "@Override\n public void setValue(Object newValue) {\n super.setValue(newValue);\n }", "title": "" }, { "docid": "9743a67b57a9ba2b04aaea1368d72410", "score": "0.6180082", "text": "void setModel(String model);", "title": "" }, { "docid": "4d62415ed30c756b1388a3ed76a96102", "score": "0.6140171", "text": "public void setValue(String value) {\n super.setModelValue(value);\n }", "title": "" }, { "docid": "7755696edf69e7257080fd5d202fd924", "score": "0.61372614", "text": "public abstract void setValue(Object value);", "title": "" }, { "docid": "8cfa68d1633c6869d0db5668f520d6c5", "score": "0.60903984", "text": "public abstract void setValue(Object newValue);", "title": "" }, { "docid": "e9f05a7dbe1c6a5d567712c57ceb9f44", "score": "0.6089841", "text": "@Override\n protected void setObjectAttribute(Object obj, Object val) {\n\n // Ensure the data types are accurate\n if (val != null ) {\n if (!getValueClass().isInstance(val)) {\n if ( val instanceof String ) {\n val = convertToClass((String)val);\n } else {\n throw new InvalidValueException(\"Invalid value [\" + val + \"], expected class [\" + getValueClass().getName() + \"]\");\n }\n }\n }\n\n // Perform validation -- Disabled for performance reasons\n //performValidation( obj, val );\n\n // Set the value on the object\n getDeclaringObject().setValue(this, obj, val);\n }", "title": "" }, { "docid": "c605fac70f8d1bae75c959ede072479f", "score": "0.60774523", "text": "@Override\n protected void setAttribute(String name, String att, Object val)\n {\n\n }", "title": "" }, { "docid": "415c073dba71c411c7cf88b30d7b8f68", "score": "0.6069518", "text": "public void setValue( Object value );", "title": "" }, { "docid": "fac8a57fa62d47e526eb9efa655b37b0", "score": "0.60581136", "text": "public abstract void setAttribute(Attribute attr);", "title": "" }, { "docid": "8a23857e74371b2ed44080858805ef60", "score": "0.60486585", "text": "public void onSet(Object pojo, String fieldName, Object value) {\n }", "title": "" }, { "docid": "ac1048bc28e4481506d67df3f3589d85", "score": "0.60433507", "text": "public void setAttr_name(String attr_name) {\n this.attr_name = attr_name;\n}", "title": "" }, { "docid": "0d78aadde6939a052d5abb41a4cc265d", "score": "0.6027048", "text": "public void setValue(E value) {\r\n this.value = value;\r\n }", "title": "" }, { "docid": "3172331ea0018b600d0c71e64b97979d", "score": "0.6015121", "text": "public void setModel(String model) {\n \n setAttribute(\"model\", model);\n \n }", "title": "" }, { "docid": "656d441bc2475b270541db0ed7f5cbc0", "score": "0.59814173", "text": "@Override\n public void set(E arg0) {\n\n }", "title": "" }, { "docid": "ae38868ab0b98bc60c44553913f9c040", "score": "0.5980635", "text": "public void setValue(Object value);", "title": "" }, { "docid": "ca7e3d2b96b993ddadbe4bf8996e05ce", "score": "0.59626365", "text": "@Override\n\tpublic void setModel(Object o) {\n\n\t}", "title": "" }, { "docid": "8bf4143fbfa20bf327ce77454457f0e3", "score": "0.5951492", "text": "public M setAttrs( M model ) {\n return setAttrs( model.getAttrs() );\n }", "title": "" }, { "docid": "25f8ebe2f1377ba7bbda45d70239d27f", "score": "0.59415627", "text": "@Override\r\n\t\tpublic void set(E arg0) {\r\n\t\t\t// TODO\r\n\t\t}", "title": "" }, { "docid": "66c238b6d162b8fe1a6293000c85dc08", "score": "0.5938988", "text": "public void setValue(AttributeValue value) {\n this.value = value;\n }", "title": "" }, { "docid": "e78af04ecdf2a17b733b0bc8800e8828", "score": "0.59387743", "text": "public void set(String name, String value);", "title": "" }, { "docid": "e78af04ecdf2a17b733b0bc8800e8828", "score": "0.59387743", "text": "public void set(String name, String value);", "title": "" }, { "docid": "0fb4289db309c665c36fb5b5a373683f", "score": "0.5934084", "text": "public void setValue(Object value) {\r\n this.value = value;\r\n }", "title": "" }, { "docid": "9855ac5cd5375cf97d4c7afa82d53480", "score": "0.5927415", "text": "public void setValue(Object value) {\n this.value = value;\n }", "title": "" }, { "docid": "06fe153bd9c480de31bad55e3f9b99ee", "score": "0.59260565", "text": "public void set(T value)\n {\n setter.apply(value);\n }", "title": "" }, { "docid": "32a306d67f494163e00d0adde0fedb98", "score": "0.5917224", "text": "public void setValue(E value) {\n this.value = value;\n }", "title": "" }, { "docid": "fab73c85c882520e697d9ad287d04e8a", "score": "0.5902117", "text": "@Override\r\n\tpublic void setDataSet(IDataSet ds) {\n\t\tthis.model = (Model) ds;\r\n\t}", "title": "" }, { "docid": "43ee337ef06d3a7021e080a61726a871", "score": "0.5892537", "text": "@Override\r\n\tpublic void set(E e) {\n\t\t\r\n\t}", "title": "" }, { "docid": "f68be7c5d04b73e757c38ea1b5eb020a", "score": "0.58740056", "text": "@Accessor(qualifier = \"task\", type = Accessor.Type.SETTER)\n\tpublic void setTask(final TaskModel value)\n\t{\n\t\tgetPersistenceContext().setPropertyValue(TASK, value);\n\t}", "title": "" }, { "docid": "cf05eb6a0f782fcf168a85e394b4fb8f", "score": "0.58711505", "text": "public void setValue(E value) {\n\t\t\tthis.value = value;\n\t\t}", "title": "" }, { "docid": "6c3c9d0b19e3cda155eec4ad783ce1dd", "score": "0.5869667", "text": "public void setX(int value) {this.x = value;}", "title": "" }, { "docid": "4fc648f36116faf5c7c17f730867177a", "score": "0.5867259", "text": "void setField();", "title": "" }, { "docid": "4fc648f36116faf5c7c17f730867177a", "score": "0.5867259", "text": "void setField();", "title": "" }, { "docid": "401e1584421fb4a535064c5e37bf7e59", "score": "0.5866727", "text": "public void setValue(Object value) {\n _value = value;\n }", "title": "" }, { "docid": "07a17d099f530d0c85b8d1d9d64f4234", "score": "0.58655363", "text": "@Override\r\n\tpublic void setAttr(String key, Object value) {\n\t\tset(key, value);\r\n\t}", "title": "" }, { "docid": "8b3a5484e62ebea3038b56919317745c", "score": "0.5853461", "text": "public void setValue(Object value) {\n this.value = value;\n }", "title": "" }, { "docid": "8b3a5484e62ebea3038b56919317745c", "score": "0.5853461", "text": "public void setValue(Object value) {\n this.value = value;\n }", "title": "" }, { "docid": "7b34fa02aef39c6ada8e952a25d59637", "score": "0.5851101", "text": "public void onSet(Object pojo, String fieldName, Object value) {\n // Nothing to do, this should never happen as we exclusively handle the field's value\n }", "title": "" }, { "docid": "ee0cd08355c7424fd297341daf987526", "score": "0.58428496", "text": "public void set() throws LRException { setValue(1); }", "title": "" }, { "docid": "b2ba564a059fc5539281e2a163315b78", "score": "0.58392984", "text": "public void setValue(E value) {\n this.value = value;\n }", "title": "" }, { "docid": "25f5553effa051319e48c38650d9ff03", "score": "0.58304375", "text": "public void setValue(String value)\r\n {\r\n this.value = value;\r\n }", "title": "" }, { "docid": "4c21d678900e80b8077811102e1925d1", "score": "0.58225113", "text": "public void setValue(Object value) {\n\t\tthis.value = value;\n\t}", "title": "" }, { "docid": "d683ed97bef5785f1b651b43d485d0ab", "score": "0.58208084", "text": "@Override\n\tpublic void setValue(String value) {\n\t\t\n\t}", "title": "" }, { "docid": "eed35050ca1f1ab12870995f8e4e1b9d", "score": "0.5806749", "text": "protected void setAttribute(boolean newAttribute) {\n\tattribute = newAttribute;\n}", "title": "" }, { "docid": "4d184ceb15a8d9158b40369a708a8a92", "score": "0.5800562", "text": "private void setAttr(String attr) {\n if (attr != null) {\n this.attribute = attr;\n } else {\n this.attribute = \"Attribute Not Set\";\n }\n }", "title": "" }, { "docid": "9c70f7858a95ea46495e715952a4a506", "score": "0.5792496", "text": "public void setValue(String value);", "title": "" }, { "docid": "c2c8f3b2104a1226c464c95a45d51207", "score": "0.57912284", "text": "public void setModel(Model v) {\n theModel = v;\n }", "title": "" }, { "docid": "e94c51e12930584842206dccd64e92e2", "score": "0.578893", "text": "public void setValue(Object value) {\n \n setAttribute(\"value\", value);\n \n }", "title": "" }, { "docid": "b06fb0c5841cf3efd9991f75ba833dc5", "score": "0.5778408", "text": "@Override\n public V setValue(V value) {\n this.value = value;\n return this.value;\n }", "title": "" }, { "docid": "044446a277fc98acf99391c09861d0db", "score": "0.57761866", "text": "public void setModel(String _model) {\n model = _model;\n }", "title": "" }, { "docid": "db874261a5de9f831298280c381b3996", "score": "0.5772561", "text": "@Override\n\tpublic void setValue(String name, String value) {\n\t\ttry {\n\t\t\t/* subclasses must provide an implementation of this method */\n\t\t\t_setValue(name, value);\n\t\t} catch (NoSuchFieldException nsfe) {\n\t\t\tlogger.error(\"Exception in ScanModel setValue: \" + nsfe);\n\t\t} catch (IllegalAccessException iae) {\n\t\t\tlogger.error(\"Exception in ScanModel setValue: \" + iae);\n\t\t}\n\n\t\treCalculate();\n\t\tnotifyIObservers(this, null);\n\t}", "title": "" }, { "docid": "a53fd8161f7323703ffe84a5c834f717", "score": "0.57689613", "text": "public M setAttrs(M model) {\n return setAttrs(model.getAttrs());\n }", "title": "" }, { "docid": "9b924205263ef3b82d9aeffcfa5b59b3", "score": "0.576503", "text": "public final void set(Object value) {\r\n getScopeConfigurable().setCustomAttribute(key, value);\r\n }", "title": "" }, { "docid": "e94ec391247c31a188bfb4efad23fdab", "score": "0.5754688", "text": "public void setValue(E value)\n // post: sets value associated with this element\n {\n data = value;\n }", "title": "" }, { "docid": "755b41c32d01731f0477b9d0bffda1eb", "score": "0.5753518", "text": "public ObjCPropertyAttribute set(ObjCPropertyAttribute src) {\n\t\treturn nset(src.address());\n\t}", "title": "" }, { "docid": "06fd9ea07b328b380bb33596bfd24fd4", "score": "0.5751216", "text": "public void setMyModel(ModelInt myModel) {\n this.myModel = myModel;\n }", "title": "" }, { "docid": "af4ee6fec0bd21ad17f9ebbd7510d62e", "score": "0.5738838", "text": "public void setX(int x)\n { this.x = x; }", "title": "" }, { "docid": "828fdd87ae3e605dac3c16f24c0ffad7", "score": "0.57373744", "text": "@JsProperty\n\tpublic abstract void setValue(final String value);", "title": "" }, { "docid": "5f47e21bc03876831f98171b17ac8d1a", "score": "0.573356", "text": "public void setValue(final Object value);", "title": "" }, { "docid": "5f47e21bc03876831f98171b17ac8d1a", "score": "0.573356", "text": "public void setValue(final Object value);", "title": "" }, { "docid": "5f47e21bc03876831f98171b17ac8d1a", "score": "0.573356", "text": "public void setValue(final Object value);", "title": "" }, { "docid": "bce9c98820dea048856e8369d234b1c1", "score": "0.5722383", "text": "public void set(DATA data);", "title": "" }, { "docid": "008c17ade934ab18f5b06ce553e03d74", "score": "0.5722321", "text": "public void setValue() throws PropertyValueVetoException {\n validateProperty();\n if (isEnabled() && !(inputField.getText().equals(originalValue))) {\n manager.setProperty(property, inputField.getText());\n originalValue = inputField.getText();\n }\n }", "title": "" }, { "docid": "1ea5c53c86973a7283cc24f033baf6be", "score": "0.5711306", "text": "public abstract void setAttributeValueInObject(Object object, Object value) throws DescriptorException;", "title": "" }, { "docid": "4781470a6c082636a82ff553fb772777", "score": "0.57086277", "text": "public void setData(T value){\n\t\tdata = value;\n\t}", "title": "" }, { "docid": "1a51c7c810fe9650ddfb630e7f465d38", "score": "0.5700732", "text": "public Builder setModel(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n model_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "16ccf0af1c4491bec38244cd384c28b5", "score": "0.56949556", "text": "public void setValue(final String value) {\n super.setAttributeValue(value);\n }", "title": "" }, { "docid": "b67c8dd82b874cdc05f71b526fb51c7f", "score": "0.5693131", "text": "public void setValue( E inValue )\n {\n value = inValue;\n }", "title": "" }, { "docid": "1531fcc2fd016096e8ff850804dcf757", "score": "0.5688343", "text": "protected void setModelProperty(String propertyName, Object newValue) {\n for (AbstractModel model : registeredModels) {\n try {\n Method method = model.getClass().getMethod(\"set\" + propertyName, new Class[] {\n newValue.getClass()\n });\n method.invoke(model, newValue);\n } catch (Exception ex) {\n // TODO: Handle exception.\n }\n } // foreach\n }", "title": "" }, { "docid": "e87bd1be9521cf7c82037db39f25b3af", "score": "0.5667552", "text": "public void setValue(V newValue);", "title": "" }, { "docid": "cfa1a9828f231ade92980045eb83623a", "score": "0.56591934", "text": "public ReposObject setProperty(Attribute metaprop, Object value) throws AppException {\n BMProperty newProp = new BMProperty(this);\n newProp.setDefnObject(metaprop);\n newProp.setValue(value);\n //getProperties().put(metaprop.getName(), newProp);\n attributes.put(metaprop.getOid(), newProp);\n return this;\n }", "title": "" }, { "docid": "f08cc59ea9836aa07a8fe4b4d1f3e6f4", "score": "0.56571907", "text": "public void setValue(String value)\r\n {\r\n _value = value;\r\n }", "title": "" }, { "docid": "effacc4849323b540189468e32cd5f05", "score": "0.5651004", "text": "public void setValue(String newValue);", "title": "" }, { "docid": "bfb5e041d594953ae39c6a84dcc82cea", "score": "0.5650663", "text": "public void setModel(\n final Entity aModel) {\n model = aModel;\n }", "title": "" }, { "docid": "3a4c41f12b5741f5040c6022779d8a8b", "score": "0.56466776", "text": "public void setValue(T value) {\n this.value = value;\n }", "title": "" }, { "docid": "13299a18a766be53595b7620b836b0fc", "score": "0.56394255", "text": "public abstract void setAttribute(String theAttributeName, Object theAttributeValue);", "title": "" }, { "docid": "fb8f352576e127ca553c31d6ccb703da", "score": "0.5637498", "text": "public void set(T value);", "title": "" }, { "docid": "2430416833815c829608a95e68d97367", "score": "0.56359017", "text": "public void setM_AttributeSetInstance_ID (int M_AttributeSetInstance_ID)\n{\nset_Value (\"M_AttributeSetInstance_ID\", new Integer(M_AttributeSetInstance_ID));\n}", "title": "" }, { "docid": "0022bcc26435c1775c23c83d8cf11414", "score": "0.5633569", "text": "void setModelObjectValue(T modelObject, int color);", "title": "" }, { "docid": "542e9812bc23428b4d1cda33c241cfb4", "score": "0.5629934", "text": "public void set(Object i) {\n\t\tobj = i;\n\t}", "title": "" }, { "docid": "d2a7c95f62dcc3752ce460388431bf26", "score": "0.5628961", "text": "public Object setValue(Object value)\n{\n //get the old value\n Object oldValue = this.value;\n \n //change the value\n this.value = value;\n \n //return the old value\n return oldValue;\n \n}", "title": "" }, { "docid": "3c81453ce41f13eef05006635fe97c22", "score": "0.5620233", "text": "public PersonAttUpdUnique setMobile(Mobile mobile);", "title": "" }, { "docid": "3c81453ce41f13eef05006635fe97c22", "score": "0.5620233", "text": "public PersonAttUpdUnique setMobile(Mobile mobile);", "title": "" }, { "docid": "b6e6a3ad483a7d73d3f215100f06fb0f", "score": "0.5612888", "text": "public void setX(double newM_x) \n{\n\tm_x = newM_x;\n}", "title": "" }, { "docid": "a8cb0fd82545657a6d54e56f60b73a0c", "score": "0.5612012", "text": "@Override\r\n\tpublic void setAttribute(String name, Object o) {\n\t\t\r\n\t}", "title": "" }, { "docid": "d191beef733107035cb65820a11ba3c9", "score": "0.5611269", "text": "public void setModel(MannagerWrite model);", "title": "" }, { "docid": "f865adb0bd91fd6b15cc51905dc0cb33", "score": "0.56014526", "text": "protected final void immutableSetCustomSqlModel(final String model)\n {\n m__strCustomSqlModel = model;\n }", "title": "" } ]
a4dd9219e9cffb52ffaf1e735903ecfc
int BN_div(BIGNUM dv, BIGNUM rem, const BIGNUM m, const BIGNUM d, BN_CTX ctx);
[ { "docid": "451e1ca195bf8166e8cb84896790f5ce", "score": "0.57520753", "text": "public static native void BN_nnmod(long r, long a, long m);", "title": "" } ]
[ { "docid": "41eafac7815481666c7ae0cbe0f608f9", "score": "0.8902982", "text": "public static native void BN_div(long dv, long rem, long m, long d);", "title": "" }, { "docid": "37e27cd28c155bae247caac343eb2f5a", "score": "0.67509943", "text": "public static native void BN_gcd(long r, long a, long b);", "title": "" }, { "docid": "ec2f6b42e0889fe4ad093e7f0603e98d", "score": "0.6208241", "text": "E div(E leftOperand, E rightOperand);", "title": "" }, { "docid": "4175d118fce1c31207bf60a68349b448", "score": "0.5963691", "text": "private static BigInteger gcd(BigInteger numerator, BigInteger denominator){\n BigInteger gcd = numerator.gcd(denominator); // можно так\n return gcd;\n// BigInteger n1 = numerator.abs();\n// BigInteger n2 = denominator.abs();\n// BigInteger gcd = new BigInteger(\"1\");\n//\n// BigInteger k = new BigInteger(\"1\");\n// while(k.compareTo(n1) <= 0 && k.compareTo(n2) <= 0) {\n// BigInteger result1 = n1.mod(k);\n// BigInteger result2 = n2.mod(k);\n// if(result1.equals(BigInteger.ZERO) && result2.equals(BigInteger.ZERO))\n// gcd = k;\n// k = k.add(BigInteger.ONE);\n// }\n// return gcd;\n }", "title": "" }, { "docid": "3d8d7ab4160d05974602a5cdb37e96ab", "score": "0.5933645", "text": "private static native void fndiverg0(Object zmid, int zmid_byte_offset, Object ztop, int ztop_byte_offset, Object zbot, int zbot_byte_offset, Object ptop, int ptop_byte_offset, Object pbot, int pbot_byte_offset, Object mni, int mni_byte_offset, Object ni, int ni_byte_offset, Object nj, int nj_byte_offset, Object dx, int dx_byte_offset, Object dy, int dy_byte_offset, Object f, int f_byte_offset, Object fnx, int fnx_byte_offset, Object fny, int fny_byte_offset, Object w1, int w1_byte_offset, Object dtdx, int dtdx_byte_offset, Object dtdy, int dtdy_byte_offset, Object qx, int qx_byte_offset, Object qy, int qy_byte_offset, Object fndiv, int fndiv_byte_offset);", "title": "" }, { "docid": "165f08f3bdf538fb7595efde49ff2a0e", "score": "0.5901178", "text": "double div(double firstValue,double secondValue);", "title": "" }, { "docid": "1a1234079f8ccafd4bb4e39113589f1e", "score": "0.5718561", "text": "private static long divideLong(long dividend, long divisor) {\n if (dividend < divisor) {\n\t return 0;\n }\n\t \n long sum = divisor;\n long multiple = 1;\n while ((sum+sum) <= dividend) {\n\t sum += sum;\n\t multiple += multiple;\n }\n\t\t\n return multiple + divideLong((dividend-sum), divisor);\n }", "title": "" }, { "docid": "10f3e36e8fd8e0c20be886b968cdaf33", "score": "0.57172877", "text": "@Override\r\n\tpublic Value divide(Decimal d) throws EvalException {\n\t\treturn num.divide(d);\r\n\t}", "title": "" }, { "docid": "7af5d9c9366afd357d8cdaeb2a1f11ae", "score": "0.56814396", "text": "public Compd div (double b) {\n return mul(1 / b);\n }", "title": "" }, { "docid": "f249628e8dd4344d2f603520c732f86b", "score": "0.5639735", "text": "@WebMethod\n public double div( double a, double b);", "title": "" }, { "docid": "f8e5802a7a60981e603593e9e71fb669", "score": "0.56361425", "text": "private static native void fndiverg1(Object zmid, int zmid_byte_offset, Object ztop, int ztop_byte_offset, Object zbot, int zbot_byte_offset, Object ptop, int ptop_byte_offset, Object pbot, int pbot_byte_offset, Object mni, int mni_byte_offset, Object ni, int ni_byte_offset, Object nj, int nj_byte_offset, Object dx, int dx_byte_offset, Object dy, int dy_byte_offset, Object f, int f_byte_offset, Object fnx, int fnx_byte_offset, Object fny, int fny_byte_offset, Object w1, int w1_byte_offset, Object dtdx, int dtdx_byte_offset, Object dtdy, int dtdy_byte_offset, Object qx, int qx_byte_offset, Object qy, int qy_byte_offset, Object fndiv, int fndiv_byte_offset);", "title": "" }, { "docid": "531a7eaaa97d777f3b97e324a23473c0", "score": "0.5625762", "text": "CostEstimate divide(double divisor, CostEstimate retval);", "title": "" }, { "docid": "baaaf3c359671a509aa720b32cde5066", "score": "0.5619593", "text": "private static native void fsdiverg0(Object zmid, int zmid_byte_offset, Object ztop, int ztop_byte_offset, Object zbot, int zbot_byte_offset, Object ptop, int ptop_byte_offset, Object pbot, int pbot_byte_offset, Object mni, int mni_byte_offset, Object ni, int ni_byte_offset, Object nj, int nj_byte_offset, Object dx, int dx_byte_offset, Object dy, int dy_byte_offset, Object f, int f_byte_offset, Object fsx, int fsx_byte_offset, Object fsy, int fsy_byte_offset, Object w1, int w1_byte_offset, Object dtdx, int dtdx_byte_offset, Object dtdy, int dtdy_byte_offset, Object qx, int qx_byte_offset, Object qy, int qy_byte_offset, Object fsdiv, int fsdiv_byte_offset);", "title": "" }, { "docid": "5d211e55c4c9ed380ea108d7988befb3", "score": "0.5614635", "text": "private long gcd(BigInteger n, BigInteger d) {\n\t\tlong n1 = Math.abs(n.intValue());\n\t\tlong n2 = Math.abs(d.intValue());\n\n\t\tint gcd = 1;\n\n\t\tfor (int k = 1; k <= n1 && k <= n2; k++) {\n\t\t\tif (n1 % k == 0 && n2 % k == 0)\n\t\t\t\tgcd = k;\n\t\t}\n\t\treturn gcd;\n\t}", "title": "" }, { "docid": "34789fb0af59b4ea97ec04877b653c02", "score": "0.55968446", "text": "public int div(int c, int d) {\n\t\treturn c / d;\n\t}", "title": "" }, { "docid": "1dc763a7cd8c6d332884a9019a40df77", "score": "0.5585326", "text": "public Compd div (Compd b) {\n double div = b.re * b.re + b.im * b.im;\n return new Compd((re * b.re + im * b.im) / div, (im * b.re - re * b.im) / div);\n }", "title": "" }, { "docid": "a240a56fca3fc3a6d937f00e9fbc4384", "score": "0.55772793", "text": "public Vect div(double d) {\r\n return mul(1 / d);\r\n }", "title": "" }, { "docid": "a88aab14b9eb75b071d85a438af557d5", "score": "0.5556417", "text": "double divNumbers(double x, double y) {\n\t\tdouble result = y / x;\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "669b50d2b7f3b6969afc16049fb452ae", "score": "0.5551506", "text": "public static int div(int a,int b) {\r\n\t\treturn a/b;\r\n\t}", "title": "" }, { "docid": "75c1495daff5cdc7e631033ee882842b", "score": "0.5513958", "text": "private static byte divmod(byte[] number, int firstDigit, int base, int divisor) {\n\t\t// TODO : this is just long division which accounts for the base of the input digits\n\t\tint remainder = 0;\n\t\tfor(int i = firstDigit ; i < number.length; i++) {\n\t\t\t/*byte는 맨 앞의 비트를 sign bit로 사용.\n\t\t\t * 8bit로 표현되는 0xff(255)이하의 수치(0~255)에 한해서 (byte)형으로 \n\t\t\t * casting해서 집어 넣을 경우, &0xff연산을 해주게되면 32bit 크기 (int)형으로\n\t\t\t * unsigned byte값을 얻을 수 있다. \n\t\t\t */\n\t\t\tint digit = (int)number[i] & 0xFF;\n\t\t\tint tmp = remainder*base + digit;\n\t\t\tnumber[i] = (byte)(tmp/divisor);\n\t\t\tremainder = tmp % divisor;\n\t\t}\n\t\treturn (byte)remainder;\n\t}", "title": "" }, { "docid": "560529406aac205e3e36a83d92a62732", "score": "0.549879", "text": "public static native void BN_mod_exp(long r, long a, long p, long m);", "title": "" }, { "docid": "edc0e39987882ce0061d11b4c5259c92", "score": "0.54811704", "text": "public BigInteger inject(BigInteger n, BigInteger d){\n\t\tBigInteger result = new BigInteger(\"0\"); // creates a temporary BigInteger\n\t\tString nStr = n.toString(); // converts the current BigInteger to a string\n\t\tString dStr = d.toString();\n\t\tString s = \"\";\n\t\tint nLen = nStr.length(); // retrieves the length of the string (previous BigInteger)\n\t\tint dLen = dStr.length();\n\t\t\n\t\tint i = 0;\n\t\t\n\t\t// if the length of modulus n is greater than the length of d\n\t\tif(nLen > dLen){\n\t\t\twhile(i < dLen){\n\t\t\t\ts += nStr.charAt(i); \n\t\t\t\ts += dStr.charAt(i);\n\t\t\t\ti++;\n\t\t\t}\n\t\t\twhile(i < nLen){\n\t\t\t\ts += nStr.charAt(i);\n\t\t\t\ts += 0 + \"\";\n\t\t\t\ti++;\n\t\t\t}\n\t\t} else {\n\t\t\twhile(i < dLen){\n\t\t\t\ts += nStr.charAt(i);\n\t\t\t\ts += dStr.charAt(i);\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tresult = new BigInteger(s);\n\t\treturn result;\n\t}", "title": "" }, { "docid": "8ac2848c2861fa0b6dd5e74ee2356824", "score": "0.5474712", "text": "private int udivDigits(final int div) {\n final long d = div & MASK;\n long rem = 0;\n for (int i = size - 1; i >= 0; i--) {\n rem <<= 32;\n rem = rem + (digits[i] & MASK);\n digits[i] = (int) (rem / d);\n rem = rem % d;\n }\n if (digits[size - 1] == 0 && size > 1) {\n --size;\n }\n\n return (int) rem;\n }", "title": "" }, { "docid": "d416f433d9cdb2e0bee229a691c50f05", "score": "0.54572576", "text": "private long g(long a, long n, long b, long m) {\n long gcd = gcd(n, m);\n if ((b - a) % gcd != 0 && gcd != 1) {\n return 0;\n }\n\n long[] rst = {m, 0, 1};\n long[] orst = {n, 1, 0};\n while (rst[0] != 0) {\n long q = orst[0] / rst[0];\n for (int i = 0; i < 3; ++i) {\n long tmp = rst[i];\n rst[i] = orst[i] - q * tmp;\n orst[i] = tmp;\n }\n }\n long s = orst[1], t = orst[2]; // Bézout coefficients\n\n // https://math.stackexchange.com/questions/1644677/what-to-do-if-the-modulus-is-not-coprime-in-the-chinese-remainder-theorem\n gcd = n * s + m * t;\n long lcm = n * m / gcd;\n long x = a + (b - a) * n * s / gcd;\n //long x = b + (a - b) * m * t / gcd;\n return floorMod(x, lcm);\n }", "title": "" }, { "docid": "5f34b7d56097229bec6cb9fe05bdb674", "score": "0.5442472", "text": "private static int modulo (int dividend, int divisor) {\n int accumlator = 0;\n for (int i = 0; i <= dividend; i += divisor ) {\n accumlator += divisor;\n }\n return dividend - accumlator;\n }", "title": "" }, { "docid": "4e96115282061d8edb7579108bb2dd65", "score": "0.54342127", "text": "public void simplif(){\n int a = this.getNum();\n int b = this.getDenom();\n int r, q = 0;\n for (;;){\n r = a%b;\n q = (a-r)/b;\n if (r==0) break;\n a = b;\n b = r;\n }\n //b est le pgcd\n this.num /= b;\n this.denom /= b;\n }", "title": "" }, { "docid": "7ea892a3cedb870d49c208acbfd9aaeb", "score": "0.5433257", "text": "int mod(int a, int b){\n\tif(b <= 0){\n\t\treturn -1;\n\t}\n\tint div = a / b;\n\treturn a - div * b;\n}", "title": "" }, { "docid": "16cfed143cf2afb6111bb87e96e6593e", "score": "0.5407261", "text": "public void div(Ratl b)\n\t{\n\t\t//flip num\n\t\tinvert(b);\n\t\t//call multiply\n\t\tmult(b);\n\t}", "title": "" }, { "docid": "ce73229e3b7afb8c61b7f419e434d68e", "score": "0.54046303", "text": "private static native void fsdiverg1(Object zmid, int zmid_byte_offset, Object ztop, int ztop_byte_offset, Object zbot, int zbot_byte_offset, Object ptop, int ptop_byte_offset, Object pbot, int pbot_byte_offset, Object mni, int mni_byte_offset, Object ni, int ni_byte_offset, Object nj, int nj_byte_offset, Object dx, int dx_byte_offset, Object dy, int dy_byte_offset, Object f, int f_byte_offset, Object fsx, int fsx_byte_offset, Object fsy, int fsy_byte_offset, Object w1, int w1_byte_offset, Object dtdx, int dtdx_byte_offset, Object dtdy, int dtdy_byte_offset, Object qx, int qx_byte_offset, Object qy, int qy_byte_offset, Object fsdiv, int fsdiv_byte_offset);", "title": "" }, { "docid": "7f352bfd8e3bf64f9da1a186ab19435f", "score": "0.53931373", "text": "public double divide(double n, double d) {\r\n if (n == 0)\r\n return 0;\r\n else\r\n return n / d;\r\n }", "title": "" }, { "docid": "4649da03c9a46c363507d62a3af9fe52", "score": "0.53925955", "text": "@Override\r\n\tpublic Integer div(Integer a, Integer b) {\n\t\treturn (a / b);\r\n\t\t//printfabcsfh\r\n\t}", "title": "" }, { "docid": "36d4a89c54557981d640358044ffe453", "score": "0.53677243", "text": "public static int divisionBased(int a, int b)\r\n\t{\r\n\t\twhile (b != 0)\r\n\t\t{\r\n\t\t\tint t = b;\r\n\t\t\tb = a % b;\r\n\t\t\ta = t;\r\n\t\t}\t\r\n\t\treturn a; \r\n\t}", "title": "" }, { "docid": "2edb2f4dc313bc1af8c456966e0036cb", "score": "0.5363677", "text": "public static RLnumber divide(RLnumber dividend, RLnumber divisor) {\n RLnumber result;\n if (divisor.checkForZero()) {\n result = divisor;\n return result;\n }\n\n if (dividend.checkForZero() | (dividend.getTail() == new int[]{0})) {\n result = dividend;\n return result;\n }\n\n\n RLnumber tempNumber = dividend;\n int divisorHeadBit = divisor.getTail()[0];\n int signOfResult = dividend.getSign() * divisor.getSign();\n int[] tailOfResult = new int[MAX_LENGTH];\n for (int j = 0; j < MAX_LENGTH; j++) {\n tailOfResult[j] = EMPTY_VALUE;\n }\n for (int i = 0; i < MAX_LENGTH; i++) {\n /* System.out.println(\"Loop #\" + i);\n System.out.println(\"tempNumber is \" + tempNumber);*/\n tailOfResult[i] = tempNumber.getTail()[0] - divisorHeadBit;\n\n RLnumber temp = new RLnumber(signOfResult, 1, new int[] {tailOfResult[i]}); //temporal part of fraction (the one that we are checking)\n RLnumber product = multiply(temp, divisor);\n // System.out.println(\"Multiplied \" + temp + \" with \" + divisor + \", and we have \" + product);\n RLnumber remainder;\n/*\n if (product.isGreaterThan(tempNumber)) {\n System.out.println(\"product is greater than tempNumber\");\n tailOfResult[i] = tailOfResult[i] - 1;\n product = multiply(temp, divisor);\n System.out.println(\"Multiplying \" + temp + \" with \" + divisor);\n }*/\n\n remainder = substract(tempNumber, product);\n tempNumber = remainder;\n if (remainder.checkForZero()) break;\n }\n result = new RLnumber(signOfResult, MAX_LENGTH, tailOfResult);\n\n result.cutRL();\n\n return result;\n }", "title": "" }, { "docid": "c195ca4ebb46f2d66d1d6561574d6f03", "score": "0.53578246", "text": "static int divide(int dividend, int divisor) {\n if (dividend == Integer.MIN_VALUE && divisor == -1)\n return Integer.MAX_VALUE;\n\n int sign = (dividend^divisor) < 0 ? -1 : 1;\n long ldividend = Math.abs((long)dividend);\n long ldivisor = Math.abs((long)divisor);\n\n int ans = 0;\n\n while (ldividend >= ldivisor) {\n int shift = 0;\n\n while (ldividend >= ldivisor<<shift)\n shift++;\n\n ldividend -= ldivisor<<(shift-1);\n ans += 1<<(shift-1);\n }\n\n return ans * sign;\n }", "title": "" }, { "docid": "b513bd3e13ab4e7dbdccd2a5f69b2e20", "score": "0.53500414", "text": "static public DVector div(DVector v, double n) {\n return div(v, n, null);\n }", "title": "" }, { "docid": "be8d9c66538d8c0607b1d18607f29eac", "score": "0.5344775", "text": "protected abstract BigInteger calculate(BigInteger a, BigInteger b);", "title": "" }, { "docid": "9c9f7ecb242fd8d9d8af06e642f8f906", "score": "0.5340601", "text": "public double dividirNumero(double num1, double num2) {\n\t\tif (num2!=0) {\n\t\t\treturn(num1/num2);\n\t\t}\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "02beced25608717bc59e3c594c59f5d4", "score": "0.53401285", "text": "static int iterativeModernEuclid(int a, int b) {\n while (b != 0) {\n int h = a % b;\n a = b;\n b = h;\n }\n return a;\n }", "title": "" }, { "docid": "7967748fbac4f8aa208334faa02f0e57", "score": "0.53400636", "text": "private int gcd() {\n int a = this.numerator, b = this.denominator, tmp;\n while (b > 0) {\n tmp = b;\n b = a % b;\n a = tmp;\n }\n\n return a;\n }", "title": "" }, { "docid": "1ca53d5aa11b6191426b038694a67547", "score": "0.5322762", "text": "public int div(int x, int y) {//\n\t\tint d = x/y;\t\n\t\t\n\t\treturn d;\n\t}", "title": "" }, { "docid": "d5e8e6d422a658eb512627f737f1b919", "score": "0.53102964", "text": "private static native void div_aray0(Object a, int a_byte_offset, Object b, int b_byte_offset, Object result, int result_byte_offset, Object mni, int mni_byte_offset, Object ni, int ni_byte_offset, Object nj, int nj_byte_offset);", "title": "" }, { "docid": "8dc5e445a3c3d75d1437a8de822bf78d", "score": "0.5309679", "text": "private int udiv(final int div, int[] n) {\n final long d = div & MASK;\n long rem = 0;\n int len = n.length;\n for (int i = len - 1; i >= 0; i--) {\n rem <<= 32;\n rem = rem + (n[i] & MASK);\n n[i] = (int) (rem / d);\n rem = rem % d;\n }\n return (int) rem;\n }", "title": "" }, { "docid": "ffacc9b24503b91ead7e041fb33488ee", "score": "0.52984715", "text": "IComplex divides(IComplex b);", "title": "" }, { "docid": "455ee68a8f10563d524b581b9161d992", "score": "0.5296047", "text": "static int recursiveMCD(int a, int b) {\n if(b==0)\n return a;\n else\n return recursiveMCD(b, a % b);\n}", "title": "" }, { "docid": "f9f9e8ea4efb17929db31d94bac6d5e8", "score": "0.52880263", "text": "public static native void BN_sub(long r, long a, long b);", "title": "" }, { "docid": "eb497d23957f2dd323e5206ed1c35dea", "score": "0.5286794", "text": "public void Division(Rational b) {\r\n \tint numer = this.num * b.den;\r\n \tint denom = this.den * b.num;\r\n \t\r\n \tRational div = new Rational(numer, denom);\r\n System.out.println(this + \" / \" + b + \" = \" + div);\r\n \r\n double n = numer;\r\n \tdouble d = denom;\r\n double dDiv = n / d;\r\n System.out.println(div + \" = \" + dDiv);\r\n }", "title": "" }, { "docid": "88db3d1278c0489c0cacf4466812a3b3", "score": "0.52824455", "text": "public static native void BN_exp(long r, long a, long p);", "title": "" }, { "docid": "1ddce01d2aa4de1deda98edf50c78612", "score": "0.52814984", "text": "private static long GCD(long a, long b) {\n if (a == 0) {\n return b;\n }\n return GCD(b % a, a);\n }", "title": "" }, { "docid": "83db06dabe7ef06c795f605cda7bb66d", "score": "0.52781165", "text": "public Compd invDiv (double b) {\n return inverse().mul(b);\n }", "title": "" }, { "docid": "eef22b94729c328e53b83672e4e876e7", "score": "0.5273592", "text": "double division(double num1, double num2) {\r\n\t\treturn (num1 / num2);\r\n\t}", "title": "" }, { "docid": "5a64fbd7b8e9a6989fd9c9b33542893a", "score": "0.52697086", "text": "@Override\r\n\tpublic double division(double a, double b) {\n\t\treturn (double) a/b;\r\n\t}", "title": "" }, { "docid": "a7844feb2ac8cf991ba52da5b00f296e", "score": "0.5269055", "text": "public void crack()\n {\n // find p and q\n BigInteger q = rho(n);\n if (q.compareTo(BigInteger.ZERO) == 0)\n {\n System.out.println(\"Not a valid public key\");\n return;\n }\n BigInteger p = n.divide(q);\n\n // find d\n BigInteger phi = p.subtract(BigInteger.ONE).multiply(q.subtract(BigInteger.ONE));\n BigInteger d = e.modInverse(phi); \n\n // print results\n if (p.compareTo(q) < 0)\n {\n System.out.println(p);\n System.out.println(q);\n }\n else\n {\n System.out.println(q);\n System.out.println(p);\n }\n System.out.println(d);\n }", "title": "" }, { "docid": "a08d39353536fcaf354502cc05cdc9a2", "score": "0.5266625", "text": "static int dividir(int dividendo, int divisor ){\n int cociente;\n cociente= dividendo / divisor ;\n return cociente;\n }", "title": "" }, { "docid": "e60e41d6ac3095e7c55b1ac1bbf674c0", "score": "0.5249551", "text": "@Override\n\tpublic double div(int n1, int n2) {\n\t\treturn n1/n2*2;\n\t}", "title": "" }, { "docid": "fb16dc83accdfa06b144dfc79bc840ea", "score": "0.5241435", "text": "@Override\n\tpublic void compute() {\n\t\tresult = BigInteger.valueOf(EulerUtils.sumDivisibleBy(div1, max)\n\t\t\t\t+ EulerUtils.sumDivisibleBy(div2, max)\n\t\t\t\t- EulerUtils.sumDivisibleBy(div1 * div2, max));\n\t}", "title": "" }, { "docid": "ae1488465400c8c3388f5151904dc851", "score": "0.522573", "text": "@Test\n public void testDiv_Volume() {\n assertEquals(TWO,vTenCuM.div(vFiveCuM),DELTA);\n }", "title": "" }, { "docid": "66704d609bcd6cd3176daca4fe11e2af", "score": "0.52155876", "text": "public BinaryNumber divide(BinaryNumber divisor) {\n \t// Do not remove or change the next two lines\n \tif (divisor.equals(ZERO)) // Do not change this line\n throw new RuntimeException(\"Cannot divide by zero.\"); // Do not change this line\n \t//\n \tBinaryNumber him = new BinaryNumber(divisor);\n \tBinaryNumber me = new BinaryNumber(this);//makes changes on \"me\" and \"him\", so require copy\n \tboolean isPositive = signum()==divisor.signum();\n \tif(divisor.signum()==-1) {\n \t\thim = divisor.negate();\n \t}\n \tif(signum()==-1) {\n \t\tme = negate();\n \t}\n \tBinaryNumber ans = me.dividePositive(him);\n \tif(!isPositive) {\n \t\tans = ans.negate();\n \t}\n \treturn ans;\n }", "title": "" }, { "docid": "c6b092e773f6bb54113493f3ebc1ed0a", "score": "0.5190743", "text": "public int divide(int dividend, int divisor) {\n long remain=0;\n int result=0;\n int sign;\n long dividendL=Math.abs((long) dividend);\n long divisorL=Math.abs((long) divisor);\n if(divisor==0){\n throw new RuntimeException(\"0\");\n }\n if(dividend>0 && divisor>0){\n sign=1;\n }\n else if(dividend<0 && divisor<0){\n sign=1;\n }\n else{\n sign=-1;\n }\n for(int i=31;i>=0;i--){\n long localDividend=(remain<<1)+((dividendL>>i) & 1);\n if(localDividend>=divisorL){\n result=(result<<1)+1;\n remain=localDividend-divisorL;\n }\n else{\n remain=localDividend;\n result=result<<1;\n }\n }\n return result*sign;\n }", "title": "" }, { "docid": "b9c8a96a884507f18e28adef747bf7f8", "score": "0.5179696", "text": "@Test\n public void testDivide() {\n assertEquals(lcm1.divide( 3.10501, 2.0000001), 1.5525, 0.000000001);\n assertEquals(lcm2.divide( 3.10501, 2.0000001), 1.553, 0.000000001);\n\n assertEquals(lcm1.divide( 9.71494, 7.510037), 1.29359, 0.000000001);\n assertEquals(lcm2.divide( 9.71494, 7.510037), 1.294, 0.000000001);\n }", "title": "" }, { "docid": "99c14485c018cebe14b5820dc00776b5", "score": "0.517961", "text": "public void testDivideRemainderIsZero() {\n String a = \"8311389578904553209874735431110\";\n int aScale = -15;\n String b = \"237468273682987234567849583746\";\n int bScale = 20;\n String c = \"3.5000000000000000000000000000000E+36\";\n int resScale = -5;\n BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale);\n BigDecimal bNumber = new BigDecimal(new BigInteger(b), bScale);\n BigDecimal result = aNumber.divide(bNumber, resScale, BigDecimal.ROUND_CEILING);\n assertEquals(\"incorrect value\", c, result.toString());\n assertEquals(\"incorrect scale\", resScale, result.scale());\n }", "title": "" }, { "docid": "a70d8b1799947428ebd47053293f9f72", "score": "0.5178605", "text": "public int divide(int dividend, int divisor) {\n if (divisor == 0) {\n return dividend >= 0? Integer.MAX_VALUE : Integer.MIN_VALUE;\n }\n\n if (dividend == 0) {\n return 0;\n }\n\n if (dividend == Integer.MIN_VALUE && divisor == -1) {\n return Integer.MAX_VALUE;\n }\n\n boolean isNegative = (dividend < 0 && divisor > 0) ||\n (dividend > 0 && divisor < 0);\n\n long a = Math.abs((long)dividend);\n long b = Math.abs((long)divisor);\n int result = 0;\n while(a >= b){\n int shift = 0;\n //b << shift == b*pow(2,shift)\n //get the pow of B, substract it from A,\n // so it is pow times of B\n while(a >= (b << shift)){\n shift++;\n }\n a -= b << (shift - 1);\n result += 1 << (shift - 1);\n }\n return isNegative? -result: result;\n }", "title": "" }, { "docid": "4d2b44209cef3d2fc05e57504684def5", "score": "0.5172242", "text": "public static int gcd(int a,int b)\n\t{\n \n if(a<b){\n int temp = a;\n a = b;\n b = temp;\n }\n \n while(b!=0){\n int temp = b;\n b = a%b;\n a = temp;\n }\n return a;\n\t}", "title": "" }, { "docid": "a4571eb61a3bf676cbdb1225d727d2e8", "score": "0.51547986", "text": "private static native void div_aray1(Object a, int a_byte_offset, Object b, int b_byte_offset, Object result, int result_byte_offset, Object mni, int mni_byte_offset, Object ni, int ni_byte_offset, Object nj, int nj_byte_offset);", "title": "" }, { "docid": "a3b87fea604fc2de6b3569445b018635", "score": "0.51488197", "text": "public static double divide(double dividend, double divisor) {\n\n\t\t\tdouble quotient = dividend / divisor;\n\t\t\topsCount++;\n\t\t\t// the return is the data out\n\t\t\treturn quotient;\n\t\t}", "title": "" }, { "docid": "779081fdf8cf63cd527a8941bc6e4740", "score": "0.51472497", "text": "public void div(DVector v) {\n x /= v.x;\n y /= v.y;\n z /= v.z;\n }", "title": "" }, { "docid": "6a8a5ae028f6b06d6c46867aea041b65", "score": "0.5138627", "text": "public static native void BN_mul(long r, long a, long b);", "title": "" }, { "docid": "27de7cfed6d35b8d8c9df4c76d2df183", "score": "0.51313597", "text": "public DivExp(Exp leftExp, Exp rightExp) {\n\t\tsuper(leftExp, rightExp);\n\t}", "title": "" }, { "docid": "2d6161cda0f9b3e7e72db05c9c13f7be", "score": "0.5129914", "text": "public DivisionExpression(Expression dividend, Expression divisor) {\n\t\tthis.dividend = dividend;\n\t\tthis.divisor = divisor;\n\t}", "title": "" }, { "docid": "f4dc7ebf2f921a452b14fccc00f872ff", "score": "0.5129853", "text": "public final void mDIV() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = DIV;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// /home/acco/workspace/FOOL/SVM.g:90:6: ( 'div' )\n\t\t\t// /home/acco/workspace/FOOL/SVM.g:90:8: 'div'\n\t\t\t{\n\t\t\tmatch(\"div\"); \n\n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "title": "" }, { "docid": "129d855d9a8ae41d27575f11c1634016", "score": "0.51280737", "text": "public void divideBy(double m);", "title": "" }, { "docid": "a277a6c35d9222997100abdc20d0e6a9", "score": "0.5123871", "text": "static public DVector div(DVector v1, DVector v2) {\n return div(v1, v2, null);\n }", "title": "" }, { "docid": "a8636e7a6c043c12b286e7aa599deeed", "score": "0.5123449", "text": "private static int NajwiekszyWspolnyDzielnik(int a, int b) {\n\t\tBigInteger b1 = BigInteger.valueOf(a);\n\t\tBigInteger b2 = BigInteger.valueOf(b);\n\t\tBigInteger gcd = b1.gcd(b2);\n\t\treturn gcd.intValue();\n\t}", "title": "" }, { "docid": "b8881a265ef97db32f5c8c89422bdbb6", "score": "0.51191413", "text": "public double modular(double num1 , double num2)\n {\n double answer = num1 % num2;\n return answer;\n }", "title": "" }, { "docid": "cf8f9e10034a35635bde877e14da0513", "score": "0.511575", "text": "public int gcdNR(int num, int div) {\n\t\t\n\t\twhile(div != 0) {\n\t\t\tint temp = num%div;\n\t\t\tnum = div;\n\t\t\tdiv = temp;\n\t\t}\n\t\t\n\t\treturn num;\n\t}", "title": "" }, { "docid": "6be365a58700df49455a71a71ace6ae8", "score": "0.51145405", "text": "public Rational divides(Rational b) {\n return times(b.reciprocal());\n }", "title": "" }, { "docid": "07ccd84256002c93ac70fd8b892b6397", "score": "0.5112914", "text": "public void testDivideExceptionInvalidRM() {\n String a = \"1231212478987482988429808779810457634781384756794987\";\n int aScale = 15;\n String b = \"747233429293018787918347987234564568\";\n int bScale = 10;\n BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale);\n BigDecimal bNumber = new BigDecimal(new BigInteger(b), bScale);\n try {\n aNumber.divide(bNumber, 100);\n fail(\"IllegalArgumentException has not been caught\");\n } catch (IllegalArgumentException e) {\n assertEquals(\"Improper exception message\", \"Invalid rounding mode\", e.getMessage());\n }\n }", "title": "" }, { "docid": "b4707487252162bb198081ae102e0146", "score": "0.5104852", "text": "public static int gcd(int a, int b) {\n while (b != 0) {\n int t = b;\n b = a % b;\n a = t;\n }\n return a;\n }", "title": "" }, { "docid": "3e2b66facb191f64cfa8a480aced2462", "score": "0.50977606", "text": "static int recursiveModernEuclid(int a, int b) {\n if(b == 0){\n return a;\n } else {\n return recursiveModernEuclid(b, a % b);\n }\n }", "title": "" }, { "docid": "9e8a36631408d75d680721fd877a67a4", "score": "0.5095085", "text": "public BigInteger newDivide(BigInteger x, BigInteger y) {\n if (y.equals(BigInteger.ZERO))\n return null;\n return x.divide(y);\n }", "title": "" }, { "docid": "241ba5cb70264325930f0152c02ece8d", "score": "0.5091088", "text": "private void div() {\n\t\tif (stack.size() > 1) {\n\t\t\t// popy,popx,push x/y\n\t\t\tToken y = stack.pop();\n\t\t\tToken x = stack.pop();\n\t\t\tif (x.isNumber() && y.isNumber()) {\n\t\t\t\tToken z = new Token(x.getNumber() / y.getNumber());\n\t\t\t\tstack.push(z);\n\t\t\t} else {\n\t\t\t\tstack.push(x);\n\t\t\t\tstack.push(y);\n\t\t\t\tSystem.out\n\t\t\t\t\t\t.println(\"Can only perform this command with two numbers!\");\n\t\t\t}\n\t\t} else {\n\t\t\tSystem.out.println(\"The stack must have at least two numbers!\");\n\t\t}\n\t}", "title": "" }, { "docid": "740bab07b710ba032fe1d4d7c12ff013", "score": "0.5078911", "text": "@Override\r\n\tpublic float div(float a, float b) throws ArithmeticException {\n\t\treturn a/b;\r\n\t}", "title": "" }, { "docid": "4e10b51b506ac26d547dd612d045bd2c", "score": "0.5073929", "text": "static int gcdExtended(int a, int b, int[] g){\r\n // Base Case\r\n if (a == 0) \r\n {\r\n g[0] = 0;\r\n g[1] = 1;\r\n \r\n return b;\r\n }\r\n\r\n int gcd = gcdExtended(b % a, a, g);\r\n\r\n // Update x and y using results of recursive\r\n // call\r\n int x = g[1] - (b / a) * g[0];\r\n int y = g[0];\r\n \r\n g[0] = x;\r\n g[1] = y;\r\n return gcd;\r\n }", "title": "" }, { "docid": "a67a11e91bac4c60516e826ece88cd71", "score": "0.50720286", "text": "public BinaryNumber divide(BinaryNumber divisor) {\r\n // Do not remove or change the next two lines\r\n if (divisor.equals(ZERO)) // Do not change this line\r\n throw new RuntimeException(\"Cannot divide by zero.\"); // Do not change this line\r\n //\r\n throw new UnsupportedOperationException(\"Delete this line and implement the method.\");\r\n }", "title": "" }, { "docid": "2e3d38ff8acf9bf759b26ba5e542862d", "score": "0.506611", "text": "static Num divide(Num a, Num b) throws Exception {\n\t\tif (b.isZero()) {\n\t\t\tthrow new ArithmeticException(\"Cannot divide by zero\");\n\t\t}\n\n\t\tint cmpMag = compareMagnitude(a.value, b.value);\n\t\tif (cmpMag < 0)\n\t\t\treturn new Num(0);\n\n\t\tboolean resSign = a.sign ^ b.sign;\n\t\tLinkedList<Long> res = new LinkedList<Long>();\n\n\t\tif (cmpMag == 0) {\n\t\t\tres.add((long) 1);\n\t\t\treturn new Num(res, resSign);\n\t\t}\n\n\t\tres = divide(new Num(1), new Num(toString(a.value)), a, b);\n\t\treturn new Num(res, resSign);\n\t}", "title": "" }, { "docid": "519cafd4aff12101633cd9220af81a54", "score": "0.5061786", "text": "public int gcd(){\n\treturn gcd(numerator, denominator);\n }", "title": "" }, { "docid": "e32ec4559b324e6dfd2ba502e9467cdd", "score": "0.50612974", "text": "java.math.BigInteger getTotal();", "title": "" }, { "docid": "4014a6269da62b8fb1b981788da8802e", "score": "0.5060535", "text": "double modulo(double num1, double num2) {\r\n\t\treturn (num1 % num2);\r\n\t}", "title": "" }, { "docid": "a84388e0f6da18223bdf3fe270db289d", "score": "0.50556326", "text": "@Test\n public void testDiv_double() {\n assertEquals(vFiveCuM,vTenCuM.div(TWO));\n }", "title": "" }, { "docid": "5c8acb261468b0a5c824d2db7912285a", "score": "0.5044609", "text": "static Integer acycDiv(int d) {\n\t\tHashSet<String> repeatedDividend = new HashSet<>();\n\t\tHashSet<String> repeatedDividendSec = new HashSet<>();\n\t\tboolean secondCycle = false;\n\t\tString dividend = \"1\", divisor = Integer.toString(d);\n\t\tStringBuilder quotient = new StringBuilder(), activeDividend = new StringBuilder();\n\t\tint i = 0, size = 0;\n\n\t\t// This deals with the integer part\n\t\tfor (i = 0; i < dividend.length(); i++) {\n\t\t\tactiveDividend.append(dividend.charAt(i));\n\t\t\tquotient.append((Integer) Integer.parseInt(activeDividend.toString()) / Integer.parseInt(divisor));\n\t\t\tactiveDividend.replace(0, activeDividend.length(),\n\t\t\t\t\tInteger.toString(Integer.parseInt(activeDividend.toString()) - Integer.parseInt(divisor)\n\t\t\t\t\t\t\t* Integer.parseInt(Character.toString(quotient.toString().charAt(i)))));\n\t\t}\n\t\ti++;\n\t\tquotient.append(\".\");\n\t\twhile (Integer.parseInt(activeDividend.toString()) != 0) {\n\t\t\tactiveDividend.append(\"0\");\n\t\t\tif (repeatedDividendSec.contains(activeDividend.toString()))\n\t\t\t\tbreak;\n\t\t\tif (repeatedDividend.contains(activeDividend.toString())) {\n\t\t\t\tsecondCycle = true;\n\t\t\t\tsize++;\n\t\t\t}\n\t\t\tif (!secondCycle) \n\t\t\t\trepeatedDividend.add(activeDividend.toString());\n\t\t\telse\n\t\t\t\trepeatedDividendSec.add(activeDividend.toString());\t\t\t\t\n\t\t\tquotient.append((Integer) Integer.parseInt(activeDividend.toString()) / Integer.parseInt(divisor));\n\t\t\tactiveDividend.replace(0, activeDividend.length(),\n\t\t\t\t\tInteger.toString(Integer.parseInt(activeDividend.toString()) - Integer.parseInt(divisor)\n\t\t\t\t\t\t\t* Integer.parseInt(Character.toString(quotient.toString().charAt(i)))));\n\t\t\ti++;\n\t\t}\n\n\t\treturn size;\n\t}", "title": "" }, { "docid": "3be0a2fa0f30c8c926ae9426cdf5e9b2", "score": "0.5042671", "text": "private double Modulo (double x, double y)\n{\n return y*Frac(x/y);\n}", "title": "" }, { "docid": "254a227b08f12faa1f4a6623a1dda26c", "score": "0.5041559", "text": "private int gcd(int a, int b) {\n int temp = a % b;\n if (temp != 0) return gcd(b, temp);\n else return b;\n }", "title": "" }, { "docid": "aefe58b16c040744ca7a4e7db239a336", "score": "0.50397986", "text": "public static BigInt gcd(BigInt big1, BigInt big2) {\n if (big2.compareTo(BigInt.ZERO) == 0) {\n return big1;\n } else {\n return BigInt.gcd(big2, big1.mod(big2));\n }\n }", "title": "" }, { "docid": "75aa1593f69cc8c78e547577afe3ea36", "score": "0.503868", "text": "private BigDecimal calcCommonDivYield(BigDecimal lastDividend, BigDecimal price) {\r\n\t\t\r\n\t\tBigDecimal divYield = lastDividend.divide(price, SCALE, ROUND_HALF_EVEN);\r\n\t\t\r\n\t\treturn divYield;\r\n\t}", "title": "" }, { "docid": "cd7d3619c99837019bf2c29dd1bf30e2", "score": "0.50376433", "text": "public void testDivideNumbers() throws Throwable {\n assertMethodCall(Double.valueOf(10), \"div\", Double.valueOf(2), Double.valueOf(5));\n assertMethodCall(Double.valueOf(10), \"div\", Integer.valueOf(2), Double.valueOf(5));\n assertMethodCall(Integer.valueOf(10), \"div\", Double.valueOf(2), Double.valueOf(5));\n assertMethodCall(Integer.valueOf(10), \"div\", Integer.valueOf(2), new java.math.BigDecimal(\"5\"));\n }", "title": "" }, { "docid": "96934222c3a5f2c3f676371f9c5534b4", "score": "0.5032131", "text": "BigDecimal calcDividendYield(Stock stock, Prize prize);", "title": "" }, { "docid": "239f4278433499a36e59753bb2c68fbb", "score": "0.50280684", "text": "public int divide(int dividend, int divisor) {\n if (divisor == 0 ){\n return -1;\n }\n \n if (dividend == 0){\n return 0;\n }\n \n int res = 0;\n if (dividend < 0 && divisor > 0){\n return negDiv(dividend, 0-divisor);\n \n }\n \n else if (dividend > 0 && divisor < 0){\n return negDiv(0-dividend, divisor);\n }\n else if (dividend < 0 && divisor < 0){\n return div(dividend, divisor);\n }\n else{\n return div(0-dividend, 0-divisor); \n }\n \n \n }", "title": "" }, { "docid": "8af47f54b034c6365820958dfbe43fa4", "score": "0.5024418", "text": "public void testDivideExpEqualsZero() {\n String a = \"1231212478987482988429808779810457634781384756794987\";\n int aScale = -15;\n String b = \"747233429293018787918347987234564568\";\n int bScale = 10;\n String c = \"1.64769459009933764189139568605273529E+40\";\n int resScale = -5;\n BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale);\n BigDecimal bNumber = new BigDecimal(new BigInteger(b), bScale);\n BigDecimal result = aNumber.divide(bNumber, resScale, BigDecimal.ROUND_CEILING);\n assertEquals(\"incorrect value\", c, result.toString());\n assertEquals(\"incorrect scale\", resScale, result.scale());\n }", "title": "" }, { "docid": "7eb9ff76377e1d91bdcf04d12ba76e3a", "score": "0.5016066", "text": "public int divide(int dividend, int divisor) {\n if (dividend == 0 || divisor == 1){\n return dividend;\n }\n \n if (divisor == -1){\n return -dividend;\n }\n \n // (long) dividend, cast here is important to avoid overflow\n long divd = Math.abs((long)dividend);\n long divs = Math.abs((long)divisor);\n ArrayList<Long> divsArr = new ArrayList<Long>();\n \n while (divs <= divd){\n divsArr.add(divs);\n divs = divs <<1;\n }\n \n int pow = divsArr.size() -1;\n int res = 0;\n while (divd > 0 && pow >= 0){\n while ( divsArr.get(pow) <= divd){\n divd -= divsArr.get(pow);\n res += 1 << pow;\n }\n pow--;\n }\n \n return (dividend > 0) ^ (divisor > 0) ? -res: res;\n \n }", "title": "" }, { "docid": "6cae592452c626bb68b2a87169dbc47e", "score": "0.5015016", "text": "static int gcd(int a, int b) {\n if(b == 0) return a;\n else {\n return gcd(b, a % b);\n }\n }", "title": "" }, { "docid": "ff4596bdacbd5c1dfa7b9edac954bc3e", "score": "0.5014961", "text": "include<stdio.h>\nint main()\n{\n int n1=365, n2=4;\n int q=n1/n2;\n int r=n1%n2;\n printf(\"Quotient: %d\\n\", q);\n printf(\"Remainder: %d\", r);\n return 0;\n}", "title": "" } ]
cb2a88ce83677ce8fa4d1412fb0237b5
NOTE_BY_ZWC: f(n) = f(n1) + f(n2);
[ { "docid": "a55d1b275407575ac47cf99743539745", "score": "0.0", "text": "public static int tmpMethod(int n) {\n int totalCount = 0;\n return retureCount(totalCount, n);\n }", "title": "" } ]
[ { "docid": "13928ed44b019573fce125ab7dde62ae", "score": "0.63455236", "text": "double zSum();", "title": "" }, { "docid": "37b726242e18dd8c6a2daeac172fa072", "score": "0.6058427", "text": "public static void cabslnwnaz(int n) {\n\t\tint z = 1, o = 1;\r\n\t\tfor (int i = 2; i <= n; i++) {\r\n\t\t\tint nz = o;\r\n\t\t\tint no = z + o;\r\n\t\t\tz = nz;\r\n\t\t\to = no;\r\n\t\t}\r\n\t\tSystem.out.println(z + o);\r\n\t}", "title": "" }, { "docid": "316f076fe88f6db0431e0ccc670660d3", "score": "0.5729782", "text": "public final int zzf() {\n int i;\n int zzf = super.zzf();\n int i2 = 0;\n if (this.zzoo != null && this.zzoo.length > 0) {\n i = zzf;\n for (zzyi zzyi : this.zzoo) {\n if (zzyi != null) {\n i += zzya.zzb(1, zzyi);\n }\n }\n zzf = i;\n }\n if (this.zzop != null && this.zzop.length > 0) {\n i = zzf;\n for (zzyi zzyi2 : this.zzop) {\n if (zzyi2 != null) {\n i += zzya.zzb(2, zzyi2);\n }\n }\n zzf = i;\n }\n if (this.zzoq != null && this.zzoq.length > 0) {\n while (i2 < this.zzoq.length) {\n zzyi zzyi3 = this.zzoq[i2];\n if (zzyi3 != null) {\n zzf += zzya.zzb(3, zzyi3);\n }\n i2++;\n }\n }\n return zzf;\n }", "title": "" }, { "docid": "fd29dd81c2b373e7ac82e2e09c1c1e5d", "score": "0.56557953", "text": "public float weight (int n );", "title": "" }, { "docid": "0567c3a885775544ca993aa13d989dab", "score": "0.55734056", "text": "float nzf(long vIndex);", "title": "" }, { "docid": "c2ccd9a3f9a1b96ccfcf6f6b101e9ae1", "score": "0.5559803", "text": "@Override\n public double calcular (double n1, double n2){\n return n1 + n2 + n3;\n }", "title": "" }, { "docid": "122457157dfeba4aae10bf8438bd0ac7", "score": "0.55169404", "text": "public static void main(String[] args){\n Function<Integer, Integer> function = (x) -> x + (2*x^2);\n System.out.println(function.apply(5));\n\n //ii. g(x,y) = y – x + xy\n BiFunction<Integer, Integer, Integer> g = (x,y) -> (y - x + (x*y));\n System.out.println(g.apply(5, 6));\n\n //iii. h(x,y,z) = z – (x + y)\n TriFunction<Integer, Integer, Integer, Integer> h = (x,y,z) -> (z - (x + y));\n System.out.println(h.calculate(5, 6, 7));\n }", "title": "" }, { "docid": "4612c41e45f0c8f1c160761e9701c74e", "score": "0.5506233", "text": "static double computeW (int n)\n {\n double v = computeV(n);\n\n return Math.sqrt(n) * (v - 0.7); \n }", "title": "" }, { "docid": "83e62d5c203034dd330d0bd10344e925", "score": "0.5447188", "text": "private Function<Vector<Point>, Float> createWeightedFunction(float z, float epsilon){\n return (Vector<Point> points) -> {\n double xDistance = points.get(POINT_U).x - points.get(POINT_V).x;\n double yDistance = points.get(POINT_U).y - points.get(POINT_V).y;\n double euclideanDistanceSquare = (Math.pow(xDistance, 2) + Math.pow(yDistance, 2));\n return (float) 1.0 / ((float) Math.pow(euclideanDistanceSquare, z/2.0) + epsilon);};\n }", "title": "" }, { "docid": "830c69b635adebc223ce2c6da05f96a8", "score": "0.5441499", "text": "private double getSumOfZ(int i) {\n\t\tdouble sum = 0.;\n\t\tfor (int j = 0; j < rules.length; j++) {\n\t\t\tsum = sum + rules[j].getOutput() * (rules[i].getF().getConclusion() - rules[j].getF().getConclusion());\n\t\t}\n\t\treturn sum;\n\t}", "title": "" }, { "docid": "41ab2875494f60586eff44fe34978fc8", "score": "0.54289895", "text": "static double function2(double x) {\n\t\treturn 3 * Math.pow(x, 4) + Math.pow(x, 2) - 2;\n\t}", "title": "" }, { "docid": "74d207130ef6eb5d771e16da69bc787e", "score": "0.5426186", "text": "public double f(brw parambrw)\r\n/* 68: */ {\r\n/* 69: 62 */ double d1 = parambrw.a - this.a;\r\n/* 70: 63 */ double d2 = parambrw.b - this.b;\r\n/* 71: 64 */ double d3 = parambrw.c - this.c;\r\n/* 72: 65 */ return uv.a(d1 * d1 + d2 * d2 + d3 * d3);\r\n/* 73: */ }", "title": "" }, { "docid": "f67d35d7f3e3a698ed695168a88570ab", "score": "0.53532267", "text": "static int hammingWeight2(int n) {\n\t\tint result = 0;\n\t\twhile (n != 0) {\n\t\t\tif ((n & 1) == 1) {\n\t\t\t\tresult++;\n\t\t\t}\n\t\t\tn >>>= 1;\n\t\t}\n\t\treturn result;\n\t}", "title": "" }, { "docid": "c769a2b1a0d64d2d79901fb721b35759", "score": "0.5346165", "text": "static float chebyshev(/* output: the value of the polynomial C(x) */\n\tfloat x, /* input : value of evaluation; x=cos(freq) */\n\t\t\tfloat[] f, /* input : coefficients of sum or diff polynomial */\n\t\t\tint n /* input : order of polynomial */\n\t) {\n\t\tfloat b1, b2, b0, x2;\n\t\tint i; /* for the special case of 10th order */\n\t\t/* filter (n=5) */\n\t\tx2 = (float) 2.0 * x; /* x2 = 2.0*x; */\n\t\tb2 = (float) 1.0; /* f[0] *//* */\n\t\tb1 = x2 + f[1]; /* b1 = x2 + f[1]; */\n\t\tfor (i = 2; i < n; i++) { /* */\n\t\t\tb0 = x2 * b1 - b2 + f[i]; /* b0 = x2 * b1 - 1. + f[2]; */\n\t\t\tb2 = b1; /* b2 = x2 * b0 - b1 + f[3]; */\n\t\t\tb1 = b0; /* b1 = x2 * b2 - b0 + f[4]; */\n\t\t} /* */\n\t\treturn (x * b1 - b2 + (float) 0.5 * f[n]); /*\n\t\t\t\t\t\t\t\t\t\t\t\t\t * return (x*b1 - b2 + 0.5*f[5]);\n\t\t\t\t\t\t\t\t\t\t\t\t\t */\n\t}", "title": "" }, { "docid": "adf8f2a82927961c72d4d721587178ca", "score": "0.53219223", "text": "public static void main(String[] args) {f(i) = f(i-1)+f(i-2) ... so we need first 2 terms if some recursion depedent on last\n //two terms\n // T *f1 = f2\n // T*f2 = f3\n //T*f3 = f4\n //fn = t*fn-1 =t^n-1 f1\n //t^n-1 can be solved using matrix exponantion\n // k*k --> k^3 logn time complexity for matrix power somthing\n //\n }", "title": "" }, { "docid": "becdcb3f6a73b58161225980ee170fea", "score": "0.52787393", "text": "public static int FnTimes(int a, int b) {\n if (a < b) return FnTimes(b, a); // algo is faster if b < a\n int sum = 0;\n for (int iter = abs(b); iter > 0; --iter) sum += a;\n if (b < 0) sum = FnNegate(sum);\n return sum;\n}", "title": "" }, { "docid": "b89b61036934b0e2619b384f60e222f8", "score": "0.52769953", "text": "private static double zeta1(final int n) {\n /* precomputed static table in double precision\n */\n final double[] zmin1 = {0., 0.,\n 6.449340668482264364724151666e-01,\n 2.020569031595942853997381615e-01, 8.232323371113819151600369654e-02,\n 3.692775514336992633136548646e-02, 1.734306198444913971451792979e-02,\n 8.349277381922826839797549850e-03, 4.077356197944339378685238509e-03,\n 2.008392826082214417852769232e-03, 9.945751278180853371459589003e-04,\n 4.941886041194645587022825265e-04, 2.460865533080482986379980477e-04,\n 1.227133475784891467518365264e-04, 6.124813505870482925854510514e-05,\n 3.058823630702049355172851064e-05, 1.528225940865187173257148764e-05,\n 7.637197637899762273600293563e-06, 3.817293264999839856461644622e-06,\n 1.908212716553938925656957795e-06, 9.539620338727961131520386834e-07,\n 4.769329867878064631167196044e-07, 2.384505027277329900036481868e-07,\n 1.192199259653110730677887189e-07, 5.960818905125947961244020794e-08,\n 2.980350351465228018606370507e-08, 1.490155482836504123465850663e-08,\n 7.450711789835429491981004171e-09, 3.725334024788457054819204018e-09,\n 1.862659723513049006403909945e-09, 9.313274324196681828717647350e-10,\n 4.656629065033784072989233251e-10, 2.328311833676505492001455976e-10,\n 1.164155017270051977592973835e-10, 5.820772087902700889243685989e-11,\n 2.910385044497099686929425228e-11, 1.455192189104198423592963225e-11,\n 7.275959835057481014520869012e-12, 3.637979547378651190237236356e-12,\n 1.818989650307065947584832101e-12, 9.094947840263889282533118387e-13,\n 4.547473783042154026799112029e-13, 2.273736845824652515226821578e-13,\n 1.136868407680227849349104838e-13, 5.684341987627585609277182968e-14,\n 2.842170976889301855455073705e-14, 1.421085482803160676983430714e-14,\n 7.105427395210852712877354480e-15, 3.552713691337113673298469534e-15,\n 1.776356843579120327473349014e-15, 8.881784210930815903096091386e-16,\n 4.440892103143813364197770940e-16, 2.220446050798041983999320094e-16,\n 1.110223025141066133720544570e-16, 5.551115124845481243723736590e-17,\n 2.775557562136124172581632454e-17, 1.387778780972523276283909491e-17,\n 6.938893904544153697446085326e-18, 3.469446952165922624744271496e-18,\n 1.734723476047576572048972970e-18, 8.673617380119933728342055067e-19,\n 4.336808690020650487497023566e-19, 2.168404344997219785013910168e-19,\n 1.084202172494241406301271117e-19, 5.421010862456645410918700404e-20,\n 2.710505431223468831954621312e-20, 1.355252715610116458148523400e-20,\n 6.776263578045189097995298742e-21, 3.388131789020796818085703100e-21,\n 1.694065894509799165406492747e-21, 8.470329472546998348246992609e-22,\n 4.235164736272833347862270483e-22, 2.117582368136194731844209440e-22,\n 1.058791184068023385226500154e-22, 5.293955920339870323813912303e-23,\n 2.646977960169852961134116684e-23, 1.323488980084899080309451025e-23,\n 6.617444900424404067355245332e-24, 3.308722450212171588946956384e-24,\n 1.654361225106075646229923677e-24, 8.271806125530344403671105617e-25,\n 4.135903062765160926009382456e-25, 2.067951531382576704395967919e-25,\n 1.033975765691287099328409559e-25, 5.169878828456431320410133217e-26,\n 2.584939414228214268127761771e-26, 1.292469707114106670038112612e-26,\n 6.462348535570531803438002161e-27, 3.231174267785265386134814118e-27,\n 1.615587133892632521206011406e-27, 8.077935669463162033158738186e-28,\n 4.038967834731580825622262813e-28, 2.019483917365790349158762647e-28,\n 1.009741958682895153361925070e-28, 5.048709793414475696084771173e-29,\n 2.524354896707237824467434194e-29, 1.262177448353618904375399966e-29,\n 6.310887241768094495682609390e-30, 3.155443620884047239109841220e-30,\n 1.577721810442023616644432780e-30, 7.888609052210118073520537800e-31\n };\n if (n <= 0)\n throw new ProviderException(\"Not implemented: zeta at negative argument \" + n);\n if (n == 1)\n throw new ArithmeticException(\"Pole at zeta(1) \");\n\n if (n < zmin1.length)\n /* look it up if available */\n return zmin1[n];\n else {\n /* Result is roughly 2^(-n), desired accuracy 18 digits. If zeta(n) is computed, the equivalent accuracy\n * in relative units is higher, because zeta is around 1.\n */\n double eps = 1.e-18 * Math.pow(2., (double) (-n));\n MathContext mc = new MathContext(err2prec(eps));\n return zeta(n, mc).subtract(BigDecimal.ONE).doubleValue();\n }\n }", "title": "" }, { "docid": "5e4f42f91aad3f9737e05dc8861e50f7", "score": "0.5226612", "text": "protected static int summation(int n) {\n return n * (n + 1) / 2;\n }", "title": "" }, { "docid": "e8cb54020e1e7c5b5402fce8deffdead", "score": "0.5222242", "text": "public static int f(int n) {\n \t \n System.out.println(\"Method f entered,\"\n + \" n = \" + n);\n switch (n) {\n case 0: case 1: case 2:\n return n + 1;\n default:\n return f(n-2) * f(n-4);\n } // end of switch\n }", "title": "" }, { "docid": "c460c6c3b2e5ceda104341f4ca6bc6e1", "score": "0.519006", "text": "private void farey(int n) {\n\t int a = 0, b = 1, c = 1 , d = n;\n\t while (c <= n) {\n\t int k = (n + b) / d;\n\t int ta = a, tb = b;\n\t a = c; b = d; c = k*c - ta; d = k*d - tb;\n\t \n\t findTriples(b, a); \n\t //System.out.println(a + \"/\" + b);\n\t }\n\t}", "title": "" }, { "docid": "bbed283762a2a6e3a94b963c111afcfa", "score": "0.5150838", "text": "public int sum(int n1, int n2) {\t\t\n\t\treturn n1 + n2;\t\n\t}", "title": "" }, { "docid": "8ca6e9e9bb5b57f24b62fabf74d82b11", "score": "0.51376665", "text": "public static int FnMinus(int a, int b) {\n return a + FnNegate(b);\n}", "title": "" }, { "docid": "dfb70003518099733952f91996a6bdf6", "score": "0.5136603", "text": "public static int polynomial2(int x, int n) {\n int sum = 0;\n int mult = x;\n for(int i = n; i >= 1; i--) {\n sum += i*mult;\n mult *= x;\n }\n return sum;\n }", "title": "" }, { "docid": "074f8be0f4219180d48ecbd84e129522", "score": "0.513422", "text": "@Override\n public double nRule(double a, double b) {\n double h = ((b-a)/(nodes))/3;\n double sum = f(xs[0]);\n if (DEBUG)\n System.out.println(xs[0] + \" -> \"+ f(xs[0]));\n for (int i = 1;i< nodes; i++)\n {\n if (DEBUG)\n System.out.println(xs[i] + \" -> \"+ f(xs[i]));\n if (i%2 != 0)\n sum+= (4*f(xs[i]));\n else\n sum+= (2*f(xs[i]));\n }\n if (DEBUG)\n System.out.println(xs[xs.length-1] + \" -> \"+ f(xs[xs.length-1]));\n sum += f(xs[xs.length-1]);\n return h*sum;\n }", "title": "" }, { "docid": "9fed29df8ec60930bdf7016d15f9997c", "score": "0.5106068", "text": "static double computeV (int n)\n {\n double sum = 0;\n for(int i=0;i<n;i++){\n sum += computeU(i);\n }\n sum /= n;\n return sum;\n }", "title": "" }, { "docid": "cc7c2018e8c8a7e247d47ad268a84614", "score": "0.5099169", "text": "public void f1(int niz[]) {\r\n\t\tif (niz.length <= 1)\r\n\t\t\treturn;\r\n\t\tint p = niz[0];\r\n\t\tint s;\r\n\t\tniz[0] = niz[0] * niz[1];\r\n\r\n\t\tfor (int i = 1; i < niz.length - 1; i++) {\r\n\t\t\ts = niz[i];\r\n\t\t\tniz[i] = p * niz[i + 1];\r\n\t\t\tp = s;\r\n\t\t}\r\n\t\tniz[niz.length - 1] = niz[niz.length - 1] * p;\r\n\r\n\t}", "title": "" }, { "docid": "42167480d08cb97806b1ef22fe51f52d", "score": "0.5098835", "text": "public final int zzn() {\n int zzn = super.zzn() + adh.zzs(1, this.type);\n if (this.string != null && !this.string.equals(\"\")) {\n zzn += adh.zzm(2, this.string);\n }\n if (this.zzlE != null && this.zzlE.length > 0) {\n int i = zzn;\n for (zzbr zzbr : this.zzlE) {\n if (zzbr != null) {\n i += adh.zzb(3, (adp) zzbr);\n }\n }\n zzn = i;\n }\n if (this.zzlF != null && this.zzlF.length > 0) {\n int i2 = zzn;\n for (zzbr zzbr2 : this.zzlF) {\n if (zzbr2 != null) {\n i2 += adh.zzb(4, (adp) zzbr2);\n }\n }\n zzn = i2;\n }\n if (this.zzlG != null && this.zzlG.length > 0) {\n int i3 = zzn;\n for (zzbr zzbr3 : this.zzlG) {\n if (zzbr3 != null) {\n i3 += adh.zzb(5, (adp) zzbr3);\n }\n }\n zzn = i3;\n }\n if (this.zzlH != null && !this.zzlH.equals(\"\")) {\n zzn += adh.zzm(6, this.zzlH);\n }\n if (this.zzlI != null && !this.zzlI.equals(\"\")) {\n zzn += adh.zzm(7, this.zzlI);\n }\n if (this.zzlJ != 0) {\n zzn += adh.zze(8, this.zzlJ);\n }\n if (this.zzlN) {\n zzn += adh.zzct(9) + 1;\n }\n if (this.zzlM != null && this.zzlM.length > 0) {\n int i4 = 0;\n for (int zzcr : this.zzlM) {\n i4 += adh.zzcr(zzcr);\n }\n zzn = zzn + i4 + (this.zzlM.length * 1);\n }\n if (this.zzlL != null && this.zzlL.length > 0) {\n for (zzbr zzbr4 : this.zzlL) {\n if (zzbr4 != null) {\n zzn += adh.zzb(11, (adp) zzbr4);\n }\n }\n }\n return this.zzlK ? zzn + adh.zzct(12) + 1 : zzn;\n }", "title": "" }, { "docid": "e14eeea18a69e5bd61010f2d43767e40", "score": "0.50834197", "text": "private static int nthIterFibStartsWith0(int n){ //fib(1) = 0, fib(2) = 1\n if(n <= 1) return 0;\n if(n == 2) return 1;\n int x1 = 0, x2 = 1, y = 0;\n for(int i=0;i<n-2;i++){\n y = x1 + x2;\n x1 = x2;\n x2 = y;\n }\n return y;\n }", "title": "" }, { "docid": "a17e3cfed611994aa0568c0d744e0c03", "score": "0.5066605", "text": "void rfftf1(int n, double[] c, final double[] wtable, int offset) {\n final double[] td = tempData;\n System.arraycopy(wtable, offset, td, 0, n);\n\n int nf = (int) wtable[1 + 2 * n + offset];\n int na = 1;\n int l2 = n;\n int iw = n - 1 + n + offset;\n\n for (int k1 = 1; k1 <= nf; ++k1) {\n int kh = nf - k1;\n int ip = (int) wtable[kh + 2 + 2 * n + offset];\n int l1 = l2 / ip;\n int ido = n / l2;\n int idl1 = ido * l1;\n iw -= (ip - 1) * ido;\n na = 1 - na;\n if (ip == 4) {\n if (na == 0)\n radf4(ido, l1, c, td, wtable, iw);\n else\n radf4(ido, l1, td, c, wtable, iw);\n } else if (ip == 2) {\n if (na == 0)\n radf2(ido, l1, c, td, wtable, iw);\n else\n radf2(ido, l1, td, c, wtable, iw);\n } else if (ip == 3) {\n if (na == 0)\n radf3(ido, l1, c, td, wtable, iw);\n else\n radf3(ido, l1, td, c, wtable, iw);\n } else if (ip == 5) {\n if (na == 0)\n radf5(ido, l1, c, td, wtable, iw);\n else\n radf5(ido, l1, td, c, wtable, iw);\n } else {\n if (ido == 1)\n na = 1 - na;\n if (na == 0) {\n radfg(ido, ip, l1, idl1, c, c, c, td, td, wtable, iw);\n na = 1;\n } else {\n radfg(ido, ip, l1, idl1, td, td, td, c, c, wtable, iw);\n na = 0;\n }\n }\n l2 = l1;\n }\n\n // If na == 1, the results are in c. Otherwise they're in tempData.\n if (na == 0)\n for (int i = 0; i < n; i++)\n c[i] = td[i];\n }", "title": "" }, { "docid": "c5175346b4f42d52df4e44c97d33b53d", "score": "0.50660694", "text": "public static float add(float n1, float n2) {\n\t\tfloat result = n1+n2;\n\t\t//System.out.println(result);\n\t\treturn result;\n\t}", "title": "" }, { "docid": "b7e77a95d53388d343cb66c2cbec9f98", "score": "0.50617343", "text": "void a(int paramInt1, int paramInt2, int paramInt3)\n/* */ {\n/* 228 */ int i1 = paramInt2;\n/* 229 */ int i2 = paramInt2 + this.n;\n/* */ \n/* 231 */ while (i1 < i2) {\n/* 232 */ float f1 = b(i1 - paramInt2);\n/* 233 */ a(paramInt1, i1, paramInt3, f1, (byte)1, ajn.t);\n/* 234 */ i1++;\n/* */ }\n/* */ }", "title": "" }, { "docid": "cb4742addb962e820b6e2a364d74d278", "score": "0.5056402", "text": "void mo39959b(int i, int i2, float f, boolean z);", "title": "" }, { "docid": "622474c95ab538d832ccaf3e1fad9967", "score": "0.5043204", "text": "static int oddEvenAdd(int n) {\n if (n % 2 == 0) return n / 2;\n return (n * 3) + 1;\n }", "title": "" }, { "docid": "54bf68de332461927cb07e17de4410ab", "score": "0.5038711", "text": "private static int calculateDifference(int n) {\n\t\tint sumofsquares=0;\n\t\t\n\t\tint sum=0;\n\t\tfor(int i=1;i<=n;i++)\n\t\t{\n\t\t\tsumofsquares+=i*i;\n\t\t\tsum+=i;\n\t\t}\n\t\treturn sumofsquares-(sum*sum);\n\t}", "title": "" }, { "docid": "d2fc65c08e31373b2e5250b786778f94", "score": "0.5038672", "text": "private static double cnf_N01(double z) {\n\t\tdouble zabs;\n\t\tdouble p;\n\t\tdouble expntl, pdf;\n\n\t\tfinal double p0 = 220.2068679123761;\n\t\tfinal double p1 = 221.2135961699311;\n\t\tfinal double p2 = 112.0792914978709;\n\t\tfinal double p3 = 33.91286607838300;\n\t\tfinal double p4 = 6.373962203531650;\n\t\tfinal double p5 = .7003830644436881;\n\t\tfinal double p6 = .3526249659989109E-01;\n\n\t\tfinal double q0 = 440.4137358247522;\n\t\tfinal double q1 = 793.8265125199484;\n\t\tfinal double q2 = 637.3336333788311;\n\t\tfinal double q3 = 296.5642487796737;\n\t\tfinal double q4 = 86.78073220294608;\n\t\tfinal double q5 = 16.06417757920695;\n\t\tfinal double q6 = 1.755667163182642;\n\t\tfinal double q7 = .8838834764831844E-1;\n\n\t\tfinal double cutoff = 7.071;\n\t\tfinal double root2pi = 2.506628274631001;\n\n\t\tzabs = Math.abs(z);\n\t\tif (z > 37.0) \n\t\t\treturn 1.;\n\t\tif (z < -37.0) \n\t\t\treturn 0.;\n\n\t\texpntl = StrictMath.exp(-.5*zabs*zabs);\n\t\tpdf = expntl/root2pi;\n\n\t\tif (zabs < cutoff) {\n\t\t\tp = expntl*((((((p6*zabs + p5)*zabs + p4)*zabs + p3)*zabs +\n\t\t\t\t\tp2)*zabs + p1)*zabs + p0)/(((((((q7*zabs + q6)*zabs +\n\t\t\t\t\t\t\tq5)*zabs + q4)*zabs + q3)*zabs + q2)*zabs + q1)*zabs +\n\t\t\t\t\t\t\tq0);\n\t\t} else {\n\t\t\tp = pdf/(zabs + 1.0/(zabs + 2.0/(zabs + 3.0/(zabs + 4.0/\n\t\t\t\t\t(zabs + 0.65)))));\n\t\t}\n\n\t\tif (z < 0.)\n\t\t\treturn p;\n\t\telse\n\t\t\treturn 1. - p;\n\t}", "title": "" }, { "docid": "9bb79cb1a686a69c44b8c38ad1c61a02", "score": "0.50355965", "text": "public int hammingWeight(int n) {\n int res=0;\n while(n!=0){\n res++;\n n-=n&(-n);\n }\n return res;\n }", "title": "" }, { "docid": "ccf3d7ba5a9f1e85d231c49b44f05eed", "score": "0.50345874", "text": "public int Iteracion(int n) {\n\t\t\tint f = 0;\r\n\t\t\tint fa = 0;\r\n\t\t\tint faa = 0;\r\n\t\t\t\r\n\t\t\tfor(int i = 0; i <= n; i++) {\r\n\t\t\t\tfaa = fa;\r\n\t\t\t\tfa = f;\r\n\t\t\t\tf = fa + faa;\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tif(f == 0 && i == 1) {\r\n\t\t\t\t\tf = 1;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\treturn f;\r\n\t\t}", "title": "" }, { "docid": "bb9f0ed84936eb15d6fa8f036eddac8b", "score": "0.5031303", "text": "private int autocnt(int n,int b,int i){\n int sum = 0;\n if((int)(Math.log10(n)) == (int)(Math.log10(Math.pow(b,i)))){\n if(n == Math.pow(b,i)){\n sum = 1;\n }else{\n sum = -1;\n } \n }else{\n int p1 = (int)(Math.pow(b,i));\n int pot = ((int)(Math.log10(n)))-((int)(Math.log10(p1)));\n int div = (int)(Math.pow(10,pot));\n int aux = autocnt(n%div,b,i+1); \n int next = (aux != -1)? aux : -1; \n if(next!=-1){\n sum = ((n/div) == p1)? 1 + next: -1;\n }else{\n sum = -1;\n } \n }\n return sum;\n }", "title": "" }, { "docid": "f11ca8077f9464c4114303f1085008ca", "score": "0.49992868", "text": "public double getWeightedSum();", "title": "" }, { "docid": "bba5174ee54dbc29e9594f922720c8c0", "score": "0.4987004", "text": "public double zTrans(Pair start, Pair end) {\n\t\tdouble y1 = start.getY(), y2 = end.getY();\n\t\tdouble result = (y1 + y2)/2;\n\t\treturn result - 367.5;\n\t}", "title": "" }, { "docid": "ddb95713e7a68bcd84ea31e4643243eb", "score": "0.49853203", "text": "void mo39958a(int i, int i2, float f, boolean z);", "title": "" }, { "docid": "8ff203a294fc6b3ba93ce02a7175ea68", "score": "0.49726442", "text": "private int binomialCoefficient(final int n) {\n return n * (n - 1) / 2;\n }", "title": "" }, { "docid": "6c52c25612b8c79ad9ee7019dd155632", "score": "0.4963024", "text": "public int hammingWeight(int n) {\n int sum = 0;\n while (n != 0) {\n sum += n & 1;\n n >>>= 1;\n }\n return sum;\n }", "title": "" }, { "docid": "9134cc67ffe3344b44a15085dd4ba4e2", "score": "0.49619868", "text": "public int hammingWeight(int n) {\n int count = 0;\n while(n!=0){\n //每次与n-1循环与,清除最后二进制一位1,然后计数\n n &= n-1;\n count ++;\n }\n return count;\n }", "title": "" }, { "docid": "a7edc360c2bc22cbf4b0a6f4621fb5ea", "score": "0.49594668", "text": "public int hammingWeight(int n) {\n //时间复杂度:O(1)。运行时间与n中位为1的有关。在最坏情况下,n中所有位都是1。对于32位整数,运行时间是O(1)的。\n //空间复杂度:O(1)。没有使用额外空间。\n //1.for loop:0-->32 (需要32次)\n //2.%2看最低位是否为1,/2相当于打掉最后一位 (需要32次)\n //3.&1,x=x>>1; (需要32次)\n //4.x=x&(x-1)清零最低位的1:while(x>0){ count++; x=x&(x-1); } (有多少个1需要多少次)\n int sum = 0;\n while (n != 0) {\n sum++;\n n &= (n - 1);\n }\n return sum;\n }", "title": "" }, { "docid": "872a09fd1680faf9be4539804917f6a7", "score": "0.49547353", "text": "public final static Function combine(Function f1,Function f2) {\n Function f= new Function();\n \n f.terms = Ivector.combine(f1.terms,f2.terms);\n f.coeffs = new double[f.terms[0]+1];\n\n return f;\n }", "title": "" }, { "docid": "dd62aee97e13c9fce6486235584ccee3", "score": "0.49388048", "text": "public Function integrate(int pOrder);", "title": "" }, { "docid": "6fc47077bade3608a9c7e8de9e8101bd", "score": "0.49368632", "text": "private static int fib(int n) {\n if (n == 0) return 1;\n int f[] = new int[n+1];\n f[0] = f[1] = 1;\n for (int i = 2; i < n + 1; i++) f[i] = f[i-1] + f[i-2];\n return f[n];\n }", "title": "" }, { "docid": "d2672075018a19ed5814b78ddff17eae", "score": "0.49354985", "text": "static int fibonacciIterative(int n){\n\t\t if (n<=1)\n\t\t return 1; \n\n\t\t int fib = 1;\n\t\t int prevFib = 1;\n\n\t\t for (int i = 2; i < n; i++) { //Adds numbers using a swap motion \n\t\t int temp = fib;\n\t\t fib = fib + prevFib;\n\t\t prevFib = temp;\n\t\t }\n\t\t return fib;\n }", "title": "" }, { "docid": "b2081564ac3318ea994cf314fc7b025c", "score": "0.49198607", "text": "public static void fibo(int n) {\n int t1 = 0, t2 = 1;\n\n /*if (n >= 1) {\n System.out.println(0);\n }\n\n if (n >= 2) {\n System.out.println(1);\n }*/\n\n int sum ;\n for (int i = 1; i <= n; i++) {\n System.out.println(t1);\n sum = t1 + t2;\n t1 = t2;\n t2 = sum;\n }\n }", "title": "" }, { "docid": "dc947b43b0d4b239e58129d0de81b141", "score": "0.49192291", "text": "static long advSum(int n) {\n\t\t\n\t\t\n\t\tlong sum = (long)n*(n+1)/2;\n\t\t\n\t\treturn sum;\n\t\t\n\t}", "title": "" }, { "docid": "a467360de96ff2866ba6afdf264a2ac4", "score": "0.49111083", "text": "@Override\r\n\tpublic void operation(int n1, int n2) {\n\r\n\t\tint res = operation2(n1, n2);\r\n\t\toperation3(res);\r\n\t}", "title": "" }, { "docid": "c0d869b30f87d85c2b3f7d01f63aa70c", "score": "0.490645", "text": "public static int run(int n, int w, int[] num, int[] weight) {\n ArrayList<Weight> weights = new ArrayList<>();\n for(int i = 1; i <= n;i++) {\n weights.add(new Weight(num[i],weight[i]));\n }\n Collections.sort(weights);\n\n int res = 0;\n for(int i = 0 ; i < n;i++) {\n int numOfWeights = Math.min(w / weights.get(i).w, weights.get(i).n);\n w -= numOfWeights * weights.get(i).w;\n res += numOfWeights;\n }\n return res;\n }", "title": "" }, { "docid": "4914b61a64416e7efd4e337b89c14a84", "score": "0.49016607", "text": "private static int sumPf(long n) {\n\t\tint ans = 0;\n\t\tint pf_idx = 0;\n\t\tlong pf = primes.get(pf_idx);\n\n\t\twhile (n != 1 && pf * pf <= n) {\n\n\t\t\twhile (n % pf == 0) {\n\t\t\t\tn /= pf;\n\t\t\t\tans += pf;\n\t\t\t}\n\n\t\t\tpf = primes.get(++pf_idx);\n\t\t}\n\n\t\tif (n != 1) {\n\t\t\tans += n;\n\t\t}\n\n\t\treturn ans;\n\t}", "title": "" }, { "docid": "56b9a0a6566f2d0b0cf4bbe873436038", "score": "0.48984107", "text": "public int arithmeticSeries2(int n, int acc)\n {\n if (n == 0) {\n return acc;\n }\n\n acc += n; \n\n return arithmeticSeries2(n - 1, acc);\n }", "title": "" }, { "docid": "1f13bac0ef5dcf139c33ac297100d7d8", "score": "0.4890135", "text": "public int hammingWeight(int n) {\n int ret = 0;\n while (n != 0) {\n ret += (n & 1);\n n >>>= 1;\n }\n return ret;\n }", "title": "" }, { "docid": "c226cfdb4767ab00bc31d641e250cf50", "score": "0.48720625", "text": "void rfftf(int n, double r[], double wtable[]) {\n if (n == 1) return;\n rfftf1(n, r, wtable, 0);\n }", "title": "" }, { "docid": "3a5b66265e88a0e1b62ef08ec88e1959", "score": "0.4868957", "text": "private void increment(int[][] f2, int f, int s){\n f2[f][s]++;\n f2[f][total]++;\n if (f != s) {\n f2[s][f]++;\n f2[s][total]++;\n }\n }", "title": "" }, { "docid": "d05521c5e7eb0c19af03c3232ca473f0", "score": "0.48680085", "text": "public int hammingWeight(int n) {\n int res = 0;\n/**\n * n&1 = 1, 表示n的最右边1位是1\n * n&1 = 0, 表示n的最右边1位是0\n */\n while(n!=0){\n res += n&1; \n n = n>>>1; //无符号向右移位\n }\n return res;\n }", "title": "" }, { "docid": "513c926b9794b69972eb1132751e5cf2", "score": "0.48613292", "text": "public double nbf(){\r\n\t\t\treturn (s / ((s - phi) * (s - phi))) * ((Math.pow(phi, s+1)) / (factorielle(s))) * (petoile0());\r\n\t}", "title": "" }, { "docid": "80b88da31c97a63d410c31d43da53796", "score": "0.484061", "text": "public void addToZ(int amount) {\n z += amount;\n }", "title": "" }, { "docid": "63c1fbd680d4e07b5ec1d59dd3350b4f", "score": "0.48326898", "text": "public static long sideEffectSum(long n) {\n\t\tAccumulator accumulator = new Accumulator();\n\t\tLongStream.rangeClosed(1, n).forEach(accumulator::add);\n\t\treturn accumulator.total;\n\t}", "title": "" }, { "docid": "e6e9b84143a880d942be88a52aba27f9", "score": "0.48294768", "text": "public double getSumOfWeights();", "title": "" }, { "docid": "c87c6c95058aa6500bef7ff185b11a1f", "score": "0.4828928", "text": "private static double f(double x){\n\t\treturn Math.pow(x, 3)-5*x+3;\n\t}", "title": "" }, { "docid": "bf5b9984222e2abdfb2489ff3e546915", "score": "0.48249596", "text": "public int hammingWeight(int n) {\r\n int count = 0;\r\n while(n!=0)\r\n {\r\n count += n&1;\r\n n>>>=1;\r\n }\r\n return count;\r\n }", "title": "" }, { "docid": "2b0cd49301e25d6640df2e4003f61ece", "score": "0.4818938", "text": "private static void Dx(final int n, final double [] x, double []y){\r\n\t for (int i = 0; i < n-2; i++){\r\n\t y[i] = x[i] - x[i+1] - x[i+1] + x[i+2];\r\n\t }\r\n\t}", "title": "" }, { "docid": "1a51ab2d41172abdeef1b02118d31f18", "score": "0.48172697", "text": "private static void progran8() {\n\t\tSystem.out.println(\" fibbonacci series\");\n\t\t\n\t\tint n1=1;\n\t\tint n2=1;\n\t\tint n3;\n\t\tSystem.out.println(n1);\n\t\tSystem.out.println(n2);\n\t\t\n\t\t/*\n\t\t * for (int i = 0; i < 5; i++) {\n\t\t * \n\t\t * n3= n1+n2; System.out.println(n3); n1=n2; n2=n3; }\n\t\t * \n\t\t */\n\t\tdo {\n\t\t\tn3= n1+n2;\n\t\t\tSystem.out.println(n3);\n\t\t\tn1=n2;\n\t\t\tn2=n3;\n\t\t} while (n3<2);\n\t\t\n\t\t \n\t\t\n\t}", "title": "" }, { "docid": "9ce147813d71236ca421f2c5b1ca13f9", "score": "0.4815628", "text": "public int minOperations(int n) {\n int ans = 0;\n for(int i=1;i<n;i=i+2){\n ans += (n-i);\n }\n return ans;\n }", "title": "" }, { "docid": "d98168fdc1379693932cd2f156d644a7", "score": "0.481336", "text": "public final void zza(zzn zzn, String str, String str2) {\n zzd();\n zzw();\n zza(new zzjf(this, str, str2, zza(false), zzn));\n }", "title": "" }, { "docid": "257080841d90fd3a30ec52d0aca2f597", "score": "0.48120737", "text": "private static int powersOf2(int n) {\n//\t\tfor(int i=2; i<=n; System.out.println(i),i=i*2);\n\t\tif (n < 1)\n\t\t\treturn 1;\n\t\telse if (n == 1) {\n\t\t\tSystem.out.println(1);\n\t\t\treturn 1;\n\t\t} else {\n\t\t\tint seqNum = powersOf2(n / 2);\n\t\t\tint powerOf2Serires = seqNum * 2;\n\t\t\tSystem.out.println(powerOf2Serires);\n\t\t\treturn powerOf2Serires;\n\t\t}\n\t}", "title": "" }, { "docid": "36075015dd99155cd81fc45453873eca", "score": "0.48069856", "text": "public int hammingWeight(int n) {\n int ans = 0;\n while (n != 0) {\n n = n & (n - 1);\n ans++;\n }\n return ans;\n }", "title": "" }, { "docid": "4b45f395f85f8809f7da6197f3f7d526", "score": "0.48025587", "text": "public static BigInteger loopFib(int n) {\n if (n < 0)\n throw new IllegalArgumentException(\"n must be non-negative\");\n BigInteger f0 = BigInteger.ZERO;\n BigInteger f1 = BigInteger.ONE;\n BigInteger temp;\n for (long i = 0; i < n; i++) {\n temp = f0.add(f1);\n f0 = f1;\n f1 = temp;\n }\n // i == n now\n return f0;\n }", "title": "" }, { "docid": "3727f9b31bf4518312a0d8bdd4425c35", "score": "0.47970405", "text": "private static int m22785b(zzdnu<?> zzdnu, Object obj) {\n zzdri k = zzdnu.mo31596k();\n int d = zzdnu.mo31595d();\n if (!zzdnu.mo31598m()) {\n return m22779a(k, d, obj);\n }\n int i = 0;\n if (zzdnu.mo31599n()) {\n for (Object b : (List) obj) {\n i += m22786b(k, b);\n }\n return zzdni.m29727e(d) + i + zzdni.m29746l(i);\n }\n for (Object a : (List) obj) {\n i += m22779a(k, d, a);\n }\n return i;\n }", "title": "" }, { "docid": "5836172329b5d32a9601ab3dd126f5f9", "score": "0.47960675", "text": "public int hammingWeight(int n) {\n \tint res = 0;\n \tfor( int i = 0; i < 32; i++){\n \t\tint tmp = n >>> i;\n if( (tmp & 1) > 0) res++;\n \t}\n \treturn res;\n }", "title": "" }, { "docid": "328717436aa02cedbf96880446f6e7b9", "score": "0.47921616", "text": "int powersOf2(int n){\n if(n < 1) {\n return 0;\n }else if(n == 1){\n System.out.println(1);\n return 1;\n } else {\n int previous = powersOf2(n / 2);\n int current = previous * 2;\n System.out.println(current);\n return current;\n }\n\n }", "title": "" }, { "docid": "a67f0a427b983eebb2f3a684b59fb1de", "score": "0.47864217", "text": "private static double f(final double x) {\n\t\t\tdouble sum = 0.0;\n\t\t\tdouble temp1 = (x * x) - (x+1);// should be Array so some error must appear it\n\t\t double temp2 = x - 1.0;\n\t\t return sum += (100.0 * temp1 * temp1) + (temp2 * temp2);\n\t\t \n\t\t}", "title": "" }, { "docid": "e5b2f8dfb46cfc934e1d80dea62be910", "score": "0.47850537", "text": "static float m1431a(float f, float f2, boolean z) {\n return z ? (float) (((double) (f * 1.5f)) + ((1.0d - f1310b) * ((double) f2))) : f * 1.5f;\n }", "title": "" }, { "docid": "ad6527b098a60c3688f378428e440b18", "score": "0.4780226", "text": "double powerOfX(double x, int n) {\n //first approach\n /*\n double result = 1;\n if (n < 0)\n x = 1 / x;\n\n while (n != 0) {\n if (n % 2 != 0)\n result = result * x;\n x = x * x;\n n = n / 2;\n }\n return result;\n */\n\n //approach 2\n if (n < 0)\n x = 1 / x;\n return calculatePower(x, n);\n }", "title": "" }, { "docid": "fc3066565e901ee86e2428c96a0711d1", "score": "0.4777243", "text": "public double g(brw parambrw)\r\n/* 76: */ {\r\n/* 77: 69 */ double d1 = parambrw.a - this.a;\r\n/* 78: 70 */ double d2 = parambrw.b - this.b;\r\n/* 79: 71 */ double d3 = parambrw.c - this.c;\r\n/* 80: 72 */ return d1 * d1 + d2 * d2 + d3 * d3;\r\n/* 81: */ }", "title": "" }, { "docid": "3751d1f95b28d3efbda8b7287f5a6b03", "score": "0.47712415", "text": "void mo123677a(float f, float f2);", "title": "" }, { "docid": "46bcb03d7447baa5d634ba5bb5cbecc1", "score": "0.4770019", "text": "private static void show2(int a, int b) {\n\t\tSystem.out.printf(\"(%d + %d) ^ 3 = %d\\n\",a,b,(int)Math.pow(a+b,3) );\n\t}", "title": "" }, { "docid": "6089402d4de18021246ecb902875293c", "score": "0.47680274", "text": "public static int fab(int n) {\n\t\tif (n <= 2)\n\t\t\treturn 1;\n\t\treturn fab(n - 1) + fab(n - 2);\n\t}", "title": "" }, { "docid": "201c4b8eb675684ec35b0cca9b2f5d09", "score": "0.47595778", "text": "public double calculate (double count, double sum, double sumSquares) ;", "title": "" }, { "docid": "2a0abbb7ca1d54ddec491f7c31f7d0a2", "score": "0.4757484", "text": "float nxf(long vIndex);", "title": "" }, { "docid": "60b36e8e8953c91a43fe6e39638bcd08", "score": "0.47511905", "text": "private int fn(int n)\r\n\t{\n\t\tint facts[]= {1,1,2,6,24,120,720,5040,40320,362880};\r\n\t\tint sum=0;\r\n\twhile(n>0)\r\n\t\t{\r\n\t\t\tsum+=facts[n%10];\r\n\t\t\tn/=10;\r\n\t\t}\r\n\treturn sum;\r\n\t}", "title": "" }, { "docid": "7d1497ad2c3bb5979c1ea8efee9521a8", "score": "0.47509322", "text": "public int zzz() {\n int zzz = super.zzz();\n if (this.zzaZN != null) {\n zzz += zzsn.zzC(1, this.zzaZN.intValue());\n }\n if (this.zzaZO != null) {\n zzz += zzsn.zzo(2, this.zzaZO);\n }\n if (this.zzaZP != null) {\n zzz += zzsn.zzf(3, this.zzaZP.booleanValue());\n }\n if (this.zzaZQ == null || this.zzaZQ.length <= 0) {\n return zzz;\n }\n int i = 0;\n int i2 = 0;\n for (String str : this.zzaZQ) {\n if (str != null) {\n i2++;\n i += zzsn.zzgO(str);\n }\n }\n return zzz + i + (i2 * 1);\n }", "title": "" }, { "docid": "651be1573f7c78bd6843eec53bb2c7bd", "score": "0.4750816", "text": "private final long zzw() throws java.io.IOException {\n /*\n r11 = this;\n int r0 = r11.zzi\n int r1 = r11.zzg\n if (r1 == r0) goto L_0x00b5\n byte[] r2 = r11.zzf\n int r3 = r0 + 1\n byte r0 = r2[r0]\n if (r0 < 0) goto L_0x0012\n r11.zzi = r3\n long r0 = (long) r0\n return r0\n L_0x0012:\n int r1 = r1 - r3\n r4 = 9\n if (r1 < r4) goto L_0x00b5\n int r1 = r3 + 1\n byte r3 = r2[r3]\n int r3 = r3 << 7\n r0 = r0 ^ r3\n if (r0 >= 0) goto L_0x0026\n r0 = r0 ^ -128(0xffffffffffffff80, float:NaN)\n L_0x0022:\n long r2 = (long) r0\n r3 = r2\n goto L_0x00b2\n L_0x0026:\n int r3 = r1 + 1\n byte r1 = r2[r1]\n int r1 = r1 << 14\n r0 = r0 ^ r1\n if (r0 < 0) goto L_0x0037\n r0 = r0 ^ 16256(0x3f80, float:2.278E-41)\n long r0 = (long) r0\n r9 = r0\n r1 = r3\n r3 = r9\n goto L_0x00b2\n L_0x0037:\n int r1 = r3 + 1\n byte r3 = r2[r3]\n int r3 = r3 << 21\n r0 = r0 ^ r3\n if (r0 >= 0) goto L_0x0045\n r2 = -2080896(0xffffffffffe03f80, float:NaN)\n r0 = r0 ^ r2\n goto L_0x0022\n L_0x0045:\n long r3 = (long) r0\n int r0 = r1 + 1\n byte r1 = r2[r1]\n long r5 = (long) r1\n r1 = 28\n long r5 = r5 << r1\n long r3 = r3 ^ r5\n r5 = 0\n int r1 = (r3 > r5 ? 1 : (r3 == r5 ? 0 : -1))\n if (r1 < 0) goto L_0x005c\n r1 = 266354560(0xfe03f80, double:1.315966377E-315)\n L_0x0058:\n long r1 = r1 ^ r3\n r3 = r1\n L_0x005a:\n r1 = r0\n goto L_0x00b2\n L_0x005c:\n int r1 = r0 + 1\n byte r0 = r2[r0]\n long r7 = (long) r0\n r0 = 35\n long r7 = r7 << r0\n long r3 = r3 ^ r7\n int r0 = (r3 > r5 ? 1 : (r3 == r5 ? 0 : -1))\n if (r0 >= 0) goto L_0x0070\n r5 = -34093383808(0xfffffff80fe03f80, double:NaN)\n L_0x006e:\n long r3 = r3 ^ r5\n goto L_0x00b2\n L_0x0070:\n int r0 = r1 + 1\n byte r1 = r2[r1]\n long r7 = (long) r1\n r1 = 42\n long r7 = r7 << r1\n long r3 = r3 ^ r7\n int r1 = (r3 > r5 ? 1 : (r3 == r5 ? 0 : -1))\n if (r1 < 0) goto L_0x0083\n r1 = 4363953127296(0x3f80fe03f80, double:2.1560793202584E-311)\n goto L_0x0058\n L_0x0083:\n int r1 = r0 + 1\n byte r0 = r2[r0]\n long r7 = (long) r0\n r0 = 49\n long r7 = r7 << r0\n long r3 = r3 ^ r7\n int r0 = (r3 > r5 ? 1 : (r3 == r5 ? 0 : -1))\n if (r0 >= 0) goto L_0x0096\n r5 = -558586000294016(0xfffe03f80fe03f80, double:NaN)\n goto L_0x006e\n L_0x0096:\n int r0 = r1 + 1\n byte r1 = r2[r1]\n long r7 = (long) r1\n r1 = 56\n long r7 = r7 << r1\n long r3 = r3 ^ r7\n r7 = 71499008037633920(0xfe03f80fe03f80, double:6.838959413692434E-304)\n long r3 = r3 ^ r7\n int r1 = (r3 > r5 ? 1 : (r3 == r5 ? 0 : -1))\n if (r1 >= 0) goto L_0x005a\n int r1 = r0 + 1\n byte r0 = r2[r0]\n long r7 = (long) r0\n int r0 = (r7 > r5 ? 1 : (r7 == r5 ? 0 : -1))\n if (r0 < 0) goto L_0x00b5\n L_0x00b2:\n r11.zzi = r1\n return r3\n L_0x00b5:\n long r0 = r11.zzs()\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.firebase_auth.zzhd.zzw():long\");\n }", "title": "" }, { "docid": "14c907e0b3b615656207120050007bf6", "score": "0.4745881", "text": "public int hammingWeight(int n) {\n int count = 0;\n while (n != 0) {\n count++;\n n = (n - 1) & n;\n }\n return count;\n }", "title": "" }, { "docid": "5d7e80a3cef7be38cfd3ec8013b17639", "score": "0.4745443", "text": "public abstract int calculate(int n);", "title": "" }, { "docid": "4d4fe1820214c54b10c569696914caee", "score": "0.47420362", "text": "double function2(double x)\n {\n double res = -Math.pow(x-2,2);\n return res;\n }", "title": "" }, { "docid": "9052a39f1b8eeda4f08b29ed607f653d", "score": "0.47408158", "text": "public int getNthFibonacciIterate(int n){ \n\t\tint num1=0;\n\t\tint num2=1;\n\t\tint fib=0; \n\t\t\n\t\tfor(int i=0 ; i<n ; i++) {\n\t\t\tfib =num1+num2;\n\t\t\tnum1=num2;\n\t\t\tnum2=fib;\n\t\t} \n\t\treturn fib;\n\t}", "title": "" }, { "docid": "53404edd272a5c48a2d7e9adcb7b82e1", "score": "0.4736334", "text": "public static int fibonnaci(int n) {\n if (n == 0 || n == 1)\n return n;\n\n int a = 0;\n int b = 1;\n int c;\n\n for (int i = 2; i <= n; i++) {\n c = a + b;\n a = b;\n b = c;\n }\n return b;\n }", "title": "" }, { "docid": "802cc4c00f612b557c313e532d9909e2", "score": "0.47356975", "text": "public static int fib(int n){\n int a = 0, b = 1, c;\n if (n == 0)\n return a;\n for (int i = 2; i <= n; i++){\n c = a + b;\n a = b;\n b = c;\n }\n return b;\n}", "title": "" }, { "docid": "bd89e2081722121874b72c0a614cbe43", "score": "0.47341233", "text": "public void carezze(int n)\n\t{\n\t\tsoddisfazione+=n;\n\t\tsazieta-=n/2;\n\t\tcontrollaVita();\n\t}", "title": "" }, { "docid": "ad3763e36e76293980d35855d9fedfe1", "score": "0.4728438", "text": "int factR(int n){\n\t\tint result;\n\t\tif(n==1 || (n== 2)) return 1;\n\t\tresult=factR(n-1)*n;\n\t\treturn result;\n\t\t}", "title": "" }, { "docid": "cb541c957cd6824455474d31e9be0eb4", "score": "0.47282633", "text": "public static int f1(int x, int y, int z) {\n return (x & y) | (~x & z);\n }", "title": "" }, { "docid": "d17c9d4bd610e125f9212d4c10ce6147", "score": "0.47250673", "text": "private static int fibFast(int last, int a, int b, int n) {\n\n\t\t// If the end equals count then return the sum of a and b\n\t\tif ( last == n ) {\n\t\t\treturn ( a + b );\n\t\t} else {\n\t\t\t// Otherwise keep calling fibFast and pass in sum of a and b as b parameter\n\t\t\treturn fibFast( last, b, (a + b), (n + 1) );\n\t\t}\n\n\t}", "title": "" }, { "docid": "7ed734a112047b2408cb86ab9a89bfe5", "score": "0.47176296", "text": "public double getWeightedSumOfSquares();", "title": "" }, { "docid": "6b57f7387cfab2aa33f43485a4398b11", "score": "0.47167832", "text": "static long taumBday(long b, long w, long bc, long wc, long z) {\n\t\tif (bc < wc && bc + z <= wc) { // make all black\n\t\t\treturn (b + w) * bc + (w * z);\n\t\t} else if (wc < bc && wc + z <= bc) { // make all white\n\t\t\treturn (b + w) * wc + (b * z);\n\t\t} else {\n\t\t\treturn (b * bc) + (w * wc);\n\t\t}\n\t}", "title": "" }, { "docid": "8efbf7f5a9a795097a827b9bc792a0e6", "score": "0.47150925", "text": "long getTotalWeight();", "title": "" }, { "docid": "b5e1d0f52d21fccdf1801ab3e0db54dc", "score": "0.47138155", "text": "static int sum(int n){\n\tint sum=0;\n\tfor(int i=1;i<=n;i++)\n\t{ \n\t sum=sum + i;\n\t}\n\treturn sum;\n\t}", "title": "" } ]
9bf756ec44d7e1a3f926502a667bfb7e
This tests a URI with a "//" to ildicate the start of an authority, but said autority has a '' character. The '' character is illegal for authority so the authority should be blank.
[ { "docid": "24a5a49a8a374e71a49cf788abe52428", "score": "0.6533357", "text": "@Test\n public void testHashAuthority() {\n\t\tURIParser hashAuthorityParser = new URIParser();\n\t\tURI hashAuthority = hashAuthorityParser.parse(\"http://#www.cs.auckland.ac.nz://.:?a?//:##a?//:\");\n\t\tassertEquals(\"Incorrect scheme\", \"http\", hashAuthority.getScheme());\n\t\tassertEquals(\"Should be blank authority\", \"\", hashAuthority.getAuthority());\n\t\tassertEquals(\"Should be null path\", null, hashAuthority.getPath());\n\t\tassertEquals(\"Should be null query\", null, hashAuthority.getQuery());\n\t\tassertEquals(\"Incorrect fragment\", \"www.cs.auckland.ac.nz://.:?a?//:##a?//:\", hashAuthority.getFragment());\n }", "title": "" } ]
[ { "docid": "a8eb235bcb853201a1d46a77b5adc02f", "score": "0.7896467", "text": "@Test\n public void testOnlyAuthority() {\n\t\tURIParser authorityParser = new URIParser();\n\t\tURI authority = authorityParser.parse(\"//http\"); \n\t\tassertEquals(\"Scheme should be null\", null, authority.getScheme());\n\t\tassertEquals(\"Incorrect authority\", \"http\", authority.getAuthority());\n\t\tassertEquals(\"Path should be null\", null, authority.getPath());\n\t\tassertEquals(\"Query should be null\", null, authority.getQuery());\n\t\tassertEquals(\"Fragment should be null\", null, authority.getFragment());\n }", "title": "" }, { "docid": "bb9d2e419daa83f266c4ccd5c5de5a90", "score": "0.78371245", "text": "@Test\n\tpublic void testNoAuthority() {\n\t\tURIParser noAuthParser = new URIParser();\n\t\tURI noAuth = noAuthParser.parse(\"http:////.:?a?//:##a?//:\");\n\t\tassertEquals(\"Incorrect scheme\", \"http\", noAuth.getScheme());\n\t\tassertEquals(\"Should have blank authority\", \"\", noAuth.getAuthority());\n\t\tassertEquals(\"Incorrect path\", \"//.:\", noAuth.getPath());\n\t\tassertEquals(\"Incorrect query\",\"a?//:\", noAuth.getQuery());\n\t\tassertEquals(\"Incorrect fragment\", \"#a?//:\", noAuth.getFragment());\n\t}", "title": "" }, { "docid": "6e30e5eaf55508a5e81a45537a2dbfcf", "score": "0.7557442", "text": "@Test\n\tpublic void testNullAuthority() {\n\t\tURIParser nullAuthParser = new URIParser();\n\t\tURI nullAuth = nullAuthParser.parse(\"http:www.cs.auckland.ac.nz://.:?a?//:##a?//:\");\n\t\tassertEquals(\"Incorrect scheme\", \"http\", nullAuth.getScheme());\n\t\tassertEquals(\"Should have null authority\", null, nullAuth.getAuthority());\n\t\tassertEquals(\"Incorrect path\", \"www.cs.auckland.ac.nz://.:\", nullAuth.getPath());\n\t\tassertEquals(\"Incorrect query\", \"a?//:\", nullAuth.getQuery());\n\t\tassertEquals(\"Incorrect fragment\", \"#a?//:\", nullAuth.getFragment());\n\t}", "title": "" }, { "docid": "bccb44831f8a9017eee2637b80fd9ae9", "score": "0.7131503", "text": "@Test\n public void testQuestionAuthority() {\n\t\tURIParser questionAuthorityParser = new URIParser();\n\t\tURI questionAuthority = questionAuthorityParser.parse(\"http://?www.cs.auckland.ac.nz://.:?a?//:##a?//:\");\n\t\tassertEquals(\"Incorrect scheme\", \"http\", questionAuthority.getScheme());\n\t\tassertEquals(\"Should be blank authority\", \"\", questionAuthority.getAuthority());\n\t\tassertEquals(\"Should be null path\", null, questionAuthority.getPath());\n\t\tassertEquals(\"Incorrect query\", \"www.cs.auckland.ac.nz://.:?a?//:\", questionAuthority.getQuery());\n\t\tassertEquals(\"Incorrect fragment\", \"#a?//:\", questionAuthority.getFragment());\n }", "title": "" }, { "docid": "555523be651fb03ce1e839e71ee1a04e", "score": "0.7095095", "text": "@Test\n public void testAuthorityAndQuery() {\n\t\tURIParser authorityQueryParser = new URIParser();\n\t\tURI authorityQuery = authorityQueryParser.parse(\"//http:?www.cs.auckland.ac.nz://.:\");\n\t\tassertEquals(\"Should be null scheme\", null, authorityQuery.getScheme());\n\t\tassertEquals(\"Incorrect authority\", \"http:\", authorityQuery.getAuthority());\n\t\tassertEquals(\"Should be null path\", null, authorityQuery.getPath());\n\t\tassertEquals(\"Incorrect query\", \"www.cs.auckland.ac.nz://.:\", authorityQuery.getQuery());\n\t\tassertEquals(\"Should be null fragment\", null, authorityQuery.getFragment());\n }", "title": "" }, { "docid": "12ce63a28db57d69b1d5f2b4178afcf9", "score": "0.6961615", "text": "@Test\n public void testAuthorityAndFragment() {\n\t\tURIParser authorityFragmentParser = new URIParser();\n\t\tURI authorityFragment = authorityFragmentParser.parse(\"//http:#www.cs.auckland.ac.nz://.:\");\n\t\tassertEquals(\"Should be null scheme\", null, authorityFragment.getScheme());\n\t\tassertEquals(\"Incorrect authority\", \"http:\", authorityFragment.getAuthority());\n\t\tassertEquals(\"Should be null path\", null, authorityFragment.getPath());\n\t\tassertEquals(\"Should be null query\", null, authorityFragment.getQuery());\n\t\tassertEquals(\"Incorrect fragment\", \"www.cs.auckland.ac.nz://.:\", authorityFragment.getFragment());\n }", "title": "" }, { "docid": "238e51f8bf74970c29cefcfd290b219a", "score": "0.66926545", "text": "@Test\n\tpublic void testNoScheme() {\n\t\tURIParser noSchemeParser = new URIParser();\n\t\tURI noScheme = noSchemeParser.parse(\"://www.cs.auckland.ac.nz://.:?a?//:##a?//:\");\n\t\tassertEquals(\"Should have null scheme\", null, noScheme.getScheme());\n\t\tassertEquals(\"Should have null authority\", null, noScheme.getAuthority());\n\t\tassertEquals(\"Incorrect path\",\"://www.cs.auckland.ac.nz://.:\", noScheme.getPath());\n\t\tassertEquals(\"Incorrect query\",\"a?//:\", noScheme.getQuery());\n\t\tassertEquals(\"Incorrect fragment\", \"#a?//:\", noScheme.getFragment());\n\t}", "title": "" }, { "docid": "d8b45e258dd276542edc71d488ee135d", "score": "0.66151845", "text": "@Test\n public void testSlashScheme() {\n\t\tURIParser slashSchemeParser = new URIParser();\n\t\tURI slashScheme = slashSchemeParser.parse(\"/://www.cs.auckland.ac.nz://.:?a?//:##a?//:\");\n\t\tassertEquals(\"Should be null scheme\", null, slashScheme.getScheme());\n\t\tassertEquals(\"Should be null authority\", null, slashScheme.getAuthority());\n\t\tassertEquals(\"Incorrect path\", \"/://www.cs.auckland.ac.nz://.:\", slashScheme.getPath());\n\t\tassertEquals(\"Incorrect query\", \"a?//:\", slashScheme.getQuery());\n\t\tassertEquals(\"Incorrect fragment\", \"#a?//:\", slashScheme.getFragment());\n }", "title": "" }, { "docid": "89a08b34fa76b4c380f2e665269a9e5e", "score": "0.6562774", "text": "@Test\n public void testURL() {\n\t\tURIParser URLParser = new URIParser();\n\t\tURI URL = URLParser.parse(\"http://www.cs.auckland.ac.nz://.:?a?//:##a?//:\");\n\t\tassertEquals(\"Incorrect scheme\", \"http\", URL.getScheme());\n\t\t//Special character ':'\n\t\tassertEquals(\"Incorrect authority\", \"www.cs.auckland.ac.nz:\", URL.getAuthority());\n\t\t//Special characters '//',':'\n\t\tassertEquals(\"Incorrect path\", \"//.:\", URL.getPath());\n\t\t//Special characters '//',':','?' \n\t\tassertEquals(\"Incorrect query\", \"a?//:\", URL.getQuery());\n\t\t//Special characters '//',':','?','#'\n\t\tassertEquals(\"Incorrect fragment\", \"#a?//:\", URL.getFragment());\n }", "title": "" }, { "docid": "667857db7c81a54026e2fe80340650d7", "score": "0.6505645", "text": "@Test\n public void testOnlyScheme() {\n\t\tURIParser schemeParser = new URIParser();\n\t\tURI scheme = schemeParser.parse(\"http:\");\n\t\tassertEquals(\"Incorrect scheme\", \"http\", scheme.getScheme());\n\t\tassertEquals(\"Authority should be null\", null, scheme.getAuthority());\n\t\tassertEquals(\"Path should be null\", null, scheme.getPath());\n\t\tassertEquals(\"Query should be null\", null, scheme.getQuery());\n\t\tassertEquals(\"Fragment should be null\", null, scheme.getFragment());\n }", "title": "" }, { "docid": "b093ee392a7278a8a1215281c3c8bf07", "score": "0.64322317", "text": "@Test\n\tpublic void testAllCharURI() {\n\t\tURIParser parser = new URIParser();\n\t\ttry {\n\t\t\tURI allChar = parser.parse(\"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$-_.+!*'(),;/?:@&=%#\");\n\t\t} catch (ParseException e) {\n\t\t\tfail(\"Did not parse legal URI\");\n\t\t}\n\t}", "title": "" }, { "docid": "e61267387d1c8efd7a51f57cc78ebbe2", "score": "0.64303476", "text": "@Test\n\tpublic void testNullPath() {\n\t\tURIParser nullPathParser = new URIParser();\n\t\tURI nullPath = nullPathParser.parse(\"http://www.cs.auckland.ac.nz:?a?//:##a?//:\");\n\t\tassertEquals(\"Incorrect scheme\", \"http\", nullPath.getScheme());\n\t\tassertEquals(\"Incorrect authority\", \"www.cs.auckland.ac.nz:\", nullPath.getAuthority());\n\t\tassertEquals(\"Should have null path\", null, nullPath.getPath());\n\t\tassertEquals(\"Incorrect query\", \"a?//:\", nullPath.getQuery());\n\t\tassertEquals(\"Incorrect fragment\", \"#a?//:\", nullPath.getFragment());\n\t}", "title": "" }, { "docid": "79f85ca9f1f41aca85cc7c2f7c5a3b6e", "score": "0.642925", "text": "@Test\n\tpublic void testBlankURI() {\n\t\tURIParser blankParser = new URIParser();\n\t\tURI blankURI = blankParser.parse(\"\");\n\t\tassertEquals(\"Should have null scheme\", null, blankURI.getScheme());\n\t\tassertEquals(\"Should have null authority\", null, blankURI.getAuthority());\n\t\tassertEquals(\"Should have null path\", null, blankURI.getPath());\n\t\tassertEquals(\"Should have null query\", null, blankURI.getQuery());\n\t\tassertEquals(\"Should have null fragment\", null, blankURI.getFragment());\n\t}", "title": "" }, { "docid": "054fd7ce4d477fceb2f228e57565a2e0", "score": "0.6427306", "text": "@Test\n public void testOnlyPath() {\n\t\tURIParser pathParser = new URIParser();\n\t\tURI path = pathParser.parse(\"http\");\n\t\tassertEquals(\"Scheme should be null\", null, path.getScheme());\n\t\tassertEquals(\"Authority should be null\", null, path.getAuthority());\n\t\tassertEquals(\"Incorrect path\", \"http\", path.getPath());\n\t\tassertEquals(\"Query should be null\", null, path.getQuery());\n\t\tassertEquals(\"Fragment should be null\", null, path.getFragment());\n }", "title": "" }, { "docid": "6447fa75e0684de0ec4affa6d6af9dc8", "score": "0.6413", "text": "@Test\n\tpublic void testNullScheme() {\n\t\tURIParser nullSchemeParser = new URIParser();\n\t\tURI nullScheme = nullSchemeParser.parse(\"//www.cs.auckland.ac.nz://.:?a?//:##a?//:\");\n\t\tassertEquals(\"Should have null scheme\", null, nullScheme.getScheme());\n\t\tassertEquals(\"Incorrect authority\", \"www.cs.auckland.ac.nz:\", nullScheme.getAuthority());\n\t\tassertEquals(\"Incorrect path\", \"//.:\", nullScheme.getPath());\n\t\tassertEquals(\"Incorrect query\", \"a?//:\", nullScheme.getQuery());\n\t\tassertEquals(\"Incorrect fragment\", \"#a?//:\", nullScheme.getFragment());\n\t}", "title": "" }, { "docid": "858536fdfc5a7a01d81edf062e331c5d", "score": "0.6176148", "text": "@Test\n\tpublic void testJustSlash() {\n\t\tURIParser slashParser = new URIParser();\n\t\tURI slash = slashParser.parse(\"/\");\n\t\tassertEquals(\"Should be null scheme\", null, slash.getScheme());\n\t\tassertEquals(\"Should be null authority\", null, slash.getAuthority());\n\t\tassertEquals(\"Incorrect path\", \"/\", slash.getPath());\n\t\tassertEquals(\"Should be null query\", null, slash.getQuery());\n\t\tassertEquals(\"Should be null fragment\", null, slash.getFragment());\n\t}", "title": "" }, { "docid": "05910eed878b4c27bad88ce1e6f5174d", "score": "0.6148143", "text": "@Test\n public void testQuestionScheme() {\n\t\tURIParser questionSchemeParser = new URIParser();\n\t\tURI questionScheme = questionSchemeParser.parse(\"?://www.cs.auckland.ac.nz://.:?a?//:##a?//:\");\n\t\tassertEquals(\"Should be null scheme\", null, questionScheme.getScheme());\n\t\tassertEquals(\"Should be null authority\", null, questionScheme.getAuthority());\n\t\tassertEquals(\"Should be null path\", null, questionScheme.getPath());\n\t\tassertEquals(\"Incorrect query\", \"://www.cs.auckland.ac.nz://.:?a?//:\", questionScheme.getQuery());\n\t\tassertEquals(\"Incorrect fragment\", \"#a?//:\", questionScheme.getFragment());\n }", "title": "" }, { "docid": "1a641ddb37b5dc76ff3929511a46bf56", "score": "0.61460364", "text": "@Test\n\tpublic void testDoubleSlash() {\n\t\tURIParser doubleSlashParser = new URIParser();\n\t\tURI doubleSlash = doubleSlashParser.parse(\"//\");\n\t\tassertEquals(\"Should be null scheme\", null, doubleSlash.getScheme());\n\t\tassertEquals(\"Incorrect authority\", \"\", doubleSlash.getAuthority());\n\t\tassertEquals(\"Should be null path\", null, doubleSlash.getPath());\n\t\tassertEquals(\"Should be null query\", null, doubleSlash.getQuery());\n\t\tassertEquals(\"Should be null fragment\", null, doubleSlash.getFragment());\n\t}", "title": "" }, { "docid": "52a1d4709c9d15cbb2f0c3afc8eae0df", "score": "0.6044875", "text": "public String getAuthority() {\n final String part = isRelative() ? getRelativePart()\n : getSchemeSpecificPart();\n\n if ((part != null) && part.startsWith(\"//\")) {\n int index = part.indexOf('/', 2);\n\n if (index != -1) {\n return part.substring(2, index);\n }\n\n index = part.indexOf('?');\n if (index != -1) {\n return part.substring(2, index);\n }\n\n return part.substring(2);\n\n }\n\n return null;\n }", "title": "" }, { "docid": "7b734cff11f67e30c3871558ac3028b0", "score": "0.60385525", "text": "boolean hasArianeUri();", "title": "" }, { "docid": "15aaa738e9b4f4b4a9ba9cfdb3747f1f", "score": "0.6016273", "text": "boolean preparePath(String uri, String authString) throws IOException;", "title": "" }, { "docid": "44e15c2b472c0d39a3756f4d2378de0a", "score": "0.5946443", "text": "@Test\n public void testSchemeAndQuery() {\n\t\tURIParser schemeQueryParser = new URIParser();\n\t\tURI schemeQuery = schemeQueryParser.parse(\"http:?www.cs.auckland.ac.nz://.:\");\n\t\tassertEquals(\"Incorrect scheme\", \"http\", schemeQuery.getScheme());\n\t\tassertEquals(\"Should be null authority\", null, schemeQuery.getAuthority());\n\t\tassertEquals(\"Should be null path\", null, schemeQuery.getPath());\n\t\tassertEquals(\"Incorrect query\", \"www.cs.auckland.ac.nz://.:\", schemeQuery.getQuery());\n\t\tassertEquals(\"Should be null fragment\", null, schemeQuery.getFragment());\n }", "title": "" }, { "docid": "d9df8002de57ac284524b68445b00655", "score": "0.5939324", "text": "public boolean isValidURI(CharSequence value) {\r\n\r\n String sv = value.toString();\r\n\r\n // Allow zero-length strings (RFC2396 is ambivalent on this point)\r\n if (sv.length() == 0) {\r\n return true;\r\n }\r\n\r\n // Allow a string if the java.net.URI class accepts it\r\n try {\r\n new URI(sv);\r\n return true;\r\n } catch (URI.URISyntaxException e) {\r\n // keep trying\r\n // Note: it's expensive to throw exceptions on a success path, so we keep a cache.\r\n }\r\n\r\n // Allow a string if it can be escaped into a form that java.net.URI accepts\r\n sv = EscapeURI.iriToUri(sv).toString();\r\n try {\r\n new URI(sv);\r\n return true;\r\n } catch (URI.URISyntaxException e) {\r\n return false;\r\n }\r\n }", "title": "" }, { "docid": "32497271f92a8ee4b53ce98b6dc7f7a5", "score": "0.59180987", "text": "@Test public void testAnyURI() throws XQException {\n atomicTest(\"xs:anyURI('http://a/b/c')\", \"http://a/b/c\", XQBASETYPE_ANYURI);\n }", "title": "" }, { "docid": "f12aebd37774f097758517ba45c40706", "score": "0.58727336", "text": "@Test\n public void testOnlyQuery() {\n\t\tURIParser queryParser = new URIParser();\n\t\tURI query = queryParser.parse(\"?http\");\n\t\tassertEquals(\"Scheme should be null\", null, query.getScheme());\n\t\tassertEquals(\"Authority should be null\", null, query.getAuthority());\n\t\tassertEquals(\"Path should be null\", null, query.getPath());\n\t\tassertEquals(\"Incorrect query\", \"http\", query.getQuery());\n\t\tassertEquals(\"Fragment should be null\", null, query.getFragment());\n }", "title": "" }, { "docid": "68a4f43dd9008a8e2946086759b83a7b", "score": "0.5846862", "text": "@Test\n public void testSchemeAndFragment() {\n\t\tURIParser schemeFragmentParser = new URIParser();\n\t\tURI schemeFragment = schemeFragmentParser.parse(\"http:#www.cs.auckland.ac.nz://.:\");\n\t\tassertEquals(\"Incorrect scheme\", \"http\", schemeFragment.getScheme());\n\t\tassertEquals(\"Should be null authority\", null, schemeFragment.getAuthority());\n\t\tassertEquals(\"Should be null path\", null, schemeFragment.getPath());\n\t\tassertEquals(\"Should be null query\", null, schemeFragment.getQuery());\n\t\tassertEquals(\"Incorrect fragment\", \"www.cs.auckland.ac.nz://.:\", schemeFragment.getFragment());\n }", "title": "" }, { "docid": "6d1b3d933ae30dec61f692d8baf7f073", "score": "0.57851386", "text": "@Test\n\tpublic void testNullQuery() {\n\t\tURIParser nullQueryParser = new URIParser();\n\t\tURI nullQuery = nullQueryParser.parse(\"http://www.cs.auckland.ac.nz://.:##a?//:\");\n\t\tassertEquals(\"Incorrect scheme\", \"http\", nullQuery.getScheme());\n\t\tassertEquals(\"Incorrect authority\", \"www.cs.auckland.ac.nz:\", nullQuery.getAuthority());\n\t\tassertEquals(\"Incorrect path\", \"//.:\", nullQuery.getPath());\n\t\tassertEquals(\"Should have null query\", null, nullQuery.getQuery());\n\t\tassertEquals(\"Incorrect fragment\", \"#a?//:\", nullQuery.getFragment());\n\t}", "title": "" }, { "docid": "472949de2a3ea63d7c1c8b48256e6150", "score": "0.5769186", "text": "@Test\n\tpublic void testNoQuery() {\n\t\tURIParser noQueryParser = new URIParser();\n\t\tURI noQuery = noQueryParser.parse(\"http://www.cs.auckland.ac.nz://.:?##a?//:\");\n\t\tassertEquals(\"Incorrect scheme\", \"http\", noQuery.getScheme());\n\t\tassertEquals(\"Incorrect authority\", \"www.cs.auckland.ac.nz:\", noQuery.getAuthority());\n\t\tassertEquals(\"Incorrect path\", \"//.:\", noQuery.getPath());\n\t\tassertEquals(\"Should have blank query\", \"\", noQuery.getQuery());\n\t\tassertEquals(\"Incorrect fragment\", \"#a?//:\", noQuery.getFragment());\n\t}", "title": "" }, { "docid": "bc67780bb413327db0279b7913574ea6", "score": "0.5754004", "text": "private static boolean isValidUri(String string) {\r\n\t\treturn (string != null);\r\n\t}", "title": "" }, { "docid": "9c131b82377a4ea738ac547dc51f9b4c", "score": "0.568745", "text": "@Test\n\tpublic void testNoFragment() {\n\t\tURIParser noFragmentParser = new URIParser();\n\t\tURI noFragment = noFragmentParser.parse(\"http://www.cs.auckland.ac.nz://.:?a?//:#\");\n\t\tassertEquals(\"Incorrect scheme\", \"http\", noFragment.getScheme());\n\t\tassertEquals(\"Incorrect authority\", \"www.cs.auckland.ac.nz:\", noFragment.getAuthority());\n\t\tassertEquals(\"Incorrect path\", \"//.:\", noFragment.getPath());\n\t\tassertEquals(\"Incorrect query\", \"a?//:\", noFragment.getQuery());\n\t\tassertEquals(\"Should have blank\tfragment\", \"\", noFragment.getFragment());\n\t}", "title": "" }, { "docid": "b7010203becc8188a95220057b8ceb46", "score": "0.5686965", "text": "private static String m4493a(String str) {\n if (TextUtils.isEmpty(str)) {\n return str;\n }\n Uri parse = Uri.parse(str);\n return \"http\".equals(parse.getScheme()) ? parse.buildUpon().scheme(UriUtil.HTTPS_SCHEME).build().toString() : str;\n }", "title": "" }, { "docid": "d01557be27e3e308d2e944910379c6e6", "score": "0.56857455", "text": "@Test\n\tpublic void testNullURI() {\n\t\tURIParser parser = new URIParser();\n\t\ttry {\n\t\t\tURI nullURL = parser.parse(null);\n\t\t\tfail(\"Exception not thrown\");\n\t\t} catch (ParseException e) {\n\t\t}\n\t}", "title": "" }, { "docid": "910fbc408a7a6b57d8204ecf9ef4cf7a", "score": "0.5685651", "text": "@Test\n\tpublic void testJustQuestion() {\n\t\tURIParser questionParser = new URIParser();\n\t\tURI question = questionParser.parse(\"?\");\n\t\tassertEquals(\"Should be null scheme\", null, question.getScheme());\n\t\tassertEquals(\"Should be null authority\", null, question.getAuthority());\n\t\tassertEquals(\"Incorrect path\", null, question.getPath());\n\t\tassertEquals(\"Should be blank query\", \"\", question.getQuery());\n\t\tassertEquals(\"Should be null fragment\", null, question.getFragment());\n\t}", "title": "" }, { "docid": "e960542aad619d7e6070d32028c8fccf", "score": "0.568028", "text": "@Test\n\tpublic void testDoubleColon() {\n\t\tURIParser doubleColonParser = new URIParser();\n\t\tURI doubleColon = doubleColonParser.parse(\"::\");\n\t\tassertEquals(\"Should be null scheme\", null, doubleColon.getScheme());\n\t\tassertEquals(\"Should be null authority\", null, doubleColon.getAuthority());\n\t\tassertEquals(\"Incorrect path\", \"::\", doubleColon.getPath());\n\t\tassertEquals(\"Should be null query\", null, doubleColon.getQuery());\n\t\tassertEquals(\"Should be null fragment\", null, doubleColon.getFragment());\n\t}", "title": "" }, { "docid": "f744be53ebe03d0daed22f96d5b65672", "score": "0.5676747", "text": "private static URI basedURI(URI baseURI, URI uri) {\n if (uri.getScheme() != null) {\n return uri;\n }\n String str = uri.toString();\n if (str.startsWith(\"/\")) {\n str = str.substring(1);\n }\n return URI.create(baseURI.toString() + str).normalize();\n }", "title": "" }, { "docid": "85de0f363cd056041bd219e5364984bc", "score": "0.56451464", "text": "java.lang.String getArianeUri();", "title": "" }, { "docid": "91931e9ed9504f9d60aa9229bb2d1010", "score": "0.56387013", "text": "private static String fixURI(String str) {\n\n // handle platform dependent strings\n str = str.replace(java.io.File.separatorChar, '/');\n\n // Windows fix\n if (str.length() >= 2) {\n char ch1 = str.charAt(1);\n if (ch1 == ':') {\n char ch0 = Character.toUpperCase(str.charAt(0));\n if (ch0 >= 'A' && ch0 <= 'Z') {\n str = \"/\" + str;\n }\n }\n }\n\n // done\n return str;\n }", "title": "" }, { "docid": "fd94af0fcbf26ab5993595180cb1b309", "score": "0.5595591", "text": "@Test\n public void testHashScheme() {\n\t\tURIParser hashSchemeParser = new URIParser();\n\t\tURI hashScheme = hashSchemeParser.parse(\"#://www.cs.auckland.ac.nz://.:?a?//:##a?//:\");\n\t\tassertEquals(\"Should be null scheme\", null, hashScheme.getScheme());\n\t\tassertEquals(\"Should be null authority\", null, hashScheme.getAuthority());\n\t\tassertEquals(\"Should be null path\", null, hashScheme.getPath());\n\t\tassertEquals(\"Should be null query\", null, hashScheme.getQuery());\n\t\tassertEquals(\"Incorrect fragment\", \"://www.cs.auckland.ac.nz://.:?a?//:##a?//:\", hashScheme.getFragment());\n }", "title": "" }, { "docid": "11b5a28888034a540130acaaf96d1855", "score": "0.55699337", "text": "@Test\n public void testStartsWithHttp() {\n System.out.println(\"startsWithHttp\");\n assertEquals(true, HttpUtil.startsWithHttp(\"http://\"));\n assertEquals(true, HttpUtil.startsWithHttp(\"https://\"));\n assertEquals(false, HttpUtil.startsWithHttp(\"shttp://\"));\n assertEquals(false, HttpUtil.startsWithHttp(\"httpx://\"));\n }", "title": "" }, { "docid": "3eec0b89325809d3c0fac66f32cb4c5c", "score": "0.5565778", "text": "@Test\n public void testFromUriString() throws Exception {\n String uri = \"https://www.google.es\";\n UriBuilder uriBuilder = UriBuilder.fromUriString(uri);\n assertNotNull(uriBuilder);\n }", "title": "" }, { "docid": "b7797e05d0bef7867880f338ce90dbec", "score": "0.556459", "text": "@Test\n\tpublic void testNullFragment() {\n\t\tURIParser nullFragmentParser = new URIParser();\n\t\tURI nullFragment = nullFragmentParser.parse(\"http://www.cs.auckland.ac.nz://.:?a?//:\");\n\t\tassertEquals(\"Incorrect scheme\", \"http\", nullFragment.getScheme());\n\t\tassertEquals(\"Incorrect authority\", \"www.cs.auckland.ac.nz:\", nullFragment.getAuthority());\n\t\tassertEquals(\"Incorrect path\", \"//.:\", nullFragment.getPath());\n\t\tassertEquals(\"Incorrect query\", \"a?//:\", nullFragment.getQuery());\n\t\tassertEquals(\"Should have null fragment\", null, nullFragment.getFragment());\n\t}", "title": "" }, { "docid": "d02c88357f4a4686eca6034ec37b65f7", "score": "0.5561677", "text": "public void setAuthority(String authority) {\n final String oldPart = isRelative() ? getRelativePart()\n : getSchemeSpecificPart();\n String newPart;\n final String newAuthority = (authority == null) ? \"\" : \"//\" + authority;\n\n if (oldPart == null) {\n newPart = newAuthority;\n } else if (oldPart.startsWith(\"//\")) {\n int index = oldPart.indexOf('/', 2);\n\n if (index != -1) {\n newPart = newAuthority + oldPart.substring(index);\n } else {\n index = oldPart.indexOf('?');\n if (index != -1) {\n newPart = newAuthority + oldPart.substring(index);\n } else {\n newPart = newAuthority;\n }\n }\n } else {\n newPart = newAuthority + oldPart;\n }\n\n if (isAbsolute()) {\n setSchemeSpecificPart(newPart);\n } else {\n setRelativePart(newPart);\n }\n }", "title": "" }, { "docid": "7d72309f58abab9f05bec18e4e575c99", "score": "0.5540209", "text": "public boolean isValidPrefix(String uri){\n\t\treturn (isFromFile(uri) || isFromRemote(uri) || isFromSecureRemote(uri) || isFromClasspath(uri));\n\t}", "title": "" }, { "docid": "da336afa599af4cabfb38ceb3df999c3", "score": "0.55402076", "text": "@DSModeled(DSC.SAFE)\n\tpublic String getEncodedAuthority() {\n\t\treturn uriString;\n\t}", "title": "" }, { "docid": "ac65b3626ca977e0b66adfa9b8cb1310", "score": "0.55384207", "text": "@Test\n public void testFromUri() {\n URI uri = URI.create(\"https://www.google.es\");\n UriBuilder uriBuilder = UriBuilder.fromUri(uri);\n assertNotNull(uriBuilder);\n }", "title": "" }, { "docid": "dee33a055e63d15b31fc9540a307c430", "score": "0.55218583", "text": "protected String getAuthorityResourceUri() {\n String authorityResourceUri = null;\n Property bfHasAuthorityProperty = \n recordModel.getOntProperty(BF_HAS_AUTHORITY_URI);\n if (baseIndividual.hasProperty(bfHasAuthorityProperty)) {\n Resource authorityResource = baseIndividual.\n getPropertyResourceValue(bfHasAuthorityProperty);\n \n // TODO Should this be limited to external URIs, or should we \n // include internal ones as well? Seems like the latter.\n authorityResourceUri = authorityResource.getURI();\n }\n return authorityResourceUri;\n }", "title": "" }, { "docid": "f927680ab8e584a1e939d5b32e7b045c", "score": "0.5503685", "text": "public boolean isOpaque() {\n return isAbsolute() && (getSchemeSpecificPart().charAt(0) != '/');\n }", "title": "" }, { "docid": "703611980286367dbdbf65d09e185fe8", "score": "0.54853255", "text": "private static String ottimizzaUri(URI uri){\n String uriFinale = uri.toString();\n if(uriFinale.length()>48)\n uriFinale = uriFinale.substring(0,47) + \"...\";\n\n return uriFinale;\n }", "title": "" }, { "docid": "8e162cb3d42354596d2f79f3da2d91e2", "score": "0.54752785", "text": "String getAuthority();", "title": "" }, { "docid": "f110d5b67ea55a123d913f9d9203eda8", "score": "0.54401135", "text": "public static void main(String[] args) {\r\n try {\r\n URI uri = new URI(\"http://username:[email protected]:5000/catalogue/phones?os=android#samsung\");\r\n URI baseUri = new URI(\"http://username:[email protected]:5000\");\r\n URI relativeUri = new URI(\"/catalogue/phones?os=android#samsung\");\r\n URI resolvedUri = baseUri.resolve(relativeUri);\r\n System.out.println(\"Scheme = \" + uri.getScheme());\r\n System.out.println(\"Authority = \" + uri.getAuthority());\r\n System.out.println(\"Host = \" + uri.getHost());\r\n System.out.println(\"Path = \" + uri.getPath());\r\n System.out.println(\"Fragment = \" + uri.getFragment());\r\n\r\n URL url = uri.toURL();\r\n System.out.println(\"URL = \" + url);\r\n\r\n URL url1 = resolvedUri.toURL();\r\n// System.out.println(\"URL = \" + url1);\r\n } catch (URISyntaxException e) {\r\n System.out.println(\"URI Bad Syntax : \" + e.getMessage());\r\n } catch (MalformedURLException e) {\r\n System.out.println(e.getMessage());\r\n }\r\n }", "title": "" }, { "docid": "ca5798152255d221b57dfd2be5aa96d8", "score": "0.5412297", "text": "private static boolean m141747a(Context context, String str) {\n if (TextUtils.isEmpty(str) || !str.startsWith(\"https://\")) {\n return false;\n }\n try {\n if (C12925a.m37625a(context).mo24814d(URI.create(str).getHost()) != null) {\n return true;\n }\n return false;\n } catch (Exception unused) {\n return false;\n }\n }", "title": "" }, { "docid": "22cf7c5f5d9aaab63dbaea9480c1c7d3", "score": "0.54118407", "text": "@Test\n\tpublic void testQuadSlash() {\n\t\tURIParser quadSlashParser = new URIParser();\n\t\tURI quadSlash = quadSlashParser.parse(\"////\");\n\t\tassertEquals(\"Should be null scheme\", null, quadSlash.getScheme());\n\t\tassertEquals(\"Should be blank authority\", \"\", quadSlash.getAuthority());\n\t\tassertEquals(\"Incorrect path\", \"//\", quadSlash.getPath());\n\t\tassertEquals(\"Should be null query\", null, quadSlash.getQuery());\n\t\tassertEquals(\"Should be null fragment\", null, quadSlash.getFragment());\n\t}", "title": "" }, { "docid": "e1b318c551ac0ed85c2d41cdb123e80e", "score": "0.5395175", "text": "String aadAuthority();", "title": "" }, { "docid": "0a9b350ca48f8606b963ec5b92ae8a73", "score": "0.5384681", "text": "private void uriTest(final String query, final String expectedURI) throws XQException {\n final XQResultSequence rs = xqc.createExpression().executeQuery(query);\n assertTrue(rs.next());\n\n final URI uri = rs.getNodeUri();\n assertNotNull(uri);\n assertEquals(expectedURI, uri.toString());\n }", "title": "" }, { "docid": "ca1fa2556c8cd921f94fcae352e981f6", "score": "0.538301", "text": "boolean hasUri();", "title": "" }, { "docid": "ca1fa2556c8cd921f94fcae352e981f6", "score": "0.5381364", "text": "boolean hasUri();", "title": "" }, { "docid": "6c38ffb5c61f2b44926670afa6019f0f", "score": "0.53078663", "text": "private Uri buildUri(String scheme, String authority) {\n Uri.Builder uriBuilder = new Uri.Builder();\n uriBuilder.authority(authority);\n uriBuilder.scheme(scheme);\n return uriBuilder.build();\n }", "title": "" }, { "docid": "578618b8baa381b3c7faf57a8a867e08", "score": "0.5298924", "text": "@Test(timeout = 4000)\n public void test41() throws Throwable {\n SAXReader sAXReader0 = new SAXReader(true);\n sAXReader0.getDocumentFactory();\n String string0 = \"2.0\";\n sAXReader0.getDocumentFactory();\n sAXReader0.getEncoding();\n sAXReader0.getDispatchHandler();\n sAXReader0.getXMLReader();\n String string1 = \"43VE#\";\n // Undeclared exception!\n try { \n MockURI.create(\"//tmp/tmp/tmp/tmp/http:/xml.org/sax/properties/lexical-handler0http:/xml.org/sax/properties/lexical-handler0>03G~k0'V1t*hzG<EFTth(I=d0-QO?G>Vu@a0sY`./HD]\");\n fail(\"Expecting exception: IllegalArgumentException\");\n \n } catch(IllegalArgumentException e) {\n //\n // Illegal character in path at index 108: //tmp/tmp/tmp/tmp/http:/xml.org/sax/properties/lexical-handler0http:/xml.org/sax/properties/lexical-handler0>03G~k0'V1t*hzG<EFTth(I=d0-QO?G>Vu@a0sY`./HD]\n //\n verifyException(\"java.net.URI\", e);\n }\n }", "title": "" }, { "docid": "796e245d36459eaa3e94253fac45c7ee", "score": "0.5298351", "text": "@Test\n\tpublic void testJustHash() {\n\t\tURIParser hashParser = new URIParser();\n\t\tURI hash = hashParser.parse(\"#\");\n\t\tassertEquals(\"Should be null scheme\", null, hash.getScheme());\n\t\tassertEquals(\"Should be null authority\", null, hash.getAuthority());\n\t\tassertEquals(\"Should be null path\", null, hash.getPath());\n\t\tassertEquals(\"Should be null query\", null, hash.getQuery());\n\t\tassertEquals(\"Should be blank fragment\", \"\", hash.getFragment());\n\t}", "title": "" }, { "docid": "35930ec29639fe5787da08de87ba61c8", "score": "0.52690506", "text": "@Test\n public void testNormalizeURL() {\n System.out.println(\"normalizeURL\");\n assertEquals(\"http://example.com/\", HttpUtil.normalizeURL(\"http://example.com:80/\"));\n assertEquals(\"http://example.com:8080/\", HttpUtil.normalizeURL(\"http://example.com:8080/\"));\n assertEquals(\"https://example.com:4438/\", HttpUtil.normalizeURL(\"https://example.com:4438/\"));\n assertEquals(\"https://example.com/\", HttpUtil.normalizeURL(\"https://example.com:443/\"));\n assertEquals(\"http://example.com/xxx\", HttpUtil.normalizeURL(\"http://example.com:80/xxx\"));\n assertEquals(\"https://example.com/xxx\", HttpUtil.normalizeURL(\"https://example.com:443/xxx\"));\n assertEquals(\"https://example.com:8443/xxx\", HttpUtil.normalizeURL(\"https://example.com:8443/xxx\"));\n assertEquals(\"https://example.com/xxx\", HttpUtil.normalizeURL(\"https://example.com:443/xxx\"));\n }", "title": "" }, { "docid": "6f516f95f4f3a4994da779f3f9111e78", "score": "0.5255803", "text": "protected void init(final String uriString) throws URISyntaxException {\n if (uriString == null) {\n throw new URISyntaxException(\"<NULL>\", \"URI String can not be null\");\n }\n\n URISyntaxException ex;\n\n // java.net.URI parsing is borken\n int index = uriString.indexOf(':');\n\n String sspStr = null;\n\n if (index >= 0) {\n sspStr = uriString.substring(index + 1, uriString.length());\n }\n\n if (sspStr != null) {\n // Parse: \"scheme:\", \"scheme:/\" \"scheme://\". Triple slash is parsed as empty authority URI\n if (StringUtil.isEmpty(sspStr) || StringUtil.equals(sspStr, \"/\") || StringUtil.equals(sspStr, \"//\")) {\n // create scheme only URI\n this.scheme = uriString.substring(0, index);\n\n if (\"/\".equals(sspStr)) {\n this.pathOrReference = \"/\";\n }\n // check scheme://\n return;\n }\n }\n\n try {\n URI uri = new URI(uriString);\n // use URI initializer: contains patches for URI parsing ! (better\n // use initializors!)\n init(uri);\n return;\n } catch (URISyntaxException e1) {\n ex = e1;\n // Be Flexible: could be not encoded string: try to encode it first\n // There is no way to detect whether the string is encoded if it\n // contains a valid '%'.\n try {\n // Try to encode the String.\n\n URI uri = new URI(encodePath(uriString));\n init(uri); // use URI initializer\n return;\n } catch (URISyntaxException e2) {\n ex = e2;\n }\n }\n\n throw ex;\n }", "title": "" }, { "docid": "fc12f4b3bdaa124b734b6429f2b2cc37", "score": "0.52519506", "text": "public void testGetURI()\n { ServerDetails server = new ServerDetails(\"alpha\", 40,\n \"http://www.somewhere.ac.uk/alpha\", \"/home/alpha\");\n\n Assert.assertEquals(server.getURI(), \n \"http://www.somewhere.ac.uk/alpha\");\n }", "title": "" }, { "docid": "ff5dcf1af703445737324f8496e21505", "score": "0.5244407", "text": "private void baseURIDecl() throws QueryException {\n if(!decl.add(BASE_URI)) throw error(DUPLBASE);\n sc.baseURI(string(stringLiteral()));\n }", "title": "" }, { "docid": "fd2dc186ab2d6c8aabb74fb31db86bc7", "score": "0.52437645", "text": "public Authority(final String authority) {\n this.authority = authority;\n }", "title": "" }, { "docid": "a62d6d7e2ac92fb136dc2e793288af5e", "score": "0.52352524", "text": "public boolean isHttpUri(String uri) {\n boolean result = false;\n if (uri != null) {\n String normalizedUri = normalizeUri(uri);\n if (normalizedUri != null) {\n result = getFileScheme(uri) == null;\n }\n }\n return result;\n }", "title": "" }, { "docid": "662b734d64d7172d8695de01499ac7ec", "score": "0.5232099", "text": "private String decodeAndCleanUriString(HttpServletRequest request, String uri) {\n\t\turi = removeSemicolonContent(uri);\n\t\turi = decodeRequestString(request, uri);\n\t\turi = getSanitizedPath(uri);\n\t\treturn uri;\n\t}", "title": "" }, { "docid": "63ea21ee89b4eb2e453c75c6c2772bc3", "score": "0.52286583", "text": "public abstract String getRealURI();", "title": "" }, { "docid": "b9841cdf639dd574413b8026a26c85f9", "score": "0.5221105", "text": "@Test public void testAttributeURI() throws XQException {\n final XQResultSequence rs = xqc.createExpression().executeQuery(\n \"attribute { fn:QName('http://a/b/c', 'a:b') } { 'AAA' }\"\n );\n\n rs.next();\n final XQItemType type = rs.getItemType();\n assertEquals(\"http://a/b/c\", rs.getNodeUri().toString());\n assertEquals(\"a\", type.getNodeName().getPrefix());\n assertEquals(\"b\", type.getNodeName().getLocalPart());\n }", "title": "" }, { "docid": "fc63adc9f166fb2d3ce17778b7aed25d", "score": "0.519798", "text": "@Test\n\tpublic void testDoubleQuestion() {\n\t\tURIParser doubleQuestionParser = new URIParser();\n\t\tURI doubleQuestion = doubleQuestionParser.parse(\"??\");\n\t\tassertEquals(\"Should be null scheme\", null, doubleQuestion.getScheme());\n\t\tassertEquals(\"Should be null authority\", null, doubleQuestion.getAuthority());\n\t\tassertEquals(\"Should be null path\", null, doubleQuestion.getPath());\n\t\tassertEquals(\"Incorrect query\", \"?\", doubleQuestion.getQuery());\n\t\tassertEquals(\"Should be null fragment\", null, doubleQuestion.getFragment());\n\t}", "title": "" }, { "docid": "75373e2af8aa45131ad2a62ff0a0e690", "score": "0.5174273", "text": "String getURI();", "title": "" }, { "docid": "75373e2af8aa45131ad2a62ff0a0e690", "score": "0.5174273", "text": "String getURI();", "title": "" }, { "docid": "a51248d219fa3b60394bcf551b0e14ca", "score": "0.51679105", "text": "private String encodeUri(String uri) {\n String newUri = \"\";\n StringTokenizer st = new StringTokenizer(uri, \"/ \", true);\n while (st.hasMoreTokens()) {\n String tok = st.nextToken();\n if (tok.equals(\"/\"))\n newUri += \"/\";\n else if (tok.equals(\" \"))\n newUri += \"%20\";\n else {\n try {\n newUri += URLEncoder.encode(tok, \"UTF-8\");\n } catch (UnsupportedEncodingException ignored) {\n }\n }\n }\n return newUri;\n }", "title": "" }, { "docid": "0eaf3fdb959b301c2e5f1b5a5ea3737f", "score": "0.5164183", "text": "public boolean isValidUri(String string) {\n return normalizeUri(string) != null;\n }", "title": "" }, { "docid": "13349b0395732ca51d87be756d418ab5", "score": "0.5160564", "text": "@Test\n public void testBaseName() {\n System.out.println(\"testBaseName\");\n try {\n assertEquals(\"path.exe\", HttpUtil.getBaseName(new URL(\"http://example.com/dir/file/path.exe?1328319481\")));\n assertEquals(\"file\", HttpUtil.getBaseName(new URL(\"http://example.com/dir/file/?1328319481\")));\n assertEquals(\"dir\", HttpUtil.getBaseName(new URL(\"http://example.com/dir?1328319481\")));\n assertEquals(\"example.com\", HttpUtil.getBaseName(new URL(\"http://example.com/?1328319481\")));\n } catch (MalformedURLException ex) {\n Logger.getLogger(HttpUtilTest.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "title": "" }, { "docid": "138212a2abe3e1face71943779ed3f2e", "score": "0.51451224", "text": "private PartialParseResult parseScheme(String remaining) throws MalformedURLException {\n for (int i = 0; i < remaining.length(); i++) {\n char c = remaining.charAt(i);\n if ('a' <= c && c <= 'z' || 'A' <= c && c <= 'Z') {\n continue;\n } else if (c == ':') {\n if (i == 0) {\n throw new MalformedURLException(\"missing scheme\");\n }\n String scheme = remaining.substring(0, i).toLowerCase();\n remaining = remaining.substring(i + 1, remaining.length());\n return new PartialParseResult(scheme, remaining);\n } else if ('0' <= c && c <= '9' || c == '+' || c == '-' || c == '.') {\n if (i == 0) {\n return new PartialParseResult(\"\", remaining);\n }\n }\n }\n return new PartialParseResult(\"\", remaining);\n }", "title": "" }, { "docid": "d265d30b09e99f5808d2bd182265e127", "score": "0.51442623", "text": "@Test\n public void testOnlyFragment() {\n\t\tURIParser fragmentParser = new URIParser();\n\t\tURI fragment = fragmentParser.parse(\"#http\");\n\t\tassertEquals(\"Scheme should be null\", null, fragment.getScheme());\n\t\tassertEquals(\"Authority should be null\", null, fragment.getAuthority());\n\t\tassertEquals(\"Path should be null\", null, fragment.getPath());\n\t\tassertEquals(\"Query should be null\", null, fragment.getQuery());\n\t\tassertEquals(\"Incorrect fragment\", \"http\", fragment.getFragment());\n }", "title": "" }, { "docid": "b6c8fb23e02ed9fafd6fdc21d2b3bd15", "score": "0.51434875", "text": "@Test\n public void checkAuthors() throws Exception {\n assertEquals(\"inauthor:\\\"michael+mapes\\\"+inauthor:\\\"abby+mapes\\\"\", fullQuery.getAuthors());\n assertNull(emptyQuery.getAuthors());\n }", "title": "" }, { "docid": "7dc185edef5f6c1e4bb8f82b45da9b07", "score": "0.5139228", "text": "@Test\n public void testBuild() throws Exception {\n String url = \"https://www.google.es\";\n URI uri = UriBuilder.fromUriString(url).build();\n assertNotNull(uri);\n URI expected = URI.create(url);\n assertEquals(expected, uri);\n }", "title": "" }, { "docid": "2390c362632b73b69e732d43e81b3ad0", "score": "0.5136692", "text": "public String normalizeUri(String uri) {\n String normalizedUrl;\n String fileScheme = getFileScheme(uri);\n String url = fileScheme != null ? StringUtils.replaceOnceIgnoreCase(uri, fileScheme, \"http://example/\") : uri;\n try {\n normalizedUrl = Urls.parse(url).toString();\n } catch (Exception ex) {\n normalizedUrl = null;\n }\n if (StringUtils.isNotEmpty(fileScheme)) {\n fileScheme = normalizeFileSchema(fileScheme);\n }\n return fileScheme != null ? StringUtils.replaceOnceIgnoreCase(normalizedUrl,\"http://example/\", fileScheme) : normalizedUrl;\n }", "title": "" }, { "docid": "f0d246ef92f0b152864d62a82b4f0891", "score": "0.5116642", "text": "@Test\n public void testPathEncoding() throws Exception, URISyntaxException {\n\n String chars = \"`'\\\"~!$%^*()_+-={}[]|;:'<>,@?#&\";\n\n for (int i = 0; i < chars.length(); i++) {\n char c = chars.charAt(i);\n // System.out.println(\"Char=\"+c+\",str=\"+estr);\n\n // check URI encoding with VRL encoding\n\n try {\n // Make sure VRL and URI use same encoding:\n URI uri = new URI(\"aap\", \"noot\", \"/\" + c, null);\n VRL vrl = new VRL(\"aap\", \"noot\", \"/\" + c);\n\n // if c is in \"#?&\" then it will be recognised as query of\n // fragment seperator\n VRL vrl2;\n if ((c == '#') || (c == '?') || (c == '&'))\n vrl2 = new VRL(\"aap://noot/\" + URIFactory.encodePath(\"\" + c));\n else\n vrl2 = new VRL(\"aap://noot/\" + c);\n\n VRL vrl3 = new VRL(\"aap://noot/\" + URIFactory.encodePath(\"\" + c));\n\n Assert.assertEquals(\"Encoded URI does not match VRL\", uri.toString(), vrl.toURI()\n .toString());\n Assert.assertEquals(\"Decoded VRL path does not match. \", \"/\" + c, vrl.getPath());\n Assert.assertEquals(\"Decoded URI path does not match. \", \"/\" + c, uri.getPath());\n Assert.assertEquals(\"VRL constructors do not match.\", vrl.toString(),\n vrl2.toString());\n Assert.assertEquals(\"VRL constructors do not match.\", vrl.toString(),\n vrl3.toString());\n\n } catch (URISyntaxException e) {\n e.printStackTrace();\n throw e;\n }\n }\n }", "title": "" }, { "docid": "7c5972509d8b94bd464c3aaefd9642e7", "score": "0.5059428", "text": "public boolean engineCanResolve(Attr uri, String BaseURI) {\n\n if (uri == null) {\n return false;\n }\n\n String uriNodeValue = uri.getNodeValue();\n\n if (uriNodeValue.equals(\"\") || uriNodeValue.startsWith(\"#\")) {\n return false;\n }\n\n try {\n URI uriNew = new URI(new URI(BaseURI), uri.getNodeValue());\n\n if (uriNew.getScheme().equals(\"http\")) {\n cat.debug(\"I state that I can resolve \" + uriNew.toString());\n\n return true;\n }\n\n cat.debug(\"I state that I can't resolve \" + uriNew.toString());\n } catch (URI.MalformedURIException ex) {}\n\n return false;\n }", "title": "" }, { "docid": "eca1b137d0809e353481791de8802c80", "score": "0.50586885", "text": "public boolean isSetUriprefix()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().find_attribute_user(URIPREFIX$8) != null;\n }\n }", "title": "" }, { "docid": "1b287a3f603c8610d50b7121f6695ee5", "score": "0.50360715", "text": "@Test\n public void testRegressionLocalFileURI_authorization() throws Exception {\n //\n // vrl = new VRL(\"file://[email protected]:1234/Directory/A File\");\n // localVrl = new VRL(\"file:/Directory/A File\");\n // Assert.assertEquals(\"Local File URI must match.\", localVrl, vrl);\n // localFileUrl=vrl.toURL();\n // Assert.assertEquals(\"Local File VRL must match local File URL. Java URL removes Authority information\", localVrl,localFileUrl); \n\n }", "title": "" }, { "docid": "9ccea606407933e6926c16f024325cfb", "score": "0.50347537", "text": "URI getBaseUri();", "title": "" }, { "docid": "1dad5bf454ad45984394fe422fc16179", "score": "0.50180686", "text": "abstract AzureStorageUri parseUri(URI encodedUri);", "title": "" }, { "docid": "d2841aac8a7ad567a6ebc88ec2ec4504", "score": "0.50107265", "text": "public boolean accepts(String uri);", "title": "" }, { "docid": "80c38bf144ddc6c728c76593da1d033a", "score": "0.49969628", "text": "static String redactRequestUri(String requestUri) {\n requireNonNull(requestUri, \"requestUri\");\n checkState(\n !requestUri.startsWith(\"/a/\"), \"request URI must not start with '/a/': %s\", requestUri);\n\n StringBuilder redactedRequestUri = new StringBuilder();\n\n boolean hasLeadingSlash = false;\n boolean hasTrailingSlash = false;\n if (requestUri.startsWith(\"/\")) {\n hasLeadingSlash = true;\n requestUri = requestUri.substring(1);\n }\n if (requestUri.endsWith(\"/\")) {\n hasTrailingSlash = true;\n requestUri = requestUri.substring(0, requestUri.length() - 1);\n }\n\n boolean idPathSegment = false;\n for (String pathSegment : Splitter.on('/').split(requestUri)) {\n if (!idPathSegment) {\n redactedRequestUri.append(\"/\" + pathSegment);\n idPathSegment = true;\n } else {\n redactedRequestUri.append(\"/\");\n if (!pathSegment.isEmpty()) {\n redactedRequestUri.append(\"*\");\n }\n idPathSegment = false;\n }\n }\n\n if (!hasLeadingSlash) {\n redactedRequestUri.deleteCharAt(0);\n }\n if (hasTrailingSlash) {\n redactedRequestUri.append('/');\n }\n\n return redactedRequestUri.toString();\n }", "title": "" }, { "docid": "24172ab9a985d81f3ba8d39682d5c86f", "score": "0.49966624", "text": "public URL parse(String rawUrl) throws MalformedURLException {\n if (rawUrl == null || rawUrl.isEmpty()) {\n throw new MalformedURLException(\"raw url string is empty\");\n }\n\n URLBuilder builder = new URLBuilder();\n String remaining = rawUrl;\n\n int index = remaining.lastIndexOf(\"#\");\n if (index >= 0) {\n String frag = remaining.substring(index + 1, remaining.length());\n builder.setFragment(frag.isEmpty() ? null : frag);\n remaining = remaining.substring(0, index);\n }\n\n if (remaining.isEmpty()) {\n return builder.build();\n }\n\n if (remaining.equals(\"*\")) {\n builder.setPath(\"*\");\n return builder.build();\n }\n\n index = remaining.indexOf(\"?\");\n if (index > 0) {\n String qr = remaining.substring(index + 1, remaining.length());\n if (!qr.isEmpty()) {\n builder.setQuery(qr);\n }\n remaining = remaining.substring(0, index);\n }\n\n PartialParseResult parsedScheme = parseScheme(remaining);\n String scheme = parsedScheme.result;\n boolean hasScheme = scheme != null && !scheme.isEmpty();\n builder.setScheme(scheme);\n remaining = parsedScheme.remaining;\n\n if (hasScheme) {\n if (!remaining.startsWith(\"/\")) {\n builder.setOpaque(remaining);\n return builder.build();\n }\n }\n if ((hasScheme || !remaining.startsWith(\"///\")) && remaining.startsWith(\"//\")) {\n remaining = remaining.substring(2, remaining.length());\n\n String authority = remaining;\n int i = remaining.indexOf(\"/\");\n if (i >= 0) {\n authority = remaining.substring(0, i);\n remaining = remaining.substring(i, remaining.length());\n } else {\n remaining = \"\";\n }\n\n if (!authority.isEmpty()) {\n UserInfoResult userInfoResult = parseUserInfo(authority);\n builder.setUsername(userInfoResult.user);\n builder.setPassword(userInfoResult.password);\n authority = userInfoResult.remaining;\n }\n\n PartialParseResult hostResult = parseHost(authority);\n builder.setHost(hostResult.result);\n }\n\n if (!remaining.isEmpty()) {\n builder.setPath(PercentEncoder.decode(remaining));\n }\n\n return builder.build();\n }", "title": "" }, { "docid": "5fef1aa5b81aad30cea3c92e74299303", "score": "0.49888545", "text": "@Test public void testQNameURI() throws XQException {\n uriTest(\"fn:QName('http://a/b/c', 'a:b')\", \"http://a/b/c\");\n }", "title": "" }, { "docid": "f89491ee502ee951f216b3e451baabc2", "score": "0.49873582", "text": "public abstract String getURI();", "title": "" }, { "docid": "d7abd2ffb2619af18de4ffdf1ef3742d", "score": "0.49737886", "text": "@Override\n\tprotected void parse(UrlContext ctx) throws UrlParseException {\n\t\tUrl result = ctx.getResult();\n\t\tchar curChar;\n\t\tString value1 = null;\n\t\tString value2 = null;\n\t\twh:while(ctx.hasNextChar()){\n\t\t\tcurChar = ctx.nextChar();\t\n\t\t\tsw:switch(curChar){\n\t\t\t\tcase UrlParser.SEPARATOR_COLON:\n\t\t\t\t\tif(value1!=null) throw new UrlParseException(\"Authority invalid\", ctx);\n\t\t\t\t\tvalue1 = ctx.getCurrentString();\n\t\t\t\t\tbreak sw;\n\t\t\t\tcase UrlParser.SEPARATOR_AT:\n\t\t\t\t\tvalue2 = ctx.getCurrentString();\n\t\t\t\t\tif(value1!=null){\n\t\t\t\t\t\t//result.setUserInfo(value1+':'+value2);\n\t\t\t\t\t\tresult.setUserInfo(value1, value2);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tresult.setUserInfo(value2, Auth.EMPTY_VALUE);\n\t\t\t\t\t}\n\t\t\t\t\tvalue1 = null;\n\t\t\t\t\tvalue2 = null;\n\t\t\t\t\tbreak sw;\n\t\t\t\tcase UrlParser.SEPARATOR_SLASH:\n\t\t\t\t\tsetHostInfo(result, value1, ctx.getCurrentString());\n\t\t\t\t\treturn;\n\t\t\t\tcase UrlParser.SEPARATOR_QUESTION:\n\t\t\t\t\tif(value1==null){\n\t\t\t\t\t\tvalue1 = ctx.getCurrentString();\n\t\t\t\t\t}else{\n\t\t\t\t\t\tvalue2 = ctx.getCurrentString();\n\t\t\t\t\t}\n\t\t\t\t\tif(value1==null || value1.equals(\"\")) throw new UrlParseException(\"Authority host invalid\", ctx);\n\t\t\t\t\tsetHostInfo(result, value1, value2);\n\t\t\t\t\tctx.setState(UrlContext.STATE_QUERY);\n\t\t\t\t\treturn;\n\t\t\t\tcase UrlParser.SEPARATOR_SHARP:\n\t\t\t\t\tif(value1==null){\n\t\t\t\t\t\tvalue1 = ctx.getCurrentString();\n\t\t\t\t\t}else{\n\t\t\t\t\t\tvalue2 = ctx.getCurrentString();\n\t\t\t\t\t}\n\t\t\t\t\tif(value1==null || value1.equals(\"\")) throw new UrlParseException(\"Authority host invalid\", ctx);\n\t\t\t\t\tsetHostInfo(result, value1, ctx.getCurrentString());\n\t\t\t\t\tctx.setState(UrlContext.STATE_FRAG);\n\t\t\t\t\treturn;\n\t\t\t\tdefault:\n\t\t\t\t\t//�ƹ��͵� ���� �ʴ´�. ctx ������ StringBuilder�� ���ڿ��� �������� ����.\n\t\t\t}\n\t\t}\n\t\tif(value1==null){\n\t\t\tvalue1 = ctx.getCurrentString();\n\t\t}else{\n\t\t\tvalue2 = ctx.getCurrentString();\n\t\t}\n\t\tif(value1==null || value1.equals(\"\")) throw new UrlParseException(\"Authority invalid: URI grammer [username:password@hostname:port]\");\n\t\tsetHostInfo(result, value1, value2);\n\t\tctx.setState(UrlContext.STATE_FINISH);\n\t}", "title": "" }, { "docid": "a8be2d66e311b74c95d48ceb76c10a6b", "score": "0.49704567", "text": "public static String m23385a(Uri uri) {\n if (uri == null) {\n return null;\n }\n return uri.getScheme();\n }", "title": "" }, { "docid": "2e7e6b64ddc2c8d6a59680bd2d5ba594", "score": "0.49700993", "text": "public final void mo51192a(String str) {\n try {\n mo51191a(Uri.parse(str));\n } catch (Exception unused) {\n }\n }", "title": "" }, { "docid": "88c8304ce6e32991071f5a3768f18f42", "score": "0.4963156", "text": "protected static boolean isResource(String attrValue)\r\n {\n return attrValue.startsWith(\"@\") || attrValue.startsWith(\"?\");\r\n }", "title": "" }, { "docid": "09a0f0e5e5296857be94123db6f30ed6", "score": "0.49602678", "text": "protected void init(final URI _uri) {\n // All URIs must normalized!\n URI uri = _uri.normalize();\n String newScheme = uri.getScheme();\n boolean hasAuth = StringUtil.notEmpty(uri.getAuthority());\n String newUserInf = uri.getUserInfo();\n String newHost = uri.getHost();\n int newPort = uri.getPort();\n\n // ===========\n // Hack to get path,Query and Fragment part from SchemeSpecific part if\n // the URI is a reference URI.\n // The java.net.URI doesn't parse \"file:relativePath?query\" correctly.\n // ===========\n String pathOrRef = null;\n String newQuery = null;\n String newFraq = null;\n\n if ((hasAuth == false) && (uri.getRawSchemeSpecificPart().startsWith(\"/\") == false)) {\n // Parse Reference URI or Relative URI which is not URL compatible:\n // hack to parse query and fragment from non URL compatible\n // URI\n try {\n // check: \"ref:<blah>?query#frag\"\n URI tempUri = null;\n tempUri = new URI(newScheme + \":/\" + uri.getRawSchemeSpecificPart());\n String path2 = tempUri.getPath();\n\n // get path but skip added '/':\n // set Path but keep as Reference ! (path is reused for that)\n pathOrRef = path2.substring(1, path2.length());\n newQuery = tempUri.getQuery();\n newFraq = tempUri.getFragment();\n } catch (URISyntaxException e) {\n // Global.errorPrintStacktrace(e);\n // Reference URI: ref:<blahblahblah> without starting '/' !\n // store as is without parsing:\n pathOrRef = uri.getRawSchemeSpecificPart();\n }\n } else {\n // plain PATH URI: get Path,Query and Fragment.\n pathOrRef = uri.getPath();\n newQuery = uri.getQuery();\n newFraq = uri.getFragment();\n }\n\n // ================================\n // use normalized initializer\n // ================================\n init(newScheme, newUserInf, newHost, newPort, pathOrRef, newQuery, newFraq, false);\n }", "title": "" }, { "docid": "c4f36627347b85e1efb868e3f08cfc6f", "score": "0.49589446", "text": "private boolean checkAgainstAuthority(String user, String authority)\n {\n if (user.equalsIgnoreCase(authority))\n {\n return true;\n }\n Set<String> containing = fAuthorityService.getContainingAuthorities(null, user, false);\n for (String parent : containing)\n {\n if (parent.equalsIgnoreCase(authority))\n {\n return true;\n }\n }\n return false;\n }", "title": "" }, { "docid": "0c66ccb10f3942c71dbb274b12f1b7e6", "score": "0.49575317", "text": "public static String mangleURI (String name)\n {\n boolean hasSlash = name.indexOf('/') >= 0;\n int len = name.length();\n if (len > 6 && name.startsWith(\"class:\"))\n return name.substring(6);\n // Remove \"http:\" or \"urn:\".\n if (len > 5 && name.charAt(4) == ':'\n\t&& name.substring(0, 4).equalsIgnoreCase(\"http\"))\n {\n\tname = name.substring(5);\n\tlen -= 5;\n\thasSlash = true;\n }\n else if (len > 4 && name.charAt(3) == ':'\n\t && name.substring(0, 3).equalsIgnoreCase(\"uri\"))\n {\n\tname = name.substring(4);\n\tlen -= 4;\n }\n int start = 0;\n StringBuffer sbuf = new StringBuffer();\n for (;;)\n {\n\tint slash = name.indexOf('/', start);\n\tint end = slash < 0 ? len : slash;\n\tboolean first = sbuf.length() == 0;\n\tif (first && hasSlash)\n\t {\n\t // Remove initial \"www.\".\n\t String host = name.substring(start, end);\n\t if (end - start > 4 && host.startsWith(\"www.\"))\n\t host = host.substring(4);\n\t // Reverse order of words in \"host\" part.\n\t putURLWords(host, sbuf);\n\t }\n\telse if (start != end)\n\t {\n\t if (! first)\n\t sbuf.append('.');\n\t if (end == len)\n\t {\n\t\tint dot = name.lastIndexOf('.', len);\n\t\tif (dot > start + 1 && ! first)\n\t\t {\n\t\t // Remove file extension:\n\t\t int extLen = len - dot;\n\t\t if (extLen <= 4\n\t\t\t|| (extLen == 5 && name.endsWith(\"html\")))\n\t\t {\n\t\t\tlen -= extLen;\n\t\t\tend = len;\n\t\t\tname = name.substring(0, len);\n\t\t }\n\t\t }\n\t }\n\t sbuf.append(name.substring(start, end));\n\t }\n\tif (slash < 0)\n\t break;\n\tstart = slash + 1;\n }\n return sbuf.toString();\n }", "title": "" }, { "docid": "3a881ffa2810fe991ce84a821b8056cc", "score": "0.49448735", "text": "public static boolean m23389e(Uri uri) {\n if (m23390f(uri)) {\n if (\"com.android.contacts\".equals(uri.getAuthority()) && !uri.getPath().startsWith(f24759a.getPath())) {\n return true;\n }\n }\n return false;\n }", "title": "" }, { "docid": "7b2e3aaa406caa7096049146e128b08a", "score": "0.49329904", "text": "@Test\n public void testBuildToString() throws Exception {\n String expected = \"https://www.google.es\";\n String url = UriBuilder.fromUriString(expected).buildToString();\n assertNotNull(url);\n assertEquals(expected, url);\n }", "title": "" }, { "docid": "ae3a8452c26744fd2e5ea8a3d0251f22", "score": "0.49316597", "text": "@Test\n public void testConstructorPathElement() {\n assertThat(new PathElement(\"\\\"@specifier\\\"\", 0, null).getAnchorType(), equalTo(STRING_LITERAL));\n\n // unquoted strings do not\n assertThat(new PathElement(\"@specifier\", 0, null).getAnchorType(), equalTo(null));\n\n // single-quoted characters map to CHAR_LITERAL\n assertThat(new PathElement(\"'a'\", 0, null).getAnchorType(), equalTo(CHAR_LITERAL));\n\n // unquoted characters do not\n assertThat(new PathElement(\"a\", 0, null).getAnchorType(), equalTo(null));\n\n // anchor type is preserved if provided\n assertThat(new PathElement(\"\\\"@specifier\\\"\", 0, NODE_NAME).getAnchorType(), equalTo(NODE_NAME));\n }", "title": "" } ]
afb3f137bd735029953d8b789bd1eb13
Clear flag FLAG_FORCE_NOT_FULLSCREEN which is set initially by the Cordova.
[ { "docid": "8f868c83609e42bb585455ce2c4d30f5", "score": "0.5542695", "text": "@Override\n public void run() {\n Window window = cordova.getActivity().getWindow();\n window.clearFlags(WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN);\n\n // Read 'NavigationBarBackgroundColor' and 'NavigationBarLight' from config.xml, default is #000000.\n setNavigationBarBackgroundColor(preferences.getString(\"NavigationBarBackgroundColor\", \"#000000\"), preferences.getBoolean(\"NavigationBarLight\", false), preferences.getBoolean(\"NavigationBarTransparent\", false));\n }", "title": "" } ]
[ { "docid": "8be8b95c854f0368dcd78a3afd252d29", "score": "0.72008145", "text": "private void disableFullscreen(WindowManager.LayoutParams attrs){\n\t\trootView.setSystemUiVisibility(0);\r\n//\t\t.setSystemUiVisibility(\r\n//\t View.SYSTEM_UI_FLAG_LAYOUT_STABLE\r\n//\t | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\r\n//\t | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN);\r\n\t}", "title": "" }, { "docid": "537cf4c97c0fb846881c142c0cdb81fc", "score": "0.6752629", "text": "public void makeFullscreen() {\n getSupportActionBar().hide();\n // API 19 (Kit Kat)\n if (Build.VERSION.SDK_INT >= 19) {\n getWindow().getDecorView().setSystemUiVisibility(\n // View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n View.SYSTEM_UI_FLAG_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY\n );\n } else {\n if (Build.VERSION.SDK_INT > 10) {\n getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LOW_PROFILE\n | View.SYSTEM_UI_FLAG_LAYOUT_STABLE);\n }\n }\n }", "title": "" }, { "docid": "100b6d6ec21d89a2d7efda1d7db69b62", "score": "0.6728427", "text": "void stopKeepingScreenOn() {\n getWindow().clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);\n }", "title": "" }, { "docid": "100b6d6ec21d89a2d7efda1d7db69b62", "score": "0.6728427", "text": "void stopKeepingScreenOn() {\n getWindow().clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);\n }", "title": "" }, { "docid": "088c08a75562c8e3f7a6f1cb720a8303", "score": "0.6717382", "text": "public void FullScreencall() {\n View decorView = getWindow().getDecorView();\n int uiOptions = View.SYSTEM_UI_FLAG_HIDE_NAVIGATION | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY;\n decorView.setSystemUiVisibility(uiOptions);\n }", "title": "" }, { "docid": "05799c9739ac2aeb0c6032dcbbde8169", "score": "0.66327214", "text": "void stopKeepingScreenOn() {\n\t\tgetWindow().clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);\n\t}", "title": "" }, { "docid": "cb2aaa50c7f9636e78c3e6afd77153c5", "score": "0.6604847", "text": "public void switchFullscreen() {\r\n\t\t// requesting to turn the title OFF\r\n\t\trequestWindowFeature(Window.FEATURE_NO_TITLE);\r\n\t\t// making it full screen\r\n\t\tgetWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,\r\n\t\t WindowManager.LayoutParams.FLAG_FULLSCREEN);\r\n\t}", "title": "" }, { "docid": "d2b5cc33392d69cea35985873ed11a83", "score": "0.6520185", "text": "@SuppressLint(\"InlinedApi\")\r\n\tprivate void enableFullscreen(WindowManager.LayoutParams attrs){\r\n\t\t// change the actual screen\r\n//\t\tattrs.flags |= WindowManager.LayoutParams.FLAG_FULLSCREEN;\r\n\t\t//View.SYSTEM_UI_FLAG_HIDE_NAVIGATION\r\n// \tattrs.flags |= WindowManager.LayoutParams.FLAG_;\r\n//\t\tattrs.flags |= WindowManager.LayoutParams.FLAG_\r\n\t\trootView.setSystemUiVisibility(\r\n\t View.SYSTEM_UI_FLAG_LAYOUT_STABLE\r\n\t | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\r\n\t | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN\r\n\t | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION // hide nav bar\r\n\t | View.SYSTEM_UI_FLAG_FULLSCREEN // hide status bar\r\n\t | View.SYSTEM_UI_FLAG_IMMERSIVE);\r\n//\t\tgetWindow().setAttributes(attrs);\r\n//\t\tgetWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);\r\n//\t\tsetFullscreen(true);\r\n\t}", "title": "" }, { "docid": "b56c0677a8504e107cea9f1823b9d13c", "score": "0.6472406", "text": "protected void setActivityFullScreen() {\n\n }", "title": "" }, { "docid": "33de505d2e76cac6b872fa1da8aecb0e", "score": "0.64663136", "text": "protected void setFullScreen(boolean isFull){\n View decorView = getWindow().getDecorView();\n if(isFull){\n getWindow().clearFlags(WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN); //清除非全屏的flag\n getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN); //设置全屏的flag\n int uiOptions = View.SYSTEM_UI_FLAG_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY\n | View.SYSTEM_UI_FLAG_FULLSCREEN;\n decorView.setSystemUiVisibility(uiOptions);\n }else{\n getWindow().clearFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN); //清除全屏的flag\n getWindow().addFlags(WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN); //非全屏\n int uiOptions = 0;\n decorView.setSystemUiVisibility(uiOptions);\n }\n }", "title": "" }, { "docid": "4e368247d02c919db063d372bef629a0", "score": "0.6456939", "text": "static void setImmersiveFullScreen(Window window) {\n window.getDecorView().setSystemUiVisibility(\n View.SYSTEM_UI_FLAG_LAYOUT_STABLE | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION |\n View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION |\n View.SYSTEM_UI_FLAG_FULLSCREEN | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY);\n }", "title": "" }, { "docid": "7d08c043b766fbd4f2fdc5314e8d6f83", "score": "0.6446281", "text": "void keepScreenOn() {\n getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);\n }", "title": "" }, { "docid": "7d08c043b766fbd4f2fdc5314e8d6f83", "score": "0.6446281", "text": "void keepScreenOn() {\n getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);\n }", "title": "" }, { "docid": "670b007e8f1baced1d2400cc5be0ad6e", "score": "0.64001447", "text": "@Override\n public void toggledFullscreen(boolean fullscreen) {\n if (fullscreen) {\n WindowManager.LayoutParams attrs = getWindow().getAttributes();\n attrs.flags |= WindowManager.LayoutParams.FLAG_FULLSCREEN;\n attrs.flags |= WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON;\n getWindow().setAttributes(attrs);\n if (android.os.Build.VERSION.SDK_INT >= 14) {\n getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LOW_PROFILE);\n }\n } else {\n WindowManager.LayoutParams attrs = getWindow().getAttributes();\n attrs.flags &= ~WindowManager.LayoutParams.FLAG_FULLSCREEN;\n attrs.flags &= ~WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON;\n getWindow().setAttributes(attrs);\n if (android.os.Build.VERSION.SDK_INT >= 14) {\n getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_VISIBLE);\n }\n }\n\n }", "title": "" }, { "docid": "9f2a3b06670ede2c8f275ae259d3ab6a", "score": "0.6387139", "text": "private void hideSystemUI() {\n View decorView = getWindow().getDecorView();\n decorView.setSystemUiVisibility(\n View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY\n // Set the content to appear under the system bars so that the\n // content doesn't resize when the system bars hide and show.\n | View.SYSTEM_UI_FLAG_LAYOUT_STABLE\n | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN\n // Hide the nav bar and status bar\n | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_FULLSCREEN);\n ActionBar actionBar = getActionBar();\n if (actionBar != null) {\n actionBar.hide();\n }\n this.requestWindowFeature(Window.FEATURE_NO_TITLE);\n getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);\n }", "title": "" }, { "docid": "24c05f4d4b35f1bd7098432094e7f984", "score": "0.6368588", "text": "@Override\n\tpublic void onAttachedToWindow() {\n\t\tthis.getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);\n\t\tsuper.onAttachedToWindow();\n\t}", "title": "" }, { "docid": "46770a0767d5df60d080df54c880d5e4", "score": "0.63203454", "text": "@Override\n public void toggledFullscreen(boolean fullscreen)\n {\n if (fullscreen)\n {\n WindowManager.LayoutParams attrs = getWindow().getAttributes();\n attrs.flags |= WindowManager.LayoutParams.FLAG_FULLSCREEN;\n attrs.flags |= WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON;\n getWindow().setAttributes(attrs);\n if (android.os.Build.VERSION.SDK_INT >= 14)\n {\n //noinspection all\n getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LOW_PROFILE);\n }\n }\n else\n {\n WindowManager.LayoutParams attrs = getWindow().getAttributes();\n attrs.flags &= ~WindowManager.LayoutParams.FLAG_FULLSCREEN;\n attrs.flags &= ~WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON;\n getWindow().setAttributes(attrs);\n if (android.os.Build.VERSION.SDK_INT >= 14)\n {\n //noinspection all\n getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_VISIBLE);\n }\n }\n\n }", "title": "" }, { "docid": "3343f4edf55dc055ed066a6525c26d77", "score": "0.6309636", "text": "protected boolean isFullScreen(){\n return false;\n }", "title": "" }, { "docid": "df3a1c8fb05aa31a4ebccfb141c18916", "score": "0.63055", "text": "@Override\n\t public void onWindowFocusChanged(boolean hasFocus) {\n\t super.onWindowFocusChanged(hasFocus);\n\t if (hasFocus && immersiveMode) {\n\t final int uiOptions = View.SYSTEM_UI_FLAG_LAYOUT_STABLE\n\t | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n\t | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN\n\t | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION\n\t | View.SYSTEM_UI_FLAG_FULLSCREEN\n\t | 4096 /*View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY*/ ;\n\n\t getWindow().getDecorView().setSystemUiVisibility(uiOptions);\n\t }\n\t }", "title": "" }, { "docid": "700eae6aa68009fbc8aec4565095b55d", "score": "0.6300809", "text": "private void hideSystemUISimple() {\n View decorView = getWindow().getDecorView();\n decorView.setSystemUiVisibility(\n View.SYSTEM_UI_FLAG_IMMERSIVE\n // Set the content to appear under the system bars so that the\n // content doesn't resize when the system bars hide and show.\n// | View.SYSTEM_UI_FLAG_LAYOUT_STABLE\n// | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n// | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN\n // Hide the nav bar and status bar\n | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_FULLSCREEN);\n }", "title": "" }, { "docid": "bd14e0ac248ac2fb00e5c44de2b1849a", "score": "0.6299836", "text": "boolean setFullScreen(boolean enable);", "title": "" }, { "docid": "2838d68a88bd6016cfa865772aba5966", "score": "0.62975097", "text": "@Override\n public void onSystemUiVisibilityChange(int visibility) {\n if ((visibility & View.SYSTEM_UI_FLAG_FULLSCREEN) == 0) {\n Handler handler = new Handler();\n handler.postDelayed(new Runnable() {\n @Override\n public void run() {\n decorView.setSystemUiVisibility(uiOptions);\n }\n }, 2000); //hides the status bar after 2 seconds.\n }\n }", "title": "" }, { "docid": "9bac5ba9e490b74124abfed945c695a5", "score": "0.6292973", "text": "public void prepare_fullscreen() {\n Window window = getWindow();\n\n // Fullscreen does not make sense when in multi-window mode\n boolean doFullScreen = isFullScreen && !isMultiWindow;\n\n // Some users wants complete full screen, no status bar at all. This is NOT compatible with multiwindow mode / non focused\n boolean hideStatusBar = settings.getBoolean(SyncPrefActivity.KEY_PREF_DISP_FULLSCREEN, false) && !isMultiWindow;\n\n // Detect orientation\n Display getOrient = getWindowManager().getDefaultDisplay();\n boolean is_portrait = getOrient.getRotation() == Surface.ROTATION_0 || getOrient.getRotation() == Surface.ROTATION_180;\n\n // Guess the device type\n Configuration cfg = getResources().getConfiguration();\n boolean is_tablet = cfg.smallestScreenWidthDp >= 600;\n\n // Guess navigation bar location (bottom or side)\n boolean has_bottom_navigation_bar = is_portrait || is_tablet;\n\n // Build UI options\n int uiOptions = 0;\n\n // When the user wants fullscreen, always hide the status bar, even after a \"tap\"\n if (hideStatusBar) {\n window.addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);\n } else {\n window.clearFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);\n }\n\n // On Android versions supporting translucent but not colored status bar, manage \"color\" visibility\n if (statusBarBackgroundView != null) {\n statusBarBackgroundView.setAlpha(hideStatusBar?0f:1f);\n }\n\n if (doFullScreen) {\n uiOptions |= View.SYSTEM_UI_FLAG_LOW_PROFILE;\n\n // Translucent bar, *ONLY* in portrait mode (broken in landscape)\n if (has_bottom_navigation_bar && hideStatusBar) {\n uiOptions |= View.SYSTEM_UI_FLAG_HIDE_NAVIGATION;\n }\n if (Build.VERSION.SDK_INT >= 19) {\n uiOptions |= View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY;\n }\n }\n\n // Translucent bar, *ONLY* in portrait mode (broken in landscape)\n if (Build.VERSION.SDK_INT >= 19) {\n if (has_bottom_navigation_bar && !isMultiWindow) {\n window.addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION);\n } else {\n window.clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION);\n }\n\n // Compensate status bar height in full screen, with visible toolbar, on portrait mode\n // or some specific versions in landscape too.\n if (!isMultiWindow && !hideStatusBar && (has_bottom_navigation_bar || Build.VERSION.SDK_INT < 21)) {\n toolbar.setPadding(0, get_status_bar_height(), 0, 0);\n } else {\n // When switching between modes, reset height\n toolbar.setPadding(0, 0, 0, 0);\n }\n\n } else {\n window.clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION);\n toolbar.setPadding(0, 0, 0, 0);\n }\n\n // Apply settings\n View decorView = window.getDecorView();\n decorView.setSystemUiVisibility(uiOptions);\n }", "title": "" }, { "docid": "3dca7d79cc91126ad8091a8be2fb1acf", "score": "0.6251253", "text": "@Override\n public void onSystemUiVisibilityChange(int visibility) {\n if ((visibility & View.SYSTEM_UI_FLAG_FULLSCREEN) == 0) {\n// int uiOptions = View.SYSTEM_UI_FLAG_FULLSCREEN;\n//\n// int a=SYSTEM_UI_FLAG_IMMERSIVE_STICKY;\n// decorView.setSystemUiVisibility(a);\n decorView.setSystemUiVisibility(\n View.SYSTEM_UI_FLAG_LAYOUT_STABLE\n | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN\n | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION // hide nav bar\n | View.SYSTEM_UI_FLAG_FULLSCREEN // hide status bar\n | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY);\n\n\n }\n }", "title": "" }, { "docid": "6fc64821ab9764d1a24aafafb247a5db", "score": "0.62252724", "text": "public void disableScreenTurnOff() {\n\t\tgetWindow().setFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON,\n\t\t\t\tWindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);\n\t}", "title": "" }, { "docid": "6fc64821ab9764d1a24aafafb247a5db", "score": "0.62252724", "text": "public void disableScreenTurnOff() {\n\t\tgetWindow().setFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON,\n\t\t\t\tWindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);\n\t}", "title": "" }, { "docid": "309cc186366ab7f9b52c8f758cbbe880", "score": "0.6224309", "text": "public void toggleFullscreen() {\n if (Gdx.graphics.isFullscreen()) {\n setWindowed();\n } else {\n this.windowedWidth = (int) getWidth();\n this.windowedHeight = (int) getHeight();\n setFullScreen();\n }\n }", "title": "" }, { "docid": "4010a5aa04f1f6c1332888f6bf90f34f", "score": "0.62240523", "text": "@Override\n public void onWindowFocusChanged(boolean hasFocus) {\n super.onWindowFocusChanged(hasFocus);\n hideSystemUI();\n\n// hiding action bar\n ActionBar actionbar = getSupportActionBar();\n if (actionbar != null){\n actionbar.hide();\n }\n\n// makes notification bar completely transparent\n getWindow().setFlags(\n WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS,\n WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS\n );\n }", "title": "" }, { "docid": "fd69e85a54d92da08d4e88615d4ac11a", "score": "0.6187495", "text": "private void hideSystemUI() {\n // Set the IMMERSIVE flag.\n // Set the content to appear under the system bars so that the content\n // doesn't resize when the system bars hide and show.\n View mDecorView = getWindow().getDecorView();\n mDecorView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_STABLE\n | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n// | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN\n | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION // hide nav bar\n// | View.SYSTEM_UI_FLAG_FULLSCREEN // hide status bar\n | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY\n );\n }", "title": "" }, { "docid": "cb6cc4e967a8ff8b46d7b9ed371c0c66", "score": "0.61816907", "text": "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n this.requestWindowFeature(Window.FEATURE_NO_TITLE);\n this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,\n WindowManager.LayoutParams.FLAG_FULLSCREEN);\n }", "title": "" }, { "docid": "8c946cbd661419a48506460ce2e2ee27", "score": "0.61788374", "text": "private void setFullScreen() {\n if (DeviceUtil.isPortrait(getApplicationContext())) {\n playView.setFullScreenView(playControl.getCurrentPlayName());\n setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);\n\n // Set up the full screen\n getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);\n getWindow().addFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS);\n getWindow().getDecorView()\n .setSystemUiVisibility(View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION);\n playControl.setSurfaceChange();\n playView.showSwitchBitrateTextView();\n }\n }", "title": "" }, { "docid": "f811fad32e350bd80666e78c3d66fa08", "score": "0.61749", "text": "@SuppressLint(\"InlinedApi\")\r\n @Override\r\n public void run() {\n mContentView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LOW_PROFILE\r\n | View.SYSTEM_UI_FLAG_FULLSCREEN\r\n | View.SYSTEM_UI_FLAG_LAYOUT_STABLE\r\n | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY\r\n | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\r\n | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION);\r\n }", "title": "" }, { "docid": "9661e56a829317f4263d5066acacdb58", "score": "0.61361134", "text": "private void hideSystemUI() {\n getActivity().getWindow().getDecorView().setSystemUiVisibility(\n View.SYSTEM_UI_FLAG_LAYOUT_STABLE\n | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN\n | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_FULLSCREEN\n | View.SYSTEM_UI_FLAG_IMMERSIVE);\n }", "title": "" }, { "docid": "c7162e44a7bb51e545d72306fd74beaa", "score": "0.61347944", "text": "private void hideSystemUI() {\n\n Log.w(Constants.Log.METHOD, \"MainActivity - hideSystemUI \");\n\n // Set the IMMERSIVE flag.\n // Set the content to appear under the system bars so that the content\n // doesn't resize when the system bars hide and show.\n getWindow().getDecorView().setSystemUiVisibility(\n View.SYSTEM_UI_FLAG_LAYOUT_STABLE\n | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN\n | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION // hide nav bar\n | View.SYSTEM_UI_FLAG_FULLSCREEN // hide status bar\n | View.SYSTEM_UI_FLAG_IMMERSIVE);\n }", "title": "" }, { "docid": "4462bd262e3275103862aab8a5fa57d1", "score": "0.6118515", "text": "public void setFullScreen()\n {\n DisplayMode old = device.getDisplayMode();\n super.setIgnoreRepaint(true);\n super.setResizable(false);\n this.device.setFullScreenWindow(instance);\n try {\n device.setDisplayMode(displayMode);\n }\n catch (IllegalArgumentException ex)\n {\n device.setDisplayMode(old);\n }\n \n }", "title": "" }, { "docid": "16386d04da6d4195256c7c30466f00d7", "score": "0.6108634", "text": "private void hideSystemUI() {\n findViewById(android.R.id.content).setSystemUiVisibility(\n View.SYSTEM_UI_FLAG_LAYOUT_STABLE\n | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN\n | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION // hide nav bar\n | View.SYSTEM_UI_FLAG_FULLSCREEN // hide status bar\n | View.SYSTEM_UI_FLAG_IMMERSIVE);\n }", "title": "" }, { "docid": "3be6c67ab49f7e224ded6b52cd300d10", "score": "0.6094824", "text": "private void hideSystemUI() {\n View decorView = getWindow().getDecorView();\n decorView.setSystemUiVisibility(\n View.SYSTEM_UI_FLAG_IMMERSIVE\n // Set the content to appear under the system bars so that the\n // content doesn't resize when the system bars hide and show.\n | View.SYSTEM_UI_FLAG_LAYOUT_STABLE\n | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN\n // Hide the nav bar and status bar\n | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_FULLSCREEN);\n }", "title": "" }, { "docid": "3be6c67ab49f7e224ded6b52cd300d10", "score": "0.6094824", "text": "private void hideSystemUI() {\n View decorView = getWindow().getDecorView();\n decorView.setSystemUiVisibility(\n View.SYSTEM_UI_FLAG_IMMERSIVE\n // Set the content to appear under the system bars so that the\n // content doesn't resize when the system bars hide and show.\n | View.SYSTEM_UI_FLAG_LAYOUT_STABLE\n | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN\n // Hide the nav bar and status bar\n | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_FULLSCREEN);\n }", "title": "" }, { "docid": "3be6c67ab49f7e224ded6b52cd300d10", "score": "0.6094824", "text": "private void hideSystemUI() {\n View decorView = getWindow().getDecorView();\n decorView.setSystemUiVisibility(\n View.SYSTEM_UI_FLAG_IMMERSIVE\n // Set the content to appear under the system bars so that the\n // content doesn't resize when the system bars hide and show.\n | View.SYSTEM_UI_FLAG_LAYOUT_STABLE\n | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN\n // Hide the nav bar and status bar\n | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_FULLSCREEN);\n }", "title": "" }, { "docid": "19ca2dafdb17a37ef448c4bc8568f151", "score": "0.6063021", "text": "private void hideSystemUI() {\n // Set the IMMERSIVE flag.\n // Set the content to appear under the system bars so that the content\n // doesn't resize when the system bars hide and show.\n View decorView = getWindow().getDecorView();\n decorView.setSystemUiVisibility(\n View.SYSTEM_UI_FLAG_LAYOUT_STABLE\n | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN\n | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION // hide nav bar\n | View.SYSTEM_UI_FLAG_FULLSCREEN // hide status bar\n | View.SYSTEM_UI_FLAG_IMMERSIVE);\n }", "title": "" }, { "docid": "9b4cbc1ef79dd700e1c4454b504dd9bc", "score": "0.60417795", "text": "private void hideSystemUI() {\n mDecorView.setSystemUiVisibility(\n View.SYSTEM_UI_FLAG_LAYOUT_STABLE\n | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN\n | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION // hide nav bar\n | View.SYSTEM_UI_FLAG_FULLSCREEN // hide status bar\n | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY);\n }", "title": "" }, { "docid": "2e6ef668100a7fc78d209e02f161cb12", "score": "0.60182184", "text": "private void hideSystemUI() {\n View decorView = getActivity().getWindow().getDecorView();\n decorView.setSystemUiVisibility(\n View.SYSTEM_UI_FLAG_IMMERSIVE\n // Set the content to appear under the system bars so that the\n // content doesn't resize when the system bars hide and show.\n | View.SYSTEM_UI_FLAG_LAYOUT_STABLE\n | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN\n // Hide the nav bar and status bar\n | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_FULLSCREEN);\n decorView.setOnSystemUiVisibilityChangeListener(new View.OnSystemUiVisibilityChangeListener() {\n @Override\n public void onSystemUiVisibilityChange(int visibility) {\n if(visibility == 6){\n hideSystemUI();\n }else showSystemUI();\n }\n });\n }", "title": "" }, { "docid": "ca4b04ab17d375015f691197fbe77f3e", "score": "0.5957833", "text": "private void hideSystemUI() {\n mDecorView.setSystemUiVisibility(\n View.SYSTEM_UI_FLAG_LAYOUT_STABLE\n | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN\n | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION // hide nav bar\n | View.SYSTEM_UI_FLAG_FULLSCREEN // hide status bar\n | View.SYSTEM_UI_FLAG_IMMERSIVE);\n }", "title": "" }, { "docid": "50c8cd4d16daa3d7be359516307c66ea", "score": "0.5953587", "text": "@TargetApi(19)\n public static void hideSystemUI(Activity activity)\n {\n // Set the IMMERSIVE flag.\n // Set the content to appear under the system bars so that the content\n // doesn't resize when the system bars hideSelf and show.\n View decorView = activity.getWindow().getDecorView();\n decorView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_STABLE | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION // hideSelf nav bar\n | View.SYSTEM_UI_FLAG_FULLSCREEN // hideSelf status bar\n | 0x00000800);// View.SYSTEM_UI_FLAG_IMMERSIVE\n }", "title": "" }, { "docid": "35f8fcd5dbbc5f8b032348e88ec3655c", "score": "0.59533554", "text": "@SuppressLint(\"InlinedApi\")\n @Override\n public void run() {\n mContentView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LOW_PROFILE\n | View.SYSTEM_UI_FLAG_FULLSCREEN\n | View.SYSTEM_UI_FLAG_LAYOUT_STABLE\n | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY\n | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION);\n }", "title": "" }, { "docid": "35f8fcd5dbbc5f8b032348e88ec3655c", "score": "0.59533554", "text": "@SuppressLint(\"InlinedApi\")\n @Override\n public void run() {\n mContentView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LOW_PROFILE\n | View.SYSTEM_UI_FLAG_FULLSCREEN\n | View.SYSTEM_UI_FLAG_LAYOUT_STABLE\n | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY\n | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION);\n }", "title": "" }, { "docid": "35f8fcd5dbbc5f8b032348e88ec3655c", "score": "0.59533554", "text": "@SuppressLint(\"InlinedApi\")\n @Override\n public void run() {\n mContentView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LOW_PROFILE\n | View.SYSTEM_UI_FLAG_FULLSCREEN\n | View.SYSTEM_UI_FLAG_LAYOUT_STABLE\n | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY\n | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION);\n }", "title": "" }, { "docid": "35f8fcd5dbbc5f8b032348e88ec3655c", "score": "0.59533554", "text": "@SuppressLint(\"InlinedApi\")\n @Override\n public void run() {\n mContentView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LOW_PROFILE\n | View.SYSTEM_UI_FLAG_FULLSCREEN\n | View.SYSTEM_UI_FLAG_LAYOUT_STABLE\n | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY\n | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION);\n }", "title": "" }, { "docid": "35f8fcd5dbbc5f8b032348e88ec3655c", "score": "0.59533554", "text": "@SuppressLint(\"InlinedApi\")\n @Override\n public void run() {\n mContentView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LOW_PROFILE\n | View.SYSTEM_UI_FLAG_FULLSCREEN\n | View.SYSTEM_UI_FLAG_LAYOUT_STABLE\n | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY\n | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION);\n }", "title": "" }, { "docid": "35f8fcd5dbbc5f8b032348e88ec3655c", "score": "0.59533554", "text": "@SuppressLint(\"InlinedApi\")\n @Override\n public void run() {\n mContentView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LOW_PROFILE\n | View.SYSTEM_UI_FLAG_FULLSCREEN\n | View.SYSTEM_UI_FLAG_LAYOUT_STABLE\n | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY\n | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION);\n }", "title": "" }, { "docid": "35f8fcd5dbbc5f8b032348e88ec3655c", "score": "0.59533554", "text": "@SuppressLint(\"InlinedApi\")\n @Override\n public void run() {\n mContentView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LOW_PROFILE\n | View.SYSTEM_UI_FLAG_FULLSCREEN\n | View.SYSTEM_UI_FLAG_LAYOUT_STABLE\n | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY\n | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION);\n }", "title": "" }, { "docid": "35f8fcd5dbbc5f8b032348e88ec3655c", "score": "0.59533554", "text": "@SuppressLint(\"InlinedApi\")\n @Override\n public void run() {\n mContentView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LOW_PROFILE\n | View.SYSTEM_UI_FLAG_FULLSCREEN\n | View.SYSTEM_UI_FLAG_LAYOUT_STABLE\n | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY\n | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION);\n }", "title": "" }, { "docid": "e813e44050c6c65efed4172bf69197f0", "score": "0.5885595", "text": "@Override\n public void onResume() {\n ViewGroup.LayoutParams params = getDialog().getWindow().getAttributes();\n // Assign window properties to fill the parent\n params.width = WindowManager.LayoutParams.MATCH_PARENT;\n params.height = WindowManager.LayoutParams.MATCH_PARENT;\n getDialog().getWindow().setAttributes((android.view.WindowManager.LayoutParams) params);\n // Call super onResume after sizing\n getDialog().getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,\n WindowManager.LayoutParams.FLAG_FULLSCREEN);\n getDialog().getWindow().setFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION,\n WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION);\n getDialog().getWindow().setFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND,\n WindowManager.LayoutParams.FLAG_DIM_BEHIND);\n Util.hideStatusBar(getActivity());\n\n super.onResume();\n }", "title": "" }, { "docid": "4ee6a6c021e57c97d24b5425d6792d6c", "score": "0.58727086", "text": "private void checkFullScreen() {\n if (getResources().getBoolean(R.bool.is_landscape) &&\n !getResources().getBoolean((R.bool.is_two_pane))) {\n if (mBakingActivity != null && mBakingActivity.getSupportActionBar() != null) {\n // hide title toolbar\n mBakingActivity.getSupportActionBar().hide();\n }\n } else {\n if (mBakingActivity != null && mBakingActivity.getSupportActionBar() != null) {\n // show title toolbar\n mBakingActivity.getSupportActionBar().show();\n }\n }\n }", "title": "" }, { "docid": "a24d4b54cb117b2d7684e17de9301481", "score": "0.5861367", "text": "public void keepScreenOn(Activity activity) {\n activity.getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);\n }", "title": "" }, { "docid": "b2bd845ad848b132db21fd699433cdb3", "score": "0.5849328", "text": "public void setPreviewDisplayWithoutOptimize(SurfaceHolder surfaceHolder) {\n getSettings().setSizesLocked(true);\n super.setPreviewDisplayWithoutOptimize(surfaceHolder);\n }", "title": "" }, { "docid": "62d007feceb6ca150b0d6aabd6e13b1e", "score": "0.58427435", "text": "@SuppressLint(\"InlinedApi\")\n @Override\n public void run() {\n mRoot.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LOW_PROFILE\n | View.SYSTEM_UI_FLAG_FULLSCREEN\n | View.SYSTEM_UI_FLAG_LAYOUT_STABLE\n | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY\n | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION);\n }", "title": "" }, { "docid": "9c528af75cbdf08edb0abc88b7b40755", "score": "0.58179134", "text": "public void restoreScreen()\n {\n device.setFullScreenWindow(null);\n super.setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "c7f0dc88f43c81eccbe326caaaeae5c1", "score": "0.5801987", "text": "public void onSystemUiVisibilityChange(int visibility) {\n if ((visibility & View.SYSTEM_UI_FLAG_FULLSCREEN) == 0) {\n getWindow().getDecorView().setSystemUiVisibility(\n View.SYSTEM_UI_FLAG_LAYOUT_STABLE\n | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN\n | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_FULLSCREEN\n | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY);\n// again hide it\n } else {\n getWindow().getDecorView().setSystemUiVisibility(\n View.SYSTEM_UI_FLAG_LAYOUT_STABLE\n | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN\n | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_FULLSCREEN\n | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY);\n }\n }", "title": "" }, { "docid": "089101094b2196abedd010e00561170c", "score": "0.57731247", "text": "private void hideNavigation() {\n this.getWindow().getDecorView().setSystemUiVisibility(\n View.SYSTEM_UI_FLAG_LAYOUT_STABLE\n | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN\n | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_FULLSCREEN\n | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY);\n }", "title": "" }, { "docid": "907e60143536382033dfcc9ea350bb83", "score": "0.57504874", "text": "@TargetApi(Build.VERSION_CODES.JELLY_BEAN)\n private void dimStatusBar(boolean dim) {\n if (!LibVlcUtil.isHoneycombOrLater() || !AndroidDevices.hasNavBar() || mIsNavMenu)\n return;\n int layout = 0;\n if (!AndroidDevices.hasCombBar() && LibVlcUtil.isJellyBeanOrLater()) {\n if(isFullShow) { // 只设置在全屏的状态下才隐藏 系统标题栏\n layout = View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION | View.SYSTEM_UI_FLAG_LAYOUT_STABLE;\n }\n }\n if (mOverlayUseStatusBar) {\n layout |= View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN;\n }else if(myCostomHide){\n if(isFullShow) { // 只设置在全屏的状态下才隐藏 系统标题栏\n layout |= View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN;\n }\n }\n\n int visibility = layout;\n if (dim) {\n visibility |= View.SYSTEM_UI_FLAG_LOW_PROFILE;\n if (!AndroidDevices.hasCombBar()) {\n visibility |= View.SYSTEM_UI_FLAG_HIDE_NAVIGATION;\n if (LibVlcUtil.isKitKatOrLater())\n visibility |= View.SYSTEM_UI_FLAG_IMMERSIVE;\n if (mOverlayUseStatusBar) {\n visibility |= View.SYSTEM_UI_FLAG_FULLSCREEN;\n }else if(myCostomHide){\n visibility |= View.SYSTEM_UI_FLAG_FULLSCREEN;\n }\n }\n } else {\n visibility |= View.SYSTEM_UI_FLAG_VISIBLE;\n }\n getWindow().getDecorView().setSystemUiVisibility(visibility);\n }", "title": "" }, { "docid": "2517e0a1e6ae9bf4f84ff70352925667", "score": "0.5738241", "text": "public void onClick(DialogInterface dialog, int id) {\n View decorView = getWindow().getDecorView();\n int uiOptions = View.SYSTEM_UI_FLAG_FULLSCREEN;\n decorView.setSystemUiVisibility(uiOptions);\n }", "title": "" }, { "docid": "e0f9fa3bb74273cd8de43ad5c202ecac", "score": "0.5736633", "text": "public void onClick(DialogInterface dialog, int id) {\n View decorView = getWindow().getDecorView();\n int uiOptions = View.SYSTEM_UI_FLAG_FULLSCREEN;\n decorView.setSystemUiVisibility(uiOptions);\n }", "title": "" }, { "docid": "2fe644a9a2787ebb842dcdf39c1f7f48", "score": "0.5730753", "text": "private void ocultarBarras(){\n View decorView = getWindow().getDecorView();\n int uiOptions = View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY\n | View.SYSTEM_UI_FLAG_LAYOUT_STABLE\n | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN\n | View.SYSTEM_UI_FLAG_FULLSCREEN;\n decorView.setSystemUiVisibility(uiOptions);\n }", "title": "" }, { "docid": "d7cda1f05d94aaa4bd3d19f94089e5b3", "score": "0.5705155", "text": "@Override\n public void run() {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {\n int uiOptions = window.getDecorView().getSystemUiVisibility();\n uiOptions &= ~View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION;\n uiOptions &= ~View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY;\n\n window.getDecorView().setSystemUiVisibility(uiOptions);\n\n window.getDecorView().setOnFocusChangeListener(null);\n window.getDecorView().setOnSystemUiVisibilityChangeListener(null);\n }\n\n // CB-11197 We still need to update LayoutParams to force navigation bar\n // to be hidden when entering e.g. text fields\n window.clearFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);\n }", "title": "" }, { "docid": "9e004b5e667018fea38ecc20b686ac1e", "score": "0.56964856", "text": "private void setFullscreen() {\r\n this.dispose();\r\n if (isUndecorated()) {\r\n // clear the maximized bits (4 and 2) if fullscreen -> normal\r\n setExtendedState(getExtendedState() & (~JFrame.MAXIMIZED_BOTH));\r\n setUndecorated(false);\r\n } else {\r\n // set the maximized bits if normal -> fullscreen\r\n setExtendedState(getExtendedState() | JFrame.MAXIMIZED_BOTH);\r\n setUndecorated(true);\r\n }\r\n this.setLocation(0, 0);\r\n this.pack();\r\n this.setVisible(true);\r\n }", "title": "" }, { "docid": "ef0a77b31dd1af0c206fbda204024bf6", "score": "0.5686732", "text": "private void toggleFullScreen()\n {\n try\n {\n this.container.setFullscreen(!this.container.isFullscreen());\n }\n catch(SlickException se)\n {}\n }", "title": "" }, { "docid": "9165d1ead4cdbeb7628edf4d590157a0", "score": "0.568517", "text": "public void resetValues(){\n prefs.put(PREF_SV_ScreenHeight, \"600\");\n prefs.put(PREF_SV_ScreenWidth, \"400\");\n }", "title": "" }, { "docid": "bfedf7fb42c2ca5364699ce74422b2ad", "score": "0.56758034", "text": "@Override\n public void onWindowFocusChanged(boolean hasFocus) {\n super.onWindowFocusChanged(hasFocus);\n FullScreenHelper.setFullScreenOnWindowFocusChanged(this, hasFocus);\n }", "title": "" }, { "docid": "c29c636ffbe2fa055c6269eedb4a758b", "score": "0.5662766", "text": "void unsetQualityControlFlags();", "title": "" }, { "docid": "3de4a02ba64e5215330406ce12ffe07b", "score": "0.5658986", "text": "private void windowOff()\n {\n //shows progressbar\n //turns window touch off\n mProgressbar.setVisibility(View.VISIBLE);\n getWindow().setFlags(WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE,\n WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE);\n }", "title": "" }, { "docid": "be53f2d050d4636358e24061a13a5b1c", "score": "0.5655794", "text": "void setDisplayFullScreen(boolean fullScreenMode) throws MediaException;", "title": "" }, { "docid": "a888ac8c6b5ef2307b5786376cdfad44", "score": "0.56379956", "text": "public static void immersiveMode(View decorView) {\n decorView.setSystemUiVisibility(\n View.SYSTEM_UI_FLAG_LAYOUT_STABLE\n | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN\n | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_FULLSCREEN\n | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY);\n }", "title": "" }, { "docid": "3ba33ddd7a61702318a9335bd520c77e", "score": "0.5624987", "text": "@Override // com.zhihu.android.app.p1311ui.fragment.BaseFragment\n public boolean isSystemUiFullscreen() {\n return true;\n }", "title": "" }, { "docid": "0024ea0ec7ce9d594278e6bf7bf8fdba", "score": "0.5622927", "text": "public void setUseFullScreen(boolean enabled) {\r\n\t\tmUseFullscreen = enabled;\r\n\t}", "title": "" }, { "docid": "9447cd798bcb7f594ef15317abfdfc51", "score": "0.5603816", "text": "@Override\n public void onWindowFocusChanged(boolean hasFocus) {\n super.onWindowFocusChanged(hasFocus);\n if (hasFocus) {\n hideSystemUI();\n }\n }", "title": "" }, { "docid": "63d6f75d5c03a5c2f3a2ebf4369ae34b", "score": "0.5601649", "text": "public Builder clearRequireScreenlock() {\n \n requireScreenlock_ = false;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "3c75c8e2b2535f1612d9c5059f816b4b", "score": "0.56007856", "text": "public void restoreScreen() {\r\n\t\tWindow w = vc.getFullScreenWindow();\r\n\t\t\r\n\t\tif ( w != null) {\r\n\t\t\t//free resources;\r\n\t\t\tw.dispose();\r\n\t\t}\r\n\t\t\r\n\t\t//takes away from Full Screen\r\n\t\tvc.setFullScreenWindow(null);\r\n\t}", "title": "" }, { "docid": "b47ef58fb03ba7d64d06b43c50068d0a", "score": "0.5584121", "text": "@SuppressLint(\"InlinedApi\")\n private void show() {\n mContentView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN\n | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION);\n mVisible = true;\n }", "title": "" }, { "docid": "cf01933f2abe9dc8ee11ed37fcc222a5", "score": "0.5534273", "text": "public void clearFlags()\r\n {\r\n flaggedPoints.clear();\r\n boardUpdated = true;\r\n currentlyTrackingFlags.set(false);\r\n }", "title": "" }, { "docid": "35b7751aab92bbad6157136ffcb6ad3c", "score": "0.55194837", "text": "static void reset()\n {\n setPosX = ScreenInformation.screenWidth / 2;\n setPosY = 0;\n speed = 0;\n colissionDetected = false;\n }", "title": "" }, { "docid": "fa88fa8a822f410a9d2707ea5f867b80", "score": "0.55028164", "text": "private void hideFullScreenView() {\n mFullscreenContainer.setVisibility(View.GONE);\n\n // remove any full screen fragment before proceeding\n MirrorView fullScreenMirrorView = getMirrorViewByContainerId(mFullscreenContainer.getId());\n if (fullScreenMirrorView != null) {\n mPresenter.removeView(fullScreenMirrorView.presenterClass());\n }\n }", "title": "" }, { "docid": "3ece1188ec776066a8002ecb4df16fab", "score": "0.5495192", "text": "@Override\n boolean fillsParent() {\n return getWindowingMode() == WINDOWING_MODE_FULLSCREEN || matchParentBounds();\n }", "title": "" }, { "docid": "b4c1e1de74c9a6c2be8badf4f2f51468", "score": "0.5485547", "text": "private int updateSystemUiVisibilityLw() {\n WindowState winCandidate = mFocusedWindow != null ? mFocusedWindow\n : mTopFullscreenOpaqueWindowState;\n if (winCandidate == null) {\n return 0;\n }\n if (winCandidate.getAttrs().token == mImmersiveModeConfirmation.getWindowToken()) {\n // The immersive mode confirmation should never affect the system bar visibility,\n // otherwise it will unhide the navigation bar and hide itself.\n winCandidate = isStatusBarKeyguard() ? mStatusBar : mTopFullscreenOpaqueWindowState;\n if (winCandidate == null) {\n return 0;\n }\n }\n final WindowState win = winCandidate;\n if ((win.getAttrs().privateFlags & PRIVATE_FLAG_KEYGUARD) != 0 && mKeyguardOccluded) {\n // We are updating at a point where the keyguard has gotten\n // focus, but we were last in a state where the top window is\n // hiding it. This is probably because the keyguard as been\n // shown while the top window was displayed, so we want to ignore\n // it here because this is just a very transient change and it\n // will quickly lose focus once it correctly gets hidden.\n return 0;\n }\n\n int tmpVisibility = PolicyControl.getSystemUiVisibility(win, null)\n & ~mResettingSystemUiFlags\n & ~mForceClearedSystemUiFlags;\n if (mForcingShowNavBar && win.getSurfaceLayer() < mForcingShowNavBarLayer) {\n tmpVisibility &= ~PolicyControl.adjustClearableFlags(win, View.SYSTEM_UI_CLEARABLE_FLAGS);\n }\n\n final int fullscreenVisibility = updateLightStatusBarLw(0 /* vis */,\n mTopFullscreenOpaqueWindowState, mTopFullscreenOpaqueOrDimmingWindowState);\n final int dockedVisibility = updateLightStatusBarLw(0 /* vis */,\n mTopDockedOpaqueWindowState, mTopDockedOpaqueOrDimmingWindowState);\n mWindowManagerFuncs.getStackBounds(\n WINDOWING_MODE_UNDEFINED, ACTIVITY_TYPE_HOME, mNonDockedStackBounds);\n mWindowManagerFuncs.getStackBounds(\n WINDOWING_MODE_SPLIT_SCREEN_PRIMARY, ACTIVITY_TYPE_STANDARD, mDockedStackBounds);\n final int visibility = updateSystemBarsLw(win, mLastSystemUiFlags, tmpVisibility);\n final int diff = visibility ^ mLastSystemUiFlags;\n final int fullscreenDiff = fullscreenVisibility ^ mLastFullscreenStackSysUiFlags;\n final int dockedDiff = dockedVisibility ^ mLastDockedStackSysUiFlags;\n final boolean needsMenu = win.getNeedsMenuLw(mTopFullscreenOpaqueWindowState);\n if (diff == 0 && fullscreenDiff == 0 && dockedDiff == 0 && mLastFocusNeedsMenu == needsMenu\n && mFocusedApp == win.getAppToken()\n && mLastNonDockedStackBounds.equals(mNonDockedStackBounds)\n && mLastDockedStackBounds.equals(mDockedStackBounds)) {\n return 0;\n }\n mLastSystemUiFlags = visibility;\n mLastFullscreenStackSysUiFlags = fullscreenVisibility;\n mLastDockedStackSysUiFlags = dockedVisibility;\n mLastFocusNeedsMenu = needsMenu;\n mFocusedApp = win.getAppToken();\n final Rect fullscreenStackBounds = new Rect(mNonDockedStackBounds);\n final Rect dockedStackBounds = new Rect(mDockedStackBounds);\n mHandler.post(new Runnable() {\n @Override\n public void run() {\n StatusBarManagerInternal statusbar = getStatusBarManagerInternal();\n if (statusbar != null) {\n statusbar.setSystemUiVisibility(visibility, fullscreenVisibility,\n dockedVisibility, 0xffffffff, fullscreenStackBounds,\n dockedStackBounds, win.toString());\n statusbar.topAppWindowChanged(needsMenu);\n }\n }\n });\n return diff;\n }", "title": "" }, { "docid": "44822053ad2eb7b437401ceed7ba630d", "score": "0.5467255", "text": "@Override\n protected void onResume() {\n super.onResume();\n hideStatusBar();\n }", "title": "" }, { "docid": "5a66190c09e1827d2c0af2bc8af946f3", "score": "0.5466091", "text": "private void showSystemUI() {\n getWindow().getDecorView().setSystemUiVisibility(\n View.SYSTEM_UI_FLAG_LAYOUT_STABLE\n | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN);\n }", "title": "" }, { "docid": "4f15300b7ac45a09def25b77b559932a", "score": "0.54648745", "text": "private void windowOn()\n {\n mProgressbar.setVisibility(View.GONE);\n getWindow().clearFlags(WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE);\n }", "title": "" }, { "docid": "a779ab59acc6de56082e8b3aec21adc4", "score": "0.54599994", "text": "private void showSystemUI() {\n View decorView = getWindow().getDecorView();\n decorView.setSystemUiVisibility(\n View.SYSTEM_UI_FLAG_LAYOUT_STABLE\n | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN);\n }", "title": "" }, { "docid": "a779ab59acc6de56082e8b3aec21adc4", "score": "0.54599994", "text": "private void showSystemUI() {\n View decorView = getWindow().getDecorView();\n decorView.setSystemUiVisibility(\n View.SYSTEM_UI_FLAG_LAYOUT_STABLE\n | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN);\n }", "title": "" }, { "docid": "46b60fd845e29a7d4a0d90b8ede15820", "score": "0.5459965", "text": "@Override\n public void onFullscreenListener() {\n\n }", "title": "" }, { "docid": "36234af1af467197602eb57d009615a2", "score": "0.5444973", "text": "@TargetApi(19)\n public static void showSystemUI(Activity activity)\n {\n View decorView = activity.getWindow().getDecorView();\n decorView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_STABLE | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN);\n }", "title": "" }, { "docid": "b111aee9d4498f449e2564fdb5dcec12", "score": "0.5431109", "text": "public boolean isFullscreen() { throw new RuntimeException(\"Stub!\"); }", "title": "" }, { "docid": "d73c082172ac6ae3f2b3000393db4843", "score": "0.5401102", "text": "public boolean isUseFullscreenEnabled() {\r\n\t\treturn mUseFullscreen;\r\n\t}", "title": "" }, { "docid": "e95c381cc0c4f6f3e46d6ff0a93d1a83", "score": "0.5400312", "text": "public static void setFullScreen(boolean fullscreen)\n\t{\n\t\t/*\n\t\tGraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();\n\t GraphicsDevice myDevice = ge.getDefaultScreenDevice();\n\t //myDevice.setFullScreenWindow(myWindow);\n\t if(fullscreen)\n\t {\n\t\t if(myDevice.isFullScreenSupported())\n\t\t {\n\t\t \t//System.out.println(\"Yes\");\n\t\t \tmyDevice.setFullScreenWindow(frame);\n\t\t }\n\t }\n\t else\n\t {\n\t \tmyDevice.setFullScreenWindow(null);\n\t }\n\t */\n\t \n\t \n\t\t/*\n\t\ttry \n\t\t{\n\t\t\tappgc.setFullscreen(fullscreen);\n\t\t\tMayflower.fullscreen = fullscreen;\n\t\t} \n\t\tcatch (SlickException e) \n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\t\t*/\n\t}", "title": "" }, { "docid": "9710c809125be835190689276da0c7e6", "score": "0.5400105", "text": "public void toggleFullscreenShutter() {\n if (mIsFullscreenShutter) {\n mIsFullscreenShutter = false;\n mShutterButton.animate().translationY(0).setDuration(400).start();\n } else {\n mIsFullscreenShutter = true;\n mShutterButton.animate().translationY(mShutterButton.getHeight()).setDuration(400).start();\n notify(getString(R.string.fullscreen_shutter_info), 2000);\n }\n updateRingsVisibility();\n }", "title": "" }, { "docid": "fef458f805a7b89da1b87fc8453299a6", "score": "0.5398982", "text": "@Override\n public void onMultiWindowModeChanged(boolean isInMultiWindowMode) {\n super.onMultiWindowModeChanged(isInMultiWindowMode);\n isMultiWindow = isInMultiWindowMode;\n prepare_fullscreen();\n }", "title": "" }, { "docid": "7fbd5841f6e513bc269d9734b0d36b88", "score": "0.5387251", "text": "private void setStatusBar(){\n getActivity().getWindow().addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);\n getActivity().getWindow().clearFlags(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR);\n getActivity().getWindow().setStatusBarColor(getActivity().getResources().getColor(R.color.colorPrimary));\n }", "title": "" }, { "docid": "fdc4c3325b704199435afbba7e2f82ca", "score": "0.5380021", "text": "boolean isFullscreen(){\r\n\t\treturn isFullscreen(getWindow().getAttributes());\r\n\t}", "title": "" }, { "docid": "f469367d73034690058fb4464b697991", "score": "0.53799915", "text": "@Override\n public void stopFreezingScreen() {\n }", "title": "" }, { "docid": "a06f807d08c0bd067174e518bae19e24", "score": "0.5378186", "text": "@Override\n public void onWindowFocusChanged(boolean hasFocus) {\n super.onWindowFocusChanged(hasFocus);\n\n // If we are gaining the focus, go fullscreen\n if (hasFocus) {\n isFullScreen = true;\n prepare_fullscreen();\n }\n }", "title": "" } ]
5ddf94072e0812280027b6e4a7800718
/ 1 2 3 4 5 6 7 8 9
[ { "docid": "616b600e3ad6f4c37b29b0d61beb58b4", "score": "0.0", "text": "@Test\n public void validFieldNumberTest(){\n\n DirectionFieldNumber directionFieldNumber = new DirectionFieldNumber();\n Assert.assertEquals(directionFieldNumber.getFieldNumberOnDirection(Direction.BOTTOM, \"5\").fieldNumber, \"8\");\n Assert.assertEquals(directionFieldNumber.getFieldNumberOnDirection(Direction.BOTTOM, \"1\").fieldNumber, \"4\");\n\n }", "title": "" } ]
[ { "docid": "4573a995beacc59272fc0173230bdcb7", "score": "0.5939053", "text": "private static void doEight() {\n String str = \"mkdir s##@##\";\n for(int i =4831;i <=4838;i++){\n System.out.println(new String(str).replaceAll(\"##@##\", i+\"\"));\n }\n }", "title": "" }, { "docid": "04f73a60189754cc3ea612077c59b7a6", "score": "0.5899967", "text": "@Test\n public void test(){\n System.out.println(10 % 4);\n System.out.println(101 % 4);\n System.out.println(1011 % 4);\n int[] arr = {1,1,1,0,1};\n System.out.println(prefixesDivBy5(arr));\n }", "title": "" }, { "docid": "7b729432da5d2d296cb5f4b4e7a3f8e3", "score": "0.55797005", "text": "@Test\n public void testWords1() {\n for (int i = 0 ; i < 131 ; i++) {\n String result = Numbers.number(\"one\", i);\n System.out.println(\"one[\" + i + \"]: [\" + result + \"]\");\n }\n }", "title": "" }, { "docid": "b74782b96d8719613c7f6fdf5dcb11cc", "score": "0.55369985", "text": "public static void main(String[] args) {\n int[] number= {-10, -5, 0, 1, 4};\n\tSystem.out.println(magicIndex(number,0,number.length));\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "93bad646210a595455606d249527e980", "score": "0.547938", "text": "public static void main(String[] args) {\n\r\n for (int i = 3; i <= 8; i++) {\r\n System.out.print(i + \" \");\r\n }\r\n }", "title": "" }, { "docid": "8340431f2785cc902c479b36f5d84a8f", "score": "0.5358903", "text": "public static void main(String[] args){\n test(new int[] {1,2,15, 20}, 2);\n test(new int[]{1,2,3,4,5,6,7,10,16,29}, 3);\n test(new int[]{1,4,5,5,5}, 4);\n test(new int[] {2,2,3,4,6, 10}, 3);\n }", "title": "" }, { "docid": "91a24de513a71766d7e9c134bee28144", "score": "0.5347733", "text": "public static void main (String[] args) {\n Scanner s = new Scanner(System.in);\n int a = s.nextInt();\n int last = a %10;\n a = a/10;\n System.out.println(a+last);\n\t}", "title": "" }, { "docid": "1007e9bb0b3864771f43a81cee04b1b5", "score": "0.53473073", "text": "public static void main(String[] args) {\n\t\tint[] arr = new int[40];\n\t\tarr[0]=1;\n\t\tarr[1]=1;\n\t\tfor(int i=2;i<=39;i++)\t\t\n\t\t\tarr[i] = arr[i-1] + arr[i-2];\n\t\tfor(int a=0;a<=9;a++)\n\t\t{\n\t\t\tfor(int b=0;b<=3;b++)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(arr[a*4+b]+\" \");\n\t\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}", "title": "" }, { "docid": "4755586b23da132e98ec5cddb658e30a", "score": "0.5341448", "text": "public void multi(int count) {\n\n }", "title": "" }, { "docid": "93183ae6ee92438aa92325f3d6814eb8", "score": "0.53060526", "text": "@Test\n public void test149() throws Throwable {\n int int0 = StringUtils.indexOf(\"4]U<9_r9(SFkozIM+mU\", \"4]U<9_r9(SFkozIM+mU\");\n String string0 = StringUtils.join((Iterable<?>) null, '7');\n }", "title": "" }, { "docid": "b374427fd104d6bf3f852743563edd5a", "score": "0.5292627", "text": "public static void main(String[] args) {\n System.out.println(subInt(1, new int[] {1, 11, 34, 52, 61}));\n // should print: `[0, 1, 4]`\n System.out.println(subInt(9, new int[] {1, 11, 34, 52, 61}));\n // should print: '[]'\n }", "title": "" }, { "docid": "c548c20a98a29873120c046e0e37a280", "score": "0.52721864", "text": "public static void main(String args[]) {\n\t\tint [] plus ={1, 9, 9};\n\t\t//plus[1] = 9;\n\t\t//plus[2] = 9;\n\t\t\n\t\tint[] result = plusOne(plus);\n\t\tfor(int m=0; m<result.length; m++) {\n \tSystem.out.print(result[m]);\n }\n\t}", "title": "" }, { "docid": "5c1c7e98abaf1f3e908d783c5ea3420f", "score": "0.5259362", "text": "public static void main(String[] args) {\n\t\tint i,last=0;\r\n\t\t\r\n\t\tfor(i=111;i<=999;i+=111)\r\n\t\t{\r\n\t\t\t\r\n\t\t\tSystem.out.println(i);\r\n\t\t\t\t\t\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "1c24c6354a8ba3873301b9beb9a373f3", "score": "0.52236533", "text": "public static void ScanSplit() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint number = sc.nextInt();\n\t\tsc.close();\n\t\tint a = number / 100;\n\t\tint b = number % 100 / 10;\n\t\tint c = number % 100 % 10;\n\t\tSystem.out.printf(\"%d\" + \" \" + \"%d\" + \" \" + \"%d\", a, b, c);\n\t}", "title": "" }, { "docid": "971b57f350f74b6e7314a785590ee92b", "score": "0.52171236", "text": "void mo993a(int i, int i2, int i3, int i4);", "title": "" }, { "docid": "21033751650f9103f3ea47c70d6570a4", "score": "0.5212805", "text": "public static void main(String[] args) {\n\t\tfor(int i=1;i<=9;i++)\r\n\t\t{\r\n\t\t\tSystem.out.printf(\"%d*%d=%d\\n\",5,i,5*i);\r\n\t\t}\r\n\t\t}", "title": "" }, { "docid": "95f0960bcf525b573be3a2ac1a9ab159", "score": "0.52076566", "text": "public static void main(String[] args) {\n\t\t\n\t\tint first = 0, second =1 , num=9;\n\t for (int i = 0 ; i <num ; i ++){\n\t \n\t second+=first;\n\t first= second -first;\n\t System.out.println(i + \" values are \" +first + \" and \"+ second);\n\t \n\t \n\t \n\t \n\t }\n\t System.out.print(first);\n\n\t}", "title": "" }, { "docid": "6525c6ba2ee5214f010db28ae39a21b3", "score": "0.520268", "text": "public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int countTo = scanner.nextInt();\n for (int i = 1; i < countTo; i++) {\n makeLInes(i + \" \", i, countTo - i);\n }\n System.out.println(countTo);\n// System.out.println(++contor);\n }", "title": "" }, { "docid": "e09590fcea3c3cc5ac8535bb27147d92", "score": "0.519962", "text": "private static List<Integer> fourDigitPrimes(){\n }", "title": "" }, { "docid": "ea40eeb184e1a807e281fd261b2312d8", "score": "0.5192463", "text": "public static void main(String[] args) {\n System.out.println(subInt(1, new int[] {1, 11, 34, 52, 61}));\n // should print: `[0, 1, 4]`\n System.out.println(subInt(9, new int[] {1, 11, 34, 52, 61}));\n // should print: '[]'\n }", "title": "" }, { "docid": "8a35bb3c4723be0a8a6e7e0ca8515ac2", "score": "0.51864606", "text": "@Test\n public void testForFourBrackets() throws NegativeNumberException {\n testForNBrackets(4, 14);\n }", "title": "" }, { "docid": "de2d574a9ef102464ddbd18a0d8ea1fc", "score": "0.51779085", "text": "public static void main(String[] args) {\n\t\t\n\t\tStringBuffer sb = new StringBuffer();\n\t\tStringBuffer sb1 = new StringBuffer();\n\t\tfor(int i=0;i<=3;i++)\n\t\t{\n\t\t\t\n\t\t\tsb.append(i);\n\t\t\t\n\t\t\t\n\t\t}\n\t\tfor(int i=6;i>=3;i--)\n\t\t{\n\t\t\t\n\t\t\tsb1.append(i);\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\tfor(int k=0;k<sb.length();k++)\n\t\t{\n\t\t\tSystem.out.println(sb.charAt(k)+\",\"+sb1.charAt(k));\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "87cd417fc9ddf3d818054fdea145b07b", "score": "0.5177578", "text": "public static void main(String[] args) {\nint[] num = new int[10];\r\nint i=0;\r\nwhile(i<10) {\r\n\tnum[i] = 10 * (i+1);\r\n\ti++;} \r\nfor (int j=0; j<10; j++)\r\n{System.out.println(num[j]);\r\n}\r\n\t}", "title": "" }, { "docid": "f32f85e87ca16e67429003f1c6140fad", "score": "0.51727104", "text": "public static void main(String[] args) {\n\r\n\t\ttest(10, 20, \"+\");\r\n\r\n\t\ttest(10, 5, \"%\");\r\n\r\n\t\ttest(10, 5, \"/\");\r\n\r\n\t}", "title": "" }, { "docid": "bd419c6fd46efb45dacf8a3561f8ab39", "score": "0.5169616", "text": "void mo1005a(String str, int i);", "title": "" }, { "docid": "92f55e33832cd35a98bc3f6f09d0c28e", "score": "0.5169452", "text": "public static void main(String[] args) {\n System.out.println(123);\n System.out.println(456);\n System.out.println(456);\n System.out.println(456);\n System.out.println(456);\n System.out.println(456);\n System.out.println(456);\n System.out.println(456);\n System.out.println(456);\n\n System.out.println(123);\n System.out.println(789);\n System.out.println(789);\n System.out.println(789);\n System.out.println(789);\n System.out.println(789);\n System.out.println(789);\n System.out.println(123);\n\n }", "title": "" }, { "docid": "b8c61760630eb45b8b2c5acb84e1e2eb", "score": "0.5166618", "text": "@Test\n\tpublic void indexOfRepetativeElemTest() {\n\n\t\tint a[] = { 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4 };\n\t\tAssert.assertTrue(iom.indexOfRepetativeElem(a, 0, a.length - 1) == 8);\n\n\t\tint b[] = { 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5 };\n\t\tAssert.assertTrue(iom.indexOfRepetativeElem(b, 0, b.length - 1) == 5);\n\t}", "title": "" }, { "docid": "0581c10113637c7429ae6c14b510d439", "score": "0.516471", "text": "static void kaprekarNumbers(int p, int q) {\n \tList<Integer> kaprekarNumberList = new ArrayList<Integer>();\n \tfor(int i = p; i <= q; i++) {\n \t\tif(isKaprekarNumber(i)) {\n \t\t\tkaprekarNumberList.add(i);\n \t\t}\n \t}\n \n \tif(kaprekarNumberList.isEmpty()) {\n \t\tSystem.out.println(\"INVALID RANGE\");\n \t} else {\n \t\tfor(Integer value: kaprekarNumberList) {\n \t\t\tSystem.out.print(value + \" \");\n \t\t}\n \t\tSystem.out.println();\n \t}\n }", "title": "" }, { "docid": "ecb862a5131c887fed90d594f3cea06f", "score": "0.5164601", "text": "public static void main(String[] args) {\n\t\tint a=9,b=7,c=4,d=13,e=24,f=5;\r\n\t\tSystem.out.println(a++ +b*c/d%e- --f);\r\n\t\tint g=a++;\r\n\t\tSystem.out.println(g);\r\n\t\tint h=c/d%e;\r\n\t\tSystem.out.println(h);\r\n\t\tint i=--f;\r\n\t\tSystem.out.println(i);\r\n\t\t int e1 = a + +b + +c + d--; //9++7++4+13 \r\n\t\t System.out.println(e1);\r\n\t\t System.out.println(a+ +b);\r\n\t\t System.out.println(a+\" \"+b);\r\n\t\t\r\n\t}", "title": "" }, { "docid": "830f2426a50bf5c8014f99ba0b1c40e0", "score": "0.5163219", "text": "public static int resto (int n,int d){return n%d;}", "title": "" }, { "docid": "6d304a97ff3d7eb8c0919657f65c0bd7", "score": "0.5144339", "text": "public static void main(String[] args) {\n\t\t\n\t\tint number=6;\n\t\tSystem.out.println(number++);\n\t\tSystem.out.println(number);\n\t\tnumber++;\n\t\tnumber++;\n\t\tSystem.out.println(number);\n\t\t--number;\n\t\tSystem.out.println(number);\n\t\t++number;\n\t\tSystem.out.println(number);\n\t\tnumber--;\n\t\tnumber--;\n\t\tnumber++;\n\t\tnumber++;\n\t\t--number;\n\t\t++number;\n\t\tSystem.out.println(number);\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "90d89819d353856a1f0326c66a0bb7f2", "score": "0.5134401", "text": "public static void main(String[] args) {\nint nums[]= {23,456,76543,345,2345};\nSystem.out.println(EvenNumberDigits.findNumbers(nums));\n\t}", "title": "" }, { "docid": "590a5e93c42e4d6da35219100859988d", "score": "0.5130964", "text": "public void rerange(int[] nums) {\n if (nums == null || nums.length == 0) return;\n \n int posCnt = posCount(nums);\n int remainder = 0;\n if (nums.length % 2 != 0 && posCnt > (nums.length - 1) / 2) {\n remainder = 1;\n }\n \n int i = 0, j = 1;\n \n \n while(i < nums.length && j < nums.length) {\n while (i < nums.length && isMatch(nums, i, remainder)) i += 2;\n while (j < nums.length && isMatch(nums, j, remainder)) j += 2;\n if (i < nums.length && j < nums.length) {\n swap(nums, i, j);\n }\n }\n }", "title": "" }, { "docid": "7221cf2f779f570ebdc0a32fc3cb1ca5", "score": "0.5127048", "text": "public static void main(String[] args) {\nint a=1;\nwhile (a<=7)\n{\n\tSystem.out.println(a);\n\ta=a+1;\n\ta++;\n\t}\n}", "title": "" }, { "docid": "a2fa262fae5242c80cd70fa4d57a3423", "score": "0.5121041", "text": "void mo7522wC(int i);", "title": "" }, { "docid": "99400685e5385b877313694b75f788d5", "score": "0.5120612", "text": "public static void main(String[] args) {\n int i;\r\n \r\n for(i=10;i>=1;i--)\r\n {\r\n\t System.out.println(i);\r\n }\r\n\t}", "title": "" }, { "docid": "86fe1c61a34d94f0439c33d2537516ec", "score": "0.5118415", "text": "CharSequence range(int parStart, int parEnd);", "title": "" }, { "docid": "6364050a9463afca76e365dbe1ae768b", "score": "0.5108141", "text": "public static void main(String[] args) {\n System.out.println(cut(4));\n System.out.println(cut(10));\n }", "title": "" }, { "docid": "b97b35578790bd973ec4ffa9062ae2e3", "score": "0.51078826", "text": "include <iostream>\nint main() \n{\n int n,r;\n std::cin>>n;\n for(;n!=0;)\n {\n r=r*10;\n r=r+n%10;\n n=n/10;\n }\n std::cout<<r;\n return 0;\n}", "title": "" }, { "docid": "ab8b9b152d00e3d5956d70f4e6973494", "score": "0.5105396", "text": "void mo103009a(int i, String str, String str2);", "title": "" }, { "docid": "1c34287503189b20c5341c995f7ed6e8", "score": "0.5103466", "text": "public static void main(String[] args) {\n int totaln=10;\n\t\tint basenum=8;\n\t\tfor(int nextn=1;nextn<=totaln;nextn++) {\n\t\t\tint answ=basenum*nextn;\n\t\t\tSystem.out.println(basenum+\"x\"+nextn+\"=\"+answ);\n\t\t}\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "1e1c3affa9da07a9a4c5a33e5be15ed6", "score": "0.5102507", "text": "public static void main(String[] args) {\n\t int n = 14; \r\n\t Vector<Integer> vec = new Vector<Integer>(n+1);\r\n\t vec.addElement(3);\r\n\t vec.addElement(2);\r\n\t vec.addElement(1);\r\n\t vec.addElement(10);\r\n\t vec.addElement(1);\r\n\t vec.addElement(3);\r\n\t vec.addElement(9);\r\n\t vec.addElement(1);\r\n\t vec.addElement(5);\r\n\t vec.addElement(3);\r\n\t vec.addElement(4);\r\n\t vec.addElement(5);\r\n\t vec.addElement(9);\r\n\t vec.addElement(8);\r\n\t \r\n\t \r\n\r\n\t}", "title": "" }, { "docid": "6c29c64a683c0488b6122a74ff4477a3", "score": "0.51011294", "text": "public static void main(String[] args) {\nint[]values=takeInp();\nint[]res=allindices(values,0,33,0);\nfor(int i=0;i<res.length;i++) {\nSystem.out.println(res[i]);\n}\n\t}", "title": "" }, { "docid": "486ad7fbb77f25d182564579e9aea7e2", "score": "0.5097978", "text": "@Test\n public void test168() throws Throwable {\n String string0 = StringUtils.chomp(\"&O>G\");\n String[] stringArray0 = StringUtils.splitPreserveAllTokens(\"&O>G\", \"&O>G\", 101);\n int int0 = StringUtils.lastIndexOf(\"&O>G\", '.', 101);\n String string1 = StringUtils.substringBetween(\"\", \"Q`U~F9V4q{Kq=og<{M\");\n String string2 = StringUtils.center(\"&O>G\", (-1), \"&O>G\");\n String string3 = StringUtils.overlay(\"&O>G\", \"\", 0, 0);\n boolean boolean0 = StringUtils.isNumericSpace(\" is less than 0: \");\n }", "title": "" }, { "docid": "21d68364c37f6cb68bee04a3b7eab6c5", "score": "0.5096156", "text": "public static void main(String[] args) {\n int i=0;\r\n int j=7;\r\n for(i=0;i<j-1;i+=2) {\r\n System.out.print(i+\" \");\r\n }\r\n }", "title": "" }, { "docid": "5eabe760147dc2132d2a27f0f3323521", "score": "0.5094499", "text": "@Test\n\tpublic void Twenty_six() {\n\t\tIncrease.abcSort(3, 1, 2);\n//\t\tIncrease.abcSort(3, 2, 1);\n\t}", "title": "" }, { "docid": "44fe5e12935022a3b817e0ce46217a36", "score": "0.50938326", "text": "void arreglo() {\n\t\tint arr[]= {1,3,5,7,9,13};\n\t\tfor (int i=0; i<arr.length; i++) {\n\t\t\tSystem.out.println(arr [i]);\n\t\t}\n\t}", "title": "" }, { "docid": "9cc11ffc6ccd38f6532016018297ba35", "score": "0.50905436", "text": "public static void main(String[] args) {\n int x[] = { 3,5,4,1 };\r\n int len = x.length;\r\n int number = getNumber(x, len);\r\n System.out.println(number); \r\n \r\n String s = \"Lorem at\"; \r\n int k = 4; \r\n \r\n int n = s.length(); \r\n char[] ch = s.toCharArray(); \r\n \r\n reverseString(ch, n, k); \r\n \r\n for (int i = 0; i < n; i++) \r\n System.out.print(ch[i] + \" \"); \r\n }", "title": "" }, { "docid": "01daf5f00880767a8dae2cf11de8f5e2", "score": "0.50898665", "text": "void mo99958a(int i);", "title": "" }, { "docid": "f283520c7b9203b8e22a52b314c5a52d", "score": "0.5086385", "text": "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\r\n\t\ttest = sc.nextInt();\r\n\t\tfor (int tc = 0; tc < test; tc++) {\r\n\t\tflag = true;\r\n\t\tvisit = new int[100001];\r\n\t\t\r\n\t\tString str = \"\";\r\n\t\tint k = sc.nextInt();\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\tfor (int i = 0; i < k; i++) {\r\n\t\t\tint n =sc.nextInt();\r\n\t\t\tstr += Integer.toString(n);\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\tint idx = 1;\r\n\t\tint range = 10;\r\n\t\tint length = str.length();\r\n\t\twhile(flag) {\r\n\t\t\tfor (int i = 0; i < length; i++) {\r\n\t\t\t\tvisit[Integer.parseInt(str.substring(i,i+idx))] = 1;\r\n\t\t\t\t//System.out.println(str.substring(i,i+idx));\r\n\t\t\t}\r\n\t\t\tcheck(range,tc);\r\n\t\t\trange*=10;\r\n\t\t\tidx++;\r\n\t\t\tlength--;\r\n\t\t\t\r\n\t\t}\r\n\t\t//System.out.println(idx);\r\n\t}\r\n\t}", "title": "" }, { "docid": "ef58a95387981679aa2bd47d306141a1", "score": "0.50822407", "text": "public static void main (String[] args) {\n Scanner sc=new Scanner(System.in);\n int x=sc.nextInt();\n int y=x/10;\n int z=y%10;\n System.out.println(z);\n\t}", "title": "" }, { "docid": "43d20f8c702663ca86abd1e562cc9ea0", "score": "0.5077512", "text": "int query(int l, int r) {\n l += n;\n r += n;\n int resl = identity;\n int resr = identity;\n while (l < r) {\n if ((l & 1) > 0) resl = combine(resl, st[l++]);\n if ((r & 1) > 0) resr = combine(st[--r], resr);\n l /= 2;\n r /= 2;\n }\n return combine(resl, resr);\n }", "title": "" }, { "docid": "9cc6d9ea9c0524e7b6f3090e67f4dfba", "score": "0.5074156", "text": "public static void main(String[] args) {\nfor(int i=1;i<=12;i++)\r\n{\r\n\tif(i==5)\r\n\t\t{\r\n\t\tbreak;\r\n\t\t}\r\n\telse if(i>8 && i<11)\r\n\t{\r\n\t\tcontinue;\r\n\t}\r\n\tSystem.out.println(i);\r\n\t\r\n}\r\n\t}", "title": "" }, { "docid": "2cbf8a94ad6d1a3d237423e770e61134", "score": "0.50717443", "text": "NumberWrapper index();", "title": "" }, { "docid": "7fe645fa966eb8cefa28b8f5ed4bde0c", "score": "0.50711495", "text": "public static void main(String[] args) {\n\t\tlong startTime = System.currentTimeMillis();\n\t\tString s;\n\t\ttry {\t\t\t\n\t\t\ts=\"1,2,5\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"2,4\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"2,3\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"1,2,4\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"1,3\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"2,3\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"1,3\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\t\n\t\t\ts=\"5,6,10,50,48,10\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"15,26,48,5,10,20\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"34,26,5,25,28,31,1\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"5,1,26,48,4,3,42\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"6,29\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"19,46,37,17\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"28,17,39,50\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"16,28,17,38,5,24\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"5,22,33,44,11\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"28,15,6,28,8,41\";\n\t\t\tMainClass.main(s.split(\" \"));\n\n\t\t\ts=\"15,16,10,50,48,10,11,14,19,20\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"15,36,48,5,10,20,1,2,3,4\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"34,26,15,25,28,31,1,19,10,15\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"15,1,26,48,4,3,42,43,43,43\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"6,29,39,40,8,8,8\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"19,46,37,17,20,12,19,20\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"28,17,39,50,49,50,25,27\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"16,28,17,38,5,24,23,12,12,18,10\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"5,22,33,44,11,9,15,7,8,9\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"28,15,6,28,8,41,10,10,23,45,6\";\n\t\t\tMainClass.main(s.split(\" \"));\n\n\t\t\ts=\"25,26,10,50,48,10,11,14,19,20,49,50\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"15,36,48,5,10,20,1,2,3,4,11,12,25,26\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"34,26,15,44,43,21,7\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"15,1,12,17,19,21,43\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"8,8,8,8,8,8,16,16,16\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"8\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"28,29,30,31,32,27,39\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"35,45,7,6,5,10\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"5,22,21,23,6,44,34,43\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"8\";\n\t\t\tMainClass.main(s.split(\" \"));\n\n\n\n\n\t\t\ts=\"43,24,6,18,19,22\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"15,14,16,26,9,7,10\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"5,15,25,35,45,50\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"1,17,15,27,17,12,11\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"8,8,8,16\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"18,45,46,47,49,50\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"28,29,30,31,32,27,39,8,45\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"35,45,7,6,5,10,7\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"5,22,21,23,6,44,34,43,25\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\ts=\"8,27,37,47\";\n\t\t\tMainClass.main(s.split(\" \"));\n\t\t\t\n\t\t\t\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\tcatch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\tfinally{\n\t\t\tlong endTime = System.currentTimeMillis();\n\t\t\tlong totalTime = endTime - startTime;\n\t\t\tSystem.out.println(\"Total Time Required : \"+totalTime);\n\t\t\tSystem.exit(0);\n\t\t}\n\t}", "title": "" }, { "docid": "e15bceba643459156e772f0d84054e1e", "score": "0.50704587", "text": "public static void main(String[] args) {\n int a=0;\n int b=1;\n int c= a+b;\n for ( int i=1; i<=40;i++){\n System.out.print(a+\" \");\n\n a=b;\n b=c;\n c=a+b;\n\n\n }\n\n\n\n }", "title": "" }, { "docid": "cf3da34e46a5ff81e49bf89b85ce1098", "score": "0.5068653", "text": "static void kaprekarNumbers(int p, int q) {\n boolean found = false;\n for (int i = p; i <= q; i++) {\n if (isKaprekar(i)) {\n System.out.print(\"\" + i + \" \");\n found = true;\n }\n }\n if (!found) {\n System.out.print(\"INVALID RANGE\");\n }\n }", "title": "" }, { "docid": "f5f9ce08e1548a0b53d44740a2ddc21b", "score": "0.50652057", "text": "private ArrayList<Integer> find_div (int num){\n ArrayList<Integer> ret = new ArrayList<Integer>();\n // We assume, that the minimal key length is 3.\n for (int i=3;i<=(int)Math.sqrt(num);i++)\n if (num%i==0)\n ret.add(i);\n return ret;\n }", "title": "" }, { "docid": "a9ba6c379ab5c2eb96e5d38311a38038", "score": "0.506467", "text": "public static void main(String[] args) {\n\t\t\n\t\tint num = 1;\n\t\t\n\t\tfor(int i=0;i<9;i++)\n\t\t{\n\t\t\tnum = (num+1) *2;\n\t\t}\n\t\t\n\t\tSystem.out.println(num);\n\n\t}", "title": "" }, { "docid": "afd552b6ddfc2818ef2113092830389b", "score": "0.50644153", "text": "public static void main(String[] args) {\n\t\tfor(int i=1;i<15;i++)\n\t\tSystem.out.println(RBSearch.bRSearch(rnums, 0,rnums.length-1,i));\n\t}", "title": "" }, { "docid": "673ff7b4e5b74194e46dedde0f416dc5", "score": "0.50620955", "text": "public static void main(String[] args) {\n System.out.println(calculate(\"412* 200 / 10 + 9\"));\n System.out.println(calculate(\"0-214748367\"));\n System.out.println(calculate(\"1-1-9\"));\n\n }", "title": "" }, { "docid": "ba25975aae4cf841218854f834e2819a", "score": "0.50556123", "text": "private int[] test() {\n\t\tint[] input = {5, 7, 7, 8, 8, 10};\r\n\t\tint target = 8;\r\n\t\treturn searchRange(input, target);\r\n\t}", "title": "" }, { "docid": "f8c0daccb5702c24639ba6e6f3f49487", "score": "0.5053024", "text": "public static void main(String[] args) {\n\r\n\t\tString a=\"*\";\r\n\t\tfor (int i=1; i<=5 ; i++) {\r\n\t\t\tfor (int j=1; j<=10 ; j++) {\r\n\t\t\t\r\n\t\t\tSystem.out.print(\"*\");\r\n\t\t}\r\n\t\t\tSystem.out.println(\"*\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "e60114dbc6d9b091f33e85926619f61d", "score": "0.5052291", "text": "public static void main(String[] args) {\n\t\t\r\n\t\t\r\n\t\tScanner sc = new Scanner (System.in);\r\n\t\tStringBuilder sb = new StringBuilder();\r\n\t\t\r\n\t\tfor(int t=1;t<=10;t++) {\r\n\t\t\t\r\n\t\tsb.append(\"#\").append(t).append(\" \");\r\n\t\tint n = sc.nextInt();\r\n\t\tQueue<Integer> q = new LinkedList<>();\r\n\t\t\r\n\t\tfor(int i=0;i<8;i++) {\r\n\t\t int tmp = sc.nextInt();\r\n\t\t q.offer(tmp);\r\n\t\t}\r\n\t\tint minus =1;\r\n\r\n\t\twhile(true) {\r\n\t\t\tint tmp= q.poll();\r\n\t\t\tif(tmp - minus <= 0){\r\n\t\t\t\ttmp =0;\r\n\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\telse\r\n\t\t\t\ttmp -= minus++;\r\n\t\t\t\r\n\t\t\tif(minus ==6)\r\n\t\t\t\tminus = 1;\r\n\t\t\t\r\n\t\t\tq.offer(tmp);\r\n\t\t\tif (tmp==0) break;\r\n\t\t}\r\n\t\t\r\n\t\twhile(!q.isEmpty())\r\n\t\t\tsb.append(q.poll()).append(\" \");\r\n\t\t\r\n\t\t\r\n\t\tsb.append(\"\\n\");\t\t\r\n\t\t}\r\n\r\n\t\tSystem.out.println(sb);\r\n\r\n}", "title": "" }, { "docid": "3d4a4488a6cd90bae92b3a011b0fc6f6", "score": "0.5050743", "text": "public static void main(String[] args){\n//\t\ttest1(80);\n//\t\ttest3();\n\t\ttest9();\n\t}", "title": "" }, { "docid": "365477e748cbc33594fda957009a4acf", "score": "0.50478333", "text": "private void sysou() {\n System.out.println(\"1234567899\");\r\n System.out.println(\"1234567899\");\r\n System.out.println(\"1234567899\");\r\n System.out.println(\"1234567899\");\r\n \r\n\t\t}", "title": "" }, { "docid": "d0a259edf698b6f4c91e127674af85ec", "score": "0.50451076", "text": "public static void main(String[] args) {\n\t\tint n=3;\n\t\tfindNthDigit(n);\n\t}", "title": "" }, { "docid": "d95e1e72d229364291d70c8fb0316684", "score": "0.5044029", "text": "@Test\n public void test175() throws Throwable {\n Stack<CharBuffer> stack0 = new Stack<CharBuffer>();\n Iterator<CharBuffer> iterator0 = stack0.iterator();\n String string0 = StringUtils.join(iterator0, '0');\n String[] stringArray0 = StringUtils.split((String) null);\n int int0 = StringUtils.indexOf((CharSequence) null, (CharSequence) null, (-1));\n String string1 = StringUtils.difference(\"e^QT\", (String) null);\n }", "title": "" }, { "docid": "4c99110720d29d5413399daab5eea7fe", "score": "0.50378066", "text": "void mo36366wF(int i);", "title": "" }, { "docid": "2e148638cce4d88e1a358d73e75a9f5d", "score": "0.5037578", "text": "int main() \n{\n\tint n;\n \tcin>>n;\n \tint a=121;\n \tint t=0;\n \tfor(int i=0;i<n;i++){\n \tcout<<a<<\" \";\n \ta=a+104+t;\n \tt=t+32;\n }\n\treturn 0;\n}", "title": "" }, { "docid": "8f871f1dc7d64c6696beeb425911a1ae", "score": "0.50374824", "text": "public static void main(String[] args) {\n\t\tScanner scn=new Scanner(System.in);\n\t\tSystem.out.println(\"請輸入一正整數n\");\n\t\tint n=scn.nextInt();\n\t\tint i;\n\t\tint j;\n\t\tfor(i=n;i>0;i--){\n\t\t\tfor(j=n;j>0;j--){\n\t\t\t\tSystem.out.print(\"*\");\n\t\t\t}\n\t\t\t\t\tSystem.out.println();\n\t\t}\n\n\n\t}", "title": "" }, { "docid": "beff6685ab4a80525755ef523e2286e0", "score": "0.50372213", "text": "public static void main(String[] args) {\n for (byte i = 6; i >= 1; i--) {\n \tfor (byte j = 1; j<= i; j++)\n \t\tSystem.out.print(j);\n \t\tSystem.out.println();\n\n }\n\t}", "title": "" }, { "docid": "1da917c66ff05b139e7c5434e4a73649", "score": "0.5036839", "text": "static void t3(){\n\t tbase(1, new int[]{\n 0,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,32,33,34,35,36,37,38,39,40,41,42,\n 43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,\n 83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,\n 117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,\n 147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,\n 177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,\n 207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,\n 237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,\n 267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,\n 297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,\n 327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,\n 357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,\n 387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,\n 417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,\n 447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,\n 477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,501,502,503,504,505,506,\n 507,508,509,510,511,512,513,514,515,516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,531,532,533,534,535,536,\n 537,538,539,540,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,\n 567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,591,592,593,594,595,596,\n 597,598,599,600,601,602,603,604,605,606,607,608,609,610,611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,\n 627,628,629,630,631,632,633,634,635,636,637,638,639,640,641,642,643,644,645,646,647,648,649,650,651,652,653,654,655,656,\n 657,658,659,660,661,662,663,664,665,666,667,668,669,670,671,672,673,674,675,676,677,678,679,680,681,682,683,684,685,686,\n 687,688,689,690,691,692,693,694,695,696,697,698,699,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,\n 717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,\n 747,748,749,750,751,752,753,754,755,756,757,758,759,760,761,762,763,764,765,766,767,768,769,770,771,772,773,774,775,776,\n 777,778,779,780,781,782,783,784,785,786,787,788,789,790,791,792,793,794,795,796,797,798,799,800,801,802,803,804,805,806,\n 807,808,809,810,811,812,813,814,815,816,817,818,819,820,821,822,823,824,825,826,827,828,829,830,831,832,833,834,835,836,\n 837,838,839,840,841,842,843,844,845,846,847,848,849,850,851,852,853,854,855,856,857,858,859,860,861,862,863,864,865,866,\n 867,868,869,870,871,872,873,874,875,876,877,878,879,880,881,882,883,884,885,886,887,888,889,890,891,892,893,894,895,896,\n 897,898,899,900,901,902,903,904,905,906,907,908,909,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,\n 927,928,929,930,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,\n 957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,975,976,977,978,979,980,981,982,983,984,985,986,\n 987,988,989,990,991,992,993,994,995,996,997,998,999,1000,1001,1002,1003,1004,1005,1006,1007,1008,1009,1010,1011,1012,1013,\n 1014,1015,1016,1017,1018,1019,1020,1021,1022,1023,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037\n\t });\n\t}", "title": "" }, { "docid": "2ccf5d1c050edb967df94ac7f1dbace6", "score": "0.5035545", "text": "public void a001() {\n // gotta use recursive function\n // n = R(i-1) * R(i-2) * R(1);\n List<Integer> x = new LinkedList<>();\n primeDivident(10,x);\n System.out.println(x);\n primeDivident(144,x);\n System.out.println(x);\n }", "title": "" }, { "docid": "da093fd88961a8163fe80abd4a0473bf", "score": "0.5031431", "text": "private List<String> nextDivisible(int divisibleBy, List<String> values) {\n List<String> candidates = new ArrayList<>();\n for (String value : values) {\n String sub = value.substring(0, 2);\n for (int i = 0; i < 10; i++) {\n int v = Integer.parseInt(\"\" + i + sub);\n if (v == 0) {\n continue;\n }\n if (v % divisibleBy == 0) {\n candidates.add(\"\" + i + value);\n }\n }\n }\n return candidates;\n }", "title": "" }, { "docid": "d6c72cf9bed8c849a1b71da4f7a564b5", "score": "0.5029126", "text": "@Test\n public void test148() throws Throwable {\n String string0 = StringUtils.repeat(\"!iygy6g|<xS?\", \"!iygy6g|<xS?\", (-3724));\n Vector<Object> vector0 = new Vector<Object>();\n boolean boolean0 = vector0.add((Object) \"!iygy6g|<xS?\");\n String string1 = StringUtils.join((Iterable<?>) vector0, \"!iygy6g|<xS?\");\n int int0 = StringUtils.lastIndexOf((CharSequence) \"\", (CharSequence) \"\");\n int int1 = StringUtils.indexOf((CharSequence) \"!iygy6g|<xS?\", (-3724), (-4299));\n String string2 = StringUtils.removeEndIgnoreCase(\"1.8\", (String) null);\n }", "title": "" }, { "docid": "b8b5b918a8a7caa3867241d16a45e498", "score": "0.5027712", "text": "public List<Integer> rightDigit(List<Integer> nums) {\n return nums.stream()\n .map(num -> num % 10)\n .collect(Collectors.toList());\n\n //nums.replaceAll(num -> num % 10);\n //return nums;\n }", "title": "" }, { "docid": "f8382963bafa1825e429c062eb86df16", "score": "0.50271857", "text": "public static void main(String[] args) {\n\t\tint n = 5;\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\tfor (int j = 1; j <= n - i; j++) {\n\t\t\t\tSystem.out.print(\"*\");\n\t\t\t}\n\t\t\t// 打印空格后面的字符,从第一列开始往后打印\n\t\t\tfor (int j = 1; j <= i; j++) {\n\t\t\t\tSystem.out.print(num(i, j) + \"&\");\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}", "title": "" }, { "docid": "1d40f2ed5fa1c634e21451730aaedd2b", "score": "0.5026878", "text": "void mo29294a(int i);", "title": "" }, { "docid": "69a2537fd930d0ce598b2fcd53a1c6d9", "score": "0.5025413", "text": "void iterate(int first, int second);", "title": "" }, { "docid": "f96dfb7a738cd742b8dd674796c62d42", "score": "0.50249434", "text": "private static List<String> helper(int n, int m) {\n if (n == 0) {\n return new ArrayList<>(Arrays.asList(\"\")); // need empty string, for even numbers\n }\n if (n == 1) {\n return new ArrayList<>(Arrays.asList(\"0\", \"1\", \"8\")); //single numbers that are strobogrammatic\n }\n\n // we are adding numbers on both sides, so n-2\n List<String> next = helper(n-2, m);\n\n List<String> ans = new ArrayList<>();\n for (String s: next) {\n // we cannot have 0s on front or back\n if (n != m) {\n ans.add(\"0\" + s + \"0\");\n }\n ans.add(\"1\" + s + \"1\");\n ans.add(\"6\" + s + \"9\");\n ans.add(\"8\" + s + \"8\");\n ans.add(\"9\" + s + \"6\"); // note\n }\n\n return ans;\n }", "title": "" }, { "docid": "dc7de8b0d193e060ff2623d72ac3dd44", "score": "0.5024898", "text": "public static void main(String[] args) {\n\r\n\t\tint []x= {5,10,15,20,25,30};\r\n\t\tint l=x.length;\r\n\t\tfor(int i=l-1;i>=0;i=i-1) {\r\n\t\t\tSystem.out.println(x[i]);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "1da1aadeb3096390d1e6e6d1ef2a9663", "score": "0.50160325", "text": "@Test \r\n\tpublic void testRegexGreedy(){\r\n\t\t \r\n\t\tPattern p = Pattern.compile(\"\\\\d*\");\r\n\t\tMatcher m = p.matcher(\"ab34ef\");\r\n\t\tString matches = \"\";\r\n\t\twhile(m.find()) {\r\n\t\t\tmatches += (m.start() + m.group());\r\n\t\t}\r\n\t\t\r\n\t\tassertEquals(\"01234456\", matches);\r\n\t}", "title": "" }, { "docid": "ee9b6b7255a19a404d9cd5e1b70fc9d8", "score": "0.5015341", "text": "public static void main(String[] args) {\n\t\tfor (int i = 1; i <= 9; i++) { // 循环控制变量从1遍历到9\n\t\t\tfor (int j = 1; j <= i; j++) { // 第二层循环控制变量与第一层最大索引相等\n\t\t\t\t// 输出计算结果但不换行\n\t\t\t\tSystem.out.print(j+\"*\"+i+\"=\"+i*j+\"\\t\");\n\t\t\t}\n\t\t\tSystem.out.println(); // 在外层循环中换行\n\t\t}\n\t}", "title": "" }, { "docid": "f6e31aac456085a032ac28765fe9120e", "score": "0.5012688", "text": "public void Series() {\n\t\tint n=31;\n\t\twhile (n>=15) {\n\t\t\tSystem.out.print(n+\" \");\n\t\t\tn=n-2;\n\t\t\tSystem.out.print(n+\" \");\n\t\t\tn=n-5;\n\t\t}\n\t\t/*System.out.println(n);\n\t\t\n\t\tn=n-2;\n\t\tSystem.out.println(n);\n\t\tn=n-5;\n\t\tSystem.out.println(n);\n\t\tn=n-2;\n\t\tSystem.out.println(n);\n\t\tn=n-5;\n\t\tSystem.out.println(n);*/\n\t\t\n\t\t/*System.out.println(31);\n\t\tSystem.out.println(29);\n\t\tSystem.out.println(24);\n\t\tSystem.out.println(22);\n\t\tSystem.out.println(17);\n\t\tSystem.out.println(15);*/\n\t\t\n\t}", "title": "" }, { "docid": "9be1e74eb0ae7551f92c3be2668c7b18", "score": "0.50108004", "text": "public static void main(String[] args) {\n Random r = new Random();\n int number0=0;\n int number1=0;\n int number2=0;\n int number3=0;\n int number4=0;\n int number5=0;\n int number6=0;\n int number7=0;\n int number8=0;\n int number9=0;\n \n for(int i =0; i < 100; i++)\n {\n \t int index = r.nextInt(10);\n \t System.out.print(index);\n switch (index) {\n case 0: number0++;break;\n case 1: number1++;break;\n case 2: number2++;break;\n case 3: number3++;break;\n case 4: number4++;break;\n case 5: number5++;break;\n case 6: number6++;break;\n case 7: number7++;break;\n case 8: number8++;break;\n default: number9++;break;\n }\n \t \n }\n System.out.println(\"0的个数\"+number0);\n\t\n\t System.out.println(\"1的个数\"+number1);\n\t System.out.println(\"2的个数\"+number2);\n\t System.out.println(\"3的个数\"+number3);\n\t System.out.println(\"4的个数\"+number4);\n\t System.out.println(\"5的个数\"+number5);\n\t System.out.println(\"6的个数\"+number6);\n\t System.out.println(\"7的个数\"+number7);\n\t System.out.println(\"8的个数\"+number8);\n\t System.out.println(\"9的个数\"+number9);\n\t \n}", "title": "" }, { "docid": "991192a0da3a669578aa7ecf08beeceb", "score": "0.50068086", "text": "public static void main(String[] args) {\n\t\tint [] array = new int[10];\r\n\t\t\t\t\r\n\t\tfor(int counter = 0; counter < 10 ; counter++)\r\n\t\tarray[0] = 10;\r\n\t\tarray[1] = 9;\r\n\t\tarray[2] = 8;\r\n\t\tarray[3] = 7;\r\n\t\tarray[4] = 6;\r\n\t\tarray[5] = 5;\r\n\t\tarray[6] = 4;\r\n\t\tarray[7] = 3;\r\n\t\tarray[8] = 2;\r\n\t\tarray[9] = 1;\r\n\t\tSystem.out.println(array[0]);\r\n\t\tSystem.out.println(array[1]);\r\n\t\tSystem.out.println(array[2]);\r\n\t\tSystem.out.println(array[3]);\r\n\t\tSystem.out.println(array[4]);\r\n\t\tSystem.out.println(array[5]);\r\n\t\tSystem.out.println(array[6]);\r\n\t\tSystem.out.println(array[7]);\r\n\t\tSystem.out.println(array[8]);\r\n\t\tSystem.out.println(array[9]);\r\n\t\t\r\n\t\t//ou pode ser feito da seguinte maneira\r\n\t\t\r\n\t\t}", "title": "" }, { "docid": "2f8b360d4fc1cc067e22975aba0c403b", "score": "0.5004217", "text": "void mo24262a(String str, int i, String str2);", "title": "" }, { "docid": "02cd170a4b5f59916dafb1c83be26568", "score": "0.5002733", "text": "public abstract int separatorStart(int i);", "title": "" }, { "docid": "24b6624e99ca7325daeaee5d4e4ea1af", "score": "0.50019765", "text": "public static void main(String[] args) {\n\t\tfor(int i=1;i<=9;i+=2)\r\n\t\t{\r\n\t\t\tfor(int j=1;j<=i;j++)\r\n\t\t\t{\r\n\t\t\tSystem.out.print(\"*\");\r\n\t\t}\r\n\t\t\tSystem.out.println(\"\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "9245e35fde5ff7726837dbac126e4a06", "score": "0.50009596", "text": "@Test\n public void test_permutation_0030() {\n double instance = FunctionOps.permutation(10, 3);\n assertEquals(720, instance, 0);\n }", "title": "" }, { "docid": "3385eefce0a881e31a712a6e2ed8725d", "score": "0.49999952", "text": "void insertDigit(int digit);", "title": "" }, { "docid": "66cda0a434e2d1f1c2b49b3110c1ebfb", "score": "0.49975398", "text": "void mo53807bh(String str, int i);", "title": "" }, { "docid": "7c528afd27857efec2e84b089a5025e4", "score": "0.49962226", "text": "private static String rPattern(int number, String result) {\r\n\r\n\t\tif(number == 0) {\r\n\r\n\t\t\tresult += \"\";\r\n\r\n\t\t}\r\n\t\telse {\r\n\r\n\t\t\tif (number < 6) {\r\n\t\t\t\tresult = rPattern(number - 1, result) + \" \" + number + rPattern(number - 1, result);\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tresult = rPattern(number - 1, result) + \" \" + number + \"\\n\" + rPattern(number - 1, result);\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\t\treturn result;\r\n\r\n\t}", "title": "" }, { "docid": "6a4fbb079132df8e9f19b64d69bb736e", "score": "0.4995097", "text": "void m21531a(int i);", "title": "" }, { "docid": "fbb4dd7763e871dc2efcb18eaff57e12", "score": "0.499014", "text": "@Test\r\n\tpublic void Sample_2() {\r\n\t\tfor (int i = 0; i < 100; i++) {\r\n\t\t\tr(\"Sample[{1, 2, 3, 4, 5}, 5, true]\",\r\n\t\t\t\t\t\"\\\\{([1-5],\\\\s){4}[1-5]\\\\}\",\r\n\t\t\t\t\t\"A list containing five elements out of {1, 2, 3, 4, 5}, where elements may be contained several times.\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "8cee1e7de438dcb594265836174ec2bd", "score": "0.498985", "text": "public static void main(String[] args) {\n\t\tPattern p = Pattern.compile(\"a{2,3}\");\n\t\t\n\t\tMatcher m = p.matcher(\"abaabaaabaaaab\");\n\t\t\n\t\twhile(m.find()){\n\t\t\tSystem.out.println(m.start()+\"====\"+m.group());\n\t\t}\n\n\t}", "title": "" }, { "docid": "ded457365b26cd2e0cbea117e7d63983", "score": "0.49891403", "text": "@Test\n public void test_permutation_0010() {\n double instance = FunctionOps.permutation(5, 3);\n assertEquals(60, instance, 0);\n }", "title": "" }, { "docid": "8e58fd899ce510ce68598a38f662952d", "score": "0.49884522", "text": "public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int N = scanner.nextInt();\n\n List<Integer> list = new ArrayList<>();\n for (int i = 0; i < N; i++) {\n list.add(scanner.nextInt());\n }\n\n int res = 0; //组数\n int pre = 0; //上一个数\n for (Integer i : list) {\n if (i>pre) {\n pre = i;\n res++;\n } else {\n pre = i;\n }\n }\n\n System.out.println(res);\n //System.out.println(2);\n }", "title": "" }, { "docid": "d8292ec683b56f626c15c12a28b7a76d", "score": "0.4986681", "text": "public static void main(String[] args) {\n\t\r\n\t Scanner sc = new Scanner(System.in);\r\n\t int num=sc.nextInt();\r\n\t int number=2*num;\r\n\t int i=0;\r\n\t int x=number;\r\n\t int c=0;\r\n\t \r\n\t \r\n\r\n\t \r\n\t while(i<num)\r\n\r\n\t {\r\n\t int j=number;\r\n\t \r\n\t int p=number-c;\r\n\t int v=0;\r\n\t \r\n\t \r\n\t while(j>=0)\r\n\t {\r\n\t if (j==(number/2)||((j==p)&&(j>number/2))||(j==i))\r\n\t {\r\n\t System.out.print(\"*\");\r\n\t }\r\n\t \r\n\t else\r\n\t {\r\n\t System.out.print(v);\r\n\t }\r\n\t \r\n\t j-=1;\r\n\t \r\n\t \r\n\t }\r\n\t System.out.println();\r\n\t i+=1;\r\n\t c+=1;\r\n\t }\r\n\t\t}", "title": "" }, { "docid": "adc717c7a85a14b67abc1fa8e1b26c6a", "score": "0.49860895", "text": "public static void main(String[] args) {\n int n = 3;\r\n process(n, \"左\",\"右\",\"中\");\r\n }", "title": "" } ]
1b0db9a86fbc30535f4932272842fb48
/ renamed from: a
[ { "docid": "8427b608940893b806d6f1bbc8c2c979", "score": "0.0", "text": "public final String m2261a(String str, String str2) {\n JsonValue a = m2259a(str);\n return (a == null || !a.m2256r() || a.m2255q()) ? str2 : a.m2260a();\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": "" } ]
19444c343e8f670fb4cdfe3cb735c3c6
We apply recursion until we discover a square without a ship part on it. When the square left of the square given to this method does have a part of a ship on it, we rerun the method until we find a square without a ship part on it. We also give the squares up and down the colors orange, which are blocks around the ships that have to be marked as well.
[ { "docid": "9bd85efe6bfceddfbef78cbb695c0ed6", "score": "0.0", "text": "public void setSquareColorLeft(Square square) {\n square.setFill((Color.GREEN));\n if (getSquareLeft(square) != null && getSquareLeft(square).getShip() != null) {\n setSquareColorLeft(getSquareLeft(square));\n getSquareUp(square).setFill(Color.BLACK);\n getSquareBelow(square).setFill(Color.BLACK);\n getSquareUp(square).shooted = true;\n getSquareBelow(square).shooted = true;\n } else {\n getSquareLeft(square).setFill(Color.BLACK);\n getSquareUp(square).setFill(Color.BLACK);\n getSquareBelow(square).setFill(Color.BLACK);\n getSquareLeft(square).shooted = true;\n getSquareUp(square).shooted = true;\n getSquareBelow(square).shooted = true;\n }\n }", "title": "" } ]
[ { "docid": "42bbcc32b495dccf6b2bdde5013718c6", "score": "0.6937084", "text": "private void markNonBoxSquares()\n {\n final byte TOP = 0x1;\n final byte BOTTOM = 0x2;\n final byte LEFT = 0x4;\n final byte RIGHT = 0x8;\n \n final byte VERTICAL = TOP | BOTTOM;\n final byte HORIZONTAL = LEFT | RIGHT;\n \n final byte blocked[][] = new byte[height][width];\n \n for (int y = 1; y < height - 1; y++) {\n for (int x = 1; x < width - 1; x++) {\n // Break the \"blocked lines\" if there's a goal\n if (is(cells[y][x], GOAL)) {\n continue;\n }\n \n final byte neighborWalls = (byte) ((is(cells[y - 1][x], WALL) ? TOP\n : 0)\n | (is(cells[y + 1][x], WALL) ? BOTTOM : 0)\n | (is(cells[y][x - 1], WALL) ? LEFT : 0) | (is(\n cells[y][x + 1], WALL) ? RIGHT : 0));\n \n // How the current cell can be blocked at most,\n // taking cells to the left and above into account.\n final byte verticalBlocked = (byte) (neighborWalls\n & blocked[y][x - 1] & VERTICAL);\n final byte horizontalBlocked = (byte) (neighborWalls\n & blocked[y - 1][x] & HORIZONTAL);\n \n if (!is(cells[y - 1][x], WALL)) {\n // Use common vertical blocking status with the block to the\n // left\n blocked[y][x] |= verticalBlocked;\n }\n else if ((blocked[y][x - 1] & VERTICAL) != 0) {\n // There's a wall and the preceeding cells are blocked\n // somehow\n for (int i = x; i > 1; i--) {\n if (is(cells[y][i], WALL)) {\n break;\n }\n else {\n cells[y][i] |= NO_BOX;\n }\n }\n }\n \n // Work in progress\n /*\n * if (horizontalBlocked != 0 && !is(cells[y][x-1], WALL)) {\n * blocked[y][x] |= verticalBlocked;\n * }\n */\n }\n }\n }", "title": "" }, { "docid": "92621daedb746c4d52fdadba29e4aa45", "score": "0.6627992", "text": "public void drawLegalMoves() {\n ArrayList<Move[]> possibleMoves = activePiece.getLegalMoves(); \n ArrayList<Move[]> captureMoves;\n int deltaCol;\n int deltaRow;\n int newCol;\n int newRow;\n if (activePiece.isFirstMove() && !(activePiece.getLegalFirstMoves().isEmpty())) {\n possibleMoves = activePiece.getLegalFirstMoves(); \n }\n if (activePiece instanceof Pawn) {\n captureMoves = ((Pawn) activePiece).getCaptureMoves();\n for (int i = 0; i < captureMoves.size(); i++) {\n for(int j = 0; j < captureMoves.get(i).length; j++) {\n\n deltaCol = captureMoves.get(i)[j].getCol();\n deltaRow = captureMoves.get(i)[j].getRow();\n newCol = activePiece.getCol() + deltaCol;\n newRow = activePiece.getRow() + deltaRow;\n if (withinBounds(newCol, newRow) && !noPiece(newCol, newRow) && squares[newCol][newRow].getPiece().getColor() != activePiece.getColor()) {\n squares[newCol][newRow].changeColor(Color.RED); \n } \n }\n } \n }\n for (int i = 0; i < possibleMoves.size(); i++) {\n for(int j = 0; j < possibleMoves.get(i).length; j++) {\n deltaCol = possibleMoves.get(i)[j].getCol();\n deltaRow = possibleMoves.get(i)[j].getRow();\n newCol = activePiece.getCol() + deltaCol;\n newRow = activePiece.getRow() + deltaRow;\n if (withinBounds(newCol, newRow)) {\n if (noPiece(newCol, newRow)) {\n squares[newCol][newRow].changeColor(Color.GREEN); \n } else {\n if (squares[newCol][newRow].getPiece().getColor() != activePiece.getColor() && !(activePiece instanceof Pawn)) {\n squares[newCol][newRow].changeColor(Color.RED); \n }\n break;\n }\n }\n }\n }\n }", "title": "" }, { "docid": "0489dc771de72fda3d7bf0f8dd9a9adc", "score": "0.64812595", "text": "@Override\n /**\n * @param boardSquare is the current board situation\n * @param x is the x of Pawn in board\n * @param y is the y of Pawn in board\n * @return arraylist of next possible squares of Pawn\n */\n public ArrayList<Square> move(Square [][] boardSquares, int x, int y) {\n ArrayList<Square> possibleSquares=new ArrayList<>();\n\n if(getPieceColor().equals(\"w\")){\n if(x==0){\n return possibleSquares;\n }\n if(boardSquares[x-1][y].getPiece()==null) {\n possibleSquares.add(boardSquares[x - 1][y]);\n if (x == 6) {\n if (boardSquares[4][y].getPiece() == null)\n possibleSquares.add(boardSquares[4][y]);\n }\n }\n if ((y > 0) && (boardSquares[x - 1][y - 1].getPiece() != null) && (!boardSquares[x - 1][y - 1].getPiece().getPieceColor().equals(this.getPieceColor())))\n possibleSquares.add(boardSquares[x - 1][y - 1]);\n if ((y < 7) && (boardSquares[x - 1][y + 1].getPiece() != null) && (!boardSquares[x - 1][y + 1].getPiece().getPieceColor().equals(this.getPieceColor())))\n possibleSquares.add(boardSquares[x - 1][y + 1]);\n }\n else if(getPieceColor().equals(\"b\")) {\n if (x == 8)\n return possibleSquares;\n if (boardSquares[x + 1][y].getPiece() == null) {\n possibleSquares.add(boardSquares[x + 1][y]);\n if (x == 1) {\n if (boardSquares[3][y].getPiece() == null)\n possibleSquares.add(boardSquares[3][y]);\n }\n }\n if ((y > 0) && (boardSquares[x + 1][y - 1].getPiece() != null) && (!boardSquares[x + 1][y - 1].getPiece().getPieceColor().equals(this.getPieceColor())))\n possibleSquares.add(boardSquares[x + 1][y - 1]);\n if ((y < 7) && (boardSquares[x + 1][y + 1].getPiece() != null) && (!boardSquares[x + 1][y + 1].getPiece().getPieceColor().equals(this.getPieceColor())))\n possibleSquares.add(boardSquares[x + 1][y + 1]);\n }\n\n\n return possibleSquares;\n\n }", "title": "" }, { "docid": "2e08163dad83ab5daf5809c29a3dbe0f", "score": "0.62471753", "text": "boolean checkPlacement( Square[] piece, Board board, Color color){\n\n \t//Checks for out of bounds or already taken\n \tfor (Square s : piece){\n \t\t\n \t\t//System.out.println(s.xLoc);\n \t\t//System.out.println(s.yLoc);\n \t\t\n \t\tif (s.xLoc > 19 || s.xLoc < 0) {\n \t\t\treturn false;\n \t\t}\n \t\t\n \t\tif (s.yLoc > 19 || s.yLoc < 0) {\n \t\t\treturn false;\n \t\t}\n \t\t\n \t\tif(Board.getTaken(s.xLoc , s.yLoc)) {\n \t\t\treturn false;\n \t\t}\n\n \t\t// if not first turn\n \t\tif(!firstTurnP) {\n \t\t\t\n \t\t\tboolean up = false;\n\t\t\t\tboolean left = false;\n\t\t\t\tboolean right = false;\n\t\t\t\tboolean down = false;\n\t\t\t\t\n\t\t\t\t// loop that checks which parts of a piece are a corner\n \t\t\tfor (int i = 0; i < piece.length; i ++) {\n \t\t\t\t\t\n \t\t\t\t\n \t\t\t\t\n \t\t\t\tif (piece[i].xLoc + 1 == s.xLoc && piece[i].yLoc == s.yLoc){\n \t\t\t\t\tdown = true;\n \t\t\t\t}\n \t\t\t\t\n \t\t\t\tif (piece[i].xLoc - 1 == s.xLoc && piece[i].yLoc == s.yLoc){\n \t\t\t\t\tup = true;\n \t\t\t\t}\n \t\t\t\t\n \t\t\t\tif (piece[i].yLoc + 1 == s.yLoc && piece[i].xLoc == s.xLoc){\n \t\t\t\t\tright = true;\n \t\t\t\t}\n \t\t\t\t\n \t\t\t\tif (piece[i].yLoc - 1 == s.yLoc && piece[i].xLoc == s.xLoc){\n \t\t\t\t\tleft = true;\n \t\t\t\t}\n\n \t\t\t\t}\n \t\t\t\t\n \t\t\t//System.out.println(up);\n \t\t\t//System.out.println(down);\n \t\t\t//System.out.println(left);\n \t\t\t//System.out.println(right);\n \t\t\t\n \t\t\t//The rest of the if statements check corners against the current state of the board. checking if taken and color of pieces on board\n \t\t\t\n \t\t\tif(!up && !down && !left && !right ) {\n\t\t\t\t\t\n\t\t\t\t\ttry {\n\t\t\t\t\tif(board.getTaken(s.xLoc - 1, s.yLoc -1) && board.gameBoard[s.xLoc - 1][s.yLoc -1].color == color) {\n\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\tif(board.gameBoard[s.xLoc - 1][s.yLoc].color == color ||board.gameBoard[s.xLoc][s.yLoc-1].color == color) {\n\t\t\t\t\t\t\treturn false;\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\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\tif(board.getTaken(s.xLoc - 1, s.yLoc + 1)&& board.gameBoard[s.xLoc - 1][s.yLoc +1].color == color) {\n\t\t\t\t\t\tif(board.gameBoard[s.xLoc - 1][s.yLoc].color == color ||board.gameBoard[s.xLoc][s.yLoc+1].color == color) {\n\t\t\t\t\t\t\treturn false;\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\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(board.getTaken(s.xLoc + 1, s.yLoc -1)&& board.gameBoard[s.xLoc + 1][s.yLoc -1].color == color) {\n\t\t\t\t\t\tif(board.gameBoard[s.xLoc + 1][s.yLoc].color == color ||board.gameBoard[s.xLoc][s.yLoc-1].color == color) {\n\t\t\t\t\t\t\treturn false;\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\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(board.getTaken(s.xLoc + 1, s.yLoc + 1)&& board.gameBoard[s.xLoc + 1][s.yLoc +1].color == color) {\n\t\t\t\t\t\tif(board.gameBoard[s.xLoc + 1][s.yLoc].color == color ||board.gameBoard[s.xLoc][s.yLoc+1].color == color) {\n\t\t\t\t\t\t\treturn false;\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\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tcatch(Exception e) {\n\t\t\t\t\t\t\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\t\n \t\t\t\n \t\t\t\tif(up && !down && !left && !right) {\n \t\t\t\t\t\n \t\t\t\t\ttry {\n \t\t\t\t\tif(board.getTaken(s.xLoc - 1, s.yLoc + 1)&& board.gameBoard[s.xLoc - 1][s.yLoc +1].color == color) {\n \t\t\t\t\t\tif(board.gameBoard[s.xLoc - 1][s.yLoc].color == color ||board.gameBoard[s.xLoc][s.yLoc+1].color == color) {\n \t\t\t\t\t\t\treturn false;\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\treturn true;\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\t\n \t\t\t\t\tif (board.getTaken(s.xLoc - 1, s.yLoc - 1)&& board.gameBoard[s.xLoc - 1][s.yLoc -1].color == color){\n \t\t\t\t\t\tif(board.gameBoard[s.xLoc - 1][s.yLoc].color == color ||board.gameBoard[s.xLoc][s.yLoc-1].color == color) {\n \t\t\t\t\t\t\treturn false;\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\treturn true;\n \t\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\t}\n \t\t\t\t\tcatch(Exception 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\t\n \t\t\t\tif(down&& !left && !right && !up) {\n \t\t\t\t\t\n \t\t\t\t\t\n \t\t\t\t\ttry {\n \t\t\t\t\tif(board.getTaken(s.xLoc + 1, s.yLoc +1)&& board.gameBoard[s.xLoc + 1][s.yLoc +1].color == color) {\n \t\t\t\t\t\tif(board.gameBoard[s.xLoc + 1][s.yLoc].color == color ||board.gameBoard[s.xLoc][s.yLoc+1].color == color) {\n \t\t\t\t\t\t\treturn false;\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\treturn true;\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\t\n \t\t\t\t\tif(board.getTaken(s.xLoc + 1, s.yLoc - 1)&& board.gameBoard[s.xLoc + 1][s.yLoc -1].color == color) {\n \t\t\t\t\t\tif(board.gameBoard[s.xLoc + 1][s.yLoc].color == color ||board.gameBoard[s.xLoc][s.yLoc-1].color == color) {\n \t\t\t\t\t\t\treturn false;\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\treturn true;\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tcatch(Exception 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\t\n \t\t\t\t\n \t\t\t\tif(left && !up && !down && !right) {\n \t\t\t\t\t\n \t\t\t\t\ttry {\n \t\t\t\t\tif(board.getTaken(s.xLoc + 1, s.yLoc -1)&& board.gameBoard[s.xLoc + 1][s.yLoc -1].color == color) {\n \t\t\t\t\t\tif(board.gameBoard[s.xLoc + 1][s.yLoc].color == color ||board.gameBoard[s.xLoc][s.yLoc-1].color == color) {\n \t\t\t\t\t\t\treturn false;\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\treturn true;\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tif(board.getTaken(s.xLoc - 1, s.yLoc - 1)&& board.gameBoard[s.xLoc - 1][s.yLoc -1].color == color) {\n \t\t\t\t\t\tif(board.gameBoard[s.xLoc - 1][s.yLoc].color == color ||board.gameBoard[s.xLoc][s.yLoc-1].color == color) {\n \t\t\t\t\t\t\treturn false;\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\treturn true;\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tcatch(Exception e) {\n \t\t\t\t\t\t\n \t\t\t\t\t}\n\n \t\t\t\t}\n \t\t\t\t\n \t\t\t\tif(right && !up && !down && !left) {\n \t\t\t\n \t\t\t\t\t\n \t\t\t\t\ttry {\n \t\t\t\t\tif(board.getTaken(s.xLoc + 1, s.yLoc +1)&& board.gameBoard[s.xLoc + 1][s.yLoc +1].color == color) {\n \t\t\t\t\t\tif(board.gameBoard[s.xLoc + 1][s.yLoc].color == color ||board.gameBoard[s.xLoc][s.yLoc+1].color == color) {\n \t\t\t\t\t\t\treturn false;\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\treturn true;\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tif(board.getTaken(s.xLoc - 1, s.yLoc + 1)&& board.gameBoard[s.xLoc - 1][s.yLoc +1].color == color) {\n \t\t\t\t\t\tif(board.gameBoard[s.xLoc - 1][s.yLoc].color == color ||board.gameBoard[s.xLoc][s.yLoc+1].color == color) {\n \t\t\t\t\t\t\treturn false;\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\treturn true;\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tcatch(Exception e) {\n \t\t\t\t\t\t\n \t\t\t\t\t}\n\n \t\t\t\t}\n \t\t\t\t\n \t\t\t\n \t\t\t\tif(down&& !left && right && !up) {\n \t\t\t\t\t\n \t\t\t\t\ttry {\n \t\t\t\t\n \t\t\t\t\tif(board.getTaken(s.xLoc + 1, s.yLoc +1)&& board.gameBoard[s.xLoc + 1][s.yLoc +1].color == color){\n \t\t\t\t\t\tif(board.gameBoard[s.xLoc + 1][s.yLoc].color == color ||board.gameBoard[s.xLoc][s.yLoc+1].color == color) {\n \t\t\t\t\t\t\treturn false;\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\treturn true;\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tcatch(Exception 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\tif(!down && !left && right && up) {\n \t\t\t\t\t\n \t\t\t\t\ttry {\n \t\t\t\t\n \t\t\t\t\tif(board.getTaken(s.xLoc - 1, s.yLoc +1)&& board.gameBoard[s.xLoc - 1][s.yLoc +1].color == color){\n \t\t\t\t\t\t\n \t\t\t\t\t\tif(board.gameBoard[s.xLoc - 1][s.yLoc].color == color ||board.gameBoard[s.xLoc][s.yLoc+1].color == color) {\n \t\t\t\t\t\t\treturn false;\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\treturn true;\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tcatch(Exception 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\tif(down && left && !right && !up) {\n \t\t\t\t\t\n \t\t\t\t\ttry {\n \t\t\t\t\n \t\t\t\t\tif(board.getTaken(s.xLoc + 1, s.yLoc -1)&& board.gameBoard[s.xLoc + 1][s.yLoc -1].color == color){\n \t\t\t\t\t\t\n \t\t\t\t\t\tif(board.gameBoard[s.xLoc + 1][s.yLoc].color == color ||board.gameBoard[s.xLoc][s.yLoc-1].color == color) {\n \t\t\t\t\t\t\treturn false;\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\treturn true;\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tcatch(Exception e) {\n \t\t\t\t\t\t\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t\tif(!down&& left && !right && up) {\n \t\t\t\t\n \t\t\t\t\ttry {\n \t\t\t\t\n \t\t\t\t\tif(board.getTaken(s.xLoc - 1, s.yLoc -1)&& board.gameBoard[s.xLoc - 1][s.yLoc -1].color == color){\n \t\t\t\t\t\tif(board.gameBoard[s.xLoc - 1][s.yLoc].color == color ||board.gameBoard[s.xLoc][s.yLoc-1].color == color) {\n \t\t\t\t\t\t\treturn false;\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\treturn true;\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tcatch(Exception e) {\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\t\tup = false;\n \t\t\t\tleft = false;\n \t\t\t\tright = false;\n \t\t\t\tdown = false;\n \t\t\t\n \t\t}\n \t\t\t\n \t\t//placement check for first turn. Must be corner\n \t\t\n \t\tif (firstTurnP){\n \t\t\t\n \t\t\t\n \t\t\tSystem.out.print(s.xLoc);\n \t\t\tSystem.out.println(s.yLoc);\n \t\t\tif(color == Color.RED) {\n \t\t\tif(s.xLoc == 19 && s.yLoc == 19) {\n \t\t\t\treturn true;\n \t\t\t}\n \t\t\t}\n \t\t\tif(color == Color.BLUE) {\n \t\t\tif(s.xLoc == 19 && s.yLoc == 0) {\n \t\t\t\treturn true;\n \t\t\t}\n \t\t\t}\n \t\t\tif(color == Color.GREEN) {\n \t\t\tif(s.xLoc == 0 && s.yLoc == 0) {\n \t\t\t\treturn true;\n \t\t\t}\n \t\t\t}\n \t\t\tif(color == Color.YELLOW) {\n \t\t\tif(s.xLoc == 0 && s.yLoc == 19) {\n \t\t\t\treturn true;\n \t\t\t}\n \t\t\t}\n \t\t\t\n \t\t\t\n \t\t\n \t\t\t\n \t\t}\n \t\t\n \t\t\n \t}\n\n \treturn false;\n \t\n \t\n }", "title": "" }, { "docid": "f48c460aaa8745b18d30ba5af8ebcbbf", "score": "0.62047005", "text": "private boolean checkCheck(int x, int y) {\n\t\tfor(int i = 0; i <= 7; i++) {\n\t\t\tif(x+i <= 7 && y+i <= 7) {\n\t\t\t\tif(!gB.getCell(x+i, y+i).isEmpty())\n\t\t\t\t\tif(gB.getCell(x+i, y+i).getUnit().getOwner().getColor() != this.sOwner.getColor() && (gB.getCell(x+i, y+i).getUnit().getType() == Units.BISHOP\n\t\t\t\t\t\t\t|| gB.getCell(x+i,y+i).getUnit().getType() == Units.QUEEN))\n\t\t\t\t\t\treturn true;\n\t\t\t\t\telse\n\t\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i <= 7; i++) {\n\t\t\tif(x-i >= 0 && y+i <= 7) {\n\t\t\t\tif(!gB.getCell(x-i, y+i).isEmpty())\n\t\t\t\t\tif(gB.getCell(x-i, y+i).getUnit().getOwner().getColor() != this.sOwner.getColor() && (gB.getCell(x-i, y+i).getUnit().getType() == Units.BISHOP\n\t\t\t\t\t\t\t|| gB.getCell(x-i,y+i).getUnit().getType() == Units.QUEEN))\n\t\t\t\t\t\treturn true;\n\t\t\t\t\telse\n\t\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i <= 7; i++) {\n\t\t\tif(x+i <= 7 && y-i >= 0) {\n\t\t\t\tif(!gB.getCell(x+i, y-i).isEmpty())\n\t\t\t\t\tif(gB.getCell(x+i, y-i).getUnit().getOwner().getColor() != this.sOwner.getColor() && (gB.getCell(x+i, y-i).getUnit().getType() == Units.BISHOP\n\t\t\t\t\t\t\t|| gB.getCell(x+i,y-i).getUnit().getType() == Units.QUEEN))\n\t\t\t\t\t\treturn true;\n\t\t\t\t\telse\n\t\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i <= 7; i++) {\n\t\t\tif(x-i >= 0 && y-i >= 0) {\n\t\t\t\tif(!gB.getCell(x-i, y-i).isEmpty())\n\t\t\t\t\tif(gB.getCell(x-i, y-i).getUnit().getOwner().getColor() != this.sOwner.getColor() && (gB.getCell(x-i, y-i).getUnit().getType() == Units.BISHOP\n\t\t\t\t\t|| gB.getCell(x-i,y-i).getUnit().getType() == Units.QUEEN))\n\t\t\t\t\t\treturn true;\n\t\t\t\t\telse\n\t\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i <= 7; i++) {\n\t\t\tif(x + i <= 7) {\n\t\t\t\tif(!gB.getCell(x+i, y).isEmpty())\n\t\t\t\t\tif(gB.getCell(x+i, y).getUnit().getOwner().getColor() != this.sOwner.getColor() && (gB.getCell(x+i, y).getUnit().getType() == Units.ROOK\n\t\t\t\t\t|| gB.getCell(x+i, y).getUnit().getType() == Units.QUEEN))\n\t\t\t\t\t\treturn true;\n\t\t\t\t\telse\n\t\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i <= 7; i++) {\n\t\t\tif(x - i >= 0) {\n\t\t\t\tif(!gB.getCell(x-i, y).isEmpty())\n\t\t\t\t\tif(gB.getCell(x-i, y).getUnit().getOwner().getColor() != this.sOwner.getColor() && (gB.getCell(x-i, y).getUnit().getType() == Units.ROOK\n\t\t\t\t\t|| gB.getCell(x-i, y).getUnit().getType() == Units.QUEEN))\n\t\t\t\t\t\treturn true;\n\t\t\t\t\telse\n\t\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i <= 7; i++) {\n\t\t\tif(y + i <= 7) {\n\t\t\t\tif(!gB.getCell(x, y+i).isEmpty())\n\t\t\t\t\tif(gB.getCell(x, y+i).getUnit().getOwner().getColor() != this.sOwner.getColor() && (gB.getCell(x, y+i).getUnit().getType() == Units.ROOK\n\t\t\t\t\t|| gB.getCell(x, y+i).getUnit().getType() == Units.QUEEN))\n\t\t\t\t\t\treturn true;\n\t\t\t\t\telse\n\t\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i <= 7; i++) {\n\t\t\tif(y - i >= 0) {\n\t\t\t\tif(!gB.getCell(x, y-i).isEmpty())\n\t\t\t\t\tif(gB.getCell(x, y-i).getUnit().getOwner().getColor() != this.sOwner.getColor() && (gB.getCell(x, y-i).getUnit().getType() == Units.ROOK\n\t\t\t\t\t|| gB.getCell(x, y-i).getUnit().getType() == Units.QUEEN))\n\t\t\t\t\t\treturn true;\n\t\t\t\t\telse\n\t\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\t//Check if the cell is threatened by a pawn\n\t\t//We check based on the color the right diagonal cells if a pawn from a different color is situated\n\t\tswitch(this.sOwner.getColor()) {\n\t\tcase WHITE:if(x+1 <= 7 && y+1 <= 7 && !gB.getCell(x+1, y+1).isEmpty()) if(gB.getCell(x+1, y+1).getUnit().getOwner().getColor() == game.Color.BLACK && gB.getCell(x+1, y+1).getUnit().getType() == Units.PAWN)\n\t\t\treturn true;\n\t\tif(x-1 >=0 && y+1 <= 7 && !gB.getCell(x-1, y+1).isEmpty()) if(gB.getCell(x-1, y+1).getUnit().getOwner().getColor() == game.Color.BLACK && gB.getCell(x-1, y+1).getUnit().getType() == Units.PAWN)\n\t\t\treturn true;\n\t\tbreak;\n\t\tcase BLACK:if(x+1 <= 7 && y-1 >= 0 && !gB.getCell(x+1, y-1).isEmpty()) if(gB.getCell(x+1, y-1).getUnit().getOwner().getColor() == game.Color.WHITE && gB.getCell(x+1, y-1).getUnit().getType() == Units.PAWN)\n\t\t\treturn true;\n\t\tif(x-1 >= 0 && y-1 >= 0 && !gB.getCell(x-1, y-1).isEmpty()) if(gB.getCell(x-1, y-1).getUnit().getOwner().getColor() == game.Color.WHITE && gB.getCell(x-1, y-1).getUnit().getType() == Units.PAWN)\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\treturn false;\n\t}", "title": "" }, { "docid": "3e1c9a6a14584033cae2801ecbc05d46", "score": "0.6183814", "text": "@Override\r\n public ArrayList<Square> findMoves() {\r\n ArrayList<Square> possibleMoves = new ArrayList();\r\n int radius = 2;\r\n Square newSquare;\r\n\r\n if ((newSquare = Board.moveToSquare(this.square, radius, 1)) != null) {\r\n if (newSquare.getPiece() != null && newSquare.getPiece().isWhite != this.isWhite) {\r\n possibleMoves.add(newSquare);\r\n } else {\r\n possibleMoves.add(newSquare);\r\n }\r\n }\r\n if ((newSquare = Board.moveToSquare(this.square, radius, -1)) != null) {\r\n if (newSquare.getPiece() == null) {\r\n possibleMoves.add(newSquare);\r\n } else if (newSquare.getPiece().isWhite != this.isWhite) {\r\n possibleMoves.add(newSquare);\r\n }\r\n }\r\n if ((newSquare = Board.moveToSquare(this.square, -radius, 1)) != null) {\r\n if (newSquare.getPiece() == null) {\r\n possibleMoves.add(newSquare);\r\n } else if (newSquare.getPiece().isWhite != this.isWhite) {\r\n possibleMoves.add(newSquare);\r\n }\r\n }\r\n if ((newSquare = Board.moveToSquare(this.square, -radius, -1)) != null) {\r\n if (newSquare.getPiece() == null) {\r\n possibleMoves.add(newSquare);\r\n } else if (newSquare.getPiece().isWhite != this.isWhite) {\r\n possibleMoves.add(newSquare);\r\n }\r\n }\r\n if ((newSquare = Board.moveToSquare(this.square, 1, radius)) != null) {\r\n if (newSquare.getPiece() == null) {\r\n possibleMoves.add(newSquare);\r\n } else if (newSquare.getPiece().isWhite != this.isWhite) {\r\n possibleMoves.add(newSquare);\r\n }\r\n }\r\n if ((newSquare = Board.moveToSquare(this.square, -1, radius)) != null) {\r\n if (newSquare.getPiece() == null) {\r\n possibleMoves.add(newSquare);\r\n } else if (newSquare.getPiece().isWhite != this.isWhite) {\r\n possibleMoves.add(newSquare);\r\n }\r\n }\r\n if ((newSquare = Board.moveToSquare(this.square, 1, -radius)) != null) {\r\n if (newSquare.getPiece() == null) {\r\n possibleMoves.add(newSquare);\r\n } else if (newSquare.getPiece().isWhite != this.isWhite) {\r\n possibleMoves.add(newSquare);\r\n }\r\n }\r\n if ((newSquare = Board.moveToSquare(this.square, -1, -radius)) != null) {\r\n if (newSquare.getPiece() == null) {\r\n possibleMoves.add(newSquare);\r\n } else if (newSquare.getPiece().isWhite != this.isWhite) {\r\n possibleMoves.add(newSquare);\r\n }\r\n }\r\n return possibleMoves;\r\n }", "title": "" }, { "docid": "87dcf958e8aa263050f212ac68b3c226", "score": "0.61405075", "text": "private void checkBounds(Polygon ship) {\n\n boolean collisionDetected = false;\n\n // notice the difference in how an ArrayList iterates through items \n for (Rectangle badblock : base) {\n if (ship.getBoundsInParent().intersects(badblock.getBoundsInParent())) {\n collisionDetected = true;\n badblock.setFill(Color.RED);\n } else {\n badblock.setFill(Color.BLUE);\n }\n }\n if (collisionDetected) {\n ship.setFill(Color.RED);\n } else {\n ship.setFill(Color.ORANGE);\n }\n }", "title": "" }, { "docid": "4ec3d8830248cf080c14a737021eb211", "score": "0.61189806", "text": "public void surroundedRegions(char[][] board) {\n if(board == null || board.length < 3 || board[0].length < 3) return;\r\n Set<Point> keep = new HashSet<Point>();\r\n LinkedList<Point> queue = new LinkedList<Point>();\r\n for(int i = 0; i < board.length; i++) {\r\n if(board[i][0] == 'O') {\r\n Point p = new Point(i, 0);\r\n queue.offer(p);\r\n keep.add(p);\r\n }\r\n if(board[i][board[0].length - 1] == 'O') {\r\n Point p = new Point(i, board[0].length - 1); \r\n queue.offer(p);\r\n keep.add(p);\r\n }\r\n }\r\n for(int i = 1; i < board[0].length - 1; i++) {\r\n if(board[0][i] == 'O') {\r\n Point p = new Point(0, i);\r\n queue.offer(p);\r\n keep.add(p);\r\n }\r\n if(board[board.length - 1][i] == 'O') {\r\n Point p = new Point(board.length - 1, i);\r\n queue.offer(p);\r\n keep.add(p);\r\n }\r\n }\r\n // System.out.println(keep.size());\r\n while(!queue.isEmpty()) {\r\n Point curr = queue.poll();\r\n for(int i = 0 ; i < dr.length; i++) {\r\n Point next = new Point(curr.r + dr[i], curr.c + dc[i]);\r\n if(next.isInside(board) && board[next.r][next.c] == 'O' && !keep.contains(next)) {\r\n // System.out.println(\"adding \" + next.r + \", \" + next.c);\r\n queue.offer(next);\r\n keep.add(next);\r\n }\r\n }\r\n }\r\n for(int r = 0; r < board.length; r++) {\r\n for(int c = 0; c < board[0].length; c++) {\r\n if(board[r][c] == 'O' && !keep.contains(new Point(r, c))) {\r\n board[r][c] = 'X';\r\n }\r\n }\r\n }\r\n }", "title": "" }, { "docid": "844c66195b37792002e8ae2ed543aee5", "score": "0.6102132", "text": "private void WhiteBishopPressed(int r, int c){\n if (itemSelected){\n return;\n }\n //if it is black's turn, return\n if(!whiteturn){\n return;\n }\n //if you are just now selecting the white bishop\n itemSelected = true;\n selectionRow = r;\n selectionColumn = c;\n HighlightSelection(r, c);\n\n //check up and left\n int row = r + 1;\n int column = c - 1;\n while((row < 8 && column >= 0)){\n if(piecePositions[row][column].equals(\"Empty\")){\n HighlightMove(row, column);\n }\n else if(piecePositions[row][column].substring(0, 1).equals(\"b\")){\n HighlightMove(row, column);\n break;\n }\n else if(piecePositions[row][column].substring(0, 1).equals(\"w\")){\n break;\n }\n row++;\n column--;\n }\n\n //checks up and right\n row = r + 1;\n column = c + 1;\n while((row < 8 && column < 8)){\n if(piecePositions[row][column].equals(\"Empty\")){\n HighlightMove(row, column);\n }\n else if(piecePositions[row][column].substring(0, 1).equals(\"b\")){\n HighlightMove(row, column);\n break;\n }\n else if(piecePositions[row][column].substring(0, 1).equals(\"w\")){\n break;\n }\n row++;\n column++;\n }\n\n //checks down and left\n row = r - 1;\n column = c - 1;\n while((row >= 0 && column >= 0)){\n if(piecePositions[row][column].equals(\"Empty\")){\n HighlightMove(row, column);\n }\n else if(piecePositions[row][column].substring(0, 1).equals(\"b\")){\n HighlightMove(row, column);\n break;\n }\n else if(piecePositions[row][column].substring(0, 1).equals(\"w\")){\n break;\n }\n row--;\n column--;\n }\n\n //checks down and right\n row = r - 1;\n column = c + 1;\n while((row >= 0 && column < 8)){\n if(piecePositions[row][column].equals(\"Empty\")){\n HighlightMove(row, column);\n }\n else if(piecePositions[row][column].substring(0, 1).equals(\"b\")){\n HighlightMove(row, column);\n break;\n }\n else if(piecePositions[row][column].substring(0, 1).equals(\"w\")){\n break;\n }\n row--;\n column++;\n }\n }", "title": "" }, { "docid": "07bb1bbb76c38a9f09159c9841a27985", "score": "0.60757834", "text": "private void adjacentSquares() {\n char letter = position.charAt(0);\n //if ( row <=2 and col > b ) move left i.e. decrease col by 1 and row can be 1 or 2. with exception if c2 then also b3\n if(row <=1 && letter > 'b'){\n letter -= 1;\n if(position.equals(\"g2\")){\n legalMoves.add(\"g1\");\n legalMoves.add(\"f1\");\n }\n else {\n legalMoves.add(Character.toString(letter).concat(Integer.toString(0)));\n legalMoves.add(Character.toString(letter).concat(Integer.toString(1)));\n }\n }\n //if ( col <=b and row < 5 ) move up i.e. increase row by 1 and col can be a or b. with exception if b5 then also c6\n if(letter <= 'b' && row < 5){\n if(position.equals(\"b1\")){\n legalMoves.add(\"a1\");\n legalMoves.add(\"a2\");\n }\n else {\n legalMoves.add(Character.toString('a').concat(Integer.toString(row+1)));\n legalMoves.add(Character.toString('b').concat(Integer.toString(row+1)));\n }\n }\n //if ( row >=5 and col < f ) move right i.e. increase col by 1 and row can be 6 or 7. with exception if e6 then also f5\n if(row >=5 && letter < 'f'){\n letter += 1;\n if(position.equals(\"a6\")){\n legalMoves.add(\"a7\");\n legalMoves.add(\"b7\");\n }\n else {\n legalMoves.add(Character.toString(letter).concat(Integer.toString(6)));\n legalMoves.add(Character.toString(letter).concat(Integer.toString(7)));\n }\n }\n //if ( col >=f and row > 1 ) move down i.e. decrease row by 1 and col can be f or g. with exception f3 can move e2\n if(row >1 && letter >= 'f'){\n if(position.equals(\"f7\")){\n legalMoves.add(\"g7\");\n legalMoves.add(\"g6\");\n }\n else {\n legalMoves.add(Character.toString('f').concat(Integer.toString(row-1)));\n legalMoves.add(Character.toString('g').concat(Integer.toString(row-1)));\n }\n }\n //special cases with 3 possible moves\n if(position.equals(\"c2\")){\n legalMoves.add(\"b3\");\n }\n if(position.equals(\"b5\")){\n legalMoves.add(\"c6\");\n }\n if(position.equals(\"e6\")){\n legalMoves.add(\"f5\");\n }\n if(position.equals(\"f3\")){\n legalMoves.add(\"e2\");\n }\n }", "title": "" }, { "docid": "f7fc2390a9571fccdf9f8c2354917a43", "score": "0.60391974", "text": "private Stack getWhitePawnSquares(int x, int y, String piece) {\n\t\tStack moves = new Stack();\n\t\tSquare startSquare = new Square(x, y, piece);\n\n\t\t// there are 4 possible moves for a white Pawn\n\t\tMove wPM1;\n\t\tMove wPM2;\n\t\tMove wPM3;\n\t\tMove wPM4;\n\n\t\t// all the possible moves the pawn can make\n\t\t// Down One square\n\t\tSquare posSq1 = new Square(x, y + 1, piece);\n\t\t// Right + Down One (taking a piece only)\n\t\tSquare posSq2 = new Square(x + 1, y + 1, piece);\n\t\t// Left + Down One (taking a piece only)\n\t\tSquare posSq3 = new Square(x - 1, y + 1, piece);\n\t\t// Down Two (first move only)\n\t\tSquare posSq4 = new Square(x, y + 2, piece);\n\n\t\tif (y == 1) {\n\t\t\t// first move\n\t\t\twPM1 = new Move(startSquare, posSq4);\n\t\t\t// can move +2 or +1 in y direction\n\t\t\t// not sure why the +20 is used but won't play without it. (included in code\n\t\t\t// snippets for other pieces)\n\t\t\tif (!piecePresent(((posSq4.getXC() * 75) + 20), (((posSq4.getYC() * 75) + 20)))\n\t\t\t\t\t&& !piecePresent(((posSq1.getXC() * 75) + 20), (((posSq1.getYC() * 75) + 20)))) {\n\t\t\t\tmoves.push(wPM1);\n\t\t\t} else {\n\t\t\t\t// not on the edge of the board\n\t\t\t\tif (!(x + 1 > 7)) {\n\t\t\t\t\tif (piecePresent(((posSq2.getXC() * 75) + 20), (((posSq2.getYC() * 75) + 20)))) {\n\t\t\t\t\t\t// check if piece present is black\n\t\t\t\t\t\tif (checkWhiteOponent(((posSq2.getXC() * 75) + 20), (((posSq2.getYC() * 75) + 20)))) {\n\t\t\t\t\t\t\tmoves.push(wPM1);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// not on the edge of the board\n\t\t\t\tif (!(x - 1 < 0)) {\n\t\t\t\t\tif (piecePresent(((posSq2.getXC() * 75) + 20), (((posSq2.getYC() * 75) + 20)))) {\n\t\t\t\t\t\t// check if piece present is black\n\t\t\t\t\t\tif (checkWhiteOponent(((posSq2.getXC() * 75) + 20), (((posSq2.getYC() * 75) + 20)))) {\n\t\t\t\t\t\t\tmoves.push(wPM1);\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// not first move\n\t\tif (!(y + 1 > 7)) {\n\t\t\twPM2 = new Move(startSquare, posSq1);\n\t\t\tif (!piecePresent(((posSq1.getXC() * 75) + 20), (((posSq1.getYC() * 75) + 20)))) {\n\t\t\t\tmoves.push(wPM2);\n\t\t\t}\n\t\t\t//move x+1 & y+1 to take piece\n\n\t\t\tif (!(x + 1 > 7)) {\n\t\t\t\twPM3 = new Move(startSquare, posSq2);\n\t\t\t\tif (piecePresent(((posSq2.getXC() * 75) + 20), (((posSq2.getYC() * 75) + 20)))) {\n\t\t\t\t\t//check if piece present is black\n\t\t\t\t\tif (checkWhiteOponent(((posSq2.getXC() * 75) + 20), (((posSq2.getYC() * 75) + 20)))) {\n\t\t\t\t\t\tmoves.push(wPM3);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t//move x-1 & y+1 to take piece\n\t\t\tif (!(x - 1 < 0)) {\n\t\t\t\twPM4 = new Move(startSquare, posSq3);\n\t\t\t\tif (piecePresent(((posSq3.getXC() * 75) + 20), (((posSq3.getYC() * 75) + 20)))) {\n\t\t\t\t\tif (checkWhiteOponent(((posSq3.getXC() * 75) + 20), (((posSq3.getYC() * 75) + 20)))) {\n\t\t\t\t\t\tmoves.push(wPM4);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn moves;\n\t}", "title": "" }, { "docid": "25dadd32eeeb20287b5e4c88d3e1ba4c", "score": "0.60322535", "text": "private void BlackBishopPressed(int r, int c){\n if (itemSelected){\n return;\n }\n //if it is white's turn, return\n if(whiteturn){\n return;\n }\n //if you are just now selecting the black bishop\n itemSelected = true;\n selectionRow = r;\n selectionColumn = c;\n HighlightSelection(r, c);\n\n //check up and left\n int row = r + 1;\n int column = c - 1;\n while((row < 8 && column >= 0)){\n if(piecePositions[row][column].equals(\"Empty\")){\n HighlightMove(row, column);\n }\n else if(piecePositions[row][column].substring(0, 1).equals(\"w\")){\n HighlightMove(row, column);\n break;\n }\n else if(piecePositions[row][column].substring(0, 1).equals(\"b\")){\n break;\n }\n row++;\n column--;\n }\n\n //checks up and right\n row = r + 1;\n column = c + 1;\n while((row < 8 && column < 8)){\n if(piecePositions[row][column].equals(\"Empty\")){\n HighlightMove(row, column);\n }\n else if(piecePositions[row][column].substring(0, 1).equals(\"w\")){\n HighlightMove(row, column);\n break;\n }\n else if(piecePositions[row][column].substring(0, 1).equals(\"b\")){\n break;\n }\n row++;\n column++;\n }\n\n //checks down and left\n row = r - 1;\n column = c - 1;\n while((row >= 0 && column >= 0)){\n if(piecePositions[row][column].equals(\"Empty\")){\n HighlightMove(row, column);\n }\n else if(piecePositions[row][column].substring(0, 1).equals(\"w\")){\n HighlightMove(row, column);\n break;\n }\n else if(piecePositions[row][column].substring(0, 1).equals(\"b\")){\n break;\n }\n row--;\n column--;\n }\n\n //checks down and right\n row = r - 1;\n column = c + 1;\n while((row >= 0 && column < 8)){\n if(piecePositions[row][column].equals(\"Empty\")){\n HighlightMove(row, column);\n }\n else if(piecePositions[row][column].substring(0, 1).equals(\"w\")){\n HighlightMove(row, column);\n break;\n }\n else if(piecePositions[row][column].substring(0, 1).equals(\"b\")){\n break;\n }\n row--;\n column++;\n }\n }", "title": "" }, { "docid": "160a78cf71fb3caa32df278236496e6f", "score": "0.601536", "text": "public int emergencyMove() {\r\n\r\n for (int i = 0; i < boardStateToAnalyse.length; i++) {\r\n for (int j = 0; j < boardStateToAnalyse[i].length; j++) {\r\n if(boardStateToAnalyse[i][j]!=null){\r\n if(boardStateToAnalyse[i][j].player1==true){\r\n if(buildPatternNorth(i, j, 4).equals(\"XXXN\")) {\r\n if(j>2){\r\n if(!IsBelowEmpty(i, j-3)){\r\n System.out.println(\"NOPE ! WIN DENIED.\");\r\n return i; \r\n }\r\n }\r\n }\r\n\r\n if(buildPatternNorthEast(i, j, 4).equals(\"XXXN\")){\r\n if(i<4&&j>2){\r\n if(!IsBelowEmpty(i+3, j-3)){\r\n System.out.println(\"NOPE ! WIN DENIED.\");\r\n return i+3; \r\n }\r\n }\r\n }\r\n if(buildPatternNorthEast(i, j, 4).equals(\"XXNX\")){\r\n if(i<4&&j>2){\r\n if(!IsBelowEmpty(i+2, j-2)){\r\n System.out.println(\"NOPE ! WIN DENIED.\");\r\n return i+2; \r\n }\r\n }\r\n }\r\n if(buildPatternEast(i, j, 4).equals(\"XXXN\")){\r\n if(i<4){\r\n if(!IsBelowEmpty(i+3, j)){\r\n System.out.println(\"NOPE ! WIN DENIED.\");\r\n return i+3; \r\n }\r\n }\r\n }\r\n if(buildPatternEast(i, j, 4).equals(\"XXNX\")){\r\n if(i<4){\r\n if(!IsBelowEmpty(i+2, j)){\r\n System.out.println(\"NOPE ! WIN DENIED.\");\r\n return i+2; \r\n }\r\n }\r\n }\r\n if(buildPatternSouthEast(i, j, 4).equals(\"XXXN\")){\r\n if(i<4&&j<3){\r\n if(!IsBelowEmpty(i+3, j+3)){\r\n System.out.println(\"NOPE ! WIN DENIED.\");\r\n return i+3; \r\n }\r\n }\r\n }\r\n if(buildPatternSouthEast(i, j, 4).equals(\"XXNX\")){\r\n if(i<4&&j<3){\r\n if(!IsBelowEmpty(i+2, j+2)){\r\n System.out.println(\"NOPE ! WIN DENIED.\");\r\n return i+2; \r\n }\r\n }\r\n }\r\n if(buildPatternSouthWest(i, j, 4).equals(\"XXXN\")){\r\n if(i>2&&j<3){\r\n if(!IsBelowEmpty(i-3, j+3)){\r\n System.out.println(\"NOPE ! WIN DENIED.\");\r\n return i-3; \r\n }\r\n }\r\n }\r\n if(buildPatternSouthWest(i, j, 4).equals(\"XXNX\")){\r\n if(i>2&&j<3){\r\n if(!IsBelowEmpty(i-2, j+2)){\r\n System.out.println(\"NOPE ! WIN DENIED.\");\r\n return i-2; \r\n }\r\n }\r\n }\r\n if(buildPatternWest(i, j, 4).equals(\"XXXN\")){\r\n if(i>2){\r\n if(!IsBelowEmpty(i-3, j)){\r\n System.out.println(\"NOPE ! WIN DENIED.\");\r\n return i-3; \r\n }\r\n }\r\n }\r\n if(buildPatternWest(i, j, 4).equals(\"XXNX\")){\r\n if(i>2){\r\n if(!IsBelowEmpty(i-2, j)){\r\n System.out.println(\"NOPE ! WIN DENIED.\");\r\n return i-2; \r\n }\r\n }\r\n }\r\n if(buildPatternNorthWest(i, j, 4).equals(\"XXXN\")){\r\n if(i>2&&j>2){\r\n if(!IsBelowEmpty(i-3, j-3)){\r\n System.out.println(\"NOPE ! WIN DENIED.\");\r\n return i-3; \r\n }\r\n }\r\n }\r\n if(buildPatternNorthWest(i, j, 4).equals(\"XXNX\")){\r\n if(i>2&&j>2){\r\n if(!IsBelowEmpty(i-2, j-2)){\r\n System.out.println(\"NOPE ! WIN DENIED.\");\r\n return i-2; \r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n System.out.println(\"emergencyMove returned -1\");\r\n return -1;\r\n }", "title": "" }, { "docid": "be7ee17637e55928036dc9abb0a9d711", "score": "0.5979893", "text": "public void blankFinder() \r\n {\r\n\t\tfor (int i = -1; i <= 1; i++) \r\n {\r\n\t\t\tfor (int j = -1; j <= 1; j++) \r\n {\r\n\t\t\t\tif (board.getSquareAt(getXLocation() + i, getYLocation() + j) != null) \r\n {\r\n\t\t\t\t\tBombSquare nearbySquare = (BombSquare) board.getSquareAt(getXLocation() + i, getYLocation() + j);\r\n\t\t\t\t\tif (!nearbySquare.visible && !nearbySquare.hasBomb) \r\n {\r\n\t\t\t\t\t\tnearbySquare.visible = true;\r\n\t\t\t\t\t\tnearbySquare.minesNearby();\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}", "title": "" }, { "docid": "b2441ac9e6ded3a8f6fefece9b98a56b", "score": "0.5976964", "text": "private void createMazeWithoutRecursion(){\n totalVisitedSquares =0;\n\n\n //calculate the total number of squares to visit\n totalSquaresToVisit = blocksHigh * blocksWide;\n\n //put us at position 0,0, and mark that square as visited\n Vector2 currentPosition = new Vector2(0, blocksHigh-1);\n //visitedSquares[0][blocksHigh-1] = 1;\n\n positionStack = new Array<Vector2>();\n int nextSquareDirection;\n int biasDecider;\n positionStack.add(currentPosition);\n while (positionStack.size > 0) {\n\n //to make longer walls, will randomly give a bias for using the last direction\n biasDecider = game.rand.nextInt((6 - 1) + 1) + 1;//1,2,3, or 4 or 5\n\n if(biasDecider<5){\n nextSquareDirection = lastMovementDirection;\n }\n else {\n //choose a random direction\n nextSquareDirection = game.rand.nextInt((5 - 1) + 1) + 1;//1,2,3, or 4\n }\n switch (nextSquareDirection) {\n case 1:\n //if it's too high, or we have already visited that square then check the next direction\n if ((currentPosition.y + 1 > blocksHigh - 1) || (visitedSquares[(int) currentPosition.x][(int) currentPosition.y + 1] == 1)) {\n break;\n }\n //if it isn't too high, then add to the stack, and check everything again from there\n else {\n //break down the wall\n world.destroyBody(horizontalWalls[(int) currentPosition.x][(int) currentPosition.y + 1]);\n stage.getRoot().removeActor(horizontalWallActor[(int)currentPosition.x][(int)currentPosition.y +1]);\n\n //travel to that spot now that we can get there\n currentPosition.y += 1;\n\n //add to the current distance\n currentDistance +=1;\n\n //add the current position to the stack\n positionStack.add(new Vector2(currentPosition));\n\n //add to the total squares visited\n totalVisitedSquares +=1;\n\n //save our direction for use in tweaking the maze\n lastMovementDirection = 1;\n }\n\n break;\n case 2:\n\n //if it's too high, or we have already visited that square then check the next direction\n if ((currentPosition.x + 1 > blocksWide - 1) || (visitedSquares[(int) currentPosition.x + 1][(int) currentPosition.y] == 1)) {\n break;\n }\n //if it isn't too high, then add to the stack, and check everything again from there\n else {\n //break down the wall\n world.destroyBody(verticalWalls[(int) currentPosition.x + 1][(int) currentPosition.y]);\n stage.getRoot().removeActor(verticalWallActor[(int) currentPosition.x + 1][(int) currentPosition.y]);\n\n //travel to that spot now that we can get there\n currentPosition.x += 1;\n\n //add to the current distance\n currentDistance +=1;\n\n //add the current position to the stack\n positionStack.add(new Vector2(currentPosition));\n\n //add to the total squares visited\n totalVisitedSquares +=1;\n\n //save our direction for use in tweaking the maze\n lastMovementDirection = 2;\n }\n\n\n break;\n case 3:\n\n //if it's too low, or we have already visited that square then check the next direction\n if ((currentPosition.y - 1 < 0) || (visitedSquares[(int) currentPosition.x][(int) currentPosition.y - 1] == 1)) {\n break;\n }\n //if it isn't too high, then add to the stack, and check everything again from there\n else {\n //break down the wall\n world.destroyBody(horizontalWalls[(int) currentPosition.x][(int) currentPosition.y]);\n stage.getRoot().removeActor(horizontalWallActor[(int) currentPosition.x][(int) currentPosition.y]);\n\n //travel to that spot now that we can get there\n currentPosition.y -= 1;\n\n //add to the current distance\n currentDistance +=1;\n\n //add the current position to the stack\n positionStack.add(new Vector2(currentPosition));\n\n //add to the total squares visited\n totalVisitedSquares +=1;\n\n //save our direction for use in tweaking the maze\n lastMovementDirection = 3;\n }\n\n break;\n case 4:\n\n //if it's too high, or we have already visited that square then check the next direction\n if ((currentPosition.x - 1 < 0) || (visitedSquares[(int) currentPosition.x - 1][(int) currentPosition.y] == 1)) {\n break;\n }\n //if it isn't too high, then add to the stack, and check everything again from there\n else {\n //break down the wall\n world.destroyBody(verticalWalls[(int) currentPosition.x][(int) currentPosition.y]);\n stage.getRoot().removeActor(verticalWallActor[(int) currentPosition.x][(int) currentPosition.y]);\n\n //travel to that spot now that we can get there\n currentPosition.x -= 1;\n\n //add to the current distance\n currentDistance +=1;\n\n //add the current position to the stack\n positionStack.add(new Vector2(currentPosition));\n\n //add to the total squares visited\n totalVisitedSquares +=1;\n\n //save our direction for use in tweaking the maze\n lastMovementDirection = 4;\n }\n\n break;\n default:\n break;\n }\n\n\n visitedSquares[(int)currentPosition.x][(int)currentPosition.y] = 1;\n\n\n //now that we have checked our random integer, check all of the other directions. If they all pass, pop off stack\n if (deadEndCheck(currentPosition)) {\n\n //check to see if this is the longest current spot, if so, make a note of it\n if (currentDistance > longestDistance){\n longestDistance = currentDistance;\n longestDistanceLocation = currentPosition;\n }\n\n //remove one from the current distance\n currentDistance -=1;\n //go back to the previous position\n currentPosition = positionStack.pop();\n\n }\n\n //game.loadingProgressPercent = (((float)totalVisitedSquares / (float)totalSquaresToVisit));\n createMazePercentCompletion = (float)totalVisitedSquares / (float)totalSquaresToVisit;\n updateLoadingProgress();\n }\n\n //create the end at the longest recorded location\n createEnd((int)longestDistanceLocation.x, (int) longestDistanceLocation.y);\n\n //reset the loading progress to 0 so we don't print it anywhere.\n //game.loadingProgressPercent = 0;\n\n }", "title": "" }, { "docid": "2ee33e83d9a90d96571e62b0b55c582e", "score": "0.5970828", "text": "public int run() {\r\n\r\n\t\t// This is the starting matrix\r\n\t\tMatrix root = new Matrix(0, 0, 1 << n, 1 << n);\r\n\r\n\t\t// Mark the [ainted cell\r\n\t\troot.set(x, y, PAINTED_TILE);\r\n\r\n\t\tStack<Matrix> stack = new Stack<Matrix>();\r\n\t\tstack.push(root);\r\n\r\n\t\tint iteration = 1;\r\n\r\n\t\twhile (!stack.isEmpty()) {\r\n\t\t\t\r\n\t\t\tMatrix matrix = stack.pop();\r\n\r\n\t\t\tif (matrix.getWidth() == 1) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\t// The size of the matrix in the next step\r\n\t\t\tint size = matrix.width >> 1;\r\n\t\t\r\n\t\t\t// Holds the offset of the cells to paint. It is just a matter of convenience.\r\n\t\t\tint offset = size - 1;\r\n\r\n\t\t\t// Handle Upper-Left Matrix\r\n\t\t\tMatrix matrix1 = matrix.subMatrix(0, 0, size, size);\r\n\t\t\tstack.push(matrix1);\r\n\t\t\tif (matrix1.filled() == 0) {\r\n\t\t\t\tmatrix1.set(offset, offset, iteration);\r\n\t\t\t}\r\n\r\n\t\t\t// Handle Upper-Right Matrix\r\n\t\t\tMatrix matrix2 = matrix.subMatrix(size, 0, size, size);\r\n\t\t\tstack.push(matrix2);\r\n\t\t\tif (matrix2.filled() == 0) {\r\n\t\t\t\tmatrix2.set(0, offset, iteration);\r\n\t\t\t}\r\n\r\n\t\t\t// Handle Lower-Left Matrix\r\n\t\t\tMatrix matrix3 = matrix.subMatrix(0, size, size, size);\r\n\t\t\tstack.push(matrix3);\r\n\t\t\tif (matrix3.filled() == 0) {\r\n\t\t\t\tmatrix3.set(offset, 0, iteration);\r\n\t\t\t}\r\n\r\n\t\t\t// Handle Lower Right Matrix\r\n\t\t\tMatrix matrix4 = matrix.subMatrix(size, size, size, size);\r\n\t\t\tstack.push(matrix4);\r\n\t\t\tif (matrix4.filled() == 0) {\r\n\t\t\t\tmatrix4.set(0, 0, iteration);\r\n\t\t\t}\r\n\r\n\t\t\tprint(iteration, root.getData());\r\n\r\n\t\t\titeration++;\r\n\t\t}\r\n\r\n\t\t--iteration;\r\n\t\t\r\n\t\t// This part is just an assertion\r\n\t\tassertEquals(\"Failed to fill the entire matrix...\", root.getWidth()*root.getHeight(), root.filled());\r\n\t\t\r\n\t\t// In each iteration we add 3 cells (L-Shape) plus the first colored cell\r\n\t\tassertEquals(\"Algorithm is not optimal!\", iteration * 3 + 1, root.getWidth()*root.getHeight());\r\n\t\t\t\r\n\t\treturn iteration; \r\n\t}", "title": "" }, { "docid": "d79761747cc9712cdc1f1374c8b37899", "score": "0.59699744", "text": "public List<IntPair> createPawnMoves(ChessPiece piece) {\n List<IntPair> movesList = new ArrayList<>();\n IntPair currentPosition = piece.getPosition();\n // ChessLibrary.Pieces.Pawn is on black side\n if(piece.getSide() == 0) {\n if(currentPosition.right() + 1 < BOARD_ROWS) { // 1 block to South\n IntPair moveSouth = new IntPair(currentPosition.left(), currentPosition.right() + 1);\n int occupyCheckS = checkOccupied(piece.getSide(), moveSouth);\n if(occupyCheckS == 0) {\n movesList.add(moveSouth);\n }\n if(currentPosition.left() + 1 < BOARD_COLUMNS) { // 1 block to South-East only if capturing\n IntPair moveSouthEast = new IntPair(currentPosition.left() + 1, currentPosition.right() + 1);\n int occupyCheckSE = checkOccupied(piece.getSide(), moveSouthEast);\n if(occupyCheckSE == 2) {\n movesList.add(moveSouthEast);\n }\n }\n if(currentPosition.left() - 1 >= 0) { // 1 block to South-West only if capturing\n IntPair moveSouthWest = new IntPair(currentPosition.left() - 1, currentPosition.right() + 1);\n int occupyCheckSW = checkOccupied(piece.getSide(), moveSouthWest);\n if(occupyCheckSW == 2) {\n movesList.add(moveSouthWest);\n }\n }\n }\n if(piece.getPosition().right() == 1) { // 2 blocks to South\n IntPair moveSouth = new IntPair(currentPosition.left(), currentPosition.right() + 1);\n int occupyCheckS = checkOccupied(piece.getSide(), moveSouth);\n if(occupyCheckS == 0) { // path is not blocked\n IntPair moveSouthTwo = new IntPair(currentPosition.left(), currentPosition.right() + 2);\n int occupyCheckS2 = checkOccupied(piece.getSide(), moveSouthTwo);\n if (occupyCheckS2 == 0) {\n movesList.add(moveSouthTwo);\n }\n }\n }\n }\n // ChessLibrary.Pieces.Pawn is on white side\n if(piece.getSide() == 1) {\n if(currentPosition.right() - 1 >= 0) { // 1 block to North\n IntPair moveNorth = new IntPair(currentPosition.left(), currentPosition.right() - 1);\n int occupyCheckN = checkOccupied(piece.getSide(), moveNorth);\n if(occupyCheckN == 0) {\n movesList.add(moveNorth);\n }\n if(currentPosition.left() + 1 < BOARD_COLUMNS) { // 1 block to North-East\n IntPair moveNorthEast = new IntPair(currentPosition.left() + 1, currentPosition.right() - 1);\n int occupyCheckNE = checkOccupied(piece.getSide(), moveNorthEast);\n if(occupyCheckNE == 2) {\n movesList.add(moveNorthEast);\n }\n }\n if(currentPosition.left() - 1 >= 0) { // 1 block to North-West\n IntPair moveNorthWest = new IntPair(currentPosition.left() - 1, currentPosition.right() - 1);\n int occupyCheckNW = checkOccupied(piece.getSide(), moveNorthWest);\n if(occupyCheckNW == 2) {\n movesList.add(moveNorthWest);\n }\n }\n }\n if(piece.getPosition().right() == 6) { // 2 blocks to North\n IntPair moveNorth = new IntPair(currentPosition.left(), currentPosition.right() - 1);\n int occupyCheckN = checkOccupied(piece.getSide(), moveNorth);\n if(occupyCheckN == 0) { // path is not blocked\n IntPair moveNorthTwo = new IntPair(currentPosition.left(), currentPosition.right() - 2);\n int occupyCheckN2 = checkOccupied(piece.getSide(), moveNorthTwo);\n if (occupyCheckN2 == 0) {\n movesList.add(moveNorthTwo);\n }\n }\n }\n }\n return movesList;\n }", "title": "" }, { "docid": "ebf01cb1a00e75c1be6ff12c82776e4c", "score": "0.5966895", "text": "public void expantion() {\r\n\r\n\t\tfor(int i=0;i<this.sq.length;i++) {\r\n\t\t\tfor(int j=0;j<this.sq[0].length;j++) {\r\n\t\t\t\tif(this.sq[i][j].getColor()==0) {\r\n\r\n\t\t\t\t\tthis.Move_Left(i, j);\r\n\t\t\t\t\tthis.Move_up(i, j);\r\n\t\t\t\t\tthis.Move_right(i, j);\r\n\t\t\t\t\tthis.Move_down(i, j);\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "7dea3cb1f19c7b049074c20fed4510a5", "score": "0.59508055", "text": "public ArrayList<Square> checkForChecksandPinned(ArrayList<Square> pos){\n\n\n\t\t\tfor(int i=0; i<pos.size();i++){\n\t\t\t\t//Make hypothetical\n\t\t\t\tChessBoard cb = new ChessBoard(this.cb);\n\t\t\t\tcb.updateThreats();\n\t\t\t\t\n\t\t\t\tint px = pos.get(i).x;\n\t\t\t\tint py = pos.get(i).y;\n\n\t\t\t\tPiece captPeice = cb.board[px][py].peice;\n\t\t\t\tcb.board[px][py].peice = cb.board[x][y].peice;\n\t\t\t\tcb.board[x][y].peice = null;\n\t\t\t\tcb.updateThreats();\n\t\t\t\t//Does it resolve check? if not remove it\n\t\t\t\tif(cb.isChecked()){\n\t\t\t\t\tpos.set(i, null);\n\t\t\t\t}\n\t\t\t}\n\t\tpos.removeAll(Collections.singleton(null));\n\t\treturn pos;\n\t}", "title": "" }, { "docid": "c88bd41df310aaeea71032f6783d91c3", "score": "0.5947675", "text": "private void WhiteQueenPressed(int r, int c){\n if (itemSelected){\n return;\n }\n //if it is black's turn, return\n if(!whiteturn){\n return;\n }\n //if you are just now selecting the white queen\n itemSelected = true;\n selectionRow = r;\n selectionColumn = c;\n HighlightSelection(r, c);\n\n //check up and left\n int row = r + 1;\n int column = c - 1;\n while((row < 8 && column >= 0)){\n if(piecePositions[row][column].equals(\"Empty\")){\n HighlightMove(row, column);\n }\n else if(piecePositions[row][column].substring(0, 1).equals(\"b\")){\n HighlightMove(row, column);\n break;\n }\n else if(piecePositions[row][column].substring(0, 1).equals(\"w\")){\n break;\n }\n row++;\n column--;\n }\n\n //checks up and right\n row = r + 1;\n column = c + 1;\n while((row < 8 && column < 8)){\n if(piecePositions[row][column].equals(\"Empty\")){\n HighlightMove(row, column);\n }\n else if(piecePositions[row][column].substring(0, 1).equals(\"b\")){\n HighlightMove(row, column);\n break;\n }\n else if(piecePositions[row][column].substring(0, 1).equals(\"w\")){\n break;\n }\n row++;\n column++;\n }\n\n //checks down and left\n row = r - 1;\n column = c - 1;\n while((row >= 0 && column >= 0)){\n if(piecePositions[row][column].equals(\"Empty\")){\n HighlightMove(row, column);\n }\n else if(piecePositions[row][column].substring(0, 1).equals(\"b\")){\n HighlightMove(row, column);\n break;\n }\n else if(piecePositions[row][column].substring(0, 1).equals(\"w\")){\n break;\n }\n row--;\n column--;\n }\n\n //checks down and right\n row = r - 1;\n column = c + 1;\n while((row >= 0 && column < 8)){\n if(piecePositions[row][column].equals(\"Empty\")){\n HighlightMove(row, column);\n }\n else if(piecePositions[row][column].substring(0, 1).equals(\"b\")){\n HighlightMove(row, column);\n break;\n }\n else if(piecePositions[row][column].substring(0, 1).equals(\"w\")){\n break;\n }\n row--;\n column++;\n }\n\n //checks moves up\n row = r + 1;\n while((row < 8)){\n if(piecePositions[row][c].equals(\"Empty\")){\n HighlightMove(row, c);\n }\n else if(piecePositions[row][c].substring(0, 1).equals(\"b\")){\n HighlightMove(row, c);\n break;\n }\n else if(piecePositions[row][c].substring(0, 1).equals(\"w\")){\n break;\n }\n row++;\n }\n //checks moves down\n row = r - 1;\n while(row >= 0){\n if(piecePositions[row][c].equals(\"Empty\")){\n HighlightMove(row, c);\n }\n else if(piecePositions[row][c].substring(0, 1).equals(\"b\")){\n HighlightMove(row, c);\n break;\n }\n else if(piecePositions[row][c].substring(0, 1).equals(\"w\")){\n break;\n }\n row--;\n }\n //checks moves right\n column = c + 1;\n while(column < 8){\n if(piecePositions[r][column].equals(\"Empty\")){\n HighlightMove(r, column);\n }\n else if(piecePositions[r][column].substring(0, 1).equals(\"b\")){\n HighlightMove(r, column);\n break;\n }\n else if(piecePositions[r][column].substring(0, 1).equals(\"w\")){\n break;\n }\n column++;\n }\n //checks moves left\n column = c - 1;\n while(column >= 0){\n if(piecePositions[r][column].equals(\"Empty\")){\n HighlightMove(r, column);\n }\n else if(piecePositions[r][column].substring(0, 1).equals(\"b\")){\n HighlightMove(r, column);\n break;\n }\n else if(piecePositions[r][column].substring(0, 1).equals(\"w\")){\n break;\n }\n column--;\n }\n }", "title": "" }, { "docid": "7324a603c4c3f1dd880f7498484ebf62", "score": "0.5941015", "text": "public List<IntPair> createQueenMoves(ChessPiece piece) {\n List<IntPair> movesList = new ArrayList<>();\n IntPair currentPosition = piece.getPosition();\n // Variables to determine if path is blocked\n int blockedEast = Integer.MAX_VALUE;\n int blockedSouthEast = Integer.MAX_VALUE;\n int blockedNorthEast = Integer.MAX_VALUE;\n int blockedWest = Integer.MAX_VALUE;\n int blockedSouthWest = Integer.MAX_VALUE;\n int blockedNorthWest = Integer.MAX_VALUE;\n int blockedNorth = Integer.MAX_VALUE;\n int blockedSouth = Integer.MAX_VALUE;\n // Check if ChessLibrary.Pieces.Queen can move horizontally / vertically / diagonally from 1 block to 7 blocks.\n for(int count = 1; count <= 7; count++) {\n if(currentPosition.left() + count < BOARD_COLUMNS) { // East\n if(count < blockedEast) {\n blockedEast = getBlockedEast(piece, movesList, currentPosition, blockedEast, count);\n }\n if(currentPosition.right() + count < BOARD_ROWS) { // South-East\n if(count < blockedSouthEast) {\n blockedSouthEast = getBlockedSouthEast(piece, movesList, currentPosition, blockedSouthEast, count);\n }\n }\n if(currentPosition.right() - count >= 0) { // North-East\n if(count < blockedNorthEast) {\n blockedNorthEast = getBlockedNorthEast(piece, movesList, currentPosition, blockedNorthEast, count);\n }\n }\n }\n if(currentPosition.left() - count >= 0) { // West\n if(count < blockedWest) {\n blockedWest = getBlockedWest(piece, movesList, currentPosition, blockedWest, count);\n }\n if(currentPosition.right() + count < BOARD_ROWS) { // South-West\n if(count < blockedSouthWest) {\n blockedSouthWest = getBlockedSouthWest(piece, movesList, currentPosition, blockedSouthWest, count);\n }\n }\n if(currentPosition.right() - count >= 0) { // North-West\n if(count < blockedNorthWest) {\n blockedNorthWest = getBlockedNorthWest(piece, movesList, currentPosition, blockedNorthWest, count);\n }\n }\n }\n if(currentPosition.right() + count < BOARD_ROWS) { // South\n if(count < blockedSouth) {\n blockedSouth = getBlockedSouth(piece, movesList, currentPosition, blockedSouth, count);\n }\n }\n if(currentPosition.right() - count >= 0) { // North\n if(count < blockedNorth) {\n blockedNorth = getBlockedNorth(piece, movesList, currentPosition, blockedNorth, count);\n }\n }\n }\n return movesList;\n }", "title": "" }, { "docid": "266a8f5d6f1850046118b84a1fd52fb0", "score": "0.5920517", "text": "public boolean colorToMoveInCheck(int startPos, int endPos) {\n\tPiece king;\n\tPiece[] tempList = new Piece[NUM_PIECES];\n\tPiece[] tempBoard = new Piece[NUM_SQUARES];\n\tint k_rank, k_file, offset;\n\n\t//copy the board and make the move on the copy.\n\tfor (int i = 0; i < NUM_PIECES; i++) {\n\t tempList[i] = new Piece(pieceList[i]);\n\t String start = board[startPos].getSquare();\n\t String end = board[endPos].getSquare();\n\t if (tempList[i].getSquare().equals(end)) {\n\t\ttempList[i].capturePiece();\n\t }\n\t // piece only moves if this start == curSquare\n\t tempList[i].movePiece(start, end);\n\t}\n\n\tfor (int i = 0; i < NUM_SQUARES; i++) {\n\t tempBoard[i] = new Piece(board[i]);\n\t}\n\n\ttempBoard[endPos].movePiece(tempBoard[startPos]);\n\ttempBoard[startPos].nullify();\n\t\n\n\tif (whiteToMove()) {\n\t king = tempList[4];\n\t // we want to examine the position of the black pieces\n\t offset = 16;\n\t} else {// blackToMove()\n\t king = tempList[20];\n\t // examine the position of the white pieces\n\t offset = 0;\n\t}\n\tString k_pos = king.getSquare();\n\tk_file = k_pos.charAt(0) - 'a';\n\tk_rank = Character.getNumericValue(k_pos.charAt(1)) - 1;\n\n\t// check for every piece and see if it puts king in check\n\tfor (int i = offset; i < offset+16; i++) {\n\n\t String pos = tempList[i].getSquare();\n\t int file = pos.charAt(0) - 'a';\n\t int rank = Character.getNumericValue(pos.charAt(1)) - 1;\n\n\t /************** Pawns ************************/\n\t if (tempList[i].getType().equals(\"pawn\")) {\n\t\tif (blackToMove()) {\n\t\t if (k_rank - rank == 1) {\n\t\t\tif (Math.abs(k_file - file) == 1) {\n\t\t\t System.out.print(\"pawn \");\n\t\t\t return true;\n\t\t\t}\n\t\t }\n\t\t}\n\t\telse if (whiteToMove()) {\n\t\t if (rank - k_rank == 1) {\n\t\t\tif (Math.abs(k_file - file) == 1) {\n\t\t\t System.out.print(\"pawn \");\n\t\t\t return true;\n\t\t\t}\n\t\t }\n\t\t}\n\t } // if pawn //////////////////////////////////\n\n\t /***************** Rooks *******************/\n\t /************* Partial Queens ***************/\n\t else if (tempList[i].getType().equals(\"rook\") ||\n\t\t tempList[i].getType().equals(\"queen\")) {\n\t\tif ((Math.abs(rank - k_rank) == 1 && file == k_file)\n\t\t || (Math.abs(file - k_file) == 1 && rank == k_rank)) {\n\t\t //rook/queen is right next to the king, so check\n\t\t return true;\n\t\t}\n\t\tint incr; boolean blocked = false;\n\t\t// look to see if another piece blocks the rook\n\t\tif (rank == k_rank) {\n\t\t incr = (file > k_file) ? -1 : 1;\n\t\t for (int j = file; j != k_file; j += incr) {\n\t\t\tint square = (NUM_RANKS * rank) + j;\n\t\t\tif (!tempBoard[square].isNull()) {\n\t\t\t blocked = true; //cant get king, notCheck\n\t\t\t}\n\t\t }\n\t\t if (!blocked) { // can get the king with the rook/queen\n\t\t\tSystem.out.print(\"rook not blocked \");\n\t\t\treturn true;\n\t\t }\n\t\t} // rook/queen and king on same rank\n\t\telse if (file == k_file) {\n\t\t incr = (rank > k_rank) ? -1 : 1;\n\t\t for (int j = rank; j != k_rank; j += incr) {\n\t\t\tint square = (NUM_RANKS * j) + file;\n\t\t\tif (!tempBoard[square].isNull()) {\n\t\t\t blocked = true;\n\t\t\t}\n\t\t }\n\t\t if (!blocked) { // can get king with rook/queen\n\t\t\treturn true;\n\t\t }\n\t\t} // rook/queen and king on same file\n\t } // if rook || queen ////////////////////////////////\n\n\t /********** Bishops **********************/\n\t /******* Partial Queen ******************/\n\t else if (tempList[i].getType().equals(\"bishop\") ||\n\t\t tempList[i].getType().equals(\"queen\")) {\n\t \tboolean blocked = false;\n\t \tif (Math.abs(rank - k_rank) != Math.abs(file - k_file)) {\n\t \t blocked = true;\n\t \t}\n\t\tif (Math.abs(rank - k_rank) == 1 &&\n\t\t Math.abs(file - k_file) == 1) {\n\t\t return true; // bishop right next to king\n\t\t}\n\t\tint f_inc, r_inc, r, f;\n\t\tf_inc = (file < k_file) ? 1 : -1;\n\t\tif (file == k_rank) f_inc = 0;\n\t\tr_inc = (rank < k_rank) ? 1 : -1;\n\t\tif (rank == k_rank) r_inc = 0;\n\t\tfor (f = file, r = rank; (f != k_file) && (r != k_rank);\n\t\t f+=f_inc, r+=r_inc)\n\t\t {\n\t\t\tint square = (NUM_RANKS * r) + f;\n\t\t\tif (!tempBoard[square].isNull()) {\n\t\t\t blocked = true;\n\t\t \n\t\t\t}\n\t\t }\n\t \tif (!blocked) { // can get the king with the bishop/queen!!\n\t \t return true;\n\t \t}\n\t } // if bishop || queen ////////////////////////////\n\t \n\t /**************** King *****************************/\n\t else if (tempList[i].getType().equals(\"king\")) {\n\t\tif (Math.abs(rank - k_rank) <= 1 &&\n\t\t Math.abs(file - k_file) <= 1) {\n\t\t return true;\n\t\t}\n\t }\n\t}\n\t\n\n\treturn false; // to get here, cant have been in check\n }", "title": "" }, { "docid": "3cb23f346469c4d50ed2f83ee5e185fb", "score": "0.59179366", "text": "public List<IntPair> createKingMovesOnlyBorderCheck(ChessPiece piece) {\n List<IntPair> movesList = new ArrayList<>();\n IntPair currentPosition = piece.getPosition();\n // Check if ChessLibrary.Pieces.King can move 1 block horizontally / vertically / diagonally.\n if(currentPosition.left() + 1 < BOARD_COLUMNS) { // 1 block East\n IntPair moveEast = new IntPair(currentPosition.left() + 1, currentPosition.right());\n movesList.add(moveEast);\n if(currentPosition.right() + 1 < BOARD_ROWS) { // 1 block South-East\n IntPair moveSouthEast = new IntPair(currentPosition.left() + 1, currentPosition.right() + 1);\n movesList.add(moveSouthEast);\n }\n if(currentPosition.right() - 1 >= 0) { // 1 block North-East\n IntPair moveNorthEast = new IntPair(currentPosition.left() + 1, currentPosition.right() - 1);\n movesList.add(moveNorthEast);\n }\n }\n if(currentPosition.left() - 1 >= 0) { // 1 block West\n IntPair moveWest = new IntPair(currentPosition.left() - 1, currentPosition.right());\n movesList.add(moveWest);\n\n if(currentPosition.right() + 1 < BOARD_ROWS) { // 1 block South-West\n IntPair moveSouthWest = new IntPair(currentPosition.left() - 1, currentPosition.right() + 1);\n movesList.add(moveSouthWest);\n\n }\n if(currentPosition.right() - 1 >= 0) { // 1 block North-West\n IntPair moveNorthWest = new IntPair(currentPosition.left() - 1, currentPosition.right() - 1);\n movesList.add(moveNorthWest);\n\n }\n }\n if(currentPosition.right() + 1 < BOARD_ROWS) { // 1 block South\n IntPair moveSouth = new IntPair(currentPosition.left(), currentPosition.right() + 1);\n movesList.add(moveSouth);\n }\n if(currentPosition.right() - 1 >= 0) { // 1 block North\n IntPair moveNorth = new IntPair(currentPosition.left(), currentPosition.right() - 1);\n movesList.add(moveNorth);\n }\n return movesList;\n }", "title": "" }, { "docid": "9d31b6651de8f23a06beabfabf86fa95", "score": "0.59123963", "text": "private void BlackRookPressed(int r, int c){\n if (itemSelected){\n return;\n }\n //if it is white's turn, return\n if(whiteturn){\n return;\n }\n //if you are just now selecting the black rook\n itemSelected = true;\n selectionRow = r;\n selectionColumn = c;\n HighlightSelection(r, c);\n //checks moves up\n int row = r + 1;\n while((row < 8)){\n if(piecePositions[row][c].equals(\"Empty\")){\n HighlightMove(row, c);\n }\n else if(piecePositions[row][c].substring(0, 1).equals(\"w\")){\n HighlightMove(row, c);\n break;\n }\n else if(piecePositions[row][c].substring(0, 1).equals(\"b\")){\n break;\n }\n row++;\n }\n //checks moves down\n row = r - 1;\n while(row >= 0){\n if(piecePositions[row][c].equals(\"Empty\")){\n HighlightMove(row, c);\n }\n else if(piecePositions[row][c].substring(0, 1).equals(\"w\")){\n HighlightMove(row, c);\n break;\n }\n else if(piecePositions[row][c].substring(0, 1).equals(\"b\")){\n break;\n }\n row--;\n }\n //checks moves right\n int column = c + 1;\n while(column < 8){\n if(piecePositions[r][column].equals(\"Empty\")){\n HighlightMove(r, column);\n }\n else if(piecePositions[r][column].substring(0, 1).equals(\"w\")){\n HighlightMove(r, column);\n break;\n }\n else if(piecePositions[r][column].substring(0, 1).equals(\"b\")){\n break;\n }\n column++;\n }\n //checks moves left\n column = c - 1;\n while(column >= 0){\n if(piecePositions[r][column].equals(\"Empty\")){\n HighlightMove(r, column);\n }\n else if(piecePositions[r][column].substring(0, 1).equals(\"w\")){\n HighlightMove(r, column);\n break;\n }\n else if(piecePositions[r][column].substring(0, 1).equals(\"b\")){\n break;\n }\n column--;\n }\n }", "title": "" }, { "docid": "c83c4dbeada620777a75b83499cc48c5", "score": "0.5907213", "text": "private void BlackQueenPressed(int r, int c){\n if (itemSelected){\n return;\n }\n //if it is white's turn, return\n if(whiteturn){\n return;\n }\n //if you are just now selecting the black queen\n itemSelected = true;\n selectionRow = r;\n selectionColumn = c;\n HighlightSelection(r, c);\n\n //check up and left\n int row = r + 1;\n int column = c - 1;\n while((row < 8 && column >= 0)){\n if(piecePositions[row][column].equals(\"Empty\")){\n HighlightMove(row, column);\n }\n else if(piecePositions[row][column].substring(0, 1).equals(\"w\")){\n HighlightMove(row, column);\n break;\n }\n else if(piecePositions[row][column].substring(0, 1).equals(\"b\")){\n break;\n }\n row++;\n column--;\n }\n\n //checks up and right\n row = r + 1;\n column = c + 1;\n while((row < 8 && column < 8)){\n if(piecePositions[row][column].equals(\"Empty\")){\n HighlightMove(row, column);\n }\n else if(piecePositions[row][column].substring(0, 1).equals(\"w\")){\n HighlightMove(row, column);\n break;\n }\n else if(piecePositions[row][column].substring(0, 1).equals(\"b\")){\n break;\n }\n row++;\n column++;\n }\n\n //checks down and left\n row = r - 1;\n column = c - 1;\n while((row >= 0 && column >= 0)){\n if(piecePositions[row][column].equals(\"Empty\")){\n HighlightMove(row, column);\n }\n else if(piecePositions[row][column].substring(0, 1).equals(\"w\")){\n HighlightMove(row, column);\n break;\n }\n else if(piecePositions[row][column].substring(0, 1).equals(\"b\")){\n break;\n }\n row--;\n column--;\n }\n\n //checks down and right\n row = r - 1;\n column = c + 1;\n while((row >= 0 && column < 8)){\n if(piecePositions[row][column].equals(\"Empty\")){\n HighlightMove(row, column);\n }\n else if(piecePositions[row][column].substring(0, 1).equals(\"w\")){\n HighlightMove(row, column);\n break;\n }\n else if(piecePositions[row][column].substring(0, 1).equals(\"b\")){\n break;\n }\n row--;\n column++;\n }\n\n //checks moves up\n row = r + 1;\n while((row < 8)){\n if(piecePositions[row][c].equals(\"Empty\")){\n HighlightMove(row, c);\n }\n else if(piecePositions[row][c].substring(0, 1).equals(\"w\")){\n HighlightMove(row, c);\n break;\n }\n else if(piecePositions[row][c].substring(0, 1).equals(\"b\")){\n break;\n }\n row++;\n }\n //checks moves down\n row = r - 1;\n while(row >= 0){\n if(piecePositions[row][c].equals(\"Empty\")){\n HighlightMove(row, c);\n }\n else if(piecePositions[row][c].substring(0, 1).equals(\"w\")){\n HighlightMove(row, c);\n break;\n }\n else if(piecePositions[row][c].substring(0, 1).equals(\"b\")){\n break;\n }\n row--;\n }\n //checks moves right\n column = c + 1;\n while(column < 8){\n if(piecePositions[r][column].equals(\"Empty\")){\n HighlightMove(r, column);\n }\n else if(piecePositions[r][column].substring(0, 1).equals(\"w\")){\n HighlightMove(r, column);\n break;\n }\n else if(piecePositions[r][column].substring(0, 1).equals(\"b\")){\n break;\n }\n column++;\n }\n //checks moves left\n column = c - 1;\n while(column >= 0){\n if(piecePositions[r][column].equals(\"Empty\")){\n HighlightMove(r, column);\n }\n else if(piecePositions[r][column].substring(0, 1).equals(\"w\")){\n HighlightMove(r, column);\n break;\n }\n else if(piecePositions[r][column].substring(0, 1).equals(\"b\")){\n break;\n }\n column--;\n }\n }", "title": "" }, { "docid": "3ca51f40484a1baac79221addf10e67e", "score": "0.5905122", "text": "private void getLandingSquares(Stack found) {\n\t\tMove tmp;\n\t\tSquare landing;\n\t\tStack squares = new Stack();\n\t\twhile (!found.empty()) {\n\t\t\ttmp = (Move) found.pop();\n\t\t\tlanding = (Square) tmp.getLanding();\n\t\t\tsquares.push(landing);\n\t\t}\n\t\tcolourSquares(squares);\n\t}", "title": "" }, { "docid": "423e9f9f2d35a7ee2f55f81652fb1f47", "score": "0.5903422", "text": "private Stack getBishopMoves(int x, int y, String piece) {\n\t\tSquare startingSquare = new Square(x, y, piece);\n\t\tStack moves = new Stack();\n\t\tMove validM, validM2, validM3, validM4;\n\t\tfor (int i = 1; i < 8; i++) {\n\t\t\tint tmpx = x + i;\n\t\t\tint tmpy = y + i;\n\t\t\tif (!(tmpx > 7 || tmpx < 0 || tmpy > 7 || tmpy < 0)) {\n\t\t\t\tSquare tmp = new Square(tmpx, tmpy, piece);\n\t\t\t\tvalidM = new Move(startingSquare, tmp);\n\t\t\t\tif (!piecePresent(((tmp.getXC() * 75) + 20), (((tmp.getYC() * 75) + 20)))) {\n\t\t\t\t\tmoves.push(validM);\n\t\t\t\t} else {\n\t\t\t\t\tif (checkWhiteOponent(((tmp.getXC() * 75) + 20), ((tmp.getYC() * 75) + 20))) {\n\t\t\t\t\t\tmoves.push(validM);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} // end of the first for Loop\n\t\tfor (int k = 1; k < 8; k++) {\n\t\t\tint tmpk = x + k;\n\t\t\tint tmpy2 = y - k;\n\t\t\tif (!(tmpk > 7 || tmpk < 0 || tmpy2 > 7 || tmpy2 < 0)) {\n\t\t\t\tSquare tmpK1 = new Square(tmpk, tmpy2, piece);\n\t\t\t\tvalidM2 = new Move(startingSquare, tmpK1);\n\t\t\t\tif (!piecePresent(((tmpK1.getXC() * 75) + 20), (((tmpK1.getYC() * 75) + 20)))) {\n\t\t\t\t\tmoves.push(validM2);\n\t\t\t\t} else {\n\t\t\t\t\tif (checkWhiteOponent(((tmpK1.getXC() * 75) + 20), ((tmpK1.getYC() * 75) + 20))) {\n\t\t\t\t\t\tmoves.push(validM2);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} // end of second loop.\n\t\tfor (int l = 1; l < 8; l++) {\n\t\t\tint tmpL2 = x - l;\n\t\t\tint tmpy3 = y + l;\n\t\t\tif (!(tmpL2 > 7 || tmpL2 < 0 || tmpy3 > 7 || tmpy3 < 0)) {\n\t\t\t\tSquare tmpLMov2 = new Square(tmpL2, tmpy3, piece);\n\t\t\t\tvalidM3 = new Move(startingSquare, tmpLMov2);\n\t\t\t\tif (!piecePresent(((tmpLMov2.getXC() * 75) + 20), (((tmpLMov2.getYC() * 75) + 20)))) {\n\t\t\t\t\tmoves.push(validM3);\n\t\t\t\t} else {\n\t\t\t\t\tif (checkWhiteOponent(((tmpLMov2.getXC() * 75) + 20), ((tmpLMov2.getYC() * 75) + 20))) {\n\t\t\t\t\t\tmoves.push(validM3);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} // end of the third loop\n\t\tfor (int n = 1; n < 8; n++) {\n\t\t\tint tmpN2 = x - n;\n\t\t\tint tmpy4 = y - n;\n\t\t\tif (!(tmpN2 > 7 || tmpN2 < 0 || tmpy4 > 7 || tmpy4 < 0)) {\n\t\t\t\tSquare tmpNmov2 = new Square(tmpN2, tmpy4, piece);\n\t\t\t\tvalidM4 = new Move(startingSquare, tmpNmov2);\n\t\t\t\tif (!piecePresent(((tmpNmov2.getXC() * 75) + 20), (((tmpNmov2.getYC() * 75) + 20)))) {\n\t\t\t\t\tmoves.push(validM4);\n\t\t\t\t} else {\n\t\t\t\t\tif (checkWhiteOponent(((tmpNmov2.getXC() * 75) + 20), ((tmpNmov2.getYC() * 75) + 20))) {\n\t\t\t\t\t\tmoves.push(validM4);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} // end of the last loop\n\t\t\n\t\treturn moves;\n\t}", "title": "" }, { "docid": "8e6e04001779394e8482fd693fa8539c", "score": "0.5891689", "text": "private void reveal(int row, int col) {\n\n // In each round, the cell must be in the range\n if (mineField.inRange(row, col)) {\n\n // Case 1: If user has already flagged or questioned the cell, skip that cell\n if (state[row][col] == MINE_GUESS || state[row][col] == QUESTION) return;\n\n // Case 2: If there are no mines adjacent to an covered square, it displays no number\n // And then recursively do the same search for adjacent 8 cells\n if (mineField.numAdjacentMines(row, col) == 0 && state[row][col] == COVERED) {\n state[row][col] = UNCOVERED;\n\n // Recursively check for adjacent 8 cells\n reveal(row - 1, col - 1);\n reveal(row - 1, col);\n reveal(row - 1, col + 1);\n reveal(row, col - 1);\n reveal(row, col + 1);\n reveal(row + 1, col - 1);\n reveal(row + 1, col);\n reveal(row + 1, col + 1);\n reveal(row + 1, col + 1);\n }\n\n // Case 3: If a cell has adjacent mines, the cell will display the number of adjacent hidden mines\n else if (mineField.numAdjacentMines(row, col) > 0 && state[row][col] == COVERED) {\n\n state[row][col] = mineField.numAdjacentMines(row, col);\n }\n }\n }", "title": "" }, { "docid": "228479f7eb0eca513d54b42c7bcaabcf", "score": "0.5856388", "text": "public void changeSquareColorImplement(){\n for (int j = 0; j < 8; j++) {\r\n for (int i = 0; i < 8; i++) {\r\n \t\tif ((i % 2 == 1 && j % 2 == 1) || (i % 2 == 0 && j % 2 == 0)) { //loop through the whole board\r\n \t\t\tchessBoardSquares[i][j].setBackground(whiteSquare);\r\n \t\t} else {\r\n \t\t\tchessBoardSquares[i][j].setBackground(blackSquare);\r\n \t\t}\r\n }\r\n }\r\n \t}", "title": "" }, { "docid": "fb6d5b554ac7d368769cad7034678bc5", "score": "0.58516717", "text": "private void BlackPawnPressed(int r, int c){\n if (itemSelected){\n return;\n }\n //if you are just now selecting the black pawn\n else if(!whiteturn){\n itemSelected = true;\n selectionRow = r;\n selectionColumn = c;\n HighlightSelection(r, c);\n //if it is the first move of the pawn\n if(r == 6){\n if(piecePositions[r - 1][c].equals(\"Empty\")){\n HighlightMove(r - 1, c);\n if(piecePositions[r - 2][c].equals(\"Empty\")){\n HighlightMove(r - 2, c);\n }\n }\n //first move and if there are enemies\n if((c + 1 < 8) && (c - 1 >= 0)){\n if(piecePositions[r - 1][c - 1].substring(0, 1).equals(\"w\")){\n HighlightMove(r - 1, c - 1);\n }\n if(piecePositions[r - 1][c + 1].substring(0, 1).equals(\"w\")){\n HighlightMove(r - 1, c + 1);\n }\n }\n if((c + 1 == 8)){\n if(piecePositions[r - 1][c - 1].substring(0, 1).equals(\"w\")){\n HighlightMove(r - 1, c - 1);\n }\n }\n if(c - 1 == -1){\n if(piecePositions[r - 1][c + 1].substring(0, 1).equals(\"w\")){\n HighlightMove(r - 1, c + 1);\n }\n }\n }\n //if it is not the first move of the pawn\n else{\n if((r - 1 >= 0) && piecePositions[r - 1][c].equals(\"Empty\")){\n HighlightMove(r - 1, c);\n }\n //if there is an enemy\n if((c + 1 < 8) && (c - 1 >= 0) && (r - 1 >= 0)){\n if(piecePositions[r - 1][c - 1].substring(0, 1).equals(\"w\")){\n HighlightMove(r - 1, c - 1);\n }\n if(piecePositions[r - 1][c + 1].substring(0, 1).equals(\"w\")){\n HighlightMove(r - 1, c + 1);\n }\n }\n if((c - 1 == -1) && r -1 >= 0){\n if(piecePositions[r - 1][c + 1].substring(0, 1).equals(\"w\")){\n HighlightMove(r - 1, c + 1);\n }\n }\n if((c + 1 == 8) && r - 1 >= 0){\n if(piecePositions[r - 1][c - 1].substring(0, 1).equals(\"w\")){\n HighlightMove(r - 1, c - 1);\n }\n }\n }\n }\n //returns if it is not black's turn\n return;\n }", "title": "" }, { "docid": "a0548830091aa8e153d99bf67136f040", "score": "0.58515066", "text": "private Stack findWhitePieces() {\n\t\tStack Squares = new Stack();\n\t\tString icon;\n\t\tint x;\n\t\tint y;\n\n\t\tString pieceName;\n\t\tfor (int i = 0; i < 600; i += 75) {\n\t\t\tfor (int j = 0; j < 600; j += 75) {\n\n\t\t\t\ty = i / 75;\n\t\t\t\tx = j / 75;\n\n\t\t\t\tComponent tmp = chessBoard.findComponentAt(j, i);\n\t\t\t\t// System.out.println(tmp.getClass().getName());\n\n\t\t\t\tif (tmp instanceof JLabel) {\n\t\t\t\t\t// System.out.println(tmp);\n\t\t\t\t\tchessPiece = (JLabel) tmp;\n\t\t\t\t\ticon = chessPiece.getIcon().toString();\n\t\t\t\t\tpieceName = icon.substring(0, (icon.length() - 4));\n\t\t\t\t\tif (pieceName.contains(\"White\")) {\n\t\t\t\t\t\tSquare stmp = new Square(x, y, pieceName);\n\t\t\t\t\t\tSquares.push(stmp);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t//System.out.println(\"no if for you\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn Squares;\n\n\t}", "title": "" }, { "docid": "619c25000d7828498258f27d5cb8ed9c", "score": "0.5849652", "text": "public int winningMove() {\r\n\r\n for (int i = 0; i < boardStateToAnalyse.length; i++) {\r\n for (int j = 0; j < boardStateToAnalyse[i].length; j++) {\r\n if(boardStateToAnalyse[i][j]!=null){\r\n if(boardStateToAnalyse[i][j].player1==false){\r\n if(buildPatternNorth(i, j, 4).equals(\"OOON\")) {\r\n if(j>2){\r\n if(!IsBelowEmpty(i, j-3)){\r\n return i; \r\n }\r\n }\r\n }\r\n if(buildPatternNorthEast(i, j, 4).equals(\"OOON\")){\r\n if(i<4&&j>2){\r\n if(!IsBelowEmpty(i+3, j-3)){\r\n return i+3; \r\n }\r\n }\r\n }\r\n if(buildPatternNorthEast(i, j, 4).equals(\"OONO\")){\r\n if(i<4&&j>2){\r\n if(!IsBelowEmpty(i+2, j-2)){\r\n return i+2; \r\n }\r\n }\r\n }\r\n if(buildPatternEast(i, j, 4).equals(\"OOON\")){\r\n if(i<4){\r\n if(!IsBelowEmpty(i+3, j)){\r\n return i+3; \r\n }\r\n }\r\n }\r\n if(buildPatternEast(i, j, 4).equals(\"OONO\")){\r\n if(i<4){\r\n if(!IsBelowEmpty(i+2, j)){\r\n return i+2; \r\n }\r\n }\r\n }\r\n if(buildPatternSouthEast(i, j, 4).equals(\"OOON\")){\r\n if(i<4&&j<3){\r\n if(!IsBelowEmpty(i+3, j+3)){\r\n return i+3; \r\n }\r\n }\r\n }\r\n if(buildPatternSouthEast(i, j, 4).equals(\"OONO\")){\r\n if(i<4&&j<3){\r\n if(!IsBelowEmpty(i+2, j+2)){\r\n return i+2; \r\n }\r\n }\r\n }\r\n if(buildPatternSouthWest(i, j, 4).equals(\"OOON\")){\r\n if(i>2&&j<3){\r\n if(!IsBelowEmpty(i-3, j+3)){\r\n return i-3; \r\n }\r\n }\r\n }\r\n if(buildPatternSouthWest(i, j, 4).equals(\"OONO\")){\r\n if(i>2&&j<3){\r\n if(!IsBelowEmpty(i-2, j+2)){\r\n return i-2; \r\n }\r\n }\r\n }\r\n if(buildPatternWest(i, j, 4).equals(\"OOON\")){\r\n if(i>2){\r\n if(!IsBelowEmpty(i-3, j)){\r\n return i-3; \r\n }\r\n }\r\n }\r\n if(buildPatternWest(i, j, 4).equals(\"OONO\")){\r\n if(i>2){\r\n if(!IsBelowEmpty(i-2, j)){\r\n return i-2; \r\n }\r\n }\r\n }\r\n if(buildPatternNorthWest(i, j, 4).equals(\"OOON\")){\r\n if(i>2&&j>2){\r\n if(!IsBelowEmpty(i-3, j-3)){\r\n return i-3; \r\n }\r\n }\r\n }\r\n if(buildPatternNorthWest(i, j, 4).equals(\"OONO\")){\r\n if(i>2&&j>2){\r\n if(!IsBelowEmpty(i-2, j-2)){\r\n return i-2; \r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n System.out.println(\"winningMove returned -1\");\r\n return -1;\r\n }", "title": "" }, { "docid": "602ce064d6dc1fda7c228a576ab54c3c", "score": "0.5849469", "text": "static int orangesRotting(int[][] grid) {\r\n \r\n // **** initialization (fresh and rotten oranges) ****\r\n HashSet<String> fresh = new HashSet<String>();\r\n HashSet<String> rotten = new HashSet<String>();\r\n\r\n // **** populate hash sets with grid coordinates ****\r\n for (int r = 0; r < grid.length; r++) {\r\n for (int c = 0; c < grid[r].length; c++) {\r\n if (grid[r][c] == 1)\r\n fresh.add(\"\" + r + c);\r\n else if (grid[r][c] == 2)\r\n rotten.add(\"\" + r + c);\r\n }\r\n }\r\n\r\n // **** initialize time ****\r\n int min = 0;\r\n\r\n // **** loop infecting oranges while we have fresh ones ****\r\n while (fresh.size() != 0) {\r\n\r\n // **** oranges that will get infected in this pass ****\r\n HashSet<String> infected = new HashSet<String>();\r\n\r\n // **** traverse all infected oranges ****\r\n for (String rot : rotten) {\r\n\r\n // **** extract grid coordinates ****\r\n int r = rot.charAt(0) - '0';\r\n int c = rot.charAt(1) - '0';\r\n\r\n // **** infect adjacent oranges ****\r\n for (int[] dir : dirs) {\r\n\r\n // **** ****\r\n String coords = \"\" + (r + dir[0]) + (c + dir[1]);\r\n\r\n // **** move current orange (if needed) ****\r\n if (fresh.contains(coords)) {\r\n\r\n // **** remove orange from the fresh set ****\r\n fresh.remove(coords);\r\n\r\n // **** add orange to the infected set ****\r\n infected.add(coords);\r\n }\r\n }\r\n }\r\n\r\n // **** did not infect new oranges ****\r\n if (infected.size() == 0) {\r\n return -1;\r\n }\r\n\r\n // **** only consider the last infected oranges ****\r\n rotten = infected;\r\n\r\n // **** increment time ****\r\n min++;\r\n }\r\n\r\n // **** return time ****\r\n return min;\r\n }", "title": "" }, { "docid": "99bca6c0fbd8845e4524ffd9f72614d5", "score": "0.584486", "text": "private void WhiteRookPressed(int r, int c){\n if (itemSelected){\n return;\n }\n //if it is black's turn, return\n if(!whiteturn){\n return;\n }\n //if you are just now selecting the white rook\n itemSelected = true;\n selectionRow = r;\n selectionColumn = c;\n HighlightSelection(r, c);\n //checks moves up\n int row = r + 1;\n while((row < 8)){\n if(piecePositions[row][c].equals(\"Empty\")){\n HighlightMove(row, c);\n }\n else if(piecePositions[row][c].substring(0, 1).equals(\"b\")){\n HighlightMove(row, c);\n break;\n }\n else if(piecePositions[row][c].substring(0, 1).equals(\"w\")){\n break;\n }\n row++;\n }\n //checks moves down\n row = r - 1;\n while(row >= 0){\n if(piecePositions[row][c].equals(\"Empty\")){\n HighlightMove(row, c);\n }\n else if(piecePositions[row][c].substring(0, 1).equals(\"b\")){\n HighlightMove(row, c);\n break;\n }\n else if(piecePositions[row][c].substring(0, 1).equals(\"w\")){\n break;\n }\n row--;\n }\n //checks moves right\n int column = c + 1;\n while(column < 8){\n if(piecePositions[r][column].equals(\"Empty\")){\n HighlightMove(r, column);\n }\n else if(piecePositions[r][column].substring(0, 1).equals(\"b\")){\n HighlightMove(r, column);\n break;\n }\n else if(piecePositions[r][column].substring(0, 1).equals(\"w\")){\n break;\n }\n column++;\n }\n //checks moves left\n column = c - 1;\n while(column >= 0){\n if(piecePositions[r][column].equals(\"Empty\")){\n HighlightMove(r, column);\n }\n else if(piecePositions[r][column].substring(0, 1).equals(\"b\")){\n HighlightMove(r, column);\n break;\n }\n else if(piecePositions[r][column].substring(0, 1).equals(\"w\")){\n break;\n }\n column--;\n }\n }", "title": "" }, { "docid": "4f8e9db24ac3e73612c3775daa80b8ca", "score": "0.58436567", "text": "public void revealMore(int x, int y) {\n int minX, minY, maxX, maxY;\n\n //boundaries\n if (x <= 0) minX = 0;\n else minX = x - 1;\n\n if (y <= 0) minY = 0;\n else minY = y - 1;\n\n if (x >= xSize - 1) maxX = xSize;\n else maxX = x + 2;\n\n if (y >= ySize - 1) maxY = ySize;\n else maxY = y + 2;\n\n //surrounding cells\n for (int i = minX; i < maxX; i++) {\n for (int j = minY; j < maxY; j++) {\n if (!mines[i][j] && board[i][j] == Blank) {\n reveal(i, j);\n if (board[i][j] == 0) {\n //recursive call\n revealMore(i, j);\n }\n }\n }\n }\n }", "title": "" }, { "docid": "8ce176a3435d19a29b29b17182690475", "score": "0.58309746", "text": "public List<IntPair> createLeaperMoves(ChessPiece piece) {\n List<IntPair> movesList = new ArrayList<>();\n IntPair currentPosition = piece.getPosition();\n if(currentPosition.left() + 1 < BOARD_COLUMNS) { // 1 block East\n IntPair moveEast1 = new IntPair(currentPosition.left() + 1, currentPosition.right());\n int occupyCheckE1 = checkOccupied(piece.getSide(), moveEast1);\n if(occupyCheckE1 == 0) { // capture only if 2 blocks away\n movesList.add(moveEast1);\n }\n if(currentPosition.left() + 2 < BOARD_COLUMNS) { // 2 blocks East\n IntPair moveEast2 = new IntPair(currentPosition.left() + 2, currentPosition.right());\n int occupyCheckE2 = checkOccupied(piece.getSide(), moveEast2);\n if(occupyCheckE2 == 2) { // moves only if capturing\n movesList.add(moveEast2);\n }\n }\n }\n if(currentPosition.right() + 1 < BOARD_ROWS) { // 1 block South\n IntPair moveSouth1 = new IntPair(currentPosition.left(), currentPosition.right() + 1);\n int occupyCheckS1 = checkOccupied(piece.getSide(), moveSouth1);\n if(occupyCheckS1 == 0) { // capture only if 2 blocks away\n movesList.add(moveSouth1);\n }\n if(currentPosition.right() + 2 < BOARD_ROWS) { // 2 blocks South\n IntPair moveSouth2 = new IntPair(currentPosition.left(), currentPosition.right() + 2);\n int occupyCheckS2 = checkOccupied(piece.getSide(), moveSouth2);\n if(occupyCheckS2 == 2) { // moves only if capturing\n movesList.add(moveSouth2);\n }\n }\n }\n if(currentPosition.left() - 1 >= 0) { // 1 block West\n IntPair moveWest1 = new IntPair(currentPosition.left() - 1, currentPosition.right());\n int occupyCheckW1 = checkOccupied(piece.getSide(), moveWest1);\n if(occupyCheckW1 == 0) { // capture only if 2 blocks away\n movesList.add(moveWest1);\n }\n if(currentPosition.left() - 2 >= 0) { // 2 blocks West\n IntPair moveWest2 = new IntPair(currentPosition.left() - 2, currentPosition.right());\n int occupyCheckW2 = checkOccupied(piece.getSide(), moveWest2);\n if(occupyCheckW2 == 2) { // moves only if capturing\n movesList.add(moveWest2);\n }\n }\n }\n if(currentPosition.right() - 1 >= 0) { // 1 block North\n IntPair moveNorth1 = new IntPair(currentPosition.left(), currentPosition.right() - 1);\n int occupyCheckN1 = checkOccupied(piece.getSide(), moveNorth1);\n if(occupyCheckN1 == 0) { // capture only if 2 blocks away\n movesList.add(moveNorth1);\n }\n if(currentPosition.right() - 2 >= 0) { // 2 blocks North\n IntPair moveNorth2 = new IntPair(currentPosition.left(), currentPosition.right() - 2);\n int occupyCheckN2 = checkOccupied(piece.getSide(), moveNorth2);\n if(occupyCheckN2 == 2) { // moves only if capturing\n movesList.add(moveNorth2);\n }\n }\n }\n return movesList;\n }", "title": "" }, { "docid": "3cf99a050909eb7c64ff8ed7e3aec801", "score": "0.5829365", "text": "public List<IntPair> createBishopMoves(ChessPiece piece) {\n List<IntPair> movesList = new ArrayList<>();\n IntPair currentPosition = piece.getPosition();\n // Values to determine if path is blocked\n int blockedSouthEast = Integer.MAX_VALUE;\n int blockedNorthEast = Integer.MAX_VALUE;\n int blockedSouthWest = Integer.MAX_VALUE;\n int blockedNorthWest = Integer.MAX_VALUE;\n // Check if bishop can move diagonally from 1 block to 7 blocks.\n for(int count = 1; count <= 7; count++) {\n if(currentPosition.left() + count < BOARD_COLUMNS) { // out of border check\n if(currentPosition.right() + count < BOARD_ROWS) { // South-East\n if(count < blockedSouthEast) {\n blockedSouthEast = getBlockedSouthEast(piece, movesList, currentPosition, blockedSouthEast, count);\n }\n }\n if(currentPosition.right() - count >= 0) { // North-East\n if(count < blockedNorthEast) {\n blockedNorthEast = getBlockedNorthEast(piece, movesList, currentPosition, blockedNorthEast, count);\n }\n }\n }\n if(currentPosition.left() - count >= 0) {\n if(currentPosition.right() + count < BOARD_ROWS) { // South-West\n if(count < blockedSouthWest) {\n blockedSouthWest = getBlockedSouthWest(piece, movesList, currentPosition, blockedSouthWest, count);\n }\n }\n if(currentPosition.right() - count >= 0) { // North-West\n if(count < blockedNorthWest) {\n blockedNorthWest = getBlockedNorthWest(piece, movesList, currentPosition, blockedNorthWest, count);\n }\n }\n }\n }\n return movesList;\n }", "title": "" }, { "docid": "10a39ba4e3bcfe02f7e1542181ec2c6d", "score": "0.5826072", "text": "private void Holes(Graphics2D g, int i)\r\n/* 212: */ {\r\n/* 213:173 */ g.fillOval(this.width / 10 + this.twidth * 6 / 10, i * 2, 1, 1);\r\n/* 214:174 */ if ((this.holes[i] >> 0 & 0x1) != 0) {\r\n/* 215:174 */ g.fillOval(this.width / 10 + this.twidth * 9 / 10, i * 2, 2, 2);\r\n/* 216: */ }\r\n/* 217:175 */ if ((this.holes[i] >> 1 & 0x1) != 0) {\r\n/* 218:175 */ g.fillOval(this.width / 10 + this.twidth * 8 / 10, i * 2, 2, 2);\r\n/* 219: */ }\r\n/* 220:176 */ if ((this.holes[i] >> 2 & 0x1) != 0) {\r\n/* 221:176 */ g.fillOval(this.width / 10 + this.twidth * 7 / 10, i * 2, 2, 2);\r\n/* 222: */ }\r\n/* 223:177 */ if ((this.holes[i] >> 3 & 0x1) != 0) {\r\n/* 224:177 */ g.fillOval(this.width / 10 + this.twidth * 5 / 10, i * 2, 2, 2);\r\n/* 225: */ }\r\n/* 226:178 */ if ((this.holes[i] >> 4 & 0x1) != 0) {\r\n/* 227:178 */ g.fillOval(this.width / 10 + this.twidth * 4 / 10, i * 2, 2, 2);\r\n/* 228: */ }\r\n/* 229:179 */ if ((this.holes[i] >> 5 & 0x1) != 0) {\r\n/* 230:179 */ g.fillOval(this.width / 10 + this.twidth * 3 / 10, i * 2, 2, 2);\r\n/* 231: */ }\r\n/* 232:180 */ if ((this.holes[i] >> 6 & 0x1) != 0) {\r\n/* 233:180 */ g.fillOval(this.width / 10 + this.twidth * 2 / 10, i * 2, 2, 2);\r\n/* 234: */ }\r\n/* 235:181 */ if ((this.holes[i] >> 7 & 0x1) != 0) {\r\n/* 236:181 */ g.fillOval(this.width / 10 + this.twidth * 1 / 10, i * 2, 2, 2);\r\n/* 237: */ }\r\n/* 238: */ }", "title": "" }, { "docid": "24143c79621a8f66c555fdd85aeb36a8", "score": "0.5804745", "text": "@Override\n public void setValidMoves(Piece[][] testGame) {\n validMoves.clear();\n if(this.color == 0){\n checkEnd(testGame, new Pair(position.x, position.y - 1));\n if(position.y == 6 && testGame[position.x][5] == null){\n checkEnd(testGame, new Pair(position.x, position.y - 2));\n }\n if(position.x > 0 && position.y > 0) {\n if (testGame[position.x - 1][position.y - 1] != null && testGame[position.x - 1][position.y - 1].color != this.color) {\n validMoves.add(new Pair(position.x - 1, position.y - 1));\n }\n }\n if(position.x < 7 && position.y > 0) {\n if (testGame[position.x + 1][position.y - 1] != null && testGame[position.x + 1][position.y - 1].color != this.color) {\n validMoves.add(new Pair(position.x + 1, position.y - 1));\n }\n }\n } else {\n checkEnd(testGame, new Pair(position.x, position.y + 1));\n if(position.y == 1 && testGame[position.x][2] == null){\n checkEnd(testGame, new Pair(position.x, position.y + 2));\n }\n if(position.x > 0 && position.y < 7) {\n if (testGame[position.x - 1][position.y + 1] != null && testGame[position.x - 1][position.y + 1].color != this.color) {\n validMoves.add(new Pair(position.x - 1, position.y + 1));\n }\n }\n if(position.x < 7 && position.y < 7) {\n if (testGame[position.x + 1][position.y + 1] != null && testGame[position.x + 1][position.y + 1].color != this.color) {\n validMoves.add(new Pair(position.x + 1, position.y + 1));\n }\n }\n }\n }", "title": "" }, { "docid": "582ba553589b2aa939252437a92be051", "score": "0.5791579", "text": "public int buildingLineMove() throws ArrayIndexOutOfBoundsException{\r\n\r\n for (int i = 0; i < boardStateToAnalyse.length; i++) {\r\n for (int j = 0; j < boardStateToAnalyse[i].length; j++) {\r\n if(boardStateToAnalyse[i][j]!=null){\r\n if(boardStateToAnalyse[i][j].player1==false){\r\n if(buildPatternNorth(i, j, 3).equals(\"OON\")) {\r\n \r\n if(j>1){\r\n if(!IsBelowEmpty(i, j-2)){\r\n return i; \r\n }\r\n }\r\n }\r\n if(buildPatternNorthEast(i, j, 3).equals(\"OON\")){\r\n \r\n if(i<5&&j>1){\r\n if(!IsBelowEmpty(i+2, j-2)){\r\n return i+2; \r\n }\r\n }\r\n }\r\n if(buildPatternEast(i, j, 3).equals(\"OON\")){\r\n \r\n if(i<5){\r\n if(!IsBelowEmpty(i+2, j)){\r\n return i+2; \r\n }\r\n }\r\n }\r\n if(buildPatternSouthEast(i, j, 3).equals(\"OON\")){\r\n \r\n if(i<5&&j<4){\r\n if(!IsBelowEmpty(i+2, j+2)){\r\n return i+2; \r\n }\r\n }\r\n }\r\n if(buildPatternSouthWest(i, j, 3).equals(\"OON\")){\r\n \r\n if(i>1&&j<4){\r\n if(!IsBelowEmpty(i-2, j+2)){\r\n return i-2; \r\n }\r\n }\r\n }\r\n if(buildPatternWest(i, j, 3).equals(\"OON\")){\r\n \r\n if(i>1){\r\n if(!IsBelowEmpty(i-2, j)){\r\n return i-2; \r\n }\r\n }\r\n }\r\n if(buildPatternNorthWest(i, j, 3).equals(\"OON\")){\r\n \r\n if(i>1&&j>1){\r\n if(!IsBelowEmpty(i-2, j-2)){\r\n return i-2; \r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n for (int i = 0; i < boardStateToAnalyse.length; i++) {\r\n for (int j = 0; j < boardStateToAnalyse[i].length; j++) {\r\n if(boardStateToAnalyse[i][j]!=null){\r\n if(boardStateToAnalyse[i][j].player1==true){\r\n if(buildPatternNorth(i, j, 3).equals(\"XXN\")) {\r\n \r\n if(j>1){\r\n if(!IsBelowEmpty(i, j-2)){\r\n return i; \r\n }\r\n }\r\n }\r\n if(buildPatternNorthEast(i, j, 3).equals(\"XXN\")){\r\n \r\n if(i<5&&j>1){\r\n if(!IsBelowEmpty(i+2, j-2)){\r\n return i+2; \r\n }\r\n }\r\n }\r\n if(buildPatternEast(i, j, 3).equals(\"XXN\")){\r\n \r\n if(i<5){\r\n if(!IsBelowEmpty(i+2, j)){\r\n return i+2; \r\n }\r\n }\r\n }\r\n if(buildPatternSouthEast(i, j, 3).equals(\"XXN\")){\r\n \r\n if(i<5&&j<4){\r\n if(!IsBelowEmpty(i+2, j+2)){\r\n return i+2; \r\n }\r\n }\r\n }\r\n if(buildPatternSouthWest(i, j, 3).equals(\"XXN\")){\r\n \r\n if(i>1&&j<4){\r\n if(!IsBelowEmpty(i-2, j+2)){\r\n return i-2; \r\n }\r\n }\r\n }\r\n if(buildPatternWest(i, j, 3).equals(\"XXN\")){\r\n \r\n if(i>1){\r\n if(!IsBelowEmpty(i-2, j)){\r\n return i-2; \r\n }\r\n }\r\n }\r\n if(buildPatternNorthWest(i, j, 3).equals(\"XXN\")){\r\n \r\n if(i>1&&j>1){\r\n if(!IsBelowEmpty(i-2, j-2)){\r\n return i-2; \r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n return -1;\r\n }", "title": "" }, { "docid": "accf8977aa1f5756ea742bd799f444ef", "score": "0.5786108", "text": "private Stack getKingSquares(int x, int y, String piece) {\n\t\tSquare startingSquare = new Square(x, y, piece);\n\t\tStack moves = new Stack();\n\t\tMove validM, validM2, validM3;\n\t\tint tmpx1 = x + 1;\n\t\tint tmpx2 = x - 1;\n\t\tint tmpy1 = y + 1;\n\t\tint tmpy2 = y - 1;\n\n\t\tif (!((tmpx1 > 7))) {\n\t\t\tSquare tmp = new Square(tmpx1, y, piece);\n\t\t\tSquare tmp1 = new Square(tmpx1, tmpy1, piece);\n\t\t\tSquare tmp2 = new Square(tmpx1, tmpy2, piece);\n\n\t\t\tif (checkSurroundingSquares(tmp)) {\n\t\t\t\tvalidM = new Move(startingSquare, tmp);\n\n\t\t\t\tif (!piecePresent(((tmp.getXC() * 75) + 20), (((tmp.getYC() * 75) + 20)))) {\n\t\t\t\t\tmoves.push(validM);\n\n\t\t\t\t} else {\n\n\t\t\t\t\tif (checkWhiteOponent(((tmp.getXC() * 75) + 20), (((tmp.getYC() * 75) + 20)))) {\n\t\t\t\t\t\tmoves.push(validM);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (!(tmpy1 > 7)) {\n\t\t\t\tif (checkSurroundingSquares(tmp1)) {\n\t\t\t\t\tvalidM2 = new Move(startingSquare, tmp1);\n\t\t\t\t\tif (!piecePresent(((tmp1.getXC() * 75) + 20), (((tmp1.getYC() * 75) + 20)))) {\n\t\t\t\t\t\tmoves.push(validM2);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (checkWhiteOponent(((tmp1.getXC() * 75) + 20), (((tmp1.getYC() * 75) + 20)))) {\n\t\t\t\t\t\t\tmoves.push(validM2);\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\tif (!(tmpy2 < 0)) {\n\t\t\t\tif (checkSurroundingSquares(tmp2)) {\n\t\t\t\t\tvalidM3 = new Move(startingSquare, tmp2);\n\t\t\t\t\tif (!piecePresent(((tmp2.getXC() * 75) + 20), (((tmp2.getYC() * 75) + 20)))) {\n\t\t\t\t\t\tmoves.push(validM3);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println(\"The values that we are going to be looking at are : \"\n\t\t\t\t\t\t\t\t+ ((tmp2.getXC() * 75) + 20) + \" and the y value is : \" + ((tmp2.getYC() * 75) + 20));\n\t\t\t\t\t\tif (checkWhiteOponent(((tmp2.getXC() * 75) + 20), (((tmp2.getYC() * 75) + 20)))) {\n\t\t\t\t\t\t\tmoves.push(validM3);\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\t\tif (!((tmpx2 < 0))) {\n\t\t\tSquare tmp3 = new Square(tmpx2, y, piece);\n\t\t\tSquare tmp4 = new Square(tmpx2, tmpy1, piece);\n\t\t\tSquare tmp5 = new Square(tmpx2, tmpy2, piece);\n\t\t\tif (checkSurroundingSquares(tmp3)) {\n\t\t\t\tvalidM = new Move(startingSquare, tmp3);\n\t\t\t\tif (!piecePresent(((tmp3.getXC() * 75) + 20), (((tmp3.getYC() * 75) + 20)))) {\n\t\t\t\t\tmoves.push(validM);\n\t\t\t\t} else {\n\t\t\t\t\tif (checkWhiteOponent(((tmp3.getXC() * 75) + 20), (((tmp3.getYC() * 75) + 20)))) {\n\t\t\t\t\t\tmoves.push(validM);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (!(tmpy1 > 7)) {\n\t\t\t\tif (checkSurroundingSquares(tmp4)) {\n\t\t\t\t\tvalidM2 = new Move(startingSquare, tmp4);\n\t\t\t\t\tif (!piecePresent(((tmp4.getXC() * 75) + 20), (((tmp4.getYC() * 75) + 20)))) {\n\t\t\t\t\t\tmoves.push(validM2);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (checkWhiteOponent(((tmp4.getXC() * 75) + 20), (((tmp4.getYC() * 75) + 20)))) {\n\t\t\t\t\t\t\tmoves.push(validM2);\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\tif (!(tmpy2 < 0)) {\n\t\t\t\tif (checkSurroundingSquares(tmp5)) {\n\t\t\t\t\tvalidM3 = new Move(startingSquare, tmp5);\n\t\t\t\t\tif (!piecePresent(((tmp5.getXC() * 75) + 20), (((tmp5.getYC() * 75) + 20)))) {\n\t\t\t\t\t\tmoves.push(validM3);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (checkWhiteOponent(((tmp5.getXC() * 75) + 20), (((tmp5.getYC() * 75) + 20)))) {\n\t\t\t\t\t\t\tmoves.push(validM3);\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\t\tSquare tmp7 = new Square(x, tmpy1, piece);\n\t\tSquare tmp8 = new Square(x, tmpy2, piece);\n\t\tif (!(tmpy1 > 7)) {\n\t\t\tif (checkSurroundingSquares(tmp7)) {\n\t\t\t\tvalidM2 = new Move(startingSquare, tmp7);\n\t\t\t\tif (!piecePresent(((tmp7.getXC() * 75) + 20), (((tmp7.getYC() * 75) + 20)))) {\n\t\t\t\t\tmoves.push(validM2);\n\t\t\t\t} else {\n\t\t\t\t\tif (checkWhiteOponent(((tmp7.getXC() * 75) + 20), (((tmp7.getYC() * 75) + 20)))) {\n\t\t\t\t\t\tmoves.push(validM2);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (!(tmpy2 < 0)) {\n\t\t\tif (checkSurroundingSquares(tmp8)) {\n\t\t\t\tvalidM3 = new Move(startingSquare, tmp8);\n\t\t\t\tif (!piecePresent(((tmp8.getXC() * 75) + 20), (((tmp8.getYC() * 75) + 20)))) {\n\t\t\t\t\tmoves.push(validM3);\n\t\t\t\t} else {\n\t\t\t\t\tif (checkWhiteOponent(((tmp8.getXC() * 75) + 20), (((tmp8.getYC() * 75) + 20)))) {\n\t\t\t\t\t\tmoves.push(validM3);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn moves;\n\t}", "title": "" }, { "docid": "8a998f72819631334f2aa2793ca0ca6f", "score": "0.57800174", "text": "protected void generateAvailableMoves() {\n\t\tArrayList<Move> captureMoves = new ArrayList<Move>();\n\t\tArrayList<Move> otherMoves = new ArrayList<Move>();\n\n\t\tint proposedCol1 = location[1] - 1;\n\t\tint proposedCol2 = location[1] + 1;\t\t\n\n\t\t//check two-up, one over moves:\n\t\tint proposedRow = location[0] - 2;\n\t\tif (proposedRow >= 0 && proposedRow <5){//bounds checking\n\t\t\tif (proposedCol1 >= 0 && proposedCol1 <5){ //bounds checking\n\t\t\t\tif (parentBoard.getBoardArray()[proposedRow][proposedCol1] instanceof EmptySpace){ //can move to empty spaces\n\t\t\t\t\totherMoves.add(new Move(this, proposedRow, proposedCol1, parentBoard));\n\t\t\t\t}\n\t\t\t\telse if(parentBoard.getBoardArray()[proposedRow][proposedCol1].alignment == !this.alignment){ //can also capture opposite pieces\n\t\t\t\t\tcaptureMoves.add(new Move(this, proposedRow, proposedCol1, parentBoard));\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (proposedCol2 >= 0 && proposedCol2 <5){ //bounds checking\n\t\t\t\tif (parentBoard.getBoardArray()[proposedRow][proposedCol2] instanceof EmptySpace){ //can move to empty spaces\n\t\t\t\t\totherMoves.add(new Move(this, proposedRow, proposedCol2, parentBoard));\n\t\t\t\t}\n\t\t\t\telse if(parentBoard.getBoardArray()[proposedRow][proposedCol2].alignment == !this.alignment){ //can also capture opposite pieces\n\t\t\t\t\tcaptureMoves.add(new Move(this, proposedRow, proposedCol2, parentBoard));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t//check two down, one over\n\t\tproposedRow = location[0] + 2;\n\t\tif (proposedRow >= 0 && proposedRow <5){//bounds checking\n\t\t\tif (proposedCol1 >= 0 && proposedCol1 <5){ //bounds checking\n\t\t\t\tif (parentBoard.getBoardArray()[proposedRow][proposedCol1] instanceof EmptySpace){ //can move to empty spaces\n\t\t\t\t\totherMoves.add(new Move(this, proposedRow, proposedCol1, parentBoard));\n\t\t\t\t}\n\t\t\t\telse if(parentBoard.getBoardArray()[proposedRow][proposedCol1].alignment == !this.alignment){ //can also capture opposite pieces\n\t\t\t\t\tcaptureMoves.add(new Move(this, proposedRow, proposedCol1, parentBoard));\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (proposedCol2 >= 0 && proposedCol2 <5){ //bounds checking\n\t\t\t\tif (parentBoard.getBoardArray()[proposedRow][proposedCol2] instanceof EmptySpace){ //can move to empty spaces\n\t\t\t\t\totherMoves.add(new Move(this, proposedRow, proposedCol2, parentBoard));\n\t\t\t\t}\n\t\t\t\telse if(parentBoard.getBoardArray()[proposedRow][proposedCol2].alignment == !this.alignment){ //can also capture opposite pieces\n\t\t\t\t\tcaptureMoves.add(new Move(this, proposedRow, proposedCol2, parentBoard));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\n\t\tproposedCol1 = location[1] + 2;\n\t\tproposedCol2 = location[1] - 2;\n\t\t//check one up, two over\n\t\tproposedRow = location[0] - 1;\n\t\tif (proposedRow >= 0 && proposedRow <5){//bounds checking\n\t\t\tif (proposedCol1 >= 0 && proposedCol1 <5){ //bounds checking\n\t\t\t\tif (parentBoard.getBoardArray()[proposedRow][proposedCol1] instanceof EmptySpace){ //can move to empty spaces\n\t\t\t\t\totherMoves.add(new Move(this, proposedRow, proposedCol1, parentBoard));\n\t\t\t\t}\n\t\t\t\telse if(parentBoard.getBoardArray()[proposedRow][proposedCol1].alignment == !this.alignment){ //can also capture opposite pieces\n\t\t\t\t\tcaptureMoves.add(new Move(this, proposedRow, proposedCol1, parentBoard));\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (proposedCol2 >= 0 && proposedCol2 <5){ //bounds checking\n\t\t\t\tif (parentBoard.getBoardArray()[proposedRow][proposedCol2] instanceof EmptySpace){ //can move to empty spaces\n\t\t\t\t\totherMoves.add(new Move(this, proposedRow, proposedCol2, parentBoard));\n\t\t\t\t}\n\t\t\t\telse if(parentBoard.getBoardArray()[proposedRow][proposedCol2].alignment == !this.alignment){ //can also capture opposite pieces\n\t\t\t\t\tcaptureMoves.add(new Move(this, proposedRow, proposedCol2, parentBoard));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t//check one down, two over\n\t\tproposedRow = location[0] + 1;\n\t\tif (proposedRow >= 0 && proposedRow <5){//bounds checking\n\t\t\tif (proposedCol1 >= 0 && proposedCol1 <5){ //bounds checking\n\t\t\t\tif (parentBoard.getBoardArray()[proposedRow][proposedCol1] instanceof EmptySpace){ //can move to empty spaces\n\t\t\t\t\totherMoves.add(new Move(this, proposedRow, proposedCol1, parentBoard));\n\t\t\t\t}\n\t\t\t\telse if(parentBoard.getBoardArray()[proposedRow][proposedCol1].alignment == !this.alignment){ //can also capture opposite pieces\n\t\t\t\t\tcaptureMoves.add(new Move(this, proposedRow, proposedCol1, parentBoard));\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (proposedCol2 >= 0 && proposedCol2 <5){ //bounds checking\n\t\t\t\tif (parentBoard.getBoardArray()[proposedRow][proposedCol2] instanceof EmptySpace){ //can move to empty spaces\n\t\t\t\t\totherMoves.add(new Move(this, proposedRow, proposedCol2, parentBoard));\n\t\t\t\t}\n\t\t\t\telse if(parentBoard.getBoardArray()[proposedRow][proposedCol2].alignment == !this.alignment){ //can also capture opposite pieces\n\t\t\t\t\tcaptureMoves.add(new Move(this, proposedRow, proposedCol2, parentBoard));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (captureMoves.isEmpty()){\n\t\t\tthis.availableMoves = otherMoves;\n\t\t}\n\t\telse this.availableMoves = captureMoves;\n\n\t}", "title": "" }, { "docid": "c89b61e8fee2e5b48825092f608b3eec", "score": "0.5777957", "text": "private boolean validLocation(int size, int x, char y, boolean vertical, boolean submerged) {\n\t\tList<Square> allProposedSquares = new ArrayList<>();\n\t\t//if size = 5, it's a sub, so we need to modify the size and set a flag, we'll use an integer flag to modify conditionals on the fly\n\t\tint isSub = 0;\n\t\tif(size == 5) {\n\t\t\tisSub = 1;\n\t\t\tsize = 4;\n\t\t}\n\t\t//check max x and y and populate proposed squares depending on orientation\n\t\tif (vertical) {\n\t\t\tif (x + size - 1 > 10 || (int) y > (74 - isSub)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tfor (int i = 0; i < size; i++) {\n\t\t\t\tallProposedSquares.add(new Square(x + i, y));\n\t\t\t}\n\t\t\t//if this is a sub, we'll manually add the \"nub\", complete with ugly casting to integer and back to char\n\t\t\tif(isSub==1) allProposedSquares.add(new Square(x+2,(char)((int)y+1)));\n\t\t} else {\n\t\t\t//expanding the bounds checking for when isSub=1\n\t\t\tif ((int) y + size - 1 > 74 || x > 10 || (x-isSub) < 1) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tfor (int i = 0; i < size; i++) {\n\t\t\t\tallProposedSquares.add(new Square(x, (char) ((int) y + i)));\n\t\t\t}\n\t\t\t//if its a sub, add the nub\n\t\t\tif(isSub==1) allProposedSquares.add(new Square(x-1, (char)((int)y+2)));\n\t\t}\n\n\t\t//if max range is outside grid, return false;\n\t\t//now checking if new ship would overlap with existing ships\n\t\t//if it's submerged we'll skip this part, we know our sub is always placed last, so we use this to cut down the work we do here\n\t\tif(this.getShips().size()>0 && !submerged) {\n\t\t\tfor(Ship ships : this.getShips()){\n\t\t\t\tfor(Square sq : ships.getOccupiedSquares()) {\n\t\t\t\t\tfor (int i=0; i<allProposedSquares.size(); i++) {\n\t\t\t\t\t\tif (isSquareConflict(allProposedSquares.get(i), sq)) return false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t//otherwise we make it through the tests and return true\n\t\treturn true;\n\t}", "title": "" }, { "docid": "76dbf903170b37dc2b8272ed2cdcdab7", "score": "0.5777709", "text": "void updateAvailMovesInBoxForFirstMove(int x, int y, int num) {\n\t\tint counter = 0;\n\t\tint i = x/boxSize;\n\t\tint j = y/boxSize;\n\t\tfor (int k = boxSize * i; k < boxSize * i + boxSize; k++) {\n\t\t\tfor (int l = boxSize * j; l < boxSize * j + boxSize; l++) {\n\t\t\t\tif (availMoves[k][l][num-1] == true) {\n\t\t\t\t\tcounter++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// next we see if there is a horizontal/vertical line that contains all of them, if it does, we can remove them from the line in the other boxes.\n\t\tif (counter > 1) {\n\t\t\tint lineCounter;\n\t\t\t// see if all the the availMoves that contain num are vertical\n\t\t\tfor (int k = boxSize * i; k < boxSize * i + boxSize; k++) {\n\t\t\t\tlineCounter = 0;\n\t\t\t\tfor (int l = boxSize * j; l < boxSize * j + boxSize; l++) {\n\t\t\t\t\tif (availMoves[k][l][num-1] == true) {\n\t\t\t\t\t\tlineCounter++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (lineCounter == counter) {\n\t\t\t\t\tupdateAvailMovesInLineInBoxVertical(num, k, j);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(lineCounter > 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// see if all the the availMoves that contain num are horizontal\n\t\t\tfor (int l = boxSize * j; l < boxSize * j + boxSize; l++) {\n\t\t\t\tlineCounter = 0;\n\t\t\t\tfor (int k = boxSize * i; k < boxSize * i + boxSize; k++) {\n\t\t\t\t\tif (availMoves[k][l][num-1] == true) {\n\t\t\t\t\t\tlineCounter++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (lineCounter == counter) {\n\t\t\t\t\tupdateAvailMovesInLineInBoxHorizontal(num, l, i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(lineCounter > 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t}\n\t}", "title": "" }, { "docid": "6dcc24d6c4169da0bf03cf0b311a8e2d", "score": "0.5772857", "text": "public List<IntPair> createChargerMoves(ChessPiece piece) {\n List<IntPair> movesList = new ArrayList<>();\n IntPair currentPosition = piece.getPosition();\n // Check if ChessLibrary.Pieces.Queen can move horizontally / vertically / diagonally from 1 block to 7 blocks.\n for(int count = 1; count <= 7; count++) {\n if(currentPosition.left() + count < BOARD_COLUMNS) { // East\n IntPair moveEast = new IntPair(currentPosition.left() + count, currentPosition.right());\n int occupyCheckE = checkOccupied(piece.getSide(), moveEast);\n if(occupyCheckE == 2) {\n movesList.add(moveEast);\n break;\n } else if(occupyCheckE == 1) {\n if(count == 1) {\n break;\n }\n moveEast = new IntPair(currentPosition.left() + count - 1, currentPosition.right());\n movesList.add(moveEast);\n break;\n } else if(moveEast.left() == BOARD_COLUMNS - 1) {\n movesList.add(moveEast);\n break;\n }\n }\n }\n for(int count = 1; count <= 7; count++) {\n if(currentPosition.left() + count < BOARD_COLUMNS) {\n if(currentPosition.right() + count < BOARD_ROWS) { // South-East\n IntPair moveSouthEast = new IntPair(currentPosition.left() + count, currentPosition.right() + count);\n int occupyCheckSE = checkOccupied(piece.getSide(), moveSouthEast);\n if(occupyCheckSE == 2) {\n movesList.add(moveSouthEast);\n break;\n } else if(occupyCheckSE == 1) {\n if(count == 1) {\n break;\n }\n moveSouthEast = new IntPair(currentPosition.left() + count - 1, currentPosition.right() + count - 1);\n movesList.add(moveSouthEast);\n break;\n } else if(moveSouthEast.left() == BOARD_COLUMNS - 1 || moveSouthEast.right() == BOARD_ROWS - 1) {\n movesList.add(moveSouthEast);\n break;\n }\n }\n }\n }\n for(int count = 1; count <= 7; count++) {\n if(currentPosition.left() + count < BOARD_COLUMNS) {\n if(currentPosition.right() - count >= 0) { // North-East\n IntPair moveNorthEast = new IntPair(currentPosition.left() + count, currentPosition.right() - count);\n int occupyCheckNE = checkOccupied(piece.getSide(), moveNorthEast);\n if(occupyCheckNE == 2) {\n movesList.add(moveNorthEast);\n break;\n } else if(occupyCheckNE == 1) {\n if(count == 1) {\n break;\n }\n moveNorthEast = new IntPair(currentPosition.left() + count - 1, currentPosition.right() - count + 1);\n movesList.add(moveNorthEast);\n break;\n } else if(moveNorthEast.left() == BOARD_COLUMNS - 1 || moveNorthEast.right() == 0) {\n movesList.add(moveNorthEast);\n }\n }\n }\n }\n for(int count = 1; count <= 7; count++) {\n if(currentPosition.left() - count >= 0) { // West\n IntPair moveWest = new IntPair(currentPosition.left() - count, currentPosition.right());\n int occupyCheckW = checkOccupied(piece.getSide(), moveWest);\n if(occupyCheckW == 2) {\n movesList.add(moveWest);\n break;\n } else if(occupyCheckW == 1) {\n if(count == 1) {\n break;\n }\n moveWest = new IntPair(currentPosition.left() - count + 1, currentPosition.right());\n movesList.add(moveWest);\n break;\n } else if(moveWest.left() == 0) {\n movesList.add(moveWest);\n }\n }\n }\n for(int count = 1; count <= 7; count++) {\n if(currentPosition.left() - count >= 0) {\n if(currentPosition.right() + count < BOARD_ROWS) { // South-West\n IntPair moveSouthWest = new IntPair(currentPosition.left() - count, currentPosition.right() + count);\n int occupyCheckSW = checkOccupied(piece.getSide(), moveSouthWest);\n if(occupyCheckSW == 2) {\n movesList.add(moveSouthWest);\n break;\n } else if(occupyCheckSW == 1) {\n if(count == 1) {\n break;\n }\n moveSouthWest = new IntPair(currentPosition.left() - count + 1, currentPosition.right() + count - 1);\n movesList.add(moveSouthWest);\n break;\n } else if(moveSouthWest.left() == 0 || moveSouthWest.right() == BOARD_ROWS - 1) {\n movesList.add(moveSouthWest);\n }\n }\n }\n }\n for(int count = 1; count <= 7; count++) {\n if(currentPosition.left() - count >= 0) {\n if(currentPosition.right() - count >= 0) { // North-West\n IntPair moveNorthWest = new IntPair(currentPosition.left() - count, currentPosition.right() - count);\n int occupyCheckNW = checkOccupied(piece.getSide(), moveNorthWest);\n if(occupyCheckNW == 2) {\n movesList.add(moveNorthWest);\n break;\n } else if(occupyCheckNW == 1) {\n if(count == 1) {\n break;\n }\n moveNorthWest = new IntPair(currentPosition.left() - count + 1, currentPosition.right() - count + 1);\n movesList.add(moveNorthWest);\n break;\n } else if(moveNorthWest.left() == 0 || moveNorthWest.right() == 0) {\n movesList.add(moveNorthWest);\n }\n }\n }\n }\n for(int count = 1; count <= 7; count++) {\n if (currentPosition.right() + count < BOARD_ROWS) { // South\n IntPair moveSouth = new IntPair(currentPosition.left(), currentPosition.right() + count);\n int occupyCheckS = checkOccupied(piece.getSide(), moveSouth);\n if (occupyCheckS == 2) {\n movesList.add(moveSouth);\n break;\n } else if(occupyCheckS == 1) {\n if(count == 1) {\n break;\n }\n moveSouth = new IntPair(currentPosition.left(), currentPosition.right() + count - 1);\n movesList.add(moveSouth);\n break;\n } else if(moveSouth.right() == BOARD_ROWS - 1) {\n movesList.add(moveSouth);\n }\n }\n }\n for(int count = 1; count <= 7; count++) {\n if (currentPosition.right() - count >= 0) { // North\n IntPair moveNorth = new IntPair(currentPosition.left(), currentPosition.right() - count);\n int occupyCheckN = checkOccupied(piece.getSide(), moveNorth);\n if (occupyCheckN == 2) {\n movesList.add(moveNorth);\n break;\n } else if(occupyCheckN == 1) {\n if(count == 1) {\n break;\n }\n moveNorth = new IntPair(currentPosition.left(), currentPosition.right() - count + 1);\n movesList.add(moveNorth);\n break;\n } else if(moveNorth.right() == 0) {\n movesList.add(moveNorth);\n }\n }\n }\n return movesList;\n }", "title": "" }, { "docid": "e9fa06a7bdca509006c16c89fae5c25d", "score": "0.577132", "text": "private void findEmptyBlock() {\n\t\tcol = 1;\n\t\trow = 1;\n\t\twhile (!(PacMan.blocks[col][row].isRoad && PacMan.isAvailable[col][row] && row<9\n\t\t\t\t&& !PacMan.blocks[col][row].hasSeed && PacMan.blocks[col][row].powerUp == null)) {\n\t\t\tcol = rand.nextInt(14);\n\t\t\trow = rand.nextInt(12);\n\t\t}\n\t\tgo2(col,row);\n//\t\tPacMan.blocks[col][row].setIcon(pic);\n\t}", "title": "" }, { "docid": "abeef5552a3d73655e8d7bdb33626bb7", "score": "0.57678837", "text": "public List<IntPair> createKingMovesWithoutOccupyCheck(ChessPiece piece) {\n List<IntPair> movesList = new ArrayList<>();\n IntPair currentPosition = piece.getPosition();\n // Check if ChessLibrary.Pieces.King can move 1 block horizontally / vertically / diagonally.\n if(currentPosition.left() + 1 < BOARD_COLUMNS) { // 1 block East\n IntPair moveEast = new IntPair(currentPosition.left() + 1, currentPosition.right());\n if(!checkNextMoveIsCheck(piece, moveEast)) {\n movesList.add(moveEast);\n }\n if(currentPosition.right() + 1 < BOARD_ROWS) { // 1 block South-East\n IntPair moveSouthEast = new IntPair(currentPosition.left() + 1, currentPosition.right() + 1);\n if(!checkNextMoveIsCheck(piece, moveSouthEast)) {\n movesList.add(moveSouthEast);\n }\n }\n if(currentPosition.right() - 1 >= 0) { // 1 block North-East\n IntPair moveNorthEast = new IntPair(currentPosition.left() + 1, currentPosition.right() - 1);\n if(!checkNextMoveIsCheck(piece, moveNorthEast)) {\n movesList.add(moveNorthEast);\n }\n }\n }\n if(currentPosition.left() - 1 >= 0) { // 1 block West\n IntPair moveWest = new IntPair(currentPosition.left() - 1, currentPosition.right());\n if(!checkNextMoveIsCheck(piece, moveWest)) {\n movesList.add(moveWest);\n }\n if(currentPosition.right() + 1 < BOARD_ROWS) { // 1 block South-West\n IntPair moveSouthWest = new IntPair(currentPosition.left() - 1, currentPosition.right() + 1);\n if(!checkNextMoveIsCheck(piece, moveSouthWest)) {\n movesList.add(moveSouthWest);\n }\n }\n if(currentPosition.right() - 1 >= 0) { // 1 block North-West\n IntPair moveNorthWest = new IntPair(currentPosition.left() - 1, currentPosition.right() - 1);\n if(!checkNextMoveIsCheck(piece, moveNorthWest)) {\n movesList.add(moveNorthWest);\n }\n }\n }\n if(currentPosition.right() + 1 < BOARD_ROWS) { // 1 block South\n IntPair moveSouth = new IntPair(currentPosition.left(), currentPosition.right() + 1);\n if(!checkNextMoveIsCheck(piece, moveSouth)) {\n movesList.add(moveSouth);\n }\n }\n if(currentPosition.right() - 1 >= 0) { // 1 block North\n IntPair moveNorth = new IntPair(currentPosition.left(), currentPosition.right() - 1);\n if(!checkNextMoveIsCheck(piece, moveNorth)) {\n movesList.add(moveNorth);\n }\n }\n return movesList;\n }", "title": "" }, { "docid": "ae39f18e9f374dd6560810c167a48f3a", "score": "0.576683", "text": "private void changeSubSidesStatus(AArmyChess armyChess) {\n if (armyChess.y == 0 || armyChess.y == 11) {\n return;\n }\n if (armyChess.x % 2 == 0) {//偶数列\n if (armyChess.getBoardY() % 2 == 0) {//偶数行\n return;\n }\n } else {//基数列\n if (armyChess.getBoardY() % 2 != 0) {//基数行\n return;\n }\n }\n //has sub sides\n// String logTxt = String.format(\"x=%d,y=%d,is contained in campChess=%b\", armyChess.x, armyChess.y, (isInCamps(armyChess.x, armyChess.y)));\n// LogUtil.i(TAG, logTxt);\n if (isInCamps(armyChess.x, armyChess.y)) {\n //left up\n changeStatus(armyChess, armyChess.x - 1, armyChess.y - 1);\n //left down\n changeStatus(armyChess, armyChess.x - 1, armyChess.y + 1);\n //right up\n changeStatus(armyChess, armyChess.x + 1, armyChess.y - 1);\n //right down\n changeStatus(armyChess, armyChess.x + 1, armyChess.y + 1);\n } else {\n //left up\n if (isInCamps(armyChess.x - 1, armyChess.y - 1)) {\n changeStatus(armyChess, armyChess.x - 1, armyChess.y - 1);\n }\n //left down\n if (isInCamps(armyChess.x - 1, armyChess.y + 1)) {\n changeStatus(armyChess, armyChess.x - 1, armyChess.y + 1);\n }\n //right up\n if (isInCamps(armyChess.x + 1, armyChess.y - 1)) {\n changeStatus(armyChess, armyChess.x + 1, armyChess.y - 1);\n }\n //right down\n if (isInCamps(armyChess.x + 1, armyChess.y + 1)) {\n changeStatus(armyChess, armyChess.x + 1, armyChess.y + 1);\n }\n }\n }", "title": "" }, { "docid": "745057bca91a1356e6116f5c5bd68fa6", "score": "0.5764341", "text": "private void InitializeBoard(){\n //Loop sets all spaces to be empty (once pieces are added those spaces will be overwritten)\n int spaceRowCount = 0;\n while(spaceRowCount < rowMax){\n int spaceColumnCount = 0;\n while(spaceColumnCount < columnMax){\n piecePositions[spaceRowCount][spaceColumnCount] = \"Empty\";\n spaceColumnCount++;\n }\n spaceRowCount++;\n }\n\n\n //Loop creates the checker pattern on the board\n int rowCount = 0;\n while(rowCount < rowMax){\n int columnCount = 0;\n while(columnCount < columnMax){\n //if it is an even numbered row (remember starting at 0)\n if((rowCount == 0) || (rowCount%2 == 0)){\n if(columnCount ==0 || columnCount%2 == 0){\n AddChecker(rowCount, columnCount);\n\n }\n }\n else{\n if(!(columnCount == 0) && !(columnCount%2 == 0)){\n AddChecker(rowCount, columnCount);\n }\n }\n columnCount++;\n }\n rowCount++;\n }\n\n //Add white pieces\n AddPiece(0, 0, \"wRook.png\");\n AddPiece(0, 1, \"wKnight.png\");\n AddPiece(0, 2, \"wBishop.png\");\n AddPiece(0, 3, \"wQueen.png\");\n AddPiece(0, 4, \"wKing.png\");\n AddPiece(0, 5, \"wBishop.png\");\n AddPiece(0, 6, \"wKnight.png\");\n AddPiece(0, 7, \"wRook.png\");\n int count = 0;\n while(count < 8){\n AddPiece(1, count, \"wPawn.png\");\n count++;\n }\n\n //Add black pieces\n AddPiece(7, 0, \"bRook.png\");\n AddPiece(7, 1, \"bKnight.png\");\n AddPiece(7, 2, \"bBishop.png\");\n AddPiece(7, 3, \"bQueen.png\");\n AddPiece(7, 4, \"bKing.png\");\n AddPiece(7, 5, \"bBishop.png\");\n AddPiece(7, 6, \"bKnight.png\");\n AddPiece(7, 7, \"bRook.png\");\n\n count = 0;\n while(count < 8){\n AddPiece(6, count, \"bPawn.png\");\n count++;\n }\n\n }", "title": "" }, { "docid": "c3b74edc386e87162942cacbc2796734", "score": "0.5749459", "text": "private static void drawBoard(int N) {\n for (int i = 0; i < N; i++) {\n for (int j = 0; j < N; j++) {\n if ((i + j) % 2 == 0) StdDrawPlus.setPenColor(StdDrawPlus.GRAY);\n else StdDrawPlus.setPenColor(StdDrawPlus.RED);\n StdDrawPlus.filledSquare(i + .5, j + .5, .5);\n StdDrawPlus.setPenColor(StdDrawPlus.WHITE);\n if(b.pieceAt(i, j) != null){\n if (b.pieceAt(i, j).isKing() && b.pieceAt(i, j).isFire() && !b.pieceAt(i,j).isShield() && !b.pieceAt(i, j).isBomb()){\n \tStdDrawPlus.picture(i + .5, j + .5, \"img/pawn-fire-crowned.png\", 1, 1);\n }\n \n if (!b.pieceAt(i, j).isKing() && b.pieceAt(i, j).isFire() && !b.pieceAt(i,j).isShield() && !b.pieceAt(i, j).isBomb()){\n \tStdDrawPlus.picture(i + .5, j + .5, \"img/pawn-fire.png\", 1, 1);\n }\n if (b.pieceAt(i, j).isKing() && !b.pieceAt(i, j).isFire() && !b.pieceAt(i,j).isShield() && !b.pieceAt(i, j).isBomb()){\n \tStdDrawPlus.picture(i + .5, j + .5, \"img/pawn-water-crowned.png\", 1, 1);\n }\n \n if (!b.pieceAt(i, j).isKing() && !b.pieceAt(i, j).isFire() && !b.pieceAt(i,j).isShield() && !b.pieceAt(i, j).isBomb()){\n \tStdDrawPlus.picture(i + .5, j + .5, \"img/pawn-water.png\", 1, 1);\n }\n if (b.pieceAt(i, j).isKing() && b.pieceAt(i, j).isFire() && b.pieceAt(i,j).isShield() && !b.pieceAt(i, j).isBomb()){\n \tStdDrawPlus.picture(i + .5, j + .5, \"img/shield-fire-crowned.png\", 1, 1);\n }\n if (!b.pieceAt(i, j).isKing() && b.pieceAt(i, j).isFire() && b.pieceAt(i,j).isShield() && !b.pieceAt(i, j).isBomb()){\n \tStdDrawPlus.picture(i + .5, j + .5, \"img/shield-fire.png\", 1, 1);\n }\n if (b.pieceAt(i, j).isKing() && !b.pieceAt(i, j).isFire() && b.pieceAt(i,j).isShield() && !b.pieceAt(i, j).isBomb()){\n \tStdDrawPlus.picture(i + .5, j + .5, \"img/shield-water-crowned.png\", 1, 1);\n }\n if (!b.pieceAt(i, j).isKing() && !b.pieceAt(i, j).isFire() && b.pieceAt(i,j).isShield() && !b.pieceAt(i, j).isBomb()){\n \tStdDrawPlus.picture(i + .5, j + .5, \"img/shield-water.png\", 1, 1);\n }\n if (b.pieceAt(i, j).isKing() && b.pieceAt(i, j).isFire() && !b.pieceAt(i,j).isShield() && b.pieceAt(i, j).isBomb()){\n \tStdDrawPlus.picture(i + .5, j + .5, \"img/bomb-fire-crowned.png\", 1, 1);\n }\n if (!b.pieceAt(i, j).isKing() && b.pieceAt(i, j).isFire() && !b.pieceAt(i,j).isShield() && b.pieceAt(i, j).isBomb()){\n \tStdDrawPlus.picture(i + .5, j + .5, \"img/bomb-fire.png\", 1, 1);\n }\n if (b.pieceAt(i, j).isKing() && !b.pieceAt(i, j).isFire() && !b.pieceAt(i,j).isShield() && b.pieceAt(i, j).isBomb()){\n \tStdDrawPlus.picture(i + .5, j + .5, \"img/bomb-water-crowned.png\", 1, 1);\n }\n if (!b.pieceAt(i, j).isKing() && !b.pieceAt(i, j).isFire() && !b.pieceAt(i,j).isShield() && b.pieceAt(i, j).isBomb()){\n \tStdDrawPlus.picture(i + .5, j + .5, \"img/bomb-water.png\", 1, 1);\n }\n \n }\n }\n }\n }", "title": "" }, { "docid": "645ab97a6bd915c316f710c343220edf", "score": "0.5744118", "text": "private Boolean checkSurroundingSquares(Square s) {\n\t\tBoolean possible = false;\n\t\tint x = s.getXC() * 75;\n\t\tint y = s.getYC() * 75;\n\t\tif (!((pieceName((x + 75), y).contains(\"BlackKing\")) || (pieceName((x - 75), y).contains(\"BlackKing\"))\n\t\t\t\t|| (pieceName(x, (y + 75)).contains(\"BlackKing\")) || (pieceName((x), (y - 75)).contains(\"BlackKing\"))\n\t\t\t\t|| (pieceName((x + 75), (y + 75)).contains(\"BlackKing\"))\n\t\t\t\t|| (pieceName((x - 75), (y + 75)).contains(\"BlackKing\"))\n\t\t\t\t|| (pieceName((x + 75), (y - 75)).contains(\"BlackKing\"))\n\t\t\t\t|| (pieceName((x - 75), (y - 75)).contains(\"BlackKing\")))) {\n\t\t\tpossible = true;\n\t\t}\n\t\treturn possible;\n\t}", "title": "" }, { "docid": "025abc493e1d158e0045c75033e054f5", "score": "0.5742128", "text": "public boolean isSafe(final Square s) //A bit confusing code.\n {\n // Rook & Queen\n for (int i = s.getPosY() + 1; i <= 7; ++i) //up\n {\n if (chessboard.getSquare(s.getPosX(), i).getPiece() == null || this.chessboard.getSquare(s.getPosX(), i).getPiece() == this) //if on this sqhuare isn't piece\n {\n continue;\n } else if (this.chessboard.getSquare(s.getPosX(), i).getPiece().getPlayer() != this.getPlayer()) //if isn't our piece\n {\n if (this.chessboard.getSquare(s.getPosX(), i).getPiece().name.equals(\"Rook\")\n || this.chessboard.getSquare(s.getPosX(), i).getPiece().name.equals(\"Queen\")) {\n return false;\n } else {\n break;\n }\n } else {\n break;\n }\n }\n\n for (int i = s.getPosY() - 1; i >= 0; --i) //down\n {\n if (this.chessboard.getSquare(s.getPosX(), i).getPiece() == null || this.chessboard.getSquare(s.getPosX(), i).getPiece() == this) //if on this sqhuare isn't piece\n {\n continue;\n } else if (this.chessboard.getSquare(s.getPosX(), i).getPiece().getPlayer() != this.getPlayer()) //if isn't our piece\n {\n if (this.chessboard.getSquare(s.getPosX(), i).getPiece().name.equals(\"Rook\")\n || this.chessboard.getSquare(s.getPosX(), i).getPiece().name.equals(\"Queen\")) {\n return false;\n } else {\n break;\n }\n } else {\n break;\n }\n }\n\n for (int i = s.getPosX() - 1; i >= 0; --i) //left\n {\n if (this.chessboard.getSquare(i, s.getPosY()).getPiece() == null || this.chessboard.getSquare(i, s.getPosY()).getPiece() == this) //if on this sqhuare isn't piece\n {\n continue;\n } else if (this.chessboard.getSquare(i, s.getPosY()).getPiece().getPlayer() != this.getPlayer()) //if isn't our piece\n {\n if (this.chessboard.getSquare(i, s.getPosY()).getPiece().name.equals(\"Rook\")\n || this.chessboard.getSquare(i, s.getPosY()).getPiece().name.equals(\"Queen\")) {\n return false;\n } else {\n break;\n }\n } else {\n break;\n }\n }\n\n for (int i = s.getPosX() + 1; i <= 7; ++i) //right\n {\n if (this.chessboard.getSquare(i, s.getPosY()).getPiece() == null || this.chessboard.getSquare(i, s.getPosY()).getPiece() == this) //if on this sqhuare isn't piece\n {\n continue;\n } else if (this.chessboard.getSquare(i, s.getPosY()).getPiece().getPlayer() != this.getPlayer()) //if isn't our piece\n {\n if (this.chessboard.getSquare(i, s.getPosY()).getPiece().name.equals(\"Rook\")\n || this.chessboard.getSquare(i, s.getPosY()).getPiece().name.equals(\"Queen\")) {\n return false;\n } else {\n break;\n }\n } else {\n break;\n }\n }\n\n // Bishop & Queen\n for (int h = s.getPosX() - 1, i = s.getPosY() + 1; !outsideOfBoard(h, i); --h, ++i) //left-up\n {\n if (this.chessboard.getSquare(h, i).getPiece() == null || this.chessboard.getSquare(h, i).getPiece() == this) //if on this sqhuare isn't piece\n {\n continue;\n } else if (this.chessboard.getSquare(h, i).getPiece().getPlayer() != this.getPlayer()) //if isn't our piece\n {\n if (this.chessboard.getSquare(h, i).getPiece().name.equals(\"Bishop\")\n || this.chessboard.getSquare(h, i).getPiece().name.equals(\"Queen\")) {\n return false;\n } else {\n break;\n }\n } else {\n break;\n }\n }\n\n for (int h = s.getPosX() - 1, i = s.getPosY() - 1; !outsideOfBoard(h, i); --h, --i) //left-down\n {\n if (this.chessboard.getSquare(h, i).getPiece() == null || this.chessboard.getSquare(h, i).getPiece() == this) //if on this sqhuare isn't piece\n {\n continue;\n } else if (this.chessboard.getSquare(h, i).getPiece().getPlayer() != this.getPlayer()) //if isn't our piece\n {\n if (this.chessboard.getSquare(h, i).getPiece().name.equals(\"Bishop\")\n || this.chessboard.getSquare(h, i).getPiece().name.equals(\"Queen\")) {\n return false;\n } else {\n break;\n }\n } else {\n break;\n }\n }\n\n for (int h = s.getPosX() + 1, i = s.getPosY() + 1; !outsideOfBoard(h, i); ++h, ++i) //right-up\n {\n if (this.chessboard.getSquare(h, i).getPiece() == null || this.chessboard.getSquare(h, i).getPiece() == this) //if on this sqhuare isn't piece\n {\n continue;\n } else if (this.chessboard.getSquare(h, i).getPiece().getPlayer() != this.getPlayer()) //if isn't our piece\n {\n if (this.chessboard.getSquare(h, i).getPiece().name.equals(\"Bishop\")\n || this.chessboard.getSquare(h, i).getPiece().name.equals(\"Queen\")) {\n return false;\n } else {\n break;\n }\n } else {\n break;\n }\n }\n\n for (int h = s.getPosX() + 1, i = s.getPosY() - 1; !outsideOfBoard(h, i); ++h, --i) //right-down\n {\n if (this.chessboard.getSquare(h, i).getPiece() == null || this.chessboard.getSquare(h, i).getPiece() == this) //if on this sqhuare isn't piece\n {\n continue;\n } else if (this.chessboard.getSquare(h, i).getPiece().getPlayer() != this.getPlayer()) //if isn't our piece\n {\n if (this.chessboard.getSquare(h, i).getPiece().name.equals(\"Bishop\")\n || this.chessboard.getSquare(h, i).getPiece().name.equals(\"Queen\")) {\n return false;\n } else {\n break;\n }\n } else {\n break;\n }\n }\n\n // Knight\n int newX, newY;\n\n //1\n newX = s.getPosX() - 2;\n newY = s.getPosY() + 1;\n\n if (!outsideOfBoard(newX, newY)) {\n if (this.chessboard.getSquare(newX, newY).getPiece() == null) //if on this sqhuare isn't piece\n {\n } else if (this.chessboard.getSquare(newX, newY).getPiece().getPlayer() == this.getPlayer()) //if is our piece\n {\n } else if (this.chessboard.getSquare(newX, newY).getPiece().name.equals(\"Knight\")) {\n return false;\n }\n }\n\n //2\n newX = s.getPosX() - 1;\n newY = s.getPosY() + 2;\n\n if (!outsideOfBoard(newX, newY)) {\n if (this.chessboard.getSquare(newX, newY).getPiece() == null) //if on this sqhuare isn't piece\n {\n } else if (this.chessboard.getSquare(newX, newY).getPiece().getPlayer() == this.getPlayer()) //if is our piece\n {\n } else if (this.chessboard.getSquare(newX, newY).getPiece().name.equals(\"Knight\")) {\n return false;\n }\n }\n\n //3\n newX = s.getPosX() + 1;\n newY = s.getPosY() + 2;\n\n if (!outsideOfBoard(newX, newY)) {\n if (this.chessboard.getSquare(newX, newY).getPiece() == null) //if on this sqhuare isn't piece\n {\n } else if (this.chessboard.getSquare(newX, newY).getPiece().getPlayer() == this.getPlayer()) //if is our piece\n {\n } else if (this.chessboard.getSquare(newX, newY).getPiece().name.equals(\"Knight\")) {\n return false;\n }\n }\n\n //4\n newX = s.getPosX() + 2;\n newY = s.getPosY() + 1;\n\n if (!outsideOfBoard(newX, newY)) {\n if (this.chessboard.getSquare(newX, newY).getPiece() == null) //if on this sqhuare isn't piece\n {\n } else if (this.chessboard.getSquare(newX, newY).getPiece().getPlayer() == this.getPlayer()) //if is our piece\n {\n } else if (this.chessboard.getSquare(newX, newY).getPiece().name.equals(\"Knight\")) {\n return false;\n }\n }\n\n //5\n newX = s.getPosX() + 2;\n newY = s.getPosY() - 1;\n\n if (!outsideOfBoard(newX, newY)) {\n if (this.chessboard.getSquare(newX, newY).getPiece() == null) //if on this sqhuare isn't piece\n {\n } else if (this.chessboard.getSquare(newX, newY).getPiece().getPlayer() == this.getPlayer()) //if is our piece\n {\n } else if (this.chessboard.getSquare(newX, newY).getPiece().name.equals(\"Knight\")) {\n return false;\n }\n }\n\n //6\n newX = s.getPosX() + 1;\n newY = s.getPosY() - 2;\n\n if (!outsideOfBoard(newX, newY)) {\n if (this.chessboard.getSquare(newX, newY).getPiece() == null) //if on this sqhuare isn't piece\n {\n } else if (this.chessboard.getSquare(newX, newY).getPiece().getPlayer() == this.getPlayer()) //if is our piece\n {\n } else if (this.chessboard.getSquare(newX, newY).getPiece().name.equals(\"Knight\")) {\n return false;\n }\n }\n\n //7\n newX = s.getPosX() - 1;\n newY = s.getPosY() - 2;\n\n if (!outsideOfBoard(newX, newY)) {\n if (this.chessboard.getSquare(newX, newY).getPiece() == null) //if on this sqhuare isn't piece\n {\n } else if (this.chessboard.getSquare(newX, newY).getPiece().getPlayer() == this.getPlayer()) //if is our piece\n {\n } else if (this.chessboard.getSquare(newX, newY).getPiece().name.equals(\"Knight\")) {\n return false;\n }\n }\n\n //8\n newX = s.getPosX() - 2;\n newY = s.getPosY() - 1;\n\n if (!outsideOfBoard(newX, newY)) {\n if (this.chessboard.getSquare(newX, newY).getPiece() == null) //if on this sqhuare isn't piece\n {\n } else if (this.chessboard.getSquare(newX, newY).getPiece().getPlayer() == this.getPlayer()) //if is our piece\n {\n } else if (this.chessboard.getSquare(newX, newY).getPiece().name.equals(\"Knight\")) {\n return false;\n }\n }\n\n // King\n King otherKing;\n if (this == chessboard.getKingWhite()) {\n otherKing = chessboard.getKingBlack();\n } else {\n otherKing = chessboard.getKingWhite();\n }\n\n if (s.getPosX() <= otherKing.getSquare().getPosX() + 1\n && s.getPosX() >= otherKing.getSquare().getPosX() - 1\n && s.getPosY() <= otherKing.getSquare().getPosY() + 1\n && s.getPosY() >= otherKing.getSquare().getPosY() - 1) {\n return false;\n }\n\n // Pawn\n if (this.getPlayer().isGoDown()) //check if player \"go\" down or up\n {//System.out.println(\"go down\");\n newX = s.getPosX() - 1;\n newY = s.getPosY() + 1;\n if (!outsideOfBoard(newX, newY)) {\n if (this.chessboard.getSquare(newX, newY).getPiece() == null) //if on this sqhuare isn't piece\n {\n } else if (this.chessboard.getSquare(newX, newY).getPiece().getPlayer() == this.getPlayer()) //if is our piece\n {\n } else if (this.chessboard.getSquare(newX, newY).getPiece().name.equals(\"Pawn\")) {\n return false;\n }\n }\n newX = s.getPosX() + 1;\n if (!outsideOfBoard(newX, newY)) {\n if (this.chessboard.getSquare(newX, newY).getPiece() == null) //if on this sqhuare isn't piece\n {\n } else if (this.chessboard.getSquare(newX, newY).getPiece().getPlayer() == this.getPlayer()) //if is our piece\n {\n } else if (this.chessboard.getSquare(newX, newY).getPiece().name.equals(\"Pawn\")) {\n return false;\n }\n }\n } else {//System.out.println(\"go up\");\n newX = s.getPosX() - 1;\n newY = s.getPosY() - 1;\n if (!outsideOfBoard(newX, newY)) {\n if (this.chessboard.getSquare(newX, newY).getPiece() == null) //if on this sqhuare isn't piece\n {\n } else if (this.chessboard.getSquare(newX, newY).getPiece().getPlayer() == this.getPlayer()) //if is our piece\n {\n } else if (this.chessboard.getSquare(newX, newY).getPiece().name.equals(\"Pawn\")) {\n return false;\n }\n }\n newX = s.getPosX() + 1;\n if (!outsideOfBoard(newX, newY)) {\n if (this.chessboard.getSquare(newX, newY).getPiece() == null) //if on this sqhuare isn't piece\n {\n } else if (this.chessboard.getSquare(newX, newY).getPiece().getPlayer() == this.getPlayer()) //if is our piece\n {\n } else if (this.chessboard.getSquare(newX, newY).getPiece().name.equals(\"Pawn\")) {\n return false;\n }\n }\n }\n\n return true;\n }", "title": "" }, { "docid": "5275d290d56dd0a9b0258f17be110ab7", "score": "0.57400644", "text": "public void crinkleEdges(Vector<Room> rooms, Vector<Room> corridors) {\n for (Room r : rooms) {\r\n for (int corner = 0; corner < 4; ++corner) {\r\n for (int dirn = 0; dirn < 2; ++dirn) {\r\n int x = (int) r.getX();\r\n int y = (int) r.getY();\r\n int extent = MathUtils.clamp((int) Math.round(Math.abs(Utility.r.nextGaussian())), 0, Param.MAX_CRINKLE);\r\n switch (corner) {\r\n case 0: // bot left\r\n break;\r\n case 1: //bot right\r\n x += r.getWidth() - 1;\r\n break;\r\n case 2: // top right\r\n x += r.getWidth() - 1;\r\n y += r.getHeight() - 1;\r\n break;\r\n case 3: // bot right\r\n y += r.getHeight() - 1;\r\n break;\r\n }\r\n // Check good corner\r\n// Gdx.app.log(\"dbg\",\"Room=\"+r+\" x=\" + x + \" y=\" + y + \" e=\" + extent);\r\n if (corner == 0 && (getTile(x - 1, y).getIsFloor() || getTile(x, y - 1).getIsFloor())) break;\r\n else if (corner == 1 && (getTile(x + 1, y).getIsFloor() || getTile(x, y - 1).getIsFloor())) break;\r\n else if (corner == 2 && (getTile(x + 1, y).getIsFloor() || getTile(x, y + 1).getIsFloor())) break;\r\n else if (corner == 3 && (getTile(x - 1, y).getIsFloor() || getTile(x, y + 1).getIsFloor())) break;\r\n // Try and extend\r\n for (int e = 0; e < extent; ++e) {\r\n if (corner == 0 && dirn == 0 && !getTile(x + e, y - 1).getIsFloor()) { // Bot left - Check below\r\n getTile(x + e, y).setIsDirt();\r\n } else if (corner == 0 && dirn == 1 && !getTile(x - 1, y + e).getIsFloor()) { // bot left - check left\r\n getTile(x, y + e).setIsDirt();\r\n } else if (corner == 1 && dirn == 0 && !getTile(x - e, y - 1).getIsFloor()) { // bot right, check below\r\n getTile(x - e, y).setIsDirt();\r\n } else if (corner == 1 && dirn == 1 && !getTile(x + 1, y + e).getIsFloor()) { // bot right, check right\r\n getTile(x, y + e).setIsDirt();\r\n } else if (corner == 2 && dirn == 0 && !getTile(x - e, y + 1).getIsFloor()) { // top right, check up\r\n getTile(x-e, y).setIsDirt();\r\n } else if (corner == 2 && dirn == 1 && !getTile(x + 1, y - e).getIsFloor()) { // top right, check right\r\n getTile(x, y - e).setIsDirt();\r\n } else if (corner == 3 && dirn == 0 && !getTile(x + e, y + 1).getIsFloor()) { // top left, check up\r\n getTile(x + e, y).setIsDirt();\r\n } else if (corner == 3 && dirn == 1 && !getTile(x - 1, y - e).getIsFloor()) { // top left, check left\r\n getTile(x, y - e).setIsDirt();\r\n } else {\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n // remove some corridor blocks\r\n //TODO de-ugly\r\n final int hGap = 3;\r\n final int vGap = 2;\r\n for (Room c : corridors) {\r\n int extent = MathUtils.clamp((int) Math.round(Math.abs(Utility.r.nextGaussian())), 1, Param.MAX_CRINKLE);\r\n int x = (int)c.getX();\r\n int y = (int)c.getY();\r\n int w = (int)c.getWidth() - 1;\r\n int h = (int)c.getHeight() - 1;\r\n if (c.getX() < Param.MAX_CRINKLE + 1 || c.getY() < Param.MAX_CRINKLE + 1) continue;\r\n if (c.getCorridorDirection() == Room.CorridorDirection.VERTICAL) {\r\n if (c.getHeight() < Param.CORRIDOR_SIZE + vGap) continue;\r\n for (int corner = 0; corner < 4; ++ corner) {\r\n for (int e = 1; e <= extent; ++e) {\r\n// Gdx.app.log(\"dbg\",\"Room=\"+c+\" x=\" + x + \" y=\" + y + \" e=\" + e);\r\n if (corner == 0 && getTile(x - e - vGap + 1, y).getIsDirt()\r\n && getTile(x - e - vGap, y).getIsDirt()\r\n && getTile(x - e - vGap, y - 1).getIsFloorNC() ) {\r\n getTile(x - e, y).setIsFloor(c); // Bot left, going left\r\n } else if (corner == 1 && getTile( x + w + e + vGap - 1, y).getIsDirt()\r\n && getTile( x + w + e + vGap, y).getIsDirt()\r\n && getTile(x + w + e + vGap, y - 1).getIsFloorNC()) {\r\n getTile(x + w + e, y).setIsFloor(c); // Bot right, going right\r\n } else if (corner == 2 && getTile(x + w + e + vGap - 1, y + h).getIsDirt()\r\n && getTile(x + w + e + vGap, y + h).getIsDirt()\r\n && getTile(x + w + e + vGap, y + h + 1).getIsFloorNC()) {\r\n getTile(x + w + e, y + h).setIsFloor(c); // Top right going right\r\n } else if (corner == 3 && getTile(x - e - vGap + 1, y + h).getIsDirt()\r\n && getTile(x - e - vGap, y + h).getIsDirt()\r\n && getTile(x - e - vGap, y + h + 1).getIsFloorNC()) {\r\n getTile(x - e, y + h).setIsFloor(c); // Top left, going left\r\n } else {\r\n break;\r\n }\r\n }\r\n }\r\n } else if (c.getCorridorDirection() == Room.CorridorDirection.HORIZONTAL) {\r\n if (c.getWidth() < Param.CORRIDOR_SIZE) continue;\r\n for (int corner = 0; corner < 4; ++ corner) {\r\n for (int e = 1; e <= extent; ++e) {\r\n// Gdx.app.log(\"dbg\",\"Room=\"+c+\" x=\" + x + \" y=\" + y + \" e=\" + e);\r\n if (corner == 0 && getTile(x, y - e - hGap + 1).getIsDirt() && getTile(x, y - e - hGap).getIsDirt() && getTile(x - 1, y - e - hGap).getIsFloorNC() ) {\r\n getTile(x, y - e).setIsFloor(c); // Bot left, going down\r\n } else if (corner == 1 && getTile( x + w, y - e - hGap + 1).getIsDirt() && getTile( x + w, y - e - hGap).getIsDirt() && getTile(x + w + 1, y - e - hGap).getIsFloorNC()) {\r\n getTile(x + w, y - e).setIsFloor(c); // Bot right, going dowm\r\n } else if (corner == 2 && getTile(x + w, y + h + e + hGap - 1).getIsDirt() && getTile(x + w, y + h + e + hGap).getIsDirt() && getTile(x + w + 1, y + h + e + hGap).getIsFloorNC()) {\r\n getTile(x + w, y + h + e).setIsFloor(c); // Top right going up\r\n } else if (corner == 3 && getTile(x, y + h + e + hGap - 1).getIsDirt() && getTile(x, y + h + e + hGap).getIsDirt() && getTile(x - 1, y + h + e + hGap).getIsFloorNC()) {\r\n getTile(x, y + h + e).setIsFloor(c); // Top left, going up\r\n } else {\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }", "title": "" }, { "docid": "2bb3aa0ff2284588c1c4d9787fcadeb4", "score": "0.57280004", "text": "private void generateShips() {\n boolean b;\n int kx, ky;\n for (int n = 3; n >= 0; n--) {\n for (int m = 0; m <= 3 - n; m++) {\n do {\n Random random = new Random();\n int x = getRandomNumberInRange(1, 11);\n int y = getRandomNumberInRange(1, 11);\n kx = random.nextInt(2);\n if (kx == 0) {\n ky = 1;\n } else {\n ky = 0;\n }\n b = true;\n for (int i = 0; i <= n; i++) {\n if (!isFreedom(x + kx * i, y + ky * i, getInsideBoard())) {\n b = false;\n }\n }\n if (b) {\n for (int j = 0; j <= n; j++) {\n getInsideBoard()[x + kx * j][y + ky * j] = n + 1;\n }\n }\n } while (!b);\n }\n }\n setStabilityInsideBoard(copyInsideArray());\n }", "title": "" }, { "docid": "31d2e15e5de991191a19326485d66fcd", "score": "0.5717595", "text": "static int orangesRotting0(int[][] grid) {\r\n \r\n // **** initialization (fresh and rotten oranges) ****\r\n HashSet<String> fresh = new HashSet<String>();\r\n HashSet<String> rotten = new HashSet<String>();\r\n\r\n // **** populate hash sets with grid coordinates ****\r\n for (int r = 0; r < grid.length; r++) {\r\n for (int c = 0; c < grid[r].length; c++) {\r\n if (grid[r][c] == 1)\r\n fresh.add(\"\" + r + c);\r\n else if (grid[r][c] == 2)\r\n rotten.add(\"\" + r + c);\r\n }\r\n }\r\n\r\n // **** initialize time ****\r\n int min = 0;\r\n\r\n // **** loop infecting oranges while we have fresh ones ****\r\n while (fresh.size() != 0) {\r\n\r\n // **** oranges that will get infected in this pass ****\r\n HashSet<String> infected = new HashSet<String>();\r\n\r\n // **** traverse all infected oranges ****\r\n for (String rot : rotten) {\r\n\r\n // **** extract grid coordinates ****\r\n int r = rot.charAt(0) - '0';\r\n int c = rot.charAt(1) - '0';\r\n\r\n // **** infect adjacent oranges ****\r\n infected = infectAdjacent0(grid, r, c, fresh, infected);\r\n }\r\n\r\n // **** did not infect new oranges ****\r\n if (infected.size() == 0) {\r\n return -1;\r\n }\r\n\r\n // **** only consider the last infected oranges ****\r\n rotten = infected;\r\n\r\n // **** increment time ****\r\n min++;\r\n }\r\n\r\n // **** return time ****\r\n return min;\r\n }", "title": "" }, { "docid": "045a121fdbcc989ec8f83eef1cfddf04", "score": "0.5714349", "text": "private void BlackKingPressed(int r, int c){\n if (itemSelected){\n return;\n }\n //if it is white's turn, return\n if(whiteturn){\n return;\n }\n //if you are just now selecting the black king\n itemSelected = true;\n selectionRow = r;\n selectionColumn = c;\n HighlightSelection(r, c);\n\n //check straight up move\n if(r + 1 < 8){\n if(piecePositions[r + 1][c].equals(\"Empty\") || piecePositions[r + 1][c].substring(0, 1).equals(\"w\")){\n HighlightMove(r + 1, c);\n }\n }\n\n //check up and left move\n if(r + 1 < 8 && c - 1 >= 0){\n if(piecePositions[r + 1][c - 1].equals(\"Empty\") || piecePositions[r + 1][c - 1].substring(0, 1).equals(\"w\")){\n HighlightMove(r + 1, c - 1);\n }\n }\n\n //check up and right move\n if(r + 1 < 8 && c + 1 < 8){\n if(piecePositions[r + 1][c + 1].equals(\"Empty\") || piecePositions[r + 1][c + 1].substring(0, 1).equals(\"w\")){\n HighlightMove(r + 1, c + 1);\n }\n }\n\n //check left move\n if(c -1 >= 0){\n if(piecePositions[r][c - 1].equals(\"Empty\") || piecePositions[r][c - 1].substring(0, 1).equals(\"w\")){\n HighlightMove(r, c - 1);\n }\n }\n\n //check right move\n if(c + 1 < 8){\n if(piecePositions[r][c + 1].equals(\"Empty\") || piecePositions[r][c + 1].substring(0, 1).equals(\"w\")){\n HighlightMove(r, c + 1);\n }\n }\n\n //check down left move\n if(r - 1 >= 0 && c - 1 >= 0){\n if(piecePositions[r - 1][c - 1].equals(\"Empty\") || piecePositions[r - 1][c - 1].substring(0, 1).equals(\"w\")){\n HighlightMove(r - 1, c - 1);\n }\n }\n\n //check straight down move\n if(r - 1 >= 0){\n if(piecePositions[r - 1][c].equals(\"Empty\") || piecePositions[r - 1][c].substring(0, 1).equals(\"w\")){\n HighlightMove(r - 1, c);\n }\n }\n\n //check down and right move\n if(r - 1 >= 0 && c + 1 < 8){\n if(piecePositions[r - 1][c + 1].equals(\"Empty\") || piecePositions[r - 1][c + 1].substring(0, 1).equals(\"w\")){\n HighlightMove(r - 1, c + 1);\n }\n }\n }", "title": "" }, { "docid": "ed5b50f3b8feba60b32c07bd4bf7ebe0", "score": "0.5708731", "text": "private boolean ruleSuicide(int x, int y, int player) {\r\n StoneGroup found;\r\n boardState[x][y] = player;\r\n boolean state = false;\r\n \r\n if (countBreaths(x,y) > 0) {\r\n boardState[x][y] = -1;\r\n return true; \r\n }\r\n if (x == 0 && y == 0) {\r\n if (boardState[x+1][y] == player && boardState[x][y+1] == player)\r\n return true;\r\n if (boardState[x+1][y] != -1) {\r\n if (boardState[x+1][y] == 0)\r\n found = findGroup(new Stone(x+1,y,0),0);\r\n else\r\n found = findGroup(new Stone(x+1,y,1),1);\r\n found.updateBreaths();\r\n if (found.getBreaths() == 0) {\r\n if (found.color != player) {\r\n state = true;\r\n }\r\n }else {\r\n if (found.color == player) {\r\n state = true;\r\n }\r\n }\r\n }\r\n if (boardState[x][y+1] != -1) {\r\n if (boardState[x][y+1] == 0)\r\n found = findGroup(new Stone(x,y+1,0),0);\r\n else\r\n found = findGroup(new Stone(x,y+1,1),1);\r\n found.updateBreaths();\r\n if (found.getBreaths() == 0) {\r\n if (found.color != player) {\r\n state = true;\r\n }\r\n }else {\r\n if (found.color == player) {\r\n state = true;\r\n }\r\n }\r\n }\r\n } else if (x == 0 && y == boardSize-1) {\r\n if (boardState[x+1][y] == player && boardState[x][y-1] == player)\r\n return true;\r\n if (boardState[x+1][y] != -1) {\r\n if (boardState[x+1][y] == 0)\r\n found = findGroup(new Stone(x+1,y,0),0);\r\n else\r\n found = findGroup(new Stone(x+1,y,1),1);\r\n found.updateBreaths();\r\n if (found.getBreaths() == 0) {\r\n if (found.color != player) {\r\n state = true;\r\n }\r\n }else {\r\n if (found.color == player) {\r\n state = true;\r\n }\r\n }\r\n }\r\n if (boardState[x][y-1] != -1) {\r\n if (boardState[x][y-1] == 0)\r\n found = findGroup(new Stone(x,y-1,0),0);\r\n else\r\n found = findGroup(new Stone(x,y-1,1),1);\r\n found.updateBreaths();\r\n if (found.getBreaths() == 0) {\r\n if (found.color != player) {\r\n state = true;\r\n }\r\n }else {\r\n if (found.color == player) {\r\n state = true;\r\n }\r\n }\r\n }\r\n } else if (x == boardSize-1 && y == 0) {\r\n if (boardState[x-1][y] == player && boardState[x][y+1] == player)\r\n return true;\r\n if (boardState[x-1][y] != -1) {\r\n if (boardState[x-1][y] == 0)\r\n found = findGroup(new Stone(x-1,y,0),0);\r\n else\r\n found = findGroup(new Stone(x-1,y,1),1);\r\n found.updateBreaths();\r\n if (found.getBreaths() == 0) {\r\n if (found.color != player) {\r\n state = true;\r\n }\r\n }else {\r\n if (found.color == player) {\r\n state = true;\r\n }\r\n }\r\n }\r\n if (boardState[x][y+1] != -1) {\r\n if (boardState[x][y+1] == 0)\r\n found = findGroup(new Stone(x,y+1,0),0);\r\n else\r\n found = findGroup(new Stone(x,y+1,1),1);\r\n found.updateBreaths();\r\n if (found.getBreaths() == 0) {\r\n if (found.color != player) {\r\n state = true;\r\n }\r\n }else {\r\n if (found.color == player) {\r\n state = true;\r\n }\r\n }\r\n }\r\n } else if (x == boardSize-1 && y == boardSize-1) {\r\n if (boardState[x-1][y] == player && boardState[x][y-1] == player)\r\n return true;\r\n if (boardState[x-1][y] != -1) {\r\n if (boardState[x-1][y] == 0)\r\n found = findGroup(new Stone(x-1,y,0),0);\r\n else\r\n found = findGroup(new Stone(x-1,y,1),1);\r\n found.updateBreaths();\r\n if (found.getBreaths() == 0) {\r\n if (found.color != player) {\r\n state = true;\r\n }\r\n }else {\r\n if (found.color == player) {\r\n state = true;\r\n }\r\n }\r\n }\r\n if (boardState[x][y-1] != -1) {\r\n if (boardState[x][y-1] == 0)\r\n found = findGroup(new Stone(x,y-1,0),0);\r\n else\r\n found = findGroup(new Stone(x,y-1,1),1);\r\n found.updateBreaths();\r\n if (found.getBreaths() == 0) {\r\n if (found.color != player) {\r\n state = true;\r\n }\r\n }else {\r\n if (found.color == player) {\r\n state = true;\r\n }\r\n }\r\n }\r\n } else if (x == 0) {\r\n if (boardState[x][y-1] == player && boardState[x][y+1] == player && boardState[x+1][y] == player)\r\n return true;\r\n if (boardState[x+1][y] != -1) {\r\n if (boardState[x+1][y] == 0)\r\n found = findGroup(new Stone(x+1,y,0),0);\r\n else\r\n found = findGroup(new Stone(x+1,y,1),1);\r\n found.updateBreaths();\r\n if (found.getBreaths() == 0) {\r\n if (found.color != player) {\r\n state = true;\r\n }\r\n }else {\r\n if (found.color == player) {\r\n state = true;\r\n }\r\n }\r\n }\r\n if (boardState[x][y+1] != -1) {\r\n if (boardState[x][y+1] == 0)\r\n found = findGroup(new Stone(x,y+1,0),0);\r\n else\r\n found = findGroup(new Stone(x,y+1,1),1);\r\n found.updateBreaths();\r\n if (found.getBreaths() == 0) {\r\n if (found.color != player) {\r\n state = true;\r\n }\r\n }else {\r\n if (found.color == player) {\r\n state = true;\r\n }\r\n }\r\n }\r\n if (boardState[x][y-1] != -1) {\r\n if (boardState[x][y-1] == 0)\r\n found = findGroup(new Stone(x,y-1,0),0);\r\n else\r\n found = findGroup(new Stone(x,y-1,1),1);\r\n found.updateBreaths();\r\n if (found.getBreaths() == 0) {\r\n if (found.color != player) {\r\n state = true;\r\n }\r\n }else {\r\n if (found.color == player) {\r\n state = true;\r\n }\r\n }\r\n }\r\n } else if (y == 0) {\r\n if (boardState[x-1][y] == player && boardState[x][y+1] == player && boardState[x+1][y] == player)\r\n return true;\r\n if (boardState[x+1][y] != -1) {\r\n if (boardState[x+1][y] == 0)\r\n found = findGroup(new Stone(x+1,y,0),0);\r\n else\r\n found = findGroup(new Stone(x+1,y,1),1);\r\n found.updateBreaths();\r\n if (found.getBreaths() == 0) {\r\n if (found.color != player) {\r\n state = true;\r\n }\r\n }else {\r\n if (found.color == player) {\r\n state = true;\r\n }\r\n }\r\n }\r\n if (boardState[x-1][y] != -1) {\r\n if (boardState[x-1][y] == 0)\r\n found = findGroup(new Stone(x-1,y,0),0);\r\n else\r\n found = findGroup(new Stone(x-1,y,1),1);\r\n found.updateBreaths();\r\n if (found.getBreaths() == 0) {\r\n if (found.color != player) {\r\n state = true;\r\n }\r\n }else {\r\n if (found.color == player) {\r\n state = true;\r\n }\r\n }\r\n }\r\n if (boardState[x][y+1] != -1) {\r\n if (boardState[x][y+1] == 0)\r\n found = findGroup(new Stone(x,y+1,0),0);\r\n else\r\n found = findGroup(new Stone(x,y+1,1),1);\r\n found.updateBreaths();\r\n if (found.getBreaths() == 0) {\r\n if (found.color != player) {\r\n state = true;\r\n }\r\n }else {\r\n if (found.color == player) {\r\n state = true;\r\n }\r\n }\r\n }\r\n } else if (y == boardSize-1) {\r\n if (boardState[x-1][y] == player && boardState[x][y-1] == player && boardState[x+1][y] == player)\r\n return true;\r\n if (boardState[x+1][y] != -1) {\r\n if (boardState[x+1][y] == 0)\r\n found = findGroup(new Stone(x+1,y,0),0);\r\n else\r\n found = findGroup(new Stone(x+1,y,1),1);\r\n found.updateBreaths();\r\n if (found.getBreaths() == 0) {\r\n if (found.color != player) {\r\n state = true;\r\n }\r\n }else {\r\n if (found.color == player) {\r\n state = true;\r\n }\r\n }\r\n }\r\n if (boardState[x-1][y] != -1) {\r\n if (boardState[x-1][y] == 0)\r\n found = findGroup(new Stone(x-1,y,0),0);\r\n else\r\n found = findGroup(new Stone(x-1,y,1),1);\r\n found.updateBreaths();\r\n if (found.getBreaths() == 0) {\r\n if (found.color != player) {\r\n state = true;\r\n }\r\n }else {\r\n if (found.color == player) {\r\n state = true;\r\n }\r\n }\r\n }\r\n if (boardState[x][y-1] != -1) {\r\n if (boardState[x][y-1] == 0)\r\n found = findGroup(new Stone(x,y-1,0),0);\r\n else\r\n found = findGroup(new Stone(x,y-1,1),1);\r\n found.updateBreaths();\r\n if (found.getBreaths() == 0) {\r\n if (found.color != player) {\r\n state = true;\r\n }\r\n }else {\r\n if (found.color == player) {\r\n state = true;\r\n }\r\n }\r\n } \r\n } else if (x == boardSize-1) {\r\n if (boardState[x][y-1] == player && boardState[x][y+1] == player && boardState[x-1][y] == player)\r\n return true;\r\n if (boardState[x-1][y] != -1) {\r\n if (boardState[x-1][y] == 0)\r\n found = findGroup(new Stone(x-1,y,0),0);\r\n else\r\n found = findGroup(new Stone(x-1,y,1),1);\r\n found.updateBreaths();\r\n if (found.getBreaths() == 0) {\r\n if (found.color != player) {\r\n state = true;\r\n }\r\n }else {\r\n if (found.color == player) {\r\n state = true;\r\n }\r\n }\r\n }\r\n if (boardState[x][y+1] == 0) {\r\n if (boardState[x][y+1] == 0)\r\n found = findGroup(new Stone(x,y+1,0),0);\r\n else\r\n found = findGroup(new Stone(x,y+1,1),1);\r\n found.updateBreaths();\r\n if (found.getBreaths() == 0) {\r\n if (found.color != player) {\r\n state = true;\r\n }\r\n }else {\r\n if (found.color == player) {\r\n state = true;\r\n }\r\n }\r\n }\r\n if (boardState[x][y-1] != -1) {\r\n if (boardState[x][y-1] == 0)\r\n found = findGroup(new Stone(x,y-1,0),0);\r\n else\r\n found = findGroup(new Stone(x,y-1,1),1);\r\n found.updateBreaths();\r\n if (found.getBreaths() == 0) {\r\n if (found.color != player) {\r\n state = true;\r\n }\r\n }else {\r\n if (found.color == player) {\r\n state = true;\r\n }\r\n }\r\n } \r\n } else {\r\n if (boardState[x][y-1] == player && boardState[x][y+1] == player && boardState[x+1][y] == player && boardState[x-1][y] == player)\r\n return true;\r\n if (boardState[x+1][y] != -1) {\r\n if (boardState[x+1][y] == 0)\r\n found = findGroup(new Stone(x+1,y,0),0);\r\n else\r\n found = findGroup(new Stone(x+1,y,1),1);\r\n found.updateBreaths();\r\n if (found.getBreaths() == 0) {\r\n if (found.color != player) {\r\n state = true;\r\n }\r\n } else {\r\n if (found.color == player) {\r\n state = true;\r\n }\r\n }\r\n }\r\n if (boardState[x-1][y] != -1) {\r\n if (boardState[x-1][y] == 0)\r\n found = findGroup(new Stone(x-1,y,0),0);\r\n else\r\n found = findGroup(new Stone(x-1,y,1),1);\r\n found.updateBreaths();\r\n if (found.getBreaths() == 0) {\r\n if (found.color != player) {\r\n state = true;\r\n }\r\n }else {\r\n if (found.color == player) {\r\n state = true;\r\n }\r\n }\r\n }\r\n if (boardState[x][y-1] != -1) {\r\n if (boardState[x][y-1] == 0)\r\n found = findGroup(new Stone(x,y-1,0),0);\r\n else\r\n found = findGroup(new Stone(x,y-1,1),1);\r\n found.updateBreaths();\r\n if (found.getBreaths() == 0) {\r\n if (found.color != player) {\r\n state = true;\r\n }\r\n }else {\r\n if (found.color == player) {\r\n state = true;\r\n }\r\n }\r\n }\r\n if (boardState[x][y+1] != -1) {\r\n if (boardState[x][y+1] == 0)\r\n found = findGroup(new Stone(x,y+1,0),0);\r\n else\r\n found = findGroup(new Stone(x,y+1,1),1);\r\n found.updateBreaths();\r\n if (found.getBreaths() == 0) {\r\n if (found.color != player) {\r\n state = true;\r\n }\r\n }else {\r\n if (found.color == player) {\r\n state = true;\r\n }\r\n }\r\n }\r\n } \r\n boardState[x][y] = -1;\r\n return state;\r\n }", "title": "" }, { "docid": "3ca50833ff4888fd4347903d355445a7", "score": "0.5704107", "text": "private void pawn(int row, int col)\n\t\t{\n\t\t\tint direction = ('b'==color ? 1 : -1);\n\t\t\tif (!orientation) direction = direction * -1;\n\t\t\tboolean startrow = (direction==1 ? 1==row : 6==row);\n\t\t\t// if the board is flipped, we flip orientation\n\n\t\t\t// move forward one\n\t\t\tif (row+direction>=0 && row+direction<8 && board[row+direction][col].type==' ')\n\t\t\t{\n\t\t\t\taddmove(row+direction, col, 0);\n\t\t\t}\n\n\t\t\t// special case move by two from the start row\n\t\t\tif (startrow)\n\t\t\t{\n\t\t\t\t// legal move only if there if the space we're skipping is empty\n\t\t\t\t// and the destination square is empty\n\t\t\t\tif (board[row+direction][col].type==' ' && board[row+direction+direction][col].type==' ')\n\t\t\t\t{\n\t\t\t\t\taddmove(row+2*direction, col, 0);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// check on taking pieces\n\t\t\tif (col<7 && board[row+direction][col+1].type!=' ' && this.color!=board[row+direction][col+1].color)\n\t\t\t{\n\t\t\t\t// take piece\n\t\t\t\taddmove(row+direction, col+1, 1);\n\t\t\t}\n\n\t\t\tif (col>0 && board[row+direction][col-1].type!=' ' && this.color!=board[row+direction][col-1].color)\n\t\t\t{\n\t\t\t\taddmove(row+direction, col-1, 1);\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "54bf2f94dcc02de30b7e38682e007ff6", "score": "0.5702626", "text": "private void WhitePawnPressed(int r, int c){\n //if you already have a selected item\n if (itemSelected){\n return;\n }\n //if you are just now selecting the white pawn\n else if(whiteturn){\n itemSelected = true;\n selectionRow = r;\n selectionColumn = c;\n HighlightSelection(r, c);\n //if it is the first move of the pawn\n if(r == 1){\n if(piecePositions[r + 1][c].equals(\"Empty\")){\n HighlightMove(r + 1, c);\n if(piecePositions[r + 2][c].equals(\"Empty\")){\n HighlightMove(r + 2, c);\n }\n }\n //first move and if there are enemies\n if((c + 1 < 8) && (c - 1 >= 0)){\n if(piecePositions[r + 1][c - 1].substring(0, 1).equals(\"b\")){\n HighlightMove(r + 1, c - 1);\n }\n if(piecePositions[r + 1][c + 1].substring(0, 1).equals(\"b\")){\n HighlightMove(r + 1, c + 1);\n }\n }\n if((c + 1 == 8)){\n if(piecePositions[r + 1][c - 1].substring(0, 1).equals(\"b\")){\n HighlightMove(r + 1, c - 1);\n }\n }\n if(c - 1 == -1){\n if(piecePositions[r + 1][c + 1].substring(0, 1).equals(\"b\")){\n HighlightMove(r + 1, c + 1);\n }\n }\n }\n //if it is not the first move of the pawn\n else{\n if((r + 1 < 8) && piecePositions[r + 1][c].equals(\"Empty\")){\n HighlightMove(r + 1, c);\n }\n //if there is an enemy\n if((c + 1 < 8) && (c - 1 >= 0) && (r + 1 < 8)){\n if(piecePositions[r + 1][c - 1].substring(0, 1).equals(\"b\")){\n HighlightMove(r + 1, c - 1);\n }\n if(piecePositions[r + 1][c + 1].substring(0, 1).equals(\"b\")){\n HighlightMove(r + 1, c + 1);\n }\n }\n if((c - 1 == -1) && r + 1 < 8){\n if(piecePositions[r + 1][c + 1].substring(0, 1).equals(\"b\")){\n HighlightMove(r + 1, c + 1);\n }\n }\n if((c + 1 == 8) && r + 1 < 8){\n if(piecePositions[r + 1][c - 1].substring(0, 1).equals(\"b\")){\n HighlightMove(r + 1, c - 1);\n }\n }\n }\n }\n //returns if it is not white's turn\n return;\n }", "title": "" }, { "docid": "634d117f60d942b772ee8de03bb588cf", "score": "0.570075", "text": "private Stack getRookMoves(int x, int y, String piece) {\n\t\tSquare startingSquare = new Square(x, y, piece);\n\t\tStack moves = new Stack();\n\t\tMove validM, validM2, validM3, validM4;\n\t\tfor (int i = 1; i < 8; i++) {\n\t\t\tint tmpx = x + i;\n\t\t\tint tmpy = y;\n\t\t\tif (!(tmpx > 7 || tmpx < 0)) {\n\t\t\t\tSquare tmp = new Square(tmpx, tmpy, piece);\n\t\t\t\tvalidM = new Move(startingSquare, tmp);\n\t\t\t\tif (!piecePresent(((tmp.getXC() * 75) + 20), (((tmp.getYC() * 75) + 20)))) {\n\t\t\t\t\tmoves.push(validM);\n\t\t\t\t} else {\n\t\t\t\t\tif (checkWhiteOponent(((tmp.getXC() * 75) + 20), ((tmp.getYC() * 75) + 20))) {\n\t\t\t\t\t\tmoves.push(validM);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} // end of the loop with x increasing and Y doing nothing...\n\t\tfor (int j = 1; j < 8; j++) {\n\t\t\tint tmpx1 = x - j;\n\t\t\tint tmpy1 = y;\n\t\t\tif (!(tmpx1 > 7 || tmpx1 < 0)) {\n\t\t\t\tSquare tmp2 = new Square(tmpx1, tmpy1, piece);\n\t\t\t\tvalidM2 = new Move(startingSquare, tmp2);\n\t\t\t\tif (!piecePresent(((tmp2.getXC() * 75) + 20), (((tmp2.getYC() * 75) + 20)))) {\n\t\t\t\t\tmoves.push(validM2);\n\t\t\t\t} else {\n\t\t\t\t\tif (checkWhiteOponent(((tmp2.getXC() * 75) + 20), ((tmp2.getYC() * 75) + 20))) {\n\t\t\t\t\t\tmoves.push(validM2);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} // end of the loop with x increasing and Y doing nothing...\n\t\tfor (int k = 1; k < 8; k++) {\n\t\t\tint tmpx3 = x;\n\t\t\tint tmpy3 = y + k;\n\t\t\tif (!(tmpy3 > 7 || tmpy3 < 0)) {\n\t\t\t\tSquare tmp3 = new Square(tmpx3, tmpy3, piece);\n\t\t\t\tvalidM3 = new Move(startingSquare, tmp3);\n\t\t\t\tif (!piecePresent(((tmp3.getXC() * 75) + 20), (((tmp3.getYC() * 75) + 20)))) {\n\t\t\t\t\tmoves.push(validM3);\n\t\t\t\t} else {\n\t\t\t\t\tif (checkWhiteOponent(((tmp3.getXC() * 75) + 20), ((tmp3.getYC() * 75) + 20))) {\n\t\t\t\t\t\tmoves.push(validM3);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} // end of the loop with x increasing and Y doing nothing...\n\t\tfor (int l = 1; l < 8; l++) {\n\t\t\tint tmpx4 = x;\n\t\t\tint tmpy4 = y - l;\n\t\t\tif (!(tmpy4 > 7 || tmpy4 < 0)) {\n\t\t\t\tSquare tmp4 = new Square(tmpx4, tmpy4, piece);\n\t\t\t\tvalidM4 = new Move(startingSquare, tmp4);\n\t\t\t\tif (!piecePresent(((tmp4.getXC() * 75) + 20), (((tmp4.getYC() * 75) + 20)))) {\n\t\t\t\t\tmoves.push(validM4);\n\t\t\t\t} else {\n\t\t\t\t\tif (checkWhiteOponent(((tmp4.getXC() * 75) + 20), ((tmp4.getYC() * 75) + 20))) {\n\t\t\t\t\t\tmoves.push(validM4);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} // end of the loop with x increasing and Y doing nothing...\n\t\t\n\t\treturn moves;\n\n\t}", "title": "" }, { "docid": "c21667202ef8e8096a34d4d7b72a1e4d", "score": "0.56997323", "text": "private void calcPieceLocations()\n\t{\n\t\tpieceXSize = (boardXEnd - boardXStart)/7;\n\t\tpieceYSize = (boardYEnd - boardYStart)/7;\n\t\t\n\t\tint currX = boardXStart + pieceXSize;\n\t\tint currY = boardYStart;\n\t\tint i = 0;\n\t\t// First row. Same y-values\n\t\tfor (i = 0; i < 6; i++)\t\t// A to F\n\t\t{\n\t\t\ttheBoard[i].setPos(currX, currY);\n\t\t\tcurrX += pieceXSize;\n\t\t}\n\t\t// G \n\t\tcurrX -= pieceXSize;\n\t\tcurrY += pieceYSize;\n\t\ttheBoard[i++].setPos(currX, currY);\n\t\t\n\t\t// H\n\t\tcurrY += pieceYSize;\n\t\ttheBoard[i++].setPos(currX, currY);\n\t\t\n\t\t// I\n\t\tcurrX -= pieceXSize;\n\t\ttheBoard[i++].setPos(currX, currY);\n\t\t\n\t\t//J\n\t\tcurrX -= pieceXSize;\n\t\ttheBoard[i++].setPos(currX, currY);\n\t\t\n\t\t// K\n\t\tcurrY += pieceYSize;\n\t\ttheBoard[i++].setPos(currX, currY);\n\t\t\n\t\t// L\n\t\tcurrY += pieceYSize;\n\t\ttheBoard[i++].setPos(currX, currY);\n\t\t\n\t\t// M\n\t\tcurrX += pieceXSize;\n\t\ttheBoard[i++].setPos(currX, currY);\n\t\t\n\t\t// N\n\t\tcurrX += pieceXSize;\n\t\ttheBoard[i++].setPos(currX, currY);\n\t\t\n\t\t// O\n\t\tcurrY += pieceYSize;\n\t\ttheBoard[i++].setPos(currX, currY);\n\n\t\tcurrY += pieceYSize;\n\n\t\t// P - V\n\t\tfor (int j = 0; j < 7; j++)\n\t\t{\n\t\t\ttheBoard[i++].setPos(currX, currY);\n\t\t\tcurrX -= pieceXSize;\n\t\t}\n\t\t\n\t\tcurrX += pieceXSize;\n\t\t\n\t\t// W\n\t\tcurrY -= pieceYSize;\n\t\ttheBoard[i++].setPos(currX, currY);\n\t\t\n\t\t// X\n\t\tcurrY -= pieceYSize;\n\t\ttheBoard[i++].setPos(currX, currY);\n\t\t\n\t\t// Y\n\t\tcurrX += pieceXSize;\n\t\ttheBoard[i++].setPos(currX, currY);\n\n\t\t// Z\n\t\tcurrY -= pieceYSize;\n\t\ttheBoard[i++].setPos(currX, currY);\n\n\t\t// Å\n\t\tcurrY -= pieceYSize;\n\t\ttheBoard[i++].setPos(currX, currY);\n\n\t\t// Ä\n\t\tcurrX -= pieceXSize;\n\t\ttheBoard[i++].setPos(currX, currY);\n\n\t\t// Ö\n\t\tcurrY -= pieceYSize;\n\t\ttheBoard[i++].setPos(currX, currY);\n\t\t\n\t\t// Arrow = nbr 29\n\t\ttheBoard[NBRPIECES-1].setPos(boardXStart, boardYStart);\n\t\t\n\t}", "title": "" }, { "docid": "15658430be46a7b501e7cdef2f977062", "score": "0.569949", "text": "int countEmptyCellInSquare(int row,int col, int[][] board){\n\t\t\tif (row==0 || row==3 || row==6)\n\t\t\t{\n\t\t\t\tif (col==0 || col== 3 || col==6)\n\t\t\t\t{\n\t\t\t\t\treturn(CountEmptyCell(row,col,board));\n\t\t\t\t}\n\t\t\t\tif (col==1 || col== 4 || col==7)\n\t\t\t\t{\n\t\t\t\t\treturn(CountEmptyCell(row,col-1,board));\n\t\t\t\t}\n\t\t\t\tif (col==2 || col== 5 || col==8)\n\t\t\t\t{\n\t\t\t\t\treturn(CountEmptyCell(row,col-2,board));\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (row==1 || row==4 || row==7)\n\t\t\t{\n\t\t\t\tif (col==0 || col== 3 || col==6)\n\t\t\t\t{\n\t\t\t\t\treturn (CountEmptyCell(row-1,col,board));\n\t\t\t\t}\n\t\t\t\tif (col==1 || col== 4 || col==7)\n\t\t\t\t{\n\t\t\t\t\treturn(CountEmptyCell(row-1,col-1,board));\n\t\t\t\t}\n\t\t\t\tif (col==2 || col== 5 || col==8)\n\t\t\t\t{\n\t\t\t\t\treturn(CountEmptyCell(row-1,col-2,board));\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (row==2 || row==5 || row==8)\n\t\t\t{\n\t\t\t\tif (col==0 || col== 3 || col==6)\n\t\t\t\t{\n\t\t\t\t\treturn(CountEmptyCell(row-2,col,board));\n\t\t\t\t}\n\t\t\t\tif (col==1 || col== 4 || col==7)\n\t\t\t\t{\n\t\t\t\t\treturn(CountEmptyCell(row-2,col-1,board));\n\t\t\t\t}\n\t\t\t\tif (col==2 || col== 5 || col==8)\n\t\t\t\t{\n\t\t\t\t\treturn(CountEmptyCell(row-2,col-2,board));\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"Somthing Wrong in countEmptyCellInSquare function in Terminal class \");\n\t\t\tSystem.exit(0);\n\t\t\treturn 0;\n\t\t}", "title": "" }, { "docid": "ce2dd57676f2b5e0de5a9fa4d81b5095", "score": "0.56982315", "text": "private void BlackKnightPressed(int r, int c){\n if (itemSelected){\n return;\n }\n //if it is white's turn, return\n if(whiteturn){\n return;\n }\n //if you are just now selecting the black knight\n itemSelected = true;\n selectionRow = r;\n selectionColumn = c;\n HighlightSelection(r, c);\n\n //checks up and far left move\n if(r + 1 < 8 && c - 2 >=0){\n if(piecePositions[r + 1][c - 2].equals(\"Empty\") || piecePositions[r + 1][c - 2].substring(0, 1).equals(\"w\")){\n HighlightMove(r + 1, c - 2);\n }\n }\n\n //checks far up and left move\n if(r + 2 < 8 && c - 1 >=0){\n if(piecePositions[r + 2][c - 1].equals(\"Empty\") || piecePositions[r + 2][c - 1].substring(0, 1).equals(\"w\")){\n HighlightMove(r + 2, c - 1);\n }\n }\n\n //checks down and far left move\n if(r - 1 >= 0 && c - 2 >=0){\n if(piecePositions[r - 1][c - 2].equals(\"Empty\") || piecePositions[r - 1][c - 2].substring(0, 1).equals(\"w\")){\n HighlightMove(r - 1, c - 2);\n }\n }\n\n //checks far down and left move\n if(r - 2 >= 0 && c - 1 >=0){\n if(piecePositions[r - 2][c - 1].equals(\"Empty\") || piecePositions[r - 2][c - 1].substring(0, 1).equals(\"w\")){\n HighlightMove(r - 2, c - 1);\n }\n }\n\n //checks up and far right move\n if(r + 1 < 8 && c + 2 < 8){\n if(piecePositions[r + 1][c + 2].equals(\"Empty\") || piecePositions[r + 1][c + 2].substring(0, 1).equals(\"w\")){\n HighlightMove(r + 1, c + 2);\n }\n }\n\n //checks far up and right move\n if(r + 2 < 8 && c + 1 < 8){\n if(piecePositions[r + 2][c + 1].equals(\"Empty\") || piecePositions[r + 2][c + 1].substring(0, 1).equals(\"w\")){\n HighlightMove(r + 2, c + 1);\n }\n }\n\n //checks down and far right move\n if(r - 1 >= 0 && c + 2 < 8){\n if(piecePositions[r - 1][c + 2].equals(\"Empty\") || piecePositions[r - 1][c + 2].substring(0, 1).equals(\"w\")){\n HighlightMove(r - 1, c + 2);\n }\n }\n\n //checks far down and right move\n if(r - 2 >= 0 && c + 1 < 8){\n if(piecePositions[r - 2][c + 1].equals(\"Empty\") || piecePositions[r - 2][c + 1].substring(0, 1).equals(\"w\")){\n HighlightMove(r - 2, c + 1);\n }\n }\n }", "title": "" }, { "docid": "3aa32069c2570e0513388314e486c88b", "score": "0.5692414", "text": "public ArrayList<Square> move(Square[][] pos, int x, int y){\n possibleMoves.clear();\n\n int X,Y;\n\n // right\n X=x+1;\n while(X < 8){\n if(pos[X][y].getPiece()==null){\n possibleMoves.add(pos[X][y]);\n }else\n if(pos[X][y].getPiece().getColor()!=this.getColor()){\n possibleMoves.add(pos[X][y]);\n break;\n }else{\n break;\n }\n X++;\n }\n\n // left\n X=x-1;\n while(X >= 0) {\n if (pos[X][y].getPiece() == null) {\n possibleMoves.add(pos[X][y]);\n } else if (pos[X][y].getPiece().getColor() != this.getColor()) {\n possibleMoves.add(pos[X][y]);\n break;\n } else {\n break;\n }\n X--;\n }\n\n //up\n Y=y+1;\n while(Y < 8){\n if(pos[x][Y].getPiece()==null){\n possibleMoves.add(pos[x][Y]);\n }else\n if(pos[x][Y].getPiece().getColor()!=this.getColor()){\n possibleMoves.add(pos[x][Y]);\n break;\n }else{\n break;\n }\n Y++;\n }\n\n //down\n Y=y-1;\n while(Y >= 0){\n if(pos[x][Y].getPiece()==null){\n possibleMoves.add(pos[x][Y]);\n }else\n if(pos[x][Y].getPiece().getColor()!=this.getColor()){\n possibleMoves.add(pos[x][Y]);\n break;\n }else{\n break;\n }\n Y--;\n }\n\n return possibleMoves;\n }", "title": "" }, { "docid": "23a1862695ed1f166ab406cc6ec5a517", "score": "0.56919444", "text": "public void surroundedRegions(char[][] board) {\n if (board==null || board[0].length==0)\n return;\n r=board.length;\n c=board[0].length;\n for (int i=0;i<r;i++){\n in(board,i,0);\n in(board,i,c-1);\n }\n for (int i=1;i<c-1;i++){\n in(board,0,i);\n in(board,r-1,i);\n }\n while(!q.isEmpty()){\n int x=q.poll();\n int i=x/c,j=x%c;\n if (board[i][j]=='O')\n board[i][j]='D';\n in(board,i+1,j);\n in(board,i-1,j);\n in(board,i,j+1);\n in(board,i,j-1);\n\n }\n for (int i=0;i<r;i++){\n for(int j=0;j<c;j++){\n if (board[i][j]=='O')\n board[i][j]='X';\n else if (board[i][j]=='D')\n board[i][j]='O';\n }\n }\n }", "title": "" }, { "docid": "e6a83c78e53c6805f818e4b67d425370", "score": "0.5687182", "text": "private void WhiteKingPressed(int r, int c){\n if (itemSelected){\n return;\n }\n //if it is black's turn, return\n if(!whiteturn){\n return;\n }\n //if you are just now selecting the white king\n itemSelected = true;\n selectionRow = r;\n selectionColumn = c;\n HighlightSelection(r, c);\n\n //check straight up move\n if(r + 1 < 8){\n if(piecePositions[r + 1][c].equals(\"Empty\") || piecePositions[r + 1][c].substring(0, 1).equals(\"b\")){\n HighlightMove(r + 1, c);\n }\n }\n\n //check up and left move\n if(r + 1 < 8 && c - 1 >= 0){\n if(piecePositions[r + 1][c - 1].equals(\"Empty\") || piecePositions[r + 1][c - 1].substring(0, 1).equals(\"b\")){\n HighlightMove(r + 1, c - 1);\n }\n }\n\n //check up and right move\n if(r + 1 < 8 && c + 1 < 8){\n if(piecePositions[r + 1][c + 1].equals(\"Empty\") || piecePositions[r + 1][c + 1].substring(0, 1).equals(\"b\")){\n HighlightMove(r + 1, c + 1);\n }\n }\n\n //check left move\n if(c -1 >= 0){\n if(piecePositions[r][c - 1].equals(\"Empty\") || piecePositions[r][c - 1].substring(0, 1).equals(\"b\")){\n HighlightMove(r, c - 1);\n }\n }\n\n //check right move\n if(c + 1 < 8){\n if(piecePositions[r][c + 1].equals(\"Empty\") || piecePositions[r][c + 1].substring(0, 1).equals(\"b\")){\n HighlightMove(r, c + 1);\n }\n }\n\n //check down left move\n if(r - 1 >= 0 && c - 1 >= 0){\n if(piecePositions[r - 1][c - 1].equals(\"Empty\") || piecePositions[r - 1][c - 1].substring(0, 1).equals(\"b\")){\n HighlightMove(r - 1, c - 1);\n }\n }\n\n //check straight down move\n if(r - 1 >= 0){\n if(piecePositions[r - 1][c].equals(\"Empty\") || piecePositions[r - 1][c].substring(0, 1).equals(\"b\")){\n HighlightMove(r - 1, c);\n }\n }\n\n //check down and right move\n if(r - 1 >= 0 && c + 1 < 8){\n if(piecePositions[r - 1][c + 1].equals(\"Empty\") || piecePositions[r - 1][c + 1].substring(0, 1).equals(\"b\")){\n HighlightMove(r - 1, c + 1);\n }\n }\n }", "title": "" }, { "docid": "b3acd839bdc651588b7b207334f61da7", "score": "0.5686654", "text": "public boolean squaregroundCollision(int squareX, int squareY, int squareSize) {\n\t\tint collisions=0;\n\t\tList<Rectangle> removeList = new LinkedList<Rectangle>(); \n\t\tfor (Rectangle block:groundList) {\n\t\t\tif (squareX+squareSize >= block.x && squareX <= block.x + block.width) {\n\t \t\tif (squareY+squareSize >= block.y && squareY <= block.y + block.height) {\n\t \t\t\tremoveList.add(block);\n\t\t\t\t\tcollisions++;\n\t \t\t} \n\t \t}\t\t\n\t\t}\n\t\tif (collisions>0) {\n\t\t\tfor (Rectangle candidate:removeList) {\n\t\t\t\tgroundList.remove(candidate);\n\t\t\t}\n\t\t\treturn true;\n\t\t} \n\t\treturn false;\n }", "title": "" }, { "docid": "bd306a610dfba1006db36a05be3f2248", "score": "0.5676581", "text": "static int minimumMoves(String[] grid, int startX, int startY, int goalX, int goalY) {\n int currentX = startX;\n int currentY = startY;\n int count = 0;\n int beforeX = startX;\n int beforeY = startY;\n int[][] flag = {{0,1},{1,0}, {1,1},{0,0}};\n List<List<Integer>> isUsed = new ArrayList<>(10);\n for(int p = 0; p < isUsed.size(); p++){\n isUsed.get(p).addAll(new ArrayList<>(10));\n }\n\n while(startX != goalX && startY != goalY){\n beforeX = currentX;\n beforeY = currentY;\n int i = flag.length;\n while(i > 0){\n if(flag[i][0] > 0 && flag[i][1] > 0){\n for(int j = currentX; j > 0 ; j--){\n currentX = j;\n if(isUsed.get(currentX).get(currentY) == 1) {\n currentX = beforeX;\n break;\n }\n if(grid[currentX].charAt(currentY) == 'X') {\n currentX = beforeX;\n break;\n }\n isUsed.get(currentX).set(currentY, 1);\n }\n }else if(flag[i][0] == 0 && flag[i][1] == 0){\n for(int j = currentX; j < grid.length ; j++){\n currentX = j;\n if(isUsed.get(currentX).get(currentY) == 1) {\n currentX = beforeX;\n break;\n }\n if(grid[currentX].charAt(currentY) == 'X') {\n currentX = beforeX;\n break;\n }\n isUsed.get(currentX).set(currentY, 1);\n }\n }else if(flag[i][0] > 0 && flag[i][1] == 0){\n for(int j = currentY; j < grid.length ; j++){\n currentY = j;\n if(isUsed.get(currentX).get(currentY) == 1) {\n currentX = beforeX;\n break;\n }\n if(grid[currentX].charAt(currentY) == 'X') {\n currentX = beforeX;\n break;\n }\n isUsed.get(currentX).set(currentY, 1);\n }\n }else{\n for(int j = currentY; j > 0 ; j--){\n currentY = j;\n if(isUsed.get(currentX).get(currentY) == 1) {\n currentX = beforeX;\n break;\n }\n if(grid[currentX].charAt(currentY) == 'X') {\n currentX = beforeX;\n break;\n }\n isUsed.get(currentX).set(currentY, 1);\n }\n }\n\n if(currentX == beforeX && currentY == beforeY) {\n i--;\n continue;\n }\n else {\n count++;\n break;\n }\n }\n\n }\n\n return count;\n }", "title": "" }, { "docid": "53c05227aba3f09e2424918a9bff8c5a", "score": "0.56736434", "text": "private void solvePuzzle() {\n\t\t// count the number of enabled spaces and the number of moveable blocks\n\t\tint MAX = 0;\n\t\tint ITEMS = 0;\n\t\tArrayList<Cell> availableCells = new ArrayList<Cell>();\n\t\tArrayList<Integer> blockIds = new ArrayList<Integer>();\n\t\t\n\t\tfor (int r = 0; r < BOARDH; r++) {\n\t\t\tfor (int c = 0; c < BOARDW; c++) {\n\t\t\t\tif (enabled[r][c])\n\t\t\t\t\tif (blocks[r][c] == null || blocks[r][c] != null && !blocks[r][c].isFixed())\n\t\t\t\t\t\tavailableCells.add(new Cell(r, c));\n\t\t\t\tif (blocks[r][c] != null && !blocks[r][c].isFixed())\n\t\t\t\t\tblockIds.add(blocks[r][c].getType());\n\t\t\t}\n\t\t}\n\t\t\n\t\t// avoid unnecessary solving\n\t\tMAX = availableCells.size();\n\t\tITEMS = blockIds.size();\n\t\tif (ITEMS == 0)\n\t\t\treturn;\n\t\t\n\t\t// digits array contains which positions will contain blocks \n\t\tint[] digits = new int[ITEMS];\n\t\tfor (int i = 0; i < ITEMS; i++)\n\t\t\tdigits[i] = i+1;\n\t\t\t\n\t\t// sort the blockIds in lexographic order\n\t\tCollections.sort(blockIds);\n\t\t\n\t\t// iterate through every possible combination of occupied/unoccupied cells\n\t\tboolean done = false;\n\t\twhile (!done) {\n\t\t\t// run through every permutation of blocks in the selected cells\n\t\t\tInteger[] blockIdsArray = blockIds.toArray(new Integer[ITEMS]);\n\t\t\t\n\t\t\tboolean permuting = true;\n\t\t\twhile (permuting) {\n\t\t\t\t// clear the board\n\t\t\t\tfor (int r = 0; r < BOARDH; r++)\n\t\t\t\t\tfor (int c = 0; c < BOARDW; c++)\n\t\t\t\t\t\tif (blocks[r][c] != null && !blocks[r][c].isFixed())\n\t\t\t\t\t\t\tblocks[r][c] = null;\n\t\t\t\t\t\t\n\t\t\t\t// translate current combination/permutation to actual board positions\n\t\t\t\tfor (int i = 0; i < ITEMS; i++) {\n\t\t\t\t\tCell cell = availableCells.get(digits[i]-1);\n\t\t\t\t\tblocks[cell.r][cell.c] = new Block(blockIdsArray[i]);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tupdateLaserPath();\n\t\t\t\tif (solved) {\n\t\t\t\t\tpermuting = false;\n\t\t\t\t\tdone = true;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// find the larget index k such that a[k] < a[k+1] - if no such index, last permutation\n\t\t\t\tint k = -1;\n\t\t\t\tfor (int i = 0; i < ITEMS-1; i++)\n\t\t\t\t\tif (blockIdsArray[i] < blockIdsArray[i+1])\n\t\t\t\t\t\tk = i;\n\t\t\t\t\n\t\t\t\tif (k == -1) {\n\t\t\t\t\tpermuting = false;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// find largest index l such that a[k] < a[l]\n\t\t\t\tint l = -1;\n\t\t\t\tfor (int i = k+1; i < ITEMS; i++)\n\t\t\t\t\tif (blockIdsArray[k] < blockIdsArray[i])\n\t\t\t\t\t\tl = i;\n\t\t\t\t\n\t\t\t\t// swap a[k] with a[l]\n\t\t\t\tint temp = blockIdsArray[k];\n\t\t\t\tblockIdsArray[k] = blockIdsArray[l];\n\t\t\t\tblockIdsArray[l] = temp;\n\t\t\t\t\n\t\t\t\t// reverse sequence from a[k+1] up to and including final element a[n]\n\t\t\t\tint a = k+1;\n\t\t\t\tint b = ITEMS-1;\n\t\t\t\twhile (a < b) {\n\t\t\t\t\ttemp = blockIdsArray[a];\n\t\t\t\t\tblockIdsArray[a] = blockIdsArray[b];\n\t\t\t\t\tblockIdsArray[b] = temp;\n\t\t\t\t\ta++;\n\t\t\t\t\tb--;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tif (done)\n\t\t\t\tcontinue;\n\t\t\t\n\t\t\tint index = ITEMS-1;\n\t\t\tboolean incrementing = true;\n\t\t\twhile (incrementing) {\n\t\t\t\tdigits[index]++;\n\t\t\t\tfor (int i = index+1; i < ITEMS; i++)\n\t\t\t\t\tdigits[i] = digits[i-1]+1;\n\t\t\t\t\n\t\t\t\tif (digits[index] > MAX-ITEMS+index+1)\n\t\t\t\t\tindex--;\n\t\t\t\telse\n\t\t\t\t\tincrementing = false;\n\t\t\t\t\n\t\t\t\tif (index < 0) {\n\t\t\t\t\tincrementing = false;\n\t\t\t\t\tdone = true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\trepaint();\n\t}", "title": "" }, { "docid": "32b28c79364e149577210577cae84500", "score": "0.56622195", "text": "private List<ArenaPosition> generateCadidate(Piece[][] board,\n\t\t\tArenaPosition lastPosition) {\n\t\tList<ArenaPosition> candi = new ArrayList<ArenaPosition>();\n\t\t// find the smallest rectangle which contains all previous moves.\n\t\tint bottom = 0, up = board.length, right = 0, left = board.length;\n\n\t\tfor (int i = 0; i < board.length; ++i) {\n\t\t\tfor (int j = 0; j < board.length; ++j) {\n\t\t\t\tif (board[i][j] != null) {\n\t\t\t\t\tif (i > bottom) {\n\t\t\t\t\t\tbottom = i;\n\t\t\t\t\t}\n\t\t\t\t\tif (i < up) {\n\t\t\t\t\t\tup = i;\n\t\t\t\t\t}\n\t\t\t\t\tif (j > right) {\n\t\t\t\t\t\tright = j;\n\t\t\t\t\t}\n\t\t\t\t\tif (j < left) {\n\t\t\t\t\t\tleft = j;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// basically, search range is a little bigger than the rectangle which\n\t\t// contains all previous moves\n\t\tbottom = Math.min(bottom + 1, board.length - 1);\n\t\tup = Math.max(up - 1, 0);\n\t\tright = Math.min(right + 1, board.length - 1);\n\t\tleft = Math.max(left - 1, 0);\n\n\t\tint distance = 1;\n\t\tint startX = lastPosition.getRow();\n\t\tint startY = lastPosition.getColumn();\n\t\twhile (true) {\n\t\t\tint breakCondition = 0;\n\t\t\t// downside\n\t\t\tif (startX + distance <= bottom) {\n\t\t\t\tfor (int i = Math.max(startY - distance, left); i <= Math.min(\n\t\t\t\t\t\tstartY + distance, right); ++i) {\n\t\t\t\t\tif (board[startX + distance][i] == null) {\n\t\t\t\t\t\tcandi.add(new ArenaPosition(startX + distance, i));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tbreakCondition++;\n\t\t\t}\n\t\t\t// upside\n\t\t\tif (startX - distance >= up) {\n\t\t\t\tfor (int i = Math.max(startY - distance, left); i <= Math.min(\n\t\t\t\t\t\tstartY + distance, right); ++i) {\n\t\t\t\t\tif (board[startX - distance][i] == null) {\n\t\t\t\t\t\tcandi.add(new ArenaPosition(startX - distance, i));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tbreakCondition++;\n\t\t\t}\n\t\t\t// rightside\n\t\t\tif (startY + distance <= right) {\n\t\t\t\tfor (int i = Math.max(startX - distance + 1, up); i <= Math\n\t\t\t\t\t\t.min(startX + distance - 1, bottom); ++i) {\n\t\t\t\t\tif (board[i][startY + distance] == null) {\n\t\t\t\t\t\tcandi.add(new ArenaPosition(i, startY + distance));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tbreakCondition++;\n\t\t\t}\n\t\t\t// leftside\n\t\t\tif (startY - distance >= left) {\n\t\t\t\tfor (int i = Math.max(startX - distance + 1, up); i <= Math\n\t\t\t\t\t\t.min(startX + distance - 1, bottom); ++i) {\n\t\t\t\t\tif (board[i][startY - distance] == null) {\n\t\t\t\t\t\tcandi.add(new ArenaPosition(i, startY - distance));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tbreakCondition++;\n\t\t\t}\n\n\t\t\tif (breakCondition == 4) { // all four direction reach the bound.\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tdistance++;\n\t\t}\n\t\treturn candi;\n\t}", "title": "" }, { "docid": "fc5f24ea7eb16d679a884986958eed4a", "score": "0.56617457", "text": "private void removeSelection(int rowPos, int colPos)\n\t{\n\t\tCollapsePiece curColor = tileBoard[rowPos][colPos];\n\t\tTileCoordinates curSpot;\n\t\tLinkedList<TileCoordinates> queue = new LinkedList<TileCoordinates>();\n\t\tqueue.add(new TileCoordinates(rowPos, colPos));\n\n\t\t/*Keeps finding all of the adjacent tiles while there are unchecked tiles*/\n\t\twhile(!queue.isEmpty())\n\t\t{\n\t\t\tcurSpot = queue.remove();\n\n\t\t\t/*Add the below tile to the queue if it is the same color*/\n\t\t\tif(curSpot.getRowCoordinate() < tileBoard.length - 1 && tileBoard[\n\t\t\t curSpot.getRowCoordinate() + 1][curSpot.getColumnCoordinate()]\n\t\t\t \t\t == curColor)\n\t\t\t{\n\t\t\t\tqueue.add(new TileCoordinates(curSpot.getRowCoordinate() + 1,\n\t\t\t\t\t\tcurSpot.getColumnCoordinate()));\n\t\t\t}\n\t\t\t/*Add the above tile to the queue if it is the same color*/\n\t\t\tif(curSpot.getRowCoordinate() > 0 && tileBoard[curSpot.getRowCoordinate()\n\t\t\t - 1][curSpot.getColumnCoordinate()] == curColor)\n\t\t\t{\n\t\t\t\tqueue.add(new TileCoordinates(curSpot.getRowCoordinate() - 1,\n\t\t\t\t\t\tcurSpot.getColumnCoordinate()));\n\t\t\t}\n\t\t\t/*Add the tile to the right to the queue if it is the same color*/\n\t\t\tif(curSpot.getColumnCoordinate() < tileBoard[0].length - 1 &&\n\t\t\t\t\ttileBoard[curSpot.getRowCoordinate()][curSpot.getColumnCoordinate() + 1]\n\t\t\t\t\t\t\t== curColor)\n\t\t\t{\n\t\t\t\tqueue.add(new TileCoordinates(curSpot.getRowCoordinate(),\n\t\t\t\t\t\tcurSpot.getColumnCoordinate() + 1));\n\t\t\t}\n\t\t\t/*Add the tile to the left to the queue if it is the same color*/\n\t\t\tif(curSpot.getColumnCoordinate() > 0 && tileBoard[curSpot.getRowCoordinate()]\n\t\t\t\t\t[curSpot.getColumnCoordinate() - 1] == curColor)\n\t\t\t{\n\t\t\t\tqueue.add(new TileCoordinates(curSpot.getRowCoordinate(),\n\t\t\t\t\t\tcurSpot.getColumnCoordinate() - 1));\n\t\t\t}\n\n\t\t\ttileBoard[curSpot.getRowCoordinate()][curSpot.getColumnCoordinate()] =\n\t\t\t\t\tCollapsePiece.empty;\n\t\t\tcharacterBoard[curSpot.getRowCoordinate()][curSpot.getColumnCoordinate()] =\n\t\t\t\t\t' ';\n\t\t}\n\t}", "title": "" }, { "docid": "2bf847818f7fc25b44978a5889c1b384", "score": "0.565817", "text": "protected void populateShips(){\n\n int startingBlueGridY = (int)(numYGridPoints*0.1);\n\n int startingRedGridY =(int)(numYGridPoints*0.9);\n\n for(int i = 0; i < numShipsInGame; i++){\n if(me.getShipColour().equals(\"blue\")){\n me.getFleet().add(newShip(R.drawable.ship_right, getScreenXFromGridX(2+2*i), getScreenYFromGridY(startingBlueGridY), \"blue\"));\n enemy.getFleet().add(newShip(R.drawable.enemy_ship_right, getScreenXFromGridX(2+2*i), getScreenYFromGridY(startingRedGridY), \"red\"));\n } else{\n me.getFleet().add(newShip(R.drawable.enemy_ship_right, getScreenXFromGridX(2+2*i), getScreenYFromGridY(startingRedGridY), \"red\"));\n enemy.getFleet().add(newShip(R.drawable.ship_right,getScreenXFromGridX(2+2*i), getScreenYFromGridY(startingBlueGridY), \"blue\"));\n }\n\n\n }\n }", "title": "" }, { "docid": "e75379f20605710b7790cb01e493a1c0", "score": "0.56377137", "text": "public static int is_Game_Over(Color[][] board, Color me) {\n // 0 not over\n // 1 we win\n // 2 we loss\n // 3 draw\n //int is_Game_Over = 0;\n Color color = Color.black;\n\n //\n int empty_number = 0;\n for (int i = 0; i < 8; i++) {\n for (int j = 0; j < 8; j++) {\n if (board[i][j] != null) {\n color = board[i][j];\n if (color == me) {\n // find a chese\n int value = 1;\n // right search first\n if (j + 1 < 8) {//right\n if (board[i][j + 1] == me) {\n value += search_right(board, i, j + 1, me);\n }\n // System.out.println(\"the is_Game_Over function calculate value is \"+value);\n if (value == 5) {\n return 1;\n } else {\n value = 1;\n }\n }\n if (i + 1 < 8) {//down\n if (board[i + 1][j] == me) {\n value += search_down(board, i + 1, j, me);\n }\n // System.out.println(\"the is_Game_Over function calculate value is \"+value);\n\n if (value == 5) {\n return 1;\n } else {\n value = 1;\n }\n }\n if (j + 1 < 8 && i + 1 < 8) {//down right\n if (board[i + 1][j + 1] == me) {\n value += search_down_right(board, i + 1, j + 1, me);\n }\n //System.out.println(\"the is_Game_Over function calculate value is \"+value);\n\n if (value == 5) {\n return 1;\n } else {\n value = 1;\n }\n }\n if (j - 1 >= 0 && i + 1 < 8) {//down left\n if (board[i + 1][j - 1] == me) {\n value += search_down_left(board, i + 1, j - 1, me);\n }\n //System.out.println(\"the is_Game_Over function calculate value is \"+value);\n\n if (value == 5) {\n return 1;\n } else {\n value = 1;\n }\n }\n\n // else others\n } else if (color != me && color != null) {\n Color other = Color.black;\n if (me == Color.black) {\n other = Color.white;\n } else {\n other = Color.black;\n }\n int value = 1;\n if (j + 1 < 8) {//right\n if (board[i][j + 1] == other) {\n value += search_right(board, i, j + 1, other);\n }\n //System.out.println(\"the is_Game_Over function calculate other value is \"+value);\n\n if (value == 5) {\n return 2;\n } else {\n value = 1;\n }\n }\n if (i + 1 < 8) {//down\n if (board[i + 1][j] == other) {\n value += search_down(board, i + 1, j, other);\n }\n //System.out.println(\"the is_Game_Over function calculate other value is \"+value);\n\n if (value == 5) {\n return 2;\n } else {\n value = 1;\n }\n }\n if (j + 1 < 8 && i + 1 < 8) {//down right\n if (board[i + 1][i + 1] == other) {\n value += search_down_right(board, i + 1, j + 1, other);\n }\n // System.out.println(\"the is_Game_Over function calculate other value is \"+value);\n\n if (value == 5) {\n return 2;\n } else {\n value = 1;\n }\n }\n if (j - 1 >= 0 && i + 1 < 8) {//down left\n if (board[i + 1][j - 1] == other) {\n value += search_down_left(board, i + 1, j - 1, other);\n }\n // System.out.println(\"the is_Game_Over function calculate other value is \"+value);\n\n if (value == 5) {\n return 2;\n } else {\n value = 1;\n }\n }\n\n }\n } else {\n empty_number++;\n }\n }\n }\n // draw\n if (empty_number <= 1) {\n return 3;\n } else {\n // not over\n return 0;\n }\n\n\n }", "title": "" }, { "docid": "f225461b5939e5e92eea9d82f0a924f9", "score": "0.563723", "text": "public HashSet<String> legalMoves(){\n legalMoves.clear();\n adjacentSquares();\n removeInvalidSquares();\n return legalMoves;\n\n /*\n outer ring clockwise a1, a2, a3, a4, a5, a6, a7, b7, c7, d7, e7, f7, g7, g6, g5, g4, g3, g2, g1, f1, e1, d1, c1, b1, a1\n inner ring clockwise b2, b3, b4, b5, b6, c6, d6, e6, f6, f5, f4, f3, f2, e2, d2, c2, b2\n if ( row <=1 and col > b ) move left i.e. decrease col by 1 and row can be 1 or 2. with exception if c2 then also b3\n if ( col <=b and row < 5 ) move up i.e. increase row by 1 and col can be a or b. with exception if b5 then also c6\n if ( row >=5 and col < f ) move right i.e. increase col by 1 and row can be 6 or 7. with exception if e6 then also f5\n if ( col >=f and row > 1 ) move down i.e. decrease row by 1 and col can be f or g. with exception f3 can move e2\n exceptions to above rule on outer ring - b1 can move to a1, a6 can move a7, f7 can move g7, g2 can move g1\n exceptions to inner ring from above - c2 can move b3, b5 can move c6, e6 can move f5, f3 can move e2\n 16 inner 24 outer rings 40 total rings\n */\n\n }", "title": "" }, { "docid": "d2d78aafffe5c091822ec7d6f23b39b9", "score": "0.56226313", "text": "public ArrayList<Square> adjacentSquares(int locationDataY, int locationDataX)\n\t{\n\t\tArrayList<Square> adjacencyList = new ArrayList<Square>();\n\t\tint rightOne = locationDataY+1;\n\t\tint leftOne = locationDataY-1;\n\t\tint upOne = locationDataX-1;\n\t\tint downOne = locationDataX+1;\n\t\tSquare Northwest;\n\t\tSquare North;\n\t\tSquare Northeast;\n\t\tSquare West;\n\t\tSquare East;\n\t\tSquare Southwest;\n\t\tSquare South;\n\t\tSquare Southeast;\n\t\tboolean upValid = true;\n\t\tboolean downValid = true;\n\t\tif (upOne < 0)\n\t\t{ \n\t\t\tupValid = false;\n\t\t}\n\t\tif (downOne >= this.size)\n\t\t{\n\t\t\tdownValid = false;\n\t\t}\n\t\t//Seems like there's no way around indexing through the squares. \n\t\t//Check if they're valid first.\n\t\tif(rightOne < this.size)\n\t\t{\n\t\t\t\n\t\t\tEast = boardState.get(rightOne).get(locationDataX);\n\t\t\tadjacencyList.add(East);\n\t\t\t\n\t\t\tif(upValid)\n\t\t\t{\n\t\t\t\tNortheast = boardState.get(rightOne).get(upOne);\n\t\t\t\tadjacencyList.add(Northeast);\n\t\t\t}\n\t\t\t\n\t\t\tif(downValid)\n\t\t\t{\n\t\t\t\tSoutheast = boardState.get(rightOne).get(downOne);\n\t\t\t\tadjacencyList.add(Southeast);\n\t\t\t}\n\t\t}\n\t\t\n\t\tif(upValid)\n\t\t{\n\t\t\tNorth = boardState.get(locationDataY).get(upOne);\n\t\t\tadjacencyList.add(North);\n\t\t}\n\t\t\n\t\tif(downValid)\n\t\t{\n\t\t\tSouth = boardState.get(locationDataY).get(downOne);\n\t\t\tadjacencyList.add(South);\n\t\t}\n\t\t\n\t\tif(leftOne >= 0)\n\t\t{\n\t\t\t\n\t\t\tWest = boardState.get(leftOne).get(locationDataX);\n\t\t\tadjacencyList.add(West);\n\t\t\t\n\t\t\tif(upValid)\n\t\t\t{\n\t\t\t\tNorthwest = boardState.get(leftOne).get(upOne);\n\t\t\t\tadjacencyList.add(Northwest);\n\t\t\t}\n\t\t\t\n\t\t\tif(downValid)\n\t\t\t{\n\t\t\t\tSouthwest = boardState.get(leftOne).get(downOne);\n\t\t\t\tadjacencyList.add(Southwest);\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\treturn adjacencyList;\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "96b0245735b53cdcbaa246f13b898230", "score": "0.5618071", "text": "public void uncoverSquare(int x, int y) {\n if (this.getCoveredStatusByCoordinates(x, y) && !this.getFlaggedStatusByCoordinates(x, y)) {\n this.getSquareByCoordinates(x, y).setCoveredStatus();\n\n if (this.allAdjacentSquaresNoMine(x, y) && !this.getMineStatusByCoordinates(x, y)) {\n this.uncoverSurroundingSquares(x, y);\n }\n }\n }", "title": "" }, { "docid": "18c07b9f3fb2692a4a812108be5cd908", "score": "0.5610986", "text": "private void WhiteKnightPressed(int r, int c){\n if (itemSelected){\n return;\n }\n //if it is black's turn, return\n if(!whiteturn){\n return;\n }\n //if you are just now selecting the white knight\n itemSelected = true;\n selectionRow = r;\n selectionColumn = c;\n HighlightSelection(r, c);\n\n //checks up and far left move\n if(r + 1 < 8 && c - 2 >=0){\n if(piecePositions[r + 1][c - 2].equals(\"Empty\") || piecePositions[r + 1][c - 2].substring(0, 1).equals(\"b\")){\n HighlightMove(r + 1, c - 2);\n }\n }\n\n //checks far up and left move\n if(r + 2 < 8 && c - 1 >=0){\n if(piecePositions[r + 2][c - 1].equals(\"Empty\") || piecePositions[r + 2][c - 1].substring(0, 1).equals(\"b\")){\n HighlightMove(r + 2, c - 1);\n }\n }\n\n //checks down and far left move\n if(r - 1 >= 0 && c - 2 >=0){\n if(piecePositions[r - 1][c - 2].equals(\"Empty\") || piecePositions[r - 1][c - 2].substring(0, 1).equals(\"b\")){\n HighlightMove(r - 1, c - 2);\n }\n }\n\n //checks far down and left move\n if(r - 2 >= 0 && c - 1 >=0){\n if(piecePositions[r - 2][c - 1].equals(\"Empty\") || piecePositions[r - 2][c - 1].substring(0, 1).equals(\"b\")){\n HighlightMove(r - 2, c - 1);\n }\n }\n\n //checks up and far right move\n if(r + 1 < 8 && c + 2 < 8){\n if(piecePositions[r + 1][c + 2].equals(\"Empty\") || piecePositions[r + 1][c + 2].substring(0, 1).equals(\"b\")){\n HighlightMove(r + 1, c + 2);\n }\n }\n\n //checks far up and right move\n if(r + 2 < 8 && c + 1 < 8){\n if(piecePositions[r + 2][c + 1].equals(\"Empty\") || piecePositions[r + 2][c + 1].substring(0, 1).equals(\"b\")){\n HighlightMove(r + 2, c + 1);\n }\n }\n\n //checks down and far right move\n if(r - 1 >= 0 && c + 2 < 8){\n if(piecePositions[r - 1][c + 2].equals(\"Empty\") || piecePositions[r - 1][c + 2].substring(0, 1).equals(\"b\")){\n HighlightMove(r - 1, c + 2);\n }\n }\n\n //checks far down and right move\n if(r - 2 >= 0 && c + 1 < 8){\n if(piecePositions[r - 2][c + 1].equals(\"Empty\") || piecePositions[r - 2][c + 1].substring(0, 1).equals(\"b\")){\n HighlightMove(r - 2, c + 1);\n }\n }\n }", "title": "" }, { "docid": "56edc682caabf9b8c5f5f52c1e351091", "score": "0.5608315", "text": "private void colourSquares(Stack squares) {\n\t\tBorder blueBorder = BorderFactory.createLineBorder(Color.BLUE, 3);\n\t\twhile (!squares.empty()) {\n\t\t\tSquare s = (Square) squares.pop();\n\t\t\tint location = s.getXC() + ((s.getYC()) * 8);\n\t\t\tJPanel panel = (JPanel) chessBoard.getComponent(location);\n\t\t\tpanel.setBorder(blueBorder);\n\t\t}\n\t}", "title": "" }, { "docid": "cbb678677a3dc4a5900d1b381248a287", "score": "0.5606144", "text": "public boolean dropYellow(int columnIndex){\n //if that column is full\n if(emptySpaces[columnIndex] >= NUM_ROWS || columnIndex < 0)\n return false;\n int[] position = new int[]{columnIndex, emptySpaces[columnIndex]};\n Node newNode = new Node(position, \"yellow\");\n nodes[columnIndex][emptySpaces[columnIndex]] = newNode;\n yellowNodes.put(newNode, new ArrayList<Node>());\n //attach the node to adjacent nodes of same color\n //up\n //There cannot be a peice above the most recently dropped piece\n //down\n if(emptySpaces[columnIndex] - 1 >= 0 && nodes[columnIndex][emptySpaces[columnIndex] - 1] != null &&\n nodes[columnIndex][emptySpaces[columnIndex] - 1].color == \"yellow\"){\n Node connectedNode = nodes[columnIndex][emptySpaces[columnIndex] - 1];\n yellowNodes.get(connectedNode).add(newNode);\n yellowNodes.get(newNode).add(connectedNode);\n }\n //left\n if(columnIndex - 1 >= 0 && nodes[columnIndex - 1][emptySpaces[columnIndex]] != null &&\n nodes[columnIndex - 1][emptySpaces[columnIndex]].color == \"yellow\"){\n Node connectedNode = nodes[columnIndex - 1][emptySpaces[columnIndex]];\n yellowNodes.get(connectedNode).add(newNode);\n yellowNodes.get(newNode).add(connectedNode);\n }\n //right\n if(columnIndex + 1 < NUM_COLUMNS && nodes[columnIndex + 1][emptySpaces[columnIndex]] != null &&\n nodes[columnIndex + 1][emptySpaces[columnIndex]].color == \"yellow\"){\n Node connectedNode = nodes[columnIndex + 1][emptySpaces[columnIndex]];\n yellowNodes.get(connectedNode).add(newNode);\n yellowNodes.get(newNode).add(connectedNode);\n }\n //upleft\n if(columnIndex - 1 >= 0 && emptySpaces[columnIndex] + 1 < NUM_ROWS &&\n nodes[columnIndex - 1][emptySpaces[columnIndex] + 1] != null &&\n nodes[columnIndex - 1][emptySpaces[columnIndex] + 1].color == \"yellow\"){\n Node connectedNode = nodes[columnIndex - 1][emptySpaces[columnIndex] + 1];\n yellowNodes.get(connectedNode).add(newNode);\n yellowNodes.get(newNode).add(connectedNode);\n }\n //upright\n if(columnIndex + 1 < NUM_COLUMNS && emptySpaces[columnIndex] + 1 < NUM_ROWS &&\n nodes[columnIndex + 1][emptySpaces[columnIndex] + 1] != null &&\n nodes[columnIndex + 1][emptySpaces[columnIndex] + 1].color == \"yellow\"){\n Node connectedNode = nodes[columnIndex + 1][emptySpaces[columnIndex] + 1];\n yellowNodes.get(connectedNode).add(newNode);\n yellowNodes.get(newNode).add(connectedNode);\n }\n //downleft\n if(columnIndex - 1 >= 0 && emptySpaces[columnIndex] - 1 >= 0 &&\n nodes[columnIndex - 1][emptySpaces[columnIndex] - 1] != null &&\n nodes[columnIndex - 1][emptySpaces[columnIndex] - 1].color == \"yellow\"){\n Node connectedNode = nodes[columnIndex - 1][emptySpaces[columnIndex] - 1];\n yellowNodes.get(connectedNode).add(newNode);\n yellowNodes.get(newNode).add(connectedNode);\n }\n //downright\n if(columnIndex + 1 < NUM_COLUMNS && emptySpaces[columnIndex] - 1 >= 0 &&\n nodes[columnIndex + 1][emptySpaces[columnIndex] - 1] != null &&\n nodes[columnIndex + 1][emptySpaces[columnIndex] - 1].color == \"yellow\"){\n Node connectedNode = nodes[columnIndex + 1][emptySpaces[columnIndex] - 1];\n yellowNodes.get(connectedNode).add(newNode);\n yellowNodes.get(newNode).add(connectedNode);\n }\n emptySpaces[columnIndex]++;\n return true;\n }", "title": "" }, { "docid": "d6ea8f422ff26083217119eedad8e63e", "score": "0.56059813", "text": "public void clock() {\n for (int x = 0; x < width/5; x++) {\n for (int y = 0; y < height/5; y++) {\n cellsState[x][y] = cells[x][y];\n }\n }\n \n // Determine neighbors for each cell\n for (int x = 0; x < width/5; x++) {\n for (int y = 0; y < height/5; y++) {\n int cellNeighbors = 0; // begin neighbor counter at zero\n int predNeighbors = 0;\n int preyNeighbors = 0;\n for (int x1 = x-1; x1 <= x + 1; x1++) { // accounts for left and right neighbors\n for (int y1 = y-1; y1 <= y + 1; y1++) { // accounts for all below and above neighbors\n if (((x1 >= 0) && (x1 < width/5)) && ((y1 >= 0) && (y1 < height/5))) {\n if (!((x1 == x) && (y1 == y))) { // check against self\n if (cellsState[x1][y1] == 1) { // if this specific neighbor is alive\n cellNeighbors ++; // update neighbor counter\n }\n if (cellsState[x1][y1] == 2) {\n predNeighbors ++;\n }\n if (cellsState[x1][y1] == 3) {\n preyNeighbors ++;\n }\n }\n }\n }\n }\n \n // Rules\n if (cellsState[x][y] == 1) { // if the cell is alive\n if (cellNeighbors < 2 || cellNeighbors > 3) {\n cells[x][y] = 0; // \n }\n if (predNeighbors > 1) {\n cells[x][y] = 0;\n }\n if (preyNeighbors > 1) {\n cells[x][y] = 1;\n }\n }\n if (cellsState[x][y] == 2) {\n if (cellNeighbors > 1) {\n cells[x][y] = 1;\n }\n if (preyNeighbors > 0) {\n cells[x][y] = 1;\n }\n }\n if (cellsState[x][y] == 3) {\n if (cellNeighbors > 1) {\n cells[x][y] = 0;\n }\n if (predNeighbors > 0) {\n cells[x][y] = 0;\n }\n }\n if (cellsState[x][y] == 0) {\n if ((cellNeighbors == 3) && (predNeighbors == 0)) {\n cells[x][y] = 1; //\n }\n }\n }\n }\n}", "title": "" }, { "docid": "2c63a25f866615b37edca3f3e2c9d3ee", "score": "0.5585233", "text": "private int sideLineCheck(int player) {\n if (boardFill[player][0] == true && boardFill[player][1] == true && boardFill[2][2] == false) { return 2; }\n else if (boardFill[player][0] == true && boardFill[player][2] == true && boardFill[2][1] == false) { return 1; }\n else if (boardFill[player][1] == true && boardFill[player][2] == true && boardFill[2][0] == false) { return 0; }\n else if (boardFill[player][0] == true && boardFill[player][3] == true && boardFill[2][6] == false) { return 6; }\n else if (boardFill[player][0] == true && boardFill[player][6] == true && boardFill[2][3] == false) { return 3; }\n else if (boardFill[player][3] == true && boardFill[player][6] == true && boardFill[2][0] == false) { return 0; }\n else if (boardFill[player][6] == true && boardFill[player][7] == true && boardFill[2][8] == false) { return 8; }\n else if (boardFill[player][6] == true && boardFill[player][8] == true && boardFill[2][7] == false) { return 7; }\n else if (boardFill[player][7] == true && boardFill[player][8] == true && boardFill[2][6] == false) { return 6; }\n else if (boardFill[player][2] == true && boardFill[player][5] == true && boardFill[2][8] == false) { return 8; }\n else if (boardFill[player][2] == true && boardFill[player][8] == true && boardFill[2][5] == false) { return 5; }\n else if (boardFill[player][5] == true && boardFill[player][8] == true && boardFill[2][2] == false) { return 2; }\n else { return -1; }\n }", "title": "" }, { "docid": "167789dfdc7cf4d120697942a8eb6ffd", "score": "0.5566488", "text": "@Override\n\tvoid generatePieceMovementsList(chessPieceColor pc) {\n\t\tboolean lastMoveIsLegal = true;\n\t\tint i = x;\n\t\tint j = y;\n\t\twhile(lastMoveIsLegal){\n\t\t\ti++;\n\t\t\tj++;\n\t\t\tif((i< 8 && j < 8) && (chessBoardSquares[i][j].getPieceOnTile() == null || \n\t\t\t\t\tchessBoardSquares[i][j].getPieceOnTile().getPieceColor() == pc)){\n\t\t\t\tpossibleMoves.add(new Point(i,j));\n\t\t\t\tif(chessBoardSquares[i][j].getPieceOnTile() != null){\n\t\t\t\t\tlastMoveIsLegal = false;\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tlastMoveIsLegal = false;\n\t\t\t}\n\t\t}\n\n\t\t//check Southwest of Brook\n\t\tlastMoveIsLegal = true;\n\t\ti = x;\n\t\tj = y;\n\t\twhile(lastMoveIsLegal){\n\t\t\ti++;\n\t\t\tj--;\n\t\t\tif((i< 8 && j > -1) && (chessBoardSquares[i][j].getPieceOnTile() == null || \n\t\t\t\t\tchessBoardSquares[i][j].getPieceOnTile().getPieceColor() == pc)){\n\t\t\t\tpossibleMoves.add(new Point(i,j));\n\t\t\t\tif(chessBoardSquares[i][j].getPieceOnTile() != null){\n\t\t\t\t\tlastMoveIsLegal = false;\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tlastMoveIsLegal = false;\n\t\t\t}\n\t\t}\n\n\t\t//check Northwest of Brook\n\t\tlastMoveIsLegal = true;\n\t\ti = x;\n\t\tj = y;\n\t\twhile(lastMoveIsLegal){\n\t\t\ti--;\n\t\t\tj--;\n\t\t\tif((i > -1 && j > -1) && (chessBoardSquares[i][j].getPieceOnTile() == null || \n\t\t\t\t\tchessBoardSquares[i][j].getPieceOnTile().getPieceColor() == pc)){\n\t\t\t\tpossibleMoves.add(new Point(i,j));\n\t\t\t\tif(chessBoardSquares[i][j].getPieceOnTile() != null){\n\t\t\t\t\tlastMoveIsLegal = false;\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tlastMoveIsLegal = false;\n\t\t\t}\n\t\t}\n\n\t\t//check Northeast of Brook\n\t\tlastMoveIsLegal = true;\n\t\ti = x;\n\t\tj = y;\n\t\twhile(lastMoveIsLegal){\n\t\t\ti--;\n\t\t\tj++;\n\t\t\tif((i > -1 && j < 8) && (chessBoardSquares[i][j].getPieceOnTile() == null || \n\t\t\t\t\tchessBoardSquares[i][j].getPieceOnTile().getPieceColor() == pc)){\n\t\t\t\tpossibleMoves.add(new Point(i,j));\n\t\t\t\tif(chessBoardSquares[i][j].getPieceOnTile() != null){\n\t\t\t\t\tlastMoveIsLegal = false;\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tlastMoveIsLegal = false;\n\t\t\t}\n\t\t}\n\n\t}", "title": "" }, { "docid": "c1f3b7622cc7fb8b6f2386b9df57ecc2", "score": "0.55642277", "text": "private int checkBoard() {\n for (int i = 0; i < 19; i++) {\n for (int j = 0; j < 19; j++) {\n int p = checkPoint(i, j);\n if (p != EMPTY)\n return p;\n }\n }\n return EMPTY;\n }", "title": "" }, { "docid": "90cdd144229130096850f9e2f3dabfad", "score": "0.5557088", "text": "public List<IntPair> createRookMoves(ChessPiece piece) {\n List<IntPair> movesList = new ArrayList<>();\n IntPair currentPosition = piece.getPosition();\n // Values to determine if path is blocked\n int blockedEast = Integer.MAX_VALUE;\n int blockedWest = Integer.MAX_VALUE;\n int blockedNorth = Integer.MAX_VALUE;\n int blockedSouth = Integer.MAX_VALUE;\n // Check if ChessLibrary.Pieces.Rook can move horizontally / vertically from 1 block to 7 blocks.\n for(int count = 1; count <= 7; count++) {\n if(currentPosition.left() + count < BOARD_COLUMNS) { // East\n if(count < blockedEast) {\n blockedEast = getBlockedEast(piece, movesList, currentPosition, blockedEast, count);\n }\n }\n if(currentPosition.left() - count >= 0) { // West\n if(count < blockedWest) {\n blockedWest = getBlockedWest(piece, movesList, currentPosition, blockedWest, count);\n }\n }\n if(currentPosition.right() + count < BOARD_ROWS) { // South\n if(count < blockedSouth) {\n blockedSouth = getBlockedSouth(piece, movesList, currentPosition, blockedSouth, count);\n }\n }\n if(currentPosition.right() - count >= 0) { // North\n if(count < blockedNorth) {\n blockedNorth = getBlockedNorth(piece, movesList, currentPosition, blockedNorth, count);\n }\n }\n }\n return movesList;\n }", "title": "" }, { "docid": "a756672a9ca998cef37152557da12e04", "score": "0.55529964", "text": "private void fillOtherThanBelow() {\n\t\tfaceSouth();\n\t\tmove();\n\t\tif(beepersPresent()){\n\t\t\tfaceNorth();\n\t\t\tmove();\n\t\t}else{\n\t\t\tfaceNorth();\n\t\t\tmove();\n\t\t\tputBeeper();\t\t\t\n\t\t}\n\t\tfaceEast();\n\t}", "title": "" }, { "docid": "b4e7817f07cc203c306a3908d934ef6c", "score": "0.55507237", "text": "public boolean isThreatenedSquare(PieceColor color, int y, int x) {\n\t\t// check straight paths\n\t\t// search down\n\t\tint j = y + 1;\n\t\tint i = x;\n\t\twhile (j < 8 && board[j][i] == null) {\n\t\t\tj++;\n\t\t}\n\t\tif (j < 8) {\n\t\t\tif (board[j][i].getColor() != color) {\n\t\t\t\tif (board[j][i] instanceof Rook || board[j][i] instanceof Queen) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (board[j][i] instanceof King && j == y + 1) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// search left\n\t\tj = y;\n\t\ti = x - 1;\n\t\twhile (i >= 0 && board[j][i] == null) {\n\t\t\ti--;\n\t\t}\n\t\tif (i >= 0) {\n\t\t\tif (board[j][i].getColor() != color) {\n\t\t\t\tif (board[j][i] instanceof Rook || board[j][i] instanceof Queen) {\n\t\t\t\t\treturn true;\n\t\t\t\t} else if (i == x - 1 && board[j][i] instanceof King) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// search up\n\t\tj = y - 1;\n\t\ti = x;\n\t\twhile (j >= 0 && board[j][i] == null) {\n\t\t\tj--;\n\t\t}\n\t\tif (j >= 0) {\n\t\t\tif (board[j][i].getColor() != color) {\n\t\t\t\tif (board[j][i] instanceof Rook || board[j][i] instanceof Queen) {\n\t\t\t\t\treturn true;\n\t\t\t\t} else if (j == y - 1 && board[j][i] instanceof King) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// search right\n\t\tj = y;\n\t\ti = x + 1;\n\t\twhile (i < 8 && board[j][i] == null) {\n\t\t\ti++;\n\t\t}\n\t\tif (i < 8) {\n\t\t\tif (board[j][i].getColor() != color) {\n\t\t\t\tif (board[j][i] instanceof Rook || board[j][i] instanceof Queen) {\n\t\t\t\t\treturn true;\n\t\t\t\t} else if (i == x + 1 && board[j][i] instanceof King) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// check diagonal paths\n\t\t// search down-right\n\t\tj = y + 1;\n\t\ti = x + 1;\n\t\twhile (j < 8 && i < 8 && board[j][i] == null) {\n\t\t\tj++;\n\t\t\ti++;\n\t\t}\n\t\tif (j < 8 && i < 8) {\n\t\t\tif (board[j][i].getColor() != color) {\n\t\t\t\tif (board[j][i] instanceof Bishop || board[j][i] instanceof Queen) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (j == y + 1 && i == x + 1) {\n\t\t\t\t\t// only tan pawns can threaten from below diagonally\n\t\t\t\t\tif (board[j][i] instanceof King || (board[j][i] instanceof Pawn && board[j][i].getColor() == PieceColor.TAN))\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// search down-left\n\t\tj = y + 1;\n\t\ti = x - 1;\n\t\twhile (j < 8 && i >= 0 && board[j][i] == null) {\n\t\t\tj++;\n\t\t\ti--;\n\t\t}\n\t\tif (j < 8 && i >= 0) {\n\t\t\tif (board[j][i].getColor() != color) {\n\t\t\t\tif (board[j][i] instanceof Bishop || board[j][i] instanceof Queen) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (j == y + 1 && i == x - 1) {\n\t\t\t\t\t// only tan pawns can threaten from below diagonally\n\t\t\t\t\tif ((board[j][i].getColor() == PieceColor.TAN && board[j][i] instanceof Pawn) || board[j][i] instanceof King)\n\t\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// search up-left\n\t\tj = y - 1;\n\t\ti = x - 1;\n\t\twhile (j >= 0 && i >= 0 && board[j][i] == null) {\n\t\t\tj--;\n\t\t\ti--;\n\t\t}\n\t\tif (j >= 0 && i >= 0) {\n\t\t\tif (board[j][i].getColor() != color) {\n\t\t\t\tif (board[j][i] instanceof Bishop || board[j][i] instanceof Queen) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (j == y - 1 && i == x - 1) {\n\t\t\t\t\t// only white pawns can threaten diagonally from above\n\t\t\t\t\tif ((board[j][i].getColor() == PieceColor.WHITE && board[j][i] instanceof Pawn)\n\t\t\t\t\t\t\t|| board[j][i] instanceof King) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// search up-right\n\t\tj = y - 1;\n\t\ti = x + 1;\n\t\twhile (j >= 0 && i < 8 && board[j][i] == null) {\n\t\t\tj--;\n\t\t\ti++;\n\t\t}\n\t\tif (j >= 0 && i < 8) {\n\t\t\tif (board[j][i].getColor() != color) {\n\t\t\t\tif (board[j][i] instanceof Bishop || board[j][i] instanceof Queen) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (j == y - 1 && i == x + 1) {\n\t\t\t\t\tif ((board[j][i].getColor() == PieceColor.WHITE && board[j][i] instanceof Pawn)\n\t\t\t\t\t\t\t|| board[j][i] instanceof King) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// check knight moves\n\t\tint g = 2;\n\t\tint h = 1;\n\t\tfor (int k = 0; k < 8; k++) {\n\t\t\tif (y + h < 8 && y + h >= 0 && x + g < 8 && x + g >= 0) {\n\t\t\t\tif (board[y + h][x + g] != null) {\n\t\t\t\t\tif (board[y + h][x + g].getColor() != color && board[y + h][x + g] instanceof Knight) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tswitch (k) {\n\t\t\tcase 0:\n\t\t\t\th = h * -1;\n\t\t\t\tbreak;\n\t\t\tcase 1:\n\t\t\t\tg = g * -1;\n\t\t\t\tbreak;\n\t\t\tcase 2:\n\t\t\t\th = h * -1;\n\t\t\t\tbreak;\n\t\t\tcase 3:\n\t\t\t\th = h * 2;\n\t\t\t\tg = g / -2;\n\t\t\t\tbreak;\n\t\t\tcase 4:\n\t\t\t\tg = g * -1;\n\t\t\t\tbreak;\n\t\t\tcase 5:\n\t\t\t\th = h * -1;\n\t\t\t\tbreak;\n\t\t\tcase 6:\n\t\t\t\tg = g * -1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t// 1,2 -1,2 -1,-2 1,-2 2,1 2,-1 -2, -1 -2,1\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "81da27c5205b770041e8ce3de64f4a79", "score": "0.5548669", "text": "private void shipFound(int row, int column) {\n boolean hit = false;\n int upDown = 0;\n int movement = 0;\n\n boolean keepOnTrying = true;\n\n while (keepOnTrying) {\n if (invertCounter == 2) {\n shipDown();\n break;\n }\n\n if (horizontal) {\n upDown = checkLimits(column - pos * orientation);\n } else if (vertical) {\n upDown = checkLimits(row - pos * orientation);\n }\n\n if (upDown == orientation) {\n changeDirection();\n continue;\n }\n\n //asignamos nuestra jugada\n if (horizontal) {\n movement = (int) matrixHuman[row][column - pos * orientation][GAME_STATE];\n } else if (vertical) {\n movement = (int) matrixHuman[row - pos * orientation][column][GAME_STATE];\n }\n\n switch (movement) {\n case UNKNOWN: { //si no se ha tirado, lo hacemos\n if (horizontal) hit = hitOrMiss(row, column - pos * orientation);\n else if (vertical) hit = hitOrMiss(row - pos * orientation, column);\n\n if (hit) continueDirection();\n else changeDirection();\n keepOnTrying = false;\n break;\n }\n\n case WATER: { //si es agua, cambiamos de direccion y seguimos\n changeDirection();\n break;\n }\n\n case TOUCHED: { //si hemos tocado, seguimos en esa direccion\n pos++;\n break;\n }\n }\n }\n }", "title": "" }, { "docid": "c1797123a09671c72d5ad74d806c2d3d", "score": "0.5536348", "text": "private void drawingPieces(){\n for(int x = 0; x<8; x++){\n for(int y = 0; y < 8; y++){\n if(mypieces[x][y] != null){\n if(mypieces[x][y].isFire()){\n if(mypieces[x][y].isBomb()){\n if(mypieces[x][y].isKing()){\n StdDrawPlus.picture(x + .5, y + .5, \"img/bomb-fire-crowned.png\", 1, 1);\n\n }\n StdDrawPlus.picture(x + .5, y + .5, \"img/bomb-fire.png\", 1, 1);\n }\n else if(mypieces[x][y].isShield()){\n if (mypieces[x][y].isKing()){\n StdDrawPlus.picture(x + .5, y + .5, \"img/shield-fire-crowned.png\", 1, 1);\n }\n StdDrawPlus.picture(x + .5, y + .5, \"img/shield-fire.png\", 1, 1);\n }\n\n else {\n if(mypieces[x][y].isKing()){\n StdDrawPlus.picture(x + .5, y + .5, \"img/pawn-fire-crowned.png\", 1, 1);\n }\n StdDrawPlus.picture(x + .5, y + .5, \"img/pawn-fire.png\", 1, 1);\n }\n }\n\n if(mypieces[x][y].isFire() == false){\n if(mypieces[x][y].isBomb()){\n if(mypieces[x][y].isKing()){\n StdDrawPlus.picture(x + .5, y + .5, \"img/bomb-water-crowned.png\", 1, 1);\n }\n StdDrawPlus.picture(x + .5, y + .5, \"img/bomb-water.png\", 1, 1);\n\n }\n else if(mypieces[x][y].isShield()){\n if (mypieces[x][y].isKing()){\n StdDrawPlus.picture(x + .5, y + .5, \"img/shield-water-crowned.png\", 1, 1);\n }\n StdDrawPlus.picture(x + .5, y + .5, \"img/shield-water.png\", 1, 1);\n }\n\n else {\n if(mypieces[x][y].isKing()){\n StdDrawPlus.picture(x + .5, y + .5, \"img/pawn-water-crowned.png\", 1, 1);\n }\n StdDrawPlus.picture(x + .5, y + .5, \"img/pawn-water.png\", 1, 1);\n }\n }\n\n }\n }\n }\n }", "title": "" }, { "docid": "987c49d52840d64120a17bc1ca447f29", "score": "0.55347556", "text": "public List<IntPair> createKingMoves(ChessPiece piece) {\n List<IntPair> movesList = new ArrayList<>();\n IntPair currentPosition = piece.getPosition();\n // Check if ChessLibrary.Pieces.King can move 1 block horizontally / vertically / diagonally.\n if(currentPosition.left() + 1 < BOARD_COLUMNS) { // 1 block East\n IntPair moveEast = new IntPair(currentPosition.left() + 1, currentPosition.right());\n int occupyCheckE = checkOccupied(piece.getSide(), moveEast);\n if(occupyCheckE == 0 || occupyCheckE == 2) { // target cell is empty or occupied with enemy piece\n if(!checkNextMoveIsCheck(piece, moveEast)) {\n movesList.add(moveEast);\n }\n }\n if(currentPosition.right() + 1 < BOARD_ROWS) { // 1 block South-East\n IntPair moveSouthEast = new IntPair(currentPosition.left() + 1, currentPosition.right() + 1);\n int occupyCheckSE = checkOccupied(piece.getSide(), moveSouthEast);\n if(occupyCheckSE == 0 || occupyCheckSE == 2) {\n if(!checkNextMoveIsCheck(piece, moveSouthEast)) {\n movesList.add(moveSouthEast);\n }\n }\n }\n if(currentPosition.right() - 1 >= 0) { // 1 block North-East\n IntPair moveNorthEast = new IntPair(currentPosition.left() + 1, currentPosition.right() - 1);\n int occupyCheckNE = checkOccupied(piece.getSide(), moveNorthEast);\n if(occupyCheckNE == 0 || occupyCheckNE == 2) {\n if(!checkNextMoveIsCheck(piece, moveNorthEast)) {\n movesList.add(moveNorthEast);\n }\n }\n }\n }\n if(currentPosition.left() - 1 >= 0) { // 1 block West\n IntPair moveWest = new IntPair(currentPosition.left() - 1, currentPosition.right());\n int occupyCheckW = checkOccupied(piece.getSide(), moveWest);\n if(occupyCheckW == 0 || occupyCheckW == 2) {\n if(!checkNextMoveIsCheck(piece, moveWest)) {\n movesList.add(moveWest);\n }\n }\n if(currentPosition.right() + 1 < BOARD_ROWS) { // 1 block South-West\n IntPair moveSouthWest = new IntPair(currentPosition.left() - 1, currentPosition.right() + 1);\n int occupyCheckSW = checkOccupied(piece.getSide(), moveSouthWest);\n if(occupyCheckSW == 0 || occupyCheckSW == 2) {\n if(!checkNextMoveIsCheck(piece, moveSouthWest)) {\n movesList.add(moveSouthWest);\n }\n }\n }\n if(currentPosition.right() - 1 >= 0) { // 1 block North-West\n IntPair moveNorthWest = new IntPair(currentPosition.left() - 1, currentPosition.right() - 1);\n int occupyCheckNW = checkOccupied(piece.getSide(), moveNorthWest);\n if(occupyCheckNW == 0 || occupyCheckNW == 2) {\n if(!checkNextMoveIsCheck(piece, moveNorthWest)) {\n movesList.add(moveNorthWest);\n }\n }\n }\n }\n if(currentPosition.right() + 1 < BOARD_ROWS) { // 1 block South\n IntPair moveSouth = new IntPair(currentPosition.left(), currentPosition.right() + 1);\n int occupyCheckS = checkOccupied(piece.getSide(), moveSouth);\n if(occupyCheckS == 0 || occupyCheckS == 2) {\n if(!checkNextMoveIsCheck(piece, moveSouth)) {\n movesList.add(moveSouth);\n }\n }\n }\n if(currentPosition.right() - 1 >= 0) { // 1 block North\n IntPair moveNorth = new IntPair(currentPosition.left(), currentPosition.right() - 1);\n int occupyCheckN = checkOccupied(piece.getSide(), moveNorth);\n if(occupyCheckN == 0 || occupyCheckN == 2) {\n if(!checkNextMoveIsCheck(piece, moveNorth)) {\n movesList.add(moveNorth);\n }\n }\n }\n return movesList;\n }", "title": "" }, { "docid": "f75fbf1fdbfd2290b9b8094f43866e3a", "score": "0.5525402", "text": "private static void checkTopNotCorner(int m, int n, int sizeOfM, int sizeOfN, int [][] beforeArray, int [][] afterArray) {\r\n\t\tint valueOfPosition = beforeArray[m][n];\r\n\t\tint sum = 0;\r\n\t\tif (beforeArray[4][n] == valueOfPosition) { /* m-1 = -1, so 4 instead */\r\n\t\t\tsum++;\r\n\t\t}\r\n\t\tif (beforeArray[4][n-1] == valueOfPosition) { /* m-1 = -1, so 4 instead */\r\n\t\t\tsum++;\r\n\t\t}\r\n\t\tif (beforeArray[4][n+1] == valueOfPosition) { /* m-1 = -1, so 4 instead */\r\n\t\t\tsum++;\r\n\t\t}\r\n\t\tif (beforeArray[m+1][n] == valueOfPosition) {\r\n\t\t\tsum++;\r\n\t\t}\r\n\t\tif (beforeArray[m+1][n-1] == valueOfPosition) {\r\n\t\t\tsum++;\r\n\t\t}\r\n\t\tif (beforeArray[m+1][n+1] == valueOfPosition) {\r\n\t\t\tsum++;\r\n\t\t}\r\n\t\tif (beforeArray[m][n+1] == valueOfPosition) {\r\n\t\t\tsum++;\r\n\t\t}\r\n\t\tif (beforeArray[m][n-1] == valueOfPosition) {\r\n\t\t\tsum++;\r\n\t\t}\r\n\t\r\n\t\tif (valueOfPosition == 1) { \t/* if beforeGrid value is a 1 */\r\n\t\t\tif (sum == 2 || sum == 3) { /* if there are 2 or 3 neighbors as a 1, stay 1 */\r\n\t\t\t\tafterArray[m][n] = 1;\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tafterArray[m][n] = 0; /* else, become 0 */\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\telse { /* if beforeGrid value is a 0 */\r\n\t\t\tif (sum == 5) { /* if there are exactly 3 neighbors as a 1 (aka 5 0's), become 1 */\r\n\t\t\t\tafterArray[m][n] = 1;\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tafterArray[m][n] = 0; /* else, stay 0 */\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "aec06adf6ba7d37009f7256ebd49d8d4", "score": "0.55248845", "text": "private void RedrawBoard(){\n\n //clears the pane of all images\n gamePane.getChildren().clear();\n\n //redraws the black and white squares\n int rowCount = 0;\n while(rowCount < rowMax){\n int columnCount = 0;\n while(columnCount < columnMax){\n //if it is an even numbered row (remember starting at 0)\n if((rowCount == 0) || (rowCount%2 == 0)){\n if(columnCount ==0 || columnCount%2 == 0){\n AddChecker(rowCount, columnCount);\n }\n }\n else{\n if(!(columnCount == 0) && !(columnCount%2 == 0)){\n AddChecker(rowCount, columnCount);\n }\n }\n columnCount++;\n }\n rowCount++;\n }\n\n //loops again to redraw the updated pieces\n rowCount = 0;\n while(rowCount < rowMax){\n int columnCount = 0;\n while(columnCount < columnMax){\n if(!(piecePositions[rowCount][columnCount].equals(\"Empty\"))){\n AddPiece(rowCount, columnCount, (piecePositions[rowCount][columnCount] + \".png\"));\n }\n columnCount++;\n }\n rowCount++;\n }\n\n }", "title": "" }, { "docid": "0f7ef2499729069d69518d8650eff4dc", "score": "0.55226016", "text": "public void squareClicked() {\n\t\tif(!(this.tempBackgroundColor.equals(Color.ORANGE))) {\n\t\t\t// Un-color/focus all other squares/pieces\n\t\t\tChessBoard.clearFocus();\n\t\t\t\n\t\t\t// Tests if the square has a piece, and if so,\n\t\t\t// that that piece is of the same color as the player's\n\t\t\t// whose turn it is\n\t\t\tboolean correctTurn = hasPiece() && (getPiece().getTeamColor()).equals(ChessBoard.getTurn());\n\t\t\tif(hasPiece() && correctTurn) {\n\t\t\t\t\n\t\t\t\t// Set protected squares\n\t\t\t\tChessBoard.setProtectedSquares();\n\t\t\t\t\n\t\t\t\t// Color/focus the clicked square/piece\n\t\t\t\tsetTempBackgroundColor(Color.ORANGE);\n\t\t\t\tgetPiece().setFocus(true);\n\t\t\t\t\n\t\t\t\t// Create ArrayList of legalMoves and color them\n\t\t\t\tArrayList<int[]> legalMoves = getPiece().getLegalMoves(STORED_POSITION);\n\t\t\t\tString printPossibleMoves;\n\t\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\t\tfor(int[] move : legalMoves) {\n\t\t\t\t\tfor(Square s : ChessBoard.BOARD_SQUARES) {\n\t\t\t\t\t\tif(Arrays.equals(s.getPosition(), move)) {\n\t\t\t\t\t\t\ts.setTempBackgroundColor(Color.ORANGE);\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t// TESTING \n\t\t\t\t\t\t\t// STORING POSSIBLE MOVES AS STRINGS\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tString x = String.valueOf(move[0]);\n\t\t\t\t\t\t\tString y = String.valueOf(move[1]);\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tsb.append(x);\n\t\t\t\t\t\t\tsb.append(\", \");\n\t\t\t\t\t\t\tsb.append(y);\n\t\t\t\t\t\t\tsb.append(\"; \");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tprintPossibleMoves = sb.toString();\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t// CLICKING ON A PIECE RETURNS IT POSITION PERFECTLY\n\t\t\t\tString piecePosition = String.valueOf((getPiece().getPosition())[0]) + \", \" + \n\t\t\t\t\t\t String.valueOf((getPiece().getPosition())[1]);\n\t\t\t\t\n\t\t\t\t//GameInfoPanel.info.setText(printPossibleMoves + \" ||| \" + piecePosition);\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t// If a square is clicked that IS colored...\n\t\t} else {\n\t\t\tfor(Square s : ChessBoard.BOARD_SQUARES) {\n\t\t\t\tif(s.hasPiece() && (s.getPiece()).getFocus()) {\n\t\t\t\t\t\n\t\t\t\t\t// Check to make sure that the target square and current\n\t\t\t\t\t// square are not the same\n\t\t\t\t\tif(!this.equals(s)) {\n\t\t\t\t\t\tPiece savedPiece = null;\n\t\t\t\t\t\tif(hasPiece()) {\n\t\t\t\t\t\t\tsavedPiece = getPiece();\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t// enPassant\n\t\t\t\t\t\t// Not implemented\n\t\t\t\t\t\t//if(getPiece().getPieceType().equals(PieceType.PAWN)) {\n\t\t\t\t\t\t//\tenPassant(s.getPosition(), STORED_POSITION);\n\t\t\t\t\t\t//}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t// Castling check\n\t\t\t\t\t\tif(s.hasPiece() && s.getPiece().getPieceType().equals(PieceType.KING)) {\n\t\t\t\t\t\t\t((King)s.getPiece()).canNotCastle();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(s.hasPiece() && s.getPiece().getPieceType().equals(PieceType.ROOK)) {\n\t\t\t\t\t\t\t((Rook)s.getPiece()).canNotCastle();\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t// Move rook when castling\n\t\t\t\t\t\tPiece castlingSave = null;\n\t\t\t\t\t\t\n\t\t\t\t\t\tif(s.hasPiece() && s.getPiece().getPieceType().equals(PieceType.KING) &&\n\t\t\t\t\t\t (s.getPosition()[0] - getPosition()[0])==-2 &&\n\t\t\t\t\t\t s.getPiece().getTeamColor().equals(TeamColor.WHITE)) {\n\t\t\t\t\t\t\tcastlingSave = ChessBoard.getSquare(new int[]{6,8}).getPiece();\n\t\t\t\t\t\t\tChessBoard.getSquare(new int[]{6,8}).setIcon(ChessBoard.getSquare(new int[]{8,8}).getPiece());\n\t\t\t\t\t\t\tChessBoard.getSquare(new int[]{8,8}).removePiece();\n\t\t\t\t\t\t} \n\t\t\t\t\t\tif(s.hasPiece() && s.getPiece().getPieceType().equals(PieceType.KING) &&\n\t\t\t\t\t\t (s.getPosition()[0] - getPosition()[0])==2 &&\n\t\t\t\t\t\t s.getPiece().getTeamColor().equals(TeamColor.WHITE)) {\n\t\t\t\t\t\t\tcastlingSave = ChessBoard.getSquare(new int[]{4,8}).getPiece();\n\t\t\t\t\t\t\tChessBoard.getSquare(new int[]{4,8}).setIcon(ChessBoard.getSquare(new int[]{1,8}).getPiece());\n\t\t\t\t\t\t\tChessBoard.getSquare(new int[]{1,8}).removePiece();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(s.hasPiece() && s.getPiece().getPieceType().equals(PieceType.KING) &&\n\t\t\t\t\t\t (s.getPosition()[0] - getPosition()[0])==-2 &&\n\t\t\t\t\t\t s.getPiece().getTeamColor().equals(TeamColor.BLACK)) {\n\t\t\t\t\t\t\tcastlingSave = ChessBoard.getSquare(new int[]{6,1}).getPiece();\n\t\t\t\t\t\t\tChessBoard.getSquare(new int[]{6,1}).setIcon(ChessBoard.getSquare(new int[]{8,1}).getPiece());\n\t\t\t\t\t\t\tChessBoard.getSquare(new int[]{8,1}).removePiece();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(s.hasPiece() && s.getPiece().getPieceType().equals(PieceType.KING) &&\n\t\t\t\t\t\t (s.getPosition()[0] - getPosition()[0])==2 &&\n\t\t\t\t\t\t s.getPiece().getTeamColor().equals(TeamColor.BLACK)) {\n\t\t\t\t\t\t\tcastlingSave = ChessBoard.getSquare(new int[]{4,1}).getPiece();\n\t\t\t\t\t\t\tChessBoard.getSquare(new int[]{4,1}).setIcon(ChessBoard.getSquare(new int[]{1,1}).getPiece());\n\t\t\t\t\t\t\tChessBoard.getSquare(new int[]{1,1}).removePiece();\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t// Move piece FROM Square s\n\t\t\t\t\t\tif(castlingSave != null) {\n\t\t\t\t\t\t\tsetIcon(castlingSave);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tmovePiece(s);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\tChessBoard.setProtectedSquares();\n\t\t\t\t\t\t\n\t\t\t\t\t\t// Test for check\n\t\t\t\t\t\tif(ChessBoard.testCheckWhite() && ChessBoard.getTurn().equals(TeamColor.WHITE)) {\n\t\t\t\t\t\t\t// Undo move\n\t\t\t\t\t\t\ts.movePiece(ChessBoard.getSquare(STORED_POSITION));\n\t\t\t\t\t\t\tif(savedPiece != null) {\n\t\t\t\t\t\t\t\tsetIcon(savedPiece);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tGameInfoPanel.gameStatus.setText(\"Illegal move, white in check\");\n\t\t\t\t\t\t} else if(ChessBoard.testCheckBlack() && ChessBoard.getTurn().equals(TeamColor.WHITE)) {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t// Test to see if there is CheckMate\n\t\t\t\t\t\t\tif(ChessBoard.testCheckMateBlack()) {\n\t\t\t\t\t\t\t\tGameInfoPanel.gameStatus.setText(\"Checkmate!\");\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t// Move is okay, black is now in check\n\t\t\t\t\t\t\t\tGameInfoPanel.gameStatus.setText(\"Not checkmate\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// Switch players' turn\n\t\t\t\t\t\t\tChessBoard.switchTurn();\n\t\t\t\t\t\t} else if(ChessBoard.testCheckBlack() && ChessBoard.getTurn().equals(TeamColor.BLACK)) {\n\t\t\t\t\t\t\t// Undo move\n\t\t\t\t\t\t\ts.movePiece(ChessBoard.getSquare(STORED_POSITION));\n\t\t\t\t\t\t\tif(savedPiece!=null) {\n\t\t\t\t\t\t\t\tsetIcon(savedPiece);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tGameInfoPanel.gameStatus.setText(\"Illegal move, black in check\");\n\t\t\t\t\t\t} else if(ChessBoard.testCheckWhite() && ChessBoard.getTurn().equals(TeamColor.BLACK)) {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t// Test to see if there is CheckMate\n\t\t\t\t\t\t\tif(ChessBoard.testCheckMateWhite()) {\n\t\t\t\t\t\t\t\tGameInfoPanel.gameStatus.setText(\"Checkmate!\");\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t// Move is okay, white is now in check\n\t\t\t\t\t\t\t\tGameInfoPanel.gameStatus.setText(\"Not checkmate\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t// Switch players' turn\n\t\t\t\t\t\t\tChessBoard.switchTurn();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// Move is okay, nothing happened\n\t\t\t\t\t\t\tGameInfoPanel.gameStatus.setText(\"No one in check\");\n\t\t\t\t\t\t\t// Switch players' turn\n\t\t\t\t\t\t\tChessBoard.switchTurn();\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\t\n\t\t\t// Clear all color and focus\n\t\t\tChessBoard.clearFocus();\n\t\t\t\n\t\t\tChessBoard.setProtectedSquares();\n\t\t}\n\t}", "title": "" }, { "docid": "14ff8f73ae1d9717732fde402a0b7724", "score": "0.55210775", "text": "private void checkAhead(int column, int row) {\n int startingRow;\n int secondRow;\n int oneUp;\n\n if (white) {\n startingRow = 2;\n secondRow = 4;\n oneUp = 1;\n } else {\n startingRow = 7;\n secondRow = 5;\n oneUp = -1;\n }\n\n Square ahead = board.getSquare(column, row + oneUp);\n Square aheadTwice = board.getSquare(column, secondRow);\n\n if (row == startingRow && !ahead.isOccupied() && !aheadTwice.isOccupied()) {\n legalNextSquares.add(aheadTwice);\n }\n\n if (!ahead.isOccupied()) {\n legalNextSquares.add(ahead);\n }\n\n }", "title": "" }, { "docid": "b54df0a46a6739d8f47edd4f899acedf", "score": "0.5518876", "text": "private void lookForMovement(int fromRow, int fromCol){\n for(int r = 0; r < sizeRow; r++){\n for (int c = 0; c < sizeCol; c++){\n if(!(r == fromRow) || !(c == fromCol)) {\n if (gameModel.canMovePiece(fromRow, fromCol, r, c)) {\n board[r][c].setBackground(Color.BLUE);\n }\n if (gameModel.isAlly(r, c) == 1) {\n board[r][c].setBackground(Color.YELLOW);\n }\n if (gameModel.isAlly(r, c) == -1) {\n board[r][c].setBackground(Color.RED);\n }\n }\n }\n }\n }", "title": "" }, { "docid": "53a39ccbbf9239df907a4fb50934b99f", "score": "0.5518841", "text": "public void hardcodeWalls(){\n\t\tint numberx = 3 ;\n\t\tint numbery = 3 ;\n\t\tsquares2D[numberx][numbery].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+1].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+1][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+2][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+1].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+1].setStroke(Color.BLUE);\n \t\n \tnumberx = 13 ;\n\t\tnumbery = 3 ;\n\t\tsquares2D[numberx][numbery].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+1].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+1][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+2][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+1].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+1].setStroke(Color.BLUE);\n \t\n \t\n \t\n \tnumberx = 21 ;\n\t\tnumbery = 3 ;\n\t\tsquares2D[numberx][numbery].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+1].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+1][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+2][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+1].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+1].setStroke(Color.BLUE);\n \t\n \tnumberx = 3 ;\n\t\tnumbery = 9 ;\n\t\tsquares2D[numberx][numbery].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+1].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+1][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+2][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+1].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+1].setStroke(Color.BLUE);\n \t\n \tnumberx = 3 ;\n\t\tnumbery = 15 ;\n\t\tsquares2D[numberx][numbery].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+1].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+1][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+2][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+1].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+1].setStroke(Color.BLUE);\n \t\n \tnumberx = 21 ;\n\t\tnumbery = 9 ;\n\t\tsquares2D[numberx][numbery].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+1].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+1][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+2][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+1].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+1].setStroke(Color.BLUE);\n \t\n \t\n \tnumberx = 21 ;\n\t\tnumbery = 15 ;\n\t\tsquares2D[numberx][numbery].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+1].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+1][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+2][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+1].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+1].setStroke(Color.BLUE);\n \t\n \tnumberx = 13 ;\n\t\tnumbery = 9 ;\n\t\tsquares2D[numberx][numbery].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+1].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+1][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+2][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+1].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+1].setStroke(Color.BLUE);\n \t\n \tnumberx = 13 ;\n\t\tnumbery = 15 ;\n\t\tsquares2D[numberx][numbery].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+1].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+1][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+2][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+1].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+1].setStroke(Color.BLUE);\n \t\n \tnumberx = 3 ;\n\t\tnumbery = 21 ;\n\t\tsquares2D[numberx][numbery].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+1].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+1][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+2][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+1].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+1].setStroke(Color.BLUE);\n \t\n \tnumberx = 13 ;\n\t\tnumbery = 21 ;\n\t\tsquares2D[numberx][numbery].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+1].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+1][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+2][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+1].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+1].setStroke(Color.BLUE);\n \t\n \tnumberx = 21 ;\n\t\tnumbery = 21 ;\n\t\tsquares2D[numberx][numbery].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+1].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+1][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+2][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+2].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+1].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx+3][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+3].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+4].setStroke(Color.BLUE);\n \tsquares2D[numberx+5][numbery+1].setStroke(Color.BLUE);\n \t\n \t\n\t}", "title": "" }, { "docid": "58cbe51ebc54822a649a6e16e42f3570", "score": "0.55182254", "text": "public void paint(Graphics g) \n { \n super.paint(g);\n\n Dimension size = getSize();\n int boardTop = (int) size.getHeight() - BoardHeight * squareHeight();\n\n\n for (int i = 0; i < BoardHeight; ++i) {\n for (int j = 0; j < BoardWidth; ++j) {\n Tetrominoes shape = shapeAt(j, BoardHeight - i - 1);\n if (shape != Tetrominoes.NoShape)\n drawSquare(g, 0 + j * squareWidth(),\n boardTop + i * squareHeight(), shape);\n }\n }\n\n if (curPiece.getShape() != Tetrominoes.NoShape) {\n for (int i = 0; i < 4; ++i) {\n int x = curX + curPiece.x(i);\n int y = curY - curPiece.y(i);\n drawSquare(g, 0 + x * squareWidth(),\n boardTop + (BoardHeight - y - 1) * squareHeight(),\n curPiece.getShape());\n }\n }\n }", "title": "" }, { "docid": "7a3af0d1199c2523be644f1f9e9a7ab4", "score": "0.55153644", "text": "public List<IntPair> createKnightMoves(ChessPiece piece) {\n List<IntPair> movesList = new ArrayList<>();\n IntPair currentPosition = piece.getPosition();\n if(currentPosition.left() + 1 < BOARD_COLUMNS) { // out of border check\n if(currentPosition.right() + 2 < BOARD_ROWS) { // 1 block East, 2 blocks South\n IntPair moveEast1South2 = new IntPair(currentPosition.left() + 1, currentPosition.right() + 2);\n int occupyCheckE1S2 = checkOccupied(piece.getSide(), moveEast1South2);\n if(occupyCheckE1S2 == 0 || occupyCheckE1S2 == 2) {\n movesList.add(moveEast1South2);\n }\n }\n if(currentPosition.right() - 2 >= 0) { // 1 block East, 2 blocks North\n IntPair moveEast1North2 = new IntPair(currentPosition.left() + 1, currentPosition.right() - 2);\n int occupyCheckE1N2 = checkOccupied(piece.getSide(), moveEast1North2);\n if(occupyCheckE1N2 == 0 || occupyCheckE1N2 == 2) {\n movesList.add(moveEast1North2);\n }\n }\n }\n if(currentPosition.left() + 2 < BOARD_COLUMNS) {\n if(currentPosition.right() + 1 < BOARD_ROWS) { // 2 blocks East, 1 block South\n IntPair moveEast2South1 = new IntPair(currentPosition.left() + 2, currentPosition.right() + 1);\n int occupyCheckE2S1 = checkOccupied(piece.getSide(), moveEast2South1);\n if(occupyCheckE2S1 == 0 || occupyCheckE2S1 == 2) {\n movesList.add(moveEast2South1);\n }\n }\n if(currentPosition.right() - 1 >= 0) { // 2 blocks East, 1 block North\n IntPair moveEast2North1 = new IntPair(currentPosition.left() + 2, currentPosition.right() - 1);\n int occupyCheckE2N1 = checkOccupied(piece.getSide(), moveEast2North1);\n if(occupyCheckE2N1 == 0 || occupyCheckE2N1 == 2) {\n movesList.add(moveEast2North1);\n }\n }\n }\n if(currentPosition.left() - 1 >= 0) {\n if(currentPosition.right() + 2 < BOARD_ROWS) { // 1 block West, 2 blocks South\n IntPair moveWest1South2 = new IntPair(currentPosition.left() - 1, currentPosition.right() + 2);\n int occupyCheckW1S2 = checkOccupied(piece.getSide(), moveWest1South2);\n if(occupyCheckW1S2 == 0 || occupyCheckW1S2 == 2) {\n movesList.add(moveWest1South2);\n }\n }\n if(currentPosition.right() - 2 >= 0) { // 1 block West, 2 blocks North\n IntPair moveWest1North2 = new IntPair(currentPosition.left() - 1, currentPosition.right() - 2);\n int occupyCheckW1N2 = checkOccupied(piece.getSide(), moveWest1North2);\n if(occupyCheckW1N2 == 0 || occupyCheckW1N2 == 2) {\n movesList.add(moveWest1North2);\n }\n }\n }\n if(currentPosition.left() - 2 >= 0) {\n if(currentPosition.right() + 1 < BOARD_ROWS) { // 2 blocks West, 1 block South\n IntPair moveWest2South1 = new IntPair(currentPosition.left() - 2, currentPosition.right() + 1);\n int occupyCheckW2S1 = checkOccupied(piece.getSide(), moveWest2South1);\n if(occupyCheckW2S1 == 0 || occupyCheckW2S1 == 2) {\n movesList.add(moveWest2South1);\n }\n }\n if(currentPosition.right() - 1 >= 0) { // 2 blocks West, 1 block North\n IntPair moveWest2North1 = new IntPair(currentPosition.left() - 2, currentPosition.right() - 1);\n int occupyCheckW2N1 = checkOccupied(piece.getSide(), moveWest2North1);\n if(occupyCheckW2N1 == 0 || occupyCheckW2N1 == 2) {\n movesList.add(moveWest2North1);\n }\n }\n }\n return movesList;\n }", "title": "" }, { "docid": "ab66d52b9470e2658b54173dbd230c30", "score": "0.5513981", "text": "@Override\n public ArrayList<Position> getPotentialMoves(Piece[][] pieces) {\n if (getRow() < 7 && isPositionTaken(new Position(getColumn(), getRow() + 1), pieces)) {\n // front is occupied by enemy piece\n if (pieces[getColumn()][getRow() + 1].getColor() != getColor()) {\n potentialMoves.add(new Position(getColumn(), getRow() + 1));\n }\n }\n // front row is clear and in bounds\n else if (getRow() < 7) {\n potentialMoves.add(new Position(getColumn(), getRow() + 1));\n }\n // back pos is taken and isn't out of bounds\n if (getRow() > 0 && isPositionTaken(new Position(getColumn(), getRow() - 1), pieces)) {\n // back is occupied by enemy piece\n if (pieces[getColumn()][getRow() - 1].getColor() != getColor()) {\n potentialMoves.add(new Position(getColumn(), getRow() - 1));\n }\n }\n // back row is clear and in bounds\n else if (getRow() > 0) {\n potentialMoves.add(new Position(getColumn(), getRow() - 1));\n }\n // right pos is taken and isn't out of bounds\n if (getColumn() < 7 && isPositionTaken(new Position(getColumn() + 1, getRow()), pieces)) {\n // right is occupied by enemy piece\n if (pieces[getColumn() + 1][getRow()].getColor() != getColor()) {\n potentialMoves.add(new Position(getColumn() + 1, getRow()));\n }\n }\n // right row is clear and in bounds\n else if (getColumn() < 7) {\n potentialMoves.add(new Position(getColumn() + 1, getRow()));\n }\n\n // left pos is taken and isn't out of bounds\n if (getColumn() > 0 && isPositionTaken(new Position(getColumn() - 1, getRow()), pieces)) {\n // left is occupied by enemy piece\n if (pieces[getColumn() - 1][getRow()].getColor() != getColor()) {\n potentialMoves.add(new Position(getColumn() - 1, getRow()));\n }\n }\n // left row is clear and in bounds\n else if (getColumn() > 0) {\n potentialMoves.add(new Position(getColumn() - 1, getRow()));\n }\n // front-left pos is taken and isn't out of bounds\n if (getColumn() > 0 && getRow() < 7 && isPositionTaken(new Position(getColumn() - 1, getRow() + 1), pieces)) {\n // front-left is occupied by enemy piece\n if (pieces[getColumn() - 1][getRow() + 1].getColor() != getColor()) {\n potentialMoves.add(new Position(getColumn() - 1, getRow() + 1));\n }\n }\n // front-left row is clear and in bounds\n else if (getColumn() < 7 && getRow() < 7) {\n potentialMoves.add(new Position(getColumn() - 1, getRow() + 1));\n }\n // front-right pos is taken and isn't out of bounds\n if (getColumn() < 7 && getRow() < 7 && isPositionTaken(new Position(getColumn() + 1, getRow() + 1), pieces)) {\n // front-right is occupied by enemy piece\n if (pieces[getColumn() - 1][getRow() + 1].getColor() != getColor()) {\n potentialMoves.add(new Position(getColumn() + 1, getRow() + 1));\n }\n }\n // front-right row is clear and in bounds\n else if (getColumn() < 7 && getRow() < 7) {\n potentialMoves.add(new Position(getColumn() + 1, getRow() + 1));\n }\n // back-right pos is taken and isn't out of bounds\n if (getColumn() < 7 && getRow() > 0 && isPositionTaken(new Position(getColumn() + 1, getRow() - 1), pieces)) {\n // back-right is occupied by enemy piece\n if (pieces[getColumn() + 1][getRow() - 1].getColor() != getColor()) {\n potentialMoves.add(new Position(getColumn() + 1, getRow() - 1));\n }\n }\n // back-right row is clear and in bounds\n else if (getColumn() < 7 && getRow() > 0) {\n potentialMoves.add(new Position(getColumn() + 1, getRow() - 1));\n }\n // back-left pos is taken and isn't out of bounds\n if (getColumn() > 0 && getRow() > 0 && isPositionTaken(new Position(getColumn() - 1, getRow() - 1), pieces)) {\n // back-right is occupied by enemy piece\n if (pieces[getColumn() - 1][getRow() - 1].getColor() != getColor()) {\n potentialMoves.add(new Position(getColumn() - 1, getRow() - 1));\n }\n }\n // back-left row is clear and in bounds\n else if (getColumn() > 0 && getRow() > 0) {\n potentialMoves.add(new Position(getColumn() - 1, getRow() - 1));\n }\n return potentialMoves;\n }", "title": "" }, { "docid": "cd9370377f0fce33711071ac058a931a", "score": "0.5511455", "text": "@Override\n public void setValidMoves(Piece[][] testGame) {\n\n validMoves.clear();\n\n int x = this.position.x;\n int y = this.position.y;\n while(x > 0){\n x--;\n Pair newPos = new Pair(x, y);\n if(testGame[x][y] == null){ // Moving to null space\n validMoves.add(newPos);\n } else if(this.color != testGame[x][y].color){ //(White capture black or Black capture white)\n validMoves.add(newPos);\n break;\n } else { //Trying to capture your own piece\n break;\n }\n }\n x = this.position.x;\n y = this.position.y;\n while(x < 7){\n x++;\n Pair newPos = new Pair(x, y);\n if(testGame[x][y] == null){\n validMoves.add(newPos);\n } else if(this.color != testGame[x][y].color){ //(White capture black or Black capture white)\n validMoves.add(newPos);\n break;\n } else {\n break;\n }\n }\n x = this.position.x;\n y = this.position.y;\n while(y < 7){\n y++;\n Pair newPos = new Pair(x, y);\n if(testGame[x][y] == null){\n validMoves.add(newPos);\n } else if(this.color != testGame[x][y].color){ //(White capture black or Black capture white)\n validMoves.add(newPos);\n break;\n } else {\n break;\n }\n }\n x = this.position.x;\n y = this.position.y;\n while(y > 0){\n y--;\n Pair newPos = new Pair(x, y);\n if(testGame[x][y] == null){\n validMoves.add(newPos);\n } else if(this.color != testGame[x][y].color){ //(White capture black or Black capture white)\n validMoves.add(newPos);\n break;\n } else {\n break;\n }\n }\n x = this.position.x;\n y = this.position.y;\n }", "title": "" }, { "docid": "f627a8de3c243174b64c9446a00f95bc", "score": "0.5506033", "text": "private ArrayList findSlantState(ArrayList<MazeState> legal, MazeState s) {\n int row = s.currPosition.getRowIndex();\n int col = s.currPosition.getColumnIndex();\n if (legal(row + 1, col + 1) && (visit[row][col + 1] == 1 || visit[row + 1][col] == 1) && visit[row + 1][col + 1] != 1) {\n legal.add(new MazeState(new Position(row + 1, col + 1), 15));\n visit[row + 1][col + 1] = 1;\n\n }\n if (legal(row - 1, col - 1) && (visit[row - 1][col] == 1 || visit[row][col - 1] == 1) && visit[row - 1][col - 1] != 1) {\n legal.add(new MazeState(new Position(row - 1, col - 1), 15));\n visit[row - 1][col - 1] = 1;\n\n }\n if (legal(row - 1, col + 1) && (visit[row - 1][col] == 1 || visit[row][col + 1] == 1) && visit[row - 1][col + 1] != 1) {\n legal.add(new MazeState(new Position(row - 1, col + 1), 15));\n visit[row - 1][col + 1] = 1;\n\n }\n if (legal(row + 1, col - 1) && (visit[row + 1][col] == 1 || visit[row][col - 1] == 1) && visit[row + 1][col - 1] != 1) {\n legal.add(new MazeState(new Position(row + 1, col - 1), 15));\n visit[row + 1][col - 1] = 1;\n\n }\n return legal;\n }", "title": "" }, { "docid": "1e566998cbe0fa3acae655ec805ee3a4", "score": "0.55035675", "text": "public static void position(int[][] board,int i,int j,int move) //THAT ARE POSSIBLE TO COVER ALL THE BOARD\n { //POSITIONS BY KNIGHT STARTING FROM (1,3) \n board[i][j]=move; //IN A 5x5 BOARD.\n\n if(move==board.length*board[0].length)\n { \n counter++;\n System.out.println(\"*********\"+counter+\"*********\");\n for(int r=0;r<board.length;r++)\n {\n for(int c=0;c<board[0].length;c++)\n {\n System.out.print(board[r][c]+\"\\t\");\n }\n System.out.println();\n }\n System.out.println(\"*********\"+counter+\"*********\");\n board[i][j] = 0;\n return;\n }\n\n if(i>=1 && j>=2 && board[i-1][j-2]==0 )\n {\n position(board, i-1, j-2, move+1);\n }\n if( i>=2 && j>=1 && board[i-2][j-1]==0)\n {\n position(board, i-2, j-1, move+1);\n }\n if(i>=2 && (j+1)<=board.length-1 && board[i-2][j+1]==0)\n {\n position(board, i-2, j+1, move+1);\n }\n if(i>=1 && (j+2)<=board.length-1 && board[i-1][j+2]==0)\n {\n position(board, i-1, j+2, move+1);\n }\n if((i+1)<=board.length-1 && (j+2)<=board.length-1 && board[i+1][j+2]==0)\n {\n position(board, i+1, j+2, move+1);\n }\n if((i+2)<=board.length-1 && (j+1)<=board.length-1 && board[i+2][j+1]==0)\n {\n position(board, i+2, j+1, move+1);\n }\n if((i+2)<=board.length-1 && j>=1 && board[i+2][j-1]==0)\n {\n position(board, i+2, j-1, move+1);\n }\n if((i+1)<=board.length-1 && j>=2 && board[i+1][j-2]==0)\n {\n position(board, i+1, j-2, move+1);\n }\n\n board[i][j]=0;\n }", "title": "" } ]
c5f0b9045d81b3995b4e63ab492b6aa9
The number of IPV6 packets received with errors.
[ { "docid": "308f8a2549d0b3529376cdb3b943e20e", "score": "0.68590885", "text": "public IpEndpointStatistics ipv6RxErrorCount(Long ipv6RxErrorCount) {\n this.ipv6RxErrorCount = ipv6RxErrorCount;\n return this;\n }", "title": "" } ]
[ { "docid": "1e065ca72b8665c1ce741ee6cba200a0", "score": "0.77571607", "text": "java.lang.Integer getIpv6Length();", "title": "" }, { "docid": "6cb495e71cf196300c40f6eb36713d42", "score": "0.67085314", "text": "public int getNumPackets(){\n\t\treturn packets.size();\n\t}", "title": "" }, { "docid": "545b40e4199f6b33d7a56a23ce2f5303", "score": "0.65497977", "text": "public static int get6VFaultCount() {\n IntBuffer status = allocateInt();\n int retVal = PowerJNI.getUserCurrentFaults6V(status);\n HALUtil.checkStatus(status);\n return retVal;\n }", "title": "" }, { "docid": "04014e5eef219d2014a1d85567e099a8", "score": "0.6547565", "text": "int numRejectPackets();", "title": "" }, { "docid": "955c8eb3dacb567c82dc13755ad3c0e4", "score": "0.6505588", "text": "int numFulfilledPackets();", "title": "" }, { "docid": "5a2598c2b2b88941c2f5bd9b7148bd0e", "score": "0.6426078", "text": "public void getPacketErrorCount(org.codeaurora.ims.internal.IQtiImsExtListener listener) throws android.os.RemoteException;", "title": "" }, { "docid": "34aebb11da59a8fba4c5bfe2d4fa47af", "score": "0.6335068", "text": "public static int count() {\n\treturn errorCount;\n }", "title": "" }, { "docid": "79c9c3b8f62c1cf85b9c2f46b5d08b24", "score": "0.62610877", "text": "int getErrorCount();", "title": "" }, { "docid": "da5f7bbefef42db99574d51560870683", "score": "0.62561965", "text": "@Override public void getPacketErrorCount(org.codeaurora.ims.internal.IQtiImsExtListener listener) throws android.os.RemoteException\n {\n android.os.Parcel _data = android.os.Parcel.obtain();\n try {\n _data.writeInterfaceToken(DESCRIPTOR);\n _data.writeStrongBinder((((listener!=null))?(listener.asBinder()):(null)));\n boolean _status = mRemote.transact(Stub.TRANSACTION_getPacketErrorCount, _data, null, android.os.IBinder.FLAG_ONEWAY);\n if (!_status && getDefaultImpl() != null) {\n getDefaultImpl().getPacketErrorCount(listener);\n return;\n }\n }\n finally {\n _data.recycle();\n }\n }", "title": "" }, { "docid": "93cf307f029740f24adfcd27defd4eae", "score": "0.6230529", "text": "@Override public void getPacketErrorCount(org.codeaurora.ims.internal.IQtiImsExtListener listener) throws android.os.RemoteException\n {\n }", "title": "" }, { "docid": "7a8b42d269e2659d07c17338b6328645", "score": "0.62042356", "text": "default int totalPackets() {\n return numFulfilledPackets() + numRejectPackets();\n }", "title": "" }, { "docid": "0d1d44e67ef0c3a020e3c582301c9034", "score": "0.6180181", "text": "public final long getErrorCount( ) {\n return errorCount_;\n }", "title": "" }, { "docid": "f46b92a22c7178242168e30a1875b2e2", "score": "0.6137553", "text": "public int getErrorCount();", "title": "" }, { "docid": "0864fe0cd698e54fe89cb93fb7c62075", "score": "0.6107248", "text": "public int sizeOfH6Array()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(H6$12);\n }\n }", "title": "" }, { "docid": "fc6a68052fc9012b1bb360a13d7cef2e", "score": "0.6101156", "text": "public Long errorCount() {\n return this.errorCount;\n }", "title": "" }, { "docid": "8ac3aed43eebf93f35f4f927b91edb6e", "score": "0.6090832", "text": "public Integer getErrorCount() {\n return errorCount;\n }", "title": "" }, { "docid": "4b6a0b9aaa0093b5ebf11011f1d51f88", "score": "0.60814947", "text": "int getEtherSrcCount();", "title": "" }, { "docid": "3c87da3102decc309abdf649659c81da", "score": "0.60611826", "text": "public IpEndpointStatistics ipv6RxByteCount(Long ipv6RxByteCount) {\n this.ipv6RxByteCount = ipv6RxByteCount;\n return this;\n }", "title": "" }, { "docid": "5f0c9d654efa74c4a5d16e884a5b337e", "score": "0.60566485", "text": "public Long get_totalpktsrecvd() throws Exception {\n\t\treturn this.totalpktsrecvd;\n\t}", "title": "" }, { "docid": "beaa3494d0aa75a2a2ea78f676a3c6d8", "score": "0.6005397", "text": "public int getNbMessageReceived() {\n return network.getNbMessageReceived(sid);\n }", "title": "" }, { "docid": "964328c22cf1040f26bda459bed7b9bf", "score": "0.60021365", "text": "int getEtherDstCount();", "title": "" }, { "docid": "2a7c8305117971f07b498061d010ac1d", "score": "0.5997033", "text": "public int getNumberOfErrors() {\n\t\treturn numberOfErrors;\n\t}", "title": "" }, { "docid": "bdedd482adc3ffb9a79b4049471b26f7", "score": "0.5943105", "text": "public int getPacketCount()\r\n\t{\r\n\t\treturn this.mPacketCount;\r\n\t}", "title": "" }, { "docid": "3cf2d7a161e3d3f321eff9e7dc60c4a7", "score": "0.5942569", "text": "public final int errCount()\r\n {\r\n return m_errorTable.errCount();\r\n }", "title": "" }, { "docid": "e8c17f6916a873bd873bac195169f671", "score": "0.59240156", "text": "public IpEndpointStatistics ipv6ReceivedPdus(Long ipv6ReceivedPdus) {\n this.ipv6ReceivedPdus = ipv6ReceivedPdus;\n return this;\n }", "title": "" }, { "docid": "b30930e84360eba53200d4f07d689eed", "score": "0.5875782", "text": "public final long getDataPacketsCount()\n\t{\n\t\treturn data_packets_count;\n\t}", "title": "" }, { "docid": "eca3658f4db86fd55f0dcd82797a0315", "score": "0.58674324", "text": "int getIpInterfacesCount();", "title": "" }, { "docid": "aa771c6b3507c1f992636655fe357190", "score": "0.58436346", "text": "public int getNumberOfNetworkIntefaces(){\n return this.networkInterfaces.size();\n }", "title": "" }, { "docid": "56b002c1bff79463eb47f486285605fa", "score": "0.58370435", "text": "public int getErrorCount() {\n int count = 0;\n if (null != messages) {\n for (int i = 0; i < messages.size(); i++) {\n if (Status.ERROR == messages.get(i).getStatus()) {\n count++;\n }\n }\n }\n return count;\n }", "title": "" }, { "docid": "6b29580a9a477c931995cc11d6c9a5ef", "score": "0.5830527", "text": "int getUnreachableCount();", "title": "" }, { "docid": "510df16057b32aa0edd25a2dc22540b2", "score": "0.5827121", "text": "public long getNrOfMessagesFailed()\r\n {\r\n return m_lNrOfMessagesFailed;\r\n }", "title": "" }, { "docid": "684d2277b50edc2fba0d474bfc1d01ac", "score": "0.57962906", "text": "public int getAlwaysReachableFailureCount() {\n\t\treturn this.verifyAlwaysReachable;\n\t}", "title": "" }, { "docid": "053a0062b2f3942d9968398b7e03c190", "score": "0.57892823", "text": "public int getTotalErrors() {\r\n return totalErrors;\r\n }", "title": "" }, { "docid": "c0f57b36148275096e6362850024e0a4", "score": "0.577376", "text": "int getLogEntryErrorsCount();", "title": "" }, { "docid": "a0b8247dd8c8cfd907940866c57041e6", "score": "0.5736885", "text": "@SuppressLint(\"VisibleForTests\")\n public int getNumberOfFailedStreams() {\n return metadataClient.getRealtimeBackoffMetadata().getNumFailedStreams();\n }", "title": "" }, { "docid": "85190159678db24aadd8d9bad746c32a", "score": "0.5723631", "text": "public Long getSnumNetworkErrorDrops() {\n\t\treturn snumNetworkErrorDrops;\n\t}", "title": "" }, { "docid": "4720c278ee9994556d928ed8b88f957a", "score": "0.57187706", "text": "public IpEndpointStatistics ipv6TimeoutCount(Long ipv6TimeoutCount) {\n this.ipv6TimeoutCount = ipv6TimeoutCount;\n return this;\n }", "title": "" }, { "docid": "64abc224eb203d41a3c680b52fdd5f3b", "score": "0.5709836", "text": "public int getMessageLen() {\n return packet.length - 13;\n }", "title": "" }, { "docid": "ed7b1a44715271cc3c7b2ab4f90ddb08", "score": "0.5708465", "text": "public int getTotalTunnelCount() {\r\n return totalTunnels;\r\n }", "title": "" }, { "docid": "be2728f002c07bc90ae3263ec91335d4", "score": "0.56990296", "text": "public int outstandingSize() {\n return sendPacketList.size();\n }", "title": "" }, { "docid": "9652cd383d541cdb54388d42c67d6c8f", "score": "0.5693857", "text": "public int getPINErrorCount()\n \t{\n \t\tif (get(\"pinErrorCount\") == null)\n \t\t\treturn 0;\n \t\t\n \t\treturn (Integer)get(\"pinErrorCount\");\n \t}", "title": "" }, { "docid": "6b34858f6c4a5ac2d5c222897fcfdcfb", "score": "0.56870353", "text": "public void getPacketCount(org.codeaurora.ims.internal.IQtiImsExtListener listener) throws android.os.RemoteException;", "title": "" }, { "docid": "82ba1c2816e081bf9d0c65e31bdc3b4a", "score": "0.5679016", "text": "public int getNbMessageSent() {\n return network.getNbMessageSent(sid);\n }", "title": "" }, { "docid": "22fc5b9488fe15728441e77610121d8d", "score": "0.5677631", "text": "public int getPacketFrames()\r\n\t{\r\n\t\treturn this.mPacketFrames;\r\n\t}", "title": "" }, { "docid": "6a428ca85bfd1ce3552617790856370d", "score": "0.5664995", "text": "public long size() { int o = __offset(6); return o != 0 ? (long)bb.getInt(o + bb_pos) & 0xFFFFFFFFL : 0L; }", "title": "" }, { "docid": "1e7b93957efa7e4832c726cfa0d6a65e", "score": "0.5659459", "text": "public IpEndpointStatistics ipv6OverlappedFragCount(Long ipv6OverlappedFragCount) {\n this.ipv6OverlappedFragCount = ipv6OverlappedFragCount;\n return this;\n }", "title": "" }, { "docid": "b9c61ec07708dcab1fb219c56c8fb886", "score": "0.5650999", "text": "public IpEndpointStatistics ipv6ReassembledPackets(Long ipv6ReassembledPackets) {\n this.ipv6ReassembledPackets = ipv6ReassembledPackets;\n return this;\n }", "title": "" }, { "docid": "cb6a1652c4032c0e8080c4ee27d6cad6", "score": "0.56480443", "text": "public IpEndpointStatistics ipv6OutOfOrderFragCount(Long ipv6OutOfOrderFragCount) {\n this.ipv6OutOfOrderFragCount = ipv6OutOfOrderFragCount;\n return this;\n }", "title": "" }, { "docid": "1db7c49c7325c87ab78460122c9a4889", "score": "0.564285", "text": "public int getCcsdsPacketLength() \n {\n return getCcsdsPacketLength(bb);\n }", "title": "" }, { "docid": "452eedcdf1d48a896dfc06361ab60603", "score": "0.56206506", "text": "public int getIpInterfacesCount() {\n if (ipInterfacesBuilder_ == null) {\n return ipInterfaces_.size();\n } else {\n return ipInterfacesBuilder_.getCount();\n }\n }", "title": "" }, { "docid": "2d79f5e7d617796167fe72d0b956e561", "score": "0.5609245", "text": "public int packetSize() { return packetSize; }", "title": "" }, { "docid": "2b6e85be1df8cd830344c6545e865ec5", "score": "0.5604092", "text": "public int getTotalSends();", "title": "" }, { "docid": "b3891041068c8b4a2eedd460842106d9", "score": "0.5603361", "text": "BigInteger getPacketTransmissionRetries();", "title": "" }, { "docid": "d9a9d12a03af670398c196dc381c2a0f", "score": "0.55952936", "text": "public int getEtherSrcCount() {\n return etherSrc_.size();\n }", "title": "" }, { "docid": "6fdb24aa6a8d2ed763b81f258362fae2", "score": "0.55940473", "text": "public int getNumOfReceivedData() throws RemoteException;", "title": "" }, { "docid": "100b3a49ec024acc02b318a6bd1936fb", "score": "0.5590861", "text": "private int getNumberOfUnreadNotifications() {\n this.waitForNotificationsLoaded();\n String text = bubblesCount.getText();\n if (!text.isEmpty()) {\n return Integer.parseInt(text);\n }\n return 0;\n }", "title": "" }, { "docid": "8e62a5d0b9b1185913eb741b03e793f5", "score": "0.5567253", "text": "public int getListenerCount(Class<?> aClass) { return getListenerCount(_listeners, aClass); }", "title": "" }, { "docid": "c462da79c577a7c2bd281b8b18849b18", "score": "0.5547334", "text": "@Override\n public int getReachableCount()\n {\n return getReachable().size();\n }", "title": "" }, { "docid": "2bde75ec394cec9cc40c1cef19584402", "score": "0.5543749", "text": "int getMessageCount();", "title": "" }, { "docid": "2bde75ec394cec9cc40c1cef19584402", "score": "0.5543749", "text": "int getMessageCount();", "title": "" }, { "docid": "2bde75ec394cec9cc40c1cef19584402", "score": "0.5543749", "text": "int getMessageCount();", "title": "" }, { "docid": "2bde75ec394cec9cc40c1cef19584402", "score": "0.5543749", "text": "int getMessageCount();", "title": "" }, { "docid": "2bde75ec394cec9cc40c1cef19584402", "score": "0.5543749", "text": "int getMessageCount();", "title": "" }, { "docid": "d6eb65dc7c8c64c5fdda858ede0a91e5", "score": "0.55376333", "text": "public Long getCnumNetworkErrorDrops() {\n\t\treturn cnumNetworkErrorDrops;\n\t}", "title": "" }, { "docid": "cd8611fbb84725a2be1826b680bf0cc3", "score": "0.5534952", "text": "int getNbMessageReceived() {\n return nbMessageReceived;\n }", "title": "" }, { "docid": "45668692c221d048e49040028940d4c1", "score": "0.55250865", "text": "public int getEtherSrcCount() {\n return etherSrc_.size();\n }", "title": "" }, { "docid": "1713e9135e39ed2634f91d990dc2bc77", "score": "0.5524972", "text": "int getAdditionalProtocolsCount();", "title": "" }, { "docid": "2ccff5dc76f458e5f8697bf7038aef57", "score": "0.5521273", "text": "public long getNrOfMessagesSuccess()\r\n {\r\n return m_lNrOfMessagesSuccess;\r\n }", "title": "" }, { "docid": "7bcb32a451c3097737bf5c8cd1b2f90d", "score": "0.5520077", "text": "@Override\n\tpublic int getErrorCount() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "39ff8c2de377e114d1d5358fb83d0a1e", "score": "0.55011636", "text": "public IpEndpointStatistics ipv6TxByteCount(Long ipv6TxByteCount) {\n this.ipv6TxByteCount = ipv6TxByteCount;\n return this;\n }", "title": "" }, { "docid": "fc3b96e898a1e52a707205ec65631ed1", "score": "0.5499541", "text": "public int getIpInterfacesCount() {\n return ipInterfaces_.size();\n }", "title": "" }, { "docid": "a7a6e93cf5488663bd6662d8196d2fee", "score": "0.5495957", "text": "@Override public void getPacketCount(org.codeaurora.ims.internal.IQtiImsExtListener listener) throws android.os.RemoteException\n {\n }", "title": "" }, { "docid": "ed41ed357e0cab8541393a15600e62da", "score": "0.5493248", "text": "public int getNumOfReceived() throws RemoteException;", "title": "" }, { "docid": "2dc12f221f88451d7b4bb49ef66f6550", "score": "0.54767936", "text": "public Long getSnumNetworkErrorDropsA10SetupFail() {\n\t\treturn snumNetworkErrorDropsA10SetupFail;\n\t}", "title": "" }, { "docid": "0ba149039f885406e685d9dbc4e49d04", "score": "0.5465168", "text": "public int getNumberOfListener() {\n return listeners.size();\n }", "title": "" }, { "docid": "972b89c278435a36ebd5a9c2d776be96", "score": "0.5460458", "text": "int getPeersCount();", "title": "" }, { "docid": "bdbdb8b8737ead3fa61763c3f612cafd", "score": "0.5458142", "text": "public int getNbAckSent() {\n return network.getNbAckSent(sid);\n }", "title": "" }, { "docid": "179bb4d1d2ba6e673b3457b2aed3b129", "score": "0.5455199", "text": "public int getHopCount() {\n return hopcount;\n }", "title": "" }, { "docid": "37f9dc57c68409d2c0281fa89154bce6", "score": "0.54545945", "text": "private boolean hostIsValidIPv6() {\n switch (ipv6Parser.state) {\n case INVALID:\n case HEX_PART:\n return false;\n case HEX_SEQ: return ipv6Parser.numHexDigits > 0 || ipv6Parser.numDoubleColons == 1;\n case IPV4: return ipv6Parser.numPeriods == 3 && ipv6Parser.numDigits > 0;\n }\n return false;\n }", "title": "" }, { "docid": "e2cfa6c173c111250453c1eebfd3f17b", "score": "0.5451852", "text": "public int getRetCount() {\n return ret_.size();\n }", "title": "" }, { "docid": "885d32b9772419981ace8e77280cc012", "score": "0.5413102", "text": "String ipv6ConnectedPrefix();", "title": "" }, { "docid": "39c88d034b25578aace38faae36c0ad2", "score": "0.5409051", "text": "protected int getNumberOfNotifies() {\n return selenium.getCount(notify) - (selenium.getCount(notifyError) + selenium.getCount(notifyFatal) /*+ selenium.getCount(notifyInfo)*/ + selenium.getCount(notifyWarn));\n }", "title": "" }, { "docid": "25c2de75d47158808992164a3996b03e", "score": "0.5405342", "text": "public static int getTotalRequests() {\n String sql = \"SELECT count(*) FROM request\";\n return getInt(sql);\n }", "title": "" }, { "docid": "73ce8a2b740830d0217b2266fb7e88d4", "score": "0.54016405", "text": "public int getRetCount() {\n return ret_.size();\n }", "title": "" }, { "docid": "673ff9ead0e009034409416dfdf68f0c", "score": "0.53973734", "text": "public long getTotalMessagesReceived()\n {\n // import Component.Util.Daemon.QueueProcessor.Service.Peer.Acceptor;\n // import Component.Util.Daemon.QueueProcessor.Service.Peer.Acceptor.TcpAcceptor;\n \n Acceptor acceptor = get_Acceptor();\n if (acceptor instanceof TcpAcceptor)\n {\n return ((TcpAcceptor) acceptor).getStatsReceived();\n }\n else\n {\n return -1;\n }\n }", "title": "" }, { "docid": "364540d9bb0655a15a16ffcecfc4fbac", "score": "0.53951824", "text": "public int getMessageCount() {\n\t\treturn ma.getMessageCount();\r\n\t}", "title": "" }, { "docid": "5fc19b9bfc6e183f2d69f630ddb9978c", "score": "0.53932536", "text": "final int getNbMessageReceived(short sid) {\n return sessions[index(sid)].getNbMessageReceived();\n }", "title": "" }, { "docid": "650322a7384d9778698022c0d4bf5d26", "score": "0.5386715", "text": "public int getEtherDstCount() {\n return etherDst_.size();\n }", "title": "" }, { "docid": "193278794a4b26f01e037b992b433ac9", "score": "0.5385594", "text": "public Integer getErrorTimes() {\n return errorTimes;\n }", "title": "" }, { "docid": "cfb092b5ac3985accbe540fa63f7493f", "score": "0.5385382", "text": "public Integer getFailedCount() {\n return failedCount;\n }", "title": "" }, { "docid": "0fb243b4367b746c7198dfe336468bd5", "score": "0.5383988", "text": "public int getErrors() {\n return errors.get();\n }", "title": "" }, { "docid": "fea8c06ef3cdc8c6fd219f5ddbad2d8e", "score": "0.5380647", "text": "public int getForwardingEventsCount() {\n if (forwardingEventsBuilder_ == null) {\n return forwardingEvents_.size();\n } else {\n return forwardingEventsBuilder_.getCount();\n }\n }", "title": "" }, { "docid": "b9ac76f9f0713a940c0fdef4e45bbd4d", "score": "0.537833", "text": "public int getForwardingEventsCount() {\n return forwardingEvents_.size();\n }", "title": "" }, { "docid": "2c869e08255b164aa342edf71f7392e7", "score": "0.53546584", "text": "int getPortsCount();", "title": "" }, { "docid": "2c869e08255b164aa342edf71f7392e7", "score": "0.53546584", "text": "int getPortsCount();", "title": "" }, { "docid": "2bc33817839ec591a19bedbb421f8f48", "score": "0.5350456", "text": "public int foundDevicesCount() {\n return mBleMACs.size();\n }", "title": "" }, { "docid": "56d818f8a1aad74d489f06bd258c1a69", "score": "0.53371507", "text": "int getMessagesCount();", "title": "" }, { "docid": "c4188288c818430ae39d5c234f55a60c", "score": "0.533702", "text": "public int getNofDownloads() {\n return this.downloadEvents.size();\n }", "title": "" }, { "docid": "40daa74cdf681b9d90809c36ff1c5e6b", "score": "0.5330777", "text": "public int size()\n {\n return messageCount.get();\n }", "title": "" }, { "docid": "def97ab7a4284fa2e14a2059f169e79c", "score": "0.53294647", "text": "public int countForeignHosts() {\n int retval = 0;\n for (ForeignHost host : m_foreignHosts.values())\n if ((host != null) && (host.isUp()))\n retval++;\n return retval;\n }", "title": "" } ]
6c8e3d67c949b77531e0c1faa2b6a3a8
Use Dwicket.replace.expected.results=true to automatically replace the expected output file.
[ { "docid": "f395a3bbcd88f8d37e320cd60fa725df", "score": "0.0", "text": "public <T extends Page> void executeTest(final Class<?> testClass, final Class<T> pageClass,\n\t\tfinal String filename) throws Exception\n\t{\n\t\tlog.info(\"=== \" + pageClass.getName() + \" ===\");\n\n\t\tstartPage(pageClass);\n\t\tassertRenderedPage(pageClass);\n\t\tassertResultPage(testClass, filename);\n\t}", "title": "" } ]
[ { "docid": "5f91dae5360b1887604600da8d70d4d3", "score": "0.595581", "text": "public void testSubstituteStringTest() throws Exception {\n\n SampleContest sampleContest = new SampleContest();\n IInternalContest contest = sampleContest.createContest(2, 2, 12, 12, true);\n IInternalController controller = sampleContest.createController(contest, true, false);\n \n String resultsFileName = ExecuteUtilities.createResultsFileName(56);\n // this is used by the createMockFileContents to write the file to disk\n String outFilename = getOutputDataDirectory()+File.separator+\"teams.output.txt\";\n\n // but in the testData use it without a path\n String[] testData = { //\n // input;expected\n \"A foggy bottom day runs far;A foggy bottom day runs far\", //\n Constants.DEFAULT_PC2_VALIDATOR_COMMAND + \";edu.csus.ecs.pc2.validator.pc2Validator.PC2Validator sumit.dat teams.output.txt sumit.ans \"+resultsFileName+\" \", // \n \"{:ansfile};sumit.ans\", // \n \"{:basename};Sumit\", // \n \"{:executetime};45321\", // \n \"{:exitvalue};45\", // \n \"{:infile};sumit.dat\", // \n \"{:language};1\", // \n \"{:language};1\", // \n \"{:languageletter};A\", // \n \"{:languageletter};A\", // \n \"{:languagename};java\", // \n \"{:languagename};java\", // \n \"{:mainfile};Sumit.java\", //\n \"{:outfile};teams.output.txt\", // \n \"{:problem};1\", // \n \"{:problemletter};A\", // \n \"{:siteid};2\", // \n \"{:teamid};1\", // \n \"{files};Sumit.java\", // \n \"{:timelimit};30\", // \n \"{:validator};edu.csus.ecs.pc2.validator.pc2Validator.PC2Validator\", // \n \"{:pc2home};\"+ExecuteUtilities.getPC2Home(), // \n };\n\n Account[] teams = SampleContest.getTeamAccounts(contest);\n\n Problem[] problems = contest.getProblems();\n Language[] languages = contest.getLanguages();\n\n Problem problem = problems[0];\n Language language = languages[0];\n \n ProblemDataFiles dataFiles = createMockDataFiles (problem, \"sumit\");\n \n setPC2Validator(problem);\n\n ClientId submitter = teams[0].getClientId();\n\n Run run = new Run(submitter, language, problem);\n RunFiles runFiles = new RunFiles(run, getSamplesSourceFilename(\"Sumit.java\"));\n\n ExecuteUtilities executeUtilities = new ExecuteUtilities(contest, controller, run, runFiles, problem, language);\n executeUtilities.setProblemDataFiles(dataFiles);\n executeUtilities.setResultsFileName(resultsFileName);\n \n ExecutionData executionData = createMockExecutionData(outFilename);\n executeUtilities.setExecutionData(executionData);\n\n for (String line : testData) {\n\n String[] fields = line.split(\";\");\n String input = fields[0];\n String expected = fields[1];\n\n String actual = executeUtilities.substituteAllStrings(input);\n assertEquals(\"Expecting substitution for '\"+input+\"'\", expected, actual);\n\n// System.out.println(\"\\\"\" + input + \";\" + actual + \"\\\", // \");\n\n }\n\n }", "title": "" }, { "docid": "8af4550ae7c460e9f68255f051aa0b10", "score": "0.582879", "text": "@Override\n\tprotected void updateTestDirectory() {\n\t}", "title": "" }, { "docid": "e51cd2ef80862d1df2287c8a7bd30e3d", "score": "0.57048255", "text": "private void outputResults() {\n \t\tStringWriter writer;\n \t\tModel tempModel;\n \n \t\tLOGGER.debug(\"ontModelNoInference [\" + ontModelNoInference + \"]\");\n \t\tLOGGER.debug(\"ontModel [\" + ontModel + \"]\");\n \t\ttempModel = ontModel.difference(ontModelNoInference);\n \n \t\twriter = new StringWriter();\n \t\ttempModel.write(writer, assertionLanguage);\n \n \t\tresults.setText(writer.toString());\n \t}", "title": "" }, { "docid": "4b15c1c15c253a8da22c2fd0ae1e5037", "score": "0.5674908", "text": "@Test\n public void testitNonMatchingLayout() throws Exception {\n File testDir = ResourceExtractor.simpleExtractResources(getClass(), \"/mng-4367\");\n\n Verifier verifier = newVerifier(testDir.getAbsolutePath());\n verifier.setAutoclean(false);\n verifier.deleteArtifacts(\"org.apache.maven.its.mng4367\");\n\n Map<String, String> filterProps = verifier.newDefaultFilterMap();\n filterProps.put(\"@repourl@\", filterProps.get(\"@baseurl@\") + \"/repo\");\n filterProps.put(\"@mirrorurl@\", filterProps.get(\"@baseurl@\") + \"/void\");\n filterProps.put(\"@layouts@\", \"foo\");\n\n verifier.addCliArgument(\"-s\");\n verifier.addCliArgument(\"settings-c.xml\");\n verifier.filterFile(\"settings-template.xml\", \"settings-c.xml\", \"UTF-8\", filterProps);\n verifier.setLogFileName(\"log-c.txt\");\n verifier.addCliArgument(\"validate\");\n verifier.execute();\n verifier.verifyErrorFreeLog();\n\n verifier.verifyArtifactPresent(\"org.apache.maven.its.mng4367\", \"dep\", \"0.1\", \"jar\");\n }", "title": "" }, { "docid": "3d2703a405853e65d7d6ae6c2ce16878", "score": "0.55945855", "text": "@Test\n public void expectedFilesWereCreatedTest() {\n String remedy = \"To fix this, either determine why these expected\"\n + \" files are not being generated or remove these\"\n + \" files from this test's expected output directory: \"\n + directoryWithExpectedFiles + \"/\\n\";\n\n verifyRelatedFiles(expectedFiles, directoryWithExpectedFiles,\n outputDirectory, filesExist,\n \"Some files were expected but not generated\", remedy);\n }", "title": "" }, { "docid": "47e379c5a9d0629c165fda0e44b65743", "score": "0.5592534", "text": "public void testRun() throws Exception {\n StringWriter sw = new StringWriter();\n PrintWriter pw = new PrintWriter(sw, true);\n final int MAX_DOCS = atLeast(225);\n doTest(random(), pw, false, MAX_DOCS);\n pw.close();\n sw.close();\n String multiFileOutput = sw.toString();\n // System.out.println(multiFileOutput);\n\n sw = new StringWriter();\n pw = new PrintWriter(sw, true);\n doTest(random(), pw, true, MAX_DOCS);\n pw.close();\n sw.close();\n String singleFileOutput = sw.toString();\n\n assertEquals(multiFileOutput, singleFileOutput);\n }", "title": "" }, { "docid": "c8782687eb174b64c252e9401ff0b018", "score": "0.55816495", "text": "public void testWrite() throws IOException {\n\t\tString filename_test = \"test/export.html\";\n\t\t\n\t\t// export test data to html file\n\t\tHtmlExport he = new HtmlExport();\n\t\the.setTitle(\"Html Export\");\n\t\ttry {\n\t\t\the.write(studenten, filename_test);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t// check if export is correct\n\n\t\tInputStream ipCorrect = getClass().getResourceAsStream(\"/test/html-export.html\");\n\n\t\tString correct = readFile(new InputStreamReader(ipCorrect));\n\t\tString test = readFile(new FileReader(filename_test));\n\t\tassertEquals(correct, test);\n\t\t\n\t\tipCorrect.close();\n\t\t\n\t\t// delete file\n\t\tif(new File(filename_test).delete() == false) {\n\t\t\tSystem.out.println(\"Could delete File.\");\n\t\t}\n\t}", "title": "" }, { "docid": "833b6ed56a34e907350bfdb88d31bb30", "score": "0.5576264", "text": "private void ImproperlyFormedTest(String fileStepIndexForLog) {\r\n pageHelper.UpdateTestResults(\"Imporperly formatted test for step \" + fileStepIndexForLog);\r\n }", "title": "" }, { "docid": "154f3bc82db999310d21e5ba94ad0a07", "score": "0.5541104", "text": "@Test\n public void createdFilesWereExpectedTest() {\n String remedy = \"To fix this, either determine why these unexpected files are\"\n + \" being generated or account for these files by creating them\"\n + \" in the expected output directory for this test: \"\n + directoryWithExpectedFiles + \"/\\n\";\n\n verifyRelatedFiles(generatedFiles, outputDirectory,\n directoryWithExpectedFiles, filesExist,\n \"Some files were generated but not expected\", remedy);\n }", "title": "" }, { "docid": "e3c49847b3ea9c675f441eadb1b682c0", "score": "0.550589", "text": "@Test\n public void testSoatestWarCalc3FunctionalXUnitTransform()\n {\n soatestXunitTransformation(TEST_RESOURCES + \"xml/soatestWarCalc3.xml\", \"soatestWarCalc3-output.xml\");\n }", "title": "" }, { "docid": "1adbbef7befb230abcc567a41d693fbc", "score": "0.548068", "text": "@Test\r\n\tpublic void testNoForceOutputUpToDate() throws InterruptedException {\n\t\txxslt(new File(\"src/test/resources/testxslt/testIn.xml\"), new File(\"src/test/resources/testxslt/testStyle.xsl\"),\r\n\t\t\t\tnew File(\"target/testxslt/test.txt\"), null, true, false);\r\n\t\tlong outLastModifiedBefore = new File(\"target/testxslt/test.txt\").lastModified();\r\n\t\t// wait a blink of time\r\n\t\tThread.sleep(10);\r\n\t\t// try again without force => should not execute\r\n\t\txxslt(new File(\"src/test/resources/testxslt/testIn.xml\"), new File(\"src/test/resources/testxslt/testStyle.xsl\"),\r\n\t\t\t\tnew File(\"target/testxslt/test.txt\"), null, false, false);\r\n\t\tlong outLastModifiedAfter = new File(\"target/testxslt/test.txt\").lastModified();\r\n\t\tassertEquals(outLastModifiedBefore, outLastModifiedAfter);\r\n\t}", "title": "" }, { "docid": "132bb29271845f02844a48e36b5b9bb7", "score": "0.5455624", "text": "@Test\n public void testPrepareOutputFile() {\n bigDataGenCLI.outputFilename = \"someValidFileName.csv\";\n assertFalse( bigDataGenCLI.prepareOutputFile() );\n }", "title": "" }, { "docid": "27528a4a52952774122ce72b3060f0f9", "score": "0.54226357", "text": "@Test\n public void defaultOutputDocument() throws Exception {\n MultiTestDocument d1 = TestHelper.getMultiTestDocument(false, false);\n assertTrue(d1.getCanContinue());\n assertThat(d1.getDocumentList(), Matchers.hasSize(1));\n\n assertThat(d1.getDocumentList().get(0).getTestText(), Matchers.is(\"Changed name\"));\n }", "title": "" }, { "docid": "b834ce1a479e0e76d355dcfa58947b82", "score": "0.5386014", "text": "private static void updateResultsToFile(String response){\n \tBufferedWriter bw = null;\n \ttry{ \t\t\n \t\t\n \t\tFile outFile = new File(props.getProperty(OUT_FILE_LOCATION));\n \t\tSystem.out.println(\"Output file deletion status: \" + outFile.delete());\n \t\toutFile.createNewFile();\n \t\tSystem.out.println(\"Output file location: \" + outFile.getCanonicalPath());\n \t\tbw = new BufferedWriter(new FileWriter(outFile));\n \t\tStringBuffer strBuf = new StringBuffer();\n \t\tstrBuf.append(response);\n \t\tbw.write(strBuf.toString());\n \t\tbw.close(); \t\t \t\t\n \t}catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}finally{\n\t\t\ttry{\n\t\t\t\tif (bw != null){\n\t\t\t\t\tbw.close();\n\t\t\t\t\tbw = null;\n\t\t\t\t}\n\t\t\t}catch (Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\t\t\t\n\t\t}\t\t\n }", "title": "" }, { "docid": "fb2e27b791de839c1595fb59bc0f75fe", "score": "0.53685", "text": "@Test\n public void SaveExtruderTest() throws IOException {\n String actual;\n\n String path = \"./Database/Extruders/\"+extruder.getName()+\".xml\";\n SaveExtruderConfigurationCommand instance = new SaveExtruderConfigurationCommand(extruder);\n instance.execute();\n assertTrue((Boolean)instance.getResult());\n file = new File(path);\n actual = FileUtils.readFileToString(file);\n actual = actual.substring(0, actual.length()-1);\n if(!expected.equals(actual)) System.out.printf(\"Test \"+this.getClass().getName()+\" expected: \"+ expected+\"\\nGot: \"+actual);\n assertTrue(expected.equals(actual));\n }", "title": "" }, { "docid": "c8668bd875553a2ab8bf1f6a54da1f00", "score": "0.5354354", "text": "@ParameterizedTest(name = \"{index} {0} with includeSuiteSetup={1}\")\n @MethodSource(\"de.com.lio.util.TestUtils#testArguments\")\n void renderHtml(PageData pageData, boolean includeSuiteSetup, String expectedResult) {\n String actualResult = null;\n //The loop is only to ensure that there are no side-effects between the different invocations.\n for (int i = 0; i < EXECUTION_TIMES; i++) {\n actualResult = RefactoringTwo.renderHtml(pageData, includeSuiteSetup);\n }\n\n //then\n Assertions.assertNotNull(actualResult);\n Assertions.assertEquals(expectedResult, actualResult);\n }", "title": "" }, { "docid": "2b8a603c12f76a1e914c78481f3fc516", "score": "0.53394693", "text": "@Test\r\n\tpublic void testNoForceOutputNotUpToDateIn() throws InterruptedException, IOException {\n\t\txxslt(new File(\"src/test/resources/testxslt/testIn.xml\"), new File(\"src/test/resources/testxslt/testStyle.xsl\"),\r\n\t\t\t\tnew File(\"target/testxslt/test.txt\"), null, true, false);\r\n\t\tlong outLastModifiedBefore = new File(\"target/testxslt/test.txt\").lastModified();\r\n\t\t// wait a blink of time\r\n\t\tThread.sleep(10);\r\n\t\tFileUtils.touch(new File(\"src/test/resources/testxslt/testIn.xml\"));\r\n\t\t// try again without force: should execute\r\n\t\txxslt(new File(\"src/test/resources/testxslt/testIn.xml\"), new File(\"src/test/resources/testxslt/testStyle.xsl\"),\r\n\t\t\t\tnew File(\"target/testxslt/test.txt\"), null, false, false);\r\n\t\tlong outLastModifiedAfter = new File(\"target/testxslt/test.txt\").lastModified();\r\n\t\tassertTrue(outLastModifiedAfter > outLastModifiedBefore);\r\n\t}", "title": "" }, { "docid": "d13e4ae3e6f24f49a0b8f16c8a65709f", "score": "0.5331465", "text": "@Test\n void test()\n throws ParserConfigurationException, SAXException, IOException, TransformerException,\n URISyntaxException {\n String testPathIn = \"simpleXML01.xml\";\n Path pathOut = directory.resolve(\"a file name with_spaces_and_underscores_.xml\");\n\n TestLoader loader = TestLoader.createFromMavenWorkingDirectory();\n\n Document docIn = loader.openXmlFromTestPath(testPathIn);\n\n XMLWriter.writeXMLToFile(docIn, pathOut);\n\n Document docOut = TestLoader.openXmlAbsoluteFilePath(pathOut);\n\n assertTrue(CompareXML.areDocumentsEqual(docIn, docOut));\n }", "title": "" }, { "docid": "bc8238eb231aea98a3df55f41f7d8f99", "score": "0.5328886", "text": "public void test087_per_source_output_directory() {\n String output1 = \"bin1\", output2 = \"bin2\";\n this.runNegativeTest(new String[] { \"Z.java\", \"public class Z {\\n\" + \" X f;\\n\" + \"}\" }, \"\\\"\" + OUTPUT_DIR + File.separator + \"Z.java\\\"\" + \" -1.5\" + \" -classpath \\\"\" + OUTPUT_DIR + File.separator + \"X.jar\\\"\" + \"[-d \\\"\" + OUTPUT_DIR + File.separator + output1 + \"\\\"]\" + \" -d \\\"\" + OUTPUT_DIR + File.separator + output2 + \"\\\"\", \"\", \"unexpected destination path entry for file: ---OUTPUT_DIR_PLACEHOLDER---/X.jar\\n\", true);\n }", "title": "" }, { "docid": "3fc9e6a7d25192bc4348497dcad6cbd9", "score": "0.5304503", "text": "public void test106_per_source_output_directory() {\n this.runNegativeTest(new String[] { \"X.java\", \"public class X {\\n\" + \"}\" }, \"\\\"\" + OUTPUT_DIR + File.separator + \"X.java\\\"\" + \" -1.5\" + \" -cp \\\"\" + OUTPUT_DIR + \"\\\"\" + \"[-d dir1\" + File.pathSeparator + \"dir2]\", \"\", \"incorrect destination path entry: ---OUTPUT_DIR_PLACEHOLDER---\" + \"[-d dir1\" + File.pathSeparator + \"dir2]\\n\", true);\n }", "title": "" }, { "docid": "7d58d4acf1675f2f149339558ac96f02", "score": "0.52918553", "text": "public void sendTestsResultToOutput() throws FrameworkException {\n\t\t//not empty tests result will write to output file\n\t\tif (!result.isEmpty() && result != null) {\n\t\t\ttry {\n\t\t\t\tfileWorker.writeTestsResultToFile(result);\n\t\t\t\tlogger.info(MsgManager.getInst().getStr(FINISHED));\n\t\t\t} catch (FileException e) {\n\t\t\t\tlogger.error(MsgManager.getInst().getStr(RESULT_WRITING_ERROR));\n\t\t\t\tthrow new FrameworkException(MsgManager.getInst().getStr(RESULT_WRITING_ERROR), e);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "c3f382408a5fa95f4a5bdbb6b4f4f42d", "score": "0.527228", "text": "@Test\n public void testOutput()\n {\n System.out.println(\"testOutput\");\n\n System.out.println(instance.toString(true));\n String expResult = \"<head></head>\";\n String result = instance.toString(true);\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "830c2723b10813b4ad59df3f5105dec8", "score": "0.5260752", "text": "@Before\n public void setUp() throws Exception {\n System.setOut(new PrintStream(outContent));\n simulation = SystemHierarchy.makeFileSystemSimulation();\n }", "title": "" }, { "docid": "830c2723b10813b4ad59df3f5105dec8", "score": "0.5260752", "text": "@Before\n public void setUp() throws Exception {\n System.setOut(new PrintStream(outContent));\n simulation = SystemHierarchy.makeFileSystemSimulation();\n }", "title": "" }, { "docid": "145bc5fa82c19ced84600159ed968ce6", "score": "0.5243474", "text": "public void test013() {\n String logFileName = OUTPUT_DIR + File.separator + \"log.xml\";\n this.runNegativeTest(new String[] { \"X.java\", \"/** */\\n\" + \"public class X {\\n\" + \"\tZork z;\\n\" + \"}\" }, \"\\\"\" + OUTPUT_DIR + File.separator + \"X.java\\\"\" + \" -1.5 -proceedOnError\" + \" -log \\\"\" + logFileName + \"\\\" -d \\\"\" + OUTPUT_DIR + \"\\\"\", \"\", \"----------\\n\" + \"1. ERROR in ---OUTPUT_DIR_PLACEHOLDER---/X.java (at line 3)\\n\" + \"\tZork z;\\n\" + \"\t^^^^\\n\" + \"Zork cannot be resolved to a type\\n\" + \"----------\\n\" + \"1 problem (1 error)\", true);\n String logContents = Util.fileContent(logFileName);\n String expectedLogContents = \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\\n\" + \"<!DOCTYPE compiler PUBLIC \\\"-//Eclipse.org//DTD Eclipse JDT 3.2.004 Compiler//EN\\\" \\\"http://www.eclipse.org/jdt/core/compiler_32_004.dtd\\\">\\n\" + \"<compiler copyright=\\\"{2}\\\" name=\\\"{1}\\\" version=\\\"{3}\\\">\\n\" + \"\t<command_line>\\n\" + \"\t\t<argument value=\\\"---OUTPUT_DIR_PLACEHOLDER---{0}X.java\\\"/>\\n\" + \"\t\t<argument value=\\\"-1.5\\\"/>\\n\" + \"\t\t<argument value=\\\"-proceedOnError\\\"/>\\n\" + \"\t\t<argument value=\\\"-log\\\"/>\\n\" + \"\t\t<argument value=\\\"---OUTPUT_DIR_PLACEHOLDER---{0}log.xml\\\"/>\\n\" + \"\t\t<argument value=\\\"-d\\\"/>\\n\" + \"\t\t<argument value=\\\"---OUTPUT_DIR_PLACEHOLDER---\\\"/>\\n\" + \"\t</command_line>\\n\" + \"\t<options>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations\\\" value=\\\"disabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.annotation.nonnull\\\" value=\\\"org.eclipse.jdt.annotation.NonNull\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.annotation.nonnull.secondary\\\" value=\\\"\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.annotation.nonnullbydefault\\\" value=\\\"org.eclipse.jdt.annotation.NonNullByDefault\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.annotation.nonnullbydefault.secondary\\\" value=\\\"\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.annotation.nullable\\\" value=\\\"org.eclipse.jdt.annotation.Nullable\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.annotation.nullable.secondary\\\" value=\\\"\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.annotation.nullanalysis\\\" value=\\\"disabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode\\\" value=\\\"disabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.codegen.lambda.genericSignature\\\" value=\\\"do not generate\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.codegen.methodParameters\\\" value=\\\"do not generate\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.codegen.shareCommonFinallyBlocks\\\" value=\\\"disabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.codegen.targetPlatform\\\" value=\\\"1.5\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.codegen.unusedLocal\\\" value=\\\"optimize out\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.compliance\\\" value=\\\"1.5\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.debug.lineNumber\\\" value=\\\"generate\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.debug.localVariable\\\" value=\\\"do not generate\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.debug.sourceFile\\\" value=\\\"generate\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.doc.comment.support\\\" value=\\\"disabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.emulateJavacBug8031744\\\" value=\\\"enabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.generateClassFiles\\\" value=\\\"enabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.maxProblemPerUnit\\\" value=\\\"100\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.annotationSuperInterface\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.assertIdentifier\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.autoboxing\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.comparingIdentical\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.deadCode\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.deadCodeInTrivialIfStatement\\\" value=\\\"disabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.deprecation\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode\\\" value=\\\"disabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod\\\" value=\\\"disabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.discouragedReference\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.emptyStatement\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.enumIdentifier\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.fallthroughCase\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.fatalOptionalError\\\" value=\\\"disabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.fieldHiding\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.finalParameterBound\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.forbiddenReference\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts\\\" value=\\\"disabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.indirectStaticAccess\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.invalidJavadoc\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.invalidJavadocTags\\\" value=\\\"disabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef\\\" value=\\\"disabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef\\\" value=\\\"disabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility\\\" value=\\\"public\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.localVariableHiding\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.methodWithConstructorName\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.missingDefaultCase\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault\\\" value=\\\"disabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.missingJavadocComments\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding\\\" value=\\\"disabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility\\\" value=\\\"public\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription\\\" value=\\\"return_tag\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.missingJavadocTags\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.missingJavadocTagsMethodTypeParameters\\\" value=\\\"disabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding\\\" value=\\\"disabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility\\\" value=\\\"public\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation\\\" value=\\\"enabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.missingSerialVersion\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.noEffectAssignment\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.nonnullTypeVariableFromLegacyInvocation\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict\\\" value=\\\"error\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.nullReference\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.nullSpecViolation\\\" value=\\\"error\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.overridingMethodWithoutSuperInvocation\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.parameterAssignment\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.pessimisticNullAnalysisForFreeTypeVariables\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.potentialNullReference\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.rawTypeReference\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.redundantNullCheck\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.redundantSuperinterface\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.specialParameterHidingField\\\" value=\\\"disabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.staticAccessReceiver\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors\\\" value=\\\"disabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.suppressWarnings\\\" value=\\\"enabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields\\\" value=\\\"disabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.tasks\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.typeParameterHiding\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems\\\" value=\\\"enabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.unclosedCloseable\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.unhandledWarningToken\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.uninternedIdentityComparison\\\" value=\\\"disabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.unnecessaryElse\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable\\\" value=\\\"enabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference\\\" value=\\\"enabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding\\\" value=\\\"disabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.unusedImport\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.unusedLabel\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.unusedLocal\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.unusedParameter\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference\\\" value=\\\"enabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract\\\" value=\\\"disabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete\\\" value=\\\"disabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.unusedPrivateMember\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.unusedTypeArgumentsForMethodInvocation\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.unusedTypeParameter\\\" value=\\\"ignore\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.unusedWarningToken\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast\\\" value=\\\"warning\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.processAnnotations\\\" value=\\\"disabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.source\\\" value=\\\"1.5\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.storeAnnotations\\\" value=\\\"disabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.taskCaseSensitive\\\" value=\\\"enabled\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.taskPriorities\\\" value=\\\"\\\"/>\\n\" + \"\t\t<option key=\\\"org.eclipse.jdt.core.compiler.taskTags\\\" value=\\\"\\\"/>\\n\" + \"\t</options>\\n\" + \"\t<classpaths>NORMALIZED SECTION</classpaths>\\n\" + \"\t<sources>\\n\" + \"\t\t<source output=\\\"---OUTPUT_DIR_PLACEHOLDER---\\\" path=\\\"---OUTPUT_DIR_PLACEHOLDER---\" + File.separator + \"X.java\\\">\\n\" + \"\t\t\t<problems errors=\\\"1\\\" problems=\\\"1\\\" warnings=\\\"0\\\">\\n\" + \"\t\t\t\t<problem categoryID=\\\"40\\\" charEnd=\\\"28\\\" charStart=\\\"25\\\" id=\\\"UndefinedType\\\" line=\\\"3\\\" problemID=\\\"16777218\\\" severity=\\\"ERROR\\\">\\n\" + \"\t\t\t\t\t<message value=\\\"Zork cannot be resolved to a type\\\"/>\\n\" + \"\t\t\t\t\t<source_context sourceEnd=\\\"3\\\" sourceStart=\\\"0\\\" value=\\\"Zork z;\\\"/>\\n\" + \"\t\t\t\t\t<arguments>\\n\" + \"\t\t\t\t\t\t<argument value=\\\"Zork\\\"/>\\n\" + \"\t\t\t\t\t</arguments>\\n\" + \"\t\t\t\t</problem>\\n\" + \"\t\t\t</problems>\\n\" + \"\t\t\t<classfile path=\\\"---OUTPUT_DIR_PLACEHOLDER---{0}X.class\\\"/>\\n\" + \"\t\t</source>\\n\" + \"\t</sources>\\n\" + \"\t<stats>\\n\" + \"\t\t<problem_summary errors=\\\"1\\\" problems=\\\"1\\\" tasks=\\\"0\\\" warnings=\\\"0\\\"/>\\n\" + \"\t</stats>\\n\" + \"</compiler>\\n\";\n String normalizedExpectedLogContents = MessageFormat.format(expectedLogContents, new Object[] { File.separator, MAIN.bind(\"compiler.name\"), MAIN.bind(\"compiler.copyright\"), MAIN.bind(\"compiler.version\") });\n String normalizedLogContents = xmlLogsNormalizer.normalized(logContents);\n boolean compareOK = normalizedExpectedLogContents.equals(normalizedLogContents);\n if (!compareOK) {\n System.out.println(getClass().getName() + '#' + getName());\n System.out.println(\"------------ [START LOG] ------------\\n\" + \"------------- Expected: -------------\\n\" + expectedLogContents + \"\\n------------- but was: -------------\\n\" + xmlLogsNormalizer.normalized(logContents) + \"\\n--------- (cut and paste:) ----------\\n\" + Util.displayString(xmlLogsNormalizer.normalized(logContents)) + \"\\n------------- [END LOG] -------------\\n\");\n assertEquals(\"Unexpected log contents\", normalizedExpectedLogContents, normalizedLogContents);\n }\n }", "title": "" }, { "docid": "4ca9d576ab029783b88f6363fb7fda3b", "score": "0.52421516", "text": "public void testGenerate() throws Exception {\n final SyndFeedInput input = new SyndFeedInput();\n\n final SyndFeed feed = input.build(new File(super.getTestFile(\"index.rss\")));\n final List entries = feed.getEntries();\n for (int i = 0; i < entries.size(); i++) {\n System.out.println(((SyndEntry) entries.get(i)).getModule(PhotocastModule.URI));\n }\n final SyndFeedOutput output = new SyndFeedOutput();\n output.output(feed, new File(\"target/index.rss\"));\n final SyndFeed feed2 = input.build(new File(\"target/index.rss\"));\n final List entries2 = feed2.getEntries();\n for (int i = 0; i < entries.size(); i++) {\n assertEquals(\"Module test\", ((SyndEntry) entries.get(i)).getModule(PhotocastModule.URI),\n ((SyndEntry) entries2.get(i)).getModule(PhotocastModule.URI));\n }\n }", "title": "" }, { "docid": "564d7911fafdc674e52998618b7cec16", "score": "0.5239314", "text": "public void test078_per_source_output_directory() {\n this.runNegativeTest(new String[] { \"X.java\", \"public class X {\\n\" + \"}\" }, \"\\\"\" + OUTPUT_DIR + File.separator + \"X.java\\\"\" + \" -1.5\" + \" -classpath \\\"\" + OUTPUT_DIR + \"\\\"\" + \"[-d dir][~**/internal/*]\", \"\", \"access rules cannot follow destination path entries: ---OUTPUT_DIR_PLACEHOLDER---[-d dir][~**/internal/*]\\n\", true);\n }", "title": "" }, { "docid": "4c5e258e94a3c6001618289ef3249606", "score": "0.5228806", "text": "@Test\n public void testWriteToFile()\n {\n \n }", "title": "" }, { "docid": "4647b5cae637afa218f62079c33df488", "score": "0.5226408", "text": "@Test\n public void testitSpecificLayouts() throws Exception {\n File testDir = ResourceExtractor.simpleExtractResources(getClass(), \"/mng-4367\");\n\n Verifier verifier = newVerifier(testDir.getAbsolutePath());\n verifier.setAutoclean(false);\n verifier.deleteArtifacts(\"org.apache.maven.its.mng4367\");\n\n Map<String, String> filterProps = verifier.newDefaultFilterMap();\n filterProps.put(\"@repourl@\", filterProps.get(\"@baseurl@\") + \"/void\");\n filterProps.put(\"@mirrorurl@\", filterProps.get(\"@baseurl@\") + \"/repo\");\n filterProps.put(\"@layouts@\", \"default,legacy\");\n\n verifier.addCliArgument(\"-s\");\n verifier.addCliArgument(\"settings-b.xml\");\n verifier.filterFile(\"settings-template.xml\", \"settings-b.xml\", \"UTF-8\", filterProps);\n verifier.setLogFileName(\"log-b.txt\");\n verifier.addCliArgument(\"validate\");\n verifier.execute();\n verifier.verifyErrorFreeLog();\n\n verifier.verifyArtifactPresent(\"org.apache.maven.its.mng4367\", \"dep\", \"0.1\", \"jar\");\n }", "title": "" }, { "docid": "c9db5aa262246eee10b305ae0b46c01d", "score": "0.5223181", "text": "public void test102_per_source_output_directory() {\n String source1 = \"src1\", output1 = \"bin1\";\n this.runNegativeTest(new String[] { source1 + File.separator + \"/X.java\", \"public class X {}\" }, \" \\\"\" + OUTPUT_DIR + File.separator + source1 + \"\\\"\" + \"[-d \\\"\" + OUTPUT_DIR + File.separator + output1 + \"\\\"\" + \" -1.5\" + \" -d none\", \"\", \"incorrect destination path entry: [-d ---OUTPUT_DIR_PLACEHOLDER---/bin1\\n\", true);\n }", "title": "" }, { "docid": "28f14e66ddaa4a8ed3b66e879d4a74f3", "score": "0.5220568", "text": "abstract protected void outputResults();", "title": "" }, { "docid": "cec464ec93d8c0dfbc2482ab3f6b0b1d", "score": "0.5214921", "text": "public void test098_per_source_output_directory() {\n String source1 = \"src1\";\n this.runNegativeTest(new String[] { source1 + File.separator + \"X.java\", \"public class X {\\n\" + \" Zork z;\\n\" + \"}\" }, \"\\\"\" + OUTPUT_DIR + File.separator + source1 + \"\\\"\" + \"[~**/internal/*]\" + \" -1.5\", \"\", \"unsupported encoding format: ~**/internal/*\\n\", true);\n }", "title": "" }, { "docid": "b861d4cc18f5533aebd41c45966730f1", "score": "0.5211408", "text": "public void test103_per_source_output_directory() {\n String source1 = \"src1\", output1 = \"bin1\";\n this.runNegativeTest(new String[] { source1 + File.separator + \"/X.java\", \"public class X {}\" }, \" \\\"\" + OUTPUT_DIR + File.separator + source1 + \"\\\"\" + \" [-d \\\"\" + OUTPUT_DIR + File.separator + output1 + \"\\\"]\" + \" -1.5\", \"\", \"unexpected bracket: [-d\\n\", true);\n }", "title": "" }, { "docid": "271d640ced2d300c93e4772972298f3e", "score": "0.5211213", "text": "@Test\r\n\t @Ignore\r\n\t public void nwchemOut2XML() {\n\t }", "title": "" }, { "docid": "95d1e28a79e4b60311b67c340cea87fe", "score": "0.5197964", "text": "@Test(timeout = TIMEOUT)\n public void testNoWriteDirectory() {\n \t\n \tString configFile = \"test/configurations/search-testouttodir.json\";\n \t\t\n \ttry {\n \t\tProjectTest.copyConfigFile(configFile, ProjectTest.DEFAULT_CONFIG_DESTINATION);\n \t} catch(IOException ioe) {\n \t\tfail(\"Failed to copy configuration to correct location.\");\n \t}\n\n \t\n\n\n try {\n Path path = Files.createTempDirectory(Paths.get(\".\").normalize(), \"temp\");\n path.toFile().deleteOnExit();\n\n\n Driver.main(ProjectTest.DEFAULT_ARGS);\n }\n catch (Exception e) {\n StringWriter writer = new StringWriter();\n e.printStackTrace(new PrintWriter(writer));\n\n Assert.fail(String.format(\n \"%n\" + \"Test Case: %s%n\" + \"Exception: %s%n\",\n \"No Write Directory\", writer.toString()));\n }\n }", "title": "" }, { "docid": "778582703dd129c7199dc0d0266a2ebd", "score": "0.51939976", "text": "private void preciseOutput(String output) {\n // TODO(felix8a): parser warnings here should be fatal?\n Node asHtml = html(output);\n Node asXml = xml(output);\n assertIdenticalRender(asHtml, asXml);\n assertIdenticalStructure(asHtml, asXml);\n }", "title": "" }, { "docid": "224b91e8fb4dd1facc123bf3566d2dcc", "score": "0.51888275", "text": "public void test093_per_source_output_directory() {\n String source1 = \"src1\", output1 = \"bin1\";\n this.runConformTest(new String[] { source1 + File.separator + \"/X.java\", \"public class X {}\", \"Z.java\", \"public class Z {\\n\" + \" X f;\\n\" + \"}\" }, \"\\\"\" + OUTPUT_DIR + File.separator + \"Z.java\\\"\" + \" \\\"\" + OUTPUT_DIR + File.separator + source1 + \"\\\"\" + \"[-d \\\"\" + OUTPUT_DIR + File.separator + output1 + \"\\\"]\" + \" -1.5\", \"\", \"\", true);\n String fileName = OUTPUT_DIR + File.separator + output1 + File.separator + \"X.class\";\n assertTrue(\"missing file: \" + fileName, (new File(fileName)).exists());\n fileName = OUTPUT_DIR + File.separator + source1 + File.separator + \"X.class\";\n assertFalse(\"extraneous file: \" + fileName, (new File(fileName)).exists());\n fileName = OUTPUT_DIR + File.separator + \"Z.class\";\n assertTrue(\"missing file: \" + fileName, (new File(fileName)).exists());\n }", "title": "" }, { "docid": "08a83b71d7e4fb147d6def48c0f318db", "score": "0.51860243", "text": "@Test\n public void testSoatest9DesktopCalc3FunctionalXUnitTransform()\n {\n soatestXunitTransformation( TEST_RESOURCES + \"xml/soatestDesktopCalc3.xml\", \"soatestDesktopCalc3-output.xml\");\n }", "title": "" }, { "docid": "615b19672e3a46c76731292c6c2d86e9", "score": "0.5183819", "text": "public void test101_per_source_output_directory() {\n this.runNegativeTest(new String[] { \"X.java\", \"public class X {\\n\" + \"}\" }, \"\\\"\" + OUTPUT_DIR + File.separator + \"X.java\\\"\" + \" -1.5\" + \" -endorseddirs \\\"\" + OUTPUT_DIR + \"\\\"\" + \"[-d dir]\", \"\", \"unexpected destination path entry in -endorseddirs option\\n\", true);\n }", "title": "" }, { "docid": "2cf88f45959f15544f29953b7a0350e9", "score": "0.51796734", "text": "public void test015() {\n String logFileName = OUTPUT_DIR + File.separator + \"log\";\n this.runNegativeTest(new String[] { \"X.java\", \"/** */\\n\" + \"public class X {\\n\" + \"\tZork z;\\n\" + \"}\" }, \"\\\"\" + OUTPUT_DIR + File.separator + \"X.java\\\"\" + \" -1.5 -proceedOnError\" + \" -log \\\"\" + logFileName + \"\\\" -d \\\"\" + OUTPUT_DIR + \"\\\"\", \"\", \"----------\\n\" + \"1. ERROR in ---OUTPUT_DIR_PLACEHOLDER---/X.java (at line 3)\\n\" + \"\tZork z;\\n\" + \"\t^^^^\\n\" + \"Zork cannot be resolved to a type\\n\" + \"----------\\n\" + \"1 problem (1 error)\\n\", false);\n String logContents = Util.fileContent(logFileName);\n String expectedLogContents = \"----------\\n\" + \"1. ERROR in ---OUTPUT_DIR_PLACEHOLDER---\" + File.separator + \"X.java (at line 3)\\n\" + \"\tZork z;\\n\" + \"\t^^^^\\n\" + \"Zork cannot be resolved to a type\\n\" + \"----------\\n\" + \"1 problem (1 error)\\n\";\n boolean compareOK = semiNormalizedComparison(expectedLogContents, logContents, textLogsNormalizer);\n if (!compareOK) {\n System.out.println(getClass().getName() + '#' + getName());\n System.out.println(\"------------ [START LOG] ------------\\n\" + \"------------- Expected: -------------\\n\" + expectedLogContents + \"\\n------------- but was: -------------\\n\" + outputDirNormalizer.normalized(logContents) + \"\\n--------- (cut and paste:) ----------\\n\" + Util.displayString(outputDirNormalizer.normalized(logContents)) + \"\\n------------- [END LOG] -------------\\n\");\n }\n assertTrue(\"unexpected log contents\", compareOK);\n }", "title": "" }, { "docid": "f2290a761e909a02b63379efaada45ee", "score": "0.51730293", "text": "private void aggregateAndDisplayResults() {\n // use an artificial project\n final Project project = new Project();\n\n // run <junitreport> task\n\n final String junitReportResult = AGGREGATED_REPORT_BASENAME + TEST_RESULT_EXTENSION;\n final XMLResultAggregator junitReport = new XMLResultAggregator();\n junitReport.setProject( project );\n final FileSet fileSet = new FileSet();\n fileSet.setDir( resultsDirectory );\n fileSet.setIncludes( \"*\" + TEST_RESULT_EXTENSION );\n junitReport.addFileSet( fileSet );\n junitReport.setTodir( resultsDirectory );\n junitReport.setTofile( junitReportResult );\n junitReport.execute();\n\n // run <xslt> task\n\n final InputStream in = getClass().getResourceAsStream( \"/\" + JUNIT_XSL );\n final File xslFile = new File( resultsDirectory, JUNIT_XSL );\n try {\n // copy file from inside bundle\n FileCopy.copyStreamToFile( in, xslFile );\n } catch (IOException e) {\n throw new IllegalStateException( \"Could not copy \" + JUNIT_XSL + \" to results directory\" );\n }\n\n final XSLTProcess xslt = new XSLTProcess();\n xslt.setProject( project );\n xslt.setStyle( xslFile.getAbsolutePath() );\n xslt.setBasedir( resultsDirectory );\n xslt.setIncludes( junitReportResult );\n xslt.setDestdir( resultsDirectory );\n xslt.execute();\n\n // show overall success/failure message in the console\n final boolean success = (testRunnerResult == AutoTestRunner.SUCCESS);\n final String summary = \"TEST RESULT: \"\n + (success ? \"all tests passed\" : \"there were some test failures or errors\\n\");\n System.out.println( summary );\n\n displayInBrowser( resultsDirectory );\n }", "title": "" }, { "docid": "9716f81a37510ec76900ad28315cc17f", "score": "0.5165372", "text": "public void test056() {\n String tentativeOutputDirNameTail = File.separator + \"out\";\n this.runConformTest(new String[] { \"p/X.java\", \"package p;\\n\" + \"public class X {}\", // create simple file out/p\n \"out/p\", \"\" }, \"\\\"\" + OUTPUT_DIR + File.separator + \"p/X.java\\\"\" + \" -1.5 -g -preserveAllLocals\" + \" -d \\\"\" + OUTPUT_DIR + tentativeOutputDirNameTail + \"\\\"\", \"\", \"No .class file created for file p/X.class in \" + \"---OUTPUT_DIR_PLACEHOLDER---/out\" + \" because of an IOException: Regular file ---OUTPUT_DIR_PLACEHOLDER---\" + \"/out/p cannot be used as output directory\\n\", true);\n }", "title": "" }, { "docid": "73ff3e7f7a35556f3ccc9cf9701d2666", "score": "0.5163615", "text": "public void test104_per_source_output_directory() {\n this.runNegativeTest(new String[] { \"X.java\", \"public class X {\\n\" + \"}\" }, \"\\\"\" + OUTPUT_DIR + File.separator + \"X.java\\\"\" + \" -1.5\" + \" -sourcepath \\\"\" + OUTPUT_DIR + \"\\\"\" + \"[[-d dir]\", \"\", \"unexpected bracket: ---OUTPUT_DIR_PLACEHOLDER---[[-d\\n\", true);\n }", "title": "" }, { "docid": "f4b9b8c3f158cda3a857e2dd09ea1fe8", "score": "0.51609445", "text": "@Test\n public void outputXML() throws Exception {\n Application.main(\"-x\");\n Assert.assertEquals(\n \"XML content not same\",\n Joiner.on(System.lineSeparator()).join(\n \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"yes\\\"?>\",\n \"<text>\",\n \"<sentence>\",\n \"<word>content</word>\",\n \"</sentence>\",\n \"</text>\"\n ),\n this.out.toString()\n );\n }", "title": "" }, { "docid": "4e924346302991117505d5b31f41187a", "score": "0.5154733", "text": "@Test\n\tpublic void test_single_repair_WMRcase3() throws Exception {\n\n\t\tString dep = new File(\"./examples/libs/junit-4.4.jar\").getAbsolutePath();\n\n\t\tFile out = new File(ConfigurationProperties.getProperty(\"workingDirectory\"));\n\n\t\tCommandSummary command = new CommandSummary();\n\t\tcommand.command.put(\"-location\", new File(\"./examples/testMet/testWMRcase3\").getAbsolutePath());\n\t\tcommand.command.put(\"-mode\", \"custom\");\n\t\tcommand.command.put(\"-customengine\", MultiMetaEvalTOSApproach.class.getName());\n\t\tcommand.command.put(\"-javacompliancelevel\", \"7\");\n\t\tcommand.command.put(\"-maxtime\", \"120\");\n\t\tcommand.command.put(\"-seed\", \"0\");\n\t\tcommand.command.put(\"-stopfirst\", \"true\");\n\t\tcommand.command.put(\"-maxgen\", \"1000000\");\n\t\tcommand.command.put(\"-population\", \"1\");\n\t\tcommand.command.put(\"-scope\", \"local\");\n\t\tcommand.command.put(\"-srcjavafolder\", \"src/main/java/\");\n\t\tcommand.command.put(\"-srctestfolder\", \"src/test/java/\");\n\t\tcommand.command.put(\"-binjavafolder\", \"target/classes/\");\n\t\tcommand.command.put(\"-bintestfolder\", \"target/test-classes/\");\n\t\tcommand.command.put(\"-id\", \"test-wmr3\");\n\t\tcommand.command.put(\"-out\", out.getAbsolutePath());\n\t\tcommand.command.put(\"-dependencies\", dep);\n\t\tcommand.command.put(\"-loglevel\", \"INFO\");\n\t\tcommand.command.put(\"-flthreshold\", \"0.24\");\n\t\tcommand.command.put(\"-saveall\", \"true\");\n\n\t\tAstorMain main1 = new AstorMain();\n\t\tmain1.execute(command.flat());\n\n\t\tMultiMetaEvalTOSApproach.MAX_GENERATIONS = 1000;\n\n\t\tMultiMetaEvalTOSApproach approach = (MultiMetaEvalTOSApproach) main1.getEngine();\n\t\tapproach.getOperatorSpace().getOperators()\n\t\t\t\t.removeIf(e -> !(e instanceof MethodXMethodReplacementDiffArgumentsOp));\n\n\t\tapproach.getVariants().get(0).getModificationPoints()\n\t\t\t\t.removeIf(e -> !((e.getCodeElement().getPosition().getLine() == 36\n\t\t\t\t\t\t&& e.getCodeElement().getPosition().getFile().getName().equals(\"MyBuggy.java\"))));\n\n\t\tassertTrue(TestHelper.equalsNoParentesis(\"return (myinst.toPositive(i1)) * (myinst.toPositive(\\\"1\\\"))\",\n\t\t\t\tapproach.getVariants().get(0).getModificationPoints().get(0).getCodeElement().toString()));\n\n\t\tapproach.startEvolution();\n\n\t\t// check if it was well revert\n\t\tassertTrue(TestHelper.equalsNoParentesis(\"return (myinst.toPositive(i1)) * (myinst.toPositive(\\\"1\\\"))\",\n\t\t\t\tapproach.getVariants().get(0).getModificationPoints().get(0).getCodeElement().toString()));\n\n\t\tList<ProgramVariant> solutionVarByVar1 = main1.getEngine().getSolutions().stream()\n\t\t\t\t.filter(e -> e.getAllOperations().stream()\n\t\t\t\t\t\t.filter(o -> o.getOperationApplied() instanceof MethodXMethodReplacementDiffArgumentsOp)\n\t\t\t\t\t\t.findAny().isPresent())\n\t\t\t\t.collect(Collectors.toList());\n\n\t\tassertTrue(solutionVarByVar1.size() > 0);\n\n\t\tOptional<ProgramVariant> solution0 = solutionVarByVar1.stream().filter(soli -> soli.getAllOperations().stream()\n\t\t\t\t.filter(e -> TestHelper.equalsNoParentesis(e.getModified().toString(), \"(myinst.toPositive(i2))\")\n\t\t\t\t\t\t&& TestHelper.equalsNoParentesis(e.getOriginal().toString(), \"(myinst.toPositive(\\\"1\\\"))\"))\n\t\t\t\t.findFirst().isPresent()).findFirst();\n\t\tassertTrue(solution0.isPresent());\n\n\t\tassertTrue(solution0.get().getPatchDiff().getOriginalStatementAlignmentDiff()\n\t\t\t\t.contains(\"+\t\t\treturn myinst.toPositive(i1) * myinst.toPositive(i2);\"));\n\t\t// check if it was well revert\n\t\tassertTrue(TestHelper.equalsNoParentesis(\"return (myinst.toPositive(i1)) * (myinst.toPositive(\\\"1\\\"))\",\n\t\t\t\tapproach.getVariants().get(0).getModificationPoints().get(0).getCodeElement().toString()));\n\n\t}", "title": "" }, { "docid": "f1546e9271ed0f198a8ee05206908b3a", "score": "0.51514316", "text": "@After\n public void tearDown() {\n if (isHttpRecordingEnabled()) {\n WireMock.stopRecording();\n }\n\n List<Path> pathsToDelete =\n Arrays.asList(stu3OutputPath, r4OutputPath, dstu2OutputPath, ccdaOutputPath);\n for (Path outputPath : pathsToDelete) {\n File outputFile = outputPath.toFile();\n boolean delete = outputFile.delete();\n assertTrue(delete);\n }\n\n Config.set(\"generate.terminology_service_url\", \"\");\n }", "title": "" }, { "docid": "63a12bdc6ff5d120f623b91e8571ca00", "score": "0.5148283", "text": "@Test\n public void saveSourceCode () {\n browser.saveSourceCode();\n\n changePageContent();\n\n // custom folder and default naming\n browser.saveSourceCode(\"testartifacts/\" + getClass().getSimpleName());\n\n }", "title": "" }, { "docid": "281158ffbff454c179ebf19c70091531", "score": "0.5142849", "text": "@Test\n\tpublic void writerTest() {\n\t\tXSD2OWLMapper mapping = createMapper(xsdtest);\n\n\t\t// This part prints the ontology to the specified file.\n\t\ttry {\n\t\t\tFile f = new File(\"src/test/resources/output/test.n3\");\n\t\t\tf.getParentFile().mkdirs();\n\t\t\tWriter w = new FileWriter(f);\n\t\t\tmapping.writeOntology(w, \"N3\");\n\t\t\tw.close();\n\t\t} catch (Exception e) {\n\t\t\tLOGGER.error(\"{}\", e.getMessage());\n\t\t}\n\n\t}", "title": "" }, { "docid": "bf1f3a0c805e7eb69a74e3cb104d33fd", "score": "0.5141276", "text": "private static void xmlComparator(String expectedXmlFilePath, String currentXmlFilePath) throws SAXException, IOException {\n XMLUnit.setIgnoreWhitespace(true);\n //ignore attribute order\n XMLUnit.setIgnoreAttributeOrder(true);\n //ignore comment differances\n XMLUnit.setIgnoreComments(true);\n //ignore differance on CData and text\n XMLUnit.setIgnoreDiffBetweenTextAndCDATA(true);\n\n InputSource expected = new InputSource(expectedXmlFilePath);\n InputSource current = new InputSource(currentXmlFilePath);\n\n DetailedDiff detailedDiff = new DetailedDiff(new Diff(expected, current));\n\n //ignore the sorting mismatch issues\n detailedDiff.overrideElementQualifier(new RecursiveElementNameAndTextQualifier());\n\n //this will print even if order mismatch elements are there. if you want to skip this use assertor\n Iterator i = detailedDiff.getAllDifferences().iterator();\n while (i.hasNext()) {\n System.out.println(i.next().toString());\n }\n System.out.println(\"================== if soarting issues are ignored =============================\");\n //this can use ignore soarting issues and assert\n assertXMLEqual(\"XML files are mismatch\", detailedDiff, true);\n\n }", "title": "" }, { "docid": "fd64f9c6c09a19d3767a07acb7801b98", "score": "0.51403034", "text": "private String writeXMLValidCompetitionHarvestFile1() throws IOException {\n String sFileName = \"\\\\testfile1.xml\";\n FileWriter oOut = new FileWriter(sFileName);\n\n oOut.write(\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?>\");\n oOut.write(\"<paramFile fileCode=\\\"07010101\\\">\");\n oOut.write(\"<plot>\");\n oOut.write(\"<timesteps>8</timesteps>\");\n oOut.write(\"<yearsPerTimestep>1</yearsPerTimestep>\");\n oOut.write(\"<randomSeed>1</randomSeed>\");\n oOut.write(\"<plot_lenX>200.0</plot_lenX>\");\n oOut.write(\"<plot_lenY>200.0</plot_lenY>\");\n oOut.write(\"<plot_latitude>55.37</plot_latitude>\");\n oOut.write(\"</plot>\");\n oOut.write(\"<trees>\");\n oOut.write(\"<tr_speciesList>\");\n oOut.write(\"<tr_species speciesName=\\\"Species_1\\\" />\");\n oOut.write(\"<tr_species speciesName=\\\"Species_2\\\" />\");\n oOut.write(\"<tr_species speciesName=\\\"Species_3\\\" />\");\n oOut.write(\"</tr_speciesList>\");\n oOut.write(\"<tr_seedDiam10Cm>0.1</tr_seedDiam10Cm>\");\n oOut.write(\"<tr_minAdultDBH>\");\n oOut.write(\"<tr_madVal species=\\\"Species_1\\\">0.0</tr_madVal>\");\n oOut.write(\"<tr_madVal species=\\\"Species_2\\\">0.0</tr_madVal>\");\n oOut.write(\"<tr_madVal species=\\\"Species_3\\\">0.0</tr_madVal>\");\n oOut.write(\"</tr_minAdultDBH>\");\n oOut.write(\"<tr_maxSeedlingHeight>\");\n oOut.write(\"<tr_mshVal species=\\\"Species_1\\\">1.35</tr_mshVal>\");\n oOut.write(\"<tr_mshVal species=\\\"Species_2\\\">1.35</tr_mshVal>\");\n oOut.write(\"<tr_mshVal species=\\\"Species_3\\\">1.35</tr_mshVal>\");\n oOut.write(\"</tr_maxSeedlingHeight>\");\n oOut.write(\"</trees>\");\n oOut.write(\"<allometry>\");\n oOut.write(\"<tr_canopyHeight>\");\n oOut.write(\"<tr_chVal species=\\\"Species_1\\\">39.48</tr_chVal>\");\n oOut.write(\"<tr_chVal species=\\\"Species_2\\\">39.48</tr_chVal>\");\n oOut.write(\"<tr_chVal species=\\\"Species_3\\\">39.48</tr_chVal>\");\n oOut.write(\"</tr_canopyHeight>\");\n oOut.write(\"<tr_stdAsympCrownRad>\");\n oOut.write(\"<tr_sacrVal species=\\\"Species_1\\\">0.0549</tr_sacrVal>\");\n oOut.write(\"<tr_sacrVal species=\\\"Species_2\\\">0.0549</tr_sacrVal>\");\n oOut.write(\"<tr_sacrVal species=\\\"Species_3\\\">0.0549</tr_sacrVal>\");\n oOut.write(\"</tr_stdAsympCrownRad>\");\n oOut.write(\"<tr_stdCrownRadExp>\");\n oOut.write(\"<tr_screVal species=\\\"Species_1\\\">1.0</tr_screVal>\");\n oOut.write(\"<tr_screVal species=\\\"Species_2\\\">1.0</tr_screVal>\");\n oOut.write(\"<tr_screVal species=\\\"Species_3\\\">1.0</tr_screVal>\");\n oOut.write(\"</tr_stdCrownRadExp>\");\n oOut.write(\"<tr_conversionDiam10ToDBH>\");\n oOut.write(\"<tr_cdtdVal species=\\\"Species_1\\\">0.8008</tr_cdtdVal>\");\n oOut.write(\"<tr_cdtdVal species=\\\"Species_2\\\">0.8008</tr_cdtdVal>\");\n oOut.write(\"<tr_cdtdVal species=\\\"Species_3\\\">0.8008</tr_cdtdVal>\");\n oOut.write(\"</tr_conversionDiam10ToDBH>\");\n oOut.write(\"<tr_interceptDiam10ToDBH>\");\n oOut.write(\"<tr_idtdVal species=\\\"Species_1\\\">0</tr_idtdVal>\");\n oOut.write(\"<tr_idtdVal species=\\\"Species_2\\\">0</tr_idtdVal>\");\n oOut.write(\"<tr_idtdVal species=\\\"Species_3\\\">0</tr_idtdVal>\");\n oOut.write(\"</tr_interceptDiam10ToDBH>\");\n oOut.write(\"<tr_stdAsympCrownHt>\");\n oOut.write(\"<tr_sachVal species=\\\"Species_1\\\">0.389</tr_sachVal>\");\n oOut.write(\"<tr_sachVal species=\\\"Species_2\\\">0.389</tr_sachVal>\");\n oOut.write(\"<tr_sachVal species=\\\"Species_3\\\">0.389</tr_sachVal>\");\n oOut.write(\"</tr_stdAsympCrownHt>\");\n oOut.write(\"<tr_stdCrownHtExp>\");\n oOut.write(\"<tr_scheVal species=\\\"Species_1\\\">1.0</tr_scheVal>\");\n oOut.write(\"<tr_scheVal species=\\\"Species_2\\\">1.0</tr_scheVal>\");\n oOut.write(\"<tr_scheVal species=\\\"Species_3\\\">1.0</tr_scheVal>\");\n oOut.write(\"</tr_stdCrownHtExp>\");\n oOut.write(\"<tr_slopeOfHeight-Diam10>\");\n oOut.write(\"<tr_sohdVal species=\\\"Species_1\\\">0.03418</tr_sohdVal>\");\n oOut.write(\"<tr_sohdVal species=\\\"Species_2\\\">0.03418</tr_sohdVal>\");\n oOut.write(\"<tr_sohdVal species=\\\"Species_3\\\">0.03418</tr_sohdVal>\");\n oOut.write(\"</tr_slopeOfHeight-Diam10>\");\n oOut.write(\"<tr_slopeOfAsymHeight>\");\n oOut.write(\"<tr_soahVal species=\\\"Species_1\\\">0.0299</tr_soahVal>\");\n oOut.write(\"<tr_soahVal species=\\\"Species_2\\\">0.0241</tr_soahVal>\");\n oOut.write(\"<tr_soahVal species=\\\"Species_3\\\">0.0263</tr_soahVal>\");\n oOut.write(\"</tr_slopeOfAsymHeight>\");\n oOut.write(\"<tr_whatSeedlingHeightDiam>\");\n oOut.write(\"<tr_wsehdVal species=\\\"Species_1\\\">0</tr_wsehdVal>\");\n oOut.write(\"<tr_wsehdVal species=\\\"Species_2\\\">0</tr_wsehdVal>\");\n oOut.write(\"<tr_wsehdVal species=\\\"Species_3\\\">0</tr_wsehdVal>\");\n oOut.write(\"</tr_whatSeedlingHeightDiam>\");\n oOut.write(\"<tr_whatSaplingHeightDiam>\");\n oOut.write(\"<tr_wsahdVal species=\\\"Species_1\\\">0</tr_wsahdVal>\");\n oOut.write(\"<tr_wsahdVal species=\\\"Species_2\\\">0</tr_wsahdVal>\");\n oOut.write(\"<tr_wsahdVal species=\\\"Species_3\\\">0</tr_wsahdVal>\");\n oOut.write(\"</tr_whatSaplingHeightDiam>\");\n oOut.write(\"<tr_whatAdultHeightDiam>\");\n oOut.write(\"<tr_wahdVal species=\\\"Species_1\\\">0</tr_wahdVal>\");\n oOut.write(\"<tr_wahdVal species=\\\"Species_2\\\">0</tr_wahdVal>\");\n oOut.write(\"<tr_wahdVal species=\\\"Species_3\\\">0</tr_wahdVal>\");\n oOut.write(\"</tr_whatAdultHeightDiam>\");\n oOut.write(\"<tr_whatAdultCrownRadDiam>\");\n oOut.write(\"<tr_wacrdVal species=\\\"Species_1\\\">0</tr_wacrdVal>\");\n oOut.write(\"<tr_wacrdVal species=\\\"Species_2\\\">0</tr_wacrdVal>\");\n oOut.write(\"<tr_wacrdVal species=\\\"Species_3\\\">0</tr_wacrdVal>\");\n oOut.write(\"</tr_whatAdultCrownRadDiam>\");\n oOut.write(\"<tr_whatAdultCrownHeightHeight>\");\n oOut.write(\"<tr_wachhVal species=\\\"Species_1\\\">0</tr_wachhVal>\");\n oOut.write(\"<tr_wachhVal species=\\\"Species_2\\\">0</tr_wachhVal>\");\n oOut.write(\"<tr_wachhVal species=\\\"Species_3\\\">0</tr_wachhVal>\");\n oOut.write(\"</tr_whatAdultCrownHeightHeight>\");\n oOut.write(\"<tr_whatSaplingCrownRadDiam>\");\n oOut.write(\"<tr_wscrdVal species=\\\"Species_1\\\">0</tr_wscrdVal>\");\n oOut.write(\"<tr_wscrdVal species=\\\"Species_2\\\">0</tr_wscrdVal>\");\n oOut.write(\"<tr_wscrdVal species=\\\"Species_3\\\">0</tr_wscrdVal>\");\n oOut.write(\"</tr_whatSaplingCrownRadDiam>\");\n oOut.write(\"<tr_whatSaplingCrownHeightHeight>\");\n oOut.write(\"<tr_wschhVal species=\\\"Species_1\\\">0</tr_wschhVal>\");\n oOut.write(\"<tr_wschhVal species=\\\"Species_2\\\">0</tr_wschhVal>\");\n oOut.write(\"<tr_wschhVal species=\\\"Species_3\\\">0</tr_wschhVal>\");\n oOut.write(\"</tr_whatSaplingCrownHeightHeight>\");\n oOut.write(\"</allometry>\");\n oOut.write(\"<behaviorList>\");\n oOut.write(\"<behavior>\");\n oOut.write(\"<behaviorName>CompetitionHarvest</behaviorName>\");\n oOut.write(\"<version>1</version>\");\n oOut.write(\"<listPosition>1</listPosition>\");\n oOut.write(\"<applyTo species=\\\"Species_1\\\" type=\\\"Adult\\\"/>\");\n oOut.write(\"<applyTo species=\\\"Species_3\\\" type=\\\"Adult\\\"/>\");\n oOut.write(\"</behavior>\");\n oOut.write(\"</behaviorList>\");\n oOut.write(\"<CompetitionHarvest1>\");\n oOut.write(\"<di_compHarvMaxCrowdingRadius>\");\n oOut.write(\"<di_chmcrVal species=\\\"Species_1\\\">10</di_chmcrVal>\");\n oOut.write(\"<di_chmcrVal species=\\\"Species_3\\\">12</di_chmcrVal>\");\n oOut.write(\"</di_compHarvMaxCrowdingRadius>\");\n oOut.write(\"<di_compHarvAlpha>\");\n oOut.write(\"<di_chaVal species=\\\"Species_1\\\">2.17031683</di_chaVal>\");\n oOut.write(\"<di_chaVal species=\\\"Species_2\\\">2.81</di_chaVal>\");\n oOut.write(\"<di_chaVal species=\\\"Species_3\\\">1.33</di_chaVal>\");\n oOut.write(\"</di_compHarvAlpha>\");\n oOut.write(\"<di_compHarvBeta>\");\n oOut.write(\"<di_chbVal species=\\\"Species_1\\\">0.69994199</di_chbVal>\");\n oOut.write(\"<di_chbVal species=\\\"Species_2\\\">0.5</di_chbVal>\");\n oOut.write(\"<di_chbVal species=\\\"Species_3\\\">0.09</di_chbVal>\");\n oOut.write(\"</di_compHarvBeta>\");\n oOut.write(\"<di_compHarvGamma>\");\n oOut.write(\"<di_chgVal species=\\\"Species_1\\\">-0.43</di_chgVal>\");\n oOut.write(\"<di_chgVal species=\\\"Species_2\\\">-0.36</di_chgVal>\");\n oOut.write(\"<di_chgVal species=\\\"Species_3\\\">-0.4</di_chgVal>\");\n oOut.write(\"</di_compHarvGamma>\");\n oOut.write(\"<di_compHarvSpecies_1NeighborLambda>\");\n oOut.write(\"<di_nlVal species=\\\"Species_1\\\">0.66401082</di_nlVal>\");\n oOut.write(\"<di_nlVal species=\\\"Species_2\\\">0.71</di_nlVal>\");\n oOut.write(\"<di_nlVal species=\\\"Species_3\\\">0.08</di_nlVal>\");\n oOut.write(\"</di_compHarvSpecies_1NeighborLambda>\");\n oOut.write(\"<di_compHarvSpecies_3NeighborLambda>\");\n oOut.write(\"<di_nlVal species=\\\"Species_1\\\">0.41812471</di_nlVal>\");\n oOut.write(\"<di_nlVal species=\\\"Species_2\\\">0.24</di_nlVal>\");\n oOut.write(\"<di_nlVal species=\\\"Species_3\\\">0.05</di_nlVal>\");\n oOut.write(\"</di_compHarvSpecies_3NeighborLambda>\");\n oOut.write(\"<di_compHarvCrowdingSlope>\");\n oOut.write(\"<di_chcsVal species=\\\"Species_1\\\">0.698</di_chcsVal>\");\n oOut.write(\"<di_chcsVal species=\\\"Species_2\\\">0.457</di_chcsVal>\");\n oOut.write(\"<di_chcsVal species=\\\"Species_3\\\">0.469</di_chcsVal>\");\n oOut.write(\"</di_compHarvCrowdingSlope>\");\n oOut.write(\"<di_compHarvCrowdingSteepness>\");\n oOut.write(\"<di_chcstVal species=\\\"Species_1\\\">-0.00163</di_chcstVal>\");\n oOut.write(\"<di_chcstVal species=\\\"Species_2\\\">-0.00126</di_chcstVal>\");\n oOut.write(\"<di_chcstVal species=\\\"Species_3\\\">-0.00163</di_chcstVal>\");\n oOut.write(\"</di_compHarvCrowdingSteepness>\");\n oOut.write(\"<di_compHarvProportion>\");\n oOut.write(\"<di_chpVal species=\\\"Species_1\\\">0.25</di_chpVal>\");\n oOut.write(\"<di_chpVal species=\\\"Species_3\\\">0.75</di_chpVal>\");\n oOut.write(\"</di_compHarvProportion>\");\n oOut.write(\"<di_compHarvDbhDivisor>100</di_compHarvDbhDivisor>\");\n oOut.write(\"<di_compHarvMinHarvDBH>20</di_compHarvMinHarvDBH>\");\n oOut.write(\"<di_compHarvMaxHarvDBH>50</di_compHarvMaxHarvDBH>\");\n oOut.write(\"<di_compHarvTypeHarvest>1</di_compHarvTypeHarvest>\");\n oOut.write(\"<di_compHarvCutAmount>0.0406</di_compHarvCutAmount>\");\n oOut.write(\"<di_compHarvBAThreshold>0.2</di_compHarvBAThreshold>\");\n oOut.write(\"<di_compHarvFirstHarvestYear>6</di_compHarvFirstHarvestYear>\");\n oOut.write(\"<di_compHarvCutMostComp>0</di_compHarvCutMostComp>\");\n oOut.write(\"<di_compHarvMinInterval>2</di_compHarvMinInterval>\");\n oOut.write(\"<di_compHarvInterval>3</di_compHarvInterval>\");\n oOut\n .write(\"<di_compHarvHarvestedListFile>core_model_tester1.txt</di_compHarvHarvestedListFile>\");\n oOut.write(\"</CompetitionHarvest1>\");\n oOut.write(\"</paramFile>\");\n\n oOut.close();\n return sFileName;\n }", "title": "" }, { "docid": "b0e5cdf05f06e766c48162f71ead8f1e", "score": "0.51368374", "text": "public abstract void writeResultTo(String FilePath);", "title": "" }, { "docid": "d6f205aa1cd07a3ca6d952d992ae2dfc", "score": "0.5128056", "text": "public void test105_per_source_output_directory() {\n this.runNegativeTest(new String[] { \"X.java\", \"public class X {\\n\" + \"}\" }, \"\\\"\" + OUTPUT_DIR + File.separator + \"X.java\\\"\" + \" -1.5\" + \" -cp \\\"\" + OUTPUT_DIR + \"\\\"\" + \"[-d dir]]\", \"\", \"unexpected bracket: dir]]\\n\", true);\n }", "title": "" }, { "docid": "c7c27cbcd907655a986578f9c8beebc7", "score": "0.5127995", "text": "public void assertResults();", "title": "" }, { "docid": "b49b95d1386a3eba24f1cd63aa28cb0a", "score": "0.51217717", "text": "@Test\r\n\tpublic void testNoForceOutputNotUpToDateStyle() throws InterruptedException, IOException {\n\t\txxslt(new File(\"src/test/resources/testxslt/testIn.xml\"), new File(\"src/test/resources/testxslt/testStyle.xsl\"),\r\n\t\t\t\tnew File(\"target/testxslt/test.txt\"), null, true, false);\r\n\t\tlong outLastModifiedBefore = new File(\"target/testxslt/test.txt\").lastModified();\r\n\t\t// wait a blink of time\r\n\t\tThread.sleep(10);\r\n\t\tFileUtils.touch(new File(\"src/test/resources/testxslt/testStyle.xsl\"));\r\n\t\t// try again without force: should execute\r\n\t\txxslt(new File(\"src/test/resources/testxslt/testIn.xml\"), new File(\"src/test/resources/testxslt/testStyle.xsl\"),\r\n\t\t\t\tnew File(\"target/testxslt/test.txt\"), null, false, false);\r\n\t\tlong outLastModifiedAfter = new File(\"target/testxslt/test.txt\").lastModified();\r\n\t\tassertTrue(outLastModifiedAfter > outLastModifiedBefore);\r\n\t}", "title": "" }, { "docid": "66cd8c0644da23b0f491221c89499aad", "score": "0.51133597", "text": "@Override\r\n\tpublic void setOutputfile(String outputfile) {\n\r\n\t}", "title": "" }, { "docid": "dc49a608d6e348fec4b1e1ff2aa875af", "score": "0.51062363", "text": "public void test073_per_source_output_directory() {\n String source1 = \"src1\", output1 = \"bin1\";\n this.runConformTest(new String[] { source1 + File.separator + \"/X.java\", \"public class X {}\", \"Z.java\", \"public class Z {\\n\" + \" X f;\\n\" + \"}\" }, \"\\\"\" + OUTPUT_DIR + File.separator + \"Z.java\\\"\" + \" -1.5\" + \" -sourcepath \\\"\" + OUTPUT_DIR + File.separator + source1 + \"\\\"\" + \"[-**/*][-d \\\"\" + OUTPUT_DIR + File.separator + output1 + \"\\\"]\", \"\", \"----------\\n\" + \"1. WARNING in ---OUTPUT_DIR_PLACEHOLDER---/Z.java (at line 2)\\n\" + \"\tX f;\\n\" + \"\t^\\n\" + \"Access restriction: The type \\'X\\' is not API (restriction on classpath entry \\'---OUTPUT_DIR_PLACEHOLDER---/src1\\')\\n\" + \"----------\\n\" + \"1 problem (1 warning)\\n\", true);\n }", "title": "" }, { "docid": "f050ffe8f72419c68fd59a381aee89a5", "score": "0.5100728", "text": "@Test\n public void testEditResponseContent_2()\n throws Exception {\n ResponseContentEditor fixture = new ResponseContentEditor();\n Set<RequestData> requestData = new HashSet();\n\n fixture.editResponseContent(requestData);\n\n // An unexpected exception was thrown in user code while executing this test:\n // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder\n // at com.intuit.tank.script.ResponseContentEditor.editResponseContent(ResponseContentEditor.java:38)\n }", "title": "" }, { "docid": "1f761e387c7e411afba011e098b2f718", "score": "0.50991774", "text": "@Disabled\n void realTest() throws IOException {\n String realTestDir = \"/Users/kai/Documents/merlin-i18n\";\n String baseoutFilename = \"i18n-translations\";\n\n File file = new File(realTestDir, \"messages_de.properties\");\n if (!file.exists()) {\n return;\n }\n I18nPropertiesConverter propsConverter = new I18nPropertiesConverter();\n propsConverter.importTranslations(\"de\", new FileReader(file));\n Dictionary dictionary = propsConverter.getDictionary();\n dictionary.setCreateKeyIfNotPresent(false);\n\n I18nJsonConverter jsonConverter = new I18nJsonConverter(dictionary);\n file = new File(realTestDir, \"systemtexte.json\");\n jsonConverter.importTranslations(new FileReader(file));\n\n file = new File(realTestDir, \"translations.xlsx\");\n I18nExcelConverter excelConverter = new I18nExcelConverter(dictionary);\n try (FileOutputStream outputStream = new FileOutputStream(file)) {\n excelConverter.write(outputStream);\n }\n\n\n file = new File(realTestDir, \"POLYAS-Election-translations-Kai.xlsx\");\n if (!file.exists()) {\n return;\n }\n excelConverter = new I18nExcelConverter();\n try (FileInputStream inputStream = new FileInputStream(file)) {\n excelConverter.importTranslations(inputStream, file.getName());\n }\n dictionary = excelConverter.getDictionary();\n\n propsConverter = new I18nPropertiesConverter(dictionary);\n try (Writer writer = new FileWriter(new File(realTestDir, baseoutFilename + \"_de.properties\"))) {\n propsConverter.write(\"de\", writer);\n }\n try (Writer writer = new FileWriter(new File(realTestDir, baseoutFilename + \".properties\"))) {\n propsConverter.write(\"en\", writer);\n }\n\n jsonConverter = new I18nJsonConverter(dictionary);\n try (Writer writer = new FileWriter(new File(realTestDir, baseoutFilename + \".json\"))) {\n jsonConverter.write(writer);\n }\n }", "title": "" }, { "docid": "67648be9756262966f5e10f1b4e2e3f7", "score": "0.50872403", "text": "protected void compare(Element expected,\n Element actual) throws Exception {\n XMLOutputter out = new XMLOutputter();\n StringWriter expectedWriter = new StringWriter();\n StringWriter actualWriter = new StringWriter();\n\n out.output(expected, expectedWriter);\n out.output(actual, actualWriter);\n\n XMLAssert.assertXMLEqual(expectedWriter.toString(),\n actualWriter.toString());\n }", "title": "" }, { "docid": "b40198f9fac414e4dca7d044fcd371cb", "score": "0.50868696", "text": "private static void updateResultsToFile(String statusCode, String description){\n\t \tBufferedWriter bw = null;\n\t \ttry{ \t\t\n\t \t\t\n\t \t\tFile outFile = new File(out_file_location);\n\t \t\tSystem.out.println(\"Output file deletion status: \" + outFile.delete());\n\t \t\toutFile.createNewFile();\n\t \t\tSystem.out.println(\"Output file location: \" + outFile.getCanonicalPath());\n\t \t\tbw = new BufferedWriter(new FileWriter(outFile));\n\t \t\tStringBuffer strBuf = new StringBuffer();\n\t \t\tstrBuf.append(\"<ExecutionAt>\");\n\t \t\tstrBuf.append(Calendar.getInstance().getTime());\n\t \t\tstrBuf.append(\"</ExecutionAt>\\n\");\n\t \t\tstrBuf.append(\"<ToolOrWebServiceName>\");\n\t \t\tstrBuf.append(tool_or_webservice_name);\n\t \t\tstrBuf.append(\"</ToolOrWebServiceName>\\n\");\n\t \t\tstrBuf.append(\"\\n\");\n\t \t\tstrBuf.append(\"<ResponseStatus>\\n\");\n\t \t\tstrBuf.append(\"\\t<Code>\");\n\t \t\tstrBuf.append(statusCode);\n\t \t\tstrBuf.append(\"</Code>\\n\");\n\t \t\tstrBuf.append(\"\\t<Description>\");\n\t \t\tstrBuf.append(description);\n\t \t\tstrBuf.append(\"</Description>\\n\");\n\t \t\tstrBuf.append(\"</ResponseStatus>\");\n\t \t\tbw.write(strBuf.toString());\n\t \t\tbw.close(); \t\t \t\t\n\t \t}catch (Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}finally{\n\t\t\t\ttry{\n\t\t\t\t\tif (bw != null){\n\t\t\t\t\t\tbw.close();\n\t\t\t\t\t\tbw = null;\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}\t\t\t\n\t\t\t}\t\t\n\t }", "title": "" }, { "docid": "cb6fc03a3e28dddd4283c1e41b6cd7b2", "score": "0.5078761", "text": "private void testBeautifikation(String pFilename)\r\n throws IOException, ParseException {\r\n String lInput = IOUtils.toString(this.getClass().getResourceAsStream(pFilename + \".java_input\"));\r\n String lExpectedOutput = IOUtils.toString(this.getClass().getResourceAsStream(pFilename + \".java_output\"));\r\n\r\n String lOutput = mProcessor.organizeImports(lInput);\r\n\r\n assertEquals(lExpectedOutput.trim(), lOutput.trim());\r\n }", "title": "" }, { "docid": "4a3b478784148b2e38ce8e9a36000dd0", "score": "0.507662", "text": "protected void runTest(Node testcase, Node test) {\n String id = test.getAttributes().getNamedItem(\"id\").getNodeValue();\n Node result = locateResult(testcase, id);\n boolean pass = false;\n if (result != null) {\n String agreement\n = result.getAttributes().getNamedItem(\"agreement\").getNodeValue();\n pass = agreement.equals(\"full\");\n }\n\n if (pass && failOnly) {\n return;\n }\n\n String xml = test.getAttributes().getNamedItem(\"xml\").getNodeValue();\n Node xslNode = test.getAttributes().getNamedItem(\"xsl\");\n String xsl = null;\n if (xslNode != null) {\n xsl = xslNode.getNodeValue();\n }\n logger.debug(\"converting xml:\" + xml + \" and xsl:\"\n + xsl + \" to area tree\");\n\n String res = xml;\n Node resNode = test.getAttributes().getNamedItem(\"results\");\n if (resNode != null) {\n res = resNode.getNodeValue();\n }\n try {\n File xmlFile = new File(baseDir + \"/\" + xml);\n URI baseUri = xmlFile.getParentFile().toURI();\n\n InputHandler inputHandler = null;\n if (xsl == null) {\n inputHandler = new InputHandler(xmlFile);\n } else {\n inputHandler = new InputHandler(xmlFile, new File(baseDir + \"/\" + xsl), null);\n }\n\n FopFactory fopFactory = FopFactory.newInstance(baseUri);\n FOUserAgent userAgent = fopFactory.newFOUserAgent();\n\n userAgent.getRendererOptions().put(\"fineDetail\", false);\n userAgent.getRendererOptions().put(\"consistentOutput\", true);\n userAgent.setProducer(\"Testsuite Converter\");\n\n String outname = res;\n if (outname.endsWith(\".xml\") || outname.endsWith(\".pdf\")) {\n outname = outname.substring(0, outname.length() - 4);\n }\n File outputFile = new File(destdir,\n outname + makeResultExtension());\n\n outputFile.getParentFile().mkdirs();\n OutputStream outStream = null;\n try {\n outStream = new java.io.BufferedOutputStream(\n new java.io.FileOutputStream(outputFile));\n logger.debug(\"ddir:\" + destdir + \" on:\" + outputFile.getName());\n inputHandler.renderTo(userAgent, outputFormat, outStream);\n } finally {\n IOUtils.closeQuietly(outStream);\n }\n\n // check difference\n if (compare != null) {\n File f1 = new File(destdir, outname + \".at.xml\");\n File f2 = new File(compare, outname + \".at.xml\");\n if (!compareFiles(f1, f2)) {\n differ.put(outname + \".at.xml\", pass);\n }\n }\n } catch (Exception e) {\n logger.error(\"Error while running tests\", e);\n }\n }", "title": "" }, { "docid": "c90fc8c97e0d254e386271fe983a34f3", "score": "0.5075005", "text": "public void test067_per_source_output_directory() {\n this.runConformTest(new String[] { \"X.java\", \"public class X {}\" }, \"\\\"\" + OUTPUT_DIR + File.separator + \"X.java\\\"\" + \" -1.5\" + \" -d none\", \"\", \"\", true);\n String fileName = OUTPUT_DIR + File.separator + \"X.class\";\n assertFalse(\"extraneous file: \" + fileName, (new File(fileName)).exists());\n }", "title": "" }, { "docid": "fe62071b4121d344c4a17333d13f88eb", "score": "0.5073933", "text": "@Test\r\n\tpublic void checkJsonOutputFileExists(){\r\n\t\topenFile();\r\n\t\t\r\n\t\toutputFileName=\"users_new.json\";\r\n\t\tjson.sortUsersByID(users);\r\n\t\tjson.writeFile(users,outputFileName);\r\n\t\toutputFile=new File(outputFileName);\r\n\t\t\r\n\t\tassertTrue(\"Output file found\",outputFile.exists());\r\n\t}", "title": "" }, { "docid": "f8ee7f999e79b257008d1bd622347221", "score": "0.5066578", "text": "public void test079_per_source_output_directory() {\n String source1 = \"src1\", output1 = \"bin1\";\n this.runConformTest(new String[] { source1 + File.separator + \"/X.java\", \"public class X {}\", \"Z.java\", \"public class Z {\\n\" + \" X f;\\n\" + \"}\" }, \"\\\"\" + OUTPUT_DIR + File.separator + \"Z.java\\\"\" + \" -1.5\" + \" -classpath \\\"\" + OUTPUT_DIR + File.separator + source1 + \"\\\"\" + \"[-**/*][-d \\\"\" + OUTPUT_DIR + File.separator + output1 + \"\\\"]\", \"\", \"----------\\n\" + \"1. WARNING in ---OUTPUT_DIR_PLACEHOLDER---/Z.java (at line 2)\\n\" + \"\tX f;\\n\" + \"\t^\\n\" + \"Access restriction: The type \\'X\\' is not API (restriction on classpath entry \\'---OUTPUT_DIR_PLACEHOLDER---/src1\\')\\n\" + \"----------\\n\" + \"1 problem (1 warning)\\n\", true);\n }", "title": "" }, { "docid": "ba2c383850a563bc8fc4ee8a090bdb58", "score": "0.5042991", "text": "@Test\n public void testEasterEggOutput() {\n assertEquals(new OrangEasterEgg().execute(), ORANG_OUTPUT);\n assertEquals(new VegetalEasterEgg().execute(), VEGETAL_OUTPUT);\n }", "title": "" }, { "docid": "3938a8b825570a03eea69c9c3e4f8c8a", "score": "0.5040813", "text": "public void test014() {\n String logFileName = OUTPUT_DIR + File.separator + \"log.txt\";\n this.runNegativeTest(new String[] { \"X.java\", \"/** */\\n\" + \"public class X {\\n\" + \"\tZork z;\\n\" + \"}\" }, \"\\\"\" + OUTPUT_DIR + File.separator + \"X.java\\\"\" + \" -1.5 -proceedOnError\" + \" -log \\\"\" + logFileName + \"\\\" -d \\\"\" + OUTPUT_DIR + \"\\\"\", \"\", \"----------\\n\" + \"1. ERROR in ---OUTPUT_DIR_PLACEHOLDER---/X.java (at line 3)\\n\" + \"\tZork z;\\n\" + \"\t^^^^\\n\" + \"Zork cannot be resolved to a type\\n\" + \"----------\\n\" + \"1 problem (1 error)\\n\", false);\n String logContents = Util.fileContent(logFileName);\n String expectedLogContents = \"----------\\n\" + \"1. ERROR in ---OUTPUT_DIR_PLACEHOLDER---\" + File.separator + \"X.java (at line 3)\\n\" + \"\tZork z;\\n\" + \"\t^^^^\\n\" + \"Zork cannot be resolved to a type\\n\" + \"----------\\n\" + \"1 problem (1 error)\\n\";\n boolean compareOK = semiNormalizedComparison(expectedLogContents, logContents, textLogsNormalizer);\n if (!compareOK) {\n System.out.println(getClass().getName() + '#' + getName());\n System.out.println(\"------------ [START LOG] ------------\\n\" + \"------------- Expected: -------------\\n\" + expectedLogContents + \"\\n------------- but was: -------------\\n\" + outputDirNormalizer.normalized(logContents) + \"\\n--------- (cut and paste:) ----------\\n\" + Util.displayString(outputDirNormalizer.normalized(logContents)) + \"\\n------------- [END LOG] -------------\\n\");\n }\n assertTrue(\"unexpected log contents\", compareOK);\n }", "title": "" }, { "docid": "8de49462a9d4b2a6979316cf3806d77a", "score": "0.5040101", "text": "@Test\n public void testEditResponseContent_3()\n throws Exception {\n ResponseContentEditor fixture = new ResponseContentEditor();\n Set<RequestData> requestData = new HashSet();\n\n fixture.editResponseContent(requestData);\n\n // An unexpected exception was thrown in user code while executing this test:\n // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder\n // at com.intuit.tank.script.ResponseContentEditor.editResponseContent(ResponseContentEditor.java:38)\n }", "title": "" }, { "docid": "e759ff0cde3cd7bbbdb65dedf46e11e9", "score": "0.50386924", "text": "@Test\n public void testSearchInRootFolder() throws Exception {\n IDE.EXPLORER.waitOpened();\n IDE.LOADER.waitClosed();\n IDE.OPEN.openProject(PROJECT);\n IDE.LOADER.waitClosed();\n IDE.EXPLORER.waitForItem(PROJECT);\n\n IDE.FOLDER.createFolder(folder1Name);\n IDE.EXPLORER.waitForItem(PROJECT + \"/\" + folder1Name);\n IDE.EXPLORER.selectItem(PROJECT + \"/\" + folder1Name);\n // Create and save\n IDE.TOOLBAR.runCommandFromNewPopupMenu(MenuCommands.New.XML_FILE);\n IDE.FILE.waitCreateNewFileWindow();\n IDE.FILE.typeNewFileName(xmlFileName);\n IDE.FILE.clickCreateButton();\n IDE.EDITOR.waitActiveFile();\n IDE.EXPLORER.waitForItem(PROJECT + \"/\" + folder1Name + \"/\"+xmlFileName);\n IDE.EDITOR.deleteFileContent();\n IDE.EDITOR.typeTextIntoEditor(xmlFileContent);\n IDE.TOOLBAR.runCommand(ToolbarCommands.File.SAVE);\n IDE.LOADER.waitClosed();\n\n // Create second folder\n IDE.EXPLORER.selectItem(PROJECT);\n IDE.FOLDER.createFolder(folder2Name);\n IDE.EXPLORER.waitForItem(PROJECT + \"/\" + folder2Name);\n IDE.EXPLORER.selectItem(PROJECT + \"/\" + folder2Name);\n // Save in second folder first time\n IDE.EDITOR.saveAs(1, copyofXmlFileName);\n IDE.EXPLORER.waitForItem(PROJECT + \"/\" + folder2Name + \"/\" + copyofXmlFileName);\n\n // Save in second folder second time\n IDE.EXPLORER.selectItem(PROJECT + \"/\" + folder2Name);\n IDE.EDITOR.saveAs(1, xmlFileName);\n IDE.EXPLORER.waitForItem(PROJECT + \"/\" + folder2Name + \"/\" + xmlFileName);\n\n IDE.EXPLORER.selectItem(PROJECT);\n\n IDE.SEARCH.performSearch(\"/\" + PROJECT, \"Hello\", \"text/html\");\n IDE.SEARCH_RESULT.waitOpened();\n IDE.SEARCH_RESULT.waitItemPresent(PROJECT);\n\n assertEquals(1, IDE.SEARCH_RESULT.getResultCount());\n IDE.SEARCH_RESULT.close();\n IDE.SEARCH_RESULT.waitClosed();\n\n IDE.SEARCH.performSearch(\"/\" + PROJECT, \"Bonnie Tyler\", xmlFileMimeType);\n IDE.SEARCH_RESULT.waitOpened();\n IDE.SEARCH_RESULT.waitItemPresent(PROJECT);\n assertEquals(4, IDE.SEARCH_RESULT.getResultCount());\n\n IDE.SEARCH_RESULT.waitItemPresent(PROJECT + \"/\" + folder1Name + \"/\" + xmlFileName);\n IDE.SEARCH_RESULT.waitItemPresent(PROJECT + \"/\" + folder2Name + \"/\" + xmlFileName);\n IDE.SEARCH_RESULT.waitItemPresent(PROJECT + \"/\" + folder2Name + \"/\" + copyofXmlFileName);\n }", "title": "" }, { "docid": "10a1d74592fe5b63a5d1a8026ad664d8", "score": "0.503471", "text": "public void test094_per_source_output_directory() {\n String source1 = \"src1\";\n this.runConformTest(new String[] { source1 + File.separator + \"/X.java\", \"public class X {}\", \"Z.java\", \"public class Z {\\n\" + \" // X f;\\n\" + \"}\" }, \"\\\"\" + OUTPUT_DIR + File.separator + \"Z.java\\\"\" + \" \\\"\" + OUTPUT_DIR + File.separator + source1 + \"\\\"\" + \"[-d none]\" + \" -1.5\", \"\", \"\", true);\n String fileName = OUTPUT_DIR + File.separator + source1 + File.separator + \"X.class\";\n assertFalse(\"extraneous file: \" + fileName, (new File(fileName)).exists());\n fileName = OUTPUT_DIR + File.separator + \"Z.class\";\n assertTrue(\"missing file: \" + fileName, (new File(fileName)).exists());\n }", "title": "" }, { "docid": "40646d9a2ae2eb0077f5c5ee96687fd3", "score": "0.5031605", "text": "@Test\n public void testSolution() {\n assertSolution(\"5601\", \"input-day09-2017.txt\");\n }", "title": "" }, { "docid": "28b7836b0473ec61a8375f56fb31b75c", "score": "0.5030291", "text": "public void test095_per_source_output_directory() {\n String source1 = \"src1\";\n this.runConformTest(new String[] { source1 + File.separator + \"/X.java\", \"public class X {}\", \"Z.java\", \"public class Z {\\n\" + \" // X f;\\n\" + \"}\" }, \" \\\"\" + OUTPUT_DIR + File.separator + source1 + \"\\\"\" + \"[-d none] \" + \"\\\"\" + OUTPUT_DIR + File.separator + \"Z.java\\\"\" + \" -1.5\", \"\", \"\", true);\n String fileName = OUTPUT_DIR + File.separator + source1 + File.separator + \"X.class\";\n assertFalse(\"extraneous file: \" + fileName, (new File(fileName)).exists());\n fileName = OUTPUT_DIR + File.separator + \"Z.class\";\n assertTrue(\"missing file: \" + fileName, (new File(fileName)).exists());\n }", "title": "" }, { "docid": "b6940206797789cf52053903410f6054", "score": "0.5027092", "text": "@After\n public void testResult()\n {\n filePath=null;\n }", "title": "" }, { "docid": "cdab68ebbad346cf662512603f2beead", "score": "0.50265557", "text": "@After\n\tpublic void resetTestPreparations() {\n\t\tSystem.setOut(System.out);\n\t\ttry {\n\t\t\tFiles.delete(Paths.get(\".\" + File.separator + \"DB.txt\"));\n\t\t} catch (IOException e) {\n\t\t}\n\t\tconsoleOutput.reset();\n\t}", "title": "" }, { "docid": "8327423399e883af895ed8232057a095", "score": "0.50193757", "text": "protected ToggleGUITestObject output_file() \n\t{\n\t\treturn new ToggleGUITestObject(\n getMappedTestObject(\"output_file\"));\n\t}", "title": "" }, { "docid": "b2924a829a88b2ca9943784f483b5d85", "score": "0.50180566", "text": "protected void setUp() throws Exception {\n String workingDir = getWorkDirPath();\n new File(workingDir).mkdirs();\n File outputFile = new File(workingDir + \"/output.txt\");\n outputFile.createNewFile();\n File errorFile = new File(workingDir + \"/error.txt\");\n errorFile.createNewFile();\n PrintWriter outputWriter = new PrintWriter(new FileWriter(outputFile));\n PrintWriter errorWriter = new PrintWriter(new FileWriter(errorFile));\n org.netbeans.jemmy.JemmyProperties.setCurrentOutput(new org.netbeans.jemmy.TestOut(System.in, outputWriter, errorWriter));\n }", "title": "" }, { "docid": "4a350127719f94a6b5fee5246d11ab51", "score": "0.5012356", "text": "@Test\n void testIsConflictingAdjacentFalse()\n {\n String originalVersion = \"Hello there, this is a test\\n\";\n String changedVersion1 = \"Hello there, this is some test\\n\";\n EditList changedLines1 = LineIndexDiffUtil.getChangedLines(originalVersion, changedVersion1, RawTextComparator.DEFAULT);\n IFileDiff fileDiff1 = TestUtil._createFileDiff(changedLines1, originalVersion, changedVersion1);\n String changedVersion2 = \"Hello there, t'is a test\\n\";\n EditList changedLines2 = LineIndexDiffUtil.getChangedLines(originalVersion, changedVersion2, RawTextComparator.DEFAULT);\n IFileDiff fileDiff2 = TestUtil._createFileDiff(changedLines2, originalVersion, changedVersion2);\n IFileDiffHeader fileDiffHeader = Mockito.mock(IFileDiffHeader.class);\n ConflictType conflictType = fileDiff1.getChangeDeltas().get(0).isConflictingWith(fileDiff2.getChangeDeltas().get(0), EConflictSide.THEIRS, RESOLVE_OPTIONS_PROVIDER,\n fileDiffHeader);\n assertEquals(EConflictType.RESOLVABLE, conflictType.getConflictType());\n assertNotNull(conflictType.getResolveOption());\n assertEquals(WordBasedResolveOption.class, conflictType.getResolveOption().getClass());\n }", "title": "" }, { "docid": "f1b05b99bf7c0579314b81347bf3ff33", "score": "0.5011846", "text": "@Test\r\n public void testDifference() {\r\n }", "title": "" }, { "docid": "8ef1d1be32c80903835bfecadf197733", "score": "0.5011779", "text": "public void test092_per_source_output_directory() {\n String source1 = \"src1\", output1 = \"bin1\", output2 = \"bin2\";\n this.runConformTest(new String[] { source1 + File.separator + \"/X.java\", \"public class X {}\", \"Z.java\", \"public class Z {\\n\" + \" X f;\\n\" + \"}\" }, \"\\\"\" + OUTPUT_DIR + File.separator + \"Z.java\\\"\" + \" \\\"\" + OUTPUT_DIR + File.separator + source1 + \"\\\"\" + \"[-d \\\"\" + OUTPUT_DIR + File.separator + output1 + \"\\\"]\" + \" -1.5\" + \" -d \\\"\" + OUTPUT_DIR + File.separator + output2 + \"\\\"\", \"\", \"\", true);\n String fileName = OUTPUT_DIR + File.separator + output1 + File.separator + \"X.class\";\n assertTrue(\"missing file: \" + fileName, (new File(fileName)).exists());\n fileName = OUTPUT_DIR + File.separator + source1 + File.separator + \"X.class\";\n assertFalse(\"extraneous file: \" + fileName, (new File(fileName)).exists());\n fileName = OUTPUT_DIR + File.separator + output2 + File.separator + \"X.class\";\n assertFalse(\"extraneous file: \" + fileName, (new File(fileName)).exists());\n fileName = OUTPUT_DIR + File.separator + output2 + File.separator + \"Z.class\";\n assertTrue(\"missing file: \" + fileName, (new File(fileName)).exists());\n }", "title": "" }, { "docid": "3b39cd347fa58fdd967e3becb822aa5e", "score": "0.50104904", "text": "@Test\n public void executeTest() {\n ByteArrayOutputStream outContent = new ByteArrayOutputStream();\n System.setOut(new PrintStream(outContent));\n\n d_Airlift.execute();\n\n String ex = \"has been moved\";\n assertEquals(true, outContent.toString().contains(ex));\n assertEquals(30, d_Target.getArmyCount());\n assertEquals(10, d_Source.getArmyCount());\n }", "title": "" }, { "docid": "c09e89aca17a2b237d065ea588daf1f0", "score": "0.5006289", "text": "@Test\n void testIsConflictingFalse()\n {\n String originalVersion = \"Hello there, this is a test\\n\";\n String changedVersion1 = \"Hello there, this is some test\\n\";\n EditList changedLines1 = LineIndexDiffUtil.getChangedLines(originalVersion, changedVersion1, RawTextComparator.DEFAULT);\n IFileDiff fileDiff1 = TestUtil._createFileDiff(changedLines1, originalVersion, changedVersion1);\n String changedVersion2 = \"Hellou there, this is a test\\n\";\n EditList changedLines2 = LineIndexDiffUtil.getChangedLines(originalVersion, changedVersion2, RawTextComparator.DEFAULT);\n IFileDiff fileDiff2 = TestUtil._createFileDiff(changedLines2, originalVersion, changedVersion2);\n IFileDiffHeader fileDiffHeader = Mockito.mock(IFileDiffHeader.class);\n ConflictType conflictType = fileDiff1.getChangeDeltas().get(0).isConflictingWith(fileDiff2.getChangeDeltas().get(0), EConflictSide.THEIRS, RESOLVE_OPTIONS_PROVIDER,\n fileDiffHeader);\n assertEquals(EConflictType.RESOLVABLE, conflictType.getConflictType());\n assertNotNull(conflictType.getResolveOption());\n assertEquals(WordBasedResolveOption.class, conflictType.getResolveOption().getClass());\n }", "title": "" }, { "docid": "0b1035898ac334168bcea355c9591916", "score": "0.5002226", "text": "public void test074_per_source_output_directory() {\n String source1 = \"src1\", output1 = \"bin1\", output2 = \"bin2\";\n this.runConformTest(new String[] { source1 + File.separator + \"/X.java\", \"public class X {}\", \"Z.java\", \"public class Z {\\n\" + \" X f;\\n\" + \"}\" }, \"\\\"\" + OUTPUT_DIR + File.separator + \"Z.java\\\"\" + \" -1.5\" + \" -classpath \\\"\" + OUTPUT_DIR + File.separator + source1 + \"\\\"\" + \"[-d \\\"\" + OUTPUT_DIR + File.separator + output1 + \"\\\"]\" + \" -d \\\"\" + OUTPUT_DIR + File.separator + output2 + \"\\\"\", \"\", \"\", true);\n String fileName = OUTPUT_DIR + File.separator + output1 + File.separator + \"X.class\";\n assertTrue(\"missing file: \" + fileName, (new File(fileName)).exists());\n fileName = OUTPUT_DIR + File.separator + source1 + File.separator + \"X.class\";\n assertFalse(\"extraneous file: \" + fileName, (new File(fileName)).exists());\n fileName = OUTPUT_DIR + File.separator + output2 + File.separator + \"X.class\";\n assertFalse(\"extraneous file: \" + fileName, (new File(fileName)).exists());\n fileName = OUTPUT_DIR + File.separator + output2 + File.separator + \"Z.class\";\n assertTrue(\"missing file: \" + fileName, (new File(fileName)).exists());\n }", "title": "" }, { "docid": "30018c46e5e681df675245e90877c911", "score": "0.5001056", "text": "public void test097_per_source_output_directory() {\n String source1 = \"src1\", source2 = \"src2\", output1 = \"bin1\", output2 = \"bin2\";\n this.runConformTest(new String[] { source1 + File.separator + \"/X.java\", \"public class X {}\", source2 + File.separator + \"Z.java\", \"public class Z {\\n\" + \" X f;\\n\" + \"}\" }, \" \\\"\" + OUTPUT_DIR + File.separator + source2 + \"\\\"\" + \" \\\"\" + OUTPUT_DIR + File.separator + source1 + \"\\\"\" + \"[-d \\\"\" + OUTPUT_DIR + File.separator + output1 + \"\\\"]\" + \" -1.5\" + \" -d none\", \"\", \"\", true);\n String fileName = OUTPUT_DIR + File.separator + output1 + File.separator + \"X.class\";\n assertTrue(\"missing file: \" + fileName, (new File(fileName)).exists());\n fileName = OUTPUT_DIR + File.separator + source1 + File.separator + \"X.class\";\n assertFalse(\"extraneous file: \" + fileName, (new File(fileName)).exists());\n fileName = OUTPUT_DIR + File.separator + output2 + File.separator + \"X.class\";\n assertFalse(\"extraneous file: \" + fileName, (new File(fileName)).exists());\n fileName = OUTPUT_DIR + File.separator + source2 + File.separator + \"Z.class\";\n assertFalse(\"extraneous file: \" + fileName, (new File(fileName)).exists());\n }", "title": "" }, { "docid": "c9f80e5ca12553c5c3aa5483eca5b4ae", "score": "0.50005776", "text": "public void teardown(ITestResult result) throws IOException {\n\t\tif (ITestResult.FAILURE == result.getStatus()) {\n\t\t\tString screenshot_path = onTestFailure(driver, result);\n\t\t\tString image = test.addScreenCapture(screenshot_path);\n\t\t\ttest.log(LogStatus.FAIL, result.getThrowable());\n\t\t\ttest.log(LogStatus.FAIL, image);\n\t\t\tLog.info(\"Testcase : \"+result.getName()+\" is failed\");\n\t\t\tpageObject.getWorkBookRead().writeSheetTDD(result.getStatus(), result.getName());\n\t\t} else if (result.getStatus() == ITestResult.SKIP) {\n\t\t\ttest.log(LogStatus.SKIP, \"Test skipped \" + result.getThrowable());\n\t\t\tLog.info(result.getName()+\"is Skipped\");\n\t\t\tpageObject.getWorkBookRead().writeSheetTDD(result.getStatus(), result.getName());\n\t\t} else {\n\t\t\ttest.log(LogStatus.PASS, \"Test passed\");\n\t\t\tLog.info(result.getName()+\" method is Passed\");\n\t\t\tpageObject.getWorkBookRead().writeSheetTDD(result.getStatus(), result.getName());\n\t\t}\n\t\textent.endTest(test);\n\t\tdriver.get(URL+\"/ideas\");\n\t}", "title": "" }, { "docid": "b5e581a5619f757de7e2c335750242e3", "score": "0.49991912", "text": "@Test\n\t@Ignore // flacky?\n\tpublic void test_doomy_2_hiera_changes() throws Exception {\n\n\t\tString dep = new File(\"./examples/libs/junit-4.4.jar\").getAbsolutePath();\n\n\t\tFile out = new File(ConfigurationProperties.getProperty(\"workingDirectory\"));\n\n\t\tCommandSummary command = new CommandSummary();\n\t\tcommand.command.put(\"-location\", new File(\"./examples/testMultiMet/testMulti3\").getAbsolutePath());\n\t\tcommand.command.put(\"-mode\", \"custom\");\n\t\tcommand.command.put(\"-customengine\", MultiMetaEvalTOSApproach.class.getName());\n\t\tcommand.command.put(\"-javacompliancelevel\", \"7\");\n\t\tcommand.command.put(\"-maxtime\", \"120\");\n\t\tcommand.command.put(\"-seed\", \"0\");\n\t\tcommand.command.put(\"-stopfirst\", \"false\");\n\t\tcommand.command.put(\"-maxgen\", \"0\");\n\t\tcommand.command.put(\"-population\", \"1\");\n\t\tcommand.command.put(\"-scope\", \"local\");\n\t\tcommand.command.put(\"-srcjavafolder\", \"src/main/java/\");\n\t\tcommand.command.put(\"-srctestfolder\", \"src/test/java/\");\n\t\tcommand.command.put(\"-binjavafolder\", \"target/classes/\");\n\t\tcommand.command.put(\"-bintestfolder\", \"target/test-classes/\");\n\t\tcommand.command.put(\"-id\", \"test-mr3a\");\n\t\tcommand.command.put(\"-out\", out.getAbsolutePath());\n\t\tcommand.command.put(\"-dependencies\", dep);\n\t\tcommand.command.put(\"-loglevel\", \"DEBUG\");\n\t\tcommand.command.put(\"-flthreshold\", \"0.24\");\n\t\tcommand.command.put(\"-saveall\", \"\");\n\t\tcommand.command.put(\"-parameters\", \"metamustclone:false\");\n\n\t\tAstorMain main1 = new AstorMain();\n\t\tmain1.execute(command.flat());\n\n\t\tMultiMetaEvalTOSApproach.MAX_GENERATIONS = 1000;\n\n\t\tMultiMetaEvalTOSApproach approach = (MultiMetaEvalTOSApproach) main1.getEngine();\n\n\t\tModificationPoint mp30 = approach.getVariants().get(0).getModificationPoints().stream()\n\t\t\t\t.filter(e -> (e.getCodeElement().getPosition().getLine() == 30\n\t\t\t\t\t\t&& e.getCodeElement().getPosition().getFile().getName().equals(\"MyBuggy.java\")))\n\t\t\t\t.findAny().get();\n\t\tassertNotNull(mp30);\n\t\tassertTrue(mp30.getCodeElement() instanceof CtIf);\n\n\t\tPrediction prediction = new Prediction();\n\n\t\tapproach.setPredictor(new IPredictor() {\n\n\t\t\t@Override\n\t\t\tpublic PredictionResult computePredictionsForModificationPoint(ModificationPoint iModifPoint) {\n\t\t\t\t// No prediction\n\t\t\t\treturn null;\n\t\t\t}\n\t\t});\n\n\t\tCtIf ifexp = (CtIf) mp30.getCodeElement();\n\n\t\tCtBinaryOperator binif = (CtBinaryOperator) ifexp.getCondition();\n\n\t\tassertEquals(\"i1 > i1\", binif.toString());\n\n\t\t// the second one is buggy\n\t\tList<CtElement> vars = mp30.getCodeElement()\n\t\t\t\t.getElements(e -> e instanceof CtVariableAccess && e.toString().equals(\"i1\"));\n\t\t// var in 1 is that one in the right part of the assignment.\n\t\tCtElement vacc = vars.get(1);\n\t\tassertNotNull(vacc);\n\n\t\tprediction.add(new PredictionElement(1, vacc), new VarReplacementByAnotherVarOp());\n\n\t\tprediction.add(new PredictionElement(2, binif), new LogicExpOperator());\n\n\t\tboolean isSolution = approach.analyzePrediction(approach.getVariants().get(0), mp30, prediction);\n\n\t\tassertTrue(isSolution);\n\n\t\tapproach.atEnd();\n\n\t\tList<ProgramVariant> solutions = approach.getSolutions();\n\n\t\tassertTrue(solutions.size() > 0);\n\n\t\tboolean exists = true;\n\n\t\tfor (ProgramVariant programVariant : solutions) {\n\t\t\texists = true;\n\t\t\texists &= programVariant.getAllOperations().stream()\n\t\t\t\t\t.filter(e -> e.getModified().toString().startsWith(\"(i1 > i2) || i1 == i2\")\n\t\t\t\t\t\t\t&& e.getOriginal().toString().equals(\"i1 > i1\"))\n\t\t\t\t\t.findFirst().isPresent();\n\n\t\t\texists &= programVariant.getPatchDiff().getOriginalStatementAlignmentDiff()\n\t\t\t\t\t.contains(\"+\t\t\tif ((i1 > i2) || i1 == i2)\");\n\n\t\t\texists &= programVariant.getPatchDiff().getOriginalStatementAlignmentDiff()\n\t\t\t\t\t.contains(\"-\t\t\tif (i1 > i1)\");\n\n\t\t\tif (exists)\n\t\t\t\tbreak;\n\t\t}\n\t\tassertTrue(exists);\n\n\t}", "title": "" }, { "docid": "97fc05b8f7b4f66dcdf0946e3d4adae0", "score": "0.49965388", "text": "@Test\n void testIsConflictingSameFalse()\n {\n String originalVersion = \"Hello there, this is a test\\nSo here are some words\\nNo use taking a rest\\nWe're not creating any turds\";\n String changedVersion1 = \"Bello there, this is some test\\nSo here are some words\\nNo use taking a rest\\nWe are not creating a turd\";\n EditList changedLines1 = LineIndexDiffUtil.getChangedLines(originalVersion, changedVersion1, RawTextComparator.DEFAULT);\n IFileDiff fileDiff1 = TestUtil._createFileDiff(changedLines1, originalVersion, changedVersion1);\n String changedVersion2 = \"Hello there, this is test\\nSo here are some words\\nNo use taking a rest\\nWe are not creating a turd\";\n EditList changedLines2 = LineIndexDiffUtil.getChangedLines(originalVersion, changedVersion2, RawTextComparator.DEFAULT);\n IFileDiff fileDiff2 = TestUtil._createFileDiff(changedLines2, originalVersion, changedVersion2);\n IFileDiffHeader fileDiffHeader = Mockito.mock(IFileDiffHeader.class);\n ConflictType conflictType = fileDiff1.getChangeDeltas().get(0).isConflictingWith(fileDiff2.getChangeDeltas().get(0), EConflictSide.THEIRS, RESOLVE_OPTIONS_PROVIDER,\n fileDiffHeader);\n assertEquals(EConflictType.CONFLICTING, conflictType.getConflictType());\n assertNull(conflictType.getResolveOption());\n ConflictType conflictType2 = fileDiff1.getChangeDeltas().get(1).isConflictingWith(fileDiff2.getChangeDeltas().get(1), EConflictSide.THEIRS, RESOLVE_OPTIONS_PROVIDER,\n fileDiffHeader);\n assertEquals(EConflictType.RESOLVABLE, conflictType2.getConflictType());\n assertNotNull(conflictType2.getResolveOption());\n assertEquals(SameResolveOption.class, conflictType2.getResolveOption().getClass());\n }", "title": "" }, { "docid": "4e39cf441631a3a2c0f23055663cda21", "score": "0.4992345", "text": "void generateOutput() {\n // Do nothing. Subclasses should override.\n }", "title": "" }, { "docid": "7b3fd874d1907e108fac28d1c51b7d2b", "score": "0.4980387", "text": "private void performSample1(Path inputPath, Path outputPath) throws IOException, URISyntaxException {\n Map scope = new HashMap<String, String>();\n scope.put(\"animal\", \"duck\");\n scope.put(\"food\", \"worm\");\n IOTransformer trafo = DocumentTransformers.newMustacheDocxTransformer(scope);\n trafo.transform(inputPath, outputPath);\n assertTrue(outputPath.toFile().exists());\n //mock transformer to check the text of the output file\n DocumentTransformers.newDocxTransformer(new IOTransformer<Reader, Writer>() {\n @Override public void transform(Reader input, Writer output) throws IOException {\n String text = IOUtils.readAll(input);\n assertTrue(text.contains(\"duck\") && text.contains(\"worm\"));\n }\n }).transform(outputPath, Files.createTempFile(\"jTrafo_\", null));\n }", "title": "" }, { "docid": "8121cc939ec008925a34ec1e03f940aa", "score": "0.49786425", "text": "public void test096_per_source_output_directory() {\n String source1 = \"src1\", output1 = \"bin1\";\n this.runConformTest(new String[] { source1 + File.separator + \"/X.java\", \"public class X {}\", \"Z.java\", \"public class Z {\\n\" + \" X f;\\n\" + \"}\" }, \"\\\"\" + OUTPUT_DIR + File.separator + \"Z.java\\\"\" + \" \\\"\" + OUTPUT_DIR + File.separator + source1 + \"\\\"\" + \"[-d \\\"\" + OUTPUT_DIR + File.separator + output1 + \"\\\"]\" + \" -1.5\" + \" -d none\", \"\", \"\", true);\n String fileName = OUTPUT_DIR + File.separator + output1 + File.separator + \"X.class\";\n assertTrue(\"missing file: \" + fileName, (new File(fileName)).exists());\n fileName = OUTPUT_DIR + File.separator + source1 + File.separator + \"X.class\";\n assertFalse(\"extraneous file: \" + fileName, (new File(fileName)).exists());\n fileName = OUTPUT_DIR + File.separator + \"Z.class\";\n assertFalse(\"extraneous file: \" + fileName, (new File(fileName)).exists());\n }", "title": "" }, { "docid": "bee9bfcbbe0b68de14eedf3462057ec2", "score": "0.4977593", "text": "@Test\n public void whenUpdatingResultEveryTeamInResultIsLookedFor() {\n }", "title": "" }, { "docid": "25287dcbea538f80c529b0fb45d45219", "score": "0.497679", "text": "private void saveAssertionsToFile() {\n \t\tFileWriter out;\n \t\tJFileChooser fileChooser;\n \t\tFile destinationFile;\n \t\tboolean okayToWrite;\n \t\tint choice;\n \n \t\tout = null;\n \n \t\tfileChooser = new JFileChooser();\n \n \t\tif (rdfFile != null) {\n \t\t\tfileChooser.setSelectedFile(rdfFile);\n \t\t} else {\n \t\t\tfileChooser.setSelectedFile(new File(\".\"));\n \t\t}\n \n \t\tchoice = fileChooser.showSaveDialog(this);\n \t\tdestinationFile = fileChooser.getSelectedFile();\n \n \t\t// Did not click save, did not select a file or chose a directory\n \t\t// So do not write anything\n \t\tif (choice != JFileChooser.APPROVE_OPTION || destinationFile == null\n \t\t\t\t|| (destinationFile.exists() && !destinationFile.isFile())) {\n \t\t\treturn; // EARLY EXIT!\n \t\t}\n \n \t\tokayToWrite = !destinationFile.exists();\n \t\tif (!okayToWrite) {\n \t\t\tint verifyOverwrite;\n \t\t\tverifyOverwrite = JOptionPane.showConfirmDialog(this,\n \t\t\t\t\t\"The file exists: \" + destinationFile.getName()\n \t\t\t\t\t\t\t+ \"\\n\\nOkay to overwrite?\", \"Overwrite File?\",\n \t\t\t\t\tJOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);\n \t\t\tokayToWrite = verifyOverwrite == JOptionPane.YES_OPTION;\n \t\t}\n \n \t\tif (okayToWrite) {\n \n \t\t\tLOGGER.info(\"Write assertions to file, \" + destinationFile\n \t\t\t\t\t+ \", in format: \" + assertionLanguage);\n \n \t\t\ttry {\n \t\t\t\tout = new FileWriter(destinationFile, false);\n \t\t\t\tout.write(assertions.getText());\n \t\t\t} catch (IOException ioExc) {\n \t\t\t\tLOGGER.error(\"Unable to write to file: \" + destinationFile,\n \t\t\t\t\t\tioExc);\n \t\t\t\tthrow new RuntimeException(\"Unable to write output file (\"\n \t\t\t\t\t\t+ destinationFile + \")\", ioExc);\n \t\t\t} finally {\n \t\t\t\tif (out != null) {\n \t\t\t\t\ttry {\n \t\t\t\t\t\tout.close();\n \t\t\t\t\t} catch (Throwable throwable) {\n \t\t\t\t\t\tLOGGER.error(\"Failed to close output file: \"\n \t\t\t\t\t\t\t\t+ destinationFile, throwable);\n \t\t\t\t\t\tthrow new RuntimeException(\n \t\t\t\t\t\t\t\t\"Failed to close output file\", throwable);\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \t}", "title": "" }, { "docid": "690342fc270641b484ee495a676e5f95", "score": "0.49746928", "text": "private void initialiseOutput() {\n logger.info(\"Results will be written to '{}'.\", OUTPUT_FILEPATH);\n\n // create results directory\n FileUtilities.createDirectory(OUTPUT_DIRECTORY);\n\n // delete output files before starting\n FileUtilities.deleteIfExists(OUTPUT_FILEPATH);\n }", "title": "" }, { "docid": "cd894be17ed85d81559038adaf4b680a", "score": "0.49613732", "text": "public void test075_per_source_output_directory() {\n String source1 = \"src1\", output1 = \"bin1\";\n this.runConformTest(new String[] { source1 + File.separator + \"/X.java\", \"public class X {}\", \"Z.java\", \"public class Z {\\n\" + \" X f;\\n\" + \"}\" }, \"\\\"\" + OUTPUT_DIR + File.separator + \"Z.java\\\"\" + \" -1.5\" + \" -cp \\\"\" + OUTPUT_DIR + File.separator + source1 + \"\\\"\" + \"[-d \\\"\" + OUTPUT_DIR + File.separator + output1 + \"\\\"]\", \"\", \"\", true);\n String fileName = OUTPUT_DIR + File.separator + output1 + File.separator + \"X.class\";\n assertTrue(\"missing file: \" + fileName, (new File(fileName)).exists());\n fileName = OUTPUT_DIR + File.separator + source1 + File.separator + \"X.class\";\n assertFalse(\"extraneous file: \" + fileName, (new File(fileName)).exists());\n fileName = OUTPUT_DIR + File.separator + \"Z.class\";\n assertTrue(\"missing file: \" + fileName, (new File(fileName)).exists());\n }", "title": "" }, { "docid": "1e66f7ff454306cb59641d2a30b8fd7c", "score": "0.49609762", "text": "@Test\n public void testExample1() {\n assertSolution(\"126\", \"example-day07-2020-1.txt\");\n }", "title": "" }, { "docid": "4b2e5f2018fd903f683fd497e0c5dcb9", "score": "0.49595752", "text": "@AfterClass\n public static void deleteOutputDir() {\n\n // Delete the output directory\n FileUtils.deleteQuietly(new File(OUTPUT_DIR));\n }", "title": "" }, { "docid": "6de23e550b42cb5f799e9367fbbd26cf", "score": "0.49593917", "text": "public void test085_per_source_output_directory() {\n String source1 = \"src1\", output1 = \"bin1\";\n this.runConformTest(new String[] { source1 + File.separator + \"/X.java\", \"public class X {}\", \"Z.java\", \"public class Z {\\n\" + \" X f;\\n\" + \"}\" }, \"\\\"\" + OUTPUT_DIR + File.separator + \"Z.java\\\"\" + \" -1.5\" + \" -bootclasspath \" + getLibraryClassesAsQuotedString() + File.pathSeparator + \"\\\"\" + OUTPUT_DIR + File.separator + source1 + \"\\\"\" + \"[-**/*][-d \\\"\" + OUTPUT_DIR + File.separator + output1 + \"\\\"]\", \"\", \"----------\\n\" + \"1. WARNING in ---OUTPUT_DIR_PLACEHOLDER---/Z.java (at line 2)\\n\" + \"\tX f;\\n\" + \"\t^\\n\" + \"Access restriction: The type \\'X\\' is not API (restriction on classpath entry \\'---OUTPUT_DIR_PLACEHOLDER---/src1\\')\\n\" + \"----------\\n\" + \"1 problem (1 warning)\\n\", true);\n }", "title": "" }, { "docid": "1f0d492dae9c134ef8cdd2e440081491", "score": "0.495721", "text": "@Test\n void writeFile_yaml_noMerging() throws IOException {\n writeFileTest_noMerging(JsonTools.YAML, YML_FILE);\n }", "title": "" }, { "docid": "c49e6fcca0468c224d3fbdfbd5a8fab5", "score": "0.49547657", "text": "public void test070_per_source_output_directory() {\n String source1 = \"src1\";\n this.runConformTest(new String[] { source1 + File.separator + \"/X.java\", \"public class X {}\", \"Z.java\", \"public class Z {\\n\" + \" X f;\\n\" + \"}\" }, \"\\\"\" + OUTPUT_DIR + File.separator + \"Z.java\\\"\" + \" -1.5\" + \" -sourcepath \\\"\" + OUTPUT_DIR + File.separator + source1 + \"\\\"\" + \"[-d none]\", \"\", \"\", true);\n String fileName = OUTPUT_DIR + File.separator + source1 + File.separator + \"X.class\";\n assertFalse(\"extraneous file: \" + fileName, (new File(fileName)).exists());\n fileName = OUTPUT_DIR + File.separator + \"Z.class\";\n assertTrue(\"missing file: \" + fileName, (new File(fileName)).exists());\n }", "title": "" }, { "docid": "f031f249eb1a573d409223d00ca14596", "score": "0.4952672", "text": "@Test\n \tpublic void returnOverwriteTest7() {\n \t\tInfoflow infoflow = initInfoflow();\n \t\tList<String> epoints = new ArrayList<String>();\n \t\tepoints.add(\"<soot.jimple.infoflow.test.OverwriteTestCode: void returnOverwrite7()>\");\n \t\tinfoflow.computeInfoflow(path, epoints, sources, sinks);\n \t\tcheckInfoflow(infoflow, 1);\n \t\tAssert.assertEquals(1, infoflow.getResults().size());\n \t}", "title": "" }, { "docid": "66344d0e1eb31eec41380b2cd9f53113", "score": "0.49496767", "text": "public void test068_per_source_output_directory() {\n String source1 = \"src1\", output1 = \"bin1\", output2 = \"bin2\";\n this.runConformTest(new String[] { source1 + File.separator + \"/X.java\", \"public class X {}\", \"Z.java\", \"public class Z {\\n\" + \" X f;\\n\" + \"}\" }, \"\\\"\" + OUTPUT_DIR + File.separator + \"Z.java\\\"\" + \" -1.5\" + \" -sourcepath \\\"\" + OUTPUT_DIR + File.separator + source1 + \"\\\"\" + \"[-d \\\"\" + OUTPUT_DIR + File.separator + output1 + \"\\\"]\" + \" -d \\\"\" + OUTPUT_DIR + File.separator + output2 + \"\\\"\", \"\", \"\", true);\n String fileName = OUTPUT_DIR + File.separator + output1 + File.separator + \"X.class\";\n assertTrue(\"missing file: \" + fileName, (new File(fileName)).exists());\n fileName = OUTPUT_DIR + File.separator + source1 + File.separator + \"X.class\";\n assertFalse(\"extraneous file: \" + fileName, (new File(fileName)).exists());\n fileName = OUTPUT_DIR + File.separator + output2 + File.separator + \"X.class\";\n assertFalse(\"extraneous file: \" + fileName, (new File(fileName)).exists());\n fileName = OUTPUT_DIR + File.separator + output2 + File.separator + \"Z.class\";\n assertTrue(\"missing file: \" + fileName, (new File(fileName)).exists());\n }", "title": "" }, { "docid": "3d86c89ac1eae9d4163c0a8e5ed2d381", "score": "0.49491093", "text": "private void writeToFile() {\n ObjectOutputStream toFile;\n MatchResult result = new MatchResult((ChessMatchInfo)mainFrame.getResultPanel().getChooseMatch().getValue(),\n (String)mainFrame.getResultPanel().getResultBox().getValue());\n\n try {\n toFile = new ObjectOutputStream(new FileOutputStream(ResultPanel.resultFile, true));\n toFile.writeObject(result);\n toFile.close();\n\n } catch (IOException e) {\n e.printStackTrace();\n }finally {\n\n /* Oppdater resultatliste*/\n mainFrame.getRegisterMovePanel().update();\n }\n }", "title": "" } ]
232e8b4892dd521e899dba3f25175250
Sets the question ID of this question statistics.
[ { "docid": "26ad9838124bb1f8ddb1c360b8b817f5", "score": "0.7960506", "text": "@Override\n\tpublic void setQuestionId(long questionId) {\n\t\t_questionStatistics.setQuestionId(questionId);\n\t}", "title": "" } ]
[ { "docid": "6a07320645986603b720f6421aad9853", "score": "0.72428006", "text": "public void setQuestionId(long questionId);", "title": "" }, { "docid": "3dc206ed45af3c696043a7387c3f0a96", "score": "0.67834735", "text": "@Override\n\tpublic void setQuestionId(long questionId) {\n\t\tmodel.setQuestionId(questionId);\n\t}", "title": "" }, { "docid": "c0a586e26d4b94310cb404d8c2136a0b", "score": "0.65639645", "text": "public static void setStaticAnswerID(Question question) {\n\t\tif (question.getTitle().contains(CallBackMessage.EXCITED_BAR_STATISTIC_EVOTER_REQUEST)) {\n\t\t\tif (EVoterShareMemory.getExictedQuestion() == null || question.getId() != EVoterShareMemory.getExictedQuestion().getId())\n\t\t\t\tEVoterShareMemory.setExictedQuestion(question);\n\t\t}\n\t\tif (question.getTitle().contains(CallBackMessage.DIFFICULT_BAR_STATISTIC_EVOTER_REQUEST)) {\n\t\t\tif (EVoterShareMemory.getDifficultQuestion() == null || question.getId() != EVoterShareMemory.getDifficultQuestion().getId())\n\t\t\t\tEVoterShareMemory.setDifficultQuestion(question);\n\t\t}\n\t}", "title": "" }, { "docid": "9eafd32029ef885c376123793fb57daa", "score": "0.6340221", "text": "private void setQuestionCounter(int questionCounter) {\n AnimationUtils.fadeInFast(getBaseContext(), mBinding.scrollView);\n String counterText = \"Question \" + questionCounter;\n mTopViewBinding.textViewQuestionCounter.setText(counterText);\n }", "title": "" }, { "docid": "d56d8759224302c12519e73f06f425b2", "score": "0.6258367", "text": "private void setAskId(int value) {\n \n askId_ = value;\n }", "title": "" }, { "docid": "09e27807a6db59b37f32911b8b82f24b", "score": "0.6173637", "text": "public void setAnswerId(long answerId);", "title": "" }, { "docid": "45011d7593fb695bfa6ea36d738374ed", "score": "0.61088705", "text": "@Override\n\tpublic long getQuestionId() {\n\t\treturn _questionStatistics.getQuestionId();\n\t}", "title": "" }, { "docid": "684bfc857c60e3366967da620556dbb6", "score": "0.60936415", "text": "public int getQuestionId() {\n\t\treturn questionId;\n\t}", "title": "" }, { "docid": "e5591e8de7ffaf441b2a7d46dd5babf9", "score": "0.6078938", "text": "@Override\n\tpublic void setAnswered_a(long answered_a) {\n\t\t_questionStatistics.setAnswered_a(answered_a);\n\t}", "title": "" }, { "docid": "0bb44415481feb15d3a7897c0728da12", "score": "0.6031195", "text": "public void setQuestion(String question) {\n this.question = question;\n UnitOfWork.getCurrent().registerDirty(this);\n }", "title": "" }, { "docid": "554e209d2983f6b197a2492cec210057", "score": "0.6010604", "text": "private void setQuestion(int resID) {\n questionView.setText(resID);\n ecaFragment.sendToECAToSpeak(getResources().getString(resID));\n }", "title": "" }, { "docid": "16c04937bc11f3f9f75b73ad01c21229", "score": "0.59551734", "text": "public void setQuestions(int i) {\n\t\tquestionSet = i;\n\t}", "title": "" }, { "docid": "d0be9bd428ab16645c90b496782937c4", "score": "0.58922416", "text": "@Override\n\tpublic void setQUESTION(String QUESTION) {\n\t\t_questionRegistration.setQUESTION(QUESTION);\n\t}", "title": "" }, { "docid": "7aa7be5cbfdf800baf20916da62dd7f8", "score": "0.58566934", "text": "public void setCurrentQuestionID(int currentQuestionID) {\n\t\tthis.currentQuestionID = currentQuestionID;\n\t}", "title": "" }, { "docid": "f9f18dbe729383d19097398c2c6565b3", "score": "0.5828737", "text": "private void setQuestion(Question q) {\n fillComponent(R.id.q_image, q.questionImage, R.id.q_text, q.getText());\n fillComponent(R.id.c1_image, q.image1, R.id.c1_text, q.answerText1);\n fillComponent(R.id.c2_image, q.image2, R.id.c2_text, q.answerText2);\n fillComponent(R.id.c3_image, q.image3, R.id.c3_text, q.answerText3);\n fillComponent(R.id.c4_image, q.image4, R.id.c4_text, q.answerText4);\n setDefaultImage((ImageView) findViewById(R.id.imageView1));\n setDefaultImage((ImageView) findViewById(R.id.imageView2));\n setDefaultImage((ImageView) findViewById(R.id.imageView3));\n setDefaultImage((ImageView) findViewById(R.id.imageView4));\n\n\n q_number += 1;\n num.setText(q_number + \" / 10\");\n\n setTimeBar();\n }", "title": "" }, { "docid": "2670d501db555d9e374af345c4a90260", "score": "0.5813404", "text": "public Builder setSurveyId(int value) {\n bitField0_ |= 0x00000001;\n surveyId_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "e7146536cf67d2a417517ca9d817abd3", "score": "0.5802299", "text": "@Override\n\tpublic void setAnswered_d(long answered_d) {\n\t\t_questionStatistics.setAnswered_d(answered_d);\n\t}", "title": "" }, { "docid": "ff3bf21e2490d16a4aabed34023a753c", "score": "0.5714963", "text": "public void setQuestion(String question) {\n this.question = question;\n }", "title": "" }, { "docid": "8b82cbd5860b2b95efb93c7a18131cd5", "score": "0.57115537", "text": "public void setID(int id) {\n datasetID = id;\n }", "title": "" }, { "docid": "0d6503711d450eb2ffbc282f05d4a29d", "score": "0.57016003", "text": "private void setQuestion(String question) {\n\t\tsetAttribute(\"QTextField\", question);\n\n\t}", "title": "" }, { "docid": "67e371734b5d138a913ced4fde903289", "score": "0.56919354", "text": "void setChallengeIdAndPainting(long id);", "title": "" }, { "docid": "8693537cea885686057a76fd55d0c437", "score": "0.5675312", "text": "@Override\n\tpublic void setPROJECT_QUESTION_ID(long PROJECT_QUESTION_ID) {\n\t\t_questionRegistration.setPROJECT_QUESTION_ID(PROJECT_QUESTION_ID);\n\t}", "title": "" }, { "docid": "e6df187708082f9b6351e3d761ce3c94", "score": "0.5651989", "text": "public void setNumberOfQuizQ(int numQuestions)\r\n {\r\n numberOfQuizQ = numQuestions;\r\n }", "title": "" }, { "docid": "d6a27f3818ef2a44ec0948a0912e76d7", "score": "0.56139827", "text": "public int getQuestionID() {\n return questionID;\n }", "title": "" }, { "docid": "3499dbbbcee319e6e91fe764a6596709", "score": "0.5598865", "text": "private void updateQuestion() {\n if (mCurrentIndex==1){\n updateSurveyStatus(getString(R.string.survey_started_status));\n }\n int question = mQuestionBank[mCurrentIndex].getQuestionTextResID();\n mSurveyQuestionTextView.setText(question);\n }", "title": "" }, { "docid": "6770d44a2e0def0aaf74fee8b835ccb0", "score": "0.5594026", "text": "public void setDataId(Integer dataId) {\n this.dataId = dataId;\n }", "title": "" }, { "docid": "e8c727a51569d4147d24c0fa287324da", "score": "0.5590507", "text": "public void setQnId(long value) {\n this.qnId = value;\n }", "title": "" }, { "docid": "f0f78378c708e9a827e8259c1c5b3cd0", "score": "0.5566663", "text": "public void setQuestion(String q) {\n this.question = q;\n }", "title": "" }, { "docid": "5897403cc33afea8e3cab1ed9cd229eb", "score": "0.55457044", "text": "@Override\n\tpublic void setPrimaryKey(long primaryKey) {\n\t\t_questionStatistics.setPrimaryKey(primaryKey);\n\t}", "title": "" }, { "docid": "1d28b5e52630e18da4258acd199b1df9", "score": "0.5482016", "text": "@Override\n\tpublic void setAnswered_c(long answered_c) {\n\t\t_questionStatistics.setAnswered_c(answered_c);\n\t}", "title": "" }, { "docid": "dc7c5e01787a8d7ea06a8c71119b2bf1", "score": "0.54704106", "text": "public void setQuestionText(String question) {\n questionText.setText(question);\n }", "title": "" }, { "docid": "bb66a2c8b1830080f6dcf8c63fb93dda", "score": "0.54557353", "text": "public void setIdStatoIscrizione(Integer idStatoIscrizione);", "title": "" }, { "docid": "8cb27e9a777f3fde0ff1eab3f42abe5c", "score": "0.5387317", "text": "public void setActive_question() {\n displayed_question =getTotalQuizQuestions().get(random.nextInt(getTotalQuizQuestions().size()));\n }", "title": "" }, { "docid": "2efde4d9648150e75d9ae4f15799e722", "score": "0.53771156", "text": "public void setQuesId(Integer quesId) {\n this.quesId = quesId;\n }", "title": "" }, { "docid": "0372b660e174564c8c21cfbd8739ff65", "score": "0.53348726", "text": "public void setId(String id) {\n this.tSetId = id;\n }", "title": "" }, { "docid": "1e567aa804922aadecf52079b1b43453", "score": "0.5315462", "text": "public void setQuestion(String question) {\n this.question = question == null ? null : question.trim();\n }", "title": "" }, { "docid": "beaab29c2c69233c26c6fbc5c3962799", "score": "0.5310907", "text": "@Override\n\tpublic long getQuestionId() {\n\t\treturn model.getQuestionId();\n\t}", "title": "" }, { "docid": "d34efe5e46d1065431e0b728c17d4bb1", "score": "0.5302762", "text": "public long getQuestionId();", "title": "" }, { "docid": "f74ae1b465cee2cd18c8b798940555e1", "score": "0.52908915", "text": "public Builder setQuestid(int value) {\n bitField0_ |= 0x00004000;\n questid_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "939fc19bcd67f82307c3126b3bbf6050", "score": "0.52856183", "text": "public void setSelectedQuestions(int selectedQuestions)\r\n {\r\n SelectedQuestions = selectedQuestions;\r\n }", "title": "" }, { "docid": "6205cc4f723513d013853fe5568bbe0a", "score": "0.5268815", "text": "public void setQuestion(String question) {\n FormView formView = blip.getDocument().getFormView();\n FormElement questionLabel = formView.getFormElement(PREV_QUESTION_LABEL);\n questionLabel.setValue(question);\n formView.replace(questionLabel);\n }", "title": "" }, { "docid": "3d20b6d7f4628c4441b25d86ba8f4d1b", "score": "0.52667445", "text": "private void updateQuestion() {\n\t\tint question = mQuestionBank[mCurrentIndex].getQuestion();\n\t\tmQuestionTextView.setText(question);\n\t}", "title": "" }, { "docid": "3d871bc80835eb6fec8986e383fd6f73", "score": "0.5256605", "text": "public Builder setQuestid(int value) {\n bitField0_ |= 0x00000001;\n questid_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "50f4f6610d95092d859f9e9866f3bcf3", "score": "0.5253043", "text": "public void setQuestionNum(int no) {\n\t\tquestions.setQuestionNum(no);\n\t}", "title": "" }, { "docid": "21e88f2ccf56be2b04d6582ffe41e9f4", "score": "0.52529174", "text": "@Override\n\tpublic void setQUESTION_REQUESTER_USER_ID(long QUESTION_REQUESTER_USER_ID) {\n\t\t_questionRegistration.setQUESTION_REQUESTER_USER_ID(QUESTION_REQUESTER_USER_ID);\n\t}", "title": "" }, { "docid": "10dfc1e2041226d098f3b93d0ee7f8a7", "score": "0.5242917", "text": "@Override\r\n\tpublic int updQuestion(Question question) {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "fa788356ec87434be263d87821e08ee6", "score": "0.5225961", "text": "public void setExamId(UUID examId) {\n this.examId = examId;\n this.exam = null;\n UnitOfWork.getCurrent().registerDirty(this);\n }", "title": "" }, { "docid": "8accaca7f9adb49a286d16a2e439573e", "score": "0.5217291", "text": "private void setHintView(Question question) {\n\n if (question.getQuestionHints() != null) {\n\n ArrayList<QuestionHint> questionHintList = mPlayerModel.getRefinedHintList(question.getQuestionHints());\n\n if (!questionHintList.isEmpty()) {\n\n int hintSize = questionHintList.size();\n\n String hintCounterText = \"0/\" + hintSize;\n mTopViewBinding.textHintCounter.setText(hintCounterText);\n mTopViewBinding.layoutHintButton.setVisibility(View.VISIBLE);\n\n } else {\n mTopViewBinding.layoutHintButton.setVisibility(View.GONE);\n }\n\n } else {\n mTopViewBinding.layoutHintButton.setVisibility(View.GONE);\n }\n\n }", "title": "" }, { "docid": "fb192ac0e9e813dbe8694cab97a8320a", "score": "0.5212128", "text": "public void setQuizId(String quizId) {\n this.quizId = quizId == null ? null : quizId.trim();\n }", "title": "" }, { "docid": "5e93996d45c68360fada44b7bafb3ef2", "score": "0.5210851", "text": "public Builder setExamId(int value) {\n bitField0_ |= 0x00000001;\n examId_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "5e93996d45c68360fada44b7bafb3ef2", "score": "0.5210851", "text": "public Builder setExamId(int value) {\n bitField0_ |= 0x00000001;\n examId_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "5e93996d45c68360fada44b7bafb3ef2", "score": "0.5210851", "text": "public Builder setExamId(int value) {\n bitField0_ |= 0x00000001;\n examId_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "8b1634f347f9fc3a76a8f6ebae042408", "score": "0.5198039", "text": "@java.lang.Override\n public int getSurveyId() {\n return surveyId_;\n }", "title": "" }, { "docid": "96de8c9fb6eb56ab200ffd75463d30f9", "score": "0.5197218", "text": "public void setIdSolicitacao(int idSolicitacao) {\n this.idSolicitacao = idSolicitacao;\n }", "title": "" }, { "docid": "bed6b3141c0165983013a640e6a87081", "score": "0.5193501", "text": "public void setId(Number id)\n {\n this.id = id;\n }", "title": "" }, { "docid": "2ca687b9cf49df3792a8a026a4536412", "score": "0.5188548", "text": "@java.lang.Override\n public int getSurveyId() {\n return surveyId_;\n }", "title": "" }, { "docid": "8ebde766bab6dd011d1d35a50b713305", "score": "0.51835465", "text": "public void setDataId(Long dataId) {\r\n this.dataId = dataId;\r\n }", "title": "" }, { "docid": "91b138581670184883631e01a5e3817c", "score": "0.5177878", "text": "public void setId(int _id) {\n this.id = _id;\n }", "title": "" }, { "docid": "b36b2155af3b0a8f1fe96a238a6777f5", "score": "0.5170162", "text": "public Builder setAskId(int value) {\n copyOnWrite();\n instance.setAskId(value);\n return this;\n }", "title": "" }, { "docid": "677a452f992ca7e99fad2aa57efa121c", "score": "0.51424754", "text": "public void setId(int id){\n \n this.id = id;\n }", "title": "" }, { "docid": "06231b81753f3b0d18bde93560c4fa3b", "score": "0.5131547", "text": "public void setID(int id);", "title": "" }, { "docid": "06231b81753f3b0d18bde93560c4fa3b", "score": "0.5131547", "text": "public void setID(int id);", "title": "" }, { "docid": "38e58098351cfabbcd99e7ccc3592f99", "score": "0.51242185", "text": "void setID(ID id);", "title": "" }, { "docid": "fa8ba8048a80376426e571e18b00fa11", "score": "0.5115496", "text": "public String getQuizId() {\n return quizId;\n }", "title": "" }, { "docid": "79a1c3b4afab8caf3b73565dfd9cfbbe", "score": "0.51084226", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "130117f04ea9ee287e7a816179bbecba", "score": "0.5098755", "text": "private void setQuestionResource(Question question) {\n String resourcePathImage = question.fetchQuestionImage().getUrlMain();\n String resourcePathVideo = question.fetchQuestionVideo().getUrlMain();\n if (!TextUtils.isEmpty(resourcePathImage)) {\n mBinding.layoutQuestionResource.setVisibility(View.VISIBLE);\n Picasso.with(getBaseContext()).load(resourcePathImage).into(mBinding.imageViewResourceThumbnail);\n mBinding.imageViewResourceThumbnail.setTag(question.fetchQuestionImage().getUrlMain());\n mBinding.imageViewResourceType.setImageResource(R.drawable.action_image_w);\n } else if (!TextUtils.isEmpty(resourcePathVideo)) {\n mBinding.layoutQuestionResource.setVisibility(View.VISIBLE);\n Picasso.with(getBaseContext()).load(resourcePathVideo).into(mBinding.imageViewResourceThumbnail);\n mBinding.imageViewResourceThumbnail.setTag(question.fetchQuestionImage().getUrlMain());\n mBinding.imageViewResourceType.setImageResource(R.drawable.action_video_w);\n } else {\n mBinding.layoutQuestionResource.setVisibility(View.GONE);\n }\n\n mBinding.imageViewResourceThumbnail.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n showResource(mBinding.imageViewResourceThumbnail.getTag().toString());\n }\n });\n\n }", "title": "" }, { "docid": "94e19d7d5f3a4ed2767d2246bd5e5e22", "score": "0.5097347", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "698d9e448905c94f1a8d6b4a7842453e", "score": "0.509731", "text": "public void setId(int t){\n id = t;\n }", "title": "" }, { "docid": "eb8c6e903d9ea73ad504ded696409117", "score": "0.50895905", "text": "@Override\n\tpublic void setId(long id) {\n\t\t_tempDeclarationOfHealth.setId(id);\n\t}", "title": "" }, { "docid": "7500c6c62148a0ab937d56dff0c29786", "score": "0.50878966", "text": "@Override\n public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "01c95e6886766e43699484b432d82aef", "score": "0.5084266", "text": "public void setID(Integer id) {\n }", "title": "" }, { "docid": "301658a699a0f940ca7c18c416ab9215", "score": "0.5077444", "text": "public void setsId(Integer sId) {\r\n this.sId = sId;\r\n }", "title": "" }, { "docid": "373e226cc6c744e91d380ee67b9a75bb", "score": "0.50649905", "text": "public void setQuestion(String text) {\n\t\tquestion.setText(text);\n\t}", "title": "" }, { "docid": "333118b119818cca30546e0604c15952", "score": "0.50622094", "text": "public void answerQuestion(int ans_id) {\n mQnA.set(mPosition, ans_id);\n if (mQuizList.get(mPosition).getAnswers().get(ans_id).is_Correct()) {\n mCorrectAnswers++;\n }\n moveToNext();\n }", "title": "" }, { "docid": "298520cae3d20861ca5dfc3000bfa0d9", "score": "0.5056867", "text": "public void setId(int id){\r\n\t\tthis.id = id;\r\n\t}", "title": "" }, { "docid": "53fff8e7e5c01902c2612b63bfe103b3", "score": "0.5056134", "text": "public void setId(int id){\n \tthis.id = id;\n }", "title": "" }, { "docid": "4c772edc3d390a03b4f5d702c909fb2a", "score": "0.5051142", "text": "public void setId(int id) {this.id = id; }", "title": "" }, { "docid": "a9f2c30a12413ebe338b76c984f9a51d", "score": "0.50502896", "text": "public void setId(Short id) {\n this.id = id;\n }", "title": "" }, { "docid": "a9f2c30a12413ebe338b76c984f9a51d", "score": "0.50502896", "text": "public void setId(Short id) {\n this.id = id;\n }", "title": "" }, { "docid": "da0c5c9b008b5c2e5659f23068d3349f", "score": "0.5042421", "text": "public void setId(long id) {\n\t\t\r\n\t}", "title": "" }, { "docid": "370c89ec4264533d53889698d284f277", "score": "0.5037756", "text": "public void setId(int id) {\r\n this.id = id;\r\n }", "title": "" }, { "docid": "370c89ec4264533d53889698d284f277", "score": "0.5037756", "text": "public void setId(int id) {\r\n this.id = id;\r\n }", "title": "" }, { "docid": "245b0696def79629d558a23717c93719", "score": "0.5037086", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "3bedf3c23da6b0b6ef0fb244063f8195", "score": "0.5033746", "text": "void setId(long id);", "title": "" }, { "docid": "3bedf3c23da6b0b6ef0fb244063f8195", "score": "0.5033746", "text": "void setId(long id);", "title": "" }, { "docid": "1ab17ca223c9aa7615cd5de9dfe79c8b", "score": "0.50259805", "text": "public void setId(int id)\n {\n this.id = id;\n }", "title": "" }, { "docid": "1ab17ca223c9aa7615cd5de9dfe79c8b", "score": "0.50259805", "text": "public void setId(int id)\n {\n this.id = id;\n }", "title": "" }, { "docid": "1ab17ca223c9aa7615cd5de9dfe79c8b", "score": "0.50259805", "text": "public void setId(int id)\n {\n this.id = id;\n }", "title": "" }, { "docid": "e220bc068d6e198d190a5c899dde849e", "score": "0.5019162", "text": "public void setQq(Integer qq) {\n this.qq = qq;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.501833", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.501833", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.501833", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.501833", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.501833", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.501833", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.501833", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.501833", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.501833", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.501833", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "faa950bca891285a105ad127bf3a8cb9", "score": "0.501833", "text": "public void setId(int id) {\n this.id = id;\n }", "title": "" } ]
7d0bf31302ab76bb291b6995c5c74d95
connect HEAD requests to proxy of Node
[ { "docid": "f83d6995dcc9217f3d2adddf67c376df", "score": "0.46769932", "text": "public String connectHeadNodeProxyWithPath(String name, String path, String path2)\n throws ApiException {\n ApiResponse<String> localVarResp = connectHeadNodeProxyWithPathWithHttpInfo(name, path, path2);\n return localVarResp.getData();\n }", "title": "" } ]
[ { "docid": "1c3de17bb57e0ac460feace89c96c363", "score": "0.70084625", "text": "@Override\n public HttpResponse head() {\n this.type = \"HEAD\";\n try {\n return new HttpAsyncResponse(prepare(prepareHead()).execute().get());\n } catch (final Exception e) {\n throw new RuntimeException(e);\n }\n }", "title": "" }, { "docid": "836b31324d019995f2a10f63b2f15189", "score": "0.68669283", "text": "public HTTPResponse head(String url) throws IOException {\n\t\tHttpURLConnection connection = _connectionProvider.getConnection(url);\n\t\tconnection.setDoOutput(true);\n\t\tconnection.setRequestMethod(\"HEAD\");\n\t\treturn connect(connection);\n\t}", "title": "" }, { "docid": "7e07d3df6cf18b96edd7b2ca11d42115", "score": "0.6846149", "text": "private static String processHead(String[] command) throws IOException {\r\n\t\tif (!(command[0].equals(\"HEAD\") || command[0].equals(\"GET\"))) {\r\n\t\t\treturn \"\" + 500 + getTimeAndDate();\r\n\t\t}\r\n\t\tPath path = generatePath(command[1]);\r\n\t\tString contentType = \"\\nContent-Type: \" + Files.probeContentType(path);\r\n\t\tString contentLength = \"\\nContent-Length: \" + readFile(path).getBytes().length;\r\n\t\treturn 200 + \"\\nHost: localhost:6789\" + getTimeAndDate() + contentType + contentLength;\r\n\r\n\t}", "title": "" }, { "docid": "38b9731d2dae276e713ad18b47ed46fc", "score": "0.66871095", "text": "@Override\n public Promise<HttpResponse> headAsync() {\n this.type = \"HEAD\";\n return execute(prepareHead());\n }", "title": "" }, { "docid": "018fb89f112b807fc0636caa2280a120", "score": "0.6189115", "text": "private static NativeObject sendHttpHEADRequest(String urlVal, String invalidStatusCodesRegex) {\n\n boolean isConnectionError = true;\n String response = null;\n\n NativeObject data = new NativeObject();\n\n HttpClient client = new DefaultHttpClient();\n HttpHead head = new HttpHead(urlVal);\n client.getParams().setParameter(\"http.socket.timeout\", 4000);\n client.getParams().setParameter(\"http.connection.timeout\", 4000);\n\n\n if (System.getProperty(APIConstants.HTTP_PROXY_HOST) != null &&\n System.getProperty(APIConstants.HTTP_PROXY_PORT) != null) {\n if (log.isDebugEnabled()) {\n log.debug(\"Proxy configured, hence routing through configured proxy\");\n }\n String proxyHost = System.getProperty(APIConstants.HTTP_PROXY_HOST);\n String proxyPort = System.getProperty(APIConstants.HTTP_PROXY_PORT);\n client.getParams().setParameter(ConnRoutePNames.DEFAULT_PROXY,\n new HttpHost(proxyHost, Integer.parseInt(proxyPort)));\n }\n\n try {\n HttpResponse httpResponse = client.execute(head);\n String statusCode = String.valueOf(httpResponse.getStatusLine().getStatusCode());\n String reasonPhrase = String.valueOf(httpResponse.getStatusLine().getReasonPhrase());\n //If the endpoint doesn't match the regex which specify the invalid status code, it will return success.\n if (!statusCode.matches(invalidStatusCodesRegex)) {\n if (log.isDebugEnabled() && statusCode.equals(String.valueOf(HttpStatus.SC_METHOD_NOT_ALLOWED))) {\n log.debug(\"Endpoint doesn't support HTTP HEAD\");\n }\n response = \"success\";\n isConnectionError = false;\n\n } else {\n //This forms the real backend response to be sent to the client\n data.put(\"statusCode\", data, statusCode);\n data.put(\"reasonPhrase\", data, reasonPhrase);\n response = \"\";\n isConnectionError = false;\n }\n } catch (IOException e) {\n // sending a default error message.\n log.error(\"Error occurred while connecting to backend : \" + urlVal + \", reason : \" + e.getMessage(), e);\n String[] errorMsg = e.getMessage().split(\": \");\n if (errorMsg.length > 1) {\n response = errorMsg[errorMsg.length - 1]; //This is to get final readable part of the error message in the exception and send to the client\n isConnectionError = false;\n }\n } finally {\n client.getConnectionManager().shutdown();\n }\n data.put(\"response\", data, response);\n data.put(\"isConnectionError\", data, isConnectionError);\n return data;\n }", "title": "" }, { "docid": "b136d7c70da95f8dfda1a521157cc911", "score": "0.5872428", "text": "public static RequestRoute head() {\n return new RequestRoute(Http.HEAD);\n }", "title": "" }, { "docid": "cdc181dae5f5718561a15359200315a9", "score": "0.57770544", "text": "public okhttp3.Call connectHeadNodeProxyCall(\n String name, String path, final ApiCallback _callback) throws ApiException {\n Object localVarPostBody = null;\n\n // create path and map variables\n String localVarPath =\n \"/api/v1/nodes/{name}/proxy\"\n .replaceAll(\"\\\\{\" + \"name\" + \"\\\\}\", localVarApiClient.escapeString(name.toString()));\n\n List<Pair> localVarQueryParams = new ArrayList<Pair>();\n List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();\n if (path != null) {\n localVarQueryParams.addAll(localVarApiClient.parameterToPair(\"path\", path));\n }\n\n Map<String, String> localVarHeaderParams = new HashMap<String, String>();\n Map<String, String> localVarCookieParams = new HashMap<String, String>();\n Map<String, Object> localVarFormParams = new HashMap<String, Object>();\n final String[] localVarAccepts = {\"*/*\"};\n final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);\n if (localVarAccept != null) {\n localVarHeaderParams.put(\"Accept\", localVarAccept);\n }\n\n final String[] localVarContentTypes = {};\n\n final String localVarContentType =\n localVarApiClient.selectHeaderContentType(localVarContentTypes);\n localVarHeaderParams.put(\"Content-Type\", localVarContentType);\n\n String[] localVarAuthNames = new String[] {\"BearerToken\"};\n return localVarApiClient.buildCall(\n localVarPath,\n \"HEAD\",\n localVarQueryParams,\n localVarCollectionQueryParams,\n localVarPostBody,\n localVarHeaderParams,\n localVarCookieParams,\n localVarFormParams,\n localVarAuthNames,\n _callback);\n }", "title": "" }, { "docid": "fc96690fa1bab5b2d3055649fe254d46", "score": "0.56836325", "text": "public void getRequestHead() {\n Header[] headers = this.response.getAllHeaders();\n for (Header header : headers) {\n System.out.println(header.toString());\n }\n }", "title": "" }, { "docid": "d6a3f7756b6fbb5ef77ecbc72e9426f4", "score": "0.5627052", "text": "public String connectHeadNodeProxy(String name, String path) throws ApiException {\n ApiResponse<String> localVarResp = connectHeadNodeProxyWithHttpInfo(name, path);\n return localVarResp.getData();\n }", "title": "" }, { "docid": "0bb3bf1d30dac3f2f653acc114ab4728", "score": "0.5623863", "text": "public void headHandle(Socket client) throws IOException, NullPointerException\n\t{\n\t\tlog.info(\"Inside HEAD\\n\");\n\t\tfileNameOperation();\n\t\t\n\t\tString contentType=StartupUtility.getMimeType(fileName);\n\t\tFile requestedFile=getFile(fileName);\n\t\tif(requestedFile==null)\n\t\t{\n\t\t\tresponseToClient.fileNotFound(client.getOutputStream());\n\t\t}\n\t\telse if(contentType==null)\n\t\t{\n\t\t\tresponseToClient.fileTypeNotSupported(client.getOutputStream());\n\t\t}\n\t\t//if file exists\n\t\telse\n\t\t{\n\t\t\tlog.info(\"HEAD filename=\"+fileName+\" type= \"+contentType+\" size=\"+requestedFile.length()+\"\\n\");\n\t\t\t// send OK response along with the file\n\t\t\tresponseToClient.responseOkHEAD((int)requestedFile.length(),client.getOutputStream(), contentType);\t\t\n\t\t}\n\t\tlog.info(\"Exiting HEAD\");\n\t}", "title": "" }, { "docid": "85e75264c27672b2adccff8862d498f6", "score": "0.5618268", "text": "public void serveResource(HttpServletRequest request, HttpServletResponse response,\n Resource resource, String xReproxy) throws IOException {\n boolean content = \"HEAD\".equals(request.getMethod()) || xReproxy != null;\n serveResource(request, response, !content, resource);\n }", "title": "" }, { "docid": "2bed3ea38cc5700a9f61abfbee49e83e", "score": "0.55763876", "text": "public String getHEAD() {\r\n return this.HEAD;\r\n }", "title": "" }, { "docid": "82f2da2b8d09695838175856aac6cd19", "score": "0.54396695", "text": "public ApiResponse<String> connectHeadNodeProxyWithHttpInfo(String name, String path)\n throws ApiException {\n okhttp3.Call localVarCall = connectHeadNodeProxyValidateBeforeCall(name, path, null);\n Type localVarReturnType = new TypeToken<String>() {}.getType();\n return localVarApiClient.execute(localVarCall, localVarReturnType);\n }", "title": "" }, { "docid": "11c7f1f7479089c38606a5755b68fbaf", "score": "0.5437598", "text": "@Test\n public void test1GBHead() throws Exception {\n assertContentLength(200, HEAD, \"1GB\");\n }", "title": "" }, { "docid": "450ffdf63de262105b27026e103a86ef", "score": "0.5417226", "text": "private void handleProxy(OutputStream out, String url,\n MimeHeader inmh) {\n try {\n int start = url.indexOf(\"://\") + 3;\n int path = url.indexOf('/', start);\n String site = url.substring(start, path).toLowerCase();\n int port = 80;\n String server_url = url.substring(path);\n int colon = site.indexOf(':');\n if (colon > 0) {\n port = Integer.parseInt(site.substring(colon + 1));\n site = site.substring(0, colon);\n }\n url = \"/cache/\" + site + ((port != 80) ? (\":\" + port) : \"\") +\n server_url;\n if (url.endsWith(\"/\"))\n url += indexfile;\n\n if (!serveFromCache(out, url)) {\n if (readFile(new File(docRoot + url), url) != null) {\n serveFromCache(out, url);\n return;\n }\n\n // If we haven't already cached this page, open a socket\n // to the site's port and send a GET command to it.\n // We modify the user-agent to add ourselves... \"via\".\n\n Socket server = new Socket(site, port);\n InputStream server_in = server.getInputStream();\n OutputStream server_out = server.getOutputStream();\n inmh.put(\"User-Agent\", inmh.get(\"User-Agent\") +\n \" via JavaCompleteReferenceProxy/\" + version);\n String req = \"GET \" + server_url + \" HTTP/1.0\" + CRLF +\n inmh + CRLF;\n writeString(server_out, req);\n String raw_request = getRawRequest(server_in);\n HttpResponse server_response =\n new HttpResponse(raw_request);\n writeString(out, server_response.toString());\n if (server_response.statusCode == 200) {\n UrlCacheEntry uce = loadFile(server_in, url,\n server_response.mh);\n out.write(uce.data, 0, uce.length);\n writeDiskCache(uce);\n logEntry(\"GET\", site + server_url, 200, uce.length);\n }\n server_out.close();\n server.close();\n }\n } catch (IOException e) {\n log.log(\"Exception: \" + e);\n }\n }", "title": "" }, { "docid": "20dcd025c628050b75650949a71303e4", "score": "0.5411755", "text": "public HttpResponse parseHead(SessionInputBuffer sessionBuffer) throws IOException, HttpException, ParseException {\n this.lineBuf.clear();\n if (sessionBuffer.readLine(this.lineBuf) != -1) {\n return this.responseFactory.newHttpResponse(this.lineParser.parseStatusLine(this.lineBuf, new ParserCursor(0, this.lineBuf.length())), null);\n }\n throw new NoHttpResponseException(\"The target server failed to respond\");\n }", "title": "" }, { "docid": "72ccf7f4e832755fa981b7c1e0b4ee92", "score": "0.5364341", "text": "@HEAD\r\n @Path(\"/head-jersey\")\r\n @Produces(MediaType.TEXT_PLAIN)\r\n public String sayHEADPlainTextHello() {\r\n return \"Hello HEAD Jersey Plain\";\r\n }", "title": "" }, { "docid": "0e9fd906fdabb95328a4a91f5c746500", "score": "0.534376", "text": "@Override\n\tpublic void pingURL() {\n\t\t\n\t}", "title": "" }, { "docid": "2688c394c54705b7f7a1ced97621cc9b", "score": "0.5330856", "text": "public okhttp3.Call connectHeadNodeProxyWithPathCall(\n String name, String path, String path2, final ApiCallback _callback) throws ApiException {\n Object localVarPostBody = null;\n\n // create path and map variables\n String localVarPath =\n \"/api/v1/nodes/{name}/proxy/{path}\"\n .replaceAll(\"\\\\{\" + \"name\" + \"\\\\}\", localVarApiClient.escapeString(name.toString()))\n .replaceAll(\"\\\\{\" + \"path\" + \"\\\\}\", localVarApiClient.escapeString(path.toString()));\n\n List<Pair> localVarQueryParams = new ArrayList<Pair>();\n List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();\n if (path2 != null) {\n localVarQueryParams.addAll(localVarApiClient.parameterToPair(\"path\", path2));\n }\n\n Map<String, String> localVarHeaderParams = new HashMap<String, String>();\n Map<String, String> localVarCookieParams = new HashMap<String, String>();\n Map<String, Object> localVarFormParams = new HashMap<String, Object>();\n final String[] localVarAccepts = {\"*/*\"};\n final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);\n if (localVarAccept != null) {\n localVarHeaderParams.put(\"Accept\", localVarAccept);\n }\n\n final String[] localVarContentTypes = {};\n\n final String localVarContentType =\n localVarApiClient.selectHeaderContentType(localVarContentTypes);\n localVarHeaderParams.put(\"Content-Type\", localVarContentType);\n\n String[] localVarAuthNames = new String[] {\"BearerToken\"};\n return localVarApiClient.buildCall(\n localVarPath,\n \"HEAD\",\n localVarQueryParams,\n localVarCollectionQueryParams,\n localVarPostBody,\n localVarHeaderParams,\n localVarCookieParams,\n localVarFormParams,\n localVarAuthNames,\n _callback);\n }", "title": "" }, { "docid": "cc8d7d7d6d13f9a2d482dbe584527f57", "score": "0.52025545", "text": "public int getContentLength(String pathname, int port, String host) \n\t{\n\t\t//set up head request\n\t\tString requestLine_1 = \"HEAD \" + pathname + \" HTTP/1.1\\r\\n\";\n\t\tString requestLine_2 = \"Host: \" + host + \":\" + port + \"\\r\\n\";\n\t\tString eoh_line = \"\\r\\n\";\n\t\t\n\t\t//initialize content length\n\t\tint contentLength = 0;\n\t\t\n\t\ttry \n\t\t{\n\t\t\t//open socket for communication\n\t\t\tSocket socket = new Socket(host, port);\n \t\t\n\t\t\t//send head request\n\t\t\tString http_header = requestLine_1 + requestLine_2 + eoh_line;\n\t\t\tbyte[] http_header_in_bytes = http_header.getBytes(\"US-ASCII\");\n\t\t\tsocket.getOutputStream().write(http_header_in_bytes);\n \t\t\tsocket.getOutputStream().flush();\n\t\t\t\n \t\t\t//read response\n \t\t\tbyte[] responseBytes= new byte[2048];\n \t\t\tsocket.getInputStream().read(responseBytes);\n \t\t\tString responseString = new String(responseBytes, \"UTF-8\");\n \t\t\t\n \t\t\t//do nothing if file not found\n \t\t\tif(responseString.contains(\"404 NOT FOUND\"))\n\t\t\t{\n \t\t\t\tSystem.out.println(\"NOT FOUND\");\n\t\t\t}\n \t\t\t//look for range length\n \t\t\telse if(responseString.contains(\"200 OK\"))\n \t\t\t{\n\t \t\t\tif (responseString.contains(\"Accept-Ranges: bytes\"))\n\t \t\t\t{\n\t \t\t\t\t//parse response to get content length\n\t \t\t\t\tString[] responses = responseString.split(\"\\n\", 8);\n\t \t\t\t\t//loop through the response lines\n\t\t \t\t\tfor (String line : responses) \n\t\t \t\t\t{\n\t\t\t \t\t\tif (line.contains(\"Content-Length:\"))\n\t\t\t \t\t\t{\n\t\t\t \t\t\t\t//Find the length of the file in bytes\n\t\t\t \t\t\t\tString[] content = line.split(\": \", 2);\n\t\t\t \t\t\t\t//remove last character to get just the numbers\n\t\t\t \t\t\t\tString length = content[1].substring(0, content[1].length()-1);\n\t\t\t \t\t\t\t//convert from string to integer\n\t\t\t \t\t\t\tcontentLength = Integer.parseInt(length);\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\t//does not support range request\n \t\t\telse\n \t\t\t{\n\t \t\t\tSystem.out.println(\"Server does not support range requests.\");\n\t \t\t\tSystem.exit(0);\n \t\t\t}\n \t\t\tsocket.close();\n\t\t} \n\t\tcatch (IOException e) \n\t\t{\n\t\t\tSystem.out.println(\"Head Request Error\");\n\t\t}\t\n\t\treturn contentLength;\n\t}", "title": "" }, { "docid": "5c6ec10113a61df7e6d14f1e90dcb330", "score": "0.5175773", "text": "public void fetchHeader() {\n\t\ttry (Socket socket = new Socket(url.getHost(), PORT);\n\t\t\t\tBufferedReader reader = new BufferedReader(\n\t\t\t\t\t\tnew InputStreamReader(socket.getInputStream()));\n\t\t\t\tPrintWriter writer = new PrintWriter(socket.getOutputStream());) {\n\n\t\t\tString request = craftRequest();\n\t\t\twriter.println(request);\n\t\t\twriter.flush();\n\n\t\t\tString nextLine = reader.readLine();\n\t\t\twhile (nextLine != null) {\n\t\t\t\tif (nextLine.isEmpty()) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\theader.append(nextLine + \" \");\n\t\t\t\t\tnextLine = reader.readLine();\n\t\t\t\t}\n\t\t\t}\n\t\t\twhile (nextLine != null) {\n\t\t\t\thtml.append(processLine(nextLine));\n\t\t\t\tnextLine = reader.readLine();\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t}\n\t}", "title": "" }, { "docid": "f29c20b56d7d64f608de36a9475855e8", "score": "0.5140016", "text": "protected HttpHost determineProxy(HttpHost target, HttpRequest request, HttpContext context) throws HttpException {\n/* 64 */ return this.proxy;\n/* */ }", "title": "" }, { "docid": "3b4a739d9280dbaa8fc3796549bcfe3b", "score": "0.51048476", "text": "public void performHEAD( String command)\n {\n int currow;\n \n ASPManager mgr = getASPManager();\n ASPTransactionBuffer trans = mgr.newASPTransactionBuffer();\n \n currow = headset.getCurrentRowNo();\n if(headlay.isMultirowLayout())\n headset.storeSelections();\n else\n headset.selectRow();\n headset.markSelectedRows( command );\n mgr.submit(trans);\n headset.refreshRow(); \n headset.goTo(currow);\n }", "title": "" }, { "docid": "c8cfaacef988521273172dc11675fae6", "score": "0.50773734", "text": "HttpURLConnection mo240a(URL url, Proxy proxy);", "title": "" }, { "docid": "fa9ef9c321f77656ecbb067867d3c488", "score": "0.506654", "text": "public String getHeadUrl() {\n return headUrl;\n }", "title": "" }, { "docid": "a41217219a4db87ad5ebe2dd3893197c", "score": "0.5002527", "text": "public java.net.Socket tunnel(org.apache.http.HttpHost r17, org.apache.http.HttpHost r18, org.apache.http.auth.Credentials r19) throws java.io.IOException, org.apache.http.HttpException {\n /*\n r16 = this;\n r3 = \"Proxy host\";\n r0 = r17;\n org.apache.http.util.Args.notNull(r0, r3);\n r3 = \"Target host\";\n r0 = r18;\n org.apache.http.util.Args.notNull(r0, r3);\n r3 = \"Credentials\";\n r0 = r19;\n org.apache.http.util.Args.notNull(r0, r3);\n r2 = r18;\n r3 = r2.getPort();\n if (r3 > 0) goto L_0x002d;\n L_0x001d:\n r13 = new org.apache.http.HttpHost;\n r3 = r2.getHostName();\n r4 = 80;\n r6 = r2.getSchemeName();\n r13.<init>(r3, r4, r6);\n r2 = r13;\n L_0x002d:\n r1 = new org.apache.http.conn.routing.HttpRoute;\n r0 = r16;\n r3 = r0.requestConfig;\n r3 = r3.getLocalAddress();\n r5 = 0;\n r6 = org.apache.http.conn.routing.RouteInfo.TunnelType.TUNNELLED;\n r7 = org.apache.http.conn.routing.RouteInfo.LayerType.PLAIN;\n r4 = r17;\n r1.<init>(r2, r3, r4, r5, r6, r7);\n r0 = r16;\n r3 = r0.connFactory;\n r0 = r16;\n r4 = r0.connectionConfig;\n r9 = r3.create(r1, r4);\n r9 = (org.apache.http.conn.ManagedHttpClientConnection) r9;\n r8 = new org.apache.http.protocol.BasicHttpContext;\n r8.<init>();\n r10 = new org.apache.http.message.BasicHttpRequest;\n r3 = \"CONNECT\";\n r4 = r2.toHostString();\n r6 = org.apache.http.HttpVersion.HTTP_1_1;\n r10.<init>(r3, r4, r6);\n r11 = new org.apache.http.impl.client.BasicCredentialsProvider;\n r11.<init>();\n r3 = new org.apache.http.auth.AuthScope;\n r0 = r17;\n r3.<init>(r0);\n r0 = r19;\n r11.setCredentials(r3, r0);\n r3 = \"http.target_host\";\n r0 = r18;\n r8.setAttribute(r3, r0);\n r3 = \"http.connection\";\n r8.setAttribute(r3, r9);\n r3 = \"http.request\";\n r8.setAttribute(r3, r10);\n r3 = \"http.route\";\n r8.setAttribute(r3, r1);\n r3 = \"http.auth.proxy-scope\";\n r0 = r16;\n r4 = r0.proxyAuthState;\n r8.setAttribute(r3, r4);\n r3 = \"http.auth.credentials-provider\";\n r8.setAttribute(r3, r11);\n r3 = \"http.authscheme-registry\";\n r0 = r16;\n r4 = r0.authSchemeRegistry;\n r8.setAttribute(r3, r4);\n r3 = \"http.request-config\";\n r0 = r16;\n r4 = r0.requestConfig;\n r8.setAttribute(r3, r4);\n r0 = r16;\n r3 = r0.requestExec;\n r0 = r16;\n r4 = r0.httpProcessor;\n r3.preProcess(r10, r4, r8);\n L_0x00b3:\n r3 = r9.isOpen();\n if (r3 != 0) goto L_0x00c9;\n L_0x00b9:\n r14 = new java.net.Socket;\n r3 = r17.getHostName();\n r4 = r17.getPort();\n r14.<init>(r3, r4);\n r9.bind(r14);\n L_0x00c9:\n r0 = r16;\n r3 = r0.authenticator;\n r0 = r16;\n r4 = r0.proxyAuthState;\n r3.generateAuthResponse(r10, r4, r8);\n r0 = r16;\n r3 = r0.requestExec;\n r5 = r3.execute(r10, r9, r8);\n r3 = r5.getStatusLine();\n r15 = r3.getStatusCode();\n r3 = 200; // 0xc8 float:2.8E-43 double:9.9E-322;\n if (r15 >= r3) goto L_0x0105;\n L_0x00e8:\n r3 = new org.apache.http.HttpException;\n r4 = new java.lang.StringBuilder;\n r4.<init>();\n r6 = \"Unexpected response to CONNECT request: \";\n r4 = r4.append(r6);\n r6 = r5.getStatusLine();\n r4 = r4.append(r6);\n r4 = r4.toString();\n r3.<init>(r4);\n throw r3;\n L_0x0105:\n r0 = r16;\n r3 = r0.authenticator;\n r0 = r16;\n r6 = r0.proxyAuthStrategy;\n r0 = r16;\n r7 = r0.proxyAuthState;\n r4 = r17;\n r3 = r3.isAuthenticationRequested(r4, r5, r6, r7, r8);\n if (r3 == 0) goto L_0x0149;\n L_0x0119:\n r0 = r16;\n r3 = r0.authenticator;\n r0 = r16;\n r6 = r0.proxyAuthStrategy;\n r0 = r16;\n r7 = r0.proxyAuthState;\n r4 = r17;\n r3 = r3.handleAuthChallenge(r4, r5, r6, r7, r8);\n if (r3 == 0) goto L_0x0149;\n L_0x012d:\n r0 = r16;\n r3 = r0.reuseStrategy;\n r3 = r3.keepAlive(r5, r8);\n if (r3 == 0) goto L_0x0145;\n L_0x0137:\n r12 = r5.getEntity();\n org.apache.http.util.EntityUtils.consume(r12);\n L_0x013e:\n r3 = \"Proxy-Authorization\";\n r10.removeHeaders(r3);\n goto L_0x00b3;\n L_0x0145:\n r9.close();\n goto L_0x013e;\n L_0x0149:\n r3 = r5.getStatusLine();\n r15 = r3.getStatusCode();\n r3 = 299; // 0x12b float:4.19E-43 double:1.477E-321;\n if (r15 <= r3) goto L_0x0183;\n L_0x0155:\n r12 = r5.getEntity();\n if (r12 == 0) goto L_0x0163;\n L_0x015b:\n r3 = new org.apache.http.entity.BufferedHttpEntity;\n r3.<init>(r12);\n r5.setEntity(r3);\n L_0x0163:\n r9.close();\n r3 = new org.apache.http.impl.execchain.TunnelRefusedException;\n r4 = new java.lang.StringBuilder;\n r4.<init>();\n r6 = \"CONNECT refused by proxy: \";\n r4 = r4.append(r6);\n r6 = r5.getStatusLine();\n r4 = r4.append(r6);\n r4 = r4.toString();\n r3.<init>(r4, r5);\n throw r3;\n L_0x0183:\n r3 = r9.getSocket();\n return r3;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: org.apache.http.impl.client.ProxyClient.tunnel(org.apache.http.HttpHost, org.apache.http.HttpHost, org.apache.http.auth.Credentials):java.net.Socket\");\n }", "title": "" }, { "docid": "501874c3e4f57e645ea416715c73eac4", "score": "0.5000113", "text": "@Test\n\tpublic void avalidateHomepage() throws InterruptedException, MalformedURLException, IOException {\n\t\tThread.sleep(3000);\n\n\t\tString currentURL = driver.getCurrentUrl();\n\t\tHttpURLConnection conn = (HttpURLConnection) new URL(currentURL).openConnection();\n\t\tconn.setRequestMethod(\"HEAD\");\n\t\tconn.connect();\n\t\tint respCode = conn.getResponseCode();\n\n\t\tAssertJUnit.assertEquals(200, respCode);\n\t\t\n\n\t\tlog.info(\"Response Code is \" + respCode);\n\t\n\n\t}", "title": "" }, { "docid": "3bc23690b28ef283cccb5421b94cb2b2", "score": "0.498462", "text": "ServiceResponse<Void> head404() throws CloudException, IOException;", "title": "" }, { "docid": "b79fb23bac9e5df3064c6a88fb7c1e91", "score": "0.49787074", "text": "private String headCommand(File f) {\n\t\tString returnMessage;\n\t\tif (!f.exists()){\n\t\t\tcode = \"404 NOT FOUND\";\n\t\t}\n\t\telse {\n\t\t\tcode = \"200 OK\";\n\t\t}\n\t\treturnMessage = version + \" \" + code;\n\t\treturnMessage = returnMessage.replace(\"\\r\\n\", \"\");\n\t\tString extra = extraMessage(f);\n\t\treturnMessage = returnMessage + \"\\r\\n\" + extra + \"\\r\\n\\r\\n\" ;\n\t\treturn returnMessage;\n\t\t\t\n\t}", "title": "" }, { "docid": "4a7c9a385cb4119d4c71cf28aded0464", "score": "0.4959747", "text": "public okhttp3.Call connectHeadNodeProxyAsync(\n String name, String path, final ApiCallback<String> _callback) throws ApiException {\n\n okhttp3.Call localVarCall = connectHeadNodeProxyValidateBeforeCall(name, path, _callback);\n Type localVarReturnType = new TypeToken<String>() {}.getType();\n localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);\n return localVarCall;\n }", "title": "" }, { "docid": "2287165396bec157e46aef3c0ced8ea8", "score": "0.49463624", "text": "public String getHead(Handler h)\r\n {\r\n return super.getHead(h);\r\n }", "title": "" }, { "docid": "bb9803a531728bd86c8e14da5e15bc92", "score": "0.4925751", "text": "public void start() throws java.io.IOException {\n InputStream inputStream = this.connection.getInputStream();\n OutputStream outputStream = this.connection.getOutputStream();\n BufferedReader bufferedReader =\n new BufferedReader(new InputStreamReader(inputStream));\n // 1. read the request from the client.\n String line = bufferedReader.readLine();\n // 2. if it is not starting by \"GET\" then ignore\n if(!line.startsWith(\"GET\")){\n return;\n }\n // 3. otherwise, extract the file name from the request.\n // It will look like: \"GET /filename.html HTTP/1.1\"\n // You can split the string by whitespaces.\n String[] splited = line.split(\" \");\n if(splited.length < 2){\n return;\n }\n String filename = splited[1].replace(\"/\", \"\");\n if(Objects.equals(filename, \"\")){\n filename = \"index.html\";\n }\n // 4. open the file and reads its content\n File file = new File(filename); // to be initialized somewhere with the obtained filename\n byte[] content = {};\n String headerStr;\n try{\n content = Files.readAllBytes(file.toPath());\n headerStr = \"HTTP/1.0 200 OK\\r\\n\";\n\n }\n catch (NoSuchFileException e){\n headerStr = \"HTTP/1.0 404 Not Found\\r\\n\";\n }\n catch (Throwable e){\n headerStr = \"HTTP/1.0 500 Internal Server Error\\r\\n\";\n e.printStackTrace();\n }\n headerStr += \"Server: SimpleHTTPServer\\r\\n\"\n + \"Content-length: \" + content.length + \"\\r\\n\"\n + \"Content-type: text/html\"\n + \"; charset=utf-8\" + \"\\r\\n\\r\\n\";\n\n // 5. create an HTTP header\n byte[] header = headerStr.getBytes(StandardCharsets.UTF_8);\n // 6. send the header then the content via the OutputStream\n outputStream.write(header);\n outputStream.write(content);\n }", "title": "" }, { "docid": "797e800c35462081a2b24cd04bd18f7c", "score": "0.49184203", "text": "public interface IHttpProxy {\n\n /**\n * 随机获取一个代理\n * @return\n */\n public ProxyTuple randomProxy();\n\n /**\n * 如果代理失效,从代理池中删除代理\n *\n * @param proxy\n */\n public void disable(ProxyTuple proxy);\n\n /**\n * 是否为空\n * @return\n */\n public boolean isEmpty();\n}", "title": "" }, { "docid": "f888999344f1147cb94304ce57744ff8", "score": "0.4901647", "text": "@Fluent\n HttpRequest<T> proxy(ProxyOptions proxyOptions);", "title": "" }, { "docid": "ed4a9bd359ba2cc43488086be397fed8", "score": "0.4899926", "text": "public okhttp3.Call connectHeadNamespacedPodProxyCall(\n String name, String namespace, String path, final ApiCallback _callback) throws ApiException {\n Object localVarPostBody = null;\n\n // create path and map variables\n String localVarPath =\n \"/api/v1/namespaces/{namespace}/pods/{name}/proxy\"\n .replaceAll(\"\\\\{\" + \"name\" + \"\\\\}\", localVarApiClient.escapeString(name.toString()))\n .replaceAll(\n \"\\\\{\" + \"namespace\" + \"\\\\}\", localVarApiClient.escapeString(namespace.toString()));\n\n List<Pair> localVarQueryParams = new ArrayList<Pair>();\n List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();\n if (path != null) {\n localVarQueryParams.addAll(localVarApiClient.parameterToPair(\"path\", path));\n }\n\n Map<String, String> localVarHeaderParams = new HashMap<String, String>();\n Map<String, String> localVarCookieParams = new HashMap<String, String>();\n Map<String, Object> localVarFormParams = new HashMap<String, Object>();\n final String[] localVarAccepts = {\"*/*\"};\n final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);\n if (localVarAccept != null) {\n localVarHeaderParams.put(\"Accept\", localVarAccept);\n }\n\n final String[] localVarContentTypes = {};\n\n final String localVarContentType =\n localVarApiClient.selectHeaderContentType(localVarContentTypes);\n localVarHeaderParams.put(\"Content-Type\", localVarContentType);\n\n String[] localVarAuthNames = new String[] {\"BearerToken\"};\n return localVarApiClient.buildCall(\n localVarPath,\n \"HEAD\",\n localVarQueryParams,\n localVarCollectionQueryParams,\n localVarPostBody,\n localVarHeaderParams,\n localVarCookieParams,\n localVarFormParams,\n localVarAuthNames,\n _callback);\n }", "title": "" }, { "docid": "0dece395818d5c75b88bb76a37aec6ad", "score": "0.48934245", "text": "public abstract int beforeProxy(\n HttpServletRequest originalRequest, HttpServletResponse originalResponse) throws NasException;", "title": "" }, { "docid": "2e84c1d2ed31f320326b1e9f2bfac5a5", "score": "0.48644942", "text": "public okhttp3.Call connectHeadNamespacedServiceProxyCall(\n String name, String namespace, String path, final ApiCallback _callback) throws ApiException {\n Object localVarPostBody = null;\n\n // create path and map variables\n String localVarPath =\n \"/api/v1/namespaces/{namespace}/services/{name}/proxy\"\n .replaceAll(\"\\\\{\" + \"name\" + \"\\\\}\", localVarApiClient.escapeString(name.toString()))\n .replaceAll(\n \"\\\\{\" + \"namespace\" + \"\\\\}\", localVarApiClient.escapeString(namespace.toString()));\n\n List<Pair> localVarQueryParams = new ArrayList<Pair>();\n List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();\n if (path != null) {\n localVarQueryParams.addAll(localVarApiClient.parameterToPair(\"path\", path));\n }\n\n Map<String, String> localVarHeaderParams = new HashMap<String, String>();\n Map<String, String> localVarCookieParams = new HashMap<String, String>();\n Map<String, Object> localVarFormParams = new HashMap<String, Object>();\n final String[] localVarAccepts = {\"*/*\"};\n final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);\n if (localVarAccept != null) {\n localVarHeaderParams.put(\"Accept\", localVarAccept);\n }\n\n final String[] localVarContentTypes = {};\n\n final String localVarContentType =\n localVarApiClient.selectHeaderContentType(localVarContentTypes);\n localVarHeaderParams.put(\"Content-Type\", localVarContentType);\n\n String[] localVarAuthNames = new String[] {\"BearerToken\"};\n return localVarApiClient.buildCall(\n localVarPath,\n \"HEAD\",\n localVarQueryParams,\n localVarCollectionQueryParams,\n localVarPostBody,\n localVarHeaderParams,\n localVarCookieParams,\n localVarFormParams,\n localVarAuthNames,\n _callback);\n }", "title": "" }, { "docid": "fb86c87a19dbd029e8519b1872b27c66", "score": "0.48609057", "text": "boolean hasHttp();", "title": "" }, { "docid": "1cb446b07f7335389d5c34be795f8958", "score": "0.48251265", "text": "public void run() {\n\n // Get Request from client\n String requestString;\n try{\n requestString = proxyToClientBr.readLine();\n } catch (IOException e) {\n logger.error(\"Error reading request from client: \" + e.getMessage());\n return;\n }\n\n // Parse out URL\n logger.info(\"Request Received: \" + requestString);\n\n // Get the Request type\n String request = requestString.substring(0,requestString.indexOf(' '));\n\n // Remove request type and space\n String urlString = requestString.substring(requestString.indexOf(' ')+1);\n\n // Remove everything past next space\n urlString = urlString.substring(0, urlString.indexOf(' '));\n\n // Prepend http:// if necessary to create correct URL\n if(!urlString.substring(0,4).equals(\"http\")){\n String http = \"http://\";\n urlString = http + urlString;\n }\n\n String url;\n HttpUriRequest target;\n if(request.equals(\"CONNECT\")){\n logger.info(\"HTTPS Request for : \" + urlString + \"\\n\");\n // Extract the URL and port of remote\n url = urlString.substring(7);\n String[] pieces = url.split(\":\");\n url = pieces[0];\n } else {\n url = urlString;\n }\n\n target = new HttpGet(url);\n try (CloseableHttpClient httpclient = getClientBuilder().build()) {\n CloseableHttpResponse response = httpclient.execute(target);\n try {\n logger.debug(response.getStatusLine());\n proxyToClientBw.write(EntityUtils.toString(response.getEntity()));\n proxyToClientBw.flush();\n\n } finally {\n response.close();\n if(proxyToClientBr != null){\n proxyToClientBr.close();\n }\n }\n } catch (IOException ioe){\n logger.error(ioe.getMessage());\n }\n\n }", "title": "" }, { "docid": "877dec2116a794003dccf9cea9758cf6", "score": "0.48242545", "text": "@RequestMapping(path = \"/ping\", method = GET)\n public ResponseEntity performShallowHealthCheck() {\n return ResponseEntity.ok().build();\n }", "title": "" }, { "docid": "d2747dc0ede635300198796906ab1c47", "score": "0.48222706", "text": "private int streamHTTPData (InputStream in, OutputStream out, \r\n\t\t\t\t\t\t\t\t\tStringBuffer host, boolean waitForDisconnect)\r\n\t{\n\t\tStringBuffer header = new StringBuffer(\"\");\r\n\t\tString data = \"\";\r\n\t\tint responseCode = 200;\r\n\t\tint contentLength = 0;\r\n\t\tint pos = -1;\r\n\t\tint byteCount = 0;\r\n\r\n\t\ttry{\r\n\t\t\t// get the first line of the header, so we know the response code\r\n\t\t\tdata = readLine(in);\r\n\t\t\tif (data != null){\r\n\t\t\t\theader.append(data + \"\\r\\n\");\r\n\t\t\t\tpos = data.indexOf(\" \");\r\n\t\t\t\tif ((data.toLowerCase().startsWith(\"http\")) && \r\n\t\t\t\t\t(pos >= 0) && (data.indexOf(\" \", pos+1) >= 0))\r\n\t\t\t\t{\r\n\t\t\t\t\tString rcString = data.substring(pos+1, data.indexOf(\" \", pos+1));\r\n\t\t\t\t\ttry{\r\n\t\t\t\t\t\tresponseCode = Integer.parseInt(rcString);\r\n\t\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t\tif (debugLevel > 0)\r\n\t\t\t\t\t\t\tdebugOut.println(\"Error parsing response code \" + rcString);\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\t// get the rest of the header info\r\n\t\t\twhile ((data = readLine(in)) != null){\r\n\t\t\t\t// the header ends at the first blank line\r\n\t\t\t\tif (data.length() == 0)\r\n\t\t\t\t\tbreak;\r\n\t\t\t\theader.append(data + \"\\r\\n\");\r\n\t\t\t\t\r\n\t\t\t\t// check for the Host header\r\n\t\t\t\tpos = data.toLowerCase().indexOf(\"host:\");\r\n\t\t\t\tif (pos >= 0){\r\n\t\t\t\t\thost.setLength(0);\r\n\t\t\t\t\thost.append(data.substring(pos + 5).trim());\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t// check for the Content-Length header\r\n\t\t\t\tpos = data.toLowerCase().indexOf(\"content-length:\");\r\n\t\t\t\tif (pos >= 0)\r\n\t\t\t\t\tcontentLength = Integer.parseInt(data.substring(pos + 15).trim());\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t// add a blank line to terminate the header info\r\n\t\t\theader.append(\"\\r\\n\");\r\n\t\t\t\r\n\t\t\t// convert the header to a byte array, and write it to our stream\r\n\t\t\tout.write(header.toString().getBytes(), 0, header.length());\r\n\t\t\t\r\n\t\t\t// if the header indicated that this was not a 200 response,\r\n\t\t\t// just return what we've got if there is no Content-Length,\r\n\t\t\t// because we may not be getting anything else\r\n\t\t\tif ((responseCode != 200) && (contentLength == 0)){\r\n\t\t\t\tout.flush();\r\n\t\t\t\treturn header.length();\r\n\t\t\t}\r\n\r\n\t\t\t// get the body, if any; we try to use the Content-Length header to\r\n\t\t\t// determine how much data we're supposed to be getting, because \r\n\t\t\t// sometimes the client/server won't disconnect after sending us\r\n\t\t\t// information...\r\n\t\t\tif (contentLength > 0)\r\n\t\t\t\twaitForDisconnect = false;\r\n\t\t\t\r\n\t\t\tif ((contentLength > 0) || (waitForDisconnect)){\r\n\t\t\t\ttry {\r\n\t\t\t\t\tbyte[] buf = new byte[4096];\r\n\t\t\t\t\tint bytesIn = 0;\r\n\t\t\t\t\twhile ( ((byteCount < contentLength) || (waitForDisconnect)) \r\n\t\t\t\t\t\t\t&& ((bytesIn = in.read(buf)) >= 0) )\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tout.write(buf, 0, bytesIn);\r\n\t\t\t\t\t\tbyteCount += bytesIn;\r\n\t\t\t\t\t}\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\tString errMsg = \"Error getting HTTP body: \" + e;\r\n\t\t\t\t\tif (debugLevel > 0)\r\n\t\t\t\t\t\tdebugOut.println(errMsg);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\t\r\n\t\t\tif (debugLevel > 0)\r\n\t\t\t\tdebugOut.println(\"Error getting HTTP data: \" + e);\r\n\t\t}\r\n\t\t\r\n\t\t//flush the OutputStream and return\r\n\t\ttry { out.flush(); } catch (Exception e) {}\r\n\t\treturn (header.length() + byteCount);\r\n\t}", "title": "" }, { "docid": "e10d563f406b7c235b5ef6dab0fda3d0", "score": "0.4814915", "text": "protected DLNode<T> getHead() {\n return head;\n }", "title": "" }, { "docid": "e69abfad39c0c8b41277434e66487428", "score": "0.47952095", "text": "public ApiResponse<String> connectHeadNodeProxyWithPathWithHttpInfo(\n String name, String path, String path2) throws ApiException {\n okhttp3.Call localVarCall =\n connectHeadNodeProxyWithPathValidateBeforeCall(name, path, path2, null);\n Type localVarReturnType = new TypeToken<String>() {}.getType();\n return localVarApiClient.execute(localVarCall, localVarReturnType);\n }", "title": "" }, { "docid": "0bb75b4359e1bd7c7d7b207f9c0ad21d", "score": "0.47873592", "text": "public abstract void generateRequest(HttpClientRequest req, String hostHeader) throws Exception;", "title": "" }, { "docid": "928c4e239410545d7e52ec15d2f65199", "score": "0.47864592", "text": "interface HeadExceptionService {\n @Headers(\"Content-Type: application/json; charset=utf-8\")\n @HEAD(\"http/success/200\")\n Call<Void> head200(@Header(\"accept-language\") String acceptLanguage);\n\n @Headers(\"Content-Type: application/json; charset=utf-8\")\n @HEAD(\"http/success/204\")\n Call<Void> head204(@Header(\"accept-language\") String acceptLanguage);\n\n @Headers(\"Content-Type: application/json; charset=utf-8\")\n @HEAD(\"http/success/404\")\n Call<Void> head404(@Header(\"accept-language\") String acceptLanguage);\n\n }", "title": "" }, { "docid": "8a58794267df0d7294fe9ac60ab44021", "score": "0.4785071", "text": "@Test\n public void test1GBHeadChunked() throws Exception {\n assertChunked(200, HEAD, \"1GB\");\n }", "title": "" }, { "docid": "83660a11141aa44b5bf79d0eaf66753a", "score": "0.47529295", "text": "public static HttpGet addProxyInformation (HttpGet instance) {\n\t\tProxyConfiguration proxyConfig = Jenkins.getInstance().proxy;\n\t\tif(proxyConfig != null){\n\t\t\tif((!isNullOrEmpty(proxyConfig.name)) && proxyConfig.port != 0) {\n\t\t\t\tHttpHost proxy = new HttpHost(proxyConfig.name, proxyConfig.port, \"http\");\n\t\t\t\tRequestConfig config = RequestConfig.custom().setProxy(proxy).build();\n\t\t\t\tinstance.setConfig(config);\n\t\t\t}\n\t\t}\n\t\treturn instance;\n\t}", "title": "" }, { "docid": "4b5f1e51a49e7838bf43f4600b046e4f", "score": "0.47514123", "text": "public void setHead(Link head) {\n\t\t_head = new Link(head);\n\t}", "title": "" }, { "docid": "5eb974ce467df17f46b7bbd0018ea379", "score": "0.47452477", "text": "public abstract void onConnect(int statusCode);", "title": "" }, { "docid": "42a0d7f418086ab2012fd95998026223", "score": "0.4724718", "text": "public boolean preConnect(InetSocketAddress address);", "title": "" }, { "docid": "890b7c702dae574fe37bf99a7080f3b1", "score": "0.47209805", "text": "private boolean isURLReachable(URL url) {\n\t\tHttpURLConnection connection;\n\t\ttry {\n\n\t\t\tconnection = (HttpURLConnection) url.openConnection();\n\t\t\tconnection.setReadTimeout(INPUT_TIMEOUT);\n\t\t\tconnection.setConnectTimeout(INPUT_TIMEOUT);\n\n\t\t\tconnection.setRequestMethod(\"HEAD\");\n\t\t\tint responseCode = connection.getResponseCode();\n\t\t\tconnection.disconnect();\n\t\t\treturn responseCode == 200;\n\n\t\t} catch (IOException e1) {\n\t\t\tthis.log(\"Unreachable URL : \" + e1.getMessage());\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "e351fb23b755b3fac8279f7786dbe868", "score": "0.47080368", "text": "public static void getStatusProxy(ServiceDiscovery discovery, String id, HttpServerRequest request) {\n VertxProxy.serviceProxyTo(discovery, MINITURBO_K8S, request, String.format(\"/%s/status\", id));\n }", "title": "" }, { "docid": "a51221f8232eba8c9b6141db334b641d", "score": "0.46993035", "text": "@HEAD\n @Path(\"metaData\")\n public Response status() {\n return responseOk();\n }", "title": "" }, { "docid": "a51221f8232eba8c9b6141db334b641d", "score": "0.46993035", "text": "@HEAD\n @Path(\"metaData\")\n public Response status() {\n return responseOk();\n }", "title": "" }, { "docid": "b5259aee62d468e54106559bb5e74945", "score": "0.46946424", "text": "@Test\n public void createBitlinkHavingIncorrectURI() {\n\t try\n\t {\n\t\t \n\t\t RestAssured.baseURI=\"https://api-ssl.bitly.com\";\n\t\t RequestSpecification rs=RestAssured.given();\n\t\t Response response=rs.header(\"Authorization\", \"Bearer \"+token).contentType(\"application/json\").body(\"{\\\"long_url\\\":\\\"https://google.com\\\"}\").request(Method.POST,\"/v4/shorte\");\n\t\t int statuscode=response.getStatusCode();\n\t\t \n\t\t//Validate status code\n\t\t assertEquals(statuscode,404);\n\t \n\t }\n\t \n\t catch(Exception e)\n\t {\n\t\t System.out.println(e);\n\t }\n\t \n }", "title": "" }, { "docid": "eb63a164278b4088e4b1e93e283df457", "score": "0.46847042", "text": "Promise<Channel> sendProxyRequest(String host, int port, ConnectionMessage.Type proxyType, EventExecutor eventExecutor);", "title": "" }, { "docid": "c6e2f0034855d3f8a93dc7f99173745c", "score": "0.46828333", "text": "@Test\n public void testWrongTargetHost() throws Exception {\n final MockHttpServletRequest request = new MockHttpServletRequest();\n request.setMethod(\"GET\");\n request.setRequestURI(\"/dizzy.mp4\");\n final MockHttpServletResponse response = new MockHttpServletResponse();\n\n final Future<Integer> statusFuture = Executors.newSingleThreadExecutor().submit(new Callable<Integer>() {\n @Override\n public Integer call() throws Exception {\n AjpServletProxy.forHost(\"unknownhost.inexistentdomain.com\", 8415).forward(request, response);\n return response.getStatus();\n }\n });\n\n final long start = System.currentTimeMillis();\n\n // should finish in less that seconds\n final int status = statusFuture.get(10, TimeUnit.SECONDS);\n\n Assertions.assertTrue(System.currentTimeMillis() - start < 8000);\n\n Assertions.assertEquals(HttpServletResponse.SC_BAD_GATEWAY, status);\n }", "title": "" }, { "docid": "cb50f6b9196f3895e886dbb3fabcc4c1", "score": "0.46824917", "text": "public void ping();", "title": "" }, { "docid": "3f8b6ebaaea314f31c67347a3861e846", "score": "0.46570164", "text": "public void loadHeaders() throws MessagingException {\n // don't retrieve if already loaded.\n if (headersLoaded) {\n return;\n }\n\n NNTPReply reply = connection.sendCommand(\"HEAD \" + messageID, NNTPReply.HEAD_FOLLOWS);\n\n if (reply.getCode() == NNTPReply.HEAD_FOLLOWS) {\n try {\n // wrap a stream around the reply data and read as headers.\n updateHeaders(new StringListInputStream(reply.getData()));\n } catch (IOException e) {\n throw new MessagingException(\"Error retrieving article headers from server\", e);\n }\n } else {\n throw new MessagingException(\"Error retrieving article headers from server: \" + reply);\n }\n }", "title": "" }, { "docid": "6a9b560ecc2727c13928d8b7b21b03e0", "score": "0.46549284", "text": "@Test\n void chunkedEncodingIsNotSentWhen304Status() throws IOException {\n try (Socket socket = new Socket()) {\n socket.connect(server.httpSocketAddress());\n\n final PrintWriter outWriter = new PrintWriter(socket.getOutputStream(), false);\n outWriter.print(\"GET / HTTP/1.1\\r\\n\");\n outWriter.print(\"\\r\\n\");\n outWriter.flush();\n\n final InputStream is = socket.getInputStream();\n final BufferedReader reader = new BufferedReader(new InputStreamReader(is));\n\n final String transferEncoding = HttpHeaderNames.TRANSFER_ENCODING.toString().toLowerCase();\n for (;;) {\n final String line = reader.readLine();\n if (Strings.isNullOrEmpty(line)) {\n break;\n }\n assertThat(line.toLowerCase()).doesNotContain(transferEncoding);\n }\n }\n }", "title": "" }, { "docid": "78c5e4814e5abea932cc232024e7988b", "score": "0.46505204", "text": "@Override\n\tprotected void channelRead0(ChannelHandlerContext ctx, Object msg) throws URISyntaxException {\n\t\tif (msg instanceof HttpRequest) {\n\t\t\tHttpRequest request = (HttpRequest) msg;\n\n\t\t\tString uri = request.uri();\n\t\t\tString filename = \"loaderio-fbe3a1e6ef2f4ae69f460c0ae454538b.txt\";\n\t\t\tif (uri.endsWith(filename)) {\n\t\t\t\ttry {\n\n\t\t\t\t\tFile file = new File(\"../../../\" + filename);\n\t\t\t\t\tRandomAccessFile raf;\n\n\t\t\t\t\traf = new RandomAccessFile(file, \"r\");\n\t\t\t\t\tlong fileLength = raf.length();\n\t\t\t\t\tHttpResponse response = new DefaultHttpResponse(HTTP_1_1, OK);\n\t\t\t\t\tHttpUtil.setContentLength(response, fileLength);\n\t\t\t\t\tsetContentTypeHeader(response, file);\n\t\t\t\t\tsetDateAndCacheHeaders(response, file);\n\t\t\t\t\tif (HttpUtil.isKeepAlive(request)) {\n\t\t\t\t\t\tresponse.headers().set(HttpHeaderNames.CONNECTION, HttpHeaderValues.KEEP_ALIVE);\n\t\t\t\t\t}\n\n\t\t\t\t\t// Write the initial line and the header.\n\t\t\t\t\tctx.write(response);\n\n\t\t\t\t\tChannelFuture sendFileFuture;\n\t\t\t\t\tChannelFuture lastContentFuture;\n\t\t\t\t\tif (ctx.pipeline().get(SslHandler.class) == null) {\n\t\t\t\t\t\tsendFileFuture = ctx.write(new DefaultFileRegion(raf.getChannel(), 0, fileLength),\n\t\t\t\t\t\t\t\tctx.newProgressivePromise());\n\t\t\t\t\t\t// Write the end marker.\n\t\t\t\t\t\tlastContentFuture = ctx.writeAndFlush(LastHttpContent.EMPTY_LAST_CONTENT);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tsendFileFuture = ctx.writeAndFlush(\n\t\t\t\t\t\t\t\tnew HttpChunkedInput(new ChunkedFile(raf, 0, fileLength, 8192)),\n\t\t\t\t\t\t\t\tctx.newProgressivePromise());\n\t\t\t\t\t\t// HttpChunkedInput will write the end marker\n\t\t\t\t\t\t// (LastHttpContent) for us.\n\t\t\t\t\t\tlastContentFuture = sendFileFuture;\n\t\t\t\t\t}\n\n\t\t\t\t\tsendFileFuture.addListener(new ChannelProgressiveFutureListener() {\n\t\t\t\t\t\tpublic void operationProgressed(ChannelProgressiveFuture future, long progress, long total) {\n\t\t\t\t\t\t\tif (total < 0) { // total unknown\n\t\t\t\t\t\t\t\tSystem.err.println(future.channel() + \" Transfer progress: \" + progress);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.err\n\t\t\t\t\t\t\t\t\t\t.println(future.channel() + \" Transfer progress: \" + progress + \" / \" + total);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tpublic void operationComplete(ChannelProgressiveFuture future) {\n\t\t\t\t\t\t\tSystem.err.println(future.channel() + \" Transfer complete.\");\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\n\t\t\t\t} catch (FileNotFoundException ignore) {\n\t\t\t\t\tignore.printStackTrace();\n\t\t\t\t\tsendError(ctx, NOT_FOUND);\n\n\t\t\t\t\treturn;\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}\n\n\t\t\t} else {\n\t\t\t\tQueryStringDecoder queryStringDecoder = new QueryStringDecoder(uri);\n\t\t\t\tMap<String, List<String>> params = queryStringDecoder.parameters();\n\n\t\t\t}\n\t\t}\n\t\tNettyServer.counter++;\n\t\tnew ExecuteQuery().getDetailedCampaign(NettyServer.counter);\n\n\t}", "title": "" }, { "docid": "677a364ceeb45a01d6ee06c86d49c5a2", "score": "0.46454492", "text": "ServiceResponse<Void> head200() throws CloudException, IOException;", "title": "" }, { "docid": "0ce833eccf844fb6cfbff3f0e47d37ad", "score": "0.4641375", "text": "protected HttpClient setupConnection(URL url, HttpMethodBase httpMethod, HTTPSampleResult res) \n throws IOException {\n return hc.setupConnection(url, httpMethod, res);\n }", "title": "" }, { "docid": "fb0815c54872190142fb2b051d154ed8", "score": "0.46407115", "text": "protected void setHead(DLNode<T> node) {\n head = node;\n }", "title": "" }, { "docid": "36d647032ebf94934c3ab66fc836f2ca", "score": "0.46369863", "text": "private void doGetMethod() throws Exception{ \r\n\t String theLine;\r\n\r\n\t try {\r\n\r\n\t String req = action + \" \" + fileName + \" \"+ \"HTTP/1.0\" + \"\\n\\n\";\r\n\t //Sending the request to the server\r\n to_server.write(req.getBytes()); \r\n//Reading the data into a buffer form the server\r\n BufferedReader br=new BufferedReader(new InputStreamReader(from_server));\r\n\r\n while ((theLine = br.readLine()) != null) {\r\n System.out.println(theLine);\r\n }\r\n\r\n}catch(Exception e){\r\n\t e.printStackTrace();\r\n} finally {\r\n\t\tfrom_server.close();\r\n\t\tto_server.close();\r\n \r\n}\r\n\r\n}", "title": "" }, { "docid": "f0eddb6d48f03270fd988109720dfef5", "score": "0.46315315", "text": "public void refs(HttpServletRequest request, HttpServletResponse response) throws IOException {\n final ProtocolCommand command = ProtocolCommand.parse(request.getParameter(\"service\"));\n\n response.setHeader(\"Content-Type\",\n \"application/x-\" + command.getService() + \"-advertisement\");\n\n response.setHeader(\"Cache-Control\", \"no-cache\");\n\n final ServletOutputStream out = response.getOutputStream();\n\n final String header = \"# service=git-\" + command.getService() + \"\\n\";\n\n out.write(String.format(\"%04X\", header.length() + 4).getBytes()); //header 4-byte hex length field\n out.write(header.getBytes());\n out.write(PADDING);\n\n // todo: --stateless-rpc --advertise-refs\n }", "title": "" }, { "docid": "54917e29270c629763e0e5dca1785857", "score": "0.46247837", "text": "public String connectHeadNamespacedServiceProxy(String name, String namespace, String path)\n throws ApiException {\n ApiResponse<String> localVarResp =\n connectHeadNamespacedServiceProxyWithHttpInfo(name, namespace, path);\n return localVarResp.getData();\n }", "title": "" }, { "docid": "0fe14f91f0da4b4810e8d0e9fbc628fd", "score": "0.46199107", "text": "public interface ProxyAutodetector {\n\n public ProxyInfo detectProxyForURL(String url);\n\n}", "title": "" }, { "docid": "6ea8748036e80bb103b7e477ee7635e0", "score": "0.46156627", "text": "@Test\n public void proxyConfiguration() throws Exception {\n\n //wait for the server to be ready\n server.await();\n\n //instantiating the client performs a single post request\n //create a client with a bogus address (TEST-NET)\n String mockProxyUser = \"alpha\";\n String mockProxyPass = \"alphaPass\";\n CloudantClient client = CloudantClientHelper.newTestAddressClient()\n .proxyURL(new URL(server.getUrl()))\n .proxyUser(mockProxyUser)\n .proxyPassword(mockProxyPass)\n .build();\n\n client.executeRequest(Http.GET(client.getBaseUri()));\n //if it wasn't a 20x then an exception should have been thrown by now\n\n //assert that the request had the expected proxy auth header\n boolean foundProxyAuthHeader = false;\n for (String line : server.getLastInputRequestLines()) {\n if (line.contains(\"Proxy-Authorization\")) {\n foundProxyAuthHeader = true;\n Matcher m = Pattern.compile(\"Proxy-Authorization: Basic (.*)\", Pattern\n .CASE_INSENSITIVE).matcher(line);\n assertTrue(\"The Proxy-Authorization header should match the pattern\", m.matches());\n assertEquals(\"There should be 1 group for the value\", 1, m.groupCount());\n //create an interceptor with the same creds so we can easily get the expected value\n final String encodedCreds = new ProxyAuthInterceptor(mockProxyUser, mockProxyPass) {\n String getEncodedCreds() {\n return encodedAuth;\n }\n }.getEncodedCreds();\n\n assertEquals(\"The encoded credentials should match the expected value\",\n encodedCreds, m.group(1));\n\n }\n }\n assertTrue(foundProxyAuthHeader);\n }", "title": "" }, { "docid": "62ed46ed6910ddd8f47baa4a1f8de912", "score": "0.46077815", "text": "public void ping() throws RepositoryException {\n prepareHttpRepoClient().ping();\n }", "title": "" }, { "docid": "cd2aeeef267b650c035f21f9620b9d26", "score": "0.46050224", "text": "T getRemoteProxy();", "title": "" }, { "docid": "41fe4025ffb34bafea42b8a6781ea430", "score": "0.46034276", "text": "protected void copyRequestHeaders( HttpServletRequest servletRequest ) {\n Enumeration enumerationOfHeaderNames = servletRequest.getHeaderNames();\n while (enumerationOfHeaderNames.hasMoreElements()) {\n String headerName = (String)enumerationOfHeaderNames.nextElement();\n // Instead the content-length is effectively set via InputStreamEntity\n if (headerName.equalsIgnoreCase( HttpHeaders.CONTENT_LENGTH )) {\n continue;\n }\n if (hopByHopHeaders.containsHeader( headerName )) {\n log.debug( \" Header: \" + headerName + \" ... skipped.\" );\n continue;\n }\n\n Enumeration headers = servletRequest.getHeaders( headerName );\n while (headers.hasMoreElements()) {\n String headerValue = (String)headers.nextElement();\n // In case the proxy host is running multiple virtual servers,\n // rewrite the Host header to ensure that we get content from\n // the correct virtual server\n if (headerName.equalsIgnoreCase( HttpHeaders.HOST )) {\n HttpHost host = targetHost;\n headerValue = host.getHostName();\n if (host.getPort() != -1) {\n headerValue += \":\" + host.getPort();\n }\n }\n //\n else if (headerName.equalsIgnoreCase( org.apache.http.cookie.SM.COOKIE )) {\n headerValue = getRealCookie( headerValue );\n }\n proxyRequest.addHeader( headerName, headerValue );\n log.debug( \" Header: \" + headerName + \" = \" + headerValue );\n }\n }\n }", "title": "" }, { "docid": "b449e295140f5c53679d51174717ac6b", "score": "0.45977473", "text": "public int executeFetch(String protocol, int port, String urlPath, String userAgent, String from,\n String proxyHost, int proxyPort, String proxyAuthDomain, String proxyAuthUsername, String proxyAuthPassword,\n String lastETag, String lastModified)\n throws LCFException, ServiceInterruption\n {\n \n StringBuffer sb = new StringBuffer(protocol);\n sb.append(\"://\").append(server.getServerName());\n if (port != -1)\n sb.append(\":\").append(Integer.toString(port));\n sb.append(urlPath);\n myUrl = sb.toString();\n \n if (recordEverything)\n // Start a new data session\n dataSession = dataRecorder.getSession(myUrl);\n \n try\n {\n HttpClient client = new HttpClient(connectionManager);\n // Permit circular redirections, because that is how some sites set cookies\n client.getParams().setParameter(org.apache.commons.httpclient.params.HttpClientParams.ALLOW_CIRCULAR_REDIRECTS,new Boolean(true));\n fetchMethod = new GetMethod();\n HostConfiguration config = new HostConfiguration();\n \n config.setHost(server.getServerName(),port,Protocol.getProtocol(protocol));\n \n // If there's a proxy, set that too.\n if (proxyHost != null && proxyHost.length() > 0)\n {\n config.setProxy(proxyHost,proxyPort);\n if (proxyAuthUsername != null && proxyAuthUsername.length() > 0)\n {\n if (proxyAuthPassword == null)\n proxyAuthPassword = \"\";\n if (proxyAuthDomain == null)\n proxyAuthDomain = \"\";\n // Set up NTLM credentials for this fetch too.\n client.getState().setProxyCredentials(AuthScope.ANY,\n new NTCredentials(proxyAuthUsername,proxyAuthPassword,currentHost,proxyAuthDomain));\n }\n }\n \n startFetchTime = System.currentTimeMillis();\n fetchMethod.setURI(new URI(urlPath,true));\n \n // Set all appropriate headers\n fetchMethod.setRequestHeader(\"User-Agent\",userAgent);\n fetchMethod.setRequestHeader(\"From\",from);\n if (lastETag != null)\n fetchMethod.setRequestHeader(\"ETag\",lastETag);\n if (lastModified != null)\n fetchMethod.setRequestHeader(\"Last-Modified\",lastModified);\n \n fetchMethod.getParams().setSoTimeout(connectionTimeoutMilliseconds);\n // fetchMethod.getParams().setIntParameter(\"http.socket.timeout\", connectionTimeoutMilliseconds);\n \n fetchMethod.setFollowRedirects(true);\n \n // Fire it off!\n try\n {\n ExecuteMethodThread t = new ExecuteMethodThread(client,config,fetchMethod);\n try\n {\n t.start();\n t.join();\n Throwable thr = t.getException();\n if (thr != null)\n {\n throw thr;\n }\n statusCode = t.getResponse();\n if (recordEverything)\n dataSession.setResponseCode(statusCode);\n }\n catch (InterruptedException e)\n {\n t.interrupt();\n // We need the caller to abandon any connections left around, so rethrow in a way that forces them to process the event properly.\n throw e;\n }\n long currentTime;\n switch (statusCode)\n {\n case HttpStatus.SC_OK:\n return STATUS_OK;\n case HttpStatus.SC_UNAUTHORIZED:\n case HttpStatus.SC_USE_PROXY:\n // Permanent errors that mean, \"fetch not allowed\"\n return STATUS_SITEERROR;\n case HttpStatus.SC_REQUEST_TIMEOUT:\n case HttpStatus.SC_GATEWAY_TIMEOUT:\n case HttpStatus.SC_SERVICE_UNAVAILABLE:\n // Temporary service interruption\n // May want to make the retry time a parameter someday\n currentTime = System.currentTimeMillis();\n throw new ServiceInterruption(\"Http response temporary error on '\"+myUrl+\"': \"+Integer.toString(statusCode),\n null,currentTime + 60L * 60000L,currentTime + 1440L * 60000L,-1,false);\n case HttpStatus.SC_NOT_MODIFIED:\n return STATUS_NOCHANGE;\n case HttpStatus.SC_INTERNAL_SERVER_ERROR:\n // Fail for a while, but give up after 24 hours\n currentTime = System.currentTimeMillis();\n throw new ServiceInterruption(\"Http response internal server error on '\"+myUrl+\"': \"+Integer.toString(statusCode),\n null,currentTime + 60L * 60000L,currentTime + 1440L * 60000L,-1,false);\n case HttpStatus.SC_GONE:\n case HttpStatus.SC_NOT_FOUND:\n case HttpStatus.SC_BAD_GATEWAY:\n case HttpStatus.SC_BAD_REQUEST:\n default:\n return STATUS_PAGEERROR;\n }\n \n }\n catch (java.net.SocketTimeoutException e)\n {\n throwable = e;\n long currentTime = System.currentTimeMillis();\n throw new ServiceInterruption(\"Timed out waiting for IO for '\"+myUrl+\"': \"+e.getMessage(), e, currentTime + 300000L,\n currentTime + 120L * 60000L,-1,false);\n }\n catch (org.apache.commons.httpclient.ConnectTimeoutException e)\n {\n throwable = e;\n long currentTime = System.currentTimeMillis();\n throw new ServiceInterruption(\"Timed out waiting for connect for '\"+myUrl+\"': \"+e.getMessage(), e, currentTime + 60L * 60000L,\n currentTime + 720L * 60000L,-1,false);\n }\n catch (InterruptedIOException e)\n {\n throw new LCFException(\"Interrupted\",LCFException.INTERRUPTED);\n }\n catch (org.apache.commons.httpclient.CircularRedirectException e)\n {\n throwable = e;\n statusCode = FETCH_CIRCULAR_REDIRECT;\n if (recordEverything)\n dataSession.setResponseCode(statusCode);\n return STATUS_PAGEERROR;\n }\n catch (org.apache.commons.httpclient.NoHttpResponseException e)\n {\n throwable = e;\n // Give up after 2 hours.\n long currentTime = System.currentTimeMillis();\n throw new ServiceInterruption(\"Timed out waiting for response for '\"+myUrl+\"'\", e, currentTime + 15L * 60000L,\n currentTime + 120L * 60000L,-1,false);\n }\n catch (java.net.ConnectException e)\n {\n throwable = e;\n // Give up after 6 hours.\n long currentTime = System.currentTimeMillis();\n throw new ServiceInterruption(\"Timed out waiting for a connection for '\"+myUrl+\"'\", e, currentTime + 1000000L,\n currentTime + 720L * 60000L,-1,false);\n }\n catch (IOException e)\n {\n // Treat this as a bad url. We don't know what happened, but it isn't something we are going to naively\n // retry on.\n throwable = e;\n statusCode = FETCH_IO_ERROR;\n if (recordEverything)\n dataSession.setResponseCode(statusCode);\n return STATUS_PAGEERROR;\n }\n \n }\n catch (InterruptedException e)\n {\n // Drop the current connection on the floor, so it cannot be reused.\n fetchMethod = null;\n throw new LCFException(\"Interrupted: \"+e.getMessage(),e,LCFException.INTERRUPTED);\n }\n catch (URIException e)\n {\n throwable = new LCFException(\"Illegal URI: '\"+myUrl+\"'\",e);\n statusCode = FETCH_BAD_URI;\n if (recordEverything)\n dataSession.setResponseCode(statusCode);\n return STATUS_PAGEERROR;\n }\n catch (IllegalArgumentException e)\n {\n throwable = new LCFException(\"Illegal URI: '\"+myUrl+\"'\",e);\n statusCode = FETCH_BAD_URI;\n if (recordEverything)\n dataSession.setResponseCode(statusCode);\n return STATUS_PAGEERROR;\n }\n catch (IllegalStateException e)\n {\n throwable = new LCFException(\"Illegal state while fetching URI: '\"+myUrl+\"'\",e);\n statusCode = FETCH_SEQUENCE_ERROR;\n if (recordEverything)\n dataSession.setResponseCode(statusCode);\n return STATUS_PAGEERROR;\n }\n catch (ServiceInterruption e)\n {\n throw e;\n }\n catch (LCFException e)\n {\n throw e;\n }\n catch (Throwable e)\n {\n Logging.connectors.debug(\"RSS: Caught an unexpected exception: \"+e.getMessage(),e);\n throwable = e;\n statusCode = FETCH_UNKNOWN_ERROR;\n if (recordEverything)\n dataSession.setResponseCode(statusCode);\n return STATUS_PAGEERROR;\n }\n }", "title": "" }, { "docid": "a27b36b40487f608d96b5397416d9658", "score": "0.45854628", "text": "@Override\r\n public void ping()\r\n {\n }", "title": "" }, { "docid": "c24ba8fc7fd8b45996c5bd82997f08a0", "score": "0.45783508", "text": "public static HttpStatus pingUrl(final String location) {\n try {\n val url = new URL(location);\n val connection = (HttpURLConnection) url.openConnection();\n connection.setConnectTimeout(PING_URL_TIMEOUT);\n connection.setReadTimeout(PING_URL_TIMEOUT);\n connection.setRequestMethod(HttpMethod.HEAD.name());\n return HttpStatus.valueOf(connection.getResponseCode());\n } catch (final Exception e) {\n LoggingUtils.error(LOGGER, e);\n }\n return HttpStatus.SERVICE_UNAVAILABLE;\n\n }", "title": "" }, { "docid": "f24a5016820d448959ff65d99ee43ab9", "score": "0.45770672", "text": "public static void main(String[] args) throws Exception {\n String urlPath;\n urlPath = args.length > 0 ? args[0] : \"http://cs.rocky.edu/~bennera/\";\n URL url = new URL(urlPath);\n\n //Check if it is an HTTP request\n if (!url.getProtocol().toLowerCase().equals(\"http\")) {\n return;\n }\n\n //Get the path of file\n String filePath = url.getFile();\n if(DEBUG){\n System.out.println(\"File path: \" + filePath);\n }\n //Get the file of the url\n String requestedFile = filePath.substring(filePath.lastIndexOf('/') + 1, filePath.length());\n\n if(DEBUG) {\n System.out.println(\"Requested File: \" + requestedFile);\n }\n //Check if the requested file is empty\n //If so, set it to an index.html file\n if(requestedFile.equals(\"\")) {\n requestedFile = \"index.html\";\n }\n\n System.out.println(\"Output will be saved as: \" + requestedFile);\n\n //Start the output and the input streams\n Socket httpSocket = new Socket(url.getHost(), url.getDefaultPort());\n\n InputStream httpInput = httpSocket.getInputStream();\n OutputStream httpOutput = httpSocket.getOutputStream();\n\n StringBuilder headerInfo = new StringBuilder();\n headerInfo.append(\"GET \" + filePath + \" HTTP/1.1\\r\\n\");\n headerInfo.append(\"Host: \" + url.getHost() + \"\\r\\n\");\n headerInfo.append(\"Connection: close\\r\\n\");\n headerInfo.append(\"\\r\\n\");\n\n if(DEBUG) {\n System.out.println(headerInfo.toString());\n }\n\n //Output to the server\n byte[] stringBytes = headerInfo.toString().getBytes();\n httpOutput.write(stringBytes);\n\n ByteArrayOutputStream byteOutput = new ByteArrayOutputStream();\n //Pull it into the byte array output stream\n int character;\n while((character = httpSocket.getInputStream().read()) != -1) {\n byteOutput.write(character);\n }\n\n //Convert bytes to a string\n byte[] response = byteOutput.toByteArray();\n String stringOutput = new String(response);\n int index = stringOutput.indexOf(\"\\r\\n\\r\\n\");\n\n //Display our response header\n String header = new String(response, 0, index);\n System.out.println(header);\n\n while(response[index] == '\\r' || response[index] == '\\n'){\n index++;\n }\n\n\n //Set the output stream of the file\n File newFile = new File(requestedFile);\n newFile.createNewFile();\n OutputStream fileOutputStream = new FileOutputStream(newFile);\n //Go through the file and write to it\n fileOutputStream.write(response, index, (response.length - index));\n\n fileOutputStream.close();\n httpSocket.close();\n httpInput.close();\n httpOutput.close();\n }", "title": "" }, { "docid": "f1d0f006a7dfcedbef9bd1e74b3be740", "score": "0.4575637", "text": "@Override\n\t\tpublic ServerResponse send() {\n\t\t\treturn new ServerResponse((char)200, \"\", new HashMap<>(), \"HTTP/1.1 200 OK\");\n\t\t}", "title": "" }, { "docid": "96ccc486e7e5412d35d570c6b6b2df05", "score": "0.4563716", "text": "public void setHead(Details head) {\r\n\t\tthis.head = head;\r\n\t}", "title": "" }, { "docid": "a0767da0c326d5498a09018cf30a31d5", "score": "0.45605493", "text": "private void handleHttpRequest(ChannelHandlerContext ctx, FullHttpRequest req) {\n if (!req.decoderResult().isSuccess()) {\n sendHttpResponse(ctx, req, new DefaultFullHttpResponse(HTTP_1_1, BAD_REQUEST));\n return;\n }\n\n // Allow only GET methods.\n if (!GET.equals(req.method())) {\n sendHttpResponse(ctx, req, new DefaultFullHttpResponse(HTTP_1_1, FORBIDDEN));\n return;\n }\n\n// if (\"/test\".equals(req.uri())) {\n// ByteBuf content = Unpooled.copiedBuffer(\"<html><body>test</body></html>\", StandardCharsets.UTF_8);\n// FullHttpResponse res = new DefaultFullHttpResponse(HTTP_1_1, HttpResponseStatus.OK, content);\n// sendHttpResponse(ctx, req, res);\n// } else {\n// sendHttpResponse(ctx, req, new DefaultFullHttpResponse(HTTP_1_1, NOT_FOUND));\n// }\n /* // Send the demo page and favicon.ico\n if (\"/\".equals(req.uri())) {\n ByteBuf content = WebSocketServerBenchmarkPage.getContent(getWebSocketLocation(req));\n FullHttpResponse res = new DefaultFullHttpResponse(HTTP_1_1, OK, content);\n\n res.headers().set(HttpHeaderNames.CONTENT_TYPE, \"text/html; charset=UTF-8\");\n HttpUtil.setContentLength(res, content.readableBytes());\n\n sendHttpResponse(ctx, req, res);\n return;\n } else {\n if (\"/favicon.ico\".equals(req.uri())) {\n FullHttpResponse res = new DefaultFullHttpResponse(HTTP_1_1, NOT_FOUND);\n sendHttpResponse(ctx, req, res);\n return;\n }\n*/\n // Handshake\n\n }", "title": "" }, { "docid": "eef61986375043509c3b408effa35c26", "score": "0.4558275", "text": "private HTTPResponse connect(HttpURLConnection connection) throws HTTPException, IOException {\n\t\tHTTPResponse response = new HTTPResponse(connection);\n\t\tresponse.checkStatus();\n\t\treturn response;\n\t}", "title": "" }, { "docid": "dab7c2156f3ac4ba9c8031e2e74bf4ff", "score": "0.4551519", "text": "private HTTPGETrequest(String host, int port)\r\n {\r\n BASE_URL = \"http://\" + host + \":\" + port + \"/\";\r\n }", "title": "" }, { "docid": "a060c78ff26c3a614950e2916925df62", "score": "0.45498735", "text": "public String connectHeadNamespacedPodProxy(String name, String namespace, String path)\n throws ApiException {\n ApiResponse<String> localVarResp =\n connectHeadNamespacedPodProxyWithHttpInfo(name, namespace, path);\n return localVarResp.getData();\n }", "title": "" }, { "docid": "1665d82265dd5ae6080491d895f72a15", "score": "0.45410076", "text": "HttpMethod getHttpGetWithVirtualHost(String baseUrl,\n String virtualHost) throws UnknownHostException, MalformedURLException;", "title": "" }, { "docid": "9483f93e0b31ee60df3837a90fc0d5d5", "score": "0.45351315", "text": "public final boolean exchangeHeaders(final com.koushikdutta.async.http.b.c r9) {\n /*\n r8 = this;\n java.lang.String r0 = r9.protocol\n com.koushikdutta.async.http.Protocol r0 = com.koushikdutta.async.http.Protocol.get(r0)\n if (r0 == 0) goto L_0x0015\n com.koushikdutta.async.http.Protocol r1 = com.koushikdutta.async.http.Protocol.HTTP_1_0\n if (r0 == r1) goto L_0x0015\n com.koushikdutta.async.http.Protocol r1 = com.koushikdutta.async.http.Protocol.HTTP_1_1\n if (r0 == r1) goto L_0x0015\n boolean r9 = super.exchangeHeaders(r9)\n return r9\n L_0x0015:\n com.koushikdutta.async.http.d r0 = r9.request\n com.koushikdutta.async.http.d r1 = r9.request\n com.koushikdutta.async.http.a.a r1 = r1.getBody()\n if (r1 == 0) goto L_0x006f\n int r2 = r1.length()\n if (r2 < 0) goto L_0x003e\n com.koushikdutta.async.http.n r2 = r0.getHeaders()\n int r3 = r1.length()\n java.lang.String r3 = java.lang.String.valueOf(r3)\n java.lang.String r4 = \"Content-Length\"\n r2.set(r4, r3)\n com.koushikdutta.async.http.b$h r2 = r9.response\n com.koushikdutta.async.j r3 = r9.socket\n r2.sink(r3)\n goto L_0x006f\n L_0x003e:\n com.koushikdutta.async.http.n r2 = r0.getHeaders()\n java.lang.String r3 = \"Connection\"\n java.lang.String r2 = r2.get(r3)\n java.lang.String r3 = \"close\"\n boolean r2 = r3.equals(r2)\n if (r2 == 0) goto L_0x0058\n com.koushikdutta.async.http.b$h r2 = r9.response\n com.koushikdutta.async.j r3 = r9.socket\n r2.sink(r3)\n goto L_0x006f\n L_0x0058:\n com.koushikdutta.async.http.n r2 = r0.getHeaders()\n java.lang.String r3 = \"Transfer-Encoding\"\n java.lang.String r4 = \"Chunked\"\n r2.set(r3, r4)\n com.koushikdutta.async.http.b$h r2 = r9.response\n com.koushikdutta.async.http.d.c r3 = new com.koushikdutta.async.http.d.c\n com.koushikdutta.async.j r4 = r9.socket\n r3.<init>(r4)\n r2.sink(r3)\n L_0x006f:\n com.koushikdutta.async.http.w r2 = r0.getRequestLine()\n java.lang.String r2 = r2.toString()\n com.koushikdutta.async.http.n r3 = r0.getHeaders()\n java.lang.String r2 = r3.toPrefixString(r2)\n byte[] r3 = r2.getBytes()\n r4 = 1\n if (r1 == 0) goto L_0x0098\n int r5 = r1.length()\n if (r5 < 0) goto L_0x0098\n int r1 = r1.length()\n int r5 = r3.length\n int r1 = r1 + r5\n r5 = 1024(0x400, float:1.435E-42)\n if (r1 >= r5) goto L_0x0098\n r1 = 1\n goto L_0x0099\n L_0x0098:\n r1 = 0\n L_0x0099:\n if (r1 == 0) goto L_0x00b0\n com.koushikdutta.async.k r1 = new com.koushikdutta.async.k\n com.koushikdutta.async.http.b$h r5 = r9.response\n com.koushikdutta.async.q r5 = r5.sink()\n r1.<init>(r5)\n r1.forceBuffering(r4)\n com.koushikdutta.async.http.b$h r5 = r9.response\n r5.sink(r1)\n r5 = r1\n goto L_0x00b6\n L_0x00b0:\n r1 = 0\n com.koushikdutta.async.j r5 = r9.socket\n r7 = r5\n r5 = r1\n r1 = r7\n L_0x00b6:\n java.lang.String r2 = java.lang.String.valueOf(r2)\n java.lang.String r6 = \"\\n\"\n java.lang.String r2 = r6.concat(r2)\n r0.logv(r2)\n com.koushikdutta.async.a.a r0 = r9.sendHeadersCallback\n com.koushikdutta.async.http.p$1 r2 = new com.koushikdutta.async.http.p$1\n r2.<init>(r0, r5)\n com.koushikdutta.async.af.writeAll((com.koushikdutta.async.q) r1, (byte[]) r3, (com.koushikdutta.async.a.a) r2)\n com.koushikdutta.async.http.p$2 r0 = new com.koushikdutta.async.http.p$2\n r0.<init>(r9)\n com.koushikdutta.async.y r1 = new com.koushikdutta.async.y\n r1.<init>()\n com.koushikdutta.async.j r9 = r9.socket\n r9.setDataCallback(r1)\n r1.setLineCallback(r0)\n return r4\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.koushikdutta.async.http.p.exchangeHeaders(com.koushikdutta.async.http.b$c):boolean\");\n }", "title": "" }, { "docid": "f910d425f0a472a2af68476cc775f9a3", "score": "0.45262572", "text": "public static void readHEAD() {\n File file = Utils.join(Repository.BRANCH_DIR, \"HEAD\");\n pointBranchName = readObject(file, String.class);\n }", "title": "" }, { "docid": "965d5851fd7f6f3aafce13bcdb8dd3e9", "score": "0.45250562", "text": "public void sendServerPing();", "title": "" }, { "docid": "e3100f00731e08599275afedb638d542", "score": "0.45206952", "text": "private static String processGet(String[] command) throws IOException {\r\n\t\tif (!command[0].equals(\"GET\")) {\r\n\t\t\treturn \"\" + 500 + getTimeAndDate();\r\n\t\t}\r\n\t\tString result = processHead(command);\r\n\t\tif (result.startsWith(\"200\")) {\r\n\t\t\treturn result;\r\n\t\t} else\r\n\t\t\treturn \"400\" + getTimeAndDate();\r\n\t}", "title": "" }, { "docid": "760ae6ba2b65695893efcf4fed68eb5b", "score": "0.450627", "text": "public void handleRequest(HttpServerConnection conn, HttpContext context) throws IOException, HttpException {\n/* 302 */ context.setAttribute(\"http.connection\", conn);\n/* */ \n/* 304 */ HttpRequest request = null;\n/* 305 */ HttpResponse response = null;\n/* */ \n/* */ try {\n/* 308 */ request = conn.receiveRequestHeader();\n/* 309 */ if (request instanceof HttpEntityEnclosingRequest)\n/* */ {\n/* 311 */ if (((HttpEntityEnclosingRequest)request).expectContinue()) {\n/* 312 */ response = this.responseFactory.newHttpResponse((ProtocolVersion)HttpVersion.HTTP_1_1, 100, context);\n/* */ \n/* 314 */ if (this.expectationVerifier != null) {\n/* */ try {\n/* 316 */ this.expectationVerifier.verify(request, response, context);\n/* 317 */ } catch (HttpException ex) {\n/* 318 */ response = this.responseFactory.newHttpResponse((ProtocolVersion)HttpVersion.HTTP_1_0, 500, context);\n/* */ \n/* 320 */ handleException(ex, response);\n/* */ } \n/* */ }\n/* 323 */ if (response.getStatusLine().getStatusCode() < 200) {\n/* */ \n/* */ \n/* 326 */ conn.sendResponseHeader(response);\n/* 327 */ conn.flush();\n/* 328 */ response = null;\n/* 329 */ conn.receiveRequestEntity((HttpEntityEnclosingRequest)request);\n/* */ } \n/* */ } else {\n/* 332 */ conn.receiveRequestEntity((HttpEntityEnclosingRequest)request);\n/* */ } \n/* */ }\n/* */ \n/* 336 */ context.setAttribute(\"http.request\", request);\n/* */ \n/* 338 */ if (response == null) {\n/* 339 */ response = this.responseFactory.newHttpResponse((ProtocolVersion)HttpVersion.HTTP_1_1, 200, context);\n/* */ \n/* 341 */ this.processor.process(request, context);\n/* 342 */ doService(request, response, context);\n/* */ } \n/* */ \n/* */ \n/* 346 */ if (request instanceof HttpEntityEnclosingRequest) {\n/* 347 */ HttpEntity entity = ((HttpEntityEnclosingRequest)request).getEntity();\n/* 348 */ EntityUtils.consume(entity);\n/* */ }\n/* */ \n/* 351 */ } catch (HttpException ex) {\n/* 352 */ response = this.responseFactory.newHttpResponse((ProtocolVersion)HttpVersion.HTTP_1_0, 500, context);\n/* */ \n/* */ \n/* 355 */ handleException(ex, response);\n/* */ } \n/* */ \n/* 358 */ context.setAttribute(\"http.response\", response);\n/* */ \n/* 360 */ this.processor.process(response, context);\n/* 361 */ conn.sendResponseHeader(response);\n/* 362 */ if (canResponseHaveBody(request, response)) {\n/* 363 */ conn.sendResponseEntity(response);\n/* */ }\n/* 365 */ conn.flush();\n/* */ \n/* 367 */ if (!this.connStrategy.keepAlive(response, context)) {\n/* 368 */ conn.close();\n/* */ }\n/* */ }", "title": "" }, { "docid": "0cee8d5cf9162bbe1b18b7b07fcf025c", "score": "0.45007548", "text": "StatusReply ping() throws RedisException;", "title": "" }, { "docid": "3faf705c874046d7bb85c21deff7e91e", "score": "0.44955114", "text": "protected HandshakeStatus createCrawlerHandshakeStatus( )\n {\n HTTPHeaderGroup crawlerHeaders = new HTTPHeaderGroup( \n HTTPHeaderGroup.COMMON_HANDSHAKE_GROUP );\n \n boolean isUltrapeer = servent.isUltrapeer();\n \n crawlerHeaders.addHeader( new HTTPHeader(\n GnutellaHeaderNames.X_ULTRAPEER, String.valueOf( isUltrapeer ) ) );\n \n if ( isUltrapeer )\n {\n // add connected leaves...\n Host[] leafs = servent.getHostService().getLeafConnections();\n if ( leafs.length > 0 )\n {\n String leafAddressString = buildHostAddressString(leafs, leafs.length );\n crawlerHeaders.addHeader( new HTTPHeader( GnutellaHeaderNames.LEAVES,\n leafAddressString ) );\n }\n }\n \n // add connected ultrapeers \n Host[] ultrapeers = servent.getHostService().getUltrapeerConnections();\n if ( ultrapeers.length > 0 )\n {\n String ultrapeerAddressString = buildHostAddressString(ultrapeers, ultrapeers.length );\n crawlerHeaders.addHeader( new HTTPHeader( GnutellaHeaderNames.PEERS,\n ultrapeerAddressString ) );\n }\n \n return new HandshakeStatus( STATUS_CODE_OK,\n STATUS_MESSAGE_OK, crawlerHeaders );\n }", "title": "" }, { "docid": "78dc78dcd880f20526db730149e4480b", "score": "0.4494063", "text": "HttpProtocol protocol();", "title": "" }, { "docid": "fcf3a52f3479d21a6b88e16d0b0d2566", "score": "0.44938645", "text": "public Node getHead(){\n return this.head;\n }", "title": "" }, { "docid": "d49c0914da014a4127871111a383e851", "score": "0.44888487", "text": "void proxyOpFailureClientOverloaded();", "title": "" }, { "docid": "f4029cf8a6b839d539f1745e3f8995c1", "score": "0.4486167", "text": "@Override\n\tpublic void beforeRequest(Channel clientChannel, HttpRequest httpRequest, HttpProxyInterceptPipeline pipeline) throws Exception {\n\t\tif (log.isDebugEnabled()) {\n\t\t\tlog.debugf(\"resquest url : \\n\\t %s\", httpRequest.uri());\n\t\t}\n\t\tpipeline.beforeRequest(clientChannel, httpRequest);\n\t}", "title": "" }, { "docid": "773b70c30a2c15c49b01f994a1828752", "score": "0.4480619", "text": "@Test\n public void PreemptiveAuthentication ()\n {\n\t given()\n\t\t.proxy(\"192.168.100.1\", 8081)\n\t .when()\n\t\t.get(\"http://restapi.demoqa.com/authentication/CheckForAuthentication/\")\n\t .then()\n\t\t.statusCode(200);\n\n }", "title": "" }, { "docid": "8ab1a5b6869a801d47c9c966c8c636f8", "score": "0.44775826", "text": "@Test\n public void testGetAllRecipes() {\n\n System.out.println(webresall);\n\n System.out.println(webresall.get(String.class));\n ClientResponse head = webresall.head();\n\n if(head.getStatus()==200)\n assertEquals(200,head.getStatus());\n else\n fail(\"Some errors occurred\");\n }", "title": "" }, { "docid": "b615e56807e409e184f050f4b941ff4f", "score": "0.44720665", "text": "@Override\n\tpublic void run() \n {\n\t\tBufferedReader in = null;\n PrintWriter headerOut = null;\n BufferedOutputStream dataOut = null;\n \n\t\tString filePath = null;\n List<String> supportedMethods = new ArrayList<>(Arrays.asList(\"GET\", \"HEAD\"));\n\t\t\n\t\ttry \n {\n //input stream\n\t\t\tin = new BufferedReader(new InputStreamReader(socket.getInputStream()));\n\t\t\t//text output stream for headers\n\t\t\theaderOut = new PrintWriter(socket.getOutputStream());\n\t\t\t//binary output stream for data\n\t\t\tdataOut = new BufferedOutputStream(socket.getOutputStream());\n\t\t\t\n\t\t\t//get first line of the request from the client\n\t\t\tString input = in.readLine();\n\t\t\t//parse the request with a string tokenizer\n\t\t\tStringTokenizer parser = new StringTokenizer(input);\n\t\t\t//get method and file requested\n\t\t\tString method = parser.nextToken().toUpperCase();\n\t\t\tfilePath = parser.nextToken().toLowerCase();\n\t\t\t\n\t\t\t//check supported methods\n\t\t\tif(!supportedMethods.contains(method)) \n {\n\t\t\t\tif (verbose) \n\t\t\t\t\tSystem.out.println(\"501 Not Implemented : \" + method + \" method.\");\n\t\t\t\t\n\t\t\t\t//return the not supported file to the client\n\t\t\t\tbyte[] fileData = readFileData(WEB_ROOT + \"/\" + METHOD_NOT_SUPPORTED);\n\t\t\t\tint fileLength = fileData.length;\n\t\t\t\tString contentMimeType = \"text/html\";\n\t\t\t\t\t\n\t\t\t\t//send HTTP headers\n\t\t\t\theaderOut.println(\"HTTP/1.1 501 Not Implemented\");\n\t\t\t\theaderOut.println(\"Server: Java HTTP Server from samu902 : 1.0\");\n\t\t\t\theaderOut.println(\"Date: \" + new Date());\n\t\t\t\theaderOut.println(\"Content-type: \" + contentMimeType);\n\t\t\t\theaderOut.println(\"Content-length: \" + fileLength);\n\t\t\t\theaderOut.println(); //blank line between headers and content, very important!\n\t\t\t\theaderOut.flush(); \n\t\t\t\t//send file data\n\t\t\t\tdataOut.write(fileData, 0, fileLength);\n\t\t\t\tdataOut.flush();\t\n\t\t\t} \n else \n {\n //special treatment for this file\n if(filePath.endsWith(\"/punti-vendita.xml\"))\n {\n puntiVendita(headerOut, dataOut);\n return;\n }\n \n //DB paths\n if(filePath.equals(DB_JSON_URL) || filePath.equals(DB_XML_URL))\n {\n databaseData(headerOut, dataOut, filePath);\n return;\n }\n \n\t\t\t\t//if path is a folder, append the default file\n\t\t\t\tif (filePath.endsWith(\"/\"))\n\t\t\t\t\tfilePath += DEFAULT_FILE;\n \n //GET method so we return content\n\t\t\t\tif (method.equals(\"GET\")) \n {\n\t\t\t\t\tbyte[] fileData = readFileData(WEB_ROOT + filePath);\n int fileLength = fileData.length;\n String content = getContentType(filePath);\n\t\t\t\t\t\n\t\t\t\t\t//send HTTP headers\n\t\t\t\t\theaderOut.println(\"HTTP/1.1 200 OK\");\n\t\t\t\t\theaderOut.println(\"Server: Java HTTP Server from Samu902 : 1.0\");\n\t\t\t\t\theaderOut.println(\"Date: \" + new Date());\n\t\t\t\t\theaderOut.println(\"Content-type: \" + content);\n\t\t\t\t\theaderOut.println(\"Content-length: \" + fileLength);\n\t\t\t\t\theaderOut.println(); // blank line between headers and content, very important!\n\t\t\t\t\theaderOut.flush();\n //send file data\n dataOut.write(fileData, 0, fileLength);\n dataOut.flush();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (verbose)\n\t\t\t\t\tSystem.out.println(\"File \" + filePath + \" of type \" + getContentType(filePath) + \" returned\");\t\n\t\t\t}\n\t\t} \n catch (FileNotFoundException fnfe) \n {\n\t\t\ttry \n { \n //if file is without extension (and not a folder) and doesn't exist, try to redirect to a folder with the same name\n if(getFileExtension(filePath).equals(\"\") && !filePath.endsWith(\"/\"))\n {\n redirectToFolder(headerOut, filePath);\n return;\n }\n \n\t\t\t\tfileNotFound(headerOut, dataOut, filePath);\n\t\t\t} \n catch (IOException ioe) \n {\n\t\t\t\tSystem.err.println(\"Error with file not found exception : \" + ioe.getMessage());\n\t\t\t}\n\t\t}\n catch (IOException ioe) \n {\n\t\t\tSystem.err.println(\"Server error : \" + ioe);\n\t\t} \n finally \n {\n\t\t\ttry \n {\n //close streams and socket connection\n\t\t\t\tin.close();\n\t\t\t\theaderOut.close();\n\t\t\t\tdataOut.close();\n\t\t\t\tsocket.close();\n\t\t\t} \n catch (Exception e) \n {\n\t\t\t\tSystem.err.println(\"Error closing stream : \" + e.getMessage());\n\t\t\t} \n\t\t\t\n\t\t\tif (verbose)\n\t\t\t\tSystem.out.println(\"Connection closed.\\n\");\n\t\t}\n\t}", "title": "" }, { "docid": "4df88af1624df25c4451ef7c664c924a", "score": "0.4468773", "text": "public okhttp3.Call connectHeadNamespacedPodProxyWithPathCall(\n String name, String namespace, String path, String path2, final ApiCallback _callback)\n throws ApiException {\n Object localVarPostBody = null;\n\n // create path and map variables\n String localVarPath =\n \"/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}\"\n .replaceAll(\"\\\\{\" + \"name\" + \"\\\\}\", localVarApiClient.escapeString(name.toString()))\n .replaceAll(\n \"\\\\{\" + \"namespace\" + \"\\\\}\", localVarApiClient.escapeString(namespace.toString()))\n .replaceAll(\"\\\\{\" + \"path\" + \"\\\\}\", localVarApiClient.escapeString(path.toString()));\n\n List<Pair> localVarQueryParams = new ArrayList<Pair>();\n List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();\n if (path2 != null) {\n localVarQueryParams.addAll(localVarApiClient.parameterToPair(\"path\", path2));\n }\n\n Map<String, String> localVarHeaderParams = new HashMap<String, String>();\n Map<String, String> localVarCookieParams = new HashMap<String, String>();\n Map<String, Object> localVarFormParams = new HashMap<String, Object>();\n final String[] localVarAccepts = {\"*/*\"};\n final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);\n if (localVarAccept != null) {\n localVarHeaderParams.put(\"Accept\", localVarAccept);\n }\n\n final String[] localVarContentTypes = {};\n\n final String localVarContentType =\n localVarApiClient.selectHeaderContentType(localVarContentTypes);\n localVarHeaderParams.put(\"Content-Type\", localVarContentType);\n\n String[] localVarAuthNames = new String[] {\"BearerToken\"};\n return localVarApiClient.buildCall(\n localVarPath,\n \"HEAD\",\n localVarQueryParams,\n localVarCollectionQueryParams,\n localVarPostBody,\n localVarHeaderParams,\n localVarCookieParams,\n localVarFormParams,\n localVarAuthNames,\n _callback);\n }", "title": "" }, { "docid": "ba6c5647671aedaeb7f42891ec619bd7", "score": "0.4465882", "text": "public Head getHead() {\n return head;\n }", "title": "" }, { "docid": "8de2790c4813b24d6c578c5b2a5e3e13", "score": "0.4459128", "text": "@Test\n public void seleniumTest() throws Exception\n {\n System.setProperty(\"webdriver.chrome.driver\", \"/Users/evgenyp/Downloads/chromedriver\");\n\n // start the proxy\n BrowserMobProxy proxy = new BrowserMobProxyServer();\n proxy.start(0);\n\n // get the Selenium proxy object\n Proxy seleniumProxy = ClientUtil.createSeleniumProxy(proxy);\n\n // configure it as a desired capability\n DesiredCapabilities capabilities = new DesiredCapabilities();\n capabilities.setCapability(CapabilityType.PROXY, seleniumProxy);\n\n ChromeOptions options = new ChromeOptions();\n options.merge(capabilities);\n\n // start the browser up\n WebDriver driver = new ChromeDriver(options);\n\n // enable more detailed HAR capture, if desired (see CaptureType for the complete list)\n proxy.enableHarCaptureTypes(CaptureType.REQUEST_CONTENT, CaptureType.RESPONSE_CONTENT, CaptureType.REQUEST_HEADERS, CaptureType.RESPONSE_HEADERS);\n\n /**\n * add custom header to request*\n **/\n //proxy.addHeader(\"User-Agent\", \"TEST_AGENT\");\n //proxy.addHeader(\"Custom-header\", \"CUSTOM_HEADER\");\n\n\n /**\n * Enable a response filter, which will monitor all responses and do some actions\n */\n\n ResponseFilter filter = new ResponseFilter() {\n public void filterResponse(HttpResponse httpResponse, HttpMessageContents httpMessageContents, HttpMessageInfo httpMessageInfo) {\n\n\n //Print all url's, so we can later use it to filter particular responses:\n System.out.println(\"intercepting response for url :\" + httpMessageInfo.getOriginalUrl());\n\n //Change http status to another for some url\n if (httpMessageInfo.getOriginalUrl().contains(\"homepage-hero-large.jpg\")) {\n\n System.out.println(\"FOUND URL\");\n HttpResponseStatus newStatus = new HttpResponseStatus(500,\"ERROR\");\n HttpResponse res = httpResponse;\n res.setStatus(newStatus);\n\n }\n\n //change all occurrences of the word Wix to SUCCESS\n //String messageContents = httpMessageContents.getTextContents();\n //String newContents = messageContents.replaceAll(\"Wix\", \"SUCCESS\");\n //httpMessageContents.setTextContents(newContents);\n }\n };\n\n proxy.addResponseFilter(filter);\n\n // create a new HAR with the label \"wix.com\"\n proxy.newHar(\"wix.com\");\n\n // open yahoo.com\n driver.get(\"http://wix.com\");\n TimeUnit.SECONDS.sleep(15);\n // get the HAR data which can be used later to analyze statistics\n Har har = proxy.getHar();\n\n String requestType = har.getLog().getEntries().get(0).getRequest().getMethod();\n String url = har.getLog().getEntries().get(0).getRequest().getUrl();\n int number = har.getLog().getEntries().size();\n\n\n System.out.println(\"Total: \" + number + \" requests/responses \");\n System.out.println(\"The first request was of type \" + requestType + \", to URL \" + url);\n\n TimeUnit.SECONDS.sleep(10);\n driver.close();\n driver.quit();\n }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "7cb7e3b0f922694e371515cc535b006d", "score": "0.0", "text": "@Override\n public ResultSet getResultSet(long index, int count, Map<String, Class<?>> map) throws SQLException {\n throw new UnsupportedOperationException(\"Unimplemented method 'getResultSet'\");\n }", "title": "" } ]
[ { "docid": "63a51b9825ac81396e1d7ad0b9f3ed82", "score": "0.6866318", "text": "@Override\n\tpublic void 군무() {\n\t\t\n\t}", "title": "" }, { "docid": "15ae679aae74424c73fde647cf4332f6", "score": "0.68461496", "text": "@Override\r\n\t\t\tpublic void hissetmek() {\n\r\n\t\t\t}", "title": "" }, { "docid": "76a80470fd21f5a9092c258ed3a8a632", "score": "0.68199706", "text": "private static void 로또번호리스트() {\n\t\t\r\n\t}", "title": "" }, { "docid": "bfad11e436c98998f434617a4d2907e5", "score": "0.6690517", "text": "@Override\r\n\tpublic void adharno() {\n\t\t\r\n\t}", "title": "" }, { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.6679176", "text": "private void apparence() {\r\n\r\n\t}", "title": "" }, { "docid": "9969c2cd0a26f223be9eea348d1c6160", "score": "0.6571234", "text": "private static void 로또수동생성() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65677965", "text": "@Override\n\tpublic void comer() {\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": "1dd3d9bdd67d8cc8bddfe021796a9286", "score": "0.6433148", "text": "@Override\n protected void lodate() {\n\n }", "title": "" }, { "docid": "b62655d47438ae6875a06d0702721dbc", "score": "0.6424808", "text": "@Override\r\n\t\t\tpublic void koklama() {\n\r\n\t\t\t}", "title": "" }, { "docid": "d92d5fe4c6efcfe66d53457e76817518", "score": "0.64108074", "text": "@Override\r\n\t\t\tprotected void init() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "5435fed6c0a9345524c30343d8ed9829", "score": "0.63912827", "text": "@Override\r\n\tpublic void entrenar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "dda3b5a5b8e9e69b6eec0807bf162606", "score": "0.63636446", "text": "@Override\r\n\tpublic void rozmnozovat() {\n\t\t\r\n\t}", "title": "" }, { "docid": "00075c50e26b18237953cd05ffd5428b", "score": "0.63032013", "text": "@Override\n\tpublic void beber() {\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": "76e3d99118a00e74a082f6a955778f7d", "score": "0.62293875", "text": "Grensesnitt(){}", "title": "" }, { "docid": "61358eff9372995c8157b02d47a44a6a", "score": "0.6186996", "text": "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "title": "" }, { "docid": "bf8fefe7b85b49281edb456698bfd556", "score": "0.616781", "text": "@Override\r\n\tpublic void descansar() {\n\t\t\r\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": "c612bcadafd393d086f44fd19558a8be", "score": "0.61533993", "text": "@Override\r\n\tpublic void inicialize() {\n\t\t\r\n\t}", "title": "" }, { "docid": "106ce0ada7b978eeffda7ec9cccc29e2", "score": "0.61470556", "text": "public void дразнит() {\n\n\t}", "title": "" }, { "docid": "a6e9388ba580a030c48b527221f8e81a", "score": "0.6139653", "text": "@Override\n\tpublic void actuar() {\n\t\t\n\t}", "title": "" }, { "docid": "958663dc976180cba7b91b2a4ebcb522", "score": "0.61089844", "text": "@Override\n\tpublic void atualiza() {\n\n\t}", "title": "" }, { "docid": "2bd152bb33ecbe797b9818e175c5d4ec", "score": "0.6105675", "text": "public void mo55659a() {\n }", "title": "" }, { "docid": "42693116fba02f3f07be1ab752c6d9bc", "score": "0.6063955", "text": "@Override\r\n\tpublic void concentrarse() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cce15f647f795017e06f2ca544477ccd", "score": "0.6063628", "text": "@Override\n\tpublic void chamCong() {\n\n\t}", "title": "" }, { "docid": "c95af00aee2fa41e8a03e3640ca30750", "score": "0.6041561", "text": "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "title": "" }, { "docid": "b7d3c2b49702a5ed673b243bf8d2b7c0", "score": "0.60215324", "text": "@Override\n\tprotected void funcionario() {\n\t\t\n\t}", "title": "" }, { "docid": "0d996fa345e18b74a73dce6394fc0b15", "score": "0.60198766", "text": "@Override\r\n\tpublic void sunricers() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a6c2db17f79f35f8fc3b8e99eee9ab48", "score": "0.60124713", "text": "@Override\r\n\tprotected void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "27c725838f280928d869cc973588317c", "score": "0.6001773", "text": "@Override\r\n\tpublic void doSelfOpertion() {\n\t\t\r\n\t}", "title": "" }, { "docid": "f350fb57d7c81ec6d70f2643960940a8", "score": "0.5986621", "text": "@Override \r\n public void init() {\n \r\n }", "title": "" }, { "docid": "4f035da85a44bb830509e046190e6ee5", "score": "0.59682363", "text": "@Override\r\n\tpublic void rajastanroyals() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a0486d5f3890f3b56ce5a39122c4bdd7", "score": "0.59527355", "text": "@Override\r\n\tvoid metodo4() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c744960aa067b28111e99db9ddf6aeed", "score": "0.59477377", "text": "@Override\r\n\tpublic void fragancia() {\n\t\t\r\n\t}", "title": "" }, { "docid": "288fd3ee71b736e770bbef790831c263", "score": "0.59301406", "text": "User mo18615e();", "title": "" }, { "docid": "6f1e0cfaa7350cf143896dace56978f5", "score": "0.59270483", "text": "@Override\n\tpublic void respirar() {\n\t\t\n\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59239364", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "9808ba3c113b79c3677f2c08c09e60a1", "score": "0.59020513", "text": "@Override\n\tpublic void resert() {\n\t\t\n\t}", "title": "" }, { "docid": "416a053368cfd700d9d09414458911cd", "score": "0.58986443", "text": "@Override\n\tpublic void assamblyOfControlhead() {\n\t\t\n\t\t\n\t\t\n\t\n\n\t}", "title": "" }, { "docid": "c9b74342d0ae0e22bc7119b60588c66a", "score": "0.5897873", "text": "@Override\n\t\t\tpublic int getType() {\n\t\t\t\treturn 0;\n\t\t\t}", "title": "" }, { "docid": "c9b74342d0ae0e22bc7119b60588c66a", "score": "0.5897873", "text": "@Override\n\t\t\tpublic int getType() {\n\t\t\t\treturn 0;\n\t\t\t}", "title": "" }, { "docid": "77d32d2a2070d9c3117ff146ac04f114", "score": "0.5891585", "text": "@Override\r\n\tpublic void climaChuvoso() {\n\r\n\t}", "title": "" }, { "docid": "77f859c241fd5e1d997f67c3b890833e", "score": "0.5886342", "text": "@Override\n\tpublic void dormir() {\n\t\t\n\t}", "title": "" }, { "docid": "40577cf33330bd70c08bc8e310b4436d", "score": "0.58706117", "text": "@Override\n\tpublic void falar() {\n\n\t}", "title": "" }, { "docid": "79c707f3d28263fcc89902b0527d5c14", "score": "0.58528596", "text": "public void mo736a() {\n }", "title": "" }, { "docid": "42c3f8e63385f8e328b6828c1f7243d4", "score": "0.584987", "text": "@Override\r\n\t\tpublic void method_4() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "60e50abec8df6d4d5a80de13ba750171", "score": "0.5842782", "text": "@Override\r\n\tpublic void retour() {\n\t\t\r\n\t}", "title": "" }, { "docid": "debc6b4612a5fe9f0680a6bff73f25e6", "score": "0.58388203", "text": "@Override\r\n\t\tpublic void emettreSon() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "d56c498b25d1ea77dc09f49efcf80f6c", "score": "0.58347356", "text": "@Override\r\n\tpublic void aumentaFatorAcidade() {\n\r\n\t}", "title": "" }, { "docid": "a5d63cf5eb472d80fba18b0149c96501", "score": "0.5825308", "text": "@Override\n\tpublic void memberSecession() {\n\t\t\n\t}", "title": "" }, { "docid": "f4f7bcdf27874d7a17a80f57f8df43e0", "score": "0.5822819", "text": "public void mo10744d() {\n }", "title": "" }, { "docid": "d45e7311f809d3019d7382af887cb3cf", "score": "0.5799729", "text": "@Override\r\n\tpublic void dehlidervels() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ce91051d32625345f2bf3562abbb93de", "score": "0.5794177", "text": "@Override\n\tprotected void inicializar() {\n\t}", "title": "" }, { "docid": "89b37f5fcca98bdfa7c243fc99d06675", "score": "0.5790634", "text": "@Override\r\n\tpublic void reanudar() {\n\t\t\r\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": "4a3a3aeaffc4b367a8aa8488e4b59610", "score": "0.57720804", "text": "public void mo10856b() {\n }", "title": "" }, { "docid": "1c10afc999966d89d84d1fb549910281", "score": "0.5770528", "text": "@Override \n\t\tprotected void parse() {\t\t\t\n\t\t}", "title": "" }, { "docid": "a46afb3a57efda28ee1b37c4a9b1960f", "score": "0.57642525", "text": "private void getEx() {\n\r\n\t}", "title": "" }, { "docid": "5e6804b1ba880a8cc8a98006ca4ba35b", "score": "0.5761362", "text": "@Override\n public void init() {\n\n }", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57596046", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57596046", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57596046", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "b95bbed498007dfeba9b078798c02e53", "score": "0.5754483", "text": "@Override\r\n\tpublic void exibir() {\n\t\t\r\n\t}", "title": "" }, { "docid": "03b93c6668ea7af171bbcdb3af74bb4a", "score": "0.57524616", "text": "@Override\n public void bicar() {\n }", "title": "" }, { "docid": "b2cde12cf50e0ec60f909684878e936c", "score": "0.57514966", "text": "@Override\n\tpublic void wykonajZamknij() {\n\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": "a53d232dac89259f961cbc93762f65b2", "score": "0.5731746", "text": "@Override\r\n\t\t\tvoid n() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "cf193ee51fc2ac8c94c94264e19ff99c", "score": "0.57304704", "text": "@Override\n public boolean cannibale() {\n return false;\n }", "title": "" }, { "docid": "cf193ee51fc2ac8c94c94264e19ff99c", "score": "0.57304704", "text": "@Override\n public boolean cannibale() {\n return false;\n }", "title": "" }, { "docid": "3b072172b17a5e5ab0081f24545795f2", "score": "0.57235396", "text": "public void przymocowac() {\n\t\t\n\t}", "title": "" }, { "docid": "17e507b0166d99f88c8237ad30d967b7", "score": "0.5716563", "text": "public void zamowic() {\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": "7bbf3f0011f317b7faa88562e06495b7", "score": "0.5714223", "text": "@Override\r\n public void reculer() {\n }", "title": "" }, { "docid": "1ba6f6b334c51461b3fe944110e91ef5", "score": "0.5707728", "text": "@Override\n\tpublic void comerHojas() {\n\t\t\n\t}", "title": "" }, { "docid": "39132efb6b42f8ec625d96ff6226d80b", "score": "0.56991017", "text": "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "title": "" }, { "docid": "2d9072b54f55f18557f92b99be58ec2f", "score": "0.56886935", "text": "@Override\r\n public String toString() {\n\treturn null;\r\n }", "title": "" }, { "docid": "0ca16e78cddd3c7d9de74c662606bbac", "score": "0.5686997", "text": "public void mo4570b() {\n }", "title": "" }, { "docid": "359579516b65b36ff8c4344d8363a3ed", "score": "0.5686103", "text": "@Override\r\n\tprotected void initData() {\n\t}", "title": "" }, { "docid": "09488e6c7d4190869b37b126a578249f", "score": "0.56821704", "text": "@Override\r\n\t/**\r\n\t * \r\n\t */\r\n\tpublic int size() {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "b6c641fa6ba40a5b14cc33cb07aa0671", "score": "0.5669649", "text": "@Override\n\tprotected void initData() {\n\t}", "title": "" }, { "docid": "b6c641fa6ba40a5b14cc33cb07aa0671", "score": "0.5669649", "text": "@Override\n\tprotected void initData() {\n\t}", "title": "" }, { "docid": "001227e6b58a587f9eb4f77b15fc3588", "score": "0.5668976", "text": "@Override\n\tprotected void local() {\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": "" } ]
0da060e88dd25dd24d6557b94ac50844
Get a properly formatted host for permission checking. Ignores port if 1,
[ { "docid": "5b43e8db972c346c30ed4028df878a0d", "score": "0.8040338", "text": "private String getHostForPermission(String host, int port) {\n if (host == null) {\n throw new NullPointerException(\"Host cannot be null.\");\n }\n // IPv6 check (if not already wrapped as a IPv6 literal, but is IPv6, then wrap).\n if (!host.startsWith(\"[\") && host.indexOf(':') != -1) {\n host = \"[\" + host + \"]\";\n }\n return port == -1 ? host : (host + \":\" + port);\n }", "title": "" } ]
[ { "docid": "25b22cc5a8e80f02732a0735bd5fdd4e", "score": "0.7212839", "text": "java.lang.String getHost();", "title": "" }, { "docid": "25b22cc5a8e80f02732a0735bd5fdd4e", "score": "0.7212839", "text": "java.lang.String getHost();", "title": "" }, { "docid": "25b22cc5a8e80f02732a0735bd5fdd4e", "score": "0.7212839", "text": "java.lang.String getHost();", "title": "" }, { "docid": "d3c3176efcd71a130a02eae52d26387a", "score": "0.68591493", "text": "String getHost();", "title": "" }, { "docid": "d3c3176efcd71a130a02eae52d26387a", "score": "0.68591493", "text": "String getHost();", "title": "" }, { "docid": "d3c3176efcd71a130a02eae52d26387a", "score": "0.68591493", "text": "String getHost();", "title": "" }, { "docid": "d3c3176efcd71a130a02eae52d26387a", "score": "0.68591493", "text": "String getHost();", "title": "" }, { "docid": "d3c3176efcd71a130a02eae52d26387a", "score": "0.68591493", "text": "String getHost();", "title": "" }, { "docid": "73cae735e0dacb944f4da5231455cfe0", "score": "0.6572375", "text": "private static String bracketedHostString(HostAndPort hostAndPort)\n {\n String host = hostAndPort.getHost();\n if (hostAndPort.toString().startsWith(\"[\")) {\n return \"[\" + host + \"]\";\n }\n return host;\n }", "title": "" }, { "docid": "2d4093f42ebcb82e8a32a5fd20516e12", "score": "0.64835083", "text": "public String getHost();", "title": "" }, { "docid": "0702a68622da0946488d21e26c28756b", "score": "0.64261377", "text": "public String getHost()\n\t{\n\t\tint i = origin.indexOf('@');\n\t\tif (i > 0)\n\t\t{\n\t\t\treturn origin.substring(i + 1);\n\t\t}\n\t\treturn origin;\n\t}", "title": "" }, { "docid": "d1de5030e717856a0da9d1d51a3cb760", "score": "0.6417998", "text": "java.lang.String getLoginHost();", "title": "" }, { "docid": "9ace57e64beef7c1451833adf8f07cfa", "score": "0.6398204", "text": "String getHostNumber();", "title": "" }, { "docid": "108af6c1218ac9eb7430cfb9a3b2d0f1", "score": "0.63761723", "text": "String hostname();", "title": "" }, { "docid": "108af6c1218ac9eb7430cfb9a3b2d0f1", "score": "0.63761723", "text": "String hostname();", "title": "" }, { "docid": "433b743cb7bd163257a48e9a82375240", "score": "0.6374633", "text": "abstract public String getHost();", "title": "" }, { "docid": "f07a06902ca699493d3e115b26099189", "score": "0.6360381", "text": "private static String getHostFull(SocketChannel client) {\r\n\t\tif(!allowDNSAccess) return getHostAddress(client);\r\n\t\ttry {\r\n\t\t\treturn getHostName(client) + \" (\" + getHostAddress(client) + \")\";\r\n\t\t} catch (Exception e) {}\r\n\t\treturn \"\";\r\n\t}", "title": "" }, { "docid": "e6e896d7798b83612be5612824d96ea7", "score": "0.63340175", "text": "public String getHost() {\n return longToIP(address);\n }", "title": "" }, { "docid": "1156bc5a69ac0d4ec37ed3f0fd65b982", "score": "0.6333916", "text": "public static String formatAddress(String host, Integer port) {\n return host.contains(\":\")\n ? \"[\" + host + \"]:\" + port // IPv6\n : host + \":\" + port;\n }", "title": "" }, { "docid": "3d2f408f27fe8cc9ea95bb512a4d1377", "score": "0.6291491", "text": "public java.lang.CharSequence getHost() {\n return host;\n }", "title": "" }, { "docid": "e9cb9bf360d2d530d6bf23d184148c56", "score": "0.62764496", "text": "java.lang.String getHostname();", "title": "" }, { "docid": "81e99069f066f184f85ca6498a1465cd", "score": "0.624807", "text": "private String getHostname() {\n\t\tString host = \"\";\n\t\ttry {\n\t\t\tSocket s = new Socket(\"www.google.com\", 80);\n\t\t\thost = s.getLocalAddress().getHostAddress();\n\t\t}\n\t\tcatch (UnknownHostException e) {\n\t\t\tLoggerUtil.getLogger().warning(\"Could not determine host: \" + e);\n\t\t}\n\t\tcatch (IOException e) {\n\t\t\tLoggerUtil.getLogger().warning(e.toString());\n\t\t}\n\t\t\n\t\tLoggerUtil.getLogger().config(\"Determined host: \" + host);\n\t\treturn host;\n\t}", "title": "" }, { "docid": "67925850d016c1ca3d952cf12af34901", "score": "0.6239405", "text": "Optional<String> publicHost();", "title": "" }, { "docid": "a4954e4deaebb863acb19d0c04fd359f", "score": "0.6211671", "text": "public java.lang.CharSequence getHost() {\n return host;\n }", "title": "" }, { "docid": "449b5ee3983d377cda59f951a6e88731", "score": "0.6162194", "text": "Host getHost();", "title": "" }, { "docid": "6b6d258cd6d07b9c994ab4f6800bc5c6", "score": "0.6120998", "text": "public String getHost() {\n/* 829 */ return this.host;\n/* */ }", "title": "" }, { "docid": "ada33744db83d54270ec60538018d3f4", "score": "0.6110119", "text": "public String toString(){\n return (address.getHostName().trim() + \" \" + Integer.toString(portNumber).trim());\n }", "title": "" }, { "docid": "9742a6f008582bd82dcd81807e5b364b", "score": "0.609475", "text": "public java.lang.String getHost() {\n java.lang.Object ref = host_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n host_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "93f202081acbe6eb3d5cb652b5f95225", "score": "0.60848546", "text": "public java.lang.String getLoginHost() {\n java.lang.Object ref = loginHost_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n loginHost_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "3de6ff353f2576da5f58d2c8c8adc3b8", "score": "0.60811734", "text": "String getHost() {\n/* 2881 */ return this.host;\n/* */ }", "title": "" }, { "docid": "4c03ead29dafb352bb2aba5b57102e33", "score": "0.6071827", "text": "public String getHostName();", "title": "" }, { "docid": "4c03ead29dafb352bb2aba5b57102e33", "score": "0.6071827", "text": "public String getHostName();", "title": "" }, { "docid": "2680a1a86ba7cf97d85adcb30ea98e0a", "score": "0.6045309", "text": "public java.lang.String getLoginHost() {\n java.lang.Object ref = loginHost_;\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 loginHost_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "3168cdfa3d70d071d0a78c3647693c44", "score": "0.6036606", "text": "Optional<String> host();", "title": "" }, { "docid": "9b707f25d1ae640b071ffaabcfd6396d", "score": "0.60182077", "text": "String getHostname();", "title": "" }, { "docid": "9b707f25d1ae640b071ffaabcfd6396d", "score": "0.60182077", "text": "String getHostname();", "title": "" }, { "docid": "47968df3c16e6daa81310eb1af03d4e7", "score": "0.60121405", "text": "public java.lang.String getHost()\n {\n return host;\n }", "title": "" }, { "docid": "2e879382b6383a12c8c9c90b652ec42f", "score": "0.5989541", "text": "public java.lang.String getHost () {\n\t\treturn host;\n\t}", "title": "" }, { "docid": "9f65c94040e85d74bc540db78fad36ab", "score": "0.59875005", "text": "public java.lang.String getHost() {\n java.lang.Object ref = host_;\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 host_ = s;\n return s;\n }\n }", "title": "" }, { "docid": "0312aaaa1306a24c163129ca0113d300", "score": "0.59710205", "text": "@Override\n\tpublic String toString() {\n\t\treturn String.format(\"[%s]:%d\", address.getHostAddress(), port);\n\t}", "title": "" }, { "docid": "94452cd480e890ae59c79a2dd1e82ace", "score": "0.5956419", "text": "public String getHost() {\n\t\treturn hostField.getText();\n\t}", "title": "" }, { "docid": "2b8505f4da1d07ea925420aea747e71f", "score": "0.59412", "text": "public static String getSimpleHostName() {\r\n\treturn hostname;\r\n\t}", "title": "" }, { "docid": "8841cdb4b6f7bfc632cbb4817d1c9536", "score": "0.5939167", "text": "private String getServerHost()\r\n {\r\n return JOptionPane.showInputDialog(this, \r\n \"Enter the server hostname/IP\", \r\n \"Server host\", \r\n JOptionPane.QUESTION_MESSAGE);\r\n }", "title": "" }, { "docid": "7f20a051676744fb3d723a729c74ccf2", "score": "0.5935809", "text": "public java.lang.String getHost()\n {\n return host;\n }", "title": "" }, { "docid": "48034d7761b9305a089b505f2fa13837", "score": "0.5932457", "text": "public String getHost()\n\t{\n\t\treturn getProp(\"host\");\n\t}", "title": "" }, { "docid": "8a3834bffd30f0b65c2651f92fb32e71", "score": "0.589853", "text": "public String getHostName() {\n\t//\t/*DEBUG*/ try {throw new Exception(); } catch(Exception ex) {ex.printStackTrace();}\n\tif(hostname==null)\n\t hostname=DEFAULT_HOSTNAME;\n\treturn hostname;\n }", "title": "" }, { "docid": "71026a9bee23a75a7002c7fae2baf2c9", "score": "0.58827406", "text": "public String getHost()\n {\n return host;\n }", "title": "" }, { "docid": "8eb4d937452de98a3d115d83d374fa6d", "score": "0.5853084", "text": "public synchronized final String getHost() {\n if (host == null) {\n if (getEndpointAddress() != null && \n !getEndpointAddress().isUnresolved()) {\n host = getEndpointAddress().getHostName();\n }\n\n if (host == null && httpURI != null) {\n try {\n host = (new URL(httpURI)).getHost();\n } catch (MalformedURLException e) {\n logger.debug(\"Malformed URL\", e);\n }\n }\n }\n\n return host;\n }", "title": "" }, { "docid": "4a0820dce24593c0ec841304d5d99078", "score": "0.5834984", "text": "public String getHost() {\n return host;\n }", "title": "" }, { "docid": "1d265c2e576403413b64b723b7348620", "score": "0.583421", "text": "public String getHost() {\n return this.host;\n }", "title": "" }, { "docid": "28feb2fe9173852e94294347849f4b38", "score": "0.5822699", "text": "protected String getHost() {\n return this.host;\n }", "title": "" }, { "docid": "215e184ca495a417e6351cda7cdd4058", "score": "0.57986754", "text": "public synchronized String getLocalHost() {\n if (this.localHostName == null || this.localHostName.length() <= 0) {\n this.localHostName = this.props.getProperty(this.prefix + \".localhost\");\n }\n if (this.localHostName == null || this.localHostName.length() <= 0) {\n this.localHostName = this.props.getProperty(this.prefix + \".localaddress\");\n }\n try {\n if (this.localHostName == null || this.localHostName.length() <= 0) {\n InetAddress localHost = InetAddress.getLocalHost();\n this.localHostName = localHost.getCanonicalHostName();\n if (this.localHostName == null) {\n this.localHostName = \"[\" + localHost.getHostAddress() + \"]\";\n }\n }\n } catch (UnknownHostException e) {\n }\n if ((this.localHostName == null || this.localHostName.length() <= 0) && this.socket != null && this.socket.isBound()) {\n InetAddress localHost2 = this.socket.getLocalAddress();\n this.localHostName = localHost2.getCanonicalHostName();\n if (this.localHostName == null) {\n this.localHostName = \"[\" + localHost2.getHostAddress() + \"]\";\n }\n }\n return this.localHostName;\n }", "title": "" }, { "docid": "b9fb76ad5706acc9b76270aee4a17c0f", "score": "0.57957226", "text": "private static String getHostOfUrl(final String url) throws NamingException {\n String host = null;\n // this would be simpler with a regexp :)\n try {\n // url is of the form protocol://<hostname>:<port>\n String[] tmpSplitStr = url.split(\":\");\n\n // array should be of length = 3\n // get 2nd element (should be //<hostname>)\n String tmpHost = tmpSplitStr[1];\n\n // remove //\n String[] tmpSplitHost = tmpHost.split(\"/\");\n\n // Get last element of the array to get hostname\n host = tmpSplitHost[tmpSplitHost.length - 1];\n } catch (Exception e) {\n // don't rethrow original exception. only URL name is important\n throw new NamingException(\"Invalid URL '\" + url + \"'. It should be on the format <protocol>://<hostname>:<port>\");\n }\n return host;\n }", "title": "" }, { "docid": "cf808e9a7eada710ad5072893d6b6250", "score": "0.57868814", "text": "java.lang.String getAddr();", "title": "" }, { "docid": "df45529fbc01f3f33b29a741ebd4bce5", "score": "0.57845825", "text": "public String getHost() {\n return m_host;\n }", "title": "" }, { "docid": "df45529fbc01f3f33b29a741ebd4bce5", "score": "0.57845825", "text": "public String getHost() {\n return m_host;\n }", "title": "" }, { "docid": "42952bda8a89a9230fa86ca6d9b9c7b1", "score": "0.5778878", "text": "public String host() {\n return host;\n }", "title": "" }, { "docid": "56343597f5143710f8abc25c93c86960", "score": "0.57699054", "text": "public String getHost() {\n return this.host;\n }", "title": "" }, { "docid": "244b5048dedda6225095999508d65ab0", "score": "0.57625425", "text": "String getServerAddress();", "title": "" }, { "docid": "3eef84cf3cace1d4c9cb87ad49302aff", "score": "0.5753041", "text": "public String getHost() {\n\t\treturn host;\n\t}", "title": "" }, { "docid": "3eef84cf3cace1d4c9cb87ad49302aff", "score": "0.5753041", "text": "public String getHost() {\n\t\treturn host;\n\t}", "title": "" }, { "docid": "3eef84cf3cace1d4c9cb87ad49302aff", "score": "0.5753041", "text": "public String getHost() {\n\t\treturn host;\n\t}", "title": "" }, { "docid": "3eef84cf3cace1d4c9cb87ad49302aff", "score": "0.5753041", "text": "public String getHost() {\n\t\treturn host;\n\t}", "title": "" }, { "docid": "3eef84cf3cace1d4c9cb87ad49302aff", "score": "0.5753041", "text": "public String getHost() {\n\t\treturn host;\n\t}", "title": "" }, { "docid": "2a4a0625f42ab1dbfe097c4ef4db2ee7", "score": "0.5751662", "text": "public String getHost() {\n return host;\n }", "title": "" }, { "docid": "2a4a0625f42ab1dbfe097c4ef4db2ee7", "score": "0.5751662", "text": "public String getHost() {\n return host;\n }", "title": "" }, { "docid": "2a4a0625f42ab1dbfe097c4ef4db2ee7", "score": "0.5751662", "text": "public String getHost() {\n return host;\n }", "title": "" }, { "docid": "2a4a0625f42ab1dbfe097c4ef4db2ee7", "score": "0.5751662", "text": "public String getHost() {\n return host;\n }", "title": "" }, { "docid": "2a4a0625f42ab1dbfe097c4ef4db2ee7", "score": "0.5751662", "text": "public String getHost() {\n return host;\n }", "title": "" }, { "docid": "df1d261a5fa3050a706f82d895dfa6ce", "score": "0.5740196", "text": "public static String getHostName() {\n String hostName = \"N/A\";\n try {\n hostName = InetAddress.getLocalHost().getHostName();\n } catch (UnknownHostException e) {\n\n }\n return hostName;\n }", "title": "" }, { "docid": "1d4370c82999fc4a44ba1fc450a8dae2", "score": "0.5707374", "text": "public String getHost() {\n return mHost;\n }", "title": "" }, { "docid": "d545266498cd8154ef2614e06b04ebf0", "score": "0.57037616", "text": "public String getHost() {\n return _theHost;\n }", "title": "" }, { "docid": "bf3eff8083bc7cf5ff17003773c9c126", "score": "0.5667157", "text": "@VisibleForTesting\n public String getHostName() {\n if (omRequest.hasUserInfo()) {\n return omRequest.getUserInfo().getHostName();\n } else {\n return null;\n }\n }", "title": "" }, { "docid": "ac406f5ed088dc2da6f9dbe2b758e72c", "score": "0.5662486", "text": "private String normalizeDualInetAddress(DualInetAddress host) {\n if (!host.hasInet4() && !host.hasInet6()) {\n return null;\n }\n if (host.hasInet4() && host.hasInet6()) {\n StringBuilder sb = new StringBuilder();\n sb.append(host.getInet4()).append(BackupConstants.HOSTS_IP_DELIMITER)\n .append(\"[\").append(host.getInet6()).append(\"]\");\n return sb.toString();\n } else if (host.hasInet4()) {\n return host.getInet4();\n } else {\n StringBuilder sb = new StringBuilder();\n sb.append(\"[\").append(host.getInet6()).append(\"]\");\n return sb.toString();\n }\n }", "title": "" }, { "docid": "18f10b6c1c5112208cd3786764671eb4", "score": "0.565586", "text": "@Override\n public String getHostIP() {\n return hostIP;\n }", "title": "" }, { "docid": "0d107fb2d3606747525b501ce177bc6a", "score": "0.565371", "text": "public String getHost() {\n return this.Host;\n }", "title": "" }, { "docid": "25efa624c74b0350b53535210fc0e531", "score": "0.56241196", "text": "private String getHostIP() {\n try {\n for (Enumeration<NetworkInterface> en = NetworkInterface.getNetworkInterfaces(); en\n .hasMoreElements();) {\n NetworkInterface intf = en.nextElement();\n\n for (Enumeration<InetAddress> ipAddr = intf.getInetAddresses(); ipAddr\n .hasMoreElements();) {\n InetAddress inetAddress = ipAddr.nextElement();\n if (!inetAddress.isLoopbackAddress()) {\n return inetAddress.getHostAddress();\n }\n }\n }\n } catch (SocketException e) {\n e.printStackTrace();\n }\n return null;\n }", "title": "" }, { "docid": "e638b042f8d77bb30bde66f7f48e9cad", "score": "0.562331", "text": "public String getHostName() { return hostName; }", "title": "" }, { "docid": "cb8fcd5671bab74949841ade3d004538", "score": "0.561968", "text": "private String getLoginHost(Activity activity) {\n SharedPreferences prefs = activity.getSharedPreferences(PREFS_KEY, Context.MODE_PRIVATE);\n return prefs.getString(CONFIGURATION_LOGIN_HOST, getLoginHostFromAppRestrictions(activity));\n }", "title": "" }, { "docid": "f78bfd060ade68617c1d977a89a544e3", "score": "0.5618962", "text": "private String getHostname() throws UnknownHostException {\n\t\treturn InetAddress.getLocalHost().getHostName();\n\t}", "title": "" }, { "docid": "0201756b84dd86865f15b01015c5d45e", "score": "0.5608021", "text": "public String getHostName()\n {\n return _hostName;\n }", "title": "" }, { "docid": "397a2ceabce1f3a785b49de30317ca41", "score": "0.55892646", "text": "public Pattern getHost() {\n return host;\n }", "title": "" }, { "docid": "77cf277b47a05f2c1d585989b26e9d2b", "score": "0.5587494", "text": "private String getSystemHostName()\n\t{\n\t\tif (EventUtils.isEmptyOrNull(systemHostName)) {\n\t\t\ttry {\n\t\t\t\tsystemHostName = InetAddress.getLocalHost().getHostName();\n\t\t\t} catch (Throwable t) {\n\t\t\t\tsystemHostName = \"localhost\";\n\t\t\t}\n\t\t}\n\t\treturn systemHostName;\n\t}", "title": "" }, { "docid": "b5d92685a3593b4f0b833662cd1d615c", "score": "0.5559845", "text": "@Override\n public String getName() {\n return hostInfo_.getName() + \":\" + hostInfo_.getPort();\n }", "title": "" }, { "docid": "dd5b8ea78e0260170a3e901467fe6432", "score": "0.5555265", "text": "private static String m2470a() {\n String defaultHost;\n try {\n defaultHost = android.net.Proxy.getDefaultHost();\n } catch (Throwable th) {\n BasicLogHandler.m2542a(th, \"ProxyUtil\", \"getDefHost\");\n defaultHost = null;\n }\n if (defaultHost == null) {\n return SafeJsonPrimitive.NULL_STRING;\n }\n return defaultHost;\n }", "title": "" }, { "docid": "b4176958c04e7864a5447b84a93f41c5", "score": "0.5552048", "text": "public String getRemoteHost() {\n if(remoteHost != null && remoteHost.length() != 0)\n return remoteHost;\n\n try{\n remoteHost = InetAddress.getByName(remoteAddr).getHostName();\n }catch(Exception e){\n // If anything went wrong then fall back to using the remote hosts IP address\n remoteHost = remoteAddr;\n }\n\n return remoteHost;\n }", "title": "" }, { "docid": "e93bcd08127507bfafd3adc94a41b19c", "score": "0.5539898", "text": "public String getDestHost() {\n return getString(\"destHost\", null);\n }", "title": "" }, { "docid": "6ec6b9e29e10898e82840df85671903b", "score": "0.5532831", "text": "String getKnownHostsFile();", "title": "" }, { "docid": "0874cde7542c34c61604784d3c2baa86", "score": "0.5511224", "text": "public String getHostPort() {\n return host + \":\" + port;\n }", "title": "" }, { "docid": "09603e588c7953f25f56b5895ecc8f46", "score": "0.55108535", "text": "public String hostName() {\n if (_hostName == null) {\n try {\n _hostName = java.net.InetAddress.getLocalHost().getHostName();\n } catch (java.net.UnknownHostException ehe) {\n log.warn(\"Caught unknown host exception.\", ehe);\n _hostName = \"UnknownHost\";\n }\n }\n return _hostName;\n }", "title": "" }, { "docid": "ec1b4299cfef940a25e2f0c15e6c5ddb", "score": "0.55009055", "text": "public String getSSDPHost() {\n\t\treturn host;\n\t}", "title": "" }, { "docid": "f8539c80b6c66797f83d07a0a99b5ff9", "score": "0.5491392", "text": "@Nullable\n String getHostname();", "title": "" }, { "docid": "a334ada506f6b5123c8efd24dd9b3fbe", "score": "0.54859585", "text": "java.lang.String getHostNameOfQm();", "title": "" }, { "docid": "3b3d0caee39050e98ef112262170dcef", "score": "0.5479566", "text": "public static String getHostAddress() {\n\t\treturn VM_NETADDR;\n\t}", "title": "" }, { "docid": "57f67e85779db7ac3effd88e5768a7ef", "score": "0.5476", "text": "protected static synchronized String getPidHost(String pid) {\n Set<String> keys = SnappyBB.getBB().getSharedMap().getMap().keySet();\n String pidHost = null;\n for (String key : keys) {\n if (key.startsWith(\"host\") && key.contains(pid)) {\n pidHost = (String) SnappyBB.getBB().getSharedMap().getMap().get(key);\n }\n }\n Log.getLogWriter().info(\"PID Host for : \" + pid + \" : \" + pidHost);\n return pidHost;\n }", "title": "" }, { "docid": "627e7552a00aa72a880ab45301d77474", "score": "0.5467953", "text": "String getUserIpAddress();", "title": "" }, { "docid": "d0ddf474c558b829c8e2ccd122244720", "score": "0.54627925", "text": "public interface HostUtils {\n public default String getHostName() throws UnknownHostException{\n InetAddress localMachine = InetAddress.getLocalHost();\n return localMachine.getHostName();\n }\n}", "title": "" }, { "docid": "345bbe4d6de39ea1b33efa95438fd438", "score": "0.54590243", "text": "public String getAdress() {\n\t\ttry {\n\t\t\treturn serverSocket.getInetAddress().getLocalHost().getLoopbackAddress().getHostAddress();\n\t\t}\n\t\tcatch(UnknownHostException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn \"Brak połączenia z siecią\";\n\t\t\n\t}", "title": "" }, { "docid": "a7d996457ac4b02b5ce5add7b5eef807", "score": "0.5454644", "text": "public static String extractHostName(String remaining) {\n int index = remaining.indexOf(':');\n if (index != -1) {\n return remaining.substring(0, index);\n } else {\n return VertxWebsocketConstants.DEFAULT_VERTX_SERVER_HOST;\n }\n }", "title": "" }, { "docid": "93d98415f2257bf84c82513a15219edc", "score": "0.54517204", "text": "public String getHostName(){\n return hostName_;\n }", "title": "" } ]
012bb22e2544185462ad720b9c062508
Spring Data Elasticsearch repository for the Script entity.
[ { "docid": "084e4931b086cf2bf17d5e9f72a32313", "score": "0.79986393", "text": "public interface ScriptSearchRepository extends ElasticsearchRepository<Script, Long> {\n}", "title": "" } ]
[ { "docid": "821be732b0c797ed38e33254873b6ab9", "score": "0.67494017", "text": "public interface ShiftSearchRepository extends ElasticsearchRepository<Shift, Long> {\n}", "title": "" }, { "docid": "d19c0ef46c6dcbe28f14ff225959ae61", "score": "0.67235345", "text": "public interface AssetSearchRepository extends ElasticsearchRepository<Asset, Long> {\n}", "title": "" }, { "docid": "4ab64c248dcdd76d8d8bca1d56c6285c", "score": "0.6521566", "text": "public interface EmpresaSearchRepository extends ElasticsearchRepository<Empresa, Long> {\n}", "title": "" }, { "docid": "e4b2ab22b77f37c4c540f6905c98a805", "score": "0.65070164", "text": "public interface CashBookSearchRepository extends ElasticsearchRepository<CashBook, Long> {\n}", "title": "" }, { "docid": "3eb55dcf2ab199a6d44460646b71dfbe", "score": "0.6491901", "text": "public interface OpportunitySearchRepository extends ElasticsearchRepository<Opportunity, Long> {\n}", "title": "" }, { "docid": "d624bc7cb39ec965f431606a4f9811c0", "score": "0.64827526", "text": "public interface ComponentSearchRepository extends ElasticsearchRepository<Component, Long> {\n}", "title": "" }, { "docid": "d0643993141c40aa96854c04125acbb8", "score": "0.64486", "text": "public interface CampSearchRepository extends ElasticsearchRepository<Camp, Long> {\n}", "title": "" }, { "docid": "a741d475c4bcc7666d323c0ae5a178df", "score": "0.64428455", "text": "public interface ItemSearchRepository extends ElasticsearchRepository<Item, Long> {\n}", "title": "" }, { "docid": "a1d0250a75f9b77dedb279bf097852fd", "score": "0.6439597", "text": "public interface SkillQuestionSearchRepository extends ElasticsearchRepository<SkillQuestion, Long> {\n}", "title": "" }, { "docid": "cf272d570627026cb01f608249202577", "score": "0.64294314", "text": "public interface ModuleSearchRepository extends ElasticsearchRepository<Module, Long> {\n}", "title": "" }, { "docid": "eed38afad8379015d447914f9bd9127b", "score": "0.6395328", "text": "public interface FuncaoTransacaoSearchRepository extends ElasticsearchRepository<FuncaoTransacao, Long> {\n}", "title": "" }, { "docid": "d12a6b0f3c5a2157e75bd2345432d3af", "score": "0.63870066", "text": "public interface AdministradorSearchRepository extends ElasticsearchRepository<Administrador, Long> {\n}", "title": "" }, { "docid": "3f6f8ce0b1136a861fd3c9964d6fd470", "score": "0.6379151", "text": "public interface TradeSearchRepository extends ElasticsearchRepository<Trade, Long> {\n}", "title": "" }, { "docid": "7e053d227f48bca977db66ebffba62b2", "score": "0.6365567", "text": "public interface StoreIndexRepository extends ElasticsearchRepository<Store, Long> {\n}", "title": "" }, { "docid": "2e0df83d1da198c2d0e6f45dd7254cdb", "score": "0.6357886", "text": "public interface TimersSearchRepository extends ElasticsearchRepository<Timers, Long> {\n}", "title": "" }, { "docid": "87b93cfb1de6061d272ebdf455632f95", "score": "0.6351951", "text": "public interface StatusColumnValueSearchRepository extends ElasticsearchRepository<StatusColumnValue, Long> {\n}", "title": "" }, { "docid": "ac684f63e5a55a9c71cc2fb91a507dab", "score": "0.63461494", "text": "public interface ProductInBucketSearchRepository extends ElasticsearchRepository<ProductInBucket, Long> {\n}", "title": "" }, { "docid": "29663380de8be6b07c6a0655f29d9da5", "score": "0.6340505", "text": "public interface CompteSearchRepository extends ElasticsearchRepository<Compte, Long> {\n}", "title": "" }, { "docid": "bf74412ccb688b0ab2442a5d3b0a9553", "score": "0.6326736", "text": "public interface AirlineSearchRepository extends ElasticsearchRepository<Airline, Long> {\n}", "title": "" }, { "docid": "44664a98d1be23e7736125d25b7da99f", "score": "0.6319631", "text": "public interface SystemConfigurationSearchRepository extends ElasticsearchRepository<SystemConfiguration, Long> {\n}", "title": "" }, { "docid": "d25e4e01bcc55f680eb610bf81c0a9d6", "score": "0.6306257", "text": "@Component\npublic interface DataDictRepository extends ElasticsearchRepository<TDataDict, Long> {\n}", "title": "" }, { "docid": "04b0c89c0a14a93d90a96a348cd38212", "score": "0.62979853", "text": "public interface PfmsEmpMonthlyAdjSearchRepository extends ElasticsearchRepository<PfmsEmpMonthlyAdj, Long> {\n}", "title": "" }, { "docid": "195ea46c3bac9b799239b7972972a4aa", "score": "0.626924", "text": "public interface PassengerSearchRepository extends ElasticsearchRepository<Passenger, Long> {\n}", "title": "" }, { "docid": "2bd8a5bcb0ed4402f696ad8ef113e664", "score": "0.62675023", "text": "public interface ProductoSearchRepository extends ElasticsearchRepository<Producto, Long> {\n}", "title": "" }, { "docid": "36038b632f12ebc3ea613a5c51a25eab", "score": "0.6266527", "text": "public interface TestDtoServiceSearchRepository extends ElasticsearchRepository<TestDtoService, Long> {\n}", "title": "" }, { "docid": "34fc27e956d36711079af0b50587aaa8", "score": "0.62504613", "text": "public interface DepartmentSearchRepository extends ElasticsearchRepository<Department, String> {\n}", "title": "" }, { "docid": "20975442ebfea5f9cd9a58249c9ebaf8", "score": "0.62308735", "text": "public interface BandSearchRepository extends ElasticsearchRepository<Band, Long> {\n}", "title": "" }, { "docid": "70ea20988e56f52119819c91c4d39809", "score": "0.62307125", "text": "public interface NurseSearchRepository extends ElasticsearchRepository<Nurse, Long> {\n}", "title": "" }, { "docid": "84d98080f217752a383c0f4afdfe2f55", "score": "0.622885", "text": "public interface AuthorizationSetLinkSearchRepository extends ElasticsearchRepository<AuthorizationSetLink, Long> {\n}", "title": "" }, { "docid": "97e16b551a8df1a514783da6b70aef18", "score": "0.62230617", "text": "public interface OperantSearchRepository extends ElasticsearchRepository<Operant, Long> {\n}", "title": "" }, { "docid": "1f09ce988e96c07d7fc45cc7c74e97a2", "score": "0.61996335", "text": "public interface OfferingDeliveryInfoSearchRepository extends ElasticsearchRepository<OfferingDeliveryInfo, Long> {\n}", "title": "" }, { "docid": "88bec984a2d2a57f6939b73b2d108804", "score": "0.6198744", "text": "public interface WordSearchRepository extends ElasticsearchRepository<Word, Long> {\n}", "title": "" }, { "docid": "b85e2cc8824e3137b5efd2fbdaa493d5", "score": "0.61925954", "text": "public interface KeyWordRepository extends ElasticsearchRepository<KeyWord, String> {\n\n}", "title": "" }, { "docid": "812d899090cde264a4bb73978964f262", "score": "0.61923915", "text": "public interface ResponseChoiceSearchRepository extends ElasticsearchRepository<ResponseChoice, Long> {\n}", "title": "" }, { "docid": "b19518ca7851387dc61353525ea40876", "score": "0.6188447", "text": "public interface BorrowerSearchRepository extends ElasticsearchRepository<Borrower, Long> {\n}", "title": "" }, { "docid": "4ad6862352f75d7ac882180a10f7af68", "score": "0.6178058", "text": "public interface BidSearchRepository extends ElasticsearchRepository<Bid, Long> {\n}", "title": "" }, { "docid": "8eca974263eb968784c95e975a124bdf", "score": "0.6171568", "text": "public interface Sustancia_activa_europaSearchRepository extends ElasticsearchRepository<Sustancia_activa_europa, Long> {\n}", "title": "" }, { "docid": "53c917eb0672b1247d9ff06fd729348c", "score": "0.6171137", "text": "public interface DevisSearchRepository extends ElasticsearchRepository<Devis, Long> {\n}", "title": "" }, { "docid": "3866204e2b5441119efcf5938efa03b0", "score": "0.6165895", "text": "public interface FieldSearchRepository extends ElasticsearchRepository<Field, Long> {\n}", "title": "" }, { "docid": "f4b818767edaf767271d27ead5d44d61", "score": "0.61411405", "text": "public interface BankAccountSearchRepository extends ElasticsearchRepository<BankAccount, Long> {\n}", "title": "" }, { "docid": "2268793eca54fd47a868529322e17ea3", "score": "0.6129806", "text": "public interface SensorDeviceSearchRepository extends ElasticsearchRepository<SensorDevice, Long> {\n}", "title": "" }, { "docid": "ed06f874743f955c9d995f35b59e3df8", "score": "0.61248225", "text": "public interface MateriaSearchRepository extends ElasticsearchRepository<Materia, Long> {\n}", "title": "" }, { "docid": "6db582cd46274963101668314d019fda", "score": "0.6096217", "text": "public interface BlockSearchRepository extends ElasticsearchRepository<Block, Long> {\n}", "title": "" }, { "docid": "3a09a750d3e34f29ff23df55f4fc81a6", "score": "0.60950214", "text": "public interface BenefitSearchRepository extends ElasticsearchRepository<Benefit, Long> {\n}", "title": "" }, { "docid": "a7f87059fa24bb1581cd4c418f9e0da0", "score": "0.6091841", "text": "public interface MovieSearchRepository extends ElasticsearchRepository<Movie, Long> {\n}", "title": "" }, { "docid": "6f21724099a23c1b989717b9a351743d", "score": "0.6091011", "text": "public interface EsInternalCompaniesRepository extends ElasticsearchRepository<SearchableEntity, Integer> {\n SearchableEntity findById(Integer id);\n}", "title": "" }, { "docid": "3eddef6980d53620a55fa0ae5490e615", "score": "0.6076565", "text": "public interface RisNewAppFormTwoSearchRepository extends ElasticsearchRepository<RisNewAppFormTwo, Long> {\n}", "title": "" }, { "docid": "e91c4ed144cee9d0cd0554306594bd48", "score": "0.60596716", "text": "public interface OrganizerSearchRepository extends ElasticsearchRepository<Organizer, Long> {\n}", "title": "" }, { "docid": "1c5361f7468842011e1d98eef5034389", "score": "0.6053164", "text": "public interface EmployeeLoanCheckRegisterSearchRepository extends ElasticsearchRepository<EmployeeLoanCheckRegister, Long> {\n}", "title": "" }, { "docid": "354230beac6773ddacbffbd83d93961e", "score": "0.6040448", "text": "public interface ContactRepository extends ElasticsearchRepository<Contact, String> {\n\n /**\n * Find by company list.\n *\n * @param company the company\n * @return the list\n */\n List<Contact> findByCompany(String company);\n Page<Contact> findAll(Pageable pageable);\n}", "title": "" }, { "docid": "a48bfda6bf73dcbd1fae737ebe67633f", "score": "0.6040306", "text": "public interface RefNatureContratSearchRepository extends ElasticsearchRepository<RefNatureContrat, Long> {\n}", "title": "" }, { "docid": "63e4565363b2e3b0fc06e29be748117c", "score": "0.6016709", "text": "public interface CemeterySearchRepository extends ElasticsearchRepository<Cemetery, Long> {\n}", "title": "" }, { "docid": "00c3dd7ed80022cf4e4378b2c5f88813", "score": "0.60157067", "text": "public interface ImobiliariaSearchRepository extends ElasticsearchRepository<Imobiliaria, Long> {\n}", "title": "" }, { "docid": "9a91ae88dd1c703f6fde66d608ca0d28", "score": "0.60094243", "text": "public interface UsuarioExtraSearchRepository extends ElasticsearchRepository<UsuarioExtra, Long> {\n}", "title": "" }, { "docid": "47a2929a65c73cd0533c0fc2a495c148", "score": "0.60060585", "text": "public interface UserSearchRepository extends ElasticsearchRepository<User, Long> {\n}", "title": "" }, { "docid": "47a2929a65c73cd0533c0fc2a495c148", "score": "0.60060585", "text": "public interface UserSearchRepository extends ElasticsearchRepository<User, Long> {\n}", "title": "" }, { "docid": "47a2929a65c73cd0533c0fc2a495c148", "score": "0.60060585", "text": "public interface UserSearchRepository extends ElasticsearchRepository<User, Long> {\n}", "title": "" }, { "docid": "47a2929a65c73cd0533c0fc2a495c148", "score": "0.60060585", "text": "public interface UserSearchRepository extends ElasticsearchRepository<User, Long> {\n}", "title": "" }, { "docid": "1c331c05a99671b223d38881e23772a2", "score": "0.5983092", "text": "public interface FavouriteProductSearchRepository extends ElasticsearchRepository<FavouriteProduct, Long> {\n}", "title": "" }, { "docid": "e3f7c08c5af6ff6240dc2f195ab1e5c1", "score": "0.59795606", "text": "public interface DegaUserSearchRepository extends ElasticsearchRepository<DegaUser, String> {\n}", "title": "" }, { "docid": "71459d1548d55580242256491942d1f1", "score": "0.5923832", "text": "public interface ElectionTypeSearchRepository extends ElasticsearchRepository<ElectionType, Long> {\n}", "title": "" }, { "docid": "4004ab07d8db2cd287c4a3789eec48f4", "score": "0.5921938", "text": "public interface GenreSearchRepository extends ElasticsearchRepository<Genre, Long> {\n}", "title": "" }, { "docid": "730d52ac10d622af3ea54a15afe8b738", "score": "0.58560646", "text": "public interface GroupeUserSearchRepository extends ElasticsearchRepository<GroupeUser, Long> {\n}", "title": "" }, { "docid": "a7bb96fd8a748a551320793da04415d1", "score": "0.58349144", "text": "public interface FollowingListSearchRepository extends ElasticsearchRepository<FollowingList, Long> {\n}", "title": "" }, { "docid": "670494148ff321ae5368ddae554d7792", "score": "0.5822437", "text": "public interface OrgUnitLevelSearchRepository extends ElasticsearchRepository<OrgUnitLevel, Long> {\n}", "title": "" }, { "docid": "e3c03b3e21f1eeebc15dc2751378e18a", "score": "0.57501215", "text": "public interface HiringContactInternalCommentSearchRepository extends ElasticsearchRepository<HiringContactInternalComment, Long> {\n}", "title": "" }, { "docid": "2ee034c288aabc2a6364a63848579151", "score": "0.573261", "text": "public interface UniversityRepository extends ElasticsearchRepository<UniversityItem, Integer> {\n List<UniversityItem> findByNameLikeOrderById(String name);\n}", "title": "" }, { "docid": "233843c973bfe68890c3653d86bb1b11", "score": "0.5704514", "text": "public interface RecruiterSearchRepository extends ElasticsearchRepository<Recruiter, Long> {\n}", "title": "" }, { "docid": "109340dd3566287ceb764869e8e30880", "score": "0.55437756", "text": "@Repository\npublic interface ServiceSlaveRepo extends MongoRepository<ServiceEntity, String> {\n}", "title": "" }, { "docid": "cc55ae13d21c6ae387f637829b43f7ea", "score": "0.5468077", "text": "@Repository\npublic interface DataSourseRepository extends JpaRepository<DataSource, Long> {\n}", "title": "" }, { "docid": "28134f87a247256713d6662bb6862d2b", "score": "0.54337066", "text": "public interface AuthorizedSignatorySearchRepository extends JPASearchRepository<AuthorizedSignatory, Long> {\n}", "title": "" }, { "docid": "a326c3bdc9159e79566ca016e09b27c3", "score": "0.53930247", "text": "public interface AnalyticsProcessorService {\n\n /**\n * Save the script information and the queries in the analytics persistence store.\n * @param tenantId Id of the tenant for which this operation belongs to.\n * @param scriptName Name of the script which needs to be saved.\n * @param scriptContent queries content of the script.\n * @param cronExpression The cron expression to specify the\n * scheduling time interval of the script.\n * @throws AnalyticsPersistenceException\n */\n void saveScript(int tenantId, String scriptName, String scriptContent, String cronExpression)\n throws AnalyticsPersistenceException;\n\n /**\n * Delete the script with provided name, from the analytics store\n * from the provided tenant space.\n *\n * @param tenantId Id of the tenant for which this operation belongs to.\n * @param scriptName Name of the script which needs to be deleted.\n * @throws AnalyticsPersistenceException\n */\n void deleteScript(int tenantId, String scriptName) throws AnalyticsPersistenceException;\n\n /**\n * Update the script information with given details for the specified tenant.\n *\n * @param tenantId Id of the tenant for which this operation belongs to.\n * @param scriptName Name of the script for which the information needs to be updated.\n * @param scriptContent New queries content of the script.\n * @param cronExpression New cron expression of the script.\n * @throws AnalyticsPersistenceException\n */\n void updateScript(int tenantId, String scriptName, String scriptContent, String cronExpression)\n throws AnalyticsPersistenceException;\n\n /**\n * Get all the scripts in the provided tenant space and returns back.\n *\n * @param tenantId Id of the tenant for which this operation belongs to.\n * @return List of Analytics Scripts which will have associated name, queries, and cron expression.\n * @throws AnalyticsPersistenceException\n */\n List<AnalyticsScript> getAllScripts(int tenantId) throws AnalyticsPersistenceException;\n\n /**\n * Get a specific analytics scripts information with given script name in the provided tenant space.\n *\n * @param tenantId Id of the tenant for which this operation belongs to.\n * @param name Name of the script.\n * @return Complete information of the script.\n * @throws AnalyticsPersistenceException\n */\n AnalyticsScript getScript(int tenantId, String name) throws AnalyticsPersistenceException;\n\n /**\n * Execute the script with provided name, in the provided tenant space,\n * and return the results of the execution. This is a asynchronous call,\n * and the thread won't be returned until all it's queries has been executed.\n *\n * @param tenantId Id of the tenant for which this operation belongs to.\n * @param scriptName Name of the script which needs to be executed.\n * @return The Array of result of each queries of the script.\n * @throws AnalyticsExecutionException\n * @throws AnalyticsPersistenceException\n */\n AnalyticsQueryResult[] executeScript(int tenantId, String scriptName) throws AnalyticsExecutionException,\n AnalyticsPersistenceException;\n\n /**\n * Get each queries in the provided scripts content.\n *\n * @param scriptContent Content of the script.\n * @return Each queries existed in the script content.\n */\n String[] getQueries(String scriptContent);\n\n /**\n * Execute the provided single query in the provided tenant space, and return the results back.\n *\n * @param tenantId Id of the tenant for which this operation belongs to.\n * @param query An query which was asked to execute.\n * @return The result returned from the execution of the query.\n * @throws AnalyticsExecutionException\n */\n AnalyticsQueryResult executeQuery(int tenantId, String query) throws AnalyticsExecutionException;\n\n /**\n * Checks whether the analytics execution is enabled for this node.\n *\n * @return\n */\n boolean isAnalyticsExecutionEnabled();\n\n\n /**\n * Checks whether the analytics scheduled task for analytics script is running in background.\n *\n * @return\n */\n boolean isAnalyticsTaskExecuting(String scriptName) throws AnalyticsExecutionException;\n}", "title": "" }, { "docid": "2d27718ad51ce5e164482736d85c5ea4", "score": "0.5337583", "text": "public interface FixtureRepository extends MongoRepository<Fixture,String> {\n\n}", "title": "" }, { "docid": "9a5c30701657615f23eee7864a50e315", "score": "0.53332144", "text": "public interface ClientServiceRepository extends MongoRepository<ClientService, Long>, ClientServiceRepositoryCustom {\n\t\n\t/**\n\t * To find service monitoring entry by host and port fields\n\t * \n\t * @param host the host field\n\t * @param port the port field\n\t * @return service monitoring record\n\t */\n\t@Query(\"{host: '?0', port: ?1}\")\n\tClientService findByHostAndPort(String host, Integer port);\n\t\n}", "title": "" }, { "docid": "fbe64f4abd92547539e76a5b47622203", "score": "0.52901673", "text": "public interface AssetRepo extends MongoRepository<Asset, String> {\n}", "title": "" }, { "docid": "46e18d54684c0f8b9ec833fff25eb211", "score": "0.52613646", "text": "@Repository\npublic interface SequenceRuleLineRepository extends IRepository<SequenceRuleLine, String> {\n\n}", "title": "" }, { "docid": "289444e0d5634e1465f167c9eef7d7d3", "score": "0.5242888", "text": "public interface OutputRepository extends JpaRepository<Output, Long> {\n\n}", "title": "" }, { "docid": "0c9880654857781dbe33f5f27ea4015c", "score": "0.5221569", "text": "@Repository\npublic interface AssetRepo extends JpaRepository<Assets , Long> {\n}", "title": "" }, { "docid": "c0d21c0b001f87d32019feed546ca213", "score": "0.5218921", "text": "public interface RecipeRepository extends MongoRepository<Recipe,String>{\n}", "title": "" }, { "docid": "212e4b1527464a0232e3b860fb7bc9f3", "score": "0.5216818", "text": "public interface CopyRepository extends MongoRepository<Copy,String> {\n\n}", "title": "" }, { "docid": "907a013f1bf5757568bb0e00c5e16930", "score": "0.52147", "text": "@Repository\npublic interface TenderAddOnServiceRepository extends JpaRepository<TenderAddOnService, Integer> {\n\n /**\n * Get tender add on service by tender\n *\n * @param tender\n * @return\n */\n List<TenderAddOnService> findByTender(Tender tender);\n}", "title": "" }, { "docid": "2650bfb262d1cf335b8341c91b082ef7", "score": "0.51914734", "text": "public interface LineRangeRepository extends JpaRepository<LineRangeEntity, String> {\n}", "title": "" }, { "docid": "2aed43fd6ef6ec71da0b6a2764a24249", "score": "0.5187297", "text": "public interface JournalizeCrawlRepository extends JpaRepository<JournalizeCrawl, Long> {\n}", "title": "" }, { "docid": "d9d3382ed28738b1e96f18867c0d672a", "score": "0.5185401", "text": "public interface SourceOverseasSitesRepository extends CrudRepository<SourceOverseasSites, Long>,\n JpaSpecificationExecutor<SourceOverseasSites> {\n}", "title": "" }, { "docid": "e68b93860eea05eb31a9e0ff8df54b3c", "score": "0.5166029", "text": "@Repository\npublic interface FileInfoRepository extends EntityGraphJpaRepository<FileInfo, Long>, EntityGraphQuerydslPredicateExecutor<FileInfo> {\n\n FileInfo findByPath(String path);\n}", "title": "" }, { "docid": "8bcea9ab2d3f1612772f5f75e203fbfb", "score": "0.51614016", "text": "@Transactional\npublic interface DepositOutcomeDocumentRepository extends CrudRepository<DepositOutcomeDocument, Long>, JpaSpecificationExecutor {\n DepositOutcomeDocument findByNum(String num);\n}", "title": "" }, { "docid": "c9da3581ec7db943c5c1f184ed5676b7", "score": "0.516002", "text": "@Repository\npublic interface RoleRepository extends BaseRepository<RoleEntity, String> {\n\n RoleEntity findByRoleId(String role);\n}", "title": "" }, { "docid": "435350aa66c32f7d04619d834f4a0ebb", "score": "0.51477927", "text": "@Repository\npublic interface ProductRepository extends MongoRepository<Product, String> {\n\n}", "title": "" }, { "docid": "48a7fd3c912c3574149034d08d24a7c7", "score": "0.5123684", "text": "@Repository\npublic interface SchedulerRepository extends JpaRepository<Scheduler, Long> {\n}", "title": "" }, { "docid": "b157d8fd2b0ce7e874774a04a1b34b05", "score": "0.5117698", "text": "@Repository\npublic interface EmployeeRepository extends MongoRepository<Employee, String>\n{\n\n}", "title": "" }, { "docid": "1b7726aa27803b8d7f02b34ab8a471ac", "score": "0.5105871", "text": "@SuppressWarnings(\"unused\")\n@Repository\n@JaversSpringDataAuditable\npublic interface ProductRepository extends MongoRepository<Product, String> {\n}", "title": "" }, { "docid": "ed88ee0335afcdeecf57fb8f7092f118", "score": "0.5097125", "text": "public interface ParagraphJpaRepository extends JpaRepository<Paragraph, Long> {\n\n}", "title": "" }, { "docid": "d77ac242dd5236b531ff5d58604fb8b9", "score": "0.5077112", "text": "@RepositoryRestResource\npublic interface SectionRepo extends BaseRepository<Section,String> {\n\n}", "title": "" }, { "docid": "aec1b7e1e474b31b4b6aab9fdaae429a", "score": "0.5071888", "text": "@RepositoryRestResource(collectionResourceRel = \"DataStorage\", path = \"DataStorage\")\npublic interface DataStorageResource extends PagingAndSortingRepository<DataStorage, Long> {\n List<DataStorage> findByTaskId ( @Param(\"taskId\") Long taskId );\n}", "title": "" }, { "docid": "42111cc0649d49dc72dd88d455ec363b", "score": "0.50696754", "text": "public interface AuditRecordRepository extends MongoRepository<AuditRecord, String>, AuditRecordCustomRepository {\n\t\n}", "title": "" }, { "docid": "135aa9f1938aa586026c7c9d8ead43cb", "score": "0.5069058", "text": "public interface TranslationRepository extends MongoRepository<Translation, String> {\n /**\n * Find by key translation.\n *\n * @param key the key\n * @return the translation\n */\n Translation findByKey(String key);\n}", "title": "" }, { "docid": "64a7fecf71deacb6bc6cb885b920dec9", "score": "0.50368834", "text": "@Repository\npublic interface IRepoSalida extends JpaRepository<Salida, Integer> {\n\n}", "title": "" }, { "docid": "36dfa665cc39c33d692c434d5a982cbb", "score": "0.50365233", "text": "public interface AssetsRepository extends CrudRepository<Assets, Integer>\n{\n\n}", "title": "" }, { "docid": "375825e4a6c6cf20f8bee6bf5ab49b0c", "score": "0.5011036", "text": "List<AnalyticsScript> getAllScripts(int tenantId) throws AnalyticsPersistenceException;", "title": "" }, { "docid": "94af5a1059c02c251331c87430831e0a", "score": "0.500313", "text": "public interface IArticleRepository extends IEntityRepository<Article> {\n}", "title": "" } ]
af2ae711914fc2d6012344376fb6d88d
The time that the window first starts. .google.protobuf.Timestamp start_time = 1;
[ { "docid": "be27420918124c1d247aa76cd467e5b8", "score": "0.646845", "text": "com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();", "title": "" } ]
[ { "docid": "18045fee4c25bac1e0324fe6799cec62", "score": "0.72014976", "text": "com.google.protobuf.Timestamp getStartedAt();", "title": "" }, { "docid": "b054e6bef16d1610b14698526fd640e3", "score": "0.7009661", "text": "com.google.protobuf.Timestamp getStartTime();", "title": "" }, { "docid": "143c1254341e8d27f286a8433194baa8", "score": "0.69214326", "text": "long getStartTimestamp();", "title": "" }, { "docid": "2a6983a18b14a78e03506995c61212a4", "score": "0.68045807", "text": "public long getStartStamp ()\n {\n return _startTime;\n }", "title": "" }, { "docid": "c2a7af43e19bf24b82ad0b5d2a8ad3a3", "score": "0.6776061", "text": "int getStartAutoTime();", "title": "" }, { "docid": "84fbff5fd146d62fa9f8a657b93a7235", "score": "0.676217", "text": "public int getStartAutoTime() {\n return startAutoTime_;\n }", "title": "" }, { "docid": "6794137cd3e57e8a4fd526f266ca8cd8", "score": "0.6697054", "text": "public int getStartAutoTime() {\n return startAutoTime_;\n }", "title": "" }, { "docid": "064aa35e3d8ac671802e6ba930abf8db", "score": "0.6694763", "text": "public long getStartupTime() {\n return Parameters.startTime;\n }", "title": "" }, { "docid": "0e8b0458462e642d5203ea0873ab723a", "score": "0.66585636", "text": "@ApiModelProperty(required = true, value = \"The start of the aggregation window for workflow metrics.\")\n public OffsetDateTime getWindowStart() {\n return windowStart;\n }", "title": "" }, { "docid": "d7bae7d0f74294f442de837dae2451bb", "score": "0.6651188", "text": "public long getStarttime() {\n return starttime;\n }", "title": "" }, { "docid": "2eb1770af4e4cc79218f039150cbea3b", "score": "0.6649856", "text": "@java.lang.Override\n public com.google.protobuf.Timestamp getStartedAt() {\n return startedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startedAt_;\n }", "title": "" }, { "docid": "618b9cc71ee4c6181162d3ab067b4285", "score": "0.66196346", "text": "@Override\n public int getTimeActivityStart() { return TIME_ACTIVITY_START; }", "title": "" }, { "docid": "ab219957237a055845145dce1ad6c25c", "score": "0.6602232", "text": "public Long getStartTimestamp() {\n return startTimestamp;\n }", "title": "" }, { "docid": "a8dd6da4713ed9702f64a592d9971ac1", "score": "0.6600074", "text": "@Override\n\tpublic long getStartTime() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "e66a852a919d30b7f4602f24ef77a9fb", "score": "0.6573403", "text": "public Long getStartTimestamp() {\n return startTimestamp;\n }", "title": "" }, { "docid": "d32e2fafff5d4cd6ad5eee7d04340d44", "score": "0.65706074", "text": "public int getStart(){return this.startTime;}", "title": "" }, { "docid": "bc9ec56acc898c2db8d38224d99fb45d", "score": "0.65493286", "text": "com.google.protobuf.TimestampOrBuilder getStartedAtOrBuilder();", "title": "" }, { "docid": "c73dcc30d77a51027bebf3a11b7d4221", "score": "0.6528668", "text": "public Date getTimeStart() {\n return timeStart;\n }", "title": "" }, { "docid": "7bc4deaff74fbb236ec29aad3a68adb5", "score": "0.6514224", "text": "public long getStartTime(){\n\t\treturn lStart;\n\t}", "title": "" }, { "docid": "8dbc3a3a4ddb4023bc9a746fc0936e4d", "score": "0.6504698", "text": "public int getStartTime() {\n return startTime;\n }", "title": "" }, { "docid": "8dbc3a3a4ddb4023bc9a746fc0936e4d", "score": "0.6504698", "text": "public int getStartTime() {\n return startTime;\n }", "title": "" }, { "docid": "c9a0a165bebf39b815f55b5152a28166", "score": "0.6499209", "text": "public long getStartTime() {\n return startTime;\n }", "title": "" }, { "docid": "c9a0a165bebf39b815f55b5152a28166", "score": "0.6499209", "text": "public long getStartTime() {\n return startTime;\n }", "title": "" }, { "docid": "19c67f7329860fcef0689fae0c4139a8", "score": "0.64839125", "text": "long getTimeStarted();", "title": "" }, { "docid": "f69ba3b957ae9c75e42a362d91e3c58f", "score": "0.6483531", "text": "public long getStartTime() {\n\t\treturn startTime;\n\t}", "title": "" }, { "docid": "f69ba3b957ae9c75e42a362d91e3c58f", "score": "0.6483531", "text": "public long getStartTime() {\n\t\treturn startTime;\n\t}", "title": "" }, { "docid": "f69ba3b957ae9c75e42a362d91e3c58f", "score": "0.6483531", "text": "public long getStartTime() {\n\t\treturn startTime;\n\t}", "title": "" }, { "docid": "d78b2deede839812f91e6adace18a984", "score": "0.6479115", "text": "public long getStartTime() {\r\n return startTime;\r\n }", "title": "" }, { "docid": "d78b2deede839812f91e6adace18a984", "score": "0.6479115", "text": "public long getStartTime() {\r\n return startTime;\r\n }", "title": "" }, { "docid": "3c348b7d70dc3fef0d62043bad4a3f44", "score": "0.6466193", "text": "public int getStartTime() {\r\n return this.startTime;\r\n }", "title": "" }, { "docid": "509bf4dc12bcdfae81ec32a29cb85009", "score": "0.6459675", "text": "java.lang.String getStarttime();", "title": "" }, { "docid": "7d5afdc57e4b2ce80b9845337b5da738", "score": "0.6459488", "text": "public String getStart_Time() {\r\n\t\treturn start_Time;\r\n\t}", "title": "" }, { "docid": "d27623b6e3c7bd34ae27f3d51ad9837e", "score": "0.64296466", "text": "public long getStartTime(){\n\t\treturn startTime;\n\t}", "title": "" }, { "docid": "fb1ab4c82de27c35cda0966d1ac66469", "score": "0.64278996", "text": "public long getStartedTime() {\n return this.mStarted;\n }", "title": "" }, { "docid": "6d6042c99b87eba6eb4578f03c05bbdb", "score": "0.64278835", "text": "public long getStartTime() {\r\n\t\treturn this.startTime;\r\n\t}", "title": "" }, { "docid": "b8c936a5a63ff6ea93433e4ba92f924e", "score": "0.6422132", "text": "@java.lang.Override\n public long getStartTime() {\n return startTime_;\n }", "title": "" }, { "docid": "e01d40bfabf7830973fb3ce1659dfb98", "score": "0.6400593", "text": "public synchronized double getStartTime()\t\t{ return startTime ; }", "title": "" }, { "docid": "cdc48eafa938d270a3507b1048060733", "score": "0.6391545", "text": "public long getStartTime() {\n return startTime;\n }", "title": "" }, { "docid": "acdc9fc8bd6fb9afa64869633597f3fc", "score": "0.6368176", "text": "@java.lang.Override\n public long getStartTime() {\n return startTime_;\n }", "title": "" }, { "docid": "16191bc0cc7042e221faf4139b19623a", "score": "0.6360859", "text": "public com.google.protobuf.Timestamp getStartedAt() {\n if (startedAtBuilder_ == null) {\n return startedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startedAt_;\n } else {\n return startedAtBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "6c95d0a261fe3e31fe48e75dd64817f0", "score": "0.63593113", "text": "public Time getAccessWindowStart() {\n return accessWindowStart;\n }", "title": "" }, { "docid": "8b9cf90e7e0dab4604ad526c45803ede", "score": "0.6356113", "text": "public String getDisplayStartTime()\n\t\t{\n\t\t\treturn this.timeRange.firstTime().toStringLocalTime();\n\t\t}", "title": "" }, { "docid": "5506c1de583742be187de173126e2844", "score": "0.635537", "text": "@Override\n public Date getBeginTime(){\n return begin;\n }", "title": "" }, { "docid": "a3e9f4826526d12436c121d9e8194ab5", "score": "0.63548887", "text": "long getStartTime();", "title": "" }, { "docid": "a3e9f4826526d12436c121d9e8194ab5", "score": "0.63548887", "text": "long getStartTime();", "title": "" }, { "docid": "a3e9f4826526d12436c121d9e8194ab5", "score": "0.63548887", "text": "long getStartTime();", "title": "" }, { "docid": "a40b19f9526276e57a5ca22abb8090a8", "score": "0.6350608", "text": "public Time getStartTime()\n {\n return startTime;\n }", "title": "" }, { "docid": "f96cb3bcc8971bd712e144a870c5ef39", "score": "0.6334617", "text": "public Time getStartTime() {\r\n return new Time(start);\r\n }", "title": "" }, { "docid": "e9340cb472509e53ec8d1c241d560ecb", "score": "0.63219285", "text": "public Date getStartTime() {\r\n\t\treturn startTime;\r\n\t}", "title": "" }, { "docid": "8b73600dfe2c92fc522cd83e656fb96b", "score": "0.6319956", "text": "public long getStartTime() {\n return mStartTime;\n }", "title": "" }, { "docid": "1d5086bd7695dfe10998c9f9d66084a9", "score": "0.6284705", "text": "public Date getStartTime() {\n\t\treturn startTime;\n\t}", "title": "" }, { "docid": "b24d20c0a55817c0c12c0a8fc65476b5", "score": "0.62794226", "text": "public long getStartSpawningTime() {\r\n\t\treturn startSpawningTime;\r\n\t}", "title": "" }, { "docid": "76750ad4a92b1808efe844f5e725c31a", "score": "0.62719357", "text": "public String getStartTime() {\r\n return startTime;\r\n }", "title": "" }, { "docid": "a1534fc66ad8e2429075b786f729b7b1", "score": "0.62704617", "text": "public LocalTime getStart() {\n\t\treturn start;\n\t}", "title": "" }, { "docid": "7812c89dd6fa873390c75b71df1b452a", "score": "0.62630427", "text": "public LocalTime getStartTime() { \n\t\treturn startTime;\n\t}", "title": "" }, { "docid": "508197116eb0ce16d93401dc40699a79", "score": "0.62593985", "text": "public Time getStartTime()\n {\n return startTime;\n }", "title": "" }, { "docid": "9a7c1484acda58d4bc80935469ea496b", "score": "0.6248496", "text": "public void logStart() {\n lastStart = System.nanoTime();\n }", "title": "" }, { "docid": "f49c9953f446b8d36d7dcbe76675f271", "score": "0.6247743", "text": "public static long startTime() {\r\n\t\ttime = new Date();\r\n\t\tif (startTime == 0)\r\n\t\t\tstartTime = time.getTime();\r\n\t\treturn startTime;\r\n\t}", "title": "" }, { "docid": "639e4495cd4f6493b275e3a2c883b947", "score": "0.6240745", "text": "public Date getStartTime() {\n return startTime;\n }", "title": "" }, { "docid": "2200d213f2e01b9e135b55d306d2c806", "score": "0.62339693", "text": "@ApiModelProperty(value = \"Timestamp indicating the earliest time to instantiate the NS. Cardinality \\\"0\\\" indicates the NS instantiation takes place immediately. \")\n public String getStartTime() {\n return startTime;\n }", "title": "" }, { "docid": "ae9f1cd6402d9cddb22c00e3d6b99588", "score": "0.62315845", "text": "public String getBeginTime(){\t\t\r\n\t\treturn beginTime;\r\n\t}", "title": "" }, { "docid": "5b8019f72bd6bc5a8063376ba1962710", "score": "0.6231187", "text": "public java.util.Date getStartingTime() {\n return (java.util.Date) this.getEvent().getStartingTime();\n }", "title": "" }, { "docid": "7e39456f08bc3b0df511ddf7134941f8", "score": "0.6228726", "text": "public long getGameStartTime() {\n\t\treturn gameStartTime;\n\t}", "title": "" }, { "docid": "9acebd6193f9bbd4d1d728c98c2ea20d", "score": "0.6224658", "text": "public String getStartTime() {\n\t\treturn startTime;\n\t}", "title": "" }, { "docid": "b20c7471d9d560d98d5b0b4329f5b99b", "score": "0.62238246", "text": "private int getStartBeat() {\r\n return this.start.getValue() - 1;\r\n }", "title": "" }, { "docid": "0e60eab43176b74033b8fd0ca85a65f3", "score": "0.6221788", "text": "public long getStartMillis() {\n\t\treturn this.startMillis;\n\t}", "title": "" }, { "docid": "965f29b2f686fc5a608c63bc26029f4e", "score": "0.621965", "text": "@Override\n public Date getStartTime()\n {\n GregorianCalendar vCalendar = new GregorianCalendar();\n return vCalendar.getTime();\n }", "title": "" }, { "docid": "35dfbdded42727ff4acd5e9a834768e8", "score": "0.6212879", "text": "public Date getStartTime() {\n\t return this.startTime;\n\t}", "title": "" }, { "docid": "2a52bef131e9ae4859d4386888bf1658", "score": "0.6212608", "text": "public String getStartTime() {\n return startTime;\n }", "title": "" }, { "docid": "3c89d73230bd936dcc16ed20302a7060", "score": "0.6204649", "text": "void setStart(int newTime);", "title": "" }, { "docid": "b7036504ea664f448c9dcadd983e4b91", "score": "0.6203703", "text": "public void setStart() {\n\t\tstartTime = getSystemTime();\n\t}", "title": "" }, { "docid": "fb062078158ca4e2a95f3967f984eaec", "score": "0.6198943", "text": "public DateTimeStamp getTimeOfFirstEvent() {\n return timeOfFirstEvent != null ? timeOfFirstEvent : new DateTimeStamp(0.0);\n }", "title": "" }, { "docid": "12d508149226cb40669c56bfaece78a3", "score": "0.6197379", "text": "public Date getStartTime();", "title": "" }, { "docid": "126fc12701e2456583a7786f79c07d2d", "score": "0.61924607", "text": "public String getStartTime() {\r\n\t\treturn this.getTime(this.startTime);\r\n\t}", "title": "" }, { "docid": "4473ef356c9690d5b07d2150ea26c8d8", "score": "0.61891264", "text": "public LocalTime getStartTime() {\n return startTime;\n }", "title": "" }, { "docid": "4b12ecca32bbd797783d06dbbf51aee9", "score": "0.6188816", "text": "public Date getStarttime() {\n\t\treturn starttime;\n\t}", "title": "" }, { "docid": "d057bf35c130670ba32c0d665870b011", "score": "0.61824787", "text": "public Date getStarttime() {\r\n\t\treturn this.starttime;\r\n\t}", "title": "" }, { "docid": "1950d78eb0dd9c3f7681d3fbf50e63b0", "score": "0.6174401", "text": "public DateTime startTime() {\n return this.startTime;\n }", "title": "" }, { "docid": "5d273dd4428d60e1c5abf27a7e396808", "score": "0.61734164", "text": "public long getRealStartTimeMillis() {\n\t\treturn _realStartTime;\n\t}", "title": "" }, { "docid": "5bf0060e934fd031747053125ce4b089", "score": "0.61706394", "text": "@Override\n public int getRunningTimeTicks()\n {\n return 0;\n }", "title": "" }, { "docid": "6f64475494561476a045bc6f19bc8969", "score": "0.61690307", "text": "private long startFlag()\r\n\t{\r\n\t\treturn System.currentTimeMillis();\r\n\t}", "title": "" }, { "docid": "1f5fb00812e9948c1b32fcd37b569043", "score": "0.61600685", "text": "long getStart();", "title": "" }, { "docid": "1f5fb00812e9948c1b32fcd37b569043", "score": "0.61600685", "text": "long getStart();", "title": "" }, { "docid": "1f5fb00812e9948c1b32fcd37b569043", "score": "0.61600685", "text": "long getStart();", "title": "" }, { "docid": "2486323cdb6db18163ee2eebe4e5a52e", "score": "0.6154281", "text": "public void setBeginTime() {\n\t\tbeginTime = System.currentTimeMillis();\n\t}", "title": "" }, { "docid": "f20542ec650558123a90e28a1f41cc94", "score": "0.61526376", "text": "public abstract long getStartTime();", "title": "" }, { "docid": "ffef4dcd4f3e2895d07e97e3cec7dc42", "score": "0.6147117", "text": "public long getStart() {\n return start_;\n }", "title": "" }, { "docid": "5cae49df61629aaa801d7ab13874c5ce", "score": "0.61459047", "text": "@java.lang.Override\n public com.google.protobuf.TimestampOrBuilder getStartedAtOrBuilder() {\n return getStartedAt();\n }", "title": "" }, { "docid": "aad94f10b2a835b58937a0222617e4b2", "score": "0.6145123", "text": "public long getStartFixedTime() {\n return startFixedTime;\n }", "title": "" }, { "docid": "20dee21c4cc1e4b68e0e9997ddb834c7", "score": "0.6140195", "text": "public Long getShowtimeStart() {\n\t\treturn showtimeStart;\n\t}", "title": "" }, { "docid": "519f72314a73c181948f7bff7edda35e", "score": "0.6136579", "text": "public String getStartTime() {\n return this.StartTime;\n }", "title": "" }, { "docid": "519f72314a73c181948f7bff7edda35e", "score": "0.6136579", "text": "public String getStartTime() {\n return this.StartTime;\n }", "title": "" }, { "docid": "519f72314a73c181948f7bff7edda35e", "score": "0.6136579", "text": "public String getStartTime() {\n return this.StartTime;\n }", "title": "" }, { "docid": "519f72314a73c181948f7bff7edda35e", "score": "0.6136579", "text": "public String getStartTime() {\n return this.StartTime;\n }", "title": "" }, { "docid": "519f72314a73c181948f7bff7edda35e", "score": "0.6136579", "text": "public String getStartTime() {\n return this.StartTime;\n }", "title": "" }, { "docid": "2366c9adb69daa51642d5b3685fb88ee", "score": "0.613396", "text": "public LocalTime getStartTime() {\n\t\t\treturn startTimePicker.getTime();\n\t\t}", "title": "" }, { "docid": "df33a001c968c6da5509217f1981c0ea", "score": "0.61319536", "text": "public LocalDateTime getTime()\n {\n return start;\n }", "title": "" }, { "docid": "e58edb01415572af159de8ea1907ba87", "score": "0.61289054", "text": "public Date getStarttime() {\n return starttime;\n }", "title": "" }, { "docid": "fd385646512976dd3368afbd38ab4473", "score": "0.6125876", "text": "public String getStartTime() {\n return this.startTime;\n }", "title": "" }, { "docid": "fd385646512976dd3368afbd38ab4473", "score": "0.6125876", "text": "public String getStartTime() {\n return this.startTime;\n }", "title": "" } ]
3936c29fc8ced0ce714ace18e034dba8
$ANTLR end "rule__Implementation_type_definition__Group__0__Impl" $ANTLR start "rule__Implementation_type_definition__Group__1" InternalMyDsl.g:29475:1: rule__Implementation_type_definition__Group__1 : rule__Implementation_type_definition__Group__1__Impl rule__Implementation_type_definition__Group__2 ;
[ { "docid": "74c5630637b690b4c77ec145685ae904", "score": "0.8310519", "text": "public final void rule__Implementation_type_definition__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:29479:1: ( rule__Implementation_type_definition__Group__1__Impl rule__Implementation_type_definition__Group__2 )\n // InternalMyDsl.g:29480:2: rule__Implementation_type_definition__Group__1__Impl rule__Implementation_type_definition__Group__2\n {\n pushFollow(FOLLOW_12);\n rule__Implementation_type_definition__Group__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Implementation_type_definition__Group__2();\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": "c92bddb7e108880982fed50c39691d77", "score": "0.8221106", "text": "public final void rule__Implementation_type_definition__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:29452:1: ( rule__Implementation_type_definition__Group__0__Impl rule__Implementation_type_definition__Group__1 )\n // InternalMyDsl.g:29453:2: rule__Implementation_type_definition__Group__0__Impl rule__Implementation_type_definition__Group__1\n {\n pushFollow(FOLLOW_26);\n rule__Implementation_type_definition__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Implementation_type_definition__Group__1();\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": "5e79d1c551fe2643cec286f240c503cf", "score": "0.80109876", "text": "public final void rule__Implementation_type_definition__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:29506:1: ( rule__Implementation_type_definition__Group__2__Impl rule__Implementation_type_definition__Group__3 )\n // InternalMyDsl.g:29507:2: rule__Implementation_type_definition__Group__2__Impl rule__Implementation_type_definition__Group__3\n {\n pushFollow(FOLLOW_11);\n rule__Implementation_type_definition__Group__2__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Implementation_type_definition__Group__3();\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": "64b2a3fbe36e994c2bb2ed2174c68e09", "score": "0.79558593", "text": "public final void rule__Implementation_definition__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:23268:1: ( rule__Implementation_definition__Group__1__Impl rule__Implementation_definition__Group__2 )\n // InternalMyDsl.g:23269:2: rule__Implementation_definition__Group__1__Impl rule__Implementation_definition__Group__2\n {\n pushFollow(FOLLOW_12);\n rule__Implementation_definition__Group__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Implementation_definition__Group__2();\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": "387212a476fdfe27d02a3f4c5f3a034c", "score": "0.7945309", "text": "public final void rule__Implementation_type_definition__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:29464:1: ( ( 'implementationtype' ) )\n // InternalMyDsl.g:29465:1: ( 'implementationtype' )\n {\n // InternalMyDsl.g:29465:1: ( 'implementationtype' )\n // InternalMyDsl.g:29466:2: 'implementationtype'\n {\n before(grammarAccess.getImplementation_type_definitionAccess().getImplementationtypeKeyword_0()); \n match(input,216,FOLLOW_2); \n after(grammarAccess.getImplementation_type_definitionAccess().getImplementationtypeKeyword_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": "cddc681ba64696b163d0eccfde7bcdc1", "score": "0.7938405", "text": "public final void ruleimplementation_type_definition() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:3291:2: ( ( ( rule__Implementation_type_definition__Group__0 ) ) )\n // InternalMyDsl.g:3292:2: ( ( rule__Implementation_type_definition__Group__0 ) )\n {\n // InternalMyDsl.g:3292:2: ( ( rule__Implementation_type_definition__Group__0 ) )\n // InternalMyDsl.g:3293:3: ( rule__Implementation_type_definition__Group__0 )\n {\n before(grammarAccess.getImplementation_type_definitionAccess().getGroup()); \n // InternalMyDsl.g:3294:3: ( rule__Implementation_type_definition__Group__0 )\n // InternalMyDsl.g:3294:4: rule__Implementation_type_definition__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__Implementation_type_definition__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getImplementation_type_definitionAccess().getGroup()); \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": "a9c518fb1027cfb4e5d84f082495eab2", "score": "0.7778347", "text": "public final void rule__Implementation_definition__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:23241:1: ( rule__Implementation_definition__Group__0__Impl rule__Implementation_definition__Group__1 )\n // InternalMyDsl.g:23242:2: rule__Implementation_definition__Group__0__Impl rule__Implementation_definition__Group__1\n {\n pushFollow(FOLLOW_26);\n rule__Implementation_definition__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Implementation_definition__Group__1();\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": "8645e58904778575e147902521d3176e", "score": "0.77542573", "text": "public final void rule__Implementation_type_definition__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:29533:1: ( rule__Implementation_type_definition__Group__3__Impl )\n // InternalMyDsl.g:29534:2: rule__Implementation_type_definition__Group__3__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Implementation_type_definition__Group__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": "331eb6830424717633027dd7efd33036", "score": "0.77051353", "text": "public final void rule__Implementation_definition__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:23253:1: ( ( 'implementation' ) )\n // InternalMyDsl.g:23254:1: ( 'implementation' )\n {\n // InternalMyDsl.g:23254:1: ( 'implementation' )\n // InternalMyDsl.g:23255:2: 'implementation'\n {\n before(grammarAccess.getImplementation_definitionAccess().getImplementationKeyword_0()); \n match(input,185,FOLLOW_2); \n after(grammarAccess.getImplementation_definitionAccess().getImplementationKeyword_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": "d318b5adcbf36479fdf53e8d4f7ad6ed", "score": "0.7679572", "text": "public final void rule__Type_definition__Group_17_2_12_3__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:23106:1: ( rule__Type_definition__Group_17_2_12_3__1__Impl )\n // InternalMyDsl.g:23107:2: rule__Type_definition__Group_17_2_12_3__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_12_3__1__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": "37ea4706c4c693b85b218909aec10cb1", "score": "0.7666984", "text": "public final void rule__Type_definition__Group_6_1_2__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21405:1: ( rule__Type_definition__Group_6_1_2__1__Impl )\n // InternalMyDsl.g:21406:2: rule__Type_definition__Group_6_1_2__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_6_1_2__1__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": "5df23d4f68ce0805b17d4dcedfba0d4b", "score": "0.7648597", "text": "public final void rule__Type_definition__Group_6__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21243:1: ( rule__Type_definition__Group_6__1__Impl )\n // InternalMyDsl.g:21244:2: rule__Type_definition__Group_6__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_6__1__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": "8b14f9cdbbe4a6198aa3ade329590a93", "score": "0.7625966", "text": "public final void rule__Implementation_definition__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:23295:1: ( rule__Implementation_definition__Group__2__Impl rule__Implementation_definition__Group__3 )\n // InternalMyDsl.g:23296:2: rule__Implementation_definition__Group__2__Impl rule__Implementation_definition__Group__3\n {\n pushFollow(FOLLOW_11);\n rule__Implementation_definition__Group__2__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Implementation_definition__Group__3();\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": "21011f9d04ace503a62c32a44c148ade", "score": "0.76216066", "text": "public final void rule__Type_definition__Group_6_1__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21351:1: ( rule__Type_definition__Group_6_1__3__Impl )\n // InternalMyDsl.g:21352:2: rule__Type_definition__Group_6_1__3__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_6_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": "3040b2cb69d4bf569376e5fcf3fe7465", "score": "0.75712013", "text": "public final void rule__Type_definition__Group_11__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21594:1: ( rule__Type_definition__Group_11__1__Impl )\n // InternalMyDsl.g:21595:2: rule__Type_definition__Group_11__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_11__1__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": "18ad7db7abfda770ece8b838403feaed", "score": "0.75676876", "text": "public final void rule__Type_definition__Group_17_2_3__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22350:1: ( rule__Type_definition__Group_17_2_3__1__Impl )\n // InternalMyDsl.g:22351:2: rule__Type_definition__Group_17_2_3__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_3__1__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": "45e6a302da07255d7b045dbc661de82d", "score": "0.7555916", "text": "public final void rule__Type_definition__Group_17_2_3_1__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22485:1: ( rule__Type_definition__Group_17_2_3_1__4__Impl )\n // InternalMyDsl.g:22486:2: rule__Type_definition__Group_17_2_3_1__4__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_3_1__4__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": "3bcfd820a090b3ca4089f6cec9a6db42", "score": "0.75193757", "text": "public final void rule__Type_definition__Group_4__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21108:1: ( rule__Type_definition__Group_4__1__Impl )\n // InternalMyDsl.g:21109:2: rule__Type_definition__Group_4__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_4__1__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": "913d3eaae2a93016cd305afa25778d20", "score": "0.7480873", "text": "public final void rule__Type_definition__Group_11_1__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21675:1: ( rule__Type_definition__Group_11_1__2__Impl )\n // InternalMyDsl.g:21676:2: rule__Type_definition__Group_11_1__2__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_11_1__2__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": "d1d42faf27456bfbcb4bd39a7a99f6d9", "score": "0.7467746", "text": "public final void rule__Type_definition__Group_4_1__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21189:1: ( rule__Type_definition__Group_4_1__2__Impl )\n // InternalMyDsl.g:21190:2: rule__Type_definition__Group_4_1__2__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_4_1__2__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": "edf1395a55ea29e5b9ee8e2f60408652", "score": "0.74574864", "text": "public final void ruleimplementation_definition() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:2366:2: ( ( ( rule__Implementation_definition__Group__0 ) ) )\n // InternalMyDsl.g:2367:2: ( ( rule__Implementation_definition__Group__0 ) )\n {\n // InternalMyDsl.g:2367:2: ( ( rule__Implementation_definition__Group__0 ) )\n // InternalMyDsl.g:2368:3: ( rule__Implementation_definition__Group__0 )\n {\n before(grammarAccess.getImplementation_definitionAccess().getGroup()); \n // InternalMyDsl.g:2369:3: ( rule__Implementation_definition__Group__0 )\n // InternalMyDsl.g:2369:4: rule__Implementation_definition__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__Implementation_definition__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getImplementation_definitionAccess().getGroup()); \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": "84e0ae035f8a1a29f00567c55c919aba", "score": "0.74551976", "text": "public final void rule__Type_definition__Group_17_2_12__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:23052:1: ( rule__Type_definition__Group_17_2_12__4__Impl )\n // InternalMyDsl.g:23053:2: rule__Type_definition__Group_17_2_12__4__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_12__4__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": "e80ca74d86eafaac3a788604b872fbad", "score": "0.7454416", "text": "public final void rule__Type_definition__Group_6_1__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21336:1: ( ( ( rule__Type_definition__Group_6_1_2__0 )? ) )\n // InternalMyDsl.g:21337:1: ( ( rule__Type_definition__Group_6_1_2__0 )? )\n {\n // InternalMyDsl.g:21337:1: ( ( rule__Type_definition__Group_6_1_2__0 )? )\n // InternalMyDsl.g:21338:2: ( rule__Type_definition__Group_6_1_2__0 )?\n {\n before(grammarAccess.getType_definitionAccess().getGroup_6_1_2()); \n // InternalMyDsl.g:21339:2: ( rule__Type_definition__Group_6_1_2__0 )?\n int alt149=2;\n int LA149_0 = input.LA(1);\n\n if ( (LA149_0==115) ) {\n alt149=1;\n }\n switch (alt149) {\n case 1 :\n // InternalMyDsl.g:21339:3: rule__Type_definition__Group_6_1_2__0\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_6_1_2__0();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n\n after(grammarAccess.getType_definitionAccess().getGroup_6_1_2()); \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": "b0adce852440bab9e8161ddb60dbf16f", "score": "0.7452321", "text": "public final void rule__Type_definition__Group_17_2_11__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22917:1: ( rule__Type_definition__Group_17_2_11__3__Impl )\n // InternalMyDsl.g:22918:2: rule__Type_definition__Group_17_2_11__3__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_11__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": "c1e379bf76eedb213863a803d5908803", "score": "0.74456215", "text": "public final void rule__Type_definition__Group_3_1__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21054:1: ( rule__Type_definition__Group_3_1__4__Impl )\n // InternalMyDsl.g:21055:2: rule__Type_definition__Group_3_1__4__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_3_1__4__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": "e856d169bae14b4143592d642f0b029e", "score": "0.7408626", "text": "public final void rule__Type_definition__Group_15_3__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22080:1: ( rule__Type_definition__Group_15_3__1__Impl )\n // InternalMyDsl.g:22081:2: rule__Type_definition__Group_15_3__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_15_3__1__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": "5efd874de406131df799cf954df6a51c", "score": "0.7392882", "text": "public final void rule__Type_definition__Group_17_2_3__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22361:1: ( ( ( rule__Type_definition__Group_17_2_3_1__0 )? ) )\n // InternalMyDsl.g:22362:1: ( ( rule__Type_definition__Group_17_2_3_1__0 )? )\n {\n // InternalMyDsl.g:22362:1: ( ( rule__Type_definition__Group_17_2_3_1__0 )? )\n // InternalMyDsl.g:22363:2: ( rule__Type_definition__Group_17_2_3_1__0 )?\n {\n before(grammarAccess.getType_definitionAccess().getGroup_17_2_3_1()); \n // InternalMyDsl.g:22364:2: ( rule__Type_definition__Group_17_2_3_1__0 )?\n int alt153=2;\n int LA153_0 = input.LA(1);\n\n if ( (LA153_0==113) ) {\n alt153=1;\n }\n switch (alt153) {\n case 1 :\n // InternalMyDsl.g:22364:3: rule__Type_definition__Group_17_2_3_1__0\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_3_1__0();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n\n after(grammarAccess.getType_definitionAccess().getGroup_17_2_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": "0ecf1893840983ba6f80ffc13affe3a3", "score": "0.73884004", "text": "public final void rule__Type_definition__Group_10__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21459:1: ( rule__Type_definition__Group_10__1__Impl )\n // InternalMyDsl.g:21460:2: rule__Type_definition__Group_10__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_10__1__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": "3ec2528453038d2033050a9766bf95ef", "score": "0.738385", "text": "public final void rule__Type_definition__Group_11__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21605:1: ( ( ( rule__Type_definition__Group_11_1__0 )? ) )\n // InternalMyDsl.g:21606:1: ( ( rule__Type_definition__Group_11_1__0 )? )\n {\n // InternalMyDsl.g:21606:1: ( ( rule__Type_definition__Group_11_1__0 )? )\n // InternalMyDsl.g:21607:2: ( rule__Type_definition__Group_11_1__0 )?\n {\n before(grammarAccess.getType_definitionAccess().getGroup_11_1()); \n // InternalMyDsl.g:21608:2: ( rule__Type_definition__Group_11_1__0 )?\n int alt151=2;\n int LA151_0 = input.LA(1);\n\n if ( (LA151_0==113) ) {\n alt151=1;\n }\n switch (alt151) {\n case 1 :\n // InternalMyDsl.g:21608:3: rule__Type_definition__Group_11_1__0\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_11_1__0();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n\n after(grammarAccess.getType_definitionAccess().getGroup_11_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": "13047fd3c6ba09701e4adbb8ee3c5963", "score": "0.7374498", "text": "public final void rule__Type_definition__Group_6__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21254:1: ( ( ( rule__Type_definition__Group_6_1__0 )? ) )\n // InternalMyDsl.g:21255:1: ( ( rule__Type_definition__Group_6_1__0 )? )\n {\n // InternalMyDsl.g:21255:1: ( ( rule__Type_definition__Group_6_1__0 )? )\n // InternalMyDsl.g:21256:2: ( rule__Type_definition__Group_6_1__0 )?\n {\n before(grammarAccess.getType_definitionAccess().getGroup_6_1()); \n // InternalMyDsl.g:21257:2: ( rule__Type_definition__Group_6_1__0 )?\n int alt148=2;\n int LA148_0 = input.LA(1);\n\n if ( (LA148_0==113) ) {\n alt148=1;\n }\n switch (alt148) {\n case 1 :\n // InternalMyDsl.g:21257:3: rule__Type_definition__Group_6_1__0\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_6_1__0();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n\n after(grammarAccess.getType_definitionAccess().getGroup_6_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": "97a2e9a9cc9173a4db7089ab47396c1a", "score": "0.7364473", "text": "public final void rule__Type_definition__Group_10_1__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21540:1: ( rule__Type_definition__Group_10_1__2__Impl )\n // InternalMyDsl.g:21541:2: rule__Type_definition__Group_10_1__2__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_10_1__2__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": "4095379e9b35e1ca8aa63b7b1f3bfe03", "score": "0.7355431", "text": "public final void rule__Type_definition__Group_3__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:20919:1: ( rule__Type_definition__Group_3__1__Impl )\n // InternalMyDsl.g:20920:2: rule__Type_definition__Group_3__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_3__1__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": "6003b1f254935d0eb720c14fa52023b7", "score": "0.73535204", "text": "public final void rule__Implementation_definition__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:23322:1: ( rule__Implementation_definition__Group__3__Impl )\n // InternalMyDsl.g:23323:2: rule__Implementation_definition__Group__3__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Implementation_definition__Group__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": "d1c7b11406b41210756022075903c3d2", "score": "0.7347999", "text": "public final void rule__Type_definition__Group_17_2_10__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22809:1: ( rule__Type_definition__Group_17_2_10__3__Impl )\n // InternalMyDsl.g:22810:2: rule__Type_definition__Group_17_2_10__3__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_10__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": "3b8a9a51b54346c1701ca28d07797bee", "score": "0.73305076", "text": "public final void rule__Type_definition__Group_14__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21891:1: ( rule__Type_definition__Group_14__3__Impl )\n // InternalMyDsl.g:21892:2: rule__Type_definition__Group_14__3__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_14__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": "b56e4fca94a3fcafb172b7b4604d6901", "score": "0.7319029", "text": "public final void rule__Type_definition__Group_6_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21297:1: ( rule__Type_definition__Group_6_1__1__Impl rule__Type_definition__Group_6_1__2 )\n // InternalMyDsl.g:21298:2: rule__Type_definition__Group_6_1__1__Impl rule__Type_definition__Group_6_1__2\n {\n pushFollow(FOLLOW_47);\n rule__Type_definition__Group_6_1__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_6_1__2();\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": "4078a29a7326dca3e35d3d4df9492efd", "score": "0.73172736", "text": "public final void rule__Type_definition__Group_15__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22026:1: ( rule__Type_definition__Group_15__4__Impl )\n // InternalMyDsl.g:22027:2: rule__Type_definition__Group_15__4__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_15__4__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": "4baa84fd35eecb59fb9ede7c80bccd7a", "score": "0.7282944", "text": "public final void rule__Type_definition__Group_17_2_5__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22539:1: ( rule__Type_definition__Group_17_2_5__1__Impl )\n // InternalMyDsl.g:22540:2: rule__Type_definition__Group_17_2_5__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_5__1__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": "9cd638f55990c0eb8a3ae382e73efb06", "score": "0.72785425", "text": "public final void rule__Type_definition__Group_6_1__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21324:1: ( rule__Type_definition__Group_6_1__2__Impl rule__Type_definition__Group_6_1__3 )\n // InternalMyDsl.g:21325:2: rule__Type_definition__Group_6_1__2__Impl rule__Type_definition__Group_6_1__3\n {\n pushFollow(FOLLOW_47);\n rule__Type_definition__Group_6_1__2__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_6_1__3();\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": "9699785586aa7c0e3879eadafca19ce1", "score": "0.72702056", "text": "public final void rule__Type_definition__Group_6_1_2__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21378:1: ( rule__Type_definition__Group_6_1_2__0__Impl rule__Type_definition__Group_6_1_2__1 )\n // InternalMyDsl.g:21379:2: rule__Type_definition__Group_6_1_2__0__Impl rule__Type_definition__Group_6_1_2__1\n {\n pushFollow(FOLLOW_74);\n rule__Type_definition__Group_6_1_2__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_6_1_2__1();\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": "91f4dc9330b75dc512c2a32f0b57def8", "score": "0.72688425", "text": "public final void rule__Type_definition_part__Group_1__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalPascal.g:3595:1: ( rule__Type_definition_part__Group_1__1__Impl )\r\n // InternalPascal.g:3596:2: rule__Type_definition_part__Group_1__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__Type_definition_part__Group_1__1__Impl();\r\n\r\n state._fsp--;\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": "6798efc4dc22e029ae91995950168bc3", "score": "0.726634", "text": "public final void rule__Type_definition__Group_6_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21270:1: ( rule__Type_definition__Group_6_1__0__Impl rule__Type_definition__Group_6_1__1 )\n // InternalMyDsl.g:21271:2: rule__Type_definition__Group_6_1__0__Impl rule__Type_definition__Group_6_1__1\n {\n pushFollow(FOLLOW_74);\n rule__Type_definition__Group_6_1__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_6_1__1();\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": "33f3c27a68d7dbcbbcaa09db8cfdbd30", "score": "0.72552156", "text": "public final void rule__Type_definition__Group__2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalPascal.g:3676:1: ( rule__Type_definition__Group__2__Impl )\r\n // InternalPascal.g:3677:2: rule__Type_definition__Group__2__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__Type_definition__Group__2__Impl();\r\n\r\n state._fsp--;\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": "0bed3ab886e4cd198f2f1b9d4bef25eb", "score": "0.7252911", "text": "public final void rule__Type_definition__Group_17_2_5_1_2__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22701:1: ( rule__Type_definition__Group_17_2_5_1_2__1__Impl )\n // InternalMyDsl.g:22702:2: rule__Type_definition__Group_17_2_5_1_2__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_5_1_2__1__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": "63cbfda42f1003cbce83ad57a9f091bf", "score": "0.7250994", "text": "public final void rule__Type_definition_part__Group__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalPascal.g:3534:1: ( rule__Type_definition_part__Group__1__Impl )\r\n // InternalPascal.g:3535:2: rule__Type_definition_part__Group__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__Type_definition_part__Group__1__Impl();\r\n\r\n state._fsp--;\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": "4c85e39e4aae6c544dc4eae713fe3ab3", "score": "0.72400045", "text": "public final void rule__Type_definition__Group_17_2_13__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:23214:1: ( rule__Type_definition__Group_17_2_13__3__Impl )\n // InternalMyDsl.g:23215:2: rule__Type_definition__Group_17_2_13__3__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_13__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": "8b799e2e71ca6bf97fec8eb0bac70382", "score": "0.723518", "text": "public final void rule__Type_definition__Group_4__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21119:1: ( ( ( rule__Type_definition__Group_4_1__0 )? ) )\n // InternalMyDsl.g:21120:1: ( ( rule__Type_definition__Group_4_1__0 )? )\n {\n // InternalMyDsl.g:21120:1: ( ( rule__Type_definition__Group_4_1__0 )? )\n // InternalMyDsl.g:21121:2: ( rule__Type_definition__Group_4_1__0 )?\n {\n before(grammarAccess.getType_definitionAccess().getGroup_4_1()); \n // InternalMyDsl.g:21122:2: ( rule__Type_definition__Group_4_1__0 )?\n int alt147=2;\n int LA147_0 = input.LA(1);\n\n if ( (LA147_0==113) ) {\n alt147=1;\n }\n switch (alt147) {\n case 1 :\n // InternalMyDsl.g:21122:3: rule__Type_definition__Group_4_1__0\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_4_1__0();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n\n after(grammarAccess.getType_definitionAccess().getGroup_4_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": "acbd7193d89dbb5241c1279d8089a81f", "score": "0.7224558", "text": "public final void rule__Type_definition__Group_6__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21216:1: ( rule__Type_definition__Group_6__0__Impl rule__Type_definition__Group_6__1 )\n // InternalMyDsl.g:21217:2: rule__Type_definition__Group_6__0__Impl rule__Type_definition__Group_6__1\n {\n pushFollow(FOLLOW_27);\n rule__Type_definition__Group_6__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_6__1();\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": "2c769f18e648cea985e37ba1b9d1ebf2", "score": "0.7217333", "text": "public final void rule__ImplementationBody__Group__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalAadlV3.g:7240:1: ( rule__ImplementationBody__Group__1__Impl rule__ImplementationBody__Group__2 )\r\n // InternalAadlV3.g:7241:2: rule__ImplementationBody__Group__1__Impl rule__ImplementationBody__Group__2\r\n {\r\n pushFollow(FOLLOW_37);\r\n rule__ImplementationBody__Group__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_2);\r\n rule__ImplementationBody__Group__2();\r\n\r\n state._fsp--;\r\n 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 \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "695220f034200d0bc2e9b3ed8d79b762", "score": "0.7200886", "text": "public final void rule__Type_definition__Group_17_2_5_1__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22647:1: ( rule__Type_definition__Group_17_2_5_1__3__Impl )\n // InternalMyDsl.g:22648:2: rule__Type_definition__Group_17_2_5_1__3__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_5_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": "0e43d1d9bbaf5dbd92f2bfc38b8ef5ff", "score": "0.72006994", "text": "public final void rule__Type_definition__Group_4_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21162:1: ( rule__Type_definition__Group_4_1__1__Impl rule__Type_definition__Group_4_1__2 )\n // InternalMyDsl.g:21163:2: rule__Type_definition__Group_4_1__1__Impl rule__Type_definition__Group_4_1__2\n {\n pushFollow(FOLLOW_28);\n rule__Type_definition__Group_4_1__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_4_1__2();\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": "b0a2d4772d279e50fc69dd0ad96a760e", "score": "0.7198649", "text": "public final void rule__Type_definition__Group_11_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21621:1: ( rule__Type_definition__Group_11_1__0__Impl rule__Type_definition__Group_11_1__1 )\n // InternalMyDsl.g:21622:2: rule__Type_definition__Group_11_1__0__Impl rule__Type_definition__Group_11_1__1\n {\n pushFollow(FOLLOW_12);\n rule__Type_definition__Group_11_1__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_11_1__1();\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": "324ef4955da719a981ee3145d5e7f837", "score": "0.7180607", "text": "public final void rule__Type_definition__Group_4_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21135:1: ( rule__Type_definition__Group_4_1__0__Impl rule__Type_definition__Group_4_1__1 )\n // InternalMyDsl.g:21136:2: rule__Type_definition__Group_4_1__0__Impl rule__Type_definition__Group_4_1__1\n {\n pushFollow(FOLLOW_12);\n rule__Type_definition__Group_4_1__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_4_1__1();\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": "e0f685ce4fd8c0d66ad3ae6ffc7a1aaa", "score": "0.71732223", "text": "public final void rule__Type_definition__Group_11_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21648:1: ( rule__Type_definition__Group_11_1__1__Impl rule__Type_definition__Group_11_1__2 )\n // InternalMyDsl.g:21649:2: rule__Type_definition__Group_11_1__1__Impl rule__Type_definition__Group_11_1__2\n {\n pushFollow(FOLLOW_28);\n rule__Type_definition__Group_11_1__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_11_1__2();\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": "bb79511530ca9fdfab4be3c333bff65b", "score": "0.7124697", "text": "public final void rule__Type_definition__Group_17__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22296:1: ( rule__Type_definition__Group_17__3__Impl )\n // InternalMyDsl.g:22297:2: rule__Type_definition__Group_17__3__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17__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": "ed8e5a244411977b03e09b9c745219ff", "score": "0.71232426", "text": "public final void rule__Term__Group_1_0_0__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:3105:1: ( rule__Term__Group_1_0_0__1__Impl )\r\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:3106:2: rule__Term__Group_1_0_0__1__Impl\r\n {\r\n pushFollow(FOLLOW_rule__Term__Group_1_0_0__1__Impl_in_rule__Term__Group_1_0_0__16339);\r\n rule__Term__Group_1_0_0__1__Impl();\r\n\r\n state._fsp--;\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": "0d03a978a4984cfb9c5f02405b79f796", "score": "0.7114866", "text": "public final void rule__ImplementationBody__Group__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalAadlV3.g:7213:1: ( rule__ImplementationBody__Group__0__Impl rule__ImplementationBody__Group__1 )\r\n // InternalAadlV3.g:7214:2: rule__ImplementationBody__Group__0__Impl rule__ImplementationBody__Group__1\r\n {\r\n pushFollow(FOLLOW_37);\r\n rule__ImplementationBody__Group__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n pushFollow(FOLLOW_2);\r\n rule__ImplementationBody__Group__1();\r\n\r\n state._fsp--;\r\n 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 \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "298ec98da1786e75a23ce3fa325ff5a5", "score": "0.70880795", "text": "public final void rule__ImplementationBody__Group__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalAadlV3.g:7252:1: ( ( ( ruleImplementationElement )* ) )\r\n // InternalAadlV3.g:7253:1: ( ( ruleImplementationElement )* )\r\n {\r\n // InternalAadlV3.g:7253:1: ( ( ruleImplementationElement )* )\r\n // InternalAadlV3.g:7254:2: ( ruleImplementationElement )*\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getImplementationBodyAccess().getImplementationElementParserRuleCall_1()); \r\n }\r\n // InternalAadlV3.g:7255:2: ( ruleImplementationElement )*\r\n loop69:\r\n do {\r\n int alt69=2;\r\n int LA69_0 = input.LA(1);\r\n\r\n if ( (LA69_0==RULE_ID||LA69_0==50||LA69_0==59||LA69_0==71) ) {\r\n alt69=1;\r\n }\r\n\r\n\r\n switch (alt69) {\r\n \tcase 1 :\r\n \t // InternalAadlV3.g:7255:3: ruleImplementationElement\r\n \t {\r\n \t pushFollow(FOLLOW_38);\r\n \t ruleImplementationElement();\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 loop69;\r\n }\r\n } while (true);\r\n\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getImplementationBodyAccess().getImplementationElementParserRuleCall_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": "1804907edd92434fa9745e9860e7720e", "score": "0.70798117", "text": "public final void rule__Term__Group_1_0_1__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:3170:1: ( rule__Term__Group_1_0_1__1__Impl )\r\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:3171:2: rule__Term__Group_1_0_1__1__Impl\r\n {\r\n pushFollow(FOLLOW_rule__Term__Group_1_0_1__1__Impl_in_rule__Term__Group_1_0_1__16463);\r\n rule__Term__Group_1_0_1__1__Impl();\r\n\r\n state._fsp--;\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": "c7f3ca2dfd7fa9f6237de70ef5730591", "score": "0.7076708", "text": "public final void rule__Type_definition__Group_3__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:20930:1: ( ( ( rule__Type_definition__Group_3_1__0 )? ) )\n // InternalMyDsl.g:20931:1: ( ( rule__Type_definition__Group_3_1__0 )? )\n {\n // InternalMyDsl.g:20931:1: ( ( rule__Type_definition__Group_3_1__0 )? )\n // InternalMyDsl.g:20932:2: ( rule__Type_definition__Group_3_1__0 )?\n {\n before(grammarAccess.getType_definitionAccess().getGroup_3_1()); \n // InternalMyDsl.g:20933:2: ( rule__Type_definition__Group_3_1__0 )?\n int alt146=2;\n int LA146_0 = input.LA(1);\n\n if ( (LA146_0==113) ) {\n alt146=1;\n }\n switch (alt146) {\n case 1 :\n // InternalMyDsl.g:20933:3: rule__Type_definition__Group_3_1__0\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_3_1__0();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n\n after(grammarAccess.getType_definitionAccess().getGroup_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": "56caedac09d60fd9424964fa3274063b", "score": "0.70632493", "text": "public final void rule__Type_definition__Group_17_2_11__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22863:1: ( rule__Type_definition__Group_17_2_11__1__Impl rule__Type_definition__Group_17_2_11__2 )\n // InternalMyDsl.g:22864:2: rule__Type_definition__Group_17_2_11__1__Impl rule__Type_definition__Group_17_2_11__2\n {\n pushFollow(FOLLOW_10);\n rule__Type_definition__Group_17_2_11__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_11__2();\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": "1ed8a9a3f2b81bfb34b630450716e177", "score": "0.7061942", "text": "public final void rule__Type_definition__Group_16__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22188:1: ( rule__Type_definition__Group_16__3__Impl )\n // InternalMyDsl.g:22189:2: rule__Type_definition__Group_16__3__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_16__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": "8d9a9d432e6660857792e55207e419ce", "score": "0.70563954", "text": "public final void rule__Type_definition__Group_3_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:20973:1: ( rule__Type_definition__Group_3_1__1__Impl rule__Type_definition__Group_3_1__2 )\n // InternalMyDsl.g:20974:2: rule__Type_definition__Group_3_1__1__Impl rule__Type_definition__Group_3_1__2\n {\n pushFollow(FOLLOW_45);\n rule__Type_definition__Group_3_1__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_3_1__2();\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": "de215e44c823efa5477a4c4437d1888c", "score": "0.7034417", "text": "public final void rule__Type_definition__Group_4__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21081:1: ( rule__Type_definition__Group_4__0__Impl rule__Type_definition__Group_4__1 )\n // InternalMyDsl.g:21082:2: rule__Type_definition__Group_4__0__Impl rule__Type_definition__Group_4__1\n {\n pushFollow(FOLLOW_27);\n rule__Type_definition__Group_4__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_4__1();\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": "a775ce08d442ae5359387f7a157388aa", "score": "0.7034247", "text": "public final void rule__Type_definition__Group_17_2_11__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22836:1: ( rule__Type_definition__Group_17_2_11__0__Impl rule__Type_definition__Group_17_2_11__1 )\n // InternalMyDsl.g:22837:2: rule__Type_definition__Group_17_2_11__0__Impl rule__Type_definition__Group_17_2_11__1\n {\n pushFollow(FOLLOW_27);\n rule__Type_definition__Group_17_2_11__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_11__1();\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": "0a6e62ecd419683c28e12fecb38231cd", "score": "0.70280963", "text": "public final void rule__Type_definition__Group_10__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21470:1: ( ( ( rule__Type_definition__Group_10_1__0 )? ) )\n // InternalMyDsl.g:21471:1: ( ( rule__Type_definition__Group_10_1__0 )? )\n {\n // InternalMyDsl.g:21471:1: ( ( rule__Type_definition__Group_10_1__0 )? )\n // InternalMyDsl.g:21472:2: ( rule__Type_definition__Group_10_1__0 )?\n {\n before(grammarAccess.getType_definitionAccess().getGroup_10_1()); \n // InternalMyDsl.g:21473:2: ( rule__Type_definition__Group_10_1__0 )?\n int alt150=2;\n int LA150_0 = input.LA(1);\n\n if ( (LA150_0==113) ) {\n alt150=1;\n }\n switch (alt150) {\n case 1 :\n // InternalMyDsl.g:21473:3: rule__Type_definition__Group_10_1__0\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_10_1__0();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n\n after(grammarAccess.getType_definitionAccess().getGroup_10_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": "2b26aca8ff1a311d556dcdaa84e94528", "score": "0.7027795", "text": "public final void rule__Type_definition__Group_3_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:20946:1: ( rule__Type_definition__Group_3_1__0__Impl rule__Type_definition__Group_3_1__1 )\n // InternalMyDsl.g:20947:2: rule__Type_definition__Group_3_1__0__Impl rule__Type_definition__Group_3_1__1\n {\n pushFollow(FOLLOW_12);\n rule__Type_definition__Group_3_1__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_3_1__1();\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": "e770d66c3618d007a8e2270d9c1081ac", "score": "0.70246166", "text": "public final void rule__Type_definition__Group_14__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21837:1: ( rule__Type_definition__Group_14__1__Impl rule__Type_definition__Group_14__2 )\n // InternalMyDsl.g:21838:2: rule__Type_definition__Group_14__1__Impl rule__Type_definition__Group_14__2\n {\n pushFollow(FOLLOW_10);\n rule__Type_definition__Group_14__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_14__2();\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": "c291a5d87b753ddd630e20382a1043c9", "score": "0.702067", "text": "public final void rule__Type_definition__Group_17_2_3_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22377:1: ( rule__Type_definition__Group_17_2_3_1__0__Impl rule__Type_definition__Group_17_2_3_1__1 )\n // InternalMyDsl.g:22378:2: rule__Type_definition__Group_17_2_3_1__0__Impl rule__Type_definition__Group_17_2_3_1__1\n {\n pushFollow(FOLLOW_12);\n rule__Type_definition__Group_17_2_3_1__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_3_1__1();\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": "4607b33da68614633f45ef03b251abf9", "score": "0.7020339", "text": "public final void rule__Type_definition__Group_10_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21486:1: ( rule__Type_definition__Group_10_1__0__Impl rule__Type_definition__Group_10_1__1 )\n // InternalMyDsl.g:21487:2: rule__Type_definition__Group_10_1__0__Impl rule__Type_definition__Group_10_1__1\n {\n pushFollow(FOLLOW_12);\n rule__Type_definition__Group_10_1__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_10_1__1();\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": "d96deec8291c3d844d12af1b221ed105", "score": "0.70195276", "text": "public final void rule__Type_definition__Group_17_2_12__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:23037:1: ( ( ( rule__Type_definition__Group_17_2_12_3__0 )? ) )\n // InternalMyDsl.g:23038:1: ( ( rule__Type_definition__Group_17_2_12_3__0 )? )\n {\n // InternalMyDsl.g:23038:1: ( ( rule__Type_definition__Group_17_2_12_3__0 )? )\n // InternalMyDsl.g:23039:2: ( rule__Type_definition__Group_17_2_12_3__0 )?\n {\n before(grammarAccess.getType_definitionAccess().getGroup_17_2_12_3()); \n // InternalMyDsl.g:23040:2: ( rule__Type_definition__Group_17_2_12_3__0 )?\n int alt156=2;\n int LA156_0 = input.LA(1);\n\n if ( (LA156_0==123) ) {\n alt156=1;\n }\n switch (alt156) {\n case 1 :\n // InternalMyDsl.g:23040:3: rule__Type_definition__Group_17_2_12_3__0\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_12_3__0();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n\n after(grammarAccess.getType_definitionAccess().getGroup_17_2_12_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": "445fe75fbe2b344e6d9faf53202b72e0", "score": "0.70173514", "text": "public final void rule__Type_definition__Group_11__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21567:1: ( rule__Type_definition__Group_11__0__Impl rule__Type_definition__Group_11__1 )\n // InternalMyDsl.g:21568:2: rule__Type_definition__Group_11__0__Impl rule__Type_definition__Group_11__1\n {\n pushFollow(FOLLOW_27);\n rule__Type_definition__Group_11__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_11__1();\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": "e0cc7c500f5670046dc78a408ceb8d47", "score": "0.70158225", "text": "public final void rule__Validation_definition__Group__6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:29425:1: ( rule__Validation_definition__Group__6__Impl )\n // InternalMyDsl.g:29426:2: rule__Validation_definition__Group__6__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Validation_definition__Group__6__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": "667a58f88401425054551bc4d856f8d2", "score": "0.70022345", "text": "public final void rule__Type_definition__Group_14__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21810:1: ( rule__Type_definition__Group_14__0__Impl rule__Type_definition__Group_14__1 )\n // InternalMyDsl.g:21811:2: rule__Type_definition__Group_14__0__Impl rule__Type_definition__Group_14__1\n {\n pushFollow(FOLLOW_27);\n rule__Type_definition__Group_14__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_14__1();\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": "bbfeffffd9d655fd343931b15a3e3e95", "score": "0.69990987", "text": "public final void rule__Type_definition__Group__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalPascal.g:3622:1: ( rule__Type_definition__Group__0__Impl rule__Type_definition__Group__1 )\r\n // InternalPascal.g:3623:2: rule__Type_definition__Group__0__Impl rule__Type_definition__Group__1\r\n {\r\n pushFollow(FOLLOW_15);\r\n rule__Type_definition__Group__0__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FOLLOW_2);\r\n rule__Type_definition__Group__1();\r\n\r\n state._fsp--;\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": "2f6ad74ad2de924839a28da80326f7db", "score": "0.69981253", "text": "public final void rule__Type_definition__Group_17_2_5_1__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22632:1: ( ( ( rule__Type_definition__Group_17_2_5_1_2__0 )? ) )\n // InternalMyDsl.g:22633:1: ( ( rule__Type_definition__Group_17_2_5_1_2__0 )? )\n {\n // InternalMyDsl.g:22633:1: ( ( rule__Type_definition__Group_17_2_5_1_2__0 )? )\n // InternalMyDsl.g:22634:2: ( rule__Type_definition__Group_17_2_5_1_2__0 )?\n {\n before(grammarAccess.getType_definitionAccess().getGroup_17_2_5_1_2()); \n // InternalMyDsl.g:22635:2: ( rule__Type_definition__Group_17_2_5_1_2__0 )?\n int alt155=2;\n int LA155_0 = input.LA(1);\n\n if ( (LA155_0==115) ) {\n alt155=1;\n }\n switch (alt155) {\n case 1 :\n // InternalMyDsl.g:22635:3: rule__Type_definition__Group_17_2_5_1_2__0\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_5_1_2__0();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n\n after(grammarAccess.getType_definitionAccess().getGroup_17_2_5_1_2()); \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": "c9bdabeff9edb90be6ecf93f6bc6aaa8", "score": "0.69970596", "text": "public final void rule__XRelationalExpression__Group_1_0_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalSequence.g:4684:1: ( rule__XRelationalExpression__Group_1_0_0_0__1__Impl )\n // InternalSequence.g:4685:2: rule__XRelationalExpression__Group_1_0_0_0__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__XRelationalExpression__Group_1_0_0_0__1__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": "8f9017514c68677d29a1c4924ba86b73", "score": "0.6991253", "text": "public final void rule__Exec_definition__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:19332:1: ( rule__Exec_definition__Group__1__Impl rule__Exec_definition__Group__2 )\n // InternalMyDsl.g:19333:2: rule__Exec_definition__Group__1__Impl rule__Exec_definition__Group__2\n {\n pushFollow(FOLLOW_12);\n rule__Exec_definition__Group__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Exec_definition__Group__2();\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": "76e586db3ade24b84fc19876f1786669", "score": "0.6971607", "text": "public final void rule__ImplementationBody__Group__2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalAadlV3.g:7267:1: ( rule__ImplementationBody__Group__2__Impl )\r\n // InternalAadlV3.g:7268:2: rule__ImplementationBody__Group__2__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__ImplementationBody__Group__2__Impl();\r\n\r\n state._fsp--;\r\n 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 \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "72420978c938cbf27b59787731608e0b", "score": "0.6967742", "text": "public final void rule__Term__Group_1__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:3042:1: ( rule__Term__Group_1__1__Impl )\r\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:3043:2: rule__Term__Group_1__1__Impl\r\n {\r\n pushFollow(FOLLOW_rule__Term__Group_1__1__Impl_in_rule__Term__Group_1__16217);\r\n rule__Term__Group_1__1__Impl();\r\n\r\n state._fsp--;\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": "394732b7bfdf85788731ccdf488379c3", "score": "0.6965112", "text": "public final void rule__Implementation_type_definition__Group__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:29518:1: ( ( ( rule__Implementation_type_definition__StringAssignment_2 ) ) )\n // InternalMyDsl.g:29519:1: ( ( rule__Implementation_type_definition__StringAssignment_2 ) )\n {\n // InternalMyDsl.g:29519:1: ( ( rule__Implementation_type_definition__StringAssignment_2 ) )\n // InternalMyDsl.g:29520:2: ( rule__Implementation_type_definition__StringAssignment_2 )\n {\n before(grammarAccess.getImplementation_type_definitionAccess().getStringAssignment_2()); \n // InternalMyDsl.g:29521:2: ( rule__Implementation_type_definition__StringAssignment_2 )\n // InternalMyDsl.g:29521:3: rule__Implementation_type_definition__StringAssignment_2\n {\n pushFollow(FOLLOW_2);\n rule__Implementation_type_definition__StringAssignment_2();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getImplementation_type_definitionAccess().getStringAssignment_2()); \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": "8414fc90bdd04a1dec3de94cc6318afb", "score": "0.69600105", "text": "public final void rule__Type_definition__Group_10_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21513:1: ( rule__Type_definition__Group_10_1__1__Impl rule__Type_definition__Group_10_1__2 )\n // InternalMyDsl.g:21514:2: rule__Type_definition__Group_10_1__1__Impl rule__Type_definition__Group_10_1__2\n {\n pushFollow(FOLLOW_28);\n rule__Type_definition__Group_10_1__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_10_1__2();\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": "403f9ad911fd7c28ebd2e42f81177dd1", "score": "0.69575864", "text": "public final void rule__XRelationalExpression__Group_1_1_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalSequence.g:4819:1: ( rule__XRelationalExpression__Group_1_1_0_0__1__Impl )\n // InternalSequence.g:4820:2: rule__XRelationalExpression__Group_1_1_0_0__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__XRelationalExpression__Group_1_1_0_0__1__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": "cbd5e4427d535ecb91191a2f8e9520cb", "score": "0.6954363", "text": "public final void rule__ImplementationBody__Group__2__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalAadlV3.g:7278:1: ( ( 'end' ) )\r\n // InternalAadlV3.g:7279:1: ( 'end' )\r\n {\r\n // InternalAadlV3.g:7279:1: ( 'end' )\r\n // InternalAadlV3.g:7280:2: 'end'\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getImplementationBodyAccess().getEndKeyword_2()); \r\n }\r\n match(input,57,FOLLOW_2); if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getImplementationBodyAccess().getEndKeyword_2()); \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": "3f335ec691a43c4f8808c0a963f30bf5", "score": "0.6952594", "text": "public final void rule__Implementation_type_definition__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:29544:1: ( ( ';' ) )\n // InternalMyDsl.g:29545:1: ( ';' )\n {\n // InternalMyDsl.g:29545:1: ( ';' )\n // InternalMyDsl.g:29546:2: ';'\n {\n before(grammarAccess.getImplementation_type_definitionAccess().getSemicolonKeyword_3()); \n match(input,20,FOLLOW_2); \n after(grammarAccess.getImplementation_type_definitionAccess().getSemicolonKeyword_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": "c4f478927faef04e931403204e0c3c81", "score": "0.6951117", "text": "public final void rule__Type_definition__Group_17_2_3_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22404:1: ( rule__Type_definition__Group_17_2_3_1__1__Impl rule__Type_definition__Group_17_2_3_1__2 )\n // InternalMyDsl.g:22405:2: rule__Type_definition__Group_17_2_3_1__1__Impl rule__Type_definition__Group_17_2_3_1__2\n {\n pushFollow(FOLLOW_45);\n rule__Type_definition__Group_17_2_3_1__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_3_1__2();\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": "ed7b7cd155d758cd6fd7b4fa8837c80f", "score": "0.6947543", "text": "public final void rule__Type_definition__Group_13__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21783:1: ( rule__Type_definition__Group_13__3__Impl )\n // InternalMyDsl.g:21784:2: rule__Type_definition__Group_13__3__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_13__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": "055eb57bad66b1664b8d8428c47fce4a", "score": "0.6937274", "text": "public final void rule__Aggregate_definition__Group_6_1_2_0_1_3__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:31025:1: ( rule__Aggregate_definition__Group_6_1_2_0_1_3__1__Impl )\n // InternalMyDsl.g:31026:2: rule__Aggregate_definition__Group_6_1_2_0_1_3__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Aggregate_definition__Group_6_1_2_0_1_3__1__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": "2bb1ce1234183a6592a3f8c8587e46ec", "score": "0.6930533", "text": "public final void rule__Type_definition__Group_17_2_5__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22550:1: ( ( ( rule__Type_definition__Group_17_2_5_1__0 )? ) )\n // InternalMyDsl.g:22551:1: ( ( rule__Type_definition__Group_17_2_5_1__0 )? )\n {\n // InternalMyDsl.g:22551:1: ( ( rule__Type_definition__Group_17_2_5_1__0 )? )\n // InternalMyDsl.g:22552:2: ( rule__Type_definition__Group_17_2_5_1__0 )?\n {\n before(grammarAccess.getType_definitionAccess().getGroup_17_2_5_1()); \n // InternalMyDsl.g:22553:2: ( rule__Type_definition__Group_17_2_5_1__0 )?\n int alt154=2;\n int LA154_0 = input.LA(1);\n\n if ( (LA154_0==113) ) {\n alt154=1;\n }\n switch (alt154) {\n case 1 :\n // InternalMyDsl.g:22553:3: rule__Type_definition__Group_17_2_5_1__0\n {\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_5_1__0();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n\n after(grammarAccess.getType_definitionAccess().getGroup_17_2_5_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": "f40b4bf2df2952081525ad41776f3bc3", "score": "0.69229174", "text": "public final void rule__Expression__Group_1_0_0__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:2853:1: ( rule__Expression__Group_1_0_0__1__Impl )\r\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:2854:2: rule__Expression__Group_1_0_0__1__Impl\r\n {\r\n pushFollow(FOLLOW_rule__Expression__Group_1_0_0__1__Impl_in_rule__Expression__Group_1_0_0__15849);\r\n rule__Expression__Group_1_0_0__1__Impl();\r\n\r\n state._fsp--;\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": "3cdd7e82492ea3a8b74b09ee19e31513", "score": "0.69102377", "text": "public final void rule__Type_definition__Group_3_1__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:21000:1: ( rule__Type_definition__Group_3_1__2__Impl rule__Type_definition__Group_3_1__3 )\n // InternalMyDsl.g:21001:2: rule__Type_definition__Group_3_1__2__Impl rule__Type_definition__Group_3_1__3\n {\n pushFollow(FOLLOW_12);\n rule__Type_definition__Group_3_1__2__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_3_1__3();\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": "16bc0783f287d83187dc7e2281538170", "score": "0.6896395", "text": "public final void rule__XRelationalExpression__Group_1_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalSequence.g:4603:1: ( rule__XRelationalExpression__Group_1_0__1__Impl )\n // InternalSequence.g:4604:2: rule__XRelationalExpression__Group_1_0__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__XRelationalExpression__Group_1_0__1__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": "73a40fe07f482ab4c7d7b34843c5b7cf", "score": "0.6892073", "text": "public final void rule__Term__Group__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:2981:1: ( rule__Term__Group__1__Impl )\r\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:2982:2: rule__Term__Group__1__Impl\r\n {\r\n pushFollow(FOLLOW_rule__Term__Group__1__Impl_in_rule__Term__Group__16095);\r\n rule__Term__Group__1__Impl();\r\n\r\n state._fsp--;\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": "d7b82eec4bee8a88e940d67fa45e5378", "score": "0.6886802", "text": "public final void rule__XRelationalExpression__Group_1_1_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalSequence.g:4765:1: ( rule__XRelationalExpression__Group_1_1_0__0__Impl )\n // InternalSequence.g:4766:2: rule__XRelationalExpression__Group_1_1_0__0__Impl\n {\n pushFollow(FOLLOW_2);\n rule__XRelationalExpression__Group_1_1_0__0__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": "d2343986a4324c60008d648db26f764e", "score": "0.6886253", "text": "public final void rule__Aggregate_definition__Group_6_1_2_0__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:30971:1: ( rule__Aggregate_definition__Group_6_1_2_0__2__Impl )\n // InternalMyDsl.g:30972:2: rule__Aggregate_definition__Group_6_1_2_0__2__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Aggregate_definition__Group_6_1_2_0__2__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": "3698f1a9d7d89f0c663a34fed6fbb80d", "score": "0.6879921", "text": "public final void rule__Decl__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMGPL.g:1372:1: ( rule__Decl__Group__1__Impl )\n // InternalMGPL.g:1373:2: rule__Decl__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Decl__Group__1__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": "09e15b2a27e95c22097de1bc7c3b38bf", "score": "0.68757606", "text": "public final void rule__Expression__Group_1_0_1__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:2918:1: ( rule__Expression__Group_1_0_1__1__Impl )\r\n // ../bdi.xtext.example.mydsl.ui/src-gen/org/xtext/example/mydsl/ui/contentassist/antlr/internal/InternalMyDsl.g:2919:2: rule__Expression__Group_1_0_1__1__Impl\r\n {\r\n pushFollow(FOLLOW_rule__Expression__Group_1_0_1__1__Impl_in_rule__Expression__Group_1_0_1__15973);\r\n rule__Expression__Group_1_0_1__1__Impl();\r\n\r\n state._fsp--;\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": "e37484d92b6e9abadd1c80ed521a156b", "score": "0.6874414", "text": "public final void rule__Aggregate_definition__Group_6_1_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:30883:1: ( rule__Aggregate_definition__Group_6_1_1__1__Impl )\n // InternalMyDsl.g:30884:2: rule__Aggregate_definition__Group_6_1_1__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Aggregate_definition__Group_6_1_1__1__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": "c34d39227f994e3c4793c307d1765e68", "score": "0.6871992", "text": "public final void rule__Type_definition__Group__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalPascal.g:3649:1: ( rule__Type_definition__Group__1__Impl rule__Type_definition__Group__2 )\r\n // InternalPascal.g:3650:2: rule__Type_definition__Group__1__Impl rule__Type_definition__Group__2\r\n {\r\n pushFollow(FOLLOW_17);\r\n rule__Type_definition__Group__1__Impl();\r\n\r\n state._fsp--;\r\n\r\n pushFollow(FOLLOW_2);\r\n rule__Type_definition__Group__2();\r\n\r\n state._fsp--;\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": "2e516786b1f155cce69e185b864163ca", "score": "0.6869694", "text": "public final void rule__Type_definition__Group_17_2_10__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:22755:1: ( rule__Type_definition__Group_17_2_10__1__Impl rule__Type_definition__Group_17_2_10__2 )\n // InternalMyDsl.g:22756:2: rule__Type_definition__Group_17_2_10__1__Impl rule__Type_definition__Group_17_2_10__2\n {\n pushFollow(FOLLOW_10);\n rule__Type_definition__Group_17_2_10__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Type_definition__Group_17_2_10__2();\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": "f1f4c980e11c096b19d8fe5a827ec473", "score": "0.68682414", "text": "public final void rule__To_function_definition__Group_2_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:31484:1: ( rule__To_function_definition__Group_2_1__1__Impl )\n // InternalMyDsl.g:31485:2: rule__To_function_definition__Group_2_1__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__To_function_definition__Group_2_1__1__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": "" } ]
2acc2a78065b49b849739b02cae1f6b3
Returns the result of interpreting the object as an instance of 'Attribute Definition Boolean'. This implementation returns null; returning a nonnull result will terminate the switch.
[ { "docid": "2107f53de5c5a8c2fd93904c8538e76c", "score": "0.73201144", "text": "public T2 caseAttributeDefinitionBoolean( AttributeDefinitionBoolean object ) {\n return null;\n }", "title": "" } ]
[ { "docid": "d3abe2d4abf6967d06b3eebfa7fe882a", "score": "0.669348", "text": "public T2 caseAttributeValueBoolean( AttributeValueBoolean object ) {\n return null;\n }", "title": "" }, { "docid": "9003f6a76c09d4b73c686d2a74f46888", "score": "0.6450159", "text": "public Boolean getBoolAttribute(String name);", "title": "" }, { "docid": "e0e9dc577e249c761a51337cebb41f9f", "score": "0.63813156", "text": "public T2 caseDatatypeDefinitionBoolean( DatatypeDefinitionBoolean object ) {\n return null;\n }", "title": "" }, { "docid": "f0a88614a99435d01f3c4dfdea539f3b", "score": "0.6095586", "text": "public TerminalRule getBOOLEANRule() {\n\t\treturn tBOOLEAN;\n\t}", "title": "" }, { "docid": "f0a88614a99435d01f3c4dfdea539f3b", "score": "0.6095586", "text": "public TerminalRule getBOOLEANRule() {\n\t\treturn tBOOLEAN;\n\t}", "title": "" }, { "docid": "59c9fa17a3de1b304cc23873e2fc3b4d", "score": "0.59791386", "text": "public abstract boolean getBoolean();", "title": "" }, { "docid": "a1efa7b17c72a7ba7a5af9fa4a9d693f", "score": "0.59415233", "text": "@Override\n public Boolean getBoolean() {\n return (Boolean) DataType.BOOLEAN.getValueIfType(this.getObject());\n }", "title": "" }, { "docid": "8dc80c390be56bb8dbf49d676ac3879b", "score": "0.5909405", "text": "@Nullable\n public Boolean toBoolean() {\n return this == UNKNOWN ? null : this == NULLABLE;\n }", "title": "" }, { "docid": "6175c44c0cfab8b74e7fe2c025b628b2", "score": "0.5904907", "text": "Boolean getBoolean();", "title": "" }, { "docid": "335013589bc7c7221bc6ec69da57a725", "score": "0.5902103", "text": "org.hl7.fhir.Boolean getAsNeededBoolean();", "title": "" }, { "docid": "e39ae62b0a488884765a4f0687895643", "score": "0.57899266", "text": "boolean getBoolValue();", "title": "" }, { "docid": "272e728ecc157a8223a92f86ca2b4722", "score": "0.5786573", "text": "public Boolean get_boolean(){\r\n\t\treturn this.b;\r\n\t}", "title": "" }, { "docid": "15833dc8f96281e608793467bf64cde2", "score": "0.5785984", "text": "public T caseBooleanFunctionDefinition(BooleanFunctionDefinition object) {\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "a0f8ce6f45e4d262bdd79ac17f1b2692", "score": "0.57850015", "text": "public static boolean getAttributeValueAsBoolean (NamedNodeMap attribs, String attributeName, boolean defValue) throws\r\n DOMException {\r\n String v = getAttributeValue (attribs, attributeName);\r\n boolean result = defValue;\r\n\r\n if (v != null) {\r\n try {\r\n result = \"true\".equalsIgnoreCase(v) || \"yes\".equalsIgnoreCase(v);\r\n } catch (NumberFormatException ex) {\r\n }\r\n }\r\n return result;\r\n }", "title": "" }, { "docid": "7cdedeafafa5305bb32f3bb6571fecaf", "score": "0.575249", "text": "@Override\n public boolean getAsBoolean() {\n\n // if this datum isn't a boolean or integer type, we've got an error...\n GeneralDataType gt = type.generalType();\n Checks.isTrue( (gt == SignedInteger) || (gt == UnsignedInteger) || (gt == Boolean),\n \"Attempted to get boolean from simple datum that is neither boolean nor integer\" );\n\n // get our velue...\n return (getAsLong() != 0);\n }", "title": "" }, { "docid": "3bf0c82d00247c8f28eba4f65335d4bc", "score": "0.571387", "text": "boolean getBool();", "title": "" }, { "docid": "b79ae173366225fda1cea7364cf15471", "score": "0.5707843", "text": "boolean getBoolean();", "title": "" }, { "docid": "587b24d072fdf945f5b2db9fe2cb637d", "score": "0.5689878", "text": "public Optional<Boolean> isActive()\n {\n return getBooleanAttribute(AttributeNames.RFC7643.ACTIVE);\n }", "title": "" }, { "docid": "7c2f0976d449f77cee6c5df5852a08d6", "score": "0.568087", "text": "@Override\n public boolean getElementAsBoolean() throws XMLStreamException\n {\n ValueDecoderFactory.BooleanDecoder dec = _decoderFactory().getBooleanDecoder();\n getElementAs(dec);\n return dec.getValue();\n }", "title": "" }, { "docid": "b63683b1fb51fa84aba32f6b8b75e017", "score": "0.56778914", "text": "public abstract boolean supportsBoolean();", "title": "" }, { "docid": "1755520d45561fdb50391b5138d0b78d", "score": "0.5667233", "text": "public boolean getBool()\n { \t\n\t return b;\t\n }", "title": "" }, { "docid": "cc8af610ddebb2f776e48e6caaa97cf4", "score": "0.5653847", "text": "public static boolean getAttributeAsBoolean(XmlPullParser parser, String attributeName, boolean defaultValue)\n\t\t\tthrows Exception {\n\t\t// parser.getText()\n\t\tString value = parser.getAttributeValue(null, attributeName);\n\n\t\tif (!StringUtils.hasText(value)) {\n\t\t\treturn defaultValue;\n\t\t}\n\n\t\treturn Boolean.parseBoolean(value);\n\t}", "title": "" }, { "docid": "a37f6014df05149e4228c1878517ce00", "score": "0.56393313", "text": "TDataTypes getBoolean();", "title": "" }, { "docid": "567eed36bcda7a0011614d92c810a869", "score": "0.56356883", "text": "@Override\n public Class<Boolean> getReturnType() {\n return Boolean.class;\n }", "title": "" }, { "docid": "1fd28f1616e196891daa45fbeb9b315c", "score": "0.5598548", "text": "public Boolean getBoolean(Object object) throws KettleValueException;", "title": "" }, { "docid": "07a125185bd6c0866ec7906674ba3c8f", "score": "0.55870616", "text": "boolean BOOLEAN()\n {\n if (saved(\"BOOLEAN\",BOOLEAN)) return reuse();\n if (!is(true,()->Word(),()->next(\"boolean\"))) return reject();\n Spacing();\n return accept();\n }", "title": "" }, { "docid": "c14b45603a0c91a49a5262de5e64e169", "score": "0.5580531", "text": "@Override\n protected AttributeDefinitionBoolean getFixture() {\n return (AttributeDefinitionBoolean)fixture;\n }", "title": "" }, { "docid": "09a88da4f911380053aba40892cdd65b", "score": "0.55491805", "text": "public final boolean execute() {\r\n\t\tboolean result = false;\r\n\t\tif (!this.attributed && this.itsAttrMapping == null)\r\n\t\t\tresult = true;\r\n\t\telse if (this.attributed && this.itsAttrMapping != null)\r\n\t\t\tresult = true;\r\n\t\telse\r\n\t\t\tresult = false;\r\n//\t\tSystem.out.println(\"Constraint_InheritAttribute.execute: \"+result);\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "fa5e52053700868dd3f276b76a901ac2", "score": "0.55439764", "text": "public boolean isAttributable()\n\t{\n\t\treturn attributable;\n\t}", "title": "" }, { "docid": "2e74f7b0a3d6fec0f00426990953cb62", "score": "0.55225104", "text": "boolean getValue();", "title": "" }, { "docid": "2e74f7b0a3d6fec0f00426990953cb62", "score": "0.55225104", "text": "boolean getValue();", "title": "" }, { "docid": "3fcbfe0bda9926abddffccbdde371f1a", "score": "0.55205363", "text": "boolean getAfl();", "title": "" }, { "docid": "5dc4d60f321a61e73fe3dd354c52466c", "score": "0.5515957", "text": "public T2 caseAttributeDefinition( AttributeDefinition object ) {\n return null;\n }", "title": "" }, { "docid": "318b762b9acc1616e72e7c68529952fc", "score": "0.55044967", "text": "public boolean booleanVal() {\n\t\t\tassert kind == Kind.BOOLEAN_LITERAL;\n\t\t\treturn getText().equals(\"true\");\n\t\t}", "title": "" }, { "docid": "ee44271062cd6347890db248ce39a4d9", "score": "0.54892355", "text": "public final C22903bl<Boolean> mo60072b() {\n if (this.f60866o == null) {\n this.f60866o = new C22903bl<>(\"has_click_like_self_visible_guide\", Boolean.valueOf(false));\n }\n return this.f60866o;\n }", "title": "" }, { "docid": "36d39df87f26fd390ee2bb3a1b729862", "score": "0.5486357", "text": "public final C22903bl<Boolean> mo60039I() {\n if (this.f60845af == null) {\n this.f60845af = new C22903bl<>(\"need_follow_google_ads_setting\", Boolean.valueOf(false));\n }\n return this.f60845af;\n }", "title": "" }, { "docid": "5a3ff6b7853d48744c810f2fea8ec7b4", "score": "0.5485925", "text": "public boolean getB() {\n if (valueCase_ == 5) {\n return (java.lang.Boolean) value_;\n }\n return false;\n }", "title": "" }, { "docid": "7a4891de24f6ecfad4c34bdc51c1234a", "score": "0.5485411", "text": "public boolean value() {\n return value;\n }", "title": "" }, { "docid": "110638f566e9196c1178136eaca91293", "score": "0.54809153", "text": "public boolean getAttributeBoolean( String code ) throws KettleException;", "title": "" }, { "docid": "3cff47d5643404f357b38a7639492234", "score": "0.54535383", "text": "@NotNull\n public static Nullness fromBoolean(@Nullable Boolean fact) {\n return fact == null ? UNKNOWN : fact ? NULLABLE : NOT_NULL;\n }", "title": "" }, { "docid": "9715a2e621134ccbaa2e677a60f582ce", "score": "0.544239", "text": "@Override\n\tpublic IDatatype cast(String target) { \n\t\tif (target.equals(RDF.xsdboolean)){\n\t\t\ttry {\n\t\t\t\tFloat f = new Float(getLabel());\n\t\t\t\tif (f == 0) return CoreseBoolean.FALSE;\n\t\t\t\telse if (f == 1) return CoreseBoolean.TRUE;\n\t\t\t\telse return null;\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\treturn super.cast(target); \n\t\t\t}\t\t \n\t\t} else {\n\t\t\treturn super.cast(target); \n\t\t}\n\t}", "title": "" }, { "docid": "c46a4f700c8a7bf5acfd0de0cbea5098", "score": "0.5442054", "text": "public RubyBoolean getTrue() {\n return trueObject;\n }", "title": "" }, { "docid": "67c6e3971aad80745365c2a5c0e4b28c", "score": "0.54369724", "text": "public abstract boolean isBoolean();", "title": "" }, { "docid": "7e3baa3bae6260cc280744dc2131715b", "score": "0.5436931", "text": "boolean hasAttributeId();", "title": "" }, { "docid": "7e3baa3bae6260cc280744dc2131715b", "score": "0.5436931", "text": "boolean hasAttributeId();", "title": "" }, { "docid": "e3c725dd6948b748278be4e390f34c4d", "score": "0.54342335", "text": "public boolean getB() {\n if (valueCase_ == 5) {\n return (java.lang.Boolean) value_;\n }\n return false;\n }", "title": "" }, { "docid": "8c134b2244b7850ec7f183015334431d", "score": "0.54246366", "text": "Boolean createBoolean();", "title": "" }, { "docid": "a0f18a399b0239fa79ecc6c76e294f2c", "score": "0.5421083", "text": "public Boolean value() {\n return this.value;\n }", "title": "" }, { "docid": "a0f18a399b0239fa79ecc6c76e294f2c", "score": "0.5421083", "text": "public Boolean value() {\n return this.value;\n }", "title": "" }, { "docid": "a0f18a399b0239fa79ecc6c76e294f2c", "score": "0.5421083", "text": "public Boolean value() {\n return this.value;\n }", "title": "" }, { "docid": "7ff41ec8bae032607c8a0db31cfeb2fd", "score": "0.5420545", "text": "public AttributeDefinitionBooleanTest( String name ) {\n super( name );\n }", "title": "" }, { "docid": "61869883d14914c239b4b18380983936", "score": "0.5411855", "text": "ValBool createValBool();", "title": "" }, { "docid": "3c136b74e1ef5172cdd3862047338320", "score": "0.5411215", "text": "public Boolean getForManagerBool() {\r\n/* 87 */ return Util.convertNumberToBoolean(((DeviationStatus)this.object).getForManager());\r\n/* */ }", "title": "" }, { "docid": "e8cb32d519641194fc67d2d80cdeb181", "score": "0.5407795", "text": "boolean attributeIsKnown(String attrName);", "title": "" }, { "docid": "d61114ac11d595d71e08c7edd2171a84", "score": "0.5399339", "text": "public Boolean readBoolean() throws IOException\n {\n final BerValue v = readBerValue( BOOLEAN );\n if ( v == null )\n {\n return null;\n }\n if ( v.id.isConstructed() )\n {\n throw new IOException( \"Invalid BOOLEAN encoding; should be primitive!\" );\n }\n return convertToBoolean( v.content );\n }", "title": "" }, { "docid": "46c292c327faab440222f3b65310fb5e", "score": "0.5395148", "text": "public boolean isBoolean(){\n return func_.getRetType() == Type.Bool;\n }", "title": "" }, { "docid": "7500500622b356efaf5d83054e9bddc2", "score": "0.5387265", "text": "public abstract String supportedBooleanName();", "title": "" }, { "docid": "7b7ce670624c144e9742bcd99dfcb300", "score": "0.5378945", "text": "public static final String getTRUE() {\n return TRUE;\n }", "title": "" }, { "docid": "d961d466b5e303ada23fb866f1b81fc9", "score": "0.53686035", "text": "BooleanResource controllable();", "title": "" }, { "docid": "8f6183e99f8b84f17fe745a77c5553dd", "score": "0.5367893", "text": "void mo84697a(Boolean bool);", "title": "" }, { "docid": "98734d151a1f3d36c3c2aaad66e87f62", "score": "0.5362652", "text": "public boolean get();", "title": "" }, { "docid": "5220f67eeb95008bd06678b670ceb9be", "score": "0.5353955", "text": "@ReflectiveMethod(name = \"bR\", types = {})\n public boolean bR(){\n return (boolean) NMSWrapper.getInstance().exec(nmsObject);\n }", "title": "" }, { "docid": "b3436c4e9e307183ee0640eab2dbc392", "score": "0.53423625", "text": "public synchronized boolean asBoolean() {\n return value;\n }", "title": "" }, { "docid": "ef1686455fffb0fed3eb16037298a7f1", "score": "0.53398883", "text": "public Boolean getTarget();", "title": "" }, { "docid": "0aa5fd507e06de80aa9964d899a8a9cb", "score": "0.53386855", "text": "public boolean booleanValue() {\n return value;\n }", "title": "" }, { "docid": "a8c9bae923525b4dc254a5800ddec0e5", "score": "0.5332287", "text": "@Override\n\tpublic boolean isBoolean() {\n\t\treturn true;\n\t}", "title": "" }, { "docid": "b5cc84f11e5be4abf3143cda1520d919", "score": "0.5324637", "text": "public T caseBoolLiteral(BoolLiteral object)\n {\n return null;\n }", "title": "" }, { "docid": "1a5f62184168f0cf17be03f82902d95f", "score": "0.5321521", "text": "public T caseParameterBoolean(ParameterBoolean object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "630d9ded87cc49aa31bc5f7e812778c6", "score": "0.53176826", "text": "public Boolean getBoolean() {\n\n if (raw instanceof Boolean) {\n return (Boolean) raw;\n } else if (raw instanceof String) {\n return Boolean.valueOf((String) raw);\n } else if (raw instanceof Number) {\n return ((Number) raw).longValue() == 1;\n }\n\n return null;\n }", "title": "" }, { "docid": "5e2b65dc96db2d0e0b65e3f57838a35e", "score": "0.53170717", "text": "public abstract C15215a mo12571b(Boolean bool);", "title": "" }, { "docid": "d7a7f9a0d97df53302b7b2a7d62f244b", "score": "0.53140825", "text": "public boolean parseBoolean() {\n\t\tbyte next = dataBuffer.get();\n\t\tboolean boolValue = !(next == 0);\n\t\treturn boolValue;\n\t}", "title": "" }, { "docid": "7ec44d0a268d521e298cfd6cdd170e01", "score": "0.5306384", "text": "boolean shadowAsBoolean();", "title": "" }, { "docid": "0fa51707052ba555d1584dae566bdcea", "score": "0.5301701", "text": "public final C22903bl<Boolean> mo60036F() {\n if (this.f60871t == null) {\n this.f60871t = new C22903bl<>(\"attract_user_without_login\", Boolean.valueOf(false));\n }\n return this.f60871t;\n }", "title": "" }, { "docid": "1cd2346dab9a8bb729ee5f879d4f0ef3", "score": "0.5299253", "text": "public T2 caseAttributeDefinitionSimple( AttributeDefinitionSimple object ) {\n return null;\n }", "title": "" }, { "docid": "aef31bb356b95084d386de4ff5bd026f", "score": "0.5289728", "text": "boolean hasDefvalue();", "title": "" }, { "docid": "a65eacd6f0f58814652c0f682525b699", "score": "0.5285687", "text": "public Boolean getBoolean (String name)\n {\n return (Boolean) getData(name);\n }", "title": "" }, { "docid": "9b84ca46c445cfbcd6f1383a52dfeef8", "score": "0.5285239", "text": "public boolean getValue() {\r\n\t\treturn value;\r\n\t}", "title": "" }, { "docid": "faa59949454fef8c17420df4494d5daa", "score": "0.52831876", "text": "boolean getBoolean(String name, boolean defaultValue);", "title": "" }, { "docid": "56adb87b9b684da3515522a63859845f", "score": "0.528023", "text": "public Boolean getReflect(){\r\n return reflect.isSelected();\r\n }", "title": "" }, { "docid": "455f085b54f8e422264429b116f4c1e0", "score": "0.5278305", "text": "boolean readBool();", "title": "" }, { "docid": "8d4eba0f3662c4711f3e89673d56c4a1", "score": "0.52755827", "text": "private Boolean getConfigBoolean (OConfigItem ci) /* {{{ */\n {\n List<OConfigValue> values;\n OConfigValue v;\n Boolean b;\n\n values = ci.getValues ();\n if (values.size () != 1)\n {\n GenericJMXLogger.logError (\"GenericJMXConfValue: The \" + ci.getKey ()\n + \" configuration option needs exactly one boolean argument.\");\n return (null);\n }\n\n v = values.get (0);\n if (v.getType () != OConfigValue.OCONFIG_TYPE_BOOLEAN)\n {\n GenericJMXLogger.logError (\"GenericJMXConfValue: The \" + ci.getKey ()\n + \" configuration option needs exactly one boolean argument.\");\n return (null);\n }\n\n return (new Boolean (v.getBoolean ()));\n }", "title": "" }, { "docid": "c3a4c6add462833643d76450b718cd0d", "score": "0.5263955", "text": "public static AttributeValue of(boolean bool) {\n return new AttributeValues.BooleanImpl(bool);\n }", "title": "" }, { "docid": "877a7610d54afc486c60ff45c77fc2b4", "score": "0.52607906", "text": "public boolean booleanValue() {\n return val;\n }", "title": "" }, { "docid": "95720794a79c0e7eb9fb464eae69d4af", "score": "0.5259332", "text": "public RubyBoolean getFalse() {\n return falseObject;\n }", "title": "" }, { "docid": "f68085c9c651cc33700d140de24ba643", "score": "0.5258975", "text": "public T caseBooleanType(BooleanType object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "42005025e8499352bafea75ac7a7a50c", "score": "0.52558106", "text": "public boolean hasTrueAttribute(String name) {\n return crc.dps.util.Test.trueValue(getAttribute(name));\n }", "title": "" }, { "docid": "1bbafee75f5baba76762dd81f095adbb", "score": "0.52553463", "text": "native public static int getTaintBoolean(boolean val);", "title": "" }, { "docid": "777216176a7cc15ba62bd2f64d5cd0c7", "score": "0.5243908", "text": "public Boolean getValue() {\n return this.value;\n }", "title": "" }, { "docid": "777216176a7cc15ba62bd2f64d5cd0c7", "score": "0.5243908", "text": "public Boolean getValue() {\n return this.value;\n }", "title": "" }, { "docid": "777216176a7cc15ba62bd2f64d5cd0c7", "score": "0.5243908", "text": "public Boolean getValue() {\n return this.value;\n }", "title": "" }, { "docid": "7a78e7db3256fe06b1716196688b3c47", "score": "0.5240141", "text": "public TerminalRule getBOOL_LITERALRule() {\n\t\treturn tBOOL_LITERAL;\n\t}", "title": "" }, { "docid": "9ee4c49c89c0cfafa9fda4ea083550d7", "score": "0.5237567", "text": "public oBoolean() {\n\t\tthis(false);\n\t}", "title": "" }, { "docid": "969dbbc208cfed95f107e6ec646d0937", "score": "0.5234481", "text": "boolean hasAttributes();", "title": "" }, { "docid": "d8d213c9b6489a4d35fa050d981f6316", "score": "0.5228936", "text": "public boolean getBoolean() throws ValueFormatException, RepositoryException;", "title": "" }, { "docid": "c90fec13cad9f5867bb2477a3234b67e", "score": "0.5225904", "text": "public boolean getBoolean() throws ValueException;", "title": "" }, { "docid": "2180a3d4b956edffea3dbec45e35430d", "score": "0.521925", "text": "public boolean getValue()\n {\n return value;\n }", "title": "" }, { "docid": "1f901fc9bdbcd1518ed5312b8c6446b4", "score": "0.5209664", "text": "public boolean hasAttributeId() {\n return fieldSetFlags()[0];\n }", "title": "" }, { "docid": "0e6a5bc671116cf94232c73b85a93242", "score": "0.52039486", "text": "@Override\n public boolean getSpecified() {\n return attrValue.specified;\n }", "title": "" }, { "docid": "0bf1f22915a964c7d4c23a10bdb85d2d", "score": "0.5202307", "text": "public static final String getFALSE() {\n return FALSE;\n }", "title": "" }, { "docid": "11a82d141d4f55ca723f1e62be233b46", "score": "0.5198043", "text": "R visitBoolean(boolean b);", "title": "" } ]
d9f8aa24d3fc72c0d502130e09da6559
Gets the value of the isSynchronous property.
[ { "docid": "427edec8d131dd8ecf64bc4ca8c4060f", "score": "0.8849998", "text": "public boolean isIsSynchronous() {\n\t\t\t\treturn isSynchronous;\n\t\t\t}", "title": "" } ]
[ { "docid": "401567b6cef49e62e8e8de5dbf4012c3", "score": "0.83393973", "text": "private synchronized boolean isSynchronous() {\n return _synchronous;\n }", "title": "" }, { "docid": "e1e628d62b923d3a4e2a8f294e0d0e13", "score": "0.8188381", "text": "public boolean isSynchronous();", "title": "" }, { "docid": "7db146f634a23baa11bbe0a5470bb5c4", "score": "0.79159534", "text": "@Override\n\tpublic boolean isSynchronous() {\n\t\treturn true;\n\t}", "title": "" }, { "docid": "b5879969e94c3411f7c0f7b73c7d577d", "score": "0.750897", "text": "public void setIsSynchronous(boolean value) {\n\t\t\t\tthis.isSynchronous = value;\n\t\t\t}", "title": "" }, { "docid": "3400eb407472b6257c7a04f9c7abf921", "score": "0.7100961", "text": "public Byte getIsSync() {\n return isSync;\n }", "title": "" }, { "docid": "bb87d0572bd01d5d0580b0735d85bcd2", "score": "0.6707567", "text": "public boolean isSyncMode() {\r\n\t\treturn syncMode;\r\n\t}", "title": "" }, { "docid": "2944f374cffb0f811371fb12ee0c5352", "score": "0.66998297", "text": "public void setSynchronous(boolean synchronous) {\n this.synchronous = synchronous;\n }", "title": "" }, { "docid": "4efe0f3cc1ab82b901c0b3474dfcb322", "score": "0.66885424", "text": "public Boolean isInSync() {\n return isInSync;\n }", "title": "" }, { "docid": "6b505eb1142e1f2f99723345e7357fa1", "score": "0.66651976", "text": "public boolean isSynchronized() {\n return isSynchronized;\n }", "title": "" }, { "docid": "7f32b017f37e66a778c2acc46863d11d", "score": "0.66479605", "text": "public boolean isSynchronous() throws JAXRException {\n synchronized (this) {\n if (!isClosed) {\n return synchronous;\n } else {\n throw new JAXRException(ResourceBundle.getBundle(\"com/sun/xml/registry/uddi/LocalStrings\").getString(\"ConnectionImpl:Connection_is_Closed\"));\n }\n }\n }", "title": "" }, { "docid": "757b80e14306ef632353b5939b1005ca", "score": "0.6562885", "text": "String getSynchronousAsString(int synchronous) {\n switch (synchronous) {\n case 0:\n return \"OFF\";\n case 1:\n return \"NORMAL\";\n case 2:\n return \"FULL\";\n case 3:\n return \"EXTRA\";\n default:\n return \"UNKNOWN\";\n }\n }", "title": "" }, { "docid": "1b656c8eceb09aa1e28f64934af7cda5", "score": "0.6520547", "text": "public SimpleBooleanProperty getSynchronize() {\n return synchronize;\n }", "title": "" }, { "docid": "47a2a8e66d19a09a48d41a25288eca96", "score": "0.6503483", "text": "public RubyBoolean sync() {\n return getRuntime().newBoolean(handler.isSync());\n }", "title": "" }, { "docid": "6b1f4fd72bf58fc7858cbc4b3e8265a5", "score": "0.6399888", "text": "public Boolean getcacheSynchAsynchronous() {\n if (!getSession().hasCacheSynchronizationManager()) {\n return Boolean.FALSE;\n }\n return Boolean.valueOf(getSession().getCacheSynchronizationManager().isAsynchronous());\n }", "title": "" }, { "docid": "1ad8ed66621b4d73c7b8295467fb05b8", "score": "0.6359349", "text": "public String getSyncFlag() {\n return (String)getAttributeInternal(SYNCFLAG);\n }", "title": "" }, { "docid": "8f20b1c614ec0aacd0056a8f0f43ec88", "score": "0.6286951", "text": "public static byte getSync() {\n return SYNC;\n }", "title": "" }, { "docid": "af6d9174ced1fef14b57eef1a05a88de", "score": "0.6264827", "text": "public boolean isSyncStop() {\n return syncStop;\n }", "title": "" }, { "docid": "47beca649b3f2362a9391c70274bb132", "score": "0.6263019", "text": "public boolean isSyncNoMultiple() {\n return syncNoMultiple;\n }", "title": "" }, { "docid": "cafbea86a364816e8151dcfbb72033ba", "score": "0.6156004", "text": "public boolean isSynchronized();", "title": "" }, { "docid": "7db3135969452936bc25d3cc6c8b3a6c", "score": "0.6114931", "text": "boolean isSynchronized();", "title": "" }, { "docid": "7db3135969452936bc25d3cc6c8b3a6c", "score": "0.6114931", "text": "boolean isSynchronized();", "title": "" }, { "docid": "17d8d5d5f8d7baa9f6e5982da5802067", "score": "0.60539436", "text": "public boolean hasSyncTime() {\n return result.hasSyncTime();\n }", "title": "" }, { "docid": "17d8d5d5f8d7baa9f6e5982da5802067", "score": "0.60539436", "text": "public boolean hasSyncTime() {\n return result.hasSyncTime();\n }", "title": "" }, { "docid": "17d8d5d5f8d7baa9f6e5982da5802067", "score": "0.60539436", "text": "public boolean hasSyncTime() {\n return result.hasSyncTime();\n }", "title": "" }, { "docid": "17d8d5d5f8d7baa9f6e5982da5802067", "score": "0.60539436", "text": "public boolean hasSyncTime() {\n return result.hasSyncTime();\n }", "title": "" }, { "docid": "17d8d5d5f8d7baa9f6e5982da5802067", "score": "0.60539436", "text": "public boolean hasSyncTime() {\n return result.hasSyncTime();\n }", "title": "" }, { "docid": "6f986f01121840c43325120230ea60f1", "score": "0.6053128", "text": "public short synchronization() {\r\n return sync;\r\n }", "title": "" }, { "docid": "50db67b9b0ba6dd32e109ea698e7b0f9", "score": "0.5995547", "text": "public boolean isReceiptSynchronous() {\n return getHeader(AS2Header.RECEIPT_DELIVERY_OPTION) == null;\n }", "title": "" }, { "docid": "7aab0c6f4a875d790a83c3f1b18b811b", "score": "0.5966058", "text": "public String getSyncType() {\n return syncType;\n }", "title": "" }, { "docid": "cc5f13dc977cb8f8dea690b10bea939e", "score": "0.5814483", "text": "public boolean isSynchronizedPeriod() {\n return synchronizedPeriod;\n }", "title": "" }, { "docid": "4040c8b5a05086af3b820ec16c248214", "score": "0.57274795", "text": "public boolean getAlwaysSendSetIsolation() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "eaa8757ba6d109b56a2ae58f35e7c1ce", "score": "0.5675828", "text": "public String getIslock() {\r\n\t\treturn islock;\r\n\t}", "title": "" }, { "docid": "8cf47a50c1d9cef68e1f1d26a6dc681f", "score": "0.55825335", "text": "public boolean isSynchedLocalTransactionAllowed() {\n return synchedLocalTransactionAllowed;\n }", "title": "" }, { "docid": "46f57fbc9f1402107d8addfc995c7bdb", "score": "0.55813026", "text": "public boolean isBlocking() {\n\t\treturn this.blocking;\n\t}", "title": "" }, { "docid": "fa6dbcecdcefa7147e64da0d2b86368a", "score": "0.55396676", "text": "@Override\n\tpublic int getSyncStatus() {\n\t\treturn _fileGroup.getSyncStatus();\n\t}", "title": "" }, { "docid": "a28368662cecab07c254f1446a941717", "score": "0.55365646", "text": "public void setSynchronized(boolean sync);", "title": "" }, { "docid": "889dbcb6889126c679d0a4f0dd52715b", "score": "0.55290794", "text": "public boolean isContinuousExecution(){\n return continousExecution;\n }", "title": "" }, { "docid": "2e367dd0e3713b7f6c5daa22cab1183e", "score": "0.5511265", "text": "public Date getSyncTime() {\n return syncTime;\n }", "title": "" }, { "docid": "d39805e62c909beda4be916bc5db2852", "score": "0.54953295", "text": "public boolean isSetSyncSettings() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SYNCSETTINGS_ISSET_ID);\n }", "title": "" }, { "docid": "65b79751a408261f532f000a8dfe8038", "score": "0.54800177", "text": "public Boolean getConsistent() {\n\t\treturn consistent;\n\t}", "title": "" }, { "docid": "199c91fff1cd3534005ef91eb54e972b", "score": "0.54785013", "text": "public boolean isCritical()\n {\n return this.critical;\n }", "title": "" }, { "docid": "f713a9dad8f50cf58cef36249ff9703b", "score": "0.54783916", "text": "public boolean isCritical() {\n return critical;\n }", "title": "" }, { "docid": "bb455020c1a148151bdf75879ef69c74", "score": "0.5456767", "text": "public boolean isSetSyncSticker() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SYNCSTICKER_ISSET_ID);\n }", "title": "" }, { "docid": "b85f5c4a935e167bcf4e92adf54fc4f9", "score": "0.54313666", "text": "public boolean isCritical() {\n return criticality;\n }", "title": "" }, { "docid": "d731fc428b5704ea711cdbdde7a271e7", "score": "0.54255575", "text": "boolean isSetSyncpercentage();", "title": "" }, { "docid": "2cf4ef7c5abb837926599d04f24a3958", "score": "0.5417378", "text": "@Attribute(desc = \"Whether the journal is synchronized when receiving transactional data\")\n boolean isJournalSyncTransactional();", "title": "" }, { "docid": "e0c263c6d7ea9c18b029c06f368289ab", "score": "0.5387947", "text": "@java.lang.Override\n public boolean getUseCumulativeTimeTableSync() {\n return useCumulativeTimeTableSync_;\n }", "title": "" }, { "docid": "713197f66da0186f785f720a76192a52", "score": "0.5387701", "text": "public void setSynchronous(boolean sync) throws JAXRException {\n synchronized (this) {\n if (!isClosed) {\n synchronous = sync;\n } else {\n throw new JAXRException(ResourceBundle.getBundle(\"com/sun/xml/registry/uddi/LocalStrings\").getString(\"ConnectionImpl:Connection_is_closed\"));\n }\n }\n }", "title": "" }, { "docid": "79583300af28d072406ae50c3af63da0", "score": "0.5382789", "text": "public void setIsSync(Byte isSync) {\n this.isSync = isSync;\n }", "title": "" }, { "docid": "874f9ea5640096fc00821578a2996553", "score": "0.5377723", "text": "public boolean isSetSyncProfile() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SYNCPROFILE_ISSET_ID);\n }", "title": "" }, { "docid": "380bb333dbf8a37088cd9fba41824ce0", "score": "0.5377328", "text": "public boolean synchronousSync(Duration timeout) {\n\t\tCuratorFramework curator = _client;\n\t\ttry {\n\t\t\t// Curator sync() is always a background operation. Use a latch to block until it\n\t\t\t// finishes.\n\t\t\tfinal CountDownLatch latch = new CountDownLatch(1);\n\t\t\tcurator.sync().inBackground(new BackgroundCallback() {\n\t\t\t\t@Override\n\t\t\t\tpublic void processResult(CuratorFramework curator, CuratorEvent event)\n\t\t\t\t\t\tthrows Exception {\n\t\t\t\t\tif (event.getType() == CuratorEventType.SYNC) {\n\t\t\t\t\t\tlatch.countDown();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}).forPath(_path);\n\n\t\t\t// Wait for sync to complete.\n\t\t\treturn latch.await(timeout.toMillis(), TimeUnit.MILLISECONDS);\n\t\t} catch (InterruptedException e) {\n\t\t\tSystem.out.println(\"Error: \" + e);\n\t\t\tLOG.info(\"exception \" + e);\n\t\t\te.printStackTrace();\n\t\t\treturn false;\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Error: \" + e);\n\t\t\tLOG.info(\"exception \" + e);\n\t\t\te.printStackTrace();\n\t\t\treturn false;\n\t\t\t// throw Throwables.propagate(e);\n\t\t}\n\t}", "title": "" }, { "docid": "b283daf5bc22c8952cfa06cabe934ecb", "score": "0.5368859", "text": "public String getIsSend() {\n return isSend;\n }", "title": "" }, { "docid": "409a163074f3657b58a1c4e47f096fb9", "score": "0.53555167", "text": "@java.lang.Override\n public boolean getUseCumulativeTimeTableSync() {\n return useCumulativeTimeTableSync_;\n }", "title": "" }, { "docid": "e0fda6cd029d2039e86102e78d51bb1d", "score": "0.5342574", "text": "public boolean getMultiTask() {\n\t\treturn fMultiTask;\n\t}", "title": "" }, { "docid": "fea409c3c096534db9e89c86b15f2310", "score": "0.5307633", "text": "boolean isSyncStartup();", "title": "" }, { "docid": "1958496cb18ae43828b113035543c956", "score": "0.53032386", "text": "@JRubyMethod(name = \"sync\")\n public RubyBoolean sync(ThreadContext context) {\n return context.getRuntime().newBoolean(getOpenFileChecked().getMainStream().isSync());\n }", "title": "" }, { "docid": "1958496cb18ae43828b113035543c956", "score": "0.53032386", "text": "@JRubyMethod(name = \"sync\")\n public RubyBoolean sync(ThreadContext context) {\n return context.getRuntime().newBoolean(getOpenFileChecked().getMainStream().isSync());\n }", "title": "" }, { "docid": "6108e4f83116cd4e3c73a64afe4bd135", "score": "0.52853197", "text": "@Attribute(desc = \"Whether the journal is synchronized when receiving non-transactional datar\")\n boolean isJournalSyncNonTransactional();", "title": "" }, { "docid": "b5a378b9adc256ca0e14c400c529b597", "score": "0.5272891", "text": "public void setSync(boolean sync) {\n\t\tthis.sync = sync;\n\t}", "title": "" }, { "docid": "af31b120f50da8ef2f3e57ebcc855018", "score": "0.5252577", "text": "@Override\n\tpublic boolean isAsync() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "5ed2a396b3f2cca96095e7df8de5d657", "score": "0.5243958", "text": "public String getWriteSynchronizationMode() {\n return writeSynchronizationMode.name();\n }", "title": "" }, { "docid": "ab0057793dee529f67374163c7debe0a", "score": "0.5233936", "text": "public String getSyncDescription() {\n return syncDescription;\n }", "title": "" }, { "docid": "ddc87cd55a05d61c01ced272500aaebe", "score": "0.5220088", "text": "public Boolean getcacheSynchEnabled() {\n //When TopLink synchronizes the caches, it does not double check if there are connections\n //So, neither will we\n if (!getSession().hasCacheSynchronizationManager()) {\n return Boolean.FALSE;\n }\n return Boolean.TRUE;\n }", "title": "" }, { "docid": "3ebcc1d3a94b81e71ba9d5bc6f0fdbc3", "score": "0.521761", "text": "private synchronized void markStarted(boolean synchronous) {\n _synchronous = synchronous;\n _started = true;\n }", "title": "" }, { "docid": "96950c2d33f9ab22bb35024c4e4f9472", "score": "0.52145976", "text": "@Override\r\n\tpublic boolean isAsyncStarted() {\n\t\treturn request.isAsyncStarted();\r\n\t}", "title": "" }, { "docid": "cec5994bda7fa5c5c995c670d2285211", "score": "0.52072316", "text": "Boolean getIsolation();", "title": "" }, { "docid": "e895b7e4f58f6459b10b8553b1f34757", "score": "0.5173494", "text": "public boolean getPrimaryForTransaction() {\n return primaryForTransaction_;\n }", "title": "" }, { "docid": "e895b7e4f58f6459b10b8553b1f34757", "score": "0.5173494", "text": "public boolean getPrimaryForTransaction() {\n return primaryForTransaction_;\n }", "title": "" }, { "docid": "896a2f9e0d34604639fd27de2b7d1293", "score": "0.51693684", "text": "public boolean isContinuous() {\n return this.isContinuous;\n }", "title": "" }, { "docid": "499d3a9f4c0508519762172cffbad2ca", "score": "0.51672626", "text": "@Nullable\n public Boolean getForce() {\n return this.force;\n }", "title": "" }, { "docid": "52b39516477b408852122f1de19f48b1", "score": "0.5165229", "text": "public boolean getPrimaryForTransaction() {\n return primaryForTransaction_;\n }", "title": "" }, { "docid": "52b39516477b408852122f1de19f48b1", "score": "0.5165229", "text": "public boolean getPrimaryForTransaction() {\n return primaryForTransaction_;\n }", "title": "" }, { "docid": "65b1396b93dd4569a6ee9f832c774e7e", "score": "0.5156233", "text": "public boolean isCritical() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "adaa96c9547f54bbb9c45643359b95a2", "score": "0.514944", "text": "@Attribute(desc = \"Whether code coming from connection is executed asynchronously or not\")\n boolean isAsyncConnectionExecutionEnabled();", "title": "" }, { "docid": "b117c13071f0685edd99c59cb67f26a9", "score": "0.5140732", "text": "public boolean getSolid() {\n return solid.getValue();\n }", "title": "" }, { "docid": "0c298669515d869b013092d7b7a73286", "score": "0.5136397", "text": "boolean isNonCritical();", "title": "" }, { "docid": "66f3d4ea440836593fe8fd447f07e5bf", "score": "0.5117927", "text": "public boolean isExecuting() {\n return this.executing;\n }", "title": "" }, { "docid": "38c51c17d7f3b0a3e5260c1f738286e0", "score": "0.5111147", "text": "public boolean getExplicit() {\n return explicit_;\n }", "title": "" }, { "docid": "8c0892abd3ef58933df2fdf21255fe61", "score": "0.51101184", "text": "public Integer getIsCancelling() {\n return isCancelling;\n }", "title": "" }, { "docid": "e797f4096c5ceec27acd2db8c56c15ff", "score": "0.5103413", "text": "boolean isCanRunAsynchronuously();", "title": "" }, { "docid": "f4c77efe59f0d595cb36f293b9f85725", "score": "0.51006824", "text": "public boolean getNoDatetimeStringSync() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "77cf926f73a2cc31dacdfc145036f558", "score": "0.50916886", "text": "public int getAsync() {\n return async;\n }", "title": "" }, { "docid": "d977c55c35513952af421ee4b34d1aa0", "score": "0.5087968", "text": "public MobileServiceSyncContext getSyncContext() {\n return this.mSyncContext;\n }", "title": "" }, { "docid": "dec2fdc32d265c91a9df7f6480ef88f8", "score": "0.5087045", "text": "public java.lang.Boolean getForce() {\n return force;\n }", "title": "" }, { "docid": "a01534473b281cbf2dfd9456a8cd1187", "score": "0.5086315", "text": "public ProviderType getSyncType()\n {\n return itsSyncType;\n }", "title": "" }, { "docid": "1c20161635c06a2e6fb35a5fdf2c62a3", "score": "0.50796556", "text": "boolean notifyBeforeCompletion() {\n Iterator iterator = syncList.iterator();\n boolean result = true;\n while (iterator.hasNext()) {\n sync = ((Synchronization) iterator.next());\n sync.beforeCompletion();\n }\n return result;\n }", "title": "" }, { "docid": "2cc056d56afec8da0a349fcf49ba0098", "score": "0.50796205", "text": "public boolean getExplicit() {\n return explicit_;\n }", "title": "" }, { "docid": "6babb569b828d162966561d797f48fce", "score": "0.5077761", "text": "public boolean isIsParallel() {\n return isParallel;\n }", "title": "" }, { "docid": "7e2ff5c703013890e45046468e99cdb5", "score": "0.5077356", "text": "public int getSyncCodeValue() {\n return syncCode_;\n }", "title": "" }, { "docid": "9375f6825fcc968ddeb616530d37cb6b", "score": "0.5076273", "text": "public boolean isSuspended() {\n\t\treturn suspended;\n\t}", "title": "" }, { "docid": "8a299924a619e6f07c8eeaff4d238538", "score": "0.506172", "text": "public int getSyncCodeValue() {\n return syncCode_;\n }", "title": "" }, { "docid": "70319ea70da1331a01d348f32e682632", "score": "0.50451624", "text": "public boolean getWaitForLock() {\n\t\treturn this.waitForLock;\n\t}", "title": "" }, { "docid": "645ec360b8ebe94243e4da69204d9ba0", "score": "0.50418603", "text": "public boolean isNotifyWhenSuccess() {\n return notifyWhenSuccess;\n }", "title": "" }, { "docid": "17a81aacc22a541cb651d514aad538c1", "score": "0.5033041", "text": "public boolean isSingleValue() {\n return singleValue;\n }", "title": "" }, { "docid": "60209c4c47db8353dcb060e6da07822b", "score": "0.5025442", "text": "public boolean hasBlocking() {\n return result.hasBlocking();\n }", "title": "" }, { "docid": "898459b5484347165299b1d86ef2e9ea", "score": "0.50212", "text": "public boolean getShared(){\n return isShared;\n }", "title": "" }, { "docid": "19b6f71c741413c1824f204e148df58e", "score": "0.50201416", "text": "@objid (\"e66fb377-4789-43e5-b8ef-68c0c527b886\")\n public static SmAttribute getIsConcurrentAtt() {\n return IsConcurrentAtt;\n }", "title": "" }, { "docid": "d4ca0d59a72a1bbb8170474d31cc6f26", "score": "0.5014639", "text": "public String getSynchro () {\n return synchro;\n }", "title": "" }, { "docid": "7fc2fe6fc2fd2140e7813e4638dee098", "score": "0.50112545", "text": "public java.lang.Boolean getForce() {\n return force;\n }", "title": "" }, { "docid": "7fc2fe6fc2fd2140e7813e4638dee098", "score": "0.50112545", "text": "public java.lang.Boolean getForce() {\n return force;\n }", "title": "" } ]
bb559bd5deed172c263997896fae6862
Data from the annotation processors analyzer optional .android_studio.AnnotationProcessorsAnalyzerData annotation_processors_analyzer_data = 3;
[ { "docid": "b0c89b3e56926a75bc334a375f8ac838", "score": "0.6195321", "text": "public Builder mergeAnnotationProcessorsAnalyzerData(com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData value) {\n if (annotationProcessorsAnalyzerDataBuilder_ == null) {\n if (((bitField0_ & 0x00000004) != 0) &&\n annotationProcessorsAnalyzerData_ != null &&\n annotationProcessorsAnalyzerData_ != com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData.getDefaultInstance()) {\n annotationProcessorsAnalyzerData_ =\n com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData.newBuilder(annotationProcessorsAnalyzerData_).mergeFrom(value).buildPartial();\n } else {\n annotationProcessorsAnalyzerData_ = value;\n }\n onChanged();\n } else {\n annotationProcessorsAnalyzerDataBuilder_.mergeFrom(value);\n }\n bitField0_ |= 0x00000004;\n return this;\n }", "title": "" } ]
[ { "docid": "5468444e6ff3da6f332d7faaebec4858", "score": "0.7529025", "text": "public com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData getAnnotationProcessorsAnalyzerData() {\n if (annotationProcessorsAnalyzerDataBuilder_ == null) {\n return annotationProcessorsAnalyzerData_ == null ? com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData.getDefaultInstance() : annotationProcessorsAnalyzerData_;\n } else {\n return annotationProcessorsAnalyzerDataBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "9bd465d335a12bb7416ab0854cca9e3f", "score": "0.7472272", "text": "public com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData getAnnotationProcessorsAnalyzerData() {\n return annotationProcessorsAnalyzerData_ == null ? com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData.getDefaultInstance() : annotationProcessorsAnalyzerData_;\n }", "title": "" }, { "docid": "ac148b5f322ed83931360cab53f11c98", "score": "0.74174666", "text": "public com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerDataOrBuilder getAnnotationProcessorsAnalyzerDataOrBuilder() {\n return annotationProcessorsAnalyzerData_ == null ? com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData.getDefaultInstance() : annotationProcessorsAnalyzerData_;\n }", "title": "" }, { "docid": "3fbacf867f96c017fb0e8a23d330f0dd", "score": "0.7263436", "text": "public com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerDataOrBuilder getAnnotationProcessorsAnalyzerDataOrBuilder() {\n if (annotationProcessorsAnalyzerDataBuilder_ != null) {\n return annotationProcessorsAnalyzerDataBuilder_.getMessageOrBuilder();\n } else {\n return annotationProcessorsAnalyzerData_ == null ?\n com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData.getDefaultInstance() : annotationProcessorsAnalyzerData_;\n }\n }", "title": "" }, { "docid": "abf6925151f20d8d1244f4fca38d9f33", "score": "0.6734447", "text": "public Builder setAnnotationProcessorsAnalyzerData(com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData value) {\n if (annotationProcessorsAnalyzerDataBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n annotationProcessorsAnalyzerData_ = value;\n onChanged();\n } else {\n annotationProcessorsAnalyzerDataBuilder_.setMessage(value);\n }\n bitField0_ |= 0x00000004;\n return this;\n }", "title": "" }, { "docid": "d9f1da6b256e33484eafc86e6458f9c5", "score": "0.6729109", "text": "public boolean hasAnnotationProcessorsAnalyzerData() {\n return ((bitField0_ & 0x00000004) != 0);\n }", "title": "" }, { "docid": "dd003780d60ebcd144ac50fdb4a93de5", "score": "0.6721468", "text": "public boolean hasAnnotationProcessorsAnalyzerData() {\n return ((bitField0_ & 0x00000004) != 0);\n }", "title": "" }, { "docid": "5625c8fd01ddd46d34cf38880dc467f4", "score": "0.6231651", "text": "private com.google.protobuf.SingleFieldBuilderV3<\n com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData, com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData.Builder, com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerDataOrBuilder>\n getAnnotationProcessorsAnalyzerDataFieldBuilder() {\n if (annotationProcessorsAnalyzerDataBuilder_ == null) {\n annotationProcessorsAnalyzerDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData, com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData.Builder, com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerDataOrBuilder>(\n getAnnotationProcessorsAnalyzerData(),\n getParentForChildren(),\n isClean());\n annotationProcessorsAnalyzerData_ = null;\n }\n return annotationProcessorsAnalyzerDataBuilder_;\n }", "title": "" }, { "docid": "f1d77fa2a7b893ea3e2ccd0f0de1f9f1", "score": "0.61359334", "text": "public com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData.Builder getAnnotationProcessorsAnalyzerDataBuilder() {\n bitField0_ |= 0x00000004;\n onChanged();\n return getAnnotationProcessorsAnalyzerDataFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "7770d670c3f144894c6a0d0b8ccaa235", "score": "0.57472", "text": "public Builder setAnnotationProcessorsAnalyzerData(\n com.google.wireless.android.sdk.stats.AnnotationProcessorsAnalyzerData.Builder builderForValue) {\n if (annotationProcessorsAnalyzerDataBuilder_ == null) {\n annotationProcessorsAnalyzerData_ = builderForValue.build();\n onChanged();\n } else {\n annotationProcessorsAnalyzerDataBuilder_.setMessage(builderForValue.build());\n }\n bitField0_ |= 0x00000004;\n return this;\n }", "title": "" }, { "docid": "05a42154f339aefb38450adaf5e28724", "score": "0.5729413", "text": "public Builder clearAnnotationProcessorsAnalyzerData() {\n if (annotationProcessorsAnalyzerDataBuilder_ == null) {\n annotationProcessorsAnalyzerData_ = null;\n onChanged();\n } else {\n annotationProcessorsAnalyzerDataBuilder_.clear();\n }\n bitField0_ = (bitField0_ & ~0x00000004);\n return this;\n }", "title": "" }, { "docid": "e8f937d5289f1247c83879c8d2b3537b", "score": "0.53725064", "text": "public interface BuildDataProcessor {\n /**\n * @param data raw data for search engine\n * @return prepared data for seach engine\n */\n @NotNull\n Map<Integer, Set<Data>> buildEngineData(@NotNull List<Data> data);\n}", "title": "" }, { "docid": "9924845a60ec8fd2ad886cd10b963f96", "score": "0.53411245", "text": "public static MetaData getInBuiltProcessorMetaData() {\n if (inBuiltProcessorMetaData == null) {\n inBuiltProcessorMetaData = SourceEditorUtils.getInBuiltProcessorMetaData();\n }\n return inBuiltProcessorMetaData;\n }", "title": "" }, { "docid": "4ab56b020f38a32da3bca9d014756a57", "score": "0.5125653", "text": "public interface AnnotationProcessor {\n\n\t/**\n\t * \n\t * @param bean\n\t * @param beanName\n\t * @param beanFactory\n\t * @param clazz\n\t * @param annotation\n\t */\n\tvoid process(Object bean, String beanName, BeanFactory beanFactory, Class<?> clazz, Annotation annotation);\n\n\t/**\n\t * \n\t * @param bean\n\t * @param beanName\n\t * @param beanFactory\n\t * @param clazz\n\t * @param field\n\t * @param annotation\n\t */\n\tvoid process(Object bean, String beanName, BeanFactory beanFactory, Class<?> clazz, Field field, Annotation annotation);\n\n}", "title": "" }, { "docid": "a973a55e5d2bb35bcf7d6a9accdd943e", "score": "0.50691676", "text": "public AnalyzedData(){\t}", "title": "" }, { "docid": "6d52f1f85e2ddcea74fb1646a6e2ba71", "score": "0.5051402", "text": "public interface AnnotationProcessor<ANNOTATION, ELEMENT extends AnnotatedElement> {\r\n /** Post-processes an annotation data. */\r\n void process(final PropMap context, final AnnotatedType annotatedType,\r\n final ANNOTATION annotatedTypeAnnotation,\r\n final ELEMENT annotatedElement, final PropMap annotationData);\r\n}", "title": "" }, { "docid": "3ebfde94ce74326f15eeb4b2f9bc7fcc", "score": "0.4895212", "text": "public String getDataAnnotation()\n\t{\n\t\treturn dataAnnotation;\n\t}", "title": "" }, { "docid": "ac9be6ecd4fffc330bbdabca161aba1e", "score": "0.48422602", "text": "private static List<String> getAnnotationInformation(List<Annotation> annotations) {\r\n\t\tList<String> annotationsInfo = new ArrayList<>();\r\n\t\tif(annotations != null)\r\n\t\t\tfor(Annotation annotation : annotations)\r\n\t\t\t\tannotationsInfo.add(annotation.getArgMap().toString());\r\n\t\treturn annotationsInfo;\r\n\t}", "title": "" }, { "docid": "7061a61c403b24fbd8478805f51c0057", "score": "0.48016337", "text": "public void preAnalyze(Context context);", "title": "" }, { "docid": "4ea5a95e538a1c589835d1d718b0285e", "score": "0.4799974", "text": "public abstract String process(MutableAnnotation data, GPathObject[] parameters, GPathVariableResolver variables);", "title": "" }, { "docid": "7796109ef5b0168b07756f1efaf3a850", "score": "0.4778628", "text": "public void collectMetadata(AGSProcessor processor, ServiceInfo serviceInfo)\n throws Exception {\n this.collectMetadata(processor.getHandlerFactory(), serviceInfo);\n }", "title": "" }, { "docid": "c26ab4a39b63875a7b38f605e36f582b", "score": "0.474525", "text": "public interface DataExtraction {\n\n\t/**\n\t * The name of the data extraction process\n\t * \n\t */\n\tpublic String getName();\n\n\t/**\n\t * The input image(s) URI or a Digital Object Identifier (DOI) if processing\n\t * has been performed (as the output image of processing)URI)\n\t * \n\t * @return the URI or DOI\n\t */\n\tpublic Set<String> getInputImageUris();\n\n\t/**\n\t * The input image(s) for data extraction as a reference to the image\n\t * specified in Section 1\n\t * \n\t */\n\tpublic Set<ImageGelInformatics> getInputImages();\n\n\t/**\n\t * Describe the process by which the features have been assigned on the\n\t * image(s). In terms of algorithm name, version and feature editing\n\t * (automatic or manual)\n\t * \n\t */\n\tpublic Set<FeatureDetection> getFeatureDetections();\n\n\t/**\n\t * Describe the process by which the features have been matched on the\n\t * image(s). In terms of algorithm name, version, parameters and match\n\t * editing\n\t * \n\t */\n\tpublic Set<Matching> getMatchings();\n\n\t/**\n\t * Describe the process by which the features detected have been quantified.\n\t * In terms of measurement used, quantitation method, background\n\t * substraction (if used), normalization method.\n\t * \n\t */\n\tpublic Set<FeatureQuantitation> getFeatureQuantitations();\n}", "title": "" }, { "docid": "c9a1651d7e039326f87e5a390baa5938", "score": "0.4725893", "text": "public String getAnnotationString() {\n return fData;\n }", "title": "" }, { "docid": "7f6a16c32e85627bf7b66101d9ddb5bd", "score": "0.47252816", "text": "private ParseAnnotator() {\r\n this.pipelineParse = setPipeLine(setProperties());\r\n }", "title": "" }, { "docid": "12d32335aea31327043a3ebf89afaf3a", "score": "0.47230664", "text": "@Override\n protected void analyzeImpl(Analyzer analyzer) throws AnalysisException {\n }", "title": "" }, { "docid": "59b06150ec6af387a9d7f295845454df", "score": "0.47229007", "text": "private int readAnnotationTarget(Context context, int u) {\n/* 1732 */ int n, i, target = readInt(u);\n/* 1733 */ switch (target >>> 24) {\n/* */ case 0:\n/* */ case 1:\n/* */ case 22:\n/* 1737 */ target &= 0xFFFF0000;\n/* 1738 */ u += 2;\n/* */ break;\n/* */ case 19:\n/* */ case 20:\n/* */ case 21:\n/* 1743 */ target &= 0xFF000000;\n/* 1744 */ u++;\n/* */ break;\n/* */ case 64:\n/* */ case 65:\n/* 1748 */ target &= 0xFF000000;\n/* 1749 */ n = readUnsignedShort(u + 1);\n/* 1750 */ context.start = new Label[n];\n/* 1751 */ context.end = new Label[n];\n/* 1752 */ context.index = new int[n];\n/* 1753 */ u += 3;\n/* 1754 */ for (i = 0; i < n; i++) {\n/* 1755 */ int start = readUnsignedShort(u);\n/* 1756 */ int length = readUnsignedShort(u + 2);\n/* 1757 */ context.start[i] = readLabel(start, context.labels);\n/* 1758 */ context.end[i] = readLabel(start + length, context.labels);\n/* 1759 */ context.index[i] = readUnsignedShort(u + 4);\n/* 1760 */ u += 6;\n/* */ } \n/* */ break;\n/* */ \n/* */ case 71:\n/* */ case 72:\n/* */ case 73:\n/* */ case 74:\n/* */ case 75:\n/* 1769 */ target &= 0xFF0000FF;\n/* 1770 */ u += 4;\n/* */ break;\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ default:\n/* 1782 */ target &= (target >>> 24 < 67) ? -256 : -16777216;\n/* 1783 */ u += 3;\n/* */ break;\n/* */ } \n/* 1786 */ int pathLength = readByte(u);\n/* 1787 */ context.typeRef = target;\n/* 1788 */ context.typePath = (pathLength == 0) ? null : new TypePath(this.b, u);\n/* 1789 */ return u + 1 + 2 * pathLength;\n/* */ }", "title": "" }, { "docid": "7b37bacce65ea971779ec521aa06e5d8", "score": "0.47153172", "text": "List<PostProcessor> getAllPostProcessors();", "title": "" }, { "docid": "2f158c1bcbe08e2f885ac3439bbe302a", "score": "0.4714211", "text": "public Annotation[] getAnnotations();", "title": "" }, { "docid": "b00f56a685e8ac5c34b383649ffd23a6", "score": "0.4710142", "text": "List<PreProcessor> getAllPreProcessors();", "title": "" }, { "docid": "aed51b8ed7905418c51d6da554302f9b", "score": "0.47078976", "text": "@Override\r\n\tpublic List<Map<String, String>> analysisXml(List<String> data,\r\n\t\t\tString phoneNumber, String... agrs) {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "5d23ada7f5945b8241ec8e8389307566", "score": "0.4700456", "text": "@Override\n\tpublic void process(JCas aJCas) throws AnalysisEngineProcessException {\n\t\tAnnotationIndex<Annotation>\tannotationIndex = aJCas.getAnnotationIndex();\n\n\t\tAnnotationIndex<Annotation>\ttokenAnnotationIndex = aJCas.getAnnotationIndex(Token.type);\n\t\tfor (Annotation token : tokenAnnotationIndex) {\n\t\t\t// subiterator call \n\t\t\tFSIterator<Annotation> subTokenAnnotationIterator = annotationIndex.subiterator(token);\n\t\t\twhile(subTokenAnnotationIterator.isValid()) {\n\t\t\t\tAnnotation subTokenAnnotation = subTokenAnnotationIterator.get();\n\t\t\t\t// filter the desired annotations\n\t\t\t\tif (subTokenAnnotation instanceof POS)\n\t\t\t\t\tMiscUtil.echo(subTokenAnnotation);\n\t\t\t\tsubTokenAnnotationIterator.moveToNext();\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "16e05f5e90923a05e9a4f841e77246ea", "score": "0.46712455", "text": "Map<Class<? extends Annotation>, Annotation[]> defined();", "title": "" }, { "docid": "11cdd482943df6f2d4ce5bf35b504423", "score": "0.46641526", "text": "V process(T annotation, V source);", "title": "" }, { "docid": "67f55489164231f34a1d9963e78a9c0a", "score": "0.46588776", "text": "void setTokenPreProcessor(TokenPreProcess preProcessor);", "title": "" }, { "docid": "31051bf56663f5f42989919545a733a0", "score": "0.4645234", "text": "@Override\r\n public void process(JCas aJCas) throws AnalysisEngineProcessException {\n String docText = aJCas.getDocumentText();\r\n \r\n // use \". \\\\ ?\" to split the document into parts\r\n String tags = \"[.\\\\?]\"; \r\n String []results = docText.split(tags);\r\n \r\n \r\n \r\n int pos = results[0].length()+1;\r\n \r\n for (int i=1;i<results.length-1;i++)\r\n {\r\n //create annotation\r\n Answer annotation = new Answer(aJCas);\r\n if ( results[i].charAt(4)=='0') \r\n annotation.setIsCorrect(false);\r\n else\r\n annotation.setIsCorrect(true);\r\n annotation.setBegin(pos+6);\r\n annotation.setEnd(pos+results[i].length());\r\n annotation.addToIndexes();\r\n pos = pos + results[i].length()+1; // update the position \r\n \r\n }\r\n \r\n System.out.println(\"successful launch of 'AnswerAnnotator' \");\r\n \r\n }", "title": "" }, { "docid": "7d1343ab89e745fdb52118457b9f9149", "score": "0.46376917", "text": "@Override\n public void process(JCas aJCas) throws AnalysisEngineProcessException {\n Map<String, Map<AnswerScore, Double>> methodScore = new HashMap<String,Map<AnswerScore, Double>>();\n String questionText = \"\";\n FSIndex questionIndex = aJCas.getAnnotationIndex(Question.type);\n Iterator questionIter = questionIndex.iterator();\n while (questionIter.hasNext()) {\n Question question = (Question) questionIter.next();\n //System.out.println(\"Question: \" + question.getCoveredText());\n questionText += \"Question: \" + question.getCoveredText()+\"\\n\";\n \n }\n\n //Seperate AnswerScores with different method and put them into the map \n FSIndex ScoreIndex = aJCas.getAnnotationIndex(AnswerScore.type);\n Iterator ScoreIter = ScoreIndex.iterator();\n while (ScoreIter.hasNext()) {\n AnswerScore score = (AnswerScore) ScoreIter.next();\n String method = score.getCasProcessorId();\n if(methodScore.containsKey(method))\n {\n methodScore.get(method).put(score, score.getScore());\n }\n else\n {\n Map<AnswerScore, Double> scoreMap = new HashMap<AnswerScore, Double>();\n scoreMap.put(score, score.getScore());\n methodScore.put(method, scoreMap);\n }\n //scoreMap.put(score, score.getScore());\n }\n int precisionAtN=0;\n \n //print result to the screen\n Iterator it = methodScore.entrySet().iterator();\n while (it.hasNext()) {\n \n String text = \"\";\n precisionAtN = 0;\n Map.Entry pairs = (Map.Entry)it.next();\n //System.out.println(pairs.getKey() + \" = \" + pairs.getValue());\n //System.out.println(\"\\n*** Method: \"+ pairs.getKey() + \" ***\");\n String scoringClassId = pairs.getKey().toString();\n \n Map<AnswerScore, Double> scoreMap = (Map<AnswerScore, Double>)pairs.getValue();\n \n ArrayList<Entry<AnswerScore, Double>> scoreList = new ArrayList<Entry<AnswerScore, Double>>(\n scoreMap.entrySet());\n \n Collections.sort(scoreList, new Comparator<Map.Entry<AnswerScore, Double>>() {\n public int compare(Map.Entry<AnswerScore, Double> o1, Map.Entry<AnswerScore, Double> o2) {\n return (int) (o2.getValue() * 100.0 - o1.getValue() * 100.0);\n }\n });\n \n \n \n for(int i=0;i<scoreList.size();i++){\n if(scoreList.get(i).getKey().getAnswer().getIsCorrect()){\n precisionAtN++;\n }\n }\n \n int correctAnswerCount = 0;\n // print answer\n for (int i = 0; i < scoreList.size(); i++) {\n AnswerScore score = scoreList.get(i).getKey();\n if (score.getAnswer().getIsCorrect()) {\n //System.out.print(\"+ \");\n text+= \"+ \";\n \n if (i < precisionAtN) {\n correctAnswerCount++;\n }\n } else {\n //System.out.print(\"- \");\n text+=\"- \";\n }\n //System.out.print(String.format(\"%.2f \", score.getScore()));\n text+=String.format(\"%.2f \", score.getScore());\n //System.out.println(score.getCoveredText());\n text+=score.getCoveredText()+\"\\n\";\n }\n // print precision\n String precision = String.format(\"%.2f \", (double) correctAnswerCount / (double) precisionAtN);\n //System.out.println(\"Precision at \" + precisionAtN + \": \" + precision);\n text+=\"Precision at \" + precisionAtN + \": \" + precision+\"\\n\";\n it.remove(); // avoids a ConcurrentModificationException\n \n //Add evaluator annotation to CAS\n Evaluator annotation = new Evaluator(aJCas);\n \n annotation.setBegin(0);\n annotation.setEnd(aJCas.getDocumentText().length());\n annotation.setQuestionText(questionText);\n annotation.setScoringClassId(scoringClassId);\n annotation.setResultText(text);\n annotation.setNumCorrectAnswer(precisionAtN);\n annotation.setCasProcessorId(this.getClass().toString());\n annotation.setPrecision(Double.parseDouble(precision));\n annotation.setConfidence(1.0f);\n annotation.addToIndexes();\n }\n \n\n \n }", "title": "" }, { "docid": "104969376028c4496911bb6cb32f6434", "score": "0.45959312", "text": "public void preprocess() {\n }", "title": "" }, { "docid": "104969376028c4496911bb6cb32f6434", "score": "0.45959312", "text": "public void preprocess() {\n }", "title": "" }, { "docid": "43da72e46e2c3772533c4cf67d3b273f", "score": "0.45638552", "text": "private String processAnnotations(Annotated annotated) {\n //-- process annotations\n Enumeration enumeration = annotated.getAnnotations();\n if (enumeration.hasMoreElements()) {\n StringBuffer comment = new StringBuffer();\n while (enumeration.hasMoreElements()) {\n Annotation ann = (Annotation) enumeration.nextElement();\n Enumeration documentations = ann.getDocumentation();\n while (documentations.hasMoreElements()) {\n Documentation documentation =\n (Documentation) documentations.nextElement();\n String content = documentation.getContent();\n if ( content != null) comment.append(content);\n }\n }\n return normalize(comment.toString());\n }\n return null;\n }", "title": "" }, { "docid": "079e2b8b7570a8a56fd6b52ef50c5ca4", "score": "0.4563188", "text": "private Set<String> gatherAnnotators(JSONObject data) {\n Set<String> annotators = new HashSet<>();\n\n for (Object articleName : data.keySet()) {\n // check if this article is in the list of valid articles\n if (articleNameTime.containsKey(articleName.toString())) {\n JSONObject article = (JSONObject) data.get(articleName);\n JSONObject annotations = (JSONObject) article.get(\"annotations\");\n JSONObject framingAnnotations = (JSONObject) annotations.get(\"framing\");\n for (Object annotator : framingAnnotations.keySet()) {\n String parts[] = annotator.toString().split(\"_\");\n annotators.add(parts[0]);\n }\n }\n }\n return annotators;\n }", "title": "" }, { "docid": "85394b97ed4dedf8b88a2a71a2893087", "score": "0.45626816", "text": "void onPreprocess(TypeDescription typeDescription, ClassFileLocator classFileLocator);", "title": "" }, { "docid": "0d1f9b8fcd1bcaaa8cc490759efeaa47", "score": "0.45584375", "text": "public String getProcessor() {\n return processor;\n }", "title": "" }, { "docid": "25fffacbf0373b530e95be254d47f216", "score": "0.45396024", "text": "@AnalysisSettings\npublic interface ExampleAnalysisSettings {\n /*\n * This method presents the use of String typed setting.\n * see the ReplaceCharWithNumberCharFilterFactory\n */\n @StringSetting(path = \"old_char\", defaultValue = \" \")\n String oldCharToReplaceInCharFilter();\n\n /*\n * This method presents the use of int typed setting.\n * see the ReplaceCharWithNumberCharFilterFactory\n */\n @IntSetting(path = \"new_number\", defaultValue = 0)\n int newNumberToReplaceInCharFilter();\n\n /*\n * This method presents the use of long typed setting.\n * see the ExampleTokenFilterFactory\n */\n @LongSetting(path = \"token_filter_number\", defaultValue = 0L)\n long digitToSkipInTokenFilter();\n\n /*\n * This method presents the use of boolean typed setting.\n * see the ExampleAnalyzerFactory\n */\n @BooleanSetting(path = \"analyzerUseTokenListOfChars\", defaultValue = true)\n boolean analyzerUseTokenListOfChars();\n /*\n * This method presents the use of boolean typed setting.\n * see the ExampleTokenizerFactory\n */\n @ListSetting(path = \"tokenizer_list_of_chars\")\n List<String> singleCharsToSkipInTokenizer();\n}", "title": "" }, { "docid": "589e76ffc938e2282ca8b972574b7da7", "score": "0.4529095", "text": "@Override\n public void process(final JCas aJCas) throws AnalysisEngineProcessException {\n final AnnotationIndex<Token> tokIt = aJCas.getAnnotationIndex(Token.type);\n final FSIterator<Annotation> sentIt = aJCas.getAnnotationIndex(Sentence.type).iterator();\n try {\n while (sentIt.hasNext()) {\n Annotation sent = sentIt.next();\n final FSIterator<Token> subiterator = tokIt.subiterator(sent);\n StringBuilder sb = new StringBuilder();\n List<Token> tokens = new ArrayList<>();\n while (subiterator.hasNext()) {\n Token token = subiterator.next();\n final POSTag posTag = token.getPosTag(0);\n if (posTag == null)\n throw new AnalysisEngineProcessException(new IllegalArgumentException(\"PoS tags are required but the current token has none.\"));\n sb.append(posTag.getValue()).append(\" \");\n tokens.add(token);\n }\n if (sb.length() > 0) {\n // Remove the trailing whitespace\n sb.deleteCharAt(sb.length() - 1);\n\n String posSentence = sb.toString();\n AnnotatedSentence cueTaggedSentence = null;\n AnnotatedSentence posCueMerged = null;\n AnnotatedSentence scopeMarkedSentence = null;\n try {\n // Important step here: replace pipes through slashes. Pipes are a reserved character for the internal tag representation format.\n cueTaggedSentence = cueAnnotator.annotateSentence(tokens.stream().map(Annotation::getCoveredText).collect(Collectors.joining(\" \")).replace(\"|\", \"/\"), true);\n posCueMerged = CueAndPosFilesMerger.merge(cueTaggedSentence, posSentence, replaceCue);\n scopeMarkedSentence = scopeAnnotator.annotateSentence(posCueMerged.getSentenceText(), true);\n\n final List<LikelihoodIndicator> likelihoodIndicators = addAnnotationToCas(tokens, cueTaggedSentence, () -> new LikelihoodIndicator(aJCas));\n final List<Scope> scopes = addAnnotationToCas(tokens, scopeMarkedSentence, () -> new Scope(aJCas));\n\n if (likelihoodIndicators.size() == scopes.size()) {\n for (int i = 0; i < scopes.size(); i++) {\n LikelihoodIndicator indicator = likelihoodIndicators.get(i);\n Scope scope = scopes.get(i);\n scope.setCue(indicator);\n }\n } else {\n log.debug(\"Not assigning negation or hedge cues to their scopes because the number of cues and scopes differs.\");\n log.trace(\"The respective sentence is: '{}'. Cue tags: '{}', Scope tags: '{}'\", sent.getCoveredText(), cueTaggedSentence.getTags(), scopeMarkedSentence.getTags());\n }\n } catch (Throwable t) {\n log.warn(\"Lingscope error in sentence '{}'\", sent.getCoveredText(), t);\n log.warn(\"PosCueMerged Sent Text: {}\", posCueMerged != null ? posCueMerged.getSentenceText() : \"<null>\");\n log.warn(\"Tokens: {}\", tokens.stream().map(Annotation::getCoveredText).collect(Collectors.joining(\" \")));\n log.warn(\"Lemmas: {}\", tokens.stream().map(Token::getLemma).map(Lemma::getValue).collect(Collectors.joining(\" \")));\n log.warn(\"PoS: {}\", posSentence);\n log.warn(\"Cue tags: {}\", cueTaggedSentence != null ? cueTaggedSentence.getTags() : \"<null>\");\n log.warn(\"POS Cue merged: {}\", posCueMerged != null ? posCueMerged.getTags() : \"<null>\");\n log.warn(\"Scope tags: {}\", scopeMarkedSentence != null ? scopeMarkedSentence.getTags() : \"<null>\");\n log.warn(\"StackTrace:\", t);\n throw t;\n }\n }\n }\n } catch (Throwable t) {\n log.warn(\"Skipping this document for lingscope processing because of previous error.\", t);\n }\n }", "title": "" }, { "docid": "7f99792497c2c5a5c0488f4f34ab13ae", "score": "0.45280427", "text": "@Override\r\n\tpublic List<Map<String, String>> analysisHtml(List<String> data,\r\n\t\t\tString phoneNumber, String... agrs) {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "bb84d9b410811ba9b5bdeecb8c1a2f86", "score": "0.45253026", "text": "@Variability(id = AnnotationConstants.VAR_ARBITRARY_PROCESS_DATA)\r\npublic interface IProcessDataGatherer {\r\n\r\n /**\r\n * Returns if the given process is alive.\r\n * \r\n * @param pid the process id \r\n * @return <code>true</code> if the process is alive, <code>false</code>\r\n * else\r\n */\r\n @Variability(id = AnnotationConstants.VAR_ARBITRARY_PROCESS_DATA)\r\n public boolean isProcessAlive(int pid);\r\n \r\n /**\r\n * Returns the I/O statistics of the given process.\r\n * \r\n * @param pid the process id\r\n * @return the I/O statistics of the given process, may \r\n * be <b>null</b> if invalid\r\n */\r\n @Variability(id = { AnnotationConstants.VAR_ARBITRARY_PROCESS_DATA,\r\n AnnotationConstants.VAR_IO_DATA }, op = Operation.AND)\r\n public IoStatistics getProcessIo(int pid);\r\n \r\n /**\r\n * Returns weather native network I/O statistics are included, i.e.\r\n * weather the system provides required capabilities to access the\r\n * statistics.\r\n * \r\n * @param forAll query this information for all processes, or \r\n * otherways for a single process \r\n * \r\n * @return <code>true</code> if the information is provided, \r\n * <code>false</code> else\r\n * \r\n * @since 1.00\r\n */\r\n @Variability(id = { AnnotationConstants.VAR_ARBITRARY_PROCESS_DATA,\r\n AnnotationConstants.VAR_ALL_PROCESSES_DATA,\r\n AnnotationConstants.VAR_IO_DATA }, op = Operation.AND)\r\n public boolean isNetworkIoDataIncluded(boolean forAll);\r\n \r\n /**\r\n * Returns weather native file I/O statistics are included, i.e.\r\n * weather the system provides required capabilities to access the\r\n * statistics.\r\n * \r\n * @param forAll query this information for all processes, or \r\n * otherways for a single process \r\n * \r\n * @return <code>true</code> if the information is provided, \r\n * <code>false</code> else\r\n * \r\n * @since 1.00\r\n */\r\n @Variability(id = { AnnotationConstants.VAR_ARBITRARY_PROCESS_DATA,\r\n AnnotationConstants.VAR_ALL_PROCESSES_DATA,\r\n AnnotationConstants.VAR_IO_DATA }, op = Operation.AND)\r\n public boolean isFileIoDataIncluded(boolean forAll);\r\n\r\n /**\r\n * Returns the memory usage of the given process.\r\n * \r\n * @param pid the process id \r\n * @return the memory usage of the given process in bytes, zero or \r\n * negative if invalid\r\n */\r\n @Variability(id = { AnnotationConstants.VAR_ARBITRARY_PROCESS_DATA,\r\n AnnotationConstants.VAR_MEMORY_DATA }, op = Operation.AND)\r\n public long getProcessMemoryUse(int pid);\r\n\r\n /**\r\n * Returns the CPU user time ticks of the current process.\r\n * \r\n * @param pid the process id \r\n * @return the CPU user time ticks of the current process in nano seconds, \r\n * zero or negative if invalid\r\n */\r\n @Variability(id = { AnnotationConstants.VAR_ARBITRARY_PROCESS_DATA,\r\n AnnotationConstants.VAR_TIME_DATA }, op = Operation.AND)\r\n public long getProcessUserTimeTicks(int pid);\r\n\r\n /**\r\n * Returns the CPU kernel time ticks of the current process.\r\n * \r\n * @param pid the process id \r\n * @return the CPU kernel time ticks of the current process in nano \r\n * seconds, zero or negative if invalid\r\n */\r\n @Variability(id = { AnnotationConstants.VAR_ARBITRARY_PROCESS_DATA,\r\n AnnotationConstants.VAR_TIME_DATA }, op = Operation.AND)\r\n public long getProcessKernelTimeTicks(int pid);\r\n\r\n /**\r\n * Returns the system time ticks of the current process.\r\n * \r\n * @param pid the process id\r\n * @return the system time ticks of the current process in nano seconds, \r\n * zero or negative if invalid\r\n */\r\n @Variability(id = { AnnotationConstants.VAR_ARBITRARY_PROCESS_DATA,\r\n AnnotationConstants.VAR_TIME_DATA }, op = Operation.AND)\r\n public long getProcessSystemTimeTicks(int pid);\r\n\r\n /**\r\n * Returns the load produced by the given process.\r\n * \r\n * @param pid the process id\r\n * @return the load produced by the given process in percent, zero or \r\n * negative if invalid\r\n */\r\n @Variability(id = { AnnotationConstants.VAR_ARBITRARY_PROCESS_DATA,\r\n AnnotationConstants.VAR_LOAD_DATA }, op = Operation.AND)\r\n public double getProcessProcessorLoad(int pid);\r\n\r\n /**\r\n * Returns the I/O statistics for all currently running processes.\r\n * \r\n * @return the I/O statistics for all processes, may \r\n * be <b>null</b> if invalid\r\n */\r\n @Variability(id = { AnnotationConstants.VAR_ALL_PROCESSES_DATA, \r\n AnnotationConstants.VAR_IO_DATA }, op = Operation.AND)\r\n public IoStatistics getAllProcessesIo();\r\n\r\n}", "title": "" }, { "docid": "8665a93338abe4767ce5cfd55a0bd56e", "score": "0.44848707", "text": "@Override\n\tprotected void process(JCas aJCas, String text, int arg2) throws AnalysisEngineProcessException {\n\t Config conf = ConfigFactory.load(configLocation);\n\t \n\t //create session ID\n \t\tTimestamp timestamp = new Timestamp(System.currentTimeMillis());\n \t\tString sessionId = timestamp.toString();\n\t TalismaneSession session = null;\n\t\ttry {\n\t\t\tsession = new TalismaneSession(conf, sessionId);\n\t\t\t} \n\t\tcatch (ClassNotFoundException e) {e.printStackTrace();} \n\t\tcatch (SentenceAnnotatorLoadException e) {e.printStackTrace();} \n\t\tcatch (IOException e) {e.printStackTrace();} \n\t\tcatch (TalismaneException e) {e.printStackTrace();}\n\n\t RawText rawText = new RawText(text, true, session);\n\n\t // retrieve the processed text after filters have been applied\n\t AnnotatedText processedText = rawText.getProcessedText();\n\n\t // detect sentences\n\t SentenceDetector sentenceDetector = null;\n\t\ttry {\n\t\t\tsentenceDetector = SentenceDetector.getInstance(session);\n\t\t\t} \n\t\tcatch (ClassNotFoundException e) {e.printStackTrace();} \n\t\tcatch (IOException e) {e.printStackTrace();}\n\t\t\n\t try {\n\t\t\tsentenceDetector.detectSentences(processedText);\n\t\t\t} \n\t catch (TalismaneException e) {e.printStackTrace();}\n\n\t //Get Sentences\n\t List<Sentence> sentences = rawText.getDetectedSentences();\n\n\t //Add sentences to JCas\n\t for (Sentence sentence : sentences) {\n\t \tde.tudarmstadt.ukp.dkpro.core.api.segmentation.type.Sentence sen = \n\t \t\t\tnew de.tudarmstadt.ukp.dkpro.core.api.segmentation.type.Sentence(aJCas);\n\t \t\n\t \tint sStart = sentence.getOriginalIndex(0);\n\t \tint sEnd = sStart + sentence.getText().length();\n\t \t\n\t \t//ignore empty sentences\n\t \tif(sStart != sEnd) {\n\t \t\tsen.setBegin(sStart);\n\t \t\tsen.setEnd(sEnd);\n\t \t\tsen.addToIndexes();\n\t \t\n\t \t\n\t\t \t Tokeniser tokeniser = null;\n\t\t \t\ttry {\n\t\t \t\t\ttokeniser = Tokeniser.getInstance(session);\n\t\t \t\t\t} \n\t\t \t\tcatch (ClassNotFoundException e) {e.printStackTrace();} \n\t\t \t\tcatch (IOException e) {e.printStackTrace();}\n\t\t \t\n\t\t \tTokenSequence tokenSequence = null;\n\t\t\t\ttry {\n\t\t\t\t\ttokenSequence = tokeniser.tokeniseSentence(sentence);\n\t\t\t\t\t} \n\t\t\t\tcatch (TalismaneException e) {e.printStackTrace();} \n\t\t\t\tcatch (IOException e) {e.printStackTrace();}\n\t\t\t\t\n\t\t\t\t// write token to JCas\n\t\t\t for (Token token : tokenSequence) {\n\t\t\t \tint tStart = token.getStartIndex() + sStart;\n\t\t\t \tint tEnd = token.getEndIndex() + sStart; \t\n\t\t\t \tcreateToken(aJCas, tStart, tEnd);\n\t\t\t\t}\n\t \t}\n\t }\n\t\t\n\t}", "title": "" }, { "docid": "b2c3f3ff9c5692eb13adf4ab7851ad94", "score": "0.44827056", "text": "public static void main(String[] args) {\n AnnotationProcessor.getStudentInfo(Student.class);\n }", "title": "" }, { "docid": "5c6d54a850844f6a3d987c337dbfe523", "score": "0.44801238", "text": "@Override\n public void process(JCas jCas) throws AnalysisEngineProcessException {\n try {\n logger.log(Level.INFO, \"Start analyzing results\");\n String line;\n String[] splitLine;\n BufferedReader reader = new BufferedReader(\n new FileReader(inputFile));\n int correct = 0;\n int wrong = 0;\n int tokenCount = 0;\n int commentCount = 0;\n int truePositive = 0;\n int falsePositive = 0;\n int trueNegative = 0;\n int falseNegative = 0;\n\n String[] labels = {\"negative\", \"positive\"};\n\n boolean writeToEval = true;\n PrintWriter writer = new PrintWriter(new FileOutputStream(\"src/main/resources/res/twitter_evalRes.txt\", false));\n Pattern p = Pattern.compile(\",(?=([^\\\\\\\"]*\\\\\\\"[^\\\\\\\"]*\\\\\\\")*(?![^\\\\\\\"]*\\\\\\\"))\");\n\n for (CommentAnnotation comment : select(jCas, CommentAnnotation.class)) {\n if (comment.getGoldValue() == null) {\n commentCount++;\n line = reader.readLine();\n splitLine = p.split(line);\n String trueValue = splitLine[1];\n //logger.log(Level.INFO, comment.getCoveredText() + \" \" + comment.getPredictValue() + \" \" + comment.getGoldValue());\n String classifiedValue = comment.getPredictValue();\n\n if (classifiedValue.equals(\"negative\") && labels[Integer.parseInt(trueValue)].equals(\"negative\"))\n trueNegative++;\n else if (classifiedValue.equals(\"negative\") && labels[Integer.parseInt(trueValue)].equals(\"positive\"))\n falseNegative++;\n else if (classifiedValue.equals(\"positive\")&& labels[Integer.parseInt(trueValue)].equals(\"positive\"))\n truePositive++;\n else if(classifiedValue.equals(\"positive\") && labels[Integer.parseInt(trueValue)].equals(\"negative\"))\n falsePositive++;\n\n if (splitLine[3].equals(comment.getCoveredText())) {\n if (labels[Integer.parseInt(trueValue)].equals(classifiedValue)) {\n correct++;\n logger.log(Level.INFO, \"Correct tag: \" + labels[Integer.parseInt(trueValue)] + \", predicted tag: \" + classifiedValue);\n } else {\n wrong++;\n }\n tokenCount++;\n } else {\n logger.log(\n Level.WARNING,\n \"Token of predicting file does not match to text (\"\n + splitLine[3] + \"!=\"\n + comment.getCoveredText() + \")\");\n }\n // write to new file here:\n if (writeToEval) {\n writer.println(line + \" \" + classifiedValue);\n }\n }\n }\n reader.close();\n if (writeToEval) {\n writer.close();\n }\n\n float precision = (float) 100 * truePositive / (truePositive + falsePositive);\n float recall = (float) 100 * truePositive / (truePositive + falseNegative);\n float fscore = (float) 2 * ((precision * recall )/ (precision + recall));\n\n logger.log(Level.INFO, \"Correct: \" + correct);\n logger.log(Level.INFO, \"Error: \" + wrong);\n logger.log(Level.INFO, \"Total: \" + tokenCount);\n logger.log(Level.INFO, \"Total comments \" + commentCount);\n logger.log(Level.INFO, \"Precision \" + precision);\n logger.log(Level.INFO, \"Recall \" + recall);\n logger.log(Level.INFO, \"F1 \" + fscore);\n\n //logger.log(Level.INFO, \"Total of positive comments \" + posCount);\n //logger.log(Level.INFO, \"Total of negative comments \" + negCount);\n\n\n /*logger.log(Level.INFO, \"Correct rate: \" + correct / tokenCount);\n logger.log(Level.INFO, \"Error rate: \" + wrong / tokenCount);*/\n\n\n } catch (FileNotFoundException e) {\n logger.log(Level.WARNING, e.getMessage());\n } catch (IOException e) {\n logger.log(Level.WARNING, e.getMessage());\n }\n\n }", "title": "" }, { "docid": "cf0b5a1b503346e3559c2f8a69400439", "score": "0.44744354", "text": "@Override\n public void preprocess() {\n }", "title": "" }, { "docid": "cf0b5a1b503346e3559c2f8a69400439", "score": "0.44744354", "text": "@Override\n public void preprocess() {\n }", "title": "" }, { "docid": "18d3c14a02f1f0a4b71e4035e384b7ad", "score": "0.44696587", "text": "private void parseAnnotations(List corpus, List<MiddleData> lstOut)\n {\n ProjectLogger.LOGGER.info(\"Collecting annotation ...\");\n Iterator itDoc = corpus.iterator();\n Iterator<MiddleData> itSource = lstOut.iterator();\n\n while(itDoc.hasNext() && itSource.hasNext())\n {\n Object doc = (Object) itDoc.next();\n\n MiddleData aoData = itSource.next(); \n\n ((AnnotatorCollector)tmAnnColl.get(aoData.getId_annotationrecollecting())).\n collect(doc, aoData);\n } \n }", "title": "" }, { "docid": "90190c53df92a40b2e1b01e82a5fc1c7", "score": "0.44688812", "text": "public Analyzer() {\n // TODO: default plugins\n }", "title": "" }, { "docid": "5ab7442b3450c7c56e594bba15013419", "score": "0.44642916", "text": "private BuildAttributionAnalyzersData(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "d8c3e8676173134bd71cb8d7793c859b", "score": "0.4455789", "text": "abstract public void reduceExtraction2Tagging(AnnotationExample example);", "title": "" }, { "docid": "7394d4352b7994de00e7e7a56caf331c", "score": "0.44466317", "text": "@Override\n public void preprocess() {\n }", "title": "" }, { "docid": "7394d4352b7994de00e7e7a56caf331c", "score": "0.44466317", "text": "@Override\n public void preprocess() {\n }", "title": "" }, { "docid": "7394d4352b7994de00e7e7a56caf331c", "score": "0.44466317", "text": "@Override\n public void preprocess() {\n }", "title": "" }, { "docid": "7394d4352b7994de00e7e7a56caf331c", "score": "0.44466317", "text": "@Override\n public void preprocess() {\n }", "title": "" }, { "docid": "0814d4fe5aaadc2446af529ec1792fbc", "score": "0.4445725", "text": "@Override\n\tpublic void process(JCas jcas) throws AnalysisEngineProcessException {\n\t\t\t\tAnnotationIndex<Token> idxToken = jcas.getAnnotationIndex(Token.type);\n\t\t\t\tFSIterator<Token> itToken = idxToken.iterator();\n\t\t\t\twhile (itToken.hasNext()) {\n\t\t\t\t\tToken mToken = (Token) itToken.next();\n\t\t\t\t\tString lemma = mToken.getLemma();\n\t\t\t\t\tlemma = lemma.replaceAll(\"(a){2,}\",\"a\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(e){2,}\",\"e\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(i){2,}\",\"i\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(o){2,}\",\"o\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(u){2,}\",\"u\");\t\t\t\t\t\n\n\t\t\t\t\tlemma = lemma.replaceAll(\"(b){2,}\",\"b\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(c){3,}\",\"cc\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(d){2,}\",\"d\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(f){2,}\",\"f\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(g){2,}\",\"g\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(h){2,}\",\"h\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(j){2,}\",\"j\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(k){2,}\",\"k\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(l){3,}\",\"ll\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(m){3,}\",\"m\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(n){2,}\",\"n\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(ñ){2,}\",\"ñ\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(p){2,}\",\"p\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(q){2,}\",\"q\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(r){3,}\",\"r\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(s){2,}\",\"s\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(t){2,}\",\"t\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(v){2,}\",\"v\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(w){2,}\",\"w\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(x){2,}\",\"x\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(y){2,}\",\"y\");\n\t\t\t\t\tlemma = lemma.replaceAll(\"(z){2,}\",\"z\");\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\tmToken.setLemma(lemma);\n\t\t\t\t\t\n\t\t\t\t}\n\n\t}", "title": "" }, { "docid": "63d91b4def20c358b2ef70868700ec8e", "score": "0.44432062", "text": "private void setProcessors(CompilationTask task) {\n LinkedList<AbstractProcessor> processors = new LinkedList<AbstractProcessor>();\n processors.add(new CodeAnalyzerProcessor());\n task.setProcessors(processors);\n }", "title": "" }, { "docid": "ba154509201c5f1ee0f0d382f79e17f8", "score": "0.444113", "text": "public abstract void processData(MapleData data);", "title": "" }, { "docid": "e76df0707ca18c3e95cae9b33a1b18e6", "score": "0.4438514", "text": "public String getAnalysisInstanceAnalysisParameters() {\n return analysisInstanceAnalysisParameters;\n }", "title": "" }, { "docid": "71444b5d6b0014d672290d8a68aa5dfd", "score": "0.44310057", "text": "private static void prepareDataManual() {\n\n\t\ttext = text + \"Use unigram features: [\" + Features.isUseUnigramFeatures() + \"] - Used in Quantification: [\" + Features.isUseQuantifUnigrams() + \"]\" + n;\n\t\ttextProperty.set(text);\n\n\t\ttext = text + \"Use basic pattern features: [\" + Features.isUsePatternFeatures() + \"] - Used in Quantification: [\" + Features.isUseQuantifBasicPatterns() + \"]\" + n;\n\t\ttextProperty.set(text);\n\t\t\n\t\ttext = text + \"Use adv. pattern features: [\" + Features.isUseAdvancedPatternFeatures() + \"] - Used in Quantification: [\" + Features.isUseQuantifAdvancedPatterns() + \"]\" + n;\n\t\ttextProperty.set(text);\n\t\t\t\t\n\t\tFeatures.setCoefficients(Features.getManualCoefficients());\n\t\ttotalNumberOfTasks.set(1);\n\n\t\ttext = text + \"Coefficients extracted\" + n;\n\t\ttextProperty.set(text);\n\t\t\n\t\t// Select the data set to use\n\t\tArrayList<Tweet> tweets;\n\t\t\n\t\tif (Parameters.getTypeOfProject().equals(Parameters.TypeOfProject.TESTSET)) {\n\t\t\ttweets = Parameters.getTestSet();\n\t\t\ttext = text + \"Data set to use: \" + \"[Test Set]\" + n;\n\t\t\ttextProperty.set(text);\n\t\t} else {\n\t\t\ttweets = Parameters.getUnknownSet();\n\t\t\ttext = text + \"Data set to use: \" + \"[Non-annotated Set]\" + n;\n\t\t\ttextProperty.set(text);\n\t\t}\n\t\t\n\t\t// Add Unigram final scores\n\t\tif (Features.isUseQuantifUnigrams()) {\n\t\t\tfor (Tweet tweet : tweets) {\n\t\t\t\tTweetProcessing.addUnigramScores(tweet, Parameters.getClasses());\n\t\t\t}\n\t\t\ttext = text + \"Unigram scores extracted\" + n;\n\t\t\ttextProperty.set(text);\n\t\t}\n\t\t\n\t\t// Add the basic pattern final scores\n\t\tif (Features.isUseQuantifBasicPatterns()) {\n\t\t\t\n\t\t\tint m = Features.getMaxPatternLength() - Features.getMinPatternLength() + 1;\n\t\t\tint min = Features.getMinPatternLength();\n\t\t\t\n\t\t\tdouble[] factors = new double[m];\n\t\t\t\n\t\t\tfor (int i=0; i<m; i++) {\n\t\t\t\tfactors[i] = (double) (min + i-1) / (double) (min + i+1); \n\t\t\t}\n\t\t\t\n\t\t\tfor (Tweet tweet : tweets) {\n\t\t\t\tTweetProcessing.addBasicPatternScores(tweet, Parameters.getClasses(), factors);\n\t\t\t}\n\t\t\ttext = text + \"Basic pattern scores extracted\" + n;\n\t\t\ttextProperty.set(text);\n\t\t}\n\t\t\n\t\t// Add the Advanced pattern final scores\n\t\tif (Features.isUseQuantifAdvancedPatterns()) {\n\t\t\t\n\t\t\tint m = Features.getAdvancedMaxPatternLength() - Features.getAdvancedMinPatternLength() + 1;\n\t\t\tint min = Features.getAdvancedMinPatternLength();\n\t\t\t\n\t\t\tdouble[] factors = new double[m];\n\t\t\t\n\t\t\tfor (int i=0; i<m; i++) {\n\t\t\t\tfactors[i] = (double) (min + i-1) / (double) (min + i+1); \n\t\t\t}\n\t\t\t\n\t\t\tfor (Tweet tweet : tweets) {\n\t\t\t\tTweetProcessing.addAdvancedPatternScores(tweet, Parameters.getClasses(), factors);\n\t\t\t}\n\t\t\ttext = text + \"Advanced pattern scores extracted\" + n;\n\t\t\ttextProperty.set(text);\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "72abc2bbd7a2c7cfbc46213f560c6b36", "score": "0.44081348", "text": "public static void setVariable(DocAnalyzer analyzer){\n reviews = analyzer.m_reviews;\n DF = analyzer.DF;\n\n num_documents = 0;\n num_positive = 0;\n num_negative = 0;\n for(Post review : reviews){\n num_documents++;\n if(review.getLabel() ==1 ){\n num_positive++;\n }else{\n num_negative++;\n }\n }\n vocab = new HashSet<>();\n\n for(String key : DF.keySet()){\n if(DF.get(key) >= 10) vocab.add(key);\n }\n return;\n\n }", "title": "" }, { "docid": "b7f999d91aa32089881097635efa1a78", "score": "0.44076768", "text": "public boolean hasProjectConfigurationAnalyzerData() {\n return ((bitField0_ & 0x00000010) != 0);\n }", "title": "" }, { "docid": "0c2159056be414965c117d007f547323", "score": "0.44070074", "text": "public interface AnnotContent {\r\n\r\n /** Return the page index of a annotation */\r\n public int getPageIndex();\r\n\r\n /** Return the type of a annotation */\r\n public int getType();\r\n\r\n /** Return the uniquely identifying of a annotation */\r\n public String getNM();\r\n\r\n /** Return the bbox of a annotation */\r\n public RectF getBBox();\r\n\r\n /** Return the color of a annotation */\r\n public int getColor();\r\n\r\n /** Return the opacity of a annotation */\r\n public int getOpacity();\r\n\r\n /** Return the line width of a annotation. usually for line, square, circle, polygon, polyline and so on*/\r\n public float getLineWidth();\r\n\r\n /** Return the subject of a annotation */\r\n public String getSubject();\r\n\r\n /** Return the modified date of a annotation */\r\n public DateTime getModifiedDate();\r\n\r\n /** Return the contents of a annotation */\r\n public String getContents();\r\n\r\n /** Return the intent of a annotation */\r\n public String getIntent();\r\n}", "title": "" }, { "docid": "059ddad4d54186823554b82464e0c6fc", "score": "0.44024718", "text": "Map<Class<? extends Annotation>, Annotation[]> active();", "title": "" }, { "docid": "1277cb06397ac679f32e27015dc6029b", "score": "0.43932334", "text": "public void map(LongWritable key, Text value, OutputCollector<Text, LongWritable> output, Reporter reporter) throws IOException {\n try {\n // analyze one line\n String[] params = value.toString().split(\",\", 6);\n System.out.println(params[5]);\n String text = params[5];\n // remove the first the last \"\" quotes.\n text = text.substring(1, text.length() - 1);\n text = Jsoup.parse(text).text();\n\n\n // create an empty Annotation just with the given text\n @SuppressWarnings(\"unchecked\")\n List<List<HasWord>> sentences = tagger.tokenizeText(new StringReader(text));\n for (List<HasWord> sentence : sentences) {\n ArrayList<TaggedWord> tSentence = tagger.tagSentence(sentence);\n // System.out.println(Sentence.listToString(tSentence, false));\n for (TaggedWord tag: tSentence) {\n output.collect(new Text(tag.tag()), ONE);\n }\n }\n } catch (Exception e) {\n System.out.println(e);\n }\n //output.collect(new Text(t.toString()), );\n\n }", "title": "" }, { "docid": "fe1aedb32a272c72228d48403fbbe231", "score": "0.43895867", "text": "public void setupAnalysis();", "title": "" }, { "docid": "8334dd5be660aadf3c16ac7f271caf0b", "score": "0.43861398", "text": "public boolean hasAnnotations() {\n return fieldSetFlags()[1];\n }", "title": "" }, { "docid": "1566ec6310645c4e263e22ded5bc78eb", "score": "0.43837446", "text": "private void processAnnotations(final Field property) throws CoreException {\n // For each field annotation we will attach an event handler\n for (final Annotation a : property.getAnnotations()) {\n\n if (EventTarget.class.isAssignableFrom(property.getType())) {\n\n // Manage only JRebirth OnXxxxx annotations\n if (a.annotationType().getName().startsWith(BASE_ANNOTATION_NAME)) {\n\n try {\n // Retrieve the property value\n final EventTarget target = (EventTarget) property.get(this);\n\n // Process the annotation if the node is not null\n if (target != null && controller() instanceof AbstractController) {\n addHandler(target, a);\n }\n\n } catch (IllegalArgumentException | IllegalAccessException e) {\n LOGGER.log(UIMessages.NODE_ANNO_PROCESSING_FAILURE, e, this.getClass().getName(), property.getName());\n }\n }\n\n // Manage only JRebirth OnFinished annotations\n } else if (Animation.class.isAssignableFrom(property.getType())\n && OnFinished.class.getName().equals(a.annotationType().getName())) {\n\n try {\n // Retrieve the property value\n final Animation animation = (Animation) property.get(this);\n\n // Process the annotation if the node is not null\n if (animation != null && controller() instanceof AbstractController) {\n addHandler(animation, a);\n }\n\n } catch (IllegalArgumentException | IllegalAccessException e) {\n LOGGER.log(UIMessages.ANIM_ANNO_PROCESSING_FAILURE, e, this.getClass().getName(), property.getName());\n }\n\n }\n\n }\n }", "title": "" }, { "docid": "e49a3add48545426cb6f1f032d8e45e3", "score": "0.43830127", "text": "public boolean hasProjectConfigurationAnalyzerData() {\n return ((bitField0_ & 0x00000010) != 0);\n }", "title": "" }, { "docid": "1b1c7ea1b8ce7b3049c9a896e99ed8fe", "score": "0.43816808", "text": "@Override\r\n\tpublic void annotateFragments(JCas aJCas) throws FragmentAnnotatorException {\r\n\t\t\r\n\t\tLogger fragLogger = Logger.getLogger(this.getClass().getName()); \r\n\r\n\t\t// first of all, check determined fragmentation is there or not. \r\n\t\t// If it is there, we don't run and pass \r\n\t\t// check the annotated data\r\n\t\tAnnotationIndex<Annotation> frgIndex = aJCas.getAnnotationIndex(DeterminedFragment.type);\r\n\t\t\r\n\t\tif (frgIndex.size() > 0)\r\n\t\t{\r\n\t\t\tfragLogger.info(\"The CAS already has \" + frgIndex.size() + \" determined fragment annotation. Won't process this CAS.\"); \r\n\t\t\treturn; \r\n\t\t}\r\n\t\t\r\n\t\t//add lap annotation\r\n\t\taddLAPTokenAnnotation(aJCas);\r\n\r\n\t\t//add determined fragment annotation\r\n\t\tfragLogger.info(\"Annotating determined fragments on CAS. CAS Text has: \\\"\" + aJCas.getDocumentText() + \"\\\".\"); \r\n\t\tint num_frag = 0; \r\n\t\tAnnotationIndex<Annotation> tokenIndex = aJCas.getAnnotationIndex(Token.type);\r\n\t\tIterator<Annotation> tokenItr = tokenIndex.iterator();\r\n\t\tSet<Lemma> lemmasToAdd = new HashSet<Lemma>();\r\n\t\twhile(tokenItr.hasNext()) {\r\n\t\t\t//annotate each token except punctuation as one fragment, if it matches the filter \r\n\t\t\tToken tk = (Token) tokenItr.next(); \r\n\t\t\ttry {\r\n\t\t\t\tif(isAllowed(tk, tokenPOSFilter)){\r\n\t\t\t\t\tString tokenText = tk.getCoveredText();\r\n\t\t\t\t\tif(tokenText.length()==1 && !isDigit(tokenText)){\r\n\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t}\r\n\t\t\t\t\ttmpLemmaMap.put(tokenText, tk.getLemma().getValue());\r\n\t\t\t\t\tCASUtils.Region[] r = new CASUtils.Region[1];\r\n\t\t\t\t\tr[0] = new CASUtils.Region(tk.getBegin(), tk.getEnd()); \r\n\t\t\t\t\tfragLogger.info(\"Annotating the following as a fragment: \" + tk.getCoveredText());\r\n\t\t\t\t\tCASUtils.annotateOneDeterminedFragment(aJCas, r);\r\n\t\t\t\t\tnum_frag++;\r\n\t\t\t\t\tif(splitter != null){\r\n\t\t\t\t\t\tCollection<String> compoundParts = decompoundWord(tokenText, decompositionType);\r\n\t\t\t\t\t\tif(compoundParts.size() > 1){\r\n\t\t\t\t\t\t\tfor(String compoundPart : compoundParts){\r\n\t\t\t\t\t\t\t\tif(compoundPart.length() == 1 && !isDigit(compoundPart)){\r\n\t\t\t\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t\t\t}\r\n//\t\t\t\t\t\t\t\tif(compoundPart.length()>1){\r\n\t\t\t\t\t\t\t\t\tif(!compoundPart.equals(tokenText)) {\r\n\t\t\t\t\t\t\t\t\t\tint index = tokenText.toLowerCase().indexOf(compoundPart.toLowerCase());\r\n\t\t\t\t\t\t\t\t\t\tint compoundPartBegin = tk.getBegin() + index;\r\n\t\t\t\t\t\t\t\t\t\tint compoundPartEnd = compoundPartBegin + compoundPart.length();\r\n\t\t\t\t\t\t\t\t\t\tindex = compoundPartEnd + 1;\r\n\t\t\t\t\t\t\t\t\t\tr[0] = new CASUtils.Region(compoundPartBegin, compoundPartEnd);\r\n\t\t\t\t\t\t\t\t\t\tLemma compoundLemma = createLemma(aJCas, compoundPart, compoundPartBegin, compoundPartEnd);\r\n\t\t\t\t\t\t\t\t\t\tlemmasToAdd.add(compoundLemma);\r\n//\t\t\t\t\t\t\t\t\t\tSystem.out.println(\"Annotating the following as a fragment: \" + tokenText + \" \" + aJCas.getDocumentText().substring(compoundPartBegin, compoundPartEnd));\r\n\t\t\t\t\t\t\t\t\t\tfragLogger.info(\"Annotating the following as a fragment: \" + aJCas.getDocumentText().substring(compoundPartBegin, compoundPartEnd));\r\n\t\t\t\t\t\t\t\t\t\tCASUtils.annotateOneDeterminedFragment(aJCas, r);\r\n\t\t\t\t\t\t\t\t\t\tnum_frag++;\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\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\tcatch (LAPException e)\r\n\t\t\t{\r\n\t\t\t\tthrow new FragmentAnnotatorException(\"CASUtils reported exception while annotating Fragment, on token (\" + tk.getBegin() + \",\"+ tk.getEnd(), e );\r\n\t\t\t}\r\n\t\t\t \r\n\t\t}\r\n\t\tfragLogger.info(\"Annotated \" + num_frag + \" determined fragments\"); \r\n\t\t//add lemma of compound parts to the indexes\r\n\t\tfor(Lemma lemma : lemmasToAdd){\r\n\t\t\taJCas.addFsToIndexes(lemma);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "e658c8c34dba6a7f1216532cbd0a2bfd", "score": "0.43756646", "text": "public interface DynamicAnnotationManager {\n\n\n public Runnable process(int schema, int sqltype, int[] tables, BufferSQLContext context) throws Exception;\n\n /**\n * 动态注解先匹配chema的名字,再sql类型,在匹配表名,在匹配条件\n *\n * @param\n * @return\n */\n //public void processNow(int schema, int sqltype, int[] tables, BufferSQLContext context) throws Exception ;\n public default Runnable process(String schema, int sqltype, int[] tables, BufferSQLContext context) throws Exception {\n\n return process(schema.hashCode(), sqltype, tables, context);\n }\n\n public default Runnable process(String schema, int sqltype, String[] tables, BufferSQLContext context) throws Exception {\n return process(schema.hashCode(), sqltype, DynamicAnnotationKeyRoute.stringArray2HashArray(tables), context);\n }\n\n public void collectInSQLAnnotationList(int schema, int sqltype, int[] tables, BufferSQLContext context, List<SQLAnnotationList> collect)throws Exception;\n public default void collectInSQLAnnotationList(String schema, int sqltype, int[] tables, BufferSQLContext context, List<SQLAnnotationList> collect) throws Exception {\n collectInSQLAnnotationList(schema.hashCode(), sqltype, tables, context,collect);\n }\n public void collect(int schema, int sqltype, int[] tables, BufferSQLContext context, List<SQLAnnotation> collect)throws Exception;\n public default void collect(String schema, int sqltype, int[] tables, BufferSQLContext context, List<SQLAnnotation> collect) throws Exception {\n collect(schema.hashCode(), sqltype, tables, context,collect);\n }\n\n\n}", "title": "" }, { "docid": "dc28ddd36233b6a7acd1c5fbe6efe193", "score": "0.43736497", "text": "interface AnnotationReader {\n\n /**\n * Resolves the underlying {@link AnnotatedElement}.\n *\n * @return The underlying annotated element.\n */\n AnnotatedElement resolve();\n\n /**\n * Returns the underlying type annotations as a list.\n *\n * @return The underlying type annotations as a list.\n */\n AnnotationList asList();\n\n /**\n * Returns a reader for type annotations of an represented element's wildcard upper bound.\n *\n * @param index The wildcard bound's index.\n * @return An annotation reader for the underlying annotated upper bound.\n */\n AnnotationReader ofWildcardUpperBoundType(int index);\n\n /**\n * Returns a reader for type annotations of an represented element's wildcard lower bound.\n *\n * @param index The wildcard bound's index.\n * @return An annotation reader for the underlying annotated lower bound.\n */\n AnnotationReader ofWildcardLowerBoundType(int index);\n\n /**\n * Returns a reader for type annotations of a type variable's bound.\n *\n * @param index The bound's index.\n * @return An annotation reader for the underlying annotated bound.\n */\n AnnotationReader ofTypeVariableBoundType(int index);\n\n /**\n * Returns a reader for type annotations of a parameterized type's type argument.\n *\n * @param index The bound's index.\n * @return An annotation reader for the underlying annotated bound..\n */\n AnnotationReader ofTypeArgument(int index);\n\n /**\n * <p>\n * Returns a reader for type annotations of a parameterized type's owner type.\n * </p>\n * <p>\n * <b>Important</b>: This feature is not currently implemented by the Java reflection API.\n * </p>\n *\n * @return An annotation reader for the underlying owner type.\n */\n AnnotationReader ofOwnerType();\n\n /**\n * <p>\n * Returns a reader for type annotations of an inner class type's outer type.\n * </p>\n * <p>\n * <b>Important</b>: This feature is not currently implemented by the Java reflection API.\n * </p>\n *\n * @return An annotation reader for the underlying owner type.\n */\n AnnotationReader ofOuterClass();\n\n /**\n * Returns a reader for type annotations of an array's component type.\n *\n * @return An annotation reader for the underlying component type.\n */\n AnnotationReader ofComponentType();\n\n /**\n * A non-operational annotation reader.\n */\n enum NoOp implements AnnotationReader, AnnotatedElement {\n\n /**\n * The singleton instance.\n */\n INSTANCE;\n\n /**\n * {@inheritDoc}\n */\n public AnnotatedElement resolve() {\n return this;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationList asList() {\n return new AnnotationList.Empty();\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationReader ofWildcardUpperBoundType(int index) {\n return this;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationReader ofWildcardLowerBoundType(int index) {\n return this;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationReader ofTypeVariableBoundType(int index) {\n return this;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationReader ofTypeArgument(int index) {\n return this;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationReader ofOwnerType() {\n return this;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationReader ofOuterClass() {\n return this;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationReader ofComponentType() {\n return this;\n }\n\n /**\n * {@inheritDoc}\n */\n public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass) {\n throw new IllegalStateException(\"Cannot resolve annotations for no-op reader: \" + this);\n }\n\n /**\n * {@inheritDoc}\n */\n public <T extends Annotation> T getAnnotation(Class<T> annotationClass) {\n throw new IllegalStateException(\"Cannot resolve annotations for no-op reader: \" + this);\n }\n\n /**\n * {@inheritDoc}\n */\n public Annotation[] getAnnotations() {\n throw new IllegalStateException(\"Cannot resolve annotations for no-op reader: \" + this);\n }\n\n /**\n * {@inheritDoc}\n */\n public Annotation[] getDeclaredAnnotations() {\n return new Annotation[0];\n }\n }\n\n /**\n * A delegating annotation reader that delegates all invocations to an annotation reader that wraps the previous one.\n */\n abstract class Delegator implements AnnotationReader {\n\n /**\n * A proxy for {@code java.security.AccessController#doPrivileged} that is activated if available.\n *\n * @param action The action to execute from a privileged context.\n * @param <T> The type of the action's resolved value.\n * @return The action's resolved value.\n */\n @AccessControllerPlugin.Enhance\n static <T> T doPrivileged(PrivilegedAction<T> action) {\n return action.run();\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationReader ofWildcardUpperBoundType(int index) {\n return new ForWildcardUpperBoundType(this, index);\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationReader ofWildcardLowerBoundType(int index) {\n return new ForWildcardLowerBoundType(this, index);\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationReader ofTypeVariableBoundType(int index) {\n return new ForTypeVariableBoundType(this, index);\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationReader ofTypeArgument(int index) {\n return new ForTypeArgument(this, index);\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationReader ofOwnerType() {\n return new ForOwnerType(this);\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationReader ofOuterClass() {\n return new ForOwnerType(this);\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationReader ofComponentType() {\n return new ForComponentType(this);\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationList asList() {\n return new AnnotationList.ForLoadedAnnotations(resolve().getDeclaredAnnotations());\n }\n\n /**\n * A simple delegator for a given {@link AnnotatedElement}.\n */\n @HashCodeAndEqualsPlugin.Enhance\n public static class Simple extends Delegator {\n\n /**\n * The represented {@link AnnotatedElement}.\n */\n private final AnnotatedElement annotatedElement;\n\n /**\n * Creates a new simple delegator.\n *\n * @param annotatedElement The represented {@link AnnotatedElement}.\n */\n public Simple(AnnotatedElement annotatedElement) {\n this.annotatedElement = annotatedElement;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotatedElement resolve() {\n return annotatedElement;\n }\n }\n\n /**\n * A chained delegator that bases its result on an underlying annotation reader.\n */\n @HashCodeAndEqualsPlugin.Enhance\n protected abstract static class Chained extends Delegator {\n\n /**\n * The underlying annotation reader.\n */\n protected final AnnotationReader annotationReader;\n\n /**\n * Creates a new chained annotation reader.\n *\n * @param annotationReader The underlying annotation reader.\n */\n protected Chained(AnnotationReader annotationReader) {\n this.annotationReader = annotationReader;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotatedElement resolve() {\n return resolve(annotationReader.resolve());\n }\n\n /**\n * Resolves the type annotations from a given annotated element into the annotated element that this instance represents.\n *\n * @param annotatedElement The original annotated element.\n * @return The resolved annotated element.\n */\n protected abstract AnnotatedElement resolve(AnnotatedElement annotatedElement);\n }\n\n /**\n * A delegating annotation reader for an annotated type variable.\n */\n @HashCodeAndEqualsPlugin.Enhance\n public static class ForLoadedTypeVariable extends Delegator {\n\n /**\n * The represented type variable.\n */\n private final TypeVariable<?> typeVariable;\n\n /**\n * Creates a new annotation reader for the given type variable.\n *\n * @param typeVariable The represented type variable.\n */\n public ForLoadedTypeVariable(TypeVariable<?> typeVariable) {\n this.typeVariable = typeVariable;\n }\n\n /**\n * {@inheritDoc}\n */\n @SuppressFBWarnings(value = \"BC_VACUOUS_INSTANCEOF\", justification = \"Cast is required for JVMs before Java 8.\")\n public AnnotatedElement resolve() {\n // Older JVMs require this check and cast as the hierarchy was introduced in a later version.\n return typeVariable instanceof AnnotatedElement\n ? (AnnotatedElement) typeVariable\n : NoOp.INSTANCE;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotationReader ofTypeVariableBoundType(int index) {\n return new ForTypeVariableBoundType.OfFormalTypeVariable(typeVariable, index);\n }\n }\n\n /**\n * A delegating annotation reader for an annotated super type.\n */\n @HashCodeAndEqualsPlugin.Enhance(includeSyntheticFields = true)\n public static class ForLoadedSuperClass extends Delegator {\n\n /**\n * The represented type.\n */\n private final Class<?> type;\n\n /**\n * Creates a new annotation reader for an annotated super type.\n *\n * @param type The represented type.\n */\n public ForLoadedSuperClass(Class<?> type) {\n this.type = type;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotatedElement resolve() {\n AnnotatedElement element = ForLoadedType.DISPATCHER.getAnnotatedSuperclass(type);\n return element == null\n ? NoOp.INSTANCE\n : element;\n }\n }\n\n /**\n * A delegating annotation reader for an annotated interface type.\n */\n @HashCodeAndEqualsPlugin.Enhance(includeSyntheticFields = true)\n public static class ForLoadedInterface extends Delegator {\n\n /**\n * The represented interface type.\n */\n private final Class<?> type;\n\n /**\n * The interface type's index.\n */\n private final int index;\n\n /**\n * Creates a new annotation reader for an annotated interface type.\n *\n * @param type The represented interface type.\n * @param index The interface type's index.\n */\n public ForLoadedInterface(Class<?> type, int index) {\n this.type = type;\n this.index = index;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotatedElement resolve() {\n AnnotatedElement[] element = ForLoadedType.DISPATCHER.getAnnotatedInterfaces(type);\n return element.length == 0 ? NoOp.INSTANCE : element[index];\n }\n }\n\n /**\n * A delegating annotation reader for an annotated field variable.\n */\n @HashCodeAndEqualsPlugin.Enhance(includeSyntheticFields = true)\n public static class ForLoadedField extends Delegator {\n\n /**\n * A dispatcher for interacting with {@link Field}.\n */\n protected static final Dispatcher DISPATCHER = doPrivileged(JavaDispatcher.of(Dispatcher.class));\n\n /**\n * The represented field.\n */\n private final Field field;\n\n /**\n * Creates a new annotation reader for an annotated field type.\n *\n * @param field The represented field.\n */\n public ForLoadedField(Field field) {\n this.field = field;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotatedElement resolve() {\n AnnotatedElement element = DISPATCHER.getAnnotatedType(field);\n return element == null\n ? NoOp.INSTANCE\n : element;\n }\n\n /**\n * A dispatcher for interacting with {@link Field}.\n */\n @JavaDispatcher.Proxied(\"java.lang.reflect.Field\")\n protected interface Dispatcher {\n\n /**\n * Resolves the supplied method's annotated field type.\n *\n * @param field The field for which to resolve the annotated type.\n * @return The field type annotations or {@code null} if this feature is not supported.\n */\n @MaybeNull\n @JavaDispatcher.Defaults\n AnnotatedElement getAnnotatedType(Field field);\n }\n }\n\n /**\n * A delegating annotation reader for an annotated return variable.\n */\n @HashCodeAndEqualsPlugin.Enhance(includeSyntheticFields = true)\n public static class ForLoadedMethodReturnType extends Delegator {\n\n /**\n * A dispatcher for interacting with {@link Method}.\n */\n protected static final Dispatcher DISPATCHER = doPrivileged(JavaDispatcher.of(Dispatcher.class));\n\n /**\n * The represented method.\n */\n private final Method method;\n\n /**\n * Creates a new annotation reader for an annotated return type.\n *\n * @param method The represented method.\n */\n public ForLoadedMethodReturnType(Method method) {\n this.method = method;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotatedElement resolve() {\n AnnotatedElement element = DISPATCHER.getAnnotatedReturnType(method);\n return element == null\n ? NoOp.INSTANCE\n : element;\n }\n\n /**\n * A dispatcher for interacting with {@link Method}.\n */\n @JavaDispatcher.Proxied(\"java.lang.reflect.Method\")\n protected interface Dispatcher {\n\n /**\n * Resolves the supplied method's annotated return type.\n *\n * @param method The executable for which to resolve the annotated return type.\n * @return The return type annotations or {@code null} if this feature is not supported.\n */\n @MaybeNull\n @JavaDispatcher.Defaults\n AnnotatedElement getAnnotatedReturnType(Method method);\n }\n }\n\n /**\n * A delegating annotation reader for an annotated parameter variable.\n */\n @HashCodeAndEqualsPlugin.Enhance(includeSyntheticFields = true)\n public static class ForLoadedExecutableParameterType extends Delegator {\n\n /**\n * A dispatcher for interacting with {@code java.lang.reflect.Executable}.\n */\n protected static final Dispatcher DISPATCHER = doPrivileged(JavaDispatcher.of(Dispatcher.class));\n\n /**\n * The represented executable.\n */\n private final AccessibleObject executable;\n\n /**\n * The type argument's index.\n */\n private final int index;\n\n /**\n * Creates a new annotation reader for an annotated type argument type.\n *\n * @param executable The represented executable.\n * @param index The type argument's index.\n */\n public ForLoadedExecutableParameterType(AccessibleObject executable, int index) {\n this.executable = executable;\n this.index = index;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotatedElement resolve() {\n AnnotatedElement[] element = DISPATCHER.getAnnotatedParameterTypes(executable);\n return element.length == 0 ? NoOp.INSTANCE : element[index];\n }\n\n /**\n * A type for interacting with {@code java.lang.reflect.Executable}.\n */\n @JavaDispatcher.Proxied(\"java.lang.reflect.Executable\")\n protected interface Dispatcher {\n\n /**\n * Resolves the supplied {@code java.lang.reflect.Executable}'s annotated parameter types.\n *\n * @param executable The executable for which to resolve its annotated parameter types.\n * @return An array of parameter type annotations or an empty array if this feature is not supported.\n */\n @JavaDispatcher.Defaults\n AnnotatedElement[] getAnnotatedParameterTypes(Object executable);\n }\n }\n\n /**\n * A delegating annotation reader for an annotated exception variable.\n */\n @HashCodeAndEqualsPlugin.Enhance(includeSyntheticFields = true)\n public static class ForLoadedExecutableExceptionType extends Delegator {\n\n /**\n * A dispatcher for interacting with {@code java.lang.reflect.Executable}.\n */\n protected static final Dispatcher DISPATCHER = doPrivileged(JavaDispatcher.of(Dispatcher.class));\n\n /**\n * The represented executable.\n */\n private final AccessibleObject executable;\n\n /**\n * The exception type's index.\n */\n private final int index;\n\n /**\n * Creates a new annotation reader for an annotated exception type.\n *\n * @param executable The represented executable.\n * @param index The exception type's index.\n */\n public ForLoadedExecutableExceptionType(AccessibleObject executable, int index) {\n this.executable = executable;\n this.index = index;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotatedElement resolve() {\n AnnotatedElement[] element = DISPATCHER.getAnnotatedExceptionTypes(executable);\n return element.length == 0 ? NoOp.INSTANCE : element[index];\n }\n\n /**\n * A proxy type for interacting with {@code java.lang.reflect.Executable}.\n */\n @JavaDispatcher.Proxied(\"java.lang.reflect.Executable\")\n protected interface Dispatcher {\n\n /**\n * Resolves the supplied {@code java.lang.reflect.Executable}'s annotated exception types.\n *\n * @param executable The executable for which to resolve its annotated exception types.\n * @return An array of exception type annotations or an empty array if this feature is not supported.\n */\n @JavaDispatcher.Defaults\n AnnotatedElement[] getAnnotatedExceptionTypes(Object executable);\n }\n }\n\n /**\n * An annotation reader for a {@code java.lang.reflect.RecordComponent}.\n */\n public static class ForLoadedRecordComponent extends Delegator {\n\n /**\n * The represented {@code java.lang.reflect.RecordComponent}.\n */\n private final Object recordComponent;\n\n /**\n * Creates a new annotation reader for a {@code java.lang.reflect.RecordComponent}.\n *\n * @param recordComponent The represented {@code java.lang.reflect.RecordComponent}.\n */\n public ForLoadedRecordComponent(Object recordComponent) {\n this.recordComponent = recordComponent;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotatedElement resolve() {\n return RecordComponentDescription.ForLoadedRecordComponent.RECORD_COMPONENT.getAnnotatedType(recordComponent);\n }\n }\n }\n\n /**\n * A chained annotation reader for reading a wildcard type's upper bound type.\n */\n @HashCodeAndEqualsPlugin.Enhance\n class ForWildcardUpperBoundType extends Delegator.Chained {\n\n /**\n * A proxy to interact with {@code java.lang.reflect.AnnotatedWildcardType}.\n */\n private static final AnnotatedWildcardType ANNOTATED_WILDCARD_TYPE = doPrivileged(JavaDispatcher.of(AnnotatedWildcardType.class));\n\n /**\n * The wildcard bound's index.\n */\n private final int index;\n\n /**\n * Creates a chained annotation reader for reading a upper-bound wildcard's bound type.\n *\n * @param annotationReader The annotation reader from which to delegate.\n * @param index The wildcard bound's index.\n */\n protected ForWildcardUpperBoundType(AnnotationReader annotationReader, int index) {\n super(annotationReader);\n this.index = index;\n }\n\n @Override\n protected AnnotatedElement resolve(AnnotatedElement annotatedElement) {\n if (!ANNOTATED_WILDCARD_TYPE.isInstance(annotatedElement)) { // Avoid problem with Kotlin compiler.\n return NoOp.INSTANCE;\n }\n try {\n AnnotatedElement[] annotatedUpperBound = ANNOTATED_WILDCARD_TYPE.getAnnotatedUpperBounds(annotatedElement);\n return annotatedUpperBound.length == 0 // Wildcards with a lower bound do not define annotations for their implicit upper bound.\n ? NoOp.INSTANCE\n : annotatedUpperBound[index];\n } catch (ClassCastException ignored) { // To avoid a bug on early releases of Java 8.\n return NoOp.INSTANCE;\n }\n }\n\n /**\n * A proxy to interact with {@code java.lang.reflect.AnnotatedWildcardType}.\n */\n @JavaDispatcher.Proxied(\"java.lang.reflect.AnnotatedWildcardType\")\n protected interface AnnotatedWildcardType {\n\n /**\n * Returns {@code true} if the supplied instance implements {@code java.lang.reflect.AnnotatedWildcardType}.\n *\n * @param value The annotated element to consider.\n * @return {@code true} if the supplied instance is of type {@code java.lang.reflect.AnnotatedWildcardType}.\n */\n @JavaDispatcher.Instance\n boolean isInstance(AnnotatedElement value);\n\n /**\n * Returns the supplied annotated element's annotated upper bounds.\n *\n * @param value The annotated element to resolve.\n * @return An array of annotated upper bounds for the supplied annotated elements.\n */\n AnnotatedElement[] getAnnotatedUpperBounds(AnnotatedElement value);\n }\n }\n\n /**\n * A chained annotation reader for reading a wildcard type's lower bound type.\n */\n @HashCodeAndEqualsPlugin.Enhance\n class ForWildcardLowerBoundType extends Delegator.Chained {\n\n /**\n * A dispatcher to interact with {@code java.lang.reflect.AnnotatedWildcardType}.\n */\n private static final AnnotatedWildcardType ANNOTATED_WILDCARD_TYPE = doPrivileged(JavaDispatcher.of(AnnotatedWildcardType.class));\n\n /**\n * The wildcard bound's index.\n */\n private final int index;\n\n /**\n * Creates a chained annotation reader for reading a lower-bound wildcard's bound type.\n *\n * @param annotationReader The annotation reader from which to delegate.\n * @param index The wildcard bound's index.\n */\n protected ForWildcardLowerBoundType(AnnotationReader annotationReader, int index) {\n super(annotationReader);\n this.index = index;\n }\n\n @Override\n protected AnnotatedElement resolve(AnnotatedElement annotatedElement) {\n if (!ANNOTATED_WILDCARD_TYPE.isInstance(annotatedElement)) {\n return NoOp.INSTANCE;\n }\n try {\n return ANNOTATED_WILDCARD_TYPE.getAnnotatedLowerBounds(annotatedElement)[index];\n } catch (ClassCastException ignored) { // To avoid a bug on early releases of Java 8.\n return NoOp.INSTANCE;\n }\n }\n\n /**\n * A proxy to interact with {@code java.lang.reflect.AnnotatedWildcardType}.\n */\n @JavaDispatcher.Proxied(\"java.lang.reflect.AnnotatedWildcardType\")\n protected interface AnnotatedWildcardType {\n\n /**\n * Returns {@code true} if the supplied instance implements {@code java.lang.reflect.AnnotatedWildcardType}.\n *\n * @param value The annotated element to consider.\n * @return {@code true} if the supplied instance is of type {@code java.lang.reflect.AnnotatedWildcardType}.\n */\n @JavaDispatcher.Instance\n boolean isInstance(AnnotatedElement value);\n\n /**\n * Returns the supplied annotated element's annotated lower bounds.\n *\n * @param value The annotated element to resolve.\n * @return An array of annotated lower bounds for the supplied annotated elements.\n */\n AnnotatedElement[] getAnnotatedLowerBounds(AnnotatedElement value);\n }\n }\n\n /**\n * A chained annotation reader for reading a type variable's type argument.\n */\n @HashCodeAndEqualsPlugin.Enhance\n class ForTypeVariableBoundType extends Delegator.Chained {\n\n /**\n * A dispatcher to interact with {@code java.lang.reflect.AnnotatedTypeVariable}.\n */\n private static final AnnotatedTypeVariable ANNOTATED_TYPE_VARIABLE = doPrivileged(JavaDispatcher.of(AnnotatedTypeVariable.class));\n\n /**\n * The type variable's index.\n */\n private final int index;\n\n /**\n * Creates a chained annotation reader for reading a type variable's bound type.\n *\n * @param annotationReader The annotation reader from which to delegate.\n * @param index The type variable's index.\n */\n protected ForTypeVariableBoundType(AnnotationReader annotationReader, int index) {\n super(annotationReader);\n this.index = index;\n }\n\n @Override\n protected AnnotatedElement resolve(AnnotatedElement annotatedElement) {\n if (!ANNOTATED_TYPE_VARIABLE.isInstance(annotatedElement)) { // Avoid problem with Kotlin compiler.\n return NoOp.INSTANCE;\n }\n try {\n return ANNOTATED_TYPE_VARIABLE.getAnnotatedBounds(annotatedElement)[index];\n } catch (ClassCastException ignored) { // To avoid bug on early releases of Java 8.\n return NoOp.INSTANCE;\n }\n }\n\n /**\n * A proxy to interact with {@code java.lang.reflect.AnnotatedTypeVariable}.\n */\n @JavaDispatcher.Proxied(\"java.lang.reflect.AnnotatedTypeVariable\")\n protected interface AnnotatedTypeVariable {\n\n /**\n * Returns {@code true} if the supplied instance implements {@code java.lang.reflect.AnnotatedTypeVariable}.\n *\n * @param value The annotated element to consider.\n * @return {@code true} if the supplied instance is of type {@code java.lang.reflect.AnnotatedTypeVariable}.\n */\n @JavaDispatcher.Instance\n boolean isInstance(AnnotatedElement value);\n\n /**\n * Returns the supplied annotated type variable's annotated bounds.\n *\n * @param value The annotated type variable to resolve.\n * @return An array of annotated upper bounds for the supplied annotated type variable.\n */\n AnnotatedElement[] getAnnotatedBounds(AnnotatedElement value);\n }\n\n /**\n * A chained annotation reader for reading a formal type variable's type argument.\n */\n @HashCodeAndEqualsPlugin.Enhance\n protected static class OfFormalTypeVariable extends Delegator {\n\n /**\n * A dispatcher to interact with {@code java.lang.reflect.TypeVariable}.\n */\n private static final FormalTypeVariable TYPE_VARIABLE = doPrivileged(JavaDispatcher.of(FormalTypeVariable.class));\n\n /**\n * The represented type variable.\n */\n private final TypeVariable<?> typeVariable;\n\n /**\n * The type variable's index.\n */\n private final int index;\n\n /**\n * Creates a chained annotation reader for reading a formal type variable's bound type.\n *\n * @param typeVariable The represented type variable.\n * @param index The type variable's index.\n */\n protected OfFormalTypeVariable(TypeVariable<?> typeVariable, int index) {\n this.typeVariable = typeVariable;\n this.index = index;\n }\n\n /**\n * {@inheritDoc}\n */\n public AnnotatedElement resolve() {\n try {\n AnnotatedElement[] annotatedBound = TYPE_VARIABLE.getAnnotatedBounds(typeVariable);\n return annotatedBound.length == 0\n ? NoOp.INSTANCE\n : annotatedBound[index];\n } catch (ClassCastException ignored) { // To avoid bug on early releases of Java 8.\n return NoOp.INSTANCE;\n }\n }\n\n /**\n * A proxy to interact with {@code java.lang.reflect.TypeVariable}.\n */\n @JavaDispatcher.Proxied(\"java.lang.reflect.TypeVariable\")\n protected interface FormalTypeVariable {\n\n /**\n * Returns the supplied annotated type variable's annotated bounds or an empty array if this\n * feature is not supported.\n *\n * @param value The annotated type variable to resolve.\n * @return An array of annotated upper bounds for the supplied annotated type variable or an\n * empty array if this feature is not supported.\n */\n @JavaDispatcher.Defaults\n AnnotatedElement[] getAnnotatedBounds(Object value);\n }\n }\n }\n\n /**\n * A chained annotation reader for reading a parameterized type's type argument.\n */\n @HashCodeAndEqualsPlugin.Enhance\n class ForTypeArgument extends Delegator.Chained {\n\n /**\n * A dispatcher to interact with {@code java.lang.reflect.AnnotatedParameterizedType}.\n */\n private static final AnnotatedParameterizedType ANNOTATED_PARAMETERIZED_TYPE = doPrivileged(JavaDispatcher.of(AnnotatedParameterizedType.class));\n\n /**\n * The type argument's index.\n */\n private final int index;\n\n /**\n * Creates a chained annotation reader for reading a component type.\n *\n * @param annotationReader The annotation reader from which to delegate.\n * @param index The type argument's index.\n */\n protected ForTypeArgument(AnnotationReader annotationReader, int index) {\n super(annotationReader);\n this.index = index;\n }\n\n @Override\n protected AnnotatedElement resolve(AnnotatedElement annotatedElement) {\n if (!ANNOTATED_PARAMETERIZED_TYPE.isInstance(annotatedElement)) { // Avoid problem with Kotlin compiler.\n return NoOp.INSTANCE;\n }\n try {\n return ANNOTATED_PARAMETERIZED_TYPE.getAnnotatedActualTypeArguments(annotatedElement)[index];\n } catch (ClassCastException ignored) { // To avoid bug on early releases of Java 8.\n return NoOp.INSTANCE;\n }\n }\n\n /**\n * A proxy to interact with {@code java.lang.reflect.AnnotatedParameterizedType}.\n */\n @JavaDispatcher.Proxied(\"java.lang.reflect.AnnotatedParameterizedType\")\n protected interface AnnotatedParameterizedType {\n\n /**\n * Returns {@code true} if the supplied instance implements {@code java.lang.reflect.AnnotatedParameterizedType}.\n *\n * @param value The annotated element to consider.\n * @return {@code true} if the supplied instance is of type {@code java.lang.reflect.AnnotatedParameterizedType}.\n */\n @JavaDispatcher.Instance\n boolean isInstance(AnnotatedElement value);\n\n /**\n * Returns the supplied annotated parameterize type's annotated actual type arguments.\n *\n * @param value The annotated type variable to resolve.\n * @return The supplied annotated parameterize type's annotated actual type arguments.\n */\n AnnotatedElement[] getAnnotatedActualTypeArguments(AnnotatedElement value);\n }\n }\n\n /**\n * A chained annotation reader for reading a component type.\n */\n class ForComponentType extends Delegator.Chained {\n\n /**\n * A dispatcher for interacting with {@code java.lang.reflect.AnnotatedArrayType}.\n */\n private static final AnnotatedParameterizedType ANNOTATED_PARAMETERIZED_TYPE = doPrivileged(JavaDispatcher.of(AnnotatedParameterizedType.class));\n\n /**\n * Creates a chained annotation reader for reading a component type.\n *\n * @param annotationReader The annotation reader from which to delegate.\n */\n protected ForComponentType(AnnotationReader annotationReader) {\n super(annotationReader);\n }\n\n @Override\n protected AnnotatedElement resolve(AnnotatedElement annotatedElement) {\n if (!ANNOTATED_PARAMETERIZED_TYPE.isInstance(annotatedElement)) { // Avoid problem with Kotlin compiler.\n return NoOp.INSTANCE;\n }\n try {\n return ANNOTATED_PARAMETERIZED_TYPE.getAnnotatedGenericComponentType(annotatedElement);\n } catch (ClassCastException ignored) { // To avoid bug on early releases of Java 8.\n return NoOp.INSTANCE;\n }\n }\n\n /**\n * A proxy to interact with {@code java.lang.reflect.AnnotatedArrayType}.\n */\n @JavaDispatcher.Proxied(\"java.lang.reflect.AnnotatedArrayType\")\n protected interface AnnotatedParameterizedType {\n\n /**\n * Returns {@code true} if the supplied instance implements {@code java.lang.reflect.AnnotatedArrayType}.\n *\n * @param value The annotated element to consider.\n * @return {@code true} if the supplied instance is of type {@code java.lang.reflect.AnnotatedArrayType}.\n */\n @JavaDispatcher.Instance\n boolean isInstance(AnnotatedElement value);\n\n /**\n * Returns the supplied annotated array type's annotated component type.\n *\n * @param value The annotated array type to resolve.\n * @return The supplied annotated array type's annotated component type.\n */\n AnnotatedElement getAnnotatedGenericComponentType(AnnotatedElement value);\n }\n }\n\n /**\n * A chained annotation reader for reading an owner type.\n */\n class ForOwnerType extends Delegator.Chained {\n\n /**\n * A dispatcher for interacting with {@code java.lang.reflect.AnnotatedType}.\n */\n private static final AnnotatedType ANNOTATED_TYPE = doPrivileged(JavaDispatcher.of(AnnotatedType.class));\n\n /**\n * Creates a chained annotation reader for reading an owner type if it is accessible.\n *\n * @param annotationReader The annotation reader from which to delegate.\n */\n protected ForOwnerType(AnnotationReader annotationReader) {\n super(annotationReader);\n }\n\n @Override\n protected AnnotatedElement resolve(AnnotatedElement annotatedElement) {\n try {\n AnnotatedElement annotatedOwnerType = ANNOTATED_TYPE.getAnnotatedOwnerType(annotatedElement);\n return annotatedOwnerType == null\n ? NoOp.INSTANCE\n : annotatedOwnerType;\n } catch (ClassCastException ignored) { // To avoid bug on early releases of Java 8.\n return NoOp.INSTANCE;\n }\n }\n\n /**\n * A proxy to interact with {@code java.lang.reflect.AnnotatedType}.\n */\n @JavaDispatcher.Proxied(\"java.lang.reflect.AnnotatedType\")\n protected interface AnnotatedType {\n\n /**\n * Returns the type's annotated owner type or {@code null} if this feature is not supported.\n *\n * @param value The annotated type to resolve.\n * @return The annotated owner type for the supplied annotated type or {@code null} if this feature is not supported.\n */\n @MaybeNull\n @JavaDispatcher.Defaults\n AnnotatedElement getAnnotatedOwnerType(AnnotatedElement value);\n }\n }\n }", "title": "" }, { "docid": "8d7a8f055e23625d387eeceb28324551", "score": "0.4365465", "text": "public void setProcessorClass(String processorClass);", "title": "" }, { "docid": "1cb37ee0adba85842f6ecca0c0e30a37", "score": "0.43642408", "text": "@Override\r\n public List<Tree>[] calcParseInfo(Tree sentTree,\r\n int startWord, int endWord,\r\n MentionType markableType) {\r\n List<Tree>[] result = new List[3];\r\n List<Tree> projections = new ArrayList<Tree>();\r\n List<Tree> premod = new ArrayList<Tree>();\r\n List<Tree> postmod = new ArrayList<Tree>();\r\n result[0] = projections;\r\n result[1] = premod;\r\n result[2] = postmod;\r\n Tree node = calcLowestProjection(sentTree, startWord, endWord);\r\n projections.add(node);\r\n for (Tree n : node.children()) {\r\n String cat = n.value();\r\n if (attr_node.matcher(cat).matches()) {\r\n premod.add(n);\r\n } else if (rel_node.matcher(cat).matches()) {\r\n postmod.add(n);\r\n }\r\n }\r\n return result;\r\n }", "title": "" }, { "docid": "a5acd875e6da362ca116ea6e03dd557b", "score": "0.43618652", "text": "public void createAnalyzers() {\n analyzers = new ArrayList<Analyzer>();\n analyzers.add(new UniqueTokenAnalyzer(properties));\n analyzers.add(new SummaryReport(properties));\n analyzers.add(new BigWordAnalyzer(properties));\n analyzers.add(new TokenCountAnalyzer(properties));\n analyzers.add(new LexicalDensityAnalyzer(properties));\n analyzers.add(new TokenSizeAnalyzer(properties));\n analyzers.add(new KeywordAnalyzer(properties));\n }", "title": "" }, { "docid": "5a76fee95df85b407247f3bdbff3ab73", "score": "0.43590838", "text": "public DocumentProcessorManager getDocumentProcessorProvider() {\n\t\treturn this.processorProvider;\n\t}", "title": "" }, { "docid": "df3d8664643a56680118de3a9aff0cdc", "score": "0.43578538", "text": "private void initData() {\n\t\tintent = this.getIntent();\n\t\tworkOrder = (WorkOrder) intent.getSerializableExtra(\"workOrder\");\n\t\tiActionType = intent.getStringExtra(IACTIONTYPE);\n\t\texamineList = (List<T>) intent.getSerializableExtra(\"examineList\");\n\t\tparasMap = (HashMap<String, Object>) intent\n\t\t\t\t.getSerializableExtra(PARASMAP);\n\t\tif (examineList != null && examineList.size() > 0) {\n\t\t\texamine.setData(examineList);\n\t\t}\n\t\texamine.setIEventListener(eventListent);\n\t}", "title": "" }, { "docid": "2d5be426dacbfc81480e5ee0492f4210", "score": "0.4339936", "text": "public AnnotationParser(AnnotationParserTokenManager tm) {\n token_source = tm;\n token = new Token();\n jj_ntk = -1;\n jj_gen = 0;\n for (int i = 0; i < 2; i++) jj_la1[i] = -1;\n }", "title": "" }, { "docid": "dd1cac8214a328763e7dce8552ca38c1", "score": "0.43282032", "text": "@Override\n\t\t\t\tpublic void recognizerStarted() {\n\n\t\t\t\t}", "title": "" }, { "docid": "dc58014d6192935acd9910d350d4f592", "score": "0.43155593", "text": "private static void prepareDataAutomatic() {\n\t\tint numberOfSets = 0;\n\t\tif (Features.isUseUnigramFeatures()) {\n\t\t\tnumberOfSets++;\n\t\t}\n\t\ttext = text + \"Use unigram features: [\" + Features.isUseUnigramFeatures() + \"] - Used in Quantification: [\" + Features.isUseUnigramFeatures() + \"]\" + n;\n\t\ttextProperty.set(text);\n\t\t\n\t\tif (Features.isUsePatternFeatures()) {\n\t\t\tnumberOfSets++;\n\t\t}\n\t\ttext = text + \"Use basic pattern features: [\" + Features.isUsePatternFeatures() + \"] - Used in Quantification: [\" + Features.isUsePatternFeatures() + \"]\" + n;\n\t\ttextProperty.set(text);\n\t\t\n\t\tif (Features.isUseAdvancedPatternFeatures()) {\n\t\t\tnumberOfSets++;\n\t\t}\n\t\ttext = text + \"Use adv. pattern features: [\" + Features.isUseAdvancedPatternFeatures() + \"] - Used in Quantification: [\" + Features.isUseAdvancedPatternFeatures() + \"]\" + n;\n\t\ttextProperty.set(text);\n\t\t\n\t\t// set the corresponding scoring coefficients\n\t\tif (numberOfSets == 0) {\n\t\t\tdouble[][] coefficients = new double[0][0];\n\t\t\tFeatures.setCoefficients(coefficients);\n\t\t\ttotalNumberOfTasks.set(1);\n\t\t} else if (numberOfSets == 1) {\n\t\t\tdouble[][] coefficients = new double[1][1];\n\t\t\tcoefficients[0][0] = 1;\n\t\t\tFeatures.setCoefficients(coefficients);\n\t\t\ttotalNumberOfTasks.set(1);\n\t\t} else if (numberOfSets == 2) {\n\t\t\tdouble[][] coefficients = new double[2][11];\n\t\t\tfor (int i = 0; i < 11; i++) {\n\t\t\t\tcoefficients[0][i] = (double) i / 10;\n\t\t\t\tcoefficients[1][i] = 1 - coefficients[0][i];\n\t\t\t\ttotalNumberOfTasks.set(11);\n\t\t\t}\n\t\t\tFeatures.setCoefficients(coefficients);\n\t\t} else if (numberOfSets == 3) {\n\t\t\tFeatures.setCoefficients(Reader.getCoefficients(Constants.COEFFICIENTS));\n\t\t\ttotalNumberOfTasks.set(66);\n\t\t} \n\t\t\n\t\ttext = text + \"Coefficients extracted\" + n;\n\t\ttextProperty.set(text);\n\t\t\n\t\t// Select the data set to use\n\t\tArrayList<Tweet> tweets;\n\t\t\n\t\tif (Parameters.getTypeOfProject().equals(Parameters.TypeOfProject.TESTSET)) {\n\t\t\ttweets = Parameters.getTestSet();\n\t\t\ttext = text + \"Data set to use: \" + \"[Test Set]\" + n;\n\t\t\ttextProperty.set(text);\n\t\t} else {\n\t\t\ttweets = Parameters.getUnknownSet();\n\t\t\ttext = text + \"Data set to use: \" + \"[Non-annotated Set]\" + n;\n\t\t\ttextProperty.set(text);\n\t\t}\n\t\t\n\t\t// Add Unigram final scores\n\t\tif (Features.isUseUnigramFeatures()) {\n\t\t\tfor (Tweet tweet : tweets) {\n\t\t\t\tTweetProcessing.addUnigramScores(tweet, Parameters.getClasses());\n\t\t\t}\n\t\t\ttext = text + \"Unigram scores extracted\" + n;\n\t\t\ttextProperty.set(text);\n\t\t}\n\t\t\n\t\t// Add the basic pattern final scores\n\t\tif (Features.isUsePatternFeatures()) {\n\t\t\t\n\t\t\tint m = Features.getMaxPatternLength() - Features.getMinPatternLength() + 1;\n\t\t\tint min = Features.getMinPatternLength();\n\t\t\t\n\t\t\tdouble[] factors = new double[m];\n\t\t\t\n\t\t\tfor (int i=0; i<m; i++) {\n\t\t\t\tfactors[i] = (double) (min + i-1) / (double) (min + i+1); \n\t\t\t}\n\t\t\t\n\t\t\tfor (Tweet tweet : tweets) {\n\t\t\t\tTweetProcessing.addBasicPatternScores(tweet, Parameters.getClasses(), factors);\n\t\t\t}\n\t\t\ttext = text + \"Basic pattern scores extracted\" + n;\n\t\t\ttextProperty.set(text);\n\t\t}\n\t\t\n\t\t// Add the Advanced pattern final scores\n\t\tif (Features.isUseAdvancedPatternFeatures()) {\n\t\t\t\n\t\t\tint m = Features.getAdvancedMaxPatternLength() - Features.getAdvancedMinPatternLength() + 1;\n\t\t\tint min = Features.getAdvancedMinPatternLength();\n\t\t\t\n\t\t\tdouble[] factors = new double[m];\n\t\t\t\n\t\t\tfor (int i=0; i<m; i++) {\n\t\t\t\tfactors[i] = (double) (min + i-1) / (double) (min + i+1); \n\t\t\t}\n\t\t\t\n\t\t\tfor (Tweet tweet : tweets) {\n\t\t\t\tTweetProcessing.addAdvancedPatternScores(tweet, Parameters.getClasses(), factors);\n\t\t\t}\n\t\t\ttext = text + \"Advanced pattern scores extracted\" + n;\n\t\t\ttextProperty.set(text);\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "9e90f12c2939d33a7c6c51f2247800cf", "score": "0.431307", "text": "protected void createGeneratorAnnotations() {\n String source = \"http://es.unizar.disco/dice/profiles/generator\";\t\n addAnnotation\n (this, \n source, \n new String[] {\n });\t\n addAnnotation\n (cloudElementEClass, \n source, \n new String[] {\n \"description\", \"Abstract class, inherit from MODACloudsML which capture common concepts shared by \\nmost of the classes specified in meta-model. For example a class extending CloudElement can have Properties and \\nResouces associated.\"\n });\t\n addAnnotation\n (propertyEClass, \n source, \n new String[] {\n \"description\", \"Represents a generic properties, specified by a pair of <id,value> and owned by a CloudElement.\\n\"\n });\t\n addAnnotation\n (resourceEClass, \n source, \n new String[] {\n \"description\", \"Represents a resource associated to an element which might be used to support the deployment and configuration of the such element. \\nFor instance a Resource may detail the deployment script of a CloudElement (e.g. an InternalComponent or an ExecutionBinding).\"\n });\t\n addAnnotation\n (componentEClass, \n source, \n new String[] {\n \"description\", \"Inherit from MODACloudsML, it represents a reusable type of cloud component (e.g. a virtual machine or an application).\"\n });\t\n addAnnotation\n (internalComponentEClass, \n source, \n new String[] {\n \"description\", \"Inherit from MODACloudsML, this represents a component that is managed by the application provider,\\nor the developer (e.g. a Big Data application).\"\n });\t\n addAnnotation\n (executionPlatformEClass, \n source, \n new String[] {\n \"description\", \"Inherited from MODACloudsML, it represents an generic hosting interface of a Component.\"\n });\t\n addAnnotation\n (portEClass, \n source, \n new String[] {\n \"description\", \"Represents an interface (provided or required) of a Component.\\nIt is tipically used to link components in order to enable communication.\"\n });\t\n addAnnotation\n (requiredPortEClass, \n source, \n new String[] {\n \"description\", \"A specific type of Port which specify that a Component requires to \\ncommunicate and consume a features (e.g.access to a database) provided by another Component.\"\n });\t\n addAnnotation\n (providedPortEClass, \n source, \n new String[] {\n \"description\", \"A specific type of Port which specify that a Component provides features (e.g.access to a database) which can be accessed by another Component.\"\n });\t\n addAnnotation\n (requiredExecutionPlatformEClass, \n source, \n new String[] {\n \"description\", \"A specific type of ExecutionPlatform providing hosting facilities (e.g. an execution environment, like a VM or a web server) to a Component.\"\n });\t\n addAnnotation\n (providedExecutionPlatformEClass, \n source, \n new String[] {\n \"description\", \"A specific type of ExecutionPlatform which requires hosting (e.g. a Big Data application requires a Big Data platform) from a Component.\"\n });\t\n addAnnotation\n (relationshipEClass, \n source, \n new String[] {\n \"description\", \"test generation\"\n });\t\n addAnnotation\n (executionBindingEClass, \n source, \n new String[] {\n \"description\", \"Represents a binding between a RequiredExecutionPlatform and a ProvidedExecutionPlatform of two components, meaning that the first component will be hosted on the second one according to the specified binding.\"\n });\t\n addAnnotation\n (externalComponentEClass, \n source, \n new String[] {\n \"description\", \"Inherit from MODACloudsML, this represents a component that is managed by an external provider, for instance a AWS EC2 virtual machine.\"\n });\t\n addAnnotation\n (providerEClass, \n source, \n new String[] {\n \"description\", \"Represents a generic provider of Clouds services.\"\n });\t\n addAnnotation\n (vmEClass, \n source, \n new String[] {\n \"description\", \"It is an specific ExternalComponent representing the well know concept of virtual machine.\\nIt is possible to the size of the VM in terms of RAM and CPU and Storage size ranges, \\nthe preferred operating system, the enabled ports, the desired public address and the number of executing instances,\\nor the replication factor. It as been customized in the context of DICE to be able to specify DICE specific type of VM.\"\n });\t\n addAnnotation\n (ddsmEClass, \n source, \n new String[] {\n \"description\", \"test generation\"\n });\t\n addAnnotation\n (lifeCycleEClass, \n source, \n new String[] {\n \"description\", \"test generation\"\n });\t\n addAnnotation\n (stormSupervisorEClass, \n source, \n new String[] {\n \"description\", \"Specilization of an InternalComponent introduced in the context of DICE which captures \\nthe deployment and configuration details of the Storm supervisor slave process.\"\n });\t\n addAnnotation\n (stormNimbusEClass, \n source, \n new String[] {\n \"description\", \"Specilization of an InternalComponent introduced in the context of DICE which captures \\nthe deployment and configuration details of the Storm nimbus master process.\"\n });\t\n addAnnotation\n (zookeeperEClass, \n source, \n new String[] {\n \"description\", \"Specilization of an InternalComponent introduced in the context of DICE which captures \\nthe deployment and configuration details of a Zookeeper cluster.\"\n });\t\n addAnnotation\n (kafkaEClass, \n source, \n new String[] {\n \"description\", \"Specilization of an InternalComponent introduced in the context of DICE which captures \\nthe deployment and configuration details of a Kafka cluster.\"\n });\t\n addAnnotation\n (clusterEClass, \n source, \n new String[] {\n \"description\", \"Inherited from MODACloudsML, it represents a collection of virtual machines on a particular Provider. One Provider can host several Clusters..\"\n });\t\n addAnnotation\n (clientNodeEClass, \n source, \n new String[] {\n \"description\", \"test generation\"\n });\t\n addAnnotation\n (yarnResourceManagerEClass, \n source, \n new String[] {\n \"description\", \"Specilization of an InternalComponent introduced in the context of DICE which captures \\nthe deployment and configuration details of a the YARN ResourceManager master process.\"\n });\t\n addAnnotation\n (yarnNodeManagerEClass, \n source, \n new String[] {\n \"description\", \"Specilization of an InternalComponent introduced in the context of DICE which captures \\nthe deployment and configuration details of a the YARN NodeManager slave process.\"\n });\t\n addAnnotation\n (hdfsNameNodeEClass, \n source, \n new String[] {\n \"description\", \"Specilization of an InternalComponent introduced in the context of DICE which captures \\nthe deployment and configuration details of a the YARN ResourceManager master process.\"\n });\t\n addAnnotation\n (hdfsDataNodeEClass, \n source, \n new String[] {\n \"description\", \"Specilization of an InternalComponent introduced in the context of DICE which captures \\nthe deployment and configuration details of a the YARN ResourceManager master process.\"\n });\n }", "title": "" }, { "docid": "333635e444a209718ebbf4938b141430", "score": "0.4311825", "text": "public PhraseAnalyzer(){\n\t\t\n\t\tthis.state = new WordCounterState();\n\t}", "title": "" }, { "docid": "40cbf90418e4a358ecebfe1478f03bdf", "score": "0.43103635", "text": "public List<AnnotationView> getAnnotations() {\n return annotations;\n }", "title": "" }, { "docid": "77444c0a5cb750f02d03995daed6ab96", "score": "0.4299735", "text": "private static void runAnalysis(FileProcessorI fileProcessor, VisitorI... visitors)\n\t\t\tthrows IOException, InvalidInputFileFormatException {\n\t\tElementI myArrayList = new MyArrayList.Builder().withFileProcessor(fileProcessor).build();\n\n\t\tfor (VisitorI visitor : visitors) {\n\t\t\tmyArrayList.accept(visitor);\n\t\t}\n\t}", "title": "" }, { "docid": "c93eb9eb6acf49b8f9da4c8174b0a18e", "score": "0.42991322", "text": "public void addDataProcessor( Function<EncapsulatedPacket, EncapsulatedPacket> dataProcessor ) {\n this.dataProcessors.add( dataProcessor );\n }", "title": "" }, { "docid": "399c7fbb088a656301176308d3c02e24", "score": "0.42959455", "text": "public interface Processor {\n\n /**\n * Initializes the processor for each HTTP request - response cycle.\n * @param odata Olingo's root object, acting as a factory for various object types\n * @param serviceMetadata metadata of the OData service like the EDM that have to be created\n * before the OData request handling takes place\n */\n void init(OData odata, ServiceMetadata serviceMetadata);\n}", "title": "" }, { "docid": "86593f7290b3e9f3005ed17906774f08", "score": "0.42907998", "text": "public void setExtractors(List<String> extractors) {\n\t\tthis.extractors = extractors;\n\t}", "title": "" }, { "docid": "2020da07edd8bf7d8dcc284d20a7e2b1", "score": "0.42905077", "text": "public String getCasProcessorId() {\n if (Annotation_Type.featOkTst && ((Annotation_Type)jcasType).casFeat_casProcessorId == null)\n jcasType.jcas.throwFeatMissing(\"casProcessorId\", \"edu.cmu.deiis.types.Annotation\");\n return jcasType.ll_cas.ll_getStringValue(addr, ((Annotation_Type)jcasType).casFeatCode_casProcessorId);}", "title": "" }, { "docid": "1afb767525fef8b44861410f4bd5b7cd", "score": "0.4288104", "text": "private int[] readTypeAnnotations(MethodVisitor mv, Context context, int u, boolean visible) {\n/* 1655 */ char[] c = context.buffer;\n/* 1656 */ int[] offsets = new int[readUnsignedShort(u)];\n/* 1657 */ u += 2;\n/* 1658 */ for (int i = 0; i < offsets.length; i++) {\n/* 1659 */ int j; offsets[i] = u;\n/* 1660 */ int target = readInt(u);\n/* 1661 */ switch (target >>> 24) {\n/* */ case 0:\n/* */ case 1:\n/* */ case 22:\n/* 1665 */ u += 2;\n/* */ break;\n/* */ case 19:\n/* */ case 20:\n/* */ case 21:\n/* 1670 */ u++;\n/* */ break;\n/* */ case 64:\n/* */ case 65:\n/* 1674 */ for (j = readUnsignedShort(u + 1); j > 0; j--) {\n/* 1675 */ int start = readUnsignedShort(u + 3);\n/* 1676 */ int length = readUnsignedShort(u + 5);\n/* 1677 */ readLabel(start, context.labels);\n/* 1678 */ readLabel(start + length, context.labels);\n/* 1679 */ u += 6;\n/* */ } \n/* 1681 */ u += 3;\n/* */ break;\n/* */ case 71:\n/* */ case 72:\n/* */ case 73:\n/* */ case 74:\n/* */ case 75:\n/* 1688 */ u += 4;\n/* */ break;\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ default:\n/* 1700 */ u += 3;\n/* */ break;\n/* */ } \n/* 1703 */ int pathLength = readByte(u);\n/* 1704 */ if (target >>> 24 == 66) {\n/* 1705 */ TypePath path = (pathLength == 0) ? null : new TypePath(this.b, u);\n/* 1706 */ u += 1 + 2 * pathLength;\n/* 1707 */ u = readAnnotationValues(u + 2, c, true, mv\n/* 1708 */ .visitTryCatchAnnotation(target, path, \n/* 1709 */ readUTF8(u, c), visible));\n/* */ } else {\n/* 1711 */ u = readAnnotationValues(u + 3 + 2 * pathLength, c, true, null);\n/* */ } \n/* */ } \n/* 1714 */ return offsets;\n/* */ }", "title": "" }, { "docid": "680aa7b661ceac4e073a51514a9f3a31", "score": "0.42867875", "text": "public void AddTrafficDataToDetectors(){\n }", "title": "" }, { "docid": "4d7109198f72d8d3f8135691baf0661a", "score": "0.4283337", "text": "private void processProcessorNode(Node root)\n\t{\n\t\tProcessorInfo procInfo = new ProcessorInfo();\n\t\tNamedNodeMap nodeAttr = root.getAttributes ();\n\t\tfor (int i=0;i<nodeAttr.getLength ();i++)\n\t\t{\n\t\t\tNode node = nodeAttr.item (i);\n\t\t\tif (node.getNodeName ().equals (\"name\"))\n\t\t\t\tprocInfo.name = new String (node.getNodeValue ());\n\t\t\telse if (node.getNodeName ().equals (\"id\"))\n\t\t\t\tprocInfo.id = Integer.parseInt (node.getNodeValue ());\n\t\t\telse if (node.getNodeName ().equals (\"cluster\"))\n\t\t\t\tprocInfo.cluster = new String (node.getNodeValue ());\n\t\t\telse if (node.getNodeName ().equals (\"memory\"))\n\t\t\t\tprocInfo.numMemory = Integer.parseInt (node.getNodeValue ());\n\t\t\telse if (node.getNodeName ().equals (\"speed\"))\n\t\t\t\tprocInfo.speed = Integer.parseInt (node.getNodeValue ());\n\t\t\telse if (node.getNodeName ().equals (\"links\"))\n\t\t\t\tprocInfo.links = Integer.parseInt (node.getNodeValue ());\n\t\t\telse\n\t\t\t\tSystem.out.println (\"Ignored Processor Property : \" + node.getNodeName ());\t\t\t\t\n\t\t}\n\t\tprocessors.add(procInfo);\n\t}", "title": "" }, { "docid": "c373ad99216ea039b692f5aa28d4d554", "score": "0.42813674", "text": "@Bean\n\tpublic RxJavaProcessor<Object,Object> processor() {\n\t\tlogger.info(\"Initial code property value :'{}'\",properties.getCode());\n \t\tString code = decode(properties.getCode());\n \t\tif (code.startsWith(\"\\\"\") && code.endsWith(\"\\\"\")) {\n \t\t\tcode = code.substring(1,code.length()-1);\n \t\t}\n\t\tlogger.info(\"Processed code property value :\\n{}\\n\",code);\n\t\tCompilationResult compilationResult = buildAndCompileSourceCode(code);\n\t\tif (compilationResult.wasSuccessful()) {\n\t\t\tList<Class<?>> clazzes = compilationResult.getCompiledClasses();\n\t\t\tlogger.info(\"Compilation resulted in this many classes: #{}\",clazzes.size());\n\t\t\tfor (Class<?> clazz: clazzes) { \n\t\t\t\tif (clazz.getName().equals(MAIN_COMPILED_CLASS_NAME)) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tProcessorFactory processorFactory = (ProcessorFactory)clazz.newInstance();\n\t\t\t\t\t\treturn processorFactory.getProcessor();\n\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\tlogger.error(\"Unexpected problem during retrieval of processor from compiled class\",e);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tlogger.error(\"Failed to find the expected compiled class\");\n\t\t} else {\n\t\t\tList<CompilationMessage> compilationMessages = compilationResult.getCompilationMessages();\n\t\t\tlogger.error(\"Compilation failed\");\n\t\t\tfor (CompilationMessage compilationMessage: compilationMessages) {\n\t\t\t\tlogger.error(\"{}\",compilationMessage);\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "426c2f9a9bf4288501c851059b0ffefb", "score": "0.42813554", "text": "private void processText(final String text) throws Exception {\n\n // Ensure there is text to process\n if (text == null) {\n throw new Exception(\"Text was null.\");\n }\n\n // Create the Stanford CoreNLP pipeline\n Properties props = new Properties();\n String pipe = \"tokenize, ssplit, pos, parse, depparse, lemma, ner, dcoref, natlog, openie\";\n props.setProperty(\"annotators\", pipe);\n StanfordCoreNLP pipeline = new StanfordCoreNLP(props);\n Annotation doc = new Annotation(text);\n pipeline.annotate(doc);\n\n // Get NER data, extract triples, and store the data\n extractData(doc);\n }", "title": "" }, { "docid": "239fcd642bf877c38606ea1b0b7791f9", "score": "0.42771032", "text": "private Map<String, String> m22695a(ProducerListener2 apVar, ProducerContext amVar, Postprocessor dVar) {\n if (!apVar.mo28600b(amVar, \"PostprocessorProducer\")) {\n return null;\n }\n return ImmutableMap.m20529a(\"Postprocessor\", dVar.getName());\n }", "title": "" }, { "docid": "6aeaef24c241ef0b817e5d1f88478077", "score": "0.42739835", "text": "@Override\r\n public void onApplicationEvent(ApplicationReadyEvent applicationReadyEvent) {\n GeneratedModelClassification synsetW2VClassification = GeneratedModelClassification.synsetW2VClassification;\r\n GeneratedModelClassification synsetGloveVClassification = GeneratedModelClassification.synsetGloveClassification;\r\n GeneratedModelClassification synsetFTClassification = GeneratedModelClassification.synsetFTClassification;\r\n\r\n // initialize Stanford annotation pipelines\r\n CoreferenceAnnotator corefAnnotator = CoreferenceAnnotator.CRInstance;\r\n ParseAnnotator parseAnnotator = ParseAnnotator.PAInstance;\r\n WordAnnotator wordAnnotator = WordAnnotator.WAInstance;\r\n\r\n System.out.println(\"All components loaded successfully.\\n\");\r\n }", "title": "" }, { "docid": "94e5cddd4dc948c2cbf0070ec84c7cdd", "score": "0.4273238", "text": "void process(final PropMap context, final AnnotatedType annotatedType,\r\n final ANNOTATION annotatedTypeAnnotation,\r\n final ELEMENT annotatedElement, final PropMap annotationData);", "title": "" } ]
d3a829acf16c1d9d3615aa9e981e31e5
Toast.makeText(context, "", Toast.LENGTH_SHORT).show(); Toast.makeText(context, "" +holder.button.getText(), Toast.LENGTH_SHORT).show();
[ { "docid": "851e4cbdf4781e568ef4a1ae02fcaa1c", "score": "0.58321816", "text": "@Override\n public void onClick(View v) {\n\n Intent intent = new Intent(context, Recipe.class);\n\n intent.putExtra(\"name\", holder.button.getText());\n context.startActivity(intent);\n\n }", "title": "" } ]
[ { "docid": "e480f75ddbd4eef6af7bcc207665590c", "score": "0.7181438", "text": "public void buttonShowToast(View v){\n Button b = (Button) v;\n String buttonText = b.getText().toString();\n Context curr = getApplicationContext();\n CharSequence txt = \"This will launch \" + buttonText + \"!\";\n Toast buttonToast = Toast.makeText(curr, txt, Toast.LENGTH_SHORT);\n buttonToast.show();\n }", "title": "" }, { "docid": "5f659351ab9903172bd455f228d298b2", "score": "0.69882834", "text": "public void displayToast(View view) {\n\n Button b = (Button) view;\n String bt = (String) b.getText();\n Toast.makeText(this, \"This button will lunch my \" + bt + \" app!\", Toast.LENGTH_LONG)\n .show();\n }", "title": "" }, { "docid": "f498b276746a9d330c2852fef73271f2", "score": "0.69594413", "text": "private void buttonClickDisplayText(Button buttonObj, CharSequence displayToast) {\n final CharSequence finalTextToDisplay = displayToast;\n buttonObj.setOnClickListener(new View.OnClickListener() {\n public void onClick(View v) {\n // Perform action on click\n Context context = getApplicationContext();\n Toast.makeText(context, finalTextToDisplay, Toast.LENGTH_SHORT).show();\n }\n });\n }", "title": "" }, { "docid": "1b5c32d74f367b7ca5509e617684e670", "score": "0.66244584", "text": "@Override\n public void onClick(View v) {\n Toast.makeText(context, \"delete learning station?\", Toast.LENGTH_SHORT).show();\n\n }", "title": "" }, { "docid": "b5d15917124fe4d63f3e0b54f2af5c9c", "score": "0.6587391", "text": "public void onClick(View v) {\n Context context = getApplicationContext();\n Toast.makeText(context, finalTextToDisplay, Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "d027221bbb7cfe0bc43ade6ed437d5b8", "score": "0.65873516", "text": "@Override\n public void onClick(View v) {\n Toast.makeText(context, \"You Clicked \"+result[position], Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "c41b0e999f8afd972b59daf3a63630e2", "score": "0.6581444", "text": "private void showToast(String s){ Toast.makeText(getContext(),s,Toast.LENGTH_SHORT).show(); }", "title": "" }, { "docid": "3a769e9ec825402c779ff5a73d296c3e", "score": "0.6577685", "text": "@Override\n public void onClick(View v) {\n Toast.makeText(context, \"You Clicked on \"+result[position], Toast.LENGTH_LONG).show();\n \n \n }", "title": "" }, { "docid": "f8dd746995214560ecdf9e74cc90d975", "score": "0.65438557", "text": "@Override\n public void onClick(View v) {\n Toast.makeText(context, \"You Clicked \"+result.get(position), Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "614dd066375d8141f09e7a9c5539db84", "score": "0.6479466", "text": "@Override\r\n\t\t\tpublic void onClick(View arg0) {\n Toast.makeText(getApplicationContext(), \"Clicked\", Toast.LENGTH_LONG).show();\r\n\t\t\t}", "title": "" }, { "docid": "195f47cb861b6f55d52fc79acc87653c", "score": "0.64765495", "text": "public void onClick (View v) {\n display += ((Button) v).getText().toString();\n tv.setText(display);\n\n }", "title": "" }, { "docid": "97ee5413c36acd0a7df31b81dcd421bd", "score": "0.6453951", "text": "@Override\n public void onClick(View view) {\n Toast.makeText(DetailMasjidActivity.this, \"Maaf masih pengembangan\", Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "173884b6dd257a804e608c58b02f3300", "score": "0.6446753", "text": "public void onClick(View v) {\n\t\t\t\tButton btn=(Button)v;\n\t\t\t\tString buttonTxt=btn.getText().toString();\n\t\t\t\t\n\t\t\t\tString txt=display.getText().toString();\n\t\t\t\t\n\t\t\t\tdisplay.setText(txt+buttonTxt);\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "173884b6dd257a804e608c58b02f3300", "score": "0.6446753", "text": "public void onClick(View v) {\n\t\t\t\tButton btn=(Button)v;\n\t\t\t\tString buttonTxt=btn.getText().toString();\n\t\t\t\t\n\t\t\t\tString txt=display.getText().toString();\n\t\t\t\t\n\t\t\t\tdisplay.setText(txt+buttonTxt);\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "173884b6dd257a804e608c58b02f3300", "score": "0.6446753", "text": "public void onClick(View v) {\n\t\t\t\tButton btn=(Button)v;\n\t\t\t\tString buttonTxt=btn.getText().toString();\n\t\t\t\t\n\t\t\t\tString txt=display.getText().toString();\n\t\t\t\t\n\t\t\t\tdisplay.setText(txt+buttonTxt);\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "173884b6dd257a804e608c58b02f3300", "score": "0.6446753", "text": "public void onClick(View v) {\n\t\t\t\tButton btn=(Button)v;\n\t\t\t\tString buttonTxt=btn.getText().toString();\n\t\t\t\t\n\t\t\t\tString txt=display.getText().toString();\n\t\t\t\t\n\t\t\t\tdisplay.setText(txt+buttonTxt);\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "173884b6dd257a804e608c58b02f3300", "score": "0.6446753", "text": "public void onClick(View v) {\n\t\t\t\tButton btn=(Button)v;\n\t\t\t\tString buttonTxt=btn.getText().toString();\n\t\t\t\t\n\t\t\t\tString txt=display.getText().toString();\n\t\t\t\t\n\t\t\t\tdisplay.setText(txt+buttonTxt);\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "173884b6dd257a804e608c58b02f3300", "score": "0.6446753", "text": "public void onClick(View v) {\n\t\t\t\tButton btn=(Button)v;\n\t\t\t\tString buttonTxt=btn.getText().toString();\n\t\t\t\t\n\t\t\t\tString txt=display.getText().toString();\n\t\t\t\t\n\t\t\t\tdisplay.setText(txt+buttonTxt);\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "173884b6dd257a804e608c58b02f3300", "score": "0.6446753", "text": "public void onClick(View v) {\n\t\t\t\tButton btn=(Button)v;\n\t\t\t\tString buttonTxt=btn.getText().toString();\n\t\t\t\t\n\t\t\t\tString txt=display.getText().toString();\n\t\t\t\t\n\t\t\t\tdisplay.setText(txt+buttonTxt);\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "173884b6dd257a804e608c58b02f3300", "score": "0.6446753", "text": "public void onClick(View v) {\n\t\t\t\tButton btn=(Button)v;\n\t\t\t\tString buttonTxt=btn.getText().toString();\n\t\t\t\t\n\t\t\t\tString txt=display.getText().toString();\n\t\t\t\t\n\t\t\t\tdisplay.setText(txt+buttonTxt);\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "173884b6dd257a804e608c58b02f3300", "score": "0.6446753", "text": "public void onClick(View v) {\n\t\t\t\tButton btn=(Button)v;\n\t\t\t\tString buttonTxt=btn.getText().toString();\n\t\t\t\t\n\t\t\t\tString txt=display.getText().toString();\n\t\t\t\t\n\t\t\t\tdisplay.setText(txt+buttonTxt);\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "d544b34674172d2c5a15f6801af438ee", "score": "0.6435294", "text": "@Override\n public void onClick(View view) {\n Toast.makeText(context, merchant_names.get(holder.getBindingAdapterPosition()), Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "bd8520b8f075ae087a9b2af9160145e9", "score": "0.6434218", "text": "@Override\n public void onClick(View v) {\n Toast.makeText(getApplicationContext(), \"1버튼이 클릭되었습니다.\", Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "c5bbb603d396f00cd078bc513bb25a9a", "score": "0.6422426", "text": "public void showToast(View v) {\n switch(v.getId()) {\n case R.id.spotify_button:\n case R.id.scores_button:\n case R.id.library_button:\n case R.id.build_it_button:\n case R.id.xyz_button:\n case R.id.capstone_button:\n displayToast(((Button)v).getText()); //all buttons will display a toast w/ app name\n break;\n default:\n break;\n }\n }", "title": "" }, { "docid": "da6967463fcea07524360b9cd16dddb0", "score": "0.63560253", "text": "@Override\n public void onClick(View view) {\n String message = getString(R.string.playlist_1) + \" is now playing.\";\n Toast.makeText(getApplicationContext(), message, Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "628c1865c6e53a9f3ce8370dd96042c3", "score": "0.6342928", "text": "@Override\n public void onClick(View view) {\n Toast.makeText(AccountProfileActivity.this, getString(R.string.functionality_under_developing), Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "bdc423fafd5f35ec70efe0ba78ce64c6", "score": "0.6342054", "text": "@Override\n public void onClick(View v) {\n Toast.makeText(requireContext(), \"a button was clicked\", Toast.LENGTH_SHORT).show();\n binding.output.append(\"\\na button was clicked\");\n }", "title": "" }, { "docid": "89c6dcc533468b5ddc614959a7269e93", "score": "0.63276345", "text": "@Override\n public void onClick(View view) {\n String message = getString(R.string.playlist_2) + \" is now playing.\";\n Toast.makeText(getApplicationContext(), message, Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "89860cd7772d036031fe35adb5a18772", "score": "0.6312207", "text": "@Override\n public void onClick(View view) {\n txtOutput.setText(txtOutput.getText().toString() + btn.getText().toString());\n }", "title": "" }, { "docid": "6f89a941b0d69c9451c9854d6cd5817e", "score": "0.63000125", "text": "@Override\n public void run(){\n Toast.makeText(Manage_Fuel_Navigation.this, getResources().getString(R.string.sj_added_successfully), Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "b36ab6c7fced575527462b9a9e386df0", "score": "0.62955946", "text": "@Override\n\t\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\t\tToastUtils.showToast(getActivity(), \"发现\", Toast.LENGTH_SHORT);\n\t\t\t\t\t}", "title": "" }, { "docid": "0519bf62ef3a321bc7ac44fb925286bb", "score": "0.62843025", "text": "@Override\n public void onClick(View v) {\n Toast.makeText(context, \"You Clicked \" + playerName.get(position), Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "b7c160efb045af5b27c78660a6fcd566", "score": "0.62797004", "text": "@Override\n public void onClick(View v) {\n Toast.makeText(context,\"AGREGADO \" + homeObjects.get(position).title + \" A FAVORITOS\",Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "de079ee3a57e34d33a86b2d468122c14", "score": "0.6272353", "text": "public void clickButton(View view){\n Toast.makeText(this, String.valueOf(count++), Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "40d72d226a95b6e780a50b6b6fbac8d3", "score": "0.6255987", "text": "public void onClick(View v) {\n\t\t\t\t\n\t\t\t\tButton btn=(Button)v;\n\t\t\t\tString buttonTxt=btn.getText().toString();\n\t\t\t\t\n\t\t\t\tString txt=display.getText().toString();\n\t\t\t\tboolean check = txt.equals(\"0\");\n\t\t\t\t\n\t\t\t\tif(!check)\n\t\t\t\t{\n\t\t\t\t\t\n\t\t\t\t\tdisplay.setText(txt+buttonTxt);\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "f4079383209b91a0da419eefad0f1636", "score": "0.625142", "text": "@Override\r\n\t\t\tpublic void onClick(View widget) {\n\t\t\t\tToast.makeText(MainActivity.this, \"TEST\", Toast.LENGTH_LONG).show();\r\n\t\t\t\tLog.i(\"tag\", \"tag\");\r\n\t\t\t}", "title": "" }, { "docid": "111d3d52d89a1b45a3e4e0523abd0bef", "score": "0.62443966", "text": "private void showWaitToast(){ String s = getString(R.string.toast_wait_next_player); showToast(s); }", "title": "" }, { "docid": "af1abae0acb25c1cb531b60f9315648e", "score": "0.62323236", "text": "@Override\n public void onClick(View v) {\n\n deleteAlert(tags[position]);\n //System.out.println(tv.getText());\n }", "title": "" }, { "docid": "6d069a24514322df740c222e95734aeb", "score": "0.62204945", "text": "@Override\n public void onClick(View v) {\n MastersCommonCodes.Builder(MainActivity.this).showToast(MainActivity.this, \"Hello MasterCommonCodes\", 0);\n\n }", "title": "" }, { "docid": "fa1e7866ec5198522a9fee650ba034de", "score": "0.61782163", "text": "@Override\n public void onClick(View v) {\n Toast.makeText(getApplicationContext(),\"인원을 입력하세요\",Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "6ff9d9b56444f9179d2282d56e6af15a", "score": "0.61771184", "text": "@Override\n public void onClick(View v) {\n tvoper1.setText(\"\");\n tvoper2.setText(\"\");\n tvop.setText(\"\");\n result.setText(\"\");\n flagMudancaTexto = false; // retorna foco para primeira caixa\n }", "title": "" }, { "docid": "c0c169c8db40873818418115792ded1d", "score": "0.6173984", "text": "@Override\n public void onClick(View v) {\n Toast.makeText(RestaurantDetail.this, \"This feature will be available soon!\", Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "f1bd45fcb28b7a0f1bc64b5727581719", "score": "0.61553353", "text": "public void onClick(DialogInterface arg0, int arg1) {\n // the button was clicked\n Toast.makeText(getApplicationContext(), \"Enter The Crop ID\", Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "f1bd45fcb28b7a0f1bc64b5727581719", "score": "0.61553353", "text": "public void onClick(DialogInterface arg0, int arg1) {\n // the button was clicked\n Toast.makeText(getApplicationContext(), \"Enter The Crop ID\", Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "308230144fc04a3f134074c475d17952", "score": "0.6146816", "text": "public void sendToast(View view){\n\r\n Toast toast = Toast.makeText(MainActivity.this,\"Ceci est un magnifique toast\",Toast.LENGTH_SHORT);\r\n toast.show();\r\n }", "title": "" }, { "docid": "da34fff0541d5a20bc29ecc8bc1255ce", "score": "0.6131522", "text": "@Override\n public void onClick(View view) {\n Context context = getActivity();\n CharSequence msgUpdate = \"Updating...\";\n int duration = Toast.LENGTH_SHORT;\n\n Toast toast = Toast.makeText(context, msgUpdate, duration);\n toast.show();\n }", "title": "" }, { "docid": "a6274296d606e72b7d4b3a748572d0b3", "score": "0.6110116", "text": "public void HandleClick(View view) {\n if (view.getId() == R.id.SpotifySteamerButton) {\n // button1 action\n Button buttonObj = (Button) view;\n buttonClickDisplayText(buttonObj, ToastDisplayConstants.SpotifySteamer_Text_Constant);\n }\n if (view.getId() == R.id.ScoreAppButton) {\n //button2 action\n Button buttonObj = (Button) view;\n buttonClickDisplayText(buttonObj, ToastDisplayConstants.Score_Text_Constant);\n }\n if (view.getId() == R.id.LibraryAppButton) {\n //button3 action\n Button buttonObj = (Button) view;\n buttonClickDisplayText(buttonObj, ToastDisplayConstants.Library_Text_Constant);\n }\n if (view.getId() == R.id.BuildItAppButton) {\n //button3 action\n Button buttonObj = (Button) view;\n buttonClickDisplayText(buttonObj, ToastDisplayConstants.BuildIt_Text_Constant);\n }\n if (view.getId() == R.id.XYZReaderAppButton) {\n //button3 action\n Button buttonObj = (Button) view;\n buttonClickDisplayText(buttonObj, ToastDisplayConstants.XYZReader_Text_Constant);\n }\n if (view.getId() == R.id.CapstoneAppButton) {\n //button3 action\n Button buttonObj = (Button) view;\n buttonClickDisplayText(buttonObj, ToastDisplayConstants.Capstone_Text_Constant);\n }\n }", "title": "" }, { "docid": "987401ab4d6c6bafb76faa86d850a254", "score": "0.609492", "text": "@Override\n public void run(){\n Toast.makeText(Manage_Fuel_Navigation.this, getResources().getString(R.string.sj_reassigned_successfully), Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "62dd9d9cf2a4eace6aadd450b05c8c18", "score": "0.6087613", "text": "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tToast.makeText(ToastActivity.this, \"Tesing general Toast\", Toast.LENGTH_SHORT).show();\n\t\t\t}", "title": "" }, { "docid": "cd0d38891ceb512b50454251471a72d0", "score": "0.6060356", "text": "public void onItemClick(AdapterView<?> ad, View v, int pos, long id) {\n\t\t TextView item=(TextView) v;\n\t\t CharSequence texte=item.getText();\n\t Toast.makeText(getApplicationContext(), texte,\n\t Toast.LENGTH_SHORT).show();\n\t}", "title": "" }, { "docid": "591c0aab993ed90c2da06b5b0d3c1725", "score": "0.6060062", "text": "@Override\n public void onItemClick(AdapterView parent, View view, int position, long id) {\n\n Toast.makeText(getContext(),position+\"\",Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "591c0aab993ed90c2da06b5b0d3c1725", "score": "0.6060062", "text": "@Override\n public void onItemClick(AdapterView parent, View view, int position, long id) {\n\n Toast.makeText(getContext(),position+\"\",Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "591c0aab993ed90c2da06b5b0d3c1725", "score": "0.6060062", "text": "@Override\n public void onItemClick(AdapterView parent, View view, int position, long id) {\n\n Toast.makeText(getContext(),position+\"\",Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "54ab130c92da27e060e03cd34ea67756", "score": "0.60457486", "text": "@Override\n public void run(){\n Toast.makeText(Manage_Fuel_Navigation.this, getResources().getString(R.string.sj_deleted_succesfully), Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "457bffd4e901a7a1ce166e9d7bf2190f", "score": "0.6036894", "text": "@Override\n public void onClick(View v) {\n Toast toast = Toast.makeText(mRootView.getContext(),\"Settings saved !\" , Toast.LENGTH_SHORT);\n toast.show();\n }", "title": "" }, { "docid": "4de2c19aee73d8bf5d693d31403020dc", "score": "0.6036528", "text": "@Override\n public void onClick(View view) {\n Toast.makeText(context, \"Maybe one day I can finish this app...\", Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "a2282a043bd12d0d166013c573acf83e", "score": "0.6019434", "text": "@Override\n public void onClick(View v) {\n int toastTime = Toast.LENGTH_SHORT;\n if (table.getText().equals(\"x\")) Toast.makeText(parentActivity,table.getResources().getText(R.string.Catalan_table_not_available),toastTime).show();\n else if (table.getText().equals(\"\")) Toast.makeText(parentActivity,table.getResources().getText(R.string.Catalan_table_already_assigned),toastTime).show();\n else parentActivity.launchMarkPosition(rowPos,colPos);\n //------------------------------------------------------------------\n\n }", "title": "" }, { "docid": "2803243c898190e01015b10fce3019ad", "score": "0.60170597", "text": "@Override\n public void onClick(View v) {\n update_result(G1,G2,G3,G4,G5);\n mGPAButton.setText(R.string.Clear);\n }", "title": "" }, { "docid": "0901ee79cb9af12dab012725b779faaf", "score": "0.60096323", "text": "public void buttonClickHandler(View view) {\n Toast.makeText(MainActivity.this, \"You CLICK THE SUBMIT BUTTON\", Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "eef551c034b43872675ae4efd7efa77e", "score": "0.60058695", "text": "@Override\n public void run() {\n showToast(text, Toast.LENGTH_SHORT);\n }", "title": "" }, { "docid": "eef551c034b43872675ae4efd7efa77e", "score": "0.60058695", "text": "@Override\n public void run() {\n showToast(text, Toast.LENGTH_SHORT);\n }", "title": "" }, { "docid": "ff3150ae2afa13ebfca3f36fe5ef083c", "score": "0.5994212", "text": "@Override\n public void onClick(View view) {\n Toast.makeText(getContext(), moodList.getComment(), Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "4a382b03af9851df8f3b23bb928ae107", "score": "0.5986072", "text": "private void showToast(String text){\n Toast.makeText(MainActivityJava.this, text, Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "170d811c118c7daa73d8c6f428d57b2c", "score": "0.59774697", "text": "public void onClick(View v) {\n\t\tswitch (v.getId()) {\n\t\tcase R.id.button1:\n\t\t\tToast.makeText(MainActivity.this, \"11111\", 2000).show();\n\t\t\tbreak;\n\n\t\tdefault:\n\t\t\tbreak;\n\t\t}\n\t}", "title": "" }, { "docid": "7746d075d8fa1fa47f400d1ef544f550", "score": "0.59761393", "text": "public void onButtonTap(View v,TextView mt){\n mt.setText(\"sdsd\");\n }", "title": "" }, { "docid": "d96a0688d9ec7a05787ce925cd6e6f9e", "score": "0.59616816", "text": "public void Toast(int i){\n if (i == 1){\n Toast toast = Toast.makeText(this, R.string.label_noCheck, Toast.LENGTH_SHORT);\n toast.setGravity(Gravity.TOP,0,1450);\n toast.show();\n }\n\n if (i == 2){\n Toast toast = Toast.makeText(this, R.string.label_ultimo, Toast.LENGTH_SHORT);\n toast.setGravity(Gravity.TOP,0,1450);\n toast.show();\n }\n\n }", "title": "" }, { "docid": "53977ff53be6cfb5ac47e574c7b41428", "score": "0.59572446", "text": "@Override\n public void run(){\n Toast.makeText(Messaging_Navigation.this, getResources().getString(R.string.sj_reassigned_successfully), Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "16b6ea98981dba1563322dd5470f8584", "score": "0.5948479", "text": "public void buttonClick(View v) {\n }", "title": "" }, { "docid": "a264805c91c39433eae18d3556ca33fd", "score": "0.5945412", "text": "@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tToast.makeText(getApplicationContext(), \"Button Click\",\n\t\t\t\t\t\tToast.LENGTH_SHORT).show();\n\t\t\t}", "title": "" }, { "docid": "443b6587cea819c4d27a03635008d450", "score": "0.5945154", "text": "private void showToast(){\n Toast toast = Toast. makeText(this, \"TE HAS EQUIVOCADO\", Toast.LENGTH_SHORT);\n toast.setGravity(Gravity.CENTER_VERTICAL | Gravity.START,160,0);\n toast.show();\n }", "title": "" }, { "docid": "ea6e89e81b289b684674f84bfbb4eb75", "score": "0.59429663", "text": "@Override\n public void onClick(View v) {\n //Intent intent=new Intent(context, PlanNutrionalDetalleActivity.class);\n Toast.makeText(v.getContext(),\"Tuanis\",Toast.LENGTH_SHORT).show();\n\n }", "title": "" }, { "docid": "6bba52ed4c45147792c2f6eb5c487c84", "score": "0.5942527", "text": "@OnClick(R.id.button1)\n\tpublic void button1() {\n\t\ttv.setText(\"GoodBye!\");\n\t}", "title": "" }, { "docid": "42e546319b6c67b458ec776e620249e0", "score": "0.59391236", "text": "@Override\r\n \tpublic void onClick(View v) {\n \t\tToast.makeText(getActivity(), \"TODO: Actually send suggestion\",\r\n \t\t\t\tToast.LENGTH_SHORT).show();\r\n \t\tmQuestion.setText(\"\");\r\n \t}", "title": "" }, { "docid": "b590075c4053d467ccf8c7718b040afe", "score": "0.5938664", "text": "@Override\n public void onClick(View v) {\n EditText et = (EditText) findViewById(R.id.editText);\n String entry = et.getText().toString();\n\n Snackbar.make(v, \"Your entered \" + entry, Snackbar.LENGTH_LONG)\n .setAction(\"Action\", null).show();\n\n }", "title": "" }, { "docid": "2f30dd396d54cb204f01dee2eb291435", "score": "0.5935026", "text": "public void showToastDeleted(){\n Toast.makeText(this, \"Task Deleted!\", Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "3a1426c2213c19be4b23bd3c990cadef", "score": "0.5926405", "text": "@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n\n Context context = getActivity();\n CharSequence text = CustomGameList.get(position).getGamename();\n int duration = Toast.LENGTH_SHORT;\n\n Toast toast = Toast.makeText(context, text, duration);\n toast.show();\n\n }", "title": "" }, { "docid": "8ad2da63e8b2075c7fc221acc809fa5a", "score": "0.5911023", "text": "void showToast();", "title": "" }, { "docid": "23e93c09ebc98715da0440d92793999c", "score": "0.5906732", "text": "public void sendMessage(View view) {\r\n Context context = getApplicationContext();\r\n\r\n CharSequence text1 = \"This button will launch streamer app!\";\r\n CharSequence text2 = \"This button will launch scores app!\";\r\n CharSequence text3 = \"This button will launch library app!\";\r\n CharSequence text4 = \"This button will launch build it bigger!\";\r\n CharSequence text5 = \"This button will launch XYZ reader!\";\r\n CharSequence text6 = \"This button will launch my app!\";\r\n int duration = Toast.LENGTH_SHORT;\r\n\r\n switch(view.getId()) {\r\n case R.id.button1:\r\n Toast.makeText(context, text1, duration).show();\r\n break;\r\n case R.id.button2:\r\n Toast.makeText(context, text2, duration).show();\r\n break;\r\n case R.id.button3:\r\n Toast.makeText(context, text3, duration).show();\r\n break;\r\n case R.id.button4:\r\n Toast.makeText(context, text4, duration).show();\r\n break;\r\n case R.id.button5:\r\n Toast.makeText(context, text5, duration).show();\r\n break;\r\n case R.id.button6:\r\n Toast.makeText(context, text6, duration).show();\r\n break;\r\n }\r\n }", "title": "" }, { "docid": "1e69207166dda8ce17c7f4325a0973a7", "score": "0.5893007", "text": "@Override\n public void run() {\n showToast(text, Toast.LENGTH_LONG);\n }", "title": "" }, { "docid": "1e69207166dda8ce17c7f4325a0973a7", "score": "0.5893007", "text": "@Override\n public void run() {\n showToast(text, Toast.LENGTH_LONG);\n }", "title": "" }, { "docid": "5c4211e7bdbfb9929dd51820627b058c", "score": "0.5891725", "text": "@Override\n public void run() {\n Toast toast = Toast.makeText(getApplicationContext(),\"No songs found :(\",Toast.LENGTH_SHORT);\n // Center toast\n toast.setGravity(Gravity.TOP|Gravity.LEFT,600,200);\n toast.show();\n }", "title": "" }, { "docid": "12a15e127c18e6ac0c7611c06ed9629a", "score": "0.5886196", "text": "public void onClick(View v)\n {\n Toast.makeText(getApplicationContext(),\"Hello from Mark as read Icon\", Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "fffa8bdaf684bf55e4bb3e23d527121a", "score": "0.5846901", "text": "@Override\n public void run(){\n Toast.makeText(Manage_Fuel_Navigation.this, getResources().getString(R.string.sj_updated_succesfully), Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "24b0e14189c8cf6bb812206ed4e64051", "score": "0.58435404", "text": "@Override\n\t\tpublic void onClick(View v) {\n\t\t\tif(spf.getInt(\"music\", 0)==0){\n\t\t\t\tsound.play(ButtonSound, 1, 1, 0, 0, 1);\n\t\t\t}\n\t\t\tint st,tst;\n\t\t\tswitch(v.getId()){\n\t\t\tcase R.id.button1:\n\t\t\t\tmydb=openOrCreateDatabase(SQL_NAME, MODE_PRIVATE, null);\n\t\t\t\tCursor cur=mydb.query(SFGTB_NAME, new String[] {NAME}, null, null, null, null, null);\n\t\t\t\tst=cur.getCount();\n\t\t\t\tcur=mydb.query(THHN_NAME, new String[] {NAME}, null, null, null, null, null);\n\t\t\t\ttst=cur.getCount();\n\t\t\t\tcur.close();\n\t\t\t\tmydb.close();\n\t\t\t\tif(st!=0||tst!=0){\n\t\t\t\t\tSimpleDateFormat sdf = new SimpleDateFormat(\"yyyy.MM.dd HH.mm.ss\");\n\t\t\t\t\tView bn = getLayoutInflater().inflate(R.layout.backupname,\n\t\t\t\t\t\t\t(ViewGroup) findViewById(R.layout.backupname));\n\t\t\t\t\tEditText et=(EditText)bn.findViewById(R.id.editText1);\n\t\t\t\t\tString name=\"Backup\"+spf.getInt(\"Backup\", 0)+\"(\"+sdf.format(new Date())+\")\";\n\t\t\t\t\tet.setText(name);\n\t\t\t\t\tAlertDialog.Builder builder = new AlertDialog.Builder(Backup.this);\n\t\t\t\t\tbuilder.setTitle(getString(R.string.backupname));\n\t\t\t \tbuilder.setView(bn);\n\t\t\t \tbuilder.setCancelable(false);\n\t\t\t \tBackupna ba =new Backupna(et,name,0,false);\n\t\t\t \tbuilder.setNegativeButton(getString(R.string.sfgt1), ba);\n\t\t\t \tbuilder.setPositiveButton(getString(R.string.ca), ba);\n\t\t\t \tbuilder.show(); \n\t\t\t\t}else{\n\t\t\t\t\tToast.makeText(getApplicationContext(), getString(R.string.ontdata), Toast.LENGTH_LONG).show();\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase R.id.button2:\n\t\t\t\tView vi = getLayoutInflater().inflate(R.layout.pleasewait,\n\t\t\t\t\t\t(ViewGroup) findViewById(R.layout.pleasewait));\n\t\t\t\tTextView pwtv=(TextView)vi.findViewById(R.id.textView1);\n\t\t\t\tpwtv.setTextSize(size);\n\t\t\t\tAlertDialog dead=new AlertDialog.Builder(Backup.this).setView(vi).setCancelable(false).show();\n\t\t\t\tnew Thread(new Openbackupfile(false,dead)).start();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "53669dc198b42a9c005ae30ebed7ef5c", "score": "0.5840348", "text": "@Override\n public void onClick(View view) {\n int temp = view.getId();\n if (view.getId() !=R.id.tvFrage ) {\n Button bTemp = (Button) view;\n sButtText = bTemp.getText().toString();\n boolean eingrenzRight = true;//= logic2.checkAnswer(sButtText);\n // erster bool bringt richtig/falsch, zweiter ob es eine eingrenzung war\n String infoText = \" aktiv:\" ;//+ MySingleton.getInstance().aktiviert + \" deactiv: \" + MySingleton.getInstance().deaktiviert + \" Score: \" + MySingleton.getInstance().score + \" Next: \" + MySingleton.getInstance().next + \"\\n MaxDiff: \" + MySingleton.getInstance().maxDifference + \" Antwort: \" + sButtText;\n infoText = infoText + MySingleton.getInstance().vorschubText;\n\n tvInfo.setText(infoText);\n if (eingrenzRight) {\n bChoice[0].performHapticFeedback(HapticFeedbackConstants.VIRTUAL_KEY);\n tvInfo.setBackgroundColor(Color.GREEN);\n neueFrage();\n } else {\n tvInfo.setBackgroundColor(Color.RED);\n Vibrator v = (Vibrator)ourContext.getSystemService(Context.VIBRATOR_SERVICE);\n v.vibrate(250);\n neueFrage();\n }\n ;\n } else {\n Intent intent = new Intent();\n intent.setClass(ourContext, SimpleBrowserActiv.class);\n startActivity(intent);\n }\n }", "title": "" }, { "docid": "54a4ad05aae395a24106368b23037ffc", "score": "0.58367527", "text": "@Override\n public void onClick(View v) {\n Button button = (Button) v;\n Intent intent = new Intent(getApplicationContext(), chart.class);\n TextView result = (TextView) findViewById(R.id.result);\n message = result.getText().toString();\n EditText note = (EditText) findViewById(R.id.note);\n messagenote = note.getText().toString();\n messagebtn = button.getText().toString();\n insertdbinfo();\n intent.putExtra(EXTRA_MESSAGE, message);\n intent.putExtra(EXTRA_NOTE, messagenote);\n intent.putExtra(EXTRA_BUTTON, messagebtn);\n\n\n startActivity(intent);\n\n }", "title": "" }, { "docid": "be8a7a2001d67c5ff52c8e2e6c3578fb", "score": "0.58222836", "text": "@Override\n\t\t\tpublic void onClick(View v)\n\t\t\t{\n\t \t\tSystem.out.println(\"点击了button2\");\n\t \t\tToast.makeText(EricMainActivity.this, \"2\", Toast.LENGTH_SHORT).show();\t\n\t\t\t}", "title": "" }, { "docid": "89d307b26195e674a4386e6faaedc9d2", "score": "0.5813198", "text": "@Override\n public void run() {\n mFavButton.setText(getString(R.string.rem_fav));\n }", "title": "" }, { "docid": "d0fa7caf03fb7d86d3093edee83dba75", "score": "0.58114827", "text": "void showToast(String texttoshow) {\n }", "title": "" }, { "docid": "1741341158454bac333b5dc457f37820", "score": "0.58106184", "text": "@Override\n public void onClick(View view) {\n String s=et.getText().toString();\n //TextView tv=new TextView(MainActivity.this);\n //tv.setText(s);\n // l1.addView(tv);\n et.setText(\"\");\n myRef = database.getReference(\"message\");\n myRef.setValue(s);\n //i++;\n //TextView tvf=new TextView(MainActivity.this);\n //tvf.setText();\n\n\n\n }", "title": "" }, { "docid": "9903ce5e291cafa35e75c5e085ce21f2", "score": "0.5804149", "text": "@Override\n public void onClick(DialogInterface dialog, int i) {\n String myText = sensorSelection[i].toString();\n Boolean reset = false;\n\n if(myText.equalsIgnoreCase(\"reset\")) {\n myText = \"ADC\";\n reset = true;\n }\n\n switch (view.getId()) {\n case R.id.ADC1_button:\n if(reset)\n myText += \"1\";\n sensorNameRef.child(\"ADC1\").setValue(myText);\n break;\n case R.id.ADC2_button:\n if(reset)\n myText += \"2\";\n sensorNameRef.child(\"ADC2\").setValue(myText);\n break;\n case R.id.ADC3_button:\n if(reset)\n myText += \"3\";\n sensorNameRef.child(\"ADC3\").setValue(myText);\n break;\n case R.id.ADC4_button:\n if(reset)\n myText += \"4\";\n sensorNameRef.child(\"ADC4\").setValue(myText);\n break;\n case R.id.ADC5_button:\n if(reset)\n myText += \"5\";\n sensorNameRef.child(\"ADC5\").setValue(myText);\n break;\n case R.id.ADC6_button:\n if(reset)\n myText += \"6\";\n sensorNameRef.child(\"ADC6\").setValue(myText);\n break;\n case R.id.ADC7_button:\n if(reset)\n myText += \"7\";\n sensorNameRef.child(\"ADC7\").setValue(myText);\n break;\n case R.id.ADC8_button:\n if(reset)\n myText += \"8\";\n sensorNameRef.child(\"ADC8\").setValue(myText);\n break;\n }\n }", "title": "" }, { "docid": "f78a3594353ac5a62111ebd9ef5820dd", "score": "0.57937294", "text": "@Override\n protected void onClickConfirmed(View v, Marker marker) {\n Toast.makeText(MainActivity.this, marker.getTitle() + \"'s button clicked!\", Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "7be771285bfd4f45368edb779e5a56b5", "score": "0.57911503", "text": "@Override\n public void run() {\n Toast.makeText(context, \"no s'han pogut llegir els missatges nous.\", Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "0d34c1e27f303c832e559e44bd096108", "score": "0.57807755", "text": "@Override\n public void onClick(View v) {//because the view class that was passed implements the onclicklistener method the onclick method must be implemented here\n\n //now that we will know when a button will be pressed, this is what we want to happen\n //toasts are pop ups that alert the user of something but does not require an action from them\n //here we call the static method from toast class: make text and pass in:\n //context = an instance of activity(subclass of context) bascially telling it which view to show it\n //resId = the reference of the string that we want displayed\n //and duration = how long we want to display it\n //then call show method from toast class to show it\n //Toast.makeText(QuizActivity.this, R.string.correct_toast, Toast.LENGTH_SHORT).show();\n //REPLACED BY (encapsulation)\n checkAnswer(true);\n }", "title": "" }, { "docid": "ad4a627f01e2a9d3b21459944806156c", "score": "0.5778335", "text": "private void showToast(String msg) {\n }", "title": "" }, { "docid": "8e9ba41698fb702302b9d4e32d7cea47", "score": "0.577546", "text": "@Override\n \tpublic void onClick(View arg0)\n \t{\n \t\tSystem.out.println(\"点击了button1\");\n \t\tToast.makeText(EricMainActivity.this, \"1\", Toast.LENGTH_SHORT).show();\n\n \t}", "title": "" }, { "docid": "92cbd0f199b81314cce055bbe5cad416", "score": "0.57742804", "text": "public void showToast(View view) {\n\n CharSequence text;\n switch (view.getId()) {\n case R.id.launchBuild:\n text = \"This button will launch my Build it Bigger app!\";\n break;\n case R.id.launchCapstone:\n text = \"This button will launch my Capstone app!\";\n break;\n case R.id.launchLibrary:\n text = \"This button will launch my Library app!\";\n break;\n case R.id.launchScores:\n text = \"This button will launch my Scores app!\";\n break;\n case R.id.launchSpotify:\n text = \"This button will launch my Spotify Streamer app!\";\n break;\n case R.id.launchXYZ:\n text = \"This button will launch my XYZ Reader app!\";\n break;\n default:\n text = \"This button lives outside my control. Watch out!\";\n }\n\n Context context = getApplicationContext();\n int duration = Toast.LENGTH_SHORT;\n\n Toast toast = Toast.makeText(context, text, duration);\n toast.show();\n }", "title": "" }, { "docid": "916f2c8400e003337da1830896f56e65", "score": "0.5770394", "text": "@Override\n public void run() {\n mFavButton.setText(getString(R.string.fav));\n }", "title": "" }, { "docid": "ec67156ab29ee2980b93d9b0f08d8ace", "score": "0.57695836", "text": "private void sayHello(){\n Toast.makeText(MainActivity.this,\n R.string.str_hola,\n Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "d1453dd82f873a86ac58dcaf7fa141df", "score": "0.5768935", "text": "public void onClick(DialogInterface dialog, int whichButton) {\n Editable YouEditTextValue = edittext.getText();\n //OR\n String text = edittext.getText().toString();\n tvText1.setText(text);\n }", "title": "" } ]
1d78d16fffed77d5256de595b43a8440
/ Query the entire table, return all rows
[ { "docid": "9ae90f4b6e2d541debc6aeecb95ed5c1", "score": "0.0", "text": "public ArrayList<TransactionEntry> fetchEntries() {\n\t\tSQLiteDatabase database = getWritableDatabase();\n\t\tArrayList<TransactionEntry> entryList = new ArrayList<TransactionEntry>();\n\t\tCursor cursor = database.query(Globals.TABLE_NAME_ENTRIES, mColumnList, \n\t\t\t\tnull, null, null, null, null);\n\t\t\n\t\t//Get each entry and save it to entryList\n\t\twhile (cursor.moveToNext()){\n\t\t\tTransactionEntry entry = cursorToEntry(false, cursor);\n\t\t\tentryList.add(entry);\n\t\t}\n\t\tcursor.close();\n\t\tdatabase.close();\n\t\t\n\t\treturn entryList;\n\t}", "title": "" } ]
[ { "docid": "046db874864c6e7ff7dae73036580304", "score": "0.7099776", "text": "public ResultSet queryAll() throws SQLException\r\n {\r\n String sql = \"SELECT * FROM Guest\";\r\n Statement stat = conn.createStatement();\r\n ResultSet result = stat.executeQuery(sql);\r\n return result;\r\n }", "title": "" }, { "docid": "a2838f37e6d67196d8a3b27a5ef0bf62", "score": "0.6876214", "text": "public static ResultSet getAllRecords(String tableName) {\n String sqlStatement = \"SELECT * FROM \" + DBConnection.databaseName + \".\"\n + tableName + \";\";\n Query.makeQuery(sqlStatement);\n ResultSet result = Query.getResult();\n \n return result;\n }", "title": "" }, { "docid": "30b15752f6e2a6ada34a04df040378e7", "score": "0.6857673", "text": "Cursor getAllRows() {\n Cursor c = db.query(true, TABLE_NAME, ALL_COL, null, null, null, null, ORDER_NEXT_CONNECT, null);\n if (c != null) {\n c.moveToFirst();\n }\n return c;\n }", "title": "" }, { "docid": "5b50203ca880a1437a241dcd0bf89cce", "score": "0.6826161", "text": "public IDatabaseReader selectAll(final ITable table);", "title": "" }, { "docid": "c817da7fd6f0c48aa8ce774edbe21215", "score": "0.6763975", "text": "public ArrayList<T> all() throws SQLException {\n\t\tPreparedStatement stmt = DatabaseConnection.get().prepareStatement(\n\t\t\t\t\"select * from \" + table_name() + order_string());\n\t\treturn where(stmt);\n\t}", "title": "" }, { "docid": "c3ccfad9ae24774c5a377e063aa28799", "score": "0.66849613", "text": "public ResultSet getAllRowsFromUserTable() throws SQLException {\r\n \t\tResultSet rs = null;\r\n \t\ttry {\r\n \t\t\trs = stmt.executeQuery(\"select * from USER_TABLE \");\r\n \t\t} catch (SQLException e) {\r\n \t\t\te.printStackTrace();\r\n \t\t}\r\n \t\treturn rs;\r\n \t}", "title": "" }, { "docid": "569374de3dba57e7adfe970cbe8f7664", "score": "0.6671065", "text": "public List<V> getAll() {\n LinkedList<V> allEntries = new LinkedList<>();\n ConnectionRecord cr = getConnection();\n Connection c = cr.connection;\n\n V t = null;\n try {\n PreparedStatement stmt = c.prepareStatement(getTable().createSelectAllStatement());\n stmt.executeQuery();\n ResultSet rs = stmt.getResultSet();\n // Now we have to pull in all the values.\n while (rs.next()) {\n ColumnMap map = rsToMap(rs);\n t = create();\n populate(map, t);\n allEntries.add(t);\n }\n\n rs.close();\n stmt.close();\n releaseConnection(cr);\n } catch (SQLException e) {\n destroyConnection(cr);\n throw new GeneralException(\"Error getting all entries.\", e);\n }\n return allEntries;\n }", "title": "" }, { "docid": "ac9c6062c3668122e7721dd64cd298ff", "score": "0.65402156", "text": "public List<T> findAll() {\r\n\t\tConnection conn = ConnectionFactory.getConnection();\r\n\t\tStringBuilder sb = new StringBuilder();\r\n\t\tsb.append(\"SELECT * FROM \" + type.getSimpleName());\r\n\t\t//statement without a condition which returns the entire table\r\n\t\tPreparedStatement st = null;\r\n\t\tResultSet rs = null;\r\n\t\ttry {\r\n\t\t\tst = conn.prepareStatement(sb.toString());\r\n\t\t\trs = st.executeQuery();\r\n\t\t}\r\n\t\tcatch (Exception e) {\r\n\t\t}\r\n\t\t// convert the result set to a list of objects\r\n\t\treturn createObjects(rs);\r\n\t}", "title": "" }, { "docid": "4fbf33bf6be0761f4f32dd66e911b5c2", "score": "0.65264964", "text": "@Override\n public List<T> getAll() throws DaoMySqlException {\n String sql = getSelectQuery();\n List<T> parsedList;\n try (PreparedStatement statement = connectionManager.getConnection().prepareStatement(sql)) {\n ResultSet rs = statement.executeQuery();\n parsedList = parseResultSet(rs);\n } catch (Exception e) {\n throw new DaoMySqlException(e);\n }\n return parsedList;\n }", "title": "" }, { "docid": "8b93e4316ebd46ff4cd8f5903aff7170", "score": "0.64826", "text": "private synchronized ArrayList<Row> executeSelect(String query) {\r\n\t\tArrayList<Row> results = new ArrayList<Row>();\r\n\r\n\t\tStatement selectStmt = null;\r\n\t\tResultSet result = null;\r\n\t\ttry {\r\n\t\t\tselectStmt = connection.createStatement();\r\n\t\t\tresult = selectStmt.executeQuery(query);\r\n\t\t\t// Fetch rows\r\n\t\t\tresults = Row.formTable(result);\r\n\t\t} catch (SQLException e) {\r\n\t\t\t// TODO: log exceptions\r\n\t\t} finally {\r\n\t\t\ttry {\r\n\t\t\t\t// Release resources\r\n\t\t\t\tif (selectStmt != null)\r\n\t\t\t\t\tselectStmt.close();\r\n\t\t\t\tif (result != null)\r\n\t\t\t\t\tresult.close();\r\n\t\t\t} catch (SQLException e) {\r\n\t\t\t\t// TODO: log exceptions\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn results;\r\n\t}", "title": "" }, { "docid": "61c36363340acfcc5bf4d76b60a102df", "score": "0.6459408", "text": "public Cursor fetchAllRows() {\n\n return mDb.query(STATS_TABLE, new String[] {COLUMN_ID, COLUMN_1,\n COLUMN_2, COLUMN_3, COLUMN_4, COLUMN_5, COLUMN_6, COLUMN_7, COLUMN_8, COLUMN_9}, null, null, null, null, COLUMN_1+\" DESC\");\n }", "title": "" }, { "docid": "5cdc26c7fca52c84c06a25bca8ce34e4", "score": "0.6411838", "text": "@Override\n\tpublic List<Table> selectAll() {\n\t\treturn mapper.selectAll();\n\t}", "title": "" }, { "docid": "f45c5f373878e558859e87ee0e3660e9", "score": "0.6409694", "text": "@Override\r\n\tpublic Hashtable<?, ?> selectAll() throws SQLException, Exception {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "f4c50f2e27b15db187ca30d2da3cee66", "score": "0.6403702", "text": "public List QueryAll() {\n\t\treturn dao.QueryAll();\n\t}", "title": "" }, { "docid": "eb78ba7118a328168c5d18f63801632f", "score": "0.63882494", "text": "public List selectAll(String table) throws SQLException {\n\t\tString query = \"SELECT * FROM \" + table;\n\t\treturn query( query );\n\t}", "title": "" }, { "docid": "5e668fd70020d1ae4da3d33521133b0e", "score": "0.636458", "text": "private Iterator<DRow> fetchAllRows(ColumnParent colPar) {\r\n return new CassandraRowBatch(this, colPar);\r\n }", "title": "" }, { "docid": "92f870bce8d2e824cdd058018a4cd9fe", "score": "0.63477093", "text": "public Cursor getAllTheRows(String table){\n\t\topen();\n\t\tCursor cursor = null;\n\t\ttry{\n\t\t\tcursor = database.rawQuery(\"SELECT * FROM \" + table + \";\", null);\n\t\t\tLog.i(DEBUG, String.valueOf(cursor.getCount()));\n\t\tclose();\n\t\t} catch(SQLiteException e){\n\t\t\tLog.e(DEBUG, e.toString());\n\t\t}\n\t\treturn cursor;\n\t}", "title": "" }, { "docid": "17ad0596fd255d2b2dffe89f6cddcde0", "score": "0.6331329", "text": "@Override\r\n\tpublic List<T> queryAll(String statement) throws Exception {\n\t\treturn sqlSessionTemplate.selectList(statement);\r\n\t}", "title": "" }, { "docid": "3ce223f6974a0062136ac73637d05fd1", "score": "0.6310737", "text": "public Cursor selectAll() {\n SQLiteDatabase db = getWritableDatabase();\n Cursor cursor = db.rawQuery(\"SELECT * FROM entries\", null);\n return cursor;\n }", "title": "" }, { "docid": "22b8e40df0186b223f019f35f2208b88", "score": "0.630112", "text": "public Cursor getAllData() {\n SQLiteDatabase db = this.getWritableDatabase();\n Cursor res = db.rawQuery(\"select * from \"+table_name,null);\n return res;\n }", "title": "" }, { "docid": "8c1df9b287e01ef284a5f48e88ed4e01", "score": "0.62971973", "text": "public List<T> getAll() throws DAOException {\n getConnection();\n List<T> list;\n String sql = getSelectQuery();\n try (PreparedStatement statement = connection.prepareStatement(sql)) {\n ResultSet rs = statement.executeQuery();\n list = parseResultSet(rs);\n } catch (SQLException e) {\n logger.error(e.getMessage());\n throw new DAOException(\"Database issues. Please, try later.\");\n }\n closeConnection();\n return list;\n }", "title": "" }, { "docid": "54d5109c7d4d2293ec3567189c8acba2", "score": "0.6277694", "text": "public ResultSet fetchData() throws SQLException {\n\n String query = this.fetchStatement();\n System.out.println(query);\n PreparedStatement ps = this.buildQuery(query, this.bindings);\n this.reset();\n ResultSet results = ps.executeQuery();\n\n return results;\n }", "title": "" }, { "docid": "0dae5f8d87927edb7587e09db58a041b", "score": "0.62674594", "text": "public Cursor getAllData() {\n // Open the database for reading and writing\n SQLiteDatabase db = this.getWritableDatabase();\n\n // A Cursor represents the result of a query and basically points to one row of the query result.\n // This way Android can buffer the query results efficiently; as it does not have to load all data into memory.\n // the \"*\" means select \"all\"\n Cursor res = db.rawQuery(\"select * from \" + TABLE_NAME,null);\n return res;\n }", "title": "" }, { "docid": "3ce46b3c005f7c76e9f30c986597bf85", "score": "0.625309", "text": "public synchronized Cursor allRecords() {\n return database.query(sourceName, fieldNames, null, null,\n null, null, \"date ASC\", null);\n }", "title": "" }, { "docid": "9789ecbdbe8e2809a296e91af6ba5173", "score": "0.62318754", "text": "@Override\r\n\tpublic ArrayList<Object> getAll() throws SQLException {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "7f2567636311d656154cef5c6c01b12e", "score": "0.62148255", "text": "public static void getAllRecord(String tableName) {\n try {\n HTable table = new HTable(configuration, tableName);\n Scan s = new Scan();\n ResultScanner ss = table.getScanner(s);\n for (Result r : ss) {\n for (KeyValue kv : r.raw()) {\n System.out.print(new String(kv.getRow()) + \" \");\n System.out.print(new String(kv.getFamily()) + \":\");\n System.out.print(new String(kv.getQualifier()) + \" \");\n System.out.print(kv.getTimestamp() + \" \");\n System.out.println(new String(kv.getValue()));\n }\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "0ecbcbb845254e27dc0637ad060f3a0e", "score": "0.6212759", "text": "Subquery all();", "title": "" }, { "docid": "a31688ea33138f71bd4972d4f0cd3c22", "score": "0.6210025", "text": "public void fetchAllObjects()\n {\n ((IteratorTableModel) table.getModel()).fetchAllObjects();\n }", "title": "" }, { "docid": "263f9272798e92e7b51753044c2ee116", "score": "0.6201444", "text": "public IDatabaseReader selectAll(final ITable table, String whereCondition);", "title": "" }, { "docid": "07edce7c9196f1123cd026231af5029c", "score": "0.6175688", "text": "public static String queryAll()\n\t{\n\t\treturn \"SELECT * FROM Author\";\n\t}", "title": "" }, { "docid": "bacee82c80ba0e28aab2c2267ced62ca", "score": "0.6167954", "text": "public Cursor selectAll() {\n Cursor c = db.rawQuery(\"SELECT *\" +\" from \" + TABLE_P_AND_P, null);\n return c;\n }", "title": "" }, { "docid": "6c8ef0cb4a616c136fea81c9f56556d8", "score": "0.6155684", "text": "public Cursor retrieveAllInCursor();", "title": "" }, { "docid": "9b6879a125475cab8393c030f11ef6e1", "score": "0.6153861", "text": "public Cursor selectAll() {\n SQLiteDatabase db = getReadableDatabase();\n String Query =\"SELECT * FROM entrytables\";\n Cursor cursor = db.rawQuery(Query, null);\n return cursor;\n }", "title": "" }, { "docid": "8a14e90fd72fcd80a05c64d3bd1d6481", "score": "0.61463666", "text": "public Cursor getAllData()\n {\n SQLiteDatabase db = this.getWritableDatabase();\n Cursor res = db.rawQuery(\"select * from \" + TABLE_NAME, null);\n return res;\n\n }", "title": "" }, { "docid": "d857c48bab480ca3f569b22c3fda5304", "score": "0.61136967", "text": "@Override\r\n\tpublic List<Equipment> queryAllRecords() {\n\t\treturn equipmentMapper.queryAllRecords();\r\n\t}", "title": "" }, { "docid": "91d8e91f1d96237c6f943dffd16cf11f", "score": "0.6110593", "text": "public static List<Map<String, Object>> executeQuery(String query)\n {\n\n List<Map<String, Object>> table = new ArrayList<>();\n try\n {\n statement = connection.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);\n resultSet = statement.executeQuery(query);\n\n ResultSetMetaData resultSetMetaData = resultSet.getMetaData();\n\n while(resultSet.next())\n {\n Map<String, Object> row = new HashMap<>();\n for(int i = 1; i <= resultSetMetaData.getColumnCount(); i ++)\n {\n row.put(resultSetMetaData.getColumnName(i) , resultSet.getObject(i));\n }\n table.add(row);\n }\n\n }\n catch(SQLException ex)\n {\n ex.printStackTrace();\n }\n return table;\n }", "title": "" }, { "docid": "f9c46e92e664f1b2bd5f2c63afb467a1", "score": "0.60931146", "text": "public List<T> findAll() {\r\n return this.find(null, null, null, null, this.descriptor.getPrimaryKey().getColumn());\r\n }", "title": "" }, { "docid": "53ce65126300c301d98578eb269877fc", "score": "0.6087927", "text": "public IgniteQuery getAllQuery() {\n return new IgniteAllQuery(name, admin);\n }", "title": "" }, { "docid": "fd5fb34fa76a5bc8b83c5c317344e7a4", "score": "0.6079715", "text": "public List<Entrenador> selectAllEntrenadores(){\r\n \r\n List<Entrenador> entrenadores = new ArrayList();\r\n Query query = db.query(); //Creamos la query\r\n query.constrain(Entrenador.class); //Indicamos la clase del objeto a consultar\r\n //Obtenemos todos los que cumplan la condición de ser de la clase Entrenador\r\n ObjectSet resultado = query.execute(); \r\n \r\n while(resultado.hasNext()){\r\n Entrenador e = (Entrenador) resultado.next();\r\n entrenadores.add(e);\r\n }\r\n \r\n return entrenadores;\r\n \r\n }", "title": "" }, { "docid": "fc6560bf3a4245ea5c3701f89a67b678", "score": "0.6078396", "text": "public static ResultScanner queryAll(String tbName) {\n\t\tScan scan = new Scan();\n\t\tResultScanner results = null;\n\t\ttry {\n\t\t\tTable table = connection.getTable(TableName.valueOf(tbName));\n\t\t\tresults = table.getScanner(scan);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn results;\n\t}", "title": "" }, { "docid": "743e59eb8984d676d8643d2310199f99", "score": "0.6065336", "text": "public Collection<RoomRow> getAllRows() throws ModelException {\n\t\treturn this.getRows();\n\t}", "title": "" }, { "docid": "a595cd2192d9a4dd79630b39f51770e0", "score": "0.60617703", "text": "public RowSet findByAll() throws DAOException {\r\n \r\n\t\tString sqlStmt = DAOConstants.EMPSQL_FIND_ALL;\r\n\t\tConnection conn = null;\r\n\t\tRowSet returnRowSet = null;\r\n\r\n\t\ttry {\r\n\t\t\tlog.debug(\"finding all ProjectInfo entries\");\r\n\t\t\tconn = dbAccess.getConnection();\r\n\t\t\tPreparedStatement stmt = conn.prepareStatement(sqlStmt);\r\n\r\n\t\t\tResultSet rs = stmt.executeQuery();\r\n\r\n\t\t\tCachedRowSet crs = new CachedRowSetImpl();\r\n\t\t\tcrs.populate(rs);\r\n\t\t\r\n\t\t\tstmt.close();\r\n\t\t\trs.close();\r\n\t\t\treturn crs;\r\n\t\t} catch (DBAccessException e){\r\n\t\t\tthrow new DAOException (e.getMessageKey(),\r\n\t\t\t\te, DAOException.ERROR, true);\t\t\t\t\r\n\t\t\t\t}\r\n\t\t catch (SQLException e) {\r\n\t\t\tthrow new DAOException (\"sql.findall.exception.empdao\",\r\n\t\t\te, DAOException.ERROR, true);\r\n\t\t} finally {\r\n\t\t\ttry {\r\n\t\t\t\tdbAccess.closeConnection(conn);\r\n\t\t\t} catch (DBAccessException e1) {\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t}\r\n }", "title": "" }, { "docid": "da90920314936c8505abe821cd1d39d4", "score": "0.60573167", "text": "public List<InviteTable> querAll() {\n\t\treturn this.getSqlMapClientTemplate().queryForList(\"inviteTable.findAll\");\n\t}", "title": "" }, { "docid": "695c6d47c56504a142ac87f810c21456", "score": "0.6050258", "text": "@Override\n\tpublic ResultSet executeQuery() throws SQLException {\n\t\tResultSet rs = statement.executeQuery();\n\t\tresultSets.add(rs);\n\t\treturn rs;\n\t}", "title": "" }, { "docid": "5a66f9292edf6fb7134cbf0afde1bb18", "score": "0.6043685", "text": "@Override\n\tpublic Collection<Table> getAll() throws SQLException {\n\t\tArrayList<Table> borrowings = new ArrayList<Table>();\n\n\t\tPreparedStatement ps = con.prepareStatement(\"SELECT * FROM Borrowing\");\n\t\tResultSet rs = ps.executeQuery();\n\t\twhile (rs.next()) {\n\t\t\tborrowings.add(new Borrowing(rs));\n\n\t\t} // end while(rs.next())\n\t\trs.close();\n\n\t\treturn borrowings;\n\t}", "title": "" }, { "docid": "6dca8b6d06d4c79784cd52338dc1bc4f", "score": "0.60387623", "text": "public List<Person> getAllTable(String tableName){\n Connection conn;\n List<Person> persons = new ArrayList<>();\n try {\n conn = DriverManager.getConnection(url, user, password);\n String sql = \"SELECT * FROM \" + tableName ;\n PreparedStatement stmt = conn.prepareStatement(sql);\n ResultSet rs = stmt.executeQuery();\n\n while(rs.next()) {\n persons.add(new Person(\n rs.getString(\"id\"),\n rs.getString(\"firstname\"),\n rs.getString(\"lastname\"),\n rs.getInt(\"age\"),\n rs.getString(\"type\")));\n }\n stmt.close();\n conn.close();\n\n } catch (SQLException e) {\n System.out.println(e.getMessage());\n }\n return persons;\n }", "title": "" }, { "docid": "8202c9eebb09fee2d093001c8cd8a216", "score": "0.60181016", "text": "protected List <Row> getRowsImpl(DataTable aTable, Query aQuery) throws Exception { throw notImpl(\"getRowsImpl\"); }", "title": "" }, { "docid": "d8f98219b6cfca70ddcb7a51fbc4859d", "score": "0.6009641", "text": "ResultSet getResultSet();", "title": "" }, { "docid": "4a230d899606f983cfa215bb8cd4ac6d", "score": "0.59991026", "text": "@Override\r\n\tpublic int getAllRows() throws Exception {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "8130de7435a2b5014d254e00e5c94b0c", "score": "0.59728026", "text": "@Override\r\n\tpublic <P> List<T> queryAll(String statement, P p) throws Exception {\n\t\treturn sqlSessionTemplate.selectList(statement, p);\r\n\t}", "title": "" }, { "docid": "fb085424c8a20431a95252bf3a8da735", "score": "0.5962049", "text": "private static List<TableRow> getSampleQuery(\n Bigquery bigquery,\n String tableId)\n throws IOException {\n\n String query = \"SELECT * FROM [\" + tableId + \"] LIMIT 10\";\n return executeQuery(query, bigquery);\n }", "title": "" }, { "docid": "9b4bee4b10436cccc5d56840e370090d", "score": "0.59175664", "text": "public ResultSet getAllBeds() {\n sqlQuery = \"SELECT * FROM BEDS;\";\n try{\n preparedStmt = connection.prepareStatement(sqlQuery);\n resultSet = preparedStmt.executeQuery();\n }catch(SQLException e){}\n return resultSet;\n \n }", "title": "" }, { "docid": "b8308efe8db78e695cdc56bc806e8e88", "score": "0.5916114", "text": "void selectAll();", "title": "" }, { "docid": "b8308efe8db78e695cdc56bc806e8e88", "score": "0.5916114", "text": "void selectAll();", "title": "" }, { "docid": "fedd7262d05dfb963c973b509ef377b4", "score": "0.5912481", "text": "public Rows getRows() {\n return getRows(_begin);\n }", "title": "" }, { "docid": "e60d8002c5b0144316b76913e055b9ae", "score": "0.59099853", "text": "public Cursor getAllData(String table_name) {\n Cursor res = null;\n try {\n SQLiteDatabase db = this.getWritableDatabase();\n res = db.rawQuery(\"select * from \" + table_name, null);\n } catch (NullPointerException e) {\n System.err.println(\"ERROR: 0 \" + e);\n }\n return res;\n }", "title": "" }, { "docid": "76ab13ec504c301de2c2710f571de996", "score": "0.5907612", "text": "List<TblthreeInfo> selectAll();", "title": "" }, { "docid": "9bcfaa3cbda1396a2d5860e742fabf04", "score": "0.5892073", "text": "public ResultSet getAllRooms() {\n sqlQuery = \"SELECT * FROM ROOMS;\";\n try{\n preparedStmt = connection.prepareStatement(sqlQuery);\n resultSet = preparedStmt.executeQuery();\n }catch(SQLException e){}\n return resultSet;\n }", "title": "" }, { "docid": "62f07ec6c4f5054e9c323f6d82c20f5f", "score": "0.5890632", "text": "public Cursor getAllRecords() {\r\n\r\n\r\n //Does not work only works when selecting from user table\r\n //Cursor cursor = sqlDb.rawQuery(\"select * from \" + TABLE_PROFILES, null);\r\n\r\n Cursor cursor = sqlDb.rawQuery(\"select * from \" + TABLE_USERS, null);\r\n\r\n return cursor;\r\n\r\n //return sqlDb.rawQuery(\"select * from \" + TABLE_PROFILES, null);\r\n\r\n }", "title": "" }, { "docid": "5f4e76167af7804268569f1504bbc7c8", "score": "0.5878685", "text": "List<Ptransaction> selectAll();", "title": "" }, { "docid": "026cd71629fc3c0977a888b4f22bc872", "score": "0.5876269", "text": "@Override\r\n\tpublic List<P_count> getQueryAll() {\n\t\treturn bd.queryAll();\r\n\t}", "title": "" }, { "docid": "dee708ede2a9189fe3ff43c137ea8f3d", "score": "0.58661246", "text": "public Cursor getAllData(){\n\n SQLiteDatabase db = this.getWritableDatabase();\n Cursor res = db.rawQuery(\"select * from \"+TABLE_NAME, null);\n Log.d(TAG,\"databses\" +res);\n return res;\n\n }", "title": "" }, { "docid": "13e9a5fdb16c4cee26c5bf65d827cf81", "score": "0.58658075", "text": "@Override\r\n\tpublic ArrayList<Document> getAll() {\n\t\tdao = sqlSession.getMapper(Dao.class);\r\n\t\treturn dao.selectAll();\r\n\t}", "title": "" }, { "docid": "885e6ecab7a61865d601996f92d6c0bf", "score": "0.58635217", "text": "public Cursor fetchAll() {\n return mDb.query(DATABASE_TABLE, new String[]{KEY_ID, KEY_ORDERID, KEY_NAME, KEY_COLOR, KEY_NUMBERS, KEY_PRICE\n }, null, null, null, null, null);\n }", "title": "" }, { "docid": "8ef4b04625da77f695d810b7a5beca18", "score": "0.5861522", "text": "public void giveMeAll() throws SQLException, IllegalStateException\n\t{\n\t\tif( !connectedToDB )\n\t\t\tthrow new IllegalStateException( \"Not connected\" );\n\n\t\tquery = selQuery;\n\t\tquery += \"1=1\";\n\n\t\ttry\n\t\t{\n\t\t\tSystem.out.println(\"Running query:\" + query); //debug\n\t\t\tresultSet = statement.executeQuery( query );\n\t\t\tmetaData = resultSet.getMetaData();\n\t\t\tSystem.out.println(\"Finished running query\"); //debug\n\t\t}\n\t\tcatch( SQLException sql )\n\t\t{\n\t\t\tsql.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "fd659755c02f660caf10b41f9c6e7a3e", "score": "0.58427364", "text": "@Override\n\tpublic List<Map<String, Object>> readAll() {\n\t\tString SQL = \"SELECT * FROM detalles\";\n\t\treturn jdbcTemplate.queryForList(SQL);\n\t}", "title": "" }, { "docid": "5211ae62f52285442e1bce143054a677", "score": "0.5834695", "text": "@Override\n\tpublic List<Persona> readAll() {\n\t\treturn jdbcTemplate.query(\"Select * from personas\", BeanPropertyRowMapper.newInstance(Persona.class));\n\t}", "title": "" }, { "docid": "8f6e8a1e7e5b8423810d0fb2236857ae", "score": "0.58300006", "text": "@Override\r\n\tpublic List<Partita> selectAll() {\r\n\t\tfinal String SQL = \"SELECT * FROM partita\";\r\n\t\t\r\n\t\treturn namedParameterJdbcTemplate.query(SQL, new PartitaRowMapper());\r\n\t}", "title": "" }, { "docid": "fab2d4f9e4f0ec9fe787645f9a1ca02d", "score": "0.5828545", "text": "public List<T> retrieveAll();", "title": "" }, { "docid": "bf30c149aa6417069d10330f5f4a185a", "score": "0.5827361", "text": "public Cursor fetchAll() throws SQLException\r\n\r\n\t{\n\r\n\t\tCursor mCursor = mDb.query(true, SQLITE_TABLE, new String[] {\r\n\t\t\t\tKEY_ROWID, KEY_CREWID, KEY_CREWNAME, KEY_HOUSENUM,\r\n\t\t\t\tKEY_CREWNICKNAME,KEY_COMPANYNAME, KEY_HOUSEOWNER, KEY_PHONENUM, KEY_AREA,\r\n\t\t\t\tKEY_EMAIL, KEY_STREET, KEY_CITY, KEY_STATE, KEY_ZIPCODE,\r\n\t\t\t\tKEY_MATCODE, KEY_WORKCENTER }, null, null, null, null, null,\r\n\t\t\t\tnull);\r\n\r\n\t\tif (mCursor != null) {\r\n\t\t\tmCursor.moveToFirst();\r\n\t\t}\r\n\r\n\t\treturn mCursor;\r\n\t}", "title": "" }, { "docid": "3e2a26f66a004b9207d528d1f1bb0f83", "score": "0.58265954", "text": "public List<DHitsResult> findAllInternal() {\n Session session = sessionFactory.openSession();\n try {\n ManagedSessionContext.bind(session);\n Transaction transaction = session.beginTransaction();\n try {\n List<DHitsResult> list= findAll();\n transaction.commit();\n return list;\n }\n catch (Exception e) {\n transaction.rollback();\n throw new RuntimeException(e);\n }\n }\n finally {\n session.close();\n ManagedSessionContext.unbind(sessionFactory);\n }\n }", "title": "" }, { "docid": "9e2189f4847292f0390d7806b76ad88d", "score": "0.5822627", "text": "public Collection<V> values() {\n Collection<V> allOfThem = new ArrayList<V>();\n ConnectionRecord cr = getConnection();\n Connection c = cr.connection;\n\n try {\n PreparedStatement stmt = c.prepareStatement(\"select * from \" + getTable().getFQTablename());\n stmt.execute();// just execute() since executeQuery(x) would throw an exception regardless of content per JDBC spec.\n\n ResultSet rs = stmt.getResultSet();\n while (rs.next()) {\n V newOne = create();\n ColumnMap map = rsToMap(rs);\n populate(map, newOne);\n allOfThem.add(newOne);\n }\n rs.close();\n stmt.close();\n releaseConnection(cr);\n } catch (SQLException e) {\n destroyConnection(cr);\n throw new GeneralException(\"Error: could not get database object\", e);\n }\n return allOfThem;\n }", "title": "" }, { "docid": "3629b76a3dae0585bf2a51453c76e001", "score": "0.5820811", "text": "public static ResultSet fetchRecords() throws ClassNotFoundException\n { \n try \n { \n Connection conn = (Connection) connectToDB();\n String query = \"SELECT * FROM \" + TABLE;\n stmt = conn.createStatement();\n ResultSet rs = stmt.executeQuery(query); \n \n return rs;\n }\n catch (InstantiationException | IllegalAccessException | SQLException ex) \n {\n Logger.getLogger(Smart.class.getName()).log(Level.SEVERE, null, ex);\n }\n \n return null;\n }", "title": "" }, { "docid": "e28527f003cf9127050c68a4dff47b88", "score": "0.5815847", "text": "public List<Account> findAll()throws SQLException;", "title": "" }, { "docid": "ea2acbe72a5ba6a3753de8db77717097", "score": "0.5812221", "text": "ResultSet query(String table, String fields, String where, String order, String addition) throws SQLException{\r\n\t\tString sql = buildSQLQuery(table, fields, where, order, addition);\r\n\t\t// Allows to walk the ResultSet in any direction\r\n\t\treturn conn.createStatement(ResultSet.FETCH_UNKNOWN, ResultSet.CONCUR_READ_ONLY).executeQuery(sql);\r\n\t}", "title": "" }, { "docid": "0518624227bc29552de1ab499969a83a", "score": "0.5809099", "text": "public List<SearchResult> findAll()\r\n\t{\r\n \treturn getHyperGraph().getTransactionManager().ensureTransaction(new Callable<List<SearchResult>>() {\r\n \tpublic List<SearchResult> call()\r\n \t{ \t\r\n \t\tArrayList<SearchResult> result = new ArrayList<SearchResult>();\r\n \t\tHGSearchResult<SearchResult> rs = null;\r\n \t\ttry\r\n \t\t{\r\n \t\t\trs = execute();\r\n \t\t\twhile (rs.hasNext())\r\n \t\t\t\tresult.add(rs.next());\r\n \t\t\treturn result;\r\n \t\t}\r\n \t\tfinally\r\n \t\t{\r\n \t\t\tif (rs != null) rs.close();\r\n \t\t}\r\n \t}\r\n \t},\r\n \tHGTransactionConfig.READONLY);\t\t\t\t\r\n\t}", "title": "" }, { "docid": "62a29e8eb8822e73db5f44794b29e440", "score": "0.58077216", "text": "public Iterable<? extends ImmutableRow> getRows();", "title": "" }, { "docid": "8a7f4788210fa6f82a47f74b9f5c7c81", "score": "0.5807515", "text": "List<? extends TableRow> getTableRows();", "title": "" }, { "docid": "c214eca7e167defdd246b5f2fac073f0", "score": "0.5804861", "text": "public ResultSet getTableData(String tableName) {\r\n String query = \"SELECT * FROM dbo.\\\"CRONUS Sverige AB$\" + tableName + \"\\\"\";\r\n return getQuery(query);\r\n }", "title": "" }, { "docid": "83c92a067ef19793d2adc3a36d875b7b", "score": "0.5801505", "text": "public abstract void selectAll();", "title": "" }, { "docid": "8007ecc3b584c2cdfdd121569b75d4b0", "score": "0.57961774", "text": "public List<Student> retrieveAll() {\n\t\t\n\t\tConnection con = getConnection();\n\t\t \n\t\ttry {\n\t\tString query = \"select * from Student\";\n\t\tStatement stmt = con.createStatement();\n\t ResultSet rs = stmt.executeQuery(query);\n\t \n\t List<Student> students = new ArrayList<Student>();\n\t \n\t while (rs.next()) {\n\t \tStudent student = getStudentFromDB(rs);\n\t \tstudents.add(student);\n\t }\n\t return students;\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t\t\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "6c0888b6b5509373b51c281fbcccf287", "score": "0.5793133", "text": "protected String fetchAllRowsFromTableSql(\n\t\t\tConnection conn, \n\t\t\tString tableName, \n\t\t\tList<String> columns,\n\t\t\tint limit,\n\t\t\tint offset\n\n\t\t) {\t\t\n\t\treturn fetchAllRowsFromTableSql(conn, tableName, columns, limit, offset);\t\t\t\n\t}", "title": "" }, { "docid": "baa8371fc12f045c8a3cdd675ba5f09e", "score": "0.57891", "text": "@Override\n\tpublic List<Guitar> queryAll() {\n\t\treturn mysqlDao.queryAll();\n//\t\treturn sqliteDao.queryAll();\n\t}", "title": "" }, { "docid": "f8f17b37a5a343bd147842ef43e476e7", "score": "0.57824004", "text": "public static List<Restaurant> fetchAllRestaurants ()\r\n { \r\n String sql = SQLTranslator.translateAllRestaurants();\r\n ResultSet rs = DBHandler.query(sql);\r\n List<Restaurant> restaurants = RsToRL(rs);\r\n return restaurants;\r\n }", "title": "" }, { "docid": "4141c3e638add1f9471d10f747ac4de0", "score": "0.5775817", "text": "public java.util.List getAllRecords();", "title": "" }, { "docid": "e7e01bae324ff62cb06ad1acca12b51e", "score": "0.57709736", "text": "@Override\n\tpublic List<Tag> queryAll() {\n\t\treturn dao.queryAll();\n\t}", "title": "" }, { "docid": "540011d53780148bd0a29c462b219643", "score": "0.5769984", "text": "public Cursor getAllRecords()\r\n\t\t {\r\n\t\t return db.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_NAME, KEY_QUANTITY, KEY_CURRENT ,KEY_RESULT}, null, null, null, null, null);\r\n\t\t }", "title": "" }, { "docid": "d972a979e3604434b8e5cbd0b613fcb1", "score": "0.57648605", "text": "@Override\n\tpublic List<Student> queryAll() {\n\t\treturn studentDao.queryAll();\n\t}", "title": "" }, { "docid": "ddf7e7f54e55e7195216c2ed28dd2969", "score": "0.5761531", "text": "@Override\r\n public List<T> findAll() throws SQLException {\n Query query = entityManager.createQuery(\"FROM \" + className + \" where delFlag=0\");\r\n List<T> result = query.getResultList();\r\n return result;\r\n }", "title": "" }, { "docid": "5420aa9489973a46762d86f6ece0c204", "score": "0.576147", "text": "public ResultSet executeQuery() throws SQLException {\n return delegate.executeQuery();\n }", "title": "" }, { "docid": "d47c8ec26bd02c1c4ea76a4ec56dadd9", "score": "0.5757893", "text": "public List<DataRow> getRows() {\n return Collections.unmodifiableList(rows);\n }", "title": "" }, { "docid": "b670c65acadd04bd8c94a17d65890afa", "score": "0.5757082", "text": "@Override\n\tpublic KSupplier[] findAll() throws SQLException {\n\t\treturn findByDynamicSelect( SQL_SELECT + \" ORDER BY ID\", new Object[0] );\n\t}", "title": "" }, { "docid": "3ebf8c6901f5d758170c299f2f731b78", "score": "0.5755843", "text": "@Override\n public List<Site> readAll() throws SQLException {\n List<Site> arr=new ArrayList<>();\n req = \"select * from site\";\n ste=con.createStatement();\n ResultSet rs=ste.executeQuery(req);\n while (rs.next()) { \n int id=rs.getInt(1);\n String emplacement=rs.getString(\"emplacement\");\n Double x=rs.getDouble(3);\n Double y=rs.getDouble(4);\n Site s=new Site(id,emplacement,x,y);\n arr.add(s);\n }\n return arr;\n }", "title": "" }, { "docid": "6a7efedfa80a4a8ee05f90a568b763df", "score": "0.5755123", "text": "public List<Student> selectAll() {\n\n Query query = entityManager.createQuery(SELECT_QUERY);\n List<Student> students = (List<Student>) query.getResultList();\n return students;\n }", "title": "" }, { "docid": "1d54da9e9f3cd037c376ec6bfdd70393", "score": "0.57484037", "text": "abstract public List<DatabaseEntity> selectRecords(Hashtable<String,String> columnsAndValues)throws DatabaseException;", "title": "" }, { "docid": "754ead38da9c4288dd000fd4a6f1616d", "score": "0.5748313", "text": "@Override\r\n\tpublic ResultSet query(String query) throws SQLException {\r\n\t\tStatement stmt = _conn.createStatement();\r\n\t\tResultSet rs = stmt.executeQuery(query);\r\n\t\treturn rs;\r\n\t}", "title": "" }, { "docid": "72613799d837f82aa4b949389902c091", "score": "0.57471925", "text": "public IDatabaseReader selectAll(final ITable[] tables);", "title": "" }, { "docid": "d3cf3eb96577f61a8aaf43b2c365535f", "score": "0.5747142", "text": "@Override\r\n\t@Transactional\r\n\tpublic List<Employee> findAll() {\n\t\tSession currentSession = entityManager.unwrap(Session.class);\r\n\t\t\r\n\t\t\r\n\t\t// create a query, we are using native Hibernate api\r\n\t\tQuery<Employee> theQuery = \r\n\t\t\t\tcurrentSession.createQuery(\"from Employee\",Employee.class);\r\n\t\t\r\n\t\t// execute query and get result list\r\n\t\tList<Employee> employees = theQuery.getResultList();\r\n\t\t\r\n\t\t// return the results\r\n\t\treturn employees;\r\n\t}", "title": "" }, { "docid": "f1f057f08b55549054ce7c619773f30c", "score": "0.574045", "text": "public List<E> retrieveAll();", "title": "" }, { "docid": "46f6a248b7c580b3227082655bd489f6", "score": "0.57393265", "text": "@Override\n\tpublic Object queryAll(Object params) throws Exception {\n\t\treturn bankMapper.queryAll(params);\n\t}", "title": "" }, { "docid": "7515ac60a467ec516c7afcf3e13391ff", "score": "0.57360464", "text": "@Override\r\n\tpublic List<MMach> SelectAll() {\n\t\treturn machDaoImp.SelectAll();\r\n\t}", "title": "" } ]
b68959481a99ec5d3c83ec1a904a572a
Creates a Builder by copying an existing AutoGeneratedSchema instance
[ { "docid": "9af81451b830a09184eda8b4367eafa3", "score": "0.65433395", "text": "private Builder(AutoGeneratedSchema other) {\n super(AutoGeneratedSchema.SCHEMA$);\n if (isValidValue(fields()[0], other.CALMONTH)) {\n this.CALMONTH = data().deepCopy(fields()[0].schema(), other.CALMONTH);\n fieldSetFlags()[0] = true;\n }\n if (isValidValue(fields()[1], other.CALDAY)) {\n this.CALDAY = data().deepCopy(fields()[1].schema(), other.CALDAY);\n fieldSetFlags()[1] = true;\n }\n if (isValidValue(fields()[2], other.MATERIAL)) {\n this.MATERIAL = data().deepCopy(fields()[2].schema(), other.MATERIAL);\n fieldSetFlags()[2] = true;\n }\n if (isValidValue(fields()[3], other.EANUPC)) {\n this.EANUPC = data().deepCopy(fields()[3].schema(), other.EANUPC);\n fieldSetFlags()[3] = true;\n }\n if (isValidValue(fields()[4], other.PLANT)) {\n this.PLANT = data().deepCopy(fields()[4].schema(), other.PLANT);\n fieldSetFlags()[4] = true;\n }\n if (isValidValue(fields()[5], other.BILL_TYPE)) {\n this.BILL_TYPE = data().deepCopy(fields()[5].schema(), other.BILL_TYPE);\n fieldSetFlags()[5] = true;\n }\n if (isValidValue(fields()[6], other.STOR_LOC)) {\n this.STOR_LOC = data().deepCopy(fields()[6].schema(), other.STOR_LOC);\n fieldSetFlags()[6] = true;\n }\n if (isValidValue(fields()[7], other.DISTR_CHAN)) {\n this.DISTR_CHAN = data().deepCopy(fields()[7].schema(), other.DISTR_CHAN);\n fieldSetFlags()[7] = true;\n }\n if (isValidValue(fields()[8], other.SOLD_TO)) {\n this.SOLD_TO = data().deepCopy(fields()[8].schema(), other.SOLD_TO);\n fieldSetFlags()[8] = true;\n }\n if (isValidValue(fields()[9], other.RT_PROMO)) {\n this.RT_PROMO = data().deepCopy(fields()[9].schema(), other.RT_PROMO);\n fieldSetFlags()[9] = true;\n }\n if (isValidValue(fields()[10], other.CUST_GROUP)) {\n this.CUST_GROUP = data().deepCopy(fields()[10].schema(), other.CUST_GROUP);\n fieldSetFlags()[10] = true;\n }\n if (isValidValue(fields()[11], other._BIC_ZOPC0104)) {\n this._BIC_ZOPC0104 = data().deepCopy(fields()[11].schema(), other._BIC_ZOPC0104);\n fieldSetFlags()[11] = true;\n }\n if (isValidValue(fields()[12], other._BIC_ZOPC0513)) {\n this._BIC_ZOPC0513 = data().deepCopy(fields()[12].schema(), other._BIC_ZOPC0513);\n fieldSetFlags()[12] = true;\n }\n if (isValidValue(fields()[13], other.RECORDMODE)) {\n this.RECORDMODE = data().deepCopy(fields()[13].schema(), other.RECORDMODE);\n fieldSetFlags()[13] = true;\n }\n if (isValidValue(fields()[14], other.MAT_PLANT)) {\n this.MAT_PLANT = data().deepCopy(fields()[14].schema(), other.MAT_PLANT);\n fieldSetFlags()[14] = true;\n }\n if (isValidValue(fields()[15], other.SALES_DIST)) {\n this.SALES_DIST = data().deepCopy(fields()[15].schema(), other.SALES_DIST);\n fieldSetFlags()[15] = true;\n }\n if (isValidValue(fields()[16], other._BIC_ZOPC0006)) {\n this._BIC_ZOPC0006 = data().deepCopy(fields()[16].schema(), other._BIC_ZOPC0006);\n fieldSetFlags()[16] = true;\n }\n if (isValidValue(fields()[17], other._BIC_ZOPC0041)) {\n this._BIC_ZOPC0041 = data().deepCopy(fields()[17].schema(), other._BIC_ZOPC0041);\n fieldSetFlags()[17] = true;\n }\n if (isValidValue(fields()[18], other._BIC_ZOPC0042)) {\n this._BIC_ZOPC0042 = data().deepCopy(fields()[18].schema(), other._BIC_ZOPC0042);\n fieldSetFlags()[18] = true;\n }\n if (isValidValue(fields()[19], other._BIC_ZOPC0043)) {\n this._BIC_ZOPC0043 = data().deepCopy(fields()[19].schema(), other._BIC_ZOPC0043);\n fieldSetFlags()[19] = true;\n }\n if (isValidValue(fields()[20], other.VENDOR)) {\n this.VENDOR = data().deepCopy(fields()[20].schema(), other.VENDOR);\n fieldSetFlags()[20] = true;\n }\n if (isValidValue(fields()[21], other._BIC_ZMMC0003)) {\n this._BIC_ZMMC0003 = data().deepCopy(fields()[21].schema(), other._BIC_ZMMC0003);\n fieldSetFlags()[21] = true;\n }\n if (isValidValue(fields()[22], other._BIC_ZPURC004)) {\n this._BIC_ZPURC004 = data().deepCopy(fields()[22].schema(), other._BIC_ZPURC004);\n fieldSetFlags()[22] = true;\n }\n if (isValidValue(fields()[23], other._BIC_ZMMC0005)) {\n this._BIC_ZMMC0005 = data().deepCopy(fields()[23].schema(), other._BIC_ZMMC0005);\n fieldSetFlags()[23] = true;\n }\n if (isValidValue(fields()[24], other.TAX_AMOUNT)) {\n this.TAX_AMOUNT = data().deepCopy(fields()[24].schema(), other.TAX_AMOUNT);\n fieldSetFlags()[24] = true;\n }\n if (isValidValue(fields()[25], other.DOC_CURRCY)) {\n this.DOC_CURRCY = data().deepCopy(fields()[25].schema(), other.DOC_CURRCY);\n fieldSetFlags()[25] = true;\n }\n if (isValidValue(fields()[26], other.COST)) {\n this.COST = data().deepCopy(fields()[26].schema(), other.COST);\n fieldSetFlags()[26] = true;\n }\n if (isValidValue(fields()[27], other.CSHDSC_BAS)) {\n this.CSHDSC_BAS = data().deepCopy(fields()[27].schema(), other.CSHDSC_BAS);\n fieldSetFlags()[27] = true;\n }\n if (isValidValue(fields()[28], other.DENOMINTR)) {\n this.DENOMINTR = data().deepCopy(fields()[28].schema(), other.DENOMINTR);\n fieldSetFlags()[28] = true;\n }\n if (isValidValue(fields()[29], other.EXCHG_RATE)) {\n this.EXCHG_RATE = data().deepCopy(fields()[29].schema(), other.EXCHG_RATE);\n fieldSetFlags()[29] = true;\n }\n if (isValidValue(fields()[30], other.EXCHG_STAT)) {\n this.EXCHG_STAT = data().deepCopy(fields()[30].schema(), other.EXCHG_STAT);\n fieldSetFlags()[30] = true;\n }\n if (isValidValue(fields()[31], other.EXRATEXACC)) {\n this.EXRATEXACC = data().deepCopy(fields()[31].schema(), other.EXRATEXACC);\n fieldSetFlags()[31] = true;\n }\n if (isValidValue(fields()[32], other.EXRATE_ACC)) {\n this.EXRATE_ACC = data().deepCopy(fields()[32].schema(), other.EXRATE_ACC);\n fieldSetFlags()[32] = true;\n }\n if (isValidValue(fields()[33], other.GROSS_VAL)) {\n this.GROSS_VAL = data().deepCopy(fields()[33].schema(), other.GROSS_VAL);\n fieldSetFlags()[33] = true;\n }\n if (isValidValue(fields()[34], other.GRS_WGT_DL)) {\n this.GRS_WGT_DL = data().deepCopy(fields()[34].schema(), other.GRS_WGT_DL);\n fieldSetFlags()[34] = true;\n }\n if (isValidValue(fields()[35], other.INV_QTY)) {\n this.INV_QTY = data().deepCopy(fields()[35].schema(), other.INV_QTY);\n fieldSetFlags()[35] = true;\n }\n if (isValidValue(fields()[36], other.UNIT_OF_WT)) {\n this.UNIT_OF_WT = data().deepCopy(fields()[36].schema(), other.UNIT_OF_WT);\n fieldSetFlags()[36] = true;\n }\n if (isValidValue(fields()[37], other.SALES_UNIT)) {\n this.SALES_UNIT = data().deepCopy(fields()[37].schema(), other.SALES_UNIT);\n fieldSetFlags()[37] = true;\n }\n if (isValidValue(fields()[38], other.NETVAL_INV)) {\n this.NETVAL_INV = data().deepCopy(fields()[38].schema(), other.NETVAL_INV);\n fieldSetFlags()[38] = true;\n }\n if (isValidValue(fields()[39], other.NET_WGT_DL)) {\n this.NET_WGT_DL = data().deepCopy(fields()[39].schema(), other.NET_WGT_DL);\n fieldSetFlags()[39] = true;\n }\n if (isValidValue(fields()[40], other.NO_INV_IT)) {\n this.NO_INV_IT = data().deepCopy(fields()[40].schema(), other.NO_INV_IT);\n fieldSetFlags()[40] = true;\n }\n if (isValidValue(fields()[41], other.NUMERATOR)) {\n this.NUMERATOR = data().deepCopy(fields()[41].schema(), other.NUMERATOR);\n fieldSetFlags()[41] = true;\n }\n if (isValidValue(fields()[42], other.REQ_QTY)) {\n this.REQ_QTY = data().deepCopy(fields()[42].schema(), other.REQ_QTY);\n fieldSetFlags()[42] = true;\n }\n if (isValidValue(fields()[43], other.BASE_UOM)) {\n this.BASE_UOM = data().deepCopy(fields()[43].schema(), other.BASE_UOM);\n fieldSetFlags()[43] = true;\n }\n if (isValidValue(fields()[44], other.SCALE_QTY)) {\n this.SCALE_QTY = data().deepCopy(fields()[44].schema(), other.SCALE_QTY);\n fieldSetFlags()[44] = true;\n }\n if (isValidValue(fields()[45], other.SUBTOTAL_1)) {\n this.SUBTOTAL_1 = data().deepCopy(fields()[45].schema(), other.SUBTOTAL_1);\n fieldSetFlags()[45] = true;\n }\n if (isValidValue(fields()[46], other.SUBTOTAL_2)) {\n this.SUBTOTAL_2 = data().deepCopy(fields()[46].schema(), other.SUBTOTAL_2);\n fieldSetFlags()[46] = true;\n }\n if (isValidValue(fields()[47], other.SUBTOTAL_3)) {\n this.SUBTOTAL_3 = data().deepCopy(fields()[47].schema(), other.SUBTOTAL_3);\n fieldSetFlags()[47] = true;\n }\n if (isValidValue(fields()[48], other.SUBTOTAL_4)) {\n this.SUBTOTAL_4 = data().deepCopy(fields()[48].schema(), other.SUBTOTAL_4);\n fieldSetFlags()[48] = true;\n }\n if (isValidValue(fields()[49], other.SUBTOTAL_5)) {\n this.SUBTOTAL_5 = data().deepCopy(fields()[49].schema(), other.SUBTOTAL_5);\n fieldSetFlags()[49] = true;\n }\n if (isValidValue(fields()[50], other.SUBTOTAL_6)) {\n this.SUBTOTAL_6 = data().deepCopy(fields()[50].schema(), other.SUBTOTAL_6);\n fieldSetFlags()[50] = true;\n }\n if (isValidValue(fields()[51], other._BIC_ZOPK0021)) {\n this._BIC_ZOPK0021 = data().deepCopy(fields()[51].schema(), other._BIC_ZOPK0021);\n fieldSetFlags()[51] = true;\n }\n if (isValidValue(fields()[52], other._BIC_ZOPK0053)) {\n this._BIC_ZOPK0053 = data().deepCopy(fields()[52].schema(), other._BIC_ZOPK0053);\n fieldSetFlags()[52] = true;\n }\n if (isValidValue(fields()[53], other._BIC_ZOPK0054)) {\n this._BIC_ZOPK0054 = data().deepCopy(fields()[53].schema(), other._BIC_ZOPK0054);\n fieldSetFlags()[53] = true;\n }\n if (isValidValue(fields()[54], other._BIC_ZOPK0055)) {\n this._BIC_ZOPK0055 = data().deepCopy(fields()[54].schema(), other._BIC_ZOPK0055);\n fieldSetFlags()[54] = true;\n }\n if (isValidValue(fields()[55], other._BIC_ZPRICE11)) {\n this._BIC_ZPRICE11 = data().deepCopy(fields()[55].schema(), other._BIC_ZPRICE11);\n fieldSetFlags()[55] = true;\n }\n if (isValidValue(fields()[56], other._BIC_ZPRICE12)) {\n this._BIC_ZPRICE12 = data().deepCopy(fields()[56].schema(), other._BIC_ZPRICE12);\n fieldSetFlags()[56] = true;\n }\n if (isValidValue(fields()[57], other.CURRENCY)) {\n this.CURRENCY = data().deepCopy(fields()[57].schema(), other.CURRENCY);\n fieldSetFlags()[57] = true;\n }\n if (isValidValue(fields()[58], other._BIC_ZOPK0145)) {\n this._BIC_ZOPK0145 = data().deepCopy(fields()[58].schema(), other._BIC_ZOPK0145);\n fieldSetFlags()[58] = true;\n }\n if (isValidValue(fields()[59], other.AMOUNT)) {\n this.AMOUNT = data().deepCopy(fields()[59].schema(), other.AMOUNT);\n fieldSetFlags()[59] = true;\n }\n if (isValidValue(fields()[60], other._BIC_ZOPK0048)) {\n this._BIC_ZOPK0048 = data().deepCopy(fields()[60].schema(), other._BIC_ZOPK0048);\n fieldSetFlags()[60] = true;\n }\n if (isValidValue(fields()[61], other._BIC_ZOPK0049)) {\n this._BIC_ZOPK0049 = data().deepCopy(fields()[61].schema(), other._BIC_ZOPK0049);\n fieldSetFlags()[61] = true;\n }\n if (isValidValue(fields()[62], other.RT_TAXCODE)) {\n this.RT_TAXCODE = data().deepCopy(fields()[62].schema(), other.RT_TAXCODE);\n fieldSetFlags()[62] = true;\n }\n if (isValidValue(fields()[63], other._BIC_ZOPK0047)) {\n this._BIC_ZOPK0047 = data().deepCopy(fields()[63].schema(), other._BIC_ZOPK0047);\n fieldSetFlags()[63] = true;\n }\n if (isValidValue(fields()[64], other._BIC_ZOPC0055)) {\n this._BIC_ZOPC0055 = data().deepCopy(fields()[64].schema(), other._BIC_ZOPC0055);\n fieldSetFlags()[64] = true;\n }\n }", "title": "" } ]
[ { "docid": "c247d6e0c561586e118d5ab55fcf9846", "score": "0.80190915", "text": "public static Builder newBuilder(AutoGeneratedSchema other) {\n return new Builder(other);\n }", "title": "" }, { "docid": "fb28ac4d9d096b25c5cbe8bc4afeddb7", "score": "0.7247073", "text": "private Builder() {\n super(AutoGeneratedSchema.SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.6475458", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.6475458", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.6475458", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.6475458", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.6475458", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.6475458", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.6475458", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.6475458", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.6475458", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.6475458", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.6475458", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.6475458", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.6475458", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.6475458", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.6475458", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.6475458", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.6475458", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.6475458", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.6475458", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.6475458", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.6475458", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d3672b98830aa0dbb37dd6ee6a0cb8b", "score": "0.6413816", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "ea9bb793b4077e6bc5496c8d5fcb003b", "score": "0.6369721", "text": "public AutoGeneratedSchema() {}", "title": "" }, { "docid": "1a1d379d487ff8157f4911aa26a1a7d1", "score": "0.6129516", "text": "private Builder() {\n super(com.bbn.tc.schema.avro.TCCDMDatum.SCHEMA$);\n }", "title": "" }, { "docid": "c1fb0a6c9c94ddf7f9feff08f088acfb", "score": "0.61093944", "text": "private Builder() {\n super(jesg.avro.Pair.SCHEMA$);\n }", "title": "" }, { "docid": "385972999e72196e8e755c02875d43d2", "score": "0.5966381", "text": "private Builder() {\n super(tr.com.siparis.sistemi.kafka.model.Masa.SCHEMA$);\n }", "title": "" }, { "docid": "0979a40f89f9f1c7ac4e67b38a79a56e", "score": "0.59357613", "text": "private Builder() {\n super(graphene.model.idl.G_Service.SCHEMA$);\n }", "title": "" }, { "docid": "a45ead1f03eee3e74a94fbcac90a9f5b", "score": "0.5903236", "text": "private Builder() {\n super(com.pacbio.common.models.pipelines.InBinding.SCHEMA$);\n }", "title": "" }, { "docid": "b0ca5c4f94e8de6d26c871914890668f", "score": "0.5838493", "text": "public BatchSchemaBuilder(BatchSchema baseSchema) {\n schemaBuilder = new SchemaBuilder();\n for (MaterializedField field : baseSchema) {\n schemaBuilder.add(field);\n }\n }", "title": "" }, { "docid": "01ea4116b224ae434a100d48c51054b3", "score": "0.5793379", "text": "public abstract Builder toBuilder();", "title": "" }, { "docid": "01ea4116b224ae434a100d48c51054b3", "score": "0.5793379", "text": "public abstract Builder toBuilder();", "title": "" }, { "docid": "00e2940cdc4a72c80fca691121d4748c", "score": "0.5691739", "text": "private Builder() {\n super(org.ga4gh.models.Allele.SCHEMA$);\n }", "title": "" }, { "docid": "5588df52dfcc308bfde3127068b741da", "score": "0.56287307", "text": "private Builder(com.prime.avro.document.DocumentImpl other) {\n super(SCHEMA$);\n if (isValidValue(fields()[0], other._id)) {\n this._id = data().deepCopy(fields()[0].schema(), other._id);\n fieldSetFlags()[0] = true;\n }\n if (isValidValue(fields()[1], other.title)) {\n this.title = data().deepCopy(fields()[1].schema(), other.title);\n fieldSetFlags()[1] = true;\n }\n }", "title": "" }, { "docid": "9fe0b4da82b94b03b6ee512113c01310", "score": "0.54682094", "text": "public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchema.Builder getTableSchemaBuilder() {\n bitField0_ |= 0x00000001;\n onChanged();\n return getTableSchemaFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "7e9c482e1a3c4221595d63cbf4e6ee8d", "score": "0.5411262", "text": "private Builder(Builder other) {\n super(other);\n if (isValidValue(fields()[0], other.table)) {\n this.table = data().deepCopy(fields()[0].schema(), other.table);\n fieldSetFlags()[0] = true;\n }\n if (isValidValue(fields()[1], other.unixTime)) {\n this.unixTime = data().deepCopy(fields()[1].schema(), other.unixTime);\n fieldSetFlags()[1] = true;\n }\n }", "title": "" }, { "docid": "b5b676023456604a67fb2da1a51db187", "score": "0.5407268", "text": "WithCreate withInputSchema(InputSchema inputSchema);", "title": "" }, { "docid": "0d784a685f098b65f8275a700353003f", "score": "0.5398804", "text": "WithCreate withInputSchemaMapping(InputSchemaMapping inputSchemaMapping);", "title": "" }, { "docid": "f55231f34da911602ec3a6ebf932fe40", "score": "0.5386725", "text": "private Builder() {\n\t\t\tsuper(\n\t\t\t\t\tmil.nga.giat.geowave.format.nyctlc.avro.NYCTLCEntry.SCHEMA$);\n\t\t}", "title": "" }, { "docid": "4f5a1e0f3117f6d3fbeb063955970dda", "score": "0.53807485", "text": "public abstract BuilderType clone();", "title": "" }, { "docid": "4f5a1e0f3117f6d3fbeb063955970dda", "score": "0.53807485", "text": "public abstract BuilderType clone();", "title": "" }, { "docid": "75250a9eb70770156a3e2cd86b55d1c3", "score": "0.5355375", "text": "public Builder toBuilder() {\n return new Builder(this);\n }", "title": "" }, { "docid": "75250a9eb70770156a3e2cd86b55d1c3", "score": "0.5355375", "text": "public Builder toBuilder() {\n return new Builder(this);\n }", "title": "" }, { "docid": "75250a9eb70770156a3e2cd86b55d1c3", "score": "0.5355375", "text": "public Builder toBuilder() {\n return new Builder(this);\n }", "title": "" }, { "docid": "75250a9eb70770156a3e2cd86b55d1c3", "score": "0.5355375", "text": "public Builder toBuilder() {\n return new Builder(this);\n }", "title": "" }, { "docid": "75250a9eb70770156a3e2cd86b55d1c3", "score": "0.5355375", "text": "public Builder toBuilder() {\n return new Builder(this);\n }", "title": "" }, { "docid": "75250a9eb70770156a3e2cd86b55d1c3", "score": "0.5355375", "text": "public Builder toBuilder() {\n return new Builder(this);\n }", "title": "" }, { "docid": "75250a9eb70770156a3e2cd86b55d1c3", "score": "0.5355375", "text": "public Builder toBuilder() {\n return new Builder(this);\n }", "title": "" }, { "docid": "75250a9eb70770156a3e2cd86b55d1c3", "score": "0.5355375", "text": "public Builder toBuilder() {\n return new Builder(this);\n }", "title": "" }, { "docid": "75250a9eb70770156a3e2cd86b55d1c3", "score": "0.5355375", "text": "public Builder toBuilder() {\n return new Builder(this);\n }", "title": "" }, { "docid": "d2a1dcdc1e9b25e918926fcfdd244a55", "score": "0.5335864", "text": "public Builder() {}", "title": "" }, { "docid": "d2a1dcdc1e9b25e918926fcfdd244a55", "score": "0.5335864", "text": "public Builder() {}", "title": "" }, { "docid": "d2a1dcdc1e9b25e918926fcfdd244a55", "score": "0.5335864", "text": "public Builder() {}", "title": "" }, { "docid": "70a8dfed31a6d286b8779bc3611c6197", "score": "0.53111416", "text": "public static Builder create() {\n\t\treturn new Builder();\n\t}", "title": "" }, { "docid": "a7af45cb1c8d5abfedc127b0d29ca4d1", "score": "0.530252", "text": "public void createSchema() {\n }", "title": "" }, { "docid": "0f900879baa81520377c93dcebe45235", "score": "0.52957714", "text": "private Builder() {\n super(sparqles.avro.analytics.DiscoverabilityView.SCHEMA$);\n }", "title": "" }, { "docid": "6484e2fb7a2f06828de5adccd7dab04d", "score": "0.5295672", "text": "protected Builder() {}", "title": "" }, { "docid": "6484e2fb7a2f06828de5adccd7dab04d", "score": "0.5295672", "text": "protected Builder() {}", "title": "" }, { "docid": "857b8dd93d7bd04b2090e794ae27407d", "score": "0.5290489", "text": "private Builder() {\n super(edu.berkeley.path.model_elements_base.VelocityMap.SCHEMA$);\n }", "title": "" }, { "docid": "9ce75ac228d0fb1739b308140af92337", "score": "0.52739537", "text": "public Builder defineViaAnnotations (final Object object)\n {\n Objects.requireNonNull(object, \"object\");\n Objects.requireNonNull(instance, \"build() was already called.\");\n instance.schema.defineViaReflection(object);\n return this;\n }", "title": "" }, { "docid": "a015b63692a07ee57265c63ec9c35e2a", "score": "0.52669454", "text": "public static SimpleColumnDefinition.Builder builder() {\n return new SimpleColumnDefinition.Builder();\n }", "title": "" }, { "docid": "6ef169161a6b49fb03f03bb7afe863e0", "score": "0.52614605", "text": "public static Builder create() {\n return new Builder();\n }", "title": "" }, { "docid": "c1bab0c1d4f7d5728b3fabba8bc0ad22", "score": "0.5254169", "text": "private Builder(auto.ria.core.CarAvro other) {\n super(SCHEMA$);\n if (isValidValue(fields()[0], other.id)) {\n this.id = data().deepCopy(fields()[0].schema(), other.id);\n fieldSetFlags()[0] = true;\n }\n if (isValidValue(fields()[1], other.addDate)) {\n this.addDate = data().deepCopy(fields()[1].schema(), other.addDate);\n fieldSetFlags()[1] = true;\n }\n if (isValidValue(fields()[2], other.brandId)) {\n this.brandId = data().deepCopy(fields()[2].schema(), other.brandId);\n fieldSetFlags()[2] = true;\n }\n if (isValidValue(fields()[3], other.brand)) {\n this.brand = data().deepCopy(fields()[3].schema(), other.brand);\n fieldSetFlags()[3] = true;\n }\n if (isValidValue(fields()[4], other.modelId)) {\n this.modelId = data().deepCopy(fields()[4].schema(), other.modelId);\n fieldSetFlags()[4] = true;\n }\n if (isValidValue(fields()[5], other.model)) {\n this.model = data().deepCopy(fields()[5].schema(), other.model);\n fieldSetFlags()[5] = true;\n }\n if (isValidValue(fields()[6], other.title)) {\n this.title = data().deepCopy(fields()[6].schema(), other.title);\n fieldSetFlags()[6] = true;\n }\n if (isValidValue(fields()[7], other.desc)) {\n this.desc = data().deepCopy(fields()[7].schema(), other.desc);\n fieldSetFlags()[7] = true;\n }\n if (isValidValue(fields()[8], other.priceUsd)) {\n this.priceUsd = data().deepCopy(fields()[8].schema(), other.priceUsd);\n fieldSetFlags()[8] = true;\n }\n if (isValidValue(fields()[9], other.year)) {\n this.year = data().deepCopy(fields()[9].schema(), other.year);\n fieldSetFlags()[9] = true;\n }\n if (isValidValue(fields()[10], other.link)) {\n this.link = data().deepCopy(fields()[10].schema(), other.link);\n fieldSetFlags()[10] = true;\n }\n if (isValidValue(fields()[11], other.fuelId)) {\n this.fuelId = data().deepCopy(fields()[11].schema(), other.fuelId);\n fieldSetFlags()[11] = true;\n }\n if (isValidValue(fields()[12], other.fuel)) {\n this.fuel = data().deepCopy(fields()[12].schema(), other.fuel);\n fieldSetFlags()[12] = true;\n }\n if (isValidValue(fields()[13], other.gearBoxId)) {\n this.gearBoxId = data().deepCopy(fields()[13].schema(), other.gearBoxId);\n fieldSetFlags()[13] = true;\n }\n if (isValidValue(fields()[14], other.gearBox)) {\n this.gearBox = data().deepCopy(fields()[14].schema(), other.gearBox);\n fieldSetFlags()[14] = true;\n }\n if (isValidValue(fields()[15], other.driveId)) {\n this.driveId = data().deepCopy(fields()[15].schema(), other.driveId);\n fieldSetFlags()[15] = true;\n }\n if (isValidValue(fields()[16], other.drive)) {\n this.drive = data().deepCopy(fields()[16].schema(), other.drive);\n fieldSetFlags()[16] = true;\n }\n if (isValidValue(fields()[17], other.location)) {\n this.location = data().deepCopy(fields()[17].schema(), other.location);\n fieldSetFlags()[17] = true;\n }\n if (isValidValue(fields()[18], other.region)) {\n this.region = data().deepCopy(fields()[18].schema(), other.region);\n fieldSetFlags()[18] = true;\n }\n if (isValidValue(fields()[19], other.race)) {\n this.race = data().deepCopy(fields()[19].schema(), other.race);\n fieldSetFlags()[19] = true;\n }\n if (isValidValue(fields()[20], other.raceInt)) {\n this.raceInt = data().deepCopy(fields()[20].schema(), other.raceInt);\n fieldSetFlags()[20] = true;\n }\n }", "title": "" }, { "docid": "36c72c4d215a486138c43de28fb43205", "score": "0.52411956", "text": "private com.google.protobuf.SingleFieldBuilder<\n org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchema, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchema.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchemaOrBuilder> \n getTableSchemaFieldBuilder() {\n if (tableSchemaBuilder_ == null) {\n tableSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilder<\n org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchema, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchema.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchemaOrBuilder>(\n tableSchema_,\n getParentForChildren(),\n isClean());\n tableSchema_ = null;\n }\n return tableSchemaBuilder_;\n }", "title": "" }, { "docid": "bc044680e225eadeff6adcf502ef3435", "score": "0.5237354", "text": "private Builder(com.prime.avro.document.DocumentImpl.Builder other) {\n super(other);\n if (isValidValue(fields()[0], other._id)) {\n this._id = data().deepCopy(fields()[0].schema(), other._id);\n fieldSetFlags()[0] = true;\n }\n if (isValidValue(fields()[1], other.title)) {\n this.title = data().deepCopy(fields()[1].schema(), other.title);\n fieldSetFlags()[1] = true;\n }\n }", "title": "" }, { "docid": "5d13e84c2e129da6cded9cfcdbb2c974", "score": "0.5235707", "text": "@Override\n public void createSchema() {\n }", "title": "" }, { "docid": "a353e025a91cd4dc0c8c5d8c21a86fd3", "score": "0.52295214", "text": "public static Builder newInstance() {\n return new Builder();\n }", "title": "" }, { "docid": "6ef541f7427509183f9b59712477a033", "score": "0.52003956", "text": "public static Builder newBuilder(Builder other) {\n return new Builder(other);\n }", "title": "" }, { "docid": "6ef541f7427509183f9b59712477a033", "score": "0.52003956", "text": "public static Builder newBuilder(Builder other) {\n return new Builder(other);\n }", "title": "" }, { "docid": "569c85bed8ec1e7c32ef54223d6642a2", "score": "0.5197011", "text": "public static com.prime.avro.document.DocumentImpl.Builder newBuilder(com.prime.avro.document.DocumentImpl.Builder other) {\n return new com.prime.avro.document.DocumentImpl.Builder(other);\n }", "title": "" }, { "docid": "69d0716906770cdcfaf084ddfab6368d", "score": "0.51950324", "text": "public static Builder newBuilder(){\n return new Builder();\n }", "title": "" }, { "docid": "d7e68c09c07667a8024d790f601cc139", "score": "0.5190854", "text": "public static com.prime.avro.document.DocumentImpl.Builder newBuilder() {\n return new com.prime.avro.document.DocumentImpl.Builder();\n }", "title": "" }, { "docid": "19eb946ac819da03893c730192434cc4", "score": "0.517656", "text": "public Builder() { }", "title": "" }, { "docid": "19eb946ac819da03893c730192434cc4", "score": "0.517656", "text": "public Builder() { }", "title": "" }, { "docid": "e100405c8e8bfc0a3aa88684cc8d5737", "score": "0.51738834", "text": "public static Builder newBuilder() {\n return Builder.createDefault();\n }", "title": "" }, { "docid": "e100405c8e8bfc0a3aa88684cc8d5737", "score": "0.51738834", "text": "public static Builder newBuilder() {\n return Builder.createDefault();\n }", "title": "" }, { "docid": "e100405c8e8bfc0a3aa88684cc8d5737", "score": "0.51738834", "text": "public static Builder newBuilder() {\n return Builder.createDefault();\n }", "title": "" }, { "docid": "e100405c8e8bfc0a3aa88684cc8d5737", "score": "0.51738834", "text": "public static Builder newBuilder() {\n return Builder.createDefault();\n }", "title": "" }, { "docid": "e100405c8e8bfc0a3aa88684cc8d5737", "score": "0.51738834", "text": "public static Builder newBuilder() {\n return Builder.createDefault();\n }", "title": "" }, { "docid": "ae6ece0201abf8c949deba8b8f73a5db", "score": "0.515076", "text": "public static DocumentBuilder getBuilder() {\n DocumentBuilder builder = REUSABLE_BUILDER.get();\n builder.reset();\n return builder;\n }", "title": "" }, { "docid": "3addeab30df45b4f25a2c6d884756a60", "score": "0.5137036", "text": "public SexprSchema build ()\n {\n final SexprSchema result = instance;\n instance = null;\n result.schema.validate();\n return result;\n }", "title": "" }, { "docid": "808fa4e6f99a89ca676c2c55a346aaa6", "score": "0.51328367", "text": "public static Builder newBuilder() { return new Builder(); }", "title": "" }, { "docid": "e83b00369f3a5204dc69c8b554591cac", "score": "0.50962603", "text": "private Builder(auto.ria.core.CarAvro.Builder other) {\n super(other);\n if (isValidValue(fields()[0], other.id)) {\n this.id = data().deepCopy(fields()[0].schema(), other.id);\n fieldSetFlags()[0] = other.fieldSetFlags()[0];\n }\n if (isValidValue(fields()[1], other.addDate)) {\n this.addDate = data().deepCopy(fields()[1].schema(), other.addDate);\n fieldSetFlags()[1] = other.fieldSetFlags()[1];\n }\n if (isValidValue(fields()[2], other.brandId)) {\n this.brandId = data().deepCopy(fields()[2].schema(), other.brandId);\n fieldSetFlags()[2] = other.fieldSetFlags()[2];\n }\n if (isValidValue(fields()[3], other.brand)) {\n this.brand = data().deepCopy(fields()[3].schema(), other.brand);\n fieldSetFlags()[3] = other.fieldSetFlags()[3];\n }\n if (isValidValue(fields()[4], other.modelId)) {\n this.modelId = data().deepCopy(fields()[4].schema(), other.modelId);\n fieldSetFlags()[4] = other.fieldSetFlags()[4];\n }\n if (isValidValue(fields()[5], other.model)) {\n this.model = data().deepCopy(fields()[5].schema(), other.model);\n fieldSetFlags()[5] = other.fieldSetFlags()[5];\n }\n if (isValidValue(fields()[6], other.title)) {\n this.title = data().deepCopy(fields()[6].schema(), other.title);\n fieldSetFlags()[6] = other.fieldSetFlags()[6];\n }\n if (isValidValue(fields()[7], other.desc)) {\n this.desc = data().deepCopy(fields()[7].schema(), other.desc);\n fieldSetFlags()[7] = other.fieldSetFlags()[7];\n }\n if (isValidValue(fields()[8], other.priceUsd)) {\n this.priceUsd = data().deepCopy(fields()[8].schema(), other.priceUsd);\n fieldSetFlags()[8] = other.fieldSetFlags()[8];\n }\n if (isValidValue(fields()[9], other.year)) {\n this.year = data().deepCopy(fields()[9].schema(), other.year);\n fieldSetFlags()[9] = other.fieldSetFlags()[9];\n }\n if (isValidValue(fields()[10], other.link)) {\n this.link = data().deepCopy(fields()[10].schema(), other.link);\n fieldSetFlags()[10] = other.fieldSetFlags()[10];\n }\n if (isValidValue(fields()[11], other.fuelId)) {\n this.fuelId = data().deepCopy(fields()[11].schema(), other.fuelId);\n fieldSetFlags()[11] = other.fieldSetFlags()[11];\n }\n if (isValidValue(fields()[12], other.fuel)) {\n this.fuel = data().deepCopy(fields()[12].schema(), other.fuel);\n fieldSetFlags()[12] = other.fieldSetFlags()[12];\n }\n if (isValidValue(fields()[13], other.gearBoxId)) {\n this.gearBoxId = data().deepCopy(fields()[13].schema(), other.gearBoxId);\n fieldSetFlags()[13] = other.fieldSetFlags()[13];\n }\n if (isValidValue(fields()[14], other.gearBox)) {\n this.gearBox = data().deepCopy(fields()[14].schema(), other.gearBox);\n fieldSetFlags()[14] = other.fieldSetFlags()[14];\n }\n if (isValidValue(fields()[15], other.driveId)) {\n this.driveId = data().deepCopy(fields()[15].schema(), other.driveId);\n fieldSetFlags()[15] = other.fieldSetFlags()[15];\n }\n if (isValidValue(fields()[16], other.drive)) {\n this.drive = data().deepCopy(fields()[16].schema(), other.drive);\n fieldSetFlags()[16] = other.fieldSetFlags()[16];\n }\n if (isValidValue(fields()[17], other.location)) {\n this.location = data().deepCopy(fields()[17].schema(), other.location);\n fieldSetFlags()[17] = other.fieldSetFlags()[17];\n }\n if (isValidValue(fields()[18], other.region)) {\n this.region = data().deepCopy(fields()[18].schema(), other.region);\n fieldSetFlags()[18] = other.fieldSetFlags()[18];\n }\n if (isValidValue(fields()[19], other.race)) {\n this.race = data().deepCopy(fields()[19].schema(), other.race);\n fieldSetFlags()[19] = other.fieldSetFlags()[19];\n }\n if (isValidValue(fields()[20], other.raceInt)) {\n this.raceInt = data().deepCopy(fields()[20].schema(), other.raceInt);\n fieldSetFlags()[20] = other.fieldSetFlags()[20];\n }\n }", "title": "" }, { "docid": "509f831d91ba2e2b5cff64fb77ed8c32", "score": "0.50784963", "text": "private Builder() {\n super(org.apache.spark.streaming.flume.sink.SparkSinkEvent.SCHEMA$);\n }", "title": "" }, { "docid": "2d4c64c972d4b3adb1e07ccf3cb91548", "score": "0.5075992", "text": "private Builder() {}", "title": "" }, { "docid": "2d4c64c972d4b3adb1e07ccf3cb91548", "score": "0.5075992", "text": "private Builder() {}", "title": "" }, { "docid": "f7922b2a570858e5a306cd31d05be32d", "score": "0.50697005", "text": "public static Builder newBuilder() {\n return new Builder();\n }", "title": "" }, { "docid": "f7922b2a570858e5a306cd31d05be32d", "score": "0.50697005", "text": "public static Builder newBuilder() {\n return new Builder();\n }", "title": "" }, { "docid": "f7922b2a570858e5a306cd31d05be32d", "score": "0.50697005", "text": "public static Builder newBuilder() {\n return new Builder();\n }", "title": "" }, { "docid": "f7922b2a570858e5a306cd31d05be32d", "score": "0.50697005", "text": "public static Builder newBuilder() {\n return new Builder();\n }", "title": "" }, { "docid": "f7922b2a570858e5a306cd31d05be32d", "score": "0.50697005", "text": "public static Builder newBuilder() {\n return new Builder();\n }", "title": "" }, { "docid": "5673a1f94ce79bfc61ad584e58f8167f", "score": "0.5067872", "text": "private Builder() {\n super(Gel_BioInf_Models.ConsentStatus.SCHEMA$);\n }", "title": "" }, { "docid": "5fb91bed23fa4d8d5d24e760c3a7b1b0", "score": "0.50596684", "text": "public Builder clearRecordSchemaUrl() {\n \n recordSchemaUrl_ = getDefaultInstance().getRecordSchemaUrl();\n onChanged();\n return this;\n }", "title": "" }, { "docid": "14e2afd8798c8af348b7cffc613f65a4", "score": "0.50593084", "text": "DatatypeBuilder getBuilder(ANY value) throws FactoryException;", "title": "" }, { "docid": "154291fb94210b5350ffc5ff8de2b238", "score": "0.5056985", "text": "public static Builder newBuilder() {\n return new Builder();\n }", "title": "" }, { "docid": "154291fb94210b5350ffc5ff8de2b238", "score": "0.5056985", "text": "public static Builder newBuilder() {\n return new Builder();\n }", "title": "" }, { "docid": "154291fb94210b5350ffc5ff8de2b238", "score": "0.5056985", "text": "public static Builder newBuilder() {\n return new Builder();\n }", "title": "" }, { "docid": "a1f2de8253a5e7ee9fabe508f8a27e73", "score": "0.5056586", "text": "public static Builder builder() {\n return new Builder();\n }", "title": "" }, { "docid": "a1f2de8253a5e7ee9fabe508f8a27e73", "score": "0.5056586", "text": "public static Builder builder() {\n return new Builder();\n }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "9f1c9d7bb1c7f4a1261ae13e637a73b1", "score": "0.0", "text": "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tstate3 = -state3;\n\t\t\t\tif (state3 == 1) {\n\t\t\t\t\tled3.setBackgroundResource(R.drawable.windowl2);\n\t\t\t\t\tLED3 = 1;\n\t\t\t\t}\n\t\t\t\tif (state3 == -1) {\n\t\t\t\t\tled3.setBackgroundResource(R.drawable.windowl1);\n\t\t\t\t\tLED3 = 0;\n\t\t\t\t}\n\t\t\t\twhile (flag == 1)\n\t\t\t\t\t;\n\t\t\t\tnew Thread(new sendThread()).start();\n\t\t\t\tflag = 1;\n\t\t\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": "" } ]
a4035b76077efdb6390151be313d85a1
$ANTLR end "rule__XSwitchExpression__Group__2__Impl" $ANTLR start "rule__XSwitchExpression__Group__3" ../org.xtext.example.helloxbase.ui/srcgen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8157:1: rule__XSwitchExpression__Group__3 : rule__XSwitchExpression__Group__3__Impl rule__XSwitchExpression__Group__4 ;
[ { "docid": "50ad1cb209dbc980bc4d4bed850cf7c8", "score": "0.8130293", "text": "public final void rule__XSwitchExpression__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8161:1: ( rule__XSwitchExpression__Group__3__Impl rule__XSwitchExpression__Group__4 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8162:2: rule__XSwitchExpression__Group__3__Impl rule__XSwitchExpression__Group__4\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__3__Impl_in_rule__XSwitchExpression__Group__316683);\n rule__XSwitchExpression__Group__3__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__4_in_rule__XSwitchExpression__Group__316686);\n rule__XSwitchExpression__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": "1db083798dacc22f2c025ff68ef13d30", "score": "0.79777443", "text": "public final void rule__XSwitchExpression__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8132:1: ( rule__XSwitchExpression__Group__2__Impl rule__XSwitchExpression__Group__3 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8133:2: rule__XSwitchExpression__Group__2__Impl rule__XSwitchExpression__Group__3\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__2__Impl_in_rule__XSwitchExpression__Group__216623);\n rule__XSwitchExpression__Group__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__3_in_rule__XSwitchExpression__Group__216626);\n rule__XSwitchExpression__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": "455cb1ddd9ae3b65ee3ed9e4763b195a", "score": "0.7780476", "text": "public final void rule__XSwitchExpression__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10058:1: ( rule__XSwitchExpression__Group__3__Impl rule__XSwitchExpression__Group__4 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10059:2: rule__XSwitchExpression__Group__3__Impl rule__XSwitchExpression__Group__4\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__3__Impl_in_rule__XSwitchExpression__Group__320504);\n rule__XSwitchExpression__Group__3__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__4_in_rule__XSwitchExpression__Group__320507);\n rule__XSwitchExpression__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": "0dac3e49a86acc014816c8f83539d0b3", "score": "0.7645933", "text": "public final void rule__XSwitchExpression__Group_2_1_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8560:1: ( ( ( rule__XSwitchExpression__Group_2_1_0_0__0 ) ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8561:1: ( ( rule__XSwitchExpression__Group_2_1_0_0__0 ) )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8561:1: ( ( rule__XSwitchExpression__Group_2_1_0_0__0 ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8562:1: ( rule__XSwitchExpression__Group_2_1_0_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0_0()); \n }\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8563:1: ( rule__XSwitchExpression__Group_2_1_0_0__0 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8563:2: rule__XSwitchExpression__Group_2_1_0_0__0\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__0_in_rule__XSwitchExpression__Group_2_1_0__0__Impl17472);\n rule__XSwitchExpression__Group_2_1_0_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_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": "e60d2204fd7439388bd90570c7bfb831", "score": "0.76284957", "text": "public final void rule__XSwitchExpression__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8113:1: ( ( 'switch' ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8114:1: ( 'switch' )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8114:1: ( 'switch' )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8115:1: 'switch'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getSwitchKeyword_1()); \n }\n match(input,56,FOLLOW_56_in_rule__XSwitchExpression__Group__1__Impl16592); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getSwitchKeyword_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": "08a0695edb11c1bae8171ffe93584409", "score": "0.76181006", "text": "public final void rule__XSwitchExpression__Group_2_0_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8373:1: ( ( ( rule__XSwitchExpression__Group_2_0_0_0__0 ) ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8374:1: ( ( rule__XSwitchExpression__Group_2_0_0_0__0 ) )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8374:1: ( ( rule__XSwitchExpression__Group_2_0_0_0__0 ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8375:1: ( rule__XSwitchExpression__Group_2_0_0_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0_0()); \n }\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8376:1: ( rule__XSwitchExpression__Group_2_0_0_0__0 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8376:2: rule__XSwitchExpression__Group_2_0_0_0__0\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0_0__0_in_rule__XSwitchExpression__Group_2_0_0__0__Impl17105);\n rule__XSwitchExpression__Group_2_0_0_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_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": "435172dfad0cb30f926f5981682437c8", "score": "0.76054484", "text": "public final void rule__XSwitchExpression__Group_2_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8313:1: ( ( ( rule__XSwitchExpression__Group_2_0_0__0 )? ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8314:1: ( ( rule__XSwitchExpression__Group_2_0_0__0 )? )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8314:1: ( ( rule__XSwitchExpression__Group_2_0_0__0 )? )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8315:1: ( rule__XSwitchExpression__Group_2_0_0__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0()); \n }\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8316:1: ( rule__XSwitchExpression__Group_2_0_0__0 )?\n int alt64=2;\n int LA64_0 = input.LA(1);\n\n if ( (LA64_0==RULE_ID) ) {\n int LA64_1 = input.LA(2);\n\n if ( (LA64_1==59) ) {\n alt64=1;\n }\n }\n switch (alt64) {\n case 1 :\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8316:2: rule__XSwitchExpression__Group_2_0_0__0\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0__0_in_rule__XSwitchExpression__Group_2_0__0__Impl16986);\n rule__XSwitchExpression__Group_2_0_0__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.getXSwitchExpressionAccess().getGroup_2_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": "1f488a9d6bd4e08da9b5b2b2fb41eb12", "score": "0.7584204", "text": "public final void rule__XSwitchExpression__Group_2_1__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8467:1: ( ( ( rule__XSwitchExpression__Group_2_1_0__0 ) ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8468:1: ( ( rule__XSwitchExpression__Group_2_1_0__0 ) )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8468:1: ( ( rule__XSwitchExpression__Group_2_1_0__0 ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8469:1: ( rule__XSwitchExpression__Group_2_1_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0()); \n }\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8470:1: ( rule__XSwitchExpression__Group_2_1_0__0 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8470:2: rule__XSwitchExpression__Group_2_1_0__0\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0__0_in_rule__XSwitchExpression__Group_2_1__0__Impl17290);\n rule__XSwitchExpression__Group_2_1_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_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": "cf9a18dba7a8266a2b95359d1823b658", "score": "0.75136983", "text": "public final void ruleXSwitchExpression() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:950:2: ( ( ( rule__XSwitchExpression__Group__0 ) ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:951:1: ( ( rule__XSwitchExpression__Group__0 ) )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:951:1: ( ( rule__XSwitchExpression__Group__0 ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:952:1: ( rule__XSwitchExpression__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getGroup()); \n }\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:953:1: ( rule__XSwitchExpression__Group__0 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:953:2: rule__XSwitchExpression__Group__0\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__0_in_ruleXSwitchExpression1967);\n rule__XSwitchExpression__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().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": "c3116b1121a578ad47fd502d6d48e457", "score": "0.75058156", "text": "public final void rule__XSwitchExpression__Group_2_0_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8421:1: ( rule__XSwitchExpression__Group_2_0_0_0__1__Impl )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8422:2: rule__XSwitchExpression__Group_2_0_0_0__1__Impl\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0_0__1__Impl_in_rule__XSwitchExpression__Group_2_0_0_0__117197);\n rule__XSwitchExpression__Group_2_0_0_0__1__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": "75e11b8da6dd1eb3d96772e66acd0b58", "score": "0.7499155", "text": "public final void rule__XSwitchExpression__Group_2_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8330:1: ( rule__XSwitchExpression__Group_2_0__1__Impl )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8331:2: rule__XSwitchExpression__Group_2_0__1__Impl\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0__1__Impl_in_rule__XSwitchExpression__Group_2_0__117017);\n rule__XSwitchExpression__Group_2_0__1__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": "7d85643d578495334ba03be730244b2d", "score": "0.748703", "text": "public final void rule__XSwitchExpression__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10029:1: ( rule__XSwitchExpression__Group__2__Impl rule__XSwitchExpression__Group__3 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10030:2: rule__XSwitchExpression__Group__2__Impl rule__XSwitchExpression__Group__3\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__2__Impl_in_rule__XSwitchExpression__Group__220444);\n rule__XSwitchExpression__Group__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__3_in_rule__XSwitchExpression__Group__220447);\n rule__XSwitchExpression__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": "08ae0c48338ab8b0f2607f70f13b5c8a", "score": "0.7473362", "text": "public final void rule__XSwitchExpression__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8101:1: ( rule__XSwitchExpression__Group__1__Impl rule__XSwitchExpression__Group__2 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8102:2: rule__XSwitchExpression__Group__1__Impl rule__XSwitchExpression__Group__2\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__1__Impl_in_rule__XSwitchExpression__Group__116561);\n rule__XSwitchExpression__Group__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__2_in_rule__XSwitchExpression__Group__116564);\n rule__XSwitchExpression__Group__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": "182003120ac9ebd49a927e31b3d38ec3", "score": "0.74272895", "text": "public final void rule__XSwitchExpression__Group__6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8257:1: ( rule__XSwitchExpression__Group__6__Impl )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8258:2: rule__XSwitchExpression__Group__6__Impl\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__6__Impl_in_rule__XSwitchExpression__Group__616883);\n rule__XSwitchExpression__Group__6__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": "6f4075bc342833a50b0746d0c6ab910d", "score": "0.7401459", "text": "public final void rule__XSwitchExpression__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8082:1: ( ( () ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8083:1: ( () )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8083:1: ( () )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8084:1: ()\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getXSwitchExpressionAction_0()); \n }\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8085:1: ()\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8087:1: \n {\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getXSwitchExpressionAction_0()); \n }\n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "f77cf7c9c10eeaab501fe1bf1716dea9", "score": "0.73847014", "text": "public final void rule__XSwitchExpression__Group_2_1_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8549:1: ( rule__XSwitchExpression__Group_2_1_0__0__Impl )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8550:2: rule__XSwitchExpression__Group_2_1_0__0__Impl\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0__0__Impl_in_rule__XSwitchExpression__Group_2_1_0__017445);\n rule__XSwitchExpression__Group_2_1_0__0__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": "5e1118e349445b84cef15d6245f874dd", "score": "0.7382622", "text": "public final void rule__XSwitchExpression__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8070:1: ( rule__XSwitchExpression__Group__0__Impl rule__XSwitchExpression__Group__1 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8071:2: rule__XSwitchExpression__Group__0__Impl rule__XSwitchExpression__Group__1\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__0__Impl_in_rule__XSwitchExpression__Group__016500);\n rule__XSwitchExpression__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__1_in_rule__XSwitchExpression__Group__016503);\n rule__XSwitchExpression__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": "90b56b527178ce6907f834f4597dd885", "score": "0.7372907", "text": "public final void rule__XSwitchExpression__Group_2_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8455:1: ( rule__XSwitchExpression__Group_2_1__0__Impl rule__XSwitchExpression__Group_2_1__1 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8456:2: rule__XSwitchExpression__Group_2_1__0__Impl rule__XSwitchExpression__Group_2_1__1\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__0__Impl_in_rule__XSwitchExpression__Group_2_1__017260);\n rule__XSwitchExpression__Group_2_1__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__1_in_rule__XSwitchExpression__Group_2_1__017263);\n rule__XSwitchExpression__Group_2_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": "88643bd2441db3d41546d138fc4ef5dd", "score": "0.7363507", "text": "public final void rule__XSwitchExpression__Group_2_1_0_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8591:1: ( ( '(' ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8592:1: ( '(' )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8592:1: ( '(' )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8593:1: '('\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getLeftParenthesisKeyword_2_1_0_0_0()); \n }\n match(input,53,FOLLOW_53_in_rule__XSwitchExpression__Group_2_1_0_0__0__Impl17535); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getLeftParenthesisKeyword_2_1_0_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": "425b5c407c2951d4e6e5a8d6c7dfdb1f", "score": "0.73600847", "text": "public final void rule__XSwitchExpression__Group_2_0_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8362:1: ( rule__XSwitchExpression__Group_2_0_0__0__Impl )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8363:2: rule__XSwitchExpression__Group_2_0_0__0__Impl\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0__0__Impl_in_rule__XSwitchExpression__Group_2_0_0__017078);\n rule__XSwitchExpression__Group_2_0_0__0__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": "e65104187cbfe23964de2422437f28d7", "score": "0.73483753", "text": "public final void rule__XSwitchExpression__Group_2_1_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8610:1: ( rule__XSwitchExpression__Group_2_1_0_0__1__Impl rule__XSwitchExpression__Group_2_1_0_0__2 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8611:2: rule__XSwitchExpression__Group_2_1_0_0__1__Impl rule__XSwitchExpression__Group_2_1_0_0__2\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__1__Impl_in_rule__XSwitchExpression__Group_2_1_0_0__117566);\n rule__XSwitchExpression__Group_2_1_0_0__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__2_in_rule__XSwitchExpression__Group_2_1_0_0__117569);\n rule__XSwitchExpression__Group_2_1_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": "145a04e23650de903470f199a3b18aa2", "score": "0.7338935", "text": "public final void rule__XSwitchExpression__Group_2_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8484:1: ( rule__XSwitchExpression__Group_2_1__1__Impl rule__XSwitchExpression__Group_2_1__2 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8485:2: rule__XSwitchExpression__Group_2_1__1__Impl rule__XSwitchExpression__Group_2_1__2\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__1__Impl_in_rule__XSwitchExpression__Group_2_1__117320);\n rule__XSwitchExpression__Group_2_1__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__2_in_rule__XSwitchExpression__Group_2_1__117323);\n rule__XSwitchExpression__Group_2_1__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": "ae0f48f4b9c90fa4d2201d1cd8ffd22d", "score": "0.73332864", "text": "public final void rule__XSwitchExpression__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10010:1: ( ( 'switch' ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10011:1: ( 'switch' )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10011:1: ( 'switch' )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10012:1: 'switch'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getSwitchKeyword_1()); \n }\n match(input,63,FOLLOW_63_in_rule__XSwitchExpression__Group__1__Impl20413); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getSwitchKeyword_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": "d01073b4276f328cfc9bac92534bf8d2", "score": "0.7333138", "text": "public final void rule__XSwitchExpression__Group_2_1_0_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8579:1: ( rule__XSwitchExpression__Group_2_1_0_0__0__Impl rule__XSwitchExpression__Group_2_1_0_0__1 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8580:2: rule__XSwitchExpression__Group_2_1_0_0__0__Impl rule__XSwitchExpression__Group_2_1_0_0__1\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__0__Impl_in_rule__XSwitchExpression__Group_2_1_0_0__017504);\n rule__XSwitchExpression__Group_2_1_0_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__1_in_rule__XSwitchExpression__Group_2_1_0_0__017507);\n rule__XSwitchExpression__Group_2_1_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": "b05cbc16ba19abdcf299419c6d015efd", "score": "0.73314935", "text": "public final void rule__XSwitchExpression__Group_2_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8301:1: ( rule__XSwitchExpression__Group_2_0__0__Impl rule__XSwitchExpression__Group_2_0__1 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8302:2: rule__XSwitchExpression__Group_2_0__0__Impl rule__XSwitchExpression__Group_2_0__1\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0__0__Impl_in_rule__XSwitchExpression__Group_2_0__016956);\n rule__XSwitchExpression__Group_2_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0__1_in_rule__XSwitchExpression__Group_2_0__016959);\n rule__XSwitchExpression__Group_2_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": "d3953f28f2ad9552dc50abf821c2d65f", "score": "0.7325332", "text": "public final void rule__XSwitchExpression__Group_2_1_0_0__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8639:1: ( rule__XSwitchExpression__Group_2_1_0_0__2__Impl )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8640:2: rule__XSwitchExpression__Group_2_1_0_0__2__Impl\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__2__Impl_in_rule__XSwitchExpression__Group_2_1_0_0__217626);\n rule__XSwitchExpression__Group_2_1_0_0__2__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": "79f320b0eeb68b731dd9e16df05b93df", "score": "0.7307192", "text": "public final void rule__XSwitchExpression__Group_2_0_0_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8392:1: ( rule__XSwitchExpression__Group_2_0_0_0__0__Impl rule__XSwitchExpression__Group_2_0_0_0__1 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8393:2: rule__XSwitchExpression__Group_2_0_0_0__0__Impl rule__XSwitchExpression__Group_2_0_0_0__1\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0_0__0__Impl_in_rule__XSwitchExpression__Group_2_0_0_0__017137);\n rule__XSwitchExpression__Group_2_0_0_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0_0__1_in_rule__XSwitchExpression__Group_2_0_0_0__017140);\n rule__XSwitchExpression__Group_2_0_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": "f95d1235d3c63a3d8995c6d565bc5b69", "score": "0.7274671", "text": "public final void rule__XSwitchExpression__Group__6__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8268:1: ( ( '}' ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8269:1: ( '}' )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8269:1: ( '}' )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8270:1: '}'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getRightCurlyBracketKeyword_6()); \n }\n match(input,58,FOLLOW_58_in_rule__XSwitchExpression__Group__6__Impl16911); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getRightCurlyBracketKeyword_6()); \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": "fcf3c74766b73bc870144e29a51ea8d6", "score": "0.72545266", "text": "public final void ruleXSwitchExpression() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:1258:2: ( ( ( rule__XSwitchExpression__Group__0 ) ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:1259:1: ( ( rule__XSwitchExpression__Group__0 ) )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:1259:1: ( ( rule__XSwitchExpression__Group__0 ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:1260:1: ( rule__XSwitchExpression__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getGroup()); \n }\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:1261:1: ( rule__XSwitchExpression__Group__0 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:1261:2: rule__XSwitchExpression__Group__0\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__0_in_ruleXSwitchExpression2627);\n rule__XSwitchExpression__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().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": "5004d7c6755cbe70dc03e8ee76bf8a33", "score": "0.7248756", "text": "public final void rule__XSwitchExpression__Group_2_1_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10457:1: ( ( ( rule__XSwitchExpression__Group_2_1_0_0__0 ) ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10458:1: ( ( rule__XSwitchExpression__Group_2_1_0_0__0 ) )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10458:1: ( ( rule__XSwitchExpression__Group_2_1_0_0__0 ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10459:1: ( rule__XSwitchExpression__Group_2_1_0_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0_0()); \n }\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10460:1: ( rule__XSwitchExpression__Group_2_1_0_0__0 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10460:2: rule__XSwitchExpression__Group_2_1_0_0__0\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__0_in_rule__XSwitchExpression__Group_2_1_0__0__Impl21293);\n rule__XSwitchExpression__Group_2_1_0_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_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": "3ea2757cf967e735dea51763690d18da", "score": "0.7243389", "text": "public final void rule__XSwitchExpression__Group_2_1__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8513:1: ( rule__XSwitchExpression__Group_2_1__2__Impl )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8514:2: rule__XSwitchExpression__Group_2_1__2__Impl\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__2__Impl_in_rule__XSwitchExpression__Group_2_1__217380);\n rule__XSwitchExpression__Group_2_1__2__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": "133e45c4a628faa0e39d68456561f873", "score": "0.7228828", "text": "public final void rule__XSwitchExpression__Group_2_1__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10364:1: ( ( ( rule__XSwitchExpression__Group_2_1_0__0 ) ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10365:1: ( ( rule__XSwitchExpression__Group_2_1_0__0 ) )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10365:1: ( ( rule__XSwitchExpression__Group_2_1_0__0 ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10366:1: ( rule__XSwitchExpression__Group_2_1_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1_0()); \n }\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10367:1: ( rule__XSwitchExpression__Group_2_1_0__0 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10367:2: rule__XSwitchExpression__Group_2_1_0__0\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0__0_in_rule__XSwitchExpression__Group_2_1__0__Impl21111);\n rule__XSwitchExpression__Group_2_1_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_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": "47f633337a850793686fa3e4d1e068e3", "score": "0.72034764", "text": "public final void rule__XSwitchExpression__Group_2_0_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10270:1: ( ( ( rule__XSwitchExpression__Group_2_0_0_0__0 ) ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10271:1: ( ( rule__XSwitchExpression__Group_2_0_0_0__0 ) )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10271:1: ( ( rule__XSwitchExpression__Group_2_0_0_0__0 ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10272:1: ( rule__XSwitchExpression__Group_2_0_0_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0_0()); \n }\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10273:1: ( rule__XSwitchExpression__Group_2_0_0_0__0 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10273:2: rule__XSwitchExpression__Group_2_0_0_0__0\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0_0__0_in_rule__XSwitchExpression__Group_2_0_0__0__Impl20926);\n rule__XSwitchExpression__Group_2_0_0_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_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": "39c0ea632ceea57c372f42fc45c5d51b", "score": "0.71887624", "text": "public final void rule__XSwitchExpression__Group_2_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10210:1: ( ( ( rule__XSwitchExpression__Group_2_0_0__0 )? ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10211:1: ( ( rule__XSwitchExpression__Group_2_0_0__0 )? )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10211:1: ( ( rule__XSwitchExpression__Group_2_0_0__0 )? )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10212:1: ( rule__XSwitchExpression__Group_2_0_0__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0_0()); \n }\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10213:1: ( rule__XSwitchExpression__Group_2_0_0__0 )?\n int alt77=2;\n int LA77_0 = input.LA(1);\n\n if ( (LA77_0==RULE_ID) ) {\n int LA77_1 = input.LA(2);\n\n if ( (LA77_1==49) ) {\n alt77=1;\n }\n }\n switch (alt77) {\n case 1 :\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10213:2: rule__XSwitchExpression__Group_2_0_0__0\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0__0_in_rule__XSwitchExpression__Group_2_0__0__Impl20807);\n rule__XSwitchExpression__Group_2_0_0__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.getXSwitchExpressionAccess().getGroup_2_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": "e3a896a850ed058858bbb10a1bad7380", "score": "0.7167583", "text": "public final void rule__XSwitchExpression__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8192:1: ( rule__XSwitchExpression__Group__4__Impl rule__XSwitchExpression__Group__5 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8193:2: rule__XSwitchExpression__Group__4__Impl rule__XSwitchExpression__Group__5\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__4__Impl_in_rule__XSwitchExpression__Group__416745);\n rule__XSwitchExpression__Group__4__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__5_in_rule__XSwitchExpression__Group__416748);\n rule__XSwitchExpression__Group__5();\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": "ddcebfb585768e08274c2cbaa1f493bc", "score": "0.7151496", "text": "public final void rule__XSwitchExpression__Group_2_1__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8524:1: ( ( ')' ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8525:1: ( ')' )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8525:1: ( ')' )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8526:1: ')'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getRightParenthesisKeyword_2_1_2()); \n }\n match(input,49,FOLLOW_49_in_rule__XSwitchExpression__Group_2_1__2__Impl17408); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getRightParenthesisKeyword_2_1_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": "0c680f63d6385b10a041d98f22c64e86", "score": "0.7149234", "text": "public final void rule__ExprSwitchStmt__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGo.g:7354:1: ( rule__ExprSwitchStmt__Group__3__Impl rule__ExprSwitchStmt__Group__4 )\n // InternalGo.g:7355:2: rule__ExprSwitchStmt__Group__3__Impl rule__ExprSwitchStmt__Group__4\n {\n pushFollow(FOLLOW_34);\n rule__ExprSwitchStmt__Group__3__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__ExprSwitchStmt__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": "9e1a9b7ca68e179a02dd53a5979d34c2", "score": "0.7133329", "text": "public final void rule__XSwitchExpression__Group_5__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8737:1: ( rule__XSwitchExpression__Group_5__2__Impl )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8738:2: rule__XSwitchExpression__Group_5__2__Impl\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_5__2__Impl_in_rule__XSwitchExpression__Group_5__217815);\n rule__XSwitchExpression__Group_5__2__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": "4d54bdccd958090a48fe583523593fd4", "score": "0.71284723", "text": "public final void rule__XSwitchExpression__Group__6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10154:1: ( rule__XSwitchExpression__Group__6__Impl )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10155:2: rule__XSwitchExpression__Group__6__Impl\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__6__Impl_in_rule__XSwitchExpression__Group__620704);\n rule__XSwitchExpression__Group__6__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": "781d6c4a42ac4f58d9d8babbc2fd9dc4", "score": "0.71272224", "text": "public final void rule__XSwitchExpression__Group_2_0__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8341:1: ( ( ( rule__XSwitchExpression__SwitchAssignment_2_0_1 ) ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8342:1: ( ( rule__XSwitchExpression__SwitchAssignment_2_0_1 ) )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8342:1: ( ( rule__XSwitchExpression__SwitchAssignment_2_0_1 ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8343:1: ( rule__XSwitchExpression__SwitchAssignment_2_0_1 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_0_1()); \n }\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8344:1: ( rule__XSwitchExpression__SwitchAssignment_2_0_1 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8344:2: rule__XSwitchExpression__SwitchAssignment_2_0_1\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__SwitchAssignment_2_0_1_in_rule__XSwitchExpression__Group_2_0__1__Impl17044);\n rule__XSwitchExpression__SwitchAssignment_2_0_1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_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": "9347d51b80f3315c23c73530b84c4887", "score": "0.7091247", "text": "public final void rule__XSwitchExpression__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9998:1: ( rule__XSwitchExpression__Group__1__Impl rule__XSwitchExpression__Group__2 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9999:2: rule__XSwitchExpression__Group__1__Impl rule__XSwitchExpression__Group__2\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__1__Impl_in_rule__XSwitchExpression__Group__120382);\n rule__XSwitchExpression__Group__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__2_in_rule__XSwitchExpression__Group__120385);\n rule__XSwitchExpression__Group__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": "0ee60b3da879fbd1b6f3b90e7a5b7548", "score": "0.7075613", "text": "public final void rule__XSwitchExpression__Group__5__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8240:1: ( ( ( rule__XSwitchExpression__Group_5__0 )? ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8241:1: ( ( rule__XSwitchExpression__Group_5__0 )? )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8241:1: ( ( rule__XSwitchExpression__Group_5__0 )? )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8242:1: ( rule__XSwitchExpression__Group_5__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_5()); \n }\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8243:1: ( rule__XSwitchExpression__Group_5__0 )?\n int alt63=2;\n int LA63_0 = input.LA(1);\n\n if ( (LA63_0==60) ) {\n alt63=1;\n }\n switch (alt63) {\n case 1 :\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8243:2: rule__XSwitchExpression__Group_5__0\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_5__0_in_rule__XSwitchExpression__Group__5__Impl16852);\n rule__XSwitchExpression__Group_5__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.getXSwitchExpressionAccess().getGroup_5()); \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": "48526ec96d334dbedbdf90dcf3d40976", "score": "0.7063703", "text": "public final void rule__XSwitchExpression__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9979:1: ( ( () ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9980:1: ( () )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9980:1: ( () )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9981:1: ()\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getXSwitchExpressionAction_0()); \n }\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9982:1: ()\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9984:1: \n {\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getXSwitchExpressionAction_0()); \n }\n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "403f63b0855d8a578e76c18b7489c97e", "score": "0.70618516", "text": "public final void rule__XSwitchExpression__Group_2_1_0_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10488:1: ( ( '(' ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10489:1: ( '(' )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10489:1: ( '(' )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10490:1: '('\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getLeftParenthesisKeyword_2_1_0_0_0()); \n }\n match(input,51,FOLLOW_51_in_rule__XSwitchExpression__Group_2_1_0_0__0__Impl21356); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getLeftParenthesisKeyword_2_1_0_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": "a583cd0b4fdc0b648636efd6c0b79b3c", "score": "0.7056894", "text": "public final void rule__XSwitchExpression__Group_2_0_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10318:1: ( rule__XSwitchExpression__Group_2_0_0_0__1__Impl )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10319:2: rule__XSwitchExpression__Group_2_0_0_0__1__Impl\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0_0__1__Impl_in_rule__XSwitchExpression__Group_2_0_0_0__121018);\n rule__XSwitchExpression__Group_2_0_0_0__1__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": "3f47ff6f6801355c71564aace746c700", "score": "0.70563704", "text": "public final void rule__XSwitchExpression__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9967:1: ( rule__XSwitchExpression__Group__0__Impl rule__XSwitchExpression__Group__1 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9968:2: rule__XSwitchExpression__Group__0__Impl rule__XSwitchExpression__Group__1\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__0__Impl_in_rule__XSwitchExpression__Group__020321);\n rule__XSwitchExpression__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__1_in_rule__XSwitchExpression__Group__020324);\n rule__XSwitchExpression__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": "47962ba7570297fd340dfafe74cd6fd8", "score": "0.70488435", "text": "public final void rule__XSwitchExpression__Group_2_0_0_0__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8432:1: ( ( ':' ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8433:1: ( ':' )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8433:1: ( ':' )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8434:1: ':'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_0_0_0_1()); \n }\n match(input,59,FOLLOW_59_in_rule__XSwitchExpression__Group_2_0_0_0__1__Impl17225); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_0_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": "d7fb267fca38bdb521d14a7e9a0b30be", "score": "0.7043702", "text": "public final void rule__XSwitchExpression__Group_2_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10227:1: ( rule__XSwitchExpression__Group_2_0__1__Impl )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10228:2: rule__XSwitchExpression__Group_2_0__1__Impl\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0__1__Impl_in_rule__XSwitchExpression__Group_2_0__120838);\n rule__XSwitchExpression__Group_2_0__1__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": "62601b5ec773706e16ad276c6ba5dcf5", "score": "0.7033941", "text": "public final void rule__SwitchCase__Group_0__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6810:1: ( rule__SwitchCase__Group_0__3__Impl )\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6811:2: rule__SwitchCase__Group_0__3__Impl\n {\n pushFollow(FOLLOW_rule__SwitchCase__Group_0__3__Impl_in_rule__SwitchCase__Group_0__313890);\n rule__SwitchCase__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": "9227e9cc1108f26bb01ffc468bf2f7f3", "score": "0.70026654", "text": "public final void rule__XSwitchExpression__Group__6__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10165:1: ( ( '}' ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10166:1: ( '}' )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10166:1: ( '}' )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10167:1: '}'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getRightCurlyBracketKeyword_6()); \n }\n match(input,55,FOLLOW_55_in_rule__XSwitchExpression__Group__6__Impl20732); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getRightCurlyBracketKeyword_6()); \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": "89138d0cab60781f6f7fd3948f1b66ca", "score": "0.70010364", "text": "public final void rule__XSwitchExpression__Group_2_1__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8496:1: ( ( ( rule__XSwitchExpression__SwitchAssignment_2_1_1 ) ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8497:1: ( ( rule__XSwitchExpression__SwitchAssignment_2_1_1 ) )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8497:1: ( ( rule__XSwitchExpression__SwitchAssignment_2_1_1 ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8498:1: ( rule__XSwitchExpression__SwitchAssignment_2_1_1 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_1_1()); \n }\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8499:1: ( rule__XSwitchExpression__SwitchAssignment_2_1_1 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8499:2: rule__XSwitchExpression__SwitchAssignment_2_1_1\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__SwitchAssignment_2_1_1_in_rule__XSwitchExpression__Group_2_1__1__Impl17350);\n rule__XSwitchExpression__SwitchAssignment_2_1_1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_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": "2637f04f77303f5eb752ed6dd12315b4", "score": "0.6964674", "text": "public final void rule__XSwitchExpression__Group__5() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8228:1: ( rule__XSwitchExpression__Group__5__Impl rule__XSwitchExpression__Group__6 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8229:2: rule__XSwitchExpression__Group__5__Impl rule__XSwitchExpression__Group__6\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__5__Impl_in_rule__XSwitchExpression__Group__516822);\n rule__XSwitchExpression__Group__5__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__6_in_rule__XSwitchExpression__Group__516825);\n rule__XSwitchExpression__Group__6();\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": "8cffeb900f70dd6a316fc705957c9238", "score": "0.69503963", "text": "public final void rule__XSwitchExpression__Group_2_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10352:1: ( rule__XSwitchExpression__Group_2_1__0__Impl rule__XSwitchExpression__Group_2_1__1 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10353:2: rule__XSwitchExpression__Group_2_1__0__Impl rule__XSwitchExpression__Group_2_1__1\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__0__Impl_in_rule__XSwitchExpression__Group_2_1__021081);\n rule__XSwitchExpression__Group_2_1__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__1_in_rule__XSwitchExpression__Group_2_1__021084);\n rule__XSwitchExpression__Group_2_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": "99424e5b19984514cf8c2cff016a1730", "score": "0.69364107", "text": "public final void rule__XSwitchExpression__Group__4__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8204:1: ( ( ( ( rule__XSwitchExpression__CasesAssignment_4 ) ) ( ( rule__XSwitchExpression__CasesAssignment_4 )* ) ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8205:1: ( ( ( rule__XSwitchExpression__CasesAssignment_4 ) ) ( ( rule__XSwitchExpression__CasesAssignment_4 )* ) )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8205:1: ( ( ( rule__XSwitchExpression__CasesAssignment_4 ) ) ( ( rule__XSwitchExpression__CasesAssignment_4 )* ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8206:1: ( ( rule__XSwitchExpression__CasesAssignment_4 ) ) ( ( rule__XSwitchExpression__CasesAssignment_4 )* )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8206:1: ( ( rule__XSwitchExpression__CasesAssignment_4 ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8207:1: ( rule__XSwitchExpression__CasesAssignment_4 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4()); \n }\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8208:1: ( rule__XSwitchExpression__CasesAssignment_4 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8208:2: rule__XSwitchExpression__CasesAssignment_4\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__CasesAssignment_4_in_rule__XSwitchExpression__Group__4__Impl16777);\n rule__XSwitchExpression__CasesAssignment_4();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4()); \n }\n\n }\n\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8211:1: ( ( rule__XSwitchExpression__CasesAssignment_4 )* )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8212:1: ( rule__XSwitchExpression__CasesAssignment_4 )*\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4()); \n }\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8213:1: ( rule__XSwitchExpression__CasesAssignment_4 )*\n loop62:\n do {\n int alt62=2;\n int LA62_0 = input.LA(1);\n\n if ( (LA62_0==RULE_ID||LA62_0==25||LA62_0==53||LA62_0==59||LA62_0==61) ) {\n alt62=1;\n }\n\n\n switch (alt62) {\n \tcase 1 :\n \t // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8213:2: rule__XSwitchExpression__CasesAssignment_4\n \t {\n \t pushFollow(FOLLOW_rule__XSwitchExpression__CasesAssignment_4_in_rule__XSwitchExpression__Group__4__Impl16789);\n \t rule__XSwitchExpression__CasesAssignment_4();\n\n \t state._fsp--;\n \t if (state.failed) return ;\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop62;\n }\n } while (true);\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4()); \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 \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "50b31102e30bd5bcbde677be132475fa", "score": "0.69105285", "text": "public final void rule__XSwitchExpression__Group_2_1_0_0__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8650:1: ( ( ':' ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8651:1: ( ':' )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8651:1: ( ':' )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8652:1: ':'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_1_0_0_2()); \n }\n match(input,59,FOLLOW_59_in_rule__XSwitchExpression__Group_2_1_0_0__2__Impl17654); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_1_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": "bc969b9512587d59be273fef84456a75", "score": "0.6903566", "text": "public final void rule__XSwitchExpression__Group_2_1_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10446:1: ( rule__XSwitchExpression__Group_2_1_0__0__Impl )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10447:2: rule__XSwitchExpression__Group_2_1_0__0__Impl\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0__0__Impl_in_rule__XSwitchExpression__Group_2_1_0__021266);\n rule__XSwitchExpression__Group_2_1_0__0__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": "5ddcb753dac03dd022875688e8fd9490", "score": "0.6893212", "text": "public final void rule__XSwitchExpression__Group_5__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8706:1: ( rule__XSwitchExpression__Group_5__1__Impl rule__XSwitchExpression__Group_5__2 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8707:2: rule__XSwitchExpression__Group_5__1__Impl rule__XSwitchExpression__Group_5__2\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_5__1__Impl_in_rule__XSwitchExpression__Group_5__117753);\n rule__XSwitchExpression__Group_5__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_5__2_in_rule__XSwitchExpression__Group_5__117756);\n rule__XSwitchExpression__Group_5__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": "2cc551ad621d62eeada543cacd9fc48f", "score": "0.6878983", "text": "public final void rule__XSwitchExpression__Group_2_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10381:1: ( rule__XSwitchExpression__Group_2_1__1__Impl rule__XSwitchExpression__Group_2_1__2 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10382:2: rule__XSwitchExpression__Group_2_1__1__Impl rule__XSwitchExpression__Group_2_1__2\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__1__Impl_in_rule__XSwitchExpression__Group_2_1__121141);\n rule__XSwitchExpression__Group_2_1__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__2_in_rule__XSwitchExpression__Group_2_1__121144);\n rule__XSwitchExpression__Group_2_1__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": "f4692e14241b75934db56305b05f301b", "score": "0.6877847", "text": "public final void rule__XSwitchExpression__Group_2_1_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10507:1: ( rule__XSwitchExpression__Group_2_1_0_0__1__Impl rule__XSwitchExpression__Group_2_1_0_0__2 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10508:2: rule__XSwitchExpression__Group_2_1_0_0__1__Impl rule__XSwitchExpression__Group_2_1_0_0__2\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__1__Impl_in_rule__XSwitchExpression__Group_2_1_0_0__121387);\n rule__XSwitchExpression__Group_2_1_0_0__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__2_in_rule__XSwitchExpression__Group_2_1_0_0__121390);\n rule__XSwitchExpression__Group_2_1_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": "24b99512be5222c30eee98a89696568b", "score": "0.6877534", "text": "public final void rule__XSwitchExpression__Group_2_0_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10259:1: ( rule__XSwitchExpression__Group_2_0_0__0__Impl )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10260:2: rule__XSwitchExpression__Group_2_0_0__0__Impl\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0__0__Impl_in_rule__XSwitchExpression__Group_2_0_0__020899);\n rule__XSwitchExpression__Group_2_0_0__0__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": "806fde21c5e237ea9adad31359a5f775", "score": "0.68728715", "text": "public final void rule__XSwitchExpression__Group_2_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10198:1: ( rule__XSwitchExpression__Group_2_0__0__Impl rule__XSwitchExpression__Group_2_0__1 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10199:2: rule__XSwitchExpression__Group_2_0__0__Impl rule__XSwitchExpression__Group_2_0__1\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0__0__Impl_in_rule__XSwitchExpression__Group_2_0__020777);\n rule__XSwitchExpression__Group_2_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0__1_in_rule__XSwitchExpression__Group_2_0__020780);\n rule__XSwitchExpression__Group_2_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": "55b762a840fea86bfb265f46a0589770", "score": "0.68428206", "text": "public final void rule__XSwitchExpression__Group_2_1_0_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10476:1: ( rule__XSwitchExpression__Group_2_1_0_0__0__Impl rule__XSwitchExpression__Group_2_1_0_0__1 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10477:2: rule__XSwitchExpression__Group_2_1_0_0__0__Impl rule__XSwitchExpression__Group_2_1_0_0__1\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__0__Impl_in_rule__XSwitchExpression__Group_2_1_0_0__021325);\n rule__XSwitchExpression__Group_2_1_0_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__1_in_rule__XSwitchExpression__Group_2_1_0_0__021328);\n rule__XSwitchExpression__Group_2_1_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": "c8a7a6acc671a7a9962756467bfbba6e", "score": "0.6810288", "text": "public final void rule__XSwitchExpression__Group_2_1_0_0__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10536:1: ( rule__XSwitchExpression__Group_2_1_0_0__2__Impl )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10537:2: rule__XSwitchExpression__Group_2_1_0_0__2__Impl\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1_0_0__2__Impl_in_rule__XSwitchExpression__Group_2_1_0_0__221447);\n rule__XSwitchExpression__Group_2_1_0_0__2__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": "e28413cd1aff979ed763d9e71bf7ee06", "score": "0.680407", "text": "public final void rule__XSwitchExpression__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10089:1: ( rule__XSwitchExpression__Group__4__Impl rule__XSwitchExpression__Group__5 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10090:2: rule__XSwitchExpression__Group__4__Impl rule__XSwitchExpression__Group__5\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__4__Impl_in_rule__XSwitchExpression__Group__420566);\n rule__XSwitchExpression__Group__4__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__5_in_rule__XSwitchExpression__Group__420569);\n rule__XSwitchExpression__Group__5();\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": "26fb98ee1c8e25e5ff39fe6388669c3f", "score": "0.680156", "text": "public final void rule__XSwitchExpression__Group_2_1__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10410:1: ( rule__XSwitchExpression__Group_2_1__2__Impl )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10411:2: rule__XSwitchExpression__Group_2_1__2__Impl\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__2__Impl_in_rule__XSwitchExpression__Group_2_1__221201);\n rule__XSwitchExpression__Group_2_1__2__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": "076b0093c6882afb9ddf74aa03fd7b3a", "score": "0.6800198", "text": "public final void rule__XSwitchExpression__Group__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8144:1: ( ( ( rule__XSwitchExpression__Alternatives_2 ) ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8145:1: ( ( rule__XSwitchExpression__Alternatives_2 ) )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8145:1: ( ( rule__XSwitchExpression__Alternatives_2 ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8146:1: ( rule__XSwitchExpression__Alternatives_2 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getAlternatives_2()); \n }\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8147:1: ( rule__XSwitchExpression__Alternatives_2 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8147:2: rule__XSwitchExpression__Alternatives_2\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Alternatives_2_in_rule__XSwitchExpression__Group__2__Impl16653);\n rule__XSwitchExpression__Alternatives_2();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getAlternatives_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": "60cfdabe100393e46565d79b113ba370", "score": "0.6798128", "text": "public final void rule__SwitchCase__Group_0__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6781:1: ( rule__SwitchCase__Group_0__2__Impl rule__SwitchCase__Group_0__3 )\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6782:2: rule__SwitchCase__Group_0__2__Impl rule__SwitchCase__Group_0__3\n {\n pushFollow(FOLLOW_rule__SwitchCase__Group_0__2__Impl_in_rule__SwitchCase__Group_0__213831);\n rule__SwitchCase__Group_0__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__SwitchCase__Group_0__3_in_rule__SwitchCase__Group_0__213834);\n rule__SwitchCase__Group_0__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": "e169852cb4404384327a79a2bfe78815", "score": "0.6792053", "text": "public final void rule__XSwitchExpression__Group_2_0_0_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10289:1: ( rule__XSwitchExpression__Group_2_0_0_0__0__Impl rule__XSwitchExpression__Group_2_0_0_0__1 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10290:2: rule__XSwitchExpression__Group_2_0_0_0__0__Impl rule__XSwitchExpression__Group_2_0_0_0__1\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0_0__0__Impl_in_rule__XSwitchExpression__Group_2_0_0_0__020958);\n rule__XSwitchExpression__Group_2_0_0_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0_0_0__1_in_rule__XSwitchExpression__Group_2_0_0_0__020961);\n rule__XSwitchExpression__Group_2_0_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": "41de1cda65fd97ed5c02659a2607cefe", "score": "0.6751516", "text": "public final void rule__XSwitchExpression__Group_5__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8718:1: ( ( ':' ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8719:1: ( ':' )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8719:1: ( ':' )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8720:1: ':'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getColonKeyword_5_1()); \n }\n match(input,59,FOLLOW_59_in_rule__XSwitchExpression__Group_5__1__Impl17784); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getColonKeyword_5_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": "ed297b8b839a19538b8778d193987438", "score": "0.67402476", "text": "public final void rule__XSwitchExpression__Group_5__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8675:1: ( rule__XSwitchExpression__Group_5__0__Impl rule__XSwitchExpression__Group_5__1 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8676:2: rule__XSwitchExpression__Group_5__0__Impl rule__XSwitchExpression__Group_5__1\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_5__0__Impl_in_rule__XSwitchExpression__Group_5__017691);\n rule__XSwitchExpression__Group_5__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_5__1_in_rule__XSwitchExpression__Group_5__017694);\n rule__XSwitchExpression__Group_5__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": "f4f72c45b920ada9d5ca22affdb4c2d1", "score": "0.67177284", "text": "public final void rule__ExprSwitchStmt__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGo.g:7327:1: ( rule__ExprSwitchStmt__Group__2__Impl rule__ExprSwitchStmt__Group__3 )\n // InternalGo.g:7328:2: rule__ExprSwitchStmt__Group__2__Impl rule__ExprSwitchStmt__Group__3\n {\n pushFollow(FOLLOW_31);\n rule__ExprSwitchStmt__Group__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__ExprSwitchStmt__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": "d7e72fc74b990d5abed1501b7a0e9161", "score": "0.67063093", "text": "public final void rule__TypeSwitchStmt__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGo.g:7705:1: ( rule__TypeSwitchStmt__Group__3__Impl rule__TypeSwitchStmt__Group__4 )\n // InternalGo.g:7706:2: rule__TypeSwitchStmt__Group__3__Impl rule__TypeSwitchStmt__Group__4\n {\n pushFollow(FOLLOW_34);\n rule__TypeSwitchStmt__Group__3__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__TypeSwitchStmt__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": "f2d0ef1678d7597318811e756cbb608f", "score": "0.66972613", "text": "public final void rule__XSwitchExpression__Group_2_1__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10421:1: ( ( ')' ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10422:1: ( ')' )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10422:1: ( ')' )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10423:1: ')'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getRightParenthesisKeyword_2_1_2()); \n }\n match(input,52,FOLLOW_52_in_rule__XSwitchExpression__Group_2_1__2__Impl21229); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getRightParenthesisKeyword_2_1_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": "e1e8115b741d50081a7e0832456b0aad", "score": "0.6682609", "text": "public final void rule__XSwitchExpression__Group__4__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10101:1: ( ( ( ( rule__XSwitchExpression__CasesAssignment_4 ) ) ( ( rule__XSwitchExpression__CasesAssignment_4 )* ) ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10102:1: ( ( ( rule__XSwitchExpression__CasesAssignment_4 ) ) ( ( rule__XSwitchExpression__CasesAssignment_4 )* ) )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10102:1: ( ( ( rule__XSwitchExpression__CasesAssignment_4 ) ) ( ( rule__XSwitchExpression__CasesAssignment_4 )* ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10103:1: ( ( rule__XSwitchExpression__CasesAssignment_4 ) ) ( ( rule__XSwitchExpression__CasesAssignment_4 )* )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10103:1: ( ( rule__XSwitchExpression__CasesAssignment_4 ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10104:1: ( rule__XSwitchExpression__CasesAssignment_4 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4()); \n }\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10105:1: ( rule__XSwitchExpression__CasesAssignment_4 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10105:2: rule__XSwitchExpression__CasesAssignment_4\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__CasesAssignment_4_in_rule__XSwitchExpression__Group__4__Impl20598);\n rule__XSwitchExpression__CasesAssignment_4();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4()); \n }\n\n }\n\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10108:1: ( ( rule__XSwitchExpression__CasesAssignment_4 )* )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10109:1: ( rule__XSwitchExpression__CasesAssignment_4 )*\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4()); \n }\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10110:1: ( rule__XSwitchExpression__CasesAssignment_4 )*\n loop75:\n do {\n int alt75=2;\n int LA75_0 = input.LA(1);\n\n if ( (LA75_0==RULE_ID||LA75_0==26||LA75_0==49||LA75_0==51||LA75_0==65) ) {\n alt75=1;\n }\n\n\n switch (alt75) {\n \tcase 1 :\n \t // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10110:2: rule__XSwitchExpression__CasesAssignment_4\n \t {\n \t pushFollow(FOLLOW_rule__XSwitchExpression__CasesAssignment_4_in_rule__XSwitchExpression__Group__4__Impl20610);\n \t rule__XSwitchExpression__CasesAssignment_4();\n\n \t state._fsp--;\n \t if (state.failed) return ;\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop75;\n }\n } while (true);\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getCasesAssignment_4()); \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 \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "6266a9cc00ae69a8ae2c3e6af0466be7", "score": "0.66821706", "text": "public final void rule__XSwitchExpression__Group_2_0__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10238:1: ( ( ( rule__XSwitchExpression__SwitchAssignment_2_0_1 ) ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10239:1: ( ( rule__XSwitchExpression__SwitchAssignment_2_0_1 ) )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10239:1: ( ( rule__XSwitchExpression__SwitchAssignment_2_0_1 ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10240:1: ( rule__XSwitchExpression__SwitchAssignment_2_0_1 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_0_1()); \n }\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10241:1: ( rule__XSwitchExpression__SwitchAssignment_2_0_1 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10241:2: rule__XSwitchExpression__SwitchAssignment_2_0_1\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__SwitchAssignment_2_0_1_in_rule__XSwitchExpression__Group_2_0__1__Impl20865);\n rule__XSwitchExpression__SwitchAssignment_2_0_1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_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": "620151fed0b27c1ff26a53c005c57da4", "score": "0.6671564", "text": "public final void rule__XSwitchExpression__Group_5__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8687:1: ( ( 'default' ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8688:1: ( 'default' )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8688:1: ( 'default' )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:8689:1: 'default'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getDefaultKeyword_5_0()); \n }\n match(input,60,FOLLOW_60_in_rule__XSwitchExpression__Group_5__0__Impl17722); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getDefaultKeyword_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": "0f10cd3b2e4a4f01e135278dfbeb3e66", "score": "0.66649795", "text": "public final void rule__XSwitchExpression__Group_2_1__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10393:1: ( ( ( rule__XSwitchExpression__SwitchAssignment_2_1_1 ) ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10394:1: ( ( rule__XSwitchExpression__SwitchAssignment_2_1_1 ) )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10394:1: ( ( rule__XSwitchExpression__SwitchAssignment_2_1_1 ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10395:1: ( rule__XSwitchExpression__SwitchAssignment_2_1_1 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_1_1()); \n }\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10396:1: ( rule__XSwitchExpression__SwitchAssignment_2_1_1 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10396:2: rule__XSwitchExpression__SwitchAssignment_2_1_1\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__SwitchAssignment_2_1_1_in_rule__XSwitchExpression__Group_2_1__1__Impl21171);\n rule__XSwitchExpression__SwitchAssignment_2_1_1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getSwitchAssignment_2_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": "273b57c26f07220a1bce122284e09336", "score": "0.66463953", "text": "public final void rule__XSwitchExpression__Group_5__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10634:1: ( rule__XSwitchExpression__Group_5__2__Impl )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10635:2: rule__XSwitchExpression__Group_5__2__Impl\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_5__2__Impl_in_rule__XSwitchExpression__Group_5__221636);\n rule__XSwitchExpression__Group_5__2__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": "eec8bf19e52d912eb31a6a08b2a5f2e1", "score": "0.66331625", "text": "public final void rule__ExprSwitchStmt__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGo.g:7285:1: ( ( 'switch' ) )\n // InternalGo.g:7286:1: ( 'switch' )\n {\n // InternalGo.g:7286:1: ( 'switch' )\n // InternalGo.g:7287:2: 'switch'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getExprSwitchStmtAccess().getSwitchKeyword_0()); \n }\n match(input,85,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getExprSwitchStmtAccess().getSwitchKeyword_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": "30dea38941a2d2d5c3d6660e0b22c25e", "score": "0.6599696", "text": "public final void rule__SwitchCase__Group_0__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6821:1: ( ( ( rule__SwitchCase__ThenAssignment_0_3 ) ) )\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6822:1: ( ( rule__SwitchCase__ThenAssignment_0_3 ) )\n {\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6822:1: ( ( rule__SwitchCase__ThenAssignment_0_3 ) )\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6823:1: ( rule__SwitchCase__ThenAssignment_0_3 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getSwitchCaseAccess().getThenAssignment_0_3()); \n }\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6824:1: ( rule__SwitchCase__ThenAssignment_0_3 )\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6824:2: rule__SwitchCase__ThenAssignment_0_3\n {\n pushFollow(FOLLOW_rule__SwitchCase__ThenAssignment_0_3_in_rule__SwitchCase__Group_0__3__Impl13917);\n rule__SwitchCase__ThenAssignment_0_3();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getSwitchCaseAccess().getThenAssignment_0_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": "6cb6d44236013488eaada05370c04798", "score": "0.65867233", "text": "public final void rule__XSwitchExpression__Group__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10041:1: ( ( ( rule__XSwitchExpression__Alternatives_2 ) ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10042:1: ( ( rule__XSwitchExpression__Alternatives_2 ) )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10042:1: ( ( rule__XSwitchExpression__Alternatives_2 ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10043:1: ( rule__XSwitchExpression__Alternatives_2 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getAlternatives_2()); \n }\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10044:1: ( rule__XSwitchExpression__Alternatives_2 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10044:2: rule__XSwitchExpression__Alternatives_2\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Alternatives_2_in_rule__XSwitchExpression__Group__2__Impl20474);\n rule__XSwitchExpression__Alternatives_2();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getAlternatives_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": "c79de83c4e0a78620a7859e68e13b95a", "score": "0.6571721", "text": "public final void rule__XSwitchExpression__Group_2_0_0_0__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10329:1: ( ( ':' ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10330:1: ( ':' )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10330:1: ( ':' )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10331:1: ':'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_0_0_0_1()); \n }\n match(input,49,FOLLOW_49_in_rule__XSwitchExpression__Group_2_0_0_0__1__Impl21046); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_0_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": "6c92ebd30196234e73bc9e4bb0cdb2bb", "score": "0.6568576", "text": "public final void rule__SwitchCase__Group_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6735:1: ( ( RULE_CASE ) )\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6736:1: ( RULE_CASE )\n {\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6736:1: ( RULE_CASE )\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6737:1: RULE_CASE\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getSwitchCaseAccess().getCASETerminalRuleCall_0_0()); \n }\n match(input,RULE_CASE,FOLLOW_RULE_CASE_in_rule__SwitchCase__Group_0__0__Impl13742); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getSwitchCaseAccess().getCASETerminalRuleCall_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": "fd86f7de45e2f1bdc74de717fbf3de20", "score": "0.65363044", "text": "public final void rule__TypeSwitchGuard__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGo.g:7933:1: ( ( '(' ) )\n // InternalGo.g:7934:1: ( '(' )\n {\n // InternalGo.g:7934:1: ( '(' )\n // InternalGo.g:7935:2: '('\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getTypeSwitchGuardAccess().getLeftParenthesisKeyword_3()); \n }\n match(input,66,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getTypeSwitchGuardAccess().getLeftParenthesisKeyword_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": "7a284d81a47c6fea0de69ad87cf18186", "score": "0.6482509", "text": "public final void ruleexprSwitchStmt() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGo.g:1067:2: ( ( ( rule__ExprSwitchStmt__Group__0 ) ) )\n // InternalGo.g:1068:2: ( ( rule__ExprSwitchStmt__Group__0 ) )\n {\n // InternalGo.g:1068:2: ( ( rule__ExprSwitchStmt__Group__0 ) )\n // InternalGo.g:1069:3: ( rule__ExprSwitchStmt__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getExprSwitchStmtAccess().getGroup()); \n }\n // InternalGo.g:1070:3: ( rule__ExprSwitchStmt__Group__0 )\n // InternalGo.g:1070:4: rule__ExprSwitchStmt__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__ExprSwitchStmt__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getExprSwitchStmtAccess().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": "7290104ea7fe02518398a1bc30f35874", "score": "0.64767593", "text": "public final void rule__ExprSwitchStmt__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGo.g:7312:1: ( ( ( rule__ExprSwitchStmt__Group_1__0 )? ) )\n // InternalGo.g:7313:1: ( ( rule__ExprSwitchStmt__Group_1__0 )? )\n {\n // InternalGo.g:7313:1: ( ( rule__ExprSwitchStmt__Group_1__0 )? )\n // InternalGo.g:7314:2: ( rule__ExprSwitchStmt__Group_1__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getExprSwitchStmtAccess().getGroup_1()); \n }\n // InternalGo.g:7315:2: ( rule__ExprSwitchStmt__Group_1__0 )?\n int alt76=2;\n alt76 = dfa76.predict(input);\n switch (alt76) {\n case 1 :\n // InternalGo.g:7315:3: rule__ExprSwitchStmt__Group_1__0\n {\n pushFollow(FOLLOW_2);\n rule__ExprSwitchStmt__Group_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.getExprSwitchStmtAccess().getGroup_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": "bc3f75587246b8b49104d509c33aa76b", "score": "0.6468505", "text": "public final void rule__XIfExpression__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:7845:1: ( rule__XIfExpression__Group__2__Impl rule__XIfExpression__Group__3 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:7846:2: rule__XIfExpression__Group__2__Impl rule__XIfExpression__Group__3\n {\n pushFollow(FOLLOW_rule__XIfExpression__Group__2__Impl_in_rule__XIfExpression__Group__216059);\n rule__XIfExpression__Group__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XIfExpression__Group__3_in_rule__XIfExpression__Group__216062);\n rule__XIfExpression__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": "6b92a625e2570b090129f44b626c8a7a", "score": "0.64606583", "text": "public final void rule__XSwitchExpression__Group__5() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10125:1: ( rule__XSwitchExpression__Group__5__Impl rule__XSwitchExpression__Group__6 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10126:2: rule__XSwitchExpression__Group__5__Impl rule__XSwitchExpression__Group__6\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__5__Impl_in_rule__XSwitchExpression__Group__520643);\n rule__XSwitchExpression__Group__5__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group__6_in_rule__XSwitchExpression__Group__520646);\n rule__XSwitchExpression__Group__6();\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": "6edeb427f400c63c502d44951041eb8f", "score": "0.6452814", "text": "public final void rule__XSwitchExpression__Group_2_1_0_0__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10547:1: ( ( ':' ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10548:1: ( ':' )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10548:1: ( ':' )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10549:1: ':'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_1_0_0_2()); \n }\n match(input,49,FOLLOW_49_in_rule__XSwitchExpression__Group_2_1_0_0__2__Impl21475); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_1_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": "5eed09cb02cef39472c0a5f5a34011ff", "score": "0.64506006", "text": "public final void rule__ExprSwitchStmt__Group_1__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGo.g:7473:1: ( ( ruleeos ) )\n // InternalGo.g:7474:1: ( ruleeos )\n {\n // InternalGo.g:7474:1: ( ruleeos )\n // InternalGo.g:7475:2: ruleeos\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getExprSwitchStmtAccess().getEosParserRuleCall_1_1()); \n }\n pushFollow(FOLLOW_2);\n ruleeos();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getExprSwitchStmtAccess().getEosParserRuleCall_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": "10774283800ef9f1f607db7d3122c430", "score": "0.6445002", "text": "public final void rule__XIfExpression__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:7876:1: ( rule__XIfExpression__Group__3__Impl rule__XIfExpression__Group__4 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:7877:2: rule__XIfExpression__Group__3__Impl rule__XIfExpression__Group__4\n {\n pushFollow(FOLLOW_rule__XIfExpression__Group__3__Impl_in_rule__XIfExpression__Group__316121);\n rule__XIfExpression__Group__3__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XIfExpression__Group__4_in_rule__XIfExpression__Group__316124);\n rule__XIfExpression__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": "ac106c02c1723251e0cf32d35fafcb00", "score": "0.64443696", "text": "public final void rule__XSwitchExpression__Group_5__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10603:1: ( rule__XSwitchExpression__Group_5__1__Impl rule__XSwitchExpression__Group_5__2 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10604:2: rule__XSwitchExpression__Group_5__1__Impl rule__XSwitchExpression__Group_5__2\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_5__1__Impl_in_rule__XSwitchExpression__Group_5__121574);\n rule__XSwitchExpression__Group_5__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_5__2_in_rule__XSwitchExpression__Group_5__121577);\n rule__XSwitchExpression__Group_5__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": "9d7fca4a46978cb7edf733ee735eff80", "score": "0.6426161", "text": "public final void rule__SwitchCase__Group_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6752:1: ( rule__SwitchCase__Group_0__1__Impl rule__SwitchCase__Group_0__2 )\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6753:2: rule__SwitchCase__Group_0__1__Impl rule__SwitchCase__Group_0__2\n {\n pushFollow(FOLLOW_rule__SwitchCase__Group_0__1__Impl_in_rule__SwitchCase__Group_0__113771);\n rule__SwitchCase__Group_0__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__SwitchCase__Group_0__2_in_rule__SwitchCase__Group_0__113774);\n rule__SwitchCase__Group_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": "f446c835e540f9c8d42cbcc90f735d65", "score": "0.6421064", "text": "public final void rule__XSwitchExpression__Group__5__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10137:1: ( ( ( rule__XSwitchExpression__Group_5__0 )? ) )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10138:1: ( ( rule__XSwitchExpression__Group_5__0 )? )\n {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10138:1: ( ( rule__XSwitchExpression__Group_5__0 )? )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10139:1: ( rule__XSwitchExpression__Group_5__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_5()); \n }\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10140:1: ( rule__XSwitchExpression__Group_5__0 )?\n int alt76=2;\n int LA76_0 = input.LA(1);\n\n if ( (LA76_0==64) ) {\n alt76=1;\n }\n switch (alt76) {\n case 1 :\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:10140:2: rule__XSwitchExpression__Group_5__0\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_5__0_in_rule__XSwitchExpression__Group__5__Impl20673);\n rule__XSwitchExpression__Group_5__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.getXSwitchExpressionAccess().getGroup_5()); \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": "b27987da7e4f5926f5a109f1cdf4dc5d", "score": "0.63998353", "text": "public final void rule__ExprSwitchStmt__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGo.g:7273:1: ( rule__ExprSwitchStmt__Group__0__Impl rule__ExprSwitchStmt__Group__1 )\n // InternalGo.g:7274:2: rule__ExprSwitchStmt__Group__0__Impl rule__ExprSwitchStmt__Group__1\n {\n pushFollow(FOLLOW_31);\n rule__ExprSwitchStmt__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__ExprSwitchStmt__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": "52ba0a4460c73aafbfbc9c15fca3a565", "score": "0.6384549", "text": "public final void rule__TypeSwitchStmt__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGo.g:7636:1: ( ( 'switch' ) )\n // InternalGo.g:7637:1: ( 'switch' )\n {\n // InternalGo.g:7637:1: ( 'switch' )\n // InternalGo.g:7638:2: 'switch'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getTypeSwitchStmtAccess().getSwitchKeyword_0()); \n }\n match(input,85,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getTypeSwitchStmtAccess().getSwitchKeyword_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": "3b2750cd75a8306543eb7eb062766219", "score": "0.6378093", "text": "public final void rule__Statement__Group_9__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6513:1: ( ( RULE_SWITCH ) )\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6514:1: ( RULE_SWITCH )\n {\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6514:1: ( RULE_SWITCH )\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6515:1: RULE_SWITCH\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getStatementAccess().getSWITCHTerminalRuleCall_9_1()); \n }\n match(input,RULE_SWITCH,FOLLOW_RULE_SWITCH_in_rule__Statement__Group_9__1__Impl13308); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getStatementAccess().getSWITCHTerminalRuleCall_9_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": "6d6cd30b2ded3601f8225c8c0f5fb3d2", "score": "0.6362601", "text": "public final void rule__XSwitchExpression__Alternatives_2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:2619:1: ( ( ( rule__XSwitchExpression__Group_2_0__0 ) ) | ( ( rule__XSwitchExpression__Group_2_1__0 ) ) )\n int alt19=2;\n int LA19_0 = input.LA(1);\n\n if ( ((LA19_0>=RULE_ID && LA19_0<=RULE_STRING)||LA19_0==22||(LA19_0>=29 && LA19_0<=30)||LA19_0==35||(LA19_0>=38 && LA19_0<=43)||LA19_0==51||LA19_0==54||(LA19_0>=56 && LA19_0<=57)||(LA19_0>=62 && LA19_0<=64)||(LA19_0>=66 && LA19_0<=71)||LA19_0==80) ) {\n alt19=1;\n }\n else if ( (LA19_0==53) ) {\n int LA19_2 = input.LA(2);\n\n if ( (LA19_2==RULE_ID) ) {\n int LA19_3 = input.LA(3);\n\n if ( (LA19_3==59) ) {\n alt19=2;\n }\n else if ( ((LA19_3>=13 && LA19_3<=34)||LA19_3==36||(LA19_3>=46 && LA19_3<=47)||LA19_3==49||LA19_3==51||LA19_3==53||LA19_3==65||(LA19_3>=76 && LA19_3<=77)) ) {\n alt19=1;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 19, 3, input);\n\n throw nvae;\n }\n }\n else if ( ((LA19_2>=RULE_HEX && LA19_2<=RULE_STRING)||LA19_2==22||(LA19_2>=29 && LA19_2<=30)||LA19_2==35||(LA19_2>=38 && LA19_2<=43)||LA19_2==51||(LA19_2>=53 && LA19_2<=54)||(LA19_2>=56 && LA19_2<=57)||(LA19_2>=62 && LA19_2<=64)||(LA19_2>=66 && LA19_2<=71)||LA19_2==80) ) {\n alt19=1;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 19, 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(\"\", 19, 0, input);\n\n throw nvae;\n }\n switch (alt19) {\n case 1 :\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:2620:1: ( ( rule__XSwitchExpression__Group_2_0__0 ) )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:2620:1: ( ( rule__XSwitchExpression__Group_2_0__0 ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:2621:1: ( rule__XSwitchExpression__Group_2_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_0()); \n }\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:2622:1: ( rule__XSwitchExpression__Group_2_0__0 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:2622:2: rule__XSwitchExpression__Group_2_0__0\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_0__0_in_rule__XSwitchExpression__Alternatives_25659);\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.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:2626:6: ( ( rule__XSwitchExpression__Group_2_1__0 ) )\n {\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:2626:6: ( ( rule__XSwitchExpression__Group_2_1__0 ) )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:2627:1: ( rule__XSwitchExpression__Group_2_1__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXSwitchExpressionAccess().getGroup_2_1()); \n }\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:2628:1: ( rule__XSwitchExpression__Group_2_1__0 )\n // ../org.xtext.example.helloxbase.ui/src-gen/org/xtext/example/helloxbase/ui/contentassist/antlr/internal/InternalHelloXbase.g:2628:2: rule__XSwitchExpression__Group_2_1__0\n {\n pushFollow(FOLLOW_rule__XSwitchExpression__Group_2_1__0_in_rule__XSwitchExpression__Alternatives_25677);\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": "cdeefa12732ed87b6753ff90d757649d", "score": "0.635247", "text": "public final void rule__XIfExpression__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9773:1: ( rule__XIfExpression__Group__3__Impl rule__XIfExpression__Group__4 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9774:2: rule__XIfExpression__Group__3__Impl rule__XIfExpression__Group__4\n {\n pushFollow(FOLLOW_rule__XIfExpression__Group__3__Impl_in_rule__XIfExpression__Group__319942);\n rule__XIfExpression__Group__3__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XIfExpression__Group__4_in_rule__XIfExpression__Group__319945);\n rule__XIfExpression__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": "15f03ec23eb44884e23684a2377dff6a", "score": "0.63407874", "text": "public final void rule__XIfExpression__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9742:1: ( rule__XIfExpression__Group__2__Impl rule__XIfExpression__Group__3 )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:9743:2: rule__XIfExpression__Group__2__Impl rule__XIfExpression__Group__3\n {\n pushFollow(FOLLOW_rule__XIfExpression__Group__2__Impl_in_rule__XIfExpression__Group__219880);\n rule__XIfExpression__Group__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_rule__XIfExpression__Group__3_in_rule__XIfExpression__Group__219883);\n rule__XIfExpression__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": "90b67d2bf572b297acfb3ca698c2d184", "score": "0.6308206", "text": "public final void rule__SwitchCase__Group_1__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6904:1: ( rule__SwitchCase__Group_1__2__Impl )\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/lang/glsl/ui/contentassist/antlr/internal/InternalGlsl.g:6905:2: rule__SwitchCase__Group_1__2__Impl\n {\n pushFollow(FOLLOW_rule__SwitchCase__Group_1__2__Impl_in_rule__SwitchCase__Group_1__214073);\n rule__SwitchCase__Group_1__2__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": "" } ]
e2be3a0abade502c08e113d701dd52ed
//////////////// ACTUALIZAR TRABAJADOR /////////////////
[ { "docid": "1e16078bb69cd96c131a000703957bce", "score": "0.0", "text": "private void enviarAcActionPerformed(java.awt.event.ActionEvent evt) { \n \t\n \tidBuscarTrabajadorAc.setEditable(false);//TextField\n\t\t\n\t\tString id = idBuscarTrabajadorAc.getText();\t\n\t\tif ( !id.equals(\"\") ) {\n\t\t\tControlador.getInstance().handleRequest(IDEventos.EVENTO_CONSULTAR_TRABAJADOR_MODIFICAR, Integer.valueOf(id));\n\t\t}\n\t\telse\n\t\t{\n\t\t\tJFrame frame = new JFrame();\n \t\tJOptionPane.showMessageDialog(frame,\"Tienes que rellenar el ID\", \"Aviso\", JOptionPane.WARNING_MESSAGE);\n\t\t}\n \t\n }", "title": "" } ]
[ { "docid": "4b8e0f64fd3bd699059d400b089d83ce", "score": "0.671939", "text": "public void crearTablaActividad() {\n\r\n\t}", "title": "" }, { "docid": "12c0cf787a4de2c509b50a8a7dd6344e", "score": "0.6620012", "text": "public void crearTablaEstado() {\n\r\n\t}", "title": "" }, { "docid": "3fe1f1d48cc4f734bc9648574dd0917f", "score": "0.65322006", "text": "public void crearTablaProyecto() {\n\r\n\t}", "title": "" }, { "docid": "f681b935fb9555bb599432bec4fb1cdd", "score": "0.63880277", "text": "public void crearTablaGerente() {\n\r\n\t}", "title": "" }, { "docid": "1ce660287e22432eaab4789b7fcd6678", "score": "0.63781005", "text": "public static void inicioTrabajador() {\r\n\t\tnew view.FrmTrabajador();\r\n\t}", "title": "" }, { "docid": "ca91d50c92e95aab7c111875e455738c", "score": "0.63485044", "text": "private void buscarSolicitudesPago() {\r\n if(validarBusqueda()) {\r\n ArrayList<ArrayList<String>> tmpLista = new ArrayList<>();\r\n //tmpLista = facadeRecaudacion.solicitaPagos_BancoFinanciero(\"\");\r\n llenarTabla(tblModelTarjetas, tmpLista);\r\n }\r\n \r\n FarmaUtility.showMessage(this, \"Implementar búsqueda de tarjetas\", null);\r\n }", "title": "" }, { "docid": "b7d3c2b49702a5ed673b243bf8d2b7c0", "score": "0.6339364", "text": "@Override\n\tprotected void funcionario() {\n\t\t\n\t}", "title": "" }, { "docid": "321b7db8f46374ba50935b6064ef77fe", "score": "0.6305055", "text": "public void NuevoRegistroTrabajoTemp( TrabajoTemp trabajito) {\n usuarioSamaj user = trabajito.getUser();\n String cod = Integer.toString(user.getCodigo());\n String nombre = user.getNombre();\n String apellido = user.getApellido();\n String tel = Integer.toString(user.getTelefono());\n String correo = user.getCorreo();\n\n String categoria = trabajito.getCategoriaTrabajo();\n String descripcion = trabajito.getDescripcionTrabajo();\n String sueldo = Integer.toString(trabajito.getSueldo());\n String fila = cod+\",\"+nombre+\",\"+apellido+\",\"+tel+\",\"+correo + \", \" + categoria + \", \" + descripcion + \", \" + sueldo;\n\n /*Tomar el ArrayList de aplicantes del objeto TrabajoTemp\n y extraer el nombre y número de telefono de cada uno de\n estos para que sean almacenados en el registro. Estos\n serán añadidos fila para ser metidos al registro. */\n\n ArrayList<usuarioSamaj> aplicantes = trabajito.getAplicantes();\n if (aplicantes.size()!=0){\n for (int i = 0; i < aplicantes.size(); i++) {\n usuarioSamaj h = aplicantes.get(i);\n String nom = h.getNombre();\n String telef = Integer.toString(h.getTelefono());\n fila += \", \" + nom + \", \" + telef;\n }\n }\n // LLamar método con dos parámetros: el String anidado y el nombre de la tabla en la base de datos.\n registrarBD(fila, \"TABLA3\");\n }", "title": "" }, { "docid": "c79b3a47b7e671e8048c1080e69fc7c6", "score": "0.6175671", "text": "private void inicializar()\n {\n this.centrar();\n this.ajustarTamanioColumna();\n this.llenarTabla();\n }", "title": "" }, { "docid": "d850d0e13249ba58c091e165d65fcc0f", "score": "0.61575395", "text": "public void LlenarTabla(){\n if(Directo)//recien ingresados\n {\n Object[] nuevaFila = {dni,appat,apmat,nombre,fechNac,direccion,\n sexo,parentesco,codCarpeta,codHistoria,HistAnt};//NUEVA FILA\n modelo.addRow(nuevaFila);\n jtHistoriasClinicas.setModel(modelo);\n RegistroTranslado.add(0);//como registro\n btnQuitar.setEnabled(true);\n btnRegistrar.setEnabled(true);\n }\n else{//hace modificaciones en una fila determinada por nf\n ActualizarDatosJefe(dni, appat, apmat, nombre, fechNac, direccion,sexo,parentesco,codHistoria,HistAnt);\n Directo=true;//para que pueda registrar otra historia\n HabilitarTodo();\n }\n limpiarCajas();//limpiamos todas las cajas \n }", "title": "" }, { "docid": "e69329212f25e7703c4d717ac31e9cb9", "score": "0.6156085", "text": "public void crearTablaCategoria() {\n\r\n\t}", "title": "" }, { "docid": "4964b817dfa1e186d8b95ac35dbcb398", "score": "0.6133777", "text": "protected void bhgp0030AcessoTabela() {\n }", "title": "" }, { "docid": "076c3ed64a149c1cd1562b264c48730b", "score": "0.6123238", "text": "private void cargarTabla(){\n GestorOrdenCompra.getInstancia().generarOrdenAutomatica(tm);\n }", "title": "" }, { "docid": "76ea568222d06eb3c8591333abee7ca4", "score": "0.6114247", "text": "public void tratarAyuda(Object informacion);", "title": "" }, { "docid": "21ad55b899bd8ebaa318600bddb067a4", "score": "0.61124164", "text": "@Override\n\tpublic void prendiDalTavolo() {\n\t\t\n\t}", "title": "" }, { "docid": "e7e69ed3af666adb9deb91fe52bee11d", "score": "0.6065775", "text": "public GetTowar() {\n initComponents();\n //DaneSklepu.getStrony().get(\"PanelTransakcji\").wypelnijTabele();\n //super();\n\n }", "title": "" }, { "docid": "31b41d433600470ed8004e258db325c7", "score": "0.6044885", "text": "protected abstract void introducir_aciertos(Tablero tablero);", "title": "" }, { "docid": "76a80470fd21f5a9092c258ed3a8a632", "score": "0.6043315", "text": "private static void 로또번호리스트() {\n\t\t\r\n\t}", "title": "" }, { "docid": "95d63f44f6e78c62acac0f5480effda4", "score": "0.60396296", "text": "public static void sql_TarifasEstablecidas() {\n String sql\n = \"SELECT\"\n + \" t.VALOR_PROM_KM AS VALOR_PROM_KM,\"\n + \" r.NOMBRE AS NOMBRE_RUTA\"\n + \" FROM tbl_ruta AS r\"\n + \" INNER JOIN tbl_tarifa AS t ON\"\n + \" r.PK_RUTA = t.FK_RUTA\"\n + \" WHERE t.ESTADO = 1 AND\"\n + \" r.FK_EMPRESA = ?\"\n + \" ORDER BY r.FK_EMPRESA, r.NOMBRE\";\n\n //return sql;\n }", "title": "" }, { "docid": "13bf8de6d620be8a0b073885f0ce310c", "score": "0.600732", "text": "public void inicializarDatos()\r\n/* 116: */ {\r\n/* 117: */ try\r\n/* 118: */ {\r\n/* 119: 85 */ this.modelResultado = new ResultadosTableModel();\r\n/* 120: 86 */ this.jTableResultado.setModel(this.modelResultado);\r\n/* 121: 87 */ this.jTableResultado.setAutoResizeMode(0);\r\n/* 122: 88 */ setColumnWidthResultados();\r\n/* 123: 89 */ this.emisor = new EmisorSQL().obtenerDatosEmisor();\r\n/* 124: 90 */ this.secuencial = new ComprobantesSQL().obtenerMaximo(TipoComprobanteEnum.LOTE.getCode());\r\n/* 125: 91 */ String secuencialComprobante = String.format(\"%09d\", new Object[] { Long.valueOf(this.secuencial.longValue()) });\r\n/* 126: 94 */ if (this.emisor != null)\r\n/* 127: */ {\r\n/* 128: 95 */ String serie = this.emisor.getCodigoEstablecimiento().concat(this.emisor.getCodPuntoEmision());\r\n/* 129: 96 */ this.claveAcceso = new ClaveDeAcceso().generaClave(new Date(), TipoComprobanteEnum.LOTE.getCode(), this.emisor.getRuc(), this.emisor.getTipoAmbiente(), serie, secuencialComprobante, this.emisor.getClaveInterna(), \"1\");\r\n/* 130: */ }\r\n/* 131: 99 */ ConfiguracionDirectorioSQL lista = new ConfiguracionDirectorioSQL();\r\n/* 132:101 */ if (lista.hayRegistros().booleanValue() == true)\r\n/* 133: */ {\r\n/* 134:102 */ this.directorioFirmados = lista.obtenerDirectorio(DirectorioEnum.FIRMADOS.getCode()).getPath();\r\n/* 135:103 */ this.lblDirSistema.setText(this.directorioFirmados);\r\n/* 136: */ }\r\n/* 137:106 */ this.tableArchivosPorEnviar.addMouseListener(new MouseAdapter()\r\n/* 138: */ {\r\n/* 139: */ public void mouseReleased(MouseEvent e)\r\n/* 140: */ {\r\n/* 141:110 */ int col = EnvioComprobantesView.this.tableArchivosPorEnviar.getSelectedColumn();\r\n/* 142:111 */ int row = EnvioComprobantesView.this.tableArchivosPorEnviar.getSelectedRow();\r\n/* 143:112 */ if (col == 0)\r\n/* 144: */ {\r\n/* 145:113 */ if (EnvioComprobantesView.this.tableArchivosPorEnviar.getModel().getRowCount() >= 2) {\r\n/* 146:114 */ EnvioComprobantesView.this.btnEnviarLotes.setEnabled(true);\r\n/* 147: */ }\r\n/* 148:117 */ List<File> archivosSeleccionados = EnvioComprobantesView.this.listaSeleccionados();\r\n/* 149:118 */ String xmlLote = EnvioComprobantesView.this.creaXmlLote(archivosSeleccionados);\r\n/* 150:119 */ if (xmlLote != null)\r\n/* 151: */ {\r\n/* 152:120 */ Integer tamanioArchivo = Integer.valueOf(xmlLote.getBytes().length / 1024);\r\n/* 153:121 */ EnvioComprobantesView.this.lblTamanio.setText(tamanioArchivo.toString());\r\n/* 154: */ }\r\n/* 155: */ else\r\n/* 156: */ {\r\n/* 157:123 */ EnvioComprobantesView.this.tableArchivosPorEnviar.getModel().setValueAt(Boolean.FALSE, row, col);\r\n/* 158: */ }\r\n/* 159: */ }\r\n/* 160: */ }\r\n/* 161:128 */ });\r\n/* 162:129 */ this.jTableResultado.addMouseListener(new MouseAdapter()\r\n/* 163: */ {\r\n/* 164: */ public void mouseClicked(MouseEvent e)\r\n/* 165: */ {\r\n/* 166:132 */ int col = EnvioComprobantesView.this.jTableResultado.getSelectedColumn();\r\n/* 167:133 */ int row = EnvioComprobantesView.this.jTableResultado.getSelectedRow();\r\n/* 168:134 */ if (EnvioComprobantesView.this.rowEvent != row) {\r\n/* 169:135 */ EnvioComprobantesView.this.showOnlyOnce = 0;\r\n/* 170: */ }\r\n/* 171:138 */ if ((e.getClickCount() == 1) && (col == 4) && (EnvioComprobantesView.this.showOnlyOnce == 0))\r\n/* 172: */ {\r\n/* 173:139 */ String contenidoCelda = (String)EnvioComprobantesView.this.jTableResultado.getValueAt(row, col);\r\n/* 174:140 */ JOptionPane.showMessageDialog(new JFrame(), contenidoCelda, \"Contenido de la celda\", 1);\r\n/* 175: */ \r\n/* 176:142 */ EnvioComprobantesView.this.showOnlyOnce = 1;\r\n/* 177:143 */ EnvioComprobantesView.this.rowEvent = row;\r\n/* 178: */ }\r\n/* 179: */ }\r\n/* 180: */ });\r\n/* 181: */ }\r\n/* 182: */ catch (Exception ex)\r\n/* 183: */ {\r\n/* 184:149 */ Logger.getLogger(FacturaView.class.getName()).log(Level.SEVERE, \"Error de Casting\", ex);\r\n/* 185: */ }\r\n/* 186: */ }", "title": "" }, { "docid": "a657783fc915d3b141f2d401584ba1c7", "score": "0.5990215", "text": "@Test\r\n\tpublic void testObtenerCasilla() {\n\t\tTableroBuilder builderN1=new BuilderN1();\r\n\t\tbuilderN1.construirTablero();\r\n\t\tBuscaminas.getBuscaminas().setTableroBuilder(builderN1);\r\n\t\tCasilla c=Buscaminas.getBuscaminas().getTablero().obtenerCasilla(0,0);\r\n\t\tassertEquals(Buscaminas.getBuscaminas().getTablero().obtenerCasilla(0, 0),c);\r\n\t\t//Obtener una casilla no existente\r\n\t\tassertNull(Buscaminas.getBuscaminas().getTablero().obtenerCasilla(8,8));\r\n\t}", "title": "" }, { "docid": "4ca298bb65ebf2d7cd93b3e86cb1d82a", "score": "0.5961069", "text": "public boolean trataEquipamentos(String tipx)\n\t{\n\t\t\n\t\tboolean ret = true ; \n\t\t\n \t// Pega dados antes de excluir todas os registros\n \tParametroDAO paDao = new ParametroDAO(context);\n \t\t\n \tContext ctx = context;\n \t\n \tCursor c = paDao.getParametros();\n \t\t\n \t// dados para comunica��o com servidor ftp\n \t\t\n \tString servidorftp = \"\";\n \tString usuarioftp = \"\";\n \tString senhaftp = \"\";\n \tString arquivobaseftp = \"\";\n \tString impressora = \"\";\n \tString imprimeobs = \"\";\n \tString sigla = \"\";\n \tString orgaoautuador = \"\";\n \tString cxseriePDA = \"\"; \n\t\t//try {\n\t\t\t\n\t\t\t//servidorftp = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\"servidorftp\")));\n\t\t\t//usuarioftp = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\"usuarioftp\")));\n\t \t//senhaftp = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\"senhaftp\")));\n\t \t//arquivobaseftp = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\"arquivobaseftp\")));\n\t \t//impressora = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\"impressora\")));\n\t \t//imprimeobs = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\"imprimeobs\")));\n\t \t\t\n\t \t//sigla = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\"sigla\")));\n\t \t\t\n\t \t// dados para comunica��o com o WebTrans\n\t \t//usuarioWebTrans = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\"usuariowebtrans\")));\n\t \t//senhaWebTrans = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\"senhawebtrans\")));\n\n\t \t//******************************************************\n \t\t// 09.08.2012\n\t \t//\n\t \t// Define Usuario/Senha para leitura de Tabelas \n\t \t//******************************************************\n \t\tsenhaWebTrans = MD5Util.criptografar(\"cobratalonario\");\n\n\t \t//String xcod = SimpleCrypto.decrypt(Utilitarios.getInfo(), c.getString(c.getColumnIndex(\"orgaoautuador\")) );\n\t \t\n\t \t//codMunicipio = xcod.subSequence(1, 5).toString(); //265810\n\t \t\n\t \t\n\t \t\n\t \t//codMunicipio = c.getString(c.getColumnIndex(\"orgaoautuador\")).subSequence(1, 5).toString(); //265810\n\t \t\n\t \t//cxseriePDA = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\"seriepda\")));\n\t \t\n\t \t// 16.05.2012\n\t \t// Retirar , vir� do Webtrans\n\t \t//orgaoautuador = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\"orgaoautuador\")));\n\n\t\t\t\n\t\t//} \n\t\t//catch (Exception e1) \n\t\t//{\n\t\t\t// TODO Auto-generated catch block\n\t\t//\te1.printStackTrace();\n\t\t//}\n \t\t\t \t\t\t\n \tString c1,c2,c3;\n \tc1 = usuarioWebTrans ;\n \tc2 = senhaWebTrans ;\n \tc3 = codMunicipio ;\n \t\n \tc.close();\n \t\t\n \t//if (carregaDados(\"equipamentos\"))\n \t//{\n \t\t// salva\n \t\tJSONArray jsonArray1 = jsonArray;\n \t\ttry {\n \t\t\tjson1=jsonArray1.getJSONObject(0);\n\t\t\t\tcodMunicipio=json1.getString(\"cliente\");\n\t\t\t} catch (JSONException e1) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te1.printStackTrace();\n\t\t\t}\n \t\t//String orgaoautuador = \"\", \n \t\tString prefeitura = \"\" ;\n \t\t\n \t\t//usuarioWebTrans = \"LOGWEBTRANS\"+ codMunicipio;\n \t\t\tusuarioWebTrans = \"LOGWEBTRANS\" + codMunicipio;\n \t\t\n \t\tsenhaWebTrans = MD5Util.criptografar(\"2015RES\");\n \t\t// Pega dados do Cliente\n \t\tif (carregaDados(\"clientes\"))\n \t\t{\n \t\t\t\n \t\t\tString clienteativo = \"N\";\n \t\t\t\n \t\t\t\n\t \t\tfor ( int nx = 0 ; nx < jsonArray.length();nx++)\n\t\t\t\t{\n\t \t\t\ttry {\n\n\t \t\t\t\t\n\t \t\t\t\tjson1 = jsonArray.getJSONObject(nx);\n\t \t\t\t\t// antigo\n\t \t\t\t\t//orgaoautuador = json1.getString(\"orgao_transito\").subSequence(0, 6).toString();\n\t \t\t\t\t\n\t \t\t\t\t// atual , ainda nao foi feito o deploy\n\t \t\t\t\torgaoautuador = \"2\" + json1.getString(\"orgaoAutuador\").toString() + \"0\";\t\t\t \t\t\t\t\n\t \t\t\t\tprefeitura = json1.getString(\"prefixo\");\n\t\t\t\t\t\tsigla = json1.getString(\"sigla\");\n\t\t\t\t\t\t\n\t\t\t\t\t\tclienteativo = \"S\";\n\t \t\t\t\t// Prefeitura Ativa ?\n\t \t\t\t\tif ( json1.getString(\"status\").toUpperCase().contains(\"INATIVO\")) clienteativo = \"N\";\n\t\n\t\t\t\t\t} catch (JSONException e) {\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\tret = false ;\n\t\t\t\t\t\terrofatal =true;\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t}\n \t\t\t\n\t \t\t// limpa tabela quando est� inicializando o PDA\n\t \t\t//if ( tipx.contains(\"1\")) definedao.delete();\n\t \t\t\n\t \t\t//definedao.delete();\n\t \t\t\n\t \t\tfor ( int nx = 0 ; nx < jsonArray1.length();nx++)\n\t\t\t\t{\n\t\t\t\t\t\n\t\t\t\t\tParametro define = new Parametro();\n\t\t\t\t\t\n\t\t\t\t\ttry {\n\t\t\t\t\t\n\t\t\t\t\t\t// nao � necess�rio validar o munic�pio pois no baseandroid.zip\n\t\t\t\t\t\t// deve ser colocado o municipio correto de opera��o\n\t\t\t\t\t\t//\n\t\t\t\t\t\t// conferir somente a SERIE do PDA\n\t\t\t\t\t\t\n\t\t\t\t\t\tjson1 = jsonArray1.getJSONObject(nx);\n\t\t\t\t\t\t\n\t\t\t\t\t\tlong faixaAitInicial = Long.parseLong(json1.getString(\"faixaAitInicial\"));\n\t\t\t\t\t\tlong faixaAitFinal = Long.parseLong(json1.getString(\"faixaAitFinal\"));\n\n\t\t\t\t\t\t// debug - - retirar\n\t\t\t\t\t\t//define.setProximoait(\"0000525\");\n\n\t\t\t\t\t\t//define.setProximoait(String.valueOf(faixaAitInicial));\n\t\t\t\t\t\t//define.setAitinicial(String.valueOf(faixaAitInicial));\n\t\t\t\t\t\t//define.setAitfinal(String.valueOf(faixaAitFinal));\n\t\t\t\t\t\t\n\t\t\t\t\t\t// somente define proximo ait na inicializa��o...\n\t\t\t\t\t\ttry\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tdefine.setProximoait(SimpleCrypto.encrypt(info,String.format(\"%07d\", faixaAitInicial)));\n\t\t\t\t\t\t\tdefine.setAitinicial(SimpleCrypto.encrypt(info,String.format(\"%07d\", faixaAitFinal)));\n\t\t\t\t\t\t\tdefine.setAitfinal(SimpleCrypto.encrypt(info,String.format(\"%07d\", faixaAitFinal)));\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tdefine.setSeriepda(SimpleCrypto.encrypt(info,json1.getString(\"numero\")));\n\t\t\t\t\t\t\tdefine.setPrefeitura(SimpleCrypto.encrypt(info,prefeitura));\n\t\t\t\t\t\t\tdefine.setSigla(SimpleCrypto.encrypt(info,sigla));\n\t\t\t\t\t\t\tdefine.setOrgaoautuador(SimpleCrypto.encrypt(info,orgaoautuador));\n\t\t\t\t\t\t\tdefine.setSerieait(SimpleCrypto.encrypt(info,json1.getString(\"serieAit\")));\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tdefine.setServidorftp(SimpleCrypto.encrypt(info,servidorftp));\n\t\t\t\t\t\t\tdefine.setUsuarioftp(SimpleCrypto.encrypt(info,usuarioftp));\n\t\t\t\t\t\t\tdefine.setSenhaftp(SimpleCrypto.encrypt(info,senhaftp));\n\t\t\t\t\t\t\tdefine.setArquivobaseftp(SimpleCrypto.encrypt(info,arquivobaseftp));\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tdefine.setImpressoraMAC(SimpleCrypto.encrypt(info,impressora));\n\t\t\t\t\t\t\tdefine.setImprimeobs(SimpleCrypto.encrypt(info,imprimeobs));\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t// para acessos futuros\n\t\t\t\t\t\t\tdefine.setUsuariowebtrans(SimpleCrypto.encrypt(info,usuarioWebTrans));\n\t\t\t\t\t\t\tdefine.setSenhawebtrans(SimpleCrypto.encrypt(info,senhaWebTrans));\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t// id nao � encriptado\n\t\t\t\t\t\t\tdefine.setIdwebtrans(Long.toString(json1.getLong(\"idequipamento\")));\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t// PDA Ativo ?\n\t\t\t\t\t\t\tdefine.setAtivo(SimpleCrypto.encrypt(info,\"S\"));\n\t\t\t\t\t\t\tif ( json1.getString(\"status\").toUpperCase().contains(\"INATIVO\"))\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tdefine.setAtivo(SimpleCrypto.encrypt(info,\"N\"));\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Prefeitura Ativa ?\n\t\t\t\t\t\tdefine.setPrefativa(SimpleCrypto.encrypt(info,\"N\"));\n\t\t\t\t\t\tif ( clienteativo.equals(\"S\")) define.setPrefativa(SimpleCrypto.encrypt(info,\"S\")); \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t//if ( tipx.contains(\"1\"))\n\t\t\t\t\t\t\tpaDao.atualizastatus(define);\n\t\t\t\t\t\t//else\n\t\t\t\t\t\t\t// Atualiza o Status de Ativo/Desativo\n\t\t\t\t\t\t//\tdefinedao.atualizastatus(define);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcatch ( Exception ex)\n\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\t} catch (JSONException 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\tret = false ;\n\t\t\t\t\t\terrofatal =true;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\n \t\t}\n \t\t\n \t\tpaDao.close();\n \t\t\n \t\t//buscaPDA(cxseriePDA);\n \t\t\n \t\t// criptografa definePDA...\n \t\t\n\t\t//}\n \t//else\n \t//{\n \t//\terrofatal =true;\n \t//\tret = false;\n \t//}\n\t\t\n\t\treturn ret;\n\t\t\n\t}", "title": "" }, { "docid": "a2a73eba9feb2cc750f69d82e4572f58", "score": "0.5949878", "text": "Trabajador buscarUno(int idTrabajador);", "title": "" }, { "docid": "78ce92462ba480d373503c8698a43336", "score": "0.5948239", "text": "private void cambiarEstadoDeReserva() {\n }", "title": "" }, { "docid": "d65a452e3ef5b77b9950804b5b9c12ae", "score": "0.5936587", "text": "@Override\n\tpublic void trajeto(int quilometros) {\n\t\t\n\t}", "title": "" }, { "docid": "8219e21e1a41bd237a8fd5a0e872b830", "score": "0.59280324", "text": "public AluguelConcluidoPesquisarTela() {\n }", "title": "" }, { "docid": "fb8e14464062ebb1b2513440f8b63a5a", "score": "0.59212667", "text": "public TelaTratamento() {\n initComponents();\n }", "title": "" }, { "docid": "385f118560eb6b102347a889d249cc35", "score": "0.59149015", "text": "private void ucitajSveKlijente()\n\t{\n\t\t\n\t\tKlijentDao kdao = KlijentDao.get();\n\t\tCollection<Klijent> klijenti = kdao.readAll();\n\t\tsortirajPoPrezimenu(klijenti);\n\t\tDefaultTableModel model = (DefaultTableModel) table.getModel();\n\t\t\n\t\t\n\t\t\n\t\tucitajKlijente(klijenti);\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "864f6d967ec79fd2e760e87729996453", "score": "0.59131056", "text": "public void verificarTablero();", "title": "" }, { "docid": "41fb45def956abf018769eac261a47e6", "score": "0.59127396", "text": "public transaksionline() {\n initComponents();\n \n loadData();\n kondisiawal();\n loadcomatm();\n loadcomtoko();\n auto_number();\n \n }", "title": "" }, { "docid": "5fc4e5f6dfe96e6d0c1fa383b8b471c8", "score": "0.59122205", "text": "public abstract void tratarColisionEscenarioX();", "title": "" }, { "docid": "90c33c4812f982c17a708386c0005afe", "score": "0.5907226", "text": "public UIManQuarto() {\n initComponents();\n preencherTabela();\n }", "title": "" }, { "docid": "c0451f67fc1cf947106fec831a3dceb2", "score": "0.5907132", "text": "protected void Cadastrar() {\n\t\t\n\t}", "title": "" }, { "docid": "b801af3068def19e986f612290188ffc", "score": "0.59058326", "text": "public void tabelaComparativa() {\n\r\n\t}", "title": "" }, { "docid": "ddb2e38c6f4b10f9146161aaf6ba20ec", "score": "0.59040695", "text": "public Tramite creaTramite(String nomTramit) {\r\n\t\t/*\r\n\t\tselectOption(\"fase\", \"Instrucción\");\r\n setTextField(\"textoFechaCaducidad\",\"10/02/2010\");\t\r\n setTextField(\"textoFechaPublicacion\",\"10/12/2009\");\r\n setTextField(\"textoFechaActualizacion\",\"10/12/2009\");\r\n setTextField(\"idUA\",\"1\"); //1 = \"Govern de les Illes Balears\");\r\n setTextField(\"descTaxa\",\"descripcion taxa\"); \r\n setTextField(\"formaPagamentTaxa\",\"en efectiu\");\r\n setTextField(\"codiTaxa\",\"123456\");\r\n setTextField(\"versio\",\"1\");\r\n setTextField(\"urlExterna\",\"http://urlExterna\");\r\n setTextField(\"traducciones[0].nombre\",nomTramit);\r\n setTextField(\"traducciones[0].documentacion\",\"portar dni\");\r\n setTextField(\"traducciones[0].plazos\",\"3 meses\");\r\n\r\n\t\t */\r\n\t\tTramite t=new Tramite();\r\n\t\t//t.setId(0); si id=null -> hibernate=insert, sino hibernate=update\r\n\t\tt.setCodiVuds(\"20091010\");\r\n\t\tt.setOrden(0L);\r\n\t\t\r\n\t\tCalendar c=Calendar.getInstance();\r\n\t\tc.set(2010,2,10);\r\n\t\tt.setDataCaducitat(c.getTime());\r\n\t\tc.set(2009,12,10);\r\n\t t.setDataPublicacio(c.getTime());\r\n\t\tc.set(2010,2,10);\r\n\t t.setDataActualitzacio(c.getTime());\r\n\t \r\n\t /* FIXME \r\n\t\tt.setCodiTaxa(\"12345\");\r\n\t\tt.setDescTaxa(\"desc\");\r\n\t\tt.setFormaPagamentTaxa(\"\");\r\n\t\t*/\r\n\t\t\r\n/*\tcollections se ponen desde otro action\t\r\n\t\tSet<Formulario> formularios=new HashSet<Formulario>();\r\n\t\tFormulario f=new Formulario();\r\n\t\t//f.setId(123L);\r\n\t\tf.setUrl(\"URL1\");\r\n\t\tformularios.add(f);\r\n\t\tt.setFormularios(formularios);\r\n\t\t\r\n\t\tSet<String> docsPresentar = new HashSet<String>();\r\n\t\tdocsPresentar.add(\"DOC1\");\r\n\t\tt.setDocsPresentar(docsPresentar);\r\n\r\n\t\tSet<Documento> docsInformatius = new HashSet<Documento>();\r\n\t\tDocumento docinf=new Documento();\r\n\t\tdocinf.setId(333L);\r\n\t\tdocsInformatius.add(docinf);\r\n\t\tt.setDocsInformatius(docsInformatius);\r\n*/\r\n\t\t\r\n\t\tTraduccionTramite traduccio=new TraduccionTramite();\r\n\t\ttraduccio.setNombre(nomTramit);\r\n\t\ttraduccio.setDescripcion(\"desc\");\r\n\t\ttraduccio.setObservaciones(\"obs\");\r\n\t\ttraduccio.setPlazos(\"3 mesos\");\r\n\r\n\t\t\r\n\t\tt.setTraduccion(\"ca\", traduccio);\r\n\t\tProcedimientoLocal procedimiento = new ProcedimientoLocal();\r\n\t\tprocedimiento.setFamilia(new Familia());\r\n\t\tt.setProcedimiento(procedimiento);\r\n\t\t\r\n\t\t// es comenta perque aquest id es posa al fer la crida a grabar()\r\n\t\t//UnidadAdministrativa oc = new UnidadAdministrativa(202L); \r\n\t\t//t.setOrganCompetent(oc);\r\n\t\t\r\n\t\treturn t;\r\n\t}", "title": "" }, { "docid": "cf4b9bbe1594de1c8888587b8e117a7a", "score": "0.59028494", "text": "public void NuevoRegistroTrabajadorFormal(TrabajadorFormal x){\n //Datos usuario\n String cod = Integer.toString(x.getCodigo());\n String nombre = x.getNombre();\n String apellido = x.getApellido();\n String tel = Integer.toString(x.getTelefono());\n String correo = x.getCorreo();\n \n //Datos TrabajadorFormal\n String edad = Integer.toString(x.getEdad());\n String educacion = Integer.toString(x.getNivelEducacion());\n String idioma = Integer.toString(x.getIdiomas());\n String exp = String.valueOf(x.getExperiencia());\n String trans = String.valueOf(x.getTransporte());\n String home = String.valueOf(x.getHomeOffice());\n String expertise = Integer.toString(x.getNivelExpertise());\n String fila = cod+\",\"+nombre+\",\"+apellido+\",\"+correo+\",\"+tel+\",\"+edad+\",\"+educacion+\",\"+idioma+\",\"+exp+\",\"+trans+\",\"+home+\",\"+expertise;\n registrarBD(fila, \"TABLA2\");\n }", "title": "" }, { "docid": "cec6baae23fbddc4fcf6efbde2366229", "score": "0.5902109", "text": "public void ejecucion() throws Exception {\n\t\t//Activamos las trazas\n\t\tsetTrazaFichero();\n\t\n\t\ttry{\n\t\t\t//Sacamos la acción a realizar y ejecutamos la acción correspondiente\n\t\t\tString accion = conectorParametro(PARAMETRO_GENERICO_ACCION);\n\t\t\tString origen = conectorParametro(PARAMETRO_GENERICO_ORIGEN);\n\t\t\t\n\t\t\t//Caragamos los elemetnos en la pagina\n\t\t\tasignar(\"VAR\",PARAMETRO_GENERICO_ACCION,accion);\n\t\t\tasignar(\"VAR\",PARAMETRO_GENERICO_ORIGEN,origen);\n\t\n\t\t\t//Ejecutamos la acción indicada\n\t\t\tif(accion.equals(ACCION_CREATE)) cmdCreate();\n\t\t\tif(accion.equals(ACCION_UPDATE)) cmdUpdate();\n\t\t\tif(accion.equals(ACCION_REMOVE)) cmdRemove();\n\t\t}catch(Exception e){\n\t\t\thandleException(e);\n\t\t}\n }", "title": "" }, { "docid": "271aa87d8ce879f5730bf820ef9724e9", "score": "0.59001607", "text": "@Test\r\n public void testPuenteMostrarTabla() {\r\n System.out.println(\"PuenteMostrarTabla\");\r\n JTable TablaO = new JTable();\r\n PuenteObservaciones instance = new PuenteObservaciones();\r\n JTable expResult = TablaO;\r\n JTable result = instance.PuenteMostrarTabla(TablaO);\r\n assertEquals(expResult, result);\r\n }", "title": "" }, { "docid": "c60452ec140536c1e816105d33135df7", "score": "0.5896299", "text": "public void criarTransacao() {\n\t}", "title": "" }, { "docid": "a5a8fde26a62130f9ec1234464bcdb0b", "score": "0.58885926", "text": "public Tradicional() \n {\n int rpta = 0;\n do{\n System.out.println(\"\\nSeleccione MODELO DE TELEFONO\\n1- Almeja\\n2- Slice\\n3- Normal\");\n rpta= Leer.datoInt();\n switch (rpta) {\n case 1:\n this.tipoFono = \"Almeja\";\n break;\n case 2:\n this.tipoFono = \"Slice\";\n break;\n case 3:\n this.tipoFono = \"Normal\";\n break;\n default:\n System.out.println(\"\\n**INGRESE UNA OPCION VALIDA**\");\n break;\n }\n }while(rpta!=1&&rpta!=2&&rpta!=3);\n }", "title": "" }, { "docid": "8184a7e08bc0c3f8fed6d698a821bcf4", "score": "0.5887677", "text": "@Override\n\tprotected void horario() {\n\t\t\n\t}", "title": "" }, { "docid": "400c91ad980ab56311e6178e4a4973fa", "score": "0.5880128", "text": "public Controlador()\n {\n this.interfaz = new Interfaz(TITULO_VENTANAS, NOMBRE_ARCHIVO_IMAGEN);\n filas=0;\n columnas=0;\n this.tablero=new TableroDeCompus(filas, columnas);\n this.arbitro= new Arbitro(tablero);\n }", "title": "" }, { "docid": "abde9aa782f0e9d2cbec9d58f7af60f0", "score": "0.5875941", "text": "public void ejecucion() throws Exception {\n\n asignarAtributoPagina(\"cod\", \"08\");\n \n\t\tsetTrazaFichero();\n\n\t\ttry\t{\n\t\t\t\n\t\t\t// Rastreo\n\t\t\trastreo();\n\n\t\t\tString sAccion = conectorParametroLimpia(\"accion\",\"\",true); \n\n\t\t\tString sPais = conectorParametroLimpia(\"hidPais\",\"\",true); \n\t\t\tString sNSEBelcorp = conectorParametroLimpia(\"comboNSEBelcorp\",\"\",true); \n\t\t\tString sNSEPais = conectorParametroLimpia(\"comboNSEPais\",\"\",true); \n\n\t\t\tVector paramEntrada = new Vector();\n\t\t\tVector paramEntradaDefAsocNiv = new Vector();\n\t\t\tVector paramEntradaRec = new Vector();\n\t\t\t\n\t\t\tDruidaConector conectorCargarPaginaDefinirNiveles = null;\n\t\t\tDruidaConector conectorDefinirAsociacionNiveles = null;\n\n\t\t\tDTOInternacional dtoeInter = new DTOInternacional();\t \n\t\t\tDTOListaAsociacionNiveles dtoeAsociNiv = new DTOListaAsociacionNiveles();\t \n\n\t\t\tStringTokenizer stkNSEBelcorp = null;\n\t\t\tStringTokenizer stkNSEPais = null;\n\n\t\t\ttraza(\"accion: \" + sAccion);\n\n traza(\"sPais: \" + sPais);\n\t\t\ttraza(\"sNSEBelcorp: \" + sNSEBelcorp);\n\t\t\ttraza(\"sNSEPais: \" + sNSEPais);\n\n\t\t\tif (sAccion.equals(\"\") || sAccion.equals(\"seleccion de pais\")) { \n\t\t\t\t\n\t\t\t\tdtoeInter.setOidPais(sAccion.equals(\"\")?UtilidadesSession.getPais(this):Long.valueOf(sPais));\t\t\t\n\t\t\t\t\n\t\t\t\tdtoeInter.setOidIdioma(UtilidadesSession.getIdioma(this));\t\t\t\t\n\t\t\t\t\n\t\t\t\tasignarAtributo(\"VAR\",\"hidPais\",\"valor\", sAccion.equals(\"\")?UtilidadesSession.getPais(this).toString():sPais);\t\t\n\t\t\t\t\n\t\t\t\ttraza(\"dtoeInter: \" + dtoeInter);\n\n\t\t\t\tparamEntrada.add(dtoeInter);\n\t\t\t\tparamEntrada.add(new MareBusinessID(\"SEGCargarPaginaDefinirNiveles\"));\n \n\t\t\t\ttraza(\"antes 1.1\");\n\t\t\t\tconectorCargarPaginaDefinirNiveles = conectar(\"ConectorCargarPaginaDefinirNiveles\", paramEntrada);\n\t\t\t\ttraza(\"despues 1.1\");\n\n\t\t\t\ttraza(\"ConectorCargarPaginaDefinirNiveles: \" + conectorCargarPaginaDefinirNiveles.getXML().toString());\n\n asignar(\"COMBO\",\"comboPais\",conectorCargarPaginaDefinirNiveles,\"dtoSalida.paises_ROWSET\");\t\t\t\n\t\t\t\tasignar(\"COMBO\",\"comboNSEBelcorp\",conectorCargarPaginaDefinirNiveles,\"dtoSalida.nivelesSocioeconomicosBelcorp_ROWSET\");\t\t\t\n\t\t\t\tasignar(\"COMBO\",\"comboNSEPais\",conectorCargarPaginaDefinirNiveles,\"dtoSalida.tiposNivelesSocioeconomicosPersonal_ROWSET\");\t\t\t\n\n\t\t\t} else if (sAccion.equals(\"guardar\")) {\n\n pagina(\"salidaGenerica\");\n\n\t\t\t\tstkNSEBelcorp = new StringTokenizer(sNSEBelcorp,\"|\");\n\t\t\t\tstkNSEPais = new StringTokenizer(sNSEPais,\",|\");\n\n\t\t\t\tArrayList arrLstAsociaciones = new ArrayList();\n\t\t\t\tAsociacionNivelesDTO asociacion = null;\n\t\t\t\t\t\t\t\n\t\t\t\twhile (stkNSEBelcorp.hasMoreTokens()) {\n\n\t\t\t\t\tLong oidNivelSocioeconomicoBelcorp = Long.valueOf(stkNSEBelcorp.nextToken());\n\t\t\t\t\tstkNSEPais = new StringTokenizer(sNSEPais,\",|\");\n\t\t\t\t\t\n\t\t\t\t\twhile (stkNSEPais.hasMoreTokens()) {\n\n\t\t\t\t\t\tasociacion = new AsociacionNivelesDTO();\n\t\t\t\t\t\tasociacion.setOidNivelSocioeconomicoBelcorp(oidNivelSocioeconomicoBelcorp);\n\t\t\t\t\t\tasociacion.setOidTipoNivelSocioeconomicoPersonal(Long.valueOf(stkNSEPais.nextToken()));\n\n\t\t\t\t\t\tarrLstAsociaciones.add(asociacion);\t\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\ttraza(\"arrLstAsociaciones \" + arrLstAsociaciones);\n\n\t\t\t\tdtoeAsociNiv.setAsociaciones((AsociacionNivelesDTO[])arrLstAsociaciones.toArray(new AsociacionNivelesDTO[0]));\n\n\t\t\t\tdtoeAsociNiv.setIpCliente(UtilidadesBelcorp.getIPCliente(this));\t\t\t\t\n dtoeAsociNiv.setPrograma(UtilidadesSession.getFuncion(this));\n\t\t\t\ttraza(\"encontro IP Cliente y funcion\");\n\n\t\t\t\tparamEntradaDefAsocNiv.add(dtoeAsociNiv); \n\t\t\t\tparamEntradaDefAsocNiv.add(new MareBusinessID(\"SEGDefinirAsociacionNiveles\"));\n \n\t\t\t\ttraza(\"antes 3.1\");\n\t\t\t\tconectorDefinirAsociacionNiveles = conectar(\"ConectorDefinirAsociacionNiveles\", paramEntradaDefAsocNiv);\n\t\t\t\ttraza(\"despues 3.1\");\n\n\t\t\t\t// Vuelve a la pantalla inicial\n\t\t\t\tdtoeInter.setOidPais(UtilidadesSession.getPais(this));\t\t\t\n\t\t\t\tdtoeInter.setOidIdioma(UtilidadesSession.getIdioma(this));\t\t\t\t\n\t\t\t\ttraza(\"dtoeInter: \" + dtoeInter);\n\n\t\t\t\tparamEntradaRec.add(dtoeInter);\n\t\t\t\tparamEntradaRec.add(new MareBusinessID(\"SEGCargarPaginaDefinirNiveles\"));\n \n\t\t\t\tconectorCargarPaginaDefinirNiveles = conectar(\"ConectorCargarPaginaDefinirNiveles\", paramEntradaRec);\n\n asignarAtributo(\"VAR\",\"ejecutar\",\"valor\",\"persistioOk('\" + UtilidadesSession.getPais(this).toString()+\"');\");\n\n\t\t\t}\n\n\t\t}catch (Exception ex){\n \n\t\t\tlogStackTrace(ex); \n\n\t\t\tthis.lanzarPaginaError(ex);\n asignarAtributo(\"VAR\",\"ejecutarError\",\"valor\",\"noPersistio();\");\n\t }\n\n\t\tgetConfiguracionMenu(\"LPDefinirNivelesSocioeconomicos\");\n\t}", "title": "" }, { "docid": "8eac239c9b7c39745ceb72fb7916e30b", "score": "0.5873391", "text": "public void perfecto () throws Errores{\n id = userJTF.getText();\n //Al Objeto-Variable pass le vamos a asignar un valor que el usuario ingresara\n pass = passJPF.getText();\n //Se instancia un nuevo objeto de la clase Trabajadores\n Trabajadores trab1 = new Trabajadores();\n \n //Estructura de control, para con el objeto, mandar a llamar al metodo\n //Comprobacion para comprobar que el usuario si es usuario.\n if (trab1.comprobacion(id, pass) == true) {\n JOptionPane.showMessageDialog(null, \"Iniciado con exito\");\n //Si coinciden la id y el password, da exito de conexion.\n //Si coincide con un id y pass de gerente entonces se da lugar a Gerente.\n if (trab1.puesto(id, pass).equals(\"Gerente\")) {\n Gerente vip = new Gerente(id, pass);\n vip.showUser(id, pass);\n vip.Cobrar();\n //Si no, empleado.\n } else {\n Empleado gen = new Empleado(id, pass);\n\n }\n\n } else {\n JOptionPane.showMessageDialog(null, \"Intente nuevamente\");\n setVisible(true);\n }\n }", "title": "" }, { "docid": "1a14c15351f9745381cea8eba34abdbe", "score": "0.58615875", "text": "@Override\n protected void creaRecords() {\n /* variabili e costanti locali di lavoro */\n\n try { // prova ad eseguire il codice\n this.creaNazioni();\n } catch (Exception unErrore) { // intercetta l'errore\n Errore.crea(unErrore);\n }// fine del blocco try-catch\n }", "title": "" }, { "docid": "dda3b5a5b8e9e69b6eec0807bf162606", "score": "0.5847651", "text": "@Override\r\n\tpublic void rozmnozovat() {\n\t\t\r\n\t}", "title": "" }, { "docid": "42693116fba02f3f07be1ab752c6d9bc", "score": "0.5840028", "text": "@Override\r\n\tpublic void concentrarse() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2019e12c4aac7cfabc0f63807d11221d", "score": "0.5836225", "text": "@Override\n\tprotected void refrescarTabla() throws Exception {\n\t\tint ind = 0;\n\t\tProveedor proveedor = (Proveedor) this.obtenerObjetoDelElementoPila(ind++, Proveedor.class);\n\t\tCuentaCorriente cuentaCorriente = new CuentaCorriente();\n\t\t// double totalAdeudado = 0.0;\n\t\tboolean err = false;\n\n\t\tif(proveedor == null) {\n\t\t\twarn(\"Debe seleccionar un Proveedor para realizar la b\\372squeda.\");\n\t\t\terr = true;\n\t\t}\n\n\t\tif(!err) {\n\t\t\ttry {\n\t\t\t\tthis.getCommunicationCajaBean().getRemoteSystemAdministracionEgresos().setLlave(this.getSessionBean1().getLlave());\n\t\t\t\tcuentaCorriente = (CuentaCorriente) this.getCommunicationCajaBean().getRemoteSystemAdministracionEgresos().generarCuentaCorriente(proveedor);\n\t\t\t} catch(Exception ex) {\n\t\t\t\tlog(getCasoNavegacion() + \"_AdminEstadoCuentaCorriente: \" + ex);\n\t\t\t\terror(getNombrePagina() + \" - Administrar Estado de Cuenta Corriente: \" + ex.getMessage());\n\t\t\t\tex.getStackTrace();\n\t\t\t}\n\n\t\t\t// ingreso\n\t\t\tthis.getObjectListDataProvider().setList(cuentaCorriente.getListaMovimientosIngreso());\n\t\t\tthis.setListaDelCommunication(cuentaCorriente.getListaMovimientosIngreso());\n\n\t\t\t// egreso\n\t\t\tthis.getObjectListDataProvider2().setList(cuentaCorriente.getListaMovimientosEgreso());\n\t\t\tthis.setListaDelCommunication2(cuentaCorriente.getListaMovimientosEgreso());\n\n\t\t\t//\n\t\t\t// for (int i = 0; i < this.getListaDelCommunication().size(); i++)\n\t\t\t// {\n\t\t\t// EstadoCuentaContribuyente locEstadoCuentaContribuyente =\n\t\t\t// (EstadoCuentaContribuyente)\n\t\t\t// this.getListaDelCommunication().get(i);\n\t\t\t// totalAdeudado +=\n\t\t\t// locEstadoCuentaContribuyente.getTotalAdeudado().doubleValue();\n\t\t\t//\n\t\t\t// }\n\t\t\tthis.getStSaldo().setText(Conversor.getStringDeDouble(cuentaCorriente.getSaldo()));\n\t\t\tthis.getElementoPila().getObjetos().set(1, cuentaCorriente.getSaldo());\n\t\t} else {\n\t\t\tthis.getObjectListDataProvider().setList(null);\n\t\t\tthis.setListaDelCommunication(null);\n\t\t\tthis.getObjectListDataProvider2().setList(null);\n\t\t\tthis.setListaDelCommunication2(null);\n\t\t}\n\n\t}", "title": "" }, { "docid": "30efcac699c2b057420f5c626f511ab8", "score": "0.5835823", "text": "public abstract void tratarColisionEscenarioY();", "title": "" }, { "docid": "feba6a3f3069c37983fd8cb7fec4d595", "score": "0.5835558", "text": "public void borrarTablaProyecto() {\n\r\n\t}", "title": "" }, { "docid": "98a3ddd289db5b4cb379177335af6dd5", "score": "0.58318174", "text": "public void ejecucion() throws Exception {\n\t\ttry{\n\t\t\t//Ejecutamos las acciones comunes\n\t\t\tsuper.ejecucion();\n\t\t\n\t\t\t//Metemos en la sesión la query de la busqueda en formato param1|param2|....|paramN(para el tema de volver a la \n\t\t\t//pagina anterior y ,mantener los últimos resultados)\n\t\t\tconectorParametroSesion(SESSION_ATTRIBUTE_LAST_QUERY, \n\t\t\t\tconectorParametroSesion(SESSION_ATTRIBUTE_LAST_QUERY));\n\t\t\t\n\t\t\ttraza(\"MMG:: LLegao a transaction Query de entidad MaeExencFlete\");\n\t\t\tString ticlOidTipoClie = (String)getEntrada(\"ticlOidTipoClie\");\n\t\t\ttraza(\"MMG:: Valor de atributo ticlOidTipoClie: \" + ticlOidTipoClie);\n\t\t\tString sbtiOidSubtClie = (String)getEntrada(\"sbtiOidSubtClie\");\n\t\t\ttraza(\"MMG:: Valor de atributo sbtiOidSubtClie: \" + sbtiOidSubtClie);\n\t\t\tString tcclOidTipoClas = (String)getEntrada(\"tcclOidTipoClas\");\n\t\t\ttraza(\"MMG:: Valor de atributo tcclOidTipoClas: \" + tcclOidTipoClas);\n\t\t\tString clasOidClas = (String)getEntrada(\"clasOidClas\");\n\t\t\ttraza(\"MMG:: Valor de atributo clasOidClas: \" + clasOidClas);\n\t\t\tString indExenFlet = (String)getEntrada(\"indExenFlet\");\n\t\t\ttraza(\"MMG:: Valor de atributo indExenFlet: \" + indExenFlet);\n\t\t\t\n\t\t\n\t\t\t//Construimos los MSOs (from y to) con los elementos de la búsqueda\n\t\t\tMaeExencFleteData maeExencFleteFrom =new MaeExencFleteData();\n\t\t\tMaeExencFleteData maeExencFleteTo = new MaeExencFleteData();\n\t\t\t\n\t\t\t//Construimos el from. Los campos que no sean de intervalo ponemos\n\t\t\t//el mismo valor que el from. y los que si sen de intervalo ponemos el valor\n\t\t\t//corespondiente\n\t\t\tes.indra.belcorp.mso.MaeTipoClienData ticlOidTipoClieData = null;\n\t\t\tif(ticlOidTipoClie != null && !ticlOidTipoClie.trim().equals(\"\")){\n\t\t\t\tticlOidTipoClieData = new es.indra.belcorp.mso.MaeTipoClienData();\n\t\t\t\tticlOidTipoClieData.setId(new Long(ticlOidTipoClie));\n\t\t\t}\n\t\t\tmaeExencFleteFrom.setTiclOidTipoClie(ticlOidTipoClieData);\n\t\t\tes.indra.belcorp.mso.MaeSubtiClienViewData sbtiOidSubtClieData = null;\n\t\t\tif(sbtiOidSubtClie != null && !sbtiOidSubtClie.trim().equals(\"\")){\n\t\t\t\tsbtiOidSubtClieData = new es.indra.belcorp.mso.MaeSubtiClienViewData();\n\t\t\t\tsbtiOidSubtClieData.setId(new Long(sbtiOidSubtClie));\n\t\t\t}\n\t\t\tmaeExencFleteFrom.setSbtiOidSubtClie(sbtiOidSubtClieData);\n\t\t\tes.indra.belcorp.mso.MaeTipoClasiClienViewData tcclOidTipoClasData = null;\n\t\t\tif(tcclOidTipoClas != null && !tcclOidTipoClas.trim().equals(\"\")){\n\t\t\t\ttcclOidTipoClasData = new es.indra.belcorp.mso.MaeTipoClasiClienViewData();\n\t\t\t\ttcclOidTipoClasData.setId(new Long(tcclOidTipoClas));\n\t\t\t}\n\t\t\tmaeExencFleteFrom.setTcclOidTipoClas(tcclOidTipoClasData);\n\t\t\tes.indra.belcorp.mso.MaeClasiViewData clasOidClasData = null;\n\t\t\tif(clasOidClas != null && !clasOidClas.trim().equals(\"\")){\n\t\t\t\tclasOidClasData = new es.indra.belcorp.mso.MaeClasiViewData();\n\t\t\t\tclasOidClasData.setId(new Long(clasOidClas));\n\t\t\t}\n\t\t\tmaeExencFleteFrom.setClasOidClas(clasOidClasData);\n\t\t\tmaeExencFleteFrom.setIndExenFlet(\n\t\t\t\t(java.lang.String)FormatUtils.parseObject(indExenFlet, \"java.lang.String\", \n\t\t\tMMGDruidaHelper.getUserDecimalFormatPattern(this)\n\t\t\t, MMGDruidaHelper.getUserDecimalFormatSymbols(this)));\n\t\t\t\n\t\t\t\n\t\t\t//Construimos el to\n\t\t\tmaeExencFleteTo = (MaeExencFleteData)maeExencFleteFrom.clone();\n\t\t\t\n\t\t\t\n\t\t\t//Metemos tanto el fromo como el to como últimos mso con parámetros de búsqueda\n\t\t\tconectorParametroSesion(SESSION_ATTRIBUTE_LAST_QUERY_OBJ_FROM, maeExencFleteFrom);\n\t\t\tconectorParametroSesion(SESSION_ATTRIBUTE_LAST_QUERY_OBJ_TO, maeExencFleteTo);\n\t\t\t\n\t\t\t//Sacamos los datos de paginación\n\t\t\tInteger pageCount = new Integer((String)getEntrada(\"pageCount\"));\n\t\t\tInteger pageSize = new Integer((String)getEntrada(\"pageSize\"));\n\t\t\t\n\t\t\t//Creamos el dto y el bussines id correspondientes a la acción de realiza una query\n\t\t\tVector datos = new Vector();\n\t\t\tMareDTO dto = new MareDTO();\n\t\t\tdto.addProperty(\"maeExencFleteFrom\", maeExencFleteFrom);\n\t\t\tdto.addProperty(\"maeExencFleteTo\", maeExencFleteTo);\n\t\t\tdto.addProperty(\"pageCount\", pageCount);\n\t\t\tdto.addProperty(\"pageSize\", pageSize);\n\t\t\tdto.addProperty(\"userProperties\", MMGDruidaHelper.getUserProperties(this));\n\t\t\t\n\t\t\tdatos.add(dto);\n\t\t\tdatos.add(new MareBusinessID(BUSINESSID_QUERY));\n\t\t\t\n\t\t\t//Ejecutamos la acción de prequery\n\t\t\tcmdPreQuery(maeExencFleteFrom, maeExencFleteTo);\n\t\t\t\n\t\t\t\n\t\t\t//Invocamos la lógica de negocio\n\t\t\ttraza(\"MMG:: Iniciada ejecución Query de entidad MaeExencFlete\");\n\t\t\tDruidaConector conectorQuery = conectar(CONECTOR_QUERY_LIST, datos);\n\t\t\ttraza(\"MMG:: Finalizada ejecución Query de entidad MaeExencFlete\");\n\t\t\t\n\t\t\t//Ejecutamos la acción de postquery\n\t\t\tcmdPostQuery(maeExencFleteFrom, maeExencFleteTo, conectorQuery);\n\t\t\t\n\t\n\t\t\t//Definimos el resultado del conector\n\t\t\tsetConector(conectorQuery);\n\t\t}catch(Exception e){\n\t\t\thandleException(e);\n\t\t}\n\t}", "title": "" }, { "docid": "1dc303095676c1e0fcc1424e870d054f", "score": "0.58273864", "text": "public void buildTorta();", "title": "" }, { "docid": "afc81d10d78f8cc7fd86382ce8050bce", "score": "0.58233744", "text": "public void tratarConductor(Object informacion);", "title": "" }, { "docid": "388760f6617923ef3eb3b0f944793ed2", "score": "0.58064806", "text": "public Table getTavola(Funzione funzione) {\n Table tavola = null;\n List<Servizio> lista = null;\n WamCompany company = (WamCompany) CompanySessionLib.getCompany();\n\n if (company != null) {\n lista = Servizio.getListByCompany(company);\n }// end of if cycle\n\n return tavola;\n }", "title": "" }, { "docid": "a9231f5f48960cdcc9c5ed10043e228c", "score": "0.5795452", "text": "public ArbolMViasBusqueda() {\n this.orden = 3;\n }", "title": "" }, { "docid": "48df86b71abd4cc08a3962878eeef3ea", "score": "0.57909125", "text": "public musteri() {\n initComponents();\n TabloDoldur();\n }", "title": "" }, { "docid": "bea34ab6a52e97a6caf237f699109a36", "score": "0.5790027", "text": "public void borrarTablaActividad() {\n\r\n\t}", "title": "" }, { "docid": "6df963785124a7ba063903d8228f1910", "score": "0.5789258", "text": "private void inicializar() {\r\n\r\n }", "title": "" }, { "docid": "86a0b8147656652a76f98c8d8096c1b1", "score": "0.57841945", "text": "private void crearEntidad()\r\n/* 143: */ {\r\n/* 144:193 */ this.rutaFabricacion = new RutaFabricacion();\r\n/* 145:194 */ this.rutaFabricacion.setIdOrganizacion(AppUtil.getOrganizacion().getIdOrganizacion());\r\n/* 146:195 */ this.rutaFabricacion.setIdSucursal(AppUtil.getSucursal().getIdSucursal());\r\n/* 147: */ }", "title": "" }, { "docid": "dbb6f463b12f82115e9b53e5aad85e80", "score": "0.5782376", "text": "@Override\n public void builruedas() {\n Carro.setruedas(ConstruirPiezas(new RuedaConcreta())); // setea el valor de las ruedas creadas\n }", "title": "" }, { "docid": "9969c2cd0a26f223be9eea348d1c6160", "score": "0.57804805", "text": "private static void 로또수동생성() {\n\t\t\r\n\t}", "title": "" }, { "docid": "7a5dd3fcafd2f1afb78d75140f89f300", "score": "0.57801235", "text": "public abstract void tomarPocionDeAgua();", "title": "" }, { "docid": "cbdd2e8b0cb245d54e168be8b9e262cf", "score": "0.577892", "text": "public void mostrarTabela();", "title": "" }, { "docid": "fcc85ba2482267838148eda3d428a9e9", "score": "0.5761595", "text": "public void atualizarTabela(){\r\n \r\n \r\n /**\r\n * buscar lista com pessoas no BD\r\n */\r\n PessoaDAO pessoaDAO = new PessoaDAO();\r\n ArrayList<Model.PessoaInscrita> pessoas = pessoaDAO.selectAll();\r\n \r\n \r\n /**\r\n * exibir lista na view\r\n */\r\n helper.preencherTabela(pessoas);\r\n \r\n }", "title": "" }, { "docid": "dfcbc1f7c222f5cbc2845d29625de04c", "score": "0.57609355", "text": "@Override\n\tpublic void teclaVolverPreionada() {\n\t\t\n\t}", "title": "" }, { "docid": "faa755a33867018a4d23f6ea6355c732", "score": "0.5747495", "text": "private void inicializar() {\n this.accion = 0;\n\n controlador = new AsignacionHorarioControlador();\n hc = new HorarioControlador();\n gc = new GrupoHorarioControlador();\n ec = new EmpleadoControlador();\n listado = ObservableCollections.observableList(new ArrayList<AsignacionHorario>());\n horarioList = hc.buscarTodos();\n grupoList = gc.buscarTodos();\n\n this.controles(accion);\n\n }", "title": "" }, { "docid": "9c6a4ac999828e1aaf288099683cd073", "score": "0.574649", "text": "private void CargarTabla() {\n try {\n \n Object o[] = null;\n List<Paciente> listUsuarios = PC.findPacienteEntities();\n for (int i = 0; i < listUsuarios.size(); i++) {\n \n modelo.addRow(o);\n modelo.setValueAt(listUsuarios.get(i).getIdPaciente(), i, 0);\n modelo.setValueAt(listUsuarios.get(i).getNombres(), i, 1);\n modelo.setValueAt(listUsuarios.get(i).getApellidos(), i, 2);\n modelo.setValueAt(listUsuarios.get(i).getFechaNacimiento(), i, 3);\n modelo.setValueAt(listUsuarios.get(i).getDui(), i, 4);\n modelo.setValueAt(listUsuarios.get(i).getSexo(), i, 5);\n modelo.setValueAt(listUsuarios.get(i).getOcupacion(), i, 6);\n modelo.setValueAt(listUsuarios.get(i).getDireccion(), i, 7);\n modelo.setValueAt(listUsuarios.get(i).getEstadoCivil(), i, 8);\n modelo.setValueAt(listUsuarios.get(i).getTelefono(), i, 9);\n }\n } catch (Exception e) {\n JOptionPane.showMessageDialog(null, e.getMessage());\n }\n }", "title": "" }, { "docid": "d9b2d2d099c276eef573b7a44c0bc75b", "score": "0.5738249", "text": "public void insertarTablaCampos() {\n int filas = 0;\n\n tablemodel.addRow(new Object[0]);\n //NodoDoble flag = lista.inicio;\n\n try {\n\n for (int i = 0; i < listaCamps.size(); i++) {\n\n if (listaCamps.get(i).isKey() == true) {\n tablemodel.setValueAt(\"Si\", filas, 0);\n\n } else {\n tablemodel.setValueAt(\"No\", filas, 0);\n }\n\n tablemodel.setValueAt(listaCamps.get(i).getNombre(), filas, 1);\n tablemodel.setValueAt(listaCamps.get(i).getSize(), filas, 2);\n tablemodel.setValueAt(listaCamps.get(i).getTipo(), filas, 3);\n\n tablemodel.addRow(new Object[filas]);\n\n //flag = flag.siguiente;\n filas++;\n }\n\n } catch (Exception e) {\n\n }\n }", "title": "" }, { "docid": "9581acc7cc746f2c5feabed9b6afc470", "score": "0.573522", "text": "private void buscarSucursal(DefaultTableModel table) {\n if (!view.txt_buscarSucursal.getText().isEmpty() && view.txt_buscarSucursal.getText() != null) {\n //el campo tiene informacion\n //creamos un objeto de tipo sucursal y le enviamos \n Sucursal sucursal = new Sucursal();\n Sucursal nuevaSucursal = new Sucursal();\n sucursal.setId_sucursal(Integer.parseInt(view.txt_buscarSucursal.getText()));\n //se ejecuta el metodo de busqueda y se iguala al objeto anteriormente hecho\n nuevaSucursal = sqlsucursal.consultarRegistroSucursal(sucursal);\n //si es null no se encontro ningun registro con ese id\n if (nuevaSucursal != null) {\n //se encontro un registro\n //se crea un arreglo de tipo object en donde se le asigna a cada posicion la informacion de cada sucursal\n Object[] sucursalObject = new Object[6];\n sucursalObject[0] = nuevaSucursal.getId_sucursal();\n sucursalObject[1] = nuevaSucursal.getDescripcion();\n sucursalObject[2] = nuevaSucursal.getDireccion();\n sucursalObject[3] = nuevaSucursal.getTelefono();\n sucursalObject[4] = new ImageIcon(getClass().getResource(\"/icons/edit.png\")); //icono actualizar\n sucursalObject[5] = new ImageIcon(getClass().getResource(\"/icons/delete.png\")); //icono eliminar\n\n //se agrega la fila con la informacion\n table.addRow(sucursalObject);\n\n //se crean los botones en la tabla\n //boton de actualizar\n ButtonColumn btnUpdate = new ButtonColumn(view.jtable_sucursal, actualizarSucursal(), 4);\n //boton de eliminar\n ButtonColumn btnDelete = new ButtonColumn(view.jtable_sucursal, eliminarSucursal(), 5);\n view.txt_buscarSucursal.setText(\"\");\n } else {\n //no se encontro el registro\n JOptionPane.showMessageDialog(null, \"No se encontró niguna sucursal\", \"ATENCIÓN\", JOptionPane.INFORMATION_MESSAGE);\n //se ejecuta consultar\n consultarSucursal(tablaSucursal());\n }\n } else {\n //el campo esta vacio\n //se ejecuta consultar\n consultarSucursal(tablaSucursal());\n view.txt_buscarSucursal.setText(\"\");\n }\n }", "title": "" }, { "docid": "a762671504c990d9b08c3a4360624f9e", "score": "0.57231075", "text": "private void obterDadosTabela() {\n\r\n\t\tint quantProcessos = ((DefaultTableModel) table.getModel()).getRowCount();\r\n\r\n\t\tListaTempoChegada objLista = new ListaTempoChegada();\r\n\t\t// percorre todas as linhas dos processos\r\n\r\n\t\tfor (int i = 0; i < quantProcessos; i++) {\r\n\t\t\tInteger[] a = obterColunasProcesso(i);\r\n\t\t\tobjLista.InserirProcessoOrdenado(a[0], a[1], a[2]);\r\n\t\t}\r\n\t\tif (chaveCheckBoxSjf == 1 && quantProcessos > 0) {\r\n\t\t\tSjf objSjf = new Sjf();\r\n\t\t\tSjf.sjf=true;\r\n\t\t\tobjSjf.executarProcessos();\r\n\t\t}\r\n\t\telse if (chaveCheckBoxRoundRobin == 1 && quantProcessos > 0) {\r\n\t\t\tSjf.sjf=false;\r\n\t\t\tRoundRobin rr = new RoundRobin();\r\n\t\t\trr.quantum = Integer.parseInt(txtFieldQuantum.getText());\r\n\t\t\trr.executar();\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "6cc47c296c843ff159fe4faf457282eb", "score": "0.57224303", "text": "public void borrarTablaEstado() {\n\r\n\t}", "title": "" }, { "docid": "b8f46e8a94ec28d6ae9925f06ac6b1c0", "score": "0.5713451", "text": "private void generar() {\n String sql = \"SELECT \\n\"\n + \" subcuenta.idsubcuenta as id,subcuenta.nombre as nom,cambiodemonto.cambiohaber as haber,cambiodemonto.cambiodebe as debe\\n\"\n + \"FROM \\n\"\n + \" public.subcuenta, \\n\"\n + \" public.cambiodemonto, \\n\"\n + \" public.transaccion\\n\"\n + \"WHERE \\n\"\n + \" cambiodemonto.idsubcuenta = subcuenta.idsubcuenta AND\\n\"\n + \" transaccion.idtransaccion = cambiodemonto.idtransaccion and transaccion.idtransaccion=?\";\n String label = \"\";\n try {\n PreparedStatement sentencia = conect.getConexion().prepareStatement(sql);\n sentencia.setInt(1, this.codigo);\n ResultSet resultado = sentencia.executeQuery();\n while (resultado.next()) {\n\n label = \"<html><body>\" + label + \"<br>\" + String.valueOf(resultado.getInt(\"id\")) + \" \" + resultado.getString(\"nom\") + \" con saldos Debe: $\" + String.valueOf(resultado.getDouble(\"debe\")) + \" Haber: $\" + String.valueOf(resultado.getDouble(\"haber\"))\n + \" \\n\";\n\n }\n\n } catch (SQLException ex) {\n Logger.getLogger(mostrarTransaccion.class.getName()).log(Level.SEVERE, null, ex);\n }\n\n labelCreado.setText(label);\n\n }", "title": "" }, { "docid": "684eb10258df95f20c92eeb3b700646a", "score": "0.5710611", "text": "public boolean trataAgentes() {\n\t\t\n\t\tboolean ret = true ; \n\t\n\t\t// Pega dados antes de excluir todas os registros\n \tParametroDAO paDao = new ParametroDAO(context);\n \t\t\n \tCursor c = paDao.getParametros();\n \t\t\n \t// dados para comunica��o com o WebTrans\n \t// pega novamente aqui pois quando a classe � chamada com par�metro \"2\" n�o carrega os equipamentos\n \ttry\n \t{\n \t\t//********************************************\n \t\t// 09.08.2012\n \t\t//\n \t\t// Define usuario fixo para leitura de Tabelas\n \t\t//\n \t\t//********************************************\n \t\t\n \t\tsenhaWebTrans = MD5Util.criptografar(\"2015RES\");\n \t\t\n \t\t//usuarioWebTrans = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\"usuariowebtrans\")));\n \t\t//senhaWebTrans = SimpleCrypto.decrypt(Utilitarios.getInfo(),c.getString(c.getColumnIndex(\"senhawebtrans\")));\n \t\t\n \t\tString xcod = SimpleCrypto.decrypt(Utilitarios.getInfo(), c.getString(c.getColumnIndex(\"orgaoautuador\")));\n \t\tcodMunicipio = xcod.subSequence(1, 5).toString(); //265810\n \t\t\n \t\tusuarioWebTrans = \"LOGWEBTRANS\" + codMunicipio;\n \t}\n \tcatch( Exception ex )\n \t{\n \t\tret=false;\n \t}\n \t\n\n \t\n \t//codMunicipio = c.getString(c.getColumnIndex(\"orgaoautuador\")).subSequence(1, 5).toString(); //265810\n \t\n \tString c1,c2,c3;\n \tc1 = usuarioWebTrans ;\n \tc2 = senhaWebTrans ;\n \tc3 = codMunicipio ;\n \t\n \tc.close();\n \t\t\n \tpaDao.close();\n \t\t\t\n\t\t\n\t\t// tenta decodificar todos o array primeiro\n\n\t\tfor ( int nx = 0 ; nx < jsonArray.length();nx++)\n\t\t{\n\t\t\t\n\t\t\tAgente agente = new Agente();\n\t\t\t\n\t\t\ttry {\n\t\t\t\n\t\t\t\tjson1 = jsonArray.getJSONObject(nx);\n\t\t\t\t\n\t\t\t\tagente.setCodigo( json1.getString(\"matricula\"));\n\t\t\t\tagente.setNome(json1.getString(\"nome\"));\n\t\t\t\tagente.setSenha(json1.getString(\"passoword\"));\n\t\t\t\tagente.setLogin(json1.getString(\"user\"));\n\t\t\n\t\t\t\t// ativo ? \n\t\t\t\tagente.setAtivo(\"S\");\n\t\t\t\t\n\t\t\t\tif (json1.getString(\"status\").toUpperCase().contains(\"INATIVO\")) agente.setAtivo(\"N\");\n\n\t\t\t\t\n\n\t\t\t} catch (JSONException e) {\n\t\t\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\tret = false;\n\t\t\t\t\n\t\t\t\tif ( tipoperacao.contains(\"1\") ) errofatal =true;\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\t\n\t\tif ( ret )\n\t\t{\n\t\t\tAgenteDAO agentedao = new AgenteDAO(context);\n\t\t\t\n\t\t\t// limpa tabela de agente\n\t\t\tagentedao.delete();\n\t\t\t\n\t\t\tfor ( int nx = 0 ; nx < jsonArray.length();nx++)\n\t\t\t{\n\t\t\t\t\n\t\t\t\tAgente agente = new Agente();\n\t\t\t\t\n\t\t\t\ttry {\n\t\t\t\t\n\t\t\t\t\tjson1 = jsonArray.getJSONObject(nx);\n\t\t\t\t\t\n\t\t\t\t\ttry {\n\t\t\t\t\t\t\n\t\t\t\t\t\t//***************\n\t\t\t\t\t\t// 29.06.2012\n\t\t\t\t\t\t//***************\n\t\t\t\t\t\tagente.setCodigo( SimpleCrypto.encrypt(info,json1.getString(\"matricula\")));\n\t\t\t\t\t\tagente.setNome(SimpleCrypto.encrypt(info,json1.getString(\"nome\")));\n\t\t\t\t\t\t\n\t\t\t\t\t\t// senha ja esta em MD5\n\t\t\t\t\t\tagente.setSenha(json1.getString(\"passoword\"));\n\t\t\t\t\t\t\n\t\t\t\t\t\tagente.setLogin(SimpleCrypto.encrypt(info,json1.getString(\"user\")));\n\n\t\t\t\t\t\t// ativo ? \n\t\t\t\t\t\tagente.setAtivo(SimpleCrypto.encrypt(info,\"S\"));\n\t\t\t\t\t\tif ( json1.getString(\"status\").contains(\"INATIVO\")) agente.setAtivo(SimpleCrypto.encrypt(info,\"N\"));\n\n\t\t\t\t\t\t\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\tagentedao.insere(agente);\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t} catch (JSONException e) {\n\t\t\t\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\tret = false;\n\t\t\t\t\terrofatal =true;\t\t\t\t\t\t\t\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tagentedao.close();\n\t\t}\n\t\treturn ret;\n\t}", "title": "" }, { "docid": "866496c21b483b1bdc04eaac43e14b90", "score": "0.5708201", "text": "private void buscarTurmas() {\n turmas = turmaServico.buscarTurmas(usuarioLogado);\n }", "title": "" }, { "docid": "5736f888aed5c17d286765d87a60e4be", "score": "0.57055897", "text": "public void limpiar() {\n\t\tjuridica = new Entidad();\n\t\tjuridicaSeleccionada = new Entidad();\n\t}", "title": "" }, { "docid": "5435fed6c0a9345524c30343d8ed9829", "score": "0.5705325", "text": "@Override\r\n\tpublic void entrenar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "892a8107242cc4a9821de0b228d2e8a8", "score": "0.5704842", "text": "public PrestamoPeliculas(){\n contador=0;\n inicializarVecesPrestadas();\n }", "title": "" }, { "docid": "066f03097b2699616d89de33c866aaf2", "score": "0.5701722", "text": "@Override\r\n\tpublic void resultado() {\n\r\n\t}", "title": "" }, { "docid": "042b32f598b61accf7b13680bbb4ff4d", "score": "0.5691377", "text": "public ConsultaLigacoes() {\n initComponents();\n this.setExtendedState(this.getExtendedState()|VisualizadorProfissionais.MAXIMIZED_BOTH);\n conecta.conectaBanco();\n preenchertabela(\"select * from solicitacoes order by id\");\n jTableSolicitacoes.setAutoCreateRowSorter(true);\n }", "title": "" }, { "docid": "365d4010179820fb74de69317acc356c", "score": "0.56903356", "text": "public void seDeplaseaza();", "title": "" }, { "docid": "263823c5358acd1f2a36004ac1f7682f", "score": "0.56879675", "text": "public String limpiar()\r\n/* 210: */ {\r\n/* 211:270 */ crearEntidad();\r\n/* 212:271 */ return \"\";\r\n/* 213: */ }", "title": "" }, { "docid": "70a315855db64fda6d79e4f8c32d40cf", "score": "0.56790257", "text": "Transicion createTransicion();", "title": "" }, { "docid": "983629d750ac56f6158c238bfda39b41", "score": "0.5676199", "text": "public void accionPropia() {\r\n\t}", "title": "" }, { "docid": "c37baff42c7c9b6e0288df062aa9966d", "score": "0.56745696", "text": "private static void hinhTron() {\n\t\t\n\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.56723934", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.56723934", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "8a52ac6821f77d9674e63ef7df6dbc8e", "score": "0.5670564", "text": "public void mostrarRequisitos() {\n String curso = (String) this.vistaCursos.cbCodigosCursos.getSelectedItem();\n DefaultTableModel modeloR = new DefaultTableModel();\n this.vistaCursos.ReqTable.setModel(modeloR); // Setear el modelo de la tabla de requisitos\n this.filas = cursoCrud.consultarRequisitos(curso); /// Crear este método verda \n\n modeloR.addColumn(\"ID\");\n modeloR.addColumn(\"Nombre\");\n modeloR.addColumn(\"Créditos\");\n modeloR.addColumn(\"Horas de clase\");\n\n for (Object[] fila : filas){\n modeloR.addRow(fila);\n }\n }", "title": "" }, { "docid": "0498f3e7aad7edc4a424eeb306327556", "score": "0.5665593", "text": "public GUI_ConsultarRequisicao() {\n initComponents();\n jTableRequisicao.setAutoCreateRowSorter(true);\n }", "title": "" }, { "docid": "4ecbdfa741589c2703a3620af5a066c7", "score": "0.56621695", "text": "private void limpiar() {\n txtcantidad.setText(\"\");\n txtnomprod.setText(\"\");\n ad.setArticulo(null);\n Utiles.cargarComboCategorias(cbxcategoria);\n cargarTablaA();\n }", "title": "" }, { "docid": "7cfd611da1693bffede4d74ddd2fc3de", "score": "0.56565", "text": "private void initTable() {\r\n configuraNuevaTabla(new ArrayList<RegistroOperacion> ());\r\n if(opTarjeta){\r\n tblModelRegistros =\r\n new FarmaTableModel(ConstantsRecaudacion.columnsListaBFP_Tarjeta, ConstantsRecaudacion.defaultValuesListaBFP_Tarjeta,\r\n 0); \r\n }else if(opPrestamo){\r\n tblModelRegistros =\r\n new FarmaTableModel(ConstantsRecaudacion.columnsListaBFP_Prestamo, ConstantsRecaudacion.defaultValuesListaBFP_Prestamo,\r\n 0); \r\n }else if(opDeposito){\r\n tblModelRegistros =\r\n new FarmaTableModel(ConstantsRecaudacion.columnsListaBFP_Deposito, ConstantsRecaudacion.defaultValuesListaBFP_Deposito,\r\n 0);\r\n }\r\n /*\r\n FarmaUtility.initSimpleList(tblTarjetas, tblModelTarjetas, ConstantsRecaudacion.columnsListaConsultaBFP);\r\n */ \r\n }", "title": "" }, { "docid": "3ada43f78e894566df5dc0a3d6b38a7d", "score": "0.5653429", "text": "public void borrarTablaGerente() {\n\r\n\t}", "title": "" }, { "docid": "24aece51b0991bb852151945a7b3a37c", "score": "0.56528336", "text": "public void tratarPapelera(Object informacion);", "title": "" }, { "docid": "895776920f7875036d65e72cd5caed05", "score": "0.5650426", "text": "public void testLlenarTabla1() {\n TablaDatos instance = new TablaDatos();\n instance.llenarTabla1();\n assertTrue(\"testLlenarTabla1:fail\",instance.getTablaDatos().get(9).getX() == 961);\n }", "title": "" }, { "docid": "07375d245633bb748f5446f6aebdda36", "score": "0.5647564", "text": "@Override\n public void obtenerMascotasBaseDatos() {\n //hacemos un ubjeto Constructor mascotas y le pasamos el contexto\n constructorMascotas = new ConstructorMascotas(context);\n //le agregamos a la variable mascota lo que devuelva el metodo obtenerDatos de la clase ConstructorMascotas\n mascotas = constructorMascotas.obtenerDatos();\n //hacemos el llamada al metodo sobre escrito mostrarMascotas\n mostrarMascotas();\n\n }", "title": "" }, { "docid": "adb1ab21cd036f2894e72e5ef45be951", "score": "0.564287", "text": "public ConsultaQuestao() {\n initComponents();\n prepararCombos();\n ListaTable();\n }", "title": "" }, { "docid": "83a094c00bed1b305ae875a1ab85e7f5", "score": "0.56425875", "text": "public ViewCariTeman() {\n initComponents();\n tampildata();\n }", "title": "" }, { "docid": "2763dbf5eb11db542b0f73abe093a591", "score": "0.56283355", "text": "public void testLlenarTabla3() {\n TablaDatos instance = new TablaDatos();\n instance.llenarTabla3();\n assertTrue(\"testLlenarTabla3:fail\",instance.getTablaDatos().get(1).getX() == 765);\n }", "title": "" }, { "docid": "786e14ff1965b21f3dbacce9eadee9f4", "score": "0.5626065", "text": "public Controller(){\n vista = new VistaConsola();\n instituto = new EstudianteDTO();// estudiantes, EstudianteDAO\n //funcionar();\n }", "title": "" }, { "docid": "fb0e8351ddbe672f997811b956ac3a6a", "score": "0.56205595", "text": "private void inizia() throws Exception {\n /* variabili e costanti locali di lavoro */\n AnagraficaModulo mod;\n Query query;\n Filtro filtro;\n Dati dati;\n int intero;\n String stringa = \"\";\n ValoriOpzione opzione;\n\n try { // prova ad eseguire il codice\n\n mod = AnagraficaModulo.get();\n\n Campo cTipo = mod.getCampo(Cam.privatosocieta.get());\n Campo cPI = mod.getCampo(Cam.partitaIva.get());\n Campo cCF = mod.getCampo(Cam.codFiscale.get());\n Campo cCodPag = mod.getCampo(Cam.pagamento.get());\n Campo cCodIva = mod.getCampo(Cam.iva.get());\n Campo cApplicaRivalsa = mod.getCampo(Cam.applicaRivalsa.get());\n Campo cApplicaRA = mod.getCampo(Cam.applicaRA.get());\n Campo cPercRA = mod.getCampo(Cam.percRA.get());\n\n query = new QuerySelezione(mod);\n filtro = FiltroFactory.codice(mod, this.getCodice());\n query.setFiltro(filtro);\n query.addCampo(cTipo);\n query.addCampo(cPI);\n query.addCampo(cCF);\n query.addCampo(cCodPag);\n query.addCampo(cCodIva);\n query.addCampo(cApplicaRivalsa);\n query.addCampo(cApplicaRA);\n query.addCampo(cPercRA);\n dati = mod.query().querySelezione(query);\n\n /* recupera c.f. / p.i. a seconda del tipo */\n stringa = \"\";\n intero = dati.getIntAt(0, cTipo);\n Tipi tipo = Anagrafica.Tipi.getTipo(intero);\n if (tipo != null) {\n switch (tipo) {\n case privato:\n stringa = dati.getStringAt(0, cCF);\n break;\n case societa:\n stringa = dati.getStringAt(0, cPI);\n break;\n default: // caso non definito\n break;\n } // fine del blocco switch\n }// fine del blocco if\n this.setPicf(stringa);\n\n /* recupera cod. pagamento */\n this.setCodPag(dati.getIntAt(0, cCodPag));\n\n /* recupera cod. iva */\n this.setCodIva(dati.getIntAt(0, cCodIva));\n\n /* recupera opzione applica rivalsa */\n intero = dati.getIntAt(0, cApplicaRivalsa);\n opzione = ValoriOpzione.getElemento(intero);\n this.setApplicaRivalsa(opzione);\n\n /* recupera opzione applica r.a. */\n intero = dati.getIntAt(0, cApplicaRA);\n opzione = ValoriOpzione.getElemento(intero);\n this.setApplicaRA(opzione);\n\n /* recupera percentuale r.a. */\n this.setPercRA(dati.getDoubleAt(0, cPercRA));\n\n /* recupera l'etichetta */\n this.setEtichetta(mod.getEtichettaIndirizzoPrincipale(this.getCodice()));\n\n /* chiude i dati */\n dati.close();\n\n\n } catch (Exception unErrore) { // intercetta l'errore\n Errore.crea(unErrore);\n }// fine del blocco try-catch\n\n }", "title": "" }, { "docid": "1af5aa89df97cca4972c12fe4cf65ad4", "score": "0.5615801", "text": "public TelaRelatorio() {\n initComponents();\n List<Funcionario> funcionarios = new ArrayList();\n AnalistaDAO dao = new AnalistaDAO();\n for (Analista a: dao.listar()){\n funcionarios.add(a);\n }\n DiretorDAO diretorDao = new DiretorDAO();\n for (Diretor d: diretorDao.listar()){\n funcionarios.add(d);\n }\n GerenteDAO gerenteDao = new GerenteDAO();\n for (Gerente g: gerenteDao.listar()){\n funcionarios.add(g);\n }\n LimpezaDAO limpezaDAO = new LimpezaDAO();\n for (Limpeza l: limpezaDAO.listar()){\n funcionarios.add(l);\n }\n ProgramadorDAO programadorDAO = new ProgramadorDAO();\n for (Programador p: programadorDAO.listar()){\n funcionarios.add(p);\n }\n for (Funcionario func: funcionarios){\n textarea.append(func.getRelatorio());\n }\n }", "title": "" }, { "docid": "802eb1eb328db99c60dba41ff05cd969", "score": "0.5615783", "text": "public CadastrarAluno() throws Exception {\n initComponents();\n carregarAluno();\n DefaultTableModel model = (DefaultTableModel) tbDados.getModel();\n tbDados.setRowSorter(new TableRowSorter(model));\n listarDadosMateria();\n \n }", "title": "" } ]
518bf5364cda3c6202a1a392996f93d1
Inflate the menu; this adds items to the action bar if it is present.
[ { "docid": "45442c87d381deee3a66e950c314c3b6", "score": "0.6632049", "text": "@Override\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.main, menu);\n \t\treturn true;\n \t}", "title": "" } ]
[ { "docid": "f7f80efb09064a7f639e932aa0a3f649", "score": "0.7219527", "text": "public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n\n if (current_object == null ) {\n getActivity().invalidateOptionsMenu();\n// return; // If current_object hasn't been set yet, wait for createView to finish.\n }\n\n // Go through all current menu items and change them as needed:\n MenuItem current_item;\n for(int i = 0; i < menu.size(); i++) {\n current_item = menu.getItem(i);\n switch (current_item.getItemId()) {\n case R.id.edit_action:\n current_item.setVisible(true);\n break;\n case R.id.star_action:\n if (current_object.getType().equals(\"topic\")) {\n if (current_object.getStarStatus() == 1) {\n current_item.setIcon(R.drawable.star_white_full);\n current_item.setTitle(\"un-star\");\n }\n current_item.setVisible(true);\n }\n break;\n case R.id.archive_action:\n if (current_object.getType().equals(\"topic\")) {\n if (current_object.getArchiveStatus() == 1) {\n current_item.setIcon(R.drawable.hide_white);\n current_item.setTitle(\"restore\");\n }\n current_item.setVisible(true);\n }\n break;\n case R.id.search:\n current_item.setVisible(false);\n default:\n current_item.setShowAsAction(MenuItem.SHOW_AS_ACTION_NEVER);\n }\n }\n }", "title": "" }, { "docid": "34baea2ed7d99269cfcfbebb2aa0a76b", "score": "0.7209676", "text": "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\r\n\t\tinflater.inflate(R.menu.main_actions, menu);\r\n\t\treturn super.onCreateOptionsMenu(menu);\r\n\t}", "title": "" }, { "docid": "8642ad2ec5b1d556245e9439c6283bf3", "score": "0.7169351", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\t\n\t\tinflater.inflate(R.menu.main, menu);\n\t\t\n\t\t//inflate action bar menu only if it's abscent\n\t\tinflater.inflate(R.menu.ab_main, menu);\n\n\t\treturn true;\n }", "title": "" }, { "docid": "239f4447c51cbf2ec54c8887af8e5932", "score": "0.7076959", "text": "@Override\r\n public boolean onCreateOptionsMenu( android.view.Menu menu)\r\n {\n MenuInflater inflater = getMenuInflater();\r\n inflater.inflate(R.menu.main_activity_actions, menu);\r\n return super.onCreateOptionsMenu(menu);\r\n }", "title": "" }, { "docid": "3929bf2ffc50d20c3318fcf357209193", "score": "0.7051162", "text": "@Override\t\t//Create menu icons\n\tpublic boolean onCreateOptionsMenu(Menu menu){\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n\t}", "title": "" }, { "docid": "384528999afe2e3619a7f99f8143dbeb", "score": "0.7000043", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "384528999afe2e3619a7f99f8143dbeb", "score": "0.7000043", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "4ad8fcb0b6e0716c3638c43345395f89", "score": "0.69877726", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main_activity_actions, menu);\n\t\tLog.i(\"action_bar\", \"apparently this is being called!\");\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "title": "" }, { "docid": "82e6a615b942f33863ca244f5737d726", "score": "0.69853467", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_items, menu);//Menu Resource, Menu\n return true;\n }", "title": "" }, { "docid": "ad1c350f2178cd3f55c616ee5affb9b2", "score": "0.6931685", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n int res = getOptionsMenuResource();\n if(res > 0){\n getMenuInflater().inflate(res, menu);\n }\n return true;\n }", "title": "" }, { "docid": "16bfeccedb091017e43ebbb179fc1754", "score": "0.6929264", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.menu, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "title": "" }, { "docid": "47d16fa25d516c847da78250e2c606c7", "score": "0.6916928", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "47d16fa25d516c847da78250e2c606c7", "score": "0.6916928", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "b8721b65f3e6d30a695d18c2be33a83a", "score": "0.6877727", "text": "@Override\n /**\n * overridden method to create and inflate the action menu items\n */\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_main, menu);\n return true;\n }", "title": "" }, { "docid": "fe4ceb0c98fb334ac2575d20862e141b", "score": "0.68758035", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main_activity_actions, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "title": "" }, { "docid": "7c7f52bc85432234ee2050f101ef1659", "score": "0.68621665", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "title": "" }, { "docid": "8f9525cf5067da6071d2fa395a17987f", "score": "0.68597424", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.habit_detail_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "ec71150dd0e84cee2d50f3e1c3ab12ed", "score": "0.6857765", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_catalog, menu);\n //Add menu items to app bar\n return true;\n }", "title": "" }, { "docid": "d417245f7e21ea42344ec0fcef4785d6", "score": "0.6846082", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\t\n\t\t\n\t\t\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "title": "" }, { "docid": "08cd041dec781014b560155f00055216", "score": "0.68221074", "text": "@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.actions, menu);\r\n return true;\r\n }", "title": "" }, { "docid": "34c927a6b90181362fb23949c30e17fe", "score": "0.67962325", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n super.onCreateOptionsMenu(menu);\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn true;\n }", "title": "" }, { "docid": "0f7b69f255438edf387dda68733f6036", "score": "0.67905474", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inf=getMenuInflater();\n inf.inflate(R.menu.menu_activation, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "43e2f63c7b405f49108e78b085837102", "score": "0.6787039", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.menu, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "title": "" }, { "docid": "78031d618f1b4d5e4f7a926f5adad9cd", "score": "0.678421", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main, menu);\n\n \n\t\treturn super.onCreateOptionsMenu(menu);\n\t\t\n\t}", "title": "" }, { "docid": "a64096bb07d9e8a61775762fef9296f5", "score": "0.6757412", "text": "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\r\n\t\treturn super.onCreateOptionsMenu(menu);\r\n\t}", "title": "" }, { "docid": "239df9f5250fec08fde0cec5848f8840", "score": "0.67529166", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n getActivity().getMenuInflater().inflate(R.menu.act_main_menu, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }", "title": "" }, { "docid": "5e77b941ba24eaf9d62ca4b27a5fb668", "score": "0.67528784", "text": "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.action_items_add, menu);\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "018619a5c0b094ed4bb41ad52dce2b9b", "score": "0.6749874", "text": "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = this.getMenuInflater();\r\n\t\t\r\n\t\t// inflar um XML\r\n\t\tinflater.inflate(R.menu.coletar, menu);\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "d83587e83b7505139e6f79ac81300684", "score": "0.67468643", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(android.view.Menu menu) {\n\t\t super.onCreateOptionsMenu(menu);\n\t\t MenuInflater mi = getMenuInflater();\n\t\t mi.inflate(R.menu.main, menu);\t\t \n\t\t return true;\n\t\t\n\t}", "title": "" }, { "docid": "794a1678f2483bc46fb5f63e48dd8b14", "score": "0.6743387", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.actions, menu);\n return true;\n }", "title": "" }, { "docid": "cb2f27bc65920fbf58b521a9793f212b", "score": "0.67378706", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.forcast_menu, menu);\n }", "title": "" }, { "docid": "1b43a8a9049133ae053356cb72af10bd", "score": "0.6733989", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(menu_main, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "ded1f24609be73ae11fdf8859a1b058f", "score": "0.6725062", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n new MenuInflater(this).inflate(R.menu.actionbar_menu, menu);\n return (super.onCreateOptionsMenu(menu));\n }", "title": "" }, { "docid": "7beece16a3151963d6658b28e9b28066", "score": "0.67226785", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "2cb096fc4d55ca9ab4a0e281055410f1", "score": "0.67145264", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "127d61755db25d00dee2bfd782483056", "score": "0.6704642", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main, menu);//Menu Resource,\n\n return true;\n }", "title": "" }, { "docid": "fbfe5f7fb9486d8fc056ff922706085e", "score": "0.6704564", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "title": "" }, { "docid": "11edaad2de374bc2c6f3445087ed1629", "score": "0.6702381", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(app_bar_menu, menu);\n return true;\n }", "title": "" }, { "docid": "a6fc94db9795d8ef3c8818a4f628e67e", "score": "0.6702011", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main_activity_actions, menu);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "a6fc94db9795d8ef3c8818a4f628e67e", "score": "0.6702011", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main_activity_actions, menu);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "55cca93ad3c06623279ee3d4164b6f89", "score": "0.67009985", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.menu_main, menu);\n\n }", "title": "" }, { "docid": "90b147d6905fe9d27d67d16cf18bcd76", "score": "0.6700756", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.menu_main, menu);\n }", "title": "" }, { "docid": "90b147d6905fe9d27d67d16cf18bcd76", "score": "0.6700756", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.menu_main, menu);\n }", "title": "" }, { "docid": "947e498caf2063315e3e77d6bb75b8cb", "score": "0.6700063", "text": "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.show_item, menu);\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "6d518762fb5e916b2b9c13d37629510c", "score": "0.6692782", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tsuper.onCreateOptionsMenu(menu);\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.ilk_menu, menu);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "58b51e90d6d0a69b04c4cd210f2e31b4", "score": "0.6686782", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_main, menu);//Menu Resource, Menu\n return true;\n }", "title": "" }, { "docid": "58b51e90d6d0a69b04c4cd210f2e31b4", "score": "0.6686782", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_main, menu);//Menu Resource, Menu\n return true;\n }", "title": "" }, { "docid": "a6c2794f51b4f6f63b8c5f7977c6b7cb", "score": "0.6685384", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater menuInflater = getMenuInflater();\n menuInflater.inflate(R.menu.add_note_menu, menu); // pass the menu I've just created, it tells the system to use the menu\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "1c523967f1b1ae2a3bb0514d15ed5d6e", "score": "0.6684762", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.apk, menu);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "fac99c9b973d17f1c44720793929ce44", "score": "0.66841704", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.menu, menu);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "b1631b737fc46ad9ef9203bd94535a01", "score": "0.6683476", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "284ded61b3589567041e41b1daefa4c6", "score": "0.6677873", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "title": "" }, { "docid": "4cddb48b1da190800f3823cec5221b18", "score": "0.6673866", "text": "@Override\r\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\r\n\t\t\treturn true;\r\n\t\t}", "title": "" }, { "docid": "f3a1d5f738143b76a084028fd188a14a", "score": "0.6669518", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tsuper.onCreateOptionsMenu(menu);\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "222cb7feb37d9f33a24a0a15a7aa385a", "score": "0.6668339", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.app_bar_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "6cc5da99a32692d41c31cc394b4bd681", "score": "0.6667702", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.actionbar, menu);\n return true;\n }", "title": "" }, { "docid": "89d08db6734f62c736882b3842146a6c", "score": "0.66676044", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "abba7aebb72fed77ba2726d6f8e0324a", "score": "0.6667202", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.main, menu);\n\n super.onCreateOptionsMenu(menu, inflater);\n }", "title": "" }, { "docid": "fa5e52b3acee2d5ed61d0475f2e64a07", "score": "0.66666424", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu){\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "381d0884cd6375b57247341266dbdccb", "score": "0.66663986", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.actionbar_actions, menu);\n return true;\n }", "title": "" }, { "docid": "2d169202bfd9e05f3d8f11324040885d", "score": "0.6665584", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.menu_flyernew, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "title": "" }, { "docid": "6c85e8d78b2f8b6ec8f043830f44b97d", "score": "0.66654295", "text": "@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.allmenu, menu);\r\n return true;\r\n }", "title": "" }, { "docid": "9e90ee9aba69fb886ba0bf4523a44895", "score": "0.66609097", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n }", "title": "" }, { "docid": "834f6c62845d947459df685b80dd2f2d", "score": "0.6656586", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n }", "title": "" }, { "docid": "834f6c62845d947459df685b80dd2f2d", "score": "0.6656586", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n }", "title": "" }, { "docid": "60a0a65d0954b254ea5a1db9f907e51c", "score": "0.6656326", "text": "@Override\r\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.main, menu);\r\n \t\treturn true;\r\n \t}", "title": "" }, { "docid": "a0357b2e46bb05c78e72f64ff516350e", "score": "0.66544783", "text": "@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\t\treturn true;\n\t\t}", "title": "" }, { "docid": "5a64c1fbbcb876589d9dc87722a3f855", "score": "0.6652546", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.add_route_activity_actionbar, menu);\n return true;\n }", "title": "" }, { "docid": "3e8720a0ec0a7b29939158c5939793e8", "score": "0.6650132", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "1636840ec330d0059f2dc0682da90483", "score": "0.66490555", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n\n }", "title": "" }, { "docid": "8dd3afe6aa61618a16c44af00127f2f7", "score": "0.66398865", "text": "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.book_list_main, menu);\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "8d32c53bc0d2b45fb07fc92450d3d208", "score": "0.6639513", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu){\n\n MenuInflater menuInflater = getMenuInflater();\n menuInflater.inflate(R.menu.main_menu, menu);\n\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "3d3524933e46322bfaed94679349b83a", "score": "0.6639502", "text": "@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_temp, menu);\r\n return true;\r\n }", "title": "" }, { "docid": "896f040bae68c8182568c18af9f1b080", "score": "0.6634786", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "896f040bae68c8182568c18af9f1b080", "score": "0.6634786", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "896f040bae68c8182568c18af9f1b080", "score": "0.6634786", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "896f040bae68c8182568c18af9f1b080", "score": "0.6634786", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "23311cd2049fbefa73be64d2f796a40b", "score": "0.663356", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.app_bar_menu, menu);\n return true;\n }", "title": "" }, { "docid": "129047db332e82aa713ca7ce8b15f5c7", "score": "0.6630597", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_items, menu);\n return true;\n }", "title": "" }, { "docid": "d107bb51adb9bf0d885c0741129dabdc", "score": "0.66296643", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.toolbar_menu, menu);\n\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "c9619a840fc4857f6c86a34c7cbb5413", "score": "0.6628054", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater=getMenuInflater();\n inflater.inflate(R.menu.menu,menu);\n return true;\n }", "title": "" }, { "docid": "277058fcbb6c657f51a16add64c659d8", "score": "0.6626297", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "277058fcbb6c657f51a16add64c659d8", "score": "0.6626297", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "6469d9415815a3dca842be52e131534e", "score": "0.66185176", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.action_bar_menu, menu);\n\n return true;\n }", "title": "" }, { "docid": "68e30ab8d4e7751e59cb4a9faf634b2b", "score": "0.6617961", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n menu.add(null).setIcon(R.drawable.ic_android_trans_24dp).setShowAsActionFlags(1);\n\n super.onCreateOptionsMenu(menu, inflater);\n }", "title": "" }, { "docid": "914f230d42a9da9fa865d498eb8155cd", "score": "0.66165245", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.common_menu, menu);\n\t\tmenu.removeItem( R.id.action_interior);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "bc810fcc4e0f7f4ea8ea7f7b68225314", "score": "0.6614405", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "8108d46d4d2c0371b6915420af4d4e77", "score": "0.66125154", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_main, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "8108d46d4d2c0371b6915420af4d4e77", "score": "0.66125154", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_main, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "8108d46d4d2c0371b6915420af4d4e77", "score": "0.66125154", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_main, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "8108d46d4d2c0371b6915420af4d4e77", "score": "0.66125154", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_main, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "240504d0c0bec487a1471d239694af04", "score": "0.661179", "text": "@Override\n\tprotected void initMenuItem() {\n\t\tmMenuId = new int[] { R.id.action_usersetting,\n\t\t\t\tR.id.action_systemsetting, /*R.id.action_update,*/ R.id.action_quit };\n\n\t\tmMenuItem = new String[] {\n\t\t\t\tmContext.getResources().getString(R.string.action_usersetting),\n\t\t\t\tmContext.getResources()\n\t\t\t\t\t\t.getString(R.string.action_systemsetting),\n\t\t\t\t/*mContext.getResources().getString(R.string.action_update),*/\n\t\t\t\tmContext.getResources().getString(R.string.action_exit) };\n\n\t\tmMenuIcon = new int[] { R.drawable.ic_side_user_setting,\n\t\t\t\tR.drawable.system_setting_disabled,\n\t\t\t\t/*R.drawable.ic_side_sync_soft,*/ R.drawable.ic_side_exit };\n\t}", "title": "" }, { "docid": "95de7638601a657296d90f86fb453998", "score": "0.66102415", "text": "@Override\r\n\t\tpublic boolean onCreateOptionsMenu(Menu menu)\r\n\t\t\t{\n\t\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\r\n\t\t\t\treturn true;\r\n\t\t\t}", "title": "" }, { "docid": "62171f0ce98572c9597f5beab2b55037", "score": "0.6610049", "text": "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tsuper.onCreateOptionsMenu(menu);\r\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "d560462b51f51d3a8247395db670a709", "score": "0.6608793", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.activity, menu);\n\n\t\treturn true;\n\t}", "title": "" }, { "docid": "3facbb608f0cbfbdfd8e538ecf783f9f", "score": "0.66058314", "text": "@Override\n /**\n * adds item to the action bar if it is present\n * @param menu\n * @retunr boolean on if inflated\n */\n public boolean onCreateOptionsMenu(Menu menu) {\n return true;\n }", "title": "" } ]
29b11dc31425bdede6877d60484db761
This method was generated by MyBatis Generator. This method corresponds to the database table nj_order_work2
[ { "docid": "6395b116d785be73bff678e231e9fd2b", "score": "0.4917143", "text": "int insertSelective(NjOrderWork2 record);", "title": "" } ]
[ { "docid": "a89e34449e48623d1af1bd905295e34c", "score": "0.5924773", "text": "public void setWork2(Number work2)\r\n {\r\n m_work2 = work2;\r\n }", "title": "" }, { "docid": "7b73b403441a87a4e4086dd8bcfa3a20", "score": "0.549055", "text": "List<NjOrderWork2> selectByExample(NjOrderWork2Example example);", "title": "" }, { "docid": "c4669bcd4f982ffc8f8370db39f31d1e", "score": "0.5409057", "text": "public Number getWork2()\r\n {\r\n return (m_work2);\r\n }", "title": "" }, { "docid": "918c3d5e8bd3f56502190d0bcb645875", "score": "0.5279093", "text": "int updateByExample(@Param(\"record\") NjOrderWork2 record, @Param(\"example\") NjOrderWork2Example example);", "title": "" }, { "docid": "d8041b6f348ccfe504e6b68ae9856737", "score": "0.5141654", "text": "public String getWork_id(){\r\n\t\treturn this.work_id ;\r\n\t}", "title": "" }, { "docid": "e10b639a80bf3a7182f2105b994e7244", "score": "0.5135157", "text": "@Override\n\tpublic List<ReturnGoodsRequestEntity> queryReturnGoodsWorkOrder(\n\t\t\tString waybillNo) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "401e3b8745ca0c8b82f3d4a1908d70ad", "score": "0.5075198", "text": "NjOrderWork2 selectByPrimaryKey(String id);", "title": "" }, { "docid": "8c4ff272daf25b959aa0b2d7f4d70e72", "score": "0.49554512", "text": "int updateByExampleSelective(@Param(\"record\") NjOrderWork2 record, @Param(\"example\") NjOrderWork2Example example);", "title": "" }, { "docid": "adadf341a89a129069defd5b4acee2ef", "score": "0.4912584", "text": "@Override\n\tpublic void save(WorkSummary entity1, Employee entity2) {\n\n\t}", "title": "" }, { "docid": "a4fd0e0284b5cc03625b412e15873798", "score": "0.4892086", "text": "@Override\n\tpublic void update(WorkSummary entity1, Employee entity2) {\n\n\t}", "title": "" }, { "docid": "9b48b1a09fb96955bb95428edd11684e", "score": "0.4880257", "text": "@Override\n\tpublic WorkVO getWorkDetail(int work_num) {\n\t\treturn workMapper.getWorkDetail(work_num);\n\t}", "title": "" }, { "docid": "604a15ad4adeb392340a6adacf81c134", "score": "0.4795635", "text": "int insert(NjOrderWork2 record);", "title": "" }, { "docid": "61ab3816a768d0d0403b7e0fc44c070a", "score": "0.47902265", "text": "public void setWorkplaceOrder(int workplaceOrder)\r\n\t{\r\n\t\tthis.workplaceOrder = workplaceOrder;\r\n\t}", "title": "" }, { "docid": "ac54d50cacf75b9fe067f4000ab48f54", "score": "0.47116145", "text": "U2(){\r\n setCurrentWeight(0);\r\n setMaxWeight(29*1000);\r\n setCost(120*1000000);\r\n }", "title": "" }, { "docid": "3a848679c3345aff818b754b92dc347f", "score": "0.46785176", "text": "int updateByPrimaryKey(NjOrderWork2 record);", "title": "" }, { "docid": "8b33ed32040dfb319a642350064ce152", "score": "0.46636912", "text": "public interface OrderMapper {\n\n //购物车确认订单之后插入订单商品信息(确认,但未发货)\n @Insert(\"insert into `order` ( order_code,order_time,username,goods_code,goods_name,goods_currentPrice,goods_counts,goods_image,goods_singlePrice,goods_totalPrice,goods_remark,goods_status) values (#{order_code},#{order_time},#{username},#{goods_code},#{goods_name},#{goods_currentPrice},#{goods_counts},#{goods_image},#{goods_singlePrice},#{goods_totalPrice},#{goods_remark},#{goods_status})\")\n int insertIntoOrder(Order order);\n\n //根据商品状态(未发货,待接收,待评价,已完成,已取消)查询商品信息\n @Select(\"select *from `order` where goods_status=#{goods_status} and username=#{username} \")\n List<Order> selectOrderByGoodsStatus(Order order) ;\n\n //改变商品订单的状态(根据商品订单和商品状态)\n @Update(\"update `order` set goods_status = #{goods_status} where order_code=#{order_code}\")\n int updateOrderStatus(Order order);\n\n}", "title": "" }, { "docid": "fdc941a5cfe690b5a45173ab1973379c", "score": "0.4652824", "text": "@Override\n\tpublic Result updateWorkOrder(WorkOrderItem parameters) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "2665b2bb8a39d3fe859db2e987bae6eb", "score": "0.4652476", "text": "@SuppressWarnings(\"all\")\npublic interface I_i_ordertrx_temp \n{\n\n /** TableName=i_ordertrx_temp */\n public static final String Table_Name = \"i_ordertrx_temp\";\n\n /** AD_Table_ID=1000126 */\n public static final int Table_ID = MTable.getTable_ID(Table_Name);\n\n KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);\n\n /** AccessLevel = 3 - Client - Org \n */\n BigDecimal accessLevel = BigDecimal.valueOf(3);\n\n /** Load Meta Data */\n\n /** Column name AD_Client_ID */\n public static final String COLUMNNAME_AD_Client_ID = \"AD_Client_ID\";\n\n\t/** Get Client.\n\t * Client/Tenant for this installation.\n\t */\n\tpublic int getAD_Client_ID();\n\n /** Column name AD_Org_ID */\n public static final String COLUMNNAME_AD_Org_ID = \"AD_Org_ID\";\n\n\t/** Set Organization.\n\t * Organizational entity within client\n\t */\n\tpublic void setAD_Org_ID (int AD_Org_ID);\n\n\t/** Get Organization.\n\t * Organizational entity within client\n\t */\n\tpublic int getAD_Org_ID();\n\n /** Column name count_order */\n public static final String COLUMNNAME_count_order = \"count_order\";\n\n\t/** Set count_order\t */\n\tpublic void setcount_order (int count_order);\n\n\t/** Get count_order\t */\n\tpublic int getcount_order();\n\n /** Column name Created */\n public static final String COLUMNNAME_Created = \"Created\";\n\n\t/** Get Created.\n\t * Date this record was created\n\t */\n\tpublic Timestamp getCreated();\n\n /** Column name CreatedBy */\n public static final String COLUMNNAME_CreatedBy = \"CreatedBy\";\n\n\t/** Get Created By.\n\t * User who created this records\n\t */\n\tpublic int getCreatedBy();\n\n /** Column name i_ordertrx_temp_ID */\n public static final String COLUMNNAME_i_ordertrx_temp_ID = \"i_ordertrx_temp_ID\";\n\n\t/** Set Semeru Order Temporary\t */\n\tpublic void seti_ordertrx_temp_ID (int i_ordertrx_temp_ID);\n\n\t/** Get Semeru Order Temporary\t */\n\tpublic int geti_ordertrx_temp_ID();\n\n /** Column name insert_order */\n public static final String COLUMNNAME_insert_order = \"insert_order\";\n\n\t/** Set insert_order\t */\n\tpublic void setinsert_order (boolean insert_order);\n\n\t/** Get insert_order\t */\n\tpublic boolean isinsert_order();\n\n /** Column name order_detail */\n public static final String COLUMNNAME_order_detail = \"order_detail\";\n\n\t/** Set order_detail\t */\n\tpublic void setorder_detail (String order_detail);\n\n\t/** Get order_detail\t */\n\tpublic String getorder_detail();\n\n /** Column name orders */\n public static final String COLUMNNAME_orders = \"orders\";\n\n\t/** Set orders\t */\n\tpublic void setorders (String orders);\n\n\t/** Get orders\t */\n\tpublic String getorders();\n\n /** Column name pos */\n public static final String COLUMNNAME_pos = \"pos\";\n\n\t/** Set pos\t */\n\tpublic void setpos (String pos);\n\n\t/** Get pos\t */\n\tpublic String getpos();\n\n /** Column name Result */\n public static final String COLUMNNAME_Result = \"Result\";\n\n\t/** Set Result.\n\t * Result of the action taken\n\t */\n\tpublic void setResult (String Result);\n\n\t/** Get Result.\n\t * Result of the action taken\n\t */\n\tpublic String getResult();\n\n /** Column name transaction_id */\n public static final String COLUMNNAME_transaction_id = \"transaction_id\";\n\n\t/** Set transaction_id\t */\n\tpublic void settransaction_id (int transaction_id);\n\n\t/** Get transaction_id\t */\n\tpublic int gettransaction_id();\n\n /** Column name Updated */\n public static final String COLUMNNAME_Updated = \"Updated\";\n\n\t/** Get Updated.\n\t * Date this record was updated\n\t */\n\tpublic Timestamp getUpdated();\n\n /** Column name UpdatedBy */\n public static final String COLUMNNAME_UpdatedBy = \"UpdatedBy\";\n\n\t/** Get Updated By.\n\t * User who updated this records\n\t */\n\tpublic int getUpdatedBy();\n}", "title": "" }, { "docid": "aebb09af81477c65c78d8929ca4b758c", "score": "0.46447253", "text": "@Override\n\tpublic List<CrmReturnedGoodsDtoResult> queryReturnGoodsWorkOrderResult(\n\t\t\tCrmReturnedGoodsDtoResult vo) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "753f1b52cfae83ef559a20223f3066aa", "score": "0.46423176", "text": "@Override\n\tpublic int getWorkNum() {\n\t\treturn workMapper.getWorkNum();\n\t}", "title": "" }, { "docid": "012fb72029d9f5742ab8eedb9f4ca17a", "score": "0.46420953", "text": "public void setHC_WorkStartDate2 (Timestamp HC_WorkStartDate2);", "title": "" }, { "docid": "7001a01f3358dfbef6ec432e34dd40b8", "score": "0.46260953", "text": "int newOrder(OrderBean newOrder);", "title": "" }, { "docid": "fa8ffa0cd687f5990952d372468acf14", "score": "0.46227857", "text": "@Override\r\n\tpublic void saveYuyueOrder(YuyueOrderDTO yuyueOrderDTO) throws Exception {\n\t\tYuyueOrder yuyueOrder = new YuyueOrder();\r\n\t\tSysYuyue sy = sysYuyueRespository.findOne(yuyueOrderDTO.getSysYuyue());\r\n\t\t\r\n\t\tPropertyUtils.copyProperties(yuyueOrder,yuyueOrderDTO);\r\n\t\tif(sy.getYyCzUser()!=null){\r\n\t\t\tyuyueOrder.setYyCzId(sy.getYyCzUser().getId());\r\n\t\t}\r\n\t\tif(sy.getYyQyUser()!=null){\r\n\t\t\tyuyueOrder.setYyQxId(sy.getYyQyUser().getId());\r\n\t\t}\r\n\t\tyuyueOrder.setYl5(OrderUtil.getOrderIdByUUId());\r\n yuyueOrderRepository.save(yuyueOrder);\r\n if(yuyueOrderDTO.getServerProject()!=null){\r\n \tfor(int i=0;i<yuyueOrderDTO.getServerProject().size();i++){\r\n \t\tyuyueOrderDTO.getServerProject().get(i).setOrderId(yuyueOrder.getId());\r\n \t}\r\n }\r\n\t\t\r\n\t\tserverProjectRespository.saveInBatch(yuyueOrderDTO.getServerProject());\r\n\t\t\r\n\t\t\r\n PropertyUtils.copyProperties(yuyueOrder,yuyueOrderDTO);\r\n yuyueOrderRepository.save(yuyueOrder);\r\n\t}", "title": "" }, { "docid": "6a683b680601f0631f81cfe515ba84c5", "score": "0.46148852", "text": "public void setOrderNo(String orderNo)\n\t{\n\t\tsetColumn(orderNo, OFF_ORDER_NO, LEN_ORDER_NO) ;\n\t}", "title": "" }, { "docid": "6662699320afd89a55c4c01f4e89b532", "score": "0.4612135", "text": "public void queryByName2(String name2) {\n\t\tNAME2 = name2;\n\t}", "title": "" }, { "docid": "fe0793711de203ecf26fc7aa62ecaa88", "score": "0.46059468", "text": "public void setOrderNo (Long orderNo) {\r\n\t\tthis.orderNo = orderNo;\r\n\t}", "title": "" }, { "docid": "3dcccbb11d1b121e8a7a3a9bbafd412d", "score": "0.45906705", "text": "@Override\r\n\tpublic String saveShopOrder(Shop_Order shop_order) {\n\t\tshoporderDao.save(shop_order);\r\n\t\treturn shop_order.getO_id();\r\n\t}", "title": "" }, { "docid": "09ddf4441a5df28b9044257357ab45e8", "score": "0.4581223", "text": "public String getCronopElemCode2() {\n\t\treturn this.cronopElemCode2;\n\t}", "title": "" }, { "docid": "9ef8b93e42400025af2bb3df958991e0", "score": "0.45710933", "text": "public int getWorkplaceOrder()\r\n\t{\r\n\t\treturn workplaceOrder;\r\n\t}", "title": "" }, { "docid": "4ac91badcd504ce2f44346c8e2083451", "score": "0.45537505", "text": "public void createWorkOrders() {\n Main.orderCount += 1;\n\n WorkOrder newOrder = new WorkOrder();\n\n Scanner scanner = new Scanner(System.in);\n\n System.out.println(\"Create a new Work Order:\");\n\n System.out.println(\"Enter description of work requested:\");\n\n newOrder.setDescription(scanner.nextLine());\n\n System.out.println(\"Enter your full name for our records:\");\n\n newOrder.setSenderName(scanner.nextLine());\n\n newOrder.setStatus(Status.INITIAL);\n\n newOrder.setId(Main.orderCount);\n\n //\n // mapper below\n //\n\n String workOrder = \"\";\n ObjectMapper mapper = new ObjectMapper();\n try {\n workOrder = mapper.writeValueAsString(newOrder);\n } catch (JsonProcessingException e) {\n e.printStackTrace();\n }\n String fileTitle = newOrder.getId() + \".json\";\n\n //\n // try catch block below for filewriting\n //\n\n try {\n File file = new File(fileTitle);\n FileWriter fileWriter = new FileWriter(file);\n fileWriter.write(workOrder);\n fileWriter.close();\n } catch (IOException ex) {\n ex.printStackTrace();\n }\n createWorkOrders();\n }", "title": "" }, { "docid": "576ba40751b5bdd1f636e397ef7c1b2d", "score": "0.45414838", "text": "public Timestamp getHC_WorkStartDate2();", "title": "" }, { "docid": "63bd039635680fb8bd5f32f35787e668", "score": "0.45340556", "text": "@Mapper\r\npublic interface OrderMapper {\r\n /**\r\n * 添加库存\r\n *\r\n * @param order\r\n */\r\n void addOrder(Order order);\r\n\r\n /**\r\n * 获得所有库存\r\n *\r\n * @return\r\n */\r\n @Select(\"SELECT ms_order.*,ms_supplier.supplier_office,ms_goods.* FROM gongxiao.ms_order,gongxiao.ms_supplier,gongxiao.ms_goods WHERE or_supplier_id=supplier_id and or_goods_id=su_id and or_check=3;\")\r\n List<Order> getList();\r\n\r\n\r\n @Select(\"SELECT COUNT(*) FROM ms_sale WHERE sale_check =1;\")\r\n Integer getCount();\r\n\r\n @Select(\"SELECT ms_order.*,ms_supplier.supplier_office,ms_goods.* FROM gongxiao.ms_order,gongxiao.ms_supplier,gongxiao.ms_goods WHERE or_supplier_id=supplier_id and or_goods_id=su_id and or_check=3 limit #{rows} offset #{offset};;\")\r\n List<Order> getListByPage(@Param(\"rows\") Integer rows, @Param(\"offset\") Integer offset);\r\n\r\n\r\n @Select(\"SELECT ms_order.*,ms_supplier.supplier_office,ms_goods.* FROM gongxiao.ms_order,gongxiao.ms_supplier,gongxiao.ms_goods WHERE or_supplier_id=supplier_id and or_goods_id=su_id and or_check=3 LIMIT #{row} OFFSET #{page};\")\r\n List<Order> getListByPageAndRow(@Param(\"row\") Integer row, @Param(\"page\") Integer page);\r\n\r\n /**\r\n * 获得公司进货记录\r\n */\r\n @Select(\"SELECT * FROM gongxiao.repertory WHERE or_id=#{id}\")\r\n Order getById(Integer id);\r\n\r\n /**\r\n * 获得库存物品信息\r\n *\r\n * @param val\r\n * @return\r\n */\r\n @Select(\"SELECT ms_order.*,ms_supplier.supplier_office,ms_goods.* FROM gongxiao.ms_order,gongxiao.ms_supplier,ms_goods WHERE ms_order.or_goods_id =#{val} and or_goods_id=su_id and or_supplier_id=supplier_id and or_check='3';\")\r\n List<Order> getGoodsInfoInBound(Integer val);\r\n\r\n /**\r\n * 设置发票状况\r\n *\r\n * @param key\r\n */\r\n @Update(\"UPDATE `gongxiao`.`ms_order` SET `or_invoice`=#{value} WHERE `or_id`=#{key};\")\r\n void setInvoice(@Param(\"key\") Integer key, @Param(\"value\") Integer value);\r\n\r\n /**\r\n * 结款\r\n *\r\n * @param id\r\n * @return\r\n */\r\n @Update(\"UPDATE `gongxiao`.`ms_order` SET `or_payment`=6 WHERE `or_id`=#{id};\")\r\n void setPayment(Integer id);\r\n\r\n /**\r\n * 获得待审核进货信息\r\n *\r\n * @param check\r\n * @return\r\n */\r\n @Select(\"SELECT ms_order.*,ms_supplier.supplier_office,ms_goods.* FROM gongxiao.ms_order,gongxiao.ms_supplier,gongxiao.ms_goods WHERE or_supplier_id=supplier_id and or_goods_id=su_id and ms_order.or_check=#{check};\")\r\n List<Order> getOrderWhereCheck(Integer check);\r\n\r\n /**\r\n * 删除库存\r\n *\r\n * @param id\r\n */\r\n @Delete(\"DELETE FROM `gongxiao`.`ms_order` WHERE `or_id`=#{id};\")\r\n void deleteOrderById(Integer id);\r\n\r\n /**\r\n * 获得库存状态\r\n *\r\n * @return\r\n */\r\n @Select(\"select su_name,SUM(or_number) as su_sum from repertory group by su_name;\")\r\n List<Statistics> getStatistics();\r\n\r\n /**\r\n * 查找相似物品的库存信息\r\n *\r\n * @param like\r\n * @return\r\n */\r\n @Select(\"SELECT ms_order.*,ms_supplier.supplier_office,ms_goods.* FROM gongxiao.ms_order,gongxiao.ms_supplier,gongxiao.ms_goods where ms_goods.su_name like #{like} and or_supplier_id=supplier_id and or_check='3' and or_goods_id = su_id\")\r\n List<Order> getLikeOrderInBound(String like);\r\n\r\n /**\r\n * 查找货号的库存信息\r\n *\r\n * @param like\r\n * @return\r\n */\r\n @Select(\"SELECT ms_order.*,ms_supplier.supplier_office,ms_goods.* FROM gongxiao.ms_order,gongxiao.ms_supplier,gongxiao.ms_goods where ms_goods.su_No like #{like} and or_supplier_id=supplier_id and or_check='3' and or_goods_id = su_id\")\r\n List<Order> getListByNo(String like);\r\n\r\n\r\n void updateOrderNumInBound(UpdateItem updateItem);\r\n\r\n /**\r\n * 审核入库\r\n */\r\n @Update(\"UPDATE `gongxiao`.`ms_order` SET `or_check`= 3 WHERE `or_id`=#{id};\")\r\n void orderInBound(Integer id);\r\n\r\n /**\r\n * 刷新库存\r\n */\r\n void refreshOrderInBound();\r\n\r\n /**\r\n * 根据日期和供货商获得库存信息\r\n *\r\n * @param item\r\n * @return\r\n */\r\n List<Order> getOrderByDateAndSupplierId(OfIdAndDateItem item);\r\n\r\n /**\r\n * 获得仓库预警库存\r\n *\r\n * @return\r\n */\r\n @Select(\"SELECT * FROM gongxiao.repertory WHERE or_number<=or_alarm;\")\r\n List<Order> getBoundAlarm();\r\n\r\n /**\r\n * 获得仓库预期\r\n * 只显示库存大于0的,小鱼0的不需要显示!\r\n *\r\n * @param time\r\n * @return\r\n */\r\n @Select(\"SELECT * FROM gongxiao.repertory WHERE or_deaddate<=#{s} and or_number >0;\")\r\n List<Order> getListByDead(Date time);\r\n\r\n /**\r\n * 重设预警值\r\n *\r\n * @param val\r\n * @param key\r\n */\r\n @Update(\"UPDATE `gongxiao`.`ms_order` SET `or_alarm`=#{val} WHERE `or_id`=#{key};\")\r\n void resetAlarm(@Param(\"val\") Integer val, @Param(\"key\") Integer key);\r\n\r\n /**\r\n * 根据公司ID获得库存信息\r\n */\r\n @Select(\"SELECT ms_order.*,ms_supplier.supplier_office,ms_goods.* FROM gongxiao.ms_order,gongxiao.ms_supplier,gongxiao.ms_goods where or_supplier_id=supplier_id and or_check='3' and or_goods_id = su_id and supplier_id=#{id}\")\r\n List<Order> getListBySupId(Integer id);\r\n\r\n /**\r\n * 获得公司库存金额\r\n *\r\n * @return\r\n */\r\n @Select(\"SELECT sum(or_price*or_number) FROM gongxiao.ms_order WHERE or_check =3;\")\r\n Double getAmount();\r\n\r\n /**\r\n * 修改备注\r\n */\r\n @Update(\"UPDATE `gongxiao`.`ms_order` SET `or_other`=#{val} WHERE `or_id`=#{key};\")\r\n void updateOther(@Param(\"val\") String val, @Param(\"key\") Integer key);\r\n}", "title": "" }, { "docid": "1b7ba72ab76730d2a01243b225d9de65", "score": "0.45309347", "text": "public void createEntity2(Entity2 entity2) throws DaoException;", "title": "" }, { "docid": "03660c1eb74ba283441c93713924929f", "score": "0.45278758", "text": "@Override\n\tpublic String queryWaybillTypeByOrderNo(String orderNo) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "c8e8f3f9dd55f7971a5f942250b0c514", "score": "0.45277756", "text": "public void setCronopElemCode2(String cronopElemCode2) {\n\t\tthis.cronopElemCode2 = cronopElemCode2;\n\t}", "title": "" }, { "docid": "7c2c91e97ba52e2bd8547622dbe3848b", "score": "0.45087218", "text": "public interface ApplyOrderMapper extends CrudRepository<OrderEntity, Long> {\n}", "title": "" }, { "docid": "7485169d64b14406c407574a59c99e08", "score": "0.45075047", "text": "public void addSimpleOrder(Order o) {\n DatabaseConnection connection = new DatabaseConnection();\r\n if(connection.openConnection())\r\n {\r\n if(o.getType() == 1) {\r\n connection.executeSQLInsertStatement(\"INSERT INTO drank_order (`TafelID`, `DrankID`) VALUES(\" + o.getTafelID() + \",\" + o.getID() + \");\");\r\n }\r\n\r\n else if(o.getType() == 0) {\r\n connection.executeSQLInsertStatement(\"INSERT INTO gerecht_order (`TafelID`, `GerechtID`) VALUES(\" + o.getTafelID() + \",\" + o.getID() + \");\");\r\n }\r\n }\r\n\r\n connection.closeConnection();\r\n }", "title": "" }, { "docid": "2cb2794a3b6e5db88e6907f2fbc52bbf", "score": "0.44992056", "text": "@Override\r\n\tpublic Order create(Order order) {\r\n\t\ttry (Connection connection = JDBCUtils.getInstance().getConnection();\r\n\t\t\t\tStatement statement = connection.createStatement();) {\r\n\t\t\tstatement.executeUpdate(String.format(\"INSERT INTO orders(customer_id) values(%d)\",\r\n\t\t\t\t\torder.getCustomer().getId()));\r\n\t\t\t\tHashMap<Item, Long> items = order.getItems();\r\n\t\t\t\tfor (Entry<Item, Long> entry : items.entrySet()) {\r\n\t\t\t\t\tstatement.executeUpdate(String.format(\"INSERT INTO orders_items(order_id, item_id, quantity) \"\r\n\t\t\t\t\t\t\t+ \"values(last_insert_id(), %d, %d)\", entry.getKey().getId(), entry.getValue()));\r\n\t\t\t\t}\r\n\t\t\treturn readLatest();\r\n\t\t} catch (Exception e) {\r\n\t\t\tLOGGER.debug(e);\r\n\t\t\tLOGGER.error(e.getMessage());\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "15e0d666466384153749f55403a42da0", "score": "0.4494891", "text": "public interface OrderInstanceRepository extends JpaRepository<TblOrderInstanceEntity,String>,JpaSpecificationExecutor<TblOrderInstanceEntity>{\r\n\r\n}", "title": "" }, { "docid": "4889b611d264b407c24c34506940fc45", "score": "0.4489859", "text": "public static Result getOrder(String orderId){\n \n MysqlDBOperations mysql = new MysqlDBOperations();\n ResourceProperty rs = new ResourceProperty(\"com.generic.resources.mysqlQuery\");\n Connection conn = mysql.getConnection(); \n Orders order;\n List<MarketProduct> productList;\n\n try{\n\n // -1- Prepare Statement\n PreparedStatement preStat = conn.prepareStatement(rs.getPropertyValue(\"mysql.order.select.4\"));\n preStat.setString(1, orderId);\n \n ResultSet resultSet = preStat.executeQuery();\n \n // -2- Get Result\n if(resultSet.first()){\n \n // -2.1- Get Order Object\n order = ORMHandler.resultSetToOrder(resultSet);\n \n // -2.2- Get User & UserAddress Object\n User user = ORMHandler.resultSetToUser(resultSet);\n UserAddress userAddress = ORMHandler.resultSetToUserAddress(resultSet);\n userAddress.setAddress(ORMHandler.resultSetToAddress(resultSet));\n \n // -2.3- Get MarketProduct list \n productList = new ArrayList<>();\n do{\n MarketProduct product = ORMHandler.resultSetToProduct(resultSet);\n productList.add(product);\n }while(resultSet.next());\n \n // -2.4- Set \n order.setUserAddress(userAddress);\n order.setUser(user);\n order.setProductList(productList);\n \n return Result.SUCCESS.setContent(order);\n }else{\n return Result.SUCCESS_EMPTY;\n } \n\n } catch (SQLException ex) { \n return Result.FAILURE_DB.setContent(ex.getMessage());\n }finally{\n mysql.closeAllConnection();\n } \n }", "title": "" }, { "docid": "04d8158d15f36a3dde1585193e7fa519", "score": "0.4489855", "text": "public void updateEntity2(Entity2 entity2) throws DaoException;", "title": "" }, { "docid": "3d1a7897912b1028054d3c6ee2b4e03c", "score": "0.4489385", "text": "@Override\n\tpublic void saveWorkout(Workout theWorkout) {\n\t\tSession currentSession = sessionFactory.getCurrentSession();\n\t\t\n\t\t// save/upate the Workout\n\t\tcurrentSession.saveOrUpdate(theWorkout);\n\t\t\n\t}", "title": "" }, { "docid": "f8d4aad1d621e6745ec7564d98b06e2f", "score": "0.44807065", "text": "@Override\n\tpublic void write(WorkVO workVO) {\n\t\tworkMapper.write(workVO);\n\t\t\n\t}", "title": "" }, { "docid": "cab08cf20d608e662b008d0be0808a0b", "score": "0.44751424", "text": "@Override\r\n\tpublic void saveJoOrder(JoOrder joOrder){\n\t\tString headerId = Tools.getUUID();\r\n\t\tjoOrder.getJoHeader().setHeaderId(headerId);\r\n\t\tbaseDao.save(joOrder.getJoHeader());\r\n\t\tfor(JoLine joLine : joOrder.getJoLineList()){\r\n\t\t\tjoLine.setLineId(Tools.getUUID());\r\n\t\t\tjoLine.setHeaderId(headerId);\r\n\t\t\tjoLineDao.save(joLine);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "4dd9f2e1a9d2009b4d0aa2bfe63676a1", "score": "0.44688633", "text": "void generateTravelOrderCode(AbstractOrderModel orderModel);", "title": "" }, { "docid": "d4a7ae40cc2ee1227c4b81dbc1651f2b", "score": "0.44653627", "text": "public void setOrder(List<Order> order) {\n this.order = order;\n }", "title": "" }, { "docid": "65a3e26d464b63d5634ed44eff30af0a", "score": "0.4456589", "text": "@Mapper\npublic interface OrderMapper {\n @Insert(\" insert into t_order (order_id, order_type, city_id, \\n\" +\n \" platform_id, user_id, supplier_id, \\n\" +\n \" goods_id, order_status, remark, \\n\" +\n \" create_by, create_time, update_by, \\n\" +\n \" update_time)\\n\" +\n \" values (#{orderId}, #{orderType}, #{cityId}, \\n\" +\n \" #{platformId}, #{userId}, #{supplierId}, \\n\" +\n \" #{goodsId}, #{orderStatus}, #{remark}, \\n\" +\n \" #{createBy}, #{createTime}, #{updateBy}, \\n\" +\n \" #{updateTime})\")\n /**\n * statement=\"\":表示定义的子查询语句\n * before=true:表示在之前执行,booler类型的,所以为true\n * keyColumn=\"myNo\":表示查询所返回的类名\n * resultType=int.class:表示返回值得类型\n * keyProperty=\"empNo\" :表示将该查询的属性设置到某个列中,此处设置到empNo中\n * //进行添加、修改等操作的时候只能返回数字,而不能返回java类或其他!\n * // SELECT LAST_INSERT_ID() 适合那种主键是自增的类型\n * // 1 insert语句需要写id字段了,并且 values里面也不能省略\n * // 2 selectKey 的order属性需要写成BEFORE 因为这样才能将生成的uuid主键放入到model中,\n * // 这样后面的insert的values里面的id才不会获取为空\n * // 跟自增主键相比就这点区别,当然了这里的获取主键id的方式为 select uuid()\n */\n @SelectKey(keyColumn = \"id\", keyProperty = \"id\", resultType = long.class, before = false, statement = \"select last_insert_id()\")\n long insertSelective(Order record);\n\n @Update(\"update t_order set order_status=#{status},update_by=#{updateBy},update_time=#{updateTime} where order_id=#{orderId}\")\n int updateOrderStatus(@Param(\"orderId\") String orderId, @Param(\"status\") String status, @Param(\"updateBy\") String updateBy, @Param(\"updateTime\") Date updateTime);\n\n @Select(\"select *from t_order\\n\" +\n \" where order_id = #{orderId}\")\n Order selectByPrimaryKey(String orderId);\n}", "title": "" }, { "docid": "5834fb7fb7c161f7e2420850c366775d", "score": "0.4451234", "text": "public void setOrderno(String orderno) {\n this.orderno = orderno;\n }", "title": "" }, { "docid": "735e06cd1a9648084a3a03480617b7d5", "score": "0.44368455", "text": "public void addOrder(Order o) throws SQLException\r\n {\r\n String sqlQuery = \r\n \"INSERT INTO orders (custname, tablenumber, foodname, beveragename, served, billed) VALUES (\" +\r\n \"'\" + o.getCustomerName() + \"', \" + \r\n o.getTable() + \", \" + \r\n \"'\" + o.getFood() + \"', \" +\r\n \"'\" + o.getBeverage() + \"', \" + \r\n o.isServed() + \", \" +\r\n o.isBilled() + \")\";\r\n myStmt.executeUpdate(sqlQuery);\r\n }", "title": "" }, { "docid": "fce6f8a81bc7dc8756a5da261a6ae61e", "score": "0.4433034", "text": "public Timestamp getHC_WorkEndDate();", "title": "" }, { "docid": "22d5cd67c099cb01a05af25aa2ec7adf", "score": "0.44225648", "text": "@Mapper\n@Repository\npublic interface OrderDAO {\n\n @Insert(\"insert into order_one values(#{order.id},#{order.number},#{order.name})\")\n int insert(@Param(\"order\") Order order);\n\n}", "title": "" }, { "docid": "92de98e47448a06a2e5a02c63e06e077", "score": "0.44215724", "text": "@NotNull\n public Order doSave(@NotNull Order o) {\n try {\n Connection cn = ConPool.getConnection();\n PreparedStatement st;\n if (o.getOperator() != null) {\n if (o.getId() < 1) {\n st = cn.prepareStatement(\n \"INSERT INTO `order` (user, totalPrice, \"\n + \"numberOfProduct, date, operator) values (?,?,?,?,?);\",\n Statement.RETURN_GENERATED_KEYS\n );\n st.setString(1, o.getUser().getUsername());\n st.setDouble(2, o.getTotPrice());\n st.setInt(3, o.getNumberOfItems());\n st.setString(4, o.getData());\n st.setString(5, o.getOperator().getUsername());\n } else {\n st = cn.prepareStatement(\"INSERT INTO `order`( user, id,\"\n + \" totalprice, numberOfProduct, date, operator)\"\n + \" values (?,?,?,?,?,?);\");\n st.setString(1, o.getUser().getUsername());\n st.setInt(2, o.getId());\n st.setDouble(3, o.getTotPrice());\n st.setInt(4, o.getNumberOfItems());\n st.setString(5, o.getData());\n st.setString(6, o.getOperator().getUsername());\n }\n } else {\n if (o.getId() < 1) {\n st = cn.prepareStatement(\n \"INSERT INTO `order` (user, totalPrice, \"\n + \"numberOfProduct, date) values (?,?,?,?);\",\n Statement.RETURN_GENERATED_KEYS\n );\n st.setString(1, o.getUser().getUsername());\n st.setDouble(2, o.getTotPrice());\n st.setInt(3, o.getNumberOfItems());\n st.setString(4, o.getData());\n } else {\n st = cn.prepareStatement(\"INSERT INTO `order`( user, id,\"\n + \" totalprice, numberOfProduct, date)\"\n + \" values (?,?,?,?,?);\");\n st.setString(1, o.getUser().getUsername());\n st.setInt(2, o.getId());\n st.setDouble(3, o.getTotPrice());\n st.setInt(4, o.getNumberOfItems());\n st.setString(5, o.getData());\n }\n }\n\n st.executeUpdate();\n if (o.getId() < 1) {\n ResultSet rs = st.getGeneratedKeys();\n rs.next();\n o.setId(rs.getInt(1));\n }\n for (Product p : o.getAllProducts()) {\n if (p instanceof DigitalProduct) {\n st = cn.prepareStatement(\n \"INSERT INTO digitalpurchasing (digitalProduct, `order`, quantity) \"\n + \"VALUES (?,?, ?);\");\n st.setInt(1, p.getId());\n st.setInt(2, o.getId());\n st.setInt(3, o.getQuantitySingleProduct(p.getId(), p.getClass()));\n\n if (st.executeUpdate() != 1) {\n throw new RuntimeException(\"INSERT error.\");\n }\n } else if (p instanceof PhysicalProduct) {\n st = cn.prepareStatement(\n \"INSERT INTO physicalpurchasing (physicalProduct, `order`, quantity) \"\n + \"VALUES (?,?, ?);\");\n st.setInt(1, p.getId());\n st.setInt(2, o.getId());\n st.setInt(3, o.getQuantitySingleProduct(p.getId(), p.getClass()));\n if (st.executeUpdate() != 1) {\n throw new RuntimeException(\"INSERT error.\");\n }\n }\n }\n st.close();\n cn.close();\n return o;\n } catch (SQLException e) {\n throw new RuntimeException(e);\n }\n }", "title": "" }, { "docid": "4b9d0642ad328e517c584303698ad9d3", "score": "0.44199044", "text": "public void setOrderNo(Short orderNo) {\n this.orderNo = orderNo;\n }", "title": "" }, { "docid": "c3d7a65efb6ee1a7afdf04019ebe45e8", "score": "0.44168076", "text": "public boolean getOrder2(IncomeInputvo iivo) {\n\t\tSystem.out.println(\"ssss\");\n\n\t\t FinancialmanService cs = new SettlementListIO();\n try {\n\n \tif(cs.writeOrder2(new IncomeInputpo(iivo)))\n \t\tHostLog.addMes(\"写入结算清单\"+\"\\n\");\n\t\t\t\t\treturn true;\n\t\t\t} catch (Exception e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n return false;\n\t}", "title": "" }, { "docid": "9d04822099a7958006f160af78af9e44", "score": "0.4412415", "text": "@RequiresIdFrom(type = Governor.class)\n\t@Override\n\tpublic String dataRow()\n\t{\n\t\treturn String.format(\"%d,%s\", first, second.getSqlId());\n\t}", "title": "" }, { "docid": "e49848c5e480790c84cfd130235a4369", "score": "0.44117737", "text": "public interface BugPlatformMapper {\n\n\n @Select(\"SELECT js.pname as bugResolutionStatus, COUNT(js.pname) as bugNum FROM jiraissue ji INNER JOIN project pr ON pr.ID = ji.PROJECT LEFT JOIN issuestatus js ON ji.issuestatus = js.ID where pr.ID in (#{2}) and issuetype = 1 AND CREATED between #{0} and #{1} group by js.pname\")\n List<BugPlatformObject> getList(String startDate,String endDate,String project);\n}", "title": "" }, { "docid": "033a908e2f4e5e4eebd4138c42a5582f", "score": "0.4402824", "text": "public String getBuild2Number() {\n\t\treturn \"\"+nb_build2;\n\t}", "title": "" }, { "docid": "d829a7ab83519631c85d3542c00f3ea3", "score": "0.44021514", "text": "public int addOrder(Order order, int diff) throws Exception, SQLException {\n PreparedStatement ps = conn.prepareStatement(\"insert into orders(status, cid, total, createdate) values(?,?,?,NOW())\", Statement.RETURN_GENERATED_KEYS);\n ps.setInt(1, order.getStatus());\n ps.setInt(2, order.getCid());\n ps.setFloat(3, order.getTotal());\n //ps.setInt(4, diff);\n int rows = ps.executeUpdate();\n if (rows == 1) {\n ResultSet rs = ps.getGeneratedKeys();\n rs.next();\n ps = conn.prepareStatement(\"update orders set shipdate = DATE_ADD(NOW(), INTERVAL ? HOUR) where oid = ?\");\n ps.setInt(1, diff);\n ps.setInt(2, rs.getInt(1));\n ps.executeUpdate();\n return rs.getInt(1);\n }\n throw new Exception(\"order id mismatch\");\n }", "title": "" }, { "docid": "ebbeebdb90e5a6e0d27b45718311fa9d", "score": "0.4402023", "text": "public void setOrder(int order) {\n this.order = order;\n }", "title": "" }, { "docid": "ebbeebdb90e5a6e0d27b45718311fa9d", "score": "0.4402023", "text": "public void setOrder(int order) {\n this.order = order;\n }", "title": "" }, { "docid": "4703b932038549c158c12d9f31aaa960", "score": "0.43993598", "text": "public String getId2() {\n return id2;\n }", "title": "" }, { "docid": "f3d5043c12275102c502eb796af0ccf7", "score": "0.439874", "text": "public Long getOrderNo () {\r\n\t\treturn orderNo;\r\n\t}", "title": "" }, { "docid": "b22f01e63fa5fbe53bfff1e2d2db9af0", "score": "0.43979892", "text": "public int getAccount2() // getAccount2 method start\n\t\t{\n\t\t\tif (increasing)\n\t\t\t{\n\t\t\t\treturn convertIncreasingName(creditBox2.getSelectedIndex());\n\t\t\t} // end if\n\t\t\telse\n\t\t\t{\n\t\t\t\treturn convertDecreasingName(creditBox2.getSelectedIndex());\n\t\t\t} // end else\n\t\t}", "title": "" }, { "docid": "38f4308d7115693312fc1724e170f9eb", "score": "0.43956006", "text": "@Override\r\npublic List<OrderInfo> selectUnfinishedSaleOrderList() {\n\t\treturn OrderInfoMapper.selectUnfinishedSaleOrderList();\r\n}", "title": "" }, { "docid": "e12abfdcc2b981b299ee0441df7615e8", "score": "0.4394528", "text": "@Override\n\tpublic void updateOrderQrCode(WxOrder order) {\n\t\torderMapper.updateOrderQrCode(order);\n\t}", "title": "" }, { "docid": "a74f3eb62c1b445c4a72ba883ef533f2", "score": "0.43928924", "text": "public void setOrder(Order order){\n this.order = order;\n }", "title": "" }, { "docid": "a6c9186e5b6325a08dbe13c78c532f06", "score": "0.43921313", "text": "public ProfileWorkexpDao() {\n super(ProfileWorkexp.PROFILE_WORKEXP, com.moseeker.baseorm.db.profiledb.tables.pojos.ProfileWorkexp.class);\n }", "title": "" }, { "docid": "b76eb9aef4495e6305239ff9b568bbe3", "score": "0.43866548", "text": "@Override\n\tpublic TwoInOneWaybillDto queryWaybillRelateByWaybillOrOrderNo(\n\t\t\tString waybillNo) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "72f991e3534443772b8866f81eab4445", "score": "0.43854973", "text": "public int saveH2() {\n\t\tint result = 0;\n\n\t\ttry {\n\t\t\tmanager = Connection.connectToH2();\n\n\t\t\tif (this.id > 0) {\n\t\t\t\t// UPDATE\n\t\t\t\tmanager.getTransaction().begin();\n\t\t\t\tresult=manager.createNativeQuery(\"UPDATE Cancion SET nombre = ?, duracion = ?, id_disco = ? WHERE id = ?\")\n\t\t\t\t\t\t.setParameter(1, this.nombre)\n\t\t\t\t\t\t.setParameter(2, this.duracion)\n\t\t\t\t\t\t.setParameter(3, this.disco_contenedor.id)\n\t\t\t\t\t\t.setParameter(4, this.id)\n\t\t\t\t\t\t.executeUpdate();\n\t\t\t\tmanager.getTransaction().commit();\n\t\t\t} else {\n\t\t\t\t// INSERT\n\t\t\t\tmanager.getTransaction().begin();\n\t\t\t\tresult=manager.createNativeQuery(\"INSERT INTO Cancion (nombre,duracion,id_disco) VALUES (?,?,?)\")\n\t\t\t\t\t\t.setParameter(1, this.nombre)\n\t\t\t\t\t\t.setParameter(2, this.duracion)\n\t\t\t\t\t\t.setParameter(3, this.disco_contenedor.id)\n\t\t\t\t\t\t.executeUpdate();\n\t\t\t\tmanager.getTransaction().commit();\n\t\t\t}\n\n\t\t} catch (Exception ex) {\n\t\t\tSystem.out.println(ex);\n\t\t}\n\n\t\treturn result;\n\t}", "title": "" }, { "docid": "b917a65748d3449cf5ece8862b846467", "score": "0.43846506", "text": "@VTID(10)\r\n int getOrder();", "title": "" }, { "docid": "06b7619403c2da285e4af70b811b26fa", "score": "0.4383772", "text": "public int getAccount2() // getAccount2 method start\n\t\t{\n\t\t\tif (accounts[debitBox1.getSelectedIndex() - 1].getStatus())\n\t\t\t{\n\t\t\t\treturn convertIncreasingName(debitBox2.getSelectedIndex());\n\t\t\t} // end if\n\t\t\telse\n\t\t\t{\n\t\t\t\treturn convertDecreasingName(debitBox2.getSelectedIndex());\n\t\t\t} // end else\n\t\t\t\n\t\t}", "title": "" }, { "docid": "c1eec888982a8c85e0cfde8900aadcbc", "score": "0.43826213", "text": "@Override\n\tpublic OmsOrderEntity queryOmsOrderByWaybillNo(String waybillNo) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "d922ee7f245b21fd03aad0966a5a6a36", "score": "0.43815702", "text": "@Override\n\tpublic List<StockEntity> queryStockByWaybillNo(String originalWaybillNo) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "dfb2b3394c94a7bbd79f01a6e06b9077", "score": "0.43717587", "text": "public interface YaOrderRepository extends JpaRepository<YaOrder,Long> {\n\n}", "title": "" }, { "docid": "a9af2018318d04daa4f384a912d883ef", "score": "0.43698505", "text": "public void setCustomID2(String customID2) {\n\t\tCUSTOM_ID2 = customID2;\n\t}", "title": "" }, { "docid": "efa61035663052853eb6e8fdd9a02312", "score": "0.43671757", "text": "public int placeOrder(Order order, String cust_no, Connection conn) {\r\n\t\ttry {\r\n\t\t\tint item_no=0;\r\n\t\t\tArrayList<Item> item_collection = new ArrayList<Item>();\r\n\t\t\titem_collection = order.getItemCollection(); \r\n\t\t\tfor(Item i : item_collection)\r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(i);\r\n\t\t\t\titem_no = i.getItemNo();\r\n\t\t\t}\r\n\t\t\tint order_no = 0;\r\n\t\t\tStatement stmt = conn.createStatement();\r\n\t\t\tResultSet rset = stmt.executeQuery(\"select max(orderno) from order_XXXX\");\r\n\t\t\twhile (rset.next()) {\r\n\t\t\t\torder_no = rset.getInt(1);\r\n\t\t\t\torder_no++;\r\n\t\t\t}\r\n\t\t\tPreparedStatement pstmt = conn\r\n\t\t\t\t\t.prepareStatement(\"insert into order_XXXX(orderno,item_no,ord_qty,custno) values(?,?,?,?)\");\r\n\t\t\tpstmt.setInt(1, order_no);\r\n\t\t\tpstmt.setInt(2, item_no);\r\n\t\t\tpstmt.setInt(3, order.getOrderQty());\r\n\t\t\tpstmt.setString(4, cust_no);\r\n\t\t\tint count = pstmt.executeUpdate();\r\n\t\t\tPreparedStatement pstmt1 = conn.prepareStatement(\"update item_XXXX set qty=qty-? where item_no = ?\");\r\n\t\t\tpstmt1.setInt(1, order.getOrderQty());\r\n\t\t\tpstmt1.setInt(2, item_no);\r\n\t\t\tpstmt1.executeUpdate();\r\n\t\t\treturn count;\r\n\t\t} catch (SQLException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "a2eecac524d95e7621c33a5e9bf2b342", "score": "0.43659174", "text": "public void setCronopElemDesc2(String cronopElemDesc2) {\n\t\tthis.cronopElemDesc2 = cronopElemDesc2;\n\t}", "title": "" }, { "docid": "a834511ccae7be0a6dedd797821d602b", "score": "0.4364421", "text": "private org.gwtbootstrap3.client.ui.Column get_f_Column2() {\n return build_f_Column2();\n }", "title": "" }, { "docid": "d7e4b0d2cf589dd1d2f1586d3bec5b58", "score": "0.4364139", "text": "@Override\n\tpublic void getSpecificOrders() {\n\t\t\n\t}", "title": "" }, { "docid": "d7e4b0d2cf589dd1d2f1586d3bec5b58", "score": "0.4364139", "text": "@Override\n\tpublic void getSpecificOrders() {\n\t\t\n\t}", "title": "" }, { "docid": "4aac0a3ee085ebe06902f746cc0a7b28", "score": "0.43628314", "text": "public Integer getWishPosTypeid2() {\n return wishPosTypeid2;\n }", "title": "" }, { "docid": "3d1acf88953ee44557534a9cee1c57e5", "score": "0.4362134", "text": "@Override\n\t\t\tpublic void worked(int work) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "d70a2d6708cbd3e31202ea953340c19d", "score": "0.4361375", "text": "protected void updateOrder(JdbcTemplate dataConnection,OrderTransactionIfc orderTransaction)\n throws DataException\n {\n // get an sql object\n SQLUpdateStatement sql = new SQLUpdateStatement();\n\n // Table\n sql.setTable(ARTSDatabaseIfc.TABLE_ORDER);\n\n // add update columns\n addUpdateColumns(sql,\n orderTransaction);\n\n // add update qualifier\n addUpdateQualifiers(sql,\n \t\torderTransaction);\n\n try\n {\n dataConnection.execute(sql.getSQLString());\n }\n catch (DataException de)\n {\n logger.error( \"\" + de + \"\");\n throw de;\n }\n catch (Exception e)\n {\n logger.error( \"\" + Util.throwableToString(e) + \"\");\n throw new DataException(DataException.UNKNOWN, \"updateOrder\", e);\n }\n }", "title": "" }, { "docid": "d0582f0e0e9efb1dfe47b183998f7fda", "score": "0.43570176", "text": "public void setOrder(String Order) {\n this.Order = Order;\n }", "title": "" }, { "docid": "6263332f011302d991c5993508bac8ea", "score": "0.4350909", "text": "public void setOrder(Integer order) {\n this.order = order;\n }", "title": "" }, { "docid": "6263332f011302d991c5993508bac8ea", "score": "0.4350909", "text": "public void setOrder(Integer order) {\n this.order = order;\n }", "title": "" }, { "docid": "4f22edff54ec2aadda50233598820578", "score": "0.4350125", "text": "@Override\r\n\tpublic void Update(Order order) {\n\t\tem.merge(order);\r\n\t\t\r\n\t}", "title": "" }, { "docid": "d44015d2dd9ffe2971a72249aa0e4c41", "score": "0.4341047", "text": "@Insert({\n \"insert into SALEORDERDETAIL (SOID, LINENO, \",\n \"MID, MNAME, STANDARD, \",\n \"UNITID, UNITNAME, \",\n \"NUM, BEFOREDISCOUNT, \",\n \"DISCOUNT, PRICE, \",\n \"TOTALPRICE, TAXRATE, \",\n \"TOTALTAX, TOTALMONEY, \",\n \"BEFOREOUT, ESTIMATEDATE, \",\n \"LEFTNUM, ISGIFT, \",\n \"FROMBILLTYPE, FROMBILLID)\",\n \"values (#{soid,jdbcType=VARCHAR}, #{lineno,jdbcType=DECIMAL}, \",\n \"#{mid,jdbcType=VARCHAR}, #{mname,jdbcType=VARCHAR}, #{standard,jdbcType=VARCHAR}, \",\n \"#{unitid,jdbcType=VARCHAR}, #{unitname,jdbcType=VARCHAR}, \",\n \"#{num,jdbcType=DECIMAL}, #{beforediscount,jdbcType=DECIMAL}, \",\n \"#{discount,jdbcType=DECIMAL}, #{price,jdbcType=DECIMAL}, \",\n \"#{totalprice,jdbcType=DECIMAL}, #{taxrate,jdbcType=DECIMAL}, \",\n \"#{totaltax,jdbcType=DECIMAL}, #{totalmoney,jdbcType=DECIMAL}, \",\n \"#{beforeout,jdbcType=DECIMAL}, #{estimatedate,jdbcType=TIMESTAMP}, \",\n \"#{leftnum,jdbcType=DECIMAL}, #{isgift,jdbcType=DECIMAL}, \",\n \"#{frombilltype,jdbcType=DECIMAL}, #{frombillid,jdbcType=VARCHAR})\"\n })\n int insert(Saleorderdetail record);", "title": "" }, { "docid": "55a1ac40dfabc1d0cfbf9d3ccf3f503d", "score": "0.43368006", "text": "List<Table2> selectByExample(Table2Example example);", "title": "" }, { "docid": "fb766f114854f215ddcf8984237c20a7", "score": "0.43361884", "text": "public void setOrderSn(String orderSn) {\n this.orderSn = orderSn;\n }", "title": "" }, { "docid": "4abdb4394b2bbe73d2fadbcc67756814", "score": "0.43326223", "text": "@Override\n\tpublic void update(HongXunWorkNum hongXunWorkNum) {\n\t\tgetHibernateTemplate().update(hongXunWorkNum);\n\t}", "title": "" }, { "docid": "62a6f360c03b1682b31a7d223b02907f", "score": "0.4330776", "text": "@Override\n\tpublic List<BookVO> list2() {\n\t\tList<BookVO> list2 =bookDAO.list2();\n\t\treturn list2;\n\t}", "title": "" }, { "docid": "88bdcf1d6da04454fe03c2f1c74ee641", "score": "0.43297362", "text": "@Test\n @Tag(\"CREATE\")\n @Tag(\"RESOURCE\")\n @DisplayName(\"Test Insert SB Customer 08 and SB Order 04\")\n public void testHibernateSaveCustomer08AndOrder04()\n {\n System.out.println(\"Programme Start\");\n long startTime = System.nanoTime();\n\n SBAddressVal01 addressVal01 = SBAddressVal01.of(\n \"Kusumarama Road\",\n \"Seenigama\",\n \"Hikkaduwa\",\n \"Sri Lanka\",\n \"292000\"\n );\n\n SBCustomerOrder04 order01 = new SBCustomerOrder04();\n order01.setCustomerOrder04InvoiceNumber(\"IN0000001\");\n order01.setCustomerOrder04DateTime(new Timestamp(new java.util.Date().getTime()));\n order01.setCustomerOrder04Total(2024.50);\n order01.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\n order01.setRawLastUpdateLogId(1);\n order01.setUpdateUserAccountId(1);\n order01.setRawActiveStatus(1);\n order01.setRawDeleteStatus(1);\n order01.setRawShowStatus(1);\n order01.setRawUpdateStatus(1);\n\n SBCustomerOrder04 order02 = new SBCustomerOrder04();\n order02.setCustomerOrder04InvoiceNumber(\"IN0000002\");\n order02.setCustomerOrder04DateTime(new Timestamp(new java.util.Date().getTime()));\n order02.setCustomerOrder04Total(1024.50);\n order02.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\n order02.setRawLastUpdateLogId(1);\n order02.setUpdateUserAccountId(1);\n order02.setRawActiveStatus(1);\n order02.setRawDeleteStatus(1);\n order02.setRawShowStatus(1);\n order02.setRawUpdateStatus(1);\n\n SBCustomerOrder04 order03 = new SBCustomerOrder04();\n order03.setCustomerOrder04InvoiceNumber(\"IN0000003\");\n order03.setCustomerOrder04DateTime(new Timestamp(new java.util.Date().getTime()));\n order03.setCustomerOrder04Total(3024.50);\n order03.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\n order03.setRawLastUpdateLogId(1);\n order03.setUpdateUserAccountId(1);\n order03.setRawActiveStatus(1);\n order03.setRawDeleteStatus(1);\n order03.setRawShowStatus(1);\n order03.setRawUpdateStatus(1);\n\n SBCustomerOrder04 order04 = new SBCustomerOrder04();\n order04.setCustomerOrder04InvoiceNumber(\"IN0000004\");\n order04.setCustomerOrder04DateTime(new Timestamp(new java.util.Date().getTime()));\n order04.setCustomerOrder04Total(5024.50);\n order04.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\n order04.setRawLastUpdateLogId(1);\n order04.setUpdateUserAccountId(1);\n order04.setRawActiveStatus(1);\n order04.setRawDeleteStatus(1);\n order04.setRawShowStatus(1);\n order04.setRawUpdateStatus(1);\n\n SBCustomer08 sbCustomer08 = new SBCustomer08();\n\n sbCustomer08.getCustomer08Orders().add(order01);\n sbCustomer08.getCustomer08Orders().add(order02);\n sbCustomer08.getCustomer08Orders().add(order03);\n sbCustomer08.getCustomer08Orders().add(order04);\n\n sbCustomer08.setCustomer08Email(\"[email protected]\");\n sbCustomer08.setCustomer08Sex(\"Male\");\n sbCustomer08.setCustomer08FirstName(\"Umesh\");\n sbCustomer08.setCustomer08LastName(\"Gunasekara\");\n sbCustomer08.setCustomer08Nic(\"901521344V\");\n sbCustomer08.setCustomer08Mobile(\"0711233000\");\n try {\n sbCustomer08.setCustomer08Birthday(new SimpleDateFormat(\"dd/MM/yyyy\").parse(\"31/05/1990\"));\n } catch (ParseException e) {\n LOGGER.error(ExceptionUtils.getFullStackTrace(e));\n e.printStackTrace();\n }\n sbCustomer08.setCustomer08Address(addressVal01);\n sbCustomer08.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\n sbCustomer08.setRawLastUpdateLogId(1);\n sbCustomer08.setUpdateUserAccountId(1);\n sbCustomer08.setRawActiveStatus(1);\n sbCustomer08.setRawDeleteStatus(1);\n sbCustomer08.setRawShowStatus(1);\n sbCustomer08.setRawUpdateStatus(1);\n\n Transaction transaction = null;\n try (Session session = HibernateUtil.getSessionFactory().openSession();) {\n transaction = session.beginTransaction();\n session.save(sbCustomer08);\n session.save(order01);\n session.save(order02);\n session.save(order03);\n session.save(order04);\n transaction.commit();\n System.out.println(\"Added Customer 03: \" + sbCustomer08.getCustomer08FirstName());\n } catch (Throwable throwable) {\n if (transaction != null) {\n transaction.rollback();\n }\n LOGGER.error(ExceptionUtils.getFullStackTrace(throwable));\n throwable.printStackTrace();\n }\n long endTime = System.nanoTime();\n ELAPSED_TIME = endTime - startTime;\n System.out.println(\"Programme End\");\n\n }", "title": "" }, { "docid": "823c1387ac397ad5b8139512eb61ee88", "score": "0.4325617", "text": "@Query(\"select d from DeliveryBoy d join DeliveryBoyCurrentStatus dbcs on d.id=dbcs.deliveryBoy.id join UserLogin ul on d.id=ul.entityId join DeviceDetail dd on ul.id=dd.userLogin.id where dbcs.isLogin='true' and dbcs.isAvailable='true' and dbcs.isBusy='false' and d.id not in (select COALESCE(dbsh.deliveryBoy.id,0) from DeliveryBoySendNotificationHistory dbsh where dbsh.orderId=:orderId) and ul.entityType='DELIVERY_BOY'\")\n\tList<DeliveryBoy> getAllNextAvailableDeliveryBoys(Long orderId);", "title": "" }, { "docid": "ae33bf1338178c1b378cca4d60e82304", "score": "0.43250158", "text": "public interface CrmDmDbsBmsMapper {\n public static String TABLENAME = \"crm_dm_bds_bms\";\n @Select(\"select * from \"+TABLENAME+\" WHERE staff_city_id=#{cityId, jdbcType=BIGINT} limit 10 \")\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType= JdbcType.BIGINT, id=true),\n @Result(column=\"Saler_id\", property=\"salerId\", jdbcType= JdbcType.BIGINT),\n @Result(column=\"Saler_name\", property=\"salerName\", jdbcType= JdbcType.BIGINT)\n })\n public List<CrmDmBdsBms> findSalerListByCityId(@Param(\"cityId\") Long cityId);\n}", "title": "" }, { "docid": "0e1b607a9fdf6b9652db31479a73421e", "score": "0.43245998", "text": "@Select({\n \"select\",\n \"JNLNO, TRANDATE, ACCOUNTDATE, CHECKTYPE, STATUS, DONETIME, FILENAME\",\n \"from B_UMB_CHECKING_LOG\",\n \"where JNLNO = #{jnlno,jdbcType=VARCHAR}\"\n })\n @Results({\n @Result(column=\"JNLNO\", property=\"jnlno\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"TRANDATE\", property=\"trandate\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"ACCOUNTDATE\", property=\"accountdate\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"CHECKTYPE\", property=\"checktype\", jdbcType=JdbcType.CHAR),\n @Result(column=\"STATUS\", property=\"status\", jdbcType=JdbcType.CHAR),\n @Result(column=\"DONETIME\", property=\"donetime\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"FILENAME\", property=\"filename\", jdbcType=JdbcType.VARCHAR)\n })\n BUMBCheckingLog selectByPrimaryKey(BUMBCheckingLogKey key);", "title": "" }, { "docid": "957a78caadc6259828289d91812ea9a9", "score": "0.43242985", "text": "public void addOrder(Order o) {\n medOrder.add(o);\n //System.out.println(\"in adding order\");\n for(OrderItem oi: o.getOrderItemList())\n {\n MedicineProduct p=oi.getProduct();\n //System.out.println(\"in for oop produscts \"+p);\n Medicine med = this.searchMedicine(p.getProdName());\n if(med!=null){\n int i = med.getAvailQuantity()+oi.getQuantity();\n med.setAvailQuantity(i);\n // System.out.println(\"in adding quntity \"+i);\n \n }\n }\n \n }", "title": "" }, { "docid": "017306162d2674ab91ea52c3b2f8642d", "score": "0.43240657", "text": "public boolean importOrders(Workbook work, Map<String, Object> returnMap) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "6dd2c912317fe9a9c6487a11ed8b89da", "score": "0.43157932", "text": "public void AddOrder(Shoporder model) {\n\t\tmapper.AddOrder(model);\n\t}", "title": "" }, { "docid": "34cca038d145a8ad7aa614ba37aa5669", "score": "0.43147394", "text": "@Test\n @Tag(\"CREATE\")\n @Tag(\"RESOURCE\")\n @DisplayName(\"Test Insert SB Customer 07 and SB Order 04\")\n public void testHibernateSaveCustomer07AndOrder04()\n {\n System.out.println(\"Programme Start\");\n long startTime = System.nanoTime();\n\n SBAddressVal01 addressVal01 = SBAddressVal01.of(\n \"Kusumarama Road\",\n \"Seenigama\",\n \"Hikkaduwa\",\n \"Sri Lanka\",\n \"292000\"\n );\n\n SBCustomerOrder04 order01 = new SBCustomerOrder04();\n order01.setCustomerOrder04InvoiceNumber(\"IN0000001\");\n order01.setCustomerOrder04DateTime(new Timestamp(new java.util.Date().getTime()));\n order01.setCustomerOrder04Total(2024.50);\n order01.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\n order01.setRawLastUpdateLogId(1);\n order01.setUpdateUserAccountId(1);\n order01.setRawActiveStatus(1);\n order01.setRawDeleteStatus(1);\n order01.setRawShowStatus(1);\n order01.setRawUpdateStatus(1);\n\n SBCustomerOrder04 order02 = new SBCustomerOrder04();\n order02.setCustomerOrder04InvoiceNumber(\"IN0000002\");\n order02.setCustomerOrder04DateTime(new Timestamp(new java.util.Date().getTime()));\n order02.setCustomerOrder04Total(1024.50);\n order02.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\n order02.setRawLastUpdateLogId(1);\n order02.setUpdateUserAccountId(1);\n order02.setRawActiveStatus(1);\n order02.setRawDeleteStatus(1);\n order02.setRawShowStatus(1);\n order02.setRawUpdateStatus(1);\n\n SBCustomerOrder04 order03 = new SBCustomerOrder04();\n order03.setCustomerOrder04InvoiceNumber(\"IN0000003\");\n order03.setCustomerOrder04DateTime(new Timestamp(new java.util.Date().getTime()));\n order03.setCustomerOrder04Total(3024.50);\n order03.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\n order03.setRawLastUpdateLogId(1);\n order03.setUpdateUserAccountId(1);\n order03.setRawActiveStatus(1);\n order03.setRawDeleteStatus(1);\n order03.setRawShowStatus(1);\n order03.setRawUpdateStatus(1);\n\n SBCustomerOrder04 order04 = new SBCustomerOrder04();\n order04.setCustomerOrder04InvoiceNumber(\"IN0000004\");\n order04.setCustomerOrder04DateTime(new Timestamp(new java.util.Date().getTime()));\n order04.setCustomerOrder04Total(5024.50);\n order04.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\n order04.setRawLastUpdateLogId(1);\n order04.setUpdateUserAccountId(1);\n order04.setRawActiveStatus(1);\n order04.setRawDeleteStatus(1);\n order04.setRawShowStatus(1);\n order04.setRawUpdateStatus(1);\n\n SBCustomer07 sbCustomer07 = new SBCustomer07();\n\n sbCustomer07.getCustomer07Orders().add(order01);\n sbCustomer07.getCustomer07Orders().add(order02);\n sbCustomer07.getCustomer07Orders().add(order03);\n sbCustomer07.getCustomer07Orders().add(order04);\n\n sbCustomer07.setCustomer07Email(\"[email protected]\");\n sbCustomer07.setCustomer07Sex(\"Male\");\n sbCustomer07.setCustomer07FirstName(\"Umesh\");\n sbCustomer07.setCustomer07LastName(\"Gunasekara\");\n sbCustomer07.setCustomer07Nic(\"901521344V\");\n sbCustomer07.setCustomer07Mobile(\"0711233000\");\n try {\n sbCustomer07.setCustomer07Birthday(new SimpleDateFormat(\"dd/MM/yyyy\").parse(\"31/05/1990\"));\n } catch (ParseException e) {\n LOGGER.error(ExceptionUtils.getFullStackTrace(e));\n e.printStackTrace();\n }\n sbCustomer07.setCustomer07Address(addressVal01);\n sbCustomer07.setRawLastUpdateDateTime(new Timestamp(new java.util.Date().getTime()));\n sbCustomer07.setRawLastUpdateLogId(1);\n sbCustomer07.setUpdateUserAccountId(1);\n sbCustomer07.setRawActiveStatus(1);\n sbCustomer07.setRawDeleteStatus(1);\n sbCustomer07.setRawShowStatus(1);\n sbCustomer07.setRawUpdateStatus(1);\n\n Transaction transaction = null;\n try (Session session = HibernateUtil.getSessionFactory().openSession();) {\n transaction = session.beginTransaction();\n session.save(sbCustomer07);\n session.save(order01);\n session.save(order02);\n session.save(order03);\n session.save(order04);\n transaction.commit();\n System.out.println(\"Added Customer 03: \" + sbCustomer07.getCustomer07FirstName());\n } catch (Throwable throwable) {\n if (transaction != null) {\n transaction.rollback();\n }\n LOGGER.error(ExceptionUtils.getFullStackTrace(throwable));\n throwable.printStackTrace();\n }\n long endTime = System.nanoTime();\n ELAPSED_TIME = endTime - startTime;\n System.out.println(\"Programme End\");\n\n }", "title": "" } ]
c1d3c4171fbcf3a22ce67df6e006e739
Creates new form NewJFrame
[ { "docid": "4d3753bdaffaacdb8bae5fb92b95fdac", "score": "0.0", "text": "public WidgetPractice() {\n initComponents();\n }", "title": "" } ]
[ { "docid": "0d65a329da521ad224e469bf4860f084", "score": "0.7931828", "text": "public NewJFrame() {\n initComponents();\n }", "title": "" }, { "docid": "0d65a329da521ad224e469bf4860f084", "score": "0.7931828", "text": "public NewJFrame() {\n initComponents();\n }", "title": "" }, { "docid": "0d65a329da521ad224e469bf4860f084", "score": "0.7931828", "text": "public NewJFrame() {\n initComponents();\n }", "title": "" }, { "docid": "0d65a329da521ad224e469bf4860f084", "score": "0.7931828", "text": "public NewJFrame() {\n initComponents();\n }", "title": "" }, { "docid": "0d65a329da521ad224e469bf4860f084", "score": "0.7931828", "text": "public NewJFrame() {\n initComponents();\n }", "title": "" }, { "docid": "0d65a329da521ad224e469bf4860f084", "score": "0.7931828", "text": "public NewJFrame() {\n initComponents();\n }", "title": "" }, { "docid": "0d65a329da521ad224e469bf4860f084", "score": "0.7931828", "text": "public NewJFrame() {\n initComponents();\n }", "title": "" }, { "docid": "0d65a329da521ad224e469bf4860f084", "score": "0.7931828", "text": "public NewJFrame() {\n initComponents();\n }", "title": "" }, { "docid": "0d65a329da521ad224e469bf4860f084", "score": "0.7931828", "text": "public NewJFrame() {\n initComponents();\n }", "title": "" }, { "docid": "0c6d4de07d5d7d1c5c8e9b0c787bf8de", "score": "0.79177773", "text": "public NewJFrame() {\n initComponents();\n \n \n }", "title": "" }, { "docid": "07842e484fd779df2bde7b3b3faf1853", "score": "0.79161865", "text": "public NewJFrame() {\r\n initComponents();\r\n }", "title": "" }, { "docid": "b37836b93460f3c3e6642fab4f51a00c", "score": "0.7648401", "text": "public NewJFrame1() {\n initComponents();\n }", "title": "" }, { "docid": "04d60ca53c25a51a2d9f11203416ad49", "score": "0.7636639", "text": "public NewJFrame() {\n initComponents(); setModal(true);\n \n }", "title": "" }, { "docid": "6b8497c5afebc47b0005b4ec1bcfec92", "score": "0.7558708", "text": "public NewJFrame4() {\n initComponents();\n }", "title": "" }, { "docid": "9da382a59f6c29b3f7794702873378db", "score": "0.75300694", "text": "public NewJFrameAhmedabad() {\n initComponents();\n }", "title": "" }, { "docid": "76b6fe4caf7cd908d9dff13a7c770ea0", "score": "0.7345191", "text": "public NewJFrame14() {\n initComponents();\n setSize(900, 500);\n }", "title": "" }, { "docid": "e33a596606149493f607103096ff175c", "score": "0.7337689", "text": "public NewJFrame5() {\n initComponents();\n }", "title": "" }, { "docid": "e6070308f63dc10a4f4c20b6a483fe12", "score": "0.7000412", "text": "public void createForm2() {\n frame.setContentPane(new addinfoform().addinfopanel);\n frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);\n frame.pack();\n frame.setVisible(true);\n frame.setResizable(false);\n frame.setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "1b37e46da32e5086a171ab7d9a3d28cc", "score": "0.6964671", "text": "public NewJFrame() {\n try {\n UIManager.setLookAndFeel(UIManager\n .getSystemLookAndFeelClassName());\n } catch (ClassNotFoundException | InstantiationException | IllegalAccessException | UnsupportedLookAndFeelException e) {\n e.printStackTrace();\n }\n initComponents();\n\n // setting up JFrame\n // setLayout(null);\n // setPreferredSize(new Dimension(420, 90));\n // setResizable(false);\n // setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n // creating main JPanel (white)\n // panelMain = new JPanel();\n // panelMain.setBackground(Color.WHITE);\n // panelMain.setBounds(0, 0, 420, 90);\n // panelMain.setPreferredSize(new Dimension(200, 40));\n // add(panelMain);\n // creating JButton in the main JPanel (white)//\n // creating new JPanelOne object from JPanelOne class containing black JPanel\n // adding black JPanel to main JPanel (white)\n panelMain.add(panel);\n pack();\n\n }", "title": "" }, { "docid": "7d77d813de950294c388e4eedfcf063f", "score": "0.69261384", "text": "public void newEventButtonActionPerformed(ActionEvent e){\n\n NewEventFrame newEventFrame = new NewEventFrame();\n\n }", "title": "" }, { "docid": "daef5f966de2fbe0f720ecf7c9c764b7", "score": "0.68766195", "text": "public AddNewFrame() {\n initComponents();\n }", "title": "" }, { "docid": "07a84b3ea3b105ffda7f9b3efa865fb8", "score": "0.6789944", "text": "private static void createAndShowGUI() {\n Frame frame = new Frame();\r\n //frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE); \r\n \r\n //Display the window.\r\n frame.setFocusable(true);\r\n frame.setSize(new Dimension(600,600));\r\n frame.setLayout(new GridLayout());\r\n frame.setLocation(500, 250);\r\n frame.setResizable(false);\r\n frame.pack();\r\n frame.setVisible(true);\r\n\t\r\n\t}", "title": "" }, { "docid": "0b8cbc75542c9f3a244d14a48767508e", "score": "0.65992504", "text": "private static void createAndShowGUI() {\n\t\tmainframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tmainframe.setSize(mainframe.initialDimension);\n\t\tmainframe.setResizable(false);\n\t\tmainframe.createMainScreen(mainframe.getContentPane());\n\t\tSwingUtilities.updateComponentTreeUI(mainframe);\n\t\tmainframe.setLocationRelativeTo(null);\n\t\tmainframe.setVisible(true);\n\t}", "title": "" }, { "docid": "cd901da9b2a8a4336cac4eeed2a58c33", "score": "0.65954983", "text": "public JFrameNewPlace() {\n initComponents();\n }", "title": "" }, { "docid": "ba2db5aebd4c92dabf35b4338446dc4d", "score": "0.6588477", "text": "static void NewScreen() {\n frame = new JFrame(\"Transp-Os\");\n frame.setContentPane(new App().panelMain);\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n Dimension dimension = new Dimension();\n dimension.height = 500;\n dimension.width = 500;\n frame.setMinimumSize(dimension);\n frame.pack();\n frame.setVisible(true);\n }", "title": "" }, { "docid": "0440dc7a6a119fa91b6e82be0554e68d", "score": "0.65860236", "text": "private JFrame getJFrame() {\r\n\t\tif (jFrame == null) {\r\n\t\t\tjFrame = new JFrame();\r\n\t\t\tjFrame.setSize(new Dimension(462, 209));\r\n\t\t\tjFrame.setTitle(\"Add Game To Store\");\r\n\t\t\tjFrame.setContentPane(getJContentPane());\r\n\t\t}\r\n\t\treturn jFrame;\r\n\t}", "title": "" }, { "docid": "775224fc4ae9513ebd0de0041cf921fe", "score": "0.6583207", "text": "private JFrame getJFrame() {\n\t\tif (jFrame == null) {\n\t\t\tjFrame = new JFrame(\"分割/合并模块\");\n\t\t\tjFrame.setSize(new Dimension(361, 274));\n\t\t\tjFrame.setContentPane(getJTabbedPane());\n\t\t\tjFrame.setVisible(true);\n\t\t\tjFrame.setLocation(300,280);\n\t\t\tjFrame.setDefaultCloseOperation(jFrame.HIDE_ON_CLOSE);\n\t\t}\n\t\treturn jFrame;\n\t}", "title": "" }, { "docid": "59f87d052634cb34843d44e94d0b1486", "score": "0.65754163", "text": "public void openCourseEnter(){ \n createCourse = new JFrame(\"Enter a Course\");\n createCourse.getContentPane().add(makeCourseEnter());\n createCourse.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);\n createCourse.setResizable(false);\n createCourse.pack();\n createCourse.setVisible(false);\n \n }", "title": "" }, { "docid": "2889d1d2215cc78cd6e07da6c3fcb46d", "score": "0.65666956", "text": "public NewJFrame() {\n initComponents();\n \n //Para mudar o tamanho da coluna\n jTable1.getColumnModel().getColumn(0).setMaxWidth(40);\n jTable1.getColumnModel().getColumn(1).setMaxWidth(100);\n jTable1.getColumnModel().getColumn(2).setMaxWidth(100);\n jTable1.getColumnModel().getColumn(3).setMaxWidth(230);\n\n }", "title": "" }, { "docid": "ab7106b244f7d835ed7042fac2f19d8c", "score": "0.65485907", "text": "public static void makeFrame (MasterControl master, ChatLocus locus) \n {\n\tfinal LocusPanel panel = new LocusPanel (master, locus);\n\t\n\tJFrame frame = new JFrame (locus.getDescription ());\n\tframe.addWindowListener (\n new WindowAdapter ()\n\t {\n\t\tpublic void windowClosing (WindowEvent e)\n\t\t{\n\t\t panel.windowClosing ();\n\t\t}\n\t });\n\tframe.setDefaultCloseOperation (frame.DISPOSE_ON_CLOSE);\n\tpanel.myFrame = frame;\n\n\tframe.getContentPane ().add (\"Center\", panel);\n\tframe.pack ();\n\tframe.setVisible (true);\n }", "title": "" }, { "docid": "e329f3fb5c763a8aafae34f883b33951", "score": "0.652569", "text": "public Nouveau(JFrame frame){\n\t\tinit_panels(frame);\n\t}", "title": "" }, { "docid": "314a8db266df91dd3a7e6ea799c8ceb7", "score": "0.6517331", "text": "private static void createAndShowGUI() {\n\n UIManager.put(\"OptionPane.buttonFont\", new FontUIResource(new Font(\"宋体\", Font.PLAIN, 15)));\n UIManager.put(\"OptionPane.messageFont\", new FontUIResource(new Font(\"宋体\", Font.PLAIN, 20)));\n\n frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);\n\n BorderLayout layout = new BorderLayout();\n frame.setLayout(layout);\n frame.getContentPane().add(new TimePanel().getTime(), LAYOUT_NORTH);\n frame.getContentPane().add(new WelcomePanel().getWelcome(), LAYOUT_SOUTH);\n frame.getContentPane().add(inOutPanel.getInOutPanel(), LAYOUT_EAST);\n frame.getContentPane().add(goodsPanel.getGoodsPane(), LAYOUT_CENTER);\n\n// frame.pack();\n frame.setExtendedState(JFrame.MAXIMIZED_BOTH);\n frame.setUndecorated(true);\n frame.setVisible(true);\n\n final JTextField input = inOutPanel.getInput();\n frame.addWindowListener(new WindowAdapter() {\n @Override\n public void windowOpened(WindowEvent e) {\n input.requestFocus();\n }\n });\n input.addKeyListener(new ModifyNumber());\n }", "title": "" }, { "docid": "4dab3fbba674b2986f60bd21717c7b5e", "score": "0.650855", "text": "public static void main(String[] a){\n NewJPanel frame=new NewJPanel();\n frame.setTitle(\"Login Form\");\n frame.setVisible(true);\n frame.setBounds(10,10,370,600);\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n frame.setResizable(false);\n \n }", "title": "" }, { "docid": "f25cb62ce47760ac9ca2c4cf29e59877", "score": "0.65048087", "text": "public static void create()\r\n\t{\n\t\tJFrame frame = new JFrame();\r\n\t\tframe.setTitle(\"Stock Menu\");\r\n\t\t\r\n\t\t//Set frame layout\r\n\t\tframe.setLayout(new FlowLayout());\r\n\t\t\r\n\t\t//Make buttons\r\n\t\tJButton investorButton = new JButton(\"Get Stock(s) of Specific Investor\");\r\n\t\r\n\t\t//Button sizing\r\n\t\tinvestorButton.setPreferredSize(new Dimension(300, 50));\r\n\t\t\r\n\t\t//Add buttons\r\n\t\tframe.add(investorButton);\r\n\t\t\r\n\t\t//Makes the frame open with the given buttons\r\n\t\tframe.pack();\r\n\t\tframe.setVisible(true);\r\n\t\t\r\n\t\t//Adds actions\r\n\t\tnew InvestorWindow();\r\n\t\tinvestorButton.addActionListener(event -> InvestorWindow.create());\r\n\r\n\t}", "title": "" }, { "docid": "6d55a61b3c9345353c13eba4667c698d", "score": "0.6499871", "text": "private void createForm() {\n\t\tform = new Form(\"Add Information\");\n\t\ttxtName = new TextField(\"Name\", \"\", 30, TextField.ANY);\n\t\ttxtTelephon = new TextField(\"Telephone\", \"\", 30, TextField.NUMERIC);\n\t\ttxtEmail = new TextField(\"Email\", \"\", 30, TextField.EMAILADDR);\n\n\t\tform.append(txtName);\n\t\tform.append(txtTelephon);\n\t\tform.append(txtEmail);\n\n\t\tform.addCommand(mBack);\n\t\tform.addCommand(mOk);\n\t\tform.setCommandListener(this);\n\t}", "title": "" }, { "docid": "e4b94c52e53e6eba1f9f9226e59ce236", "score": "0.64970183", "text": "private static void createAndShowGUI() {\n\t\t// Configure log4j.\n\t\t// PropertyConfigurator.configure(\"swinglog4j.properties\");\n\t\t\n\t\t// Create and set up the window.\n\t\tJFrame mainFrame = new JFrame(\"Focus Corp\");\n\t\tmainFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tSwingJavaClient mainScreen = new SwingJavaClient();\n\t\tmainFrame.getContentPane().add(mainScreen.getSplitPane());\n\t\t\n\t ImageIcon icon = new javax.swing.ImageIcon(SwingJavaClient.class.getResource(\"/data/images/car.png\")); \n\t\tmainFrame.setIconImage(icon.getImage());\n\n\t\tmainFrame.setJMenuBar(mainScreen.getMenu().getMenuBar());\n\n\t\tmainScreen.optionsMenu.setParentFrame(mainFrame);\n\n\t\t// Display the window.\n\t\tmainFrame.pack();\n\t\tmainFrame.setVisible(false);\n\t\t\n\t\tlogin.setVisible(true);\n\t\t\n\t\tLoginPanel.setMain(mainFrame);\n\t}", "title": "" }, { "docid": "0af8d08f7f54f2331af11c515fb273d9", "score": "0.64844805", "text": "public static void createAndShowGUI() {\n //Create and set up the window.\n frame = new JFrame(\"Frugal Lab Application\");\n // frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n \n //Create and set up the content pane.\n MasterPanelFOrProjectPage mpf = new MasterPanelFOrProjectPage();\n mpf.addComponentToPane(frame.getContentPane());\n \n //Display the window.\n frame.pack();\n frame.setSize(800, 600);\n frame.setVisible(true);\n }", "title": "" }, { "docid": "cdf320ac137b38ac1b08b1e9fdc427b5", "score": "0.64842623", "text": "private static void createAndShowGUI() {\n //Create and set up the window.\n frame = new JFrame(\"CM Wizard\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n //Create and set up the content pane.\n JComponent newContentPane = new CMWizardGui();\n newContentPane.setOpaque(true); //content panes must be opaque\n frame.setContentPane(newContentPane);\n\n //Display the window.\n frame.setResizable(false);\n frame.pack();\n frame.setVisible(true);\n }", "title": "" }, { "docid": "b3053a49ad85f6ca8862cbf82defc8e2", "score": "0.64816487", "text": "public void createWindow() {\r\n window = new JFrame(\"Notepad\");\r\n window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n window.setSize(800, 600);\r\n window.setVisible(true);\r\n }", "title": "" }, { "docid": "07d668fe7a91f7048e2c6e79aa72601f", "score": "0.6469142", "text": "public NewUnidadFrame() {\n initComponents();\n }", "title": "" }, { "docid": "af2f133eb9b5b801972f9d8e68ec7f4f", "score": "0.6466069", "text": "public JFrame getJFrame() {\n if (jFrame == null) {\n jFrame=new JFrame();\n jFrame.setDefaultCloseOperation(jFrame.DO_NOTHING_ON_CLOSE);\n jFrame.setJMenuBar(getJJMenuBar());\n Dimension d=Toolkit.getDefaultToolkit().getScreenSize();\n int sw=d.width;\n int sh=d.height;\n jFrame.setSize((int) (sw / 1), (int) (sh * 1));\n jFrame.setLocation((int) (sw - jFrame.getWidth()) / 2,\n (int) (sh - jFrame.getHeight()) / 2);\n jFrame.setContentPane(getJContentPane());\n jFrame.setTitle(\"Domain Model Generator\");\n jFrame.addWindowListener(this);\n }\n return jFrame;\n }", "title": "" }, { "docid": "ff4fa90a55beb820cde88919dd760b17", "score": "0.644938", "text": "private JFrame getJFrame() {\r\n\t\tif (jFrame == null) {\r\n\t\t\tjFrame = new JFrame();\r\n\t\t\tjFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\t\t\tjFrame.setJMenuBar(getJJMenuBar());\r\n\t\t\tjFrame.setSize(561, 375);\r\n\t\t\tjFrame.setContentPane(getJContentPane());\r\n\t\t\tjFrame.setTitle(\"Application\");\r\n\t\t}\r\n\t\treturn jFrame;\r\n\t}", "title": "" }, { "docid": "f9e56ba00f52870786797f451ba7d539", "score": "0.6425469", "text": "private static void createAndShowGUI() {\n\t\tJFrame frame = new JFrame(\"SudokuSolver\");\r\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\r\n\t\t// Create and set up the content pane.\r\n\t\tSudokuSolver newContentPane = new SudokuSolver();\r\n\t\tnewContentPane.setOpaque(true); // content panes must be opaque\r\n\t\tframe.setContentPane(newContentPane);\r\n\t\tframe.setResizable(false);\r\n\r\n\t\t// Display the window.\r\n\t\tframe.pack();\r\n\t\tframe.setVisible(true);\r\n\t}", "title": "" }, { "docid": "a25aa5a5c00c3f348eea1f167f6fa5f0", "score": "0.6423259", "text": "private static void createAndShowGUI() {\n JFrame.setDefaultLookAndFeelDecorated(true);\n JDialog.setDefaultLookAndFeelDecorated(true);\n \n // Create and set up the window.\n frame = new JFrame(\"COOJA Simulator\");\n frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);\n \n // Create and set up the content pane.\n JComponent newContentPane = new GUI();\n newContentPane.setOpaque(true);\n frame.setContentPane(newContentPane);\n frame.setLocationRelativeTo(null);\n \n // Display the window.\n frame.setVisible(true);\n }", "title": "" }, { "docid": "11f59ad4ccb5e88cdfe9db83b8eec1e0", "score": "0.641305", "text": "private void jMenuItemVenueActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItemVenueActionPerformed\n // TODO add your handling code here:\n ArtistJFrame myFrame = new ArtistJFrame();\n myFrame.setExtendedState(myFrame.getExtendedState() | javax.swing.JFrame.MAXIMIZED_BOTH);\n myFrame.setVisible(true);\n this.dispose();\n }", "title": "" }, { "docid": "3e242efe80264392a4cc6f52da995c60", "score": "0.6394009", "text": "private void jMenuItemTourActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItemTourActionPerformed\n // TODO add your handling code here:\n TourJFrame myFrame = new TourJFrame();\n myFrame.setExtendedState(myFrame.getExtendedState() | javax.swing.JFrame.MAXIMIZED_BOTH);\n myFrame.setVisible(true);\n this.dispose();\n }", "title": "" }, { "docid": "4cc85ac688edaaede6f342618163dccb", "score": "0.63844085", "text": "private JFrame getJFrame() {\t\t\n\t\tif (jFrame == null) {\n\t\t\tjFrame = new JFrame();\n\t\t\tjFrame.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);\n\t\t\tjFrame.setJMenuBar(getJJMenuBar());\n\t\t\tjFrame.setSize(1024, 768);\n\t\t\tjFrame.setContentPane(getJContentPane());\n\t\t\tjFrame.setTitle(\"Inventory Control System\");\n\t\t\tjFrame.setVisible(true);\n\n\t\t\tif (!isLoggedOn) {\n\t\t\t\tJDialog loginDialog = getLoginDialog();\n\t\t\t\tloginDialog.setSize(new Dimension(300, 200));\n\t\t\t\tPoint loc = getJFrame().getLocation();\n\t\t\t\tloc.translate(100, 100);\n\t\t\t\tloginDialog.setLocation(loc);\n\t\t\t\tloginDialog.setVisible(true);\n\t\t\t}\n\t\t}\n\t\treturn jFrame;\n\t}", "title": "" }, { "docid": "622320c0cf1336306086f1e9adc4f7e7", "score": "0.6383232", "text": "private static void createAndShowGUI() {\n\t\t// Create and set up the window.\n\t\tJFrame frame = new JFrame(\"ListDemo\");\n\t\tframe.setBounds(150, 150, 200, 250);\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n\t\t// Create and set up the content pane.\n\t\tJComponent newContentPane = new JListMain();\n\t\tnewContentPane.setOpaque(true); // content panes must be opaque\n\t\tframe.setContentPane(newContentPane);\n\n\t\t// Display the window.\n\t\tframe.pack();\n\t\tframe.setVisible(true);\n\t}", "title": "" }, { "docid": "f51a6589b02dcf59dc4781601832da65", "score": "0.63795954", "text": "private static void createAndShowGUI() {\n frame = new JFrame(\"Etest\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n switchPanel(new LoginPanel());\n frame.setVisible(true);\n }", "title": "" }, { "docid": "6acbcbdd719598d75a9ae82beaaaa66e", "score": "0.6365516", "text": "public void createNewWindow() {\r\n\t\tboolean isTriviaClicked = false;\r\n\t\tif (dfaBuilderController.isTriviaClicked) {\r\n\t\t\tisTriviaClicked = true;\r\n\t\t}\r\n\t\tdfaBuilderModel = new DFABuilderModel();\r\n\t\tDFABuilderView dfaBuilderView = new DFABuilderView(dfaBuilderModel);\r\n\t\tdfaBuilderController = new DFABuilderController(dfaBuilderModel, dfaBuilderView);\r\n\t\tdfaBuilderView.setController(dfaBuilderController);\r\n\t\tBlockBuilderModel.stateNo = 0;\r\n\t\tBlockBuilderModel.transitionNo = 0;\r\n\t\tif (isTriviaClicked) {\r\n\t\t\tBlockBuilderController.isTriviaClicked = true;\r\n\t\t}\r\n\t\tdispose();\r\n\t}", "title": "" }, { "docid": "010595eb1294bee76a18e902e80e14ac", "score": "0.6363956", "text": "private void newCashierFrame(Cashier cashier) {\r\n\t\t//Set Frame\r\n\t\tJFrame frame1 = new JFrame();\r\n\t\tframe1.setSize(300, 400);\r\n\t\tframe1.setTitle(\"New Cashier\");\r\n\t\tframe1.setLayout(null);\r\n\t\tframe1.setVisible(true);\r\n\r\n\t\t// Display name of cashier\r\n\t\tJLabel CashierName = new JLabel(\"Cashier: \" + cashier.getName());\r\n\t\tCashierName.setBounds(50, 5, 200, 20);\r\n\t\tframe1.getContentPane().add(CashierName);\r\n\t\t\r\n\t\t//Display customer receipt\r\n\t\tif (cashier.getCurrentCustomer() != null ) {\r\n\t\t\tJTextArea custList = new JTextArea(\"\");\r\n\t\t\tcustList.setBounds(10, 40, 250, 300);\r\n\t\t\tframe1.getContentPane().add(custList);\r\n\t\t\tString output = \" \";\r\n\t\t\toutput += String.format(\"%-10s\\n\", \"Customer: \" + cashier.getCurrentCustomer().getName());\r\n\t\t\tString out2 = \" \";\r\n\t\t\tSet<String> customerCart = cashier.getCurrentCustomer().cart.keySet();\r\n\t\t\tfor (String orderID : customerCart) {\r\n\t\t\t\toutput += String.format(\"%-10s %-10s %-10s %-10s\\n\",\r\n\t\t\t\t\t\tString.valueOf(cashier.getCurrentCustomer().cart.get(orderID).size()),\r\n\t\t\t\t\t\tCoffeeShop.menu.get(orderID).getName(), String.valueOf(CoffeeShop.menu.get(orderID).getCost()),\r\n\t\t\t\t\t\t\"£\");\r\n\t\t\t\tout2 = String.format(\"%-10s %-10s %-10s\\n\", \"Total price: \",\r\n\t\t\t\t\t\tString.valueOf(cashier.getCurrentCustomer().getCartTotalPrice()), \"£\");\r\n\t\t\t}\r\n\t\t\tcustList.setText(output + out2);\t\t\r\n\t\t\t\r\n\t\t} else {\r\n\t\t\tJOptionPane.showMessageDialog(null,\r\n\t\t\t\t\t\"Error: New cashiers cannot be added. Still waiting for customer.\",\r\n\t\t\t\t\t\"Error\", JOptionPane.ERROR_MESSAGE);\r\n\t\t}\t\t\t\r\n\t\tcashierFrames.put(cashier.getName(), frame1);\r\n\t}", "title": "" }, { "docid": "160540bd46a6a7c7c8ca8697639f2cc2", "score": "0.6360146", "text": "private void newCookFrame(FoodStaff cook) {\r\n\t\t// Display their name\r\n\t\tJFrame frame1 = new JFrame();\r\n\t\tframe1.setSize(350, 200); //350, 400\r\n\t\tframe1.setTitle(\"New Cook\");\r\n\t\tframe1.setLayout(null);\r\n\t\tframe1.setVisible(true); // Show GUI\r\n\r\n\t\t// Display name of cook\r\n\t\tJLabel CookName = new JLabel(\"Cook: \" + cook.getName()); \r\n\t\tCookName.setBounds(10, 5, 200, 20);\r\n\t\tframe1.getContentPane().add(CookName);\r\n\t\t\t\t\r\n\t\tif(cook.getCurrentCustomer() != null) {\r\n\t\t\tJTextArea custList = new JTextArea(\"\");\r\n\t\t\tcustList.setBounds(10, 40, 300, 100);\r\n\t\t\tframe1.getContentPane().add(custList);\r\n\t\t\tString output = \" \";\r\n\t\t\t\r\n\t\t\toutput += String.format(\"%-10s\\n\", \"Cooks is preparing food for customer: \" + cook.getCurrentCustomer().getName());\r\n\t\t\toutput += String.format(\"%-10s\\n\", cook.getInstruction()); //Display actions taken\r\n\t\t\tcustList.setText(output);\r\n\t\t\tcookFrames.put(cook.getName(), frame1);\r\n\t\t}\t\t\r\n\t}", "title": "" }, { "docid": "765e7529e02ba6e5b6afc3b5d0517e96", "score": "0.63256574", "text": "public Newframe(String Title){\n\tsuper(Title);\n\t\n\n\t\n\ttext = new JLabel(\" Waehlen Sie aus ob sie ein Spiel hosten oder einem Spiel beitreten moechten\");\t\t//Legt den ersten Text im Label fest\n\ttext.setFont(new Font(\"Serif\", Font.PLAIN, 14));\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t//Legt Schriftgroesse und Font fest\n\tgetContentPane().add(text);\n\n\thost = new JButton(\"Server hosten\");\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t//definiert Position und Größe für die Buttons\n\thost.setBounds(190,170,200,80);\n\thost.addActionListener(this);\n\t\n\tclient = new JButton(\"Spiel beitreten\");\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t//definiert Position und Größe für die Buttons\n\tclient.setBounds(190,400,200,80);\n\tclient.addActionListener(this);\n\n\tif(test == true){\n\t\ttry {\n\t\t\tchatserver();\n\t\t} catch (IOException e1) {\n\t\t\te1.printStackTrace();\n\t\t}\n\t}\n\t\n\tadd(host);\n\tadd(client);\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//fuegt die Buttons und den Text im ersten Label zu\n\tadd(text);\n}", "title": "" }, { "docid": "83a189d29f7f31b36fe4ad155f72e422", "score": "0.63053024", "text": "private void initialize() {\n\t\tframe = new JFrame();\n\t\tframe.setBounds(100, 100, 450, 300);\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tframe.getContentPane().setLayout(null);\n\t\tframe.getContentPane().add(getBtnNewButton());\n\t\tframe.getContentPane().add(getTextField());\n\t\tframe.getContentPane().add(getPasswordField());\n\t\tframe.getContentPane().add(getLblNewLabel());\n\t\tframe.getContentPane().add(getLblNewLabel_1());\n\t}", "title": "" }, { "docid": "4d51e570ead7fe1bdf744e48b850c94b", "score": "0.63023955", "text": "public FirstJFrame() {\n initComponents();\n }", "title": "" }, { "docid": "cc2c487b46309f60eedca2dbec332b2f", "score": "0.6301103", "text": "private void createAndShowGUI() {\n\t\t// Create and set up the window.\n\t\tJFrame frame = new JFrame(\"SOCIETIES Adaptive Music Playlists\");\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n\t\t// Add content to the window.\n\t\tframe.add(parent);\n\n\t\t// Display the window.\n\t\tframe.pack();\n\t\tframe.setVisible(true);\n\t}", "title": "" }, { "docid": "ab5707eb1a7e4c948b713150a488f747", "score": "0.6289282", "text": "private void createNewTableMenuItemActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_createNewTableMenuItemActionPerformed\n CreateTableFrame ctf = new CreateTableFrame(clientRequest);\n ctf.setVisible(true);\n ctf.setDefaultCloseOperation(CreateTableFrame.DISPOSE_ON_CLOSE);\n }", "title": "" }, { "docid": "8d9ec45f41502b9c77356d7fb3f90661", "score": "0.6286543", "text": "private static void createAndShowGUI() {\n JFrame frame = new JFrame(\"Cafe Enactus Scheduler\");\r\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\r\n // Create and set up the content pane.\r\n JComponent newContentPane = Navigation.getInstance();\r\n newContentPane.setPreferredSize(new Dimension(640, 480));\r\n newContentPane.setOpaque(true); // content panes must be opaque\r\n frame.setContentPane(newContentPane);\r\n\r\n\r\n // Display the window.\r\n frame.pack();\r\n frame.setVisible(true);\r\n }", "title": "" }, { "docid": "95295bedb21462ed2d80a12b68b05812", "score": "0.62855816", "text": "public panel_new() {\n initComponents();\n }", "title": "" }, { "docid": "43a8615c4998698566ab48d7bf0f28ce", "score": "0.6284455", "text": "public static void createAndShowGUI() {\n GenBooksCheckedOutDialog frame = new GenBooksCheckedOutDialog(\"Search Dialog\");\r\n // frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n //Set up the content pane.\r\n frame.addComponentsToPane(frame.getContentPane());\r\n //Display the window.\r\n frame.pack();\r\n frame.setVisible(true);\r\n }", "title": "" }, { "docid": "49933643acc266d66cfe7ce5e9a2e660", "score": "0.62718636", "text": "private void newBaristaFrame(FoodStaff barista) {\r\n\t\tJFrame frame1 = new JFrame();\r\n\t\tframe1.setSize(350, 200);\r\n\t\tframe1.setTitle(\"New Barista\");\r\n\t\tframe1.setLayout(null);\r\n\t\tframe1.setVisible(true); // Show GUI\r\n\r\n\t\t// Display name of barista\r\n\t\tJLabel BaristaName = new JLabel(\"Barista: \" + barista.getName());\r\n\t\tBaristaName.setBounds(10, 5, 200, 20);\r\n\t\tframe1.getContentPane().add(BaristaName);\r\n\t\t\r\n\t\tif(barista.getCurrentCustomer() != null) {\r\n\t\t\t// Display ordered Drink handled by barista for current customer\t\t\t\r\n\t\t\tJTextArea custList = new JTextArea(\"\");\r\n\t\t\tcustList.setBounds(10, 40, 300, 100);\r\n\t\t\tframe1.getContentPane().add(custList);\r\n\t\t\tString output = \" \";\r\n\t\t\toutput += String.format(\"%-10s\\n\", \"Barista is preparing drink for customer : \" + barista.getCurrentCustomer().getName());\r\n\t\t\toutput += String.format(\"%-10s\\n\", barista.getInstruction()); //Display current actions\r\n\t\t\tcustList.setText(output);\r\n\t\t\tbaristaFrames.put(barista.getName(), frame1);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "a9458c5faed26289d954f02bb65b3ea9", "score": "0.6258472", "text": "private static void createAndShowGUI() {\n //Create and set up the window.\n JFrame frame = new JFrame(\"MarketPlace\");\n //frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n \n\n //Add content to the window.\n frame.add(new Create_Marketplace_Flat_Files());\n \n\n //Display the window.\n frame.pack();\n frame.setVisible(true);\n }", "title": "" }, { "docid": "f2b9deb9f7e0eba0689f7a27d3f6ff4a", "score": "0.6245283", "text": "public abstract void createFrame();", "title": "" }, { "docid": "bb58c958a8f94792c1e5811aceea7552", "score": "0.6245249", "text": "private static void createAndShowGUI() {\n //Make sure we have nice window decorations.\n JFrame.setDefaultLookAndFeelDecorated(true);\n \n //set style\n try\n {\n UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());\n } catch (Exception e) { }\n\n\n //Create and set up the window.\n jPatchwork frame = new jPatchwork();\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n //Display the window.\n frame.setVisible(true);\n }", "title": "" }, { "docid": "817cb24967c32ecc8fa034477c115de4", "score": "0.6244454", "text": "private void initialize() {\n\t\tframe = new JFrame();\n\t\tframe.setBounds(100, 100, 450, 300);\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\t\n\t\tJMenuBar menuBar = new JMenuBar();\n\t\tframe.setJMenuBar(menuBar);\n\t\t\n\t\tJMenu mnFile = new JMenu(\"File\");\n\t\tmenuBar.add(mnFile);\n\t\t\n\t\tJMenuItem mntmMayTinhKhoa = new JMenuItem(\"May tinh khoa hoc\");\n\t\tmnFile.add(mntmMayTinhKhoa);\n\t\t\n\t\tJSeparator separator = new JSeparator();\n\t\tmnFile.add(separator);\n\t\t\n\t\tJMenuItem mntmMayTinhThong = new JMenuItem(\"May tinh thong thuon\");\n\t\tmnFile.add(mntmMayTinhThong);\n\t\t\n\t\tJMenu mnHelp = new JMenu(\"Help\");\n\t\tmenuBar.add(mnHelp);\n\t\t\n\t\tJPanel panel = new JPanel();\n\t\tframe.getContentPane().add(panel, BorderLayout.CENTER);\n\t\tpanel.setLayout(new GridLayout(5, 5, 0, 0));\n\t\t\n\t\tJButton btnNewButton_1 = new JButton(\"New button\");\n\t\tpanel.add(btnNewButton_1);\n\t\t\n\t\tJButton button = new JButton(\"New button\");\n\t\tpanel.add(button);\n\t\t\n\t\tJButton button_1 = new JButton(\"New button\");\n\t\tpanel.add(button_1);\n\t\t\n\t\tJButton button_2 = new JButton(\"New button\");\n\t\tpanel.add(button_2);\n\t\t\n\t\tJButton button_3 = new JButton(\"/\");\n\t\tpanel.add(button_3);\n\t\t\n\t\tJButton button_4 = new JButton(\"New button\");\n\t\tpanel.add(button_4);\n\t\t\n\t\tJButton button_5 = new JButton(\"7\");\n\t\tpanel.add(button_5);\n\t\t\n\t\tJButton button_6 = new JButton(\"8\");\n\t\tpanel.add(button_6);\n\t\t\n\t\tJButton button_7 = new JButton(\"9\");\n\t\tpanel.add(button_7);\n\t\t\n\t\tJButton btnX = new JButton(\"X\");\n\t\tpanel.add(btnX);\n\t\t\n\t\tJButton button_9 = new JButton(\"New button\");\n\t\tpanel.add(button_9);\n\t\t\n\t\tJButton button_10 = new JButton(\"4\");\n\t\tpanel.add(button_10);\n\t\t\n\t\tJButton button_11 = new JButton(\"5\");\n\t\tpanel.add(button_11);\n\t\t\n\t\tJButton btnNewButton = new JButton(\"6\");\n\t\tpanel.add(btnNewButton);\n\t\t\n\t\tJButton button_12 = new JButton(\"-\");\n\t\tpanel.add(button_12);\n\t\t\n\t\tJButton button_16 = new JButton(\"New button\");\n\t\tpanel.add(button_16);\n\t\t\n\t\tJButton button_17 = new JButton(\"1\");\n\t\tpanel.add(button_17);\n\t\t\n\t\tJButton button_14 = new JButton(\"2\");\n\t\tpanel.add(button_14);\n\t\t\n\t\tJButton button_15 = new JButton(\"3\");\n\t\tpanel.add(button_15);\n\t\t\n\t\tJButton button_18 = new JButton(\"+\");\n\t\tbutton_18.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t}\n\t\t});\n\t\tpanel.add(button_18);\n\t\t\n\t\tJButton button_19 = new JButton(\"New button\");\n\t\tpanel.add(button_19);\n\t\t\n\t\tJButton button_13 = new JButton(\"New button\");\n\t\tpanel.add(button_13);\n\t\t\n\t\tJButton button_20 = new JButton(\"0\");\n\t\tpanel.add(button_20);\n\t\t\n\t\tJButton button_21 = new JButton(\".\");\n\t\tpanel.add(button_21);\n\t\t\n\t\tJButton button_22 = new JButton(\"=\");\n\t\tpanel.add(button_22);\n\t\t\n\t\ttextField = new JTextField();\n\t\ttextField.addMouseListener(new MouseAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\tif( e.getButton() == MouseEvent.BUTTON1){\n\t\t\t\t\ttextField.setText(\"Click!!!\");\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tframe.getContentPane().add(textField, BorderLayout.NORTH);\n\t\ttextField.setColumns(10);\n\t}", "title": "" }, { "docid": "d1cf5479eabee47056bab825ce224ad6", "score": "0.6243757", "text": "private static void createAndShowGUI() throws IOException {\r\n if (useSystemLookAndFeel) {\r\n try {\r\n UIManager.setLookAndFeel(\r\n UIManager.getSystemLookAndFeelClassName());\r\n } catch (Exception e) {\r\n System.err.println(\"Couldn't use system look and feel.\");\r\n }\r\n }\r\n //Create and set up the window.\r\n frame = new JFrame(\"Curriculum\");\r\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n frame.setPreferredSize(new Dimension(800, 500));\r\n //Create and set up the content pane.\r\n Import newContentPane = new Import();\r\n frame.setJMenuBar(newContentPane.createMenuBar());\r\n newContentPane.setOpaque(true); //content panes must be opaque\r\n frame.setContentPane(newContentPane);\r\n\r\n //Display the window.\r\n frame.pack();\r\n frame.setVisible(true);\r\n }", "title": "" }, { "docid": "0c9888e8e2b4468a934d0812da1f8c68", "score": "0.62363833", "text": "public void createForm(){\n\t\tGridLayout gLayout = new GridLayout(5, 1);\n\t\tpanel.setLayout(gLayout);\n\t\tpanel.setSize(500, 500);\n\t\n\t\tusername = new JTextField(15);\n\t\tpassword1 = new JPasswordField(15);\n\t\tpassword2 = new JPasswordField(15);\n\t\t\n\t\taddLabel(\"Username\", panel);\n\t\taddBox(username, panel);\n\t\t\n\t\taddLabel(\"Password\", panel);\n\t\taddBox(password1, panel);\n\t\t\n\t\taddLabel(\"Retype Password\", panel);\n\t\taddBox(password2, panel);\n\t\t\n\t\taddCheckBox(\"Administrator\",panel);\n\t\taddLabel(\" \", panel);\n\t\t\n\t\tsave = new JButton(\"Save\");\n\t\tcancel = new JButton(\"Cancel\");\n\t\taddButton(save, panel);\n\t\taddButton(cancel, panel);\n\t\t\n\t\tthis.actionsave();\n\t\tthis.actioncancel();\n\t\t\n\t\tthis.add(panel);\n\t}", "title": "" }, { "docid": "95221b4db27a68902a9a6a35c1ad635d", "score": "0.62338597", "text": "private static void createAndShowGUI() {\n\t\t//Create and set up the window.\n\t\tJFrame frame = new JFrame(\"Multiple Solutions Analyzer\");\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n\t\t//Add content to the window.\n\t\tframe.add(new MultipleSolutionsAnalyzerGUI());\n\n\t\t//Display the window.\n\t\tframe.pack();\n\t\tframe.setVisible(true);\n\t}", "title": "" }, { "docid": "6c6af342dbf47e910675750435a2a85b", "score": "0.6229796", "text": "public workoutJFrame() {\n initComponents();\n }", "title": "" }, { "docid": "fd3fbc31e582ba07f5cea3dc1418c327", "score": "0.62277067", "text": "private static void createAndShowGUI() {\n JFrame frame = new JFrame(\"BorderLayout\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n //Set up the content pane.\n addComponentsToPane(frame.getContentPane());\n frame.pack();\n //Display the window.\n frame.setVisible(true);\n }", "title": "" }, { "docid": "9584a1259e54dc5b1b8d5bf592ea5d05", "score": "0.62218314", "text": "public void createWindow()\n {\n final int frameWidth = 800;\n final int frameHeight = 500;\n Dimension screenSize;\n int desiredX, desiredY;\n\n try {\n // Create the components of this frame\n statusBar = new NCPStatusBar();\n splitPane = new JSplitPane();\n hostListPanel = new HostListPanel();\n tabbedPanel = new TabbedPanel();\n menuBar = new NCPMenuBar();\n\n // Set the parameters for this frame\n this.getContentPane().setLayout(new BorderLayout());\n this.setTitle(\"NTCSS Control Panel\");\n\n // Place the frame in the middle of the screen\n this.setSize(new Dimension(frameWidth, frameHeight));\n screenSize = (Toolkit.getDefaultToolkit()).getScreenSize();\n desiredX = (screenSize.width/2) - (frameWidth/2);\n desiredY = (screenSize.height/2) - (frameHeight/2);\n setLocation(new Point(desiredX, desiredY));\n\n // Setup the proper menu and add it to the frame\n tabbedPanel.updateMenu();\n this.setJMenuBar((JMenuBar)menuBar);\n\n // Add the status bar to this frame\n this.getContentPane().add(statusBar, BorderLayout.SOUTH);\n\n // Add the \"guts\" of the frame which is a split pane that contains\n // the host list and the tabbed panel\n splitPane.setOrientation(JSplitPane.HORIZONTAL_SPLIT);\n splitPane.setLeftComponent(hostListPanel);\n splitPane.setRightComponent(tabbedPanel);\n this.getContentPane().add(splitPane, BorderLayout.CENTER);\n\n // Show the frame and validate it\n this.setVisible(true);\n this.validate();\n }\n catch (Exception e) {\n Log.log(Log.CLT, Log.EXCP, this.getClass().getName(), \"createWindow\",\n e.toString());\n }\n }", "title": "" }, { "docid": "8ab597ce94436f78bfbd71e0905442ea", "score": "0.62213725", "text": "public static void CreateGUI() {\n EventQueue.invokeLater( new Runnable() {\n public void run() {\n try {\n FormInst GUIForm = new FormInst();\n GUIForm.setVisible(true);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n });\n }", "title": "" }, { "docid": "1981cacc190762a4a54c6c58d5b2a761", "score": "0.6215208", "text": "private void makeFrame() {\r\n\t\tframe = new JFrame(\"Fractal flake displayer\");\r\n\t\tJPanel contentPane = (JPanel)frame.getContentPane();\r\n\t\tcontentPane.setBorder(new EmptyBorder(6, 6, 6, 6));\r\n\t\t// Specify the layout manager with nice spacing\r\n\t\tcontentPane.setLayout(new BorderLayout(6, 6));\r\n\t\t// Create the flake canvas to the right\r\n\t\tcanvas = new Canvas(frame,Color.white);\r\n\t\tcontentPane.add(canvas,BorderLayout.CENTER);\r\n\t\tcontentPane.add(createInputPanel(),BorderLayout.WEST);\r\n\t\tframe.pack();\r\n\t\t\r\n\t\t// place the frame at the center of the screen and show\r\n\t\tDimension d = Toolkit.getDefaultToolkit().getScreenSize();\r\n\t\tframe.setSize(d.width,d.height);\r\n\t\tframe.setVisible(true);\r\n\t\tcanvas.setVisible(true);\r\n\t\tpreviousInputField = null;\r\n\t}", "title": "" }, { "docid": "658ada08f048c7fe987f8ae6069b7ada", "score": "0.6205249", "text": "private static void createAndShowGUI() {\n JFrame frame = new JFrame(\"HangledMan\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n JOptionPane.showMessageDialog(frame,\n \"Enter the right password and choose the difficulty level, then start the game!!!\",\n \"Inane warning\",\n JOptionPane.WARNING_MESSAGE);\n\n //Create and set up the content pane.\n JComponent newContentPane = new PA09();\n newContentPane.setOpaque(true); //content panes must be opaque\n frame.setContentPane(newContentPane);\n\t\t\tframe.setLocation(100,70);\n\t\t\tframe.setSize(1200,500);\n frame.setVisible(true);\n }", "title": "" }, { "docid": "2781baf6513f8ce56b070b06b7e42dda", "score": "0.62051034", "text": "private static JFrame createComponents() {\r\n\t\tJFrame frame = new JFrame();\r\n\t\tmainPanel = new JPanel();\r\n\t\tupperPanel = createUpperPanel();\r\n\t\tbuttonPanel = createButtons();\r\n\t\tcommandPanel = createCommandPanel();\r\n\t\tmainPanel.setLayout(new BorderLayout());\r\n\t\tmainPanel.add(buttonPanel,BorderLayout.CENTER);\r\n\t\tmainPanel.add(upperPanel,BorderLayout.NORTH);\r\n\t\tmainPanel.add(commandPanel,BorderLayout.SOUTH);\r\n\t\tframe.add(mainPanel);\r\n\t\treturn frame;\r\n\t}", "title": "" }, { "docid": "3e0b72f0437b7497ff9d825ceaf933bb", "score": "0.61913675", "text": "private JFrame getJFrame() {\n\t\tif (jFrame == null) {\n\t\t\tjFrame = new JFrame();\n\t\t\tjFrame.setTitle(this.getClass().getSimpleName());\n\t\t\tjFrame.setContentPane(getJContentPane());\n\t\t}\n\t\treturn jFrame;\n\t}", "title": "" }, { "docid": "0b5a1d0d15c67520393cf9317a5a3554", "score": "0.6178955", "text": "public VCrear() {\r\n initComponents();\r\n setLocationRelativeTo(null);\r\n this.setDefaultCloseOperation(VCrear.DO_NOTHING_ON_CLOSE); // bloquear el boton cerrar\r\n //setVisible(true);\r\n }", "title": "" }, { "docid": "f3b474802a9e56f08470c6420017120d", "score": "0.61725926", "text": "public MineGUI() {\n frame = new JFrame();\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tcreateMainMenu();\n\n\t\tframe.applyComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);\n\t\tframe.setSize(650, 600);\n frame.setVisible(true);\n\t}", "title": "" }, { "docid": "81af744d621502b7de89309b4a7897de", "score": "0.61602443", "text": "public RecovJFrame() {\n initComponents();\n }", "title": "" }, { "docid": "f4c404c2894c70034faf16ac519e0431", "score": "0.6157991", "text": "public void setUpFrame()\n {\n\tjf = new JFrame( \"Instructions\" );\n\tjf.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );\n\tjf.setSize( 640, 480 );\n\t\n\tjf.setLocationRelativeTo( null );\n\tjf.setResizable( false );\n\tsetToVisible();\n\n }", "title": "" }, { "docid": "189008f669832bbc057c984afd035c6d", "score": "0.6157805", "text": "private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed\n JFrame CreateAccount = new CreateAccount();\n CreateAccount.setLocationRelativeTo(null);\n CreateAccount.setVisible(true);\n }", "title": "" }, { "docid": "79a2d63dd141b033fca247aa98359e89", "score": "0.6157257", "text": "private void initialize(String[] arguments) {\r\n\t\tthis.arg=arguments;\r\n\t\tfrmNouveauPraticien = new JFrame();\r\n\t\tfrmNouveauPraticien.setTitle(\"Nouveau Praticien\");\r\n\t\tfrmNouveauPraticien.setBounds(100, 100, 674, 458);\r\n\t\tfrmNouveauPraticien.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\t\tfrmNouveauPraticien.getContentPane().setLayout(null);\r\n\t\tfrmNouveauPraticien.getContentPane().add(getPanel());\r\n\t\tfrmNouveauPraticien.getContentPane().add(getPanel_1());\r\n\t\tfrmNouveauPraticien.getContentPane().add(getPanel_16());\r\n\t}", "title": "" }, { "docid": "8bed9444b5aa6e90f2b28aaba1504cfb", "score": "0.6156335", "text": "private void createMainDisplay() {\n\n\t\tJFrame.setDefaultLookAndFeelDecorated(true);\t\t\t\t\t\t\t//gives alternative theme to panel visuals\n\t\tframe \t\t\t\t= \tnew JFrame \t(\"Dentist Administration System\");\n\t\tframe.setDefaultCloseOperation\t\t(JFrame.DO_NOTHING_ON_CLOSE);\t\t//prevents system exiting when x is clicked\n\t\tframe.addWindowListener(new WindowAdapter() {\t\t\t\t\t\t\t//this line and following inner class implements save option when x clicked\n\t\t\tpublic void windowClosing (WindowEvent event) {\n\t\t\t\ttry {\n\t\t\t\t\tcontroller.safeExitOption(controller);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"An error occurred, system could not exit safely\");\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\tframe.setSize\t\t\t\t\t(390,450);\n\t\tcreateMenuBar();\t\t\t\t\t\t\t\t\t\t\t\t\t\t//create top menu bar of frame \n\n\t\ttp \t\t\t\t\t= \tnew JTabbedPane();\n\t\t//creates tabs\n\t\tpatientTP \t\t\t= \tnew JTabbedPane();\n\t\tprocedureTP \t\t= \tnew JTabbedPane();\n\t\tpaymentTP \t\t\t= \tnew JTabbedPane();\n\t\treportTP\t\t\t=\tnew JTabbedPane();\n\t\ttp.addTab\t\t\t\t(\"Patient\", patientTP);\n\t\ttp.addTab\t\t\t\t(\"Procedures\", procedureTP);\n\t\ttp.addTab\t\t\t\t(\"Payments\", paymentTP);\n\t\ttp.addTab\t\t\t\t(\"Reports\", reportTP);\n\n\t\t//classes which construct tab contents\n\t\tnew CreateTabOne\t\t(patientTP, controller, this);\n\t\tnew CreateTabTwo\t\t(procedureTP, controller, this);\n\t\tnew CreateTabThree\t\t(paymentTP, controller);\n\t\tnew CreateTabFour\t\t(reportTP, controller);\n\n\t\t//finalise frame and display\n\t\tframe.getContentPane().add\t\t(tp); \n\t\tframe.isAlwaysOnTop\t\t\t\t();\n\t\tframe.setResizable\t\t\t\t(false);\n\t\tframe.setLocationRelativeTo\t\t(null);\n\t\tframe.setVisible\t\t\t\t(true);\n\t}", "title": "" }, { "docid": "6189b2a0ecbb2bf8b8a6400b1250cc55", "score": "0.6151975", "text": "public void createAndShowGUI() {\n\n //Create and set up the window.\n frame = new JFrame(\"RCM\");\n frame.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);\n\t\t\n\t\t//Add content to the window.\n frame.add(new UserUI(rcmObj));\n\n //Display the window.\n frame.setBounds(100, 100, 800, 600);\n frame.setVisible(true);\n\n }", "title": "" }, { "docid": "5a0014a236dfd6c62f3c598af887b559", "score": "0.61397725", "text": "private static void createAndShowGUI() {\n\n // Create and set up the window\n JFrame frame = new JFrame(\"RiverCrossing\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n // Create and set up the content pane\n RiverGUI newContentPane = new RiverGUI();\n newContentPane.setOpaque(true);\n frame.setContentPane(newContentPane);\n\n // Display the window\n frame.setSize(800, 600);\n frame.setVisible(true);\n }", "title": "" }, { "docid": "9299eb90e8a942dba622a3050460bfcd", "score": "0.6132346", "text": "private void jMenuItemCustomer1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItemCustomer1ActionPerformed\n // TODO add your handling code here:\n CustomerJFrame myFrame = new CustomerJFrame();\n myFrame.setExtendedState(myFrame.getExtendedState() | javax.swing.JFrame.MAXIMIZED_BOTH);\n myFrame.setVisible(true);\n this.dispose();\n }", "title": "" }, { "docid": "a03a0a482b17fff549e3790d792aa66d", "score": "0.61305016", "text": "private void createNewFilePanel()\n {\n // The titled panel:\n newFilePanel = new JPanel();\n TitledBorder title = BorderFactory.createTitledBorder(\"Skapa ny fil\"); \n newFilePanel.setBorder(title);\n newFilePanel.setPreferredSize(new Dimension(400, 100));\n \n // The components of the inner panel:\n filenameLabelNew = new JLabel(\"Skapa en ny fil:\");\n filenameFieldNew = new JTextField(\"namn.csv\", 10);\n createButton = new JButton(\"Skapa och exportera\");\n \n // Adding the components and the panel:\n newFilePanel.add(filenameLabelNew);\n newFilePanel.add(filenameFieldNew);\n newFilePanel.add(createButton);\n this.add(newFilePanel);\n }", "title": "" }, { "docid": "30c545bf3381ba2e98219382a0a68c5d", "score": "0.6129838", "text": "public RegisterGUI() {\n \tmyFrame = new JFrame(\"Home\");\n \tmyFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n createComponents();\n myFrame.setSize(WIDTH, HEIGHT);\n myFrame.setLocationRelativeTo(null);\n myFrame.setVisible(true);\n //setLayout(new BorderLayout());\n //createComponents();\n //setVisible(true);\n }", "title": "" }, { "docid": "f08315050735aa75da930f000dbbdf49", "score": "0.6124544", "text": "public void openNewCompetitionFrame() {\n\t\tnewCompetition.openFrame();\n\t}", "title": "" }, { "docid": "6eca4254fc06c613bac25fa790f48ed6", "score": "0.61243314", "text": "private static void createAndShowGUI() {\n\t JFrame frame = new JFrame(\"TextSamplerDemo\");\r\n\t frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\t \r\n\r\n\t //Add content to the window.\r\n\t final AboutDialog s = new AboutDialog(frame);\r\n\t JButton a = new JButton(\"test\");\r\n\t \r\n\t a.addActionListener(new ActionListener(){\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\t\ts.setVisible(true);\t\t\t\t\r\n\t\t\t\t}});\r\n\t frame.setLayout(new FlowLayout());\r\n\t frame.add(a);\r\n\r\n\t frame.setPreferredSize(new Dimension(400, 150));\r\n\t //Display the window.\r\n\t frame.pack();\r\n\t frame.setVisible(true);\r\n\t }", "title": "" }, { "docid": "953f8173373541f8721911229ff67176", "score": "0.61184585", "text": "public void createGUI()\n\t{\n\t\tsuper.createFrame();\n\t\t\n\t\tBorder thickBorder = new LineBorder(Color.black, 2);\n\t\t\n\t\tFont buttonFont = new Font(\"Tahoma\", Font.BOLD, 20);\n\t\tFont titleFont = new Font(\"Tahoma\", Font.BOLD, 35);\n\t\t\n\t\t//making the title font underlined\n\t\tMap underlineTitle = titleFont.getAttributes();\n\t\tunderlineTitle.put(TextAttribute.UNDERLINE, TextAttribute.UNDERLINE_ON);\n\t\t\n\t\tJLabel title = new JLabel(\"Fishing Database\");\n\t\ttitle.setFont(titleFont.deriveFont(underlineTitle));\n\t\ttitle.setSize(500,100);\n\t\ttitle.setLocation(65,10);\n\t\ttitle.setForeground(Color.white);\n\n\t\t//create buttons \n\t\t\n\t\tJButton getButton = new JButton(\"GET\");\n\t\tgetButton.setBackground(new Color(59, 89, 182));\n\t\tgetButton.setForeground(Color.WHITE);\n\t\tgetButton.setFocusPainted(false);\n\t\tgetButton.setFont(new Font(\"Tahoma\", Font.BOLD, 20));\n\t\tgetButton.setSize(175,175);\n\t\tgetButton.setLocation(50,150);\n\t\tgetButton.setBorder(thickBorder);\n\t\t\n\t\t//execute when button is pressed\n\t\tgetButton.addActionListener(new ActionListener() \n\t\t{\n\t\t\tpublic void actionPerformed(ActionEvent event) \n\t\t\t{\n\t\t\t\tgetGUI get = new getGUI();\n\t\t\t\t\n\t\t\t\t//dispose of current frame\n\t\t\t\tmainFrame.dispose();\n\t\t\t\t\n\t\t\t\t//call getGUI method which displays getGUI interface\n\t\t\t\tget.createGUI();\n\t\t\t} \n\t\t});\n\t\t\n\t\t\n\t\t\n\t\tJButton addButton = new JButton(\"ADD\");\n\t\taddButton.setBackground(new Color(59, 89, 182));\n\t\taddButton.setForeground(Color.WHITE);\n\t\taddButton.setFocusPainted(false);\n\t\taddButton.setFont(buttonFont);\n\t\taddButton.setSize(175,175);\n\t\taddButton.setLocation(50,350);\n\t\taddButton.setBorder(thickBorder);\n\t\t\n\t\t//execute when button is pressed\n\t\taddButton.addActionListener(new ActionListener() \n\t\t{\n\t\t\tpublic void actionPerformed(ActionEvent event) \n\t\t\t{\n\t\t\t\taddGUI add = new addGUI();\n\t\t\t\t\n\t\t\t\t//dispose off current frame\n\t\t\t\tmainFrame.dispose();\n\t\t\t\t\n\t\t\t\t//call addGUI method which displays addGUI interface\n\t\t\t\tadd.createGUI();\n\t\t\t} \n\t\t});\n\t\t\n\t\t\n\t\tJButton removeButton = new JButton(\"REMOVE\");\n\t\tremoveButton.setBackground(new Color(59, 89, 182));\n\t\tremoveButton.setForeground(Color.WHITE);\n\t\tremoveButton.setFocusPainted(false);\n\t\tremoveButton.setFont(buttonFont);\n\t\tremoveButton.setSize(175,175);\n\t\tremoveButton.setLocation(250,150);\n\t\tremoveButton.setBorder(thickBorder);\n\t\t\n\t\t//execute when button is pressed\n\t\tremoveButton.addActionListener(new ActionListener() \n\t\t{\n\t\t\tpublic void actionPerformed(ActionEvent event) \n\t\t\t{\n\t\t\t\tremoveGUI remove = new removeGUI();\n\t\t\t\t\n\t\t\t\t//dispose of current frame\n\t\t\t\tmainFrame.dispose();\n\t\t\t\t\n\t\t\t\t//call getGUI method which displays getGUI interface\n\t\t\t\tremove.createGUI();\n\t\t\t} \n\t\t});\n\t\t\n\t\tJButton editButton = new JButton(\"EDIT\");\n\t\teditButton.setBackground(new Color(59, 89, 182));\n\t\teditButton.setForeground(Color.WHITE);\n\t\teditButton.setFocusPainted(false);\n\t\teditButton.setFont(buttonFont);\n\t\teditButton.setSize(175,175);\n\t\teditButton.setLocation(250,350);\n\t\teditButton.setBorder(thickBorder);\n\t\t\n\t\t//execute when button is pressed\n\t\teditButton.addActionListener(new ActionListener() \n\t\t{\n\t\t\tpublic void actionPerformed(ActionEvent event) \n\t\t\t{\n\t\t\t\teditGUI edit = new editGUI();\n\t\t\t\t\n\t\t\t\t//dispose of current frame\n\t\t\t\tmainFrame.dispose();\n\t\t\t\t\n\t\t\t\t//call getGUI method which displays getGUI interface\n\t\t\t\tedit.createGUI();\n\t\t\t} \n\t\t});\n\t\t\n\t\t//add elements to panel\n\t\tmainPanel.add(title);\n\t\tmainPanel.add(getButton);\n\t\tmainPanel.add(addButton);\n\t\tmainPanel.add(removeButton);\n\t\tmainPanel.add(editButton);\n\t}", "title": "" }, { "docid": "c64bd26c8659405a55d5b63270c4f121", "score": "0.61182463", "text": "private void createAndShowGUI() {\n\n //Create and set up the window.\n JFrame frame = new JFrame(\"Load Security Prices - Build \"+buildStr);\n frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);\n panScreen = new FileSelectWindow();\n frame.getContentPane().add(panScreen);\n\n //Display the window.\n frame.pack();\n frame.setLocationRelativeTo(null);\n frame.setVisible(true);\n\n }", "title": "" }, { "docid": "b2932decfa6f239798909a7603e198b1", "score": "0.6116606", "text": "private static void createAndShowInfo()\n\t\t{\n\t\t\tJFrame info = new JFrame(\"Passenger Info\");\n\t\t\tinfo.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n\t\t\t// Create and set up the content pane.\n\t\t\tJComponent myFrontEnd = new InfoFrontEnd();\n\t\t\tmyFrontEnd.setOpaque(true); // content panes must be opaque\n\t\t\tinfo.setContentPane(myFrontEnd);\n\n\t\t\t// Display the window.\n\t\t\tinfo.pack();\n\t\t\tinfo.setVisible(true);\n\t\t}", "title": "" }, { "docid": "9a3723803f6f5c2dcc624d9b1e5be3fd", "score": "0.61085504", "text": "JFrame getJFrame() {\r\n if (jFrame == null) {\r\n jFrame = new JFrame();\r\n jFrame.setSize(new Dimension(842, 649));\r\n jFrame.setTitle(\".:: Ley de Bresenham ::.\");\r\n jFrame.setContentPane(getJContentPane());\r\n jFrame.setVisible(true);\r\n jFrame.setLocationRelativeTo(null);\r\n jFrame.setResizable(false);\r\n\r\n bres = new Bresenham(jPanel2.getSize());\r\n bres2 = new Bresenham2();\r\n jPanel2.add(bres);\r\n }\r\n return jFrame;\r\n }", "title": "" }, { "docid": "75bd5b3689eac9a3c51180b0642df380", "score": "0.6107808", "text": "private void createAndShowGUI() {\n\n\t\tsetSize(300, 100);\n\n\t\t// Display the window.\n\n\t\tsetVisible(true);\n\t\tsetTitle(\"Armando Castro\");\n\n\t\tsetDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n\t}", "title": "" }, { "docid": "a5cd290f01b6e07b4fe9f9e9a26818b9", "score": "0.60988057", "text": "public void ventana(){//el constructor\n ventana= new JFrame();//el objeto\n ventana.setTitle(\"MASTER MADI\");//el titulo de la ventana\n ventana.setSize(400,400);//el tamaño de la ventana\n \n }", "title": "" }, { "docid": "d603450fdd2928616f51e2c6fbba8d21", "score": "0.60977757", "text": "public void newProject() {\n\t\tif (checkCurrentProject()) {\n\t\t\tcloseProject();\n\t\t\tstatusBar.setFirstText(language.getText(\"newProject2\"),1500);\n\t\t\trefreshProjectInfos();\n\t\t}\n prjInfos = new PrjInfos();\n showNewProjectWizard();\n\t}", "title": "" }, { "docid": "80d382379e4a563e77156770b033891f", "score": "0.608454", "text": "public jFrame1() {\r\n initComponents ();\r\n pack ();\r\n }", "title": "" }, { "docid": "67c44c650b09e0554b196b75a38ec228", "score": "0.6074469", "text": "public NewJFrame() {\n\n initComponents();\n //get data from DB\n pane = getContentPane();\n layout = new CardLayout();\n pane.setLayout(layout);\n\n C = new Controller();\n model1 = new DefaultListModel();\n model2 = new DefaultListModel();\n model3 = new DefaultListModel();\n model4 = new DefaultListModel();\n model5 = new DefaultListModel();\n model6 = new DefaultListModel();\n\n resetModels();\n \n jList_AllreadySuggestedProposals.setModel(model1);\n jList_FirstRoundPossibleProposals.setModel(model2);\n jList_FirstRoundFinalProposals.setModel(model3);\n jList_PropoalThree.setModel(model4);\n jListPrimaryPThree.setModel(model5);\n jListSecondaryPThree.setModel(model6);\n \n }", "title": "" }, { "docid": "45ef667b275686ad084348c043a7f8b4", "score": "0.6070931", "text": "public MainJFrame() {\n initComponents();\n }", "title": "" }, { "docid": "45ef667b275686ad084348c043a7f8b4", "score": "0.6070931", "text": "public MainJFrame() {\n initComponents();\n }", "title": "" } ]
57139eb8a02efc2c6621261a828a5b9e
Para las cadenas de caracteres
[ { "docid": "a187a1f752f53261cca86c4241f7f4af", "score": "0.0", "text": "@Override\n public void characters(char[] ch, int start, int length)\n throws SAXException{\n for (int i=start; i<length+start; i++) {\n cadena_resultado = cadena_resultado + ch[i];\n }\n cadena_resultado = cadena_resultado.trim() + \"\\n\";\n }", "title": "" } ]
[ { "docid": "f3018df572f35108469ddb428f361002", "score": "0.6451917", "text": "private boolean caracteresCompatibles (String cadena, int tipo) { \n boolean res = false;\n switch (tipo) {\n case 0:\n res = cadena.matches(\"[0-9]{7,8}[A-Za-z]{1}\");\n break;\n case 1:\n res = cadena.matches(\"([A-Za-z]*[ñ]*[ ]*){1,2}\");\n break;\n case 2:\n res = cadena.matches(\"[0-9]{9}\");\n break; \n }\n return res;\n }", "title": "" }, { "docid": "574cd5d7e30674acb1b8edbc23940254", "score": "0.6364429", "text": "public abstract String caracteriza();", "title": "" }, { "docid": "79f2347e98f202b4a2e47d27bc782646", "score": "0.63232654", "text": "public void separaString() {\r\n\t\tthis.valores = expressao.toCharArray();\r\n\t}", "title": "" }, { "docid": "9509b0ebc2b2b14b3c38c37977d67b15", "score": "0.6241815", "text": "static char pedirCaracter() {\n\t\tSystem.out.println(\"\\nQue caracter crees que hay?\");\n\t\treturn teclado.nextLine().charAt(0);\t\t\n\t}", "title": "" }, { "docid": "92fcc59b6e339483c72d165cb6b123d2", "score": "0.6130285", "text": "public void defineSpecialChar(char ch);", "title": "" }, { "docid": "619fd5bd8d68226a93e71ba2e76bdb5c", "score": "0.60963166", "text": "String getCharacters();", "title": "" }, { "docid": "8e07080bb376937b7bc2806ce448dafe", "score": "0.6010012", "text": "public String saltarCaracteres(String cadena){ \n if(cadena!=null){\n cadena=cadena.replace(\"&\", \"&amp;\");\n cadena=cadena.replace(\"<\", \"&lt;\");\n cadena=cadena.replace(\">\", \"&gt;\");\n cadena=cadena.replace(\"'\", \"&apos;\");\n cadena=cadena.replace(\"\\\"\", \"&quot;\");\n }\n else{\n cadena=\"\";\n }\n return cadena; \n }", "title": "" }, { "docid": "62884d258c4a88d01d9ff361c89a22bb", "score": "0.582785", "text": "char[] getTokenChars();", "title": "" }, { "docid": "95ea3771a0c218bc5c5841cb41509077", "score": "0.5813324", "text": "private Characters() {\n }", "title": "" }, { "docid": "fc97c3d571b76a17fe191eef7a7b548a", "score": "0.57625186", "text": "public String getCharacterSet();", "title": "" }, { "docid": "e2fb4fee78347d09da4806c32953892f", "score": "0.5737882", "text": "public static void main(String[] args) {int harf = '1'; // ascii kodu 49\n// char ch = '2'; // ascii kodu 50\n//\n// System.out.println(harf+ch); //12 mi?, 3 mu? 99 mu? ==> 99\n// System.out.println(17 + 3); //20 \n// System.out.println(17 + \"\" + 3 ); //173\n// System.out.println(\"\" + 17 + 3); //173\n// System.out.println(17 + 3 + \"\"); //20\n// System.out.println(24 + 3 + 6 + \"Ali\" +10 + 5 ); //33Ali105\n// System.out.println(\"\" + 24 + 3 + 6 +10 ); //243610\n//\n// System.out.println(harf); // 1 mi? 49 mu? == 49\n// System.out.println(ch); // 2 mi? 50 mi? == 2\n//\n// char deneme = 50;\n//\n// System.out.println(deneme); // 2 mi? 50 mi? == 2\n// \n int unlem= '!';\n System.out.println('!' + \" Ascii Code Degeri : \" + unlem);\n \n int yuzde ='%';\n System.out.println('%' + \" Ascii Code Degeri : \" +yuzde);\n \n int star = '*';\n System.out.println('*' + \" Ascii Code Degeri : \" +star);\n \n int dolar = '$';\n System.out.println('$' + \" Ascii Code Degeri : \" +dolar);\n \n int et ='@';\n System.out.println('@' + \" Ascii Code Degeri : \" +et);\n \n int ve = '&';\n System.out.println('&' + \" Ascii Code Degeri : \" +ve);\n \n\t}", "title": "" }, { "docid": "3fd777d44e418752a8c7051a13506aee", "score": "0.5720287", "text": "public void utimoCaracter() {\n\t\t// VALIDAMOS.\n\t\tchar ultimo = cadena.charAt(cadena.length() - 1);\n\t\t// IMPRIMIMOS.\n\t\tSystem.out.println(\"Ultimo caracter :\" + ultimo);\n\t}", "title": "" }, { "docid": "c8b3a5706d93867a170c3f615e8eb378", "score": "0.5701024", "text": "private int chknm(String name) {\n // CharSequence CharSequence = CharSequence; \n \n if(name.length()!=0){\n Pattern special = Pattern.compile (\"[!@#$%&*()_+=|<>?{}\\\\[\\\\]~-]\");\n Matcher ch = special.matcher(name);\n if(ch.find()==true){\n JOptionPane.showMessageDialog(this, \"Name Can not Contains Special Character\");\n return 2;\n }\n }\n else\n return 2;\n return 0;\n }", "title": "" }, { "docid": "422789b2186f3f5f574c32d0df114fa1", "score": "0.5688471", "text": "public void caracteristicasCoche()\n {\n System.out.println(\"Marca: \" + marca);\n System.out.println(\"Modelo: \" + modelo);\n System.out.println(\"Velocidad maxima: \" + velocidadMaxima + \"km/h\");\n System.out.println(\"Año de fabricacion: \" + anoFabricacion);\n System.out.println(\"Numero de bastidor: \" + numeroDeBastidor);\n }", "title": "" }, { "docid": "d7103a674f491ac69cceb0b4e0bae099", "score": "0.5668582", "text": "private static char[] desguaza(String palAzar){\n char[] letras;\n letras = new char[palAzar.length()];\n for(int i = 0; i < palAzar.length(); i++){\n letras[i] = palAzar.charAt(i);\n }\n return letras;\n }", "title": "" }, { "docid": "0cef71e34e3d1fcee3571bdd80078a49", "score": "0.5634267", "text": "@Override\n public Character visitCharLiteral(final IRNode e) {\n\tString value = CharLiteral.getToken(e);\n return Character.valueOf(value.charAt(1));\n }", "title": "" }, { "docid": "c42926d21906c2343aa87ac3b4817a2d", "score": "0.5629575", "text": "public String getConsonants() {\n\t\tchar c[]=curString.toCharArray();\n\t\tStringBuilder conso = new StringBuilder();\n\t\tString consostr=\"\";\n\t\tfor (int i=0;i<c.length;i++)\n\t\t{\n\t\t\tif(Character.isLetter(c[i]))\n\t\t\t{\n\t\t\t\tif(c[i]!='a' && c[i]!='e' && c[i]!='i' && c[i]!='o' && c[i]!='u' &&\n\t\t\t\t\t\tc[i]!='A' && c[i]!='E' && c[i]!='I' && c[i]!='O' && c[i]!='U'){\n\t\t\t\t\tconsostr=Character.toString(c[i]);\n\t\t\t\t\tconso.append(consostr);\n\t\t\t\t}\n\t\t\t\t\t\n\t\t\t}\n\t\t}\n\t\tSystem.out.println( \"All the consonants in the above string is: \"+ conso);\n\t\treturn conso.toString();\n\t}", "title": "" }, { "docid": "fde43898f66f9e82360f5ac08535a1c8", "score": "0.56195295", "text": "public char toChar() {\n\t\treturn this.caracter;\n\t}", "title": "" }, { "docid": "ab90cb9f4e108616085a32fb8eaf2f63", "score": "0.55999", "text": "private int charVal(char caracter){\n\t \t//revisa que se parentesis )\n\t \tif(caracter == 41)\n\t\t\treturn 0;\n\t\t//revisa que sea parentesis (\n\t\telse if(caracter == 40)\n\t\t\treturn 1;\n\t\t//revisa que sea numero\n\t\telse if(caracter >= 48 && caracter <= 57 || caracter == 46 || caracter == 101)\n\t\t\treturn 2;\n\t\t//revisa que sea +/-\n\t\telse if(caracter == 43 || caracter == 45)\n\t\t\treturn 3;\n\t\t//revisa que sea * /\n\t\telse if(caracter == 42 || caracter == 47)\n\t\t\treturn 4;\n\t\t//revisa que sea ^\n\t\telse if(caracter == 94)\n\t\t\treturn 5;\n\t\t//revisa que sea n x,y,z\n\t\telse if(caracter >= 120 && caracter <= 122)\n\t\t\treturn 6;\n\t\t//si es un funcion cualquier carcter exepto el espacio\n\t\telse if(caracter != 32)\n\t\t\treturn 7;\n\t\telse\n\t\t\treturn 8;\n\t}", "title": "" }, { "docid": "34913b2061acc3058c328d6416a1c158", "score": "0.55759144", "text": "public static void main(String[] args) {\n char myReg = '\\u00AE';\n System.out.println(myReg);\n }", "title": "" }, { "docid": "3ef3aff91136d45df5cc42d365d817d8", "score": "0.55567497", "text": "public static void main(String[] args) {\n char c = 'A';\r\n char ccc = 65;//다이렉트로 데이터 넣기는 가능\r\n char cc = (char)(c+32); //(소문자처리) 연산처리에는 형변화 필요 \r\n System.out.println(cc);\r\n \r\n System.out.println(c >= 'A' && c <='Z' ? \"대문자\":\"소문자\");\r\n// cc >= 'A' && cc <= 'Z' ==> 대문자\r\n// cc >= 'a' && cc <= 'z' ==> 소문자\r\n\t}", "title": "" }, { "docid": "053219a87f2757c70436a47e79074c93", "score": "0.5528775", "text": "@Test\n public void charAt() throws InterruptedException {\n\n String str = \"Exercitii Java!\";\n System.out.println(\"String initial = \" + str);\n // afiseaza caracterele de pe pozitia 0 si 10\n int index1 = str.charAt(0);\n int index2 = str.charAt(10);\n\n // printeaza rezultatul.\n System.out.println(\"Caracterul de pe pozitia 0 este \" + (char) index1);\n System.out.println(\"Caracterul de pe pozitia 10 este \" + (char) index2);\n\n }", "title": "" }, { "docid": "6f05779497c39066d663674bc9b02b16", "score": "0.5524957", "text": "private String[] getConvertedChars()\r\n {\r\n int ascii;\r\n String binary;\r\n int numberOfChars = text.length();\r\n String[] str = new String[numberOfChars];\r\n\r\n for(int i = 0; i < numberOfChars; i++) {\r\n str[i] = \"\";\r\n // Convert char to ascii\r\n ascii = (int)text.charAt(i);\r\n // Convert ascii to binary\r\n binary = Integer.toBinaryString(ascii);\r\n // Ensure we have 8 bits\r\n while (binary.length() < 8) {\r\n binary = \"0\" + binary;\r\n }\r\n // Convert binary values to strings: true = \"*\" or false = \" \"\r\n for (int j = 0; j < binary.length(); j++) {\r\n if (binary.charAt(j) == '1') {\r\n str[i] += BLACK_CHAR;\r\n } else {\r\n str[i] += WHITE_CHAR;\r\n }\r\n }\r\n }\r\n\r\n return str;\r\n }", "title": "" }, { "docid": "d2808b2c9ccc157d2e2d8e1e14b5ea8f", "score": "0.55052555", "text": "private Color(char c) {\n\t\tthis.caracter = c;\n\t}", "title": "" }, { "docid": "df7af6c75673a46c2034dae248b806a5", "score": "0.5489124", "text": "public void esCapicua() {\n\t\tint cant = 0;\n\t\t// VALIDAMOS.\n\t\tfor (int i = 0; i < cadena.length() / 2; i++) {\n\t\t\t// VALIDAMOS.\n\t\t\tif (cadena.charAt(i) == cadena.charAt(cadena.length() - 1 - i)) {\n\t\t\t\tcant++;\n\t\t\t}\n\t\t}\n\t\t// VALIDAMOS.\n\t\tif (cant == cadena.length() / 2) {\n\t\t\tSystem.out.print(\"Es capic˙a la cadena \" + cadena);\n\t\t} else {\n\t\t\tSystem.out.print(\"No es capic˙a la cadena : \" + cadena);\n\t\t}\n\t}", "title": "" }, { "docid": "87be0f7b651eb6249bbffad127da38cd", "score": "0.54877055", "text": "public static String m9264c(String str) {\n if (str == null) {\n return \"\";\n }\n StringBuilder sb = new StringBuilder();\n String a = m9260a(str);\n int length = a.length();\n int i = 0;\n while (i < length) {\n char charAt = a.charAt(i);\n if (charAt == '*') {\n sb.append(\"%2A\");\n } else if (charAt == '+') {\n sb.append(\"%20\");\n } else {\n if (charAt == '%') {\n int i2 = i + 2;\n if (i2 < length && a.charAt(i + 1) == '7' && a.charAt(i2) == 'E') {\n sb.append('~');\n i = i2;\n }\n }\n sb.append(charAt);\n }\n i++;\n }\n return sb.toString();\n }", "title": "" }, { "docid": "8488e9a5adedbf9ea6fc33379b672be6", "score": "0.5481868", "text": "public static void main(String[] args) {\n\t\tString titulo = \"casa\";\t\t\n\t\t\n//\t\tArray que va a albergar cada uno de los caracteres del titulo del libro\n\t\tchar ArrayTitulo[];\t\t\n//\t\tDeclaracion del array\n\t\tArrayTitulo = new char[titulo.length()];\t\n\t\t\n//\t\tBucle que va a insertar cada caracter del titulo en una casilla del array\n\t\tfor (int i = 0; i < titulo.length(); i++) {\t\t\n\t\t\tArrayTitulo[i] = titulo.charAt(i);\n\t\t}\n\t\t\n//\t\tOJO, que este metodo devulve la posici�n de ese caracter en ASCII\n//\t\tSystem.out.println(titulo.codePointAt(2));\n\t\t\n\t\t\n\t\tString abcde = \"abcdefghijklmn�opqrstuvwxyz\";\n\t\tSystem.out.println(abcde.indexOf(ArrayTitulo[2]));\n\t\t\n\t\tArrayList<Character> Repeticiones = new ArrayList<Character>();\n\t\t\n\t\tint numRepeticiones;\n\t\tint cont = 0;\n\t\t\n//\t\tBucle for para calcular la distancia entre un caracter y el siguiente con respecto al indice del string \"abcde\" teniendo en cuenta las excepciones. El bucle <<do while>> agrega a \n//\t\tuna ArrayList cada caracter del titulo el numero de veces la distacia que se ha calculado antes.\n\t\tfor (int i = 0; i < ArrayTitulo.length; i++) {\n\t\t\t//OJO, POSIBLE PROBLEMA SI EL TITULO CONTIENE DOS LETRAS SEGUIDAD IGUALES como \"rr\" por ejemplo\n\t\t\tif (i < (ArrayTitulo.length - 1)) {\n\t\t\t\tif((abcde.indexOf(ArrayTitulo[i+1]) - abcde.indexOf(ArrayTitulo[i]))>=0) {\t\t\t\n\t\t\t\t\tnumRepeticiones = abcde.indexOf(ArrayTitulo[i+1]) - abcde.indexOf(ArrayTitulo[i]);\n\t\t\t\t}else {\n\t\t\t\t\tnumRepeticiones = abcde.indexOf(ArrayTitulo[i]) - abcde.indexOf(ArrayTitulo[i+1]);\n\t\t\t\t}\n\t\t\t}else {\n\t\t\t\tif((abcde.indexOf(ArrayTitulo[i]) - abcde.indexOf(ArrayTitulo[0]))>=0) {\t\t\t\n\t\t\t\t\tnumRepeticiones = abcde.indexOf(ArrayTitulo[i]) - abcde.indexOf(ArrayTitulo[0]);\n\t\t\t\t}else {\n\t\t\t\t\tnumRepeticiones = abcde.indexOf(ArrayTitulo[0]) - abcde.indexOf(ArrayTitulo[i]);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\t\n\t\t\twhile(cont < numRepeticiones) {\n\t\t\t\tRepeticiones.add(ArrayTitulo[i]);\n\t\t\t\tcont++;\n\t\t\t}\n\t\t\tcont = 0;\n\t\t}\n\t\t\n\t\tSystem.out.println(Repeticiones);\n\n//\t\tPASO 2\n\t\t\n\t\t\n//\t\tConvierto el ArrayList a un array de tipo char\n\t\tchar[] ArrayRepeticiones = new char[Repeticiones.size()];\t\t\n\t\tfor(int i = 0; i < Repeticiones.size(); i++) {\n\t\t ArrayRepeticiones[i] = Repeticiones.get(i);\n\t\t}\n\t\t\n//\t\tCreo un array de tipo int\n\t\tint[] ArrayAscii = new int[ArrayRepeticiones.length];\t\n\n//\t\tIntroduzco a la vez que hago un cast de char a int(me da el valor ASCII del caracer) cada elemento de un array a otro\n\t\tfor (int i = 0; i < ArrayRepeticiones.length; i++) {\t\t\t\n\t\t\tArrayAscii[i] = (int)ArrayRepeticiones[i];\n//\t\t\tSystem.out.println(ArrayAscii[i]);\n\t\t}\n//\t\tPASO 3\n\t\t\n//\t\tBucle que suma las cifras que conforman cada int del ArrayAscii y sustituye el valor en el Array\n\t\tfor (int i = 0; i < ArrayAscii.length; i++) {\t\t\t\t\t\n\t\t\tArrayAscii[i] = (ArrayAscii[i]%10) + ((ArrayAscii[i]/10)%10) + (((ArrayAscii[i]/10)/10)%10);\n//\t\t\tSystem.out.println(ArrayAscii[i]);\n\t\t}\n\t\t\n//\t\tPASO 4\n\t\t\n//\t\tAplico mod 10 a cada elemento del ArrayAscii\n\t\tfor (int i = 0; i < ArrayAscii.length; i++) {\t\t\t\t\t\n\t\t\tArrayAscii[i] = ArrayAscii[i]%10 ;\n//\t\t\tSystem.out.println(ArrayAscii[i]);\n\t\t}\n\n//\t\tPASO 5\t\n\t\tArrayList <Integer> Reduccion = new ArrayList<Integer>();\n\t\t\n//\t\tfor (int i = 0; i < ArrayAscii.length; i++) {\n//\t\t\tint contad=0;\n//\t\t\tfor (int j = 0; j < ArrayAscii.length; j++) {\n//\t\t\t\tif(i < (ArrayAscii.length-1)) {\n//\t\t\t\t\tif (ArrayAscii[i] == ArrayAscii[j] && contad < ArrayAscii[i] && ArrayAscii[i] == ArrayAscii[i-1]){\n//\t\t\t\t\t\tcontad++;\n//\t\t\t\t\t\tReduccion.add(i);\n//\t\t\t\t\t}\n//\t\t\t\t}else {\n//\t\t\t\t\t\n//\t\t\t\t}\n//\t\t\t}\n//\t\t\t\t\n//\t\t}\n\t\t\n\t\tArrayList <Tipo_de_Contador> tipos = new ArrayList<Tipo_de_Contador>();\n\t\t\n//\t\tfor (int i = 0; i < ArrayAscii.length; i++) {\n//\t\t\tif (i == 0) {\n//\t\t\t\tReduccion.add(i);\n//\t\t\t\ttipos.add(new Tipo_de_Contador(ArrayAscii[i]));\n//\t\t\t\ttipos.get(0).sumarAlContador();\n//\t\t\t}else {\n//\t\t\t\tif (ArrayAscii[i] == ArrayAscii[i-1]) {\n//\t\t\t\t\tb.sumarAlContador();\n//\t\t\t\t\tif (b.getCont().getContador() < ArrayAscii[i]) {\n//\t\t\t\t\t\tReduccion.add(i);\n//\t\t\t\t\t}\n//\t\t\t\t}\n//\t\t\t}\n//\t\t}\n//\t\t\n//\t\tfor (int i = 0; i < ArrayAscii.length; i++) {\n//\t\t\tif (i == 0) {\n//\t\t\t\tReduccion.add(i);\n//\t\t\t\ttipos.add(new Tipo_de_Contador(ArrayAscii[i]));\n//\t\t\t\ttipos.get(0).sumarAlContador();\n//\t\t\t}else {\n//\t\t\t\tif (ArrayAscii[i] == ArrayAscii[i-1]) {\n//\t\t\t\t\tb.sumarAlContador();\n//\t\t\t\t\tif (b.getCont().getContador() < ArrayAscii[i]) {\n//\t\t\t\t\t\tReduccion.add(i);\n//\t\t\t\t\t}\n//\t\t\t\t}\n//\t\t\t}\n//\t\t}\n\t\t\n//\t\thttps://es.stackoverflow.com/questions/42977/cu%C3%A1l-es-la-soluci%C3%B3n-a-todos-los-errores-nullpointerexception-presentes-pasados\n\t\t\t\n\t\tfor (int i = 0; i < ArrayAscii.length; i++) { \t\t//OJO, REVISAR SI ES LOGICA EL \"-1 \"DEL \"HASTA...\"\n\t\t\tif (i == 0) {\n\t\t\t\tReduccion.add(i);\n\t\t\t\ttipos.add(new Tipo_de_Contador(ArrayAscii[i]));\n\t\t\t\ttipos.get(0).sumarAlContador();\n\t\t\t\tSystem.out.println(tipos.get(0).getNumero());\n\t\t\t\tSystem.out.println(\"Tipo(\"+tipos.get(i).getNumero()+\"). Contador va por: \"+tipos.get(i).getCont().getContador());\n\t\t\t}else {\n\t\t\t\tboolean relleno=false;\n\t\t\t\tfor (int j = 0; j < tipos.size() - 1; j++) {\t\t\t\t//OJO, REVISAR SI ES LOGICA EL \"-1 \"DEL \"HASTA...\"\n\t\t\t\t\tif (ArrayAscii[i] == tipos.get(j).getNumero()) {\t\t//va a ver si es de un tipo de contador\n\t\t\t\t\t\trelleno=true;\n\t\t\t\t\t\tif (ArrayAscii[i] == ArrayAscii[i-1]) {\t\t\t\t//si es igual al anterior elemento del ArrayAscii, lo guarda en el mismo tipo de contador, sino crea uno nuevo\n\t\t\t\t\t\t\ttipos.get(j).sumarAlContador();\n\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\ttipos.add(new Tipo_de_Contador(ArrayAscii[i]));\n\t\t\t\t\t\t\ttipos.get(j+1).sumarAlContador();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}if (relleno == false) {\n\t\t\t\t\ttipos.add(new Tipo_de_Contador(ArrayAscii[i]));\n\t\t\t\t\ttipos.get(i).sumarAlContador();\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"Tipo(\"+tipos.get(i).getNumero()+\"). Contador va por: \"+tipos.get(i).getCont().getContador());\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tfor (int i = 0; i < tipos.size(); i++) {\n\t\t\tint contad=0;\n\t\t\tdo {\n\t\t\t\tcontad++;\n\t\t\t\tReduccion.add(tipos.get(i).getNumero());\n\t\t\t}while(contad<=tipos.get(i).getCont().getContador());\n\t\t\tSystem.out.println(Reduccion.get(i));\n\t\t}\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "9499261d429ca328da9ee5f0367ce700", "score": "0.5467446", "text": "public static String dcdVille(String v)\n {\n Map<String, List<String>> mvreg=Variable.getRegion();\n String[] str=new String[2];\n str[0]=\" \";\n str[1]=\"-\";\n\n char[] toChAr = v.toCharArray();\n str[0]+=toChAr[0];str[1]+=toChAr[0];\n for(int i=1; i<toChAr.length;i++)\n {\n char c=toChAr[i];\n \n if(Character.isUpperCase(c))\n {\n str[0]+=\"-\";\n str[1]+=\" \";\n }\n\n str[0]+=c;\n str[1]+=c;\n }\n \n return v;\n }", "title": "" }, { "docid": "6fb65ce56ecc91dc64bb15c7ca593626", "score": "0.54566485", "text": "public static String handlePolishCaracters(String str) {\n\t\t// a\n\t\tString res = null;\n\t\tres = str.replace(\"Ä„\", \"&#260;\");\n\t\tres = res.replace(\"Ä…\", \"&#261;\");\n\t\t// e\n\t\tres = res.replace(\"Ę \", \"&#280;\");\n\t\tres = res.replace(\"Ä™\", \"&#281;\");\n\t\t// o\n\t\tres = res.replace(\"Ó\", \"&#211;\");\n\t\tres = res.replace(\"ó\", \"&#243;\");\n\t\t// c\n\t\tres = res.replace(\"Ć\", \"&#262;\");\n\t\tres = res.replace(\"ć\", \"&#263;\");\n\t\t// l\n\t\tres = res.replace(\"Å\", \"&#321;\");\n\t\tres = res.replace(\"Å‚\", \"&#322;\");\n\t\t// n\n\t\tres = res.replace(\"Ń\", \"&#323;\");\n\t\tres = res.replace(\"Å„\", \"&#324;\");\n\t\t// s\n\t\tres = res.replace(\"Åš\", \"&#346;\");\n\t\tres = res.replace(\"Å›\", \"&#347;\");\n\t\t// z\n\t\tres = res.replace(\"Ź\", \"&#377;\");\n\t\tres = res.replace(\"ź\", \"&#378;\");\n\t\t// zp\n\t\tres = res.replace(\"Å»\", \"&#379;\");\n\t\tres = res.replace(\"ż\", \"&#380;\");\n\t\treturn res;\n\t}", "title": "" }, { "docid": "a5edecc0127fc5ab447d2cae6abfab0d", "score": "0.5450149", "text": "private static boolean comprobarAlfabeto(String cadena) {\r\n\t\tboolean result = true;\r\n\t\tfor(int i = 0; i < cadena.length() && result; i++) {\r\n\t\tif(!((cadena.charAt(i) >= 65 && cadena.charAt(i) <=90) || (cadena.charAt(i) >= 97 && cadena.charAt(i) <= 122)) ) {\r\n\t\tresult = false;\r\n\t\t} \r\n\t\t} \r\n\t\treturn result;\r\n\t\t}", "title": "" }, { "docid": "b472bdf91cc3a409def72be87f8d771d", "score": "0.5448061", "text": "public static PSChar cr() { return PSChar.with( 13 ); }", "title": "" }, { "docid": "e2633c6ef431b343339d7aa5a8649753", "score": "0.54374576", "text": "String getC1_varchar40();", "title": "" }, { "docid": "f19ebe81689a2d556e4512b474ec4dcf", "score": "0.5436786", "text": "String getC13_varchar512();", "title": "" }, { "docid": "ce7fe85c5c4e639b1f0ccfe3b4e17dff", "score": "0.5416241", "text": "public char[] getForbiddenChars() {\n\t\tString forbiddenChars = this.getInternalProperty(PropertiesManager.INTERNAL_KEYS.FORBIDDEN_CHARS);\n\t\tString keySeparator = this.getInternalProperty(PropertiesManager.INTERNAL_KEYS.KEY_SEPARATOR);\n\t\tString sequence = forbiddenChars + keySeparator;\n\n\t\treturn sequence.toCharArray();\n\t}", "title": "" }, { "docid": "3050bc833946754c3deaf3938a6f4239", "score": "0.54136866", "text": "public String codificar(String fraseEntrada){\n String resultado = \"\";\n fraseEntrada = fraseEntrada.toLowerCase();\n char caracter = 0;\n int posChar;\n for (int i = 0; i < fraseEntrada.length(); i++) {\n caracter = fraseEntrada.charAt(i);\n if (String.valueOf(caracter).equals(\" \") == true || String.valueOf(caracter).equals(\"\\n\") == true) {\n if(String.valueOf(caracter).equals(\" \")){\n try{\n resultado = resultado.substring(0,resultado.length()-1)+\"*\";\n }catch(Exception e){}\n }else{\n resultado += \"\\n\";\n }\n }else{\n posChar = alfabeto.indexOf(caracter);\n try {\n resultado += numerosBinarios[posChar] + \" \";\n }catch (Exception e){}\n }\n }\n return resultado;\n }", "title": "" }, { "docid": "ba25e3bd8f1abf02f537afc999b7c5fb", "score": "0.54057235", "text": "public void conGuiones() {\n\t\tSystem.out.print(\"Separado por Guiones : \");\n\t\t// VALIDAMOS.\n\t\tfor (int i = 0; i < cadena.length(); i++) {\n\t\t\tSystem.out.print(cadena.charAt(i) + \"-\");\n\t\t}\n\t\tSystem.out.println();\n\t}", "title": "" }, { "docid": "7abea694be006c1e287f51b77b58cc29", "score": "0.540344", "text": "@Test public void representationOfCharacter() throws Exception {\n assertEquals(\"s:1:\\\"X\\\";\", representationOf(new Character('X')));\n }", "title": "" }, { "docid": "26bbd92ff877da2a0c86ecf8ddc83d7c", "score": "0.5402154", "text": "String getC2_varchar40();", "title": "" }, { "docid": "11172eb887003346abd1a470fbc8605d", "score": "0.53832656", "text": "String getC26_varchar4096();", "title": "" }, { "docid": "18b4f78aedf452585ccd75d20cd8cd16", "score": "0.53820145", "text": "public static void main(String[] args) {\n String s = \"%CE%AA%C1%CB%C4%FA%B5%C4%D5%CA%BA%C5%B0%B2%C8%AB%A3%AC%C7%EB%CA%E4%C8%EB%D1%E9%D6%A4%C2%EB\";\r\n String n = \"绫致\";\r\n System.out.println(decode(s));\r\n System.out.println(encode(n));\r\n }", "title": "" }, { "docid": "2c18e77608a50c004965d8833348ee56", "score": "0.53712577", "text": "public void obtenerLetras(char letras[], String numero){\n\t\tfor(int i=0;i<numero.length();i++){\n\t\t\tletras[i]=numero.charAt(i);\n\t\t}\n\t}", "title": "" }, { "docid": "83e5323ffb815ad15935ba4fb0a083db", "score": "0.5370788", "text": "@NotNull\n private String separateChars(String value) {\n return value.substring(\n Math.min(\n value.length(),\n textLengthSelector.startAt()\n ),\n Math.min(\n value.length(),\n textLengthSelector.length() + textLengthSelector.startAt()\n )\n );\n }", "title": "" }, { "docid": "7b07feeead6812b161a152676b03e2fb", "score": "0.53693765", "text": "void mo949a(C0331D c0331d);", "title": "" }, { "docid": "d0679dabdb0ccbc25d7126004efcf9be", "score": "0.53603166", "text": "abstract char tokenChar();", "title": "" }, { "docid": "4bb0ef6d778ccdc8acd190b9c4df0c56", "score": "0.5359943", "text": "protected HellBit[] pattern(char c) {\n \tif (Character.isLetter(c))\n c = Character.toUpperCase(c);\n \tif (hell_map.containsKey(c))\n \treturn hell_map.get(c);\n \telse\n \treturn hell_map.get(' ');\n }", "title": "" }, { "docid": "4b29693548a4858efa68ded1dcdc002f", "score": "0.5343376", "text": "String getC19_varchar1024();", "title": "" }, { "docid": "372c2ec100e14bcdf130a50e04827e3a", "score": "0.53386754", "text": "MixedAlphabet(String chars) {\n _chars = chars;\n }", "title": "" }, { "docid": "2fad00c8d85cdccde375ef242cfa86f7", "score": "0.5325682", "text": "private static String mungeChars(String name)\n {\n return name.replaceAll(\"[:/\\\\\\\\]\", \"_\");\n }", "title": "" }, { "docid": "ab008498a93b61fc90ab4db137ac2a63", "score": "0.5322935", "text": "private boolean isAliasSafeCharPart( char c )\n {\n return ( c == 'a' || c == 'b' || c == 'c' || c == 'd' || c == 'e' || c == 'f' || c == 'g' || c == 'h'\n || c == 'i' || c == 'j' || c == 'k' || c == 'l' || c == 'm' || c == 'n' || c == 'o' || c == 'p' || c == 'q'\n || c == 'r' || c == 's' || c == 't' || c == 'u' || c == 'v' || c == 'w' || c == 'x' || c == 'y' || c == 'z'\n || c == 'A' || c == 'B' || c == 'C' || c == 'D' || c == 'E' || c == 'F' || c == 'G' || c == 'H' || c == 'I'\n || c == 'J' || c == 'K' || c == 'L' || c == 'M' || c == 'N' || c == 'O' || c == 'P' || c == 'Q' || c == 'R'\n || c == 'S' || c == 'T' || c == 'U' || c == 'V' || c == 'W' || c == 'X' || c == 'Y' || c == 'Z' || c == '0'\n || c == '1' || c == '2' || c == '3' || c == '4' || c == '5' || c == '6' || c == '7' || c == '8' || c == '9' || c == '-' );\n }", "title": "" }, { "docid": "61ad739711f499988be0bebcf33abc1a", "score": "0.5307728", "text": "private int processaEstado12( char c )\n\t{\n\t\tif( c == '*' )\n\t\t{\n\t\t\treturn 12;\n\t\t}\n\t\tif( c == ')' )\n\t\t{\n\t\t\treturn 13;\n\t\t}\n\t\telse if( c == '$' )\n\t\t{\n\t\t\treturn -1;\n\t\t}\n\n\t\treturn 11;\n\t}", "title": "" }, { "docid": "2ad578ee942a9d55365e1fb9fda879da", "score": "0.5300113", "text": "private int processaEstado11( char c )\n\t{\n\t\tif( c == '*' )\n\t\t{\n\t\t\treturn 12;\n\t\t}\n//\t\telse if( c == '$' )\n//\t\t{\n//\t\t\treturn -1;\n//\t\t}\n\n\t\treturn 11;\n\t}", "title": "" }, { "docid": "1e9b3f93d2431b1a991f91b6c20d1e6a", "score": "0.5298303", "text": "@Test\r\n public void testToCharCorrect() {\r\n\t\tassertEquals(\"R\", colorRed.toChar());\r\n\t\tassertEquals(\"P\", colorPurple.toChar());\r\n\t\tassertEquals(\"G\", colorGreen.toChar());\r\n\t\tassertEquals(\"Y\", colorYellow.toChar());\r\n\t\tassertEquals(\"RGYP\", colorStart.toChar());\r\n\t}", "title": "" }, { "docid": "aaa6847bd2f1a8ac97893ee604fdaf2c", "score": "0.529738", "text": "private String getString(String s) {\n\t\tString res = \"\";\n\t\tfor(int i = 0; i < s.length(); i++) {\n\t\t\tif(s.charAt(i) == 'A' || s.charAt(i) == 'C' || s.charAt(i) == 'G' || s.charAt(i) == 'T') res += s.charAt(i);\n\t\t}\n\t\treturn res;\n\t}", "title": "" }, { "docid": "03313868bb0aafb206b723a43993d1b8", "score": "0.529262", "text": "String getC16_varchar1024();", "title": "" }, { "docid": "27f4d19be564f7fdcd7fbf77b3a3c3e9", "score": "0.52885985", "text": "@Override\n\tpublic int numberOfConsonants() {\n\t\tchar c[]=curString.toCharArray();\n\t\tint nconso;\n\t\tnconso=0;\n\t\tfor (int i=0;i<c.length;i++)\n\t\t{\n\t\t\tif(Character.isLetter(c[i]))\n\t\t\t{\n\t\t\t\tif(c[i]!='a' && c[i]!='e' && c[i]!='i' && c[i]!='o' && c[i]!='u' &&\n\t\t\t\t\t\tc[i]!='A' && c[i]!='E' && c[i]!='I' && c[i]!='O' && c[i]!='U'){\n\t\t\t\t\tnconso++;\n\t\t\t\t}\n\t\t\t\t\t\n\t\t\t}\n\t\t}\n\t\tSystem.out.println( \"The number of consonants in the above string is: \"+ nconso);\n\t\treturn nconso;\n\t}", "title": "" }, { "docid": "0152970525a8a297365724ad273ebc09", "score": "0.5285657", "text": "@Test(timeout = 4000)\n public void test022() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\".0.J|LeUl,~+:KHUp!w\");\n char char0 = xPathLexer0.LA(112);\n assertEquals('\\uFFFF', char0);\n }", "title": "" }, { "docid": "2ec4378192ce5f58486e59243d955216", "score": "0.52847785", "text": "public final String getChars(int aValue) { return getTokenizer().getChars(aValue); }", "title": "" }, { "docid": "18c328cbd83ea5d58b9d31e0484a1104", "score": "0.5264561", "text": "String getC15_varchar1024();", "title": "" }, { "docid": "18f10ca9294cfc57a6ed3a6bdb17eef0", "score": "0.5245535", "text": "@Override\n\tpublic Characters createCharacters(String content) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "89107bbcf4473834506c4b2c2298adab", "score": "0.52316755", "text": "String getC9_varchar256();", "title": "" }, { "docid": "f63648e0cb6edb1f1628c6291bb27c67", "score": "0.52284175", "text": "String getC18_varchar1024();", "title": "" }, { "docid": "39ed1564870939f26b528d1444bee418", "score": "0.52264607", "text": "String getC24_varchar4096();", "title": "" }, { "docid": "1058889828c7f54035b4d1156297c772", "score": "0.52171504", "text": "public int getCharacterCount();", "title": "" }, { "docid": "efff79b4b1da0d12a351a2a84990e7fc", "score": "0.5202241", "text": "private ArrayList<Character> asCharList(String s) {\n ArrayList<Character> result = new ArrayList<>();\n for (char c : s.toCharArray()) {\n result.add(c);\n }\n return result;\n }", "title": "" }, { "docid": "500e567a05e1072b0ae414f31e50618b", "score": "0.52017844", "text": "private char getSpecial(char ch) {\r\n switch (ch) {\r\n case 'b':\r\n return (char) 8;\r\n case 'r':\r\n return (char) 13;\r\n case 'n':\r\n return (char) 10;\r\n case 'f':\r\n return (char) 12;\r\n case 't':\r\n return (char) 9;\r\n default:\r\n return ch;\r\n }\r\n }", "title": "" }, { "docid": "f4e9ba3bbcfeb5dd33a3fc4f04f3e653", "score": "0.5199574", "text": "String getC23_varchar4096();", "title": "" }, { "docid": "11f64dac3a1dbd4b47969fc313ec3b03", "score": "0.5199504", "text": "private String Esperar_Texto() {\n\n String ret = \"\";\n\n while (mIndex < mTamanho) {\n\n String l = String.valueOf(mConteudo.charAt(mIndex));\n\n if (l.contentEquals(\"'\")) {\n mIndex += 1;\n ret = BuscandoTexto(\"'\");\n break;\n } else if (l.contentEquals(\"\\\"\")) {\n mIndex += 1;\n ret = BuscandoTexto(\"\\\"\");\n break;\n } else if (l.contentEquals(\" \")) {\n } else if (l.contentEquals(\"\\n\")) {\n } else if (l.contentEquals(\"\\t\")) {\n } else {\n break;\n }\n\n mIndex += 1;\n\n }\n\n return ret;\n }", "title": "" }, { "docid": "75797579f3e8dba76293d0620245b208", "score": "0.5198834", "text": "public void ejercicio04() {\n\t\tcabecera(\"04\", \"\");\n\n\t\t// Inicio modificacion\n\t\tString cadena;\n\t\tSystem.out.println(\"Introduzca una cadena\");\n\t\tcadena=Teclado.readString();\n\t\tswitch(cadena.charAt(0)){\n\t\t\tcase 'a': case 'e': case 'i': case 'o': case 'u':\n\t\t\t\tSystem.out.println(\"Vocal minuscula\");\n\t\t\t\tbreak;\n\t\t\tcase 'A': case 'E': case 'I': case 'O': case 'U':\n\t\t\t\tSystem.out.println(\"Vocal mayuscula\");\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tSystem.out.println(\"Otro caracter\");\n\t\t\t\tbreak;\n\t\t}\n\t\t\n\t\t// Fin modificacion\n\t}", "title": "" }, { "docid": "6339f4d7e38db01b4d299b2145010a69", "score": "0.51953053", "text": "public void validarCaracteres() {\n if (!query.equals(\"\")) {\n\n /*Validacion si en los caracteres ingresados se encuentran los caracteres especiales # o @ los cuales no se aceptan*/\n if (query.indexOf(\"#\") == -1) {\n\n if (query.indexOf(\"@\") == -1) {\n /*Llamamos el metodo buscar con el boton enter del teclado*/\n buscar();\n } else {\n Toast toast1 = Toast.makeText(getApplicationContext(), \"Caracter @ no permitido\", Toast.LENGTH_SHORT);\n toast1.setGravity(Gravity.CENTER | Gravity.CENTER, 0, 0);\n editTextBuscar.setText(\"\");\n toast1.show();\n }\n } else {\n\n Toast toast1 = Toast.makeText(getApplicationContext(), \"Caracter # no permitido\", Toast.LENGTH_SHORT);\n toast1.setGravity(Gravity.CENTER | Gravity.CENTER, 0, 0);\n editTextBuscar.setText(\"\");\n toast1.show();\n }\n }\n\n }", "title": "" }, { "docid": "47c17623b621e7d7462332cdd649e951", "score": "0.51947457", "text": "String getC12_varchar512();", "title": "" }, { "docid": "3ec232615ef62d884e1f82a03ac04956", "score": "0.5193117", "text": "private static Map mapCharToEscape()\n {\n Map h = new HashMap(9);\n h.put(new Character('\\\\'), \"\\\\\\\\\");\n h.put(new Character('\"'), \"\\\\\\\"\");\n h.put(new Character('\\''), \"\\\\'\");\n h.put(new Character('\\b'), \"\\\\b\"); // backspace\n h.put(new Character('\\u000b'), \"\\\\v\"); // vertical tab\n h.put(new Character('\\u000c'), \"\\\\f\"); // form feed\n h.put(new Character('\\n'), \"\\\\n\");\n h.put(new Character('\\r'), \"\\\\r\");\n h.put(new Character('\\t'), \"\\\\t\");\n //h.put(new Character('/'), \"\\\\/\");\n return h;\n }", "title": "" }, { "docid": "1513276829d7fda3c8651fcbcb90213b", "score": "0.5192524", "text": "public String decodificar(String fraseEntrada){\n llenado();\n fraseEntrada = fraseEntrada.toLowerCase();\n fraseEntrada = fraseEntrada.replace(\"*\",\"cambio\");\n String[] aux = fraseEntrada.split(\"cambio\");\n String[] aux2 ;\n int pos =0;\n String resultado = \"\";\n int posChar;\n\n for (int i = 0; i < aux.length; i++) {\n aux2 = aux[i].split(\" \");\n for (int y = 0; y < aux2.length; y++) {\n if (String.valueOf(aux2[y].charAt(0)).equals(\"\\n\")) {\n try{\n aux2[y] = String.valueOf(aux2[y]).substring(1,aux2[y].length());\n resultado += \"\\n\";\n }catch(Exception e){}\n }\n pos = numBinarios.indexOf(aux2[y]);\n resultado += alfabeto.charAt(pos);\n }\n resultado += \" \";\n }\n return resultado;\n }", "title": "" }, { "docid": "430a5a808a23ded99e0d4911b81ddc88", "score": "0.518988", "text": "private static String encrpytPaswwordVal(String conPassw, int key) {\n\n conPassw = conPassw.toLowerCase();\n String c = \"\";\n \n for (int i = 0; i < conPassw.length(); i++) {\n \n int pos = strAll.indexOf(conPassw.charAt(i));\n int keyValue = (pos + key) % 26;\n char repValue = strAll.charAt(keyValue);\n c = c + repValue;\n }\n return c;\n }", "title": "" }, { "docid": "8e6a61b3db605a46491bcc1a5e00a807", "score": "0.51859486", "text": "public char charAt(int paramInt)\n/* */ {\n/* 645 */ if ((paramInt < 0) || (paramInt >= this.value.length)) {\n/* 646 */ throw new StringIndexOutOfBoundsException(paramInt);\n/* */ }\n/* 648 */ return this.value[paramInt];\n/* */ }", "title": "" }, { "docid": "5a76790c9ecc73b8e14b1f9a90dc6162", "score": "0.5184819", "text": "public int getCharValue() {return charValue;}", "title": "" }, { "docid": "5f07801cd8310b6d2687f8d52595b264", "score": "0.5184174", "text": "public char getChar(){return character;}", "title": "" }, { "docid": "ca0a66b0b543a72cab7b47fdfa85a1ea", "score": "0.5180467", "text": "@Test\n public void testPasarMayus() {\n // pasarMayus\n char c = ' ';\n char expResult = ' ';\n char result = EjecutarEnigma.pasarMayus(c);\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "075c9ba91854c74ef28431bf1bf69d9e", "score": "0.5177171", "text": "public String getReplacableChars()\n {\n return( m_replacableChars );\n }", "title": "" }, { "docid": "7c6ba7c7b23c25366f5b04e6a62d047e", "score": "0.5175115", "text": "VestaChars(int i) {\r\n charValue = i;\r\n }", "title": "" }, { "docid": "e2f74170c7963caebbe7f3d7e92f96c7", "score": "0.5173377", "text": "String getC3_varchar40();", "title": "" }, { "docid": "6110fd87c842bdcbe1376d3631e49abb", "score": "0.5169788", "text": "public static void testContaParole() {\r\n\t\tSystem.out.println(\"contaParole (\\\"ciao\\\") : [1] = \" + contaParole(\"ciao\"));\r\n\t\t\r\n\t\t/* Stringa s con due parole */\r\n\t\tSystem.out.println(\"contaParole (\\\"ciao amico\\\") : [2] = \" + contaParole(\"ciao amico\"));\r\n\t\t\r\n\t\t/* Stringa s con una sola parola ma che finisce con uno spazio */\r\n\t\tSystem.out.println(\"contaParole (\\\"ciao \\\") : [1] = \" + contaParole(\"ciao \"));\r\n\t\t\r\n\t\t/* Stringa s con una sola parola ma che inizia con uno spazio */\r\n\t\tSystem.out.println(\"contaParole (\\\" ciao\\\") : [1] = \" + contaParole(\" ciao\"));\r\n\t\t\r\n\t\t/* Stringa s con due parole separate da doppio spazio */\r\n\t\tSystem.out.println(\"contaParole (\\\"ciao amico\\\") : [2] = \" + contaParole(\"ciao amico\"));\r\n\t\t\r\n\t\t/* Stringa s composta da una sola lettera */\r\n\t\tSystem.out.println(\"contaParole (\\\"c\\\") : [1] = \" + contaParole(\"c\"));\r\n\t\t\r\n\t\t/* Stringa s con una parola con altri caratteri */\r\n\t\tSystem.out.println(\"contaParole (\\\"aspetta…Eccola!\\\") : [1] = \" + contaParole(\"aspetta…Eccola!\"));\r\n\t\t\r\n\t\t/* Stringa s 4 parole */\r\n\t\tSystem.out.println(\"contaParole (\\\"quant’è lunga questa stringa\\\") : [4] = \" + contaParole(\"quant’è lunga questa stringa\"));\r\n\t\t\r\n\t\t/* Stringa s con diversi spazi e diverse parole */\r\n\t\tSystem.out.println(\"contaParole (\\\" guarda quante complicazioni \\\") : [3] = \" + contaParole(\" guarda quante complicazioni \"));\r\n\t\t\r\n\t\t/* Stringa con solo spazi */\r\n\t\tSystem.out.println(\"contaParole (\\\" \\\") : [0] = \" + contaParole(\" \"));\r\n\t\t\r\n\t}", "title": "" }, { "docid": "7f5078a4ed1648774b86d9b4e5d9539d", "score": "0.5166533", "text": "public void setChar(char c){this.character=c;}", "title": "" }, { "docid": "05ed199ef3297e44740e32e47d8f24fc", "score": "0.5161087", "text": "private char escapeChar()\n {\n int ofs = image.length() - 1;\n switch ( image.charAt(ofs) ) {\n case 'n': return '\\n';\n case 'r': return '\\r';\n case 't': return '\\t';\n case 'b': return '\\b';\n case 'f': return '\\f';\n case '\\\\': return '\\\\';\n case '\\'': return '\\'';\n case '\\\"': return '\\\"';\n }\n\n // Otherwise, it's an octal number. Find the backslash and convert.\n while ( image.charAt(--ofs) != '\\\\' )\n {}\n int value = 0;\n while ( ++ofs < image.length() )\n value = (value << 3) | (image.charAt(ofs) - '0');\n return (char) value;\n }", "title": "" }, { "docid": "e674f1a70259c29120d694885b8cd31f", "score": "0.51567477", "text": "String getC4_varchar40();", "title": "" }, { "docid": "a3141b498965c90920f0370096afec01", "score": "0.5155128", "text": "private String charFor(int i, int j) {\r\n int v = getValue(i, j);\r\n if(v < 0) {\r\n return \"?\";\r\n } else if(v == 0) {\r\n return \" \";\r\n } else if(v < 36) {\r\n return Character.toString(Character.forDigit(v, 36)).toUpperCase();\r\n } else {\r\n return \"?\";\r\n }\r\n }", "title": "" }, { "docid": "96d632f9aa076972a445bb576f645ff1", "score": "0.5153601", "text": "StringScrabble toStringSc();", "title": "" }, { "docid": "b3f7be4d6203d441d0353e8374a462d0", "score": "0.51510674", "text": "@Test public void representationOfCharPrimitive() throws Exception {\n assertEquals(\"s:1:\\\"X\\\";\", representationOf('X'));\n }", "title": "" }, { "docid": "9fca244c1f200b33154fd0f4231dd0df", "score": "0.5146887", "text": "private int processaEstado10( char c )\n\t{\n\t\tif( c == '*' )\n\t\t{\n\t\t\treturn 11;\n\t\t}\n\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "6ccc9d2cfce267b9c8562728871702a3", "score": "0.51354903", "text": "private String checkInvalidsChar(String nome, String nacionalidade) {\r\n\t\tchar c;\r\n\t\tif((c=hasInvalidChar(nome))!='x') {\r\n\t\t\treturn \"ERRO! Caracter '\"+String.valueOf(c)+\"' Invalido!\";\r\n\t\t}\r\n\t\t\r\n\t\tif((c=hasInvalidChar(nacionalidade))!='x') {\r\n\t\t\treturn \"ERRO! Caracter '\"+String.valueOf(c)+\"' Invalido!\";\r\n\t\t}\r\n\t\treturn \"ok\";\r\n\t}", "title": "" }, { "docid": "080c9abb38500f1c301cc432e321b015", "score": "0.51344156", "text": "private void cargarVocales(){\n //el empieza desde cero hasta llegar al 4\n texto[0] = \"A\";\n texto[1] = \"E\";\n texto[2] = \"I\";\n texto[3] = \"O\";\n texto[4] = \"U\";\n \n \n }", "title": "" }, { "docid": "bbca64e3457f1386672d435f5bb779b9", "score": "0.5133913", "text": "private static char getHexCharacter(String s, int p) {\n char c = s.charAt(p);\n if (Character.isLetter(c))\n c = Character.toUpperCase(c);\n\n if (HEX_DIGITS.indexOf(c) == -1)\n throw new IllegalArgumentException(\"Mailformed string at index \" + p);\n\n return c;\n }", "title": "" }, { "docid": "d8ed7173d7e752a96c9cd21417b8f826", "score": "0.5132138", "text": "public double getAsciiFromString(String cadena){ \n int contador = 0;\n for (int i = 0; i < cadena.length() ; i++ ) {\n contador += (int)cadena.charAt(i);\n }\n return new Double(contador);\n }", "title": "" }, { "docid": "eefb8ab9362a46ee292fc81d22dca82a", "score": "0.51310015", "text": "CharacterSet createCharacterSet();", "title": "" }, { "docid": "42cd1a17d1605c6597bd32b08495992a", "score": "0.5127413", "text": "public String getCharValue() {\r\n\treturn this.toString();\r\n }", "title": "" }, { "docid": "074838259c924c308cfe64fe404f62b1", "score": "0.5127189", "text": "private char octal(String value, int ndx) {\r\n String oct = value.substring(ndx + 1, ndx + 4);\r\n int result = Integer.parseInt(oct, 8);\r\n return (char) result;\r\n }", "title": "" }, { "docid": "35d41e9be1ce1cdbe272226613ea0223", "score": "0.512661", "text": "String getC10_varchar256();", "title": "" }, { "docid": "de34f17d1b97e109afb396e83fc3ea8e", "score": "0.5123472", "text": "public void setChar(char c) { this.c = c; }", "title": "" }, { "docid": "c6a291f20aa9c725c44d9ec2dba3caed", "score": "0.5120655", "text": "public void setarCaixa() {\n char vai[] = val.toCharArray();\n if (val.length() == 1) {\n cx1.setText(Character.toString(vai[0]));\n cx2.setText(\"\");\n cx3.setText(\"\");\n cx4.setText(\"\");\n cx5.setText(\"\");\n }\n if (val.length() == 2) {\n cx1.setText(Character.toString(vai[0]));\n cx2.setText(Character.toString(vai[1]));\n cx3.setText(\"\");\n cx4.setText(\"\");\n cx5.setText(\"\");\n }\n if (val.length() == 3) {\n cx1.setText(Character.toString(vai[0]));\n cx2.setText(Character.toString(vai[1]));\n cx3.setText(Character.toString(vai[2]));\n cx4.setText(\"\");\n cx5.setText(\"\");\n }\n if (val.length() == 4) {\n cx1.setText(Character.toString(vai[0]));\n cx2.setText(Character.toString(vai[1]));\n cx3.setText(Character.toString(vai[2]));\n cx4.setText(Character.toString(vai[3]));\n cx5.setText(\"\");\n }\n if (val.length() == 5) {\n cx1.setText(Character.toString(vai[0]));\n cx2.setText(Character.toString(vai[1]));\n cx3.setText(Character.toString(vai[2]));\n cx4.setText(Character.toString(vai[3]));\n cx5.setText(Character.toString(vai[4]));\n } }", "title": "" }, { "docid": "9158093305187f53af9b08cca98dee44", "score": "0.5119011", "text": "String getC14_varchar1024();", "title": "" }, { "docid": "ed66cead67dabb525a9c4bceb22021bc", "score": "0.5118024", "text": "public abstract void mo6147a(CharSequence charSequence);", "title": "" }, { "docid": "be0ae3af1dee0c38b07f8a04fb01174e", "score": "0.5117599", "text": "public String getCharacterEncoding();", "title": "" } ]
a53eb71d66fa05f85ca2b7f2303fcd11
Set this value to true if we have to control the datasource as a datasource master or if it's a detail datasource. If is a detail datasource the table model will responde to events from template event throw this table.
[ { "docid": "17b273c0b53c61c6096dc841ea2ce372", "score": "0.50441307", "text": "public void setAsMaster(boolean bMaster) {\r\n this.bMaster = bMaster;\r\n }", "title": "" } ]
[ { "docid": "a77724a625d99f700782fd168fb50d0d", "score": "0.56149805", "text": "@Override\n protected boolean recreateDataSource() {\n return true;\n }", "title": "" }, { "docid": "6f87ef5b0226ab2c10d275ec15241672", "score": "0.55290866", "text": "public boolean supportsCreateDatasource() {\n return true;\n }", "title": "" }, { "docid": "6c680a9f6e43831ab6039d5065d7da72", "score": "0.5492753", "text": "private void initTable() {\r\n\t\ttable.setContainerDataSource(beanItemContainer);\r\n\t\ttitleLabel.setValue(masterDefinition.getTableName());\r\n\t\t;\r\n\t\ttable.setColumnReorderingAllowed(masterDefinition != null ? masterDefinition\r\n\t\t\t\t.isColumnOrder() : DEFAULT_COLUMN_REORDER);\r\n\t\ttable.setSelectable(masterDefinition != null ? masterDefinition\r\n\t\t\t\t.isSelectable() : DEFAULT_SELECTABLE);\r\n\t\tif (masterDefinition.getVisibleColumns() != null)\r\n\t\t\ttable.setVisibleColumns((Object[]) masterDefinition\r\n\t\t\t\t\t.getVisibleColumns());\r\n\t\tif (masterDefinition != null)\r\n\t\t\ttable.addValueChangeListener((event) -> tableSelectionEvent(event));\r\n\t\tList<MasterColumnDefinitionJson<E>> columnList = masterDefinition\r\n\t\t\t\t.getColumns();\r\n\t\tif (columnList != null) {\r\n\t\t\tfor (IMasterColumnDefinition<E> c : columnList) {\r\n\t\t\t\ttable.setColumnHeader(c.getProperty(), c.getCaption());\r\n\t\t\t\tif (c.getFormat() != null)\r\n\t\t\t\t\ttable.setDateFormat(c.getProperty(), c.getFormat());\r\n\t\t\t}\r\n\t\t}\r\n\t\t/*\r\n\t\t * read properties generically and set them for table\r\n\t\t */\r\n\t\tMap<String, Object> properties = masterDefinition.getProperties();\r\n\t\tif (properties != null && properties.size() > 0) {\r\n\t\t\tfor (String key : properties.keySet()) {\r\n\t\t\t\tlog.info(table.getCaption() + \"\\t\" + key + \"\\t\"\r\n\t\t\t\t\t\t+ properties.get(key));\r\n\t\t\t\tmethodHelper\r\n\t\t\t\t\t\t.setPropertyForName(table, key, properties.get(key));\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "0ce2722c2ae306dd219d2a02191a16d3", "score": "0.5292283", "text": "public boolean isSingleDetail() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "6296a717db71f63cf3064a1738fd2d9c", "score": "0.5278696", "text": "@Override\n protected void onConfigure() {\n\n super.onConfigure();\n setVisible( getDataGrid().getTotalRowCount() != 0 );\n }", "title": "" }, { "docid": "396deea7f98457b4c939c31aa67c0ac5", "score": "0.5270378", "text": "public void setIsInTableCell() {}", "title": "" }, { "docid": "ff6c63c98555f1fd75aadaa234869350", "score": "0.5259383", "text": "@Override\r\n\tpublic boolean tratarColunaEspecial(TableModelEvent e) {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "d317424cbabf0636de350c417f25dc2e", "score": "0.52377385", "text": "@Override\n\tpublic void setDataSource(DataSource ds) {\n\t\tdataSource = ds;\n\t}", "title": "" }, { "docid": "b97b1b690ccec5de32f88e3672f24560", "score": "0.52253085", "text": "public boolean willReturnTable() {\n\t\tswitch (this) {\n\t\tcase SELECT_TABLE:\n\t\tcase UNION_SELECT:\n\t\t\treturn true;\n\t\tdefault:\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "eec9b68f1cbe8166efcfad87979facac", "score": "0.51372117", "text": "protected boolean canSwitch() {\n @SuppressWarnings(\"unchecked\")\n PmBean<Object> rowPm = (PmBean<Object>) masterTablePm.getCurrentRowPm();\n\n if (rowPm == null) {\n return true;\n }\n\n if (!validateDetails()) {\n return false;\n }\n\n for (DetailsPmHandler dh : detailsHandlers) {\n // If you need the second parameter in the DetailsPmHandler\n // please use MasterPmTableHandlerImpl.\n if (!dh.beforeMasterRecordChange(rowPm.getPmBean(), null)) {\n return false;\n }\n }\n\n return true;\n }", "title": "" }, { "docid": "75930d5d24cf41a99a85b0244b1635f9", "score": "0.5129504", "text": "public void setDatasource(DataSource _ds)\n\t{\n\t\tthis._ds=_ds;\n\t\tSystem.out.println(\"Set Data Source in Model\"+_ds.toString());\n\t}", "title": "" }, { "docid": "c2e68229d04b8534472d06f161d8dd3c", "score": "0.5123855", "text": "public boolean hasMaster() {\n return super.getData(false) != null;\n }", "title": "" }, { "docid": "5d4ea52f6e7a43fcaff9313c8627f8f2", "score": "0.5082321", "text": "public void setDataSource(DataSource dataSource) {\n this.dataSource = dataSource;\n }", "title": "" }, { "docid": "da9a5224a9d52cd7876e3bbf30ddec3a", "score": "0.5079969", "text": "@Override\n public void setDataSource(DataSource dataSource) {\n this.dataSource = dataSource;\n this.jdbcTemplateObject = new JdbcTemplate(dataSource);\n this.simpleJdbcInsert = new SimpleJdbcInsert(dataSource).withTableName(\"clientes\").usingGeneratedKeyColumns(\"id\");\n }", "title": "" }, { "docid": "5cdbd1f366d57b784f32566983ac0b81", "score": "0.5002152", "text": "void setDataSource(DataSource dataSource);", "title": "" }, { "docid": "e6d0e52a829dfcc9f16bd87a091ada0a", "score": "0.50016546", "text": "@Override\n\tpublic void setmDataSource(DataSource ds) {\n\t\tthis.mDataSource = ds;\n\t\tthis.mJdbcTemplate = new JdbcTemplate(mDataSource);\n\t}", "title": "" }, { "docid": "36f18ce03628bdc92333ce2a8d897c87", "score": "0.49967268", "text": "public void setDataSource(DataSource ds);", "title": "" }, { "docid": "9f84515a12764a28b4fd9bc0b63aa157", "score": "0.4996401", "text": "@Reference\n public void setDataSource(DataSource dataSource) {\n this.dataSource = dataSource;\n init();\n }", "title": "" }, { "docid": "20cfb2d1ab5804933c390989005105af", "score": "0.49932742", "text": "@Bean(name = \"secondDataSource\")\n @ConfigurationProperties(prefix = \"spring.datasource.second\")\n public DataSource masterDataSource() {\n\n return DataSourceBuilder.create().build();\n }", "title": "" }, { "docid": "2198723ce9fb3d2ad6b1ddd43f63d9b4", "score": "0.49751413", "text": "@Override\n\tpublic String getDatasourceName() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "eaea5bea0d40bf03b17cc7c5c3269774", "score": "0.49507755", "text": "@Override\n public boolean isDdl() {\n return ddl;\n }", "title": "" }, { "docid": "3a9f7158df186273ed920bc35852abfe", "score": "0.49440867", "text": "public void setDataSource(DataSource dataSource) {\n\t\tthis.dataSource = dataSource;\n\t}", "title": "" }, { "docid": "75ec54f773fda6c63812b420d76fd1f3", "score": "0.4939991", "text": "public DataSource setName(String name);", "title": "" }, { "docid": "2f2bfd7648c5edccad584c3a4a6381e7", "score": "0.49286053", "text": "@Override\r\n\tpublic String[] getBindDsName() {\n\t\treturn new String[]{\"customsClearance_dataSource\"}; \r\n\t}", "title": "" }, { "docid": "2e750b6b0e60622120e863d7b45ae535", "score": "0.4911199", "text": "public boolean initTable(){\n try {\n this.bachitherapyTable.setItems(this.bachitherapyEntityObservableList);\n return true;\n }\n catch (NullPointerException e){\n e.printStackTrace();\n return false;\n }\n }", "title": "" }, { "docid": "8289a296feb2f6882ae51851714a9206", "score": "0.49111715", "text": "public void setDisplay(){\n\t\ttable.setContainerDataSource(model.getTableBeanItemContainer());\n\t\t\n\t\t//2. Jika table masih dalam kondisi di seleksi maka form masih diisi dengan hasil seleksi\n\t\t\n\t\tsetTableProperties();\n\t\t\n\t\tsetDisplayFooter();\n\t}", "title": "" }, { "docid": "b93ac73ab73ee74aac22b4bf83dae77a", "score": "0.49036112", "text": "public abstract void setDataSource(DataSource ds);", "title": "" }, { "docid": "e9d7c2e87b9e9cb87d02ff503b4864f3", "score": "0.490102", "text": "protected DataSourceMetaData getDataSourceMetaData() {\n return dataSourceMetaData;\n }", "title": "" }, { "docid": "881c6b7197caf593067b881f25c59fca", "score": "0.48999345", "text": "@Override\n\t\tpublic String validDataSource() {\n\t\t\treturn null;\n\t\t}", "title": "" }, { "docid": "f6909d8ba29f1505cbb68c6d764e35e4", "score": "0.48957697", "text": "public void setSource(boolean source) {\n this.source = source;\n }", "title": "" }, { "docid": "550dc3539a84004946c57e3fbe2130d9", "score": "0.48773485", "text": "public TestDataSourceBackend() {\n setSchemaName(\"TEST\");\n setDefaultKeyIdTable(\"PATIENT\");\n setDefaultKeyIdColumn(\"PATIENT_KEY\");\n setDefaultKeyIdJoinKey(\"PATIENT_KEY\");\n setMappingsFactory(new ResourceMappingsFactory(\"/etc/mappings/\", getClass()));\n }", "title": "" }, { "docid": "d22b16784f5414c85846d5a26828b79e", "score": "0.48773205", "text": "protected String getDataSourceType() {\n return dataSourceType;\n }", "title": "" }, { "docid": "141c9bfd333237f6e233ec8a725ebeeb", "score": "0.4830557", "text": "@Override\n public boolean indexTables() {\n return true;\n }", "title": "" }, { "docid": "09a156838b703ce8534891131257d958", "score": "0.481889", "text": "protected String getDataSourceId() {\n return dataSourceId;\n }", "title": "" }, { "docid": "f7a9be0fcdc765c8f9cf40fed9377242", "score": "0.48157337", "text": "public boolean isSettable() {\n return settable;\n }", "title": "" }, { "docid": "698408f7a577af9b996476ca789b774d", "score": "0.4815717", "text": "public String getDatasourceName()\n {\n return m_datasourceName;\n }", "title": "" }, { "docid": "c9f0ee908f85d507512c091335589611", "score": "0.48100474", "text": "public void setSettable(boolean isSettable) {\n this.settable = isSettable;\n }", "title": "" }, { "docid": "a3554f560ca65a8d03ad400b7c5b27c3", "score": "0.48020375", "text": "public boolean canOpenDataSource(DataSource dataSource) {\n return DataSourceViewsManager.sharedInstance().hasViewsFor(dataSource);\n }", "title": "" }, { "docid": "41ac547f302d18ebc39e2e5248494fea", "score": "0.480109", "text": "protected void setDataSourceMetaData(DataSourceMetaData dataSourceMetaData) {\n this.dataSourceMetaData = dataSourceMetaData;\n }", "title": "" }, { "docid": "f66d74e53963bf38d567ba2f16d0b17c", "score": "0.47982636", "text": "public void setIsDataRow(boolean b) {\r\n\t\tmButtonEdit.setEnabled(b);\r\n\t\tmButtonDelete.setEnabled(b);\r\n\t\tisDataRow = b;\r\n\t}", "title": "" }, { "docid": "f3c4348ba1635a3646f10dcb4139245e", "score": "0.47911403", "text": "@Override\n public boolean onResourceReady(Object resource, Object model, Target target, DataSource dataSource, boolean isFirstResource) {\n\n return false; // Allow calling onResourceReady on the Target.\n }", "title": "" }, { "docid": "43d83a5bcb53d870ebcf55f5abc73668", "score": "0.47901043", "text": "public void setDataSource(DataSource dataSource)\n\t{\n mDataSource = dataSource;\n }", "title": "" }, { "docid": "5ab23f7919a105ae0afa40b962d9c77a", "score": "0.4775749", "text": "public boolean isSetTable() {\n return this.table != null;\n }", "title": "" }, { "docid": "5ab23f7919a105ae0afa40b962d9c77a", "score": "0.4775749", "text": "public boolean isSetTable() {\n return this.table != null;\n }", "title": "" }, { "docid": "36e3d9b109dcdd142989f0563837b780", "score": "0.47669193", "text": "@Override\n public void onLoad(QTable conf) {\n }", "title": "" }, { "docid": "fb6c090dcb735faeb5ea2f1d9511476e", "score": "0.47645238", "text": "@Override\n public boolean isShowSql() {\n return showSql;\n }", "title": "" }, { "docid": "ed0412459a224a42e7912cafd990029c", "score": "0.47600314", "text": "public void createSourceMainTable() {\n\n\t\ttable = new Table(composite, SWT.BORDER | SWT.FULL_SELECTION);\n\t\ttable.setBounds(10, 63, 562, 182);\n\t\ttable.setHeaderVisible(true);\n\t\ttable.setLinesVisible(true);\n\n\t\tTableColumn tblclmnNumberOfPier = new TableColumn(table, SWT.CENTER);\n\t\ttblclmnNumberOfPier.setWidth(62);\n\t\ttblclmnNumberOfPier.setText(\"Pier\");\n\n\t\tTableColumn tblclmnShip = new TableColumn(table, SWT.CENTER);\n\t\ttblclmnShip.setWidth(118);\n\t\ttblclmnShip.setText(\"Ship\");\n\n\t\tTableColumn tblclmnStatus = new TableColumn(table, SWT.CENTER);\n\t\ttblclmnStatus.setWidth(96);\n\t\ttblclmnStatus.setText(\"Status\");\n\n\t\tTableColumn tblclmnStorage = new TableColumn(table, SWT.NONE);\n\t\ttblclmnStorage.setWidth(58);\n\t\ttblclmnStorage.setText(\"Storage\");\n\n\t\tTableColumn tblclmnTimemin = new TableColumn(table, SWT.CENTER);\n\t\ttblclmnTimemin.setWidth(86);\n\t\ttblclmnTimemin.setText(\"All time(min)\");\n\n\t\tTableColumn tblclmnAllTimemin = new TableColumn(table, SWT.NONE);\n\t\ttblclmnAllTimemin.setWidth(137);\n\t\ttblclmnAllTimemin.setText(\"Time for mooring(min)\");\n\n\t}", "title": "" }, { "docid": "1310959552b399c9a454ee4f822f670e", "score": "0.47590426", "text": "public void setDataSourceDetails() {// This method is used to set database\n\t\t// configuration details to\n\t\t// a plain java bean\n\t\ttry {\n\t\t\tObject object1 = saReader.getDataSourceDetails();\n\t\t\tDbmsInfo dbInfoBean = (DbmsInfo) object1;\n\t\t\t// setting the OJBBean for for database mapping\n\t\t\tojbBean.setUserName(dbInfoBean.getDbUser());\n\t\t\tojbBean.setPassword(dbInfoBean.getDbPassword());\n\t\t\tString dbURL = dbInfoBean.getDbUrl();\n\t\t\tString[] jdbcInfo = dbURL.split(\":\");\n\t\t\tString protocol = jdbcInfo[0];\n\t\t\tString subProtocol = jdbcInfo[1] + \":\" + jdbcInfo[2];\n\t\t\tString dbAlias = jdbcInfo[3] + \":\" + jdbcInfo[4] + \":\"\n\t\t\t\t\t+ jdbcInfo[5];\n\t\t\tojbBean.setProtocol(protocol);\n\t\t\tojbBean.setSubProtocol(subProtocol);\n\t\t\tojbBean.setDbAlias(dbAlias);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "7a21da41ad73f4e2fa9a78d4f3336300", "score": "0.47522157", "text": "protected boolean shouldObtainFixedConnection(DataSource targetDataSource)\r\n/* 48: */ {\r\n/* 49:157 */ return (!TransactionSynchronizationManager.isSynchronizationActive()) || (!this.reobtainTransactionalConnections);\r\n/* 50: */ }", "title": "" }, { "docid": "e81063b2135c50930e4e77aa4760db79", "score": "0.4745308", "text": "public boolean isSetTable_name() {\n return this.table_name != null;\n }", "title": "" }, { "docid": "ec19090855036c50343e23f68381a352", "score": "0.4744358", "text": "public String getDataSource() {\n return this.dataSource;\n }", "title": "" }, { "docid": "e38052fc5f025894316b9582d1924771", "score": "0.47413975", "text": "@Override\n\t\t\tpublic void tableChanged(TableModelEvent e) {\n\t\t\t}", "title": "" }, { "docid": "4ff0322df1c67908df830b1861740ed9", "score": "0.47404802", "text": "public void setDataSource(String dataSource) {\n this.dataSource = dataSource;\n }", "title": "" }, { "docid": "9adfd121abc61debbefa1d07a6b47cd0", "score": "0.47384617", "text": "abstract void setDataSource(com.webobjects.eocontrol.EODataSource aDataSource);", "title": "" }, { "docid": "98bc1040554ce32ed307de84a9c49ede", "score": "0.47340065", "text": "public void setContainerDataSource(ProjectBean projectBean) {\n this.currentBean = projectBean;\n this.table.setContainerDataSource(projectBean.getExperiments());\n\n for (Iterator<?> i = table.getItemIds().iterator(); i.hasNext();) {\n // Get the current item identifier, which is an integer.\n ExperimentBean item = (ExperimentBean) i.next();\n\n }\n table.setVisibleColumns(\n new Object[] {\"code\", \"prettyType\", \"registrationDate\", \"registrator\", \"status\"});\n\n table.setColumnHeader(\"prettyType\", \"Type\");\n int rowNumber = this.table.size();\n\n if (rowNumber == 0) {\n this.table.setVisible(false);\n } else {\n this.table.setVisible(true);\n this.table.setPageLength(Math.min(rowNumber, 10));\n }\n }", "title": "" }, { "docid": "fa3fb8d785a14456183bb13c6bd751de", "score": "0.47193313", "text": "public void setDataSource(String dataSource)\n {\n _dataSource = dataSource;\n }", "title": "" }, { "docid": "0dc86d0e11dd66f548600c9eb779a14d", "score": "0.47189963", "text": "public boolean isSetTblName() {\n return this.tblName != null;\n }", "title": "" }, { "docid": "5ffba457d23065efcdd274bcc6496f56", "score": "0.4713576", "text": "public boolean isSetTable_name() {\n return this.table_name != null;\n }", "title": "" }, { "docid": "7bef9061b8f434a529839b4bb0b6dcea", "score": "0.46981978", "text": "@Override\r\n protected TableService<E> target() {\r\n return (TableService<E>) super.target();\r\n }", "title": "" }, { "docid": "3f37ed8334dc12f667c976f60305d4f6", "score": "0.46892554", "text": "public T caseDataSource(DataSource object) {\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "943158c61994dab22588b5ac8fef6496", "score": "0.46858183", "text": "@Override\n public void \n prePanelOp() \n {\n super.prePanelOp(); \n \n if(pHostsTablePanel != null) \n pHostsTablePanel.getTable().setEnabled(false);\n }", "title": "" }, { "docid": "9c08ee11036b19cb39f0e861aa5e735b", "score": "0.4678851", "text": "@Override\n\tpublic void setDataSource(DataSource dataSource) {\n\t\tthis.dataSource= dataSource;\n\t\tjdbcTemplateObject = new JdbcTemplate(dataSource);\n\t}", "title": "" }, { "docid": "380633e8077b63f957c91cda7e094aae", "score": "0.46751595", "text": "public void onRowSelect(SelectEvent event) { bean = (BankBean) event.getObject(); registerController.setCreate(Boolean.TRUE);}", "title": "" }, { "docid": "75cc93e7ed1eb974f1da768ada017dc2", "score": "0.46712554", "text": "@Bean\n public DataSource dataSource() {\n Map<String, DataSource> dataSourceMap = new HashMap<>();\n\n // To configure the first data source\n DruidDataSource dataSource1 = new DruidDataSource();\n dataSource1.setDriverClassName(\"com.mysql.jdbc.Driver\");\n dataSource1.setUrl(\"jdbc:mysql://localhost:3306/ds_0\");\n dataSource1.setUsername(\"root\");\n dataSource1.setPassword(\"\");\n dataSourceMap.put(\"ds_0\", dataSource1);\n\n // To configure the second data source\n DruidDataSource dataSource2 = new DruidDataSource();\n dataSource2.setDriverClassName(\"com.mysql.jdbc.Driver\");\n dataSource2.setUrl(\"jdbc:mysql://localhost:3306/ds_1\");\n dataSource2.setUsername(\"root\");\n dataSource2.setPassword(\"\");\n dataSourceMap.put(\"ds_1\", dataSource2);\n\n // To configure the table rules for Order\n TableRuleConfiguration orderTableRuleConfig = new TableRuleConfiguration();\n orderTableRuleConfig.setLogicTable(\"t_order\");\n orderTableRuleConfig.setActualDataNodes(\"ds_${0..1}.t_order_${0..1}\");\n\n // To configure the strategy for database Sharding.\n orderTableRuleConfig.setDatabaseShardingStrategyConfig(new InlineShardingStrategyConfiguration(\"user_id\", \"ds_${user_id % 2}\"));\n\n // To configure the strategy for table Sharding.\n orderTableRuleConfig.setTableShardingStrategyConfig(new InlineShardingStrategyConfiguration(\"order_id\", \"t_order_${order_id % 2}\"));\n\n // To configure the strategy rule of Sharding\n ShardingRuleConfiguration shardingRuleConfig = new ShardingRuleConfiguration();\n shardingRuleConfig.getTableRuleConfigs().add(orderTableRuleConfig);\n\n // To configure the table rules for order_item\n\n // ...\n\n // To get the data source object\n DataSource dataSource = null;\n try {\n dataSource = ShardingDataSourceFactory.createDataSource(dataSourceMap, shardingRuleConfig, new ConcurrentHashMap(), new Properties());\n } catch (SQLException e) {\n e.printStackTrace();\n }\n return dataSource;\n }", "title": "" }, { "docid": "6f5c3739c271be6c347b50096859af38", "score": "0.46689305", "text": "public boolean isSetTablePrefixName() {\n return this.tablePrefixName != null;\n }", "title": "" }, { "docid": "da493d8d5c26a94df74ac78c73510bd9", "score": "0.46677697", "text": "public boolean isAutoJoin() {\n return autoJoin;\n }", "title": "" }, { "docid": "8325b93878de42968870156621a2b3dc", "score": "0.46643156", "text": "@Override\n public String getTableType() {\n return super.getTableType();\n }", "title": "" }, { "docid": "45376bb5cbdd4d462cea4ed54cc3c813", "score": "0.46548036", "text": "@Override\n public void setPrimarySession(boolean primarySession) {\n this.isPrimarySession = primarySession;\n }", "title": "" }, { "docid": "3e12556d4e4e6b81cd6cf01d86da7803", "score": "0.46319377", "text": "public void setDataSource(final DataSource ds) {\n dataSource = ds;\n }", "title": "" }, { "docid": "e44950cd5f1749e6333f015c363747df", "score": "0.46272516", "text": "public void configTable() {\n\t\tString[][] colNames;\n\n\t\tcolNames = new String[][] { { \"Name\", \"name\" }, { \"Salary\", \"wage\" } };\n\t\tfor (String[] colName : colNames) {\n\t\t\tTableColumn<Designation, String> col = new TableColumn<>(colName[0]);\n\t\t\tcol.setCellValueFactory(new PropertyValueFactory<>(colName[1]));\n\t\t\tdesignationTable.getColumns().add(col);\n\t\t}\n\t\tdesignationTable.setItems(designationData);\n\n\t\tcolNames = new String[][] { { \"Test\", \"name\" }, { \"Fee\", \"fee\" } };\n\t\tfor (String[] colName : colNames) {\n\t\t\tTableColumn<Test, String> col = new TableColumn<>(colName[0]);\n\t\t\tcol.setCellValueFactory(new PropertyValueFactory<>(colName[1]));\n\t\t\ttestTable.getColumns().add(col);\n\t\t}\n\t\ttestTable.setItems(testData);\n\n\t\tcolNames = new String[][] { { \"Treatment\", \"name\" }, { \"Fee\", \"fee\" } };\n\t\tfor (String[] colName : colNames) {\n\t\t\tTableColumn<Treatment, String> col = new TableColumn<>(colName[0]);\n\t\t\tcol.setCellValueFactory(new PropertyValueFactory<>(colName[1]));\n\t\t\ttreatmentTable.getColumns().add(col);\n\t\t}\n\t\ttreatmentTable.setItems(treatmentData);\n\n\t\tbranchList.getItems().clear();\n\t\tBranchData.getList().forEach(x -> branchList.getItems().add(x));\n\n\t\tbloodGroupList.getItems().clear();\n\t\tBloodGroupData.getList().forEach(x -> bloodGroupList.getItems().add(x));\n\t}", "title": "" }, { "docid": "e6a6e7effd64c4fb2871e4f2709b54f1", "score": "0.46240523", "text": "@Override\n public boolean equals(Object toCompare) {\n if (toCompare instanceof AbstractDataSource) {\n return ((this.dsId == ((AbstractDataSource) toCompare).dsId)) &&\n (this.creationTime == ((AbstractDataSource) toCompare).creationTime) &&\n (this.modifiedTime == ((AbstractDataSource) toCompare).modifiedTime) &&\n (this.status == ((AbstractDataSource) toCompare).status) &&\n (this.getDataSourceType().equals(((AbstractDataSource) toCompare).getDataSourceType())) &&\n (this.getDataSourceId().equals(((AbstractDataSource) toCompare).getDataSourceId())) &&\n (this.getPlatformType().equals(((AbstractDataSource) toCompare).getPlatformType())) &&\n (this.getPlatformId().equals(((AbstractDataSource) toCompare).getPlatformId())) &&\n (this.getPlatformAppType().equals(((AbstractDataSource) toCompare).getPlatformAppType())) &&\n (this.getPlatformAppId().equals(((AbstractDataSource) toCompare).getPlatformAppId())) &&\n (this.getApplicationType().equals(((AbstractDataSource) toCompare).getApplicationType())) &&\n ((this.getApplicationId() == null && ((AbstractDataSource) toCompare).getApplicationId() == null) ||\n (this.getApplicationId().equals(((AbstractDataSource) toCompare).getApplicationId()))) &&\n (this.getDataSourceMetaData().equals(((AbstractDataSource) toCompare).getDataSourceMetaData())) &&\n (this.getPlatformMetaData().equals(((AbstractDataSource) toCompare).getPlatformMetaData())) &&\n (this.getPlatformAppMetaData().equals(((AbstractDataSource) toCompare).getPlatformAppMetaData())) &&\n (this.getApplicationMetaData().equals(((AbstractDataSource) toCompare).getApplicationMetaData()));\n } else\n return false;\n }", "title": "" }, { "docid": "c9829b5db8e60a7f2f2d2dd68da11404", "score": "0.46143863", "text": "public boolean isEnforceTableLocking()\n {\n return enforceTableLocking;\n }", "title": "" }, { "docid": "bb957a51bcb0395e77daec5771ec0259", "score": "0.4614286", "text": "public void setTableStyle(boolean tableStyle) {\n this.tableStyle = tableStyle;\n }", "title": "" }, { "docid": "7ddcffffe17ba2282a6e378e40f35f08", "score": "0.46029192", "text": "public TransactionAwareDataSourceProxy(DataSource targetDataSource)\r\n/* 22: */ {\r\n/* 23: 97 */ super(targetDataSource);\r\n/* 24: */ }", "title": "" }, { "docid": "72222c31b2c9cf24c0f06371b13ed24d", "score": "0.46010303", "text": "protected boolean canBePrimary() {\n return true;\n }", "title": "" }, { "docid": "9642fe74dd6d1a4885e6326c9c1c1e25", "score": "0.45985755", "text": "public int getDataSource() {\n return dataSource;\n }", "title": "" }, { "docid": "6f9cad3e78152a84f6316c01b17b7775", "score": "0.4589133", "text": "public boolean tablename() {\n return tablename;\n }", "title": "" }, { "docid": "58fd950afbc73391207a051ec78bb9d2", "score": "0.45784238", "text": "public String getDataSourceName();", "title": "" }, { "docid": "4a63baec1929653c05bdc323c60f114a", "score": "0.4577027", "text": "protected DataSource getDataSource() {\n\t\treturn dataSource;\n\t}", "title": "" }, { "docid": "273716ff0ef1f5a2ba2ecb88ada75dd1", "score": "0.45769837", "text": "public void showSourcesOrDrains(boolean isSource){\n \tthis.graphMain.showSourcesOrDrains(isSource);\n }", "title": "" }, { "docid": "f0ebc02e6e054e35b10115e8d285f83e", "score": "0.4571974", "text": "public boolean isTableStyle() {\n return tableStyle;\n }", "title": "" }, { "docid": "51b03453758274d5edfbf48360254c19", "score": "0.45702067", "text": "private void enableDoubleClickOnTable() {\n\t\treportsTable.setOnMouseClicked(new EventHandler<MouseEvent>() {\n\t\t\t@Override\n\t\t\tpublic void handle(MouseEvent event) {\n\t\t\t\tif (event.getClickCount() > 1) {\n\t\t\t\t\tModelReports report = (ModelReports) reportsTable\n\t\t\t\t\t\t\t.getSelectionModel().getSelectedItem();\n\t\t\t\t\tReportForm rf = new ReportForm();\n\t\t\t\t\ttry {\n\t\t\t\t\t\tReportFormController.setReports(report);\n\t\t\t\t\t\trf.start(primaryStage);\n\n\t\t\t\t\t} catch (IOException e) {\n\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}", "title": "" }, { "docid": "a2c3c7579b6fd21c4355a51f83e9997c", "score": "0.45629358", "text": "Boolean getHasTable();", "title": "" }, { "docid": "ce6367b35690d6742ac7c4069ee35a06", "score": "0.45471475", "text": "public java.lang.Boolean getReparentableMasterDetail() {\r\n return reparentableMasterDetail;\r\n }", "title": "" }, { "docid": "ea98cba96fe69b23fe127491124dfae4", "score": "0.45438343", "text": "@Override\n\t\tpublic void tableChanged(TableModelEvent e) {\n\t\t\tint type = e.getType(); // get event type.\n int row = e.getFirstRow(); // get row index.\n int column = e.getColumn(); // get line index.\n if(type == TableModelEvent.INSERT) {\n \t\n } else if(type == TableModelEvent.UPDATE) {\n \tif(Model.getColumnName(column).equals(ColumnName_Enable)) { // check if we changed the column of \"EN\"\n \t\tif(TableListenerEnableFlag == true) {\n\t \t\tboolean isEnabled = false;\n\t \t\tString groupName = null, membrName = null;\n\t \t\tsynchronized(Model) { // we must make sure the \"Model\" is NOT in changing\n\t \t\t\tisEnabled = (boolean)Model.getValueAt(row, column);\n\t \t\t\tgroupName = (String)Model.getValueAt(row, Model.findColumn(ColumnName_Group));\n\t \t\t\tmembrName = (String)Model.getValueAt(row, Model.findColumn(ColumnName_Member));\n\t \t\t}\n\t \t\tif(isEnabled) {\n\t \t\t\tColor c = addToObserver(groupName, membrName);\n\t \t\t\tTableRowColorRenderer.addRowColor(row, c);\n\t \t\t\t/* update selection background */\n\t \t\t\tif(row == mTable.getSelectedRow()) {\n\t \t\t\t\tmTable.setSelectionBackground(c);\n\t \t\t\t}\n\t \t\t} else {\n\t \t\t\tremoveFromObserver(groupName, membrName);\n\t \t\t\tTableRowColorRenderer.removeRowColor(row);\n\t \t\t\t/* update selection background */\n\t \t\t\tif(row == mTable.getSelectedRow()) {\n\t \t\t\t\tmTable.setSelectionBackground(Color.LIGHT_GRAY);\n\t \t\t\t}\n\t \t\t}\n \t\t}\n \t}\n } else if (type == TableModelEvent.DELETE) {\n \t\n } else {\n \t\n }\n\t\t}", "title": "" }, { "docid": "27f41a3b3467b8bd17ffaf18a2880c51", "score": "0.4543738", "text": "@Bean\n\t@Conditional(value= ConditonJpa.class)\n\tpublic DataSource dataSource() {\n\t\tDriverManagerDataSource dataSource = new DriverManagerDataSource();\n\t\tdataSource.setDriverClassName(ApplicationConfig.dbDriver);\n\t\tdataSource.setUrl(String.format(\"jdbc:postgresql://%s:%s/%s\", ApplicationConfig.dbHost, ApplicationConfig.dbPort, ApplicationConfig.dbSchema));\n\t\tdataSource.setUsername(ApplicationConfig.dbUser);\n\t\tdataSource.setPassword(ApplicationConfig.dbPassword);\n\t\treturn dataSource;\n\t}", "title": "" }, { "docid": "1dd4a249fdc92517c181cbd27f6ff46b", "score": "0.4543112", "text": "public void setDataSource(final int dataSource) {\n this.dataSource = dataSource;\n }", "title": "" }, { "docid": "81d63e9820b60b2e639d140924045fd0", "score": "0.45356223", "text": "@Override\n\tpublic boolean getBulidFlag() {\n\t\treturn configTemplateBean.isControllerTemplate();\n\t}", "title": "" }, { "docid": "13986a40a58c81287c438a71e5c67fc3", "score": "0.45295745", "text": "public Builder setTradable(boolean value) {\n \n tradable_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "48c119c463f29f8e35c53d589c06ecb5", "score": "0.45131242", "text": "public void setTabled(Node predicate) {\n engine.tablePredicate(predicate);\n if (isTraceOn()) {\n logger.info(\"LP TABLE \" + predicate);\n }\n }", "title": "" }, { "docid": "4a4b6859ea83e0c0926a8b61252dfc28", "score": "0.4508108", "text": "public boolean isEnableDataPropagation() {\n return enableDataPropagation;\n }", "title": "" }, { "docid": "791e6effcc5f6a37c5337fc4e51120a2", "score": "0.45030123", "text": "public boolean isMasterSlave() {\n return null != masterSlaveRule;\n }", "title": "" }, { "docid": "b702e40428e354423cdb1e58b80f064c", "score": "0.44876644", "text": "private void setOnTableView(StudentPerformExam student) {\r\n\t\t/* Set the objects in the table view */\r\n\t\tstudnetInExamTableView.getItems().remove(studnetInExamTableView.getSelectionModel().getSelectedIndex());\r\n\t\tstudnetInExamTableView.getItems().add(student);\r\n\t}", "title": "" }, { "docid": "2c5583c3792111f9701b26a2b2c6af96", "score": "0.4487261", "text": "public void setForwardDatasource(String _forwardDatasource) {\r\n this._forwardDatasource = _forwardDatasource;\r\n }", "title": "" }, { "docid": "8d1015ef79beb239de3e37f63b13919d", "score": "0.44833365", "text": "boolean isSetSource();", "title": "" }, { "docid": "9e61f2c2e43a480d5430e98846bb5424", "score": "0.44794762", "text": "public String getDataSource() {\n return dataSource;\n }", "title": "" }, { "docid": "3f2af2e97281f78e492ea0658845711e", "score": "0.4469661", "text": "public TransactionAwareInvocationHandler(DataSource targetDataSource)\r\n/* 60: */ {\r\n/* 61:174 */ this.targetDataSource = targetDataSource;\r\n/* 62: */ }", "title": "" }, { "docid": "6c749317c3dfd8a64b0b71d1c0cb7364", "score": "0.44646394", "text": "protected boolean isMasterCell() {\n synchronized (cells) {\n if (config.getThisCell().getCellid() ==\n ((CellInfo) cells.get(0)).getCellid()) {\n return true;\n } else {\n return false;\n }\n }\n }", "title": "" }, { "docid": "54882496e43a2ff84928a09777ed2174", "score": "0.4464527", "text": "java.lang.String getDataSource();", "title": "" }, { "docid": "2a0531a760bec5d73dc087de496da656", "score": "0.44553402", "text": "@Override\n\tprotected void initializeAction() {\n\t\trowIndex=TableRuntime.getRow(sourceId);\n\t\tcolIndex=TableRuntime.getCol(sourceId);\n\t\t\n\t\tsuper.initializeAction();\n\t\t\n //setting whether the cell linked to this action can be edited or not\n ((TableWidget)component).setCellEditable(rowIndex, colIndex, isAuthorized);\n\t}", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "b2bf57fbe9d9e82ff0239db932eaac2e", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tFileOutputStream fout;\r\n\t\tPrintStream p;\r\n\t\ttry\r\n\t\t{\r\n\t\t\tfout = new FileOutputStream(\"C:\\\\CTS selenium\\\\myfile.txt\");\r\n\t\t\tp= new PrintStream(fout);\r\n\t\t\tp.println(\"Hello 1\");\r\n\t\t\tp.println(\"Hello 2\");\r\n\t\t\tp.println(\"Hello 3\");\r\n\t\t\tp.close();\r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\tSystem.err.println(\"Error\");\r\n\t\t}\r\n\t}", "title": "" } ]
[ { "docid": "05a606445504484958a1c21e14b7198e", "score": "0.69474965", "text": "@Override\r\n\tpublic void sapace() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8619203d4867f5c6d05eb9a5354405c0", "score": "0.6920049", "text": "@Override\n\t\tpublic void pintate() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "8619203d4867f5c6d05eb9a5354405c0", "score": "0.6920049", "text": "@Override\n\t\tpublic void pintate() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.6676429", "text": "private void apparence() {\r\n\r\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65686274", "text": "@Override\n\tpublic void comer() {\n\t\t\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": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65278774", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "ffd8193c9cf73515d0f9301b9a7d8817", "score": "0.6485175", "text": "@Override\n\tpublic void morrer() {\n\n\t}", "title": "" }, { "docid": "b62a7c8e0bb1090171742c543bf4b253", "score": "0.6373858", "text": "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "title": "" }, { "docid": "6c2fa45ab362625ae567ee8a229630a4", "score": "0.622455", "text": "@Override\n\tprotected void interr() {\n\t}", "title": "" }, { "docid": "b941b399a338e8c204f1063e54a94824", "score": "0.6224095", "text": "public void mo7103g() {\n }", "title": "" }, { "docid": "b941b399a338e8c204f1063e54a94824", "score": "0.6224095", "text": "public void mo7103g() {\n }", "title": "" }, { "docid": "b941b399a338e8c204f1063e54a94824", "score": "0.6224095", "text": "public void mo7103g() {\n }", "title": "" }, { "docid": "27e4479db2c37a2e77fe796119b66d4b", "score": "0.61936283", "text": "@Override\r\n\t\t\tpublic void adelante() {\n\r\n\t\t\t}", "title": "" }, { "docid": "0d3bf6f2ee77f787007ba6b4021b5721", "score": "0.6164056", "text": "protected void olha()\r\n\t{\r\n\t\t\r\n\t}", "title": "" }, { "docid": "e3a701d0fdb1fef5e0afd9dc7c345fcb", "score": "0.61634105", "text": "@Override\n\tprotected void generateData() {\n\t\n\t}", "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": "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": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "4e49f5db36ca664153e54380025b85d4", "score": "0.6095768", "text": "protected boolean method_21825() {\n }", "title": "" }, { "docid": "67e1a422c8d1e74f6601c8a6d1aaa237", "score": "0.6074471", "text": "@Override\n\tpublic void apagar() {\n\n\t}", "title": "" }, { "docid": "a613dcce17453a8e1eed3b984b6b35b1", "score": "0.6028443", "text": "@Override\n\tpublic void composant() {\n\t}", "title": "" }, { "docid": "6f653341cfc7d30c8418e4b72116f7e2", "score": "0.60278815", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "588ab475e29950e8a1944c4a28fe2189", "score": "0.6027122", "text": "public void mo7036d() {\n }", "title": "" }, { "docid": "770d423e40bf5782a700bc181e8b8a1e", "score": "0.6020569", "text": "@Override\n\tvoid init() {\n\t\t\n\t}", "title": "" }, { "docid": "770d423e40bf5782a700bc181e8b8a1e", "score": "0.6020569", "text": "@Override\n\tvoid init() {\n\t\t\n\t}", "title": "" }, { "docid": "f2fe8a59406298fe7e97b543f2bf8186", "score": "0.60087883", "text": "@Override\r\n \tpublic void init() {\r\n \t}", "title": "" }, { "docid": "fa1a013b1df2f5f1062e1cc971135645", "score": "0.5988416", "text": "@Override\n\tpublic void mamar() {\n\t\t\n\t}", "title": "" }, { "docid": "f49ed6756be41155bd7261ea2ff6564b", "score": "0.59858125", "text": "@Override\n\t\t\t\tpublic void init() {\n\n\t\t\t\t}", "title": "" }, { "docid": "f49ed6756be41155bd7261ea2ff6564b", "score": "0.59858125", "text": "@Override\n\t\t\t\tpublic void init() {\n\n\t\t\t\t}", "title": "" }, { "docid": "f49ed6756be41155bd7261ea2ff6564b", "score": "0.59858125", "text": "@Override\n\t\t\t\tpublic void init() {\n\n\t\t\t\t}", "title": "" }, { "docid": "0ecc2b05fa1b3fe069983a07eba7914d", "score": "0.5978686", "text": "private void inicialitzarTaulell() {\r\n\t\t//PENDENT IMPLEMENTAR\r\n\t}", "title": "" }, { "docid": "9fe3f6ccb967a8bcee9106fbbd56b684", "score": "0.5974211", "text": "@Override\r\n\tpublic void properties() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b044552fe4d8d8225d09361b41fbea3a", "score": "0.59513867", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "fcfbf321ff3e4c56b4e383ce15e49dbb", "score": "0.59429646", "text": "@Override\r\n\tpublic void obtersaida()\r\n\t{\n\t}", "title": "" }, { "docid": "482b1825ec60700f97ed42e420d69d99", "score": "0.59383935", "text": "@Override\n\tpublic void valide() {\n\t}", "title": "" }, { "docid": "b2775812be4cd009dca27a30c5ce78fa", "score": "0.59383595", "text": "@Override\n\tprotected void fouseChange() {\n\n\t}", "title": "" }, { "docid": "4b7e3f693781babf82ed11447db2a554", "score": "0.5929242", "text": "@Override\n\tpublic void concentrarse() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "title": "" }, { "docid": "41e50fb9a0b417818374927eb02c67f1", "score": "0.59280443", "text": "protected void mo5608a() {\n }", "title": "" }, { "docid": "21caf865e426ec5feea3bed303161112", "score": "0.59228885", "text": "@Override\r\n\t\t\t\t\tpublic void funktionMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" }, { "docid": "21caf865e426ec5feea3bed303161112", "score": "0.59228885", "text": "@Override\r\n\t\t\t\t\tpublic void funktionMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" }, { "docid": "21caf865e426ec5feea3bed303161112", "score": "0.59228885", "text": "@Override\r\n\t\t\t\t\tpublic void funktionMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\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": "9a0f5a503f38cb7c40d13ecc89073bd8", "score": "0.58973867", "text": "@Override\r\n\tpublic void getDuriation() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9781c90863e9dc9781fafcc4dc828136", "score": "0.58739185", "text": "public void mo7839l() {\n }", "title": "" }, { "docid": "9781c90863e9dc9781fafcc4dc828136", "score": "0.58739185", "text": "public void mo7839l() {\n }", "title": "" }, { "docid": "32d0d506f2de2532fe4789f006c84da0", "score": "0.5863205", "text": "@Override\n\tpublic void bicar() {\n\t\t\n\t}", "title": "" }, { "docid": "02699a98134693036160a045239bddba", "score": "0.58500654", "text": "@Override\r\n\tpublic void zwroc() {\n\r\n\t}", "title": "" }, { "docid": "46569800c9d73cd59bcbec066cdb5304", "score": "0.58491904", "text": "private void lidoInf() {\n\n\n }", "title": "" }, { "docid": "b8d886581a76c72e11ab317e6cb6e2a8", "score": "0.58308905", "text": "@Override\r\n public void rechercher() {\n }", "title": "" }, { "docid": "80b5722cdc9efe11a305e92ea813ac0f", "score": "0.5827698", "text": "@Override\r\n\tpublic void inter() {\n\t\t\r\n\t}", "title": "" }, { "docid": "947b4ee184fe32ab14b8c244b9461c7d", "score": "0.5807026", "text": "@Override\n\tpublic void vida() {\n\n\t}", "title": "" }, { "docid": "9d2f44c3ebe1fb8de1ac4ae677e2d851", "score": "0.58069414", "text": "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c86f446a8bd6af19f88cc011fdf2ffd4", "score": "0.5802792", "text": "public void asustar() {\n // TODO implement here\n \n }", "title": "" }, { "docid": "b14d9313b224be37257260448fc816d3", "score": "0.58025044", "text": "@Override\n\tpublic void breathes()\n\t{\n\n\t}", "title": "" }, { "docid": "c8f75a8f93bc20d4e8695ba99b470e1d", "score": "0.580217", "text": "public void mo1684e() {\n }", "title": "" }, { "docid": "1c223692b2a2bdbc36ebfa379064d28d", "score": "0.5800657", "text": "public void mo7102f() {\n }", "title": "" }, { "docid": "1c223692b2a2bdbc36ebfa379064d28d", "score": "0.5800657", "text": "public void mo7102f() {\n }", "title": "" }, { "docid": "1c223692b2a2bdbc36ebfa379064d28d", "score": "0.5800657", "text": "public void mo7102f() {\n }", "title": "" }, { "docid": "19b30f4f881d8f7b600c7c12f1c30963", "score": "0.57979786", "text": "public void mo5203c() {\n }", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.57931334", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "bb30a482e2236eb664f8d8fc23724b59", "score": "0.57915", "text": "@Override\n\tprotected void initActb() {\n\t\t\n\t}", "title": "" }, { "docid": "7846476d210d55d45e5540a9c92b1ce3", "score": "0.57903147", "text": "@Override\n\tpublic void chocar() {\n\t\t\n\t}", "title": "" }, { "docid": "7846476d210d55d45e5540a9c92b1ce3", "score": "0.57903147", "text": "@Override\n\tpublic void chocar() {\n\t\t\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "0cc40600dd2e7cb9f56bd77995e01fc3", "score": "0.5780891", "text": "@Override\n\tpublic void Miow() {\n\t\t\n\t}", "title": "" }, { "docid": "a5600ed00582d8ca8d293829dcfd6c38", "score": "0.57797045", "text": "private void Syso() {\n\r\n\t}", "title": "" }, { "docid": "0a14b2c4ac9647e6bc7077e1e653d540", "score": "0.57781726", "text": "@Override\n \tprotected int getSize() {\n \t\treturn 0;\n \t}", "title": "" }, { "docid": "7d110d5ea1b4795727b052c3f897a146", "score": "0.5776224", "text": "public void ligar() {\n\t\t\r\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": "e022c47f335a39c6bdb94a0f49a4e940", "score": "0.5767807", "text": "@Override\r\n\tpublic void parar() {\n\t\t\r\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": "900d30c04323cde584c73c5ffa48d9cf", "score": "0.5757801", "text": "@Override\n\t\tpublic void visitEnd() {\n\n\t\t}", "title": "" }, { "docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.57514423", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "0adb5f1f1c75684eab047201533dcfe7", "score": "0.57495934", "text": "protected void mo5609b() {\n }", "title": "" }, { "docid": "c16c8d1ea4a8c8572e4aa91460503742", "score": "0.57494617", "text": "private void Initalization() {\n\t\t\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": "b938c58260ac0b899b5e73492c412a69", "score": "0.57377213", "text": "@Override\r\n\t\t\t\t\t\r\n\t\t\t\t\tpublic void leerMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" }, { "docid": "b938c58260ac0b899b5e73492c412a69", "score": "0.57377213", "text": "@Override\r\n\t\t\t\t\t\r\n\t\t\t\t\tpublic void leerMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" }, { "docid": "b938c58260ac0b899b5e73492c412a69", "score": "0.57377213", "text": "@Override\r\n\t\t\t\t\t\r\n\t\t\t\t\tpublic void leerMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\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": "734b1972ec29b58535c294e3962d017d", "score": "0.5732932", "text": "@Override\n\tpublic void generar() {\n\t\t\n\t}", "title": "" }, { "docid": "4da4d5cf96c032296a894fc6e8d76283", "score": "0.5718805", "text": "@Override\n\tpublic void beCagey() {\n\t\t\n\t}", "title": "" }, { "docid": "a8f4d3149e0f7a43b23b53ce69363fd6", "score": "0.57184815", "text": "public void mo5202b() {\n }", "title": "" }, { "docid": "c2a6308317d4e5fc230ea7d2fb55fc1b", "score": "0.5715011", "text": "@Override\n\tpublic void update() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "title": "" } ]
90af8ae3eef3ed989d211d60047e7078
Set the context path.
[ { "docid": "05ed3f077b4a1d8edbd29af7ec114f00", "score": "0.6055836", "text": "public EmbeddedRequestBuilder contextPath(String contextPath) {\n request.setContextPath(contextPath);\n return this;\n }", "title": "" } ]
[ { "docid": "5cced5e4aae3d29a048a0857a3cf2a76", "score": "0.7974176", "text": "public void setContextPath(String path) {\n\t\tthis.contextPath = path;\n\t}", "title": "" }, { "docid": "e8f8e2459ccad46a63f16af44a3d20a4", "score": "0.749729", "text": "public void setContextPath(String contextPath) {\n this._contextPath = contextPath;\n }", "title": "" }, { "docid": "2f8e655d704c067feebb73b141378143", "score": "0.72437817", "text": "public void setPath(String path) throws MalformedURLException {\n\t\t\tcontext_ = new URL(context_, path);\n\t\t}", "title": "" }, { "docid": "2b0cd23f4877737de866e16b804f7876", "score": "0.70604104", "text": "public Builder contextPath(String path) {\n this.contextPath = path;\n return this;\n }", "title": "" }, { "docid": "13136359972f5ed72de370f7ebcd56a4", "score": "0.7013471", "text": "@Override\n public String getContextPath() {\n\n return (contextPath);\n\n }", "title": "" }, { "docid": "f9f195fb76669bb8cc9a5aceccc8ee43", "score": "0.6800447", "text": "public static void setAutoInjectionContextPath(String path)\n\t{\n\t\tSystem.setProperty(CONTEXT_PROPERTY, path);\n\t}", "title": "" }, { "docid": "bdcd4a457da4e775a8d005788dc5ae04", "score": "0.670345", "text": "public final void setPathName(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String pathname)\n\t{\n\t\tgetMendixObject().setValue(context, MemberNames.PathName.toString(), pathname);\n\t}", "title": "" }, { "docid": "905f273bb247754eabd4cd634f74d090", "score": "0.65387726", "text": "void setCurrentDirectory(Path path);", "title": "" }, { "docid": "41b9220e3b13ed47ee00d210e825f99b", "score": "0.65291643", "text": "private void setContextRoot(String contextRoot) {\n if (contextRoot != null && contextRoot.endsWith(\".war\") ) {\n this.contextPath = contextRoot.substring(0, contextRoot.length()-4);\n } else {\n this.contextPath = contextRoot;\n }\n }", "title": "" }, { "docid": "e3623d44a146cf041e20ed859237b4ef", "score": "0.6490055", "text": "public T contextPath(String contextPath) {\n\t\tthis.contextPath = contextPath;\n\t\treturn (T) this;\n\t}", "title": "" }, { "docid": "53aa637a470bb11ddc686344305ede9f", "score": "0.6422944", "text": "public String getContextPath()\r\n {\r\n return m_path;\r\n }", "title": "" }, { "docid": "c5e57e410a0fb11862b6d8af42384c63", "score": "0.6343886", "text": "void setPath(java.lang.String path);", "title": "" }, { "docid": "9e20653e8af52da536e0196453e95fea", "score": "0.63365954", "text": "public final void setPathName(java.lang.String pathname)\n\t{\n\t\tsetPathName(getContext(), pathname);\n\t}", "title": "" }, { "docid": "44750ddf901cf4a554ee5d1647fb0670", "score": "0.63048863", "text": "public void setPath(String path);", "title": "" }, { "docid": "086e030e00a2384c6cb3bb0cd6493cda", "score": "0.6283853", "text": "public void contextualize( final Context context )\n throws ContextException\n {\n try\n {\n m_baseDirectory = (File)context.get( \"app.home\" );\n }\n catch( ContextException e )\n {\n m_baseDirectory = new File( \".\" );\n }\n }", "title": "" }, { "docid": "cfc8eaef3e2fc8b59d4a9cb7e1965f13", "score": "0.6214428", "text": "public void setCurrentDir(String path)\n {\n setVar(\"CurrentDir\", path);\n }", "title": "" }, { "docid": "02fd29830b1927eb5012d432bf13dc40", "score": "0.6213704", "text": "public String contextPath() {\n return this.contextPath;\n }", "title": "" }, { "docid": "f473877e4af8da48c659438ac85316fc", "score": "0.6185158", "text": "@Override\n public String getContextPath() {\n return this._getHttpServletRequest().getContextPath();\n }", "title": "" }, { "docid": "7f84ef4cb60d6d84298374741baeed0e", "score": "0.61348164", "text": "@Override\n public void setPath( String path ) {\n this.path = path;\n }", "title": "" }, { "docid": "786802eb7e2edff8ec7a4092b958c025", "score": "0.61260945", "text": "public void setContext(String context) {\n this.context = context;\n }", "title": "" }, { "docid": "304d09faef4fe270c1263b8e477a747c", "score": "0.6122064", "text": "@Override\r\n\tpublic void setContext(Context context) {\n\t\tthis.context=context;\r\n\t}", "title": "" }, { "docid": "1ff4d650fce24b119fc0feaaa0ea8f41", "score": "0.6114752", "text": "protected static void setContext(AuraContext context) {\n ContextService service = Aura.getContextService();\n AuraContext current = service.getCurrentContext();\n if (context == null || context == current) {\n return;\n }\n if (current != null) {\n service.endContext();\n }\n service.startContext(context.getMode(), context.getFormat(), context.getAccess(),\n context.getApplicationDescriptor());\n }", "title": "" }, { "docid": "eeb53abf54de439565bb97c04ff2c523", "score": "0.61144185", "text": "void contextualize( ContextHandler handler, ContextHandlerContext context ) throws Exception\r\n {\r\n String path = context.getContextPath();\r\n handler.setContextPath( path );\r\n getLogger().debug( \"setting context path: \" + path );\r\n \r\n ClassLoader classloader = context.getClassLoader( null );\r\n if( null != classloader )\r\n {\r\n handler.setClassLoader( classloader );\r\n }\r\n \r\n String name = context.getDisplayName( null );\r\n if( null != name )\r\n {\r\n handler.setDisplayName( name );\r\n }\r\n \r\n String[] hosts = context.getConnectors( null );\r\n if( null != hosts )\r\n {\r\n handler.setConnectors( hosts );\r\n }\r\n \r\n String[] virtual = context.getVirtualHosts( null );\r\n if( null != virtual )\r\n {\r\n handler.setVirtualHosts( virtual );\r\n }\r\n \r\n String[] welcome = context.getWelcomeFiles( null );\r\n if( null != welcome )\r\n {\r\n handler.setWelcomeFiles( welcome );\r\n }\r\n \r\n Map map = context.getMimeTypes( null );\r\n if( null != map )\r\n {\r\n MimeTypes types = new MimeTypes();\r\n types.setMimeMap( map );\r\n handler.setMimeTypes( types );\r\n }\r\n \r\n ErrorHandler errorHandler = context.getErrorHandler( null );\r\n if( null != errorHandler )\r\n {\r\n handler.setErrorHandler( errorHandler );\r\n }\r\n }", "title": "" }, { "docid": "8f44728a637b4e3cfcfa2e4d3f8bcb0d", "score": "0.60748285", "text": "public final void setPath1(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String path1)\n\t{\n\t\tgetMendixObject().setValue(context, MemberNames.Path1.toString(), path1);\n\t}", "title": "" }, { "docid": "a9245b5eabf531ab76a36887cd4a3a38", "score": "0.6049731", "text": "@Override\r\n\tpublic void setPath(String path) {\n\t\tthis.path = path;\r\n\t}", "title": "" }, { "docid": "8b66b8603e7f7d8a904f07b0f1304910", "score": "0.6033542", "text": "public ContextHandlerBuilder withPath(String path) {\n this.path = path;\n return this;\n }", "title": "" }, { "docid": "a5d2c85162e68c5a41d4c9a44d8590f7", "score": "0.6000664", "text": "public void setContext(String context) {\n this.context = context == null ? null : context.trim();\n }", "title": "" }, { "docid": "9a0b3ca1fb8c4d1d67175f4f49a76bfd", "score": "0.5999321", "text": "public String getContextPath() {\n\t\t\t\treturn null;\n\t\t\t}", "title": "" }, { "docid": "70f70d906597c1c8be8498b7ff8876a0", "score": "0.59884", "text": "public abstract void setPath(String defaultPath);", "title": "" }, { "docid": "cf6ccf6fe7223b3ae9745b448f0fe9e7", "score": "0.5982158", "text": "public abstract void setRootPath(String root);", "title": "" }, { "docid": "47c99528b676146b141991cd776c8de0", "score": "0.5973568", "text": "public String getContextPath() {\n\t\tString path = StringUtils.defaultString(myContextPath);\n\t\tif (path.length() > 0 && path.charAt(path.length() - 1) == '/') {\n\t\t\tpath = path.substring(0, path.length() - 1);\n\t\t}\n\t\treturn path;\n\t}", "title": "" }, { "docid": "dd02079cc2370ead853f6bb318d7686a", "score": "0.5957276", "text": "public void setContext(Context context) {\n\t\tthis.context = context;\n\t}", "title": "" }, { "docid": "dd02079cc2370ead853f6bb318d7686a", "score": "0.5957276", "text": "public void setContext(Context context) {\n\t\tthis.context = context;\n\t}", "title": "" }, { "docid": "d4a377519f6181d0c92e9c099b5d6dae", "score": "0.59119093", "text": "@Override\n\tpublic void setPath(String path) {\n\t\tthis.path = path;\n\t}", "title": "" }, { "docid": "5e5e1e6b6c58cdee178ce2362e71947f", "score": "0.5911307", "text": "public final void setPath0(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String path0)\n\t{\n\t\tgetMendixObject().setValue(context, MemberNames.Path0.toString(), path0);\n\t}", "title": "" }, { "docid": "6cab3c778ace836377cbf5acdfbc274d", "score": "0.59109694", "text": "public void setContext(Context context);", "title": "" }, { "docid": "2c959538e045c5772c134173fb16f1e1", "score": "0.59088445", "text": "public void setPath(String path) {\n if(path.startsWith(\"/\")) {\n path = path.substring(1);\n }\n int namespaceSeparatorIndex = path.indexOf('/');\n if(namespaceSeparatorIndex == -1)\n namespace = path;\n else\n namespace = path.substring(0, namespaceSeparatorIndex);\n \n this.relativePath = path.substring(path.indexOf('/') + 1);\n this.name = path.substring(path.lastIndexOf('/') + 1);\n }", "title": "" }, { "docid": "98b06a14afa04a1934d313326d91af39", "score": "0.5903517", "text": "public LXC setPath(String path) {\n _path = path;\n return this;\n }", "title": "" }, { "docid": "60a2363b3e0499bbb06c1f82a7cf5e5e", "score": "0.5898321", "text": "public String getContextPath() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "d56e3b489052368207706b1507fc7071", "score": "0.58898234", "text": "private void setPath()\n {\n if (!System.getProperty(\"os.name\").startsWith(\"Windows\"))\n {\n path = \"./Rules Based Decision Engine/src/rules\";\n }\n }", "title": "" }, { "docid": "91c431d27259698bf17c4a63a306089c", "score": "0.5882699", "text": "public void setPath(String p) {\n\t\tchPath=p;\n\t}", "title": "" }, { "docid": "5c183f718dd8994e67083b3ef4acf3f8", "score": "0.58566165", "text": "public void setPath(CommonPath v) {\r\n \tthis.path = v;\r\n }", "title": "" }, { "docid": "c475000ead08d908eee294897ea01308", "score": "0.58446914", "text": "public void setPath() {\n\t\tthis.inPath=false;\n\t}", "title": "" }, { "docid": "30341f2b3863a0217a1dcb1ea3ef004c", "score": "0.58394605", "text": "private void setContext(Context context){\n if(context == null){ return; }\n this.context = context;\n }", "title": "" }, { "docid": "ea3fd143dedc883d15b0066c5f7eb871", "score": "0.58350945", "text": "public void setContext(Context context)\n {\n this.context = context;\n }", "title": "" }, { "docid": "01042461a65ac7172a95a38783d6eba2", "score": "0.58266723", "text": "public abstract void setResource(String path);", "title": "" }, { "docid": "78b51664d5d28e90b71e07c021f48cf4", "score": "0.5824953", "text": "public void setContext(String context) {\n this.context = context;\n clearEventsForOldContext();\n }", "title": "" }, { "docid": "1e964e64cea366284f435c943fe283db", "score": "0.5824469", "text": "public void setContext(Context ctx){\n context = ctx;\n }", "title": "" }, { "docid": "404d8cb5b1946312b0546b4fd675f55b", "score": "0.5815749", "text": "@Override\n public void setPath(Path path) {\n this.path = path;\n nav.setPath(path);\n }", "title": "" }, { "docid": "094e70bbaaffbbeef834802d712890cd", "score": "0.5810675", "text": "public String getContextPath() {\n if (_contextPath == null) {\n Configuration childConfig = getModelConfiguration().getFirstChild(CONTEXT_PATH);\n if (childConfig == null) {\n Configuration contextConfig = _environment.getFirstChild(CONTEXT_PATH);\n if (contextConfig != null && contextConfig.getValue() != null) {\n _contextPath = contextConfig.getValue();\n }\n } else {\n _contextPath = childConfig.getValue();\n }\n }\n return _contextPath;\n }", "title": "" }, { "docid": "d7e08234b418a642a2ffe5d875da0e62", "score": "0.5806721", "text": "void setFilePath(String path);", "title": "" }, { "docid": "9fa03fd575871c97bfad556f0f4ae1a6", "score": "0.5791386", "text": "@Override\n public void setRootPath(String rootPath) {\n this.rootPath = rootPath;\n }", "title": "" }, { "docid": "ad8bd6e7878ea3caad7109cc40bb8ba6", "score": "0.57892424", "text": "public void setUserPath(String _userPath){\r\n\t\tthis.userPath = _userPath;\r\n\t}", "title": "" }, { "docid": "374943cb16d0b2909bd8428ed273b7e7", "score": "0.57653546", "text": "public void setPath(final String path) {\n\t\tthis.path = path;\n\t}", "title": "" }, { "docid": "15a764163d66cd01651a10ec55eb6e0e", "score": "0.5764928", "text": "public StaticLink setPath(String t)\n {\n path = t;\n return this;\n }", "title": "" }, { "docid": "d1b53bf7a201d5e4bae06537db8b98fb", "score": "0.57648283", "text": "public void setContext(String Context) {\n this.Context = Context;\n }", "title": "" }, { "docid": "521c7374d5ac06be235abe41aceee709", "score": "0.57573915", "text": "public void setPath(final String path) {\n this.path = path;\n }", "title": "" }, { "docid": "b2013663150831ac4295b007fd556bd7", "score": "0.5755022", "text": "public void setContextKey(@NonNull final String contextKey) {\n\t\tthis.contextKey = contextKey;\n\t\tthis.context.runAndTrack(new RunAndTrack() {\n\n\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\t@Override\n\t\t\tpublic boolean changed(IEclipseContext context) {\n\t\t\t\tsetCurrentValue((T) context.get(contextKey));\n\t\t\t\treturn true;\n\t\t\t}\n\t\t});\n\t}", "title": "" }, { "docid": "a036b7dfa1b7c836295b6f8cb52af111", "score": "0.57487893", "text": "public void setPath(String path) {\r\n this.path = path;\r\n }", "title": "" }, { "docid": "a036b7dfa1b7c836295b6f8cb52af111", "score": "0.57487893", "text": "public void setPath(String path) {\r\n this.path = path;\r\n }", "title": "" }, { "docid": "f0f414f0e7bc28b09077690708654e6f", "score": "0.57407254", "text": "public UrlRequestContextConfig setStoragePath(String value) {\n if (!new File(value).isDirectory()) {\n throw new IllegalArgumentException(\n \"Storage path must be set to existing directory\");\n }\n\n return putString(UrlRequestContextConfigList.STORAGE_PATH, value);\n }", "title": "" }, { "docid": "b493e2d132327281c0c874223845710d", "score": "0.57360417", "text": "public void setPath(String strPath) throws PageException\t{\n \t\tif(strPath==null) return;\n \t this.path=ResourceUtil.toResourceNotExisting(pageContext,strPath.trim() );\n \t\t//this.path=new File(path.toLowerCase().trim());\n \n \t\tpageContext.getConfig().getSecurityManager().checkFileLocation(this.path);\n \t\t\n \t if(!this.path.exists()) {\n \t \tResource parent=this.path.getParentResource();\n \t if(parent!=null && parent.exists())this.path.mkdirs();\n \t else {\n \t throw new ApplicationException(\"attribute path of the tag collection must be a existing directory\");\n \t }\n \t }\n \t\telse if(!this.path.isDirectory())\n \t\t throw new ApplicationException(\"attribute path of the tag collection must be a existing directory\");\n \t}", "title": "" }, { "docid": "8cf82c3f014c54995a168fb9ce17b393", "score": "0.5725454", "text": "public void setContext(Context context){\n this.context=context;\n }", "title": "" }, { "docid": "b92602bfa7992be9b06fa54ce3cadf87", "score": "0.56953", "text": "public final void setPath2(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String path2)\n\t{\n\t\tgetMendixObject().setValue(context, MemberNames.Path2.toString(), path2);\n\t}", "title": "" }, { "docid": "cb8d98909510963bba1733b2e65b2817", "score": "0.56881696", "text": "public final void setPath2(java.lang.String path2)\n\t{\n\t\tsetPath2(getContext(), path2);\n\t}", "title": "" }, { "docid": "841b4779f0e28fe76e1de07d7b000f6e", "score": "0.56606776", "text": "public void setPath(PathInfoData path) {\n if (path == null || path.getPath() == null) {\n throw new IllegalArgumentException(\"need to set path\");\n }\n this.path = path;\n }", "title": "" }, { "docid": "55f7792aeb344dd0e466bf01fce0f996", "score": "0.56603014", "text": "public void setPath(\n final java.lang.String path) {\n this._path = path;\n }", "title": "" }, { "docid": "0faa7ca2411575ac47533d021f86e385", "score": "0.56569505", "text": "public final void setPath1(java.lang.String path1)\n\t{\n\t\tsetPath1(getContext(), path1);\n\t}", "title": "" }, { "docid": "beb31892bedefeeba53ab32b5a12d9b2", "score": "0.56501", "text": "public void setPath(String path) {\r\n\t\tthis.path = path;\r\n\t}", "title": "" }, { "docid": "06eb8d78ecd6a971d73728d51d313f04", "score": "0.56355524", "text": "public void setRoot(int context,Object environment){\n }", "title": "" }, { "docid": "aedaa41789e9d9f45d9518e7c61d6e44", "score": "0.5633203", "text": "public void set(String path, Object value);", "title": "" }, { "docid": "50004c1b479822e7eff2149e9dff8e4c", "score": "0.5627734", "text": "public void setPath(final String pathValue) {\n this.path = pathValue;\n }", "title": "" }, { "docid": "afbb679ef1465f5c0c79354d186b2b6f", "score": "0.56123054", "text": "@Override\n\tpublic ServletContext getContext(String path) {\n\t\treturn (path.equals(\"/\")) ? this : null;\n\t}", "title": "" }, { "docid": "b996ba3575f922740ad97e28a9a6491f", "score": "0.5606803", "text": "public void setPath(String path) {\n this.path = path;\n }", "title": "" }, { "docid": "b996ba3575f922740ad97e28a9a6491f", "score": "0.5606803", "text": "public void setPath(String path) {\n this.path = path;\n }", "title": "" }, { "docid": "b996ba3575f922740ad97e28a9a6491f", "score": "0.5606803", "text": "public void setPath(String path) {\n this.path = path;\n }", "title": "" }, { "docid": "b996ba3575f922740ad97e28a9a6491f", "score": "0.5606803", "text": "public void setPath(String path) {\n this.path = path;\n }", "title": "" }, { "docid": "b996ba3575f922740ad97e28a9a6491f", "score": "0.5606803", "text": "public void setPath(String path) {\n this.path = path;\n }", "title": "" }, { "docid": "f805f75bae163c7dad05bf62ecc99d2c", "score": "0.5604919", "text": "public void setPath(String path) {\n this.path = path;\n }", "title": "" }, { "docid": "3b834d51d6cf3bfb9b5b4cee4f4635e5", "score": "0.56013197", "text": "public void setDefaultContextPath(String defaultContextPath) {\n this.defaultContextPath = defaultContextPath;\n }", "title": "" }, { "docid": "3c5c7b25ca149ca414134c3cbef90f97", "score": "0.5597832", "text": "public void setContexturl(java.lang.String contexturl) {\n this.contexturl = contexturl;\n this.addProperty(\"contexturl\",contexturl);\n }", "title": "" }, { "docid": "649ad401b276c2a402612de824c86270", "score": "0.5581821", "text": "@Override\n\tpublic void setServletContext(ServletContext context) {\n\t\tthis.context = context;\n\t}", "title": "" }, { "docid": "5a0ec68aa75690276af0ac60157feaad", "score": "0.55677", "text": "public void setContext(Context c) {\r\n\t\tthis.context = c;\r\n\t}", "title": "" }, { "docid": "4aac8823d01b0bc790a57902a432d3e3", "score": "0.555637", "text": "public void setContext(IContext context) {\n this.context = context;\n }", "title": "" }, { "docid": "da65753ca12c15cf27bcaafb214844af", "score": "0.5545901", "text": "public void setPath( EAIMMCtxtIfc theCtxt, java.lang.String thePath) throws EAIException {\r\n if( theCtxt == null) { return;}\r\n getM3Type( theCtxt);\r\n if( com.dosmil_e.kit.core.model.observe.meta.KitDependencyMeta.vm3AttrPath == null) { return;}\r\n\r\n try {\r\n ((com.dosmil_e.m3.core.pub.M3AttributePub) com.dosmil_e.kit.core.model.observe.meta.KitDependencyMeta.vm3AttrPath).\r\n setAttributeValue( theCtxt, this, toObject( thePath));\r\n }\r\n catch( ClassCastException anEx) { return;}\r\n }", "title": "" }, { "docid": "7b285e3a5af02d61059dd4c55572b952", "score": "0.55352676", "text": "public void setPath(String path) {\n\t\tthis.path = path;\n\t}", "title": "" }, { "docid": "7b285e3a5af02d61059dd4c55572b952", "score": "0.55352676", "text": "public void setPath(String path) {\n\t\tthis.path = path;\n\t}", "title": "" }, { "docid": "7b285e3a5af02d61059dd4c55572b952", "score": "0.55352676", "text": "public void setPath(String path) {\n\t\tthis.path = path;\n\t}", "title": "" }, { "docid": "12f15679dfcd37ce9573d260a52c73da", "score": "0.5532377", "text": "public void setPath(String path)\r\n {\r\n String safePath = path;\r\n if (path == null)\r\n safePath = \"\";\r\n textField.setText(safePath);\r\n fileChooser.setCurrentDirectory(new File(safePath));\r\n fireActionPerformed();\r\n }", "title": "" }, { "docid": "178e7c443d9912254e00ad3dda3f8166", "score": "0.5531434", "text": "public final void setPath0(java.lang.String path0)\n\t{\n\t\tsetPath0(getContext(), path0);\n\t}", "title": "" }, { "docid": "21633ba3b707acaa3e6b84597ad54090", "score": "0.55223286", "text": "public final void setKeyStorePath( String path) {\n \tm_keyStorePath = path;\n }", "title": "" }, { "docid": "d1908298dafb3a9a988b1a4c1803b21c", "score": "0.55171937", "text": "public void setPath (java.lang.String path) {\n\t\tthis.path = path;\n\t}", "title": "" }, { "docid": "6710d5b43fb41d2c8e9e94fe78544cf6", "score": "0.5509172", "text": "public void setPath(int path) {\n this.path = path;\n }", "title": "" }, { "docid": "b6a1b57eecf7773bea3e183229f2a5a5", "score": "0.5495489", "text": "public LocalContentSource setPath(String path) {\n this.path = path;\n return this;\n }", "title": "" }, { "docid": "0225c5a197547da79cfb49d7a48e1f8f", "score": "0.5490237", "text": "public Builder setContext(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000008;\n context_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "97e07eaefe059518cb53bbd86f486cb8", "score": "0.5470489", "text": "public void setPath(String path) {\r\n\t\tWindowsListener.path = path;\r\n\t}", "title": "" }, { "docid": "9881b46eb0f4d37814c3cd79dc4f5c03", "score": "0.54608446", "text": "@Override\r\n\tpublic void setServletContext(ServletContext sctx) {\n\t\tthis.sctx = sctx;\r\n\t}", "title": "" }, { "docid": "2d7cd85615fd5184689535e32978fa45", "score": "0.54474455", "text": "public void setResultSetPath() {\n\t\tresultsetPath.setLength(0);\n// \n resultsetPath.append(RESULTSET_PARENT_PATH + File.separator);\n \n \tif (AppResource.crosslinkTask == AppResource.CROSSLINK_TASK_1) {\n \t\tresultsetPath.append(\"crosslink1\" + File.separator);\n\t String resultsetFormalPath = resultsetPath.toString() + \"test\";\n\t if (!new File(resultsetFormalPath).exists() || !useTestDataset)\n\t \tresultsetPath.append(\"training\");\n\t else\n\t \tresultsetPath.append(\"test\");\n \t}\n \telse {\n \t\tresultsetPath.append(\"crosslink2\");\n \t}\n resultsetPath.append(File.separator);\n\t}", "title": "" }, { "docid": "e2723cd4044ac1dd2927306f2831bd5f", "score": "0.5447388", "text": "@Override\r\n\tpublic void setJspContext(JspContext pc) {\n\t\tsuper.setJspContext(pc);\r\n\t}", "title": "" }, { "docid": "b92e243d8439b4a392c9a04693b6d1ba", "score": "0.54344237", "text": "public CompletionStage<Void> setContext(Context context) {\n\t\treturn this.channelClient\n\t\t\t\t.dispatch(\"setContext\", Json.createObjectBuilder().add(\"context\", FinBeanUtils.toJsonObject(context)).build())\n\t\t\t\t.thenAccept(result -> {\n\t\t\t\t});\n\t}", "title": "" } ]
7401c8aaf6e307bd7ccc7d0707b93004
Create data for left input
[ { "docid": "53ff9b111a08b5d65165fda63e7b5557", "score": "0.0", "text": "@Test\n public void testFillingUpOutputBatch_WithExcludedColumns() throws Exception {\n final RowSet.SingleRowSet leftRowSet2 = SubOperatorTest.fixture.rowSetBuilder(TestLateralJoinCorrectness.leftSchema).addRow(2, 20, \"item20\").build();\n // Create data for right input\n final RowSet.SingleRowSet nonEmptyRightRowSet2 = SubOperatorTest.fixture.rowSetBuilder(TestLateralJoinCorrectness.rightSchema).addRow(1, 4, 41, \"item41\").addRow(1, 5, 51, \"item51\").build();\n TupleMetadata expectedSchema = new SchemaBuilder().add(\"id_left\", INT).add(\"name_left\", VARCHAR).add(\"id_right\", INT).add(\"cost_right\", INT).add(\"name_right\", VARCHAR).buildSchema();\n final RowSet.SingleRowSet expectedRowSet = SubOperatorTest.fixture.rowSetBuilder(expectedSchema).addRow(1, \"item1\", 1, 11, \"item11\").addRow(1, \"item1\", 2, 21, \"item21\").addRow(1, \"item1\", 3, 31, \"item31\").addRow(2, \"item20\", 4, 41, \"item41\").addRow(2, \"item20\", 5, 51, \"item51\").build();\n // Get the left container with dummy data for Lateral Join\n TestLateralJoinCorrectness.leftContainer.add(TestLateralJoinCorrectness.nonEmptyLeftRowSet.container());\n TestLateralJoinCorrectness.leftContainer.add(leftRowSet2.container());\n // Get the left IterOutcomes for Lateral Join\n TestLateralJoinCorrectness.leftOutcomes.add(OK_NEW_SCHEMA);\n TestLateralJoinCorrectness.leftOutcomes.add(OK);\n // Create Left MockRecordBatch\n final CloseableRecordBatch leftMockBatch = new MockRecordBatch(SubOperatorTest.fixture.getFragmentContext(), TestLateralJoinCorrectness.operatorContext, TestLateralJoinCorrectness.leftContainer, TestLateralJoinCorrectness.leftOutcomes, TestLateralJoinCorrectness.leftContainer.get(0).getSchema());\n // Get the right container with dummy data\n TestLateralJoinCorrectness.rightContainer.add(TestLateralJoinCorrectness.emptyRightRowSet.container());\n TestLateralJoinCorrectness.rightContainer.add(TestLateralJoinCorrectness.nonEmptyRightRowSet.container());\n TestLateralJoinCorrectness.rightContainer.add(nonEmptyRightRowSet2.container());\n TestLateralJoinCorrectness.rightOutcomes.add(OK_NEW_SCHEMA);\n TestLateralJoinCorrectness.rightOutcomes.add(EMIT);\n TestLateralJoinCorrectness.rightOutcomes.add(EMIT);\n final CloseableRecordBatch rightMockBatch = new MockRecordBatch(SubOperatorTest.fixture.getFragmentContext(), TestLateralJoinCorrectness.operatorContext, TestLateralJoinCorrectness.rightContainer, TestLateralJoinCorrectness.rightOutcomes, TestLateralJoinCorrectness.rightContainer.get(0).getSchema());\n List<SchemaPath> excludedCols = new ArrayList<>();\n excludedCols.add(SchemaPath.getSimplePath(\"cost_left\"));\n try {\n testExcludedColumns(excludedCols, leftMockBatch, rightMockBatch, expectedRowSet);\n } finally {\n // Close all the resources for this test case\n leftRowSet2.clear();\n nonEmptyRightRowSet2.clear();\n }\n }", "title": "" } ]
[ { "docid": "c2c9f68f350d0da488e31fb0b6d1f27a", "score": "0.57611346", "text": "private void populateLeftEvents() {\n\t\tfinal int[] data = this.data;\n\t\tfinal int y0 = data[IDX_MIN_PIX_Y] & TILE_AXIS_MASK;\n\t\tfinal int y1 = data[IDX_MAX_TILE_ORIGIN_Y] + 7;\n\t\tfinal int limit = IDX_EVENTS + (y1 << 1);\n\n\t\tfor (int y = IDX_EVENTS + (y0 << 1); y <= limit; y += 2) {\n\t\t\tdata[y] = 0;\n\t\t}\n\t}", "title": "" }, { "docid": "8136dd1c480dd9d741b54131c9f2f341", "score": "0.56233025", "text": "@RequestMapping(method = RequestMethod.POST, value = \"/left\", consumes = MediaType.APPLICATION_JSON_VALUE)\r\n public ResponseEntity inputLeft(@PathVariable String id, @RequestBody Base64DataPayload base64DataPayload) {\r\n logger.info(\"Receiving Left Data for id: \" + id);\r\n return diffService.inputLeft(id, base64DataPayload.getData());\r\n }", "title": "" }, { "docid": "ced6617a93775ca156800086c5f2114c", "score": "0.5608102", "text": "abstract public Object produceLeft();", "title": "" }, { "docid": "574c8b840e6102b0e8e7842bc8d14259", "score": "0.5597859", "text": "private void inputData(LinkedList linkedList){\n\t\tNode node = new Node(1);\t\n\t\tlinkedList.insertNode(new Node(2));\n\t\tlinkedList.insertNode(node);\n\t\tlinkedList.insertNode(new Node(3));\n\t\tlinkedList.insertNode(new Node(4));\n\t\tlinkedList.insertNode(new Node(5));\n\t\tlinkedList.insertNode(node);\n\t}", "title": "" }, { "docid": "a7afefc0c9c9713a4ab413f2278a4b70", "score": "0.5565844", "text": "private void createLocalState()\r\n\t{\n\t\tif (curfield != null)\r\n\t\t{\r\n\t\t\t// process params and fill in errors as appropriate\r\n\t\t\tprocessFields();\r\n\t\t\tverifyFields();\r\n\t\r\n\t\t\t// populate temporary state\r\n\t\t\tDCInput field = getInputsReader().newField(getParams());\r\n\t\r\n\t\t\t// either hold it in a temporary field (if there are errors)\r\n\t\t\t// or write it back to the local state\r\n\t\t\tif (hasErrors())\r\n\t\t\t{\r\n\t\t\t\terrorfield = field;\r\n\t\t\t}\r\n\t\t\telse if (curfield == -1)\r\n\t\t\t{\r\n\t\t\t\tinputSet.addField(curpage, field);\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tinputSet.setField(curpage, curfield, field);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "f0255cfabd5532501fa85ff669706a11", "score": "0.54650295", "text": "public NoPutResultSet getLeftSourceInput()\n {\n return leftSource;\n }", "title": "" }, { "docid": "dac3d6a8d162f882c84e81ae58b7f943", "score": "0.54270655", "text": "public String toString(){\n\t\treturn \"Data: \"+this.data+\", Left: \"+((this.left!=null)?left.data:\"null\")\n\t\t\t\t+\",Right: \"+((this.right!=null)?right.data:\"null\");\n\t}", "title": "" }, { "docid": "266ef0ee439fe1faeaa9d7d4ab7e6ef8", "score": "0.5391715", "text": "public void startProcessingData(){\n\t\tcurrentInputData = new HistoryData();\n\t\tString[] values = processor.getCurrentRow(counter);\n\t\t\n\t\t//ID\n\t\t//currentInputData.setIsNumeric(values[0]);\n\t\tcurrentInputData.setIsValidIDFormat(values[0]);\n\t\t\n\t\t//Sex\n\t\tcurrentInputData.setIsValidSex(values[5]);\n\t\t\n\t\t//Age\n\t\tcurrentInputData.setIsValidAge(values[8]);\n\t\t\n\t\t//Martial Status\n\t\tcurrentInputData.setMaritalStatus(values[9]);\n\t\t\n\t\t//Registration Data\n\t\tcurrentInputData.setIsRegistrationDateOutOfRange(values[21]);\n\t\t\n\t\t/*\n\t\t//Cause of Death\n\t\tcurrentInputData.setCauseOfDeathInput(values[4]);\n\t\t\n\t\t//Certification\n\t\tcurrentInputData.setCertification(values[5]);\n\t\t*/\n\t\t\n\t\t//Valid Informant Present at Death\n\t\tcurrentInputData.setIsValidInformant(values[17]);\n\t\tcurrentInputData.setIsPresentAtDeathInput(values[19]);\n\t\t\n\t\t//Qualified Informant or Address of Informant\n\t\tcurrentInputData.setIsQualifiedInformant(values[18]);\n\t\tcurrentInputData.setIsValidInformantAddress(values[20]); //TODO What to do if no data at end of row...array only has 8 spots, error\n\t}", "title": "" }, { "docid": "7dc3186e9c32f06aeb33e540d65db6d8", "score": "0.5355075", "text": "public void resetLeftPosition() {\n\t\tdrivetrainLeftEncoder.reset();\n\t}", "title": "" }, { "docid": "b3a318015d218aa52b7c2ee6c3f86d65", "score": "0.5290466", "text": "public void getData() {\n wInputType.setText(Const.NVL(input.getInputType(), \"\"));\n wInputText.setText(Const.NVL(input.getInputText(), \"\"));\n wInputField.setText(Const.NVL(input.getInputFieldName(), \"\"));\n wInputFilename.setText(Const.NVL(input.getInputFileName(), \"\"));\n wInputFilenameInField.setSelection(input.isInputFileNameInField());\n wInputFilenameField.setText(Const.NVL(input.getInputFileNameField(), \"\"));\n wAddInputFilenameToResult.setSelection(input.isAddInputFileNameToResult());\n\n wOutputType.setText(Const.NVL(input.getOutputType(), \"\"));\n wOutputField.setText(Const.NVL(input.getOutputFieldName(), \"\"));\n wOutputFilename.setText(Const.NVL(input.getOutputFileName(), \"\"));\n wOutputFilenameInField.setSelection(input.isOutputFileNameInField());\n wOutputFilenameField.setText(Const.NVL(input.getOutputFileNameField(), \"\"));\n wAppendOutputFilename.setSelection(input.isAppendOutputFileName());\n wCreateParentFolder.setSelection(input.isCreateParentFolder());\n wFormat.setText(\n TokenReplacementMeta.getOutputFileFormatDescription(input.getOutputFileFormat()));\n wOutputFileEncoding.setText(Const.NVL(input.getOutputFileEncoding(), \"\"));\n wOutputSplitEvery.setText(Integer.toString(input.getSplitEvery(), 10));\n wIncludeTransformNrInFilename.setSelection(input.isIncludeTransformNrInOutputFileName());\n wIncludePartNrInFilename.setSelection(input.isIncludePartNrInOutputFileName());\n wIncludeDateInFilename.setSelection(input.isIncludeDateInOutputFileName());\n wIncludeTimeInFilename.setSelection(input.isIncludeTimeInOutputFileName());\n wSpecifyDateFormat.setSelection(input.isSpecifyDateFormatOutputFileName());\n wDateFormat.setText(Const.NVL(input.getDateFormatOutputFileName(), \"\"));\n wAddOutputFilenameToResult.setSelection(input.isAddOutputFileNameToResult());\n\n wTokenStartString.setText(Const.NVL(input.getTokenStartString(), \"\"));\n wTokenEndString.setText(Const.NVL(input.getTokenEndString(), \"\"));\n\n logDebug(\"getting fields info...\");\n\n for (int i = 0; i < input.getTokenReplacementFields().length; i++) {\n TokenReplacementField field = input.getTokenReplacementFields()[i];\n\n TableItem item = wFields.table.getItem(i);\n if (field.getName() != null) {\n item.setText(2, field.getName());\n }\n if (field.getTokenName() != null) {\n item.setText(1, field.getTokenName());\n }\n }\n\n wFields.optWidth(true);\n\n wTransformName.selectAll();\n wTransformName.setFocus();\n }", "title": "" }, { "docid": "81524dba8f5648c2e73cfb45c29cdf2d", "score": "0.5263206", "text": "public int getLeftMostData()\r\n {\r\n if(this.left == null)\r\n return data;\r\n return getLeft().getLeftMostData();\r\n }", "title": "" }, { "docid": "817b05aea32e5171190ac206a3ddfc0d", "score": "0.52547276", "text": "private void initData() {\n\t\tnombreSedes = getMapaByPosition(getData(), 0);\n\t\tannios = getMapaByPosition(getData(), 1);\n\t\tnombreCampeones = getMapaByPosition(getData(), 2);\n\t\tresultados = getMapaByPosition(getData(), 3);\n\t\tnombreSubCampeones = getMapaByPosition(getData(), 4);\n\t}", "title": "" }, { "docid": "e3a701d0fdb1fef5e0afd9dc7c345fcb", "score": "0.52254283", "text": "@Override\n\tprotected void generateData() {\n\t\n\t}", "title": "" }, { "docid": "7732aa00d8d1c446a4ea3bad42818d26", "score": "0.5194523", "text": "public float[] fetchLeft() {\r\n \r\n int sampleSizeL = leftTouch.sampleSize();\r\n float[] sampleL = new float[sampleSizeL];\r\n leftTouch.fetchSample(sampleL, 0);\r\n \r\n return sampleL;\r\n }", "title": "" }, { "docid": "88d986bbec473b310e3a1620b75ddabf", "score": "0.5179787", "text": "public void setLeftFilter(DataFilter leftFilter)\n {\n _leftFilter = leftFilter;\n }", "title": "" }, { "docid": "90f57a05b414e7f5f858a2b6a64245f6", "score": "0.5172798", "text": "public void fillLeft();", "title": "" }, { "docid": "e8ddbef266e29e5370c2958c31ea16d6", "score": "0.51716006", "text": "Data createData();", "title": "" }, { "docid": "62f2ccbde0727e1d9d424bf0b4185669", "score": "0.5130898", "text": "public DistanceSensorData(int frontDistanceSensor, int leftsideDistanceSensor, int rightsideDistanceSensor){\n\t\tsuper(new Timestamp(System.currentTimeMillis()));\n\t\tthis.frontDistanceSensor = frontDistanceSensor;\n\t\tthis.leftsideDistanceSensor = leftsideDistanceSensor;\n\t\tthis.rightsideDistanceSensor = rightsideDistanceSensor;\n\t}", "title": "" }, { "docid": "c97aeee005ed4a9dad18fde21f949aa3", "score": "0.50821066", "text": "private void createData(){\n int anzData = (int) (m_data.size() * (m_trainPercentage * 0.01));\n \n ArrayList<String[]> tempData = new ArrayList<>(m_data);\n \n while(m_trainData.size() < anzData){\n \n int random = (int) (random() * (tempData.size() - 0) + 0); \n \n m_trainData.add(tempData.remove(random));\n }\n \n m_testData = tempData;\n }", "title": "" }, { "docid": "d3e295b854fcb2582b95f896e8463aed", "score": "0.5019948", "text": "public Tree<String> buildTreeFromLeft (List<Tree<String>> list) {\n Tree<String> tree = null;\n try {\n if (list.size() == 1) {\n tree = list.remove(0);\n } else if (list.get(0).getData().equals(\"λ\")) {\n tree = list.remove(0);\n tree.setRight(buildTreeFromLeft(list));\n } else if (list.get(0).getData().equals(\"@\")) {\n tree = list.remove(0);\n tree.setLeft(buildTreeFromLeft(list));\n tree.setRight(buildTreeFromLeft(list));\n } else {\n tree = list.remove(0);\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n return tree;\n }", "title": "" }, { "docid": "12e7ab61493aac6bec4148bcd69639f5", "score": "0.5009426", "text": "public void populateHitsLeft() {\r\n\t\tthis.hitsLeft[0] = extendPaddleHitsLeft;\r\n\t\tthis.hitsLeft[1] = laserShotsLeft;\r\n\t\tthis.hitsLeft[2] = magnetPullsLeft;\r\n\t}", "title": "" }, { "docid": "f60f710a60e05e111d64f9f884346b7a", "score": "0.5006905", "text": "@Override\n\tprotected void buildLeftCollection()\n\t{\n\t\tsetLeftCollection(leftCollection);\n\t}", "title": "" }, { "docid": "f09c5f949e4f768c5deceb169ce82b8b", "score": "0.50004613", "text": "void buildVertexData(){\n\t\tfloat []vertexData={\n\t\t\t-0.5f,-0.5f,\n\t\t\t -0.5f, 0.5f,\n\t\t\t 0.5f, -0.5f,\n\t\t\t 0.5f, 0.5f,\n\t\t};\n\t\t\n\t\tthis.vertexData=createFloatBufferFromData(vertexData);\n\t}", "title": "" }, { "docid": "b34c591d9d389c210b1dbacf472110a8", "score": "0.4990954", "text": "@Override\n public void deriveAttributesFromRawData(){\n String[] lines=getRawData().split(NEW_LINE);\n dataNode.setParagraphLines(\n Arrays.asList(lines[0].split(FULL_STOP)).stream()\n .map(s -> GenericUtils.removeNoiseWords(s))\n .collect(Collectors.toList()));\n dataNode.setQuestions(\n IntStream.range(1,lines.length-1)\n .mapToObj(i -> GenericUtils.removeNoiseWords(lines[i]).replace(QUESTION_MARK,EMPTY))\n .collect(Collectors.toList()));\n dataNode.setOriginalAnswers(\n Arrays.asList(lines[lines.length - 1].split(SEMICOLON)).stream()\n .map(s -> GenericUtils.removeNoiseWords(s)).collect(Collectors.toList()));\n }", "title": "" }, { "docid": "74e481ff015144f7d11b34345af83aa7", "score": "0.49838337", "text": "public DataFilter getLeftFilter()\n {\n return _leftFilter;\n }", "title": "" }, { "docid": "4a65e8cfd2b53f0294d60d208507f90f", "score": "0.49759072", "text": "@Override\n public void setInitialValues() \n {\n DataStore1 d = (DataStore1) data;\n d.G = 0;\n d.total = 0;\n }", "title": "" }, { "docid": "5d1c32637f8709ecff633fa69b297821", "score": "0.49737576", "text": "public String preOrder() {\n\tif (isEmpty()) {\n\t return \"\";\n\t} else {\n\t return \"\" + data + \" \" + left.preOrder() + right.preOrder();\n\t}\n }", "title": "" }, { "docid": "26ce61784671b252051f59e0e769c6ca", "score": "0.49472317", "text": "protected List<String> createData(int start, int length) {\n List<String> toRet = new ArrayList<String>();\n for (int i = 0; i < length; i++) {\n toRet.add(\"test \" + (i + start));\n }\n return toRet;\n }", "title": "" }, { "docid": "15ef6998e21de2ed40e51b80cd10d7e2", "score": "0.49464235", "text": "private void createKeyData(){\n\t\tKey buf;\n\t\tint index = 0;\n\t\twhile(skillData[index].equals(\"0\")==false){\n\t\t\tbuf = new Key();\n\t\t\tbuf.empty();\n\t\t\tif(skillData[index].equals(\"_\")){\n\t\t\t\tbuf = vcKey.get(index-1);\n\t\t\t\tvcKey.remove(index-1);\n\t\t\t\tindex++;\n\t\t\t}\n\t\t\tif(skillData[index].equals(\"5\")){\n\t\t\t\tbuf.empty();\n\t\t\t}\n\t\t\tif(skillData[index].equals(\"L\") || skillData[index].equals(\"4\")){\n\t\t\t\tbuf.L=true;\n\t\t\t}\n\t\t\tif(skillData[index].equals(\"R\") || skillData[index].equals(\"6\")){\n\t\t\t\tbuf.R=true;\n\t\t\t}\n\t\t\tif(skillData[index].equals(\"D\") || skillData[index].equals(\"2\")){\n\t\t\t\tbuf.D=true;\n\t\t\t}\n\t\t\tif(skillData[index].equals(\"U\") || skillData[index].equals(\"8\")){\n\t\t\t\tbuf.U=true;\n\t\t\t}\n\t\t\tif(skillData[index].equals(\"LD\") || skillData[index].equals(\"1\")){\n\t\t\t\tbuf.L=true;\n\t\t\t\tbuf.D=true;\n\t\t\t}\n\t\t\tif(skillData[index].equals(\"LU\") || skillData[index].equals(\"7\")){\n\t\t\t\tbuf.L=true;\n\t\t\t\tbuf.U=true;\n\t\t\t}\n\t\t\tif(skillData[index].equals(\"RD\") || skillData[index].equals(\"3\")){\n\t\t\t\tbuf.R=true;\n\t\t\t\tbuf.D=true;\n\t\t\t}\n\t\t\tif(skillData[index].equals(\"RU\") || skillData[index].equals(\"9\")){\n\t\t\t\tbuf.R=true;\n\t\t\t\tbuf.U=true;\n\t\t\t}\n\t\t\tif(skillData[index].equals(\"A\")){\n\t\t\t\tbuf.A=true;\n\t\t\t}\n\t\t\tif(skillData[index].equals(\"B\")){\n\t\t\t\tbuf.B=true;\n\t\t\t}\n\t\t\tif(skillData[index].equals(\"C\")){\n\t\t\t\tbuf.C=true;\n\t\t\t}\n\t\t\tthis.vcKey.addElement(buf);\n\t\t\tindex++;\n\t\t}\n\t\tskillEndIndex = vcKey.size();\n\t}", "title": "" }, { "docid": "6324f204df44c3efc0406c25a52b512c", "score": "0.49237508", "text": "@Override\n\tpublic byte[] preSave(byte[] data) {\n\t\treturn data;\n\t}", "title": "" }, { "docid": "db344a667ba71a2733763d0d2ff5bcd7", "score": "0.49158946", "text": "public void addDataForOpCall(){ \n OperatorCall tmpOC = new OperatorCall(); \n tmpOC.currentOperator = Operators.badOperator;\n tmpOC.sumDiff = Double.NaN;\n tmpOC.affectedChromes = -1;\n tmpOC.improvedChromes = -1;\n tmpOC.bestBeforeOpStarts = Double.NaN;\n tmpOC.diversity = Double.NaN;\n data.add(tmpOC); \n }", "title": "" }, { "docid": "7395684fcfc80a9faf007645094dd151", "score": "0.49045372", "text": "private Node<T> rotateLeft(Node<T> current) {\n\t\tNode<T> temp = current.getRight();\n\t\tcurrent.setRight(temp.getLeft());\n\t\ttemp.setLeft(current);\n\t\tgetHeight(temp);\n\t\tgetBalanceFactor(temp);\n\t\tgetHeight(current);\n\t\tgetBalanceFactor(current);\n\t\treturn temp;\n\t}", "title": "" }, { "docid": "efabc284188d138e1be9ea76d4fab2c0", "score": "0.49033892", "text": "public void restoreState(String[] data) {\n\t\tif(Integer.parseInt(data[4])==val){\n\t\t\tlPer = new Person(data[0].substring(0,data[0].indexOf('/')),data[0].substring(data[0].indexOf('/')+1));\n\t\t\trPer = new Person(data[1].substring(0,data[1].indexOf('/')),data[1].substring(data[1].indexOf('/')+1));\n\t\t\twPer = new Person(data[2].substring(0,data[2].indexOf('/')),data[2].substring(data[2].indexOf('/')+1));\n\t\t\tnote = data[3];\n\t\t\treturn;\n\t\t}\n\t\telse{\n\t\t\tif(!leaf){ \n\t\t\t\tleft.restoreState(data);\n\t\t\t\tright.restoreState(data);\n\t\t\t}\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "49b626dafcb21ab23c2bb96794753ecb", "score": "0.48931372", "text": "private void generateDummyData()\r\n\t{\r\n\t\tlog(\"Generating Data\");\r\n\t\tdata.put(id++, new CD(\"Nightwish\",\"Nemo\",\"Metal\"));\r\n\t\tdata.put(id++, new CD(\"Alestorm\",\"Wenches and Mead\",\"Pirate Metal\"));\r\n\t\tdata.put(id++, new CD(\"Angerfist\",\"Spook\",\"Hardstyle\"));\r\n\t\tdata.put(id++, new CD(\"Kamelot\",\"March of Mephisto\",\"Metal\"));\r\n\t\t\r\n\t\tlog(\"Data Generation Complete\");\r\n\t\tprintDataState();\r\n\t}", "title": "" }, { "docid": "42762c0cfc642d216fa18da8da95e8f3", "score": "0.48838234", "text": "public T getLeftValue(){\n\t\treturn this.left;\n\t}", "title": "" }, { "docid": "a91c3505a21ad79ba413b33499ea73c4", "score": "0.48834848", "text": "private void getData() {\n name = nombreT.getText();\n apellidos = apellidoT.getText();\n telefono = telefonoT.getText();\n dir = direccionT.getText();\n ident = identificacionT.getText();\n\n fc = fechaT.getValue() == null ? \"\" : fechaT.getValue().toString();\n idS = idsedeT.getValue() == null ? \"\" : idsedeT.getValue().toString();\n rol = rolT.getValue() == null ? \"\" : rolT.getValue().toString();\n }", "title": "" }, { "docid": "1c072abc1f008b7d9361b617974432de", "score": "0.48705307", "text": "private void setLeft(double left) \r\n {\r\n leftTalonOne.set(left);\r\n //leftTalonTwo.set(left);\r\n //leftTalonThree.set(left);\r\n }", "title": "" }, { "docid": "d7d34525687c4a648dc94fbd2d7e0c59", "score": "0.48685387", "text": "public void getAndSetData() {\n\t\tString[] rawArray = m_rawData.split(\"\\\\,\");\n\n\t\tm_name = rawArray[0].substring(5); // start at index 5\n\t\tm_x = Integer.parseInt(rawArray[1].substring(2));\n\t\tm_z = Integer.parseInt(rawArray[2].substring(2));\n\t\tm_y = Integer.parseInt(rawArray[3].substring(2));\n\t\tm_isEnabled = Boolean.parseBoolean(rawArray[4].substring(8));\n\n\t\tm_r = (int)(Float.parseFloat(rawArray[5].substring(4)) * 255);\n\t\tm_g = (int)(Float.parseFloat(rawArray[6].substring(6)) * 255);\n\t\tm_b = (int)(Float.parseFloat(rawArray[7].substring(5)) * 255);\n\n\t\t//String suffix = rawArray[8]; // throwaway\n\t\t//String world = rawArray[9]; // also throwaway\n\t\tm_dimensions = rawArray[10].substring(11);\n\n\t\tfor (int currentChar = 0; currentChar < m_dimensions.length(); ++currentChar) {\n\t\t\tif (m_dimensions.charAt(currentChar) == '#')\n\t\t\t\tm_dimensions = m_dimensions.replace(\"#\", \"\");\n\t\t}\n\n\t\tm_id = m_name + \"_\" + m_x + \",\" + m_y + \",\" + m_z;\n\n\t\t/*System.out.printf(\"unique id is: %s\\n\", m_id);\n\t\tSystem.out.printf(\"name is: %s\\n\", m_name);\n\t\tSystem.out.printf(\"coordinates are: (%d, %d, %d)\\n\", m_x, m_y, m_z);\n\t\tSystem.out.printf(\"enabled is %b\\n\", m_isEnabled);\n\t\tSystem.out.printf(\"rgb values are: (%.9f, %.9f, %.9f)\\n\", m_r, m_g, m_b);\n\t\tSystem.out.printf(\"dimensions are: %s\\n\", m_dimensions);*/\n\t}", "title": "" }, { "docid": "bcec8234eed9a42f0618b0773e9d9107", "score": "0.48656523", "text": "public void createLogInput() {\n log += \"-Input:\\n\";\n for (int i = 0; i < x.length; i++) {\n log += \"Input ke-\" + i + \":[\";\n for (int j = 0; j < x[i].length; j++) {\n log += j != (x[i].length - 1) ? x[i][j] + \",\" : x[i][j];\n }\n log += \"]\\n\";\n }\n }", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.4861706", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.4861706", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "c5ca713f20cddacd0c7bdabcd4c8b39a", "score": "0.48613772", "text": "public static Node createLeftCloneTree(Node node){\n // write your code here\n if(node==null){\n return null;\n }\n Node ln= createLeftCloneTree(node.left);\n Node rn=createLeftCloneTree(node.right);\n Node nnode=new Node(node.data,node.left,null);\n node.left=nnode;\n return node;\n }", "title": "" }, { "docid": "bed48451cfffeb9179b961459ab2b05e", "score": "0.48595437", "text": "public HuffmanNode getLeft()\n\t{\n\t\treturn left;\n\t}", "title": "" }, { "docid": "3a23674f8a76c28e97726635ccce9738", "score": "0.48567027", "text": "public Builder clearLeft() {\n bitField0_ = (bitField0_ & ~0x00000002);\n left_ = 0D;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "2d7b2227143f7f342888973b447dc0e2", "score": "0.4853105", "text": "public void setLeft(BTNodeDup<E> l) {\r\n left = l;\r\n }", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.4831396", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.4831396", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "e960e304cd2a3d41c7dd25323c1a866a", "score": "0.4820022", "text": "public void getPrevData() {\r\r\n\t\tgetReqsData();\r\r\n\t}", "title": "" }, { "docid": "7ac7cdb2cdd69ac214faedad78647d17", "score": "0.48184097", "text": "public Rendermessages.CBorderData.CBorderSide.Builder getLeftBuilder() {\n bitField0_ |= 0x00000008;\n onChanged();\n return getLeftFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "ac77991596196ab678a2147346e817d7", "score": "0.48062766", "text": "public PalisadeInputSplit() {\n requestResponse = new DataRequestResponse();\n }", "title": "" }, { "docid": "2aaac489117e4111cdc4dd34f16c826e", "score": "0.4805742", "text": "public BinaryTree(E rootData, BinaryTree<E> left, BinaryTree<E> right) {\r\n\t\troot = new Node();\r\n\t\troot.data = rootData;\r\n\t\tif (left != null) {\r\n\t\t\troot.left = left.root;\r\n\t\t}\r\n\t\tif (right != null) {\r\n\t\t\troot.right = right.root;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "4e6c5d7c4374c6ec0f1503f42e599922", "score": "0.48021814", "text": "public BinaryNode( T theData, BinaryNode<T> leftChild, \n BinaryNode<T> rightChild ) {\n data = theData; \n left = leftChild;\n right = rightChild;\n }", "title": "" }, { "docid": "9fd5863b5c7fb612226843698a47e954", "score": "0.4785259", "text": "public BinaryTree(E data, BinaryTree<E> leftTree, \n\t\t\tBinaryTree<E> rightTree) {\n\t\troot = new Node<E> (data);\n\t\tif (leftTree != null) {\n\t\t\troot.left = leftTree.root;\n\t\t} else {\n\t\t\troot.left = null;\n\t\t}\n\t\tif (rightTree != null) {\n\t\t\troot.right = rightTree.root;\n\t\t} else {\n\t\t\troot.right = null;\n\t\t}\n\t}", "title": "" }, { "docid": "420cb9c3f52ae1b37b96d45932f83f0d", "score": "0.4784319", "text": "@Override\r\n\tpublic String createSecondRandomData() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "b9c74557fe9245af96e182cb847788d9", "score": "0.47811136", "text": "@Override\r\n\tpublic void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "87dc7196d2d35103e000ecb6bd8333b0", "score": "0.47703385", "text": "public void generateSynthDataFromDataStorage()\n {\n /*This function creates a synthesized data array from the local data storage*/\n if (dataArrayLen > 0)\n {\n computeLateralLongitudalArrays();\n\n /*Instantiate gps arrays*/\n dataLen = dataStorage.getDataArrayLen();\n latitudeArray = new double[dataStorage.getDataArrayLen()];\n longitudeArray = new double[dataStorage.getDataArrayLen()];\n GPSEventTime = new long[dataArrayLen];\n\n /*Copy latitude and longitude array*/\n for (int index = 0; index < dataStorage.getDataArrayLen(); index++)\n {\n latitudeArray[index] = dataStorage.latitudeArray[index];\n longitudeArray[index] = dataStorage.longitudeArray[index];\n GPSEventTime[index] = dataStorage.GPSEventTime[index];\n GPSIndex = dataStorage.GPSIndex;\n }\n }\n }", "title": "" }, { "docid": "9bfad3e7c526bca61c7a2f7cabb03133", "score": "0.47648656", "text": "private void prepareData(String leftJson, String rightJson, long id) {\n\t\trestTemplate.delete(createURLWithPort(\"/jsontext/\"+id));\n\n\t\tTestJsonTextPair jsonTextPair = new TestJsonTextPair(102, leftJson, rightJson);\n\t\tHttpHeaders headers = new HttpHeaders();\n\t\theaders.add(HttpHeaders.CONTENT_TYPE, \"application/json\");\n\t\tfinal HttpEntity<TestJsonTextPair> requestEntity = new HttpEntity<>(jsonTextPair, headers);\n\t\trestTemplate.exchange(storeClient.getProfileUri(), HttpMethod.POST, requestEntity, Void.class);\n\t}", "title": "" }, { "docid": "3ede229324c84f9b33cb19d5deac72fa", "score": "0.4758713", "text": "DataInput makeDataInput() {\n return new DataInput(getReadOptions().getInputType(),entry);\n }", "title": "" }, { "docid": "caacc6de51af8652ee5bbedadff9860e", "score": "0.47538832", "text": "static Node createNode(int data) {\n\t\tNode newNode = new Node();\n\t\tnewNode.key = data;\n\t\tnewNode.leftNode = null;\n\t\tnewNode.rightNode = null;\n\t\treturn newNode;\n\n\t}", "title": "" }, { "docid": "d6806af8987c007cd876199035d4cb30", "score": "0.475072", "text": "public com.exacttarget.wsdl.partnerapi.FilterPart addNewLeftOperand()\n {\n synchronized (monitor())\n {\n check_orphaned();\n com.exacttarget.wsdl.partnerapi.FilterPart target = null;\n target = (com.exacttarget.wsdl.partnerapi.FilterPart)get_store().add_element_user(LEFTOPERAND$0);\n return target;\n }\n }", "title": "" }, { "docid": "65a07c06012ccd8dfd1d94ee94b29c0f", "score": "0.47478557", "text": "public BSTNode(int data, BSTNode left, BSTNode right)\r\n {\r\n this.data = data;\r\n this.left = left;\r\n this.right = right;\r\n }", "title": "" }, { "docid": "1849bd651682ee766bdfe2d3737dd6d6", "score": "0.47474357", "text": "private void generateData() {\n\t\tLocalTime referenceTime = LocalTime.now().plus(10, ChronoUnit.SECONDS);\n\t\tfor(int i = 0; i < ROWS; i++) {\n\t\t\tString temp = (referenceTime.plus((int)(10*i/SPEED),ChronoUnit.SECONDS)).toString();\n\t\t\ttime[i] = temp;\n\t\t\tfloor[i] = rand.nextInt(FLOORS)+1;\n\t\t\tcarButton[i] = rand.nextInt(FLOORS)+1;\n\t\t\twhile(floor[i] == carButton[i]) {\n\t\t\t\tcarButton[i] = rand.nextInt(FLOORS)+1;\n\t\t\t}\n\t\t\tif(floor[i] > carButton[i]) {\n\t\t\t\tdir[i] = DOWN;\n\t\t\t} else {\n\t\t\t\tdir[i] = UP;\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "e87da3c87d458ba2622719344d02a3e6", "score": "0.47411478", "text": "public void left (int p[], int index, int g) {\n if (index % 4 > 0) {\r\n int p_copy[] = new int[16];\r\n copyPuzzle(p_copy, p);\r\n\r\n // moving left so index - 1\r\n int temp = p_copy[index];\r\n p_copy[index] = p_copy[index - 1];\r\n p_copy[index - 1] = temp;\r\n\r\n createChild(p_copy, 'L');\r\n }\r\n }", "title": "" }, { "docid": "3887bfc21cfae3205bbfef60891a49a4", "score": "0.4741136", "text": "public DistanceSensorData(long timestamp, int frontDistanceSensor, int leftsideDistanceSensor, int rightsideDistanceSensor){\n\t\tsuper(new Timestamp(timestamp));\n\t\tthis.frontDistanceSensor = frontDistanceSensor;\n\t\tthis.leftsideDistanceSensor = leftsideDistanceSensor;\n\t\tthis.rightsideDistanceSensor = rightsideDistanceSensor;\n\t}", "title": "" }, { "docid": "f46eeaa857a16a876e3150b8d2db3e90", "score": "0.4737802", "text": "public void setLeft(int l){\n\t\tleft = l;\n\t}", "title": "" }, { "docid": "c4525b97e5a42c8071acc5ea64875c43", "score": "0.47377303", "text": "@Override\n\tpublic void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "c4525b97e5a42c8071acc5ea64875c43", "score": "0.47377303", "text": "@Override\n\tpublic void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "c4525b97e5a42c8071acc5ea64875c43", "score": "0.47377303", "text": "@Override\n\tpublic void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "120bed6df882bf30e880ed541c9d0844", "score": "0.47257978", "text": "public BTNodeDup<E> getLeft() {\r\n return left;\r\n }", "title": "" }, { "docid": "4e3bac53cd960da54fe4d431953f198c", "score": "0.4724431", "text": "private Node getNodeLeft(){\n return nodeLeft;\n }", "title": "" }, { "docid": "1f039cbaaf14342e32e6bb4edd3a1593", "score": "0.47199836", "text": "public java.lang.String getNewData() {\n \treturn newData;\n }", "title": "" }, { "docid": "940ac62654e2b6fa8dfbc55e4cc0a00d", "score": "0.4716234", "text": "private void moveLeft() {\n\t\tboolean move = false;\n\t\tfor (int i = head2; i < head2 + size2; i++) {\n\t\t\tval[i - 1] = val[i];\n\t\t\tmove = true;\n\t\t}\n\t\tif (move)\n\t\t\thead2--;\n\t}", "title": "" }, { "docid": "7d7339111e555eb10ba471f13ce4d48a", "score": "0.47103077", "text": "public double getLeftPosition() {\n\t\treturn (leftEncoder.getSelectedSensorPosition(PIDIDX) - leftPositionZero) / COUNTS_PER_REVOLUTION;\n\t}", "title": "" }, { "docid": "8d34b86404b23c201ef867bd06c77fe6", "score": "0.47070578", "text": "public void L1DataToL1Controller(){\n \n // datacache[42][0]=\"CD123456789\";\n // cachesize[42][0]=\"10101\";\n cachesize[127][0]=\"01011\";\n datacache[127][0]=\"AB\";\n // System.out.println(\"in L1D\"+queueline.getL1CtoL1DQueue().get(0)); \n String st=queueline.getL1CtoL1DQueue().get(0);\n System.out.println(\"In L1D, Current instruction is: \"+st);\n String instruction[]=st.split(\" \",0);\n List tempList=new ArrayList();\n // System.out.println(\"i am in L1D now \"+instruction[0]);\n //System.out.println(\"Instruction about to excuted is \"+queueline.getL1CtoL1DQueue().get(0));\n switch(instruction[0]){\n case \"Load\":\n \n String tag=null;\n int offset;\n int location;\n data=null;\n tag=instruction[1].substring(0, 5);\n offset= Integer.parseInt(instruction[1].substring(12,17));\n location=Integer.parseInt(instruction[1].substring(5, 12),2); \n // System.out.println(\"Current instruction is: \"+st+location);\n if(tag.equalsIgnoreCase(cachesize[location][0])){\n data=datacache[location][0];\n \n }\n else if(tag.equalsIgnoreCase(cachesize[location][1])){\n data=datacache[location][1];\n }\n if(data!=null){\n data=st+\" \"+data;\n \n tempList.add(data); \n queueline.setL1DtoL1CQueue(tempList);\n }\n queueline.getL1CtoL1DQueue().remove(0);\n System.out.println(\"Data read is: \"+data+queueline.getL1CtoL1DQueue());\n for(String st1: queueline.getL1CtoL1DQueue()){\n System.out.println(\"Remaining instructions in L1C2L1DQueue are: \"+st1);\n } \n break;\n case \"Store\":\n if(!instruction[1].equalsIgnoreCase(\"Store\")){\n String tag1=instruction[1].substring(0, 5);\n int offset1= Integer.parseInt(instruction[1].substring(12,17));\n int location1=Integer.parseInt(instruction[1].substring(5, 12),2);\n String value=instruction[2];\n if(instruction.length==4&& !\"Store\".equalsIgnoreCase(instruction[0])){\n value=instruction[3]; \n \n }\n else if(instruction.length==4&&\"Store\".equalsIgnoreCase(instruction[0])){\n value=instruction[3]; \n }\n //System.out.println(\"i am store of L1D\"+value+\"\\t\"+queueline.getL1CtoL1DQueue().get(0)); \n if(tag1.equals(cachesize[location1][0])){\n datacache[location1][0]=value;\n }\n else if(tag1.equals(cachesize[location1][1])){\n datacache[location1][0]=value;\n }\n else{\n if(datacache[location1][0]==null){\n datacache[location1][0]=value;\n cachesize[location1][0]=tag1;\n }\n else{\n datacache[location1][1]=value;\n cachesize[location1][1]=tag1;\n }\n \n }\n System.out.println(\"Value has been stored in L1DataCache: Data is - \"+ datacache[location1][0]+\" for instrction\"+st); \n queueline.getL1CtoL1DQueue().remove(0);\n }\n else{\n // System.out.println(\"++++++\"+instruction[2]);\n String tag1=instruction[2].substring(0, 5);\n int offset1= Integer.parseInt(instruction[2].substring(12,17));\n int location1=Integer.parseInt(instruction[2].substring(5, 12),2);\n String value=instruction[3];\n // System.out.println(\"i am store of L1D\"+value+\"\\t\"+queueline.getL1CtoL1DQueue().get(0)); \n if(tag1.equals(cachesize[location1][0])){\n datacache[location1][0]=value;\n }\n else if(tag1.equals(cachesize[location1][1])){\n datacache[location1][1]=value;\n }\n else{\n if(datacache[location1][0]==null){\n datacache[location1][0]=value;\n cachesize[location1][0]=tag1;}\n else{\n datacache[location1][1]=value;\n cachesize[location1][1]=tag1;\n }}\n System.out.println(\"Value has been stored in L1DataCache: Data is - \"+ datacache[location1][0]+\" for instrction\"+instruction[0]+location1); \n queueline.getL1CtoL1DQueue().remove(0); \n }\n break;\n case \"Evict\":\n String tag2=instruction[1].substring(0, 5);\n int offset2= Integer.parseInt(instruction[1].substring(12,17),2);\n int location2=Integer.parseInt(instruction[1].substring(5, 12),2);\n int dirtybit=Integer.parseInt(instruction[2]);\n if(dirtybit==0){\n if (tag2.equalsIgnoreCase(cachesize[location2][0])) {\n data = datacache[location2][0];\n\n } else if (tag2.equalsIgnoreCase(cachesize[location2][1])) {\n data = datacache[location2][1];\n }\n // data=!(data.equals(null))?data.substring(offset2,offset2+Integer.parseInt(instruction[2])):\" \";\n L1Victim v = new L1Victim();\n Boolean result = v.victimcachestore(tag2, offset2, data);\n if (result) {\n System.out.println(\"Data has been stored into victim cache for instruction\" + st);\n }\n }\n else if(dirtybit==1) {\n if (tag2.equalsIgnoreCase(cachesize[location2][0])) {\n data = datacache[location2][0];\n\n } else if (tag2.equalsIgnoreCase(cachesize[location2][1])) {\n data = datacache[location2][1];\n }\n // data=!(data.equals(null))?data.substring(offset2,offset2+Integer.parseInt(instruction[2])):\" \";\n WriteBuff v = new WriteBuff();\n Boolean result = v.storebuffer(tag2, offset2, data);\n if (result) {\n System.out.println(\"Data has been stored into Write Buffer cache for instruction\" + st);\n }\n }\n break;\n } \n }", "title": "" }, { "docid": "0659091552b0e628348d5400173f74bd", "score": "0.47068787", "text": "@Override\r\n\tpublic void buildLegLeft() {\n\t\tSystem.out.println(\"瘦-左腿\");\r\n\r\n\t}", "title": "" }, { "docid": "f6a759f975f5e1a80ec913329f860530", "score": "0.47047287", "text": "@Override\r\n\t\t\tprotected void onDataNULL() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "8cfd38654d5d40eed59bbfc9e6950631", "score": "0.47022796", "text": "@Override\r\n\tpublic void buildArmLeft() {\n\t\tSystem.out.println(\"瘦-左手\");\r\n\r\n\t}", "title": "" }, { "docid": "67b2d1bff63ccdff53982677262664c9", "score": "0.4701757", "text": "public void clearData()\r\n\t{\r\n\t\ttheData=new Vector();\r\n\t\tleftAxis=new Vector();\r\n\t}", "title": "" }, { "docid": "0bcf6bad3d42bf7fc45497590319985b", "score": "0.46974227", "text": "public void setLeftNode(@NotNull SetNode newNode) {\n left = newNode;\n newNode.prev = prev;\n newNode.next = this;\n if (prev != null) {\n prev.next = newNode;\n assert prev == head || (comparator.compare(newNode.value, prev.value) > 0);\n }\n prev = newNode;\n treeSize++;\n\n assert(comparator.compare(newNode.value, value) < 0);\n }", "title": "" }, { "docid": "e760f853ec83ba06557c219cee3c9c24", "score": "0.46932548", "text": "@Override\n\tpublic void initData() {\n\n\t}", "title": "" }, { "docid": "e760f853ec83ba06557c219cee3c9c24", "score": "0.46932548", "text": "@Override\n\tpublic void initData() {\n\n\t}", "title": "" }, { "docid": "e760f853ec83ba06557c219cee3c9c24", "score": "0.46932548", "text": "@Override\n\tpublic void initData() {\n\n\t}", "title": "" }, { "docid": "f5c9ec6dfee5f60a62cb6f7eb0f20e2b", "score": "0.46899763", "text": "private void populateMerkleNode(MerkleNode oNode, MerkleNode oLeftNode, MerkleNode oRightNode){\n oNode.oLeft = oLeftNode;\n oNode.oRight = oRightNode;\n oNode.sHash = generateHash(oLeftNode.sHash +oRightNode.sHash); //create our node for tree\n }", "title": "" }, { "docid": "b69120640299cf620f6c9513dffa8f9b", "score": "0.46873412", "text": "@Override\r\n\tpublic void customRead() \r\n\t{\n\t\tIloOplDataHandler handler = getDataHandler();\r\n\t\t\r\n\t\thandler.startElement(\"n\");\r\n handler.addIntItem(4);\r\n handler.endElement();\r\n \r\n handler.startElement(\"p\");\r\n handler.addIntItem(2);\r\n handler.endElement();\r\n \r\n handler.startElement(\"r\");\r\n handler.startArray();\r\n handler.addIntItem(0);\r\n handler.addIntItem(1);\r\n handler.addIntItem(3);\r\n handler.addIntItem(4);\r\n handler.endArray();\r\n handler.endElement();\r\n \r\n handler.startElement(\"d\");\r\n handler.startArray();\r\n handler.addIntItem(100);\r\n handler.addIntItem(100);\r\n handler.addIntItem(100);\r\n handler.addIntItem(100);\r\n handler.endArray();\r\n handler.endElement();\r\n \r\n handler.startElement(\"w\");\r\n handler.startArray();\r\n handler.addIntItem(1);\r\n handler.addIntItem(10);\r\n handler.addIntItem(2);\r\n handler.addIntItem(2);\r\n handler.endArray();\r\n handler.endElement();\r\n\r\n\t}", "title": "" }, { "docid": "271b8f099c56283408815637ef15a9b8", "score": "0.46850595", "text": "private static Node moveLEFT(Node node) {\n\t\tint space = node.state.indexOf(0);\n\t\tArrayList<Integer> childState;\n\t\tint temp;\n\t\tNode childNode = new Node();\n\t\t\n\t\tif (space != 0 && space != 3 && space != 6) {\n\t\t\tchildState = (ArrayList<Integer>) node.state.clone();\n\t\t\ttemp = childState.get(space-1);\n\t\t\tchildState.set(space-1,0);\n\t\t\tchildState.set(space,temp);\t\t\t\n\t\t\tchildNode.state = childState;\n\t\t\tchildNode.parent = node;\n\t\t\tchildNode.distance = node.distance + 1;\n\t\t\tchildNode.move = \"LEFT\";\n\t\t\treturn childNode;\n\t\t}\n\t\telse{\n\t\t\treturn null;\n\t\t}\n\t}", "title": "" }, { "docid": "0f494696ea5c0a7b94daa5a0749a6a53", "score": "0.46737754", "text": "public Split() {\n setDataType( MarketDataType.Auxiliary );\n }", "title": "" }, { "docid": "4afc31c0944dc6126e2bd0f6a3f0964d", "score": "0.4671296", "text": "@Override\n public void initializeData() {\n this.name = NAME;\n this.description = oldPotionStrings.DESCRIPTIONS[0];\n\n this.tips.clear();\n this.tips.add(new PowerTip(this.name, this.description));\n this.tips.add(new PowerTip(TipHelper.capitalize(GameDictionary.CALM.NAMES[0]), GameDictionary.keywords.get(GameDictionary.CALM.NAMES[0])));\n this.tips.add(new PowerTip(TipHelper.capitalize(GameDictionary.WRATH.NAMES[0]), GameDictionary.keywords.get(GameDictionary.WRATH.NAMES[0])));\n\n // initializeData clears tips THEN adds the main PowerTip THEN the Stance PowerTip.\n this.tips.get(0).body += (potionStrings.DESCRIPTIONS[0] + maxPotionLevel);\n\n if (getPotionLevel() > 0) {\n if (getPotionLevel() == maxPotionLevel) {\n this.tips.get(0).header += \"+MAX\";\n } else {\n this.tips.get(0).header += \"+\" + getPotionLevel();\n }\n }\n\n this.name = this.tips.get(0).header;\n this.description = this.tips.get(0).body;\n }", "title": "" }, { "docid": "acaa97f07cc2478892599793d293eb2c", "score": "0.46693608", "text": "void initiateData(){\n String timeOfStart = String.valueOf(System.currentTimeMillis()/1000);\n this.saveRecord(0, timeOfStart);//id 1\n this.saveRecord(0, \"5\");//id 2 : Number of 0 cards to learn at once\n this.saveRecord(0, \"1\");//id 3: learn new cards in random order, 0 means No, and 1 means Yes\n this.saveRecord(0, \"0\");//id 4: the length of Cards (banyaknya cards) used by numOfCard()\n this.saveRecord(0, \":\");//id 5: define the slots where there is no card, or empty card (because of deletion)\n for (int i=6;i<cardStartId;i++)\n this.saveRecord(0,\"\");//reserved space for future development\n }", "title": "" }, { "docid": "d35ea71e462a158e50876324c6cb05f5", "score": "0.46672052", "text": "MouseData() {}", "title": "" }, { "docid": "598ce149174ab2897dcba7e6bed0981f", "score": "0.46650815", "text": "private void createLeftArea(Composite group) {\n\t\tGridData layoutData = new GridData(GridData.FILL_BOTH);\n\t\tlayoutData.horizontalAlignment = SWT.FILL;\n\t\tlayoutData.verticalAlignment = SWT.FILL;\n\n\t\tComposite left = new Composite(group, SWT.NONE);\n\t\tleft.setLayout(new GridLayout(1, true));\n\t\tleft.setLayoutData(layoutData);\n\n\t\tlabel_validatorType = new Label(left, SWT.NONE);\n\t\tlabel_validatorType.setText(VALIDATORTYPE_LABEL_TEXT);\n\t\tlist_validatorType = new List(left, SWT.VERTICAL | SWT.BORDER);\n\t\tlist_validatorType.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true,\n\t\t\t\ttrue));\n\t\tlist_validatorType.setItems(ValidatorType.getValidatorTypesString());\n\t\t//list_validatorType.remove(ValidatorType.getIndex(ValidatorType.Custom.getValue()));\n\t}", "title": "" }, { "docid": "af3e6f4b1cd9e33b18c65e92afe9a960", "score": "0.46631238", "text": "private byte[] initData(ByteProcessor gray) {\n final int width = gray.getWidth();\n final int height = gray.getHeight();\n\n byte[] data = new byte[width * height];\n System.arraycopy(gray.getGray(), 0, data, 0, data.length);\n\n return data;\n }", "title": "" }, { "docid": "3ed1dfa689fd277b26d9f794708e2d04", "score": "0.46611297", "text": "OperatorLeftContainer createOperatorLeftContainer();", "title": "" }, { "docid": "a022af65565a4f8abd010406a558fcb7", "score": "0.46611145", "text": "@Override\n protected void initData() {\n }", "title": "" }, { "docid": "a7df5720eb49d0fabf3ff5d10d70dcba", "score": "0.46602196", "text": "@Override\n\tpublic int getData() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "8b60e969ef0bcccfda4e256aa2d10f83", "score": "0.46600133", "text": "public double getLeftPosition() {\n\t\treturn drivetrainLeftEncoder.getPos();\n\t}", "title": "" }, { "docid": "a5dc22bd50762ab5efc4df60fbd514a6", "score": "0.4657975", "text": "@SuppressWarnings(\"unused\")\n\tprivate static int[] leftRotation(int[] input, int rotationCount) {\n\t\tint rotationRequired = rotationCount % input.length;\n\n\t\tfor (int i = 0; i < rotationRequired; i++) {\n\t\t\tint temp;\n\t\t\tint last = input[input.length - 1]; // keep the last value\n\t\t\tfor (int j = 0; j < input.length; j++) {\n\n\t\t\t\ttemp = input[j];\n\n\t\t\t\t// Last value put to second last\n\t\t\t\tif (j == input.length - 1) {\n\t\t\t\t\tinput[j - 1] = last;\n\t\t\t\t} else {\n\t\t\t\t\tinput[j] = input[j + 1];\n\t\t\t\t}\n\n\t\t\t\t// First value move to last\n\t\t\t\tif (j == 0) {\n\t\t\t\t\tinput[input.length - 1] = temp;\n\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn input;\n\t}", "title": "" }, { "docid": "ccb71529d61f64c4d1dc9f452d2779bf", "score": "0.46571162", "text": "protected void addData(AbstractValue in) {\n\t\tdata.add(in);\n\t}", "title": "" }, { "docid": "74bee6dce01aafdb044924e66085f7c7", "score": "0.46561736", "text": "private void initData() {\n }", "title": "" }, { "docid": "fc51900add25ceb4438704aea885fb0a", "score": "0.46550992", "text": "public Node createBST(List<Node> data, int left, int right){\n if(left>right){\n \t return null;\n }\n \n if(data == null || data.size() == 0){\n \t return null;\n }\n // calculate the mid index from the left and right\n int mid = (left+right)/2;\n Node root = data.get(mid);\n // recursively call createBST method to build its left and right components \n root.left(createBST(data, left, mid-1));\n root.right(createBST(data, mid+1, right));\n return root;\n\t}", "title": "" }, { "docid": "a972e031d5a0eb9ce8293c4e558a9c28", "score": "0.4652776", "text": "protected void input_step( ExpressionNode nd, VMState vms ) {\n Assert.check( vms.top().at( nd ) == null ) ;\r\n \r\n // Clear the selection\r\n vms.top().setSelected( null ) ;\r\n \r\n AbstractDatum leftDatum = (AbstractDatum) vms.top().at( nd.child_exp(0) ) ;\r\n \r\n// Assert.check( leftDatum instanceof RefDatum ) ;\r\n// Assert.check( ((RefDatum)leftDatum).deref() != null ) ;\r\n// Assert.check( ((RefDatum)leftDatum).deref() instanceof ObjectDatum ) ;\r\n\r\n Console console = vms.getConsole() ;\r\n \r\n long value ;\r\n boolean valueDetermined ;\r\n if( console.eof() ) {\r\n value = -1 ;\r\n valueDetermined = true ; }\r\n else {\r\n char inputChar = console.peekChar(0) ;\r\n if( inputChar == '\\uffff' ) {\r\n // There is no more input. Stop the\r\n // evaluation so the user can add input.\r\n vms.setEvaluationState( vms.EVALUATION_STATE_NEEDINPUT ) ;\r\n value = 0 ;\r\n valueDetermined = false ; }\r\n else if( inputChar == 0 ) {\r\n console.setFailBit() ; \r\n value = -1 ;\r\n valueDetermined = true ; }\r\n else {\r\n console.consumeChars(1) ;\r\n value = (long) inputChar ;\r\n valueDetermined = true ; } }\r\n if( valueDetermined ) {\r\n Clc_ASTUtilities util = (Clc_ASTUtilities) vms.getProperty(\"ASTUtilities\") ;\r\n IntDatum intDatum = (IntDatum) util.scratchDatum( TyInt.get(), vms) ;\r\n vms.top().map(nd, intDatum) ;\r\n intDatum.putValue( value ) ; }\r\n }", "title": "" }, { "docid": "704fdf1e8ac4462c2fe338e61ec58b21", "score": "0.46442235", "text": "public void setLeft(boolean left) {\n this.left = left;\n }", "title": "" } ]
5e185150f8b61ce5105970ef4a853eb6
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
[ { "docid": "5900da7f98b244cde01ddaad09f32379", "score": "0.0", "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 jTable1 = new javax.swing.JTable();\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 jLabel5 = new javax.swing.JLabel();\n txtmahd = new javax.swing.JTextField();\n cbbmakh = new javax.swing.JComboBox<>();\n cbbmanv = new javax.swing.JComboBox<>();\n txtngaylap = new javax.swing.JTextField();\n jScrollPane2 = new javax.swing.JScrollPane();\n tblhd = new javax.swing.JTable();\n btnthem = new javax.swing.JButton();\n btnsua = new javax.swing.JButton();\n btnxoa = new javax.swing.JButton();\n btnthoat = new javax.swing.JButton();\n jButton1 = new javax.swing.JButton();\n jButton2 = new javax.swing.JButton();\n\n jTable1.setModel(new javax.swing.table.DefaultTableModel(\n new Object [][] {\n {null, null, null, null},\n {null, null, null, null},\n {null, null, null, null},\n {null, null, null, null}\n },\n new String [] {\n \"Title 1\", \"Title 2\", \"Title 3\", \"Title 4\"\n }\n ));\n jScrollPane1.setViewportView(jTable1);\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n addWindowListener(new java.awt.event.WindowAdapter() {\n public void windowClosing(java.awt.event.WindowEvent evt) {\n formWindowClosing(evt);\n }\n public void windowOpened(java.awt.event.WindowEvent evt) {\n formWindowOpened(evt);\n }\n });\n\n jLabel1.setFont(new java.awt.Font(\"Tahoma\", 3, 18)); // NOI18N\n jLabel1.setIcon(new javax.swing.ImageIcon(\"D:\\\\Code\\\\Java\\\\JAVA-20210607T081428Z-001\\\\JAVA\\\\quanlydienmay\\\\Images\\\\lisloaisanpham.png\")); // NOI18N\n jLabel1.setText(\"BẢNG HÓA ĐƠN\");\n\n jLabel2.setText(\"Mã Hóa Đơn:\");\n\n jLabel3.setText(\"Mã KH:\");\n\n jLabel4.setText(\"Mã NV:\");\n\n jLabel5.setText(\"Năm Lập:\");\n\n cbbmakh.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"Item 1\", \"Item 2\", \"Item 3\", \"Item 4\" }));\n\n cbbmanv.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"Item 1\", \"Item 2\", \"Item 3\", \"Item 4\" }));\n\n tblhd.setModel(new javax.swing.table.DefaultTableModel(\n new Object [][] {\n {null, null, null, null, null},\n {null, null, null, null, null},\n {null, null, null, null, null},\n {null, null, null, null, null}\n },\n new String [] {\n \"STT\", \"Mã HD\", \"Tên KH\", \"Tên NV\", \"Năm Lập\"\n }\n ));\n tblhd.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n tblhdMouseClicked(evt);\n }\n });\n jScrollPane2.setViewportView(tblhd);\n\n btnthem.setIcon(new javax.swing.ImageIcon(\"D:\\\\Code\\\\Java\\\\JAVA-20210607T081428Z-001\\\\JAVA\\\\quanlydienmay\\\\Images\\\\Button-Add-icon.png\")); // NOI18N\n btnthem.setText(\"Thêm\");\n btnthem.setToolTipText(\"\");\n btnthem.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnthemActionPerformed(evt);\n }\n });\n\n btnsua.setIcon(new javax.swing.ImageIcon(\"D:\\\\Code\\\\Java\\\\JAVA-20210607T081428Z-001\\\\JAVA\\\\quanlydienmay\\\\Images\\\\pencil-red-icon.png\")); // NOI18N\n btnsua.setText(\"Sửa\");\n btnsua.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnsuaActionPerformed(evt);\n }\n });\n\n btnxoa.setIcon(new javax.swing.ImageIcon(\"D:\\\\Code\\\\Java\\\\JAVA-20210607T081428Z-001\\\\JAVA\\\\quanlydienmay\\\\Images\\\\Delete-icon.png\")); // NOI18N\n btnxoa.setText(\"Xóa\");\n btnxoa.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnxoaActionPerformed(evt);\n }\n });\n\n btnthoat.setIcon(new javax.swing.ImageIcon(\"D:\\\\Code\\\\Java\\\\JAVA-20210607T081428Z-001\\\\JAVA\\\\quanlydienmay\\\\Images\\\\Button-Add-icon.png\")); // NOI18N\n btnthoat.setText(\"Thêm Mới\");\n btnthoat.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnthoatActionPerformed(evt);\n }\n });\n\n jButton1.setFont(new java.awt.Font(\"Tahoma\", 0, 14)); // NOI18N\n jButton1.setIcon(new javax.swing.ImageIcon(\"D:\\\\Code\\\\Java\\\\JAVA-20210607T081428Z-001\\\\JAVA\\\\quanlydienmay\\\\Images\\\\lisloaisanpham.png\")); // NOI18N\n jButton1.setText(\"Lập CT Hóa Đơn\");\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.setIcon(new javax.swing.ImageIcon(\"D:\\\\Code\\\\Java\\\\JAVA-20210607T081428Z-001\\\\JAVA\\\\quanlydienmay\\\\Images\\\\exit.png\")); // NOI18N\n jButton2.setText(\"Đóng Form\");\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(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 .addComponent(jScrollPane2, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 655, Short.MAX_VALUE)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\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(jLabel5))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(cbbmanv, 0, 187, Short.MAX_VALUE)\n .addComponent(txtmahd)\n .addComponent(cbbmakh, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(txtngaylap))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(btnthoat, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(btnthem, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(btnsua, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(btnxoa, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jButton2, 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 .addContainerGap())\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(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addComponent(jLabel1)\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel2)\n .addComponent(txtmahd, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(btnthoat))\n .addGap(35, 35, 35)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel3)\n .addComponent(cbbmakh, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(btnthem))\n .addGap(18, 18, 18))\n .addGroup(layout.createSequentialGroup()\n .addGap(49, 49, 49)\n .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 102, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(34, 34, 34)))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel4)\n .addComponent(cbbmanv, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(btnsua))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel5)\n .addComponent(txtngaylap, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(btnxoa)))\n .addComponent(jButton2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addGap(18, 18, 18)\n .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 275, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n\n pack();\n }", "title": "" } ]
[ { "docid": "37a5472d5b0f35cf64a077bc1dd978c4", "score": "0.7319277", "text": "public Form() {\n initComponents();\n }", "title": "" }, { "docid": "2901c5027f800c57f8efe188557aec1f", "score": "0.72890127", "text": "public MainForm() {\n initComponents();\n }", "title": "" }, { "docid": "2901c5027f800c57f8efe188557aec1f", "score": "0.72890127", "text": "public MainForm() {\n initComponents();\n }", "title": "" }, { "docid": "4a684241247ae1821b0cbb873290726f", "score": "0.7248202", "text": "public form() {\n initComponents();\n }", "title": "" }, { "docid": "1be330851d52c0e98f0142d47217e225", "score": "0.7197499", "text": "public MainForm() {\n initComponents();\n\n }", "title": "" }, { "docid": "bc41d3bffeb7dbcfbf2f44322ad0f0f5", "score": "0.7185469", "text": "public FieldsUI() {\n initComponents();\n }", "title": "" }, { "docid": "50749155e30b2f928a36c79c2632a1ca", "score": "0.7184422", "text": "public ModifyForm() {\n initComponents();\n }", "title": "" }, { "docid": "f872135ad16353dd7eb56a8157fb05f6", "score": "0.7172702", "text": "public MenuForm() {\n initComponents();\n }", "title": "" }, { "docid": "02fc1cd3687593536aea2820b4b02e4f", "score": "0.71614355", "text": "public PointOfSaleForm() {\n setResizable(false);\n initComponents();\n }", "title": "" }, { "docid": "459d80e36bd077856d1a97639abe7487", "score": "0.71056277", "text": "public menuform() {\n initComponents();\n }", "title": "" }, { "docid": "13a6b8b61cd3d3cc3e5df11e4c1e527b", "score": "0.7103959", "text": "public penyetoran() {\n initComponents();\n }", "title": "" }, { "docid": "bcb29122f68215b1f21048662f4932c2", "score": "0.7071296", "text": "public Main_form() {\r\n initComponents();\r\n ///setGuessmenu();\r\n \r\n }", "title": "" }, { "docid": "e7c2be9504b858f91d013d68f9197b23", "score": "0.706968", "text": "public frmDiem() {\n initComponents();\n }", "title": "" }, { "docid": "4eed22d07a8234824cd95adaea0622f7", "score": "0.7066449", "text": "public NewOrderGUI() {\n initComponents();\n }", "title": "" }, { "docid": "2b36b1ad4052b154444626c2dee7e732", "score": "0.704939", "text": "public FormTimKiemNhansu() {\n initComponents();\n setLocationRelativeTo(this);\n }", "title": "" }, { "docid": "e9937a5dab0edb574bdad09a05ef58f4", "score": "0.70432144", "text": "public Creador() {\n initComponents();\n }", "title": "" }, { "docid": "b8df136839c01062b214e6346cfd920d", "score": "0.7011511", "text": "public fr5() {\n initComponents();\n }", "title": "" }, { "docid": "2b6af7cbb7609cc3f7c26a71a1884a85", "score": "0.7009577", "text": "public khachhangform() {\n initComponents();\n setLocationRelativeTo(null);\n init();\n }", "title": "" }, { "docid": "97304b5ac5bc2ccdae8751d1c4e2e187", "score": "0.6985771", "text": "public QuickEventsForm()\r\n\t{\r\n\t\t// reset();\r\n\t}", "title": "" }, { "docid": "31d9c7e1b72766daaa1e24db26c54715", "score": "0.6969739", "text": "public JF_Volumenes() {\n initComponents();\n }", "title": "" }, { "docid": "601872819c05c31c146b6f0815b0648e", "score": "0.696957", "text": "public frmMaquinaCafe() {\n initComponents();\n }", "title": "" }, { "docid": "ecc552ea9b5288639da0aa1107ff8d0d", "score": "0.6968785", "text": "public FormDoiMatKhau() {\n initComponents();\n }", "title": "" }, { "docid": "62586e11bb883916dd5a3329fb2c5553", "score": "0.6962302", "text": "public frmMapa2() {\n initComponents();\n }", "title": "" }, { "docid": "60b34612ce780b108f79f636ca763794", "score": "0.69616836", "text": "public FormShowWhatYouKnow() {\n initComponents();\n }", "title": "" }, { "docid": "398719df95a9de50ef46268ee1e27903", "score": "0.6960218", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n }", "title": "" }, { "docid": "b8f565dd04b95165747119bcfa160c92", "score": "0.69476044", "text": "public GUICadFilme() {\n initComponents();\n }", "title": "" }, { "docid": "cbbe83fa29889d320473b1c28157a1c2", "score": "0.694233", "text": "public JournalForm() {\n initComponents();\n }", "title": "" }, { "docid": "abca895b2170b8f8186464c00859db0a", "score": "0.6940033", "text": "public Kuis1() {\n initComponents();\n }", "title": "" }, { "docid": "554bd75800ae6a86451ecb2b88b767bc", "score": "0.6936908", "text": "public MakePDMForm() {\r\n initComponents();\r\n }", "title": "" }, { "docid": "554c1f6229e654b183122ff63f3af8ea", "score": "0.6932843", "text": "public FinacialForm() {\r\n initComponents();\r\n }", "title": "" }, { "docid": "498caa6ec0aa832b0d857fa6fe94afce", "score": "0.6932431", "text": "public NewInscrForm() {\n initComponents();\n setTitle(\"Online Prospect - BETA\");\n }", "title": "" }, { "docid": "017662ac0d9ed640fb93c71b69b1e992", "score": "0.69262594", "text": "public LapPhieuKhamBenh() {\n initComponents();\n }", "title": "" }, { "docid": "86f0455d153516ee6db63189c62382db", "score": "0.6914839", "text": "public formPizza() {\n initComponents();\n }", "title": "" }, { "docid": "8134476dc6b52000055c99fefdb483bc", "score": "0.6910647", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n\n pack();\n }", "title": "" }, { "docid": "3df4ccf56cd9db0c16ad1ca59148b7ab", "score": "0.68994", "text": "public primerForm() {\n initComponents();\n }", "title": "" }, { "docid": "7e07cba2f4adbda493a8bf31b189cc81", "score": "0.6894896", "text": "public frmAddSinhVien() {\n initComponents();\n }", "title": "" }, { "docid": "c25397b43a5b10f0ca00621b0aeff0e0", "score": "0.6893579", "text": "public NewSponsorHierarchyForm() {\r\n initComponents();\r\n }", "title": "" }, { "docid": "20fc80dec928352715051bee1e68d03a", "score": "0.6884312", "text": "public LuasBangun() {\n initComponents();\n }", "title": "" }, { "docid": "eeb5cc5851f7e15056acb7c1ada13390", "score": "0.6881658", "text": "public FormLeaderboard() {\n initComponents();\n }", "title": "" }, { "docid": "9a58265e205ed1d3e2b60ee6169ef336", "score": "0.68615377", "text": "public frmClientes() {\n initComponents();\n }", "title": "" }, { "docid": "13eb432242a170ba8bb6ab65a6067512", "score": "0.68522066", "text": "public frmMain() {\n initComponents();\n }", "title": "" }, { "docid": "b17dd0fef4b037f6f786495942a51f51", "score": "0.68488747", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setBorder(javax.swing.BorderFactory.createCompoundBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0), 5), javax.swing.BorderFactory.createEmptyBorder(1, 1, 1, 1)));\n setName(\"\"); // NOI18N\n addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n formActionPerformed(evt);\n }\n });\n }", "title": "" }, { "docid": "348f66370ce4a5c305424210c217d393", "score": "0.6847758", "text": "public EditForm() {\n initComponents();\n }", "title": "" }, { "docid": "749e3e2c8fbf77ae31c8fac1bb9b8314", "score": "0.68429786", "text": "public NuevaForm() {\n initComponents();\n \n \n \n \n }", "title": "" }, { "docid": "47386faed0f3822ec8dc503391bd3cd6", "score": "0.6842946", "text": "public FactureForm() {\n initComponents();icon();\n }", "title": "" }, { "docid": "df1d522ff45cba630973ce56d008aefd", "score": "0.68390673", "text": "public pred() {\n initComponents();\n }", "title": "" }, { "docid": "8188750cb79530bff966a6e73364203e", "score": "0.68349075", "text": "public JfrmKhoa() {\n initComponents();\n }", "title": "" }, { "docid": "10220cc7194fb60b7300261a7e71be33", "score": "0.68340576", "text": "public JournalEntryForm() {\n // Init UI components.\n jbInit();\n addListeners();\n\n // Center on screen.\n Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();\n setLocation(\n (screenSize.width - getWidth()) / 2,\n (screenSize.height - getHeight()) / 2);\n }", "title": "" }, { "docid": "bd880ad057e2bee5e0dbc5945f0139f2", "score": "0.68188334", "text": "public ColaboradorUI() {\n initComponents();\n }", "title": "" }, { "docid": "9a83e5e3318b3993c42660e377abdbf4", "score": "0.680208", "text": "public TestForm() {\n initComponents();\n }", "title": "" }, { "docid": "000a6f51483e408ee19cb29edf67d0fb", "score": "0.68016297", "text": "public Frm_KayitOl() {\n initComponents();\n }", "title": "" }, { "docid": "d6539064ebb7230083776231e6efc28a", "score": "0.6801072", "text": "public frmDerivadores() {\n initComponents();\n }", "title": "" }, { "docid": "645a6a52093411179074bf92f1f1ff2a", "score": "0.6786603", "text": "public Janela6() {\n initComponents();\n }", "title": "" }, { "docid": "fd76275761777c0deaeeb6825a759f4d", "score": "0.67834985", "text": "public Credits_GUI() {\n initComponents();\n }", "title": "" }, { "docid": "d9d9d04b322185e26763df5fdc26ebaf", "score": "0.6769842", "text": "public DangNhap() {\n initComponents();\n }", "title": "" }, { "docid": "cb437b5edd16f6082b76655992b4a371", "score": "0.6767831", "text": "public NewAFN() {\n initComponents();\n }", "title": "" }, { "docid": "24d9ebd87c2d5000e870fddfac1c2147", "score": "0.67671984", "text": "public TAddForm() {\n initComponents();\n }", "title": "" }, { "docid": "7a13c6af15a9917ac82e432484e07362", "score": "0.6762579", "text": "public JFrmPrincipal() {\n initComponents();\n }", "title": "" }, { "docid": "aa3abb7761a1bd8544accf31cccd0df2", "score": "0.6760013", "text": "public frmCadEntradaEst() {\n initComponents();\n }", "title": "" }, { "docid": "a3797ab5c28ed3b99e245168b3a38bac", "score": "0.6745367", "text": "public creditframe() {\n initComponents();\n }", "title": "" }, { "docid": "041359f889c5ce55848778624c14e8f5", "score": "0.67426354", "text": "public DronesGUI() {\n initComponents();\n }", "title": "" }, { "docid": "269cc728d6e1d63631797bde47ef4ef5", "score": "0.67425567", "text": "public formVehiculo() {\n initComponents();\n setTitle(\"Vehiculo\");\n setLocationRelativeTo(null);\n setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);\n setVisible(true);\n }", "title": "" }, { "docid": "3a36831d23cf052c8a6127c53d190b56", "score": "0.6736046", "text": "public frmAnimal5() {\n initComponents();\n }", "title": "" }, { "docid": "ec71a1ae7b557368ad7b538ca33a7936", "score": "0.67335117", "text": "public _StockGUI() {\n initComponents();\n }", "title": "" }, { "docid": "f34b058ac0206ba07aac79347505d8a6", "score": "0.6729516", "text": "public EhhsistantGUI() {\n initComponents();\n }", "title": "" }, { "docid": "60fa791df61c65e1cc06aac16865531c", "score": "0.67252696", "text": "public InventoryForm() {\n initComponents();\n loadTableWithData();\n jTextField_Code.requestFocus();\n }", "title": "" }, { "docid": "044b56e56253da4639326c506255780c", "score": "0.6723471", "text": "public RecruiterInterviewEdit() {\n initComponents();\n }", "title": "" }, { "docid": "20b8cfe4054dc5794fcbbbc85739af1a", "score": "0.67224985", "text": "public RegisterForm() {\n initComponents();\n this.setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "6f7ae6eaebe00f3a1c9073bfdeecf825", "score": "0.6719528", "text": "public BASIC_FORM_LIST_EXAMPLE() {\n initComponents();\n }", "title": "" }, { "docid": "742a2f8d003b65cd86646333fc1cb654", "score": "0.67177945", "text": "public registerForm() {\n initComponents();\n this.setLocationRelativeTo(null); // to center the lgin form\n }", "title": "" }, { "docid": "aad0349c09ed74473c1f9a3404e60157", "score": "0.67129433", "text": "public paitnt() {\n initComponents();\n }", "title": "" }, { "docid": "a41106fa544d7d2fd334575876c3e7cf", "score": "0.67077494", "text": "public MainUI() {\n initComponents();\n }", "title": "" }, { "docid": "4c140868c16c2f64c53e85783c61ef8d", "score": "0.6703057", "text": "public Fenster() {\n initComponents();\n }", "title": "" }, { "docid": "cf03399c69d5faa304aae35d722cc3a2", "score": "0.6700016", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\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 .addGap(0, 573, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 398, Short.MAX_VALUE)\n );\n\n pack();\n }", "title": "" }, { "docid": "5c7b9a7bbbe454729341c581d9404cc4", "score": "0.66985494", "text": "public Penyedia() {\n initComponents();\n }", "title": "" }, { "docid": "1a1950e3481a2e47d236981c2ed942f1", "score": "0.6698134", "text": "@SuppressWarnings(\"unchecked\")\r\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\r\n private void initComponents() {\r\n\r\n setLayout(new java.awt.BorderLayout());\r\n }", "title": "" }, { "docid": "86e5434b654a350dac98c1e213d55772", "score": "0.669614", "text": "public MemberUpdateUI() {\n initComponents();\n }", "title": "" }, { "docid": "e7f4260f8ae0a95e6bcc5a346359217b", "score": "0.66902196", "text": "public MaterialEdit() {\n\t\tsuper();\n\t\tname = new JTextField(\"Name\");\n\t\tprice = new JTextField(\"0.00\");\n\t\tquantity = new JTextField(\"0\");\n\t\tacquired = new JCheckBox();\n\t\tinitialize();\n\t}", "title": "" }, { "docid": "b492458252864af0895fa9948fa05534", "score": "0.6688194", "text": "public FormulirMahasiswa1() {\n initComponents();\n this.setTitle(\"Formulir Penilaian\");\n this.setLocationRelativeTo(this);\n nilaiangka.setEnabled(false);\n nilaihuruf.setEnabled(false);\n nama.setEnabled(false);\n }", "title": "" }, { "docid": "3092538fa1aeb0e888827eefe645a72e", "score": "0.66824156", "text": "public StudentDataUI() {\n initComponents();\n }", "title": "" }, { "docid": "c7e10ad8fca36e35e5d12f6c63643553", "score": "0.6682272", "text": "public frmPaciente() {\n initComponents();\n }", "title": "" }, { "docid": "9c710eea7ae348d99ee55ec7265da139", "score": "0.667962", "text": "public UI() {\n initComponents();\n this.setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "bb5cae1afb535b9b545ea956539570a8", "score": "0.6674925", "text": "public frmEjercicio5() {\n initComponents();\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "90fffd9f31b75d680f6f212aca220584", "score": "0.6674417", "text": "public viewform1() {\n initComponents();\n }", "title": "" }, { "docid": "a5fd3f96af8f03b66c04f0ac58f3ff20", "score": "0.6673699", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setBackground(null);\n setForeground(null);\n setEnabled(false);\n setFocusable(false);\n setMaximumSize(new java.awt.Dimension(100, 50));\n setMinimumSize(new java.awt.Dimension(100, 50));\n setPreferredSize(preferredSize());\n setRequestFocusEnabled(false);\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 .addGap(0, 100, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 50, Short.MAX_VALUE)\n );\n }", "title": "" }, { "docid": "a853cc59f14631fe2374c2690549fcb6", "score": "0.66733426", "text": "public QuestionAnswersForm() {\r\n initComponents();\r\n }", "title": "" }, { "docid": "74acb3a8d1949578d99bb55fbe992a54", "score": "0.6673154", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\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 .addGap(0, 715, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 508, Short.MAX_VALUE)\n );\n\n pack();\n }", "title": "" }, { "docid": "5d5d873cfcd4de7744b8b57163d8553c", "score": "0.6673007", "text": "public Fine() {\n initComponents();\n }", "title": "" }, { "docid": "40f19e8a2ec781de929c8389a58c7116", "score": "0.6672747", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setLayout(new java.awt.BorderLayout());\n }", "title": "" }, { "docid": "40f19e8a2ec781de929c8389a58c7116", "score": "0.6672747", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setLayout(new java.awt.BorderLayout());\n }", "title": "" }, { "docid": "40f19e8a2ec781de929c8389a58c7116", "score": "0.6672747", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setLayout(new java.awt.BorderLayout());\n }", "title": "" }, { "docid": "dee7c967a70374bf6208d47f5aa9bb8b", "score": "0.66706425", "text": "public PaymentForm() {\n initComponents();\n }", "title": "" }, { "docid": "2b2621407970317c039acd7ef909f49d", "score": "0.66704154", "text": "public CandidateUI() {\n initComponents();\n }", "title": "" }, { "docid": "297ad179d435c1c0782e8b4f82715869", "score": "0.6667575", "text": "public DoiMatKhau() {\n initComponents();\n this.setLocationRelativeTo(null);// chinh form ra giua man hinh\n }", "title": "" }, { "docid": "a5b98006b2b5bedee4eba285213efc6d", "score": "0.66662294", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n label1 = new java.awt.Label();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);\n\n label1.setAlignment(java.awt.Label.CENTER);\n label1.setText(\"Nothing to see here yet =)\");\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(label1, javax.swing.GroupLayout.DEFAULT_SIZE, 239, Short.MAX_VALUE)\n .addContainerGap())\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(22, 22, 22)\n .addComponent(label1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(20, Short.MAX_VALUE))\n );\n\n pack();\n }", "title": "" }, { "docid": "33d4bb5f4765957027c39bbc7133281a", "score": "0.66661847", "text": "public Requsetform() \n {\n initComponents();\n setResizable(false);\n getRootPane().setDefaultButton(jButton1);\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "c73268eefc7a7022e29fe6e1c1d0ed5c", "score": "0.6666044", "text": "public InitUI2() {\n initComponents();\n }", "title": "" }, { "docid": "0ad1ce74acfc509e1a85d3aa588a495d", "score": "0.66647327", "text": "public frmCalculadora() {\n initComponents();\n }", "title": "" }, { "docid": "dc7a4591eec0dd6b7ffe3d6bcc1bcdf9", "score": "0.6663152", "text": "public JFrame() {\n initComponents();\n }", "title": "" }, { "docid": "dc7a4591eec0dd6b7ffe3d6bcc1bcdf9", "score": "0.6663152", "text": "public JFrame() {\n initComponents();\n }", "title": "" }, { "docid": "5bb3ed051b477ba1eeff8c749f9f4bbb", "score": "0.6662278", "text": "public Latihan4() {\n initComponents();\n }", "title": "" } ]
f23d2c1213e338caf92d9f5617816843
This method was generated by MyBatis Generator. This method corresponds to the database table manufacturing_feedback
[ { "docid": "61550d6795b020c3d5f07ce94a601b5b", "score": "0.0", "text": "long countByExample(ManufacturingFeedbackExample example);", "title": "" } ]
[ { "docid": "d46bc8f50ec1d9e821b4f6ab8b737cdf", "score": "0.6261485", "text": "@Override\n\t//1.method to get all the feedback details saved in the database\n\tpublic List<Feedback> getFeedback() throws SQLException {\n\t\tArrayList<Feedback> feedback1= new ArrayList<Feedback>();\n\t\t\ttry{\n\t\t\t\tstate=con.getConnection().createStatement();//executing a query\n\t\t\t\tString sql=\"select * from feedback\";\n\t\t\t\tResultSet result= state.executeQuery(sql);\t\t\t\n\t\t\t\t\n\t\t\t\t//assigned details retrieved from the database to variables\n\t\t\t\twhile(result.next()) {\n\t\t\t\t\tint Feedback_ID=result.getInt(1);\n\t\t\t\t\tint Cus_ID=result.getInt(2);\n\t\t\t\t\tString Email=result.getString(3);\n\t\t\t\t\tString Date=result.getString(4);\n\t\t\t\t\tString Type=result.getString(5);\n\t\t\t\t\tString Message=result.getString(6);\n\t\t\t\t\tint Rating=result.getInt(7);\n\t\t\t\t\tString Status=result.getString(8);\n\t\t\t\t\t\n\t\t\t\t\tFeedback f1 = new Feedback(Feedback_ID,Cus_ID, Email, Date, Type,Message, Rating, Status);\n\t\t\t\t\tfeedback1.add(f1);\n\t\t\t\t}\n\t\t\t}catch (Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t//return the feedback array object\n\t\treturn feedback1;\n\t}", "title": "" }, { "docid": "b81d2c6b450e46802f7b4e4238598d4b", "score": "0.6083528", "text": "ManufacturingFeedback selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "fa696d927eaeaeb87c3bbf74461efd33", "score": "0.591391", "text": "@Override\n\tpublic int generateFeedback(FeedbackForm feedbackForm)\n\t\t\tthrows ClassNotFoundException, IOException {\n\t\tint i=0;\n\t\tPreparedStatement ps=null;\n\t\tString str = \"insert into FEEDBACK_FORM values (?,?,?,?,?,?)\";\n\t\n\t\ttry\n\t\t{\n\t\t\tConnection con = ConnectionHelper.getMySqlConnection();\n\t\t\t\n\t\t\tps=con.prepareStatement(str);\n\t\t\tps.setInt(1,feedbackForm.getFeedback_id());\n\t\t\tps.setInt(2, feedbackForm.getTraining_id());\n\t\t\tps.setInt(3, feedbackForm.getBatch_id());\n\t\t\tps.setString(4, feedbackForm.getFaculty_name());\n\t\t\tps.setString(5, feedbackForm.getFeedback_date());\n\t\t\tps.setString(6, feedbackForm.getStatus());\n\t\t\t//System.out.println(ps);\n\t\t\ti= ps.executeUpdate();\n\t\t\tSystem.out.println(\"IN DAOimpl after insert query\");\n\t\t\t\n\t\t\tSystem.out.println(i);\n\t\t\tcon.commit();\n\t\t\tcon.close();\n\t\t}\n\t\tcatch(SQLException e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\treturn i;\n\t}", "title": "" }, { "docid": "9319414e8e90edf983e9925120d86559", "score": "0.57502073", "text": "public Set<Feedback> getAllFeedbacks() throws SQLException, ClassNotFoundException;", "title": "" }, { "docid": "4cbb00bc1a9f6178b650878b19d6c571", "score": "0.56480736", "text": "@Override\n\tpublic Set<Feedback> viewFeedbackReport() {\n\t\tICrudOperation<Feedback> iCrudOperation = new FeedbackDaoImpl();\n\t\tSet<Feedback> feedbackset = iCrudOperation.retrieveAll();\n\t\treturn feedbackset;\n\t}", "title": "" }, { "docid": "a42f25aaabea172c563583e0ae39c445", "score": "0.5456191", "text": "@Override\n\tpublic List<Feedback> getAllFeedbacks() {\n\t\treturn dao.findAll();\n\t}", "title": "" }, { "docid": "3e403be6d6f452a790d18877a0ad9798", "score": "0.54106337", "text": "List<ManufacturingFeedback> selectByExample(ManufacturingFeedbackExample example);", "title": "" }, { "docid": "0e6d57431910783afb3c21b68581c2e4", "score": "0.53607166", "text": "@WebMethod\n\tpublic Vector<Feedback> getFeedback(){\n\t\tVector<Feedback> fb = dbManager.retrieveFeedback();\n\t\treturn fb;\n\t}", "title": "" }, { "docid": "9135ba3ed2708cc267e8945b9ec3df74", "score": "0.52485436", "text": "public void saveFeedback(Feedback feedback) throws SQLException, ClassNotFoundException;", "title": "" }, { "docid": "a19be9a352bacac69dba8ab9487f55c4", "score": "0.5230298", "text": "public int getFeedbackId() {\n return feedbackId;\n }", "title": "" }, { "docid": "bbd7a7e03996cbf6bcf16abf4583cf84", "score": "0.52056944", "text": "List<ManufacturingFeedback> selectByExampleSelective(@Param(\"example\") ManufacturingFeedbackExample example, @Param(\"selective\") ManufacturingFeedback.Column ... selective);", "title": "" }, { "docid": "ca5f2807a1d93cb5f4043e1d9119cf32", "score": "0.5148446", "text": "int insertSelective(ManufacturingFeedback record);", "title": "" }, { "docid": "1160b2f9b1381a7ae73323c3eec2704e", "score": "0.5116336", "text": "public void setFeedback(String feedback) {\n this.feedback = feedback;\n }", "title": "" }, { "docid": "d42f8a65e1e9bbf750b9861cbe0a2478", "score": "0.50539345", "text": "public String getFeedback() {\n return this.feedback;\n }", "title": "" }, { "docid": "052f86572ed8b9775e813da15fce4841", "score": "0.5030062", "text": "ManufacturingFeedback selectOneByExampleSelective(@Param(\"example\") ManufacturingFeedbackExample example, @Param(\"selective\") ManufacturingFeedback.Column ... selective);", "title": "" }, { "docid": "07769935434895fbd27231eac4bdf1e8", "score": "0.50148624", "text": "@Override\n\t\t\tpublic List<Report> viewfeedback() {\n\t\t\t\treturn reportRepository.viewfeedback();\n\t\t\t}", "title": "" }, { "docid": "bcbeead34a37b9ae1df83f514d6d95fd", "score": "0.5012551", "text": "SysFeedbackMedia selectByPrimaryKey(Long feedbackMediaId);", "title": "" }, { "docid": "a1df5ddb3ba84281bfeddefa1bc49d55", "score": "0.50072896", "text": "ManufacturingFeedback selectByPrimaryKeySelective(@Param(\"id\") Integer id, @Param(\"selective\") ManufacturingFeedback.Column ... selective);", "title": "" }, { "docid": "1f163db39562576fa00c4ab54ced54e4", "score": "0.5006063", "text": "public interface FeedbackDAO {\n\n ArrayList<Feedback> selectData();\n void insertData(Feedback feedback);\n}", "title": "" }, { "docid": "4a3dd11a0c1abf47da7b571885dcfb94", "score": "0.4950769", "text": "public String toSql(){\r\n\t\treturn \"Not implemented\";\r\n\t}", "title": "" }, { "docid": "076197a951da79070841a9b493549f43", "score": "0.49168596", "text": "int insert(ManufacturingFeedback record);", "title": "" }, { "docid": "56b3173e0cd1aad0cc041cdec1b71d1d", "score": "0.49159914", "text": "@Override\n\tpublic List<Feedback> getSumNow(Feedback feedback) throws Exception {\n\t\treturn feedbackDao.getSumNow(feedback);\n\t}", "title": "" }, { "docid": "bf4d5dfede1852301efd2b44b4b0e88e", "score": "0.49014628", "text": "ManufacturingFeedback selectOneByExample(ManufacturingFeedbackExample example);", "title": "" }, { "docid": "3ce54bd55e5a08e81bd10b9e6d20eaee", "score": "0.4878812", "text": "@Override\n\tpublic List<Feedback> getCountNow(Feedback feedback) {\n\t\treturn feedbackDao.getCountNow(feedback);\n\t}", "title": "" }, { "docid": "74898faf115c5c806dc18c215171566c", "score": "0.4875151", "text": "@Override\r\n\tpublic int insertFeedback(CrFeedbackDTO crFeedbackDTO) {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "289a7c1dc9acedc4bab1491a971e751b", "score": "0.48719653", "text": "@Repository\npublic interface FeedbackMapper {\n\n public List<Feedback> getAllFeedback();\n\n public int addFeedback(Feedback feedback);\n\n}", "title": "" }, { "docid": "c8aca8c983da5f50052014a452b9b632", "score": "0.48451474", "text": "@Override\r\n\tpublic CrFeedbackDTO selectFeedback(String crSubasgnCode) {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "aef6f782149125f9f8ffb202e4a5d5d4", "score": "0.4836934", "text": "int updateByPrimaryKey(ManufacturingFeedback record);", "title": "" }, { "docid": "156f00369a53c4b2430d9a7f7b433927", "score": "0.48290676", "text": "@Override\n\tpublic List<Feedback> findUntreated() throws Exception {\n\t\tFeedbackExample feedbackExample = new FeedbackExample();\n\t\tFeedbackExample.Criteria criteria = feedbackExample.createCriteria();\n\t\tcriteria.andFeedbackStateEqualTo(0);\n\t\treturn feedbackMapper.selectUnionByExample(feedbackExample);\n\t}", "title": "" }, { "docid": "2eacae99b7ba145e8462aa98fedc67d6", "score": "0.48275194", "text": "int updateByPrimaryKeySelective(ManufacturingFeedback record);", "title": "" }, { "docid": "d2118df5e97d221a78a13e34c0d0c53e", "score": "0.48249933", "text": "PlayerFeedback selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "e92f32e63fd88cda87987c3ee2ff2865", "score": "0.47977284", "text": "@RequestMapping(\"/addFeedback\")\r\n //public String addFeedback(@RequestParam(\"name\") String name, @RequestParam(\"email\") String email, @RequestParam(\"reg\") String reg, @RequestParam(\"code\") String code,@RequestParam(\"msg\") String msg, @RequestParam(\"rating\") int rating){\r\n public String addFeedback(@ModelAttribute Feedback feedback){\n fdao.addFeedback(feedback);\r\n return \"welcome.jsp\";\r\n }", "title": "" }, { "docid": "8eebc9124de8f8cfdc664ca704195169", "score": "0.47758567", "text": "@Override\n\tpublic void delete(MeetingFeedback meeetingFeedback) {\n\t\tjdbcTemplate.update(DELETE_MEETING_FEEDBACK_SQL, meeetingFeedback.getId());\n\t}", "title": "" }, { "docid": "992b9ebefb96b99361bce38c0f5a39a4", "score": "0.47548282", "text": "public interface RequestFundsMapper {\r\n\t\r\n\t/*@Select(\"SELECT * FROM user_ WHERE userId = #{userId}\")\r\n\tpublic User searchBasedOnSacwisId(@Param(\"userId\") String userId);*/\r\n\t\r\n\tstatic final String SQL=\"select SACWIS.GET_PERSON_NAME_FORMAT(p.person_id, 'LSFM') as personFullName, nvl(to_char(p.birth_date,'mm/dd/yyyy'), ' ') as dob, p.person_id as sacwisId,nvl(RD.SHORT_DESC,' ') as type,\"+\r\n \" nvl(to_char(lb.official_date,'mm/dd/yyyy'),' ') as custodyDate, nvl(ag.agency_name,' ') as custody, ag.agency_id as custodyAgencyId , ps.placement_setting_id as placement_id, nvl(st.service_desc,' ') as serviceDesc, nvl(e.IVE_ELIGIBLE_INDICATOR,' ') as iveReimbursable, cp.case_id as caseId \"+\r\n\t\t\t\" from sacwis.case_participant cp inner join sacwis.case_participant cRefPerson on cp.case_id = cRefPerson.case_id and cRefPerson.reference_person_flag = 1 \"+\r\n\t\t\t\" inner join sacwis.person p on p.person_id = cp.person_id \"+ \r\n\t\t\t\" left outer join SACWIS.CASE_PARTICIPANT_RELN cpr \"+ //only get relationships that are 'to' the case reference person \r\n\t\t\t\" on cpr.case_id = cp.case_id and cpr.dest_person_id = cp.person_id and cpr.SOURCE_PERSON_ID = cRefPerson.person_id \"+\r\n\t\t\t\" left outer join SACWIS.REF_DATA RD on RD.REF_DATA_CODE = cpr.RELATIONSHIP_CODE and RD.DOMAIN_CODE = 'Relationship' \"+\r\n\t\t\t\" left outer join SACWIS.LEGAL_CUSTODY_EPISODE lce on lce.PERSON_ID = cp.PERSON_ID and nvl(lce.CREATED_IN_ERROR_FLAG,0) = 0 \"+\r\n\t\t\t\" left outer join sacwis.legal_status_info lsi on lsi.LEGAL_CUSTODY_EPISODE_ID = lce.LEGAL_CUSTODY_EPISODE_ID \"+\r\n\t\t \" left outer join sacwis.legal_base lb on lb.legal_base_id = lsi.legal_base_id \"+\r\n\t\t\t\" left outer join SACWIS.LEGAL_CUSTODY_AGENCY_LINK lcal on lcal.LEGAL_CUSTODY_EPISODE_ID = lce.LEGAL_CUSTODY_EPISODE_ID \"+\r\n\t\t\t\" left outer join agency ag on ag.agency_id = lcal.agency_id \"+\r\n\t\t\t\" left outer join SACWIS.PLACEMENT_SETTING ps on ps.CHILD_ID = lce.PERSON_ID \"+\r\n \" and nvl(ps.END_REASON_CODE,'NULL') <> 'CREATEDINERROR' \"+\r\n\t\t\t\" left outer join SACWIS.service_type st on st.service_id = ps.service_id \"+\r\n \" left outer join SACWIS.ELIGIBILITY e \"+ \r\n \" on E.PERSON_ID = CP.PERSON_ID and e.TERMINATION_DATE is null and nvl(e.CREATED_IN_ERROR_FLAG, 0) = 0 \"+\r\n \" where cp.case_id = #{caseId} and cp.CURRENT_STATUS_CODE = 'ACTIVE' and (lce.LEGAL_CUSTODY_EPISODE_id is null \"+ \r\n \" or lb.Official_DATE = (select max(lb.official_date) from legal_base lb \"+\r\n \" inner join legal_status_info lsi on lsi.legal_base_id = lb.legal_base_id \"+\r\n \" inner join legal_participants lp on lp.legal_base_id = lb.legal_base_id where lp.person_id = cp.person_id \"+ \r\n \" and nvl(lsi.CREATED_IN_ERROR_FLAG,0) = 0)) and (ps.placement_setting_id is null or ps.begin_date = (select max(ps.begin_date) \"+ \r\n \" from placement_setting ps where ps.child_id = cp.person_id and nvl(ps.END_REASON_CODE,'**NULL**') <> 'CREATEDINERROR')) order by custody nulls first\";\r\n\t\r\n\tstatic final String SAMPLE=\"select case_id as caseId from sacwis.case_participant where rownum=1\";\r\n\t\r\n\tstatic final String CASE_SQL = \"select GET_PERSON_FULL_NAME(SACWIS.GETEMPLOYEEPERSON_ID(SACWIS.GET_PRIMARY_WORKER(#{caseId}, null))) as caseWorker, \"+\r\n\t\t\t\t\"(CB.LAST_NAME||', '|| CB.FIRST_NAME ||DECODE(CB.MIDDLE_NAME,NULL, ' ',CB.MIDDLE_NAME ))AS caseName, su.person_id as requestingCaseWorker from WORK_ASSIGNMENT WA \"\r\n\t\t\t\t+ \"inner join workload_item wi on wi.workload_item_id = wa.workload_item_id \"\r\n\t\t\t\t+ \" inner join EMPLOYEE E on E.EMPLOYEE_ID = WA.EMPLOYEE_ID \"\r\n\t\t\t\t+ \" inner join SECURITY_USER SU on SU.EMPLOYEE_ID = E.EMPLOYEE_ID \"\r\n\t\t\t\t+ \" inner join CASE_BASE CB on CB.CASE_ID = WI.WORK_ITEM_ID \"\r\n\t\t\t\t+ \" where wi.work_item_id = #{caseId} and wi.work_item_type_code = 'CASE' and su.end_date is null and rownum =1\";\r\n\t\r\n\tstatic final String INSERT_REQUEST_FUNDS = \" INSERT INTO REQUEST_FUNDS(CASE_ID, REQUESTED_DATE, \tCASE_WORKER_REQUESTING,\tCASE_WORKER , \tCASE_NAME ,\tWORKER_PHONE, DONATION , PREPLACEMENT , \"\r\n\t\t\t+ \" AFTERCARE_INDEPENDENCE, KINSHIP_CARE, OPERATING, FAMILY_REUNIFICATION, ALTERNATIVE_RESPONSE, PERSON_RESPFOR_PURCHASE, REQUEST_PURPOSE, \"\r\n\t\t\t+ \" OTHERCOMMRESCONTACTED, TOTALAMTREQUESTED, DATE_REQUIRED, FUND_MODE, FUND_DELIVERY_TYPE, PAYMENT_MADE_FOR, OTHER_INSTRUCTIONS, \"\r\n\t\t\t+ \"\tFURNITURE_DELIVERY_ADDRESS, BUDGET_CENTER, LINEITEM, STATUS_CODE , APPROVER_NAME, APPROVER, CREATED_DATE, CREATED_BY, \"\r\n\t\t\t+ \"\tMODIFIED_DATE, MODIFIED_BY) VALUES \"\r\n\t\t\t+ \"\t(#{caseId}, #{requestedDate}, #{requestingCaseWorker}, #{caseWorker}, #{caseName}, #{workerPhoneNumber}, #{donation}, #{prePlacement}, #{afterCareIndependence}, #{kinshipCare}, \"\r\n\t\t\t+ \" #{operating}, #{familyReunification}, #{alternativeResponse}, #{personRespForPurchase}, #{requestPurpose}, #{otherCommResContacted}, #{totalAmtRequested}, #{dateRequired}, \"\r\n\t\t\t+ \" #{fundMode}, #{fundDeliveryType} ,#{paymentMadeFor}, #{otherInstructions}, #{furnitureDeliveryAddress}, #{budgetCenter}, #{lineItem} \"\r\n\t\t\t+ \"\t, #{statusCode}\t, #{approverName}, #{approver}, #{createdDate},#{createdBy}, #{modifiedDate}, #{modifiedby})\";\r\n\r\n\tstatic final String INSERT_REQUEST_FUNDS_PARTICIPANT =\"INSERT INTO REQUEST_FUNDS_PARTICIPANT(\tREQUEST_FUNDS_ID, PERSON_ID, PERSON_NAME, BIRTH_DATE, RELATIONSHIP_TYPE_CODE, \"\r\n\t\t\t+ \"\tCUSTODY, CUSTODY_AGENCY_ID,\tPLACEMENT_ID, SERVICE_DESC, CUSTODY_DATE,\tIVE_REIMBURSABLE_FLAG, CREATED_DATE ,CREATED_BY , \"\r\n\t\t\t+ \"\tMODIFIED_DATE ,\tMODIFIED_BY) VALUES\t(#{requestFundsId},#{sacwisId},#{personFullName},#{dob},#{type},#{custody},#{custodyAgencyId},#{placementId},#{serviceDesc},#{custodyDate} \"\r\n\t\t\t+ \"\t,#{iveReimbursable},#{createdDate},#{createdBy},#{modifiedDate},#{modifiedby})\";\r\n\r\n\r\n\tstatic final String UPDATE_REQUEST_FUNDS= \"UPDATE REQUEST_FUNDS SET CASE_ID =#{caseId} , REQUESTED_DATE=#{requestedDate}, \"\r\n\t\t\t+ \"\tCASE_WORKER_REQUESTING=#{requestingCaseWorker},\tCASE_WORKER=#{caseWorker} , \tCASE_NAME=#{caseName} ,\tWORKER_PHONE=#{workerPhoneNumber}, \"\r\n\t\t\t+ \"\tDONATION=#{donation} , PREPLACEMENT=#{prePlacement} , \"\r\n\t\t\t+ \"\tAFTERCARE_INDEPENDENCE=#{afterCareIndependence}, KINSHIP_CARE=#{kinshipCare}, OPERATING=#{operating}, FAMILY_REUNIFICATION=#{familyReunification}, \"\r\n\t\t\t+ \"\tALTERNATIVE_RESPONSE=#{alternativeResponse}, PERSON_RESPFOR_PURCHASE=#{personRespForPurchase}, REQUEST_PURPOSE=#{requestPurpose}, \"\r\n\t\t\t+ \"\tOTHERCOMMRESCONTACTED=#{otherCommResContacted}, TOTALAMTREQUESTED=#{totalAmtRequested}, DATE_REQUIRED=#{dateRequired}, \"\r\n\t\t\t+ \"\tFUND_MODE=#{fundMode}, FUND_DELIVERY_TYPE=#{fundDeliveryType}, PAYMENT_MADE_FOR=#{paymentMadeFor}, OTHER_INSTRUCTIONS=#{otherInstructions}, \"\r\n\t\t\t+ \"\tFURNITURE_DELIVERY_ADDRESS=#{furnitureDeliveryAddress}, BUDGET_CENTER=#{budgetCenter}, LINEITEM=#{lineItem}, STATUS_CODE=#{statusCode} ,\"\r\n\t\t\t+ \" APPROVER_NAME= #{approverName}, APPROVER=#{approver}, CREATED_DATE= #{createdDate}, CREATED_BY=#{createdBy}, \"\r\n\t\t\t+ \"\tMODIFIED_DATE=#{modifiedDate}, MODIFIED_BY=#{modifiedby}\";\r\n\t\r\n\tstatic final String RETRIEVE_REQUEST_FUNDS_REQUESTS = \"select REQUEST_FUNDS_ID as id, case_id as caseId, case_name as caseName, case_worker as caseWorker, created_date as createdDate from request_funds where STATUS_CODE = #{statusCode}\";\r\n\t\r\n\tstatic final String RETRIEVE_FUND_REQUEST_BY_ID = \"select REQUEST_FUNDS_ID as id, CASE_ID as caseId, ISNULL(convert(char, REQUESTED_DATE, 101), '') as requestedDate, CASE_WORKER_REQUESTING as requestingCaseWorker, \" +\r\n\t\t\t\t\t\t\t\t\t\t\t\t\"CASE_WORKER as caseWorker ,CASE_NAME as caseName, WORKER_PHONE as worcharkerPhoneNumber, DONATION as donation, PREPLACEMENT as prePlacement, \" +\r\n\t\t\t\t\t\t\t\t\t\t\t\t\"AFTERCARE_INDEPENDENCE as afterCareIndependence, KINSHIP_CARE as kinshipCare, OPERATING as operating, FAMILY_REUNIFICATION as familyReunification, \" +\r\n\t\t\t\t\t\t\t\t\t\t\t\t\"ALTERNATIVE_RESPONSE as alternativeResponse, PERSON_RESPFOR_PURCHASE as personRespForPurchase, REQUEST_PURPOSE as requestPurpose, \" +\r\n\t\t\t\t\t\t\t\t\t\t\t\t\"OTHERCOMMRESCONTACTED as otherCommResContacted, TOTALAMTREQUESTED as totalAmtRequested, ISNULL(convert(char, DATE_REQUIRED, 101), '') as dateRequired, FUND_MODE as fundMode, \" +\r\n\t\t\t\t\t\t\t\t\t\t\t\t\"FUND_DELIVERY_TYPE as fundDeliveryType, PAYMENT_MADE_FOR as paymentMadeFor, OTHER_INSTRUCTIONS as otherInstructions, FURNITURE_DELIVERY_ADDRESS as furnitureDeliveryAddress, \" +\r\n\t\t\t\t\t\t\t\t\t\t\t\t\"BUDGET_CENTER as budgetCenter, LINEITEM as lineItem, STATUS_CODE as statusCode, APPROVER_NAME as approverName, APPROVER as approver, \" +\r\n\t\t\t\t\t\t\t\t\t\t\t\t\"CREATED_DATE as createdDate, CREATED_BY as createdBy, MODIFIED_DATE as modifiedDate, MODIFIED_BY as modifiedby \" +\r\n\t\t\t\t\t\t\t\t\t\t\t\t\"from request_funds where request_funds_id = #{id}\";\r\n\t\r\n\tstatic final String RETRIEVE_FUND_REQUEST_PARTICIPANTS_BY_ID = \"select REQUEST_FUNDS_PARTICIPANT_ID as id, REQUEST_FUNDS_ID as requestFundsId, PERSON_ID as sacwisId, \" +\r\n\t\t\t\t\"PERSON_NAME as personFullName,ISNULL(convert(char, BIRTH_DATE, 101), '') as dob, RELATIONSHIP_TYPE_CODE as type, CUSTODY as custody, CUSTODY_AGENCY_ID as custodyAgencyId, \" +\r\n\t\t\t\t\"PLACEMENT_ID as placementId, SERVICE_DESC as serviceDesc,ISNULL(convert(char, CUSTODY_DATE, 101), '') as custodyDate, IVE_REIMBURSABLE_FLAG as iveReimbursable, CREATED_DATE as createdDate, CREATED_BY as createdBy, \" +\r\n\t\t\t\t\"MODIFIED_DATE as modifiedDate, MODIFIED_BY as modifiedby from REQUEST_FUNDS_PARTICIPANT where REQUEST_FUNDS_ID = #{requestFundsId}\";\r\n\t\r\n\tstatic final String UPDATE_REQUEST_FUNDS_STATUS = \"UPDATE REQUEST_FUNDS SET STATUS_CODE=#{statusCode} , MODIFIED_DATE=#{modifiedDate} where REQUEST_FUNDS_ID=#{id}\";\r\n\t\r\n\t@Select(SQL)\r\n\tpublic List<CaseParticipant> searchBasedOnSacwisId(@Param(\"caseId\") String caseId);\r\n\t\r\n\t@Select(CASE_SQL)\r\n\tpublic List<CaseDetails> retrieveCaseDetails(@Param(\"caseId\") String caseId);\r\n\t\r\n\t@Insert(INSERT_REQUEST_FUNDS)\r\n\t@Options(useGeneratedKeys = true, keyProperty = \"id\", keyColumn = \"REQUEST_FUNDS_ID\")\r\n\tpublic int insertFundRequest(RequestFunds requestFund);\r\n\r\n\t@Insert(INSERT_REQUEST_FUNDS_PARTICIPANT)\r\n\t@Options(useGeneratedKeys = true, keyProperty = \"id\", keyColumn = \"REQUEST_FUNDS_PARTICIPANT_ID\")\r\n\tpublic int insertFundRequestParticipant(CaseParticipant requestFundsParticipant);\r\n\t\r\n\t@Update(UPDATE_REQUEST_FUNDS)\r\n\tpublic int updateFundRequest(RequestFunds requestFund);\r\n\t\r\n\t@Select(RETRIEVE_REQUEST_FUNDS_REQUESTS)\r\n\tpublic List<RequestFunds> retrieveRequestFundsRequests(@Param(\"statusCode\") BigDecimal statusCode);\r\n\t\r\n\t@Select(RETRIEVE_FUND_REQUEST_BY_ID)\r\n\tpublic List<RequestFunds> retrieveFundsRequestById(@Param(\"id\") String requestFundId);\r\n\t\r\n\t@Select(RETRIEVE_FUND_REQUEST_PARTICIPANTS_BY_ID)\r\n\tpublic List<CaseParticipant> retrieveFundsRequestParticipantsById(@Param(\"requestFundsId\") String requestFundId);\r\n\t\r\n\t@Update(UPDATE_REQUEST_FUNDS_STATUS)\r\n\tpublic int updateFundRequestStatus(@Param(\"id\") BigDecimal id, @Param(\"modifiedDate\") Date modifiedDate, @Param(\"statusCode\") BigDecimal statusCode);\r\n}", "title": "" }, { "docid": "a027c84e0627d633dfce3e3d6be0532c", "score": "0.47423172", "text": "@Override\n\tpublic Feedback findFeedback(Long feedbackId) throws Exception {\n\t\tFeedback feedback = feedbackMapper.selectByPrimaryKey(feedbackId);\n\t\treturn feedback;\n\t}", "title": "" }, { "docid": "ff42872f1c1adb8719bd294daf2253a0", "score": "0.4739534", "text": "@Override\n public void migrate(CaaersDataMigrationContext context){\n String query = \"select so.study_id, md.id, md.brand_name, md.common_name, md.device_type,md.manufacturer_name, \" +\n \"md.manufacturer_city, md.manufacturer_state, md.model_number, md.catalog_number \" +\n \"from ae_medical_devices md \" +\n \"join ae_reports r on r.id = md.report_id \" +\n \"join ae_reporting_periods rp on rp.id = r.reporting_period_id \" +\n \"join participant_assignments a on rp.assignment_id=a.id \" +\n \"join study_organizations so on so.id = a.study_site_id \" +\n \"order by so.study_id\";\n \n\n HashMap<String, ArrayList<StudyDeviceWrapper>> studyDeviceMap =\n (HashMap<String, ArrayList<StudyDeviceWrapper>>)getJdbcTemplate().query(query, new ResultSetExtractor(){\n public Object extractData(ResultSet rs) throws SQLException, DataAccessException {\n //a data structure to hold the merged study device -to- medical device mapping.\n final HashMap<String, ArrayList<StudyDeviceWrapper>> studyDeviceMap = new HashMap<String, ArrayList<StudyDeviceWrapper>>();\n String studyId = null;\n ArrayList<StudyDeviceWrapper> studyDeviceWrapperList = null;\n while(rs.next()){\n\n studyId = getString(rs, 1);\n String mdId = getString(rs, 2);\n\n StudyDevice sd = new StudyDevice();\n sd.setOtherBrandName(getString(rs, 3));\n sd.setOtherCommonName(getString(rs, 4));\n sd.setOtherDeviceType(getString(rs, 5));\n sd.setManufacturerName(getString(rs, 6) );\n sd.setManufacturerCity(getString(rs, 7));\n sd.setManufacturerState(getString(rs, 8) );\n sd.setModelNumber(getString(rs, 9));\n sd.setCatalogNumber(getString(rs, 10) );\n\n studyDeviceWrapperList = studyDeviceMap.get(studyId);\n if(studyDeviceWrapperList == null){\n //new study \n studyDeviceWrapperList = new ArrayList<StudyDeviceWrapper>();\n studyDeviceMap.put(studyId, studyDeviceWrapperList);\n }\n StudyDeviceWrapper wrapper = StudyDeviceWrapper.findStudyDeviceWrapper(studyDeviceWrapperList, sd);\n if(wrapper == null){\n //new study device\n wrapper = new StudyDeviceWrapper(studyId, sd, mdId);\n studyDeviceWrapperList.add(wrapper);\n }else{\n //merge to existing study device\n wrapper.addMedicalDeviceId(mdId);\n }\n\n \n }\n return studyDeviceMap; \n }\n\n //some PostgresSQL driver will throw NPE when column is SQL NULL\n // so this workaround....\n public String getString(ResultSet rs , int index) throws SQLException{ \n Object o = rs.getObject(index);\n if(o == null) return null;\n return String.valueOf(o);\n }\n });\n\n //now generate the batch statements.\n ArrayList<String> sqls = new ArrayList<String>();\n for(String key : studyDeviceMap.keySet()){\n ArrayList<StudyDeviceWrapper> wrapperList = studyDeviceMap.get(key);\n for(StudyDeviceWrapper wrapper : wrapperList){\n sqls.add(generateInsertStudyDeviceSQL(context, wrapper)); //insert study device.\n sqls.addAll(generateUpdateMedicalDeviceSQL(wrapper)); // scripts to udpate the medical device\n }\n }\n\n if(log.isDebugEnabled()){\n log.debug(\"SQLs to run [MedicalDeviceDataMigrator] ...\" );\n for(String sql : sqls) log.debug(\" >>> \" + sql);\n }\n if(!sqls.isEmpty())\n getJdbcTemplate().batchUpdate(sqls.toArray(new String[]{}));\n }", "title": "" }, { "docid": "37fd664f489d60c32c0cb80f2ea37039", "score": "0.47252455", "text": "@Override\n public Class<AssessmentAssessmentfeedbackAssessmentsRecord> getRecordType() {\n return AssessmentAssessmentfeedbackAssessmentsRecord.class;\n }", "title": "" }, { "docid": "c0a7f3f1f73d71353b896002b75cddf5", "score": "0.47174302", "text": "@Select({\n \"select\",\n \"serial_id, order_no, guide_price, meet_order_no, meet_guide_id, meet_order_type, \",\n \"meet_order_service_time, meet_order_address, is_match, update_time, create_time\",\n \"from `trade_order_serial`\",\n \"where serial_id = #{serialId,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"serial_id\", property=\"serialId\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"order_no\", property=\"orderNo\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"guide_price\", property=\"guidePrice\", jdbcType=JdbcType.DOUBLE),\n @Result(column=\"meet_order_no\", property=\"meetOrderNo\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"meet_guide_id\", property=\"meetGuideId\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"meet_order_type\", property=\"meetOrderType\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"meet_order_service_time\", property=\"meetOrderServiceTime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"meet_order_address\", property=\"meetOrderAddress\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"is_match\", property=\"isMatch\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"update_time\", property=\"updateTime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"create_time\", property=\"createTime\", jdbcType=JdbcType.TIMESTAMP)\n })\n TradeOrderSerial selectByPrimaryKey(Integer serialId);", "title": "" }, { "docid": "a395fa79fe83880759630c0bbdcb92a0", "score": "0.47120643", "text": "public String getGeneralFeedback() {\r\n return this.generalFeedback;\r\n }", "title": "" }, { "docid": "488ef24af40d9e035e074e70c990dacd", "score": "0.47005823", "text": "@Override\r\n\tpublic String getTableInfoSql() {\n\t\tthrow new RuntimeException(\"不支持创建表信息!\");\r\n\t}", "title": "" }, { "docid": "e0dc44a41e4c9bb23cf8329423bba9c1", "score": "0.46948472", "text": "@RequestMapping(\"/feedback\")\n public String feedback(HttpServletRequest p_request, ModelMap p_model)\n {\n\t\ttry{\n\t\t\t\n\t\t\t\tlogger.info(\"feedback functionality\");\n\t\n\t\t\t\tHttpSession session = p_request.getSession(false);\n\t\t\t\tp_model.addAttribute(JSONPN_STATUS, \"error\");\n\n\t\t\t\t// Validate authentication\n\t\t\t\tif (!SessionUtil.validateSession(session)) {\n\t\t\t\t\tp_model.addAttribute(JSONPN_STATUS, \"timeout\");\n\t\t\t\t\treturn \"../error/401\";\n\t\t\t\t}\n\t\t\t \t\n\t\t\t\t// feedback functionality for except administrator\n\t\t\t\t// if(!AppConstants.USER_TYPE_ADMIN.equals(account.getType())){\t\t\n\t\t\t\tObject accountObj = session.getAttribute(\"theAccount\");\n\t\t\t\tif (null == accountObj)\n\t\t\t\t\treturn \"false\";\n\t\t\t\tif (!(accountObj instanceof Account))\n\t\t\t\t\treturn \"false\";\n\t\t\t\tAccount account = (Account) accountObj;\n\t\t\t\t\n\t\t\t\t String srcLocale = p_request.getParameter(JSONPN_SOURCE_LOCALE);\n\t\t\t\t String trgLocale = p_request.getParameter(JSONPN_TARGET_LOCALE);\n\t\t\t\t MTPLanguagesDAO mtpLangDAO = DispatcherDAOFactory.getMTPLanguagesDAO();\n\t\t\t\t \n\t\t\t\tMachineTranslationProfile machineTranslationProfile = mtpLangDAO.getMTProfileObj(srcLocale,trgLocale);\n\t\t\t\tif(StringUtils.isNull(machineTranslationProfile)){\n\t\t\t\t\tlogger.info(\"Empty object found for Translation Profile\");\n\t\t\t\t\treturn \"Error\";\n\t\t\t\t}\n\t\t\t\t \n\t\t\t\t String srcLocaleTxt = p_request.getParameter(\"srcLocaleTxt\");\n\t\t\t\t String trgLocaleTxt = p_request.getParameter(\"trgLocaleTxt\");\n\t\t\t\t \n\t\t\t\t String srcText = p_request.getParameter(\"srcText\");\n\t\t\t\t String trgText = p_request.getParameter(\"trgText\");\n\t\t\t\t String usrFeedback = p_request.getParameter(\"usrFeedback\");\n\t\t\t\t \n\t\t\t\tlogger.info(\"Preparing mail body...\");\n\t\t\t\tlogger.info(\"MT Dispatcher’s User \"+account.getFullName()+\" (e-mail: \"+account.getEmail() +\") submitted feedback on performance of Microsoft Translator Hub.\");\n\t\t\t\tlogger.info(\"Language Pair: \"+srcLocaleTxt+\" - \"+trgLocaleTxt);\n\t\t\t\tlogger.info(\"Category ID: \"+machineTranslationProfile.getCategory());\n\t\t\t\tlogger.info(\"Text: \"+srcText);\n\t\t\t\tlogger.info(\"Translation: \"+trgText);\n\t\t\t\tlogger.info(\"Feedback: \"+usrFeedback);\n\t\t\t\t\n\t\t\t\t// Start Reading template file\n\t\t\t\tStringBuilder finalContent = new StringBuilder();\n\t\t\t\tString htmlMsg = \"\";\n\t\t\t\ttry {\n\t\t\t\t\t// Read template file\n\t\t\t\t\thtmlMsg = Util.readHtml(\"feedback_email_template.html\");\n\t\t\t\t\t// Add email content to the template text and set template text to finalContent\n\t\t\t\t\tfinalContent.append(Util.setValuesToHtml(htmlMsg, account,srcLocaleTxt,trgLocaleTxt,machineTranslationProfile,srcText,trgText,usrFeedback));\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\tlogger.error(\"Exception occured : \", e);\n\t\t\t\t\tthrow e;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tString emailBodyTxt = finalContent.toString();\n\t\t\t\t// End Reading template file \n\t\t\t\t\n\t\t\t\tlogger.info(trgText);\n\t\t\t\tlogger.info(\"Sending email regarding translation feedback...\");\n\t\n\t\t\t\tMailer mailer = new Mailer();\n\t\t\t\tmailer.sendMail(emailBodyTxt.toString(),account.getEmail());\n\t\t\t\t \n\t\t\t\tp_model.addAttribute(JSONPN_STATUS, \"success\");\n\t\t\t\t\n\t\t}catch(Exception e){\n\t\t\t\t\tp_model.addAttribute(JSONPN_STATUS, \"error\");\n\t\t\t\t\tlogger.error(\"Unable to send email for Feedback: \"+e.getMessage());\n\t\t}\n \t\t\t \t \n return \"success\";\n }", "title": "" }, { "docid": "80dc3d450d1f9633189939c49da98ebd", "score": "0.4694453", "text": "public String getSQL();", "title": "" }, { "docid": "1ade4fdb6c999d11a2c5abd4ddf522b9", "score": "0.4681253", "text": "@Override\n\tpublic FeedbackDAO getFeedbackDAO() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "b841d3e22f1d16cc53d5f9e99614a6f0", "score": "0.46712863", "text": "private void supplierDetails() {\n int c;\n try {\n con = DBConnection.getConnection();\n prst = con.createStatement();\n String sql = \"select * from supplier\";\n \n PreparedStatement prst = con.prepareStatement(sql);\n ResultSet rs = prst.executeQuery();\n ResultSetMetaData Rss = rs.getMetaData();\n c = Rss.getColumnCount();\n DefaultTableModel dr = (DefaultTableModel) suplierTable.getModel();\n dr.setRowCount(0);\n while (rs.next()) {\n Vector v2 = new Vector();\n for (int a = 1; a <= c; a++) {\n v2.add(rs.getString(\"supplier_code\"));\n v2.add(rs.getString(\"supplier_name\"));\n v2.add(rs.getString(\"brand\"));\n v2.add(rs.getString(\"contact\"));\n v2.add(rs.getString(\"address\"));\n \n }\n dr.addRow(v2);\n }\n\n } catch (SQLException ex) {\n // Logger.getLogger(StudentRegistrationForm.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "title": "" }, { "docid": "417c069227df031ac594bc217e341fed", "score": "0.4670756", "text": "public abstract String toSql();", "title": "" }, { "docid": "99e3e01f7e9676bd5fa9614a91dd5b22", "score": "0.46639395", "text": "public feedback(String feedback_des) {\r\n feedbackDescription = feedback_des;\r\n }", "title": "" }, { "docid": "7da53f8bbdc638221e938270660da675", "score": "0.46588334", "text": "public void createFeedback(int Rating, String Content) {\n FeedbackBuilder fb = new FeedbackBuilder();\n fb.setScore(Rating);\n UUID id = UUID.randomUUID();\n String FBID = \"Feedback \"+ id.toString();\n fb.setFeedbackID(FBID);\n fb.setContent(Content);\n Feedback fdbk = fb.getFeedback();\n this.feedbackList.add(fdbk);\n }", "title": "" }, { "docid": "08727aab75147ca3239023f20e1e37b5", "score": "0.4649842", "text": "public Feedback getFeedback(int reqId);", "title": "" }, { "docid": "9849472aa493ba0f888bfbad6421d8ff", "score": "0.46235952", "text": "public interface BlockedBonusInfoModelEMapper extends BaseMapper<BlockedBonusBean> {\n /**\n * 被屏蔽补贴管理\n */\n @SelectProvider(type = BlockedBonusInfoModelEMapper.SubscribeLineProviderSql.class,method = \"getBlockedList\")\n public List<BlockedBonusBean> getBlockedList(BlockedBonusBean blockedBonusBean);\n /**\n * 被屏蔽补贴管理页数\n */\n @SelectProvider(type = BlockedBonusInfoModelEMapper.SubscribeLineProviderSql.class,method = \"getBlockedCount\")\n public Integer getBlockedCount(BlockedBonusBean blockedBonusBean);\n\n\n //内部sql\n class SubscribeLineProviderSql {\n\n /**\n * 货被屏蔽补贴管理的总数\n *\n */\n public String getBlockedCount(final BlockedBonusBean blockedBonusBean){\n StringBuilder sb = new StringBuilder();\n sb.append(\" SELECT \");\n sb.append(\" COUNT(DISTINCT bi.id) \");\n sb.append(\" FROM \");\n sb.append(\" blockedBonusInfo bi \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" userDB.userInfo u1 on bi.userId = u1.id \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" userDB.userOtherInfo uo on uo.userId = u1.id \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" userDB.recommendRelationship rr on bi.recommendationId = rr.id \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" userDB.userInfo u2 on rr.recommendedUserId = u2.id \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" userDB.userOtherInfo ui on ui.userId = u2.id \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" manageDB.userAuditHistory ush ON u2.id = ush.sourceId \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" orderDB.orderInfo oi on bi.orderId = oi.id \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" orderDB.goodsInfo gi on oi.goodsId = gi.id \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" orderDB.goodsDetailInfo gd on gd.goodsId = gi.id \");\n sb.append(\" WHERE bi.deleted = 0 \");\n\n if (blockedBonusBean.getResource() != null && blockedBonusBean.getResource() != \"\"){\n sb.append(\" AND (u1.mobile = #{resource} or oi.orderNo = #{resource})\");\n }\n if (blockedBonusBean.getBlockMobile() != null && blockedBonusBean.getBlockMobile() != \"\"){\n sb.append(\" AND u1.mobile = #{blockMobile}\");\n }\n if (blockedBonusBean.getStartDate() != null){\n sb.append(\" and DATE_FORMAT(bi.createTime,'%Y/%m/%d') >= DATE_FORMAT(#{startDate},'%Y/%m/%d')\");\n }\n if (blockedBonusBean.getEndDate() != null){\n sb.append(\" and DATE_FORMAT(bi.createTime,'%Y/%m/%d') <= DATE_FORMAT(#{endDate},'%Y/%m/%d')\");\n }\n if (blockedBonusBean.getType() != null && blockedBonusBean.getType() > 0){\n sb.append(\" AND bi.type = #{type}\");\n }\n if (blockedBonusBean.getReason() != null && blockedBonusBean.getReason() > 0){\n sb.append(\" AND bi.reason = #{reason}\");\n }\n if (blockedBonusBean.getRecoMobile() != null && blockedBonusBean.getRecoMobile() != \"\"){\n sb.append(\" AND u2.mobile = #{recoMobile}\");\n }\n\n return sb.toString();\n }\n\n /**\n * 查询被屏蔽补贴管理分页\n */\n public String getBlockedList(final BlockedBonusBean blockedBonusBean){\n StringBuilder sb = new StringBuilder();\n sb.append(\" SELECT \");\n sb.append(\" DISTINCT \");\n sb.append(\" bi.id, bi.orderId, bi.reason, bi.remark, bi.status, bi.createTime,\");\n sb.append(\" bi.deleted, bi.version, bi.updateTime, bi.updateBy,IFNULL(ush.remark,'')as reditRemark,\");\n sb.append(\" bi.amount, bi.userId, bi.userName, bi.type, u2.id as recommendationId,oi.orderNo,\");\n sb.append(\" u1.mobile as blockMobile,u2.mobile as recoMobile,IFNULL(u2.username,u1.username) AS recoName,uo.registeredIMEI as blockIMEI,\");\n sb.append(\" ui.registeredIMEI as recoIMEI,gd.depart1,gd.depart2,gd.depart3,gd.destination1,gd.destination2,gd.destination3\");\n sb.append(\" FROM \");\n sb.append(\" blockedBonusInfo bi \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" userDB.userInfo u1 on bi.userId = u1.id \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" userDB.userOtherInfo uo on uo.userId = u1.id \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" userDB.recommendRelationship rr on bi.recommendationId = rr.id \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" userDB.userInfo u2 on rr.recommendedUserId = u2.id \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" userDB.userOtherInfo ui on ui.userId = u2.id \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" manageDB.userAuditHistory ush ON u2.id = ush.sourceId \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" orderDB.orderInfo oi on bi.orderId = oi.id \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" orderDB.goodsInfo gi on oi.goodsId = gi.id \");\n sb.append(\" LEFT JOIN \");\n sb.append(\" orderDB.goodsDetailInfo gd on gd.goodsId = gi.id \");\n sb.append(\" WHERE bi.deleted = 0 \");\n\n if (blockedBonusBean.getResource() != null && blockedBonusBean.getResource() != \"\"){\n sb.append(\" AND (u1.mobile = #{resource} or oi.orderNo = #{resource})\");\n }\n if (blockedBonusBean.getBlockMobile() != null && blockedBonusBean.getBlockMobile() != \"\"){\n sb.append(\" AND u1.mobile = #{blockMobile}\");\n }\n if (blockedBonusBean.getStartDate() != null){\n sb.append(\" and DATE_FORMAT(bi.createTime,'%Y/%m/%d') >= DATE_FORMAT(#{startDate},'%Y/%m/%d')\");\n }\n if (blockedBonusBean.getEndDate() != null){\n sb.append(\" and DATE_FORMAT(bi.createTime,'%Y/%m/%d') <= DATE_FORMAT(#{endDate},'%Y/%m/%d')\");\n }\n if (blockedBonusBean.getType() != null && blockedBonusBean.getType() > 0){\n sb.append(\" AND bi.type = #{type}\");\n }\n if (blockedBonusBean.getReason() != null && blockedBonusBean.getReason() > 0){\n sb.append(\" AND bi.reason = #{reason}\");\n }\n if (blockedBonusBean.getRecoMobile() != null && blockedBonusBean.getRecoMobile() != \"\"){\n sb.append(\" AND u2.mobile = #{recoMobile}\");\n }\n sb.append(\" GROUP BY bi.id ORDER BY bi.id DESC \");\n if(blockedBonusBean.getOffset() >= 0){\n sb.append(\" LIMIT #{offset} , #{limit} \");\n }\n return sb.toString();\n }\n }\n\n}", "title": "" }, { "docid": "70c7da440fed56c7d633bed35b3b5030", "score": "0.46193376", "text": "public String syncRatingColumns(){\n \r\n return \"Success\";\r\n }", "title": "" }, { "docid": "3c84a859c88b47e287bf580e504b7aee", "score": "0.45944157", "text": "@Override\n\tpublic Feedback findById(Long feedbackId) throws Exception {\n\t\treturn feedbackMapper.selectByPrimaryKey(feedbackId);\n\t}", "title": "" }, { "docid": "1e6126b94c55b56e4778fa377bb601ac", "score": "0.45940614", "text": "@Select({\n \"select\",\n \"id, goods_id, sta, start_time, end_time, time, flash_title, flash_picture\",\n \"from xxd_goods_flash\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"goods_id\", property=\"goodsId\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"sta\", property=\"sta\", jdbcType=JdbcType.SMALLINT),\n @Result(column=\"start_time\", property=\"startTime\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"end_time\", property=\"endTime\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"time\", property=\"time\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"flash_title\", property=\"flashTitle\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"flash_picture\", property=\"flashPicture\", jdbcType=JdbcType.VARCHAR)\n })\n XxdGoodsFlash selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "facdbd2b170a1d155a95fdb8009597f0", "score": "0.459267", "text": "public static void giveFeedback() {\r\n\t\tSystem.out.println(\"\\n\" + \"----Feeback Sheet----\");\r\n\t\tSystem.out.println(\"Please enter your name:\");\r\n\t\tString userName = Validation.stringValidation();\r\n\t\tSupplier selectedSup = Part02Tester.getSupplier();\r\n\t\tSystem.out.println(\"\\n\" + \"Please enter any feedback:\");\r\n\t\tString feedback = Validation.stringValidation();\r\n\t\t\r\n\t\tFeedback tempFeedback = new Feedback(userName, selectedSup, feedback);\r\n\t\t\r\n\t\tselectedSup.getFeedback().add(tempFeedback);\r\n\t}", "title": "" }, { "docid": "092d5178963f5794385107d892605411", "score": "0.4592153", "text": "@RequestMapping(value = \"feedback\", method = RequestMethod.POST)\r\n public String saveFeedback(Feedback feedback) {\r\n feedbackService.saveFeedback(feedback);\r\n return \"redirect:/sentfeedback\";\r\n }", "title": "" }, { "docid": "479f2ab4423384efc38dd70ab9223dbd", "score": "0.45889446", "text": "java.util.List<sust.classnotfound.touristfriend.entity.RatingMapping> getRatingMappingList() throws sust.classnotfound.touristfriend.exception.GenericBusinessException;", "title": "" }, { "docid": "007daea7c4ea0efffd17e3f07aa56c15", "score": "0.45879117", "text": "public void feedback() {\n\t}", "title": "" }, { "docid": "46db0a05dec3ef75d1193d12591d4109", "score": "0.45848814", "text": "public String toSqlf(){\r\n\t\treturn toSqlWith(\"\");\r\n\t}", "title": "" }, { "docid": "09e12bfcef36e2c2d3117afdac2ae3ac", "score": "0.4582435", "text": "@Override\n\tpublic List<FeedbackForm> ViewFeedbackForm() throws ClassNotFoundException,\n\t\t\tSQLException, IOException {\n\t\tList<FeedbackForm> ls=new ArrayList<FeedbackForm>();\n\t\ttry{\n\t\t\tConnection con=ConnectionHelper.getMySqlConnection();\n\t\t\tString sql=\"select * from feedback_form\";\n\t\t\tStatement st=con.createStatement();\n\t\t\tResultSet rs=st.executeQuery(sql);\n\t\t\twhile(rs.next())\n\t\t\t{\n\t\t\t\tFeedbackForm t= new FeedbackForm(rs.getInt(1),rs.getInt(2),rs.getInt(3),rs.getString(4),rs.getString(5),rs.getString(6));\n\t\t\t\tls.add(t);\n\t\t\t}\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\tSystem.out.println(e);\n\t\t}\n\t\t\n\t\t\n\t\treturn ls;\n\t}", "title": "" }, { "docid": "f60b4b4d605482d01facdbd4bb2c5bdf", "score": "0.4581767", "text": "public List<Feedback> viewMonthlyFeedbackReport(String date){\n\t\tArrayList<Feedback> feed= new ArrayList<Feedback>();\n\t\ttry {\n\t\t\tstate=con.getConnection().createStatement();\n\t\t\tString sql=\"select * from feedback where month(Date)=extract(month from '\"+date+\"') and year(Date)=extract(year from '\"+date+\"')\";\n\t\t\tResultSet rs= state.executeQuery(sql);\n\t\t\t\n\t\t\twhile(rs.next()) {\n\t\t\t\tint Feedback_ID=rs.getInt(1);\n\t\t\t\tint Cus_ID= rs.getInt(2);\n\t\t\t\tString Email= rs.getString(3);\n\t\t\t\tString Date= rs.getString(4);\n\t\t\t\tString Message=rs.getString(6);\n\t\t\t\tString Status=rs.getString(8);\n\t\t\t\t\n\t\t\t\tFeedback f1= new Feedback(Feedback_ID,Cus_ID,Email,Date, Message, Status);\n\t\t\t\tfeed.add(f1);\n\t\t\t}\n\t\t\t\n\t\t}catch(Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn feed;\n\t}", "title": "" }, { "docid": "11026c285916c3aa595e207ad5e9dd72", "score": "0.45765555", "text": "@Override\n\tpublic List<Feedback> getAllFeedback(long npi) {\n\t\treturn feedbackDAO.getAll(npi);\n\t}", "title": "" }, { "docid": "ed852d5d54d25548ac66789ff1147f29", "score": "0.45711318", "text": "@Select({ \"select\",\n\t\t\t\"sch_id, sch_data, sch_descrizione, sch_critica, id_soggetto, id_struttura, utente_operazione, \",\n\t\t\t\"data_creazione, data_modifica, data_cancellazione, richiesta_mmg, visibile_medico_emergenza, \",\n\t\t\t\"visibile_medico_continuita_ass, sch_terapia_cronica, monitoraggio_tipo_id\", \"from covidus_t_scheda\",\n\t\t\t\"where sch_id = #{schId,jdbcType=INTEGER}\" })\n\t@Results({ @Result(column = \"sch_id\", property = \"schId\", jdbcType = JdbcType.INTEGER, id = true),\n\t\t\t@Result(column = \"sch_data\", property = \"schData\", jdbcType = JdbcType.TIMESTAMP),\n\t\t\t@Result(column = \"sch_descrizione\", property = \"schDescrizione\", jdbcType = JdbcType.VARCHAR),\n\t\t\t@Result(column = \"sch_critica\", property = \"schCritica\", jdbcType = JdbcType.BIT),\n\t\t\t@Result(column = \"id_soggetto\", property = \"idSoggetto\", jdbcType = JdbcType.BIGINT),\n\t\t\t@Result(column = \"id_struttura\", property = \"idStruttura\", jdbcType = JdbcType.VARCHAR),\n\t\t\t@Result(column = \"utente_operazione\", property = \"utenteOperazione\", jdbcType = JdbcType.VARCHAR),\n\t\t\t@Result(column = \"data_creazione\", property = \"dataCreazione\", jdbcType = JdbcType.TIMESTAMP),\n\t\t\t@Result(column = \"data_modifica\", property = \"dataModifica\", jdbcType = JdbcType.TIMESTAMP),\n\t\t\t@Result(column = \"data_cancellazione\", property = \"dataCancellazione\", jdbcType = JdbcType.TIMESTAMP),\n\t\t\t@Result(column = \"richiesta_mmg\", property = \"richiestaMmg\", jdbcType = JdbcType.BIT),\n\t\t\t@Result(column = \"visibile_medico_emergenza\", property = \"visibileMedicoEmergenza\", jdbcType = JdbcType.BIT),\n\t\t\t@Result(column = \"visibile_medico_continuita_ass\", property = \"visibileMedicoContinuitaAss\", jdbcType = JdbcType.BIT),\n\t\t\t@Result(column = \"sch_terapia_cronica\", property = \"schTerapiaCronica\", jdbcType = JdbcType.VARCHAR),\n\t\t\t@Result(column = \"monitoraggio_tipo_id\", property = \"monitoraggioTipoId\", jdbcType = JdbcType.INTEGER) })\n\tCovidusTScheda selectByPrimaryKey(Integer schId);", "title": "" }, { "docid": "26bd92395a5ea0d980a541e696782b56", "score": "0.45685273", "text": "public void setGeneralFeedback(String generalFeedback) {\r\n this.generalFeedback = generalFeedback;\r\n }", "title": "" }, { "docid": "7dad3c131224f59f43199374c0daec30", "score": "0.45632893", "text": "public String getName() {\n return \"BasicFeedback\";\n }", "title": "" }, { "docid": "378fe1d34e7832dedad328924bcabe7f", "score": "0.45574713", "text": "@Mapper\npublic interface SubjectAdvancedPayOffPenaltyDefDao {\n\n @Select(\"select * from ndr_subject_advanced_payoff_penalty_def where id = #{id}\")\n SubjectAdvancedPayOffPenaltyDef findById(Integer id);\n\n @Insert(\"INSERT INTO ndr_subject_advanced_payoff_penalty_def \" +\n \"('code', 'def_desc', 'penalty_rate', 'penalty_base', 'create_time', 'update_time') \" +\n \"VALUES \" +\n \"(#{code}, #{defDesc}, #{penaltyRate}, #{penaltyBase}, #{createTime}, #{updateTime})\")\n int insert(SubjectAdvancedPayOffPenaltyDef subjectAdvancedPayOffPenaltyDef);\n\n}", "title": "" }, { "docid": "e7a94de06b4637b0a1a1f51178b258c3", "score": "0.45484385", "text": "public List getObligation_forWarranty_FromDB(String serial_number, String product_id) \n\t{\n\t\tStringBuilder sb = new StringBuilder();\n\t\t//List listObj = new ArrayList();\n\t\tEmbeded emb = new Embeded();\n\t\ttry {\n\t\t\t//System.out.println(\"Listing system tables...\");\n\t\t\tcon = getConnection();\n\t\t\tstmt = con.createStatement();\n\t\t\t//String sql = \"SELECT distinct overall_contract_start_date , overall_contract_end_date , start_Date, end_Date, active_contract_entitlement , status ,offer_code, package_code, offer_description FROM app_bm_graphics_lf_telemetry.product_entitlement WHERE serial_number = 'SG68D1N001' AND product_id = 'K4T88A' AND obligation_type = 'C' ORDER BY status ASC\";\n\n\t\t\tsb.append(\"SELECT distinct overall_warranty_start_date , overall_warranty_end_date , start_date,\\r\\n\" + \n\t\t\t\t\t\" end_date,active_warranty_entitlement , status , warranty_determination_description , factory_warranty_term_code ,\\r\\n\" + \n\t\t\t\t\t\"factory_warranty_start_date , factory_warranty_end_date ,offer_code ,offer_description , sales_order_number , covwindow , response_commitment \\r\\n\" + \n\t\t\t\t\t\"FROM app_bm_graphics_lf_telemetry.product_entitlement\\r\\n\" + \n\t\t\t\t\t\"WHERE serial_number =\");\n\t\t\tsb.append(\"'\" + serial_number + \"'\" + \" AND product_id=\" + \"'\" + product_id + \"'\" + \" AND obligation_type = 'W' \");\n\n\t\t\tcon = getConnection();\n\t\t\tstmt = con.createStatement();\n\t\t\tString sql = sb.toString();\n\t\t\t//System.out.println(\"\\n<=======Query====> \\n\" + sql + \"\\n\" );\n\n\t\t\trs = stmt.executeQuery(sql);\n\t\t\t// Get the data from the result set.\t\t\t\n\t\t\tWarranty warrantyDbObj = null;\n\n\t\t\twhile (rs.next()) {\n\t\t\t\twarrantyDbObj = new Warranty();\n\n\t\t\t\twarrantyDbObj.setOverallWarrantyStartDate(rs.getString(\"overall_warranty_start_date\"));\n\t\t\t\twarrantyDbObj.setOverallWarrantyEndDate(rs.getString(\"overall_warranty_end_date\"));\n\t\t\t\twarrantyDbObj.setStartDate(rs.getString(\"start_date\"));\n\t\t\t\twarrantyDbObj.setEndDate(rs.getString(\"end_date\"));\n\n\t\t\t\tif(rs.getString(\"status\").equals(\"X\") || rs.getString(\"status\").equals(\"C\") || \n\t\t\t\t\t\trs.getString(\"status\").equals(\"R\") || rs.getString(\"status\").equals(\"F\"))\n\t\t\t\t{\n\t\t\t\t\twarrantyDbObj.setActive(\"FALSE\");\n\t\t\t\t} else {\n\t\t\t\t\twarrantyDbObj.setActive(rs.getString(\"active_warranty_entitlement\"));\n\t\t\t\t}\n\n\t\t\t\t//warrantyDbObj.setActive(rs.getString(\"active_warranty_entitlement\"));\n\n\t\t\t\twarrantyDbObj.setStatus(rs.getString(\"status\"));\n\t\t\t\twarrantyDbObj.setWarrantyDeterminationDescription(rs.getString(\"warranty_determination_description\"));\n\t\t\t\twarrantyDbObj.setFactoryWarrantyTermCode(rs.getString(\"factory_warranty_term_code\"));\t\t\t\t\t\t\n\t\t\t\twarrantyDbObj.setFactoryWarrantyStartDate(rs.getString(\"factory_warranty_start_date\"));\n\t\t\t\twarrantyDbObj.setFactoryWarrantyEndDate(rs.getString(\"factory_warranty_end_date\"));\n\t\t\t\twarrantyDbObj.setOfferCode(rs.getString(\"offer_code\"));\n\t\t\t\twarrantyDbObj.setOfferDescription(rs.getString(\"offer_description\"));\n\t\t\t\twarrantyDbObj.setSalesOrderNumber(rs.getString(\"sales_order_number\"));\n\t\t\t\twarrantyDbObj.setCovWindow(rs.getString(\"covwindow\"));\n\t\t\t\twarrantyDbObj.setResponseCommitment(rs.getString(\"response_commitment\"));\n\n\t\t\t\temb.getWarrantyList().add(warrantyDbObj);\n\n\t\t\t\t//System.out.println(\"\\n Contract values list==> \" + emb.getContractList() );\n\t\t\t\t//emb.getContractList();\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t}finally {\n\t\t\ttry {\n\t\t\t\trs.close();\n\t\t\t\tstmt.close();\n\t\t\t\tcon.close();\n\t\t\t} catch (SQLException 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\t//System.out.println(\"\\nFrom DB: List of objects are => \" + emb.getWarrantyList());\n\t\treturn emb.getWarrantyList();\n\n\t}", "title": "" }, { "docid": "5ff713b086331b8d3ed34c87bb12ae34", "score": "0.45457685", "text": "public String getFeedbackCode() {\r\n\t\treturn feedbackCode;\r\n\t}", "title": "" }, { "docid": "3f89e41f8ca74ea44822a7e7669080cd", "score": "0.45452517", "text": "@Override\r\n\tpublic Map<String, String> mappingRow(Model mdd) {\n\t\tJjxt_主表Model md=(Jjxt_主表Model)mdd;\r\n\t\tMap<String,String> j=new HashMap<String, String>();\r\n\t\ttry {\r\n\t\tj.put(\"验收单编号\", md.get验收单编号());\r\n\t\tj.put(\"资产编号\", md.get资产编号() );\r\n\t\tj.put(\"资产名称\", md.get资产名称() );\r\n\t\tj.put(\"分类号\", md.get分类号() );\r\n\t\tj.put(\"国资分类号\", md.get国资分类号() );\r\n\t\tj.put(\"采购编号\", md.get采购编号() );\r\n\t\tj.put(\"型号\", md.get型号() );\r\n\t\tj.put(\"规格\", md.get规格() );\r\n\t\tj.put(\"资产来源\", md.get资产来源() );\r\n\t\tj.put(\"经费来源\", md.get经费来源() );\r\n\t\tj.put(\"购置日期\", md.get购置日期() );\r\n\t\tj.put(\"单价\", md.get单价() );\r\n\t\tj.put(\"数量\", md.get数量() );\r\n\t\tj.put(\"附件总额\", md.get附件总额() );\r\n\t\tj.put(\"附件总数量\", md.get附件总数量() );\r\n\t\tj.put(\"总金额\", md.get总金额() );\r\n\t\tj.put(\"国别\", md.get国别() );\r\n\t\tj.put(\"出厂编号\", md.get出厂编号() );\r\n\t\tj.put(\"出厂日期\", md.get出厂日期() );\r\n\t\tj.put(\"生产厂家\", md.get生产厂家() );\r\n\t\tj.put(\"领用人\", md.get领用人() );\r\n\t\tj.put(\"领用日期\", md.get领用日期() );\r\n\t\tj.put(\"现状\", md.get现状() );\r\n\t\tj.put(\"使用方向\", md.get使用方向() );\r\n\t\tj.put(\"管理单位\", md.get管理单位() );\r\n\t\tj.put(\"使用单位\", md.get使用单位() );\r\n\t\tj.put(\"条码\", md.get条码() );\r\n\t\tj.put(\"资产原值\", md.get资产原值() );\r\n\t\tj.put(\"资产原数量\", md.get资产原数量() );\r\n\t\tj.put(\"资产原总金额\", md.get资产原总金额() );\r\n\t\tj.put(\"附件原总额\", md.get附件原总额() );\r\n\t\tj.put(\"附件原总数量\", md.get附件原总数量() );\r\n\t\tj.put(\"录入人\", md.get录入人() );\r\n\t\tj.put(\"录入时间\", md.get录入时间() );\r\n\t\tj.put(\"管理人\", md.get管理人() );\r\n\t\tj.put(\"存放地点\", md.get存放地点() );\r\n\t\tj.put(\"使用年限\", md.get使用年限() );\r\n\t\tj.put(\"折旧状态\", md.get折旧状态() );\r\n\t\tj.put(\"折旧方法\", md.get折旧方法() );\r\n\t\tj.put(\"折旧时间\", md.get折旧时间() );\r\n\t\tj.put(\"已提折旧月数\", md.get已提折旧月数() );\r\n\t\tj.put(\"月折旧率\", md.get月折旧率() );\r\n\t\tj.put(\"月折旧额\", md.get月折旧额() );\r\n\t\tj.put(\"减值准备\", md.get减值准备() );\r\n\t\tj.put(\"残值率\", md.get残值率() );\r\n\t\tj.put(\"累计折旧\", md.get累计折旧() );\r\n\t\tj.put(\"净值\", md.get净值() );\r\n\t\tj.put(\"供货商\", md.get供货商() );\r\n\t\tj.put(\"备注\", md.get备注() );\r\n\t\tj.put(\"审核人\", md.get审核人() );\r\n\t\tj.put(\"审核时间\", md.get审核时间() );\r\n\t\tj.put(\"报账日期\", md.get报账日期() );\r\n\t\tj.put(\"对账人\", md.get对账人() );\r\n\t\tj.put(\"财务凭单号\", md.get财务凭单号() );\r\n\t\tj.put(\"财务分类\", md.get财务分类() );\r\n\t\tj.put(\"图片1\", md.get图片1() );\r\n\t\tj.put(\"图片2\", md.get图片2() );\r\n\t\tj.put(\"图片3\", md.get图片3() );\r\n\t\tj.put(\"清查状态\", md.get清查状态() );\r\n\t\tj.put(\"清查日期\", md.get清查日期() );\r\n\t\r\n\t\t\tj.put(\"盘亏盘盈原因\", md.get盘亏盘盈原因() );\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\r\n\t\treturn j;\r\n\t}", "title": "" }, { "docid": "f9d7e5384f54b56707918e948a59bcee", "score": "0.4541824", "text": "public static void contactReport(){\n String SelectStatement = \"SELECT * FROM contact_total\";\n ResultSet rs;\n Statement statement = getStatement();\n\n try {\n statement.execute(SelectStatement);\n rs = statement.getResultSet();\n while (rs.next()) {\n int contact = rs.getInt(\"Contact_ID\");\n int appointment = rs.getInt(\"Appointment_ID\");\n String title = rs.getString(\"Title\");\n String description = rs.getString(\"Description\");\n Timestamp start = rs.getTimestamp(\"Start\");\n Timestamp end = rs.getTimestamp(\"End\");\n int customer = rs.getInt(\"Customer_ID\");\n LocalDateTime Start = start.toLocalDateTime();\n LocalDateTime End = end.toLocalDateTime();\n ContactTotal contactTotal = new ContactTotal(contact, appointment,title,description,Start,End,customer);\n ContactTotal.addContactTotal(contactTotal);\n\n }\n } catch (SQLException throwables) {\n throwables.printStackTrace();\n }\n }", "title": "" }, { "docid": "bf24a047a3da943767e75f7bab6efe58", "score": "0.453633", "text": "public String[] getAProductsFeedbackComments() {\n return null;\n }", "title": "" }, { "docid": "16bb45e5aa4fb636a6cf229c833237bd", "score": "0.4534636", "text": "@Select({\r\n \"select\",\r\n \"CREATE_DATE, FILE_SEQ, HIS_SEQ, INSERT_DATE, INSERT_UID, MAC_NO, TRX_DATE, TRX_NO, \",\r\n \"ACT_CD\",\r\n \"from AMS.T_RM_FILE_HIS\",\r\n \"where CREATE_DATE = #{createDate,jdbcType=VARCHAR}\",\r\n \"and FILE_SEQ = #{fileSeq,jdbcType=VARCHAR}\",\r\n \"and HIS_SEQ = #{hisSeq,jdbcType=VARCHAR}\"\r\n })\r\n @Results({\r\n @Result(column=\"CREATE_DATE\", property=\"createDate\", jdbcType=JdbcType.VARCHAR, id=true),\r\n @Result(column=\"FILE_SEQ\", property=\"fileSeq\", jdbcType=JdbcType.VARCHAR, id=true),\r\n @Result(column=\"HIS_SEQ\", property=\"hisSeq\", jdbcType=JdbcType.VARCHAR, id=true),\r\n @Result(column=\"INSERT_DATE\", property=\"insertDate\", jdbcType=JdbcType.TIMESTAMP),\r\n @Result(column=\"INSERT_UID\", property=\"insertUid\", jdbcType=JdbcType.VARCHAR),\r\n @Result(column=\"MAC_NO\", property=\"macNo\", jdbcType=JdbcType.VARCHAR),\r\n @Result(column=\"TRX_DATE\", property=\"trxDate\", jdbcType=JdbcType.VARCHAR),\r\n @Result(column=\"TRX_NO\", property=\"trxNo\", jdbcType=JdbcType.VARCHAR),\r\n @Result(column=\"ACT_CD\", property=\"actCd\", jdbcType=JdbcType.VARCHAR)\r\n })\r\n TRmFileHis selectByPrimaryKey(TRmFileHisKey key);", "title": "" }, { "docid": "b5e83dd7cca27f8501742a8013ece07b", "score": "0.45152116", "text": "public int row_AllfeedBack() throws SQLException, NamingException {\n int row = 0;\n try {\n openConnection();\n String sql = \"Select * from feedback\";\n PreparedStatement stm = (PreparedStatement) connection.prepareStatement(sql);\n ResultSet rs = stm.executeQuery();\n ArrayList list = new ArrayList();\n while (rs.next()) {\n row++;\n }\n rs.close();\n stm.close();\n } catch (Exception e) {\n e.printStackTrace();\n } finally {\n closeConnection();\n }\n return row;\n }", "title": "" }, { "docid": "2f3fd05e74c32cada8062eb52fc6ef5e", "score": "0.45013964", "text": "String getSqlString(String relationalModelName);", "title": "" }, { "docid": "d4e46d5fdbb563a4d521882552b22fcd", "score": "0.4484826", "text": "public String buildStrPeformanceData(String risk1, String risk2){\n\t\t\n\t\t\n\t//\tSimpleDateFormat SDF = new SimpleDateFormat(\"yyyy-MM-dd\");\n\t\t// SimpleDateFormat SDF = new SimpleDateFormat(\"yyyy/MM/dd HH:mm:ss\");\n\t\t\n\t\t\n\t\t String jsonstr = \"\";\n\t\t\n\t\t String performancestr = \"select P.SymID,P.InceptionDate_,P.MER_,P.Assets_,P.Rank_,P.MstarRating_,P.StdDev_,P.VolatileRank_,\" +\n\t \"P.MstarRisk_,P.Alpha_,P.Beta_,P.Rsquared_,P.RRSPEligibility_,P.Load_,P.MaxFrontEnd_,P.MaxBackEnd_,P.SaleOpen_,P.NavPS_,\" +\n\t \"P.NetAsset_,P.Yield_,P.Dividend_,P.Managers_,P.Fees_,P.FundName_\" +\n\t \" from PerformanceData P where P.volatilerank_ >= '\" + risk1 + \"' and P.volatilerank_ <= '\" + risk2 + \"'\";\n\n\t\t jPerformanceData jperform = new jPerformanceData();\n\t\n\t\n\t\t \n List<String> data = getJdbcTemplate().query(performancestr, new RowMapper<String>(){\n\t\t\t \n\t\t\t String jsonstr = \"\";\n public String mapRow(ResultSet rs, int rowNum) \n throws SQLException {\n \t \n \t \n \t \n \n jperform.setInceptionDate(rs.getDate(\"InceptionDate_\"));\n jperform.setAlpha(rs.getDouble(\"Alpha_\"));\n \t\t\tjperform.setAssets(rs.getDouble(\"Assets_\"));\n \t\t\tjperform.setBeta(rs.getDouble(\"Beta_\"));\n \t\t\tjperform.setDividend(rs.getDouble(\"Dividend_\"));\n \t\t\tjperform.setFees(rs.getDouble(\"Fees_\"));\n \t\t\tjperform.setFundName(rs.getString(\"FundName_\"));\n \t\t\tjperform.setLoad(rs.getString(\"Load_\"));\n \t\t\tjperform.setManagers(rs.getString(\"Managers_\"));\n \t\t\tjperform.setMaxBackEnd(rs.getDouble(\"MaxBackEnd_\"));\n \t\t\tjperform.setMER(rs.getDouble(\"MER_\"));\n \t\t\tjperform.setMstarRating(rs.getDouble(\"MstarRating_\"));\n \t\t\tjperform.setMstarRisk(rs.getDouble(\"MstarRisk_\"));\n \t\t\tjperform.setNavPS(rs.getDouble(\"NavPS_\"));\n \t\t\tjperform.setRank(rs.getDouble(\"Rank_\"));\n \t\t\tjperform.setRRSPEligibility(rs.getString(\"RRSPEligibility_\"));\n \t\t\tjperform.setRsquared(rs.getDouble(\"Rsquared_\"));\n \t\t\tjperform.setSaleOpen(rs.getString(\"SaleOpen_\"));\n \t\t\tjperform.setStdDev(rs.getDouble(\"StdDev_\"));\n \t\t\tjperform.setSymID(rs.getString(\"SymID\"));\n \t\t\tjperform.setVolatileRank(rs.getDouble(\"VolatileRank_\"));\n \t\t\tjperform.setYield(rs.getDouble(\"Yield_\"));\n \n \n \n jsonstr += jperform.toString();\n jsonstr += \",\";\n \n \n return jsonstr;\n \n \n \n }\n \n });\n\t\t\t\n\t\t\t\n\t\tIterator itemIterator = data.iterator();\n\t\t\t\t\n\t\twhile(itemIterator.hasNext()){\n\t\t\t\n\t\t\tjsonstr+= (String)itemIterator.next();\n\t\t\t\n\t\t}\n\t\t \n\t\t \n\t\treturn jsonstr;\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "7bb43f9a927199887127fdd80498d09a", "score": "0.44755927", "text": "@Select({\n \"select\",\n \"orderId, orderSN, placeId, placeCityId, serviceDate, serviceTime, serviceAllDateDisplay, \",\n \"localDay, nonlocalDay, departure, destination, distance, deptDetailAddress, \",\n \"destDetailAddress, seatCategory, type, price, clientPrice, guidePrice, orderType, \",\n \"userGuideId, preGuideId, guideId, clientType, clientId, userpassportId, adminId, \",\n \"status, payStatus, hasRefund, imToken, deliveredPriority, dealOrderTime, reDeliverType, \",\n \"reDeliverCount, deliverTime, guideCommentStatus, userCommentStatus, updated_at, \",\n \"refId, mode, serviceCar, serviceGuide, serviceCarId, serviceGuideId, agencyType, \",\n \"deleted_at, created_at\",\n \"from `order`\",\n \"where orderId = #{orderid,jdbcType=VARCHAR}\"\n })\n @Results({\n @Result(column=\"orderId\", property=\"orderid\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"orderSN\", property=\"ordersn\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"placeId\", property=\"placeid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"placeCityId\", property=\"placecityid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"serviceDate\", property=\"servicedate\", jdbcType=JdbcType.DATE),\n @Result(column=\"serviceTime\", property=\"servicetime\", jdbcType=JdbcType.TIME),\n @Result(column=\"serviceAllDateDisplay\", property=\"servicealldatedisplay\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"localDay\", property=\"localday\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"nonlocalDay\", property=\"nonlocalday\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"departure\", property=\"departure\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"destination\", property=\"destination\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"distance\", property=\"distance\", jdbcType=JdbcType.DECIMAL),\n @Result(column=\"deptDetailAddress\", property=\"deptdetailaddress\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"destDetailAddress\", property=\"destdetailaddress\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"seatCategory\", property=\"seatcategory\", jdbcType=JdbcType.TINYINT),\n @Result(column=\"type\", property=\"type\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"price\", property=\"price\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"clientPrice\", property=\"clientprice\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"guidePrice\", property=\"guideprice\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"orderType\", property=\"ordertype\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"userGuideId\", property=\"userguideid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"preGuideId\", property=\"preguideid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"guideId\", property=\"guideid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"clientType\", property=\"clienttype\", jdbcType=JdbcType.TINYINT),\n @Result(column=\"clientId\", property=\"clientid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"userpassportId\", property=\"userpassportid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"adminId\", property=\"adminid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"status\", property=\"status\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"payStatus\", property=\"paystatus\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"hasRefund\", property=\"hasrefund\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"imToken\", property=\"imtoken\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"deliveredPriority\", property=\"deliveredpriority\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"dealOrderTime\", property=\"dealordertime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"reDeliverType\", property=\"redelivertype\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"reDeliverCount\", property=\"redelivercount\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"deliverTime\", property=\"delivertime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"guideCommentStatus\", property=\"guidecommentstatus\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"userCommentStatus\", property=\"usercommentstatus\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"updated_at\", property=\"updatedAt\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"refId\", property=\"refid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"mode\", property=\"mode\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"serviceCar\", property=\"servicecar\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"serviceGuide\", property=\"serviceguide\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"serviceCarId\", property=\"servicecarid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"serviceGuideId\", property=\"serviceguideid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"agencyType\", property=\"agencytype\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"deleted_at\", property=\"deletedAt\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"created_at\", property=\"createdAt\", jdbcType=JdbcType.TIMESTAMP)\n })\n FinalOrderBean selectByPrimaryKey(String orderid);", "title": "" }, { "docid": "dae664bdb8e21b8a3f3e2ac6cb906fc8", "score": "0.44735315", "text": "public List<EventcreateCommand> getempdetails(){\n\t\tDataSource dataSource3 = DataFactory.getDataSource();\n\t\t\n\t System.out.println(\"connected to database\");\n\t\tString sq= new String(\"SELECT mic,speaker,projector,led from dbo.productlist \") ;\n\t\tJdbcTemplate temp = new JdbcTemplate(dataSource3);\n\t\t\n\t\t\n\t\tList<EventcreateCommand> employee = (List<EventcreateCommand>) temp.query(sq, new Empservice()); \n\t\t\n\t\treturn employee;\n\t\n}", "title": "" }, { "docid": "9254deb59f2525e36a8a8d6749aafc3d", "score": "0.446897", "text": "public void contactForm(contactDetails contact) throws ClassNotFoundException, SQLException{\n\t\tClass.forName(\"com.mysql.jdbc.Driver\");\n\t\t\t\t\t\t\n\t\t//get the connection\n\t\tConnection con = DriverManager.getConnection(url, userName, password);\n\t\t\n\t\t//sql query to insert data to activity database\n\t\tPreparedStatement prepStatemnt = con.prepareStatement(\"insert into contactform(Name,Email,Message,Feedback) values(?,?,?,?)\");\n\t\t\n\t\tprepStatemnt.setString(1,contact.getName());\n\t\tprepStatemnt.setString(2,contact.getEmail());\n\t\tprepStatemnt.setString(3,contact.getMessage());\n\t\tprepStatemnt.setString(4,contact.getFeedback());\n\t\t\t\n\t\t\n\t\t//execute or update the query\n\t\t\t\n\t\tprepStatemnt.executeUpdate();\n\t\t\t\n\t\t\t\n\t\t\n\t}", "title": "" }, { "docid": "50e622e7c5e8bae6b9a5e9428ecdb0ef", "score": "0.44643623", "text": "public void setFeedbackDate(java.util.Date feedbackDate)\n {\n this.feedbackDate = feedbackDate;\n }", "title": "" }, { "docid": "af0bb24855fecc0a6e91455d82c0ccb4", "score": "0.44549114", "text": "@GetMapping(\"/view-all-feedback\")\n\tpublic List<Feedback> getAllFeedback() throws InvalidFeedbackException {\n\t\tLOGGER.info(\"Fetching all feedback data in feedback controller -START\");\n\t\tfinal List<Feedback> feedbackList = service.getAllFeedback();\n\t\tLOGGER.info(\"Done in feedback controller -END\");\n\t\treturn feedbackList;\n\t}", "title": "" }, { "docid": "7bdac9aba492f533ddccad735fbb5a42", "score": "0.44520584", "text": "@Override\r\n\tpublic int updateFeedback(CrFeedbackDTO crFeedbackDTO) {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "d73e36c4d1eef2b04e43aa22d374b65e", "score": "0.4449308", "text": "public String SQLInsert_uplata() {\n String sql=\"INSERT INTO \" + TABELA_tRacunKupca_ + \"(\" +\n tRacunKupca_idKupac + \",\" +\n tRacunKupca_uplata + \",\" +\n tRacunKupca_opisUplate + \",\" +\n tRacunKupca_datumUplate + \") VALUE (\" +\n this.uplata.getKupac().getId() + \",\" +\n this.uplata.getIznosUplate() + \",'\" +\n this.uplata.getOpisUplate() + \"','\" +\n this.uplata.getDatumUplate() + \"');\";\n \n return sql;\n }", "title": "" }, { "docid": "a50848f181bb807e99c601fd915c53bb", "score": "0.4447326", "text": "public List GetFoodPantryTable() {\n\n //ArrayList<FoodPantry> fpantries = new ArrayList<FoodPantry>();\n\n\n //here we want to to a SELECT * FROM food_pantry table\n MapSqlParameterSource params = new MapSqlParameterSource();\n //here we want to get total from food pantry table\n String sql = \"SELECT * FROM cs6400_sp17_team073.Food_pantry\";\n\n List <FoodPantry> fpantries = jdbcTemplate.query(sql, new PantryMapper());\n\n\n\n return fpantries;\n }", "title": "" }, { "docid": "275f00c0dd4e1eed150ef538af61dc1a", "score": "0.44446346", "text": "public List getOfferCode_forWarranty_FromDB(String serial_number, String product_id ) \n\t{\n\t\tObligation obligation_Obj = new Obligation();\n\t\tStringBuilder sb = new StringBuilder();\n\t\tList listObj = new ArrayList();\n\t\ttry {\n\t\t\t//System.out.println(\"Listing system tables...\");\n\t\t\tcon = getConnection();\n\t\t\tstmt = con.createStatement();\n\t\t\t//String sql = \"SELECT distinct(obligation_type), offer_code FROM app_bm_graphics_lf_telemetry.product_entitlement WHERE serial_number = 'SG68D1N001' AND product_id = 'K4T88A' AND obligation_type = 'W'\" ;\n\n\t\t\tsb.append(\"SELECT offer_code FROM app_bm_graphics_lf_telemetry.product_entitlement WHERE serial_number=\");\n\t\t\tsb.append(\"'\" + serial_number + \"'\" + \" AND product_id=\" + \"'\" + product_id + \"'\" + \" AND obligation_type = 'W' \");\n\n\t\t\t//System.out.println(\"sql->\"+sb.toString());\n\t\t\tcon = getConnection();\n\t\t\tstmt = con.createStatement();\n\t\t\tString sql = sb.toString();\n\t\t\t//System.out.println(\"\\n <======= Query ====> \\n\" + sql + \"\\n\" );\n\n\t\t\trs = stmt.executeQuery(sql);\n\t\t\t// Get the data from the result set.\t\t\t\n\t\t\twhile (rs.next()) {\n\t\t\t\tobligation_Obj.setOffer_code(rs.getString(\"offer_code\") );\n\t\t\t\tlistObj.add(obligation_Obj.getOffer_code() );\n\t\t\t\t//System.out.println(\"\\n offer_Code ======> \" + obligation_Obj.getOffer_code());\n\t\t\t\t//obligation_Obj.getOffer_code();\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t}finally {\n\t\t\ttry {\n\t\t\t\trs.close();\n\t\t\t\tstmt.close();\n\t\t\t\tcon.close();\n\t\t\t} catch (SQLException 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\t//System.out.println(\"\\nFrom DB: List of offer_Code are => \" + listObj);\n\t\treturn listObj;\n\t\t//return obligation_offerCodeObj;\n\t}", "title": "" }, { "docid": "40f340d9fab84b949875d6c1db4c1e6a", "score": "0.44428304", "text": "@Select({\n \"select\",\n \"`id`, `title`, `description`, `start_time`, `end_time`, `create_time`, `update_time`, \",\n \"`delete_time`, `remark`, `online`, `entrance_img`, `internal_top_img`, `name`\",\n \"from activity\",\n \"where `id` = #{id,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"title\", property=\"title\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"description\", property=\"description\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"start_time\", property=\"startTime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"end_time\", property=\"endTime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"create_time\", property=\"createTime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"update_time\", property=\"updateTime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"delete_time\", property=\"deleteTime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"remark\", property=\"remark\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"online\", property=\"online\", jdbcType=JdbcType.TINYINT),\n @Result(column=\"entrance_img\", property=\"entranceImg\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"internal_top_img\", property=\"internalTopImg\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"name\", property=\"name\", jdbcType=JdbcType.VARCHAR)\n })\n Activity selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "64ea477c2ba067f8846cadff94987825", "score": "0.44426885", "text": "@Override\r\n\tpublic String myResult() {\n\t\tString sql;\r\n\t\tString userid=(String) getSession().getAttribute(\"userid\");\r\n\t\tString t=(String) getSession().getAttribute(\"type\");\r\n\t\tif(t.equals(\"2\"))\r\n\t\t\tsql=\"select * from (select b.id,b.barcode,b.transaction,p.name,p.userid,b.amount,p.price,b.discount,(select value from dd_dic d where d.parent='back' and d.child=b.type) as type,(select value from dd_dic d where d.parent='reason' and d.child=b.reason) as reason,b.operator,b.date from dd_back b left join dd_product p on b.barcode=p.barcode where p.userid='\"+userid+\"' and b.id<=(select v.id from dd_back v left join dd_product p1 on v.barcode=p1.barcode where p1.userid='\"+userid+\"' order by v.id desc limit \"+(start-1)+\",1) ) as s order by s.id desc\";\r\n\t\telse\r\n\t\t\tsql=\"select * from (select b.id,b.barcode,b.transaction,p.name,p.userid,b.amount,p.price,b.discount,(select value from dd_dic d where d.parent='back' and d.child=b.type) as type,(select value from dd_dic d where d.parent='reason' and d.child=b.reason) as reason,b.operator,b.date from dd_back b left join dd_product p on b.barcode=p.barcode where b.id<=(select id from dd_back order by id desc limit \"+(start-1)+\",1) ) as s order by s.id desc\";\r\n\t\tPageUtil p=CommonDAO.findPageByMultiTableSQLQuery(this.total,sql,start,perpage,Back.class);\r\n\t\t\r\n\t\tString content = \"totalPage = \" + p.getTotalPageCount() + \";\";\r\n\t\tcontent += \"dataStore = [\";\r\n\r\n\t\tList l=(List)p.getResult();\r\n\t\tfor(int i=0;i<l.size();i++)\r\n\t\t{\r\n\t\t\tBack d=(Back)l.get(i);\r\n\r\n\t\t\tcontent += \"\\\"<tr id='\"+d.getId()+\"'><td><input type='checkbox' name='row' value='\"+d.getId()+\"'/></td><td>\"+d.getBarcode()+\"</td><td>\"+d.getTransaction()+\"</td><td>\"+d.getName()+\"</td><td>\"+d.getUserid()+\"</td><td>\"+d.getAmount()+\"</td><td>\"+d.getPrice()+\"</td><td>\"+d.getDiscount()+\"</td><td>\"+d.getType()+\"</td><td>\"+d.getReason()+\"</td><td>\"+d.getOperator()+\"</td><td>\"+d.getDate()+\"</td></tr>\\\",\";\r\n\t\t}\r\n\t\tcontent = content.substring(0,content.length()-1);\r\n\t\tcontent += \"];\";\r\n\t\treturn content;\r\n\t}", "title": "" }, { "docid": "a31e0fdc96f0344f68ee5da6490f6209", "score": "0.44418707", "text": "public static void printFeedback() {\r\n\t\tSupplier selectedSup = Part02Tester.getSupplier();\r\n\t\tif (selectedSup.getFeedback().size() <2) {\r\n\t\t\tSystem.out.println(\"No feedback available for this supplier\");\r\n\t\t}else {\r\n\t\t\tfor (int i =1;i< selectedSup.getFeedback().size(); i++) {\r\n\t\t\t\tSystem.out.println(selectedSup.getFeedback().get(i).getFeedbackDetails());\r\n\t\t\t}\t\r\n\t\t}\t\r\n\t}", "title": "" }, { "docid": "3465cdac6fa0236e49651e84f750451b", "score": "0.44375345", "text": "@PostMapping(\"/createEventFeedback\")\n\tpublic String save(@RequestBody EventFeedback feedback) {\n\tservice.save(feedback);\n\treturn \"saved successfully\";\n\t}", "title": "" }, { "docid": "dc4986da2c077f0ef556bcac1718d624", "score": "0.44276932", "text": "protected static void setFeedbackList(ArrayList<String> feedback){\n\t\t_feedback = feedback;\n\t}", "title": "" }, { "docid": "e108780b2c2c869404b7505e708a49f1", "score": "0.4427092", "text": "public int maxId() throws SQLException, NamingException {\n int maxId = 0;\n try {\n openConnection();\n String sql = \"SELECT max(feedBackId) FROM feedback \";\n PreparedStatement pst = connection.prepareStatement(sql);\n ResultSet sr = pst.executeQuery();\n while (sr.next()) {\n maxId = sr.getInt(\"max(feedBackId)\");\n }\n pst.close();\n } catch (Exception e) {\n e.printStackTrace();\n } finally {\n closeConnection();\n }\n return maxId;\n\n }", "title": "" }, { "docid": "e7f4361959c273e15e30f379bba13dba", "score": "0.44214833", "text": "public int getFeedbackCount() {\n return feedbackCount;\n }", "title": "" }, { "docid": "9524ef6150e552033b1097a8aabe6a8e", "score": "0.44180542", "text": "@Insert({\n \"insert into `order` (orderId, orderSN, \",\n \"placeId, placeCityId, \",\n \"serviceDate, serviceTime, \",\n \"serviceAllDateDisplay, localDay, \",\n \"nonlocalDay, departure, \",\n \"destination, distance, \",\n \"deptDetailAddress, destDetailAddress, \",\n \"seatCategory, type, \",\n \"price, clientPrice, \",\n \"guidePrice, orderType, \",\n \"userGuideId, preGuideId, \",\n \"guideId, clientType, \",\n \"clientId, userpassportId, \",\n \"adminId, status, \",\n \"payStatus, hasRefund, \",\n \"imToken, deliveredPriority, \",\n \"dealOrderTime, reDeliverType, \",\n \"reDeliverCount, deliverTime, \",\n \"guideCommentStatus, userCommentStatus, \",\n \"updated_at, refId, \",\n \"mode, serviceCar, \",\n \"serviceGuide, serviceCarId, \",\n \"serviceGuideId, agencyType, \",\n \"deleted_at, created_at)\",\n \"values (#{orderid,jdbcType=VARCHAR}, #{ordersn,jdbcType=VARCHAR}, \",\n \"#{placeid,jdbcType=INTEGER}, #{placecityid,jdbcType=INTEGER}, \",\n \"#{servicedate,jdbcType=DATE}, #{servicetime,jdbcType=TIME}, \",\n \"#{servicealldatedisplay,jdbcType=VARCHAR}, #{localday,jdbcType=INTEGER}, \",\n \"#{nonlocalday,jdbcType=INTEGER}, #{departure,jdbcType=VARCHAR}, \",\n \"#{destination,jdbcType=VARCHAR}, #{distance,jdbcType=DECIMAL}, \",\n \"#{deptdetailaddress,jdbcType=VARCHAR}, #{destdetailaddress,jdbcType=VARCHAR}, \",\n \"#{seatcategory,jdbcType=TINYINT}, #{type,jdbcType=INTEGER}, \",\n \"#{price,jdbcType=INTEGER}, #{clientprice,jdbcType=INTEGER}, \",\n \"#{guideprice,jdbcType=INTEGER}, #{ordertype,jdbcType=INTEGER}, \",\n \"#{userguideid,jdbcType=INTEGER}, #{preguideid,jdbcType=INTEGER}, \",\n \"#{guideid,jdbcType=INTEGER}, #{clienttype,jdbcType=TINYINT}, \",\n \"#{clientid,jdbcType=VARCHAR}, #{userpassportid,jdbcType=VARCHAR}, \",\n \"#{adminid,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, \",\n \"#{paystatus,jdbcType=INTEGER}, #{hasrefund,jdbcType=INTEGER}, \",\n \"#{imtoken,jdbcType=VARCHAR}, #{deliveredpriority,jdbcType=INTEGER}, \",\n \"#{dealordertime,jdbcType=TIMESTAMP}, #{redelivertype,jdbcType=INTEGER}, \",\n \"#{redelivercount,jdbcType=INTEGER}, #{delivertime,jdbcType=TIMESTAMP}, \",\n \"#{guidecommentstatus,jdbcType=INTEGER}, #{usercommentstatus,jdbcType=INTEGER}, \",\n \"#{updatedAt,jdbcType=TIMESTAMP}, #{refid,jdbcType=VARCHAR}, \",\n \"#{mode,jdbcType=INTEGER}, #{servicecar,jdbcType=VARCHAR}, \",\n \"#{serviceguide,jdbcType=VARCHAR}, #{servicecarid,jdbcType=VARCHAR}, \",\n \"#{serviceguideid,jdbcType=VARCHAR}, #{agencytype,jdbcType=INTEGER}, \",\n \"#{deletedAt,jdbcType=TIMESTAMP}, #{createdAt,jdbcType=TIMESTAMP})\"\n })\n int insert(FinalOrderBean record);", "title": "" }, { "docid": "3459715eb4d5091b2fb0c13f2534f461", "score": "0.4417296", "text": "@SelectProvider(type=JiapuMessageSqlProvider.class, method=\"selectByExample\")\n @Results({\n @Result(column=\"messageid\", property=\"messageid\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"createDate\", property=\"createdate\", jdbcType=JdbcType.DATE),\n @Result(column=\"message\", property=\"message\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"senderid\", property=\"senderid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"recieverid\", property=\"recieverid\", jdbcType=JdbcType.VARCHAR)\n })\n List<JiapuMessage> selectByExample(JiapuMessageExample example);", "title": "" }, { "docid": "dc24bef51ee986342f0c936824d5d5b3", "score": "0.44167006", "text": "String getSqlStringTemplate();", "title": "" }, { "docid": "4d308a5b6f7a53d336b7debc148e1279", "score": "0.44145387", "text": "public String generateMaqlCreate();", "title": "" }, { "docid": "07c892d5410a5a2a73ac266bd72eacfb", "score": "0.44132492", "text": "public void DBUpdateProduct() {\n DBConnection conn = new DBConnection();\n conn.updateSQLDataBase(\"gc200325005.Products\", \"name\",prodSelected.getName(), \"ID\", prodSelected.getManuID());\n conn.updateSQLDataBase(\"gc200325005.Products\", \"description\", prodSelected.getDescription(), \"ID\", prodSelected.getManuID());\n conn.updateSQLDataBase(\"gc200325005.Products\", \"rating\",String.valueOf(prodSelected.getRating()), \"ID\", prodSelected.getManuID());\n conn.updateSQLDataBase(\"gc200325005.Products\", \"price\", String.valueOf(prodSelected.getPrice()), \"ID\", prodSelected.getManuID());\n conn.updateSQLDataBase(\"gc200325005.Products\", \"productionCost\", String.valueOf(prodSelected.getProductionCost()), \"ID\", prodSelected.getManuID());\n \n }", "title": "" }, { "docid": "1f700ba851225368acc47671eb59bdb1", "score": "0.4413118", "text": "@Override\n\tpublic Feedback feedbackSaveOrUpdate(Feedback feedback) {\n\t\treturn repository.save(feedback);\n\t}", "title": "" }, { "docid": "0a469b440284d703e27b5b1de52cbdb7", "score": "0.4410902", "text": "@Select({ \"select\",\n\t\t\t\"sch_id, sch_data, sch_descrizione, sch_critica, id_soggetto, id_struttura, utente_operazione, \",\n\t\t\t\"data_creazione, data_modifica, data_cancellazione, richiesta_mmg, visibile_medico_emergenza, \",\n\t\t\t\"visibile_medico_continuita_ass, sch_terapia_cronica, monitoraggio_tipo_id\", \"from covidus_t_scheda\" })\n\t@Results({ @Result(column = \"sch_id\", property = \"schId\", jdbcType = JdbcType.INTEGER, id = true),\n\t\t\t@Result(column = \"sch_data\", property = \"schData\", jdbcType = JdbcType.TIMESTAMP),\n\t\t\t@Result(column = \"sch_descrizione\", property = \"schDescrizione\", jdbcType = JdbcType.VARCHAR),\n\t\t\t@Result(column = \"sch_critica\", property = \"schCritica\", jdbcType = JdbcType.BIT),\n\t\t\t@Result(column = \"id_soggetto\", property = \"idSoggetto\", jdbcType = JdbcType.BIGINT),\n\t\t\t@Result(column = \"id_struttura\", property = \"idStruttura\", jdbcType = JdbcType.VARCHAR),\n\t\t\t@Result(column = \"utente_operazione\", property = \"utenteOperazione\", jdbcType = JdbcType.VARCHAR),\n\t\t\t@Result(column = \"data_creazione\", property = \"dataCreazione\", jdbcType = JdbcType.TIMESTAMP),\n\t\t\t@Result(column = \"data_modifica\", property = \"dataModifica\", jdbcType = JdbcType.TIMESTAMP),\n\t\t\t@Result(column = \"data_cancellazione\", property = \"dataCancellazione\", jdbcType = JdbcType.TIMESTAMP),\n\t\t\t@Result(column = \"richiesta_mmg\", property = \"richiestaMmg\", jdbcType = JdbcType.BIT),\n\t\t\t@Result(column = \"visibile_medico_emergenza\", property = \"visibileMedicoEmergenza\", jdbcType = JdbcType.BIT),\n\t\t\t@Result(column = \"visibile_medico_continuita_ass\", property = \"visibileMedicoContinuitaAss\", jdbcType = JdbcType.BIT),\n\t\t\t@Result(column = \"sch_terapia_cronica\", property = \"schTerapiaCronica\", jdbcType = JdbcType.VARCHAR),\n\t\t\t@Result(column = \"monitoraggio_tipo_id\", property = \"monitoraggioTipoId\", jdbcType = JdbcType.INTEGER) })\n\tList<CovidusTScheda> selectAll();", "title": "" }, { "docid": "9b4a9deeb573c964ccbcc570ec0ebfd4", "score": "0.4410315", "text": "@SelectProvider(type=FinalOrderBeanSqlProvider.class, method=\"selectByExample\")\n @Results({\n @Result(column=\"orderId\", property=\"orderid\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"orderSN\", property=\"ordersn\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"placeId\", property=\"placeid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"placeCityId\", property=\"placecityid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"serviceDate\", property=\"servicedate\", jdbcType=JdbcType.DATE),\n @Result(column=\"serviceTime\", property=\"servicetime\", jdbcType=JdbcType.TIME),\n @Result(column=\"serviceAllDateDisplay\", property=\"servicealldatedisplay\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"localDay\", property=\"localday\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"nonlocalDay\", property=\"nonlocalday\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"departure\", property=\"departure\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"destination\", property=\"destination\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"distance\", property=\"distance\", jdbcType=JdbcType.DECIMAL),\n @Result(column=\"deptDetailAddress\", property=\"deptdetailaddress\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"destDetailAddress\", property=\"destdetailaddress\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"seatCategory\", property=\"seatcategory\", jdbcType=JdbcType.TINYINT),\n @Result(column=\"type\", property=\"type\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"price\", property=\"price\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"clientPrice\", property=\"clientprice\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"guidePrice\", property=\"guideprice\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"orderType\", property=\"ordertype\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"userGuideId\", property=\"userguideid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"preGuideId\", property=\"preguideid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"guideId\", property=\"guideid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"clientType\", property=\"clienttype\", jdbcType=JdbcType.TINYINT),\n @Result(column=\"clientId\", property=\"clientid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"userpassportId\", property=\"userpassportid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"adminId\", property=\"adminid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"status\", property=\"status\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"payStatus\", property=\"paystatus\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"hasRefund\", property=\"hasrefund\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"imToken\", property=\"imtoken\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"deliveredPriority\", property=\"deliveredpriority\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"dealOrderTime\", property=\"dealordertime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"reDeliverType\", property=\"redelivertype\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"reDeliverCount\", property=\"redelivercount\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"deliverTime\", property=\"delivertime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"guideCommentStatus\", property=\"guidecommentstatus\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"userCommentStatus\", property=\"usercommentstatus\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"updated_at\", property=\"updatedAt\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"refId\", property=\"refid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"mode\", property=\"mode\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"serviceCar\", property=\"servicecar\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"serviceGuide\", property=\"serviceguide\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"serviceCarId\", property=\"servicecarid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"serviceGuideId\", property=\"serviceguideid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"agencyType\", property=\"agencytype\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"deleted_at\", property=\"deletedAt\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"created_at\", property=\"createdAt\", jdbcType=JdbcType.TIMESTAMP)\n })\n List<FinalOrderBean> selectByExampleWithRowbounds(FinalOrderBeanCriteria example, RowBounds rowBounds);", "title": "" }, { "docid": "f7792b9e20ce81ddd7c8b4105bdf3a56", "score": "0.4410315", "text": "@SelectProvider(type=FinalOrderBeanSqlProvider.class, method=\"selectByExample\")\n @Results({\n @Result(column=\"orderId\", property=\"orderid\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"orderSN\", property=\"ordersn\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"placeId\", property=\"placeid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"placeCityId\", property=\"placecityid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"serviceDate\", property=\"servicedate\", jdbcType=JdbcType.DATE),\n @Result(column=\"serviceTime\", property=\"servicetime\", jdbcType=JdbcType.TIME),\n @Result(column=\"serviceAllDateDisplay\", property=\"servicealldatedisplay\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"localDay\", property=\"localday\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"nonlocalDay\", property=\"nonlocalday\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"departure\", property=\"departure\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"destination\", property=\"destination\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"distance\", property=\"distance\", jdbcType=JdbcType.DECIMAL),\n @Result(column=\"deptDetailAddress\", property=\"deptdetailaddress\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"destDetailAddress\", property=\"destdetailaddress\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"seatCategory\", property=\"seatcategory\", jdbcType=JdbcType.TINYINT),\n @Result(column=\"type\", property=\"type\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"price\", property=\"price\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"clientPrice\", property=\"clientprice\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"guidePrice\", property=\"guideprice\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"orderType\", property=\"ordertype\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"userGuideId\", property=\"userguideid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"preGuideId\", property=\"preguideid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"guideId\", property=\"guideid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"clientType\", property=\"clienttype\", jdbcType=JdbcType.TINYINT),\n @Result(column=\"clientId\", property=\"clientid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"userpassportId\", property=\"userpassportid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"adminId\", property=\"adminid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"status\", property=\"status\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"payStatus\", property=\"paystatus\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"hasRefund\", property=\"hasrefund\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"imToken\", property=\"imtoken\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"deliveredPriority\", property=\"deliveredpriority\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"dealOrderTime\", property=\"dealordertime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"reDeliverType\", property=\"redelivertype\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"reDeliverCount\", property=\"redelivercount\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"deliverTime\", property=\"delivertime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"guideCommentStatus\", property=\"guidecommentstatus\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"userCommentStatus\", property=\"usercommentstatus\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"updated_at\", property=\"updatedAt\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"refId\", property=\"refid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"mode\", property=\"mode\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"serviceCar\", property=\"servicecar\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"serviceGuide\", property=\"serviceguide\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"serviceCarId\", property=\"servicecarid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"serviceGuideId\", property=\"serviceguideid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"agencyType\", property=\"agencytype\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"deleted_at\", property=\"deletedAt\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"created_at\", property=\"createdAt\", jdbcType=JdbcType.TIMESTAMP)\n })\n List<FinalOrderBean> selectByExample(FinalOrderBeanCriteria example);", "title": "" }, { "docid": "772ae6cdb712c4f174ff8f90503c95a7", "score": "0.4400821", "text": "@RegisterMapper(ExpertiseMapper.class)\npublic interface ExpertiseDAO {\n\n @SqlQuery(\"select * from expertise\")\n List<Expertise> getExpertises();\n\n @SqlUpdate(\"INSERT INTO gebruiker_expertise (expertiseType, gebruikerID)\" +\n \"VALUES (:expertiseType, :gebruikerID)\")\n void insertExpertiseGebruiker(@BindBean Expertise expertise, @Bind(\"gebruikerID\") int gebruikerID);\n\n @SqlUpdate(\"INSERT INTO expertise_vacature (expertiseType, vacatureID)\" +\n \"VALUES (:expertiseType, :vacatureID)\")\n void insertExpertiseVacature(@BindBean Expertise expertise, @Bind(\"vacatureID\") int vacatureID);\n\n @SqlQuery(\"SELECT expertiseType FROM gebruiker_expertise WHERE gebruikerID = :gebruikerID\")\n List<Expertise> getGebruikerExpertises(@Bind(\"gebruikerID\") int gebruikerID);\n\n @SqlUpdate(\"DELETE FROM gebruiker_expertise WHERE gebruikerID = :gebruikerID AND expertiseType = :expertiseType\")\n void deleteGebruikerExpertise(@BindBean Expertise expertise, @Bind(\"gebruikerID\") int gebruikerID);\n\n @SqlQuery(\"SELECT expertiseType FROM expertise_vacature WHERE vacatureid = :vacatureID\")\n List<Expertise> getVacatureExpertises(@Bind(\"vacatureID\") int vacatureID);\n}", "title": "" }, { "docid": "9226ee851299e7746ba31609908f0e3b", "score": "0.4400192", "text": "Feedback() {\n }", "title": "" }, { "docid": "a5e666cf570ced804832b3693b8d2d10", "score": "0.4399839", "text": "@Select({\n \"select\",\n \"messageid, createDate, message, senderid, recieverid\",\n \"from jiapumessage\",\n \"where messageid = #{messageid,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"messageid\", property=\"messageid\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"createDate\", property=\"createdate\", jdbcType=JdbcType.DATE),\n @Result(column=\"message\", property=\"message\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"senderid\", property=\"senderid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"recieverid\", property=\"recieverid\", jdbcType=JdbcType.VARCHAR)\n })\n JiapuMessage selectByPrimaryKey(Integer messageid);", "title": "" } ]
48459d321866678c8189f0525a2f32a0
Set the Lower Level Protocol Type
[ { "docid": "b4b3717b08d527c5aa8df79b1dcc7a9e", "score": "0.5777853", "text": "public void setLLPType(String val) {\n mLLPType = val;\n }", "title": "" } ]
[ { "docid": "651c7929db326adc900e00e3d5448853", "score": "0.7258357", "text": "public void setProtocolType(Integer value) {\n this.protocolType = value;\n }", "title": "" }, { "docid": "2fd45ea12bf9f2924d2f07cecbd033fc", "score": "0.67203873", "text": "public Builder setProtocolTypeValue(int value) {\n protocolType_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "b76ed1b5f75ce6cda15e52dd341c4e47", "score": "0.6567815", "text": "public void setType(String type)\r\n/* 300: */ {\r\n/* 301:490 */ this.type = type;\r\n/* 302: */ }", "title": "" }, { "docid": "895384cafc18290d0db08988031f746c", "score": "0.64570165", "text": "@Override\n public void setProtocol(String value) {\n setProperty(PROTOCOL, value.toLowerCase(java.util.Locale.ENGLISH));\n }", "title": "" }, { "docid": "35dacf115edc89c9d073a5c2bb628190", "score": "0.64014447", "text": "void setType(String type);", "title": "" }, { "docid": "0754219dde3ab32212fed69c6a98edad", "score": "0.6345055", "text": "public void setType(String aType) { _type = aType; }", "title": "" }, { "docid": "578f817c2c71f934a14028697651b165", "score": "0.6328616", "text": "@Override\n public void setType(String typec) {\n type = typec;\n }", "title": "" }, { "docid": "f4c9e4aa7985722c3a77f793208be1eb", "score": "0.6323564", "text": "public void setProtocol(java.lang.Integer value) {\n this.protocol = value;\n }", "title": "" }, { "docid": "674bf6ee9e62367c2346c111e0ddce1b", "score": "0.63202184", "text": "public void setMessageType(byte messageType)\n {\n super.setMessageType(messageType); \n }", "title": "" }, { "docid": "113fcb9fe0d01066f0e38425b7603ea9", "score": "0.63130724", "text": "void setType(java.lang.String type);", "title": "" }, { "docid": "3f54b306538ec263d5fefcf50a4da866", "score": "0.62872463", "text": "public void setType(String inType)\n {\n type = inType;\n }", "title": "" }, { "docid": "838b677c3826cbbd2b7865427dbc830b", "score": "0.6282303", "text": "public void updateProtocol(){\n\t\tServerData server = getServer();\n\t\tif (server != null){\n\t\t\tsetProtocol(server.getServiceSubType());\n\t\t}\n\t}", "title": "" }, { "docid": "c06cf88ef15b98327987ac37099297a1", "score": "0.6261929", "text": "void setProtocol(ExpProtocol protocol);", "title": "" }, { "docid": "991491dc1a7f4034879c2f51d833721b", "score": "0.6259743", "text": "void setType(int type);", "title": "" }, { "docid": "64706985c2b260d4a672118c00c4dd92", "score": "0.6207639", "text": "public void setProto (Protocol newVar) {\n proto = newVar;\n }", "title": "" }, { "docid": "1a32cf8a84be927007348a4c63f2032c", "score": "0.6195122", "text": "public void setProtocol(String value) {\n setAttributeInternal(PROTOCOL, value);\n }", "title": "" }, { "docid": "ce1ff5a0b7ad1902c9f004356a81aabd", "score": "0.61567235", "text": "public void setType(String newType) {\n type = newType;\n }", "title": "" }, { "docid": "df2d5f6a8bd77b9789f9f0852c2dbef0", "score": "0.61352855", "text": "public void setPackProtocolType(Integer value) {\n this.packProtocolType = value;\n }", "title": "" }, { "docid": "5b55688a1442458079eec7ea9640b5fd", "score": "0.613031", "text": "public void setMessageType(java.lang.String param){\n \n this.localMessageType=param;\n \n\n }", "title": "" }, { "docid": "8df11755d103a7918868707e865a677d", "score": "0.61279595", "text": "public void setType(String type) { this.type = type; }", "title": "" }, { "docid": "8df11755d103a7918868707e865a677d", "score": "0.61279595", "text": "public void setType(String type) { this.type = type; }", "title": "" }, { "docid": "3ea284da077dbfef3165eb47dc5d789e", "score": "0.61186683", "text": "public void setType(int type) {this.type = type; }", "title": "" }, { "docid": "d2b88ebdcea850d1f481c1c6b034f815", "score": "0.6117872", "text": "public void setType(int type);", "title": "" }, { "docid": "d2b88ebdcea850d1f481c1c6b034f815", "score": "0.6117872", "text": "public void setType(int type);", "title": "" }, { "docid": "4df914ac64fe6cc544e3f2c2480b9de1", "score": "0.6114273", "text": "public Builder setProtocolType(com.xh.demo.grpc.WrTy.ProtocolMessageEnvelope.ProtocolType value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n protocolType_ = value.getNumber();\n onChanged();\n return this;\n }", "title": "" }, { "docid": "ae750771edbe41fcb17c788669e28c65", "score": "0.6096193", "text": "public void SetType(String type) {\n this.type= type;\n }", "title": "" }, { "docid": "1892c03737b1b59f950fa8c9f3f4ca25", "score": "0.60714585", "text": "public void setType(String type) {\n Type = type;\n }", "title": "" }, { "docid": "0197f91048097e23796f7952da93fe25", "score": "0.6071294", "text": "public void setType(int type) { this.type = type; }", "title": "" }, { "docid": "4553e5eed8cc6dc67c190f0d9d14a0cc", "score": "0.60616153", "text": "private void cmdSetProtocol(TagProtocol protocol)\n throws ReaderException\n {\n Message m = new Message();\n\n m.setu8(MSG_OPCODE_SET_TAG_PROTOCOL);\n m.setu16(protocolToCodeMap.get(protocol));\n send(m);\n }", "title": "" }, { "docid": "e62e63c8a84697cd7e316356d59c3ccf", "score": "0.6050679", "text": "public void setType(char type){\n\tthis.type=type;\n}", "title": "" }, { "docid": "228358d417d1c2b11543dd199104973c", "score": "0.60482806", "text": "public Energistics.Datatypes.MessageHeader.Builder setProtocol(int value) {\n validate(fields()[0], value);\n this.protocol = value;\n fieldSetFlags()[0] = true;\n return this; \n }", "title": "" }, { "docid": "b853c37bb4438081bd82c11f6820a3ed", "score": "0.60347235", "text": "public void setConnectionType( short type ) { connectionType = type; }", "title": "" }, { "docid": "deb0640b5fd1c137cb283f70cc012155", "score": "0.6017482", "text": "public void setType(Integer type)\n/* 234: */ {\n/* 235:235 */ this.type = type;\n/* 236: */ }", "title": "" }, { "docid": "91d4323b8a18a67335b24e70d4d25c48", "score": "0.6000816", "text": "public void setType (int pType)\r\n {\r\n mType = pType ;\r\n }", "title": "" }, { "docid": "43f5b82cd010bc1f13f2759e01e9f36a", "score": "0.59956175", "text": "public Integer getProtocolType() {\n return protocolType;\n }", "title": "" }, { "docid": "8c8f9986a10424daa550541abb6b5f81", "score": "0.5992688", "text": "public void type(String type) {\n this.type.set(type);\n }", "title": "" }, { "docid": "295e3338b98e5c169a05825262f8c4a3", "score": "0.59811425", "text": "int getProtocolTypeValue();", "title": "" }, { "docid": "e85eca9f36d7eac8bbb04b4349125c0b", "score": "0.5979544", "text": "public void setType(String setType)\r\n {\r\n strType = setType;\r\n }", "title": "" }, { "docid": "cd7602d543f49e8d25dec0f2756f5984", "score": "0.59752464", "text": "public void setType(int type)\n\t{\n\t\twType = type ;\n\t}", "title": "" }, { "docid": "6c9dad9c243626feaea529ddea5adb52", "score": "0.59703", "text": "public void setType(final String theType) {\r\n type = theType;\r\n }", "title": "" }, { "docid": "49a004bcf064ab00ab7bb4384e534a06", "score": "0.5954079", "text": "public void setType(String type) {\r\n m_type = type;\r\n }", "title": "" }, { "docid": "6b9694bc9a01b400ac48a23be0c333e6", "score": "0.5949344", "text": "@Override\n public void setType(Type type) {\n super.setType(type);\n }", "title": "" }, { "docid": "567bd8d02623efd4eabe3da4acb25479", "score": "0.59464544", "text": "public void setType(Type type)\r\n {\r\n _type = type;\r\n }", "title": "" }, { "docid": "b81a8514b2cb29f249453bf52df51b54", "score": "0.5941288", "text": "public void setType(Byte type) {\r\n this.type = type;\r\n }", "title": "" }, { "docid": "ff55840ee059cbef65a7d25a70017ea7", "score": "0.59411", "text": "public void setType(byte type) {\r\n this.type = new Byte(type);\r\n }", "title": "" }, { "docid": "456702e4905e521d8a6d4ba137005671", "score": "0.5934616", "text": "public void setType(int type){\n \tmType = type;\n }", "title": "" }, { "docid": "28f7decf4d4e97f0c58800a983b5e1e7", "score": "0.59319913", "text": "public int getProtocolTypeValue() {\n return protocolType_;\n }", "title": "" }, { "docid": "4f8036a6f9059840fe80b2e16e435893", "score": "0.59223086", "text": "public void setType(char t){\n\t this.type = t;\n }", "title": "" }, { "docid": "b4696c5b58d716d2739b80aeb712d1a7", "score": "0.5913729", "text": "public void setType(String _type) {\n type = _type;\n }", "title": "" }, { "docid": "acd5449b2d95c8e912ae1b1fc9d2ed6f", "score": "0.58918273", "text": "public void setMessageType(String messageType)\r\n/* 29: */ {\r\n/* 30:28 */ this.messageType = messageType;\r\n/* 31: */ }", "title": "" }, { "docid": "075ee5fdf1b7f1ec4179c2b2365a66d2", "score": "0.588654", "text": "private void setRequestType(String requestType)\n {\n this.requestType = requestType;\n }", "title": "" }, { "docid": "b00e53ba03aeccfff1439a90064fe190", "score": "0.587548", "text": "@Override\n public void setType(String type) \n {\n this.type = type;\n }", "title": "" }, { "docid": "139d46a53a4981cfb86feacfd713fd79", "score": "0.5865129", "text": "public void setType(Byte type) {\n this.type = type;\n }", "title": "" }, { "docid": "139d46a53a4981cfb86feacfd713fd79", "score": "0.5865129", "text": "public void setType(Byte type) {\n this.type = type;\n }", "title": "" }, { "docid": "139d46a53a4981cfb86feacfd713fd79", "score": "0.5865129", "text": "public void setType(Byte type) {\n this.type = type;\n }", "title": "" }, { "docid": "a9127e2b4a7084c7e1c76fe803c80eda", "score": "0.58437943", "text": "public void setType(java.lang.String param){\n \n this.localType=param;\n \n\n }", "title": "" }, { "docid": "eb9578eb3d32351dfa2b5471f6d69e3b", "score": "0.58419174", "text": "public void setType(String v){\n\t\ttry{\n\t\tsetProperty(SCHEMA_ELEMENT_NAME + \"/type\",v);\n\t\t_Type=null;\n\t\t} catch (Exception e1) {logger.error(e1);}\n\t}", "title": "" }, { "docid": "3bb2e22891b00d37be1069ca4a2d70b0", "score": "0.58413315", "text": "private void handleSetPreferredNetworkTypeResponse(Message msg) {\n getPhone().getPreferredNetworkType(obtainMessage(MESSAGE_GET_PREFERRED_NETWORK_TYPE));\n }", "title": "" }, { "docid": "ecc0fff16bedc6e656e98b9e0a9bf37c", "score": "0.58399147", "text": "public void setType(int type) {\n typ = type;\n }", "title": "" }, { "docid": "56cb84b32c98579629cb6216597ca3d2", "score": "0.5837961", "text": "private void setType(int type) {\n\t\tStateVariable.assertValidType(type);\n\t\tmType = type;\n\t}", "title": "" }, { "docid": "2a33c05f2c131e9b9768905a10cec4c1", "score": "0.58278805", "text": "protected void setType(int type) {\n mType = type;\n }", "title": "" }, { "docid": "29305d0477b60a967dd73338a3d745bc", "score": "0.5810742", "text": "public int getProtocolTypeValue() {\n return protocolType_;\n }", "title": "" }, { "docid": "60b1ae5afc298459a4ce048d043aa464", "score": "0.58081406", "text": "public Builder setProtocolName(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n protocolCase_ = 5;\n protocol_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "f1066674415feb3243568a3482740482", "score": "0.5796465", "text": "private void setType(QuestionTypes type) {\n\t\tthis.type = type;\r\n\r\n\t}", "title": "" }, { "docid": "62855a1f34bcc29e47840278ba875897", "score": "0.57963943", "text": "public abstract void setProtocolVersion(short version);", "title": "" }, { "docid": "f9670eeb5de867a97e1c4d349866173c", "score": "0.5795025", "text": "public void SetType(String type){\r\n this.type = type;\r\n }", "title": "" }, { "docid": "9d94c27ab72ed382ebd590da56db35fa", "score": "0.5791853", "text": "void setInputType(IOType type);", "title": "" }, { "docid": "406b332f3c9ff1fda87eb59174ad8728", "score": "0.5788036", "text": "public void setLkptype(Lkptype v) throws TorqueException\n {\n if (v == null)\n {\n setTypeid(0);\n }\n else\n {\n setTypeid(v.getTypeid());\n }\n aLkptype = v;\n }", "title": "" }, { "docid": "7758060895f0347ab537d3bde78c2d97", "score": "0.5781068", "text": "void setTypeSpecification(TypeSpecification spec);", "title": "" }, { "docid": "fed98bcd404cb8e19711e38acaed637b", "score": "0.5780788", "text": "public void setType(Type type)\r\n\t{\r\n\t\tthis.type = type;\r\n\t}", "title": "" }, { "docid": "377b3c45b095d97365008df310a247fa", "score": "0.5776648", "text": "public void setType(String type) {\n _type = type;\n }", "title": "" }, { "docid": "1a5e60d4d0186dae1ba2b2ff24067c60", "score": "0.57688975", "text": "void setPolicyType(String policyType);", "title": "" }, { "docid": "765c401404e40684f5f9a8b92931c6ba", "score": "0.57581985", "text": "public void setType(char type) {\n this.type = type;\n }", "title": "" }, { "docid": "180f5905d23db3d908454ed9e362e360", "score": "0.5755244", "text": "public void setType(String type) {\r\n this.type = type;\r\n\t}", "title": "" }, { "docid": "4bb8fff657fd16ff744ef3bb91720cb0", "score": "0.5747935", "text": "public void setType(String type)\r\n\t{\r\n\t\tthis.type = type;\r\n\t}", "title": "" }, { "docid": "4bb8fff657fd16ff744ef3bb91720cb0", "score": "0.5747935", "text": "public void setType(String type)\r\n\t{\r\n\t\tthis.type = type;\r\n\t}", "title": "" }, { "docid": "b6b6b8d4e06fc80ec2f4664830cbc7eb", "score": "0.5746734", "text": "public void setType(char type)\n\t{\n\t\tthis.type = type;\n\t}", "title": "" }, { "docid": "57f417a4f05045da4abae1ff7ded211c", "score": "0.5743048", "text": "public void setPolicyType(typekey.PolicyType value);", "title": "" }, { "docid": "da527cc79ec36892d0af46ada434414c", "score": "0.57413554", "text": "public void setType(char type) \n\t{\n\t\tthis.type = type;\n\t}", "title": "" }, { "docid": "5d01d95535557c0302e45c45df8acde7", "score": "0.57395387", "text": "public void setPacketType(Type type) {\n\t\tthis.type = type;\n\t}", "title": "" }, { "docid": "8bada81f8c69f5e531cf9f56044eb9ce", "score": "0.57370484", "text": "public void setType(String type_) {\r\n\t\tthis.type = type_;\r\n\t}", "title": "" }, { "docid": "aebe3171219073e28f8d5661bda717cb", "score": "0.57296216", "text": "void setDataType(String dataType);", "title": "" }, { "docid": "262fdd6763357628ee8da756a82b8036", "score": "0.57262444", "text": "protected void setType(int type)\n\t{\n\t\tthis.type = type;\n\t}", "title": "" }, { "docid": "7dff1a19a6f6a61c84f2768b235cd0f3", "score": "0.5723001", "text": "public void setType (String type) {\r\n\t\tthis.type = type;\r\n\t}", "title": "" }, { "docid": "506d6be181189abc8a06a4f95ed70fc0", "score": "0.5720407", "text": "public void setType(String type){\r\n\t\tthis.type = type;\r\n\t}", "title": "" }, { "docid": "2c040af73b7c98f105b0aa5d75daa947", "score": "0.5719636", "text": "public void setType(String type)\n {\n this.type = type;\n }", "title": "" }, { "docid": "2c040af73b7c98f105b0aa5d75daa947", "score": "0.5719636", "text": "public void setType(String type)\n {\n this.type = type;\n }", "title": "" }, { "docid": "2c040af73b7c98f105b0aa5d75daa947", "score": "0.5719636", "text": "public void setType(String type)\n {\n this.type = type;\n }", "title": "" }, { "docid": "2dd6833472979f396e97d956acbb3102", "score": "0.5719306", "text": "public void setStype(short stype) throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\t__io__block.writeShort(__io__address + 22, stype);\n\t\t} else {\n\t\t\t__io__block.writeShort(__io__address + 14, stype);\n\t\t}\n\t}", "title": "" }, { "docid": "16a84993ac912cc0b9d9bd907668f927", "score": "0.57169825", "text": "public void setProtocol(final Protocol protocol) {\n this.protocol = protocol;\n }", "title": "" }, { "docid": "ebc09588be08857ec44108a4b5636f1e", "score": "0.57126397", "text": "public void setType(String type) {\n this.type = type;\n }", "title": "" }, { "docid": "126380080272b72a0684fa5bc0142e0f", "score": "0.57084453", "text": "public void setType(String type) {\r\n this.type = type;\r\n }", "title": "" }, { "docid": "126380080272b72a0684fa5bc0142e0f", "score": "0.57084453", "text": "public void setType(String type) {\r\n this.type = type;\r\n }", "title": "" }, { "docid": "fc36ec3bee95d65132fc578b82c23dad", "score": "0.57068175", "text": "public void setTypeOfRecord(char typeOfRecord);", "title": "" }, { "docid": "a121297048b9546dc87c2c1497bb30a6", "score": "0.5691708", "text": "public void setMessageType(char messageType) {\n mValues[0] = (char) (mValues[0] & 0x00FF);\n mValues[0] = (char) (mValues[0] | messageType);\n }", "title": "" }, { "docid": "5854789c8c7f5c2c41a14decfd7b3d07", "score": "0.5691121", "text": "private void setType()\n\t{\n\t\ttype = \"Consumable\";\n\t}", "title": "" }, { "docid": "2a8d40f0aec5181627f72da3a579451b", "score": "0.5689032", "text": "public void setTypeport(short newTypeport) {\n\ttypeport = newTypeport;\n}", "title": "" }, { "docid": "5ab90d4f7ab13cacd8d0a20b4fe23530", "score": "0.5688071", "text": "void setTypeCode(CS typeCode);", "title": "" }, { "docid": "83f04e0364bab801abc40d2a1fa2f691", "score": "0.56797284", "text": "private void setType(int value) {\n \n type_ = value;\n }", "title": "" }, { "docid": "4933ca85fcb6b88bee0f63fa1b15ba98", "score": "0.56796193", "text": "public void setType(String value) {\r\n\t\tthis.type = value;\r\n\t}", "title": "" } ]
4b8bbd9c26acfb351761ffea85ebf07b
A copy of the Android internals StoreThumbnail method, it used with the insertImage to populate the android.provider.MediaStore.Images.MediainsertImage with all the correct meta data. The StoreThumbnail method is private so it must be duplicated here.
[ { "docid": "6f83634d25e201b46e330a0ede9673c4", "score": "0.6941583", "text": "private static final Bitmap storeThumbnail(\n ContentResolver cr,\n Bitmap source,\n long id,\n float width,\n float height,\n int kind) {\n\n // create the matrix to scale it\n Matrix matrix = new Matrix();\n\n float scaleX = width / source.getWidth();\n float scaleY = height / source.getHeight();\n\n matrix.setScale(scaleX, scaleY);\n\n Bitmap thumb = Bitmap.createBitmap(source, 0, 0,\n source.getWidth(),\n source.getHeight(), matrix,\n true\n );\n\n ContentValues values = new ContentValues(4);\n values.put(MediaStore.Images.Thumbnails.KIND, kind);\n values.put(MediaStore.Images.Thumbnails.IMAGE_ID, (int) id);\n values.put(MediaStore.Images.Thumbnails.HEIGHT, thumb.getHeight());\n values.put(MediaStore.Images.Thumbnails.WIDTH, thumb.getWidth());\n\n Uri url = cr.insert(MediaStore.Images.Thumbnails.EXTERNAL_CONTENT_URI, values);\n\n try {\n OutputStream thumbOut = cr.openOutputStream(url);\n thumb.compress(Bitmap.CompressFormat.JPEG, 100, thumbOut);\n thumbOut.close();\n return thumb;\n } catch (FileNotFoundException ex) {\n return null;\n } catch (IOException ex) {\n return null;\n }\n }", "title": "" } ]
[ { "docid": "cff8b8c87787ce6e7a7eb4baf0b7116a", "score": "0.6162094", "text": "private void dispatchTakeThumbnailIntent() {\n Log.i(LOG, \"dispatchTakeThumbnailIntent()\");\n Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);\n if (takePictureIntent.resolveActivity(getPackageManager()) != null) {\n startActivityForResult(takePictureIntent, REQUEST_THUMBNAIL_CAPTURE);\n }\n }", "title": "" }, { "docid": "982c62493ef5f1a93f4d462d179e0dfe", "score": "0.61356246", "text": "@Override\n\tpublic FileInfo createThumbnail(FileInfo media) throws Exception{\n\t\tFile output = File.createTempFile(\"weaktie_\", \".tmp\");\n\t\tif(MediaType.IMAGE==media.getMediaType()) {\n\t\t\tBufferedImage image = ImageIO.read(media.getFile());\n\t\t\tBufferedImage resizedImage = new BufferedImage(50, 50, BufferedImage.TYPE_3BYTE_BGR);\n\t\t\tGraphics2D g = resizedImage.createGraphics();\n\t\t\tg.drawImage(image, 0, 0, 50, 50, null);\n\t\t\tg.dispose();\n\t\t\tg.setComposite(AlphaComposite.Src);\n\t\t\tg.setRenderingHint(RenderingHints.KEY_INTERPOLATION,RenderingHints.VALUE_INTERPOLATION_BILINEAR);\n\t\t\tg.setRenderingHint(RenderingHints.KEY_RENDERING,RenderingHints.VALUE_RENDER_QUALITY);\n\t\t\tg.setRenderingHint(RenderingHints.KEY_ANTIALIASING,RenderingHints.VALUE_ANTIALIAS_ON);\n\t\t\tImageIO.write(resizedImage, \"jpg\", output);\n\t\t\tFileInfo info = new FileInfo();\n\t\t\tinfo.setContentType(\"image/jpeg\");\n\t\t\tinfo.setFile(output);\n\t\t\tif(media.getFileName()!=null) {\n\t\t\t\tinfo.setFileName(media.getFileName().replace(\".\", \"_\")+\".jpg\");\n\t\t\t}else {\n\t\t\t\tinfo.setFileName(DigestUtils.md5Hex(output.getPath())+\".jpg\");\n\t\t\t}\n\t\t\tinfo.setMediaType(media.getMediaType());\n\t\t\treturn info;\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "cc060bd94e3418e892e7d3b65e9a0fb7", "score": "0.60729396", "text": "public Bitmap getThumbnail() {\n return mThumbnail;\n }", "title": "" }, { "docid": "fb08f6931c65390d568ee424757a782a", "score": "0.6061165", "text": "public Image getThumbnailImage(AbstractDataset set, int size) throws Exception;", "title": "" }, { "docid": "04a93904189e150b50a251bf5de5e0ba", "score": "0.6060092", "text": "private Uri getImageURI(Context context, Bitmap thumbnail) {\n String path=null;\n try {\n\n ByteArrayOutputStream bytes = new ByteArrayOutputStream();\n thumbnail.compress(Bitmap.CompressFormat.JPEG, 70, bytes);\n path = MediaStore.Images.Media.insertImage(context.getContentResolver(), thumbnail, \"title\", null);\n\n } catch (Exception e) {\n Toast.makeText(this.getContext(),\"ERROR : \" + e.getMessage(), Toast.LENGTH_LONG).show();\n }\n return Uri.parse(path);\n }", "title": "" }, { "docid": "9df56a0c3b6ecd4e6db2b2acfe784b48", "score": "0.59696543", "text": "private void generateThumbnail() {\n\t\tFileOutputStream stream;\n\t\ttry {\n\t\t\tstream = new FileOutputStream(thumbnailFilepath);\n\t\t\tBitmap bitmap = ThumbnailUtils.createVideoThumbnail(mediaFile.getAbsolutePath(), MediaStore.Video.Thumbnails.MINI_KIND);\n\t\t\tbitmap.compress(Bitmap.CompressFormat.JPEG, 100, stream); // 100 is highest quality\n\t\t\tLog.d(TAG, \"jpeg generated!!!\");\n\t\t} catch (FileNotFoundException e) {\n\t\t\tLog.d(TAG, \"ApiError creating FileOutputStream.\");\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "0b118b33618e82997a35137f841f2e95", "score": "0.59529245", "text": "public Image createImage(AbstractDataset thumb) throws Exception;", "title": "" }, { "docid": "ada22e084b8d4355368fbbb310099acf", "score": "0.5921991", "text": "@Override\n public void onActivityResult(int requestCode, int resultCode, Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n if (requestCode==0) {\n if (resultCode == RESULT_OK) {\n imageViewLink = data.getData();\n imageView.setImageURI(imageViewLink);\n }\n }else {\n\n if (resultCode == RESULT_OK) {\n try {\n Bitmap thumbnail = (Bitmap) data.getExtras().get(\"data\");\n // save capture picture to internal storage and get the Uri\n imageViewLink = getImageURI(this.getContext(), thumbnail);\n imageView.setImageURI(imageViewLink);\n } catch (Exception e) {\n Toast.makeText(getContext(), \"eEEee\" + e.getMessage(), Toast.LENGTH_LONG).show();\n }\n }\n }\n\n }", "title": "" }, { "docid": "da4a728b7a91e88564c6cd2b6f6fc3bf", "score": "0.58908844", "text": "private static final String insertImage(ContentResolver cr, Bitmap source,\n\t String title, String description) {\n\t ContentValues values = new ContentValues();\n\t values.put(Media.TITLE, title);\n\t values.put(Images.Media.DATE_TAKEN, System.currentTimeMillis());\n\t values.put(Images.Media.MIME_TYPE, \"image/jpeg\");\n\t Uri uri = null;\n\t String stringUrl = null; /* value to be returned */\n\t try {\n\t uri = cr.insert(Images.Media.EXTERNAL_CONTENT_URI, values);\n\n\t if (source != null) {\n\t OutputStream imageOut = cr.openOutputStream(uri);\n\n\t try {\n\t source.compress(Bitmap.CompressFormat.JPEG, 100, imageOut);\n\t } finally { \n\t imageOut.close();\n\t }\n\n\t long id = ContentUris.parseId(uri);\n\t // Wait until MINI_KIND thumbnail is generated.\n\t Bitmap miniThumb = Images.Thumbnails.getThumbnail(cr, id,\n\t Images.Thumbnails.MINI_KIND, null);\n\t } else {\n\t cr.delete(uri, null, null);\n\t uri = null;\n\t }\n\t } catch (Exception e) {\n\t if (uri != null) {\n\t cr.delete(uri, null, null);\n\t uri = null;\n\t }\n\t }\n\t if (uri != null) {\n\t stringUrl = uri.toString();\n\t }\n\t return stringUrl;\n\t}", "title": "" }, { "docid": "d41e354f04ff1ca6a62019e66de22935", "score": "0.5861685", "text": "@Override\n protected void onActivityResult(int requestCode, int resultCode, Intent data) {\n Log.i(LOG, \"onActivityResult()\");\n if(resultCode == RESULT_OK) {\n if (requestCode == REQUEST_IMAGE_CAPTURE) {\n Log.i(LOG, \"REQUEST_IMAGE_CAPTURE\");\n // get the URI of the file\n image = new File(mCurrentPhotoPath);\n Uri contentUri = Uri.fromFile(image);\n // upload image\n imageName = uploadImage(this, contentUri);\n } else if(requestCode == REQUEST_THUMBNAIL_CAPTURE) {\n Log.i(LOG, \"REQUEST_THUMBNAIL_CAPTURE\");\n // get Bitmap of thumbnail\n Bundle extras = data.getExtras();\n thumbnail = (Bitmap) extras.get(\"data\");\n // upload thumbnail\n thumbnailName = uploadThumbnail(this, thumbnail);\n }\n } else {\n Log.i(LOG, \"Image/Thumbnail Capture failure\");\n utility.toast(this, \"Image Capture failure\");\n }\n }", "title": "" }, { "docid": "0e496d0819467e5a8ba523e7e125d882", "score": "0.5837736", "text": "public static final String insertImage(ContentResolver cr,\n Bitmap source,\n String title,\n String description) {\n\n ContentValues values = new ContentValues();\n values.put(MediaStore.Images.Media.TITLE, title);\n values.put(MediaStore.Images.Media.DISPLAY_NAME, title);\n values.put(MediaStore.Images.Media.DESCRIPTION, description);\n values.put(MediaStore.Images.Media.MIME_TYPE, \"image/jpeg\");\n // Add the date meta data to ensure the image is added at the front of the gallery\n values.put(MediaStore.Images.Media.DATE_ADDED, System.currentTimeMillis());\n values.put(MediaStore.Images.Media.DATE_TAKEN, System.currentTimeMillis());\n\n Uri url = null;\n String stringUrl = null; /* value to be returned */\n\n try {\n url = cr.insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values);\n\n if (source != null) {\n OutputStream imageOut = cr.openOutputStream(url);\n try {\n source.compress(Bitmap.CompressFormat.JPEG, 100, imageOut);\n } finally {\n imageOut.close();\n }\n\n long id = ContentUris.parseId(url);\n // Wait until MINI_KIND thumbnail is generated.\n Bitmap miniThumb = MediaStore.Images.Thumbnails.getThumbnail(cr, id, MediaStore.Images.Thumbnails.MINI_KIND, null);\n // This is for backward compatibility.\n storeThumbnail(cr, miniThumb, id, 50F, 50F, MediaStore.Images.Thumbnails.MICRO_KIND);\n } else {\n cr.delete(url, null, null);\n url = null;\n }\n } catch (Exception e) {\n if (url != null) {\n cr.delete(url, null, null);\n url = null;\n }\n }\n\n if (url != null) {\n stringUrl = url.toString();\n }\n\n return stringUrl;\n }", "title": "" }, { "docid": "cf080ee0130cb8576915abe32826e5bf", "score": "0.5812664", "text": "String getThumbnail();", "title": "" }, { "docid": "21da087ba78cb36bbde50281a5c4cf2c", "score": "0.57977194", "text": "void setThumbnail(String thumbnail);", "title": "" }, { "docid": "0492af1a65ef3d3b5da4439a28c619a2", "score": "0.57880557", "text": "public ImageView getThumbnail() {\n\t\treturn new ImageView(new Image(getPhotoURL(), 150, 150, true, true));\n\t}", "title": "" }, { "docid": "55cc87e2e5b98ae9fcb73f2ff1a7f21b", "score": "0.57230383", "text": "public String createThumbnailForImage(String imagePath) {\n if (TextUtils.isEmpty(imagePath)) {\n return null;\n }\n File inFile = new File(imagePath);\n if (!inFile.exists()) {\n return null;\n }\n File thumbnailFile = randomPath(imagePath);\n if (thumbnailFile.exists()) {\n return thumbnailFile.getAbsolutePath();\n }\n Bitmap inBitmap = readImageFromPath(imagePath, THUMBNAIL_SIZE, THUMBNAIL_SIZE);\n if (inBitmap == null) {\n return null;\n }\n ByteArrayOutputStream compressStream = new ByteArrayOutputStream();\n inBitmap.compress(Bitmap.CompressFormat.JPEG, THUMBNAIL_QUALITY, compressStream);\n try {\n compressStream.close();\n thumbnailFile.createNewFile();\n FileOutputStream writeStream = new FileOutputStream(thumbnailFile);\n writeStream.write(compressStream.toByteArray());\n writeStream.flush();\n writeStream.close();\n return thumbnailFile.getAbsolutePath();\n } catch (Exception ignored) {\n return null;\n }\n }", "title": "" }, { "docid": "5c544e0baa0991dff454fb1830c448cd", "score": "0.5653177", "text": "void setThumbnail(String path);", "title": "" }, { "docid": "e6b36ee1afd1c0ad9f164d36eac09f3a", "score": "0.55926794", "text": "private void setPreviewThumbnails() {\n Release currentRelease;\n\n if (mUserCollectionDB.getReleases().size() > 0) {\n mCollectionLinearLayout.removeAllViews();\n int previewsToLoad = 10;\n if (mUserCollectionDB.getReleases().size() < 10) {\n previewsToLoad = mUserCollectionDB.getReleases().size();\n }\n for (int i = 0; i < previewsToLoad; i++) {\n currentRelease = mUserCollectionDB.getReleases().get(i);\n ImageView imageView = new ImageView(getContext());\n imageView.setPadding(2, 2, 2, 2);\n LinearLayout.LayoutParams parms = new LinearLayout.LayoutParams(300, 300);\n imageView.setLayoutParams(parms);\n\n if (!currentRelease.getThumbUrl().equals(\"\")) {\n if (currentRelease.getThumbDir().equals(\"\")) {\n DownloadPreviewThumbnail(\"Collection\", i, currentRelease.getReleaseId(), imageView);\n } else {\n imageView.setImageBitmap(BitmapFactory.decodeFile(currentRelease.getThumbDir()));\n final Release finalCurrentRelease = currentRelease;\n imageView.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n Intent intent = ReleaseActivity.newIntent(getActivity(),\n finalCurrentRelease.getId(), \"Collection\");\n startActivity(intent);\n }\n });\n mCollectionLinearLayout.addView(imageView);\n }\n } else {\n currentRelease.setThumbUrl(\"local\");\n Bitmap blankAlbumBitmap = BitmapFactory.decodeResource(getResources(), R.drawable.album_blank);\n // path to /data/data/yourapp/app_data/imageDir\n ContextWrapper cw = new ContextWrapper(getContext());\n\n String thumbDir = \"CollectionCovers\";\n File directory = cw.getDir(thumbDir, Context.MODE_PRIVATE);\n\n // Create imageDir\n File filePath = new File(directory, \"release_\" +\n currentRelease.getReleaseId() + \"_cover.jpeg\");\n\n FileOutputStream fos = null;\n try {\n fos = new FileOutputStream(filePath);\n blankAlbumBitmap.compress(Bitmap.CompressFormat.JPEG, 100, fos);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n } finally {\n try {\n if (fos != null) {\n fos.close();\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n currentRelease.setThumbDir(filePath.getAbsolutePath());\n mUserCollectionDB.updateRelease(currentRelease);\n\n imageView.setImageBitmap(blankAlbumBitmap);\n final Release finalCurrentRelease = currentRelease;\n imageView.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n Intent intent = ReleaseActivity.newIntent(getActivity(),\n finalCurrentRelease.getId(), \"Collection\");\n startActivity(intent);\n }\n });\n mCollectionLinearLayout.addView(imageView);\n }\n }\n Log.i(\"Preview Load\", \"Loaded \" + previewsToLoad + \" Collection previews from setPreviewThumbnails Loop\");\n } else {\n mCollectionLinearLayout.removeAllViews();\n TextView emptyMessageTextView = (TextView) getActivity()\n .getLayoutInflater().inflate(R.layout.list_empty_list_text_view, null);\n String emptyMessageString = \"Collection is Empty\";\n emptyMessageTextView.setText(emptyMessageString);\n mCollectionLinearLayout.addView(emptyMessageTextView);\n }\n\n\n if (mUserWantlistDB.getReleases().size() > 0) {\n mWantlistLinearLayout.removeAllViews();\n int previewsToLoad = 10;\n if (mUserWantlistDB.getReleases().size() < 10) {\n previewsToLoad = mUserWantlistDB.getReleases().size();\n }\n for (int i = 0; i < previewsToLoad; i++) {\n currentRelease = mUserWantlistDB.getReleases().get(i);\n ImageView imageView = new ImageView(getContext());\n imageView.setPadding(2, 2, 2, 2);\n LinearLayout.LayoutParams parms = new LinearLayout.LayoutParams(300, 300);\n imageView.setLayoutParams(parms);\n\n if (!currentRelease.getThumbUrl().equals(\"\")) {\n if (currentRelease.getThumbDir().equals(\"\")) {\n DownloadPreviewThumbnail(\"Wantlist\", i, currentRelease.getReleaseId(), imageView);\n } else {\n imageView.setImageBitmap(BitmapFactory.decodeFile(currentRelease.getThumbDir()));\n final Release finalCurrentRelease = currentRelease;\n imageView.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n Intent intent = ReleaseActivity.newIntent(getActivity(),\n finalCurrentRelease.getId(), \"Wantlist\");\n startActivity(intent);\n }\n });\n mWantlistLinearLayout.addView(imageView);\n }\n } else {\n currentRelease.setThumbUrl(\"local\");\n Bitmap blankAlbumBitmap = BitmapFactory.decodeResource(getResources(), R.drawable.album_blank);\n // path to /data/data/yourapp/app_data/imageDir\n ContextWrapper cw = new ContextWrapper(getContext());\n\n String thumbDir = \"WantlistCovers\";\n File directory = cw.getDir(thumbDir, Context.MODE_PRIVATE);\n\n // Create imageDir\n File filePath = new File(directory, \"release_\" +\n currentRelease.getReleaseId() + \"_cover.jpeg\");\n\n FileOutputStream fos = null;\n try {\n fos = new FileOutputStream(filePath);\n blankAlbumBitmap.compress(Bitmap.CompressFormat.JPEG, 100, fos);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n } finally {\n try {\n if (fos != null) {\n fos.close();\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n currentRelease.setThumbDir(filePath.getAbsolutePath());\n mUserWantlistDB.updateRelease(currentRelease);\n\n imageView.setImageBitmap(blankAlbumBitmap);\n final Release finalCurrentRelease = currentRelease;\n imageView.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n Intent intent = ReleaseActivity.newIntent(getActivity(),\n finalCurrentRelease.getId(), \"Wantlist\");\n startActivity(intent);\n }\n });\n mWantlistLinearLayout.addView(imageView);\n }\n }\n Log.i(\"Preview Load\", \"Loaded \" + previewsToLoad + \" Wantlist previews from setPreviewThumbnails Loop\");\n } else {\n mWantlistLinearLayout.removeAllViews();\n TextView emptyMessageTextView = (TextView) getActivity()\n .getLayoutInflater().inflate(R.layout.list_empty_list_text_view, null);\n String emptyMessageString = \"Wantlist is Empty\";\n emptyMessageTextView.setText(emptyMessageString);\n mWantlistLinearLayout.addView(emptyMessageTextView);\n\n// LinearLayout.LayoutParams layoutParams =\n// (LinearLayout.LayoutParams) emptyMessageTextView.getLayoutParams();\n// layoutParams.weight = 1.0f;\n// layoutParams.gravity = Gravity.CENTER;\n// emptyMessageTextView.setLayoutParams(layoutParams);\n }\n }", "title": "" }, { "docid": "c1cfb9809904510ad2b3971d2c8bb0d4", "score": "0.5577634", "text": "public byte[] getThumbnail()\n {\n return this.thumbnail;\n }", "title": "" }, { "docid": "2c3857316b1b903b967d53afb5a04c26", "score": "0.5575989", "text": "public String getThumbnail()\n {\n return thumbnail;\n }", "title": "" }, { "docid": "abb40546fd24a398d4d00bb40b8f3d8d", "score": "0.5556565", "text": "private BufferedImage createThumbnail(BufferedImage image) throws Exception {\n\t\treturn scale(image, 0.2);\n\t}", "title": "" }, { "docid": "2fdc1ec8c3f4bc0350b576a82b869e0e", "score": "0.5545297", "text": "public void saveImage()\n {\n String fileName = \"ETCH_A_SKETCH\" + currentTimeMillis();\n\n // configure new image's data setting empty ContentValues (adds a key-value pair to ContentValues object)\n ContentValues values = new ContentValues();\n values.put(MediaStore.Images.Media.TITLE, fileName); // specify file name\n values.put(MediaStore.Images.Media.DATE_ADDED, currentTimeMillis()); // specify when it was saved\n values.put(MediaStore.Images.Media.MIME_TYPE, \"image/jpg\"); // specify its type\n\n // calls its insert method to get a Uniform Resource Identifier where the image will be stored\n Uri uri = getContext().getContentResolver().insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values);\n\n try\n {\n // get an output stream to URI\n OutputStream outStream = getContext().getContentResolver().openOutputStream(uri);\n\n // copy bitmap to OutputStream without loss of quality\n bitmap.compress(Bitmap.CompressFormat.JPEG, 100, outStream);\n\n // force data to be written\n outStream.flush();\n // further write() or flush() invocations will cause an IOException\n outStream.close();\n\n // if file was saved successfully, use a Toast to indicate this\n Toast message = Toast.makeText(getContext(), R.string.message_saved, Toast.LENGTH_SHORT);\n message.setGravity(Gravity.CENTER, message.getXOffset() / 2, message.getYOffset() / 2);\n message.show();\n }\n\n // if something went wrong, show error message\n catch (FileNotFoundException e)\n {\n e.printStackTrace();\n\n Toast message = Toast.makeText(getContext(), R.string.message_error, Toast.LENGTH_SHORT);\n message.setGravity(Gravity.CENTER, message.getXOffset() / 2, message.getYOffset() / 2);\n message.show();\n }\n\n catch (IOException e)\n {\n e.printStackTrace();\n\n Toast message = Toast.makeText(getContext(), R.string.message_error, Toast.LENGTH_SHORT);\n message.setGravity(Gravity.CENTER, message.getXOffset() / 2, message.getYOffset() / 2);\n message.show();\n }\n }", "title": "" }, { "docid": "917e649ddeee33aa633b0510ef1457ea", "score": "0.55119056", "text": "private void setThumbnailImage(ListingDetailsViewHolder holder) {\n ListingDetails item = holder.mItem;\n String imageURL = getImageURL(item, 0);\n if (!imageURL.isEmpty()) {\n Log.i(TAG, \"Loading image \" + imageURL);\n Picasso.get().load(imageURL).resize(holder.mThumbnailView.getWidth(),500).centerCrop().into(holder.mThumbnailView);\n }\n }", "title": "" }, { "docid": "f901afcc473ae507c626f3740d600491", "score": "0.54684246", "text": "void onCompletedLoadSongThumbnail(Bitmap thumbnailImage);", "title": "" }, { "docid": "75c80cad3409415f8e10ae8cb5c42a18", "score": "0.54608345", "text": "public void setThumbnail(@Nullable ThumbnailData thumbnailData) {\n mThumbnailDrawable.setCurrentDrawable(getSafeThumbnail(thumbnailData));\n }", "title": "" }, { "docid": "b706cb111942c38c478360fff1f55828", "score": "0.5429891", "text": "@Override\n protected Bitmap doInBackground(ArtistInfo... params) {\n String CACHE_ART_THUMBS = MyApp.getContext().getCacheDir() + \"/art_thumbs/\";\n String actual_file_path = CACHE_ART_THUMBS + params[0].getOriginalArtist();\n File f = new File(CACHE_ART_THUMBS);\n if (!f.exists()) {\n f.mkdir();\n }\n if (!new File(actual_file_path).exists()) {\n //create file\n FileOutputStream fos = null;\n try {\n fos = new FileOutputStream(new File(actual_file_path));\n URL url = new URL(params[0].getImageUrl());\n InputStream inputStream = url.openConnection().getInputStream();\n byte[] buffer = new byte[1024];\n int bufferLength = 0;\n while ((bufferLength = inputStream.read(buffer)) > 0) {\n fos.write(buffer, 0, bufferLength);\n }\n fos.close();\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n }\n\n b = BitmapFactory.decodeFile(actual_file_path);\n return b;\n }", "title": "" }, { "docid": "a49ec7dac12cd7288f128f0257b7429c", "score": "0.5417286", "text": "public static android.graphics.Bitmap createAudioThumbnail(java.io.File r9, android.util.Size r10, android.os.CancellationSignal r11) throws java.io.IOException {\r\n /*\r\n if (r11 == 0) goto L_0x0005;\r\n L_0x0002:\r\n r11.throwIfCanceled();\r\n L_0x0005:\r\n r0 = new android.media.ThumbnailUtils$Resizer;\r\n r0.<init>(r10, r11);\r\n r1 = new android.media.MediaMetadataRetriever;\t Catch:{ RuntimeException -> 0x00c1 }\r\n r1.<init>();\t Catch:{ RuntimeException -> 0x00c1 }\r\n r2 = r9.getAbsolutePath();\t Catch:{ all -> 0x00ba }\r\n r1.setDataSource(r2);\t Catch:{ all -> 0x00ba }\r\n r2 = r1.getEmbeddedPicture();\t Catch:{ all -> 0x00ba }\r\n r3 = 0;\r\n if (r2 == 0) goto L_0x0029;\r\n L_0x001d:\r\n r4 = android.graphics.ImageDecoder.createSource(r2);\t Catch:{ all -> 0x00ba }\r\n r4 = android.graphics.ImageDecoder.decodeBitmap(r4, r0);\t Catch:{ all -> 0x00ba }\r\n $closeResource(r3, r1);\t Catch:{ RuntimeException -> 0x00c1 }\r\n return r4;\r\n L_0x0029:\r\n $closeResource(r3, r1);\t Catch:{ RuntimeException -> 0x00c1 }\r\n r1 = android.os.Environment.getExternalStorageState(r9);\r\n r2 = \"unknown\";\r\n r1 = r2.equals(r1);\r\n if (r1 != 0) goto L_0x00b2;\r\n L_0x003a:\r\n r1 = r9.getParentFile();\r\n if (r1 == 0) goto L_0x0045;\r\n L_0x0040:\r\n r4 = r1.getParentFile();\r\n goto L_0x0046;\r\n L_0x0045:\r\n r4 = r3;\r\n L_0x0046:\r\n if (r1 == 0) goto L_0x005d;\r\n L_0x0048:\r\n r5 = r1.getName();\r\n r6 = android.os.Environment.DIRECTORY_DOWNLOADS;\r\n r5 = r5.equals(r6);\r\n if (r5 != 0) goto L_0x0055;\r\n L_0x0054:\r\n goto L_0x005d;\r\n L_0x0055:\r\n r2 = new java.io.IOException;\r\n r3 = \"No thumbnails in Downloads directories\";\r\n r2.<init>(r3);\r\n throw r2;\r\n L_0x005d:\r\n if (r4 == 0) goto L_0x0072;\r\n L_0x005f:\r\n r5 = android.os.Environment.getExternalStorageState(r4);\r\n r2 = r2.equals(r5);\r\n if (r2 != 0) goto L_0x006a;\r\n L_0x0069:\r\n goto L_0x0072;\r\n L_0x006a:\r\n r2 = new java.io.IOException;\r\n r3 = \"No thumbnails in top-level directories\";\r\n r2.<init>(r3);\r\n throw r2;\r\n r2 = r9.getParentFile();\r\n r5 = android.media.-$$Lambda$ThumbnailUtils$P13h9YbyD69p6ss1gYpoef43_MU.INSTANCE;\r\n r2 = r2.listFiles(r5);\r\n r2 = com.android.internal.util.ArrayUtils.defeatNullable(r2);\r\n r5 = android.media.-$$Lambda$ThumbnailUtils$qOH5vebuTwPi2G92PTa6rgwKGoc.INSTANCE;\r\n r6 = new android.media.-$$Lambda$ThumbnailUtils$HhGKNQZck57eO__Paj6KyQm6lCk;\r\n r6.<init>(r5);\r\n r7 = java.util.Arrays.asList(r2);\r\n r7 = r7.stream();\r\n r7 = r7.max(r6);\r\n r3 = r7.orElse(r3);\r\n r3 = (java.io.File) r3;\r\n if (r3 == 0) goto L_0x00aa;\r\n L_0x009c:\r\n if (r11 == 0) goto L_0x00a1;\r\n L_0x009e:\r\n r11.throwIfCanceled();\r\n L_0x00a1:\r\n r7 = android.graphics.ImageDecoder.createSource(r3);\r\n r7 = android.graphics.ImageDecoder.decodeBitmap(r7, r0);\r\n return r7;\r\n L_0x00aa:\r\n r7 = new java.io.IOException;\r\n r8 = \"No album art found\";\r\n r7.<init>(r8);\r\n throw r7;\r\n L_0x00b2:\r\n r1 = new java.io.IOException;\r\n r2 = \"No embedded album art found\";\r\n r1.<init>(r2);\r\n throw r1;\r\n L_0x00ba:\r\n r2 = move-exception;\r\n throw r2;\t Catch:{ all -> 0x00bc }\r\n L_0x00bc:\r\n r3 = move-exception;\r\n $closeResource(r2, r1);\t Catch:{ RuntimeException -> 0x00c1 }\r\n throw r3;\t Catch:{ RuntimeException -> 0x00c1 }\r\n L_0x00c1:\r\n r1 = move-exception;\r\n r2 = new java.io.IOException;\r\n r3 = \"Failed to create thumbnail\";\r\n r2.<init>(r3, r1);\r\n throw r2;\r\n */\r\n throw new UnsupportedOperationException(\"Method not decompiled: android.media.ThumbnailUtils.createAudioThumbnail(java.io.File, android.util.Size, android.os.CancellationSignal):android.graphics.Bitmap\");\r\n }", "title": "" }, { "docid": "1f217b70e17302a95fab58643366977e", "score": "0.54111844", "text": "private void onCaptureImageResult(Intent data) {\n try {\n //bitmap1 = (Bitmap) data.getExtras().get(\"data\");\n// ByteArrayOutputStream bytes = new ByteArrayOutputStream();\n// bitmap1.compress(Bitmap.CompressFormat.JPEG, 90, bytes);\n bitmap1 = MediaStore.Images.Media.getBitmap(getContentResolver(), imageUri);\n takePictureReportAccidentFormImageView.setVisibility(View.VISIBLE);\n takePictureReportAccidentFormImageView.setImageBitmap(bitmap1);\n Long tsLong = System.currentTimeMillis() / 1000;\n timestamp1 = tsLong.toString();\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n\n\n// String root = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES).toString();\n// File myDir = new File(root + \"/TLC\");\n// myDir.mkdirs();\n// Random generator = new Random();\n// int n = 10000;\n// n = generator.nextInt(n);\n// fname = \"Image-\" + n + \".jpg\";\n// File file = new File(myDir, fname);\n// if (file.exists())\n// file.delete();\n// try {\n// FileOutputStream out = new FileOutputStream(file);\n// thumbnail.compress(Bitmap.CompressFormat.JPEG, 100, out);\n// out.flush();\n// out.close();\n// }\n// catch (Exception e) {\n// e.printStackTrace();\n// }\n\n\n// Tell the media scanner about the new file so that it is\n// immediately available to the user.\n// MediaScannerConnection.scanFile(this, new String[] { file.toString() }, null,\n// new MediaScannerConnection.OnScanCompletedListener() {\n // public void onScanCompleted(String path, Uri uri) {\n// Log.i(\"ExternalStorage\", \"Scanned \" + path + \":\");\n// Log.i(\"ExternalStorage\", \"-> uri=\" + uri);\n// }\n// });\n//\n// Imagepath = \"/Pictures/TLC/\"+fname;\n// Log.d(\"afdff\", \"onCaptureImageResult: \"+Imagepath);\n\n// File destination = new File(Environment.getExternalStorageDirectory(),\n// System.currentTimeMillis() + \".jpg\");\n// FileOutputStream fo;\n// try {\n// destination.createNewFile();\n// fo = new FileOutputStream(destination);\n// fo.write(bytes.toByteArray());\n// fo.close();\n// } catch (FileNotFoundException e) {\n// e.printStackTrace();\n// } catch (IOException e) {\n// e.printStackTrace();\n// }\n// Toast.makeText(this, \"image save successfully\", Toast.LENGTH_SHORT).show();\n\n\n //Toast.makeText(getApplicationContext(),\"take\"+timestamp1,Toast.LENGTH_SHORT).show();\n\n// takePictureReportAccidentFormImageView.setVisibility(View.VISIBLE);\n//\n// takePictureReportAccidentFormImageView.setImageBitmap(thumbnail);\n\n\n\n }", "title": "" }, { "docid": "3c90f1b837b3b14816dac9c94ecdd99c", "score": "0.54078835", "text": "public int getThumbnail(java.lang.String r19, int r20) {\n /*\n r18 = this;\n r17 = 0;\n r2 = new java.lang.StringBuilder;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r2.<init>();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4 = mcontext;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4 = r4.getFilesDir();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4 = r4.getParent();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r2 = r2.append(r4);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4 = \"/test_thumb_img.jpg\";\n r2 = r2.append(r4);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r16 = r2.toString();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r2 = 1;\n r0 = r20;\n if (r0 != r2) goto L_0x013d;\n L_0x0024:\n r2 = \"MTPJNIInterface\";\n r4 = new java.lang.StringBuilder;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4.<init>();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r5 = \"inside getThumbnail for images for \";\n r4 = r4.append(r5);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r0 = r19;\n r4 = r4.append(r0);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4 = r4.toString();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n MTP_LOG_PRINT(r2, r4);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r15 = r18.getImageThumbBitmap(r19);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n if (r15 == 0) goto L_0x0090;\n L_0x0045:\n r9 = new java.io.ByteArrayOutputStream;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r9.<init>();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r2 = android.graphics.Bitmap.CompressFormat.JPEG;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4 = 60;\n r15.compress(r2, r4, r9);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r8 = r9.toByteArray();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r0 = r8.length;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r17 = r0;\n r13 = new java.io.FileOutputStream;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r0 = r16;\n r13.<init>(r0);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r13.write(r8);\t Catch:{ Exception -> 0x0084, OutOfMemoryError -> 0x00de }\n r13.close();\t Catch:{ Exception -> 0x0084, OutOfMemoryError -> 0x00de }\n L_0x0065:\n r15.recycle();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n L_0x0068:\n r2 = \"MTPJNIInterface\";\n r4 = new java.lang.StringBuilder;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4.<init>();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r5 = \"image's thumb size is \";\n r4 = r4.append(r5);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r0 = r17;\n r4 = r4.append(r0);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4 = r4.toString();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n MTP_LOG_PRINT(r2, r4);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n L_0x0083:\n return r17;\n L_0x0084:\n r12 = move-exception;\n r13.close();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n goto L_0x0065;\n L_0x0089:\n r12 = move-exception;\n r12.printStackTrace();\n r17 = 0;\n goto L_0x0083;\n L_0x0090:\n r2 = \"MTPJNIInterface\";\n r4 = new java.lang.StringBuilder;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4.<init>();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r5 = \"Image's bitmap is coming null try from MediaStore's API \";\n r4 = r4.append(r5);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r0 = r19;\n r4 = r4.append(r0);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4 = r4.toString();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n android.util.Log.e(r2, r4);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r3 = android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r2 = mcontext;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r2 = r2.getContentResolver();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4 = 0;\n r5 = new java.lang.StringBuilder;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r5.<init>();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r6 = \"_data =\\\"\";\n r5 = r5.append(r6);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r0 = r19;\n r5 = r5.append(r0);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r6 = \"\\\"\";\n r5 = r5.append(r6);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r5 = r5.toString();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r6 = 0;\n r7 = 0;\n r11 = r2.query(r3, r4, r5, r6, r7);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n if (r11 != 0) goto L_0x00e2;\n L_0x00d6:\n r2 = \"MTPJNIInterface\";\n r4 = \"Cur is null\";\n android.util.Log.e(r2, r4);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n goto L_0x0083;\n L_0x00de:\n r12 = move-exception;\n r17 = 0;\n goto L_0x0083;\n L_0x00e2:\n r10 = r11.getCount();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r14 = 0;\n if (r10 != 0) goto L_0x00f4;\n L_0x00e9:\n r2 = \"MTPJNIInterface\";\n r4 = \"Count is zero\";\n android.util.Log.e(r2, r4);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r11.close();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n goto L_0x0083;\n L_0x00f4:\n r11.moveToFirst();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r2 = \"_id\";\n r2 = r11.getColumnIndex(r2);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r14 = r11.getInt(r2);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r11.close();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r2 = mcontext;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r2 = r2.getContentResolver();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4 = (long) r14;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r6 = 1;\n r7 = 0;\n r15 = android.provider.MediaStore.Images.Thumbnails.getThumbnail(r2, r4, r6, r7);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n if (r15 == 0) goto L_0x0068;\n L_0x0113:\n r9 = new java.io.ByteArrayOutputStream;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r9.<init>();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r2 = android.graphics.Bitmap.CompressFormat.JPEG;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4 = 60;\n r15.compress(r2, r4, r9);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r8 = r9.toByteArray();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r0 = r8.length;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r17 = r0;\n r13 = new java.io.FileOutputStream;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r0 = r16;\n r13.<init>(r0);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r13.write(r8);\t Catch:{ Exception -> 0x0138, OutOfMemoryError -> 0x00de }\n r13.close();\t Catch:{ Exception -> 0x0138, OutOfMemoryError -> 0x00de }\n L_0x0133:\n r15.recycle();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n goto L_0x0068;\n L_0x0138:\n r12 = move-exception;\n r13.close();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n goto L_0x0133;\n L_0x013d:\n r2 = 2;\n r0 = r20;\n if (r0 != r2) goto L_0x0083;\n L_0x0142:\n r15 = r18.getVideoThumbBitmap(r19);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n if (r15 == 0) goto L_0x0189;\n L_0x0148:\n r9 = new java.io.ByteArrayOutputStream;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r9.<init>();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r2 = android.graphics.Bitmap.CompressFormat.JPEG;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4 = 60;\n r15.compress(r2, r4, r9);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r8 = r9.toByteArray();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r0 = r8.length;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r17 = r0;\n r2 = \"MTPJNIInterface\";\n r4 = new java.lang.StringBuilder;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4.<init>();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r5 = \"Videos's thumbnail size is \";\n r4 = r4.append(r5);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r5 = r8.length;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4 = r4.append(r5);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r4 = r4.toString();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n MTP_LOG_PRINT(r2, r4);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r13 = new java.io.FileOutputStream;\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r0 = r16;\n r13.<init>(r0);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n r13.write(r8);\t Catch:{ Exception -> 0x0183, OutOfMemoryError -> 0x00de }\n r13.close();\t Catch:{ Exception -> 0x0183, OutOfMemoryError -> 0x00de }\n goto L_0x0083;\n L_0x0183:\n r12 = move-exception;\n r13.close();\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n goto L_0x0083;\n L_0x0189:\n r2 = \"MTPJNIInterface\";\n r4 = \"Video's bitmap is coming null\";\n android.util.Log.e(r2, r4);\t Catch:{ Exception -> 0x0089, OutOfMemoryError -> 0x00de }\n goto L_0x0083;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.mtp.MTPJNIInterface.getThumbnail(java.lang.String, int):int\");\n }", "title": "" }, { "docid": "8de1f1b9196abcc2415343813129577e", "score": "0.54071426", "text": "public boolean onCreateThumbnail (Bitmap b, Canvas c) {\n b.eraseColor(Color.BLACK);\n return true;\n }", "title": "" }, { "docid": "90659114b69c680c4a875acea2b6cb83", "score": "0.5387585", "text": "private void generateProjectThumbnail() {\n /*\n * If a thumbnail already exists, then delete it first\n */\n if ((new File(mProjectPath + \"/\" + THUMBNAIL_FILENAME)).exists()) {\n (new File(mProjectPath + \"/\" + THUMBNAIL_FILENAME)).delete();\n }\n /*\n * Generate a new thumbnail for the project from first media Item\n */\n if (mMediaItems.size() > 0) {\n MediaItem mI = mMediaItems.get(0);\n /*\n * Keep aspect ratio of the image\n */\n int height = 480;\n int width = mI.getWidth() * height / mI.getHeight();\n\n Bitmap projectBitmap = null;\n String filename = mI.getFilename();\n if (mI instanceof MediaVideoItem) {\n MediaMetadataRetriever retriever = new MediaMetadataRetriever();\n retriever.setDataSource(filename);\n Bitmap bitmap = retriever.getFrameAtTime();\n retriever.release();\n retriever = null;\n if (bitmap == null) {\n String msg = \"Thumbnail extraction from \" +\n filename + \" failed\";\n throw new IllegalArgumentException(msg);\n }\n // Resize the thumbnail to the target size\n projectBitmap =\n Bitmap.createScaledBitmap(bitmap, width, height, true);\n } else {\n try {\n projectBitmap = mI.getThumbnail(width, height, 500);\n } catch (IllegalArgumentException e) {\n String msg = \"Project thumbnail extraction from \" +\n filename + \" failed\";\n throw new IllegalArgumentException(msg);\n } catch (IOException e) {\n String msg = \"IO Error creating project thumbnail\";\n throw new IllegalArgumentException(msg);\n }\n }\n\n try {\n FileOutputStream stream = new FileOutputStream(mProjectPath + \"/\"\n + THUMBNAIL_FILENAME);\n projectBitmap.compress(Bitmap.CompressFormat.JPEG, 100, stream);\n stream.flush();\n stream.close();\n } catch (IOException e) {\n throw new IllegalArgumentException (\"Error creating project thumbnail\");\n } finally {\n projectBitmap.recycle();\n }\n }\n }", "title": "" }, { "docid": "0b1c761b59567a0ae272da87c1c0d0c5", "score": "0.5381621", "text": "private String linkToThumb(URL imageURL, float previewW, float previewH) {\n File imageFile = (\"file\".equals(imageURL.getProtocol())) ?\n new File(imageURL.getPath()) : ImageUtilities.getCachedAssetFileForURL(imageURL);\n LOG.info(\" linkToThumb: imageFile = \" + imageFile.toString());\n\n /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*\n * determine if this is an image -- can javax.imageio can process this it? \n * If not, FAIL, else, provide ImageReader which contains information about the image ...\n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/\n NSSize imageSize = ImageUtilities.getImageDimensions(imageFile);\n if (imageSize == null) {\n LOG.error(\" linkToThumb: ImageUtilities.getImageDimensions(\" + imageFile + \") == NULL\");\n return null;\n }\n \n /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*\n * ... what's the smaller transform that will make the image fit our preview size ?\n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/\n float scale = Math.min(previewW / imageSize.width(), previewH / imageSize.height());\n\n try {\n /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*\n * break down the original full-size image file's URL ...\n * \n * <-------- ImagesURL --------->\n * imageLink: http://localhost/Pachy3/images/Archive-9876/ImageFile-1234.png\n * <-------- originalName -------->\n * imageName: /Archive-9876/ImageFile-1234.png\n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/\n String imageLink = imageURL.toString();\n String imageName = imageLink.substring(absAssetsDirLink.length());\n\n /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*\n * NOTE: All thumbnail images are created as jpegs and will get the extension \".jpg\" UNLESS the \n * original file was a jpeg with the \".jpeg\" extension in which case that extension is kept. \n * That allows the uploading of two files such as \"oval.jpg\" and \"oval.jpeg\" which may be \n * different images entirely.\n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/\n String thumbName = imageName.substring(0, imageName.lastIndexOf(\".\")) + \n ((imageName.toLowerCase().endsWith(\".jpeg\")) ? \".jpeg\" : \".jpg\");\n /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*\n * thumbName: /Archive-9876/ImageFile-1234.jpg\n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*\n * create a File for the absolute path to the final thumbnail destination\n * \n * <------------- \"ThumbsDir\" --------------><--------- thumbName ---------->\n * thumbFile: /Library/WebServer/Documents/Pachy3/thumbs/Archive-9876/ImageFile-1234.jpg\n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/\n File thumbFile = new File(new File(defaults.getString(\"ThumbsDir\")), thumbName);\n\n /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*\n * If the thumb file doesn't exist, create it, but note that you can't create an intermediate\n * directory automatically if IT doesn't exist (as in the case of an archive being uploaded),\n * so create it first, if necessary.\n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/\n if (!thumbFile.exists()) {\n if (!thumbFile.getParentFile().exists()) {\n LOG.info(\" linkToThumb: created 'archive' directory: \" + thumbFile.getParentFile().getName()); \n thumbFile.getParentFile().mkdirs();\n }\n thumbFile.createNewFile();\n\n String jpegQualString = defaults.getString(\"ImageMagickJPEGCompressionQuality\");\n int jpegQualNumber = (jpegQualString == null) ? 75 : (new Integer(jpegQualString)).intValue();\n\n /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*\n * resize the imageFile into the thumbFile ...\n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/\n if (!ImageUtilities.resize(imageFile, thumbFile, \n imageSize.width() * scale, imageSize.height() * scale, jpegQualNumber)) return null; \n \n if (!thumbFile.exists()) {\n LOG.error(\" linkToThumb: \" + thumbFile.toString() + \" does not exist; returning null.\");\n return null;\n }\n }\n \n String thumbLink = absThumbsDirLink + thumbName;\n /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*\n * <------- \"ThumbsURL\" -------->\n * thumbLink: http://localhost/Pachy3/thumbs/Archive-9876/ImageFile-1234.jpg\n * <--------- thumbName ---------->\n * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/\n LOG.info(\" linkToThumb: thumbLink = \" + thumbLink);\n \n return thumbLink;\n } \n catch (Exception x) {\n LOG.error(\" linkToThumb: An error occurred: \", x);\n }\n \n return null;\n }", "title": "" }, { "docid": "938d34e5f42a212722f3eb6556f2276f", "score": "0.53809726", "text": "public static BufferedImage getThumbnailOfImage(BufferedImage originalImage){\r\n\t \tBufferedImage resizedImage = new BufferedImage(IMG_WIDTH_Thumbnail, IMG_HEIGHT_Thumbnail,getImageType(originalImage));\r\n\t \tGraphics2D g = resizedImage.createGraphics();\r\n\t \tg.drawImage(originalImage, 0, 0, IMG_WIDTH_Thumbnail, IMG_HEIGHT_Thumbnail, null);\r\n\t \tg.dispose();\r\n\t \r\n\t \treturn resizedImage; \r\n\t }", "title": "" }, { "docid": "c93f09b73377fc3bc91aaf9f945e0ea4", "score": "0.53727055", "text": "public interface IThumbnailService extends IFileIconService{\r\n\r\n\t/**\r\n\t * Create a sqaure image from a specified file, f of given side size, size in pixels.\r\n\t * @param f\r\n\t * @param size\r\n\t * @return\r\n\t */\r\n\tpublic Image createImage(final File f, final int size);\r\n\r\n\t/**\r\n\t * Get a thumbnail AbstractDataset of square shape.\r\n\t * @param set - must be 2D set\r\n\t * @param size\r\n\t * @return\r\n\t */\r\n\tpublic AbstractDataset getThumbnail(AbstractDataset set, int size);\r\n\r\n\t/**\r\n\t * Create an image from an AbstractDataset\r\n\t * @param thumb - must be 2D set\r\n\t * @return\r\n\t */\r\n\tpublic Image createImage(AbstractDataset thumb) throws Exception;\r\n\t\r\n\t/**\r\n\t * Main method for thumbnails, deals with 1D and 2D set thumbnails.\r\n\t * @param set\r\n\t * @param size\r\n\t * @return\r\n\t */\r\n\tpublic Image getThumbnailImage(AbstractDataset set, int size) throws Exception;\r\n\t\r\n}", "title": "" }, { "docid": "de953ba9e4b7cb65cba7c64e8f259047", "score": "0.5363111", "text": "private void saveScaledPhotoOnParse(Bitmap artworkImage) {\n\t\t\n\t\t//Resize photo from camera byte array\n\t\t//Bitmap artworkImage = BitmapFactory.decodeByteArray(data, 0, data.length);\n\t\t//Bitmap artworkImageScaled = Bitmap.createScaledBitmap(artworkImage, 200, 200 * artworkImage.getHeight() / artworkImage.getWidth(), false);\n\t\tprogressDialog = new ProgressDialog(getActivity());\n\t\tprogressDialog.setTitle(\"Please wait.\");\n\t\tprogressDialog.setMessage(\"Saving your picture. Please wait.\");\n\t\tprogressDialog.show();\n\t\t\n\t\tByteArrayOutputStream bos = new ByteArrayOutputStream();\n\t\tartworkImage.compress(Bitmap.CompressFormat.JPEG, 100, bos);\n\n\t\tbyte[] scaledData = bos.toByteArray();\n\t\t// Save the scaled image to Parse\n\t\tphotoFile = new ParseFile(\"artwork_photo.jpg\", scaledData);\n\t\t\n\t\tartwork = new Artwork();\n\t\t\n\t\t// Add data to the artwork object\n\t\tartwork.setPhotoFile(photoFile);\n\n\t\tartwork.setTitle(pictureTitle.getText().toString());\n\n\t\t// Associate the artwork with the current user\n\t\tartwork.setPictureAuthor(ParseUser.getCurrentUser());\n\n\t\t//Add the location\n\t\tfinal ParseGeoPoint userLocation = geoPointFromLocation(getLocation());\n\t\tif(userLocation != null) \n\t\t\tartwork.setLocation(userLocation);\n\t\t\n\t\t// If the user added a photo, that data will be added in the CameraFragment\n\n\t\t// Save the artwork and return\n\t\tartwork.saveInBackground(new SaveCallback() {\n\n\t\t\t@Override\n\t\t\tpublic void done(ParseException e) {\n\t\t\t\tif (e != null) {\n\t\t\t\t\tprogressDialog.dismiss();\n\t\t\t\t\tToast.makeText(\n\t\t\t\t\t\t\tgetActivity().getApplicationContext(),\n\t\t\t\t\t\t\t\"Error saving: \" + e.getMessage(),\n\t\t\t\t\t\t\tToast.LENGTH_SHORT).show();\n\t\t\t\t} else {\n\n\t\t\t\t\t//delete the temporary picture and come back to the cameraFragment\n\t\t\t\t\tgetActivity().deleteFile(\"temporaryPicture.jpg\");\n\t\t\t\t\t\n\t\t\t\t\t//debug, see if deleted\n\t\t\t\t\t((WallkActivity)getActivity()).logFilesSaved();\n\t\t\t\t\t\n\t\t\t\t\tprogressDialog.dismiss();\n\t\t\t\t\t\n\t\t\t\t\t//go to user pictures gallery\n\t\t\t\t\tGalleryFragment galleryFragment = ((WallkActivity)getActivity()).getGalleryFrag();\n\t\t\t\t\t((WallkActivity) getActivity()).showFragment(galleryFragment);\n\t\t\t\t\tgalleryFragment.showUserArtworks();\n\t\t\t\t}\n\t\t\t}\n\n\t\t});\n\t}", "title": "" }, { "docid": "be7d1b07a0f57ed96a25ce7dfd243912", "score": "0.53404987", "text": "public AbstractDataset getThumbnail(AbstractDataset set, int size);", "title": "" }, { "docid": "b760dee7f5f02eb297f23353d6072a92", "score": "0.53247935", "text": "public interface ThumbnailRenderer {\r\n\r\n Image getRenderedThumbnail(Image scaled, RenderedThumbnailCacheIndirection rtci, boolean dummy);\r\n}", "title": "" }, { "docid": "6539851b086fb018a5d4c8e63f947ba8", "score": "0.5295749", "text": "public static Bitmap getThumb(String imageLocation, int maxDimension) {\n \t\ttry {\n \t\t\tFile file = new File(imageLocation);\n \t\t\tMetadata metadata = JpegMetadataReader.readMetadata(file);\n \t\t\tDirectory jpegDirectory = metadata.getDirectory(JpegDirectory.class);\n \t\t\tif (!jpegDirectory.containsTag(JpegDirectory.TAG_JPEG_IMAGE_WIDTH) || \n \t\t\t\t\t!jpegDirectory.containsTag(JpegDirectory.TAG_JPEG_IMAGE_HEIGHT))\n \t\t\t\treturn null;\n \t\t\t\n \t\t\tint width = jpegDirectory.getInt(JpegDirectory.TAG_JPEG_IMAGE_WIDTH);\n \t\t\tint height = jpegDirectory.getInt(JpegDirectory.TAG_JPEG_IMAGE_HEIGHT);\n \t\t\t// Make sure we keep the aspect ratio, with a maximum edge of maxDimension\n \t\t\tfloat factor = Math.max(width / (float)maxDimension, height / (float)maxDimension);\n \t\t\tint scaledWidth = Math.max(1, (int)(width / factor));\n \t\t\tint scaledHeight = Math.max(1, (int)(height / factor));\n \t\t\t// First subsample the image without loading into memory,\n \t\t\t// then scale it to exactly the size we want\n \t\t\tBitmapFactory.Options opts = new BitmapFactory.Options();\n \t\topts.inSampleSize = (int) factor; \n \t\treturn Bitmap.createScaledBitmap(\n \t\t\t\tBitmapFactory.decodeFile(imageLocation, opts),\n \t\t\t\tscaledWidth, scaledHeight, true);\n \t\t} catch (JpegProcessingException e) {\n \t\t\t//e.printStackTrace();\n \t\t\treturn null;\n \t\t} catch (MetadataException e) {\n \t\t\t//e.printStackTrace();\n \t\t\treturn null;\n\t\t} catch (NullPointerException e) {\n\t\t\tLog.d(TAG, \"Couldn't create thumbnail for \" + imageLocation);\n\t\t\treturn null;\n \t\t}\n \t}", "title": "" }, { "docid": "2c4fa7c9e3db19daa05c37fb43392a91", "score": "0.5278105", "text": "public static BufferedImage createThumbnail(BufferedImage img) {\n \t img = Scalr.resize(img, Method.QUALITY, 150, OP_ANTIALIAS, OP_BRIGHTER);\r\n \t \r\n \t // Let's add a little border before we return result.\r\n \t return img;\r\n }", "title": "" }, { "docid": "547d9a91737903188fbeb8d5b8c02da5", "score": "0.5270205", "text": "@Override\r\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n final String fullSizeUrl = taskSnapshot.getDownloadUrl().toString();\r\n\r\n //compress bitmap for thumbnail upload\r\n ByteArrayOutputStream thumbnailStream = new ByteArrayOutputStream();\r\n mThumbnailBitmap.compress(Bitmap.CompressFormat.JPEG, 50, thumbnailStream);\r\n\r\n //upload image to thumbnail storage:\r\n mCelebImageStorage.child(celebId + Constants.trim(mCelebNameEditText.getText().toString().trim())).child(\"thumb\").putBytes(thumbnailStream.toByteArray()).addOnSuccessListener(new OnSuccessListener<UploadTask.TaskSnapshot>() {\r\n @Override\r\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\r\n\r\n //get thumbnail url from upload\r\n String thumbnailUrl = taskSnapshot.getDownloadUrl().toString();\r\n\r\n //create new celeb for firebase database\r\n Celeb celeb = new Celeb(celebId, mCelebNameEditText.getText().toString(), fullSizeUrl, thumbnailUrl, 0);\r\n\r\n //upload the new created celeb to firebase database:\r\n mCelebDatabase.child(celebId).setValue(celeb).addOnSuccessListener(new OnSuccessListener<Void>() {\r\n @Override\r\n public void onSuccess(Void aVoid) {\r\n //dismiss the dialog\r\n mDialog.dismiss();\r\n\r\n //toast to make sure celeb saved:\r\n Toast.makeText(NewCelebActivity.this, \"Celeb saved!!\", Toast.LENGTH_SHORT).show();\r\n\r\n //start welcome activity and finish:\r\n startActivity(new Intent(NewCelebActivity.this, WelcomeActivity.class));\r\n finish();\r\n }\r\n });\r\n }\r\n });\r\n }", "title": "" }, { "docid": "9adff318c8f1a164f4e6ab014d96773e", "score": "0.52586955", "text": "public void saveDenoisedImage() {\n SimpleDateFormat sdf = new\n SimpleDateFormat(\"yy-MM-dd_HH-mm-ss\");\n String currentDateandTime = sdf.format(new Date());\n String albumName = \"/MLNetAppPics\";\n File file = new File(Environment.getExternalStoragePublicDirectory(\n Environment.DIRECTORY_PICTURES), albumName);\n if (!file.exists()) {\n boolean bool = file.mkdirs();\n if (!bool) {\n Log.e(TAG,\"Folder not created\");\n return;\n }\n }\n String fileName = file.getPath() + \"/denoised_\" + currentDateandTime + \".jpg\";\n File outFile = new File(fileName);\n try {\n outFile.createNewFile();\n } catch (IOException e) {\n e.printStackTrace();\n }\n try {\n FileOutputStream os = new FileOutputStream(fileName);\n Bitmap reconstBmp = Bitmap.createBitmap(mReconstImage.cols(), mReconstImage.rows(), Bitmap.Config.ARGB_8888);\n MyImageProc.scaleImageUpBy255(mReconstImage);\n Utils.matToBitmap(mReconstImage, reconstBmp);\n reconstBmp.compress(Bitmap.CompressFormat.JPEG, 100, os);\n addImageToGallery(fileName, ImageProcessing.this);\n try {\n os.flush();\n os.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n\n }", "title": "" }, { "docid": "ff3e7735578a8cdc264c0d7a90ad01ec", "score": "0.5252788", "text": "public static android.graphics.Bitmap createVideoThumbnail(java.io.File r16, android.util.Size r17, android.os.CancellationSignal r18) throws java.io.IOException {\r\n /*\r\n r1 = r18;\r\n if (r1 == 0) goto L_0x0007;\r\n r18.throwIfCanceled();\r\n r0 = new android.media.ThumbnailUtils$Resizer;\r\n r2 = r17;\r\n r0.<init>(r2, r1);\r\n r3 = r0;\r\n r0 = new android.media.MediaMetadataRetriever;\t Catch:{ RuntimeException -> 0x0093 }\r\n r0.<init>();\t Catch:{ RuntimeException -> 0x0093 }\r\n r10 = r0;\r\n r0 = 0;\r\n r4 = r16.getAbsolutePath();\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r10.setDataSource(r4);\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = r10.getEmbeddedPicture();\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r11 = r4;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n if (r11 == 0) goto L_0x0030;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = android.graphics.ImageDecoder.createSource(r11);\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = android.graphics.ImageDecoder.decodeBitmap(r4, r3);\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n $closeResource(r0, r10);\t Catch:{ RuntimeException -> 0x0093 }\r\n return r4;\r\n r4 = 18;\r\n r4 = r10.extractMetadata(r4);\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = java.lang.Integer.parseInt(r4);\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r12 = r4;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = 19;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = r10.extractMetadata(r4);\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = java.lang.Integer.parseInt(r4);\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r13 = r4;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = 9;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = r10.extractMetadata(r4);\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = java.lang.Long.parseLong(r4);\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r14 = r4;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = r17.getWidth();\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r5 = 2;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n if (r4 <= r12) goto L_0x0070;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = r17.getHeight();\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n if (r4 <= r13) goto L_0x0070;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = r14 / r5;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r6 = 2;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = r10.getFrameAtTime(r4, r6);\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = java.util.Objects.requireNonNull(r4);\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = (android.graphics.Bitmap) r4;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n $closeResource(r0, r10);\t Catch:{ RuntimeException -> 0x0093 }\r\n return r4;\r\n r5 = r14 / r5;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r7 = 2;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r8 = r17.getWidth();\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r9 = r17.getHeight();\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = r10;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = r4.getScaledFrameAtTime(r5, r7, r8, r9);\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = java.util.Objects.requireNonNull(r4);\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r4 = (android.graphics.Bitmap) r4;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n $closeResource(r0, r10);\t Catch:{ RuntimeException -> 0x0093 }\r\n return r4;\r\n r0 = move-exception;\r\n r4 = r0;\r\n throw r4;\t Catch:{ all -> 0x008a, all -> 0x008d }\r\n r0 = move-exception;\r\n r5 = r0;\r\n $closeResource(r4, r10);\t Catch:{ RuntimeException -> 0x0093 }\r\n throw r5;\t Catch:{ RuntimeException -> 0x0093 }\r\n r0 = move-exception;\r\n r4 = new java.io.IOException;\r\n r5 = \"Failed to create thumbnail\";\r\n r4.<init>(r5, r0);\r\n throw r4;\r\n */\r\n throw new UnsupportedOperationException(\"Method not decompiled: android.media.ThumbnailUtils.createVideoThumbnail(java.io.File, android.util.Size, android.os.CancellationSignal):android.graphics.Bitmap\");\r\n }", "title": "" }, { "docid": "eff3de9122fcb687601fb103fc01cf50", "score": "0.52413565", "text": "public void makeArticleThumbnailRequest(SnippetArticle suggestion, Callback<Bitmap> callback) {\n assert !mIsDestroyed;\n\n if (suggestion.isContextual()) {\n mSuggestionsSource.fetchContextualSuggestionImage(suggestion, callback);\n } else {\n mSuggestionsSource.fetchSuggestionImage(suggestion, callback);\n }\n }", "title": "" }, { "docid": "b449cde8bf2bdfed4f0cd895c95c4184", "score": "0.52399594", "text": "public File saveImageToFile(File fileToSave, Bitmap bitmapToSave, Bitmap.CompressFormat compressFormat, boolean createThumbnail) throws Exception, IOException {\n try {\n // If external storage is not currently mounted this will fail.\n OutputStream out = new FileOutputStream(fileToSave);\n bitmapToSave.compress(compressFormat, 100, out);\n out.flush();\n out.close();\n } catch (IOException e) {\n // Unable to create file, likely because external storage is\n // not currently mounted.\n Log.e(\"ExternalStorage\", \"Error writing \" + fileToSave, e);\n throw new IOException(\"Error writing \" + fileToSave + \", Exception: \" + e.getMessage());\n }\n\n if (createThumbnail) {\n try {\n File thumbNailFile = new File(fileToSave.getAbsolutePath() + DOCUMENT_THUMBNAIL_SUFFIX);\n Bitmap thumbnailBitmap = crateThumbnail(fileToSave, IMAGE_DOCUMENT_MAX_THUMBNAIL_SIZE);\n OutputStream out = new FileOutputStream(thumbNailFile);\n thumbnailBitmap.compress(compressFormat, 100, out);\n out.flush();\n out.close();\n } catch (IOException e) {\n // Unable to create file, likely because external storage is\n // not currently mounted.\n Log.e(\"ExternalStorage\", \"Error writing thumbnail\");\n throw e;\n }\n }\n return fileToSave;\n }", "title": "" }, { "docid": "666e5dad00fd706c768f046a11104e74", "score": "0.5237951", "text": "@Override\n public void onThumbnailError(YouTubeThumbnailView youTubeThumbnailView, YouTubeThumbnailLoader.ErrorReason errorReason) {\n Logger.DebugLog(TAG, \"Youtube Thumbnail Error\");\n }", "title": "" }, { "docid": "d9d80fcd4dd18d9f82162d54089addcd", "score": "0.5230814", "text": "public static Bitmap createBitmapThumbnail(Bitmap bitmap, Context context)\n {\n if (sIconWidth == -1)\n {\n final Resources resources = context.getResources();\n sIconWidth =\n sIconHeight =\n (int) resources.getDimension(android.R.dimen.app_icon_size);\n }\n int width = sIconWidth;\n int height = sIconHeight;\n return Utilities.createBitmapThumbnail(bitmap, width, height);\n }", "title": "" }, { "docid": "d83ee661314cda715fe4f7a214b02a9b", "score": "0.5227346", "text": "synchronized void saveAndPostCurrentPicture() throws IOException {\n Log.d(TAG, \"saveAndPostCurrentPicture\");\n Picture picture = MroRequestCurrent.getInstance().getPicture(imageCurrentHdpiPath);\n\n // set new size of image\n BitmapFactory.Options optionsImage = new BitmapFactory.Options();\n optionsImage.inJustDecodeBounds = true;\n BitmapFactory.decodeFile(imageCurrentHdpiPath, optionsImage);\n int heightPicture = optionsImage.outHeight;\n int widthPicture = optionsImage.outWidth;\n int newHeightPicture = PICTURE_HEIGHT;\n int newWidthPicture = (PICTURE_HEIGHT * widthPicture) / heightPicture;\n optionsImage.inJustDecodeBounds = false;\n Bitmap bitmapImage = BitmapFactory.decodeFile(imageCurrentHdpiPath);\n Bitmap scaledBitmap = Bitmap.createScaledBitmap(bitmapImage, newWidthPicture, newHeightPicture, false);\n\n // compress image & create pictureTypedFile for downloading to server\n byte[] compressedPictureByteArray = pictureUtils.compressBitmapToByteArray(scaledBitmap, PICTURE_WEIGHT, 80);\n Bitmap compressedPictureBitmap = pictureUtils.convertByteArrayToBitmap(compressedPictureByteArray);\n File compressedPictureFile = pictureUtils.compressBitmapToFile(compressedPictureBitmap, 75);\n Log.d(TAG, \"saveAndPostCurrentPicture: size of PictureFile = \" + compressedPictureFile.length()/1024 + \" Ko\");\n TypedFile compressedPictureTypedFile = new TypedFile(\"image/jpeg\", compressedPictureFile);\n\n // set image Picture\n picture.setImage(pictureUtils.convertBitmapToByteArray(compressedPictureBitmap));\n\n // set Thumbnail to save in database\n Bitmap bitmapThumbnail = ThumbnailUtils.extractThumbnail(PictureUtils.convertImagePathToBitmap(imageCurrentHdpiPath)\n , THUMBNAIL_HEIGHT, THUMBNAIL_HEIGHT);\n byte[] thumbnailByteArray = pictureUtils.compressBitmapToByteArray(bitmapThumbnail, 100);\n picture.setThumbnail(thumbnailByteArray);\n\n // set idMroRequest\n if(mroRequestCurrent != null) picture.setIdMroRequest(mroRequestCurrent.getId());\n\n // set infos\n PictureInfos pictureInfos = new PictureInfos();\n pictureInfos.setTime(System.currentTimeMillis());\n if(currentPictureTitle != null)\n pictureInfos.setTitle(currentPictureTitle);\n else {\n SimpleDateFormat simpleDateFormat = new SimpleDateFormat(\"'Photo prise le' dd/MM/yyyy 'à' HH:mm:ss\");\n pictureInfos.setTitle(simpleDateFormat.format(new Date()));\n }\n picture.setInfos(pictureInfos);\n\n // insert picture in database\n long pictureId = insertPictureDataBase(HibmobtechContentProvider.urlForPicture(), picture);\n picture.setId(pictureId);\n\n // post picture to server\n postPictureOld(compressedPictureTypedFile, picture);\n finish();\n }", "title": "" }, { "docid": "d55ae840d9620477925e176d46a4bc98", "score": "0.5190325", "text": "@Override\n protected void onActivityResult(int requestCode, int resultCode, Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n\n //Processing image from camera\n if(requestCode == CAMERA_REQUEST_CODE && resultCode == RESULT_OK)\n {\n ImageView userImage = (ImageView) findViewById(R.id.userImage);\n Bitmap thumbnail = (Bitmap) data.getExtras().get(\"data\");\n userImage.setImageBitmap(thumbnail);\n }\n\n\n }", "title": "" }, { "docid": "be694023ec64e54ae86abd2fde46f372", "score": "0.5183455", "text": "@Override\n\t\t\tpublic void onThumbnailDownloaded(ImageView imageView, Bitmap thumbnail) {\n\t\t\t\tif (isVisible()) {\t\t\t\t\t\t\t\t\t\t\t\t\t\t//on the ImageView handle\n\t\t\t\t\timageView.setImageBitmap(thumbnail);\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "23192172f8cb6316a64d798b3b7d4ebf", "score": "0.51543605", "text": "private void onCaptureImageResult(Intent data) {\n Bitmap thumbnail = (Bitmap) data.getExtras().get(\"data\");\n ByteArrayOutputStream bytes = new ByteArrayOutputStream();\n thumbnail.compress(Bitmap.CompressFormat.JPEG, 90, bytes);\n\n File destination = new File(Environment.getExternalStorageDirectory(),\n System.currentTimeMillis() + \".jpg\");\n\n FileOutputStream fo;\n try {\n destination.createNewFile();\n fo = new FileOutputStream(destination);\n fo.write(bytes.toByteArray());\n fo.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n ivImage.setImageBitmap(thumbnail);\n classifyFrame();\n }", "title": "" }, { "docid": "22b94eace323844027399c467867116a", "score": "0.5153785", "text": "List<SyndImage2> getThumbnails();", "title": "" }, { "docid": "98e4def068314ce582612e9e8fe2c7c8", "score": "0.5153431", "text": "public static File saveImageFromCamera(File f, Context context, String user, String originalName) {\n File mediaFile = getOutputMediaFile(ORIGINAL, originalName, context, user, f.getName());\n File mediaFileThumb = getOutputMediaFile(THUMB, originalName, context, user, f.getName());\n\n FileOutputStream fos = null;\n try {\n Bitmap bm = BitmapFactory.decodeFile(f.getAbsolutePath());\n final BitmapFactory.Options options = new BitmapFactory.Options();\n options.inSampleSize = 8;\n Bitmap bmResized = BitmapFactory.decodeFile(f.getPath(), options);\n Bitmap resized = ThumbnailUtils.extractThumbnail(bmResized, 50, 50);\n writeFile(resized, mediaFileThumb);\n writeFile(bm, mediaFile);\n } catch (Exception ex) {\n ex.printStackTrace();\n }\n return mediaFile;\n }", "title": "" }, { "docid": "40db5543a883679db6d1887014df4a48", "score": "0.5151933", "text": "public String getThumbnailUrl() {\n return thumbnailUrl;\n }", "title": "" }, { "docid": "101e0dbd470ac0d00bd7d5872d92ce9b", "score": "0.51489496", "text": "@Override\r\n protected Dimension getThumbSize() {\r\n return new Dimension(12, 12);\r\n }", "title": "" }, { "docid": "5fb7d6a821bf42609e20858d126ae1d5", "score": "0.51479465", "text": "@Override\n public void run() {\n if(vh.position != i) {\n return;\n }\n // decode the jpeg into a bitmap\n final Bitmap bmp = getThumbnail(imageLocations[i], thumbnailSize);\n\n // set the bitmap (might be null)\n // must be run on the ui thread as it alters a view and uses a non-thread safe cache\n activity.runOnUiThread(new Runnable() {\n @Override\n public void run() {\n if(imageLocations == PhotoAdapter.this.imageLocations) {\n //Cache the image\n if (memoryCache.get(imageLocations[i]) == null) {\n memoryCache.put(imageLocations[i], bmp);\n }\n if (vh.position == i) {\n setImage(vh.image, vh.progressBar, bmp, imageOrientations[i]);\n }\n }\n }\n });\n }", "title": "" }, { "docid": "26b7d424f09cf693d2b8f4ce51483ca6", "score": "0.51475304", "text": "public void handleGalleryImage(Context context, Intent data) {\n uri = data.getData();\n\n try {\n\n /**\n * Fetch file path\n */\n if (Build.VERSION.SDK_INT > 18) {\n\n file = new File(GalleryPathUtil.getRealPathFromURI_API19(context, uri));\n\n } else {\n\n file = new File(GalleryPathUtil.getRealPathFromURI_API11to18(context, uri));\n }\n\n Bitmap bitmap = BitmapFactory.decodeFile(file.getAbsolutePath());\n\n\n /**\n * Resize Image\n */\n if(bitmap.getHeight() > 1200 && bitmap.getWidth() > 960) {\n BitmapFactory.Options options = new BitmapFactory.Options();\n options.inSampleSize = 4;\n bitmap = BitmapFactory.decodeFile(file.getAbsolutePath(), options);\n }\n\n resizeFileImage(bitmap);\n\n /**\n * Prepare to upload to Azure Blob\n */\n Drawable drawable = new BitmapDrawable(getResources(), bitmap);\n ImageModel imageModel = new ImageModel(drawable);\n bitmaps.add(bitmap);\n imageModels.add(imageModel);\n updateSnapshotPlaceholder();\n\n } catch (Exception e) {\n\n // Log error\n Toast.makeText(getApplicationContext(), getString(R.string.err_problem_occurred), Toast.LENGTH_LONG).show();\n Crashlytics.logException(e);\n }\n }", "title": "" }, { "docid": "5c215311a2e1f79e5e7fcbdaf6be3942", "score": "0.51194537", "text": "public void savePictureInGallery(){\r\n // Picture source : Image view in activity\r\n ImageView selectImage = findViewById(R.id.animePicture);\r\n // Convert the image to bitmap\r\n BitmapDrawable drawable = (BitmapDrawable) selectImage.getDrawable();\r\n Bitmap bitmap = drawable.getBitmap();\r\n\r\n // To greatly limit chance to have a duplicate name, we generate a big random number (not perfect):\r\n Random generator = new Random();\r\n int n = 10000;\r\n n = generator.nextInt(n);\r\n\r\n // Save the image in the galleria\r\n MediaStore.Images.Media.insertImage( getContentResolver(),\r\n bitmap,\r\n anime.getTitle() + n,\r\n \"Image from myAnimeApp\");\r\n // And notify the user with a toast\r\n Toast.makeText( getApplicationContext(), anime.getTitle() + \" picture added to gallery\", Toast.LENGTH_LONG).show();\r\n }", "title": "" }, { "docid": "bef8c254771c6e43e596a9e18378b1fd", "score": "0.5114538", "text": "private void saveImageInFirebaseStorage() {\n\n // create storage path for profile image in firebase storage\n final StorageReference filepath = mImageStorage.child(String.format(\"CT-%05d\", reportCount + 1) + \".jpg\");\n // add image to firebase storage\n\n String information = \"\";\n String contact = \"\";\n\n information = mInformationEt.getText().toString();\n contact = mContactEt.getText().toString();\n\n if (!information.equals(\"\") && !category.equals(\"\")) {\n\n mProgressDialog.setTitle(\"Please wait...\");\n mProgressDialog.setMessage(\"Please wait while we register your report\");\n mProgressDialog.setCanceledOnTouchOutside(false);\n mProgressDialog.show();\n\n UploadTask uploadTask = filepath.putBytes(thumb_byte);\n final String finalInformation = information;\n final String finalContact = contact;\n uploadTask.addOnCompleteListener(new OnCompleteListener<UploadTask.TaskSnapshot>() {\n @Override\n public void onComplete(@NonNull Task<UploadTask.TaskSnapshot> thumb_task) {\n\n @SuppressWarnings(\"VisibleForTests\") Uri Url = thumb_task.getResult().getDownloadUrl();\n\n if (Url != null) {\n thumbDownloadUrl = Url.toString();\n }\n\n if (thumb_task.isSuccessful()) {\n\n addDataToFirebase(category, finalInformation, thumbDownloadUrl, finalContact);\n } else {\n\n Toast.makeText(ReportActivity.this, \"An error occured. Please try again.\", Toast.LENGTH_SHORT).show();\n mProgressDialog.dismiss();\n }\n }\n });\n } else {\n Log.d(\"TAG\", \"Enter category and information.\");\n }\n }", "title": "" }, { "docid": "826c2a24fc9b788c148a4ce6881f23a4", "score": "0.51109505", "text": "@Override\n public void onSnapshotReady(Bitmap snapshot) {\n bitmap = snapshot;\n try {\n saveImage(bitmap);\n Toast.makeText(getApplicationContext(), \"Image Saved\", Toast.LENGTH_LONG).show();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "5bb53f95a32f834c8f792ab7203db0a5", "score": "0.51055753", "text": "public void thumbnailCreated(ArrayList<String> thumnails);", "title": "" }, { "docid": "d3033e827c9f7ebb54de6aa13aa075bb", "score": "0.5103423", "text": "private static String createThumbnailUrl(String filePath) {\n Uri thumbnailBaseUrl = Uri.parse(THUMBNAIL_BASE_URL);\n\n // buildUpon prepares the baseUri that we just parsed so we can add query parameters to it\n Uri.Builder uriBuilder = thumbnailBaseUrl.buildUpon();\n\n // append width parameter to the Uri\n uriBuilder.appendEncodedPath(SIZE_VALUE);\n\n // append file path to access this thumbnail image\n uriBuilder.appendEncodedPath(filePath);\n\n Log.v(LOG_TAG, uriBuilder.toString());\n\n return uriBuilder.toString();\n\n }", "title": "" }, { "docid": "ffadbcabdc2999fd898a84253ba7cd93", "score": "0.51008886", "text": "public MediaDesc getThumbMediaDesc ()\n {\n return (thumbMediaHash == null) ? Item.getDefaultThumbnailMediaFor(getType()) :\n MediaDescFactory.createMediaDesc(thumbMediaHash, thumbMimeType, thumbConstraint);\n }", "title": "" }, { "docid": "d4a21ec64907386dd30d11ea0313fb9a", "score": "0.50942606", "text": "@Test\n @PerformanceTest\n public void testEnableZsdAndShotToThumbnail() {\n if (!isSupported()) {\n return;\n }\n switchToPipPhotoMode();\n enableZsd();\n new MetaCase(\"TC_Camera_PIP_0151\")\n .observeBegin(new PhotoSavedObserver(1))\n .addOperator(new CapturePhotoOperator())\n .observeEnd()\n .addChecker(new ThumbnailChecker(), ThumbnailChecker.INDEX_HAS_THUMB)\n .addChecker(new PreviewChecker())\n\n .run();\n }", "title": "" }, { "docid": "2dc149c10e2e9efddc68a9bd51d1fb43", "score": "0.50729173", "text": "@Override\n\t\t\tpublic void run() {\n\t\t\t\tString path = null;\n \tif (TextUtils.isEmpty(thumbnailPath)&&\n TextUtils.isEmpty(imgPath)){\n return;\n }\n if (thumbnailPath != null && !TextUtils.isEmpty(thumbnailPath)){\n path = thumbnailPath;\n// Log.d(TAG, \"add thumbnailPath:\"+thumbnailPath);\n isTumbnailPath = true;\n }else if (!TextUtils.isEmpty(imgPath)){\n path = imgPath;\n// Log.d(TAG, \"add imagepath:\"+imgPath);\n isTumbnailPath = false;\n }\n final String fPath = path;\n try {\n if (isTumbnailPath) {\n bitmap = BitmapFactory.decodeFile(thumbnailPath);\n if (bitmap == null) {\n bitmap = getResetBitmap(imgPath);\n }\n\n } else {\n// \tOptions options = new Options();\n//// \t\t\t\toptions.inPreferQualityOverSpeed = true;\n// \t\t\t\toptions.inPreferredConfig = Bitmap.Config.RGB_565;\n// \t\t\t\t//软引用机制,注意:下面两个属性必须同时使用\n// \t\t\t\toptions.inPurgeable = true;\n// \t\t\t\toptions.inInputShareable = true;\n// \t\t\t bitmap = BitmapFactory.decodeFile(path,options);\n bitmap = getResetBitmap(imgPath);\n }\n bitmap = centerSquareScaleBitmap(bitmap, 80);\n \n }catch (IOException e){\n e.printStackTrace();\n }\n put(fPath,bitmap);\n// imageView.setImageBitmap(bitmap);\n if (callback != null){\n handler.post(new Runnable() {\n @Override\n public void run() {\n callback.loadBitMap(imageView,bitmap);\n }\n });\n }\n\t\t\t}", "title": "" }, { "docid": "01a089f631ef96fd3cf132e804798041", "score": "0.50626856", "text": "@Override\n protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n\n if (requestCode == PICK_IMAGE && resultCode == RESULT_OK){\n imageUri = data.getData();\n\n try{\n Bitmap bitmap = MediaStore.Images.Media.getBitmap(getContentResolver(), imageUri);\n productImage.setImageBitmap(bitmap);\n\n //Serializing the image (String) because Firebase Realtime Datastorage is JSON based\n //Setting Current Product image @Product_Creation\n ByteArrayOutputStream baos = new ByteArrayOutputStream();\n bitmap.compress(Bitmap.CompressFormat.JPEG, 100, baos);\n byte[] imageData = baos.toByteArray();\n String imageDataEncoded = Base64.encodeToString(imageData, Base64.DEFAULT);\n currentProduct.setImageDataEncoded(imageDataEncoded);\n } catch (IOException e){\n e.printStackTrace();\n }\n }\n }", "title": "" }, { "docid": "9ac9e0133b77242e19866d9061a48043", "score": "0.50515693", "text": "public void saveImage(View v) {\n\n Toast.makeText(DetailActivity.this, R.string.database_save, Toast.LENGTH_SHORT).show();\n\n\n //insert double cloudscore, string date, string id, string service version, string url, string lat, string long\n final LandsatModel landsatModel = new LandsatModel(model.cloudScore, detailDate, model.id, model.serviceVersion, model.url,\n detailLat, detailLong, detailTitle);\n\n AppExecutors.getInstance().diskIO().execute(new Runnable() {\n @Override\n public void run() {\n\n\n //save.setImageResource(R.drawable.save);\n\n // mDb.landsatDao().deleteRecord(landsatModel);\n //Log.v(\"DatabaseDelete\", \"deleting satellite image from database\");\n\n\n save.setImageResource(R.drawable.check);\n\n\n mDb.landsatDao().insertRecord(landsatModel);\n Log.v(\"DatabaseInsert\", \"inserting satellite image into the database\");\n\n\n }\n });\n save.setEnabled(false);\n }", "title": "" }, { "docid": "994b895975db4a844f107cf6c90e642a", "score": "0.50477314", "text": "public String thumbnailUrl() {\n return this.thumbnailUrl;\n }", "title": "" }, { "docid": "abba710b08a29f9ed21b431392283366", "score": "0.5046914", "text": "public File get_thumbnail_image_directory() {\r\n\t\treturn get_thumbnail_image_directory( _rootDirectory);\r\n\t}", "title": "" }, { "docid": "3c02a2e1aa80f4038e14c5b9ddf3f25b", "score": "0.50399435", "text": "public static Bitmap getThumbnail(Context mContext, Uri uri, int reqWidth, int reqHeight) {\n\t\tBitmap srcBmp = BitmapUtils.decodeSampledFromUri(mContext, uri, reqWidth, reqHeight);\n\n\t\t// If picture is smaller than required thumbnail\n\t\tBitmap dstBmp;\n\t\tif (srcBmp.getWidth() < reqWidth && srcBmp.getHeight() < reqHeight) {\n\t\t\tdstBmp = ThumbnailUtils.extractThumbnail(srcBmp, reqWidth, reqHeight);\n\n\t\t\t// Otherwise the ratio between measures is calculated to fit requested thumbnail's one\n\t\t} else {\n\t\t\t// Cropping\n\t\t\tint x = 0, y = 0, width = srcBmp.getWidth(), height = srcBmp.getHeight();\n\t\t\tfloat ratio = ((float) reqWidth / (float) reqHeight) * ((float) srcBmp.getHeight() / (float) srcBmp\n\t\t\t\t\t.getWidth());\n\t\t\tif (ratio < 1) {\n\t\t\t\tx = (int) (srcBmp.getWidth() - srcBmp.getWidth() * ratio) / 2;\n\t\t\t\twidth = (int) (srcBmp.getWidth() * ratio);\n\t\t\t} else {\n\t\t\t\ty = (int) (srcBmp.getHeight() - srcBmp.getHeight() / ratio) / 2;\n\t\t\t\theight = (int) (srcBmp.getHeight() / ratio);\n\t\t\t}\n\n\t\t\tint rotation = neededRotation(new File(uri.getPath()));\n\t\t\tif (rotation != 0) {\n\t\t\t\tMatrix matrix = new Matrix();\n\t\t\t\tmatrix.postRotate(rotation);\n\t\t\t\tdstBmp = Bitmap.createBitmap(srcBmp, x, y, width, height, matrix, true);\n\t\t\t} else {\n\t\t\t\tdstBmp = Bitmap.createBitmap(srcBmp, x, y, width, height);\n\t\t\t}\n\n\t\t}\n\t\treturn dstBmp;\n\t}", "title": "" }, { "docid": "15676b73d0dacff1789192a0e1bf06a5", "score": "0.5033894", "text": "private void saveProduct() {\n if (TextUtils.isEmpty(mProductNameView.getText().toString().trim())) {\n showEmptyFieldsDialog();\n return;\n }\n ContentValues values = new ContentValues();\n\n String productName = mProductNameView.getText().toString().trim();\n int productPrice;\n try {\n productPrice = Integer.parseInt(mPriceView.getText().toString().trim());\n } catch (NumberFormatException e) {\n productPrice = 0;\n }\n int productQuantity;\n try {\n productQuantity = Integer.parseInt(mQuantityView.getText().toString().trim());\n\n } catch (NumberFormatException e) {\n productQuantity = 0;\n }\n\n String supplier = mSupplierView.getText().toString().trim();\n byte[] imageStream = null;\n if (mImageThumbnail!=null) {\n imageStream = DbBitmapUtility.getBitmapAsByteArray(mImageThumbnail);\n }\n values.put(ProductEntry.COLUMN_NAME, productName);\n values.put(ProductEntry.COLUMN_PRICE, productPrice);\n values.put(ProductEntry.COLUMN_QUANTITY, productQuantity);\n values.put(ProductEntry.COLUMN_SUPPLIER, supplier);\n values.put(ProductEntry.COLUMN_IMAGE, imageStream);\n if (mCurrentProductUri == null) {\n Uri uri = getContentResolver().insert(ProductEntry.CONTENT_URI, values);\n if (uri == null) {\n Toast.makeText(this, \"Product Insertion Failed\", Toast.LENGTH_SHORT).show();\n Log.v(LOG_TAG, \"Product insertion error.\");\n } else {\n Toast.makeText(this, \"Product Added\", Toast.LENGTH_SHORT).show();\n Log.v(LOG_TAG, \"New row inserted. URI: \" + uri);\n }\n } else {\n int rowsUpdated = getContentResolver().update(mCurrentProductUri, values, null, null);\n if (rowsUpdated != 0) {\n Toast.makeText(this, \"Product Updated\", Toast.LENGTH_SHORT).show();\n Log.v(LOG_TAG, \"Product updated. ID: \" + ContentUris.parseId(mCurrentProductUri));\n } else {\n Toast.makeText(this, \"Product update Failed\", Toast.LENGTH_SHORT).show();\n Log.v(LOG_TAG, \"Product update Failed. URI: \" + mCurrentProductUri);\n }\n }\n if (getIntent().getExtras()==null){\n Intent intent = new Intent(EditorActivity.this,CatalogActivity.class);\n startActivity(intent);\n }\n finish();\n }", "title": "" }, { "docid": "dbd57161806a9e1add2ca4b1092b8542", "score": "0.50305736", "text": "private void savePhoto(NotificationInfo info, ContactInfoCache.ContactCacheEntry entry) {\n Bitmap largeIcon = getLargeIconToDisplay(context, entry, info.getCall());\n if (largeIcon != null) {\n largeIcon = getRoundedIcon(context, largeIcon);\n }\n info.setLargeIcon(largeIcon);\n postNotification(info);\n }", "title": "" }, { "docid": "a7fcdc174fb843dc525b3cadca680dab", "score": "0.5001849", "text": "public void generateThumbnail(float scaleX, float scaleY)\n {\n generateThumbnail = true;\n tScaleX = scaleX;\n tScaleY = scaleY;\n typeT = Type.SCALE;\n }", "title": "" }, { "docid": "8a2c99ed3cbdb8f9980de32147ee4b09", "score": "0.4998597", "text": "public interface ImageManager {\n InputStream getImageById(long id);\n InputStream getImageById(long id, int maxWidth, int maxHeight);\n InputStream getThumbnailOfImage(long id, int size);\n void saveImage(long id, InputStream inputStream);\n void deleteImage(long id);\n}", "title": "" }, { "docid": "416ecb8e9e0f4cf2ce91e4598b1969f2", "score": "0.49985552", "text": "public BufferedImage getThumbnail(Long id_) throws ClientException;", "title": "" }, { "docid": "ddcf0c6a4de5e3cfa1f5b8742469fc3c", "score": "0.4991648", "text": "@Override\n\tpublic void insertImage(String imageURL) {\n\t\tString fileName = imageURL;\n\t\tint index = fileName.lastIndexOf('/');\n\t\tif (index > -1) {\n\t\t\tfileName = fileName.substring(index + 1);\n\t\t}\n\t\tFile test = new File(imageURL);\n\t\tif (test.exists()) {\n\t\t\ttry {\n\t\t\t\timageURL = test.toURI().toURL().toString();\n\t\t\t} catch (MalformedURLException e1) {\n\t\t\t\te1.printStackTrace();\n\t\t\t}\n\t\t}\n\t\tfileName = FileUtils.lowerCaseExtension(FileUtils.removeNonASCIIAndPonctuationAndBadFileNameChars(fileName));\n\t\tFile tempFile = new File(System.getProperty(\"java.io.tmpdir\"), fileName);\n\t\ttempFile.deleteOnExit();\n\t\ttry {\n\t\t\tFileUtils.createNewFile(tempFile);\n\t\t\tFileUtils.saveToFile(tempFile, new URL(imageURL).openStream());\n\t\t\tsuper.insertImage(tempFile.toURI().toURL().toString());\n\t\t} catch (MalformedURLException e) {\n\t\t\te.printStackTrace();\n\t\t\treturn;\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t\tsuper.insertImage(imageURL);\n\t\t}\n\t\tsaveRelatedObjects();\n\t}", "title": "" }, { "docid": "cfa726c612008fa72677206fa7fe66f2", "score": "0.4991445", "text": "@Override\n public void run() {\n Bitmap bitmap = getBitmapFromImageView(imageView, width);\n\n if (bitmap == null) {\n if (mOnImageSavedCallback != null) {\n mOnImageSavedCallback.onSaveFailed(\"Image is empty\");\n }\n return;\n }\n\n // Sava bitmap to gallery\n final String destPath = saveBitmapToGallery(imageView.getContext(), bitmap, mOnImageSavedCallback);\n\n new Handler(Looper.getMainLooper()).post(new Runnable() {\n @Override\n public void run() {\n if (mOnImageSavedCallback != null) {\n mOnImageSavedCallback.onSaveSucceed(destPath);\n imageView.getContext().sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, Uri.parse(destPath)));\n }\n }\n });\n }", "title": "" }, { "docid": "614d2c4cb232e6795f6b0473b7569241", "score": "0.49795035", "text": "int insert(TImage record);", "title": "" }, { "docid": "dcfe1c2eabe4dcf16c13367a10583722", "score": "0.4971119", "text": "private void storeImg() {\t\t\n\t\tFile photo = new File(Environment.getExternalStorageDirectory(), imageName);\n\t\tif (photo.exists()) {\n\t\t\tphoto.delete();\n\t\t}\n\t\t\n\t\ttry {\n\t\t\tFileOutputStream fos = new FileOutputStream(photo.getPath());\n\t\t\tfos.write(img);\n\t\t\tfos.close();\n\t\t}\n\t\tcatch (IOException e) {\n\t\t\tLog.e(TAG, \"Exception writing to sdcard\");\n\t\t}\n\t}", "title": "" }, { "docid": "8c2de7457c6a80f6fcc34208e2c5cfd4", "score": "0.4952979", "text": "public static void zoomImageFromThumb(final View thumbView, final View expandedImageView, final View mView, final LinearLayout detailsLinearLayout) {\n final Rect startBounds = new Rect();\n final Rect finalBounds = new Rect();\n final Point globalOffset = new Point();\n\n\n // The start bounds are the global visible rectangle of the thumbnail,\n // and the final bounds are the global visible rectangle of the container\n // view. Also set the container view's offset as the origin for the\n // bounds, since that's the origin for the positioning animation\n // properties (X, Y).\n thumbView.getGlobalVisibleRect(startBounds);\n mView.getGlobalVisibleRect(finalBounds, globalOffset);\n startBounds.offset(-globalOffset.x, -globalOffset.y);\n finalBounds.offset(-globalOffset.x, -globalOffset.y);\n\n // Adjust the start bounds to be the same aspect ratio as the final\n // bounds using the \"center crop\" technique. This prevents undesirable\n // stretching during the animation. Also calculate the start scaling\n // factor (the end scaling factor is always 1.0).\n float startScale;\n if ((float) finalBounds.width() / finalBounds.height()\n > (float) startBounds.width() / startBounds.height()) {\n // Extend start bounds horizontally\n startScale = (float) startBounds.height() / finalBounds.height();\n float startWidth = startScale * finalBounds.width();\n float deltaWidth = (startWidth - startBounds.width()) / 2;\n startBounds.left -= deltaWidth;\n startBounds.right += deltaWidth;\n } else {\n // Extend start bounds vertically\n startScale = (float) startBounds.width() / finalBounds.width();\n float startHeight = startScale * finalBounds.height();\n float deltaHeight = (startHeight - startBounds.height()) / 2;\n startBounds.top -= deltaHeight;\n startBounds.bottom += deltaHeight;\n }\n\n // Hide the thumbnail and show the zoomed-in view. When the animation\n // begins, it will position the zoomed-in view in the place of the\n // thumbnail.\n thumbView.setAlpha(0f);\n expandedImageView.setVisibility(View.VISIBLE);\n\n // Set the pivot point for SCALE_X and SCALE_Y transformations\n // to the top-left corner of the zoomed-in view (the default\n // is the center of the view).\n expandedImageView.setPivotX(0f);\n expandedImageView.setPivotY(0f);\n\n // Construct and run the parallel animation of the four translation and\n // scale properties (X, Y, SCALE_X, and SCALE_Y).\n AnimatorSet set = new AnimatorSet();\n set\n .play(ObjectAnimator.ofFloat(expandedImageView, View.X,\n startBounds.left, finalBounds.left))\n .with(ObjectAnimator.ofFloat(expandedImageView, View.Y,\n startBounds.top, finalBounds.top))\n .with(ObjectAnimator.ofFloat(expandedImageView, View.SCALE_X,\n startScale, 1f)).with(ObjectAnimator.ofFloat(expandedImageView,\n View.SCALE_Y, startScale, 1f));\n final long dur = 200;\n set.setDuration(dur);\n set.setInterpolator(new DecelerateInterpolator());\n set.start();\n\n // Upon clicking the zoomed-in image, it should zoom back down\n // to the original bounds and show the thumbnail instead of\n // the expanded image.\n final float startScaleFinal = startScale;\n expandedImageView.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n // Animate the four positioning/sizing properties in parallel,\n // back to their original values.\n AnimatorSet set = new AnimatorSet();\n set.play(ObjectAnimator\n .ofFloat(expandedImageView, View.X, startBounds.left))\n .with(ObjectAnimator\n .ofFloat(expandedImageView,\n View.Y,startBounds.top))\n .with(ObjectAnimator\n .ofFloat(expandedImageView,\n View.SCALE_X, startScaleFinal))\n .with(ObjectAnimator\n .ofFloat(expandedImageView,\n View.SCALE_Y, startScaleFinal));\n set.setDuration(dur);\n set.setInterpolator(new DecelerateInterpolator());\n set.addListener(new AnimatorListenerAdapter() {\n @Override\n public void onAnimationEnd(Animator animation) {\n thumbView.setAlpha(1f);\n expandedImageView.setVisibility(View.GONE);\n }\n\n @Override\n public void onAnimationCancel(Animator animation) {\n thumbView.setAlpha(1f);\n expandedImageView.setVisibility(View.GONE);\n }\n });\n set.start();\n\n detailsLinearLayout.setAlpha(1.f);\n detailsLinearLayout.setBackground(new ColorDrawable(0x00000000));\n\n\n }\n });\n }", "title": "" }, { "docid": "f0901c90dfb71db2f86157ef0bd1bd5e", "score": "0.49490687", "text": "@Override\n public void onThumbnailLoaded(YouTubeThumbnailView youTubeThumbnailView, String s) {\n youTubeThumbnailLoader.release();\n }", "title": "" }, { "docid": "669aa8e71a734ede24ee2f9bf3e924e4", "score": "0.4943212", "text": "@Override\n\t\t\tpublic void setViewImage(ImageView v, String value) {\n\t\t\t\tsuper.setViewImage(v, value);\n\t\t\t\tImageUtil.setThumbnailView(value, v, mContext,\n\t\t\t\t\t\tnew imageCallback(), false);\n\t\t\t}", "title": "" }, { "docid": "5fd38bfcc0bc70e2de483893f4093b91", "score": "0.49426243", "text": "@Override\n protected void onActivityResult(int requestCode, int resultCode, Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n if (requestCode == REQUEST_IMAGE_CAPTURE && resultCode == RESULT_OK) {\n PlantDataHandler db = new PlantDataHandler(getApplicationContext());\n //Adding picture here\n db.updatePlant(plant.getId(), \"filenameCustomPicture\", currentPhotoPath.toString());\n plant.setFilenameCustomPicture(currentPhotoPath);\n TextView plant_textImageView = findViewById(R.id.textImageView);\n ImageView plant_detail_img = (ImageView) findViewById(R.id.myPlantPicture);\n new MyPlantsListAdapter(db.getPlants(), getApplicationContext()).notifyDataSetChanged();\n\n try {\n File f = new File(currentPhotoPath);\n Bitmap b = BitmapFactory.decodeStream(new FileInputStream(f));\n plant_detail_img.setImageBitmap(b);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }\n }", "title": "" }, { "docid": "9f5876b350bfafe51817294e505453a4", "score": "0.4941785", "text": "@Override\n protected void saveToGallery() {\n }", "title": "" }, { "docid": "557cd5f119fa83f07a9531a5ed914b27", "score": "0.49346593", "text": "public boolean addGalleryImage(String userUuid, byte[] imageBytes,String mimeType, String fileName);", "title": "" }, { "docid": "591b99dde79f74c5bcf721a69952f47d", "score": "0.49258968", "text": "void setMovieThumbnail(final Context context, final String imageUrl) {\n Glide.with(context)\n .load(imageUrl)\n .into(mMovieThumbnail);\n }", "title": "" }, { "docid": "14b4fb5e35f24ada435ff0ae4483d2f0", "score": "0.4918435", "text": "public static File saveImageFromCamera(File f, Context context, String user) {\n File mediaFile = getOutputMediaFile(ORIGINAL, f.getName(), context, user);\n File mediaFileThumb = getOutputMediaFile(THUMB, f.getName(), context, user);\n\n FileOutputStream fos = null;\n try {\n Bitmap bm = BitmapFactory.decodeFile(f.getAbsolutePath());\n final BitmapFactory.Options options = new BitmapFactory.Options();\n options.inSampleSize = 8;\n Bitmap bmResized = BitmapFactory.decodeFile(f.getPath(), options);\n Bitmap resized = ThumbnailUtils.extractThumbnail(bmResized, 50, 50);\n writeFile(resized, mediaFileThumb);\n writeFile(bm, mediaFile);\n } catch (Exception ex) {\n ex.printStackTrace();\n }\n return mediaFile;\n }", "title": "" }, { "docid": "6a42c1fe566ff280fda341c9c931da0a", "score": "0.4917476", "text": "@Override\n public void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n if (requestCode == CAPTURE_IMAGE_ACTIVITY_REQUEST_CODE) {\n if (resultCode == RESULT_OK) {\n // by this point we have the camera photo on disk\n Bitmap takenImage = BitmapFactory.decodeFile(photoFile.getAbsolutePath());\n // RESIZE BITMAP,\n try {\n Bitmap scaledImage = resize();\n // Load the taken image into a preview\n ivToPost.setImageBitmap(scaledImage);\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n } else { // Result was a failure\n Toast.makeText(getContext(), \"Picture wasn't taken!\", Toast.LENGTH_SHORT).show();\n }\n }\n }", "title": "" }, { "docid": "c116c0d4a8994810fbd868e468dffc21", "score": "0.48999798", "text": "private boolean storePic(MultipartFile file, String filename, String shortFileName) throws Exception {\n try (InputStream inputStream = file.getInputStream()) {\n Files.copy(inputStream, Paths.get(uploadPicPath + filename), // somewhat tricky\n StandardCopyOption.REPLACE_EXISTING);\n Thumbnails.of(uploadPicPath + filename).size(width, height).toFile(uploadPicPath + shortFileName);\n } catch (Exception e) {\n throw new Exception(\"失败!\" + filename, e);\n }\n return true;\n }", "title": "" }, { "docid": "f3fd7fae62168f0db9fe0402bc719bae", "score": "0.48943716", "text": "public ResourceLink getThumbnailLink() {\n return this.getResourceLinks().getThumbnail();\n }", "title": "" }, { "docid": "74797d3b54c28d0b5eb6ae1d99ffba5d", "score": "0.48884618", "text": "public void insertImage() {\n if (imgUri != null && imgUri.length() > 0) {\n Uri uri = Uri.parse(imgUri);\n\n Glide.with(context)\n .load(uri)\n .diskCacheStrategy(DiskCacheStrategy.NONE)\n .fitCenter()\n .into(imgView);\n\n } else if (imgBitmap != null) {\n imgView.setImageBitmap(imgBitmap);\n }\n }", "title": "" }, { "docid": "4a73bd54283e410ba38070f563c301a8", "score": "0.4888046", "text": "public byte[] generateThumbnail(byte[] pageData) throws Exception{\n\t\tInputStream in = new ByteArrayInputStream(pageData);\n\t\tBufferedImage bImageFromConvert = ImageIO.read(in);\n\t\t\n\t\t//\n\t\t// Create a thumbnail of the image\n\t\t// <TODO>\n\t\tBufferedImage thumbnail = Thumbnails.of(bImageFromConvert)\n\t\t .size(250, 167)\n\t\t .asBufferedImage();\n\t\t\n\t\tByteArrayOutputStream baos = new ByteArrayOutputStream();\n\t\tImageIO.write( thumbnail, \"png\", baos );\n\t\tbaos.flush();\n\t\tbyte[] thumbnailInByte = baos.toByteArray();\n\t\tbaos.close();\n\t\t\n\t\treturn thumbnailInByte;\n\t\t\n\t}", "title": "" }, { "docid": "7dd4792d7f81019527576a3e217d17f2", "score": "0.4883573", "text": "private void UploadImage(final Uri imageUri) {\n if(!imageUri.equals(\"\"))\n {\n storageReference= FirebaseStorage.getInstance().getReference().child(\"/images/\"+System.currentTimeMillis()+\".\"+getImageExt(imageUri));\n storageReference.putFile(imageUri)\n .addOnSuccessListener(new OnSuccessListener<UploadTask.TaskSnapshot>() {\n @Override\n public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {\n // Toast.makeText(getActivity(),\"successfull\",Toast.LENGTH_SHORT).show();\n imageUrl=taskSnapshot.getDownloadUrl().toString();\n databaseReference.child(\"profile\").setValue(imageUrl);\n databaseReferenceCard.child(\"profile\").setValue(imageUrl);\n progressDialog.dismiss();\n SignedIn();\n // i++;\n // Log.d(\"SaveValues\", imageUri+\"\");\n // user=new farmer_crop_infor(get_Product_name,get_Product_type,get_city,get_TEHIL,get_DISTT,get_area,get_sack_price,get_quantity,get_harvest,get_WaterSource,imageUrl);\n//\n }\n });\n\n }\n else{\n\n }\n }", "title": "" }, { "docid": "08a9a13d4104aa7adcc13807f3ab79fc", "score": "0.48827448", "text": "public void insertPhoto(String uri, int tripID, String timeStamp, Float pressureValue, Float temperatureValue, double GPSLatitude, double GPSLongitude) {\n mRepository.insertPhoto(new PhotoData(uri, tripID, timeStamp, pressureValue, temperatureValue, GPSLatitude, GPSLongitude));\n }", "title": "" }, { "docid": "6f4bfdea1053d84ee64a3ae09f0e0d0e", "score": "0.48822895", "text": "public Image createImage(CameraShard shard, Long timestamp) throws ApplicationException;", "title": "" }, { "docid": "71ae0f5b0221bde7e2cd6de1767c3e1b", "score": "0.48713374", "text": "@Override\n public void onActivityResult(final int requestCode, int resultCode, Intent data) {\n super.onActivityResult(requestCode, resultCode, data);\n // Log.i(TAG, \"onActivityResult: \" + this);\n\n String TAG = \"Tag\";\n\n if (resultCode != getActivity().RESULT_OK) {\n return;\n }\n\n //for gallery\n if (requestCode == RESULT_LOAD_IMAGE1 && null != data) {\n\n ParcelFileDescriptor parcelFD = null;\n try {\n parcelFD = getActivity().getContentResolver().openFileDescriptor(data.getData(), \"r\");\n FileDescriptor imageSource = parcelFD.getFileDescriptor();\n // Decode image size\n BitmapFactory.Options o = new BitmapFactory.Options();\n o.inJustDecodeBounds = true;\n BitmapFactory.decodeFileDescriptor(imageSource, null, o);\n // the new size we want to scale to\n final int REQUIRED_SIZE = 1024;\n // Find the correct scale value. It should be the power of 2.\n int width_tmp = o.outWidth, height_tmp = o.outHeight;\n int scale = 1;\n while (true) {\n if (width_tmp < REQUIRED_SIZE && height_tmp < REQUIRED_SIZE) {\n break;\n }\n width_tmp /= 2;\n height_tmp /= 2;\n scale *= 2;\n }\n\n // decode with inSampleSize\n BitmapFactory.Options o2 = new BitmapFactory.Options();\n o2.inSampleSize = scale;\n Bitmap bitmap = BitmapFactory.decodeFileDescriptor(imageSource, null, o2);\n\n storeImage(bitmap);\n\n // Get the dimensions of the View\n int targetW = settingView.takeImage1.getWidth();\n int targetH = settingView.takeImage1.getHeight();\n // Get the dimensions of the bitmap\n BitmapFactory.Options bmOptions = new BitmapFactory.Options();\n bmOptions.inJustDecodeBounds = true;\n BitmapFactory.decodeFile(picturePathG, bmOptions);\n\n int photoW = bmOptions.outWidth;\n int photoH = bmOptions.outHeight;\n\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 try {\n\n Bitmap bitmap1 = BitmapFactory.decodeFile(picturePathG, bmOptions);\n // Bitmap bitmap2 = modifyOrientation(bitmap1,picturePathG);\n if (requestCode == 1) {\n picturePath1 = picturePathG;\n sharedPreferences.edit().putString(Constants.PROFILEIMAGE, picturePath1).apply();\n\n settingView. takeImage1.setImageBitmap(bitmap1);\n\n /* Glide.with(this).load(picturePath1)\n .into(settingView.takeImage1);*/\n //UpdateUserProfile(pictureFile);\n uploadimageintoserver(pictureFile);\n }\n\n\n } catch (OutOfMemoryError e) {\n try {\n bmOptions = new BitmapFactory.Options();\n bmOptions.inSampleSize = 2;\n Bitmap bitmap1 = BitmapFactory.decodeFile(picturePathG, bmOptions);\n\n if (requestCode == 1) {\n picturePath1 = picturePathG;\n sharedPreferences.edit().putString(Constants.PROFILEIMAGE, picturePath1).apply();\n\n settingView.takeImage1.setImageBitmap(bitmap1);\n /* Glide.with(this).load(picturePath1)\n .into(settingView.takeImage1);*/\n // UpdateUserProfile(pictureFile);\n uploadimageintoserver(pictureFile);\n }\n\n } catch (Exception e11) {\n\n Toast.makeText(getActivity(), e11.getMessage(), Toast.LENGTH_LONG).show();\n }\n }\n } catch (FileNotFoundException e) {\n // handle errors\n\n Toast.makeText(getActivity(),\"FileNotFoundException:\"+e.getMessage(),Toast.LENGTH_LONG).show();\n\n }\n\n\n //for camera\n } else if (requestCode == REQUEST_TAKE_PHOTO1 ) {\n\n\n try{\n Uri outputFile;\n\n if (data != null && (data.getAction() == null || !data.getAction().equals(MediaStore.ACTION_IMAGE_CAPTURE))) {\n outputFile = data.getData();\n actualImage = new File(getPath(outputFile));\n\n } else {\n\n actualImage = tempOutputFile;\n// actualImageView.setImageBitmap(BitmapFactory.decodeFile(actualImage.getAbsolutePath(),options));\n // actualSizeTextView.setData(String.format(\"Size : %s\", getReadableFileSize(actualImage.length())));\n }\n\n\n if (actualImage == null) {\n Toast.makeText(getActivity(), getString(R.string.choose_option), Toast.LENGTH_LONG).show();\n } else {\n\n compressedImage = new Compressor.Builder(getActivity())\n .setMaxWidth(1024)\n .setMaxHeight(720)\n .setQuality(100)\n .setCompressFormat(Bitmap.CompressFormat.JPEG)\n .setDestinationDirectoryPath(getActivity().getExternalFilesDir(\n Environment.DIRECTORY_PICTURES).getAbsolutePath())\n .build()\n .compressToFile(actualImage);\n setPic(requestCode, compressedImage.getAbsolutePath());\n }\n\n //UpdateUserProfile(compressedImage);\n uploadimageintoserver(compressedImage);\n\n }catch(Exception e){\n Toast.makeText(getActivity(),\"CompressedException:\"+e.getMessage(),Toast.LENGTH_LONG).show();\n }\n }\n\n }", "title": "" }, { "docid": "9ab98eb896654177894b0b03b105d2e3", "score": "0.4860412", "text": "void onHighResolutionImageLoaded(String highResImageUrl, int position);", "title": "" }, { "docid": "e707f8699259086b83d1214d99cb3361", "score": "0.48558468", "text": "public void updatePageThumbnail(byte[] thumbnail, long pageId) throws Exception {\n\t\t// create the java mysql update preparedstatement\n\t String query = \"UPDATE document_page set page_data_thumbnail = ? WHERE id = ?\";\n\t \n\t // get the connection\n\t \tConnection conn = openConnection();\n\t \n\t PreparedStatement preparedUPDATEstatement = conn.prepareStatement(query);\n\t preparedUPDATEstatement.setLong(2, pageId);\n\t preparedUPDATEstatement.setBlob(1, new javax.sql.rowset.serial.SerialBlob(thumbnail));\n\n\t // execute the java preparedstatement\n\t preparedUPDATEstatement.executeUpdate();\n\t \n\t conn.close();\n\t\t\n\t}", "title": "" }, { "docid": "9e58d86ca10cb5542723a4891973c901", "score": "0.48539016", "text": "public Image(Context context, MediaMetadata metadata) {\n mContext = context;\n\n String uri_art = metadata.getString(MediaMetadata.METADATA_KEY_ART_URI);\n String uri_album_art = metadata.getString(MediaMetadata.METADATA_KEY_ALBUM_ART_URI);\n String uri_icon = metadata.getString(MediaMetadata.METADATA_KEY_DISPLAY_ICON_URI);\n Bitmap bmp_art = metadata.getBitmap(MediaMetadata.METADATA_KEY_ART);\n Bitmap bmp_album_art = metadata.getBitmap(MediaMetadata.METADATA_KEY_ALBUM_ART);\n Bitmap bmp_icon = metadata.getBitmap(MediaMetadata.METADATA_KEY_DISPLAY_ICON);\n\n if (bmp_art != null) {\n setImage(bmp_art);\n } else if (bmp_album_art != null) {\n setImage(bmp_album_art);\n } else if (bmp_icon != null) {\n setImage(bmp_icon);\n } else if (uri_art != null) {\n setImage(uri_art);\n } else if (uri_album_art != null) {\n setImage(uri_album_art);\n } else if (uri_icon != null) {\n setImage(uri_icon);\n }\n }", "title": "" }, { "docid": "b27b850cca254221e3733ae37b378496", "score": "0.4844425", "text": "private Uri getImageUri(Context inContext, Bitmap inImage) {\n ByteArrayOutputStream bytes = new ByteArrayOutputStream();\n inImage.compress(Bitmap.CompressFormat.JPEG, 100, bytes);\n String path = MediaStore.Images.Media.insertImage(inContext.getContentResolver(), inImage, \"Title\" + Calendar.getInstance().getTime(), null);\n return Uri.parse(path);\n }", "title": "" }, { "docid": "d713ac37b36bf9ccbaa5bf4ab919a82a", "score": "0.48421085", "text": "private void setThumbnailURL(String PlayListURL)\n\t\t{\n\t\t\tURL urlLink;\n\t\t\ttry {\n\t\t\t\turlLink = new URL(PlayListURL);\n\t\t\t\tvoLog.i(TAG,\"Thumbnail PlayList download begin\" );\n\t\t\t\tif(PlayListURL.lastIndexOf(\"/\")>=0)\n\t\t\t\t\turlPath = PlayListURL.substring(0,PlayListURL.lastIndexOf(\"/\"));\n\t\t\t\tBufferedInputStream in = new BufferedInputStream(urlLink.openStream());\n\t\t\t\t\n\t\t\t\tByteArrayBuffer ba = new ByteArrayBuffer(0);\n\t\t\t\tif(in!=null)\n\t\t\t\t{\n\t\t\t\t\tbyte [] buffer = new byte[1024];\n\t\t\t\t\tString s = \"\";\n\t\t\t\t\twhile(true)\n\t\t\t\t\t{\n\t\t\t\t\t\tint nRead = in.read(buffer);\n\t\t\t\t\t\tif(nRead<=0)\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tba.append(buffer, 0, nRead);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tbyte [] buff = ba.buffer();\n\t\t\t\tString s = \"\";\n\t\t\t\t\n\t\t\t\tint beginTime = 0;\n\t\t\t\tif(buff!=null)\n\t\t\t\t{\n\t\t\t\t\ts = new String(buff );\n\t\t\t\t\tString [] strArr = s.split(\"\\n\");\n\t\t\t\t\tif(strArr!=null)\n\t\t\t\t\t{\n\t\t\t\t\t\tfor(int i = 0;i<strArr.length;i++)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tif(strArr[i].length()>8 && strArr[i].substring(0, 8).compareToIgnoreCase(\"#EXTINF:\") == 0 && i<strArr.length-1)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tString tmp = strArr[i].substring(8);\n\t\t\t\t\t\t\t\ttmp = tmp.replace(\"\\r\", \"\");\n\t\t\t\t\t\t\t\ttmp = tmp.replace(\",\", \"\");\n\t\t\t\t\t\t\t\ttmp = tmp.trim();\n\t\t\t\t\t\t\t\tint duration = Integer.parseInt(tmp)*1000;\n\t\t\t\t\t\t\t\ttreeMap.put(beginTime, strArr[i+1]);\n\t\t\t\t\t\t\t\tvoLog.i(TAG,\"Thumbnail PlayList item begin time = %d, url = %s\",beginTime, strArr[i+1]);\n\t\t\t\t\t\t\t\tbeginTime+=duration;\n\t\t\t\t\t\t\t\ti++;\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t//add last record for not displaying last thumb nail always\n\t\t\t\t\t\tif(treeMap.size()>0)\n\t\t\t\t\t\t\ttreeMap.put(beginTime,\"\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} catch (Exception e) {\n\t\t\t\tvoLog.i(TAG,\"Thumbnail PlayList download Exception\" );\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\t//callEnabled = true;\n\t\t\t\n\t\t}", "title": "" }, { "docid": "945c129ed32d9ac86da2a9ff983854f5", "score": "0.48398218", "text": "Twitter.MediaSize getThumb();", "title": "" } ]
ead77d5d7a993cb7a436e257fc4bbcd9
/ Enabled aggressive block sorting
[ { "docid": "4abbb99951014aad66e669abb0e5b554", "score": "0.0", "text": "public static e a(GoogleApiClient object, Api.c<e> c2) {\n boolean bl2 = true;\n boolean bl3 = object != null;\n fq.b(bl3, (Object)\"GoogleApiClient parameter is required.\");\n fq.a(object.isConnected(), \"GoogleApiClient must be connected.\");\n object = (e)((Object)object.a(c2));\n bl3 = object != null ? bl2 : false;\n fq.a(bl3, \"GoogleApiClient is not configured to use the Plus.API Api. Pass this into GoogleApiClient.Builder#addApi() to use this feature.\");\n return object;\n }", "title": "" } ]
[ { "docid": "0faf331234d603b64aeda6773749f2a0", "score": "0.6582511", "text": "@Override\n public int getSortWeight() {\n return 1000;\n }", "title": "" }, { "docid": "9a36fb2805a2f7fc47363bbde8ee1c85", "score": "0.6551011", "text": "private Sorts () {}", "title": "" }, { "docid": "ad067ac6a2ad887f1fb7cbd769ca229b", "score": "0.6296483", "text": "public static void sort(int[] array) {\n if (array.length <= MIN_BLOCK_SIZE){\n insertionSortRange(array,0,array.length);\n\n // Else, break array into sub blocks sort, then merge sort the sub blocks.\n } else {\n \n // Calculate the number of subBlocks in array.\n int subBlocks = array.length / MIN_BLOCK_SIZE;\n\n // For each subBlock in the array.\n for (int i = 0; i < subBlocks; i++) {\n\n // Calculate the begin and end indices.\n int begin = i * MIN_BLOCK_SIZE;\n int end = begin + MIN_BLOCK_SIZE;\n\n // Pass the array and begin and end indexes into the insertionSort algorithm.\n insertionSortRange(array,begin,end);\n }\n\n // Call insertion sort algorithm on last elements in the array that are less than a whole subBlock.\n insertionSortRange(array,subBlocks * MIN_BLOCK_SIZE, array.length);\n\n // FOr each subBlock in the array.\n for (int i = 0; i < subBlocks; i++) {\n\n // Calculate the end and mid indices.\n int end = i * MIN_BLOCK_SIZE + 2 * MIN_BLOCK_SIZE;\n int mid = end - MIN_BLOCK_SIZE;\n\n // If the end index is out of range.\n if (end > array.length){\n\n // Call mergrSort algorithm on the the array from [left .. mid] and [mid .. array.length].\n mergeRange(array,0,mid, array.length);\n }else {\n\n // Call the mergeSort algorithm on the array from [left .. mid] and [mid .. end].\n mergeRange(array,0,mid,end);\n }\n }\n }\n }", "title": "" }, { "docid": "2d132f193db787378ea3bb10b46e49a3", "score": "0.61814094", "text": "public void sort() {\r\n\t\tSystem.out.format(\"Start %d way merge sort.\\n\", numberOfWays);\r\n\t\t// GCThread thread = new GCThread();\r\n\t\t// thread.start();\r\n\t\tsplit();\r\n\t\tmergeSort();\r\n\t\t// thread.stop();\r\n\r\n\t}", "title": "" }, { "docid": "0b270957009b398de2f14183b71bda35", "score": "0.61491346", "text": "private SmoothSort() {}", "title": "" }, { "docid": "30c875866287fe01b5e7ebc58755f84d", "score": "0.60886467", "text": "public void sort() {\r\n\t\tComparable tmp;\r\n\t\t\r\n\t\tfor(int i=0;i<this.currentSize;i++)\r\n\t\t{\r\n\t\t\tfor(int j=0;j<this.currentSize-1;j++)\r\n\t\t\t{\r\n\t\t\t\tif(this.buffer[j].compareTo(this.buffer[j+1])==1)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\ttmp=this.buffer[j];\r\n\t\t\t\t\t\tthis.buffer[j]=this.buffer[j+1];\r\n\t\t\t\t\t\tthis.buffer[j+1]=tmp;\r\n\t\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "9b1eda7cd38a5006f4325876aef4d548", "score": "0.60309464", "text": "public void sortBest() {\n for(int i = 0; i < 9; i++) {\n for(int j = 0; j < 9 - i; j++) {\n if(etable.get(j).getGames_won() > etable.get(j+1).getGames_won()) {\n ETableData buffer = etable.get(j);\n etable.set(j, etable.get(j+1));\n etable.set(j+1, buffer);\n } else if(etable.get(j).getGames_won() == etable.get(j+1).getGames_won() && etable.get(j).getTotal_margin() > etable.get(j+1).getTotal_margin()) {\n ETableData buffer = etable.get(j);\n etable.set(j, etable.get(j+1));\n etable.set(j+1, buffer);\n }\n }\n }\n }", "title": "" }, { "docid": "ed910b897b15a85cf474f9ef147663c1", "score": "0.59889704", "text": "long getSort();", "title": "" }, { "docid": "7cffb70b657691c42ac7a178b04e2b31", "score": "0.5984491", "text": "public void sort(){}", "title": "" }, { "docid": "182a49726cbbd838759316ccfc2ac7f2", "score": "0.59776", "text": "public void sorted();", "title": "" }, { "docid": "06e56f903cf60a94aee5762f5c4b6574", "score": "0.5960491", "text": "public void sort(){\n Object temp;\n for(int i=1;i<=size;i++){\n \tfor(int j=start;j<start+size-i;j++){\n \t\tif((int)cir[j%cir.length]>(int)cir[(j+1)%cir.length]){\n \t\t\ttemp=cir[j%cir.length];\n \t\t\tcir[j%cir.length]=cir[(j+1)%cir.length];\n \t\t\tcir[(j+1)%cir.length]=temp;\n \t\t}\n \t}\n }\n \n }", "title": "" }, { "docid": "bcc7961a0f52a48bc37ee9219549c0c1", "score": "0.5960233", "text": "private int runSort()\n\t{\n\t\tint index = 0;\n\t\tList<int[]> particleIndex = new ArrayList<int[]>();\n\n\t\t// get values out of buffer\n\t\t_particleIndexPtr = _particleIndex.map(_queue, CLMem.MapFlags.ReadWrite);\n\t\tint[] particleInd = _particleIndexPtr.getInts();\n\n\t\tfor(int i = 0; i < _particleCount * 2; i += 2)\n\t\t{\n\t\t\tint[] element = { particleInd[i], particleInd[i + 1] };\n\t\t\tparticleIndex.add(element);\n\t\t}\n\t\tCollections.sort(particleIndex, new MyCompare());\n\t\tfor(int i = 0; i < particleIndex.size(); i++)\n\t\t{\n\t\t\tfor(int j = 0; j < 2; j++)\n\t\t\t{\n\t\t\t\tparticleInd[index] = particleIndex.get(i)[j];\n\t\t\t\tindex++;\n\t\t\t}\n\t\t}\n\n\t\t// put results back\n\t\t_particleIndexPtr.setInts(particleInd);\n\t\t_particleIndex.unmap(_queue, _particleIndexPtr);\n\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "b633c79d043515e5a6f3973b57f31fb3", "score": "0.5948335", "text": "public void descendingInsertionSort()\n\t{\n\t\tfor(int i = 1; i < list.size(); i++)\n\t\t{\n\t\t\tint key = list.get(i);\n\t\t\tint position = i;\n\t\t\twhile(position > 0 && list.get(position-1) < key)\n\t\t\t{\n\t\t\t\tAlgorithms.switches.add(new Point(position, position-1));\n\t\t\t\tlist.set(position, list.get(position-1));\n\t\t\t\tposition--;\n\t\t\t}\n\t\t\tlist.set(position, key);\t\t\t\t\n\t\t}\n\t}", "title": "" }, { "docid": "001f3e017c14d2f3e94f8096f1a46f5f", "score": "0.59309155", "text": "public void sort()\n {\n for (int i = 0; i < coins.length - 1; i++)\n {\n int minPos = minimumPosition(coins, i);\n ArrayUtil.swap(coins, minPos, i);\n }\n }", "title": "" }, { "docid": "4ee55315a263a73567e52c7657bec9bc", "score": "0.59236974", "text": "protected abstract void sort();", "title": "" }, { "docid": "b23a0c505cb44dc5e5804f5ae15ec671", "score": "0.59017485", "text": "@Override\n\tpublic void OrderStandBy() {\n\t\t\n\t}", "title": "" }, { "docid": "90177ac2d5278b89918ff3987cef3d64", "score": "0.5893985", "text": "List<IBasicBlock> getBlocksInEntryOrder();", "title": "" }, { "docid": "3f05008ccfb6186d534c0b412e422d18", "score": "0.5887652", "text": "public abstract void consignSort();", "title": "" }, { "docid": "224073354c498f89983dae757cf45286", "score": "0.58850944", "text": "@Override\r\n\tprotected void doSort() {\n\t\tint length = getDataLength();\r\n\t\tdouble[] data = new double[length];\r\n\t\tfor (int i = 0; i < length; i++) {\r\n\t\t\tdata[i] = probe(i);\r\n\t\t}\r\n\t\tdouble[] sorted = data.clone();\r\n\t\tArrays.sort(sorted);\r\n\t\t\r\n\t\tnextSortedIndex:\r\n\t\tfor (int sortedIndex = 0; sortedIndex < length; sortedIndex++) {\r\n\t\t\tfor (int dataIndex = 0; dataIndex < length; dataIndex++) {\r\n\t\t\t\tif (sorted[sortedIndex] == data[dataIndex]) {\r\n\t\t\t\t\tif (sortedIndex != dataIndex) {\r\n\t\t\t\t\t\tswap(sortedIndex, dataIndex);\r\n\t\t\t\t\t\tdata[dataIndex] = data[sortedIndex];\r\n\t\t\t\t\t\tdata[sortedIndex] = sorted[sortedIndex];\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak nextSortedIndex;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "108b9189508275599cf6ecad75445892", "score": "0.5880524", "text": "protected synchronized void sort() throws BucketStorageException {\n beingSorted = true;\n try {\n while (unsortedSizeUsed > 0) {\n // Retrieve last unsorted object address\n int lastUnsortedIndex = index.length - unsortedSizeTotal + unsortedSizeUsed - 1;\n long address = index[lastUnsortedIndex];\n\n // Search for the position where the object is added into index\n int pos = insertionPoint(storage.read(address));\n\n // Move index data to make space\n System.arraycopy(index, pos, index, pos + 1, lastUnsortedIndex - pos);\n index[pos] = address;\n unsortedSizeUsed--;\n unsortedSizeTotal--;\n }\n } finally {\n beingSorted = false;\n }\n }", "title": "" }, { "docid": "3e0948369f0dd7fa5e07a84d82470cf6", "score": "0.5865977", "text": "void sortAllNodes()\n\t{\n\t\tsortCZoneNodes(null);\n\t}", "title": "" }, { "docid": "866654520b322166e55938f84ca97e93", "score": "0.585866", "text": "private void initializeBlocks() {\n\t\t\n\t\t//set up blocks\n\t\tcellGroups = new Cell[9][9];\n\t\t\n\t\tCell cellToSort;\n\t\tint block;\n\t\t\n\t\t//iterate over all Cells\n\t\tfor(int x=0; x<=8; x++){\n\t\t\tfor (int y=0; y<=8; y++){\n\t\t\t\t\n\t\t\t\tcellToSort = cellArray[x][y];\n\t\t\t\tblock = cellToSort.getBlock();\n\t\t\t\t\n\t\t\t\t//sort Cell into correct block\n\t\t\t\tfor(int i=0;i<=8;i++){\n\t\t\t\t\tif(cellGroups[block][i]==null){\n\t\t\t\t\t\tcellGroups[block][i]=cellToSort;\n\t\t\t\t\t\tbreak;\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}", "title": "" }, { "docid": "c2303b215129d70dce7b511c22369157", "score": "0.5802829", "text": "private Sort()\n\t{\n\t}", "title": "" }, { "docid": "8c20026253d8801ce12cc4c079a4c4b4", "score": "0.5767231", "text": "public void ascendingInsertionSort()\n\t{\n\t\tfor(int i = 1; i < list.size(); i++)\n\t\t{\n\t\t\tint key = list.get(i);\n\t\t\tint position = i;\n\t\t\twhile(position > 0 && list.get(position-1) > key)\n\t\t\t{\n\t\t\t\tAlgorithms.switches.add(new Point(position, position-1));\n\t\t\t\tlist.set(position, list.get(position-1));\n\t\t\t\tposition--;\n\t\t\t}\n\t\t\tlist.set(position, key);\t\t\t\t\n\t\t}\n\t}", "title": "" }, { "docid": "fb31d4b1ea1a3236dc35946d36bd86e6", "score": "0.5762004", "text": "private void resumeOfflineSorting() {\n synchronized (offlineSortLock) {\n osc = false;\n }\n }", "title": "" }, { "docid": "e17456fe4d503789895d39a877a08abb", "score": "0.57563055", "text": "public void sortOnline() throws Exception {// NOPMD\n final RingInputStream ringInputStream = new RingInputStream();\n final int[] eventData = new int[eventSize];\n final byte[] buffer = GuiceInjector.getObjectInstance(\n RingBufferFactory.class).freshBuffer();\n while (true) { // loop while acquisition on\n /* Get a new buffer and make an input stream out of it. */\n if (ringBuffer.isCloseToFull()) {\n increaseSortInterval();\n setIsCallingSort(false);\n } else {\n setIsCallingSort(true);\n if (ringBuffer.isEmpty()) {\n decreaseSortInterval();\n }\n }\n ringBuffer.getBuffer(buffer);\n ringInputStream.setBuffer(buffer);\n eventInputStream.setInputStream(ringInputStream);\n /* Zero event array. */\n Arrays.fill(eventData, 0);\n eventInputStatus = eventInputStream.readEvent(eventData);\n while (((eventInputStatus == EventInputStatus.EVENT)\n || (eventInputStatus == EventInputStatus.SCALER_VALUE) || (eventInputStatus == EventInputStatus.IGNORE))) {\n if (eventInputStatus == EventInputStatus.EVENT) {\n checkIntervalAndSortEvent(eventData);\n }\n // else SCALER_VALUE, assume sort stream took care and move on\n eventInputStatus = eventInputStream.readEvent(eventData);\n }\n handleStatusOnline();\n yield();\n }// end infinite loop\n }", "title": "" }, { "docid": "a998e35ef6aa37cb0aab4eb84f48e648", "score": "0.57313573", "text": "@Override \r\n\tpublic void sort(int order)\r\n\t{\r\n\t\tsetComparator(order);\r\n\t\t\r\n\t\tsortingTime = System.nanoTime();\r\n\r\n\t\tmergeSortRec(points);\r\n\t\t\r\n\t\tsortingTime = System.nanoTime() - sortingTime;\r\n\t\t\r\n\t\tdraw();\r\n\t}", "title": "" }, { "docid": "0af55e4d671bef5a0809e41ce917ee1d", "score": "0.5723709", "text": "static void sort() {\n System.out.println(\"Dentro do sort\");\n }", "title": "" }, { "docid": "27b4a07423e4877122018fec433f483e", "score": "0.5715603", "text": "@Override\n public void sort() {\n for (int i = 0; i < arr.length; i++) {\n int minPos = minPosition(i, arr.length);\n ArrayUtils.swap(arr, i, minPos);\n }\n }", "title": "" }, { "docid": "3373ae7cdb0232abfc17aaa82633040b", "score": "0.56890786", "text": "private static void MultiThreadSort(int[] a) {\n\t\t\n\t}", "title": "" }, { "docid": "aecab83d37c1b8c5b625675395d3e4b7", "score": "0.56730044", "text": "private void sort() {\n\t\tfor (int i=1; i<= numbers.length-1; i++) { //outer loop to scroll thru right of the list\n\t\t\tfor (int j=i; j > 0; j--) { //inner loop to scroll thru the left of the list\n\t\t\t\tif (numbers[j] < numbers[j-1]) {\n\t\t\t\t\texchangeIndex(j, j-1); //exchange with the lower number\n\t\t\t\t}\n\t\t\t}\n\t\t}\t\n\t}", "title": "" }, { "docid": "98794f567612c534e68ef67815fa8d29", "score": "0.56719697", "text": "private void sort() {\n recAdapter.sortCountermeasureList(this.sortBy);\n recAdapter.notifyDataSetChanged();\n }", "title": "" }, { "docid": "7882502164f9449496a8a673b786b6dc", "score": "0.56596375", "text": "public static void main(String[] args) {\n double S = 0;\n for(int i = 6; i > 0; i--){\n Comparable[] list1 = new Comparable[(int) (Math.pow(10, i))];\n for(int j = 0; j < list1.length; j++){\n list1[j] = (int) (Math.random() * 1000);\n }\n Comparable[] list2 = Arrays.copyOf(list1, list1.length);\n\n long timeNaive = MergesortParallelNaive.sort(list1);\n long timeRegular = Mergesort.sort(list2);\n if(timeRegular < timeNaive){\n S = Math.pow(10, i);\n break;\n }\n }\n\n Comparable[] list = new Comparable[(int) (10 * S)];\n for(int j = 0; j < list.length; j++){\n list[j] = (int) (Math.random() * 1000);\n }\n MergesortParallelSmart.sort(list, S);\n System.out.println(\"\");\n }", "title": "" }, { "docid": "8cde34771097408f4bc633631dff861f", "score": "0.56339806", "text": "public void selectionSort() {\r\n\t\tsorted = true;\r\n\t\tfor (int n = topCard; n > 0; n--) {\r\n\t\t\tfor (int i = 0; i < n; i++) {\r\n\t\t\t\tif (cards[i].compareTo(cards[n]) > 0) {\r\n\t\t\t\t\tCard aTemp = cards[i];\r\n\t\t\t\t\tcards[i] = cards[n];\r\n\t\t\t\t\tcards[n] = aTemp;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "3099090b805e1634aa559a3fdadf06a6", "score": "0.5614814", "text": "public static void bury(Block[] blocks) {\n\t\t\tBlock temp;\n\t\t\tfor(int i=0;i<blocks.length-1;i++) {\n\t\t\t\tfor(int j=0; j<blocks.length-1;j++) {\n\t\t\t\t\tif(blocks[j].getY()>blocks[j+1].getY()) {\n\t\t\t\t\t\t// use a temporary space when switching index\n\t\t\t\t\t\ttemp = blocks[j];\n\t\t\t\t\t\tblocks[j] = blocks[j+1];\n\t\t\t\t\t\tblocks[j+1] = temp; // this method is not used in bubble sorting: mimicking\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\tfor(int i=0; i<blocks.length;i++) bury(blocks[i]);\n\t\t}", "title": "" }, { "docid": "fe5c0769425ef97fddd3db6d3fd5c4ed", "score": "0.5610226", "text": "public boolean sort();", "title": "" }, { "docid": "eab00f2182751627b95f0fbe4399a7e6", "score": "0.5609899", "text": "public void descendingInsertionSort()\n\t{\n\t//\tSystem.out.println (list);\n\t\tfor(int i = 1; i < list.size(); i++)\n\t\t{\n\t\t\tdouble key = list.get(i);\n\t\t\tint position = i;\n\t\t\twhile(position > 0 && list.get(position-1) < key)\n\t\t\t{\n\t\t\t\tAlgorithms.switches.add(new Point(position, position-1));\n\t\t\t\tlist.set(position, list.get(position-1));\n\t\t\t\tposition--;\n\t\t\t}\n\t\t\tlist.set(position, key);\t\t\t\t\n\t\t}\n\t//\tSystem.out.println (list);\n\t}", "title": "" }, { "docid": "1206f86442a57e38569b2e3d05d1c5b0", "score": "0.5607651", "text": "private void sort() {\n\t do{\n\t int big;\n\t \n\t // Traditional selection sort\n\t // Use the whole array, then one less, then one less ..\n\t for (int i=numPix; i>1; i--) {\n\t\t \n\t\t // Find the largest name between 0 and i\n\t\t big = findMaxName(i);\n\t\t \n\t\t // Swap the largest from position i\n\t\t // into position big\n\t\t pixfile p = list[big];\n\t\t list[big] = list[i-1];\n\t\t list[i-1] = p;\n\t }\n\t }while(true);\n }", "title": "" }, { "docid": "59d4d2124d0ff3a72b3263add89e320a", "score": "0.5592498", "text": "protected void sortGroups(CommandSender sender) {\n if (_sortedGroups == null) {\n long start = System.currentTimeMillis();\n\n // For all chunks, and for all 16 boxes in a chunk, for each\n // EntityType that has a non-zero count append an EntityGroup. Note\n // that groups is initialised with a certain capacity, but starts\n // with 0 size.\n ArrayList<EntityGroup> groups = new ArrayList<>(_chunkCounts.size());\n for (ChunkCount chunkCount : _chunkCounts) {\n for (int i = 0; i <= 15; ++i) {\n if (chunkCount.hasBox(i)) {\n chunkCount.getBox(i).addEntityGroupsTo(groups);\n }\n }\n }\n\n // Exclude groups of ITEM_FRAME and sort descending by count.\n _sortedGroups = groups.stream()\n .filter(g -> g.getEntityType() != EntityType.ITEM_FRAME)\n .sorted((l, r) -> r.getCount() - l.getCount())\n .toArray(size -> new EntityGroup[size]);\n\n long elapsedMillis = System.currentTimeMillis() - start;\n sender.sendMessage(ChatColor.GOLD + String.format(\"Sorted %d entity groups in %d milliseconds.\",\n _sortedGroups.length, elapsedMillis));\n }\n }", "title": "" }, { "docid": "cac89a7b4688e36d14b63dfae47709cc", "score": "0.55887383", "text": "public void mergeSort() {\r\n\t\tDeck.sort(getCards());\r\n\r\n\t}", "title": "" }, { "docid": "8f72520510f1c26e911076b016225dee", "score": "0.55776405", "text": "private void breakDeadlock() {\n\t\t\n\t\t Set<Integer> s = cycleDetector.findCycles();\n\t\t ArrayList<Integer> list =new ArrayList<Integer>(s);\n\t\t Collections.sort(list);\n\t\t for (Iterator it = list.iterator(); it.hasNext();) {\n\t\t\tInteger i = (Integer) it.next();\n\t\t\t/*if(i<=0){\n\t\t\t\tit.remove();\n\t\t\t}*/\n\t\t}\n\t\t for (Vector<Assignment> as : allocation) {\n\t\t\t reorderAllocation(list,as);\n\t\t }\n\t}", "title": "" }, { "docid": "eb0f8df0729c5be82908ca7b93fecf88", "score": "0.55771977", "text": "public static void main(String[] args) throws IOException {\n FileIO runFile = new FileIO(args[0], \"runFile.bin\");\n Buffer inBuffer = new Buffer(1); // 1 block input buffer\n Buffer outBuffer = new Buffer(1); // 1 block output buffer\n\n LinkedList<Integer> runStatList = new LinkedList<Integer>();\n LinkedList<Long> pointersList = new LinkedList<Long>();\n\n MinHeap<Record> sortingHeap = new MinHeap<Record>(HEAP_SIZE\n * RECORDS_PER_BLOCK);\n\n boolean isHeapified = false;\n boolean isFinalRun = false;\n boolean finalRunDone = false;\n\n if (inBuffer.isEmpty() && !runFile.isEndOfFile()) {\n inBuffer.insertBlock(runFile.getCurrBlock());\n }\n while (!sortingHeap.isHeapFull()) {\n sortingHeap.insertBlock(inBuffer.removeBlock());\n if (inBuffer.isEmpty() && !runFile.isEndOfFile()) {\n inBuffer.insertBlock(runFile.getCurrBlock());\n }\n }\n\n while (!finalRunDone) {\n boolean allRunsComplete = false;\n int runLength = 0;\n long runStartPointer = runFile.getWritePointer();\n if (!sortingHeap.isHeapNull() && isHeapified) {\n sortingHeap.resetMaxSize();\n sortingHeap.buildHeap();\n isHeapified = false;\n }\n\n if (isFinalRun) {\n while (!allRunsComplete) {\n Record min = sortingHeap.removeMin();\n\n outBuffer.insertRecEnd(min);\n if (outBuffer.isFull()) {\n runLength += RECORDS_PER_BLOCK;\n runFile.outBlock((Record[])outBuffer.removeBlock());\n }\n if (sortingHeap.heapMaxSize() == 0) {\n allRunsComplete = true;\n finalRunDone = true;\n }\n }\n }\n else {\n while (!allRunsComplete) {\n\n {\n if (inBuffer.isEmpty() && !runFile.isEndOfFile()) {\n inBuffer.insertBlock(runFile.getCurrBlock());\n }\n if (!inBuffer.isEmpty()) {\n Record min = sortingHeap.getMinRecord();\n outBuffer.insertRecEnd(min);\n\n if (outBuffer.isFull()) {\n runLength += RECORDS_PER_BLOCK;\n runFile.outBlock((Record[])outBuffer\n .removeBlock());\n }\n Record replacement = inBuffer.removeRecEnd();\n if (replacement.compareTo(min) < 0) {\n sortingHeap.dirtyInsert(replacement);\n }\n else {\n sortingHeap.cleanInsert(replacement);\n }\n if (sortingHeap.heapMaxSize() == 0) {\n allRunsComplete = true;\n isHeapified = true;\n }\n }\n else {\n allRunsComplete = true;\n isHeapified = true;\n isFinalRun = true;\n }\n }\n\n }\n }\n\n while (!outBuffer.isEmpty()) {\n Record[] writeOut = outBuffer.removeBlock();\n runFile.outBlock(writeOut);\n runLength += writeOut.length;\n }\n\n if (runLength > 0) {\n runStatList.add(runLength);\n pointersList.add(runStartPointer);\n }\n\n }\n pointersList.add(runFile.getWritePointer());\n long[] endPointers = new long[pointersList.size()];\n for (int i = 0; i < endPointers.length; i++) {\n endPointers[i] = pointersList.removeFirst();\n }\n MergeFile.merge(\"runFile.bin\", endPointers, args[0]);\n }", "title": "" }, { "docid": "ee7ada466c8f5deb10415f4a1f540106", "score": "0.55747217", "text": "void batcherSort(\n\t\tint ulArrSize,\n\t\tint ulStart,\n\t\tint ulSkip,\n\t\tboolean fHalves) {\n\t\tint cnt, ulUpper, ulTemp; /* Utility variables */\n\n\t\tif (ulArrSize < 2) /* No sorting needed if <2 items in the set */\n\t\t\treturn;\n\n\t\tif (ulArrSize == 2) {\n\t\t/* Do simple compare/swap if there are 2 elements */\n\t\t\tif (work.greater(ulStart,ulStart + ulSkip)) {\n\t\t\t\twork.swap(ulStart, ulStart+ulSkip);\n\t\t\t}\n\t\t\tc.paintNumbers();\n\t\t\treturn;\n\t\t}\n\n\t\tulTemp = 1; /* ulTemp ends up holding the smallest power */\n\t\twhile (ulTemp < ulArrSize)\n\t\t\t/* of 2 that is at least as big as ulArrSize */\n\t\t\tulTemp *= 2;\n\n\t\tif (fHalves) /* If the sort was NOT called by the odd/even recurses */ {\n\t\t\tbatcherSort((int) (ulTemp / 2), ulStart, ulSkip, true);\n\t\t\t/* Sort 1st half */\n\t\t\tbatcherSort((int) (ulArrSize - ulTemp / 2), /* Sort 2nd half */\n\t\t\t (int) (ulStart + ulTemp / 2 * ulSkip), ulSkip, true);\n\t\t}\n\t\tbatcherSort(\n\t\t\t(int) (ulArrSize - ulArrSize / 2),\n\t\t\tulStart,\n\t\t\t(int) (ulSkip * 2),\n\t\t\tfalse);\n\t\t/* Sort evens */\n\t\tbatcherSort(\n\t\t\t(int) (ulArrSize / 2),\n\t\t\t(int) (ulStart + ulSkip),\n\t\t\t(int) (ulSkip * 2),\n\t\t\tfalse);\n\t\t/* Sort odds */\n\n\t\tulUpper =\n\t\t\t(int) (ulStart\n\t\t\t\t+ ulSkip\n\t\t\t\t+ (ulArrSize - ulArrSize / 2 - 1) * 2 * ulSkip);\n\t\tfor (cnt = ulStart + ulSkip;\n\t\t\tcnt < ulUpper;\n\t\t\tcnt += ulSkip * 2) /* Do final compares */ {\n\t\t\tif (work.greater(cnt, cnt + ulSkip)) {\n\t\t\t\twork.swap(cnt, cnt+ulSkip);\t\t\t\t\n\t\t\t\tc.paintNumbers();\n\t\t\t}\n\t\t}\n\t\treturn;\n\t}", "title": "" }, { "docid": "5a27441ccabbead4be267b9eed7a0604", "score": "0.55661255", "text": "private final void sort(int l, int r) {\n/* 146 */ int i = l, j = r;\n/* 147 */ int m = this.match[(l + r) / 2];\n/* */ \n/* */ while (true) {\n/* */ while (true) {\n/* 151 */ if (this.match[i] >= m)\n/* 152 */ { for (; m < this.match[j]; j--);\n/* */ \n/* 154 */ if (i <= j) {\n/* 155 */ int h = this.match[i]; this.match[i] = this.match[j]; this.match[j] = h;\n/* 156 */ InstructionHandle h2 = this.targets[i]; this.targets[i] = this.targets[j]; this.targets[j] = h2;\n/* 157 */ i++; j--;\n/* */ } \n/* 159 */ if (i > j)\n/* */ break; continue; } i++;\n/* 161 */ } if (l < j) sort(l, j); \n/* 162 */ if (i < r) sort(i, r); \n/* */ return;\n/* */ } \n/* */ i++;\n/* */ continue;\n/* */ }", "title": "" }, { "docid": "8a4fc97f90714a5ba8154712b4e85a51", "score": "0.55583704", "text": "public void sort() {\n\t\tCollections.sort(frontier, new Comparator<BidPoint>() {\n\t\t\tpublic int compare(BidPoint x, BidPoint y) {\n\t\t\t\tif (x.getUtilityA() < y.getUtilityA())\n\t\t\t\t\treturn -1;\n\t\t\t\telse if (x.getUtilityA() > y.getUtilityA())\n\t\t\t\t\treturn 1;\n\t\t\t\telse\n\t\t\t\t\treturn 0;\n\t\t\t}\n\t\t});\n\t}", "title": "" }, { "docid": "9b641987dad1ff8195f850b4322a21c5", "score": "0.5545429", "text": "public void descendingInsertionSort()\n\t{\n\t\t//System.out.println (list);\n\t\tfor(int i = 1; i < list.size(); i++)\n\t\t{\n\t\t\tString key = list.get(i);\n\t\t\tint position = i;\n\t\t\twhile(position > 0 && list.get(position-1).compareTo(key) < 0)\n\t\t\t{\n\t\t\t\tAlgorithms.switches.add(new Point(position, position-1));\n\t\t\t\tlist.set(position, list.get(position-1));\n\t\t\t\tposition--;\n\t\t\t}\n\t\t\tlist.set(position, key);\t\t\t\t\n\t\t}\n\t\t//System.out.println (list);\n\t}", "title": "" }, { "docid": "327dd6387f892d4e67c68b1be17ba312", "score": "0.554478", "text": "G4allSort() {\n list = new LinkedList();\n alignment_result = new G4all();\n input = new G4allReader();\n output = new G4allWriter();\n }", "title": "" }, { "docid": "0aa52f6f74527fbcd937148c8421c0ff", "score": "0.553658", "text": "void sort();", "title": "" }, { "docid": "0aa52f6f74527fbcd937148c8421c0ff", "score": "0.553658", "text": "void sort();", "title": "" }, { "docid": "ee57182f4c335c2222401de7c1b7144c", "score": "0.5535841", "text": "public void sortingChanged();", "title": "" }, { "docid": "6bdc9b41a598dbe72ee939798f893305", "score": "0.55255276", "text": "public void sort() {\n\t\tif (left > right) {\n\t\t\tfloat temp = left;\n\t\t\tleft = right;\n\t\t\tright = temp;\n\t\t}\n\t\tif (top > bottom) {\n\t\t\tfloat temp = top;\n\t\t\ttop = bottom;\n\t\t\tbottom = temp;\n\t\t}\n\t}", "title": "" }, { "docid": "47c5681d6a4d623f8cf5e390d1c55274", "score": "0.5511994", "text": "public void sort() {\n\t\tfor (int auctionNo = 0; auctionNo < Constants.AUCTION_MAX; auctionNo++) {\n\t\t\tfor (int i = 0; i < m_price[auctionNo].length; i++) {\n\t\t\t\tm_price[auctionNo][i] *= -1;\n\t\t\t}\n\t\t\tArrays.sort(m_price[auctionNo]);\n\t\t\tfor (int i = 0; i < m_price[auctionNo].length; i++) {\n\t\t\t\tm_price[auctionNo][i] *= -1;\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "fcfbebfea726f20b3917816fc18e1f91", "score": "0.5510708", "text": "public void ascendingSelectionSort()\n\t{\n\t\tint smallest;\n\t\tfor(int p = 0; p < list.size()-1; p++)\n\t\t{\n\t\t\tsmallest = p;\n\t\t\tfor(int i = p+1; i < list.size(); i++)\n\t\t\t{\n\t\t\t\tif(list.get(i) < list.get(smallest))\n\t\t\t\t{\n\t\t\t\t\tsmallest = i;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(list.get(smallest) != list.get(p))\n\t\t\t{\n\t\t\t\tAlgorithms.switches.add(new Point(smallest, p));\n\t\t\t\tint temp = list.get(smallest);\n\t\t\t\tlist.set(smallest, list.get(p));\n\t\t\t\tlist.set(p, temp);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "d84ee9f254fd15f4efa551d0f341af44", "score": "0.5496623", "text": "private void rebalance() {\n int childIndex = size - 1;\n int parentIndex = getParentIndex(childIndex);\n while (data[childIndex] > data[parentIndex]) {\n swap(childIndex, parentIndex);\n childIndex = parentIndex;\n parentIndex = getParentIndex(childIndex);\n }\n }", "title": "" }, { "docid": "3c250b17644dc658e492e62c2ed6ede3", "score": "0.54883873", "text": "@Override\n\tpublic void sortTree() {\n\t}", "title": "" }, { "docid": "5d794a3351ba892f2a8af402e39d5f56", "score": "0.54792553", "text": "public void sort(){\r\n\t\tfor(int i = 1; i < contactsIndex; i++){\r\n\t\t\tboolean done = false;\r\n\t\t\tfor(int j = i; j > 0 && !done; j--){\r\n\t\t\t\tif(contacts[j].alphabetize(contacts[j - 1], 0) == false){\r\n\t\t\t\t\tContact temp = contacts[j];\r\n\t\t\t\t\tcontacts[j] = contacts[j - 1];\r\n\t\t\t\t\tcontacts[j - 1] = temp;\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t\tdone = true;\r\n\t\t\t}\r\n\t\t}\r\n\t\trepaint();\r\n\t}", "title": "" }, { "docid": "93b38b0e0c609e0da846d8ca8d69f525", "score": "0.54767156", "text": "void sortBubbles() {\n float last = 0;\n ArrayList temp = new ArrayList();\n for (int i=0; i<N; i++) {\n int index = 0;\n float lowest = 100;\n for (int j=0; j<N; j++) {\n ZObject current = (ZObject)objects.get(j);\n if (current.z < lowest && current.z > last) {\n index = j;\n lowest = current.z;\n }\n }\n temp.add(objects.get(index));\n last = ((ZObject)objects.get(index)).z;\n }\n objects = temp;\n }", "title": "" }, { "docid": "9c6eccb6ee8365d7307a967f55501a9d", "score": "0.5475218", "text": "public void MinSupSorter(){\t\n\tCollections.sort(this.totalItems, new Item());\t\n\t}", "title": "" }, { "docid": "660583af6840deb8e3064186124d4dc6", "score": "0.5472359", "text": "protected void sortEntities()\n {\n log.info(\"sortEntities() called\");\n\n // Correct double check locking per Joshua Bloch.\n // http://java.sun.com/developer/technicalArticles/Interviews/bloch_effective_08_qa.html\n\n boolean localInitialized = initialized;\n\n if (localInitialized == false)\n {\n synchronized (this)\n {\n localInitialized = initialized;\n\n if (localInitialized == false)\n {\n reallySortEntities();\n initialized = true;\n }\n }\n }\n }", "title": "" }, { "docid": "92c467dd9c9924bd26aa6fc6d77c6c2d", "score": "0.5466713", "text": "public void bi_sort()\n{\nint low=0;\nint high=n-1;\nint flag=1;\nwhile(low<high)\n{\nfor(j=low;j<high-1;j++)\n{\nif(a[j]>a[j+1])\n{swap(j,j+1); flag=0;}\n}\nfor(j=high;j>low;j--)\n{\nif(a[j]<a[j-1])\n{swap(j,j-1); flag=0;}\n}\nhigh--;\nlow++;\nif (flag!=0)\nbreak;\n}\n\n}", "title": "" }, { "docid": "ace279f4c8ac46463b620fd1e90a66c2", "score": "0.5464332", "text": "private MergeSort() {}", "title": "" }, { "docid": "8bfb6cf1b8be194e01d10ed4583b5265", "score": "0.5454293", "text": "public void ascendingSelectionSort()\n\t{\n\t\tfor(Node n : nodes)\n\t\t\tn.reset();\n\t\tif(intalgs == null && doublealgs == null)\n\t\t\tstringalgs.ascendingSelectionSort();\n\t\telse if(intalgs == null)\n\t\t\tdoublealgs.ascendingSelectionSort();\n\t\telse\n\t\t\tintalgs.ascendingSelectionSort();\n\t}", "title": "" }, { "docid": "2da98b809fbdd4c1e6e9895b00cf507e", "score": "0.54491866", "text": "public void ascendingSelectionSort()\n\t{\n\t\tint smallest;\n\t\tfor(int p = 0; p < list.size()-1; p++)\n\t\t{\n\t\t\tsmallest = p;\n\t\t\tfor(int i = p+1; i < list.size(); i++)\n\t\t\t{\n\t\t\t\tif(list.get(i) < list.get(smallest))\n\t\t\t\t{\n\t\t\t\t\tsmallest = i;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(list.get(smallest) != list.get(p))\n\t\t\t{\n\t\t\t\tAlgorithms.switches.add(new Point(smallest, p));\n\t\t\t\tdouble temp = list.get(smallest);\n\t\t\t\tlist.set(smallest, list.get(p));\n\t\t\t\tlist.set(p, temp);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "acd2c4a6d56a7d8f8333958ad66e56dc", "score": "0.5442632", "text": "public void sort(){\n\t\t int j;\n\t boolean flag = true; // set flag to true to begin first pass\n\t Event temp; //holding variable\n\n\t while ( flag )\n\t {\n\t flag= false; //set flag to false awaiting a possible swap\n\t for( j=0; j < eventSequence.size() -1; j++ )\n\t {\n\t if ( eventSequence.elementAt(j).getTime() > eventSequence.elementAt(j+1).getTime() ) // change to > for ascending sort\n\t {\n\t temp = eventSequence.elementAt(j); //swap elements\n\t eventSequence.set(j, eventSequence.elementAt(j+1));\n\t eventSequence.set(j+1, temp);\n\t flag = true; //shows a swap occurred \n\t } \n\t } \n\t } \n\t}", "title": "" }, { "docid": "d09c00a1b716f0145d5085b487121ec2", "score": "0.5429982", "text": "public void sortAdjList() {\n Vertex key; \n int i, j;\n boolean result;\n JoosIO io;\n\n io = new JoosIO();\n j = 1;\n while (j < numMoves){\n\t key = (Vertex)adjList.elementAt(j);\n i = j - 1;\n result = this.betterVertex((Vertex)adjList.elementAt(i), key);\n while (i >= 0 && result) {\n\t\t adjList.setElementAt(adjList.elementAt(i), i + 1);\n\t\t i = i - 1;\n }\n\t j = j + 1;\n\t adjList.setElementAt(key, i + 1);\n }\n\t}", "title": "" }, { "docid": "a59447becac4e873b1d8ce7592af0cf0", "score": "0.54290396", "text": "public void sortBest() {\n NeuralNet temp;\n int best = 0;\n for (int c = 0; c < generationSize / 4; c++) { \n best = c;\n for (int i = c; i < individuals.length; i++) {\n if(individuals[i] == null) continue;\n if(individuals[i].getFitness() > individuals[best].getFitness()) {\n best = i;\n }\n }\n temp = individuals[c];\n individuals[c] = individuals[best];\n individuals[best] = temp;\n }\n }", "title": "" }, { "docid": "93a711fc3e33727212fca1542aafe109", "score": "0.5423125", "text": "public void descendingSelectionSort()\n\t{\n\t\tint largest;\n\t\tfor(int p = 0; p < list.size()-1; p++)\n\t\t{\n\t\t\tlargest = p;\n\t\t\tfor(int i = p+1; i < list.size(); i++)\n\t\t\t{\n\t\t\t\tif(list.get(i) > list.get(largest))\n\t\t\t\t{\n\t\t\t\t\tlargest = i;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(list.get(largest) != list.get(p))\n\t\t\t{\n\t\t\t\tAlgorithms.switches.add(new Point(largest, p));\n\t\t\t\tint temp = list.get(largest);\n\t\t\t\tlist.set(largest, list.get(p));\n\t\t\t\tlist.set(p, temp);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "d6f790eb318913ebe69abcd9ad231f06", "score": "0.5423011", "text": "public void ascendingInsertionSort()\n\t{\n\t//\tSystem.out.println (list);\n\t\tfor(int i = 1; i < list.size(); i++)\n\t\t{\n\t\t\tdouble key = list.get(i);\n\t\t\tint position = i;\n\t\t\twhile(position > 0 && list.get(position-1) > key)\n\t\t\t{\n\t\t\t\tAlgorithms.switches.add(new Point(position, position-1));\n\t\t\t\tlist.set(position, list.get(position-1));\n\t\t\t\tposition--;\n\t\t\t}\n\t\t\tlist.set(position, key);\t\t\t\t\n\t\t}\n\t//\tSystem.out.println (list);\n\t}", "title": "" }, { "docid": "9ddf2ec75222a41518d48c118ab763fb", "score": "0.541934", "text": "protected final void sortLevel( Vector nodes ) {\n\tint len = nodes.size();\n for( int P = 1; P < len; ++P ) {\n Node tmp = (Node) nodes.elementAt( P );\n\t\tdouble barycent = tmp.barycenter();\n int j;\n for( j = P; j > 0; --j ) {\n Node tmp2 = (Node) nodes.elementAt( j-1 );\n if( barycent >= tmp2.barycenter() ) break;\n nodes.setElementAt( tmp2, j );\n\t\t}\n\t\tnodes.setElementAt( tmp, j );\n\t}\n}", "title": "" }, { "docid": "0e362426cfbc2f9d5e8a4626e3abdb5b", "score": "0.541902", "text": "public static int[] getOrdering(int[] height, int[] bloom, int[] wilt) {\n\t\tint len = height.length;\n\t\tint[] order = new int[len];\n\t\tboolean[] usedFlag = new boolean[len];\n\t\tint[][] blocking = new int[len][len];\n\t\t\n\t\t// Construct the table that represents who blocks who\n\t\tfor (int i = 0; i < height.length; i++) {\n\t\t\tfor (int j = 0; j < height.length; j++) {\n\t\t\t\tif (j !=i ) {\n\t\t\t\t\tblocking[i][j] = isBlocking(\n\t\t\t\t\t\t\tnew int[]{height[i], bloom[i], wilt[i]}, \n\t\t\t\t\t\t\tnew int[]{height[j], bloom[j], wilt[j]});\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < height.length; i++) {\n\t\t\tlogger.debug(Arrays.toString(blocking[i]));\n\t\t}\n\t\t\n\t\t// iterate over the length of the result\n\t\tfor (int k = 0; k < order.length; k++) {\n\t\t\tint maxHeight = -1;\n\t\t\tint maxIndex = 0;\n\t\t\t\n\t\t\t// check if the tree is blocking the rest\n\t\t\tfor (int i = 0; i < len; i++) {\n\t\t\t\t\n\t\t\t\tif (!usedFlag[i])\n\t\t\t\t{\n\t\t\t\t\tboolean blockFlag = false;\n\t\t\t\t\t\n\t\t\t\t\t// this loop can be avoided IF we maintain an array \n\t\t\t\t\t// containing sum of rows of blocking[i][j]\n\t\t\t\t\tfor (int j = 0; j < len; j++) {\n\t\t\t\t\t\t// skipped if tree j has been used\n\t\t\t\t\t\tif ( blocking[i][j] != 0 ) {\n\t\t\t\t\t\t\t// tree i blocking some tree j\n\t\t\t\t\t\t\tblockFlag = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t// if the current tree is NOT blocking any tree\n\t\t\t\t\tif (!blockFlag && height[i] > maxHeight) {\n\t\t\t\t\t\tmaxHeight = height[i];\n\t\t\t\t\t\tmaxIndex = i;\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\t\n\t\t\tlogger.debug( Integer.toString(maxIndex) );\n\t\t\t// push into the order\n\t\t\torder[k] = maxHeight;\n\t\t\t// remove the tree type\n\t\t\tusedFlag[maxIndex] = true;\n\t\t\t// the rest of the trees should not block this tree\n\t\t\tfor (int i = 0; i < len; i++) {\n\t\t\t\tblocking[i][maxIndex] = 0;\n\t\t\t}\n\t\t\t\n\t\t\tfor (int i = 0; i < height.length; i++) {\n\t\t\t\tlogger.debug(Arrays.toString(blocking[i]));\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\treturn order;\n\t}", "title": "" }, { "docid": "a22de41a73b9ceb77fdf8bb888a8430f", "score": "0.5418379", "text": "private static void insert(int[] sortting) {\n\t\t\r\n\t}", "title": "" }, { "docid": "9936d2d03e78e2f01a73257c0217f980", "score": "0.54118425", "text": "@Override\n protected void sortImpl(int[] a) {\n for (int i = 0; i < a.length; i++) {\n int j = i;\n while ((j > 0) && isLess(a[j], a[j - 1])) {\n swap(a, j, j - 1);\n j--;\n }\n }\n }", "title": "" }, { "docid": "e757b1e3f49483818b10ca40ff5fec5c", "score": "0.541108", "text": "public void descendingInsertionSort()\n\t{\n\t\tfor(Node n : nodes)\n\t\t\tn.reset();\n\t\tif(intalgs == null && doublealgs == null)\n\t\t\tstringalgs.descendingInsertionSort();\n\t\telse if(intalgs == null)\n\t\t\tdoublealgs.descendingInsertionSort();\n\t\telse\n\t\t\tintalgs.descendingInsertionSort();\n\t}", "title": "" }, { "docid": "5d87e1a51c7404b75fe079fba8f3149f", "score": "0.54077715", "text": "public void sort() {\n\t\tSystem.out.println(\"bubble sort\");\n\t}", "title": "" }, { "docid": "c3dde5756d61ecbc71cb5f405fe5814e", "score": "0.53960955", "text": "protected void compactAndSortInvertedLists() {\n InvListBasedStorage ilStorage = (InvListBasedStorage)getStorage();\n ilStorage.compactAndSortInvertedLists();\n }", "title": "" }, { "docid": "95c77457fcd054c13caae9b08f975446", "score": "0.53919226", "text": "public void sortPossibleBids() {\n\t\tif (TEST_EQUIVALENCE) {\n\t\t\tCollections.sort(possibleBids, new BidDetailsStrictSorterUtility());\n\t\t} else {\n\t\t\tCollections.sort(possibleBids);\n\t\t}\n\t}", "title": "" }, { "docid": "62328217c3d534f61bcbd7eccd230a98", "score": "0.53912616", "text": "private void sortAttackChance1() {\n\t\t// ToDo: Sort the list using Collections.sort(list, Comparator<T>)\n\t\t// Create a class that implements comparator and overrides\n\t\t// method compare(<T>,<T>);\n\t\tCollections.sort(records,new AttackChance1Comparator());\n\t\t//throw new UnsupportedOperationException(\"not implemented yet (DID YOU FORGET SOMETHING??\"); // remove\n\t}", "title": "" }, { "docid": "b6b7656bd9f710acc63f9e94c0078aa9", "score": "0.53865457", "text": "private void binaryInsertionSort(int[] data, int first, int last)\n \t{\n \t\tfirstTime = System.currentTimeMillis();\n \t\t//Goes through data array\n\t \tfor(int i = first+1; i <= last; i++)\n\t \t{\n\t \t\t//target gets index of where to stick element\n\t\t \tint target = binarySearch(data, data[i], first, i-1);\n\t\t \tif (target != i)\n\t\t \t{\n\t\t\t\tint temp = data[i];\n\t\t\t\tfor(int j = i; j > target; j--)\n\t\t\t\t{\n\t\t\t\t\t//Swap elemetns\n\t\t\t \t\tdata[j] = data[j-1];\n\n\t\t\t \t\t//Painting\n\t\t\t \t\tdoPaint = PaintType.SINGLE;\n\t\t\t\t \tindex = j;\n\t\t\t\t \tpicture.paint(picture.getGraphics());\n\t\t\t \t}\n\t\t\t\tdata[target] = temp;\n\t\t \t}\n\t\t }\n\t\tfinalTime = System.currentTimeMillis();\n\t\telapsedTime = finalTime-firstTime;\n\t\tinsertionSortTime = elapsedTime;\n\t\tprintTime();\n }", "title": "" }, { "docid": "17c575f5b4bf0e6b6847a4608bce7b2f", "score": "0.5380393", "text": "public void mergeSort()\n {\n }", "title": "" }, { "docid": "260a3398c2e6db4f1d01ed10695cbcc4", "score": "0.5378927", "text": "private void sort() {\n if (gridView.getItems() instanceof SortedList) {\n ((SortedList) gridView.getItems()).setComparator(new DirListItemComparator(callback.orderByProperty().get(), callback.orderDirectionProperty().get()));\n selectCurrent();\n }\n }", "title": "" }, { "docid": "7b2aa15216fdf78e702f7d50b708921f", "score": "0.53770447", "text": "void bxsrt(){\n for( int j=0; j<fleet.length; j++) {\n for (int i=0; i<fleet.length-1; i++){\n if(bdatas[i].x > bdatas[i+1].x){\n bswap(i, i+1);\n }\n }\n }\n}", "title": "" }, { "docid": "db3195657b49884ba8b09505b1b8067b", "score": "0.53696686", "text": "public void ascendingSelectionSort()\n\t{\n\t\tint smallest;\n\t\tfor(int p = 0; p < list.size()-1; p++)\n\t\t{\n\t\t\tsmallest = p;\n\t\t\tfor(int i = p+1; i < list.size(); i++)\n\t\t\t{\n\t\t\t\tif(list.get(i).compareTo(list.get(smallest)) < 0)\n\t\t\t\t{\n\t\t\t\t\tsmallest = i;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(list.get(smallest) != list.get(p))\n\t\t\t{\n\t\t\t\tAlgorithms.switches.add(new Point(smallest, p));\n\t\t\t\tString temp = list.get(smallest);\n\t\t\t\tlist.set(smallest, list.get(p));\n\t\t\t\tlist.set(p, temp);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "b8870d740bdc30ba9039a71a201319ec", "score": "0.53654546", "text": "private void doPrepare() {\n StopWatch watch = new StopWatch().start();\n\n LOGGER.debug(\"Sorting long long multimap...\");\n long[] sortedKeys = keys.toArray();\n\n // this happens in a worker thread, but it's OK to use parallel sort because\n // all other threads will block while we prepare the multimap.\n Arrays.parallelSort(sortedKeys);\n\n // after sorting keys, sort values by iterating through each unordered key/value pair and\n // using binary search to find where to insert the result in sorted values.\n long[] sortedValues = new long[sortedKeys.length];\n int from = 0;\n while (from < keys.size()) {\n long key = keys.get(from);\n int to = Arrays.binarySearch(sortedKeys, key);\n if (to < 0) {\n throw new IllegalStateException(\"Key not found: \" + key);\n }\n // skip back to the first entry for this key\n while (to >= 0 && sortedKeys[to] == key) {\n to--;\n }\n // skip ahead past values we've already added for this key\n do {\n to++;\n } while (sortedValues[to] != 0);\n while (from < keys.size() && keys.get(from) == key) {\n sortedValues[to++] = values.get(from++);\n }\n }\n keys.buffer = sortedKeys;\n values.buffer = sortedValues;\n LOGGER.debug(\"Sorted long long multimap \" + watch.stop());\n }", "title": "" }, { "docid": "765c9dff58d361cb3cee002d9351cc2c", "score": "0.5350139", "text": "public void selectSort() {\n int inner;\n for (int outer = 0; outer < arr.length; outer++) {\n int temp = arr[outer];\n inner = outer;\n while (inner > 0 && arr[inner - 1] >= temp) {\n arr[inner] = arr[inner - 1];\n --inner;\n }\n arr[inner] = temp;\n }\n }", "title": "" }, { "docid": "4b5be073b6a4ea94784bdd81f88ea73c", "score": "0.5347071", "text": "public void ascendingInsertionSort()\n\t{\n\t//\tSystem.out.println (list);\n\t\tfor(int i = 1; i < list.size(); i++)\n\t\t{\n\t\t\tString key = list.get(i);\n\t\t\tint position = i;\n\t\t\twhile(position > 0 && list.get(position-1).compareTo(key) > 0)\n\t\t\t{\n\t\t\t\tAlgorithms.switches.add(new Point(position, position-1));\n\t\t\t\tlist.set(position, list.get(position-1));\n\t\t\t\tposition--;\n\t\t\t}\n\t\t\tlist.set(position, key);\t\t\t\t\n\t\t}\n\t//\tSystem.out.println (list);\n\t}", "title": "" }, { "docid": "f515a5581370f037c36f668c234af41b", "score": "0.53412724", "text": "public void resetSortOrder()\n/* */ {\n/* 1901 */ if (!hasSortController()) return;\n/* 1902 */ getSortController().resetSortOrders();\n/* */ \n/* 1904 */ if (getTableHeader() != null) {\n/* 1905 */ getTableHeader().repaint();\n/* */ }\n/* */ }", "title": "" }, { "docid": "981a7dd313eb9a9e5c67121c33c6ce89", "score": "0.5340493", "text": "private static final void sortByMorton(Node start) {\n start.previousZ.nextZ = null;\n start.previousZ = null;\n // Sort the generated ring using Z ordering.\n tathamSort(start);\n }", "title": "" }, { "docid": "917b1d8a874f0702957e9e65d9ce0e3f", "score": "0.53305763", "text": "@Test\n public void testSort() {\n Mergesort mergesort = new MergesortRolez(0, 0L);\n Random random = new Random();\n \n int n = 1000;\n GuardedArray<int[]> ints = mergesort.shuffledInts(n, random, 0L);\n mergesort.sort(ints, currentTask().idBits());\n for(int i = 0; i < n; i++)\n assertEquals(i, ints.data[i]);\n }", "title": "" }, { "docid": "6db686566424ca4a68d724e796478e73", "score": "0.5329423", "text": "public void insertSort()\n {\n }", "title": "" }, { "docid": "ef720acb33c2b33ef8f2131002bdcc50", "score": "0.53248394", "text": "void partialSort(int[] src, int[] dest, int group) {\n int freq[] = new int[256]; //2^8 = 256, each 8-bit is in [0,255]\n int accuFreq[] = new int[256];\n \n int sig;\n int len = src.length;\n for (int i = 0; i < len; i++) {\n sig = (src[i] >> (group * 8)) & 255;\n freq[sig]++;\n }\n \n //calculate accumulated frequency, this is the key to count sort\n accuFreq[0] = freq[0];\n for (int j = 1; j < 256; j++)\n accuFreq[j] = accuFreq[j-1] + freq[j]; //warning: error-prone\n \n //use accumulated frequency for count sort\n for (int i = len-1; i >= 0; i--) {\n sig = (src[i] >> (group * 8)) & 255;\n dest[accuFreq[sig]-1] = src[i];\n accuFreq[sig]--;\n }\n }", "title": "" }, { "docid": "82ec588f5942e698ad2b55577facb45f", "score": "0.5324693", "text": "public void descendingSelectionSort()\n\t{\n\t\tint largest;\n\t\tfor(int p = 0; p < list.size()-1; p++)\n\t\t{\n\t\t\tlargest = p;\n\t\t\tfor(int i = p+1; i < list.size(); i++)\n\t\t\t{\n\t\t\t\tif(list.get(i) > list.get(largest))\n\t\t\t\t{\n\t\t\t\t\tlargest = i;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(list.get(largest) != list.get(p))\n\t\t\t{\n\t\t\t\tAlgorithms.switches.add(new Point(largest, p));\n\t\t\t\tdouble temp = list.get(largest);\n\t\t\t\tlist.set(largest, list.get(p));\n\t\t\t\tlist.set(p, temp);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "344547b03be68fba0e5a895d2c70a94f", "score": "0.53172916", "text": "public void ascendingInsertionSort()\n\t{\n\t\tfor(Node n : nodes)\n\t\t\tn.reset();\n\t\tif(intalgs == null && doublealgs == null)\n\t\t\tstringalgs.ascendingInsertionSort();\n\t\telse if(intalgs == null)\n\t\t\tdoublealgs.ascendingInsertionSort();\n\t\telse\n\t\t\tintalgs.ascendingInsertionSort();\n\t}", "title": "" }, { "docid": "63c863fa267ed7db8fc5c50737924820", "score": "0.5316896", "text": "public void sort (int[] elts) {\r\n\t\tint NUMTHREADS = Runtime.getRuntime().availableProcessors();\r\n\t\texec = Executors.newFixedThreadPool(NUMTHREADS);\r\n\t\tparallelQuickSortSegment (elts, 0, elts.length);\r\n\t\texec.shutdown();\r\n\t\ttry {\r\n\t\t\texec.awaitTermination(Long.MAX_VALUE, TimeUnit.SECONDS);\r\n\t\t} catch (InterruptedException e) { }\r\n\t}", "title": "" }, { "docid": "42c84f4db04eac9c7d7bbf99124ac146", "score": "0.5315593", "text": "private void sort () {\n Arrays.sort(networks, new Comparator<Network>() {\n public int compare(Network n1, Network n2) {\n return Float.compare(n2.getFitness(), n1.getFitness());\n }\n });\n }", "title": "" }, { "docid": "158b5049ea968662c38afb0a97e49bc3", "score": "0.5310261", "text": "@Override\n\tpublic void sort(int order) {\n\t\t// TODO\n\t}", "title": "" }, { "docid": "b7b6b05c4c165d56b83540e1763fa44e", "score": "0.53093845", "text": "public void sort() {\n\t\tPVComparator cmp = new PVComparator();\n\t\tCollections.sort(lt, cmp);\n\t}", "title": "" }, { "docid": "5fc347b58c62662a6bff15292c7ff228", "score": "0.5306427", "text": "protected void insertionSort() {\n boolean dataChanged = false;\n if(index<2) {\n return;\n // need at least two points to sort.\n }\n for(int i = 1; i<index; i++) {\n if(xpoints[i]<xpoints[i-1]) {\n // is the i-th datum smaller?\n dataChanged = true;\n moveDatum(i);\n }\n }\n if(dataChanged) {\n recalculatePath();\n }\n }", "title": "" }, { "docid": "89fafd6bf815373badcb18e547235684", "score": "0.52977777", "text": "public void selectionSort() {\n //System.out.println(\"-------\");\n for (int i = 0; i < size - 1; i++) {\n int min = i;\n for (int j = i + 1; j < size; j++) {\n //System.out.println(\"[[[[[[\");\n if (less(teams, j, min)) {\n min = j;\n } \n }\n exch(teams, i, min);\n //System.out.println(teams[i]);\n }\n }", "title": "" }, { "docid": "6b7bab01cdc2db3bcb5f4d2c3e1bdaf7", "score": "0.52975506", "text": "public void sort (int[] elts) {\r\n\t\tint NUMCPUS = Runtime.getRuntime().availableProcessors();\r\n\t\tint size = elts.length;\r\n\t\tTHRESHOLD = 100000;//size / NUMCPUS / 10; // Size for switching to sequential computation\r\n\t\texec = Executors.newCachedThreadPool();\r\n\t\tFuture<Void> result = exec.submit(new PMSTask (elts));\r\n\t\ttry {\r\n\t\t\tresult.get(); // Wait for result\r\n\t\t}\r\n\t\tcatch (InterruptedException e) {}\r\n\t\tcatch (ExecutionException e) {}\r\n\t\tfinally {\r\n\t\t\texec.shutdown();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "95d1050ea6b4e4e5b42938d7eb0d8df9", "score": "0.529753", "text": "@Override\r\n public void sort() {\r\n int n = this.input.length;\r\n int k;\r\n for (int m = n; m >= 0; m--) {\r\n for (int i = 0; i < n - 1; i++) {\r\n k = i + 1;\r\n if (this.input[i] > this.input[k]) {\r\n this.swapNumbers(i, k);\r\n }\r\n }\r\n }\r\n }", "title": "" }, { "docid": "1cf7abb5ec61f96be06e65579324b590", "score": "0.5297064", "text": "public static void sortVerticesBench() throws IOException {\n out = new BufferedWriter(new FileWriter(file, true));\n out.newLine();\n out.write(\"-> Opération sortVertices:\");\n out.newLine();\n out.close();\n\n testSortVertices(1000);\n testSortVertices(10000);\n testSortVertices(20000);\n testSortVertices(50000);\n testSortVertices(100000);\n testSortVertices(1000000);\n testSortVertices(10000000);\n }", "title": "" } ]
aef24a16bc45a5fca067f3b40171b4bf
Returns the number of edges (directional graph). this method run in O(1) time
[ { "docid": "04e07992497d9c9dd0c16334ebdd3d20", "score": "0.7401851", "text": "@Override\n\tpublic int edgeSize() {\n\t\treturn numOfEdges;\n\t}", "title": "" } ]
[ { "docid": "9fb714ed6eed3feb1e31b04decf542ff", "score": "0.83161175", "text": "int getEdgeCount();", "title": "" }, { "docid": "401545ee355f8b613854d673614a8fb6", "score": "0.83057535", "text": "public int getEdgeCount(){\r\n HashSet<FlowGraphNode> visited = new HashSet<>();\r\n LinkedList<FlowGraphNode> queue = new LinkedList<>();\r\n queue.add(start);\r\n visited.add(start);\r\n int counter = 0;\r\n while(!queue.isEmpty()){\r\n FlowGraphNode node = queue.pop();\r\n counter += node.outDeg();\r\n for(FlowGraphNode child : node.to){\r\n if(visited.add(child)){\r\n queue.add(child);\r\n }\r\n }\r\n }\r\n return counter;\r\n }", "title": "" }, { "docid": "5f3c3e9a305ec628750ac54ec2fe8b63", "score": "0.8256408", "text": "int getNumberOfEdges();", "title": "" }, { "docid": "2d79ec5425a125d63e9628405142f4de", "score": "0.81751347", "text": "public int numEdges();", "title": "" }, { "docid": "ffbd2660e89e1c16d6783dafd11d145a", "score": "0.8069705", "text": "public int getNumberOfEdges();", "title": "" }, { "docid": "450309b8f86a3cc5eccba698b5bdfb09", "score": "0.8021798", "text": "@Override\n public int edgeCount() {\n int count = 0;\n\n for(MyNode n : graphNodes.values()){\n count += n.inDegree();\n }\n\n return count;\n }", "title": "" }, { "docid": "aab70464767730ce5c7540e97c8cf0a6", "score": "0.80070466", "text": "public int getNumEdges();", "title": "" }, { "docid": "9803905907527fd29b2e6499eeec4c11", "score": "0.7885169", "text": "public int numEdges()\r\n {\r\n\tint s = 0;\r\n\tfor (final EdgeTypeHolder eth : ethMap.values())\r\n\t s += eth.numEdges();\r\n\treturn s;\r\n }", "title": "" }, { "docid": "968308978aa172d71bf5e6bf7b4116a2", "score": "0.7851156", "text": "public int edgeCount() {\n\treturn edgeList.size();\n }", "title": "" }, { "docid": "7e5d353414edbefaac133727f205fee8", "score": "0.782564", "text": "public int getEdgeCount() {\n return edge_.size();\n }", "title": "" }, { "docid": "b3d11cca3551bc950e3d2da3edad4e6d", "score": "0.78200173", "text": "public int getNumEdges() {\n\t\treturn edges.size();\n\t}", "title": "" }, { "docid": "5079640ec235365be0c5b85e0bc52fd1", "score": "0.7812434", "text": "private int numEdges()\r\n\t{\r\n\t return eSet.size();\r\n\t}", "title": "" }, { "docid": "dcbcf624d8d937520f58c92c7d12d898", "score": "0.77860594", "text": "public int numEdges() {\n int tot = 0;\n\n ListIterator<EdgeList> curEdge = edgeListVector.listIterator();\n while (curEdge.hasNext()) {\n tot += curEdge.next().size();\n }\n\n return tot;\n }", "title": "" }, { "docid": "9bb70f790e92c1d9ac058a0b50035e84", "score": "0.77581984", "text": "public long getEdgeCount() { return edgeCount; }", "title": "" }, { "docid": "d620d4510680561965fe2438371c38f5", "score": "0.7683596", "text": "public int getNumEdges()\n\t{\n\t\t//TODO: Implement this method in WEEK 3\n\t\treturn numEdges;\n\t}", "title": "" }, { "docid": "e6fafad7cbeb276748616a3d5daf9866", "score": "0.7654444", "text": "public int numEdges() {\r\n\t\treturn edges;\r\n\t}", "title": "" }, { "docid": "73fe869cf5915cf11f3edd571f558afd", "score": "0.76260614", "text": "int numEdges() {\n\t\treturn num_edges;\n\t}", "title": "" }, { "docid": "6c21fad3e54ade459f19504333537490", "score": "0.7616123", "text": "public int getEdgeCount() {\n if (edgeBuilder_ == null) {\n return edge_.size();\n } else {\n return edgeBuilder_.getCount();\n }\n }", "title": "" }, { "docid": "3475784191fd4b549313a7d6eae973b5", "score": "0.75757974", "text": "@Override\n\tpublic long numEdges() {\n\t\treturn numEdges;\n\t}", "title": "" }, { "docid": "0d36cee4a882f351caa8f821382868b8", "score": "0.75369906", "text": "public int size()\n {\n return numEdges;\n }", "title": "" }, { "docid": "12269a2063458ce564302ba50fea8083", "score": "0.75091046", "text": "public int getNumEdges() {\n return num_edges;\n }", "title": "" }, { "docid": "c047aecd02ca22c9d3e771e433d722dc", "score": "0.74750245", "text": "@Override\n\tpublic int graphSize() {\n\t\treturn edges.size();\n\t}", "title": "" }, { "docid": "483d74add69e1c5a12715f207bdd334f", "score": "0.74619454", "text": "public int getEdgeCount()\n\t{\n\t\treturn edgeCount;\n\t}", "title": "" }, { "docid": "860b50823f4173c3b36562da283e5505", "score": "0.7453168", "text": "private int size() {\n assert _vertices.size() == _edges.size();\n return _edges.size();\n }", "title": "" }, { "docid": "6d766330cc3bf1c6793d57d2dc93ea86", "score": "0.7439412", "text": "public int getNumEdges() {\n\t\treturn this.actualTotalEdges;\n\t}", "title": "" }, { "docid": "34042ecbf7fb8bab38cd84d89fa89e90", "score": "0.74391097", "text": "public int edgeNum() {\r\n return edges.size();\r\n }", "title": "" }, { "docid": "7241e3d8f232b3439ef2bffc8024a0ab", "score": "0.742691", "text": "public int getNumEdges(){\n return numEdges;\n }", "title": "" }, { "docid": "7da044d31662dcdb8a40e70b02ef0999", "score": "0.7415836", "text": "private static int numEdges(Graph g) {\n\tint sum = 0;\n\t\n\tfor(int i =0;i<g.vertices;i++)\n\t{\n\t LinkedList<Integer> temp = null;\n\t if(g.adjacencyList[i]!=null) {\n\t\ttemp = g.adjacencyList[i];\n\t\tfor(int tmp:temp) {\n\t\t sum++;\n\t\t}\n\t\t\n\t }\n\t}\n\treturn sum/2;\n }", "title": "" }, { "docid": "4a99af08cec3cbcf23a1a6c06e402f04", "score": "0.7394172", "text": "public int getNodeCount(){\r\n HashSet<FlowGraphNode> visited = new HashSet<>();\r\n LinkedList<FlowGraphNode> queue = new LinkedList<>();\r\n queue.add(start);\r\n visited.add(start);\r\n while(!queue.isEmpty()){\r\n FlowGraphNode node = queue.pop();\r\n for(FlowGraphNode child : node.to){\r\n if(visited.add(child)){\r\n queue.add(child);\r\n }\r\n }\r\n }\r\n return visited.size();\r\n }", "title": "" }, { "docid": "ae8ce8ffe9adfa2302f2447f2beb9dee", "score": "0.73880935", "text": "private long nodesLength(Edge[] E) {\n\t\tlong nodesLength = 0;\n\t\tfor (Edge e:E ) {\n\t\t\tif (e.getTo() > nodesLength) nodesLength = e.getTo();\n\t\t\tif (e.getFrom() > nodesLength) nodesLength = e.getFrom();\n\t\t}\n\t\tnodesLength++;\t\n\t\treturn nodesLength;\t\t\n\t}", "title": "" }, { "docid": "cf10025dd58b2b085c03c04ab003ecc7", "score": "0.73367345", "text": "@Override\n public int edgeSize() {\n return this.numOfEdges;\n }", "title": "" }, { "docid": "d0ffc989d12503e09206e5f1f9b22659", "score": "0.7260044", "text": "public int getEdgeCount() \n {\n return 3;\n }", "title": "" }, { "docid": "1a1595af28c3cb022c0f671f4e699a05", "score": "0.719033", "text": "private static int getNumTotalEdges(){\r\n\t\t//return getMutMap().keySet().size();\r\n\t\treturn numCols+1;\r\n\t}", "title": "" }, { "docid": "f022d5d8677cbcc615f670342146272e", "score": "0.7078932", "text": "private int nonDirectionalEdgesNumber() {\n return selectedNonDirectionalEdges.size();\n }", "title": "" }, { "docid": "5025769cc5f6e7dcb64ede182c4ff676", "score": "0.70760155", "text": "public int countNeighbours() {\n\t\tint count = 0;\n\t\tif (this.hasNeighbour(0))\n\t\t\tcount++;\n\t\tif (this.hasNeighbour(1))\n\t\t\tcount++;\n\t\tif (this.hasNeighbour(2))\n\t\t\tcount++;\n\t\treturn count;\n\t}", "title": "" }, { "docid": "9b2d7fde3f70db0b373841941973bbe8", "score": "0.70288837", "text": "public int getEdgeCount(boolean biDirectional) {\n int count=0;\n for(T v: map.keySet()) {\n count += map.get(v).size();\n }\n\n if(biDirectional) count = count/2;\n\n return count;\n }", "title": "" }, { "docid": "e724dda9c19eca1cdae060b21fc62f40", "score": "0.70170164", "text": "public Object getNumberOfConnectedComponents() {\r\n\t\tConnectivityInspector<Country, DefaultEdge> inspector=new ConnectivityInspector<Country, DefaultEdge>(graph);\r\n\t\treturn inspector.connectedSets().size();\r\n\t}", "title": "" }, { "docid": "ef8ac8752284c852bdd756a44970c51e", "score": "0.69561577", "text": "public Integer numUnknownEdges()\n\t{\n\t\tif (total_edges == null) return null;\n\n\t\tint edges = 0;\n\t\tfor (Node n : nodes.values())\n\t\t{\n\t\t\tedges += n.neighbors.size();\n\t\t}\n\t\t// double-counts edges, so divide\n\t\treturn total_edges - edges / 2;\n\t}", "title": "" }, { "docid": "1c54f9db9924ca079b2866ae09061b90", "score": "0.6912735", "text": "public long getEdgesArrayLength() {\n\t\treturn edgesLength;\n\t}", "title": "" }, { "docid": "df585cae50e9693609179af4b5619aa5", "score": "0.6899138", "text": "@Override\r\n\tpublic int getNumberOfSymmetricLinks()\r\n\t{\r\n\t\tCollection<Entity> vertices = directedGraph.getVertices();\r\n\t\tint symLinksSum = 0;\r\n\r\n\t\t// this can be done still more efficiently if i put the nodes in a list\r\n\t\t// and remove from the\r\n\t\t// list current node as well as its children after each loop\r\n\t\t// int progress = 0;\r\n\t\t// int max = vertices.size();\r\n\r\n\t\tfor (Entity source : vertices) {\r\n\t\t\t// ApiUtilities.printProgressInfo(progress, max, 100,\r\n\t\t\t// ApiUtilities.ProgressInfoMode.TEXT, \"Counting symmetric links\");\r\n\t\t\tfor (Entity target : getChildren(source)) {\r\n\t\t\t\t// progress++;\r\n\r\n\t\t\t\tif (isSymmetricLink(source, target)) {\r\n\t\t\t\t\tsymLinksSum++;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn symLinksSum / 2;\r\n\t}", "title": "" }, { "docid": "6be42534ca1fffb1b56dc6c975565b4c", "score": "0.6892506", "text": "int getNumberOfVertexes();", "title": "" }, { "docid": "6128d675718b218d99b18afcb20d83be", "score": "0.6888515", "text": "public int getNumberOfPaths(){ \r\n HashMap<FlowGraphNode, Integer> number = new HashMap<>();\r\n LinkedList<FlowGraphNode> queue = new LinkedList<>();\r\n HashMap<FlowGraphNode, Integer> label = new HashMap<>();\r\n \r\n label.put(start,1);\r\n queue.add(start);\r\n do{\r\n FlowGraphNode node = queue.pop();\r\n for(FlowGraphNode child : node.to){\r\n int count = number.getOrDefault(child, child.inDeg()) -1;\r\n if(count == 0){\r\n queue.add(child);\r\n number.remove(child);\r\n //label\r\n int sum = 0;\r\n for(FlowGraphNode anc : child.from){\r\n sum += label.get(anc);\r\n }\r\n label.put(child,sum);\r\n }else{\r\n number.put(child, count);\r\n }\r\n }\r\n }while(!queue.isEmpty());\r\n \r\n if(!number.isEmpty()){\r\n //there has to be a loop in the graph\r\n return -1;\r\n }\r\n \r\n return label.get(end);\r\n }", "title": "" }, { "docid": "a543af1e64ddd6e8f3ffa5aa7d24888a", "score": "0.68728906", "text": "public int getEdges() {\n return edgesNumber;\n }", "title": "" }, { "docid": "c36d578bacd77e2f1837184540e443ee", "score": "0.6858823", "text": "int getNodesCount();", "title": "" }, { "docid": "c36d578bacd77e2f1837184540e443ee", "score": "0.6858823", "text": "int getNodesCount();", "title": "" }, { "docid": "62ce45a0ded6c7bdc60d11f40918662f", "score": "0.68164015", "text": "@Override\n public int nodeCount() {\n return graphNodes.size();\n }", "title": "" }, { "docid": "053cd4a0ab786329931297f8ffb04258", "score": "0.67741406", "text": "public int getEdgeSixe() {\n\t\treturn graph.edgeSet().size();\r\n\t}", "title": "" }, { "docid": "e38f661e5b7ec6598c6a7894ce6a70f4", "score": "0.6766939", "text": "public int getVertexCount();", "title": "" }, { "docid": "8a8c542b639de033d4737e98d5901a27", "score": "0.6764176", "text": "@Override\n\tpublic int size() {\n\t\tif(top == null) {\n\t\t\treturn 0;\n\t\t}\n\t\tNode<T> tempNode = top;\n\t\tint counter = 1;\n\t\twhile(tempNode.getLink() != null) {\n\t\t\tcounter++;\n\t\t\ttempNode = tempNode.getLink();\n\t\t}\n\t\treturn counter;\n\t}", "title": "" }, { "docid": "6f2eb46d09bcc7d8a1dd8f44e4cba838", "score": "0.6761685", "text": "public int getVertexCount()\n\t{\n\t\tint count = 0;\n\t\tIterator<DSAGraphVertex> itr = vertices.iterator();\n\t\twhile(itr.hasNext())\n\t\t{\n\t\t\tcount++;\n\t\t\titr.next();\n\t\t}\n\t\treturn count;\n\t}", "title": "" }, { "docid": "1d96baf0bc52e68a3fd8322ed4e68da5", "score": "0.6755302", "text": "private int visitedNetworksCount() {\n final HashSet<String> visitedNetworksSet = new HashSet<>(mVisitedNetworks);\n return visitedNetworksSet.size();\n }", "title": "" }, { "docid": "d95cbd091032e42ba1cfb7c67226371b", "score": "0.6750751", "text": "public int getLayerCount(int edge) throws EdgeOutOfRangeException\n {\n if (edge==DataDirector.PAGE_EDGE)\n return 0;\n else\n return 1;\n }", "title": "" }, { "docid": "794db0900d3d8deb96418484d5813df9", "score": "0.67315036", "text": "int nbNode() {\n switch (type) {\n\n case EDGE:\n case PATH:\n case EVAL:\n if (edge.getEdgeVariable() == null) {\n return edge.nbNode();\n } else {\n return edge.nbNode() + 1;\n }\n\n case OPT_BIND:\n return size();\n }\n\n return 0;\n }", "title": "" }, { "docid": "86df710edb88c27e99d6246f2ffd17f4", "score": "0.6692538", "text": "public int countPrimaryEdges() {\n\t\t\tint count = 0;\n\t\t\tArrayNode node = this;\n\t\t\twhile (node.mPrimaryEdge != null) {\n\t\t\t\tnode = node.mPrimaryEdge;\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\treturn count;\n\t\t}", "title": "" }, { "docid": "97708b6900b25e7caa8d51e3feff6099", "score": "0.66876733", "text": "int getNodeCount();", "title": "" }, { "docid": "97708b6900b25e7caa8d51e3feff6099", "score": "0.66876733", "text": "int getNodeCount();", "title": "" }, { "docid": "f8c5590d45f793df70810077d3c99733", "score": "0.6680559", "text": "public int size() {\n\t\tint count = 0;\n\t\tfor (Node<T> current = start; current == null; current = current.next) {\n\t\t\tcount++;\n\t\t}\n\t\treturn count;\n\t}", "title": "" }, { "docid": "1a05aa60f425844dacc28815755d7228", "score": "0.6674187", "text": "public int numEdges(String edgeTypeName)\r\n {\r\n\tfinal EdgeTypeHolder eth = ethMap.get(edgeTypeName);\r\n\treturn (eth == null) ? 0 : eth.numEdges();\r\n }", "title": "" }, { "docid": "ea8060d32e3a5bdd41cf88a2c1664b5d", "score": "0.6619439", "text": "@Override\n public long[ ][ ] count() {\n // precompute common nodes\n for (int x = 0; x < n; x++) {\n for (int n1 = 0; n1 < deg[x]; n1++) {\n int a = adj[x][n1];\n for (int n2 = n1 + 1; n2 < deg[x]; n2++) {\n int b = adj[x][n2];\n Tuple ab = createTuple(a, b);\n common2.put(ab, common2.getOrDefault(ab, 0) + 1);\n for (int n3 = n2 + 1; n3 < deg[x]; n3++) {\n int c = adj[x][n3];\n boolean st = adjacent(adj[a], b) ? (adjacent(adj[a], c) || adjacent(adj[b], c)) :\n (adjacent(adj[a], c) && adjacent(adj[b], c));\n if (!st) continue;\n Tuple abc = createTuple(a, b, c);\n common3.put(abc, common3.getOrDefault(abc, 0) + 1);\n }\n }\n }\n }\n\n // precompute triangles that span over edges\n int[ ] tri = countTriangles();\n\n // count full graphlets\n long[ ] C5 = new long[n];\n int[ ] neigh = new int[n];\n int[ ] neigh2 = new int[n];\n int nn, nn2;\n for (int x = 0; x < n; x++) {\n for (int nx = 0; nx < deg[x]; nx++) {\n int y = adj[x][nx];\n if (y >= x) break;\n nn = 0;\n for (int ny = 0; ny < deg[y]; ny++) {\n int z = adj[y][ny];\n if (z >= y) break;\n if (adjacent(adj[x], z)) {\n neigh[nn++] = z;\n }\n }\n for (int i = 0; i < nn; i++) {\n int z = neigh[i];\n nn2 = 0;\n for (int j = i + 1; j < nn; j++) {\n int zz = neigh[j];\n if (adjacent(adj[z], zz)) {\n neigh2[nn2++] = zz;\n }\n }\n for (int i2 = 0; i2 < nn2; i2++) {\n int zz = neigh2[i2];\n for (int j2 = i2 + 1; j2 < nn2; j2++) {\n int zzz = neigh2[j2];\n if (adjacent(adj[zz], zzz)) {\n C5[x]++;\n C5[y]++;\n C5[z]++;\n C5[zz]++;\n C5[zzz]++;\n }\n }\n }\n }\n }\n }\n\n int[ ] common_x = new int[n];\n int[ ] common_x_list = new int[n];\n int ncx = 0;\n int[ ] common_a = new int[n];\n int[ ] common_a_list = new int[n];\n int nca = 0;\n\n // set up a system of equations relating orbit counts\n for (int x = 0; x < n; x++) {\n for (int i = 0; i < ncx; i++) common_x[common_x_list[i]] = 0;\n ncx = 0;\n\n // smaller graphlets\n orbit[x][0] = deg[x];\n for (int nx1 = 0; nx1 < deg[x]; nx1++) {\n int a = adj[x][nx1];\n for (int nx2 = nx1 + 1; nx2 < deg[x]; nx2++) {\n int b = adj[x][nx2];\n if (adjacent(adj[a], b)) orbit[x][3]++;\n else orbit[x][2]++;\n }\n for (int na = 0; na < deg[a]; na++) {\n int b = adj[a][na];\n if (b != x && !adjacent(adj[x], b)) {\n orbit[x][1]++;\n if (common_x[b] == 0) common_x_list[ncx++] = b;\n common_x[b]++;\n }\n }\n }\n\n long f_71 = 0, f_70 = 0, f_67 = 0, f_66 = 0, f_58 = 0, f_57 = 0; // 14\n long f_69 = 0, f_68 = 0, f_64 = 0, f_61 = 0, f_60 = 0, f_55 = 0, f_48 = 0, f_42 = 0, f_41 = 0; // 13\n long f_65 = 0, f_63 = 0, f_59 = 0, f_54 = 0, f_47 = 0, f_46 = 0, f_40 = 0; // 12\n long f_62 = 0, f_53 = 0, f_51 = 0, f_50 = 0, f_49 = 0, f_38 = 0, f_37 = 0, f_36 = 0; // 8\n long f_44 = 0, f_33 = 0, f_30 = 0, f_26 = 0; // 11\n long f_52 = 0, f_43 = 0, f_32 = 0, f_29 = 0, f_25 = 0; // 10\n long f_56 = 0, f_45 = 0, f_39 = 0, f_31 = 0, f_28 = 0, f_24 = 0; // 9\n long f_35 = 0, f_34 = 0, f_27 = 0, f_18 = 0, f_16 = 0, f_15 = 0; // 4\n long f_17 = 0; // 5\n long f_22 = 0, f_20 = 0, f_19 = 0; // 6\n long f_23 = 0, f_21 = 0; // 7\n\n for (int nx1 = 0; nx1 < deg[x]; nx1++) {\n int a = inc[x][nx1]._1, xa = inc[x][nx1]._2;\n\n for (int i = 0; i < nca; i++) common_a[common_a_list[i]] = 0;\n nca = 0;\n for (int na = 0; na < deg[a]; na++) {\n int b = adj[a][na];\n for (int nb = 0; nb < deg[b]; nb++) {\n int c = adj[b][nb];\n if (c == a || adjacent(adj[a], c)) continue;\n if (common_a[c] == 0) common_a_list[nca++] = c;\n common_a[c]++;\n }\n }\n\n // x = orbit-14 (tetrahedron)\n for (int nx2 = nx1 + 1; nx2 < deg[x]; nx2++) {\n int b = inc[x][nx2]._1, xb = inc[x][nx2]._2;\n if (!adjacent(adj[a], b)) continue;\n for (int nx3 = nx2 + 1; nx3 < deg[x]; nx3++) {\n int c = inc[x][nx3]._1, xc = inc[x][nx3]._2;\n if (!adjacent(adj[a], c) || !adjacent(adj[b], c)) continue;\n orbit[x][14]++;\n f_70 += common3.getOrDefault(createTuple(a, b, c), 0) - 1;\n f_71 += (tri[xa] > 2 && tri[xb] > 2) ? (common3.getOrDefault(createTuple(x, a, b), 0) - 1) : 0;\n f_71 += (tri[xa] > 2 && tri[xc] > 2) ? (common3.getOrDefault(createTuple(x, a, c), 0) - 1) : 0;\n f_71 += (tri[xb] > 2 && tri[xc] > 2) ? (common3.getOrDefault(createTuple(x, b, c), 0) - 1) : 0;\n f_67 += tri[xa] - 2 + tri[xb] - 2 + tri[xc] - 2;\n f_66 += common2.getOrDefault(createTuple(a, b), 0) - 2;\n f_66 += common2.getOrDefault(createTuple(a, c), 0) - 2;\n f_66 += common2.getOrDefault(createTuple(b, c), 0) - 2;\n f_58 += deg[x] - 3;\n f_57 += deg[a] - 3 + deg[b] - 3 + deg[c] - 3;\n }\n }\n\n // x = orbit-13 (diamond)\n for (int nx2 = 0; nx2 < deg[x]; nx2++) {\n int b = inc[x][nx2]._1, xb = inc[x][nx2]._2;\n if (!adjacent(adj[a], b)) continue;\n for (int nx3 = nx2 + 1; nx3 < deg[x]; nx3++) {\n int c = inc[x][nx3]._1, xc = inc[x][nx3]._2;\n if (!adjacent(adj[a], c) || adjacent(adj[b], c)) continue;\n orbit[x][13]++;\n f_69 += (tri[xb] > 1 && tri[xc] > 1) ? (common3.getOrDefault(createTuple(x, b, c), 0) - 1) : 0;\n f_68 += common3.getOrDefault(createTuple(a, b, c), 0) - 1;\n f_64 += common2.getOrDefault(createTuple(b, c), 0) - 2;\n f_61 += tri[xb] - 1 + tri[xc] - 1;\n f_60 += common2.getOrDefault(createTuple(a, b), 0) - 1;\n f_60 += common2.getOrDefault(createTuple(a, c), 0) - 1;\n f_55 += tri[xa] - 2;\n f_48 += deg[b] - 2 + deg[c] - 2;\n f_42 += deg[x] - 3;\n f_41 += deg[a] - 3;\n }\n }\n\n // x = orbit-12 (diamond)\n for (int nx2 = nx1 + 1; nx2 < deg[x]; nx2++) {\n int b = inc[x][nx2]._1, xb = inc[x][nx2]._2;\n if (!adjacent(adj[a], b)) continue;\n for (int na = 0; na < deg[a]; na++) {\n int c = inc[a][na]._1, ac = inc[a][na]._2;\n if (c == x || adjacent(adj[x], c) || !adjacent(adj[b], c)) continue;\n orbit[x][12]++;\n f_65 += (tri[ac] > 1) ? common3.getOrDefault(createTuple(a, b, c), 0) : 0;\n f_63 += common_x[c] - 2;\n f_59 += tri[ac] - 1 + common2.getOrDefault(createTuple(b, c), 0) - 1;\n f_54 += common2.getOrDefault(createTuple(a, b), 0) - 2;\n f_47 += deg[x] - 2;\n f_46 += deg[c] - 2;\n f_40 += deg[a] - 3 + deg[b] - 3;\n }\n }\n\n // x = orbit-8 (cycle)\n for (int nx2 = nx1 + 1; nx2 < deg[x]; nx2++) {\n int b = inc[x][nx2]._1, xb = inc[x][nx2]._2;\n if (adjacent(adj[a], b)) continue;\n for (int na = 0; na < deg[a]; na++) {\n int c = inc[a][na]._1, ac = inc[a][na]._2;\n if (c == x || adjacent(adj[x], c) || !adjacent(adj[b], c)) continue;\n orbit[x][8]++;\n f_62 += (tri[ac] > 0) ? common3.getOrDefault(createTuple(a, b, c), 0) : 0;\n f_53 += tri[xa] + tri[xb];\n f_51 += tri[ac] + common2.getOrDefault(createTuple(c, b), 0);\n f_50 += common_x[c] - 2;\n f_49 += common_a[b] - 2;\n f_38 += deg[x] - 2;\n f_37 += deg[a] - 2 + deg[b] - 2;\n f_36 += deg[c] - 2;\n }\n }\n\n // x = orbit-11 (paw)\n for (int nx2 = nx1 + 1; nx2 < deg[x]; nx2++) {\n int b = inc[x][nx2]._1, xb = inc[x][nx2]._2;\n if (!adjacent(adj[a], b)) continue;\n for (int nx3 = 0; nx3 < deg[x]; nx3++) {\n int c = inc[x][nx3]._1, xc = inc[x][nx3]._2;\n if (c == a || c == b || adjacent(adj[a], c) || adjacent(adj[b], c)) continue;\n orbit[x][11]++;\n f_44 += tri[xc];\n f_33 += deg[x] - 3;\n f_30 += deg[c] - 1;\n f_26 += deg[a] - 2 + deg[b] - 2;\n }\n }\n\n // x = orbit-10 (paw)\n for (int nx2 = 0; nx2 < deg[x]; nx2++) {\n int b = inc[x][nx2]._1, xb = inc[x][nx2]._2;\n if (!adjacent(adj[a], b)) continue;\n for (int nb = 0; nb < deg[b]; nb++) {\n int c = inc[b][nb]._1, bc = inc[b][nb]._2;\n if (c == x || c == a || adjacent(adj[a], c) || adjacent(adj[x], c)) continue;\n orbit[x][10]++;\n f_52 += common_a[c] - 1;\n f_43 += tri[bc];\n f_32 += deg[b] - 3;\n f_29 += deg[c] - 1;\n f_25 += deg[a] - 2;\n }\n }\n\n // x = orbit-9 (paw)\n for (int na1 = 0; na1 < deg[a]; na1++) {\n int b = inc[a][na1]._1, ab = inc[a][na1]._2;\n if (b == x || adjacent(adj[x], b)) continue;\n for (int na2 = na1 + 1; na2 < deg[a]; na2++) {\n int c = inc[a][na2]._1, ac = inc[a][na2]._2;\n if (c == x || !adjacent(adj[b], c) || adjacent(adj[x], c)) continue;\n orbit[x][9]++;\n f_56 += (tri[ab] > 1 && tri[ac] > 1) ? common3.getOrDefault(createTuple(a, b, c), 0) : 0;\n f_45 += common2.getOrDefault(createTuple(b, c), 0) - 1;\n f_39 += tri[ab] - 1 + tri[ac] - 1;\n f_31 += deg[a] - 3;\n f_28 += deg[x] - 1;\n f_24 += deg[b] - 2 + deg[c] - 2;\n }\n }\n\n // x = orbit-4 (path)\n for (int na = 0; na < deg[a]; na++) {\n int b = inc[a][na]._1, ab = inc[a][na]._2;\n if (b == x || adjacent(adj[x], b)) continue;\n for (int nb = 0; nb < deg[b]; nb++) {\n int c = inc[b][nb]._1, bc = inc[b][nb]._2;\n if (c == a || adjacent(adj[a], c) || adjacent(adj[x], c)) continue;\n orbit[x][4]++;\n f_35 += common_a[c] - 1;\n f_34 += common_x[c];\n f_27 += tri[bc];\n f_18 += deg[b] - 2;\n f_16 += deg[x] - 1;\n f_15 += deg[c] - 1;\n }\n }\n\n // x = orbit-5 (path)\n for (int nx2 = 0; nx2 < deg[x]; nx2++) {\n int b = inc[x][nx2]._1, xb = inc[x][nx2]._2;\n if (b == a || adjacent(adj[a], b)) continue;\n for (int nb = 0; nb < deg[b]; nb++) {\n int c = inc[b][nb]._1, bc = inc[b][nb]._2;\n if (c == x || adjacent(adj[a], c) || adjacent(adj[x], c)) continue;\n orbit[x][5]++;\n f_17 += deg[a] - 1;\n }\n }\n\n // x = orbit-6 (claw)\n for (int na1 = 0; na1 < deg[a]; na1++) {\n int b = inc[a][na1]._1, ab = inc[a][na1]._2;\n if (b == x || adjacent(adj[x], b)) continue;\n for (int na2 = na1 + 1; na2 < deg[a]; na2++) {\n int c = inc[a][na2]._1, ac = inc[a][na2]._2;\n if (c == x || adjacent(adj[x], c) || adjacent(adj[b], c)) continue;\n orbit[x][6]++;\n f_22 += deg[a] - 3;\n f_20 += deg[x] - 1;\n f_19 += deg[b] - 1 + deg[c] - 1;\n }\n }\n\n // x = orbit-7 (claw)\n for (int nx2 = nx1 + 1; nx2 < deg[x]; nx2++) {\n int b = inc[x][nx2]._1, xb = inc[x][nx2]._2;\n if (adjacent(adj[a], b)) continue;\n for (int nx3 = nx2 + 1; nx3 < deg[x]; nx3++) {\n int c = inc[x][nx3]._1, xc = inc[x][nx3]._2;\n if (adjacent(adj[a], c) || adjacent(adj[b], c)) continue;\n orbit[x][7]++;\n f_23 += deg[x] - 3;\n f_21 += deg[a] - 1 + deg[b] - 1 + deg[c] - 1;\n }\n }\n }\n\n // solve equations\n orbit[x][72] = C5[x];\n orbit[x][71] = (f_71 - 12 * orbit[x][72]) / 2;\n orbit[x][70] = (f_70 - 4 * orbit[x][72]);\n orbit[x][69] = (f_69 - 2 * orbit[x][71]) / 4;\n orbit[x][68] = (f_68 - 2 * orbit[x][71]);\n orbit[x][67] = (f_67 - 12 * orbit[x][72] - 4 * orbit[x][71]);\n orbit[x][66] = (f_66 - 12 * orbit[x][72] - 2 * orbit[x][71] - 3 * orbit[x][70]);\n orbit[x][65] = (f_65 - 3 * orbit[x][70]) / 2;\n orbit[x][64] = (f_64 - 2 * orbit[x][71] - 4 * orbit[x][69] - 1 * orbit[x][68]);\n orbit[x][63] = (f_63 - 3 * orbit[x][70] - 2 * orbit[x][68]);\n orbit[x][62] = (f_62 - 1 * orbit[x][68]) / 2;\n orbit[x][61] = (f_61 - 4 * orbit[x][71] - 8 * orbit[x][69] - 2 * orbit[x][67]) / 2;\n orbit[x][60] = (f_60 - 4 * orbit[x][71] - 2 * orbit[x][68] - 2 * orbit[x][67]);\n orbit[x][59] = (f_59 - 6 * orbit[x][70] - 2 * orbit[x][68] - 4 * orbit[x][65]);\n orbit[x][58] = (f_58 - 4 * orbit[x][72] - 2 * orbit[x][71] - 1 * orbit[x][67]);\n orbit[x][57] = (f_57 - 12 * orbit[x][72] - 4 * orbit[x][71] - 3 * orbit[x][70] - 1 * orbit[x][67] - 2 * orbit[x][66]);\n orbit[x][56] = (f_56 - 2 * orbit[x][65]) / 3;\n orbit[x][55] = (f_55 - 2 * orbit[x][71] - 2 * orbit[x][67]) / 3;\n orbit[x][54] = (f_54 - 3 * orbit[x][70] - 1 * orbit[x][66] - 2 * orbit[x][65]) / 2;\n orbit[x][53] = (f_53 - 2 * orbit[x][68] - 2 * orbit[x][64] - 2 * orbit[x][63]);\n orbit[x][52] = (f_52 - 2 * orbit[x][66] - 2 * orbit[x][64] - 1 * orbit[x][59]) / 2;\n orbit[x][51] = (f_51 - 2 * orbit[x][68] - 2 * orbit[x][63] - 4 * orbit[x][62]);\n orbit[x][50] = (f_50 - 1 * orbit[x][68] - 2 * orbit[x][63]) / 3;\n orbit[x][49] = (f_49 - 1 * orbit[x][68] - 1 * orbit[x][64] - 2 * orbit[x][62]) / 2;\n orbit[x][48] = (f_48 - 4 * orbit[x][71] - 8 * orbit[x][69] - 2 * orbit[x][68] - 2 * orbit[x][67] - 2 * orbit[x][64] - 2 * orbit[x][61] - 1 * orbit[x][60]);\n orbit[x][47] = (f_47 - 3 * orbit[x][70] - 2 * orbit[x][68] - 1 * orbit[x][66] - 1 * orbit[x][63] - 1 * orbit[x][60]);\n orbit[x][46] = (f_46 - 3 * orbit[x][70] - 2 * orbit[x][68] - 2 * orbit[x][65] - 1 * orbit[x][63] - 1 * orbit[x][59]);\n orbit[x][45] = (f_45 - 2 * orbit[x][65] - 2 * orbit[x][62] - 3 * orbit[x][56]);\n orbit[x][44] = (f_44 - 1 * orbit[x][67] - 2 * orbit[x][61]) / 4;\n orbit[x][43] = (f_43 - 2 * orbit[x][66] - 1 * orbit[x][60] - 1 * orbit[x][59]) / 2;\n orbit[x][42] = (f_42 - 2 * orbit[x][71] - 4 * orbit[x][69] - 2 * orbit[x][67] - 2 * orbit[x][61] - 3 * orbit[x][55]);\n orbit[x][41] = (f_41 - 2 * orbit[x][71] - 1 * orbit[x][68] - 2 * orbit[x][67] - 1 * orbit[x][60] - 3 * orbit[x][55]);\n orbit[x][40] = (f_40 - 6 * orbit[x][70] - 2 * orbit[x][68] - 2 * orbit[x][66] - 4 * orbit[x][65] - 1 * orbit[x][60] - 1 * orbit[x][59] - 4 * orbit[x][54]);\n orbit[x][39] = (f_39 - 4 * orbit[x][65] - 1 * orbit[x][59] - 6 * orbit[x][56]) / 2;\n orbit[x][38] = (f_38 - 1 * orbit[x][68] - 1 * orbit[x][64] - 2 * orbit[x][63] - 1 * orbit[x][53] - 3 * orbit[x][50]);\n orbit[x][37] = (f_37 - 2 * orbit[x][68] - 2 * orbit[x][64] - 2 * orbit[x][63] - 4 * orbit[x][62] - 1 * orbit[x][53] - 1 * orbit[x][51] - 4 * orbit[x][49]);\n orbit[x][36] = (f_36 - 1 * orbit[x][68] - 2 * orbit[x][63] - 2 * orbit[x][62] - 1 * orbit[x][51] - 3 * orbit[x][50]);\n orbit[x][35] = (f_35 - 1 * orbit[x][59] - 2 * orbit[x][52] - 2 * orbit[x][45]) / 2;\n orbit[x][34] = (f_34 - 1 * orbit[x][59] - 2 * orbit[x][52] - 1 * orbit[x][51]) / 2;\n orbit[x][33] = (f_33 - 1 * orbit[x][67] - 2 * orbit[x][61] - 3 * orbit[x][58] - 4 * orbit[x][44] - 2 * orbit[x][42]) / 2;\n orbit[x][32] = (f_32 - 2 * orbit[x][66] - 1 * orbit[x][60] - 1 * orbit[x][59] - 2 * orbit[x][57] - 2 * orbit[x][43] - 2 * orbit[x][41] - 1 * orbit[x][40]) / 2;\n orbit[x][31] = (f_31 - 2 * orbit[x][65] - 1 * orbit[x][59] - 3 * orbit[x][56] - 1 * orbit[x][43] - 2 * orbit[x][39]);\n orbit[x][30] = (f_30 - 1 * orbit[x][67] - 1 * orbit[x][63] - 2 * orbit[x][61] - 1 * orbit[x][53] - 4 * orbit[x][44]);\n orbit[x][29] = (f_29 - 2 * orbit[x][66] - 2 * orbit[x][64] - 1 * orbit[x][60] - 1 * orbit[x][59] - 1 * orbit[x][53] - 2 * orbit[x][52] - 2 * orbit[x][43]);\n orbit[x][28] = (f_28 - 2 * orbit[x][65] - 2 * orbit[x][62] - 1 * orbit[x][59] - 1 * orbit[x][51] - 1 * orbit[x][43]);\n orbit[x][27] = (f_27 - 1 * orbit[x][59] - 1 * orbit[x][51] - 2 * orbit[x][45]) / 2;\n orbit[x][26] = (f_26 - 2 * orbit[x][67] - 2 * orbit[x][63] - 2 * orbit[x][61] - 6 * orbit[x][58] - 1 * orbit[x][53] - 2 * orbit[x][47] - 2 * orbit[x][42]);\n orbit[x][25] = (f_25 - 2 * orbit[x][66] - 2 * orbit[x][64] - 1 * orbit[x][59] - 2 * orbit[x][57] - 2 * orbit[x][52] - 1 * orbit[x][48] - 1 * orbit[x][40]) / 2;\n orbit[x][24] = (f_24 - 4 * orbit[x][65] - 4 * orbit[x][62] - 1 * orbit[x][59] - 6 * orbit[x][56] - 1 * orbit[x][51] - 2 * orbit[x][45] - 2 * orbit[x][39]);\n orbit[x][23] = (f_23 - 1 * orbit[x][55] - 1 * orbit[x][42] - 2 * orbit[x][33]) / 4;\n orbit[x][22] = (f_22 - 2 * orbit[x][54] - 1 * orbit[x][40] - 1 * orbit[x][39] - 1 * orbit[x][32] - 2 * orbit[x][31]) / 3;\n orbit[x][21] = (f_21 - 3 * orbit[x][55] - 3 * orbit[x][50] - 2 * orbit[x][42] - 2 * orbit[x][38] - 2 * orbit[x][33]);\n orbit[x][20] = (f_20 - 2 * orbit[x][54] - 2 * orbit[x][49] - 1 * orbit[x][40] - 1 * orbit[x][37] - 1 * orbit[x][32]);\n orbit[x][19] = (f_19 - 4 * orbit[x][54] - 4 * orbit[x][49] - 1 * orbit[x][40] - 2 * orbit[x][39] - 1 * orbit[x][37] - 2 * orbit[x][35] - 2 * orbit[x][31]);\n orbit[x][18] = (f_18 - 1 * orbit[x][59] - 1 * orbit[x][51] - 2 * orbit[x][46] - 2 * orbit[x][45] - 2 * orbit[x][36] - 2 * orbit[x][27] - 1 * orbit[x][24]) / 2;\n orbit[x][17] = (f_17 - 1 * orbit[x][60] - 1 * orbit[x][53] - 1 * orbit[x][51] - 1 * orbit[x][48] - 1 * orbit[x][37] - 2 * orbit[x][34] - 2 * orbit[x][30]) / 2;\n orbit[x][16] = (f_16 - 1 * orbit[x][59] - 2 * orbit[x][52] - 1 * orbit[x][51] - 2 * orbit[x][46] - 2 * orbit[x][36] - 2 * orbit[x][34] - 1 * orbit[x][29]);\n orbit[x][15] = (f_15 - 1 * orbit[x][59] - 2 * orbit[x][52] - 1 * orbit[x][51] - 2 * orbit[x][45] - 2 * orbit[x][35] - 2 * orbit[x][34] - 2 * orbit[x][27]);\n }\n\n return orbit;\n }", "title": "" }, { "docid": "963731917722658ce8bd3f535dd33dbb", "score": "0.6594779", "text": "public int getNetSize() {\n return graph.size();\n }", "title": "" }, { "docid": "af6f92cb83a864c4c36a7052c1564fb9", "score": "0.6591686", "text": "int nodeCount();", "title": "" }, { "docid": "4d1ea32d59b713bc921b485a48e01b1a", "score": "0.65749335", "text": "int getTotalNumOfNodes() {\n\t\treturn adjList.size();\n\t}", "title": "" }, { "docid": "40c73bd0343d99908b4da737680f7d85", "score": "0.6573597", "text": "public int getFlowSize()\n\t{\n\t\tint result = 0;\n\t\t\n\t\tfor(Edge e : this.source.getOutgoingEdges())\n\t\t{\n\t\t\tresult += e.getFlow();\n\t\t}\n\t\t\n\t\treturn result;\n\t}", "title": "" }, { "docid": "730b3064c8425a6756cd342d39a77906", "score": "0.6546222", "text": "public Graph runNumberOfPathThroughAnyLink(AdjacencyMatrix m){\r\n\t\tGraph graph = new Graph(m);\r\n\t\treturn PathCount.getNumberOfPathThroughAnyLink(graph);\r\n\t}", "title": "" }, { "docid": "97a555071d37a17d55d25b0e678e1081", "score": "0.65184575", "text": "public int size(){\n\t\tNode<E> current = top;\n\t\tint size = 0;\n\t\t\n\t\twhile(current != null){\n\t\t\tcurrent = current.next;\n\t\t\tsize++;\n\t\t}\n\t\t\n\t\treturn size;\n\t}", "title": "" }, { "docid": "8528e636f16fda77f41e5af9fb5556c4", "score": "0.65180916", "text": "public int inDegree(N v) {\n return getInEdges(v).size();\n }", "title": "" }, { "docid": "6f46362a1df98b0c913569eb45ad7473", "score": "0.6476052", "text": "private int getNumberOfNeighborConnections(Entity node)\r\n\t{\r\n\r\n\t\t// The directed graph is treated as a undirected graph to compute these\r\n\t\t// parameters.\r\n\t\t// UndirectedGraph<String, DefaultEdge> undirectedGraph = new\r\n\t\t// AsUndirectedGraph<String, DefaultEdge>(directedGraph);\r\n\r\n\t\tint numberOfConnections = 0;\r\n\r\n\t\t// get the set of neighbors\r\n\t\tSet<Entity> neighbors = getNeighbors(node);\r\n\r\n\t\tif (neighbors.size() > 0) {\r\n\t\t\t// for each pair of neighbors, test if there is a connection\r\n\t\t\tObject[] nodeArray = neighbors.toArray();\r\n\t\t\t// sort the Array so we can use a simple iteration with two for\r\n\t\t\t// loops to access all pairs\r\n\t\t\tArrays.sort(nodeArray);\r\n\r\n\t\t\tfor (int i = 0; i < neighbors.size(); i++) {\r\n\t\t\t\tEntity outerNode = (Entity) nodeArray[i];\r\n\t\t\t\tfor (int j = i + 1; j < neighbors.size(); j++) {\r\n\t\t\t\t\tEntity innerNode = (Entity) nodeArray[j];\r\n\t\t\t\t\t// in case of a connection increase connection counter\r\n\t\t\t\t\t// order of the nodes doesn't matter for undirected graphs\r\n\r\n\t\t\t\t\t// check if the neighbors are connected:\r\n\t\t\t\t\tif (containsEdge(innerNode, outerNode)\r\n\t\t\t\t\t\t\t|| containsEdge(outerNode, innerNode)) {\r\n\t\t\t\t\t\t// logger.info(\"There is a connection between the neighbors\");\r\n\t\t\t\t\t\tnumberOfConnections++;\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\t// logger.info(neighbors.size() + \" - \" + numberOfConnections);\r\n\r\n\t\treturn numberOfConnections;\r\n\t}", "title": "" }, { "docid": "c720b8373f509aa5a00df209787eeba8", "score": "0.64601934", "text": "public int countNodes() {\n int leftCount = left == null ? 0 : left.countNodes();\n int rightCount = right == null ? 0 : right.countNodes();\n return 1 + leftCount + rightCount;\n }", "title": "" }, { "docid": "510f565d22836ac8a481448403423214", "score": "0.6454934", "text": "public int Sizeofnetwork() {\n\t\treturn Nodeswithconnect.size();\n\t}", "title": "" }, { "docid": "234a67bf0fbf32a3035e9002b2fc6312", "score": "0.64535284", "text": "public Graph runNumberOfPathThroughAnyNode(AdjacencyMatrix m){\r\n\t\tGraph graph = new Graph(m);\r\n\t\treturn PathCount.getNumberOfPathThroughAnyNode(graph);\t\r\n\t}", "title": "" }, { "docid": "18b3d35bc8c22b64f20e1a7a228d67e0", "score": "0.6448266", "text": "public int nodeCount(){\r\n\t\treturn size;\r\n\t}", "title": "" }, { "docid": "c86a0b7a1827af1f6e00d9278f2c0a79", "score": "0.644088", "text": "public int getDegree(){\n\t\treturn neighbours.size();\n\t}", "title": "" }, { "docid": "8d54776a6896ea5815cdbf77de4337e0", "score": "0.64353037", "text": "public int localEdgeNum() {\r\n return localEdgeCount;\r\n }", "title": "" }, { "docid": "dfdb0f7142273c6423b2b6db37329497", "score": "0.64258665", "text": "public int length()\n {\n int count = 0;\n Node position = head;\n\n while(position != null)\n {\n count++;\n position = position.nLink;\n } // end while\n\n return count;\n }", "title": "" }, { "docid": "d2fdf4a20bf74d66e68d440fea181585", "score": "0.64178395", "text": "public int getOriginalEdgeCount() {\r\n return originalEdgeCount;\r\n }", "title": "" }, { "docid": "572e835a1627c274345cefc1f752c8c3", "score": "0.6386158", "text": "public int m(){\n int m = 0;\n // looping through adj matrix to check if edge.\n // increments counter if so.\n for (int i = 0; i < n; i++){\n for (int j = 0; j < n; j++){\n if (edges[i][j] > 0){\n m++;\n }\n }\n }\n return m / 2;\n }", "title": "" }, { "docid": "a2cd05bccbabb4f960c76b044a1d2531", "score": "0.6383283", "text": "private int createEdges() {\n\t\t// Use random numbers to generate random number of edges for each vertex\n\t\tint avgNumEdgesPerVertex = this.desiredTotalEdges / this.vertices.size();\n\t\tint countSuccessfulEdges = 0;\n\t\t// In order to determine the number of edges to create for each vertex\n\t\t// get a random number between 0 and 2 times the avgNumEdgesPerVertex\n\t\t// then add neighbors (edges are represented by the number of neighbors each\n\t\t// vertex has)\n\t\tfor (int i = 0; i < this.vertices.size(); i++) {\n\t\t\tfor (int j = 0; j <= (this.randomGen(avgNumEdgesPerVertex * 50) + 1); j++) {\n\t\t\t\t// select a random vertex from this.vertices (vertex list) and add as neighbor\n\t\t\t\t// ensure we don't add a vertex as a neighbor of itself\n\t\t\t\tint neighbor = this.randomGen(this.vertices.size());\n\t\t\t\tif (neighbor != i)\n\t\t\t\t\tif (this.vertices.get(i).addNeighbor(this.vertices.get(neighbor))) {\n\t\t\t\t\t\tthis.vertices.get(neighbor).addNeighbor(this.vertices.get(i));\n\t\t\t\t\t\tcountSuccessfulEdges++;\n\t\t\t\t\t}\n\n\t\t\t}\n\t\t}\n\t\treturn countSuccessfulEdges;\n\t}", "title": "" }, { "docid": "f5090d2e83d9bc4806fabc06fb7005eb", "score": "0.6377819", "text": "public int size()\n {\n \tDNode<E> temp=first;\n \tint count=0;\n \twhile(temp!=null)\t\t//Iterating till the end of the list\n \t{\n \t\tcount++;\n \t\ttemp=temp.next;\n \t}\n \treturn count;\n }", "title": "" }, { "docid": "a2f089017249b440e3ddc2473bd9b27f", "score": "0.6376546", "text": "public int size() {\n\r\n int size = 0;\r\n for(Node n = head; n.getNext() != null; n = n.getNext()) {\r\n size++;\r\n }\r\n\r\n return size;\r\n }", "title": "" }, { "docid": "d9bd2252572f03ee57ec2e5ac056ce15", "score": "0.6375654", "text": "public int countNodes() {\n\t\t\n\t\tif(isEmpty()==false){\n\t\t\tint count =1;\n\t\t\tDoubleNode temp=head;\n\t\t\twhile(temp.getNext()!=null){\n\t\t\t\tcount++;\n\t\t\t\ttemp=temp.getNext();\n\t\t}\n\t\treturn count;\n\t\t}\n\t\telse{\n\t\t\treturn 0;\n\t\t}\n\t}", "title": "" }, { "docid": "81985798a89a6979c93d7885ae1127f5", "score": "0.6373453", "text": "public int numofConnections() {\n\t\tint numberofconnection = 0;\n\t\tString node;\n\t\tfor (String key : Nodeswithconnect.keySet()) {\n\t\t\tfor (int i = 0; i < Nodeswithconnect.get(key).length; i++) {\n\t\t\t\tnode = Nodeswithconnect.get(key)[i];\n\t\t\t\tif (!node.equals(\"null\")) {\n\t\t\t\t\tnumberofconnection++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn numberofconnection;\n\t}", "title": "" }, { "docid": "3fb66ec9fb95d0db4255c313813308f5", "score": "0.6372054", "text": "@Override\n public int size()\n {\n int numLinks = 0;\n Node currNode = this.head.next; \n while(currNode.next != null)\n {\n numLinks++;\n currNode = currNode.next;\n }\n return numLinks;\n }", "title": "" }, { "docid": "462670a6e4136ea7a39857ba7929e766", "score": "0.6368483", "text": "public abstract int getVertexCount();", "title": "" }, { "docid": "823cb5fce9547f63cc26ce7bb19b91ec", "score": "0.63675547", "text": "@Override\r\n\tpublic int getNumberOfNodes() {\r\n\t\tint contador = 0;// Contador para el recursivo\r\n\t\treturn getNumberOfNodesRec(contador, raiz);\r\n\t}", "title": "" }, { "docid": "fd73308688c219bb2822ea8eca9127e3", "score": "0.6361377", "text": "public int countNodes(){\r\n \treturn count(root);\r\n }", "title": "" }, { "docid": "6589308f89d59fbb7c03313a31362625", "score": "0.6355168", "text": "public int size() {\n\t\t\n\t\tint count = 0;\n\t\t\n\t\t// Iterate through list and increment count until pointer cycles back to head (tail.next)\n\t\tfor (Node curr = head; curr == tail.next; curr = curr.next) {\n\t\t\tcount++;\n\t\t}\n\t\t\n\t\treturn count;\n\t}", "title": "" }, { "docid": "5e26184c7b5233597480f569e9d8f375", "score": "0.63401544", "text": "public int getVertexSize() {\n\t\treturn graph.vertexSet().size();\r\n\t}", "title": "" }, { "docid": "6fcaef44a4f1d842fbf7c7efbdea4bc6", "score": "0.63360983", "text": "public int nodesCount() {\n return nodes.size();\n }", "title": "" }, { "docid": "e118c7bf7468bcb74fe419cc3c42b494", "score": "0.6332007", "text": "public int countComponentsDFS(int n, int[][] edges) {\n\t List[] list = new List[n];\n\t int[] visited = new int[n];\n\t \n\t for(int i = 0; i< n; i++){\n\t list[i] = new ArrayList<Integer>();\n\t }\n\t //initial edges for each vertex, for example edges[0] ={1,2}\n\t //means vertex 1 and vertex 2 are connected;\n\t for(int i = 0; i<edges.length; i++){\n\t int v1 = edges[i][0];\n\t int v2 = edges[i][1];\n\t list[v1].add(v2);\n\t list[v2].add(v1);\n\t }\n\t int connectedNum = 0;\n\t for(int i = 0;i<n; i++){\n\t if(visited[i] == 0){\n\t dfs(i,-1, visited, list);\n\t connectedNum++;\n\t }\n\t }\n\t return connectedNum;\n\t }", "title": "" }, { "docid": "f54def7878ae234b4532824d86463858", "score": "0.63278985", "text": "int totalNumberOfNodes();", "title": "" }, { "docid": "c0d45fdfe682a293466b93015ade546b", "score": "0.6326705", "text": "@Test\r\n public void testNumEdges() {\r\n System.out.println(\"numEdges\");\r\n MyDigraph instance = new MyDigraph();\r\n\r\n int expResult = 0;\r\n int result = instance.numEdges();\r\n assertEquals(expResult, result);\r\n\r\n Object v1Element = 1;\r\n Object v2Element = 2;\r\n\r\n Vertex v1 = instance.insertVertex(v1Element);\r\n Vertex v2 = instance.insertVertex(v2Element);\r\n\r\n Object edgeElement = \"A\";\r\n Edge e = instance.insertEdge(v1Element, v2Element, edgeElement);\r\n\r\n expResult = 1;\r\n result = instance.numEdges();\r\n assertEquals(expResult, result);\r\n }", "title": "" }, { "docid": "3b9fe6ee9616737eca4afe1a6484f02d", "score": "0.6326568", "text": "@Override\r\n\tpublic int getNumberOfNodes() {\n\t\tint leftNumber=0;\r\n\t\tint rightNumber=0;\r\n\t\tif(left!=null){\r\n\t\t\tleftNumber=left.getNumberOfNodes();\r\n\t\t}\r\n\t\tif(right!=null)\r\n\t\t\trightNumber=right.getNumberOfNodes();\r\n\t\treturn leftNumber+rightNumber+1;\r\n\t}", "title": "" }, { "docid": "3068663c5d7c2e48ccb008a3a504fd26", "score": "0.6323146", "text": "public int size() {\n\t\treturn adjacencyMatrix != null ? adjacencyMatrix.length : 0;\n\t}", "title": "" }, { "docid": "34f55aa8ee1ca17216d42da057042405", "score": "0.6316263", "text": "public int size()\n {\n Node n = head.getNext();\n int count = 0;\n while(n != null)\n {\n count++; \n n = n.getNext();\n }\n return count;\n }", "title": "" }, { "docid": "646ddaa7dbe11413e01094d6a465d201", "score": "0.63112456", "text": "private int getNeighborCount(int x, int y, Assignment assignment){\n\t\tint neighbors = 0;\n\n\t\t// try neighbor up\n\t\tif(isNeighborAt(x-1, y, assignment))\n\t\t\tneighbors++;\n\n\t\t// try neighbor up-left\n\t\tif(isNeighborAt(x-1, y-1, assignment))\n\t\t\tneighbors++;\n\n\t\t// try neighbor up-right\n\t\tif(isNeighborAt(x-1, y+1, assignment))\n\t\t\tneighbors++;\n\n\t\t// try neighbor down\n\t\tif(isNeighborAt(x+1, y, assignment))\n\t\t\tneighbors++;\n\n\t\t// try neighbor down-left\n\t\tif(isNeighborAt(x+1, y-1, assignment))\n\t\t\tneighbors++;\n\n\t\t// try neighbor down-right\n\t\tif(isNeighborAt(x+1, y+1, assignment))\n\t\t\tneighbors++;\n\n\t\t// try neighbor left\n\t\tif(isNeighborAt(x, y-1, assignment))\n\t\t\tneighbors++;\n\n\t\t// try neighbor right\n\t\tif(isNeighborAt(x, y+1, assignment))\n\t\t\tneighbors++;\n\n\t\treturn neighbors;\n\t}", "title": "" }, { "docid": "77d4532331d3161f45c5105ef9c971f0", "score": "0.6310505", "text": "public int getLength()\n\t{\n\t\tDNode tem=first;\n\t\tint length=0;\n\t\twhile(tem.nextDNode!=null)\n\t\t{\n\t\t\tlength=length+1;\n\t\t\ttem=tem.nextDNode;\n\t\t}\n\t\tif(first!=null)\n\t\t\tlength=length+1;\n\t\treturn length;\n\t}", "title": "" }, { "docid": "8dd297ac4c3e6aebf641e00267503cb4", "score": "0.6298236", "text": "public int getNodeCount() {\n return node_.size();\n }", "title": "" }, { "docid": "482381fbaf825c8134302ab3da43f3c4", "score": "0.6290961", "text": "public int numVertices();", "title": "" }, { "docid": "482381fbaf825c8134302ab3da43f3c4", "score": "0.6290961", "text": "public int numVertices();", "title": "" }, { "docid": "fcf7ee520be5f16e28d6fb1aca4c9b1c", "score": "0.6285695", "text": "public int size(){\n return nodes.size();\n }", "title": "" } ]
a9a80f2a7b464089454c49a00b3857f8
for now, assume each command line arg is an UnRAVL script
[ { "docid": "00d624d9e57f8dc7d01359ef0900f8f4", "score": "0.0", "text": "private static int runScriptFiles(UnRAVLRuntime runtime,\n Map<String, Object> env, String... scriptFileNames) {\n int count = 0;\n if (runtime != null)\n runtime.reset();\n Map<String, Object> newEnv = (env == null ? new HashMap<String, Object>()\n : new HashMap<String, Object>(env));\n Throwable caught = null;\n for (String scriptFile : scriptFileNames) {\n try {\n count++;\n UnRAVLRuntime rt = runtime == null ? new UnRAVLRuntime(newEnv)\n : runtime;\n System.out.println(\"Run UnRAVL script \" + scriptFile);\n rt.execute(scriptFile);\n for (ApiCall call : rt.getApiCalls()) {\n if (call.getFailedAssertions().size() > 0) {\n printFailedAssertions(call);\n throw new AssertionError(\"script \" + scriptFile\n + \" should have had 0 assertion failures.\");\n }\n }\n } catch (Throwable t) {\n logger.error(t.getMessage());\n caught = t;\n }\n }\n if (caught != null) {\n caught.printStackTrace(System.err);\n throw new AssertionError(caught.getMessage());\n }\n return count;\n }", "title": "" } ]
[ { "docid": "a8fd60294aed9f53867356a8f5425d97", "score": "0.6740347", "text": "public void processArgs(String[] args) throws IOException{\n\t\tPattern pat = Pattern.compile(\"-[a-z]\");\n\t\tSystem.out.println(\"\\n\"+IO.fetchUSeqVersion()+\" Arguments: \"+Misc.stringArrayToString(args, \" \")+\"\\n\");\n\t\tfor (int i = 0; i<args.length; i++){\n\t\t\tString lcArg = args[i].toLowerCase();\n\t\t\tMatcher mat = pat.matcher(lcArg);\n\t\t\tif (mat.matches()){\n\t\t\t\tchar test = args[i].charAt(1);\n\t\t\t\ttry{\n\t\t\t\t\tswitch (test){\n\t\t\t\t\tcase 'm': toMatchBam = new File(args[++i]); break;\n\t\t\t\t\tcase 's': toSubSampleBam = new File(args[++i]); break;\n\t\t\t\t\tcase 'o': finalMatchedSam = new File(args[++i]); break;\n\t\t\t\t\tcase 'b': targetRegionsFile = new File(args[++i]); break;\n\t\t\t\t\tcase 't': numberThreads = Integer.parseInt(args[++i]); break;\n\t\t\t\t\tcase 'h': printDocs(); System.exit(0);\n\t\t\t\t\tdefault: Misc.printErrAndExit(\"\\nProblem, unknown option! \" + mat.group());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tcatch (Exception e){\n\t\t\t\t\tMisc.printErrAndExit(\"\\nSorry, something doesn't look right with this parameter: -\"+test+\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tif (toMatchBam == null || toMatchBam.exists() == false || toMatchBam.getName().endsWith(\".bam\") == false) {\n\t\t\tMisc.printErrAndExit(\"\\nPlease provide a xxx.bam file to use in matching alignment depths.\");\n\t\t}\n\t\tif (toSubSampleBam == null || toSubSampleBam.exists() == false || toSubSampleBam.getName().endsWith(\".bam\") == false) {\n\t\t\tMisc.printErrAndExit(\"\\nPlease provide a xxx.bam file to subsample and write out.\");\n\t\t}\n\t\tif (finalMatchedSam == null || finalMatchedSam.getName().endsWith(\".sam.gz\") == false) {\n\t\t\tMisc.printErrAndExit(\"\\nPlease provide a xxx.sam.gz file to use in writing out the extracted alignments.\");\n\t\t}\n\t\tif (targetRegionsFile == null || targetRegionsFile.exists() == false ) {\n\t\t\tMisc.printErrAndExit(\"\\nPlease provide a bed like regions file to match alignments over.\");\n\t\t}\n\t\ttempDir = new File(finalMatchedSam.getCanonicalFile().getParentFile(), \"TempSADM_\"+Misc.getRandomString(6));\n\t\ttempDir.mkdirs();\n\t\t\n\t\t//threads to use\n\t\tif (numberThreads == -1) numberThreads = Runtime.getRuntime().availableProcessors() - 1;\n\t}", "title": "" }, { "docid": "3ff14a591d1aeadfb0f56c9bf51d26df", "score": "0.66562134", "text": "public void processArgs(String[] args){\n\t\tPattern pat = Pattern.compile(\"-[a-z]\");\n\t\t\n\t\tfor (int i = 0; i<args.length; i++){\n\t\t\tString lcArg = args[i].toLowerCase();\n\t\t\tMatcher mat = pat.matcher(lcArg);\n\t\t\tif (mat.matches()){\n\t\t\t\tchar test = args[i].charAt(1);\n\t\t\t\ttry{\n\t\t\t\t\tswitch (test){\n\t\t\t\t\tcase 'b': bedFile = new File (args[++i]); break;\n\t\t\t\t\tcase 'r': resultsFile = new File (args[++i]); break;\n\t\t\t\t\tcase 'm': maxGap = Integer.parseInt(args[++i]); break;\n\t\t\t\t\tcase 'q': verbose = false; break;\n\t\t\t\t\tcase 'h': printDocs(); System.exit(0);\n\t\t\t\t\tdefault: Misc.printExit(\"\\nProblem, unknown option! \" + mat.group());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tcatch (Exception e){\n\t\t\t\t\tMisc.printExit(\"\\nSorry, something doesn't look right with this parameter: -\"+test+\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (bedFile == null || bedFile.canRead() == false) Misc.printErrAndExit(\"\\nError: cannot find your bed file?\\n\");\n\t\tif (resultsFile == null) Misc.printErrAndExit(\"\\nError: please provide a xxx.bed.gz file to save the results.\\n\");\n\t\t\n\t\tif (verbose) System.out.println(\"\\n\"+IO.fetchUSeqVersion()+\" Arguments: \"+Misc.stringArrayToString(args, \" \")+\"\\n\");\n\n\t}", "title": "" }, { "docid": "2c80dd4f8615433827f96c26bbd3fdd3", "score": "0.6607501", "text": "public void processArgs(String[] args){\n\t\tPattern pat = Pattern.compile(\"-[a-z]\");\n\t\tFile forExtraction = null;\n\t\tSystem.out.println(\"\\n\"+IO.fetchUSeqVersion()+\" Arguments: \"+Misc.stringArrayToString(args, \" \")+\"\\n\");\n\t\tfor (int i = 0; i<args.length; i++){\n\t\t\tString lcArg = args[i].toLowerCase();\n\t\t\tMatcher mat = pat.matcher(lcArg);\n\t\t\tif (mat.matches()){\n\t\t\t\tchar test = args[i].charAt(1);\n\t\t\t\ttry{\n\t\t\t\t\tswitch (test){\n\t\t\t\t\tcase 'f': forExtraction = new File(args[i+1]); i++; break;\n\t\t\t\t\tcase 'e': saveHalfMatches = false; break;\n\t\t\t\t\tcase 'm': maxSizePair = Integer.parseInt(args[++i]); break;\n\t\t\t\t\tcase 's': radiusSpliceJunction = Integer.parseInt(args[++i]); break;\n\t\t\t\t\tcase 'h': printDocs(); System.exit(0);\n\t\t\t\t\tdefault: System.out.println(\"\\nProblem, unknown option! \" + mat.group());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tcatch (Exception e){\n\t\t\t\t\tMisc.printExit(\"\\nSorry, something doesn't look right with this parameter: -\"+test+\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t//pull files\n\t\tFile[][] tot = new File[3][];\n\t\ttot[0] = IO.extractFiles(forExtraction,\".txt\");\n\t\ttot[1] = IO.extractFiles(forExtraction,\".txt.zip\");\n\t\ttot[2] = IO.extractFiles(forExtraction,\".txt.gz\");\n\n\t\tdataFiles = IO.collapseFileArray(tot);\n\t\tif (dataFiles == null || dataFiles.length==0) dataFiles = IO.extractFiles(forExtraction);\n\t\tif (dataFiles == null || dataFiles.length ==0 || dataFiles[0].canRead() == false) Misc.printExit(\"\\nError: cannot find your xxx.txt(.zip/.gz) file(s)!\\n\");\n\n\t}", "title": "" }, { "docid": "cf4eb7bc58f9ce80fb9b898fb231f49f", "score": "0.6602709", "text": "public void processArgs(String[] args){\n\t\tPattern pat = Pattern.compile(\"-[a-z]\");\n\t\tFile forExtraction = null;\n\t\tSystem.out.println(\"\\n\"+IO.fetchUSeqVersion()+\" Arguments: \"+Misc.stringArrayToString(args, \" \")+\"\\n\");\n\t\tfor (int i = 0; i<args.length; i++){\n\t\t\tString lcArg = args[i].toLowerCase();\n\t\t\tMatcher mat = pat.matcher(lcArg);\n\t\t\tif (mat.matches()){\n\t\t\t\tchar test = args[i].charAt(1);\n\t\t\t\ttry{\n\t\t\t\t\tswitch (test){\n\t\t\t\t\tcase 'd': directories = IO.extractFiles(args[++i]); break;\n\t\t\t\t\tcase 'm': maximumFractionBadBases = Double.parseDouble(args[++i]); break;\n\t\t\t\t\tcase 'h': printDocs(); System.exit(0);\n\t\t\t\t\tdefault: System.out.println(\"\\nProblem, unknown option! \" + mat.group());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tcatch (Exception e){\n\t\t\t\t\tMisc.printExit(\"\\nSorry, something doesn't look right with this parameter: -\"+test+\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (directories == null || directories.length ==0) Misc.printErrAndExit(\"\\nCouldn't find your directory(s) of xxx_prb.txt.gz files?\\n\");\n\t}", "title": "" }, { "docid": "aaf5cc3defc744f6cc19d482454081ab", "score": "0.6459053", "text": "public static int runMain( String[] args ) throws IOException {\n ResourceType[] resourceTypes = ResourceType.getKnownResourceTypes();\n\n // Assemble usage string.\n StringBuffer rtbuf = new StringBuffer();\n for ( int ir = 0; ir < resourceTypes.length; ir++ ) {\n if ( rtbuf.length() > 0 ) {\n rtbuf.append( \"|\" );\n }\n rtbuf.append( resourceTypes[ ir ].getName().toLowerCase() );\n }\n String usage = new StringBuffer()\n .append( \"\\n Usage:\" )\n .append( \"\\n \" + SampLoad.class.getName() )\n .append( \"\\n \" )\n .append( \" [-help]\" )\n .append( \" [-/+verbose]\" )\n .append( \"\\n \" )\n .append( \" [-rtype \" + rtbuf + \"]\" )\n .append( \" <file-or-url>\" )\n .append( \"\\n\" )\n .toString();\n\n // Set up variables which can be set or changed by the argument list.\n ResourceType rtype = null;\n String location = null;\n int verbAdjust = 0;\n\n // Parse the argument list.\n List argList = new ArrayList( Arrays.asList( args ) );\n for ( Iterator it = argList.iterator(); it.hasNext(); ) {\n String arg = (String) it.next();\n if ( arg.equals( \"-rtype\" ) && rtype == null && it.hasNext() ) {\n it.remove();\n String rtName = (String) it.next();\n it.remove();\n for ( int ir = 0; ir < resourceTypes.length; ir++ ) {\n ResourceType rt = resourceTypes[ ir ];\n if ( rtName.equalsIgnoreCase( rt.getName() ) ) {\n rtype = rt;\n }\n }\n if ( rtype == null ) {\n System.err.println( usage );\n return 1;\n }\n }\n else if ( arg.startsWith( \"-verb\" ) ) {\n it.remove();\n verbAdjust--;\n }\n else if ( arg.startsWith( \"+verb\" ) ) {\n it.remove();\n verbAdjust++;\n }\n else if ( arg.equals( \"-help\" ) ) {\n it.remove();\n System.out.println( usage );\n return 0;\n }\n else if ( arg.startsWith( \"-\" ) || arg.startsWith( \"+\" ) ) {\n System.err.println( usage );\n return 1;\n }\n else if ( location == null ) {\n it.remove();\n location = arg;\n }\n else {\n System.err.println( usage );\n return 1;\n }\n }\n if ( location == null ) {\n System.err.println( usage );\n return 1;\n }\n\n // Set logging levels in accordance with flags.\n int logLevel = Level.WARNING.intValue() + 100 * verbAdjust;\n Logger.getLogger( \"org.astrogrid.samp\" )\n .setLevel( Level.parse( Integer.toString( logLevel ) ) );\n\n // Interpret location.\n final URL url;\n if ( location == null ) {\n System.err.println( usage );\n return 1;\n }\n else {\n url = getUrl( location );\n }\n if ( url == null ) {\n logger_.warning( \"Bad location: \" + location );\n }\n\n // Make sure we have a resource type. This may have been supplied\n // on the command line, but if not, try to identify it by retrieving\n // the metadata or content of the resource itself.\n if ( url != null ) {\n if ( rtype == null ) {\n rtype = ResourceType.readHeadResourceType( url );\n }\n if ( rtype == null ) {\n rtype = ResourceType.readContentResourceType( url );\n }\n if ( rtype == null ) {\n logger_.warning( \"Unknown resource type: \" + url );\n }\n }\n\n // Prepare client metadata.\n Metadata meta = new Metadata();\n meta.setName( \"SampLoad\" );\n try {\n meta.setIconUrl( UtilServer.getInstance()\n .exportResource( ICON_URL ).toString() );\n }\n catch ( Exception e ) {\n logger_.log( Level.WARNING, \"Can't export application icon\", e );\n }\n meta.setDescriptionText( new StringBuffer()\n .append( \"Browser helper application to forward downloaded files\" )\n .append( \" (\" + rtype + \") \" )\n .append( \"to SAMP Hub\" )\n .toString() );\n meta.put( \"author.name\", \"Mark Taylor\" );\n\n // Prepare hub registration.\n ClientProfile profile = DefaultClientProfile.getProfile();\n GuiHubConnector connector = new GuiHubConnector( profile );\n connector.declareMetadata( meta );\n connector.declareSubscriptions( connector.computeSubscriptions() );\n connector.setActive( rtype != null );\n\n // Send message under GUI control.\n SampLoad dialog = new SampLoad( connector, rtype, url, location );\n dialog.pack();\n dialog.setLocationRelativeTo( null );\n dialog.setVisible( true );\n\n connector.setActive( false );\n return 0;\n }", "title": "" }, { "docid": "7e9052c4aba44d0353407c43f17a36a2", "score": "0.64280045", "text": "private void decodeCommandLine(String[] args) {\n // loop over all args\n for (int i = 0; i < args.length; i++) {\n\n if (args[i].equalsIgnoreCase(\"-h\")) {\n usage();\n System.exit(-1);\n }\n else if (args[i].equalsIgnoreCase(\"-u\")) {\n UDL = args[i + 1];\n i++;\n }\n else if (args[i].equalsIgnoreCase(\"-debug\")) {\n debug = true;\n }\n else {\n usage();\n System.exit(-1);\n }\n }\n\n return;\n }", "title": "" }, { "docid": "6a3695ff15077e77c286b04ceccabdee", "score": "0.6398627", "text": "public void processInput(String[] args)\n\t{\n\t\tSIT.notifyUser(\"Verifing Files...\");\n\t\t//If no arguments specified, process all files with known extensions\n\t\t//in the current directory\n\t\tif (args.length == 0) \n\t\t{\n\t\t\taddFiles(getAllFilesInDirectory(System.getProperty(\"user.dir\")));\n\t\t}\n\t\t//If one argument is specified, and it is a language tag,\n\t\t//process all files of that type in the current folder\n\t\telse if(args.length == 1)\n\t\t{\n\t\t\tswitch (args[0]) \n\t\t\t{\n\t\t\t\t//If the tag is not recognized, the program exits with a warning\n\t\t\t\tcase \"-j\":\n\t\t\t\t\taddJavaFilesInDirectory(System.getProperty(\"user.dir\"));\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-a\":\n\t\t\t\t\taddAdaFilesInDirectory(System.getProperty(\"user.dir\"));\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-c\":\n\t\t\t\t\taddCppFilesInDirectory(System.getProperty(\"user.dir\"));\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-r\":\n\t\t\t\t\taddFiles(getAllFilesInDirectoryAndSubDirectories(System.getProperty(\"user.dir\")));\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-all\":\n\t\t\t\t\taddFiles(getAllFilesInDirectory(System.getProperty(\"user.dir\")));\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-help\":\n\t\t\t\tcase \"?\":\n\t\t\t\t\tSIT.displayHelp();\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tif(args[0].startsWith(\"-\"))\n\t\t\t\t\t{\n\t\t\t\t\t\tSIT.notifyUser(\"Error: unrecognized command: '\" + args[0] + \"'. Type -help for a list of valid commands.\");\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tSIT.notifyUser(\"Error: At least one language must be specified. Type -help for a list of valid commands.\");\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tSystem.exit(0);\n\t\t\t}//end switch\n\t\t}\n\t\t//If more than one argument is specified\n\t\telse\n\t\t{\n\t\t\tif( !(args[0].trim().startsWith(\"-\")))\n\t\t\t{\n\t\t\t\tSIT.notifyUser(\"Error: At least one language must be specified. Type -help for a list of valid commands.\");\n\t\t\t}\n\t\t\t\n\t\t\t//iterate through tag arguments and record which languages\n\t\t\t//the user wants to analyze for\n\t\t\tboolean tagZone = true;\n\t\t\tint nonTagsStart = 0;\n\t\t\tfor (int i = 0; i < args.length && tagZone; i++) \n\t\t\t{\n\t\t\t\tswitch (args[i]) \n\t\t\t\t{\n\t\t\t\t\t//By default, searches the current directory\n\t\t\t\t\tcase \"-j\":\n\t\t\t\t\t\tuJava = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"-a\":\n\t\t\t\t\t\tuAda = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"-c\":\n\t\t\t\t\t\tuCPP = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"-all\":\n\t\t\t\t\t\tuJava = true;\n\t\t\t\t\t\tuAda = true;\n\t\t\t\t\t\tuCPP = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"-help\":\n\t\t\t\t\tcase \"?\":\n\t\t\t\t\t\tSIT.displayHelp();\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tdefault:\n\t\t\t\t\t\ttagZone = false;\n\t\t\t\t\t\tnonTagsStart = i;\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t//add explicit file or directory names to fileList, if the user supplied them\n\t\t\tif (!tagZone) \n\t\t\t{\n\t\t\t\tboolean nameFragment = false;\t//Flag for whether the current argument is part of a file or \n\t\t\t\t\t\t\t\t\t\t\t\t//dir name (one that contains whitespace)\n\t\t\t\tboolean hasTag = false;\t\t//Flag for whether the next argument is a modifying tag for the\n\t\t\t\t\t\t\t\t\t\t\t//current file or directory\n\t\t\t\tFile f = new File(\"\");\n\t\t\t\t\n\t\t\t\t//This starts after the tags are processed\n\t\t\t\tfor (int i = nonTagsStart; i < args.length; i++) \n\t\t\t\t{\n\t\t\t\t\t\n\t\t\t\t\t//If the previous run of the loop detected that this argument was a tag,\n\t\t\t\t\t//Move right to the next argument\n\t\t\t\t\tif(hasTag)\n\t\t\t\t\t{\n\t\t\t\t\t\thasTag = false;\n\t\t\t\t\t\tnameFragment = false;\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t//If the current argument is part of a file or dir name,\n\t\t\t\t\t//add the word to the rest of the file name, and skip the rest of the for loop\n\t\t\t\t\t//Else if the flag is set to false, then add the previous filename to the input and\n\t\t\t\t\t//process the current argument\n\t\t\t\t\t//Then proceed as normal\n\t\t\t\t\tif(nameFragment)\t\n\t\t\t\t\t{\n\t\t\t\t\t\tFile temp = new File(args[i]);\n\t\t\t\t\t\t//If temp is a file or directory on its own, then f is not an existing path\n\t\t\t\t\t\t//so display an error and terminate the program\n\t\t\t\t\t\tif(temp.isFile() || temp.isDirectory())\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tSIT.notifyUser(\"Error: Invalid path: \" + f.getAbsolutePath());\n\t\t\t\t\t\t\t\tSystem.exit(0);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t//if temp was not a file/dir on its own, concatenate the current argument to f\n\t\t\t\t\t\telse\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t//nameFragment remains true\n\t\t\t\t\t\t\tf = new File(f.getAbsolutePath() + \" \" + args[i]);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t//If the newly-concatenated f is a file or directory,\n\t\t\t\t\t\t//add it to the input and set the nameFragment flag to false\n\t\t\t\t\t\t//If f is not a file or directory, and there are no more args to concatenate to f, then the path is invalid\n\t\t\t\t\t\tif(f.isFile() || f.isDirectory()) \n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttry\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\thasTag = verifyUserInputFileType(f.getAbsolutePath(), args[i + 1]);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcatch(ArrayIndexOutOfBoundsException ar)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\thasTag = verifyUserInputFileType(f.getAbsolutePath(), \" \");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tnameFragment = false;\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(i == args.length - 1)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tSIT.notifyUser(\"Error: Invalid path: \" + f.getAbsolutePath());\n\t\t\t\t\t\t\tSystem.exit(0);\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\t//Process only the current argument\n\t\t\t\t\t\tf = new File(args[i]);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t//If f is a file or directory, then add it to the input and set the nameFragment flag to false\n\t\t\t\t\t//TODO: This if statement always returns false on the first loop\n\t\t\t\t\tif (f.isFile() || f.isDirectory()) \n\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\thasTag = verifyUserInputFileType(f.getAbsolutePath(), args[i + 1]);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcatch(ArrayIndexOutOfBoundsException ar)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\thasTag = verifyUserInputFileType(f.getAbsolutePath(), \" \");\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tnameFragment = false;\n\t\t\t\t\t} \n\t\t\t\t\telse \n\t\t\t\t\t{\n\t\t\t\t\t\tnameFragment = true;\n\t\t\t\t\t}//end if\n\t\t\t\t}//end for\n\t\t\t\t\n\t\t\t\t//If the user declared a language tag but did not supply any files for this tag,\n\t\t\t\t//then the tag will pull all of that language from the current directory\n\t\t\t\tif(uJava && javaFiles.size() == 0)\n\t\t\t\t{\n\t\t\t\t\taddJavaFilesInDirectory(System.getProperty(\"user.dir\"));\n\t\t\t\t}\n\t\t\t\tif(uAda && adaFiles.size() == 0)\n\t\t\t\t{\n\t\t\t\t\taddAdaFilesInDirectory(System.getProperty(\"user.dir\"));\n\t\t\t\t}\n\t\t\t\tif(uCPP && cppFiles.size() == 0)\n\t\t\t\t{\n\t\t\t\t\taddCppFilesInDirectory(System.getProperty(\"user.dir\"));\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}//end if\n\t\n\t\tthis.analyze();\n\t}", "title": "" }, { "docid": "de07b9deb7ef1761fa8f0726794a4637", "score": "0.63853204", "text": "public static void main(String[] arg) {\n ArrayList<Item> items = new ArrayList<Item>();\n ArrayList<Rocket> U1Rockets= new ArrayList<Rocket>();\n ArrayList<U2> U2Rockets= new ArrayList<U2>();\n\n Simulation game = new Simulation();\n items = game.loadItems(\"/home/habib/IdeaProjects/SpaceX/Phase-1.txt\");\n U1Rockets = game.loadU1(items);\n U2Rockets = game.loadU2(items);\n int totalBudge = game.runSimulation(U1Rockets);\n }", "title": "" }, { "docid": "2a7c7369f4543559d8552065abfdef29", "score": "0.6329164", "text": "public void processArgs(String[] args){\r\n\t\tFile directory = null;\r\n\t\tPattern pat = Pattern.compile(\"-[a-z]\");\r\n\t\tfor (int i = 0; i<args.length; i++){\r\n\t\t\tString lcArg = args[i].toLowerCase();\r\n\t\t\tMatcher mat = pat.matcher(lcArg);\r\n\t\t\tif (mat.matches()){\r\n\t\t\t\tchar test = args[i].charAt(1);\r\n\t\t\t\ttry{\r\n\t\t\t\t\tswitch (test){\r\n\t\t\t\t\tcase 'f': directory = new File(args[i+1]); i++; break;\r\n\t\t\t\t\tcase 's': saveDirectory = new File(args[i+1]); i++; break;\r\n\t\t\t\t\tcase 'b': bunZip2App = new File(args[i+1]); i++; break;\r\n\t\t\t\t\tcase 'r': rotateMatrix = true; break;\r\n\t\t\t\t\tcase 'c': saveConcatenatedArray = true; break;\r\n\t\t\t\t\tcase 'h': printDocs(); System.exit(0);\r\n\t\t\t\t\tdefault: {\r\n\t\t\t\t\t\tSystem.out.println(\"\\nProblem, unknown option! \" + mat.group());\r\n\t\t\t\t\t\tSystem.exit(0);\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\tcatch (Exception e){\r\n\t\t\t\t\tSystem.out.print(\"\\nSorry, something doesn't look right with this parameter request: -\"+test+\"\\n\");\r\n\t\t\t\t\tSystem.exit(0);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t//check for tempDirectory\r\n\t\tif (directory == null || directory.exists()== false){\r\n\t\t\tSystem.out.println(\"\\nCannot find your 'xxx.cel' file or directory?! -> \"+directory);\r\n\t\t\tSystem.exit(0);\r\n\t\t}\r\n\t\tString extension = \"cel\";\r\n\t\tif (bunZip2App !=null) {\r\n\t\t\textension = \"cel.bz2\";\r\n\t\t\tif (bunZip2App.exists()==false )Misc.printExit(\"\\nError, cannot find your bunzip2 application -> \"+bunZip2App+\"\\n\");\r\n\t\t}\r\n\t\tcelFiles = IO.extractFiles(directory,extension);\r\n\t\t//any files\r\n\t\tif (celFiles.length == 0){\r\n\t\t\tSystem.out.println(\"\\nCannot find any 'xxx.\"+extension+\"' files?! -> \"+directory);\r\n\t\t\tSystem.exit(0);\r\n\t\t}\r\n\t\t//check for an alternative save directory\r\n\t\tif (saveDirectory !=null){ \r\n\t\t\tif (saveDirectory.isDirectory()== false) Misc.printExit(\"\\nError: cannot find or read your alternative results directory -> \"+saveDirectory+\"\\n\");\r\n\t\t}\r\n\t\telse saveDirectory = celFiles[0].getParentFile();\r\n\r\n\t}", "title": "" }, { "docid": "888e41d74fbc91c4c89302b64b4dd564", "score": "0.6321063", "text": "public void processArgs(String[] args){\n\t\tPattern pat = Pattern.compile(\"-[a-z]\");\n\t\tfor (int i = 0; i<args.length; i++){\n\t\t\tString lcArg = args[i].toLowerCase();\n\t\t\tMatcher mat = pat.matcher(lcArg);\n\t\t\tif (mat.matches()){\n\t\t\t\tchar test = args[i].charAt(1);\n\t\t\t\ttry{\n\t\t\t\t\tswitch (test){\n\t\t\t\t\tcase 'v': vcfFile = new File(args[++i]); break;\n\t\t\t\t\tdefault: Misc.printErrAndExit(\"\\nProblem, unknown option! \" + mat.group());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tcatch (Exception e){\n\t\t\t\t\tMisc.printErrAndExit(\"\\nSorry, something doesn't look right with this parameter: -\"+test+\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"\\n\"+IO.fetchUSeqVersion()+\" Arguments: \"+ Misc.stringArrayToString(args, \" \") +\"\\n\");\n\n\t}", "title": "" }, { "docid": "0327797539611c99406cb4db87d4b5df", "score": "0.6245903", "text": "public static void main(String[] args) {\n\t\tint[] arr = {3,12,34,2,0,-1};\n\t\tleaders(arr);\n\t}", "title": "" }, { "docid": "b3452aa3e9701b5188c8bc8dd1c61c4b", "score": "0.6204176", "text": "public static boolean parseArguments(String[] argv) {\n boolean foundDict=false;\n String autoLoadString = null;\n\n if (argv.length == 0) {\n autoLoadString = props.getProperty(\"kirrkirr.AutoLoadDefault\");\n defaultProfile = props.getProperty(\"kirrkirr.defaultProfile\");\n // Madhu:'00,for I18n\n langCode = props.getProperty(\"kirrkirr.langCode\");\n countryCode = props.getProperty(\"kirrkirr.countryCode\");\n foundDict = RelFile.setDictionaryDir(props.getProperty(\"kirrkirr.dictionaryDirectory\"));\n if (Dbg.VERBOSE) Dbg.print(\"setDictionary to \" + props.getProperty(\"kirrkirr.dictionaryDirectory\") + \" foundDict=\" + foundDict);\n String oldN = props.getProperty(DirsOptionPanel.PROP_OLDNETWORK);\n oldNetwork = (oldN != null && oldN.equalsIgnoreCase(\"true\"));\n String oldD = props.getProperty(DirsOptionPanel.PROP_OLDDOMAINS);\n oldSemanticDomains = (oldD != null && oldD.equalsIgnoreCase(\"true\"));\n } else if (argv[0].equals(\"-web\")) {\n APPLET = true;\n foundDict=RelFile.setDictionaryDir(argv[1]);\n if (Dbg.K) Dbg.print(\"dictionaryDirectory is |\" + argv[1] + \"|\");\n } else if ( (argv.length < 6) || (argv[0].equals(\"-help\"))) {\n System.out.println(\"Kirrkirr Usage: java Kirrkirr.Kirrkirr\");\n System.out.println(\"OR: java Kirrkirr xmlDocument clkIndexFile glossClkFile autoLoadBoolean defaultProfile languageCode\");\n System.exit(0);\n } else {\n xmlFile = argv[0];\n indexFile = argv[1];\n engIndexFile =argv[2];\n autoLoadString = argv[3]; //Madhu:'00\n defaultProfile = argv[4];\n langCode = argv[5];\n }\n\n if (autoLoadString!=null && autoLoadString.equalsIgnoreCase(\"true\")) {\n autoLoadDefault = true;\n }\n if (langCode == null || langCode.equals(\"\")) {\n langCode = \"en\";\n }\n if (countryCode == null || countryCode.equals(\"\")) {\n countryCode = \"AU\";\n }\n if (foundDict) {\n foundDict = readInDictionaryInfo(RelFile.dictionaryDir, props);\n }\n if (Dbg.ERROR && ! foundDict) {\n Dbg.print(\"Dictionary spec file not found: \" + RelFile.dictionaryDir);\n }\n return foundDict;\n }", "title": "" }, { "docid": "bb9dd689dbd086fe3822d8244c60db25", "score": "0.61699176", "text": "public static void main( String[] args ) {\n if(args.length != 10) {\n System.out.println(\"ERROR: Incorrect number of arguments. Correct usage:\");\n System.out.println(\"java locAL <seq file1> <seq file2> -m <match> -s <mismatch> -go <gap-open> -ge <gap-extend>\");\n System.exit(-1);\n }\n \n // Make parameter vars\n String fileSeq1 = null;\n String fileSeq2 = null;\n \n // Parse args\n try {\n fileSeq1 = args[0];\n fileSeq2 = args[1];\n for(int i = 2; i < args.length; ++i) {\n if(args[i].equals(\"-m\")) {\n match = Integer.parseInt(args[i+1]);\n ++i;\n }\n else if(args[i].equals(\"-s\")) {\n mismatch = Integer.parseInt(args[i+1]);\n ++i;\n }\n else if(args[i].equals(\"-go\")) {\n go = Integer.parseInt(args[i+1]);\n ++i;\n }\n else if(args[i].equals(\"-ge\")) {\n ge = Integer.parseInt(args[i+1]);\n ++i;\n }\n }\n } catch(Exception e) {\n System.out.println(\"ERROR: Arguments are incorrect. Correct usage:\");\n System.out.println(\"java locAL <seq file1> <seq file2> -m <match> -s <mismatch> -go <gap-open> -ge <gap-extend>\");\n System.exit(-1);\n }\n \n // Begin file parse for seqs\n try {\n // Read File 1\n String line = null;\n BufferedReader readSeq1 = new BufferedReader(new FileReader(fileSeq1));\n String tempSeq = \"\";\n f1heads.add(readSeq1.readLine()); // read first line (header)\n while((line = readSeq1.readLine()) != null) {\n if(line.length() != 0) {\n // If header line:\n if(line.charAt(0) == '>') {\n f1heads.add(line);\n f1seqs.add(tempSeq);\n tempSeq = \"\";\n }\n // If sequence line\n else if(line.length() != 0) {\n tempSeq += line;\n }\n }\n }\n f1seqs.add(tempSeq);\n\n // Read File 2\n line = null;\n BufferedReader readSeq2 = new BufferedReader(new FileReader(fileSeq2));\n tempSeq = \"\";\n f2heads.add(readSeq2.readLine()); // read first line (header)\n while((line = readSeq2.readLine()) != null) {\n if(line.length() != 0) {\n // If header line:\n if(line.charAt(0) == '>') {\n f2heads.add(line);\n f2seqs.add(tempSeq);\n tempSeq = \"\";\n }\n // If sequence line\n else {\n tempSeq += line;\n }\n }\n }\n f2seqs.add(tempSeq);\n } catch(Exception e) {\n System.out.println(\"ERROR: Something went wrong when reading files.\");\n System.exit(-1);\n }\n \n // Check for equal # seqs\n if(f1heads.size() != f2heads.size() || f1heads.size() != f1seqs.size() || f1heads.size() != f2seqs.size()) {\n System.out.println(\"Number of sequences in files don't match. Please check files and try again.\");\n System.exit(-1);\n }\n \n System.out.println(\"seq_from_file1,seq_from_file2,alignment_score,alignment_length\");\n \n for(int i = 0; i < f1heads.size(); ++i) {\n System.err.println(\"Aligning sequence pair \" + (i+1) + \"/\" + f1heads.size());\n int[] optimal = S(f1seqs.get(i),f2seqs.get(i));\n int alignScore = optimal[0];\n int endI = optimal[2];\n int endJ = optimal[3];\n String trimS = f1seqs.get(i).substring(0,endI+1);\n String trimT = f2seqs.get(i).substring(0,endJ+1);\n optimal = S(new StringBuilder(trimS).reverse().toString(), new StringBuilder(trimT).reverse().toString());\n int startI = trimS.length() - optimal[2] - 1;\n int startJ = trimT.length() - optimal[3] - 1;\n \n int alignLength = endI - startI + 1 + optimal[1];\n System.out.println(f1heads.get(i)+\",\"+f2heads.get(i)+\",\"+alignScore+\",\"+alignLength);\n }\n }", "title": "" }, { "docid": "fe74d97d2545b18971d197f275f0e809", "score": "0.61110306", "text": "private void cli (String[] args)\n {\n if (args.length < 2) {\n System.out.println(\"Usage: <analyzer> input-file output-file\");\n return;\n }\n dataFilename = args[1];\n super.cli(args[0], this);\n }", "title": "" }, { "docid": "6a08ac5848b9a66864b04bd4f7762496", "score": "0.6083115", "text": "public static void main(String argv[]){\r\n \t\r\n \t\r\n \t\r\n }", "title": "" }, { "docid": "366f09a417a87b494ace641065aafb8b", "score": "0.6075802", "text": "public static void main(String[] args){\n try {\n parser asin = new parser(\n new Lexer( new FileReader(args[0])));\n Object result = asin.parse().value;\n System.out.println(\"\\n*** Resultados finales ***\");\n } catch (Exception ex) {\n ex.printStackTrace();\n }\n }", "title": "" }, { "docid": "3943c478132a1e53fe22ddceaa1694df", "score": "0.6063554", "text": "public static void main(String[] args){\r\n try {\r\n AnalizadorSintactico asin = new AnalizadorSintactico(\r\n new AnalizadorLexico( new FileReader(args[0])));\r\n Object result = asin.parse().value;\r\n System.out.println(\"\\n*** Sin Errores de Compilacion ***\");\r\n } catch (Exception ex) {\r\n ex.printStackTrace();\r\n }\r\n }", "title": "" }, { "docid": "bfa0d39d800aa0c0e25e754d5dd9e9e2", "score": "0.6061257", "text": "public static void main(String[] args) {\n\t\t\n//\t\tLabOptListRun wf = new LabOptListRun();\n//\t\t\n//\t\ttry {\n//\t\t\n//\t\t\tOPTsolBatch optInput = wf.listLoad(inputFolder, datasetName);\n//\t\t\t\t\n//\t\t\tFacade.buildOPTanalysisFiles(optInput,outputPath);\n//\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} catch (WrongContolException e) {\n//\t\t\t// TODO Auto-generated catch block\n//\t\t\te.printStackTrace();\n//\t\t} catch (InvalidImplementationException 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\tLOG.debug(\"DONE!\");\n\t}", "title": "" }, { "docid": "3b8d707e6ff7c13bfc9e033ad1ba5630", "score": "0.6036876", "text": "public static void main(String[] args) {\n \n if (args.length > 1){\n switch (args[0]){ //switch argument concieved\n case \"-p\": //first case\n System.out.printf(\"\\nNow parsing file %s \\n\\n\", args[1]);\n Parser p = new Parser(args[1]); //set parser to new parser\n while (!p.endOfFileReached()){ //executes until end of file is reached\n p.parseProgram();\n // parseProgram parses for 1 complete function at a time\n // loop will execute until all of the listed functions have been parsed\n }\n System.out.println(\"\\nEnd of file reached.\"); //print result stating end of file reached\n break;\n case \"-s\": //second case\n System.out.printf(\"\\nNow Scanning file %s \\n\\n\", args[1]);\n Scanner s = new Scanner(new java.io.File(args[1]));\n while (!s.endOfFileReached()){ //executes until end of file has been reached\n\n //next token is converted to a string by the convertType function\n System.out.printf(\"%s, row %d, col %d, symbol: %s\\n\",\n s.convertType(s.nextToken()), s.getRow(), s.getCol(), s.currentLexeme);\n } //\n System.out.println(\"\\nEnd of file reached.\"); //print result stating end of file reached\n break;\n case \"-e\": //third case\n System.out.printf(\"\\nNow Executing file %s \\n\\n\", args[1]);\n Parser p2 = new Parser(args[1]); //set parser p2 to new parser arugument one\n p2.running = true; //set running parser to true \n while (!p2.endOfFileReached()){ //executes until end of file has been reached\n p2.parseProgram();\n // parser both parses line by line and then executes corresponding function\n // loop will execute until all functions have been parsed\n }\n break;\n }\n } else {\n System.out.printf(\"\\nNow Executing file: %s \\n\\n\", args[0]);\n Parser p2 = new Parser(args[0]); //set parser p2 to new parser with argument 0\n p2.running = true; //set running parser to true\n while (!p2.endOfFileReached()){ //executes until end of file has been reached\n p2.parseProgram();\n // parser both parses line by line and then executes the corresponding function\n // loop will execute until all of the functions have been parsed\n }\n }\n\n// for testing purposes:\n// System.out.println(\"\\nIdentifier Table: \\n\\n\");\n// p2.printIdTable();\n }", "title": "" }, { "docid": "33820c856dd54f58080fc4a2ba657ddc", "score": "0.6036206", "text": "private void parseArgs(String[] args) {\n\t\tif(args.length < 7)\n\t\t{\n\t\t\tprintUsage();\n\t\t\tSystem.exit(-1);\n\t\t}else{\n\t\t\ttry{\n\t\t\t\tinputFile= args[3];\n\t\t\t\toutputFile= args[4];\n\t\t\t\tif(!args[5].isEmpty())\tdf = Double.parseDouble(args[5]);\n\t\t\t\tif(!args[6].isEmpty())\titerations = Integer.parseInt(args[6]);\n\t\t\t}catch(Exception e){\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "ab8500d1f65276abdd007868f2b93d2a", "score": "0.6022936", "text": "public static void main(String args[]) throws IOException\n\t{\n\tSystem.out.println(\"The first cmd line argument is: \" + args[0]);\n\n\ttakeUserInput();\n \n regexToExtractString();\n\n\tsplitString();\n\n\thashmapNStrCase();\n\n\treadFile();\n\n\twriteFile();\n\n\tstringComparisons();\n\n\tconvertArrayToList();\n\t}", "title": "" }, { "docid": "2e62b98e49d6d74e18aee397da89c6c1", "score": "0.6019355", "text": "public static void main(String[] args) {\n\t\tVariables.predPercentCharged = Double.parseDouble(args[0]);\n\t\tVariables.hiddenLayerSizesPred = new int[]{Integer.parseInt(args[1])};\n\t\t\n\t\tVariables.preyPercentCharged = Double.parseDouble(args[2]);\n\t\tVariables.hiddenLayerSizesPrey= new int[]{Integer.parseInt(args[3])};\n\t\t\n\t\tVariables.coreRad = Double.parseDouble(args[4]);\n\t\tVariables.perceptionLimit = Double.parseDouble(args[5]);\n\t\t\n\t\tVariables.canFall = Boolean.parseBoolean(args[6]);\n\t\tVariables.runBase = \"V1/V1-\" + args[6] + \"-rc\" + args[4] + \"-pl\" + args[5] + \"-pdh\" + args[0] + \"-pdc\" + args[1] + \"-pyh\" + args[2] + \"-pyc\" + args[3];\n\t\t\n\t\tnew Main();\n\t}", "title": "" }, { "docid": "35bc42395a7440680f185a46ee4332e5", "score": "0.6015243", "text": "public static void main(String[] args) {\n\t\t\n\t\tSymbolsTable tos = new SymbolsTable();\n\t\tLexicalAnalyzer lex = new LexicalAnalyzer(tos);\n\t\tLLVMGenerator llvm = new LLVMGenerator();\n\t\tParser parser = new Parser(lex, tos, llvm);\n\t\t\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tnew DataInputStream(new FileInputStream(args[0]))));\n\t\t\tString input = \"\";\n\t\t\tString line;\n\t\t\twhile((line = br.readLine()) != null) {\n\t\t\t\tinput += line + \"\\n\";\n\t\t\t}\n\t\t\tinput = input.substring(0, input.length()-1);//Removes the final '\\n'\n\t\t\tinput += \"#\";\n\t\t\tinput = input.replaceAll(\"\\t\", \"\");\n\t\t\t\n\t\t\tparser.parse(input);\n\t\t\t\n\t\t\tbr.close();\n\t\t\t\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}\n\t}", "title": "" }, { "docid": "94e736ab68250acb701b1751d9938edf", "score": "0.5980932", "text": "public static void main(String[] args) throws IOException, StopExecutionException, JAXBException, URISyntaxException, ParseException {\n \n File configFile;\n ChecksumParser checksumParser;\n List<String> uuids;\n UuidFileReader uuidFileReader = new TrivialUuidFileReader();\n \n switch (args.length) {\n case 2:\n configFile = new File(args[0]);\n checksumParser = new ChecksumParser(new BufferedReader(new FileReader(new File(args[1]))));\n System.out.println(\"Reading uuids from stdin..\");\n uuids = uuidFileReader.readUuids(new BufferedReader(new InputStreamReader(System.in)));\n run(configFile, checksumParser, uuids);\n break;\n case 3:\n configFile = new File(args[0]);\n checksumParser = new ChecksumParser(new BufferedReader(new FileReader(new File(args[1]))));\n System.out.println(\"Reading uuids from \" + args[1]);\n File uuidfile = new File(args[2]);\n uuids = uuidFileReader.readUuids(uuidfile);\n run(configFile, checksumParser, uuids);\n break;\n default:\n System.out.println(\"Usage: bin/fileenricher.sh config-file checksum-file [uuid-file]\");\n System.exit(1);\n }\n }", "title": "" }, { "docid": "2ed107fbb3479a0ddaed0a6d8d44ddad", "score": "0.59793884", "text": "public void testMain(Object[] args) \n\t{\n\t\tString path = \"C:\\\\Users\\\\Rodolfo\\\\Documents\\\\School\\\\Soft Testing\\\\CEN4072-ProjectArtifacts\\\\ProjectArtifacts\\\\Source Code\\\\\";\n\t\t\n\t\t//Delete cobertura files\n\t\tFile file = new File( path + \"PantherLot Main\\\\cobertura.ser\");\n\t\tFile file2 = new File( path + \"PantherLot Security\\\\cobertura.ser\");\n\t\tFile file3 = new File( path + \"PantherLot Spot\\\\cobertura.ser\");\n\n\t\tfile.delete();\n\t\tfile2.delete();\n\t\tfile3.delete();\n\t\t\n\t\t// TODO Insert code here\n\t\tcallScript(\"PLI011Sunny\");\n\t\tcallScript(\"PLI011Rainy\");\n\t\tcallScript(\"PLI012Sunny\");\n\t\tcallScript(\"PLI012Rainy\");\n\t\tcallScript(\"PLIS05\");\n\t\tcallScript(\"PLIS06\");\n\t\tcallScript(\"TestDirections1\");\n\t\tcallScript(\"TestDirections2\");\n\t\tcallScript(\"TestDirections3\");\n\t\tcallScript(\"TestDirections4\");\n\t\tcallScript(\"TestDirections5\");\n\t\tcallScript(\"TestDirections6\");\n\t\tcallScript(\"TestHandicap1\");\n\t\tcallScript(\"TestHandicap2\");\n\t\tcallScript(\"TestHandicap3\");\n\t\tcallScript(\"TestHandicap4\");\n\t\tcallScript(\"TestHandicap5\");\n\t\tcallScript(\"TestHandicap6\");\n\t\tcallScript(\"Implementation001\");\n\t\tcallScript(\"Implementation002\");\n\t\tcallScript(\"Implementation003\");\n\t}", "title": "" }, { "docid": "d487938ff2693e55a07ea9dde66b9d55", "score": "0.5972774", "text": "public static void main(String args[])\n {\n int failcount = 0;\n\n // Initialize Rhino JS engine...\n Context cx = Context.enter();\n try {\n for (String filename : args) {\n System.out.print(filename);\n String source;\n try {\n source = readFileAsString(filename);\n } catch (Exception e) {\n System.out.println(\" READ FAIL: \" + e.getMessage());\n continue;\n }\n\n // Just try compiling...\n try {\n cx.compileString(source, filename, 0, null);\n System.out.println(\" OK\");\n } catch (Exception e) {\n System.out.println(\" COMPILE FAIL: \" + e.getMessage());\n failcount++;\n }\n }\n } finally {\n // Exit from the context.\n Context.exit();\n }\n if (failcount > 0) {\n System.exit(1);\n }\n }", "title": "" }, { "docid": "6d832b52c336709861aca74ecd2a2abd", "score": "0.5964777", "text": "public static void main(String[] args) {\n\t\tReader reader = new Reader(args[0]);\r\n\t\ttry {\r\n\t\t\tPQA matrizes = reader.processFile();\r\n\t\t\tEvolucaoDiferencial main = new EvolucaoDiferencial(matrizes);\r\n\t\t\tmain.loop();\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}", "title": "" }, { "docid": "0d19425eb8f4f27761716734bf30e872", "score": "0.59607583", "text": "public static void main(String[] args) {\n\n byte[] srcs = FileUtils.readBinaryFile(\"resources.arsc\");\n parse(srcs);\n\n// byte[] src = FileUtils.readBinaryFile(\"D:/Workspace/Java/ArscParser/activity_main.xml\");\n// byte[] src = FileUtils.readBinaryFile(\"D:/Workspace/Java/ArscParser/AndroidManifest.xml\");\n// ParseUtils.parseXml(src);\n }", "title": "" }, { "docid": "6c4d10a43ed06d8d229005d9c55de0de", "score": "0.59432244", "text": "void main(String[] args);", "title": "" }, { "docid": "e55aa022ad61235f07b002107208e690", "score": "0.59256756", "text": "public static void main(String args[]) {\n\n File file = new File(args[0]);\n StudyPlanner studyPlanner = new StudyPlanner();\n try {\n studyPlanner.readFile(file);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n\n\n }", "title": "" }, { "docid": "0ea1a7426d4bfd0c20177d4f2e096c04", "score": "0.59219664", "text": "public static void main(String[] args) {\n\n\t\t/** cntroller which will be executed */\n\t\tString controller = \"emergence_NI.Agent\";\n\t\tString parameter = \"\";\n\n\t\t/** game which will be played */\n\t\tString gameStr = \"survivezombies\";\n\n\t\t// \"aliens\", \"boulderdash\", \"buterflies\", \"chase\", \"frogs\",\n\t\t// \"missilecommand\", \"portals\", \"sokoban\", \"survivezombies\", \"zelda\",\n\t\t// \"camelRace\", \"digdug\", \"firestorms\", \"infection\", \"firecaster\",\n\t\t// \"overload\", \"pacman\", \"seaquest\", \"whackamole\", \"eggomania\"\n\n\t\t/** available games */\n\t\tString gamesPath = \"examples/gridphysics/\";\n\n\t\t// Game and level to play\n\t\tString game = gamesPath + gameStr + \".txt\";\n\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tString level1 = gamesPath + gameStr + \"_lvl\" + i + \".txt\";\n\t\t\tExec.execute(controller, game, level1, parameter, true, true);\n\t\t}\n\n\t}", "title": "" }, { "docid": "14ae4ebcc4d872bc640967005a082ce6", "score": "0.5921324", "text": "void run(String[] args);", "title": "" }, { "docid": "6e8fde8cbd2bfe20a05f174c5ea1a59e", "score": "0.5917881", "text": "public static void main(String[]argv){\t\t\n\t\n\t}", "title": "" }, { "docid": "c96999bbc69f7a4b4638f7306f915673", "score": "0.59174865", "text": "private void parse(String[] args) {\n CommandLine commandLine = null;\n // Parse the command line.\n CommandLineParser parser = new DefaultParser();\n try {\n // Parse the options and return the command line object.\n commandLine = parser.parse(options, args);\n\n // Check to see if only help is requested.\n if (commandLine.hasOption(\"help\")) {\n System.out.println(\"RDT help:\");\n printUsage();\n System.exit(0);\n }\n\n rdtInputFile = commandLine.getOptionValue(INPUT_LONG_FLAG);\n outputFile = commandLine.getOptionValue(OUTPUT_LONG_FLAG);\n busShpFile = commandLine.getOptionValue(BUS_SHP_LONG_FLAG);\n genShpFile = commandLine.getOptionValue(GEN_SHP_LONG_FLAG);\n loadShpFile = commandLine.getOptionValue(LOAD_SHP_LONG_FLAG);\n branchShpFile = commandLine.getOptionValue(BRANCH_SHP_LONG_FLAG);\n \n busJSONFile = commandLine.getOptionValue(BUS_JSON_LONG_FLAG);\n genJSONFile = commandLine.getOptionValue(GEN_JSON_LONG_FLAG);\n loadJSONFile = commandLine.getOptionValue(LOAD_JSON_LONG_FLAG);\n branchJSONFile = commandLine.getOptionValue(BRANCH_JSON_LONG_FLAG);\n }\n catch (ParseException exp) {\n printUsage();\n System.exit(1);\n }\n }", "title": "" }, { "docid": "aa6ae29c50d16dd6dbb5ed59fa83df2f", "score": "0.58913714", "text": "public static void main(String argv[]) {\n if (argv.length == 0) {\n System.out.println(\"Usage : java lexico_replay [ --encoding <name> ] <inputfile(s)>\");\n } else {\n int firstFilePos = 0;\n String encodingName = \"UTF-8\";\n if (argv[0].equals(\"--encoding\")) {\n firstFilePos = 2;\n encodingName = argv[1];\n try {\n java.nio.charset.Charset.forName(encodingName); // Side-effect: is encodingName valid? \n } catch (Exception e) {\n System.out.println(\"Invalid encoding '\" + encodingName + \"'\");\n return;\n }\n }\n for (int i = firstFilePos; i < argv.length; i++) {\n lexico_replay scanner = null;\n try {\n java.io.FileInputStream stream = new java.io.FileInputStream(argv[i]);\n java.io.Reader reader = new java.io.InputStreamReader(stream, encodingName);\n scanner = new lexico_replay(reader);\n while (!scanner.zzAtEOF) {\n scanner.debug_next_token();\n }\n } catch (java.io.FileNotFoundException e) {\n System.out.println(\"File not found : \\\"\" + argv[i] + \"\\\"\");\n } catch (java.io.IOException e) {\n System.out.println(\"IO error scanning file \\\"\" + argv[i] + \"\\\"\");\n System.out.println(e);\n } catch (Exception e) {\n System.out.println(\"Unexpected exception:\");\n e.printStackTrace();\n }\n }\n }\n }", "title": "" }, { "docid": "2eff69934d604a38d0996562a2878cb1", "score": "0.5887879", "text": "protected static boolean readArgs(String[] args){\n \t\t//initialise default values\n \t\ttextFiles = \"./textFiles.txt\";\n \t\tdoneFileName = \"./done.txt\";\n \t\tfeatOutDirName = \"./features1\";\n \t\tmaryHost = \"localhost\";\n \t\tmaryPort = \"59125\";\n \t\ttimeOutAfter = 30000;\n \t\tunreliableLogFile = \"./unreliableSents.log\";\n \t\tstrictCredibility = true;\n \t\tbasenamesOutFile = \"./basenames.lst\";\n \t\t\n \t\t//now parse the args\n \t\tint i = 0;\n \t\twhile (args.length>i){\n \t\t\tSystem.out.println(args[i]);\n \t\t\tif (args[i].equals(\"-basenames\")){\n \t\t\t\tif (args.length<i+1){\n \t\t\t\t\ti++;\n \t\t\t\t\tbasenamesOutFile = args[i];\n \t\t\t\t\tSystem.out.println(\"-basenames \"+args[i]);\n \t\t\t\t} else {\n \t\t\t\t\tSystem.out.println(\"Please specify a file after -basenames\");\n \t\t\t\t\treturn false;\n \t\t\t\t}\n \t\t\t\ti++;\n \t\t\t\tcontinue;\n \t\t\t}\n \t\t\tif (args[i].equals(\"-textFiles\")){\n \t\t\t\tif (args.length<i+1){\n \t\t\t\t\ti++;\n \t\t\t\t\ttextFiles = args[i];\n \t\t\t\t\tSystem.out.println(\"-textFiles \"+args[i]);\n \t\t\t\t} else {\n \t\t\t\t\tSystem.out.println(\"Please specify a file after -textFiles\");\n \t\t\t\t\treturn false;\n \t\t\t\t}\n \t\t\t\ti++;\n \t\t\t\tcontinue;\n \t\t\t}\n \t\t\tif (args[i].equals(\"-featureDir\")){\n \t\t\t\tif (args.length<i+1){\n \t\t\t\t\ti++;\n \t\t\t\t\tfeatOutDirName = args[i];\n \t\t\t\t\tSystem.out.println(\"-featureDir \"+args[i]);\n \t\t\t\t} else {\n \t\t\t\t\tSystem.out.println(\"Please specify a directory after -featureDir\");\n \t\t\t\t\treturn false;\n \t\t\t\t}\n \t\t\t\ti++;\n \t\t\t\tcontinue;\n \t\t\t}\n \t\t\t\n \t\t\tif (args[i].equals(\"-doneFile\")){\n \t\t\t\tif (args.length<i+1){\n \t\t\t\t\ti++;\n \t\t\t\t\tdoneFileName = args[i];\n \t\t\t\t\tSystem.out.println(\"-doneFile \"+args[i]);\n \t\t\t\t} else {\n \t\t\t\t\tSystem.out.println(\"Please specify a file after -doneFile\");\n \t\t\t\t\treturn false;\n \t\t\t\t}\n \t\t\t\ti++;\n \t\t\t\tcontinue;\n \t\t\t}\n \t\t\tif (args[i].equals(\"-host\")){\n \t\t\t\tif (args.length<i+1){\n \t\t\t\t\ti++;\n \t\t\t\t\tmaryHost = args[i];\n \t\t\t\t\tSystem.out.println(\"-host \"+args[i]);\n \t\t\t\t} else {\n \t\t\t\t\tSystem.out.println(\"Please specify a server host after -host\");\n \t\t\t\t\treturn false;\n \t\t\t\t}\n \t\t\t\ti++;\n \t\t\t\tcontinue;\n \t\t\t}\n \t\t\tif (args[i].equals(\"-port\")){\n \t\t\t\tif (args.length<i+1){\n \t\t\t\t\ti++;\n \t\t\t\t\tmaryPort = args[i];\n \t\t\t\t\tSystem.out.println(\"-port \"+args[i]);\n \t\t\t\t} else {\n \t\t\t\t\tSystem.out.println(\"Please specify a server port after -port\");\n \t\t\t\t\treturn false;\n \t\t\t\t}\n \t\t\t\ti++;\n \t\t\t\tcontinue;\n \t\t\t}\n \t\t\tif (args[i].equals(\"-timeOut\")){\n \t\t\t\tif (args.length<i+1){\n \t\t\t\t\ti++;\n \t\t\t\t\ttimeOutAfter = Integer.parseInt(args[i]);\n \t\t\t\t\tSystem.out.println(\"-timeOut \"+args[i]);\n \t\t\t\t} else {\n \t\t\t\t\tSystem.out.println(\"Please specify the timeout (in ms) after -timeOut\");\n \t\t\t\t\treturn false;\n \t\t\t\t}\n \t\t\t\ti++;\n \t\t\t\tcontinue;\n \t\t\t}\n \t\t\tif (args[i].equals(\"-unreliableLog\")){\n \t\t\t\tif (args.length<i+1){\n \t\t\t\t\ti++;\n \t\t\t\t\tunreliableLogFile = args[i];\n \t\t\t\t\tSystem.out.println(\"unreliableLog \"+unreliableLogFile);\n \t\t\t\t} else {\n \t\t\t\t\tSystem.out.println(\"Please specify a file after -unreliableLog\");\n \t\t\t\t\treturn false;\n \t\t\t\t}\n \t\t\t\ti++;\n \t\t\t\tcontinue;\n \t\t\t}\n \t\t\tif (args[i].equals(\"-credibility\")){\n \t\t\t\tif (args.length<i+1){\n \t\t\t\t\ti++;\n \t\t\t\t\tString credibilitySetting = args[i];\n \t\t\t\t\tif (credibilitySetting.equals(\"strict\")\n \t\t\t\t\t\t\t|| credibilitySetting.equals(\"strict\")){\n \t\t\t\t\t\tstrictCredibility = true;\n \t\t\t\t\t\tSystem.out.println(\"credibility strict\");\n \t\t\t\t\t} else {\n \t\t\t\t\t\tif (credibilitySetting.equals(\"lax\")\n \t\t\t\t\t\t\t\t|| credibilitySetting.equals(\"lax\")){\n \t\t\t\t\t\t\tstrictCredibility = false;\n \t\t\t\t\t\t\tSystem.out.println(\"credibility lax\");\n \t\t\t\t\t\t} else {\n \t\t\t\t\t\t\tSystem.out.println(\"Unknown argument for credibility \"\n \t\t\t\t\t\t\t\t\t+credibilitySetting);\n \t\t\t\t\t\t\treturn false;\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t} else {\n \t\t\t\t\tSystem.out.println(\"Please specify setting \\\"strict\\\" or \\\"lax\\\" after -credibility\");\n \t\t\t\t\treturn false;\n \t\t\t\t}\n \t\t\t\ti++;\n \t\t\t\tcontinue;\n \t\t\t}\n \t\t\t//unknown argument\n \t\t\tSystem.out.println(\"Unknown argument \"+args[i]);\n \t\t\treturn false;\n \t\t}\n \t\t//construct the name of the sentence dir from the feature dir\n \t\toutDirIndex = 1;\n \t\tif (featOutDirName.equals(\"features1\")){\n \t\t\t//default name\n \t\t\tsentOutDirName = \"./sentences1\";\n \t\t} else {\n \t\t\tif (featOutDirName.matches(\".*\\\\d+\")){\n \t\t\t\t//featOutDir ends with digit\n \t\t\t\t//add digit to end of sentOutDirName\n \t\t\t\tPattern digitPattern = Pattern.compile(\"\\\\d+\");\n \t\t\t\tMatcher m = digitPattern.matcher(featOutDirName);\n \t\t\t\tm.find();\n \t\t\t\toutDirIndex = Integer.parseInt(m.group()); \n \t\t\t\tsentOutDirName = \"./sentences\"+outDirIndex;\n \t\t\t} else {\n \t\t\t\t//no digit at end of feature dir name - add one\n \t\t\t\tfeatOutDirName = featOutDirName+\"1\";\n \t\t\t\tsentOutDirName = \"./sentences1\";\n \t\t\t}\n \t\t}\n \t\treturn true;\n \t}", "title": "" }, { "docid": "b62867119d15f763581d6381355df811", "score": "0.58839047", "text": "public static void main(String[] args) {\n\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "031338f385f4510f30099108e452a0fa", "score": "0.5882983", "text": "public static void main(String args[])\r\n\t{\n\t\tint port = Constants.DEF_PORT;\r\n\t\tboolean verbose = false;\r\n\t\tFile dataDir = new File(Constants.DEFAULT_DATA_DIR);\r\n\t\tString elementExt = Constants.ELEMENT_LIST_EXTENSION;\r\n\t\tString worldExt = Constants.WORLD_EXTENSION;\r\n\t\tFile[] worldFiles = null;\r\n\t\tFile[] elementFiles = null;\r\n\t\tboolean gui = true;\r\n\t\tfor(int i=0; i < args.length; i++)\r\n\t\t{\r\n\t\t\tif(args[i].equalsIgnoreCase(\"-v\"))\r\n\t\t\t{\r\n\t\t\t\tverbose = true;\r\n\t\t\t}\r\n\t\t\telse if(args[i].equalsIgnoreCase(\"-dir\"))\r\n\t\t\t{\r\n\t\t\t\tif(args.length == i)\r\n\t\t\t\t{\r\n\t\t\t\t\tSystem.err.println(\"Bad usage of -dir option. Syntax: -dir <directory>\");\r\n\t\t\t\t\tSystem.exit(1);\r\n\t\t\t\t}\r\n\t\t\t\tdataDir = new File(args[++i]);\r\n\t\t\t}\r\n\t\t\telse if(args[i].equalsIgnoreCase(\"-eext\"))\r\n\t\t\t{\r\n\t\t\t\tif(args.length == i)\r\n\t\t\t\t{\r\n\t\t\t\t\tSystem.err.println(\"Bad usage of -eext option. Syntax: -eext <element file ext>\");\r\n\t\t\t\t\tSystem.exit(1);\r\n\t\t\t\t}\r\n\t\t\t\telementExt = args[++i];\r\n\t\t\t}\r\n\t\t\telse if(args[i].equalsIgnoreCase(\"-wext\"))\r\n\t\t\t{\r\n\t\t\t\tif(args.length == i)\r\n\t\t\t\t{\r\n\t\t\t\t\tSystem.err.println(\"Bad usage of -wext option. Syntax: -wext <world file ext>\");\r\n\t\t\t\t\tSystem.exit(1);\r\n\t\t\t\t}\r\n\t\t\t\tworldExt = args[++i];\r\n\t\t\t}\r\n\t\t\telse if(args[i].equalsIgnoreCase(\"-wfiles\"))\r\n\t\t\t{\r\n\t\t\t\tif(args.length == i)\r\n\t\t\t\t{\r\n\t\t\t\t\tSystem.err.println(\"Bad usage of -wfiles option. Syntax: -wfiles <world file> [world file [world file [...]]]\");\r\n\t\t\t\t\tSystem.exit(1);\r\n\t\t\t\t}\r\n\t\t\t\tFile[] tmpFiles = new File[args.length];\r\n\r\n\t\t\t\t// We assume that there will be at least _one_ file.\r\n\t\t\t\ttmpFiles[0] = new File(args[i+1]);\r\n\t\t\t\tint j = 1;\r\n\t\t\t\twhile(args.length > i+j+1 && !args[i+j+1].startsWith(\"-\"))\r\n\t\t\t\t{\r\n\t\t\t\t\ttmpFiles[j] = new File(args[i+j+1]);\r\n\t\t\t\t\tj++;\r\n\t\t\t\t}\r\n\t\t\t\tworldFiles = new File[j];\r\n\t\t\t\tSystem.arraycopy(tmpFiles,0,worldFiles,0,j);\r\n\t\t\t\ti+=j;\r\n\t\t\t}\r\n\t\t\telse if(args[i].equalsIgnoreCase(\"-efiles\"))\r\n\t\t\t{\r\n\t\t\t\tif(args.length == i)\r\n\t\t\t\t{\r\n\t\t\t\t\tSystem.err.println(\"Bad usage of -efiles option. Syntax: -efiles <element file> [element file [element file [...]]]\");\r\n\t\t\t\t\tSystem.exit(1);\r\n\t\t\t\t}\r\n\t\t\t\tFile[] tmpFiles = new File[args.length];\r\n\r\n\t\t\t\t// We assume that there will be at least _one_ file.\r\n\t\t\t\ttmpFiles[0] = new File(args[i+1]);\r\n\t\t\t\tint j = 1;\r\n\t\t\t\twhile(args.length > i+j+1 && !args[i+j+1].startsWith(\"-\"))\r\n\t\t\t\t{\r\n\t\t\t\t\ttmpFiles[j] = new File(args[i+j+1]);\r\n\t\t\t\t\tj++;\r\n\t\t\t\t}\r\n\t\t\t\telementFiles = new File[j];\r\n\t\t\t\tSystem.arraycopy(tmpFiles,0,elementFiles,0,j);\r\n\t\t\t\ti+=j;\r\n\t\t\t}\r\n\t\t\telse if(args[i].equalsIgnoreCase(\"-p\"))\r\n\t\t\t{\r\n\t\t\t\tif(args.length == i)\r\n\t\t\t\t{\r\n\t\t\t\t\tSystem.err.println(\"Bad usage of -p option. Syntax: -p <port>\");\r\n\t\t\t\t\tSystem.exit(1);\r\n\t\t\t\t}\r\n\t\t\t\ttry\r\n\t\t\t\t{\r\n\t\t\t\t\tport = Integer.parseInt(args[++i]);\r\n\t\t\t\t\tif(port > Constants.MAX_PORT || port < Constants.MIN_PORT)\r\n\t\t\t\t\t\tport = Constants.DEF_PORT;\r\n\t\t\t\t}\r\n\t\t\t\tcatch(NumberFormatException nfe)\r\n\t\t\t\t{\r\n\t\t\t\t\tport = Constants.DEF_PORT;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse if(args[i].equalsIgnoreCase(\"-t\"))\r\n\t\t\t{\r\n\t\t\t\tgui = false;\r\n\t\t\t}\r\n\t\t\telse if(args[i].equalsIgnoreCase(\"-help\") || args[i].equalsIgnoreCase(\"-h\"))\r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\"Syntax: java Server [options]\");\r\n\t\t\t\tSystem.out.println(\"Options:\");\r\n\t\t\t\tSystem.out.println(\" -h\\t\\tPrint this help screen\");\r\n\t\t\t\tSystem.out.println(\" -v\\t\\tRun in verbose mode\");\r\n\t\t\t\tSystem.out.println(\" -t\\t\\tRun in text mode\");\r\n\t\t\t\tSystem.out.println(\" -p <port>\\tRun on port # <port>\");\r\n\t\t\t\tSystem.out.println(\" -dir <dir>\\tLook for data files in directory <dir>\");\r\n\t\t\t\tSystem.out.println(\" -eext <ext>\\tLook in data dir for Element List files that have extension <ext>\");\r\n\t\t\t\tSystem.out.println(\" -wext <ext>\\tLook in data dir for World files that have extension <ext>\");\r\n\t\t\t\tSystem.out.println(\" -efiles <file> [file [file [...]]]\\tOnly look for elements in the files specified\");\r\n\t\t\t\tSystem.out.println(\" -wfiles <file> [file [file [...]]]\\tBuild the world only out of the files specified\");\r\n\t\t\t\tSystem.exit(0);\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tSystem.err.println(\"Bad argument (ignoring): \" + args[i]);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tLogger myLogger = new Logger( verbose);\r\n\t\tElementFactory ef;\r\n\t\tWorldFactory wf;\r\n\t\tif(elementFiles != null)\r\n\t\t\tef = new ElementFactory(elementFiles, myLogger);\r\n\t\telse\r\n\t\t\tef = new ElementFactory(dataDir, elementExt, myLogger);\r\n\r\n\t\tif(worldFiles != null)\r\n\t\t\twf = new WorldFactory(worldFiles, ef, myLogger);\r\n\t\telse\r\n\t\t\twf = new WorldFactory(dataDir, worldExt, ef, myLogger);\r\n\r\n\t\t/* The GUI is optional so that it is easier to start the server\r\n\t\t * from a distance (e.g., using SSH).\r\n\t\t * - Omer.\r\n\t\t */\r\n\t\tif(gui)\r\n\t\t{\r\n\t\t\t// MAKES THIS A CLOSEABLE WINDOW\r\n\t\t\tJFrame window = new JFrame();\r\n\t\t\twindow.setVisible(true);\r\n\t\t\twindow.setTitle(\"CC Game - Server\");\r\n\t\t\twindow.setSize(1,1);\r\n\r\n\t\t\tJPanel panel = new JPanel();\r\n\t\t\tpanel.setLayout(new BorderLayout());\r\n\r\n\t\t\tJPanel canvasFrame = new JPanel();\r\n\t\t\tpanel.add(canvasFrame, BorderLayout.CENTER);\r\n\t\t\t\r\n\t\t\t//menu bar\r\n\t\t\tMenuBar menuBar;\r\n\t\t\t\t\tMenu menu;\r\n\t\t\t\t\tMenuItem menuItem;\r\n\t\t\t\t\t\r\n\t\t\t\t\t//Create the menu bar.\r\n\t\t\t\t\tmenuBar = new MenuBar();\r\n\t\t\t\t\tmenu = new Menu(\"File\");\r\n\t\t\t\t\tmenuBar.add(menu);\r\n\t\t\t\t\tmenuItem = new MenuItem(\"PLEASE hit the \\\"X\\\" to close the server\");\r\n\t\t\t\t\tmenu.add(menuItem);\r\n\t\t\t\t\twindow.setMenuBar(menuBar);\r\n\t\t\t\t\t\r\n\t\t\t\t\t// CLOSE THE WINDOW WITH THE \"X\"\r\n\t\t\t\t\twindow.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\t\t\twindow.add(panel);\r\n\t\t\twindow.pack();\r\n\t\t\twindow.setSize(225, 50);\r\n\t\t\twindow.setResizable(true);\r\n\t\t}\r\n\t\t\r\n\t\t//Server s = new Server(wf, ef, myLogger , port);// \"s\" is never read\r\n\t\tnew Server(wf, ef, dataDir, myLogger , port);\r\n\t}", "title": "" }, { "docid": "6d809dc2680896d96a7cd11c7947f266", "score": "0.58779913", "text": "public void parseArguments( String []args ) {\n\t}", "title": "" }, { "docid": "efb03980900367c03c64353af37c11e1", "score": "0.5868205", "text": "public static void main(String args[]) {\n\n\t}", "title": "" }, { "docid": "78e141abbfedfb0b0f0e7046b6bb5f64", "score": "0.5868191", "text": "public static void main(String[] args) throws InterruptedException {\n\t\t\r\n\r\n\t\tswitch (args[0]) {\r\n\t\tcase \"-h\":\r\n\t\t\tSystem.out\r\n\t\t\t\t\t.println(\"Help: \\nThis application searches for language links in language given as parameter and matching with\"\r\n\t\t\t\t\t\t\t+ \"domain language. With parameter -r, backmap.\\nUsage:\\n\"\r\n\t\t\t\t\t\t\t+ \"\\tDefault: parsing.jar [FILE_PAGE] [FILE_LANGLINKS] [LANGUAGE_1] [LANGUAGE_2]\\n\\n\"\r\n\t\t\t\t\t\t\t+ \"\\t\\tFILE_PAGE - SQL dump from wikipedia where are stored all titles in domain language\\n\"\r\n\t\t\t\t\t\t\t+ \"\\t\\tFILE_LANGLINKS - language links (SQL dump) from domain wikipedia where are stored all language links\\n\"\r\n\t\t\t\t\t\t\t+ \"\\t\\tLANGUAGE_1 - domain language\\n\"\r\n\t\t\t\t\t\t\t+ \"\\t\\tLANGUAGE_2 - language in which to search language links\\n\"\r\n\t\t\t\t\t\t\t+ \"\\t -r: parsing.jar [FILE_PAGE_1] [FILE_LANGLINKS_1] [FILE_PAGE_2] [FILE_LANGLINKS_2] [LANGUAGE_1] [LANGUAGE_2]\\n\\n\"\r\n\t\t\t\t\t\t\t+ \"\\t\\tFILE_LANGLINKS_2 - language links (SQL dump) from second wikipedia where are stored all language links\\n\"\r\n\t\t\t\t\t\t\t+ \"\\t\\tFILE_PAGE_2 - language links (SQL dump) from second wikipedia where are stored all titles\\n\");\r\n\t\t\tbreak;\r\n\r\n\t\tcase \"-r\":\r\n\t\t\tSystem.out.println(\"Creating map from \" + args[1]\r\n\t\t\t\t\t+ \" please wait...\");\r\n\t\t\tDomainPageParser dpp = new DomainPageParser(args[1]);\r\n\t\t\t\r\n\t\t\tSystem.out.println(\"Creating map from \" + args[3] + \" please wait...\");\r\n\t\t\tHostPageParser hpp = new HostPageParser(args[3]);\r\n\t\t\t\r\n\t\t\tSystem.out.println(\"Creating map from \" + args[4]\r\n\t\t\t\t\t+ \" please wait...\");\r\n\t\t\tHostLangLinksParser hllp = new HostLangLinksParser(args[4], args[5]);\t\r\n\t\t\t\r\n\t\t\t\r\n\r\n\t\t\tSystem.out.println(\"Operation started - searching for \"+args[6]+\" language links in \"+args[5]+\" wikipedia sql dump with back tra\"\r\n\t\t\t\t\t+ \"cking in \"+args[4]+\" .\");\r\n\t\t\t@SuppressWarnings(\"unused\")\r\n\t\t\tLinker linker = new Linker(args[2], dpp, hllp, hpp, args[5],args[6]);\r\n\t\t\tbreak;\r\n\r\n\t\tdefault: {\r\n\t\t\tSystem.out.println(\"Creating map from \" + args[0] + \" please wait...\");\r\n\t\t\tDomainPageParser dpp_d = new DomainPageParser(args[0]);\r\n\t\t\tSystem.out.println(\"Operation started - searching for \"+args[3]+\" language links in \"+args[1]+\"\\n\");\r\n\t\t\t@SuppressWarnings(\"unused\")\r\n\t\t\tLinker linker_d = new Linker(args[1], dpp_d, args[2], args[3]);\r\n\t\t\tbreak;\r\n\t\t}\r\n\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "3d82635575bcdc991823da8d53f7685a", "score": "0.585775", "text": "public static void main(String[] args) {\n\t\t\n\t\t\n\t\t\n\t\t\n\n\t}", "title": "" }, { "docid": "66efcc3cf388f90a42a3cbbd8ca74f30", "score": "0.58569574", "text": "public static void main(String[] args) {\n\t String inputFile = \"input.txt\";\n\t String outputFile = \"output.txt\";\n\n\t // Run through the provided flags and perform appropriate action\n\t for (int i=0 ; i < args.length ; i++) {\n\n\t // Argument flag found\n\t if (args[i].startsWith(\"-\")) {\n\t String argument = args[i].toLowerCase();\n\t switch (argument) {\n\n\t //-i set the following argument to input filename and increments\n\t case \"-i\":\n\t inputFile = args[++i];\n\t break;\n\n\t //-o set the following argument to output filename and increments\n\t case \"-o\":\n\t outputFile = args[++i];\n\t break;\n\t //-p will force the program to output the output.txt file for the user. \n\t case \"-p\":\n\t System.out.print(\"output.txt\");\n\t break;\n\t \n\t //-h will store the data into a HashMap\n\t case \"-h\":\n\t \tbreak;\n\n\t //-help display the usage\n\t case \"-help\":\n\t System.out.println(\"Usage: java main [-i filename] [-o filename]\");\n\t System.out.println(\" -i filename: Input text file name needed (eg. -i input.txt)\");\n\t System.out.println(\" -o filename: output text file name needed (eg. -o output.txt)\");\n\t System.out.println(\" -p : No file exists (output.txt). Please have an output.txt avaliable!\");\n\t return;\n\n\t // Case invalid flags are received, display prompt for help\n\t default:\n\t System.err.println(\"Invalid Flag: Type -help for valid flags\");\n\t return;\n\t }\n\t }\n\t }\n\t Phase3GUI mainProgram = new Phase3GUI();\n\t}", "title": "" }, { "docid": "b12f8acf4f9a3d53472c213c84886362", "score": "0.5854936", "text": "public static void main(String[] args) {\n\t\t\n\t\t//ExperimentRunner.runStatistics( \"output/MinMaxVRP/Kelly/std_all/\",\"output/MinMaxVRP/Kelly/std_all/statistic.txt\");\n\t\t\n\t\t\n\t\t//ExperimentRunner.runStatistics( \"output/MinMaxVRP/Christophides/std-all-round-euclide-distance/\",\"output/MinMaxVRP/Christophides/std-all-round-euclide-distance/statistic.txt\");\n\t\tString[] type = new String[]{\"F-VRP\", \"CMT\", \"CE-VRP\"};\n\t\tfor(int i = 0; i < type.length;i++){\n\t\t\tExperimentRunner.runExperiments(type[i]);\n\t\t\tExperimentRunner.runStatistics(type[i], \"data/output/MinMaxVRP/\" + type[i] +\"/std_all/\", \"data/output/MinMaxVRP/\" + type[i] + \"/std_all/statistic.txt\");\n\t\t}\n\t\t//ExperimentRunner.runStatistics( \"output/MinMaxVRP/Kelly/std_all/\",\"output/MinMaxVRP/Kelly/std_all/statistic.txt\");\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "be7c2252cc2e3973213d8f99d3915bef", "score": "0.58514535", "text": "private void run( String[] args ) {\n\tparseSpecificCommandLine( args );\n\t// Usually do process here\n }", "title": "" }, { "docid": "8ffa2ebe474861fbac86dec1e9e1a0c0", "score": "0.58494735", "text": "public static void main (String[]args){\n\t\ttestaaTuote();\n\t\ttestaaVarasto();\n\t}", "title": "" }, { "docid": "1cb4431043b1290efb30b0bce37a8ba2", "score": "0.5846669", "text": "public static void main (String args [])\n {\n\tFile inFile = new File (args [0]);\n\tPRM prm = new PRM (inFile);\n\t\n\t\n }", "title": "" }, { "docid": "b4c3cb95b20e7df7622e9aaa3f353579", "score": "0.5841529", "text": "private void parseArguments(String[] args) {\n CommandLineParser parser = new GnuParser();\n CommandLine cmdLine = null;\n try {\n cmdLine = parser.parse(options, args);\n } catch (ParseException e) {\n showHelp(\"Error parsing command-line options: \" + e.getMessage(), 1);\n }\n\n if (cmdLine.hasOption(HELP_OPTION)) {\n showHelp(null, 0);\n }\n\n listTables = (cmdLine.hasOption(LIST_TABLES_OPTION));\n extractAll = (cmdLine.hasOption(EXTRACT_ALL));\n\n if (cmdLine.hasOption(INDEX_OPTION)) {\n tableIndex = Integer.parseInt(cmdLine.getOptionValue(INDEX_OPTION));\n } else {\n tableIndex = 1;\n }\n\n if (cmdLine.hasOption(DATA_FILE_OPTION)) {\n dataFile = new File(cmdLine.getOptionValue(DATA_FILE_OPTION));\n } else {\n dataFile = null;\n }\n\n String[] files = cmdLine.getArgs();\n if (files.length == 0) {\n showHelp(\"A label file is required\", 1);\n }\n\n try {\n labelUrl = new URL(files[0]);\n } catch (MalformedURLException u) {\n File file = new File(files[0]);\n file = file.getAbsoluteFile();\n try {\n labelUrl = file.toURI().toURL();\n } catch (MalformedURLException mu) {\n mu.printStackTrace();\n System.exit(1);\n }\n }\n\n if (cmdLine.hasOption(CSV_OPTION)) {\n format = OutputFormat.CSV;\n } else {\n format = OutputFormat.FIXED_WIDTH;\n }\n\n if (cmdLine.hasOption(FIELD_SEPARATOR_OPTION)) {\n fieldSeparator = cmdLine.getOptionValue(FIELD_SEPARATOR_OPTION);\n } else if (format == OutputFormat.FIXED_WIDTH) {\n fieldSeparator = \" \";\n } else {\n fieldSeparator = \",\";\n }\n\n if (cmdLine.hasOption(QUOTE_CHARACTER_OPTION)) {\n quoteCharacter = cmdLine.getOptionValue(QUOTE_CHARACTER_OPTION);\n } else {\n quoteCharacter = \"\\\"\";\n }\n quoteCharacterPattern = Pattern.compile(\"\\\\Q\" + quoteCharacter + \"\\\\E\");\n\n if (cmdLine.hasOption(WINDOWS_OPTION)) {\n lineSeparator = \"\\r\\n\";\n } else if (cmdLine.hasOption(UNIX_OPTION)) {\n lineSeparator = \"\\n\";\n } else {\n lineSeparator = System.getProperty(\"line.separator\");\n }\n\n if (!cmdLine.hasOption(FIELDS_OPTION)) {\n requestedFields = null;\n } else {\n requestedFields = cmdLine.getOptionValue(FIELDS_OPTION).split(\" *, *\");\n }\n\n if (cmdLine.hasOption(OUTPUT_FILE_OPTION)) {\n outputFile = new File(cmdLine.getOptionValue(OUTPUT_FILE_OPTION));\n } else {\n outputFile = null;\n }\n }", "title": "" }, { "docid": "0e72fd229e9e97848e7a54d4dd340942", "score": "0.5839849", "text": "public static void main(String args[]){\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "ad191a344755df5bdd745b759dd2f651", "score": "0.5838524", "text": "public static void main(String args[])\n {\n if ((args == null) || (args.length >2 )\n || args[ 0 ].equals(\"--help\"))\n {\n System.out.println(\n \"FormulaViewer .8 proof that the devil lies in the details (or just in BIFF8 files in general)\");\n System.out.println(\"usage: Give me a big fat file name\");\n } else if (args[0].equals(\"--listFunctions\")) { // undocumented attribute to research functions!~\n try {\n FormulaViewer viewer = new FormulaViewer();\n viewer.setFile(args[1]);\n viewer.setList(true);\n viewer.run();\n }\n catch (Exception e) {\n System.out.println(\"Whoops!\");\n e.printStackTrace();\n }\n }\n else\n {\n try\n {\n FormulaViewer viewer = new FormulaViewer();\n \n viewer.setFile(args[ 0 ]);\n viewer.run();\n }\n catch (Exception e)\n {\n System.out.println(\"Whoops!\");\n e.printStackTrace();\n }\n }\n }", "title": "" }, { "docid": "83ec4ad3fac619fa7da45604b7e06dc7", "score": "0.58375233", "text": "public static void main(String argv[])\n\t{\n\t\t\n\t\tsetLex( argv[0], argv[1] );\n\t\t\n\t\tgetToken();\n\n\t//\tAssignmentList assignmentList = assignmentList(); // build a parse tree\n\t\tProgram program = program();\n\t\tif ( ! t.isEmpty() )\n\t\t\tdisplayln(t + \" -- unexpected symbol\");\n\t\telse if ( ! errorFound )\n\t\t{ System.out.println(\"end of file\");\n\t\t\tprogram.printParseTree(\"\"); // print the parse tree in linearly indented form in argv[1] file\n\t\t}\n\t\tcloseIO();\n\t}", "title": "" }, { "docid": "eb7aef70ee504fcad52fcebed6bdf411", "score": "0.58318764", "text": "public static void main(String[] args) {\n\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "2b907cbff3b4632352e6043cd82527b9", "score": "0.582599", "text": "public static void main(String[] arguments) {\n\n\t\t\tList<User> CurrentUsers = new ArrayList<User>();\n\t\t\tList<Post> allPostsByAllUsers = new ArrayList<Post>();\n\n\t\t\tloadUserInfoFile(\"People.txt\", CurrentUsers);\n\t\t\tloadRelationshipInfoFile(\"Relationships.txt\", CurrentUsers);\n\t\t\tloadPostInfoFile(\"Posts.txt\", CurrentUsers, allPostsByAllUsers);\n\t\t\tdisplayUserTimelines(CurrentUsers, allPostsByAllUsers);\n\t\t\t\t\t\n\t\t}", "title": "" }, { "docid": "555b9b05a689ed470750b1072441dc35", "score": "0.5819761", "text": "public static void main(String[] args) {\n try {\n if (args.length == 0) {\n//java jmetal.metaheuristics.bfnw.BFNW DTLZ1_20D DTLZ1.20D.1000.pf 10 100000 BinaryTournament 0.01 foo\n// BFWN_main.main(new String[]{\"DTLZ7\",\"originalParetoFronts\\\\DTLZ7.3D.pf\",\"10\", \"true\", \"true\", \"0.01\"});\n// SMSEMOA_main.main(new String[]{\"WFG1\", \"originalParetoFronts\\\\WFG1.2D.pf\", \"10\", \"true\", \"true\", \"0.001\", \"true\",\"1500\",\"RandomSelection\"}); //problem, Pareto front, pop size, doCrossover, doMutation\n// SMSEMOA_main.main(new String[]{\"DTLZ1_20D\", \"originalParetoFronts\\\\DTLZ1.20D.1000.pf\", \"10\", \"true\", \"true\", \"0.01\", \"true\",\"50000\",\"BinaryTournament\",\"foo\"}); //problem, Pareto front, pop size, doCrossover, doMutation\n// SMSEMOA_main.main(new String[]{\"LZ09_F5\", \"originalParetoFronts\\\\LZ09_F5.pf\", \"100\", \"true\", \"true\", \"0.01\", \"false\",\"150000\",\"BinaryTournament\",\"foo\"}); //problem, Pareto front, pop size, doCrossover, doMutation\nSMSEMOA_main.main(new String[]{\"DTLZ1_2D\", \"originalParetoFronts\\\\DTLZ1.2D.10000.pf\", \"100\", \"true\", \"true\", \"0.01\", \"false\",\"200000\",\"BinaryTournament\",\"foo\"}); //problem, Pareto front, pop size, doCrossover, doMutation \n//SMSEMOA_main.main(new String[]{\"DTLZ1_2D\", \"originalParetoFronts\\\\DTLZ1.2D.10000.pf\", \"100\", \"true\", \"true\", \"0.01\", \"false\",\"10000\",\"BinaryTournament\",\"foo\"}); //problem, Pareto front, pop size, doCrossover, doMutation\n// SMSEMOA_main.main(new String[]{\"DTLZ3_10D\", \"originalParetoFronts\\\\DTLZ2.10D.100000.pf\", \"10\", \"true\", \"true\", \"0.001\", \"true\",\"1500\",\"BinaryTournament\",\"\"}); //problem, Pareto front, pop size, doCrossover, doMutation\n// SMSEMOA_main.main(new String[]{\"WFG2\", \"originalParetoFronts\\\\WFG2.2D.pf\", \"10\", \"true\", \"true\", \"0.001\", \"true\",\"150000\",\"RandomSelection\",\"\"});\n// SMSEMOA_main.main(new String[]{\"WFG1\", \"originalParetoFronts\\\\WFG1.2D.pf\", \"10\", \"true\", \"true\", \"0.001\", \"true\",\"1500\",\"RandomSelection\",\"\"});\n// BFWN_main.main(new String[]{\"WFG3\", \"originalParetoFronts\\\\WFG3.2D.pf\", \"10\", \"true\", \"true\", \"0.01\"}); //problem, Pareto front, pop size, doCrossover, doMutation\n// BFWN_main.main(new String[]{\"DTLZ7\", \"nopf\", \"10\", \"true\", \"true\", \"0.1\", \"true\"}); //problem, Pareto front, pop size, doCrossover, doMutation\n// BFWN_main.main(new String[]{\"Water\", \"originalParetoFronts\\\\Water.pf\", \"10\", \"true\", \"true\", \"0.001\", \"true\"}); //problem, Pareto front, pop size, doCrossover, doMutation\n// BFWN_main.main(new String[]{\"ZDT3\", \"originalParetoFronts\\\\ZDT3.pf\", \"10\", \"true\", \"true\", \"0.001\"}); //problem, Pareto front, pop size, doCrossover, doMutation\n// BFWN_main.main(new String[]{\"Kursawe\",\"originalParetoFronts\\\\Kursawe.pf\",\"50\"});\n// BFWN_main.main(new String[]{\"WFG1\",\"originalParetoFronts\\\\WFG1.2D.pf\"});\n }\n\n else if (args.length==7) {\n // in case it is called via the commandline with parameters...\n SMSEMOA_main.main(new String[]{\n args[0], // problem\n \"originalParetoFronts/\"+args[1], // pf-file, without the directory\n args[2], // mu\n \"true\", // doXO\n \"true\", // doMUT\n args[5], // epsilonGridWidth\n \"true\", // do outputs for runs on MPI cluster\n args[3], // max evaluations\n args[4], // selection strategy\n args[6] // subDirectory name for infoprinter\n });\n } else System.out.println(\"unsuitable number of parameters. EXIT.\");\n\n } catch (Exception ex) {\n// Logger.getLogger(BFNW.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "title": "" }, { "docid": "874c645de77330c226c72b7d2d280f89", "score": "0.58152515", "text": "public static void main(String[] args) {\n while(true) {\n String line = input();\n String[] argsL = line.split(\" \");\n write('$' + line);\n\n if (argsL[0].equals(\"occurr\") ) { write(\"\" + occurr(strToVet(argsL[1]))); }\n else if(argsL[0].equals(\"teams\" ) ) { write(\"\" + teams(strToVet(argsL[1]))); }\n else if(argsL[0].equals(\"mnext\" ) ) { write(\"\" + mnext(strToVet(argsL[1]))); }\n else if(argsL[0].equals(\"alone\" ) ) { write(\"\" + alone(strToVet(argsL[1]))); }\n else if(argsL[0].equals(\"erase\" ) ) { write(\"\" + erase(strToVet(argsL[1]), strToVet(argsL[2]))); }\n else if(argsL[0].equals(\"clear\" ) ) { write(\"\" + clear(strToVet(argsL[1]), number(argsL[2]))); }\n else if(argsL[0].equals(\"subseq\") ) { write(\"\" + subseq(strToVet(argsL[1]), strToVet(argsL[2]))); }\n else if(argsL[0].equals(\"couple\") ) { write(\"\" + couple(strToVet(argsL[1]))); }\n else if(argsL[0].equals(\"end\" ) ) { break; }\n else { write(\"Invalid command\"); }\n }\n }", "title": "" }, { "docid": "c068c7ba9425c6edef1b777f77cac27a", "score": "0.58129686", "text": "static public void main(String args[]) {\n\t}", "title": "" }, { "docid": "7bf736eae831bbd3cb164123071fcf7a", "score": "0.5812885", "text": "public static void main(String[] args) {\r\n\r\n idxManageContext IRRSource = null;\r\n\r\n String IRRHost = null;\r\n String IRRPrincipal = null;\r\n String IRRCredentials = null;\r\n\r\n String INPUT_FILENAME = null;\r\n\r\n boolean VERBOSE = false;\r\n\r\n String METHODNAME = \"main\";\r\n\r\n // ****************************************\r\n // Send the Greeting.\r\n System.out.println(MP + VERSION);\r\n\r\n // ****************************************\r\n // Parse the incoming Arguments and\r\n // create objects for each entity.\r\n //\r\n idxArgParser Zin = new idxArgParser();\r\n Zin.parse(args);\r\n\r\n // ***************************************\r\n // Do I have any unnamed Values?\r\n if (!Zin.IsUnNamedEmpty()) {\r\n System.out.println(MP + \"Unknown Values Encountered, Terminating Process.\");\r\n Zin.showUnNamed();\r\n Usage();\r\n } // End of If.\r\n\r\n // ***************************************\r\n // Was Version Info Requested?\r\n if (Zin.doesNameExist(\"version\")) {\r\n System.exit(EXIT_VERSION);\r\n }\r\n\r\n // ***************************************\r\n // Was Help Info Requested?\r\n if ((Zin.doesNameExist(\"?\")) ||\r\n (Zin.doesNameExist(\"usage\"))) {\r\n Usage();\r\n }\r\n\r\n // ***************************************\r\n // Was Verbosity Requested?\r\n if (Zin.doesNameExist(\"verbose\")) {\r\n VERBOSE = true;\r\n }\r\n\r\n // ***************************************\r\n // Show Arguments if Verbose Selected.\r\n if (VERBOSE) {\r\n Zin.show();\r\n }\r\n\r\n // ***************************************\r\n // Build our verification Rule Set.\r\n //\r\n // idxArgVerificationRules Parameters are:\r\n // String Name of argument name.\r\n // Boolean Required Argument Indicator.\r\n // Boolean StringObject Argument Indicator.\r\n // String Name of Value Verification Routine.\r\n //\r\n LinkedList<idxArgVerificationRules> VAR = new LinkedList<>();\r\n\r\n VAR.add(new idxArgVerificationRules(\"hosturl\",\r\n true, true));\r\n\r\n VAR.add(new idxArgVerificationRules(\"irrid\",\r\n false, true));\r\n\r\n VAR.add(new idxArgVerificationRules(\"irrpw\",\r\n false, true));\r\n\r\n VAR.add(new idxArgVerificationRules(\"idu\",\r\n false, true));\r\n\r\n VAR.add(new idxArgVerificationRules(\"infile\",\r\n true, true));\r\n\r\n VAR.add(new idxArgVerificationRules(\"verbose\",\r\n false, false));\r\n\r\n // ***************************************\r\n // Run the Verification Rule Set.\r\n // If we do not have a positive return,\r\n // then an invalid argument was detected,\r\n // so show Usage and die. \r\n //\r\n idxArgVerifier AV = new idxArgVerifier();\r\n AV.setVerbose(VERBOSE);\r\n if (!AV.Verify(MP, Zin, VAR)) {\r\n Usage();\r\n }\r\n\r\n // ***************************************\r\n // Obtain Authentication Principal and\r\n // Credentials from the KeyStore or\r\n // the command line.\r\n //\r\n CommandLinePrincipalCredentials clPC =\r\n new CommandLinePrincipalCredentials(Zin);\r\n\r\n // **************************************************\r\n // Load up the Principal/Credentials.\r\n //\r\n if (clPC.wasObtained()) {\r\n IRRPrincipal = clPC.getPrincipal();\r\n System.out.println(MP + \"IRR ID:[\" + IRRPrincipal + \"]\");\r\n\r\n IRRCredentials = clPC.getCredentials();\r\n //System.out.println(MP+\"IRR Password:[\"+IRRCredentials+\"]\");\r\n } else {\r\n System.out.println(MP + \"Required Principal and Credentials not Specified, unable to continue.\");\r\n Usage();\r\n } // End of Else.\r\n\r\n // **************************************************\r\n // Load up the RunTime Arguments.\r\n //\r\n IRRHost = (String) Zin.getValue(\"hosturl\");\r\n System.out.println(MP + \"IRR Host URL:[\" + IRRHost + \"]\");\r\n\r\n INPUT_FILENAME = ((String) Zin.getValue(\"infile\")).trim();\r\n System.out.println(MP + \"Input File:[\" + INPUT_FILENAME + \"]\");\r\n\r\n // ****************************************\r\n // Note The Start Time.\r\n idxElapsedTime elt = new idxElapsedTime();\r\n\r\n // ***********************************************\r\n // Now initiate a Connection to the Directory\r\n // for a LDAP Source Context\r\n System.out.println(MP + \"Attempting Source Directory Connection to Host URL:[\" + IRRHost + \"]\");\r\n\r\n IRRSource = new idxManageContext(IRRHost,\r\n IRRPrincipal,\r\n IRRCredentials,\r\n \"ModificationEntry Source\");\r\n\r\n // ************************************************\r\n // Exit on all Exceptions.\r\n IRRSource.setExitOnException(true);\r\n\r\n // ************************************************\r\n // Now Try to Open and Obtain Context.\r\n try {\r\n IRRSource.open();\r\n } catch (Exception e) {\r\n System.err.println(MP + e);\r\n System.exit(EXIT_IRR_UNABLE_TO_OBTAIN_CONTEXT);\r\n } // End of exception\r\n\r\n // ************************************************\r\n // Disable Factories.\r\n try {\r\n IRRSource.disableDSAEFactories();\r\n } catch (Exception e) {\r\n System.err.println(MP + e);\r\n System.exit(EXIT_GENERIC_FAILURE);\r\n } // End of exception\r\n\r\n // ****************************************\r\n // Initailize Constructor.\r\n IRRmodifyEntry FUNCTION = new IRRmodifyEntry();\r\n\r\n // ****************************************\r\n // Perform Function.\r\n try {\r\n FUNCTION.perform(IRRSource.irrctx, INPUT_FILENAME);\r\n\r\n // ****************************************\r\n // Show the Statistics\r\n FUNCTION.dumpStats();\r\n FUNCTION.dumpAttributeStats();\r\n\r\n } catch (Exception e) {\r\n System.err.println(MP + \"IRR Exception Performing IRRmodifyEntry.\\n\" + e);\r\n System.exit(EXIT_GENERIC_FAILURE);\r\n } // End of Exception.\r\n\r\n // ***************************************\r\n // Close up Shop.\r\n System.out.println(MP + \"Closing Destination Directory Context.\");\r\n try {\r\n IRRSource.close();\r\n } catch (Exception e) {\r\n System.err.println(e);\r\n System.exit(EXIT_IRR_CLOSE_FAILURE);\r\n } // End of exception\r\n\r\n // ****************************************\r\n // Note The End Time.\r\n elt.setEnd();\r\n\r\n // ****************************************\r\n // Exit\r\n System.out.println(MP + \"Done, Elapsed Time: \" + elt.getElapsed());\r\n System.exit(EXIT_SUCCESSFUL);\r\n\r\n }", "title": "" }, { "docid": "14f9e39c47ad8819b4388ea4b861339e", "score": "0.5812816", "text": "public static void main(String arg[]){\n\n }", "title": "" }, { "docid": "43faddfa261eeabe17555498ed20ffdc", "score": "0.5810845", "text": "public static void main(String[] args) {\n //Case no arguments passed - start a game with four levels\n GameFlow flow = new GameFlow();\n List<LevelInformation> levels = new ArrayList<LevelInformation>();\n if (args.length == 0) {\n levels.add(new DirectHit());\n levels.add(new WideEasy());\n levels.add(new Green3());\n levels.add(new FinalFour());\n\n flow.runLevels(levels);\n\n /*Case 'ant run' without 'Dargs' used - args length is 1\n *Case it's not a digit between 1 and 4 - start a game with four levels\n */\n } else if (args.length == 1 && !isDigitBetweenOneAndFour(args[0])) {\n levels.add(new DirectHit());\n levels.add(new WideEasy());\n levels.add(new Green3());\n levels.add(new FinalFour());\n\n flow.runLevels(levels);\n //Case arguments passed - filter the levels and ignore the rest of the arguments\n } else {\n int level;\n\n //Loop through all the arguments\n for (int i = 0; i < args.length; i++) {\n //Case argument isn't one of the digits 1-4 - skip it\n if (!isDigitBetweenOneAndFour(args[i])) {\n continue;\n }\n\n //Parse the level to an integer\n level = Integer.parseInt(args[i]);\n\n //Add the matching level to the levels list\n if (level == 1) {\n levels.add(new DirectHit());\n } else if (level == 2) {\n levels.add(new WideEasy());\n } else if (level == 3) {\n levels.add(new Green3());\n } else if (level == 4) {\n levels.add(new FinalFour());\n }\n }\n\n //Case the list isn't empty - run the game with the levels in it\n if (!levels.isEmpty()) {\n flow.runLevels(levels);\n }\n }\n }", "title": "" }, { "docid": "b11e69772e6e2b10a24d979f7b48856c", "score": "0.5809725", "text": "public static void main(String[] args) {\n\n\t\t\n\t}", "title": "" }, { "docid": "b11e69772e6e2b10a24d979f7b48856c", "score": "0.5809725", "text": "public static void main(String[] args) {\n\n\t\t\n\t}", "title": "" }, { "docid": "bfeeee389347ae87e22e7d4349de0bf8", "score": "0.5806517", "text": "public static void main(String[] args) {\n\n// //Generate inputfile\n// Xmladder myxmladder = new Xmladder();\n// File inputfile = Xmladder.startyazgetinputfile();\n\n String info1 =\n \"[Info] Welcome, XMLadder transforms your compatible-xml-recordfile into an injection-ready-XML File! Please use the progam like this: xmladder.jar inputfile.xml outputfile.xml.\";\n String info2 =\n \"[Info] No args found. Please set args1 for an input- and args2 for an outputfile. Program will exit now!\";\n String info3a = \"[Info] Found one Argument(arg)! Creating outputfile.\";\n String info3b = \"[Info] Found two Arguments(arg)! Creating outputfile.\";\n String info4a =\n \"[Info] Outputfile as defined in the properties-File. Please check the Files in your Texteditor!: Propertiesfile:\";\n String info4b = \"[Info] Please check the Files in your Texteditor! Inputfile + Generated Outputfile:\";\n\n File propertiesFile = null;\n List<String> argsList = null;\n System.out.println(info1);\n\n //case 1 - args = 1 -> 1arg (args[0] is the properties-file-path!)\n if ( args.length == 1 ) {\n System.out.println(info3a);\n\n propertiesFile = new File(args[0]);\n\n new Xmladder(propertiesFile);\n System.out.println(info4a + args[0]);\n }\n\n //case 2 - args = 2 or higher -> 2args (inputfile, outputfile)\n else if ( args.length == 2 ) {\n System.out.println(info3b);\n\n argsList = new ArrayList<String>();\n argsList.add(args[0]);\n argsList.add(args[1]);\n\n new Xmladder(argsList);\n System.out.println(info4b + args[0] + args[1]);\n }\n\n //case 3 - no args -> exit\n else if ( args.length != 1 && args.length != 2 ) {\n System.out.println(info2);\n System.exit(1);\n }\n\n System.out.println(\"[Info] Programm terminated\");\n }", "title": "" }, { "docid": "091cc6d0a45a4ca692ebd352aba6cab7", "score": "0.58010507", "text": "public static void main(String[] args) throws Exception {\n for(int i = 0; i < args.length; i++) {\n TestParser prsr = new TestParser(new File(args[i]));\n prsr.parse();\n }\n }", "title": "" }, { "docid": "ec6aa785e9304624891c73e910004a83", "score": "0.57980597", "text": "static public void main(String[] args) {\n\n\t}", "title": "" }, { "docid": "93751b49d9a3c1c84090e16d0006841b", "score": "0.57936764", "text": "public static void main(String[] args) {\n\t\t\n\tgetRev(167);\n\n\t}", "title": "" }, { "docid": "d2be55dfbcf50b516902b07d88fc1318", "score": "0.5793586", "text": "private static String[] loadArgs(Parser p, String [] args) {\n String[] leftOvers = null;\n try {\n leftOvers = p.parse(args);\n } catch(Parser.MissingValueException ex) {\n System.err.println(\"Missing value after \" + ex.arg);\n System.exit(1);\n } catch(Parser.UnknownArgumentException ex) {\n System.err.println(\"Invalid argument: \" + ex.arg);\n System.exit(1);\n } catch (NumberFormatException ex) {\n System.err.println(\"Number parsing error\");\n System.exit(1);\n }\n\n return leftOvers;\n }", "title": "" }, { "docid": "2f2fdc6ebad494003a5933190ad3c613", "score": "0.5790142", "text": "public static void main(String[] args)\n {\n OSArguments osa= new OSArguments(args);\n if ( osa.contains(\"-procfolder\") ) {\n String folderPath= osa.get(\"-procfolder\");\n return;\n }\n \n\tHashString hasht= new HashString();\n hasht.setEncoding(\"ISO-8859-1\");\n\tString command;\n\n\twhile ( true ) {\n\t System.out.print(\"HashString> \");\n\t command= Toolkit.readLn().trim();\n\t if ( command.startsWith(\"exit\") ) {\n break;\n }\n\t parse(command,hasht);\n\t}\n }", "title": "" }, { "docid": "529ae88757c3d550c4175d9af038a250", "score": "0.57854825", "text": "public static void main(String[] args) {\n // Sets variable to print testing information\n ParseFile.parseTest = true;\n\n // Sets substring length\n int k = Integer.parseInt(args[0]);\n\n // Sets file to parse from user input\n File gbk_file = new File(args[1]);\n\n // Parses subsequences from found DNA sequence strings\n ParseFile.parseGbk(gbk_file, k, null);\n }", "title": "" }, { "docid": "5d1d2f6141f1e4bc1159e0286ac82479", "score": "0.57851774", "text": "static void main(String[] args) {\n\n\t}", "title": "" }, { "docid": "5d1d2f6141f1e4bc1159e0286ac82479", "score": "0.57851774", "text": "static void main(String[] args) {\n\n\t}", "title": "" }, { "docid": "eae3a6ab08661ed666d1d070e43086be", "score": "0.578459", "text": "public static void main(String[] args) {\n\t\t\r\n\r\n\t}", "title": "" }, { "docid": "eae3a6ab08661ed666d1d070e43086be", "score": "0.578459", "text": "public static void main(String[] args) {\n\t\t\r\n\r\n\t}", "title": "" }, { "docid": "eae3a6ab08661ed666d1d070e43086be", "score": "0.578459", "text": "public static void main(String[] args) {\n\t\t\r\n\r\n\t}", "title": "" }, { "docid": "54601e67a2dcc5b02a4ea08390bb4ba8", "score": "0.57791483", "text": "public static void main(String[] args) {\n\t\t \r\n\t}", "title": "" }, { "docid": "9674e84cb0ba23d830d546f5886d33b0", "score": "0.5777236", "text": "public static void main(String[] args) \r\n\t{\n\t\tcheckProperArgs(args);\r\n\t\t\r\n\t\t//Creating any necessary directories\r\n\t\tFile dir = new File(args[1]);\r\n\t\tif (!dir.exists()) dir.mkdirs(); \t\r\n\t\t\r\n\t\tdir = new File(args[2]); \r\n\t\tif (!dir.exists()) dir.mkdirs();\r\n\t\t\r\n\t\tripAudio(args[0], args[2]);\r\n\t\tripFrames(args[0], args[1]); \r\n\t}", "title": "" }, { "docid": "c3e787de638bc4969023ba5e873712c6", "score": "0.5775731", "text": "public static void main(String[] args) {\n\t\treadFile();\n\t\t\n//\t\tString teString=\"/home/fan/data/Family/small-sample-exp/exp1/test/smsreg/dbfab4abbf46f005c216acce199d4450.apk\";\n//\t\toneFileCommunityDetection(teString);\n\t\t\n\t}", "title": "" }, { "docid": "f3b874ec69b0518293ce4114a757c677", "score": "0.57734126", "text": "public static void main(String args[]){\n\t\tString rpath = \"./dict/ambiguationDict.txt\";\r\n\t\tString wpath = \"./dict/ambiguationDict2.txt\";\r\n//\t\tfilterBracket(rpath, wpath);\r\n//\t\tfilterSingleWord(rpath, wpath);\r\n\t\tfilterCandidate(rpath,wpath);\r\n\t}", "title": "" }, { "docid": "3017bcfb680279c60b7264799e1f96ed", "score": "0.5771492", "text": "private void processInputs(String[] args) {\n\t\tList<String> options = new ArrayList<String>();\n\t\t\t\n\t\t// Collect args and process\n\t\tint index = 0;\n\t\tfor (String arg : args) {\n\t\t\tif (arg.startsWith(\"-\")) {\n\t\t\t\t// Collect the options\n\t\t\t\toptions.add(arg);\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tindex++;\n\t\t}\n\t\t\t\t\t\n\t\t// Set the options\n\t\tfor (String option : options) {\n\t\t\tif(\"-i\".equals(option)) {\n\t\t\t\tparams.setCaseSensitive(false);\n\t\t\t}\n\t\t\tif (\"-p\".equals(option)) {\n\t\t\t\tparams.setSearchWorkspace(false);\n\t\t\t}\n\t\t\tif (\"-phase1\".equals(option)) {\n\t\t\t\tparams.setRootAsPhase1Root();\t\t\t\t\t\n\t\t\t}\n\t\t\tif (\"-phase2\".equals(option)) {\n\t\t\t\tparams.setRootAsPhase2Root();\n\t\t\t}\n\t\t}\n\t\t// Set the default root if not specified in the options\n\t\tif (StringUtils.isBlank(params.getRoot())) {\n\t\t\tparams.setSearchAllCode(true);\n\t\t\tparams.setRootAsPhase1Root();\n\t\t}\n\t}", "title": "" }, { "docid": "ecc1899224be1df41e9d191dbd45740d", "score": "0.5771293", "text": "public static void main(String[] args) {\n new CommandLine(new SO61963756()).execute();\n new CommandLine(new SO61963756()).execute(\"-A -A1\".split(\" \"));\n new CommandLine(new SO61963756()).execute(\"-A -A2\".split(\" \"));\n new CommandLine(new SO61963756()).execute(\"-A -A1 -A2\".split(\" \"));\n\n //test: these should FAIL\n new CommandLine(new SO61963756()).execute(\"-A\");\n new CommandLine(new SO61963756()).execute(\"-A1\");\n new CommandLine(new SO61963756()).execute(\"-A2\");\n new CommandLine(new SO61963756()).execute(\"-A1 -A2\".split(\" \"));\n }", "title": "" }, { "docid": "9269c0e65a9a1bc1d24eea7b956aea00", "score": "0.5770399", "text": "public static void main(String args[])\n\t{\n\t\tString f;\n\t\tReadResults r;\n\t\t\n\t\t// for each argument on command line, pass to ReadResults.\n\t\tfor (String s: args)\t\n\t\t{\n\t\t\tf = s;\t\t// filename is argument\n\t\t\tr = new ReadResults(f);\t// attempt to open file\n\t\t\t\n\t\t\tSystem.out.println(\"Read results says \" + r + \"\\n\");\n\t\t\t\n\t\t\tr = null;\n\t\t\tf = null;\n\t\t}\n\t}", "title": "" }, { "docid": "fbf5cc460aee7dfc12950a464c6e171a", "score": "0.5769001", "text": "public static void main(String[] args) {\t\t\n\n\t}", "title": "" }, { "docid": "384fef7943e93c2919629f0625bc5d17", "score": "0.57655054", "text": "public static void main(String argv[]) {\n }", "title": "" }, { "docid": "f998630d2747918a2ad1e285b2d91db4", "score": "0.57632196", "text": "private void parseArguments(String args[]) throws Exception\n\t{\n\t\t\n\t\tfor(int i=0;i<args.length;i++)\n\t\t{\n\t\t\tif (args[i].startsWith(\"-n\"))\n\t\t\t{\n\t\t\t\tnumberOfOutputLines = Long.parseLong(args[i].substring(3));\n\t\t\t}\n\t\t\telse if (args[i].startsWith(\"-c\"))\n\t\t\t{\n\t\t\t\tcategoryFilesFolder = args[i].substring(3);\n\t\t\t}\n\t\t\telse if (args[i].startsWith(\"-m\"))\n\t\t\t{\n\t\t\t\tmaximumYear = Integer.parseInt(args[i].substring(3));\n\t\t\t}\n\t\t\telse if (args[i].startsWith(\"-i\"))\n\t\t\t{\n\t\t\t\tminimumYear = Integer.parseInt(args[i].substring(3));\n\t\t\t}\n\t\t\telse if (args[i].startsWith(\"-l\"))\n\t\t\t{\n\t\t\t\trowlayoutFile = args[i].substring(3);\n\t\t\t}\n\t\t\telse if (args[i].startsWith(\"-o\"))\n\t\t\t{\n\t\t\t\toutputfile = args[i].substring(3);\n\t\t\t}\n\t\t\telse if (args[i].equals(\"-v\"))\n\t\t\t{\n\t\t\t\tverbose = true;\n\t\t\t}\n\t\t\telse if(args[i].startsWith(\"-f\"))\n\t\t\t{\n\t\t\t\tdataFormat = Integer.parseInt(args[i].substring(3));\n\t\t\t}\n\t\t\telse if(args[i].startsWith(\"-p\"))\n\t\t\t{\n\t\t\t\tField.setPossibleCharacters(args[i].substring(3));\n\t\t\t}\n\t\t\telse if(args[i].startsWith(\"-e\"))\n\t\t\t{\n\t\t\t\tprocessedLinesOutputInterval = Long.parseLong(args[i].substring(3));\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\tif(categoryFilesFolder==null)\n\t\t{\n\t\t\tthrow new Exception(\"argument [-c] (category files folder) must be specified as an argument or in the properties file\");\n\t\t}\n\t\tif(rowlayoutFile==null)\n\t\t{\n\t\t\tthrow new Exception(\"argument [-l] (row layout file) must be specified as an argument or in the properties file\");\n\t\t}\n\n\t}", "title": "" }, { "docid": "f8a63bc2d9324d7dfac6b75e6bc974b7", "score": "0.5760738", "text": "public static void main(String[] args){\r\n\t\t \r\n\t\t \r\n\t}", "title": "" }, { "docid": "012a742412f7ff3dc0f002219424e532", "score": "0.57605153", "text": "public static void main(String... args) {\n if (null == args || args.length == 0 || Strings.isNullOrEmpty(args[0])) {\n System.out.println(\"Please pass in the inputfile filename.\");\n } else {\n run(args[0]);\n }\n }", "title": "" }, { "docid": "27f40832a3c7459128f2a36f6b3d193a", "score": "0.574724", "text": "public static void main(String[] args) {\n Vector<MusicBand>Omega=new Vector<>();\r\n String path = Arrays.stream(args).collect(Collectors.joining(\" \")).trim();\r\n Work work = new Work(Omega, path);\r\n try {\r\n work.start();\r\n }\r\n catch (ExitException e){\r\n System.out.println(\"Это очень плохо. Программа умирант\");\r\n }\r\n }", "title": "" }, { "docid": "7719ac3ae476658a8a829ce76276fe38", "score": "0.5747111", "text": "public static void main(String[] args) {\n\r\n\t\tavarage(11,10,100);\r\n\t\t\r\n\t}", "title": "" }, { "docid": "094fb63e2b3bed28a89a3c0d9fb1440f", "score": "0.5746508", "text": "public static void main(String args[]){\n\t\tnew FreshPlayerParser().generateFreshCharacters();\n\t}", "title": "" }, { "docid": "d9552d91cd325d007e900b6bfe6ddc6c", "score": "0.57417613", "text": "public static void main(String[] args) {\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "d9552d91cd325d007e900b6bfe6ddc6c", "score": "0.57417613", "text": "public static void main(String[] args) {\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "ad3586bcbadb90bd504a9bedc1981eb6", "score": "0.5739848", "text": "public static void main(String args[]){\n\t}", "title": "" }, { "docid": "ad3586bcbadb90bd504a9bedc1981eb6", "score": "0.5739848", "text": "public static void main(String args[]){\n\t}", "title": "" }, { "docid": "5412d8bbaceb3d8fc87408bc83162df4", "score": "0.5735797", "text": "public static void main(String[] args) {\n\t\t\n\n\t}", "title": "" }, { "docid": "5412d8bbaceb3d8fc87408bc83162df4", "score": "0.5735797", "text": "public static void main(String[] args) {\n\t\t\n\n\t}", "title": "" }, { "docid": "5412d8bbaceb3d8fc87408bc83162df4", "score": "0.5735797", "text": "public static void main(String[] args) {\n\t\t\n\n\t}", "title": "" }, { "docid": "5412d8bbaceb3d8fc87408bc83162df4", "score": "0.5735797", "text": "public static void main(String[] args) {\n\t\t\n\n\t}", "title": "" }, { "docid": "5412d8bbaceb3d8fc87408bc83162df4", "score": "0.5735797", "text": "public static void main(String[] args) {\n\t\t\n\n\t}", "title": "" }, { "docid": "5412d8bbaceb3d8fc87408bc83162df4", "score": "0.5735797", "text": "public static void main(String[] args) {\n\t\t\n\n\t}", "title": "" }, { "docid": "5412d8bbaceb3d8fc87408bc83162df4", "score": "0.5735797", "text": "public static void main(String[] args) {\n\t\t\n\n\t}", "title": "" }, { "docid": "5412d8bbaceb3d8fc87408bc83162df4", "score": "0.5735797", "text": "public static void main(String[] args) {\n\t\t\n\n\t}", "title": "" }, { "docid": "329f836bbf21555e55be12873ccb70b3", "score": "0.5732541", "text": "public static void main(String[] args) {\n\t\t \n\t}", "title": "" } ]
63351f15e86b9b8cdc7f729ff5dea360
get List of Locations
[ { "docid": "4d422e0237f2b0ee0b68b2a08d4b583f", "score": "0.71036005", "text": "public List<LocationDto> ListAll();", "title": "" } ]
[ { "docid": "4017d19ff23b5f7e8dccaf9c30ba3de3", "score": "0.8440814", "text": "Collection<Location> getLocations();", "title": "" }, { "docid": "c91ebbe8a942b0c2742d7d4fbb401a23", "score": "0.8077854", "text": "@Override\r\n\tpublic List<Location> getLocationList() {\n\t\treturn ld.getLocationList();\r\n\t}", "title": "" }, { "docid": "48d1c83cf7d5dc2393fc259320360437", "score": "0.790365", "text": "public List<Location> getList() {\n return new ArrayList<>(locations.values());\n }", "title": "" }, { "docid": "dc1069d190ccc32affbf95f7b361fabf", "score": "0.78670156", "text": "public List getLocations() throws TorqueException\n {\n if (collLocations == null)\n {\n collLocations = getLocations(new Criteria(10));\n }\n return collLocations;\n }", "title": "" }, { "docid": "60fe65e90eb282f9e1095fa54e0bd506", "score": "0.78491473", "text": "java.util.List<Hdfs.DataNodeLocation> \n getLocationsList();", "title": "" }, { "docid": "0db8b3c8ce6cc2d4dc0bd02456339b14", "score": "0.7842552", "text": "public List<Map<String, Object>> getLoc();", "title": "" }, { "docid": "9358a75488b3ec82c6faf1094438a0ab", "score": "0.7783352", "text": "public List<Location> getLocations() {\n\t\treturn locs;\n\t}", "title": "" }, { "docid": "897ef6508afee753da2366b738b95758", "score": "0.7778058", "text": "public List<String> locations() {\n return locations;\n }", "title": "" }, { "docid": "c4f6eaad757300cc7d8e4bcd4671d3a4", "score": "0.7698881", "text": "public List<String> getLocationList(){\r\n List<String> locationList = new ArrayList<String>(graphWrapperManager.m_dataStore.s_locationSet);\r\n Collections.sort(locationList); // this list will give numeric index to each location.\r\n return locationList;\r\n }", "title": "" }, { "docid": "5cb3a2af062b92131f44dc26998b02dc", "score": "0.76583725", "text": "@Override\n public Iterable<Location> listLocations() {\n return ImmutableSet.<Location>of();\n }", "title": "" }, { "docid": "72e081a158775cbc259b0b2e2c05fb08", "score": "0.76180613", "text": "public ArrayList<Location> getLocations(String source) throws IOException {\n return getLocationsList(\"locations\");\n }", "title": "" }, { "docid": "87da57849d7c38591d621a6b2c110ea9", "score": "0.76022553", "text": "public ArrayList<Location> getLocationList() {\n synchronized (entryLock) {\n return locationList;\n }\n }", "title": "" }, { "docid": "b05a986f038f95ca475fe0c0ff44769f", "score": "0.7569718", "text": "public Location[] getLocations() {\n return locations;\n }", "title": "" }, { "docid": "ffc3574e2cfe8a065c272ecd09834a3c", "score": "0.7559493", "text": "public java.util.List<Hdfs.DataNodeLocation> getLocationsList() {\n if (locationsBuilder_ == null) {\n return java.util.Collections.unmodifiableList(locations_);\n } else {\n return locationsBuilder_.getMessageList();\n }\n }", "title": "" }, { "docid": "6b12023d66d2023c58111480e85f6503", "score": "0.74834526", "text": "List<Location> getTrackingServiceRecordedLocations();", "title": "" }, { "docid": "44867f1a73c57f135db2a39a302a400d", "score": "0.73005354", "text": "public static List<LocationTable> getLocations() {\n\n List<LocationTable> locations = new ArrayList<>();\n\n // pre-populate countries\n locations.add(new LocationTable(1, \"Federal Republic of Nigeria\", -1));\n locations.add(new LocationTable(2,\"India\", -1));\n locations.add(new LocationTable(3,\"Philippines\", -1));\n locations.add(new LocationTable(4,\"Indonesia\", -1));\n\n // pre-populate regions\n locations.add(new LocationTable(5,\"Ado\", 1));\n locations.add(new LocationTable(6,\"Bauchi\", 1));\n locations.add(new LocationTable(7,\"Sokoto\", 1));\n locations.add(new LocationTable(8,\"Srinigar\", 2));\n locations.add(new LocationTable(9,\"Chandigarh\", 2));\n locations.add(new LocationTable(10,\"Simla\", 2));\n locations.add(new LocationTable(11,\"Manila\", 3));\n locations.add(new LocationTable(12,\"Java\", 4));\n locations.add(new LocationTable(13,\"Sumatera\", 4));\n locations.add(new LocationTable(14,\"Palembang\", 4));\n\n // pre-populate clusters\n locations.add(new LocationTable(15,\"Cluster A1\", 5));\n locations.add(new LocationTable(16,\"Cluster A2\", 5));\n locations.add(new LocationTable(17,\"Cluster B1\", 5));\n locations.add(new LocationTable(18,\"Cluster A1\", 6));\n locations.add(new LocationTable(19,\"Cluster A2\", 6));\n locations.add(new LocationTable(20,\"Cluster A3\", 6));\n\n return locations;\n }", "title": "" }, { "docid": "fd1cb7bacd15ae0bdf9a05c28d571240", "score": "0.72990584", "text": "public Map<String,List<List<CoreLabel>>> getLocations(){\n return getNER(\"LOCATION\");\n }", "title": "" }, { "docid": "04a38007879724fac1890af58f37b441", "score": "0.7289182", "text": "public ArrayList<Address> displayLocations() {\n\n\t\tString streetAddress = \"\";\n\t\tString zipCode = \"\";\n\t\tArrayList<Address> address = null;\n\t\tAddress object = null;\n\n\t\tConnection connection = null;\n\t\tPreparedStatement preparedStatement = null;\n\t\tResultSet resultSet = null;\n\n\t\ttry {\n\t\t\taddress = new ArrayList<Address>();\n\t\t\tconnection = DbConnect.getConnection();\n\t\t\tpreparedStatement = connection.prepareStatement(SQLConstants.DISPLAY_LOCATIONS);\n\t\t\tresultSet = preparedStatement.executeQuery();\n\t\t\twhile (resultSet.next()) {\n\t\t\t\tstreetAddress = resultSet.getString(1);\n\t\t\t\tzipCode = resultSet.getString(2);\n\n\t\t\t\tobject = new Address(streetAddress, zipCode);\n\t\t\t\taddress.add(object);\n\n\t\t\t}\n\t\t\treturn address;\n\t\t} catch (SQLException e) {\n\t\t\tLOGGER.log(Level.SEVERE, \"Error in retrieving travel locations.\");\n\t\t\treturn null;\n\t\t} finally {\n\t\t\tDbConnect.closeConnection(connection, preparedStatement, resultSet);\n\t\t}\n\t}", "title": "" }, { "docid": "b2c2eefc582867dd0858a6ee223f9770", "score": "0.7270497", "text": "public Stream<Location> getAllLocations() {\n Stream.Builder<Location> stream = Stream.builder();\n for (Node n : getEachNode()) {\n String locationName = n.getId();\n Location location = getLocation(locationName);\n stream.accept(location);\n }\n return stream.build();\n }", "title": "" }, { "docid": "6f6bbeeef3adb5e93af202b46f1dd157", "score": "0.7247989", "text": "public List getLocations(Connection con) throws TorqueException\n {\n if (collLocations == null)\n {\n collLocations = getLocations(new Criteria(10), con);\n }\n return collLocations;\n }", "title": "" }, { "docid": "cff9174ed1c5b10ddaa0e947c60ad0e8", "score": "0.72280043", "text": "public java.util.List<Hdfs.DataNodeLocation> getLocationsList() {\n return locations_;\n }", "title": "" }, { "docid": "6f2ee3767c82855ba380155fcb224fba", "score": "0.7205167", "text": "public List<Location> getLocationsForAddressProcessing() {\n return locations;\n }", "title": "" }, { "docid": "0344d2bafef68bac323acb208b208cd0", "score": "0.7203327", "text": "@JsonGetter(\"locations\")\r\n public List<Location> getLocations ( ) { \r\n return this.locations;\r\n }", "title": "" }, { "docid": "1a49124cbb8e87daf65ae5c34537e10b", "score": "0.71687233", "text": "public List<Location> findAllLocations() {\n return jdbcTemplate.query(SQL_FIND_ALL_LOCATIONS, new LocationMapper());\n }", "title": "" }, { "docid": "bc544641d1b0ab87860b8c2c95ce5fe7", "score": "0.7131142", "text": "public List<Locations> AllLocations() throws SQLException, ClassNotFoundException, IOException {\n\t\tfinal LocationsDAO getloc = new LocationsDAO();\r\n\t\tList<Locations> locationinfo = new ArrayList<Locations>();\r\n\t\tlocationinfo = getloc.LocationAll();\r\n\t\t\r\n\t\treturn locationinfo;\r\n\t}", "title": "" }, { "docid": "e7196b5ffb33c86d82f3dd43db8673f2", "score": "0.7115827", "text": "public List<JAXBElement<? extends AbstractLocationType>> getLocation() {\n if (location == null) {\n location = new ArrayList<JAXBElement<? extends AbstractLocationType>>();\n }\n return this.location;\n }", "title": "" }, { "docid": "a1232beefa8b4da4be5ba6d86400523f", "score": "0.71083874", "text": "java.util.List<com.google.cloud.talent.v4beta1.Location> getLocationFiltersList();", "title": "" }, { "docid": "f2e66d3eb93c8d12a052bf80ae5b7d01", "score": "0.7100382", "text": "public ArrayList<MapLocation> getEnemyLocations();", "title": "" }, { "docid": "fabe0a98e3dbe67e0416589590afa577", "score": "0.7039393", "text": "public ViewObjectImpl getLocations() {\r\n return (ViewObjectImpl)findViewObject(\"Locations\");\r\n }", "title": "" }, { "docid": "c6ed1a055d5f1abf9e8fccfd7353316d", "score": "0.703787", "text": "public java.util.List<? extends Hdfs.DataNodeLocationOrBuilder> \n getLocationsOrBuilderList() {\n if (locationsBuilder_ != null) {\n return locationsBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(locations_);\n }\n }", "title": "" }, { "docid": "fb65306ec09f3ce2b9d3ccb6e931ddec", "score": "0.7018195", "text": "public ArrayList<Location> showLocation() {\r\n\t\treturn RegionLst;\r\n\t}", "title": "" }, { "docid": "226e090d5761bb839bd7c07b369d7e3d", "score": "0.7016677", "text": "public ArrayList<Pair<String, String>> getmyLocs() {\n return this.myLocs;\n }", "title": "" }, { "docid": "283cc5dd6a85210ab466aad8a93b2f00", "score": "0.701317", "text": "public ArrayList<String> getAllLocationCoordinates() {\n //go through all locations currently in the list and pass them to the activity\n ArrayList<String> coordinatesList = new ArrayList<>();\n int numberOfItemsInList;\n if (isDiscoveredList) {\n numberOfItemsInList = mKuldigaDiscoveredLocationList.size();\n } else {\n numberOfItemsInList = mKuldigaHiddenLocationList.size();\n }\n for (int i = 0; i < numberOfItemsInList; i++) {\n KuldigaLocation location;\n if (isDiscoveredList) {\n location = mKuldigaDiscoveredLocationList.get(i);\n } else {\n location = mKuldigaHiddenLocationList.get(i);\n }\n coordinatesList.add(location.getCoordinates());\n }\n\n return coordinatesList;\n }", "title": "" }, { "docid": "1a0b2bbeb5808a7b0a1f4b658aecc9b4", "score": "0.6991429", "text": "List<VistaLocation> getLocationList(String division, String vpid, String duz, String appProxyName);", "title": "" }, { "docid": "0e419f3aa4f609726e937f16b70c9503", "score": "0.6950751", "text": "@SuppressWarnings(\"unused\")\n\t@Override\n\t@Transactional\n\t\n\tpublic List<Locations> list() {\n\t\t@SuppressWarnings(\"unchecked\")\n\t\t\n\t\tList<Locations> listLocations = (List<Locations>) sessionFactory.getCurrentSession()\n\t\t.createCriteria(Locations.class)\n\t\t.setResultTransformer(Criteria.DISTINCT_ROOT_ENTITY).list();\n\t\t\n\t\tSession session = this.sessionFactory.getCurrentSession();\n\t\tList<Locations> listOfLocations = session.createQuery(\"from Locations\").list();\n\t\t\n\t\t\t\treturn listOfLocations;\n\t}", "title": "" }, { "docid": "05f89e38be53ba4349e21ebeec4e436f", "score": "0.69494706", "text": "@Override\n\tpublic List<Location> getAll() {\n\t\treturn locationRepository.findAll();\n\t}", "title": "" }, { "docid": "ba124c4a7a6600396a3001ccd2ad1d58", "score": "0.6942647", "text": "public java.util.List<Hdfs.DataNodeLocation.Builder> \n getLocationsBuilderList() {\n return getLocationsFieldBuilder().getBuilderList();\n }", "title": "" }, { "docid": "575741adfe7c84bd552dfea8815cf0a4", "score": "0.6933667", "text": "Map<String, NavigableMap<Long, Map<String, Point>>> getLocations();", "title": "" }, { "docid": "239bac7ebc592309f7133cdc6a7fda06", "score": "0.692301", "text": "List<Location> findAll();", "title": "" }, { "docid": "4e6132736a4522417b7a813a95b78097", "score": "0.69095224", "text": "@Override\n\tpublic List<Location> getAll() {\n\t\treturn this.repo.findAll();\n\t}", "title": "" }, { "docid": "8fc48edc0ceba81aef9dbdf5c82606f4", "score": "0.6888408", "text": "private ArrayList getCoordinates() {\r\n\t\t\tBufferedReader rd = null;\r\n\t\t\tStringBuilder sb = null;\r\n\t\t\tString line = null;\r\n\t\t\tArrayList<String> data = new ArrayList<String>();\r\n\t\t\t\r\n\t\t\ttry{\r\n\t\t\t\tURL url = new URL(getString(R.string.poi_url));\r\n\t\t\t\t// Creating an http connection to communicate with url \r\n\t\t\t\tHttpURLConnection urlConnection = (HttpURLConnection) url.openConnection();\r\n\t\t\t\t// Allow inputs \r\n\t\t\t\turlConnection.setDoInput(true);\r\n\t\t\t\t// Allow outputs\r\n\t\t\t\turlConnection.setDoOutput(true);\r\n\t\t\t\t\r\n\t\t\t\turlConnection.setRequestProperty(\"User-Agent\",\"Mozilla/5.0 ( compatible ) \");\r\n\t\t\t\turlConnection.setRequestProperty(\"Accept\",\"*/*\");\r\n\t\t\t\t// Set Request Type GET\r\n\t\t\t\turlConnection.setRequestMethod(\"GET\");\r\n\t\t\t\t// Connecting to url \r\n\t\t\t\turlConnection.connect();\r\n\t\t\t\t// Sending request to server\r\n\t\t\t\tDataOutputStream dos = new DataOutputStream(urlConnection.getOutputStream());\r\n\t\t\t\tdos.writeBytes(\"cmd=GetLoc\");\r\n\t\t\t\tdos.flush();\r\n\t\t\t\t\r\n\t\t\t\t//Create the Readers for the InputStream\r\n\t\t\t\trd = new BufferedReader(new InputStreamReader(urlConnection.getInputStream()));\r\n\t\t\t\tsb = new StringBuilder();\r\n\t\t\t\t\r\n\t\t\t\t//Add each line to a String Builder\r\n\t\t\t\twhile((line = rd.readLine()) != null){\r\n\t\t\t\t\t//data.add(line);\r\n\t\t\t\t\tsb.append(line);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t//Close the connection\r\n\t\t\t\turlConnection.disconnect();\r\n\t\t\t\t//Parse the returned JSON\r\n\t\t\t\tdata = parseJSON(sb.toString());\r\n\t\t\t}\r\n\t\t\tcatch(Exception e){\r\n\t\t\t\tLog.d(\"Exception while downloading the locations info from url\", e.toString());\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t\treturn null;\r\n\t\t\t}\r\n\t\t\treturn data;\r\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "0c4f24b77e079ac20ad575d3c0cd58c6", "score": "0.6866869", "text": "@GET\n public Response getLocations(){\n return Response.ok().entity(this.locationsService.getLocations()).build();\n }", "title": "" }, { "docid": "85674defd2e28ffb12a2d9b2fbd3e53d", "score": "0.68605804", "text": "public List<Location> getLocationsForRelocation() {\n return locationsToRelocalize;\n }", "title": "" }, { "docid": "54af4873011d7511511c13da82482c8e", "score": "0.6850453", "text": "public List getIhfsLocationRecordList()\n {\n String whereClause = \"ORDER BY lid\";\n return getRecordList(new LocationTable(_dbIhfs), whereClause);\n }", "title": "" }, { "docid": "aa4cc3d23ffb90239537b4fa2cf020f9", "score": "0.67994225", "text": "public Room[][] getLocations(){\n return map.getLocations();\n }", "title": "" }, { "docid": "c5babc1b0f5d39bb52428b18e7481aae", "score": "0.67951185", "text": "List<LocationDAO> DisplayAllLocations();", "title": "" }, { "docid": "fadd4b2e0934b8355b028614f781f7f9", "score": "0.67848295", "text": "java.util.List<? extends Hdfs.DataNodeLocationOrBuilder> \n getLocationsOrBuilderList();", "title": "" }, { "docid": "21d3e9913d3db3558390f724867bfb4d", "score": "0.67739356", "text": "@CheckForNull\n public List<Location> listLocations(String filePath) {\n return provider.listLocations(filePath);\n }", "title": "" }, { "docid": "e18c20b4e2ea9ea3319f018583e0bea6", "score": "0.67640644", "text": "public List getLocations(Criteria criteria) throws TorqueException\n {\n if (collLocations == null)\n {\n if (isNew())\n {\n collLocations = new ArrayList();\n }\n else\n {\n criteria.add(LocationPeer.SALES_DISTRICT_ID, getSalesDistrictId() );\n collLocations = LocationPeer.doSelect(criteria);\n }\n }\n else\n {\n // criteria has no effect for a new object\n if (!isNew())\n {\n // the following code is to determine if a new query is\n // called for. If the criteria is the same as the last\n // one, just return the collection.\n criteria.add(LocationPeer.SALES_DISTRICT_ID, getSalesDistrictId());\n if (!lastLocationsCriteria.equals(criteria))\n {\n collLocations = LocationPeer.doSelect(criteria);\n }\n }\n }\n lastLocationsCriteria = criteria;\n\n return collLocations;\n }", "title": "" }, { "docid": "0480fff3f316034c43ede13a9093dfba", "score": "0.6750281", "text": "default Collection<Location> getAllLocations() throws ModelException{\n\t\ttry {\n\t\treturn Location.getLocations();\n\t\t} catch (Throwable exc) {\n\t\t\tthrow new ModelException();\n\t\t}\t\n\t}", "title": "" }, { "docid": "c28e2b1ffc13fa4a4482106428ab58a7", "score": "0.6716625", "text": "public ArrayDeque<MapLocation> getKarboniteLocations();", "title": "" }, { "docid": "b7a32bdc0a331f79677de40a4749646c", "score": "0.66981065", "text": "@GetMapping(\"locationcode\")\n\tpublic List<CodesLocation> findAllLocationcode() throws Exception {\n\t\tList<CodesLocation> locationCodeLists = adminService.findAllLocationcode();\n\t\treturn locationCodeLists;\n\t}", "title": "" }, { "docid": "fd62391d41fe99c0b1a4d3ec8982804a", "score": "0.6687537", "text": "public java.util.List<? extends Hdfs.DataNodeLocationOrBuilder> \n getLocationsOrBuilderList() {\n return locations_;\n }", "title": "" }, { "docid": "adde9678955c223f649ca8686b87f99a", "score": "0.6671501", "text": "public static ArrayList<Location> getLocationListByUser (String uname){\n\t\tArrayList<Location> list = new ArrayList<Location>();\n\t\tfor (User user : users){\n\t\t\tif (user.getUsername().equals(uname))\n\t\t\t\tlist = user.getLocationList();\n\t\t}\n\t\treturn list;\n\t}", "title": "" }, { "docid": "a943383c92533badb07257e39bc713e8", "score": "0.66560733", "text": "public static List<Location> getLocationList(String locations) throws JSONException {\n JSONObject jsonObject = new JSONObject(locations);\n return getLocationList(jsonObject);\n }", "title": "" }, { "docid": "21d6fb5ecd5fa42722a4c45d45cc51ec", "score": "0.6639703", "text": "public HashMap<Location, Integer> getLocations() {\r\n\t\treturn locations;\r\n\t}", "title": "" }, { "docid": "7b46de678a3ee9095791f052edbfaa44", "score": "0.6629065", "text": "@JsonProperty(\"locations\")\n public Set<Location> getLocations() {\n return locations;\n }", "title": "" }, { "docid": "85b08c32a08034abbba6f156df2566fb", "score": "0.66258997", "text": "Hdfs.DataNodeLocation getLocations(int index);", "title": "" }, { "docid": "d8dbf209f5e00724669fb39ef7549a71", "score": "0.6614345", "text": "public void Consulter_Liste_Location() {\n\t\tArrayList<Location> Locations = GetAllLocation();\n\n\t\tfor (Location location : Locations) {\n\t\t\tif (location.getClient().equals(this)) {\n\t\t\t\tSystem.out.println(location);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "6042f7675b1d5a1b1ec79a107d08c78f", "score": "0.65895116", "text": "public DefaultListModel<String> getLocList() {\n model2.removeAllElements();\n for (int i = 0; i < ev.size(); i++) {\n model2.addElement(ev.get(i).getLoc());\n }\n return model2;\n }", "title": "" }, { "docid": "0a9ff57803e513dd0742dc40c1b82aa9", "score": "0.6566767", "text": "public List getLocations(Criteria criteria, Connection con)\n throws TorqueException\n {\n if (collLocations == null)\n {\n if (isNew())\n {\n collLocations = new ArrayList();\n }\n else\n {\n criteria.add(LocationPeer.SALES_DISTRICT_ID, getSalesDistrictId());\n collLocations = LocationPeer.doSelect(criteria, con);\n }\n }\n else\n {\n // criteria has no effect for a new object\n if (!isNew())\n {\n // the following code is to determine if a new query is\n // called for. If the criteria is the same as the last\n // one, just return the collection.\n criteria.add(LocationPeer.SALES_DISTRICT_ID, getSalesDistrictId());\n if (!lastLocationsCriteria.equals(criteria))\n {\n collLocations = LocationPeer.doSelect(criteria, con);\n }\n }\n }\n lastLocationsCriteria = criteria;\n\n return collLocations;\n }", "title": "" }, { "docid": "a35bc0f6993d4e093f27f6a079054631", "score": "0.6547458", "text": "public ArrayList<Location> getOccupiedLocations() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "e6d33635dafd4b9708b9fea7dee5ddd8", "score": "0.65124345", "text": "public ArrayList<Location> getDescribedLocations(){\n\t\tArrayList<Location> describedLocations = new ArrayList<Location>();\n\t\tfor(int i = 0; i < holdadd.length; i++)\n\t\t{\n\t\t\tfor(int j = 0; j < holdadd[0].length; j++)\n\t\t\t{\n\t\t\t\tif(holdadd[i][j] != null)\n\t\t\t\t{\n\t\t\t\t\tLocation descriptionLoc = new Location(i, j);\n\t\t\t\t\tdescribedLocations.add(descriptionLoc);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn describedLocations;\n\t}", "title": "" }, { "docid": "8b8d23d28af09555e55e6d87619b40ac", "score": "0.6509691", "text": "Collection<LocationDto> findAllLocations();", "title": "" }, { "docid": "c7a2800cf17045972465ded11228da69", "score": "0.6498675", "text": "public List allLineLocations() throws AbsentInformationException {\n return null;\n }", "title": "" }, { "docid": "cb9b242c30a0206a9c723f55ac22288e", "score": "0.6490141", "text": "public Location[] get() throws ResponseException {\n return get(null);\n }", "title": "" }, { "docid": "1148ffab796c7ad9c2c242d22fbcd95e", "score": "0.6486755", "text": "public Hdfs.DataNodeLocation getLocations(int index) {\n return locations_.get(index);\n }", "title": "" }, { "docid": "724790984014d5d19cd6a725447f2496", "score": "0.64611655", "text": "@RequestMapping(value = \"/geolocations\", method = RequestMethod.GET)\n public ResponseEntity<List<GeoLocation>> listGeoLocations() {\n return new ResponseEntity<List<GeoLocation>>(geoLocationRepository.findAll(), HttpStatus.OK);\n }", "title": "" }, { "docid": "232ad571ec3b98fe093fd32703b05153", "score": "0.64298093", "text": "private List<Location> getLocationsByStopLocationNodeList(NodeList stopLocationNodeList) {\n\n List<Location> locations = new ArrayList<>();\n\n for (int i = 0; i < stopLocationNodeList.getLength(); i++) {\n locations.add(getLocationByLocationElement((Element) stopLocationNodeList.item(i)));\n }\n\n return locations;\n\n }", "title": "" }, { "docid": "2b4326ed4ad4243001bf5f5f982807bd", "score": "0.6393701", "text": "public String displayAllLocations()\n {\n Iterator<String> locations = locationIterator();\n String theLocation = \"\";\n while(locations.hasNext())\n {\n theLocation += locations.next() + \"\\n\";\n }\n return theLocation;\n }", "title": "" }, { "docid": "86c67874b715bd1ba308056612acaada", "score": "0.63770926", "text": "public List<Location> parseLocationSearchXml(String xml) {\n try {\n NodeList nodes = getElements(xml, LOCATION_TAG_NAME).elements;\n\n return getLocationsByStopLocationNodeList(nodes);\n\n } catch (IOException | SAXException e) {\n e.printStackTrace();\n return Collections.emptyList();\n }\n\n\n }", "title": "" }, { "docid": "d0b55c9bfff65389f6441c557e6d6084", "score": "0.63720286", "text": "public List<MyLocation> getLocationsToTask(long task_id) {\n\t\tCursor cursor = database.query(DBHelper.TABLE_TASKS_LOCATIONS, allTasksLocationsColumns, DBHelper.TASKS_LOCATIONS_COLUMN_TASK_ID + \" = \"+ task_id, null, null, null, null);\t\t\n\t\tList<Long> locationIDs = new ArrayList<Long>();\n\t\tcursor.moveToFirst();\n\t\twhile(!cursor.isAfterLast()){\n\t\t\tlocationIDs.add(cursor.getLong(2));\t\t\t\n\t\t\tcursor.moveToNext();\n\t\t}\n\t\t// Get locations by the id list\n\t\tList<MyLocation> locations = new ArrayList<MyLocation>();\n\t\tfor (long id:locationIDs) {\n\t\t\tlocations.add(getLocation(id));\n\t\t}\n\t\treturn locations;\n\t}", "title": "" }, { "docid": "6b2204833409c62ab3f5845ffb722d4c", "score": "0.63608253", "text": "public abstract List<MapInfo> getLocationMapList(String ctrdCd);", "title": "" }, { "docid": "07260cb8aa95e936c4dbe5d82d546686", "score": "0.6358766", "text": "public ArrayList<Integer> openLocations( int loc ) {\n\t\tArrayList<Integer> temp = new ArrayList<Integer>();\n\t\tint x = loc / maze.length;\n\t\tint y = loc % maze.length;\n\t\tint down = ( ( x + 1 ) * maze.length ) + y;\n\t\tif( uncheckedLocations.contains( down ) && !isWall( x + 1, y ) ) {\n\t\t\ttemp.add( down );\n\t\t} else if( isEnd( down ) ) {\n\t\t\ttemp.clear();\n\t\t\ttemp.add( down );\n\t\t\treturn temp;\n\t\t}\n\t\tint up = ( ( x - 1 ) * maze.length ) + y;\n\t\tif( uncheckedLocations.contains( up ) && !isWall( x - 1, y ) ) {\n\t\t\ttemp.add( up );\n\t\t} else if( isEnd( up ) ) {\n\t\t\ttemp.clear();\n\t\t\ttemp.add( up );\n\t\t\treturn temp;\n\t\t}\n\t\tint right = ( x * maze.length ) + ( y + 1 );\n\t\tif( uncheckedLocations.contains( right ) && !isWall( x, y + 1 ) ) {\n\t\t\ttemp.add( right );\n\t\t} else if( isEnd( right ) ) {\n\t\t\ttemp.clear();\n\t\t\ttemp.add( right );\n\t\t\treturn temp;\n\t\t}\n\t\tint left = ( x * maze.length ) + ( y - 1 );\n\t\tif( uncheckedLocations.contains( left ) && !isWall( x, y - 1 ) ) {\n\t\t\ttemp.add( left );\n\t\t} else if( isEnd( left ) ) {\n\t\t\ttemp.clear();\n\t\t\ttemp.add( left );\n\t\t\treturn temp;\n\t\t}\n\t\treturn temp;\n\t}", "title": "" }, { "docid": "b0fad76a63c2772bf4170cb86aedbf3e", "score": "0.63580775", "text": "public Collection getLocations(String employeeId)\n throws EmployeeException;", "title": "" }, { "docid": "d1456189eb120bf795a5452ff14a2d0a", "score": "0.6342852", "text": "public Hdfs.DataNodeLocation getLocations(int index) {\n if (locationsBuilder_ == null) {\n return locations_.get(index);\n } else {\n return locationsBuilder_.getMessage(index);\n }\n }", "title": "" }, { "docid": "20066a01711f92d76fa7d59870569b2a", "score": "0.6326296", "text": "List<String> zones();", "title": "" }, { "docid": "20066a01711f92d76fa7d59870569b2a", "score": "0.6326296", "text": "List<String> zones();", "title": "" }, { "docid": "d29f033ee6ec30688b5f8e65ebf600d2", "score": "0.63250107", "text": "public ArrayList<Location> makeMap(){\r\n\t\tArrayList<Location> locList = new ArrayList<Location>();\r\n\t\t\r\n\t\tLocation philly = new Location(\"Philadelphia\", \"Fourth Ave.\", null, null);\r\n\t\tLocation cleveland = new Location(\"Cleveland\", \"Fifth Ave.\", null, null);\r\n\t\tLocation coffee = new Location(\"Coffee\", \"Fifth Ave.\", null, null);\r\n\t\tLocation diner = new Location(\"Diner\", \"Fourth Ave.\", null, null);\r\n\t\tLocation hotel = new Location(\"Hotel\", \"Fourth Ave.\", null, null);\r\n\t\tLocation library = new Location(\"Library\", \"Fifth Ave.\", null, null);\r\n\t\t\r\n\t\tcoffee.setNext(library);\r\n\t\tcoffee.setTurn(diner);\r\n\t\t\r\n\t\tdiner.setNext(philly);\r\n\t\tdiner.setTurn(coffee);\r\n\t\t\t\t\r\n\t\thotel.setNext(diner);\r\n\t\thotel.setTurn(library);\r\n\t\t\r\n\t\tlibrary.setNext(cleveland);\r\n\t\tlibrary.setTurn(hotel);\r\n\t\t\r\n\t\tlocList.add(hotel);\r\n\t\tlocList.add(diner);\r\n\t\tlocList.add(library);\r\n\t\tlocList.add(coffee);\r\n\t\t\r\n\t\treturn locList;\r\n\t}", "title": "" }, { "docid": "b99956dffb41480d6109f1c72c2f309a", "score": "0.63249445", "text": "public LookupLocator[] getLookupLocators() throws RemoteException {\n if (OPERATIONS_LOGGER.isLoggable(Level.FINER)) {\n\t OPERATIONS_LOGGER.entering(MAILBOX_SOURCE_CLASS, \n\t \"getLookupLocators\");\n\t}\n readyState.check();\n\tconcurrentObj.readLock();\n\ttry {\n if (OPERATIONS_LOGGER.isLoggable(Level.FINER)) {\n\t OPERATIONS_LOGGER.exiting(MAILBOX_SOURCE_CLASS, \n \t \"getLookupLocators\");\n }\n\t return lookupLocators;\n\t} finally {\n\t concurrentObj.readUnlock();\n\t}\n }", "title": "" }, { "docid": "bb5f76a7453c545d51835d68b91d743c", "score": "0.6322587", "text": "java.util.List<com.navinfo.opentsp.platform.location.protocol.dataaccess.common.LCAreaInfo.AreaInfo> \n getInfosList();", "title": "" }, { "docid": "8ae2c8774f4f5792a939f8393516b44e", "score": "0.63181823", "text": "public final File[] getLocations() {\r\n return this._locations.toArray(new File[this._locations.size()]);\r\n }", "title": "" }, { "docid": "7aa9cdd7961f9d74f2ea68685fd1e510", "score": "0.6314707", "text": "void GetLocations(PlacesClient placesClient) {\n List<Place.Field> placeFields = Arrays.asList(Place.Field.LAT_LNG);\n\n // Use the builder to create a FindCurrentPlaceRequest.\n FindCurrentPlaceRequest request = FindCurrentPlaceRequest.builder(placeFields).build();\n //final List<String> restaurantNames=new ArrayList<String>();\n if (ContextCompat.checkSelfPermission(this, ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED) {\n placesClient.findCurrentPlace(request).addOnSuccessListener((response) -> {\n\n\n for (PlaceLikelihood placeLikelihood : response.getPlaceLikelihoods()) {\n Place place = placeLikelihood.getPlace();\n LatLng LL = place.getLatLng();\n if (LL != null) {\n Locations.add(LL);\n }\n }\n }).addOnFailureListener((exception) -> {\n\n }\n );\n } else {\n int PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION = 100;\n ActivityCompat.requestPermissions(this, new String[]{ACCESS_FINE_LOCATION}, PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n\n }\n\n\n }", "title": "" }, { "docid": "ef548e2dbcd1bb901baefc198ef265df", "score": "0.63019866", "text": "public ArrayList<Coordinate> getShipLocations()\n\t{\n\t\treturn locations;\n\t}", "title": "" }, { "docid": "9b7795c94348055ad671b5b6e7b3616c", "score": "0.6299048", "text": "public static List<Geofence> getGeofenceList() {\n List<Geofence> geofenceList = new ArrayList<Geofence>();\n for (String city : CITY_LOCATIONS.keySet()) {\n LatLng cityLatLng = CITY_LOCATIONS.get(city);\n geofenceList.add(new Geofence.Builder()\n .setCircularRegion(cityLatLng.latitude, cityLatLng.longitude, TRIGGER_RADIUS)\n .setRequestId(city)\n .setTransitionTypes(TRIGGER_TRANSITION)\n .setExpirationDuration(EXPIRATION_DURATION)\n .build());\n }\n return geofenceList;\n }", "title": "" }, { "docid": "f83ae21302a74c98d729325d66ecc11d", "score": "0.6291555", "text": "@Override\n\tpublic List<Location> getByOffres(Offre offre) {\n\t\treturn locationRepository.findByOffres(offre);\n\t}", "title": "" }, { "docid": "fd1c0cee99206292f47d9abb29439c19", "score": "0.62840825", "text": "@RequestMapping(value = MsalesConstants.MODULE.LOCATION.ACTION_GET_LIST_LOCATION, method = RequestMethod.POST)\n public @ResponseBody\n String getListLocation(HttpServletRequest request) {\n // get Lists Location from DB\n MsalesPageRequest page = (MsalesPageRequest) request.getAttribute(MsalesConstants.PAGE);\n ParameterList parameterList = new ParameterList(page.getPageNo(), page.getRecordsInPage());\n MsalesResults<Location> lists = dataService.getListOption(Location.class, parameterList, true);\n // lists not null display list\n return MsalesJsonUtils.getJSONFromOject(MsalesResponse.create(\n HttpStatus.OK, lists));\n }", "title": "" }, { "docid": "cfcbbe98ba47718d036c9155f439d922", "score": "0.6273651", "text": "@Override\n\tpublic List<Object[]> geoipFindBycityLocation() {\n\t\treturn geoipRepository.geoipFindByCityLocationName();\n\t}", "title": "" }, { "docid": "25250c2701a3d55109800a76e745f2a9", "score": "0.6266512", "text": "LookupLocator[] getLocators(Uuid registrationID)\n throws RemoteException, ThrowThis;", "title": "" }, { "docid": "ed3d40b4ac0e05042b4a67bb20eedb43", "score": "0.6241565", "text": "@Override\n\tpublic List<Object[]> findLatAndLongByFarm() {\n\t\tHttpSession httpSession = ReflectUtil.getCurrentHttpSession();\n\t\tHttpServletRequest request = ReflectUtil.getCurrentHttpRequest();\n\t\tString tenantId = !StringUtil.isEmpty(ISecurityFilter.DEFAULT_TENANT_ID) ? ISecurityFilter.DEFAULT_TENANT_ID\n\t\t\t\t: \"\";\n\n\t\tSession sessions = getSessionFactory().withOptions().tenantIdentifier(tenantId).openSession();\n\t\tQuery query = sessions\n\t\t\t\t.createQuery(\"SELECT fa.id,fa.latitude,fa.longitude FROM Farm fa where fa.latitude is not null AND \"\n\t\t\t\t\t\t+ \"fa.longitude is not null AND fa.latitude!='' AND fa.longitude!='' AND fa.latitude!=0 AND fa.longitude!=0 GROUP BY fa.latitude,fa.longitude\");\n\t\tList<Object[]> list = query.list();\n\t\tsessions.flush();\n\t\tsessions.close();\n\t\treturn list;\n\t}", "title": "" }, { "docid": "ab9d59f4757ea877ada8c00edf60c335", "score": "0.62358993", "text": "default Location[] getAllLocations(Route route) throws ModelException {\n\t\ttry {\n\t\t\treturn route.getAllVisitedLocations();\n\t\t} catch (Throwable exc) {\n\t\t\tthrow new ModelException();\n\t\t}\t\n\t}", "title": "" }, { "docid": "caed4d14e66f5ce6d225e39e4c03d55a", "score": "0.62305164", "text": "public java.util.List<com.google.cloud.talent.v4beta1.Location> getLocationFiltersList() {\n if (locationFiltersBuilder_ == null) {\n return java.util.Collections.unmodifiableList(locationFilters_);\n } else {\n return locationFiltersBuilder_.getMessageList();\n }\n }", "title": "" }, { "docid": "47f57cd3879727ee07a78900fd36750f", "score": "0.62299025", "text": "protected ArrayList<Location> getEmptyLocations()\n {\n ArrayList<Location> locs = new ArrayList<Location>();\n for ( int i = 0; i < grid.getNumRows(); i++ )\n {\n for ( int x = 0; x < grid.getNumCols(); x++ )\n {\n Location loc = new Location( i, x );\n if ( grid.isValid( loc ) && grid.get( loc ) == null )\n {\n locs.add( loc );\n }\n }\n }\n return locs;\n }", "title": "" }, { "docid": "7b574c5ed885a5a6bbeb0fcf7862ea30", "score": "0.6226825", "text": "private void getNearByLocations(String longitude, String latitude) {\n }", "title": "" }, { "docid": "544f61a6aae2346d490494c1be9c6f87", "score": "0.62155825", "text": "public java.lang.String getAllLocationCenter() throws java.rmi.RemoteException;", "title": "" }, { "docid": "7f89fb781a802a02a9a33af78f8fdb7e", "score": "0.62104726", "text": "public static Locations getLocations(WebElement root) {\n Point topLeft = root.getLocation();\n Dimension dimension = root.getSize();\n Point topRight = topLeft.moveBy(dimension.getWidth(), 0);\n Point bottomRight = topRight.moveBy(0, dimension.getHeight());\n Point bottomLeft = topLeft.moveBy(0, dimension.getHeight());\n return new Locations(topLeft, topRight, bottomLeft, bottomRight);\n }", "title": "" }, { "docid": "b4808d6257568d470a94eadc5fb09927", "score": "0.6189303", "text": "ArrayList listOfLocalities() {\n if (localities.size() < 1) {\n System.out.println(\"\\nThere is no localities\\n\");\n } else {\n Collections.sort(localities, Comparator.comparing(Locality::getName));\n System.out.println(\"All localities in alphabetic order: \");\n\n for (int i=0; i<localities.size(); i++)\n System.out.println(localities.get(i).locality_name);\n }\n return localities;\n }", "title": "" }, { "docid": "abf4da8bcef30e690b359e1f6b93055a", "score": "0.61750674", "text": "public MapList getMEPLocations(Context context, String[] args)\r\n throws Exception {\r\n HashMap paramMap = (HashMap) JPO.unpackArgs(args);\r\n String objectId = (String) paramMap.get(\"objectId\");\r\n\r\n StringList selectStmts = new StringList(3);\r\n selectStmts.addElement(SELECT_ID);\r\n selectStmts.addElement(SELECT_NAME);\r\n selectStmts.addElement(SELECT_TYPE);\r\n\r\n StringList validAllocRespFromTypes = new StringList(5);\r\n validAllocRespFromTypes.addElement(TYPE_ORGANIZATION);\r\n validAllocRespFromTypes.addElement(TYPE_COMPANY);\r\n validAllocRespFromTypes.addElement(TYPE_BUSINESS_UNIT);\r\n validAllocRespFromTypes.addElement(TYPE_DEPARTMENT);\r\n validAllocRespFromTypes.addElement(TYPE_LOCATION);\r\n\r\n StringList selectRelStmts = new StringList(1);\r\n selectRelStmts.addElement(SELECT_RELATIONSHIP_ID);\r\n\r\n StringBuffer sbRelPattern = new StringBuffer(\r\n RELATIONSHIP_MANUFACTURER_EQUIVALENT);\r\n sbRelPattern.append(\",\");\r\n sbRelPattern.append(RELATIONSHIP_ALLOCATION_RESPONSIBILITY);\r\n\r\n StringBuffer sbTypePattern = new StringBuffer(\r\n TYPE_LOCATION_EQUIVALENT_OBJECT);\r\n sbTypePattern.append(\",\");\r\n sbTypePattern.append(DomainConstants.TYPE_LOCATION);\r\n sbTypePattern.append(\",\");\r\n sbTypePattern.append(DomainConstants.TYPE_ORGANIZATION);\r\n\r\n StringBuffer sbCorpMEPLocTypePattern = new StringBuffer(\r\n DomainConstants.TYPE_LOCATION);\r\n sbCorpMEPLocTypePattern.append(\",\");\r\n sbCorpMEPLocTypePattern.append(DomainConstants.TYPE_ORGANIZATION);\r\n\r\n MapList locEquivMEPLocList = new MapList();\r\n MapList corpMEPLocList = new MapList();\r\n\r\n MapList locationList = new MapList();\r\n\r\n Vector vecLocId = new Vector();\r\n Vector vecLocName = new Vector();\r\n Vector vecLocEquivRelId = new Vector();\r\n Vector vecAllocRespRelId = new Vector();\r\n Vector vecIsLocEquiv = new Vector();\r\n\r\n try {\r\n\r\n setId(objectId);\r\n\r\n // fetching locations associated with MEP via location equib object\r\n // (Location Equiv MEP)\r\n locEquivMEPLocList = getRelatedObjects(context, sbRelPattern\r\n .toString(), // relationship pattern\r\n sbTypePattern.toString(), // object pattern\r\n selectStmts, // object selects\r\n selectRelStmts, // relationship selects\r\n true, // to direction\r\n false, // from direction\r\n (short) 2, // recursion level\r\n null, // object where clause\r\n null); // relationship where clause\r\n\r\n // fetching locations associated with MEP directly\r\n // (Corporate MEP)\r\n corpMEPLocList = getRelatedObjects(context,\r\n RELATIONSHIP_ALLOCATION_RESPONSIBILITY,// relationship\r\n // pattern\r\n sbCorpMEPLocTypePattern.toString(), // object pattern\r\n selectStmts, // object selects\r\n selectRelStmts, // relationship selects\r\n true, // to direction\r\n false, // from direction\r\n (short) 1, // recursion level\r\n null, // object where clause\r\n null); // relationship where clause\r\n\r\n Map tempMap = null;\r\n String strType = null;\r\n String strLevel = null;\r\n\r\n for (int i = 0; i < locEquivMEPLocList.size(); i++) {\r\n tempMap = (Map) locEquivMEPLocList.get(i);\r\n strType = (String) tempMap.get(SELECT_TYPE);\r\n strLevel = (String) tempMap.get(\"level\");\r\n\r\n // The above Map List would contain Location Object at level 2\r\n // and Allocation Resp relationship at level 1\r\n if (\"2\".equals(strLevel)) {\r\n vecLocId.addElement(tempMap.get(SELECT_ID));\r\n vecLocName.addElement(tempMap.get(SELECT_NAME));\r\n vecAllocRespRelId.addElement(tempMap\r\n .get(SELECT_RELATIONSHIP_ID));\r\n //Added for 349412\r\n vecLocEquivRelId.addElement(tempMap\r\n .get(SELECT_RELATIONSHIP_ID));\r\n //end\r\n vecIsLocEquiv.addElement(\"(equiv)\");\r\n }\r\n //commented for 349412 as this is handled already in the below list\r\n /* if (\"1\".equals(strLevel)) {\r\n vecLocEquivRelId.addElement(tempMap\r\n .get(SELECT_RELATIONSHIP_ID));\r\n }*/\r\n\r\n }// end of for locEquivMEPLocations\r\n\r\n for (int j = 0; j < corpMEPLocList.size(); j++) {\r\n tempMap = (Map) corpMEPLocList.get(j);\r\n strType = (String) tempMap.get(SELECT_TYPE);\r\n\r\n // The above Map List would contain Location Object at level 2\r\n // and Allocation Resp relationship at level 1\r\n if (validAllocRespFromTypes.contains(strType)) {\r\n vecLocId.addElement(tempMap.get(SELECT_ID));\r\n vecLocName.addElement(tempMap.get(SELECT_NAME));\r\n vecAllocRespRelId.addElement(tempMap\r\n .get(SELECT_RELATIONSHIP_ID));\r\n vecLocEquivRelId.addElement(tempMap\r\n .get(SELECT_RELATIONSHIP_ID));\r\n vecIsLocEquiv.addElement(\" \");// dummy for corp MEP\r\n }\r\n }// end of for corpMEPLocList\r\n\r\n HashMap resultMap = null;\r\n\r\n for (int k = 0; k < vecLocId.size(); k++) {\r\n resultMap = new HashMap();\r\n resultMap.put(SELECT_ID, (String) vecLocId.elementAt(k));\r\n resultMap.put(SELECT_NAME, (String) vecLocName.elementAt(k));\r\n resultMap.put(KEY_ALLOCATION_REL_ID, (String) vecAllocRespRelId\r\n .elementAt(k));\r\n resultMap.put(SELECT_RELATIONSHIP_ID, (String) vecLocEquivRelId\r\n .elementAt(k));\r\n resultMap.put(KEY_LABEL_LOC_EQUIV, (String) vecIsLocEquiv\r\n .elementAt(k));\r\n locationList.add(resultMap);\r\n }\r\n\r\n } catch (Exception Ex) {\r\n throw Ex;\r\n }\r\n\r\n return locationList;\r\n }", "title": "" }, { "docid": "31dda1545a0281334208303f91f5bd12", "score": "0.6165855", "text": "java.util.List<mrtech.smarthome.rpc.Models.IasZone> \n getResultsList();", "title": "" }, { "docid": "bbfef40698f7e17c708a32861414c139", "score": "0.6163271", "text": "private CommandResult executeListLocation() {\n ListingUnit.setCurrentListingUnit(LOCATION);\n UniqueLocationPredicate locationPredicate = new UniqueLocationPredicate(model.getUniqueLocationSet());\n EventsCenter.getInstance().post(new ViewedLessonEvent());\n ListingUnit.setCurrentPredicate(locationPredicate);\n return executeListByAttribute(locationPredicate);\n }", "title": "" } ]
f326ec3abe6284ad7614ebe924b4bd88
the time that signature took int64 sign = 2;
[ { "docid": "24a6880fff12c24854b4564a1deb543a", "score": "0.0", "text": "public Builder clearSign() {\n \n sign_ = 0L;\n onChanged();\n return this;\n }", "title": "" } ]
[ { "docid": "7e21d16c7c9f708b86a10ebfeff78629", "score": "0.69511914", "text": "long getSign();", "title": "" }, { "docid": "bc7aa95521777b07be280a39edc8f697", "score": "0.61411214", "text": "int getUint32ExpireTime();", "title": "" }, { "docid": "71e83a2154778d701214b2901a035898", "score": "0.61133355", "text": "public long getSign() {\n return sign_;\n }", "title": "" }, { "docid": "943f03ca327ad2d96d62866c6ad0f63c", "score": "0.60539204", "text": "private static void testCreateSignatureEachTimeSign() throws Exception {\n\t\tnew PerformanceTestHelper(\"testCreateSignatureEachTimeSign\") {\n\t\t\tPrivateKey privateKey = RSAUtils\n\t\t\t\t\t.getPrivateKeyFromBase64Chars(_privateKeyChars);\n\n\t\t\tint cnt = 0;\n\t\t\t@Override\n\t\t\tpublic void run() throws Exception {\n\t\t\t\tSignature signSignature = RSAUtils.getSignSignature(privateKey);\n\t\t\t\tchar[] sign = RSAUtils.sign(signSignature, (_src+cnt).toCharArray());\n\t\t\t\t\n\t\t\t\tSystem.out.print(sign[4]+\", \");\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t}.setRuns(_runs)\n\t\t.setShouldWarmUp(true)\n\t\t.doTest()\n\t\t.showResult();\n\t}", "title": "" }, { "docid": "2b4f87ecd30844780c8e8cd12e18e83b", "score": "0.60371387", "text": "public long getSign() {\n return sign_;\n }", "title": "" }, { "docid": "4a848c559b8d576c5995ee2265057e31", "score": "0.60111284", "text": "private static long get64MostSignificantBitsForVersion1() {\n LocalDateTime start = LocalDateTime.of(1582, 10, 15, 0, 0, 0);\n Duration duration = Duration.between(start, LocalDateTime.now());\n long seconds = duration.getSeconds();\n long nanos = duration.getNano();\n long timeForUuidIn100Nanos = seconds * 10000000 + nanos * 100;\n long least12SignificatBitOfTime = (timeForUuidIn100Nanos & 0x000000000000FFFFL) >> 4;\n long version = 1 << 12;\n return\n (timeForUuidIn100Nanos & 0xFFFFFFFFFFFF0000L) + version + least12SignificatBitOfTime;\n }", "title": "" }, { "docid": "a4d814e492f6592fefc92da83aa9f8bd", "score": "0.58146626", "text": "com.baidu.xuper.pb.Chainedbft.SignInfo getSignature();", "title": "" }, { "docid": "a4d814e492f6592fefc92da83aa9f8bd", "score": "0.58146626", "text": "com.baidu.xuper.pb.Chainedbft.SignInfo getSignature();", "title": "" }, { "docid": "526d6fa0dc68931e96fa7deb8d839caf", "score": "0.5786116", "text": "long getSint64();", "title": "" }, { "docid": "f75f83d6fc41b6c636218fac05536dcc", "score": "0.57793784", "text": "public static void main(String[] args) {\n\n// String sign = sign(\"18801417651\", \"4d5d8a902fea41dbb567b21efc65da13\");\n\n }", "title": "" }, { "docid": "b2538fb58947dd3624de3ebaa9896673", "score": "0.5770259", "text": "long getSfixed64();", "title": "" }, { "docid": "f5a04d369a2771cf39549ac3abd6a08b", "score": "0.57583505", "text": "int getUint32CreateTime();", "title": "" }, { "docid": "926d8a59f965c2aed9f473d2d8af8f9c", "score": "0.57358485", "text": "long timestamp();", "title": "" }, { "docid": "e5065d1548cec9afe27fd75cba1db4b6", "score": "0.57211655", "text": "long getLeastSigBits();", "title": "" }, { "docid": "037cca66347832f19204df95d3effc9e", "score": "0.5717953", "text": "public static boolean isSigned_counter() {\n return true;\n }", "title": "" }, { "docid": "a606435af4d030227274483a73f39ffa", "score": "0.5712319", "text": "com.google.protobuf.ByteString getSign();", "title": "" }, { "docid": "372f9655a5732cdbabe51656a946b043", "score": "0.5674626", "text": "long getTime();", "title": "" }, { "docid": "372f9655a5732cdbabe51656a946b043", "score": "0.5674626", "text": "long getTime();", "title": "" }, { "docid": "372f9655a5732cdbabe51656a946b043", "score": "0.5674626", "text": "long getTime();", "title": "" }, { "docid": "372f9655a5732cdbabe51656a946b043", "score": "0.5674626", "text": "long getTime();", "title": "" }, { "docid": "372f9655a5732cdbabe51656a946b043", "score": "0.5674626", "text": "long getTime();", "title": "" }, { "docid": "372f9655a5732cdbabe51656a946b043", "score": "0.5674626", "text": "long getTime();", "title": "" }, { "docid": "372f9655a5732cdbabe51656a946b043", "score": "0.5674626", "text": "long getTime();", "title": "" }, { "docid": "d648ced247d6259766d6d5bb166cf987", "score": "0.5670997", "text": "public static native long libvlc_picture_get_time(libvlc_picture_t pic);", "title": "" }, { "docid": "802089bb6d8addf042d02ff186c49235", "score": "0.56461364", "text": "public long getSWSignature() {\n\t\tint id = 0;\n\t\tElement el;\n\t\tlong crc = 1;\n\t\twhile ((el = getElement(id)) != null) {\n\t\t\tcrc += el.getHWType() * (id+1) * 1237;\n\t\t\tid++;\n\t\t}\n\t\tcrc &= 0xffffffffffL;\n\t\treturn crc;\n\t}", "title": "" }, { "docid": "2d913a76caa05326a00655781b003de6", "score": "0.56285733", "text": "protected long getTimestamp() {\n\t\t\t\n\t\t\t/* Decode Timestamp */ \n\t\t\tint offset = 0;\n\t\t\tlong seconds = ( ( (long)jpeg[25+offset]) << 24 ) & 0xff000000 | \n\t\t\t\t\t\t ( ( (long)jpeg[26+offset]) << 16 ) & 0x00ff0000 | \n\t\t\t\t\t\t ( ( (long)jpeg[27+offset]) << 8 ) & 0x0000ff00 | \n\t\t\t\t\t\t ( (long)jpeg[28+offset]\t\t & 0x000000ff ); \n\t\t\tlong hundreths = ( (long)jpeg[29+offset] & 0x000000ff );\n\n\t\t\treturn 1000*seconds + 10*hundreths;\n\n\t\t\t/*\n\t\t\treturn 1000L*(((jpeg[25]<0?256+jpeg[25]:jpeg[25])<<24)+((jpeg[26]<0?256+jpeg[26]:jpeg[26])<<16)+\n\t\t\t\t\t((jpeg[27]<0?256+jpeg[27]:jpeg[27])<<8)+(jpeg[28]<0?256+jpeg[28]:jpeg[28]))+\n\t\t\t\t\t10L*(jpeg[29]<0?256+jpeg[29]:jpeg[29]);\t\t\n\t\t\t*/\n\t\n\t\t}", "title": "" }, { "docid": "81935e7f64e8fb3a21e66487794bb67e", "score": "0.56275946", "text": "int getTime();", "title": "" }, { "docid": "81935e7f64e8fb3a21e66487794bb67e", "score": "0.56275946", "text": "int getTime();", "title": "" }, { "docid": "81935e7f64e8fb3a21e66487794bb67e", "score": "0.56275946", "text": "int getTime();", "title": "" }, { "docid": "81935e7f64e8fb3a21e66487794bb67e", "score": "0.56275946", "text": "int getTime();", "title": "" }, { "docid": "0297a6d79254fb5743ab01a5a825007e", "score": "0.562551", "text": "public String getTestSignature();", "title": "" }, { "docid": "da2ad38e09a21f4b32c5b325bae54fec", "score": "0.5594496", "text": "Signature getSignature();", "title": "" }, { "docid": "da2ad38e09a21f4b32c5b325bae54fec", "score": "0.5594496", "text": "Signature getSignature();", "title": "" }, { "docid": "f878a2aeb75ab3ee148f31b3be685fc9", "score": "0.5587762", "text": "protected static native int getSignatureJNI0();", "title": "" }, { "docid": "c6014aa3c7c067e0b7d69fa80f22a876", "score": "0.5561978", "text": "long getMostSigBits();", "title": "" }, { "docid": "d6b6c52e04d2ccec4925bde193005b1a", "score": "0.5528854", "text": "public byte[] timestamp(InputStream input) throws SignatureException, IOException {\n\t\t// Need to store our output in a byte array\n\t\tByteArrayOutputStream output = new ByteArrayOutputStream(156);\n\n\t\t// Begin by hashing the input.\n\t\tmHasher.reset();\n\t\tint i;\n\t\twhile ((i = input.read())!= -1) {\n\t\t\tmHasher.update((byte)i);\n\t\t}\n\t\tbyte[] hash1 = mHasher.digest();\n\t\toutput.write(hash1);\n\n\t\t// Now we need to get the time\n\t\tlong time = System.currentTimeMillis();\n\t\tbyte[] timeBytes = longToBytes(time);\n\t\toutput.write(timeBytes);\n\n\t\t// Produce the second hash from the first hash\n\t\t// and the time.\n\t\tmHasher.update(hash1);\n\t\tmHasher.update(timeBytes);\n\t\tbyte[] hash2 = mHasher.digest();\n\n\t\t// Now sign the second hash.\n\t\tSignature signer = null;\n\t\ttry {\n\t\t\tsigner = Signature.getInstance(\"SHA1withRSA\");\n\t\t\tsigner.initSign(mPrivateKey);\n\t\t} catch (NoSuchAlgorithmException nsae) {\n\t\t\t// Probably don't have RSA signatures installed\n\t\t\tnsae.printStackTrace();\n\t\t\tSystem.err.println(\"Check that an RSA provider is installed.\");\n\t\t\tthrow new RuntimeException(\"No suitable provider\");\n\t\t} catch (InvalidKeyException ike) {\n\t\t\tthrow new SignatureException(\"InvalidKey\");\n\t\t}\n\t\tsigner.update(hash2);\n\t\tbyte[] signatureBytes = signer.sign();\n\n\t\t// Write that to the array.\n\t\toutput.write(signatureBytes);\n\t\tbyte[] outputBytes = output.toByteArray();\n\t\treturn outputBytes;\n\t}", "title": "" }, { "docid": "e242def2bb8a3e9dc8bfc1b94fc9682d", "score": "0.54858553", "text": "int getCryptoPeriodSeconds();", "title": "" }, { "docid": "fcc1878d09ed48db14597ae14b92a457", "score": "0.5480526", "text": "public String getSignature();", "title": "" }, { "docid": "fcc1878d09ed48db14597ae14b92a457", "score": "0.5480526", "text": "public String getSignature();", "title": "" }, { "docid": "19a2d59b7333fc31aea795f344f74a81", "score": "0.54682326", "text": "public int gettimeStamp(){ return (int)tsclock.getTime(); }", "title": "" }, { "docid": "4a36eeb41d8ba0debff3ff352a5a89e7", "score": "0.54542136", "text": "java.lang.String getSignature();", "title": "" }, { "docid": "4a36eeb41d8ba0debff3ff352a5a89e7", "score": "0.54542136", "text": "java.lang.String getSignature();", "title": "" }, { "docid": "f093f6a8d3bf828bcbbd68fcf267663f", "score": "0.5452771", "text": "public int getTime() {\n\t\treturn ts2;\n\t}", "title": "" }, { "docid": "b2b78cf6507193c51a27679110b22929", "score": "0.54472715", "text": "private static void testCreateSignatureEachTimeVerify() throws Exception {\n\t\tnew PerformanceTestHelper(\"testCreateSignatureEachTimeVerify\") {\n\t\t\tPublicKey publicKey = RSAUtils.getPublicKeyFromBase64Chars(_publicKeyChars);\n\t\t\t\n\t\t\tint cnt = 0;\n\t\t\t@Override\n\t\t\tpublic void run() throws Exception {\n\t\t\t\tSignature verifySignature = RSAUtils.getVerifySignature(publicKey);\n\t\t\t\t\n\t\t\t\tchar[] sign = _signs.get(cnt);\n\t\t\t\tchar[] data = (_src+cnt).toCharArray();\n\t\t\t\tboolean verify = RSAUtils.verify(verifySignature, data, sign);\n\t\t\t\t\n\t\t\t\tSystem.out.print((verify? 1 : 0)+\", \");\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t}.setRuns(_runs)\n\t\t.setShouldWarmUp(true)\n\t\t.doTest()\n\t\t.showResult();\n\t}", "title": "" }, { "docid": "08d592882f84c7d3727c6b3936ebd63e", "score": "0.5436119", "text": "public BigInteger Signature(BigInteger m) \n\t{\n\t\t// m.compareTo(n): m < n = -1, m == n = 0, m > n = 1\n\t\tif (m.compareTo(n) == -1) \n\t\t{\n\t\t\tBigInteger s;\n\n\t\t\ts = m.modPow(d, n);\n\n\t\t\treturn s;\n\t\t} \n\t\telse \n\t\t{\n\t\t\treturn null;\n\t\t}\n\t}", "title": "" }, { "docid": "7595c49e64c57f82ab7e7ff4617b7cff", "score": "0.5434597", "text": "public int get_sign() {\n\t\treturn 1;\n\t}", "title": "" }, { "docid": "03b13cdd62653243429cdffc0b6b236c", "score": "0.5412639", "text": "public double AstrometricGeocentricLightTime()\n{\ndouble __retval = 0.0;\n__retval = __m11(implementation.longValue());\nreturn __retval;\n}", "title": "" }, { "docid": "aae5f3ed2e04cf6a61075116021eec79", "score": "0.54083276", "text": "long getFixed64();", "title": "" }, { "docid": "4d000e56cc737ba242484e65beafa2de", "score": "0.5405124", "text": "public native double getTime();", "title": "" }, { "docid": "ec3d82821a0a9dd666bbaf40214dd6e8", "score": "0.54008746", "text": "String getSign();", "title": "" }, { "docid": "d2961af4d778d7ae30c2167e14b49ef6", "score": "0.5398293", "text": "private final String tstime() {\n\t\tString str = \"\";\n\n\t\tSimpleDateFormat sf = new SimpleDateFormat(\"yyyy-MM-dd hh:mm:ss\");\n\t\tlong time1;\n\t\ttry {\n\t\t\ttime1 = sf.parse(\"1970-01-01 00:00:00 UTC\").getTime();\n\t\t\tDate date = new Date();\n\t\t\tlong time2 = date.getTime();\n\t\t\tlong time = (time2 - time1);\n\t\t\t// System.out.println(time);\n\t\t\tstr = time + \"\";\n\t\t} catch (ParseException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\treturn str;\n\t}", "title": "" }, { "docid": "9064647d6f3730538f259205e8c52da0", "score": "0.5394278", "text": "void rt(long rt);", "title": "" }, { "docid": "ea03ec717822b0586d2b3f3ef82732f4", "score": "0.53877103", "text": "long getClientTs();", "title": "" }, { "docid": "1137f952567b9776d4b024d5b40606f1", "score": "0.53852785", "text": "long mo60383b(long j);", "title": "" }, { "docid": "7705cc12f5155aac3f80dcf2975433a1", "score": "0.5377943", "text": "com.google.protobuf.ByteString getSignature();", "title": "" }, { "docid": "7705cc12f5155aac3f80dcf2975433a1", "score": "0.5377943", "text": "com.google.protobuf.ByteString getSignature();", "title": "" }, { "docid": "7705cc12f5155aac3f80dcf2975433a1", "score": "0.5377943", "text": "com.google.protobuf.ByteString getSignature();", "title": "" }, { "docid": "7705cc12f5155aac3f80dcf2975433a1", "score": "0.5377943", "text": "com.google.protobuf.ByteString getSignature();", "title": "" }, { "docid": "7705cc12f5155aac3f80dcf2975433a1", "score": "0.5377943", "text": "com.google.protobuf.ByteString getSignature();", "title": "" }, { "docid": "7705cc12f5155aac3f80dcf2975433a1", "score": "0.5377943", "text": "com.google.protobuf.ByteString getSignature();", "title": "" }, { "docid": "7705cc12f5155aac3f80dcf2975433a1", "score": "0.5377943", "text": "com.google.protobuf.ByteString getSignature();", "title": "" }, { "docid": "7705cc12f5155aac3f80dcf2975433a1", "score": "0.5377943", "text": "com.google.protobuf.ByteString getSignature();", "title": "" }, { "docid": "7705cc12f5155aac3f80dcf2975433a1", "score": "0.5377943", "text": "com.google.protobuf.ByteString getSignature();", "title": "" }, { "docid": "7705cc12f5155aac3f80dcf2975433a1", "score": "0.5377943", "text": "com.google.protobuf.ByteString getSignature();", "title": "" }, { "docid": "7705cc12f5155aac3f80dcf2975433a1", "score": "0.5377943", "text": "com.google.protobuf.ByteString getSignature();", "title": "" }, { "docid": "7705cc12f5155aac3f80dcf2975433a1", "score": "0.5377943", "text": "com.google.protobuf.ByteString getSignature();", "title": "" }, { "docid": "7705cc12f5155aac3f80dcf2975433a1", "score": "0.5377943", "text": "com.google.protobuf.ByteString getSignature();", "title": "" }, { "docid": "7b8c80f26e9f4a5068ef648c2c2a0b05", "score": "0.5374012", "text": "private int randSign() {\n\t\tint randInt = (int)Math.random() * 2;\n\t\tif (randInt == 0) {\n\t\t\trandInt = -1;\n\t\t}\n\t\treturn randInt;\n\t\t}", "title": "" }, { "docid": "57d5962ae7d1706960bfa76579d9aa24", "score": "0.5353128", "text": "long getUint64();", "title": "" }, { "docid": "933243f4dda78135daa5e4c16c2246af", "score": "0.53348714", "text": "public long getTimeSec() {\n\t\treturn msecs / 1000;\n\t}", "title": "" }, { "docid": "e0694716ae48f0759455ee318672f530", "score": "0.53309643", "text": "public Long weakSignature() {\n return this.weakSignature;\n }", "title": "" }, { "docid": "107c57517fa908137cc89dad9f9c27c7", "score": "0.5326838", "text": "long getServerTs();", "title": "" }, { "docid": "51866fc91915a4739e9635319b496465", "score": "0.530685", "text": "native public static int getTaintLong(long val);", "title": "" }, { "docid": "cfb06823a2732f0eff2e65cb77012d9d", "score": "0.53055704", "text": "long getStartTimeUsec();", "title": "" }, { "docid": "e3b5d02a7c8c8a6a5d04b1d7076a351b", "score": "0.5293891", "text": "long getTimeStamp();", "title": "" }, { "docid": "e3b5d02a7c8c8a6a5d04b1d7076a351b", "score": "0.5293891", "text": "long getTimeStamp();", "title": "" }, { "docid": "e3b5d02a7c8c8a6a5d04b1d7076a351b", "score": "0.5293891", "text": "long getTimeStamp();", "title": "" }, { "docid": "b1a073db741ba6ca6abbd60242461475", "score": "0.5286007", "text": "public static long getTimeStamp() {\n return 0;\n }", "title": "" }, { "docid": "ac83777cb323444e8a2b2eb28aec338a", "score": "0.52834785", "text": "long getUserTime();", "title": "" }, { "docid": "c6b95b4bb167f16f5385a8b7d866f186", "score": "0.52802014", "text": "com.baidu.xuper.pb.Chainedbft.SignInfoOrBuilder getSignatureOrBuilder();", "title": "" }, { "docid": "c6b95b4bb167f16f5385a8b7d866f186", "score": "0.52802014", "text": "com.baidu.xuper.pb.Chainedbft.SignInfoOrBuilder getSignatureOrBuilder();", "title": "" }, { "docid": "e4395127598fbda636d4d6c693b55222", "score": "0.52731353", "text": "public int signIn() {\n if ((issuer == null) || (issuer.length() == 0) || (keyId == null) || (keyId.length() == 0)\n || (privateKey == null) || (privateKey.length() == 0) || (audience == null) || (audience.length() == 0)) {\n return -1;\n }\n\n try {\n byte[] encodedKey = BeaconUtil.base64StrToBytes(privateKey);\n PKCS8EncodedKeySpec keySpec = new PKCS8EncodedKeySpec(encodedKey);\n RSAPrivateKey rsaPrivateKey = (RSAPrivateKey) KeyFactory.getInstance(\"RSA\").generatePrivate(keySpec);\n\n Algorithm algorithm = Algorithm.RSA256(null, rsaPrivateKey);\n long iat = System.currentTimeMillis() / 1000;\n long exp = iat + TOKEN_EXPIRE_TIME_MS;\n JWTCreator.Builder builder = JWT.create()\n .withIssuer(issuer)\n .withKeyId(keyId)\n .withAudience(audience)\n .withClaim(\"iat\", iat)\n .withClaim(\"exp\", exp);\n jwt = builder.sign(algorithm);\n return 0;\n } catch (NoSuchAlgorithmException | InvalidKeySpecException | JWTCreationException e) {\n BeaconBaseLog.e(TAG, e.getMessage());\n return -1;\n }\n }", "title": "" }, { "docid": "a3c32825c35fa99ff1a5c5004105a7d8", "score": "0.5270354", "text": "int getSignedIndex();", "title": "" }, { "docid": "4d969b6281b500d004fab1d6dcd08a6e", "score": "0.52346176", "text": "long getBaiduExpiresIn();", "title": "" }, { "docid": "175ccacfd0c9f21ff3d34df718f15737", "score": "0.5222947", "text": "public long getElapsedTime() {\n\treturn lastReturnTimeStamp - firstInvocationTimeStamp;\n }", "title": "" }, { "docid": "3a7ef05f7852188d257fa2dd25161c77", "score": "0.52136374", "text": "public abstract long time();", "title": "" }, { "docid": "9169312735eb272482e60ed2fa7e72eb", "score": "0.5208883", "text": "private long m5966d() {\n long j = 0;\n if (this.f4458d != null) {\n j = Math.max(0, this.f4464j - this.f4458d.getTime());\n }\n if (this.f4466l != -1) {\n j = Math.max(j, TimeUnit.SECONDS.toMillis((long) this.f4466l));\n }\n return j + (this.f4464j - this.f4463i) + (this.f4455a - this.f4464j);\n }", "title": "" }, { "docid": "a11520cd5befab96f8192b5ef179aa4c", "score": "0.5206264", "text": "long getTimeID();", "title": "" }, { "docid": "f4a296c9b697f5e99934c82a0792133c", "score": "0.52033246", "text": "long getStarttime();", "title": "" }, { "docid": "f4a296c9b697f5e99934c82a0792133c", "score": "0.52033246", "text": "long getStarttime();", "title": "" }, { "docid": "f4a296c9b697f5e99934c82a0792133c", "score": "0.52033246", "text": "long getStarttime();", "title": "" }, { "docid": "f4a296c9b697f5e99934c82a0792133c", "score": "0.52033246", "text": "long getStarttime();", "title": "" }, { "docid": "f4a296c9b697f5e99934c82a0792133c", "score": "0.52033246", "text": "long getStarttime();", "title": "" }, { "docid": "f4a296c9b697f5e99934c82a0792133c", "score": "0.52033246", "text": "long getStarttime();", "title": "" }, { "docid": "c7c31456ccdb00e0e0d8e13906714380", "score": "0.52023065", "text": "int totalTime();", "title": "" }, { "docid": "f4a296c9b697f5e99934c82a0792133c", "score": "0.5200606", "text": "long getStarttime();", "title": "" }, { "docid": "f4a296c9b697f5e99934c82a0792133c", "score": "0.5200606", "text": "long getStarttime();", "title": "" }, { "docid": "f4a296c9b697f5e99934c82a0792133c", "score": "0.5200606", "text": "long getStarttime();", "title": "" }, { "docid": "193d02e98c6647afd9511d2227922fd3", "score": "0.5187467", "text": "public abstract boolean isSigned();", "title": "" }, { "docid": "e8e6c3f7ed5224a9fa702004b18d6055", "score": "0.51858145", "text": "private long m95948l() {\n long currentTimeMillis = System.currentTimeMillis() - this.f66212J;\n if (currentTimeMillis >= 1000) {\n return 0;\n }\n return 1000 - currentTimeMillis;\n }", "title": "" }, { "docid": "606bfbf669ff8707e549c77e27b5fb7e", "score": "0.517795", "text": "long getRequestTimestamp();", "title": "" } ]
223dc1886facddfc98d8c5361eec0cf0
TODO: depends on equipped state
[ { "docid": "a07a777d93b2f1cf884cfbef11c2d611", "score": "0.0", "text": "public String rendererState() {\n \t\treturn \"empty\";\n \t}", "title": "" } ]
[ { "docid": "4fb400d95b447f08aa754f5b16088433", "score": "0.7186111", "text": "@Override\r\n public void equip ()\r\n {\n \r\n }", "title": "" }, { "docid": "15537b977996c87e8b95cf9f4405c252", "score": "0.6853587", "text": "@Override\r\n public boolean isEquipped () {\n return false;\r\n }", "title": "" }, { "docid": "aeda250267bd342bc758bd7bd9d81842", "score": "0.66800344", "text": "@Override\r\n public void unequip ()\r\n {\n \r\n }", "title": "" }, { "docid": "fd1fae125387fa0bc49105fe0b48bd27", "score": "0.66780037", "text": "@Override\r\n\tpublic boolean equipable() {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "ddb979c57d53eb4c189abbeb82bc76cb", "score": "0.66232014", "text": "@Override\r\n\tpublic int equipSlot() {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "5bdb5e0f96b9bca1f35cee8e086cf247", "score": "0.6573805", "text": "@Override\n public boolean isEquippable() {\n return false;\n }", "title": "" }, { "docid": "6de3a960a0ede9189f9fa8a71b9d4ef6", "score": "0.64627683", "text": "public abstract void onEquip();", "title": "" }, { "docid": "99444b86425a7a35eb86dc992de6efad", "score": "0.6415671", "text": "@Override\r\n public void onEquip() {\n buff = null;\r\n ArrayList<AbstractCard> choices = new ArrayList<>();\r\n choices.add(new SausageOptionStrength(this, STR_AMT));\r\n choices.add(new SausageOptionDexterity(this, DEX_AMT));\r\n choices.add(new SausageOptionFocus(this, FOCUS_AMT));\r\n AbstractDungeon.cardRewardScreen.chooseOneOpen(choices);\r\n }", "title": "" }, { "docid": "1ff271de901796875a1a3a712454a41e", "score": "0.6314238", "text": "public void equipBestGear() {}", "title": "" }, { "docid": "bedec42eb7d6ead52c77b8a8430f49ff", "score": "0.6310906", "text": "public void equip(Clothing equipment)\n {\n boolean inInventory = false;\n\n for(int i = 0; i < inventory.size(); i++)\n {\n if(equipment.getName().equals(inventory.get(i).getName()))\n {\n inInventory = true;\n }\n }\n\n if(inInventory) {\n if (head.getName().equals(\"Nothing\") && equipment.getType().equals(\"head\"))\n {\n head = equipment;\n equipment.setEquipped(true);\n totalProtection += equipment.getProtection();\n if (name.equals(\"Player\"))\n {\n System.out.println(\"You equipped a \" + equipment.getName());\n }\n } else if (torso.getName().equals(\"Nothing\") && equipment.getType().equals(\"torso\"))\n {\n torso = equipment;\n equipment.setEquipped(true);\n totalProtection += equipment.getProtection();\n if (name.equals(\"Player\"))\n {\n System.out.println(\"You equipped a \" + equipment.getName());\n }\n } else if (legs.getName().equals(\"Nothing\") && equipment.getType().equals(\"legs\"))\n {\n legs = equipment;\n equipment.setEquipped(true);\n totalProtection += equipment.getProtection();\n if (name.equals(\"Player\"))\n {\n System.out.println(\"You equipped a \" + equipment.getName());\n }\n } else if (feet.getName().equals(\"Nothing\") && equipment.getType().equals(\"feet\"))\n {\n feet = equipment;\n equipment.setEquipped(true);\n totalProtection += equipment.getProtection();\n if (name.equals(\"Player\"))\n {\n System.out.println(\"You equipped a \" + equipment.getName());\n }\n } else if (equipment.getType().equals(\"head\"))\n {\n totalProtection -= head.getProtection();\n head.setEquipped(false);\n System.out.println(\"You unequipped a \" + head.getName());\n head = equipment;\n totalProtection += head.getProtection();\n head.setEquipped(true);\n if (name.equals(\"Player\"))\n {\n System.out.println(\"You equipped a \" + equipment.getName());\n }\n } else if (equipment.getType().equals(\"torso\"))\n {\n totalProtection -= torso.getProtection();\n torso.setEquipped(false);\n System.out.println(\"You unequipped a \" + torso.getName());\n torso = equipment;\n totalProtection += torso.getProtection();\n torso.setEquipped(true);\n if (name.equals(\"Player\"))\n {\n System.out.println(\"You equipped a \" + equipment.getName());\n }\n } else if (equipment.getType().equals(\"legs\"))\n {\n totalProtection -= legs.getProtection();\n legs.setEquipped(false);\n System.out.println(\"You unequipped a \" + legs.getName());\n legs = equipment;\n totalProtection += legs.getProtection();\n legs.setEquipped(true);\n if (name.equals(\"Player\"))\n {\n System.out.println(\"You equipped a \" + equipment.getName());\n }\n } else if (equipment.getType().equals(\"feet\"))\n {\n totalProtection -= feet.getProtection();\n feet.setEquipped(false);\n System.out.println(\"You unequipped a \" + feet.getName());\n feet = equipment;\n totalProtection += feet.getProtection();\n feet.setEquipped(true);\n if (name.equals(\"Player\"))\n {\n System.out.println(\"You equipped a \" + equipment.getName());\n }\n }\n }\n else\n {\n System.out.println(\"You don't have this item\");\n }\n }", "title": "" }, { "docid": "3bf8d325adb3c0a113aae3619f99e791", "score": "0.6242477", "text": "private void equipItem() {\r\n String slot = (String)(slotComboBox.getSelectedItem());\r\n String spriteName = getSpriteName();\r\n if (spriteName != null && !spriteName.equals(template.getSpriteName())) {\r\n template.addItem(slot, (AccessoryTemplate)TemplateFactory.getTemplate(spriteName));\r\n updateUnitSurface();\r\n } else {\r\n System.out.println(\"fox\");\r\n }\r\n }", "title": "" }, { "docid": "cd0449124a692151e3a7a641ebb46e02", "score": "0.61807483", "text": "private void changeItems()\r\n\t{\n\r\n\t\tAdventureResult[] pieces = new AdventureResult[ EquipmentManager.ALL_SLOTS ];\r\n\r\n\t\tfor ( int i = 0; i < pieces.length; ++i )\r\n\t\t{\r\n\t\t\tpieces[ i ] = (AdventureResult) this.equipment[ i ].getSelectedItem();\r\n\t\t\tif ( EquipmentManager.getEquipment( i ).equals( pieces[ i ] ) )\r\n\t\t\t{\r\n\t\t\t\tpieces[ i ] = null;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tAdventureResult famitem = (AdventureResult) this.equipment[ EquipmentManager.FAMILIAR ].getSelectedItem();\r\n\r\n\t\t// Start with accessories\r\n\r\n\t\tfor ( int i = EquipmentManager.ACCESSORY1; i <= EquipmentManager.ACCESSORY3; ++i )\r\n\t\t{\r\n\t\t\tif ( pieces[ i ] != null )\r\n\t\t\t{\r\n\t\t\t\tRequestThread.postRequest( new EquipmentRequest( pieces[ i ], i, true ) );\r\n\t\t\t\tpieces[ i ] = null;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// Move on to other equipment\r\n\r\n\t\tfor ( int i = 0; i < EquipmentManager.ACCESSORY1; ++i )\r\n\t\t{\r\n\t\t\tif ( pieces[ i ] != null )\r\n\t\t\t{\r\n\t\t\t\tRequestThread.postRequest( new EquipmentRequest( pieces[ i ], i, true ) );\r\n\t\t\t\tpieces[ i ] = null;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tfor ( int i = EquipmentManager.STICKER1; i <= EquipmentManager.STICKER3; ++i )\r\n\t\t{\r\n\t\t\tif ( pieces[ i ] != null )\r\n\t\t\t{\r\n\t\t\t\tRequestThread.postRequest( new EquipmentRequest( pieces[ i ], i, true ) );\r\n\t\t\t\tpieces[ i ] = null;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif ( KoLCharacter.getFamiliar().canEquip( famitem ) )\r\n\t\t{\r\n\t\t\tRequestThread.postRequest( new EquipmentRequest( famitem, EquipmentManager.FAMILIAR ) );\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "0ffbf39ad7e7aad9f79bb0b1f76171e3", "score": "0.6123784", "text": "@Override\n public boolean canEquip(EquipmentType type) {\n return false;\n }", "title": "" }, { "docid": "1c00098f8f8bc2b56abee920dddf787f", "score": "0.60713094", "text": "void onEquip(World world, EntityPlayer player, ItemStack stack, ArmourSlot armourSlot, int level);", "title": "" }, { "docid": "c094d9e072e1ce19bf9c9295dc9dc332", "score": "0.6053328", "text": "public abstract void onUnequip();", "title": "" }, { "docid": "1cd018e0007937b7e69e3392429a5907", "score": "0.6042748", "text": "@Override\n public boolean equip(EquipmentType type, ItemStack equipment) {\n return false;\n }", "title": "" }, { "docid": "3d44c13d6eb4a53aaf42893e0750b887", "score": "0.5993005", "text": "@Test\n\tpublic void testEquippingEquipment()\n\t{\n\t\t\n\t\t//Red Mage is best to test with because they're capable of equipping a a medium amount of items\n\t\t//compared to other mages who can't equip much and Fighters who can equip just about everything\n\t\tPlayer j = new Player(\"TWIL\", \"Red Mage\");\n\t\t\n\t\tItem w1 = Item.loadItem(\"Knife\");\n\t\t\n\t\t//Shouldn't be able to equip items that the job can not equip\n\t}", "title": "" }, { "docid": "a5f1070e01e6ff0dc3da7189850e93d5", "score": "0.5982236", "text": "@EventHandler\n public void onArmorEquip(ArmorEquipEvent e){\n Player player = e.getPlayer();\n int stunTimer = 300;\n if(e.getNewArmorPiece() != null && e.getNewArmorPiece().getType() != Material.AIR){\n if(e.getNewArmorPiece().getType() == Material.LEATHER_CHESTPLATE){\n if(e.getNewArmorPiece().hasItemMeta()){ // All custom spawned shirts will have meta\n ItemStack chestplate = e.getNewArmorPiece();\n String[] shirtName = chestplate.getItemMeta().getDisplayName().split(\" \");\n if(shirtName[1].equals(\"Shirt\")) {\n switch (ChatColor.stripColor(shirtName[0])) {\n // Only check for special zombie shirts\n case \"Witch\":\n case \"Twitch\":\n stunTimer = 10;\n break;\n case \"Jackal\":\n case \"Tank\":\n stunTimer = 150;\n break;\n case \"Boomer\":\n break;\n default:\n return;\n }\n // Make the wearer of the special shirt that type of zombie\n Stats.addZombie(player.getDisplayName(), stunTimer, shirtName[0], player);\n } else if(shirtName[1].equals(\"Armor\")){\n if(Stats.getHumans().containsKey(player.getDisplayName())){\n player.sendMessage(ChatColor.GREEN + \"You've equipped your Body Armor!\");\n Stats.getHumans().get(player.getDisplayName()).setHasBodyArmor(true);\n }\n }\n }\n }\n } else {\n if(e.getOldArmorPiece() != null && e.getOldArmorPiece().getType() != Material.AIR){\n if(e.getOldArmorPiece().getType() == Material.LEATHER_CHESTPLATE){\n if(e.getOldArmorPiece().hasItemMeta()){\n String[] itemName = e.getOldArmorPiece().getItemMeta().getDisplayName().split(\" \");\n if(itemName[1].equals(\"Shirt\")){\n if(Stats.getZombies().containsKey(player.getDisplayName())){\n // When unequipping a special shirt, make the unequipper a regular zombie again\n Stats.addZombie(player.getDisplayName(), 300, \"Zombie\", player);\n }\n } else if(itemName[1].equals(\"Armor\")){\n if(Stats.getHumans().containsKey(player.getDisplayName())){\n // Remove body armor\n player.sendMessage(ChatColor.RED + \"You have unequipped your Body Armor!\");\n Stats.getHumans().get(player.getDisplayName()).setHasBodyArmor(false);\n }\n }\n }\n }\n }\n }\n }", "title": "" }, { "docid": "453659570f0f68f6fbe66316e0bd6b48", "score": "0.59730595", "text": "@Override\r\n public void actionPerformed(ActionEvent event){\r\n String command = event.getActionCommand();\r\n System.out.println(command);\r\n if(\"equip\".equals(command)){\r\n LinkedList<Item> li = characterInventory.getItems();\r\n //int id = currentInventory.getItemID();\r\n for(int i =0; i<li.size();i++){\r\n Item it = li.get(i);\r\n if(it == currentInventory){\r\n System.out.println(\"remove it!\");\r\n li.remove(i);\r\n break;\r\n }\r\n }\r\n characterInventory.setItems(li);\r\n if(currentInventory instanceof Weapon){\r\n Weapon wea2 = characterInventory.getEquippedWeapon();\r\n if(wea2 == null){\r\n Weapon wea = (Weapon)currentInventory;\r\n String name = wea.getName();\r\n int Attack = wea.getStrengthModifer();\r\n int damage = wea.getDexterityModifer();\r\n int a = player.getStrengthModifier();\r\n int b = player.getDexterityModifier();\r\n player.setStrengthModifier(Attack + a);\r\n player.setDexterityModifier(damage + b);\r\n characterInventory.setEquippedWeapon(wea);\r\n Buttons[currentItemNum].setText(\"\");\r\n newEmptyNumber = currentItemNum;\r\n weapon.setText(name);\r\n informationLable.setText(\"\");\r\n inventoryButtonMap.remove(currentItemNum);\r\n }else{\r\n Weapon wea = (Weapon)currentInventory;\r\n String name = wea.getName();\r\n int Attack = wea.getStrengthModifer();\r\n int damage = wea.getDexterityModifer();\r\n int a = player.getStrengthModifier();\r\n int b = player.getDexterityModifier();\r\n player.setStrengthModifier(Attack + a);\r\n player.setDexterityModifier(damage + b);\r\n Attack = wea2.getStrengthModifer();\r\n damage = wea2.getDexterityModifer();\r\n a = player.getStrengthModifier();\r\n b = player.getDexterityModifier();\r\n player.setStrengthModifier(a - Attack);\r\n player.setDexterityModifier(b - damage);\r\n characterInventory.setEquippedWeapon(wea);\r\n Buttons[currentItemNum].setText(wea2.getName());\r\n weapon.setText(name);\r\n informationLable.setText(\"\");\r\n inventoryButtonMap.remove(currentItemNum);\r\n inventoryButtonMap.put(currentItemNum, wea2);\r\n li.add(wea2);\r\n characterInventory.setItems(li);\r\n }\r\n }else if(currentInventory instanceof Armour){\r\n Armour armor = (Armour)currentInventory;\r\n String name = armor.getName();\r\n String type = armor.getArmourType();\r\n switch(type){\r\n case \"boot\": Armour ar = characterInventory.getBoot();\r\n \t\t\t int a = armor.getDexterityModifer();\r\n \t\t\t int d = player.getDexterityModifier();\r\n \t\t\t player.setDexterityModifier(a+d);\r\n if(ar == null){\r\n characterInventory.setBoot(armor);\r\n Buttons[currentItemNum].setText(\"\");\r\n newEmptyNumber = currentItemNum;\r\n boot.setText(name);\r\n informationLable.setText(\"\");\r\n inventoryButtonMap.remove(currentItemNum);\r\n }else{\r\n \tint dp = player.getDexterityModifier();\r\n \tint sp = player.getStrengthModifier();\r\n \tint conp = player.getConstitutionModifier();\r\n \tint chp = player.getCharismaModifier();\r\n \tint wisp = player.getWisdomModifier();\r\n \tint intep = player.getIntelligenceModifier();\r\n \tint dex = ar.getDexterityModifer();\r\n \tint str = ar.getStrengthModifer();\r\n \tint con = ar.getConstitutionModifier();\r\n \tint ch = ar.getCharismaModifer();\r\n \tint wis = ar.getWisdomModifier();\r\n \tint inte = ar.getIntelligenceModifier();\r\n \tplayer.setStrengthModifier(sp - str);\r\n \tplayer.setDexterityModifier(dp - dex);\r\n \tplayer.setCharismaModifier(chp - ch);\r\n \tplayer.setConstitutionModifier(conp - con);\r\n \tplayer.setIntelligenceModifier(intep - inte);\r\n \tplayer.setWisdomModifier(wisp - wis);\r\n characterInventory.setBoot(armor);\r\n Buttons[currentItemNum].setText(ar.getName());\r\n boot.setText(name);\r\n informationLable.setText(\"\");\r\n inventoryButtonMap.remove(currentItemNum);\r\n inventoryButtonMap.put(currentItemNum, ar);\r\n li.add(ar);\r\n characterInventory.setItems(li);\r\n }\r\n break;\r\n case \"helmet\": ar = characterInventory.getHelmet();\r\n \t\t\t\ta = armor.getIntelligenceModifier();\r\n \t\t\t\td = player.getIntelligenceModifier();\r\n \t\t\t\tplayer.setIntelligenceModifier(a+d);\r\n \t\t\t\ta = armor.getWisdomModifier();\r\n \t\t\t\td = player.getWisdomModifier();\r\n \t\t\t\tplayer.setWisdomModifier(a+d);;\r\n if(ar == null){\r\n characterInventory.setHelmet(armor);\r\n Buttons[currentItemNum].setText(\"\");\r\n newEmptyNumber = currentItemNum;\r\n helmet.setText(name);\r\n informationLable.setText(\"\");\r\n inventoryButtonMap.remove(currentItemNum);\r\n }else{\r\n \t int dp = player.getDexterityModifier();\r\n \tint sp = player.getStrengthModifier();\r\n \tint conp = player.getConstitutionModifier();\r\n \tint chp = player.getCharismaModifier();\r\n \tint wisp = player.getWisdomModifier();\r\n \tint intep = player.getIntelligenceModifier();\r\n \tint dex = ar.getDexterityModifer();\r\n \tint str = ar.getStrengthModifer();\r\n \tint con = ar.getConstitutionModifier();\r\n \tint ch = ar.getCharismaModifer();\r\n \tint wis = ar.getWisdomModifier();\r\n \tint inte = ar.getIntelligenceModifier();\r\n \tplayer.setStrengthModifier(sp - str);\r\n \tplayer.setDexterityModifier(dp - dex);\r\n \tplayer.setCharismaModifier(chp - ch);\r\n \tplayer.setConstitutionModifier(conp - con);\r\n \tplayer.setIntelligenceModifier(intep - inte);\r\n \tplayer.setWisdomModifier(wisp - wis);\r\n characterInventory.setHelmet(armor);\r\n Buttons[currentItemNum].setText(ar.getName());\r\n helmet.setText(name);\r\n informationLable.setText(\"\");\r\n inventoryButtonMap.remove(currentItemNum);\r\n inventoryButtonMap.put(currentItemNum, ar);\r\n li.add(ar);\r\n characterInventory.setItems(li);\r\n }\r\n break;\r\n case \"chest\":ar = characterInventory.getChest();\r\n if(ar == null){\r\n characterInventory.setChest(armor);\r\n Buttons[currentItemNum].setText(\"\");\r\n newEmptyNumber = currentItemNum;\r\n chest.setText(name);\r\n informationLable.setText(\"\");\r\n inventoryButtonMap.remove(currentItemNum);\r\n }else{\r\n characterInventory.setChest(armor);\r\n Buttons[currentItemNum].setText(ar.getName());\r\n chest.setText(name);\r\n informationLable.setText(\"\");\r\n inventoryButtonMap.remove(currentItemNum);\r\n inventoryButtonMap.put(currentItemNum, ar);\r\n li.add(ar);\r\n characterInventory.setItems(li);\r\n }\r\n break;\r\n case \"shield\": ar = characterInventory.getShield();\r\n if(ar == null){\r\n characterInventory.setShield(armor);\r\n Buttons[currentItemNum].setText(\"\");\r\n newEmptyNumber = currentItemNum;\r\n shield.setText(name);\r\n informationLable.setText(\"\");\r\n inventoryButtonMap.remove(currentItemNum);\r\n }else{\r\n characterInventory.setShield(armor);\r\n Buttons[currentItemNum].setText(ar.getName());\r\n shield.setText(name);\r\n informationLable.setText(\"\");\r\n inventoryButtonMap.remove(currentItemNum);\r\n inventoryButtonMap.put(currentItemNum, ar);\r\n li.add(ar);\r\n characterInventory.setItems(li);\r\n }\r\n break;\r\n case \"gloves\": ar = characterInventory.getGloves();\r\n if(ar == null){\r\n characterInventory.setGloves(armor);\r\n Buttons[currentItemNum].setText(\"\");\r\n newEmptyNumber = currentItemNum;\r\n gloves.setText(name);\r\n informationLable.setText(\"\");\r\n inventoryButtonMap.remove(currentItemNum);\r\n }else{\r\n characterInventory.setGloves(armor);\r\n Buttons[currentItemNum].setText(ar.getName());\r\n gloves.setText(name);\r\n informationLable.setText(\"\");\r\n inventoryButtonMap.remove(currentItemNum);\r\n inventoryButtonMap.put(currentItemNum, ar);\r\n li.add(ar);\r\n characterInventory.setItems(li);\r\n }\r\n break;\r\n case \"belt\": ar = characterInventory.getBelt();\r\n \t\t\t a = armor.getConstitutionModifier();\r\n \t\t\t d = player.getConstitutionModifier();\r\n \t\t\t player.setConstitutionModifier(a+d);\r\n \t\t\t a = armor.getStrengthModifer();\r\n \t\t\t d = player.getStrengthModifier();\r\n \t\t\t player.setStrengthModifier(a+d);;\r\n if(ar == null){\r\n characterInventory.setBelt(armor);\r\n Buttons[currentItemNum].setText(\"\");\r\n newEmptyNumber = currentItemNum;\r\n belt.setText(name);\r\n informationLable.setText(\"\");\r\n inventoryButtonMap.remove(currentItemNum);\r\n }else{\r\n \t int dp = player.getDexterityModifier();\r\n \tint sp = player.getStrengthModifier();\r\n \tint conp = player.getConstitutionModifier();\r\n \tint chp = player.getCharismaModifier();\r\n \tint wisp = player.getWisdomModifier();\r\n \tint intep = player.getIntelligenceModifier();\r\n \tint dex = ar.getDexterityModifer();\r\n \tint str = ar.getStrengthModifer();\r\n \tint con = ar.getConstitutionModifier();\r\n \tint ch = ar.getCharismaModifer();\r\n \tint wis = ar.getWisdomModifier();\r\n \tint inte = ar.getIntelligenceModifier();\r\n \tplayer.setStrengthModifier(sp - str);\r\n \tplayer.setDexterityModifier(dp - dex);\r\n \tplayer.setCharismaModifier(chp - ch);\r\n \tplayer.setConstitutionModifier(conp - con);\r\n \tplayer.setIntelligenceModifier(intep - inte);\r\n \tplayer.setWisdomModifier(wisp - wis);\r\n characterInventory.setBelt(armor);\r\n Buttons[currentItemNum].setText(ar.getName());\r\n belt.setText(name);\r\n informationLable.setText(\"\");\r\n inventoryButtonMap.remove(currentItemNum);\r\n inventoryButtonMap.put(currentItemNum, ar);\r\n li.add(ar);\r\n characterInventory.setItems(li);\r\n }\r\n break;\r\n case \"bracers\": ar = characterInventory.getBracers();\r\n \t\t\t\ta = armor.getStrengthModifer();\r\n \t\t\t\td = player.getStrengthModifier();\r\n \t\t\t\tplayer.setStrengthModifier(a+d);\r\n if(ar == null){\r\n characterInventory.setBracers(armor);\r\n Buttons[currentItemNum].setText(\"\");\r\n newEmptyNumber = currentItemNum;\r\n bracers.setText(name);\r\n informationLable.setText(\"\");\r\n inventoryButtonMap.remove(currentItemNum);\r\n }else{\r\n \t int dp = player.getDexterityModifier();\r\n \tint sp = player.getStrengthModifier();\r\n \tint conp = player.getConstitutionModifier();\r\n \tint chp = player.getCharismaModifier();\r\n \tint wisp = player.getWisdomModifier();\r\n \tint intep = player.getIntelligenceModifier();\r\n \tint dex = ar.getDexterityModifer();\r\n \tint str = ar.getStrengthModifer();\r\n \tint con = ar.getConstitutionModifier();\r\n \tint ch = ar.getCharismaModifer();\r\n \tint wis = ar.getWisdomModifier();\r\n \tint inte = ar.getIntelligenceModifier();\r\n \tplayer.setStrengthModifier(sp - str);\r\n \tplayer.setDexterityModifier(dp - dex);\r\n \tplayer.setCharismaModifier(chp - ch);\r\n \tplayer.setConstitutionModifier(conp - con);\r\n \tplayer.setIntelligenceModifier(intep - inte);\r\n \tplayer.setWisdomModifier(wisp - wis);\r\n characterInventory.setBracers(armor);\r\n Buttons[currentItemNum].setText(ar.getName());\r\n bracers.setText(name);\r\n informationLable.setText(\"\");\r\n inventoryButtonMap.remove(currentItemNum);\r\n inventoryButtonMap.put(currentItemNum, ar);\r\n li.add(ar);\r\n characterInventory.setItems(li);\r\n }\r\n break;\r\n }\r\n }else if(currentInventory instanceof Ring){\r\n Ring ri2 = characterInventory.getRing();\r\n Ring ri = (Ring)currentInventory;\r\n int r = ri.getStrengthModifer();\r\n int s = player.getStrengthModifier();\r\n player.setStrengthModifier(s+r);\r\n r = ri.getConstitutionModifier();\r\n s = player.getConstitutionModifier();\r\n player.setConstitutionModifier(s+r);;\r\n r = ri.getWisdomModifier();\r\n s = player.getWisdomModifier();\r\n player.setWisdomModifier(s+r);;\r\n r = ri.getCharismaModifer();\r\n s = player.getCharismaModifier();\r\n player.setCharismaModifier(s+r);;\r\n if(ri2 == null){ \r\n String name = ri.getName();\r\n characterInventory.setRing(ri);\r\n Buttons[currentItemNum].setText(\"\");\r\n newEmptyNumber = currentItemNum;\r\n ring.setText(name);\r\n informationLable.setText(\"\");\r\n inventoryButtonMap.remove(currentItemNum);\r\n }else{\r\n \tint dp = player.getDexterityModifier();\r\n \tint sp = player.getStrengthModifier();\r\n \tint conp = player.getConstitutionModifier();\r\n \tint chp = player.getCharismaModifier();\r\n \tint wisp = player.getWisdomModifier();\r\n \tint intep = player.getIntelligenceModifier();\r\n \tint dex = ri2.getDexterityModifer();\r\n \tint str = ri2.getStrengthModifer();\r\n \tint con = ri2.getConstitutionModifier();\r\n \tint ch = ri2.getCharismaModifer();\r\n \tint wis = ri2.getWisdomModifier();\r\n \tint inte = ri2.getIntelligenceModifier();\r\n \tplayer.setStrengthModifier(sp - str);\r\n \tplayer.setDexterityModifier(dp - dex);\r\n \tplayer.setCharismaModifier(chp - ch);\r\n \tplayer.setConstitutionModifier(conp - con);\r\n \tplayer.setIntelligenceModifier(intep - inte);\r\n \tplayer.setWisdomModifier(wisp - wis);\r\n String name = ri.getName();\r\n characterInventory.setRing(ri);\r\n Buttons[currentItemNum].setText(ri2.getName());\r\n ring.setText(name);\r\n informationLable.setText(\"\");\r\n inventoryButtonMap.remove(currentItemNum);\r\n inventoryButtonMap.put(currentItemNum, ri2);\r\n li.add(ri2);\r\n characterInventory.setItems(li);\r\n }\r\n }\r\n \tcharacterInformation.setText(this.makingInformationForCharacter());\r\n player.setInventory(characterInventory);\r\n \r\n equip.setEnabled(false);\r\n unequip.setEnabled(false);\r\n }else if(\"unequip\".equals(command)){\r\n LinkedList<Item> li;\r\n if(currentInventory instanceof Weapon){\r\n Weapon wea = (Weapon)currentInventory;\r\n int dp = player.getDexterityModifier();\r\n \tint sp = player.getStrengthModifier();\r\n \tint conp = player.getConstitutionModifier();\r\n \tint chp = player.getCharismaModifier();\r\n \tint wisp = player.getWisdomModifier();\r\n \tint intep = player.getIntelligenceModifier();\r\n \tint dex = wea.getDexterityModifer();\r\n \tint str = wea.getStrengthModifer();\r\n \tint con = wea.getConstitutionModifier();\r\n \tint ch = wea.getCharismaModifer();\r\n \tint wis = wea.getWisdomModifier();\r\n \tint inte = wea.getIntelligenceModifier();\r\n \tplayer.setStrengthModifier(sp - str);\r\n \tplayer.setDexterityModifier(dp - dex);\r\n \tplayer.setCharismaModifier(chp - ch);\r\n \tplayer.setConstitutionModifier(conp - con);\r\n \tplayer.setIntelligenceModifier(intep - inte);\r\n \tplayer.setWisdomModifier(wisp - wis);\r\n String name = wea.getName();\r\n li = characterInventory.getItems();\r\n if(li != null){\r\n li.add(wea);\r\n }else{\r\n li = new LinkedList<>();\r\n li.add(wea);\r\n }\r\n characterInventory.setEquippedWeapon(null);\r\n characterInventory.setItems(li);\r\n int z = emptyNumber;\r\n if(newEmptyNumber<emptyNumber){\r\n emptyNumber = newEmptyNumber;\r\n }\r\n \r\n Buttons[emptyNumber].setText(name);\r\n inventoryButtonMap.put(emptyNumber, currentInventory);\r\n Buttons[emptyNumber].addActionListener(this);\r\n Buttons[emptyNumber].setActionCommand(Integer.toString(emptyNumber));\r\n weapon.setText(\"None\");\r\n characterInventory.setEquippedWeapon(null);\r\n if(emptyNumber<z){\r\n emptyNumber = z;\r\n }else{\r\n z++;\r\n emptyNumber=z;\r\n }\r\n newEmptyNumber = 99;\r\n }else if (currentInventory instanceof Armour){\r\n Armour armor = (Armour)currentInventory;\r\n String name = armor.getName();\r\n String type = armor.getArmourType();\r\n li = characterInventory.getItems();\r\n if(li != null){\r\n li.add(armor);\r\n }else{\r\n li = new LinkedList<>();\r\n li.add(armor);\r\n }\r\n characterInventory.setItems(li);\r\n int z = emptyNumber;\r\n if(newEmptyNumber<emptyNumber){\r\n emptyNumber = newEmptyNumber;\r\n }\r\n Buttons[emptyNumber].setText(name);\r\n inventoryButtonMap.put(emptyNumber, currentInventory);\r\n Buttons[emptyNumber].addActionListener(this);\r\n Buttons[emptyNumber].setActionCommand(Integer.toString(emptyNumber));\r\n switch (type){\r\n case \"boot\":\r\n \t\t\t \tint a = armor.getDexterityModifer();\r\n \t\t\t \tint d = player.getDexterityModifier();\r\n \t\t\t \tplayer.setDexterityModifier(d-a);\r\n boot.setText(\"None\");\r\n characterInventory.setBoot(null);\r\n break;\r\n case \"belt\":\r\n \ta = armor.getConstitutionModifier();\r\n \t\t\t \td = player.getConstitutionModifier();\r\n \t\t\t \tplayer.setConstitutionModifier(d-a);\r\n \t\t\t \ta = armor.getStrengthModifer();\r\n \t\t\t \td = player.getStrengthModifier();\r\n \t\t\t \tplayer.setStrengthModifier(d-a);;\r\n belt.setText(\"None\");\r\n characterInventory.setBelt(null);\r\n break;\r\n case \"gloves, \":\r\n gloves.setText(\"None\");\r\n characterInventory.setGloves(null);\r\n break;\r\n case \"bracers\":\r\n \ta = armor.getStrengthModifer();\r\n \t\t\t\td = player.getStrengthModifier();\r\n \t\t\t\tplayer.setStrengthModifier(d-a);\r\n bracers.setText(\"None\");\r\n characterInventory.setBracers(null);\r\n break;\r\n case \"helmet\":\r\n \t\t\t\ta = armor.getIntelligenceModifier();\r\n \t\t\t\td = player.getIntelligenceModifier();\r\n \t\t\t\tplayer.setIntelligenceModifier(d-a);\r\n \t\t\t\ta = armor.getWisdomModifier();\r\n \t\t\t\td = player.getWisdomModifier();\r\n \t\t\t\tplayer.setWisdomModifier(d-a);;\r\n helmet.setText(\"None\");\r\n characterInventory.setHelmet(null);\r\n break;\r\n case \"chest\":\r\n chest.setText(\"None\");\r\n characterInventory.setChest(null);\r\n break;\r\n case \"shield\":\r\n shield.setText(\"None\");\r\n characterInventory.setShield(null);\r\n break;\r\n }\r\n if(emptyNumber<z){\r\n emptyNumber = z;\r\n }else{\r\n z++;\r\n emptyNumber=z;\r\n }\r\n newEmptyNumber = 99;\r\n }else if(currentInventory instanceof Ring){\r\n Ring wea = (Ring)currentInventory;\r\n int r = wea.getStrengthModifer();\r\n int s = player.getStrengthModifier();\r\n player.setStrengthModifier(s-r);\r\n r = wea.getConstitutionModifier();\r\n s = player.getConstitutionModifier();\r\n player.setConstitutionModifier(s-r);;\r\n r = wea.getWisdomModifier();\r\n s = player.getWisdomModifier();\r\n player.setWisdomModifier(s-r);;\r\n r = wea.getCharismaModifer();\r\n s = player.getCharismaModifier();\r\n player.setCharismaModifier(s-r);;\r\n String name = wea.getName();\r\n li = characterInventory.getItems();\r\n if(li != null){\r\n li.add(wea);\r\n }else{\r\n li = new LinkedList<>();\r\n li.add(wea);\r\n }\r\n characterInventory.setRing(null);\r\n characterInventory.setItems(li);\r\n int z = emptyNumber;\r\n if(newEmptyNumber<emptyNumber){\r\n emptyNumber = newEmptyNumber;\r\n }\r\n Buttons[emptyNumber].setText(name);\r\n inventoryButtonMap.put(emptyNumber, currentInventory);\r\n Buttons[emptyNumber].addActionListener(this);\r\n Buttons[emptyNumber].setActionCommand(Integer.toString(emptyNumber));\r\n ring.setText(\"None\");\r\n characterInventory.setRing(null);\r\n if(emptyNumber<z){\r\n emptyNumber = z;\r\n }else{\r\n z++;\r\n emptyNumber=z;\r\n }\r\n newEmptyNumber = 99;\r\n }\r\n MapPanel.inventory = characterInventory;\r\n characterInformation.setText(this.makingInformationForCharacter());\r\n equip.setEnabled(false);\r\n unequip.setEnabled(false);\r\n }else if(\"ring\".equals(command)){\r\n currentInventory = characterInventory.getRing();\r\n if(currentInventory != null){\r\n equip.setEnabled(false);\r\n unequip.setEnabled(true);\r\n }else{\r\n equip.setEnabled(false);\r\n unequip.setEnabled(false);\r\n }\r\n }else if(\"weapon\".equals(command)){\r\n currentInventory = characterInventory.getEquippedWeapon();\r\n if(currentInventory != null){\r\n equip.setEnabled(false);\r\n unequip.setEnabled(true);\r\n }else{\r\n equip.setEnabled(false);\r\n unequip.setEnabled(false);\r\n }\r\n }else if(\"helmet\".equals(command)){\r\n currentInventory = characterInventory.getHelmet();\r\n if(currentInventory != null){\r\n equip.setEnabled(false);\r\n unequip.setEnabled(true);\r\n }else{\r\n equip.setEnabled(false);\r\n unequip.setEnabled(false);\r\n }\r\n }else if(\"chest\".equals(command)){\r\n currentInventory = characterInventory.getChest();\r\n if(currentInventory != null){\r\n equip.setEnabled(false);\r\n unequip.setEnabled(true);\r\n }else{\r\n equip.setEnabled(false);\r\n unequip.setEnabled(false);\r\n }\r\n }else if(\"shield\".equals(command)){\r\n currentInventory = characterInventory.getShield();\r\n if(currentInventory != null){\r\n equip.setEnabled(false);\r\n unequip.setEnabled(true);\r\n }else{\r\n equip.setEnabled(false);\r\n unequip.setEnabled(false);\r\n }\r\n }else if(\"boot\".equals(command)){\r\n currentInventory = characterInventory.getBoot();\r\n if(currentInventory != null){\r\n equip.setEnabled(false);\r\n unequip.setEnabled(true);\r\n }else{\r\n equip.setEnabled(false);\r\n unequip.setEnabled(false);\r\n }\r\n }else if(\"gloves\".equals(command)){\r\n currentInventory = characterInventory.getGloves();\r\n if(currentInventory != null){\r\n equip.setEnabled(false);\r\n unequip.setEnabled(true);\r\n }else{\r\n equip.setEnabled(false);\r\n unequip.setEnabled(false);\r\n }\r\n }else if(\"belt\".equals(command)){\r\n currentInventory = characterInventory.getBelt();\r\n if(currentInventory != null){\r\n equip.setEnabled(false);\r\n unequip.setEnabled(true);\r\n }else{\r\n equip.setEnabled(false);\r\n unequip.setEnabled(false);\r\n }\r\n }else if(\"bracers\".equals(command)){\r\n currentInventory = characterInventory.getBracers();\r\n if(currentInventory != null){\r\n equip.setEnabled(false);\r\n unequip.setEnabled(true);\r\n }else{\r\n equip.setEnabled(false);\r\n unequip.setEnabled(false);\r\n }\r\n }else{\r\n int commandNum = Integer.parseInt(command);\r\n System.out.println(commandNum);\r\n currentItemNum = commandNum;\r\n Item item = inventoryButtonMap.get(commandNum);\r\n currentInventory = item;\r\n \r\n if(item instanceof Weapon){\r\n Weapon w = (Weapon) item;\r\n informationLable.setText(makingInformationOfWeapon(w));\r\n equip.setEnabled(true);\r\n unequip.setEnabled(false);\r\n use.setEnabled(false);\r\n //currentInventory = w;\r\n }else if (item instanceof Armour) {\r\n Armour a = (Armour) item;\r\n informationLable.setText(makingInformationOfArmor(a));\r\n equip.setEnabled(true);\r\n unequip.setEnabled(false);\r\n use.setEnabled(false);\r\n }else if (item instanceof Ring) {\r\n Ring r = (Ring) item;\r\n informationLable.setText(makingInformationFOrRing(r));\r\n equip.setEnabled(true);\r\n unequip.setEnabled(false);\r\n use.setEnabled(false);\r\n }else if (item instanceof Potion){\r\n Potion p = (Potion) item;\r\n informationLable.setText(makingInformationForOthers(p.getName()));\r\n equip.setEnabled(false);\r\n unequip.setEnabled(false);\r\n use.setEnabled(true);\r\n }\r\n }\r\n }", "title": "" }, { "docid": "9cce52648d8abea9f15ca2fbe5267cdf", "score": "0.5968397", "text": "private void requestEquipment(){\n\n }", "title": "" }, { "docid": "455e7f01c2b7244fb9b1238f7d1294b1", "score": "0.5935471", "text": "public void decide(){\r\n\t\tItem prev = null;\r\n\t\tif(this.HP <= 30) {\r\n\t\t\tprev = this.lookForFirstAidKit();\r\n\t\t\tthis.pickUp(prev);\r\n\t\t}\r\n\t\tif(prev == null && this.weapon == null) {\r\n\t\t\tprev = this.lookForWeapon();\r\n\t\t\tthis.pickUp(prev);\r\n\t\t}\r\n\t\tif(prev == null && this.armor == null) {\r\n\t\t\tprev = this.lookForArmor();\r\n\t\t\tthis.pickUp(prev);\r\n\t\t}\r\n\t\t\r\n\t\tList<Agent> V = this.getVisibleAgents();\r\n\t\tif(V.size()>0) {\r\n\t\t\tAgent closestVisible = null;\r\n\t\t\tdouble dist = 10000;\r\n\t\t\t\r\n\t\t\tfor(Agent a: V) {\r\n\t\t\t\tif(a!=this) {\r\n\t\t\t\t\tif(this.getDistanceToAgent(a)<dist) {\r\n\t\t\t\t\t\tdist = this.getDistanceToAgent(a);\r\n\t\t\t\t\t\tclosestVisible = a;\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\tif(this.weapon!= null) {\r\n\t\t\t\tthis.seek(closestVisible.getCENTER(), 1);\r\n\t\t\t\tthis.rotateSeek(closestVisible.getCENTER());\r\n\t\t\t\tthis.shoot();\r\n\t\t\t}\r\n\t\t\telse this.flee(closestVisible.getCENTER(), 2);\r\n\t\t\t\r\n\t\t}else if(prev==null){\r\n\t\t\tthis.rotateWander();\r\n\t\t\tthis.wander();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "ee96886e1de414def5d28fcb6e3c1155", "score": "0.5916193", "text": "public void equipExcalibur() {\r\n weaponName = \"Excalibur\";\r\n weaponDamage = excalibur;\r\n System.out.println(weaponName + \" is equipped, new weapon damage is \" + excaliburMinimumDamage + \" - \" + excaliburMaximumDamage);\r\n }", "title": "" }, { "docid": "9a88a28641fed49456fa07580a5c8de7", "score": "0.59122074", "text": "public void rollEquipment() {\n character.equipment = configReader.getPack(character.pClass.toLowerCase());\n int tempsilver = character.getSilver() - character.equipment.cost;\n if (tempsilver < 0) {\n character.setSilver(r.nextInt(10));\n }\n else\n character.setSilver(tempsilver);\n }", "title": "" }, { "docid": "9be3b0292aaa4c2d565899e76bec7b28", "score": "0.59120595", "text": "public void useItem(){\n if (this.inventory.getEquippedItem() != null){\n this.inventory.getEquippedItem().useItem(this);\n this.inventory.updateEquippedItem();\n }\n else System.out.println(\"You don't have an item to use!\");\n }", "title": "" }, { "docid": "e0ee16fc51c686dd4a02898bf5f64236", "score": "0.5897932", "text": "private void viewEquippedItems() throws IOException {\n\t\tArrayList<Artifact> items = new ArrayList<Artifact>();\n\t\t\n\t\tif(Game.getHero().getEquippedArmor() != null)\n\t\t{\n\t\t\titems.add(Game.getHero().getEquippedArmor());\n\t\t}\n\t\t\n\t\tif(!Game.getHero().getEquippedWeapon().getName().equals(\"Fists\"))\n\t\t{\n\t\t\titems.add(Game.getHero().getEquippedWeapon());\n\t\t}\n\t\t\n\t\tif(items.isEmpty())\n\t\t{\n\t\t\tSystem.out.println(\"\\t You have nothing equipped.\");\n\t\t\tSystem.out.println();\n\t\t\treturn;\n\t\t}\n\t\t\n\t\twhile(true)\n\t\t{\n\t\t\tSystem.out.println(\"Which item would you like more information on\");\n\t\t\t\n\t\t\t\n\t\t\tfor(int i = 0; i < items.size();i++)\n\t\t\t{\n\t\t\t\tSystem.out.println( i + \". \" + items.get(i).getName());\n\t\t\t}\n\t\t\tSystem.out.println(items.size() + \". \" + \" return to inventory\" );\n\t\t\tint input = GameInput.getInt();\n\t\t\t\n\t\t\tif(input >= 0 && input < items.size())\n\t\t\t{\n\t\t\t\tif(items.get(input) instanceof Armor)\n\t\t\t\t{\n\t\t\t\t\tArmor temp = (Armor) items.get(input);\n\t\t\t\t\tSystem.out.println(\"\\t\" + temp.getDescription());\n\t\t\t\t\tSystem.out.println(\"\\t Defense \" + temp.getDefense());\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\telse if(items.get(input) instanceof Weapon)\n\t\t\t\t{\n\t\t\t\t\tWeapon temp = (Weapon) items.get(input);\n\t\t\t\t\tSystem.out.println(\"\\t\" + temp.getDescription());\n\t\t\t\t\tSystem.out.println(\"\\t Strength \" + temp.getStrength());\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tSystem.out.println(\"\\t Yout mutter to yourself, trying to remember what you wanted to do...\");\n\t\t\t\t}\n\t\t\t\t\n\t\t\t} else if (input == items.size()) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "6c989c4010ae9f2614a7261c9e4aac1a", "score": "0.5879637", "text": "public static void picky_inven() {\n\n if (Global.player.getBaggageSize() == 0) {\n IOUtil.msg(\"you aren't carrying anything\");\n } else if (Global.player.getBaggageSize() == 1) {\n IOUtil.msg(\"a) %s\", ThingMethod.inventoryName(Global.player.getBaggage().get(0), false));\n } else {\n IOUtil.msg(Global.terse ? \"item: \" : \"which item do you wish to inventory: \");\n int mch = IOUtil.readchar();\n Global.mpos = 0;\n if (mch == Const.ESCAPE) {\n IOUtil.msg(\"\");\n return;\n }\n for (Thing obj : Global.player.getBaggage()) {\n if (mch == Human.instance.getPositionOfContent(obj)) {\n IOUtil.msg(\"%c) %s\", mch, ThingMethod.inventoryName(obj, false));\n return;\n }\n }\n IOUtil.msg(\"'%s' not in pack\", Display.unctrl(mch));\n }\n }", "title": "" }, { "docid": "2ef9d39aebda84bd9a4c2d406018fc1c", "score": "0.58720326", "text": "public void equipItem() throws IOException \n\t{\n\t\tArrayList<InventoryItem> items = Game.getHero().getPlayerInventory();\n\t\tArrayList<InventoryItem> temp = new ArrayList<InventoryItem>();\n\t\t\n\t\t//add all armor and weapons to the temp array list\n\t\tfor(int i = 0; i <items.size();i++)\n\t\t{\n\t\t\tif(items.get(i).getItem() instanceof Weapon || items.get(i).getItem() instanceof Armor)\n\t\t\t{\n\t\t\t\ttemp.add(items.get(i));\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t//if temp is empty get out of the method\n\t\tif(temp.isEmpty())\n\t\t{\n\t\t\tSystem.out.println(\"\\t You lack things to equip!\");\n\t\t\tSystem.out.println();\n\t\t\treturn;\n\t\t}\n\t\t\n\t\t\n\t\twhile(true)\n\t\t{\n\t\t\tSystem.out.println(\"Which item would you like to equip\");\n\t\t\n\t\t\t// output all of the armor and weapons to the user\n\t\t\tfor(int i =0; i < temp.size(); i++)\n\t\t\t{\n\t\t\t\tSystem.out.println((i) + \". \" +temp.get(i).getItem().getName());\n\t\t\t}\n\t\t\tSystem.out.println(temp.size() + \". \" + \" return to inventory\" );\n\t\t\tint input = GameInput.getInt();\n\n\t\t\tif(input >= 0 && input < temp.size())\n\t\t\t{\n\t\t\t\tif(temp.get(input).getItem() instanceof Weapon)\n\t\t\t\t{\n\t\t\t\t\tif(Game.getHero().getEquippedWeapon().getName().equals(\"Fists\"))\n\t\t\t\t\t{\n\t\t\t\t\t\tGame.getHero().setEquippedWeapon((Weapon) temp.get(input).getItem());\n\t\t\t\t\t\tGame.getHero().removeArtifactFromInventory(Game.getHero().getEquippedWeapon());\n\t\t\t\t\t\tSystem.out.println(\"\\t You feel stronger after equipping \" + Game.getHero().getEquippedWeapon().getName());\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.println(\"\\t You remember the words of your mentor,\"\n\t\t\t\t\t\t\t\t+ \"\\tto get you have to give. Try unequipping before you equip.\");\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\n\t\t\t\telse \n\t\t\t\t{\n\t\t\t\t\tif(Game.getHero().getEquippedArmor() == null)\n\t\t\t\t\t{\n\t\t\t\t\t\tGame.getHero().setEquippedArmor((Armor) temp.get(input).getItem());\n\t\t\t\t\t\tGame.getHero().removeArtifactFromInventory(Game.getHero().getEquippedArmor());\n\t\t\t\t\t\tSystem.out.println(\"\\t You feel safer after equipping \" + Game.getHero().getEquippedArmor().getName());\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.println(\"\\t You remember the words of your mentor\"\n\t\t\t\t\t\t\t\t+ \"\\t To get you gotta give. Try unequipping before you equip.\");\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\n\t\t\t} else if (temp.size() == input) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tSystem.out.println(\"You mutter to yourself, trying to remember what you wanted to do....\");\n\t\t\t\tSystem.out.println();\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "159fdfcdd582d448cc7d4a9be2fff261", "score": "0.58160067", "text": "@Test\n void equipItem() {\n Character character = createBaseCharacter(\"Foo\", 10, 10);\n Wearable sword = createWearable(2, true);\n character.items.add(sword);\n\n Armor armor = createArmor(1,1,1);\n character.items.add(armor);;\n // Equip an armor\n assertTrue(character.equipItem(armor));\n assertTrue(character.armor.contains(armor));\n\n // Equip a weapon\n assertTrue(character.equipItem(sword));\n assertTrue(character.activeWeapon == sword);\n\n // Illegal equip ( item not in inventory)\n Wearable item = createWearable(1, true);\n assertFalse(character.equipItem(item));\n }", "title": "" }, { "docid": "1cdc4e857f9b95cc0cd85b72e87887fe", "score": "0.58088964", "text": "private void createInventory(){\r\n\t\tinventory.addWeapon(new Weapon(10, 500, -10, \"Knife\"));\r\n\t\tinventory.haveWeapon(inventory.getWeapon(\"Knife\"));\r\n\t}", "title": "" }, { "docid": "8c4d34dce60d51de0217c1e5e04bfb80", "score": "0.57795274", "text": "private Equipo getEquipoSeleccionado(){\n return equipoSeleccionado;\n }", "title": "" }, { "docid": "e511374d490268f6d848ae558d5821e1", "score": "0.5768594", "text": "void equipmentNotFound();", "title": "" }, { "docid": "dde6c8b4681ed8600855889855ca2ecc", "score": "0.5766126", "text": "public void pickUp() {\n\t\t\n\t\tItem item = Globals.items.getItemInTile(getLocation());\n\t\tif(item != null && item.canCollect()) {\n\t\t\tint tempx = item.getX();\n\t\t\tint tempy = item.getY();\n\t\t\tif(inventory.add(item)) {\n\t\t\t\tGlobals.items.remove(item);\n\t\t\t\tGlobals.screenText.add(new ScreenText(item.getName(), new Vector2(tempx, tempy), Color.WHITE));\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "21dd734b8e57820949ab528549315894", "score": "0.57473063", "text": "private void storeInventory() {\n \n }", "title": "" }, { "docid": "c748efe71068dff391c92359cc95baba", "score": "0.57348603", "text": "@Override\n public void openInventory() {\n }", "title": "" }, { "docid": "0e480e800a963e1f7e5e014258e79105", "score": "0.57314956", "text": "@Override\n public boolean canEquip(EquipmentType type, ItemStack equipment) {\n return false;\n }", "title": "" }, { "docid": "5ce46414221253ec39bf67b2215a513b", "score": "0.5719879", "text": "public static void pick_up() {\n if (Human.instance.containsState(StateEnum.ISLEVIT)) {\n return;\n }\n\n Thing obj = Misc.find_obj(Global.player._t_pos);\n if (Global.move_on) {\n move_msg(obj);\n } else {\n if (obj instanceof Gold) {\n Gold gold = (Gold) obj;\n money(gold.getGold());\n Global.lvl_obj.remove(gold);\n update_mdest(gold);\n Global.lvl_obj.remove(gold);\n Human.instance.getRoom().r_goldval = 0;\n } else {\n add_pack(null, false);\n }\n }\n }", "title": "" }, { "docid": "9a884179e3df0b3abe7bba11e3958898", "score": "0.57025826", "text": "public void overRide(){\r\n\t\tfor(int i = slots.length - 1; i >= 0; i--){\r\n\t\t\tif(slots[i].storedCard != null){\r\n\t\t\t\tslots[i].storedCard.setUsed(true);\r\n\t\t\t\tslots[i].storedCard.setMoveable(false);\r\n\t\t\t\tgame.getCompleteDoor().setEnabled(false);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "25192d476dc2058aa05b6c55e44fec7b", "score": "0.56957513", "text": "@Override\n\tprotected void stateUpdate(long ms) {\n\n\t\t// Attacks\n\t\tboolean basicAttackPressed = InputManager.getActionState(GameAction.BASIC_ATTACK);\n\t\tboolean specialAttackPressed = InputManager.getActionState(GameAction.SPECIAL_ATTACK);\n\t\tplayerAttack(ms, basicAttackPressed, specialAttackPressed);\n\n\t\tList<Boolean> skillKeys = new ArrayList<>();\n\t\tskillKeys.add(0, justPressed(GameAction.SKILL_KEY_Q));\n\t\tskillKeys.add(1, justPressed(GameAction.SKILL_KEY_E));\n\t\tskillKeys.add(2, justPressed(GameAction.SKILL_KEY_R));\n\n\t\tskillKeys.add(3, justPressed(GameAction.SKILL_KEY_W));\n\n\t\t// Blake\n\t\tboolean companionModePressed = justPressed(GameAction.CHANGE_MODE);\n\t\tboolean companionUpgradePressed = justPressed(GameAction.UPGRADE_COMPANION);\n\t\t// callum\n\t\tskillState(skillKeys);\n\t\tupdateRenderAngle();\n\t\tplayerInput.updateGameInput();\n\t\tmoveStateEntity(ms);\n\n\t\t// change weapons\n\t\tweaponChange(Arrays.asList(justPressed(GameAction.WEAPON_ONE), justPressed(GameAction.WEAPON_TWO),\n\t\t\t\tjustPressed(GameAction.WEAPON_THREE), justPressed(GameAction.WEAPON_FOUR),\n\t\t\t\tjustPressed(GameAction.WEAPON_FIVE), justPressed(GameAction.WEAPON_SIX),\n\t\t\t\tjustPressed(GameAction.WEAPON_SEVEN), justPressed(GameAction.WEAPON_EIGHT),\n\t\t\t\tjustPressed(GameAction.WEAPON_NINE)));\n\n\t\t// add sprites for currently equipped weapons\n\t\tif (equippedWeapon.getProjectileType() == ProjectileType.MELEE) {\n\t\t\tcommonSpriteSet.put(BodyPart.VOID, new AngledSpriteRelation(equippedWeapon.getSprite(), this,\n\t\t\t\t\tweaponRenderAngle, 0f, 0f, 0f, 0f, 0f, 0f));\n\t\t} else {\n\t\t\tcommonSpriteSet.put(BodyPart.VOID, new AngledSpriteRelation(equippedWeapon.getSprite(), this,\n\t\t\t\t\tweaponRenderAngle, 0.40f, 0.6f, 1.0f, 1.0f, 0.2f, 0.090f));\n\t\t}\n\t\t// Companion Stuff\n\t\tif (companionModePressed) {\n\t\t\tnewCompanion.setCompanionClass();\n\t\t\tif (!hasCompanion) {\n\t\t\t\thasCompanion = true;\n\t\t\t}\n\t\t}\n\n\n\t\tif (companionUpgradePressed && this.getCommerce().getGold() > 300) {\n\t\t\tthis.getCommerce().reduceGold(300);\n\t\t\tnewCompanion.upgradeCompanion();\n\n\t\t}\n\n\t\tif (justPressed(GameAction.ACTIVATE_MOUNT)) {\n\t\t\tPlayerMountActions.toggleMount(this);\n\t\t}\n\n\n\t\tif (world.getTutorialMode() && !tutorial.checkCompletion()) {\n\t\t\tif (tutorial.tutorialPassed() || justPressed(GameAction.SKIP_TUTORIAL)) {\n\t\t\t\ttutorial.nextCommand();\n\t\t\t} else {\n\t\t\t\ttutorial.resendInstruction();\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "41bf054fbfc9a00a7db13c14af6d4c9f", "score": "0.5694055", "text": "public void select() {\r\n switch (mode) {\r\n case SHIP:\r\n mode = Mode.PART;\r\n break;\r\n case PART:\r\n int partSelection = partX + partY * PARTS_PER_ROW - PART_SHIFT;\r\n Tile tileBeingReplaced = Tile.findTile(playerRef.getSprite().getTiles(), shipX, shipY);\r\n int replacementPartPrice = 0;\r\n int replacementPartTotalPrice = 0;\r\n ShipPart partBeingReplaced = null;\r\n if (tileBeingReplaced != null) {\r\n partBeingReplaced = (ShipPart)tileBeingReplaced.getSprite();\r\n replacementPartPrice = + partBeingReplaced.getComputedPrice();\r\n replacementPartTotalPrice = partBeingReplaced.getPrice();\r\n }\r\n\r\n\r\n // buy part\r\n if (partSelection >= 0) {\r\n ShipPart shipPart = parts.get(partSelection);\r\n\r\n if (shipPart.getPrice() <= (playerRef.getMoney() + replacementPartPrice)) {\r\n playerRef.setMoney(playerRef.getMoney() + replacementPartPrice - shipPart.getPrice());\r\n mode = Mode.SHIP;\r\n // change/add ship part to local copy\r\n ship.removeTile(shipX, shipY);\r\n SimpleSprite sprite = factory.create(partSelection);\r\n Tile newTile = new Tile(shipX, shipY, sprite);\r\n ship.addTile(newTile);\r\n\r\n // change/add ship part to player reference\r\n playerRef.getSprite().removeTile(shipX, shipY);\r\n SimpleSprite sprite2 = factory.create(partSelection);\r\n playerRef.getSprite().addTile(shipX, shipY, sprite2);\r\n\r\n addExtensionPoints(newTile);\r\n\r\n }\r\n partX = 0;\r\n partY = 0;\r\n //repair part\r\n } else if (partBeingReplaced != null && (replacementPartTotalPrice - replacementPartPrice) > 0) {\r\n playerRef.setMoney(playerRef.getMoney() - (replacementPartTotalPrice - replacementPartPrice) );\r\n partBeingReplaced.reduceHealth(partBeingReplaced.getCurrentHealth() - partBeingReplaced.getTotalHealth());\r\n //part might have been dead, revalidate positions by setting position.\r\n playerRef.getSprite().revalidatePosition();\r\n ShipPart mirrorPart = (ShipPart)Tile.findTile(ship.getTiles(), shipX, shipY).getSprite();\r\n mirrorPart.reduceHealth(partBeingReplaced.getCurrentHealth() - partBeingReplaced.getTotalHealth());\r\n partX = 0;\r\n partY = 0;\r\n for (Tile t: playerRef.getSprite().getTiles()) {\r\n System.out.println(t + \", \");\r\n }\r\n }\r\n\r\n break;\r\n }\r\n }", "title": "" }, { "docid": "de91ac5ef3542e59e4f5e3ec154b4acc", "score": "0.56939477", "text": "public boolean a(EntityPlayer paramahd, int paramInt)\r\n/* 163: */ {\r\n/* 164:197 */ ItemStack localamj1 = this.a.get(0);\r\n/* 165:198 */ ItemStack localamj2 = this.a.get(1);\r\n/* 166: */ \r\n/* 167:200 */ int m = paramInt + 1;\r\n/* 168:202 */ if (((localamj2 == null) || (localamj2.stackSize < m)) && (!paramahd.abilities.instabuild)) {\r\n/* 169:203 */ return false;\r\n/* 170: */ }\r\n/* 171:205 */ if ((this.g[paramInt] > 0) && (localamj1 != null) && (((paramahd.bz >= m) && (paramahd.bz >= this.g[paramInt])) || (paramahd.abilities.instabuild)))\r\n/* 172: */ {\r\n/* 173:206 */ if (!this.i.isClient)\r\n/* 174: */ {\r\n/* 175:207 */ List localList = a(localamj1, paramInt, this.g[paramInt]);\r\n/* 176:208 */ int n = localamj1.getItem() == ItemList.book ? 1 : 0;\r\n/* 177:210 */ if (localList != null)\r\n/* 178: */ {\r\n/* 179:211 */ paramahd.b(m);\r\n/* 180:212 */ if (n != 0) {\r\n/* 181:213 */ localamj1.a(ItemList.enchantedBook);\r\n/* 182: */ }\r\n/* 183:216 */ for (int i1 = 0; i1 < localList.size(); i1++)\r\n/* 184: */ {\r\n/* 185:217 */ WeightedRandomItemEnchantment localapo = (WeightedRandomItemEnchantment)localList.get(i1);\r\n/* 186:219 */ if (n != 0) {\r\n/* 187:220 */ ItemList.enchantedBook.addEnchantment(localamj1, localapo);\r\n/* 188: */ } else {\r\n/* 189:222 */ localamj1.a(localapo.enchantment, localapo.level);\r\n/* 190: */ }\r\n/* 191: */ }\r\n/* 192:227 */ if (!paramahd.abilities.instabuild)\r\n/* 193: */ {\r\n/* 194:228 */ localamj2.stackSize -= m;\r\n/* 195:229 */ if (localamj2.stackSize <= 0) {\r\n/* 196:230 */ this.a.a(1, null);\r\n/* 197: */ }\r\n/* 198: */ }\r\n/* 199:233 */ this.a.o_();\r\n/* 200:234 */ this.f = paramahd.ci();\r\n/* 201:235 */ a(this.a);\r\n/* 202: */ }\r\n/* 203: */ }\r\n/* 204:238 */ return true;\r\n/* 205: */ }\r\n/* 206:240 */ return false;\r\n/* 207: */ }", "title": "" }, { "docid": "a999600339af5770c7681693356c2a32", "score": "0.56896514", "text": "public void activate ()\n {\n Timeslot current = timeslotRepo.currentTimeslot();\n log.info(\"activate: timeslot \" + current.getSerialNumber());\n \n // In the first timeslot, we buy a fixed amount because we have no\n // usage record. Note that this gets called after a timeslot update, but\n // before the sim clock is updated. However the \"current timeslot\" is\n // the one in which the most recent energy usage was recorded.\n //if (current.getSerialNumber() == 0) {\n // for (Timeslot timeslot : timeslotRepo.enabledTimeslots()) {\n // submitShout(initialBidKWh, timeslot);\n // }\n //}\n \n // In the first through 23rd timeslot, we buy enough to meet what was\n // used in the previous timeslot. Note that this is called after the\n // customer model has run in the current timeslot, for a market clearing\n // at the beginning of the following timeslot.\n if (current.getSerialNumber() < 24) {\n // we already have usage data for the current timeslot.\n double currentKWh = collectUsage(current.getSerialNumber());\n double neededKWh = 0.0;\n for (Timeslot timeslot : timeslotRepo.enabledTimeslots()) {\n // use data already collected if we have it, otherwise use data from\n // the current timeslot.\n int index = (timeslot.getSerialNumber()) % 24;\n double historicalKWh = collectUsage(index);\n if (historicalKWh != 0.0)\n neededKWh = historicalKWh;\n else\n neededKWh = currentKWh;\n // subtract out the current market position, and we know what to\n // buy or sell\n submitShout(neededKWh, timeslot);\n }\n }\n \n // Once we have 24 hours of records, assume we need enough to meet \n // what we used 24 hours earlier\n else if (current.getSerialNumber() <= usageRecordLength) {\n double neededKWh = 0.0;\n for (Timeslot timeslot : timeslotRepo.enabledTimeslots()) {\n int index = (timeslot.getSerialNumber()) % 24;\n neededKWh = collectUsage(index);\n submitShout(neededKWh, timeslot);\n } \n }\n \n // Finally, once we have a full week of records, we use the data for\n // the hour and day-of-week.\n else {\n double neededKWh = 0.0;\n for (Timeslot timeslot : timeslotRepo.enabledTimeslots()) {\n int index = (timeslot.getSerialNumber()) % usageRecordLength;\n neededKWh = collectUsage(index);\n submitShout(neededKWh, timeslot);\n } \n }\n }", "title": "" }, { "docid": "06d1354242bacb0662ba40f20bb6ffc3", "score": "0.5669216", "text": "@Override\n public void onEquipped(String identifier, LivingEntity entityLivingBase) {\n }", "title": "" }, { "docid": "858fc46fc11660b9690d2ad77821e8e1", "score": "0.5661493", "text": "public void equip(Weapon weapon)\n {\n boolean inInventory = false;\n\n for(int i = 0; i < inventory.size(); i++)\n {\n if(weapon.getName().equals(inventory.get(i).getName()))\n {\n inInventory = true;\n }\n }\n\n if(inInventory)\n {\n if (currentWeapon.getName().equals(\"Fists\"))\n {\n currentWeapon = weapon;\n weaponDamage = currentWeapon.getDamage();\n currentWeapon.setEquipped(true);\n if (name.equals(\"Player\"))\n {\n System.out.println(\"You equipped a \" + weapon.getName());\n }\n }\n else\n {\n unequip(currentWeapon);\n equip(weapon);\n }\n\n weapon.setEquipped(true);\n }\n else\n {\n System.out.println(\"You don't have this item\");\n }\n }", "title": "" }, { "docid": "c97b25e089d0811be73c4d6dac263b9b", "score": "0.5658548", "text": "private void equipItem(Command command) { \n if (!command.hasSecondWord()) {\n System.out.println(\"Equip what?\");\n }else{\n String itemName = command.getRestOfLine();\n Item item = null;\n item = player.getItem(itemName);\n if (item != null) {\n if (item instanceof Weapon) {\n Weapon equippedWeapon = (Weapon)item;\n boolean returnStatement = player.setEquippedWeapon(equippedWeapon);\n if (returnStatement == true) {\n System.out.println(\"You equipped the \" + equippedWeapon.getName());\n } \n }\n if (item instanceof Armor) {\n Armor equippedArmor = (Armor)item;\n boolean returnStatement = player.setEquippedArmor(equippedArmor);\n if (returnStatement == true) {\n System.out.println(\"You equipped the \" + equippedArmor.getName());\n }\n }\n }else{\n System.out.println(\"You do not have a \" + itemName);\n }\n } \n }", "title": "" }, { "docid": "1492c68a0a9956bde6af636267458096", "score": "0.5649621", "text": "@Override\n public boolean giveItem(InventoryClickEvent event){\n ItemStack item = event.getCurrentItem();\n Inventory inventory = event.getWhoClicked().getInventory();\n if(item.getType().equals(Material.ARROW)){\n ItemStack arrow = new ItemStack(Material.ARROW, 8);\n inventory.addItem(arrow);\n } else if(item.getType().equals(Material.DIAMOND)) {\n //expanse fund\n int expanseFund = data.getConfig().getInt(\"world.expanseFund\");\n int expanseLevel = data.getConfig().getInt(\"world.expanseLevel\");\n expanseFund -= 5;\n if(expanseFund <= 0){\n //expand land\n expandLand((Player) event.getWhoClicked());\n expanseFund = expansePrice[expanseLevel+1];\n data.getConfig().set(\"world.expanseLevel\", expanseLevel+1);\n }\n data.getConfig().set(\"world.expanseFund\", expanseFund);\n data.saveConfig();\n updateExpanseFund(event);\n updateLectrum(event);\n } else if(item.getType().equals(Material.PAPER)) {\n Player player = (Player) event.getWhoClicked();\n long oldLicense = data.getConfig().getLong(\"players.\"+player.getUniqueId().toString()+\".alcoholLicenseExpiration\");\n if(oldLicense > player.getWorld().getGameTime()){\n player.sendMessage(ChatColor.RED+\"You already have a valid license.\");\n } else {\n player.sendMessage(ChatColor.GOLD+\"You now possess a valid alcohol license.\");\n player.sendMessage(ChatColor.GOLD+\"Will expire in seven (minecraft) days.\");\n data.getConfig().set(\"players.\"+player.getUniqueId().toString()+\".alcoholLicenseExpiration\", player.getWorld().getGameTime()+168000);\n data.saveConfig();\n }\n } else {\n ItemStack newItem = item.clone();\n ItemMeta meta = newItem.getItemMeta();\n List<String> lore = meta.getLore();\n lore.remove(lore.size()-1);\n meta.setLore(lore);\n meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);\n newItem.setItemMeta(meta);\n inventory.addItem(newItem);\n }\n return true;\n }", "title": "" }, { "docid": "07b6be776da28a96a907d9e414e7a4d0", "score": "0.563802", "text": "void itemStart(){\n GreaterRestorative greaterRestorative= new GreaterRestorative();\n gameControl.itemHashMap.put(greaterRestorative.getName(), greaterRestorative);\n LargeHPPotion largeHPPotion = new LargeHPPotion();\n gameControl.itemHashMap.put(largeHPPotion.getName(), largeHPPotion);\n LargeMPPotion largeMPPotion = new LargeMPPotion();\n gameControl.itemHashMap.put(largeMPPotion.getName(), largeMPPotion);\n LesserRestorative lesserRestorative = new LesserRestorative();\n gameControl.itemHashMap.put(lesserRestorative.getName(), lesserRestorative);\n MediumHPPotion mediumHPPotion = new MediumHPPotion();\n gameControl.itemHashMap.put(mediumHPPotion.getName(), mediumHPPotion);\n MediumMPPotion mediumMPPotion = new MediumMPPotion();\n gameControl.itemHashMap.put(mediumMPPotion.getName(), mediumMPPotion);\n SmallHPPotion smallHPPotion = new SmallHPPotion();\n gameControl.itemHashMap.put(smallHPPotion.getName(), smallHPPotion);\n SmallMPPotion smallMPPotion = new SmallMPPotion();\n gameControl.itemHashMap.put(smallMPPotion.getName(), smallMPPotion);\n gameControl.itemHashMap.put(\"Mystic Hourglass\", new MysticHourglass(gameControl));\n }", "title": "" }, { "docid": "da306c1a69dbc5ab9f84f9b51b2a2d22", "score": "0.5633202", "text": "private void seated() {\n\t\tcustomerGui.setMenuCopy();\n\t\tList<String> menuItems = menu.getAllFoodNames();\n\t\tList<String> affordableItems = new ArrayList<String>();\n\t\tfor (String s : menuItems) {\n\t\t\tdouble price = menu.getPrice(s);\n\t\t\tdouble money = ((PeopleAgent)myPerson).Money;\n\t\t\tif (money >= price) {\n\t\t\t\taffordableItems.add(s);\n\t\t\t}\n\t\t}\n\t\tif (affordableItems.isEmpty() || menu.getAllFoodNames().isEmpty()) {\n\t\t\tprint(\"Screw it. I'm leaving!\");\n\t\t\tevent = AgentEvent.abruptlyLeaving;\n\t\t\tleaveOption = false;\n\t\t}\n\t\telse {\n\t\t\tRandom generator = new Random();\n\t\t\tint num = generator.nextInt(affordableItems.size());\n\t\t\tchoice = affordableItems.get(num);\n\t\t\tevent = AgentEvent.orderDecided;\n\t\t\tprint(\"My choice is \" + choice);\n\t\t\tleaveOption = false;\n\t\t}\n\t}", "title": "" }, { "docid": "a3ccfa36192f9668fdd5a07ac772ef9a", "score": "0.5632623", "text": "private void ensureValidSelections()\r\n\t{\n\t\tif ( KoLmafia.isRefreshing() )\r\n\t\t{\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tAdventureResult hatItem = (AdventureResult) this.equipment[ EquipmentManager.HAT ].getSelectedItem();\r\n\t\tAdventureResult currentHat = EquipmentManager.getEquipment( EquipmentManager.HAT );\r\n\t\tif ( hatItem == null )\r\n\t\t{\r\n\t\t\thatItem = currentHat;\r\n\t\t}\r\n\r\n\t\tList hatItems = this.validHatItems( currentHat );\r\n\t\tthis.updateEquipmentList( this.hats, hatItems, hatItem );\r\n\r\n\t\tAdventureResult pantsItem = (AdventureResult) this.equipment[ EquipmentManager.PANTS ].getSelectedItem();\r\n\t\tAdventureResult currentPants = EquipmentManager.getEquipment( EquipmentManager.PANTS );\r\n\t\tif ( pantsItem == null )\r\n\t\t{\r\n\t\t\tpantsItem = currentPants;\r\n\t\t}\r\n\r\n\t\tList pantsItems = this.validPantsItems( currentPants );\r\n\t\tthis.updateEquipmentList( this.pants, pantsItems, pantsItem );\r\n\r\n\t\tthis.equipment[ EquipmentManager.SHIRT ].setEnabled( this.isEnabled && KoLCharacter.hasSkill( \"Torso Awaregness\" ) );\r\n\r\n\t\tAdventureResult weaponItem = (AdventureResult) this.equipment[ EquipmentManager.WEAPON ].getSelectedItem();\r\n\t\tAdventureResult currentWeapon = EquipmentManager.getEquipment( EquipmentManager.WEAPON );\r\n\t\tif ( weaponItem == null )\r\n\t\t{\r\n\t\t\tweaponItem = currentWeapon;\r\n\t\t}\r\n\r\n\t\tList weaponItems = this.validWeaponItems( currentWeapon );\r\n\t\tthis.updateEquipmentList( this.weapons, weaponItems, weaponItem );\r\n\r\n\t\tint weaponHands = EquipmentDatabase.getHands( weaponItem.getName() );\r\n\t\tif ( weaponHands > 1 )\r\n\t\t{\r\n\t\t\t// Equipping 2 or more handed weapon: nothing in off-hand\r\n\t\t\tthis.equipment[ EquipmentManager.OFFHAND ].setSelectedItem( EquipmentRequest.UNEQUIP );\r\n\t\t\tthis.equipment[ EquipmentManager.OFFHAND ].setEnabled( false );\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tAdventureResult offhandItem = (AdventureResult) this.equipment[ EquipmentManager.OFFHAND ].getSelectedItem();\r\n\t\t\tAdventureResult currentOffhand = EquipmentManager.getEquipment( EquipmentManager.OFFHAND );\r\n\t\t\tif ( offhandItem == null )\r\n\t\t\t{\r\n\t\t\t\toffhandItem = currentOffhand;\r\n\t\t\t}\r\n\r\n\t\t\tif ( EquipmentDatabase.getHands( offhandItem.getName() ) > 0 )\r\n\t\t\t{\r\n\t\t\t\t// Weapon in offhand. Must have compatible\r\n\t\t\t\t// weapon in weapon hand\r\n\t\t\t\tif ( weaponHands == 0 || EquipmentDatabase.getWeaponType( weaponItem.getName() ) != EquipmentDatabase.getWeaponType( offhandItem.getName() ) )\r\n\t\t\t\t{\r\n\t\t\t\t\toffhandItem = EquipmentRequest.UNEQUIP;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tList offhandItems = this.validOffhandItems( weaponItem, offhandItem );\r\n\t\t\tthis.updateEquipmentList( this.offhands, offhandItems, offhandItem );\r\n\t\t\tthis.equipment[ EquipmentManager.OFFHAND ].setEnabled( this.isEnabled );\r\n\t\t}\r\n\r\n\t\tFamiliarData currentFamiliar = KoLCharacter.getFamiliar();\r\n\t\tFamiliarData selectedFamiliar = (FamiliarData) this.familiars.getSelectedItem();\r\n\t\tif ( selectedFamiliar == null )\r\n\t\t{\r\n\t\t\tselectedFamiliar = currentFamiliar;\r\n\t\t}\r\n\t\tList familiars = this.validFamiliars( currentFamiliar );\r\n\t\tthis.updateEquipmentList( this.familiars, familiars, selectedFamiliar );\r\n\t}", "title": "" }, { "docid": "3c26a50fae25af76112c8e7a2dc217c9", "score": "0.5628423", "text": "public abstract boolean usedInBattle();", "title": "" }, { "docid": "bb238c88f96744ef67a58097fb42729d", "score": "0.5615136", "text": "@Override\n public void useWeapon() {\n System.out.println(\"Corta com uma espada!\");\n }", "title": "" }, { "docid": "b3e7a4f3128a2649b694f70c8ed3d5d3", "score": "0.5614053", "text": "public void equipItem(int itemIndex) {\r\n\t\t//System.out.println(\"TEST 1: ITEM INDEX=\"+itemIndex);\r\n\t\tif(itemIndex>=0&&itemIndex<inventory.size()){\r\n\r\n\t\t\titem item=inventory.get(itemIndex);\r\n\r\n\t\t\tint itemBonus=item.getBonus();\r\n\t\t\tint itemStat=item.getStat();\r\n\t\t\tint itemPosition=item.getPosition();\r\n\t\t\t//determine the previous stat, and the bonus to that stat\r\n\t\t\t//System.out.println(\"TEST 2: itembonus=\"+itemBonus);\r\n\t\t\t//System.out.println(\"TEST 3: itemstat=\"+itemStat);\r\n\t\t\t//System.out.println(\"TEST 4: itemPosition=\"+itemPosition);\r\n\r\n\r\n\t\t\tint previousStat=0;\r\n\t\t\tint previousBonus=0;\r\n\t\t\t//remove subtract its bonus as long as there was an item equipped\r\n\t\t\tif(equipped[itemPosition]!=null) {\r\n\t\t\t\tpreviousBonus=equipped[itemPosition].getBonus();\r\n\t\t\t\tpreviousStat=equipped[itemPosition].getStat();\r\n\t\t\t\tstats[previousStat]-=previousBonus;\r\n\t\t\t\tcurrentStats[previousStat]-=previousBonus;\r\n\t\t\t}\r\n\t\t\t//equip the new item\r\n\t\t\tequipped[itemPosition]=item;\r\n\t\t\t//add new bonus\r\n\t\t\tstats[itemStat]+=itemBonus;\r\n\t\t\tcurrentStats[itemStat]+=itemBonus;\r\n\t\t\t//display stat changes \r\n\t\t\tSystem.out.println(\"item equipped! lost \"+previousBonus+statsDescription[previousStat]+\", gained \"+itemBonus+statsDescription[itemStat]);\r\n\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "8b2466bc3946ff1f917999e04026cc2e", "score": "0.5600403", "text": "public boolean isEquippable() {\n return this.equippable;\n }", "title": "" }, { "docid": "361a0de60d78e2f7c2a43374c2b09128", "score": "0.55971", "text": "@Override\n protected void inventorySetup(Player player) {\n }", "title": "" }, { "docid": "9bef05ef22495276aec54aaf0ee13661", "score": "0.5568682", "text": "@Override\n public void onUnequipped(String identifier, LivingEntity entityLivingBase) {\n }", "title": "" }, { "docid": "f2aa363340630fd76273401b96b607ce", "score": "0.55558074", "text": "public abstract ItemStack getEquipmentInSlot(int p_71124_1_);", "title": "" }, { "docid": "7498d87d8f6858b0f8f736ca85f9dbc7", "score": "0.5547958", "text": "@Override\n /** This is the logic of the player.\n * It defines what they should do when given a chance to do something\n */\n public void play(){\n if (this.getHealth()<= 0) { // if a player' hp is below or equal to 0, he is dead and drop all peaches on the ground .\n die();\n return;\n }else if (this.getHealth() < 10) {\n this.need_help=true; //when hp<10 set need_help = true\n return; //this player remains disabled\n } else if (this.getHealth() < 40) {\n eatPeach();\n }\n // HP Capacity status check\n if (this.getHealth() < 50) { //if a player' hp is below 50, set the max number he can carry to 25\n this.maxcarry=25;\n if (this.peaches.size() > this.maxcarry) {\n int sizeofpeaches1=this.peaches.size();\n dropPeaches(sizeofpeaches1 - this.maxcarry); //drop peaches to the max available number.\n System.out.println(\"##Action:\"+this.name+\" dropped \"+String.valueOf(sizeofpeaches1 - this.maxcarry)+\" peaches at \"+this.getLocation()+\" due to low HP.\" );\n }\n } else{\n this.maxcarry=100;\n if (this.getHealth()<70){\n eatPeach();\n }\n }\n // Location active action check\n System.out.println(\" \"+this.getName()+\" has \"+this.peaches.size()+\" peaches.\" );\n if(this.getLocation().property.equals(\"Home\")){ //if at Home\n int sizeofpeaches2=this.peaches.size();\n if (sizeofpeaches2==0){ //if no peaches ,then go to find grove\n moveOneStep(goGrove());\n return;\n }else {\n dropPeaches(sizeofpeaches2); //else drop all peaches\n if (((Home)(this.getLocation())).peaches_track.containsKey(this.getName())==false){\n ((Home)(this.getLocation())).peaches_track.put(this.getName(),sizeofpeaches2); //set a new record\n } else { int pre_record=((Home)(this.getLocation())).peaches_track.get(this.getName()); //get the previous stored peaches record of this hunter\n ((Home)(this.getLocation())).peaches_track.put(this.getName(),pre_record+sizeofpeaches2); //add new peaches number to this record.\n }\n int sum=((Home)(this.getLocation())).peaches_track.get(\"SUM\");\n ((Home)(this.getLocation())).peaches_track.put(\"SUM\",sum+sizeofpeaches2);\n return;\n }\n } else if(this.getLocation().property.equals(\"PeachGrove\")) {\n if (this.getterOfGrovevisit(this.getLocation())==null) {\n grove_visits.add(new GroveVisit((PeachGrove) (this.getLocation()), ((PeachGrove) (this.getLocation())).getterOfPeachesAtTree().size() <= 0)); //add this grove to the record of this hunter\n }else{\n getterOfGrovevisit(this.getLocation()).runout=(((PeachGrove) (this.getLocation())).getterOfPeachesAtTree().size() <= 0);\n }\n if (this.peaches.size() >= 50 ||this.peaches.size() >= maxcarry) { //if carrying enough peaches or cannot carry any more\n moveOneStep(goHome());\n return;\n } else if(((PeachGrove)(this.getLocation())).getterOfPeachesAtTree().size()<=0){//if the Grove runs out,and hunter can carry more\n moveOneStep(goGrove());\n return;\n }else{\n pickPeachesAtTree(); //if not enough peaches carried with the hunter //if have peaches,pick peaches}\n return;\n }\n } else if (this.getLocation().property.equals(\"PeachPit\")){\n this.pickPeachesAtLocation();\n if (this.peaches.size() >= 50 ||this.peaches.size() >= maxcarry) {//if carrying enough peaches or cannot carry any more\n moveOneStep(goHome());\n return;\n } else {\n moveOneStep(goGrove());\n return;\n }\n } else { //if elsewhere\n if (this.peaches.size() >= 50 ||this.peaches.size() >= maxcarry) {\n moveOneStep(goHome());\n return;\n } else {\n moveOneStep(goGrove());\n return;\n }\n }\n\n }", "title": "" }, { "docid": "eb25bf5e724a1962b91bdd0bf3061e08", "score": "0.55471253", "text": "public String equip(EquipmentCard equipmentItem) {\n\t\tString unequipReason = equipmentItem.equip(this);\n\t\tEquipmentCard cheatingCard = getCheatingItemCard();\n\t\t\n\t\t// determine if player is able to equip item based on type of equipment and worn equipment\n\t\t// ignore any items the player has connected with a cheat card; if applicable\n\t\tEquipmentType type = equipmentItem.getEquipmentType();\n\t\tif (unequipReason.equals(\"\") && type != EquipmentType.OTHER && equipmentItem != cheatingCard) {\n\t\t\tif (type == EquipmentType.ONE_HAND || type == EquipmentType.TWO_HANDS) {\n\t\t\t\tint numHandsFull = 0;\n\t\t\t\tfor (EquipmentCard item : equippedItems) {\n\t\t\t\t\tif (item != equipmentItem && item != cheatingCard) {\n\t\t\t\t\t\tif (item.getEquipmentType() == EquipmentType.ONE_HAND)\n\t\t\t\t\t\t\tnumHandsFull += 1;\n\t\t\t\t\t\telse if (item.getEquipmentType() == EquipmentType.TWO_HANDS)\n\t\t\t\t\t\t\tnumHandsFull += 2;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (type == EquipmentType.ONE_HAND && numHandsFull >= 2)\n\t\t\t\t\tunequipReason = \"Your hands are full.\";\n\t\t\t\telse if (type == EquipmentType.TWO_HANDS && numHandsFull > 0)\n\t\t\t\t\tunequipReason = \"You don't have two free hands.\";\n\t\t\t}\n\t\t\telse {\n\t\t\t\tfor (EquipmentCard item : equippedItems) {\n\t\t\t\t\tif (item != equipmentItem && item != cheatingCard) {\n\t\t\t\t\t\tif (type == item.getEquipmentType()) {\n\t\t\t\t\t\t\tunequipReason = \"You are already wearing \" + type + \".\";\n\t\t\t\t\t\t\tbreak;\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\t\t\n\t\t// Puts the equipment in the correct equipped/unequipped list depending on if it was able to be equipped or not\n\t\tif (unequipReason.equals(\"\")) {\n\t\t\tif (unequippedItems.remove(equipmentItem))\n\t\t\t\tequippedItems.add(equipmentItem);\n\t\t}\n\t\telse {\n\t\t\tif (equippedItems.remove(equipmentItem))\n\t\t\t\tunequippedItems.add(equipmentItem);\n\t\t}\n\t\t\n\t\tsetChanged();\n\t\tnotifyObservers();\n\t\t\n\t\treturn unequipReason;\n\t}", "title": "" }, { "docid": "74dda31e6b1f2df79fbbcadbb84cb87c", "score": "0.5532202", "text": "public Item getItem() {\n\t\treturn equipped;\r\n\t}", "title": "" }, { "docid": "e761b5974a2649a6f0051b9150459b60", "score": "0.55236286", "text": "@Override\n public boolean activate() {\n return (ctx.players.local().animation() == -1\n && Helper.actualFishCount(ctx.inventory.select().id(ITEM.RAW_SHRIMP).count()) > 0)\n && ctx.inventory.count() < 28;\n }", "title": "" }, { "docid": "1d29f841cea205b0fbf219d0f7ae5c0c", "score": "0.5522469", "text": "@Override\n\tpublic void vegItems() {\n\t\tSystem.out.println(\"Available\");\n\t}", "title": "" }, { "docid": "85455fcfecaeb2635ec2a991d2e28f2a", "score": "0.5515713", "text": "public void addEquipable(Equipable e, Protagonista person) {\n boolean agregado = false;\n if (e instanceof AbstractCasco) {//Si es un casco... \n if (equipo.getCasco() == null) {//si no tiene casco en el equipo\n equipo.equiparCasco(person, (AbstractCasco) e);\n agregado = true;\n }\n } else if (e instanceof AbstractPecho) {//Si es una pechera...\n if (equipo.getPecho() == null) {\n equipo.equiparPecho(person, (AbstractPecho) e);\n agregado = true;\n }\n } else if (e instanceof AbstractBotas) {//Si son botas\n if (equipo.getBotas() == null) {\n //Utiles.Print(\"botas es null\", this);\n equipo.equiparBotas(person, (AbstractBotas) e);\n agregado = true;\n }\n } else if (e instanceof AbstractGuantes) {//Si son guantes\n if (equipo.getGuantes() == null) {\n equipo.equiparGuantes(person, (AbstractGuantes) e);\n agregado = true;\n }\n } else if (e instanceof Arma) {//Si es arma\n if (equipo.getArma() == null) {\n equipo.equiparArma(person, (Arma) e);\n agregado = true;\n\n }\n\n }\n\n if (agregado) {\n listener.equipableAgregadoAlEquipo(e);\n e.cogerItem();\n if (e.getMejora() != null) {//hay equipo que no tiene mejoras, y esta a null\n person.getMejoras().add(e.getMejora().getTipo(), e.getMejora()); // agrega la mejora al personaje\n }\n if (e instanceof Arma) {\n person.addPersonajeListener((Arma) e);//Pasa al arma los eventos del personaje\n }\n } else {\n if (inventario.addEquipable(e)) { // lo intenta agregar al inventario\n e.cogerItem();\n listener.itemAgregadoAlInventario(e);\n }\n }\n\n }", "title": "" }, { "docid": "f98dd918cd2cde3e8b90867d1f273c2b", "score": "0.551215", "text": "public int getSizeInventory() {\n/* 294 */ return 1;\n/* */ }", "title": "" }, { "docid": "77a7d71b825de09562e3709adaf56324", "score": "0.55111253", "text": "public void pickUp()\n {\n List<Items> items = getObjectsInRange(30, Items.class); \n for(int i = 0; i < items.size(); i++){\n items.get(i).activate();\n world.removeObject(items.get(i));\n }\n }", "title": "" }, { "docid": "06c448f0654e02d0e2a9be6b92ac1f0d", "score": "0.5501214", "text": "public void updateInventory() {\n\n //reset the data of the gui\n for (int y = 0; y < inventory.length; y++) {\n for (int x = 0; x < inventory[y].length; x++) {\n inventory[y][x].setData(null);\n }\n }\n Array<ItemData> pInventory = equipComp.get(player.getEntity()).inventory;\n\n //set the data based on what the entity is holding\n for (int i = 0; i < pInventory.size; i++) {\n int y = i / inventorySize;\n int x = i % inventorySize;\n\n\n inventory[y][x].setData(pInventory.get(i));\n\n\n }\n }", "title": "" }, { "docid": "36385ebbe00cf50d8e74efe60a147e5d", "score": "0.549647", "text": "public Pokemon getActive(){return Active;}", "title": "" }, { "docid": "525f130746882756c3960cecbb40f0b4", "score": "0.54893506", "text": "@Override\n protected Item bought() {\n return new PterodactylEgg();\n }", "title": "" }, { "docid": "f19d10b54543aa7a26543ceab9adfab4", "score": "0.5482616", "text": "@Override\n\tpublic void giveItem () {\n\t\t\n\t}", "title": "" }, { "docid": "cb305280b26e6f0e8d058ec0dac36322", "score": "0.5465583", "text": "public void setItems() {\r\n\t\tplayer.getInventory().clear();\r\n\t\t\r\n\t\tif (realm == Realm.HUB) {\r\n\t\t\t//Menu\r\n\t\t\tHubMenu hubMenu = new HubMenu();\r\n\t\t\tItemStack hm = hubMenu.give();\r\n\t\t\tplayer.getInventory().setItem(4, hm);\r\n\t\t\tplayer.getInventory().setHeldItemSlot(4);\r\n\t\t} else if (realm == Realm.KITPVP) {\r\n\t\t\t//Return to hub\r\n\t\t\tReturnToHub returnToHub = new ReturnToHub();\r\n\t\t\tplayer.getInventory().setItem(8, returnToHub.give());\r\n\t\t\t//Select kit\r\n\t\t\tKitSelector selectKit = new KitSelector(Realm.KITPVP);\r\n\t\t\tplayer.getInventory().setItem(7, selectKit.give());\r\n\t\t\t//Sword\r\n\t\t\tItemStack sword = new ItemStack(Material.IRON_SWORD);\r\n\t\t\tsword.addEnchantment(Enchantment.DAMAGE_ALL, 1);\r\n\t\t\tplayer.getInventory().setItem(0, sword);\r\n\t\t\tplayer.getInventory().setHeldItemSlot(0);\r\n\t\t\t//Golden Apples\r\n\t\t\tItemStack goldenApples = new ItemStack(Material.ENCHANTED_GOLDEN_APPLE,1);\r\n\t\t\tplayer.getInventory().setItem(1, goldenApples);\r\n\t\t\t//Armor\r\n\t\t\tItemStack[] armor = {\r\n\t\t\t\tnew ItemStack(Material.IRON_BOOTS),\r\n\t\t\t\tnew ItemStack(Material.IRON_LEGGINGS),\r\n\t\t\t\tnew ItemStack(Material.IRON_CHESTPLATE),\r\n\t\t\t\tnew ItemStack(Material.IRON_HELMET)\r\n\t\t\t};\r\n\t\t\tarmor[0].addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);\r\n\t\t\tarmor[1].addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);\r\n\t\t\tarmor[2].addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);\r\n\t\t\tarmor[3].addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);\r\n\t\t\tplayer.getInventory().setArmorContents(armor);\r\n\t\t} else if (realm == Realm.STEPSPLEEF) {\r\n\t\t\tGameHandling gh = mainInstance.getGameInstance();\r\n\t\t\t\r\n\t\t\tfor (StepSpleef game : gh.getStepSpleefGames()) {\r\n\t\t\t\tif (game.isInServer(player)) {\r\n\t\t\t\t\tif (game.isGameActive()) {\r\n\t\t\t\t\t\t//Select player\r\n\t\t\t\t\t\tPlayerSelector selectPlayer = new PlayerSelector(mainInstance,Realm.STEPSPLEEF,player);\r\n\t\t\t\t\t\tplayer.getInventory().setItem(4, selectPlayer.give());\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\t//Return to hub\r\n\t\t\tReturnToHub returnToHub = new ReturnToHub();\r\n\t\t\tplayer.getInventory().setItem(8, returnToHub.give());\r\n\t\t} else if (realm == Realm.SKYWARS) {\r\n\t\t\tGameHandling gh = mainInstance.getGameInstance();\r\n\t\t\t\r\n\t\t\tfor (SkyWars game : gh.getSkyWarsGames()) {\r\n\t\t\t\tif (game.isInServer(player)) {\r\n\t\t\t\t\tif (game.isGameActive()) {\r\n\t\t\t\t\t\t//Select player\r\n\t\t\t\t\t\tPlayerSelector selectPlayer = new PlayerSelector(mainInstance,Realm.SKYWARS,player);\r\n\t\t\t\t\t\tplayer.getInventory().setItem(4, selectPlayer.give());\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\t//Select kit\r\n\t\t\t\t\t\tKitSelector selectKit = new KitSelector(Realm.SKYWARS);\r\n\t\t\t\t\t\tplayer.getInventory().setItem(4, selectKit.give());\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\t//Return to hub\r\n\t\t\tReturnToHub returnToHub = new ReturnToHub();\r\n\t\t\tplayer.getInventory().setItem(8, returnToHub.give());\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "1e7a1176c7f1f99ac5afc2be2ad655b2", "score": "0.54602283", "text": "public void updateWeapons() {\n\t\tfor (int i = 0; i < 4; i++) {\n\t\t\tString id = inv.getItemID(\"Active Inventory\", i);\n\t\t\tactiveWeapons.set(i, id);\n\t\t}\n\t}", "title": "" }, { "docid": "a86947440f26bd887b0693ca36a40ee6", "score": "0.54562217", "text": "private Inventory getInventory() {\n\t\tHashSet<Resource> resources = new HashSet<Resource>();\n\t\tresources.add(this.gatherType);\n\t\tInventory inventory = new Inventory(resources);\n\t\tinventory.updateQuantity(this.gatherType, this.gatherCount);\n\t\treturn inventory;\n\t}", "title": "" }, { "docid": "69ade76a69c0f6c07e66b5d0e5136eb3", "score": "0.5455882", "text": "@Override\r\n\tpublic void grabar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "89833bcd2dd4044320ed1df50f075350", "score": "0.54471105", "text": "@Override\n void prepare() {\n setName(\"Maximum Efford\");\n System.out.println(\"Preparing \" + getName());\n display = phoneIngredientFactory.create_display();\n display.setSize(\"5.5 inches\");\n battery = phoneIngredientFactory.create_battery();\n battery.setPower(\"27h,3600mAh\");\n cpu_ram = phoneIngredientFactory.create_cpu_ram();\n cpu_ram.setFeatures(\"2.8GHz,8GB\");\n storage = phoneIngredientFactory.create_storage();\n storage.setSize(\"MicroSD support, 64GB\");\n camera = phoneIngredientFactory.create_camera();\n camera.setFeatures(\"12Mp front, 8Mp rear\");\n aCase = phoneIngredientFactory.create_case();\n aCase.setFeatures(\"151x73x7.7 mm / dustproof,/ waterproof,/aluminum\");\n }", "title": "" }, { "docid": "7e0cef9a29015d4d80e5440201b375ea", "score": "0.5444413", "text": "public void viewItem() throws IOException \n\t{\n\t\t// get all items the player has in its inventory\n\t\tArrayList<InventoryItem> items = Game.getHero().getPlayerInventory();\n\t\t//check to see if the players inventory is empty if so leave stop.\n\t\tif(items.isEmpty())\n\t\t{\n\t\t\tSystem.out.println(\"\\t Your inventory is empty\");\n\t\t\treturn;\n\t\t}\n\t\telse\n\t\t{\n\t\t\twhile(true)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Which item would you like more information on?\");\n\t\t\t\t//output all of the items contained within the players inventory\n\t\t\t\tfor(int i =0;i < items.size();i++)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.println(i + \". \" + items.get(i).getItem().getName());\n\t\t\t\t}\n\t\t\t\t\tSystem.out.println(items.size() + \". \" + \" return to inventory\" );\n\t\t\t\t// get the players input\n\t\t\t\tint input = GameInput.getInt();\n\t\t\t\t//check to see that it falls within the range of appropreate input\n\t\t\t\tif(input >=0 && input < items.size())\n\t\t\t\t{\n\t\t\t\t\tif(items.get(input).getItem() instanceof Weapon)\n\t\t\t\t\t{\n\t\t\t\t\t\tWeapon temp = (Weapon) items.get(input).getItem();\n\t\t\t\t\t\tSystem.out.println(\"\\t \" + temp.getDescription());\n\t\t\t\t\t\tSystem.out.println(\"\\t Strength \" + temp.getStrength());\n\t\t\t\t\t\tSystem.out.println(\"\\t Perhaps this can be equipped for battle!\");\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\telse if(items.get(input).getItem() instanceof Armor)\n\t\t\t\t\t{\n\t\t\t\t\t\tArmor temp = (Armor) items.get(input).getItem();\n\t\t\t\t\t\tSystem.out.println(\"\\t \" + temp.getDescription());\n\t\t\t\t\t\tSystem.out.println(\"\\t Defense \" + temp.getDefense());\n\t\t\t\t\t\tSystem.out.println(\"\\t Perhaps this can be equipped for battle!\");\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\treturn;\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\tSystem.out.println(\"\\t \" + items.get(input).getItem().getDescription());\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t} else if (input == items.size()) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tSystem.out.println(\"\\t You mutter to yourself, trying to remember what you wanted to do...\");\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "28c1f64f9945a4ca7f65b8f785a9f0bd", "score": "0.5444041", "text": "@Test\n public void testIngredientCreation() throws IOException {\n final World world = new WorldImpl(new GameStateManager()); \n final ItemManager im = world.getItemManager();\n // creation of the ingredients\n final Ingredient bread = new IngredientImpl(im, IngredientType.BREAD);\n final Ingredient lettuce = new IngredientImpl(im, IngredientType.LETTUCE);\n final Ingredient tomato = new IngredientImpl(im, IngredientType.TOMATO);\n final Ingredient meat = new IngredientImpl(im, IngredientType.MEAT);\n final Ingredient cookedMeat = new IngredientImpl(im, IngredientType.MEAT, IngredientState.PERFECT);\n //testing the right creation\n Assert.assertTrue(bread.getState() == IngredientState.RAW);\n Assert.assertTrue(lettuce.getState() == IngredientState.RAW);\n Assert.assertTrue(tomato.getState() == IngredientState.RAW);\n Assert.assertTrue(meat.getState() == IngredientState.RAW);\n Assert.assertTrue(cookedMeat.getState() == IngredientState.PERFECT);\n //testing that the points are right\n Assert.assertTrue(bread.getState().getPoints() == IngredientState.RAW.getPoints());\n Assert.assertTrue(lettuce.getState().getPoints() == IngredientState.RAW.getPoints());\n Assert.assertTrue(tomato.getState().getPoints() == IngredientState.RAW.getPoints());\n Assert.assertTrue(meat.getState().getPoints() == IngredientState.RAW.getPoints());\n Assert.assertTrue(cookedMeat.getState().getPoints() == IngredientState.PERFECT.getPoints());\n //testing that the states change right \n bread.changeState(IngredientState.CHOPPED);\n lettuce.changeState(IngredientState.CHOPPED);\n tomato.changeState(IngredientState.CHOPPED);\n meat.changeState(IngredientState.PERFECT);\n Assert.assertTrue(bread.getState() == IngredientState.CHOPPED);\n Assert.assertTrue(lettuce.getState() == IngredientState.CHOPPED);\n Assert.assertTrue(tomato.getState() == IngredientState.CHOPPED);\n Assert.assertTrue(meat.getState() == IngredientState.PERFECT);\n //testing that the changes are right\n Assert.assertTrue(bread.getState().getPoints() == IngredientState.CHOPPED.getPoints());\n Assert.assertTrue(lettuce.getState().getPoints() == IngredientState.CHOPPED.getPoints());\n Assert.assertTrue(tomato.getState().getPoints() == IngredientState.CHOPPED.getPoints());\n Assert.assertTrue(meat.getState().getPoints() == IngredientState.PERFECT.getPoints());\n }", "title": "" }, { "docid": "85cf1e5be6928bd3dcc522d14a8eb169", "score": "0.54411185", "text": "public void useItem() throws IOException \n\t{\n\t\tArrayList<InventoryItem> items = Game.getHero().getPlayerInventory();\n\t\tif (items.size() > 0) {\n\t\t\tSystem.out.println(\"Which item would you like to use\");\n\t\t\tfor(int i =0;i < items.size();i++)\n\t\t\t{\n\t\t\t\tSystem.out.println(i + \". \" + items.get(i).getItem().getName());\n\t\t\t}\n\t\t\tSystem.out.println(items.size() + \". \" + \" return to inventory\" );\n\t\t\tint input = GameInput.getInt();\n\n\n\n\t\t\tif(input >=0 && input < items.size())\n\t\t\t{\n\t\t\t\tif(items.get(input).getItem() instanceof Weapon)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.println(\"\\t How does one use a weapon out in combat?\");\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\telse if(items.get(input).getItem() instanceof Armor)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.println(\"\\t How does one use armor out of combat?\");\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t\telse if(items.get(input).getItem() instanceof Consumable)\n\t\t\t\t{\n\t\t\t\t\tConsumable use = (Consumable) items.get(input).getItem();\n\t\t\t\t\tGame.getHero().useConsumable(use);\n\t\t\t\t\tSystem.out.println(\"\\t You feel your wounds melt away as if by magic.\"\n\t\t\t\t\t\t\t+ \"\\t Not bad for something you found on the floor!\");\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t} \n\t\t\telse if (items.size() == input) \n\t\t\t{\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"There are no items in your inventory\");\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t}", "title": "" }, { "docid": "29313a05dce9b7b94e9512dae2aedf39", "score": "0.54391545", "text": "public void enterInventory(){\n inventory.runInventory();\n }", "title": "" }, { "docid": "c998da3a7e7879ff405e2efea580b6bc", "score": "0.54376316", "text": "protected Vector<TangibleItem> getEquippedItems() {\n\t\tVector<TangibleItem> toReturn = new Vector<TangibleItem>();\n\t\tfor (int i = 0; i < vInventoryItemsList.size(); i++) {\n\t\t\tTangibleItem t = vInventoryItemsList.elementAt(i);\n\t\t\tif (t.getContainerID() == getID()) {\n\t\t\t\ttoReturn.add(t);\n\t\t\t}\n\t\t}\n\t\ttoReturn.add(tHairObject);\n\t\treturn toReturn;\n\t}", "title": "" }, { "docid": "5991847673c98b3291b262bc9b4efe3c", "score": "0.5437173", "text": "int getInventory();", "title": "" }, { "docid": "497d0a42a1b82763abb29d44c42dbbfc", "score": "0.54235184", "text": "public void charity() {\n\t\t\n\t}", "title": "" }, { "docid": "4af6cb90ff0db6655b21e7e1d1fc111c", "score": "0.5422187", "text": "@Override\n public void enterProduct(ProductContext ctx) {\n \n }", "title": "" }, { "docid": "1996c9a26117397944ce7888ec0cf124", "score": "0.54210377", "text": "private void initEquipSet()\n \t{\n \t\t// Setup the default EquipSet if not already present\n \t\tif (!charDisplay.hasEquipSet())\n \t\t{\n \t\t\tString id = EquipmentSetFacadeImpl.getNewIdPath(charDisplay, null);\n \t\t\tEquipSet eSet = new EquipSet(id, LanguageBundle.getString(\"in_ieDefault\"));\n \t\t\ttheCharacter.addEquipSet(eSet);\n \t\t\ttheCharacter.setCalcEquipSetId(id);\n \t\t}\n \n \t\t// Detach listeners from old set\n \t\tif (equipSet.getReference() != null)\n \t\t{\n \t\t\tEquipmentListFacade equippedItems = equipSet.getReference().getEquippedItems();\n \t\t\tequippedItems.removeListListener(this);\n \t\t\tequippedItems.removeEquipmentListListener(this);\n \t\t}\n \t\t\n \t\t// Make facades for each root equipset.\n \t\tList<EquipmentSetFacade> eqSetList = new ArrayList<EquipmentSetFacade>();\n \t\tEquipmentSetFacade currSet = null;\n \t\tString currIdPath = theCharacter.getCalcEquipSetId();\n \t\tfor (EquipSet es : charDisplay.getEquipSet())\n \t\t{\n \t\t\tif (es.getParentIdPath().equals(\"0\"))\n \t\t\t{\n \t\t\t\tfinal EquipmentSetFacadeImpl facade =\n \t\t\t\t\t\tnew EquipmentSetFacadeImpl(delegate, theCharacter, es,\n \t\t\t\t\t\t\tdataSet, purchasedEquip);\n \t\t\t\teqSetList.add(facade);\n \t\t\t\tif (es.getIdPath().equals(currIdPath))\n \t\t\t\t{\n \t\t\t\t\tcurrSet = facade;\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \t\tequipmentSets.updateContents(eqSetList);\n \t\tif (currSet != null)\n \t\t{\n \t\t\tequipSet.setReference(currSet);\n \t\t}\n \n \t\tEquipmentSetFacade set = equipSet.getReference();\n \t\tset.getEquippedItems().addListListener(this);\n \t\tset.getEquippedItems().addEquipmentListListener(this);\n \t\trefreshTotalWeight();\n \n \t}", "title": "" }, { "docid": "e42d5b246d449ff47099179b4746f204", "score": "0.5415186", "text": "public final void run() {\n log(\"Sending xp event for Exploration to \"+mainPlayer.getName()+\". Level is \"+getLevel(mainPlayer, Skill.EXPLORATION));\n registry.sendEvent(new GiveXpEvent(mainPlayer,Skill.EXPLORATION,25));\n log(mainPlayer.getName()+\" exploration level is now \"+getLevel(mainPlayer, Skill.EXPLORATION));\n log(\" \");\n log(\"Sending xp event for Construction to \"+mainPlayer.getName()+\". Level is \"+getLevel(mainPlayer, Skill.CONSTRUCTION));\n registry.sendEvent(new GiveXpEvent(mainPlayer,Skill.CONSTRUCTION,25));\n log(mainPlayer.getName()+\" construction level is now \"+getLevel(mainPlayer, Skill.CONSTRUCTION));\n\n //Player inventory system checks (Flexible with stackable and unstackable items)\n log(\"Giving \"+someOtherPlayer.getName()+\" 2000 coins!\");\n registry.sendEvent(new GivePlayerItemEvent(someOtherPlayer,Item.COINS,2000));\n ItemData id = getItem(someOtherPlayer, Item.COINS);\n log(someOtherPlayer.getName() + \" Has \"+id.getQuantity()+\" \"+id.getItem()+\" in their Inventory\");\n log(\"Removing 1000 coins!\");\n registry.sendEvent(new RemovePlayerItemEvent(someOtherPlayer,Item.COINS,1000));\n id = getItem(someOtherPlayer, Item.COINS);\n log(someOtherPlayer.getName() + \" Has \"+id.getQuantity()+\" \"+id.getItem()+\" in their Inventory\");\n log(\"Giving \"+mainPlayer.getName()+\" 5x Fish!\");\n registry.sendEvent(new GivePlayerItemEvent(mainPlayer,Item.FISH,5));\n id = getItem(mainPlayer, Item.FISH);\n log(mainPlayer.getName()+\" Has \"+id.getQuantity()+\" \"+id.getItem()+\" in their Inventory\");\n id = getItem(someOtherPlayer, Item.FISH);\n log(someOtherPlayer.getName()+\" Has \"+id.getQuantity()+\" \"+id.getItem()+\" in their Inventory\");\n\n //Mining event stuff\n log(mainPlayer.getName()+\" has \"+getLevel(mainPlayer, Skill.MINING)+\" mining level\");\n log(mainPlayer.getName()+\" is mining \"+ Rock.COAL);\n registry.sendEvent(new PlayerMiningEvent(mainPlayer,Rock.COAL));\n log(mainPlayer.getName()+\" is receiving 200 xp to reach level 5\");\n registry.sendEvent(new GiveXpEvent(mainPlayer, Skill.MINING, 200));\n log(\"Mining level is now \"+getLevel(mainPlayer, Skill.MINING));\n log(mainPlayer.getName()+\" is mining \"+ Rock.COAL);\n registry.sendEvent(new PlayerMiningEvent(mainPlayer,Rock.COAL));\n log(\"Mining level is now \"+getLevel(mainPlayer, Skill.MINING));\n id = getItem(mainPlayer,Item.COAL_ORE);\n log(mainPlayer.getName()+\" Has \"+id.getQuantity()+\" \"+id.getItem()+\" in their Inventory\");\n\n //Cooking Event stuff\n registry.sendEvent(new GivePlayerItemEvent(mainPlayer,Item.RAW_SHRIMP));\n registry.sendEvent(new GivePlayerItemEvent(mainPlayer,Item.RAW_SPAGHETTI));\n log(mainPlayer.getName()+\" has level \"+getLevel(mainPlayer, Skill.COOKING)+\" in cooking\");\n log(mainPlayer.getName()+\" is cooking \"+ Item.RAW_SHRIMP);\n registry.sendEvent(new PlayerCookingEvent(mainPlayer,Item.RAW_SHRIMP));\n log(mainPlayer.getName()+\" is cooking \"+ Item.RAW_SPAGHETTI);\n registry.sendEvent(new PlayerCookingEvent(mainPlayer,Item.RAW_SPAGHETTI));\n log(mainPlayer.getName()+\" is cooking \"+ Item.RAW_SHRIMP);\n registry.sendEvent(new PlayerCookingEvent(mainPlayer,Item.RAW_SHRIMP));\n log(mainPlayer.getName()+\" is using (eating) \"+ Item.RAW_SPAGHETTI);\n UsePlayerItemEvent useItemEvent = new UsePlayerItemEvent(mainPlayer,Item.RAW_SPAGHETTI);\n registry.sendEvent(useItemEvent);\n log(mainPlayer.getName()+\" has \"+getItem(mainPlayer,Item.SHRIMP).getQuantity()+\" \"+Item.SHRIMP);\n log(mainPlayer.getName()+\" has \"+getItem(mainPlayer,Item.BURNT_SHRIMP).getQuantity()+\" \"+Item.BURNT_SHRIMP);\n\n //Run those condition checks\n runChecks();\n\n //Unimportant, unload method call is empty\n registry.unload();\n }", "title": "" }, { "docid": "750e591b60f16c9a92f98d342b9ad404", "score": "0.5410449", "text": "public void onEquipped(ItemStack itemstack, EntityLivingBase player);", "title": "" }, { "docid": "b7c9ddb43515eaa6d7ca5f010de9c7c3", "score": "0.54103696", "text": "@Override\n public void equip(Buff b){\n super.equip(b);\n attack += b.damage;\n }", "title": "" }, { "docid": "9127c0c1e84440aef7440d56698b7e0a", "score": "0.5406339", "text": "void use() {\n System.out.println(location.getInteract());\n if(location.getTrigger() == false && !(location.getGift().equals(\"\"))) {\n location.drop(location.getGift());\n pickup(location.getGift());\n }\n location.setTrigger();\n }", "title": "" }, { "docid": "6103af7af1b3affea75dd2eb17c2e76b", "score": "0.540445", "text": "public interface Weapon {\n String getDescription();\n void equipToPlayer(Player player);\n String getName();\n}", "title": "" }, { "docid": "707ebdea3620da4b6db81f8ee2bda495", "score": "0.54041433", "text": "void onDequip(World world, EntityPlayer player, ItemStack stack,ArmourSlot armourSlot, int level);", "title": "" }, { "docid": "c7105ae0e7dd5670bed7f8dae68e925a", "score": "0.5402907", "text": "public void armorUpdate() {\n if (armor == \"Apprentice Armor\") {\n armorDefense = 1;\n }\n if (armor == \"Ancient Stone Vestments\") {\n armorAttack = -6;\n armorDefense = 12;\n }\n if (armor == \"Frostbite Raiment\") {\n armorDefense = 5;\n }\n gearUpdate();\n }", "title": "" }, { "docid": "23ada195e37404b40190f9b9b691737a", "score": "0.5395422", "text": "public abstract void forcered(int slot);", "title": "" }, { "docid": "80b6ced800f898e75b55be56812e2922", "score": "0.5394126", "text": "public boolean onItemUseFirst(GT_MetaBase_Item aItem, ItemStack aStack, EntityPlayer aPlayer, World aWorld, int aX, int aY, int aZ, int aSide, float hitX, float hitY, float hitZ)\r\n/* 72: */ {\r\n/* 73: 60 */ if ((aWorld.isRemote) || (aStack.stackSize != 1)) {\r\n/* 74: 60 */ return false;\r\n/* 75: */ }\r\n/* 76: 62 */ boolean rOutput = false;\r\n/* 77: */ \r\n/* 78: 64 */ ForgeDirection tDirection = ForgeDirection.getOrientation(aSide);\r\n/* 79: 65 */ aX += tDirection.offsetX;aY += tDirection.offsetY;aZ += tDirection.offsetZ;\r\n/* 80: 67 */ if ((!GT_Utility.isAirBlock(aWorld, aX, aY, aZ)) || (!aPlayer.canPlayerEdit(aX, aY, aZ, aSide, aStack))) {\r\n/* 81: 67 */ return false;\r\n/* 82: */ }\r\n/* 83: 68 */ prepare(aStack);\r\n/* 84: 69 */ long tFuelAmount = GT_Utility.ItemNBT.getLighterFuel(aStack);\r\n/* 85: 70 */ if (GT_Utility.areStacksEqual(aStack, this.mUsedLighter, true))\r\n/* 86: */ {\r\n/* 87: 71 */ GT_Utility.sendSoundToPlayers(aWorld, (String)GregTech_API.sSoundList.get(Integer.valueOf(6)), 1.0F, 1.0F, aX, aY, aZ);\r\n/* 88: 72 */ aWorld.setBlock(aX, aY, aZ, Blocks.fire);\r\n/* 89: 73 */ if (!aPlayer.capabilities.isCreativeMode) {\r\n/* 90: 73 */ tFuelAmount -= 1L;\r\n/* 91: */ }\r\n/* 92: 74 */ rOutput = true;\r\n/* 93: */ }\r\n/* 94: 76 */ GT_Utility.ItemNBT.setLighterFuel(aStack, tFuelAmount);\r\n/* 95: 77 */ if (tFuelAmount <= 0L) {\r\n/* 96: 77 */ useUp(aStack);\r\n/* 97: */ }\r\n/* 98: 78 */ return rOutput;\r\n/* 99: */ }", "title": "" }, { "docid": "d9541db12301a4bcab09b6e58b7c6d34", "score": "0.53931373", "text": "public String examineWeapon(Room currentRoom) \n {\n String description = \"\"; \n Weapon weapon = currentRoom.getWeapon(); // The weapon that is in the room\n\n // Inform the player that he found a weapon\n description += \"You did step in something! It is an engraved \" + weapon.getClass().getSimpleName()\n + \" laying on the ground.\\n\";\n\n // If the player has no weapon yet, equip him with the new weapon\n if (player.getWeapon() == null) \n {\n description += \"Having a weapon to help you to defend yourself is encouraging. You picked it on the ground\\n\"\n + \"and try it on an old statue made of wood that is in the room.\\n\\n\" +\n \"Weapon damage: \" + weapon.getDamage() +\"\\n\"; // Show weapon damage\n\n // Assign the weapon to the player and the room to null as the weapon was collected\n player.setWeapon(weapon);\n currentRoom.setWeapon(null);\n } // End of if statement\n \n // If player is equipped with a weapon, check and compare the damage that each weapon adds to the player to decide if replacing the weapon is a good idea\n else if (weapon.getDamage() > player.getWeapon().getDamage()) \n {\n description += \"It is definetly better than the weapon you are equiped. You drop\\n\"\n + \"\\tthe \" + player.getWeapon().getClass().getSimpleName()\n + \" you were carrying and pick the new weapon. \\nYou feel stronger already!\\n\\n\";\n\n // Assign the weapon to the player and the room to null as the weapon was collected\n player.setWeapon(weapon);\n currentRoom.setWeapon(null);\n } // End of else if statement\n \n // if the weapon player is carrying is better the one he found\n else \n {\n description += \"\\tIt looks useless compared to the \"\n + player.getWeapon().getClass().getSimpleName() + \", and you left it there, in the same place\\n\"\n + \"\\tin case another brave warrior decides to adventure himself in this dungeon.\\n\\n\";\n } // End of else statement\n\n return description;\n }", "title": "" }, { "docid": "4ed454a07c47b9683e3a34e9a7e71308", "score": "0.5391495", "text": "public void superGas(){\r\n\t\tmdaEfsm.selectGas(2);\r\n\t}", "title": "" }, { "docid": "80c80254d6560623487e7dac26d21b7e", "score": "0.53781414", "text": "public void playerPickUpItem() {\n\t\tif (player.isAlive()) {\n\t\t\tplayer.pickUpItem();\n\t\t}\n\t}", "title": "" }, { "docid": "71d998d79d5e3f2e32d03908bb2e7265", "score": "0.5372952", "text": "public void collidedWithAnotherShip(){ ;\n if (this.ShieldOff){\n this.CurrentHealthLevel --;\n this.MaxEnergyLevel -= 10;\n if (this.CurrentEnergyLevel > this.MaxEnergyLevel)\n this.CurrentEnergyLevel = this.MaxEnergyLevel;\n }\n else {\n this.MaxEnergyLevel += 18;\n this.CurrentEnergyLevel += 18;\n }\n }", "title": "" }, { "docid": "78d3d21d52eb8d29b608d9b7b6a5ae23", "score": "0.53727055", "text": "public static void equipmentchoice(){\r\n \r\n boolean law = true;\r\n \r\n do {\r\n try{\r\n while (law){\r\n \r\n System.out.print(\"Insert Equipment into Inventory: [1] \\n\");\r\n System.out.print(\"Remove Equipment from Inventory: [2] \\n\");\r\n System.out.print(\"Edit Equipment's Information from Inventory: [3] \\n\");\r\n System.out.print(\"Back?: [4] \\n\");\r\n \r\n int aw = Integer.parseInt(scan.nextLine());\r\n System.out.print(\"\\n\\n\\n\\n\\n\");\r\n \r\n switch (aw) {\r\n case 1: \r\n insertequip();\r\n law = false;\r\n break;\r\n case 2:\r\n if (com1.isEmpty()){\r\n System.out.print(\"There is nothing to be remove in the invetory of Hospital Equipments.\\n\");\r\n start();}\r\n removeequip();\r\n law = false;\r\n break;\r\n case 3:\r\n if (com1.isEmpty()){\r\n System.out.print(\"There is nothing to be edit in the invetory of Equipments.\\n\\n\\n\\n\\n\");\r\n System.out.print(\"Press any key to continue.....\");\r\n scan.nextLine();\r\n start();}\r\n law = false;\r\n setnewequipment();\r\n break;\r\n case 4:\r\n start();\r\n law = false;\r\n break;\r\n default:\r\n System.out.print(\"Invalid Choice\\n\\n\");\r\n law = true;\r\n break;\r\n }\r\n }\r\n break;\r\n } catch (NumberFormatException x){\r\n System.out.print(\"Your input is invalid.\");\r\n System.out.print(\"\\n\\n\\n\\n\\n\");\r\n }\r\n } while (true);\r\n }", "title": "" }, { "docid": "bea7569c676ae4b26490e7eebed74d9c", "score": "0.53707", "text": "@Override\r\n\tpublic boolean activate() {\n\t\tTile bank1 = new Tile(3169, 3457, 0);\r\n\t\tTile bank2 = new Tile(3144, 3484, 0);\r\n\t\tArea bank_tele_area = new Area(bank1, bank2);\r\n\t\t\r\n\t\treturn ctx.backpack.select().count() == 28 && !bank_tele_area.contains(ctx.players.local());\r\n\t}", "title": "" }, { "docid": "79c08cd6ecd5a0113bb92d8929f40547", "score": "0.53691685", "text": "public boolean onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10)\n {\n if (!par2EntityPlayer.canPlayerEdit(par4, par5, par6, par7, par1ItemStack))\n {\n return false;\n }\n else\n {\n UseHoeEvent event = new UseHoeEvent(par2EntityPlayer, par1ItemStack, par3World, par4, par5, par6);\n if (MinecraftForge.EVENT_BUS.post(event))\n {\n return false;\n }\n\n if (event.getResult() == Result.ALLOW)\n {\n par1ItemStack.damageItem(1, par2EntityPlayer);\n return true;\n }\n\n Block block = par3World.getBlock(par4, par5, par6); //getting the block at the right click location\n\n if (par7 != 0 && par3World.getBlock(par4, par5 + 1, par6).isAir(par3World, par4, par5 + 1, par6) && (block == Blocks.hay_block || block == Blocks.wheat||block==Blocks.tallgrass))//modded\n {\n Block block1 = Blocks.air; //getting the replacement block\n par3World.playSoundEffect((double)((float)par4 + 0.5F), (double)((float)par5 + 0.5F), (double)((float)par6 + 0.5F), block1.stepSound.getStepResourcePath(), (block1.stepSound.getVolume() + 1.0F) / 2.0F, block1.stepSound.getPitch() * 0.8F);\n\n if (par3World.isRemote)\n {\n return true;\n }\n else\n {\n \t // setting the block at the right click location to block1 type\n \tpar3World.setBlock(par4, par5, par6, block1); \n par1ItemStack.damageItem(1, par2EntityPlayer);\n \n \t//Our modification Par 4-6 are x,y,z coords for blocks. \n //I am doing is setting the blocks next to the block1 to ALSO be set to air\n \n Block block2 = Blocks.air;\n par3World.setBlock(par4+1, par5, par6, block2);\n \n \n Block block3 = Blocks.air;\n par3World.setBlock(par4-1, par5, par6, block3);\n \n \n par3World.setBlock(par4, par5, par6+1, block3);\n \n \n \n \n \n par3World.setBlock(par4+1, par5, par6+1, block3);\n \n \n \n \n \n par3World.setBlock(par4-1, par5, par6+1, block3);\n \n \n \n \n \n //Using the right click ability uses 1 whole unit of food since it is such a large swing!\n par2EntityPlayer.getFoodStats().setFoodLevel(par2EntityPlayer.getFoodStats().getFoodLevel()-1);\n \n return true;\n \n }\n }\n else\n {\n return false;\n }\n }\n }", "title": "" }, { "docid": "1dbb1a85bf23e60f3f5da48b0a8af044", "score": "0.5363098", "text": "public void equipArmor(Equipment newArmor) {\n this.armor = newArmor;\n }", "title": "" }, { "docid": "84a7d8caeb8ec6997b53d15ef5c84748", "score": "0.53554785", "text": "public void unequip(Clothing clothing)\n {\n totalProtection -= clothing.getProtection();\n\n if(clothing.getType().equals(\"head\"))\n {\n if(!head.getName().equals(\"Nothing\"))\n {\n System.out.println(\"You unequipped \" + head.getName());\n head.setEquipped(false);\n head = new Clothing(\"Nothing\", 0, \"head\");\n }\n }\n else if(clothing.getType().equals(\"torso\"))\n {\n if(!torso.getName().equals(\"Nothing\"))\n {\n System.out.println(\"You unequipped \" + torso.getName());\n torso.setEquipped(false);\n torso = new Clothing(\"Nothing\", 0, \"torso\");\n }\n }\n else if(clothing.getType().equals(\"legs\"))\n {\n if(!legs.getName().equals(\"Nothing\"))\n {\n System.out.println(\"You unequipped \" + legs.getName());\n legs.setEquipped(false);\n legs = new Clothing(\"Nothing\", 0, \"legs\");\n }\n }\n else if(clothing.getType().equals(\"feet\"))\n {\n if(!feet.getName().equals(\"Nothing\"))\n {\n System.out.println(\"You unequipped \" + feet.getName());\n feet.setEquipped(false);\n feet = new Clothing(\"Nothing\", 0, \"feet\");\n }\n }\n\n }", "title": "" }, { "docid": "7d20990cad6a9208e4086aa996d32e8a", "score": "0.5354868", "text": "@Override\n\tpublic void performAction(InventoryClickEvent event, ItemStack stack) {\n\t\tPlayer player = (Player)event.getWhoClicked();\n\t\tResident res = CivGlobal.getResident(player);\n\t\tguiInventory = Bukkit.getServer().createInventory(player,9*5, \"Library Enchanting\");\n\t\t\n\t\tfor (Structure s : res.getTown().getStructures()) {\n\t\t\tItemStack is;\n\t\t\tif (s instanceof Library) {\n\t\t\t\tLibrary library = (Library)s;\n\t\t\t\tfor (LibraryEnchantment le : library.getEnchants()) {\n\t\t\t\t\tInteger level = le.level;\n\t\t\t\t\tString cost = \"\"+le.price;\n/*\t\t\t\t\tif (!library.getEnchants().contains(\"Projectile Protection\")) {\n\t\t\t\t\t\tis = LoreGuiItem.build(\"Projectile Protection \"+level, ItemManager.getId(Material.BEDROCK), 0, \" \"+CivColor.RoseBold+\"ENCHANTMENT LOCKED\", CivColor.LightGrayItalic+\"Reduces Arrow Damage.\");\n\t\t\t\t\t\tguiInventory.setItem(0, is);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tis = LoreGuiItem.build(le.displayName+\" \"+level, ItemManager.getId(Material.SPECTRAL_ARROW), 0, \" \"+CivColor.YellowBold+cost+\" Coins\", CivColor.LightGrayItalic+\"Reduces Arrow Damage.\");\n\t\t\t\t\t\tis = LoreGuiItem.setAction(is, \"_1ConfirmLibraryEnchant\");\n\t\t\t\t\t\tis = LoreGuiItem.setActionData(is, \"enchantmentCategory\", \"armour\");\n\t\t\t\t\t\tis = LoreGuiItem.setActionData(is, \"enchantmentname\", le.displayName);\n\t\t\t\t\t\tis = LoreGuiItem.setActionData(is, \"enchantmentlevel\", \"\"+le.level);\n\t\t\t\t\t\tguiInventory.setItem(0, is);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tif (!library.getEnchants().contains(\"Blast Protection\")) {\n\t\t\t\t\t\tis = LoreGuiItem.build(\"Blast Protection \"+level, ItemManager.getId(Material.BEDROCK), 0, \" \"+CivColor.RoseBold+\"ENCHANTMENT LOCKED\", CivColor.LightGrayItalic+\"Reduces Explosion Damage.\");\n\t\t\t\t\t\tguiInventory.setItem(1, is);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tis = LoreGuiItem.build(le.displayName+\" \"+level, ItemManager.getId(Material.EXPLOSIVE_MINECART), 0, \" \"+CivColor.YellowBold+cost+\" Coins\", CivColor.LightGrayItalic+\"Reduces Explosion Damage.\");\n\t\t\t\t\t\tis = LoreGuiItem.setAction(is, \"_1ConfirmLibraryEnchant\");\n\t\t\t\t\t\tis = LoreGuiItem.setActionData(is, \"enchantmentCategory\", \"armour\");\n\t\t\t\t\t\tis = LoreGuiItem.setActionData(is, \"enchantmentname\", le.displayName);\n\t\t\t\t\t\tis = LoreGuiItem.setActionData(is, \"enchantmentlevel\", \"\"+le.level);\n\t\t\t\t\t\tguiInventory.setItem(1, is);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}*/\n\t\t\t\t\t\n\t\t\t\t\tif (library.getLevel() >= 1) {\n\t\t\t\t\t\tis = LoreGuiItem.build(\"Feather Falling \"+level, ItemManager.getId(Material.FEATHER), 0, \" \"+CivColor.YellowBold+cost+\" Coins\", CivColor.LightGrayItalic+\"Reduces Fall Damage.\");\n\t\t\t\t\t\tis = LoreGuiItem.setAction(is, \"_1ConfirmLibraryEnchant\");\n\t\t\t\t\t\tis = LoreGuiItem.setActionData(is, \"enchantmentCategory\", \"armour\");\n\t\t\t\t\t\tis = LoreGuiItem.setActionData(is, \"enchantmentname\", \"Feather Falling\");\n\t\t\t\t\t\tis = LoreGuiItem.setActionData(is, \"enchantmentlevel\", \"\"+le.level);\n\t\t\t\t\t\tguiInventory.setItem(4, is);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tis = LoreGuiItem.build(\"Feather Falling \"+level, ItemManager.getId(Material.BEDROCK), 0, \" \"+CivColor.RoseBold+\"ENCHANTMENT LOCKED\", CivColor.LightGrayItalic+\"Reduces Fall Damage.\");\n\t\t\t\t\t\tguiInventory.setItem(4, is);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tif (library.getLevel() >= 2) {\n\t\t\t\t\t\tis = LoreGuiItem.build(\"Efficiency \"+level, ItemManager.getId(Material.SUGAR), 0, \" \"+CivColor.YellowBold+cost+\" Coins\", CivColor.LightGrayItalic+\"Increase Mining Speed.\");\n\t\t\t\t\t\tis = LoreGuiItem.setAction(is, \"_1ConfirmLibraryEnchant\");\n\t\t\t\t\t\tis = LoreGuiItem.setActionData(is, \"enchantmentCategory\", \"tool\");\n\t\t\t\t\t\tis = LoreGuiItem.setActionData(is, \"enchantmentname\", \"Efficiency\");\n\t\t\t\t\t\tis = LoreGuiItem.setActionData(is, \"enchantmentlevel\", \"\"+le.level);\n\t\t\t\t\t\tguiInventory.setItem(9, is);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tis = LoreGuiItem.build(\"Efficiency \"+level, ItemManager.getId(Material.BEDROCK), 0, \" \"+CivColor.RoseBold+\"ENCHANTMENT LOCKED\", CivColor.LightGrayItalic+\"Increase Mining Speed.\");\n\t\t\t\t\t\tguiInventory.setItem(9, is);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tif (library.getLevel() >= 3) {\n\t\t\t\t\t\tis = LoreGuiItem.build(\"Fortune \"+level, ItemManager.getId(Material.APPLE), 0, \" \"+CivColor.YellowBold+cost+\" Coins\", CivColor.LightGrayItalic+\"Increase Ore Drop Chance.\");\n\t\t\t\t\t\tis = LoreGuiItem.setAction(is, \"_1ConfirmLibraryEnchant\");\n\t\t\t\t\t\tis = LoreGuiItem.setActionData(is, \"enchantmentCategory\", \"tool\");\n\t\t\t\t\t\tis = LoreGuiItem.setActionData(is, \"enchantmentname\", \"Fortune\");\n\t\t\t\t\t\tis = LoreGuiItem.setActionData(is, \"enchantmentlevel\", \"\"+le.level);\n\t\t\t\t\t\tguiInventory.setItem(11, is);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tis = LoreGuiItem.build(\"Fortune \"+level, ItemManager.getId(Material.BEDROCK), 0, \" \"+CivColor.RoseBold+\"ENCHANTMENT LOCKED\", CivColor.LightGrayItalic+\"Increase Ore Drop Chance.\");\n\t\t\t\t\t\tguiInventory.setItem(11, is);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\t/* Add back buttons. */\n\t\tItemStack backButton = LoreGuiItem.build(\"Back\", ItemManager.getId(Material.MAP), 0, \"Back to Topics\");\n\t\tbackButton = LoreGuiItem.setAction(backButton, \"OpenInventory\");\n\t\tbackButton = LoreGuiItem.setActionData(backButton, \"invType\", \"showGuiInv\");\n\t\tbackButton = LoreGuiItem.setActionData(backButton, \"invName\", _1BuildMenuList.guiInventory.getName());\n\t\tguiInventory.setItem((9*5)-1, backButton);\n\t\t\n\t\tLoreGuiItemListener.guiInventories.put(guiInventory.getName(), guiInventory);\n\t\tTaskMaster.syncTask(new OpenInventoryTask(player, guiInventory));\n\t}", "title": "" }, { "docid": "ec3e69e94b8b9949d80c415ba51a7d36", "score": "0.53535295", "text": "public void what() {\n\t\tShop shop = findShop();\n\n\t\tif (shop == null)\n\t\t\treturn;\n\n\t\tList<String> guiSetup = new ArrayList<>();\n\t\tguiSetup.add(\"141125333\");\n\t\tfor (int i = 1; i < Math.max((int) (Math.ceil(shop.getProduct().size() / 3.0)), (int) (Math.ceil(shop.getCost().size() / 3.0))) + 1; i++) {\n\t\t\tguiSetup.add(\"1 2 3\");\n\t\t}\n\n\t\tfor (int i = 0, col = 5; i < shop.getProduct().size(); i++) {\n\t\t\tint row = (i / 3) + 1;\n\t\t\tguiSetup.set(row, guiSetup.get(row).substring(0, col) + ((char) (i + 97)) + guiSetup.get(row).substring(col + 1));\n\t\t\tcol = col + 1 < 8 ? col + 1 : 5;\n\t\t}\n\n\t\tfor (int i = 0, col = 1; i < shop.getCost().size(); i++) {\n\t\t\tint row = (i / 3) + 1;\n\t\t\tguiSetup.set(row, guiSetup.get(row).substring(0, col) + ((char) (i + 65)) + guiSetup.get(row).substring(col + 1));\n\t\t\tcol = col + 1 < 4 ? col + 1 : 1;\n\t\t}\n\n\t\tguiSetup.forEach(item -> debugger.log(item, DebugLevels.INVENTORY_CLOSE_NPE));\n\n\t\tInventoryGui gui = new InventoryGui(plugin, colorize(shop.getShopType() == ShopType.ITRADE ?\n\t\t\t\tSetting.ITRADESHOP_OWNER.getString() :\n\t\t\t\tBukkit.getOfflinePlayer(shop.getOwner().getUUID()).getName() + \"'s\"),\n\t\t\t\tguiSetup.toArray(new String[0]));\n\n\t\tgui.setFiller(new ItemStack(Material.LIGHT_GRAY_STAINED_GLASS_PANE, 1));\n\t\tgui.addElement(new StaticGuiElement('1', new ItemStack(Material.LIME_STAINED_GLASS_PANE),\n\t\t\t\t\" \", \" \"));\n\t\tgui.addElement(new StaticGuiElement('2', new ItemStack(Material.BLACK_STAINED_GLASS_PANE),\n\t\t\t\t\" \", \" \"));\n\t\tgui.addElement(new StaticGuiElement('3', new ItemStack(Material.LIGHT_BLUE_STAINED_GLASS_PANE),\n\t\t\t\t\" \", \" \"));\n\t\tgui.addElement(new StaticGuiElement('4', new ItemStack(Material.GOLD_NUGGET),\n\t\t\t\t\"Cost\", \"This is the item\", \"that you give to\", \"make the trade.\"));\n\t\tgui.addElement(new StaticGuiElement('5', new ItemStack(Material.GRASS_BLOCK),\n\t\t\t\t\"Product\", \"This is the item\", \"that you receive\", \"from the trade.\"));\n\n\t\tfor (int i = 0; i < shop.getCost().size(); i++) {\n\t\t\tgui.addElement(new StaticGuiElement((char) (i + 65), shop.getCost().get(i).getItemStack())); // TODO: use GuiStateElement to allow removal of items from the shop\n\t\t}\n\n\t\tfor (int i = 0; i < shop.getProduct().size(); i++) {\n\t\t\tgui.addElement(new StaticGuiElement((char) (i + 97), shop.getProduct().get(i).getItemStack())); // TODO: use GuiStateElement to allow removal of items from the shop\n\t\t}\n\n\t\tgui.show(pSender);\n\t}", "title": "" } ]
dc5915a16734b27123f396825e2bc880
Gets the attribute value for CANCEL_DATE using the alias name CancelDate.
[ { "docid": "824fa819594eaa08c6d43b00eed8be00", "score": "0.769036", "text": "public Number getCancelDate() {\n return (Number) getAttributeInternal(CANCELDATE);\n }", "title": "" } ]
[ { "docid": "76ad5da58642c51751faa3892cb24ed4", "score": "0.6950834", "text": "public java.util.Calendar getCancel_date() {\n return cancel_date;\n }", "title": "" }, { "docid": "24dee986f539c7fddec60b16f4eef07b", "score": "0.64515454", "text": "public Date getDATE_CANCELLED() {\r\n return DATE_CANCELLED;\r\n }", "title": "" }, { "docid": "28e0dd0af4c0b7471e93a744216043bd", "score": "0.63134235", "text": "public Date getFECHA_CANCELACION() {\n return FECHA_CANCELACION;\n }", "title": "" }, { "docid": "755b04bf909844a4399b261c765716fb", "score": "0.62064856", "text": "public void setCancelDate(Number value) {\n setAttributeInternal(CANCELDATE, value);\n }", "title": "" }, { "docid": "42d4de2cfd0aa0b5184e96e7abc1604d", "score": "0.5926401", "text": "public void setCancel_date(java.util.Calendar cancel_date) {\n this.cancel_date = cancel_date;\n }", "title": "" }, { "docid": "7c9cb345ef65321d74e403dd12ad7651", "score": "0.5820205", "text": "public String getCANCELLED_BY() {\r\n return CANCELLED_BY;\r\n }", "title": "" }, { "docid": "405233fb48c517c9b7a8fcdca472302c", "score": "0.58025134", "text": "public void setDATE_CANCELLED(Date DATE_CANCELLED) {\r\n this.DATE_CANCELLED = DATE_CANCELLED;\r\n }", "title": "" }, { "docid": "1271288ad0369e621e7464b584a0ad86", "score": "0.55394775", "text": "public java.lang.String getCancel_reason() {\n return cancel_reason;\n }", "title": "" }, { "docid": "2cf031c211d89fab4a1067946f310b28", "score": "0.5458413", "text": "public String getCancellationUser() {\n return (String) getAttributeInternal(CANCELLATIONUSER);\n }", "title": "" }, { "docid": "5749a4eb67486fe55b2f83236af9449c", "score": "0.5417831", "text": "public Date getDATE_CANCELLED_INIT() {\r\n return DATE_CANCELLED_INIT;\r\n }", "title": "" }, { "docid": "eb5d6cc21ced5f43a9e43724759df8e7", "score": "0.5410248", "text": "public void setFECHA_CANCELACION(Date FECHA_CANCELACION) {\n this.FECHA_CANCELACION = FECHA_CANCELACION;\n }", "title": "" }, { "docid": "e65371741d85b2614e56dd7beed90346", "score": "0.53693193", "text": "@XHR\n public Object onCancelFromCancel()\n {\n CaptureResultCallback<Object> callback = new CaptureResultCallback<Object>();\n resources.triggerEvent(TawusEvents.CANCEL, null, callback);\n if(callback.getResult() != null)\n {\n return callback.getResult();\n }\n\n return returnValue(ActionType.CANCEL);\n }", "title": "" }, { "docid": "ecd683981bf8484d441cbc67f8d63506", "score": "0.5343043", "text": "public String getCanceltype() {\n return canceltype;\n }", "title": "" }, { "docid": "3a2aa64e067d9b65d86ddea33ed65bdc", "score": "0.51881105", "text": "public java.lang.String getCanceledByName() {\r\n return canceledByName;\r\n }", "title": "" }, { "docid": "08231b4a00454efb0f479fa03ac007ce", "score": "0.5149189", "text": "public Date getConfirm_in_date() {\n return confirm_in_date;\n }", "title": "" }, { "docid": "4e7fa3d4089c74c374b1aa99ed1eca2b", "score": "0.5000328", "text": "public java.lang.String getCanceledBy() {\r\n return canceledBy;\r\n }", "title": "" }, { "docid": "525352e7b6ff11edddfae9780bcc4579", "score": "0.49397993", "text": "public int getCancelBillResult() {\n return cancelBillResult;\n }", "title": "" }, { "docid": "b49179026646f4290d5fca03fbadfb4b", "score": "0.49248606", "text": "public static String getContractCommissionEndDateString(Record record){\r\n return record.getStringValue(CONTRACT_COMMISSION_EFFECTIVE_END_DATE);\r\n }", "title": "" }, { "docid": "1139652c4b6701eb6b69930b4ee47147", "score": "0.49184307", "text": "public String getCdReopenDate() {\r\n return cdReopenDate;\r\n }", "title": "" }, { "docid": "91cdb810a205c53165abed74fd680980", "score": "0.48911777", "text": "org.apache.xmlbeans.XmlString xgetArrivedondate();", "title": "" }, { "docid": "2936b2034ceff800a6072c1e2e270534", "score": "0.48691106", "text": "public String getDateAccepted() {\n\t\treturn dateAccepted;\n\t}", "title": "" }, { "docid": "28728dddfe342b0a25340c51ad25b4b5", "score": "0.48595393", "text": "public Date getDATE_REJECTED() {\r\n return DATE_REJECTED;\r\n }", "title": "" }, { "docid": "28728dddfe342b0a25340c51ad25b4b5", "score": "0.48595393", "text": "public Date getDATE_REJECTED() {\r\n return DATE_REJECTED;\r\n }", "title": "" }, { "docid": "28728dddfe342b0a25340c51ad25b4b5", "score": "0.48595393", "text": "public Date getDATE_REJECTED() {\r\n return DATE_REJECTED;\r\n }", "title": "" }, { "docid": "31b6f5e40f2d20a724d362876fc9559b", "score": "0.48514286", "text": "public Date getConsentWithdrawnDate(final SessionContext ctx)\n\t{\n\t\treturn (Date)getProperty( ctx, CONSENTWITHDRAWNDATE);\n\t}", "title": "" }, { "docid": "ac327a155786880dea3e4b275aa9a6bc", "score": "0.48307064", "text": "public Date getCdate() {\n return cdate;\n }", "title": "" }, { "docid": "72bdd2267db1ecffe035dd9c31f8da5b", "score": "0.48241168", "text": "public Date getApprovedDate() {\n return (Date)getAttributeInternal(APPROVEDDATE);\n }", "title": "" }, { "docid": "a2d33ae5642c22899650bfdb37f383c2", "score": "0.48221523", "text": "public java.lang.String getCancelURL() {\r\n return cancelURL;\r\n }", "title": "" }, { "docid": "9c6a015cdf81d7d95a06ffd89a023470", "score": "0.48173758", "text": "public JButton getButtonCancel() {\n return this.buttonCancel;\n }", "title": "" }, { "docid": "cc3d8295d75fe9446f2faca2f0144442", "score": "0.4810879", "text": "public void setCANCELLED_BY(String CANCELLED_BY) {\r\n this.CANCELLED_BY = CANCELLED_BY == null ? null : CANCELLED_BY.trim();\r\n }", "title": "" }, { "docid": "a22922f25931da56fcad004176f08bd7", "score": "0.47981748", "text": "public Date dameFechaContrato() {\r\n\t\t\r\n\t\treturn altaContrato;\r\n\t}", "title": "" }, { "docid": "79b942e4d426ea033665e2e80331cc43", "score": "0.4795471", "text": "public java.util.Calendar getCloseDate(){\r\n return localCloseDate;\r\n }", "title": "" }, { "docid": "716fa67ef169422bbf8d9f21786962bb", "score": "0.47743165", "text": "public Date getConsentWithdrawnDate()\n\t{\n\t\treturn getConsentWithdrawnDate( getSession().getSessionContext() );\n\t}", "title": "" }, { "docid": "6b5adb16820e458d79131bfdaae32f7d", "score": "0.4735633", "text": "@ApiModelProperty(required = true, value = \"contract date of the rate for item with the supplier.Date in epoc format. \")\n @NotNull\n\n\n public Long getRateContractDate() {\n return rateContractDate;\n }", "title": "" }, { "docid": "c4f09674c1a070fa004a485e54b5e30a", "score": "0.47288063", "text": "public Date getOcCReqDt() {\n return ocCReqDt;\n }", "title": "" }, { "docid": "954ae25def3494564a322801fdfd9528", "score": "0.47186592", "text": "public Date getCIF_STATUS_DATE() {\r\n return CIF_STATUS_DATE;\r\n }", "title": "" }, { "docid": "ff6aca9ff55eb78b4b91f05a346d2390", "score": "0.4710011", "text": "String getValueDate();", "title": "" }, { "docid": "862162ee01e042e575f5e47a6118a9bb", "score": "0.47032875", "text": "public String getIdEffectiveDt() {\n return id_effective_dt;\n }", "title": "" }, { "docid": "b86a60ecb02459d4cbd3827b56f4d961", "score": "0.4692175", "text": "public Date getDATE_DEACTIVATED() {\r\n return DATE_DEACTIVATED;\r\n }", "title": "" }, { "docid": "a53b236c15fea3069a79d93aa2d6a2bb", "score": "0.46862957", "text": "java.lang.String getArrivedondate();", "title": "" }, { "docid": "f65d5b8a3e6ded0e9e6b07f90a464d79", "score": "0.46852243", "text": "public Date getRejecteddate() {\n return rejecteddate;\n }", "title": "" }, { "docid": "9da079f2c659e68c09360f10eeed0c9f", "score": "0.46810216", "text": "public static Date getContractCommissionEndDate(Record record){\r\n return record.getDateValue(CONTRACT_COMMISSION_EFFECTIVE_END_DATE);\r\n }", "title": "" }, { "docid": "c302397d468515cd19e4b0fe49d055f9", "score": "0.46795085", "text": "public String getStatus() {\n String status=(String) getAttributeInternal(STATUS);\n \n if(status==null)\n {\n if(getCancellationUser()!=null && getCancelDate()!=null)\n {\n status=\"تسویه\";\n setStatus(status);\n }\n else {\n status=\"فعال\";\n setStatus(status);\n }\n }\n System.out.println(status);\n return status;\n }", "title": "" }, { "docid": "7f5a27dfb07ce9a83b1db184a94d4552", "score": "0.46773323", "text": "public void setDATE_CANCELLED_INIT(Date DATE_CANCELLED_INIT) {\r\n this.DATE_CANCELLED_INIT = DATE_CANCELLED_INIT;\r\n }", "title": "" }, { "docid": "6188622cdf60f6aacebb4b353a0e5ef5", "score": "0.4673104", "text": "public java.sql.Date getContractDate() {\n\treturn contractDate;\n}", "title": "" }, { "docid": "23c335cfcba864be31362a2f929a4aea", "score": "0.46693668", "text": "public String getCloseDate() {\r\n return closeDate;\r\n }", "title": "" }, { "docid": "c1e7e7cfe5ec6842c799cebcbeb3fd82", "score": "0.46689168", "text": "public String getIdEffectiveDt() {\n return id_effective_dt;\n }", "title": "" }, { "docid": "8de0dc0bc698fffaacf6b29fd57cbe95", "score": "0.4658726", "text": "public Date getEFFECTIVE_DATE() {\r\n return EFFECTIVE_DATE;\r\n }", "title": "" }, { "docid": "430036bd43fd5541ffde56c4e19ec7ea", "score": "0.46579027", "text": "public static String getContractEffectiveEndDateString(Record record){\r\n return record.getStringValue(CONTRACT_EFFECTIVE_END_DATE);\r\n }", "title": "" }, { "docid": "f0fdcdc5c371f4179640bd55325a97a7", "score": "0.4657186", "text": "public java.util.Calendar getIssue_close_date() {\n return issue_close_date;\n }", "title": "" }, { "docid": "bd83e681f397bff781a021a2abe4bab2", "score": "0.46562687", "text": "public java.util.Calendar getLastClicked()\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(LASTCLICKED$0, 0);\n if (target == null)\n {\n return null;\n }\n return target.getCalendarValue();\n }\n }", "title": "" }, { "docid": "951785ea99023ef7f269a7b13bc99bee", "score": "0.46552637", "text": "public Date getcDate() {\n return cDate;\n }", "title": "" }, { "docid": "1aba4d5cf7611cd5ccf762153f264e58", "score": "0.46532536", "text": "public static Date getContractCommissionStartDate(Record record){\r\n return record.getDateValue(CONTRACT_COMMISSION_EFFECTIVE_START_DATE);\r\n }", "title": "" }, { "docid": "398157d07b5b7cb752d44168c7e7b36e", "score": "0.4637292", "text": "public Date getClosingDate();", "title": "" }, { "docid": "ae2f24f83953d7bddeb4c43c8dd12afa", "score": "0.4634326", "text": "public Number getReceiptDate() {\n return (Number) getAttributeInternal(RECEIPTDATE);\n }", "title": "" }, { "docid": "135e4fddb994865a17ee94a2b312c838", "score": "0.4632373", "text": "public String getButApprove() {\n return (String) getAttributeInternal(BUTAPPROVE);\n }", "title": "" }, { "docid": "c4e45cd0a4e45e67d87b10de4da83863", "score": "0.46228868", "text": "public Date getAPPROVED_DATE()\r\n {\r\n\treturn APPROVED_DATE;\r\n }", "title": "" }, { "docid": "e7410f9ec16dae7bd122d9306a962f3b", "score": "0.46020368", "text": "public LocalDate bCv() {\n return this.dateTime.bCv();\n }", "title": "" }, { "docid": "f106fb2e71058a86dfb7dab573a28de5", "score": "0.4591525", "text": "public int getCharge_on_cancellation() {\n return charge_on_cancellation;\n }", "title": "" }, { "docid": "f128963485010e00bfaabe14888ecd25", "score": "0.45858416", "text": "public java.util.Calendar getActionDate() {\n return actionDate;\n }", "title": "" }, { "docid": "47c9f889e26a68cfa6f9685844bbe8f9", "score": "0.45839167", "text": "public String getEditorCancelCaption() {\n return getState(false).editorCancelCaption;\n }", "title": "" }, { "docid": "c1be38a81dd60182c191fe6646b64915", "score": "0.4576802", "text": "@gw.internal.gosu.parser.ExtendedProperty\n public entity.DateCriterionChoice getDateCriterionChoice() {\n return (entity.DateCriterionChoice)__getInternalInterface().getFieldValue(DATECRITERIONCHOICE_PROP.get());\n }", "title": "" }, { "docid": "f1c563d5d34c47c354f508ac7ccc2abe", "score": "0.45629373", "text": "public static String getPayCommissionEffectiveEndDateString(Record record){\r\n return record.getStringValue(PAY_COMMISSION_EFFECTIVE_END_DATE);\r\n }", "title": "" }, { "docid": "fbcfddb756602ed395732912b5d96fad", "score": "0.45486933", "text": "@gw.internal.gosu.parser.ExtendedProperty\n public entity.DateCriterionChoice getDateCriterionChoice() {\n return (entity.DateCriterionChoice)__getInternalInterface().getFieldValue(DATECRITERIONCHOICE_PROP.get());\n }", "title": "" }, { "docid": "d2e572e4b60e7a71013afaa63e667718", "score": "0.45483983", "text": "public Date getDATE_REQUESTED() {\r\n return DATE_REQUESTED;\r\n }", "title": "" }, { "docid": "5e5fab1ab35f821f06d0282e68c10719", "score": "0.4543522", "text": "public Date getDATE_APPROVED() {\r\n return DATE_APPROVED;\r\n }", "title": "" }, { "docid": "5e5fab1ab35f821f06d0282e68c10719", "score": "0.4543522", "text": "public Date getDATE_APPROVED() {\r\n return DATE_APPROVED;\r\n }", "title": "" }, { "docid": "5e5fab1ab35f821f06d0282e68c10719", "score": "0.4543522", "text": "public Date getDATE_APPROVED() {\r\n return DATE_APPROVED;\r\n }", "title": "" }, { "docid": "c4f5792e71d238bac6ad1dcb49a8d1d0", "score": "0.4541888", "text": "public String getSysDateRec() {\r\n return (String) getAttributeInternal(SYSDATEREC);\r\n }", "title": "" }, { "docid": "2632f34ebb1e4f439c3cc3a8d5b026b2", "score": "0.4537955", "text": "public String getCompletionDateOfStyle() {\n return completionDateOfStyle;\n }", "title": "" }, { "docid": "23118a819283d40dff06c7e4f540cd31", "score": "0.45233536", "text": "public void setCancel_reason(java.lang.String cancel_reason) {\n this.cancel_reason = cancel_reason;\n }", "title": "" }, { "docid": "b52fecec478e764d435edcc598bbc2ee", "score": "0.45156643", "text": "public DateTO getAdverseActionDate() {\n\t\treturn adverseActionDate;\n\t}", "title": "" }, { "docid": "04c17875f66c4663917dbf09d2bbd32f", "score": "0.45101622", "text": "IfcCalendarDate getDateComponent();", "title": "" }, { "docid": "e7ed25d46f8b5881dd429c467e6eb9b4", "score": "0.45080382", "text": "public Date getDATE_APPROVED1()\r\n {\r\n\treturn DATE_APPROVED1;\r\n }", "title": "" }, { "docid": "c49b6c27a589880769afd73eb5f72e09", "score": "0.45061293", "text": "public Date getDATE_APPLIED() {\r\n return DATE_APPLIED;\r\n }", "title": "" }, { "docid": "de7ff772ee7b8313fab20dad5ff08a29", "score": "0.45043194", "text": "public Date getDELIVERED_DATE() {\r\n return DELIVERED_DATE;\r\n }", "title": "" }, { "docid": "b0236db4ffbccc6c29abc524f0703a9a", "score": "0.45022848", "text": "public Date gettConfirm() {\n return tConfirm;\n }", "title": "" }, { "docid": "d277620d413156f879b03ece4c0a5b37", "score": "0.44996592", "text": "Date getDateValue();", "title": "" }, { "docid": "8772e3f0041c7a5508f09a4fb4ec4c0d", "score": "0.4498817", "text": "org.apache.xmlbeans.XmlDate xgetCheckin();", "title": "" }, { "docid": "d3e4867d05a657b6ac66703f3cad4074", "score": "0.44960588", "text": "public com.google.protobuf.ByteString getCancelInfo() {\n return cancelInfo_;\n }", "title": "" }, { "docid": "7f3f02d4e654c962389fb0c26909a87b", "score": "0.44956535", "text": "public Date getRespondedDate() {\r\n return (Date)getAttributeInternal(RESPONDEDDATE);\r\n }", "title": "" }, { "docid": "bdd3f8ce2827f2dca5dbf33687c76c23", "score": "0.4493639", "text": "public Date getOcRReqDt() {\n return ocRReqDt;\n }", "title": "" }, { "docid": "f3cd0a4171a2e31ceb3adca1c902b6af", "score": "0.44916412", "text": "public Date getRemovedDate() {\n return (Date)getAttributeInternal(REMOVEDDATE);\n }", "title": "" }, { "docid": "ce8620eca87af1f0834c4d4fc5c11110", "score": "0.44912428", "text": "void setCancelReason(String cancelReason);", "title": "" }, { "docid": "cf3ccd8b12abfb242328db061b415992", "score": "0.44874915", "text": "@Column(name = \"CD_CONTRATO\")\n\t@Override\n\tpublic String getCdContrato() {\n\t\treturn super.getCdContrato();\n\t}", "title": "" }, { "docid": "0282042b070c061ad421fdd4f1c95d13", "score": "0.4479443", "text": "public Date getDATE_REACTIVATED()\r\n {\r\n\treturn DATE_REACTIVATED;\r\n }", "title": "" }, { "docid": "7a835787df3a987600ef9e684b7c9db1", "score": "0.44722715", "text": "public String btncancelar_action() {\n return \"ccancelar\";\n }", "title": "" }, { "docid": "b968f03b640a39c15cfd4e7f8c132b4b", "score": "0.4470326", "text": "org.apache.xmlbeans.XmlString xgetDateOfClaim();", "title": "" }, { "docid": "c03bdc47df05e4c480d65cf7b157eebf", "score": "0.44639295", "text": "public java.lang.String getVaccinateDateDesc()\n {\n return this._vaccinateDateDesc;\n }", "title": "" }, { "docid": "77066331a84b5c419509791066e15a0f", "score": "0.4459522", "text": "public com.google.protobuf.ByteString getCancelInfo() {\n return cancelInfo_;\n }", "title": "" }, { "docid": "f77c1b7e853cd3b42ccb3e7effb7538b", "score": "0.44570667", "text": "public CancelCheckOutAction getCancelCheckOutAction()\n\t{\n\n\t\treturn this.cancelCheckOutAction;\n\t}", "title": "" }, { "docid": "81301c9777d58c7e0d67df63e578040f", "score": "0.44534913", "text": "public JButton getCancelButton()\n/* */ {\n/* 517 */ return this.cancelButton;\n/* */ }", "title": "" }, { "docid": "d22c8f6d9791bbb79c8fce4193c6ebd8", "score": "0.44515875", "text": "public javax.swing.JButton getBtnCancelar() {\n return btnCancelar;\n }", "title": "" }, { "docid": "f107f26bbed268c0a26decef75348b99", "score": "0.4440613", "text": "public java.lang.String getContractValidDate() {\r\n return contractValidDate;\r\n }", "title": "" }, { "docid": "3d2faa469e1c6d6a8dd8317df46bc01f", "score": "0.44401988", "text": "public java.lang.String getContractExpiredDate() {\r\n return contractExpiredDate;\r\n }", "title": "" }, { "docid": "da4c2a30c7a68df87a115fe05aec8e4e", "score": "0.44387832", "text": "public String getCANCELLED_INIT() {\r\n return CANCELLED_INIT;\r\n }", "title": "" }, { "docid": "9f448cd5d65875315c9b617f3f8e715b", "score": "0.44365996", "text": "public java.util.Date getDateOfAdoption () {\n\t\treturn dateOfAdoption;\n\t}", "title": "" }, { "docid": "d0694e3587ea4f398d1bea4d8e6cd462", "score": "0.44350982", "text": "public String getButReject() {\n return (String) getAttributeInternal(BUTREJECT);\n }", "title": "" }, { "docid": "ec946ea26ce8e9180d23762078391d51", "score": "0.44332033", "text": "public java.lang.String getBIndPersCancelHist()\r\n {\r\n return this._bIndPersCancelHist;\r\n }", "title": "" }, { "docid": "a1d5f3fcc9175cfa0f764606890172d7", "score": "0.44319075", "text": "public Date getDATE_ACTIVATED() {\r\n return DATE_ACTIVATED;\r\n }", "title": "" } ]
938abd1bccdfaab0c9a248d5eb979176
string az = 26;
[ { "docid": "b68c97ca2b1283d1d16644e67ac17763", "score": "0.0", "text": "public java.lang.String getAz() {\n java.lang.Object ref = az_;\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 az_ = s;\n return s;\n }\n }", "title": "" } ]
[ { "docid": "be3630fba2672201cd0e730bb2fbce5c", "score": "0.6532291", "text": "String mo34567h();", "title": "" }, { "docid": "82ad7b6a821e38a817e4daa2d6a73d31", "score": "0.64672077", "text": "String mo8097a(String str);", "title": "" }, { "docid": "1105a39c4650ba8a9930410dd58c1c3c", "score": "0.6255312", "text": "void mo38526a(String str);", "title": "" }, { "docid": "02f37b253cdb2ab01c10ddc9355baf32", "score": "0.6168186", "text": "String mo78902e();", "title": "" }, { "docid": "32478639118c311029cee01ee0f08c91", "score": "0.6156476", "text": "String mo40630a(String str);", "title": "" }, { "docid": "f5e201a7ba2999a4bda3d9f2df857923", "score": "0.61561155", "text": "int mo56108e(String str);", "title": "" }, { "docid": "1422e7396e6ce8147842064577093855", "score": "0.61468774", "text": "String getBasicAlphaCode();", "title": "" }, { "docid": "a9f620444ce8e02087f0f8d6108bfe1a", "score": "0.61301565", "text": "C4895h mo11440a(String str);", "title": "" }, { "docid": "4e20542b81dbc8ed8ef2178c9fe1c4b3", "score": "0.6086069", "text": "void mo3338a(String str);", "title": "" }, { "docid": "ccdfdfbb4537ebea03af5a878e9bd547", "score": "0.60566574", "text": "Alphabet(String chars) {\n _alphabet = chars;\n }", "title": "" }, { "docid": "148ef1e5b213d480eec99f04f1354f9e", "score": "0.6048749", "text": "int getUPPER();", "title": "" }, { "docid": "056cdd6c3ea1a648f30088f17a4421aa", "score": "0.6039153", "text": "Alphabet(String chars) {\n _chars = chars;\n }", "title": "" }, { "docid": "b3d71c76e4799f1bdf2a1be4814eec8f", "score": "0.6031683", "text": "String mo78898a();", "title": "" }, { "docid": "cc5425bcb990ac28db0bdfe0bf04eafb", "score": "0.60306555", "text": "private Alphabets() {}", "title": "" }, { "docid": "0c4aba0ea9a301323de9477f156fdede", "score": "0.60264826", "text": "char convertNumToLetterLocation(int n){\r\n\tchar l;\r\n\tn=n+65;\r\n\tl = (char)n;\r\n\treturn l;\r\n }", "title": "" }, { "docid": "302dcad1033a3804e65a2362cd5c23ad", "score": "0.6015967", "text": "String mo34566g();", "title": "" }, { "docid": "5772687dbc5cc7687359cf7ae2cdc161", "score": "0.60093516", "text": "String mo3925c();", "title": "" }, { "docid": "8dc8ac406f0a64700d3c01bad8419fa2", "score": "0.59911704", "text": "void mo2768a(zzjk zzjk, String str);", "title": "" }, { "docid": "ecf21a5e669bb4fa0bde5ab46740cf24", "score": "0.59886736", "text": "void mo10096a(String str, int i);", "title": "" }, { "docid": "094455d28a7d57391c269caec15d745e", "score": "0.5973714", "text": "public static void main(String[] args) {\n\n String kelime = \"Merhana Dunya\";\n\n char harf = kelime.charAt(3);\n System.out.println(\"3.harf = \"+harf); // 3-> h\n\n harf = kelime.charAt(0);\n System.out.println(\"0.harf = \" + harf); //0 ->m\n\n\n\n\n\n\n\n }", "title": "" }, { "docid": "9aba507cf79d27073908137010f22a21", "score": "0.5969126", "text": "String m11205a(String str);", "title": "" }, { "docid": "58dee96da5e668825dacabef6eb20e5a", "score": "0.5968113", "text": "String mo46855e();", "title": "" }, { "docid": "384cee2e38fd1e3adbc490771a766fbc", "score": "0.59497625", "text": "String mo60444a(String str);", "title": "" }, { "docid": "5c5def54f384e241509fa35f34faf986", "score": "0.5940262", "text": "void mo24182Pa(String str);", "title": "" }, { "docid": "7d28bfbad5a69fec1f2c4ef58d88a50c", "score": "0.5911952", "text": "void mo34560b(String str);", "title": "" }, { "docid": "7f8e4eeb2a25032b0cbe8d5be28fdadb", "score": "0.59067196", "text": "void mo56062a(String str);", "title": "" }, { "docid": "6570a98ddb48da6ebf45974f106e8a2b", "score": "0.5876659", "text": "C3667a mo27265a(String str);", "title": "" }, { "docid": "7efc7620a70522eb67458714089056b1", "score": "0.58640414", "text": "public char testMethod(char letter)\n {\n return letter;\n\n }", "title": "" }, { "docid": "e2a6b1fa166aad2b6818dbd207fd2f29", "score": "0.584744", "text": "String mo60448c(String str);", "title": "" }, { "docid": "3bc7f745393d6720f54b3163deb6362f", "score": "0.5825709", "text": "Letters (int number, String letter){\n\t\tthis.number = number;\n\t\tthis.letter = letter;\n\t}", "title": "" }, { "docid": "f86dd9363e93f1edee552c5e5ef08cbb", "score": "0.5824916", "text": "Alphabet() {\n this(\"ABCDEFGHIJKLMNOPQRSTUVWXYZ\");\n }", "title": "" }, { "docid": "f86dd9363e93f1edee552c5e5ef08cbb", "score": "0.5824916", "text": "Alphabet() {\n this(\"ABCDEFGHIJKLMNOPQRSTUVWXYZ\");\n }", "title": "" }, { "docid": "f86dd9363e93f1edee552c5e5ef08cbb", "score": "0.5824916", "text": "Alphabet() {\n this(\"ABCDEFGHIJKLMNOPQRSTUVWXYZ\");\n }", "title": "" }, { "docid": "e446a4f012f67628ccd49287789a11a0", "score": "0.5814199", "text": "CharSequence mo78906h();", "title": "" }, { "docid": "272aa21806ad6084b43829e761a157df", "score": "0.5806379", "text": "char letter() {\n return 0;\n }", "title": "" }, { "docid": "72fc401094ebb771f37467e7fb11bdc2", "score": "0.5795979", "text": "include <stdio.h>\n// Main function\nint main()\n{\n char str[100],st[100],c;\n int i,j,len;\n gets(str);\n len=strlen(str);\n for(i=0;i<26;i++)\n {\n st[i]=0;\n }\n for(i=0;i<len;i++)\n {\n if(str[i]>='a' && str[i]<='z')\n {\n j=str[i]-'a';\n \t st[j]++;\n }\n else if(str[i]>='A' && str[i]<='Z')\n {\n j=str[i]-'A';\n st[j]++;\n }\n }\n for(i=0;i<26;i++)\n {\n if(st[i]==0)\n printf(\"%c \",i+'a');\n }\n}", "title": "" }, { "docid": "cb5f279754f6c8e03a22f7dbb198b4ad", "score": "0.5783839", "text": "void mo56096c(String str);", "title": "" }, { "docid": "9e9da142a9ae10e8083927332c79f635", "score": "0.57777286", "text": "String mo34568i();", "title": "" }, { "docid": "8cb2310a0acd367daa9153a4040663af", "score": "0.57736856", "text": "String mo3924b();", "title": "" }, { "docid": "3923615f9053b8ef3cc438a596c03d4d", "score": "0.57613176", "text": "CharSequence mo78908i();", "title": "" }, { "docid": "58492c21878ff79055ecf8d0d7a3c65c", "score": "0.5761269", "text": "void mo7843c(String str);", "title": "" }, { "docid": "1231f1466631eab94509f6d5660da7cc", "score": "0.5757971", "text": "public static void main(String[] args)\n {\n int randomNumber = (int)(Math.random() * 27);\n\n // Declaring alphabet as string and assigning the value\n String alphabet = \"abcdefghijklmnopqrstuvwxyz\";\n\n // selecting the random number and display the upper case as output\n System.out.println(Character.toUpperCase(alphabet.charAt(randomNumber)));\n }", "title": "" }, { "docid": "bc6ab727ab4577cc0eaca22ed9d34d77", "score": "0.5754823", "text": "String mo78914o();", "title": "" }, { "docid": "aeec70e584eba76ca848bab1a2025a24", "score": "0.575292", "text": "void get_Letter(String getletters) {\n letters = getletters.toCharArray();\n }", "title": "" }, { "docid": "64df45588d697715cdc1947421765c65", "score": "0.57462835", "text": "C19290j mo105117a(String str);", "title": "" }, { "docid": "56b3106ad0d15b5681a3207e5d82dded", "score": "0.57443094", "text": "String mo60451e(String str);", "title": "" }, { "docid": "d07f5ef5582fb49957466ee3e8f93f68", "score": "0.57425827", "text": "void mo84892a(String str);", "title": "" }, { "docid": "b5e2b4998119c02c6e2bd97931883f66", "score": "0.57424295", "text": "public static void main(String [] agrs)\n {\n char character = 'a'; // This gives the character 'a'\n int ascii = (int) character;\n System.out.println(ascii);\n \n System.out.println(charToInt(\"a\"));\n \n System.out.println(intTochar(122));\n }", "title": "" }, { "docid": "d6c924c34d5e794f3964482e43b37da1", "score": "0.5727767", "text": "java.lang.String getAb();", "title": "" }, { "docid": "8354c3d846998233e85193d6154fbf36", "score": "0.5723568", "text": "public char getLetter(){\n return letter;\n }", "title": "" }, { "docid": "35c49abe9e611433645b32961a734d6c", "score": "0.5722663", "text": "void mo1969a(String str);", "title": "" }, { "docid": "9b50a748f2ab18df091fde264f2c47c7", "score": "0.5716499", "text": "public static String getRandomWord() {\r\n\tchar x = (char)((int)(Math.random()*26)+65);\r\n\tchar y = (char)((int)(Math.random()*26)+65);\r\n\tchar z = (char)((int)(Math.random()*26)+65);\r\n\tchar a = (char)((int)(Math.random()*26)+65);\r\n\tString s = \"\"+x+y+z+a;\r\n\treturn s;\r\n\t\r\n}", "title": "" }, { "docid": "1e4e54243aee965f7a02ac6d9ae4b260", "score": "0.5704544", "text": "void mo15409a(String str);", "title": "" }, { "docid": "b0520a498c1f5783891f26dee76adca7", "score": "0.5703109", "text": "void mo56049a(int i, String str);", "title": "" }, { "docid": "2836b133e43fcabffae95fabb4f63b57", "score": "0.5702575", "text": "int mo56101d(String str);", "title": "" }, { "docid": "3a8d86927f680eb588c46b2431f66f2c", "score": "0.56937563", "text": "java.lang.String getAy();", "title": "" }, { "docid": "cbfb36dd58952e7d45f76ca9c1b7dae4", "score": "0.5677928", "text": "String mo31339a(int i, String str) throws Exception;", "title": "" }, { "docid": "0ba5f417a1f0495eb2eeb232d035b4e1", "score": "0.5668283", "text": "public static void main(String ar[]){\n\tSystem.out.println(\"The encryption of Hey is :\"+getEncryptedString(\"HeZ\"));\r\n\tSystem.out.println(\"The encryption of Stupid is :\"+getEncryptedString(\"Stupid\"));\r\n\tSystem.out.println(\"The encryption of Lion is :\"+getEncryptedString(\"Lion\"));\r\n\r\n}", "title": "" }, { "docid": "c82766985d2b123993222e97a8797dbd", "score": "0.56669724", "text": "private static void fun(String str) {\n\t\tString ans=\"\";\n\t\tans+=str.charAt(0);\n\t\tfor(int i=1;i<str.length();i++){\n\t\t\tif(str.charAt(i)>=65 && str.charAt(i)<=90){\n\t\t\t\tSystem.out.println(ans);\n\t\t\t\tans=\"\";\n\t\t\t\tans+=str.charAt(i);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tans+=str.charAt(i);\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(ans);\n\t}", "title": "" }, { "docid": "afab1036b099a8bb2eba2c59c0ccb6a2", "score": "0.56621087", "text": "public char generateRandomChar()\n { \n return ALPHABET[random.nextInt(35)];\n }", "title": "" }, { "docid": "ae6f5a5e0ab05acc80a24e62f35b22be", "score": "0.5657655", "text": "void mo34562c(String str);", "title": "" }, { "docid": "5f74a4f88b97654cd7588f142a74935b", "score": "0.56549966", "text": "void mo34558a(String str);", "title": "" }, { "docid": "ef10501afff77dc62ee1e293ce503c65", "score": "0.5638441", "text": "public static void main(String args[]) {\n Scanner sc=new Scanner(System.in);\n String str;\n int key,i,len,val,q;\n char ch;\n str=sc.nextLine();\n key=sc.nextInt();\n StringBuilder str2=new StringBuilder(str);\n len=str2.length();\n for(i=0;i<len;i++)\n {\n if(str2.charAt(i)>='A' && str2.charAt(i)<='Z')\n {\n val=(int)str2.charAt(i)-'A';\n if(val-key>=0)\n {\n val=val-key;\n }\n else\n {\n q=key-(val+1);\n val=25-q;\n }\n ch=(char)('A'+val);\n str2.setCharAt(i,ch);\n }\n else if(str2.charAt(i)>='a' && str2.charAt(i)<='z')\n {\n val=(int)str2.charAt(i)-'a';\n if(val-key>=0)\n {\n val=val-key;\n }\n else\n {\n q=key-(val+1);\n val=25-q;\n }\n ch=(char)('a'+val);\n str2.setCharAt(i,ch);\n }\n }\n System.out.println(str2);\n }", "title": "" }, { "docid": "274de9b472bc57fcfab9be6796ee3aa1", "score": "0.5637255", "text": "public String getLetter(){\n\t\treturn letter;\n\t}", "title": "" }, { "docid": "92f68fab4c28f99f0ed175ad634fda82", "score": "0.5627684", "text": "String getChrom();", "title": "" }, { "docid": "68054299f0837c57aeaad4d8a1a4fe31", "score": "0.56057537", "text": "@Test\n public void testBadAlphabet() {\n Directives p = new Directives();\n p.setAlphabet(\"ABCDEFGHIJKLMNOPQRSTUVWXY\"); // no Z\n String encoded = rot13.encode(\"AOUYIEAOEY\", p);\n assertEquals(\"Alphabet too short\", \"\", encoded);\n p.setAlphabet(\"ABCDEFGHIJKLMNOPQRSTUVWXYZ1\"); // extra 1\n encoded = rot13.encode(\"AOUYIEAOEY\", p);\n assertEquals(\"Alphabet too long\", \"\", encoded);\n }", "title": "" }, { "docid": "1dfbda7ef17860e30f10f7d8c3097c29", "score": "0.55908144", "text": "void mo56118g(String str);", "title": "" }, { "docid": "4b4e225b33569af068ef2ae61bae13a6", "score": "0.5579355", "text": "public static void main(String[] argv){\n String a = \"aa\";\n System.out.printf(\"%d, %d\\n\", a.hashCode(), (int)a.toCharArray()[0]);\n }", "title": "" }, { "docid": "31ccaf682810a7a6f5214a6b000a8933", "score": "0.55739266", "text": "@Test\n public void letterCountTest5(){\n // setup\n char c = 'a';\n String s = \"aaaaaaaaaa\";\n // expected\n int expected = 10;\n // actual\n int actual = w.countLetterInString(c, s);\n // test\n assertEquals(expected, actual);\n }", "title": "" }, { "docid": "afefdf1d98602dc0ecf8a2534cd9f9d7", "score": "0.55692315", "text": "int mo56114f(String str);", "title": "" }, { "docid": "a12cb0de2ef9f3e2703db1a8516feb0a", "score": "0.55676633", "text": "public String lowercase(String a){\r\n\tString str=\"\";\r\n\tfor(int i=0;i<a.length();i++)\r\n\t{char na=a.charAt(i);\r\n\tna+=32;\r\n\tstr+=na;\r\n\t}\r\n\treturn str;\r\n}", "title": "" }, { "docid": "158f4dadf243dcaf582722e4210e15c2", "score": "0.55675215", "text": "char charAt(int i);", "title": "" }, { "docid": "0a023de5d45d0cde7cc6b85ac61f2fc4", "score": "0.5551087", "text": "void mo3768d(String str);", "title": "" }, { "docid": "e59b2fdfe6f99fce02c29e74450c291e", "score": "0.5549345", "text": "String mo78913n();", "title": "" }, { "docid": "a27eea1d0d2d928ce40da4b7a4de7832", "score": "0.5547364", "text": "int getUpper();", "title": "" }, { "docid": "e2d2fe64cdd37fa35ba4b0ca0a3be391", "score": "0.55334455", "text": "void mo7845d(String str);", "title": "" }, { "docid": "23e264a58e787ad5378aab994dea6c33", "score": "0.5531918", "text": "public char encrypt(char character);", "title": "" }, { "docid": "997222b3930612d5d0babcf57e59fad5", "score": "0.55231524", "text": "int lower();", "title": "" }, { "docid": "562ae861f26be93dd45be3cb836a883c", "score": "0.55155295", "text": "String mo115238u();", "title": "" }, { "docid": "ca01acddc006bea752862542995301a4", "score": "0.5512851", "text": "public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n String s = in.next();\n int k = in.nextInt();\n\n k = k % 26; // to account for chars that overflow\n // i.e. 'z' has relative pos of 25 (0-25)\n // so shifting 5 values = 25+5 but you need your value to be within < 26\n // 30 % 26 = 4 which is 'e'\n System.out.println(encrypt(s, n, k));\n in.close();\n }", "title": "" }, { "docid": "2b50d2532662e9739b34d97b023153d2", "score": "0.55025244", "text": "public static char get(String string) {\n\t\treturn 'b';\n\t}", "title": "" }, { "docid": "89cdbab07e0ef4165dc54718595e2cb5", "score": "0.5499123", "text": "void mo40422a(String str);", "title": "" }, { "docid": "e4c6d745f8ea1ea62fe49aa6fa241c53", "score": "0.5498931", "text": "String mo78899b();", "title": "" }, { "docid": "47f262624b68fd324702ca449197afee", "score": "0.5497277", "text": "public static char getRandomLowerCaseLetter(){\r\n return getRandomCharacter('a' , 'z');\r\n }", "title": "" }, { "docid": "d403d77d1881e702971c7551367f14b8", "score": "0.54951406", "text": "public String codifica(String palavra_Codificada, int k){ \n String auxiliar=\"\";\n int maior;\n String alfabeto = \"abcdefghijklmnopqrstuvwxyz\";\n \n for(int i=0; i < palavra_Codificada.length(); i++){\n \n if((palavra_Codificada.charAt(i) + k) > 'z'){ //z + 2 > z (ok)\n maior = palavra_Codificada.charAt(i) + k; // maior = z + 2 = 124\n auxiliar = auxiliar+(char)(alfabeto.charAt(0) + (maior -122 - 1)); //auxiliar = a + (124 - 122 - 1) = \n }\n else{\n //System.out.print(\"\\nNão Passou de Z\");\n auxiliar = auxiliar + (char)(palavra_Codificada.charAt(i) + k);\n }\n }\n System.out.print(\"\\nCodificada: \" + auxiliar);\n return auxiliar;\n }", "title": "" }, { "docid": "2ee0a86476342f1b7e65f5c9c12f3e5d", "score": "0.5493016", "text": "public static void main(String[] args) {\n public char charAt(int asciiCode){\n return (char) asciiCode;\n char upper = .charAt(065)\n }\n\n for (int i = 065; asciiCode)\n\n System.out.println(upper);\n\n }", "title": "" }, { "docid": "a4729f6489681fc8a5c4a76cc4dc4c54", "score": "0.54911536", "text": "private static char[] m4267z(String str) {\n char[] toCharArray = str.toCharArray();\n if (toCharArray.length < 2) {\n toCharArray[0] = (char) (toCharArray[0] ^ 35);\n }\n return toCharArray;\n }", "title": "" }, { "docid": "ceb7d0e1ace91ea5955d7508388bb221", "score": "0.5489922", "text": "void mo56087b(String str);", "title": "" }, { "docid": "76c36002c907bc1442e46068921ce354", "score": "0.5486526", "text": "void mo41829a(String str, int i);", "title": "" }, { "docid": "7bbf22cc2c1e837c3117083df444c195", "score": "0.54777706", "text": "public static String getRandomChar()\n\t {\n\t Random _random = new Random();\n\t int num = _random.nextInt(26); // Zero to 25\n\t char let = (char)('a' + num);\n\t return String.valueOf(let);\n\t }", "title": "" }, { "docid": "099146ac45bfbf388c39a5334567cb74", "score": "0.54743624", "text": "public String get_letter(){\n /*\n returns a string in the following format\n the header \"--- Legal ---\"\n the letter header\n the content\n */\n }", "title": "" }, { "docid": "884047ea3452fc4653127503280756f1", "score": "0.5473824", "text": "String mo31962nh();", "title": "" }, { "docid": "2c14974f3c2bd6210c978973640af4a5", "score": "0.5473473", "text": "String mo71970a();", "title": "" }, { "docid": "37bf5f746b04f974575c562218104f64", "score": "0.5469645", "text": "void Ques07()\n\t{\n\t\tScanner sc=new Scanner(System.in);\n \tSystem.out.print(\"Enter String: \");\n \n \tString s=sc.nextLine();\n \tchar arr[]=s.toCharArray();\n \n \tint x[]=new int[s.length()];\n \n \tfor(int i=0;i<s.length();i++)\n \t{\n \tx[i]=(int)s.charAt(i);\n \n \tif(x[i]>=65 && x[i]<=90)\n \t\tSystem.out.print((char)(32+arr[i]));\n \n \telse if(x[i]>=97 && x[i]<=122)\n \t\tSystem.out.print((char)(arr[i]-32));\n \n \telse\n \t\tSystem.out.print(arr[i]);\n \t}\n \tSystem.out.println();\n\t}", "title": "" }, { "docid": "bccb968ec913800c81f17132fbb7d12e", "score": "0.5461864", "text": "public static String newAlph(String ch){\n \n String new_alph= alph;\n \n if(alph.indexOf(ch) != -1){\n new_alph= alph.substring(alph.indexOf(ch))+ alph.substring(0,alph.indexOf(ch));\n }\n \n return new_alph;\n }", "title": "" }, { "docid": "dd91917121f98d9e27f2fa0365c1c5ad", "score": "0.54530793", "text": "void mo3778w(String str);", "title": "" }, { "docid": "6a9814bfa0a6086339d9211a6ef7e208", "score": "0.54485905", "text": "private char getLetter(int index) {\n switch (index) {\n case HEARTS_ID:\n return 'h';\n case CLUBS_ID:\n return 'c';\n case SPADES_ID:\n return 's';\n case DIAMONDS_ID:\n return 'd';\n default:\n Log.e(\"Mau\", \"The index provided was to large\");\n return 'F';\n }\n }", "title": "" }, { "docid": "519e9d4542ea47e1fb07c0d44374ad28", "score": "0.54483193", "text": "private static char[] m2917z(String str) {\n char[] toCharArray = str.toCharArray();\n if (toCharArray.length < 2) {\n toCharArray[0] = (char) (toCharArray[0] ^ 87);\n }\n return toCharArray;\n }", "title": "" }, { "docid": "73db9f207dfb0c21aa93d2951938b965", "score": "0.5445058", "text": "java.lang.String getAbn();", "title": "" }, { "docid": "99a4a8bb5d20f0b4fbddcaaf3d5fcc9c", "score": "0.5443063", "text": "public static String myToLowerCase(String str) {\n String store = \"\";\n char a = 0;\n for (int i = 0;i < str.length();i++){\n if ((str.charAt(i) >= 65) && (str.charAt(i) <= 90)) {\n a = str.charAt(i);\n a += 32;\n store = store + (char)a;\n }\n else {\n store = store + str.charAt(i);\n }\n }\n return store;\n }", "title": "" }, { "docid": "38262b4060e5df30750a95356db7185d", "score": "0.544089", "text": "public void mo1239e(int i, String str) {\n }", "title": "" } ]
339e45dd5799d6d5dc2dfe60be4d71ad
Add a FoxHttpPlaceholderEntry to the FoxHttpPlaceholderStrategy
[ { "docid": "b7bf50d03283302d50b5c86ea6526f45", "score": "0.83034915", "text": "public FoxHttpClientBuilder addFoxHttpPlaceholderEntry(String placeholder, String value) {\n foxHttpClient.getFoxHttpPlaceholderStrategy().addPlaceholder(placeholder, value);\n return this;\n }", "title": "" } ]
[ { "docid": "daeb13a073940d943d94e017b7ba52ee", "score": "0.7283262", "text": "public FoxHttpClientBuilder setFoxHttpPlaceholderStrategy(FoxHttpPlaceholderStrategy foxHttpPlaceholderStrategy) {\n foxHttpClient.setFoxHttpPlaceholderStrategy(foxHttpPlaceholderStrategy);\n return this;\n }", "title": "" }, { "docid": "625c2f85b787c78850092a6854f3e0c5", "score": "0.6003705", "text": "public static void registerServerPlaceholder(ServerPlaceholder placeholder) {\n\t\tPlaceholders.registerPlaceholder(placeholder, true);\n\t}", "title": "" }, { "docid": "0e481a71d8cb8da0129d3bb5eabce338", "score": "0.5506957", "text": "@Nonnull\r\n IMPLTYPE setPlaceholder (@Nullable String sPlaceholder);", "title": "" }, { "docid": "3fd7840d86a21e28000fa92086ef8ea0", "score": "0.5433025", "text": "public void setPlaceholder(String placeholder) {\n getState().placeholder = placeholder;\n }", "title": "" }, { "docid": "ee023cbe9abc7ca9b7e486f5138cf1a3", "score": "0.5373027", "text": "public static void registerPlayerPlaceholder(PlayerPlaceholder placeholder) {\n\t\tPlaceholders.registerPlaceholder(placeholder, true);\n\t}", "title": "" }, { "docid": "4721ec67c29a22d10297585fbab25caf", "score": "0.5163519", "text": "public void setPlaceHolderValue(String key, String value) {\n if (!placeHolders.containsKey(key)) {\n throw new IllegalArgumentException(\"Invalid placeholder key\");\n }\n if (value == null) {\n throw new IllegalArgumentException(\"Placeholder value must not be NULL\");\n }\n placeHolders.put(key, value);\n }", "title": "" }, { "docid": "a89800c9cda2af5bfe804baec536dc7f", "score": "0.4993631", "text": "public ItemBuilder addNamePlaceholder(String placeholder, String argument) {\n\t\tthis.namePlaceholders.put(placeholder, argument);\n\t\treturn this;\n\t}", "title": "" }, { "docid": "13909c55968f3384364eb961aa3a7545", "score": "0.4880606", "text": "@Override\n public void put(PlaceHolder placeHolder, String content) {\n DiagnosticPos position = placeHolder.getPosition(bLangPackageOfTestFile);\n Map<String, String> placeHolders = positions.get(position);\n placeHolders = (placeHolders == null) ? new HashMap<>() : placeHolders;\n placeHolders.put(placeHolder.getName(), content);\n positions.put(position, placeHolders);\n }", "title": "" }, { "docid": "c8551466a2f33a3bbcd3076433767a3f", "score": "0.4850884", "text": "public ItemBuilder addLorePlaceholder(String placeholder, String argument) {\n\t\tthis.lorePlaceholders.put(placeholder, argument);\n\t\treturn this;\n\t}", "title": "" }, { "docid": "f46f1a13d7477be0e23dd4eb5266c7e4", "score": "0.4818382", "text": "interface PlaceholderCompiler {\n @AutoValue\n abstract static class Placeholder {\n static Placeholder create(Expression soyValueProvider, boolean requiresDetachLogicToResolve) {\n soyValueProvider.checkAssignableTo(SOY_VALUE_PROVIDER_TYPE);\n return new AutoValue_MsgCompiler_PlaceholderCompiler_Placeholder(\n soyValueProvider, requiresDetachLogicToResolve);\n }\n\n abstract Expression soyValueProvider();\n\n abstract boolean requiresDetachLogicToResolve();\n }\n /**\n * Compiles the expression to a {@link SoyValueProvider} valued expression.\n *\n * <p>If the node requires detach logic, it should use the given label as the reattach point.\n */\n Placeholder compile(ExprRootNode node, ExpressionDetacher detacher);\n\n /**\n * Compiles the given node to a statement that writes the result into the given appendable.\n *\n * <p>The statement is guaranteed to be written to a location with a stack depth of zero.\n */\n Placeholder compile(\n String phname, StandaloneNode node, ExtraCodeCompiler prefix, ExtraCodeCompiler suffix);\n }", "title": "" }, { "docid": "14cc3ca7bc236c81cc47193bb5611065", "score": "0.47996014", "text": "public void add(String pattern, HttpHandler handler);", "title": "" }, { "docid": "8e9fcf64ad26219e167b8fdb24c91ca3", "score": "0.47772402", "text": "void setDefaultPlaceholder(Drawable placeholder) {\n this.defaultPlaceholder = placeholder;\n }", "title": "" }, { "docid": "a2a830501f209d72627f60b80a66d9d9", "score": "0.46669355", "text": "public synchronized void addEntry(String key, Entry entry) {\n\n assertAlreadyExists(key, ENTRY);\n \n if (entry.getType() == Entry.URL_SRC && entry.getValue() == null) {\n try {\n SynapseEnvironment synEnv = SynapseConfigUtils.getSynapseEnvironment(\n axisConfiguration);\n entry.setValue(SynapseConfigUtils.getOMElementFromURL(entry.getSrc()\n .toString(), synEnv != null ? synEnv.getServerContextInformation()\n .getServerConfigurationInformation().getSynapseHome() : \"\"));\n localRegistry.put(key, entry);\n for (SynapseObserver o : observers) {\n o.entryAdded(entry);\n }\n } catch (IOException e) {\n handleException(\"Can not read from source URL : \"\n + entry.getSrc());\n }\n } else {\n localRegistry.put(key, entry);\n for (SynapseObserver o : observers) {\n o.entryAdded(entry);\n }\n }\n }", "title": "" }, { "docid": "75d0e1cde05fa8c6ad511efa6406f2fa", "score": "0.46575463", "text": "public Builder setPlaceholder(int value) {\n bitField0_ |= 0x00000001;\n placeholder_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "75d0e1cde05fa8c6ad511efa6406f2fa", "score": "0.46575463", "text": "public Builder setPlaceholder(int value) {\n bitField0_ |= 0x00000001;\n placeholder_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "040dd57042c2cc675dca5723fad7c3ae", "score": "0.45983064", "text": "void setDefaultPlaceholder(int position, Drawable placeholder) {\n placeholders[position] = placeholder;\n }", "title": "" }, { "docid": "3717684675626a3d1ce4eb730b649b45", "score": "0.45928434", "text": "public static <T> T makePlaceholderValue(T t)\n {\n return t;\n }", "title": "" }, { "docid": "7a35cbc64c8367f4cc65aac482cc49a4", "score": "0.45776325", "text": "public void addHttpSeed(String url) {\n ti.add_url_seed(url);\n }", "title": "" }, { "docid": "88082adbe893b776c39a2cf706301e8f", "score": "0.45364878", "text": "@Override\n public void prepend(PlaceHolder placeHolder, String content) {\n merge(placeHolder, (oldContent) -> content + (oldContent == null ? \"\" : oldContent));\n }", "title": "" }, { "docid": "9fe570d9254c8844448ed2fb07367c43", "score": "0.45124242", "text": "public final void entryRulePlaceHolderStatement() throws RecognitionException {\n try {\n // InternalOptGrammar.g:1630:1: ( rulePlaceHolderStatement EOF )\n // InternalOptGrammar.g:1631:1: rulePlaceHolderStatement EOF\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getPlaceHolderStatementRule()); \n }\n pushFollow(FOLLOW_1);\n rulePlaceHolderStatement();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getPlaceHolderStatementRule()); \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": "cfc864fc82427af6d5307b5fbf0d7baf", "score": "0.44922164", "text": "protected abstract List<String> registerPlaceHolders();", "title": "" }, { "docid": "dc7477e732b98ec5dd94e1aa3bf12da5", "score": "0.44805625", "text": "@Override\n public void setTextPlaceholder(TextPlaceholder placeholder) {\n Placeholder ph = null;\n int runType;\n switch (placeholder) {\n default:\n case BODY:\n runType = TextHeaderAtom.BODY_TYPE;\n ph = Placeholder.BODY;\n break;\n case TITLE:\n runType = TextHeaderAtom.TITLE_TYPE;\n ph = Placeholder.TITLE;\n break;\n case CENTER_BODY:\n runType = TextHeaderAtom.CENTRE_BODY_TYPE;\n ph = Placeholder.BODY;\n break;\n case CENTER_TITLE:\n runType = TextHeaderAtom.CENTER_TITLE_TYPE;\n ph = Placeholder.TITLE;\n break;\n case HALF_BODY:\n runType = TextHeaderAtom.HALF_BODY_TYPE;\n ph = Placeholder.BODY;\n break;\n case QUARTER_BODY:\n runType = TextHeaderAtom.QUARTER_BODY_TYPE;\n ph = Placeholder.BODY;\n break;\n case NOTES:\n runType = TextHeaderAtom.NOTES_TYPE;\n break;\n case OTHER:\n runType = TextHeaderAtom.OTHER_TYPE;\n break;\n }\n setRunType(runType);\n if (ph != null) {\n setPlaceholder(ph);\n }\n }", "title": "" }, { "docid": "05b80058369c825953ce780a01ef8390", "score": "0.44747457", "text": "public IHttpParameter insertLocal ( IHttpParameter object );", "title": "" }, { "docid": "24492b5c565c229f1d2ac756da67c007", "score": "0.4446089", "text": "@Override\n public boolean isNeedsPlaceHolder() {\n return false;\n }", "title": "" }, { "docid": "d5d4c10cf9f8228f01193df5bdb70933", "score": "0.44421628", "text": "HttpParameters add(String key, String value);", "title": "" }, { "docid": "b4c4b1a7e63c7d3602c2220c163e61f0", "score": "0.44386494", "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": "5f3e76d10b6b1fde808e0d809db3115e", "score": "0.44020614", "text": "int getPlaceholder();", "title": "" }, { "docid": "5f3e76d10b6b1fde808e0d809db3115e", "score": "0.44020614", "text": "int getPlaceholder();", "title": "" }, { "docid": "a488c512a565606aa2b4af42b3736918", "score": "0.43833056", "text": "public ItemBuilder replace(String placeholder, String value) {\n ItemMeta im = is.getItemMeta();\n List<String> lore = im.getLore();\n im.setLore(lore.stream().map(line -> line = line.replace(placeholder,value)).collect(Collectors.toList()));\n is.setItemMeta(im);\n return this;\n }", "title": "" }, { "docid": "7bf9d93a2e49e8050a7493917c47fc88", "score": "0.43633902", "text": "abstract L placeholderListener ();", "title": "" }, { "docid": "43fcd2eea9859e8db27cfc795dcaedc2", "score": "0.435665", "text": "public void addDefinition(String input) {\n\t\tdefinition = definition + \"\\n\" + input;\n\t}", "title": "" }, { "docid": "1dcaffc57f8b30f16a6c2ebb3f3908ed", "score": "0.4350815", "text": "public FoxHttpClientBuilder(FoxHttpAuthorizationStrategy foxHttpAuthorizationStrategy) {\n foxHttpClient = new FoxHttpClient();\n foxHttpClient.setFoxHttpAuthorizationStrategy(foxHttpAuthorizationStrategy);\n }", "title": "" }, { "docid": "1c767576966189522861d0194c07b05b", "score": "0.4349968", "text": "@Override\n public void append(PlaceHolder placeHolder, String content) {\n merge(placeHolder, (oldContent) -> (oldContent == null ? \"\" : oldContent) + content);\n }", "title": "" }, { "docid": "67bd6af9091d84016bc1aba17795656b", "score": "0.43463045", "text": "public void addEndpoint(String key, Entry entry) {\n assertAlreadyExists(key, ENTRY);\n localRegistry.put(key, entry);\n }", "title": "" }, { "docid": "47f14b98e314b910129693c59fcf969a", "score": "0.43367752", "text": "public final void addValueToFeature(final B rc, final F f, final H holder,\n final Token value) {\n addToFeature(rc, f, holder, parseValue(f, value));\n }", "title": "" }, { "docid": "c325240c70df2fbd4904974d3948b091", "score": "0.43110105", "text": "public void putPlaceHolder(String id, String file, String ext){\n\t\tFile f = new File(path + \"tmp/\" + file);\n\t\tSystem.out.println(\"Putting placeholder over \"+ id +\" in file \" + file);\n\t\ttry {\n\t\t\tint i;\n\t\t\tString newLine;\n\t\t\tString s = \"\";\n\t\t\tString lines[];\n\t\t\tString words[] = null;\n\t\t\tBufferedReader in = new BufferedReader(new FileReader(f));\n\t\t\t\n\t\t\tnewLine = in.readLine();\n\t\t\twhile(newLine != null){\n\t\t\t\ts = s + \"\\n\" + newLine;\n\t\t\t\tnewLine = in.readLine();\n\t\t\t}\n\t\t\tin.close();\n\t\t\t\n\t\t\tlines = s.split(\"\\n\");\n\t\t\tfor (i=0; i< lines.length; i++){\n\t\t\t\tif(lines[i].contains(id)){\n\t\t\t\t\twords = ext.equals(\"net\") ? lines[i].split(\" \") : lines[++i].split(\"-\");\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tif (words == null){\n\t\t\t\tSystem.err.println(\"ID not found, couldn't put placehoder\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t\n\t\t\twords[1] = ext.equals(\"net\") ? \"@@CORES@@\" : \"@@CONCURRENCY@@}\";\n\t\t\t\n\t\t\tlines[i] = ext.equals(\"net\") ? String.join(\" \", words) : String.join(\"-\", words);\n\t\t\ts = String.join(\"\\n\", lines);\n\t\t\t\n\t\t\tBufferedWriter out = new BufferedWriter(new FileWriter(f));\n\t\t\tout.write(s);\n\t\t\t\n\t\t\tout.close();\n\t\t\t\n\t\t} catch (FileNotFoundException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\tSystem.err.println(\"File: \"+f.getAbsolutePath()+ \" not found!\");\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": "02e0ce838eac7e5a48e81d43f4227c2d", "score": "0.430574", "text": "public void addFactoryAsLast(ParameterBinderFactory factory) {\n orderedBinderFactories.add(factory);\n factoryCache.clear();\n }", "title": "" }, { "docid": "a30aeabef59737a7cd47342a3a147ac0", "score": "0.4298291", "text": "HttpResponse add(String url, HttpResponse response);", "title": "" }, { "docid": "6f36001f6445514ab6a400fa94299a16", "score": "0.42879757", "text": "public int getPlaceholder() {\n return placeholder_;\n }", "title": "" }, { "docid": "6f36001f6445514ab6a400fa94299a16", "score": "0.42879757", "text": "public int getPlaceholder() {\n return placeholder_;\n }", "title": "" }, { "docid": "b3c94dc73db1d89a6bdc1bc594ee9f4f", "score": "0.42558527", "text": "public void addFactoryAsFirst(ParameterBinderFactory factory) {\n orderedBinderFactories.add(0, factory);\n factoryCache.clear();\n }", "title": "" }, { "docid": "b9e9bfaf8fd0c8cb3f071a221a443382", "score": "0.424362", "text": "@OnStartup\n @SuppressWarnings(\"unused\")\n public void onStartup(final PlaceRequest placeRequest) {\n }", "title": "" }, { "docid": "b3d04fecee7e7c037898856406b5b552", "score": "0.42411458", "text": "public FoxHttpClientBuilder(FoxHttpHostTrustStrategy foxHttpHostTrustStrategy, FoxHttpSSLTrustStrategy foxHttpSSLTrustStrategy) {\n foxHttpClient = new FoxHttpClient();\n foxHttpClient.setFoxHttpHostTrustStrategy(foxHttpHostTrustStrategy);\n foxHttpClient.setFoxHttpSSLTrustStrategy(foxHttpSSLTrustStrategy);\n }", "title": "" }, { "docid": "0606537780de80cfb3a423e3d8deaa1d", "score": "0.42192647", "text": "public abstract void addToFeature(final B rc, final F f, final H holder,\n final Object v);", "title": "" }, { "docid": "bca6a5b7665aa784f2d431b1d9573e6a", "score": "0.42137396", "text": "public int getPlaceholder() {\n return placeholder_;\n }", "title": "" }, { "docid": "bca6a5b7665aa784f2d431b1d9573e6a", "score": "0.42137396", "text": "public int getPlaceholder() {\n return placeholder_;\n }", "title": "" }, { "docid": "fd40aa7cdc61f0a3d8f20e7dc79bdc45", "score": "0.41901326", "text": "private void setHttpCallback(final Handler handler) {\n mHttpServer.setCallbackForNewDownloadable(new HttpServer.ItemAdded() {\n @Override\n public void itemAdded(final String downloadable, final String address) {\n handler.post(new Runnable() {\n @Override\n public void run() {\n if (!downloadables.contains(downloadable)) {\n downloadables.add(downloadable);\n downloadablesHelper.put(downloadable, address);\n mAdapter.notifyItemInserted(downloadables.size() - 1);\n }\n }\n });\n }\n });\n }", "title": "" }, { "docid": "34566dff6b0ed32dfedec35a41cffb5e", "score": "0.4166621", "text": "public void addSetting(String name, String value) throws TemplateException {\n if (name.equals(INITPARAM_NOCACHE)) {\n nocache = StringUtil.getYesNo(value);\n } else if (name.equals(INITPARAM_DEBUG)) {\n debug = StringUtil.getYesNo(value);\n } else if (name.equals(INITPARAM_CONTENT_TYPE)) {\n contentType = value;\n } else {\n config.setSetting(name, value);\n }\n\n if (contentType != null && !contentTypeEvaluated) {\n int i = contentType.toLowerCase().indexOf(\"charset=\");\n contentTypeEvaluated = true;\n if (i != -1) {\n char c = ' ';\n i--;\n while (i >= 0) {\n c = contentType.charAt(i);\n if (!Character.isWhitespace(c)) break;\n i--;\n }\n if (i == -1 || c == ';') {\n noCharsetInContentType = false;\n }\n }\n }\n }", "title": "" }, { "docid": "f86f91a8912b10e41f78d3af31229ca8", "score": "0.4166296", "text": "static void addContentTypeIfAbsent(HttpRequest request, Supplier<CharSequence> contentType) {\n if (!CONTENT_TYPE_ABSENT.test(request)) {\n return;\n }\n\n final CharSequence contentTypeVal = contentType.get();\n if (LoggerUtils.logger().isDebugEnabled()) {\n LoggerUtils.logger().debug(\"content-type is absent, try to set default value: {}, uri: {}\",\n contentTypeVal, request.uri().toString());\n }\n request.headers().set(HttpHeaderNames.CONTENT_TYPE, contentTypeVal);\n }", "title": "" }, { "docid": "f674c70a643ce940ea29418e516c33ac", "score": "0.4163157", "text": "public IHttpParameter insertOrUpdateLocal ( IHttpParameter object );", "title": "" }, { "docid": "a11e662c75242f01b7ea3dd4df47d04a", "score": "0.41500762", "text": "@Override\r\n\tprotected void onPlaceRequest(PlaceRequest request) {\n\t\t\r\n\t}", "title": "" }, { "docid": "fad1f16e275bef65f3e02e19de292791", "score": "0.4140809", "text": "public void addEntry(T entry) {\n\t\tentries.add(entry);\n\t\taddEntryToSites(entry);\n\t}", "title": "" }, { "docid": "808f8668103532bbbce94e6c21ed407b", "score": "0.41386548", "text": "public void addFactory(final IInfoPackFactory factory)\n\t{\n\t\tif(factory!=null&&packFactories.contains(factory)==false)\n\t\t{\t\t\t\n\t\t\tLOGGER.log(Level.FINER, \"Adding factory: \" + factory);\n\t\t\tpackFactories.add(factory);\n\t\t}\n\t}", "title": "" }, { "docid": "9ef0d619a05ae6516ccf70d57f163c11", "score": "0.41342068", "text": "TFWrapper(final TaskFactory fact, final TaskManager taskManager, final TunableInterceptor ti) {\n\t\tthis.factory = fact;\n\t\tthis.taskManager = taskManager;\n\t\tthis.ti = ti;\n\t\tthis.name = fact.getClass().getSimpleName();\n\t}", "title": "" }, { "docid": "697258a9706f35b305bf043164dac373", "score": "0.41172594", "text": "public interface PlaceholderValueGenerator {\n /**\n * Returns the value corresponding to the supplied key\n * placeholder.\n *\n * @param key the key being substituted\n */\n public String generate(String key);\n }", "title": "" }, { "docid": "b4694916871ac8cc236e5cdda7ee43cc", "score": "0.41081488", "text": "@Inject\n\t/*public MyPlaceManager(EventBus eventBus, TokenFormatter tokenFormatter, MainPagePresenter.MyProxy defaultProxy) {\n\t\tsuper(eventBus, tokenFormatter);\n\t\tthis.defaultProxy = defaultProxy;\n\t}*/\n\n\t//@Override\n\tpublic void revealDefaultPlace() {\n\t\t//defaultProxy.reveal();\n\t}", "title": "" }, { "docid": "12a392e0ef284bc9cf1c51438cc2f36d", "score": "0.4105003", "text": "public EscapingClassMarker(ValueFactory valueFactory)\n {\n this(valueFactory,\n new ReferenceTracingValueFactory(valueFactory));\n }", "title": "" }, { "docid": "956801ec8425534ce3a5abe8b7af9d3c", "score": "0.40926743", "text": "public void addEntry() {\n\t\tentryMode = true;\n\t}", "title": "" }, { "docid": "3d15028784d97f28fe57ec272da8ac70", "score": "0.40574726", "text": "private void addIngressTiles()\n {\n TileProvider tiles = new UrlTileProvider(256, 256) {\n @Override\n public synchronized URL getTileUrl(int x, int y, int zoom) {\n final String apistyle = \"s.e%3Al%7Cp.v%3Aoff%2Cs.e%3Ag%7Cp.c%3A%23ff000000%2Cs.t%3A3%7Cs.e%3Ag%7Cp.c%3A%23ff5e9391\";\n final String style = \"59,37%7Csmartmaps\";\n\n final String format = \"http://mt1.googleapis.com/vt?lyrs=m&src=apiv3&hl=de-DE&x=%d&s=&y=%d&z=%d&s=Galileo\";\n String mapUrl = String.format(Locale.US, format, x, y, zoom);\n\n mapUrl += \"&apistyle=\" + apistyle + \"&style=\" + style;\n\n URL url = null;\n try {\n url = new URL(mapUrl);\n } catch (MalformedURLException e) {\n throw new AssertionError(e);\n }\n return url;\n }\n };\n\n TileOverlayOptions tileOverlay = new TileOverlayOptions();\n tileOverlay.tileProvider(tiles);\n\n mMap.addTileOverlay(new TileOverlayOptions().tileProvider(tiles));\n }", "title": "" }, { "docid": "df7dbe900566982658bfaf7aa2bcb6af", "score": "0.40502807", "text": "boolean hasPlaceholder();", "title": "" }, { "docid": "df7dbe900566982658bfaf7aa2bcb6af", "score": "0.40502807", "text": "boolean hasPlaceholder();", "title": "" }, { "docid": "7dc23eabe1c7709f05178b1adf866075", "score": "0.4048517", "text": "public boolean hasPlaceholder() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "7dc23eabe1c7709f05178b1adf866075", "score": "0.4048517", "text": "public boolean hasPlaceholder() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "7ffd764605aa0571cf2bf024dc0ec652", "score": "0.40449172", "text": "private void setPlaceholderDelayedAction(final String placeholder, final BindingAction action) {\n // Fake waiting as in a API request to show off placeholder when data is not ready\n new Handler(Looper.getMainLooper()).postDelayed(new Runnable() {\n @Override\n public void run() {\n for (BaseBrick brick : dataManager.getBricksByTag(placeholder)) {\n ViewModelBrick viewModelBrick = (ViewModelBrick) brick;\n action.perform(viewModelBrick);\n }\n }\n }, 2000);\n }", "title": "" }, { "docid": "98591acc10785f44ca43838f5dc33813", "score": "0.4039182", "text": "public boolean hasPlaceholder() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "98591acc10785f44ca43838f5dc33813", "score": "0.4039182", "text": "public boolean hasPlaceholder() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "a03ad4003b0be65996a09ba52c27a705", "score": "0.40155396", "text": "private void excutePut() {\n\t\t_instance.put(context, url, getHttpEntity(), CONTENT_TYPE,\n\t\t\t\tresponseHandlerInterface);\n\t}", "title": "" }, { "docid": "a569b75dda57dae995c202bfd83e9e74", "score": "0.40119258", "text": "public AddHostsTabItem(Facility facility){\n\t\tthis.facility = facility;\n\t\tthis.facilityId = facility.getId();\n\t}", "title": "" }, { "docid": "08d95ea10875e87bc2dce60644f6c276", "score": "0.40090227", "text": "public static void addParamPageFlow(String key, Object value) {\n AdfFacesContext.getCurrentInstance().getPageFlowScope().put(key, value);\n }", "title": "" }, { "docid": "4407f8e9d5a534cfac91df17a9766ef5", "score": "0.3998872", "text": "public PlaceholderFragment() {\r\n\t\t}", "title": "" }, { "docid": "3b0e5583b9db0b481a377fda5eecd6c1", "score": "0.39908814", "text": "public void addParameterBinder(ParameterBinder pb) {\n if (parameters == null) {\n parameters = new ArrayList<ParameterBinder>();\n }\n\n parameters.add(pb);\n }", "title": "" }, { "docid": "5abd2e6fddc203d00e26829eb043a2e1", "score": "0.3981319", "text": "HTTPEndPointInputConnector createHTTPEndPointInputConnector();", "title": "" }, { "docid": "a92b6bd0939df200e1ee0a8b1f1cff99", "score": "0.3972759", "text": "public ItemBuilder setNamePlaceholders(HashMap<String, String> placeholders) {\n\t\tthis.namePlaceholders = placeholders;\n\t\treturn this;\n\t}", "title": "" }, { "docid": "1662025ad8c0ff8d70da41997950fe66", "score": "0.3971675", "text": "private void inputRequest(Runnable request) {\n inputRequests.add(request);\n }", "title": "" }, { "docid": "f45ec3f3b859b2c86088f5ad9be50549", "score": "0.39648616", "text": "void AddEntry(T entryDetails) throws Exception;", "title": "" }, { "docid": "3ced44da8f578bb81db503d009993007", "score": "0.3960555", "text": "private void insertEntry(String entry) {\n exp.insert(cursor,entry);\n cursor += entry.length();\n updateExpField();\n }", "title": "" }, { "docid": "c42497a3a46c78a3806137fa6c1d6c92", "score": "0.3954415", "text": "public boolean addEnvironmentBinding(String name, SymbolTableEntry entry) {\n if (environment.locallyContains(name)) {\n showError(name + \" is already defined.\");\n return false;\n }\n environment.put(name, entry);\n return true;\n }", "title": "" }, { "docid": "59ea2eab48bb7751dc27b3051ad77772", "score": "0.394661", "text": "boolean canResolve(String placeholder);", "title": "" }, { "docid": "47582e144406c5f6ca459e6b88803463", "score": "0.3938996", "text": "private static HttpPost prepPost (String url, boolean hasEntry) {\r\n\t HttpPost post = new HttpPost(url);\r\n\t\t\t\t// add header\r\n\t\t\t\tpost.setHeader(\"Host\", \"172.18.13.106\"); \r\n\t\t\t\tpost.setHeader(\"Connection\", \"Keep-Alive\");\r\n\t\t\t\tpost.setHeader(\"Pragma\", \"no-cache\");\r\n\t\t\r\n\t\tif(hasEntry) {\r\n\t\t\tString entry=\" ....x..a``.r\tJMLqLNN-.....SK.S..R..R..3....b<.. .......\t.......%[email protected]^.. `...a..bF.&.d...Lp.#@...G^..\";\r\n\t\t\tSystem.out.println(\"The post has entry as:\"+entry);\t\r\n\t\t\t\tHttpEntity entity;\r\n\t\t\t\ttry {\r\n\t\t\t\t\tentity = new ByteArrayEntity(entry.getBytes(\"UTF-8\"));\r\n\t\t\t\t\tpost.setEntity(entity);\r\n\t\t\t\t} catch (UnsupportedEncodingException e) {\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t} \r\n\t \r\n\t\t return post;\r\n\t \r\n }", "title": "" }, { "docid": "c79511559034a7eea08a9f83559e424b", "score": "0.393014", "text": "@Override\n public void run() {\n getFragmentManager().beginTransaction().replace(R.id.container, new PlaceholderFragment()).commit();\n }", "title": "" }, { "docid": "5f1a8575eb4cbddb2534483bc9d56ffd", "score": "0.39187387", "text": "public void addEntry(String content) {\n Parser parser = new Parser();\n try {\n entries.add(parser.parseContent(content));\n } catch (IOException ex) {\n System.out.println(\"Adding entry failed\");\n }\n }", "title": "" }, { "docid": "312839ffed96cf68439e03a3e12fa182", "score": "0.3913372", "text": "private void loadSimpleVariable(Node node) {\n codeManager.insert(new BackfillInstruction(node.getSymbol(), Operation.PLACEHOLDER_LV));\n }", "title": "" }, { "docid": "3e97a98b6133b56ab8dfab53ed13b687", "score": "0.39043057", "text": "public void addCheckPoint(String title, Map<Integer, Character> binding) {\n\t\taddCheckPoint(new CheckPoint(binding, title));\n\t}", "title": "" }, { "docid": "caaa169ea5c379cc1fbfa4d74b9cf217", "score": "0.39023176", "text": "public void addHT (String ht){\n this.ht.add(ht);\n \n }", "title": "" }, { "docid": "a6d434bf35b3c372c08458d6c3894ade", "score": "0.39019233", "text": "private void putEntry(String name, String entry, String value) {\n try {\n // Get file\n Document doc = Framework.parse(main.myPath + name, \"index\");\n Node root = doc.getDocumentElement();\n\n Element nentry = findNodeWith(doc, entry);\n if (nentry == null) {\n // Add new element\n Element el = doc.createElement(\"entry\");\n el.setAttribute(\"name\", entry);\n el.setAttribute(\"value\", value);\n root.appendChild(el);\n }\n else {\n nentry.setAttribute(\"value\", value);\n }\n\n // Write back\n Framework.transform\n (doc, new StreamResult(new File(main.myPath + name)), null);\n }\n catch (Exception e) {\n\t // Debugging\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "64c7f80b2d944b5ed3b5fe3c935feb49", "score": "0.38984028", "text": "public String getPlaceholder() {\n return getState(false).placeholder;\n }", "title": "" }, { "docid": "3519ace46d1654d44e627f6a2ccc7552", "score": "0.38823912", "text": "public void insertInterceptor(Interceptor interceptor);", "title": "" }, { "docid": "b1cdf91479bac4368411aa51ea631288", "score": "0.38820577", "text": "public void add(VariableSymbol var, Term term) \n\tthrows BindingAlreadyEstablishedException\n {\n\tif (bindings == null) bindings = new HashMap (3);\n\tif (isBound(var)){\n\t throw new BindingAlreadyEstablishedException(var,this);\n\t}\n\t\n\t// System.out.println(\"Fuege \"+var.toString()+\"<-\"+term.toString()+\" hinzu.\");\n\t// Substitution in HashMap aufnehmen\n\taddOrReplace(var,term);\n }", "title": "" }, { "docid": "e3e3d740cb681f53ed1e5a943be75110", "score": "0.38814428", "text": "void addQuerystringParameter(String key, String value);", "title": "" }, { "docid": "e95455958c71d51b81bb659ccf0084e4", "score": "0.38800955", "text": "@Override\n public void addParameter(String name, String value) {\n throw new IllegalArgumentException(\"PUT requests don't have params\");\n }", "title": "" }, { "docid": "39aa705cb8cfeb372b241e1e35cd2a31", "score": "0.3877208", "text": "public MultistackEntry(ValueWrapper value, MultistackEntry next) {\n\t\t\tthis.value = value;\n\t\t\tthis.next = next;\n\t\t}", "title": "" }, { "docid": "cb4ea2a658883ff9649c1fe06d0aa872", "score": "0.38762867", "text": "public void addEntry(Entry entry) throws IOException;", "title": "" }, { "docid": "cd5dc08459a83ee145f26edd1f82a355", "score": "0.38714936", "text": "public void createPlaceRequest(Place request, StreamObserver<PlaceResponsePDB> response);", "title": "" }, { "docid": "c578880b1eaf2effc9926a80a4736988", "score": "0.3867595", "text": "public final void entryRuleFixed() throws RecognitionException {\n try {\n // InternalOptGrammar.g:2830:1: ( ruleFixed EOF )\n // InternalOptGrammar.g:2831:1: ruleFixed EOF\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getFixedRule()); \n }\n pushFollow(FOLLOW_1);\n ruleFixed();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getFixedRule()); \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": "c6307140fe1e6ab3ab6e44c8645960e7", "score": "0.38659844", "text": "<T> void putBinding(Key<T> bindingKey, Provider<T> provider) {\n\t\tbindings.put(bindingKey, new Binding<T>(provider, defaultScope));\n\t}", "title": "" }, { "docid": "dd1da657ce9cf6eeaa6c76466936505b", "score": "0.3864459", "text": "public static native JavaScriptObject registerEntry() /*-{\n if (@com.google.gwt.core.client.GWT::isScript()()) {\n // Assignment to $entry is done by the compiler\n return @Impl::entry(*);\n } else {\n // But we have to do in in Development Mode\n return $entry = @Impl::entry(*);\n }\n }-*/;", "title": "" }, { "docid": "2582845f762f6107f4144e9df8b38f67", "score": "0.3859323", "text": "public void addConcept(FasterLLConcept concept)\r\n/* 18: */ {\r\n/* 19:33 */ this.conceptMap.put(concept.getName(), concept);\r\n/* 20: */ }", "title": "" }, { "docid": "7833949bde3de31fdbd485d1c572a30e", "score": "0.38557506", "text": "AdapterResponse<Entry> putEntry(PutEntryRequest putEntryRequest);", "title": "" }, { "docid": "8e5c0ff81d9cf58b66711ff8c2d0245b", "score": "0.38553104", "text": "public void addOp(final HttpOperation op) {\n vconn.checkState();\n vconn.addOp(op);\n }", "title": "" }, { "docid": "79ec5ff39169094764f70029e18d4c34", "score": "0.3854253", "text": "public HttpGlobalConfig addCallAdapterFactory(@NonNull CallAdapter.Factory factory) {\n this.callAdapterFactories.add(factory);\n return this;\n }", "title": "" } ]
2b34c44ff64dd213c840d3741ec05893
Adds a DOM listener of the given type for the given component event and annotation.
[ { "docid": "727a23217dc90b1f55580c857ee91753", "score": "0.63776004", "text": "private <T extends ComponentEvent<?>> void addDomTrigger(Class<T> eventType,\n com.vaadin.flow.component.DomEvent annotation,\n ListenerWrapper<T> wrapper) {\n assert eventType != null;\n assert annotation != null;\n\n String domEventType = annotation.value();\n DisabledUpdateMode mode = annotation.allowUpdates();\n String filter = annotation.filter();\n DebounceSettings debounce = annotation.debounce();\n int debounceTimeout = debounce.timeout();\n\n if (domEventType == null || domEventType.isEmpty()) {\n throw new IllegalArgumentException(\n \"The DOM event type cannot be null or empty\");\n }\n\n Element element = component.getElement();\n\n // Register DOM event handler\n DomListenerRegistration registration = element.addEventListener(\n domEventType,\n event -> handleDomEvent(eventType, event, wrapper));\n\n wrapper.domRegistration = registration;\n\n registration.setDisabledUpdateMode(mode);\n\n LinkedHashMap<String, Class<?>> eventDataExpressions = ComponentEventBusUtil\n .getEventDataExpressions(eventType);\n\n eventDataExpressions.forEach((expression, type) -> {\n if (Component.class.isAssignableFrom(type)\n || type == Element.class) {\n registration.addEventDataElement(expression);\n } else {\n registration.addEventData(expression);\n }\n });\n\n if (!\"\".equals(filter)) {\n registration.setFilter(filter);\n }\n\n if (debounceTimeout != 0) {\n DebouncePhase[] phases = debounce.phases();\n if (phases.length == 0) {\n throw new IllegalStateException(\n \"There must be at least one debounce phase\");\n }\n\n DebouncePhase[] rest = new DebouncePhase[phases.length - 1];\n System.arraycopy(phases, 1, rest, 0, rest.length);\n\n registration.debounce(debounceTimeout, phases[0], rest);\n }\n }", "title": "" } ]
[ { "docid": "c3886c024a19a0db6479500d23aa6a79", "score": "0.66488683", "text": "<T extends Event> void addListener(Class<T> eventClass, EventListener<T> listener);", "title": "" }, { "docid": "1788837aca3b8c90128ce755ed6b46ca", "score": "0.585962", "text": "public void registerAnnotEventListener(AnnotEventListener listener) {\n mAnnotEventListenerList.add(listener);\n }", "title": "" }, { "docid": "3f87020962ebe3f1636ba9fae1394b36", "score": "0.5795908", "text": "public <T extends ComponentEvent<?>> Registration addListener(\n Class<T> eventType, ComponentEventListener<T> listener) {\n return addListenerInternal(eventType, listener, null);\n }", "title": "" }, { "docid": "54f1f06177e67d1d5be5a5716aa31e78", "score": "0.57444644", "text": "void addListener(Listener<T> listener);", "title": "" }, { "docid": "e9b2e3a2725c4b20dca8aab0f6d5ec9a", "score": "0.57292473", "text": "public void register(Class<? extends Event> clazz, ScriptListener listener) {\n\tJSContext ctx = listener.getContext();\n\n\tif ((listener instanceof ObjectListener) && !((ObjectListener) listener).listensTo(clazz)) {\n\t throw new IllegalArgumentException(\"missing handler method for event \" + clazz.getSimpleName());\n\t}\n\n\tMultimap<JSContext, ScriptListener> events = getReadAndWrite(clazz);\n\tif (events.isEmpty()) {\n\t registerInternalListener(clazz);\n\t}\n\n\teventsByContexts.put(ctx, clazz);\n\tevents.put(ctx, listener);\n }", "title": "" }, { "docid": "c286e7cc6df70afaa25ae5ad6d47c6bb", "score": "0.57183135", "text": "public static void addOOMEventListener(OOMEventListener lsnr) {\n _listeners.add(lsnr);\n }", "title": "" }, { "docid": "13d88ccad117c330287b13def2c8a028", "score": "0.5716653", "text": "void addListener(ITypeDescriptionListener listener);", "title": "" }, { "docid": "ad4f713c1172875471d08c046e0e272d", "score": "0.56133586", "text": "public synchronized void addAccessibilityEventListener(IModelEventListener listener, Object[] eventTypes, Object[] params) {\n\t\tint processId = windowService.getProcessId(windowService.getActiveWindow());\n\t\tint flag = params != null && params.length == 1 && params[0] instanceof Integer\n\t\t? ((Integer) params[0]).intValue() : DEFAULT_CONTEXT_FLAG;\n\tboolean inContext = (flag & WINEVENT_INCONTEXT) != 0;\n\t\t\n\t\tsetTimeDiff();\n\tif (!isMapFileOpen && inContext) {\n\t\t\tmapFilePtr = createFileMapping(\n\t\t\t\t\tPAGE_READWRITE, 0, DWMEM_FILESIZE, fileMappingObjName);\n\t\t\tif(mapFilePtr!=0){\n\t\t\t\tisMapFileOpen = true;\n\t\t\t\tinitThread();\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < eventTypes.length; ++i) {\n\t\t\tint eventId = ((Integer) eventTypes[i]).intValue();\n\t\t\tWinEventData weData = new WinEventData(eventId, processId, inContext);\n\t\t\tList<IModelEventListener> listeners = listenerMap.get(weData);\n\t\t\t\n\t\t\tif (listeners == null) {\n\t\t\t\tint hook = setWinEventHook(eventId, eventId, processId, 0, flag);\n\t\t\t\tif (hook != -1) {\n\t\t\t\t\tlisteners = new LinkedList<IModelEventListener>();\n\t\t\t\t\tweData.setEventHook(hook);\n\t\t\t\t\tlistenerMap.put(weData, listeners);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tlisteners.add(listener);\n\t\t\tif (inContext) {\n\t\t\t\t++inContextListenerCount;\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "c0835b5a0f50fb2d2283dd25df63df16", "score": "0.55942947", "text": "@ReactMethod\n public void addListener(String eventName) {\n }", "title": "" }, { "docid": "60ce46a888781d5e9d2ce8150f9a163b", "score": "0.5579441", "text": "public void addEvent(EventType eventType);", "title": "" }, { "docid": "a35597bd4bb03e150ac5c6b383ccf98f", "score": "0.55345803", "text": "private <T extends ComponentEvent<?>> void handleDomEvent(\n Class<T> eventType, DomEvent domEvent, ListenerWrapper<T> wrapper) {\n T event = createEventForDomEvent(eventType, domEvent, component);\n fireEventForListener(event, wrapper);\n }", "title": "" }, { "docid": "aa9ade2c1aced51aa3ed0867ab8986e7", "score": "0.55017143", "text": "public void subscribe(IEventListener eventListener, EventType ... types) {\n if(eventListener != null) {\n for (EventType type : types) {\n if(!eventListeners.containsKey(type)){\n eventListeners.put(type, new LinkedList<IEventListener>());\n }\n eventListeners.get(type).add(eventListener);\n }\n }\n }", "title": "" }, { "docid": "712215c77e4af5dd3a9ce1c5ec6f4c02", "score": "0.54272246", "text": "public final void registerListener(T listener) {\n listeners.add(listener);\n }", "title": "" }, { "docid": "e00205ad2385160de20e878754a8de71", "score": "0.54121876", "text": "public void addMyEventListener(NewGameListener listener) {\n listenerList.add(NewGameListener.class, listener);\n }", "title": "" }, { "docid": "91877499e80b15086aaf8d42d097face", "score": "0.54067755", "text": "public void registerOnEventListener(OnEventListener listener) {\n this.listener = listener;\n }", "title": "" }, { "docid": "23c89bc4aeb5efee2d09d02b8aef167d", "score": "0.53612494", "text": "public JsEventListenerBodyBuilder attachListenerForEvent(String event) {\n return new JsEventListenerBodyBuilder(event, this);\n }", "title": "" }, { "docid": "431c816bf76fb62b4d07e4831ee0096e", "score": "0.5337742", "text": "public void addListener(\n EventListener listener );", "title": "" }, { "docid": "ad3bfbe8ecda4b5363228fd026876d48", "score": "0.5336225", "text": "public void addEventListener(EventListener uiEventListener) {\n eventListeners.add(uiEventListener);\n }", "title": "" }, { "docid": "89e817abc7a5413d03458b12d3d02d2c", "score": "0.5333379", "text": "public void addListener(InteractableListenerSlim listener) {\r\n listeners.add(listener);\r\n }", "title": "" }, { "docid": "97d7091b8acea6654249bcc9d0270e3a", "score": "0.5326339", "text": "public synchronized void add(Class t, EventListener l) {\n\tif (!t.isInstance(l)) {\n\t throw new IllegalArgumentException(\"Listener \" + l +\n\t\t\t\t\t \" is not of type \" + t);\n\t}\n\tif (l ==null) {\n\t throw new IllegalArgumentException(\"Listener \" + l +\n\t\t\t\t\t \" is null\");\n\t}\n\tif (listenerList == NULL_ARRAY) {\n\t // if this is the first listener added, \n\t // initialize the lists\n\t listenerList = new Object[] { t, l };\n\t} else {\n\t // Otherwise copy the array and add the new listener\n\t int i = listenerList.length;\n\t Object[] tmp = new Object[i+2];\n\t System.arraycopy(listenerList, 0, tmp, 0, i);\n\n\t tmp[i] = t;\n\t tmp[i+1] = l;\n\n\t listenerList = tmp;\n\t}\n }", "title": "" }, { "docid": "399e4c02e167fc3ab7edb00d0d2c49d3", "score": "0.5306187", "text": "public synchronized void on(String event, DataListener listener) {\n\t\tList<DataListener> list = listeners.get(event);\n\t\tif (list == null)\n\t\t\tlist = new ArrayList<DataListener>();\n\t\tlist.add(listener);\n\t\tlisteners.put(event, list);\n\t}", "title": "" }, { "docid": "5327d4969dc8c19f91660a565160ccda", "score": "0.5286045", "text": "public void addListener(String event, Listener listener)\r\n\t\t{\r\n\t\t\tif (this.containsKey(event)) \r\n\t\t\t{\r\n\t\t\t\t((ListenerTable) this.get(event)).addListener(listener);\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tListenerTable observerTable = new ListenerTable();\r\n\t\t\t\tobserverTable.addListener(listener);\r\n\t\t\t\tthis.put(event, observerTable);\r\n\t\t\t}\r\n\t\t}", "title": "" }, { "docid": "17a10012bae6d4623fd67fa08aa3d2ed", "score": "0.5275911", "text": "public void addAuswahlListener(AuswahlListener l);", "title": "" }, { "docid": "d52ec21f9ffe5dc882235dc209036627", "score": "0.5269027", "text": "public void addEvent(EventType eventType, int v);", "title": "" }, { "docid": "0df40e2cb382a8ac2984b5e36ad3238f", "score": "0.52452356", "text": "public void setListener(EventListener listener);", "title": "" }, { "docid": "6c3e75e41e6066d3a3c9819cc24e0cf5", "score": "0.5243549", "text": "public static void registerChangeListener(String repository, String observationPath, EventListener listener) {\r\n log.debug(\"Registering event listener for path [{}]\", observationPath); //$NON-NLS-1$ \r\n \r\n try {\r\n \r\n ObservationManager observationManager = ContentRepository\r\n .getHierarchyManager(repository)\r\n .getWorkspace()\r\n .getObservationManager();\r\n \r\n observationManager.addEventListener(listener, Event.NODE_ADDED\r\n | Event.NODE_REMOVED\r\n | Event.PROPERTY_ADDED\r\n | Event.PROPERTY_CHANGED\r\n | Event.PROPERTY_REMOVED, observationPath, true, null, null, false);\r\n }\r\n catch (RepositoryException e) {\r\n log.error(\"Unable to add event listeners for \" + observationPath, e); //$NON-NLS-1$\r\n }\r\n }", "title": "" }, { "docid": "95ea5125bedd99d4eed7b0e41fb093ba", "score": "0.5236274", "text": "public void addEvent(EventType eventType, String v);", "title": "" }, { "docid": "7982866ae666bdd0a15864bae4564e2c", "score": "0.5231732", "text": "public void addListener(ITextEditor part, ISelectionListenerWithAST listener) {\n synchronized (this) {\n PartListenerGroup partListener = fListenerGroups.get(part);\n if (partListener == null) {\n partListener = new PartListenerGroup(part);\n fListenerGroups.put(part, partListener);\n }\n partListener.install(listener);\n }\n }", "title": "" }, { "docid": "3c8d35f97ac1985d50ca99e2b813e749", "score": "0.5171796", "text": "public void addListener(Class clazz, EventListener l)\n {\n // Verify listener.\n if (l == null)\n {\n throw new IllegalArgumentException(\"Listener is null\");\n }\n else if (!clazz.isInstance(l))\n {\n throw new IllegalArgumentException(\n \"Listener not of type \" + clazz.getName());\n }\n\n // Lock the object.\n synchronized (this)\n {\n // If we have no listeners, then just add the new listener.\n if (m_listeners == m_emptyList)\n {\n m_listeners = new Object[] { clazz, l };\n }\n // Otherwise, we need to do some array copying.\n // Notice, the old array is always valid, so if\n // the dispatch thread is in the middle of a dispatch,\n // then it has a reference to the old listener array\n // and is not affected by the new value.\n else\n {\n Object[] newList = new Object[m_listeners.length + 2];\n System.arraycopy(m_listeners, 0, newList, 0, m_listeners.length);\n newList[m_listeners.length] = clazz;\n newList[m_listeners.length + 1] = l;\n m_listeners = newList;\n }\n }\n }", "title": "" }, { "docid": "c587ad47c58e104cfd2bc65bcce89dc7", "score": "0.51586497", "text": "void listenerAdded(TCListener listener) {\n }", "title": "" }, { "docid": "6fcf38dc047c9638e20f9686eb6efd72", "score": "0.5149336", "text": "private void notifyListener(int eventType, OleEvent event) {\n if (event == null)\n OLE.error(SWT.ERROR_NULL_ARGUMENT);\n if (eventTable == null)\n return;\n event.type = eventType;\n event.widget = controlSite;\n eventTable.sendEvent(event);\n }", "title": "" }, { "docid": "87fbdbd72a298838eba3d8f14e7d858e", "score": "0.5145485", "text": "public void addListener(WindowEventHandler listener) {\n mListeners.add(listener);\n }", "title": "" }, { "docid": "7b6c50fb6c0cd433548ceb897395a390", "score": "0.5141955", "text": "public void registerEventListener(EventListener eventListener) {\n synchronized (eventListeners) {\n eventListeners.add(eventListener);\n }\n }", "title": "" }, { "docid": "61ca9552e311dc674a7cb1fbc4bee016", "score": "0.51408744", "text": "public void addListener(String anAddress, OSCListener listener) {\n\t\tdispatcher.addListener(anAddress, listener);\n\t}", "title": "" }, { "docid": "df7e4e0ba68641df26753674cf28075d", "score": "0.51246965", "text": "public synchronized <T> void addListener(Class<T> aClass, T aListener)\n{\n // Sanity check\n if(!aClass.isInstance(aListener))\n throw new IllegalArgumentException(\"Listener \" + aListener + \" is not of type \" + aClass);\n\n // if this is the first listener added, initialize the lists\n if(_listeners==NULL_ARRAY) _listeners = new Object[] { aClass, aListener };\n \n // Otherwise copy the array and add the new listener\n else {\n int i = _listeners.length;\n Object[] tmp = new Object[i+2];\n System.arraycopy(_listeners, 0, tmp, 0, i);\n tmp[i] = aClass; tmp[i+1] = aListener;\n _listeners = tmp;\n }\n}", "title": "" }, { "docid": "017f50a1f461402e4b4b20f90712c0bb", "score": "0.51218814", "text": "void addListener(RegistersListener listener);", "title": "" }, { "docid": "3c6fc2558d1ea715add34d0d41d7dee8", "score": "0.5110221", "text": "@Override\n public void addEventListener(IceEventListener listener) {\n iceEventListeners.add(listener);\n }", "title": "" }, { "docid": "2a7923a91da05d8b023885fd2a115b32", "score": "0.50825334", "text": "void addListener(@NotNull Listener listener, @NotNull Disposable disposable);", "title": "" }, { "docid": "c919d561a1548b436149c175bdad91f4", "score": "0.50608295", "text": "public void register(Class<? extends Event> clazz, JSContext context, ScriptObjectMirror mirror) {\n\tregister(clazz, makeListener(context, mirror));\n }", "title": "" }, { "docid": "f8fadc659d751cdb7e3ae094a9871b69", "score": "0.50576675", "text": "public void addGraphicalObjectListener(GraphicalObjectListener l);", "title": "" }, { "docid": "1af1eed918926ba5edad9509fcad7037", "score": "0.50503206", "text": "public static final void registerEvents(Listener listener, Plugin plugin) {\n\t\tMain.server.getPluginManager().registerEvents(listener, plugin);\n\t}", "title": "" }, { "docid": "7de9014753b03307d8b33f599ce1f984", "score": "0.5043431", "text": "public void addListener(LogXEventListener listener)\n\t{\n\t\tlisteners.add(listener);\n\t}", "title": "" }, { "docid": "b943e4552cedad0ec4b1455988ec3720", "score": "0.5024629", "text": "public void addListener(InputListener listener)\n\t{\n\t\tlisteners.add(listener);\n\t}", "title": "" }, { "docid": "761a8678e3f42b3f032ba6e1d3873c3d", "score": "0.5009416", "text": "@EventName(\"entryAdded\")\n EventListener onEntryAdded(EventHandler<EntryAdded> eventListener);", "title": "" }, { "docid": "ec3a7c8af10050d9c1de670f1b26d379", "score": "0.5000365", "text": "public void add(InputChangedListener listener)\r\n {\r\n \r\n }", "title": "" }, { "docid": "ec3a7c8af10050d9c1de670f1b26d379", "score": "0.5000365", "text": "public void add(InputChangedListener listener)\r\n {\r\n \r\n }", "title": "" }, { "docid": "d1181bf63037a220a6beb8189da7480e", "score": "0.49969667", "text": "public void addEvent(EventType eventType, long v);", "title": "" }, { "docid": "de1791263d84d35135dfb96461ba2c5a", "score": "0.49829775", "text": "public static void addListener(CertificateEventListener listener) {\n if (listener == null) {\n throw new NullPointerException();\n }\n listeners.add( listener );\n }", "title": "" }, { "docid": "d3bcd93c3ab33eab8b0aa765578fc81d", "score": "0.49670243", "text": "public void addListener(Listener l){\n\t\tif (!getListeners().contains(l)){\n\t\t\tgetListeners().add(l);\n\t\t}\n\t\tfor (Claim claim:claimList){\n\t\t\tclaim.addListener(l);\n\t\t}\n\t\tfor (Tag tag:tagList){\n\t\t\ttag.addListener(l);\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "07efa94b2d499b28951290ac23461260", "score": "0.49575996", "text": "void setLocationEventListener(LocationEventsListener listener) {\n\n this.iLocationEventListener.add(listener);\n Log.i(\"Event Handler\", \"Listeners Registered: \" + this.iLocationEventListener);\n\n }", "title": "" }, { "docid": "e9a5e89b386647b4c88d7f77e2bd8666", "score": "0.49547517", "text": "void addDispatchListener(GralGraphicTimeOrder listener);", "title": "" }, { "docid": "67072a0b4b824ff90d1c0b267409ee3a", "score": "0.49469954", "text": "public synchronized void registerListener(NotificationListener listener, OsNotificationObjectType objectType) {\n this.listenersMap.put(objectType, listener);\n }", "title": "" }, { "docid": "ac5017b6bfc9a056431c518da23ee475", "score": "0.49448362", "text": "public synchronized void addListener(GameEventListener l)\n {\n listeners.add(l);\n }", "title": "" }, { "docid": "a0b8124307d3fa87e2a72fca0a519098", "score": "0.4942246", "text": "public static void addListener(DataChangeListener listener){\n listeners.add(listener);\n }", "title": "" }, { "docid": "13a2a4afb5ddae30ad50029fdc077bfb", "score": "0.49364424", "text": "void addListener(DeviceListener listener);", "title": "" }, { "docid": "7e8e6d5ba41e3a15d54a4a1703a84a75", "score": "0.49233437", "text": "void addDataListener(DataListener listener);", "title": "" }, { "docid": "ac05da34f01c3090b68865117f0bb0c6", "score": "0.4920601", "text": "public void addMessageListener(String type, ReceiverMessageListener listener) {\n listenerHashMap.putIfAbsent(type, new ArrayList<>());\n if (!listenerHashMap.get(type).contains(listener))\n listenerHashMap.get(type).add(listener);\n }", "title": "" }, { "docid": "f364cc028bc7a9613018b745feb5bc72", "score": "0.49179226", "text": "public void addListener(EventListener listener, EventFilter filter) {\n listeners.add(new FilteredListener(filter, listener));\n }", "title": "" }, { "docid": "318dab97b14e813a5d2b4a386be0f370", "score": "0.4916957", "text": "@Override\n\tpublic void addListener() {\n\t\t\n\t}", "title": "" }, { "docid": "ef69dabd6abe40db812067716db36cd9", "score": "0.49156198", "text": "public interface ClickListener {\n\n}", "title": "" }, { "docid": "b397449a957dcaf474c5dcd780dda0fb", "score": "0.49100864", "text": "public void addListener(final Listener listener) {\r\n listeners.add(listener);\r\n }", "title": "" }, { "docid": "218d9004f860ea5a84af707085edf3da", "score": "0.49045345", "text": "void addLogListener(ILogListener listener);", "title": "" }, { "docid": "e1f802e215b5d26a78dae87f473b3513", "score": "0.48910818", "text": "public void addServiceListener(String type, ServiceListener listener)\n {\n String lotype = type.toLowerCase();\n removeServiceListener(lotype, listener);\n List list = null;\n synchronized (this)\n {\n list = (List) serviceListeners.get(lotype);\n if (list == null)\n {\n list = Collections.synchronizedList(new LinkedList());\n serviceListeners.put(lotype, list);\n }\n list.add(listener);\n }\n\n // report cached service types\n synchronized (cache) {\n for (Iterator i = cache.iterator(); i.hasNext();)\n {\n for (DNSCache.CacheNode n = (DNSCache.CacheNode) i.next(); n != null; n = n.next())\n {\n DNSRecord rec = (DNSRecord) n.getValue();\n if (rec.type == DNSConstants.TYPE_SRV)\n {\n if (rec.name.endsWith(type))\n {\n listener.serviceAdded(new ServiceEvent(this, type, toUnqualifiedName(type, rec.name), null));\n }\n }\n }\n } \n }\n \n new ServiceResolver(type).start();\n }", "title": "" }, { "docid": "3b1ded36ccc91fd77f513cfcdcff3510", "score": "0.4887411", "text": "public void addMessageListener(String type, MediaMessageListener listener) {\n listenerHashMap.putIfAbsent(type, new ArrayList<>());\n if (!listenerHashMap.get(type).contains(listener))\n listenerHashMap.get(type).add(listener);\n }", "title": "" }, { "docid": "6b46af8be1e787ccb2a6ba26177bb33f", "score": "0.4880771", "text": "public synchronized <T extends java.util.EventListener> void\n add(final Class<T> eventListenerClass, final T eventListener) {\n\n // Make sure we didn't get passed a null object\n if (eventListener == null) {\n return;\n }\n\n // Set up a new object to hold it\n Object[] placeHolder = new Object[listenerList.length + 2];\n // Copy over what's already in the list\n System.arraycopy(listenerList, 0, placeHolder, 0, listenerList.length);\n // Add in the new items\n placeHolder[listenerList.length] = eventListenerClass;\n placeHolder[listenerList.length + 1] = eventListener;\n // Make it so\n listenerList = placeHolder;\n }", "title": "" }, { "docid": "eb827765b50de2758c73e2d422f1f733", "score": "0.48792323", "text": "void addFeatureCollectionListener(FeatureCollectionListener l);", "title": "" }, { "docid": "401e12aedb7e32864df53e452e6ae9b7", "score": "0.48713565", "text": "public void addWorkspaceListener(WorkspaceEventListener sl) {\r\n\t\tlisteners.add(sl);\r\n\t}", "title": "" }, { "docid": "b269b355a22527eaef512776dc63dd30", "score": "0.48635644", "text": "public void addBoardListener(BoardListener listener) {\n fEventHandler.addBoardListener(listener);\n }", "title": "" }, { "docid": "23c422ac9171f3c64caceddd6d09e66c", "score": "0.48472038", "text": "public synchronized void addListener(Object listener)\n {\n copyOnWrite(_count + 1);\n\n _listeners[_count] = listener;\n\n _count++;\n }", "title": "" }, { "docid": "665df5e9023020e3d13fb2b53a54fd0e", "score": "0.48325652", "text": "public void addSelectionListener(final SelectionListener listener) {\n\t\tcheckWidget();\n\t\tif (listener == null) {\n\t\t\tSWT.error(SWT.ERROR_NULL_ARGUMENT);\n\t\t}\n\t\tthis.selectionListeners.add(listener);\n\t}", "title": "" }, { "docid": "a00f05b56c99ffa40665b93f2f8a33bb", "score": "0.4829501", "text": "public void attachListener(ChangeListener listener) {\n\t\tlisteners.add(listener);\n\t}", "title": "" }, { "docid": "66d6aa735900268c0a8bf39661698555", "score": "0.48281223", "text": "public void addListener(AnalyticsListener listener) {\n listeners.add(listener);\n }", "title": "" }, { "docid": "fc3a4165341e154726fbb9ea297a8f48", "score": "0.4822126", "text": "boolean hasListener(Class<? extends Annotation> annotationClass);", "title": "" }, { "docid": "5155dae2b29a4c71b801064d884fa094", "score": "0.4820017", "text": "protected void registerListeners() {\n component.addMouseListener(this);\n component.addMouseMotionListener(this);\n }", "title": "" }, { "docid": "cff5e2b0403a15d88207da50002ac853", "score": "0.4814195", "text": "void removeListener(ITypeDescriptionListener listener);", "title": "" }, { "docid": "8dbb9a7faaecc3e16fca501922c2dd46", "score": "0.48135936", "text": "void addListener(MouseListener m);", "title": "" }, { "docid": "56bc350e9f7301fdc7744305c2f22448", "score": "0.48072088", "text": "@Override\n public void registerSubscriber(Object listenerClass, String methodName, SubscribeEvent subscribeEvent) {\n\n // Call the method to create the listener\n createListenerContainer(listenerClass,methodName,subscribeEvent);\n\n }", "title": "" }, { "docid": "72da5a9c24198e050644ff22842b4f10", "score": "0.4806756", "text": "public void registerListener(Listener listener) {\n mListeners.add(listener);\n }", "title": "" }, { "docid": "2aad1a171175a771d0ffab74590038f4", "score": "0.480595", "text": "public void addListSelectionListener(final ListSelectionListener l) {\n if (listenerList == null) {\n listenerList = new ArrayList<ListSelectionListener>();\n }\n listenerList.add(l);\n }", "title": "" }, { "docid": "4a489107eefe900fe89e4d7da83427dd", "score": "0.4804786", "text": "public void addEvent(Event e) {\n events.add(e);\n }", "title": "" }, { "docid": "d14e0e058fa03f4c7ac665e150ca1142", "score": "0.47934154", "text": "void addOspListener(OspEventListener listener);", "title": "" }, { "docid": "8e571c098a0fd8056a790396b2a03202", "score": "0.4790701", "text": "public void addSelectionListener(final SelectionListener listener) {\r\n\t\tcheckWidget();\r\n\t\tif (listener == null) {\r\n\t\t\tSWT.error(SWT.ERROR_NULL_ARGUMENT);\r\n\t\t}\r\n\t\tthis.selectionListeners.add(listener);\r\n\t}", "title": "" }, { "docid": "82ccf2ac80f885fd9b0b285b9a3da118", "score": "0.47874412", "text": "public void addDisplayListener(DisplayListener l) {\n listenerList.add(DisplayListener.class, l);\n }", "title": "" }, { "docid": "5ca48b811a2dd24e6e09b383bbf6d714", "score": "0.47839856", "text": "boolean addListener(int id, IEventBusListener listener);", "title": "" }, { "docid": "6d15f510f71a54bb32ef0acfa733bf75", "score": "0.4783429", "text": "public void addChangeListener( ChangeListener listener ) {\n _listenerList.add( ChangeListener.class, listener );\n }", "title": "" }, { "docid": "1af8be23d611eda14c98fcc0b9db5bb8", "score": "0.47811928", "text": "void addListener(String optname, Listener listener);", "title": "" }, { "docid": "06e2b06f42b4605e85ab36e5daeddb45", "score": "0.4778403", "text": "public synchronized void addListener(com.yworks.yguard.ObfuscationListener listener)\n {\n if (listenerList == null )\n {\n listenerList = new java.util.ArrayList();\n }\n listenerList.add(listener);\n }", "title": "" }, { "docid": "5908c659b16896fd43f29f4b3fb6d312", "score": "0.47728363", "text": "public interface OnAddListener {\n\n void onAddEvent(Object item);\n\n}", "title": "" }, { "docid": "b1c049346aa49c9ba4e01b090fc2bf3e", "score": "0.4770231", "text": "public void addChangeListener(ChangeListener l) {\n m_listenerList.add(ChangeListener.class, l);\n }", "title": "" }, { "docid": "c73db330bcf460341253cd5770b3cf04", "score": "0.47701612", "text": "void addEditorListener(EditorListener l);", "title": "" }, { "docid": "740e0894ed3f57bce599ea56e5a976e0", "score": "0.47679058", "text": "private void PrivateAddListener(Object source, IWeakEventListener listener, PropertyDescriptor pd) \r\n { \r\n// Debug.Assert(listener != null && source != null && pd != null,\r\n// \"Listener, source, and pd of event cannot be null\"); \r\n AddListener(source, pd, listener, null);\r\n }", "title": "" }, { "docid": "f8daa28b1b113135557d3f41ae0ab81a", "score": "0.47657198", "text": "public interface ClickListener {\n\n /**\n * Performs actions on mouse click.\n */\n void onClick();\n}", "title": "" }, { "docid": "bcf3203df425e06e1b342d2ccb7c1f91", "score": "0.47631437", "text": "public void addEvent(EventType eventType, int[] idata, long[] ldata,\n\t double[] ddata, String[] sdata);", "title": "" }, { "docid": "16423f4366aea1951aacb597f7081e22", "score": "0.47598043", "text": "public interface MyCustomEventListener {\n /**\n * Receive the data.\n *\n * @param customEvent the data\n */\n void receive(Map customEvent);\n}", "title": "" }, { "docid": "173c1cd96fb0727a009e39a256655f1a", "score": "0.47573876", "text": "public void addNPTListener(NPTListener l, DSMCCStream stream);", "title": "" }, { "docid": "82ea9ac974d6a724d58c92bd54b06947", "score": "0.47512287", "text": "public void registerEventListener(final MessageListener eventListener) {\n\t\tPacketListener pl = new PacketListener() {\n\t\t\t@Override\n\t\t\tpublic void processPacket(Packet packet) {\n\t\t\t\teventListener.processMessage((Message) packet);\n\t\t\t}\n\t\t};\n\t\tconnection.addPacketListener(pl, new PacketTypeFilter(Message.class));\n\t}", "title": "" }, { "docid": "14f3069e4ebfe6e54f339d5ea205b8b2", "score": "0.4745788", "text": "public void addActionEventListener(ActionEventListener a) {\r\n\t\tmEventListeners.add(a);\r\n\t}", "title": "" }, { "docid": "d3f45b8e2647efd927b1bbf4731f8f8a", "score": "0.4744361", "text": "public void addListener(Listener listener) {\n mListeners.add(listener);\n }", "title": "" }, { "docid": "dd8c47530132e293d8bab3867e94e508", "score": "0.4735269", "text": "public interface EventListener {}", "title": "" }, { "docid": "092362678cc9faf95cfea922a7eadeb2", "score": "0.4735169", "text": "public abstract void addListener(ActionListener listener);", "title": "" } ]
1924457457dca718415a59751b3ef077
$ANTLR end "rule__RealTimeStatement__Group_1_0_0__1" $ANTLR start "rule__RealTimeStatement__Group_1_0_0__1__Impl" InternalAgreeParser.g:9447:1: rule__RealTimeStatement__Group_1_0_0__1__Impl : ( Condition ) ;
[ { "docid": "e2dc5177e68e886d969bb0e1f36b191e", "score": "0.7694081", "text": "public final void rule__RealTimeStatement__Group_1_0_0__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9451:1: ( ( Condition ) )\n // InternalAgreeParser.g:9452:1: ( Condition )\n {\n // InternalAgreeParser.g:9452:1: ( Condition )\n // InternalAgreeParser.g:9453:1: Condition\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getConditionKeyword_1_0_0_1()); \n }\n match(input,Condition,FollowSets000.FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getConditionKeyword_1_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": "2dfe8f56ebbb6f9c778894b555032401", "score": "0.7699046", "text": "public final void rule__RealTimeStatement__Group_0_0_0__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9005:1: ( ( Condition ) )\n // InternalAgreeParser.g:9006:1: ( Condition )\n {\n // InternalAgreeParser.g:9006:1: ( Condition )\n // InternalAgreeParser.g:9007:1: Condition\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getConditionKeyword_0_0_0_1()); \n }\n match(input,Condition,FollowSets000.FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getConditionKeyword_0_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": "37da8a1dba3a64b2b662515fd394af1e", "score": "0.6627137", "text": "public final void rule__RealTimeStatement__Group_0_0_0__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9084:1: ( rule__RealTimeStatement__Group_0_0_0__4__Impl )\n // InternalAgreeParser.g:9085:2: rule__RealTimeStatement__Group_0_0_0__4__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_0_0_0__4__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": "a4fe45828023317cc3143ce3ab1ac5d3", "score": "0.66122866", "text": "public final void rule__RealTimeStatement__Group_1_0_0__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9530:1: ( rule__RealTimeStatement__Group_1_0_0__4__Impl )\n // InternalAgreeParser.g:9531:2: rule__RealTimeStatement__Group_1_0_0__4__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1_0_0__4__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": "5e835f24be73c41b20838d6d5ca0d693", "score": "0.6595962", "text": "public final void rule__RealTimeStatement__Group_1__4__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9351:1: ( ( ( rule__RealTimeStatement__Group_1_4__0 )? ) )\n // InternalAgreeParser.g:9352:1: ( ( rule__RealTimeStatement__Group_1_4__0 )? )\n {\n // InternalAgreeParser.g:9352:1: ( ( rule__RealTimeStatement__Group_1_4__0 )? )\n // InternalAgreeParser.g:9353:1: ( rule__RealTimeStatement__Group_1_4__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getGroup_1_4()); \n }\n // InternalAgreeParser.g:9354:1: ( rule__RealTimeStatement__Group_1_4__0 )?\n int alt64=2;\n int LA64_0 = input.LA(1);\n\n if ( (LA64_0==With) ) {\n alt64=1;\n }\n switch (alt64) {\n case 1 :\n // InternalAgreeParser.g:9354:2: rule__RealTimeStatement__Group_1_4__0\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1_4__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.getRealTimeStatementAccess().getGroup_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": "5e708422da8ce13a897c16fad23ea6f9", "score": "0.6544735", "text": "public final void rule__RealTimeStatement__Group_1_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9378:1: ( rule__RealTimeStatement__Group_1_0__0__Impl )\n // InternalAgreeParser.g:9379:2: rule__RealTimeStatement__Group_1_0__0__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1_0__0__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": "2d93090e721b459877925fa14ffe0735", "score": "0.6540553", "text": "public final void rule__RealTimeStatement__Group_1_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9389:1: ( ( ( rule__RealTimeStatement__Group_1_0_0__0 ) ) )\n // InternalAgreeParser.g:9390:1: ( ( rule__RealTimeStatement__Group_1_0_0__0 ) )\n {\n // InternalAgreeParser.g:9390:1: ( ( rule__RealTimeStatement__Group_1_0_0__0 ) )\n // InternalAgreeParser.g:9391:1: ( rule__RealTimeStatement__Group_1_0_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getGroup_1_0_0()); \n }\n // InternalAgreeParser.g:9392:1: ( rule__RealTimeStatement__Group_1_0_0__0 )\n // InternalAgreeParser.g:9392:2: rule__RealTimeStatement__Group_1_0_0__0\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1_0_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getGroup_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": "18f1272e35f1acd0a02ec07f8ba3cf9a", "score": "0.65174466", "text": "public final void rule__RealTimeStatement__Group_1__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9232:1: ( ( ( rule__RealTimeStatement__Group_1_0__0 ) ) )\n // InternalAgreeParser.g:9233:1: ( ( rule__RealTimeStatement__Group_1_0__0 ) )\n {\n // InternalAgreeParser.g:9233:1: ( ( rule__RealTimeStatement__Group_1_0__0 ) )\n // InternalAgreeParser.g:9234:1: ( rule__RealTimeStatement__Group_1_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getGroup_1_0()); \n }\n // InternalAgreeParser.g:9235:1: ( rule__RealTimeStatement__Group_1_0__0 )\n // InternalAgreeParser.g:9235:2: rule__RealTimeStatement__Group_1_0__0\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getGroup_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": "0142adf317b85b7ca966d7a8eb10e4af", "score": "0.64770263", "text": "public final void rule__RealTimeStatement__Group_0_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:8943:1: ( ( ( rule__RealTimeStatement__Group_0_0_0__0 ) ) )\n // InternalAgreeParser.g:8944:1: ( ( rule__RealTimeStatement__Group_0_0_0__0 ) )\n {\n // InternalAgreeParser.g:8944:1: ( ( rule__RealTimeStatement__Group_0_0_0__0 ) )\n // InternalAgreeParser.g:8945:1: ( rule__RealTimeStatement__Group_0_0_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getGroup_0_0_0()); \n }\n // InternalAgreeParser.g:8946:1: ( rule__RealTimeStatement__Group_0_0_0__0 )\n // InternalAgreeParser.g:8946:2: rule__RealTimeStatement__Group_0_0_0__0\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_0_0_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getGroup_0_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": "5f4f512c546d1bca0f14bfca9180a60a", "score": "0.6436121", "text": "public final void rule__RealTimeStatement__Group_1__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9340:1: ( rule__RealTimeStatement__Group_1__4__Impl )\n // InternalAgreeParser.g:9341:2: rule__RealTimeStatement__Group_1__4__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1__4__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": "4538d0c630d8f9975e87ee94ddae6b53", "score": "0.6410174", "text": "public final void ruleCondition() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:492:2: ( ( ( rule__Condition__Group__0 ) ) )\n // InternalGame.g:493:2: ( ( rule__Condition__Group__0 ) )\n {\n // InternalGame.g:493:2: ( ( rule__Condition__Group__0 ) )\n // InternalGame.g:494:3: ( rule__Condition__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getConditionAccess().getGroup()); \n }\n // InternalGame.g:495:3: ( rule__Condition__Group__0 )\n // InternalGame.g:495:4: rule__Condition__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__Condition__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getConditionAccess().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": "2d22685cb6b769734d36fc41e0291621", "score": "0.6397991", "text": "public final void rule__RealTimeStatement__Alternatives() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:3422:1: ( ( ( rule__RealTimeStatement__Group_0__0 ) ) | ( ( rule__RealTimeStatement__Group_1__0 ) ) )\n int alt13=2;\n int LA13_0 = input.LA(1);\n\n if ( (LA13_0==Condition) ) {\n int LA13_1 = input.LA(2);\n\n if ( (synpred44_InternalAgreeParser()) ) {\n alt13=1;\n }\n else if ( (true) ) {\n alt13=2;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 13, 1, input);\n\n throw nvae;\n }\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 13, 0, input);\n\n throw nvae;\n }\n switch (alt13) {\n case 1 :\n // InternalAgreeParser.g:3423:1: ( ( rule__RealTimeStatement__Group_0__0 ) )\n {\n // InternalAgreeParser.g:3423:1: ( ( rule__RealTimeStatement__Group_0__0 ) )\n // InternalAgreeParser.g:3424:1: ( rule__RealTimeStatement__Group_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getGroup_0()); \n }\n // InternalAgreeParser.g:3425:1: ( rule__RealTimeStatement__Group_0__0 )\n // InternalAgreeParser.g:3425:2: rule__RealTimeStatement__Group_0__0\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getGroup_0()); \n }\n\n }\n\n\n }\n break;\n case 2 :\n // InternalAgreeParser.g:3429:6: ( ( rule__RealTimeStatement__Group_1__0 ) )\n {\n // InternalAgreeParser.g:3429:6: ( ( rule__RealTimeStatement__Group_1__0 ) )\n // InternalAgreeParser.g:3430:1: ( rule__RealTimeStatement__Group_1__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getGroup_1()); \n }\n // InternalAgreeParser.g:3431:1: ( rule__RealTimeStatement__Group_1__0 )\n // InternalAgreeParser.g:3431:2: rule__RealTimeStatement__Group_1__0\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getGroup_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": "79e99814490500e18d3fbc3936b7db43", "score": "0.63930446", "text": "public final void rule__RealTimeStatement__Group_1_0_0__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9499:1: ( rule__RealTimeStatement__Group_1_0_0__3__Impl rule__RealTimeStatement__Group_1_0_0__4 )\n // InternalAgreeParser.g:9500:2: rule__RealTimeStatement__Group_1_0_0__3__Impl rule__RealTimeStatement__Group_1_0_0__4\n {\n pushFollow(FollowSets000.FOLLOW_43);\n rule__RealTimeStatement__Group_1_0_0__3__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1_0_0__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": "bd41397153ea3faad431f4a5131c40d1", "score": "0.6362166", "text": "public final void rule__RealTimeStatement__Group_0_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:8932:1: ( rule__RealTimeStatement__Group_0_0__0__Impl )\n // InternalAgreeParser.g:8933:2: rule__RealTimeStatement__Group_0_0__0__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_0_0__0__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": "f8be657d844bfb407d87c0852b8c7346", "score": "0.63589984", "text": "public final void rule__RealTimeStatement__Group_1_4__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9632:1: ( rule__RealTimeStatement__Group_1_4__2__Impl )\n // InternalAgreeParser.g:9633:2: rule__RealTimeStatement__Group_1_4__2__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1_4__2__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": "de7187511b51709664f5f865ecc5bdae", "score": "0.6343264", "text": "public final void rule__RealTimeStatement__Group_0__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:8909:1: ( ( ( rule__RealTimeStatement__Group_0_2__0 )? ) )\n // InternalAgreeParser.g:8910:1: ( ( rule__RealTimeStatement__Group_0_2__0 )? )\n {\n // InternalAgreeParser.g:8910:1: ( ( rule__RealTimeStatement__Group_0_2__0 )? )\n // InternalAgreeParser.g:8911:1: ( rule__RealTimeStatement__Group_0_2__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getGroup_0_2()); \n }\n // InternalAgreeParser.g:8912:1: ( rule__RealTimeStatement__Group_0_2__0 )?\n int alt63=2;\n int LA63_0 = input.LA(1);\n\n if ( (LA63_0==With) ) {\n alt63=1;\n }\n switch (alt63) {\n case 1 :\n // InternalAgreeParser.g:8912:2: rule__RealTimeStatement__Group_0_2__0\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_0_2__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.getRealTimeStatementAccess().getGroup_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": "fde422049998a476a50f38dadf84f4c1", "score": "0.6339448", "text": "public final void rule__RealTimeStatement__Group_0_0_0__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9053:1: ( rule__RealTimeStatement__Group_0_0_0__3__Impl rule__RealTimeStatement__Group_0_0_0__4 )\n // InternalAgreeParser.g:9054:2: rule__RealTimeStatement__Group_0_0_0__3__Impl rule__RealTimeStatement__Group_0_0_0__4\n {\n pushFollow(FollowSets000.FOLLOW_40);\n rule__RealTimeStatement__Group_0_0_0__3__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_0_0_0__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": "bed382a050acef74a97ae3e3f92b6697", "score": "0.6306778", "text": "public final void rule__RealTimeStatement__Group_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:8852:1: ( ( ( rule__RealTimeStatement__Group_0_0__0 ) ) )\n // InternalAgreeParser.g:8853:1: ( ( rule__RealTimeStatement__Group_0_0__0 ) )\n {\n // InternalAgreeParser.g:8853:1: ( ( rule__RealTimeStatement__Group_0_0__0 ) )\n // InternalAgreeParser.g:8854:1: ( rule__RealTimeStatement__Group_0_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getGroup_0_0()); \n }\n // InternalAgreeParser.g:8855:1: ( rule__RealTimeStatement__Group_0_0__0 )\n // InternalAgreeParser.g:8855:2: rule__RealTimeStatement__Group_0_0__0\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_0_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().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": "db638d62ce92df4fd3f0338395fa8b9c", "score": "0.62848675", "text": "public final void rule__RealTimeStatement__Group_1_4__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9570:1: ( rule__RealTimeStatement__Group_1_4__0__Impl rule__RealTimeStatement__Group_1_4__1 )\n // InternalAgreeParser.g:9571:2: rule__RealTimeStatement__Group_1_4__0__Impl rule__RealTimeStatement__Group_1_4__1\n {\n pushFollow(FollowSets000.FOLLOW_41);\n rule__RealTimeStatement__Group_1_4__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1_4__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": "abebe75a31e9abd3549a6b88ef291b7a", "score": "0.62283224", "text": "public final void rule__RealTimeStatement__Group_0_0_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:8962:1: ( rule__RealTimeStatement__Group_0_0_0__0__Impl rule__RealTimeStatement__Group_0_0_0__1 )\n // InternalAgreeParser.g:8963:2: rule__RealTimeStatement__Group_0_0_0__0__Impl rule__RealTimeStatement__Group_0_0_0__1\n {\n pushFollow(FollowSets000.FOLLOW_39);\n rule__RealTimeStatement__Group_0_0_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_0_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": "b19f9790eea3a49aae56e080eaa126af", "score": "0.6207112", "text": "public final void rule__RealTimeStatement__Group_0_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:8993:1: ( rule__RealTimeStatement__Group_0_0_0__1__Impl rule__RealTimeStatement__Group_0_0_0__2 )\n // InternalAgreeParser.g:8994:2: rule__RealTimeStatement__Group_0_0_0__1__Impl rule__RealTimeStatement__Group_0_0_0__2\n {\n pushFollow(FollowSets000.FOLLOW_7);\n rule__RealTimeStatement__Group_0_0_0__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_0_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": "df55fbd432fdaf3798028a0586ca89af", "score": "0.61990744", "text": "public final void rule__RealTimeStatement__Group_0__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:8898:1: ( rule__RealTimeStatement__Group_0__2__Impl )\n // InternalAgreeParser.g:8899:2: rule__RealTimeStatement__Group_0__2__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_0__2__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": "bbd1058c5b80438f252d97ad23f46267", "score": "0.61871636", "text": "public final void rule__RealTimeStatement__Group_1_0_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9408:1: ( rule__RealTimeStatement__Group_1_0_0__0__Impl rule__RealTimeStatement__Group_1_0_0__1 )\n // InternalAgreeParser.g:9409:2: rule__RealTimeStatement__Group_1_0_0__0__Impl rule__RealTimeStatement__Group_1_0_0__1\n {\n pushFollow(FollowSets000.FOLLOW_17);\n rule__RealTimeStatement__Group_1_0_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1_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": "01adbc42ff76107bf195977e587fdb67", "score": "0.61718786", "text": "public final void rule__RealTimeStatement__Group_1_4__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9601:1: ( rule__RealTimeStatement__Group_1_4__1__Impl rule__RealTimeStatement__Group_1_4__2 )\n // InternalAgreeParser.g:9602:2: rule__RealTimeStatement__Group_1_4__1__Impl rule__RealTimeStatement__Group_1_4__2\n {\n pushFollow(FollowSets000.FOLLOW_7);\n rule__RealTimeStatement__Group_1_4__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1_4__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": "c3ac9974bcdc606169b441226f03c4f8", "score": "0.614893", "text": "public final void rule__RealTimeStatement__Group_1_0_0__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9470:1: ( rule__RealTimeStatement__Group_1_0_0__2__Impl rule__RealTimeStatement__Group_1_0_0__3 )\n // InternalAgreeParser.g:9471:2: rule__RealTimeStatement__Group_1_0_0__2__Impl rule__RealTimeStatement__Group_1_0_0__3\n {\n pushFollow(FollowSets000.FOLLOW_30);\n rule__RealTimeStatement__Group_1_0_0__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1_0_0__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": "b8612472a54205f8e8cb05fa58dc07ed", "score": "0.61415577", "text": "public final void rule__RealTimeStatement__Group_1_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9439:1: ( rule__RealTimeStatement__Group_1_0_0__1__Impl rule__RealTimeStatement__Group_1_0_0__2 )\n // InternalAgreeParser.g:9440:2: rule__RealTimeStatement__Group_1_0_0__1__Impl rule__RealTimeStatement__Group_1_0_0__2\n {\n pushFollow(FollowSets000.FOLLOW_7);\n rule__RealTimeStatement__Group_1_0_0__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1_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": "eed51be67d8a2c41589a674181f5e212", "score": "0.6130258", "text": "public final void rule__RealTimeStatement__Group_1__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9311:1: ( rule__RealTimeStatement__Group_1__3__Impl rule__RealTimeStatement__Group_1__4 )\n // InternalAgreeParser.g:9312:2: rule__RealTimeStatement__Group_1__3__Impl rule__RealTimeStatement__Group_1__4\n {\n pushFollow(FollowSets000.FOLLOW_38);\n rule__RealTimeStatement__Group_1__3__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1__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": "8b8550c3127d283502507e8845f487e0", "score": "0.612823", "text": "public final void rule__RealTimeStatement__Group_1_4__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9582:1: ( ( With ) )\n // InternalAgreeParser.g:9583:1: ( With )\n {\n // InternalAgreeParser.g:9583:1: ( With )\n // InternalAgreeParser.g:9584:1: With\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getWithKeyword_1_4_0()); \n }\n match(input,With,FollowSets000.FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getWithKeyword_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": "016ea201a02aa628f4a7d7d7c07b7156", "score": "0.6103784", "text": "public final void rule__Condition__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:2505:1: ( rule__Condition__Group__0__Impl rule__Condition__Group__1 )\n // InternalGame.g:2506:2: rule__Condition__Group__0__Impl rule__Condition__Group__1\n {\n pushFollow(FOLLOW_21);\n rule__Condition__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Condition__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": "bbb1695ab0d574a8ead541cddd808c1f", "score": "0.6092158", "text": "public final void rule__TrueCondition__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRobotDsl.g:1547:1: ( rule__TrueCondition__Group__1__Impl )\n // InternalRobotDsl.g:1548:2: rule__TrueCondition__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__TrueCondition__Group__1__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": "fe8563b2199c21db25ba38660376c925", "score": "0.608413", "text": "public final void rule__RealTimeStatement__Group_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9220:1: ( rule__RealTimeStatement__Group_1__0__Impl rule__RealTimeStatement__Group_1__1 )\n // InternalAgreeParser.g:9221:2: rule__RealTimeStatement__Group_1__0__Impl rule__RealTimeStatement__Group_1__1\n {\n pushFollow(FollowSets000.FOLLOW_38);\n rule__RealTimeStatement__Group_1__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_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": "eb5b4a12873443d89139d700a0b12a4e", "score": "0.6078865", "text": "public final void rule__RealTimeStatement__Group_0_2__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9186:1: ( rule__RealTimeStatement__Group_0_2__2__Impl )\n // InternalAgreeParser.g:9187:2: rule__RealTimeStatement__Group_0_2__2__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_0_2__2__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": "c0f9d9119e1cce339db5488f167383a3", "score": "0.6070799", "text": "public final void rule__RealTimeStatement__Group_1__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9261:1: ( ( With ) )\n // InternalAgreeParser.g:9262:1: ( With )\n {\n // InternalAgreeParser.g:9262:1: ( With )\n // InternalAgreeParser.g:9263:1: With\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getWithKeyword_1_1()); \n }\n match(input,With,FollowSets000.FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getWithKeyword_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": "92ddbd4991c7ec41cbc750efa09d707e", "score": "0.6070387", "text": "public final void rule__RealTimeStatement__Group_0_0_0__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9024:1: ( rule__RealTimeStatement__Group_0_0_0__2__Impl rule__RealTimeStatement__Group_0_0_0__3 )\n // InternalAgreeParser.g:9025:2: rule__RealTimeStatement__Group_0_0_0__2__Impl rule__RealTimeStatement__Group_0_0_0__3\n {\n pushFollow(FollowSets000.FOLLOW_30);\n rule__RealTimeStatement__Group_0_0_0__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_0_0_0__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": "9fd005b850d43d473e559ce76e18e966", "score": "0.60689175", "text": "public final void rule__RealTimeStatement__Group_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:8869:1: ( rule__RealTimeStatement__Group_0__1__Impl rule__RealTimeStatement__Group_0__2 )\n // InternalAgreeParser.g:8870:2: rule__RealTimeStatement__Group_0__1__Impl rule__RealTimeStatement__Group_0__2\n {\n pushFollow(FollowSets000.FOLLOW_38);\n rule__RealTimeStatement__Group_0__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_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": "94aced63cec5473135e1219a74df8cba", "score": "0.6042009", "text": "public final void rule__RealTimeStatement__Group_1_0_0__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9511:1: ( ( Occurs ) )\n // InternalAgreeParser.g:9512:1: ( Occurs )\n {\n // InternalAgreeParser.g:9512:1: ( Occurs )\n // InternalAgreeParser.g:9513:1: Occurs\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getOccursKeyword_1_0_0_3()); \n }\n match(input,Occurs,FollowSets000.FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getOccursKeyword_1_0_0_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": "07a762efb094f582c8feb0872433850c", "score": "0.6022576", "text": "public final void rule__RealTimeStatement__Group_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:8840:1: ( rule__RealTimeStatement__Group_0__0__Impl rule__RealTimeStatement__Group_0__1 )\n // InternalAgreeParser.g:8841:2: rule__RealTimeStatement__Group_0__0__Impl rule__RealTimeStatement__Group_0__1\n {\n pushFollow(FollowSets000.FOLLOW_7);\n rule__RealTimeStatement__Group_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_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": "28cbdf000bac4038b9876865b8d95b56", "score": "0.6005642", "text": "public final void rule__Condition__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:2544:1: ( ( '(' ) )\n // InternalGame.g:2545:1: ( '(' )\n {\n // InternalGame.g:2545:1: ( '(' )\n // InternalGame.g:2546:2: '('\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getConditionAccess().getLeftParenthesisKeyword_1()); \n }\n match(input,14,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getConditionAccess().getLeftParenthesisKeyword_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": "6a1dce92b6d0207cdd14e5c9216086ea", "score": "0.59870374", "text": "public final void rule__RightStatement__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRobotDsl.g:1655:1: ( rule__RightStatement__Group__1__Impl )\n // InternalRobotDsl.g:1656:2: rule__RightStatement__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__RightStatement__Group__1__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": "406e3063b776aecd767e633d450fa0a1", "score": "0.59649324", "text": "public final void rule__RealTimeStatement__Group_0_0_0__4__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9095:1: ( ( Each ) )\n // InternalAgreeParser.g:9096:1: ( Each )\n {\n // InternalAgreeParser.g:9096:1: ( Each )\n // InternalAgreeParser.g:9097:1: Each\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getEachKeyword_0_0_0_4()); \n }\n match(input,Each,FollowSets000.FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getEachKeyword_0_0_0_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": "2a3feb2820ffcfc066e7fd91332aa61f", "score": "0.5962818", "text": "public final void rule__Condition__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:2532:1: ( rule__Condition__Group__1__Impl rule__Condition__Group__2 )\n // InternalGame.g:2533:2: rule__Condition__Group__1__Impl rule__Condition__Group__2\n {\n pushFollow(FOLLOW_22);\n rule__Condition__Group__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Condition__Group__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": "654b8b97a76dae0050d4b0b85bbe919c", "score": "0.59303916", "text": "public final void rule__RealTimeStatement__Group_1__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9280:1: ( rule__RealTimeStatement__Group_1__2__Impl rule__RealTimeStatement__Group_1__3 )\n // InternalAgreeParser.g:9281:2: rule__RealTimeStatement__Group_1__2__Impl rule__RealTimeStatement__Group_1__3\n {\n pushFollow(FollowSets000.FOLLOW_7);\n rule__RealTimeStatement__Group_1__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1__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": "1e061b8647fcb378cdb007544fbe38e1", "score": "0.5903595", "text": "public final void rule__RealTimeStatement__Group_0_2__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9124:1: ( rule__RealTimeStatement__Group_0_2__0__Impl rule__RealTimeStatement__Group_0_2__1 )\n // InternalAgreeParser.g:9125:2: rule__RealTimeStatement__Group_0_2__0__Impl rule__RealTimeStatement__Group_0_2__1\n {\n pushFollow(FollowSets000.FOLLOW_41);\n rule__RealTimeStatement__Group_0_2__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_0_2__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": "1d5bc9c04175a5bc00761d6bbe6dbd6c", "score": "0.58913976", "text": "public final void rule__RealTimeStatement__Group_0_0_0__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9065:1: ( ( Occurs ) )\n // InternalAgreeParser.g:9066:1: ( Occurs )\n {\n // InternalAgreeParser.g:9066:1: ( Occurs )\n // InternalAgreeParser.g:9067:1: Occurs\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getOccursKeyword_0_0_0_3()); \n }\n match(input,Occurs,FollowSets000.FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getOccursKeyword_0_0_0_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": "45457be386665fbcb09f0efccc608f08", "score": "0.58775246", "text": "public final void rule__Condition__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:2559:1: ( rule__Condition__Group__2__Impl rule__Condition__Group__3 )\n // InternalGame.g:2560:2: rule__Condition__Group__2__Impl rule__Condition__Group__3\n {\n pushFollow(FOLLOW_20);\n rule__Condition__Group__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Condition__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": "1a2ef15a65a6e1fa8e94b3c8cd824e18", "score": "0.58757246", "text": "public final void rule__RealTimeStatement__Group_0_0_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:8974:1: ( ( () ) )\n // InternalAgreeParser.g:8975:1: ( () )\n {\n // InternalAgreeParser.g:8975:1: ( () )\n // InternalAgreeParser.g:8976:1: ()\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getPeriodicStatementAction_0_0_0_0()); \n }\n // InternalAgreeParser.g:8977:1: ()\n // InternalAgreeParser.g:8979:1: \n {\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getPeriodicStatementAction_0_0_0_0()); \n }\n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "75f65c56b188d302d170d5bf17e4ee55", "score": "0.5832761", "text": "public final void rule__RealTimeStatement__Group_0_2__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9155:1: ( rule__RealTimeStatement__Group_0_2__1__Impl rule__RealTimeStatement__Group_0_2__2 )\n // InternalAgreeParser.g:9156:2: rule__RealTimeStatement__Group_0_2__1__Impl rule__RealTimeStatement__Group_0_2__2\n {\n pushFollow(FollowSets000.FOLLOW_7);\n rule__RealTimeStatement__Group_0_2__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_0_2__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": "95e948f560558130d800b8768c4508b7", "score": "0.58151716", "text": "public final void rule__RealTimeStatement__Group_0_2__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9136:1: ( ( With ) )\n // InternalAgreeParser.g:9137:1: ( With )\n {\n // InternalAgreeParser.g:9137:1: ( With )\n // InternalAgreeParser.g:9138:1: With\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getWithKeyword_0_2_0()); \n }\n match(input,With,FollowSets000.FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getWithKeyword_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": "2da6e8fd96f71f1dd7e22fa381b8369b", "score": "0.58077234", "text": "public final void rule__Condition__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:2586:1: ( rule__Condition__Group__3__Impl rule__Condition__Group__4 )\n // InternalGame.g:2587:2: rule__Condition__Group__3__Impl rule__Condition__Group__4\n {\n pushFollow(FOLLOW_21);\n rule__Condition__Group__3__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Condition__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": "8ac1090b594e8c158f00e2c057fb1052", "score": "0.57901454", "text": "public final void rule__Condition__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:2598:1: ( ( ')' ) )\n // InternalGame.g:2599:1: ( ')' )\n {\n // InternalGame.g:2599:1: ( ')' )\n // InternalGame.g:2600:2: ')'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getConditionAccess().getRightParenthesisKeyword_3()); \n }\n match(input,15,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getConditionAccess().getRightParenthesisKeyword_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": "c656e54fbace8ed557a76a5c586f5382", "score": "0.5758822", "text": "public final void rule__RealTimeStatement__Group_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9249:1: ( rule__RealTimeStatement__Group_1__1__Impl rule__RealTimeStatement__Group_1__2 )\n // InternalAgreeParser.g:9250:2: rule__RealTimeStatement__Group_1__1__Impl rule__RealTimeStatement__Group_1__2\n {\n pushFollow(FollowSets000.FOLLOW_42);\n rule__RealTimeStatement__Group_1__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_1__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": "be4104d30c643be1b0b58f729178b5ab", "score": "0.5752777", "text": "public final void rule__TrueCondition__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRobotDsl.g:1520:1: ( rule__TrueCondition__Group__0__Impl rule__TrueCondition__Group__1 )\n // InternalRobotDsl.g:1521:2: rule__TrueCondition__Group__0__Impl rule__TrueCondition__Group__1\n {\n pushFollow(FOLLOW_17);\n rule__TrueCondition__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__TrueCondition__Group__1();\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": "f7a8474bd85b0d225bee17766f7574b3", "score": "0.5698685", "text": "public final void rule__WheneverStatement__Group_1_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:8021:1: ( rule__WheneverStatement__Group_1_1__1__Impl )\n // InternalAgreeParser.g:8022:2: rule__WheneverStatement__Group_1_1__1__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__WheneverStatement__Group_1_1__1__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": "aab4a16aac4abc047b2460e64918d23a", "score": "0.56674623", "text": "public final void rule__Condition__Group__5() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:2640:1: ( rule__Condition__Group__5__Impl )\n // InternalGame.g:2641:2: rule__Condition__Group__5__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Condition__Group__5__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": "afb782830bfad12a887575407df9fb8f", "score": "0.5653392", "text": "public final void rule__RealTimeStatement__Group_1_4__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9613:1: ( ( Jitter ) )\n // InternalAgreeParser.g:9614:1: ( Jitter )\n {\n // InternalAgreeParser.g:9614:1: ( Jitter )\n // InternalAgreeParser.g:9615:1: Jitter\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getJitterKeyword_1_4_1()); \n }\n match(input,Jitter,FollowSets000.FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getJitterKeyword_1_4_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": "8a38101eda0e845c30b546cb4026cb6d", "score": "0.5597464", "text": "public final void rule__RealTimeStatement__Group_1_0_0__4__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9541:1: ( ( Sporadic ) )\n // InternalAgreeParser.g:9542:1: ( Sporadic )\n {\n // InternalAgreeParser.g:9542:1: ( Sporadic )\n // InternalAgreeParser.g:9543:1: Sporadic\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getSporadicKeyword_1_0_0_4()); \n }\n match(input,Sporadic,FollowSets000.FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getSporadicKeyword_1_0_0_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": "b0f4080deeabbdd52d3761ce16512474", "score": "0.5591181", "text": "public final void synpred44_InternalAgreeParser_fragment() throws RecognitionException { \n // InternalAgreeParser.g:3423:1: ( ( ( rule__RealTimeStatement__Group_0__0 ) ) )\n // InternalAgreeParser.g:3423:1: ( ( rule__RealTimeStatement__Group_0__0 ) )\n {\n // InternalAgreeParser.g:3423:1: ( ( rule__RealTimeStatement__Group_0__0 ) )\n // InternalAgreeParser.g:3424:1: ( rule__RealTimeStatement__Group_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getGroup_0()); \n }\n // InternalAgreeParser.g:3425:1: ( rule__RealTimeStatement__Group_0__0 )\n // InternalAgreeParser.g:3425:2: rule__RealTimeStatement__Group_0__0\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__RealTimeStatement__Group_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n\n }\n\n\n }\n }", "title": "" }, { "docid": "27dda537eaa774193bfd97023b9a62cf", "score": "0.5584261", "text": "public final void rule__ExecuteStatement__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRobotDsl.g:1871:1: ( rule__ExecuteStatement__Group__2__Impl )\n // InternalRobotDsl.g:1872:2: rule__ExecuteStatement__Group__2__Impl\n {\n pushFollow(FOLLOW_2);\n rule__ExecuteStatement__Group__2__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": "4e1e2b5e7875a8e4485ff05e9aefa19d", "score": "0.5581806", "text": "public final void rule__WheneverStatement__Group_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:7673:1: ( rule__WheneverStatement__Group_1__1__Impl )\n // InternalAgreeParser.g:7674:2: rule__WheneverStatement__Group_1__1__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__WheneverStatement__Group_1__1__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": "2cf28afb2af95f282e6d87f9145cecc3", "score": "0.5540134", "text": "public final void rule__RealTimeStatement__Group_1_0_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:9420:1: ( ( () ) )\n // InternalAgreeParser.g:9421:1: ( () )\n {\n // InternalAgreeParser.g:9421:1: ( () )\n // InternalAgreeParser.g:9422:1: ()\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRealTimeStatementAccess().getSporadicStatementAction_1_0_0_0()); \n }\n // InternalAgreeParser.g:9423:1: ()\n // InternalAgreeParser.g:9425:1: \n {\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRealTimeStatementAccess().getSporadicStatementAction_1_0_0_0()); \n }\n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "6ff7d86f967ccb17713b80a72c542c2b", "score": "0.5537606", "text": "public final void rule__SynchStatement__Group_0_4__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:10813:1: ( rule__SynchStatement__Group_0_4__1__Impl )\n // InternalAgreeParser.g:10814:2: rule__SynchStatement__Group_0_4__1__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__SynchStatement__Group_0_4__1__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": "ff2c6056c94f9ac58b0aaebf2993cf40", "score": "0.5536804", "text": "public final void rule__WheneverStatement__Group_1_0_0__7() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:7946:1: ( rule__WheneverStatement__Group_1_0_0__7__Impl )\n // InternalAgreeParser.g:7947:2: rule__WheneverStatement__Group_1_0_0__7__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__WheneverStatement__Group_1_0_0__7__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": "7ba1ffe8c95dbccc6cde0668840f6bde", "score": "0.5518462", "text": "public final void rule__WheneverStatement__Group_0_0_0__6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:7539:1: ( rule__WheneverStatement__Group_0_0_0__6__Impl )\n // InternalAgreeParser.g:7540:2: rule__WheneverStatement__Group_0_0_0__6__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__WheneverStatement__Group_0_0_0__6__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": "f9070e2f7a01c4c8a00bc707a6184ef8", "score": "0.5517762", "text": "public final void rule__IfStatement__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRobotDsl.g:2195:1: ( rule__IfStatement__Group__3__Impl )\n // InternalRobotDsl.g:2196:2: rule__IfStatement__Group__3__Impl\n {\n pushFollow(FOLLOW_2);\n rule__IfStatement__Group__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": "e5d2f5e8f0ed3aa8687f549bc6e46f97", "score": "0.5514821", "text": "public final void rule__Condition__Group_5__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:2694:1: ( rule__Condition__Group_5__1__Impl )\n // InternalGame.g:2695:2: rule__Condition__Group_5__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Condition__Group_5__1__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": "0028971d72d042bf3748a626ecbb334c", "score": "0.55054784", "text": "public final void rule__WheneverStatement__Group_2_0_0__6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:8324:1: ( rule__WheneverStatement__Group_2_0_0__6__Impl )\n // InternalAgreeParser.g:8325:2: rule__WheneverStatement__Group_2_0_0__6__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__WheneverStatement__Group_2_0_0__6__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": "3ccab379b07fa817241b0b900752e589", "score": "0.5504733", "text": "public final void rule__WheneverStatement__Group_1__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:7684:1: ( ( ( rule__WheneverStatement__Group_1_1__0 )? ) )\n // InternalAgreeParser.g:7685:1: ( ( rule__WheneverStatement__Group_1_1__0 )? )\n {\n // InternalAgreeParser.g:7685:1: ( ( rule__WheneverStatement__Group_1_1__0 )? )\n // InternalAgreeParser.g:7686:1: ( rule__WheneverStatement__Group_1_1__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getWheneverStatementAccess().getGroup_1_1()); \n }\n // InternalAgreeParser.g:7687:1: ( rule__WheneverStatement__Group_1_1__0 )?\n int alt57=2;\n int LA57_0 = input.LA(1);\n\n if ( (LA57_0==During) ) {\n alt57=1;\n }\n switch (alt57) {\n case 1 :\n // InternalAgreeParser.g:7687:2: rule__WheneverStatement__Group_1_1__0\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__WheneverStatement__Group_1_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.getWheneverStatementAccess().getGroup_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": "f14de3772e397270e6106def3d630c73", "score": "0.5501465", "text": "public final void rule__IfStatement__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRobotDsl.g:2141:1: ( rule__IfStatement__Group__1__Impl rule__IfStatement__Group__2 )\n // InternalRobotDsl.g:2142:2: rule__IfStatement__Group__1__Impl rule__IfStatement__Group__2\n {\n pushFollow(FOLLOW_23);\n rule__IfStatement__Group__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__IfStatement__Group__2();\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": "4201d0842e1c6e5d50562f97e2b225f8", "score": "0.5500103", "text": "public final void rule__WheneverStatement__Group_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:7297:1: ( rule__WheneverStatement__Group_0__1__Impl )\n // InternalAgreeParser.g:7298:2: rule__WheneverStatement__Group_0__1__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__WheneverStatement__Group_0__1__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": "0b28e8f8173ff6d037b0ea25132be668", "score": "0.5499385", "text": "public final void rule__Condition__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:2613:1: ( rule__Condition__Group__4__Impl rule__Condition__Group__5 )\n // InternalGame.g:2614:2: rule__Condition__Group__4__Impl rule__Condition__Group__5\n {\n pushFollow(FOLLOW_23);\n rule__Condition__Group__4__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Condition__Group__5();\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": "05c3b7dc34ef011e66f262983f5779c4", "score": "0.5496933", "text": "public final void rule__MetaStatement__Group__4__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.sqlproc.meta.ui/src-gen/org/sqlproc/meta/ui/contentassist/antlr/internal/InternalProcessorMeta.g:26040:1: ( ( RULE_RPAREN ) )\n // ../org.sqlproc.meta.ui/src-gen/org/sqlproc/meta/ui/contentassist/antlr/internal/InternalProcessorMeta.g:26041:1: ( RULE_RPAREN )\n {\n // ../org.sqlproc.meta.ui/src-gen/org/sqlproc/meta/ui/contentassist/antlr/internal/InternalProcessorMeta.g:26041:1: ( RULE_RPAREN )\n // ../org.sqlproc.meta.ui/src-gen/org/sqlproc/meta/ui/contentassist/antlr/internal/InternalProcessorMeta.g:26042:1: RULE_RPAREN\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getMetaStatementAccess().getRPARENTerminalRuleCall_4()); \n }\n match(input,RULE_RPAREN,FollowSets005.FOLLOW_RULE_RPAREN_in_rule__MetaStatement__Group__4__Impl55054); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getMetaStatementAccess().getRPARENTerminalRuleCall_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": "8aa9fbc0cbcc7fe690afc1539b1740f4", "score": "0.54913986", "text": "public final void rule__UntilStatement__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRobotDsl.g:2087:1: ( rule__UntilStatement__Group__3__Impl )\n // InternalRobotDsl.g:2088:2: rule__UntilStatement__Group__3__Impl\n {\n pushFollow(FOLLOW_2);\n rule__UntilStatement__Group__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": "02727cef1c976653798c1c8151925276", "score": "0.5487579", "text": "public final void rule__SynchStatement__Group_2_4__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:11460:1: ( rule__SynchStatement__Group_2_4__1__Impl )\n // InternalAgreeParser.g:11461:2: rule__SynchStatement__Group_2_4__1__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__SynchStatement__Group_2_4__1__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": "8a74b71d202adfa5be3fc137a86e853b", "score": "0.54865026", "text": "public final void rule__WheneverStatement__Group_1_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:7705:1: ( rule__WheneverStatement__Group_1_0__0__Impl )\n // InternalAgreeParser.g:7706:2: rule__WheneverStatement__Group_1_0__0__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__WheneverStatement__Group_1_0__0__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": "03e766dd9c3d840490da333433cb6a27", "score": "0.5480348", "text": "public final void rule__WheneverStatement__Group_0_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:7612:1: ( rule__WheneverStatement__Group_0_1__1__Impl )\n // InternalAgreeParser.g:7613:2: rule__WheneverStatement__Group_0_1__1__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__WheneverStatement__Group_0_1__1__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": "ee7b15b05519b1a0c44b42390190dd88", "score": "0.5474865", "text": "public final void rule__IfStatement__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRobotDsl.g:2168:1: ( rule__IfStatement__Group__2__Impl rule__IfStatement__Group__3 )\n // InternalRobotDsl.g:2169:2: rule__IfStatement__Group__2__Impl rule__IfStatement__Group__3\n {\n pushFollow(FOLLOW_4);\n rule__IfStatement__Group__2__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__IfStatement__Group__3();\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": "03de19aecadc31aed9cd643c996e1d84", "score": "0.5469101", "text": "public final void rule__IfStatement__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRobotDsl.g:2114:1: ( rule__IfStatement__Group__0__Impl rule__IfStatement__Group__1 )\n // InternalRobotDsl.g:2115:2: rule__IfStatement__Group__0__Impl rule__IfStatement__Group__1\n {\n pushFollow(FOLLOW_14);\n rule__IfStatement__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__IfStatement__Group__1();\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": "5e3d18e6b8f0f6965c0122cdc0406573", "score": "0.5462122", "text": "public final void rule__BooleanAnswer__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalXercise.g:2476:1: ( rule__BooleanAnswer__Group__1__Impl )\n // InternalXercise.g:2477:2: rule__BooleanAnswer__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__BooleanAnswer__Group__1__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": "b171af15afac30906f07861b2bb93144", "score": "0.5461164", "text": "public final void rule__SynchStatement__Group_1_3__6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:11194:1: ( rule__SynchStatement__Group_1_3__6__Impl )\n // InternalAgreeParser.g:11195:2: rule__SynchStatement__Group_1_3__6__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__SynchStatement__Group_1_3__6__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": "a8c3bd486f5e237bd1a04b3aa21f5132", "score": "0.5461121", "text": "public final void rule__WheneverStatement__Group_0__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:7308:1: ( ( ( rule__WheneverStatement__Group_0_1__0 )? ) )\n // InternalAgreeParser.g:7309:1: ( ( rule__WheneverStatement__Group_0_1__0 )? )\n {\n // InternalAgreeParser.g:7309:1: ( ( rule__WheneverStatement__Group_0_1__0 )? )\n // InternalAgreeParser.g:7310:1: ( rule__WheneverStatement__Group_0_1__0 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getWheneverStatementAccess().getGroup_0_1()); \n }\n // InternalAgreeParser.g:7311:1: ( rule__WheneverStatement__Group_0_1__0 )?\n int alt55=2;\n int LA55_0 = input.LA(1);\n\n if ( (LA55_0==During) ) {\n alt55=1;\n }\n switch (alt55) {\n case 1 :\n // InternalAgreeParser.g:7311:2: rule__WheneverStatement__Group_0_1__0\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__WheneverStatement__Group_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.getWheneverStatementAccess().getGroup_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": "04745b6ca60e30bb6a2262abbaa6191c", "score": "0.5456838", "text": "public final void rule__RightStatement__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRobotDsl.g:1628:1: ( rule__RightStatement__Group__0__Impl rule__RightStatement__Group__1 )\n // InternalRobotDsl.g:1629:2: rule__RightStatement__Group__0__Impl rule__RightStatement__Group__1\n {\n pushFollow(FOLLOW_18);\n rule__RightStatement__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__RightStatement__Group__1();\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": "4e8371927178c71d076808e1fb18dba3", "score": "0.5456796", "text": "public final void rule__TrueCondition__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRobotDsl.g:1532:1: ( ( () ) )\n // InternalRobotDsl.g:1533:1: ( () )\n {\n // InternalRobotDsl.g:1533:1: ( () )\n // InternalRobotDsl.g:1534:2: ()\n {\n before(grammarAccess.getTrueConditionAccess().getTrueConditionAction_0()); \n // InternalRobotDsl.g:1535:2: ()\n // InternalRobotDsl.g:1535:3: \n {\n }\n\n after(grammarAccess.getTrueConditionAccess().getTrueConditionAction_0()); \n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "cc2fb787de6e53497445571426ce2588", "score": "0.5451673", "text": "public final void rule__Condition__Group__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:2571:1: ( ( ( rule__Condition__IfConditionAssignment_2 ) ) )\n // InternalGame.g:2572:1: ( ( rule__Condition__IfConditionAssignment_2 ) )\n {\n // InternalGame.g:2572:1: ( ( rule__Condition__IfConditionAssignment_2 ) )\n // InternalGame.g:2573:2: ( rule__Condition__IfConditionAssignment_2 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getConditionAccess().getIfConditionAssignment_2()); \n }\n // InternalGame.g:2574:2: ( rule__Condition__IfConditionAssignment_2 )\n // InternalGame.g:2574:3: rule__Condition__IfConditionAssignment_2\n {\n pushFollow(FOLLOW_2);\n rule__Condition__IfConditionAssignment_2();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getConditionAccess().getIfConditionAssignment_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": "ba219216414dc642383fa227429ff432", "score": "0.54454434", "text": "public final void rule__RelationshipEnd__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMASLParser.g:14785:1: ( ( ( rule__RelationshipEnd__ConditionalityAssignment_1 ) ) )\n // InternalMASLParser.g:14786:1: ( ( rule__RelationshipEnd__ConditionalityAssignment_1 ) )\n {\n // InternalMASLParser.g:14786:1: ( ( rule__RelationshipEnd__ConditionalityAssignment_1 ) )\n // InternalMASLParser.g:14787:2: ( rule__RelationshipEnd__ConditionalityAssignment_1 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRelationshipEndAccess().getConditionalityAssignment_1()); \n }\n // InternalMASLParser.g:14788:2: ( rule__RelationshipEnd__ConditionalityAssignment_1 )\n // InternalMASLParser.g:14788:3: rule__RelationshipEnd__ConditionalityAssignment_1\n {\n pushFollow(FOLLOW_2);\n rule__RelationshipEnd__ConditionalityAssignment_1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRelationshipEndAccess().getConditionalityAssignment_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": "87b70be36a1efb3f18a9c204c5afb699", "score": "0.5424707", "text": "public final void rule__BooleanExpression__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:2154:1: ( rule__BooleanExpression__Group__4__Impl )\n // InternalGame.g:2155:2: rule__BooleanExpression__Group__4__Impl\n {\n pushFollow(FOLLOW_2);\n rule__BooleanExpression__Group__4__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": "4c04fabbb66996d14aa5266387690ef3", "score": "0.5418651", "text": "public final void rule__SynchStatement__Group_0__6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:10738:1: ( rule__SynchStatement__Group_0__6__Impl )\n // InternalAgreeParser.g:10739:2: rule__SynchStatement__Group_0__6__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__SynchStatement__Group_0__6__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": "5f23ddf5f7bded29a554a218cefedfb5", "score": "0.54135257", "text": "public final void rule__RaiseStatement__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMASLParser.g:17581:1: ( rule__RaiseStatement__Group__2__Impl )\n // InternalMASLParser.g:17582:2: rule__RaiseStatement__Group__2__Impl\n {\n pushFollow(FOLLOW_2);\n rule__RaiseStatement__Group__2__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": "9532c62967cfca02243f0efc783ff19c", "score": "0.54132307", "text": "public final void rule__SynchStatement__Group_1__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:10950:1: ( ( ( ( rule__SynchStatement__Group_1_3__0 ) ) ( ( rule__SynchStatement__Group_1_3__0 )* ) ) )\n // InternalAgreeParser.g:10951:1: ( ( ( rule__SynchStatement__Group_1_3__0 ) ) ( ( rule__SynchStatement__Group_1_3__0 )* ) )\n {\n // InternalAgreeParser.g:10951:1: ( ( ( rule__SynchStatement__Group_1_3__0 ) ) ( ( rule__SynchStatement__Group_1_3__0 )* ) )\n // InternalAgreeParser.g:10952:1: ( ( rule__SynchStatement__Group_1_3__0 ) ) ( ( rule__SynchStatement__Group_1_3__0 )* )\n {\n // InternalAgreeParser.g:10952:1: ( ( rule__SynchStatement__Group_1_3__0 ) )\n // InternalAgreeParser.g:10953:1: ( rule__SynchStatement__Group_1_3__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getSynchStatementAccess().getGroup_1_3()); \n }\n // InternalAgreeParser.g:10954:1: ( rule__SynchStatement__Group_1_3__0 )\n // InternalAgreeParser.g:10954:2: rule__SynchStatement__Group_1_3__0\n {\n pushFollow(FollowSets000.FOLLOW_52);\n rule__SynchStatement__Group_1_3__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getSynchStatementAccess().getGroup_1_3()); \n }\n\n }\n\n // InternalAgreeParser.g:10957:1: ( ( rule__SynchStatement__Group_1_3__0 )* )\n // InternalAgreeParser.g:10958:1: ( rule__SynchStatement__Group_1_3__0 )*\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getSynchStatementAccess().getGroup_1_3()); \n }\n // InternalAgreeParser.g:10959:1: ( rule__SynchStatement__Group_1_3__0 )*\n loop67:\n do {\n int alt67=2;\n int LA67_0 = input.LA(1);\n\n if ( (LA67_0==RULE_ID) ) {\n alt67=1;\n }\n\n\n switch (alt67) {\n \tcase 1 :\n \t // InternalAgreeParser.g:10959:2: rule__SynchStatement__Group_1_3__0\n \t {\n \t pushFollow(FollowSets000.FOLLOW_52);\n \t rule__SynchStatement__Group_1_3__0();\n\n \t state._fsp--;\n \t if (state.failed) return ;\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop67;\n }\n } while (true);\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getSynchStatementAccess().getGroup_1_3()); \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 \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "43f2f24a7e7c945f3ace5bd153a7e744", "score": "0.54108274", "text": "public final void rule__WheneverStatement__Group_3_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:8554:1: ( rule__WheneverStatement__Group_3_0__0__Impl )\n // InternalAgreeParser.g:8555:2: rule__WheneverStatement__Group_3_0__0__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__WheneverStatement__Group_3_0__0__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": "4a76aa772d77b65636a854feb019b7d7", "score": "0.5409647", "text": "public final void rule__ExecuteStatement__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRobotDsl.g:1844:1: ( rule__ExecuteStatement__Group__1__Impl rule__ExecuteStatement__Group__2 )\n // InternalRobotDsl.g:1845:2: rule__ExecuteStatement__Group__1__Impl rule__ExecuteStatement__Group__2\n {\n pushFollow(FOLLOW_3);\n rule__ExecuteStatement__Group__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ExecuteStatement__Group__2();\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": "0f04e9252526b2e1b6cfc4b775a51204", "score": "0.5388908", "text": "public final void rule__UntilStatement__Group__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRobotDsl.g:2072:1: ( ( ( rule__UntilStatement__ConditionAssignment_2 ) ) )\n // InternalRobotDsl.g:2073:1: ( ( rule__UntilStatement__ConditionAssignment_2 ) )\n {\n // InternalRobotDsl.g:2073:1: ( ( rule__UntilStatement__ConditionAssignment_2 ) )\n // InternalRobotDsl.g:2074:2: ( rule__UntilStatement__ConditionAssignment_2 )\n {\n before(grammarAccess.getUntilStatementAccess().getConditionAssignment_2()); \n // InternalRobotDsl.g:2075:2: ( rule__UntilStatement__ConditionAssignment_2 )\n // InternalRobotDsl.g:2075:3: rule__UntilStatement__ConditionAssignment_2\n {\n pushFollow(FOLLOW_2);\n rule__UntilStatement__ConditionAssignment_2();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getUntilStatementAccess().getConditionAssignment_2()); \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": "a84c37483d28d46c488a416a782eeb88", "score": "0.5385978", "text": "public final void rule__WhenStatement__Group_1__7() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:7065:1: ( rule__WhenStatement__Group_1__7__Impl )\n // InternalAgreeParser.g:7066:2: rule__WhenStatement__Group_1__7__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__WhenStatement__Group_1__7__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": "971ef01ab3163dd161449abe319c77b3", "score": "0.5377516", "text": "public final void rule__BooleanExpression__Group_4__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalGame.g:2208:1: ( rule__BooleanExpression__Group_4__1__Impl )\n // InternalGame.g:2209:2: rule__BooleanExpression__Group_4__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__BooleanExpression__Group_4__1__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": "c281e5b92c3a4c4e2b25d3629444d1a6", "score": "0.5376332", "text": "public final void rule__WheneverStatement__Group_0_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:7329:1: ( rule__WheneverStatement__Group_0_0__0__Impl )\n // InternalAgreeParser.g:7330:2: rule__WheneverStatement__Group_0_0__0__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__WheneverStatement__Group_0_0__0__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": "98f38a62e5769e06bb9aa5463598a3e6", "score": "0.53748316", "text": "public final void rule__XRelationalExpression__Group_1_1_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:6688:1: ( rule__XRelationalExpression__Group_1_1_0_0__1__Impl )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:6689:2: rule__XRelationalExpression__Group_1_1_0_0__1__Impl\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_1_0_0__1__Impl_in_rule__XRelationalExpression__Group_1_1_0_0__113986);\n rule__XRelationalExpression__Group_1_1_0_0__1__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": "1f31f6a306bd4831759fedb6e01377ee", "score": "0.5370677", "text": "public final void rule__WhenStatement__Group_1_0_0__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:7230:1: ( rule__WhenStatement__Group_1_0_0__3__Impl )\n // InternalAgreeParser.g:7231:2: rule__WhenStatement__Group_1_0_0__3__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__WhenStatement__Group_1_0_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": "af68a4a810a13ebbff764851e6144d42", "score": "0.5369737", "text": "public final void rule__CancelTimerStatement__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMASLParser.g:18040:1: ( rule__CancelTimerStatement__Group__1__Impl )\n // InternalMASLParser.g:18041:2: rule__CancelTimerStatement__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__CancelTimerStatement__Group__1__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": "0121d93a9452a95648be9368ace1bda1", "score": "0.5364577", "text": "public final void rule__WheneverStatement__Group_2__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:8082:1: ( rule__WheneverStatement__Group_2__1__Impl )\n // InternalAgreeParser.g:8083:2: rule__WheneverStatement__Group_2__1__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__WheneverStatement__Group_2__1__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": "bf3503e6071ffb92537c1ef1ca4e88f4", "score": "0.5363654", "text": "public final void rule__WheneverStatement__Group_1_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:7716:1: ( ( ( rule__WheneverStatement__Group_1_0_0__0 ) ) )\n // InternalAgreeParser.g:7717:1: ( ( rule__WheneverStatement__Group_1_0_0__0 ) )\n {\n // InternalAgreeParser.g:7717:1: ( ( rule__WheneverStatement__Group_1_0_0__0 ) )\n // InternalAgreeParser.g:7718:1: ( rule__WheneverStatement__Group_1_0_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getWheneverStatementAccess().getGroup_1_0_0()); \n }\n // InternalAgreeParser.g:7719:1: ( rule__WheneverStatement__Group_1_0_0__0 )\n // InternalAgreeParser.g:7719:2: rule__WheneverStatement__Group_1_0_0__0\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__WheneverStatement__Group_1_0_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getWheneverStatementAccess().getGroup_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": "4d29c7cdad7be862e32f1f95dc533744", "score": "0.5362175", "text": "public final void rule__XRelationalExpression__Group_1_0_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:6532:1: ( rule__XRelationalExpression__Group_1_0_0_0__1__Impl )\n // ../org.xtext.httprouting.ui/src-gen/org/xtext/httprouting/ui/contentassist/antlr/internal/InternalRoute.g:6533:2: rule__XRelationalExpression__Group_1_0_0_0__1__Impl\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_0_0_0__1__Impl_in_rule__XRelationalExpression__Group_1_0_0_0__113682);\n rule__XRelationalExpression__Group_1_0_0_0__1__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": "00c14cb4a02f849bde66805f9e0d3521", "score": "0.5355411", "text": "public final void rule__S_Reflex__Group_3__0__Impl() throws RecognitionException {\n int rule__S_Reflex__Group_3__0__Impl_StartIndex = input.index();\n\n \t\tint stackSize = keepStackSize();\n \n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 409) ) { return ; }\n // InternalGaml.g:7480:1: ( ( 'when' ) )\n // InternalGaml.g:7481:1: ( 'when' )\n {\n // InternalGaml.g:7481:1: ( 'when' )\n // InternalGaml.g:7482:1: 'when'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getS_ReflexAccess().getWhenKeyword_3_0()); \n }\n match(input,119,FollowSets000.FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getS_ReflexAccess().getWhenKeyword_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, 409, rule__S_Reflex__Group_3__0__Impl_StartIndex); }\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" } ]
3d99986178e1f1700f479518793a6f02
Returns a new object of class 'Logical Or Expression'.
[ { "docid": "afbac3ecd7821edd01eaafd15ba77ebe", "score": "0.883223", "text": "LogicalOrExpression createLogicalOrExpression();", "title": "" } ]
[ { "docid": "8b8878e7e41ecbe1b77e85cf37e3eefd", "score": "0.874148", "text": "OrExpression createOrExpression();", "title": "" }, { "docid": "9e5990f15720404125713261585f1c2b", "score": "0.8141072", "text": "BitwiseOrExpression createBitwiseOrExpression();", "title": "" }, { "docid": "40b954354a9f2bfd0118f0282d0abcc5", "score": "0.76077235", "text": "Or() {\n super();\n }", "title": "" }, { "docid": "0beb05bb616b5b5f5ed4d684b9da3641", "score": "0.7457167", "text": "@IntermediateOperation\n public Persistable or() {\n conjuctionOperator = ConjuctionOperator.OR;\n return this;\n }", "title": "" }, { "docid": "aebaf48d51d3923e9c6c50fa551863e4", "score": "0.74494296", "text": "public NullaryOr() {\n super();\n }", "title": "" }, { "docid": "f872a0e27f593d786a0b7b909ab3b2ac", "score": "0.7425017", "text": "public static Conditional<?> or() {\n return INSTANCE.or();\n }", "title": "" }, { "docid": "78ec6ad19f48d4ecadb760274cdc7427", "score": "0.7231951", "text": "Expr parseOrTest() {\n Expr t = parseAndTest();\n while (at(\"or\")) {\n t = new Expr.Or(t, parseAndTest());\n }\n return t;\n }", "title": "" }, { "docid": "2b5be226e48f90d2b8126d4535ba7ccf", "score": "0.7217427", "text": "public OrFilter()\r\n {\r\n m_filterExprs = new ArrayList();\r\n }", "title": "" }, { "docid": "f00448242f8ec5972450e67e3bd4e8c0", "score": "0.7205201", "text": "public ExpressionChain or( \n boolean expression\n )\n {\n value = value || expression;\n \n return this;\n }", "title": "" }, { "docid": "4e2651028a162b1cdce8cb1ed6e5908c", "score": "0.7198904", "text": "public static LogicalExpression or(Criterion lhs, Criterion rhs) {\n return new LogicalExpression(lhs, rhs, \"or\");\n }", "title": "" }, { "docid": "e0a21c8edd7371755dd459c6468b9f1d", "score": "0.7188043", "text": "public B or() {\n this.or = true;\n return (B) this;\n }", "title": "" }, { "docid": "b444acb1d89b16236ee8e2efc85ba3cd", "score": "0.7170323", "text": "public java.util.List<Expression> getOr() {\n return or;\n }", "title": "" }, { "docid": "b294dc23667323f2339606e59006c506", "score": "0.7144656", "text": "public OrExpression(ConditionalExpression left,\n ConditionalExpression right) {\n super(left, right);\n }", "title": "" }, { "docid": "758ca8b8bf3aaf10aaa6d57b0b4a0dd7", "score": "0.71361226", "text": "public final void rule__LogicalOr__OperatorAssignment_1_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMASLParser.g:30492:1: ( ( ( Or ) ) )\n // InternalMASLParser.g:30493:2: ( ( Or ) )\n {\n // InternalMASLParser.g:30493:2: ( ( Or ) )\n // InternalMASLParser.g:30494:3: ( Or )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getLogicalOrAccess().getOperatorOrKeyword_1_1_0()); \n }\n // InternalMASLParser.g:30495:3: ( Or )\n // InternalMASLParser.g:30496:4: Or\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getLogicalOrAccess().getOperatorOrKeyword_1_1_0()); \n }\n match(input,Or,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getLogicalOrAccess().getOperatorOrKeyword_1_1_0()); \n }\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getLogicalOrAccess().getOperatorOrKeyword_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": "ae7cb9b99c2fcd089a7568627a6c4f94", "score": "0.712133", "text": "public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}", "title": "" }, { "docid": "ae7cb9b99c2fcd089a7568627a6c4f94", "score": "0.712133", "text": "public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}", "title": "" }, { "docid": "ae7cb9b99c2fcd089a7568627a6c4f94", "score": "0.712133", "text": "public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}", "title": "" }, { "docid": "ae7cb9b99c2fcd089a7568627a6c4f94", "score": "0.712133", "text": "public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}", "title": "" }, { "docid": "ae7cb9b99c2fcd089a7568627a6c4f94", "score": "0.712133", "text": "public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}", "title": "" }, { "docid": "ae7cb9b99c2fcd089a7568627a6c4f94", "score": "0.712133", "text": "public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}", "title": "" }, { "docid": "ae7cb9b99c2fcd089a7568627a6c4f94", "score": "0.712133", "text": "public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}", "title": "" }, { "docid": "ae7cb9b99c2fcd089a7568627a6c4f94", "score": "0.712133", "text": "public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}", "title": "" }, { "docid": "ae7cb9b99c2fcd089a7568627a6c4f94", "score": "0.712133", "text": "public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}", "title": "" }, { "docid": "ae7cb9b99c2fcd089a7568627a6c4f94", "score": "0.712133", "text": "public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}", "title": "" }, { "docid": "ae7cb9b99c2fcd089a7568627a6c4f94", "score": "0.712133", "text": "public Criteria or() {\n\t\tCriteria criteria = createCriteriaInternal();\n\t\toredCriteria.add(criteria);\n\t\treturn criteria;\n\t}", "title": "" }, { "docid": "b1ac98cf3d864ab8c7f5e641c0d57346", "score": "0.7117834", "text": "public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }", "title": "" }, { "docid": "b1ac98cf3d864ab8c7f5e641c0d57346", "score": "0.7117834", "text": "public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }", "title": "" }, { "docid": "b1ac98cf3d864ab8c7f5e641c0d57346", "score": "0.7117834", "text": "public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }", "title": "" }, { "docid": "b1ac98cf3d864ab8c7f5e641c0d57346", "score": "0.7117834", "text": "public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }", "title": "" }, { "docid": "b1ac98cf3d864ab8c7f5e641c0d57346", "score": "0.7117834", "text": "public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }", "title": "" }, { "docid": "b1ac98cf3d864ab8c7f5e641c0d57346", "score": "0.7117834", "text": "public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }", "title": "" }, { "docid": "b1ac98cf3d864ab8c7f5e641c0d57346", "score": "0.7117834", "text": "public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }", "title": "" }, { "docid": "b1ac98cf3d864ab8c7f5e641c0d57346", "score": "0.7117834", "text": "public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }", "title": "" }, { "docid": "b1ac98cf3d864ab8c7f5e641c0d57346", "score": "0.7117834", "text": "public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }", "title": "" }, { "docid": "b1ac98cf3d864ab8c7f5e641c0d57346", "score": "0.7117834", "text": "public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }", "title": "" }, { "docid": "b1ac98cf3d864ab8c7f5e641c0d57346", "score": "0.7117834", "text": "public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }", "title": "" }, { "docid": "b1ac98cf3d864ab8c7f5e641c0d57346", "score": "0.7117834", "text": "public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }", "title": "" }, { "docid": "b1ac98cf3d864ab8c7f5e641c0d57346", "score": "0.7117834", "text": "public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }", "title": "" }, { "docid": "b1ac98cf3d864ab8c7f5e641c0d57346", "score": "0.7117834", "text": "public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }", "title": "" }, { "docid": "b1ac98cf3d864ab8c7f5e641c0d57346", "score": "0.7117834", "text": "public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }", "title": "" }, { "docid": "b1ac98cf3d864ab8c7f5e641c0d57346", "score": "0.7117834", "text": "public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }", "title": "" }, { "docid": "b1ac98cf3d864ab8c7f5e641c0d57346", "score": "0.7117834", "text": "public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }", "title": "" }, { "docid": "b1ac98cf3d864ab8c7f5e641c0d57346", "score": "0.7117834", "text": "public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }", "title": "" }, { "docid": "b1ac98cf3d864ab8c7f5e641c0d57346", "score": "0.7117834", "text": "public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }", "title": "" }, { "docid": "b1ac98cf3d864ab8c7f5e641c0d57346", "score": "0.7117834", "text": "public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }", "title": "" }, { "docid": "b1ac98cf3d864ab8c7f5e641c0d57346", "score": "0.7117834", "text": "public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }", "title": "" }, { "docid": "b1ac98cf3d864ab8c7f5e641c0d57346", "score": "0.7117834", "text": "public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }", "title": "" }, { "docid": "b1ac98cf3d864ab8c7f5e641c0d57346", "score": "0.7117834", "text": "public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }", "title": "" }, { "docid": "b1ac98cf3d864ab8c7f5e641c0d57346", "score": "0.7117834", "text": "public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }", "title": "" }, { "docid": "b1ac98cf3d864ab8c7f5e641c0d57346", "score": "0.7117834", "text": "public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }", "title": "" }, { "docid": "b1ac98cf3d864ab8c7f5e641c0d57346", "score": "0.7117834", "text": "public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }", "title": "" }, { "docid": "b1ac98cf3d864ab8c7f5e641c0d57346", "score": "0.7117834", "text": "public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }", "title": "" }, { "docid": "b1ac98cf3d864ab8c7f5e641c0d57346", "score": "0.7117834", "text": "public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }", "title": "" }, { "docid": "b1ac98cf3d864ab8c7f5e641c0d57346", "score": "0.7117834", "text": "public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }", "title": "" }, { "docid": "b1ac98cf3d864ab8c7f5e641c0d57346", "score": "0.7117834", "text": "public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }", "title": "" }, { "docid": "b1ac98cf3d864ab8c7f5e641c0d57346", "score": "0.7117834", "text": "public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }", "title": "" }, { "docid": "b1ac98cf3d864ab8c7f5e641c0d57346", "score": "0.7117834", "text": "public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }", "title": "" }, { "docid": "b1ac98cf3d864ab8c7f5e641c0d57346", "score": "0.7117834", "text": "public Criteria or() {\r\n Criteria criteria = createCriteriaInternal();\r\n oredCriteria.add(criteria);\r\n return criteria;\r\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" }, { "docid": "75570584ebb5f67d24f08b069e85d78c", "score": "0.71138936", "text": "public Criteria or() {\n Criteria criteria = createCriteriaInternal();\n oredCriteria.add(criteria);\n return criteria;\n }", "title": "" } ]
84121892166ebb58a7c25f913917f9be
perform actions when a button is pressed in RPS GUI
[ { "docid": "0f6f489dc2891083e1aa554ad769a2d9", "score": "0.0", "text": "public void actionPerformed(ActionEvent e)\n\t\t{\n\t\t\tif(e.getSource() == btnShoot)\n\t\t\t{\n\t\t\t\tif(btnRock.isSelected())\n\t\t\t\t{\n\t\t\t\t\tuser.setWeapon(\"Rock\");\n\t\t\t\t\tuserWeaponLabel.setText(\"Rock\");\n\t\t\t\t\tSystem.out.println(\"user selected rock\");\n\n\t\t\t\t\ttry{\n\t\t\t\t\t\tuserWeaponImage = ImageIO.read(new File(\"rock.jpeg\"));\n\t\t\t\t\t\tuserWeaponLabel.setIcon( new ImageIcon(userWeaponImage));\n\n\t\t\t\t\t}\n\t\t\t\t\tcatch(IOException ioe)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.println(\"rock image failed to load\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(btnPaper.isSelected())\n\t\t\t\t{\n\t\t\t\t\tuser.setWeapon(\"Paper\");\n\t\t\t\t\tSystem.out.println(\"user selected paper\");\n\t\t\t\t\tuserWeaponLabel.setText(\"Paper\");\n\n\t\t\t\t\ttry{\n\t\t\t\t\t\tuserWeaponImage = ImageIO.read(new File(\"paper.jpeg\"));\n\t\t\t\t\t\tuserWeaponLabel.setIcon( new ImageIcon(userWeaponImage));\n\t\t\t\t\t}\n\t\t\t\t\tcatch(IOException ioe)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.println(\"paper image failed to load\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(btnScissors.isSelected())\n\t\t\t\t{\n\t\t\t\t\tuser.setWeapon(\"Scissors\");\n\t\t\t\t\tSystem.out.println(\"user selected scissors\");\n\t\t\t\t\tuserWeaponLabel.setText(\"Scissors\");\n\n\t\t\t\t\ttry{\n\t\t\t\t\t\tuserWeaponImage = ImageIO.read(new File(\"scissors.jpeg\"));\n\t\t\t\t\t\tuserWeaponLabel.setIcon( new ImageIcon(userWeaponImage));\n\n\t\t\t\t\t}\n\t\t\t\t\tcatch(IOException ioe)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.println(\"scissors image failed to load\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\ttry{\n\t\t\t\t\tcpuWeaponLabel = cpuChooseWeapon(cpu, cpuWeaponLabel);\n\t\t\t\t\tcpu.setWeapon(cpuWeaponLabel.getText());\n\t\t\t\t}\n\t\t\t\tcatch(IOException ioe){System.out.println(ioe);}\n\n\t\t\t\tvictorLabel.setText(\"Winner is: \");\n\t\t\t\tvictorLabel.setText( victorLabel.getText() + decideWinner(user, cpu));\n\n\t\t\t}\n\t\t}", "title": "" } ]
[ { "docid": "5931500510cd0822d8d89b019d7ecc5f", "score": "0.7226627", "text": "public void buttonPressed(ActionEvent event) {\n String buttonID = ((Button) event.getSource()).getId();\n\n switch(buttonID)\n {\n case \"setupMtgButton\" : new ApiDialog(Global.dashboardStage,false, Constant.MTGOX).show(); break;\n case \"setupBtceBtn\" : new ApiDialog(Global.dashboardStage,false, Constant.BTCE).show(); break;\n case \"setupBitstampBtn\" : new ApiDialog(Global.dashboardStage,false, Constant.BITSTAMP).show(); break;\n default : Utils.log(\"Calling buttonPressed with wrong id : \"+buttonID, Utils.LOG_ERR); break;\n }\n }", "title": "" }, { "docid": "94f52f0244c209388644628a13081d3d", "score": "0.7141812", "text": "@Override\r\n\tpublic void buttonClick(String button) {\n\r\n\t}", "title": "" }, { "docid": "2c2fefd1b60aa18cba1f9eb5b547c46b", "score": "0.7094355", "text": "public void action(){\n button.setOnAction(event);\n // when button is pressed\n button4.setOnAction(event4);\n }", "title": "" }, { "docid": "259cfb896fed4080b0ed7a05ec1b8be0", "score": "0.701101", "text": "public void doButton( ActionEvent event )\n {\n if (running == false){\n new ConnectionThread (this);\n }\n else{\n serverContinue = false;\n ssButton.setText (\"Start Listening\");\n portInfo.setText (\" Not Listening \");\n }\n }", "title": "" }, { "docid": "1f70d3fcb948cf8ebc3733f4ed44e9bc", "score": "0.6974391", "text": "public void buttonPressed(boolean powerbutton)\n\t{\n\t}", "title": "" }, { "docid": "eaf9ad13455d448fcb01e932b9b5f376", "score": "0.6962856", "text": "static void RecButtonPressed(java.awt.event.ActionEvent event) {\r\n\t\tController.DisplayRectangle();\r\n\t\tmainPanel.updateUI();\r\n\t}", "title": "" }, { "docid": "8a8aefab6d7bf8f5888cb8b868b87912", "score": "0.6915464", "text": "void onButtonPressed(int button);", "title": "" }, { "docid": "c6c42aa7acc3488a1e3cb90628fe1336", "score": "0.6906886", "text": "public void buttonWasPressed() {\n\t\tslot.execute();\n\t}", "title": "" }, { "docid": "13d80ad950a0d3c1daf69d385f8c7b78", "score": "0.6899313", "text": "private void handleButtonsEvents() {\n }", "title": "" }, { "docid": "ee2afdf2b2bb98660f9b5dcae35855fb", "score": "0.68703866", "text": "@Override\r\n\tpublic void notifyButtonPressed() {\n\t\t\r\n\t}", "title": "" }, { "docid": "807d2209c2993ce28a86c8147f3817f9", "score": "0.6855525", "text": "public void processButton(){\n\t\t\n\t\tnew Thread(new Runnable() {\n\t\t\t@Override\n\t\t\tpublic void run() {\n\t\t\t\tsendFrame();\n\t\t\t\t//releaseListeners();\n\t\t\t}\n\t\t}).start();\n\t}", "title": "" }, { "docid": "fb7e6312736b119ec4c182cd49bfd141", "score": "0.68468547", "text": "void executeButton_actionPerformed(java.awt.event.ActionEvent event)\n\t{\n\t\t\t \n\t\texecuteButton_actionPerformed_Interaction1(event);\n\t}", "title": "" }, { "docid": "db1dcd4018bf1107ebbe5829fd6bd46f", "score": "0.6833506", "text": "@Override\r\n public void execute(int btnPressed) {\n \r\n }", "title": "" }, { "docid": "54aaf3cf295740baf06b954c16c702c2", "score": "0.6825747", "text": "private void button1ActionPerformed(ActionEvent e) {\n }", "title": "" }, { "docid": "54aaf3cf295740baf06b954c16c702c2", "score": "0.6825747", "text": "private void button1ActionPerformed(ActionEvent e) {\n }", "title": "" }, { "docid": "54aaf3cf295740baf06b954c16c702c2", "score": "0.6825747", "text": "private void button1ActionPerformed(ActionEvent e) {\n }", "title": "" }, { "docid": "610bae466a6558552639d00ef1ce9be2", "score": "0.6765383", "text": "void buttonClicked(EDAButtonEvent e);", "title": "" }, { "docid": "6cf94ed9995e12e355b48bddecf1944f", "score": "0.67573255", "text": "void applyPressed(ActionEvent ev);", "title": "" }, { "docid": "29d433464b4f35eb8e1c25d31ea4996a", "score": "0.6736755", "text": "protected void actionPerformed(GuiButton button) throws IOException {\n/* 111 */ if (button.id == 69)\n/* */ {\n/* 113 */ (Client.getModule(\"ChestSteal\")).toggled = false;\n/* */ }\n/* */ \n/* 116 */ if (button.id == 54)\n/* */ {\n/* 118 */ (Client.getModule(\"KillAura\")).toggled = false;\n/* */ }\n/* */ }", "title": "" }, { "docid": "081083af1d8e032acad5820d4537d6b7", "score": "0.67289543", "text": "private void buttonListener() {\n\t\t// listens to buttons and make decision based on what is pressed or if\n\t\t// game is prompting\n\t\tswitch (bS) {\n\t\tcase uninitiated:\n\t\t\tif (startButton.getModel().isPressed()) {\n\t\t\t\tbS = buttonState.startP;\n\t\t\t\tprompt();\n\t\t\t} else if (hTP.getModel().isPressed()) {\n\t\t\t\thideMenus();\n\t\t\t\thTPMENU.setVisible(true);\n\t\t\t} else if (settings.getModel().isPressed()) {\n\t\t\t\thideMenus();\n\t\t\t\tsettingsMenu.setVisible(true);\n\t\t\t\tupButton.setVisible(true);\n\t\t\t\tdownButton.setVisible(true);\n\t\t\t\trightButton.setVisible(true);\n\t\t\t\tleftButton.setVisible(true);\n\t\t\t} else if (credits.getModel().isPressed()) {\n\t\t\t\thideMenus();\n\t\t\t\tcreditsMenu.setVisible(true);\n\t\t\t} else if (exit.getModel().isPressed()) {\n\t\t\t\tbS = buttonState.quitP;\n\t\t\t\tprompt();\n\t\t\t}\n\t\t\tbreak;\n\t\tcase standard:\n\t\t\tif (startButton.getModel().isPressed()) {\n\t\t\t\tbS = buttonState.notVis;\n\t\t\t\tgS = gameState.unpaused;\n\t\t\t} else if (hTP.getModel().isPressed()) {\n\t\t\t\thideMenus();\n\t\t\t\thTPMENU.setVisible(true);\n\t\t\t} else if (settings.getModel().isPressed()) {\n\t\t\t\thideMenus();\n\t\t\t\tsettingsMenu.setVisible(true);\n\t\t\t\tupButton.setVisible(true);\n\t\t\t\tdownButton.setVisible(true);\n\t\t\t\trightButton.setVisible(true);\n\t\t\t\tleftButton.setVisible(true);\n\t\t\t} else if (credits.getModel().isPressed()) {\n\t\t\t\thideMenus();\n\t\t\t\tcreditsMenu.setVisible(true);\n\t\t\t} else if (exit.getModel().isPressed()) {\n\t\t\t\tbS = buttonState.quitP;\n\t\t\t\tprompt();\n\t\t\t}\n\t\t\t// } else if (upButton.getModel().isPressed()) {\n\t\t\t// bS = buttonState.changingButtons;\n\t\t\t// bCS = buttonChangingState.up;\n\t\t\t// } else if (downButton.getModel().isPressed()) {\n\t\t\t// bS = buttonState.changingButtons;\n\t\t\t// bCS = buttonChangingState.down;\n\t\t\t// } else if (rightButton.getModel().isPressed()) {\n\t\t\t// bS = buttonState.changingButtons;\n\t\t\t// bCS = buttonChangingState.right;\n\t\t\t// } else if (leftButton.getModel().isPressed()) {\n\t\t\t// bS = buttonState.changingButtons;\n\t\t\t// bCS = buttonChangingState.left;\n\n\t\t\tbreak;\n\t\tcase quitP:\n\t\t\t// if yes is pressed return variable true\n\t\t\tif (playPromptYes.getModel().isPressed()) {\n\t\t\t\tyesNoMenu.setVisible(false);\n\t\t\t\tplayPromptYes.setVisible(false);\n\t\t\t\tplayPromptNo.setVisible(false);\n\t\t\t\tSystem.exit(1);\n\t\t\t} else if (playPromptNo.getModel().isPressed()) {\n\t\t\t\tyesNoMenu.setVisible(false);\n\t\t\t\tplayPromptYes.setVisible(false);\n\t\t\t\tplayPromptNo.setVisible(false);\n\t\t\t\tbS = buttonState.standard;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase startP:\n\t\t\tif (playPromptYes.getModel().isPressed()) {\n\t\t\t\tyesNoMenu.setVisible(false);\n\t\t\t\tplayPromptYes.setVisible(false);\n\t\t\t\tplayPromptNo.setVisible(false);\n\t\t\t\tstartButton.setText(\"CONTINUE\");\n\t\t\t\tbS = buttonState.notVis;\n\t\t\t\tgS = gameState.unpaused;\n\t\t\t} else if (playPromptNo.getModel().isPressed()) {\n\t\t\t\tyesNoMenu.setVisible(false);\n\t\t\t\tplayPromptYes.setVisible(false);\n\t\t\t\tplayPromptNo.setVisible(false);\n\t\t\t\tbS = buttonState.standard;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase notVis:\n\t\t\t;\n\t\t\tbreak;\n\t\tcase changingButtons:\n\t\t\t// switch (bCS) {\n\t\t\t// case up:\n\t\t\t// upKey = nextPressed;\n\t\t\t// bS = buttonState.standard;\n\t\t\t// break;\n\t\t\t// case down:\n\t\t\t// downKey = nextPressed;\n\t\t\t// bS = buttonState.standard;\n\t\t\t// break;\n\t\t\t// case left:\n\t\t\t// leftKey = nextPressed;\n\t\t\t// bS = buttonState.standard;\n\t\t\t// break;\n\t\t\t// case right:\n\t\t\t// rightKey = nextPressed;\n\t\t\t// bS = buttonState.standard;\n\t\t\t// break;\n\t\t\t// case buy:\n\t\t\t// break;\n\t\t\t// case notChanging:\n\t\t\t// bS = buttonState.standard;\n\t\t\t// break;\n\t\t\t// default:\n\t\t\t// break;\n\t\t\t// }\n\t\t\tbreak;\n\t\t}\n\t}", "title": "" }, { "docid": "b57c06b3a4697024a22c325ca0b0bb4c", "score": "0.670501", "text": "public void calsButton(ActionEvent event) {\n int index = 1;\n openGraphView(event,index);\n }", "title": "" }, { "docid": "d37c6193aad35fe1fa74ff14058db925", "score": "0.6701751", "text": "@Override\n\t\t\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\t\tSystem.out.println(\"Button pressed!\");\n\t\t\t\t\t}", "title": "" }, { "docid": "4ecb1681007797e82b710fff9f9df327", "score": "0.66972274", "text": "public void SEButtonActionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\n\t}", "title": "" }, { "docid": "9647c1a88fa1b76b5a2c2ea90ddac54d", "score": "0.66919434", "text": "public void onPressed(Button button);", "title": "" }, { "docid": "d661fbb8abfe983cc03e259d9ec38fd0", "score": "0.6690109", "text": "protected void actionPerformed(GuiButton par1GuiButton) {\n\t\tif (par1GuiButton.id == 0) {\n\t\t\tthis.mc.displayGuiScreen(new GuiMainMenu());\n\t\t} else if (par1GuiButton.id == 1) {\n\t\t\tthis.mc.shutdown();\n\t\t}\n\t}", "title": "" }, { "docid": "ad7ea87b379922bdc31ccfa26f513685", "score": "0.6682846", "text": "public void buttonPressed() {\n\t\tPoint p = /*surface.actualCoordinatesToAssumed(*/new Point(surface.mouseX,surface.mouseY);\n\t\tif (button.contains(p)) {\n\t\t\tsurface.switchScreen(ScreenSwitcher.MENU_SCREEN);\n\t\t}\n\t}", "title": "" }, { "docid": "7c715b5281cfc6dd04130e71239be3d7", "score": "0.66814893", "text": "public void buttonPerformed(String button)\n {\n if( button.equals(\"Start Line\") ) { startLine(); }\n else if( button.equals(\"Line Length\") ) { UI.println(\"Line Length: \" + totalLineLength + \" pixles\"); }\n else if( button.equals(\"Choose Image\") )\n {\n // Display popup to get new file location then set it to the background image\n // and redisplay the polyline\n String URL = UIFileChooser.open();\n setNewImage(URL);\n startLine();\n }\n }", "title": "" }, { "docid": "d442257d35a5d7af2f8a80d8a9abf967", "score": "0.66713214", "text": "private void btnCancionActionPerformed(ActionEvent e) {\n\t}", "title": "" }, { "docid": "0604c9318d33bf54c81af68ecf902770", "score": "0.66518986", "text": "private void btnCompaniaActionPerformed(ActionEvent e) {\n\t}", "title": "" }, { "docid": "eb79fa98be17a79c08cbe0c49af04a93", "score": "0.66502637", "text": "private void huyBtnActionPerformed(java.awt.event.ActionEvent evt) {\n Huy();\n }", "title": "" }, { "docid": "b19d304d41a9a917e08ce40401c018ee", "score": "0.66369486", "text": "public void actionRpress();", "title": "" }, { "docid": "80d6e2948c31bfb65778793de112f8c5", "score": "0.66331315", "text": "static void BluButtonPressed(java.awt.event.ActionEvent event) {\r\n\t\tController.ChangeToBlue();\r\n\t\tmainPanel.updateUI();\r\n\t}", "title": "" }, { "docid": "5469f426474896c0895d9faec3226041", "score": "0.663076", "text": "@Override\r\n\tpublic void controllerButtonPressed(int arg0, int arg1) {\n\r\n\t}", "title": "" }, { "docid": "65fa573a69920e3e14dc70d62d5d2eb6", "score": "0.6630691", "text": "private void updateButtonClicked(){\n\t\r\n }", "title": "" }, { "docid": "b05b52a26b4809b59b0a0a8f159d3292", "score": "0.66155976", "text": "@Override\r\n public void run() {\r\n GUIElementFactory.createActionItem(5, null, new ActionItem.ActionHandler() {\r\n @Override\r\n public void onClick(GUIClickEvent event) {\r\n\r\n }\r\n });\r\n }", "title": "" }, { "docid": "5854947b563ea13789c76d4c9c5ae77f", "score": "0.661159", "text": "void generateScript1Button_actionPerformed(java.awt.event.ActionEvent event)\n\t{\n\t\t\t \n\t\tgenerateScript1Button_actionPerformed_Interaction1(event);\n\t}", "title": "" }, { "docid": "288eb3d1a269e3761b89ba8c50a44887", "score": "0.66110015", "text": "@Override \n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t \t runProgram ();\n\t }", "title": "" }, { "docid": "0a00d3767ed0c3e893edb5d16abf709a", "score": "0.6608406", "text": "protected void actionPerformed(GuiButton par1GuiButton)\n {\n if (par1GuiButton.enabled)\n {\n if (par1GuiButton.id == 2)\n {\n this.snooperGameSettings.saveOptions();\n this.snooperGameSettings.saveOptions();\n this.mc.displayGuiScreen(this.snooperGuiScreen);\n }\n\n if (par1GuiButton.id == 1)\n {\n this.snooperGameSettings.setOptionValue(EnumOptions.SNOOPER_ENABLED, 1);\n this.buttonAllowSnooping.displayString = this.snooperGameSettings.getKeyBinding(EnumOptions.SNOOPER_ENABLED);\n }\n }\n }", "title": "" }, { "docid": "a60170a56f8ff766edfac79fa6024fd7", "score": "0.6596253", "text": "@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tnoteScreen(\"\", \"\");\t\r\n\t\t\t\tmakeButtonPanel();\r\n\t\t\t}", "title": "" }, { "docid": "80227882a3e6835919d8311eea709f1d", "score": "0.65955067", "text": "public void actionPerformed(ActionEvent event){\n if(event.getActionCommand().equals(\"Start\")){\r\n t.updateStatus(1);\r\n btn0.setText(\"Pause\");\r\n }else if(event.getActionCommand().equals(\"Pause\")){\r\n t.updateStatus(2);\r\n btn0.setText(\"Resume\");\r\n }else if(event.getActionCommand().equals(\"Resume\")){\r\n t.updateStatus(3);\r\n btn0.setText(\"Pause\");\r\n }else if(event.getActionCommand().equals(\"Reset\")){\r\n t.updateStatus(0);\r\n btn0.setText(\"Start\");\r\n }\r\n }", "title": "" }, { "docid": "22d4f945351fbb4283ada7a5b62dec03", "score": "0.6594775", "text": "void setupWindowButtons();", "title": "" }, { "docid": "5fd0e0888b9b6cefdb47d9b3bfa88904", "score": "0.65869737", "text": "@Override\n\t\t\tpublic void actionPerformed()\n\t\t\t{\n\n\t\t\t}", "title": "" }, { "docid": "952f35da27b30c46154a12ed10b0b25a", "score": "0.6584864", "text": "public void CSButtonActionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\n\t}", "title": "" }, { "docid": "210872af0eb43d119c1f29073ea66844", "score": "0.6577968", "text": "public void setupButtons() { \n }", "title": "" }, { "docid": "c47e014a3d95b94309389819843f865c", "score": "0.6576969", "text": "private void dispGuiOnButton(){\n\t\tp.pushMatrix();\n\t\t\tp.image(this.demoDevIcons[((p.allFlagsSet(myConsts.demoDevMode, myConsts.renderDemoGui) || \n\t\t\t\t\t((p.allFlagsFalse(myConsts.demoDevMode))) && (p.allFlagsSet(myConsts.renderGui))) ? this.DemoMode+2 : this.DevMode+2)],this.globClickX/2.07f - 80, globClickY/2.05f - 20, 50,30); //40,20); \t\n\t\tp.popMatrix();\t\t\n\t}", "title": "" }, { "docid": "19caeaafc693d27a98fa88f5c7dcb536", "score": "0.65703064", "text": "private void jButtonAffectRecommandActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" }, { "docid": "bc647be0316501197735279abffd0856", "score": "0.65678227", "text": "public void clickButton()\n\t{\n\t\tGraphics\tg = this.getGraphics();\n\n\t\tif (button_image != null && g != null)\n\t\t{\n\t\t\t//***** Draw the rect in black\n\t\t\tg.fillRect(0,0,this.getSize().width, this.getSize().height);\n\n\t\t\t//***** Wait around briefly\n\t\t\ttry{Thread.sleep(20);}catch (Exception e){}\n\n\t\t\t//***** Restore the image\n\t\t\tupdateImage(g);\n\n\t\t\t//***** Get rid of the graphics context\n\t\t\tg.dispose();\n\t\t}\n\n\t\treturn;\n\n\t}", "title": "" }, { "docid": "bdb767d584f9c822009ec85f64d18202", "score": "0.6565005", "text": "public void actionPerformed(ActionEvent event) {\r\n String command = event.getActionCommand();\r\n\r\n if (command.equals(\"OK\")) {\r\n\r\n if (setVariables()) {\r\n callAlgorithm();\r\n }\r\n } else if (command.equals(\"Cancel\")) {\r\n dispose();\r\n } else if (command.equals(\"Help\")) {\r\n //MipavUtil.showHelp(\"\");\r\n } \r\n }", "title": "" }, { "docid": "0e2ed13392299d3a82be8cf8bf23f47e", "score": "0.6561338", "text": "void onButtonReleased(int button);", "title": "" }, { "docid": "23aada2dcac456ac2235a99c51b57f4d", "score": "0.6560579", "text": "private void button1MouseClicked(MouseEvent e) {\n\n }", "title": "" }, { "docid": "42046b2d08518478405d68808ee07707", "score": "0.65585816", "text": "public void buttonWasPressed(){\n slot.execute();\n }", "title": "" }, { "docid": "f98c084dcbb3c67f7f62bc9922cebab1", "score": "0.65545666", "text": "static void YelButtonPressed(java.awt.event.ActionEvent event) {\r\n\t\tController.ChangeToYellow();\r\n\t\tmainPanel.updateUI();\r\n\t}", "title": "" }, { "docid": "c6eabcf4e8eafb990284ad8039d6f205", "score": "0.654341", "text": "public void actionPerformed(){}", "title": "" }, { "docid": "fc94183622b0a651e38cfa4edb5c0243", "score": "0.6539516", "text": "public void actionPerformed(ActionEvent event) {\r\n String command = event.getActionCommand();\r\n\r\n if (command.equals(\"OK\")) {\r\n\r\n if (setVariables()) {\r\n callAlgorithm();\r\n }\r\n } else if (command.equals(\"Cancel\")) {\r\n dispose();\r\n } else if (command.equals(\"Help\")) {\r\n //MipavUtil.showHelp(\"10040\");\r\n MipavUtil.showWebHelp(\"Registration:_Landmark-Least_Squares\");\r\n } else {\r\n super.actionPerformed(event);\r\n }\r\n }", "title": "" }, { "docid": "1129c3adde42c5cce920414ff7c48298", "score": "0.65363836", "text": "public void actionPerformed(ActionEvent e) {\n fireButtonClicked(e.getSource(), e.getActionCommand());\n }", "title": "" }, { "docid": "7ae341d9b0ffcdd598ecd63122c6998f", "score": "0.65355927", "text": "@FXML\n\tprivate void buttonPressed(ActionEvent e) {\n\n\t\tNode node = (Node) e.getSource();\n\t\tInteger nodeCol = 0;\n\t\tInteger nodeRow = GridPane.getRowIndex(node)-1;\n\t\t\n\t\tAskQuestionInternationalService askQuestion = new AskQuestionInternationalService();\n\t\t\taskQuestion.setCatAndClue(nodeCol, nodeRow);\n\t\t\taskQuestion.start();\n\t\t}", "title": "" }, { "docid": "eb3208e7302dbd4603e77f15cd667a81", "score": "0.6519715", "text": "public void action1press();", "title": "" }, { "docid": "adc42b234c0d829c2699b659851c028e", "score": "0.6510518", "text": "private void on_button_test_click(){\r\n\t\tJOptionPane.showMessageDialog(this, \"Click\");\r\n\t}", "title": "" }, { "docid": "5b09c8814248a698dc5cc9615ddedfa5", "score": "0.65061045", "text": "private void jButton1ActionPerformed(ActionEvent e) {\n }", "title": "" }, { "docid": "03dc45b9464c7a2831d1d7e6d14085f1", "score": "0.650005", "text": "public void actionPerformed(ActionEvent e)\n {\n String screenToPaint; //variable to store what's written on the button\n \n screenToPaint = e.getActionCommand(); //gets what is written on the button and store in screenToPaint variable\n \n if(screenToPaint.equals(\"Kinematics Pt1\"))\n {\n this.theGUI.displayK1Eqns(); //display k1 equations page\n } //end else if\n \n else if(screenToPaint.equals(\"Kinematics Pt2\"))\n {\n this.theGUI.displayK2Eqns(); //display k2 equations page\n } //end else if\n \n else if(screenToPaint.equals(\"Forces & Dynamics\"))\n {\n this.theGUI.displayFDEqns(); //display forces and dynamics equations page\n } //end else if\n \n else if(screenToPaint.equals(\"Conversions\"))\n {\n this.theGUI.displayCCUnits(); //display conversions unit page\n } //end else if \n \n }", "title": "" }, { "docid": "ffb5246e906125e75e2cb0c697085a1c", "score": "0.6497195", "text": "static void RedButtonPressed(java.awt.event.ActionEvent event) {\r\n\t\tController.ChangeToRed();\r\n\t\tmainPanel.updateUI();\r\n\t}", "title": "" }, { "docid": "121c67f73ec2cf6ec86da5fd87d576e2", "score": "0.6493449", "text": "public void actionPerformed(ActionEvent event){\n\n\tif(event.getSource() == buttonqr) {save_key_clipboard();}\n\n\tif(event.getSource() == exit_save) {settingsx[9] = \"1\"; savex(); xmining = 0; systemx.shutdown(); System.exit(0);}\n\tif(event.getSource() == exit) {System.exit(0);}\n\tif(event.getSource() == edit_token) {edit_item xx = new edit_item();}\n\tif(event.getSource() == node_status) {}\n\tif(event.getSource() == edit_get_ids) {get_ids();}\n\tif(event.getSource() == database_test) {testDatabase();}\n\n\tif(event.getSource() == account_public_key) {save_pub_key_clipboard();}\n\tif(event.getSource() == account_private_key) {save_pri_key_clipboard();}\n\tif(event.getSource() == account_import) {import_private_key();}\n\n\tif(event.getSource() == all_yes) {settingsx[7] = \"1\"; savex();}\n\tif(event.getSource() == x100_yes) {settingsx[7] = \"0\"; savex();}\n\n\tif(event.getSource() == nodes_yes) {settingsx[8] = \"1\"; savex();}\n\tif(event.getSource() == nodes_no) {settingsx[8] = \"0\"; savex();}\n\n\tif(event.getSource() == tools_new_keys) {get_new_keys();}\n\tif(event.getSource() == tools_print_blocks) {}\n\n\tif(event.getSource() == button1) {}\n\tif(event.getSource() == button2) {}\n\tif(event.getSource() == button3) {}\n\tif(event.getSource() == button4) {}\n\tif(event.getSource() == button5) {}\n\tif(event.getSource() == button6) {}\n\tif(event.getSource() == button7) {}\n\n\tif(event.getSource() == runx) {run_commandx();}\n\n\tif(event.getSource() == node_import) {set_new_node();}\n\tif(event.getSource() == node_delete) {delete_node();}\n\tif(event.getSource() == node_delete_all) {delete_network();}\n\n}", "title": "" }, { "docid": "5f09d2de0e4ee67a13f9dd150cb30ac1", "score": "0.64894336", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n if(e.getActionCommand().equals(OPCION_1)){\n System.out.println(\"hola\");\n }else if (e.getActionCommand().equals(BTN_ADD_CURSO)){\n System.out.println(\"Agregar un curso\");\n }\n\n\n \n }", "title": "" }, { "docid": "25f20c0c10e4d3298f012f275f45c16b", "score": "0.6483839", "text": "private void button_MatchesActionPerformed(ActionEvent e) {\n\t\tMain1.matchesScreen();\n\t}", "title": "" }, { "docid": "77cb8bbc28f2d4f2b58f4d7edb61be4c", "score": "0.64799243", "text": "private void btnArtistaActionPerformed(ActionEvent e) {\n\t}", "title": "" }, { "docid": "38c32942dda2e436b7446009e6be81b6", "score": "0.6478631", "text": "void okPressed(ActionEvent ev);", "title": "" }, { "docid": "a94558f92a68ab73e50c746d5b9cbd0a", "score": "0.6471769", "text": "@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\n\t\tif (e.getSource() == jb1) {\n\t\t\tJOptionPane.showMessageDialog(null, \"Is your refrigerator running?\");\n\t\t}\n\n\t\telse if (e.getSource() == jb2) {\n\t\t\tJOptionPane.showMessageDialog(null, \"Well you better go catch it!\");\n\t\t}\n\n\t}", "title": "" }, { "docid": "5ccf52cf1d75f0113659577c560a1670", "score": "0.6461431", "text": "private void registLearnButton() {\n }", "title": "" }, { "docid": "f029dd9a4f5c4ae91baf3573ef6b80f9", "score": "0.6451007", "text": "private void btnGeneroActionPerformed(ActionEvent e) {\n\t}", "title": "" }, { "docid": "5d48304e70cd9e8d9cf52b9f2f4cff4b", "score": "0.64506185", "text": "@Override\r\n\tpublic void buttonClick(ClickEvent event) {\n\t\t\r\n\t}", "title": "" }, { "docid": "ee86e9546648214afe58e8bc3373351f", "score": "0.64489496", "text": "public void actionPerformed (ActionEvent evt){\n //gets the source of the button pressed\n Object src = evt.getSource(); \n if(src == doneButton){ \n doneButtonScreen(); \n }\n else if (src == nextStudentButton){\n nextButtonScreen();\n }\n }", "title": "" }, { "docid": "bc249e282a7907fa3b767ba163b94631", "score": "0.64244676", "text": "@Override\n\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\tstatutPointeur();\n\t\t}", "title": "" }, { "docid": "338598d6f128c9abf8961da8f3b73989", "score": "0.64187616", "text": "@Override\n\t\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "338598d6f128c9abf8961da8f3b73989", "score": "0.64187616", "text": "@Override\n\t\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "bb6d4009c972d6eb5f70d67e1a078e1a", "score": "0.6417117", "text": "protected void actionPerformed(GuiButton guibutton)\n {\n }", "title": "" }, { "docid": "7906fc45094c71fa5f8110275a38f8e7", "score": "0.6415658", "text": "@NiftyEventSubscriber(pattern=\"highscore.btn.*\")\n public void onButton( String id, ButtonClickedEvent event )\n {\n if( id.compareTo(\"highscore.btn.again\")==0 )\n {\n m_game.initRun();\n m_goto = \"countdown3\";\n }\n else if( id.compareTo(\"highscore.btn.settings\")==0 )\n {\n m_goto = \"game\";\n }\n }", "title": "" }, { "docid": "ab36959730f408e41ce42104e403017e", "score": "0.64103574", "text": "public void actionPerformed(ActionEvent event) {\r\n String command = event.getActionCommand();\r\n\r\n if (command.equals(\"OK\")) {\r\n\r\n if (setVariables()) {\r\n callAlgorithm();\r\n }\r\n } else if (command.equals(\"Cancel\")) {\r\n dispose();\r\n } else if (command.equals(\"Help\")) {\r\n //MipavUtil.showHelp(\"U4025\");\r\n MipavUtil.showWebHelp(\"Masking_(filling)_images\");\r\n } else {\r\n super.actionPerformed(event);\r\n }\r\n }", "title": "" }, { "docid": "027d06b451c6e8eea29c3f94217cf1db", "score": "0.64097166", "text": "botaoRetangulo.getModel().setPressed(true);", "title": "" }, { "docid": "a34652b84a655132f17643db612d82fb", "score": "0.6399332", "text": "public void clickButton(int i)\n {\n if(i==0){\n //\t buttons.addElement( this.enterButton);\n \t\tString command=commandFieldArea.getText();\n\t \tif(command.equals(\"\")) return;\n\t \tint startTime=communicationNode.eventRecorder.timer.getTime();\n\t \tString theMessage=\"\"+startTime + \",\" + command;\n\t \tthis.messagesArea.append(theMessage+\"\\n\");\n this.communicationNode.eventRecorder.recordMessage(theMessage);\n\t\t if(parse(command)){\n\t \t}\n\t\t else{\n\t\t this.messagesArea.append(\"failed\\n\");\n\t \t}\n\t \tclickButton(1); // clear\n\t \treturn;\n }\n else\n if(i==1){\n\t // buttons.addElement( this.clearButton);\n\t this.commandFieldArea.setText(\"\");\n\t return;\n\t }\n\t else\n\t if(i==2){\n//\t\tbuttons.addElement(this.collectNodesInformationButton);\n\t this.getNodesInfo();\n\t return;\n\t }\n\t else\n\t if(i==3){\n//\t\tbuttons.addElement(this.spawnworkerButton);\n\t this.commandFieldArea.setText(\"spawnworkers\");\n\t this.clickButton(0);\n\t return;\n\t }\n\t else\n\t if(i==4){\n//\t\tbuttons.addElement(this.executeButton);\n\t this.executeScript();\n\t return;\n\t }\n\t else\n\t if(i==5){\n//\t\tbuttons.addElement(this.helpButton);\n return;\n\t }\n\t else\n\t if(i==6){\n//\t\tbuttons.addElement(this.exitButton);\n//\t close();\n this.exitThis();\n\t }\n\t else\n\t if(i==7){\n//\t\tbuttons.addElement(this.generateScript1Button);\n\t this.script=new Vector();\n\t int combination=0;\n\t try{\n\t combination=(new Integer(this.combinationNumberArea.getText())).intValue();\n\t }\n\t catch(Exception e){}\n\t this.generateScript1(combination,nodes);\n\t }\n\t else\n\t if(i==8){\n\t \t // buttons.addElement( this.script2Button);\n\t this.script=new Vector();\n\t this.generateScript2(nodes);\n\t return;\n }\n else\n if(i==9){\n//\t\tbuttons.addElement(this.editScriptButton);\n this.openTextEditor(this);\n return;\n }\n else\n if(i==10){\n//\t\tbuttons.addElement(this.clearMessageButton);\n this.messagesArea.setText(\"\");\n return;\n }\n else\n if(i==11){\n//\t\tbuttons.addElement(this.copySelectedMessageButton);\n this.copyFromTheText(0); // 0:messageArea\n return;\n }\n else\n if(i==12){\n//\t\tbuttons.addElement(this.closeWorkersButton);\n\t this.commandFieldArea.setText(\"all quit\");\n\t this.clickButton(0);\n\t return;\n }\n }", "title": "" }, { "docid": "f0eb0f28b8d69eb8b032224015fcc0de", "score": "0.6398065", "text": "private void jRbFirstActionPerformed(java.awt.event.ActionEvent evt) {\n\n }", "title": "" }, { "docid": "75723ccb6aefb98a302870e8f00279c8", "score": "0.63902307", "text": "public void mouseClickedAtButton(int i)\n {\n if(i==0){\n //\t buttons.addElement( this.enterButton);\n \t\tString command=commandFieldArea.getText();\n\t \tif(command.equals(\"\")) return;\n\t \tint startTime=communicationNode.eventRecorder.timer.getTime();\n\t \tString theMessage=\"\"+startTime + \",\" + command;\n\t \tthis.messagesArea.append(theMessage+\"\\n\");\n\t \tthis.messagesArea.setCaretPosition(\n this.messagesArea.getText().length());\n\n this.communicationNode.eventRecorder.recordMessage(theMessage);\n\t\t if(parse(command)){\n\t \t}\n\t\t else{\n\t\t this.messagesArea.append(\"failed\\n\");\n this.messagesArea.setCaretPosition(\n this.messagesArea.getText().length());\n\n\t \t}\n\t \tclickButton(1); // clear\n\t \treturn;\n }\n else\n if(i==1){\n\t // buttons.addElement( this.clearButton);\n\t this.commandFieldArea.setText(\"\");\n\t return;\n\t }\n\t else\n\t if(i==2){\n//\t\tbuttons.addElement(this.collectNodesInformationButton);\n\t this.getNodesInfo();\n\t return;\n\t }\n\t else\n\t if(i==3){\n//\t\tbuttons.addElement(this.spawnworkerButton);\n\t this.commandFieldArea.setText(\"spawnworkers\");\n\t this.clickButton(0);\n\t return;\n\t }\n\t else\n\t if(i==4){\n//\t\tbuttons.addElement(this.executeButton);\n\t this.executeScript();\n\t return;\n\t }\n\t else\n\t if(i==5){\n//\t\tbuttons.addElement(this.helpButton);\n return;\n\t }\n\t else\n\t if(i==6){\n//\t\tbuttons.addElement(this.exitButton);\n//\t close();\n this.exitThis();\n\t }\n\t else\n\t if(i==7){\n//\t\tbuttons.addElement(this.generateScript1Button);\n\t this.script=new Vector();\n\t int combination=0;\n\t try{\n\t combination=(new Integer(this.combinationNumberArea.getText())).intValue();\n\t }\n\t catch(Exception e){}\n\t this.generateScript1(combination,nodes);\n\t }\n\t else\n\t if(i==8){\n\t \t // buttons.addElement( this.script2Button);\n\t this.script=new Vector();\n\t this.generateScript2(nodes);\n\t return;\n }\n else\n if(i==9){\n//\t\tbuttons.addElement(this.editScriptButton);\n this.openTextEditor(this);\n return;\n }\n else\n if(i==10){\n//\t\tbuttons.addElement(this.clearMessageButton);\n this.messagesArea.setText(\"\");\n return;\n }\n else\n if(i==11){\n//\t\tbuttons.addElement(this.copySelectedMessageButton);\n this.copyFromTheText(0); // 0:messageArea\n return;\n }\n else\n if(i==12){\n//\t\tbuttons.addElement(this.closeWorkersButton);\n\t this.commandFieldArea.setText(\"all quit\");\n\t this.clickButton(0);\n\t return;\n }\n }", "title": "" }, { "docid": "cc819f94f0fe46407fec9ed079e0a6fb", "score": "0.63897425", "text": "public void buttonWasPushed( int slot )\r\n {\r\n commands[slot].execute();\r\n }", "title": "" }, { "docid": "b1ec37bb077d5489feec18b8039f8888", "score": "0.6389263", "text": "void spawnworkerButton_actionPerformed(java.awt.event.ActionEvent event)\n\t{\n\t\t\t \n\t\tspawnworkerButton_actionPerformed_Interaction1(event);\n\t}", "title": "" }, { "docid": "f1a0db89c6ef7f03be6f4a566dd1f019", "score": "0.63859296", "text": "void editScriptButton_actionPerformed(java.awt.event.ActionEvent event)\n\t{\n\t\t\t \n\t\teditScriptButton_actionPerformed_Interaction1(event);\n\t}", "title": "" }, { "docid": "a0631f5c8adeb81e85c15545ca4108cd", "score": "0.63828003", "text": "public void customScriptAction() {\r\n System.out.println(\"Custom Action button clicked!\");\r\n }", "title": "" }, { "docid": "edf83e6976ae9a3758f8b41c0a1ece13", "score": "0.6382016", "text": "private void button7MouseClicked(MouseEvent e) {\n }", "title": "" }, { "docid": "e6f2a59a6995b67790c2794d50a7a657", "score": "0.638189", "text": "private void yesButtonActionPerformed(java.awt.event.ActionEvent evt) {\n \tSystem.out.println(\"Yes pressed!\");\n }", "title": "" }, { "docid": "4ce754da32fd282a11b3c25109eed038", "score": "0.63807935", "text": "private void button3ActionPerformed(ActionEvent e) {\n }", "title": "" }, { "docid": "ba944af84ae236490d9d765deb3893c3", "score": "0.63806057", "text": "public void buttonClicked (WizardEvents.WizardButtonEvent evt);", "title": "" }, { "docid": "87b42024d4516afec4a51eccc836b230", "score": "0.63766116", "text": "public void actionPerformed(ActionEvent e)\n { /* actionPerformed */\n Button item= (Button)e.getSource();\n String cmd= e.getActionCommand();\n \n if (cmd.equals(\"Close\"))\n quit(); /* close window */\n \n else if(cmd.equals(\"Show HPs\"))\n {\n Util.saveCmdHistory(\"Show list of HP-E samples\", false);\n mae.hps.showHP_E_assignmentsPopup();\n }\n \n else if(cmd.equals(\"SaveAs\"))\n { /* Save Canvas as GIF image */\n String\n defGifDir= Util.rmvFinalSubDirectory(mae.defDir,\"Report\", true),\n oGifFileName= mae.em.promptFileName(\"Enter GIF file name\",\n defGifDir,\n \"maeExprProfilePlot.gif\",\n null, /* sub dir */\n \".gif\",\n true, /* saveMode*/\n true /* useFileDialog */\n );\n if(oGifFileName!=null)\n {\n Util.saveCmdHistory(\"Saved Expression Profile plot as \"+oGifFileName,\n false);\n eppl.epc.drawGifFile(oGifFileName);\n }\n }\n \n else if(zoomBarsButton==item)\n { /* zoom lines by 1X, 2X, 5X, 10X, 20X mod */\n eppl.epc.zoomBarsMag= Util.nextZoomMag(eppl.epc.zoomBarsMag,20);\n Util.saveCmdHistory(\"Setting Expression Profile zoom to \"+\n eppl.epc.zoomBarsMag+\"X\", false);\n zoomBarsButton.setLabel(eppl.epc.zoomBarsMag+\"X\");\n repaint();\n }\n \n else if(plotStyleButton==item)\n { /* zoom lines by 1X, 2X, 5X, 10X, 20X mod */\n eppl.epc.plotStyleMode= (eppl.epc.plotStyleMode+1)%3;\n String label= ((eppl.epc.plotStyleMode==0) \n ? \"Line\"\n : ((eppl.epc.plotStyleMode==1)\n ? \"Circle\" : \"Curve\"));\n Util.saveCmdHistory(\"Setting Expression Profile plot style to \"+label, false);\n plotStyleButton.setLabel(label);\n repaint();\n }\n }", "title": "" }, { "docid": "012bf2f6a39e86938eccf3df46270848", "score": "0.63758546", "text": "public void start(){\n\t\tsetButtons();\n\t}", "title": "" }, { "docid": "080d87b240cb4deda54946c791a62331", "score": "0.6371622", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n System.out.println(String.format(\"%s button pressed\", e.getActionCommand()));\n }", "title": "" }, { "docid": "d70d83ab542b5fc9ed9068f14c17787a", "score": "0.6370305", "text": "public void actionPerformed(ActionEvent e) {\n\t\t\t\txuLyXoa();\r\n\t\t\t}", "title": "" }, { "docid": "321000bac856d3446017bb8ff64bfba3", "score": "0.6359917", "text": "public void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" }, { "docid": "8668e1ec4a90005bd1d8d2abd337b845", "score": "0.63537914", "text": "private void viewButtonClicked() {\n\t\r\n }", "title": "" }, { "docid": "ffbab548291e54d76570437dcb0370ba", "score": "0.6347386", "text": "static void CirButtonPressed(java.awt.event.ActionEvent event) {\r\n\t\tController.DisplayCircle();\r\n\t\tmainPanel.updateUI();\r\n\t}", "title": "" }, { "docid": "c682a9d59af427272cc6fcbfc26e1c20", "score": "0.6345015", "text": "public void actionPerformed(ActionEvent e) {}", "title": "" }, { "docid": "efa744a633b55f8a61b90f99c5d9cf65", "score": "0.63436216", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t}", "title": "" }, { "docid": "38ba94cd40c427bc81c41f8eb81125ce", "score": "0.6343059", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tObject obj = e.getSource();\n\t\t\t\t\n\t\t\t\taddBtn();\n\t\t\t\t\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "eb617ed196bc07f5a505ba9b55d5c455", "score": "0.6334277", "text": "@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\tServo obj2;\r\n\t\t\t\t//obj2 = new Servo();\r\n\t\t\t\t//temp.print_temp();\r\n\t\t\t\ttry {\r\n\t\t\t\t\tmain2.ph.go_to_floor(Config.LED_F1);\r\n\t\t\t\t\tSystem.out.println(\"[main2]: Lampe 1er étage\");\r\n\t\t\t\t} catch (PhidgetException | InterruptedException 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\t//obj2.close_system();\r\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "5470c61aa5af6b0695c1cf6bb2d8b4bf", "score": "0.63329786", "text": "public void clickupdate() {\n\t\tupdateButton.click();\r\n\t\tinitial.click();\r\n\t}", "title": "" } ]
836f847c23466a980f6ebf77af3a98bc
This method is executed on master. It copies .coderrect/report to thee build directory
[ { "docid": "f91f4a58926e690aa3fa45a1282e0054", "score": "0.68082005", "text": "private void copyFilesToBuildDirectory(final Run<?,?> run,\n final FilePath ws,\n final TaskListener listener,\n final File rootDir,\n final VirtualChannel channel)\n throws IOException, InterruptedException {\n\n File directory = new File(rootDir, DIR_REPORT);\n listener.getLogger().println(String.format(\"[coderrect] Copy report from agent. serverTargetDir=\" + directory.getAbsolutePath()));\n if (!directory.exists() && !directory.mkdir()) {\n throw new IOException(\"Can't create directory for copy of workspace files: \"\n + directory.getAbsolutePath());\n }\n\n final FilePath coderrectReportPath = ws.child(this.buildDirectory + File.separator + \".coderrect/report\");\n if (!coderrectReportPath.exists()) {\n listener.getLogger().println(\"[coderrect] the report folder doesn't exist. dir=\" + coderrectReportPath.getName());\n return;\n }\n final FilePath buildTarget = new FilePath(run.getRootDir()).child(DIR_REPORT);\n listener.getLogger().printf(\"[coderrect] copy report artifacts from slave. target=%s, source=%s\",\n buildTarget.absolutize().getName(), coderrectReportPath.absolutize().getName());\n coderrectReportPath.copyRecursiveTo(\"**/*\", buildTarget);\n }", "title": "" } ]
[ { "docid": "d5e3af935238bbc432da4da2cfdb6b1b", "score": "0.5808471", "text": "@Override\n public void onFinish(ITestContext context) {\n try {\n //Copy Auvenir icon to report directory\n FileUtils.copyDirectory(new File(\"Images\"), new File(nxgReportDir.getAbsolutePath() + \"\\\\Images\"));\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "4cf9e45ce0cda3f55d610c6aed583686", "score": "0.5665131", "text": "static File getJapexReport(AbstractBuild<?,?> build) {\n return new File(build.getRootDir(),\"japex\");\n }", "title": "" }, { "docid": "48fb434e259722e0e909188823a0d8f5", "score": "0.56464094", "text": "@Override\r\n public void onExecutionStart() {\r\n File file = new File(utils.getProperty(HTML_REPORT_FILE));\r\n if(!file.exists()){\r\n try {\r\n FileUtils.forceMkdir(file);\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n }\r\n }", "title": "" }, { "docid": "767212350735d6151ad7d54ae14a4a25", "score": "0.55684346", "text": "public BaseTestNGReport() {\n\n\t\t// Create folder with today's date. In this folder we will be generating\n\t\t// the test results reports.\n\t\tm_todayFolder = CommonUtil.getFormatedDate(\"MMddyyyy\");\n\n\t\t// Remove report files which are older than 30 days.\n\t\tFileOperations.removeFilesOlderThanNDays(m_baseDirectory, m_daysBack);\n\n\t\t// Create the directory with today date if its not available means..\n\t\tFileOperations.createDirectory(getBaseDirWithTodayDate());\n\n\t\tcopyCompanyImage();\n\n\t}", "title": "" }, { "docid": "d482d4ef77cf0f2b512e6800e59a9bfd", "score": "0.5545523", "text": "public static void generarReportesConciliacion()\n\t{\n\t\tLOG.info(\"Se ha solicitado la generacion del archivo con las compras reportadas en los archivos de conciliacion...\");\n\t\tList<File> lstArchivosConciliacion=Arrays.asList(new File(RUTA_ARCHIVOS_CONCILIACIONES).listFiles());\n\t\tCollections.sort(lstArchivosConciliacion);\n\t\tList<InformacionCompraConciliacion> lstCompras=leerArchivosConciliacionesSINICU(lstArchivosConciliacion);\n\t\tLOG.info(\"Compras en archivo(s) de conciliacion... \".concat(String.valueOf(lstCompras.size())));\n\t\tgenerarReportesCompras(lstCompras);\n\t}", "title": "" }, { "docid": "5128e3d6c48df430ebf2825e9fb0e7cd", "score": "0.5543733", "text": "public void run()\n {\n try\n {\n for (ReportCompileInfo info : files)\n {\n JasperCompileManager.compileReportToFile(info.getReportFile().getAbsolutePath(), info.getCompiledFile().getAbsolutePath());\n }\n System.out.println(\"Done Compiling...\");\n compileListener.compileComplete(files.get(files.size()-1).getCompiledFile());\n \n } catch (Exception ex)\n {\n edu.ku.brc.af.core.UsageTracker.incrHandledUsageCount();\n edu.ku.brc.exceptions.ExceptionTracker.getInstance().capture(JasperReportHelper.class, ex);\n log.error(ex);\n ex.printStackTrace();\n \n compileListener.compileComplete(null);\n }\n compileListener = null;\n files.clear();\n files = null;\n }", "title": "" }, { "docid": "d5f216394e88a0594060f8b4963403f5", "score": "0.54985946", "text": "private void copyCompanyImage() {\n\t\tSystem.out.println();\n\t\tSystem.out.println();\n\t\tString imageSourcePath = String.format(\"%s/src/test/resources/benchmark.png\",\n\t\t\t\tSystem.getProperty(\"user.dir\").replace(\"target\", \"\"));\n\t\tString imageDestinationPath = String.format(\"%s/benchmark.png\", getBaseDirWithTodayDate());\n\t\tif (!FileOperations.isFileExists(imageDestinationPath))\n\t\t\tFileOperations.copyImageOrFile(imageSourcePath, imageDestinationPath);\n\t}", "title": "" }, { "docid": "618005a0e6e211663a85835a5367fd22", "score": "0.5494261", "text": "public void compileReport() throws Exception {\n\t\tcompileException = null;\n\t\tif (mainJrxmlFile == null) {\n\t\t\tthrow new Exception(\"jrxmlFile not set\");\n\t\t}\n\t\tif (mainJrxmlFile.canRead() == false) {\n\t\t\tthrow new Exception(\"jrxmlFile \" + mainJrxmlFile.getAbsolutePath()\n\t\t\t\t\t+ \" cannot be read\");\n\t\t}\n\t\tcompileReport(mainJrxmlFile.getAbsolutePath(), true);\n\t\tif (compileException != null) {\n\t\t\tthrow compileException;\n\t\t}\n\t\tmainJasperReport = reportMap.get(mainJrxmlFile.getAbsolutePath());\n\t}", "title": "" }, { "docid": "943e5a27debbed863ec4d255ba5aa89d", "score": "0.5487861", "text": "public abstract void buildReport();", "title": "" }, { "docid": "834a4e1ab52c90be2602dbd27fb15265", "score": "0.5429398", "text": "protected void uploadConfigFileToReport() {\n\t\tFile uploadToReportConfigFile = trafficInstance.getUploadedConfigFile();\n\t\ttry {\n\t\t\tReporterHelper.copyFileToReporterAndAddLink(report, uploadToReportConfigFile, \"ConfigFile\");\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "37afdfc9e79a2dc1791fab7939c721f5", "score": "0.54091984", "text": "private int onDump() {\n // Figure out where to dump the coverage data\n String dest = getNextArg();\n if (dest == null) {\n dest = \"/data/local/tmp/coverage.ec\";\n } else {\n File f = new File(dest);\n if (f.isDirectory()) {\n dest = new File(f, \"coverage.ec\").getAbsolutePath();\n }\n }\n\n // Try to open the destination file\n ParcelFileDescriptor fd = openFileForSystem(dest, \"w\");\n if (fd == null) {\n return -1;\n }\n\n // Write the execution data to the file\n try (BufferedOutputStream output = new BufferedOutputStream(\n new ParcelFileDescriptor.AutoCloseOutputStream(fd))) {\n output.write(RT.getAgent().getExecutionData(false));\n output.flush();\n getOutPrintWriter().println(String.format(\"Dumped coverage data to %s\", dest));\n } catch (IOException e) {\n getErrPrintWriter().println(\"Failed to dump coverage data: \" + e.getMessage());\n return -1;\n }\n\n return 0;\n }", "title": "" }, { "docid": "8ef6684650a9f6a470492ec8eb783b62", "score": "0.5379391", "text": "private void installGeneratedArtifacts() {\n if(installConvertedCP) {\n File userHome = new File(System.getProperty(\"user.home\"));\n if(userHome.isDirectory()) {\n File destFolder = new File(userHome, \".m2/repository\");\n if(destFolder.isDirectory()) {\n copyFiles(convertedCPOutput, destFolder);\n if(isContentPackage) {\n installFMDescriptor(project.getArtifact());\n }\n }\n }\n }\n }", "title": "" }, { "docid": "f1f23c1f3758205e474237e9b545425a", "score": "0.5374759", "text": "private void installFiles() throws BuildException {\n for (final Path p : description.getFilePathsToCopy()) {\n for (final String disallowedPath : disallowedPaths) {\n if (p.startsWith(disallowedPath)) {\n LOG.error(\"Path {} contained disallowed location\", p);\n throw new BuildException(\"Copy to banned location\");\n }\n }\n\n final Path from = distribution.resolve(p);\n final Path to = idpHome.resolve(p);\n if (Files.exists(to)) {\n LOG.debug(\"File {} exists, skipping\", to);\n continue;\n }\n if (!Files.exists(from)) {\n LOG.warn(\"Source File {} does not exists, skipping\", from);\n continue;\n }\n try {\n createParent(to);\n LOG.debug(\"Copying from {} to {}\", from, to);\n try (final InputStream in = new BufferedInputStream(new FileInputStream(from.toFile()));\n final OutputStream out = new BufferedOutputStream(new FileOutputStream(to.toFile()))) {\n in.transferTo(out);\n }\n } catch (final IOException e) {\n LOG.error(\"Could not copy from {} to {}\", from, to, e);\n throw new BuildException(e);\n }\n }\n }", "title": "" }, { "docid": "abedb450fb05c14b7c01e2ad68fcf833", "score": "0.5346179", "text": "public void execute() throws BuildException {\n \n // first off, make sure that we've got a srcdir and destdir\n if (srcDir == null || destDir == null) {\n throw new BuildException(\"srcDir and destDir attributes must be set!\");\n }\n \n // scan source and dest dirs to build up both copy lists and\n // compile lists\n // scanDir(srcDir, destDir);\n DirectoryScanner ds = getDirectoryScanner(srcDir);\n \n String[] files = ds.getIncludedFiles();\n \n scanDir(srcDir, destDir, files);\n \n // copy the source and support files\n copyFilesToDestination();\n \n // compile the source files\n if (compileList.size() > 0) {\n log(\"Compiling \" + compileList.size() + \" source file\"\n + (compileList.size() == 1 ? \"\" : \"s\")\n + \" to \" + destDir);\n doNetRexxCompile();\n if (removeKeepExtension && (!compile || keep)) {\n removeKeepExtensions();\n }\n }\n }", "title": "" }, { "docid": "4d4fafa2e5df384fa52cbdce71341058", "score": "0.5292645", "text": "private void copyContent() throws RendererComponentException\r\n\t{\r\n\t\tFileIO fileWriter = new FileIO();\r\n\t\ttry\r\n\t\t{\r\n\t\t\t// Move images to render img folder\r\n\t\t\tfileWriter.copyDirectory(applicationFolderPath\r\n\t\t\t\t\t+ ZKConstants.CONTENT_FOLDER_NAME, filePath\r\n\t\t\t\t\t+ ZKConstants.MAIN_FOLDER_NAME + \"/\"\r\n\t\t\t\t\t+ ZKConstants.CONTENT_FOLDER_NAME);\r\n\t\t}\r\n\t\tcatch (IOException e)\r\n\t\t{\r\n\t\t\tRendererComponent.logger.log(0,\"No content used\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "4b8e4d9794cbea65ecededa26d7583e4", "score": "0.52792454", "text": "public static void generateBytecode() {\n\t\tprogressTracker.startPhase(\"genBytecode\", \"Generating bytecode....\", 0.45);\r\n\t\t\r\n\t\tdouble step = 1.0 / countSourceCUs();\r\n for(Iterator iter = program.compilationUnitIterator(); iter.hasNext(); ) {\r\n \tCompilationUnit cu = (CompilationUnit)iter.next();\r\n \tif (cu.fromSource()) {\r\n\t \tprogressTracker.advanceProgress(\"Generating bytecode: \" + cu.relativeName(), step);\r\n\t \tcu.transformation();\r\n\t \t\tcu.generateClassfile();\r\n \t}\r\n \t}\r\n \r\n progressTracker.endPhase(\"genBytecode\");\r\n\t}", "title": "" }, { "docid": "b3b8332c7dd2fd1446ce1c8f9eba6ac5", "score": "0.5266457", "text": "public void execute() throws BuildException {\n File savedFile = file; // may be altered in validateAttributes\n File savedDestFile = destFile;\n File savedDestDir = destDir;\n ResourceCollection savedRc = null;\n if (file == null && destFile != null && rcs.size() == 1) {\n // will be removed in validateAttributes\n savedRc = (ResourceCollection) rcs.elementAt(0);\n }\n \n try {\n // make sure we don't have an illegal set of options\n try {\n validateAttributes();\n } catch (BuildException e) {\n if (failonerror\n || !getMessage(e)\n .equals(MSG_WHEN_COPYING_EMPTY_RC_TO_FILE)) {\n throw e;\n } else {\n log(\"Warning: \" + getMessage(e), Project.MSG_ERR);\n return;\n }\n }\n \n // deal with the single file\n copySingleFile();\n \n // deal with the ResourceCollections\n \n /* for historical and performance reasons we have to do\n things in a rather complex way.\n \n (1) Move is optimized to move directories if a fileset\n has been included completely, therefore FileSets need a\n special treatment. This is also required to support\n the failOnError semantice (skip filesets with broken\n basedir but handle the remaining collections).\n \n (2) We carry around a few protected methods that work\n on basedirs and arrays of names. To optimize stuff, all\n resources with the same basedir get collected in\n separate lists and then each list is handled in one go.\n */\n \n HashMap filesByBasedir = new HashMap();\n HashMap dirsByBasedir = new HashMap();\n HashSet baseDirs = new HashSet();\n ArrayList nonFileResources = new ArrayList();\n- for (int i = 0; i < rcs.size(); i++) {\n+ final int size = rcs.size();\n+ for (int i = 0; i < size; i++) {\n ResourceCollection rc = (ResourceCollection) rcs.elementAt(i);\n \n // Step (1) - beware of the ZipFileSet\n if (rc instanceof FileSet && rc.isFilesystemOnly()) {\n FileSet fs = (FileSet) rc;\n DirectoryScanner ds = null;\n try {\n ds = fs.getDirectoryScanner(getProject());\n } catch (BuildException e) {\n if (failonerror\n || !getMessage(e).endsWith(DirectoryScanner\n .DOES_NOT_EXIST_POSTFIX)) {\n throw e;\n } else {\n log(\"Warning: \" + getMessage(e), Project.MSG_ERR);\n continue;\n }\n }\n File fromDir = fs.getDir(getProject());\n \n String[] srcFiles = ds.getIncludedFiles();\n String[] srcDirs = ds.getIncludedDirectories();\n if (!flatten && mapperElement == null\n && ds.isEverythingIncluded() && !fs.hasPatterns()) {\n completeDirMap.put(fromDir, destDir);\n }\n add(fromDir, srcFiles, filesByBasedir);\n add(fromDir, srcDirs, dirsByBasedir);\n baseDirs.add(fromDir);\n } else { // not a fileset or contains non-file resources\n \n if (!rc.isFilesystemOnly() && !supportsNonFileResources()) {\n throw new BuildException(\n \"Only FileSystem resources are supported.\");\n }\n \n Iterator resources = rc.iterator();\n while (resources.hasNext()) {\n Resource r = (Resource) resources.next();\n if (!r.isExists()) {\n String message = \"Warning: Could not find resource \"\n + r.toLongString() + \" to copy.\";\n if (!failonerror) {\n log(message, Project.MSG_ERR);\n } else {\n throw new BuildException(message);\n }\n continue;\n }\n \n File baseDir = NULL_FILE_PLACEHOLDER;\n String name = r.getName();\n FileProvider fp = (FileProvider) r.as(FileProvider.class);\n if (fp != null) {\n FileResource fr = ResourceUtils.asFileResource(fp);\n baseDir = getKeyFile(fr.getBaseDir());\n if (fr.getBaseDir() == null) {\n name = fr.getFile().getAbsolutePath();\n }\n }\n \n // copying of dirs is trivial and can be done\n // for non-file resources as well as for real\n // files.\n if (r.isDirectory() || fp != null) {\n add(baseDir, name,\n r.isDirectory() ? dirsByBasedir\n : filesByBasedir);\n baseDirs.add(baseDir);\n } else { // a not-directory file resource\n // needs special treatment\n nonFileResources.add(r);\n }\n }\n }\n }\n \n iterateOverBaseDirs(baseDirs, dirsByBasedir, filesByBasedir);\n \n // do all the copy operations now...\n try {\n doFileOperations();\n } catch (BuildException e) {\n if (!failonerror) {\n log(\"Warning: \" + getMessage(e), Project.MSG_ERR);\n } else {\n throw e;\n }\n }\n \n if (nonFileResources.size() > 0 || singleResource != null) {\n Resource[] nonFiles =\n (Resource[]) nonFileResources.toArray(new Resource[nonFileResources.size()]);\n // restrict to out-of-date resources\n Map map = scan(nonFiles, destDir);\n if (singleResource != null) {\n map.put(singleResource,\n new String[] { destFile.getAbsolutePath() });\n }\n try {\n doResourceOperations(map);\n } catch (BuildException e) {\n if (!failonerror) {\n log(\"Warning: \" + getMessage(e), Project.MSG_ERR);\n } else {\n throw e;\n }\n }\n }\n } finally {\n // clean up again, so this instance can be used a second\n // time\n singleResource = null;\n file = savedFile;\n destFile = savedDestFile;\n destDir = savedDestDir;\n if (savedRc != null) {\n rcs.insertElementAt(savedRc, 0);\n }\n fileCopyMap.clear();\n dirCopyMap.clear();\n completeDirMap.clear();\n }\n }", "title": "" }, { "docid": "72003661540629609f2aa4ea912e62fb", "score": "0.5191617", "text": "@TaskAction\n public void runSableCC() {\n final File outputDir = getOutputDir();\n // println \"Writing to $outputDir\"\n DefaultGroovyMethods.deleteDir(outputDir);\n outputDir.mkdirs();\n\n ConfigurableFileTree inputFiles = getProject().fileTree(getInputDir());\n inputFiles.include(\"**/*.sablecc\");\n inputFiles.visit(new EmptyFileVisitor() {\n @Override\n public void visitFile(FileVisitDetails fvd) {\n try {\n org.sablecc.sablecc.SableCC.processGrammar(fvd.getFile().getAbsolutePath(), outputDir.getAbsolutePath());\n } catch (Exception e) {\n throw new GradleException(\"Failed to process \" + fvd, e);\n }\n }\n });\n\n ConfigurableFileTree outputFiles = getProject().fileTree(outputDir);\n outputFiles.visit(new EmptyFileVisitor() {\n @Override\n public void visitFile(FileVisitDetails fvd) {\n try {\n SableCCPostProcessor.processFile(fvd.getFile());\n } catch (IOException e) {\n throw new GradleException(\"Failed to post-process \" + fvd, e);\n }\n }\n });\n\n }", "title": "" }, { "docid": "2c9525aa4ca0cda7947900b5c39ea257", "score": "0.51831204", "text": "static void buildReport( ) throws IOException, SemanticException\n\t{\n\n\t\tDesignConfig config = new DesignConfig( );\n\t\tconfig.setBIRTHome(\"C:/birt/birt-runtime-2_6_2/birt-runtime-2_6_2/ReportEngine\");\n\t\tIDesignEngine engine = null;\n\t\ttry{\n\n\n\t\t\tPlatform.startup( config );\n\t\t\tIDesignEngineFactory factory = (IDesignEngineFactory) Platform\n\t\t\t.createFactoryObject( IDesignEngineFactory.EXTENSION_DESIGN_ENGINE_FACTORY );\n\t\t\tengine = factory.createDesignEngine( config );\n\n\t\t}catch( Exception ex){\n\t\t\tex.printStackTrace();\n\t\t}\n\n\n\t\tSessionHandle session = engine.newSessionHandle( ULocale.ENGLISH ) ;\n\n\t\tReportDesignHandle design = null;\n\t\ttry{\n\t\t\tdesign = session.openDesign(\"Reports/TopNPercent.rptdesign\" );\n\n\n\t\t\tList cssStyleSheets = design.getAllStyles();//getAllCssStyleSheets();\n\n\t\t\tint size = cssStyleSheets.size();\n\t\t\tIterator myincludecssiter = design.includeCssesIterator();\n\t\t\twhile ( myincludecssiter.hasNext( ) ){\n\t\t\t\tIncludedCssStyleSheetHandle css = (IncludedCssStyleSheetHandle)myincludecssiter.next();\n\t\t\t\t//System.out.println( css.getFileName());\n\n\t\t\t}\n\n\t\t\tSlotHandle sh = design.getBody();\n\t\t\tSystem.out.println( \"Contents Count: \" + sh.getCount());\n\t\t\tIterator it = sh.iterator();\n\t\t\twhile( it.hasNext()){\n\t\t\t\tDesignElementHandle de =(DesignElementHandle)it.next();\n\t\t\t\t//System.out.println(de.getName());\n\n\t\t\t}\n\n\t\t\tsh = design.getDataSources();\n\t\t\tit = sh.iterator();\n\t\t\twhile( it.hasNext()){\n\t\t\t\tDesignElementHandle de =(DesignElementHandle)it.next();\n\t\t\t\t//System.out.println(de.getName());\n\n\t\t\t}\n\t\t\tsh = design.getDataSets();\n\t\t\tit = sh.iterator();\n\t\t\twhile( it.hasNext()){\n\t\t\t\tDesignElementHandle de =(DesignElementHandle)it.next();\n\t\t\t\t//System.out.println(de.getName());\n\n\t\t\t}\n\n\t\t\tsh = design.getMasterPages();\n\t\t\tit = sh.iterator();\n\t\t\twhile( it.hasNext()){\n\t\t\t\tDesignElementHandle de =(DesignElementHandle)it.next();\n\t\t\t\t//System.out.println(de.getName());\n\n\t\t\t}\t\t\t\n\n\t\t\tsh = design.getParameters();\n\t\t\tit = sh.iterator();\n\t\t\twhile( it.hasNext()){\n\t\t\t\tDesignElementHandle de =(DesignElementHandle)it.next();\n\t\t\t\t//System.out.println(de.getName());\n\n\t\t\t}\t\n\n\n\t\t\tSystem.out.println(\"Slot Count for a report design \" + design.getDefn().getSlotCount());\n\t\t\tfor( int i=0; i < design.getDefn().getSlotCount(); i++){\n\t\t\t\t//System.out.println(\" Slot \" + i + \" -- \" + design.getDefn().getSlot(i).getName());\n\t\t\t}\n\n\n\n\n\t\t\tIterator pit = design.getPropertyIterator();\n\t\t\twhile( pit.hasNext()){\n\t\t\t\tPropertyHandle ph = (PropertyHandle) pit.next();\n\n\t\t\t\tIStructureDefn structDefn = ph.getPropertyDefn().getStructDefn( );\n\t\t\t\tif ( structDefn != null )\n\n\t\t\t\t{\n\t\t\t\t\t//System.out.println(\"ListProperty \" + ph.getPropertyDefn().getDisplayName());\n\n\n\t\t\t\t\tIterator structIterator = ph.iterator( );\n\t\t\t\t\twhile ( structIterator.hasNext( ) )\n\n\t\t\t\t\t{\n\n\t\t\t\t\t\tStructureHandle structHandle = (StructureHandle) structIterator.next( );\n\t\t\t\t\t\tIterator memberIterator = structHandle.iterator( );\n\t\t\t\t\t\twhile ( memberIterator.hasNext( ) )\n\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tMemberHandle memHandle = (MemberHandle) memberIterator.next( );\n\t\t\t\t\t\t\t//System.out.println( \" Structure Item \" + memHandle.getDefn( ).getDisplayName( ) + \"---\" + memHandle.getValue() );\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\n\t\t\t\t}else{\n\n\t\t\t\t\tSystem.out.println(\"StandardProperty \" + ph.getPropertyDefn().getDisplayName() + \"--\" +ph.getValue());\n\n\t\t\t\t}\n\t\t\t}\n\n\n\t\t\t// Instantiate a slot handle and iterator for the body slot.\n\t\t\tSlotHandle shBody = design.getBody();\n\t\t\tIterator slotIterator = shBody.iterator();\n\t\t\t// To retrieve top-level report items, iterate over the body.\n\t\t\twhile (slotIterator.hasNext()) {\n\t\t\t\tObject shContents = slotIterator.next();\n\t\t\t\t// To get the contents of the top-level report items,\n\t\t\t\t// instantiate slot handles.\n\t\t\t\tif (shContents instanceof GridHandle) \t{\n\t\t\t\t\tGridHandle grid = ( GridHandle ) shContents;\n\t\t\t\t\tparseGrid( grid );\n\t\t\t\t}\n\t\t\t\tif (shContents instanceof ListingHandle) \t{\n\t\t\t\t\tListingHandle list = ( ListingHandle ) shContents;\n\t\t\t\t\tparseList( list );\n\t\t\t\t}\n\t\t\t\tif (shContents instanceof ImageHandle) {\n\t\t\t\t\tString imageSource = ( ( ImageHandle ) \n\t\t\t\t\t\t\tshContents ).getSource( ); \n\t\t\t\t\tImageHandle ih =(ImageHandle)shContents;\n\t\t\t\t\tSystem.out.println(ih.getImageName());\n\t\t\t\t\t// Check that the image has a URI.\n\n\t\t\t\t}\n\t\t\t\tif( shContents instanceof ExtendedItemHandle){\n\t\t\t\t\tString type = ((ExtendedItemHandle)shContents).getExtensionName();\n\t\t\t\t\tif( type.compareToIgnoreCase(\"Crosstab\")==0){\n\t\t\t\t\t\tSystem.out.println(\"Found a crosstab\");\n\t\t\t\t\t}\n\t\t\t\t\tif( type.compareToIgnoreCase(\"Chart\")==0){\n\t\t\t\t\t\tChart cm = (Chart) ((ExtendedItemHandle)shContents).getReportItem( ).getProperty( \"chart.instance\" ); \n\t\t\t\t\t\tSystem.out.println(\"Found chart of type \" +cm.getType());\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tdesign.close( );\n\t\t\tPlatform.shutdown();\n\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t}\t\t\n\t\tSystem.out.println(\"Finished\");\n\n\t\t// We're done!\n\t}", "title": "" }, { "docid": "6bc59971bf17b2e6c6ff329afee1b584", "score": "0.51809776", "text": "private void scan() {\n\t\t\tUtils.print(\"File scanning.\");\n\t\t\tUtils.print(\"Source directory:\" + getSourcePath());\n\t\t sourceFiles = FileManager.scanProject(getSourcePath());\n\t}", "title": "" }, { "docid": "1bc93b5bb7bdc7a8de343120da67030a", "score": "0.51769143", "text": "public static void createNewReport() {\n String pathProject = Utils.getCurrentProjectPath();\n if (extent == null) {\n\n fileName = pathProject+\"\\\\output\\\\Reporter-test \" + Utils.getCurrentTimeStamp() + \".html\";\n ExtentHtmlReporter htmlReporter = new ExtentHtmlReporter(fileName);\n htmlReporter.config().setReportName(fileName);\n\n extent = new ExtentReports();\n extent.attachReporter(htmlReporter);\n }\n\n }", "title": "" }, { "docid": "0f07fb7b93bd377a8cebd36d99a840b0", "score": "0.5176703", "text": "@AfterClass\n\tpublic static void reportGeneration() {\n\t\tJvmReport.generateJvmReport(\"D:\\\\NewMaven\\\\Cucumber11.30am\\\\Reports\\\\jsonreport.json\");\n\t}", "title": "" }, { "docid": "a9cb9b1bc81c62f5577e94760730c8a0", "score": "0.5169319", "text": "private void copyFiles1(){\t\n\t\tcopyFileToSimStudentFolder(INIT_FILE);\n\t\tcopyFileToSimStudentFolder(WME_TYPE_FILE);\n\t\tcopyFileToSimStudentFolder(\"UserDefSymbols.class\");\n\t\tcopyFileToSimStudentFolder(WME_STRUCTURE_FILE);\n\t}", "title": "" }, { "docid": "ed78d11486a75eaa894429f9fc480e70", "score": "0.5168488", "text": "@Override\n public String compileCode(String code) {\n if (this._boardName == null ) {\n this.setBoardName(\"calliope\");\n }\n \n _buildPath = userPath + \"/build/\" + this._boardName + \"/\";\n \n if ( this._boardName.equals(\"microbit\") ) {\n _hexPath = _buildPath + \"build/bbc-microbit-classic-gcc/source/abbozza-combined.hex\";\n } else {\n _hexPath = _buildPath + \"build/calliope-mini-classic-gcc/source/abbozza-combined.hex\"; \n }\n AbbozzaLogger.out(\"Build path set to \" + _buildPath, AbbozzaLogger.INFO); \n AbbozzaLogger.out(\"Code generated\", AbbozzaLogger.INFO);\n \n // Set code in frame\n this.frame.setCode(code);\n\n String errMsg = \"\";\n String stdMsg = \"\";\n \n _exitValue = 1;\n \n // Copy code to <buildPath>/source/abbozza.cpp\n AbbozzaLogger.out(\"Writing code to \" + _buildPath + \"source/abbozza.cpp\");\n if (!code.equals(\"\")) {\n try {\n PrintWriter out = new PrintWriter(_buildPath + \"source/abbozza.cpp\");\n out.write(code);\n out.flush();\n out.close();\n\n _exitValue = compile(_buildPath); \n AbbozzaLogger.info(\"Exit value: \" + _exitValue);\n \n } catch (FileNotFoundException ex) {\n AbbozzaLogger.err(ex.getLocalizedMessage());\n }\n\n if (_exitValue == 0) {\n stdMsg = \"\";\n AbbozzaLogger.force(\"[compile] : \" + AbbozzaLocale.entry(\"msg.done_compiling\"));\n } else {\n AbbozzaLogger.force(\"[compile] : \" + AbbozzaLocale.entry(\"msg.error_compiling\"));\n stdMsg = AbbozzaLocale.entry(\"msg.error_compiling\");\n }\n }\n \n return stdMsg;\n }", "title": "" }, { "docid": "c813e66f37dd6e0791056a98903f75cc", "score": "0.51612526", "text": "public synchronized void deploy() {\n platformDirectory = getCarbonComponentRepo();\n\n File plugins = new File(platformDirectory, \"plugins\");\n File patchesDir = new File(platformDirectory, \"patches\");\n//\n File dropinsFolder = new File(platformDirectory, \"dropins\");\n //copying resources inside patches folder to the work area.\n //TODO Copying of patches should only be performed by the master node, in multiple instance case.\n String applyPatches = System.getProperty(APPLY_PATCHES);\n if (applyPatches != null) {\n try {\n applyPatches(patchesDir, plugins);\n } catch (IOException e) {\n context.log(\"Error occurred while applying patches\", e);\n }\n }\n\n // copy create OSGi framework extension bundles\n\n }", "title": "" }, { "docid": "09335697d8e8c2dbd3f37952079b259c", "score": "0.5160809", "text": "protected void capture() {\n\t\tConfig conf = Config.get();\n\t\tif(conf.captureJsonEncodingErrors()) {\n\t\t\tString msg = generateMsg();\n\t\t\ttry {\n\t\t\t\tPath p = Paths.get(conf.captureRoot().getAbsolutePath(), \"encode\");\n\t\t\t\tif(!targetCleaned && Files.exists(p))\n\t\t\t\t\ttry {\n\t\t\t\t\t\tFileUtils.deleteDirectory(p.toFile());\n\t\t\t\t\t} catch(IOException e) {\n\t\t\t\t\t\tLOG.warn(String.format(\"Unable to clean target dir! [%s]\", p));\n\t\t\t\t\t}\n\t\t\t\ttargetCleaned = true;\n\t\t\t\tFiles.createDirectories(p);\n\t\t\t\tPath f = Files.createTempFile(p, prefix(), \".err\");\n\t\t\t\tFiles.write(f, msg.getBytes(\"UTF-8\"));\n\t\t\t} catch (IOException e) {\n\t\t\t\tLOG.error(\"Unable to write capture file, logging it instead!\", e);\n\t\t\t\tLOG.error(String.format(\"Invalid JSON received!%n%s\", msg), this);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "16979c604bde0b32b00f99ac91e494d5", "score": "0.5160351", "text": "public void assembleFile() {\n\t\tFile source = null;\n\t\tFile outputExe = null;\n\t\tJFileChooser chooser = new JFileChooser(sourceDir);\n\t\tFileNameExtensionFilter filter = new FileNameExtensionFilter(\n\t\t\t\t\"Pippin Source Files\", \"pips\");\n\t\tchooser.setFileFilter(filter);\n\t\t// CODE TO LOAD DESIRED FILE\n\t\tint openOK = chooser.showOpenDialog(null);\n\t\tif(openOK == JFileChooser.APPROVE_OPTION) {\n\t\t\tsource = chooser.getSelectedFile();\n\t\t}\n\t\tif(source != null && source.exists()) {\n\t\t\t// CODE TO REMEMBER WHICH DIRECTORY HAS THE pipe FILES\n\t\t\t// WHICH WE WILL ALLOW TO BE DIFFERENT\n\t\t\tsourceDir = source.getAbsolutePath();\n\t\t\tsourceDir = sourceDir.replace('\\\\','/');\n\t\t\tint lastDot = sourceDir.lastIndexOf('.');\n\t\t\tString outName = sourceDir.substring(0, lastDot + 1) + \"pipe\"; \n\t\t\tint lastSlash = sourceDir.lastIndexOf('/');\n\t\t\tsourceDir = sourceDir.substring(0, lastSlash + 1);\n\t\t\toutName = outName.substring(lastSlash+1);\n\t\t\tfilter = new FileNameExtensionFilter(\n\t\t\t\t\t\"Pippin Executable Files\", \"pipe\");\n\t\t\tif(executableDir.equals(eclipseDir)) {\n\t\t\t\tchooser = new JFileChooser(sourceDir);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(executableDir);\n\t\t\t\tSystem.out.println(outName);\n\t\t\t\tchooser = new JFileChooser(executableDir);\n\t\t\t}\n\t\t\tchooser.setFileFilter(filter);\n\t\t\tchooser.setSelectedFile(new File(outName));\n\t\t\tint saveOK = chooser.showSaveDialog(null);\n\t\t\tif(saveOK == JFileChooser.APPROVE_OPTION) {\n\t\t\t\toutputExe = chooser.getSelectedFile();\n\t\t\t}\n\t\t\tif(outputExe != null) {\n\t\t\t\texecutableDir = outputExe.getAbsolutePath();\n\t\t\t\texecutableDir = executableDir.replace('\\\\','/');\n\t\t\t\tlastSlash = executableDir.lastIndexOf('/');\n\t\t\t\texecutableDir = executableDir.substring(0, lastSlash + 1);\n\t\t\t\ttry {\n\t\t\t\t\tproperties.setProperty(\"SourceDirectory\", sourceDir);\n\t\t\t\t\tproperties.setProperty(\"ExecutableDirectory\", executableDir);\n\t\t\t\t\tproperties.store(new FileOutputStream(\"propertyfile.txt\"),\n\t\t\t\t\t\t\t\"File locations\");\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\tSystem.out.println(\"Error writing properties file\");\n\t\t\t\t}\n\t\t\t\tif (Assembler.assembleFile(source, outputExe)) {\n\t\t\t\t\tJOptionPane.showMessageDialog(\n\t\t\t\t\t\t\tframe, \n\t\t\t\t\t\t\t\"The source was assembled to an executable\",\n\t\t\t\t\t\t\t\"Success\",\n\t\t\t\t\t\t\tJOptionPane.INFORMATION_MESSAGE);\n\t\t\t\t} else {\n\t\t\t\t\t// a warning JOption pane indicating failure and that the output file was not created.\n\t\t\t\t\tJOptionPane.showMessageDialog(\n\t\t\t\t\t\t\tframe, \n\t\t\t\t\t\t\t\"output file was not created\",\n\t\t\t\t\t\t\t\"Warning\",\n\t\t\t\t\t\t\tJOptionPane.INFORMATION_MESSAGE);\n\t\t\t\t} \n\t\t\t} else {// outputExe still null\n\t\t\t\tJOptionPane.showMessageDialog(\n\t\t\t\t\t\tframe,\n\t\t\t\t\t\t\"The output file has problems.\\n\" +\n\t\t\t\t\t\t\t\t\"Cannot assemble the program\",\n\t\t\t\t\t\t\t\t\"Warning\",\n\t\t\t\t\t\t\t\tJOptionPane.OK_OPTION);\n\t\t\t}\n\t\t} else {// outputExe does not exist\n\t\t\tJOptionPane.showMessageDialog(\n\t\t\t\t\tframe,\n\t\t\t\t\t\"The source file has problems.\\n\" +\n\t\t\t\t\t\t\t\"Cannot assemble the program\",\n\t\t\t\t\t\t\t\"Warning\",\n\t\t\t\t\t\t\tJOptionPane.OK_OPTION); \n\t\t}\n\t}", "title": "" }, { "docid": "7449aa14d2b37f1c8ff252c95c49fc39", "score": "0.51569796", "text": "protected void copyNonCodeFiles() throws IOException {\n copyNonCodeFiles(updaterContext.getOriginalHeaderBaseDir(), updaterContext.getNewHeaderBaseDir(), updaterContext.getOriginalHeaderBaseDir());\n if (!updaterContext.isUpdateIncludeDirOnly()) {\n copyNonCodeFiles(updaterContext.getOriginalCppBaseDir(), updaterContext.getNewCppBaseDir(), updaterContext.getOriginalCppBaseDir());\n }\n }", "title": "" }, { "docid": "1f5573833b02fb0b706215555e2ef6db", "score": "0.5149111", "text": "private void setupFilePaths() {\n redeemMcMMO = getFile();\n mainDirectory = getDataFolder().getPath() + File.separator;\n flatFileDirectory = mainDirectory + \"flatfile\" + File.separator;\n }", "title": "" }, { "docid": "0fbe6c3a4f253f91d7838d861e069cbc", "score": "0.514747", "text": "private void generateFiles() {\n for (ISpecProcessor specProcessor : specProcessors) {\n for (Spec spec : specProcessor.getSpecs().values()) {\n try {\n spec.buildJavaFile().writeTo(processingEnv.getFiler());\n } catch (IOException e) {\n processingEnv.getMessager().printMessage(Diagnostic.Kind.ERROR, e.toString());\n }\n }\n }\n }", "title": "" }, { "docid": "5df5e1c888368fa3be39682a6e02a6ef", "score": "0.51288354", "text": "protected String getCompileFileName()\r\n/* 61: */ {\r\n/* 62: 89 */ return \"reporteChequePosfechadosDetallado\";\r\n/* 63: */ }", "title": "" }, { "docid": "061a231cccce97697af05d6a110cf84e", "score": "0.5100039", "text": "private void report() {\n }", "title": "" }, { "docid": "6ec0df354cdc84742d48f3580bae4529", "score": "0.5099925", "text": "final void prepareOutputFiles() throws IOException {\n // Initialize output writers\n File output = Exporter.getOutputFolder(\"bfd\", null);\n output.mkdirs();\n Path outputDirectory = output.toPath();\n\n rifWriters = new RifWriters(outputDirectory);\n }", "title": "" }, { "docid": "bce2eaf58ac30551854fff1f6785925e", "score": "0.5081998", "text": "@Override public boolean generateCode()\n{\n boolean rsts = false;\n\n map_context = new VelocityContext();\n\n try {\n clearOldCode();\n CompilationUnit cu = (CompilationUnit) cose_result.getStructure();\n setup(cu);\n producePackageFiles(cu);\n produceTestFiles();\n producePomFile();\n // generate resource files\n // generate test files\n\n File dir = (File) map_context.get(\"DIRECTORY\");\n IvyExec ex = new IvyExec(\"mvn compile\",dir,IvyExec.ERROR_OUTPUT);\n int sts = ex.waitFor();\n if (sts != 0) {\n\t IvyLog.logI(\"Maven compile failed\");\n\t rsts = false;\n }\n else {\n\t IvyLog.logI(\"Maven compile succeeded\");\n\t rsts = true;\n }\n // run tests\n }\n catch (IOException e) {\n return false;\n }\n\n return rsts;\n}", "title": "" }, { "docid": "b8fb9554ebc4c7a2decf766b4d448cd5", "score": "0.5075594", "text": "public void writeFileContents() {\n\t\t//will fill in later in the project\n\t}", "title": "" }, { "docid": "371ac72570a69813dfd92988bde04637", "score": "0.5043141", "text": "@NonNull @Override public WorkerResult doWork() {\n File outputDirectory = new File(getApplicationContext().getFilesDir(), ProjectConstants.PROJECTS_DIR);\n\n return null;\n }", "title": "" }, { "docid": "632364f52b2fafaf68a9ea74a2416e4a", "score": "0.50427693", "text": "public void dumpToProject() {\n takeHeapDump(false);\n }", "title": "" }, { "docid": "50679ba0c019099ee9c8a7d985696eb2", "score": "0.5039359", "text": "private void Compile()\n\t{\n\t\tBufferedWriter out = null;\n\t\ttry\n\t\t{\n\t\t\tFileWriter fstream = new FileWriter(\"ScheduleLog.txt\", true);\n\t\t\tout = new BufferedWriter(fstream);\n\t\t\tString appointmentTime = day + \" \" + time; \n\t\t\t// Each line in the log contains all necessary information for each scheduled visit in the following format:\n\t\t\t// [STUDENT_ID] : [TUTOR_ID] : [COURSE_HELPED] : [DATE_AND_TIME_OF_APPOINTMENT] : [LENGTH_OF_APPOINTMENT]\n\t\t out.write(s.getID() + \" : \" + t.getID() + \" : \" + c + \": \" + appointmentTime + \" : \" + l + \"\\n\");\n\t\t}\n\t\tcatch (IOException e)\n\t\t{\n\t\t System.err.println(\"Error: \" + e.getMessage());\n\t\t}\n\t\tfinally // close output stream\n\t\t{\n\t\t if(out != null) {\n\t\t try {\n\t\t\t\t\tout.close();\n\t\t\t\t} catch (IOException e) \n\t\t {\n\t\t\t\t\tSystem.err.println(\"Error: \" + e.getMessage());\n\t\t\t\t}\n\t\t }\n\t\t}\n\t}", "title": "" }, { "docid": "1102cb668ffc72294b5f7ed38bf7efd5", "score": "0.50334287", "text": "public void compile() {\n log.tag(\"compile\");\n for (Folder folder : Folder.values()) {\n log.println(Level.CONFIG, \"folder %s -> `%s`\", folder, path(folder));\n }\n Path modules = path(Folder.SOURCE);\n log.check(Files.exists(modules), \"folder source `%s` does not exist\", modules);\n log.check(Util.findDirectoryNames(modules).count() > 0, \"no directory found in `%s`\", modules);\n Tool.JavacOptions options = tool.defaultJavacOptions.get();\n Util.cleanTree(path(Folder.TARGET), true);\n switch (Layout.of(modules)) {\n case BASIC:\n log.info(\"main\");\n javac(modules, path(Folder.TARGET_MAIN_COMPILE), options);\n Util.copyTree(modules, path(Folder.TARGET_MAIN_COMPILE)); // TODO exclude .java files?\n break;\n case FIRST:\n Util.findDirectoryNames(modules)\n .forEach(\n module -> {\n log.fine(\"module %s\", module);\n Path source = modules.resolve(module);\n // main\n Util.copyTree(\n source.resolve(path(Folder.MAIN_JAVA)),\n path(Folder.TARGET_MAIN_SOURCE).resolve(module));\n Util.copyTree(\n source.resolve(path(Folder.MAIN_RESOURCES)),\n path(Folder.TARGET_MAIN_COMPILE).resolve(module));\n // test\n Util.copyTree(\n source.resolve(path(Folder.MAIN_JAVA)),\n path(Folder.TARGET_TEST_SOURCE).resolve(module));\n Util.copyTree(\n source.resolve(path(Folder.TEST_JAVA)),\n path(Folder.TARGET_TEST_SOURCE).resolve(module));\n Util.moveModuleInfo(path(Folder.TARGET_TEST_SOURCE).resolve(module));\n Util.copyTree(\n source.resolve(path(Folder.TEST_RESOURCES)),\n path(Folder.TARGET_TEST_COMPILE).resolve(module));\n });\n log.info(\"main\");\n javac(path(Folder.TARGET_MAIN_SOURCE), path(Folder.TARGET_MAIN_COMPILE), options);\n if (Files.exists(path(Folder.TARGET_TEST_SOURCE))) {\n log.info(\"test\");\n javac(path(Folder.TARGET_TEST_SOURCE), path(Folder.TARGET_TEST_COMPILE), options);\n }\n break;\n case TRAIL:\n log.info(\"main\");\n javac(modules.resolve(path(Folder.MAIN_JAVA)), path(Folder.TARGET_MAIN_COMPILE), options);\n Util.copyTree(\n modules.resolve(path(Folder.MAIN_RESOURCES)), path(Folder.TARGET_MAIN_COMPILE));\n if (Files.exists(modules.resolve(path(Folder.TEST_JAVA)))) {\n log.info(\"test\");\n Util.copyTree(modules.resolve(path(Folder.MAIN_JAVA)), path(Folder.TARGET_TEST_SOURCE));\n Util.copyTree(modules.resolve(path(Folder.TEST_JAVA)), path(Folder.TARGET_TEST_SOURCE));\n javac(path(Folder.TARGET_TEST_SOURCE), path(Folder.TARGET_TEST_COMPILE), options);\n Util.copyTree(\n modules.resolve(path(Folder.TEST_RESOURCES)), path(Folder.TARGET_TEST_COMPILE));\n }\n break;\n default:\n log.check(false, \"unsupported module source path layout of `%s`\", modules);\n }\n log.tag(\"compile\");\n log.info(\"compiled\");\n }", "title": "" }, { "docid": "53f842a33a36b185bef57ce924c43a61", "score": "0.50260854", "text": "@Override\r\n public void run(){\n String sourceFullPath = Main.getFirstArgument();\r\n String sourcePath = FileSystem.extractParentPathFrom(sourceFullPath);\r\n String sourceName = FileSystem.getFileName(sourceFullPath);\r\n\r\n //Caut directorul sursa\r\n Directory sourceDir = FileSystem.getDirectoryFrom(sourcePath);\r\n if(sourceDir == null){\r\n //Daca unul din directoarele din path sau chiar nodul de copiat nu exista se va afisa mesajul:\r\n String message = \"cp: cannot copy \" + sourceFullPath + \": No such file or directory\\n\";\r\n OutputFiles.writeError(message);\r\n\r\n return;\r\n }\r\n\r\n //Caut frunza de copiat\r\n Leaf originalLeaf = sourceDir.get(sourceName);\r\n if(sourceName.equals(\".\")){\r\n originalLeaf = FileSystem.getCurrentDir();\r\n }\r\n if(originalLeaf == null){\r\n String message = \"cp: cannot copy \" + sourceFullPath + \": No such file or directory\\n\";\r\n OutputFiles.writeError(message);\r\n return;\r\n }\r\n\r\n //Iau al doilea argument pentru destinatie\r\n String destPath = Main.getSecondArgument();\r\n\r\n //Caut directorul destinatiei\r\n Directory destDir = FileSystem.getDirectoryFrom(destPath);\r\n\r\n //Verific daca exista\r\n if(destDir == null){\r\n //Daca unul din directoarele din path-ul destinatiei nu exista se va afisa urmatorul mesaj:\r\n String message = \"cp: cannot copy into \" + destPath + \": No such directory\\n\";\r\n OutputFiles.writeError(message);\r\n\r\n return;\r\n }\r\n\r\n //Clonez frunza gasita in sursa.\r\n Leaf copyLeaf = originalLeaf.clone();\r\n\r\n //Setez noul parinte\r\n copyLeaf.setParent(destDir);\r\n if(copyLeaf instanceof Directory){\r\n //Resetez path-urile si parintii daca nodul este director\r\n ((Directory)copyLeaf).resetPathAndParents();\r\n }else{\r\n //Resetez doar path-ul deoarece este File\r\n copyLeaf.setPath(destDir.getFullPath());\r\n copyLeaf.resetFullPath();\r\n }\r\n\r\n if(destDir.add(copyLeaf) == -1){\r\n //Fisierul exista deja in directorul destinatie\r\n //Doar se va afisa mesajul urmator:\r\n String message = \"cp: cannot copy \" + sourceFullPath + \": Node exists at destination\\n\";\r\n OutputFiles.writeError(message);\r\n\r\n return;\r\n }\r\n }", "title": "" }, { "docid": "6fc9bf02d48baa9ede1b75bb6ac34438", "score": "0.50153255", "text": "public void testCompile() throws Exception {\n final File testDir = ResourceExtractor.simpleExtractResources( getClass(), \"/org/phpmaven/test/projects/source-copy\");\n \n final Verifier verifier = new Verifier( testDir.getAbsolutePath() );\n \n // delete the pom from previous runs\n verifier.deleteArtifact( \"org.phpmaven.test\", \"source-copy\", \"0.0.1\", \"pom\" );\n verifier.deleteArtifact( \"org.phpmaven.test\", \"source-copy\", \"0.0.1\", \"phar\" );\n verifier.setAutoclean(true);\n\n verifier.executeGoal(\"compile\");\n verifier.verifyErrorFreeLog();\n verifier.resetStreams();\n \n verifier.assertFilePresent(\"target/classes/MyClass.php\");\n }", "title": "" }, { "docid": "d061301688b85665882e989d0b4dfbd4", "score": "0.5010583", "text": "protected void compileFile() throws Exception\r\n \t{\r\n \t\tlog(\"Compiling...\");\r\n \t\tJava javatask = (Java) getProject().createTask(\"java\");\r\n \t\tjavatask.setClassname(getProgramClassName());\r\n \t\tjavatask.setFork(true);\r\n \t\tjavatask.setFailonerror(true);\r\n \r\n\t\tjavatask.createJvmarg().setValue(\"-Dfile.encoding=\"+this.inputCharset );\r\n\t\t\r\n \t\tfor (Argument arg : jvmArgs)\r\n \t\t{\r\n \t\t\tif(arg != null)\r\n \t\t\t{\r\n \t\t\t\tjavatask.createJvmarg().setValue(arg.getParts()[0]);\r\n \t\t\t}\r\n \t\t}\r\n \t\taddCompilerParameters(javatask);\r\n \r\n \t\tfor (Argument arg : args)\r\n \t\t{\r\n \t\t\tif(arg != null)\r\n \t\t\t{\r\n \t\t\t\tjavatask.createArg().setValue(arg.getParts()[0]);\r\n \t\t\t}\r\n \t\t}\r\n \r\n \t\tfor (Path path : this.classpath)\r\n \t\t{\r\n \t\t\tjavatask.setClasspath(path);\r\n \t\t}\r\n \t\t\r\n \t\tint resultCode = javatask.executeJava();\r\n \t\tif (resultCode != 0)\r\n \t\t{\r\n \t\t\tif (this.failOnError )\r\n \t\t\t{\r\n \t\t\t\tthrow new CompilerException(\"Crux Compiler returned errors.\");\r\n \t\t\t}\r\n \t\t\telse\r\n \t\t\t{\r\n \t\t\t\tlog(\"Crux Compiler returned errors.\", Project.MSG_ERR);\t\t\t\t\r\n \t\t\t}\r\n \t\t}\r\n \t}", "title": "" }, { "docid": "e38e07005d82dca6446bc57e06d54946", "score": "0.500753", "text": "public void createReportData(String treeReport, IProject project) throws Exception {\n\t\tFile generalMetrics = new File(project.getLocation().toString() + \"/reports/libs/lib/hierarchical-analysis.js\" );\n\t\tif(!generalMetrics.exists())\n\t\t\tgeneralMetrics.createNewFile();\n\t\tPrintWriter outMetrics = new PrintWriter( generalMetrics );\n\t\toutMetrics.print(treeReport);\n\t\toutMetrics.close();\n\t}", "title": "" }, { "docid": "d4de5229c2269dc2d476ab8c1573a295", "score": "0.4993765", "text": "@Override\r\n\tpublic void report() {\n\t\t\r\n\t}", "title": "" }, { "docid": "82292fe06283ccf5d6947062318aae89", "score": "0.49910462", "text": "public void crawl() {\n LOG.log(Level.INFO, \"Crawling ...\");\n \n\t\tthis.crawlPage(ROOT_URL);\n\t\ttransformer.transform(locationSet, new File(OUTPUT_FILE_NAME));\n\t\t\n\t\tLOG.log(Level.INFO, \"Output generated at project root, File name is \"+OUTPUT_FILE_NAME);\n\t}", "title": "" }, { "docid": "72d1e1b08691de48a6fff90ec88fcd7d", "score": "0.49692467", "text": "private void generateExternalReports(Engine engine, File outDirectory) throws ScanAgentException {\n try {\n engine.writeReports(applicationName, outDirectory, this.reportFormat.name(), null);\n } catch (ReportException ex) {\n LOGGER.debug(\"Unexpected exception occurred during analysis; please see the verbose error log for more details.\", ex);\n throw new ScanAgentException(\"Error generating the report\", ex);\n }\n }", "title": "" }, { "docid": "36150b0e355eba1003fb847a4b337a49", "score": "0.4964586", "text": "@Override\n public void perform(@Nonnull Run<?, ?> run,\n @Nonnull FilePath ws,\n @Nonnull Launcher launcher,\n @Nonnull TaskListener listener)\n throws InterruptedException, IOException {\n listener.getLogger().println(String.format(\"[coderrect] Starting. workspace=%s, run=%s, buildDirectory=%s\",\n ws.getBaseName(), run.getId(), this.buildDirectory));\n\n if (Result.ABORTED.equals(run.getResult())) {\n listener.getLogger().println(\"Skipping publishing race reports because build aborted\");\n return;\n }\n\n CoderrectParser parser = new CoderrectParser(listener, this.buildDirectory);\n // ws remotely executes 'parser' on the slave machine by sending jar file to\n // the slave and ser/deser its return value to the master\n CoderrectStats stats = ws.act(parser);\n Run<?,?> prevRun = run.getPreviousBuild();\n CoderrectStats prevStats = null;\n if (prevRun != null) {\n CoderrectAction prevAction = prevRun.getAction(CoderrectAction.class);\n if (prevAction != null)\n prevStats = prevAction.getStats();\n }\n logRaceList(listener.getLogger(), \"current\", stats.getDataRaceList());\n if (prevStats != null)\n logRaceList(listener.getLogger(), \"previous\", prevStats.getDataRaceList());\n CoderrectAction action = new CoderrectAction(run, stats, prevStats);\n listener.getLogger().printf(\"[coderrect] newAdded=%d, disappeared=%d\\n\",\n action.getNewAdded().size(), action.getDisappeared().size());\n run.addAction(action);\n\n copyFilesToBuildDirectory(run, ws, listener, run.getRootDir(), launcher.getChannel());\n\n listener.getLogger().println(\"[coderrect] done\");\n }", "title": "" }, { "docid": "1b96c9d0716bed577b610aceec56db6f", "score": "0.4945859", "text": "public void report() {\n\t\t\r\n\t}", "title": "" }, { "docid": "66e119d5514259b59958e16c08bf51db", "score": "0.4945307", "text": "public void createSummaryReport(String ProjectName, String SuiteType, String strExecutionPath, StringBuffer masterTable, int[] arrStatus) throws IOException{\r\n\t\t\t\t\t\r\n\t\t\tString resultPath = \"./Detailed Reports/\" + strExecutionPath + \"/\" + \"SummaryReport_\"\r\n\t\t\t\t\t+ ProjectName + \"_\"\r\n\t\t\t\t\t+ strExecutionPath + \".html\"; \r\n\t\t\t\r\n\t\t\tint year = Calendar.getInstance().get(Calendar.YEAR);\r\n\t\t\t\r\n\t\t\tFile file;\r\n\t\t\tfile=new File(resultPath);\r\n\t\t\tif(!file.exists()){\r\n\t\t\t\tfile.createNewFile();\r\n\t\t\t\tFileWriter fout = new FileWriter(resultPath, true);\r\n\t fout.write(\" <!DOCTYPE html>\"\r\n\t +\" <html lang='en'>\" \r\n\t +\" <head>\" \r\n\t +\" <META http-equiv=\\\"Content-Type\\\" content=\\\"text/html; charset=UTF-8\\\">\"\r\n\t +\" <title>Summary Report</title>\"\r\n\t +\" <script type='text/javascript' src='https://www.gstatic.com/charts/loader.js'></script>\"\r\n\t +\"\t\t <style>#main{background-color:#FFF;border-radius:0 0 5px 5px}h1{font-family:Georgia,serif;border-bottom:3px solid #0F0;color:#960;font-size:30px}table{width:100%}table#'ReportTable',td#'ReportTable',th#'ReportTable'{border:1px solid lightblue;border-collapse:collapse;padding:5px}table#'SummaryTable',td#'SummaryTable',th#'SummaryTable'{style=border:10px solid black;background-color:white;border-collapse:collapse;padding:5px;border-style: solid;border-width: 2px 10px 4px 20px;}h4{width:400px}th{text-align:left}#SummaryTable tr:nth-child(even){background-color:#fff}#SummaryTable tr:nth-child(odd){background-color:#fff}#SummaryTable td:nth-child(odd){background-color:#fff}.pass{color:#fff;background-color:green}.fail{color:#fff;background-color:red} a{color:white !important;text-decoration: underline;}; a:link{color:white !important;text-decoration: underline;} ; a:visited{color:white !important; text-decoration: underline;}; a:hover{color:white !important;text-decoration: underline;}</style>\"\r\n\t +\" <script src='http://code.jquery.com/jquery-1.9.1.js'> </script>\"\r\n\t +\" <meta name='viewport' content='width=device-width, initial-scale=1'>\"\r\n\t +\" <link rel='stylesheet' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css'>\"\r\n\t +\" <script src='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js'></script>\" \r\n\t +\" <script type='text/javascript'>$(document).ready(function(){function t(){var t=google.visualization.arrayToDataTable([['Task','No of Test Cases'],['Pass',s],['Fail',o]]),a={title:'Execution Summary',slices: { 1: { color: 'red' }, 0: { color: 'green' } },backgroundColor:'white'},e=new google.visualization.PieChart(document.getElementById('piechart'));e.draw(t,a)}var a=!1,e=1;$('#ReportTable tr td:first-child').each(function(){$(this).html(e),e++}),$('#ReportTable tr td:last-child').css('color','White'),$('#ReportTable tr td:last-child > a').each(function(){'pass'==$(this).html().toString().toLowerCase().trim()?$(this).parent().addClass('pass'):($(this).parent().addClass('fail'),a=!0)}),google.charts.load('current',{packages:['corechart']});var s=$('.pass').length,o=$('.fail').length;google.charts.setOnLoadCallback(t)}); </script>\"\r\n\t +\" </head>\"\r\n\t +\" <body style='padding:5px;'>\"\r\n\t +\" <div class='container-fluid'>\"\r\n\t +\" <div id='main'>\"\r\n\t +\" <div style='float: left'>\"\r\n\t +\" <img src= 'data:image/jpg;base64,/9j/4AAQSkZJRgABAQEBLAEsAAD/4QCWRXhpZgAASUkqAAgAAAADADEBAgAdAAAAMgAAADIBAgAUAAAAUAAAAGmHBAABAAAAZAAAAAAAAABBZG9iZSBQaG90b3Nob3AgQ1MgTWFjaW50b3NoAAAyMDA3OjAzOjE2IDExOjIzOjAzAAMAAaADAAEAAAD//wAAAqAEAAEAAACmAwAAA6AEAAEAAACLAQAAAAAAAP/bAEMAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAgIBAQIBAQECAgICAgICAgIBAgICAgICAgICAv/bAEMBAQEBAQEBAQEBAQIBAQECAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAv/AABEIAEsAsQMBIgACEQEDEQH/xAAfAAABBQEBAQEBAQAAAAAAAAAAAQIDBAUGBwgJCgv/xAC1EAACAQMDAgQDBQUEBAAAAX0BAgMABBEFEiExQQYTUWEHInEUMoGRoQgjQrHBFVLR8CQzYnKCCQoWFxgZGiUmJygpKjQ1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4eLj5OXm5+jp6vHy8/T19vf4+fr/xAAfAQADAQEBAQEBAQEBAAAAAAAAAQIDBAUGBwgJCgv/xAC1EQACAQIEBAMEBwUEBAABAncAAQIDEQQFITEGEkFRB2FxEyIygQgUQpGhscEJIzNS8BVictEKFiQ04SXxFxgZGiYnKCkqNTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqCg4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2dri4+Tl5ufo6ery8/T19vf4+fr/2gAMAwEAAhEDEQA/AP5L6KKK/wBKD+JwooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAor9Bf+CVXwQ+F/7SX/BQn9lz4G/Gnwx/wmfwt+I/j+50Pxl4X/trxD4dOsaZH4W8Q6jHbf234U1aw1HTsXtjavvtbuCQ+VtLlGZW/ud+M/8AwRg/4N4f2ek8PXP7QXw5+EHwNi8WyanD4Vl+Lf7bPx3+GMPiWTQ1sH1iPQT4s/aNsU1h7RNU0w3P2cSGAalAZdvnRlvzzi3xGy3hHM8JlOJyzF5jjMbS9tBYaEJLl5pxtaU4yclySk0otcut90vr+H+DsZxBgsTmFLHYfBYbCz9nJ1pSj73LGV7qLiovnSu3e+ltr/5rtFf6DHxs/wCDbT/gmH+198ILT4m/8E+viivwom1DStRsvAPjn4ZfFe6/aU/Z68aatoPiq50zxBN4hm8SeLNZ1HU7uK60nXNCll0LxTYwaVe2rTXWl6jc2VxY3P8AC9+05+zh8Uv2Rfj38Tv2b/jRpdlpHxK+FHiEaD4hg0y9/tHSL6G806x13w/4g0S+aGJ7rQNV8Mato2qafJNDb3DWWsQNcW1tOZII+/hTj3IOMJV6GXTqYbH4VXqYbEQVOtFXs5WUpxlFS92TjJuLspKN1flz7hTNuHlRq4yMK2ExGkK9KXPSk7XteyabWqvFcyu4t2dvCKKRmVPvMq/7xA6/U0v9QD+fNfZKUG3FSTlHdaNr5f5nzbi0k2nZ9e/owor/AEbP+GHP2Kh/wQOHxkH7IH7L/wDwt7/h0QPiYfip/wAKC+FX/Cxj8Rz+xuPFB8f/APCbf8Ip/af/AAm3/CTf8TH+1ftP277d/pfn+f8AvK/zk/8AP1r4zg3jTDcYwzaeGwU8Esqr+xlzyjLndm+ZcqVlps7n0fEXDdfh15cq2JhiXmNJVo8ikuVO2jvu9egUUgZGJUOpYHBXcMj6jPHNfRn7IHh34T+L/wBrL9mLwp8ebnRLP4HeJv2gvg34f+Ml14l8T3Hgnw7bfCzWPiH4d0/4gT694ztdWsJfCWjJ4UuNVa61OO+spLGFXukurdohKn1WLxlPCYLF43ldeGEp1KjjTtKUlTi5OMVezk7WSutWkeHh8NLEYnD4XmVGeInCCc7qMeeSipSdtIq92+12fOlFf1A/8FzP2Y/+CNHwQ/Z6+EniD/gm14k+Aet/FXVvjNFo3jq3+E37WviH9oLWovh+fA/i2+abUfDOs/GbxJHoul/8JFaaIpv1tIGErR2/2kLMY5PZ/Cv/AAbp/s+6b/wSk8Y/t7eP/j/8ZfE/xNn/AGD9Y/bB8DeEPB+l+CPA3gXw9rj/ALPt58Z9D8E+LINb0fxFf+MtJt9Rawsbq6s77QZryC3mkhisZJkFv8TDxJyGOT5ZnOPoYnLaebV54ejSq0f3zqQlyvmjFyjGLumpOSTR9PPgvNZZjjsuwlSjjZZdSjWqVIVF7NQlG+jaTk1qmknqj+Reivbf2aPg+v7Qv7R/7P3wAk8Qnwknxy+N/wAKPg4/ipdLXXG8Mr8TfHugeCW8QLorajaDV3shrn2kWpu7UXP2byftEO/zV/oJ/wCC1P8AwRA/Z1/4Jhfsn/Bv4vfDL4q/Gr4kfEnxl8adH+F/iybx1e+BbfwNNp154B8f+K7nVPDvhfw/4Kt7/RL46h4W05EW61zUo1hknVg7vHJF7+P4pyfLc7yvh/E1pLM84TdGMYScXFKV5Sn8MV7kkldt6O1meThMhzLGZZj83o0k8FlzSqScknd8tlGO8n7y8vO5/MTRQBnGOSe38setIGUkqGUsvJUEFgM4ORnjnj619A5Ri4qUknLZNq79DyFGTTkotqO7tohaKKKokKKKKACiiigAooooA/Vz/ghx/wApY/2JP+yrXf8A6hPiuv6JP+Dwv/kW/wBgH31z9pjP/gB8Ca/nb/4Icf8AKWP9iT/sq13/AOoT4rr+zf8A4OCv+CX37T3/AAUq0r9krT/2bV+HjS/CfxF8Wh41fx94tn8LQ2Fj8Q7b4aw6Tq1oYNGvG1Gyt28H6obxIVa6QSwfZ7e5LuI/wTjXH4LLPF7gzHZhiYYPB4fBzc6lR8sIp/XIq7eivKSS82j9Z4ZwuJx3h5xLhcJRliMTWxEFGEFeTa+rydl6J38j8Ev+DUb9oz4meFP20/iH+zTF4h1u9+DXxZ+D/i7xxqHgcy28vh/SPif4G1HwgdF+IVtHdWUsumai3hSXX9Hu1s5rOPUl1PTn1IXjaNpS2v6h/wDBdb/gnP4Y/bS/4Km/8EsvBbeKNZ8LXX7TXhj4yfC/4o6np9xaWkulfCb9mB7P42a1qHhO4n8O6lHZfEG98M/En4gWGn3F/aXmn/2hbaKt1ALWO4L/AFL/AMETP+CId/8A8EuNV+I37Qvx/wDin4J8bfHXxh4Dvvh8YPAMuvQ/DH4Z/D4eKIPE/iGSLxP4sttNm8Wajqg8K+CLq4u7rRdKXRRo13Z273sFzNdyfl947/4K6/Av4uf8HGv7Mvj2H4l6ZafsmfAfRfGf7L/h34lya/ea18Otc8afEjwZ8QdH1j4p6QI9MS18M+H9S+KPivwR4buNbSa50q40LwBZeJrjVodHk/0H5XG5jVzvxB4g4l4HUqtHKssxDqV6cJKNWssJUpwcbpNz53TcFy803QcknFXPdw2DhlnCGUZLxO1Cpj8dR5KM5Jyp0nXhOSdm7RUebmd7Q9pZtPQ/b/8AaM/aF0D/AIJD+F/gx+zf+wj/AMErfj3+0D4b1K307WvFml/s0fCr4iR+CfBfhS1tk8If8JZ4x+K+hfC/xKPij8db5PC9oLi01W7fXb+2sE1XxJrtobzSpNV/NP8A4OI/2BfgL8bv2EG/4KV/DD4Sz/Bn45eF4vhT8R/iJbaj8NbzwJ8SfiJ8PvivqHhvwpf+GfjP4Ng+zS6T8V/D+peM/DV9fahq8NzqWmWfg7VNEvCY/IksP2h/4KO+N/8AgrV8ObfwD4l/4Jn/AAp/ZY+PWmXJvdI+Jfw3+Ndpr+k/EPSdReQ3Wi+L/B/im4+P/gzw/qnhJ7QXNrqFhdSQ6rZXUNnPZHVrbULtdE/mc/4Kz/tl/wDBdXw7+wZ4t8O/t7fs2fsafAz4OftAeO9G+BN5H8O4/EniH4srfLYv8UdO1PSb/RP2lfGPh/SNGvYfAesWZe9E19/xL7tUsbffaX9fL8EU8wxGc8MZjlWKw2HzN4pLFTnmN8VjITqJ1Y1cLVnzWVJTS5Ie+rSvKSTPd4olgqGXZ5hMdRrVcEsP+4jHBWoYeUYfu5QrwjbWbjfmfuvTRXR++Z/5Vxf+8KS/+sNivyU/4Nsv+CS37Ofir9mbTP28f2ifh18PPjb4y+KvivxPbfBHRPGdgnjPwv8ADLwZ8MPGGr+BtU1y68H6/pK6YvxNvfiT4V8RypdyR6q2m6b4d0afSbzTb291m3P61n/lXF/7wpD/ANYbFeTf8G0fx4+HPxY/4Ja/DL4SeH/E1hf/ABE/Z28RfEzwP8VPC5eztdZ8Pjxv8T/HvxI8Cav/AGXHdNcN4b1Dwj4ntobTU5Io7e91Lw1rVpC0k2mXfl81LH5pgeCuLf7OqzoUcVnFKliZ07qSounXfK5LWMZ1FCMtbS0g7qTTt4XA4riThz65CNWrQyuU6EJ2cZVVKnrZ6Nxi5NLp8X2TW/ZV/wCC3X7A3/BTz9o34ifsIQfCvXvEHhnxdpXiuL4d6h8Y/BPhvW/hd+0b4d8GWSax4ksLzwFr4mu9Ann0qw1nWdL0/W9MIudH8NTz6o2jaz5Oht+CX7fn/BMv4ZfsKf8ABbr/AIJra38G/Cml6B+zf+1L+1D8A9Z8P+AJLz+1dL8L+OfB3x1+G2lfFvwZpukapNcTx+CJLHxZ4G1O1S4ke3WTxjf6VZww2GmW8K/Rf/BGb/ggr+2P+yJ/wUlh/aE/aDg8OeFPhT+zY/xQtfhl4p0rxD4U8SS/tDah428JeOPhHpWp6F4e0LxLdX/gHwynhXxTqOuXL6/FZalFOdM0yLTro3OpXWleqf8ABar9ojwF4+/4LW/8EZP2cfDdxFqXjH9nb9pL4R+MPiLfWOqaXe2ejaj8fvjt8BZ/D/gnUrG1uGudH8VWvhn4V6ZrU8N1HGJNM+ImjXEHmLMxH0eEeX5RxXj8t4HzGeO4fxmS4qpjFGq6tOM44Ku+du9lNVFQu7XpzqypLlT5Y+TWWLzHIcJjeKMHDC5th8zoQw7dONObg8RSXKlu4uLqeUlBTd939P8A/Bwhrnwl/Za8O/8ABNb9oGX4fabp3h/4Pf8ABSX4FfFLxhb/AA+8LeG7DxRrHhT4bWuv+ONb0jSUZ7CG+1Oax0GZbWG6u7a2e5MQmnhTMqft5J+138Oov2IZP28m0DxofhLH+yu/7XB8MCw0P/hYZ+HafCU/GI6CumHxCNM/4TT/AIRxfs/kf2qLH7d+7/tD7P8A6TX89n/B3L/yZT+zZ/2dJb/+qm+I9fpf+yx4Ysv2yf8Aggz8LfhB8JPFfh+TUPi//wAEzx+zPpHiXU5Lz/hHND+JMP7P178AfEcGuSafaTXCWej/ABH0zWbTUPIgmmQ6POIopHCo3y+YYDDVeBOCc2xXPKUsdisNVqOUrKj7aVS3lL42nvZWWx7uExVanxZxTgMOopLC0K1OCiruoqahp5fCmtru73PyD/Z5/wCC+37Inxu/4K1+FvHHhb4XftF6bpf7SXwR/Zp/Yh8E2uveF/hlbX2j/FK//aV+JuqQ+JPFEenfFe5jtPASwfF3w6rXNpJeaiHsb0DTCI4Guf6BP+Cjf/BR74K/8EzPhJ4M+Mnxy8IfE7xl4Z8bfEez+GOl6f8ACrSPCWsa5ba5e+GfEviqK8v7fxf4x0W3j0gaf4Wv0Z47mSYTTwqICjO8f+fP4c/YS+MX/BNL/grh/wAE9fg9+0hrnw2HiO8/aQ/ZR+LD6r4J8Tahq3hbTvBc37USeF7XUNV1rX9A0v7C8ieAdT1EhotsGn6jatdPb3n2uztP7aP+C8H/AATu+Of/AAUj/ZX+GHwl/Z91T4fad408D/tAeGPiLqUXxG13VvDmj3XhYeC/HngzU5bHUtJ8Pakz6na3vi7Srt4JIYllsLK+aGWS9jtbG8+o4s4f4MwfFfBcI4mUeFc0wsfaV3Wk4unDnpwlGrb3VpT5mtNbvR3PC4fzXiTEcP8AE/7lSz3BV3yUvZRupT5ZSThs3rKye2y2Pyd/4N9/+CZfwF+OGi/Fr/gph+0B8LtG+JX/AAtX44fEa/8A2Y/B/wASPDNh4i0jwl4R8NeMNbOs/Eifw/LqV9p+teM7nxu+paXZpPYzSaFcfDZ77TLuWfUY5LT9dP2TP26PFX/BRj4hfG/9mf8Aal/4JP8A7R/wB+CT6BeeIPAviT9q34Qa5rfwu+Mfhnw/4ztILfQPiZ4c8efC6w0jwP8AEd7a58J61YaJb33i2yeTTNZVNajl0XT7jWvmz/g17/aO8C/Fn/gmZ4Z+COjuNP8AH/7Lfjz4geEvHGgX2oafNq82mfFLx54t+Mvgzxouk28pn0rw9eDxl4g0W3a5VWn1H4c6x5W6OIGuZ+Jfx9/4OmPBHjvXfCnhP9iv/gnV8Y/Dulz2SaV8TPAWra3o3hHxJBeadZ3zz6dpXxT/AG1fDuv2T2s93LZ3SX2i2p+16dcGza8sjbXt14XEk8Zm3FfFWGzCdGGLwVT2eCqYvHPCLC0Kc/3EsOpSjTqOpSVObTu5KXtIrmk5L1MlhhcBkOQ18LGpKhiYc2JhQwixPt6s1+8jWcYylDlm5xTVkrcrdlZ/x3/8FoP2EdF/4J6ft6/Ej4LeA9OvdM+C/ivRvD/xf+BFpqevt4j1Gz+GfjU6hZSaDcX93eXF81vovj/w9470GyfVp59Wu9P8LWmoX9zdzXhu5/ynr9qf+CgXxH/ay/4KSf8ABSy9+E/7Udr8Dvh98a/ggfFv7LPiDV/gp4X+IumfDU6F8EfHXxT8R6t4t0nSfiR4v1DV/EL3upa34gfTJnn0uHUbK50ova6erXF0fib9sD9jvUv2U73wVIPG9r460HxvBrSWl6NDfw7qWm6p4ffTjf2d7pv9p3scto9tq9g9vcR3O53W4iltoBDDLdftWSeLXCOVZ/wT4U8TcS014mcQ5bHF0MKo1an1ijCFWUarxMYSoKpVpYerVUZ1Yzqck5KOyf4VnuEpSzLNsTl1CVPLadeaipLlcLtXjyO0lyyfLa2isfF9FFFfsx4AUUUUAFFFFAHq/wADfjf8UP2bvix4J+OPwW8T/wDCGfFL4c6q+t+DfFH9i+HvEX9j6nJY3emvc/2L4r0q+07UM2V9dJsurSeMebuCB1Vh+xujf8HKf/BXXS/Dup6JffHzwb4j1G/Di18Xax8C/g3B4h0YsXIOm23h/wAF2OlSld6gfbNMuuIxnJJJ/BuivFzPhvIM6q06+b5NhsyrUoqEZ1qMKkowTcuVSkm1G7bte1231PUwOd5vllOdLLsyrYKnUfNKNOpKEW7JXaTteySvvsfoX+1F/wAFXf8Agod+2b4Th8BftGftS+PfG3gNYWg1DwLodh4Q+F/grxMg1PSNatj428I/CXw1oWneO5LbWdC0q7sW1m2vm0+4tBLYG2dnLfnpRRXbgMty/K6CwuW4GlgMMnf2dGnCnC/flgkm/N6nJisbjMdV9vjcVUxdbbmqTlOVu15NtLyWh+u37OH/AAXW/wCCoP7L3g7wf8Nvh/8AtKX/AIg+Gnga0/s3w74I+KPgzwN8Sbey0eOBbXT9Bi8W+KPD03iS28PWFtHbxabYQa3DZ6fb2kVpaQxWkawDxf8AbD/4Kr/t4/t6+DdI+HH7UnxwX4h/D7w747X4j+HPB9n8OPhT4K03RPFcGkeIfD+n30F74G8Eadf6ilroPinXbOBb+8u8Rag7yGScmavzxorzaPCvDWHxyzOhkOEo5hGXOq0cPTVRTe8lJRupO/xLXzO2pn2dVcI8DVzXEVMG1y+zlVm4cv8AK03rHy2P2YP/AAXi/b+P7Jv/AAxZ/bvwqHwQ/wCGeB+zB9i/4VrZf8JJ/wAKrHw2/wCFVC2/4SA6lvOuf8ImNv2zy932j99sz8tfnP8As0/tUftC/sefE6z+MX7NHxW8T/CT4h2mn3ejy614eexurLWdDvpLee78P+KvDWt2d3pXjHw695Z6fcnT9Vsryz+16ZaXYgFza28sXz/RW2G4dyHB4fGYTC5Ph6OFzF3r040oclZ96kbWn/28mZVs4zXEVcNXr5hWqVsGlGlN1Jc1NLZQle8UvJn7aeNP+DiT/grp428JL4PuP2pE8N21z4a1nw1r+u+C/hL8GvC/i3xFFrUUttLrL+JtO8BC68JeJLe0mkjsr7w0+hz2jlbqFlvYobmP8q/AXx3+Jvw/+Pfg79piy8R3fiP4yeDPi7oXxztvF3jee88W6hr/AMTNB8Y2vj1PEni+71a6e48T3t34ptftWoS3U7zXslxM88rSSs58fopYHhvh/LaOKoZfkuGwVHGxcK0aVGEFUhJNOM+VLmi02uV3Vm9CsVnWb42pQrYvMq+JqYZqVNzqTk4STTUo3bs00nda6I/Ub9un/gsB+2T/AMFEvh34S+F/7SOrfDvUfCvgnxpH490KPwh4FtfCt9H4gj0PV/Dwkuby3vpTcWn9na1fAxFQN7K2crXP/sf/APBXP/goF+wr4Qb4b/s6/Hu+8O/DFtYvdePw48UeEvBHxA8KW2p6hBcpey6LF408O3t34Tgmvbk3k8Gj3enw3V7GLi7jnZ5hL+bNFT/q1w9/Zqyb+xcM8qjLnWHdGDpKd786g04qV23zWvruP+284+vPM/7SrLMHHldZVJKo42tyuSd2rJK22iPqL9rf9s39o/8Abo+J2n/GH9qL4gx/En4gaR4SsPAWla1D4Q8DeC47DwbpWt+IfEOl6EmmeAvDWl2tzHBqninXHW5uIZr11uxHNcyJFEqfoP4Q/wCDhn/grr4K8D2XgTTf2rp9VttI0bw/oOieJfF3wp+DHjPxxp2neHoLe1ikvfFvif4f3V14x1m7tLaNNQ1PxA2r6nePJLdTXhvpZLpvxWooxPDHDuMwuEwOLyPC4nB4BWoU50KcoUk7XVOLi1BOyuo2Tsr7BQzvOMNiMRisPmdejicXrVnGrOMqjve82n7z3tfa+h7l8Bf2l/j5+y98ULH4z/s+fFfxj8JPiVZOofxJ4O1R9OGsWA1vSvEdx4d8U6MUbT/GHg251rQtGnvtD1a1vdHv20yFb2xuI0CD9ZZf+Dkn/gr3J4VtvDq/tHeGoNWgvprqTx1F8CPgYfFV5bSTGVNLubWb4fPoi2McZEatDo8NyUQF7h5MyN+FFFGYcM8O5tVp18zyPC4+tSSjGdWhTnJRW0eaUW+VdE3Zdh4PPM4y6E6eBzOvhadRtuMKs4pt7uydrvq9z3fxN+018dPGXx98QftReJfiFqep/HjxT4q1TxprvxAew0K2u77xBrMM9rqUw0Wz0qPTLXTpLG4mtRp8NlHp8Vmws4rVLVViFH41ftCfFn9oLVtK1f4p+J212TQLS5stBsLfT9P0nSdHgvpIZtQNlp2mW0UYuriW1tTPPIJLiVbOCN5TFbwRx+LUVy1OC+EKuf5ZxVU4YwM+Jcmw8sLhMe8LReLw2GkmnQoV+T2lOlaUlyRkopTkkkpSvwTxFeoqinWlNVpOUryb5pN3cpXerb1berYUUUV9MYhRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQB/9k=' alt='Logo' style='width:150px;height:70px;'>\"\r\n\t +\" </div>\"\r\n\t +\" <div align='right'>\"\r\n\t +\" <img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPoAAAD6CAYAAACI7Fo9AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAANQRSURBVHjaYjTSKWKgJjh7uZeRgBJGMuQYyTSPGHliwH8y5f9TWQ+DsW7xf4ZRMApIBAABxEitjE5mBmekkVpqZXBKMifJavfsuoji5nt3X+LM1DOn7RwsGX604BkCACCAWGicyYkVZ6SSGkprf0IJmBGHHCOhBA/MtIw/f/7+j+yGb19//kc2V1CQh+H9+y/I5jCBiLt3XmCY7eKmzwgtHP4PcMZmHC0MBj8ACCAWOmZwRjrzKa3VGfEkVkYcYv+fPXsH1/f3zz+4PCsrM1rGf4Fix6dP31Ey/ZvXn/6/fvURzObj4wTTDx++xsgwxqbKjGdP3/1PgX//D2BhMFoA0AkABBALHTI5Pj6xcuSaQY0mPLZMBBZ79/YzuMb99+8/PMEyMzOjJF5ghoXr+/3rL1yOk4v9P1A/WO4rpGaHq3v88DWYZmNjYXjz5jNcD7DGZ/z+7SfjixcfUOxQVpFgwFXzk1GgEcqEjER0TRgpKABGMz8NAEAAsVAxk5ObwUlhM9I5s6Mk2k8fvzEiZ2pGJkYwm5mJkfE/UPzDh29gtX//ItfkLP8/fvgKFv/9G5HRX7/+xIBe83/9+oPxy5fv/5lZmKD2gWt5MAe5SS8gyM34/Ol7DMdKSQkxAFsU/2lQsBHbqsHXjflPZMZmHM341AcAAdgvcxUAYSCIJkFIodjp/3+fInjm0IRoNp6NN1ZutzOwsMWbTbwPIL8D7xPtNdCrim+HEIws07NfMrS+6PZ5XuRO03qBWkrlLnqnRqAl1sr5QnSG8xZgZkwaQggeNMwaAT6lHsqy2gYGzBhCA3Q/oLBTPvZTRXGI0qR8C/Y9UM3RN+ZqkJ4A/4f+ZvUCsGPGOACCMBSl6GC8/z01KkYRU39FlMFBhVEmfgmE5fEaykTAc9j5yRolQP8K9BEQnm241or5MrhB24y0ZwbdRaEBp4XlvZHF5M6tFBs9PBaoC9AUrI6z9rqdPfwz4F6snw/HHgHfLSuhY1DD8XEH21PfTef5dV1JpyHXosj4qm0MZwD7aeYb4O8yJ4L/2/7j2ARgzwxaAARhKOwOhR76/3+0TIRcb+oQhMAoOuXFw1Q8+L23zSfNuLsu/vU83KADUNRFmxsDQIVbwPcV0OzkEAHASamKQQLggJyOCv62BlMd3KgQ7D7qE+WIvdKJh9NjVshDS+mPlLMICAQTlZtJnW/tJDHSrr1zs5GUPx/LZd2yOBGZN/7/rwDngfXcAU43ansecPTf7QfHKQB7ZtQCIAgDYddLUf//p5ZFwrrTGUUhg17zJdulEvR5W7pAf3FzD+Rfrt6YF/jHPd31FOT+KOE2FpWgbRGwB62OGta4ly8LLQE4tdR9iQVowlxdHo6f54/QEmpxxCVZ2g7Qs4YaPW8S0CXYOhyHNJ51u/3k65htIFbAx5rCUoF96sMA2Of19h7j1F+P8LywqwP6VkwbLt8CXxwbjwf6H/iXdgjAjtmtAAiDUHh/bdH7P2yNwDyW1GAUUpftZghTd/NxPKYPIbfCbgHbknc7XbCCSgxgenDv4DtaWG01DjFQPfKg3lBTHenZizs6PTq/W33OCWO61hIlh/fmMsSICrTsw6UP4MZSDyVC9Fc1bz4I5ecS8O9iGeZane4FtNdYBvH8DexTEQtgHN/fwG29vRHOJ+h/le+cTQB2zSUHQBAGoq2i9z8uP6MzDSjurIk7XZFACAvffAjhY8g9oHvm3E7fAVe57DvlAe4GPkElxGBKcqlnbAfsZuE1ozOD2B7Z91bHYyoGPDq4RXfEcbukY2eHiMjWxtwPZ7HOTpizjW0TRR8n+NKFCI5vcKdYZVLAXejyquz1IcyA+oIdwkTp0WUNFK3bD063x9qnL/Xegu2dGyFXZ8x/ciH4u/zwHQKQZwY7AIIwDAXn/38wRHHtmBAvChxNTJgEDiS+dtR9InybadFXII4TwsAa0DaTbkwD4L5lT517K4DhGcYBXgCas4mAvRe4t+1XqAtBPhG2sW0HsCoGfpdnDWdPNjKww1qsc+h9rz78jaf13RUAehWjeGTtDmSjQIgIzsKPGOBDUBz8VIO9hfv4KNyj9Ze5MAj9m8v/FvhLAHLNJQdAEAai4P1PDCHIGwp+EkQSd5q4kCrVxaOdwRUzzn8E+RPIs9gofslVANwo3e5mscUKdC/pAKvqedLotNjo8RaDdHR1CMmesa2yAiyLAlUdZ/wAPEl753povAKdBDoGG3EDXvcw1mKcWhwK5CbzTbVjq+tFlYMOgzlo46PyOQ/sbQvPYO/fxc83Bn9+CfsK4Cux2bWfQD9y+meu/6+B3wVg11xyAARhKAjK/S9MBfueJdTEKH6WukPQbhw6raQHyv5FBr8DdhwFXz/kyUa7OTFoNYPHnMXX4qFn8mKHXba1xYADpK0mh3pjHNwvt8YhDN8ycaDaQ911huV7X15bXKi5lveq9IzD7I04aMDx2aXCEqj12AzwCmviIbHTBmAcWYQNQtuI4uxgTwq7uEM6DvZRbX8L8JP7R9BfaX74gT+/VgHIM5ccAEEYiArh/hcGP5122shCjWjcuCIgNpD4OmNbPoD8LaDzUUwC3q3voFbsBZhs/+I5zgtwo/i1EHSBayb0buMh8kgEwauQ2iwB6B5XbLfbPvexUal1jvesyu7JJFr1gJ9x4iMUI5/YMtN92qPH5ZKBDzdSJR6UvdFtFKh8nacu+DOrfgfqq2frIPQjhbuzBPAr4DcByDWDHQBhEIYK///JyqSwLvOgTq7G7OA0IolvtLiqdN8Wmm9v1VuLcF8GIc9PP+cccCXsjAkp62DoDLhlZ1sINDvdbn0DOFTSLpWle2lI6vDPhw2Z3RAGwzEfxRvPxtZWQB1gWwshwGOHVDfrHj0WAaF8x724xt22zILpoNMfyammjM8FIrw7KzjfAz6ev/MwDXk/nX+R6lWAq+MuliyA/yTrfwn8KQC55pIDIAjEUD7e/8QI0nYgxBgisnRlkNEQ45vW4rGYsu9Y9FWgw2wMwPGqj4AbwCP0TOGamkOpMa62uKm3byoPy47kHTX2rdwbgFPyzrsCINjqbECmEyqdCZ+uOznHX9XMoitBV72Ad7TlTOzN+PdmkZXkY5+8WC2288vg/2td4Xq9bDyaBh4EjzFwHbDzyVQ96twd7hU1/wJ53px/2wBm4D9B/ktLfwlAvZnsAAjCQDQh/v8fg/KmrUsEgnrSk1tiXF5nGOryUM1702lvIB+B3FpPptY5FDydAPd912u4BaevXPAXFLoyVRxwbC/ABPCcj2JHkMbrxtIL4Kq60mTG4euh0BQN+tojSKMIKIW3wxHC6dkAm0K2bGptw3fsuFl+T9l1F+qrrwWIf+Gk4GbD9w+Vk5jG8/qgIUeyQrVP+cnO57uFJ0NogD+TmL+Bu3S20yT0ZdLij6bmRq21X3r1f7NsAnBrRjsAwTAUXcf/fzBTtL2tkYmJN14wFmvi7N61Gz+Wz1rAf4U73z3bIR/qewEcP3q8K0exyUAAyykAX935ktSiZUcbrLuqJ4SbPAtex0Wovs8TE2AHoGrjdQCu8AGw1c2TwX5ArOt4zAIOOay2rsWXQ9GRzLNvAF4PQk+q7GzuAYquQEt8Fcixo28pp7i4E/RWG3dCyQ/XV+hb/eml2vcAf5e0+626bwJwb24rAMIwDN2G///Ha13TRlSYuzz65AUVBM+StPXo2PaZHvqqipcFwMsX4AZ2QP7I5xUWXR32BnkDxI/DxTfYSnUF5nScDbdkKHMU4zgrbs5BfSAmMy/HQgBtjEp8EmZ1wF6vD4N5/Faaz7D0KNgprtJ0NfDiv3YotKu/SKJ1pxZ7fhe/34OEvRueJAG4NeFssYCFb2DboA3HcVXTyL7v5vBZoHtb7pfXubxp90fAz7bofgP8KQD1ZrMDIAjD4IC+/xPrkHXrEOIBwskTmuBf4ke7Os8JoHdVfFa589e2Q/4G/Bise26QAxCMlYZMK6+lK4M3KGH1xAjL7rt7Lv2zVMyqU+lh3Ysn8QoVldxgb2EZ2tKQxl/xHRzHqWQXWyCklDivLSLRSpvYHOOKD6Pi1oELTPcyikX8CnhCO68DrtOsJJGw6xw1ZOQ9a1kgvOh6Tb4DtizMzcN+WoR+1obP1u+/hf0RgDtrWQIQBIGu0/9/sUUBm1STZR47YeV4sWUfTI0Q7i11xwfQ5wGAZ3rxTCtt1Vkcp/0G8O37bMBGbQBa9R2DN7icFWP1kOnu15mkI1hd/FlCQhuIS8GynO9a9zmWnfn3GfwheBOel5i17fIe9OgS65jviwd0qOwv18tADQjN49Oa0K/bodoAtB8Q1Hc/6RPQR1i8BeiRdW7UK+h7AZ86Zu/pr3J+FYCbK8gBEIRhAv7/xciE0U4khEC8eSUDvXTtWvT8YLytyPgtcPcs3gA8wGG3mmI4xyvXOQVrgH73YG/WlDFWJXwE4CsgxfN98R33Y+DBOCOIKeWZsxfM4Qqro+slBlwxE85itvSOyLRnMCOv52sj0HQOjI89rpm3mbO7IhRa9wAPUrWBeb0eVP96c9Ctb2S77c8NQNAAZnP5zGBLG0CfrY3WR6DvL8vsAl4WWf137H4LQM0ZrQAIwlBU5/9/cbDldp2KqBk99RBZUPjg2d3uxLeu+5N6hwPjjTYqniYqnjrAqQKexwp4We5U4DXIddXn5yR452YcUnoFFwpL3MDys9/clVcFtIqXg7e5JA6qGms2Ld4qs33tsXbLoapyWfvNjDc49c0TQJENRRdP6/3f5sthbuLBZFQgq06Ea9ahoUsnzkjjJdfoVhYUdedyD4cbVL4o+A7q3bX6hrrxCvhVUAoTSE9B3an7b2C/BaDeDJYABEEgimP//8dqgoui2ajdOnSIqVuPXWy5NoD+YtdHwN/U+wH5RMW9Ai71UOoZaF7qlBpDnonwsOhi2aksoAnQzFtS0JuCY5Yv92rb2ekyZOwGYoOLtGFE5NNtDj2RScX2kVeZ511T3vbRQOKLqtdRus7wsOECvNmX75oNxgok5cw/ejQGfm0CdT0vnNj3EfjVKfqOgq+ucPCsWwA/U3daqPqYrT/ZqPuNlb8FYOZsdgAEYRjMnO//xlBlHT8hIcybV0mMB7+164A7cAecHFL3SH/+BXKdVFwXwKtKaxUqU2+ADgC07i/gCo7UzK777NygB4Wubpa5HGht/Ti4Ll1NC1gQ0JTc6OlzrQ7kNCZLM+w057I8t3ss5hje/7sWrok77BHYFfbdo6hA9pbLa4fAuvd6xt2LmL3EwkF+SOsTUmBDSglY9pMa5wPgGoQ+b9R9BX5V90j2EAnqTsn8r2F/BKDWXHIABGEgKoT7n1iqtJ1SJIC4dGX4CMbwmGlh5xz960WYbcA7yOVZFDCZVS9LV+tI64qaJu0rqi3Q2zhs40tDPBlggA2I6lzZrDwJ/KGJwYEIv1eVMLZKbtlx/x/16MucgIs54IcSS17tcjEN6up1fNsLhjkR1mnfSB6QE74zQPAVY8T8h82hjYQdzJJz7ULl0IIt/QKImWXfVfC8KOcB9LP+savr1xs1ZZpAP7Lyb+q+ysz/BvZbAOrOZYdCEIihIv7/H8PIPDoCAQ26cmGMicbNPbQdmuvXL7X02XzfnnvqPeQRdj0ZyKbkDjnbdL1PAD8EZIa8KLxY+PJ8+V1HYytmqD4xKGrb9ZrqGCGTec7ilsltS4uQmQPaqbVlZmVUL+7u+2rZVXvmkrGzS7ns9KG6jkVAQfSYj3c0bsmKMVhYdO1ohwX+V1YwHCLqQSu4WQsAcCI0mbivqvmKgt+BPTrHCeC9oqeBqtfHW4VfHdT9AvZTAGauZQVCGAZmk/7/F0urqTMxCnUDe9mDUASFQod5JGl7SdsrTC5S8+e6qI0bauNkcfpxO6S6v7MEcgOLNx/eOA5yc1/u37sMB/CdyQ2PohEF7A5PDq+ec4MThfM/0xd3uTrluJfJhlvnFJmS0Wm/h8TtFkzRs2yPgC5UAnx4gPtqb/2EUhgo8d3sgWi2CUzoZ7kNQzUpI7wd0kfDTH9plPkG8lFk8AqwV2uyuy4ArwV//yvDV6X834N9F4CZc8kBEISBaBHvf2IBYfqxKiLu3JGGmJjwmKEtrJNZ9pGaf0nINRVffWbdQy4qHvU8ntnGI1YXPMYVh5g2/gZixHA3yNtZvRSoebPxFVjCRpHPcGMDENt+WHmxwRBsRlDLcVZXZ8HXfwpEVryy0pq/qt7NbXgbbmU0kVy5/aY2P5B7GUek/JY7YQmXhpuADl2bKd2yzLc+XhHUvmPWm8rlCTVPA9hngE6DWHTjHvBLZ2N5WoMecro05fSgf+uXH92N/x3suwDEnEsOgCAMRFu4/5WpMBQoHwPqQhMTicQFZtLHTMPpHv2Nyz7FaEN8NppuELTux6vIyxhij9U8V3HGM0ROklDea+VGNc9zg6/IHscC972KG0admltA+PpO4zGSfv+e9ETZHOPhf5a+85aTF6bnnpS6I29yyG9ju6n7sIheM3o2Pl5PX9LoAN+jBg/GEJRNcwzRc2TfYfpKvCuB392ruW6o6FbsvBF8MOsWFhTjPmTuJwde/HZdAjBzhisAgjAQzuz9X7ncdpt6KeiPoCCI/Bd92902XWmvzdpqx4585x45IM8MOQpuuYG8AC1rCvnlkCvgArc83+bLJXjAqxvcBn14c8CdR0M8dmnWVtiFHPEQ2B6W0HNPnF1jrzheW8Gr/5YOZlTUUQNofLXrfzo8I9Yd6FYRvK0Wokwdfe1+terZawxYnX5bleuzTP7FfQ5g58w9g56B50C3K9t/79sfAai3ghwAQRg2FP//XwObCAUWhABH40U5GGMo7dbObkj1WQpu6J/ftztBc0WuN4zfA/lVQI37sDEtpLl9AU5YM3Gi01gEaFLdzukgiPZcuMRHWX/Am4aElzLeqrvsGPMm1OqZfJUW/thcRjr/Sbltptrste5nFY4ROGTKukO4p9blLbi5fkd6f0z4MOnGHBrwlHP6DcuwsttWAC4LTbdV9nabz3mtpxi92nO+w+wzhh+pnVn9/huwPwIwcwU5AIIwzAn+/8MiutHBUES4eSOgCQmUdmXDT0r2ZdCMy842QJ4XBUUpmgjj4LSLydYA+QYW9yLVSWL1jRUAm3HX7uR/fAgVm6tykANA2R1tZXuZY0opLfF7uotmNmcVAF+dlLm5QjyiGCRfR2OINGhf7lIO7np6V6K8UkdGy5MZsICu6usF9PnIiY91UOkORje5OyU5Jhpmn2TzFqOHDsiPAWDbvh170fa5xnfrB/jfAD8q6WMnfp9x5n8H9lMAZs5oBUAQhqKz7P9/WDOc17nVAoUeetIiSIiz3V2bcdJoW5HsHuStASUL5Ho7DfW2C/mYE0v0yJBTOSrk9RoQ75g3uDkocN0t7v54bzEuvJLuW//JrLvt4IqPmTul9i4tHoTxAJGty6Uv1krvYLO9+AOoxVtw6Wuqa8ABGUFcfEh3bEc+zD0aasFKTGsSSjZ3MvkXkj1PZPF0u3cHXo8J30+PHuAe8MHJ6pneezZOpXS2xaz+a9gvAYg5kx0AQRiIsvn/P2xQlqFpsSAaE70Qubm8TGcKvDkzbql0z5BzmKonv0DuOsjDAPKs4iGn7OnXDvDl24EkPj8H1LyAnkgINYGn/jrBroWEUEmHz2CFY6/Ytxkeqln4cQrVRCqnhWvYK8/fEwHf5lCmQ+QpP4httZ4RpbwTnr8E91H04HnnHM6jbIBny2Bnir7SK39Sps/GXbn3DHg/GDngd6V9PxpF1Y2i6l/C/st1CkDcGeRQDIJAVKz3P3EtVcYhmKbG5i/+ohvTJc8BBrVsWmq7kOcAOYPaIfcJtbNBLg55JuQGMPxxg1rUAG7Qtw+peoPe6nJC3mv2Mqm5pkKbbQTDpOoA29psvW5ngy7zGKun09B2WuM+YErKx/8kBy+9XPMttJR58RvhJHTx5TlYJEPN1Wfyc+wJwEocqq36KKEAebfT6ziYo+g0mKJjds5m9ROdNabwoq7s5kra3lYRoHLBqbT1/n5U/ajkO3C/rUXgj5DOHwtFP9P6UtGVwu+k87/C/hfwbwGYO5clBmEQiham/v8Pt7FwAgmTdnzsunDwsXCiHomX5HrFeOJeJs+fJzzq5JRR0vqCPIW4ENcQ3uI7fEAeGXpzwKWr7RtZPCD3bn106Z8lC/Tz7pbxHWo7LpTaJEU44Ma+6Z3binurBZ5sHnHpmZoIzOK/ZApRLbruxYyyQ+4vklYzue6zLp9RS/lOQzWTHz2NCTzreNb5WADm1jc878Kd1tdtvzVCMKt0uPGna2PQTdcX5rj3Un1LqAGfcUN+BYg6o91CGgfw8oqXgDtrHolpV2C+s+gC/wr5GfQV8rMkt86JPwL+b2H/CMDcGSwxCMJANIr//8OQWja7DJRKbW89CRk96MwjJK7rcaOE+6Sau75msHeC7XLvtgfkSZBL3hoNtt5Bb5lc0L5BjnOZzQW6dei1dY8GHZFEVj+mbJ66Eq4CT12qmnKhjccdgHPoSEnwHilfmwDWHs46fWimhdNr/Hxh64Bvg+iFS4WdLxLh9gZA8O+zao9CnbDHqqVOqc8LxheOcbjjPGqseMQMR0cmDzdaxrgYuMwo6RcPMYAUdO3TV1OpjjbBqfoENyzw8ZgAeMKYoHNcOE+YF8ZrzOKYtQj8Ann+Yj7CnRfb9BHylQfhDLlfJDZbvHO/287/JexPAag7gx0GQRgMQ1V07/+mS7bIWmFtKYpGs2W3HQxwMFGSr7S1/f01Rj//U0pzmjPk1ma6Sj3VppVa8FJ6yssaWsg1Fi9w83oHeRDIzWUf7Pn3l8TsetJvn9qaUx3qqV6TcpYw96YTBabGooo02frTtb/b5TX1Zhn06p6bG78rrnHWdVfi6FKfCo3rDpsSzjZfYdfKvQVSJh7Jk0KObChJQIXxBj4EeY3ejWFyiFHFH8Wh4dtsC6birqdBuSgtrLwlvH1VQWorrVX8HeHDsTHRev4Ynw5pVm2NOd4z4YttSExzfBroXQKBHPoFfM9jR7LmOSn4ICOgfE01o4AfAB+aOTaxOR5icjzA3p3kX8h9KRt+AfxV7H6mePMXsL8F4O3cdhAGgSAKCNTLg///nWp62Ygyu2xBrbfE2ITw2pQcmA7L4L8A3Hwo2ef4ZVPjnuZjpADb4yoR3lK7KYBZPUAucBeoBW6FnFd2MekwyEEdeAVeXXdsqS3BLpkQrDtdSYi1jVS2qsBd5jOvk2y88bHRIt9t/fEWY66dAxqnfQa6mmsN1NqSlOVeMtwAOgFwsttdcDFuTOyciQFJrkiUJdP3uMARWe0Z6LQ2nY8G8ybDbEuwBQdW4lUllMKVwtpUtgjrai6nZzGj+bDjD45n3e1rea54Bk6dvWnqGf5hPKRxOKZxOp1pGMm5cOaWYc99bp4YfO5XlIeOIPSwDiC/8w5kamDXXoGnBROO7iT8M8P1FfRLwP9Kyr+rif+rE38VgLdr2UEQiIHdLoviI/Hk/3+hHohCFMHtdsrDB5GLB7IkEALJTh8zbVk6HPJj2J5AbjPWZdbbyNnZZm8e0pDSep95TH9RT56KZ6T6TTXyzGQzDbvfwU0Exp2GPF7WxMYb2MG6KyOvrDvAzgZ2ZiW9ZCBL8rktaW6eVnbI1Qn3qAdnh1RdTAUnJhzfaRo3g3jnrhvISPBxkw2oOXoL793I0/hwyF2x2UZge1qtHNVVRVVdx1X+3y5euogvVKRtxfLCAmoBstPKGo26NUmwSTKu77Qx/qDr+2dULWDwbxDXQdVbz7rrC24GAT5E4xPC2u13R5CeXYjGaX25nNprdY7gL5v6Vt4U8HnjOYgRwCFgz+TaHSE+wN8DO4wAnn0491+8+qQAayasn2vQoh9z99ehHbwQ7H+X3Z4C0HZ2OwjCMBRut6ES8NL3f0LjhUJ0hGH/hhNRb9RkkcAt307bnZbwJff+VoTj746XIelLiMRqbnPc1LHGTSZqV82QS+dZUqB9LrCxmpu7LRRwE8CYIZd/gVshr4rzdG/xa4bdmZFGXG+FsqNtAJhhV16zcus1j2OaKN00ptE+kGhV8jySEcpoHotTBlV1KwBqnk4KDqNr2kCrhboOBA6QUvdwJaq7PsLlzGrd0DrIAXsIXFizKTL0Hko6gbOPjydqqM/HJakDToU9d+5vncwj9wI7Pil7nlg1w47w9AzhsSHYDgDeBSDw3b49SP8BpR67rj8mgn/s+tNtGlIk6AfvtoP3G7quoip+FVHU3kVeC7CXgPs394YVyJcR1KfuS/gQvq/xkQpz069g/+vvLgBr17KDIAwE+0B8oN7U//86T3oANKVB674KRTFCIknDoZcGOt3p7HQ79fTa6ELgnDe9U2QQzeWChScXapS9uuSDBeTPaG6xkiozqYoOk4eidULLs06Jx8iuB3v3LHnbhMbbKMxx6q03y/AZdjLDSDVYhHqIeTXes+uQUnaW6HVH60mLNvwFjE5iOzMILU1Jjj4QuPf7NYA7V0WRAw33ELGBBrtaVdcW6PgSpspJoe0PfX4PjNZEnblufBsryODnJXH8oSRTQCCHAaFsRgsAqRBSZp5quwem8jqoD7DHX9yBPe2LHqG3Ph3vqWLhUo7Lhc60B1Rd7Yqj2W4OOJJF4++hrM5tfbs478rG2hUAfumtyb0Av4Eoj6BPAR+b/wJwOzGaT73rT8/AwRjYfzGAOWWq/vq8BKDt7HkQhIEw3EKpARMHlbj7/3+Yg4tC+AzUa++uRQLC4tAAC2lSHu699j7Uiv+9xz/3Fs7e9tgLzcGeaGUrl4Jv7hJXZCjYOGLBRlhNikf3PjT76fw8CYBhHxzGqJ0sD/AnM8j5WE1R6iouOl7tRJ11x8gSB7ZPVaXqT9z5ReAPgKLFg2QHgU2WfrqrzojzOX3Ekh0bSKRpEue3k8gyLQaA21rtqn6JumpF11hvJIeJwdQUN240dO5NEGExenjxgFuCESelI8C8p89ZrFIECW9Ikjv9MhgfeG++wObSUktA+9ZzBHIAek3eSy6I5T9lKbTO5PV8Ty4wurY8vstHXxTPpgd7oeIUYD+0CLxunbWXcUO+PEM+hX0J8l+78XtAX1KvwwY/c9i3gmu2ZPvfYP8IwNv57CAIw2B83fh3GAcT3sD3fy8PetCIggnMdW2XMVGJB0kIJARCwn60+9Z9+9VhZhHNHziMxquYYghk/3UQAQ6bJruyGo7iQShDwwgtZhHJ8JhTQB+UxDQZYisY2JLPS0nlEsgXDUHsqZL6d00h2hGEkrJzPxwBxvxD07x0UtOp4o2Ud3jdJKInJbPh2dqA3rUWbNsEIWwYB5+aXz3cN3/EaNv6m7qQkod119xMrzIBzyVntS+ICTQOTunHHCtr6KUZPJpt51umS10lI/SORbiJ5q1nsKsF7AJ0fm2tv66yFF7FOt4k0WcfO/kJVLXVXbWvPfR13x/t+XIY7uOpR+AL04y4a1OVAXgVgU9hNyvAv+uXf1spCD7UjGzZctPKrbCrf4pzTwF4u7YdBkEYCgXnJg+L2bL//7R9gXtx8cLEUVsQjVk2H2aCTyZi5NBz2tJ+23ttMZqmjxliXW8hXfgiNjgcgJp8UiskPDyCoLCesgNbdAT+IMYQEovZbFMVGZDskMNjrOSck3MITSdgTy27YoqPHnaVxM0J8FxoMtaCCuWmYpIrMWM+yDKzcZnmvlNszMlQcTbkw6MOF6AUQFmeRWFyYa1l602jb/203U1kCgGJpJzKMOPrSSLgzNlZ4BjoodPqpMPHCP7pGZwWfpWbQR7ALGMVemIApNtn3R02gQWQV4BO82g/6vWEwgdALzaB1fqNhTH8zZirMsXFvIa+qB73rn5WtYZjq/Up9/QerfzB6/hWgsr8b9Rs4bcAvuV5lzu1+p7L/Qh28U+9/haAt2tZQRgGgk0a26IHRfQX/P9v8iyIUKitmLjZzMYmtFY8eCiEQh/QzM7Ozjb5mdFjExjwMWqO4e2RBNwKK7KiZbRk4HtQY4mokKq7OBYmhs8uxTjobgetnoDdjNjboDg3/s9dimAl/G8dTCjW7gFLFl1nSvrXPfHbyOpM6kjfo4R/m2s8gbxluN1tiqZZEcCHomcG7/h4DBW9AAHcuLArq7YM6lC9989TCZg5e2BrD52uDt21fC7odAsQcnxRNjA2jZ9I5YsiK7xhITlm+CA/pE4nLb5JIMgBnczNXJNLMEjv9DkIZPckQKvj4dTsd0N9vZ37tr20WtedMevKlHVFWv5OaT0RgKHvreNiJBMWm15g9qV0/VvHaYqR7cx1bgY/f9PrLwF4u5oeBGEYug1c5IQfiVcP/v9/5lHBJfuwXbs6EBIORgghBJId2Ftf29e13WDNJ8cwOFOmu3M+AwOou+SVQgjYBqnqexaJqpNGHYUxZR838cUxx53vTMkAYEW7TmBPuq1pulJk3Yvevc6ji5/+AXnDe0hI7prLTw01SWJ9e2ICzhVjpIRLE4oO4MyGVk74zu5ac+gxJdYywB3Q9FG9hhc8Wxj8gvV5yudWEDEDWPOFQI6VNY9UWE80XmuW6BgOutE3gVNo3E9RZohmwGvxkbkzhDIkU08VQBcA/f1Ozfz1FQovUXg1HWO2CCxa9fkigD8LDPf5dNsf+ysB/nl/eG8B8B0AvrPgy485cIed5HTTbAC53uCnr8WjfmHdl3D09+DcWwDarqYFYRiGJq11goKKd8H//7s8eNzEj9WymSZp3Sqigp5Gxyi7vLzXlzT5pmAGz6fWpFV7vTHLeR/4mCo59KCZZJ4Hpn3UmR5jlRkz++A2mUHpEMPNHdFohJY0lN5I03fYJ8BbDQzM8qiSH1KnGoRRx5qhbIfBoEbxppJDLt1jkMtNBReWRzOBHuchgzyJ97ieErkslxU40uFRonsCufdXArqH4B1Ys6A/7FiiZ3DzVZGCyeHB5oaL4jrQmpxsskllHuRvulhZmu/Q9WKxQ6emXa97xkSeiZGWwch79kUeHaAw5Z6deCgk/EPKwzgIFNw/ZvdvpL086QyEm/Vutl5tZ3Wzb5vjoQ7hcnaTuSPQX6ypiN0dBXpbsvurSUCfOu74I2wN2f1d6u3vaba7AKxdQQ6CMBDcoigxSrh4MfH/vzPxgpFKa7c7a4tigCgXAoEb09md2Q5LgifShflc8bSU5bKde/M4E6456r0rvO4DB5BFgBP2jRNsvc+n2jQCSuwyAqMbKd0zsAuj52BPIB9si9UhFWxk0STVAlNtAhMJSUbHLgkvyTwUwIcK3VT7ypSbNfFIatdZso87dYHJrQ08Yxp2keWXxWBheItQzCEBOIAbz/go9iGrnQU49xq6jRZAwbPrKJvlHbXa0MdrD08p75noTWWn4ZmyMtrQuDj3rScfXwSWsXr6uPJFIFmAUl0U1NTnbX04HUMPf2vby7V3DPZdGRi+XEk5z7LPlL02x06bOvyM+z5bYH6x3v7K6k8BWLuWHQRhINiWIohy0YN3//+X/APDwUdsBALtPlpqsGDigUOPJMzO7MyyXb0c8vkwjGVpXi2wHURqiuK1tmeZDqzOPToAnO5Fm1yN9LmGOTJTrHR1bjwBlgdfAPCeuVnyA7MrNR2mmN7dFu2pC0sifNYtaJjGD68LhgBdzIq9Op6KQstyuwGXvLMs7sZROwvy9u2kQC00mWyKZLhU8SMwdwcmx+Li3T0EvggGnPAGAp+DqUY/rGIPT26D7EM8xn20j7XBqRvSbvsMGBclfFQExFwpSbJ6FMN9/a6puNmXOB7OVb0/FdfmcjemueX5znZOlc6yUjvAOymPa0J+BnoqVl4C/pCYmksphbVbZf8C9lEA3q5lBWEgBiYuFh89eBM/wv//IS+eVKqI2HXdPN2WWgqCt1IKPbTJTGaTzCQxrmnuWoPzsRrT3kzZxZeb+grb6B7k7NL7QjYwpGiNbXIktcDvfATpwSwpuwS7qudJgxxkzFREO8BQUPIANnvOI1epSBJdw0YfJ02uIRjcfFY16amV9KTI/ZABo64XZp0Mr9jm0uTJlJ16zal1n1V0mgHHgopbwMvgiwc5Yim+ydRLUgFO2900EfDeGdANGGBbpp1Q2fGaJoIZ98zRe8jXXWt7MpYw1byD8PBdgBuj8IPCXB/VoYfuY6g+8B8XScCTlT5XVeuw2+4319txeb4cTjE+5kLnVyHX74TuAbl+xymGIvBjfZ4GrtOEmv3vbbBvAWi7ghyEQSC4S2sx6s1D//8yf9B4MU1MCwLL0CJo7cGbSa8OszPMsO3GScbZaP72ze8w73RbnFqyUtgqhwf0sJWZTMHkeMyRIoD9FVXWOuM4ktuUWQ+63AMeYBenPrB6cZKv2nOK8tx5erwBlTTvqIeHGlgATqLNqdOa3YxIvvMdOt5mCkw+zyrocIRbBLgkBluso2eMvnLxgGdocfwF0F018cqNkczFiI5gDNPiB0KTL/tgEmNLuleu4RKgqTJiU8Ux/8TehTFXYe0trV4x8tjmplzpEeQ/L+den47XfrjfHuM4DAfzbKN+bxy7N3Gxz55U3B4G/wbq2hjPPzj5fx3hXwKwdi05CMJAdFqsn+jKM3j/G3kEXBATpGKxM52hn6Alxh1sWDR9vE9nplVG77qe2BifH72lho/BjpK5AUp2ZPJwo+mktF/f0ct2RC0m8OyNk8sTpB1UZTI+AD9NUEM7qQIO8IjRQ90622rNrZ+iDDLwpxNtIE6gnSvhOLWer1FOiISQbzyLb3cmDGvwAMeQDD35iw7O94COkFyzY888hTHPCqInd1BE9FyaKmfk8s9BJhapL4BP+l2jfIf4fafiu0qZXWR65sUX5HQZwEnnyyrmrQV2JZsvCdO8ZPbjnk4KccrdToHd+XKy9n5ob9d2sHbjpmdjmiOyuyZ2x21Tl+q/Ars2I1+vOHr7FtD9DexvAVi7gh2EYRDKaHdY4lXjR/j/f2U8usW4ChQ62szYJR63wy7rg8d7QHtXSbGtJhluWURtF0uNwFyAruo0i1DybODh7G4RNfvqdpliMp89KK03Px11+ksyNaJT1FEn0JgBcFBAbYxJ2lOey4A9tbUEGevuISaCMaLMn1PpAVSKsJMgIIrEUpC3yKw5W7Pd9SZ6wp8n+EvmycMjUMBZ6mN3pIZq5GXYau5qsdQ2EwPg1sP6ZhkFdQG4BRJV2fdovLfYWopdi3O/KDz0v2++d7zD02kLVYnRmHLVXVYgdP56uZ0pu0/P+XFfx1cc0ynEMNHvlVkpbHf1dZ771EHVj2R2bAD/zWP/O4X/CEDbtewwCAJBHlKaPg7tJ/j/P9V7E730VIWyy4ILqUaa1MToQROjDDO7zK7dlmQfhxcO+HqjJFyRcX8D8ANw6Fe9MAHkmJtCxKKoRORSTYiDJbsuyncANpltdLKVIrilx4QL9mj3C1vHnu1SkYe9aPLAPzA4186XY6fY80NrKBvY2x6MCGoldhtA2ynYU6NkD8MJyRJ0xOwZk8p0ZLbVlT075Jf3RmAW7H7mZ2GTiKD19ALMPE4W5JKbWTFKIVOiPBap4t5/l/A/MfnKeWtSro7Ht8Z9zfHAMvdbfw1At8P4eDo3aWcmZfQpEL+l/qOqNRb3O5JwvoHZ3Y6J5i8S/iMAa1e0gyAMA7tNQOXJBxP//7f4BTEmhuhicLp2W8tACcRHCDyR467XW/tVul/aWyh7AbrO+n8i3B9PtRHARzbH/jhNHvVs7sRWFG/SAY1EissTaXEBmWFhXBIm49KaZBdTbRSTNSzxud4WGXmfLtGR6bM56HxNTI842teV0Xr6+/rQi3/jo1oSyDEdpypkUjqlJVh2AFQGPDOzOCoKogZXQ+meJLgErXDbia1hxNyxpSYrYXSoMSHXM7RoBSM/k2Cn5h31hfenzbmVplwu30c1fA57BbvtoSyP9encNqW1V+OK3hTupYOUV5mUX9pacz+AvYbZ3Uzb7W/s/haAtStIQhiEgYRWpg+oj/D/H/IH6g1Hp9psSQhqwY7emA43mmyy7IZNElj+X+J1Cfb7TWWuJKOOEwn3NsoYqYz3TWpZJVbPKduetO9wlgmBhqtgRnzQAtLDY02gmOAV8aIxh9INqjcd8pCSjjrLaEbtuXfz1QMOoYfoha/QcidgUNeiCJmI1m8ZvSXPrCO6WbC21XilFg0MFQx7Ud7qvnR/Lu40G8gpMMrM81LKu/8i+XfkXEufVT5x87F8rxS6XRf8fjyM58sxxHjCgI+dm3zvBtBzubtrBmXreeVHIxlsQfZaCf8zqj8FIO3adhAGYSgF9NHoJ/j//2VM5suWqU+KnnIrCMbgkmUJW/Yw6Hpoz2mbhn6ZlpQ6W9f7G+4aBSELPHQN5TEGuA7YjoKFSdTiK6syI054YnZ6zxBEwwQEkSRYaZESy9YFjgj5pgZItQUoj3dyaJDvq8CjN+SpI04IVWKHcOnlrTX04w+NwwCJM+4a9ykv6ezJ+3NQlolV2fCF/y47PkRVWtmOhZJkVH3syZNQpZWqKowvOtc/9+RhvJ1aa13zc0WUvYbvBYzvp+DkPr3+6lgkh/1xd71N23k5nZ17aBQNtxa6oY3+Yuy9/PiIYctTV1F4GqTJDh0vAVg7mx4EYRgMbyMkildP/v8fxtGbniAYQ02/rGVViUjCiQySJdvz0rV9VxF9HCZqcYzXbbpnrD9DQouTCKfEYjspsANfkfPSbsmkNFkYKyoNmZqPzhIfvcolfZUW9YynVkp7bepIloEkyZn0PKaw/7C0kFBHVN5M6hPCdwtd3YHi5I14ur9IT0d/o5/FiOBF2oMflr2Uz8kH4J515+55qpe2k8Dx//MvJPdf2fauz+Dy81/F4oMhh+64K6U9Xa79GcRqLjV7pP6S7JHlEmy4mxUKYE61s84ymeYvpawPATi7gh2EQRi6Op3xZOLRs///RZ53MvsCtdJXCoNBGO6yJUvIlhTKax/vbSb6PC9yUCMQZaAuKq01wefHNT5/k9n5yl0q17YlN/wNLA5FMjZW3OiLbb69hu06SqJoDHk3U2Tuj8PnkHEJSi9wMfmSji/CFnYWnA8m/uLJq+oRTupGwMAF0G933yjc9Nal4g8lOkH0NGtVa2jHc2l0442nNm0cFomA25PAz6vumfLLEDE+5ckhw9J7s3o51GoLwPYMXAdgjP/EldSWtODWXAF9fTlfp/H2uL+WpwpxnmB04WJqGpRUST3Zuneyl9pwtT5+y8rp76z+E4C1a9lBEAaCuwpo4lUPfoH//z3+Ah418UFXd+yWlpQ2RAMXDoQDbGd2OjtUEf12vSvlDWiu1F1dcUbbFemRMe5CghkN6MclUsLFlHc2z7tX51GqA3gysSE2e+HNfQ49kQVvDjdEMcNRgp5dPVDf/PIwphK2q2GIWVuIIxYr2mw7KgH76+nIDRIou/2oUOxi4tG2/BWREopP78r7koyew4CTKOq5xcLmyf27Hxl92hGzxP3ISO+NPkeovkxRpxkrbWUPvWaemfW+LwW09MFtu2sO+9Px0p9XDz/31+Dr7wQSEbP8scBLBS8ZM01tf/1nVH8LwNmV4zAIA0GvDaJIS5Ef5P/fSZm0CFERBRE73l0f2JDYSUGDOCTwevacSQz9fhsCgk/TDB79MD7HjDqWmZq2IQNCcoN11YKlfzjrbg3ECQ7w8jfcYUYlNHCILHx5DULZSzkLdzPjTN7IUzHosr8Q2KU0lHYDRzDJYI/DWURTZfcfhe8l9lbyFogpBpibndXOuTnGeiKUcDv8mvaC+bGIoFu4XWEQEVf4DcAbmDl6VvytW/UkkkjyrC8mnssz7SHSNiJBSGaGSqPXJCEIGxffHLC9fGl0KU2k1eSK9tDzqWW2EM/XrOtCnJ7f2qhO9f3lPIxX+Vwm1qxoT9al7Kiz2otXVBxa7DXq9I/GL7Mkna501/9C9bcApF3LDoIwEFyKNd6N8Rf8/y/zwMFgXMzso6WloOiBBBK4NOxzZmcPjZqAfD3XMDy6VqoLrJlUv13r8Bc7bIZ78uGVJLcmtDF9njciDNzEGzjlJCzpbDdTR5IanYMMgwfbnITZ0qDKUL5rnEQsQn5XNtTZ2KcoCeIxysQZiDFwTjD2OcyGSA4j12guu8eNMFMardu2Wbo6NKKkk14aeHbIOSPoihQ7ZwY8S92LGF/BbrkpxxWspjz5tlDExFOzKbaOny+ZbP+l71tReWeDeVGWr1Nl66/7PobL+XaFsY/Pu7rviLmMEyI720HvWT655QQ+XTWJ5huK7E9R/S0AZ9eygzAIBIFU69kYf8H//x+/QeONxISR3eUNpeqN9ECTpsPs7swuy2gj0tDJQBIdcSSbEVtTjk495zFsZ9DbN+voYQYLszgCXXHuDhdNMLr0oKtw35hOHRsQUBuZnur/S8rRJZc33KfBjM4FOJnALGtlUmUdMknJnwf0bjkEiNlP65FBjnCxILWWWmuVdKctkpMXwAQyk8ebTBBkHhcAm9f9p0bD7KgYyKU9y4OiZuyMw8TuHMaWxpYyX0f3h1eDGkvIoQm9N2WwfXdbG7531fdNi8tAHfg6XR/bYX+TiY2+nG/Xx/Pumf0l2xxIsV1p2B8GYN9j7dlzMyjMYZKvzwpxf7P6RwDWrmAFYRiGroIMj4qf4P9/joJnr+6gIIqY2KRJ29RmIjjYYaXbpUuTvrzkZUM/7E9coaXX9XJjrnc0cKRbx++P5yDdXkXOF5TqyvXd5NUZOQa0zDRpCplD+CwiWOrGgwh+sTwC0WJD8tCkCCZ2m1JnXBanoT9IQ8aFhPIJuIvrRfz7sBpHxhjYO8uPnnTIhtQG+QWV1y1iwipISGM0F7FWJCybgYbw+SwP9XhZrvK+cng653wDx0hIbxq0N+7KgG/yCA6harbKbHB56LZ4Zd6htIUs/jndIhZf0f9uPv23TeAD3Yrf3Kx32/N0xGTs0dCXNMUYu+e5e1rx6Dy36TUvFdcD5sK/vPpbANaubQdBGIZulcXw/1/nPxiJxPjgZJXexjaBkOgDD/CwBNZyek67tisXjHHCYXhAUNV9HJ/Cu5lrU7gb2MGdODrbTJJDHdzD3dLAb8TcJ84cXmebUS+k3DHV8bkE0BQYF0vPnxi0Ll4KZYCGISpHZ4HvBJJ/B85ez8/oNDqtMYFof17RPUHfz0geOkVjbaHMHVfphUOFKRWaS4FPJcTxvV4JG6EuLShsSF9x+ZbXm3rfcPlq73CZnmIRhG+23n5cmBcqDD1H+0fEr8ZBV3n8Rvi+E4r/wtO3hbgj9v1dE+9W4hhz9uvtMr3inTm672iw5JkHSuqo6C3HTgdC+T2k94Xztzl2929U/wjA2tWlIAzD4LSCshN4//OIFxA8wkAFYczR2OZn7dbGh+LDXrps7KHf+iX5khCir5d7koaui8/H20WQVMbTNIM0nCAVnAJ5WaS4k2aI5Y+N615kyFLAAjrYMNN3pvQykDEFz6hVtHSCSc8RTY9YRm1TRS3WPWfTONkm8jMkNwEI8MNw4uoz6tQCImnlKxWmgKuFMOVpXYJcwRoK4G4BjxtbPZpztL54f+CAl4Kz8utXdrEnt640qIJ0yO12V0Aqy+ipRGvvJONM30tfoZVlwA6w/jMgZ9/xTOPP43jD+fPiqRhxWx/8MQ2StPzyYND5Xz8D3wA2GmAHI78OvR7LVwDWriQHYRgGOkGVuPTSCx/g/9/hCT2AxAvaEm/JJKKkIA69VZUi1Z7x2PFU8vM8P8M4nl1113rbpGEWr3i2XdF7ySOv1nO2658qVzN9zrsJTSjL7TXbwea+33o1VdclA4WXILfFbozqYnMsYtxJDRIkCTjiW0mwseCeUsYwxMibYASBBRx9bn2VuXUXzwKMqiEtF3fRtQS8ojsge4vomAA2dSatkgKV5ICsYQOuXin6me9TWbpYcQEP+ib4W3oCrwX81iEaD/Sd+u2t0j0L9DaD0m8q/t/GvT/NM6WfZ5qul/vjxgaQixSLCdnZEE+Rnb59ekgfd+r02By8h+qHM+ZLAMqu5QZhGIYmIQihcmmPXNl/AcQSLMAIHQCUFGzn59QiSS9Vq1Y9VM9+fv7Zx/2p5/mSC2HeTnwBJr7S+UNpM6VRkKMxzjGHTgJbzJ+Dtw916ixeD/MPY6942k8ehDhNG1ZRXmeeHYU5+I6jZ5Gye9yegpT/F5Xrgz2aaTqnmDw3p0Af+SnNZWO15gL4MsAVp+7hfrwGg5DA70sDsTFm4EMZKovzVUnniz9ax/clRVcStovSUq92OfJ/6a+2+Fan3/ri9H3P+YinHwPuqPIu2RGYO7cst+u6vlzY9Q6LAZ1Bz65rILsOsFsB9KYhzkkq/NZRHts8vgKwdi07CAIxsEWIQaPcTfz//zJ69MAZdivbbWvXhIdGTiQke2IonZl2rKI/7k9sD3uYenTbAZfKadLKdXwShWSLgsoE8HGwHCAUE4yFCAHPncu21yynAYqMBi7OiI9LH4YAmWhXxxvlQRZEATxHKXGGOZL04bw/llgvr+pmV53OR359QsyZZXnMdORlEah7osArVdoPlyAz4DqSzUAtQDfAK/h9hY9lxQcHeCX3yl93Kog7cDp9fvzhaqO3/4JQPx5rNNRWI8xy8cCZtmfxnA2E3LfM+7+vpm7rrrte+v42cOZ7yn9PCXvTvfTrYSPIPdhphrGvZvr1NdfcT1X9JQBp167DIAwDDVRFYmApU////zoykOQKfhASArRiQEgIKQjknM8+H48D9AZz8Uly8JmTV+Jb7pY2GyN6gEvcOqDad0VwspQf0DEU0b03NolW2Vnck2sedOGmu+cCm9gqQ1EeiurSbrPrYb1FCnavoeeFpBce1P5pzsawSB1pMzduLqm0CZL4OoOhbhLEUnQTnk9pGh8KB/JNAEkAywYQU/Kg62KTXayCN8TnJOP92fdNZF3QNh4VKf2FUOWsfZWh964g90foFwP+V638adXgFu9vn33bdcN7HD/TnDI6/rVztai2Gs/8fY/qPtsAPEWj0lLw1yd8/cjm6jaqfwVg7dp1GIRhoEnGog5Uqvr/v8hUCnbxI6mDEshQFgRiQhw+n892AXSun3sRjme3B3WcS36u9XS2m1I2zPj94PyB8zx015NuOXseH6Wz0zkpQkgzVrTVVEzxtoGU78UQU6QXkq6AN6CHkHN6Rv/+zPS4S5fdZuGSS2i80JCNelGWIpBOUU2dX43XRq6O7sW2kqqjXSuItyLCQz6X9B/yDwAOij2gE/GIfpoBmZPOij1ILg8Glwp4nn9icfXqOxLWIX00yXTE2izIdQeYCre+Ut7PvO5/Psbba3wv83P5zOsgkX2n8mFY1VADWAF2i9bHC3GuVXbrjerdx1cA0q5lB0EgBrKFAyQGY/wB//+TvHFGr5oou3W7baEghDUeSLhtSDr0MbOdBPSu613bNkKpPenyB3HQabsp6dqrCtC/wliyiv2x0mskjWV9mzibIKJYG6Hdqz6CvGDFHLDAxYllMWd2Hch52TuXiDS6ispCWODMroDnAV1zaGJfXjPIKTBjJh9iJqfd6iXUvNtNLYnMjS8bqSPHreBWbnzZlwvo4xHpvCCe5ZqRA36X9RMtV5iefj7Vt9r6eW8+TdDRzBPmtNxO6COuveYU3Iaq32ABspLpn/147oRtpzf/5QdxOl7Ot/v18Y5gB/Jvr2AAkl46tyzf/cqzV9KXBvS5JTxmKOY2P/EjAGlXkIMgDAShLVzURDx68f+/8gEkHLwZ6Eq7u+20CRjx2MRIohlmdnd2mhh9HF/tCUZsIda5cy7UwRRi1jlgwsu8PP5tHA6hPvaU3a7rqeyGE+Abqc1Ntr/ySmoEq0mparJrzkX5CljbCoNTHLNRcs4p0Pu+M8Pt0rDKIKnJw6UK7/Vh5/j7aSKrKePZgNWpqokz66IVNjfhBOQegL2gbFdwZxZHRs8gz4xNvuzO+zSKI5Dm4MTDzrpHYw4V8r2Q99WdZzUL747TcNP1G+x2O+9HFlT+eAn8+PX68dCcG66P+zQ9wzXOq7R1Mzfp3CwSftmQ7bWEt3A2cLaVz31LwjcV2A/NKT8CkHZtOwyCMJRLiLu8LXvh/7/QJS5smelooYzK5nB7MBijYDSl7eH0UAz9Ml4hHtTxMDhqpylgWSfl3jF0V8yAw2tcypnzcqEsk3Nzzd65MXhaWze6IPBpErBGM/01tnPK53Xa0InDewbiLW5LjPd7fyYcAAtugEQcUW/9Fs93SUtWZdmZLJaoKm02wUuAmoQil8oUSHSdDZuMfOaQHsemrajkBLBE5tnzl3xeLSaCF5e+fpeGP890WlE62/5v+IFi0VMg0vXEZhveUpX2b5/f+3Hu6PaHkw9hvGdDx3z9YQice+vJ3Qoybz/k6abDq8NKCN/1QZ4C0HbtOgjDMDCJ2XgMiErl/7+L7nwACwkxeTi106YtHZgqMVSqxOnO57N9GB5PfesuEzPOyrRcATltjvG5Vs/9LkNmjEikoREyfraRtZwYDsxrxvqcTLkPM3wabOHeuim/QwF9YGno+6uJGfa89im76/E8krM6lB2QgJDOBRvd2PNWaL0eLpcRWK7PRYvMq1qaJ1+Ca3dErGQ+A5tlu/JCLYxP5ASfb/TgEWdz8EiTccT/bNzJzHurrm0Cfw9hrEvx9X/er1n1f90b3Peu0/F+fttXFyS8hXivXUN0qiPonQC4I5C3wA8TZl8y5vyGMYdqeUnF5gd+BWDtinEQhmFgo3SrlLCUlf8/CLGwMVcsSEi0ScDxxQ3Q0FRi6FJ1idTL2Wf7HBn9dLw0/d7GF7B1ZnsWbo6JDK6wnUVKbSRFugmz3kpcZHhUHMaP2DbWiENS5iaDnUfOpY2nDOzE8Hii3TNEOA7jeXhYW9tpYzqAi8LoKTI5Tae12qD3ngEeN5YKi8+lwiUF6r2ffaFp5kt0YyZPAh3l7h7Ad7gEchV+VvBDJs4pydsbUegRgvu8xPZxKSAy9QWGTSwfQvgN0EItbDuzFz4s97H+CbvlVGG13l9xrp059MP1fH+MNyq7ja/fj4CQQvgc5O0K2GtUeF+hvm8OUZ4CUHc2PQiDMBjuCvGkJh7M/P+/zvtMdMsYQmkpwzkSb+6+BZI99OultaXsNY4eks6vNAqZ56S+uN85gyvNI7oMfJKekq1MctiUbMsL1CaQKG6+lNWA76YL6HoYaBwONMUFGfqwTGvw2l8IrgSGI8jH8Rk+dYaZTpxkQZHnlXnscg1YesEp7LVizatctRbPFLAubp2Fzwk6ce2d37bwxWWZT+tfufIraS5obF3K6Dxohr5OuDVUaq2S1789v2yh9U6M10/HWz8M94cxh2AJ7RR+zykCz6BvwT0X4NdZ+W8jnpcd1dze7bbmtt8CEHcFSQiDMDAURu3Nm/9/oEfrFNFImqQE6siljp1heME2m80u2czR6ckoapYTe9mRQicUbKEnIYjCa4Zb7cWETEmsrTfwr07DLBbw2s9X65J4gsbVHIrvXUZqTkCPK+gvmbIvyyKEsifaSx4neEQPITgJr7AAxzfotMAsSCj9uTPmMps3t306tsYZLLSdt7kUFf4plf5V0XrcnCr1BtiM38osX4XGyj9vXXWqu3UAjsaD/0WY3w1qv+i4//Wdjudxul8zhb9FPxzmXNnjsFB4lxpgh6a6+w+nR+F766OwFpj69P0tAHXXsoMgDATbbWNI1Hjg7P9/lH8g0ehFwVCR7qNsCSDxJgkXrmQ608501lfne9Kwz8erp0uHlhpgpXOwJIVdD3KZJCAtLoBtMoELJ9AKo662bFRxmmAK1PoqXXFcBgkyY43lvEvfGeS0ClgZ6OC3uwJiZBfZ0tDhW2Tyum6MhxIttdgt6yAVwdIUU6vYPO9Azm58dupQToCv03G51WYU0BngQUt79tnDe/DhA+/zu4kFQPL0ZpD2ZsToOmWX34hT1tvE318OttifmX1NaObbFuFfnsP+WF6up1vrigZgEyU8vjFSouR7OyPjNdCXWH0M9jm7bfX+PD4fAai7dh2EYRhop1WlbgwMqP//Y52RYKloIbQmSe0kDoQVkanZKkX2nR9nt+N4Jmc4LOls4HqZfEwe3q7r/GoiDKo11ooD2pVBMc1wD4+9rVG4Amk7S5omY5LxS3ZdknCgjXxfvxQR3Ru40HZohuEYdhYQLzy0doF5vrm7i8ubHUn9P1MsqSG7J8OD5DDTb2O1IrlJw4oqh4HqdiOVXZfYfO+cW/mbysaatzp7IYrZQCXjcgcQkRx0iyyQdkw5QtdskP6cov/iONre9v3h9HhMi3EU3lH6O5KxjOqC6GW8/qyge16CE1THIl6nDxl3qFD4r17zJQB7V5CDMAzD0gzEhSE4gfj/n3gE44Q0FWltaZZmaZg0Dc700hc4dqI4NtK9654gLrWy+QZUAELZhuPbbGJiYa4WQKNcYnUgZhYevgm7R70wg86ZOOPC3uimBFTKVAMGNwEfOb3lfDnlgrQrYApjNrn3fQZ6gi1lpaXR7aLDN9Q/kvtwyiCvOlVnF8sMg0IyjjNdfdWttjjr2au+PbB0F0mfPqb1pn83wLfAhgSzQ5XK2hbgq1D+fz+/dn893B+34zD0ryzhPUl4SiQrrF7L980CyJsFkMcVEv7rqKa3ANRduw7CMAzMo4gFMYEYyv//GR07UEVFKGmIEzs1IQqPjS5Vn8rQ6zm+i52BPgyjAHcZ+NlpgxfMc+paEg0s4cOxVuKKNSdZ47osk1F6nRecQOqkghNRRssMDqB3yOCpoLpGzTyG6tjrvAtRRtf3h8S0ITy37h5DdmNMuPUoHMzLtcKxoqQG2ew0uLXRoeAZd8buNZwsvHpMwepFGE/gJx2d5u9P7rll1dxLVs97XzC6f52Xi4rclkH/k1fSNw+bT37zM/FvT/xDuk/ud+fTdbpMWm1vSm3KxFwN7BzgfAWb+yB0rxlnWhn46rWHANRduw6DMAx0SaowdevSsf3/L+uMoAHqxk6cOChq6dChLJEQEiyHH2ffWZJz7tOADNXmzpUgH7XgWKs9RPcFWA0meQNLU00AnayODiLtLBx4+XidrmdO3Yi7qubRw2vzPXnmerswI0DST7SsMvtHiOQD+OkI1kZ30y4u0JAiNJ/MxjPQITffuuxgCg3ZZahT42rrDOr5d725hrrDnmS1nmpEFhMNtwX2qn8coIZnUPH22IzmWEX6dtpe+Hasdt9/e+FXMP5HqDt36u14P8/LMBnjKKqHs/NkBrQBuX1Tq6876vVPjbndY1AvAai7dh2EYRiYB0slCgOCjf//O6ZKREAcYjtOTdMghFjo2Crdzpf4nLuK6vstku0SNuDQF84XmQ3tn/N7GpAp98+d3EgrjO7km+dFxbfdcn65lWw0ozvtJJNJZeN3LJ2pmGRMPMTU0812HPzhuC8gAdqyX0Nm8ynkn56oAYcMDo7dIVlacwx2uloba8wRm1FrJrfdM+zM7KkCazkSO3vKJSpCICwf9VkcVKMOFHundu59YVVVWfOl8ICymxadHZpte89BxxjTSmv/irofFI5v1uzGM/rNXR5+CLiFz4da1Ng1qwug11j9HdjXIpt6KQGfDNDQ8xSAtmvZYRAEgsD2YU89evP/P7AlMVa2u8sqUA1q2p68asIwwzDuCNC5OFHATrL9QSDXjjKrnpvl3vBAyAWA6WcWDrpod6Cg3dFCdnG8lJP20jHaseq2G1cMgFxcr9m8QZUrL0+R6SP4u661IoUly/4iyd4b74nN+6s5E5sHYnPgcAzH73nIhIA96ABIW3aTZ4ZculFecTQwn/qS7rhzhk/n7DIei2q8Taw/LoCPGrJJG8H8VOlexG3nTSVkfoK+08qRHCs13nhAUuNP0IH/30DwuHbAL78L4AJNc2+H4emJ1W9szKEDPa9XpfunhN9y32vMvpvR3wIQdzU9CIMwFDY1i5DMm/H//yx/g57mRxxQKRW2Yi94cQm3BS482j7oextM16fpCdYO3Xa3aLhjuo6ToJ56oIYV7R3aMvVdvk7z1GmS8JPSfIU94tTonVl2+Bgq5FS8gFxRXa6KgeL6sUwGve7Hg4nDlo0+zy+K5rd7nPwUa/VkzJZYdnTXCeTwQGCPi3jmUa4KIScBvZZl40YNusg7M0KuanZh5BwTqVjq8qQunRn5Sp6KSoDArvOyTLUS3sMrAKYPF4AfUoXVX+/lIG1qaEA1NP3dfIgIB9R/Y778mf1xvFzPxvkHgn3QyMKT/4s0XAVyKaprIarrH8D+Bf63ALRdQQ7DIAwL0FXapf//5XZYVU0azQCTQhBSmbQeeumxwnViB0ep7s/HCksNCRDJQ3cfrBmPY7DYdOJxsKwETbBEOcvNdPyNvIy5kgzCINQV+9ccGZXxXsCdP4BBCT8dbJ6EruiZRzvtFdh8ppvLoEhlO/Y25eBnMHrazWQx227LhlKBtrGd0p07fTo1andtrxF1b7fVbF2r6wnkvtx88xnwuxLeindPlSbgWcdKN8E0qkln7okOY4T4O5PznzB1RVfPlwEerL4EVt/Wyd23UMLP4eW76tXdyTPK6q2fPlq+H4D/CsDbFewgCMNQYEs8KEETTvz/R/kR3DSIZGvt1oKViaAHD4Qb2Ui699q+9cVAD3ZLIcd29LY22i3lA1H4eAlcLI3uwW9NxOME6sXgXBSlggN2TAMcvc+V0wqKkaIU2TLPm1OUXYpxRq6t2rG1Rshr67oyx1MpeTGjeWinXS8dxWtDf4D17JMKLshdo2uy0PaYrHuh7Kq1NirkIM3Tp+MR3+Tq0xXS9GIK6ik0CZqryjzMg1yCWiO87JeDO1Mz6RmO4TlsbmY2sVQKS4dRrtNZXD4A10LnA5XGv5Xj8KfPf7ua8tBUbXvee993YHY3ovA9i2he0NxsQPVi1mbLNz6blvwQgLdr2UEghIGA6GriUY/6//9njI9sWmmhUMiCe9E9cdvTMO10Onh5MFF/JHKRis6lMLN2SXQlrxnN2TlcQgwzUAwy1uQ+PD+iSCVCKEk32TxTg7uAPYE8Ad5frmcrbDjPkc3voTd/PbfcmxObu+R+i/058hUTt9WS7VUYHbT91erp2uIl2cY5ZfsoyBJJOVfBkKbJlsOorlfg1yAHTFnzxVoLujw3WG/TCWMbFXkl9j3F5jgQ5PrqOA7wgt8hMfgX/hLMSz6IPyn8pB/vpuMplO83D4e9w+kRytF3w+q9Xt11xm12pfpu1gL+IwBv147DMAhDTUl/GVopUofe/2A9QpYslQJujM23NDB1QmEhkeIffn6PI7pTQ3Wkjw4M40geyci3+nq1WMxv84twNDdKADAqttSCeENgeQXLuJX0A9mNYDB6FiVHuW0HmkzT03RjnHdamy/L9vM+BVbKbTR3007qK5Sy00y6qLDwPZzJa3SV6plBGHAJTKipJhlGIiZPDAGeMKIYKbUVnrgv3jjZqxq58dzzmEd27yQkmmcqMYUTsIkTAEzpKiJ5BWb7O8aC/QZab911VvH4e8Xa+vfmQPu0cXzc5/l1XYf3WevL6aCGIw17dqTse+l7K5JDAzSTPX8EYO0KdhCEYegKA6JHT970/3+OCxpDdHXdytYOWcR4GieSJXvp62tfa4m208c43pAmzEw+mg9x2yiQa40U+ICjTMFNFOZi7ztFfqL6sX7eJBRRBKeI7Z9oy1Re1cxpS6q8PIt3icJfrmdY9py519PMswe6j+aPex+MK/TooyUWmDoHKTCcweTBtXNQYtziWhNRHMpqet48qswlKHLiBLicV2eraQ3soued6boEeZ4ei7pmzkm7Qz3PzrhiLKQYg1Uk72sBbuusimW4u1kGdzTl4Cr64w+k/x85/L5/dPbYtbY/efo+OXcYkMpt0JTU/RNl36LvNcAb890ASXWJtwC8XT0TgyAM5WvwvA7tpP//x3XoWM961x6hkABRVGo71JFFBh7Je0keiOigoicXV3/4cDhlejxDzzim6MHrzWI9DdWrFJ2xbu65fdow2S+TCSSn8pLr6XF2XREMcy2dgA7OxDXjLxfd9efMTV8e6IGbj+PgD1dP76UhwFU0DbThfQfqhJMU5R1ALqVlIY52X3THMdiZn0vOlsppNrG2al4o58KtRlpd4Rq7B3KISGcLq8jdxdw5lv+TLyDYhifhEKpKdhmNP8PpWzqwd6H8mNi7/8f0I9+p7S734Xqzpm20aiZ5LKrrCrjLFH7uCyYqopzYWn8LwNoV5CAMw7CVDiYuO3KE//+LH6AhVWM1NEmzlEGnCa67VDu0TmzHKVh3yWWXjagUsexCGB2bUHh7qeMsVTqcyvx5BRP54DPy55lz2pM2D7Ckcr344Yzyad6cHx748+VEdnjWj6cXmrNB5j5wD9DIZSKuLZXu1KdHiXB2apShvpwkNTOiqn53mKEWmKgFUyc6LJl3g45WblusaoqGRdex1ljk0LFEZ75lww2i5s1ZVl8Zf7m/tjTXc6RfR7EBBm9kHT4AegU9gQrH9oXCw5qG/mPfjopghw0iwZ/ejK7rj83t2j+mMLR+POz8vhWpzVdQfe2S12S2Zgsp9xSAtqtZQRiGwZ0d7ge8bAdP+v5v58GhDprGpmuz1LE5Cx5HC4XBR/r9pCkp4971Jw/sYXhiXR+Lh6vmZKeRAEYhGRWirWDCu+gHvvty3p2Q6db1BHJf0SMH9zxchGQ0rSUCnPsRDtDxu7xcz1zNDRi21MC0NK/eV3BCeRTjCLyTvSZ70NOATIzDqoSbCxe9EIMN15ypxURV0RaaDHAQVVyIdZC8EScFullNZ5DLdtWwV9l5zroE9ypv/hAUl2QXN67xuCFcY6bivpcW/AGJmLHhx6ObpuvH8X4D21baVmS1vYIol2ut7eXq36q6egvA2hXtIAjDwIoSdZFEw///Ic+EENfTrdtoUQOob+yJvXTXXq/Xguji8ir2T4ltkjNCP72getxNHhxfPSOz7GGUtfLi5S4/52IbNanfYr2OTNAFx5komHkiqwn4683tm8aVNDaQcOMwRIEMuA0T6CTuVJzY8ZSuZ/Y9EXSUJtikmY74CFi/uMk8XOO63jBqUNBsW93ZWjmJaV5GWnXQliD3M4NIzaiz2fBCapotfzPB9tdJSWdJyffmqTSwOqiwQUuGn5D7D/U01mjrv7vB1tu5c3vp++7keTwy7nWF+qDL0zd1+aegn6P4EiG3qJR7CMDatSsxCMMwE5Lrdez/f2UXDlpiFRyTxDzaDGWBOxYYFPkhW54oWyklBxYF/DjNS+Dhutc0L9mGyFqTPRNpA0117jJOEmnvryaaFXmGOLCoIo481Tp3Ec9UYfxyGAibI0FujuvwylptH2gcevJOAbRKXkkBTql9ljZVJRcWZtW4V9V2VnZXfrdDLXnzjGWxkq/Dgn3bDiP27BW71q02c+c82QZw6Zvvo4LNZZVgNtDmOsCWcpuVUyjKOc3muWZ93ofnhVcZZ0yLL/ExDvbSLQfG4d2vgiAaIv8WiF58I/4m8LGXc6H34f6IcXoyvwPcLXTSXWoK2c/aaq4R7Gd5ufmrjwC8nc8OgjAMxrcBAhfExJjwCia+/wOY+Bi+gFcIhj+rri2dQILzIlcSDsvKul/7fY2JuNdQFDm+bNsO0l3Ck1S9dXPvBC0RVtSNI/VsIOnNJbT2QY7SU9CiXhuB7/Z0wuPJ7kUtE5GP31+PquooG3XoB/XsXF97TcYSSNqNb3ZBNS/W0nCzC103+Bdh8MZB7DISyczFB+tjRdYVixmUU0sraCXjkcQhwE6nvJXSWVnm6nw5zUCauxrdrnch/BSnhiefapnKgi5woAXISfDSBV2CnHQA1qf2jNlpkgtlD1otW/1UWNoOP1D4ZZhDOIjbJO4QIL+F7YrBv5R0eXbYN80jG8cujaMhcf1zvFND0/eQhhn1hb6vnpcArJ1LDoIwEIbLQEA2aELiGTwKiXc23kI9gIlrTXws2pF2WjqUEmt0BRsgIZRvHv/0L/jF9tui8L0/1+q4os/VjVtLDlSBl0ZOatptksZYLd/RGTOAC9H5rjKCT7KZhY3ACxWa5m3b5HpMFu1YpzZheD7uZn95xPWgd3dhuqa5MjcE4qtd2KC8JFZkzq9ZEtVHyjiet3OUZ0EfORTPWJrjVMzi6U2bYzSrUnTbzeilnw4Xsd8dhfc0Bms75Pwn6WcmuYcaW9TUV3fOOdJTfUglAnlsRDE3LcphYnFueiecy/mjNP2hEIef2n//Tty/f8qiWtbX27mW6lUp1YfvUIbhewrNs5mjSqB5lPBvAWi7dhwEgSA6swKFlZWN0cIzGEvj1Wy8kfeyEgHZlfmwuyAJa6I0JFARMjNv37x5k0VJ01tDPcsGiiJMsIHOmFPvXEg3WZKmgQzCwDMM58NxD+upkkPkKON8W41HxzMVyvge+2a71uqD7NFObPuzekBV5rAwWs05IoykDpK3GiMkGj2yRtIMRH5xvpUW1jGBCYuC+3N7gOv4AVnjaoLRoMuUGYTV4KNAbF8tz86PL3pX12UIbg1w0gyJKY8u8KDvQvSDLcG6ysLpvIfDcRcdK+R+vdxgaPXci4NwuJ/c4USrakY8M4btCZS2S2rbfUnE/Ypx/0NdZ6Vcvlx10P1uXVN0/y1T+D4lkkkJ/JQeOs4Rcm8BaLuWHASBGNopfnHHzjMY738nt0Q0EanT38A4xGCiS1iQCZm2r699bYrobXuj+rCdbkHVqC7DIVG16BG6Sz3dtqyILFU73U2XrhNkDJqnQ8ckACdejcOvNc6AknIgW1oqniDjUYmNRMpq3TVe7EaNkeE52hJwzxik413JOB4XJRobNpaBvDowDq8zyarA/vDGwvvlD/k8c3UaI5Qn2eGWk3SUEWODKOpYTivbXPtHaehSMuzsqQLW7/BdYCEO/yZ0zU/ATF3jRs4Obl+v4XQ+Ft/u+3s6a5q4HZzJ0HdjfT3MlM+okLt+w5LTx4r6svz8t0Qc/FPXMh/Vd02E75fNM+bpKxL4jhP4jgug+9J+d4D5VtjC2F8CkHYtOwiDQBAKrV40MfH//84vaExaK13ZHV41WFvtkQAHyrKzZJixFbwvwT4+JhGcKNtYQ67BThETRC0e6S6otYPnLqITDNMpxZaObfmiTkeBigRpLtezYdcVCrB0Ym67PEcd/ca2eMBSwHXjp3MakyAgogO7HEEIdiolnlW+cFNL15a8VnPuSCG3F1lVl3bHodhBfZ1psdCKc2IRBaPHSkb3fYbhLssBTTuPWEyrGjMrq9v0y5PzhcKrtxjkT4brFaTAHzvVYIxY46VDBLJAJmT+ZmG2TD9k2HfYvszytMq8oy/1eekLX7+Q21Nx00fG3ypN6I9D4NCdjn1/89B96mZyrd/8NvJFdsL3LcGttsD4lwC0XcsSgjAMDG3l6MGT/v8PenAcBJvYPFqKlmEY9cBwIie23SSbTahBfk+gYjPIRWAdTS1WUfywMk22oEbN0cmUdVA2rEj+rtV1qqSvJoWlWPLz3H4L58uptK4YJDKp9hgS2H0KoAoy+dqAp7Q7r5TAUsQiyG6VaLe5Tve5YvOcN6l+Uvd5bK3Wv1duq10370TDvN98qVpDA6KaV04wxbF5ow/DTeI5F9J534MPEQ5cWPT2N5C64Titaxp1j6qT54NkpYHOrrhghx+DHDl+Ik2U3k6EQ9lzwL2N6bWBSz+h7d/k1bRKBtq5O21QePr77c4LH7zvjxjHK+EzkI8sntkC+Z7WGuxos8n7JQBr17KDIAwEtwUx0cSLF/3/j1TplrX7aGlIJaAeuZBwGGamszvtl38DmmNlCCzbrW2GV1glL5+0NQZNtmvhjI29CthZ3Oo2m91TbMTqao9emNxY3d9v1+JFI6J0wr2SP5/iSUArXM5FEqQdcHkkd77zPHe3m/ym3CoTlZFBd9OXysbV8VoenGn17dUFELnLvJ6Dt0eJ0CLXXSFgSIwesAF0hEcCujOg990xgTyx9IG7gqXrWrfuHJRDP43l7EpoCpLHN4HOlsCZXE+ev+MrvakHnxtvvVMZ7yaoTydoB5uv+/Df3rWOPNrsz/cexP1bxQ/D+TKOT5PvVPoXvozW/AZf/ilmk097C0DateUgCAPB0lZF44fc/zgmXkF+uYOJBaR1H91SG4OiJCSkfyXpzszudNeW0cC5IcRpqvSO43zYMQnHk1tIK7N3XfOEFqpuKQINHXtBa56PLrfTxDWXrqlKic3s6605NcdUM0ZE7Eds/ojo1EQ0RyQTjTkjtE7nk9Fdp8RblnEX5PZTsr1Kv/eUPc9ocibaZ3NMVdBPKa9VVdbTjefAYb95bJKBrj78fofofX+jvUDkV95GRqL4li6sUmNcQ/w9iKGJMvoTGm4gyF3OrWqvHfwbCCbAGiai814NjzsTd9T6IAmIAVlmNl4644pmT/tbh+bl+nclu9KpF17vESzWz9fr8/8Tcf8d/XrXHJzrNgE0OtB3EOnWRE76a0ltCdU/Pk8BaLuCHASBGNiFJcabF/3/0/TA0TOIQO10u1CICgcl4UhINunOdHY6G3ecy2mqjAU/OvrO6pTDKKsFTyiIUgbT7HfP97XxNKaaM1n1PjYU/flyCnP4otBSQUIgetuYUwwD7+ZsUyTKHnXkxnJSqdkMMex68WTu4VlJd0U/5gk1E/bmgbawYPAqavmzdYfwtMh9JxPiBg2rRJGDuoOdvOvRu2ejSxFjn5h2QIsiyFtG2egqaeqGJNBxmIoBB4SjtQV1fafrraUeV1END/lXl/LydKEL/TaW5i0YhcKbbcFvHt5T8CsEXpty+KvbbktS5w1xb6uieYcQ9x9FrqqOUuD9AYgu9B3mmXLZp/Oa1bqXi5S2trvgiT6Pr+rzEoC0a9dhEAZiCUmHDu3A/39j96iQa+w7wommWcoCQhWiUax7+LDz6EelvCkpdQU/4hc28qI5MD3SFew2HKMyUQB/MgeW3ICQxJRj7Ms21O25g71tyXV99KGQAyAQgCxFW0pM2Vn77JaSimrBVQX+Eny6rum5rpPoLHw8QS0SndeaOP24OHSui0cta7V9t4EnNXZ246P7qAX1s4pBbkN6DWk36TVOAgujOJpx+O+Ja7pz+g80hnD0ILAZacoUfCb5c0TzuhHkOyP71utz5ANsVqKRueM6k75DozMFbXguqt85idr1y6/NO7me9/35uF8H0f+a1o/8Aif8ucwZAHEm8tf3v07zndfiooPPcP49Yrzl+7PW96sBPkvY2rJnAzi0kKQzThJEhSlsLBy4bHuZlh+cCoka0VRp7We3fUqvfQSg7Fp2EISBILQlMYaL/v93eiC0a2d2KVtBiSdNROXAdh/z2PSNOgdYDcKWYd+LDtlqUBiNmYLva+DDKDJmZPZanov2I6n2qckor8lcYybg9vWrerIJ0pduYnk8Z2ZChL7Cagv7cyk35YE1amvg4K0QC9chu8LBFtgcvKvHHhE/qwBMy9qeKzH88JPBJeOuQ9e2P7TfUfzdC2FCl+eL2T2jtFYcPZM0k+Uko3MRxjKoYG/ga6qZP8eVh0OxMhz3U6IZgW6+8dYecB+8tQm4HoG+kWfaYYdhHD7HRJ89PrjKyViE4ajYOSxydDvbxQfQMcAbUacFuLjy3KkDnbFHZzl9YYP1i36zG4Ns/13svkpvtFH6GYvXM/hjXqFJ+ZOTcpbV7/OyvCbQYUmeGenPMNUbWVkLUviwKx7cCcNJM/ag8IGHR+sYa4DkyKCnq3nKF316F/BvARi7mt2mgSA8dmzHdtZpg4PU0kOlNlIPFeUReAfEO3HkcVDv7QFxKxIl5VJKUNJWlSDxb5ysmZnddRKFQw8jWz74Z70/szPffJ9z+eXDRwbLMMad+OJqdsdJQJH24BQ9rxWVM1mLEXFL7JILibZw6Bxd1da8qrCvLh3Pczv9ftTDN/FEFAQKSqvgtJPx06IsKms8fqqn09RWgB27dTx4RVVySk5JSh4ERTGARRU0UeKVKMx/YmYbukrri4BcKzBRe1wRtSHudyjuALu74QbE837yhye4+8lfyLNSr+K2DvTZWr9ND/KGwcZa00mTPEnNywKyPIUsnUH8MtxOv7Rt2D8IORDX9gIIOwKiqAdd0QMhuhAEEVoHXM8H13HZqzCZiHJOmYgM759AmiWQ4zPoWfOqZE+o1vgBx/H43r4f4n5RoIXg+QG68y52wDZPLqZt63qlE2faiQE/Rnt+KRv2G6gVR7365iXQJH325hDiWMALNNOWdz8f4O72Eb5/G0GSFYrqy5QN6QxJE9Ska9KswKZAaLUay7WqvYZXH1YU2QaNSO/8+uwQjo72gPgMyMz3JbMcbm5GMEvwOPwFP4a/jVunocImnmNr9VqdUeE1wtqW1N7ygDa3cHQUYsdPktx38Vecnh703r1/e9LdCe3jwX7McVGbyNQteX19O8zSYnr+6fPXy4urkcGjqGIpLs+qmasFjQY8Di2pCFdJtdS1npNm+yeAWNBqGvDBEygj8P9RR+NhG1/+QU6VAZ0FzwSshZnExAUkREX5xbm5OblwWSYqKsAOYz99+vrfpYt3/r95/ZHxx48f4IwHae3/By99/fXrN7hGBzVjYbUPbLqckZEBMbUFnd+Gz5AxQk56YWD8Dx/AAnU05OSFGOTlhRlAi4JwAXFxfjj7MzBhPHzwiuH27ecM37/8BLY7WMAFETMTxJ2QjAKZm0bUDNAMwQAdOINmGMym+3/wqDwzE6hBxwI+QQeMwbUzUo0K24bKhNzMhIy+KylJMsQnuaOYe/nSTYbGhskMoKvq/v/7h7TX/R/0IE3U21lhXRHkq5pB/Xx5RWGGmHhrFLPv3HrOMHP6LkhGB6qzsFRnsLRSZ5CVE8Ealhoa0mAamIAZtm09w3DowGXwmggm2Jw+uKBmZoBd2AXZ/Ii2kAfnKjjkFsY/BjExPga/IHMGK2stYObiwBm/tva6SPH7jeHg/gsMZ8/cYjiw/xK4EIKv2P4P28nIhLSE+D/Om33QqxhYK4eFhZMtPtFHNDzCR1lJWZoHlw55BXFlEA0sCCKePH55Y+2afZunTFp1HnqUwn/ohUXgTM7IxAKsbUFnqLMACwnmf6AKGjQ9i6WvjlL1AQQQ0hLY/4zIGR518AjCh+xsA63j/gNeKQfK5JwcrLxKKgqa7OysHKQ0a6SlRZmAmOH+/acMt289AjbVGUDXM4NLUNBI8k/QUdOgbgv05hXIqTFM8BoUpcmHVDsw/v+HdOHhXwYhIW4GXX1ZBm48GRwb4OXlZNDRlQfjp0/eMBw/ch1Yc/4Ena4B7k8zg1eygTDkdhj4OXJINSJs2Sq2dudf6Om0kGb3P+jlDTB9/xFnuDMjBhMRVzH9xz/SDF4fj2Wa6z/61jyE3D/4FN4/RBMXfdnu7x8M0jJCDP7+FgzqmrJEhSMXNwdDSJgNg7GpCsPUiRsYXr/5BF39xwSe+oQc3om0NBfvWlfkbcCQGt0vwIwhJs6R5GY1aCu0j58VGKc+fcNQmD+Z4fnz9+CWBwPs1HJGpItMoasi8WZxpNN/1IEFXUt7AjCNC0uR4i4ZWXGN/MJIDW8f6zOZ6U1zbt18+Bpy2yEorbEAswPr/7+MP0E1+T8WJva/TMzs4NIJmNn/4ZteAwggFlwW/kM5bQYc0eBaHJgwmX7//ssEbCYyiojwScvKiatR0o9RVJRm4OfnYTh65BzDj3+wu9NA8+jAzjwzB7BUZAF38EEDk6Alov//I85/g3X3wO4FLR1jRDTtQBlJUUmUQUtbmuJhFWkZEQYWdmDz781nYFOaDYxZWEHnCrAA3fcPOobCBG3qIh85hat/CV1ww4h2PNQ/xNz8P+SFH///I13YwIDlnDukohw6hw4eVfiPkEHcdcmIks+Rt7pCdt3hWJ8P9JuDozZDYLANmfEswVBaGc5QXT6L4fv37+BuC7ig/A89+JcRMmWK2o9Hzur/kM7rg7g3NcOdwcXNgOL4lZIWATbz+RmePH4BGl6Cpi8W6IwNE3SVIeQocfy1OMRt/gHmDOVV4RS5SUVVzmTpik6xsODc9tu3H70BDcSB1kVAMjsIs//7z/z3L6g9yPCfHXzaCii/4AIAAcRibVpZzIB63A3sjmcYDcJs//7/4WBmYmQH1uYc//7/5WztiPcyMFR1wWbo8eMXn165fOfr+XPXfvz7+5cNWGOx6emr80rLiHG4ullx8/Jyo4SYkBA/g7q6MsOM6WvB69s/fnrL8O41qIYXgdaekBoUtpQTclQU7IZUxKAYE2wTJzAR+Prp4c3k58/dZjh39iY8oaupyTBISokwqKnLYVV/9tR9hssXH4HdA8rkTKDVbMxAzASZEmOE9isgK+J+gVeo/fr1lUFDWxzDrJ8//gBbCR8YQOcHsrCwM7Cz/gT2pX8B++7fgH1p0NXV3AxsLMD+NLgvzQrxGXik/Q94ievvPz+ALQ3MigK0/fXu7deQUXcmVrDZrCyfQFM9QDYHeGEOMxCDWiWM4LFQ5FbIX2hGBy09xlzNpwGswTWIrMVxd40EgZnTlyE7cwJ4KhHkf2ZI4oVsI4au74cXSijz7bDmOsSd0bH2WDP5p09fGXZuP85w5cpdhkePnsMP+tDRUQJ2MyQZPL1swBULOvjy+QvD+/cfwK0NRqibYMuHIWmNGbrxCH2QG3mE/z+wILTCmcmPHD7/8vr1u+8vnL/2DlhQ/QVNShsba/PJykty29iYynNycqA0O8XEhOUWLu4qMDXx6wCvUmNkYYQUkCzAGv03sF5hA/aiQCNnwAz/nwNUbTCxMHP+w1arAwQQC54JeMS0GqjNDO6P/wINQzNnZHkZ+vhZxKN75NSpyw+z0psuvXz5CnT2GydQDyfkZDSG/9u37wMF0i9BQf6fNbXZfGERnigdC1AGs7HVY9i8eR/Dj+9fgZkF2NUHrwBjhExIgOt02EgydEXcf+jyV+iCmb/Qkt7MQpEhPNocS2R+Z1ixfB/D5g2HGT58/AisuX7DEzhsb7m0tBiDs6s5g3+gI6h7gcicv74xfAdmXBZg5gYtVWVlgTbLmSE1DWwE/S+sjw4tcBj+4x41ZkTZUop6Y8R/6MEQkPPuEOe4Yx42gdlaYPyPdK0T8gg6UsJkZES9ewpiNqQ2/4dj1R06WLN6D8O1q3cZrl4B4Ttge3j5OBksLfUZwiLcgX14zIxobqEFrPEsGDasPQwscNhAczjg8QPm/ywMf8E1PGy7Lmqf+P9/xPiEpJQAQ1auN4bZ/T3LGFas2MnwAZhhQbMRkEwOid+DB46C/Vle2sng7evA4O0NxD72cL2gRUegyzshGQl6ugd4yQFsHQXkGqD//1GOPkfJ5Gbmagw19VEY7tq96/Dn4sLOO+/effoCjJdfwMIUmEn//AVWnn9XrljzHui+P+ISwlcmTGjWdfdwVEXtv8uoz57TFpSUWLwBMjYE7KMzsf1lAh3EDtoz+v//n/+gkXvmf/9YGDj+ATM61qOgAQKIBcfwPEom/w9qtv//wwzCKioS/LEJrsnonpk8cfGxzo6ZT4EByw1s5nEAkw4HMLLYgA4BZWg20LQiMIhY3rz5xVyQ3/jrz9/fzFHRfszIZrh7WDGsXLEBfIHi71/AZgjrT6RpH8gQKOwKZGboqrb/0L2jkHQP2dWVkm6PEdigEdeGmjkMjx8/A9+t/g86Bw2bkoI1lu/e/8Jwb9Z9hjmzVgL7lu4MuXnRwMTLDSzkvjP8+vmF4R+wZoSN8rJAm8EsDIi5ddh9SigHOuKZHv6P0v9EZHD4YBMjA5bTX/8xoJ7uikh1/8DTlP+hKwj/IgYIgYYyM/9HmVb6hzSqDTLvL3TTzD8sq/mQQV/PQobt2w4xPH70DPVADCD95u1nYGG9i2Hjpp0MkVHeDK1txRj6E5O8GVav3AUsI4HuY/4HWabLBFnl+B/Ww4Debc/IiLQIB+oXUNMYHcyZvZFhxoxV4Hj99x+ypgDZ/4g5dgaGTRt2MGzauJNBXl6GobOrDFjBmIAL/b9/f0IL0P/w7g44jcHWrjAyIEanEZ0fSAHHy8FQjSWT11RN+jtjxuw3zOB96UwcoPwEzEf/QBkdmEf/gWp2oDv/PHv65E9oaMKVFSvmMHt5uyqh5gtHl79/f+wDNd+BekDx8xfYYvsLarqDFlwD4+4PePEZMLR+//nGyMrChTHcARCArut5SSAKwpNZrmnHbv4XEkVQhJeIbhEGRXTtUFBC0aFTB42goxGdop8eCgrslNfqGF26WdE/kFCmu/t27ZvZ3dxNFYYR9z3fY5yZN2/me89Qu21eUHc4u65C+HL4DDOcWZ+ZiMejA/42N9el51w2/6FUXQMhvK9rEFoEBsXIIMb7hm3LCFu20Y3PusBDmbVt+wOK4n/FYlEaHUtK6UjuijNqf2AQWzlwUlFGuTTS9v3POLknxmyamx+mWDyYeOMM6+rKHr2+vVNd/xL4aR2rsw7iMfjIKHOTiUNuNmqEx4WLIk1NLlHp7lEqATq3xXNuo0xdEHwCipGxlVND9xJaXjqs04ruuzu6QY3AftlT7ead8f66dLOc1G41t1kRGpabwed5uBELuf3+ACX/gDHimJTTv4OhP9w/UWp8gfL5IyqXy6SbkJsJGaofcYRKgVg+kB0flz05vqRcdr9dwglRU5JMC+2EDDE0b+6OgTaa9XGvVk/OHAeHWtNChbOijKmsmnDooBiuAw9mx+45d4f4/Rv0YTa9TJsbu1SpfDrtvOeBudhELb+lD2OAmU3PjFAiEaxAHB5c0fnpLdZdHbqv97JNgMvtMxhHg5yZgyzeDmtY2KPp9OILIuJqAE6rRaI7u1sp9O8HxZkrS+9TbGOq2mOqWthQ3+xAMFatbWngVwC6rmalYSAIT2MIraJPIKgoeugLVHwBTz6AeBAEvXr0DapnBf/oKZ59CD15EBSCF8GiXgTbIgr+JM2u8+1Psm3Sw9CSpsvsZL6dyc63ux6N3k1SR3NCNE8Bch4/Yr+xXF9zb+x2Pz53tvcifmA1VqCqOiJikAR8CCs/JvF/DBgCRzmlHj65c5Wz04uCQrNz04RVdAAbHCYx9WEs+QSYrZDZxUVxy6WOzNWaR42VhUKbB82QOu8d9c4MIk4O6j+VrilnUMyyQYED9no94rSLnfxWgVtJqvXps0OgTGZJLmR3fDFlPRIjzigvmQ3PqLQu4DOAmwhuF7Y4QB2mfwsTkRXYpQY7mdn/HOTCAbswrppmq+/KUvcoeqSN9V16YoAn6tl8sy00qKwN+wZUmryjbXh02KLrq5uSFL5ugGkBqcGn9XeqD5YEY2v6LGVzBe32swJ3H3RgtCfiHNTCGYAdwpE0GUwYXtL93UNmM/1bmmUCMitNSmfmPy934r7NrdUBfV5f3mi/eY724PMBDzRqgQuIM+C/8zVfi8TB3z42qGDh6yI4OW61h/u3tDg/wzadYjtPMsYm2GbjDGoOrD88gPwGQsQ+f/e475Uk+SqA/V8Avq4dJ2IYiHoTghQB23ABJEpYxFLxER3iHtwEiUNAt6zooNsGhQaJO3CEraBgGyTAnjA//0iWwlKajOzYb74v42IJz91TNQdqyQsC+uXVxWlVraylAqa3D6+40TUupMaPS1pqVRbDCykY4Hx9Cmfvpbss94x3g6Z57mzYwXjXUF2dQU7DSfKJQUVama1VG0gcjoEPfFAOj7Y7ddT5/M00jy9ieYgXrnJFcVg9BLEjiwmdWSIogvurWWl6z4XatwsyHPiWzXG0//yFldyVGJ8T45FTOtPMLiyJ0UGVjhWFCBBZdgZyBZFWrjTb70HWJ3vxsWBQemsdwOR+VLHYyEhLAYUyZ7Onjrzjk/2gJIKCAHG7GWh6iyUke2BUXn/mfFPm5JI5aZweOmp2CLht7uG0kHlVsV6f8/ZzBiGYs/OxGQ5z+sjN9b3OhcJPEK9WgE64KMWItoXxXZeFFkthcjmZ3L3/Xd9ob2cLv/EGD7DrCGw0rN81JcnRi6nwubT2E6Ohr16L/isAWVev0zAMhC+JHadJk0KpIKVqRUeExIzKxowQ4qVYeAleAkaEYIGBp0BqKSOFpElLuJ/0jwxRpTSxz45t+e77vrN6fr2+KYQBx4w4cuGIFUcQWp7nTpblTpIk+msyUf1+5/h/AePxe3x+Mej8fP+odJoqfIdYdY5ELWw5jo0Rf5uTQzLL7nfOdblGwWj0AXG8t/bBYmxUH+oBscQa6B/jFUS4HY/Q/w7AuB64rmHYjUWoREwpj2w6GVS3dK8vb3B41ORMshTRz3OZ4DydbWG4MevNcVbHNi0FbDY/oxwFmuhNWLfxasxaC4IQfGKwkU3Gx/8MIwOSHWfG9dHJMrt7YVXZ5GnodBscsTemBr4f4kDZZnZcWN8Cn8uug8vRcs02zVnxlqLrkXDWnf1OVGXceQrvhyXsZ8ROX5h2Pv16AfZdjdtCiAHh/+J2iLYgy1LWyXe729WBom2IGhpIo8M7qpIiLFwCVab5spf9t8Djye7Hx6dKeb3ePvQOmjBNftkm6kNCG7QyghAotyxP2JJiZ8Zip8kkwbFR2yjv8uoMffRbplBTsLZYy1lqlUzGjXRaxSoDMEfXJdDFaAoFXAXaxW+qXEYw7AU6UCICi9Td5E6enh5V2nd/90Dibr5w9GvsNDqPfC6CC0tEjyB4cRnWsRYJBMfjz2I4HCXtdrxsZKu1E+EED9DO3LJwVbSLFB/Hlc0idZTGRZgyzk7Rfgd3WzOtN8fdnwCEXdtKw0AQ3WxarBEp1B8QSvELxD8RQV/zBfqbSqEKgo/2oT74VNOEGDeeuSTZbCIWQiEN222TMzNn58ysDcUyoeehDjIAR4QHwc7npwv/U0ym2H3soiz7gjE4xEWR2xLXVbhe92OTelV+GGwtIhNpiNDkggno4Wu1WoKnH0yeZ6bIc/DpQkFaMog4ZHfNZoXSm43C+7PFEFTr9YZBRyChMdgT10ZLRCcAEwB8NAP4AGCSiwIMs+OEpaN0ng4xLFPc9Gb+KodtW+D6SnHl1r0z/5dL1mHFVbiQ10Qdrva03COKO6IU1XevTFa89E/nHY3pSUw7PbtTXj+i5mNpso7den6xiJbTeROW1wpIunf6j/f7zLw8v47c53NZ86B0ZFUqBfAiktp5mvpOVPT0OBzr/iE1aXoDA5CoJ3cq54zUmMeSCuVGH1NOiVqqAdB8vqTV4s4g+Lvu/lFk06QlL68u+jRn8wbK99lGF7hpsXpxLuwybbNxXjV1LG+VfYXacGv7vi3Cr729u17SYjfGOcFvTHCA2xPHr4j/E7XG+FUE0A8m/isAY1ev0zAMhM8mxDAAWZCqSjCgSlSChReAN2GFoQtL+xQ8BRIvQFmYy1LGDpS9EmJjTZM43J3PdkqCRKdUcqskvvP9ffdd0tFwEYAyxAlXlAVZdkUKTEmB5tosO0gn47seHgZaNsHTqwk9m5Zr7e9f3HbGKDP13GBw0nqPhNvGQ4Nx3ikpWo6KmKKLhwpXJc51LrUTMKZsIqIKtNR7+2307XL5AWu2VrmQVbjpq8m2w3wbUWL67uGtwVFzJ4KjwSEryZbd8NroAejYhgACpqo356r/qy2zq7ur0aftxzc5d/wPaK2tJdtcs/D6sMInt2pfYfg1cTGWrmzAvXcm+mzVcOtFwfE9EICILZ/AhB1KMNJp0Qiy1eoTzs432XD7/UOYzwvYwv1mLwStaalLvKbuvYpbkxkp6TPu1oUmz9MZXF5dtO5xPBnBze01TJ9eYLF4h9fZG4ZuX+5g1r4mrhqp/fAkgs8QtKNX+EAW3lU7j+FcswxLn6PjHjw83keEYl0ZTUVwpS3KGDG2UG+31Y4kkDdaKQ8Z4P9Ww+Fpy2qhjFPWnoSciBp28Vc7uNRYVaboI2BoQMnunNpMVL7+VibNQvb9RwDSrp6nYRiIXpyPkkLIVhZ2CnvG/gt+MwxBTCVVJVgQDIyIASkfDn53dkPcgIrIkiXOh+3nd/d8d4l+ioqzEwphrmB0lWXz3L8uTVN1ebX8U+jrIUdTw5T8ZLbFua7nBvwNzcAoZqBjbRMtApnYYK3FWT4h0DwLyBsBuQBAMfMkibA41q7YgD2JZzxppaps76Vjyj55iPIBiIwD2CNhLDcp0M6N1kHlC/qxr+jhe/SP83Ez66/qadW9Y6GSqAs7G0Pv/r3e7Z7F2//kCXpWJPh17793SSnEiyIWSJjanHzD/ScMvqsU1LUseAJom80jtolG9zvJjrl4ZqtqilrjFoQ1hRpWbswlsAKbousWMW2//a6sqCwfqCj2TeY8PzXMdz1oC+8ftF5v6fbmnl5f3qiqnlgoG9h6iCQUkAvrD/kMg9n/vZ+dSHexPJ94h4xWq8K3nNV/cWH6M+k5PkWDcA3Q9ZHp5SSA3x+EEPIAdgVtzG/7JQBvV5PSMBCFX/46aEUP4BVMu1BKS72B7jyEoODOhTs3XkNwob2AeAwR3btIwYJQa9VmEpsmvp/JjwZcNvCgm0zzJpn3vm/mmzfubufstKKIY6NZQlke0yvzZNZMEr1xfHLQ6/a2O7CEKwhe4eH+WRRiDeLA65h5ibOuMZ9zWd0lu7oyo+by25uwt9+F39RiDE+PgQhjzO6kXDFGPNAz5pAxjDPwzQwoqBxKWEBA0rpzMUfF8NR2vPJew/9Shs8UYELYatUVbHQc9XA44SBBz9LwNPqHgU19oa/v6OOqKOPwPyz20xTkYMWd5nZb7brqj+rwj14m7AMLe7jdCNujdqn/msI9DazOSQcNSJ6t5lWOEOS4vb/ZZAEfU130IyUjOr7a5eAn9VOouKXNvFTW8HnSMv1muB9F9Um0SMfwNp5i/8fgOTEipQifOcTf5p3YntlhJyhD2iKor+Ho8AIur87B9/9XYNOg6/d32MrvawSD61sY3NxhIJiVPJ7W8q3M7K3IbSFWyfIiMJLVDTqHYFlXSpqYLFWZZWNyzRR++8qCVJnZepd0LjhuMUkjAp9/UkYv7v0RQEy4F+iDp9VAU2HgaTJgLctKLw8hNi38gTZVEXOasFFhyMaRP/ABkf8MWEZjoWbA5kHB584xMUP7kOyQpaGswEwFxpzQgoULWENBxUCFDFCcHcQHDWKBCxkOaCaH9O2YoccyQY/BZYCdZENwoxPyqPt/5NtN0ObNkafg/v/HewEC/o0uDPBwQN1vjmQenq4GrKCD1HSs0KXJoCY7bPAMGD5gzAWnWUDhy8wJLsxgKwcxpgOhI+nwOet/f5Gmwf6jHKWN3PL4+PELQ2xUKUNb6zSS05ecnCRDeWUqw8Ejixkys8LhLTL4UldGxMAiIyNm8x15mhLXCkUaZQzYgRWgZhMr6MAKCAZncibI4ra/oMVt4OWyyFoBAjB27TYNBEF012c40QApFIAEDYBE4giMaICEHhAStGE3QAMQETsisEQNlECAhG3MDvNmZ2/WewvipMusk+48/3n7Xi0cwcFlJUaYjsPZKTShUg7M56/vJ8ejN4G7CrWhH2yC77e83g1HRPQo+A3KD6zftvf2dxF9ZMiGEk9AMgCjrFAG7pg6SadjljjZKLK8ai9IuvaqGXkqRdOfKcMYzmgovWNWb7XsbLVkMy11y+rUMcqJGozPejkN/aTnrbFJDCqJHIj+YDJKZ4BLUcSCjIEKSuaM/KFuC1ZlUoUdNWdW2dSV67Ow9AxDjT9N2uU7DloJmjKhbtShVcrKh6FNuX3z63cgJcXIASrpNmy50V+lISiy8XTy4J4en93Z+akbj0fu8Ojg334DzPvN7bVsAO7vJh2W3Zw8g5n4YjDqbB1XXrPZi7u8uIpJBgiF7yV3VKsP7p0X7AufbDcLfjaUVrF7W/Kz1vzeASC5QF/AmHBVvR4Cv+LiAE/Il6Q3j4cqVNcw5hhZX1Nc1anKUu/6EYCwa8dBGIahTqgEAwo3QOqO1L1LWbkB4lR8NhZWxBU4BoxchZjGsdOkaeleNW2VV8f2e8/FeMAh2qvro2uiv35zoPtqPRbEhQ95iCVXFxTvF+6jI6iUR4/M4Y6qdwFkwc01opZCXIn2lE7FmnPKvwdyVmOWSfGIpX6ch83DEVzrhY9OJE6ZBVAkLjTdbmfdvAgdNEsb2UBaYQ+wOB3VIY9YEtFVzMJCSEgbU/ftzUtODEyCHj0G+cTAJCk8hu/Igh5N4h7flvLTZvxPznnPOqMkSzPoVmNRKuq5C6vQRrRa6Ky8UHWDLeR00T6LY1hezjc4Ha9gWvA2TQ1luYZmW0NVbdq1zV/A7w87eL0/8Lg/M9VhrhPEBOyjmgMU7oKMzEKhk2tvjmb5RcgjDvl6mfUVY0WAYmmuqD8y2qHNxWs4zGZg/wlA2NUrERAD4eRE7RFQKVCZMaO6dzBaWgqPYLyDoVOpjJLKEzCjo6BQewuE7G5yu3d+imtubvJzyWa/ze5+a35Bdzw5MNZ9Nl1cR+Oh+KbZbBTejd9osOzCAXcl2nNYwNwmeFZnNURETw5s4OhugjAprSWDDEvZxGqjD5jv4XDJzKFer7BN6k9qQ3Y1blD0m3o72wQbHfwDAtaS0PGsOV9XMqR/PhPXGAtx/Xvpbq0IkpHa28q4aqUkpP+G01MvhSZnmEIUaFOMw/4bgCfh8sIOhyXQSucB0ntfM9AC092Cc2vVatmIxdPxzPpM4LqDQyAOjFdO0y5XVMQjCqjKQL8eCbjLt816C+1OJnMYZ7lUJKGvqm6v/XFm/UFHrZZbVIzENAzj0Yx9RVBe4trsd6dMW3HcYqjEpkLLgSBMY0I2L2xi6VwLP/9JRcQeVAwYnfJOs2vHHOqS+TFkkpCHWLV7KhT2JQBh146DMAxD7RYYOAgMgGBBoiwcCi7AUWBkhJVLwMBccQpUBCZxktpJW5HKS4dKSf158TfrFvKgIcjPXqP8ZVPWkrUqlkMKWW+xOWlaEooto/ViW4FzCR4DV3vu776BabIwj0w3oSXJ0f4qT7EtUUzXlIUda1gm4ZNcYqhMPUn8yFSpIjOzZ+TaYSeKCPVDzZZWnV1KqbsPup7QGqdd/kEIAA0oroWclIUnasJ1ShBAYs6VB9oLmjpH9EKHNWLS73KYtAj67f5Idx4porjBhigZUIgC/f9x/NL3/KIcZ+YbZfmE4+EEu+0exqMNXM7X1nt7sZ5Jz760IEafVR07dYJs/QXpmi8mMpRPSCFagDDMVNfJoBsh9OEWx4hvs8GK45MM8w0ZyG9OojK8Z8mYbvZ+fpDj8cjtptq44icAW2eSk0AQheHXDT0P4JCIcVgY494DuGGjO11wCz2Ad/A0nkJXBlZewJiIbUAQmpbJ97+qbunAolKsXioFNfD+7/0FMu5BPOLkpdQFHmgws0lWSSeT6mAwsHq9vv2VJE6SfLpvb+/p6elJSU5rta73ut33KbR0TK5lWSJV5aCJbdv875wbnCVBzSxJ+dHxZhJHvkAdBRyhYQ3TcIWU8v2QwiCiKFKEXBjEQnuBUBN/OQ4GmgtGBsNhn7ofCV/XgzIxddOk7PdbpDrEA4FWQ6ttc9w6BX5UwDGWZWsdWP9GNKuuqruW5RvFiluofsCl8HWDZi+ebqMhNRqbCDaLjo635PYiZJwXUQwqjscDGlDRbKHIVgUZx7HhFZcTd4cb6DVkgBv7iriDZIi4QYB5q0nvuaHMK5KK4kVnKNUCDIJ40WVjGo+HPLadtdi2VaGd3UjmB3kNxwmE6PPdmFzuPTvQ43W0g85ClId0MqKDg/ra94IqQlQbxrXcx86VmJ4Tke3ocVY1GUhmsaHPpxllUuuPakKfP+eFSakGbnRVopZT/98rUZtxOv6hu9t7XoiPvLjLysX5+Rm1X15FZs0PH1P7IajN3Sh4hBmcdedgPub0/NShy6uy9VazeUHtdkc97WWYK7fWPOFX8tpeilUkoFTxgVOlHMpJTLLPfIoTyBtYB/NRzc0wMo77y7Gm3M9gNQWdHscN8mPVilda8H8CUHY1OwjCMJj9oEFNeCAvXoxXw82TPqaefA+9+BBCjJHMtut+ZIsiyegIMAJjW3++tiNse2G2R1je8GzTbKd1XQuLFhMugKKRShqltYEPZkqgCDKBTjPlZEIgFZwEcHBV1Qx+wgX8NHOitm6P0c7tJoxSBWQaJXcSafawy/WWslGrpcevOx1ArA8QsT4gFo38PQW7xgofvcXF2ve3GSdKRZzLCBH9m6tLalvPhUr+p+XMPk6m+EvtXoS0liKCloawS+67mA9GFcl6k7qVno7n9HlGZHULrn+ISsUclvYIPGsu5UIKQpfLTjOCUXq52UbnfRGoJjVf9ewUww4x3smm90i7IrZ8cD+jP/5w2x92pJeIBjTJ1jZ8M1FYhRUXquOAfQLHgoP3wQUVdx1wRC2UO1J4nxau6/CcvQZWd4LF4uqObatsJ74FYOzadRMGguDZ2LycoDRQUCAKxKfwC0FKxeclP5CkSU1BxW/QECkUSIZldvfsu/NZiovRFQiEfJ7du9XMbgeiu6P+fn84RWaC+Tzdbl/7yE6kD78HYoPQeV9WkFQwHAzvKjMdEevDx6OCiidk2OcJMtkEER+ZB6toyPE5Z24OAqwt5+zE2VY3sGenrPijgO2d7xhLI9frlRRnKPB7Uy1TJd/NZULvspun5slDK+dTZIBoVshNNzJSTMbgUE9xVb1jvGi9lwdmjbbjvPl/5gE1bVBtU9Xt853OXsymhehfnz+NYpc/u95FCjcGU3IV3pdC+gOkti4glX/WDEg3HZwocgshvbtuBYTHPp/PvzHRqVSSW/jGmLqo5gXZSnTz8f4d/dZyuTC73ZvRjsGSIKpOrkJu/KeSgaAFcgNpfgW0Kq+4AH+CJKuR6AqyZxwErol+v0y0ceRNO8Vm0RY+BBBRq3UYITX1f2AT+e+Z0+feo8vn5+eyR0aGswJr3H/AmhucsYE18X8OUKbm5PwHzLhAmus/N5CG1NY8/0EZmg/YJAdjYCbn5xNgMDExYsjNzYDU6qCMDlq5BqrV2aBntLFAR3lha+ZhJ6xDA/zDu08MZ89exnB/QWEWsDnMCdl9hrTVFbaq7i9088Vf+I4v6I0rwBIdVJtbWisxiIjyQO5TA68jh12iCJvn/w9dooots+PtSWOtzTEZ/1EOqCCc4f/juYkEbSoPW02OZ5wP5bx3+N74f/Ba7x/0eGjQ3nzQ5p28whAMs04cP8tw9eoNlOO6UQc6ERdi/kcaIwApUlKRYmhuS2ZQU5eHromAZngWyJQpK3LtzsIOPT4L0gSHHwsFhHLyMlj2RVxh+Iu8bfnfb8S+/n+I2QDUSRhG8NjQiuVbMcxraKwEZ3boeA70qGaWv8DM/RuYgYGZnA2cwYHu+w7F35iZ2b8CxUH4CzMko39KTk4QOHxklyNQ7ycghtTsTCzfgPgHqJAAtQaA7D9A8/8xM3OAD5BkZeFGiUWAAGxdTWgTURCe3X1ukk1TUPAHKhZCgwW1ouJR8SZaevNYsXhSLx5FKeihWEqgtlIVBG8qoh71Wou3Kqh4EgrV3mtN626b7F/8Zt7brSENvGySw9vZeXk/M/PNNzsi45I0LESR76GVw9jvjaNgd5Rs7knirb0L84vVd++fX/LKXgcV1Pj4naINAe9PTK9BqW3HLqSO5ihjhkqFmysI5UJIF4ouQuuFk6dqTqnk0pGjNRoZOUfHhg5jon6njws/oJyS4YozoAzHZFzxwFpZZZvEVCppCelBGPr06+cqvXoz1aHwSqWH7t67TWOXb8EGXYU5UDFIu7KAZrj973XPQmvnh4foytUzkvr69Mk8ffu6ku82OciCto/+ecVTSShpGgTbwZ2RcStrpmwSI9h8yBNArnVcfzPxv9inmt9N5eWb+Vip8QYBHT/RnZPdasUwrxo5Mk4xMk7QcT7Mn/Uc1OIodlpp219cSpJ229IpwYKM617/Pc+jKGROtg2NLtzVJFcxki1An3+F345Rd7ZBsvVUijQ7d42q1W5k4MyDZ9hRg7zYBDvRlJOgrzb64lp/ocjKMXqh2bYcjffH2779vTQw0EcPH92kt68/0HT9Bf1BX6mZlBmFVBbDzh1rBpTD3w/1H6DR0c4FqNHYoM+fvlCw2RRZlDLNfOb/oW1v60xXttULQoQF//HcS7pw8awg8TqedXaSf7Pq9RmJBEuRobY40KBNdqjpWDrGGFc8hJVi0lpxmloJjv9912+MnR4crPUvLS0vY/5saZw7cRweNjp2dIsXDZVgPHFsFwponKzdLCaVv/4JICY8tfg/yNwYsLnBxATuWwBT5p/z5y+/nzhp1iVseqqqSoR379kgnZOTygcZBWSCYVBzBXwWNRPofGpgiaMALFGDgtwYWtsLGaqq08GZHN56AN/4ibRCCTa3zgA9TB96BRPyVkTY9sHr1x8wzJm1BstUmwbDvoNLGELD3YAtBjaUQxIgBQVkZxYnJyNDUIghw6wFyQzZea7w/e2Qk2R+Ifpv/2AHJSD2pP//h7pG/v9/olrYaCsCkWt81IMOULsJRLTgUabmkaaG/qOPzqOehoNtHl1PT5Ph+s0DDJ1dVQzePo7gJvS//7D9/LABsF8MEpJ8DFGxDgxr1tcwaGhiHrQJWuBy6NAJpG4FrM/PDO/rw+L8P+LuLPj6CWSnhYQ5Mhw7PYehsTmDQVtXFWmrKXSWhBFaUYAyKaiSAPIdHKwY1q6bi+GuiRNmMrx7/x7plJ2/qKPviN3riBFyBsRlHo8evWRoa8G+Sq+xqYppx84NvJmZydzgfjSkL/0P0j8H1sRMrL8ZIbX8LxNjA86Jk1v1L105EDFxUmsIKJND9lqA89FvGAblRdA0GyMYM8FH3IGtHGDj4y9GBAIEEAuWZVnQYRFwWx+SURkgAwagpsc/RuY/HW0Tb/7+9ZOjrr4cYxmSpZUZFwi3tddInDxx/uvVq3d+fPz4FXLZ8X9GFksrA04ZWXFmGRkxJtxLLVEuNYZfp4S6s4sJ6eBi2KAaJLH09S5i0NRWYrC2NsJY99zUnAfEDAwnj19mOH36JmQ5JzBhSMuIApuDMkCM/RhuUGEAOkIKsQwUdAY9M3zHE/ywf5RDDgjMd6McPoF+qAEDyhQYytTb///4m+yM/xkYsC5++Y+6YAZl9xrqElxcICY2CIxhG0auXr0LmWYD+l9TWxHjAAZkALpgorVlMtJiICak9Q2oGNZXZ0RfFYjFcWERLmAM2qxy9OgF8Fl2ly/dgtZp/xjk5CTA/XrQYZB6ehpYm+wLFixHPTADZRzmH2JaDXbRLtLCLti037KlW8CFRHdPNYYddnZWrEAs1NXdIHT69MVPN67f/fDt64+vwO7ubxYgNjM3kJCQEOEREsK+sgg87Qa+Uhiyjhl5WysjA3RLO9ZLBCAAIICwLZgB9SX+/wMfswoaqgd18kEDByzA5gRkZBCEe7qn3gH2VVmBpZU6LsPNLQy5QZj0Rb1/ECumkO/PQopo+JH/jLBRWcThAaAMX5DbAizpcxm8vLEf7m9uqQvGRLsIfErod0Qm/88KOlyXAZ5kkZadIjIpA4Hta5i3fv5nQD3hBDlzo+42+0/E6B76naZINToj6oIZ5Jqe2BF9UMFpZUXcueqXL99iiAjPgR/RBB/LY2SCzrczI2gGxL5w2B2IDOgn5GABoO2hEXIeJKU0UCZPjM9h+PD+I3xVJMoFjGhDkIxIc/qItfGwtRjMDEuXbAL7r6e3Fqedpqb6fCBM4v4P8Nnt8Ll36N3B8EVJ4LMhcTccAQKICWdLEtTUhjQtgDU5aDSP+Q/QI7/BzQzIAMCvvr5pDzzcgy+eOHH6MzXW7N+9+4hh29a9SIcbwo5i/gvZoMKANMUBP/QBkskhU3uQTA7aQvn58w+G3Owmho72aeCahxKwYf1hhitXboH73ODz0n7/hB5aCZ2vRdo4A+lJ/iN6+SsDRqKCrqHAyNxIB0jimSH5j21h3H9YwYjcVMe2Gg632R+BfVhywYzpyxm8POKBmek99Jgo2C22TNBbW6ALlqCZBjZlh2i+Q45gAaWFa1fvMaxZfYAqe0Q2btzBEBSQwPDg4WOkJe3I+QXtYGRG9ElGpBOKGBFbXJcs3sDg6hwOXvNODfD0yfPnq1dtPPsPfDwb6JJG8F4RZugmFsjqVVhI/f+LNQoBAogFWwkA7k+DHc8Car5DpwJYfzP9+/3rP+OfX0DP/PzP8Pcn07//v44eOfnOxdn/h4+3u0hicoyIu7szPymeuH/vMcMlYGkPOnzxxvXbDF+/gRIUZGoDPPAButsbdIXwf8T6Z/gBD7DVUuDlkZAVWKBm+F/YqjpmFoaZM1YwbNm8lyEq2o8hOiYQvF+ZGHD92n2G3btOgfGzp68YEAcTsECOJ4avZGKArohjhN7kgXzGG46sjjyNhLwv+j8jXC/iGqb/0M070HPgoZth/uOZIUFsK2BELCZEXwkH3f2CkclxGHzx4lWGoqJ6hri4UIa4+HCC68dBYNvWQ8Dm7AZwgocfWAlezcmIOIYKlsnBbFakJbbIO8YgZ+UzgJe4fmFoqpvH0NO1iMHN3ZTBw9MSfP4cKWDzpt0MCxeuYjiw/wjYTbBuFyN0uwby7jVYWDIirySADsih1OqwlZX/IPQlYNchJCgV2GQ3Y4hLCP7j7+9N0n7WR4+evDp/7vKjlSvX39i8eftTYKb+DdqaCp4dBh+dDl5rzAw+nu0/MxMDfJ37X6ybWgACsHV+K3EDURifTWJidkXbCl51kWqla/8tyhZLwevad6gXXvUVSt+lj+BNX0EQuje9Vmmlsu7S/ZdkJ8kku13t+c5MIkIXhgQC2TOTmSTk/M73VdI0//o/J1X4qmVZ7iilmJALo4kbhYE7HI688Xi0GARjLwgCV8bSTZLEmeY5nFWBylb23u65241n9vLKirW1tWmbQcNPDAZjMeiPRL8/tC7Of6KmzSia3JYqJkhfWULn0JFmQ0rOZ3knn0myBVaEcbTz5vyG3UtAx6VpLOJEMiUnZcQNFBnUakCr4X+QV2+92eUFj/1KCflY9LQ4p3Mo2l4gvrv8rUFnWXqKQR9f5/i9O8kpFqIoNOPoSZ9nGVNYE44lpG3A8WTQrsPna+19y+WvNX9JLBkqDhQbqDgm41izzOHYIHedQTMOdJxCP3X/4jjk/TxTTOUVZoEgzaA7V4XeXhV8wjKNZ02X3NKxAibBop+izp316PS5NzbXxOcvR/cmyulpWxx+/MTXB+Oxv/9OvG6+EuvrdVGvPy4BpLOzXyzw0G7/oMl6zW8+OiVp0FITHxYDqgYRJ0qDPdNQIswOMzB34AWvyUSWxZrrKkfQkLNZ0XLqoysajSeisb3BhUzPXzy9l+wHhYd29ftanJx8FzRvSz/54g1DK+bYJi+vS29RplxmKuyiaMc2GRZhCLmpiUsr4k4L2WsjVIkbXJIOQlSsHXx4X2m1dqxHqw9vm82XHj5Y4yMbXFV73T+y0+lFl5dXk+Pjb51et6tgzEA3or90jWbsZqKVZRQFIGlNTeghHFI8EY2ltCxX2raXLjg15bkP8qq/NqPtvHin+ycAXeeS2yAMRVFjzKeig+x/J8mglWiQ+ou6gKhraGcRJYb6vp9BbZA8gyCEHrGf7z033PhbQDbzQtFH3i91Xc9N08xt285d18VxHK9plOMIdE2MqdioikFzQWbE+9tpOp0+riFVcQhVGqEoywqZzlDBerazUtOt3O3uRapYbJxakPmGWAmfLPPDMsWUzTB4DOaVMcARhdim4pkagASZMbdIoAKwRunj4s7nTy7cwNdhuymoisr77KiTvV2i0hBNhXcUUfBR9+Ol2+7smsIaili4m/SR7lOS4Ccg915wT3RfQTCp7VVVf+bmsyDJnK3mJajQe2Wh8fMoRiqQ5qCUKCu/0eZrcxOWW14a/VHu/HvMq3CHvj+6YXgRjwIXgQIi+VzNccsSZ1orFt664lnVpiiq2qKQnEZUL25jCbWdjdXvf39d3HB8dU/984YzZ8uZlUMuzpnTzi0Ab5Nx9lno+6iyccZnjb8pASXeF+dwUxbinEihFLxmNq2BimSWw/7hctg/knYdevXFttXcTzoXYwJaFHDV9AG6I1Ifk0yDmMYQFwNrWkXE2DTXJeiq9OduTdtx/ApA2LXsOAyDwPi1G+X/v9Z17DXDYJN2pR5yqFo1rcKAgWHI/8wurOnIaSh9Rs/4ynmcE+j1vO7rqgJ0XG262S55Av6LbkQTfTmJ7BJuhVAimBWByRhbIMatF417lLInyyKBAaZjuJn/dlcVpiU62mpQZwTDVqXWn6Od54zyL1wqwcwjf41HC3VtLx10AhCXTL6V54lCG0DyOneCvI8nieQtJR8GeIIcjmgadSttlRIBSFCD89Jb26KTwRUed/PBnIjptWVysot8L4/oWO/Me2IaMOx97nZU5yZql6d/x7qxA5+Ver6H9dROc4/cdHt+lqZE/Gaq/EhER/T+pe5cWU7LhCr2lGr4JBENP8tuAiV7XfRKTzzJ56F7F1FENftLnLFPVOCJTnXIPxe/f02LiRkqNGmUoydtya21WndFt2p+6La5YB3bhjxStooTRCNV470hkIuFjW7RnDuhMMEGzx0oFa12+T0V+BOArmvbchgEgRGTZs/+/9cmiuUyoOluTx/y0mMbBVFgZr7eGyIS7TuN43Xy624S0cXZr99+XXcXh5Zgrsf8bhTORvYqXifHS3N2Vhy9K7Dak4wsgjA9lE2ScuL36IMJDV4337xKkgzEWkOvB6SNpiZvBs/Vx9Fj6X227ae37HQbSzS55PtNKZ+TCLE7cHDwP05OLlvMtJSdZo973iJL2bb1aszoBahwRmxCCvhh1XwHF1oAREyd1Vhml8gOw8pkFGSWnA6rIoIfcHId90zQhUf0iJIBwQXxRimfzBR/sv5fivz5tLmy/8IGw+igzzajI1qSAh8QYVurA01CZx7d9yOIKybqzd/FgZob+icyt7EsQFneZZJYcBJ0lAX6Ox7lOTLJ60n3XB8ttS6gGdDbOrkHMqqHLegmwLZJWMJYK2Dkctf6kUtalzG0PN3k19rYUgPMRBGDNWb4jhht2NAfAmYXGfalbjqmUZh+us9Q0Zsz5Nie0X28BeDr2lYbhmGo7byUwbKHQt/aj9yXd91YS+JE05GObHewFUxSCq5DK9uyzgXIuPf0h5uqOUxASnbX6DYXFlwfsIWZ9Trr+zdt0JueBaLyUiFF+6LfAk0r91zTvvTH0P6KKczovWblBjHCgUI+X04FNU4XfcjMb+/p44pc7pU50oHoOMIZw121IdKEaKiNDiGL50iofcMJpNK9Ywu55+oze1jxjmesOQ/1fJZ+KGXc8zdH09m4Bu04R4XlJoM16rC58cGdeVvkquzbgv1K6SXqifOPliNPNWhpbc8W2mlmDxX9thPtWJ2+tM9PXTEp5zQR/519YjW3sxgrwENA3WlfSDF+v3RaT7fbtyv5yBAgZeE2tzzRQztpLPfKSGFQTNIbVkKIQk6PgZo8NcJMgFUCnORAJSee1MF2yas0K1VqZKiC/Aft5rbdeVIJ59c6L6fNxrXrLq86t8I+F1u1u+pMpJncUTQodHZd+d0DXxfDVUQfMKHJYppnxlWD5xqiESs39Ru8quSysK3WCcoqdNIaHRXU1NXoqXZfjKOO4Ru4zZBxB92BH5/qgj8CEHa1OwjCMHA3Bu//uBoYs1/cisH4gxgTIoKua++u1/ZDrOXNs6beGapkO8LhoduXNVBAFiqWTY52YpcTd3kWsv2fB9IIG3J+MDjT2+iouJMItEtV0qJGRgBeNsBwlUucK9NB7nIJj7aPHKmWtjfNIupSvlxC4o9ZERNB0CcQkygnlImI0zKqusrKjpqkskh+4KXegkRBQpY1SFwzvPQezl6mh50PDcg1IZVhV5I/0lAJCkyWaOzQ57X59cJOiyWHBgusbI28qtFppfBEr/0xngjK6y50QfJFn11tlYu8Mqh5kF4jYKc0GY24Q2YjnHkZX0j4QlrOtAxZdzAc3AVT9h/MxKOJxtWWunFDIf13YwFSrhyTXy3I31rB6Qv/ks1AtSdvBdQkUHadpqqNvDHMofsPp9Ffdn3Yjn9oBuAAHGK9aS0P7VZ7SU7nr65pUbr7iIYW1dI/3vRHALqubMdhGAQaSKv9/2/dXls5LsPh4Gjbl75UDko93Azb/5MOpUPOyOVZo/4LUuHQHvZwCK6a604dRNUazNMmtmeKY3fXmhTJVZSWv26+uUUAdmz+QOY6YzOAAX/246e39/MyyQUq48xwrVHq6Rm/iWlnKdtX4Z/kRez6zsxCg1J4IRiotE1F22fiiD1eS6ue1lYK4f/SqzLqGQFIvTwmC2jAuBeXVko8uEXCjNtKYpSlr3JBpwLZzQ+zsIf7rBQYaOJcirJVtbZtNs2ca+jf6v8J4CjxFW/HFaCsdfBJt8WFOjmYfQLsDvRUoNtMGh7MyLRkz/1MMZfbLf319F70GbsTsIxCW33kOqgo8aM0NmmxwlU/XPbCOjQZhZIElLJRzuWlkJpXoOtvHgr0l96Bp8qhoPwDiIdvU9X4dnTbcT6MaAINGWmlB1x9KIeXzaE3uut5N/3+tdFVYhtTRdusoPSt4QEsOfajn2fR8fkIQNcVbTcMglBFuof+/59u2ZY2ygABsad7aJ56Ek28gHi54Lvqw/1MnUFeUKIRDg3oahIu8Gh51312DccRpUMEgGrLaSPFkTpQBgvK306Z7ZlmGNJ6fzYUAQMNNfGmCThZDL+PZ/m6PoyrPMFevIiEkldZAzXZjqpeHWBZ764fwva1DPLXfmFLaJ92b2yL2RVMAuCQDBAkuauUTwDjbZOG0LYiep3zGGMd3aX7r64hviXZqRsUElZgxoPmZku9OW6MsxJeaimxlOQtoy0R0S5f9R9/Kr4hxLjDCBqNuFbctdCdUAIQSjP6XzE8Dq5NjQZWFtxbOyUPrFwFuf+gKVmlmceV9JROYDqGxE9/ZRDGHDYDhLHGXJoqwF/bbiSTGpoBeUmK+dXGJGBmI/Zza/dTKs040j17xz7qg3/XkP7oDnTGjHpyOS+novrkcpwmwpGiKCPFLN/8oIONwMHP+2TsHCo2WdvJhkSJbDe8dyloSZVrMfk/Afi6ut6GYRBoY7K12v//oZMmbc2HXR8GTKqsb5H6QprA4ctx8D+6zLP/DVruhpVKC6Zq9n43PQi0DOXRz+iYSuPaevsOYo6wPbK6fHWcNtqcOAaaD1QvOBqsa64fyxfdbzdhZKVtZ5bvr38/PNAIf3wKwy150sQtJrub8VcZipEfipJnvVLVg3vLvskDbMEKes6gp7M00zzmXCizhKRXFEtFI6NgnGCPvAiZ5EUn6c5yaufOwROcJUHnixRHNZUt9yPFlK3KfjIBgeoIZ9/+s7XETiQZG01nhdxbxd2M1ecKtNU1AgvXZh1FmVySLHEk25JSHCEpKOEuk9zdY5MWPBR3bZOpBF2/xtPM/it0aRfGjbGQW8HMfmRi96HLcWNLuO9XH+8R3yAmZ7KPnepH/X4wf67Md0P03m73JK+Qk2+77kjfkeQkDPuxgUnr5W1Vtl3RXBBdkj2L8UTBiOovptmA6JCnA8l74kPJWtvFdo+nAHRd2W7DMAzz0W5FgQLD/v87tzaHPVKyZLvJHvLYBE1EWpQl+nKWrv8Hdt6AN8VKQD2w1JII1iuC7BfpMJb+tXlLFz0e2cXlcKKdtM7wjfC3UqArG/jo/v2QqjP1FavVbIS4QqfXXdP20IKhHchq2dLQC9223aoNHGSpfHPVEm8eSaEpK7LvwdZsMmMOdF049QNn13D5jeUv7h0XjFTeQ4rPLwpKO7SxTEWiOqT3yQM+eFFPwa7YtI4sJRWWbBiQfHSp6kRrMw19tju6xgyWeYQ0DbbM22u171ufQSQqcU3e7lmLpE5+/m4GvZ5i72FPjTyD2mR3/Zt6/0GI03TbaBBpBKUmn1EIXP5jJYlvk1X0oebgE2fHXvWeieRpFZ8sn0/N+mMzaU1KzLFlnLj27QV9fltwPUGEXNGBEwH5ugPowDZAvhHgBPuKbHhleo8PCaCXl+ryoGAXbR5/xEqKQAdxsEOV7egg2gVA5zYeUvdb/fz4OuivPwEIu7YdhEEYSmHR//81X/wOo1k2txV7hS5ifCDxSZHtQHt6epj+mIhEoDOrd6jFAuz0t3Y64gn0LIVlQg4XWuzSLG31bvXoD+RPUwpPSdl3abGbZxT/MT3RtR67rWu6XJf0XpyFhZ6Pg1kxu7Ck0QCq+G2ChqRhPOex2t7KgJgkly3GlkZr5dTy9C5/jGxyK7PIxQ3xZRgnPmB1WlR+O7FSMYfooUZ236OCIOBIgXZUDzs7re3eM676sb09+C+UAFj3JQePcrJ7Oeg61rMdI9QePTwfs7ibeiWDn8ntdm8vvYp0ehWi+DiFvz3X9ty6r2fuc2qagRHIT5V0szSvsrFm2/S0lyML063lWQzXS4/4Bgie7XnYOQdhbr9O8u/vTD1nt3WiqPRFAFx50FotDF4kYKLIyXcC876hgP14V1HACcBl0Pwj0K0HvTAhp77wmW2m5DTfaBNBJuModEf6PAzMPgIwdkW7CcMwME7C9sJ+ctqX7CO3V/5gE4KHhtLO59ix6WDaAwhVqKpSXxLf2Zf6YBX/c2UXpZjoKoJ+ygz40kiM5mvrhvNL0bOezWweEMT8q44RYOwhF8DUjq6n40UIOQBdKsb4byhz3L98p6+peP5rWmoXpzxYA+BHLruGwFAw9pkfgasTSnIj/nvBYFVQedM+aafBegNKClttpx+NELQgl80o+XNvpbwU+uqNHPQ8fYkaoN43q01bHr3atNlXdi90GyMattX27at4Glc/Pw7p7fWd38FZpEHIeZCuzMp5EIHKTrvsualsI2/+WCl5QVKYSM1fYKQpD6yzjEV3QjANrR2yVtGKxjUC/JcvPwVVJQfSkG7SklDUdZOT/8eJyZ8Zqtl8LPm5lcqrOj31/pC8mxaAPM8NAMdvjr+Lgh0S3CRg7+rWxDdraggJkDOwAXYcj1yROoOIm3ncZ/F64M+u7u8azf8IwNi1rSAMw9CmKxOF/f9fqnvSVra6niZZuosoyBBhCOPEJjmXcDKE+/WGRr04zldqH7N3CEEOyw9EskSl7AHwaF7Nnh5gT5iHl726o+n5iHMIvUfmOTOrSpb3MNzceBfk+gY80p+LG8wK+FXwog0DjHyMWYWHEmBT+akxNFzFDObhW5GDSXTZVnxdiel3WcMdiMv+zsAgG+GEEkWsBxs1xgs1gJCLG9XC58hMmLNqjtfPJNTH9shusz2yDR2UliV3OlglVgkKyNXYQfp1UCbMaYeLiBeGUZb7O+POaifse5tqyzVsiriwBjzr4Rr76nyoxtuKU46uR8/0/1e9T0zji3w5ti89uu9LbnlifBSPtwXM0xvg7uaIARz+yScAW0GuVxfreo6SMZH81HTWS1mpAY8hXE+nqV8BOLuaHoRhEDq2+nHw///LHTRRw4xioaVA3TRxlx2WdEvWB+178Jq2ZLUtkBvYhX3IWZ3dLURfF+2vgn6hAm4cCugXKcDh4pkiz6kRPYv/T+6nmefryOYP2mhxON7FJDKlc14CnWyyw2Btjg7g4CdvD3iXCaWaTg0ERKaZ+kVy62ZS4u8zukP7FstC695sRFGD1hkOa7S2e26ZnDoQ2ri6TGzSoO9680EQnJlHKNOlthIiX7ZbOQ6obPkoNuNG4pkevm/S46S2yOMuHkgIFE87AXAqAoS62+h8u3IIRZc5S3Ake0f9t95JuYe6N6MMY/2Rwb9diJdbyntn3j9nkIunW2HUCQcB+gvzhkOyd06IKOAmQioE3FKIOHjovQK9WjszbqRtXEiJHEx+Vge9BSDt2nUQhmGgXVIhhMT/fyFiq0Bi6QODH20cp0FIdOjQTI1yie27nNMP4P4Keg69Ta/KYF8Y9ByzoPaK+oBZaIKkOl0wwJMqe1Txw+PL7Tr0bKLPE6+XU7il8RmOpwHmBzlKaD2tHTdKtNkO7QLevQm3UqnlYc5UACHw11i7brmF4MPddjjnC0rBOaclVaoWdxSxZBkwrDRZQTtjkR5sF1sLmyoo/CExRC/dWpHm6rr0Uct1j0yrJen2mhtt9NlAwvLuwvgGo+K2DXJqbphF3FT3ZgsTiiF038ut98f+e8bpee/TZdKq+GEW+ye9kMKYMA07yAlvB6KAHeUbjEKvsXe7CGbY171TEQ2BmMAY/l7NHw/OGW8BiLuaHgZhEApqj8v+///bjrssHpaIZRa6llbWwy4zMWnEgyY8Xj8esAxcrQd17MbOM5XrZfDv8AF7+lBl8pDlelRt+t799mDJiwHtRZ703ylN9XJdYH2Cux5vAG8bBvZTejsttx1yENodXZdlp9YNHPb2T52/W2FcG8YBNpzZyRsynsMPO2Wl2PJ5sxAuG2YF5HPIJipHeSrGMWo+rJqCmhg0NUEYzX/9DnIeFNjBLrD+7yJ6EUdepcorhlSKeZOa7hUXBzMLLg5SnDMhFqxsihW5Re1mcBJzGyYeidw8x3sLwNzVtQAIwsAso5f+/+/0QeiDbDXTZc5RQQ8JEoIvgbebujvfMvoqBIC0O/6lHxS7tYMzxmqUrXqVmG69QKXf0/dGD5VbugS8p9hDYnha97GYlIrlklt3yGK+ylI84GnjFcdKgPhdIHgmC5WAzRJSAJ7kQmF27iJD49Q1JVyP7eSBaqyoj/U7MHonPgJdhzLRuvC8sOKg/RTkUP21jZNB22a0cp7Rlamw/okYj23vBSslIr07LJc5I7RNAPKuXQVAGAZGq6D//3/i5qqbgxjpg+ZVSnYtBx1KwcIR2iR3YyetBh2yv36Sm7mK9oR9O6hWO4TcW75Gz/JbSiAJxVLSkwMEqdWJICq/eHEIIBkWIjkjCpNEPexzJRpgA9CEvS+LIdxeUK1o/Yc8B76nPgcd6akTrxA2dpmxmvSp5MqzN/xSUmlzjehDFcfkDrj/JHkm+nXGaB6S7Nr4KE54gQ6yg4P06fsEEAuRmZuUzP4Pi8ewZXKMWv3hg5cMBkaqkMMdQM130P5ydk4GPgFWhm9fYTUwUn8cpR+KvYZHbtYj1/LITXvU5j1SL/o/ej39n/rduf94G/Bowv8JNvMxWwHYa3+Umv8/wv/g/vV/yLEGTPDNQpCTc+Dbg6FLiuHLaxmQp9OQDu4cgZn8799ff/7+/f2RnVUAdIvKb9CgGZ7KDib2H0cmx9WSJpTpMRIVQADuziQHQBCGooDEld7/krp0WBArFtQKBRuXknAC8uj/HcAKIzhU5AQHuHQ/IrqX7u6W7wZnqhH0vlODnb33aSPgcuAD3KSOSuU4hT4DRqfGnLkAvlIvkPbVXAAwHh2yZN4r4OQQg6MxV7ceAny+QoMttFvM9NNZgCYZ+FDkP/MCsD+G/FjLOk5e+WA5DaW71o6X7WxQlIBdq5IV1y6AmIicPyelb04o0//BQsPxvbvPUJrv7GyckBtUOX6hbKX8j6VpjtwsRmmW//+PphdVP/LqOJTrirE2zdEDhxyI3irHYhfqFQ5oXQAGLN0O5LDA4j+MLg4D6mpAaK0OXwYKXq7KCu6LMzMjX4QAbdIzsiJtTWWCtppQ557Rj4/+T2YmZxgimRzcbP/x6QOwa/ODGZzJmf7gqeRIac4TyvQMBNgMAAHERGS7n1CTHVffHF8mx4rv3nn2/x90zTas+Q7qpwsKs0LGKTAyLba+OHKGwdJ/xcgUqH161Iz/Hy2AcPW5ycToGR+lj469z43bL0g5DGt4oGZwhF5YJoe2eOBbUCG1Nny3GfwsNVb4nfKwa6kQC4n+Iw2hoC9+IS+T/x8imfz3n++glW4f4ANxDMy/8dTmf8nI2P/xzJAxYKnd4eIAAUTU7jUSanViMjveWv3b1x+/nz55zSYrJwZtvrMycLBzMfDw8DGwsr1n+PWTkwFjfTt6s5wRMb2E0g9HW5SOvXnPgNbMx9I3ZsQ3nUZip/w/PlW41GJJ+v/x998xm/eoZjDCL3Zggq/eQ8zX/4P0y1F2/cDWLCBncgbUq49RMjkD6ZmcYehkchD49u3VJ9BONWYm9h84mu2EmvDkZPr/xMzjAgQQEwPxq+KIGYTD5hFsNTiuWh1UAv65deMxvPkOnmZj52Dg5uJl4OXDU0uj1HbYajW0JjIDtuY97hofs0mMf/SdgdBoO3Klis0W9FH3/1jG//GOvKPPQvwnUPszIq0EhCQN2Ag8pCnPgtRUh42yMyNt4YSsy8cYdEPL5P9JyeT/h04mBx0i8fPnpzfMwP45WrP9D4FK7x+Bgbj/RI68483sAAFESo1OaIDuL5EDclgzNxL959mzN6CanYWLmwNcq4MOEQQ134WEeRjev/vJ8O8PC+7BN0bkWgC9lsc+4o68Lh6zxsdcAPOfDqPuxAzQ/ccxJ/8fRx8X9+Accu0P28wD3V/9D6oTeSkryko3xAUT+Jvc/9EWuQyP5jpiEO7DNyYm9m8szBzQ2pzpF5aWK7FN+P9kzKXjDTCAAGIi0gBCDiF2xJ1gHx2U4UFHb1y79hClVgc130EXEXDx/MCsoTEGrRgwB9+wzkljqwXRzWTAUdvirqXxY7TBPRwDdeg1NnrrBH3u/z/W2psBZZARtQZHH3NANxfLOXUMiN11jEgbjP5jGSEfSZkcBL5+e/UW2GwHZnI28B5xYhaJEdGEJ6ZWx7nsFTlwAQKICUe9QU7fHFem/0NEJkeu1cEY2Hz/+/v3H/jxxmxsHOA96yIi3AxM4K7Pf6wZngHraDueTI814zPgbXpjhjSZI+4M+Jv+6HYwoDfL0TM3A2a3g4HUDI6U2VBreywLYLDNj2MbdCMyk/8fopkc2GT/DnT2B+gBEz8hS14xuqqkjLaT2icnNALPABBATHiaAKT01XGtgPtDSk2OnOGBmRyprw6ZU+cAb13lZ2Dn/oFWOyPdAY6zlsdR0zNgqW3xZMz/VB51x2UHtoyNe1qNAWOKECVzk5LB/2MWEKgZGn0BzH/cNTHG8VTII/JDc54cG/jy7eV7Fhau7yzMoEE40AWkjL9xZPK/BBbP4GtBUzQYBxBATAzEr4ijtOmOLbP/RsMoYsDmO/jOCnCtDppTBw3KcfMxiIpyQE7KZUBtjuOv5RmwD3Rhq3VxNbWxN+TJwFh0Y+kKINfYODM3Zt2NvfYmK4MTUYszYNHLgEUvrgJiiGfy33++/f7759dbFmZwsx10CswvHGNSlDTbCWVqgoEHEEBMeDQSar7/J3GhDDE1O0rGB0213boJqdXBO9pY2cGXD/LzCTBwcH4n0AfHXssz4JyvZsDezEez4z9FI+6Yffr/ODI0ZnOcAev8PgOxtTeOZj5RGRxfLY5t6gxHU/0/1pH1oZvJQeDz52dvQBcbQpvt6LX5Hwbcy75JWedO7BJYnINyAAGEb2UcMYNy+KbW8G5gwVaDo2FQyfj78qV7SLU6C3ilHA+PAIOYBDvaslUsK8IY8GR6ghn/P5agJH8tHOEeO/YChFDGxpq5CdTeJGfw/0S0ADBqcWKmz4Z2Jv/9+9uvP39+vgU125mZ2b9DRtoZsU0jkzMgh28QjoHIDA4XAwggZkkxS2zHXDLiwExIGFmMEU2cCQ0zY2Fjo9Ex+PpmNlYWFjFxQejoL+R6ItDVSp8+v2P4/YsVcbAEtpNYMWbIGHEvdSHitjpGshbJ4J9bIyqp//+Pp51GYHoN1xQbrn406lobwqPi1DBjCIKPnx6+YmbmfMvKyvuZlYXzG7DVCTqWGXpCDBz/RqKRu6iEBusIFQAkzacDBBC2wTh8c+qEptnwbUklZh4dK7565T5iBB5Yq3Owc4LvEheX4AY26f/hmFojPNKOsfz0P/ZpNux9GurV51gzNY4aG7PWJjQCj2WKjagaHHsznZRaHFd/fDhk8l+/vvz8+/f3GxZgBgetbYee0IqrS0qt2pyB2HlzdAAQQOg1Or7aHL0GR6/NGfHU6Ew4anlmLLU9hvifP39BNTurjKwoyuH+oKOIv317x/DzBwsD9kMgGHFUvox4KnlGAjU5rqqekaRamai1MzhqQ1zLZlDlcRT0/xmoU/uSWosPg6Y6sk/ef7j3FNg3f88GrM1ZmDlAtfkP6D1pv7DU6L9x1Oh/CTTv8a2aYyAl8wMEECijY8vgDFgyNbYmPCOOZjs2MWYSMj9Gxn/37hOzjIwYE2i1HCwTQ67p/cXw8f0Phn9/mfBmONyZHkvGx1M40DgBEcrfDDjOmMKTuRmwrIKjpHn9H0t5hb8vDhuZHy7gy9cXn//8+f2CjY3/EysL1xcmJtZvkMMbGWDN9p84mu3E1vjEjsTjKzlRxAECCLlGZyBQo+PL/EwE+uj4MjYTjv47ihzouPf37z+zqqrJQNdgQ/rkoFr9998PDF8+MWNmSUKZHm/+ZSRGmqr5mqhMjZEfScncxGZwHBMxpLYGhlUtDgF///76++nT0ydsbHwf2Fh5vjCDa3Om71hqc1L75n8ZcO8GpXi9O0AAkToYx4gjszPhyfjIBQAzkQN1WPnfvv5g4uJiZxYR4YefcAZJ6H8YPn/6wPDnNwvuwTY8TWviMj5hBYxkNcuJyAjEZGxKMjfeDI6nmU6wFh9emRwyAPfgDbAGf8POxg9ssnN9BbK/AysecmpzUkbicfXXGYjtrwMEECyjo9fmDERkflJG3gnV8sx4mvcoYq9ffWBWVZdlYmFhhl77Azun/TvDxw9/UW4gxZ3pCedojPqc7i13Yoas/uM5YxJbLY0rg+NuFZBTaAzHDA4CP39++vH9x4en7GwCH1lZuT8zMbOCr0diQFydhK9vTspAHTF9c1x707ECgACC9dEZsTTfGfA04ZnwZHZGIjM7IwlNeriev3//Mf369YcVsl+dEekIo38M37+/Y/j+jQVHXmbEXQOTcUQwI8W5n5yx5/8EDo8lMnPTKIMP50wOHoD7eP8ZKysPaAAOdKca+EZT6HTaTwKDcPgyNzELaYhpsjPg67cDBBB6RkevwUmp2cnJ/GTht28/MUlLizBz83BCW+WQlbxMTL+BtfpXYD+KiTqj64yMA5muqDsaT6h5jrUPPrKb6cjg85fnn/79+/cC3GRHDMD9QGuukzIAh6uP/peB8Ko4okbakQFAACGPujMQWaMT229nJGIknpGIWhxbX5/p5Yt3zCqq0kygNfCwmh2U2P4xfGb4/PE/WhMeNQszkjGqjnuwnszDIf+T3FPH068mPHj3H18lQHQGJ7HpP0wAaAXcly8vHoNG2dmATXZmJnbQANwPLItjfmHJ5Lim1NBrc3x70yle6w4QQPim14gZgUfO0Aw4MjShDE7MyjoMNT9//mb69Okrq6KSJPwqIQj+D+xLAZvwX1kI5VAcTXhaDK9TYTiemL44hlr8A3eEmv94M/gIqMVB4N+/P//Ac+ZsvO/Z2Hg/M7NwfmViZEEfgMNWm/9By+C/qVCbMzAQOZ2GDgACCJTRScnQxNT0xNTsxDTnGQlldmAznZGLi51FRFQA6dgj0Oo5YL3++QOwJGZBHVdnJL7OZiQ5rzOSl4EJt8aJ0/+fmAW1uGrv0QyOC3z4eP81IyPzazZWcJP9KzN4lJ3pB4FMTswAHKHanJjNLMSe684AEEDIfXQGEpvwDGRmdmKm4xgJZHa4vufP3jHLyokxcXJxQO8xh6yHZ2b5xfDp40/EQhoUTzESmTcZKcrWlGV74qbcCDebicvcxHQDRlIGB4Gv3159+fnr2zNQv5wVPGfO9o2Jkaj17H+wZHhCA3CU1OYEAUAAoWd0SgblSJlrx9dnZ8TR7Mda6/8HdsafP3vLoqImwwi7X52JiQl6TfAXhs+fsPXXcWZ9MnMwI9WyN/5MTax+fJkbX+09msER/fKvvz99fvYEmMk/srGAl7l+RRplJ2apK6mDcPhqcwYGCqbWQAAggLD10XGlYEK1OrG1OLFi+Jr8KBjYX2f88uU7q4KiBFJGB13vC2xf/XrH8O0LM5lTaAM3j076ABfxmZvYQbyRmMEh/v77/937e0/YWHnes7PyAZvsnF+QFsbgWgFHaF07sfPmpJ4PR1QtAhBA6Bkd36AcKbU6AxEZn5hmPL719Sj4w/sv4P66MGjVHLi/zgw9WPI/w+cvHxl+/WTBMVhOaQ4mfkb9P/EFMNFVPCnNf2Jq75GcwRH98gdvGBlZ3rCBptJYuT5D++WwwTd8i2OImT//Q8Qo+z9qNdlhACCA0KfXSK3VKW3CE8MnpnYHu+PZ0zdMwqL8zPz8PNA7vkGYkYGN/S/Dp09fGP78YcafXamW+WlQzf8nY/qNhMw9msEh4NPnJx///v31nJ1N4BMrKzesX45vKo2YBTKUNtmJOVYKb8QBBBDyqDs5tTopGZ7UWpyJxMwOOqqd8dGDV0xSUsLMPDxcwKY75P428Cmy7L+A/XXQPetMJGVmQgdXUDszk5bV8C2KGc3cpIIvX198+fHzM2jw7RNo8A3SL2dGXv2Ga007tnMPYTT6EWr/yGiyUwwAAohQRielVmcgsf9O6SIcbPaA1r0zPnr4kgk8Es/JAT5rDnyHGPjMuR8Mnz7+Yvj3j4km4+jkb2qhdsYmYON/ks62GRHg2/e33799e/sEVJOzsYGXuH4FNt9/IM2XE5o3xzV/jm+ZK/qVyaRe1EB0BAIEEHpGx5WpCdXqpNToDCRmfiYixeHu+/v3H+PjR6+YlZQkmdjY2cAZHbSCjpkZmOFZvgEz+x9gZmfE0mSnxqg6DTIzpRl7tPbGC378/Pjzy+fnT9jYgZkcdJAEeFEMePDtB45M/hPHIBwxC2OIXc/OwED8VlSCkQoQQLCMTmmtTs1mPbl6UNwPOnoK2GdnUVKWYmRlZYHU7MDMzsLCxMDI/BXYjP8DTPhMRPbZB6ZrTtE8+2jNTRT49fvr74+fHkOm0dj4voDXsYNXvqEsikGnSVkgQ04mJ+UmVaIAQABhy+gMuJrFOAoEYkbmGYjMpExkFgBY3fnjxy+Gly/fMyurSDOCanTkzP6f4TPDl8/YTkshPneTvHruP7lNeRJ67f+p21kYzuDPn+9/Pnx8+IyNle8jdBoNur+c6QeO/jixR0QRu/qNUHOdmMRAVEQDBBByRienVmdgIG9xDbk1NiEzMdz57esPhjdvPrEoKEpAMzukGc/Kygxsvn8EZnZSq24aDsaRo3M0Y5OXyf/+/Pvh44PnkG2nfLDlrd8YEfvLfzHgPkwCV03+m4H0M+BoXpuDAEAA4crohGp1cmpwUsSYiNSDr4aHg8+fvzG8eP6OWV5BgpGNjRU8Cs8EHolnBmaUT2Rk9gFqzf+n/vDeSG2uf/jw4Cl0bzk0k7PhyuSk1uSkZnJ8fXSq1QgAAYSe0Ymp1Qn11xmILABIqemJNQ/3qCqwZn/88CU4s7NzsAOb8CzADM8CzOwsQN3QZvw/TO/Rva9O7NbTUUAW+Pnz0y9gnxzcXIfW5F8gmRxl2ym+FXC/8Qy+EbOO/R+ODI7rBBmqZHyAAMKX0RkIZFwGPM17Ump7BjIyNSMJhRI8UH7+/M3w4MFLZilpESZubk7wGfEs4NtfgJme+Ruw5v8LzOzE5GqaXpA+CmgEvn1/++PL5+fP2Nn5P7HDm+vgTI4+V06PTE5olB1XX5ysBAMQQNgyOgOejESKOlIyJyWZnYFAiwMlcH7//vP/4f0XTBISQky8vNzg/jro/nVWNhD+zvD1y2+kE2pGwXABX76+/Pbt21tgJodPoX0D9sm/MiJWveFrqlMrk5N6nxq+vjlJGR4ggAhldAYi+8KkHF7BQOYgHgMJXQlchRM4cP7+/ff//r0XTCKi/MwCArzgZjwLMysDqP/OwfGb4cuX7wx//oxm9uECPn95+hnYZH/Bzi74mQ284g00uo7SJ8e1KIbcTE5oiSs5lydSBAACCFdGJ6VWx6eG2Kk4BhIH6/B1JYhqK/8HAmDNDhqJZ5aQFAbX6qA72FlYWRm4ef4zfP/xBdifYx7NJUMYgHahffj48P2fP79esbMJfAYd6sjMAjqHHX7eG76a/BcFmfwfA2nTacQsjKEo4wMEEDEZndSBOQYianximvbEFBTkdoZhV6j/f/78HcObNx+ZpWXEGDk42MEZnZUFlNlBW1u/MHz7ykDEfvZRMNgAaGT9/Yd7r5gYWd+xsfF/YWPlhqxdR10Mg682J3afOa4jofANwJFycgxVBnEAAghfRielP02omc9AZP+akcKCBj1gsMlhjGx+/vwd2JR/ziQO7Lfz8fEwsLKyATM76C52NgY29h/AzP4LaTPMKBj8/fEX3758efmKlZX3EzsbaNCN+yvoRhVGzEz+i4gM/osB/5ZTXDeikrICjoEB/35zipvxAAFEbEYnlNmI6R8zEFE4MJDZNCen+Y6C//z5+//e3efApjwLs6SUCGSAjpWdAbRWnpvnH8OP78Cm/K/Rpvzgb6o/+Pj794/X7Oz84KY6aGSdBbTVlAnlQEdsq97IXf1GzAAcqf1xqk/FAAQQoYxOqJYlNPJNas1OTOZmJCEzE53RGaC3Ar94/u7/2zefgE15cWBTngNSuwMzPDcPCwMjE7Ap/+0/kVNwo4DOTfU/wKb6a0ZG1vfswKY6eJspeGSdBdf0GbEZnJQjoSjN7P9pUZuDAEAAkZvRCY2CEzN4x0iCWkpqcEKlJUZgg5ryD+49Z+Tn52USFuYHD9KBMjsnJzsDB+cvYGb/wfDn92jtPjhq8X//v3x9/u3r1zev2SBN9S+sLKADI9i/QXagMaFPnxGz8o3U644JZW58d57jq9GpNvIOEEDEZHRymvDEDMwR2+dmJNCywBcQ//HQ2DA8ckBN+YcPXjK8efOZRVxCmIGbmwtcu3NwcDLw8jEDa/evDD+//4dvdx0F9Ac/f378BRpVBzbF3kJOauUFZnJOyKkwTOC95MRsTiEmk5NzywoxGZyB1k12GAAIIGIzOjF9aWIG8ogZPSeknhEpQBhJaKaTmvHBEfPl8/d/d28/B6YZJiZJSREGNjZgv52Ng4GbC4h5/wL77d8Yfv1iAqoczfD0An///vr38dOjzz9+fnwDzNyfIU11UF8cvPvsB5b5cUKZnJhanNAtqP/IGISjeZMdBgACiJyMTqgJz0hBYUDOwBq6nv9EZnhcmRxjwwGwxvj36uUHYA3/iklQmJ9RSEgAnNnZ2YG1Oy8rAxvHT4afP34Bm/OjI/M0baYD4devL398/vzsDRMT20dgBv/KxsL7FXxKKzPbd8iJMKD+ONHTZvgG3XANvP3Bkbn/4snY5KyCoyoACCBSMjoxmZ3azXhSB+TwrRMm9sA9nBHz69effw/uv2T4+PEbs7iEKAPoXDo2dg4GTlBznhe0x/0bMMOPNudp00z/9OfDp4cf/v37C54XZ2fl/coKWqsO6osDa3HQxQp4ToQhVIOjHwNF6TXHhE6OIdTtpGptDgIAAURJRienv05K35yUGv4/mZmeUGbHOrjy6dO3f3duP2H8/fs/k5ioMAMXDze4dufh5mDg5f/H8OcvqDnPMDo6TwXw6/fXvx8/P/788+eXd6A7ydlY+YC1OGRenBkxbYZvAQwxy1rxHQVFTJOd0r3mNGuywwBAAJGa0QnV6pTMsZPbbP9PhBwxzXSSMv3//wx/3779/P/2reeMf37/ZQLV8NxckAzPxwfM9MD++9+/3xl+/2IcXVlHBvj9+9vfT58ff/3x4+M7ZmbOz2xswAwOmTIDZnK274gRdax9cVJ2oWE7uRXbEldSF8WQchnDf2pnbHQAEEDkZHRS+uuE9FCjBic0IEdsk/0fngyOq4YH99/fvf3y7/ZNSA0vJCwIzOh8DBwcXOAMD6rh//4HbZL5j/UeuFGA2UT/9PnJF2AG/wBsln8C1uDfgBn8Kwszzmb6LwbcK92IORkGX03+l4QRdkIHSZC6vJWqmR4ggKiR0YkZkSdWPbm1Or7+DTEZnVBJ/A8LjRbZjP/ev/sCbNI/Y/j44TszHx8vg7CIELD/zsXAzwfM9AJMDMwsoPn3v8Cm/WiGR4mw/8Ci8Pvb358+P/0MbKp/BDbLv8AzOCsXsInODj7LDcvqtl9E0L+IqMX/UCGTY8vg/0ioxf/TKpODAEAAsVCQmRgJiONzLCgAmNBocjIzqYNquJpb6JsR0JtsbFCaFYmG4d/IfGBzkvXli48sL56/Z+XgYGGRUxBlkpIWYJCQEGDg5//K8E3yM8OnT58Y3rz+yvD1CxOwaT9yF978+Pnx748f73/++fMTmInZfrKy8P4CZuqfzEzsP5iYWX8Bm+c/QVchATGuM9TxXYeEq/Ympi9O6qo3Ui5h+E/vTA4CAAFEbo1ObH+d3NF4Bgb8i2KIWTDzH0/tjnexDAPu3Ub/iMDghACsef7+/fv/39s3n//dv/+K4fXLz0yszOwMwqIiwBqen0FAkBuImcEr7f7+g2yaGQl9+d9/vv/7+vXlr89fnn/9/fvHZ2AG/8LKyvsdWHt/Y2UB1t6gZauQJvp30C0pSDU4MYtffjIQN2WG68RWcgbdCF11jK91SdN+OTIACCBKMzo1MzslTXlKBuRIGXUnKpMj06AMD6yR/v788ffv61ef/t+785Lx25ffTOwc3AyC/ALAzA7CnAwCQowMzKyg+9z/gG+SGU6Z/s+fH/+/fX/z5/PX5z9+/Pj0mYGB+RsrMGODMjcbCyiDAzM3aJ84+J4zYB+ciRnbDSmE5sWJmSPHNdhG6JQYYqbQyFnHTtN+OTIACEDd2bQgDMNgOLXZLnPIDjvp/v9fs0e76ej30oEgpWoderAQ0hIo5PA2Dy00+IU9UlxnGf8qiRTft3Q2yom4tBrnTm9baI/Yjhl/N0J6RozOkRwKMeFZSB6C501TYd+3cOj2MAwdnI6akHaGcbyCvCiYb7B+gOHd/wjfOR2Ull7pyTqrNOVsqEKbireG13Wc67jeMVxjEc3JTEEVLo2ngn530bYV1T8V+c/fy5+NRQDm7qgFYRCIA/id3gqiFcXove//oaoPELRGDfTYdRc9idgqigTRJ99+yl/dpC+MmcMOSf+dzP7qefgwcgc9l8/pCfyYyegp8BS7VQvkit2RPf8IKL6/Ch32Jy+7ox+EfT2fumZTw2K5gvW2AkRW6Ar/fIG21UmgRwjhv+Ab7BA6xd0p7BAFkL2vWFdnpsmMnaM7dGsRyYAb7vjI3lzI0CXEpZ3zMV+dlW67lf4UIx8il18jt3ITgLezW2EYhKGwWayOuvd/vu0FBrtooVXjTryZULAdrPMmufIPP+IJGO2P4T4b9iPa5tvr+B7obRKuhbz1YwfuDegfn1gjPeln7vozXBl4noUf9xei/fNSJGv5eR6DpRCc8f5qwg2DDGS8YzNNKyJ+NMsqVeOnRCbqq7oTjk0pGf0v0NizwBYpWSAzJEtUcAUQY7JDcm6EtYDcJqpgM3yuFmvFPing1Iu4vcTZEbD3ikTkHS3eKwV1BuR/aW8BeDujHYRBGIpCyxz//6vqohstXjpNlEwkZvrQtCMZIUsOt11ICT9Q8pbC7wX7tzV3aEAvDejrP+5bkLdA542YX+0Zekc5Z3ak5qeT0Pl4QSwEwODVI/YxBs8QfcaXGuOAwiBZBkDs7YIK1Qy19WvPLLNyeIcBrFQ19Po8z1MWUczhbAlJrmq3UQPncl6AiBSKDGMpfgijHCzmsiOVMcBMD7AFEy1YidzT8hq05U2mlDog/vRuqwNMT5re0711L8j/Av1NAOLOboVhEIbCRrObvf+bdneVuHOM64VobdlggsTfUilfYhSaX2/dR/76N7DLwlJfAX52B24nGv3Rga4d9Dooawf9DPIJ6Efm2gk9ZIqADm3qcAdLMPURyNY6DKrkTOgtvjYGjbQaI55KoPBVQHYpvuxSI0M06eR/PgpmYHiQ2iHUMShLENP0ZN1ECXjLDi60QczeBsCxVeeBIyHHc5oc+sEzCPeTM5B8cezK/14BfscXv/v31r9CzvQWgLlzXQEYBKGwvv8rbzU9imxR7tZgQRzpp/DhpaQva/S3sPPFJt0T4Msuwo/S+RbY3tmSQN2L4BngAXmj2Domq3FavBBfRle05gE95mQdZlXWb2dMq4NOdLDDV35ocAvjsIvZjIdAuDkQJYDOGqlNDeosBc6gm7XXG/X3WbNtZqr+G8h1bQKIhUbmUiOzk1K7I4sxE9lPh7GZsdTwLDgSBr4Mja+Jjq82Z8KR0dHZjOhsYAYE0iCSCeMk3f//4V5mYkDK6kihjRl2jAyQDA4PG2DmZwRnaFzjGv/w1I5/8GR6fGxCGZnSzE3uiDo5J7fSfRoNFwAIIBYamk3NzE5M7f4fT2bHFZHoNTozWo2OnlBxZXRmImhmEmpzjBodKQyQaWQ2A3JmhxYCmIsRGCnu7uBcM0AEJlTDk8L+S2Im/0dkX5xQLY7vjjRiRtUH5A4ugABioaNdlGR2BrRandi+OwwzETkSz4xEo2d2ZrQM/4eEzM2CJ2PjbbLjqdEJXSuNr0Akt6tDzKzFPwKZHBebVJrYmpvYgbZ/RGZwXGls0GZyEAAIIBY6Zm5yMvt/tJoLPcP/RxLHV6szM5C24o0ZS6bHRiNneny1NwuWzE1sTY4rkzMxEL5OmlCz8T+FtToxNfs/PJnyDwVsamdwUg5yJLYvPigyOQgABCDODlIAAEEgiqJ1/xOntQ2xHCmqdbt4fNL6uOQRdqTo5Pzbu4N+VXXerNcsQjF4LfAyIc8M206QM1BzAt4kqromyi7JukuAtyXuKjBFl4vAEeRfB2/eGQKIXk13YjM7qZkeV4bHh3FleGYianhmLJkeGf8hIXMTyuDE9M/xZXJGIjM6ruXD+Jrw/3FkHny1+z8Sa2NSa21iRtEpzeDEHjQ6qDI5CAAEEL376AxEDNAxkhA4/3AkclIz/D8cI/CEMi0x8sT0xYntl5NSmzNSWKOTWqvjGo0npllPTCYmlLHJzeDk9sWJOSFmUGRyEAAIIJYBsBPbRhdGBtwbYvD123E15XFl+H9omes/Ev8/A/aVeeiZ/i8JtTW5GRxfTc7EgP/WWWKa7sRkcnIz+z8iRrkJZVxiMzUpA2z/8PiH2GY6KevVB00mBwGAAGIZIHvxrY0nRR++mh3baDsjllqdCSlTM6Ox/yFlemyZnYnITI0vczPjqcVxZW4mIjI5NWp0rMdfk9Bn/0dCJiU1Q+M7bhnfeQKkNNHJGXQbdJkcBAACiGUA7San346rMPiPpWZHz/SEptnQMz967c6ElKCYyMjU2GpvZiIzODmj7dTK6Phq9f9EZnZiMz8xmZrU2pvYJjopNfiQyuQgABBALANsP6WDdP/REvk/tEzwHyljYKvV/xFoOmPL6ExoNfxfImtqZiLsYiRjAI7UTI5rio3Q6DupGZ2UjE9MZv5LRsYmZ6DtP54BS3z98UGbyUEAIIBYBoEbsGV2BjIH59AzP6EanpJMz4TWhP9LoMamNIMzEcjg5NxRR2iw6R8VanZiMz6pNTahzE1sDT5sa3FkABBALIPEHdjOgsPVbCe2diemhmciIdMz4sikf4nMzORmcmJH2vGdxMtAILESOi2X0Im4/wlkQmrj/2QMsP0j0HJhGK6ZHAQAAohlkLmHWotr/uPJGOiZHZ3+h2UUHldGZyQjM1MrgxPTbCe1Rid1YI4ah2r+J0GOUAan9kAboZVtQyKTgwBAALEMQjcRasqT06z/jyezo9fujDim2pjwZHxiCgFGKjXVicnkpPbRic3s5DTl/5OQeYltjpPTPCc1cw/5WhwZAAQQyyB1F76mPKHaHZs6QlNyjGhq0Wv6f0RkUFLkCa1dp1Vtji/RknsJ5T8SaFIyMim1NjlLVsld2TbkMjkIAAQQyyB3Hzm1OzF9eEL4P57M/4+I5japNKG5cmL75cRee/WfwoxOjUxPCk2o303KABslm1CGZCYHAYAAYhkCbqSkdidUyxOb4dEzOPqBGPgyLrFihDI5AxVqc3pmdmILAWLZ5DTNiW2eD9sMDgMAAcQyhNxKSu1OboZnwJPpmQhkfFJqaGIzNzE1Ob775knN5AxEjkz/I6MfT04mJndgjdyMPSwzOQgABBDLEHMvrtqdmhn+PxG1OyOODP6PCpmZnMxOy4xOau2OL4NSmplHMziZACCAWIaou7Gtece3WYbUDP+fiEzGiKN2Z8SS6fG1Eoi1g1q1Obm1OgOFGZLSjM1AgxH0YZ/BYQAggFiGsNsJ1e7kZHh8mZ2BQKYlJmOTW3NTMgDHSELCJmaEmhaZn9RMTWnfe9Ac2kgvABBALMPAD9TM8PgyPgMZNS8jGWpIzeCk1uSk1uzUyPAMNMjY5GTqEZfBYQAggFiGkV8ozfD49sMzEsj4DCSOkpOasSnJ5OTU6KRkdgYyMy6xU2DUqLVHbAaHAYAAYhmGfiI3w5PavGcgIXOSk6EJZW5i1rYTW5OT0mcnNsMzUCFDE5OpyVnBNmIyOAwABBDLMPbbfwI1GikHXRCiGYjIpKRkaFJrcFIzOyl9dUozPqm1NDmZejSDEwAAAcQyAvz4H0fiJ7UfT0ymJ6U2JrXGJmWEndRRdwYSMxcptS+lzfDRzE0FABBgAKP8T1iXPWcnAAAAAElFTkSuQmCC' alt='Logo' style='width:100px;height:70px;' hspace='50'>\"\r\n\t +\" <img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOgAAABVCAYAAAE0+phFAAAgAElEQVR4nOydd3wU1df/37M9vRGSkAqht9CF0KUXBRREEUSaCjZEQJo0BUEQKYoFQQUFxYIIovTepLfQEpJQ0jZ9s31n5vfHsuumUPzK6/n6ex4+ec1rNlPu3DtnzrnnnnPuuYIsyzL/w1ABbNu2jYCAACpXrkxBQQF6vZ7c3FxkWUan09G3b1+OHDlCmzZtHshDFa4fERERAAQGBlKrVi1atWpFmzZtCAgIoPFvrXhr2lsAdPr6TffNR8+vKVfgSxsX3fOhgizL8oYNG4iKikKWZQRBYNqeiQRfC+PahVQSpjbmxUqjaNq0KQCtF3cjUqfmcF6Bu94tajzGo3U6UyLKjG7QFH/l3R+qAsjIyECtVuMi7+TmM3jDMAZLZxsvhIwkOzvbfUP/li8y9pHH+eHCfry1fpy6vIm3e08sVeiu1As8WrXe3Vs6adIk3nrrLaZMmcLcuXP5+eefCQ4ORqVSUVJSgtlsZvjw4fd8bfcLBcCFCxcAmDt3LrNmzSI5OZnNmzfTunVrMjIyyMnJuWshM3cs/1sPFWRZltu2bYvdbicwMJB169YBsHbtWurUqcPWrVvRaDRERkYycOBASry8SPygk7sAP7+aCNZ0Zg9YSai3H8+t6IMkqDj10lIafTIGbwFMMrSqP5QTSWtImbwfZFmWExIS5J07d8r5+fnysmXL5K5du8r5+flyVlaW/Prrr8uTJ0+WX3zxRdlqtcoNF3aX2y5qK8uyLO/MzJJlWZatoig7ZFlOy78p91g7W3776AE59t1E+Y2vn5FLHKKcZ7PLnhAkSZJ37drF2LFj8fb2xtfXFx8fH3x8fPD29sbHx4eLFy+yYsUK4uLi/tZrvOvrlSQJh8OBLMulNkmSUCgUaLValMp78MHffegDK+0+oQJYv349rVq1oqSkhLy8PLKzszGbzSiVSn799VcOxR0j/b3kB/vQFi1aIIoiWq2WyMhIoqKiEEURnU7HmtD1+BuDAFi1YwqXi0XmPzEfgF+up9M3JvZvP1SQZVk+duwYAJIkodPp+DVjA0PrDefnzJ/5/PyX/JT4HXXq1AGg1uJBhOlg6wvf4iWItFrWh3dadqJ6lQQmbVnMQX0+/iolxQ7R/ZAbUw+Wb2lWVhaCICDLMkqlksMf/0nS4+f4ffEONn2+GZPJBMDgNS9yeexaHvtyFF4KAVARGVKPYq96nC5w8FSrV+iUf4GQkHrodKHYHSYk0VZxS6dPn07btm1JSEjgp59+ws/Pj6SkJJo2bYrZbKZ27do0a9bsb7/GO0EBYDAYaNasGRcvXiQ/P59evXrRrFkz0tLS7ikC74RLOdfueE4FcOzYMQYMGICfnx/h4eGYzWYcDgcXLlwgLCyMr776CpvNxg9XP2ZX9g3OTNwHwLDvXufZ+BqM3P4d4xu35JUeCwGotaAz3Zu9xpLK1QB4evVw4hQWWrSZyxNxcSCKoty4cWM5Pz9fzs/Pl3v16uX+PXr0aHn8+PFybGysfOLECfnk5XWyTZLlmDmJ8rrd78iyLMtR7ybKMe8mylHvJsqNFnSU027sdIu7Fgs7ycM+7+e+zi0GCwsL5aeeegq9Xo+3tzd+fn5u8eft7Y3D4aBZs2aMGjXqgUklQZIkWRRFJElCkqRyolCtVqPRaBAE4YE8EMqIQVmWmTBhAtevXycwMJDg4GAiIiKIiIigSpUqBAcH4+fn594EQUChUNyt/H8N3A19/fXXmTx5srvinm/Y9T84hZYgCAiCgFKpRKVScf36dZ69PAKllxLLdTNXXz1/7yfLEpuvnqV3zUZ3vSy7JJcw30r/pI3AbS4F6NmzJ/n5+X/V43YjBUFApVKxfPlyAhMCeK79ULewnDFjBpGjY7hguIjSS8m4/DEMe3WYu4wG89vx3KMzmNDcqdxEz2lNJZ0Xbz+5gg9/fp49b+ylzaIu+PhHcjHnGmmTtjN4/XT2pxyge/M3mNWwCivSbWRd+JgFw9bz2+6ZVG00lrFf9iHTKuKQwVepoESUykn3OzY0JyfHzReeVBQEAbVaTc+ePZl7Yga2M2ZSD6VTt1s9rrdNZ+83e9kyZgvFxcV4x3n/VbJk4883d5GVc4zqiwaiNt/k+tSDCMiAwOtmB6ItA5/IXmwdOBZJhmYLOnBi4h6Gft6Xj7r2p+ac1qRPPUj0jql8aC9k/OEd3Hh0FjcsIjemHiR6TmsuTtpP9JzW96So+9N97733iIuL49ChQ8yePRuAoqIivvvuO+Li4tBoNPj5+fHUK/2p3DcQvz2hfLjwQ4xGIzabDbPZTHx8/APtiR4k3BRNSUkhOTmZhQsXMm7cOBISEjAajUiS5O7fz507x9Y12zlx4gSqkSouXbrklpqiKBIfH//fbMtd4RaZqampZGdnM27cOEaMGMHQoUMZM2YMr7zyCmlpaTz33HPMmDGDpUuXcvToUfr378/u3bvR6/Xk5eWh1+vJyckhOzsbg8GA3W6n25IO5FsdyJLF/XltPPg+qy5dKFUJWSzhkVV/jfms5kwafTSY8RsnV/hZvren/Ij4vhtaUlLC8OHDWbRoEatWraJ79+58++23AJw9exabzYa3t7db4h44cID8/Hzy8vIoKirC4XAwbtw4XnnlFXbs2EFJSQnPN2jJLauFmouHoANMhjR2O2rTwesG8fM7U3VuG3ZnXKfV4p7sGzafq2m/MfvPvTRY1J/Tr3zDwj7vuV4F1eb3AOD1bwYyqs0Q6rzXFoDoOW1ZvfNt6nzQg5g5rblpNhMzpzVlhw6CLMuy2WymZ8+e5ObmolKpUKvV7r1Go0GtVrs3g8GASqUiIiKi1HmHw8GZM2cYOXIk3bt3JyQkBFm2cybzKo2q1CW7MJ0iUUfNkDAA3vp1NnWrdmBog3aczrzCTye/Y3yXyQRo1JzOSAKgUZW6AGQWpBERFAfA6YwkGlWpi9VWzNXCPOpXrgrA2F9n06tBH7pUTeB05mUaRdQq3VBJkmSr1Up+fj56vR6DwYDVakUURTy1F0mSEEURu92OzWZzbxqNhrCwMCIiIoiNjSUoKOiBDuweFP4rA8T/Bv7PNFTl+c/JkydZuHAhKpWKwMBAKleuTJUqVYiIiCA8PBw/Pz/8/f3x9fVFp9O5BZMLLrvEvxFuijZp0oRFixYRHR2NRqPBarViNpsxmUwYjUb35nA4nDfe1pjy8/O5dOkSgYGBrPFZT8qEpP9qg+4EQZZlef78+bRs2dJtSSir0Jc9plAoUCgUKJVKlEoljVo3xn9eKAICy4MX0bZt23s+eN3JDTzTpN9drxFFKwqllgcxWFMA/PDDD8TExGCxWDCbzeU2F3VtNhtWqxWr1YrNZkMURbq+0p3KC6IBsOdYad36rw4+ek5r9l47yviDW8s9eOLvC+9ZuXm/vVuuP/xPoQJQKBSYTCY3z7nsgK5zarWa1Se+pLI+gh49eiBJEiqViiX7l5HwQmPOFF9A/10m2etulXtA+2qP0L4ajF83kj+LraTmXnOONARvJMlK7Hud0AhwdPweGi9o777vxtSDfHpuF1Mff4foOa3dSvyNqQdp9skLZOdfIKFaV85c24bOJ46rY7+9a0PdksPFgyUlJRiNRkwmEyaTCbPZTP+n+lMiGFAkyBQVFWG1WtmatRVNuJrj14+RNSmNV+uNLlf4sdFfEn1bS/n+2kWUko0gv6pYSlLo3HQYNec9So1KsdhkmUoalbuBntUTRQPhoS0AGa2uMsUFSYQF1yL5jR8oNBtJn7wDf6+Q+6OoLMsYjUYAtxR18adCoWDFZyvo+WpXBr32DLkBuai1GoyiiQ1XfyHxTCKvffcan332WamCZ+xaw6xHh9z+T0KhCWX36O+xiiKzfnyBdx5fTqvjH7PrxW+RJKeAU6gD3PdLjgJiozty/OIPPNG0P80WdOTpdu8wbdO7rHrqKz7Z+RZfDZzPvlOfMr3HhPtrKDh13bI2Gtd41Gq1snnJHwxeN4DGNZpgwUZy4VXeq7+Q8Obh5OfnU1BQUOreATVq89iXo7g0cQ8CCuZ36MtjX77IL89/Rsv6TxHlpeXK+C089uUoXm3/Kp1jqrNh2EqQJVY+8xmFxkI2DpxGiFbNu1++wJ7Ra/H2rcKvPibCdBpqV+tBdR8NGf4NeDwm+p4NFWRZlps3b864ceNwOBw0btyYyMhIAFauXElkZCRKpRIvLy+0Wi2v7hyFvdDBmufWu4WU3W7n66+/ZsOGDfd84H8L7k+3pKSELl26EBAQwLRp06hatSojRoxg3bp1aDQazGYzXl5etC/oRt++fdHr9VitVrdDQxTFez3rvwq3MDIYDAQEBCDLMvHx8ahUKiZMmIDVaqWkpAS9Xo/JZGLYsGFs376d3NxcCgsLMRgM7gH6vxnuhmZmZpKWloYgCAwbNoxnnnkGLy8vt2Y0YsQImjZtyooVK5g+fTonTpygpKTELZ3/icr8x+nvuN/vQRQtiP/BsxTg/HRPnTrFunXrmD17NqIootFomD17NomJiZw/7zRfzpo1C1EUOXHiBHPnznU3sqioCFmWycjIIC8vD7PZjCRJbutA9ffaMGjzVwAVWgxG/7YMz4Fd9JzWzNy+hLi5rVl58Vypa389sR7hP9CV3FLXZrOxd+9eFAoFgwYNQqFQsG7dOho1aoS3t9O616JFC0JDQ7FarSQlJbk/WZfb/JtvvqF69eokJCQQFRXlLFgW8QusQ1p2MknXNjG6+0LOX9vEM5vWUFhyixtTD+IAqs/vhNVhcfejM7u8zsxHR1F14WN4ZbRm3sl9PNlhDl9s/4w+CV3ptek7fntyDFUXPMHbTZuxOjWDlOwL3Jh6kNh5XfFSSlyasKM0RQHMZjN//PEHv/zyCwUFBe7uQpIkUlNTAdi9ezd79uzh6tWrnDp1yk05F3/+9NNPnDt3DqvV6h7FdFrSlZOjPyPXkEK3dfOY0rQVPdbNQyWbEASVuxrJb+28/WIcIPgBcPLqJqpFtue9E7s5NX4PM5q3BgQU2nAupO2h/ydPcGrcRmYc2U5RSQYaTSCSZMfbq3KpRropWq1aNZKTk+nUqRM7d+5k27ZtzmfKMk8++ST+/v5s376dtWvXIooiSqWSESNGEBkZ6bYCOhwOFAoFsbGxhIaGolI5G5FiVSGgwGzKpHPjF90PPjV2M7kGPQUF5/D3jeFmzkk0ulAuXNtMr+ZD2XlxC8//vPS26rcVpQCSWEJIpQQARKue4w4fAlVKd3nZJQUcPreS2Y+/U+7TFURRlDMyMujevbvbxeBpI3JtGo0Gh8OBxWIhLCwMb2/vUue3bNlC586dGT58OHXq1EGtdtp+Glapi4K/bD0ABYabzNy9irk9p2IxZeLvFciUnV+woPtY9IXp3DIZ0WqDqBPijJnxtBNZBS/8b5ftKi9Vn8Tiwz+y+PHpXNNfIT60ZvmG2mw2OS0tjZ07d/LRRx+hVCrdDXNtFRnJPP/fs2cPHTp0oF+/fjRt2hRfX99yD/pvQ3A4HLLBYECv15Ofn4/JZMLhcFRoGBNF0W0Us9vtbuqGhoYSExNDlSpV8PLy+m+3qUIItx2l5XyVQKl9RcdcbkOVSoVKpXqg/swHjf8zxrH/Mw39vwJVRQdPnTrF8OHDiYmJoVu3boSHh6NQKNxGeovFUsq85DJEuPaeZiWbzYbD4cBut7sHOoDbaiMIAg0aNGDs2LHUq/dXHOGGDRsYO2Es6cnp/zNv4n8JSnGo0WgkMTGRWbNmERISQvXq1dFqtaVuKGsArWhf9pinmdu1VygUyLKMwWAgJSUFWZZJSkriw6UfohnnizbK2UnlT83k1vmbD7zh/1tRiqCdO3dmzJgx1K1b1x1bA+UJVREBKzI2VURUz3AWlxU8NzeXHs/3ImBSKJJCQkZ2j8Nku4Twjo1zZ0qP1UDmm4PLmHfoF4psVrQaH17qNIPxTe4ezGAovkLdZcNo2/gV1vZ85m++rtLosrQTlwwWfnt5Kw0D/x2qYCmRW1xcjJ+fH0qlErPZXO7iirQkT45zEevJAU/QtnU7xo4dW+5alxtDEATWrFnDcfsp/NoF0HBuE7ItekwOZ6yj4Vgh/a19WLhgIfQvX/F689pTLMpcmrQfnwpcsfsv/cF7+7/FDoxp+xr9ajcHYOGWOQB82KX/7baIfHtsDV+f2YlKHcD7j0+nQXBlANadWE9oaCPiNEbG/bYIjU9V1j41E41CgSzZebrli8RXaUrDQF/Ssk6z8/oV+jfuT4BagdGUyXfn99O6ZldqBwZy4PLvpFqU9K3RkLEbZpAt6vh20CJ0YjHTNs3mbJGBpU8upFZg4N8iYFmUc++57GAuY31Z471rc1lQTCYTFosFq9XK6dOnmb56Ko/P6k2N/vEsW7+UCxculOJGSZIY/NxgNqT/gtwBYtrFYLfYySzIwGQsIeOdVLrv78D2oVucxLwDVvR+AQGJ2vNa03Dp0+itFgAup/1B9JzW7CnWsmXUGj7vPpTXfhrLnGMHQXawKiWZSkEJhKnVfPDr68TMbUeDmk+wfdQaugYr6flJPy6XGCnIO83EP5Yw/NuX0PnX4ssnxnM0ZSeDfnHa6NfvmcXM7UvQ6IIAmSdXv8rMHavwVztf6UtrxzBz+8dE+gUgSWae+fFdpmyexeE8Myuems+5G8epP78dX15J5v0nF5CcdZHOnz73j91M5ZQiF8HK9nlllWGXGAXcY5eYmBi2TPiDpt4NaRiXQFD9QJK9LrP4lQ+Z9ubbzPhgBoPefoa+c/qSb8vjUtZlzuSexV5oJ2CDH+tXfYP1Cyvr1q3DarXeteKJ9Qdzvf5gZNlO7NwONFnYiauTD/Dkt++gUAdSQ2Pku9Ob6VC9tdsC9ee5lQBM6DYOuz2HxeeOExvZmotp+7iq0jG0y7u88bjTgPPSj85YmBPjthGqVbH26EYApj36HACzju1Dow0hsVIwOTnHybFL9EkcgwDk5Z9lT3YO1WK64KcU2HvyCwCWPruWrtGxXEz+BQmY0OdTXqrfgKKC89iA7k2H/GPnaCmCupQUl6fJBc/+saJRjov71Go1v6/7gwMHDrDklwVE1o6gblQD6gyqyUb9zzQb1ogz6ac5fOMQdtlO7o583uo6ic7dOuPo5KC4uBij0UhOTg52u73CCheX6Km3pG+Z+in5fsSP6BQCiZGR/H7rFvP3fYm/WsOkLfOY+uQXjKpVmze3rUVQejMwvjpKWSRQpSD91kE+Ml9HicQbG2dwfMJBKqsM/HHrJuFhrQnVqgCJeUe2gjKYRoE+3Mo6gMEh8nTr1wAwWJxRohsPzWfjofm0quH0gH/QaxwAE3b8iKDyp0+ccyLA+K2fAQKj6zcAYNpm58czp13pdv0nKKUUNW/enEGDBhEdHV2KiDk5OaSkpGC1WpFlGY1GQ0xMDJGRke5+0aXouOxIOp2OwcOfRd1HQq3SoFVpMTlMSKJM8Q8Wfv7mZxQKhXtY43A4kCQJs9nM2rVrmTRpknvO1kPcP8qJ3KKiIoKCghAEgRMnTjBjxoy7RtJcvHiR7du3ExcX5+ZUlUqFRqPh4w+Xk5GRwdTv30IdqCRR0YExo8cgdhUpLi52j01d9jfAPX59aO/4z1BO5BYWFlJSUsKpU6dYuNCplDgcDmbPnu0OypEkibNnzzJv3jy8vLxQKBQkJSURGxvr5lgXYQVB4P3Bi9DpdMiyTFZWVjkDqifxXAR+iP8M5Tg0IyODsLCwUn2YSqVi+vTpbNy4kSNHjqBWq4mMjOSLL5ydvVarRafTubXhkJAQhgwZ4r7fJb5FUeTDDz8kODgYtVpdrjKCINyx73yI+0OpPrRp06aEhISgUqlo3LgxKSkpzJgxg/Dw8DsWkJqayuLFi4mPjyczM5OpU6fi6+uLLMu89tpr1K5dG3B+KJMmTcLPz4+MjAy++eYbAgKcITaeliSz2cyff/7J1KlTadq0aak+2nN77ONeXCqxcPLNHfipnPd+uXMmc4/vY2Dbybyb2AUAWTRR94PeePlW5eSYlXd9Gc0WdiRP0pE68fcKzkq0WdydbKvDfaRORD0mdR5PYpW7z3rst7w7xwsMrBr2E12q3PldPgiU41CXz+jw4cMoFAref/99AgMDsdls6PV6QkJC6NmzJ61bt0YQBKpWrcqSJUsYPXo0gYGBbueZIAgsW7YMwC1aXUSrUqUKWVlZqNXqUtwLoFQqkWXZHbqv0+nw8fHB19cXX19fvL29nRJBrcTisGAR7fipNPz+5zKmH9kOwJEbF4AugESjRd2x4su50U5iZhdcYcLm90nK11M9ogmf9ZtKgFpFXv4Zsq02nmgzgY92LuCr8wfo1GAA8x4djABcubaFdKOR/m1n8GG7rgCk3txLuy8HodNFc/XN7ygxXOe9g+t5s90Ihn47hujY3izvMpAG8V3oHd6CzuF+TP1jIc1r9KRvvNPL+cvxNRzLzeHtbm+iE+B06h4m//ExepuN9jV7ML/7S6gESMs4yoqz+3mz9QD6rXmDPokTGdeo5f0R1Gg0smTJEqpVq4afnx+jR48mKysLhUJBfn4+y5YtY968eWzYsMEtOnU6HenpfxnSTSYTo0ePJigoyN2n2u12t69No9FQXFzsNjq49q4wy/Xr1xMaGkrlypWJi4ujRo0aVKtWjYiICFQqFS1CwjmizyNfdJCT/DsvbP+ONSN+YMjKAeTmOaOEH/uoB/l2NamTt6DCTt15jyL4xHLu1W8QJBt153ckYck5Usf/yNwtzqFDmv4Si/tPoFPVmnRd9z4l+PDxo/0Yt+VjAN5p29XdxqhQ57DDNRv3pXVj2KsvQPapwaZRzpn5244u5svjP/PZsEEICi3fnNjAlmvX6DtmOSnXt/Pq1k/p23oKkvkGMR8+TUKNfvw++gdsliziP3iSU/mF7Hp2Ek9/+ya3bDI1Yruwd8zPFbNnWYJqNBpsNhtqtZo33niDn3923vjJJ58ATqXJNRXCc1jz9ddfo9frUavVLFq0iHHjxuHt7c3MmTN5++23AQgICGDp0qUolUpu3rzJggULShn+PQ0ZsiyTnJxMXl4esiwTExODl5eXO6ZdrVbTOLoOXLrAzayTPP/9+0zru5wO4RFUVkKOSc+ktc9xptjKhYm7UAnw/Z75GESJRV1e58SNs1QOjCVp8kEEQBLN/Jh+g+Dghmzs7xw7rj++GYDBCe2xWm5xpqiYyLDW+N5utiRZabbYGUn91fOfYbfmsk9fQO247sxt28fdrin7N6BUetOzijMuoZavhosFF8nKO0uHNTPp3PhFlnXoxYjPn0AGprTswrEbZ6kRVtttECkuvMgtm0zvluN4vk7CHYkJHn2o3W5n165dvPnmm25OcZnq/Pz86NixIwkJCfj6+lJSUsLx48c5cOAAWq0WtVpditNsNhvx8fGMHj2a8PBwN5HOnTvHokWLCAsLQ6VSleJMV5i6QqFg586dGAwGatWqRbNmzWjRogU1atSgcuXK6HQ6lEolKenb6PDNLACebDOVxe17AtB7eU/OFBSBoOTMxN0E345Syc09TZPPXgZBSaDOF7vDgkIXyYXX1rDv9Kc8+9satIICq+wK7RP46YVfaBFaiaUbx7Dg/JlyL+/JFiNZ1HkYCgG+2/sOEw78wQ8vbqZlJWeWgfyCsyQsH037pq/zTfenAPh+9zTGH9oNwKJBXzOganUAdp36nKFbvkal1OKn0WG0lZBQYwA/P/kqU9YNY821Kxwat5NoL929CepwODCZTOj1epKSkpg5cyZWq7XUEMTzhVdEhL97vqJrBUFg9+7deHl5UbduXRo3bkzDhg2Ji4sjODgYrVb7r51d8m+BIEmS7AqLKioqQq/Xu3MKFRQUkJyczK1btygpKXEbAlzb3ebZewaxenK850fikgBms5mAgAASExOJjo6mSpUqxMTEEB4eTlBQEDqdzh139hB3R6mgIlEUSxHLZY4rG2zkIlZZn+fdflfkQwXc3OkyGWq1WncI2r89UOnfiH8cU/SgTHQPCfdg8DBI7H8ZHmoY/8twR02juLiYDRs2sGfPHgwGg9sl5tpclhvP/D6u/3U6HVqt1t0feu49lZuyc6Q94elAf4j7RzmRK4oiY8aM4fjx43Ts2JHmzZuj0+ncoZhWq9UdwmmxWEqFcJpMJvd5z9Bz172emq+LWAEBAfTr14/hw4e7DQ12u52E5gl8/tHnDyxb5/8VlCKoKIr06NGDuLg4nnnmGZRKJUFBQfj7+6NUKstpwS7ntItwnsk1XIQs6x6DvzRblUqFzWbj/PnznDt3jmnTphEfH0+Djg0JnhGB4Z080k+n/o+/lP+fUYqgU6ZM4ebNmwwfPpyQkBB3RMK94m7vdK7UgzxMe54G+Zs3b5Kbm4skSaxYsYK9+gNUeTMWBDCnmPj6kc9Lzfd/iLvDTVBRFGncuDELFy4kIiKCsLCwUhfejZh3O+7ZF3q6vzyNC6Io8vHHH/NZ2kpC+oWVmhtZMDWLm+dvPLAGp2WdZt+tVAY26Yf2H3bRucY8VCofArV3N8f9T8Ktody4cYPIyEi0Wi3BwcHuvCdwZ250EasiBaasQaEsIT0xc9ZM9oYfolK/cOTbfy6iOhrJpKSklMtZZjBmMujbsZzR30QGokPi2fvi16jvoUi9vWkme3L0PNP07ilK7oWsrKM0XzmOgMC6nH95xT8q60HCTdCCggJiYmLw8/PDbreXEo33svZAae6zWCxoNJoKI+c9CSxJEgMHDcRvdAghPpXJt+YjICAjgwyZy6/z68wN5YgpSRYaLRmAHRXv932PYKWRuTtW3McYTOJsvh7UlSkfL/H34OUTSvtqj/BKp3vns/ifRKl34Ovri1arrVDB8dRWPfdlbbpJSUl0eawLRqPRbdMt+0GAM/63d//e1Hu7ET4h3igFxV/TH0QZ/YybnF99hsTExHKVPn/lZ2yyTI/mY3i6Xju61u7Bnld+Rnn7A7TaivUr6CwAACAASURBVJjzxzt0WTGEEb8uoui2tLHbi8h3QPWIFu6ybuVdYsSal+iyYggLDv6EeLuK+UXXWPnneuyinaU7F9JlxRB+SD7rvi819wYd41vRLDQCkFh9bD3rzu9xn//x1I98eWITAKLDzMo/15NtsfHryXV0WTGEFaf3A7D30u90WTGEabu/eSC5fEqNQz1TwVWEijjUM4TTZrPxzuLZTPxiPKPGjGT1yjXuSUmeyMzMZMI7E+jzQT/0tjywyXB7RCMaHOROy+DmlRtoNJoK66FQOF1i+85/T0H7vgR5XJdfdInmH49EVOioHRLBtnM/0fLacZLGriVb78ys2K2eM1/QjlOrGLZlJQE+YVTWCizds4hTefmsfXwU3x9YzNyzF/j68BekljjjlMetf5XHJu9FJ8DrG6ZzzaLmueYDMJpuMHXbEhrVGsIz9TsADib8vpiAgAYMa/oYqbf2MXP7EvZd/o1d150Zw2f/NoWMm4l8ceYAAJdyPqFj7S50iiitu/xdlOLQslOXPbeKjrmGLC4ufXXcqySOfASj1cjwucMYPmp4KdeYQqHg8OHDLP1uGU/MeBKH6MDhsGMwG9AbcjBdLiHsy0Ce6fP0HYkJUL9Gf6K8vCkxZdFwwaO8c8gVAyTTb9Ur2AUtlydu549Rq4nz0mK05CEC+y46r+tStR52ewGjtqwkKqwF58f+zI5RX6EUICUnBYBfUi6CZCG22gCuTz3II4GBIEtYZACJdIuDIP841AJcvfEnAI/XdwZYmw3XccgyTao5tfNdSc4MXGeNPqROOcAr9ZoAEuuu3eDqpH181ukJADKMhf+ImBUStKy4LUtg1++yRoNbt25x2XGBImOhc7MU8eyMp5k4caJ7zPn5is85nXea1s8kYrIaMVtNXMm9QlpBGvnb9TxrHMDUyVMpKSm5e60FJYff2Mrklr0RkPl897tsTE/DUHSFayYzaoWKHisGU/f9DqSZrUzoNh0V8EvyWUBJLT8/tp9YiQOwmG/w6GfPUu397qDQsqL/W4DMlRIzanUQX/UehQDk2qwolGoCFWAypCLK0KSak4DbzjsJ1j7Kmb38bOoeADrVagXAr9cuAAJbhi1GJQjcMugB+On5FeiUSlJzrwPQuHLUP6VnaZHr4lBRFMuFhLjgqdnCX9MggoKCGNL8eX468B2d2nYGGRzedho/lcDyT5aTkpxCk6cb4VvFn0JTIYW2IvZc34NRNJH1TSbLXlxK06ZNuXLlCgaD4d41FxSM6TSZAEqYdGQP21JOE1XFKRqfav4sCcHBVAqMpVVkbXxuxz2dzS9EowvFV6Vg+6XjAIxt/RxahYKE6GbUCA5DJQiIlkwcskyDap1RCiBLFm6azPgHOgO7LqTtBaBjdSfBtt5MARTEejuHL4uP/ApA23BnXqykwhLUXuFEaJ1S51BOFkqVN/X8fQDYknYJEIj38cgn/R+iFEFdItRlby07Uami5NcuUSrLMk89NZAj44+yx38nreu1xWq34K31wVSlhHqP1EHykcgz6Mk25rDv+n5kZHKW57Dpy1/x9/d3zwi/G4duP7WasJguNAyJQBRtbEhx5hfqWLUBthLni64X/QhP13DmlLXazYAa2ZGPSZKoFu6cXmGRnFGGPev1IFTrJLjJZkGl0ZGccRSA7rU6AGAwXscKNIm+zZFXnWtOtIuMBWRulNhA8EEpwE+Hl3JAr0dQ6Ij21iDb9diB2pFO5U52GMix2Amt/FdsUFKxEZ1XBF7Kf267rpCgZVNm3Wnir+dQxaXlLnx/IY8N7M0h9QESYhoR5BeCupKGQnsBcjGk5CVzrfAaollC+hG2rduGIAjuRRtc9uE7Ye2fW9ixpXTavbqx7XiiajxmgwKBlUxeP5IVwVHY7SVkmGykTdrK9ayTyMCjNZ0K0cDGndmcuZqWi3sT5R9MXkk2YeHt2DlkJlvOO2N+usbVAOBC2iEAnmjgtCvvu5ECCi0xPk7bc5BagdlupOrcNiiVPlT39iZHHYcAJGc4+9futdoBkFtwGRloWrWj8z3acnDIMjWjWt0Hue4N5cyZM2eCc9GRgwcPUqtWLXfCt7K5Xu51zEXwvr36serjLzGEFqISlNhFOyariVM3TpBTnI0100r8mRp8+tFn7o/INadFr9dz/PhxRo4cWWGFezXqQYS3jlyLhajgqsx7/B3ebjsQAdBog+hfJ5FUfSqSQkWDuHYs6fM2lby8sYsidSMa8nS9tuiUSuIimtIqMo4ruTfQqDQ80+I55nYegVapRKH2oXV8W9pE13YOpAQVDaOa0Lt6U9QKgSC/MHrW60mdSs4+r1+99pzOuEzD+C5sHPohUUGRDGjcjxi/QGyiRP0qjRhQNxGtUoEkQ82wOjzfuAs+KhWiJFEtpBpDm/Siku6f58pxm/5OnTrF/Pnz6devn1srBafn48qVK+j1evdNwcHBxMfH4+Pj7AM889u43GxJSUnM3vI2fnW8CfIJpshUiKyEojMlDKk7jP79+5fSll0fxrVr1/jqq69wLaXzEH8PpUSuS3t19aFXr14lLi6Ol156qdRcFFEUSUpK4vvvv6dVq1buyD1PQ0OtWrXodKg7hwy7KcA5fzJncyHzX15AvXr1MJlMpYwTLi632+0PJyv9A9yxD83IyKBjx47Ur1+/3E1KpZIGDRpQr149Zs2aRePGjUuFY7qINGTwEI6MPYLcw0rOj4V8vXQNfn5+GI3GUpzpOZ3QM63eQ/x93JGgRqPRTUy73c7y5cvJzs5Gq9UyYMAA6tati0KhYMqUKbz77rskJCSUmvLgcobPf3c+kydPZvUyZ+K5kpISt1+1ov7X0ynwEH8f5USuK+KgS5cu7uM//vgjlSpVonJlZ3aQP/74A7vdTvXq1Tl8+DAFBQXYbLZS3hRX8DbA9OnTMZvNbntuRfG8Ljzkzn+GchxqNpsRRZFKlf5ario6Oppjx465Z3aHhISwatUqwsLCCAsLo3nz5m77ryAIXL9+HW9vbzp16oS/vz/Z2dns3buXkJAQgoKCygVlu+6DhwT9pyjHoXq9nuDgYNLT06lSpQoAbdq0ISwsjA0bNpCVlUVoaKhb5EqS5OZOgKSkJKZNm0ZwcDDgJFS1atVo1aoVV65cYc2aNdSsWUFi0IcEfSAoR9D09HQCAwPZuHEjrVr9NditUaMGEyc613wqKChg69atHDp0iJo1a7od1jdv3mTSpEkEBwcjyzIrVqzg0qVL+Pr6MnXqVGrUqMGgQYPYtGkTISF/LQBQNizlvwFJMvHOzhU0rtaNx+NrP9CyU/NSUaj9ifW/96IH/xTljPMlJSXcvHkTX19fPv300wqd2UFBQTz99NMsXrwYg8GAxWLB4XAQHBzs7mcPHDiAwWAgPj6esLAwFi1yLmldu3ZtcnNzK/TeuPpZwB05WFGwWV7eKWrMf5Rhf3zjrpMsmaj/fidqvN8dq0eVP982hRrzH2VP1t3XKb2Suo0v/lzPTUvFStnhc99QY/6j7q32B715449Psd5DohgKL9Hu08F0+/K1u173oFCKoC6FJTU1FYPBQH5+Pi+99BIbNmygsLC8a0ehUDBp0iTS0tIwmUz07t3bfe7AgQOkpaVx5coVkpOTuXLlivtc9+7dS6Wz8QwRdfWrubm55OXluZN4uBaQEUURZAGLw8otQ567zHV736fIbsFiN2AXXXNvbCw8sR9JFUi78Mp3fRE7LjvnYnaNrV7h+R/O/Y7FYaVfQh+ebdKHEKXMjyfWUG9Rf+5GUi/fKoxo8RTrBt97jfYHgXJZUFwiLzk5GV9fX2JiYjh79iz79+/HZDLRtGlT+vfvT1CQcw6ka+WBdevWlcrFMHnyZHeZZceWtWvX5uDBg+7p+67nes7gvnTpEjqdzj3R17VptVp8Nc5sXw7xNjfJduYc3eUu3yqJ+KLgyPm1mCWJ8V2m3l5JQGLFgU9YcXIbskLJqx3f5Ln6Tp/l7rQkUKhRW67R49vpFMg+rBm0lBr+zjwQBzIzEBRq3uv+OkpgZpfX6PlRd84VZbMjK5uu4WEs270ETWADqojXmXVoI7tf3sDl1IPYRQe1Aivz6/E1HM3LZ1a311EBor2Y6Ts/p2p4S0Y2aoMkWpm9dR6br55Eo/VnYd+5JIZHAzJzt31A7fheZF77hS8vneTIKz+gqsCWXyFBZdmZRr6kpISsrCz8/PzcL3v37t1s3ryZ2bNnk5Dg9BhUq1aN69evlyr4p59+wmAwlFtGXafTYbPZMJlMqNVqd+4FV24F13b06FF8fX0JCgoiPDycsLCwv8yLWueHYLc5E0weOLuGYlGkS1Qs22+mUyQ6CEHFhO2rUSi9ebVhU0Cm85KeXDEZaVutJVczTjN140TiKv9Cu8rBXCoqREBD289fwFutxWjLpOcXo7gybj04Ssi22NB6V/VY2UHgiVrNOPfnHlLyCyA8mMWH1xMRdIwbhTfQqrzwUcKcbUs4XmTl7W5v8kfS72y6kc7YDi8TqlXx2/EVrD6xgXcHPo7DXkTCB49hREXHas05mHKYgSsHcXrCbvwo4JNjG6idepzkgmy0usrcyTFTjqAOh4OEhARee+01QkNDyczMZOTIkXh7e7vdZDqdjmPHjrkJ6uLA/Px8Am9nkzxz5gxFRUWlovxcq0goFAr3SmsuC5OLkC7l6M8//yQoKIioqCgkScLb29s95BGUThuy3WIAZMZvX4Off026x0ax/WY6BRYHt4qOkm62MrLLXBTAlqNLuWw08PHgb3k8No4tfy7jxe3fUWAxYTGLFEsgCCI7XvmNmv4BNJ3XhhxzBhYRTIVXkIA60aXjg28WZQAQ7udDcXEqNhluGXI5/eYugjRKQOKSwYC3LgadAI+ERbHpRjrpphJCtQF8cGQLoOTZ+Bq8tXYoxaLEkTe3EqlTM/7b5/g+LQWLKFKQcxKA6yY7V97ajfouXrYK+9BTp04RFhaGUqkkKiqKKVOmYLVaMRgMbufzoEGD3Pft378fLy8vfv/9r3QwiYmJbquTLMtkZmYydOhQ2rdvj5+fX6n+sqLt2rVr3Lx5k7y8PCwWZ6ZNd1ZPwelIdkgWMrIOc8tqY2bvqYQHONdLKrSYmfrbfBC0TGzq9GHOOeR0Ok/f8AqNFvXgxe3fUSuqPY/FxJKW6XR292oxlpq3RazTy6JDpYBj15zrrfdp2MHjbUlsSnWGqySGR3E+1XnN2O5zbhMTLKYsSkSoHeVM7dog2plk43KenvyCC1wzWWjTYChKycrPaSmAQO9P+1FvQSe+T0vhieZjiPTSsveiMyJi2cBldyUmeHCoS/y5RO7SpUt5/fXXAWjXrh3t2rXD4XC4xaMLJpOJVatWERAQwM6dOxk8eDABAQF069aN8+fPc/Kk8+t68cUXadSoEY0aNWLHjh34+flVSEgXjEaje7Ecz/7TxeECIEl2xvw0G7W2Ev3jqnPpmjMILLs4jZ1ZOfRq8RpeSgXIVnJMFnwDqrOiz5sANImqj1Jwfs+7LzuXU3m1RXcAZLGIHFEmJDAetQCbzjsVpkej/won3X5iBTk2ER//GoSpBT6+4vSZPlWrifualFtHnPfVdVrdYis7Tannsq/x87ZlCIKaj3sMxWS9gQNoVPtJprd4FKVSS6OIGihu188ZwqKgTVjE3anpSdDw8HA3hwqCwIYNG8jLy2PKlCnodE6OKDstPjc3l5dffhkfHx9kWcbf35/XX3+dTz/9FJ1Ox/jx48sFYW/f7swldCdiujhao9Hg7+9P5cqVCQ0Nxd/fH51O5xTfgkAAUFxymZN2Cy90nYpCgACvUADe3zIdQVAxr+OA20+VkQFJlGke3fD28x0YHRI+KhVbr10C4IL+OnX8ajDm21eRgZc7vgzA4ZwMQIFo1pNudvDpvmV8c+EwgqBkw3POXEz7b11HUGgI9wjH35dyGICusU5HeWCA03+65eRKCooLeK7DNILVKow2Z9tFSemun81uRKlyRkFcKjKi9QrH+z4iGlSul+jt7Y2Xlxdms9ltkz1w4ABdu3alYcOGtG/fntjYWGw2G+np6ezbt4+bN2+W4zSlUsngwYMZOXIkHTt2dM8oMxgMfPHFF1y5coXAwMA7Tptwrb0VHBxMlSpViIyMpHLlyvj5+aHRaG73xwLeaii0WxAEDRObOcWqv7dTXOaZDLSp/zyBqts9iqCjWWgoB/Up1PmgO2pBQYG5iK9GbKBTeCUuFhbjrfVh3HcjGHe7LtUiExlZtyGybEEvAkh0/OQpd119vcLYMHwltQP8kCULN4xmtH7VS+W73ZlyEYCafk6GUKic1rOC4lv4+sbxTmvnmtQ+3jEEq5Scu/IdDRb9joBEgbmEM28dIIh8zJJMXOVG9yQm3HZw2+12jEYje/bsYdq0ac6He8w98cxIXVH2kooynwiC4PZ5KhQKfHx8CAwMvGdmlMOHD1NUVOROadOkSRNq1KhBSEiIO1EkQLo+mQK7DR+vUGoEhd7+IiROZzq5rUGVupTNXL4zaSO/Jp8BVIx85BkahFUFZE5nXCQyqCrXM46w+sJ+utZ/gl7V/nIbutbNdqFeeB3UCs8cwiJnMi/j6xNO9YBg9/GkrIvYUNMovLrHsSRsEtQKq1MqhkgSbXx9aCWnC/R4aUMZ0WIANYIqIUtWzmSlEBYYS4S3z70JKkmSbLPZKCws5MaNG6xevZpdu3aVIup/msbm76S2USqVZGRkcO7cOapVq0bDhg1p3LgxtWvXJiIiAl9f34eZUO4DKs+BvyAItG3bFq1Wy/bt20st1FwWngFinuKzIlPhnaYaevabSUlJZGZm0rhxY6pXr07dunWJj48nNDQULy+vf+Wi7f9GCKIoyjabjZKSEvLz88nJyUGv11NQUEB2djaXL18mPz+/3II6Lge1Z/9Z0TyWsrPOys5Acw1tatWqRZMmTQgPDycqKoqoqChCQ0Px9fV1a7YPcW8IkiTJrlgis9nsXvHBtUJS2ZifuxGw7DnP8JKyUYJ2u929rm5AQABeXl74+fkREBBAYGCgO1eDZ8bOh7g3BEmSZBcBymYJcy1tVTbRVNmphff7u6w4Lhst6IoYdCWdcnH0Q9w/3GGcdyJURcOLsv//J+fKLuDjqVXfLTvKQ9wdDzOJ/S/DPx4HPCTEvwsPU8M9xEP8i/GPJa5rwphreOpyxtzJKPRQQj/EQ9w/7ptBZVkmPz+fPXv2sHnzZi5evIjVakWhULgX3nBNZ/I0IXiaEu5kSyr7nIogCAIqlco9ud9TCLjWmfD83/O4Wq12p5J0bd7e3oSGhhIWFkZERATR0dH3ZS0WRZGjR49y5swZhg4dirf3P59z/RAPcSfcU8V1OBxs27aNjz76iFu3bhEXF0diYiK1a9fG39//r4LKJGTwZEZPm6Hngmd3SlTv+bvsVtaWeCfrR0X3epbvOVW8sLCQwsJC7HY7lSpVok2bNvTq1cu9kBs4wzJWr1nDvOXzsDUTsWXY6B/Xlw8WfuCeJPsQD/GgcVcGvXjxIpMmTeL69eskJibSvXt3dzinTqcjKCiIgICAexrP79ZT3o/dt6Lfd2K8ihi97H2ugG5Xbl9XlIUsO1dmTEpKIjU1lYCAANq3b8+u3bv45fiv+A0Ixqe2DygEZJtE9ppb9AnvzUdLP3KH6DzEQzxI3JFBDx8+zBtvvIGXlxdDhgyhatWqqFQqQkNDCQ4OLjWerMj2Xja1kee5iu65G+5l97+TcPC075f97bkHZ4BhdnY2RqMRSZI4efIkyz5bhrG2lUpPhqEOKp/UTBZlstfcoldgNz779LNSq349xEM8CFTIoIWFhbzwwgtcv36d559/nlq1auHj40NERESFS7iWxd0YqqL//05ZZY9X5F290/5uGzhjEr9evZoV61cgdNYQ0CYIQX070SuUSsnsrockk7Mmg14B3fj444/ve0wqSXZyS/RcvHWGs3nZ7qlOYUHxtIisRaR/JbQPID7DYSvkgy2TWH7hHBJQv+oTrH36TYL+i6EfDruBX45/zarzhzE6JKpFt2Ve5xcI0z2MFiuLCt/IrVu3uHHjBtWrVyc2NhadTkdoaCiyLJeac++J+/Fue/Z2ZX+XLfNOPbBnmXfqST3LqWhZYM8AJ4C0tDTem/8e5wouEDagCnHza2KSzNil2229nY3ZM8U2gGgSyduUTXCqP72m9rqvcMRiQyrvb13Ej8mnMYp3noHYqPYQ1vV7Ad9/yKSZOaf5Le3KbQGgpV2dNv9V5gSZi+nbmbt33e1AZ/ANtvIw+K9iVPhFuSL7XOtw+/n5lQrxvNuiOZ77is65ft8tJNTzf9f1u3bt4ujRo7z88svuNbsrsgaX7TE96+xiSkEQsNls7Nmzh48++4iAR4Kp8mIUjdXNMTpMGB1GVHY7Dhzu3tNdd0nGnGyi6MdcOlV7lDnvrKd69YonB5dFbu4JhqydxHmDMytMTHgiy/pNoXFw0F9sL4tkFmai0gXfkTntohWjzeKumUbl7c40WrquVvZe2UGa0QqAf2A83ePqVFimLEuYrEZst9dNFQQlvlofVH/DLSaKNkpsZiRAqdDip9VVoHMINKj+BCcnPXHf5f5TyLKEyWbEJkkIggo/rU+5aZgWmxGz6AAUeGu80f5LJMYdRb7n3Fvgjj3nnXCn+LA7MZNrX3bLzc1lztw55CvzaN2jNaPHvkT3jj0YOHBghep2RcLBs84FBQV89dVXHDh1gEYDmvDo+10xY6JENKFw2FDIAgoUKAThr3UMANkmUbg3H9U+GDfiDYZtH1bKin0/uJB+kMtG8+3/FMSH16Wqn3/pj1hQEhFUNv+xTHb+Jb448BU/XDlGntVarmxvXTBPPfICbz7Sk0C18+MylaTzy5XTbgU9oWoHagf4uu8RRSP7zm9i6Z8/cVqfgaPMqxMEFTUjm/F21wm0iwh31lMW2Xb8I8ZsX49VFujW7EWeCBVYevQHLubnlspK4OtflXmPz6FPbKz7mNmQyojv32B/th4Q6N7iNZY8OgBvpYDkKGH5tuksOHUUCYgOb8O6Z+cQ66H6nrm0lkEbP6XYIaLWhTG37wKevr22RGH+eYavf4tjeYUEBNRkftcX2Hd2NRuTkzCKf6XM0Gkr82bPmTwdE8LqA5+w6vzhUu9UoVDRpu4gFvUYTpjmn64y8c9wV53M5dJwrVZ2N+a8UybdilC2B62ohwPYunUr63/9niZPNuKRas3w1vow9N2hpJ9OZ/ioYYx+YQyJiYnllieoyDCUnJzMog8XIQQJtBncliefHoDJYcYkmhAdIrIoIYtOC6/BZsAiWZAFsOfayP0hC+8ULe1atGbWj7MqzK50P2hcvRuPHN/Bgdw8QGL36S9oemE9Lau35+WWg2geEY2mzDt22ItZtXsBC07sxiLJ+HpHMLbbaAbWboq/Co5d+pkJ275Gb8nnq31LkBXeTE/shAaZc+kHOJdfAIBCG0qf2i3xUigAmfRbB3ll43ucLihEEFQ0ju/Bm22eJSEkFIv5Fu/9NpcN6clcvnmEcb/MY9Wg2SQE+GO3ZfPz+QPO/DKCwL7Tq9guCTSIbcnc1h3Iz/mTFSe2UeAQKSlO4+tjv9I26lWCb3dI56/v4aQ+FwC1LpTO8c3ckyPzCy6xOSXJzeSN4tsTrfX4RMVCfj67G4PDqRtHVm5EYkTk7Y9K5MS1PZzPc6Z0MRrTee2nifj5xfB8u9eJ15lYdXAt54uLsFhzWPDrGyxERKkJpGfDQbQLr8yPf65mX3YmkuRg38Xf2F6vA89Wr1WBFvA/h3syqGtuhCsS6O/ibgzryUieUdZFRUVMmTYFU4iBBs/UR/AFg6nYKTC0DqIaRjIsYSj7f9/H6jWrmTZ1GrEeUtoFm83G77//ztr1a2neqzmPv90Hu9KORbRgtpuxOizYHFYsDjOZxkyyzFnYEUGSKTlrwLTZQO9HevHY6Me4evUqqamp/yj42D+gFt+OWs/hS7+z5NB3nNBnYLMXs//iJvZf3IRK6Uvfli8ws3VfAtRKREcJn29/h/dPHUIEQoLq8/GT06nl640kWjiVeozvz+8j7/YHGxJUna7xDdAAkljAL2f3YLpd3arhLWhTJQqQuZGxn+E/vsOVEhOgon+b8Uxs0hqVIKAvvMbey9s5kHMLCRAUOlrVakv122lqrt48wpGsTBdBiYpoy/K+E6nt7zyfXxjB/stHOFxYAIKSYL8q+NxmTlksZPOFg5gkZ6ViQhvzSHiV2yftHLq6i6vFzjwPKu9o+tdqisdUTW5mn2bvzWtOjUDpTaeaHYi8ndzfZtfzy7l9uPQTQeHDhN6zGVWvsXMuqaOIazf+JOn8CSRAFNQMbjuJKS078//aO/P4qOpz/7/P7DOZmWQm+76wBBAQ2cIaQCACKoq4Fq1tr6W17cvSq1dsrRav0PZeW9G2SuW2SL22hRttwQWRRXZkEcISIiEJScgekkkyM5l9uX/MnJPJMKzaen+/V57X67xy5pzzPVu+n/M83+f7PJ9HJ5NB0I/WWc2nbe/iBRQqDYkaw1cKTrgGgIoMXmJOS7QWjfx9PZFBke0jF7lcTlxcHA8+8CCrfr2SDnk7hROGkpeSj9fnxeN141I60ai0jCq5iRHTh/PS718iw5DBsmXLMBqNdHZ2smbNGk5WnWTeN+fx2OrH8OHDGXDg8rpw+d04/U7aHRep6q6iy90NQhB/rx/Lzk6M1Qae+s4y5rw7B5/PR2Njo0QS8kXp6mQyDVNHLGLqiEX4fE5O1GznpzvWcKbbis9v550Dv0OrMrJi8hwamg7y1plDiFfs7CrnwT/0ZY7HaUykxcVz26h7WTxqPjNzhkie36bWk+xvCdMLyfSUDC8mVaPG77ez4dB/h8EJ4KN03y8p3Sfen4JUYxrJ5kKWDJ/HPSNmkWPQh81bJ9tOf4IlDLDU5Am8svApCZwQoKL+CGftIa2tVCRw27DxiJNPGx9HMwAAHJlJREFULRfL2ddUGwKYoGXq4ClkhAHmdrfxfsVhPOFjh2dPZ2xyH2lo0O/gw1MfcSFMmmIyDGLBkFFSInd983E+bWsOP0QcS2f/mMdG3CLtb++qZO+FqpB2FhQsGP84z00ukYoYej0Xeb/iEGLZqaGZU5iYknyN/9V/nFwWoMFgsF9xJTHHNpanNLLN5c51NY9tJEDlcjlFE4vYuP5/eO3119j65hZqZ58nOzObQamDidPqUSs1KBUq1EoV074xGWuTlW89/k2snTYyRqQz62uzGPa1ofgJ0OWw4A368AY82Dw2zlmqaLA24A16QRBwNbnoet/CpOxJvPz9X5GXlydFG4kFi78IQANBP0EEiWhFFIVCy/jCO1jaVsayfdui3VG0dNVh8YT9r3HZrLn/FeZmpHF18bCzfCuNnlB3S4ofQknBTSgAj6eLs5Y+Fr3pY77LH+YtQSe/unXU0VnB1vqzYYCpKC6cxZD4vnG4x93FtrN76AoP9/LSbmF6Rk54r5cDZz/hgjMEsHh9HvOH3oI4u1zVeJgjF1tDPwQDc4ZMwKAI9Tmvt5u39qzm5bKDeIMACsbmT2NEmMAOPGw79RFt4Vp1KabhzB80so9cLejlSPV+auzW0LtUp7FwRFG/CqPnW45yqC1sGcgNzBs2lYSvePwJV9GgPp8Pt9t9ScXsK8nVNKq4/UpjUDHAXqlU8tSTT7Hw3EL+fdULnMk+S9OoRpKMSeQnD0KvNaBUKFEolCjiFcxcVoxMkCHIBRxCL71WOwECeANeWm2tVFmqsHvtIAgEvAGsx21wHL5x7zdYvG4xKpWKQCCAy+WSIpHEckAOh0NiS7oecTk7eO5vP2JDXR0pCZlMyp9OUWrIrOvoquLDyn1U9VgIDenkTBpxP8vGzUQlCKSZcjGpBJyeIO7eJn61+w8Yb32YvLC52dvbytGWsxytOcIto7/NkiEhwhxb93m21JaHaysqGD9oKsPCnm+5ysRQk5ltbW0AHD77d15PTueB4WNQCUDAy9nWCs60VlDR4+enJctIUwP4OVy5gxpHCGB6XTpzBk9AG9HJm9rK2NUslutVMPOmeaSFubHstgt8WH0szI0q55b8qYw2iwSzQRxuKy6xiwXtbD5eSpynngvNh9h09hj2QBBZuD+pVGYW3DQNffjaPV2VbKmvlK47cfBUBusNff8DVwe7ao7QGz7/4PRxTEiJZHlysf3Udi6Gp71STEOZlVt4Cc3KVyFXBahYFedqc3w3qlEj20dn+ooB7/n5+bz5h/W8/fbbvP3uW3hme+iwdWDQGsgy5aDX6JHLFcjk4QzhMBuVw+ugobsBi7MDPwEQBLzdPrp2dVMgH8Qz3/kxo58eLU3HuFyuSwjwXS4Xbrcbp9MpAfd6RK7QMSpzNPvb22jqbuC9sr/wXtQxcdoUZhSW8P1JixlpTpHGXYNyZrN2kY8VO9dR1tlKRe1H3PvHj/o3FhQMyZzE15P7NOvp+r2U94S0hVaXxvzCyejDJ5XL9Twx/0XUutdZV76PLlcbr27/Ga9u739atSqBR6Y/SWLYPnU7Wvmw5hiuQBAEGaPyi5mU0lcLMxjw8Fn9IZocISM1Ln4w8/IKpf3nGg5xoitk+qrUZkqGT8MoKW2BmwsWcH/hQf58rgJvMMj55oOsbD5InDaFhRO/x90ZGp7e8hvqHU4GZ01kZnqfz+F4zSdU9YZMdr0+m4XDphIXMY/S2HqCg+0t4efXsXDMAhIj0GfvqeeTpprwR1LJlMEzGGK4Pg/9P0piRhKVlZWxdOlShgwZwqRJk8jIyOhXXQkuD0iRm0EMZI/MQok1hxodYBCtRUXOBVGjtrS0sPIXL9KgrcM0wYCgEFAr1STpk9GpdAQFsLvtdDo68QV9ITrKoICjzol9v4s7p9/Jo48+Snx8/CWlvWIF8btcLpqamti1axe1tbWsWbOGcePG3dDLDgYDePzeCFNWQClXSpWIr68tyGUKlLIv9p33+b34gpEfHQGVXInsK0oLDAR8eMKFBWWCAtX/kfnIr0q+kIkbDAZpb2+ntrYWgJycHLKzs8nIyECr1aJQKKRyLRaLhZaWFhobG7FarcTHx5OTk4PRaIw5HxqtSUVtajabeeXXr7Jt2zbW/uX3aKcpIB2auhr7RR8JgoDfGaD7uJ2ETjPf+/oTFH+3GJlMht/vl2JuozVmdNC9+PyRH50bFUGQoVbcWLzuF2l7JVHIlV88KfhLFJlMgUb2f+mOvlq54psQsz6iTdxAIEB1dTV2u5277rqLBx988LpZ9xwOBydPnmTbtm0YjUYGDx4sTeNETruI69G5n7NmzWLcuHG88upqTlecJLE4HpkSCIL7oofuA72Mz5vIi99/TOLAFjnKYmnOy2XARFYUH6ggMyD/bLmiF1fMmXS73VLndDqdlJeXM3fuXIqLiy9hUBTNQqvVKpVX0uv16HS6fmXudTodkydPZtKkSRw/fpzS0lKGDh0q1d6KZfZGJmmLYH3635Zz7NgxXlv3OzxmF8pONYsX3MvtL9+ORqMhEAhgt9tjmrCRieTivUeHK4q1LiOPG5AB+WfJVU1csZqRqGHOnDnD5MmTmTFjxiWBCydPnmTDhg3o9XqSk5NRKpWSJ7SjowOn08n8+fOZMmWKFKYnCAJjx44lLi6O9evXk5eXJ4FU3B8dyBBNwDx8+HBeXrWanp4eqdCBGGARKyH8cgSTsUQE6AA4B+SrkKuauCKjaiAQkCpTjR49+hJwer1eTpw4gVqtJicnp58zSKlUEh8fTyAQYNeuXRw5coRBgwZRV1dHa2to7stgMJCZmYlarZbifkWJBKnL5aK7uxur1SqxsYpaXC6X097ejtlsxmg0XlLHB2KTh4rbo68JXFJibUAG5J8pVwWoOEGv1+v7VceOFqVSyX333ScVnBQEQaIsVqvVkhc3Ozsbv9+PxWKRaI0jRRz3RSdT19XVkZ6ezq233kphYSFarTamV1g899GjRzly5AhqtZqsrKxLxsjXAjhBECSADsiAfBVyVRPXZrPR2NhIbm6uZFoeOHCA7OzsS7JJdDodixYtYtGiRVIF9o6ODurr66mtraW+vp6enh7kcjkJCQkYjUZpXBpr2sbj8VBbW8uYMWNYsWKFVLZQFIfDQWtrK11dXahUKlJTU0lMTCQpKYn58+czb948mpqa2LhxIzabTXqGy0msaSSxluWABh2Qr0Ku6CTyer24XC5aW1txu93k5eWRlpbG0aNHsdlsLFmyRMrNjBaZTIbBYMBgMJCfn8/MmTOlfT6fj+7ubo4fP86OHTvw+Xz9AC8IAi6Xi/r6eh555BHGjx/fDzw9PT2sX7+euro6ySwW+YQsFgsPPPAAkyZNQhAEsrKyWLZsGVu2bGH37t39SklfLSc1EAhInEWiRNc8jWwXa72fBDxUd9Zj93oBAbMhnSxDArE+GS5PNzUdLYRmPuWkJWSRqouLGbztcHZS09WGH5DJVOQm5hGvvPGpiu7uMyz967/xqaUHZFqWTF/Oi9Pmcq2Bb36/m3pLPVZv7KrIMrmWgsRs9F9WvZ2Ai9KDa1h9fCd2X4CUpJG8dMez3GKO3Tf/X5IrviHRkysIAu3t7XR1dZGbm0tmZiYdHR0sX76cpKQk5s6dy+jRo6Vx31UvqlCQlJRESUkJJSUlXLhwgXXr1mGz2cjMDKUP1dbWsmDBAiZMmNCvrcfj4Z133qG+vl4a64qAMZlMaDQaqahwfn4+EBqbLliwgLa2Ns6dO0deXh5weVCJ5xTHwpEAdTgcWK3WmCly0c4s8Vzielv7Mb795x9T7Qqdd+LIR1m34DHilf0h2tyyn6+XvkilzS5tmzfhCV6d/QC6qNd78eJnfH3js5T32AEZYwvvY+2dj3PjXTPA0crtnApHIhl0WcwbOuaawYnfxu+2rmD1ib4g/yuJXp/NY1OWsnTsDAw3GJTQ1nGCtUc/pMHhRBDk5GlSSNL+/0HidkWAilFBYufz+/1UVlaiVCpJTk4mLS0NpVLJrl272LRpEw6HA4VCQUpKCsOGDWP48OFkZmZiNBqvyGWUk5PD8uXL+dOf/kRFRQUmkwm1Ws348eMvOdbv9zN69Gjy8/P7VZOJrO2UlpaGw+Ho104ul1NcXExZWRm9vb2oVKrLAlScVhGfO9Kp1NbWRkNDwyXTPuL8bOQSTd6tVRmJ0yghDNBudy++gJ/I6rsWSzlPvfef/cAJ0NbbhTfgA3nfv8xmPcfy93/JmR47IDAsr4RX5i8lVR39roNYHRY6Xb3hSCQZprhkTDFIztyONj6oOkSvPwgIDM0cw0hTEoGAl3ZbOw6/H5lcQ4YhCVWM4cLF7nN8Uvt5GJwyJo94hP+6aynx4UO9Pgc1rRW8vve3vF9Xjd3ewCvbnmNL5TzeuvcZMjVX+BQE/bTZ2un1+dBrzCSHLYrUlEls/9GOy7f7ghIIeGi3duAIhCwCuVxNuiEFlezaoq38fhfNtg68AYFEfRLxqmsPOLmqBhWrwEJfJ/b7/TQ2NtLY2IhMJkOpVEpFRpVKJXa7nWPHjnH48GGJ3tLn85Gbm8vtt9/OxIkTL9G0Wq2WRYsWUVlZSWdnJ4mJiTEJuLRabUzgRsrlTEyz2UxcXBy9vb2XjEXFKRjo4zGK3CculZWVuN1uqcSTWq1GpVKh1WqlRaPRSH9VKpVES6pTGTBpjEDo4+FxOXAG/RDWT3Z7Lc99+HP2dXQiCAo0cnCGqwb22Luw+/2S6epxt/Orj3/FzpYWgggMyZnNG3c/TX6cOnzPXo6d+4hf7HmLss42vDHMcq06gYemPMHTRXOJC2eznG8+xMGwZ12hMDLYIOO76xdz7GI7vsikeJmamaMe4qW53+j7IAS9HKs5wDlbT7i9gfkjZ0ngBFAqdAzLGs/Li1eT+MHT/OFsqJDq+ab9bK2v418KQwH/R06/ybe2vEmPL8iUwjuZYHTz5slPsHo8gJzi0d9gze3fQutq4V//9iSb6usBgYkjHmTtHd/H4G3g2xuW8UlLGyBjztjHeLXkUYwR3a6haQ/ffPfnoY+hIKdk3A/4Xcn9aAVwezr4y751/P7UDlocvUR7IARBRlbySH42/1nmZmUhAwJ+J2/uXMGLR/fjR8WSKf+Cu30fm89XhN6/oOE7JSt4Ztz0vkybq8g1A1TUjmLxVpGNPSsri/b2dkpLS/t5a0MP0T/Xs7q6mlWrVnHffffx8MMPXwJSnU6HXq+noqICt9uN3W6/xDFktVpZtWoVNTU10tjzcoCMTmOTyWR4PB5SU1NjkomJ2wKBQD8AR07RlJeX09zcLIFSvOf4+Ph+i0iH0m/uVmOgQGtkNyEABPwevOFzu5wtrHx/Be9fqAdBweIpTzHM9Qkrjx0BQpkrXR4fmRo1fq+NN3b+kj9VnSEAZKVOZs2i5RSEwWmzVvPk359ja+MFEGQUZk5j+eylFGfkosTLB0fW8PSuUuzubtbt/g25Sdl8c+gIgv5e9lZ/Soc7pOF9vh5KyzYzKruIlxY/Q2Gcgj8fWstfK08TCLjZdWojb6QM5ccTZqAUwOFs5cPPD2APfwvSk0dya3ZB7I4nV2HWJSDAJZ3f7+3kw7MHsfn8CMCRqg8oUxm5fey3eXjYGCz2VnLSJmCUQUXzQQ6GE8iVSgNzCmeRqBRAYWK4MYVdLW0ECXC2tYqLLgfGuNBH3+Vq5bd7/kuyVDJTJ/HjaQvR4uOzz//GDz76PU1ON0qFnsVF3+eJojvJMxhwu5r5SenTlF6opaH9FM9v+S15S56nMC4Oq+08W6rLQ74AwcuGT98gwZjLEyUvMDstiVqblcn5RdcMTrhODTps2DBWrFiBScrDC79Qv5+CggLWrl1LR0cHGo0GhUIhtRM7u9frRavVUlBQEHOs2traSkNDAxqNhq6uLqqqqkhL65//qNFoyMzMpLGxkcTExJgg6+npwel0olKpJBNdDLrXarWo1WrJhI0FRKAfSCMBWlNTQ1NTE1qtFr1ej9FoxGw243Q68fv9KBQKNBpNP8+vdH9oSTP2WQV+rwtPMIjfZ+O17av46/lqgsiZefO3+NnUeXx67KzUgZ1eCz1uL8Ggh02HfstvThzGHwST+WZ+e89PKNSHzuuw1/HMpufZ2niBIAI35ZbwwuwlmBUC1a2n2VW5ndLyT8IgkjGiYAYl2QUIQJe1hh3nKxBdO+b4Qlbf+wtmpaVKzqnvTX6QfbVnuOAJQNBFm92CLwBKeZDa5mMcDmeNgEDR0LnkaGKPK7vtFzjUcE4CpyYui5uTUwBovnia/Y11YeoTgSG5JaxZ+CSD9Nrw0SNC/w+/jR2VB7G4Qxk0SabhzMzKD1/ewC1ZBcjOleMPBum2VlHdY2NQnI5AwMU7B9fwTjiGXK/P5+e3P8ngOBWnqzbzgw/X0OT2IAgaHi5exsNDhuNzd7K/eT9bP9/BlnBKnVwRz8Kxt5Ov1QEByusPUNEVolwJIKNk3OO8Mvt+Ka91VMw3cWW5JoBCyLFz8uRJVq5cyVNPPUV6el8+nVwuZ+bMmRQXF9Pd3U15eTlVVVW0t7fjdrvRaDSkpKQwceJEBg8eHJOFvbW1lbVr12Kz2TAYDASDQdavX09aWhpDwnmOACqViocffhibzcbp06cxmUxSjd9AIEBPTw8ajYZnn31WcgaJ8belpaVs374dk8kkad4rEZrFCgG0WCwoFAr0en2/kvDBYFDKuBHrvyiVSskUDlkWctLj+1K0PD4bDreLvx5azWunywggMLbwHv5z9kMkKBUkGVMxAFbA7nVhcVo5XL6Jnx3YgisIZtNIXr/33xlvFj+Yfg5+/gG7m+uljl/ZsJOvrd8pXTM1IY+8pBEsnjyX24cWkWcUvcg+TtQe5Ex3KCVMUCbx/B3Pc2ta3/0CnG89Tas3PJJVJTIhaxgaeci823NuNy2eUH9R6rJZOOTmmF5nj6uT13b9hgMXxcRxBQvGPBDyugbd7K/cxwVnaBiQED+CF+f9IAKcfdLZU82uus9DHxRBwZi8aRREfACHZY0jQ/kBDR4/dqeNsx2NzEk3s/nAalYc2oEX0Oly+cXdK5mVlorbfZE/H3mHJrfI6+Dl7T3/wZ/3hH7J5RoGJRcwbeht3HPzQqZmFxIv1iPydfHh6X2InoPC3AW8OHOxBM4blUsAGgwGSUhIwGQy0dbW1s9JpFAoOH78OI8++ih33303ixcvJiUlpZ+mNJvNFBcXU1xcfE034HK5+Pjjj3n77bcBpM6uUqlwu9385Cc/4aGHHuKOO+6Q5kzNZjPPPvssNpuNiooKzp8/j9PpxGw2M3r0aHJycvoFJrjdbjZs2MCePXvIyMiQnvNygLwScP1+v2SyqtVqyeQ3mUyYzWZpfjcuLg6tVotKpYqo7AYpxnQ0gAvwB3r524FX+J/Tu/GGx5G/nvcd0jUqIIhJl4peBVYPBLxODp19h52n36fHH8SUUMiv736BKRG0IATcNPS04Qy7T1OSx7Lhay8xRH91p4TbbeGjM3uwiRxGqeOZkhHJLhigsvZjnt+3GU8wCMiYNHQBd+QPQQAsXZVsrjkjHT06dybjkhIjL4Hb08OeM++xavefOO9wht+1hoWTfsDKyXOQA1Z7PVurPsMVBJAxOncao0z9g1lC4uN4zQEqraHxrkqVyqKRk4l80nTTYPITzDS0XwS/lbLGE7zR+nde/mw37iAkmobz8qKVzAozFnrdFupsNql9SdG/8vtb77om6tGG1jJ2t9SHfsj0zBk2nRT1pdUIrlf6AVR0lKSmpjJjxgw2btwombiR40qfz0dpaSkbNmwgNTWV6dOnM3nyZAoKCjAYDP2C4qPP7/F4sFgsnD59mr1793Lq1CnJ2SJqwUiTVKlUsnHjRt59913uvPNObrvtNhISEhAEAYPBQFFREUVFRTGv19vby969e9m8eTOCIJCeni6B70ogjAauGJMcCARQKpXo9XpMJhPJycmkp6dLS0pKihRmKFZ8i64VbjKkYJCBKwCWnmrWn6wGIDNlIi/f+SSDJU0hkKBLQq/WgMcFvi7eOvouAPq4XF644zlmZ6T111AyDUOScolTCHT7glzsOMXTW17hh5PvJE0dslpaO8+ws76ccxeb+NatP+W2zDQgyIWW4+xtaZBOdb7xY25743NmF4zDqAhwuuEoZe3N+IJBBEFO0fD7WX3bN0lSKoAAx2t3U2V1SPd+tnYzc17fGr6/IHaXFasngtpSkHNT/mxWzH6cCSkp4eMClNceoKwrpFkVChMLRxWji4EPl6uDbWf3YwuPd4dkTKAoNb3fMQptKkWpGextvwgE2Vm2jp3h+xuSfSuv3b2c4cY+H4dak8JwcyIHOkPX/6TsTVYqgywednPIjRdwcrjuCKdaz9IlZPAf839IsgrAx+7yrTSHrYek+MHMDVPMfFGRziGCUwzlW7JkCc3Nzezfv78f5WbkeE+hUGCxWNi8eTObN2+WJvEjpxfENqLGEgQBpVIpaRaNRiOd+3IaLC4uDkEQ+Pjjj9m0aRM+n08Ch9lsJjk5GbVajcvloqOjg+bmZhobG6VwQ6PR2G88Ga0tI7fHWm9qasJisSAIAvHx8SQlJZGenk5GRgaZmZlkZmZKUUyR4BRN70gnVqIxm5x4IzZbX2c1m0fxu3ueZ0xC/yx+vT6VkeYMLjibpG3x+kGsXPQz5mVEc+cCyJh686P8tz6TVbvWUdbZzrGq93ikqo/DQSFXolEamDP6fomUKxgMcOT8XrqCKjQqNfdMfIS03rOsP7Ofd0/8LcQ0gIBSpWdK/lSemvE445OTpI9DIOCg7MI55Aq1RBPi97no8rmk62q1iUzJyKQwaxJ3DZ3ETanZaKKSzX0eOwfqjuJEhUYBBTmTmZEe6zmhue00x7osaBRqkOu4a8xtmKNmfWQyFRPzi0isPCvRnSiVcTw05Uc8PXEW6qhpEqXKxDN3vUTOp2+y9sQOWh0W/rjvV/wxTKgmCDKUciUmQzY/nP0oiWE95LQ1sKu5BpVCDYKS6cNnM8z45QRJCMGQSOAUA+TtdjudnZ189NFHvPfeezgcDqnjXm6J9ozGmsC/3mOvZf3LbBO5LRgMUltby7lz5xAEAaPRKNUUzcjIICMjg7S0NFJSUjCZTBgMBimtLlpzDsiA3IgoItOw/H6/NOEvsiiMHz+erKwsPvvsM44ePUpvb28/bXg5LyjE9oRGH3sl7Xmt62L7a1m/WhvxXTQ3N1NdXY3H45HM2aSkJFJSUkhNTSU1NVWq9BYfH49er5fmRC9H7zIgA3K9IgQCgaDorRVJwlwuF729vdjtdmw2Gz09PVitVqxWK93d3TQ0NFBbW0tnZ6c0vRA9but3kQjzOPpvpIPpcpotconeJoJB3NfnkBH67YvMHxXXxQ+N1+ult7cXi8WCxWLB5/Oh0+nIy8sjPT0do9FIQkICZrMZs9mMyWSSMnV0Op0UkDCgNQfkyxYJoNEaVGTzc7lc/RaRJ1fUsmI6lmgeX45KJDpROnK8K15XDC2M3he5RPIIXcu+aN6hyNxOcRyt0+lITEyUxrUJCQlSJJBOp0On0xEXFyct4hhTjBKK/HgMgHNAvkwRAoEQTXg0kCLZ+SLzQGOVoI9mKBDPJ/69XHL01f5eadu1br+SaR2tpSPjasU5TNGhJWpIpVLZzwk2AMoB+UeKRLsZq6NfyxLZ9nJguJZt13rs1a4Ta1+0V/hypvblzOlIUzlW+wEZkH+UxOTFFeV6QHM1uZ52N3KNG2kTC2jXsj4gA/LPkisCdEAGZEC+WvlfBGEwS3Oy7s8AAAAASUVORK5CYII=' alt='Logo' style='width:150px;height:70px;' hspace='20'>\"\r\n\t +\" <img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAAD+CAMAAABIpbocAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAMAUExURUxpcS8WOCsWMzUvL4RWpNbZ2dTV1ScSLkgnVNfZ2djX1ohCptbW1srKytHS0o1Wr4tMrZFfttfX1tjX15BOs8/PzzcoNzsuOsHBwZBWtZdetpBHsDMgN5BYtpZfuZJMstPR0MbGxj8uQFMnZJRfuG00g5JKsri4uJFYtpZduL++vtfa1TcyMoxDqczNzMPEw87PzoI+nEgiVo9KsZFRtM3OzLm5uY5JsZJUtWUxeYxKsNHS0JllusLDwlsrbc7Nz8jIyJZduDMvL8XGxTEjM3c5j4tMsc/Qzzg0ND04OHc5j3M6iL6+v5djt3A1hmEudMvLy4hBpdHR0JRcuI1MsZBVtYM8nzsyODo1NXU3jGIydHY4jtXW1bO0sisUM3I2iFUoZlEnYUMzQoQ+oIpRsysUNEMgUVcpaSkWMoM+n7e4t6B6u8jIySkVMZ5/f388mGUwecS50icSLysUM7u3vpaqzq+usNzh2oo+q0IfT5KqzjEXO5dctpqCxKOfn5Ztu6R3wH6hzERstFJMTLFUVF5WVu/160+YyKNfm72yxZNGsC0tLZRFsIdAooQ+npJBr2EudJJGsGwzgSssLE0lXH07lSUjI5VCsY9Eq41DqZNDsCoUM3Q3i4A9mpQ/tJE/tItCplYpaCcSL2YwepRIsVwrbjscR5JKskMgUZucnI6Ojy8WOKysrHg5kJFFra+wsKOkoycoKFInY0kiV3E1h5iZmDUZP4xGsqampouMizIXPIxAs5WVlbOys7a2tqmqqp+fnzcaQ6GioZeckUAeTbm6uYdco5A8sIpXqCkrK8LDwo6TiYZmn5GXjZQ+sD0dSY05rpCQkJKTkp+kmolMrcjLxZuglb6+vopwmy4mJpJZtEA3Nx0bG45Qs4p7lldOTqmgtIRzkXt5eaWpoIiJiEtBQYWHg7G2rYmPhIoyq4qGktDUznNvb5VwsIJ/hWpjZIY4rWFbWzQsLKyzqJySqKmNwZuCr45lp6muo9zg2ZKIm7Ggw5J6pZpuu9GHiIw+Pz3pyykAAACKdFJOUwC/gP4GDDFADwYfQBWPQA4fGDgn5lljU8t0KtsfW0zvaqhBQGiA+PG7ruVR1X933pl/f8zasuK60h+hSj20ZmPhnOmEMe8zzcWYVkDz/7zB5r67ipHFlKx6n4XYf/LfMO2/LtKBcMWdr3DT/vbPS7/q/O+Yoif0WO7mU+/np9TRjZV6o5HS3LmAdEQunn8AACH7SURBVHja3Jx/TFNZFsdfbGXRoCIiCIoUYgSxqyQqsqJRGaKQwcTVYSEb/Yf4xwZ3SSZRZzPZcc382E36mjTNS16T/gH/kDR9abZ9fzRt01fa1CCUqOGVX9YW6lbqjFBg2hnHkXF2997+fC0tMDvV3NfzhzFSw/u8c7/nnHvuucWw928Fu7DcsAJxS26A5Atac8QlrY6S3ADpops/zAmQEoI01ecECO7xjl7LAZDSEBkyXt6cAyACh+fFpCgXPEJ4gpajuaARnPRba/JyAYR22yzbcgNErfmA9yBtDgDCWNu38pxDKIYgTt0030WS30wAEFY3xHeQahyCUHbeg7TheE6AQImAPMLa+A4CVxZOelk738XeCRyCk0HGXlfAb4cIgENol0+v43lCbHOEtb7EWLfx3yFQIoz2CL9DFuRwuJYZdQO/60VH2CHuF07dGT5z7GuGHAS57GS02/kM0krjUOoCn1Ndw+fat42ADgFSNzl5HbNKIhy028fqa3icDSORFygk6GR1R3jPAerFF5S+gb8OqW52hDloV4ByGvmrkBZBhIMASZ1S3+KvP9wRDrCwlige55DqqD9wOhRgKTtvk3pJVOegyArOUeqeLfzOg4ADpEKKucPTw1BhZ4yDIP1zlNPK0xQibMWjHKDo9Zkovm4MQfpIcAQoypYpFQrLC9CWeTRcAQ4B4FCnP0zIL/nTl70oH2F14QmOUIAy6e+k4civbgt5PL0ob6PE8WUFOVjAUbQ65beJCQ+J9MF7dzNBrOOP/C6xAGB4e7FdJ+pR3Wl1CeIYBNSHiUn1R0tnM07QHgHz5uLFy5NXUM2COIcDxqtUf5S2AlKCJJcHFyaHho4iKvVucTKHKUUfwlKQXgic9rjnpke1mpoziGb70kTUBXWJ3wfi7nUuR2mEk3QFLNManaZ9N/rZA2ykvHMmwMFZV9Vi6A2cBpleq7HZtVWIFpHCtkTUBRyg3qVsNQl/dLdGkgtJevU6td7Y0IQoR35rAgOEq2WTyalrz0sEXAFBRAOZWs2oNbdQjbr7xIns4YBloslp/CD+zkubI0EACOeFmmHsDSKMDxy0f4ml9JpE3b5JEOtABJ1qVm/dg+wWq6UZT8iD9MJwZfkgEZMd0c5WKMg6KfWdbcgWvKV4ssxNrK0nb0u8oidiecXnpJz2GnRbEMkcyxTl1CUWTyzVQ+EwFGM8g+5ZaHUKB5D5noLVHH6f06TXINyi2yfmcIQAB8MRc2zjDgMAEI4WYY58cYo/GGsTtoojUq/0oNxI6UxwOOggm8QRawgRkINV96B8yNPl4JS7Xtj2aVpd0gOdA38g3YpvSWyjcPDagc7PrA4CtADud5H2B9bKqXcFPpblxN190QMF2DAF+93raLd9EpEXPC4o23sKVosH1FcmBu1RxvDoUvxx55JOpErjHexQgGURP+Ip5VRYoQDFcPu78UUHCdU9SHNgrQkQ0gv2UbfSpHsHyC2MZjfSHPnNBFfpjKUoTXqBYwK2PWg7pJrT4fXPOXVV6RjBT1hrPdogcT3D9cPquQ5J9FPAmtMPFvEFhHYvJTkE6+KIh7XVbeYLCHjtjJb72rsS7V8/o7vMIxBW3c5J3cJExqfdc1b0QeJCWGZ03I5CfiJTOlw+Leog8WqKcPnUmrNYWhCCDCLvEaw1nvR8NosoPQhIJOw51EG6EiD2waSeW6eD03YMDiEefrHuUHQH6ArohkRY2qgFyzA94gkxURmSQXsySImA2wkO9mDIr63oVJk3BYTbIsJp19JZjB9xi/TbkjWSz+mhwh8j75Jok5EOzSV7BGvjeAQnPMvb+KESglzWJq+eFu7awmlyCfXAVRoJXKTfWJ8+x8QaQj2oz2VGMobDtfTngnSLLmYeL+pjTr+L6J30Dp7N2CkKN00DuxEnibSEaJepClvLJaTgLup6j3RGSW/q/H4njicvrirUk0m4QgQuuZahOI4triXUZdIdnu71+FO71KWCFL0jP1HeBXdYDk/gWtqIFk8mOIX8gGaXC96WFNhSVMLdlsCsGRhtQl7wZHjtpBYi3UkyIb3WE6iDYF+QBJCz75PU2BzikNBuph35exc7/0I7cNJ1N/U0p40jeNrNWtD/gpcWMeFIkyv2tXJBTJoq5EGwXgHtAFVw6uJqcRMcECsPQLDeEO2gXXdTOybxnQlBepP7qij7hPC4U6/tdMePrshlPT9AIAntWU7JFfHzOVrgY6z8AIEkpItJmW/YFDtt95r4c3e61017/CkHuF2xfT2vLlT2+knPsijNhgVI3cTyRCJhy/vKk7KFingEjnHw7N7bF55gkks2Rcc4TBTfLrP/8b91W1KKedoV3MA4irCwvHAHSiSi/9Qn55HwoCOjEa3BsPNA7cljlZWVe0/WlhW+5+fdmpeX4eCjiNNRKSFAMQkHHdcY4xCWFauUYy/HhmVKpUSiVHVUCN/D8wvLL1Sc7zj2cuKfn3+6gWgqJjyugI1hdZlv6t4uHjj4+1P3PvtZZR5WSiUSqUx+fP+7hdix/+qpxhnZ2Evz03t5GxpDLsE9ApvFxtjXuHG8/benoTTyFqZfXTIPAxKJVCn/6N055UJZbeXAAKAwXHr18ZtPijYy+Nrd7PmqbsGqNq5/c/rE5OTk6OAPE2NgdUGW2nej+/Krx1RymfTxSzOgWHjzBvzWyxvYJYnpTVv+YTFuYEy26Epe/cLlc0evL0ZJZHtPZ3//d6NRJVEqpbKxmZs/jU5OTg8NjU5eObz+GeeX5G8w7Jxl8BecKmw/cdMsgyDKsZvZHXYWnj5UCXwBnD1suPnT9JBWox2sO3pk1waOanf15oMnGz1a9Eum+rds/5ss7BPlt8+yeRhR0ahSSqAAleZLz77+UafTWKarNviqwqxN29bIg2kJb/817BLJ8MSdrE10HtgrgQERik+2aB/Xq43aPbs3Z+XaxI7yis8/Te/WClX4d0rH3mZpFLL8mDwiPGCKGfaR06YBGL9acYWFFVdPnSw2vPzsdoZPFEdc0j9izcoxanmlTBI3qfzh/PiQ6Nf5YP+Bsqu1xQY5iElj397L/ErOR36xYkKfle8lqOVwAJL+icX/42svhTsvXLiwv+z8odpjxQdVcolSppRKlY/Hfv5419amTFork4fXlsKw8l02zocq5Mkkin5z5ak/3Kg4XSgUZsq7Qmg7y0/vrzhw4yNgtY2VMyqQgZTw8WXhAkQxPGaeeTW5MDqa8YLrgahIDLPjWZmHrDCMyaRSLgsIjPKBgYPFxccbO2oPQTsftvBfa2s7OhqP7y0urjw4AE0O05oMeiD6v5XKx4+HzYaniz88+1pj1Q5d3LouyFR2vv9p599nzMMKRRILeBx5+E/ZaoPvHT62Ehr3FUilCogwMLO4+P33uh+fj9t0mpojGWvOMlV0ac3et4iykkxEz96+npgw9/f3AZwk52zEpApg/dAMhpmnr9++XWGmpqbG1WqAMbjWzdAbMY0s3ddmBwQT1TzXrzx5+GDkXwazub+vr08RNiV8yelMoox8QAE+2tdvNhhUMyOvX79dWXE6mfv37+v1NrtRY6lZpzLoiIizb+QFky0QbPORuu+ej08xK/Ozs08ePBgZmQBmkPdnMKXSAD8wMTICnv/J7OzsPPXo0SOAMAX8ABmGpqvOXlvn2QpVykicfPiN3iLKWp1SkFfVM6jVAJopxslSwObnZ59Ae5hs4X97Mj8/T4WNjRDo4UoyarSWwYYzJ640FWygSLsaScMKw7+/yfIX3Gw+fPjsufa6husaq1Gn+x931xaSWLuGu9Cgg6cyUEMtEMtip6CllNFEUDcF++9wl1d/N3vqJvjbMwz/MHv2xb4QQbwS1kXeCKLIrzei4RFjtcQynE5GYEwUdmKGYJpDc4D9fd/S0rKZsnSa/4lElwv19fvWWu/zvM/7GV5dBUFBzOcF+OjWUCgcdno8QbtD09HSEpXR6+p6btpixWKTAzK7kJoL378dvYJKLetpl8lonARI4wMBv9/vcDjsdnswDXAXbACbAwEcxxOJRDdNJpO1t5ZRqbfLzkaw9KG+kyrqqnWV9BoAOkJt2z8H0ng0TL8A2qPArIwnJi8ipoXUnkvz6y4jSFHpyYkVeZuyFbmDZqaYWnQveQ2aBRNrrrgDwle8LGIfNzdzxtpM7fmKuAYURaQwH84U8VvKXNM3U6lXRVwDSsAGiexEEeNASZZuFo6HLdRRLAs3pVcLDsT4swpZkbpuSR5iNEW290AcTUXr7ZUgeYP4syNa2Eo5jCqBmvK97wnxlWVT5Ohg71WoeD+MISJlGh0ReT1wy6FksARcQNOTcUJyrYDIUsGXx4jk11cHcz5nS/Fa+DPUV0e4h7iC/huJsxQen8+VqBRirRmwXEhj5LxrDj8hVOIJ95vPsTmbK1jMVlJJhvnqMCJusSiUcmXviEjA4/GYLBaLwWAAlgtuGSwmk8eDPL1ZLq8HPN2gz+aZmKU336CMgowXi3uHTjditpVQccu/agOmu6B8+nOlyGARCwH5VagAFABsQNMNmY+tv0LHMEw4wrwskCugIOv99tq5sbLiCnJai5s9CNwElo8lXiK+uSz3yr5GIxF/kXNiZYya9cShd/IL/snlczn9dUVfOEU9BCi8tnDojLOA9kY+fuBkByISYvGToffT64Gwy+r0N5ZiRQX6h4iXMBlvz97BQEDuu7a2sLMzF9vdT5xLfVUKLfFUMn12Fg2Gwx5NY4nWG+nSnH6MuL2mXGnl+4AE3ut1RxaWdt6mDg4WV1xheyItvM28MFp+4zPK/rcesAcdgcbSrW9R0/0u9Hl7IbKm1wOKDmWGPOoKlCGQAgF2mcUAgwcx7KRgEDGfK+Rx4Jl1Xqpfdorggd+VCPgDHFppV3+hdWg+rfps21BbWXO7vaS6kgOTCYyA2w0CWFgCw/A2tXewuPgKxOAMOjScgbrKzNFMRcdKNS2akA7UlX5tpK42aQBKK/Oxo6Pt7Z2dnaWFHICvH+Lt2wMwBouxGGTxSAWKcura8pxZxwd6Gn4SE6RWypC08glqK/Ox2CLA3DngI/D5Yz6fyxomFZSmxsbhnorK/Oks9eeuU1XZ2lXTPiXt6PA77MGgx+N0OsPkv8fjgWKEw6/paJE+muqr6Wp96B09sHhWK6NB9DVGM+juQ1tosoayX3HZ5YryDP4GP3r4C0Lw7O8QBUWkIP4GgVC4Qq1e+evHwZJrMa3ut18+DkY9Umz0Y3/c3GrJEEx0jrIeWCCdGSdEXNjLV/O+b0Zi8KoEXEm90Gw2GIQiyoMKRH5e4dUTgOSy5cpOxNwBU0fMHdyAu0y1aKSzUwlL64CxayFnxAxs7kPyXo5h2fwbMNv0XTGAkK1gw+q02EBydhTEBfQGtujhhKLW6q9lgTqyLH1t/Ven17InmA8lEm5cryucthuJk/88lEhEJ/nFlBuJD97k5MNxyP/xxksYdYVIKO6Fbet+4sFY5Kmc049rUEy5TRCzXqig7C36rPaWB5PcU3s0p5sLbkDWf2TsIGWIWa8hQkooNp81GPg5i3Kw+FzuxMToiCDnclaOxJSPkTW9yTSLjCr5JEUoQ5jcaxFSQ1l85bM6HTin9DOLVSUaqxdi8fjJifvp75fSXXo3KaYsLUXW1tx5lBQvNHNAFSUFhSDbCtSBOjht1aWmXf0jSqEBWz48sXx7MVMJCOCViU3vkfqDuxvzKzboU1nKkVKWlpCMkoI6SmzFZQ17/t002FZ3A+peUXufmQyPqwLX5uU4dCxPnw2Utz4Zf5L3TWnduB9pKVBKsSENZQ/8IR1oMRbzuaxQywrg3Y0NZTcciue/31skAonYgOlgteLL9PHxeiIaja4fX9P5TKXXdA1IOR1+RxD5VMLhUAgaUcJOT9Bu92seSx+1ldPptzhPCYjme7reKQwYBstS376sryf8Dj+eWB8e/4GaWTk+3tfXwAEhJyCglsJp6BunFdDBzjcb+PcxGoq0f3zrNY4Hg2BacNpram9odaiuzUKh9gil7lB09/NUc9pZqt+yvwuHnHac1lris0ynOW4ZHr6jS7afjaWTdOzzhs/q0dBKvYy1QIUdeqeP8bu18AvE51wDW7BtBAdLvEYDQ6QyLx8mp89wx+BdRG0R+4Jp6LyRr3hJ1wPgiTrFsNFm8uwsYbffqWVRnpNhzHqHnpeIA7H6+RKF2AILot+mz44Dd4yjTJ6bL+mIQ7dylF/MYCgUJnRECC2AVy7HT5KTIIyEw+7IxEEt7ETDFeuvlMS1ZrFCwuWr71sAYamRI4ItNkNHhFFPxN1D76eO12HDUBMt/fn7XxZ4xqx6Gl++Ut4H7/MXtDkoR0RqJpN1B/GAwmAyeWo+t1eplAuh8x81LmBGMBaWofdfojAKuyMgzSRkvBNJoW81Mwn40uzVnFxHaiU6Q5KtGpOMcrlcEV+g5v0oqnTbAtidO9ErGVOxhZZz9QWZCnTLBEG4tybf+3F83+7xwNHIkBXKiFlfeN9bnefrAsrJyWqt7qrFAVobDAaDBUAsrCchl8vHxppJjI2NgYfpJ4RiC4IB+lGy+hbQC8HOhSTsXHDs739ywhKdf/DiR1b4Cn189A5zt25/1Xe0jeq1poy3Py/tQ64Nw8XDSxZ5UtYCX/xVeQgQLpPXa0puDX04PQ3v7q6uhqDZvCnR2FN5fkFRmHVxJTjaywu+MLY+3t9dBRRjbnsT1Z9BQCRRyjtEt3A+kIQRvJA3Ccbh69fTkHV1dcMF8nxPENBGWe054+KNCnXgigJy4C7pHVampdLbBpscnjCgGPMx29wRokyRrIo6MgncqvMiXXi3JCPpzgXf/AbsXEBFa03HVGPN+a9aUXgjKguYg8TJ+wEZx4/f0UJQI+vrTuABh92TpkyLi7CgjsaIbFfAjLldCllegeytRoOb7FzY3Nzc3ratrMQg5km+ZffjgzRZV1bBVDChMoA5qyXiyS/HUUfQIbsHoaSmvLy8XcqBlMnugcZ+aOmPgTGaOzoi2xVghwJJbCO5QFSXbF/YBvvCyjsKYMUHZxKqvAcecx61l2c1LrP6Rc31FkQh9HH3ZCJqdzrvd6mh8vGGnr6p6OAg3gRO84AFwlYF1JUQI7F4HdLPo/6XtHNA04QPDkZpdW0NWXOfUqYe7fzTDUV7mE8Qlm+v8Xcha9hx/5JkRXUlQDV9uL29kQPmHGxUQCYBRG4htw1Zs0GyXdI5AHsYYANDS2P7cHs5eqEs3sur4veqhGYzhvRkTE94tz68tu9aXZBDFFmce9KKQKdNPUKQQrTkAG2SomenZHS0+5NLhy2DyeJ3KuVbyb/AoY3Yg3GZMG29OQ3urrpgK21fUQz41c/++w/B5dpZRQ6o58jdfoV09Av4/xppZqNrEFk/0YFcizC5QRQhEAU0QvmL5WqsmHn+dMvytH6sV1TV38/7PzvX/9rWdcWlxzIryZq4cSpnibp5VtS0C+4aQUadLE5hsQvOYjdd52J7s+M6/sZibOwfVpP8BWHv7emhR56QHkhWn6ygPKVID6eoazsNlYB/mAyjCwQMg/4wQggElkJKftk5975vV3Y8e3XSFXJ+su597937Oefe8/mcKz0/v1kNCWKlo2PnwV/T352izMIMTngVGf7GAjD8g7/8/R/4M5wPrx36ZcOTfB/iFy2/WVm+f395+U8v7X395VeO9bxz/ocHD74Ioqtj//7nt3/Ptu3b6veDyPrRiyCzzp9/p+fYKy+/vnclgmL6j/T9UPKC6BXUKB8vADvee/DgKiTFP+MPuq59+pOmJ/4fhrZ7Tj766sztlft37txZBkCwtMkroPil26W9YKiv9u69dOnHL1GR9cHCBxFHZ5kBuHkTpeLNG0jw95Dgr0ISRBB//ez6z/c1PZUj1V1vfv313btLjx599fszZ84s3LiPBphgXnf+hgacf+XK8rL541l0um03l5dBGny8cBvs3j1YSQ+uokYhqRlkyrXf/fSNpsNP67eA244fvXv3C8tuASAwwHSb2MrKyg1iBAX9E9poJ2wCYg8wZ5vvzRF6+egz8nLiayc9T/Xcafuehufe+tkSvvj2+a0lgmfpc3wJ7lN8D+76P9cwwjcfffjlw4dfotQ1eYYcqV7/5NC+fW80NezZ8+189bOt6dWTr31xgcJBCP9i7N+WPXxIJg9GaRMpEgkS+fHW0tJzTa/+9tv/Fm5bw44dDTu+D2x99OiJX5mQPqF2vcZII0z+0IkTJ+DyNw//oKGBJfj/F9sFbP+CbcffvvAWsQtvH3daXzj8h+/U/wlDayAvVO7Zs6vB88ye2TN7ZltmAY7jAmu0+6C97rsEZGR+Pj5bt9o4aB9/UoOyQ1E/BthGX61jG7lxr9c7zvkD5hNOsRcMzMdzJbBcLs5aDpoDTwjIPHjJsQHSxrGNzGrw+SdJZ47YwGygMT4fn2EeeQpwlKvVSjVTLi+6rVzOVCsjWzJtnOI8xwCJo/fssfz0KvSd3eYGMjIzTzthUmDlxdJFwFNiQjILOLLFaCEaLWZZK0Lr6JYAGcd5M0Di8VK5WrGHmiNA4rnFjNPY7Pgao5GjN8CkisVitlJFCzMrC3BENRFMS7GmaWJabN0KIDM4DRZICbxXKFhDFXBKXGmxmo3abUHrWv8MgVHBPg1nqmkp8DuY282N8VI1qqWNRKK/S7Jsmv4JjUbfFuBoBFdXs4z7OC58DvxkDZiehq3dzIXHChppm+4LhSwX+jEc5UoxmhLT3dDeZRhwQxpdL/rcK2sxW0gn5J56j2dKB5PBdnt2T7TDX6qg9m8BEC84q1iodYlvWkrQ4WQ9IZm9fWkD2067vADLspTJAgypl2Lb3dmvJ4gZbc7TZnKZoma0d+CHKVVVBR4MPwwOw99JXj39zfN7HMZIiaHa9m5Dp8PxvCC3U+cGpYQsCLyL5WbixA2i1N7pnIn1AnqYrNxrN/njpUoh3T5IPkzJOHdFUejVw/AhKfR+Uxz++fhipSAaq4FIOh1OUZKCTLuDsDiEZMwdTcSRgkDtdN/bK4MLkny7k0/i5WxKMr3eldBlPpmP5OnHQV1lrv1f+RYDokn6kdqeIdGQ+Vg+cvlyJJ8UaEiCcKHKO0DqTBwJueb2XsSbFAatlQWDRMUuy0WilFB5xQLiCcEnXu10xXlkfBJZyzvbuErQjIwPQNeAdyTgOeWIHj/SbRl3oTp1JNQXDnOc3wYC81P5Y3jiFVF4GpJgFJAISVdA4G68brjmC1dfPyBJ8kecnAUrq9V+sijJAESxtyPEWe2xvTNukSvIgIscq8uQsUhXLuedhKtGLCYkOND3vJoQo5XFnNe6aRQmLfMtBIkVkma4FtDZDAL5Du9W+ZZazw0auLqGHeofStm7YBRiqAsxG4inLd0/UW9dOUumWgK+R8uUJwNuxiJdZbMLJMKkCQQJg3qZFxLpVLGSsYF4IVC60FKfV5R83gxJcyWqGQ4QjpADwI3Vr1qzfYY83DPoami1k/EoLgE3EI9Dhz4y18VMBVQAsWJ27pSd+ijxml1FIhF8JlljPBAHbmhJTEWLNot5q1ExIbR4jsViMdzvGJJm2BCSLNiXkIUFzj2wxu5reyxZ0ye7gTA4AAaw8bnubhHpSEtFR00XeIlcK0ahazpNiBe4mqR4zsEBPld1KS1qQ8xwaounHvJvMhYjIWmuMEDiObjGUJPK5l7lWgfIeJywa0Hrg8m3diWAXdNiipJ1gOyDaGqMLN1eg3I1+eT3jg6dozgiB86enZrq6urqY4HAdu3BrB8jIQnCcxwgAUzcGJB8yxYBaYRtjGs9bVJpP2oAI635TMIDv2uSmd5Ok0693eE9kmQjLWsOh0BadRkSPQlJMIpbwgJSBw/WSP5x3eyzCpbmILHm5sDGgQxQHJIlWDphaFXWJbp+wG+4n/tNytrdj9qmt3XDQDy9BpIHhiRYKDBAMmRl5d0319GyBWUk7slihZWj6wKBgNC5WqnYZ+igJFSdAONKoECQpXkzi7S290/sZggcl9Y6QFolA67BkARB3hoOEMhZJP2wQBAFVCag6lHRZ6sbBzJLsyAqCl5OSCLqVvAhL+gk+QJImBFMBHbzNOYSH0vg4OLkukA8Y2mDhqRTFNNuILhFkKJdv6upc5UmNH2GNwyEZsEEEQU64IC6AEk5maSScpQQQgzSEoBMpYbYvDhKKE7JrweklTANhATrh4RqAfEBG0oA5HL+rBsIiuECrZg0TJEbB4IBQXrFbA9AUrCQ07jyYzwB8t5cCoejnVD0pLQxF5TRItmv6wLxjIk0JHLCADVhE+JFEIIyAjnAnPqEh5xapjcUOr1xIIvU53lQErIBXKARVRZTknR/v3cOFkBMiWFI0uAj6O/zsQQeWx9IAGkPQiLIOq5ZO+tDRAiQZA2zd1m1zJFNpd9cmXo18rjE7etrB9ZSoHzRkWCwHB3ysU9dH4gnTEICSFSU3LZ0rpClBVJsgr03hLUMFjM7NwVkIFOkWbDjsRzk6xwGdgZBpeoJLEVFbYx9qrI+EN85EhJ4AnKjvYwIHyqRSGy4RmhhssFaZnNArI7IxOOKJ9xv9RPDSVDWgEXGuGiBzQDxhDXcdYqCusupR941B1aEThYI1T2RyOaAjFjpnNFunX3W7hvIZCnl21gAiqUCNgiEhgR0MJgDpNlcCgrfz+T0MVIZwJrbHJCA2ZGP9TiN4UKBrB5fCUk2ap0DdPQkEQvknxAL5Nj6QGhIgDixzHKxEElbsElUpuaeMyuOTQLxzFpAhF7TMY1zSElE/3pzWHOkbDF4BAgG1rrKAskf+C9AICR4Gb6n7JoACRSky5igjzkx4fAUAK9eE4jvogVkVW9gTsMI4+OmxxqbG7kBUyLg3vDnFqugi7Vu80itU8YzhRhvrupxE0iyx2dWv+7hVIfqwjQzXmaAQBVPAgWFlzRtFtinvITY1gYCZfZAyQLyfk8ozEpKP4lwHrhX0qKV8mKpRGosmpkuZkD8ilhqIKe3TZPzA+V9Z4NRIGr7WDg8PhOPu4dThalQXxsTEhYIlKkmg+np1Ny7HDc7aR4D6Gv6fN7dC9N1Tiytx4FCUVCFkHo1k4F6sGBmWK6CZ5UGahfQPoUUzShWhgtkcL4xjGa6kM2USiVkprg1HJbyQzUhYdd2m0TSGa8aMHS1XMqRPUmvXQMIHmuavXm4RwzWFpbkcRASKEMKUTzg1qz9HcDzAV1GVidIiBBz9rafZh50j1bA42dow5CS4QRQnukhdpfUAPEM9qvW0KkoOb+GLQljJNcCApKSnB+R4yAMY3DVsQU+LkbkLxEp3YMuXQg3/mfAqhDoR2A7DNyiRC5s7cDhA22nAX0KFDq/bNkRiHVAA7f4o+US9NKGQ9UVZDWoeQQZv16YoGrpCurlYPEIqFMBHTFbB2o0YRkq9UruBRdHwJbdFj9keTFgEZIvENYH8SOwPReJ2jRK8gM1jkHN/C2LC6JAAQDsRkwBWwduUPuhFVyYxSY/uILqg7aA/O2A5UZmL2ggAMMj7ErAnqO3NzcMeHNgK6AFMsMCgcDQC3W4jAOoVQA0umwI7JP7qXph7l6w9DIEaQzLhEYjuJMKtw4et0lQMax2e+mCev2Rql5Qp4G1DqoryEbBKBgFo2AUjIIBBQA5SIix1GV4bwAAAABJRU5ErkJggg==' alt='Logo' style='width:100px;height:70px;' hspace='40'>\"\r\n\t +\" <img src='data:image/jpg;base64,/9j/4AAQSkZJRgABAQEBLAEsAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAMABAADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD9U6KKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKAOX1PxQNI+IWi+GbqTEOv2F21vk/wDLe3MbFR/vJI5/7Z11FfP/AO1T4gm8F6p8O/G8Jb/iU605kC9WiZV8xf8AgSKw/GvfIJoriGO4hcPHIodGU5BBGQRXJQr89erRf2WvuaX63PXx2B9jgsNjIrSopJ/4oya/9JcSSiiius8gKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigD5s/bmjJ+H+gyj+HV9v5wyf4V6b+z14mbxX8HPDOpSyb5obQWUpJ53QkxZPuQgP415l+3NIB8P9Biz97V92PpDJ/jR+w5rhvPAWuaA8m5tO1MTqCfupLGAB/31Gx/E187Ct7PO5U/5or70r/5n6LXwft+CaVfrTqN/Jtxf4tH0nRRRX0R+dBRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAfK37d1+qaV4S0wON0txdzle+EWNc/wDj9YH7CepNF4n8UaQG4ubGC4I945Cv/tWsb9tnxHFqfxLsNAgfcNH05BKM/dllYuR/3x5Z/Gm/sQzNH8V9SiB4k0KcEe4ngNfESrc2fKUe9vwsz9vp4J0uAnTmtXBy++fMvwsfcdFFFfbn4gFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABVPWNWsdC0q81rU51htLGB7meRuioilmP5CrlfMP7aHxVTS9Et/hhpF1/pep7bnUih5jtwcpGfQuwz9F9Grkx2LjgsPKtLpt5voevkWU1M7x9PBU/tPV9ord/d+NkfKfj3xbeeO/GWr+Lr8ES6ndPMEJz5adET/gKhV/Cva/2HoC/xS1acrxHoUoz7meD/A187V9V/sI6Sz6j4t1xo8CKG1tUbHUs0jMP/HF/MV8Dk/NXzGEpb3bf3Nn79xh7PBcOV6cFaKiopeV1FI+vaKKK/ST+agooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooqvqGoWWk2NxqepXUdta2sbTTTSsFSNFGSxPYAUNpK7Gk5NRitTnviX8QNG+GXg++8W6y4KWybYIQ2GuJj9yNfcnqewBPavzW8WeKNX8aeI9Q8U67cede6jM00rDoM9FUdlUAADsAK9A/aF+NV38XfFZ+wvJF4f0xmj06BuN/ZpnH95scDsuB1yT5TX55nmZ/Xqvs6b9yO3m+/wDl/wAE/ojgbhj+wsJ7fEL99U3/ALq6R9er89OgV95fsbeGX0T4RLq08W2TXL+a7UkYJiXESj6ZjYj/AHq+GtE0e+8QaxY6FpkJlu9QuI7aBB/E7sFA/M1+ovhPw9aeE/DGleGbH/U6XZxWqHGN2xQNx9zjJ9zXXwvh3OvKu9oq3zf/AADyPFDMVRwNLAxes5XfpH/Ntfca1FFFfcH4aFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUyWWKCJpppFSNFLM7HAUDkkk9BQG+iCWWKCJ5ppFSONSzuxwFUdSSegr4e/aa/aKfx/dS+B/B10y+HLaTFxcIcG/kU8f8AbIEcD+IjPpWh+0t+0sfFv2jwD4AvGXRVYx39/GcG9I6xof8Anl6n+L/d+98118Vnmde1vhcM/d6vv5Ly79/Tf9s4G4KeE5czzGPv7wi/s/3n59l0332KKK1PC3hrWPGPiCx8M6Fame+1CZYYUHTJ6sT2UDJJ7AE18rGLm1GK1Z+qVKkKUHUqOySu2+iR73+xh8NDr/i65+IWowE2WggxWhYcPduvX32ISfq6HtX2zXM/DjwLpfw38G6b4R0lQY7OIebLjBmmPLyH3LZ+gwO1dNX6dleCWAw0aT33fq/8tj+YeKc7efZnPFL4F7sV/dW336v5hRRRXonzoUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFZfiXxPoPg/RbnxB4k1OGxsLVd0k0rYHsAOrMegAySelKUlFOUnZF06c6s1Tpq7eiS3bLt9fWem2c2oajdRW1tbo0s00rhEjQDJYk8AAd6+JP2i/2mbrx7JP4M8DXMtv4dUlLm5AKSX5Hb1WL26t39K5348/tF678WLx9G0kzad4YhkzFa7sSXRB4kmx19QnQe55rxuvh84z14i9DDO0er7+nl+Z+4cHcCRy7lx+Zq9XeMd1HzfeX4L12KKKK+YP1AACSABknoK+5/2VvgU3gDRv+E38T2m3xBq0IEMMi/NZWxwQuOztwW7gYHHzZ4T9lj9nSS4ltfid47sMQLibSLGZeZD1W4cHsOqA9fvdMZ+vK+zyDKHC2LrrX7K/X/L7z8X8QOLo1+bKMDL3ftyXX+6vJdfu7hRRRX1p+SBRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUV5J8cP2hfDXwjsn0+3MepeI5kzBYK3yxAjiSYj7q9wv3m7YHIxxGIp4Wm6tV2SOzAZficzxEcNhIOU30X5vsu7Z1XxO+KvhP4UaE2teJrz944K2tnEQZ7lx/Ci+nTLHgZHqAfgX4tfGXxb8Xta+365P5FhAx+x6dEx8m3X1/2nI6sefTAwBzvjLxp4k8fa9P4j8U6nJeXk5xljhY17Ii9FUdgP55NYlfAZrnNTMHyQ0h27+v8Akf0DwrwZhuH4KvWtOu95dI+Uf8935LQKKKfBBPdTx21tC8ssrBI40UszMTgAAckk14h9q2krsYAScAV9Sfs3fsvyao9t4++JOnslku2bT9LmXBn7iSZT0T0U/e6n5eG6P9nf9leLRPs3jj4mWKS6hxLZaVIAyWx6h5h0L+i9F75PC/UAAAwBX2GTZDa2Ixa9I/q/8vvPx7jLj1NSy/KZeUpr8VH9Zfd3BVVVCqoAAwABwBS0UV9gfjwUUUUAFFFFABRXG+PPi98PPhtAX8WeJLa2nK7ktIz5tw/piNcsAfU4HvXzn4v/AGzPFfia+Xw98IvCUkU1y/lQT3MX2i6kJ6bIVyoP1L/SuDFZnhcG+WpL3uy1f3f5n0GVcL5pnC58PTtD+aXux9bvf5XPrHV9b0fw/YvqWuaraafaRDLz3UyxRr9WYgV5tF8erDxXqMmifCXw3feLLmJtkt6AbXTrc+sk7jJ9cKpJxxmvMvBH7M3jPx7fQ+L/ANoPxNfXzn549JFyWIB52uynbGP9iP8AMdK+ldF0PR/Dmmw6PoOmW9hZW67YoLeMIij6Dv79TUUamLxXvOPs4+esn+i+dzXF4bKcp/dxn9Yq9bXVNfP4p/JxXmyhoWl+JAFvvFetR3F0eRa2MZhtYT6DJLyH3ZsHqFWt2iivQjFRVkfPVakqsuZ2+SsvuQUUUVRmFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRTZJI4Y2lldURAWZmOAAOpJr5B/aI/apfUDc+Bvhhfslr80V7q8TYaXsUgI6L6uOT245PFjsfRy+n7Sq/RdWe1keQ4ziDErD4Vafak9oru/wBFuzsf2gf2p7HwcLnwf8PLiG81wZiub4YeGyPQhezyD/vlT1ycgfFuoahfarez6lqd5NdXVy5lmmmcu8jk5LEnkmoCSTknmivzvH5jWzCpz1Hp0XRf13P6KyDh3B8PYf2WGV5P4pPeT/RdlsvXUKKK7b4WfCLxd8WtbGl+HLTZbREG7v5QRBbKe7Hux7KOT7DJHJSpTrTVOmrt9D18TiqOCoyr4iSjCOrb2Rzvhnwvr/jHWbfw/wCGtMmv7+6bbHFEuT7sT0VR3JwAOtfdHwI/Zq0H4WQRa9rwh1TxM65M5XMVnkcrCD37Fzye2BkHsfhR8HfCPwj0UafoFr5t7Mo+2ahKo864b3P8Kjso4Huck93X3WU5FDB2rV9Z/gv+D5/cfhHFnHVbOHLCYFuFHq9nP17Ly69eyKKKK+iPzsKKKKACkJAGSa81+J/7Qfw5+FscltquqC+1ZR8um2REk2e2852xj/eIOOgNfIfxN/an+JXxBaWxsL0+H9JclRa2DkSOvpJNwze4G1T6V5OOznDYH3W+aXZfr2/M+tyPgvNM8tUhHkp/zS0T9Fu/y8z65+JX7RPwz+GYktNS1gahqqZA06wIllDejnO2P/gRB9Aa+WPiN+198SfGPm2Phx08M6c+VC2jbrll/wBqYjI/4AFPua8QtLS91K8isrG2murm4cRxRRIXeRyeAAOSSa+s/gj+x5FGtv4n+LMe9ziSHRUb5V9DOw6/7g49SeVr5769mOczdPD+7Hrbp6vf7vuP0Z5Dw5wVQWJzD97U6c1m2/7sNvm727njHwq+A3xA+M9+dTTzLTSmkJudXvQzB2z8wQHmV/ocZ6kV9tfC34J+BfhLYCLw9p4m1CRNtxqVwA1xL6jP8C/7K4HAzk813FpaWlhaxWVjbRW9vAgjiiiQIiKBgAAcAD0FTV9Dl+T0MCuf4p93+nb8z874i4yx2fN0k/Z0ekF1/wAT6+m3kFFFFesfIBRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFR3FxBaQSXV1MkUMSl5JHYKqKBkkk8AAd6c7pGhkkYKqglmJwAPWviP9pr9oyXxtdz+BPBN8yeH7dyl3dRtj7e4PQH/nkD0/vHnpiuDMcwpZdS9pPfou7/rc9/h7h/E8RYtYehpFayl0iv1b6Lr6XYftIftL3HjeW48EeBLySHw/GxjurtCVe/I6gdxF7fxd+OK+daKK/N8Xi6uNqurVev5eSP6RynKcLkuFjhMJG0Vu+rfdvq3/AMBaBRRX0f8As7fsv3PjI23jb4gW0lvoWRLaWLZWS+HUM3dYv1btgcl4TB1cbVVKirv8F5sWb5xhMkwzxWLlZLZdW+yXV/8ADvQ5f4Ffs3eIPitPHrmsGXS/DKP81yVxLdYPKQg/kXPA9yCK+6vCvhPw94J0S38PeGNLhsbG2XCRxjknuzHqzHuTkmtG0tLWwtYrGxto7e3gRY4ookCoiAYCgDgADtU1foeW5XRy6Fo6ye7/AK2R/O3EnFOM4jrXqvlpr4YLZeb7vz+6wUUUV6Z8yFFIWABJOAOSa+cvjZ+1zonhB7jw38OxBq+rpmOW9J3Wts3cDH+tYe3yg9zyK5sVi6ODh7StKy/F+h6eVZPjM6rrD4KHM+vZLu30X9I9m8efErwZ8NdLOreL9ahs0YHyYc7ppyOyIOW+vQZ5Ir48+Lf7XfjLxoZtH8FLL4d0hsqZEf8A0ydf9px/qx7Jz/tEV4p4m8U+IfGOrza74n1e41G+nOXmmfJA7Ko6Ko7AAAdhWVXxOYZ9Xxd4Uvdj+L9X/l+J+4cPeH+BylKti7Vavn8K9F19X8kh0kkkrtLK7O7EszMckn1JroPAnw/8VfEjXovD3hPTHurhyGkc8RQJnl5G6Ko/M9ACcCtz4QfBvxP8YNf/ALM0eP7PYW5Vr7UJEJjt0Pb/AGnPOFHX2GSP0D+HPw18K/C7w9H4f8L2IjThri4fBmuZMcvI3c+g6DoAKjKsnqY9+0npDv1fp/mb8WcZ4fh+Dw9C0676dI+cv0W78kcj8Ff2efCfwjs0vmRNT8QyJifUZE/1eRykIP3F9/vHuccD1iiivvKFCnhoKnSVkj8Bx2PxOZ15YnFzcpvq/wAl2XZLQKKKK2OMKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAoorzf49/FWH4TeArnWIGRtWvCbXTIm5zMRy5HdUGWPYnA71lWrQw9OVWo7JanVgsHWzDEQwtBXnN2X9du/keN/tb/AB5ezSb4VeEL7E0i7dZuYm5RSP8Aj3BHcjl/bC92A+Q6lvLy61C7mv724ee4uJGlllkYszuxyWJPUkkmoq/McfjqmPrurP5Lsj+nsgyShkGCjhKO+8n1lLq/8l0QUUV7N+zV8EH+KviY6rrcDjw3pDq10eQLmXqsAP6sR0GBwWBrHDYepiqsaNJas7cyzGhlWFnjMS7Rir+vZLzb0R2H7MP7N48VPB8Q/Hlif7HjYPp1jKv/AB+MD/rHB/5ZA9B/Ef8AZ+99oIiooRFCqowABgAU23t4LWCO1tYUihiQJHGihVRQMAADoAKkr9Ly/AUsvpKnT36vu/62P5n4gz/E8Q4t4iu7RWkY9Ir/AD7vr6WQUUUV3HhBVPV9Y0vQNNuNY1q/hsrK0QyTTzOFRFHck0avq+m6Dpl1rWsXkdpZWUTTTzSHCoijJJr8/wD4/wD7QGr/ABd1Y6dpzS2XhmzkJtbUnDTsOPOlx1PovRQfXJPmZnmdPLqd3rJ7L+uh9PwxwxiOJMTyQ92nH4pdvJd2/wAN2dF8e/2pdZ8fS3HhfwPPPpvhwZjlmGUnvx3LHqkZ/u9SPvddo+fiSeSaKK/PcViquMqOrWd3+Xof0VleU4TJsOsNg4csV97fdvq/6WgV3/wa+D+v/GDxOmkacrW+nWxWTUL4rlLePPQertghV+p6Akc54J8Ha14+8UWHhPQIPMvL+URqSDtjXqzseyqASfYV+knwz+HOg/C7wla+FdCiysQ33Fwy4e5mIG6RvrjgdgAO1elk2VPH1Oep8C3832/zPmeNOK48P4dUcO715rT+6v5n+i6vyTL3gvwV4d8AeHrbwz4Y09LWytl6Dl5H7u7fxMe5/oAK3aKK/QYxjCKjFWSP54q1alebq1W3Ju7b1bYUUUVRmFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAITgZNfnx+1H8SH8f/E+8tbSctpegFtOtFB+VnU/vZB/vOMZ7qq19ufFbxWfBHw58Q+KEkCTWNjIbdj/AM92GyL/AMfZa/MSR3ldpZGLMxLMSckn1r5PijFuMIYaPXV/p/XkfrXhdlUalarmVRfD7sfV6yf3WXzYlFFFfFn7SaXhrw9qfizxBp/hrR4fNvNSuEt4V7bmOMn0A6k9gCa/TL4d+BtJ+HPg/TvCOjoPKsogJJduGmlPLyN7s2T7DA6Cvlv9iHwAmoa5q3xDvrcNHpifYbFmGR57jMjD3VMD6SGvsivuuGsCqVF4mS1lt6f8F/ofhXiXncsVjVllN+5T1fnJr9E/vbCiiivpj8xCiivNv2hPiM/wz+GOpa1Zy7NRu8WFgc4KzyA/OP8AdUM31UVlWrRoU5VZ7JXOrBYSrj8TDC0VeU2kvmfNf7W/xvl8V67J8OfDd8f7F0qTF88bcXd0p5XI6oh4x0LAnnCmvnGlZmdi7sSzHJJOSTSV+YYvFVMZWdapu/wXY/qXJ8qoZLg4YPDrSO76t9W/N/8AACiit7wF4Zl8Z+NNF8LREj+076K3Zh1VGYbm/Bcn8KwhFzkox3Z6FarChTlVqOyim36LVn2J+x38KYvC3g9vH+q2w/tTxAg+zbl+aGzB+XHpvI3H2Ce9fRNQWNla6dZQafZQLDb20SwxRoMKiKAFUewAqev1LB4aODoRow6fi+rP5TznNKucY6pjau8nouy6L5IKKKK6TzAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooA8H/bP1V9P+Dn2RDxqWq21s30AeX+cQr4Pr7d/bjjdvhho8oJ2rrsQI9zBNj+VfEVfn3Ekm8c0+iR/QnhtCMcjTXWcm/wX5IKKKAMkA14B9+fol+zB4bj8NfBbQECAS6kj6jMQMbjKxKn/vjYPwr1asLwHZpp3gfw9YRoFS20u1iVR2CxKMfpW7X6xhaao0IU10SX4H8l5riZYzHVsRLeUpP72woooroOAK+Ov26/Eckuu+GvCSSkJbWsuoSIDwxkfYhP08t/++jX2LXwp+20sy/F60Mp+U6JbmP/AHfNm/rmvD4hm44GSXVpfifdeHVGNXPoSl9mMmvW1v1Pn+iiivz4/okK9g/ZNtIbv466A0ygiCO6lUH+8LeQD8s5/CvH69L/AGbtcj8P/GzwrezsFjmu2szk4GZ42iX/AMecV14CSji6Upbcy/M8jP4TqZTiYU93Tnb/AMBZ+kFFFFfqR/KYUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFAHjX7W+hyaz8E9Umij3vplxb3oA64DhGP4K7H8DX5+V+qfinQbXxV4a1Tw3e8QanZzWjnGSodCuR7jOfwr8t9X0u80PVbzRtQiMd1Y3EltMh/hdGKsPzBr4jimg414Vls1b5r/hz9w8LcdGpgq2Cb1hLm+Ulb81+JUoX7w+tFFfLH6mfqh4PuUvPCWi3cbZWbT7eRT6gxqa2K8+/Z/1xfEHwa8J36uGMenJaMc/xQkxHP8A3xXoNfrWHmqlGE11Sf4H8kZhReGxlWjLeMpL7m0FFFFbHGFfHf7dnh54tb8MeKkjJW4tZrCRgOFMbh0B+vmP+Rr7Eryr9pnwHJ49+EuqWtnD5l/pWNTtFAyS0QO9R6kxlwB6kV5ub4d4nBzhHe118tT6bg/MY5ZnVCvN2i3yv0krX+TafyPzpooIwcGivzQ/p0Kltbqeyuoby1laKaCRZY3U4KspyCPcEVFRRtqhNJqzP1A+F3jmz+I3gTSPF1oyhr23H2iNT/qp1+WRPwYHHqMHvXV18M/sh/GFPBfih/Auu3WzSNflX7O7thbe86KfYOMKfcJ2zX3NX6XlWOWPwyqfaWj9f+DufzDxXkc8hzKdBL93LWD/ALr6eq2f39Qooor0j5sKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACvh39sv4byeHPHMXjmwt8af4iUCZlHCXaABgfTcoVvch6+4q5D4sfDzT/ih4G1HwlfFUknTzLScjPkXC8o/0zwfVSw715ubYL6/hZU18S1Xqv89j6XhPO/7BzOGIl8D92X+F9fk7P5H5jUVd1vRtS8PaveaFq9q1ve2Ez288TdVdTgj3+veqVfmTTi7M/pyMozipxd09j7T/AGIPFi6h4K1jwhNJmbSL0XMQJ/5YzL0H0dGP/AhX0rX54/sveO18D/FvTTdT+XY6yDpdySeB5hHlse3EgTnsCa/Q0HIyK/Q+H8Sq+CUXvHT/AC/D8j+d/ELLHgM6nVS92qlJeu0vxV/mLRRRXuHwwUhAYFWGQRgg0tFAH5z/ALR3wuf4YfEa7tbO3KaPqpa905gPlVGPzRD/AHGyMf3dp715ZX6QfH74UQfFnwHcaVbog1exzdaZK3GJQOYyeyuPlPbO09q/OS7tbmxuprK8geGe3kaKWORSrI6nBUg9CCMV+dZ1gHgcQ3Fe5LVfqvl+R/SHBHECzzLlGo/3tO0Zd32l81v5pkVFFFeOfZiqxVgynBByCK+9P2WvjgPiR4b/AOEV8Q3YbxHo0QDO7fNeW4wFl92HAb3IP8XHwVWx4Q8Wa14H8R2Pinw/dGC+sJRJG38LDoyMO6sMgjuCa9HLMwll9dTXwvdeX+aPm+KOHqXEWBdB6VI6wfZ9vR7P7+h+qdFcj8LviPovxT8HWfivRmC+aPLurctlracAb4z9M5B7gg9666v0mnUjVgpwd09j+ZsRh6uEqyoVo2lF2afRoKKKKsxCiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigD5h/a++CLa3YN8UfDFluv7GMLq0Ma8zQKOJsDqyDg/7OD/Dz8a1+szokiGORAysCGUjII9K+E/2nfgFN8OtYk8YeF7Mnw1qMuWjjXiwmY/cPohP3T2+76Z+N4hyppvGUVp9pfr/n95+zeHnFanFZPjJar+G31X8vqvs+WnRX8GR3jcSRsVZSCpBwQfWv0m+BPxFj+J3w20zxBJKGv4U+x6ioPIuIwAx9tw2uPZq/Nivcv2TfioPAfj0eHdVuvL0fxGUtpCzYWK5z+6k9gSSh/wB4E/drzMhx31PFKM37stH69H/Xc+l49yN5xlbq0lepSvJea+0vu19Ukfe1FIDkZFLX6KfzoFFFFABXx1+2R8Gf7OvR8V/Dtpi2u3WLV4414jmPCT47BuFb/aweSxr7FqlrWj6b4h0m70PWLRLmyvoXgniccOjDBH/164swwUMfQdKW/R9me5w7ndXIMfDF09VtJd4vdfqvNI/KGiu4+Mfww1L4T+OLzwzdh5LQnz9PuWHE9uxO0/7w5VvcHtiuHr8yq0p0ZunNWa0Z/T+FxVLG0IYig7wkk0/JhRRRUHQev/sz/F6T4X+OorXUroroGtMltfqx+WJs4jm9tpPP+yW9BX6FqQwBByCMg1+SoJByK/RL9mHx7J49+EumzXs5lv8ASGOmXTMcljGBsY+uYymT3Oa+v4axrd8JN+a/Vfr95+OeJ2RxjyZtRWrfLP8A9tf4WfyPWaKKK+uPx8KKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACqWsaPpniDS7rRdZsoruxvYmhnhkGVdCMEH/PFXaKTSkrMqMpQkpRdmj88fj98BtV+EOtm7sllu/Dd9IfsV2RkxN18mQjowHQ9GAyOQQPJVYqwZTgg5BFfqt4j8OaL4s0W78PeIdPivbC9jMc0MgyCOxHcEHBBHIIBFfAXx5+Aet/CDVjeWolvvDd5IRaXu3JjJ58qXHAYdj0YDIxyB8HnWSywknXoL3O3b/gH71wVxpDN4LA452rrZ9Jr/5Luuu66pfV/wCzP8Xk+J/gaO01O5Da9oipbXwY/NMmMJP77gMH/aB9RXsFfmR8JviTqvwr8a2XivTt0kSHyry3BwLi3Yjen14BB7MoNfpL4d8QaT4q0Oy8RaHdrc2N/Cs8Ei91PY+hByCOoIIr6HIsy+u0PZzfvx3810f+f/BPzzjrht5JjnXoL9zUd15PrH9V5adDSooor3D4YKKKKAPIv2lvhKnxQ8AzSafbhtc0VXu9PKrlpBj95D/wMAY/2lX3r88mUqSrDBBwQa/WkjIwa/Pr9qr4br4B+J1xe2FuI9L8Qg6hbBRhUkJ/fIPo3zY7B1FfI8S4FWWLgvJ/o/0+4/YPDLPXzSyis9NZQ/8Abo/+3L5njVFFFfIH7GFfWf7B+qTeb4u0V5MxbbS6RfRv3isfx+X8q+TK+t/2D9HmVPFuvuhETG1s42xwWG9nH4ZT869fIeb6/Tt5/kz47j5wXD9fn/u29eeJ9aUUUV+jH82hRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFUda0TSfEWlXOia5YQ3tjdxmOaCZdyup/zkHqDyKvUUmlJWZUZShJSi7NbM+B/2gP2bdX+F91L4j8Nxzah4XlfO/G6WxJPCS46r2D/AIHBxnW/ZS+OZ8E6yvgHxPebdC1SX/RZpG+WzuW9+yP0PYHB4yxr7duba3vLeS0u4I5oZkMckcihldSMEEHggjtXx7+0B+yjc6M1x4y+F1lJPYZMt1pMeWkt+5aEdWT/AGeo7ZHC/J4zK6uW1ljcAtFvHy6+q/L8v1nJ+KcLxJg3kufO0paRn3fRvtJd9ns99fsYEEZFLXzr+yl8dR4x0hPh74qvf+J7pke2zllb5ry3UdMnrIgHPcrg84Y19FV9JhMVTxtFVqez/B9j82zfKsRkuMng8StY9ejXRryf/A3Ciiiuk80K8C/bO8JRa58KV8RJFm58P3kcwYDJ8mUiN1+mWjP/AAGvfa4b45WaX3we8YQuAQuj3Mwz6ohcfqtceYUlWwtSD7P/AIB7HD2Klgs1w9eHScfubs/vTZ+ZtFFFflx/VYqqzsFUEknAAHev0h/Z6+Hsnw3+FulaLeQ+XqN2Df36kYImkAO0+6qEQ+618w/smfBSXxp4lTx7r9of7D0SYNbq44u7tcFR7qnDHtnaOecfcwGBgV9lw3gHCLxc1vovTqz8V8S8/hXnHKaDuovmn69I/K935tdULRRRX1Z+TBRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUySWOJDJLIqKoyWY4AHrQA+iuH8R/HD4P8AhTcuv/Enw9bSJ96EX0cko/7ZoS36V55qX7bfwIt7lbHRNT1jxDcu2xIdL0qVndvRfMCZP0ruo5XjcQr0qUmu9nb79jza+cZfhXy1q8E+3Mr/AHXue90V5Jonxa+KXjHbL4X+A+qafaSfduvE2pR6bgHuYkWWX/x38a7/AESDxm22bxJf6QmeTb2FtJ8p9PNkf5h/2zU1nWwk8PpUaT7XTf4N2+djahjaeJ1pKTXflaX/AJMlf5XNyiiiuU7AooooAKKKKAPCPjH+zdF4h1NfiF8MLlNC8XWkougIz5cN1IDncccJIT/F0b+Ic7h2nwg+Jtx4502fR/E2nPpPi3RdsOradKuxg3aZAesbdQRkDpkjBPodYWt+ENM1jU7TxBEPses6fkW1/EvzhD96J/8AnpE3dD9QVYBhwrBqhWdbD6X+JdH5rs/z69z3ZZvLHYSODx/vcnwT+1H+6+8H23juv5Xu0Ui7to3gZxzjpmlruPCCvNP2kdci0H4KeKLmRgGubQWSKTyzTOsfH4MT9Aa9Lr5A/bd+I8N1d6Z8MtOn3fZGGo6jtPAkKkRRn3CszEf7S152bYhYbBzm92rL1en/AAT6ThLLZ5pnFClFaKSlL0i7v79vVnynXp3wM+CGt/GLxCIlElroVk6nUL7b0HXy488GQj8AOT2B0PgR+z1r/wAXdQXUr4S6d4at5MXF7tw05B5jhzwW9W6L7ng/e/hbwroHgvQ7bw54a02KxsLRdscUY6nuzHqzHqSeSa+UyfJZYtqtXVofn/wPP7j9a4y42p5RGWCwL5q73fSHr3l2XTd9nL4e8P6R4V0Wz8PaDYx2lhYxCKCFBwqj+ZJySTySSTWjRRX3cUopRitD8DnOVSTnN3b1be7YUUUUyQooooAKKKKACiivM/i5+0P8MvgzasvijWRPqjJvh0qzxLdSehK5win+85APOM9K2w+Hq4qoqVCLlJ9EYYnFUMHSdbETUYrq3Y9MrM1zxP4b8MW323xJ4g03Srfn97e3SQJ+bkCvgXx/+2J8ffiS0tr8OPDl74e0p8qp0+1e5unX/am2/L/wBVI9TXgfiDw38VdUuZNX8U6D4qu7hxmS5v7W4dyPUu4z+tfY4LgurUs8ZVjDyWr/ADS/M+DzDxAo0rrAUZVP7zvGPy0bfzsfphqn7V37PWjyGK7+KGmSEEgm1SW5H5xIwqrZftf/ALOV/IsUHxMtVLHAM1ldRD8S8YAr8r5IpYXMc0bIynDKwIINMr31wHgOXWpO/rH/ACPmX4k5lzaUoW9Jf/Jfofsr4X+IfgTxrH5nhHxho+r8ZK2d7HKy/VVOR+Iroa/E+zvbzT7mO8sLua2uIWDxywyFHRvUEcg19HfBv9uH4k+Ap4NL8czS+LNDBCMbh/8ATYV9UmPL49JM56blrxsw4Fr0YueDnz+T0fyez/A97K/EfDV5qnj6fJ/eWq+a3XyufpFRXMfDv4k+Dvin4bh8U+CtXjvrOX5XUfLLBJjJjkTqjDPQ+oIyCCenr4WpTnRm6dRWa3T3P0elVp14KrSacXqmtUwoooqDQKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAoqtqOo6fpFlNqWq30FnaW6GSaeeRY441HVmZiAB7mvmr4oft6/DDwg82m+B7O48WX8eV82JvIslb/rowLPj/AGVIP96u3BZdi8xnyYWDl+S9Xsjz8wzbBZVD2mMqKK8936Jav5I+nqx/EfjHwn4PtDf+K/EumaRb4JEl7dJCD9NxGT7CvzW8fftn/HXxu8kVr4jXw7ZPkLb6Onktj/rqSZM/RgPavFdT1bVNZu3v9X1K6vrmU5ea5maSRj7sxJNfY4PgOvO0sVVUfJav79F+Z8Hj/EnDU7xwVJy85Oy+5Xb/AAP0n8W/t0fATw00kOnarqXiCaPI26bZnZn/AH5Sike4JrxvxX/wUd1qXfF4J+HNnbDkJPqd20xPuY4wmP8Avs18Y17L8Cv2XPiB8b5k1K1jGj+HFcrLq11GSrkHBWFMgysPYhRggsDxXvPhnJMqpOvitUusn+itf0sz5pcX8Q51WWHwWkn0hFfm729bos+Jf2yv2hfEzsg8bHS4W6Q6baxQhfo+0yf+PVd8K/A/9p749eXf6lNrj6dMQw1DxFfypCQejKrku490Uivtv4T/ALK/wi+EscNzp2gpq2sR4ZtU1NVmmDesakbYvbaAcdSa9fAAGAK+fxXFeFwvuZTh4x/vNJfgv1fyPqMHwVjcalUzrEyl/dUm/vb0+SXoz5M+Hn/BPXwHo4jvPiN4jvfENyMFrW1za2wPcEgmRvqGT6V9HeDfhn8P/h9bC18F+ENL0ldu1nt7dRK4/wBuT77/APAia6aivlcbm+OzB/7RUbXbZfctD7PL8jy7K0vqtJRfe1397u/xCiiivNPWCiiigAooooAKKKKACiiigAoorK13W30uLyLCxk1DUplP2aziIUuf7zseI0Hdj9ACxClSkoq7LpwlUkox3/r+rnLfGX4s6P8ACTwnLrF2Vn1K5DQ6ZZA/NcTY44HOxcgsfTA6kA/Pvwl/Zh8Q/EDWZPiT8anuI47+Y3f9nuSlxdMxzul7xp6KMNj+6AM+9+HvhJby+JR8QfiHdR6/4l4+zZQ/Y9NTORHbRt6f32+Ynn5STXoteXPAvHVVVxS92Pwx/WXn5bI+ooZ5HIsJLC5W/wB7P46nW38sOqS6yere1rIradp1hpFjBpml2UNpaWyCOGCFAiRqOgUDgCrNFFeqkkrI+VlJyblJ6hRRRQIKKKKACiiigAopjyJEpkldUVQSzMcAD1rL0vxZ4c1y7ls9D1i21KSAlZ2s385IW/uu65VG/wBkkH2qlCUk2loiXOMWot6vY1JoknheBy4V1Kko5VsH0IwQfcc1zWk/C/4d6HdSahpvgvSEvZXMst49qklzK56s8zgux9ySa6iinGrOCcYyaT31JnRp1GpTim1tdbDVRFGFUD6Cl2j0H5UtFQaHPeKfh54F8b27Wvi7wjpOrIwxm7tEkZfdWIyp9wQa+V/jV+wHot5aXGu/Bm7eyvEBc6NeTF4Ze+2KVvmRvQOSCe6ivsmivTy/OMblk1LD1Gl23T9V/TPIzPIsvzeDhiqab7rSS9Hv+nkfirrGj6p4f1S50XW7CeyvrKVobi3nQo8bg4KkHkGqdfoL+3V8CrLxL4Tk+Lnh+yVNZ0NFGpCNcG6s843tjq0eQc/3N2furj8+q/ZMlzannGFWIgrPZrs/8uqPwTP8lq5FjXhZu63i+6/z6M9D+CPxp8UfBLxjD4k0GZ5rOUrHqOns5EV5DnlT6MMkq3UH1BIP6r+CfGOg/EDwrpvjDw1eC507VIBNC/8AEvZkYdmUgqR2IIr8Za+x/wDgnx8WJ7HXtS+EWq3RNrqKNqOlqx+5cIP3qL/vIN2Og8s+pr5/jHJYYrDvHUl78N/OP/A39L+R9RwFn88Hill1Z/u5/D5S8vKW1u9vM+76KKK/KD9qCiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAqhr2tWHhvQ9Q8Q6rKY7LTLWW8uXAyVijQuxx3wAav1R1zRtP8AEWi3/h/VoPOstTtZbO5jzjfFIpVh+IJqocvMufbr6EVOfkfJvbS+1z8r/jv+0V43+N+uTPqN5LY6BDKTY6RFIRFGoPytJj/WSY6senOMDivJ69r+PH7LPj/4NandX8Gn3GseFy7Pb6pbxl/KjzwtwAP3bAY5Pynsew8VII4Ir98yyWDlhY/Ubez6W/Xz7317n80ZxHHxxk/7Sv7W+t/06W7W07CUUUV3nmE9i1ol7A99G72yyoZlQ4ZkyNwB9cZr9hPhj4j8AeI/BmmXXw1vbCXQ4rdIraK0IAt1C8Rsg5Rh3U4NfjpWr4e8VeJvCV8NS8L+INR0m6GP31lcvC5HoSpGR7V87xDkP9uU4KNTlcb26p37r5bn1XC/Ev8Aq7VnKVPnjO1+jVr7P56r01P2hor8xPDf7b37QXh9EiufEtnrMUYAVNRsY2JHu8YRz9S2a9E0r/go742hCjW/hzot0f4vst1Lb5+m7fj9a+BrcFZpSfuKMvR/52P0zD+IOTVl+8coesb/APpNz73or40sf+CkWgyAf2l8LL+A/wAXkamkuPzjWtu1/wCCi3wrdc3vgzxTEe/lJbyD9ZVrhnwvm8N6L+TT/JnpQ4wyOptiF81Jfmj6wor5hg/4KFfBCX/WaL4th/37GA/+gzGrSft/fAhusPiRfrp6f0krF8PZot6EvuN1xRk0tsTH7z6Uor5vH7fXwFxnd4h+n9nj/wCLqKT/AIKAfAlPu2/iV/8AdsE/rJS/1fzR/wDLiX3DfE+Tr/mJh959K0V8xv8A8FCPgen3dJ8Vv/u2MP8AWaoJP+CiHwVQfJ4b8Yue2LO2A/WeqXDuav8A5cS+4h8VZMv+YmP3n1HRXyZcf8FGPhiv/Hr4I8TSenmCBP5SGs64/wCCj/hNSfsvw01WT08y+jT+SmtI8MZtLag/vX+ZlLjDJI74hfdJ/kj7Eor4ouP+Ck1suRa/CGR/Qya2F/lAaybz/gpD4jfP2D4X6dD6ebqTyfyRa2jwjnEt6Vv+3o/5nPLjjIo7Vr/9uy/+RPu2mJDFG7SJGoaQ5ZgOW+pr8+rz/gor8V5Miw8HeFYfTzY7iQj8pVrDvP2/Pjxc58lfDtrn/njp7HH/AH27V0x4KzWW6ivV/wCVzln4g5ND4XJ+kf8ANo/SSivy+v8A9tn9o29BWLxtBaA9RBpdr/Noya5vUP2n/j9qWftHxT1tM9fIlWD/ANFgV1Q4Ex7+OpBfNv8AQ46niTlkfgpzfyiv/bmfrISB1NMluIIIzLPPHGi8szsAB+Jr8er/AOLvxV1XP9pfErxRdBuom1e4cfkXrnb3VtV1J/M1HUrq5bOd00zOf1NdlPgCo/4ldL0jf9UcNTxNpL+Hhm/WSX6M/YTU/ih8NdFz/bHxB8OWW3r9o1SCM/8AjzCuS1P9qT9n7SN32r4paPJt6/Zme4/LylbNfk8ST1JoAJ4Arup8BYVfxK0n6JL/ADPNq+JeMf8ACoRXq2/ysfphrH7dn7PumAmy1nVtVI6C002Rc/8Af7ZXC6z/AMFHPBMAb/hH/h1rV7j7v2y5its/Xb5mK+LfCfw28f8AjuZYPB/g7V9WJbaXtbR3jU/7T42r9SRXvvgX/gn78WNfMdx4x1XS/DNu2C0bP9ruQP8AcjOz/wAiUVsg4dyxf7VU+Tlr90bP8AocTcU5u7YKnp3UNPvldfibOtf8FG/HlwGHh74faHY54U3c81yR/wB8mPNZPh/44ftn/HK7ay8CSXUdszbZJdO0+G3t4j/tXEgO36b8+xr6R+Hn7EnwR8EeVdarpU3ii/TBMuquGhDe0K4Qj2cN9a95srCx0y0isNOs4LW2hUJFDBGERF9Ao4A+leHic6ybCe7l2FUn3mrr7ndv8D6LCcP5/jrSzTGSiv5YOz+bSSX3M+aPAf7IevauYtY/aE+JmueLrgkOdIXUpzZoeuHZjuceyhB9RX0jo2i6R4e02DRtC0y10+xtUCQ21tEscca+gUDAq7RXzGNzHE4+V60tOiWiXolp+p9hgMqwmWxth46vdvWT9W9f0CiiiuE9EKKKKACiiigClrek2WvaNf6HqUQltNQtpbWdD0aN1KsPxBNfjJremTaJrN/o1xzLY3Mts5xj5kYqf1FftOTgE+1fjf8AEy4iu/iP4puoceXNrV7ImDxgzuRX6JwBOXPXh0tF/PU/LPE2nH2eGqdbyXy0Oarr/hF4rm8D/E/wv4qikKDT9Ut5JSDjMJcLIv4oWH41yFOQkOpHqK/RqtONanKnLZpp/M/KaFWVCrGrDeLTXqnc/bMHIB9Rmlqjoc0lxothcTZ8yS1ids9clATV6v52kuVtH9URfMkwooopDCiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigBrokiGORAysCGVhkEeleM/EP8AZD+B3xEkkvLnwuNFv5Mk3ejsLZiT3KYMZOe5TPvXtFFdOGxmIwc+fDzcX5Oxy4vA4bHw9niqamvNX+7sfCPjH/gnL4jtmkn8B+P7C9Tkpb6nbtbuB6eZHvDH32qK8a8T/siftBeFy8lx8Pbq/hXpLpssd1uHskbF/wA1FfqnRX0uG41zOgrVOWa81Z/hb8j5DF+H2UYht0uam/J3X3Sv+Z+MGs+EPFnhxiniHwxqumMDgi8s5ITn/gYFZJBHBH6V+2TxRyqUkjVlYYIYZBFcnrnwg+FXiUMdd+HPhy9duskumQmT8H27h+Br26PH0XpWofdL9Gl+Z8/X8MprWhiPk4/qm/yPx4or9T9T/Y7/AGdNUy0vw5hgc9Gtr25ix+CyAfpXJ6n+wF8B7/P2V/EWn56fZ9QVsf8AfxGr0qfHOWz+KM18l+jPJq+HObQ+CUJfN/rFH5uUV9933/BOTwDIxOnfEHXoV7CaGGUj8gtYt3/wTatGybH4uSp6CXRQ/wComH8q7IcYZRLeo16xl+iZwT4FzyG1JP0lH9Wj4eor7Iu/+Cb/AImTP2H4n6bL6ebp8kf8nas6T/gnL8RB/qvHnh1vTck4/wDZTW8eKMoltWX3P/I5pcHZ5F2eHf3x/wAz5Ior6vf/AIJ0/FUD934z8LN/vSXA/wDaRqB/+CdnxjBxH4q8Hkepurkf+0K0XEmVP/l+vx/yM3wnnS/5h5fh/mfK9FfVcf8AwTq+Lhx5vi/wkvrtnuT/AO0RViP/AIJz/E0n97448NL/ALvnn/2mKT4lylf8v1+P+QLhLO3/AMw8vw/zPkyivr2D/gnH46ZgLn4h6Gg7lLeZz+oFa1p/wTav2wb74twR+oi0Yv8AzmFZy4qyiO9ZfdJ/oaw4Mzye2HfzcV+bPiyivu20/wCCb3h1MfbvijqMvr5WmpH/ADdq27D/AIJ1fCiIg6l4w8U3GO0UlvED+cTVzz4xymO02/SL/VI6ocB53Leml6yj+jZ+e9Ffpdp37B/7P9kQbnTdZv8AHUXGpOM/9+wtdbpX7J/7POj4Np8MNNkx/wA/Us1x/wCjXauOpx1l0fghN/JL9TvpeHGaT1nOEfm3/wC2/qflKAT0BNa2jeD/ABZ4jcR+H/DGramzHAWzspJiT/wEGv130f4XfDXw8VOhfD/w7p5Xo1tpkMbfXKrmumSNEUKkaqAMAAYFedV4/W1Kh98v0S/U9Wh4ZS3r4n7o/q3+h+UugfsoftB+ItrWfwz1K3VurXzR2mB6kSsp/TNen+G/+CeXxY1IpL4j8S6Bo8bfeVJJLmVf+AqoX/x+v0Norya/HGZVNKajH0V3+La/A9vDeHeU0Xeq5z9WkvwSf4nyT4V/4J1fDzTykvi7xrrWruuCUtY47SNj6EHe2Powr2Twj+zD8CfBTJLo/wAOdMlnjwRPfq14+f7wMxYKfoBXqVFeFic8zHF6Vq0muydl9ysj6PCcO5VgbOhQin3au/vd2RwW8FtEsFtCkUaAKqIoVVHoAOlSUUV5W+57S00QUUUUAFFFFABRRRQAUUUUAFFFFAGD498T2/grwTrvi26K+XpGn3F4QT94ohYL9SQB+NfjVPNJcTSTyuWeRi7MepJOSa/Qf/goB8TovD3w8svhxY3GL/xLMJrlVPK2cLBjnuN0gQD1COK/PWv1fgbBOhg54mS1m9PSP/BbPxXxGzCOIx8MJB6U1r6ys/ySCtHw5pE2v+INM0K2B83UbyG0jwMndI4Ufqazq93/AGLvAE3jf46aReyW++x8Nq2r3LEcBk4hGfXzWQ49FPpX1ePxMcHhamIl9lN/5fifE5bhJY/GUsLH7Ukvx1+5an6dwRJBBHBGMLGgVR7AYqSiiv59P6g20CiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKQkAZJrw34y/tffCz4StcaTBd/8JFr8OUOnWEgKxP6TS8qnuBuYf3a6cJg8RjqnssNByl5fr2+ZyY3H4bLqTrYqajHu/wBOrfkj3Oivl39mX4l/FH9onxVqfjzxXfLpfhXQJBBY6Tp4McU92wzmV/vyhEIOCdu50IAxX1FWmPwM8urPD1WnJb26N9L9+5llmY081w6xVGLUG3a+jaWl7dFfa+oUUUVxHoBRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAVQ13XNK8NaNe+INbvY7Sw0+B7m5nkOFjjUZJP4Cr9fA37b37R0fie+l+D/gu+D6VYTA6zdRNlbm4Q5EAI6oh5Pq4H93n1cmyqrm+KjQhtvJ9l/n28zxc+zqjkeDliamstoru+ny6vyPn/wCOHxT1H4xfEjVfGt7vS3mfyLCBj/qLRCRGn1xljj+JmPeuCoor9zoUYYelGjSVoxVl6I/nLEYipiq0q9Z3lJtt+bAAk4Ffpn+xd8G5Phh8L01zWLVotd8VeXe3KuuGhtwD5ERHY7WLkdQXIPSvmf8AY1/ZwuPiR4jh+Iniyxx4W0afdBFKvGoXSnIQA9Y0OCx6EgLz82P0aAAGAK/PONc6jP8A4TaD85/pH9X8vM/U/D7h+VP/AIVsQrXVoL13l+i8r+QtFFFfnR+qBRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAVn6/r+jeF9Gu/EHiHUoLDTrGIzXFxO21I0Hcn9ABySQBzWhXwt/wAFEPiPrI17Q/hbZzyQ6atkur3iqxAuJGkdI1b1CCNiO2X9QMepk2WyzbGRwydk9W+yW/8AwDx8+zaOSYCeMau1ol3b2+XV+Rx/7Qv7afir4hz3Phf4c3FzoPhsFo3uEYpd3y9Msw5jQ/3F5I+8TnaPmMsWOSck85NJRX7bgcvw+W0lRw0bL8X5t9WfzzmWaYrNq7r4ubk/wXkl0R+iv/BPnW9JvPg7qGh2sqC/07WJZLqIH5tsiIY3I9CFZR/uGvqGvx7+FfxY8ZfB3xRH4p8G34imC+XcW8oLQXUWcmORcjI9xgg8givuz4aft5fCfxbFBZ+NEufCmpMArmdTNaM3+zKgyB/vqoHqetfm/E3DeMWLni8PFzhJ301afXTe3ax+s8IcWYB4KngcVNU5wVlfRNdNdk+6fyPpiisfw/4y8I+LIPtPhfxRpWrRY3b7G8jnAHvsJxWuCDyDXxEoSg+WSsz9DhONSPNB3XkLRRRUlBRRRQAUUUUAFFISB1NNknhhQySzIiqMlmYACgLj6K5nVPib8N9Dz/bPj/w5Y7eoudUgjI/76YVx+rftT/s+6MGN58UdIk29fspkufy8pWzXVTwOKrfw6cn6Jv8AQ46uY4Oh/Fqxj6yS/Nnq1FfOesft6/APTM/YrrXNVx0+yacVz/3+ZK4XWv8Ago/4WhDDw98NNUuz/Cby+jt/z2LJXo0uG81rfDQl87L87HlVuLMlw/x4iL9Ly/8ASUz7Gor8+tc/4KKfE673J4f8G+HdOVujTia4dfoQ6D8xXnmv/tmftD68Gj/4Tn+z4m/5Z2NlDFj6PtL/APj1erR4JzOp8fLH1d/yTPGr+IeT0v4fNP0jb82j9RyyjqQPqa5fxH8VPhr4RDDxN490HTXTrHcahEkn0CFtx/AV+TGv/E34i+Kdw8SeO9f1NW6pdajLIv0Cs2APauaJJ6kn6169DgHrXr/JL9W/0PCxPiZ0w2H+cpfol+p+ph/bF/Z4bW7fQ4vH0cklxJ5RuBaTLbxseheVkCgf7XIGeSBk17Jb3NveW8d1aTxzQzIJI5I2DK6kZBBHBBHevxOr2z4D/tU+PvgpcRaW0ra34ZL/AL3S7mQ/ugTy0DnJjPfHKnJyM8gzLgaMKXNgJtyW6lbX0aSs/X70GU+I0p1uTM4JRezjfT1TbuvTXyZ+pVFcN8KfjP4B+MmiDWPBesLM8aj7VZTYS5tWPaRM8ezDKnHBNdzX57Wo1MPUdKrFqS3T3P1GhiKWKpqtQkpRezWqYUUUVkbBRRRQAUUyWWKCJ5p5FjjjUs7scBQOSST0r4p/ad/bWiEd14A+DOpFmbdDfa9CeAOhS2Pf0Mv/AHz2YellmVYnNqyo4der6Jef9XZ5OcZ1hMkw7r4qXourfZL9dl1Nz9r79rGHwxb3vws+Guo79alUwarqUD8WKnhoY2H/AC1PQkfc6fe+78DkliWY5J5JNLI7yu0sjlnYkszHJJ9TVrSdH1XXtRg0jRNNub+9uXEcNvbRNJJI3oqqCSa/ZsqyrD5NhvZUvWUn1fd+XZdD8CzrOsVn+K9tW9IxWyXZd2+r6v5Ip19Bfszfsqa/8ZNRg8SeJYLjTfB0EmZLgjZJfkHmOHPbPDP0HIGT09a/Z+/YRKtbeLPjYgyCJYNAikyPUfaHU/8Ajin0yeq19qWdnaafaQ2FhaxW1tbosUUMSBEjQDAVVHAAHQCvlc/4whSi8NlzvLZy6L07vz27XPs+GeBalaUcXmkbR3UOr/xdl5bvrbrW0LQtH8M6PaaBoGnQ2On2MSw29vCu1I0HQAf16k5Jq/RRX5lKTk3KTu2fr8YqEVGKskFFFFIYUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFfPX7Wv7NU3xt0e18Q+Fnhi8U6NE0cKSkKl7Bkt5JY8KwJJUnjLMDgHI+haK68Dja2X144ig7SX9WfkzizHL6GaYaWFxKvGX3+TXmj8XvEvhbxH4O1ifQPFOi3el6hbHElvcxFHHoRnqD2I4I6Gsqv2T8afDvwP8RNO/srxt4YsNXtxnYLiIF4yepRx8yH3Ug184eOP+CePw71iSS68DeKdT8PyNkrb3CC8gX2GSrj6lmr9LwHHGDrJRxcXCXdar8Nfw+Z+RZn4dY7DycsDJVI9n7svx0frdeh+fdFfSnin9gT44aIXk0JtF8QRAkoLW88mUj3WYKoP0Y15hrv7O/xx8N7m1T4XeIdqfee3s2uUHuWi3D9a+moZvgMSr0q0X81f7nqfI4nIszwjtWoTXnytr71ocBa3d3ZTpc2dzLBLGcpJG5VlPqCORXY6P8cPjFoJUaV8T/E0CL0j/tOZo/8AvhmK/pXJX+lanpc5ttT065tJh1jniaNh+BGarEEdRXZOjRrr34qS80mcNOvXwz/dycX5No9gsv2u/wBouwx5HxMvGx/z2tbeX/0OM1rR/tuftHIPm8bW7/72lWv9IxXhFFccsny6esqEP/AV/kd0c9zSCtHE1P8AwOX+Z72f24v2iiuB4ssgfUaXb5/9AqCT9tn9pBxhfHcMf+7pNp/WI14XRUrJctX/ADDw/wDAV/kU+IM2e+Jqf+By/wAz2W7/AGwv2jrzIl+Jdwuf+eVjax/+gxCsa7/aX+Pd7kTfFXX1z18q5MX/AKDivM6K1jleBh8NGC/7dX+RjPOMxqfHiJv1nL/M63UPi78VdVz/AGn8SvFF0G6ibV7hx+ReudvdW1TUX8zUNSurluuZpmc/qaqUV1Qo06fwRS9EcdTEVqv8Sbfq2xSSepNJRRWhkFFFKAT0BoASirdjpGq6nJ5Wm6bdXT9NsMLOfyArrtG+Bvxk8QEf2T8MPE0yseJDpkqR/wDfbKF/WsqmIpUVepJL1aRtSw1eu7UoOXom/wAjhqK920T9if8AaI1ja03g6DTY26Pe6hAv5qrMw/KvRvDn/BOXxzd7X8VeP9F01Tyy2UEt2wHp83ljP4mvMrcQZXh/jrx+Tv8Alc9jD8L5xin+7w8vmuX/ANKsfIdKAScAV+h3hr/gnp8JtMZJvEfiLX9ZkX70YkjtoW+oVS/5PXsvhD9n74MeBgjeG/hzo0M0eNtxPB9onHuJJdzj8DXh4njjL6StRjKb9LL8dfwPocJ4dZnWd8RKMF63f3LT8T82fg34A+PWoa9aeI/hF4f16K7hYGLUYEMEA9VaV8Rsp7qSQR1Br9P/AIav8RX8JWg+KcGkR6+oxOdMld4nGBhiGUbX9QpK55BwcDqFVUUKigAcAAUtfDZ5n8s6a5qUY22e8vS+mnlY/RuHeGYcPxfJWlK+6ekfVR1187hRRWV4k8VeG/B2lS634p1yy0qxhHzz3cyxrn0GepPYDk9q8GMZTkoxV2z6ac404uU3ZLqzVrkPiT8V/Afwm0Vtc8ca/BYxkHyIM7p7hh/DHGPmY9OegzyQOa8D8f8A7W3jbxQ0mgfs3/DfWtekfKf27NpsrW6/7UaY5/3pCoB/hNeNR/seftM/FvWn8T/ErVbSwurohpZ9VvvOmC9gkcIYKBnhMqB046V9LgeH6cbVc0qqlH+W6538unzV/I+RzHierK9HJqMq0/5knyL57P5NLzOY/aB/a78a/GJrjw9ofm6B4VYlfscb/vrtexncdQf7g+Ud92Aa8P0XQtb8R6hHpXh/SLzUr2Y4jt7SBppG+iqCTX394E/4J8fDDQvLufG+uan4luFwWhQ/Y7Y+21CZD/32PpX0T4Q8AeCvAFh/Zngzwxp2kW5A3LawKjSH1dvvOfdiTX0kuLMsyqj9Xyyk5JfJerb1b9V8z5KPBWcZ1X+tZvWUW/8At5+iS91L0fyPg/4UfsEfEPxW0Op/Ea9TwtpzYY2w2zXsi+m0HZHn1YkjutfaPwr+Bnw1+Dlh9k8F6BHFcyLtn1C4Ilu5/wDekI4H+yuF9q7+ivj8z4gx+a3jWnaP8q0X+b+dz7zJ+F8tyW0qELz/AJpav5dF8kgooorxD6EKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAr3mnafqMXkX9jb3MfXZNErr+RFcxqXwf+E+sA/wBqfDTwvdE9Wl0mBm/PbkV19FaQrVKX8OTXo7GVShSraVIp+qTPJ9Q/ZT/Z71Ni1z8L9LTJz/o7SwD/AMhsKw7r9ib9nC5yY/As1uT3i1W7/wDZpDXulFdkM3zCGka81/28/wDM4J5HllTWeHg/+3I/5HzpdfsF/AG4OYrLXLf/AK5aiT/6EpqlJ/wT8+Bj/dvvFCf7t/F/WKvpiit1n+aR2ry+85nwzk8t8ND7j5gf/gnn8EX+7rni9Ppe2/8AWCmp/wAE8fgmv3vEHjBvre239IK+oaKv/WLNf+f8vvI/1Vyb/oGj9x8yJ/wT5+By/e1TxW/+9fQ/0hq1b/sC/AaE5kHiGf8A66agB/6Cgr6RoqXxBmj3ry+8pcMZNHbDQ+48Bt/2Gv2d4ceZ4Z1Cf/rpqk4/9BYVrWX7HH7OFiQ0fw4ikI7zahdyZ/BpSK9oorKWc5jPevP/AMCf+ZvDIMqh8OGp/wDgEf8AI82sf2bfgPp+PI+FPh1sf89rNZv/AEPNdFpvwv8AhpoxDaR8PfDdkR0NvpUEZ/8AHVFdPRXLPGYmp8dST9Wzsp4DCUv4dKK9IpfoRQ21vbxiK3gjjReiooAH4CpAAOgpaK5r33Ou1tgooooAKKKKACiiigArLvfC/hvUtQTVdS0Cwu72IbY7i4t0kkjHorMCVHsMVqUVUZSg7xdiZQjNWkriKqqMKoAHQAUtFFSUFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRUVzc29nby3d5PHDBChkklkYKiKBksSeAAO5o30QN21ZLVTVNW0rRLGXU9Z1K1sLSAbpbi5mWKNB6lmIA/Gvkv43ft76LoE1x4d+EFlDrF4hMb6vcg/ZEbofKQYMv+8SF443Cvjbxl8V/iD8QtZj1zxt4nvNXmhlEscVw37iMg5wkQwij2UCvsMr4NxuNiqmIfs4+fxP5dPn9x8JnHHuAy+TpYZe1mu2kV8+vyVvM/YO1uYL22ivLWQSQzoskbjoykZB/EVLXlXwT/aK+Hvxn0W1fSdWt7LXPKH2vR55Qs8cgHzbAf9Ynoy54xnByK9Vr5bE4arhKrpVouMl0f9fifZYTF0cbRjXw81KL6r+tPTdBRRRWB0hRRRQAUUUUAFFFFABRRRQAUUUUAFFISAMk4rA8Q/EHwJ4SVm8UeMtF0naMkXl/FC34BmBNXCnOo+WCbfkRUqQpR5qjSXnodBRXnfhf9oX4L+NPEP8Awivhr4g6ZeamRmOAF0Ep9I2dQsjf7KknvivRKqtQq4eXLWi4vs01+ZnQxNDFR56E1JbXTTV/kFFFFZG4UUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFfEP/BQT4va/Z6lp3wh0e6ltdPnsk1LU2jYqbks7LHET/dXYWI6Esv92vt6vnH9rv8AZou/jPplt4s8IeUvijR4GhWGRgq31vksItx4V1YsVJ4+YgkcEe7w3XwuGzKnUxfw9G9k+jf9abnzfFmGxmLympSwN+Z2ulu11S/y67dT816K0Nd0HWvDGq3Gh+IdKutOv7Vyk1tcxGORG9wef8az6/b4yUkpRd0fzvKMoNxkrNElvcT2s6XNtM8MsTB0kjYqysOQQRyDXsXgn9r349eB1SC38aS6vaoABb6uguhjt87fvB+DivGaKwxODw+MjyYiCkvNJnThMdisDLnw1SUH5No+yvDf/BR7xBCFj8W/DXT7s4w0unXr2+PcJIr5/wC+hXoOj/8ABRH4T3eE1nwr4lsGPVo4oZ0H4+Yp/Svz0orwa3CGU1ndU3H0b/zaPpKHHOd0FZ1VJecV+aSf4n6a2X7dH7PN1jz/ABBqVnn/AJ7aZMcf98Bq2Yf2x/2b5lDJ8SYhns+nXan9Yq/LGiuKXAuWvac181/8iejDxHzWOkoU38pf/JH6sR/tbfs7SDK/E6wH+9bzj+cdQy/tgfs5Q8v8S7Y/7lldN/KOvytorNcB4DrUn98f/kTR+JOZ20pU/ul/8kfqNN+2p+zbEDt+ITSEdk0q9/rFWNf/ALeXwAs8/Z9R1q9x08jTWGf++ytfmlRWseBstjvKb+a/SJlPxGzaSsowXyf6yZ+hd/8A8FE/hJDkad4R8VXJHQyQ28QP5Ssf0rltX/4KRWKKV0L4Vzyk9Hu9UCAf8BWM5/MV8O0V10+Dsohq6bfrJ/o0cNXjzPKmkaij6Rj+qZ9V6x/wUR+LN3uTRvCvhmwQ9GkimncfQ+Yo/wDHa4bWf20/2idYDInjaOwjbqlnp9un5MULD868Nor0KWQZZR+ChH5q/wCdzy63E2cYj48TP5O35WOv174wfFXxRuXX/iL4ivUbOYpdSlMf4IG2j8BXJPI8jF5HZiTkknJJptFenTpU6K5acUl5Kx5FWvVrvmqycn5tv8x0ckkTrLE7I6EMrKcEH1FfUHwM/bk8ZeBfs/h74lJP4l0NMIt0WBv7Zf8AeJxMB6OQ3+1xivl2iubHZdhsyp+yxMFJfivR9Dry3NcXlNb22Em4vr2fk1sz9kPAPxI8FfE7Q08QeCNfttTtGwHEbYkhYj7siH5kb2IHr0rpq/GnwT498X/DrW4vEXgvX7rS76PjfC3yuufuup+V1/2WBFfoT+zB+1TqPxpY+G/Evg+9t9XtY8yalY2zvYSYGf3h58hj2BJBPQjgV+XZ5wnWyyLxFB81NfevXv6r7j9j4c42w+byjhcTHkqva2sZenb0f3n0bRRRXyB90FFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRSEgdTUVxeWlpEZru6ihjHV5HCgfiaEm9EJtLVk1Fcxe/FD4a6dKIL/4geHLeVjhY5NUgVyfQKWyT7Voad4q0bViDpsl1cRt92ZLOYxN9H2bT+BrV0KsVzOLt6MyjiKMpcsZpv1Rr0UUVkbHH/EP4R/Dr4qWH2Dxz4Ws9S2qViuGXZcQ/7kq4deewOD3Br5a8f/8ABOm2lklvPhl44MAOSllrEe5QfTzoxkD6oT719q0V6uAzvH5bph6jS7PVfc/0PFzLh7Lc31xVJOXdaS+9av53Pyq8YfslfH3waZJLvwDd6lbpkifSmW7DD12ITIPxUV5TqOk6po9y1lq2m3VlcJ96K4haNx9QwBr9q6o6toWia9bGz1zR7LUID1iurdJU/JgRX1WG49rx0xNJS802vzufF4vw0w87vCV3HyklL8Vb9T8V6K/WLX/2W/gB4kZm1D4X6REzck2KvZ8/9sGSuD1j9gb4DakG+xJ4g0snp9l1AMB/39R69qjx1l8/4kZR+Sa/B/oeBX8OM0p60pwkvVp/irfifmzRX3hqv/BODwrMxOh/EzVLQdhdWEdwR/3y0dc1ff8ABN7xBHn+zfilYT+nn6Y8X8pGr0KfFuUT/wCXtvWMv8jy6nBGeU3/AAb+ko/53PjSivqy9/4J1/FuIk6f4u8KTj/prNcRn9ImH61mS/8ABPr45R/c1HwtJ/u30o/nEK6o8R5VLavE45cKZ1HR4aX5/kfM1FfR8v7A/wAe4/uRaBJ/u6h/iopsf7BPx8c4a20JP97UR/Rav+38s/5/x+9Gf+rWcXt9Wn/4Cz5yor6Wh/4J/wDx1lYB7nwzEPV7+Qj9IzWraf8ABOz4uyYN54u8Jw56+XPcOR+cIqJcRZVHevH8y48K5zPbDS+635nypRX2Tpv/AATe8Rykf2t8UNOtvX7Ppzzf+hOldVpf/BOHwhCynWviTq90o+8LWzigJ+m4viuWpxblFP8A5e39Iy/ysdtLgjPKv/Lm3rKP+dz4MpQCegr9K9F/YN+AGl7ft1hrWr46/bNRZc/9+QlekeHP2fPgn4T2tonwy0CORPuyz2i3Eo+jy7mH515tfjrAQVqUJSfyS/O/4HrYfw4zKo71qkIr1bf5JfiflR4a8DeM/GVx9l8J+FNV1eXOCtlZyTbfqVBAHua9t8FfsJ/HLxO8Uut2Wn+GrV8Fnv7lXl2+0cW459mK1+k9vbW9pEsFrBHFGg2qkahVUegA6VLXhYrjvGVNMPTUPX3n+i/Bn0mC8N8DSs8VVlPyVor9X+KPmP4e/sDfCbwuYrzxhe3/AIqvEIYpMfs1rkf9M0O4/RnIPpX0bomg6J4b06LSPD2kWem2MAxHb2kCxRoPZVAAq/RXyeMzLF5hLmxNRy9dvktkfbYDKcDlceXB0lHzS1fq3q/mwooorhPRCiiigAooooAKKKKACiimyMUQuELbRnaOp+lADqKRWDKGXoRkUtABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUhIAyTXh3xa/bB+Efwrln0pNRfxDrUJKNY6YQ4jf0klPyJ6EAsw7rXThcHiMdU9lh4OT8v17fM5Mbj8Nl1P22KmoR7t/l3fkj3Kobu8tLC3e6vrqG3hjG55JXCKo9STwK/OTx/+3p8Y/FLS23hVLDwrZPkL9mjE9zt9DLICM+6oprwbxL448ZeMrj7V4s8Vatq8oOQ17eSTbfoGJA+gr7DB8C4yqlLEzUPJe8/0X4s+Ex3iPgaLccJTlU837q/V/gj9Q/Ff7U/wE8HO0Op/EfTbmZcjytO3XjZ9MwhlB+pFeUeI/8Agoj8LtP3R+GvCev6tIvRphFaxN9DuZvzWvz4AJOBX1l8CP2FNc8Z2Vn4s+KV/PomlXKLNDpsAAvZkPILlgRCCMHGC2OoWvUxHDWSZPS9tjpyfztd+SSv+J42G4u4hz6s6GXU4x80r2XduTt+HoizrX/BRH4j6pOLfwh8PtFsjK2yNLl5ryQk9ANhjBP4Vt6D4n/b/wDimizaVbDw1YTf8t7mwt7NQD0IEytMR7qDX1T8Pvgx8MfhdbLB4J8H2FhKF2tdFPMuZP8AelfLn6ZxzwK7UAAYAr5yvnmXUfdwGEivOfvP7rv82fV4bh3NK658zx02+1N8q+9Jfkj5c0f9lj41+IgJvir+0n4jdH/1tlo1zKsZ+jsVX/yFXb6D+x58D9IlW61XRNQ8R3af8vGs6hLcE/VAVQ/ite20V5dXPMfV0VTlXaKUV/5LY9mjw7ltHWVPnfebc3/5M3+BjaB4M8IeFIhB4Z8LaTpKAbdtlZxwjH/AQK2AAOAKWivLlOU3zTd2ezCEaceWCsvIKKKKkoKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKK8O/aG/al8HfBbS7jStPuYNX8WyxlbbTo33LbsRxJcEH5FHB2/ebjGASw6cJg6+Oqqhh480n/WvZeZyY7HYfLqDxGKkoxXf8l3fkdx4J+IVn4i8d+OfA0dwkk/hW9tQNpyfKuLZJMH1Ik84e3A7V3NfDn/BPzUvEPib4h+P/ABVq91LdSXtvDLezvyZLiSZ2BPbtJxX3HXdnmBjluMeGi72Ub+vKr/e9fmedw7mUs2wEcXJW5pSt6czt9ysvkFFFFeQe4FFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAfGH7dvx88UeGtQtvhH4SvZtOS7slu9Vu4WKyyxuzKsCsOVXCktjk5AzjcD8MkknJNfpb+1f+y+3xus7bxR4VuIbbxVpcBgRZjtivYMlhEzfwsCWKt0+Yg8EFfzt8XeCPFvgLV5NC8YeH73Sb2MnMVzEV3D+8p6Ov+0pIPrX7BwhicFLARo4dpTXxLq338127bH4Tx1hMxhmU6+JTdN/A/spdvJ9++5h0UUV9afEFnTb19N1G11GOKORrWZJlSRcoxVgcMO4OOa/Vf4M/tIfDX4y6bbLo+sQWOuNGDcaPdSBLiNwPm2Zx5q/7S54xkKeB+T9PillhkWaGVkdCGVlJBBHQgjpXhZ5kNHO6cVOTjKN7NefdddvI+k4c4lr8PVZOnFShK3MnpttZ9Hr5ryP2yBBGQaWvyn8D/tYfHfwFHHa6d44udQs48AW2qKLtcDoAz/Oo9lYCvb/AAv/AMFHdahVIvGfw3s7o8B59NvGgx7iOQPn/vsV+fYrgrM6DvStNeTs/udvzZ+oYLxByjEpKs5U35q6++N/xSPumivmzw/+338C9WVF1Zde0Vz983NiJEB9jCzkj8B9K9F0T9pn4CeIApsPinoUe/oLyf7IfymCkV4VbJ8ww/8AEoyXydvvWh9Hh8+yvFfwsRB+XMk/uep6dRWVpPivwvryhtD8R6ZqAIyDa3ccoI/4CTWoGU9GH5158oyg7SVj1IzjNc0XdC0UUVJQUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFISB1NAC0VBdX1lYxGe9vIYIx1eWQKo/E1ymsfGX4S6ApOsfEvwzasvVH1SHf+Chsn8q1p0atV2pxb9Fcxq4ijQV6s1H1aX5nZUV4lrX7Zf7O2ihlPj0Xsi/8s7OxuJc/Rtm39a898Qf8FEvhfY7o/DvhHxDqjr0aYRW0bfQ7mb81FelRyHM6/wAFCXzVvzseTiOJcow38TEQ+Tv+Vz6vor4F8R/8FGfHV2rp4W8AaLpueFa8uJbtgPX5fLGfwryXxR+1z+0D4qLpcfEG70+FukWmRpabfo8YD/mxr2cPwTmdXWpyw9Xd/hf8zwcV4hZRQ0pc035Ky/8AJrfkfqBr3ijw14WtDf8AiXxBp2k2wzma9ukgT83IFeF/ED9ub4J+DlkttCvbvxTeqCBHp0e2EN/tTPgY90DV+buq6zq+u3j6hreq3eoXT/fmup2lkb6sxJNU6+iwfAmFptSxVRz8lov1f5HymP8AEjGVU44Okoeb95/ovwZ9EfFX9t74t/EGOXTfD0yeEtLkBUx6fITcuvo1wQGH/AAnvmvAra21PXdTjtLWG4vr++mCRogMks0rtgADqzEn6kmus+GnwY+JHxb1FbDwT4aubuIOEmvXUx2sHu8p+Ucc4GWPYGv0F/Z4/ZM8I/BVI/EGqyx654rZMNeumIrXI5WBTyPQufmIz90EivSxuZZXwzRdKhFc/SK3f+J7/fr2PKy/Kc44vxCrYmUuTrOWy8ora/ktO9jW/ZY+Cj/BX4aRabqiJ/b2ruL7VGUg+W5UBIQR1CLx6bi5HBr2SiivyPF4qpja8sRWd5Sd2fuGCwdLL8PDC0FaMVZf13e7CiivF/2jP2lPDHwO0KS1glg1DxVdxH7DpofPl56TTY5VB6dWIwO7KYTCVsbWjQoRvJ/193mGNxtDL6EsRiZcsV1/Rd32R65aaxpl/e3unWd5HNc6a6R3canJhd0DqrehKspx6EVcr5o/YSuPEOvfD7xN458TXc11feIvEU1w9xKcmXbFGC3oBuLKAOBtwMACvpetcxwiwGKnhk78ujfnbX8THKsc8ywcMW48vPql5XdvwsFFFFcR6AUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFZHibwj4X8Z6c2keLPD9hq9m2cw3lusqg+o3Dg+45rXoqozlCSlB2aJnCNSLhNXT6M+Z/Gv7Avwa8RO9z4ZuNV8MztkhLeb7Rb5PcpLlvwDgV4X4y/wCCenxR0ffP4P8AEej+IIVztjkLWc7fRW3J+b1+hlFfQYTirNcJZKpzLtLX8d/xPmMbwZk2Nu3S5H3i+X8Ph/A/IbxX8BvjH4K3t4k+HOuW0Ued88dqZ4R/20j3J+tcIyOhKuhUg4IIxzX7ZkAjBFYHiD4f+BPFgYeJ/BuiatuGCbywimP5spIr6LD8fTStiKN/OLt+DT/M+VxXhnBu+FxDXlJX/FNfkfjTRX6j+Iv2Mv2evEO5x4JOmTNn97p95LDj6JuKf+O15trf/BOb4e3JY+HvHmv2JPIF3FDcgf8AfIjP617VDjbLKv8AE5o+qv8Alc+exHh7nFH+Hyz9JW/9KSPgGivsDW/+CcXjSDcfDvxG0a9x937Zay22frs8zFcHrH7Cf7QWmMwstF0rVQOhtNSjUH/v9sNerR4iyqv8NePz0/Ox41fhXOsP8eHl8ve/9JufPod1OVcj6GtrTfHPjXRsf2R4v1qy29Ps9/LHj/vlhXbap+y98f8AR8/a/hbrUm3r9ljW5/8ARRbNchqnw3+IeiZ/tnwJ4gsNvX7Tpk0WP++lFd8cVg8SrRnGXzTPNlg8dg3eVOcPk0dHpv7Rfx00kAWnxW8SsB0E9+84/wDIhauosP20P2jrBQn/AAn/ANoUdp9NtXP5+Xn9a8UeKWJikkbKynBBBBFNII6ioqZXgaus6MH/ANur/I0p5xmNDSnXmvSUv8z6Ls/29fj7akGe70O7x/z204DP/fDLW5Z/8FEvjDEQt74W8J3AHUrb3CMfx84j9K+V6K5ZcPZXPehH7rfkdkOKM5p7YmXzd/zPsO0/4KPeLkAF78NdJlPfyr2SP+YatOD/AIKTXa8XPwhif12a2V/nAa+KaK5pcK5RLej+Mv8AM6o8aZ7HbEP/AMBi/wD20+5YP+Ckmltj7T8JrqP12awr/wA4RWhB/wAFHfBrf8fPw41lP9y7ib+YFfBVFZPg/KHtTa/7el/mbx46zyO9VP8A7dj/AJH6AJ/wUZ+G5+/4E8Rj6NAf/Z6mX/gov8LT9/wX4oH0S3P/ALUr8+aKj/U3Kf5H/wCBM0XH2dr7a/8AAUfoWn/BRX4Rn7/hDxaPpBbH/wBrVIP+CifwaIyfC3jHPp9ltf8A4/X54UVP+peVfyy/8CZX+v8AnX80f/AUfoW//BRT4Qj/AFfhHxcf96C2H/taon/4KL/C0D934L8UH6pbj/2pX580U1wZlP8AK/8AwJifH+dP7cf/AAFH6AP/AMFGfhwP9X4E8Rn6tAP/AGeoH/4KOeBAP3fw911vrPCP618DUVS4OylfYf8A4EyXx7nf/Pxf+Ar/ACPu2f8A4KQ+HV/49vhdqL/7+pIn8kNZ8/8AwUmjGRbfB9j6F9dx+ggr4iorSPCOTrelf/t6X+ZlLjnPXtWt/wBux/8AkT7Juv8AgpD4jfP2P4X6dF6ebqTv/JFrJuv+CjHxNfIsvA/hqL083z5P5SLXyZRW0eF8ojtRX3t/mznnxjnk98Q/kor8kfTF7/wUC+Od1nyLLwxaZ6eTYSHH/fcrVg337b/7Rd2CIPF9pZ5/546XbHH/AH2jV4LRXRDIcshtQj80n+Zy1OJM3qfFiZ/KTX5WPVtQ/ao/aC1PP2n4o6sm7r9n8uD/ANFquK5nUvjD8WdYBXVPib4pulbqkur3DL+W7FcfT44ZZWEcUTuzHACqSSa64YDCUvgpRXpFL9DhqZlja38StN+sm/1JbvUL+/lM99ez3Eh6vLIzt+ZNQEknJNdNpHwv+JPiBlXQ/AHiK/3YwbfTJpB9chcV3ei/sh/tD67ta3+HF3bI3V725ht8fg7hvyFFXH4TDK1WrGPq0v1HRy7HYt3pUpy9It/oeO0V9TeHv+Cefxc1HbJr/iHw9pEZ+8olkuJR/wABVAv/AI9Xp3hz/gnH4Ptij+K/iJq2oYwWSxtY7UH2y5krya/FWU0N6t35Jv8AG1vxPaw3Bmd4nVUHFf3ml+Dd/wAD4LrT0Lwz4j8UXg07w1oOoardNjENlbPM/wCSAmv098K/sg/s/eFNkkPgK31KdesuqSvdbvqjny/yWvWNI0LRdAtFsNC0ey062X7sNpbpEg+iqAK8HFce0IprDUm/OTS/K/6H0uD8NcTNp4usortFNv73b9T82vAn7Dvxy8XyRzaxpdp4ZsnwTLqU48zb7RR7mz7Nt+tfTfw4/YL+E3hF4b/xdc3niy+jIYpcfuLTcO/lIcn6M7A+lfTFFfLY7izM8anFT5I9o6fjv+J9nl3BOUZe1Jw9pLvPX8NF+BV0zS9M0Wxh0zR9PtrGzt1CQ29vEscca+iqoAA+lWqRmVBuZgAOSSa8v8fftMfBT4cxyprnjmxuLyPI+xac/wBqn3f3SseQh/3yorwaOHr4ufLRi5SfZNs+kxGKw+Bp89eahFd2kj1GsrxJ4p8OeD9Kl1zxTrdlpVhAPnuLqZY0B9AT1J7AcntXxH8R/wDgoh4i1AS2Pwv8KQ6VCcqt9qZE0+PVYlOxD9S4r5b8afELxt8RNTOr+NfE1/q9ySdpuJSUjB7Ig+VB7KAK+vy7gjGYhqWLapx7by/yX3/I+GzXxDwGFThgYupLvtH8dX8l8z67+N/7fcZjuPDvwVtGLMDG2u3kWMe8ELD/AMekH/Aehr5BsbTxb8TfGMFlHLd6zr+u3axh5pDJLNK5xlmPOO5J4AGegrO0XRdW8R6pbaHoWnXF/f3kgit7a3jLySOegAHWv0c/ZT/ZZtvg5Yjxh4vSG58X3sJTapDx6dE3WND0Ln+Jxx/CvGS31WJnl3COEfsIr2jWnWUn3b7L5LtqfF4SnmvHONX1iT9nF620jFdkv5n03ffQ9f8AhP8AD+x+Fvw70PwLYsrjS7VUmlVcCadiWlk/4E7MfYECuuoor8jq1Z1qkqtR3bbb9WfuVGjDD040aatGKSS7JaIKKKKzNAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACsjTvF/hbVtYvvD2meIdPudU0xgl5ZxXCNNASARuQHI4I5xitevz5/a7+AfxB8GfELU/jH4MS+uNH1KY3091Yswn02cgby+35ghOSHHAzg4wCfXybL6GZ13h61XkbXuvo326Hh5/mmIyjDrFUKPtIp+8k9VG2+z2e/8ATP0GpCqnqoP4V+Yfgf8AbW+PHgxIrW68QQeIbSLAEWrwea+P+uqlZCfdmNe9eDv+CjHhS7VIfHfgPUtOk4DTabMlyhPqVfYVHsCxr0sXwdmmGu4RU1/df6Oz+655GB47yfGWVSbpvtJfqrr77H1tfaJo2prt1LSbO6HTE8Cv/MVzt/8AB/4T6oD/AGl8MvC1yT1aXSLdj+ZTNcX4Z/a7/Z88T7Et/iFa2EzdY9Shktdv1d1Cfk1enaN4r8L+IoxN4f8AEemamhG4NZ3ccwI9cqTXiVKOOwLtUjOHqmj6GliMuzFXpyhU9HFnA6h+y7+z/qWftHwt0VM9fIRoP/RZFc/efsUfs4XRJTwJLbk9TDql2P0MhFe5Ag9DS1UM2x9P4K81/wBvP/MU8kyyrrPDwf8A25H/ACPnO7/YK+AVznybTXLXP/PLUScf99qaxrv/AIJ3/BqbLWviXxbAewN1buv6w5/WvqWiumPEOaQ2ry++/wCZyT4Xyae+Gj8lb8j5En/4JyeAWJFt8QNejHbfDC/8gKoT/wDBN7w+3/Ht8UtQT/f0xG/lIK+yqK2XFObx2rP7o/5HNLg3I5b4dffL/M+JZ/8Agmwhybb4wEegfQs/qLiqUn/BNzVwT5XxXtGHYtpLD/2qa+56K1XF2cL/AJe/+Sx/yMnwPkT/AOXH/k0//kj4Sb/gm94jH3Pijpx+umuP/Z6ib/gnB4sH3PiXpR+tjIP/AGavvKir/wBcM3/5+L/wGP8AkR/qJkf/AD6f/gUv8z4JP/BOLxrnj4j6Lj3tZacP+CcPjE/e+JGjj6Wcv+NfelFP/XDN/wDn4v8AwFf5E/6h5H/z6f8A4FL/ADPg5P8AgnB4qJw/xM0sD2sJD/7NVqL/AIJuawf9d8V7Nf8Ad0lm/nKK+56Kl8X5u/8Al6v/AAGP+RS4FyJb0X/4FL/M+Iov+CbDkgz/ABhUeoTQc/qbitG3/wCCbugr/wAfXxTv5P8ArnpaJ/OQ19mUVm+LM4lvW/8AJY/5GseCcijtQ/8AJp//ACR8j23/AATl+HiEfbPHviGX18uOFP5qa2bL/gnr8E7fBudb8WXR7h7yBR/47CD+tfT9FYy4kzWe9d/gvyR0Q4SyWG2Hj87v82fPdl+wp+z3akGfRNVu8dRNqcoz/wB8Fa6PT/2RP2ddMwbf4Z2chHe4uribP/fchr2GkJA6muWec5jU+KvP/wACf+Z108gyql8GGh/4Cv8AI4XTvgP8FtJKtY/CrwqjL0d9Khdh9GZSa6zTdA0LRk8vSNFsbJcYxb26RjH/AAECrF1fWVjCZ728hgjHV5ZAqj8TXJat8aPhFoW4at8TPDFsy9Y21SEv/wB8hs/pWHNi8XpeU/vZ1cuCwSvaMPuX+R2YAHQUteK61+2R+ztooZW8fpeSDpHZ2U8uf+BBNv6159rn/BRD4T2W5NC8LeI9ScdGkjhgjP4l2b/x2uyjkOZ1/goS+at+djhr8SZRhv4mIh8nf8rn1XRXwlr/APwUf8Rzhl8L/DPTrM9Fe/vnuPxKosf5ZrzLxF+3B+0HroZLXxJY6PG/BTT9PjHHs0gdh+BzXq0OC80q/Gow9X/lc8TE+IGTUP4cpT9I/wDyXKfpySAMk4+tcf4n+Mfwr8GB18T/ABB0KwkTrBJeoZvwjBLn8BX5TeJPi18TvGAZPE/j/X9RibOYZ7+VovwTO0fgK5Qkk5Jr28PwD1xFb5RX6v8AyPnsV4mPbC4f5yf6JfqfpF4u/b3+CGgK8egHV/EcwyFNraGGLPu020ge4U14h4w/4KI/EPUt8HgzwhpGiRNwst073kwHqD8iA/VTXyXRX0GF4RyrDauDm/7zv+CsvwPl8bxznOMulUUF2irfi7v8Tu/HPxy+LXxHLr4w8d6pewSZ3Wqy+Tb/APfqPan6VwpJJyTXQeEfh9448e3f2Hwb4U1TWJQQr/ZLZnRP99gNqD3YgV9EfD//AIJ9fE3XjFdeO9a07w1bNgvBGftd1j0whEY+u8/SvRr4/LcnhyVJRguytf8A8BWv4Hl4fLc2z2p7SnCdRv7Tvb/wJ6fifKwyTgCvavg7+yZ8Vfi5JBqCaYdC0GQhm1PUIygdPWKPhpfYjC/7Qr7m+GH7JfwY+F7RX1n4e/tnVIsEX+rETurDuiYEaHPQhd3ua9lAAGAMV8bmfHN06eXw/wC3pfov8/uPvco8ObNVczn/ANux/WX+S+Z5f8Fv2dfh38ELDHh2wN5q8qbbnVrtQ1xJ6qvaNP8AZX0GSxGa9Roor8/xGJrYuo61eTlJ9Wfp2FwlDBUlQw8FGK2SCiiisToCiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACmsqupR1BBGCCMginUUAeI/Ev9j34K/EiWW/bQn0DUpMlrvR2WDc3q0ZBjbnqdoY+tfNfjX/gnh8QtLeS48D+K9K1yAElIbpWtJyPQfeQn3LLX6BUV72B4lzLAJRp1Lx7S1X46r5M+bzHhLKMybnUpKMn1j7r/DR/NM/I7xT+zv8AG3waXOu/DXW1jjJ3TW1ubqID1Lw7lA/GuBZbyxnKsJreaJuQcoyMP1Br9riAeorI13wd4R8TxmLxJ4W0nVUIwVvbKOcY/wCBg19Lh+PqiVsRRT9Hb8Hf8z5LFeGlJu+FxDXlJX/FNfkfkjonxh+K/hwqND+I/iSzRekcepzCP8U3bT+Vdtpf7YX7RelYEXxHuJ0HVbmztps/i0ZP6194a9+yP+zz4gLPdfDeytpG5DWM01rtPssbhf0rgNa/4J7/AAXv2aTStY8S6Yx6Il1FLGPweMt/49XYuJ8ixf8AvFDXzhF/5s898H8SYL/dcRdf3ZyX52X4nz3pn7fvx3sMfa4/Dmo46/adPZc/9+3Suksv+CjPxGjx/aHgPw7N6+S88X82auq1b/gm5aNl9C+K0sfpHd6UHz/wJZR/6DXJ6h/wTn+JUWTpXjnw3cY6eeJ4f5I9Wq/CeI1aivlKP6IzeH42wuic3/29GX6s6Cy/4KSXi4GofCSGT1aHWSn6GE/zrXt/+CkPh9v+Pr4W6hH6+XqaP/OMV5FqP7A/x7ssi2i0C/x0+z6gRn/v4i1zOofsb/tG6cSX+HUk6jo1vf2smfwEmf0q1lvCtb4ZRX/b7X5yIlm/GeH+OE3/ANw0/wAon0nb/wDBRr4fNj7V4A8QR+vlywv/ADYVdT/gor8JyPn8HeKx9Irc/wDtWvkS6/Zl+PloCZfhXrzY/wCeVv5n/oJNZN18DPjRZ5Nx8J/FygdWGjXDD8wmK0XDnD9T4ZL5T/4Jk+K+KKfxwfzp/wDAPtZP+CifwdP+s8KeMB9La2P/ALXp5/4KJfBcDI8MeMyfeztf/kivhG5+G3xEsiReeA/EMGOvmaZMv81qi/hTxRH/AKzw3qi/W0kH9K0XCOSy1i3/AOBGT44z+Okkv/AD74b/AIKKfB4fc8J+Lz9ba2H/ALXqGT/got8KgMxeDPFTH0aO3X/2qa+Bn0LW4xmTR71cf3rdx/SoHsb2P/WWcy/WMitFwdlD6P8A8CZm+PM8W8kv+3Ufec3/AAUb8Br/AMe/w911/TfPCv8AImqE/wDwUh8PqD9m+Ft/Ie2/U0T+UZr4XEUpOBG2fTBp62d2/wBy1mP0Q1quEMnW9N/+BP8AzMXx1nstqi/8Bj/kfZ93/wAFJbtsiy+EUSehl1ov+ggFZF1/wUc8cuD9i+Hehxenm3Esn8ttfJkekarKdsWmXTn0WFj/AEq5D4P8W3H+o8L6tJ/uWUh/kK0XDOS0/wDl0vnJ/qzF8X8QVdqz+UY/pE+ir7/goX8abnK2mheFLRexSznZh+LTEfpXPX37c/7Q92T9n8R6dZZ6eRpkJx/32rV5LB8MfiRdEC2+H/iOUnps0udv5LWpa/Aj413mDB8JvFxB6FtHuFH5lQK0WV5JR3p0/nZ/mZPOeIcRtVqv0uvyOh1L9rH9obVs/avifqSZ6/Zoobf/ANFotcrqXxj+LWsEjVPib4ouVPVZNWnK/wDfO7ArobX9l74/3hAh+FmtLn/nrGsf/oRFb1h+xZ+0dfYZvAS2yH+KfU7Vf0EhP6Vqq2S4baVKP/gCMnQ4gxfxRrS9VNnjF5qeo6jL52oX9xcyf35pWc/mTVcknqa+kbD9gL48XmDcP4css9fP1Bjj/vhGrqdL/wCCcnj2bH9s/EHQbX+99mhmnx/30EpT4iymirOvH5a/lcdPhXO67usPL52X5tHyJRX3Tpf/AATe0SMKdZ+Kd7cf3hbaYkP6tI9dpo3/AAT9+B+nbW1G98Sao38QnvUjQn2EcakfnXDV4yymn8M3L0i/1sejR4Bzur8UIx9ZL9Ln5xU5Ed2CohYk4AAySa/VbRv2Sv2edD2m1+GlhOy9WvJprnJ9xI7D9K9B0HwJ4J8LKq+GvCGi6UFGB9isIof/AEBRXl1uPcNH+DRk/Vpflc9fD+GmMl/Hrxj6Jy/PlPyW8P8Awd+K3ikofD/w68RXqPjEsenS+X+Lldo/E16t4X/YU+PniAI+paZpegRtyW1C+Vmx/uwhyD7HH4V+l4AAwBilrx8Rx3jaitRpxj97f6L8D3sL4b5fT1xFSU/S0V+r/E+LvCn/AATi0yN0m8bfEi5nX+O30uzWL8pZC2f++K9v8Hfsj/APwWEltfAltqdymCZ9WdrssR32P+7H4KK9iorwMVxBmeM0q1nbstF+Fj6fB8L5RgLOjQjfu/ef/k1/wK9jp9hpdsllptjBa28YwkUEYRFHoABgVYoorx223dnupJKyCiiikMKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAQgHqB+VG1f7o/KlooAbsT+4Pyo2J/cH5U6igBvlx5z5a/lRsQdEH5U6igBuxP7g/Kl2r/dH5UtFACYA6AUtFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRXhf7XvirxJ4R+Hemaj4Y1y90u5l1mOF5rWZo3aMwzEqSO2VBx7CsMTXWFoyrSV0jvyvATzTGU8HTaTm7Xex7pRX5pf8Lt+Lv/AEUjxD/4Hyf40f8AC7fi7/0UjxD/AOB8n+NeD/rNQ/kf4H3/APxC/Hf8/wCH3P8AyP0tor80v+F2/F3/AKKR4h/8D5P8aP8Ahdvxd/6KR4h/8D5P8aP9ZqH8j/AP+IX47/n/AA+5/wCR+ltFfml/wu34u/8ARSPEP/gfJ/jR/wALt+Lv/RSPEP8A4Hyf40f6zUP5H+Af8Qvx3/P+H3P/ACP0tor5C/ZD+Injvxb8SdR03xP4t1XVLWPRZpkhurl5EWQTwAMAT1wzDPua+va9nA4yOOo+2grI+Kz3JqmRYx4OrJSaSd1tr6hRRRXYeMFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABXzv+2/8A8kv0j/sOxf8ApPPX0RXKfEb4aeF/ilo0GheLIbiS1t7lbuMQTGNvMCsoOR2w7cVyY+hLE4adKG7R6+Q46lluZUcXWvywd3bc/MeivvT/AIY8+C//AD4ap/4HN/hR/wAMefBf/nw1T/wOb/CvkP8AVzGd4/f/AMA/Yv8AiJOTdp/+Ar/5I+C6K+9P+GPPgv8A8+Gqf+Bzf4VmeKP2S/g/pXhnVtUs7LUxPZ2M88Ra9YgOkbMMjHPIpS4exkU5Nx+//gFU/EbJ6k1BKd27fCv/AJI+HqKD1orwj70+hP2Iv+Srap/2AJ//AEot6+36+IP2Iv8Akq2qf9gCf/0ot6+36+84e/3JerPwHxE/5Hcv8MQooor3D4UKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKw/HX/Ik+IP8AsF3X/opq3Kw/HX/Ik+IP+wXdf+imrOr/AA5ejN8L/Hh6r8z8uD1ooPWivys/rE+hP2Iv+Srap/2AJ/8A0ot6+36+IP2Iv+Srap/2AJ//AEot6+36+84e/wByXqz8B8RP+R3L/DEKKKK9w+FCiiigAooooAKKQso6kD8ayr3xd4V01zFqPibSrVx1Wa8jQj8CaTlGOsmXCnOo7QTfoa1FctN8Vfhjb8T/ABF8Mxn0bVoAf/QqbF8WPhdMQsXxH8MOT0C6tbk/+h1n7eltzL70dH1DF2v7KX/gL/yOrorLsPFPhnVWCaZ4i0y7Y9BBdxyE/wDfJrTBB5BzWikpK6Zzzpzpu000/MWiiimQFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFQ3F3a2kZmurmKGNeryOFA/E0bbjSbdkTUVz8/xB8B2pIufG2gxEcHfqMK4/NqpN8XPhWjbG+JXhcH0Or2/wD8XWTr0lvJfejpjgcVL4acn8n/AJHW0VzVt8TPhzeHbaePvDsx6Yj1SBj+jVuWepadqMfnWF/b3Kf3oZVcfmDVRqQn8LTM6mHrUf4kGvVNFmiiirMQoorM8TareaF4f1DWLDSJ9UubO3eaKygz5lwyjIRcAnJ6dDSk1FNsqEJVJqEd3oadFfOl/wDtYeJdK1W00PU/gXr1rqN//wAetrNcMks/OPkUxZbn0rodW/aH1jw78Pbnx14m+Feq6RJBqUenpYXkxieVXQt5oZoxwCCMY/GuFZnhZXtLbfR6fge9PhfNKbgpU177Sj78He7srWl367HtVFec/D/406N45+Gd/wDEk6e9hBpa3Ju7ZphIYzCu8jdgZypU9O9YvwS/aGtfjNrGo6Tb+FpdKOn2y3Bd7sS7wW24wEXFarG4duEVLWeq31/rzOSWR5hCFapKm0qLtPVaP79flc9gooorqPKCiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigArD8df8AIk+IP+wXdf8Aopq3Kw/HX/Ik+IP+wXdf+imrOr/Dl6M3wv8AHh6r8z8uD1ooPWivys/rE+hP2Iv+Srap/wBgCf8A9KLevt+viD9iL/kq2qf9gCf/ANKLevt+vvOHv9yXqz8B8RP+R3L/AAxCiiivcPhQqpq+oJpOlXmqyRmRbO3kuGQHBYIpbH6VbrG8Z/8AIoa5/wBg65/9FNUzbUW0a0YqdWMZbNo+TvEn7cXi26Lx+FvB+m6emcCS7le5fHqAuwA/XNeba7+0x8a9fLLN42uLSNuiWMUdvt+jIA35mvMG+8frSV+b1czxlb46j+Wn5H9K4ThfJ8El7HDxv3a5n98rs1tU8XeK9bJOs+JtVv8Ad977TeSS5/76JrKLMepNJRXFKUpO8me3CnCmuWCSXloGSepooopFihmHQn866HQfiL488LujeH/GGr2AQ8Rw3jiM+xTO0j2IrnaKqM5Qd4uzM6tGnXjyVYqS7NXX4n0J4H/bO+IWhyR2/jGytPENpkBpNot7kD2ZBsP4rk+tfUvw0+M/gP4q2hk8M6ptvI13T2FyBHcRD125IYf7Skj3r81qt6Tq+p6FqNvq+jX81ne2riSGeFyrow7givZwee4nDNKq+ePnv9/+Z8VnXAWW5lBzwsfZVOjj8Pzjt91vmfqxRXif7OX7QEPxV05vD/iFo4fE1hFvk2gKl5EMDzVHZhkblHqCODge2V9th8RTxVNVaTumfh2ZZdiMqxMsJio2lH7n2a7phRRRW5wnm37QWoeONE+Gl/4j8AaxJYahpLLdylIY5PNtxkSLh1IGAd+evyGvjn/hqL47f9D5L/4A2v8A8br9Cb2zttQs57C8hWW3uY2hljYZDowIIPsQa/Mf4k+DrnwB451nwjchv+JfdMkTMOXhPzRv+KFT+NfLcQvEUJRrUptJ6OzaV/8Ag/ofq3h2svx9OrgsVRhKcfeTlGLbT0au10dvvOv/AOGovjt/0Pkv/gDa/wDxuvoP9lH43+JfiJca14a8b6x9v1O3VL20laKONmh4V1wigfKxQ9M/OfSviiu0+Dnjh/h58SNE8TmQrbQ3AivAOht5Pkk474Ukj3ArxsBmdejiISqzbjfW7b0f+R9rn/C+BxmXVaWFoQjUteLjFJ3WqV0utrfM/S+imxyJLGssbBlcBlYHII9adX6EfzoFFFFABRRRQAUUUUAePftO/FXU/hh4Ehk8OXwtdb1W6WC0k2K5jRfmkcKwIPGF5B++K+Uf+Govjt/0Pkv/AIA2v/xutf8Aa18d/wDCW/FS40i1m32XhyP7BGAeDNndM313YQ/9cxXilfB5rmVaeKkqM2orTRtbb7eZ+/cJcM4OjlNKWLoxlOfvNyim1fZartbTvc9U/wCGovjt/wBD5L/4A2v/AMbr62/Zq1n4geKPh6PFfxA1yS/n1S4d7JXgji8u3T5QcIq8swY89guK+DfB3hm+8ZeKdL8Laap+0andR26tjIQMeWPsoyT7A1+nuh6PY+HtGsdC0yLy7TT7eO2gT0RFCgfkK9Dh94jEVJVqs24rTVvd/wCS/M+c8Q45fl2Hp4TC0YRnN3bUYpqK80r6v8mXqKKK+sPyQ8v+O3xsT4L6Rp1+PD51WbU5ZIY0Nx5KoVUHJO1ievTFfM3iD9s74s6ozLo8OkaNGfumG282QfUyFlP/AHyK9H/bq/5AHhT/AK/Ln/0BK+Pq+MzrMcVSxUqNObUVbbTp33P2vgnhzK8XlVPGYiipzbldu7Wkmlo9PwO31v43fFrxCxOp/EDWirfeSC5MCH/gMe1f0rkbzUtR1GXztQv7i5k/vzSs5/Mmq1FfPTq1KjvOTfq7n6LQwmHwy5aFOMV5JL8gyfWiiiszoAEjoamtry7spluLO6lglU5V43KsPoRUNFF7bCaTVmeg+Gfj98X/AAo6nTfHOozRKR+5vX+1R49MS7sD6Yr334dftsWF5LHp3xK0MWLNhf7Q08M8QPq8Ryyj3Ut9K+QaK9DDZpisK/cm7dnqv69D5/MuFcpzWLVailL+aPuy+9b/ADuj9VtG1rSfEOmwaxoeo299ZXK74p4JA6MPYj+Xartfm98H/jT4p+EWtrdaZO1zpU7qb7TpG/dzL0LL/ccDow9gcjiv0I8H+LtD8deHLLxT4duvPsb6PehIwyHoyMOzKQQR6ivtMszSnmEbbSW6/VeR+JcT8K4jh2qpN81KW0v0fZ/g+nVLwv42f8nKfC7/AHl/9Gmtb9s0Z+EEYP8A0F7b/wBBkrsPG3wf/wCEx+JXhb4h/wDCQ/ZP+EaIP2P7L5n2j5y33942dcfdNW/jN8Lv+FueEF8Kf25/ZW27juvP+zef9wMNu3cvXd1z2rOrha0qeJilrN6ba6Jf1c6MLm2Dp4nLakp6UV7+j09+T7a6NbXPlTxF4huPhtp/xJ+E1qrh/El1YXGmRoOAk+HlUeuUKJ+Felfs4+H4vCnxu8beGoQNumaXaWpI/iZFjBb8SCfxrvPF/wCzppni34j+HPiBNr3kf2HFapPZ/Y94vDA5ZSX3jbngEYbgVv8AhH4Tf8It8TvE/wARv7e+0/8ACRoifY/suzyMbf4953fd/ujrXLQy6vTxEZyXuxlpqtI+8/zdvkerj+I8BiMuqUacvfqU7y0etS9OPb+WDfbXe56FRRRX0R+cBRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAVh+Ov+RJ8Qf9gu6/8ARTVuVh+Ov+RJ8Qf9gu6/9FNWdX+HL0Zvhf48PVfmflwetFB60V+Vn9Yn0J+xF/yVbVP+wBP/AOlFvX2/XxB+xF/yVbVP+wBP/wClFvX2/X3nD3+5L1Z+A+In/I7l/hiFFFFe4fChWN4z/wCRQ1z/ALB1z/6Katmorm2gvLeW0uolkhmRo5EYZDKRgg/UVMlzRaNKU1TqRm+jTPyt0zR9W1y9XT9F0y7v7qQ/JDbQtK7fRVBJr17wp+yL8X/EiR3F/YWehQPg7tQnxJj/AK5oGYH2bFfcugeFvDfhW0+w+GtBsNMg7pa26xhj6naOT7nmtSvm8Pw1SjrXk35LRf5/kfpeY+JuLqvlwFJQXeXvP7tEvxPmPw5+w34Xt0V/FfjLUb2TqUsYkt0B9MvvJH5V6Bo/7K3wR0gAt4Ta+kHHmXl3K+f+Ahgv6V65RXr0srwdL4aa+ev53PkMVxVnOMbdTEy+T5V/5LY4a2+BvwftBiL4caC2P+elkkn/AKEDRcfA34QXKlZPhxoIB6+XZIh/8dAxXc0V0fVaFrci+5Hnf2pjr83tp3/xP/M8h1n9lP4JavGyx+FpNPkbpLZ3cqkfRWZl/wDHa8e+If7E2oWFtLqHw419tQ8sFhp+oBUlYeiyrhSfYhR719f0VyV8pwddWcEvNafketgOL85y+alCvKS7SfMn9+v3NH5Tanpeo6LqE+latYzWl5ayGKaCZCjxsOoIPSqtfbP7XvwksfEPhOT4jaTaKmr6Kq/a2Rebi1zg7vUpncD/AHdw9MfE1fD5hgZYCu6UtVun3R+7cO57S4gwSxUFaS0kuzX6PdGv4R8Uar4K8S6f4p0ScxXmnTrMhyQGA+8jeqsMqR3BNfpr4T8SWHjDwzpnijTD/o2p2sdygJyV3DJU+4OQfcGvyzr7i/Yt8Svq3wwutBnkLPomoSRxgnO2GQBx/wCPmSvW4bxLhWlQe0lf5r/gfkfI+JWWQrYKGPiveg7P/C/8na3qz6Booor7Q/Egr5J/bd8BbJtH+I9lDxIP7Mvio/iGWiY/hvBJ9FFfW1cp8U/BUPxC8Aa14SlVfMvbZvs7N0Sdfmjb8HC59s1w5jhfrmGlSW+69Vse7w1mjyfM6WKb929pf4Xo/u39UfmPQCQcipLm3ntLiW0uYmjmhdo5EYYKsDggj1BqOvzU/ppNNXR+hX7MXjv/AITj4TaYbmbffaN/xLLrJyT5YHlse5zGU57kNXrNfDn7Gvjv/hHfiHP4Su5ttp4jg2ICcAXMQLIfbK+YvuStfcdfomT4r61hIye60fy/4B/OPGOV/wBlZvUhFWhP3o+j3+53QUUUV6h8sFFFFABXN/EbxfbeAvA+s+LbkrjTrV5Ilbo8p+WNP+BOVH410lfLH7b3jsW+naN8O7OfD3THUr1QefLXKxKfYtvP1QVxZhifqmGnV6paer2Pa4dyx5vmdLCNe63eX+Fav8NPU+Sb28udQvJ7+8maWe5kaaWRjku7HJJ+pNQ0UqKzsERSWY4AA5Jr801bP6dSUVZH0z+xN4C/tHxHqfxCvYcw6VH9is2I4NxIPnYe6x8f9ta+ya4X4JeBF+HXw00bw5JEEvPJFzfccm4k+ZwfXbkKPZRXdV+kZXhfqmFjTe+79X/lsfzVxVmv9sZrVxEXeKfLH/CtF9+r+YUUUV6B86fLv7dX/IA8Kf8AX5c/+gJXzP4Q+F3xA8eSBPCnhS/v4ydpnWPZAp9DK2EH4mv0k13wn4Z8TyWkniPQbHUzYuZLYXcCyiNiMEgMCM8D8q04oooI1hgiWONAFVUXAAHYAdK8DF5GsbipV6k7J20W+i7n6DlHHUskyuGBw9Hmmr6t6atvZavfuj4v8L/sReONQ2TeKvEumaRGeTHArXUo9iPlUfgxr1PRP2LPhXp6q+rahrWqSD7we4WKMn2CKGH/AH0a+gKK6qOS4Kj9i/rr/wAA8rGcb53jHrW5V2ilH8d/xPNdP/Zw+CemxiODwBYyAd7h5JifqXY1qr8FfhGkflD4beHcep06In8yM12tFdqwmHirKC+5HhzzfMKjvOvN+spf5nnt9+z78GNQXbP8PNKUf9MUaE/+OEVxPiP9jX4S6urvox1TRJSDs+z3JljB91l3Ej2DCveKKzqZfhaqtOmvuR0YfiHNcK+aliJr/t5tfc7o/Pj4t/s1eOPhXDJrAKazoaHm+tkKtCM4HmxnJT6gsvTkE4ryOv1fuLeC7t5LW6hSaGZDHJG6hldSMEEHggjtX55/tG/CyH4W/EKay0uIro+qR/bbAdRGpJDRZ77WHH+yVzXymcZRHBr29D4eq7f8A/XODOMamdTeBx1vapXTWnMlvddGt9NGuitr5ZX0X+xv8TZ9A8YS/D7ULhjp+vAyWoZvliu0Unj03qCD6lUr50rQ8O6zdeHdf07X7Jis+nXUV1GQcfMjhh/KvIweJlhK8a0ej/DqfYZ1lsM3wFXBzXxLTye6fyZ+qdFQWF5BqFjb39s26K5iSaM+qsAQfyNT1+nJ3V0fy404uzCiiigQUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABWH46/5EnxB/2C7r/0U1blYfjr/kSfEH/YLuv/AEU1Z1f4cvRm+F/jw9V+Z+XB60UHrRX5Wf1ifQn7EX/JVtU/7AE//pRb19v18QfsRf8AJVtU/wCwBP8A+lFvX2/X3nD3+5L1Z+A+In/I7l/hiFFFFe4fChRRRQAUUUUAFFISAMk1l614r8L+G4/N8Q+I9M0xMZBu7uOEH/voilKSirydi4U51ZcsE2+y1NWivMtV/aU+CWjkrcePLSZhwBaxSz5/GNSP1rmL/wDbJ+Ddpn7PJrN7jp5FkBn/AL7Za5J5hhKekqkfvR61Hh3Nq6vTw0//AAFr80e6UV81X37cvgiPP9m+Ddbn9PPeKL+TNWJdft3RgkWfw0Y+jS6tj9BF/WueWdYGO9T8H/kejT4Jz6pqsO/m4r82fTninTIta8M6to86ho76xntnBGch4yp/nX5YsMMR719N3v7c3iaZGSz8C6ZEGBH7y6kk/kFr5kJJJJ7nNfM57jsPjZQdB3te+lu1j9O4DyLMMkhXjjo8vM4tap7Xvs35CV9WfsJXkguvGFgW+Ro7KUD0IMoP8x+VfKdfUP7CpP8AwkPioZ/5c7f/ANDaubJHbH0/n+TPV44ipZBiE+0f/Son2FRRRX6GfzkFFFFAHwJ+1h4C/wCEO+KlzqdpBssPESf2hEQOBMTiZfrv+b/toK8Xr73/AGtfAX/CX/C2fWLSDffeHHN/GQPmMGMTL9NuHP8A1zFfBFfnudYX6ri5WWktV89/xP6L4JzX+1MopuTvOn7j+Wz+at87l3RNXvvD+s2Ou6bKY7vT7iO5gcdnRgwP5iv0/wDCPiSy8YeF9L8Uac3+j6nax3KDOSu5QSp9wcg+4NflnX2f+xR47/tXwnqXgO8nzPos32m1Unk28pJYD/dkyT/10FdnDmK9lXdCW0vzX/APF8SMr+s4CGOgvepPX/DLT8Hb72fSlFFFfbH4cFFFFADXdI0aR2CqoLEk4AFfmn8ZPHD/ABD+JOt+J1lL20twYbMHoLeP5I+O2QNx92NfbH7TPjv/AIQX4TapJbzbL7Vx/Zlrg4IMgO9h3GIw5z64r88icnJr5HiXFXlHDR6av9P1P2Hwyyvlp1cymt/cj6LWX42XyYV6v+zL4BPjz4raatzDvsNGP9p3eRlSIyPLU9jmQpx3AavKK+5v2OvAP/CM/DqTxVeQbb3xJN5ykjBFtHlYx+J3t7hlrycnwv1rFxi9lq/l/wAE+u4yzX+ycpqTi7Tn7sfV7v5K79T3wDAwKWiiv0Q/nAKKKKACiiigAooprOqAs7AADJJOKAHUVyetfFj4Z+HmaPWPHmh28qfeiN7G0g/4ApLfpXG6l+1d8D9PLIniuW7Zeot7Gdv1KgH865qmMw9LSdRL5o9Khk+Y4pXoUJyXlFv9D16ivn6//bX+FNtlbTSvEN2exS2iRfzaQH9K5+8/bp8PISLDwBqEw7GW8SP+StXNLOMDDeovxf5HqUuDs8q/DhpfOy/No+oa+Yv259Lhl8L+GdZKDzbe/mtg2Odske4j/wAhCsS6/btvWBFl8NYY/Qy6oX/lEK8w+Mf7Reu/GLRLTQdS8PWOnwWl2LtWgkdnLBGXBzxjDHt2rzMzzfB4jCzpU5Xb20ffzR9RwxwhnWXZpRxdenyxi3f3ovRpro33PI6KKK+MP2o/TX4R3b3/AMLPCN3I255NEst59WEKg/rXXVw3wNJPwg8IZP8AzCLf/wBAFdzX6lhnejBvsvyP5UzKKhja0V0lL82FFFFbHEFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAVh+Ov8AkSfEH/YLuv8A0U1blYfjr/kSfEH/AGC7r/0U1Z1f4cvRm+F/jw9V+Z+XB60UHrRX5Wf1ifQn7EX/ACVbVP8AsAT/APpRb19v18QfsRf8lW1T/sAT/wDpRb19v195w9/uS9WfgPiJ/wAjuX+GIUUUV7h8KFFFcn8TPiV4c+FnhmbxL4imJUHy7a2jI8y5lIyEUH6ZJ6AAmoqVI0ouc3ZI2w9CriqsaNGLlKTskt2zf1jWtI8P6dNq2ualbWFlbrulnuJAiKPcmvnL4h/treH9Kll074eaK2sSrlRfXZaK3z6qn33H12V83/FP4w+Mfixq7X2v3zR2Ubk2mnRMRBbr2wP4mx1Y8n2GAOGr4/HcQ1KjcMLou/X/AIB+yZF4c4ahBVs0fPP+VO0V6tat/cvU9H8W/tD/ABe8ZGRNR8Y3dpbuT/o2nn7NGB/d+TDMP94mvO5p5riRpriZ5Hc5ZnYkk+pJplABJwBXz9WtUrPmqSbfmz9EwuCw2ChyYanGC8kl+QUVvaJ4B8ceJFV9A8IaxqCNyHtrKSRceu4DFdhpv7NHxv1TBg8B3USnqbieGHH4O4NVDDV6vwQb9EzOvmeBwrtXrQj6yS/NnmNFe52f7G3xkugDPFo1pnr517nH/fCtW3afsPfESQj7d4p8PQ+vlPNJ/ONa6Y5VjZbU2eZU4sySl8WJj8nf8rnzjRX1Pb/sK6iIzJf/ABGt49qliItNZ/5yLXyywwxHocVjicFXwdvbxtfbbp6HXlmeYDOXNYGpz8lr6NWve26XZ7CV9QfsLf8AIw+Kv+vO3/8AQ2r5fr6g/YW/5GHxV/152/8A6G1dWS/79T+f5M8vjb/kQ4j0X/pUT7Dooor9EP5xCiiigCG7tbe+tZrK7iWWC4jaKSNhkMjDBB9iDX5lfE7wZcfD7x5rPhKcNtsLlhAzdXhb5o2/FCp+ua/Tuvk39t3wF/yB/iPZQf8AUMvio+rxMf8Ax9Sf90V4HEOF9thvax3h+T3P0Hw6zX6lmTwk37tVW/7eWq+/VerR8nV6L+z/AOOz8Pvino2sTzeXZXMn2C9JOB5MpClj7K21/wDgNedUAkHIr4qjVlRqRqR3Tuft2MwtPHYeeGq/DNNP5qx+sQIIyKWvOf2fvHf/AAsH4V6Pq883mXtrH9gvSTk+dEAu4+7Ltf8A4FXo1fqFGrGvTjVhs1c/lnGYWpgcRPDVfig2n8mFFFZfinxDY+E/DmpeJdSbFtplrJdSc4JCqTtHueg9yKuUlFOT2RjThKrNQgrtuy9WfGn7Zvjsa/8AEC18H2k2618OwYlAPBuZQGb64QRj2O6vnur+v61feJNcv/EGpSb7rUbmS6mb/bdixx7c1Qr8xxmIeKryrPq/w6fgf1Fk2XRynAUsHH7KV/N7t/N3N3wL4UvPHHjDSPCdiCJdTukhLAZ2JnLv9FUM30Ffp3pWmWejaZaaRp0IitbKCO3gjHRURQqj8ABXyV+xJ4B+16tq3xFvYMx2Kf2dZMw481wGlYe4TaPpIa+wK+u4dwvssO60lrL8l/TPx7xHzX63mEcFB+7SWv8Aier+5WX3hRRRX0J+dhRRRQAVxPxF+MXgD4X23meKdbRLpk3xWMH7y5lHbCDoD/eYhfevLv2i/wBpePwE03grwPLHN4gKgXV2QGjsQRnAB4aTHY8L3yeB8W6nqmpa1fz6pq99PeXly5kmnnkLu7HuSeTXz2Z57HCydKgry6vov82fovDHAdXNYRxePbhSeqS+KS7+Sf3v0sz6G8dftreMtWZ7XwLo9todvkhbm4AuLgj1AI2L9MN9a8R8TfETx14ykMnifxZqeoBjny5rhjGPogO0fgK52ivk8RjsTin+9m35dPu2P1zL8hy3KklhaMYvva7+93f4gSSck0VLb2tzeTLb2lvJNK5wqRoWYn2ArrtK+DHxX1pVk0/4e666N915LJ4kP0ZwBXPClOppCLfoj0K2KoYZXrTUV5tL8zjKK9e079lD44X4DSeFIrNW6NcX0A/RWJH5Vv2f7FXxbucGfUPDtqO4ku5Cf/HYzXXHLcZPalL7rHk1eJsmo6SxMPlJP8rngVFfTFn+wz4wfH2/xro8Pr5UMsn8wtch8bP2b5fg14YsfEE3i5dVe8vRZmFbIwhMxu27cXbP3MYwOtVUyvGUabqzhZLfVf5meG4ryfF4iOFoV1KcnZJKWvztb8TxaiiivPPoT9Kvgb/ySDwh/wBgi3/9AFdzXDfA3/kkHhD/ALBFv/6AK7mv1HC/wIei/I/lbNf9/rf45fmwooorc4AooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACsPx1/yJPiD/sF3X/opq3K5/wCIMnleA/EcpP3NJu2/KFqzq/w5ejOjCa4iC81+Z+Xh60UHrRX5Wf1gfQn7EX/JVtU/7AE//pRb19v18QfsRf8AJVtU/wCwBP8A+lFvX2/X3nD3+5L1Z+A+In/I7l/hiFFFFe4fCjZZI4Y2mlcIiKWZmOAAOpNfnP8AHz4q3fxV8eXWoQ3Eh0awZrbS4SSFEQODJj+85G498bR2FfZv7SHimbwl8HPEF9aybLm7hWwhOcHMzBGI9whcj6V+dNfJ8S4qSccNF6bv9D9d8M8pg41czqK7T5I+Wicn+KX3hQAScAUV9Ffsg/CKx8Ya7c+PPEFoJ9P0OVY7SJxlJbvAbJHcICpx6svoRXzmEw08ZWjRhu/wP0nN80o5Ng54yvtHp1b2SXq/8yv8H/2SPEnje3g8QeNrmXQtImUSRQqgN3cKe4DcRg9iwJ/2cEGvqXwb8Dvhb4FjT+wvCFkbhAP9Luk8+cn13vnbn0XA9q7sAAYApa+9weVYbBxXLG77vf8A4HyP5+znizM85m/aVHGHSMXZW8+/z/AQKqjCqB9BS0UV6R80FFFFAEdx/qJP9xv5V+UL/fb6mv1euP8AUSf7jfyr8oX++31NfJ8Uf8uv+3v0P13ws2xf/bn/ALeJX1B+wt/yMPir/rzt/wD0Nq+X6+oP2Fv+Rh8Vf9edv/6G1ePkv+/U/n+TPseNv+RDiPRf+lRPsOiiiv0Q/nEKKKKACuX+J3gy3+IPgPWfCU4XdfWzCBm6JOvzRt+DhT9M11FFTOEakHCWz0NaFaeGqxrUnaUWmvVao/KG7tbixuprK7haKaCRopI2GCrKcEH3BFRV7Z+1r4C/4RD4pT6xaw7LHxGn2+MgYAnziZfruw5/66CvE6/MMTQlhq0qMujP6kyvHwzPB08ZT2mk/R9V8ndH0n+xT47/ALK8Xaj4DvJ8Qa1D9ptVJ4FxECSB/vR7if8ArmK+0K/LLwl4kvvCHifS/E+nNi40y6juUGcBtrAlT7EZB9ia/T/Q9YsfEOjWOvaZL5lrqFvHdQt6o6hh+hr6/hzFe0oOhLeP5P8A4J+PeJOV/VsfDHQXu1Vr/ijp+Kt9zL1fOP7afjv+xvBVh4Hs5sXGuz+dcKDyLaIg4PpufZj/AHGr6NJwMmvzp/aM8dnx98V9Xv4J/MsdPf8As2zIOR5cRILD2Zy7D2YV0Z9ivq+EcFvLT5df8vmedwDlf9oZtGrNe7S95+v2fx1+R5nToopJpUhiRnd2CqqjJJPAAFNr1/8AZZ8BHxv8VrG5uoN9hoI/tK4yPlLoQIl/Fypx3CtXw+HoyxFWNKO7dj90zHG08twlTF1doJv/ACXzeh9o/B7wNH8Ovh1ovhbYouILcS3hHO64f5pOe+GJA9gK7Oiiv0+nTjSgqcNkrH8t4nEVMXWnXqu8pNt+rdwoooqzAK83+PvxPX4WfD271i1kUaren7HpqkZxMwPz49EUFvTIA716RXxT+214pm1Hx7pfhSOXNtpFiJmUH/ltM2Tn/gCR4+przc2xTwmElUju9F6s+l4RyqGcZtToVVeC96Xml0+bsn5M+d7q6ub66lvbyeSeed2lllkYszuxyWJPJJJzmoqKVVZmCqMknAAr851Z/SSSSsjX8KeEvEXjbW4PD3hjS5b6+uD8scY4Ud2YnhVHcnAFfW/w0/Yx8L6RDDqPxHvX1m9IDNZW7tHaxn0LDDyY9cqPY16J+z/8I7D4V+CbaOa0X+3dSiS41OZgCwcjIiB7KmcY7nJ716hX2uWZHSpQVXEq8n0ey/zZ+IcUcd4rFVpYXLZclNO3Mvil5p9F2tr1b6GR4f8ACHhbwpbC08N+HtP0yIDGLW3SPP1IGSfc1rAADAFLRX0UYqKtFWR+dVKk6snOo22+r1YUUUUyAr5y/bh/5Jzon/YaT/0RLX0bXzl+3D/yTnRP+w0n/oiWvNzf/canp+p9Jwf/AMjzDf4v0Z8U0UUV+cn9KH6VfA3/AJJB4Q/7BFv/AOgCu5rhvgb/AMkg8If9gi3/APQBXc1+o4X+BD0X5H8rZr/v9b/HL82FFFFbnAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAVx/xhvRp/wp8XXROCNFvFU/7TRMo/Uiuwrxj9rXxTD4e+Dt/p4lC3OtzRWMK55I3B3OPTYhH/AhXNjaipYac30T/I9TJMPLF5lQoxW84/ddX+5HwHRRRX5gf1IfRP7EELN8TtYuMcJoUqE+5nh/wr7ar5K/YV0SQzeKvEbphAttZRNjqSXdx+GE/OvrWvv8hg44GLfVt/ifz3x/WVXPaqX2VFfgn+oUUUV7J8WfO37b120Xwz0izVyPP1qNmAPULDLx+ZFfEtfa/wC3BZyS/DnRr1VysGsKjH0DQyf/ABNfFFfBcQX+uu/ZH9AeHnL/AGHC380r/eFfoF+yZpsNh8D9FnjjCvfTXVzKR/E3nugP/fKL+Vfn7X3v+yBrdvqnwXsdPifMmk3lzaSgnkFpDKPwxKP1rThxpYt3/lf5o5vEqM3k8XHZVI39LS/Wx7ZRRRX3J+EBRRRQAUUUUAR3H+ok/wBxv5V+UL/fb6mv1N8T+ItE8LaHda34h1OCwsoIyZJpmwM44A7knoAMknpX5ZMQWJHqa+S4nknKlHrr+h+v+FsJKGKm1o3DXppzX+66+8SvqD9hb/kYfFX/AF52/wD6G1fL9fUH7C3/ACMPir/rzt//AENq8jJf9+p/P8mfX8bf8iHEei/9KifYdFFFfoh/OIUUUUAFFFFAHi37WHgL/hMvhZc6paQb7/w6/wDaERA5MIGJl+m35v8AtmK+Ba/V65toLy3ltLqFZIZkaORGGVZSMEEehFfmZ8U/BU/w98f614SlVvLsrlvs7N1eBvmjb8UK59818fxJheWccTHro/Vbfh+R+y+Gea+0oVMtm9Y+9H0ejXydn8zlK+4f2NPHf/CQ/D248I3c2678OT7YwTybaUlk+uG8wewC18PV6v8AsyeOx4G+LOmNczbLHWP+JXdZOABIR5bHsMSBOew3V5WUYr6ri4yez0fz/wCCfV8Y5X/auUVKcV70Pej6x3+9XXzPs745+OR8PfhhrXiCKby7xofslkQcH7RL8qkf7uS/0U1+bRJYkk5J5NfTv7bfjv7fr+k/D+zmzFpkX2+8UHjz5BiNT7qmT9JK+Yq6c/xXt8V7NbR0+fX/AC+R5vh9lf1DKliJr3qr5vltH9X8wr7v/ZC8Bf8ACJ/DNfEN3BsvvEsguySMEW65WEfQjc49pBXxn8OvB914+8b6P4RtAwOo3SxyOo5jiHzSP/wFAx/Cv04sLG10yxt9NsYVhtrWJIYY1HCIoAVR7AAV1cN4XnqSxEltovV7/h+Z5HiXmvscNTy6D1m+aXotvvev/bpYooor7I/GAooooAK/Oz9pq8e9+OPiiRnLBJoYRz0CQRrj9K/ROvzp/aVs3svjf4phkXBe5jlH0eFGH86+d4lv9Wj/AIv0Z+keGPL/AGpVvv7N/wDpUTzKup+FWmw6x8TPCumXMYeG41i0SVT0ZPNXcPyzXLVv/D/WYfDvjvw9r9yxWHTtUtbqUj+4kqs36A18bRaVSLltdH7PjVOWGqRp/Fyu3rZ2P1DAAGBS0isrqGUggjIIpa/VD+UAooooAKKKKACvnL9uH/knOif9hpP/AERLX0bXzD+2/wCItDk8LaN4Yj1OB9VTUVu3tFbMiQiKRd7AfdBLDGevbODXmZxJLA1Lvp+p9PwbCU88w/Kr2d/lZ6nx1RRRX50f0ifpV8Df+SQeEP8AsEW//oArua4b4G/8kg8If9gi3/8AQBXc1+o4X+BD0X5H8rZr/v8AW/xy/NhRRRW5wBRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAITgZNZ2j+JfDviGN5dA13T9SSJirtaXKShWBxg7ScGtFvun6V+WNzqWo6T4gu73S7+4s7iO5kKTQStG6/MehU5FeTmmZvLnB8t1K/W21v8z67hbhdcSqsvacjhy20une++q7H6n0V+eHhz9p340+G0WGLxfJqEK/8s9QiS4J+rsN/wD49Xfaf+3H47hiVdT8I6JcuOrQtLFn8CzVz0+IsHNe/dfL/I9DE+HGcUX+65ZrydvzS/M+0aK+PpP26dfKYi+H9grY6teuRn6ba57Wv21finqEbRaVpuiaWCCBJHbvLIPxdiv/AI7Wks/wMVdSb+T/AFsc9Lw+zypK0oRj5uS/S59o6/4h0TwtpU+t+IdUt7Cxt13STzuFUe3uT2A5J4FfAP7Qnxll+L3i1J7BZIdD0tWh0+J+GfJ+eVh2ZsDjsFUdc1xfi7x/4z8eXYvfF3iO91ORSSizSfu4/wDcQYVfwArn6+dzTOZY6PsqatD8Wfo/C3BVLIan1rES56trK20b726t+emnQKACTgUV7N+zR8F7j4m+LY9a1e0J8OaNKsl0zj5bmUcrAPXPBb0XjjcK8nD0J4mqqVNas+uzHMKGV4WeLxDtGKv69kvN7I+qP2aPAsvgT4TaXbXkHlX2qFtTulIwQ0gGwH0IjCAjsc16rSABQFUYAGABS1+m0KMcPSjSjslY/l/H4ypmGKqYqr8U22/n0+WwUUUVqch5h+0n4Uk8XfBzXrS2i8y5sYl1GAAZOYTubHqSgcD61+ddfrDJGksbRSoHRwVZWGQQeoNfnP8AHz4V3Xwr8e3enRQMNIv2a60yXB2mInmPP95Cdp742nuK+T4kwjbjiYrTZ/ofrvhnm0FGpllR635o+elpL5WT+882r2f9mT40W/ws8Uzabr8rLoGtbEuXAJ+zSrnZNj05IbHOCDztAPjFFfM4fETwtVVae6P07McvoZphZ4TEK8ZK3+TXmnqj9XbO8tNQtYr6wuori3nQSRSxOHR1IyGBHBB9amr81PAPxo+I/wANtsPhfxHNHZhtzWU4Etux7/I33c9yuD717No/7dHiSCMLr/gPTrx8fetLt7cfkwk/nX2eH4iwtSK9reL+9fh/kfiuYeHGa4eb+qNVI9NVF/NOy+5s+xaK+Uz+3daCPK/DSXf3U6sMfn5X9Kwda/bl8XXKOugeC9LsSRhWuZ5Lkr7/AC7Aa6JZ7gYq6nf5P/I8+lwFn1SVnRS83KP6Nv8AA+yWZUUszAADJJPavFfil+1T8P8AwCkun6JOniLWFyogtJB5ETf9NJRkfguTxg4618heNvjh8UPiAj2/iLxXdNaPkG0t8QQEejKmN/8AwLJrhCSeSa8fGcSSkuXCxt5vf7v+HPscn8NKdKSq5pU5v7sb2+ctG/kl6nY/Ej4seNfinqn9oeKtULxRsTb2cWUt7cHsiZ6/7Ryx7muOqS2trm8uI7W0t5J5pWCRxxoWZ2PAAA5JqMjBwa+ZqVJ1ZOdR3b6s/T8Ph6OEpqhQioxWyWiQV9QfsLf8jD4q/wCvO3/9Davl+vqD9hb/AJGHxV/152//AKG1ejkv+/U/n+TPnONv+RDiPRf+lRPsOiiiv0Q/nEKKKKACiiigAr5R/be8Bb4dH+I1lDyh/sy+KjscvEx/HeCfdRX1dXM/EnwbbeP/AALrPhG6C/8AEwtWSJmHCTD5o3/Bwp/CuLMcL9cw06XXp6rY9vhzNHk+Z0sU37qdpf4Xo/uWvqj8wqcjvG6yRsVZSGUg4IPrUl7Z3On3k9heQtFcW0jQyxsMFHUkEH3BFQ1+aapn9OJqSutjT8TeJNX8Xa7eeI9duTcX19J5k0hGMnAAA9gAAPYVmUVJbW893cRWltE0k0zrHGijJZicAAepNNtzld6tkwhCjBQgrRSsuySPqj9iLwEJbnWPiNewfLCP7NsSw/iOGlYfQbAD/tMK+t65P4V+CYPh58P9F8JxKvm2dspuWX+OdvmkbPcbice2K6yv0nLcL9Uw0aT33fq/6sfzPxLmrzjM6uKT929o/wCFaL79/VhRRRXceEFFFFABXxP+2x4Uk0z4gab4riixb61YiN3A6zwnBz/wBo/yNfbFecfH34Yj4p/Dy80W1Rf7UtD9s05jgfvlB+TPYOpK+mSD2rzc2wrxmFlCO61Xqj6XhHNY5Pm1OvUdoP3Zej6/J2fyPzjoBIORUlzbXFlcy2d3A8M8LtHJHIpVkYHBUg8gg9qjr8520Z/SSaauj7r/AGYvjnpnjnw1aeDNevki8R6XCIEWVsG9hQYV1J6uFADDrxu6E494r8oLe4uLSeO6tJ5IZomDxyRsVZWHIII5Br2bwb+1x8W/CsK2d/e2mv26gBRqMRaVR7SIVYn3bdX1eX8QRhTVLFJ6dV+p+S8Q+HdWvXlisrkrSd3B6Wb35Xtbydrdz75or5Lsv27ZAirqHw1Vnx8zw6rtBPspiOPzp93+3cuwrY/DQ7scNLqvA/ARc/nXr/25gLX9p+D/AMj5D/UTP+a3sP8AyaH/AMkfWNZfiLxP4e8JabJq/iXWbTTbOP70txIEBPoM8sT2AyTXxZ4k/bO+KmrxtDoltpWiIRgSQwGaUfjISv8A47XjHiPxX4l8XXx1LxPrt7qdyc4kuZmfaPRQeFHsMCuHE8SUYK1CLk/PRf5nvZb4aY2tJSx9RQj2XvS/yXrd+h9K/Fv9sua5SfQ/hVbPAhyjavcphyPWKM/d/wB5+f8AZB5r5d1DUL/Vb2bUdTvJru6uHMk000hd5GPUljyTVepBa3LWzXgt5DAjrG0oQ7A5BIUnpkgEgex9K+WxeNr46XNWd/LovkfqmU5HgMjpezwkLX3b1k/V/pt2RHRRRXIewfpV8Df+SQeEP+wRb/8AoArua4b4G/8AJIPCH/YIt/8A0AV3NfqOF/gQ9F+R/K2a/wC/1v8AHL82FFFFbnAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAjfdP0r8qdY/wCQve/9fEn/AKEa/VYjIIPevlrxL+w7Z3t1Pe+H/H00LSu0nlXlkHGSc/fVhj/vmvn8+wNfGxh7CN7Xvqutu5+hcA57gMlqV1jp8vPy20b25r7J9z5Cor6E1P8AYm+KFoS+na1oF6o6ATyxufwZMfrXN3v7JvxytCfK8KwXQHeHUIP5M4NfKzyzGQ3pP7r/AJH6xS4oyasrxxMPnJL87Hj9FenN+zP8cUcIfAN1k+lzAR+YfFX7D9lL45XrAP4RjtVP8c9/bgfkHJ/SoWAxTdlTl9zOiWf5VBXliaf/AIHH/M8ioAJ4Ar6W8OfsPeMbuRX8UeLdL06I8lbRHuZPpyEUfma9x+H/AOy/8K/AckV8dKfWtRiwy3OpESBW9VjACDnoSCR6134fIcZWfvLlXn/lufP5jx9k2Ci/ZTdSXaK0+92X3X9D5g+C37M3iv4mXFvrGuQz6N4bJDm5kTEtyvpCp7H++Rt9N2MV9zeGPDGh+DtDtfDvhzT47Ows02RRIPzYnqzE8knkk1qABRhRgDgYpa+ty/LaOXx9zWT3f9bI/IOIOJ8ZxDUTre7TW0VsvN935/ckFFFFeifOBRRRQAVx3xT+GHh/4r+FpvDmuJ5bgmWzu0XMltNjAceo7Fe49DgjsaKipThVg4TV0zbD4irhKsa9CXLKLumujPzH+I/wy8V/C7XpNC8T2JTkm3uUBMNymfvI3f3HUdwK5Sv1K8V+D/DXjfSJNC8VaPb6jZS8mOVeVb+8rDlWHqCDXy98QP2JL6OaS++G/iCKWEksLHUiVdfZZVGG9twH1NfGY7h+tRk54b3o9uq/zP2zIfELB4yCpZk/Z1O/2X/l89PM+VqK7/XPgH8YvD0jR3/w+1aUL1ezh+1Lj1zFuFYA+Hvj0yeUPBOvb/7v9nTZ/LbXhyw9aDtKDXyZ91SzHB1o89KrFrupJ/qc/RXY2Pwc+K+ouI7X4c+Iju6NJp0sa/8AfTKB+td74X/ZA+MGvSK2qWNjoUBwS97cqz49kj3HPscVpTwWJrO0KbfyZzYnPMtwceavXgv+3lf7lqeI12vw2+EHjj4p6iLPwxpTfZkYCe/nBS2gH+0+OT/srlvavqzwD+xr8P8Aw46Xvi69uPEl0pBEbgwWwP8AuKSzfi2D6V7zp+nWGk2cWnaXYwWlrAoSKCCMRxovoFHAH0r3cHw5Um1LFOy7Lf79l+J8HnXiTh6UXSyuPPL+aStFei3fzt8zzL4Tfs+eDfhLp7XkMQ1PXXiYTalOg3LkcrEvPlr16ZJ7k9B+eb/fb6mv1gkTzI2TONwIzXyg37CGWJ/4Wl1Of+QL/wDb6684yqpVhSp4OGkb9Ut7d3rseRwdxZh8LWxOIziu+epyWbUne3Nf4U7JXWmi7HybX1B+wt/yMPir/rzt/wD0Nq0f+GD/APqqX/lF/wDt9eofAr9nz/hS2o6rf/8ACW/2x/acMcOz7D9n8vaxOc+Y2c59q4ssynGYfFwq1YWS8129T2+KOLsmzHKK2Fw1bmnJKy5ZLaSe7ilsj2Kiiivsz8UCiiigAooooAKKKKAPgv8Aa58Bf8Ij8UJNctIdlj4kjN6hAwonBxMv1zhz/wBdK8Qr9Hvjb8HLD4zeG7XRbjVP7MubK5Fxb3gt/OKjaQybdy5DAjv1UV4l/wAMH/8AVUv/ACi//b6+LzHJMTPEynh43i9d0t9933P23hvjjLKOWUqOYVeWpBcvwyd0tndJ9LfM+Tq9o/ZO8A/8Jl8U7bVLuDfYeHU/tCUkcGYHEK/Xf830jNek/wDDB/8A1VL/AMov/wBvr2r4IfBiw+DGgXulQ6t/al3qFz5894bfySVCgIm3c3C/MevVjSy/JMTHExniI2itd09ttmVxFxxllXLatLL6vNUkuVe7JWT0bu0ul7eZ6RRRRX2p+IBRRRQAUUUUAFFFFAHzZ+0r+zXJ4vefx94CtF/tkLvv7FePtgA/1if9NMDkfxf733vjO4t7i0nktbqB4ZomKSRupVkYHBBB5BFfq/XmPxU/Z78AfFUPfahaNp2sFcLqVmAsjY6CRekg+vOBgEV83mmRLESdbD6Se66P/Jn6Xwrx5LLaccFmKcqa0Ulq4rs11S6dVtrpb86qK928Y/sdfFTw/K8nh9bPxDagkq1vKIZtvq0chAz7KzV5pqHwn+J2lSGO/wDh/wCIIiDjd/Z0rKfowXB/OvlauCxNB2qQa+X6n6xhM8y3HRUsPXi/mk/ueq+aOUoro4Phv8Q7s4tfAniGbPH7vTJm/ktb2j/s/wDxl1t1Sz+HurRbjgG7iFqB9TKVrOOGrTdowb+TOirmWCoq9WtFLzkl+p59SojyMERSzE4AAySa+k/CP7EfjDUDHceMvEljpMRILQWqm5mx6E/KgPuC1fRHw7/Z/wDhl8NWju9F0MXWpRjjUL4iacH1Xjah/wB0A16uFyHF13ea5V57/d/nY+UzTj/KcBFxoS9rPtHb5yen3XPmX4N/smeJvGTwa747WfQ9FJDrbsu27uV9lP8Aq1Pqwz6DnNd7+1z4T8O+C/hD4e0DwxpMGn2MGsptiiXGT5EuWYnlmPckkmvqSvOPjj8IP+FzeHLLw/8A8JD/AGR9jvReed9l8/fhHXbt3rj7+c57dK+gnlFOhg50sPG82t3u/wDI/OqHGOIzDOaGKzCfLRhK/Kr2Wj1srtvz18rI/OOivrH/AIYP/wCqpf8AlF/+30f8MH/9VS/8ov8A9vr5r+w8f/z7/GP+Z+n/AOvfD/8A0Ef+ST/+RPefgb/ySDwh/wBgi3/9AFdzWF4G8M/8IZ4P0jwp9t+2f2VaR2vn+X5fmbRjdtycZ9Mmt2vvaEXClGMt0l+R+AY+rCvi6tWm7pyk16NuwUUUVqcgUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABSYHpS0UAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFIQD1FLRQAmB6UtFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFAH//2Q==' alt='Logo' style='width:150px;height:70px;' hspace='0'>\"\r\n\t +\" <img src='data:image/jpg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxEPERQUEBQQFBUPFBQUEBQUFhAPFxAQFRQWFxQUFhQYHCgiGBwmHBQUIT0hJSkrLjouFx8zODMsNygtLi0BCgoKDg0OGxAQGjgkHyQsLC0sLCwsLCwsLCwsLCwsLCwsNywsLCwvLCwsLCwsLywsLCwsLCwsLCwsLCwsLDQsLP/AABEIAMwAzAMBIgACEQEDEQH/xAAcAAACAgMBAQAAAAAAAAAAAAAABQQGAQIHAwj/xABQEAABAwIBBgYPBQUFBwUAAAABAAIDBBESBQYTITFRByIyQWGRFSMzUlNxcnOBkpOywtHSQmKhseIUNIKDs2N0osPwFyRDlMHT4SVEZGWE/8QAGQEAAwEBAQAAAAAAAAAAAAAAAAECAwQF/8QAKxEAAgICAgAFAwMFAAAAAAAAAAECEQMSITEEE0FRYSIygRSx8EJxocHR/9oADAMBAAIRAxEAPwDuKEIQAKLPUuD8DGhxDQ43dgABJA5jfYVKUNv7w7zTPfemhMzppvBM9p+lGmm8Ez2n6VKQiwoi6abwTPafpRppvBM9p+lSkICiLppvBM9p+lGmm8Ez2n6VKQiwoi6abwTPafpRppvBM9p+lSkIsKIumm8Ez2n6VjTzeCb7T9KllaoCiNp5vBN9p+lYNTN4JvtP0qWsWQFEE5QeOVFq6Hgn8QFiPLUZNnB7TzXAN+olSpY7pJlSjDgU0kxOywRSteLtII6PyW6q2RKp5c5l+OwXaT/xWDUWP3karHarHT1Af0Ecpp2tP+udDVDTs9kIQpGCEIQAIQhAAhCEACht/eHeaZ771MUIfvDvNM996aEyYhaoQBshaoQBshaoQBsharDnAC5IA3nUgDdYKU1Gc1FHy6mnH8xjtfoOpYhznoX8mpp/S9rde7XbX0KvLl3Qtl7jZC1jkDgC0gg6wQQQR4wtipGYKh1bLhTF4TjUmgK0O1zxu+9Y+J2o/mnr2awQbObsd0c4O8dCVZRhO0c2seMJ49l9e/WqZKPSlqcXFcLOG0cxHfNPOFISyRl9t9WsEai07wV701XrDZOUdTXbA/5O6OpS0UmTEIQpGCEIQAIQhAAoX/uHeaZ771NUE/vDvNM996aEyUhYQmBlCwi6AMoJttWFzPPrLVRXulo8nuYI4Gk1k5cGNAvYx49g5+fXY7lpixucq/yTKWqPbO/hPbA4xULWzPGp0p7m084b356dnjVRqMmZRyiI5KyoYBUEiJmPSEkbQ2JpsCLbTayt2Z2YeSi1rtJ+1SYAXcfiNOwloaBqxX2kq45OzWo6c3bGHO2AyEylrdzcWwX1rt87Dh4gufdr+fsYaTny3wc3l4KwySNjXSPGEOlvEGYb7bPvhLrjZ4tqkZw8GFn4qYAscOPqD3Xc4XAaOYAk3+7zLrSFj+vzWnZf6eBS8lcH0dNgdTz1cLmttIGvDmyv754IsfQArVK8xNJccTWi7jbWBzkgbR4vxUpC5p5ZTdydmsYKPR4RyBwDmkEOALSCCHA7CDzrDglNU1uT+O3VTud25pJtA57tUrb7G4jYjZrB1WN297ocfVdAmQqmC61/bSwAFl7AC4Nr26LKcWryfCCkAukyqBtjf6C1RZMuQ6w9koHPqa78jdMpKUKDVZOB5lSoTsbZJqxKzU7GByXbCW/eG8bCpyreQ4tHIBs1keMOaSfxY1WRRJUykCEIUjBCEIAFBd3c+ab77lOUF/dz5pvvuTQme6ytbpNnDnFHRttqdIRxWX2dLtwQ2krZWPHLJLWKtk7KmU46ZmKQ+S3nedwCh5t5WfVCRz22AdxCAbYbcm/OR/1VcyRkmavfp6ouDDyRyS8bmj7Lf9dKu8MbWNDWgANFgBqACzi5Sd9I7M0MOGHlr6p+r9F8IV51VcrICym7vUnRQfdc4caQ9DW4nehVGp4PIKWilOlrJH4RJK1rmlssrdeLRlvNffew3q5TuBqbn/gxC3jlcbnqjHWpbZARr59q7YZZY0lH+7PNcVLs5nmnlgUgbgA45wAvN2tYXAuJwgc5P4q5Q5NMjjNFOyZzi0vGK7bXBAsDstfUjKmblLJGBgLNC1xboyGm2txabg31qVmxDFFTM0JJbIMeI2xOLt9t2z0LXLljJbx7M4waerJ1XUkTRtubOGxpsb9O8Ke07b+joS6Gqile4CxfA7C64sWm3N0KVpFySXSo2XuSMS1Dzrv6Oe68NItXSqaKsWZ7tkkoKhsLGyOcyxY6/GjJ7ZaxHGw4iOkBJOCvL4rKPRl5e+ltGSbhzordrLr89tX8KtBnXL8zpmUucFVDGbMnMrcPMHcWYW8RL2+krrxR2xSj7c/9MpOpp/g6RnFlB9PEHxtxHEAdRIa3aSd2y3pW+R8sR1TbtNnDlsO1vzHSp7gCLEAg6iDruFTMuZAkpnaejxcXW5g1lm/COdvQuCblF7Llex6WCOHLDy5fTL0fo/hlzK0c1Is3M52VYDH2ZKBs2B+8t+Sfq4yUlaOXLililrNckVsdpGHe74HpooDhx4/L+B6npyIQIQhSMEIQgAUCTu580333KeoEvdj5se+U0JkDOatlgpZJIQC9gvr14W31uA5yNqpOY9JDWSukqJMcrTiETjy/vnvh0LpB17edUDOzM57HftOT8TXsOJ0bdRuNZdH0/d6tyjJF2pd/B3eEzRUJY71b/q/0dBCLqk5m58sqbQ1REc98LSeK2U7tfJf0dW5XVaRkpK0cmXFLHLWRVarLULK+Wnc8NkeInxtOrSNMexp5yMDjZNIqjUubcL1OYq+mqGuMeNjAHj7L4pSSb83FkHoarlHVWO3Udh39K7ZYlpGS9V+xyqXLQ9EySZo1YDJYCTippXtINtTHOJaB0bV7CpSqrp5mPfJRmFr58Om0uNwJbqBaBsKmMVTixt82Nso5MjdI6cyyRHBZ5acLThGpzvFq1dCq7s95o5LF7XtY63cw0vaDvvquFU8uZVnkkcyaoY/AcJwlwYSDzANAOtLaiYYncdu0998l34vDKvr5OaeTn6eDuGS8sx1LMcRuBYHaLOsCR02vZKM6s74qHA113PkIOEW4sd9bju57eJVHMDLLYhMx72AW0rTr1YRxtvRY+gqh5VrXTTOfI/E5xJcTivq5rW1W3LKHhI+Y0+kaPM9VXZ22uyq6SlfLRkPc6PHDsO0Bw1Hnwm9jzrkvB7OX5Vp3uc5z3zuLydrnOa4uJUPN3OCpo43mFzXR3Ila5pcGueyzHE83I1a/sp9wV5If2ThLwbthfUuvqs14wxk7icbTbcVp5awwmvgW27R3e6LrCqmeOekVCDHHhknP2doi6X/SvGk1FWzux45ZJaxQq4QKCngImjeI5nuvo2/b3vAHJtv2elWLMvKE1TSh81r3LWO2F7R9o9N7qqZs5qzVr/2rKJcQ/jNY7U6TcXD7LPuro8bA0ANAAAsANQA3ALLHF7bdHZ4nLFY1ivZr19vhGruXH5fwPU9QHcqPy/gep61kcKBCEKRghCEACgT92Pmx75U9QKju38se+U4iZsi61ui6skpue2Y7Ky81PaOoAufstmI2X7133utReDrOOrkkfR1bH46dt8btTmAEAMk77ocN3pV8utBC0OLw1uJwDS6wuWi5AJ5xrKjTm0dHnt49JK/b4Ktwn5D/AGyhcWgl9OdK0DWXNAIkaBznCT1KtZvVZfSwOde5jAJO12ElmL04b+ldRVEyrkM0rnCIdpe4vi2nRvcbvj8RN3DxkePuw5Ljo/wcU482Zhqt/Xeyxk3OWhm0jDKBxXBrwQC4DaW7hcWv06kqfUtjGJ7mta22JzjYC5t/4XN6TJr5qiQUeJ7MT8LrOa1rTctLi4AN2c+5dMMMZJ3wZym10euV2hsrgxzCwOOCzhs6bm9/Goc7yXGxbrO8Lwipi8i7mgfxXt1JvFTMYTbDe+03J/Jd90cxHiopC0ElreNca9epE1KHFznOxOdfE4kklx2n80xe0WAv+fOvN8Y2elRsOjELojSOjcbSMewwuANnxh2J8b94B1i9zrIG0rqvBfk2TRzVk+uWucCDYNtCzU2w5htt0AKlZm5qGulBcCIYz2x2zF9xvSfwHoXaYmBjQ1oAa0ANA1ANAsAF53i8q+1fk6cMX2yocI2clRRtjipmO0lVcNkAxYbai1jed+tRMysxdERUV3HmdxmxuOIRuOvE8/af+Hj2q8vha4tc5rSWXLCQCWkixIPNqW915ulytnes7jj0iq937m10XWt0XVmAHlx+X8D1PS+/Hj8v4HpgpkUgQhCkYIQhAAl9T3b+WPeTBL6ruv8ALHvKo9iYIWt0XVkGyFrdF0AbLSWMOBDgCDtB51m6Lpgc+z7zWqnxuFGGPY+xkZrbJYG9hrs4XANturnXNqeumpGTRaIMdNqfe7Xs5iR0EEjovdfRV1DyjkqnqRaeKOTdiaCR4jtHoXVj8U4rWStGUsVu0fO0TBfYdevapzW69hXXZeD3Jx5Mb2dDZHn3iVtDmDQNOtkjuhz3Af4bFdD8ZEy8lnJ44y42DSSdgGsn0K35u5iTTEPqQYo9uH7b+i32R49a6Hk/JFPT9xijZ0gXcfG46z1qddc+TxUnxHg0jhS7PKipI4GNjiaGsYLNA/1rPSvda3RdcpsbIWt0XSA2QtbougDI5cfl/A9MUtby4/L+B6ZKJdlRBCEKSgQhCABL6vuv8v4kwS6s7r/L+JVHsUujVL6jLMMbi1xfduo2ZI4dYCnIWqM2Lez8G+T2cvyR2fg3yezl+SYoT4FyLuz8G+T2cvyR2fg3yezl+SYrKOA5FvZ+DfJ7OX5I7Pwb5PZy/JMUI4DkXdn4N8ns5fpR2fg3yezl+SYoRwHIu7Pwb5PZy/JHZ+DfJ7OX5JihHAci7s/Bvk9nL8kdn4N8ns5fkmKyjgORb2fg3yezl+SOz8G+T2cvyTJYRwHIu7Pwb5PZy/JMKeYSNDm3s4XFwWnqOxZWUnQ1Zszls8v4HpmlcfLZ5fwPTRZS7LiCEIUlAhCEACXVvdP5fxBMUuru6DyD7wVR7FLo8VWM7M6XUMjGNjY/GzFcki3GItq8Ss11y/hZmw1MPmfjctJcIhdl9zayqayASuaGkucLAkjim20po4qqcGcmKgYf7SX3laXnUfEU10DKNT5+yPmbHoYxikDL4nagXWunOducjqEx4WNfpMV8RLbYbbvGuT5Pqf8Ae4/7w3+oF3CsoIZraaKKTDfDjYyTDfbbENSiNtDdIo3+0WTwMfrO+SP9osngY/Wf8k2z0yVTRUM744Kdjmtbhc2ONpb2xo1EC42qlcHLI56zBKxkjdE84Xta8XBbY2PPrSdp0PgscHCFI5zW6GPjOaOU7Vc2Vjzsy86hYxzWNfjcW2cSLWF+ZS25CpAQRTUwI1giKIWI2HYqrwtS4YIOmV3uquUhcNnlDwiPLmh0MYBIDiHO1C+sroAdfWOdfPpvodL9nSGP+LDi/JdpzPyh+00UEm04ML/LYcJ67X9KUW2EkQM6s7DRStjYxryW4nXJGG5sNniKhZEz3fUzxxGJjRIbEhziRqJ2ehUrOGsNZlGUNOovLG+TG21/8JPpXnmPUXr6fpf8JS2djrg6znNlY0cBla0OIc1tiSBxvEl2aedDq6R7XRtZo2h1wSb3NudeHCdJhoCf7WP8yq5wSzYp5/NN98Km3tQvQ6gi6xdF1RJ6Rctnl/A9NEqh5bPL+B6arOfZcQQhCgoEIQgAS2v7oPI+IJkluUOWPIPvNVR7FLo8Fx7hqmw1cHmP8xy6+uI8PMlq2n/u3+a9aT6Ij2Lshx5WkhDqL9u0N3AaGR7GYgeNYBw13U80mcH/ANn7aX61d+Bd18lM89N76u8mw+I/kkocDcj5vyLUn9rgBvfTxg3230gvdfShXyvkqf8A36L+9s/rBfU5RjCRW+Ed9smVR3NZ/VYubcEFRiyjb/48vvRroXCm62Sas/cZ/WjXLeBOS+U//wA8vvRol9yBdHflznhrlw09P0zO9xdEXL+Hp9qal8+7+mVUuhR7K3kyDS5Fq3jbT1MUn8OEMd+D7+hP+DPOMRUFaHH90Bmb0Ne07P4mrz4IqUVWS62J2sSuew+mKy5PHXSQiWO5GlbophvDJWP96Megnes+qZXZ0DgyiM9VNI7XoKaZ5O3tjxhb+BefQl3B1UXyjSje/wCEq28DVFbJ9XORrmL2NP3I4zq63O61z7gym/8AVKMf2nwORXQe52Phdkw5NJ/tovzKqvApNiqajzLf6gVh4a3WyWfPw/mVT+AWS9XU/wB3b/UCp/cJfaduQtUKyD1g5bPL+B6bJRT8tnl/A9N1lPs0j0CEIUFAhCEACW5R5Y8g+81Mktylyx5B95qqHZMuiKuRcMubNbW1cL6WCSVrIA1zm4bB2kebazuI611xC2atGadFQ4KcmT0mTmxVEbo5BJKS11r2JuDqVuk2HxH8llCaVAz50ydmLlRtZFI6lmDG1DHk8TU0SAk7dy+jStUJRjQ27K5wjUMtTkypigY6SSRsYYxtrutNGTt6AT6FzvgjzUr6PKGkqaeSNmhkbidhtiJbYaj0FdnQhxt2F8UZXPOGfIdTW09O2lifK5krnODbcVuC1zcroSE2rQk6KFwN5GqaKllZVRPic6bE0OtrbhGsWO9c4zv4PsoGuqTTU0j4nyufE5uGxa/jWFzzXt6F9CIUuCqh7clZzOyM6kyVFA5uGTQvMjefSyBzi09IxAehcozBzKylTZRppZqaVkccl3uOGzRhIubHpXfUIcQsp3CzkqesyeYqaN0jzNG7C218IxXOv0Lj2T80Mu0xLqeGshc4WcYpNEXNvexLXC4uvpJCHC2ClR8+dic5++yp/wAzL/3E/wAw8nZeZXwurTlAwAu0mlnkkZyTbE0vN9fQuyIRoPY9qbls8v4Hpuk9Ly2eX8D04WeTsqPQIQhQUCEIQAJblPljyHe8xMktynyh5DveYqh2TLohqBPNUhxwRxFv2SXEEjpCnIXQZC3T1fgofXKNPV+Ch9cpkhOxULdPV+Ch9co09X4KH1ymSEWFC3T1fgofXKNPV+Ch9cpkhFhQt09X4KH1yjT1fgofXKZIRYULdPV+Ch9co09X4KH1ymSEWFC3T1fgofXKNPV+Ch9cpkhFhQt09X4KH1yjT1fgofXKZIRYULdPV+Ch9cpiwmwvtsLjcedZQkNHvS8tnl/A9OEmpTx2eWPcenKwydmsOgQhCgoEIQgAUKvpnPILSBYEEEF17kHmItsU1CE6Ar8kco5mdTvqWnbe9Z1O+pWBzAsaMKt2TqhB23vWdTvqR23vWdTvqT/RhGjCN2PVCDtves6nfUjtves6nfUn+jCNGEbsNUIO296zqd9SO296zqd9Sf6MI0YRuw1Qg7b3rOp31I7b3rOp31J/owjRhG7DVCDtves6nfUjtves6nfUn+jCNGEbsNUIO296zqd9SO296zqd9Sf6MI0YRuw1Qg7buZ1O+pHbe9Z1O+pP9GEaMI3YaoQdt71nU76kAS7mdTvqT/RhAjCN2GqFlFTvLml2EBpxWAIubEbSekpusALKTdglQIWEXSGf/9k=' alt='Logo' style='width:100px;height:70px;' hspace='20'>\"\r\n\t +\" </div>\" \r\n\t +\" <h1 style='color:darkblue ; border-bottom: 3px solid #81bc00;'>Automation Summary Report</h1>\"\r\n\t +\" <h2 style='color:darkblue'>\"+ ProjectName +\"</h2>\"\r\n\t +\" <br/>\"\r\n\t +\" <table style='border:0'><tbody><tr><td align='top' style='vertical-align:top'>\" \r\n\t +\" <div style='background-color:white;vertical-align:top;'>\" \r\n\t +\" <table id = 'SummaryTable' class='table table-bordered table-responsive' style='border:1.5px solid #81bc00' border='1000px'>\"\r\n\t +\" <tbody>\"\r\n\t +\" <tr><td style='font-weight:bold'>Suite </td> <td>\"+SuiteType+\"</td></tr>\"\r\n\t +\" <tr><td style='font-weight:bold'>No. of Testcases Executed </td> <td>\"+arrStatus[2]+\"</td></tr>\"\r\n\t +\" <tr><td style='font-weight:bold'>Pass Count </td> <td>\" + arrStatus[0] +\"</td></tr>\"\r\n\t +\" <tr><td style='font-weight:bold'>Fail Count </td> <td>\" + arrStatus[1] +\"</td></tr>\"\r\n\t +\" <tr><td style='font-weight:bold'>Execution Date </td> <td>\"+strExecutionDate+\"</td></tr>\"\r\n\t +\" <tr><td style='font-weight:bold'>Overall Execution Time (HH:MM:SS)</td> <td>\"+iHours+\":\"+iMinutes+\":\"+iSeconds+\"</td></tr>\"\r\n\t +\" </tbody>\"\r\n\t +\" </table>\"\r\n\t +\" </div>\"\r\n\t +\" </td>\"\r\n\t +\" <td align='right' style='vertical-align:top'>\"\r\n\t +\" <div id='piechart' style='width: 600px; height: 250px;'></div>\"\r\n\t +\" </td></tr></tbody></table>\"\r\n\t +\" <table id = 'ReportTable' class='table table-bordered table-responsive'>\"\r\n\t +\" <thead style='background-color:lightblue'>\"\r\n\t +\" <tr>\"\r\n\t +\" <th>SNo</th>\"\r\n\t +\" <th>Testcase Name</th>\"\r\n\t +\" <th>Start Time</th>\"\r\n\t +\" <th>End Time</th>\"\r\n\t +\" <th>Execution Time (HH:MM:SS)</th>\"\r\n\t +\" <th>Status</th>\"\r\n\t +\" </tr>\"\r\n\t +\" </thead>\"+ masterTable+\"</table>\" \r\n\t +\" <footer id='foot01'></footer>\"\r\n\t +\" </div>\"\t \r\n\t +\" <p>Copyright &copy; \"+ year + \" BSA Automation CoP. All rights reserved.</p>\"\r\n\t\t\t +\" </div>\"\r\n\t +\" </body>\"\r\n\t +\" </html>\" \r\n ); \r\n\t fout.close();\r\n\t \t\t\t\t \r\n\t\t\t System.out.println(\"Summary Report Path :\"+resultPath);\r\n\t\t\t System.out.println();\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tSystem.out.println(\"Summary Report File already exists\");\r\n\t\t\t}\t\t\t\r\n\t\t}", "title": "" }, { "docid": "d6c157267d4c25db4a6efb8a0ed582fb", "score": "0.4943135", "text": "public void startReport(){\n\n\t\treport=new ExtentReports(\"/Users/rahul/Luckystars_appium/Ls_android_coin_test_report.html\", false);\n\t\n\t\t//extent.addSystemInfo(\"Environment\",\"Environment Name\")\n\t\treport.addSystemInfo(\"Project Name\", \"Luckystars\").addSystemInfo(\"Environment\", \"Android\").addSystemInfo(\"User Name\", \"QA Team\");\n\t\t//loading the external xml file (i.e., extent-config.xml) which was placed under the base directory\n\t\t//You could find the xml file below. Create xml file in your project and copy past the code mentioned below\n\n\t\treport.loadConfig(new File(\"/Users/rahul/Luckystars_appium/extent-config.xml\"));\n\t\t//report.loadConfig(new File(\"/Users/apple/luckystars_android/Luckystars_android/extent-config.xml\"));\n\n\n\t}", "title": "" }, { "docid": "eac958202419aac0bd5c02c11314c451", "score": "0.49375328", "text": "protected abstract File getGeneratedSourceDirectory();", "title": "" }, { "docid": "a8d1112fb6511079637ac389854a31bf", "score": "0.49366805", "text": "public void setSrc(File dirName) {\n \n sourceDirectory = dirName;\n }", "title": "" }, { "docid": "b23f041090a53668fe5836e7b90dd68c", "score": "0.49113727", "text": "private static void transfere() throws IOException {\n File gen_shell = new File(\"/home/epsilon/Documents/Varsity/Project/src/java/ava/webgenerate.sh\");\n File comp_shell = new File(\"/home/epsilon/Documents/Varsity/Project/src/java/ava/webcompile.sh\");\n //File tool = new File(\"/home/epsilon/Documents/Varsity/Project/src/java/ava/antlr-4.7.1-complete.jar\");\n //file destination\n File dest = new File(\"/home/epsilon/Documents/Varsity/Project/build/web/uploadFiles/\");\n //making scripts executable\n\n Runtime.getRuntime().exec(\"chmod +x /home/epsilon/Documents/Varsity/Project/src/java/ava/webgenerate.sh\");\n Runtime.getRuntime().exec(\"chmod +x /home/epsilon/Documents/Varsity/Project/src/java/ava/webcompile.sh\");\n\n FileUtils.copyFileToDirectory(gen_shell, dest);\n FileUtils.copyFileToDirectory(comp_shell, dest);\n //FileUtils.copyFileToDirectory(tool, dest);\n\n System.out.println(\"File transfere completed\");\n }", "title": "" }, { "docid": "505e9279a85ca1a795a193c173c987c2", "score": "0.49092758", "text": "@Ignore\n\t@Test\n\tpublic void getMavenTestOutputFileFromReport(){\n\t\tArrayList<File> files = loader.getXMLReports();\n\t\tFile report = files.get(0);\n\t\tFile outputFile = loader.getOutputFile(report);\n\t\tassertTrue(outputFile != null);\n\t}", "title": "" }, { "docid": "a469733e23661285d1aad68d6a34f281", "score": "0.48973912", "text": "private void checkoutAndBuild(Build build) {\r\n final String publishDirPathSep = build.getPublishDir() + File.separator;\r\n String buildLogPath = publishDirPathSep + BuildGenerator.BUILD_LOG;\r\n \r\n // create a ant antProject used to receive ant task logs\r\n Project antProject = Luntbuild.createAntProject();\r\n LuntbuildLogger buildLogger = new LuntbuildLogger();\r\n build.setLogger(buildLogger);\r\n buildLogger.setDirectMode(false);\r\n buildLogger.setEmacsMode(false);\r\n final Schedule theSchedule = build.getSchedule();\r\n buildLogger.setMessageOutputLevel(\r\n Luntbuild.convertToAntLogLevel(theSchedule.getProject().getLogLevel()));\r\n antProject.addBuildListener(buildLogger);\r\n PrintStream logStream = null;\r\n boolean isCheckoutSuccess = false;\r\n long currentTime = System.currentTimeMillis();\r\n try {\r\n buildLogger.setOutputPath(buildLogPath);\r\n buildLogger.setErrorPath(buildLogPath);\r\n logStream = new PrintStream(new FileOutputStream(buildLogPath));\r\n buildLogger.setOutputPrintStream(logStream);\r\n buildLogger.setErrorPrintStream(logStream);\r\n \r\n // checks if there are any failed dependencies unless build condition is always\r\n if (!theSchedule.isAlways()) {\r\n Schedule notSatisfiedDependentSchedule = theSchedule.getNotSatisfiedDependency();\r\n if (notSatisfiedDependentSchedule != null) {\r\n throw new BuildException(\"Dependency not satisfied : latest build in schedule \\\"\" +\r\n notSatisfiedDependentSchedule.getProject().getName() + \"/\" +\r\n notSatisfiedDependentSchedule.getName() +\r\n \"\\\" has failed or there are no builds in this schedule.\");\r\n }\r\n }\r\n \r\n String user = build.getUser();\r\n if (user != null) {\r\n logger.info(\"User \\\"\" + user + \"\\\" started the build: \" + theSchedule.getName());\r\n antProject.log(\"User \\\"\" + user + \"\\\" started the build\", Project.MSG_INFO);\r\n }\r\n \r\n if (build.isCleanBuild() || build.isRebuild()) {\r\n String message = \"Cleaning up project work directory \\\"\" +\r\n theSchedule.getWorkDirRaw() + \"\\\"...\";\r\n antProject.log(message, Project.MSG_INFO);\r\n logger.info(message);\r\n Iterator it = build.getVcsList().iterator();\r\n while (it.hasNext()) {\r\n Vcs vcs = (Vcs) it.next();\r\n vcs.cleanupCheckout(theSchedule, antProject);\r\n }\r\n }\r\n \r\n logger.info(\"Checking out code from the defined Version Control Systems...\");\r\n Iterator it = build.getVcsList().iterator();\r\n while (it.hasNext()) {\r\n Vcs vcs = (Vcs) it.next();\r\n antProject.log(\"Perform checkout operation for VCS setting: \", Project.MSG_INFO);\r\n antProject.log(vcs.toString(), Project.MSG_INFO);\r\n vcs.checkout(build, antProject);\r\n }\r\n isCheckoutSuccess = true;\r\n antProject.log(\"Duration of the checkout operation: \" +\r\n (System.currentTimeMillis() - currentTime) / 60000 + \" minutes\",\r\n org.apache.tools.ant.Project.MSG_INFO);\r\n currentTime = System.currentTimeMillis();\r\n \r\n Luntbuild.createDir(publishDirPathSep + Builder.ARTIFACTS_DIR);\r\n Iterator reportsiter = Luntbuild.reports.values().iterator();\r\n while (reportsiter.hasNext()) {\r\n Report report = (Report) reportsiter.next();\r\n Luntbuild.createDir(publishDirPathSep + File.separator + report.getReportDir());\r\n }\r\n \r\n logger.info(\"Build with defined builders...\");\r\n it = build.getBuilderList().iterator();\r\n while (it.hasNext()) {\r\n Builder builder = (Builder) it.next();\r\n antProject.log(\"Perform build with builder setting: \", Project.MSG_INFO);\r\n antProject.log(builder.toString(), Project.MSG_INFO);\r\n buildLogger.setBuilderName(builder.getName());\r\n builder.build(build, buildLogger);\r\n buildLogger.setBuilderName(null);\r\n }\r\n \r\n antProject.log(\"Duration of the builder(s) execution: \" +\r\n (System.currentTimeMillis() - currentTime) / 60000 + \" minutes\",\r\n org.apache.tools.ant.Project.MSG_INFO);\r\n build.setStatus(Constants.BUILD_STATUS_SUCCESS);\r\n } catch (Throwable e) {\r\n build.setStatus(Constants.BUILD_STATUS_FAILED);\r\n if (e instanceof BuildException) {\r\n antProject.log(e.getMessage(), Project.MSG_ERR);\r\n logger.error(\"Build failed: \" + e.getMessage());\r\n } else {\r\n if (logStream != null)\r\n e.printStackTrace(logStream);\r\n logger.error(\"Build failed: \", e);\r\n }\r\n }\r\n \r\n if (build.getPostbuildStrategy() == Constants.POSTBUILD_ALWAYS ||\r\n build.getPostbuildStrategy() ==\r\n Constants.POSTBUILD_IF_SUCCESS &&\r\n build.getStatus() == Constants.BUILD_STATUS_SUCCESS ||\r\n build.getPostbuildStrategy() == Constants.POSTBUILD_IF_FAILED &&\r\n build.getStatus() == Constants.BUILD_STATUS_FAILED) {\r\n try {\r\n antProject.log(\"\");\r\n if (build.getPostbuilderList().size() == 0)\r\n throw new BuildException(\"ERROR: Fail to post-build: No post-builders defined!\");\r\n \r\n logger.info(\"Post-build with defined post-builders...\");\r\n Iterator it = build.getPostbuilderList().iterator();\r\n while (it.hasNext()) {\r\n Builder builder = (Builder) it.next();\r\n antProject.log(\"Perform post-build with builder setting: \", Project.MSG_INFO);\r\n antProject.log(builder.toString(), Project.MSG_INFO);\r\n buildLogger.setBuilderName(builder.getName());\r\n builder.build(build, buildLogger);\r\n }\r\n \r\n antProject.log(\"Duration of the post-builder(s) execution: \" +\r\n (System.currentTimeMillis() - currentTime) / 60000 + \" minutes\",\r\n Project.MSG_INFO);\r\n logger.info(\"Run of ant post-build script succeed!\");\r\n } catch (Throwable throwable) {\r\n build.setStatus(Constants.BUILD_STATUS_FAILED);\r\n if (throwable instanceof BuildException) {\r\n antProject.log(throwable.getMessage(), org.apache.tools.ant.Project.MSG_ERR);\r\n logger.error(\"Post-build failed: \" + throwable.getMessage());\r\n } else {\r\n if (logStream != null)\r\n throwable.printStackTrace(logStream);\r\n logger.error(\"Post-build failed: \", throwable);\r\n }\r\n }\r\n }\r\n \r\n try {\r\n if (isCheckoutSuccess) {\r\n // insert a blank line into the log\r\n antProject.log(\"\\n\", org.apache.tools.ant.Project.MSG_INFO);\r\n if (!build.isRebuild()) {\r\n if (build.getLabelStrategy() == Constants.LABEL_ALWAYS ||\r\n build.getLabelStrategy() == Constants.LABEL_IF_SUCCESS &&\r\n build.getStatus() == Constants.BUILD_STATUS_SUCCESS) {\r\n build.setHaveLabelOnHead(true);\r\n Iterator it = build.getVcsList().iterator();\r\n while (it.hasNext()) {\r\n Vcs vcs = (Vcs) it.next();\r\n vcs.label(build, antProject);\r\n }\r\n } else {\r\n Iterator it = build.getVcsList().iterator();\r\n while (it.hasNext()) {\r\n Vcs vcs = (Vcs) it.next();\r\n vcs.unlabel(build, antProject);\r\n }\r\n }\r\n } else {\r\n String message = \"Cleaning up project work directory \\\"\" +\r\n theSchedule.getWorkDirRaw() + \"\\\" after rebuild...\";\r\n antProject.log(message, Project.MSG_INFO);\r\n logger.info(message);\r\n Iterator it = build.getVcsList().iterator();\r\n while (it.hasNext()) {\r\n Vcs vcs = (Vcs) it.next();\r\n vcs.cleanupCheckout(theSchedule, antProject);\r\n }\r\n }\r\n }\r\n } catch (Throwable e) {\r\n build.setStatus(Constants.BUILD_STATUS_FAILED);\r\n if (e instanceof BuildException) {\r\n antProject.log(e.getMessage(), org.apache.tools.ant.Project.MSG_ERR);\r\n logger.error(\"Build failed: \" + e.getMessage());\r\n } else {\r\n if (logStream != null)\r\n e.printStackTrace(logStream);\r\n logger.error(\"Build failed: \", e);\r\n }\r\n } finally {\r\n if (logStream != null)\r\n logStream.close();\r\n build.setEndDate(new Date());\r\n String buildXmlPath = publishDirPathSep + BuildGenerator.BUILD_XML_LOG;\r\n String buildHtmlPath = publishDirPathSep + BuildGenerator.BUILD_HTML_LOG;\r\n String buildTextPath = publishDirPathSep + BuildGenerator.BUILD_LOG;\r\n \r\n buildLogger.logHtml(buildXmlPath, Luntbuild.installDir + \"/log.xsl\", buildHtmlPath, buildTextPath);\r\n build.removeLogger();\r\n buildLogger.close();\r\n }\r\n }", "title": "" }, { "docid": "27fb13bf126ee0f6a6ea06cea9e0d0ed", "score": "0.48819977", "text": "public void executeMain() throws BuildException {\n \n checkAttributesAndElements();\n \n // Renamed version of original file, if it exists\n File renamedFile = null;\n addingNewFiles = true;\n \n processDoUpdate();\n processGroupFilesets();\n \n // collect filesets to pass them to getResourcesToAdd\n Vector vfss = new Vector();\n if (baseDir != null) {\n FileSet fs = (FileSet) getImplicitFileSet().clone();\n fs.setDir(baseDir);\n vfss.addElement(fs);\n }\n- for (int i = 0; i < resources.size(); i++) {\n+ final int size = resources.size();\n+ for (int i = 0; i < size; i++) {\n ResourceCollection rc = (ResourceCollection) resources.elementAt(i);\n vfss.addElement(rc);\n }\n \n ResourceCollection[] fss = new ResourceCollection[vfss.size()];\n vfss.copyInto(fss);\n boolean success = false;\n try {\n // can also handle empty archives\n ArchiveState state = getResourcesToAdd(fss, zipFile, false);\n \n // quick exit if the target is up to date\n if (!state.isOutOfDate()) {\n return;\n }\n \n File parent = zipFile.getParentFile();\n if (parent != null && !parent.isDirectory() && !parent.mkdirs()) {\n throw new BuildException(\"Failed to create missing parent\"\n + \" directory for \" + zipFile);\n }\n \n updatedFile = true;\n if (!zipFile.exists() && state.isWithoutAnyResources()) {\n createEmptyZip(zipFile);\n return;\n }\n Resource[][] addThem = state.getResourcesToAdd();\n \n if (doUpdate) {\n renamedFile = renameFile();\n }\n \n String action = doUpdate ? \"Updating \" : \"Building \";\n \n if (!skipWriting) {\n log(action + archiveType + \": \" + zipFile.getAbsolutePath());\n }\n \n ZipOutputStream zOut = null;\n try {\n if (!skipWriting) {\n zOut = new ZipOutputStream(zipFile);\n \n zOut.setEncoding(encoding);\n zOut.setUseLanguageEncodingFlag(useLanguageEncodingFlag);\n zOut.setCreateUnicodeExtraFields(createUnicodeExtraFields.\n getPolicy());\n zOut.setFallbackToUTF8(fallBackToUTF8);\n zOut.setMethod(doCompress\n ? ZipOutputStream.DEFLATED : ZipOutputStream.STORED);\n zOut.setLevel(level);\n }\n initZipOutputStream(zOut);\n \n // Add the explicit resource collections to the archive.\n for (int i = 0; i < fss.length; i++) {\n if (addThem[i].length != 0) {\n addResources(fss[i], addThem[i], zOut);\n }\n }\n \n if (doUpdate) {\n addingNewFiles = false;\n ZipFileSet oldFiles = new ZipFileSet();\n oldFiles.setProject(getProject());\n oldFiles.setSrc(renamedFile);\n oldFiles.setDefaultexcludes(false);\n \n- for (int i = 0; i < addedFiles.size(); i++) {\n+ final int addSize = addedFiles.size();\n+ for (int i = 0; i < addSize; i++) {\n PatternSet.NameEntry ne = oldFiles.createExclude();\n ne.setName((String) addedFiles.elementAt(i));\n }\n DirectoryScanner ds =\n oldFiles.getDirectoryScanner(getProject());\n ((ZipScanner) ds).setEncoding(encoding);\n \n String[] f = ds.getIncludedFiles();\n Resource[] r = new Resource[f.length];\n for (int i = 0; i < f.length; i++) {\n r[i] = ds.getResource(f[i]);\n }\n \n if (!doFilesonly) {\n String[] d = ds.getIncludedDirectories();\n Resource[] dr = new Resource[d.length];\n for (int i = 0; i < d.length; i++) {\n dr[i] = ds.getResource(d[i]);\n }\n Resource[] tmp = r;\n r = new Resource[tmp.length + dr.length];\n System.arraycopy(dr, 0, r, 0, dr.length);\n System.arraycopy(tmp, 0, r, dr.length, tmp.length);\n }\n addResources(oldFiles, r, zOut);\n }\n if (zOut != null) {\n zOut.setComment(comment);\n }\n finalizeZipOutputStream(zOut);\n \n // If we've been successful on an update, delete the\n // temporary file\n if (doUpdate) {\n if (!renamedFile.delete()) {\n log (\"Warning: unable to delete temporary file \"\n + renamedFile.getName(), Project.MSG_WARN);\n }\n }\n success = true;\n } finally {\n // Close the output stream.\n closeZout(zOut, success);\n }\n } catch (IOException ioe) {\n String msg = \"Problem creating \" + archiveType + \": \"\n + ioe.getMessage();\n \n // delete a bogus ZIP file (but only if it's not the original one)\n if ((!doUpdate || renamedFile != null) && !zipFile.delete()) {\n msg += \" (and the archive is probably corrupt but I could not \"\n + \"delete it)\";\n }\n \n if (doUpdate && renamedFile != null) {\n try {\n FILE_UTILS.rename(renamedFile, zipFile);\n } catch (IOException e) {\n msg += \" (and I couldn't rename the temporary file \"\n + renamedFile.getName() + \" back)\";\n }\n }\n \n throw new BuildException(msg, ioe, getLocation());\n } finally {\n cleanUp();\n }\n }", "title": "" }, { "docid": "bd251ca3fde077ab248b583f7af596c0", "score": "0.4867021", "text": "public void build(List<File> files) throws Exception {\t\t\t\t\t\n\t\tList<Path.Entry<?>> entries = getSourceFiles(files);\n\t\tbuildEntries(entries); \n\t}", "title": "" }, { "docid": "3808cbb1fab36f6b43fc2d946c5f5382", "score": "0.48665383", "text": "public void run() throws IOException {\n JsonElement ruleSetElement = configuration.get(\"ruleSet\");\n if (ruleSetElement == null) {\n throw new KitException(\"no ruleSet defined\");\n }\n String ruleSetClassName = ruleSetElement.getAsString();\n RuleSet ruleSet;\n try {\n Class<?> ruleSetClass = Class.forName(ruleSetClassName);\n ruleSet = (RuleSet) ruleSetClass.getConstructor().newInstance();\n } catch (Exception e) {\n throw new KitException(\"could not create ruleSet: \" + ruleSetClassName, e);\n }\n\n // apply all rules from the \"rules\" field\n RuleContext ruleContext = new RuleContext(configuration, ruleSet, partsFolder, buildFolder);\n JsonArray rules = configuration.getAsJsonArray(\"rules\");\n if (rules == null) {\n throw new KitException(\"no rules defined\");\n }\n for (JsonElement element : rules) {\n ruleContext.applyRule(element.getAsJsonObject());\n }\n\n // generate a header.inc (currently fixed for a LoROM with 96 32k-banks)\n try (FileOutputStream fileOutputStream = new FileOutputStream(new File(buildFolder, \"header.inc\"))) {\n try (OutputStreamWriter outputStreamWriter = new OutputStreamWriter(fileOutputStream, StandardCharsets.US_ASCII)) {\n try (PrintWriter out = new PrintWriter(outputStreamWriter)) {\n out.println(\".MEMORYMAP\");\n out.println(\" SLOTSIZE $8000\");\n out.println(\" DEFAULTSLOT 0\");\n out.println(\" SLOT 0 $8000\");\n out.println(\".ENDME\");\n out.println(\".ROMBANKSIZE $8000\");\n out.println(\".ROMBANKS 96\");\n }\n }\n }\n\n // assemble\n List<File> objectFiles = new ArrayList<>();\n {\n File[] buildFolderFiles = buildFolder.listFiles();\n for (File buildFolderFile : buildFolderFiles) {\n String filename = buildFolderFile.getName();\n if (filename.endsWith(\".asm\")) {\n File objectFile = new File(buildFolder, filename.substring(0, filename.length() - 3) + 'o');\n objectFiles.add(objectFile);\n execBuildTool(\"wla-65816\", \"-o\", objectFile.getName(), filename);\n }\n }\n }\n\n // generate linkfile\n try (FileOutputStream fileOutputStream = new FileOutputStream(new File(buildFolder, \"linkfile\"))) {\n try (OutputStreamWriter outputStreamWriter = new OutputStreamWriter(fileOutputStream, StandardCharsets.US_ASCII)) {\n try (PrintWriter out = new PrintWriter(outputStreamWriter)) {\n out.println(\"[objects]\");\n for (File file : objectFiles) {\n out.println(file.getName());\n }\n }\n }\n }\n\n // run the linker\n execBuildTool(\"wlalink\", \"-v\", \"linkfile\", outputFile.getAbsolutePath());\n\n }", "title": "" }, { "docid": "0541f7cf28fac27ae09d0070517d75a2", "score": "0.48609573", "text": "public static void compileScripts() {\n\t\tint count = 0;\n\t\tfor (File file : new File(FileManager.SOURCE_DIR).listFiles()) {\n\t\t\tString name = file.getName();\n\t\t\tSystem.out.println(name);\n\t\t\tif (name.endsWith(\".java\")) {\n\t\t\t\tif (ToolProvider.getSystemJavaCompiler().run(null, null, null, file.getAbsolutePath()) == 0) {\n\t\t\t\t\tFile compiled = new File(file.getAbsolutePath().toString().replace(\".java\", \".class\"));\n\t\t\t\t\tcompiled.renameTo(new File(FileManager.COMPILED_DIR + File.separator + compiled.getName()));\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tJOptionPane.showMessageDialog(null, count + \" scripts compiled!\");\n\t}", "title": "" }, { "docid": "7c6ca86171f440e18d097ef16fb5474e", "score": "0.48480293", "text": "private void setUpBug130390() throws CoreException {\n this.workingCopies = new ICompilationUnit[4];\n this.workingCopies[0] = getWorkingCopy(\"/JavaSearchBugs/src/b130390/TZ.java\", \"package b130390;\\n\" + \"public class TZ {\\n\" + \"}\\n\");\n this.workingCopies[1] = getWorkingCopy(\"/JavaSearchBugs/src/b130390/TimeZone.java\", \"package b130390;\\n\" + \"public class TimeZone{\\n\" + \"}\\n\");\n this.workingCopies[2] = getWorkingCopy(\"/JavaSearchBugs/src/b130390/Npe.java\", \"package b130390;\\n\" + \"public class Npe {\\n\" + \"}\\n\");\n this.workingCopies[3] = getWorkingCopy(\"/JavaSearchBugs/src/b130390/NullPointerException.java\", \"package b130390;\\n\" + \"public class NullPointerException {\\n\" + \"}\\n\");\n }", "title": "" }, { "docid": "7c4ad6830cc46b3e19ee1788042fe53a", "score": "0.4838526", "text": "private static void copyChilliSource(Options in_options) throws CSException\n\t{\n\t\tString tempDirectoryPath = StringUtils.standardiseDirectoryPath(in_options.m_outputDirectory + k_tempDirectory);\n\t\tString tempProjectDirectory = StringUtils.standardiseDirectoryPath(tempDirectoryPath + k_templateProjectName);\n\t\tString csSourcePath = StringUtils.standardiseDirectoryPath(getJarDirectoryPath(in_options) + k_csSourceDirectoryPath); \n\t\tString csDestinationPath = StringUtils.standardiseDirectoryPath(tempProjectDirectory + k_csDestinationDirectoryPath);\n\t\t\n\t\tLogging.logVerbose(\"Copying ChilliSource into the project.\");\n\t\t\n\t\tList<String> ignore = new ArrayList<>();\n\t\tCollections.addAll(ignore, \"bin\", \"obj\");\n\t\tif (FileUtils.copyDirectory(csSourcePath, csDestinationPath, ignore) == false)\n\t\t{\n\t\t\tcleanupTemp(in_options);\n\t\t\tthrow new CSException(\"Could not copy ChilliSource into project.\");\n\t\t}\n\t\t\n\t\t//remove any remnants of the git project.\n\t\ttry\n\t\t{\n\t\t\tPath gitPath = Paths.get(csDestinationPath + \".git\");\n\t\t\tif (Files.isDirectory(gitPath) == true)\n\t\t\t{\n\t\t\t\tFileUtils.deleteDirectory(gitPath.toString());\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tFiles.deleteIfExists(gitPath);\n\t\t\t}\n\t\t\tFiles.deleteIfExists(Paths.get(csDestinationPath + \".gitignore\"));\n\t\t}\n\t\tcatch (Exception e)\n\t\t{\n\t\t\tcleanupTemp(in_options);\n\t\t\tthrow new CSException(\"Could not delete git remnants.\", e);\n\t\t}\n\t}", "title": "" }, { "docid": "6ec86dca3070caeb56957bfb6c13b76c", "score": "0.4838219", "text": "protected String getCompileFileName()\r\n/* 119: */ {\r\n/* 120:147 */ if (this.indicadorResumen) {\r\n/* 121:148 */ return \"reporteAnalisisVencimientoResumido\";\r\n/* 122: */ }\r\n/* 123:150 */ return \"reporteAnalisisVencimientoDetallado\";\r\n/* 124: */ }", "title": "" }, { "docid": "eb01157a5bda5066018bfe81ea3736ca", "score": "0.48376533", "text": "@Override\n\tpublic byte[] createBigDataFileXlsx(ReportExcel report) throws Exception {\n\t\tthis.mergeCalcoloCells = null;\n\t\tbyte[] byteExcel = null;\n\t\tSXSSFWorkbook workbook = null;\n\t\tXSSFWorkbook coverWorkbook = null;\n\t\ttry {\n\t\t\tByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();\n\t\t\t// boolean isCover = true;\n\t\t\tif (StringUtils.isNotBlank(this.pathCoverXlsx)) {\n\t\t\t\tInputStream inputstream = new FileInputStream(this.pathCoverXlsx);\n\t\t\t\tcoverWorkbook = new XSSFWorkbook(inputstream);\n\t\t\t\tupdateCover(report, coverWorkbook);\n\t\t\t\tworkbook = new SXSSFWorkbook(coverWorkbook);\n\t\t\t} else if (StringUtils.isNotBlank(this.resourcePathCoverXlsx)) {\n\t\t\t\tInputStream inputstream = getClass().getResourceAsStream(this.resourcePathCoverXlsx);\n\t\t\t\tcoverWorkbook = new XSSFWorkbook(inputstream);\n\t\t\t\tupdateCover(report, coverWorkbook);\n\t\t\t\tworkbook = new SXSSFWorkbook(coverWorkbook);\n\t\t\t} else {\n\t\t\t\tworkbook = new SXSSFWorkbook();\n\t\t\t}\n\n\t\t\tthis.setCoverParameters(report, byteArrayOutputStream, workbook, false);\n\t\t\tbyteExcel = byteArrayOutputStream.toByteArray();\n\t\t} catch (Exception e) {\n\t\t\tthrow e;\n\t\t} finally {\n\t\t\tif (workbook != null)\n\t\t\t\tworkbook.close();\n\t\t}\n\t\treturn byteExcel;\n\t}", "title": "" }, { "docid": "fd5a50ba0476e134baaec22a4415cb3c", "score": "0.48362803", "text": "private static void copyFilesToSchedulerDirectory(String workingDirectory, String schedulerCode, String plasmaInterfaceCode) throws IOException {\n System.out.println(\"Current directory: \" + workingDirectory);\n //get parent directory\n int index = workingDirectory.lastIndexOf(\"/\");\n String parentPath = workingDirectory.substring(0, index);\n System.out.println(\"Parent directory: \" + parentPath);\n String schedulerDirPath = parentPath + \"/scheduler\";\n System.out.println(\"Scheduler directory: \" + schedulerDirPath);\n //save scheduler path\n String schedulerFilePath = schedulerDirPath + \"/scheduler.go\";\n System.out.println(\"Scheduler file path: \" + schedulerFilePath);\n //save plasmaInterface path\n String plasmaInterfPath = schedulerDirPath + \"/plasmaInterface.go\";\n System.out.println(\"PlasmaInterface file path: \" + plasmaInterfPath);\n // copy file scheduler.go\n FileWriter fileWriter = new FileWriter(schedulerFilePath);\n PrintWriter gravarArq = new PrintWriter(fileWriter);\n gravarArq.println(schedulerCode);\n fileWriter.close();\n //copy file plasmaInterface.go\n fileWriter = new FileWriter(plasmaInterfPath);\n gravarArq = new PrintWriter(fileWriter);\n gravarArq.println(plasmaInterfaceCode);\n fileWriter.close();\n }", "title": "" }, { "docid": "a169a9c7e154ea3a48c46261a87148bb", "score": "0.48356634", "text": "public void ComposeProcessedLog(){\n \ttry {\n \t\tList<String> pFileNames = GetAllResultLogFiles(\".adtl\");\n \t\tList<String> lFileNames = GetAllResultLogFiles(\".slog\");\n// \t\tList<String> fFileNames = GetAllResultLogFiles(\".fail\");\n// \t\tList<String> wFileNames = GetAllResultLogFiles(\".warning\");\n// \t\tList<String> iFileNames = GetAllResultLogFiles(\".info\");\n// \t\tList<String> nFileNames = GetAllResultLogFiles(\".na\");\n \t\tint pFileCount = pFileNames.size();\n// \t\tint fFileCount = fFileNames.size();\n// \t\tint wFileCount = wFileNames.size();\n// \t\tint iFileCount = iFileNames.size();\n// \t\tint nFileCount = nFileNames.size();\n \t\tString RunId=Driver.Gprops.GetRunID();\n\t\t\tDateFormat dateFormat = new SimpleDateFormat(\"yyyy/MM/dd HH:mm:ss\");\n\t\t\tDate date = new Date();\n\t\t\tDate dNow = new Date( );\n\t\t SimpleDateFormat ft = new SimpleDateFormat (\"E yyyy.MM.dd 'at' hh:mm:ss a zzz\");\n\t\t String DateTimeInfo = ft.format(dNow);\n\t\t int pCount = Driver.Gprops.GetPassCounter();\n\t\t int fCount = Driver.Gprops.GetFailCounter();\n\t\t double pPCent = ((double)pCount/((double)pCount+(double)fCount))*100;\n\t\t double fPCent = ((double)fCount/((double)pCount+(double)fCount))*100;\n\t\t //String ResultPath = Driver.Init.GetResultPath() + Driver.Gprops.GetRunID() + \".txt\";\n\t\t\tString ResultPath = System.getProperty(\"user.dir\") + \"/target/\" + RunId + \"/ProcessedLog.html\";\n\t\t\tString LogPath = System.getProperty(\"user.dir\") + \"/target/\" + RunId + \"/Log.html\";\n\t\t\tFile tsFolder = new File(System.getProperty(\"user.dir\") + \"/target/\" + RunId + \"/\");\n\t\t\tif(!tsFolder.exists()){\n\t\t\t\ttsFolder.mkdirs();\n\t\t\t}\t\n\t\t\tFile file = new File(ResultPath);\n\t\t\tif (!file.exists()) {\n\t\t\t\tfile.createNewFile();\n\t\t\t}\n\t\t\tFile lfile = new File(LogPath);\n\t\t\tif (!lfile.exists()) {\n\t\t\t\tlfile.createNewFile();\n\t\t\t}\n\t\t\t// Code added by KK - 02/07/2014 - this code will add all the featurew files that are executed in different threads\n\t\t\tString tFeatureFile = \"\", tFilters = \"\", tGlues = \"\";\n\t Collection<List<String>> FF = Driver.Gprops.GetFeatureFiles().values();\n\t\t\tfor(List<String> T2 : FF) {\n\t\t\t\tfor(int z=0;z<T2.size();z++){\n\t\t\t\t\ttFeatureFile = tFeatureFile + \";<br>\" + T2.get(z);\n\t\t\t\t}\n\t\t\t}\n\t\t\tCollection<List<Object>> CF = Driver.Gprops.GetCukeFilters().values();\n\t\t\tfor(List<Object> T2 : CF) {\n\t\t\t\tfor(int z=0;z<T2.size();z++){\n\t\t\t\t\ttFeatureFile = tFeatureFile + \";<br>\" + T2.get(z).toString();\n\t\t\t\t}\n\t\t\t}\n\t\t\tCollection<List<String>> CG = Driver.Gprops.GetCukeGlues().values();\n\t\t\tfor(List<String> T2 : CG) {\n\t\t\t\tfor(int z=0;z<T2.size();z++){\n\t\t\t\t\ttFeatureFile = tFeatureFile + \";<br>\" + T2.get(z);\n\t\t\t\t}\n\t\t\t}\n//\t\t\tfor(int x= 0; x < Driver.Gprops.GetFeatureFiles(Thread.currentThread().getName()).size(); x++){\n//\t\t\t\ttFeatureFile = tFeatureFile + \";<br>\" + Driver.Gprops.GetFeatureFiles(Thread.currentThread().getName()).get(x);\n//\t\t\t}\n//\t\t\tfor(int y = 0; y < Driver.Gprops.GetCukeFilters(Thread.currentThread().getName()).size(); y++){\n//\t\t\t\ttFilters = tFilters + \";<br>\" + Driver.Gprops.GetCukeFilters(Thread.currentThread().getName()).get(y).toString();\n//\t\t\t}\n//\t\t\tfor(int z = 0; z < Driver.Gprops.GetCukeGlues(Thread.currentThread().getName()).size(); z++){\n//\t\t\t\ttGlues = tGlues + \";<br>\" + Driver.Gprops.GetCukeGlues(Thread.currentThread().getName()).get(z);\n//\t\t\t}\n\t\t\t\n\t\t\tString[] Browsers = Driver.Init.GetAUTBrowser().split(\"~\");\n\t\t\tString bNames = \"\";\n\t\t\tfor(int x=0;x<Browsers.length;x++){\n\t\t\t\tif(x==0){\n\t\t\t\t\tbNames = Driver.CUtil.GetBrowserName(Browsers[x]) + \", \";\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tbNames += Driver.CUtil.GetBrowserName(Browsers[x]) + \", \";\n\t\t\t\t}\n\t\t\t}\n\t\t\tBufferedWriter bw = new BufferedWriter(new FileWriter(ResultPath,true));\n\t\t\tbw.write(\"<html<head><title>Welcome to Processed Log File \" + dateFormat.format(date) + \"</title></head><body bgcolor=\\\"DarkGray\\\">\" );\n\t\t\tbw.write(\"<div align=\\\"center\\\"></hr><h2>Log File</h2></hr></div>\");\n\t\t\tbw.write(\"</br><table border=\\\"2\\\" cellspacing=\\\"2\\\" cellpadding=\\\"2\\\">\");\n\t\t\tbw.write(\"<tr><td>Date of Execution</td><td>\" + DateTimeInfo + \"</td></tr>\");\n\t\t\tbw.write(\"<tr><td>Remote Node Address</td><td>\" + Driver.Gprops.GetNodeIPAddress() + \"</td></tr>\");\n\t\t\tbw.write(\"<tr><td>Run ID</td><td>\" + Driver.Gprops.GetRunID() + \"</td></tr>\");\n\t\t\tif(System.getProperty(\"build.number\")!=null && !System.getProperty(\"build.number\").contains(\"build\")){\n\t\t\t\tbw.write(\"<tr><td>TeamCity Project Name</td><td>\" + System.getProperty(\"teamcity.buildConfName\") + \"</td></tr>\");\n\t\t\t\tbw.write(\"<tr><td>TeamCity Branch Name</td><td>\" + Driver.globalValues.get(\"BrachName\") + \"</td></tr>\");\n\t\t\t\tbw.write(\"<tr><td>TeamCity Build Number</td><td><a href=\\\"\"+Driver.Init.GetFromEnvironment(\"TeamCityBaseURL\")+\"/viewLog.html?buildId=\"+System.getProperty(\"teamcity.build.id\")+\"&buildTypeId=\"+System.getProperty(\"teamcity.buildType.id\")+\"\\\">\" + System.getProperty(\"build.number\") + \"</a></td></tr>\");\n\t\t\t}\n\t\t\t\n\t\t\tif(System.getProperty(\"jenkins.build.id\")!=null && !System.getProperty(\"jenkins.build.id\").contains(\"BUILD\")){\n\t\t\t\tbw.write(\"<tr><td>Jenkins Job Nmae&thinsp;</td><td>&emsp;\" + System.getProperty(\"jenkins.job.name\") + \"&emsp;</td></tr>\");\n\t\t\t\tbw.write(\"<tr><td>Jenkins Build ID&thinsp;</td><td>&emsp;\" +System.getProperty(\"jenkins.build.id\")+\"&emsp;</td></tr>\");\n\t\t\t\tbw.write( \"<tr><td>Jenkins Build Number&thinsp;</td><td>&emsp;<a href=\\\"\"+System.getProperty(\"jenkins.build.url\")+\"\\\">\" + System.getProperty(\"jenkins.build.number\") + \"</a>&emsp;</td></tr>\");\n\t\t\t}\n\t\t\tbw.write(\"<tr><td>Build Triggered By</td><td>\" +Driver.globalValues.get(\"TriggeredBy\")+\" (\"+Driver.globalValues.get(\"TriggeredByName\")+\")\"+ \"</td></tr>\");\n\t\t\tbw.write(\"<tr><td>Base Url</td><td>\" + Driver.Init.GetBaseURL() + \"</td></tr>\");\n\t\t\tbw.write(\"<tr><td>Browser Used</td><td>\" + bNames + \"</td></tr>\");\n\t\t\tbw.write(\"<tr><td>Browser Version Used</td><td>\" + Driver.Gprops.GetBrowserVersion() + \"</td></tr>\");\n\t\t\tbw.write(\"<tr><td>OS Name</td><td>\" + Driver.Gprops.GetOSNames() + \"</td></tr>\");\n\t\t\tbw.write(\"<tr><td>Feature File\\\\s</td><td>\" + tFeatureFile + \"</td></tr>\");\n\t\t\tbw.write(\"<tr><td>Cuke Filters</td><td>\" + tFilters + \"</td></tr>\");\n\t\t\tbw.write(\"<tr><td>Cuke Glues</td><td>\" + tGlues + \"</td></tr>\");\n\t\t\tbw.write(\"</table></hr></br><div align=\\\"center\\\">\");\n\t\t\tbw.write(\"<div align=\\\"center\\\" style=\\\"width:100%\\\">\");\n//\t\t\tbw.write(\"<h3>Failed Steps</h3>\");\n//\t\t\tbw.write(\"<table border=\\\"2\\\" cellspacing=\\\"2\\\" cellpadding=\\\"2\\\">\");\n//\t\t\tbw.write(\"<tr><td>Date/Time</td><td>Function Name</td><td>Message</td><td>Status</td></tr>\");\n//\t\t\tfor(int x=0; x < fFileCount; x++){\n//\t\t\t\tFile folder = new File(Driver.Init.GetResultPath() + Driver.Gprops.GetRunID() + \"\\\\\" + fFileNames.get(x));\n// \t\t\tBufferedReader br = new BufferedReader(new FileReader(folder));\n// \t\t\tString line = \"\";\n// \t\t\twhile ((line = br.readLine()) != null) {\n// \t\t\t\tbw.write(line);\n// \t\t\t}\n// \t\t\tbr.close();\n//\t\t\t}\n//\t\t\tbw.write(\"</table></hr><h3>Warning Steps</h3>\");\n//\t\t\tbw.write(\"<table border=\\\"2\\\" cellspacing=\\\"2\\\" cellpadding=\\\"2\\\">\");\n//\t\t\tbw.write(\"<tr><td>Date/Time</td><td>Function Name</td><td>Message</td><td>Status</td></tr>\");\n//\t\t\tfor(int x=0; x < wFileCount; x++){\n//\t\t\t\tFile folder = new File(Driver.Init.GetResultPath() + Driver.Gprops.GetRunID() + \"\\\\\" + wFileNames.get(x));\n// \t\t\tBufferedReader br = new BufferedReader(new FileReader(folder));\n// \t\t\tString line = \"\";\n// \t\t\twhile ((line = br.readLine()) != null) {\n// \t\t\t\tbw.write(line);\n// \t\t\t}\n// \t\t\tbr.close();\n//\t\t\t}\n//\t\t\tbw.write(\"</table></hr><h3>Passed Steps</h3>\");\n\t\t\tbw.write(\"</hr><h3>Log</h3>\");\n\t\t\tfor(int x=0; x < pFileCount; x++){\n\t\t\t\tFile folder = new File(Driver.Init.GetResultPath() + Driver.Gprops.GetRunID() + \"/\" + pFileNames.get(x));\n \t\t\tBufferedReader br = new BufferedReader(new FileReader(folder));\n \t\t\tString line = \"\";\n \t\t\tbw.write(\"<div id=\\\"logfilename\\\"><dfn>Log File Name = \" + Driver.Init.GetResultPath() + Driver.Gprops.GetRunID() + \"/\" + pFileNames.get(x) + \"</dfn></div>\");\n \t\t\tbw.write(\"<table border=\\\"2\\\" cellspacing=\\\"2\\\" cellpadding=\\\"2\\\" width=\\\"100%\\\">\");\n \t\t\tbw.write(\"<tr><td>Date/Time</td><td>Status</td><td>Function Name</td><td>Message</td></tr>\");\n \t\t\twhile ((line = br.readLine()) != null) {\n \t\t\t\tbw.write(line);\n \t\t\t}\n \t\t\tbw.write(\"</table>\");\n \t\t\tbr.close();\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t\tBufferedWriter lbw = new BufferedWriter(new FileWriter(LogPath,true));\n\t\t\tlbw.write(\"<html<head><title>Welcome to Log File \" + dateFormat.format(date) + \"</title></head><body bgcolor=\\\"DarkGray\\\">\" );\n\t\t\tlbw.write(\"<div align=\\\"center\\\"></hr><h2>Log File</h2></hr></div>\");\n\t\t\t\n\t\t\tfor(int x=0; x < pFileCount; x++){\n\t\t\t\tFile folder = new File(Driver.Init.GetResultPath() + Driver.Gprops.GetRunID() + \"/\" + lFileNames.get(x));\n \t\t\tBufferedReader br = new BufferedReader(new FileReader(folder));\n \t\t\tString line = \"\";\n \t\t\twhile ((line = br.readLine()) != null) {\n \t\t\t\tlbw.write(\"<tr><td>\");\n \t\t\t\tlbw.write(line);\n \t\t\t\tlbw.write(\"</tr></td>\");\n \t\t\t}\n \t\t\tlbw.write(\"</table>\");\n \t\t\tbr.close();\n\t\t\t}\n\t\t\t\n//\t\t\tbw.write(\"</table></hr><h3>Information Steps</h3>\");\n//\t\t\tbw.write(\"<table border=\\\"2\\\" cellspacing=\\\"2\\\" cellpadding=\\\"2\\\">\");\n//\t\t\tbw.write(\"<tr><td>Date/Time</td><td>Funcation Name</td><td>Message</td><td>Status</td></tr>\");\n//\t\t\tfor(int x=0; x < iFileCount; x++){\n//\t\t\t\tFile folder = new File(Driver.Init.GetResultPath() + Driver.Gprops.GetRunID() + \"/\" + iFileNames.get(x));\n// \t\t\tBufferedReader br = new BufferedReader(new FileReader(folder));\n// \t\t\tString line = \"\";\n// \t\t\twhile ((line = br.readLine()) != null) {\n// \t\t\t\tbw.write(line);\n// \t\t\t}\n// \t\t\tbr.close();\n//\t\t\t}\n//\t\t\tbw.write(\"</table></hr>\");\n//\t\t\tbw.write(\"<h3>Other/Miscellaneous Steps</h3>\");\n//\t\t\tbw.write(\"<table border=\\\"2\\\" cellspacing=\\\"2\\\" cellpadding=\\\"2\\\">\");\n//\t\t\tbw.write(\"<tr><td>Date/Time</td><td>Funcation Name</td><td>Message</td><td>Status</td></tr>\");\n//\t\t\tfor(int x=0; x < nFileCount; x++){\n//\t\t\t\tFile folder = new File(Driver.Init.GetResultPath() + Driver.Gprops.GetRunID() + \"/\" + nFileNames.get(x));\n// \t\t\tBufferedReader br = new BufferedReader(new FileReader(folder));\n// \t\t\tString line = \"\";\n// \t\t\twhile ((line = br.readLine()) != null) {\n// \t\t\t\tbw.write(line);\n// \t\t\t}\n// \t\t\tbr.close();\n//\t\t\t}\n//\t\t\tbw.write(\"</table></hr>\");\n\t\t\tbw.write(\"<hr>\");\n\t\t\tbw.write(\"<h5><a href=\\\"mailto:#[email protected]\\\">Contact Us</a></h5></hr></div></body></html>\");\n\t\t\tbw.close(); \n\t\t\t\n\t\t\tlbw.write(\"<hr></body></html>\");\n\t\t\tlbw.close();\n\t\t\t\n\t\t\tif(System.getProperty(\"ProjectName\").toLowerCase().contains(\"digan\")) {\n\t\t\t\tString methodName = Driver.globalValues.get(\"methodName\");\n\t\t\t\tString reportPath = System.getProperty(\"user.dir\") + \"/target/\" + RunId + \"/DiganReport.html\";\n\t\t\t\tString reportPathAPI = System.getProperty(\"user.dir\") + \"/target/\" + RunId + \"/DiganReportAPI.html\";\n\t\t\t\t\n\t\t\t\tBufferedWriter rbw = new BufferedWriter(new FileWriter(reportPath,true));\n\t\t\t\tBufferedWriter rbwAPI = new BufferedWriter(new FileWriter(reportPathAPI,true));\n\t\t\t\tStringBuffer tempHTML = new StringBuffer();\n\t\t\t\ttempHTML.append(\"<html>\\n\");\n\t\t\t\ttempHTML.append(\"<head>\\n\");\n\t\t\t\ttempHTML.append(\"<title>\" + \"DIGAN Report \" + \"</title>\\n\");\n\t\t\t\ttempHTML.append(\"</head>\\n\");\n\t\t\t\ttempHTML.append(\"<style>\\n\");\n\t\t\t\ttempHTML.append(\"table {width: 80%; border-collapse: collapse;}\\n\");\n\t\t\t\ttempHTML.append(\"th {height: 25px; border: 1px solid black; background-color: #B0171F; color: white;}\\n\");\n\t\t\t\ttempHTML.append(\"tr:hover {background-color: #f5f5f5}\\n\");\n\t\t\t\ttempHTML.append(\"td {text-align: center; height: 25px; border: 1px solid #ddd; padding: 7px;}\\n\");\n\t\t\t\ttempHTML.append(\"</style>\\n\");\n\t\t\t\ttempHTML.append(\"<body bgcolor='#FFFFFF'>\\n\");\n\t\t\t\ttempHTML.append(\"<h2 align=\\\"center\\\"><u>DIGAN Report</u></h2>\\n\");\n\t\t\t\ttempHTML.append(\"<br><table align=\\\"center\\\">\\n\");\n\t\t\t\tif(methodName!=null && methodName.equals(\"validateReportBySegment\"))\n\t\t\t\t\ttempHTML.append(Driver.globalValues.get(\"headerValue\")+\"\\n\");\n\t\t\t\telse\n\t\t\t\t\ttempHTML.append(\"<tr><th>Serial #</th><th>Reports</th><th>Selected Records</th><th>Total Pass</th><th>Total Fail</th><th>Duration</th><th>Status</th></tr>\\n\");\n\t\t\t\t\n\t\t\t\tBufferedReader br = null;\n\t\t\t\tList<String> reportNames = GetAllResultLogFiles(\".digan\");\n\t\t\t\tint counter = 0;\n\t\t\t\tfor(int x=0; x < reportNames.size(); x++){\n\t\t\t\t\tFile folder = new File(Driver.Init.GetResultPath() + Driver.Gprops.GetRunID() + \"/\" + reportNames.get(x));\n\t\t\t\t\tbr = new BufferedReader(new FileReader(folder));\n\t\t\t\t\tString line = \"\";\n\t\t\t\t\twhile ((line = br.readLine()) != null) {\n\t\t\t\t\t\ttempHTML.append(\"<tr><td align=\\\"center\\\">\" + ++counter + \"</td>\");\n\t\t\t\t\t\ttempHTML.append(line);\n\t\t\t\t\t\ttempHTML.append(\"</tr>\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(br!=null)\n\t\t\t\t\tbr.close();\n\t\t\t\tif(rbw!=null) {\n\t\t\t\t\ttempHTML.append(\"</table>\\n</body>\\n</html>\");\n\t\t\t\t\trbw.write(tempHTML.toString());\n\t\t\t\t\trbw.close();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tStringBuffer tempHTMLAPI = new StringBuffer();\n\t\t\t\ttempHTMLAPI.append(\"<html>\\n\");\n\t\t\t\ttempHTMLAPI.append(\"<head>\\n\");\n\t\t\t\ttempHTMLAPI.append(\"<title>\" + \"DIGAN Report \" + \"</title>\\n\");\n\t\t\t\ttempHTMLAPI.append(\"</head>\\n\");\n\t\t\t\ttempHTMLAPI.append(\"<style>\\n\");\n\t\t\t\ttempHTMLAPI.append(\"table {width: 80%; border-collapse: collapse;}\\n\");\n\t\t\t\ttempHTMLAPI.append(\"th {height: 25px; border: 1px solid black; background-color: #B0171F; color: white;}\\n\");\n\t\t\t\ttempHTMLAPI.append(\"tr:hover {background-color: #f5f5f5}\\n\");\n\t\t\t\ttempHTMLAPI.append(\"td {text-align: center; height: 25px; border: 1px solid #ddd; padding: 7px;}\\n\");\n\t\t\t\ttempHTMLAPI.append(\"</style>\\n\");\n\t\t\t\ttempHTMLAPI.append(\"<body bgcolor='#FFFFFF'>\\n\");\n\t\t\t\ttempHTMLAPI.append(\"<h2 align=\\\"center\\\"><u>DIGAN Report</u></h2>\\n\");\n\t\t\t\ttempHTMLAPI.append(\"<br><table align=\\\"center\\\">\\n\");\n\t\t\t\tif(methodName!=null && methodName.equals(\"validateReportBySegment\"))\n\t\t\t\t\ttempHTMLAPI.append(Driver.globalValues.get(\"headerValue\")+\"\\n\");\n\t\t\t\telse\n\t\t\t\t\ttempHTMLAPI.append(\"<tr><th>Serial #</th><th>Reports</th><th>Selected Records</th><th>Total Pass</th><th>Total Fail</th><th>Duration</th><th>Status</th></tr>\\n\");\n\t\t\t\t\n\t\t\t\tBufferedReader brAPI = null;\n\t\t\t\tList<String> reportNamesAPI = GetAllResultLogFiles(\".diganapi\");\n\t\t\t\tcounter = 0;\n\t\t\t\tfor(int x=0; x < reportNamesAPI.size(); x++){\n\t\t\t\t\tFile folder = new File(Driver.Init.GetResultPath() + Driver.Gprops.GetRunID() + \"/\" + reportNamesAPI.get(x));\n\t\t\t\t\tbrAPI = new BufferedReader(new FileReader(folder));\n\t\t\t\t\tString line = \"\";\n\t\t\t\t\twhile ((line = brAPI.readLine()) != null) {\n\t\t\t\t\t\ttempHTMLAPI.append(\"<tr><td align=\\\"center\\\">\" + ++counter + \"</td>\");\n\t\t\t\t\t\ttempHTMLAPI.append(line);\n\t\t\t\t\t\ttempHTMLAPI.append(\"</tr>\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(brAPI!=null)\n\t\t\t\t\tbrAPI.close();\n\t\t\t\tif(rbwAPI!=null) {\n\t\t\t\t\ttempHTML.append(\"</table>\\n</body>\\n</html>\");\n\t\t\t\t\trbwAPI.write(tempHTMLAPI.toString());\n\t\t\t\t\trbwAPI.close();\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t\tSystem.out.println(\"Exception @ ComposeProcessedLog \" + e.getMessage());\n\t\t\te.printStackTrace();\n\t\t}\n }", "title": "" }, { "docid": "92532bb5baab946fc82e51f383e0415d", "score": "0.48315284", "text": "public void screenshotSetUp()\n\t{\n\t\tresultFilePath=\"Screenshots\";\n\t\ttry\n\t\t {\n\t\t\t if (!new File(resultFilePath).exists()) \n\t\t\t {\n\t\t\t\t new File(resultFilePath).mkdirs();\n\t\t\t }\t \n\t\t }\n\t catch (Exception e)\n\t {\n\t System.out.println(e.getMessage());\n\t } \n \n\t}", "title": "" }, { "docid": "cef396e6d0ca7d35aa7de0e269145925", "score": "0.48308006", "text": "public void setSourceReportScene() {\n setScene(sourceReportScene, \"Cleanwater - Submit Source Report\");\n }", "title": "" }, { "docid": "081e350801d7888f62b91ab267808585", "score": "0.48298296", "text": "@Override\n protected void generateReports() {\n }", "title": "" }, { "docid": "edd8c140cd8e3150bdb6bdb48a587999", "score": "0.48269674", "text": "public void generateHardCopy()\n{\n\n if(filenameOfLastReportGenerated.isEmpty()){ return; }\n\n executePrintAtCommandPrompt(filenameOfLastReportGenerated);\n\n}", "title": "" }, { "docid": "23690b0c0f279bff7fba688dd682ff4d", "score": "0.4812754", "text": "public void execute() {\n\t\tgetLog().info(\"***********正在开始生成!************\");\r\n\t\t\r\n\t\t\r\n\t\ttry {\r\n\t\t\tList<String> ids = getIds();\r\n\t\t\tupdatePjavaFile(ids);\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\t\r\n\t}", "title": "" }, { "docid": "ed4451fb62b6008ab7ae8c4c2f592e42", "score": "0.48033974", "text": "@Override\n\tpublic void mergeFiles(IExecutionCase exCase) {\n\n\t}", "title": "" }, { "docid": "f78598c4f0b548034056f33f4d72e19d", "score": "0.47839567", "text": "protected abstract File getGeneratedSourcesDirectory();", "title": "" }, { "docid": "c31475a2125dd9a71ccb7c41dcaa7f74", "score": "0.478232", "text": "public void crunchNow() {\n }", "title": "" }, { "docid": "18c01de5aabef6f237ede5c7f84db83e", "score": "0.47777364", "text": "@Override\n public void execute() throws MojoExecutionException {\n try {\n getLog().info(\"Ontology sources are in ‘\" + this.ontologySrc + \"’\");\n getLog().info(\"Writing artifacts from those sources to ‘\" + this.target + \"’\");\n File d = new File(this.target);\n d.mkdirs();\n Map<String, String> envvars = new HashMap<>();\n envvars.put(\"PARENT_DIR\", this.ontologySrc);\n envvars.put(\"SCRIPT_DIR\", \"foo\");\n envvars.put(\"LIB_DIR\", \"foo\");\n envvars.put(\"JAVA_HOME\", System.getProperty(\"java.home\"));\n this.setEnv(envvars);\n DMDocument.outputDirPath = d.toString() + \"/\";\n this.generateArtifacts();\n } catch (RuntimeException ex) {\n throw ex;\n } catch (Throwable ex) {\n throw new MojoExecutionException(\" error\", ex);\n }\n }", "title": "" }, { "docid": "850c65b79420f8a84ff918348963f026", "score": "0.47691566", "text": "private void compile() {\r\n if (!saveTab(false, currentTab)) {\r\n return;\r\n }\r\n final TabData data = tabdata.get(currentTab);\r\n if (!data.compiling) {\r\n data.compiling = true;\r\n Thread compile = new Thread(\"Compile\") {\r\n \r\n private void pumpErrStream(Process proc) throws IOException {\r\n InputStream in = proc.getErrorStream();\r\n StringBuilder resBuf = new StringBuilder();\r\n byte[] buffer = new byte[5000];\r\n int len;\r\n while ((len = in.read(buffer)) != -1) {\r\n resBuf.append(new String(buffer, 0, len));\r\n }\r\n String result = resBuf.toString().replaceAll(\"\\\\Q\" + dir.getAbsolutePath().replaceAll(\"\\\\\\\\\", \"\\\\\\\\\") + \"\\\\E\", \"\");\r\n out.print(result);\r\n }\r\n \r\n private String getLibs(Process proc) throws IOException {\r\n InputStream in = proc.getErrorStream();\r\n StringBuilder resBuf = new StringBuilder();\r\n byte[] buffer = new byte[5000];\r\n int len;\r\n while ((len = in.read(buffer)) != -1) {\r\n resBuf.append(new String(buffer, 0, len));\r\n }\r\n Set<String> set = new TreeSet<String>();\r\n set.add(\"libcbas\");\r\n Matcher m = Pattern.compile(\"links ([^\\n]+)\").matcher(resBuf);\r\n while (m.find()) {\r\n set.add(m.group(1));\r\n }\r\n StringBuilder libs = new StringBuilder();\r\n for (String str : set)\r\n libs.append(\" -l\").append(str.trim());\r\n System.out.println(libs);\r\n return libs.toString();\r\n }\r\n \r\n public void run() {\r\n try {\r\n File script_source = new File(lib, \"Script.cc\");\r\n if (!script_source.exists()) {\r\n out.println(\"Error: Lib/Script.cc not found!\");\r\n return;\r\n }\r\n File script_object = new File(lib, \"Script.o\");\r\n if (!script_object.exists() || script_source.lastModified() > script_object.lastModified()) {\r\n out.println(\"Recompiling Script.cc\");\r\n Process build = Runtime.getRuntime().exec(comp.getAbsolutePath() + \" -I\\\"\" + inc.getAbsolutePath() + \"\\\" -O3 -s -c \\\"\" + script_source.getAbsolutePath() + \"\\\" -o \\\"\" + script_object.getAbsolutePath() + \"\\\"\");\r\n int error = build.waitFor();\r\n if (error == 0) {\r\n out.println(\"Successfully Recompiled\");\r\n } else {\r\n out.println(\"Recompile Failed! Exit Value: \" + error);\r\n pumpErrStream(build);\r\n return;\r\n }\r\n }\r\n if (data.dll != null) {\r\n implReleaseLib(data.dll.getAbsolutePath());\r\n }\r\n data.dll = null;\r\n out.println(\"Compiling \" + data.name);\r\n File object = new File(obj, data.name + \".o\");\r\n Process build = Runtime.getRuntime().exec(comp.getAbsolutePath() + \" -I\\\"\" + inc.getAbsolutePath() + \"\\\" -O3 -s -c \\\"\" + data.file.getAbsolutePath() + \"\\\" -o \\\"\" + object.getAbsolutePath() + \"\\\"\");\r\n int build_res = build.waitFor();\r\n String libs = \"\";\r\n if (build_res == 0) {\r\n out.println(\"Successfully Compiled\");\r\n libs = getLibs(build);\r\n } else {\r\n out.println(\"Compile Failed! Exit Value: \" + build_res);\r\n pumpErrStream(build);\r\n return;\r\n }\r\n out.println(\"Linking \" + data.name);\r\n File dll = new File(bin, data.name + \".dll\");\r\n Process link = Runtime.getRuntime().exec(comp.getAbsolutePath() + \" -shared -o \\\"\" + dll.getAbsolutePath() + \"\\\" -s \\\"\" + object.getAbsolutePath() + \"\\\" \\\"\" + script_object.getAbsolutePath() + \"\\\" -L\\\"\" + lib.getAbsolutePath() + \"\\\"\" + libs);\r\n System.out.println(link);\r\n int link_res = 1;//link.waitFor();\r\n if (link_res == 0) {\r\n out.println(\"Successfully Linked\");\r\n } else {\r\n out.println(\"Link Failed! Exit Value: \" + link_res);\r\n pumpErrStream(link);\r\n return;\r\n }\r\n data.dll = dll;\r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n } finally {\r\n data.compiling = false;\r\n }\r\n }\r\n };\r\n compile.start();\r\n } else {\r\n out.println(data.name + \" is already compiling!\");\r\n }\r\n }", "title": "" }, { "docid": "223a5255e5d47044fc059078dc46a9ab", "score": "0.47685146", "text": "void compileWithReporter(File[] sources, File[] classpath, Output output, String[] options, Reporter reporter, Logger log);", "title": "" }, { "docid": "9926ec5915830f925d7a2224d3b3a544", "score": "0.4767846", "text": "public static void exportAll() throws Exception {\n if (!build.cleanup()) {\n return;\n }\n List<Project> projectList = getProjectList(getPaths(directory));\n build.buildProject(projectList);\n for (Project project : projectList) {\n try {\n System.out.println(project.toString());\n build.buildRepoGraph(project);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n }", "title": "" }, { "docid": "02065863d1c5cea2ce926c61a167872e", "score": "0.47649905", "text": "public void testTestCompile() throws Exception {\n final File testDir = ResourceExtractor.simpleExtractResources( getClass(), \"/org/phpmaven/test/projects/source-copy\");\n \n final Verifier verifier = new Verifier( testDir.getAbsolutePath() );\n \n // delete the pom from previous runs\n verifier.deleteArtifact( \"org.phpmaven.test\", \"source-copy\", \"0.0.1\", \"pom\" );\n verifier.deleteArtifact( \"org.phpmaven.test\", \"source-copy\", \"0.0.1\", \"phar\" );\n verifier.setAutoclean(true);\n\n verifier.executeGoal(\"test-compile\");\n verifier.verifyErrorFreeLog();\n verifier.resetStreams();\n \n verifier.assertFilePresent(\"target/test-classes/FooTest.php\");\n }", "title": "" }, { "docid": "9ab105cbda89f9a0bd1a09d474718be3", "score": "0.47618887", "text": "@Override\n\tpublic byte[] createFileXlsx(ReportExcel report) throws Exception {\n\t\tthis.mergeCalcoloCells = null;\n\t\tbyte[] byteExcel = null;\n\t\tXSSFWorkbook workbook = null;\n\t\ttry {\n\t\t\tByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();\n\t\t\tboolean isCover = true;\n\t\t\tif (StringUtils.isNotBlank(this.pathCoverXlsx) && !report.isIgnoreCover()) {\n\t\t\t\tInputStream inputstream = new FileInputStream(this.pathCoverXlsx);\n\t\t\t\tworkbook = new XSSFWorkbook(inputstream);\n\t\t\t} else if (StringUtils.isNotBlank(this.resourcePathCoverXlsx) && !report.isIgnoreCover()) {\n\t\t\t\tInputStream inputstream = getClass().getResourceAsStream(this.resourcePathCoverXlsx);\n\t\t\t\tworkbook = new XSSFWorkbook(inputstream);\n\t\t\t} else {\n\t\t\t\tworkbook = new XSSFWorkbook();\n\t\t\t\tisCover = false;\n\t\t\t}\n\n\t\t\tthis.setCoverParameters(report, byteArrayOutputStream, workbook, isCover);\n\t\t\tbyteExcel = byteArrayOutputStream.toByteArray();\n\t\t} catch (Exception e) {\n\t\t\tthrow e;\n\t\t} finally {\n\t\t\tif (workbook != null)\n\t\t\t\tworkbook.close();\n\t\t}\n\t\treturn byteExcel;\n\t}", "title": "" }, { "docid": "50c54773189377fe09484c20c13dde95", "score": "0.47570017", "text": "public void ScreenShot(ITestResult result) {\n \n try {\n \n String NewFileNamePath;\n String methodName = result.getName();\n \n //Get current date time with Date() to create unique file name\n SimpleDateFormat dateFormat = new SimpleDateFormat(\n \"ddMMMyy__hhmmaa\");\n // get current date time with Date()\n Date date = new Date();\n String rprtPrgm = BaseClass.program;\n String rprtEnv = BaseClass.env;\n \n if (!(new File(BaseClass.directory.getCanonicalPath() + File.separator + \"reports\" + File.separator + rprtPrgm + \"_\" + rprtEnv + \"_\" + BaseClass.brwsr + File.separator + \"screenshots\")).exists()) {\n new File(BaseClass.directory.getCanonicalPath() + File.separator + \"reports\" + File.separator + rprtPrgm + \"_\" + rprtEnv + \"_\" + BaseClass.brwsr + File.separator + \"screenshots\").mkdir();\n }\n \n NewFileNamePath = BaseClass.directory.getCanonicalPath() + File.separator + \"reports\" + File.separator + rprtPrgm + \"_\" + rprtEnv + \"_\" + BaseClass.brwsr + File.separator + \"screenshots\"\n + File.separator + methodName + \"_\" + dateFormat.format(date) + \".png\";\n \n System.out.println(NewFileNamePath);\n \n File screenshot = ((TakesScreenshot) BaseClass.driver).\n getScreenshotAs(OutputType.FILE);\n FileUtils.copyFile(screenshot, new File(NewFileNamePath));\n Reporter.log(methodName + \" failed; Click on image to enlarge<br/>\"\n + \"<a target=\\\"_blank\\\" href=\\\"\" + NewFileNamePath + \"\\\"><img src=\\\"file:///\" + NewFileNamePath\n + \"\\\" alt=\\\"\\\"\" + \"height='100' width='100'/></a><br />\");\n Reporter.setCurrentTestResult(null);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "f467b7f9e29f819b3d3e9d2b4039cbb6", "score": "0.47565868", "text": "protected String getCompileFileName()\r\n/* 89: */ {\r\n/* 90:129 */ return \"anexoICE\";\r\n/* 91: */ }", "title": "" }, { "docid": "c13f8926608db767431beb2c923d48c9", "score": "0.475354", "text": "private void updateGlobalVariables()\n {\n if(this.codemonReference != null)\n {\n this.sourceDirectory = null;\n this.codemonDirectory = null;\n\n this.sourceDirectory = this.codemonReference.sourceDirectory;\n this.codemonDirectory = this.codemonReference.codemonDirectory;\n this.sourceDirectoryString = this.codemonReference.sourceDirectoryString;\n this.codemonDirectoryString = this.codemonReference.codemonDirectoryString;\n }\n }", "title": "" }, { "docid": "f3f97439dce28554891e44ee06e9c9c1", "score": "0.47502652", "text": "public void packageSourse() throws IOException, InterruptedException {\n\t\tSystem.out.println(\"开始生成hwt------\");\n\t\tString winrarPath = \"C:/Program Files/WinRAR/WinRAR.exe\";\n\t\tFile winrarFile = new File(winrarPath);\n\t\tif(winrarFile.exists()){\n\t\t\tSystem.out.println(\"已经找到WinRAR.exe, 开始打包------\");\n\t\t\tFile contactsFile = new File(herePath + \"/com.android.contacts(1)\");\n\t\t\tFile incalluiFile = new File(herePath + \"/com.android.incallui(1)\");\n\t\t\tFile mmsFile = new File(herePath + \"/com.android.mms(1)\");\n\t\t\tFile phoneFile = new File(herePath + \"/com.android.phone(1)\");\n\t\t\tFile recorderFile = new File(herePath + \"/com.android.phone.recorder(1)\");\n\t\t\tFile telecomFile = new File(herePath + \"/com.android.server.telecom(1)\");\n\t\t\tFile systemuiFile = new File(herePath + \"/com.android.systemui(1)\");\n\t\t\tFile launcherFile = new File(herePath + \"/com.huawei.android.launcher(1)\");\n\t\t\tFile iconsFile = new File(herePath + \"/icons(1)\");\n\t\t\tList<File> files = new ArrayList<File>();\n\t\t\tfiles.add(contactsFile);\n\t\t\tfiles.add(incalluiFile);\n\t\t\tfiles.add(mmsFile);\n\t\t\tfiles.add(phoneFile);\n\t\t\tfiles.add(recorderFile);\n\t\t\tfiles.add(telecomFile);\n\t\t\tfiles.add(systemuiFile);\n\t\t\tfiles.add(launcherFile);\n\t\t\tfiles.add(iconsFile);\n\t\t\tfor (File f:files){\n\t\t\t\tif(f.exists()){\n\t\t\t\t\tString packageName = f.getName().replace(\"(1)\", \"\");\n\t\t\t\t\tStringBuffer fl = new StringBuffer();\n\t\t\t\t\tFile[] subFileList = f.listFiles();\n\t\t\t\t\tif(subFileList != null && subFileList.length > 0){\n\t\t\t\t\t\tfor (int i =0; i < subFileList.length; ++i){\n\t\t\t\t\t\t\tif(subFileList[i].getName().indexOf(\" \") >= 0){\n\t\t\t\t\t\t\t\tSystem.out.println(\"存在可能异常的文件,请检查文件名:\" + subFileList[i].getName());\n\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfl.append(\" \" + subFileList[i].getName());\n\t\t\t\t\t\t}\n\t\t\t\t\t\tFile indexFile = new File(f.getName());\n\t\t\t\t\t\tSystem.out.println(f.getName());\n\t\t\t\t\t\tSystem.out.println(\"正在打包\" + packageName);\n\t\t\t\t\t\tSystem.out.println(winrarPath + \" a \" + packageName + \".zip\" + fl.toString());\n\t\t\t\t\t\tProcess process = Runtime.getRuntime().exec(winrarPath + \" a \" + packageName + \".zip\" + fl.toString(), null, indexFile);\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tprocess.waitFor();\n\t\t\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tFile eeefile = new File(indexFile.getAbsolutePath() + \"/\" + packageName + \".zip\");\n\t\t\t\t\t\tif(eeefile.renameTo(new File(herePath + \"/\" + eeefile.getName().replace(\".zip\", \"\")))){\n\t\t\t\t\t\t\tSystem.out.println(packageName + \" 打包成功\");\n\t\t\t\t\t\t\tString path = getHwtFile();\n\t\t\t\t\t\t\tString subPckageName = packageName;\n\t\t\t\t\t\t\tProcess process1 = null;\n\t\t\t\t\t\t\tif(path.endsWith(\".hwt\")){\n\t\t\t\t\t\t\t\tprocess1 = Runtime.getRuntime().exec(winrarPath + \" a \" + path + \".zip \" + subPckageName);\n\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\tSystem.out.println(\"运行winrar:\" + winrarPath + \" a \" + path + \" \" + subPckageName);\n\t\t\t\t\t\t\t\tprocess1 = Runtime.getRuntime().exec(winrarPath + \" a \" + path + \" \" + subPckageName);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tprocess1.waitFor();\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tSystem.out.println(packageName + \" 打包失败\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}\n\n\t\t}else{\n\t\t\tSystem.out.println(\"WinRAR.exe 找不到,请确认WinRAR路径是否正确\");\n\t\t}\n\t}", "title": "" }, { "docid": "db8305b278b6c4b0d0ceb9ead2ca5205", "score": "0.47408178", "text": "public void execute() throws BuildException {\r\n // make sure we don't have an illegal set of options\r\n validateAttributes();\r\n File source_file = null;\r\n\r\n try {\r\n ExceptionPrinter.register(new TextExceptionPrinter());\r\n PrettyPrintFile ppf = new PrettyPrintFile();\r\n\t\t\t\tFixCRLF fixcrlf_task = (FixCRLF)project.createTask(\"fixcrlf\");\r\n\r\n configureFixCrlfTask( fixcrlf_task );\r\n\r\n ppf.setAsk(false);\r\n\r\n for (int i = 0; i < filesets.size(); i++) {\r\n FileSet fs = (FileSet) filesets.elementAt(i);\r\n DirectoryScanner ds = fs.getDirectoryScanner(project);\r\n File from_dir = fs.getDir(project);\r\n String[] src_files = ds.getIncludedFiles();\r\n\r\n for (int j = 0; j < src_files.length; j++) {\r\n source_file = new File( from_dir, src_files[j] );\r\n\r\n if ( shouldBeautify( source_file, from_dir ) ) {\r\n System.out.println(\"formatting:\" + source_file);\r\n ppf.setParserFactory(new FileParserFactory(source_file));\r\n\r\n // reformat\r\n ppf.apply(source_file);\r\n\r\n fixcrlf_task.setSrcdir(from_dir);\r\n fixcrlf_task.setIncludesfile(source_file);\r\n fixcrlf_task.execute();\r\n }\r\n }\r\n }\r\n }\r\n catch (Exception ex) {\r\n ex.printStackTrace();\r\n\r\n throw new BuildException(\"Cannot javastyle file=\"+source_file, location);\r\n }\r\n }", "title": "" }, { "docid": "e8942bf0591c77875d92603787af7c5e", "score": "0.47407877", "text": "public void compileComplete(final File compiledFile)\n {\n if (compiledFile != null)\n {\n try\n {\n System.out.println(\"Creating report...\");\n\n JasperReport jasperReport = (JasperReport)JRLoader.loadObject(compiledFile.getAbsoluteFile());\n if (jasperReport != null)\n {\n System.out.println(\"Loaded report...\");\n \n Map<Object, Object> parameters = new HashMap<Object, Object>();\n \n parameters.put(\"RPT_IMAGE_DIR\", JasperReportsCache.getImagePath().getAbsolutePath());\n parameters.put(\"SUBREPORT_DIR\", cachePath.getAbsoluteFile() + File.separator);\n parameters.put(\"DATASOURCE\", dataSource);\n \n if (recordSet != null)\n {\n parameters.put(\"itemnum\", DBTableIdMgr.getInstance().getInClause(recordSet));\n }\n \n // Add external parameters\n if (params != null)\n {\n for (Object key : params.keySet())\n {\n //System.out.println(\"key[\"+key+\"] Val[\"+params.get(key)+\"]\");\n parameters.put(key, params.get(key));\n }\n }\n \n // XXX What about losing a connection here?\n if (requiresHibernate)\n {\n session = HibernateUtil.getNewSession();\n parameters.put(JRHibernateQueryExecuterFactory.PARAMETER_HIBERNATE_SESSION, session);\n }\n\n if (isAsynchronous)\n {\n System.out.println(\"Filling report asynchronously...\");\n \n //progressLabel.setText(getResourceString(\"JasperReportFilling\"));\n if (recordSet != null)\n {\n asyncFillHandler = AsynchronousFillHandle.createHandle(jasperReport, parameters, DBConnection.getInstance().getConnection());\n } else\n {\n asyncFillHandler = AsynchronousFillHandle.createHandle(jasperReport, parameters, dataSource);\n }\n asyncFillHandler.addListener(this);\n asyncFillHandler.startFill();\n \n } else\n {\n System.out.println(\"Filling report synchronously...\");\n JasperPrint jasperPrint;\n if (recordSet != null)\n {\n jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, DBConnection.getInstance().getConnection());\n } else\n {\n jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, dataSource);\n }\n \n if (jasperPrint != null)\n {\n listener.complete(jasperPrint);\n } else\n {\n listener.completedWithError();\n }\n }\n \n } else\n {\n log.error(\"jasperReport came back null [\"+compiledFile.getAbsolutePath()+\"]\");\n //progressBar.setIndeterminate(false);\n //setLabelText(getResourceString(\"JasperReportReadingCachedReport\"));\n }\n\n } catch (JRException ex)\n {\n edu.ku.brc.af.core.UsageTracker.incrHandledUsageCount();\n edu.ku.brc.exceptions.ExceptionTracker.getInstance().capture(JasperReportHelper.class, ex);\n //setLabelText(getResourceString(\"JasperReportCreatingViewer\"));\n log.error(ex);\n ex.printStackTrace();\n }\n } else\n {\n //setLabelText(getResourceString(\"JasperReportCompileError\"));\n }\n compiler = null;\n }", "title": "" }, { "docid": "df4570223036910a102f98dab713c666", "score": "0.47327748", "text": "private void writeUpdateToDisk(WorkflowJob workflowJob, int buildNumber) throws IOException {\n WorkflowRun workflowRun = workflowJob.getBuildByNumber(buildNumber);\n if (workflowRun == null) {\n LOG.log(Level.SEVERE,\n \"build not found: {0}, pipeline config update is not written to disk.\", buildNumber);\n return;\n }\n File buildRootDir = workflowJob.getBuildByNumber(buildNumber).getRootDir();\n File timestampedRootDir = createNextTimestampedHistoryDir(workflowJob);\n\n //save build.xml\n XmlFile buildDotXml = PluginUtils.getBuildXml(buildRootDir);\n if (buildDotXml.exists()) {\n copySingleFileToDestination(buildDotXml.getFile(), timestampedRootDir);\n }\n\n //save libs folder (pipeline script libraries formerly pulled from scm)\n File buildLibDir = PluginUtils.getLibDir(buildRootDir);\n if (buildLibDir.exists()) {\n copyRecursively(buildLibDir, new File(timestampedRootDir, \"libs\"));\n }\n\n //get root script name\n FlowDefinition flowDefinition = workflowJob.getDefinition();\n String rootScriptName = (flowDefinition instanceof CpsScmFlowDefinition)\n ? ((CpsScmFlowDefinition) flowDefinition).getScriptPath()\n : \"Jenkinsfile\";\n\n //save history xml\n savePipelineHistoryDescriptionToXmlFile(\n new PipelineHistoryDescription(\n timestampedRootDir.getName(),\n workflowJob.getFullName(),\n rootScriptName,\n buildNumber\n ),\n getHistoryXmlFile(timestampedRootDir)\n );\n }", "title": "" }, { "docid": "3297371dcc8912a2d659045fa547f06c", "score": "0.47323847", "text": "public void endReport() {\n\n\t\tExtendReport_Instance.flush();\n\n\t\ttry {\n\n\t\t\tFile gb_objDirecotry = new File(\".\");\n\t\t\tString Project_path = gb_objDirecotry.getCanonicalPath();\n\t\t\tFileWriter writer = new FileWriter(Project_path + \"/Result_path.txt\");\n\t\t\twriter.write(\"\");\n\t\t\tString path = Report_Suite_HTMLs_Path.toString();\n\t\t\tString path2;\n\t\t\tpath2 = path.substring(62);\n\t\t\tSystem.out.println(path2);\n\t\t\twriter.write(path2);\n\t\t\twriter.close();\n\n\t\t\tTemporaryFilesystem.getDefaultTmpFS().deleteTemporaryFiles();\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "e164df61f13c029b483381dd94749f36", "score": "0.47320044", "text": "private void generateReRunBatFile() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "title": "" }, { "docid": "3a10d75b5a26f084bcdf6015a8ea6994", "score": "0.47265035", "text": "public ReportGenerator(String filename, String classesDir, String sourceDir, String reportDir, String projectDir) {\n\n\t\tprojectDirectory = new File(projectDir);\n\t\tthis.title = projectDirectory.getName();\n\n\t\tpatt = \"**/R.class,**/R$*.class,**/BuildConfig.*,**/Manifest*.*,**/*Test*.*,android/**/*.*\";\n\t\tregexes = patt.split(\",\");\n\t\tthis.filename = filename;\n\t\tthis.classesDirectory = new File(projectDirectory, classesDir != null ? classesDir : \"/app/build/intermediates/classes\");\n\t\tthis.sourceDirectory = new File(projectDirectory, sourceDir != null ? sourceDir : \"/app/src/main/java\");\n\t\tthis.reportDirectory = new File(projectDirectory, reportDir != null ? reportDir : \"../coveragereport\");\n\t}", "title": "" }, { "docid": "cab837af96723f71e7b70352aae7f8f6", "score": "0.4717286", "text": "public static void zipReport (File srcDir , File destDir){\n\t\tZipUtil.pack(srcDir , destDir);\n System.out.println(\"File zipped ...\");\n \n //Unzip Files\n File outputDir = new File(System.getProperty(\"user.dir\")+\"\\\\outfiles\");\n if(!(outputDir.exists())){\n \toutputDir.mkdir();\n }\n ZipUtil.unpack(destDir, outputDir);\n\t\n\t}", "title": "" }, { "docid": "e3172448f856aaaf7031bbb5201d738c", "score": "0.4716121", "text": "public void CreateReport() {\n\t\t\n\t}", "title": "" }, { "docid": "39301e790658549a5899c2e52ea6694b", "score": "0.47121227", "text": "@Override\n public String getOutputDir() {\n return outputDir;\n }", "title": "" }, { "docid": "2172d21ea22c6efefd490611a0ffabb1", "score": "0.4711445", "text": "public void monitorFolder(String outFolderName) {\n\t\t//Where to put pretty reports\n\t\tString res = new File(\"\").getAbsolutePath();\n\t\n\t\tString [] aaa = new String[4];\n\t\taaa[0] = \"-f\";\n\t\taaa[1] = res + File.separatorChar + \"target\" ;\n\t\taaa[2] = \"-o\";\n\t\tString outFile = res + File.separatorChar + \"target\" + File.separatorChar + outFolderName + new Date().toString().replace(\":\", \"\").substring(0,16).replace(\" \", \"\");\n\t\t\n\t\t//Create folder\n\t\tFile f = new File(outFile);\n\t\tf.mkdirs();\n\t\taaa[3] = outFile;\n\t\ttry {\n\t\t\tCucumberReportMonitor.main(aaa);\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}", "title": "" }, { "docid": "22237219aeca922bba4d0a92c37faf79", "score": "0.4711047", "text": "private static File prepareProject() throws IOException {\n File result = new File(AllTests.TESTDATA_DIR_COPY, \"natures\");\n result.mkdirs();\n Utils.copyFile(ORIGINAL_FILE, getProjectFile(result));\n return result;\n }", "title": "" }, { "docid": "58f8fca42ab2936c5722965d1693b35e", "score": "0.4709449", "text": "void processBinary(IBinary binary) throws IOException, CoreException {\n\n ICElement parent = binary.getParent();\n IResource buildTarget = parent.getResource();\n System.err.println(\"Processing target = \" + buildTarget.getName());\n\n Path folderPath = Paths.get(buildTarget.getLocationURI().getPath());\n // Process files\n ArrayList<Graph> callGraph = new ArrayList<Graph>();\n try {\n processFiles(folderPath, callGraph);\n } catch (Exception e) {\n e.printStackTrace();\n }\n \n final String callGraphFilename = \"call-graph.html\";\n Path outputPath = folderPath.resolve(callGraphFilename);\n HtmlWriter writer = new HtmlWriter(outputPath, folderPath.getFileName().toString());\n writer.openBody();\n writer.openSection();\n writer.writeHeading(\"Folder:\" + folderPath.getFileName().toString(), 1);\n \n // Collect nodes from graph for lookup (using node.title)\n HashMap<String, Node> nodes = new HashMap<String, Node>();\n ArrayList<Edge> edges = new ArrayList<Edge>();\n callGraph.forEach(new Consumer<Graph>() {\n\n @Override\n public void accept(Graph graph) {\n graph.getNodes().forEach(new Consumer<Node>() {\n @Override\n public void accept(Node node) {\n// if (node.getTitle().contains(\"console_initialise\")) {\n// System.err.println(\"Found \"+node.getTitle());\n// }\n Node previousNode = nodes.get(node.getTitle());\n if (previousNode != null) {\n System.err.println(\"Found previous node P:\" + previousNode.toString());\n System.err.println(\"Found previous node N:\" + node.toString());\n if (node.getStackSizeType() == StackSizeType.Unknown) {\n // Discard if not adding stack information\n return;\n }\n }\n nodes.put(node.getTitle(), node);\n //System.out.print(String.format(\"%4d: \", ++nodeCount)+node.toString());\n }\n });\n graph.getEdges().forEach(new Consumer<Edge>() {\n @Override\n public void accept(Edge edge) {\n edges.add(edge);\n }\n });\n }\n });\n\n// edges.sort(new Comparator<Edge>() {\n// @Override\n// public int compare(Edge e1, Edge e2) {\n// return e1.getSource().compareTo(e2.getSource());\n// }\n// });\n\n// writer.writeHeading(\"Function calls\", 2);\n// for (Edge edge:edges) {\n// writer.write(edge.toHtml());\n// }\n// \n // Attach target nodes to nodes from edge information\n callGraph.forEach(new Consumer<Graph>() {\n // Integer edgeCount=0;\n\n @Override\n public void accept(Graph graph) {\n graph.getEdges().forEach(new Consumer<Edge>() {\n @Override\n public void accept(Edge edge) {\n Node sourceNode = nodes.get(edge.getSource());\n if (sourceNode == null) {\n System.err.println(\"Failed to locate source node \"+edge.getSource());\n return;\n }\n Node targetNode = nodes.get(edge.getTarget());\n if (targetNode == null) {\n System.err.println(\"Failed to locate target node \"+edge.getTarget());\n return;\n }\n sourceNode.targetNodes.add(targetNode);\n // System.out.println(String.format(\"%4d: %s ==> %s\", ++edgeCount, edge.source, edge.target));\n }\n });\n }\n });\n\n Node[] sortedNodes = nodes.values().toArray(new Node[0]);\n\n// Arrays.sort(sortedNodes, new Comparator<Node>() {\n// @Override\n// public int compare(Node o1, Node o2) {\n// return o1.getLabel().compareToIgnoreCase(o2.getLabel());\n// }\n// });\n// writer.writeHeading(\"Functions\", 2);\n// for (Node node:sortedNodes) {\n// writer.write(String.format(\"%s\", node.toHtml()));\n// }\n//\n writer.writeHeading(\"Function Stack depth - by cost\", 2);\n Arrays.sort(sortedNodes, new Comparator<Node>() {\n @Override\n public int compare(Node o1, Node o2) {\n return Integer.compare(o2.getStackSize(), o1.getStackSize());\n }\n });\n\n for (Node node:sortedNodes) {\n if (node.isReported()) {\n continue;\n }\n node.writeMostExpensiveCallPathHtml(writer);\n }\n\n// writer.writeHeading(\"Function Stack depth - alphabetic\", 2);\n// writer.newline();\n//\n// Arrays.sort(sortedNodes, new Comparator<Node>() {\n// @Override\n// public int compare(Node o1, Node o2) {\n// return o1.getLabel().compareToIgnoreCase(o2.getLabel());\n// }\n// });\n//\n// // int worseStack = 0;\n// // Node worseNode = null;\n//\n// for (Node node:sortedNodes) {\n// int cost = node.getStackSize();\n// // if (cost>worseStack) {\n// // worseNode = node;\n// // worseStack = cost;\n// // }\n// writer.write(String.format(\"%5d = %s\", cost, node.getMostExpensiveCallPath()));\n// writer.newline();\n// }\n writer.closeSection();\n writer.closeBody();\n writer.close();\n \n // Refresh workspace so file is visible\n buildTarget.refreshLocal(1, null);\n \n // Open resulting file in editor\n IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();\n IPath path = buildTarget.getFullPath().append(callGraphFilename);\n IDE.openEditor(page, ResourcesPlugin.getWorkspace().getRoot().getFile(path));\n }", "title": "" }, { "docid": "6ba5ac229773749baae821a0c5d768a1", "score": "0.47051135", "text": "public void execute() throws MojoExecutionException, MojoFailureException {\n \t\tpreProcess();\n \t\tFile targetDirectory = getTargetDirectory();\n \t\tFile sourceDirectory = getSourceDirectory();\n \t\tif (!sourceDirectory.exists()) {\n \t\t\treturn; // No sources, so there is nothing to render.\n \t\t}\n \t\tif (!targetDirectory.exists()) {\n \t\t\torg.codehaus.plexus.util.FileUtils.mkdir(targetDirectory\n \t\t\t\t\t.getAbsolutePath());\n \t\t}\n \t\tDirectoryScanner scanner = new DirectoryScanner();\n \t\tscanner.setBasedir(sourceDirectory);\n \t\tscanner.setIncludes(getIncludes());\n \t\tscanner.scan();\n \t\tString[] included = scanner.getIncludedFiles();\n \t\tCatalogManager catalogManager = createCatalogManager();\n \t\tCatalogResolver catalogResolver = new CatalogResolver(catalogManager);\n \t\tURIResolver uriResolver = null;\n \t\ttry {\n \t\t\tURL url = getNonDefaultStylesheetURL() == null ? getDefaultStylesheetURL()\n \t\t\t\t\t: getNonDefaultStylesheetURL();\n \t\t\turiResolver = new StylesheetResolver(\"urn:docbkx:stylesheet\",\n \t\t\t\t\tnew StreamSource(url.openStream(), url.toExternalForm()),\n \t\t\t\t\tcatalogResolver);\n \t\t} catch (IOException ioe) {\n \t\t\tthrow new MojoExecutionException(\"Failed to read stylesheet.\", ioe);\n \t\t}\n \t\tTransformerBuilder builder = createTransformerBuilder(uriResolver);\n \t\tEntityResolver resolver = catalogResolver;\n \t\tInjectingEntityResolver injectingResolver = null;\n \t\tif (getEntities() != null) {\n \t\t\tinjectingResolver = new InjectingEntityResolver(getEntities(),\n \t\t\t\t\tresolver, getType(), getLog());\n \t\t\tresolver = injectingResolver;\n \t\t}\n \t\tSAXParserFactory factory = createParserFactory();\n \t\tfor (int i = included.length - 1; i >= 0; i--) {\n \t\t\ttry {\n \t\t\t\tif (injectingResolver != null) {\n \t\t\t\t\tinjectingResolver.forceInjection();\n \t\t\t\t}\n \t\t\t\tString filename = included[i];\n \t\t\t\tString targetFilename = filename.substring(0,\n \t\t\t\t\t\tfilename.length() - 4)\n \t\t\t\t\t\t+ \".\" + getTargetFileExtension();\n \t\t\t\tFile targetFile = new File(targetDirectory, targetFilename);\n \t\t\t\tFile sourceFile = new File(sourceDirectory, filename);\n \t\t\t\tif (!targetFile.exists()\n \t\t\t\t\t\t|| (targetFile.exists() && FileUtils.isFileNewer(\n \t\t\t\t\t\t\t\tsourceFile, targetFile))) {\n Result result = new StreamResult(targetFile.getAbsolutePath());\n \t\t\t\t\tXMLReader reader = factory.newSAXParser().getXMLReader();\n \t\t\t\t\treader.setEntityResolver(resolver);\n \t\t\t\t\tPreprocessingFilter filter = new PreprocessingFilter(reader);\n \t\t\t\t\tProcessingInstructionHandler resolvingHandler = new ExpressionHandler(\n \t\t\t\t\t\t\tnew VariableResolver() {\n \n \t\t\t\t\t\t\t\tprivate Map tree = ExpressionUtils\n \t\t\t\t\t\t\t\t\t\t.createTree(getMavenProject()\n \t\t\t\t\t\t\t\t\t\t\t\t.getProperties());\n \n \t\t\t\t\t\t\t\tpublic Object resolveVariable(String name)\n \t\t\t\t\t\t\t\t\t\tthrows ELException {\n \t\t\t\t\t\t\t\t\tif (\"date\".equals(name)) {\n \t\t\t\t\t\t\t\t\t\treturn DateFormat.getDateInstance(\n \t\t\t\t\t\t\t\t\t\t\t\tDateFormat.LONG).format(\n \t\t\t\t\t\t\t\t\t\t\t\tnew Date());\n \t\t\t\t\t\t\t\t\t} else if (\"project\".equals(name)) {\n \t\t\t\t\t\t\t\t\t\treturn getMavenProject();\n \t\t\t\t\t\t\t\t\t} else {\n \t\t\t\t\t\t\t\t\t\treturn tree.get(name);\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}, getLog());\n \t\t\t\t\tfilter.setHandlers(Arrays\n \t\t\t\t\t\t\t.asList(new Object[] { resolvingHandler }));\n \t\t\t\t\tfilter.setEntityResolver(resolver);\n \t\t\t\t\tgetLog().info(\"Processing \" + filename);\n \n \t\t\t\t\tSAXSource xmlSource = null;\n \t\t\t\t\t// if both properties are set, XOM is used for a better\n \t\t\t\t\t// XInclude support.\n \t\t\t\t\tif (getXIncludeSupported()\n \t\t\t\t\t\t\t&& getGeneratedSourceDirectory() != null) {\n getLog().debug(\"Advanced XInclude mode entered\");\n \t\t\t\t\t\tfinal Builder xomBuilder = new Builder();\n \t\t\t\t\t\ttry {\n \t\t\t\t\t\t\tfinal nu.xom.Document doc = xomBuilder\n \t\t\t\t\t\t\t\t\t.build(sourceFile);\n \t\t\t\t\t\t\tXIncluder.resolveInPlace(doc);\n \t\t\t\t\t\t\t// TODO also dump PIs computed and Entities included\n \t\t\t\t\t\t\tfinal File dump = dumpResolvedXML(filename, doc);\n \t\t\t\t\t\t\txmlSource = new SAXSource(filter, new InputSource(\n \t\t\t\t\t\t\t\t\tdump.getAbsolutePath()));\n \t\t\t\t\t\t} catch (ValidityException e) {\n \t\t\t\t\t\t\tthrow new MojoExecutionException(\n \t\t\t\t\t\t\t\t\t\"Failed to validate source\", e);\n \t\t\t\t\t\t} catch (ParsingException e) {\n \t\t\t\t\t\t\tthrow new MojoExecutionException(\n \t\t\t\t\t\t\t\t\t\"Failed to parse source\", e);\n \t\t\t\t\t\t} catch (IOException e) {\n \t\t\t\t\t\t\tthrow new MojoExecutionException(\n \t\t\t\t\t\t\t\t\t\"Failed to read source\", e);\n \t\t\t\t\t\t} catch (XIncludeException e) {\n \t\t\t\t\t\t\tthrow new MojoExecutionException(\n \t\t\t\t\t\t\t\t\t\"Failed to process XInclude\", e);\n \t\t\t\t\t\t}\n \t\t\t\t\t} else // else fallback on Xerces XInclude support.\n \t\t\t\t\t{\n getLog().debug(\"Xerces XInclude mode entered\");\n \t\t\t\t\t\tInputSource inputSource = new InputSource(sourceFile\n \t\t\t\t\t\t\t\t.getAbsolutePath());\n \t\t\t\t\t\txmlSource = new SAXSource(filter, inputSource);\n \t\t\t\t\t}\n \t\t\t\t\tTransformer transformer = builder.build();\n \t\t\t\t\tadjustTransformer(transformer,\n \t\t\t\t\t\t\tsourceFile.getAbsolutePath(), targetFile);\n \t\t\t\t\ttransformer.transform(xmlSource, result);\n \t\t\t\t\tpostProcessResult(targetFile);\n getLog().debug(targetFile + \" has been generated.\");\n \t\t\t\t} else {\n \t\t\t\t\tgetLog().debug(targetFile + \" is up to date.\");\n \t\t\t\t}\n \t\t\t} catch (SAXException saxe) {\n \t\t\t\tthrow new MojoExecutionException(\"Failed to parse \"\n \t\t\t\t\t\t+ included[i] + \".\", saxe);\n \t\t\t} catch (TransformerException te) {\n \t\t\t\tthrow new MojoExecutionException(\"Failed to transform \"\n \t\t\t\t\t\t+ included[i] + \".\", te);\n \t\t\t} catch (ParserConfigurationException pce) {\n \t\t\t\tthrow new MojoExecutionException(\"Failed to construct parser.\",\n \t\t\t\t\t\tpce);\n \t\t\t}\n \t\t}\n \t\tpostProcess();\n \t}", "title": "" }, { "docid": "e56a559b290aa0329868e2334953103b", "score": "0.47050083", "text": "public void bake() throws Exception {\n\t\tlong start = new Date().getTime();\n\t\tSystem.out.println(\"Baking has started...\");\n\n\t\t// process source content\n\t\tCrawler crawler = new Crawler(source, config);\n\t\tcrawler.crawl(contentsPath);\n\t\tList<Map<String, Object>> pages = crawler.getPages();\n\t\tList<Map<String, Object>> posts = crawler.getPosts();\n\n\t\t// sort posts\n\t\tCollections.sort(posts, SortUtil.getComparator(REVERSE));\n\n\t\tRenderer renderer = new Renderer(source, destination, templatesPath, config, posts, pages);\n\n\t\tint renderedCount = 0;\n\t\tint errorCount = 0;\n\t\t\n\t\t// render all pages\n\t\tfor (Map<String, Object> page : pages) {\n\t\t\t// TODO: could add check here to see if rendering needs to be done again\n\t\t\ttry {\n\t\t\t\trenderer.render(page);\n\t\t\t\trenderedCount++;\n\t\t\t} catch (Exception e) {\n\t\t\t\terrorCount++;\n\t\t\t}\n\t\t}\n\n\t\t// render all posts\n\t\tfor (Map<String, Object> post : posts) {\n\t\t\t// TODO: could add check here to see if rendering needs to be done again\n\t\t\ttry {\n\t\t\t\trenderer.render(post);\n\t\t\t\trenderedCount++;\n\t\t\t} catch (Exception e) {\n\t\t\t\terrorCount++;\n\t\t\t}\n\t\t}\n\n\t\t// only interested in published posts from here on\n\t\tList<Map<String, Object>> publishedPosts = Filter.getPublishedPosts(posts);\n\n\t\t// write index file\n\t\tif (config.getBoolean(\"render.index\")) {\n\t\t\trenderer.renderIndex(publishedPosts, config.getString(\"index.file\"));\n\t\t}\n\n\t\t// write feed file\n\t\tif (config.getBoolean(\"render.feed\")) {\n\t\t\trenderer.renderFeed(publishedPosts, config.getString(\"feed.file\"));\n\t\t}\n\n\t\t// write master archive file\n\t\tif (config.getBoolean(\"render.archive\")) {\n\t\t\trenderer.renderArchive(publishedPosts, config.getString(\"archive.file\"));\n\t\t}\n\n\t\t// write tag files \n\t\tif (config.getBoolean(\"render.tags\")) {\n\t\t\trenderer.renderTags(crawler.getPostsByTags(), config.getString(\"tag.path\"));\n\t\t}\n\n\t\t// copy assets\n\t\tAsset asset = new Asset(source, destination);\n\t\tasset.copy(assetsPath);\n\n\t\tSystem.out.println(\"...finished!\");\n\t\tlong end = new Date().getTime();\n\t\tSystem.out.println(\"Baked \" + renderedCount + \" items in \" + (end-start) + \"ms\");\n\t\tif (errorCount > 0) {\n\t\t\tSystem.out.println(\"Failed to bake \" + errorCount + \" item(s)!\");\n\t\t}\n//\t\tSystem.out.println(\"Baking took: \" + (end-start) + \"ms\");\n\t}", "title": "" }, { "docid": "b53f47dcab43cee77ea9f7fb3ed6391d", "score": "0.47046003", "text": "private void setResultDir(String resDir) {\n String os = System.getProperty(\"os.name\").toLowerCase();\n if (os.contains(\"win\")) {\n resDir = resDir + \"\\\\\";\n sharedInformation.setOS(Constants.WINDOWS);\n } else {\n resDir = resDir + \"/\";\n sharedInformation.setOS(Constants.OTHEROS);\n }\n PathConstants.resultDirectory = resDir;\n newProjectDialog.setEnableGenoPhenoSelection(true);\n sharedInformation.getLogger().info(\"Project created\");\n }", "title": "" }, { "docid": "f1360869c603eb7c8b12aebba5ab013b", "score": "0.46955487", "text": "public void copyDataDir() {\n\t\tthis.copyDataDir(TicklerVars.dataDir);\n\t}", "title": "" }, { "docid": "696dfa93b27aaf287d4fb9f9004e8a17", "score": "0.46912986", "text": "private ExtentReport()\n\t{\n\t\tSimpleDateFormat formatter = new SimpleDateFormat(\"MMddyyyy_ hh_mm_ss\");\n\t\tDate date = new Date();\n\t\tString currentDate = formatter.format(date);\n\t\t\n\t\treport=new ExtentReports(\".\\\\ExtentReports\\\\Test Report_\"+currentDate+\".html\");\n\t\treport.loadConfig(new File(\".\\\\src//main//resources//extentreport.xml\"));\n\t}", "title": "" } ]
c5d80b20e420fbfb89a8d59c2a822c94
overwritten read method calls in.read to fill the buffer Parameters: takes in a char [] buffer, int length and int from the last character of the comment Returns: the number of characters to read
[ { "docid": "c862a1bc6a462af696a732772cc7d0a3", "score": "0.68647456", "text": "public int read(char[] buf, int from, int len) throws IOException {\n\t\tint numChars = 0;\n\n\t\twhile (numChars == 0) {\n\t\t\tnumChars = in.read(buf, from, len);\n\t\t\tif (numChars == -1) \n\t\t\t\treturn -1;\n\t\t\t\n\t\t\tint last = from; // set the last character to read \n\n\t\t\tfor (int i = from; i < from + numChars; i++) {\n\t\t\t\tif (!commentFlag) { // if we arent in a comment \n\t\t\t\t\tif (buf[i] == '/' && buf[i+1] == '/') { // check \n\t\t\t\t\t\ti = i+2;\n\t\t\t\t\t\twhile (buf[i] != '\\n') {\n\t\t\t\t\t\t\tbuf[i] = 0;\n\t\t\t\t\t\t\ti++;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t//buf[i] = 0;\n\t\t\t\t\t\t\n\t\t\t\t\t\tcommentFlag = true; // flag \n\t\t\t\t\t}\n\t\t\t\t\tcommentFlag = false; // reset the flag \n\t\t\t\t\tif (buf[i] == '/' && buf[i+1] == '*') {\n\t\t\t\t\t\twhile (buf[i] != '/') {\n\t\t\t\t\t\t\tbuf[i] = '\\n';\n\t\t\t\t\t\t\ti++;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t//buf[i] = '\\n';\n\t\t\t\t\t\tcommentFlag = true;\n\t\t\t\t\t} else {\n\t\t\t\t\t\t//buf[last] = '\\n';\n\t\t\t\t\t\tbuf[last++] = buf[i];\n\n\t\t\t\t\t}\n\t\t\t\t} else if (buf[i] == '*' && buf[i+1] == '/') {\n\t\t\t\t\tbuf[i] = buf[i++];\n\t\t\t\t\tcommentFlag = false;\n\t\t\t\t} \n\t\t\t}\n\t\t\tnumChars = last - from; // calculate remaining characters \n\t\t}\n\t\treturn numChars;\n\t}", "title": "" } ]
[ { "docid": "7fc5849151dfd9091f4733e10a6fe7c6", "score": "0.64727426", "text": "private int read(char[] buffer, int offset, int length)\n\t\tthrows IOException\n\t{\n\t\tint result = 0;\n\t\twhile(result < length)\n\t\t{\n\t\t\tint l = in.read(buffer, offset + result, length - result);\n\t\t\tif(l == -1) break;\n\t\t\tresult += l;\n\t\t}\n\n\t\treturn result;\n\t}", "title": "" }, { "docid": "e2d5811c973d3cd6ae28cd153eee456b", "score": "0.6263244", "text": "private int readBuffer() throws IOException {\n\t\tif (pos == -1)\n\t\t\treturn 0;\n\n\t\t// skip first line, except end of line\n\t\tif (pos == 0)\n\t\t\tpos += in.skip(15);\n\n\t\t// temporary value\n\t\tint b = 0;\n\n\t\t// skip end of line\n\t\twhile (true) {\n\t\t\tb = in.read();\n\t\t\tpos++;\n\n\t\t\tif (b != '\\n' && b != '\\r') {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\t/*\n\t\t * Each line starts with comma (':')\n\t\t * Data is written in HEX, so each 2 ASCII letters give one byte.\n\t\t * After the comma there is one byte (2 HEX signs) with line length (normally 10 -> 0x10 -> 16 bytes -> 32 HEX characters)\n\t\t * After that there is a 4 byte of an address. This part may be skipped.\n\t\t * There is a packet type after the address (1 byte = 2 HEX characters). 00 is the valid data. Other values can be skipped when converting to BIN file.\n\t\t * Then goes n bytes of data followed by 1 byte (2 HEX chars) of checksum, which is also skipped in BIN file.\n\t\t */\n\t\tcheckComma(b); // checking the comma at the beginning\n\t\tfinal int lineSize = readByte(); // reading the length of the data in this line\n\t\tpos += 2;\n\t\tpos += in.skip(4); // skipping address part\n\t\tfinal int type = readByte(); // reading the line type\n\t\tpos += 2;\n\n\t\t// if the line type is no longer data type (0x00), we've reached the end of the file\n\t\tif (type != 0) {\n\t\t\tpos = -1;\n\t\t\treturn 0;\n\t\t}\n\t\t// otherwise read lineSize bytes or fill the whole buffer\n\t\tfor (int i = 0; i < localBuf.length && i < lineSize; ++i) {\n\t\t\tb = readByte();\n\t\t\tpos += 2;\n\t\t\tlocalBuf[i] = (byte) b;\n\t\t}\n\t\tpos += in.skip(2); // skip the checksum\n\t\tlocalPos = 0;\n\n\t\treturn lineSize;\n\t}", "title": "" }, { "docid": "9d669b0209db2aac317b486028167f1d", "score": "0.62454253", "text": "@Override\r\n public int read() throws IOException {\r\n int c = in.read();\r\n if (announceChars != -1) Announce.progressAt(announceChars++);\r\n switch (c) {\r\n case -1:\r\n return (-1);\r\n case '<': {\r\n StringBuilder t = new StringBuilder();\r\n while ((c = in.read()) == '/' || c == '!' || c == '-' || Character.isLetterOrDigit(c)) {\r\n t.append((char) c);\r\n }\r\n if (announceChars != -1) Announce.progressAt(announceChars += t.length());\r\n if (t.length() > 0 && t.charAt(t.length() - 1) == '/') t.setLength(t.length() - 1);\r\n tag = t.toString().toUpperCase();\r\n if (tag.equals(\"!--\")) {\r\n scrollTo(\"-->\");\r\n return (read());\r\n }\r\n t.setLength(0);\r\n while (c != -1 && c != '>')\r\n t.append((char) (c = in.read()));\r\n if (announceChars != -1) Announce.progressAt(announceChars += t.length());\r\n if (t.length() > 0) t.setLength(t.length() - 1);\r\n tagContent = Char17.decodePercentage(Char17.decodeAmpersand(t.toString()));\r\n if (tag.equals(\"SCRIPT\")) {\r\n scrollToTag(\"/SCRIPT\");\r\n return (read());\r\n }\r\n if (skipSTYLE && tag.equals(\"STYLE\")) {\r\n scrollToTag(\"/STYLE\");\r\n return (read());\r\n }\r\n return (-2);\r\n }\r\n case '&': {\r\n String a = \"&\";\r\n while (!Character.isWhitespace((char) (c = in.read())) && c != ';' && c != -1)\r\n a += (char) c;\r\n c = Char17.decodeAmpersandChar(a);\r\n if (c == -1) c = 0;\r\n if (announceChars != -1) Announce.progressAt(announceChars += a.length());\r\n return (c);\r\n }\r\n default:\r\n return (c);\r\n }\r\n }", "title": "" }, { "docid": "35671d6a08de215cd031bce13ac2b9fa", "score": "0.62377113", "text": "public void readBuffer() throws MessagingException {\n while (true) {\n int ch = nextByte();\n // potential end of line? Check the next character, and if it is an end of line,\n // we need to do literal processing.\n if (ch == '\\r') {\n int next = nextByte();\n if (next == '\\n') {\n // had a line break, which might be part of a literal marker. Check for the signature,\n // and if we found it, continue with the next line. In any case, we're done with processing here.\n checkLiteral();\n return;\n }\n }\n // write this to the buffer.\n out.write(ch);\n }\n }", "title": "" }, { "docid": "efed76160d4ec2caa98ef93e99bd35b5", "score": "0.59791976", "text": "@Override\r\n\t\tpublic boolean BUFFER_READ(BufferedReader bufferedReader) {\n\t\t\tint count;\r\n\t\t\tchar[] buffer = new char[1024*100]; ;\r\n \t\ttry {\r\n\t\t\t\tif((count = bufferedReader.read(buffer)) >= 0)\r\n\t\t\t\t{\r\n\t\t\t\t\tif(count == 0)\r\n \t\t\t{\r\n \t\t\t\tLMSLog.d(DEBUG_TAG,\"why count== 0\");\r\n \t\t\t}\r\n \t\t\telse\r\n \t\t\t{\r\n \t\t\t\treadString = new String(buffer,0,count); \r\n \t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\treturn true;\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t\treturn false;\r\n\t\t\t} catch (IOException e) {\r\n\t \t\tLMSLog.exception(e);\r\n\t\t\t}\r\n\t\t\treturn false;\r\n\t\t}", "title": "" }, { "docid": "1bae7d5e1640db3618585527532192a1", "score": "0.5901877", "text": "protected final void scanComment() throws IOException, XNIException {\n/* 843 */ this.fReportEntity = false;\n/* 844 */ scanComment(this.fStringBuffer);\n/* 845 */ this.fMarkUpDepth--;\n/* */ \n/* */ \n/* 848 */ if (this.fDTDHandler != null) {\n/* 849 */ this.fDTDHandler.comment(this.fStringBuffer, null);\n/* */ }\n/* 851 */ this.fReportEntity = true;\n/* */ }", "title": "" }, { "docid": "176f0d8cf629c452cc2e2f29b0db3565", "score": "0.5876931", "text": "int read(byte[] buffer, int offset, int length) throws java.io.IOException;", "title": "" }, { "docid": "2ca6aaf79f0057aa7c59ddaf5257c2cc", "score": "0.5816187", "text": "int read(byte[] buffer) throws IOException;", "title": "" }, { "docid": "fe4433a8b2eba8cd17a72f5b1cc2be74", "score": "0.57375616", "text": "public int read() {\r\n int ch = this.temp[this.cursor++];\r\n if (this.has(COMMENTS)) {\r\n ch = this.parsePastWhitespace(ch);\r\n }\r\n return ch;\r\n }", "title": "" }, { "docid": "3c88631cc92521be3c6679eaf4056da8", "score": "0.5611282", "text": "@Override\n public String read() {\n String message = null;\n int index = mBuffer.indexOf(mDelimiter, 0);\n if (index > -1) {\n int len = index + mDelimiter.length();\n message = mBuffer.substring(0, len);\n mBuffer.delete(0, len);\n }\n return message;\n }", "title": "" }, { "docid": "b405e91df2a4800b055c73e010902637", "score": "0.55956936", "text": "private void processComment() {\n while (this.commentLevel > 0) {\n // check for eof\n if (this.position >= this.src.length()) {\n return;\n }\n\n if (this.checkForOpeningComment()) {\n this.commentLevel++;\n } else if (this.checkForClosingComment()) {\n this.commentLevel--;\n }\n this.position++;\n }\n }", "title": "" }, { "docid": "811ad204aeb7003d57eeb2bfb7641e54", "score": "0.5563412", "text": "public int read ( char[] cbuf, int off, int len )\n {\n\n int n;\n\n if ((n = ensure( len )) == 0)\n return -1;\n\n if (cbuf == null || len <= 0)\n return 0;\n\n if (n < len)\n len = n;\n\n if (_out < _in)\n {\n System.arraycopy( _buf, _out, cbuf, off, len );\n }\n else\n {\n int chunk = _buf.length - _out;\n\n if (chunk >= len)\n System.arraycopy( _buf, _out, cbuf, off, len );\n else\n {\n System.arraycopy( _buf, _out, cbuf, off, chunk );\n System.arraycopy( _buf, 0, cbuf, off + chunk, len - chunk );\n }\n }\n\n _out = (_out + len) % _buf.length;\n _free += len;\n\n assert _free >= 0;\n\n return len;\n }", "title": "" }, { "docid": "9ac8aa3a85cba9674810f5113db1897c", "score": "0.556259", "text": "protected void getBuff(int fragment) throws IOException\r\n {\r\n new Thread()\r\n {\r\n public void run() {\r\n String[] param = new String[2];\r\n param[0] = String.valueOf(fileName);\r\n param[1] = String.valueOf(fragment);\r\n\r\n JsonObject jsonRet = proxy.synchExecution(\"getSongChunk\", param);\r\n String s = jsonRet.get(\"ret\").getAsString();\r\n nextBuf = Base64.getDecoder().decode(s);\r\n sem.release(); \r\n System.out.println(\"Read buffer\");\r\n }\r\n }.start();\r\n \r\n }", "title": "" }, { "docid": "99338e4ecf5ee241d7532a987ab380ac", "score": "0.5542129", "text": "private String readAndParseLine(final BufferedReader bReader) throws IOException {\n String strLine = bReader.readLine();\n String strToReturn = \"\";\n boolean foundEndOfComment = false;\n\n if (strLine == null) {\n return null;\n }\n\n if (strLine.contains(\"/*\")) {\n // handle block comments\n if (strLine.trim().indexOf(\"/*\") > 0) {\n strToReturn = strLine.substring(0,strLine.trim().indexOf(\"/*\"));\n }\n if (strLine.contains(\"*/\")) {\n foundEndOfComment = true;\n }\n while (!foundEndOfComment) {\n strLine = bReader.readLine();\n if (strLine == null) {\n return null;\n }\n if (strLine.contains(\"*/\")) {\n foundEndOfComment = true;\n }\n }\n } else {\n strToReturn = strLine;\n }\n return strToReturn;\n }", "title": "" }, { "docid": "34c338fb161cb4c544f035b4bec29b02", "score": "0.55344415", "text": "@Override\n public int read() throws IOException {\n checkIfClosed();\n if (position >= count) {\n refillBuffer();\n }\n if (count < 0) {\n return -1;\n }\n return buffer[position++];\n }", "title": "" }, { "docid": "088bf9aa68bbdcd0e2bcb71f79741717", "score": "0.5529737", "text": "public int read()\n throws IOException\n {\n if (spaceCount>0)\n {\n spaceCount--;\n return SPACE;\n }\n \n int c = in.read();\n if (c==SPACE)\n {\n while ((c = in.read())==SPACE) \n spaceCount++;\n if (c==LF || c==CR || c==-1)\n spaceCount = 0;\n else\n {\n ((PushbackInputStream)in).unread(c);\n c = SPACE;\n }\n return c;\n }\n if (c==EQ)\n {\n int c2 = super.in.read();\n if (c2==LF)\n return read();\n if (c2==CR)\n {\n int peek = in.read();\n if (peek!=LF)\n ((PushbackInputStream)in).unread(peek);\n return read();\n }\n if (c2==-1)\n return c2;\n \n buf[0] = (byte)c2;\n buf[1] = (byte)in.read();\n try\n {\n return Integer.parseInt(new String(buf, 0, 2), 16);\n }\n catch (NumberFormatException e)\n {\n ((PushbackInputStream)in).unread(buf);\n }\n return c;\n }\n else\n return c;\n }", "title": "" }, { "docid": "bb08aba4d8fd637c1c1d59ecaa23ae38", "score": "0.551693", "text": "protected void fill()\n throws IOException {\n pos = 0;\n count = 0;\n int nRead = input.read(buf, 0, buf.length);\n if (nRead > 0) {\n count = nRead;\n }\n }", "title": "" }, { "docid": "2f120cc34538ba7675f3e16d7e6a56d1", "score": "0.55070627", "text": "private void refillBuffer() throws IOException {\n count = in.read(buffer);\n position = 0;\n }", "title": "" }, { "docid": "6244878ecf7d58c459cdb1171f4e571c", "score": "0.54954886", "text": "abstract public char read ( int thePosition ) throws java.io.IOException;", "title": "" }, { "docid": "95f2315428d45818345a16d0b94b7915", "score": "0.5483942", "text": "public int readChunk( byte[] buffer, int off, int len ) throws IOException {\r\n \t\tint z;\r\n \t\tif( chunkLeft == 0 ) {\r\n \t\t\t// Then read the next one!\r\n \t\t\tString[] c = readCmd();\r\n \t\t\tif( c.length == 0 ) {\r\n \t\t\t\tthrow new IOException(\"Zero-length command!\");\r\n \t\t\t}\r\n \t\t\tif( \"end-chunks\".equals(c[0]) ) {\r\n \t\t\t\treturn -1;\r\n \t\t\t}\r\n \t\t\tif( !\"chunk\".equals(c[0]) ) {\r\n \t\t\t\tthrow new IOException(\"Not a chunk! \"+c[0]);\r\n \t\t\t}\r\n \t\t\tchunkLeft = Integer.parseInt(c[1]);\r\n \t\t}\r\n \t\tz = is.read(buffer, off, Math.min( len, chunkLeft ) );\r\n \t\tif( z == -1 ) throw new IOException(\"Hit end of stream while reading chunk\");\r\n \t\tchunkLeft -= z;\r\n \t\treturn z;\r\n \t}", "title": "" }, { "docid": "bba565d8008ed464d5e33951d3d21e86", "score": "0.547403", "text": "public int read(char[] buf, int n) {\n int total = 0;\n while (total < n) {\n // if pointer < count, which means there are still remaining datas in tmp since last read\n if (pointer == count) {\n pointer = 0; // Reset interval buffer's pointer to the beginning\n count = read4(tmp);\n if (count == 0) {\n break;\n } \n }\n buf[total++] = tmp[pointer++];\n }\n\n return total;\n }", "title": "" }, { "docid": "691ed41b1f3f14495bb9f40b95883aa3", "score": "0.54675907", "text": "public String read(int index, int count) //returns bytes read\n {\n\t if(index>3||index<1)\n\t {\n\t\t System.out.println(\"error\");\n\t\t return \"error\";\n\t }\n\t //check if oft is open\n\t if(table.unpack((index*76)+64) ==-1)\n\t {\n\t\t System.out.println(\"error\");\n\t\t return \"error\";\n\t }\n\t\t \n\t String bytes_read = \"\";\n\t int current = table.unpack((index*76)+64);\n\t int fd = table.unpack((index*76)+64+4);\n\t int length = table.unpack((index*76)+64+4+4);\n\t int block = (current/64)+1;\n\t \n\t for(int i=0;i<count;i++)\n\t {\n\t\t if((current<length&&current==0)||(current<length&&((current%64)!=0)))\n\t\t {\n\t\t\t //read byte\n\t\t\t char c = (char) table.oft[(index*76)+(current%64)];\n\t\t\t bytes_read += Character.toString(c);\n\t\t\t \n\t\t }\n\t\t else if(current<length&&current!=0&&((current%64)==0))\n\t\t {\n\t\t\t //write buffer to ldisk\n\t\t\t for(int n=0;n<64;n++)\n\t\t\t {\n\t\t\t\t this.mem[(this.unpack(64+(fd*16)+((((current/64)+1)-1)*4))*64)+n] = table.oft[(index*76)+n];\n\t\t\t }\n\t\t\t //copy next block to oft buffer\n\t\t\t for(int n=0;n<64;n++)\n\t\t\t {\n\t\t\t\t table.oft[(index*76)+n] = this.mem[(this.unpack(64+(fd*16)+(((current/64)+1)*4))*64)+n];\n\t\t\t }\n\t\t\t //read byte\n\t\t\t char c = (char) table.oft[(index*76)+(current%64)];\n\t\t\t bytes_read += Character.toString(c); //bug here\n\t\t }\n\t\t else\n\t\t {\n\n\t\t\t //update oft current\n\t\t\t table.pack(current, (index*76)+64);\n\t\t\t System.out.println(bytes_read);\n\t\t\t return bytes_read;\n\t\t }\n\t\t current +=1;\n\t }\n\t table.pack(current, (index*76)+64);\n\t System.out.println(bytes_read);\n\t return bytes_read;\n }", "title": "" }, { "docid": "c5f50e604f33c67283347ed00159d2bb", "score": "0.54478335", "text": "public String getParsedBufferPartFrom(int pos);", "title": "" }, { "docid": "e8745c9e415663843da3c8d149365ef9", "score": "0.5414822", "text": "private void fillBuffer() throws IOException {\n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }", "title": "" }, { "docid": "21d10a603937d1ff1e2b445cfe6510f6", "score": "0.5401929", "text": "@Test(timeout = 4000)\n public void test098() throws Throwable {\n StringReader stringReader0 = new StringReader(\"IN_FORMAL_COMMENT\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n javaParserTokenManager0.getNextToken();\n assertEquals(16, javaCharStream0.bufpos);\n assertEquals(17, javaCharStream0.getColumn());\n }", "title": "" }, { "docid": "a3258006bf47914a953922f90373589e", "score": "0.53981286", "text": "public int read(char[] buf, int n) {\n char[] buff = new char[4];\n int len = 0; // stop reading when len = n or end of file\n boolean eof = false;\n while (!eof && len < n) {\n int tmp = read4(buff);\n if (tmp < 4) eof = true;\n System.arraycopy(buff, 0, buf, len, Math.min(n - len, tmp));\n len += Math.min(n - len, tmp);\n }\n return len;\n }", "title": "" }, { "docid": "31a9db1c0f6e3467cc0c58ca84911382", "score": "0.53817964", "text": "public static int consumeCRLF(final Buffer buffer) throws SipParseException {\n try {\n buffer.markReaderIndex();\n final byte cr = buffer.readByte();\n final byte lf = buffer.readByte();\n if ((cr == CR) && (lf == LF)) {\n return 2;\n }\n } catch (final IndexOutOfBoundsException e) {\n // fall through\n } catch (final IOException e) {\n throw new SipParseException(buffer.getReaderIndex(), \"Unable to read from stream\", e);\n }\n buffer.resetReaderIndex();\n return 0;\n }", "title": "" }, { "docid": "58ac585af12bcc98a97edad5408754ce", "score": "0.53773046", "text": "public int read( )\n throws IOException\n {\n// TODO on a network this is a bad thing to do\n byte buffer[] = new byte[1];\n int offset = 0;\n int read = fileSystem.commands.fileRead(fd, buffer, offset, 1);\n if (read == 1 && buffer != null) {\n filePointer += 1;\n\n return buffer[0];\n }\n return -1;\n \n//throw new UnsupportedOperationException();\n }", "title": "" }, { "docid": "337941b503ccc3a9bfb0ba129f8f54a2", "score": "0.53711677", "text": "public abstract ByteBuffer read(long blockOffset, int length) throws IOException;", "title": "" }, { "docid": "65a29148a6f35f5bb7a90e2addd34bc1", "score": "0.5369084", "text": "private byte read() {\n\t\tif (bufferPointer == bytesRead) {\n\t\t\tfillBuffer();\n\t\t}\n\t\treturn buffer[bufferPointer++];\n\t}", "title": "" }, { "docid": "54537c33d5cc8efbe30e15bdb37e8446", "score": "0.53661484", "text": "private void DataCharEdit() throws IOException {\n char c =(char)in.read();\n if(c=='\\n'){\n mHandler.obtainMessage(2,-1,-1,builder.toString()).sendToTarget();\n builder.setLength(0);\n }else{\n builder.append(c);\n }\n }", "title": "" }, { "docid": "62874b2bc5e8a5d81aed26a026ace681", "score": "0.5359689", "text": "String read();", "title": "" }, { "docid": "62874b2bc5e8a5d81aed26a026ace681", "score": "0.5359689", "text": "String read();", "title": "" }, { "docid": "62874b2bc5e8a5d81aed26a026ace681", "score": "0.5359689", "text": "String read();", "title": "" }, { "docid": "34436bcd79ba45d6381cf6674faeb2a2", "score": "0.5338633", "text": "public int read() throws IOException {\n if (!fillBufferIfNeeded()) {\n return -1;\n }\n // just grab the next character\n return buffer[position++];\n }", "title": "" }, { "docid": "6897a1aadd345d21ecd45c030430ebfc", "score": "0.53139657", "text": "void readChunk(long position, ByteBuffer buffer);", "title": "" }, { "docid": "158684ded960f3ee824f97ccbf212257", "score": "0.5309918", "text": "public int read(byte []buffer, int offset, int length, long timeout)\n throws IOException\n {\n long expires = timeout + Alarm.getCurrentTimeActual();\n \n synchronized (_readLock) {\n int result = 0;\n \n do {\n result = readNative(_fd, buffer, offset, length, timeout);\n } while (result == JniStream.TIMEOUT_EXN\n && Alarm.getCurrentTimeActual() <= expires);\n \n return result;\n }\n }", "title": "" }, { "docid": "4eed46e99a558efe43ee5e3f476faedd", "score": "0.5304403", "text": "private void fillBuffer() throws IOException {\n this.buffer = 0;\n int byteValue = in.read();\n this.buffer = (byte) (byteValue & 0x00ff);\n this.bits = 0;\n }", "title": "" }, { "docid": "c086e8d954e741051841e829739e99ad", "score": "0.5296181", "text": "public void readBuffer(BufferedReader in) {\r\n\t\ttry {\r\n\r\n\t\t\tString line;\r\n\t\t\tPattern p1 = Pattern.compile(\"<\\\\?xml version.+>\");\r\n\t\t\tPattern p2 = Pattern.compile(\"<subscription type=\\\"(.+)\\\">\");\r\n\t\t\tPattern p3 = Pattern.compile(\"<publication type=\\\"(.+)\\\">\");\r\n\t\t\tPattern p4 = Pattern.compile(\"^[ \\t]<validity>([-]*\\\\d+)<.+\");\r\n\t\t\tPattern p5 = Pattern\r\n\t\t\t\t\t.compile(\"^[ \\t]<attribute name=\\\"(.+)\\\" operator=\\\"(.+)\\\" type=\\\"(.+)\\\">(.+)<.+\");\r\n\t\t\tPattern p6 = Pattern.compile(\"<announcement type=\\\"(.+)\\\">\");\r\n\t\t\twhile ((line = in.readLine()) != null) {\r\n\r\n\t\t\t\tMatcher m1 = p1.matcher(line);\r\n\t\t\t\tMatcher m2 = p2.matcher(line);\r\n\t\t\t\tMatcher m3 = p3.matcher(line);\r\n\t\t\t\tMatcher m4 = p4.matcher(line);\r\n\t\t\t\tMatcher m5 = p5.matcher(line);\r\n\t\t\t\tMatcher m6 = p6.matcher(line);\r\n\t\t\t\tboolean b1 = m1.matches();\r\n\t\t\t\tboolean b2 = m2.matches();\r\n\t\t\t\tboolean b3 = m3.matches();\r\n\t\t\t\tboolean b4 = m4.matches();\r\n\t\t\t\tboolean b5 = m5.matches();\r\n\t\t\t\tboolean b6 = m6.matches();\t\t\t\t\r\n\r\n\t\t\t\tif (testing) {\r\n\t\t\t\t\tSystem.out.println(line + \" \" + b1 + \" \" + b2 + \" \" + b3\r\n\t\t\t\t\t\t\t+ \" \" + b4 + \" \" + b5);\r\n\t\t\t\t}\r\n\t\t\t\tif (b1) {\r\n\t\t\t\t\tcontinue; // skip first line. this is just to check if\r\n\t\t\t\t\t\t\t\t// everything is ok\r\n\t\t\t\t} else if (b2) {\r\n\t\t\t\t\ttype = \"subscription\";\r\n\t\t\t\t\tpubSupType = m2.group(1);\r\n\t\t\t\t\tif (testing) {\r\n\t\t\t\t\t\tSystem.out.println(\"Type = subscription \" + pubSupType);\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if (b3) {\r\n\t\t\t\t\ttype = \"publication\";\r\n\t\t\t\t\tpubSupType = m3.group(1);\r\n\t\t\t\t\tif (testing) {\r\n\t\t\t\t\t\tSystem.out.println(\"Type = publication \" + pubSupType);\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if (b4) {\r\n\t\t\t\t\tvalidity = Long.parseLong(m4.group(1));\r\n\t\t\t\t\tif (testing) {\r\n\t\t\t\t\t\tSystem.out.println(\"Validity = \" + m4.group(1));\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if (b5) {\r\n\t\t\t\t\tif (!propertiesMap.containsKey(m5.group(1))) {\r\n\t\t\t\t\t\tif (m5.group(3).equals(\"string\")) {\r\n\t\t\t\t\t\t\tpropertiesMap.put(m5.group(1), m5.group(4));\r\n\t\t\t\t\t\t\toperatorMap.put(m5.group(1),\r\n\t\t\t\t\t\t\t\t\tOperator.valueOf(m5.group(2)));\r\n\t\t\t\t\t\t} else if (m5.group(3).equals(\"integer\")) {\r\n\t\t\t\t\t\t\tpropertiesMap.put(m5.group(1),\r\n\t\t\t\t\t\t\t\t\tInteger.parseInt(m5.group(4)));\r\n\t\t\t\t\t\t\toperatorMap.put(m5.group(1),\r\n\t\t\t\t\t\t\t\t\tOperator.valueOf(m5.group(2)));\r\n\t\t\t\t\t\t} else if (m5.group(3).equals(\"long\")) {\r\n\t\t\t\t\t\t\tpropertiesMap.put(m5.group(1),\r\n\t\t\t\t\t\t\t\t\tLong.parseLong(m5.group(4)));\r\n\t\t\t\t\t\t\toperatorMap.put(m5.group(1),\r\n\t\t\t\t\t\t\t\t\tOperator.valueOf(m5.group(2)));\r\n\t\t\t\t\t\t} else if (m5.group(3).equals(\"double\")) {\r\n\t\t\t\t\t\t\tpropertiesMap.put(m5.group(1),\r\n\t\t\t\t\t\t\t\t\tDouble.parseDouble(m5.group(4)));\r\n\t\t\t\t\t\t\toperatorMap.put(m5.group(1),\r\n\t\t\t\t\t\t\t\t\tOperator.valueOf(m5.group(2)));\r\n\t\t\t\t\t\t} else if (m5.group(3).equals(\"boolean\")) {\r\n\t\t\t\t\t\t\tpropertiesMap.put(m5.group(1),\r\n\t\t\t\t\t\t\t\t\tBoolean.parseBoolean(m5.group(4)));\r\n\t\t\t\t\t\t\toperatorMap.put(m5.group(1),\r\n\t\t\t\t\t\t\t\t\tOperator.valueOf(m5.group(2)));\r\n\t\t\t\t\t\t} else if (m5.group(3).equals(\"float\")) {\r\n\t\t\t\t\t\t\tpropertiesMap.put(m5.group(1),\r\n\t\t\t\t\t\t\t\t\tFloat.parseFloat(m5.group(4)));\r\n\t\t\t\t\t\t\toperatorMap.put(m5.group(1),\r\n\t\t\t\t\t\t\t\t\tOperator.valueOf(m5.group(2)));\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tSystem.err\r\n\t\t\t\t\t\t\t\t\t.println(\"ERROR attribute type not supported: \"\r\n\t\t\t\t\t\t\t\t\t\t\t+ m5.group(3));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (testing) {\r\n\t\t\t\t\t\t\tSystem.out.println(m5.group(1) + \" \" + m5.group(2)\r\n\t\t\t\t\t\t\t\t\t+ \" \" + m5.group(4) + \" Type: \"\r\n\t\t\t\t\t\t\t\t\t+ m5.group(3));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if (b6) {\r\n\t\t\t\t\ttype = \"announcement\";\r\n\t\t\t\t\tpubSupType = m6.group(1);\r\n\t\t\t\t\tif (testing) {\r\n\t\t\t\t\t\tSystem.out.println(\"Type = announcement \" + pubSupType);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\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": "26b5be487a7b73602b15f3c1e09cd376", "score": "0.52893066", "text": "@Override\n public int readBlob(String blobId, long pos, byte[] buff, int off, int length) throws IOException {\n InputStream stream = getStream(blobId);\n boolean threw = true;\n try {\n ByteStreams.skipFully(stream, pos);\n int readCount = stream.read(buff, off, length);\n threw = false;\n return readCount;\n } finally {\n Closeables.close(stream, threw);\n }\n }", "title": "" }, { "docid": "dfe0f885fe6e7e551185bff2fcebd773", "score": "0.52666897", "text": "void readData(ByteBuffer buf);", "title": "" }, { "docid": "1aa764da8415498b1f5f93516c93e36c", "score": "0.52651536", "text": "@Override\n public int read() throws IOException {\n if( this.pointer >= this.content.length ) return -1;\n \n this.pointer++;\n \n return (int) this.content[this.pointer-1];\n }", "title": "" }, { "docid": "db68988eb88ccd1dfdccbb3d5ef7109f", "score": "0.5261794", "text": "private void getLinesFromBuffer(final int count) {\n int actualSize = mBufferIndex + count;\n ByteArrayInputStream bis = new ByteArrayInputStream(mBuffer, 0, actualSize);\n mBufferIndex = 0;\n BufferedReader reader = new BufferedReader(new InputStreamReader(bis));\n try {\n String line = reader.readLine();\n while (null != line) {\n addInput(line);\n line = reader.readLine();\n }\n } catch (IOException i) {\n assert true;\n }\n int remaining = bis.available();\n System.arraycopy(mBuffer, actualSize - remaining, mBuffer, 0, remaining);\n mBufferIndex = remaining;\n }", "title": "" }, { "docid": "7acbde789147368b34065f7cec28ba50", "score": "0.52518475", "text": "public long Read(long filepos, byte[] buff, int off, int len) {\n return readFile(nHandle, filepos, buff, off, len);\n }", "title": "" }, { "docid": "410caf00afd5c326a0d2ded5a68b3f8d", "score": "0.52462715", "text": "private void fillBuffer() {\n\t\tbufferPointer = 0;\n\t\ttry {\n\t\t\tbytesRead = dataInputStream.read(buffer, bufferPointer, bufferSize);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tif (bytesRead == -1) {\n\t\t\tbuffer[0] = (byte) -1;\n\t\t}\n\t}", "title": "" }, { "docid": "3f02da2ba5b8c4f8ece9f039badf6ed6", "score": "0.5246187", "text": "public int read() throws IOException {\n if (wait) {\n return -1;\n }\n \n if (empty) {\n if (!fill()) {\n wait = true;\n return -1;\n }\n }\n \n if (buffer[bStart] == END_OF_STREAM) {\n bStart++;\n if (bStart == BUFFER_SIZE) {\n bStart = 0;\n }\n if (bStart == bEnd) {\n empty = true;\n }\n wait = true;\n return -1;\n } else {\n bStart++;\n if (bStart == bEnd || bEnd == 0 && bStart == BUFFER_SIZE) {\n empty = true;\n }\n if (bStart == BUFFER_SIZE) {\n bStart = 0;\n return buffer[BUFFER_SIZE-1];\n } else {\n return buffer[bStart-1];\n }\n }\n }", "title": "" }, { "docid": "f7eb49d2fc331f5fee254cf0706ce6ec", "score": "0.52459353", "text": "public String readInput() throws NumberFormatException, InterruptedException{\n\t\ttry {\n\t\t\tSystem.out.println(\"Client Helper is reading from buffer\");\n\t\t\ttext = in.readLine();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn text;\n\t}", "title": "" }, { "docid": "64ce3d20cc43a76395ecd10758f88a94", "score": "0.52299315", "text": "@Override\r\n public synchronized int read() throws IOException {\r\n \r\n \r\n\t if (pos >= total) \r\n\t {\t\r\n pos = 0; \r\n return -1;\r\n\t }\r\n\t int posmod = pos % FRAGMENT_SIZE;\r\n\t if (posmod == 0)\r\n\t {\r\n try\r\n {\r\n sem.acquire(); \r\n }catch (InterruptedException exc) \r\n { \r\n System.out.println(exc);\r\n }\r\n\t for (int i=0; i< FRAGMENT_SIZE; i++)\r\n\t\t buf[i] = nextBuf[i];\r\n \r\n\t getBuff(fragment);\r\n\t fragment++;\r\n\t }\r\n\t int p = pos % FRAGMENT_SIZE;\r\n\t pos ++;\r\n return buf[p] & 0xff; \r\n }", "title": "" }, { "docid": "e9db3e85b1b27a3db4e5619003bf77b6", "score": "0.52291954", "text": "public void readBuffer(int mode) {\n\n read_buffer(mode);\n }", "title": "" }, { "docid": "7292d64ea24fc0346abba02698219d5e", "score": "0.52060044", "text": "public String read() {\n\n\t\tlastStatus = new Status(Status.SUCCESS);\n\n\t\tif (fReadAhead) {\n\t\t\tfReadAhead = false;\n\t\t\treturn buffer;\n\t\t}\n\n\t\ttry {\n\t\t\tbuffer = getStdin().readLine();\n\t\t} catch (final IOException e) {\n\t\t\tbuffer = null;\n\t\t\tlastStatus = new Status(Status.IOERROR, e.toString());\n\n\t\t}\n\t\treturn buffer;\n\t}", "title": "" }, { "docid": "d94331e1553e8edcde260cc9f9c51e0a", "score": "0.5197262", "text": "Builder readBufferSize(int readBufferSize);", "title": "" }, { "docid": "e4c660cef531caf29384d631740a1779", "score": "0.51934606", "text": "protected int readBytes( byte buffer[], int offset, int len )\n throws IOException\n {\n int read = fileSystem.commands.fileRead(fd, buffer, offset, len);\n filePointer += read;\n\n return read;\n }", "title": "" }, { "docid": "37e1b1f330d9923b59b5b30c5088acd0", "score": "0.5187809", "text": "long bytesRead();", "title": "" }, { "docid": "4ae92c7ff1e446a809cbe9fa49463c1c", "score": "0.51849", "text": "public String readString(DataInputStream is){\n\n\t\tint read = 0 ;\n\t\tint readLen=0;\n\t\tint curRead=0;\n\t\ttry {\n\t\t\twhile (is.available()==0);\n\t\t\tbuffer1 = new byte[is.available()];\n\t\t\tSystem.out.println(\"available:\"+is.available());\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tstr = null;\n\t\ttry {\n\t\t\tread = is.read(buffer1,0,buffer1.length);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tSystem.out.println(\"read:\"+read);\n\t\t//System.out.println(.toString(buffer1).toString());\n\t\tmfjs= parseHead(buffer1);\n\t\tif(mfjs!=null){\n\t\t\tbyte[] buffer2 = new byte[mfjs.optInt(\"L\")];\n\t\t\tSystem.out.println(\"length is :\"+mfjs.optInt(\"L\"));\n\t\t\tcurRead = read -location-2;\n\t\t\tSystem.out.println(\"curRead:\"+curRead);\n\t\t\tSystem.arraycopy(buffer1, location + 2, buffer2, 0, curRead);\n\t\t\ttry {\n\t\t\t\twhile(readLen<(mfjs.optInt(\"L\"))) {\n\t\t\t\t\treadLen +=curRead;\n\n\t\t\t\t\tcurRead =is.read(buffer2,readLen,is.available());\n\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"readLen=\"+readLen);\n\t\t\t\tif(readLen == (mfjs.optInt(\"L\"))){\n\t\t\t\t\tSystem.out.println(\"read fully\");\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tString type = mfjs.optString(\"T\");\n\t\t\tif(type.equals(\"M\")){\n\t\t\t\tstr = new String(buffer2);\n\t\t\t}\n\t\t}\n\t\treturn str;\n\t}", "title": "" }, { "docid": "e21e35dd5283f4b6137a0cbb5c6f1e3c", "score": "0.5182912", "text": "@Test(timeout = 4000)\n public void test045() throws Throwable {\n StringReader stringReader0 = new StringReader(\"6Z?]~0 LuA~\");\n StringReader stringReader1 = new StringReader(\"6Z?]~0 LuA~\");\n stringReader0.mark(2822);\n stringReader1.mark(2822);\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, 473, 0);\n javaCharStream0.ReInit((Reader) stringReader0);\n JavaCharStream javaCharStream1 = new JavaCharStream(stringReader1, 4620, 4091, 121);\n char char0 = javaCharStream0.ReadByte();\n assertEquals('6', char0);\n assertEquals((-1), javaCharStream0.bufpos);\n }", "title": "" }, { "docid": "896dd68f9e6fd8f0289f800c9f0f7978", "score": "0.5169321", "text": "private final static StringBuffer readFile(Reader rdr) throws IOException {\n\t\tif (rdr == null)\n\t\t\treturn null;\n\t\tStringBuffer out = null;\n\t\tBufferedReader bufRdr = null;\n\t\tIOException exception = null;\n\t\ttry {\n\t\t\tbufRdr = new BufferedReader(rdr);\n\t\t\tlong c = bufRdr.read();\n\t\t\tout = new StringBuffer(\"\");\n\t\t\twhile (c != -1) {\n\t\t\t\tout.append((char) c);\n\t\t\t\tc = bufRdr.read();\n\t\t\t}\n\t\t} catch (IOException ioe) {\n\t\t\texception = ioe;\n\t\t} catch (Throwable t) {\n\t\t\t// do nothing\n\t\t} finally {\n\t\t\tif (bufRdr != null)\n\t\t\t\tbufRdr.close();\n\t\t\tif (rdr != null)\n\t\t\t\trdr.close();\n\t\t}\n\t\tif (exception != null)\n\t\t\tthrow exception;\n\t\treturn out;\n\t}", "title": "" }, { "docid": "41541c6ed76e681b0985af47ef9d905d", "score": "0.5167368", "text": "@Override\r\n\tpublic SessionContent getSessionContentFromReplyOfReadSessionBuffer(\r\n\t\t\tbyte[] inBuf, int bufferLength) {\n\t\tbyte[] temp = getByteArray(inBuf, 5, 8);\r\n\t\tlong version = byte2long(temp);\r\n\t\t// Timestamp timestamp = Timestamp.valueOf(byte2string(inBuf, 13, 8));\r\n\t\tbyte[] temp2 = getByteArray(inBuf, 13, 8);\r\n\t\tlong ts = byte2long(temp2);\r\n\t\tTimestamp timestamp = new Timestamp(ts);\r\n\t\tbyte[] mess = getByteArray(inBuf, 21, bufferLength - 21);\r\n\t\tString message = byte2string(mess);\r\n\r\n\t\tSessionContent content = null;\r\n\t\tif(version >= 0){\r\n\t\t\tcontent = new SessionContent(message, version, timestamp);\r\n\t\t}\r\n\t\treturn content;\r\n\t}", "title": "" }, { "docid": "4553281c6745139e593191f5b51c011d", "score": "0.5165922", "text": "int read ( byte[] bbuf, int off, int len )\n {\n\n int n;\n\n if ((n = ensure( len )) == 0)\n return -1;\n\n if (bbuf == null || len <= 0)\n return 0;\n\n if (n < len)\n len = n;\n\n if (_out < _in)\n {\n System.arraycopy( _buf, _out, bbuf, off, len );\n }\n else\n {\n int chunk = _buf.length - _out;\n\n if (chunk >= len)\n System.arraycopy( _buf, _out, bbuf, off, len );\n else\n {\n System.arraycopy( _buf, _out, bbuf, off, chunk );\n\n System.arraycopy(\n _buf, 0, bbuf, off + chunk, len - chunk );\n }\n }\n\n _out = (_out + len) % _buf.length;\n _free += len;\n\n return len;\n }", "title": "" }, { "docid": "b142b2c95d68b3444ed0eda1d104c6f8", "score": "0.5146875", "text": "public int read(char c[])\n {\n\t}", "title": "" }, { "docid": "2cf076eedeed7ad6e7841da71424ca02", "score": "0.5140632", "text": "int getBufferSize() throws IOException;", "title": "" }, { "docid": "aed85e469b5d0747f0a885ddd108c668", "score": "0.51372325", "text": "private static String readLine(InputStream in) throws IOException\r\n\t{\r\n\t StringBuilder sb = new StringBuilder();\r\n\t int readByte = in.read();\r\n\t while (readByte>-1 && readByte!= '\\n')\r\n\t {\r\n\t sb.append((char) readByte);\r\n\t readByte = in.read();\r\n\t }\r\n\t return readByte==-1?null:sb.toString();\r\n\t\t\r\n\t}", "title": "" }, { "docid": "a38a25807ce7f0ad2c5549a19ece6759", "score": "0.5136587", "text": "int K2616_ReadRecordFile(HANDLE ComHandle, IntBuffer len, ByteBuffer CardID);", "title": "" }, { "docid": "f90911ae7c58ecb4a48f5d077b4a42d4", "score": "0.5134632", "text": "void read();", "title": "" }, { "docid": "f90911ae7c58ecb4a48f5d077b4a42d4", "score": "0.5134632", "text": "void read();", "title": "" }, { "docid": "c3d8d54d981b8ddaf6ec1aec03c8c549", "score": "0.5126324", "text": "@Override\n\tpublic void feedInBuffer() {\n\t\ttry {\n\t\t\t// note: we only keep BUFFERLINES=3 lines in memory;\n\t\t\tint slot = pReadLine % BUFFERLINES;\n\n\t\t\tif(pReadLine >= height) {\n\t\t\t\tSystem.out.println(\"Reached to end of image, no more data.\");\n\t\t\t\t\n\t\t\t\t//corner case #2: clear out next line in the rotation slot, so we can do processing on last line.\n\t\t\t\tlines[slot] = new byte[LINEBYTES];\n\t\t\t\t\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t\tint count = inStream.read( lines[slot] );\t\t\t\n\t\t\tSystem.out.println(\"pReadLine: \" + pReadLine);\n\t\t\tpReadLine++;\n\n\t\t\tif( count != LINEBYTES ) {\n\t\t\t\tSystem.err.println(\"Image line input seems to be truncated\");\n\t\t\t}\n\t\t}\n\t\tcatch(IOException io) {\n\t\t\tSystem.err.println(\"Failed to read data content\");\n\t\t}\n\t}", "title": "" }, { "docid": "775ab9e78c5be0d20a86a725b3ead855", "score": "0.5124227", "text": "public void skipBuffer() {\n int length = readInt();\n pos += length;\n }", "title": "" }, { "docid": "88c7ee39afe0b98f97e565fba4e8502d", "score": "0.51203454", "text": "ByteBuffer readBlock();", "title": "" }, { "docid": "b0b2565b7f1e421370426877dfdd9442", "score": "0.51096576", "text": "private char read()\n\t\tthrows IOException\n\t{\n\t\tif(limit - position < 1)\n\t\t{\n\t\t\tif(! readAhead(1))\n\t\t\t{\n\t\t\t\tthrow new EOFException();\n\t\t\t}\n\t\t}\n\n\t\treturn buffer[position++];\n\t}", "title": "" }, { "docid": "02e52a8cd6270def03c096e0736aa552", "score": "0.5100313", "text": "char readChar() throws java.io.IOException;", "title": "" }, { "docid": "bfc2c04c512d2e911da526e678f39d86", "score": "0.5095414", "text": "public int read(char[] cbuf, int offset, int length) {\n byte[] my_byte_array = new byte[length];\n int retVal;\n\n try {\n retVal = my_input_stream.read(my_byte_array, 0, length);\n }\n catch (Exception e) {\n e.printStackTrace();\n return -1;\n }\n\n for (int k = 0; k < retVal; k++) {\n cbuf[k + offset] = (char) my_byte_array[k];\n }\n\n return retVal;\n }", "title": "" }, { "docid": "3502a6966bc32928891928f6b4e659c0", "score": "0.50933504", "text": "private int readdDataToByteBuffer(byte[] buf, FileInputStream fileReader) throws IOException {\r\n\t\tint readBytes = 0;\r\n\t\tif (fileReader.available() > 0)\r\n\t\t\treadBytes = fileReader.read(buf);\r\n\r\n\t\treturn readBytes;\r\n\t}", "title": "" }, { "docid": "fd64a489d447c5ba807b92dec58690af", "score": "0.5091769", "text": "private int read() throws IOException \r\n\t{\r\n\t\tif (putbackLength > 0) return putbackBuffer[--putbackLength];\r\n\t\treturn reader.read();\r\n\t}", "title": "" }, { "docid": "d4863ce0c60e0743de083522294bbab1", "score": "0.5091218", "text": "private void readFully(byte[] buff) throws IOException \n {\n dataIn.readFully(buff);\n }", "title": "" }, { "docid": "85983b68e20e150c5ce8d9ba8bf54a23", "score": "0.5088418", "text": "int readPartial(byte[] data, int offset, int len) throws Exception;", "title": "" }, { "docid": "549d3522a0489e6f939082b21ed07a76", "score": "0.50656384", "text": "public abstract void getCharacters(char buffer);", "title": "" }, { "docid": "9e9547909b8d46f7bd2e0f76e4bb89aa", "score": "0.5064313", "text": "private void readHashIntoSB(StringBuilder sb) throws IOException {\n int r = -1;\n while ((r = in.readByte()) != -1) {\n char c = (char) r;\n if (c == '#') {\n// Log.v(TAG, \"run: End of answer '#'\");\n break;\n } else {\n// Log.v(TAG, \"run: got '\" + c + \"'\");\n sb.append(c);\n }\n }\n }", "title": "" }, { "docid": "cc75835db9fb92b529eb0a4d82e9a0eb", "score": "0.5051981", "text": "public byte read() throws IOException {\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }", "title": "" }, { "docid": "8a7ee674e9ad9a6ba19bbd2f5d3ab36c", "score": "0.5047409", "text": "private int readBytes() {\n /*\n r5 = this;\n java.nio.ByteBuffer r0 = r5.bb\n r0.compact()\n java.nio.channels.ReadableByteChannel r0 = r5.ch // Catch:{ all -> 0x005d }\n if (r0 == 0) goto L_0x001a\n java.nio.channels.ReadableByteChannel r0 = r5.ch // Catch:{ all -> 0x005d }\n java.nio.ByteBuffer r1 = r5.bb // Catch:{ all -> 0x005d }\n r2 = 1\n int r0 = sun.nio.ch.ChannelInputStream.read(r0, r1, r2) // Catch:{ all -> 0x005d }\n if (r0 >= 0) goto L_0x0049\n L_0x0014:\n java.nio.ByteBuffer r5 = r5.bb\n r5.flip()\n return r0\n L_0x001a:\n java.nio.ByteBuffer r0 = r5.bb\n int r0 = r0.limit()\n java.nio.ByteBuffer r1 = r5.bb\n int r1 = r1.position()\n if (r1 > r0) goto L_0x002a\n int r0 = r0 - r1\n goto L_0x002b\n L_0x002a:\n r0 = 0\n L_0x002b:\n java.io.InputStream r2 = r5.in\n java.nio.ByteBuffer r3 = r5.bb\n byte[] r3 = r3.array()\n java.nio.ByteBuffer r4 = r5.bb\n int r4 = r4.arrayOffset()\n int r4 = r4 + r1\n int r0 = r2.read(r3, r4, r0)\n if (r0 >= 0) goto L_0x0041\n goto L_0x0014\n L_0x0041:\n if (r0 == 0) goto L_0x0055\n java.nio.ByteBuffer r2 = r5.bb\n int r1 = r1 + r0\n r2.position(r1)\n L_0x0049:\n java.nio.ByteBuffer r0 = r5.bb\n r0.flip()\n java.nio.ByteBuffer r5 = r5.bb\n int r5 = r5.remaining()\n return r5\n L_0x0055:\n java.io.IOException r0 = new java.io.IOException\n java.lang.String r1 = \"Underlying input stream returned zero bytes\"\n r0.<init>(r1)\n throw r0\n L_0x005d:\n r0 = move-exception\n java.nio.ByteBuffer r5 = r5.bb\n r5.flip()\n throw r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: sun.nio.cs.StreamDecoder.readBytes():int\");\n }", "title": "" }, { "docid": "9105c713441d4dcfc84c2155e0417447", "score": "0.5043091", "text": "private void processBufferedData() throws IOException {\r\n if (textBuffer==null) return;\r\n String s=\"\"+textBuffer;\r\n if (!s.trim().equals(\"\")) textBuffer=null;\r\n if (s.equals(\"\")) return;\r\n\r\n if (startedNewElement) outputNewLine();\r\n startedNewElement=false;\r\n String padding=\"\";\r\n for (int i=0; i<indentLevel; i++) padding=padding+indentString;\r\n int pos=s.indexOf(lineSeparator);\r\n while ((pos<s.length()) && (pos>=0)) {\r\n s=s.substring(0, pos)+\r\n lineSeparator+ padding+\r\n s.substring(pos+lineSeparator.length());\r\n pos=s.indexOf(lineSeparator, pos+lineSeparator.length());\r\n }\r\n outputText(s);\r\n }", "title": "" }, { "docid": "385ed2725a6aeb4be5a3a8d0e6e6516c", "score": "0.5035893", "text": "@Override\n\tprotected void readStep() {\n\t\tboolean got = false;\n\t\ttry {\n\t\t\t//inputStream.read(readBs);\n\n\t\t\twhile(inputStream.available() > 0 && recvQueue.remainingCapacity() > MIN_CAP)\n\t\t\t{\n\n\t\t\t\tint read = inputStream.read();\n\t\t\t\tgot = true;\n\t\t\t\t//System.out.append((char)read);\n\t\t\t\t\n\t\t\t\tif(read < 0)\n\t\t\t\t{\n\t\t\t\t\treader.stop();\n\t\t\t\t\t//kickErrorEvent(new End);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\trecvQueue.put((byte)read);\n\t\t\t\t\n\t\t\t\t// Force events on \\r\\n\\0\n\t\t\t\tif(read == 0x0D || read == 0x0A || read == 0)\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t} catch (InterruptedException e) {\n\t\t\t// Ignore\n\t\t\treturn;\n\t\t} catch (IOException e) {\n\t\t\tkickErrorEvent(e);\n\t\t} \n\t\tfinally \n\t\t{\n\t\t\tif(got) kickReceiveEvent();\n\t\t}\n\t}", "title": "" }, { "docid": "49e2b32c06ace051961b20b0425e2acc", "score": "0.50343513", "text": "public int readPacket(byte[] buffer) throws IOException {\n\t\tint i = 0;\n\t\twhile (i < buffer.length) {\n\t\t\tif (localPos < size) {\n\t\t\t\tbuffer[i++] = localBuf[localPos++];\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tsize = readBuffer();\n\t\t\tif (size == 0)\n\t\t\t\tbreak; // end of file reached\n\t\t}\n\t\treturn i;\n\t}", "title": "" }, { "docid": "3cd21ef7f8f5f186b30902c6dc0843b5", "score": "0.5031039", "text": "public native int read() throws IOException;", "title": "" }, { "docid": "362c1e4195d24689bf02507f4df0dfef", "score": "0.5030101", "text": "String readText(BufferedReader in) throws IOException;", "title": "" }, { "docid": "7c9587c9abefa1f3e9f62835644a2351", "score": "0.5027879", "text": "@Override\n public int read(char[] cbuf, int off, int len) throws IOException {\n if (currentTableReader == null) {\n String tableResults = getNextTable();\n if (tableResults == null) {\n return -1;\n }\n currentTableReader = CharSource.wrap(tableResults).openStream();\n }\n\n int charactersRead = currentTableReader.read(cbuf, off, len);\n while (charactersRead == -1) {\n String tableResults = getNextTable();\n if (tableResults == null) {\n return -1;\n }\n currentTableReader = CharSource.wrap(tableResults).openStream();\n charactersRead = currentTableReader.read(cbuf, off, len);\n }\n\n return charactersRead;\n }", "title": "" }, { "docid": "ffc3908741f3c06e8b383f5496e91163", "score": "0.502698", "text": "@Test(timeout = 4000)\n public void test101() throws Throwable {\n StringReader stringReader0 = new StringReader(\"IN_MULTI_LINE_COMMENT\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n javaParserTokenManager0.getNextToken();\n assertEquals(20, javaCharStream0.bufpos);\n assertEquals(21, javaCharStream0.getColumn());\n }", "title": "" }, { "docid": "5e6d9f70cd747cdf06c6874d9efc5d97", "score": "0.5026578", "text": "public String read()\n \t{\n \t\tString returnVal = \"\";\n \t\tBufferedInputStream termIn = new BufferedInputStream(new FileInputStream(termFd));\n \t\t\n \t\ttry\n \t\t{\n \t\t\tint newByte = 0;\n \t\t\t\n\t\t\twhile (!returnVal.endsWith(\"\\r\\n$ \") && !returnVal.contains(\"\\r\\n# \") && (newByte != -1))\n \t\t\t{\n \t\t\t\tnewByte = termIn.read();\n \t\t\t\treturnVal += (char)newByte;\n \t\t\t}\n \n \t\t}\n \t\tcatch (Exception e)\n \t\t{\n \t\t\tLog.e(\"mercury\", e.getMessage());\n \t\t}\n \t\t\n \t\treturn returnVal;\n \t}", "title": "" }, { "docid": "b3e9c5522d3e84bb24b7a1091423fc24", "score": "0.5023618", "text": "private void readSource(TokenizerSource source, char[] buffer) throws Throwable {\n long startTime = System.currentTimeMillis();\n int chars;\n \n while ((chars = source.read(buffer, 0, buffer.length)) > 0);\n System.out.println(source.getClass().getName() + \" needed \" + (System.currentTimeMillis() - startTime) + \"ms.\");\n }", "title": "" }, { "docid": "d2dfe6716946f9f67974ff3b67974928", "score": "0.50166285", "text": "@Override\n public int read(long position, byte[] buffer, int offset, int length)\n throws IOException {\n validatePositionedReadArgs(position, buffer, offset, length);\n if (length == 0) {\n return 0;\n }\n ByteBuffer bb = ByteBuffer.wrap(buffer, offset, length);\n return pread(position, bb);\n }", "title": "" }, { "docid": "975bb8ca5351a2f22f584a61bc8b1cfc", "score": "0.5015631", "text": "@Override\r\n\tpublic void incomingMessage(String readMessage) {\r\n\r\n\t\tfor (int i = 0; i < readMessage.length(); i++) {\r\n\t\t\tchar c = readMessage.charAt(i);\r\n\r\n\t\t\tif (TAG == c) {\r\n\t\t\t\tlaunchBuffer();\r\n\t\t\t} else {\r\n\t\t\t\tbuffer.append(c);\r\n\t\t\t}\r\n\t\t}\r\n\t\t//\r\n\t\t// Log.d(\"CNCmsg:\", readMessage);\r\n\t\t// // read incoming messages\r\n\t\t// if (!readMessage.contains(TAG)) {\r\n\t\t// buffer += (readMessage);\r\n\t\t// return;\r\n\t\t// }\r\n\t\t// if (readMessage.startsWith(TAG)) {\r\n\t\t// launchBuffer();\r\n\t\t// // buffer += (readMessage.replace(TAG, \"\"));\r\n\t\t// //\r\n\t\t// // return;\r\n\t\t// }\r\n\t\t//\r\n\t\t// String[] strings = readMessage.split(TAG);\r\n\t\t// int i = 0;\r\n\t\t// for (String string : strings) {\r\n\t\t// i++;\r\n\t\t// buffer += (string);\r\n\t\t// if (strings.length > 1 && i < strings.length) {\r\n\t\t// launchBuffer();\r\n\t\t// }\r\n\t\t// if(readMessage.endsWith(TAG)){\r\n\t\t// launchBuffer();\r\n\t\t// }\r\n\r\n\t\t// just start the buffer\r\n\t\t// with the last string\r\n\t\t// (if not trivial)\r\n\t\treturn;\r\n\t\t// }\r\n\r\n\t}", "title": "" }, { "docid": "2a08f152cef5a4a3693a9aa26e50e6cb", "score": "0.50153977", "text": "public void read() {\n\t\t\n\t}", "title": "" }, { "docid": "2de3e1d394a53109cfbac9ef5c057d86", "score": "0.50141203", "text": "public String readLine(){\n\t\tif(this.inBuffer == null)return null;\n\n\t\tStringBuilder sb = new StringBuilder();\n\t\ttry {\n\t\t\tsb.append(inBuffer.readLine());\n\t\t\treturn sb.toString();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}", "title": "" }, { "docid": "36722cabe0e3a7bdf7497eed4a77d5db", "score": "0.5011098", "text": "private long parseBufferForLineCount(URL dataFile, byte[] bufferAsBytes) throws Exception {\n InputStream inputStream = new ByteArrayInputStream(bufferAsBytes);\n InputStreamReader inputStreamReader = new InputStreamReader(inputStream);\n long linesInBuffer = 0;\n try (BufferedReader reader = new BufferedReader(inputStreamReader)) {\n while (reader.readLine() != null) {\n linesInBuffer++;\n }\n } catch (IOException e) {\n LOGGER.error(\"Cannot count lines from file {} in parseBufferForLineCount() function\",\n dataFile);\n e.printStackTrace();\n throw new Exception(e.getMessage());\n }\n LOGGER.debug(\"parseBufferForLineCount:linesInBuffer {}\", linesInBuffer);\n return linesInBuffer;\n }", "title": "" }, { "docid": "cdc5690aeeb4550bb406e291e0dfcedb", "score": "0.49995375", "text": "protected int read_buf(byte[] buf, int start, int size) {\n window_buffer.index(start).limit(start + size).isPart(true);\n input = input.pull(window_buffer);\n\n int len = window_buffer.index() - start;\n if (len == 0) {\n return 0;\n }\n\n if (wrap == 1) {\n adler = adler32(adler, buf, start, len);\n } else if (wrap == 2) {\n adler = crc32(adler, buf, start, len);\n }\n total_in += len;\n\n return len;\n }", "title": "" }, { "docid": "c9c299ba2bf4d05bcd1c7334555feb7a", "score": "0.49964744", "text": "@Override\r\n\tpublic int read(char[] b, int off, int len) throws IOException {\n\t\tint read = 0, res = 0;\r\n\t\twhile (read < len && res != -1) {\r\n\t\t\tres = this.read();\r\n\t\t\tif (res != -1) {\r\n\t\t\t\tb[read++] = (char) res;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (read == 0) {\r\n\t\t\treturn -1;\r\n\t\t} else {\r\n\t\t\treturn read;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "bd6f93163d0dbcf275f5965a27acae46", "score": "0.49945793", "text": "public void ReadBtn(View v) {\n //reading text from file\n try {\n FileInputStream fileIn=openFileInput(\"myFile.txt\");\n InputStreamReader InputRead= new InputStreamReader(fileIn);\n\n char[] inputBuffer= new char[READ_BLOCK_SIZE];\n String s=\"\";\n int charRead;\n while ((charRead=InputRead.read(inputBuffer))>0) {\n // char to string conversion\n // String chR = Integer.toString(charRead);\n // int x=inputBuffer.length;\n // Log.i(\"arr!!charread\", \"\" + charRead + \"x=\" + x);\n String readstring=String.copyValueOf(inputBuffer,0,charRead);\n s +=readstring;\n }\n InputRead.close();\n Toast.makeText(getBaseContext(), s,Toast.LENGTH_SHORT).show();\n Toast.makeText(getBaseContext(), \"File read successfully!\",\n Toast.LENGTH_SHORT).show();\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "2fabb580957cb900163ed1a27a9e9db6", "score": "0.49885908", "text": "public native static int MF_Read(int DeviceAddress,byte add_blk, byte num_blk, byte[] buffer);", "title": "" }, { "docid": "ebe20b020f59d9dffafdf7b7e7ae5b35", "score": "0.49872234", "text": "private static String readContent(BufferedReader reader) throws IOException {\n StringBuilder content = new StringBuilder();\n int line;\n while ((line = reader.read()) != -1) {\n content.append((char) line);\n }\n return content.toString();\n }", "title": "" }, { "docid": "4050ed64151709e2e40ffb4413868e01", "score": "0.49793515", "text": "public void readFile() {\r\n\t\ttry {\r\n//\t\t\tBufferedReader in = new BufferedReader(new FileReader(\"in\"\r\n//\t\t\t\t\t+ System.getProperty(\"file.separator\") + this.fileName));\r\n\t\t\tBufferedReader in = new BufferedReader(new FileReader( this.fileName));\r\n\t\t\treadBuffer(in);\r\n\t\t} catch (FileNotFoundException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "dbe9dbf6dcce4a479c13bd00ca428a67", "score": "0.49780318", "text": "public String getBufferPart(int from, int to);", "title": "" }, { "docid": "805cd00a493cbe711ba74ddf9c275364", "score": "0.49755502", "text": "@Override\n\t\tpublic int read() throws IOException {\n\t\t\tif (read >= size - 1) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\tread++;\n\t\t\treturn wrapped.read();\n\t\t}", "title": "" } ]
64c8a1ed1492c4a3007a3ec1bb48a2f3
Insert the method's description here. Creation date: (26.10.2004 18:45:38)
[ { "docid": "8544767ec1c387bde70ec49959ebea99", "score": "0.0", "text": "public java.lang.Integer getResource80() {\n\treturn resource80;\n}", "title": "" } ]
[ { "docid": "63a51b9825ac81396e1d7ad0b9f3ed82", "score": "0.7126339", "text": "@Override\n\tpublic void 군무() {\n\t\t\n\t}", "title": "" }, { "docid": "15ae679aae74424c73fde647cf4332f6", "score": "0.7037496", "text": "@Override\r\n\t\t\tpublic void hissetmek() {\n\r\n\t\t\t}", "title": "" }, { "docid": "2bd152bb33ecbe797b9818e175c5d4ec", "score": "0.6955621", "text": "public void mo55659a() {\n }", "title": "" }, { "docid": "bfad11e436c98998f434617a4d2907e5", "score": "0.69312924", "text": "@Override\r\n\tpublic void adharno() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b62655d47438ae6875a06d0702721dbc", "score": "0.69098157", "text": "@Override\r\n\t\t\tpublic void koklama() {\n\r\n\t\t\t}", "title": "" }, { "docid": "a0486d5f3890f3b56ce5a39122c4bdd7", "score": "0.6777097", "text": "@Override\r\n\tvoid metodo4() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1dd3d9bdd67d8cc8bddfe021796a9286", "score": "0.6724086", "text": "@Override\n protected void lodate() {\n\n }", "title": "" }, { "docid": "42c3f8e63385f8e328b6828c1f7243d4", "score": "0.67044294", "text": "@Override\r\n\t\tpublic void method_4() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "106ce0ada7b978eeffda7ec9cccc29e2", "score": "0.668518", "text": "public void дразнит() {\n\n\t}", "title": "" }, { "docid": "288fd3ee71b736e770bbef790831c263", "score": "0.66603184", "text": "User mo18615e();", "title": "" }, { "docid": "76a80470fd21f5a9092c258ed3a8a632", "score": "0.66471595", "text": "private static void 로또번호리스트() {\n\t\t\r\n\t}", "title": "" }, { "docid": "dda3b5a5b8e9e69b6eec0807bf162606", "score": "0.66411585", "text": "@Override\r\n\tpublic void rozmnozovat() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.66400844", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "79c707f3d28263fcc89902b0527d5c14", "score": "0.6595457", "text": "public void mo736a() {\n }", "title": "" }, { "docid": "9969c2cd0a26f223be9eea348d1c6160", "score": "0.65592927", "text": "private static void 로또수동생성() {\n\t\t\r\n\t}", "title": "" }, { "docid": "103ef877191eb3bc760c142351d74d08", "score": "0.6472132", "text": "public void mo72547a() {\n }", "title": "" }, { "docid": "b7d3c2b49702a5ed673b243bf8d2b7c0", "score": "0.6471971", "text": "@Override\n\tprotected void funcionario() {\n\t\t\n\t}", "title": "" }, { "docid": "cf495ef9b2708251f1a707604305e445", "score": "0.6464304", "text": "public void mo10012e() {\n }", "title": "" }, { "docid": "4a3a3aeaffc4b367a8aa8488e4b59610", "score": "0.64487344", "text": "public void mo10856b() {\n }", "title": "" }, { "docid": "5435fed6c0a9345524c30343d8ed9829", "score": "0.64281726", "text": "@Override\r\n\tpublic void entrenar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "00075c50e26b18237953cd05ffd5428b", "score": "0.6411402", "text": "@Override\n\tpublic void beber() {\n\t\t\n\t}", "title": "" }, { "docid": "00048a15fd5df50d047c45690cdbb79a", "score": "0.63944453", "text": "public void mo72549c() {\n }", "title": "" }, { "docid": "61358eff9372995c8157b02d47a44a6a", "score": "0.6386572", "text": "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "title": "" }, { "docid": "40577cf33330bd70c08bc8e310b4436d", "score": "0.6350708", "text": "@Override\n\tpublic void falar() {\n\n\t}", "title": "" }, { "docid": "0ca16e78cddd3c7d9de74c662606bbac", "score": "0.63503677", "text": "public void mo4570b() {\n }", "title": "" }, { "docid": "f4f7bcdf27874d7a17a80f57f8df43e0", "score": "0.63472503", "text": "public void mo10744d() {\n }", "title": "" }, { "docid": "abd288d7785f3e1c8446fe448ca79636", "score": "0.634009", "text": "public void mo25895a() {\n }", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.6339479", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.6339479", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1944d39c5e352ed0f9b376a46d2d65d4", "score": "0.6328583", "text": "public void mo72548b() {\n }", "title": "" }, { "docid": "bf8fefe7b85b49281edb456698bfd556", "score": "0.6321131", "text": "@Override\r\n\tpublic void descansar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0d706ec83316608dffe6fb3a50b42f93", "score": "0.6316803", "text": "public void mo104202a() {\n }", "title": "" }, { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.6305496", "text": "private void apparence() {\r\n\r\n\t}", "title": "" }, { "docid": "de9d820aa7022de3f155611decfc4bef", "score": "0.63053066", "text": "public void mo9848a() {\n }", "title": "" }, { "docid": "a1113d0fc8cb0c23dc19ebb8e6ed5c6f", "score": "0.6304258", "text": "public void mo119665g() {\n }", "title": "" }, { "docid": "52198cab8ce9d6d894927734cc20273c", "score": "0.62944955", "text": "public void mo23635d() {\n }", "title": "" }, { "docid": "c95af00aee2fa41e8a03e3640ca30750", "score": "0.6290765", "text": "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "title": "" }, { "docid": "f2c7b5ce36e184040567bd1b4d22ce55", "score": "0.62388736", "text": "public void mo7573ja() {\n }", "title": "" }, { "docid": "80887229cd7860f253bdaefb01f1687d", "score": "0.6233057", "text": "protected void mo3535a() {\n }", "title": "" }, { "docid": "03b93c6668ea7af171bbcdb3af74bb4a", "score": "0.62215984", "text": "@Override\n public void bicar() {\n }", "title": "" }, { "docid": "5f8d37aee09bc1e9959f768d6eb0183c", "score": "0.621878", "text": "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "title": "" }, { "docid": "764363f474dae877c00ccbd4222930bb", "score": "0.62053657", "text": "@Override\r\n\t\t\tpublic void action() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "977bbdfb6519b616aa6ec183058fe095", "score": "0.61995584", "text": "public void mo25898b() {\n }", "title": "" }, { "docid": "21122eff5c5fdf26b34ef8b80ffff5e2", "score": "0.6178874", "text": "public void mo3669b() {\n }", "title": "" }, { "docid": "d38b0575895b09dd770504a60f8d85da", "score": "0.6177756", "text": "@Override\r\n\tpublic void method8() {\n\r\n\t}", "title": "" }, { "docid": "33f3cf6a3898654f822043472690d00a", "score": "0.6177718", "text": "public void mo23636e() {\n }", "title": "" }, { "docid": "77d32d2a2070d9c3117ff146ac04f114", "score": "0.61743575", "text": "@Override\r\n\tpublic void climaChuvoso() {\n\r\n\t}", "title": "" }, { "docid": "a6e9388ba580a030c48b527221f8e81a", "score": "0.617232", "text": "@Override\n\tpublic void actuar() {\n\t\t\n\t}", "title": "" }, { "docid": "ee82efca22c2a7529bf6e463387158a7", "score": "0.6152209", "text": "@Override\n public void methodExampleCaller() {\n\n\n\n }", "title": "" }, { "docid": "3b072172b17a5e5ab0081f24545795f2", "score": "0.6136484", "text": "public void przymocowac() {\n\t\t\n\t}", "title": "" }, { "docid": "9b29988979d452433bf9bca03dddd71d", "score": "0.6135924", "text": "public void mo3670c() {\n }", "title": "" }, { "docid": "f21bdaa510a3c4aaf729670a764e1420", "score": "0.6109131", "text": "public void mo12455a() {\n }", "title": "" }, { "docid": "b90a85352bff2d76f367ee348156967c", "score": "0.60939825", "text": "public void mo23099b() {\n }", "title": "" }, { "docid": "b6d3acffe4d345e208dbd5404078f39a", "score": "0.60922766", "text": "protected abstract Object method_752();", "title": "" }, { "docid": "555ef4e0462825494b2cea69540f132f", "score": "0.609177", "text": "public void mo23978b() {\n }", "title": "" }, { "docid": "0d996fa345e18b74a73dce6394fc0b15", "score": "0.6088854", "text": "@Override\r\n\tpublic void sunricers() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c744960aa067b28111e99db9ddf6aeed", "score": "0.60880125", "text": "@Override\r\n\tpublic void fragancia() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b2cde12cf50e0ec60f909684878e936c", "score": "0.6085619", "text": "@Override\n\tpublic void wykonajZamknij() {\n\n\t}", "title": "" }, { "docid": "fef3334fa5c99a98625169a7536d2157", "score": "0.60850453", "text": "@Override\r\n\tpublic void method4() {\n\r\n\t}", "title": "" }, { "docid": "67b69bc5da5432117143d4b37155ca9e", "score": "0.60719514", "text": "public void mo61201z() {\n }", "title": "" }, { "docid": "dc9f6ac22366497ef7fbccd6dcc8a72c", "score": "0.6068497", "text": "abstract void mo14278c();", "title": "" }, { "docid": "a53d232dac89259f961cbc93762f65b2", "score": "0.6062338", "text": "@Override\r\n\t\t\tvoid n() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "d1bbb9bc3b89cd96535f71da8bdcaf2e", "score": "0.6060945", "text": "public abstract void mo1473c();", "title": "" }, { "docid": "7ca376910f797ab2dbb8d7bff96d2804", "score": "0.60513926", "text": "public void mo834a() {\n }", "title": "" }, { "docid": "d66780f861182da5e725ad815e1bc024", "score": "0.6048773", "text": "public void mo16822a() {\n }", "title": "" }, { "docid": "6f1e0cfaa7350cf143896dace56978f5", "score": "0.60471576", "text": "@Override\n\tpublic void respirar() {\n\t\t\n\t}", "title": "" }, { "docid": "76e3d99118a00e74a082f6a955778f7d", "score": "0.6042103", "text": "Grensesnitt(){}", "title": "" }, { "docid": "42693116fba02f3f07be1ab752c6d9bc", "score": "0.60396135", "text": "@Override\r\n\tpublic void concentrarse() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9f0f95ccef49fcce3c39594376bd3b71", "score": "0.60327387", "text": "public void mo26023r() {\n }", "title": "" }, { "docid": "ef815ccc144ce692211c8c366c9443dc", "score": "0.6020465", "text": "public void mo36513a() {\n }", "title": "" }, { "docid": "b9024f59965817099d00d0bd0c3e6faa", "score": "0.6019397", "text": "public void mo23097a() {\n }", "title": "" }, { "docid": "e0484a0369823567b49e79228c2162ea", "score": "0.6013886", "text": "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "title": "" }, { "docid": "e44838dcf5ad7e9e6fde916ef535f149", "score": "0.6010282", "text": "private void supporterHSMethod() {\n\t\t\n\t}", "title": "" }, { "docid": "ee49d350aa1b80fa7ebe5e168812c8e8", "score": "0.6005433", "text": "public void mo26014i() {\n }", "title": "" }, { "docid": "c58bd028a86302d6e5fb5909e112e096", "score": "0.60052127", "text": "public abstract void mo1474d();", "title": "" }, { "docid": "b8a66b2b3b50e8bf7a26b37cd4b0c8a6", "score": "0.5996297", "text": "@Override\r\n\tvoid method1() {\n\t\t\r\n\t}", "title": "" }, { "docid": "debc6b4612a5fe9f0680a6bff73f25e6", "score": "0.59962046", "text": "@Override\r\n\t\tpublic void emettreSon() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "46c2093361121f4ec4e9bf1b6456df44", "score": "0.5990674", "text": "@Override\n\tpublic void info() {\n\t\t\n\t}", "title": "" }, { "docid": "b1abf9b7f22449274272f392c17c3c3f", "score": "0.598847", "text": "private void supporterHIMethod() {\n\t\t\n\t}", "title": "" }, { "docid": "50ae3868c65f66b65e63221251809f6f", "score": "0.5988262", "text": "protected abstract Set method_751();", "title": "" }, { "docid": "eb45f7aa3d5f53a318b1c67b803fb7e0", "score": "0.59795076", "text": "public final void mo9049b() {\n }", "title": "" }, { "docid": "eed6d7ba6b4a071c283e1203eb8bb526", "score": "0.597561", "text": "@Override\n public void metoda1() {\n }", "title": "" }, { "docid": "bef645dca0be722faba23823a74bc241", "score": "0.59586227", "text": "@Override\r\n\t\tpublic void method_3() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "73f45b190ed6242b51c144a24f8d4b9e", "score": "0.59575516", "text": "abstract void mo14279d();", "title": "" }, { "docid": "9118ebab842568233795c2b8a84351ea", "score": "0.5957165", "text": "public void e120Q2( )\n {\n }", "title": "" }, { "docid": "5ba58754acbc70c9e223ec8894eac607", "score": "0.59541684", "text": "public void sampleMethod()\n {\n\n }", "title": "" }, { "docid": "1e26520cdd571260a78927457d0dca61", "score": "0.5953186", "text": "@Override\r\n\tpublic void method1() {\n\t\t\r\n\t}", "title": "" }, { "docid": "77f859c241fd5e1d997f67c3b890833e", "score": "0.5938928", "text": "@Override\n\tpublic void dormir() {\n\t\t\n\t}", "title": "" }, { "docid": "873a43d9bb508264718dc24eb945af1f", "score": "0.59235764", "text": "public void method_239() {}", "title": "" }, { "docid": "0c9bcc0c52f8041b2b2db4ee75f43a45", "score": "0.59189975", "text": "public void nada() {\n\t}", "title": "" }, { "docid": "29a0533084a38a0acf5a2a4676fdd4f7", "score": "0.5913057", "text": "@Override\r\n\tpublic void method6() {\n\r\n\t}", "title": "" }, { "docid": "7030c4f1163697a293880bfede661677", "score": "0.59047353", "text": "private void Goal() {\n\t\t\r\n\t}", "title": "" }, { "docid": "159bff53d9698a2e6231fc6f39dd13a7", "score": "0.5902634", "text": "@Override\r\n\tpublic void method4() {\n\t}", "title": "" }, { "docid": "60e50abec8df6d4d5a80de13ba750171", "score": "0.590251", "text": "@Override\r\n\tpublic void retour() {\n\t\t\r\n\t}", "title": "" }, { "docid": "72de7907ef7f55104d42291c18ea6ade", "score": "0.5902302", "text": "@Override\r\n\tprotected void abstractMethod() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cce15f647f795017e06f2ca544477ccd", "score": "0.58990556", "text": "@Override\n\tpublic void chamCong() {\n\n\t}", "title": "" }, { "docid": "32c6659f4b67f97f906dd1d88fae1699", "score": "0.5896696", "text": "public abstract void mo23702Po();", "title": "" }, { "docid": "37d2eaf46e7240d752c51cbfac433601", "score": "0.58925486", "text": "public void mo89966b() {\n }", "title": "" }, { "docid": "54db842a7ba675cf42c0f819c75c87ae", "score": "0.5889733", "text": "public void example(){\r\n\t}", "title": "" }, { "docid": "4335fc8a106c3c7f1306354caea5bce2", "score": "0.58885205", "text": "@Override\r\n\tpublic void getInfo() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0b2971269fe98b0ff303e308456ac5b5", "score": "0.58872026", "text": "public void method_2917() {\r\n super.method_2917();\r\n }", "title": "" } ]
17d9cf9d687f12e9af5317c5d1288f54
Sets the role card of player.
[ { "docid": "0a9c6910a3cf82ac9fc8e3a946b3b548", "score": "0.7892927", "text": "public void setRole(RoleCard role) {\r\n this.role = role;\r\n }", "title": "" } ]
[ { "docid": "101b10ed947683ee627efadaca31c81c", "score": "0.785923", "text": "public void setRole(final Role playerRole) {\n role = playerRole;\n }", "title": "" }, { "docid": "36f05f827996ab9224b5a05f48b12012", "score": "0.7142108", "text": "void setRole(String role);", "title": "" }, { "docid": "78c8fa2e153f63c3e206697997c04603", "score": "0.7098867", "text": "public void setRole(Object role);", "title": "" }, { "docid": "756d30ccebfa427a1ba41772cfa0cfe4", "score": "0.6680635", "text": "public void setRole(jp.co.isken.beerGame.entity.Role v) {\r\n this.role = v;\r\n }", "title": "" }, { "docid": "9cb8af28e32d71c62e50e8ee2167c158", "score": "0.6579796", "text": "public void setPrefRole(String role)\r\n {\r\n prefRole = role;\r\n }", "title": "" }, { "docid": "3da18e5d4aa5ad22710cefdf618e3a59", "score": "0.6532905", "text": "void setPlayedRole(/*AssociationSet*/List<org.hl7.rim.Role> playedRole);", "title": "" }, { "docid": "e6d5011c41cef26bb4efae0a86803121", "score": "0.64676684", "text": "private void setRole(int roleType) {\r\n if(roleType==0){\r\n this.role=\"Villain\";\r\n }\r\n else{\r\n this.role=\"Hero\";\r\n }\r\n \r\n }", "title": "" }, { "docid": "7386f2160d08cd4c5702b7153b5a9f42", "score": "0.6445522", "text": "public void takeRole() {\n /* Make sure they are in a set room */\n if (!(curPlayer.getRoom() instanceof SetRoom)) {\n displayMessage(\"Whoops, you cannot take a role in the trailer or office!\");\n return;\n }\n /* Make sure there is still a movie being filmed */\n if (((SetRoom)curPlayer.getRoom()).getScene() == null) {\n displayMessage(\"Whoops, looks like the scene has ended filming for the day.\");\n return;\n }\n /* Get list of roles and convert too list of role names */\n List<String> roleNames = new ArrayList<String>();\n for (Role curRole : curPlayer.getRoles()) {\n roleNames.add(curRole.getName());\n }\n /* Display possible roles and get selected role */\n String selectedRoleName = board.selectionBox(\"What role?\", roleNames);\n for (Role r : curPlayer.getRoles()) {\n if(r.getName().equals(selectedRoleName)) {\n if(curPlayer.getRank() < r.getRank()) {\n displayMessage(\"Sorry bud, you need a little more experience for that role.\");\n return;\n } else {\n curPlayer.takeRole(r);\n }\n }\n }\n /* Update player information in view and location */\n curPlayer.hasActed(true);\n board.paintActions(curPlayer);\n board.paintPlayer(curPlayer);\n endTurn();\n }", "title": "" }, { "docid": "6b2b38da4ed0b80363275d165a7f3ee0", "score": "0.635285", "text": "public void setRole(String role) {\r\n\t\t this.role = role;\r\n\t }", "title": "" }, { "docid": "b0599c39d4665232f40fa8aecf8e62b6", "score": "0.6346973", "text": "@Override\r\n\tpublic void performRole(Player player) {}", "title": "" }, { "docid": "5e3ba66ed9741dc56002c0047f3b6764", "score": "0.6334547", "text": "void addPlayedRole(org.hl7.rim.Role playedRole);", "title": "" }, { "docid": "515673c43a6ec34b3dc6e510cd2f859f", "score": "0.63159215", "text": "public RoleCard role() {\r\n return role;\r\n }", "title": "" }, { "docid": "0b75b92ff56925ca600299726f8d4238", "score": "0.6249335", "text": "public void setRole(Role role) {\n\t\tthis.role = role; \n\t}", "title": "" }, { "docid": "1b256af01fff0dfeb4ba094e784b5891", "score": "0.6228148", "text": "public void setRole(java.lang.String role) {\n this.role = role;\n }", "title": "" }, { "docid": "a310ee30e8d1237056640caaaaac5a2e", "score": "0.62096024", "text": "public void setRole(String role) {\n this.role = role;\n }", "title": "" }, { "docid": "cc1e623113c2f1ae5907ee0827288072", "score": "0.62081814", "text": "public void setPartnerRole(Role partnerRole);", "title": "" }, { "docid": "cdbf79bb21ca59dd2fec5ccb261334b5", "score": "0.6201918", "text": "public void setRole(java.lang.String role)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ROLE$0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ROLE$0);\n }\n target.setStringValue(role);\n }\n }", "title": "" }, { "docid": "0881a883082962be24598a283431de0e", "score": "0.6171858", "text": "public void setRole(Role role) {\n\t\tthis.role = role;\n\t}", "title": "" }, { "docid": "c2251764b4ae47766ebef9324b1c7507", "score": "0.6162814", "text": "public Builder setRole(int value) {\r\n \r\n role_ = value;\r\n onChanged();\r\n return this;\r\n }", "title": "" }, { "docid": "c2251764b4ae47766ebef9324b1c7507", "score": "0.6162814", "text": "public Builder setRole(int value) {\r\n \r\n role_ = value;\r\n onChanged();\r\n return this;\r\n }", "title": "" }, { "docid": "77a992a4ae41fd24397a199c45e0942f", "score": "0.61066276", "text": "public void setRole(String role) {\r\n\t\tthis.role = role;\r\n\t}", "title": "" }, { "docid": "77a992a4ae41fd24397a199c45e0942f", "score": "0.61066276", "text": "public void setRole(String role) {\r\n\t\tthis.role = role;\r\n\t}", "title": "" }, { "docid": "183e9bbc56f4fe0db469dcc1a32c6673", "score": "0.60808414", "text": "public void setRole(java.lang.String newRole) {\n\trole = newRole;\n}", "title": "" }, { "docid": "75c9d938c12346621334616d476b01b0", "score": "0.6073405", "text": "private void setRoleValue(int value) {\n role_ = value;\n }", "title": "" }, { "docid": "bf666a662d28690c179a7eac1a0e6896", "score": "0.60387206", "text": "private void setRole(GroupMemberRole value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n role_ = value.getNumber();\n }", "title": "" }, { "docid": "a9782757e6e44d028a734b3210c9ea2f", "score": "0.6018485", "text": "public void setRole(String role) {\n\t\tthis.role = role;\n\t}", "title": "" }, { "docid": "cc59d7b7422169319355917900eb7ac8", "score": "0.5929538", "text": "public void setRole(String role) {\n\t\tthis.role = role == null ? null : role.trim();\n\t}", "title": "" }, { "docid": "fee208c9b7b507bd72a07b8ad000115c", "score": "0.5887755", "text": "public void setRole(String v) {\n if (EntityMention_Type.featOkTst && ((EntityMention_Type)jcasType).casFeat_role == null)\n jcasType.jcas.throwFeatMissing(\"role\", \"de.julielab.jules.types.ace.EntityMention\");\n jcasType.ll_cas.ll_setStringValue(addr, ((EntityMention_Type)jcasType).casFeatCode_role, v);}", "title": "" }, { "docid": "1fa67af0b0676f787da6e0f192fba2c2", "score": "0.5877622", "text": "public void setUserRole(UserRole role) {\n this.role = role;\n }", "title": "" }, { "docid": "a53c77c8a255675465333b171d54a841", "score": "0.5867009", "text": "void setRoleRestriction(Role roleRestriction);", "title": "" }, { "docid": "ae798b41b63d374e7783880e92c1125b", "score": "0.5840778", "text": "public void xsetRole(org.apache.xmlbeans.XmlAnyURI role)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlAnyURI target = null;\n target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(ROLE$0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_attribute_user(ROLE$0);\n }\n target.set(role);\n }\n }", "title": "" }, { "docid": "fbc3eae743b12fd42b90df48b32cc5c2", "score": "0.5818906", "text": "public void setRole(String param) {\n\t\tthis.roleName = param;\n\t}", "title": "" }, { "docid": "1d35d9a67f538a65b1a4633de9c664e4", "score": "0.57881904", "text": "void setRole(String role, IProgressMonitor monitor) throws RodinDBException;", "title": "" }, { "docid": "4b08a3b6183cc21d76c6974e93840295", "score": "0.5774765", "text": "private void attemptRoleAssignment() {\n Guild guild = theEvent.getGuild();\n Category category = guild.getCategoryById(\"556266020625711130\");\n\n if (category == null)\n return;\n\n MessageChannel channel = theEvent.getChannel();\n Role role = guild.getRolesByName(courseId, true).get(0);\n List<TextChannel> channels = guild.getTextChannelsByName(courseId, true);\n List<TextChannel> electiveChannels = category.getTextChannels();\n\n if (Objects.requireNonNull(guild.getMember(theEvent.getAuthor())).getRoles().contains(role))\n channel.sendMessage(\"You already have this role!\").complete();\n\n else if (channels.isEmpty() || !electiveChannels.contains(channels.get(0)))\n channel.sendMessage(\"I cannot set you to that role\").complete();\n\n else {\n guild.addRoleToMember(Objects.requireNonNull(theEvent.getMember()), role).queue();\n channel.sendMessage(\"Role \" + courseId + \" added to \"\n + Objects.requireNonNull(theEvent.getMember()).getAsMention()).complete();\n }\n }", "title": "" }, { "docid": "63baaca8d58e3790669f52dc5594c8e6", "score": "0.5738284", "text": "void setLocalRole(BluetoothDevice device, int role) {\n mDeviceRoleMap.put(device, role);\n }", "title": "" }, { "docid": "fa7af53730b7972878ff65f798cfa541", "score": "0.5648623", "text": "public void setRoles()\r\n\t{\r\n\t\tfor (Role r : discordMember.getRoles())\r\n\t\t{\r\n\t\t\trolesOfMember.addRole(r);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "4874614913593416236284e02fe17b5c", "score": "0.56451756", "text": "public void setRole(org.apache.axis.types.URI role) {\n this.role = role;\n }", "title": "" }, { "docid": "8b7511e3de7f0e8a7b33f0425b616f96", "score": "0.56272113", "text": "public void setCard(Card card) {\r\n this.card = card;\r\n }", "title": "" }, { "docid": "75a87afebd7773ea4c5f772ca2f8ced5", "score": "0.56158066", "text": "public void setrCard(Card rCard) {\r\n\t\tif (this.roomCard == null) this.roomCard = rCard;\r\n\t}", "title": "" }, { "docid": "041ab4fc02944fb171471336f785e361", "score": "0.5606076", "text": "public void setPlayer(final Player player) {\n }", "title": "" }, { "docid": "26cb15b8ba1ee167ff0bb4439ddf2e60", "score": "0.55327225", "text": "public void setFaceCard(){\n if (rank == 1){\n this.faceCard = \"Ace\";\n }\n else if (rank == 11){\n this.faceCard = \"Jack\";\n }\n else if (rank == 12){\n this.faceCard = \"Queen\";\n }\n else if (rank == 13){\n this.faceCard = \"King\";\n }\n }", "title": "" }, { "docid": "24491ae5f543f1e7a115ca77bc8c0853", "score": "0.55285275", "text": "void setRoleArray(int i, com.exacttarget.wsdl.partnerapi.Role role);", "title": "" }, { "docid": "4d8b3d81bd6a1445dd4fda672e501833", "score": "0.55165005", "text": "void setRoles(com.exacttarget.wsdl.partnerapi.AccountUser.Roles roles);", "title": "" }, { "docid": "07b4fe69fa49196cd318b2588a45752f", "score": "0.55052114", "text": "public void setRank(int r)\n {\n switch(r)\n {\n case 1:\n rank = ACE;\n break;\n case 2:\n case 3:\n case 4:\n case 5:\n case 6:\n case 7:\n case 8:\n case 9:\n case 10:\n rank = r;\n break;\n case 11:\n rank = JACK;\n break;\n case 12:\n rank = QUEEN;\n break;\n case 13:\n rank = KING;\n break;\n default:\n System.out.println(\"Invalid card number.\");\n rank = ACE;\n break;\n } \n }", "title": "" }, { "docid": "20fc43f53b71613e2614dfb6c71adde5", "score": "0.5505122", "text": "@Override\n\tpublic void updateRole(Role role) {\n\n\t}", "title": "" }, { "docid": "fdd83d0b7c380eff64105fc4ebaf1b0f", "score": "0.5497826", "text": "public void setRoles(Roles roles) {\n this.roles = roles;\n }", "title": "" }, { "docid": "09b01c458235df169e66da1f8578e330", "score": "0.5477849", "text": "@Override\r\n\tpublic boolean setRole(Member member, Role role) {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "400a025d827568eba7f8fdcca0cf1fcc", "score": "0.5469151", "text": "@Override\n public void setPlayer(Player player) {\n this.player = player;\n }", "title": "" }, { "docid": "d35dc1446353d5e4ba6f6c546c974961", "score": "0.5461787", "text": "@Override\n public void setApplicationRole(UserRole role) {\n this.applicationRole = role;\n }", "title": "" }, { "docid": "30634e21d800d3bb606233bf96004387", "score": "0.5461021", "text": "public void setPlayer(Player player)\n {\n this.player = player;\n }", "title": "" }, { "docid": "3cc99f3609a9ed8f76f5e486eed6a590", "score": "0.5458641", "text": "private boolean assign(MessageReceivedEvent event, String[] args){\n TextChannel channel = event.getTextChannel();\n if (args.length != 0) {\n String target = StringUtil.construct(args, 1);\n Role role = DiscordUtil.findRole(target, event.getGuild());\n if (role != null) {\n if (!DiscordUtil.isRestricted(role)) {\n event.getGuild().addRoleToMember(event.getMember(), role).queue();\n DiscordUtil.queueMessage(String.format(\"%s role added!\", role), channel);\n return true;\n } else {\n DiscordUtil.queueErrorMessage(String.format(\"%s can't be assigned!\", role.getName()), channel);\n }\n } else {\n DiscordUtil.queueErrorMessage(String.format(\"%s is not a role!\", target), channel);\n }\n } else {\n DiscordUtil.queueMessage(\"What role do you want to be assigned?\", channel);\n }\n return false;\n }", "title": "" }, { "docid": "46c81643c55a98f78d444f5b065872c1", "score": "0.5452253", "text": "void setScopedRole(/*AssociationSet*/List<org.hl7.rim.Role> scopedRole);", "title": "" }, { "docid": "bd95a7b3a669e6d017ccece9aa22e1be", "score": "0.54445106", "text": "public void setPlayer(Player newPlayer) {\n this.player = newPlayer;\n }", "title": "" }, { "docid": "805a9f6b3e1d1f91cac0ff4089e1a441", "score": "0.54383725", "text": "public void setPlayer(Player player) {\r\n\t\t\t\tthis.player = player;\r\n\t\t\t}", "title": "" }, { "docid": "65b4c9c2a4c32a3f8792380889ea56ee", "score": "0.5436491", "text": "@Test\n public void testSetRole() {\n LoginUser instance = new LoginUser();\n instance.setRole(role);\n }", "title": "" }, { "docid": "4b41134772e356ebb64dbfc9a9be9233", "score": "0.5426435", "text": "protected void setPlayer(final Player player) {\n\t\tthis.player = player;\n\t}", "title": "" }, { "docid": "98caae9a8747c441ceb5b65e28d5f66f", "score": "0.54148245", "text": "public static void setPlayer(char player){\n Connect4.player = player;\n }", "title": "" }, { "docid": "44a3b9234e270c723b8a8c03dcc23bdf", "score": "0.5390024", "text": "public void setPlayer(Player player){\r\n\t\tthis.player = player;\r\n\t\tthis.setIcon(player.getIcon());\r\n\t}", "title": "" }, { "docid": "b0951c25ab553895ff7d03de0b3be18b", "score": "0.5383842", "text": "public RedisConnectOptions setRole(RedisRole role) {\n this.role = role;\n return this;\n }", "title": "" }, { "docid": "f5b2815842764022adbc13d342f26691", "score": "0.5383442", "text": "public String getRole() {\r\n\t\t return this.role;\r\n\t }", "title": "" }, { "docid": "f02b4771f147a25698e5099e3bc98c41", "score": "0.53758174", "text": "public void setPlayer(Player p ){\n this.player = p;\n }", "title": "" }, { "docid": "f3fa9550374cedeecdce153c6b89c870", "score": "0.5374239", "text": "public void setCurrentPlayer(Player pl){\r\n currentPlayer = pl;\r\n }", "title": "" }, { "docid": "6c98821429c2c4759358eb0bdae96d1b", "score": "0.535998", "text": "public void setCurrentPlayer(int player){\n b.setCurrentPlayer(player);\n }", "title": "" }, { "docid": "9fce8c0d7cc32274178f3785664c1d1c", "score": "0.5329721", "text": "public String getRole() {\n return role;\n }", "title": "" }, { "docid": "9fce8c0d7cc32274178f3785664c1d1c", "score": "0.5329721", "text": "public String getRole() {\n return role;\n }", "title": "" }, { "docid": "9fce8c0d7cc32274178f3785664c1d1c", "score": "0.5329721", "text": "public String getRole() {\n return role;\n }", "title": "" }, { "docid": "9fce8c0d7cc32274178f3785664c1d1c", "score": "0.5329721", "text": "public String getRole() {\n return role;\n }", "title": "" }, { "docid": "be59346d2e3ff0e44e0612c9e5f04bc7", "score": "0.5315294", "text": "public String getRole() \r\n {\r\n return role;\r\n }", "title": "" }, { "docid": "c120a041ca25800a24948ff45afcbf13", "score": "0.5308783", "text": "public void addRole(Role role);", "title": "" }, { "docid": "9d3befecabdea506c070c39ad7704794", "score": "0.5284917", "text": "public void setPlayer(Player player) {\n\t\tstatsPanel.setPlayer(player);\n\t\tequipmentPanel.setPlayer(player);\n\t}", "title": "" }, { "docid": "fa17abcb0084d1320e465a295231f112", "score": "0.52661926", "text": "public String getRole() {\r\n\t\treturn role;\r\n\t}", "title": "" }, { "docid": "fa17abcb0084d1320e465a295231f112", "score": "0.52661926", "text": "public String getRole() {\r\n\t\treturn role;\r\n\t}", "title": "" }, { "docid": "736504e4e711a8d581aadd713b45c907", "score": "0.525611", "text": "public Builder setRoleType(int value) {\n bitField0_ |= 0x00000004;\n roleType_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "a2893bd359ab521a87bd5045eedb1218", "score": "0.5252397", "text": "void changeRole(User user, Role role, String token) throws AuthenticationException;", "title": "" }, { "docid": "2f87f872f3e7fb936cefe68648926547", "score": "0.52505857", "text": "public void setRoles(Set<Role> roles);", "title": "" }, { "docid": "e1c2fc7841e643fb322482c94a46f2e9", "score": "0.5245263", "text": "public CardRole getCardRole(Card card){\n return cardsRoles.getCardRole(card);\n }", "title": "" }, { "docid": "90f7ee961f3bafc36c22708bb3aab00f", "score": "0.5245034", "text": "public void setRoles(List<Roles> roles) {\r\n\t\t// if(role instanceof Roles){\r\n\t\t// \tthis.roles.add(role);\r\n\t\t// }\r\n\t\t// this.role.add(role);\r\n\t\tthis.roles=roles;\r\n\t}", "title": "" }, { "docid": "b0781aa40d23c43ec1da315c33ae4ddd", "score": "0.523673", "text": "public void setLinkRole(Role linkRole);", "title": "" }, { "docid": "2defe77b494bc08e108e7cbc6ae2e892", "score": "0.5232149", "text": "@Override\r\n public void setCurrentPlayer(Player player) {\r\n f_player = player;\r\n }", "title": "" }, { "docid": "1de2db0c963a3a71b5c82eb39a07b38d", "score": "0.52231145", "text": "void setArmor(int armor);", "title": "" }, { "docid": "e0735552ce536c6adfe70ec8ca6ce4a6", "score": "0.5217889", "text": "public void changePlayer() {\r\n\t\tif (currentPlayerMark == 'X') {\r\n\t\t\tcurrentPlayerMark = 'O';\r\n\t\t} else {\r\n\t\t\tcurrentPlayerMark = 'X';\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "65655d0f361ca0f7d485ac7512915fb3", "score": "0.5217542", "text": "public void addRole(Role r) {\n }", "title": "" }, { "docid": "54237c18bb20ff18b943c298f6b3ff76", "score": "0.52165294", "text": "public void setCurrentPlayer(Player player) {\n\t\tcurrentPlayer = player;\n\t}", "title": "" }, { "docid": "86a717600cfd9fb3342bfab808c7191f", "score": "0.52125674", "text": "public Builder role(Coding role) {\n this.role = role;\n return this;\n }", "title": "" }, { "docid": "d7543bf9c5d20422bfc84b3dbae36c82", "score": "0.5212352", "text": "void setObjectTrainerCard(ObjectTrainer objectCardTrainer);", "title": "" }, { "docid": "0d0af60900e33a1ff6d8921c5aa9afe6", "score": "0.52073354", "text": "public void chooseRole() {\r\n\t\tfor (int i = 0; i < roleDropdownValues.size(); i++) {\r\n\t\t\tif (i==1) {\r\n\t\t\t\tWebdriverUtils.waitForElementPresent(BaseClass.driver, roleDropdownValues.get(i));\r\n\t\t\t\troleDropdownValues.get(i).click();\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "677d523faffe022d8dc476302cc67ecf", "score": "0.5207101", "text": "public void setCharacterPlayer(String name) {\n\t\tif (name.equals(\"8 Bit Avatar\")) {\n\t\t\t_player = new Avatar(\"8Bit Avatar\", _8bit);\n\t\t\trepaint();\n\t\t}\n\n\t\tif (name.equals(\"16 Bit Avatar\")) {\n\t\t\t_player = new Avatar(\"16Bit Avatar\", _16bit);\n\t\t\trepaint();\n\t\t}\n\n\t\tif (name.equals(\"Modern Avatar\")) {\n\t\t\t_player = new Avatar(\"Modern Avatar\", _modern);\n\t\t\trepaint();\n\t\t}\n\t}", "title": "" }, { "docid": "83e6d0265e55c4c8f66c18250c46ac08", "score": "0.5202488", "text": "void setRoleArray(com.exacttarget.wsdl.partnerapi.Role[] roleArray);", "title": "" }, { "docid": "c653edfbd51cdf4a99326b014eafbb3e", "score": "0.5191568", "text": "public void setOwnerRole (java.lang.String ownerRole) {\n\t\tthis.ownerRole = ownerRole;\n\t}", "title": "" }, { "docid": "5e25a388389e69d115770eddd8ebcc2d", "score": "0.51879007", "text": "public String getRole() {\n\t\treturn role;\n\t}", "title": "" }, { "docid": "5e25a388389e69d115770eddd8ebcc2d", "score": "0.51879007", "text": "public String getRole() {\n\t\treturn role;\n\t}", "title": "" }, { "docid": "b2c48ace08acc8e96ce3c5546a2cf226", "score": "0.51856047", "text": "public Role getRole() {\r\n return role;\r\n }", "title": "" }, { "docid": "9c577526ff5a78c240c5ba8d454dc191", "score": "0.5183427", "text": "public int getRole() {\r\n return role_;\r\n }", "title": "" }, { "docid": "9c577526ff5a78c240c5ba8d454dc191", "score": "0.5183427", "text": "public int getRole() {\r\n return role_;\r\n }", "title": "" }, { "docid": "e2552242caea2af0b2c8c2159261a320", "score": "0.5179388", "text": "@Required\n @Updatable\n public RoleResource getRole() {\n return role;\n }", "title": "" }, { "docid": "85bdf27c5b2b878096f423627f60203e", "score": "0.5178375", "text": "public void setIndividualPlayerCards(Card card) {\n\t\tthis.individualPlayerCards.add(card);\n\t}", "title": "" }, { "docid": "784b007193fc9efeaa7adbbf7c5268bf", "score": "0.5178075", "text": "public void setRoles(Set<Role> roles) {\n\t\tthis.roles = roles;\n\t}", "title": "" }, { "docid": "83161bef0dccaa687719e452db74a9ab", "score": "0.5175364", "text": "public void setSelectedAvailableRole(final RoleDto selectedAvailableRole) {\n\t\tthis.selectedAvailableRole = selectedAvailableRole;\n\t}", "title": "" }, { "docid": "22d3da1131b25dda5d150c41569ecc36", "score": "0.51745385", "text": "public void setContactByRole(typekey.ContactRole role, entity.Contact contact) {\n ((com.guidewire.cc.domain.contact.EntityContactRoleOwner)__getDelegateManager().getImplementation(\"com.guidewire.cc.domain.contact.EntityContactRoleOwner\")).setContactByRole(role, contact);\n }", "title": "" }, { "docid": "8f81f4adee99d660140b8c20245dee86", "score": "0.51712763", "text": "public void changePlayer() {\n\n if (playerTurn == 0)\n playerTurn = 1;\n else if (playerTurn == 1)\n playerTurn = 0;\n }", "title": "" } ]
b7e05367474c7f58bd71ef335d819c3a
remove the item from the user's list
[ { "docid": "e456403e37e7df0de7ee7b13845e0feb", "score": "0.64556557", "text": "public void removeItemFromFirebase(final String removeItem) {\n rootRef.child(\"users\").child(mUser.getUid()).child(\"buckits\").child(removeItem).setValue(null);\n\n //remove the user from the item's list of users\n Query query = rootRef.child(\"buckits\").child(removeItem).child(\"users\").orderByValue().startAt(mUser.getUid()).limitToFirst(1);\n query.addListenerForSingleValueEvent(new ValueEventListener() {\n @Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n if (dataSnapshot.getChildren().iterator().hasNext()) {\n Log.d(\"key\", dataSnapshot.getChildren().iterator().next().getKey());\n rootRef.child(\"buckits\").child(removeItem).child(\"users\").child(dataSnapshot.getChildren().iterator().next().getKey()).setValue(null);\n }\n }\n\n @Override\n public void onCancelled(DatabaseError databaseError) {\n\n }\n });\n\n //decrease the number of users by 1\n rootRef.child(\"buckits\").child(removeItem).child(\"num_users\").runTransaction(new Transaction.Handler() {\n @Override\n public Transaction.Result doTransaction(MutableData mutableData) {\n if (mutableData != null) {\n if (mutableData.getValue() == null) {\n mutableData.setValue(1);\n } else {\n // Set value and report transaction success\n int num_users = mutableData.getValue(Integer.class);\n mutableData.setValue(--num_users);\n }\n }\n return Transaction.success(mutableData);\n }\n @Override\n public void onComplete(DatabaseError databaseError, boolean b,DataSnapshot dataSnapshot) {}\n });\n }", "title": "" } ]
[ { "docid": "b91a4c54bdedb15ddbdf0186f5780890", "score": "0.7365414", "text": "public void remove(Info_HiDoctor_UserApp data) {\n int position = list.indexOf(data);\n list.remove(position);\n notifyItemRemoved(position);\n }", "title": "" }, { "docid": "4cf7e1ad32d462e898e3c4c5a8d4bc04", "score": "0.73594904", "text": "public void removeItem(Answer theItem) {\r\n \titemList.remove(theItem);\r\n }", "title": "" }, { "docid": "50659a7a4b963b14dd4f39a169fd18dc", "score": "0.7329578", "text": "void removeFromWishToLend(IUserAccount user, ItemInterface item) throws Exception;", "title": "" }, { "docid": "2276ff13e07eecc48133a58158267720", "score": "0.7278599", "text": "public void remove_user(User new_user){\n list_of_users.remove(new_user);\n }", "title": "" }, { "docid": "da2a54d40d1df6278e189be2c57d9785", "score": "0.727558", "text": "public void removeUser() {\n\tObject selected = getPresenceTree().getSelectionPath().getLastPathComponent();\n\n\tUserInvite u = (UserInvite) selected;\n\tDSMPProto p = DSMPGenerator.dropInvitee((byte) 0,dispatcher.meetingID,u.inviteID,u.participantID,false,true);\n\tdispatcher.dispatchProtocol(p);\n}", "title": "" }, { "docid": "2dbf7a3033c3593a528884846aa5400d", "score": "0.71775496", "text": "public void removeUser(User p){\n users.remove(p);\n }", "title": "" }, { "docid": "a3820d5247dcdea645219249d51e3d12", "score": "0.71620035", "text": "void remove(User user);", "title": "" }, { "docid": "690249c113aaea41698771dc41f81b03", "score": "0.7156734", "text": "void removeUser();", "title": "" }, { "docid": "0e662a567079acaf8f05e525216c9101", "score": "0.7131058", "text": "public synchronized void rmUser(String nm) {\n\t\tclListModel.removeElement(nm);\n\t}", "title": "" }, { "docid": "368ec974336243d4b7d6d0147be24ae8", "score": "0.7057548", "text": "void removeFromWishToBorrow(IUserAccount user, ItemInterface item) throws Exception;", "title": "" }, { "docid": "c994087772a58b9edde4d2ca8aca9e43", "score": "0.7026296", "text": "private void deletePressed() {\n // Get selected user\n int index = userList.getSelectedIndex();\n String username = userField.getText();\n\n // Check that the user to be deleted isn't the signed in user\n if (user.getUsername().equals(username)) {\n JOptionPane.showMessageDialog(null, \"Signed in user cannot be removed\");\n }\n // The user is not the user signed in\n else {\n // Remove user from the database and clear input fields\n userData.remove(userList.getSelectedValue());\n clearFields();\n index--;\n if (index == -1) {\n if (userData.getSize() != 0) {\n index = 0;\n }\n }\n userList.setSelectedIndex(index);\n checkListSize();\n JOptionPane.showMessageDialog(null, String.format(\"User '%s' successfully deleted\", username));\n }\n }", "title": "" }, { "docid": "5de44271ea8a341065a031dd80fbdfa4", "score": "0.70048296", "text": "public void removeUserFromList(String nick){\r\n\t\tfor(int i = 0; i < listModel.size(); i ++){\r\n\t\t\tif ( listModel.get(i).toString().equals(nick) || listModel.get(i).toString().equals(nick.substring(1))) {\r\n\t\t\t\tlistModel.remove(i);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "af02ea038c00e9efca321a4cf87124a1", "score": "0.6989754", "text": "public void removeByUserID(int userID);", "title": "" }, { "docid": "a95d2dfadbfec2d24d8167a8eac55933", "score": "0.6977817", "text": "public Item removeItem();", "title": "" }, { "docid": "b494de1b722538eaa956f066a3a99677", "score": "0.6967649", "text": "@Override\n\t\tpublic void onUserListDeletion(User arg0, UserList arg1) {\n\t\t}", "title": "" }, { "docid": "03cbe01d52d0c8e896582b0bf4f9e7e1", "score": "0.69334084", "text": "private void removeUser(User user) {\r\n\t\tdata.remove(user);\r\n\t\tadapter.notifyDataSetChanged();\r\n\t}", "title": "" }, { "docid": "ca40f94a5e10e448abe133916788b09c", "score": "0.6910798", "text": "public void removeItem(Item anItem)\n {\n item.remove(anItem); //remove the item\n }", "title": "" }, { "docid": "6867cbae9f6f4cf793f69b8fbaff729e", "score": "0.6906649", "text": "void remove(Item item);", "title": "" }, { "docid": "eac241f41d80aa6c0fdd11a26e137037", "score": "0.68614155", "text": "@Override\n public void removeFromParent() {\n for(User u: userList) {\n u.getTaskTypeList().remove(this);\n }\n }", "title": "" }, { "docid": "143583cbb0c9f5cbb80514af311156be", "score": "0.68322265", "text": "public static int RemoveToListInRoomGUI(int id, String userName){\n for (RoomPannel rP: rPList){\n if (rP.IDROOM == id){\n rP.RemoveFromList(userName);\n }\n }\n return 1;\n }", "title": "" }, { "docid": "f29965051465a621e0550a72fe332f13", "score": "0.6772121", "text": "public static void removeItem(){\n System.out.print(\"Enter the remove item name: \");\n String itemName = scanner.nextLine();\n groceryList.removeGroceryItem(itemName);\n }", "title": "" }, { "docid": "03a13aeccf41066df7179c17390fd41e", "score": "0.673503", "text": "@Override\r\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tif (e.getSource() == addButton){\r\n\t\t\tList<User> selected = list.getSelectedValuesList();\r\n\t\t\tif (selected == null){\r\n\t\t\t\tJOptionPane.showMessageDialog(this, \"Please select users!\",\r\n\t\t\t\t\t\t\"Input Error\", JOptionPane.ERROR_MESSAGE);\r\n\t\t\t}else{\r\n\t\t\t\tfor (int i = 0; i < selected.size(); i++){\r\n\t\t\t\t\tlistModel.remove(i); /// how?\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "5782cef53bdd43f800608b15a8000974", "score": "0.6730547", "text": "@Override\n\t\tpublic void onUserListMemberDeletion(User arg0, User arg1, UserList arg2) {\n\t\t}", "title": "" }, { "docid": "4eb77105240d0c5409cfaeaf3a52e3cf", "score": "0.66972166", "text": "public void removeUsers(final EverisUser user);", "title": "" }, { "docid": "acec39dec9a04548063352381fa8e2cf", "score": "0.6693823", "text": "public boolean deleteUser(String key)\r\n\t{\r\n\t\tfor(User user:list)\r\n\t\t{\r\n\t\t\tif(user.getKey().equals(key) ) {\r\n\t\t\t\tlist.remove(user);\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t\t\t\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "f8bcf82919285ac09a39d955d6763eea", "score": "0.6677582", "text": "public void removeItem(int position){\n deletedItem = profesorListFiltered.remove(position);\n Iterator<Profesor> iter = profesorList.iterator();\n while (iter.hasNext()){ //recorre la lista de profesores\n Profesor aux = iter.next();\n if (deletedItem.equals(aux)) //hasta encontrar el profesor que es igual\n iter.remove(); //acá lo remueve de la lista\n }\n notifyItemRemoved(position);\n }", "title": "" }, { "docid": "148d49c1c615bb9d449e3bcb01075f39", "score": "0.6672747", "text": "public void deleteUser() {\n\t\tadminText.setText(\"\");\n\t\tint selectedNum = userList.getSelectionModel().getSelectedIndex();\n\t\t\n\t\ttry {\n\t\t\tif (selectedNum != -1) {\n\t\t\t\tMain.curApp.users.remove(selectedNum);\n\t\t\t\tadminText.setText(\"deleted\");\n\t\t\t\t\n\t\t\t\tif (Main.curApp.users.size() > 0) {\n\t\t\t\t\tuserList.getSelectionModel().select(0);\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t\tMain.saveCurApp();\n\t\t\treload();\n\t\t}catch (Exception e) {\n\t\t\tSystem.out.println(\"deleteUser error\");\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "38c99cb9a2b1cbd07899fdc7e2299bf9", "score": "0.6665191", "text": "public void deleteUser(ActionEvent event) {\n\t\tif(listView.getSelectionModel().getSelectedIndex()==-1) {\n\t\t\treturn;\n\t\t}\n\t\tif (users.isEmpty()) {\n\t\t\tAlert a = new Alert(AlertType.ERROR, \"There are no users on file. Add users to proceed.\", ButtonType.OK);\n\t\t\ta.show();\t\n\t\t\treturn;\n\t\t}\n\t\tUser user = listView.getSelectionModel().getSelectedItem();\n\t\tif (user.getUsername().equals(\"stock\")) {\n\t\t\tAlert a = new Alert(AlertType.ERROR, \"Cannot delete stock user.\", ButtonType.OK);\n\t\t\ta.show();\t\n\t\t\treturn;\n\t\t}\n\t\telse {\n\t\t\tusers.remove(users.indexOf(user));\n\t\t\tController.allUsers.remove(user);\n\t\t\temptyCreateAndDeleteInfo();\n\t\t\tlistView.setItems(users);\n\t\t}\n\t}", "title": "" }, { "docid": "c2da2d6ee1d4a54e4962f6d060c21522", "score": "0.6652667", "text": "void removeByName(User user);", "title": "" }, { "docid": "81d74841fa98f59e01f3a176f8039107", "score": "0.6649792", "text": "@FXML\r\n protected void DeleteUser(ActionEvent event) throws IOException\r\n {\r\n ObservableList<String> itemsToDelete, allItems;\r\n allItems = userListView.getItems();\r\n itemsToDelete = userListView.getSelectionModel().getSelectedItems();\r\n\r\n for (String item : itemsToDelete) {\r\n // Never delete stock user.\r\n if (\"stock\".equals(item)) {\r\n continue;\r\n }\r\n\r\n User x = new User(item);\r\n UserDataStore.delete(x);\r\n }\r\n\r\n System.out.println(itemsToDelete.toString());\r\n itemsToDelete.forEach(allItems::remove);\r\n }", "title": "" }, { "docid": "8561a5ba1dfa5cf3e1d2b62d53463aa6", "score": "0.6643354", "text": "public void remove_all_users(){\n list_of_users.removeAll(list_of_users);\n }", "title": "" }, { "docid": "7689a255c70a6b4420ad642468af9f9a", "score": "0.66334724", "text": "public void removeMyItems() {\n\t\tint p = 0;\n\t\tList<ProfileItem> profile = mDive.getProfile();\n\t\tfor(Iterator<ProfileItem> it = profile.iterator(); it.hasNext(); ) {\n\t\t\tProfileItem i = it.next();\n\t\t\tif(i.getLineSource() == mSource) {\n\t\t\t\tif(p > 0) {\n\t\t\t\t\tProfileItem lastItem = profile.get(p - 1);\n\t\t\t\t\tif(i.isActive() && ! lastItem.isActive()) {\n\t\t\t\t\t\tlastItem.setActive(true);\n\t\t\t\t\t\t//lastItem.commit();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tit.remove();\n\t\t\t} else {\n\t\t\t\tp++;\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "25fdb5ea3de0d010d378cfc05afab31b", "score": "0.66183764", "text": "public void removeFromStudy() {\n List<StudyUser> studyUsers = new ArrayList<StudyUser>();\n List<User> users = new ArrayList<User>(Arrays.asList(availableUsers));\n\n for (StudyUser su : assignedUsers) {\n if (su.isSelected()) {\n session.delete(su);\n users.add(su.getUser());\n } else {\n studyUsers.add(su);\n }\n }\n availableUsers = users.toArray(new User[0]);\n assignedUsers = studyUsers.toArray(new StudyUser[0]);\n }", "title": "" }, { "docid": "87e39b7b9eb31f52f37c38058db5a74b", "score": "0.6591811", "text": "public void remove() {\n\t\tonlineUsers.remove(this.uuid);\n\t}", "title": "" }, { "docid": "584003fa276557e360492594a6e8327b", "score": "0.6567331", "text": "public void clearList() {\n\t\tsetUsersList(new ItemListUsersBean());\n\t\tgetUsersList().setCurrentUserKey(getCurrentUser().getKey());\n\t\tgetUsersList().setListEditorEJB(listEditorEJB);\n\t}", "title": "" }, { "docid": "1acd937453e1b1f4deea0f1e78f02795", "score": "0.6565981", "text": "@Override\r\n\tpublic void onRemoveBlocked(int code, GotyeUser user) {\n\t\t\r\n\t}", "title": "" }, { "docid": "d146eb75c77cb446203a6a5a2ee6e6c3", "score": "0.65651876", "text": "public void removeItem() {\r\n\t\tthis.getItemList().remove(0);\r\n\t\tthis.decrementNumber();\r\n\t}", "title": "" }, { "docid": "f5a1bce0c4b44155f60962e01f334580", "score": "0.6562134", "text": "@Override\r\n\tpublic void removeFavoritesItem(long userId, long movieId) {\n\t\tif (userFavorites.containsKey(userId)) {\r\n\t\t\tFavoriutes cart = userFavorites.get(userId);\r\n List<MovieList> menuItemList = cart.getMovieList();\r\n for (MovieList menuItem : menuItemList) {\r\n if (menuItem.getId() == movieId) {\r\n menuItemList.remove(menuItem);\r\n }\r\n }\r\n cart.setMovieList(menuItemList);\r\n userFavorites.put(userId, cart);\r\n \r\n }\r\n}", "title": "" }, { "docid": "40dad6cce071534a0e37f53ef6591bb5", "score": "0.6555697", "text": "private void removeItem() {\n\t\tpurchase.getPurchaseDetails().remove(currentPosition);\n\t\tpurchaseDetailItems.remove(currentPosition);\n\t\t// remove from list view\n\t\tListView purchaseDetailList = (ListView) findViewById(R.id.listView_purchasedetail);\n\t\tPurchaseDetailListAdapter badapter = (PurchaseDetailListAdapter) purchaseDetailList.getAdapter();\n\t\tbadapter.notifyDataSetChanged();\n\t}", "title": "" }, { "docid": "00d7a92171293f553488cf160fe2edef", "score": "0.65475976", "text": "public void handle(ActionEvent e){\n User toDelete = userList.getSelectionModel().getSelectedItem();\n Context.getInstance().removeUser(toDelete);\n userList.getItems().remove(toDelete);\n \n //delete serialization\n File file = new File(System.getProperty(\"user.dir\") + \"/data/Users/\" + toDelete.getUsername() + \".ser\");\n file.delete();\n }", "title": "" }, { "docid": "ef9ff628c19c4c1fb7b9d8f856a4224c", "score": "0.6543472", "text": "public void removeItem(T value) ;", "title": "" }, { "docid": "58e06b3854af9471943b13e1d52f4183", "score": "0.6516142", "text": "private void removeItem() {\n System.out.println(\"Enter item to remove from inventory:\");\n String itemName = ItemTracker.scanner.nextLine();\n inventory.removeItem(itemName);\n }", "title": "" }, { "docid": "01c0045e2c13e1825d904dfac201136b", "score": "0.6512653", "text": "protected void removeItemFromList(String itemontouch) {\n final String deletePosition = itemontouch;\n\n AlertDialog.Builder alert = new AlertDialog.Builder(\n ViewListContents.this);\n\n alert.setTitle(\"Delete\");\n alert.setMessage(\"Do you want delete this item?\");\n alert.setPositiveButton(\"YES\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n Deleteraw(deletePosition);\n\n }\n });\n alert.setNegativeButton(\"CANCEL\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n // TODO Auto-generated method stub\n dialog.dismiss();\n }\n });\n\n alert.show();\n\n }", "title": "" }, { "docid": "149b6226fa8e63afcd6b3191d5a75317", "score": "0.6505197", "text": "@DELETE\n @Path(\"/remove/{id}\")\n public Response deleteUser(@PathParam(\"id\") long id) {\n Predicate<User> user = u ->u.getId() == id;\n if (!userList.removeIf(user)) {\n return Response.status(Response.Status.BAD_REQUEST).build();\n } else\n for (int i = 0; i < notifList.size(); i++) {\n if (notifList.get(i).getOwner().getId() == id) {\n notifList.remove(i);\n }\n }\n return Response.status(Response.Status.OK).build();\n }", "title": "" }, { "docid": "7b77d84b8e73de3c3c2ff6ab038dd570", "score": "0.64784175", "text": "public void remove(Item item) {\n int position = list.indexOf(item);\n list.remove(position);\n notifyItemRemoved(position);\n storeArrayVal(itemsList, context.getApplicationContext());\n\n }", "title": "" }, { "docid": "9f3c2e71fa3fa9694ab90023f63754b4", "score": "0.64766926", "text": "private void deleteUser() {\r\n\r\n System.out.println(this.getEtat() + \" supprime!\");\r\n if(this.getEtat().matches(\"membre\")) {\r\n BaseDonnees.getMembres().remove(this);\r\n } else {\r\n if(this.getEtat().matches(\"professionnel\")) {\r\n BaseDonnees.getProfessionnels().remove(this);\r\n } else { BaseDonnees.getEmployes().remove(this); }\r\n }\r\n Objects.requireNonNull(BaseDonnees.getUser(this.numero)).setEtat(\"termine\");\r\n System.out.println(MenuGYM.buildString(false));\r\n\r\n }", "title": "" }, { "docid": "bcd341d6cdd56894a3cee34860155135", "score": "0.64697987", "text": "public void removeItem(String item) {\n\t}", "title": "" }, { "docid": "c78aff33ccc2f72731d9e7f41e0ef8b2", "score": "0.6458631", "text": "public void removeItem(View view){\n //get the saved values of username and email from the Shared Preference file 'userData' file\n SharedPreferences recipeData = getSharedPreferences(\"recipeData\",0);\n String recipeList = recipeData.getString(\"recipe\", \"\");\n SharedPreferences.Editor editor = recipeData.edit();\n //Create new Array List\n ArrayList<String> newList = new ArrayList<String>(Arrays.asList(recipeList.split(\"\\n\")));\n //find listvew\n ListView lists = findViewById(R.id.showSaved);\n\n for (int i =0; i< lists.getCount(); i++)\n {\n if (lists.isItemChecked(i)) //checks if the items are checked\n {\n newList.remove(lists.getItemAtPosition(i)); //remove recipe that was checked at the position\n }\n }\n //outputs the string array as string\n String output = new String(newList.toString());\n output = output.replace(\", \", \"\\n\");\n output = output.replace(\"[\",\"\");\n output = output.replace(\"]\",\"\");\n editor.putString(\"recipe\", output);\n editor.commit();\n\n //displays the removed items\n ArrayAdapter<String> remRec = new ArrayAdapter<String>(SavedRecipes.this, android.R.layout.simple_list_item_multiple_choice,newList);\n lists.setAdapter(remRec);\n lists.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);\n }", "title": "" }, { "docid": "072e34af53ca4635c0986e88aa86fb7e", "score": "0.64582723", "text": "private void removeItem(int position) {\n getterSetterTeachingAssistantList = getterSetterTeachingAssistant.get(position);\n SQLiteHandlerTeachingAssistant db = new SQLiteHandlerTeachingAssistant(context);\n db.deleteTeachingAssistantProfile(getterSetterTeachingAssistantList);\n notifyItemRemoved(position);\n }", "title": "" }, { "docid": "fcc6563fa6513e5f5d5a33460207d9e8", "score": "0.64569974", "text": "public void removeOwner() {\n\tObject selected = getPresenceTree().getSelectionPath().getLastPathComponent();\n\n\tUserInvite u = (UserInvite) selected;\n\tDSMPProto p = DSMPGenerator.assignOwnership((byte) 0,dispatcher.meetingID,u.participantID,false);\n\tdispatcher.dispatchProtocol(p);\n}", "title": "" }, { "docid": "0adeb40091093faca6b40602a1cebe69", "score": "0.6448319", "text": "public void removeItem() {\n\t\tthis.item = null;\n\t}", "title": "" }, { "docid": "7dd7e556f0c74e29bdd817a8475f6a9d", "score": "0.64471644", "text": "void deleteUser (User userIn)\n {\n int Id = userIn.getId();\n for (int i=0; i< usersCount; i++)\n {\n if (users[i].getId() == Id)\n {\n for(int j=i; j<usersCount-2; j++)\n {\n users[j]=users[j+1];\n }\n usersCount--;\n break;\n }\n }\n }", "title": "" }, { "docid": "88af3e125f877ad68784b0d94588a184", "score": "0.64353293", "text": "public void deleteSelectedUser(ActionEvent e) {\n\t\tSystem.out.println(\"deleting \" + userListView.getSelectionModel().getSelectedItem());\n\t\ttry {\n\t\t\tthis.photoGallery.deleteUser((User) userListView.getSelectionModel().getSelectedItem());\n\t\t\tuserListView.setItems(this.photoGallery.getObservableUserList());\n\t\t} catch (Exception e1) {\n\t\t\tAlert alert = new Alert(AlertType.ERROR);\n\t\t\talert.setContentText(e1.getMessage());\n\t\t\talert.showAndWait();\n\t\t}\n\t}", "title": "" }, { "docid": "eff3808a7ba77de92c9ff22de4f5bdb8", "score": "0.64246124", "text": "public void removeFromFollowers(final User item, final CartFollower value)\n\t{\n\t\tremoveFromFollowers( getSession().getSessionContext(), item, value );\n\t}", "title": "" }, { "docid": "baa771b501adae88fecce456df8d2d16", "score": "0.6422388", "text": "public void removeItem(String item)\n {\n inv.remove(item);\n }", "title": "" }, { "docid": "17ef21e76ca72e1a83feaa50384c1124", "score": "0.6417602", "text": "public void removeItem(ToDoList list, int i){\n list.list.remove(i);\n TDListPermanent.list.remove(i);\n // this automatically removes the row from the columns\n\n }", "title": "" }, { "docid": "205ed53d6b2060620d6e2bf4002386cd", "score": "0.6416996", "text": "@Override\r\n public void deleteUser(ArrayList<User> users, String name) {\n \r\n }", "title": "" }, { "docid": "1361cd410d3a49df9c23640020993a63", "score": "0.6413398", "text": "@Override\n\t\tpublic void onUserListUnsubscription(User arg0, User arg1, UserList arg2) {\n\t\t}", "title": "" }, { "docid": "5639d7aa5d3d127a46e8ee6731dd3d56", "score": "0.6403929", "text": "public void removeGroceryList(String item){\n int position = findItem(item);\n if ( position >= 0)\n removeGroceryList(position);\n else\n System.out.println(\"Don ' have this item already!\");\n }", "title": "" }, { "docid": "ff6f047d7f8d9e75ef4ba9b597c69890", "score": "0.6399388", "text": "public void removeFromWishlist(Item i){\n\t\twishlist.remove(i);\n\t}", "title": "" }, { "docid": "7f8ba8a2e4b0fed9ba93d5e9a943aa40", "score": "0.6396323", "text": "public void remove(int id){\r\n accountList.remove(id);\r\n }", "title": "" }, { "docid": "377ffb155801969b6457a2e2cbfff3ef", "score": "0.63919437", "text": "public void removeFavourite(String id,String user_id);", "title": "" }, { "docid": "75d0af1ae3bcdfb1b36c043656d5b072", "score": "0.6378068", "text": "public void removeItem(Item item) {\n\t\titemList.remove(item);\n\t}", "title": "" }, { "docid": "acfde4617323cf5c15ef0400bf650cbc", "score": "0.63615894", "text": "private void removePressed() {\n\t\tsetPresentsDefaultValue(false);\n\t\tint index = list.getSelectionIndex();\n\n\t\tListActions act = new ListActions();\n\t\tact.action = ListActions.DELETE;\n\t\tact.element = index;\n\t\tactions.add(act);\n\n\t\tif (index >= 0) {\n\t\t\tlist.remove(index);\n\t\t\tselectionChanged();\n\t\t}\n\t}", "title": "" }, { "docid": "72b761aba749ced27c26607662ba25e1", "score": "0.63613933", "text": "public void remove() {}", "title": "" }, { "docid": "72b761aba749ced27c26607662ba25e1", "score": "0.63613933", "text": "public void remove() {}", "title": "" }, { "docid": "72b761aba749ced27c26607662ba25e1", "score": "0.63613933", "text": "public void remove() {}", "title": "" }, { "docid": "ce8e6ec29cc7e314d8074d55e77f6264", "score": "0.6359077", "text": "@Override\n\t\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\t\tlist.remove(position);\n\t\t\t\t\t\tnotifyDataSetChanged();\n\t\t\t\t\t}", "title": "" }, { "docid": "ca151e0c70a2b2b2ff48129cbe3e55f7", "score": "0.6357811", "text": "@Override\n\tpublic void removeItem(GItem item){\n\t\titems.remove(item.getID());\n\t}", "title": "" }, { "docid": "d3aaabaf398e43a881b34daebe76b196", "score": "0.6350316", "text": "boolean removeUser(int userID);", "title": "" }, { "docid": "ebaa5fd7150596df4f10942279958f3e", "score": "0.63477045", "text": "@Override\n public void onClick(View v) {\n list.remove(position);\n notifyDataSetChanged();\n }", "title": "" }, { "docid": "8ba8033655f7feab006fec4d9b2a8f25", "score": "0.6341222", "text": "public void remove();", "title": "" }, { "docid": "8ba8033655f7feab006fec4d9b2a8f25", "score": "0.6341222", "text": "public void remove();", "title": "" }, { "docid": "8ba8033655f7feab006fec4d9b2a8f25", "score": "0.6341222", "text": "public void remove();", "title": "" }, { "docid": "8ba8033655f7feab006fec4d9b2a8f25", "score": "0.6341222", "text": "public void remove();", "title": "" }, { "docid": "8ba8033655f7feab006fec4d9b2a8f25", "score": "0.6341222", "text": "public void remove();", "title": "" }, { "docid": "5da9145a0712cbfb433a3b2c79b73c3c", "score": "0.6330214", "text": "public void remove(IUser user) throws RuntimeException {\n if(!userList.remove(user)){\n throw new RuntimeException();\n }\n else userList.remove(user);\n }", "title": "" }, { "docid": "1a452d2c562ced5c353df9ebfb1ec8f0", "score": "0.6319577", "text": "public void removeSelectedToDoList(ActionEvent actionEvent) {\n Task assignment;\n assignment = listTasks.getSelectionModel().getSelectedItem();\n listTasks.getItems().remove(assignment);\n labeldispTaskName.setText(\"\");\n labelselectedTask.setText(\"\");\n buttonRemoveToDoList.setDisable(true);\n\n }", "title": "" }, { "docid": "d0ac92b590ec3c3b9bc1083317e0670d", "score": "0.63120675", "text": "public void removeListItem(View view) {\n model.removeElement(view.getName());\n jList1.repaint();\n }", "title": "" }, { "docid": "7c95e6d978dfb2d11addeb27417bdbc7", "score": "0.6311672", "text": "private void removeUser() {\r\n\t\tUserRepository ur;\r\n\r\n\t\tur = new UserRepository(em);\r\n\r\n\t\tif (!ur.remove(ap.getUserId())) {\r\n\t\t\tSystem.err.println(\"User with ID = \" + ap.getUserId()\r\n\t\t\t\t\t+ \" not found.\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "b61dd4d63f1f7f71de25cb6486479102", "score": "0.63114506", "text": "public void removeSongFromPlaylist(Playlist selectedItem, Song selectedSong);", "title": "" }, { "docid": "699daa6d1c89882be059a6154fc19e3f", "score": "0.63060445", "text": "public void removeItemFromLocalStorage(String item){\t\t\r\n\t\tthis.executeJavascript(String.format(\"window.localStorage.removeItem('%s');\", item));\r\n\t}", "title": "" }, { "docid": "8c8b6d5e4580348770969badf8c40c38", "score": "0.6297146", "text": "@Override\r\n\tpublic void onRemoveFriend(int code, GotyeUser user) {\n\t\t\r\n\t}", "title": "" }, { "docid": "bb8aa20c350651570c17c66938859486", "score": "0.62911195", "text": "@Override\n\tpublic void delete(User user) {\n\t\tusers.remove(user);\n\t}", "title": "" }, { "docid": "0728d84930d9535d9f40659888423b49", "score": "0.6279602", "text": "private void deletePetFromPetList() {\n currentPet = petList.getPetArray().get(index);\n String deletedPetName = currentPet.getPetName();\n petList.remove(currentPet);\n JOptionPane.showMessageDialog(frame, String.format(\"Successfully removed %s from profile.\", deletedPetName));\n }", "title": "" }, { "docid": "c51cf5a9eb06eae755b007aa8b6e0d4a", "score": "0.62650704", "text": "public void remove(Data data) {\n int position = list.indexOf(data);\n list.remove(position);\n notifyItemRemoved(position);\n }", "title": "" }, { "docid": "c51cf5a9eb06eae755b007aa8b6e0d4a", "score": "0.62650704", "text": "public void remove(Data data) {\n int position = list.indexOf(data);\n list.remove(position);\n notifyItemRemoved(position);\n }", "title": "" }, { "docid": "ac49341b1d971f0094ebda9b41adb6e5", "score": "0.62585545", "text": "public abstract void removeUser(int userId);", "title": "" }, { "docid": "6689c940431d6c9769e47f6c03ecb53c", "score": "0.62537074", "text": "void remove();", "title": "" }, { "docid": "6689c940431d6c9769e47f6c03ecb53c", "score": "0.62537074", "text": "void remove();", "title": "" }, { "docid": "0410824e152f47a5e74155dd81497493", "score": "0.6251017", "text": "public void removeUser(Socket oldUser)\n\t{\n\t\tthis.userList.remove(oldUser);\n\t}", "title": "" }, { "docid": "70b14c062e78accab32b41889dba94fb", "score": "0.624575", "text": "@Override\n public boolean onActionItemClicked(androidx.appcompat.view.ActionMode mode, MenuItem item) {\n switch (item.getItemId()) {\n case R.id.menu_remove:\n List<Integer> selectedAccounts = ((AccountsAdapter) mAdapter).getSelectedItems();\n for(Integer position : selectedAccounts) {\n Account accountToBeRemoved = mAccounts.get(position);\n // Remove the user from the database\n // FIXME: 05/07/2019 DO NOT EXECUTE AN ASYNCTASK IN A FOR LOOP--THE APP WILL HAVE TOO MANY THREADS\n // RUNNING AT ONCE\n new DeleteAccountsAsyncTask().execute(accountToBeRemoved);\n }\n\n // Remove account from the RecyclerView on the UI\n ((AccountsAdapter) mAdapter).removeItems(selectedAccounts);\n mode.finish();\n Toast.makeText(getActivity(), \"Account(s) removed from your vault!\",\n Toast.LENGTH_SHORT).show();\n return true;\n\n default:\n return false;\n }\n }", "title": "" }, { "docid": "3cab62b9c1aec5bd68f1ddf8e4bc02d1", "score": "0.6242735", "text": "private void processItemRemoval() {\n TreeMap<Integer, Book> cartItems = getCartMap(this.user.getItems());\n if(cartItems == null || cartItems.size() == 0) {\n emptyCartCheckoutHandler();\n } else {\n System.out.println(\"You have following Items in your cart.\");\n System.out.println(this.user.getItems().displayCart(cartItems));\n System.out.println(\"Please select the Index of Item you want to remove\");\n Scanner inputReader = new Scanner(new InputStreamReader(System.in, Charset.forName(\"UTF-8\")));\n try {\n int userInput = inputReader.nextInt();\n if (userInput > cartItems.size()) {\n System.out.println(\"Index Does not Exist. Enter valid input. Try Again.\");\n processItemRemoval();\n }\n if (this.user.getItems().removeItem(cartItems.get(userInput))) {\n this.user.setItems(this.user.getItems());\n System.out.println(\"Item Removed Successfully\");\n //this.user.setItems();\n } else {\n System.out.println(\"There was some error. We apologize for inconvenience. Please try again\");\n processItemRemoval();\n }\n } catch (Exception e) {\n System.out.println(\"Only Whole Numbers Allowed. Enter Valid Input!\");\n //e.printStackTrace();\n processItemRemoval();\n }\n }\n }", "title": "" }, { "docid": "4482a40245266aa4734626b65f0b5bc4", "score": "0.6240758", "text": "protected void remove( Component item ){\n int index = items.indexOf( item );\n if( index >= 0 )\n remove( index );\n }", "title": "" }, { "docid": "6ec93f7b276d402620e8babbf915d1e5", "score": "0.62406105", "text": "public void removeFromWishlist(Integer itemID){\n\t\tItem toRemove = null;\n\t\tfor (Item item : wishlist) {\n\t\t\tif (item.getItemID().equals(itemID)) {\n\t\t\t\ttoRemove = item;\n\t\t\t}\n\t\t}\n\t\tif(!(toRemove == null)) {\n\t\t\tremoveFromWishlist(toRemove);\n\t\t}\n\t}", "title": "" }, { "docid": "033bca4f86c9c467629f579734ad7a0b", "score": "0.62361324", "text": "@Override\r\n\tpublic void onRemoveBlocked(int code, GotyeUser user) {\n\t\tloadData();\r\n\t}", "title": "" }, { "docid": "1221e3d9ad91ff658cc7e91a1c020642", "score": "0.62352556", "text": "public void removeListItem(int id) {\n try {\n mDBHelper.getListItemTable().deleteById(id);\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "5be3663ab48e151e75151ff0ba53f9c3", "score": "0.6234625", "text": "public void remove(Data data) {\n int position = list.indexOf(data);\n list.remove(position);\n notifyItemRemoved(position);\n }", "title": "" }, { "docid": "f9f6f68a75b70a3f44479938a26a5ee8", "score": "0.62249655", "text": "@Override\r\n public void deleteUser(ArrayList<User> users, int id) {\n \r\n }", "title": "" }, { "docid": "081a5abc2fa519b7d900bc53af810691", "score": "0.621924", "text": "public void removeFriends(){\n dynamicRun(removeFriendMenu, \"Back\");\n }", "title": "" } ]
eeece16cb4cca6dd111bbdc5fc97f861
$ANTLR end "entryRuleConstraints" $ANTLR start "ruleConstraints" InternalDsl.g:1263:1: ruleConstraints : ( ( rule__Constraints__Group__0 ) ) ;
[ { "docid": "60cbbab155e02739b58f8ddbbfbe2b87", "score": "0.77705353", "text": "public final void ruleConstraints() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:1267:2: ( ( ( rule__Constraints__Group__0 ) ) )\n // InternalDsl.g:1268:2: ( ( rule__Constraints__Group__0 ) )\n {\n // InternalDsl.g:1268:2: ( ( rule__Constraints__Group__0 ) )\n // InternalDsl.g:1269:3: ( rule__Constraints__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getConstraintsAccess().getGroup()); \n }\n // InternalDsl.g:1270:3: ( rule__Constraints__Group__0 )\n // InternalDsl.g:1270:4: rule__Constraints__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__Constraints__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getConstraintsAccess().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": "e0cfcd7cfa043c5c13b3a476436c063b", "score": "0.71838987", "text": "public final void rule__Constraints__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:12870:1: ( ( 'constraint' ) )\n // InternalDsl.g:12871:1: ( 'constraint' )\n {\n // InternalDsl.g:12871:1: ( 'constraint' )\n // InternalDsl.g:12872:2: 'constraint'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getConstraintsAccess().getConstraintKeyword_1()); \n }\n match(input,99,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getConstraintsAccess().getConstraintKeyword_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": "6247ed46d0eaeed8cec4619f7ca81f56", "score": "0.69456476", "text": "public final void entryRuleConstraints() throws RecognitionException {\n try {\n // InternalDsl.g:1255:1: ( ruleConstraints EOF )\n // InternalDsl.g:1256:1: ruleConstraints EOF\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getConstraintsRule()); \n }\n pushFollow(FOLLOW_1);\n ruleConstraints();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getConstraintsRule()); \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": "cf4720773c9ae3c61f1ba71cbd43ae24", "score": "0.67785156", "text": "public final void ruleEConstraints() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:2453:2: ( ( ( rule__EConstraints__Group__0 ) ) )\n // InternalAADMParser.g:2454:2: ( ( rule__EConstraints__Group__0 ) )\n {\n // InternalAADMParser.g:2454:2: ( ( rule__EConstraints__Group__0 ) )\n // InternalAADMParser.g:2455:3: ( rule__EConstraints__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEConstraintsAccess().getGroup()); \n }\n // InternalAADMParser.g:2456:3: ( rule__EConstraints__Group__0 )\n // InternalAADMParser.g:2456:4: rule__EConstraints__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__EConstraints__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEConstraintsAccess().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": "7330bb5bdf6418b8bec1c66ff0f0279f", "score": "0.6659367", "text": "public final EObject entryRuleConstraints() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleConstraints = null;\n\n\n try {\n // InternalPlatoon.g:589:52: (iv_ruleConstraints= ruleConstraints EOF )\n // InternalPlatoon.g:590:2: iv_ruleConstraints= ruleConstraints EOF\n {\n newCompositeNode(grammarAccess.getConstraintsRule()); \n pushFollow(FOLLOW_1);\n iv_ruleConstraints=ruleConstraints();\n\n state._fsp--;\n\n current =iv_ruleConstraints; \n match(input,EOF,FOLLOW_2); \n\n }\n\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n }\n return current;\n }", "title": "" }, { "docid": "754cef1525bf67c774c393e3a7ffd65c", "score": "0.6647652", "text": "public final void ruleConstraint() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:1292:2: ( ( ( rule__Constraint__Group__0 ) ) )\n // InternalDsl.g:1293:2: ( ( rule__Constraint__Group__0 ) )\n {\n // InternalDsl.g:1293:2: ( ( rule__Constraint__Group__0 ) )\n // InternalDsl.g:1294:3: ( rule__Constraint__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getConstraintAccess().getGroup()); \n }\n // InternalDsl.g:1295:3: ( rule__Constraint__Group__0 )\n // InternalDsl.g:1295:4: rule__Constraint__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__Constraint__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getConstraintAccess().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": "3d69b64d0b21b96cd2844a2fad9f4715", "score": "0.6547997", "text": "Collection<Constraint> getGroupConstraints(Group group);", "title": "" }, { "docid": "3571d07d96bf2f4f2d60e07dea048957", "score": "0.6467809", "text": "public final void rule__EConstraints__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:18681:1: ( rule__EConstraints__Group__0__Impl rule__EConstraints__Group__1 )\n // InternalAADMParser.g:18682:2: rule__EConstraints__Group__0__Impl rule__EConstraints__Group__1\n {\n pushFollow(FOLLOW_23);\n rule__EConstraints__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__EConstraints__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": "b593e3ee011c32613407c08b3322f24b", "score": "0.635069", "text": "public final void rule__ProcessDSL__ConstraintsAssignment_7() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:36508:1: ( ( ruleConstraints ) )\n // InternalDsl.g:36509:2: ( ruleConstraints )\n {\n // InternalDsl.g:36509:2: ( ruleConstraints )\n // InternalDsl.g:36510:3: ruleConstraints\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getProcessDSLAccess().getConstraintsConstraintsParserRuleCall_7_0()); \n }\n pushFollow(FOLLOW_2);\n ruleConstraints();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getProcessDSLAccess().getConstraintsConstraintsParserRuleCall_7_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": "80e1d972327bd9aac3998e3fff3b959b", "score": "0.63253754", "text": "public final void rule__EDataTypeBody__Group_1_2__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:6710:1: ( ( Constraints ) )\n // InternalAADMParser.g:6711:1: ( Constraints )\n {\n // InternalAADMParser.g:6711:1: ( Constraints )\n // InternalAADMParser.g:6712:2: Constraints\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEDataTypeBodyAccess().getConstraintsKeyword_1_2_0()); \n }\n match(input,Constraints,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEDataTypeBodyAccess().getConstraintsKeyword_1_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": "7cef94534b35ebd70336b2fef472c13d", "score": "0.6319731", "text": "public final void rule__Constraints__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:12843:1: ( ( () ) )\n // InternalDsl.g:12844:1: ( () )\n {\n // InternalDsl.g:12844:1: ( () )\n // InternalDsl.g:12845:2: ()\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getConstraintsAccess().getConstraintsAction_0()); \n }\n // InternalDsl.g:12846:2: ()\n // InternalDsl.g:12846:3: \n {\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getConstraintsAccess().getConstraintsAction_0()); \n }\n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "817998299177a4dcf9e5a71f7ecbdd0d", "score": "0.624787", "text": "public final void rule__Constraints__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:12831:1: ( rule__Constraints__Group__0__Impl rule__Constraints__Group__1 )\n // InternalDsl.g:12832:2: rule__Constraints__Group__0__Impl rule__Constraints__Group__1\n {\n pushFollow(FOLLOW_74);\n rule__Constraints__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Constraints__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": "ada473cd20ae58a23ba6c037ef91633e", "score": "0.6219251", "text": "public final void rule__EPropertyDefinitionBody__Group_5__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:13968:1: ( ( Constraints ) )\n // InternalAADMParser.g:13969:1: ( Constraints )\n {\n // InternalAADMParser.g:13969:1: ( Constraints )\n // InternalAADMParser.g:13970:2: Constraints\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEPropertyDefinitionBodyAccess().getConstraintsKeyword_5_0()); \n }\n match(input,Constraints,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEPropertyDefinitionBodyAccess().getConstraintsKeyword_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": "754cc4d34bb7a7932c7b2e9c6d9e9683", "score": "0.6189699", "text": "public final void rule__ProcessType__ConstraintsAssignment_3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:36148:1: ( ( ruleConstraints ) )\n // InternalDsl.g:36149:2: ( ruleConstraints )\n {\n // InternalDsl.g:36149:2: ( ruleConstraints )\n // InternalDsl.g:36150:3: ruleConstraints\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getProcessTypeAccess().getConstraintsConstraintsParserRuleCall_3_0()); \n }\n pushFollow(FOLLOW_2);\n ruleConstraints();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getProcessTypeAccess().getConstraintsConstraintsParserRuleCall_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": "9d6f08363480cf77c050de13cfd62c4c", "score": "0.61623687", "text": "public final void rule__EConstraints__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:18693:1: ( ( () ) )\n // InternalAADMParser.g:18694:1: ( () )\n {\n // InternalAADMParser.g:18694:1: ( () )\n // InternalAADMParser.g:18695:2: ()\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEConstraintsAccess().getEConstraintsAction_0()); \n }\n // InternalAADMParser.g:18696:2: ()\n // InternalAADMParser.g:18696:3: \n {\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEConstraintsAccess().getEConstraintsAction_0()); \n }\n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "783de431e0997469a02e8f5a21bc238e", "score": "0.6095859", "text": "public final void rule__EConstraints__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:18719:1: ( ( ( rule__EConstraints__ConstraintsAssignment_1 )* ) )\n // InternalAADMParser.g:18720:1: ( ( rule__EConstraints__ConstraintsAssignment_1 )* )\n {\n // InternalAADMParser.g:18720:1: ( ( rule__EConstraints__ConstraintsAssignment_1 )* )\n // InternalAADMParser.g:18721:2: ( rule__EConstraints__ConstraintsAssignment_1 )*\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEConstraintsAccess().getConstraintsAssignment_1()); \n }\n // InternalAADMParser.g:18722:2: ( rule__EConstraints__ConstraintsAssignment_1 )*\n loop51:\n do {\n int alt51=2;\n int LA51_0 = input.LA(1);\n\n if ( (LA51_0==Greater_or_equal||LA51_0==Less_or_equal||LA51_0==Greater_than||LA51_0==Valid_values||(LA51_0>=Max_length && LA51_0<=Min_length)||LA51_0==Less_than||LA51_0==In_range||LA51_0==Length||LA51_0==Equal) ) {\n alt51=1;\n }\n\n\n switch (alt51) {\n \tcase 1 :\n \t // InternalAADMParser.g:18722:3: rule__EConstraints__ConstraintsAssignment_1\n \t {\n \t pushFollow(FOLLOW_58);\n \t rule__EConstraints__ConstraintsAssignment_1();\n\n \t state._fsp--;\n \t if (state.failed) return ;\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop51;\n }\n } while (true);\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEConstraintsAccess().getConstraintsAssignment_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": "59dadd0bb10171082a66a254c47ec3b6", "score": "0.60014236", "text": "public final void rule__Constraints__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:12858:1: ( rule__Constraints__Group__1__Impl rule__Constraints__Group__2 )\n // InternalDsl.g:12859:2: rule__Constraints__Group__1__Impl rule__Constraints__Group__2\n {\n pushFollow(FOLLOW_11);\n rule__Constraints__Group__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Constraints__Group__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": "00621190b8bb4496a0fb79032becec04", "score": "0.6000516", "text": "public final void rule__ActivationConstraints__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4042:1: ( ( 'ActivationConstraints' ) )\n // InternalComponentDefinition.g:4043:1: ( 'ActivationConstraints' )\n {\n // InternalComponentDefinition.g:4043:1: ( 'ActivationConstraints' )\n // InternalComponentDefinition.g:4044:2: 'ActivationConstraints'\n {\n before(grammarAccess.getActivationConstraintsAccess().getActivationConstraintsKeyword_1()); \n match(input,36,FOLLOW_2); \n after(grammarAccess.getActivationConstraintsAccess().getActivationConstraintsKeyword_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": "ec0c40e96858475dd1fd1f4ec0b58c95", "score": "0.5978505", "text": "public final void entryRuleEConstraints() throws RecognitionException {\n try {\n // InternalAADMParser.g:2441:1: ( ruleEConstraints EOF )\n // InternalAADMParser.g:2442:1: ruleEConstraints EOF\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEConstraintsRule()); \n }\n pushFollow(FOLLOW_1);\n ruleEConstraints();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEConstraintsRule()); \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": "ed2305db4d9a1deb737517704e31ef2b", "score": "0.5965973", "text": "public final void rule__Constraints__ConstraintAssignment_3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:36268:1: ( ( ruleConstraint ) )\n // InternalDsl.g:36269:2: ( ruleConstraint )\n {\n // InternalDsl.g:36269:2: ( ruleConstraint )\n // InternalDsl.g:36270:3: ruleConstraint\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getConstraintsAccess().getConstraintConstraintParserRuleCall_3_0()); \n }\n pushFollow(FOLLOW_2);\n ruleConstraint();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getConstraintsAccess().getConstraintConstraintParserRuleCall_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": "cf826cbbcf5772aaeab9a8f302b6c38d", "score": "0.59325784", "text": "public final void ruleActivationConstraints() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:682:2: ( ( ( rule__ActivationConstraints__Group__0 ) ) )\n // InternalComponentDefinition.g:683:2: ( ( rule__ActivationConstraints__Group__0 ) )\n {\n // InternalComponentDefinition.g:683:2: ( ( rule__ActivationConstraints__Group__0 ) )\n // InternalComponentDefinition.g:684:3: ( rule__ActivationConstraints__Group__0 )\n {\n before(grammarAccess.getActivationConstraintsAccess().getGroup()); \n // InternalComponentDefinition.g:685:3: ( rule__ActivationConstraints__Group__0 )\n // InternalComponentDefinition.g:685:4: rule__ActivationConstraints__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getActivationConstraintsAccess().getGroup()); \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": "ff1a8986113bebc991c615759e945eb8", "score": "0.5888291", "text": "public final void rule__EConstraints__ConstraintsAssignment_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:26681:1: ( ( ruleEConstraint ) )\n // InternalAADMParser.g:26682:2: ( ruleEConstraint )\n {\n // InternalAADMParser.g:26682:2: ( ruleEConstraint )\n // InternalAADMParser.g:26683:3: ruleEConstraint\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEConstraintsAccess().getConstraintsEConstraintParserRuleCall_1_0()); \n }\n pushFollow(FOLLOW_2);\n ruleEConstraint();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEConstraintsAccess().getConstraintsEConstraintParserRuleCall_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": "c234b60cfc0852063a16896f7787220a", "score": "0.5885003", "text": "public final void rule__Constraints__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:12912:1: ( rule__Constraints__Group__3__Impl rule__Constraints__Group__4 )\n // InternalDsl.g:12913:2: rule__Constraints__Group__3__Impl rule__Constraints__Group__4\n {\n pushFollow(FOLLOW_75);\n rule__Constraints__Group__3__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Constraints__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": "eaff04b65f8ffd563c032a194e17b1b7", "score": "0.5846587", "text": "public final void rule__Method__ConstraintsAssignment_3_1_5() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:36418:1: ( ( ruleConstraints ) )\n // InternalDsl.g:36419:2: ( ruleConstraints )\n {\n // InternalDsl.g:36419:2: ( ruleConstraints )\n // InternalDsl.g:36420:3: ruleConstraints\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getMethodAccess().getConstraintsConstraintsParserRuleCall_3_1_5_0()); \n }\n pushFollow(FOLLOW_2);\n ruleConstraints();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getMethodAccess().getConstraintsConstraintsParserRuleCall_3_1_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": "8b3671bdd21367f5d7e97cf8870baab8", "score": "0.5816766", "text": "public final void rule__EDataTypeBody__ConstraintsAssignment_1_2_2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:24262:1: ( ( ruleEConstraints ) )\n // InternalAADMParser.g:24263:2: ( ruleEConstraints )\n {\n // InternalAADMParser.g:24263:2: ( ruleEConstraints )\n // InternalAADMParser.g:24264:3: ruleEConstraints\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEDataTypeBodyAccess().getConstraintsEConstraintsParserRuleCall_1_2_2_0()); \n }\n pushFollow(FOLLOW_2);\n ruleEConstraints();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEDataTypeBodyAccess().getConstraintsEConstraintsParserRuleCall_1_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": "05f3fd66cf530e62b4b70fb03eb4e695", "score": "0.5776386", "text": "public final void rule__EConstraints__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:18708:1: ( rule__EConstraints__Group__1__Impl )\n // InternalAADMParser.g:18709:2: rule__EConstraints__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__EConstraints__Group__1__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": "36daa1caf9e26692c044f5de9b59a214", "score": "0.5774943", "text": "public final void rule__Attribute__ConstraintsAssignment_4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:36193:1: ( ( ruleConstraints ) )\n // InternalDsl.g:36194:2: ( ruleConstraints )\n {\n // InternalDsl.g:36194:2: ( ruleConstraints )\n // InternalDsl.g:36195:3: ruleConstraints\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getAttributeAccess().getConstraintsConstraintsParserRuleCall_4_0()); \n }\n pushFollow(FOLLOW_2);\n ruleConstraints();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getAttributeAccess().getConstraintsConstraintsParserRuleCall_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": "c11d221b206dd7c99d3b55071dad9a96", "score": "0.5766077", "text": "public final void rule__EConstraintList__Group_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:11242:1: ( rule__EConstraintList__Group_1__0__Impl rule__EConstraintList__Group_1__1 )\n // InternalAADMParser.g:11243:2: rule__EConstraintList__Group_1__0__Impl rule__EConstraintList__Group_1__1\n {\n pushFollow(FOLLOW_23);\n rule__EConstraintList__Group_1__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__EConstraintList__Group_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": "cc0ce7a3d96afe1f3a53d9490872273e", "score": "0.57612354", "text": "public void setConstraints(String constraints)\r\n/* 127: */ {\r\n/* 128:136 */ this.constraints = constraints;\r\n/* 129: */ }", "title": "" }, { "docid": "1ffb9e4c37d0e765f1d2586f3ddab1c9", "score": "0.5719196", "text": "public final void rule__EConstraintList__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:11188:1: ( rule__EConstraintList__Group__0__Impl rule__EConstraintList__Group__1 )\n // InternalAADMParser.g:11189:2: rule__EConstraintList__Group__0__Impl rule__EConstraintList__Group__1\n {\n pushFollow(FOLLOW_19);\n rule__EConstraintList__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__EConstraintList__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": "d4a9e4e533919dacc542089637915bed", "score": "0.5678005", "text": "public final void ruleEConstraintList() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:1253:2: ( ( ( rule__EConstraintList__Group__0 ) ) )\n // InternalAADMParser.g:1254:2: ( ( rule__EConstraintList__Group__0 ) )\n {\n // InternalAADMParser.g:1254:2: ( ( rule__EConstraintList__Group__0 ) )\n // InternalAADMParser.g:1255:3: ( rule__EConstraintList__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEConstraintListAccess().getGroup()); \n }\n // InternalAADMParser.g:1256:3: ( rule__EConstraintList__Group__0 )\n // InternalAADMParser.g:1256:4: rule__EConstraintList__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__EConstraintList__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEConstraintListAccess().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": "e3c26a7d6219b783927fa637cdf753a4", "score": "0.56724703", "text": "Constraints getConstraints();", "title": "" }, { "docid": "1d717af13aa7549288a8e900f98e7561", "score": "0.5653939", "text": "public final void rule__Constraints__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:12885:1: ( rule__Constraints__Group__2__Impl rule__Constraints__Group__3 )\n // InternalDsl.g:12886:2: rule__Constraints__Group__2__Impl rule__Constraints__Group__3\n {\n pushFollow(FOLLOW_75);\n rule__Constraints__Group__2__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Constraints__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": "d3329c023681d17e1748c5b48049149a", "score": "0.5593727", "text": "public final void entryRuleConstraint() throws RecognitionException {\n try {\n // InternalDsl.g:1280:1: ( ruleConstraint EOF )\n // InternalDsl.g:1281:1: ruleConstraint EOF\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getConstraintRule()); \n }\n pushFollow(FOLLOW_1);\n ruleConstraint();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getConstraintRule()); \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": "707066c7f507b9d51cf3051292007236", "score": "0.5437732", "text": "public final void rule__EConstraintList__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:11226:1: ( ( ( rule__EConstraintList__Group_1__0 )* ) )\n // InternalAADMParser.g:11227:1: ( ( rule__EConstraintList__Group_1__0 )* )\n {\n // InternalAADMParser.g:11227:1: ( ( rule__EConstraintList__Group_1__0 )* )\n // InternalAADMParser.g:11228:2: ( rule__EConstraintList__Group_1__0 )*\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEConstraintListAccess().getGroup_1()); \n }\n // InternalAADMParser.g:11229:2: ( rule__EConstraintList__Group_1__0 )*\n loop31:\n do {\n int alt31=2;\n int LA31_0 = input.LA(1);\n\n if ( (LA31_0==Comma) ) {\n alt31=1;\n }\n\n\n switch (alt31) {\n \tcase 1 :\n \t // InternalAADMParser.g:11229:3: rule__EConstraintList__Group_1__0\n \t {\n \t pushFollow(FOLLOW_20);\n \t rule__EConstraintList__Group_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 loop31;\n }\n } while (true);\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEConstraintListAccess().getGroup_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": "fbb27cbf667a9a8c9ca6a33a0cbdfe63", "score": "0.5420496", "text": "public final void rule__EAssertionDefinition__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:11146:1: ( ( ( rule__EAssertionDefinition__ConstraintsAssignment_3 ) ) )\n // InternalAADMParser.g:11147:1: ( ( rule__EAssertionDefinition__ConstraintsAssignment_3 ) )\n {\n // InternalAADMParser.g:11147:1: ( ( rule__EAssertionDefinition__ConstraintsAssignment_3 ) )\n // InternalAADMParser.g:11148:2: ( rule__EAssertionDefinition__ConstraintsAssignment_3 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEAssertionDefinitionAccess().getConstraintsAssignment_3()); \n }\n // InternalAADMParser.g:11149:2: ( rule__EAssertionDefinition__ConstraintsAssignment_3 )\n // InternalAADMParser.g:11149:3: rule__EAssertionDefinition__ConstraintsAssignment_3\n {\n pushFollow(FOLLOW_2);\n rule__EAssertionDefinition__ConstraintsAssignment_3();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEAssertionDefinitionAccess().getConstraintsAssignment_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": "fd5d66ca5e55d2b9997d94f8131f1fe6", "score": "0.5406017", "text": "public final void rule__EAssertionDefinition__ConstraintsAssignment_3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:25087:1: ( ( ruleEConstraintList ) )\n // InternalAADMParser.g:25088:2: ( ruleEConstraintList )\n {\n // InternalAADMParser.g:25088:2: ( ruleEConstraintList )\n // InternalAADMParser.g:25089:3: ruleEConstraintList\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEAssertionDefinitionAccess().getConstraintsEConstraintListParserRuleCall_3_0()); \n }\n pushFollow(FOLLOW_2);\n ruleEConstraintList();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEAssertionDefinitionAccess().getConstraintsEConstraintListParserRuleCall_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": "36d97aa98c8a601cf5a6b36261490d6d", "score": "0.53779304", "text": "public final EObject entryRuleConstraint() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleConstraint = null;\n\n\n try {\n // InternalAnn.g:513:51: (iv_ruleConstraint= ruleConstraint EOF )\n // InternalAnn.g:514:2: iv_ruleConstraint= ruleConstraint EOF\n {\n newCompositeNode(grammarAccess.getConstraintRule()); \n pushFollow(FOLLOW_1);\n iv_ruleConstraint=ruleConstraint();\n\n state._fsp--;\n\n current =iv_ruleConstraint; \n match(input,EOF,FOLLOW_2); \n\n }\n\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n }\n return current;\n }", "title": "" }, { "docid": "3a6aba4223043057659c76363ad0ae64", "score": "0.53411794", "text": "public final void rule__ActivationConstraints__Group_7_0__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4300:1: ( rule__ActivationConstraints__Group_7_0__2__Impl rule__ActivationConstraints__Group_7_0__3 )\n // InternalComponentDefinition.g:4301:2: rule__ActivationConstraints__Group_7_0__2__Impl rule__ActivationConstraints__Group_7_0__3\n {\n pushFollow(FOLLOW_32);\n rule__ActivationConstraints__Group_7_0__2__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group_7_0__3();\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": "ffbda020cc533f85ea82f8356483635c", "score": "0.5338653", "text": "public final void rule__ActivationConstraints__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4003:1: ( rule__ActivationConstraints__Group__0__Impl rule__ActivationConstraints__Group__1 )\n // InternalComponentDefinition.g:4004:2: rule__ActivationConstraints__Group__0__Impl rule__ActivationConstraints__Group__1\n {\n pushFollow(FOLLOW_26);\n rule__ActivationConstraints__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group__1();\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": "d580531610a6dd191393368fdea033e1", "score": "0.532437", "text": "public final void rule__ActivationConstraints__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4084:1: ( rule__ActivationConstraints__Group__3__Impl rule__ActivationConstraints__Group__4 )\n // InternalComponentDefinition.g:4085:2: rule__ActivationConstraints__Group__3__Impl rule__ActivationConstraints__Group__4\n {\n pushFollow(FOLLOW_28);\n rule__ActivationConstraints__Group__3__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group__4();\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": "3e6f6dacbdbb29fbfd85b83e1af6f306", "score": "0.5309632", "text": "public final void rule__Constraints__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:12924:1: ( ( ( rule__Constraints__ConstraintAssignment_3 )* ) )\n // InternalDsl.g:12925:1: ( ( rule__Constraints__ConstraintAssignment_3 )* )\n {\n // InternalDsl.g:12925:1: ( ( rule__Constraints__ConstraintAssignment_3 )* )\n // InternalDsl.g:12926:2: ( rule__Constraints__ConstraintAssignment_3 )*\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getConstraintsAccess().getConstraintAssignment_3()); \n }\n // InternalDsl.g:12927:2: ( rule__Constraints__ConstraintAssignment_3 )*\n loop94:\n do {\n int alt94=2;\n int LA94_0 = input.LA(1);\n\n if ( ((LA94_0>=RULE_ID && LA94_0<=RULE_CHAR_SEQUENCE)||LA94_0==RULE_STRING||(LA94_0>=13 && LA94_0<=14)||LA94_0==61||(LA94_0>=166 && LA94_0<=168)||LA94_0==172||LA94_0==179||(LA94_0>=198 && LA94_0<=208)) ) {\n alt94=1;\n }\n\n\n switch (alt94) {\n \tcase 1 :\n \t // InternalDsl.g:12927:3: rule__Constraints__ConstraintAssignment_3\n \t {\n \t pushFollow(FOLLOW_76);\n \t rule__Constraints__ConstraintAssignment_3();\n\n \t state._fsp--;\n \t if (state.failed) return ;\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop94;\n }\n } while (true);\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getConstraintsAccess().getConstraintAssignment_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": "42fe4d83ab858113ecb69fe12a71a13e", "score": "0.52917856", "text": "public final void rule__ActivationConstraints__Group_7_1__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4435:1: ( rule__ActivationConstraints__Group_7_1__2__Impl rule__ActivationConstraints__Group_7_1__3 )\n // InternalComponentDefinition.g:4436:2: rule__ActivationConstraints__Group_7_1__2__Impl rule__ActivationConstraints__Group_7_1__3\n {\n pushFollow(FOLLOW_32);\n rule__ActivationConstraints__Group_7_1__2__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group_7_1__3();\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": "8f38363470fcdda659257e9454a1da06", "score": "0.52775276", "text": "public final void rule__ActivationConstraints__Group_7_0__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4327:1: ( rule__ActivationConstraints__Group_7_0__3__Impl rule__ActivationConstraints__Group_7_0__4 )\n // InternalComponentDefinition.g:4328:2: rule__ActivationConstraints__Group_7_0__3__Impl rule__ActivationConstraints__Group_7_0__4\n {\n pushFollow(FOLLOW_6);\n rule__ActivationConstraints__Group_7_0__3__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group_7_0__4();\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": "aa185afe0bfaaeeb619e9ab88191031f", "score": "0.5266885", "text": "public final void rule__ActivationConstraints__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4057:1: ( rule__ActivationConstraints__Group__2__Impl rule__ActivationConstraints__Group__3 )\n // InternalComponentDefinition.g:4058:2: rule__ActivationConstraints__Group__2__Impl rule__ActivationConstraints__Group__3\n {\n pushFollow(FOLLOW_27);\n rule__ActivationConstraints__Group__2__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group__3();\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": "c4222045e2dd22b50b59c02b14c16225", "score": "0.52635056", "text": "public final void rule__ActivationConstraints__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4015:1: ( ( () ) )\n // InternalComponentDefinition.g:4016:1: ( () )\n {\n // InternalComponentDefinition.g:4016:1: ( () )\n // InternalComponentDefinition.g:4017:2: ()\n {\n before(grammarAccess.getActivationConstraintsAccess().getActivationConstraintsAction_0()); \n // InternalComponentDefinition.g:4018:2: ()\n // InternalComponentDefinition.g:4018:3: \n {\n }\n\n after(grammarAccess.getActivationConstraintsAccess().getActivationConstraintsAction_0()); \n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "7aa3da0d3e1ff97eeff14e6cbe486e19", "score": "0.5261979", "text": "public final void rule__ActivationConstraints__Group_7_1__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4462:1: ( rule__ActivationConstraints__Group_7_1__3__Impl rule__ActivationConstraints__Group_7_1__4 )\n // InternalComponentDefinition.g:4463:2: rule__ActivationConstraints__Group_7_1__3__Impl rule__ActivationConstraints__Group_7_1__4\n {\n pushFollow(FOLLOW_6);\n rule__ActivationConstraints__Group_7_1__3__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group_7_1__4();\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": "181c590e82c0cb95b40cf064421794c0", "score": "0.5251884", "text": "public final void rule__EPropertyDefinitionBody__ConstraintsAssignment_5_2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:25672:1: ( ( ruleEConstraints ) )\n // InternalAADMParser.g:25673:2: ( ruleEConstraints )\n {\n // InternalAADMParser.g:25673:2: ( ruleEConstraints )\n // InternalAADMParser.g:25674:3: ruleEConstraints\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEPropertyDefinitionBodyAccess().getConstraintsEConstraintsParserRuleCall_5_2_0()); \n }\n pushFollow(FOLLOW_2);\n ruleEConstraints();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEPropertyDefinitionBodyAccess().getConstraintsEConstraintsParserRuleCall_5_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": "f2be91e8443c8c75b13f53d40d44fae9", "score": "0.5249539", "text": "public final void rule__EConstraintList__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:11215:1: ( rule__EConstraintList__Group__1__Impl )\n // InternalAADMParser.g:11216:2: rule__EConstraintList__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__EConstraintList__Group__1__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": "87d2a48d757828a478edcabcac05432f", "score": "0.52429813", "text": "public final void rule__Constraint__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:12966:1: ( rule__Constraint__Group__0__Impl rule__Constraint__Group__1 )\n // InternalDsl.g:12967:2: rule__Constraint__Group__0__Impl rule__Constraint__Group__1\n {\n pushFollow(FOLLOW_20);\n rule__Constraint__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__Constraint__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": "028b9d9796e325911bd60ae9292b1212", "score": "0.51914716", "text": "public final void rule__EConstraintList__Group_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:11269:1: ( rule__EConstraintList__Group_1__1__Impl )\n // InternalAADMParser.g:11270:2: rule__EConstraintList__Group_1__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__EConstraintList__Group_1__1__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": "3710959d6fdbd4c9a681fb3b839d7534", "score": "0.5173552", "text": "public final void rule__ActivationConstraints__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4030:1: ( rule__ActivationConstraints__Group__1__Impl rule__ActivationConstraints__Group__2 )\n // InternalComponentDefinition.g:4031:2: rule__ActivationConstraints__Group__1__Impl rule__ActivationConstraints__Group__2\n {\n pushFollow(FOLLOW_12);\n rule__ActivationConstraints__Group__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group__2();\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": "0cd7f3edd3e41901aae386c357100581", "score": "0.5166273", "text": "InputConstraintPackage getInputConstraintPackage();", "title": "" }, { "docid": "ebe6ad370c9731478b4ad6a26151083d", "score": "0.5145231", "text": "public final void rule__ActivationConstraints__Group_7_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4273:1: ( rule__ActivationConstraints__Group_7_0__1__Impl rule__ActivationConstraints__Group_7_0__2 )\n // InternalComponentDefinition.g:4274:2: rule__ActivationConstraints__Group_7_0__1__Impl rule__ActivationConstraints__Group_7_0__2\n {\n pushFollow(FOLLOW_31);\n rule__ActivationConstraints__Group_7_0__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group_7_0__2();\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": "6e406df1bae002d0f8a8b6d21a86c086", "score": "0.5143974", "text": "public final void rule__Constraints__Group__4__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:12950:1: ( ( '}' ) )\n // InternalDsl.g:12951:1: ( '}' )\n {\n // InternalDsl.g:12951:1: ( '}' )\n // InternalDsl.g:12952:2: '}'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getConstraintsAccess().getRightCurlyBracketKeyword_4()); \n }\n match(input,68,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getConstraintsAccess().getRightCurlyBracketKeyword_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": "6ac126e1286ee8a8fc356fb6a29f81d2", "score": "0.51236427", "text": "public final void rule__ActivationConstraints__Group_7_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4246:1: ( rule__ActivationConstraints__Group_7_0__0__Impl rule__ActivationConstraints__Group_7_0__1 )\n // InternalComponentDefinition.g:4247:2: rule__ActivationConstraints__Group_7_0__0__Impl rule__ActivationConstraints__Group_7_0__1\n {\n pushFollow(FOLLOW_28);\n rule__ActivationConstraints__Group_7_0__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group_7_0__1();\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": "6bde04361467db55fd31a2ef803153e9", "score": "0.5122928", "text": "public final void rule__ActivationConstraints__Group_7_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4381:1: ( rule__ActivationConstraints__Group_7_1__0__Impl rule__ActivationConstraints__Group_7_1__1 )\n // InternalComponentDefinition.g:4382:2: rule__ActivationConstraints__Group_7_1__0__Impl rule__ActivationConstraints__Group_7_1__1\n {\n pushFollow(FOLLOW_28);\n rule__ActivationConstraints__Group_7_1__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group_7_1__1();\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": "c3701550bacd062a1f875dfe671a6a2a", "score": "0.5087389", "text": "public final void rule__ActivationConstraints__Group__7() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4192:1: ( rule__ActivationConstraints__Group__7__Impl rule__ActivationConstraints__Group__8 )\n // InternalComponentDefinition.g:4193:2: rule__ActivationConstraints__Group__7__Impl rule__ActivationConstraints__Group__8\n {\n pushFollow(FOLLOW_25);\n rule__ActivationConstraints__Group__7__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group__8();\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": "67183399211f0ddb7ada23f301018886", "score": "0.50678164", "text": "public LogicCriterion constraints();", "title": "" }, { "docid": "bfd5e5b1d5e035d402bca3b91334fc8f", "score": "0.50468963", "text": "public final void rule__ActivationConstraints__Group_7_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4408:1: ( rule__ActivationConstraints__Group_7_1__1__Impl rule__ActivationConstraints__Group_7_1__2 )\n // InternalComponentDefinition.g:4409:2: rule__ActivationConstraints__Group_7_1__1__Impl rule__ActivationConstraints__Group_7_1__2\n {\n pushFollow(FOLLOW_31);\n rule__ActivationConstraints__Group_7_1__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group_7_1__2();\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": "b8e185b455ecb9a490a2071122f42257", "score": "0.5022453", "text": "public final EObject ruleConstraints() throws RecognitionException {\n EObject current = null;\n\n Token otherlv_0=null;\n Token lv_minHeadway_1_0=null;\n Token otherlv_2=null;\n Token otherlv_3=null;\n Token otherlv_4=null;\n Token lv_maxHeadway_5_0=null;\n\n\n \tenterRule();\n\n try {\n // InternalPlatoon.g:602:2: ( (otherlv_0= 'constraints:' ( (lv_minHeadway_1_0= RULE_INT ) ) otherlv_2= '<=' otherlv_3= 'headway' otherlv_4= '<=' ( (lv_maxHeadway_5_0= RULE_INT ) ) ) )\n // InternalPlatoon.g:603:2: (otherlv_0= 'constraints:' ( (lv_minHeadway_1_0= RULE_INT ) ) otherlv_2= '<=' otherlv_3= 'headway' otherlv_4= '<=' ( (lv_maxHeadway_5_0= RULE_INT ) ) )\n {\n // InternalPlatoon.g:603:2: (otherlv_0= 'constraints:' ( (lv_minHeadway_1_0= RULE_INT ) ) otherlv_2= '<=' otherlv_3= 'headway' otherlv_4= '<=' ( (lv_maxHeadway_5_0= RULE_INT ) ) )\n // InternalPlatoon.g:604:3: otherlv_0= 'constraints:' ( (lv_minHeadway_1_0= RULE_INT ) ) otherlv_2= '<=' otherlv_3= 'headway' otherlv_4= '<=' ( (lv_maxHeadway_5_0= RULE_INT ) )\n {\n otherlv_0=(Token)match(input,23,FOLLOW_14); \n\n \t\t\tnewLeafNode(otherlv_0, grammarAccess.getConstraintsAccess().getConstraintsKeyword_0());\n \t\t\n // InternalPlatoon.g:608:3: ( (lv_minHeadway_1_0= RULE_INT ) )\n // InternalPlatoon.g:609:4: (lv_minHeadway_1_0= RULE_INT )\n {\n // InternalPlatoon.g:609:4: (lv_minHeadway_1_0= RULE_INT )\n // InternalPlatoon.g:610:5: lv_minHeadway_1_0= RULE_INT\n {\n lv_minHeadway_1_0=(Token)match(input,RULE_INT,FOLLOW_16); \n\n \t\t\t\t\tnewLeafNode(lv_minHeadway_1_0, grammarAccess.getConstraintsAccess().getMinHeadwayINTTerminalRuleCall_1_0());\n \t\t\t\t\n\n \t\t\t\t\tif (current==null) {\n \t\t\t\t\t\tcurrent = createModelElement(grammarAccess.getConstraintsRule());\n \t\t\t\t\t}\n \t\t\t\t\tsetWithLastConsumed(\n \t\t\t\t\t\tcurrent,\n \t\t\t\t\t\t\"minHeadway\",\n \t\t\t\t\t\tlv_minHeadway_1_0,\n \t\t\t\t\t\t\"org.eclipse.xtext.common.Terminals.INT\");\n \t\t\t\t\n\n }\n\n\n }\n\n otherlv_2=(Token)match(input,24,FOLLOW_17); \n\n \t\t\tnewLeafNode(otherlv_2, grammarAccess.getConstraintsAccess().getLessThanSignEqualsSignKeyword_2());\n \t\t\n otherlv_3=(Token)match(input,25,FOLLOW_16); \n\n \t\t\tnewLeafNode(otherlv_3, grammarAccess.getConstraintsAccess().getHeadwayKeyword_3());\n \t\t\n otherlv_4=(Token)match(input,24,FOLLOW_14); \n\n \t\t\tnewLeafNode(otherlv_4, grammarAccess.getConstraintsAccess().getLessThanSignEqualsSignKeyword_4());\n \t\t\n // InternalPlatoon.g:638:3: ( (lv_maxHeadway_5_0= RULE_INT ) )\n // InternalPlatoon.g:639:4: (lv_maxHeadway_5_0= RULE_INT )\n {\n // InternalPlatoon.g:639:4: (lv_maxHeadway_5_0= RULE_INT )\n // InternalPlatoon.g:640:5: lv_maxHeadway_5_0= RULE_INT\n {\n lv_maxHeadway_5_0=(Token)match(input,RULE_INT,FOLLOW_2); \n\n \t\t\t\t\tnewLeafNode(lv_maxHeadway_5_0, grammarAccess.getConstraintsAccess().getMaxHeadwayINTTerminalRuleCall_5_0());\n \t\t\t\t\n\n \t\t\t\t\tif (current==null) {\n \t\t\t\t\t\tcurrent = createModelElement(grammarAccess.getConstraintsRule());\n \t\t\t\t\t}\n \t\t\t\t\tsetWithLastConsumed(\n \t\t\t\t\t\tcurrent,\n \t\t\t\t\t\t\"maxHeadway\",\n \t\t\t\t\t\tlv_maxHeadway_5_0,\n \t\t\t\t\t\t\"org.eclipse.xtext.common.Terminals.INT\");\n \t\t\t\t\n\n }\n\n\n }\n\n\n }\n\n\n }\n\n\n \tleaveRule();\n\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n }\n return current;\n }", "title": "" }, { "docid": "beb8b414735d557d994d7271a34a4bfb", "score": "0.5006359", "text": "public final void entryRuleActivationConstraints() throws RecognitionException {\n try {\n // InternalComponentDefinition.g:670:1: ( ruleActivationConstraints EOF )\n // InternalComponentDefinition.g:671:1: ruleActivationConstraints EOF\n {\n before(grammarAccess.getActivationConstraintsRule()); \n pushFollow(FOLLOW_1);\n ruleActivationConstraints();\n\n state._fsp--;\n\n after(grammarAccess.getActivationConstraintsRule()); \n match(input,EOF,FOLLOW_2); \n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }", "title": "" }, { "docid": "4d67f0636f97ce22ae098d6f5346d7b5", "score": "0.50063056", "text": "public interface Constraint extends NamedElement, AbstractConstraint {\n}", "title": "" }, { "docid": "7f109eb40bada814396350187876e76a", "score": "0.50007766", "text": "public final void rule__ERequirementDefinition__Group__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:18288:1: ( ( RULE_BEGIN ) )\n // InternalAADMParser.g:18289:1: ( RULE_BEGIN )\n {\n // InternalAADMParser.g:18289:1: ( RULE_BEGIN )\n // InternalAADMParser.g:18290:2: RULE_BEGIN\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getERequirementDefinitionAccess().getBEGINTerminalRuleCall_2()); \n }\n match(input,RULE_BEGIN,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getERequirementDefinitionAccess().getBEGINTerminalRuleCall_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": "6fd83716444f0dd2274f1122ba8b1f88", "score": "0.49891868", "text": "public final void rule__Constraints__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:12939:1: ( rule__Constraints__Group__4__Impl )\n // InternalDsl.g:12940:2: rule__Constraints__Group__4__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Constraints__Group__4__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": "98f6b6fa950f1bb843153ec1979e9a19", "score": "0.49882764", "text": "public final void rule__EDataTypeBody__Group_1_2__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:6764:1: ( ( ( rule__EDataTypeBody__ConstraintsAssignment_1_2_2 ) ) )\n // InternalAADMParser.g:6765:1: ( ( rule__EDataTypeBody__ConstraintsAssignment_1_2_2 ) )\n {\n // InternalAADMParser.g:6765:1: ( ( rule__EDataTypeBody__ConstraintsAssignment_1_2_2 ) )\n // InternalAADMParser.g:6766:2: ( rule__EDataTypeBody__ConstraintsAssignment_1_2_2 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEDataTypeBodyAccess().getConstraintsAssignment_1_2_2()); \n }\n // InternalAADMParser.g:6767:2: ( rule__EDataTypeBody__ConstraintsAssignment_1_2_2 )\n // InternalAADMParser.g:6767:3: rule__EDataTypeBody__ConstraintsAssignment_1_2_2\n {\n pushFollow(FOLLOW_2);\n rule__EDataTypeBody__ConstraintsAssignment_1_2_2();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEDataTypeBodyAccess().getConstraintsAssignment_1_2_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": "1908cba931fd1ff2acc33136f4d4aa34", "score": "0.49834052", "text": "@Test\n\tpublic void testConstraints() {\n\t}", "title": "" }, { "docid": "f1091c1ec3c421a40801b24f84a8e3b7", "score": "0.49824795", "text": "public final void rule__ActivationConstraints__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4111:1: ( rule__ActivationConstraints__Group__4__Impl rule__ActivationConstraints__Group__5 )\n // InternalComponentDefinition.g:4112:2: rule__ActivationConstraints__Group__4__Impl rule__ActivationConstraints__Group__5\n {\n pushFollow(FOLLOW_29);\n rule__ActivationConstraints__Group__4__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group__5();\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": "9d7cd6822b39a172c0a504867fe77feb", "score": "0.4979183", "text": "public final void rule__EExtendedTriggerCondition__Group_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:10093:1: ( ( Constraint ) )\n // InternalAADMParser.g:10094:1: ( Constraint )\n {\n // InternalAADMParser.g:10094:1: ( Constraint )\n // InternalAADMParser.g:10095:2: Constraint\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEExtendedTriggerConditionAccess().getConstraintKeyword_0_0()); \n }\n match(input,Constraint,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEExtendedTriggerConditionAccess().getConstraintKeyword_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": "493a26c7ad879e2fa1381dcf52b0c0be", "score": "0.49787426", "text": "private Constraints() {\r\n\r\n }", "title": "" }, { "docid": "167757ba599c0490b57bdd4d33b03d9c", "score": "0.49399474", "text": "DependencyConstraintSet getDependencyConstraints();", "title": "" }, { "docid": "48f962d313dc08c798773f281a52cf2d", "score": "0.4938887", "text": "public interface Constraint {\n\n /**\n * Returns an array of parameter indizes representing the relevant parameters and their order for\n * this constraint. When calling {@link #confirmsWith(Object[])} the Object[] has to be ordered by\n * this array.\n * \n * @return An array representing the order and index of the involved parameters for this\n * constraint.\n */\n public int[] getInvolvedParameters();\n\n /**\n * Checks whether or not a specific input combination confirms with this constraint.\n * \n * @param inputCombination an Object[] representing the input combination. Has to be ordered in\n * the way defined by {@link #getInvolvedParameters()}.\n * @return whether or not the combination confirms with this constraint.\n */\n public abstract boolean confirmsWith(Object[] inputCombination);\n}", "title": "" }, { "docid": "ea3fe5a84458af44fc0280b8691a10f4", "score": "0.4933924", "text": "private String formatConstraints(String constraints, CustomRules rule)\n {\n constraints=replaceValueByNumber(constraints,Const.VALUE_Value_1Min,rule.getVal_1_min()+\"\");\n constraints=replaceValueByNumber(constraints,Const.VALUE_Value_1Max,rule.getVal_1_max()+\"\");\n constraints=replaceValueByNumber(constraints,Const.VALUE_Value_2Min,rule.getVal_2_min()+\"\");\n constraints=replaceValueByNumber(constraints,Const.VALUE_Value_2Max,rule.getVal_2_max()+\"\");\n return constraints;\n }", "title": "" }, { "docid": "1001f11170b39222f575d7fd4ec7aeee", "score": "0.49278623", "text": "@Override\r\n public void visitConstraint(Constraint constraint) {\n }", "title": "" }, { "docid": "4468e3e9660249c525fa8399963b203d", "score": "0.49244905", "text": "public final void entryRuleEConstraint() throws RecognitionException {\n try {\n // InternalAADMParser.g:2466:1: ( ruleEConstraint EOF )\n // InternalAADMParser.g:2467:1: ruleEConstraint EOF\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEConstraintRule()); \n }\n pushFollow(FOLLOW_1);\n ruleEConstraint();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEConstraintRule()); \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": "66883d32bc1b85e17aac9d00711158cb", "score": "0.49168438", "text": "@Override\n\tprotected Constraint[] createInternalConstraints(Variable[] variables) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "66883d32bc1b85e17aac9d00711158cb", "score": "0.49168438", "text": "@Override\n\tprotected Constraint[] createInternalConstraints(Variable[] variables) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "8e464cdf391af1fcb0ebc3518105a99e", "score": "0.4902582", "text": "public final void rule__ERequirements__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:18168:1: ( rule__ERequirements__Group__0__Impl rule__ERequirements__Group__1 )\n // InternalAADMParser.g:18169:2: rule__ERequirements__Group__0__Impl rule__ERequirements__Group__1\n {\n pushFollow(FOLLOW_4);\n rule__ERequirements__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__ERequirements__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": "a05d4aca0f304a85a8c27b73e7c63ba4", "score": "0.49008143", "text": "public final void ruleERequirements() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:2378:2: ( ( ( rule__ERequirements__Group__0 ) ) )\n // InternalAADMParser.g:2379:2: ( ( rule__ERequirements__Group__0 ) )\n {\n // InternalAADMParser.g:2379:2: ( ( rule__ERequirements__Group__0 ) )\n // InternalAADMParser.g:2380:3: ( rule__ERequirements__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getERequirementsAccess().getGroup()); \n }\n // InternalAADMParser.g:2381:3: ( rule__ERequirements__Group__0 )\n // InternalAADMParser.g:2381:4: rule__ERequirements__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__ERequirements__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getERequirementsAccess().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": "e6ad02cb904200cf98feed7f88c882ef", "score": "0.48962697", "text": "public final void entryRuleEConstraintList() throws RecognitionException {\n try {\n // InternalAADMParser.g:1241:1: ( ruleEConstraintList EOF )\n // InternalAADMParser.g:1242:1: ruleEConstraintList EOF\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEConstraintListRule()); \n }\n pushFollow(FOLLOW_1);\n ruleEConstraintList();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEConstraintListRule()); \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": "c44a0856dd970f28669f8e678c079404", "score": "0.48822698", "text": "@Override\n public void visitConstraint(Constraint constraint) {\n }", "title": "" }, { "docid": "e3831d319c5f8bb64a3a93d43598edc2", "score": "0.4878765", "text": "DependencyConstraintSet getAllDependencyConstraints();", "title": "" }, { "docid": "9332eeb2081e12a98267d2d656fe1ae5", "score": "0.4878008", "text": "public void addConstraint(Constraint c) {\n\t\tremoveConstraint(c.getName());\n\t\tconstraints.add(c);\n\t\tconstraint_lookup.put(c.getName(), c);\n\t}", "title": "" }, { "docid": "4b4047baaf6c3162bb27e282bc38e804", "score": "0.48761386", "text": "public final void rule__EConstraintList__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:11200:1: ( ( ( rule__EConstraintList__ListAssignment_0 ) ) )\n // InternalAADMParser.g:11201:1: ( ( rule__EConstraintList__ListAssignment_0 ) )\n {\n // InternalAADMParser.g:11201:1: ( ( rule__EConstraintList__ListAssignment_0 ) )\n // InternalAADMParser.g:11202:2: ( rule__EConstraintList__ListAssignment_0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEConstraintListAccess().getListAssignment_0()); \n }\n // InternalAADMParser.g:11203:2: ( rule__EConstraintList__ListAssignment_0 )\n // InternalAADMParser.g:11203:3: rule__EConstraintList__ListAssignment_0\n {\n pushFollow(FOLLOW_2);\n rule__EConstraintList__ListAssignment_0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEConstraintListAccess().getListAssignment_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": "bf093a85452fc84d6ede0613f5e73e02", "score": "0.48694715", "text": "public final void rule__ERequirements__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:18180:1: ( ( () ) )\n // InternalAADMParser.g:18181:1: ( () )\n {\n // InternalAADMParser.g:18181:1: ( () )\n // InternalAADMParser.g:18182:2: ()\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getERequirementsAccess().getERequirementsAction_0()); \n }\n // InternalAADMParser.g:18183:2: ()\n // InternalAADMParser.g:18183:3: \n {\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getERequirementsAccess().getERequirementsAction_0()); \n }\n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "dac835b663183427e04bb1d5b1982476", "score": "0.48651877", "text": "Literal getConstraint();", "title": "" }, { "docid": "7301f2daf6b1473a45dbf25aa0bb3228", "score": "0.4860158", "text": "public final void rule__ERequirementAssignment__Group__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:5002:1: ( ( RULE_BEGIN ) )\n // InternalAADMParser.g:5003:1: ( RULE_BEGIN )\n {\n // InternalAADMParser.g:5003:1: ( RULE_BEGIN )\n // InternalAADMParser.g:5004:2: RULE_BEGIN\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getERequirementAssignmentAccess().getBEGINTerminalRuleCall_2()); \n }\n match(input,RULE_BEGIN,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getERequirementAssignmentAccess().getBEGINTerminalRuleCall_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": "3f9afb12176be3d172451c1f8cfe06dc", "score": "0.48541114", "text": "public final void rule__ActivationConstraints__Group__8__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4230:1: ( ( '}' ) )\n // InternalComponentDefinition.g:4231:1: ( '}' )\n {\n // InternalComponentDefinition.g:4231:1: ( '}' )\n // InternalComponentDefinition.g:4232:2: '}'\n {\n before(grammarAccess.getActivationConstraintsAccess().getRightCurlyBracketKeyword_8()); \n match(input,19,FOLLOW_2); \n after(grammarAccess.getActivationConstraintsAccess().getRightCurlyBracketKeyword_8()); \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": "922ac6b4ae83fc3ffb8d5d1d6292b1e4", "score": "0.48405978", "text": "public final void ruleEConstraint() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:2478:2: ( ( ( rule__EConstraint__Alternatives ) ) )\n // InternalAADMParser.g:2479:2: ( ( rule__EConstraint__Alternatives ) )\n {\n // InternalAADMParser.g:2479:2: ( ( rule__EConstraint__Alternatives ) )\n // InternalAADMParser.g:2480:3: ( rule__EConstraint__Alternatives )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEConstraintAccess().getAlternatives()); \n }\n // InternalAADMParser.g:2481:3: ( rule__EConstraint__Alternatives )\n // InternalAADMParser.g:2481:4: rule__EConstraint__Alternatives\n {\n pushFollow(FOLLOW_2);\n rule__EConstraint__Alternatives();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEConstraintAccess().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": "cbe9ec7564ced6116b140ed4f7909644", "score": "0.48351645", "text": "public final void rule__Constraint__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:13004:1: ( ( ';' ) )\n // InternalDsl.g:13005:1: ( ';' )\n {\n // InternalDsl.g:13005:1: ( ';' )\n // InternalDsl.g:13006:2: ';'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getConstraintAccess().getSemicolonKeyword_1()); \n }\n match(input,64,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getConstraintAccess().getSemicolonKeyword_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": "baee5494e9a82a5b7d4b674c8160923d", "score": "0.48303503", "text": "public int countConstraints() {\n\t\treturn constraints.size();\n\t}", "title": "" }, { "docid": "d4e5f733c2df03b7a662d99061deb274", "score": "0.48280022", "text": "public final void rule__ActivationConstraints__Group__6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4165:1: ( rule__ActivationConstraints__Group__6__Impl rule__ActivationConstraints__Group__7 )\n // InternalComponentDefinition.g:4166:2: rule__ActivationConstraints__Group__6__Impl rule__ActivationConstraints__Group__7\n {\n pushFollow(FOLLOW_30);\n rule__ActivationConstraints__Group__6__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group__7();\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": "94540635295ee9a73523ad2b176655c2", "score": "0.48176447", "text": "public final void rule__ProcessType__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:12195:1: ( ( ( rule__ProcessType__ConstraintsAssignment_3 )? ) )\n // InternalDsl.g:12196:1: ( ( rule__ProcessType__ConstraintsAssignment_3 )? )\n {\n // InternalDsl.g:12196:1: ( ( rule__ProcessType__ConstraintsAssignment_3 )? )\n // InternalDsl.g:12197:2: ( rule__ProcessType__ConstraintsAssignment_3 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getProcessTypeAccess().getConstraintsAssignment_3()); \n }\n // InternalDsl.g:12198:2: ( rule__ProcessType__ConstraintsAssignment_3 )?\n int alt89=2;\n int LA89_0 = input.LA(1);\n\n if ( (LA89_0==99) ) {\n alt89=1;\n }\n switch (alt89) {\n case 1 :\n // InternalDsl.g:12198:3: rule__ProcessType__ConstraintsAssignment_3\n {\n pushFollow(FOLLOW_2);\n rule__ProcessType__ConstraintsAssignment_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.getProcessTypeAccess().getConstraintsAssignment_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": "c798fa0dcd181f70cb2a96ccf5073e30", "score": "0.48138738", "text": "public final void rule__ActivationConstraints__Group__8() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4219:1: ( rule__ActivationConstraints__Group__8__Impl )\n // InternalComponentDefinition.g:4220:2: rule__ActivationConstraints__Group__8__Impl\n {\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group__8__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": "f2761e73e6a7ea80389086dd843d4fa0", "score": "0.4786531", "text": "public final void rule__EConstraintList__ListAssignment_1_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:25117:1: ( ( ruleEConstraint ) )\n // InternalAADMParser.g:25118:2: ( ruleEConstraint )\n {\n // InternalAADMParser.g:25118:2: ( ruleEConstraint )\n // InternalAADMParser.g:25119:3: ruleEConstraint\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEConstraintListAccess().getListEConstraintParserRuleCall_1_1_0()); \n }\n pushFollow(FOLLOW_2);\n ruleEConstraint();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEConstraintListAccess().getListEConstraintParserRuleCall_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": "5e6e3d3819bf5cee108cd9b571d12f29", "score": "0.47860774", "text": "public void setConstraints(XModel constraints) {}", "title": "" }, { "docid": "8e2cedbaa9c654a077ecaeb8ad891849", "score": "0.47808588", "text": "public final void rule__ActivationConstraints__Group__5() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalComponentDefinition.g:4138:1: ( rule__ActivationConstraints__Group__5__Impl rule__ActivationConstraints__Group__6 )\n // InternalComponentDefinition.g:4139:2: rule__ActivationConstraints__Group__5__Impl rule__ActivationConstraints__Group__6\n {\n pushFollow(FOLLOW_30);\n rule__ActivationConstraints__Group__5__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ActivationConstraints__Group__6();\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": "49edd36e8c437ffef84c2ff146be792c", "score": "0.47794333", "text": "public final void rule__EConstraintList__Group_1__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:11254:1: ( ( Comma ) )\n // InternalAADMParser.g:11255:1: ( Comma )\n {\n // InternalAADMParser.g:11255:1: ( Comma )\n // InternalAADMParser.g:11256:2: Comma\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getEConstraintListAccess().getCommaKeyword_1_0()); \n }\n match(input,Comma,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getEConstraintListAccess().getCommaKeyword_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": "1e435e80bb3a0b7bc768f7d8cf16189e", "score": "0.47755307", "text": "public final void rule__Attribute__Group__4__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:12384:1: ( ( ( rule__Attribute__ConstraintsAssignment_4 )? ) )\n // InternalDsl.g:12385:1: ( ( rule__Attribute__ConstraintsAssignment_4 )? )\n {\n // InternalDsl.g:12385:1: ( ( rule__Attribute__ConstraintsAssignment_4 )? )\n // InternalDsl.g:12386:2: ( rule__Attribute__ConstraintsAssignment_4 )?\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getAttributeAccess().getConstraintsAssignment_4()); \n }\n // InternalDsl.g:12387:2: ( rule__Attribute__ConstraintsAssignment_4 )?\n int alt92=2;\n int LA92_0 = input.LA(1);\n\n if ( (LA92_0==99) ) {\n alt92=1;\n }\n switch (alt92) {\n case 1 :\n // InternalDsl.g:12387:3: rule__Attribute__ConstraintsAssignment_4\n {\n pushFollow(FOLLOW_2);\n rule__Attribute__ConstraintsAssignment_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.getAttributeAccess().getConstraintsAssignment_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": "8dd82aff29287447770b1173fc2c4fb1", "score": "0.47686654", "text": "public final void rule__ENodeTemplateBody__Group_5__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:4678:1: ( ( Requirements ) )\n // InternalAADMParser.g:4679:1: ( Requirements )\n {\n // InternalAADMParser.g:4679:1: ( Requirements )\n // InternalAADMParser.g:4680:2: Requirements\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getENodeTemplateBodyAccess().getRequirementsKeyword_5_0()); \n }\n match(input,Requirements,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getENodeTemplateBodyAccess().getRequirementsKeyword_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": "ea5a41f876fe2260e4e259f5251c0cfa", "score": "0.47543237", "text": "public final void rule__ECapabilityAssignment__Group_3__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAADMParser.g:5353:1: ( ( RULE_BEGIN ) )\n // InternalAADMParser.g:5354:1: ( RULE_BEGIN )\n {\n // InternalAADMParser.g:5354:1: ( RULE_BEGIN )\n // InternalAADMParser.g:5355:2: RULE_BEGIN\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getECapabilityAssignmentAccess().getBEGINTerminalRuleCall_3_1()); \n }\n match(input,RULE_BEGIN,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getECapabilityAssignmentAccess().getBEGINTerminalRuleCall_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": "" } ]
4d531daf705408bc4e1817e91b573269
Inserts and returns a new empty value (as xml) as the ith "OrderReferences" element
[ { "docid": "52019a3f8650157fd94e8e8b66c1112e", "score": "0.602673", "text": "public x0301.oecdStandardAuditFileTaxPT1.OrderReferences insertNewOrderReferences(int i)\n {\n synchronized (monitor())\n {\n check_orphaned();\n x0301.oecdStandardAuditFileTaxPT1.OrderReferences target = null;\n target = (x0301.oecdStandardAuditFileTaxPT1.OrderReferences)get_store().insert_element_user(ORDERREFERENCES$2, i);\n return target;\n }\n }", "title": "" } ]
[ { "docid": "4df7d0ca48bdc3c7f55ebf60e37d7cd5", "score": "0.6448633", "text": "public x0301.oecdStandardAuditFileTaxPT1.OrderReferences addNewOrderReferences()\n {\n synchronized (monitor())\n {\n check_orphaned();\n x0301.oecdStandardAuditFileTaxPT1.OrderReferences target = null;\n target = (x0301.oecdStandardAuditFileTaxPT1.OrderReferences)get_store().add_element_user(ORDERREFERENCES$2);\n return target;\n }\n }", "title": "" }, { "docid": "4df7d0ca48bdc3c7f55ebf60e37d7cd5", "score": "0.6448633", "text": "public x0301.oecdStandardAuditFileTaxPT1.OrderReferences addNewOrderReferences()\n {\n synchronized (monitor())\n {\n check_orphaned();\n x0301.oecdStandardAuditFileTaxPT1.OrderReferences target = null;\n target = (x0301.oecdStandardAuditFileTaxPT1.OrderReferences)get_store().add_element_user(ORDERREFERENCES$2);\n return target;\n }\n }", "title": "" }, { "docid": "4df7d0ca48bdc3c7f55ebf60e37d7cd5", "score": "0.6448633", "text": "public x0301.oecdStandardAuditFileTaxPT1.OrderReferences addNewOrderReferences()\n {\n synchronized (monitor())\n {\n check_orphaned();\n x0301.oecdStandardAuditFileTaxPT1.OrderReferences target = null;\n target = (x0301.oecdStandardAuditFileTaxPT1.OrderReferences)get_store().add_element_user(ORDERREFERENCES$2);\n return target;\n }\n }", "title": "" }, { "docid": "75d512131650114a6553ef19d6f57f8e", "score": "0.55728793", "text": "OrderRef1 createOrderRef1();", "title": "" }, { "docid": "bddee1c7bb75509e81d146a91ddc1ef3", "score": "0.5490115", "text": "OrderRef2 createOrderRef2();", "title": "" }, { "docid": "386ab3f79da0a5606fc72dad43eb07c0", "score": "0.53239185", "text": "public x0301.oecdStandardAuditFileTaxPT1.References addNewReferences()\n {\n synchronized (monitor())\n {\n check_orphaned();\n x0301.oecdStandardAuditFileTaxPT1.References target = null;\n target = (x0301.oecdStandardAuditFileTaxPT1.References)get_store().add_element_user(REFERENCES$16);\n return target;\n }\n }", "title": "" }, { "docid": "8833f8ce1b0f4d4b581475443582fb1e", "score": "0.5180745", "text": "private void writeRefs(Collection refs)\n throws SAXException {\n if (refs == null)\n return;\n\n SimpleAttributes atts = new SimpleAttributes();\n for (Object o : refs) {\n if (o instanceof Note) {\n Note n = (Note) o;\n if (n.getName() != null)\n atts.addAttribute(Tags.NAME, n.getName());\n writer.startElement(\"\", Tags.NOTE, \"\", atts);\n writer.charactersRaw(n.toString());\n writer.endElement(Tags.NOTE);\n atts.clear();\n } else if (o instanceof Ref) {\n writer.dataElement(Tags.REF, ((Ref) o).getLabel());\n } else\n throw new RuntimeException(\"Not a note/ref\"+ o);\n }\n }", "title": "" }, { "docid": "2320693d6c6453a7703dfdb464bf66c7", "score": "0.51613224", "text": "public x0301.oecdStandardAuditFileTaxPT1.References insertNewReferences(int i)\n {\n synchronized (monitor())\n {\n check_orphaned();\n x0301.oecdStandardAuditFileTaxPT1.References target = null;\n target = (x0301.oecdStandardAuditFileTaxPT1.References)get_store().insert_element_user(REFERENCES$16, i);\n return target;\n }\n }", "title": "" }, { "docid": "1794bd12868d66ae234ceb90b2157440", "score": "0.5112039", "text": "void xsetOrderID(org.apache.xmlbeans.XmlString orderID);", "title": "" }, { "docid": "20d884755ecdf2b872e8df3022d3a544", "score": "0.51058143", "text": "private void addRef(URI uri, List<JsonNode> refParents, String refValue) {\n Reference reference = referenceRegistry.addRef(uri, refValue);\n\n // Inject the canonical value to the document\n // to auto-setup the value when mapping from parser.\n for (JsonNode refParent : refParents) {\n if (refValue.equals(refParent.get(refKeyword).textValue())) {\n ((ObjectNode) refParent).set(ABS_REF_FIELD, TreeUtil.json.getNodeFactory().textNode(reference.getCanonicalRef()));\n }\n }\n }", "title": "" }, { "docid": "1ebb5e17a05294066adf8689d60ece6c", "score": "0.50533384", "text": "gov.nih.nlm.ncbi.www.DocRefDocument.DocRef insertNewDocRef(int i);", "title": "" }, { "docid": "80d5a0efa502ce0260a758b4abe55a4f", "score": "0.5048228", "text": "private String getOrderAsXML() throws Exception{\n\t\tStringWriter sw = new StringWriter();\n\t\tMarshaller m = jc.createMarshaller();\n\t\tm.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);\n\t\tm.marshal(po, sw);\n\t\treturn sw.toString();\n\t}", "title": "" }, { "docid": "43fc44ee4e9d27779d41560924036697", "score": "0.49845463", "text": "private Element insertDataValue(Document xmlout, Element parentElement, String dataPointName, Document xmlin, String path, String group) {\n\t\tElement element = null;\n\t\tString str = getDataValue(xmlin, dataPointName, path, group);\n\t\tif (str != null && !\"\".equals(str)) {\n\t\t\telement = (Element)parentElement.appendChild(xmlout.createElement(addNamespace(dataPointName)));\n\t\t\tif (\"AggregateAdjustment\".equals(dataPointName))\n\t\t\t\telement.appendChild(xmlout.createTextNode(str));\n\t\t\telse\n\t\t\t\telement.appendChild(xmlout.createTextNode(toAbsolute(str)));\n\t\t}\n\t\treturn element;\n\t}", "title": "" }, { "docid": "8dbeedb808bc9c95557684246670238f", "score": "0.4967704", "text": "public void setOrderReference(String orderReference) {\n this.orderReference = orderReference;\n }", "title": "" }, { "docid": "0fc51a84bf59b665bbc98631e8c2ee97", "score": "0.49391323", "text": "int insert (RdOrder record);", "title": "" }, { "docid": "7b53acc0210f94a3c436727681f6dd05", "score": "0.49208635", "text": "org.apache.xmlbeans.XmlString xgetOrderID();", "title": "" }, { "docid": "0c1715da60f69df969b256f429e1990e", "score": "0.4904047", "text": "gov.nih.nlm.ncbi.www.DocRefDocument.DocRef addNewDocRef();", "title": "" }, { "docid": "23b9b3991eba393bf9b5b0182497c568", "score": "0.49012852", "text": "org.landxml.schema.landXML11.DocFileRefDocument.DocFileRef addNewDocFileRef();", "title": "" }, { "docid": "bfc9a4e56f78a0600d41097a1e0696d2", "score": "0.4886202", "text": "public void getOrderReferenceNumber() {\n\t\tString referenceNumber = getTextofElement(orderReference);\n\t\tlog.info(\"Your Reference number is: \" + referenceNumber );\n\t}", "title": "" }, { "docid": "8eaebde0d401490d3568e16c72f21737", "score": "0.48785466", "text": "gov.nih.nlm.ncbi.www.NumRefDocument.NumRef addNewNumRef();", "title": "" }, { "docid": "2f67acbfcb9c1e75322a7bbd5e34be82", "score": "0.48580003", "text": "private void insertValueAndReferenceAfter(RTreeNode refNode, RTreeNode node)\n throws IOException {\n int index = getIndexOf(refNode);\n\n // insert at index\n insertChild(index + 1, node);\n node.setParentAddress(address);\n }", "title": "" }, { "docid": "864f7ee52323a1250e2a0cc1a9749dfc", "score": "0.4828805", "text": "@Override\n\t\t\tpublic String insert() {\n\t\t\t\treturn null;\n\t\t\t}", "title": "" }, { "docid": "e2cf710e0e211f153005a78f68ee26a7", "score": "0.482201", "text": "private void mapServiceOrderCustomRef(ServiceOrder serviceOrder, CustomReferences customReferences, String templateName, Integer ownerId) {\r\n\t\tlogger.info(\"Mapping: Customer Reference --->Starts\");\r\n\r\n\t\tList<SOCustomReference> soCustomRefsVoList = new ArrayList<SOCustomReference>();\r\n\t\tif (null != customReferences && null != customReferences.getCustomRefList()) {\r\n\t\t\tfor (CustomReference customRef : customReferences.getCustomRefList()) {\r\n\t\t\t\t//changes for SL-20772 --START\r\n\t\t\t\tString refType = customRef.getName();\r\n\t\t\t\tSOCustomReference customRefVO = new SOCustomReference();\r\n\t\t\t\tif (ownerId.intValue() == PublicAPIConstant.BUYER_9000.intValue()\r\n\t\t\t\t\t\t&& (PublicAPIConstant.SHOPIFY_ORDER_SKU_PRICE1\r\n\t\t\t\t\t\t\t\t.equalsIgnoreCase(refType)\r\n\t\t\t\t\t\t\t\t|| PublicAPIConstant.SHOPIFY_ORDER_SKU_PRICE2\r\n\t\t\t\t\t\t\t\t\t\t.equalsIgnoreCase(refType)\r\n\t\t\t\t\t\t\t\t|| PublicAPIConstant.SHOPIFY_ORDER_SKU_PRICE3\r\n\t\t\t\t\t\t\t\t\t\t.equalsIgnoreCase(refType) || PublicAPIConstant.SHOPIFY_ORDER_SKU_PRICE4\r\n\t\t\t\t\t\t\t\t\t.equalsIgnoreCase(refType))&& StringUtils.isNotBlank(customRef.getValue())) {\r\n\t\t\t\t\tcustomRefVO.setBuyerRefValue(customRef.getValue().replace(PublicAPIConstant.TARGET_STRING,PublicAPIConstant.REPLACEMENT_STRING));\r\n\t\t\t\t}\r\n\t\t\t\telse{\r\n\t\t\t\t\tcustomRefVO.setBuyerRefValue(customRef.getValue());\r\n\t\t\t\t}\r\n\t\t\t\t//changes for SL-20772 --END\r\n\t\t\t\tcustomRefVO.setBuyerRefTypeName(customRef.getName());\r\n\t\t\t\tcustomRefVO.setBuyerRefTypeId(getCustomRefTypeId(ownerId+\"\", customRef.getName()));\r\n\t\t\t\tsoCustomRefsVoList.add(customRefVO);\r\n\t\t\t}\r\n\t\t\t//see if the template name is not blank and add it as custom reference\r\n\t\t\tif(StringUtils.isNotBlank(templateName)){\r\n\t\t\t\tSOCustomReference customRefVO = new SOCustomReference();\r\n\t\t\t\tcustomRefVO.setBuyerRefValue(templateName);\r\n\t\t\t\tcustomRefVO.setBuyerRefTypeName(SOCustomReference.CREF_TEMPLATE_NAME);\r\n\t\t\t\tcustomRefVO.setBuyerRefTypeId(getCustomRefTypeId(ownerId+\"\", SOCustomReference.CREF_TEMPLATE_NAME));\r\n\t\t\t\tsoCustomRefsVoList.add(customRefVO);\r\n\t\t\t}\r\n\t\t\tif (!soCustomRefsVoList.isEmpty()) {\r\n\t\t\t\tserviceOrder.setCustomReferences(soCustomRefsVoList);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "730ec9f848db6db9bcefeced75abce0c", "score": "0.4821865", "text": "void setOrderElement(OrderElement orderElement) throws ProblemWithDatabaseException;", "title": "" }, { "docid": "7a0fc89a319920274fde65c641cd4970", "score": "0.47919685", "text": "@Test\n public void testMarshallReferenceWithElement() {\n BindingModel myModel = new BindingModel();\n Root root = new Root(new QName(\"root\"), ObjectA.class);\n root.setChild(new Reference(new QName(\"reference\"), \"complexType\", null, false), NoGetter.INSTANCE, NoSetter.INSTANCE);\n myModel.registerRoot(root);\n\n ComplexType complexType = new ComplexType(\"complexType\", null, false);\n complexType.setChild(new SimpleType(new QName(\"name\"), false), \"name\");\n myModel.registerComplexType(complexType, true);\n\n ByteArrayOutputStream stream = new ByteArrayOutputStream();\n ObjectA instance = new ObjectA(\"test\");\n myModel.getXmlStreamer(instance.getClass(), null).toXml(XmlStreamFactory.makeWriter(stream), instance);\n assertEquals(\"<root><reference><name>test</name></reference></root>\", stream.toString());\n }", "title": "" }, { "docid": "724c6560c70b552a5a64ef7b02ba0da3", "score": "0.47793946", "text": "public void addNewElement()\n {\n setEditedElement( new DnWrapper( Dn.EMPTY_DN ) );\n }", "title": "" }, { "docid": "5f46994ac005c069d914928f2d143b28", "score": "0.47650543", "text": "@Override\n public int createOrder() {\n Order order = new SimpleOrder();\n this.orders.add(order);\n return order.getOrderId();\n }", "title": "" }, { "docid": "ac485e1df23baa4d9f5f966eba9e16ef", "score": "0.47301272", "text": "com.walgreens.rxit.ch.cda.StrucDocFootnoteRef insertNewFootnoteRef(int i);", "title": "" }, { "docid": "992d99702ac4c203bc95bd692c2df032", "score": "0.47230375", "text": "private void addReferences(org.jdom.Element e)\n {\n addReferences(e, xmgr.getCurrentDocument());\n }", "title": "" }, { "docid": "3d51681fcb3503acdcbc36bfce4b4e38", "score": "0.47181702", "text": "int insert(XdProductOrder record);", "title": "" }, { "docid": "b3e2fb39773c8c55cf603c052fb8896f", "score": "0.46779546", "text": "public XmlSerializableOrderBook() {\n orders = new ArrayList<>();\n }", "title": "" }, { "docid": "81bab716f057e826ba37e0d7ec1394bc", "score": "0.46631175", "text": "int insert(H_Order record);", "title": "" }, { "docid": "b31c1b72bfac3f96f6da6ead595d813b", "score": "0.46585324", "text": "int insert(Orderlist record);", "title": "" }, { "docid": "30721649b1d62433019c355ccc28c8da", "score": "0.46489286", "text": "private void updateOrders() {\n\n for (int i = 0; i < this.orders.size(); i++) {\n\n Node node = this.orders.get(i);\n node.setOrder(this.orders.indexOf(node));\n }\n }", "title": "" }, { "docid": "e04e581e2712296c6f5eff9b3e9f8eb2", "score": "0.46465263", "text": "private TreeElement createNode(TreeReference ref) {\n\n\t\tTreeElement node = root;\n\n\t\tfor (int k = 0; k < ref.size(); k++) {\n\t\t\tString name = (String) ref.names.elementAt(k);\n\t\t\tint count = node.getChildMultiplicity(name);\n\t\t\tint mult = ((Integer) ref.multiplicity.elementAt(k)).intValue();\n\n\t\t\tTreeElement child;\n\t\t\tif (k < ref.size() - 1) {\n\t\t\t\tif (mult == TreeReference.INDEX_UNBOUND) {\n\t\t\t\t\tif (count > 1) {\n\t\t\t\t\t\treturn null; // don't know which node to use\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// will use existing (if one and only one) or create new\n\t\t\t\t\t\tmult = 0;\n\t\t\t\t\t\tref.multiplicity.setElementAt(new Integer(0), k);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// fetch\n\t\t\t\tchild = node.getChild(name, mult);\n\t\t\t\tif (child == null) {\n\t\t\t\t\tif (mult == 0) {\n\t\t\t\t\t\t// create\n\t\t\t\t\t\tchild = new TreeElement(name, count);\n\t\t\t\t\t\tnode.addChild(child);\n\t\t\t\t\t\tref.multiplicity.setElementAt(new Integer(count), k);\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn null; // intermediate node does not exist\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (mult == TreeReference.INDEX_UNBOUND || mult == count) {\n\t\t\t\t\tif (k == 0 && root.getNumChildren() != 0) {\n\t\t\t\t\t\treturn null; // can only be one top-level node, and it\n\t\t\t\t\t\t// already exists\n\t\t\t\t\t}\n\n\t\t\t\t\tif (!node.isChildable()) {\n\t\t\t\t\t\treturn null; // current node can't have children\n\t\t\t\t\t}\n\n\t\t\t\t\t// create new\n\t\t\t\t\tchild = new TreeElement(name, count);\n\t\t\t\t\tnode.addChild(child);\n\t\t\t\t\tref.multiplicity.setElementAt(new Integer(count), k);\n\t\t\t\t} else {\n\t\t\t\t\treturn null; // final node must be a newly-created node\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tnode = child;\n\t\t}\n\n\t\treturn node;\n\t}", "title": "" }, { "docid": "11561c469afc8f24397f3f2afcc75e0d", "score": "0.46003234", "text": "private void insert(CrossReference crossReference) throws DAOException {\n\t\ttry {\n\t\t\tPreparedStatement stm = sqlLoader.getPreparedStatement(\"--insert.crossreference\", new String[]{\"id\"}, null);\n\t\t\tstm.clearParameters();\n stm.setString(1, crossReference.getAccession());\n stm.setLong(2, crossReference.getDb().getId());\n\t\t\tstm.executeUpdate();\n\n\t\t\tResultSet keys = stm.getGeneratedKeys();\n\n \t\twhile (keys.next()) {\n \t\t\tcrossReference.setId(keys.getLong(1)); //Should only be one\n \t if (LOGGER.isDebugEnabled())\n \t LOGGER.debug(\"insertIntoCrossReference: CrossReference inserted with id:\" + crossReference.getId());\n \t\t}\n\n \t\tkeys.close();\n\n // Add the crossreference to the identity map\n identityMap.addEntity(crossReference);\n\n\n\t\t} catch (SQLException ex) {\n throw new DAOException(ex);\n\t\t}\n\t}", "title": "" }, { "docid": "f4d3654bcfd5996a46e641738b51ee9b", "score": "0.45972034", "text": "com.walgreens.rxit.ch.cda.StrucDocFootnoteRef addNewFootnoteRef();", "title": "" }, { "docid": "6c53f148ae9110f48065157473d7c9b5", "score": "0.45874313", "text": "@Override\n\tpublic String insert() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "17292865e1be84593c1a50a7a08b047b", "score": "0.458333", "text": "int insertSelective (RdOrder record);", "title": "" }, { "docid": "916f2dfd78b12ca69d74f3ca0395a774", "score": "0.45807907", "text": "public M csodOrderNull(){if(this.get(\"csodOrderNot\")==null)this.put(\"csodOrderNot\", \"\");this.put(\"csodOrder\", null);return this;}", "title": "" }, { "docid": "92d94ba9348859d64e1c82caa5576dae", "score": "0.45748264", "text": "public Order getNewOrder();", "title": "" }, { "docid": "1fe28d3dee73b79dc1c1908cc4441b0a", "score": "0.456773", "text": "private Element insert(Element element){\n\t\tif (map == null){\n\t\t\tmap = new BinaryTree<Element>(element);\n\t\t\treturn null;\n\t\t} else{\n\t\t\treturn insert(element, map);\n\t\t}\n\t}", "title": "" }, { "docid": "522121b638df99f6e90190ca2e648821", "score": "0.45658526", "text": "int insert(DesignerOrder record);", "title": "" }, { "docid": "192446bc32b8d6a27e5cffa70e86e411", "score": "0.4537156", "text": "public void addReference(Referenced elm);", "title": "" }, { "docid": "f3b08d20ead48023a3f74bc9b7d67c9c", "score": "0.4531212", "text": "public java.util.List<x0301.oecdStandardAuditFileTaxPT1.OrderReferences> getOrderReferencesList()\n {\n final class OrderReferencesList extends java.util.AbstractList<x0301.oecdStandardAuditFileTaxPT1.OrderReferences>\n {\n @Override\n public x0301.oecdStandardAuditFileTaxPT1.OrderReferences get(int i)\n { return LineImpl.this.getOrderReferencesArray(i); }\n \n @Override\n public x0301.oecdStandardAuditFileTaxPT1.OrderReferences set(int i, x0301.oecdStandardAuditFileTaxPT1.OrderReferences o)\n {\n x0301.oecdStandardAuditFileTaxPT1.OrderReferences old = LineImpl.this.getOrderReferencesArray(i);\n LineImpl.this.setOrderReferencesArray(i, o);\n return old;\n }\n \n @Override\n public void add(int i, x0301.oecdStandardAuditFileTaxPT1.OrderReferences o)\n { LineImpl.this.insertNewOrderReferences(i).set(o); }\n \n @Override\n public x0301.oecdStandardAuditFileTaxPT1.OrderReferences remove(int i)\n {\n x0301.oecdStandardAuditFileTaxPT1.OrderReferences old = LineImpl.this.getOrderReferencesArray(i);\n LineImpl.this.removeOrderReferences(i);\n return old;\n }\n \n @Override\n public int size()\n { return LineImpl.this.sizeOfOrderReferencesArray(); }\n \n }\n \n synchronized (monitor())\n {\n check_orphaned();\n return new OrderReferencesList();\n }\n }", "title": "" }, { "docid": "f3b08d20ead48023a3f74bc9b7d67c9c", "score": "0.4531212", "text": "public java.util.List<x0301.oecdStandardAuditFileTaxPT1.OrderReferences> getOrderReferencesList()\n {\n final class OrderReferencesList extends java.util.AbstractList<x0301.oecdStandardAuditFileTaxPT1.OrderReferences>\n {\n @Override\n public x0301.oecdStandardAuditFileTaxPT1.OrderReferences get(int i)\n { return LineImpl.this.getOrderReferencesArray(i); }\n \n @Override\n public x0301.oecdStandardAuditFileTaxPT1.OrderReferences set(int i, x0301.oecdStandardAuditFileTaxPT1.OrderReferences o)\n {\n x0301.oecdStandardAuditFileTaxPT1.OrderReferences old = LineImpl.this.getOrderReferencesArray(i);\n LineImpl.this.setOrderReferencesArray(i, o);\n return old;\n }\n \n @Override\n public void add(int i, x0301.oecdStandardAuditFileTaxPT1.OrderReferences o)\n { LineImpl.this.insertNewOrderReferences(i).set(o); }\n \n @Override\n public x0301.oecdStandardAuditFileTaxPT1.OrderReferences remove(int i)\n {\n x0301.oecdStandardAuditFileTaxPT1.OrderReferences old = LineImpl.this.getOrderReferencesArray(i);\n LineImpl.this.removeOrderReferences(i);\n return old;\n }\n \n @Override\n public int size()\n { return LineImpl.this.sizeOfOrderReferencesArray(); }\n \n }\n \n synchronized (monitor())\n {\n check_orphaned();\n return new OrderReferencesList();\n }\n }", "title": "" }, { "docid": "f3b08d20ead48023a3f74bc9b7d67c9c", "score": "0.45304412", "text": "public java.util.List<x0301.oecdStandardAuditFileTaxPT1.OrderReferences> getOrderReferencesList()\n {\n final class OrderReferencesList extends java.util.AbstractList<x0301.oecdStandardAuditFileTaxPT1.OrderReferences>\n {\n @Override\n public x0301.oecdStandardAuditFileTaxPT1.OrderReferences get(int i)\n { return LineImpl.this.getOrderReferencesArray(i); }\n \n @Override\n public x0301.oecdStandardAuditFileTaxPT1.OrderReferences set(int i, x0301.oecdStandardAuditFileTaxPT1.OrderReferences o)\n {\n x0301.oecdStandardAuditFileTaxPT1.OrderReferences old = LineImpl.this.getOrderReferencesArray(i);\n LineImpl.this.setOrderReferencesArray(i, o);\n return old;\n }\n \n @Override\n public void add(int i, x0301.oecdStandardAuditFileTaxPT1.OrderReferences o)\n { LineImpl.this.insertNewOrderReferences(i).set(o); }\n \n @Override\n public x0301.oecdStandardAuditFileTaxPT1.OrderReferences remove(int i)\n {\n x0301.oecdStandardAuditFileTaxPT1.OrderReferences old = LineImpl.this.getOrderReferencesArray(i);\n LineImpl.this.removeOrderReferences(i);\n return old;\n }\n \n @Override\n public int size()\n { return LineImpl.this.sizeOfOrderReferencesArray(); }\n \n }\n \n synchronized (monitor())\n {\n check_orphaned();\n return new OrderReferencesList();\n }\n }", "title": "" }, { "docid": "d0f77ad145e28322a64965f4457c0f83", "score": "0.45300075", "text": "public String saveOrder(JsonDocument orderInfo);", "title": "" }, { "docid": "1af4de1ffec48eec022154f886ec1363", "score": "0.45286718", "text": "public OrderItem insertOrderItem(OrderItem oi) {\n orderItemDAO.insertOrderItem(oi);\n return oi;\n }", "title": "" }, { "docid": "6bee88b295e6b75cd4f295eaf6a8cf73", "score": "0.45259356", "text": "public void toMarshaling() {\n Warehouse.ordersSequencing.add(this.orderSequencing);\n this.orderSequencing = null;\n String output = this.picker.getName() + \" to Marshaling\";\n System.out.println(output);\n }", "title": "" }, { "docid": "8cd289c51ac1cdca0122cb0737cc0c8b", "score": "0.45231503", "text": "public net.opengis.gml.x32.ReferenceType addNewReference()\n {\n synchronized (monitor())\n {\n check_orphaned();\n net.opengis.gml.x32.ReferenceType target = null;\n target = (net.opengis.gml.x32.ReferenceType)get_store().add_element_user(REFERENCE$6);\n return target;\n }\n }", "title": "" }, { "docid": "e5bbd0d1bd886a298323efda43dd78fc", "score": "0.4517274", "text": "private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, net.wit.webservice.xxkyServiceStub.Add_WEB_ORDERENTER param, boolean optimizeContent, javax.xml.namespace.QName methodQName)\n throws org.apache.axis2.AxisFault{\n\n \n try{\n\n org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope();\n emptyEnvelope.getBody().addChild(param.getOMElement(net.wit.webservice.xxkyServiceStub.Add_WEB_ORDERENTER.MY_QNAME,factory));\n return emptyEnvelope;\n } catch(org.apache.axis2.databinding.ADBException e){\n throw org.apache.axis2.AxisFault.makeFault(e);\n }\n \n\n }", "title": "" }, { "docid": "69898b956f94cdb43c21f03ecab6672f", "score": "0.45140055", "text": "@PostMapping(\"/api/orders\")\r\n public String createOrder(@RequestBody Order order) {\n order.setId(UUID.randomUUID().toString());\r\n order.setTimestamp(LocalDateTime.now());\r\n\r\n order.getItems().forEach(item -> {\r\n // Assign parent Id, generate one for the child item\r\n item.setOrderId(order.getId());\r\n item.setOrderItemId(UUID.randomUUID().toString());\r\n });\r\n return \"1\";\r\n }", "title": "" }, { "docid": "89ab086f49ca59ef7c976325e229aaf3", "score": "0.4503512", "text": "int insert(OrderDO record);", "title": "" }, { "docid": "89ab086f49ca59ef7c976325e229aaf3", "score": "0.4503512", "text": "int insert(OrderDO record);", "title": "" }, { "docid": "0da008697f6944e92387c363c116e2ca", "score": "0.44873437", "text": "eu.aladdin_project.xsd.OperationResult addNewOut();", "title": "" }, { "docid": "78ac6fa9bcb0430ffc097c4902751928", "score": "0.4483502", "text": "void addOrder(Order order);", "title": "" }, { "docid": "78ac6fa9bcb0430ffc097c4902751928", "score": "0.4483502", "text": "void addOrder(Order order);", "title": "" }, { "docid": "f8e76c0dc616e5595bd9462b40f19bea", "score": "0.44817606", "text": "private StringBuilder getXMLInsertField() {\n return new StringBuilder(CollectionUtil.join(CollectionUtil.removeAndTransList(moFieldList,\n item -> item.getName().equals(ConstantUtil.SQL_ID) || item.getName().equals(ConstantUtil.SQL_CREATE_TIME) || item.getName().equals(ConstantUtil.SQL_UPDATE_TIME),\n item -> ConstantUtil.TRIPLE_TAB + \"#{\" + item.getName() + \"}\"\n ), ConstantUtil.ENGLISH_COMMA + ConstantUtil.NEXT_LINE));\n }", "title": "" }, { "docid": "4b00e880c6a42bee4ab41dc1cca5fd69", "score": "0.44787967", "text": "int insert(OrderItem record);", "title": "" }, { "docid": "4b00e880c6a42bee4ab41dc1cca5fd69", "score": "0.44787967", "text": "int insert(OrderItem record);", "title": "" }, { "docid": "9945e94a3c7cf9287c58704e3c7b3aa4", "score": "0.44729158", "text": "int insert(BluePrintEssentialElements record);", "title": "" }, { "docid": "f2dc754e958f5b56247de05f0380e451", "score": "0.44709647", "text": "private void addOrderToInvoice(){\n\t\tOrder o = new Order(itemsList.getSelectionModel().getSelectedItem());\n\t\trepository.addOrder(o);\n\t\titemsList.getItems().remove(itemsList.getSelectionModel().getSelectedItem());\n\t}", "title": "" }, { "docid": "8b6bc3c5c9f9c6c6ef52d0287fe0348f", "score": "0.44697928", "text": "public ReferencedContent createReferencedContent(Content refContent);", "title": "" }, { "docid": "42b838da6554df05a48d105ad7fb0c46", "score": "0.44617397", "text": "int insert(Order record);", "title": "" }, { "docid": "42b838da6554df05a48d105ad7fb0c46", "score": "0.44617397", "text": "int insert(Order record);", "title": "" }, { "docid": "9ed6d4ef097f2e8a8fad41792b5e915f", "score": "0.44583032", "text": "public void insertarPorReferencia(int referencia, int valor) {\n Nodos nuevo = new Nodos();\n nuevo.setValor(valor);\n if (!nodoVacio()) {\n if (buscar(referencia)) {\n Nodos aux = inicio;\n while (aux.getValor() != referencia) {\n aux = aux.getSiguiente();\n }\n Nodos siguiente = aux.getSiguiente();\n aux.setSiguiente(nuevo);\n nuevo.setSiguiente(siguiente);\n size++;\n }\n }\n }", "title": "" }, { "docid": "2cbeda7ed6717743f3d8274bd8c5ea91", "score": "0.44562054", "text": "@ApiModelProperty(required = true, value = \"A custom reference identifying the order.\")\n @JsonProperty(JSON_PROPERTY_REFERENCE)\n @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)\n\n public String getReference() {\n return reference;\n }", "title": "" }, { "docid": "c11e944bd2c3533b40cc3eb9ae07da42", "score": "0.44542184", "text": "@Override\n protected Uri insertInTransaction(Uri uri, ContentValues values) {\n return null;\n }", "title": "" }, { "docid": "513e869ba3ec83c6c1ed2449acf7c24e", "score": "0.44474876", "text": "protected <N extends BinaryTreeNode<V>> N recursiveInsert(N ref, V value) {\n if (value.compareTo(ref.getValue()) < 0) {\n if (ref.getLeft() == null) {\n // we found its position\n ref.setLeft(nodeCreator.createNewNode(value));\n } else {\n // keep looking on the left\n ref.setLeft(recursiveInsert(ref.getLeft(), value));\n }\n } else {\n if (ref.getRight() == null) {\n // we found its position\n ref.setRight(nodeCreator.createNewNode(value));\n } else {\n // keep looking on the right\n ref.setRight(recursiveInsert(ref.getRight(), value));\n }\n }\n \n return ref;\n }", "title": "" }, { "docid": "5846d10f2e054b2fa10ac7fa92984ddd", "score": "0.44474387", "text": "public Node insertBefore(Node newChild, Node refChild) throws DOMException {\n return peer.insertBefore(newChild, refChild);\n }", "title": "" }, { "docid": "945a5908926c335b600f147c0c1d9c38", "score": "0.44322816", "text": "@Override\r\n public boolean insertDetailOrder(DetailOrder order) {\r\n\r\n return PMF.insertObject(order);\r\n\r\n }", "title": "" }, { "docid": "b7282c2979f162b8694f039de080065c", "score": "0.44294178", "text": "@Override\r\n\tpublic ComplementsRelations createAddressesComplements() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "8a6224285fc55765541ee533e19b3b94", "score": "0.44184223", "text": "@Test\n public void test072() throws Throwable {\n XmlEntityRef xmlEntityRef0 = new XmlEntityRef(\"tru`e;\");\n xmlEntityRef0._setComponentId(\"tru`e;\");\n }", "title": "" }, { "docid": "ff95355383930ba9666480b815421634", "score": "0.44102362", "text": "void addIdentifiersToXPath(StringBuffer out, Element el2,\n Map<Namespace, String> ns2Prefix) {\n AttributeUniqenessAnalyser anal = new AttributeUniqenessAnalyser();\n AttDataObj uniqueAttr = anal.getUniqueAttributeForElement(el2);\n if (uniqueAttr != null) {\n out.append(\"[@\");\n out.append(getAttStrForAtt(uniqueAttr.att)).append(\"='\");\n String val = el2.getAttribute(uniqueAttr.name, uniqueAttr.ns)\n .getValue();\n out.append(escape(val)).append(\"']\");\n\n } else {\n int indx = anal.getIndexForElementAmongstSiblings(el2);\n if (indx != -1)\n out.append(\"[\").append(indx).append(\"]\");\n }\n }", "title": "" }, { "docid": "fcd88545a73f54325e5d00820e2bc675", "score": "0.44075966", "text": "public com.microsoft.schemas._2003._10.serialization.arrays.ArrayOfanyType addNewValues()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n com.microsoft.schemas._2003._10.serialization.arrays.ArrayOfanyType target = null;\r\n target = (com.microsoft.schemas._2003._10.serialization.arrays.ArrayOfanyType)get_store().add_element_user(VALUES$4);\r\n return target;\r\n }\r\n }", "title": "" }, { "docid": "dd49a8d3cc7ddd9dce374b6bfb7c1f34", "score": "0.4401326", "text": "private void addReferences(org.jdom.Element e, Document d)\n {\n if (\"material\".equals(e.getName()))\n {\n // Check for composite or fraction tags.\n List l = e.getChildren(\"composite\");\n if (l.isEmpty())\n {\n l = e.getChildren(\"fraction\");\n }\n \n if (l.isEmpty())\n {\n // Bad XML. Required tags missing.\n throw new RuntimeException(\"Material does not contain required fraction or composite tags.\");\n }\n\n for (org.jdom.Element ce : (List<org.jdom.Element>)l)\n {\n String ref = ce.getAttributeValue(\"ref\");\n\n // Add if element.\n org.jdom.Element fnd = xmgr.findMaterialElementXML(ref, d);\n if (fnd != null)\n {\n xmgr.addMaterialElementRef(fnd);\n }\n // Add if material.\n else\n {\n fnd = xmgr.findMaterialXML(ref, d);\n\n if (fnd != null)\n {\n // Recursively add references of this material.\n addReferences(fnd, d);\n }\n else\n {\n throw new RuntimeException(\"Material or element reference not found: \" + ref);\n }\n }\n }\n \n // Add original material after refs resolved.\n xmgr.addMaterialRef(e);\n } \n }", "title": "" }, { "docid": "675a420c6c8f4d6f4891fa393e37dd94", "score": "0.43992493", "text": "private void addInsertOrUpdateManuallyElement(XmlElement parent, IntrospectedTable introspectedTable) {\n XmlElement element = new XmlElement(\"insert\");\n context.getCommentGenerator().addComment(element);\n\n element.addAttribute(new Attribute(\"id\", \"insertOrUpdateManually\"));\n element.addAttribute(new Attribute(\"parameterType\", \"map\"));\n\n GeneratedKey gk = introspectedTable.getGeneratedKey();\n String updateGK = \"\";\n if (gk != null) {\n IntrospectedColumn introspectedColumn = introspectedTable.getColumn(gk.getColumn());\n if (introspectedColumn != null) {\n if (gk.isJdbcStandard()) {\n element.addAttribute(new Attribute(\"useGeneratedKeys\", \"true\"));\n element.addAttribute(new Attribute(\"keyProperty\", \"record.\" + introspectedColumn.getJavaProperty()));\n element.addAttribute(new Attribute(\"keyColumn\", introspectedColumn.getActualColumnName()));\n } else {\n element.addElement(getSelectKeyElement(introspectedColumn, gk));\n }\n updateGK = String.format(\", %s = last_insert_id(%s)\",\n introspectedColumn.getActualColumnName(), introspectedColumn.getActualColumnName());\n }\n }\n StringBuilder insertClause = new StringBuilder();\n StringBuilder valuesClause = new StringBuilder();\n insertClause.append(\"insert into \")\n .append(introspectedTable.getFullyQualifiedTableNameAtRuntime())\n .append(\" (\");\n valuesClause.append(\"values (\");\n\n List<String> valuesClauses = new ArrayList<>();\n List<IntrospectedColumn> columns = ListUtilities.removeIdentityAndGeneratedAlwaysColumns(\n introspectedTable.getAllColumns());\n for (int i = 0; i < columns.size(); i++) {\n IntrospectedColumn introspectedColumn = columns.get(i);\n\n insertClause.append(MyBatis3FormattingUtilities.getEscapedColumnName(introspectedColumn));\n String parameterClause = MyBatis3FormattingUtilities.getParameterClause(introspectedColumn);\n valuesClause.append(parameterClause.substring(0, 2))\n .append(\"record.\")\n .append(parameterClause.substring(2));\n\n if (i + 1 < columns.size()) {\n insertClause.append(\", \");\n valuesClause.append(\", \");\n }\n\n if (valuesClause.length() > 80) {\n element.addElement(new TextElement(insertClause.toString()));\n insertClause.setLength(0);\n OutputUtilities.xmlIndent(insertClause, 1);\n\n valuesClauses.add(valuesClause.toString());\n valuesClause.setLength(0);\n OutputUtilities.xmlIndent(valuesClause, 1);\n }\n }\n\n insertClause.append(')');\n element.addElement(new TextElement(insertClause.toString()));\n\n valuesClause.append(')');\n valuesClauses.add(valuesClause.toString());\n\n for (String clause: valuesClauses) {\n element.addElement(new TextElement(clause));\n }\n\n // if table has a generated key, append string like `id = last_insert_id(id)` to updateClause\n // to ensures the returned id always references the inserted entity or the updated entity\n element.addElement(new TextElement(\"on duplicate key update ${updateClause}\" + updateGK));\n\n parent.addElement(element);\n }", "title": "" }, { "docid": "67c837033d2be2cc706e70ca1854430f", "score": "0.43892798", "text": "public void setRelIncidenceOrder(int order) {\n\t\tsetAttribute(GXL.STARTORDER, String.valueOf(order));\n\t}", "title": "" }, { "docid": "ea4997e8570c00f4b1b4dd2b9a160e1f", "score": "0.43881372", "text": "@Override\n\tpublic void updateReforder(int ref, int reforder) throws Exception {\n\t\t\n\t}", "title": "" }, { "docid": "591a02cc077fa6ae29d488bea2ef4634", "score": "0.4385033", "text": "public void createNestedElement(Order orderItem, String childName){\r\n\t\t\r\n\t\titem = doc.createElement(childName);\r\n\t\titem.setAttribute(\"PROD_NUMBER\", orderItem.prodId);\r\n\t\titem.setAttribute(\"PROD_NAME\", orderItem.prodName);\r\n\t\titem.setAttribute(\"QUANTITY\", orderItem.prodQuantity);\r\n\t\titem.setAttribute(\"UNIT_PRICE\", orderItem.prodValue);\r\n\t\torder.appendChild(item);\r\n\r\n\t\t\r\n\t}", "title": "" }, { "docid": "923e8af77dd623b12d585c36718e889b", "score": "0.43819878", "text": "void insertTransaction(AirTransaction dRef);", "title": "" }, { "docid": "ba3256fcf99fe0f2f57a58f0d64fa56b", "score": "0.4380613", "text": "public amdocs.iam.pd.webservices.quotation.getquoteoutput.Amounts addNewOC()\n {\n synchronized (monitor())\n {\n check_orphaned();\n amdocs.iam.pd.webservices.quotation.getquoteoutput.Amounts target = null;\n target = (amdocs.iam.pd.webservices.quotation.getquoteoutput.Amounts)get_store().add_element_user(OC$0);\n return target;\n }\n }", "title": "" }, { "docid": "00c509dc5af47210a8a6ccf423d62043", "score": "0.43772417", "text": "@Test\n @SuppressWarnings(\"serial\")\n public void testEncodeNewReference() throws IOException {\n NewReference input = new NewReference(new Atom(\"nonode@nohost\"),\n Byte.valueOf(\"0\"), new ArrayList<Integer>() {\n {\n add(0);\n add(0);\n add(94);\n }\n });\n byte[] expected = Utils.toBytes(131, 114, 0, 3, 115, 13, 110, 111, 110,\n 111, 100, 101, 64, 110, 111, 104, 111, 115, 116, 0, 0, 0, 0, 0,\n 0, 0, 0, 0, 0, 0, 0, 94);\n\n StreamEmulator stream = new StreamEmulator();\n Encoder.encode(input, stream);\n byte[] actual = stream.getBytes();\n\n assertArrayEquals(expected, actual);\n }", "title": "" }, { "docid": "c7695b6ac479224218ab9feecb1a6675", "score": "0.43757594", "text": "int insertSelective(H_Order record);", "title": "" }, { "docid": "07836597e804ac8e411386b618adb22f", "score": "0.4372109", "text": "int insertSelective(XdProductOrder record);", "title": "" }, { "docid": "63523999e54832f456e4b67f375a88e7", "score": "0.43579236", "text": "private ElementDefinition storeStandardElement(final ElementDefinition elementDefinition) {\n\n final String[] completeElementNames = elementDefinition.elementName.completeElementNames;\n\n int index;\n for (final String completeElementName : completeElementNames) {\n\n index = binarySearch(this.templateMode.isCaseSensitive(), this.standardRepositoryNames, completeElementName);\n\n // binary Search returned (-(insertion point) - 1)\n this.standardRepositoryNames.add(((index + 1) * -1), completeElementName);\n this.standardRepository.add(((index + 1) * -1), elementDefinition);\n\n index = binarySearch(this.templateMode.isCaseSensitive(), this.repositoryNames, completeElementName);\n\n // binary Search returned (-(insertion point) - 1)\n this.repositoryNames.add(((index + 1) * -1), completeElementName);\n this.repository.add(((index + 1) * -1), elementDefinition);\n\n }\n\n return elementDefinition;\n\n }", "title": "" }, { "docid": "0f15680e69de1e3c9eba0748cafd7bef", "score": "0.43539077", "text": "int insert(ManufacturingOrder record);", "title": "" }, { "docid": "7984c1e5b0b13c33103a5d8455dfeb2c", "score": "0.43522656", "text": "int insertSelective(OrderDO record);", "title": "" }, { "docid": "7984c1e5b0b13c33103a5d8455dfeb2c", "score": "0.43522656", "text": "int insertSelective(OrderDO record);", "title": "" }, { "docid": "80ae8f1d6a164e0288e4582824dbb823", "score": "0.434843", "text": "@Test(timeout = 4000)\n public void test131() throws Throwable {\n XmlEntityRef xmlEntityRef0 = new XmlEntityRef(\"2{;,hz&Z\");\n xmlEntityRef0._setComponentId(\"2{;,hz&Z\");\n assertNull(xmlEntityRef0.defaultTagName());\n }", "title": "" }, { "docid": "48a9751e03db9259998e2c7169b21f84", "score": "0.4346384", "text": "@Test\n\tpublic void nullOrderTest(){\n\t\t//try to place a null order\n\t\tcompany.addOrder(null);\n\t}", "title": "" }, { "docid": "a7fdae1b56eab8a61844a6efbfc2cc76", "score": "0.43429202", "text": "@Test(timeout = 4000)\n public void test004() throws Throwable {\n XmlEntityRef xmlEntityRef0 = new XmlEntityRef(\"h6\");\n xmlEntityRef0.afterAdd();\n assertFalse(xmlEntityRef0._isGeneratedId());\n }", "title": "" }, { "docid": "5ab5047e25a942601595c4a4e2daddf8", "score": "0.43406725", "text": "private static void findAllElementRefNodes(Node qdmVariableNode) {\r\n if ((qdmVariableNode != null) && qdmVariableNode.hasChildNodes()) {\r\n for (int i = 0; i < qdmVariableNode.getChildNodes().getLength(); i++) {\r\n Node childNode = qdmVariableNode.getChildNodes().item(i);\r\n if (childNode.getNodeName().equalsIgnoreCase(\"elementRef\")) {\r\n if (childNode.hasChildNodes()) {\r\n System.out.println(childNode.getFirstChild().getNodeName());\r\n Node attrNode = childNode.getFirstChild();\r\n if (attrNode.getAttributes().getNamedItem(\"attrUUID\") != null) {\r\n attrNode.getAttributes().getNamedItem(\"attrUUID\").setNodeValue(UUIDUtilClient.uuid());\r\n }\r\n }\r\n } else {\r\n if (childNode.hasChildNodes()) {\r\n findAllElementRefNodes(childNode);\r\n }\r\n }\r\n }\r\n }\r\n }", "title": "" }, { "docid": "664c98b50b8b1da6c67b503c64f9efe6", "score": "0.43355435", "text": "int insert(BmOrder record);", "title": "" }, { "docid": "d0b0db8062ea99911db305b4cfdaf1cc", "score": "0.4334761", "text": "public org.netbeans.modules.portalpack.websynergy.servicebuilder.beans.Order newOrder() {\n\t\treturn new org.netbeans.modules.portalpack.websynergy.servicebuilder.beans.impl.Order();\n\t}", "title": "" }, { "docid": "cd22f87f2c1aaca7a024ca904aa58a38", "score": "0.43344387", "text": "int insert(ErpOaWorkOrder record);", "title": "" }, { "docid": "450cbfe508068a9eab075920cd06f4e5", "score": "0.4330314", "text": "public int addOrder(Order order);", "title": "" } ]
c8030bfcc64cfd2e945531d5912029fb
Test of addSymbol method, of class FixerBuilder.
[ { "docid": "218004dfe75293e8b073958e7ceac37f", "score": "0.75111836", "text": "@Test\r\n public void testAddSymbol() {\r\n System.out.println(\"testAddSymbol\");\r\n Currency base = Currency.AUD;\r\n FixerBuilder instance = new FixerBuilder();\r\n String expResult = \"https://api.fixer.io/latest?base=AUD&symbols=USD,\";\r\n String result = instance.withBase(base).addSymbol(Currency.USD).constructLink();\r\n assertEquals(expResult, result);\r\n }", "title": "" } ]
[ { "docid": "1284dcc3c4e3fb90043314f1e94ccbce", "score": "0.6381967", "text": "@Test\r\n public void testRemoveSymbol() {\r\n System.out.println(\"testRemoveSymbol\");\r\n Currency base = Currency.AUD;\r\n FixerBuilder instance = new FixerBuilder();\r\n String expResult = \"https://api.fixer.io/latest?base=AUD\";\r\n String result = instance.withBase(base).addSymbol(Currency.USD).removeSymbol(Currency.USD).constructLink();\r\n assertEquals(expResult, result);\r\n \r\n instance = new FixerBuilder();\r\n expResult = \"https://api.fixer.io/latest?base=AUD&symbols=PLN,\";\r\n result = instance.withBase(base).addSymbol(Currency.USD).addSymbol(Currency.PLN).removeSymbol(Currency.USD).constructLink();\r\n assertEquals(expResult, result);\r\n }", "title": "" }, { "docid": "e410c59144cd9ecfaf6f5fd8041641f4", "score": "0.6182202", "text": "@Test\r\n public void testWithSymbols() {\r\n System.out.println(\"testWithSymbols\");\r\n Currency base = Currency.AUD;\r\n FixerBuilder instance = new FixerBuilder();\r\n String expResult = \"https://api.fixer.io/latest?base=AUD&symbols=USD,PLN,\";\r\n String result = instance.withBase(base).withSymbols(Currency.USD, Currency.PLN).constructLink();\r\n assertEquals(expResult, result);\r\n }", "title": "" }, { "docid": "2025895a7b715157c0a32879f291fa62", "score": "0.6117584", "text": "public void setSymbol(String symbol) { this.symbol = symbol; }", "title": "" }, { "docid": "7b26f341c93c750221d974e88624cbc5", "score": "0.60913205", "text": "public boolean addSymbol(Symbol s)\n\t{\n\t\tString realname = safeName(s.getName(), s.getKind());\n\t\tSymbol symbol = table.get(realname);\n\t\tif(symbol != null) { return false; }\n\t\ttable.put(realname, s);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "0f072f0e0694ca94b3c057e3011b9e50", "score": "0.5924064", "text": "@Override\n public void addAlphabetSymbol(I symbol) {\n }", "title": "" }, { "docid": "c725738ab1d8075e645b49781a3a7662", "score": "0.5910134", "text": "void addNewRow(String symbol);", "title": "" }, { "docid": "d8ecc989ed17637289d5ed2da27de67d", "score": "0.58218366", "text": "@Override\n public void addSymbol(String symbol, int value) {\n assert !this.symbolTable.containsKey(symbol);\n\n this.symbolTable.put(symbol, new Symbol(value, false));\n }", "title": "" }, { "docid": "021802b20ba756cd35017c1e6d83266c", "score": "0.5794867", "text": "public void setSymbol(String symbol) {\n this.symbol = symbol;\n }", "title": "" }, { "docid": "aeb2aa6b930ced18f5c1c27bb8949b31", "score": "0.56250995", "text": "Symbol createSymbol();", "title": "" }, { "docid": "8cb443b57863063a02a700e201461555", "score": "0.55971706", "text": "public void setSymbol(String symbol) {\n\t\tthis.symbol = symbol;\n\t}", "title": "" }, { "docid": "64f2c761286cd6a1ce845f5d1ecd2978", "score": "0.5562514", "text": "public Position setPosition(Symbol symbol, int quantity, ExecutionMethod executionMethod);", "title": "" }, { "docid": "49e7b66d9728d7c9a73fef6219bae17c", "score": "0.55514395", "text": "protected void setSymbol(Symbol symbol) {\n this.symbol = symbol;\n }", "title": "" }, { "docid": "db5a9d6fdcee2ba757ec7675daca2d4a", "score": "0.55101144", "text": "static void add(String str, InstructionType type, boolean isSymbol) {\n table.put(new StringView(str), type);\n if (isSymbol) {\n symbolList.add(str);\n }\n }", "title": "" }, { "docid": "ab0ba9e7f846e09257cd778d67c40344", "score": "0.5390667", "text": "@Test\n\tpublic void testSomeSymbols() {\n\t\tLexer lexer = new Lexer(\" -.? \\r\\n\\t ## \");\n\n\t\tToken correctData[] = {\n\t\t\t\tnew Token(TokenType.SYMBOL, Character.valueOf('-')),\n\t\t\t\tnew Token(TokenType.SYMBOL, Character.valueOf('.')),\n\t\t\t\tnew Token(TokenType.SYMBOL, Character.valueOf('?')),\n\t\t\t\tnew Token(TokenType.SYMBOL, Character.valueOf('#')),\n\t\t\t\tnew Token(TokenType.SYMBOL, Character.valueOf('#')),\n\t\t\t\tnew Token(TokenType.EOF, null)\n\t\t};\n\n\t\tcheckTokenStream(lexer, correctData);\n\t}", "title": "" }, { "docid": "3afffb44baa0a7be811a0f4f1da6e8b5", "score": "0.5380089", "text": "private void addMethodArg(SymbolMethod symbolMethod, ASTArg nodeArg) {\n SymbolVar symbolVar = new SymbolVar(nodeArg.val);\n symbolVar.updateInitialized(false);\n symbolMethod.addSymbol(nodeArg.val, symbolVar);\n\n if (nodeArg.jjtGetNumChildren() != 1)\n return;\n\n if (nodeArg.jjtGetChild(0) instanceof ASTType) {\n symbolMethod.addType(analysingType(symbolVar, (ASTType) nodeArg.jjtGetChild(0)));\n }\n }", "title": "" }, { "docid": "3b713597c04b56b3cd08df62aa985539", "score": "0.5351794", "text": "boolean hasSymbolSpecific();", "title": "" }, { "docid": "04ce41bb523f5dd6cf20842d3a9b868e", "score": "0.53457314", "text": "public void addEntry(String symbol) {\n\t\taddEntry(symbol, ramAddress);\n\t\tramAddress++;\n\t}", "title": "" }, { "docid": "ef416b776fbad59645ca9b0447f0cdff", "score": "0.52944016", "text": "@Test\n void getCompanyBySymbolException()\n {\n }", "title": "" }, { "docid": "c8bc46e919cee60029a70b6833c80664", "score": "0.5284899", "text": "public void define(Symbol sym);", "title": "" }, { "docid": "8f7a90cf008f53f9c44335d344ddd166", "score": "0.5233114", "text": "private void addExitSymbol() {\n\t\t\n\t\tInteger exitInstruction = new Integer(0);\n\t\t\n\t\tInteger opCode = new Integer(50);\n\t\tInteger value = new Integer(1);\n\t\t\n\t\texitInstruction = opCode;\n\t\texitInstruction = exitInstruction << 1;\n\t\t\n\t\texitInstruction = exitInstruction | 1;\n\t\t\n\t\t\n\t\texitInstruction = exitInstruction << 25;\n\t\t\n\t\texitInstruction = exitInstruction | value;\n\t\t\n\t\tthis.instructions.addElement(exitInstruction);\n\t\t\n\t}", "title": "" }, { "docid": "f1629998dd23fe75c731e0f39c3faf57", "score": "0.51639664", "text": "public Position setPosition(Symbol symbol, int quantity);", "title": "" }, { "docid": "bf32dac276c1625fc356c7161bfcf55a", "score": "0.514638", "text": "public void report_error(String messagePrefix, Symbol aSymbol, String messageSuffix) {\n// System.out.println(\"Symbol \" + aSymbol + \", left=\" + aSymbol.left\n// + \", right=\" + aSymbol.right\n// + \", parse_state=\" + aSymbol.parse_state\n// + \", value=\" + (aSymbol.value != null ? aSymbol.value : \"-nil-\"));\n Symbol theSymbol = aSymbol != null ? aSymbol : lookahead != null ? lookahead[0] : cur_token;\n report_error(messagePrefix + \" \\\"\" + theSymbol.value +\"\\\"\" + messageSuffix, theSymbol);\n }", "title": "" }, { "docid": "d1bee5af7f97dd0f17dc8fa9950260bc", "score": "0.5118809", "text": "Symbols createSymbols();", "title": "" }, { "docid": "c7c9d5638234e95e88ae6912148c227f", "score": "0.50967073", "text": "@Override\n\tpublic void buildSymbolTable(STableI table, Stack<STableI> stStack, int entryLoc, int tableLoc)\n\t\t\tthrows CompileTimeError {\n\t\t\n\t}", "title": "" }, { "docid": "29c0eed4894227a6b42be955efba0c45", "score": "0.5094631", "text": "public void setValue(char newSymbol) {\r\n\t\tif(!isEmpty()){\r\n\t\t\tthis.current.symbol = newSymbol;\r\n\t\t}\r\n\t\telse{\r\n\t\t\tSystem.out.println(\"The list is empty.\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "f1ea721957e1b29a7033d5c147b9956a", "score": "0.50908536", "text": "public interface Symbol {\n}", "title": "" }, { "docid": "258c497c55b1613f65e02e0535c9e461", "score": "0.5082075", "text": "public String getSymbol() {\n return symbol;\n }", "title": "" }, { "docid": "83ca836941c21064a136417a70599d03", "score": "0.5077386", "text": "@Test @Override\n\tpublic void t6_existing_add() {\n\t\t\n\t}", "title": "" }, { "docid": "a1576e08085c1464ba6e25353d7e92b1", "score": "0.5075735", "text": "String getSymbol();", "title": "" }, { "docid": "83e41d6f48ff96e40e9255f694969151", "score": "0.5057652", "text": "public void setSymbol(String symbol) {\n this.symbol = symbol == null ? null : symbol.trim();\n }", "title": "" }, { "docid": "c3fde43aaa3d0acf98d2de44172b9309", "score": "0.5050059", "text": "public void annotateSymbol(final AstNodeSymbol symbol, final ASTNode node) {\n\t\t// Do nothing\n\t}", "title": "" }, { "docid": "06b857379db88eba867c07376a98aafc", "score": "0.50422525", "text": "void addShip(int x, int y, char[][] map, char shipSymbol){\n map[y][x]=shipSymbol;\n }", "title": "" }, { "docid": "7a0b06726f6b9a641ff4884943445dec", "score": "0.5037721", "text": "@Test\r\n\tpublic void addPairTest() {\r\n\t\tItemBag testBag = new ItemBag();\r\n\t\tItem testItem1 = new Item(\"testItem1\");\r\n\t\ttestBag.addPair(\"testItem1\", testItem1);\r\n\r\n\t\tfail(\"Not yet implemented\");\r\n\t}", "title": "" }, { "docid": "9e7a1922641d75bf1d69fde057d2d2c9", "score": "0.50238436", "text": "public void addEntry(String symbol, int address) {\n\t\ttable.put(symbol, Code.mapDecimalToBinary(address));\n\t}", "title": "" }, { "docid": "8f72b335801127cb223ade50734be516", "score": "0.5018618", "text": "@Test\n @DisplayName(\"testing for push method\")\n void testingForPushMethod() {\n moduleCodes.push(\"CS3305\");\n moduleCodes.push(\"CS3306\");\n moduleCodes.push(\"CS3506\");\n moduleCodes.push(\"CS3506\");\n moduleCodes.push(\"CS3514\");\n moduleCodes.push(\"CS3516\");\n moduleCodes.push(\"CS3519\");\n moduleCodes.push(\"CS1117\");\n assertEquals(7+1,moduleCodes.getSize());\n }", "title": "" }, { "docid": "15cd35b1dd59a0321d28e2f64902c5a1", "score": "0.5013952", "text": "private Symbol(String name) {\n super();\n this.name = name;\n }", "title": "" }, { "docid": "96a1049b938451b87337585a2654b791", "score": "0.5011367", "text": "public void set(Symbol symbol, boolean b) {\n if (symbol != null)\n table.put(symbol,b);\n else\n System.out.print(\"ERROR: cannot insert null symbol\");\n }", "title": "" }, { "docid": "79659e9d5ec407f3b1067a72f717cbf8", "score": "0.4981141", "text": "public Entry(Symbol symbol) {\n this.type = Type.SYMBOL;\n this.other = symbol;\n }", "title": "" }, { "docid": "c80f9d582454f4152673d22c1e0398f9", "score": "0.495335", "text": "@Test\n public void shouldGetSymbolWriterByMatcher() {\n assertThat(WriterFactory.getWriter(SYMBOL_MATCH), is(instanceOf(SymbolWriter.class)));\n }", "title": "" }, { "docid": "3bd23ac16681a47619bdfc15d4e24091", "score": "0.4938638", "text": "GenericUnaryOperator(String name, String description, String symbol){\n\t\tthis.name = name;\n\t\tthis.description = description;\n\t\tthis.symbol = symbol;\n\t}", "title": "" }, { "docid": "165d1164006779a4868d50a259b8e6b8", "score": "0.49331862", "text": "@Test @Override\n\tpublic void t8_existing_addThrice() {\n\t\t\n\t}", "title": "" }, { "docid": "543bd82fc8635b4889d3061222dabc2d", "score": "0.4917341", "text": "void setMorelinesSymbol(Character symbol);", "title": "" }, { "docid": "543bd82fc8635b4889d3061222dabc2d", "score": "0.4917341", "text": "void setMorelinesSymbol(Character symbol);", "title": "" }, { "docid": "1718fbc283f03ed04ffceafd27c1d487", "score": "0.4909847", "text": "@Override\n public void addEntry(int x) {\n //This is a dummy method, but is call in some methods inside SyntacticFeatureFactory class\n }", "title": "" }, { "docid": "072cdadcdcfd09bc71086b6dd045376e", "score": "0.49012268", "text": "public MySymbolTable(){\n\n\t}", "title": "" }, { "docid": "5449dd4da131631ef2c23b4222db63f8", "score": "0.48991293", "text": "@Test\n public void shouldGetSymbolWriterByName() {\n assertThat(WriterFactory.getWriter(SYMBOL_NAME), is(instanceOf(SymbolWriter.class)));\n }", "title": "" }, { "docid": "38d6f2c0ea7e904364b46b36c9f5cff8", "score": "0.48900044", "text": "public void onMatchingSymbolClick(View v, int position);", "title": "" }, { "docid": "e99d79c1a4d77d1bd536ba137cced7a6", "score": "0.48867145", "text": "@Test @Override\n\tpublic void t7_existing_addTwice() {\n\t\t\n\t}", "title": "" }, { "docid": "4f9791b19589342d8f9eb5dc4fff488a", "score": "0.4883638", "text": "public OpenOrder placeOrder(Symbol symbol, int quantity, String reference);", "title": "" }, { "docid": "eade069b065a1327067c56a3a7af8dc2", "score": "0.48742366", "text": "@Test\n public void testAddBracket9PlayersSE() throws BadBracketDataException{\n System.out.println(\"Add 9-player SE bracket\");\n String divisionName = \"division\";\n String bracketType = \"SE\";\n BracketType myBracket;\n Round myRound;\n List<String> players = new ArrayList<>(9);\n players.add(\"za\"); players.add(\"yb\"); players.add(\"xc\");\n players.add(\"vd\"); players.add(\"ue\"); players.add(\"tf\");\n players.add(\"rg\"); players.add(\"qh\"); players.add(\"pi\");\n myBracketManager.addBracket(divisionName, bracketType, players);\n myBracketManager.firstBracket();\n myBracket = myBracketManager.getCurrentBracket();\n assertEquals(4, myBracket.getRoundCount());\n myBracket.firstRound();\n //round 1\n myRound = myBracket.getCurrentRound();\n assertEquals(5, myRound.getMatchCount());\n myBracket.nextRound();\n //round 2\n myRound = myBracket.getCurrentRound();\n assertEquals(3, myRound.getMatchCount());\n myBracket.nextRound();\n //round 3\n myRound = myBracket.getCurrentRound();\n assertEquals(2, myRound.getMatchCount());\n myBracket.nextRound();\n //round 4\n myRound = myBracket.getCurrentRound();\n assertEquals(1, myRound.getMatchCount());\n myBracket.nextRound();\n assertTrue(myBracket.isDone());\n myBracketManager.nextBracket();\n assertTrue(myBracketManager.isDone());\n }", "title": "" }, { "docid": "67efdfa21b06830e2cdcf98b255fbc13", "score": "0.48736525", "text": "public scala.reflect.internal.Symbols.Symbol apply (java.lang.String name) { throw new RuntimeException(); }", "title": "" }, { "docid": "9a65d3bb0272129eaa6e04e3d5388a77", "score": "0.48724833", "text": "public void insert(char symbol) {\r\n\t\tCaseRuban theElem = new CaseRuban(null, null, symbol);\r\n\t\t\r\n\t\ttheElem.prev = this.current.prev;\r\n\t\ttheElem.next = this.current;\r\n\t\t(this.current).prev.next = theElem;\r\n\t\t(this.current).prev = theElem;\r\n\t\tthis.current = theElem;\r\n\t\t\r\n\t\tthis.size++;\r\n\t}", "title": "" }, { "docid": "b6f457b1203b38c61a719c4f61d96cdb", "score": "0.48697364", "text": "@Test\n public void testAdd() {\n assertEquals(ra(1, 2, 3), ra(1).add(ra(2, 3)));\n }", "title": "" }, { "docid": "0a45fe0034035a3bd66a3b0e694c33d1", "score": "0.48604366", "text": "public String getSymbol() {\n return symbol;\n }", "title": "" }, { "docid": "0a45fe0034035a3bd66a3b0e694c33d1", "score": "0.48604366", "text": "public String getSymbol() {\n return symbol;\n }", "title": "" }, { "docid": "0a45fe0034035a3bd66a3b0e694c33d1", "score": "0.48604366", "text": "public String getSymbol() {\n return symbol;\n }", "title": "" }, { "docid": "ccbe1d15bf7590aedbc7fbc97183d581", "score": "0.48570305", "text": "private void checkAddSymbols(boolean isAddSymbolsCheckbox) {\n\t\t\n\t\ttestFuncs.myDebugPrinting(isAddSymbolsCheckbox?\"true\":\"false\", enumsClass.logModes.MINOR);\n\t driver.switchTo().frame(1);\n\t if (isAddSymbolsCheckbox) {\n\t \t\n\t \tif (!driver.findElement(By.xpath(\"//*[@id='add_symbol']\")).isSelected()) {\n\t\t\t\n\t \t\ttestFuncs.myDebugPrinting(\"Checkbox was unchecked\", enumsClass.logModes.MINOR);\n\t \t\tmyClick(By.xpath(\"//*[@id='add_symbol']\"), 2000);\n\t \t}\n\t\t} else {\n\t\t\t\n\t \tif (driver.findElement(By.xpath(\"//*[@id='add_symbol']\")).isSelected()) {\n\t\t\t\t\n\t \t\ttestFuncs.myDebugPrinting(\"Checkbox was checked\", enumsClass.logModes.MINOR);\n\t \t\tmyClick(By.xpath(\"//*[@id='add_symbol']\"), 2000);\n\t \t}\n\t\t}\n\t}", "title": "" }, { "docid": "3d9e581b3e862552b0e3929d90df50c2", "score": "0.48494118", "text": "@Test\n public void testAddBracket13PlayersSE() throws BadBracketDataException{\n System.out.println(\"Add 13-player SE bracket\");\n String divisionName = \"division\";\n String bracketType = \"SE\";\n BracketType myBracket;\n Round myRound;\n List<String> players = new ArrayList<>(13);\n players.add(\"1331\"); players.add(\"1221\"); players.add(\"1111\");\n players.add(\"1001\"); players.add(\"0990\"); players.add(\"0880\");\n players.add(\"0770\"); players.add(\"0660\"); players.add(\"0550\");\n players.add(\"0440\"); players.add(\"0330\"); players.add(\"0220\");\n players.add(\"0110\");\n myBracketManager.addBracket(divisionName, bracketType, players);\n myBracketManager.firstBracket();\n myBracket = myBracketManager.getCurrentBracket();\n assertEquals(4, myBracket.getRoundCount());\n myBracket.firstRound();\n //round 1\n myRound = myBracket.getCurrentRound();\n assertEquals(7, myRound.getMatchCount());\n myBracket.nextRound();\n //round 2\n myRound = myBracket.getCurrentRound();\n assertEquals(4, myRound.getMatchCount());\n myBracket.nextRound();\n //round 3\n myRound = myBracket.getCurrentRound();\n assertEquals(2, myRound.getMatchCount());\n myBracket.nextRound();\n //round 4\n myRound = myBracket.getCurrentRound();\n assertEquals(1, myRound.getMatchCount());\n myBracket.nextRound();\n assertTrue(myBracket.isDone());\n myBracketManager.nextBracket();\n assertTrue(myBracketManager.isDone());\n }", "title": "" }, { "docid": "5314837f0f1c32643ffe674d9df87001", "score": "0.48396078", "text": "public ElementOperator(String symbol) {\n\t\tthis.symbol = symbol;\n\t}", "title": "" }, { "docid": "0b99165cf216d5489fe36ec56ef66e1b", "score": "0.48368615", "text": "@Override\n public String getSymbol() {\n return SYMBOL;\n }", "title": "" }, { "docid": "efb19da34714102a9d2c1a0ec69765e8", "score": "0.4835914", "text": "public OpenOrder placeOrder(Symbol symbol, int quantity, double price, String reference);", "title": "" }, { "docid": "50a9973b1f3b4deee95465fe14cbb713", "score": "0.4828336", "text": "public final void testAdd() {\n assertEquals(sjp.add(3, 4), 7);\n }", "title": "" }, { "docid": "1e4aa73c30fbb68c5b5229c2baa0bcae", "score": "0.48220202", "text": "public CreateExternalSymbolBackgroundCmd(String libName, String symbol) {\n\t\tthis.provider = new RawSymbolInfoProvider(libName, symbol);\n\t}", "title": "" }, { "docid": "943fd736599447e00a0861a50d695260", "score": "0.48088717", "text": "public void syntax_error(Symbol aSymbol) {\n syntax_error(aSymbol, \".\");\n }", "title": "" }, { "docid": "a909ae2c3c112d9448f1f006def0be5d", "score": "0.48064762", "text": "Pair<String, SourceConstant> newSymbolName(String name, Expression value, CodeStatement s);", "title": "" }, { "docid": "59628c65b83681d2db5f6b450b57b3b3", "score": "0.48060042", "text": "private boolean isOpening(char symbol) {\n String openings = \"([{\";\n if (openings.contains(Character.toString(symbol))) {\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "346b07c138dabf8eb02dd48d81ddc348", "score": "0.48030725", "text": "@Test\n public void testSimpleAdd() {\n\n String[] column = new String[] { \"1.0\", \"2.0\", \"3.0\", \"4.5\" };\n\n BigMoney testObject = MoneyUtils.parse(\"USD 0.00\");\n for (int i = 0; i < column.length; i++) {\n testObject = testObject.plus(MoneyUtils.parse(\"USD \" + column[i]));\n }\n\n assertThat(testObject.toString()).isEqualTo(\"USD 10.50\");\n }", "title": "" }, { "docid": "09fa3b6310c0543a5299df4f2ae99659", "score": "0.48021615", "text": "@Override\r\n\tpublic void addTo(String newExpression) {\n\r\n\t}", "title": "" }, { "docid": "5a852bc6218911a5e8f797b9a9d1a047", "score": "0.47995684", "text": "public void unrecovered_syntax_error(Symbol s) throws java.lang.Exception{\n System.out.println(\"Error Sintactico no recuperable en la Linea \" + (s.right+1)+ \" Columna \"+s.left+\". Identificador \" + s.value + \" no reconocido.\");\n}", "title": "" }, { "docid": "9500b9b666418e62bb83b7e774e97a2f", "score": "0.47968668", "text": "@Override\n\tpublic void addToGrill(String s, int pos) {\n\t\t\n\t}", "title": "" }, { "docid": "fbc3507938ec6008987135ef56b9fa48", "score": "0.47951803", "text": "AcideAmine(String symb){\n symbol=symb;\n //faire analyse\n }", "title": "" }, { "docid": "bf4c8bd1937632ac3dafa66b1221df8e", "score": "0.47924423", "text": "private void verifyCEPSuggestion(String inSymbol,\n BigDecimal inPrice,\n BigDecimal inQuantity,\n OrderSingleSuggestion inSuggestion)\n throws Exception\n {\n assertEquals(inSymbol,\n inSuggestion.getOrder().getInstrument().getSymbol());\n assertEquals(inPrice,\n inSuggestion.getOrder().getPrice());\n assertEquals(inQuantity,\n inSuggestion.getOrder().getQuantity());\n }", "title": "" }, { "docid": "e7aafe627114b896229a971e8adcf5f0", "score": "0.47796598", "text": "public boolean addBug(Bug bug) {\n\t\tif(bugMapper.insert(bug)!=0)\n\t\t\treturn true;\n\t\treturn false;\n\t}", "title": "" }, { "docid": "e6e3316297da2d77d2a1d54e023020b0", "score": "0.47779402", "text": "@Test\n public void testAddBracket(){\n System.out.println(\"addBracket\");\n String divisionName = \"\";\n String bracketType = \"\";\n List<String> players;\n\n try {\n myBracketManager.addBracket(divisionName, bracketType, null);\n fail();\n } catch (Exception e){\n assertTrue(e instanceof BadBracketDataException);\n }\n try {\n myBracketManager.addBracket(\"alpha\", \"SE\", null);\n fail();\n } catch (Exception e){\n assertTrue(e instanceof BadBracketDataException);\n }\n players = new ArrayList<>(2);\n players.add(\"bob\"); players.add(\"tom\");\n try {\n myBracketManager.addBracket(\"alpha\", bracketType, players);\n fail();\n } catch (Exception e){\n assertTrue(e instanceof BadBracketDataException);\n }\n try {\n myBracketManager.addBracket(\"\", \"SE\", players);\n fail();\n } catch (Exception e){\n assertTrue(e instanceof BadBracketDataException);\n }\n try {\n myBracketManager.addBracket(divisionName, bracketType, players);\n fail();\n } catch (Exception e){\n assertTrue(e instanceof BadBracketDataException);\n }\n players.clear();\n try {\n myBracketManager.addBracket(divisionName, \"SE\", players);\n fail();\n } catch (Exception e){\n assertTrue(e instanceof BadBracketDataException);\n }\n try {\n myBracketManager.addBracket(\"alpha\", bracketType, players);\n fail();\n } catch (Exception e){\n assertTrue(e instanceof BadBracketDataException);\n }\n //Test duplicate division names.\n players.add(\"bob\"); players.add(\"tom\");\n divisionName = \"useThisTwice\";\n try {\n myBracketManager.addBracket(divisionName, \"SE\", players);\n } catch (Exception e){\n fail();\n }\n try {\n myBracketManager.addBracket(divisionName, bracketType, players);\n fail();\n } catch (Exception e){\n assertTrue(e instanceof BadBracketDataException);\n }\n }", "title": "" }, { "docid": "c6a8e8ef599f3dcf930dc5126f722c33", "score": "0.47762617", "text": "public void syntax_error(Symbol aSymbol, String messageSuffix) {\n// System.out.println(\"Symbol \" + aSymbol + \", left=\" + aSymbol.left\n// + \", right=\" + aSymbol.right\n// + \", parse_state=\" + aSymbol.parse_state\n// + \", value=\" + (aSymbol.value != null ? aSymbol.value : \"-nil-\"));\n report_error(\"Syntax error at \\\"\" + aSymbol.value +\"\\\"\" + messageSuffix, aSymbol);\n }", "title": "" }, { "docid": "d56a083ccdb1004d5229dfd4dccbfa19", "score": "0.47701603", "text": "@Override\r\n\tpublic StringBuilder appendValueAsSymbol(StringBuilder pBuf, CharacterMatrix pMatrix) {\n\t\treturn appendValue(pBuf);\r\n\t}", "title": "" }, { "docid": "1bf574d0ed0911d8bf297a0e78ab7631", "score": "0.47671223", "text": "public void syntax_error(Symbol s){\n/**Metodo al que se llama automaticamente ante algun error sintactico.*/\n System.out.println(\"Error Sintactico en la Linea \" + (s.right+1) +\" Columna \"+s.left+ \". Identificador \" +s.value + \" no reconocido.\" );\nint linea = s.right+1; int columna = s.left; \nString texto = \"Identificador \" +s.value + \" no reconocido.\";\n\n}", "title": "" }, { "docid": "e31051819409e0f199a0772a108e9439", "score": "0.4767075", "text": "@Test\r\n\tpublic void testGetSymbol() {\r\n\t\tSystem.out.println(\"getSymbol\");\r\n\t\tCurrency instance = null;\r\n\t\tString expResult = \"\";\r\n\t\tString result = instance.getSymbol();\r\n\t\tassertEquals(expResult, result);\r\n\t\t// TODO review the generated test code and remove the default call to fail.\r\n\t\tfail(\"The test case is a prototype.\");\r\n\t}", "title": "" }, { "docid": "c4a0d9871182e6a1cd2d130a64873fc8", "score": "0.47572628", "text": "@Test\n public void testEncodeDecodeSymbolsString() {\n testEncodeDecode(\"+*/-|!£$%&/()=?^[]@#-_.:,;<>\");\n }", "title": "" }, { "docid": "4fdff301af276f6a5b4b93bf527f66b9", "score": "0.47559476", "text": "@Test\n void postFixTest() {\n assertEquals(63, calc.evaluate(\"567+*2-\", false));\n }", "title": "" }, { "docid": "2d7c917325bd15fa1966ea5362ac6ce4", "score": "0.47516015", "text": "public ISymbol withIdentifier(Identifier newIdentifier);", "title": "" }, { "docid": "c7c00f4cfce431e79acedb9ee8a41a89", "score": "0.47459483", "text": "public String getSymbol() {\r\n return this.symbol;\r\n }", "title": "" }, { "docid": "689640a1988f1ca977f884043b759f7d", "score": "0.4726525", "text": "public String getSymbol() {\n return symbol;\n }", "title": "" }, { "docid": "689640a1988f1ca977f884043b759f7d", "score": "0.4726525", "text": "public String getSymbol() {\n return symbol;\n }", "title": "" }, { "docid": "23e442610cd521d525abf72380fc439d", "score": "0.47204992", "text": "adamant.global.v1.CalculateFeeSymbolSpecific getSymbolSpecific();", "title": "" }, { "docid": "837b0482b739bd0464055476e5c0728f", "score": "0.47124648", "text": "@Test\n public void testAddBracket2PlayersSE() throws BadBracketDataException{\n System.out.println(\"Add 2-player SE bracket\");\n String divisionName = \"alpha\";\n String bracketType = \"SE\";\n BracketType myBracket;\n Round myRound;\n Match myMatch;\n List<String> players = new ArrayList<>(2);\n players.add(\"who\");\n players.add(\"where\");\n myBracketManager.addBracket(divisionName, bracketType, players);\n myBracketManager.firstBracket();\n assertFalse(myBracketManager.isDone());\n myBracket = myBracketManager.getCurrentBracket();\n assertEquals(\"alpha\", myBracket.getBracketName());\n assertEquals(1, myBracket.getRoundCount());\n myBracket.firstRound();\n myRound = myBracket.getCurrentRound();\n assertEquals(1, myRound.getMatchCount());\n myRound.firstMatch();\n assertFalse(myRound.isDone());\n myMatch = myRound.getCurrentMatch();\n assertEquals(\"who\", myMatch.getPlayer1());\n assertEquals(\"where\", myMatch.getPlayer2());\n myRound.nextMatch();\n assertTrue(myRound.isDone());\n myBracketManager.nextBracket();\n assertTrue(myBracketManager.isDone());\n }", "title": "" }, { "docid": "7c21b29c30cf335b869281d3c8a7a198", "score": "0.4711986", "text": "@Test\n\tpublic void exceptionPutTest() {\n\n\t\tSymbolTable st = new SymbolTable();\n\n\t\ttry {\n\n\t\t\tst.put(\"a\", 99);\n\t\t\tst.put(\"b\", 91);\n\t\t\tst.put(\"a\", 13);\n\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Cannot store the same symbol\");\n\t\t\treturn; //the test will pass\n\t\t}\n\n\t\tfail();\n\t}", "title": "" }, { "docid": "6a229aec8b089a1b90288c1ff108354c", "score": "0.47118208", "text": "@Test\n public void testAddBracket16PlayersSE() throws BadBracketDataException{\n System.out.println(\"Add 16-player SE bracket\");\n String divisionName = \"division\";\n String bracketType = \"SE\";\n BracketType myBracket;\n Round myRound;\n List<String> players = new ArrayList<>(16);\n players.add(\"z\"); players.add(\"y\"); players.add(\"x\"); players.add(\"w\");\n players.add(\"v\"); players.add(\"u\"); players.add(\"t\"); players.add(\"s\");\n players.add(\"r\"); players.add(\"q\"); players.add(\"p\"); players.add(\"o\");\n players.add(\"n\"); players.add(\"m\"); players.add(\"l\"); players.add(\"k\");\n myBracketManager.addBracket(divisionName, bracketType, players);\n myBracketManager.firstBracket();\n myBracket = myBracketManager.getCurrentBracket();\n assertEquals(4, myBracket.getRoundCount());\n myBracket.firstRound();\n //round 1\n myRound = myBracket.getCurrentRound();\n assertEquals(8, myRound.getMatchCount());\n myBracket.nextRound();\n //round 2\n myRound = myBracket.getCurrentRound();\n assertEquals(4, myRound.getMatchCount());\n myBracket.nextRound();\n //round 3\n myRound = myBracket.getCurrentRound();\n assertEquals(2, myRound.getMatchCount());\n myBracket.nextRound();\n //round 4\n myRound = myBracket.getCurrentRound();\n assertEquals(1, myRound.getMatchCount());\n myBracket.nextRound();\n assertTrue(myBracket.isDone());\n myBracketManager.nextBracket();\n assertTrue(myBracketManager.isDone());\n }", "title": "" }, { "docid": "7c1ac2a6b21b78dea88a66c47f3b00a9", "score": "0.47052622", "text": "@Test\n public void testAddNum() {\n Calculator instance = new Calculator();\n assertEquals(3, instance.solveEquation(\"add 1 2 \"), 0);\n //Acceptance criteria 1.a\n assertEquals(9, instance.solveEquation(\"add 1 3 5\"), 0);\n assertEquals(15, instance.solveEquation(\"add 1 2 5 7 \"), 0);\n assertEquals(11, instance.solveEquation(\"add 1 10\"), 0);\n assertEquals(12, instance.solveEquation(\"add 10 2 \"), 0);\n assertEquals(1, instance.solveEquation(\"add -1 2 \"), 0);\n assertEquals(8, instance.solveEquation(\"add 10 -2 \"), 0);\n assertEquals(10, instance.solveEquation(\"add 10 0 \"), 0);\n }", "title": "" }, { "docid": "d857197df73b05420e724029a4210a6a", "score": "0.47048005", "text": "void add(Quote quote);", "title": "" }, { "docid": "964d4bf12202038fd4456f9b964dbaa0", "score": "0.4703801", "text": "public char getSymbol()\n {\n return 'X'; \n }", "title": "" }, { "docid": "e26cef6fcdd06fb4d78f98930ac3be7d", "score": "0.47036958", "text": "private static void buildFix(\n Description.Builder builder, MethodInvocationTree tree, VisitorState state) {\n MethodInvocationTree mockitoCall = tree;\n List<? extends ExpressionTree> args = mockitoCall.getArguments();\n Tree mock = mockitoCall.getArguments().get(0);\n boolean isVerify = ASTHelpers.getSymbol(tree).getSimpleName().contentEquals(\"verify\");\n if (isVerify && mock.getKind() == Kind.METHOD_INVOCATION) {\n MethodInvocationTree invocation = (MethodInvocationTree) mock;\n String verify = state.getSourceForNode(mockitoCall.getMethodSelect());\n String receiver = state.getSourceForNode(ASTHelpers.getReceiver(invocation));\n String mode = args.size() > 1 ? \", \" + state.getSourceForNode(args.get(1)) : \"\";\n String call = state.getSourceForNode(invocation).substring(receiver.length());\n builder.addFix(\n SuggestedFix.replace(tree, String.format(\"%s(%s%s)%s\", verify, receiver, mode, call)));\n }\n if (isVerify && args.size() > 1 && NEVER_METHOD.matches(args.get(1), state)) {\n // TODO(cushon): handle times(0) the same as never()\n builder.addFix(\n SuggestedFix.builder()\n .addStaticImport(\"org.mockito.Mockito.verifyZeroInteractions\")\n .replace(\n tree, String.format(\"verifyZeroInteractions(%s)\", state.getSourceForNode(mock)))\n .build());\n }\n // Always suggest the naive semantics-preserving option, which is just to\n // delete the assertion:\n Tree parent = state.getPath().getParentPath().getLeaf();\n if (parent.getKind() == Kind.EXPRESSION_STATEMENT) {\n // delete entire expression statement\n builder.addFix(SuggestedFix.delete(parent));\n } else {\n builder.addFix(SuggestedFix.delete(tree));\n }\n }", "title": "" }, { "docid": "af5614aee30d9ba7f5b164dc611c75a1", "score": "0.46972504", "text": "protected abstract void add(int size, String method, double timing);", "title": "" }, { "docid": "3e60ea4ed98ce8195e627d2e89e81ce8", "score": "0.469697", "text": "protected void spy(Issue next)\n {\n }", "title": "" }, { "docid": "ee10ab8625a291b8f4f1d8c8fe03687b", "score": "0.4696303", "text": "private static void add() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e8827bd7f7124c32777d3f34e74cc810", "score": "0.46783027", "text": "private Symbol(String label) {\n this(label, Token.getToken(label));\n }", "title": "" }, { "docid": "b4ddcc349f7f42c5810a688245575716", "score": "0.46769768", "text": "@Test\r\n\tpublic void addStockTest() {\r\n\t\tstore = new Store(100);\r\n\t\tstore.buyStock(\"test\", 15);\r\n\t\tassertEquals(\"Description:test Quantity:15\", store.toString());\r\n\t}", "title": "" }, { "docid": "117cdac16a6790f2c17687e66c3f172e", "score": "0.46646917", "text": "public String getSymbol(){\n\t\treturn this.symbol;\n\t}", "title": "" }, { "docid": "80506906ecc94403fc5d9dad73269f5e", "score": "0.4664058", "text": "@Test\n public void testAddNote() {\n System.out.println(\"addNote\");\n String note = \"Test notes\";\n instance.addNote(note);\n }", "title": "" }, { "docid": "c010b06bd58a1b6508c404c89dbbcceb", "score": "0.46607628", "text": "@Test\r\n\tpublic void testAdd() {\n\t\twhen(calcService.add(10.0, 20.0)).thenReturn(30.00);\r\n\t\t// test the add functionality\r\n\t\tAssert.assertEquals(mathApplication.add(10.0, 20.0), 30.0, 0);\r\n\t\t// Will result in failure as mockito doesn't how to behave if 10.5 is\r\n\t\t// passed as first argument\r\n\t\t// Assert.assertEquals(mathApplication.add(10.5, 20.0),30.0,0);\r\n\t\t// verify the behavior\r\n\t\tverify(calcService).add(20.0, 20.0);\r\n\t\t// try to correct using\r\n\t\t// verify(calcService).add(10.0, 20.0);\r\n\t}", "title": "" } ]
a45badff9b87da33d195653747f89585
Description: ManifestJpa Author: DIYILIU Update: 20180912 15:56
[ { "docid": "c297759b0e739fa7d65b6e09317326cd", "score": "0.735643", "text": "public interface ManifestJpa extends JpaRepository<Manifest, Long> {\n\n}", "title": "" } ]
[ { "docid": "9fba29ce35bf33f29a7243c42d67c94e", "score": "0.6125618", "text": "@Override\n\tpublic List getAllManifest() {\n\t\treturn session.getCurrentSession().createQuery(\"from dummy_merchant_manifest\").list();\n\t}", "title": "" }, { "docid": "4218e2e7b343489915629c6d67226815", "score": "0.6091486", "text": "public interface AssetDistributionRepository extends JpaRepository<AssetDistribution,Long> {\n\n}", "title": "" }, { "docid": "b9b8d48965d01a2baf8f95f9d5c05727", "score": "0.58533454", "text": "public interface TransmissionMakerRepository extends JpaRepository<TransmissionMaker, Long> {\n}", "title": "" }, { "docid": "9a16a562c0db558b0a61671156da17a3", "score": "0.58117396", "text": "public interface InstEmplHistRepository extends JpaRepository<InstEmplHist,Long> {\n\n}", "title": "" }, { "docid": "8b3dec7c2127b108a906d66452938fba", "score": "0.5763705", "text": "@Repository\npublic interface MigrationCutoverSrcToTgtRepository extends JpaRepository<MigrationCutoverSrcToTgt, MigrationCutoverSrcToTgtPK>, JpaSpecificationExecutor<MigrationCutoverSrcToTgt> {\n\n}", "title": "" }, { "docid": "de9ca599c6cdcee88a0f7a479cd28e9d", "score": "0.57421696", "text": "@Repository\npublic interface MainVersionRepository extends JpaRepository<MainVersion,Long> {\n}", "title": "" }, { "docid": "00a3de64936942103234a61a91193422", "score": "0.5709894", "text": "public interface AuditLogRepository extends JpaRepository<AuditLog,Long>, JpaSpecificationExecutor<AuditLog> {\n\n}", "title": "" }, { "docid": "6ec413cc9502596c07c06f18728670a3", "score": "0.5631546", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface CommandeRepository extends JpaRepository<Commande, Long>, JpaSpecificationExecutor<Commande> {}", "title": "" }, { "docid": "45513e6605a4c6710dee946b29bbd9da", "score": "0.56153387", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface WorkflowInstanceRepository extends JpaRepository<WorkflowInstance, Long> {}", "title": "" }, { "docid": "b55bcebe5607f1a5756dbed752760ee5", "score": "0.5597072", "text": "@Repository\npublic interface AuthorBiographyRepository extends JpaRepository<AuthorBiographyEntity, Long> {\n\n}", "title": "" }, { "docid": "527bd27f62a331a61ceb99a2d5bc8ed4", "score": "0.55948937", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface MQuestDropRateCampaignContentRepository extends JpaRepository<MQuestDropRateCampaignContent, Long>, JpaSpecificationExecutor<MQuestDropRateCampaignContent> {\n\n}", "title": "" }, { "docid": "6c832cdf80e1c87056fb746ab1108b03", "score": "0.5562191", "text": "@Repository\npublic interface MS001001InitIRepository extends JpaRepository<RoleEntity, Long> {\n\n}", "title": "" }, { "docid": "7724c73f7d0eb4d0b72e7f0394a29e93", "score": "0.5547935", "text": "public interface PermissionResipotory extends JpaSpecificationExecutor<Permission>,\n JpaRepository<Permission, Long> {\n}", "title": "" }, { "docid": "b948745e48c59a3a131808a436fef6fc", "score": "0.55396694", "text": "public interface AnimationRepository extends JpaRepository<Animation,Long> {\n\n}", "title": "" }, { "docid": "d44d8e999f3df79740ed0d0b2c022468", "score": "0.5537237", "text": "@Repository\npublic interface MajorRepository extends JpaRepository<Major,Long> {\n\n}", "title": "" }, { "docid": "c790f0b8708096832517f6bf5db78868", "score": "0.5528275", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface DefinitionRepository extends JpaRepository<Definition, Long> {\n\n}", "title": "" }, { "docid": "a4b97e541b04e69770553fd06a525167", "score": "0.5513888", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface AssetTransactionRepository extends JpaRepository<AssetTransaction, Long>, JpaSpecificationExecutor<AssetTransaction> {\n\n}", "title": "" }, { "docid": "fdef728f3463cb1733e14212166e7a21", "score": "0.5511301", "text": "public interface RenProcessEntityRepository extends JpaRepository<RenProcessEntity, String> {\n}", "title": "" }, { "docid": "90be653cd9608acb82dec883b8dd2f1f", "score": "0.5502039", "text": "@Repository\npublic interface ModularAttrRepository extends JpaRepository<ModularAttr,Long> {\n\n public List<ModularAttr> findAllByModularIdOrderBySort(Long modularId);\n\n public void deleteByModularId(Long modularId);\n}", "title": "" }, { "docid": "d1741f6a13f7a1e12f1308b7f680eb66", "score": "0.5497113", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface ExecutionRepository extends JpaRepository<Execution, Long> {\n\n}", "title": "" }, { "docid": "24247dbc9156223ef84eda8265a91c97", "score": "0.54924786", "text": "public interface PermissionRepository extends JpaRepository<Permission, Long>,JpaSpecificationExecutor<Permission> {\n @Query(\"from Permission p where p.id in (:ids)\")\n List<Permission> findByIdIn(@Param(\"ids\") List<Long> ids);\n\n @Query(\"from Permission p group by permissionType\")\n List<Permission> findPermissionGroup();\n\n @Query(\"from Permission p where permissionType =:permissionType\")\n List<Permission> findPermissionByType(@Param(\"permissionType\") Permission.PermissionType permissionType);\n\n @Query(\"from Permission p where p.code = :code\")\n Permission findByCode(@Param(\"code\") String code);\n}", "title": "" }, { "docid": "b6822630309b80bba1b3b562837a305f", "score": "0.54829764", "text": "public interface JournalizeRegisterRepository extends JpaRepository<JournalizeRegister, Long> {\n}", "title": "" }, { "docid": "dedbac205dfb453f7ad2e7113dcde587", "score": "0.54785043", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface FnDescRepository extends JpaRepository<FnDesc, Long> {\n\n}", "title": "" }, { "docid": "d6f95a533900e20bce27bf119d8edef3", "score": "0.54733735", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface EnumDimissionTypeRepository extends JpaRepository<EnumDimissionType, Long>, JpaSpecificationExecutor<EnumDimissionType> {\n\n}", "title": "" }, { "docid": "e8cd445376ea0ae8337609c0604f3524", "score": "0.5457553", "text": "public interface RoleDao extends JpaRepository<Role, Long> {\n}", "title": "" }, { "docid": "18d28b87857da941c14f1da70ec0f3d3", "score": "0.5456603", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface ContentTypeRepository extends JpaRepository<ContentType, Long> {\n\n}", "title": "" }, { "docid": "7f88a5e9c049220176edc6b84f7e7b40", "score": "0.54564553", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface BrightnessRepository extends JpaRepository<Brightness, Long> {\n\n}", "title": "" }, { "docid": "893857c3d724512c1eb3a12e41af2dd2", "score": "0.54446816", "text": "@Repository\npublic interface ProductRepository extends JpaRepository<ProductEntry,Long>{\n}", "title": "" }, { "docid": "c4d7212cffdaec4bf9250eaf77012209", "score": "0.54396516", "text": "@Repository\npublic interface DriverRepository extends JpaRepository<Driver, Long> {\n\n}", "title": "" }, { "docid": "3c8a00898f5f8dbfa60fd4e4b4db145c", "score": "0.54293925", "text": "public interface RoleRepository extends JpaRepository<Role, Serializable>\n{\n}", "title": "" }, { "docid": "9f16ce422e0920219a3583d47dfa3057", "score": "0.54265225", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface DevolucaoVendaRepository extends JpaRepository<DevolucaoVenda, Long>, JpaSpecificationExecutor<DevolucaoVenda> {\n\n}", "title": "" }, { "docid": "64605de37f93be3e426dda04e2b987c6", "score": "0.54242593", "text": "@Repository\n@Table(name = \"fixed_device\")\npublic interface ScheduleContextRepository extends JpaRepository<ScheduleContextForDB, String> {\n\n}", "title": "" }, { "docid": "946c43ad3d0fd73c3b4cae9eaec24662", "score": "0.5424231", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface HistoriaClinicaRepository extends JpaRepository<HistoriaClinica, Long> {\n\n}", "title": "" }, { "docid": "31805ddab01f3f31f97097dd73bb631b", "score": "0.54209757", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface MatiereRepository extends JpaRepository<Matiere, Long> {\n\n}", "title": "" }, { "docid": "0e55e2b95a0408cd3b1f2a6fa6cb9b1f", "score": "0.5418363", "text": "@Repository\npublic interface PartDao extends JpaRepository<Part,Long> {\n}", "title": "" }, { "docid": "d953d0b55c93ea449566eeffff54b918", "score": "0.5413639", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface MenuRepository extends JpaRepository<Menu, Long>, JpaSpecificationExecutor<Menu> {\n\n}", "title": "" }, { "docid": "15d7a629730919057fe9351a67e25720", "score": "0.5386722", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface ProvenanceRepository extends JpaRepository<Provenance, Long>, JpaSpecificationExecutor<Provenance> {\n\n}", "title": "" }, { "docid": "96f17abb703ad424a4f02ce4903e86f2", "score": "0.5384786", "text": "@Repository\npublic interface RoleRepository extends JpaRepository<Role,Long>{\n}", "title": "" }, { "docid": "9c6bbc38d3abc1d975f2f8b209662e91", "score": "0.5383284", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface EnvironnementRepository extends JpaRepository<Environnement, Long> {\n\n}", "title": "" }, { "docid": "8deb2b08e2cf64bfc29fdbce55f0bb00", "score": "0.5364609", "text": "public interface RoleQualificationDAO extends JpaRepository<RoleQualification, RoleQualification.RoleQualificationPK> {\n\n public List<RoleQualification> findByProjectRole(ProjectRoleEntity projectRole);\n}", "title": "" }, { "docid": "3e317056932bab26a031d8ef018a7441", "score": "0.53639793", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface StandRepository extends JpaRepository<Stand, Long> {\n\n}", "title": "" }, { "docid": "34a62a7e8cec7631eeecce004d00dfb5", "score": "0.5363221", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface MidiaRepository extends JpaRepository<Midia, Long>, JpaSpecificationExecutor<Midia> {}", "title": "" }, { "docid": "5d58103daf8f46d6347894d8fb96cea7", "score": "0.5360805", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface OrganismRepository extends JpaRepository<Organism, Long> {\n\n}", "title": "" }, { "docid": "1560746bbf307d7b4db3040a2e3a3de3", "score": "0.53507906", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface MovimientoRepository extends JpaRepository<Movimiento, Long> {\n\n}", "title": "" }, { "docid": "b63eeed719e3d4117685fde718d300c4", "score": "0.53469574", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface SysDirRepository extends JpaRepository<SysDir, Long> {\n\n}", "title": "" }, { "docid": "0b046973214b8501214ed0a6c43728a9", "score": "0.5326811", "text": "public interface ExamRepository extends JpaRepository<Exam, Long> {\n}", "title": "" }, { "docid": "598473bc7c535f10a53c0e03abcaf8bc", "score": "0.5324368", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface FicheIncidentRepository extends JpaRepository<FicheIncident, Long> {\n\n}", "title": "" }, { "docid": "883a3cb88b900bdfe7843a6a420bb390", "score": "0.53229785", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface LibraryRegistryRepository extends JpaRepository<LibraryRegistry, Long> {\n\n}", "title": "" }, { "docid": "2315e53c66b120a8fc36133a6275382d", "score": "0.5321378", "text": "@Repository\npublic interface VisitLogDao extends JpaRepository<VisitLog, VisitLogKey> {\n\n}", "title": "" }, { "docid": "efc650145af20f3087e33ce95ef829b0", "score": "0.5317594", "text": "public interface MarsGponPMGemRepository extends JpaRepository<MarsGponPMGem,Integer> {\n}", "title": "" }, { "docid": "a808bcd98f9197b0628e01cce273d4b9", "score": "0.5306507", "text": "@Repository\npublic interface OrderMasterRepository extends JpaRepository<OrderMaster, String> {\n}", "title": "" }, { "docid": "fa4a790f203741a1b5db5dde9dd3c5cc", "score": "0.53030133", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface SlotInstanceRepository extends JpaRepository<SlotInstance, Long> {\n\n}", "title": "" }, { "docid": "4ff8349cf81d45c4035e69c63f1b7f58", "score": "0.5302496", "text": "public interface RoleRepository extends JpaRepository<Role, Integer> {\n}", "title": "" }, { "docid": "c618e6fc96397691745f0035c712a544", "score": "0.53011346", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface PrescricaoProcedimentoRepository extends JpaRepository<PrescricaoProcedimento, Long> {\n\n}", "title": "" }, { "docid": "d55319249c584167a6eb7caa633a6a56", "score": "0.5294318", "text": "@Repository\npublic interface AppVersionRepository extends JpaRepository<AppVersion, Long> {\n AppVersion findByKind(String kind);\n}", "title": "" }, { "docid": "c9a79d31c94b54394e72619e829b8b53", "score": "0.5293189", "text": "@Repository\npublic interface MovieRepository extends JpaRepository<Movie, Long> {\n\n}", "title": "" }, { "docid": "7e7adc0f3bdf4e0e23e59adfd05fac4a", "score": "0.52873135", "text": "public MetaData getGeneratedMetaModel();", "title": "" }, { "docid": "ae93b1b09c43c33003cee5a910c14963", "score": "0.5286369", "text": "private static void updateManifestazioneTable(AbstractApplicationContext ctx) {\n ManifestazioneService ms = ctx.getBean(ManifestazioneService.class);\n PalinsestoService ps = ctx.getBean(PalinsestoService.class);\n IncontroService is = ctx.getBean(IncontroService.class);\n List<Manifestazione> manifestaziones = ms.findByDescrizioneLungaIsNull();\n\n for (Manifestazione manifestazione : manifestaziones) {\n List<Palinsesto> palinsestos = ps.findByIdManifestazione(manifestazione);\n if (palinsestos != null && palinsestos.size() > 0) {\n Incontro incontro = null;\n for (int i = 0; incontro == null && i<palinsestos.size(); i++) {\n Palinsesto p = palinsestos.get(i);\n incontro = is.findByPk(p.getPalinsestoPK().getIdPalinsesto(), p.getPalinsestoPK().getIdAvvenimento());\n }\n if (incontro != null) {\n manifestazione.setDescrizioneLunga(incontro.getCompetizione());\n ms.save(manifestazione);\n }\n }\n if (manifestazione.getDescrizioneLunga() == null) {\n System.out.println(\"Manifestazione con id \" + manifestazione.getIdManifestazione() + \" senza descrizione!!\");\n }\n }\n\n System.out.println(manifestaziones);\n// GenericService genericService = ctx.getBean(GenericService.class);\n// genericService.updateManifestazioneTable();\n\n }", "title": "" }, { "docid": "1d199121f537ed71889f7766fe5f205c", "score": "0.5282489", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface EventTriggerRepository extends JpaRepository<EventTrigger, Long>, JpaSpecificationExecutor<EventTrigger> {\n\n}", "title": "" }, { "docid": "1d20c131a1b956e592ac79a144b74044", "score": "0.5282379", "text": "public interface RejectionRepository extends JpaRepository<Rejection, Long> {\n}", "title": "" }, { "docid": "8ef824458cfdccccccbc82a709de35b5", "score": "0.52816254", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface DeviceProducerRepository extends JpaRepository<DeviceProducer, Long> {\n}", "title": "" }, { "docid": "750afe40e315d72d1e1b84aed27a605b", "score": "0.5276481", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface AppartenanceRepository extends JpaRepository<Appartenance, Long> {\n}", "title": "" }, { "docid": "8c60747110efc6a779a059eb3bc6f801", "score": "0.5268178", "text": "@Repository\npublic interface MenuRepository extends JpaRepository<Menu, Long> {\n\n\n}", "title": "" }, { "docid": "7f650bbdb8e1e2bb93000eef915318c6", "score": "0.5260294", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface MEncountersCutRepository extends JpaRepository<MEncountersCut, Long>, JpaSpecificationExecutor<MEncountersCut> {\n\n}", "title": "" }, { "docid": "774518d125882b4764b51d682a52daa8", "score": "0.5258705", "text": "@Repository(\"ssnMasterRepository\")\r\npublic interface SsnMasterRepository extends JpaRepository<SsnMasterEntity, Serializable>{\r\n\r\n}", "title": "" }, { "docid": "fdf8a6dd657a918e113e438d6a79af04", "score": "0.5254413", "text": "public interface DecompteRepository extends JpaRepository<Decompte, Long> {\n}", "title": "" }, { "docid": "4e755a7036b3d459ec322da3d74918b7", "score": "0.525382", "text": "public interface CrtInfoRepo extends JpaRepository<CrtInfo,String> {\r\n}", "title": "" }, { "docid": "eda0782d55ec23d6d9ce676b0803daaa", "score": "0.5251161", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface SubmissionRepository extends JpaRepository<Submission, Long> {\n\n}", "title": "" }, { "docid": "4dc1c8e1efe8291926edbda696a9f89f", "score": "0.5249577", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface VirtualAccountRepository extends JpaRepository<VirtualAccount, Long>, JpaSpecificationExecutor<VirtualAccount> {\n}", "title": "" }, { "docid": "13b148dcfcd74ebe167a85dbf9e90fce", "score": "0.52494824", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface DailyProgramReportRepository extends JpaRepository<DailyProgramReport, Long> {\n}", "title": "" }, { "docid": "06141de6f845be51a141a1415ee5f73c", "score": "0.5249407", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface LoadShearRepository extends JpaRepository<LoadShear, Long> {\n\n}", "title": "" }, { "docid": "a6e29f8968db6517f2bed3cc7883865f", "score": "0.52490294", "text": "@Repository\npublic interface BatchTaskCompleteDao extends JpaRepository<BatchTaskComplete, Long> {\n}", "title": "" }, { "docid": "78e16f232923c4b7bd80a8617bda852e", "score": "0.5244845", "text": "public interface WalletRepository extends JpaRepository<Wallet, Long> {\n}", "title": "" }, { "docid": "f4423f2a8296af6744e801b3f2bf6ac4", "score": "0.5244238", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface RecipienteRepository extends JpaRepository<Recipiente, Long> {\n\n}", "title": "" }, { "docid": "b9b31688146270d74137b44ac7405c92", "score": "0.52424604", "text": "public interface JcmProfileSharingMasterRepository extends JpaRepository<JcmProfileSharingMaster, Long> {\n}", "title": "" }, { "docid": "2a84030254b5fc770bc40194d03481cf", "score": "0.52421314", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface BeerOptionOrderRepository extends JpaRepository<BeerOptionOrder, Long> {\n\n}", "title": "" }, { "docid": "b143ff19efb3c3af79ca500c17802c9b", "score": "0.5240373", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface FunctionalityRepository extends JpaRepository<Functionality,Long> {\n \n}", "title": "" }, { "docid": "8d9a6e4c3730907c6e856710580d23c5", "score": "0.52374417", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface CrisisRepository extends JpaRepository<Crisis,Long> {\n \n}", "title": "" }, { "docid": "317ceaf812da8808d64c8b2171ab6189", "score": "0.5237072", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface CatalogueRepository extends JpaRepository<Catalogue, Long>, JpaSpecificationExecutor<Catalogue> {\n}", "title": "" }, { "docid": "5e516ed4c1db7a525329adfc9fdd651a", "score": "0.52369386", "text": "public interface CaissiereRepository extends JpaRepository<Caissiere,Long> {\n\n}", "title": "" }, { "docid": "e31ee407733d9a8b1c3a62777d758324", "score": "0.5228668", "text": "@SuppressWarnings(\"unused\")\npublic interface CirculationRepository extends JpaRepository<Circulation,Long> {\n\n}", "title": "" }, { "docid": "46ef547750a0d2f59f1aec0d2e187ea9", "score": "0.5225938", "text": "public interface MemberRepository extends JpaRepository<Member, Long> {\n}", "title": "" }, { "docid": "c56764586ab7b90a14e3ecc2c4f60b07", "score": "0.5220401", "text": "@Repository\npublic interface AccountRepository extends JpaRepository<Account, Long> {\n\n}", "title": "" }, { "docid": "5f354b8bf97c1dfa0ed3b68f0d460d9b", "score": "0.5218326", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface PrototypeRepository extends JpaRepository<Prototype, Long> {\n\n}", "title": "" }, { "docid": "f91999f37cf1f9c58da3af0ed91725aa", "score": "0.52128386", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface WaHostCompanyRepository extends JpaRepository<WaHostCompany, Long> {\n}", "title": "" }, { "docid": "704c0f7415f9d74e73c45ed95276b599", "score": "0.5211399", "text": "@Repository\npublic interface DishRepository extends JpaRepository<Dish,Long> {\n}", "title": "" }, { "docid": "4a4970b6420c9ba5b48f6a80b7078f5f", "score": "0.5208799", "text": "@Repository\npublic interface OccupationLabelMappingX28Repository extends JpaRepository<OccupationLabelMappingX28, UUID> {\n}", "title": "" }, { "docid": "db62d00652f5539786f251d55e576e4f", "score": "0.5201509", "text": "@Repository\npublic interface RackRepository extends JpaRepository<Rack, Long> {\n\n}", "title": "" }, { "docid": "506a7f80fff5b9b22cb6cb8deb308b2b", "score": "0.52001715", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface ProfessioneRepository extends JpaRepository<Professione, Long>, JpaSpecificationExecutor<Professione> {\n\n}", "title": "" }, { "docid": "ca9b193f9c1e7cde4540a24afa7f21fa", "score": "0.51959515", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface OrdinazioneRepository extends JpaRepository<Ordinazione, Long> {\n\n}", "title": "" }, { "docid": "e06717045d6c3855b2ac689d09588390", "score": "0.51936835", "text": "public interface ConjointRepository extends JpaRepository<Conjoint,Long> {\n\n}", "title": "" }, { "docid": "f38d7d35790a937c5d898a81413d80d6", "score": "0.5190271", "text": "@SuppressWarnings(\"unused\")\npublic interface PrestationRepository extends JpaRepository<Prestation,Long> {\n\n}", "title": "" }, { "docid": "57e1a051c2bd6a3b2d3d7e1e2acba2dc", "score": "0.5187454", "text": "public interface ApplicantRepository extends JpaRepository<Applicant, Long> {\n}", "title": "" }, { "docid": "62ffe2ba72d4a0e624dfb563ad958a94", "score": "0.518745", "text": "public interface Vehicle1Repository extends JpaRepository<Vehicle1,Long> {\n}", "title": "" }, { "docid": "7377ee2643bf8ae62e9a0ca1f6682b75", "score": "0.5187232", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface EcomStoreMarkupRepository extends JpaRepository<EcomStoreMarkup, Long> {\n\n}", "title": "" }, { "docid": "8db2448af88dd85c97148520d98492a3", "score": "0.51836187", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface AuftragPositionenRepository extends JpaRepository<AuftragPositionen, Long> {}", "title": "" }, { "docid": "35d7bfdca0f299d991e674111d6f7a20", "score": "0.51828593", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface SettlementReportRepository extends JpaRepository<SettlementReport, Long>, JpaSpecificationExecutor<SettlementReport> {\n\n}", "title": "" }, { "docid": "ec38d9dfc415d1e66b8c45b44302af51", "score": "0.51796", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface AssistanceTechniqueRepository extends JpaRepository<AssistanceTechnique, Long> {\n\n}", "title": "" }, { "docid": "a3b891798b2cc04be7e35cc8786141b1", "score": "0.5178257", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface TblGuardianTypeRepository extends JpaRepository<TblGuardianType, Long> {\n\n}", "title": "" }, { "docid": "a1d0d88ae2231adc898f1ecb25eed125", "score": "0.5176751", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface BestellungRepository extends JpaRepository<Bestellung, Long> {\n\n}", "title": "" } ]
3eac5dfdafdd9b2544da724c57ece418
Creates the main loop.
[ { "docid": "307fb5146cad7fe1aedc3095dbbd47d3", "score": "0.59499395", "text": "public GameLoopManager() {\n this.gameView = new GameView();\n this.gameView.setWindowTitle(\"Choplifter\");\n this.gameView.setStatusText(\"Laura Helfrich - Java Programmierung SS 2021\");\n this.gameView.setWindowIcon(\"WordHelicopter.png\");\n\n this.gameObjectManager = new GameObjectManager(gameView);\n this.inputManager = new InputManager(gameView, gameObjectManager.getChopper());\n this.gamePlayManager = new GamePlayManager(gameView, gameObjectManager);\n }", "title": "" } ]
[ { "docid": "3ff203df8d081e6df586cc6bff908ffa", "score": "0.7335608", "text": "void initMainLoop() {\n log.log(Level.INFO, \"Initializing main loop...\");\n t = new Timer(17, (evt) -> { // timer calls mainLoop() every 17ms (framerate ~ 60fps)\n mainLoop();\n });\n t.start(); // timer started\n log.log(Level.INFO, \"Main loop initialized...\");\n }", "title": "" }, { "docid": "7970195b4e7da7bcd24f57be961c4047", "score": "0.7010319", "text": "Loop createLoop();", "title": "" }, { "docid": "ffc3a962e4b71fcabf92ef29303cea4a", "score": "0.70025617", "text": "public Runnable createEventLoop() {\n\treturn new EventLoop();\n }", "title": "" }, { "docid": "acb5cf7fab3e82e640587568dd3f101f", "score": "0.6868503", "text": "public RunLoop createDefaultRunLoop();", "title": "" }, { "docid": "a6322d8bc1be08da6e30b0f08e4e1574", "score": "0.6687175", "text": "public static void main(String[] args) {\n\t Gameloop g = new Gameloop();\n\t \tg.start();\n\t}", "title": "" }, { "docid": "dc617db34ea51415ee4335c7e174c374", "score": "0.66795075", "text": "public static void main(String[] args) {\n\t\tGameLoop gameLoop = new GameLoop();\r\n\t\tgameLoop.init();\r\n\t\tGameLoop gameLoop2 = new GameLoop();\r\n\t\tgameLoop2.init();\r\n\t}", "title": "" }, { "docid": "e2d295611baac0a11ba642401892113c", "score": "0.650388", "text": "@Override\n\t\t\tpublic void run() {\n\t\t\t\tnew Main();\n\t\t\t}", "title": "" }, { "docid": "80fce9072b295d7285b0a4384eaecbe4", "score": "0.6463832", "text": "public void run() {\n\t\tinitialize();\n\t\tloop();\n\t\trelease();\n\t\tSystem.exit(0);\n\t}", "title": "" }, { "docid": "91534de1667ac0a895634ba1d6305a39", "score": "0.64109474", "text": "public final void start() {\n logger.info( \"Application started.\");\n try {\n getAttributes();\n\n initSystem();\n\n assertDisplayCreated();\n\n initGame();\n\n //main loop\n Renderer r = display.getRenderer();\n while (!finished && !display.isClosing()) {\n //update game state, do not use interpolation parameter\n update( -1.0f);\n\n //render\n render( -1.0f);\n\n //draw queue contents\n r.displayBackBuffer();\n }\n }\n catch (Throwable t) {\n logger.logp(Level.SEVERE, this.getClass().toString(), \"start()\", \"Exception in game loop\", t);\n t.printStackTrace();\n }\n\n cleanup();\n logger.info( \"Application ending.\");\n\n if (display != null)\n display.reset();\n quit();\n }", "title": "" }, { "docid": "0f51d4a58bc863bca393f30f0d2de8ed", "score": "0.63673985", "text": "@Override\n public void run() {\n // main loop timer\n System.out.println(\"Main Controller started\");\n\n // initialization\n int numCars = 8;\n makeCar(numCars);\n makeIDs();\n makeBunkers();\n //initInputController();\n createWall();\n\n // Starts the simulation by creating new guests\n createPatrons();\n }", "title": "" }, { "docid": "a0f940015850326ec522fa285c50aac1", "score": "0.63653314", "text": "@Override\n public void init_loop() {\n }", "title": "" }, { "docid": "a0f940015850326ec522fa285c50aac1", "score": "0.63653314", "text": "@Override\n public void init_loop() {\n }", "title": "" }, { "docid": "a0f940015850326ec522fa285c50aac1", "score": "0.63653314", "text": "@Override\n public void init_loop() {\n }", "title": "" }, { "docid": "a0f940015850326ec522fa285c50aac1", "score": "0.63653314", "text": "@Override\n public void init_loop() {\n }", "title": "" }, { "docid": "a0f940015850326ec522fa285c50aac1", "score": "0.63653314", "text": "@Override\n public void init_loop() {\n }", "title": "" }, { "docid": "a0f940015850326ec522fa285c50aac1", "score": "0.63653314", "text": "@Override\n public void init_loop() {\n }", "title": "" }, { "docid": "a0f940015850326ec522fa285c50aac1", "score": "0.63653314", "text": "@Override\n public void init_loop() {\n }", "title": "" }, { "docid": "a0f940015850326ec522fa285c50aac1", "score": "0.63653314", "text": "@Override\n public void init_loop() {\n }", "title": "" }, { "docid": "a0f940015850326ec522fa285c50aac1", "score": "0.63653314", "text": "@Override\n public void init_loop() {\n }", "title": "" }, { "docid": "a0f940015850326ec522fa285c50aac1", "score": "0.63653314", "text": "@Override\n public void init_loop() {\n }", "title": "" }, { "docid": "a0f940015850326ec522fa285c50aac1", "score": "0.63653314", "text": "@Override\n public void init_loop() {\n }", "title": "" }, { "docid": "a0f940015850326ec522fa285c50aac1", "score": "0.63653314", "text": "@Override\n public void init_loop() {\n }", "title": "" }, { "docid": "a0f940015850326ec522fa285c50aac1", "score": "0.63653314", "text": "@Override\n public void init_loop() {\n }", "title": "" }, { "docid": "87b2af0c4bbb8afff59650884265d854", "score": "0.6294184", "text": "public void start() {\n\n\t\tPane root = new Pane();\n\n\t\tfinal Canvas canvas = new Canvas(Main.WIDTH, Main.HEIGHT);\n\t\tfinal GraphicsContext ctx = canvas.getGraphicsContext2D();\n\t\troot.getChildren().add(canvas);\n\n\t\trenderer.setContext(ctx);\n\n\t\tscene = new Scene(root, Main.WIDTH, Main.HEIGHT);\n\t\tMain.changeScene(scene);\n\t\tKeyboard.initScene(scene);\n\n\t\tloop = new Gameloop();\n\n\t\tinit();\n\t\tloop.start();\n\t}", "title": "" }, { "docid": "f14b972533b6a71f354cef4a8963b31c", "score": "0.6287424", "text": "public static void main(String[] args){\n // Creates an instance of our program\n Main gui = new Main();\n // Lets the computer know to start it in the event thread\n SwingUtilities.invokeLater(gui);\n }", "title": "" }, { "docid": "afb4e38e8072fb90d26a77ccae427085", "score": "0.62745154", "text": "public static void main(String[] args) {\n\t\tUserInterface.instance().inputLoop();\n\t}", "title": "" }, { "docid": "f05821e7b8702261159e407e937e45d9", "score": "0.6263915", "text": "public void run()\n\t{\n\t\tinitializeConstants();\n\t\t\n\t\tcreateWindow(); //Create the display and embed it in an awtcanvas\t\n\t\tisMainMenuOpen = true; \n\t\tgameEngine.init();\n\t\tgameEngine.run();\n\t Display.destroy(); //Cleans up \n System.exit(1); //remember to exit the system and release resources\n\t}", "title": "" }, { "docid": "7f8757d5581efa56a280f323d8aa114d", "score": "0.6244412", "text": "@Override\r\n public void init_loop() {\r\n }", "title": "" }, { "docid": "3db94b439a91539ecc8d2fc043a852ff", "score": "0.6239625", "text": "public static void main(String[] args) {\n\t\t\twhile(true){\n\t \tTCPServerDemo server = new TCPServerDemo();\n\t \tserver.startServer();\n\t\t\t}\n\t }", "title": "" }, { "docid": "c353702f2e4c3677f97ef3b210079190", "score": "0.62184995", "text": "public static void main(String[] args) {\r\n\t\tEventQueue.invokeLater(() -> {\r\n\t\t\t// Run initialization\r\n\t\t\tManagement.start();\r\n\t\t});\r\n\t}", "title": "" }, { "docid": "dd048e1e90efc63616601249c2cc474c", "score": "0.6214016", "text": "public static void main(String[] args) {\n EventQueue.invokeLater(GameMainFrame::new);\n }", "title": "" }, { "docid": "c9d6eac686985c4e4e7d822d7720bddf", "score": "0.6203535", "text": "@Override\n\t\t\tpublic void run() {\n\t\t\t\tcreateGui();\n\t\t\t}", "title": "" }, { "docid": "f3e2fc9e54681eefcbaa9f4da062dc74", "score": "0.61935925", "text": "public static void main(String[] args) {\n\t\tint SCREEN_WIDTH = 300;\n\t\tint SCREEN_HEIGHT = 300;\n\t\tint LOOP_DELAY_MS = 16;\n\t\t\n\t\t// Creating loading screen if needed\n\t\t\n\t\t// Loading resources\n\t\tQResourceManager resMan = new QResourceManager();\n\t\tQResourceLoader.loadResources(resMan);\n\t\t\n\t\t// Creating game settings\n\t\tQGameSettings settings = new QGameSettings(SCREEN_WIDTH, SCREEN_HEIGHT, LOOP_DELAY_MS);\n\t\t\n\t\t// Creating game state\n\t\tQGameState gameState = new QGameState();\n\t\t\t\n\t\t// Creating graphics engine\n\t\tQGraphics gfx = new QGraphics(gameState);\n\t\t\n\t\t// Initializing game resources\n\t\tinitializeGame(resMan, gameState, gfx);\n\t\t\n\t\t// Creating game controller and game settings objects\n\t\tnew QGameController(resMan, gameState, gfx, settings);\n\t}", "title": "" }, { "docid": "1a34fe996fd24b63784e1e87d501a427", "score": "0.61860555", "text": "public static void main(String[] args) {\n\t\t javax.swing.SwingUtilities.invokeLater(new Runnable() {\n\t public void run() {\n\t create();\n\t }\n\t });\n\t}", "title": "" }, { "docid": "2ae6b2cf91c38aa46f167afbaed94920", "score": "0.6141047", "text": "public static void main (String[] args) {\n\t\t//printMessages();\n\t\t// create thread pool\n\t\tes = Executors.newCachedThreadPool();\n\t\ts = new Settings();\n\t\t// TODO this should be set in the javafx, but for now it's just hardcoded\n\t\ts.connectionSettings = new ConnectionSettings();//\"localhost\", 9876, 9877);\n\t\t// launch the javafx\n\t\t// sets settings object, also creates handshake for connection settings\n\t\tserver = new GameServer(s);\n\t\tclient = new GameClient(s);\n\t\t//Launcher.launchGui(args);\n\t\t//s.characterType = 1;\n\t\t//s.chosenState = 0;\n\t\tif (terminalMode) {\n\t\t\tScanner console = new Scanner(System.in);\n\t\t\tSys.print(\"Enter 0 for solo play, 1 for Client play, 2 for host play\");\n\t\t\ts.chosenState = console.nextInt();\n\t\t} else {\n\t\t\tLauncher.launchGui(args);\n\t\t}\n\t\tswitch(s.chosenState) {\n\t\tcase 0: // currently runs even if they close the window instead of hitting start. fix that\n\t\t\tsoloPlay();\n\t\t\tbreak;\n\t\tcase 1:\n\t\t\tif (terminalMode)\n\t\t\t\tclientTerminalLauncher();\n\t\t\tSys.exit(\"reached end of initial client\");\n\t\t\tclientPlay(null);\n\t\t\tbreak;\n\t\tcase 2: \n\t\t\tif (terminalMode)\n\t\t\t\tserverTerminalLauncher();\n\t\t\tSys.exit(\"reached end of initial server\");\n\t\t\thostPlay();\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tSys.print(\"nothing\");\n\t\t}\n\t}", "title": "" }, { "docid": "446721539edfbc79d319d4c498749a85", "score": "0.6101273", "text": "@Override\n public void init_loop(){\n\n }", "title": "" }, { "docid": "bc0ddc6f97d1e1c9f3bbc4708da7b14d", "score": "0.6097821", "text": "public void run(){\n\t\n\tGUIServer sGui = new GUIServer(\"Server Side Program\");\n\tsGui.go();\n\t}", "title": "" }, { "docid": "bf3db647d3a2257d4d49d723ad8abc7d", "score": "0.6096297", "text": "public static void main(String[] arg) {\n new server_GUI(1500);\n }", "title": "" }, { "docid": "091fd7355f76ac1bd32014297e955da8", "score": "0.6091859", "text": "@Override\n\tpublic void run() {\n\t\tNIOSocketServer nioss = new NIOSocketServer();\n\t\tfor(;;){\n\t\t\ttry {\n\t\t\t\tnioss.listen();\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}\n\t}", "title": "" }, { "docid": "0c45b4eca20584e360d6a1b7002aae36", "score": "0.60856247", "text": "public static void main(String[] args) {\n\t\trun(new Gui(), 800, 500);\r\n\t}", "title": "" }, { "docid": "14d8b09dd5a1b2f87316b64ebad40f16", "score": "0.60827225", "text": "public static void main(String[] args) {\r\n\t\tEventQueue.invokeLater(() -> {\r\n\t\t\ttry {\r\n\t\t\t\t(new ClientController()).start();\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t});\r\n\t}", "title": "" }, { "docid": "7e09c6268b707f99e838d206ae714b41", "score": "0.6079662", "text": "public static void main(String[] args) {\r\n\t\tSwingUtilities.invokeLater(\r\n\t\t\t\tnew Runnable() {\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic void run()\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tnew GameWindow();\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t);\r\n\r\n\t}", "title": "" }, { "docid": "9ad057b8b931b533092ff6246ba8cc8e", "score": "0.6066946", "text": "@SuppressWarnings(\"InfiniteLoopStatement\")\n public static void main(String[] args){\n SocketManager socketManager = new SocketManager();\n SocketServer socketServer = new SocketServer(8888, socketManager);\n\n socketManager.addInterface(SOCKET_PING, (msg, socketNum)-> socketServer.ping(socketNum));\n socketManager.addInterface(SOCKET_BROADCAST, (msg, socketNum)-> System.out.println(msg));\n socketManager.addInterface(SOCKET_DISCONNECT, (msg, socketNum)-> socketServer.disconnect(socketNum));\n\n Timer.createTimer(()-> socketManager.pushMessage(SOCKET_PING,\"ping\"),1000, -1);\n\n EventHandler.addEventCallback(\"clientConnected\", (evt)->{\n ClientConnectedEvent clientConnectedEvent = (ClientConnectedEvent)evt;\n Debug.log(clientConnectedEvent.getClientSocket().getInetAddress()+\":\"+clientConnectedEvent.getSocketID()+\" has connected\");\n });\n EventHandler.addEventCallback(\"clientDisconnected\", (evt)->{\n ClientDisconnectedEvent clientDisconnectedEvent = (ClientDisconnectedEvent)evt;\n Debug.log(clientDisconnectedEvent.getClientSocket().getInetAddress()+\":\"+clientDisconnectedEvent.getSocketID()+\" has disconnected\");\n });\n while(true){\n Timer.tick();\n }\n }", "title": "" }, { "docid": "af62c3172fd08fd441462fbec3518fe0", "score": "0.6052879", "text": "public static void main(String[] args) {\n\t\tjavax.swing.SwingUtilities.invokeLater(new Runnable() {\n\t\t\t@Override\n\t\t\tpublic void run() {\n\t\t\t\tcreateAndShowGUI();\n\t\t\t}\n\t\t});\n\n\t}", "title": "" }, { "docid": "4cca4718416bdcc3efe45db0219c40f5", "score": "0.6041317", "text": "public static void main(String [] args){\n createGui();\n }", "title": "" }, { "docid": "7935841568d99b485e99c8a5002655e8", "score": "0.6037461", "text": "public static void main(String[] args){\r\n\t\tMain game = getInstance();\r\n\t\t\r\n\t\ttry{\r\n\t\t\tgame.loop();\r\n\t\t}catch(Throwable t){\r\n\t\t\tnew CrashReport(t);\r\n\t\t}\r\n\t\t\r\n\t\tgame.cleanDisplay();\r\n\t}", "title": "" }, { "docid": "785f0b0ee5b2538bd6e3e7d638b683b9", "score": "0.60347545", "text": "public Main() {\n\t\tinitUI();\n\t}", "title": "" }, { "docid": "8e260f6db77c36bfa723514600652c0d", "score": "0.6031731", "text": "public App() {\n\t\t// Configure log4j\n\t\tPropertyConfigurator.configureAndWatch(\"log4j.properties\");\n\t\t\n\t\t// Create TUI & GUI\n\t\tGameHandlerConfiguration config = new GameHandlerConfiguration(WIDTH, HEIGHT, AIS);\n\t\tTextUI tui = new TextUI(config.createSingleGameHandler());\n\t\tGraphicalUI gui = new GraphicalUI(\"BombGameSE\", config.createSingleGameHandler());\n\t\t\n\t\ttuithread = new Thread(new TUIThread(tui));\n\t\tguithread = new Thread(new SlickThread(gui));\n\t}", "title": "" }, { "docid": "afe0b16bf4e5742fe60466a0e93e9874", "score": "0.60163194", "text": "public void run() {\n\t\tsetSize(APPLICATION_WIDTH, APPLICATION_HEIGHT); //Set window size\t\n\t\tEnvironment envrmnt = new Environment(getGCanvas());\n\t\tenvrmnt.Draw();\n\t\tcreateBall();\t\n\t\taddKeyListeners();\n\t\taddMouseListeners(); //Creates listener for mouse\n\n/*\t\tRocket rocket = new Rocket(getGCanvas());\n\t\trocket.setLocation(100, 100);\n\t\trocket.bang();*/\n\n\t}", "title": "" }, { "docid": "fc5298eabb34486b150c5e5dcf954932", "score": "0.5997423", "text": "public static void main(String[] args){\n\t\tjavax.swing.SwingUtilities.invokeLater(new Runnable() {\n\t\t\tpublic void run() {\n\t\t\t\tcreateAndShowGUI();\n\t\t\t}\n\t\t});\n\t}", "title": "" }, { "docid": "bc6dff574d7a62ef41faab22a9507b23", "score": "0.59848744", "text": "public static void main(String[] args) {\n\t\tcreateWindow();\n\t\t\n\t}", "title": "" }, { "docid": "3a133bcad537cd0ed1f441e1bf639804", "score": "0.5969977", "text": "@Override\n public void init_loop() {\n sm.init_loop();\n }", "title": "" }, { "docid": "a0b72c56e82850e1136f1521736986f5", "score": "0.5966291", "text": "public static void main(String[] args) {\n\t\tWorld world = new WorldFactory().createNewWorld();\n\t\tWorldViewer viewer = new WorldViewer(world);\n\n\t\tcreateAndPackWindow(world, viewer);\n\t\tviewer.loop();\n\t}", "title": "" }, { "docid": "c73481c4bb092cd3016d52cc09ec5691", "score": "0.59608805", "text": "@Override\n public void run() {\n Main main = new Main();\n }", "title": "" }, { "docid": "b2b12eb983144339d04db98587d0cf41", "score": "0.59556925", "text": "protected void startLoop() {\n\t\tsynchronized (loopMutex) {\n\t\t\trunLoop = true;\n\t\t\tdispatchPaintEvent(\"startLoop\");\n\t\t}\n\t}", "title": "" }, { "docid": "5e8a3474d453f823acbd344baf884c68", "score": "0.5949311", "text": "public static void main(String[] args) {\n new ServerGUI();\n }", "title": "" }, { "docid": "d1a7e8a49a0ff084ed23983156091895", "score": "0.5939267", "text": "private void run() {\n engine.getRunner().getAreaFactory().getFileManager().loadAllTheAvacados();\n \n Debugger.print(\"Starting the game!\", Debugger.INFO);\n while(!engine.isCloseRequested()) {\n engine.doGameCycle();\n //Debugger.print(\"Frame!\", Debugger.INFO);\n }\n //Exit program now\n Debugger.print(\"Exiting normally\", Debugger.INFO);\n System.exit(0);\n }", "title": "" }, { "docid": "9d33bd8094630caef2046755aa8a9fff", "score": "0.5938037", "text": "public void mainLoop() {\n while (true) {\n readSensors();\n double time = crinterf.GetTime();\n if (time > 0) {\n System.out.println(\"Time: \" + time);\n if (shouldStop()) {\n stop();\n finish();\n } else if (hasObstacle()) {\n avoidObstacle();\n } else if (shouldMoveToBeacon()) {\n moveToBeacon();\n } else {\n wander();\n }\n }\n }\n }", "title": "" }, { "docid": "8dec707e713ceb57060e15c735a3dec1", "score": "0.5936424", "text": "public static void main(String[] args) {\n\t\tSwingUtilities.invokeLater(new Runnable() {\n\t\t\tpublic void run() {\n\t\t\t\tcreateAndShowGUI();\n\n\t\t\t}\n\t\t});\n\t}", "title": "" }, { "docid": "f59b946fe1a46ec3fc772d7d06ba107c", "score": "0.59344685", "text": "public static void main(String[] args) {\n\t\tSwingUtilities.invokeLater(new Runnable() {\n\t\t\tpublic void run() {\n\t\t\t\tcreateAndShowGUI();\n\t\t\t}\n\t\t}\t);\n\t}", "title": "" }, { "docid": "b4a376d67cb1a072b05b1957f7f3f7b4", "score": "0.59310097", "text": "public static void main(String[] args) {\n javax.swing.SwingUtilities.invokeLater(new Runnable() {\n @Override\n public void run() {\n createAndShowGUI();\n }\n });\n }", "title": "" }, { "docid": "0747b4535aa407a6a607932852bf72ad", "score": "0.5929524", "text": "public static void main(String[] args) {\r\n\t\tJugPuzzleGUIController GUIC = new JugPuzzleGUIController();\r\n\t\tjavax.swing.SwingUtilities.invokeLater(new Runnable() {\r\n\t\t\tpublic void run() {\r\n\t\t\t\tcreateAndShowGUI();\r\n\t\t\t}\r\n\t\t});\r\n\t}", "title": "" }, { "docid": "3b0c1510b396d6e1e691f3c3541ffb5d", "score": "0.5927575", "text": "public static void main(String[] args) {\n\t\tSwingUtilities.invokeLater(new Runnable() {\n\t\t\tpublic void run() {\n\t\t\t\tcreateAndShowGUI();\n\t\t\t}\n\t\t});\n\t}", "title": "" }, { "docid": "4936cd10c5b02777cf05c8536ee0b4fe", "score": "0.59212685", "text": "public static void main(String[] args)\n {\n // Create a new instance of the application and make the currently\n // running thread the application's event dispatch thread.\n Main theApp = new Main(); \n theApp.enterEventDispatcher();\n }", "title": "" }, { "docid": "f007b7ed91a0c19fbd14e3bd3bd9ba75", "score": "0.5921131", "text": "public static void main(String[] args) {\n\t\tIAutoFactory factory = TeslaFactory.getInstance();\n\t\tSystem.out.println(factory.getClass());\n\n\t\tIAuto auto = factory.make();\n\t\tauto.start();\n\t\tauto.stop();\n\n\t}", "title": "" }, { "docid": "f928421b29e195430177d7fbd952915b", "score": "0.5917302", "text": "public static void main(String[] args) {\n\t java.awt.EventQueue.invokeLater(new Runnable() {\n\t public void run() {\n\t createAndShowUI();\n\t }\n\t });\n\t }", "title": "" }, { "docid": "ca4bef04a70eadf40648596ed566dfcc", "score": "0.5906503", "text": "public void run() {\n\n createWindow();\n initGL();\n \n //create the camera\n camera = new Camera();\n \n //start with two sources of particles on standard positions\n sources.add(createParticleSource());\n sources.get(0).setGLPosition(new Vector3f(-0.9f, -0.5f, -0.5f));\n sources.add(createParticleSource());\n sources.get(1).setGLPosition(new Vector3f(1.0f, 0.5f, -0.5f));\n \n //create a type of black hole source that sucks the particles\n ParticleSource blackHole = createParticleSource();\n blackHole.setStatus(true);\n sources.add(blackHole);\n \n while (!closeRequested) {\n pollInput();\n updateLogic();\n renderGL();\n Display.sync(60);\n Display.update();\n }\n \n cleanup();\n }", "title": "" }, { "docid": "f51ee7fe4c576432c10fced0025fa8b4", "score": "0.59050703", "text": "public static void main(String[] args){\n\t\tif(args.length > 0){\n\t\t\tif(args[0] .equals(\"config\")){\n\t\t\t\tnew ConfigListener().run();\n\t\t\t}\n\t\t}\n FloorSystem floorSystem = new FloorSystem();\n while(true){\n }\n }", "title": "" }, { "docid": "96f0515dd3c618b993528c9780c11f48", "score": "0.59042364", "text": "public static void main(String[] args) {\n\t\tEventQueue.invokeLater(new Runnable() {\n\t\t\tpublic void run() {\n\t\t\t\ttry {\n\t\t\t\t\tBoard window = new Board(GameManager.getButtons());\n\t\t\t\t\twindow.frame.setVisible(true);\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}", "title": "" }, { "docid": "5501fb1c0810733b4b3562bad4f3fca7", "score": "0.5903677", "text": "private void run() {\n start();\n runLoopUntilExitCommand();\n }", "title": "" }, { "docid": "096ee09526aaf68afdd36f9ebf9c46cc", "score": "0.5899277", "text": "public void run() {\n\tSystem.out.println(\"PureImmediate.run: starting main loop\");\n\twhile (true) {\n\t render();\n\t Thread.yield();\n\t}\n }", "title": "" }, { "docid": "4d3be47c4806c9cef9164042171e1076", "score": "0.58935964", "text": "public static void main(String[] args) {\n javax.swing.SwingUtilities.invokeLater(new Runnable() {\n public void run() {\n createAndShowGUI();\n }\n });\n }", "title": "" }, { "docid": "e17457d08e55dbbb51744d4ddf101622", "score": "0.5893395", "text": "public static void main(String[] args) {\n\t\tICoreServer core = new Core();\n\t\tcore.startGui();\n\t}", "title": "" }, { "docid": "43f839b472a403bdf2cb2a023f067628", "score": "0.5889014", "text": "public static void main(String[] args) {\n\t\tfinal Client client = new Client();\n\t\tSwingUtilities.invokeLater(new Runnable() {\n\n\t\t\t@Override\n\t\t\tpublic void run() {\n\t\t\t\tclient.initUI();\n\t\t\t}\n\t\t});\n\t\tclient.connect();\n\t}", "title": "" }, { "docid": "35e5dde1d8f197485889fee479c33116", "score": "0.5888227", "text": "public static void main(String[] args) {\n\t\tserver = new system();\n\t\tstart();\n\t\t\t\n\t}", "title": "" }, { "docid": "3f089566ab3b12e0cffce33d6eff6788", "score": "0.58852184", "text": "public Main() {\r\n\r\n JFrame f = new JFrame(\"Patterns\");\r\n\r\n f.setContentPane(pixels);\r\n f.pack();\r\n f.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);\r\n f.setVisible(true);\r\n\r\n Thread t = new Thread(new Runnable() {\r\n @Override\r\n public void run() {\r\n\r\n while (true) {\r\n loop();\r\n }\r\n }\r\n });\r\n t.start();\r\n }", "title": "" }, { "docid": "1ef0fe73f5bfe86b2a984cba56d5211c", "score": "0.5882226", "text": "public static void startLoop() {\n\n GraphicsController.createDisplay();\n ShaderHelper.addShader(\"lighting\");\n ShaderHelper.addShader(\"shadowMap\");\n\n while (!Display.isCloseRequested() && !Thread.interrupted()) {\n\n GraphicsController.clearScreen();\n Renderer.currentRenderQueue = new RenderQueue();\n\n if (!GameController.isLoading()) {\n //Renders all the gameObjects\n ObjectController.gameObjects.forEach(lightEngine.gameObjects.GameObject::addToRenderQueue);\n ObjectController.guiScreens.forEach(screen ->\n screen.getElements().forEach(GUIElement::addToRenderQueue));\n Renderer.currentRenderQueue.render();\n }\n\n ObjectController.getLoadingScreen().render();\n\n TimeHelper.updateFPS();\n GraphicsController.update();\n\n }\n\n GameController.stopGame();\n\n }", "title": "" }, { "docid": "542fb75cadd3bd7ec97caf84e369db85", "score": "0.58799666", "text": "public static void main(String args[]) {\n\n\t\t// //\n\t\t// run a simple echo server in the background\n\t\tnew Thread(new Runnable() {\n\t\t\t@Override\n\t\t\tpublic void run() {\n\t\t\t\ttry {\n\t\t\t\t\techoServer();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t}).start();\n\n\t\t// //\n\t\t// Pretend main() is a GUI thread!\n\n\t\ttry {\n\t\t\tc_socket = new WSocket().connect(8080, \"localhost\");\n\t\t} catch (UnknownHostException | SocketException e1) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te1.printStackTrace();\n\t\t} catch (SocketTimeoutException e) {\n\t\t\te.printStackTrace();\n\t\t\tSystem.exit(-2);\n\t\t}\n\n\t\t// ...\n\n\t\twhile (true) {\n\t\t\t// pretend this is a running GUI update loop\n\t\t\t// or something\n\n\t\t\tuserPressedVoteButton();\n\n\t\t\ttry {\n\t\t\t\tThread.sleep(1000);\n\t\t\t} catch (Exception e) {\n\t\t\t\t;\n\t\t\t\t;\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "a8fc151789e50d49203238369e2269ab", "score": "0.5879399", "text": "public static void main(String[] args){\n SwingUtilities.invokeLater(new Game());\n }", "title": "" }, { "docid": "c03d815ca85611bfb7502e707d011404", "score": "0.58778507", "text": "public void run() {\n setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n \n //create image processing operations, actions, menu bar and GUI\n createActions();\n //createMenuBar();\n createGUI();\n \n //Display the window\n pack();\n setVisible(true);\n setTitle(\"LearnCT\");\n }", "title": "" }, { "docid": "2548e0b4ceb4ca59b290468ad46a07d3", "score": "0.5877614", "text": "private static void loop(App app) {\n\t\tGL.createCapabilities();\r\n\r\n\t\t// Run the rendering loop until the user has attempted to close\r\n\t\t// the window or has pressed the ESCAPE key.\r\n\t\tloader = new Loader();\r\n\r\n\t\tshader = new StaticShader();\r\n\t\trenderer = new Renderer(70, 0.01f, 1000f);\r\n\t\tmasterRenderer = new MasterRenderer();\r\n\t\tapp.start();\r\n\r\n\t\twhile (!glfwWindowShouldClose(window)) {\r\n\t\t\trenderer.prepare();\r\n\t\t\tshader.start();\r\n\t\t\tshader.loadSun(Sun.light);\r\n\t\t\tshader.stop();\r\n\t\t\t// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n\t\t\tapp.update();\r\n\t\t\t// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n\t\t\tglfwSwapBuffers(window); // swap the color buffers\r\n\r\n\t\t\t// Poll for window events. The key callback above will only be\r\n\t\t\t// invoked during this call.\r\n\t\t\tglfwPollEvents();\r\n\t\t}\r\n\t\tapp.stop();\r\n\t\tshader.cleanUp();\r\n\t\tloader.cleanUp();\r\n\t}", "title": "" }, { "docid": "f46c7b17515f2b49f7c870e0a30341f3", "score": "0.587621", "text": "public static void main(String[] args) {\n\n\t\tController control = new Controller();\n\t\t\n\t\tsysLog = \"System Log: \" + getDateTime()\n\t\t\t\t+ System.getProperty(\"line.separator\");\n\n\t\ttimerStart = System.currentTimeMillis();\n\t\t\n\t\tcontrol.initiliseHelpers();\n\t\t\n\t\tsysLog += \"Initilising helpers...\"\n\t\t\t\t+ System.getProperty(\"line.separator\");\n\t\n\t\tcontrol.generateParents(40, 40);\n\t\tsysLog += \"Done.\" + System.getProperty(\"line.separator\");\n\t\t\n\t\tsysLog += \"Generating biomorph...\" \n\t\t\t\t+ System.getProperty(\"line.separator\");\n\t\tcontrol.createChildren();\n\t\t\n\t\tsysLog += \"Done.\" + System.getProperty(\"line.separator\");\n\t\t\n\t\tcontrol.initGUI();\n\t\t\n\t\tsysLog += \"Initilising GUI...\" + System.getProperty(\"line.separator\");\n\t\t\n\t\ttimerEnd = System.currentTimeMillis();\n\t\t\n\t\tsysLog += \"Done.\" + System.getProperty(\"line.separator\");\n\t\t\n\t\telapsedTime = timerEnd - timerStart;\n\n\t\tsysLog += System.getProperty(\"line.separator\");\n\t\t\n\t\tsysLog += \"Time taken to boot application: \" + elapsedTime\n\t\t\t\t+ \" milliseconds\";\n\t\ttimerEnd = System.currentTimeMillis();\n\t\telapsedTime = timerEnd - timerStart;\n\n\t\ttry {\n\t\t\tcontrol.generateTextFile(\"SystemLog\", sysLog);\n\t\t} catch (FileNotFoundException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (UnsupportedEncodingException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}", "title": "" }, { "docid": "088e5cc400fb73eb2a29c5d3f36b8e40", "score": "0.58717096", "text": "public Main()\n\t{\n\t\t// TODO: Make using gameWindow less cryptic and easier\n\t\t\n\t\t// Initializes resources\n\t\t/*\n\t\tMultiMediaHolder.initializeResourceDatabase(ResourceType.SPRITE, \n\t\t\t\t\"configure/spriteload.txt\");\n\t\tMultiMediaHolder.initializeResourceDatabase(ResourceType.GAMEPHASE, \n\t\t\t\t\"configure/gamephaseload.txt\");\n\t\t*/\n\t\tMultiMediaHolder.initializeResourceDatabase(\n\t\t\t\tnew OpenSpriteBankHolder(\"configure/spriteload.txt\"));\n\t\tMultiMediaHolder.initializeResourceDatabase(\n\t\t\t\tnew OpenGamePhaseBankHolder(\"configure/gamephaseload.txt\"));\n\t\t\n\t\t// Creates the main window\n\t\tGamePanel gamepanel = new GamePanel(GameSettings.screenWidth, \n\t\t\t\tGameSettings.screenHeight);\n\t\tGameWindow window = new GameWindow(GameSettings.screenWidth, \n\t\t\t\tGameSettings.screenHeight, \"UniNamo2\", !GameSettings.fullScreen, \n\t\t\t\t120, 10, false);\n\t\twindow.addGamePanel(gamepanel, BorderLayout.CENTER);\n\t\tif (GameSettings.fullScreen)\n\t\t\twindow.setFullScreen(true);\n\t\t\n\t\t// Starts the gameplay area(s)\n\t\tMultiMediaHolder.activateBank(MetaResource.GAMEPHASE, \"default\", true);\n\t\t\n\t\t// TODO: Add key handler when needed\n\t\tAreaChanger areachanger = new AreaChanger(window, gamepanel);\n\t\tareachanger.getArea(\"design\").start();\n\t\tareachanger.getArea(\"coding\").start();\n\t\tareachanger.getArea(\"mission\").start();\n\t\t\n\t\t// TODO: This causes occasional errors\n\t\tareachanger.getArea(\"coding\").getMouseHandler().inactivate();\n\t\tareachanger.getArea(\"coding\").getDrawer().setInvisible();\n\t\t\n\t\t// Also activates FPS test\n\t\tnew FpsApsTest(window.getStepHandler(), gamepanel.getDrawer());\n\t}", "title": "" }, { "docid": "fa2a4eec7567785fd8d6cb54e301d76a", "score": "0.5870644", "text": "public static void main(String[] args) {\n javax.swing.SwingUtilities.invokeLater(new Runnable() {\n\n public void run() {\n createAndShowGUI();\n }\n });\n\n }", "title": "" }, { "docid": "71702725fa5e53b8b8be5dbdca5deac0", "score": "0.5870198", "text": "public static void main(String[] args) {\n\t\t\n\t\twhile(true) {\n\t\t\tshowMenu();\n\t\t}\n\t}", "title": "" }, { "docid": "cc5416fab7e5c186129a5628b1bb2012", "score": "0.5863661", "text": "public void run() {\n\t\t\t\tgame = new GameDemo(Wolf3D.ip, Wolf3D.port);\r\n\t\t\t\tgame.setView(worldView); // give it the view so it can call it's display method appropriately.\r\n\t\t\t}", "title": "" }, { "docid": "5380004b7c860344e24011ede4607215", "score": "0.58633864", "text": "public static void main(String[] args) throws Exception {\n\t\tSystem.out.println(\"The game server is running.\");\n\t\tServerSocket listener = new ServerSocket(PORT);\n\t\ttry {\n\t\t\twhile (true) {\n\t\t\t\tnew Handler(listener.accept()).start();\n\t\t\t}\n\t\t} finally {\n\t\t\tlistener.close();\n\t\t}\n\t}", "title": "" }, { "docid": "a70d5ce3c943c2796189d5242926061b", "score": "0.5858141", "text": "public static void main(String[] args) {\n\t\tnew Dispatcher().go();\n\t}", "title": "" }, { "docid": "e32fdefdcbc3a0f2ccd7b4120acc14a5", "score": "0.5856609", "text": "Loop getLoop();", "title": "" }, { "docid": "a79e6f2df08cf358db3ceb02f4b1c72b", "score": "0.5851055", "text": "public static void main(String[] args) {\n javax.swing.SwingUtilities.invokeLater(new Runnable() {\n public void run() {\n createAndShowGUI();\n }\n });\n }", "title": "" }, { "docid": "a79e6f2df08cf358db3ceb02f4b1c72b", "score": "0.5851055", "text": "public static void main(String[] args) {\n javax.swing.SwingUtilities.invokeLater(new Runnable() {\n public void run() {\n createAndShowGUI();\n }\n });\n }", "title": "" }, { "docid": "a79e6f2df08cf358db3ceb02f4b1c72b", "score": "0.5851055", "text": "public static void main(String[] args) {\n javax.swing.SwingUtilities.invokeLater(new Runnable() {\n public void run() {\n createAndShowGUI();\n }\n });\n }", "title": "" }, { "docid": "a79e6f2df08cf358db3ceb02f4b1c72b", "score": "0.5851055", "text": "public static void main(String[] args) {\n javax.swing.SwingUtilities.invokeLater(new Runnable() {\n public void run() {\n createAndShowGUI();\n }\n });\n }", "title": "" }, { "docid": "f975d5662d4ad60e44ea1f6d635e50f4", "score": "0.5841641", "text": "public static void main(String[] args) {\r\n \t\tcontext = new ClassPathXmlApplicationContext(\"applicationContext.xml\");\r\n\t\ttry {\r\n\t\t\tcontroller = new GamePadController();\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\tJOptionPane.showMessageDialog(frame, e.getMessage(),\r\n\t\t\t\t\te.getMessage(), JOptionPane.ERROR_MESSAGE);\r\n\t\t\tSystem.exit(1);\r\n\t\t}\r\n \t\tjavax.swing.SwingUtilities.invokeLater(new Runnable() {\r\n \t\t\tpublic void run() {\r\n \t\t\t\tcreateAndShowGUI();\r\n \t\t\t}\r\n \t\t});\r\n \r\n \t}", "title": "" }, { "docid": "eafd4c5c5b55708834c749d0a8aad4aa", "score": "0.5841594", "text": "public void autonomousInit() {\n\n autoLoopCounter = 0;\n\n }", "title": "" }, { "docid": "dacfd512b8121b14a94e38039c0ec879", "score": "0.5840332", "text": "public static void main(String[] args)\n {\n SwingUtilities.invokeLater(() -> createAndShowGUI());\n }", "title": "" }, { "docid": "a37b29235bdf9b0ab97a104ea392f0bc", "score": "0.5840102", "text": "public static void main(String[] args) {\n\n\t\tContentMatchMainView GUI = new ContentMatchMainView();\n\t\twhile (true){\n\t\t\t\n\t\t}\n\n\t}", "title": "" }, { "docid": "4f198809956ec6b6282e6df194ceaff4", "score": "0.5836289", "text": "@Override\n public void loop() {\n\n\n\n }", "title": "" }, { "docid": "74a3ecbb34d706481cbaa8b1892a41fb", "score": "0.5834029", "text": "public static void main(String[] args)\n\t{\n\t\tSwingUtilities.invokeLater(new Runnable() //new Thread()\n\t\t{\n public void run() \n {\n\n try {\n initUI();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n });\n\t}", "title": "" }, { "docid": "0d9541c3573f6078b7d57fece259d25b", "score": "0.5833936", "text": "public void run () {\r\n\t\t\r\n\t\t//This generates a window\r\n\t\tcsi.cls();\r\n\t\t\r\n\t\t//Generate Map\r\n\t\tMap.drawMap(csi);\r\n\t\t\r\n\t\tString statmes = \"Welcome\";\r\n\t\t\r\n\t\t//Not sure what this does, but game crashes when commented out.\r\n\t\tcsi.saveBuffer();\r\n\r\n\t\t//Generate player stats\r\n\t\tPC.rollStat(\"Strength\");\r\n\t\tPC.rollStat(\"Vision\");\r\n\t\tPC.rollStat(\"Health\");\r\n\t\t\r\n\t\tPC.setHP(PC.maxHealth);\r\n\t\t\r\n\t\t\r\n\t\t//Feeds the required lists into the level generator\r\n\t\t//level.genLevel(0);\r\n\t\t\t\r\n\t\tlevel.genLevel(1, GM, godsList, boulderList, gobList, junkList, trapList, wallList);\r\n\t\t\r\n\t\t\r\n\t\t//Generate wall for a test\r\n\t\t//Wall wall1 = new Wall(7,7);\r\n\t\t//wallList.add(wall1);\r\n\t\t//Add wall1 to actor list for a test\r\n\t\t//actorList.add(wall1);\r\n\t\t\r\n\t\t//Bring Ursatz to life for testing\r\n\t\tGoblin Ursatz = new Goblin(rand.nextInt(75) + 3, rand.nextInt(17) + 3, Goblin.symbol, \"Ursatz\");\r\n\t\tgobList.add(Ursatz);\t\r\n\r\n\t\t//Test with a dummy\r\n\t\tDummy tDummy = new Dummy (10, 10);\r\n\t\tactorList.add(tDummy);\r\n\t\t\r\n\t\t//Another dummy test\r\n\t\t\r\n\t\t\r\n\t\t//This is cool - allows while loop to run. Once \"Exit\" is true, game quits.\r\n\t\tboolean exit = false;\r\n\t\t\t\t\r\n\t\t\r\n\t\t\twhile (!exit){\r\n\t\t\t\t\r\n\t\t\t\t//Sets timer\r\n\t\t\t\tString timeStr = String.valueOf(timer);\r\n\t\t\r\n\t\t\t\tcsi.restore();\r\n\r\n\t\t\t\t//Display Dart Traps\r\n\t\t\t\tfor (DartTrap trap : trapList){\r\n\t\t\t\t\tcsi.print(trap.xPos, trap.yPos, trap.symbol, CSIColor.RED);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t//Display Collectables\r\n\t\t\t\tfor (Collectable junk : junkList){\r\n\t\t\t\t\tcsi.print(junk.xPos, junk.yPos, junk.symbol, junk.color);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t//Display Altars\r\n\t\t\t\tfor (Altar gods : godsList){\r\n\t\t\t\t\tcsi.print(gods.xPos, gods.yPos, gods.symbol, gods.csiColor);\r\n\t\t\t\t}\r\n\r\n\t\t\t\t//Prints the player character in ATOMIC TANGERINE\r\n\t\t\t\tcsi.print(PC.xPos, PC.yPos, \"@\", CSIColor.ATOMIC_TANGERINE);\r\n\t\t\t\t\r\n\t\t\t\t//Display dummy \r\n//\t\t\t\tcsi.print(tDummy.xPos, tDummy.yPos, tDummy.symbol, tDummy.color);\r\n\t\t\t\t\r\n\t\t\t\t//Display actors\r\n\t\t\t\tfor (Actor next : actorList){\r\n\t\t\t\t\tcsi.print(next.xPos, next.yPos, next.symbol, next.color);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t//Display Boulders\r\n\t\t\t\tfor (Boulder rock : boulderList){\r\n\t\t\t\t\tcsi.print(rock.xPos, rock.yPos, rock.symbol, CSIColor.BEIGE);\t\t\r\n\t\t\t\t}\r\n\r\n\t\t\t\t//Display Goblins\r\n\t\t\t\tfor (Goblin gob : gobList){\r\n\t\t\t\t\tcsi.print(gob.xPos, gob.yPos, Goblin.symbol, CSIColor.GREEN);\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\t//Display Walls\r\n\t\t\t\tfor (Wall wall : wallList){\r\n\t\t\t\t\tcsi.print(wall.xPos, wall.yPos, wall.symbol, CSIColor.GRAY);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t//Setup misc. map elements\r\n\t\t\t\tMap.setUp(csi, statmes, PC, timeStr);\r\n\t\t\t\t\r\n\t\t\t\tcsi.refresh();\r\n\t\t\t\tint key = csi.inkey().code;\r\n\t\t\t\t\r\n\t\t\t\t@SuppressWarnings(\"unused\")\r\n\t\t\t\tboolean timestep = false;\r\n\t\t\t\t\r\n\t\t\t\t//Main character movement\r\n\t\t\t\tswitch (key) {\t\t\r\n\t\t\t\t\r\n\t\t\t\t//Base code allows for arrow movement - added number pad to cardinal directions\r\n\t\t\t\t//timer++ hardcoded whenever a key is pressed (to increment turn)\r\n\t\t\t\t\r\n\t\t\t\tcase CharKey.UARROW: case CharKey.T8: case CharKey.N8:\r\n\t\t\t\t\tPC.moveNorth(); timestep = true; \r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\tcase CharKey.DARROW: case CharKey.T2: case CharKey.N2:\r\n\t\t\t\t\tPC.moveSouth(); timestep = true;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\tcase CharKey.LARROW: case CharKey.T4: case CharKey.N4:\r\n\t\t\t\t\tPC.moveWest(); timestep = true; \r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\tcase CharKey.RARROW: case CharKey.T6: case CharKey.N6:\r\n\t\t\t\t\tPC.moveEast(); timestep = true; \r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\t//Diag movement options\r\n\t\t\t\tcase CharKey.N7:\r\n\t\t\t\t\tPC.moveNorthWest(); timestep = true; \t\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\tcase CharKey.N9:\r\n\t\t\t\t\tPC.moveNorthEast(); timestep = true; \r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\tcase CharKey.N1:\r\n\t\t\t\t\tPC.moveSouthWest(); timestep = true; \r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\tcase CharKey.N3:\r\n\t\t\t\t\tPC.moveSouthEast(); timestep = true;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t//Waiting\r\n\t\t\t\tcase CharKey.N5: case CharKey.SPACE:\r\n\t\t\t\t\tPC.loiter();\r\n\t\t\t\t\ttimestep = true;\t\t\t\t\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\t//Option to eat berries\r\n\t\t\t\tcase CharKey.e: case CharKey.E:\r\n\t\t\t\t\tPC.eatBerry();\r\n\t\t\t\t\ttimestep = true;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\r\n\t\t\t\t//Testing upgrade system\r\n\t\t\t\tcase CharKey.U: case CharKey.u:\r\n\t\t\t\t\tPC.armor.upgrade();\r\n\t\t\t\t\tPC.weapon.upgrade();\r\n\t\t\t\t\tPC.bow.upgrade();\r\n\t\t\t\t\tcsi.refresh();\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\tcase CharKey.P: case CharKey.p:\r\n\t\t\t\t\tfor (Altar gods : godsList){\r\n\t\t\t\t\t\tgods.pray(PC);\r\n\t\t\t\t }\r\n\t\t\t\t\tcsi.refresh();\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\tcase CharKey.Y: case CharKey.y:\r\n\t\t\t\tif (PC.converting){\r\n\t\t\t\t\tfor (Altar gods : godsList){\r\n\t\t\t\t\t\tgods.convert(PC);\r\n\t\t\t\t }\r\n\t\t\t\t}\r\n\t\t\t\t//PC.confirm('y');\r\n\t\t\t\t//PC.loiter();\r\n\t\t\t\t\ttimestep = true;\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t//Testing BEAMS\r\n\t\t\t\tcase CharKey.F: case CharKey.f:\r\n\t\t\t\t\r\n\t\t\t\t\t//Generic red beam with a message \r\n\t\t\t\t\t//Only fires to the right\r\n\t\t\t\t\t//Beam.zapBeam\r\n\t\t\t\t\t\r\n\t\t\t\t\t//Generic invisible beam that returns to the consul char data over the tiles it passes\r\n\t\t\t\t\t//Only fires to the right. \r\n\t\t\t\t\t//Beam.peekBeam(PC,csi);\r\n\t\t\t\t\t\r\n\t\t\t\t\t//Fires an arrow\r\n\t\t\t\t\tBeam.fireArrow(PC);\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\t//When \"Q\" is pressed, 'exit' is set to true and game quits. Neat!\r\n\t\t\t\tcase CharKey.Q: case CharKey.q:\r\n\t\t\t\t\tcsi.print(1, 1, \"Quitting...\");\r\n\t\t\t\t\texit = true;\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//essentially the \".run\" mechanic\r\n\t\t\t\tif (timestep = true){\r\n\t\t\t\t\t\r\n\t\t\t\t\t//Code to kill player if they deserve it\r\n\t\t\t\t\tif (PC.currentHealth <= 0){\r\n\t\t\t\t\tcsi.print(1, 1, \"You have perished.\");\r\n\t\t\t\t\texit = true;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\tfor(Actor next : actorList){\r\n\t\t\t\t\t\tnext.run(PC);\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\t//Checks if a player is in a wall - bounces them back if they are.\r\n\t\t\t\t\tfor (Wall wall : wallList){\r\n\t\t\t\t\t\twall.bouncePlayer(PC);\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\tfor (Boulder rock : boulderList){\r\n\t\t\t\t\trock.checkPush(PC); \r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\tfor (DartTrap trap : trapList){\r\n\t\t\t\t\ttrap.checkTrigger(PC);\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\tfor (Goblin gob : gobList){\r\n\t\t\t\t\t\t//Goblin.run does a bunch of stuff. Check goblin class for more info.\r\n\t\t\t\t\t\tgob.run(PC, wallList, boulderList, trapList, gobList);\r\n\t\t\t\t\t\t//System.out.println(gob.health);\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t//Should allow a goblin to go bezerk when its the last one left\r\n\t\t\t\t\t\t//Currently this does not happen\r\n\t\t\t\t\t\tif (gobList.size() == 1 && gob.promotable == true) {\r\n\t\t\t\t\t\t\tgob.promote();\r\n\t\t\t\t\t\t\tPC.GM.setMessage(\"Realizing its the last one left alive, the goblin goes bezerk!\");\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\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\t\r\n\t\t\t\t\tfor (Collectable junk : junkList){\r\n\t\t\t\t\t\tjunk.collect(PC);\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\t//Get PC's position for debugging\r\n\t\t\t\t\t//PC.getPosition();\r\n\t\t\t\t\t\r\n\t\t\t\t\tstatmes = GM.getMessage();\r\n\t\t\t\t\t\r\n\t\t\t\t\ttimer++;\r\n\t\t\t\t\ttimestep = false;\r\n\t\t\t\t}\r\n\t\t\t\r\n\r\n\t\t\t\r\n\t\t//Only triggers on exit\r\n\t\t\r\n\t\tcsi.print(1, 2, \"Press space to continue\");\r\n\t\t\r\n\t\tcsi.refresh();\r\n\t\tcsi.waitKey(CharKey.SPACE);\r\n\t\tSystem.exit(0);\r\n\t\t\t\t\r\n\t\t\t\t}", "title": "" } ]
2b78b3433b580d97919d1b29a93d5361
TODO most of this can be deleted, this is what happens when you press the weight button
[ { "docid": "4470ae8bb030336dc795be275db115ba", "score": "0.68215805", "text": "public void actionPerformed(ActionEvent e) {\r\n\t\t\t\t\r\n\t\t\t\t//weight in the textbox\r\n\t\t\t\tdouble weight = 0;\r\n\t\t //this is making sure a double was inserted\r\n\t\t try{\r\n\t\t \t\r\n\t\t \tweight = Double.parseDouble(textField.getText());\r\n\t\t }catch(NumberFormatException nfe){\r\n\t\t System.out.println(\"You didn't enter a number!\");\r\n\t\t \t}\r\n\t\t\t\t\r\n\t\t\t\t//create a new backend\r\n\t\t\t\tBackend backend = new Backend(fileLocation);\r\n\t\t\t\ttry {\r\n\t\t\t\t\tbackend.fileIO(new File(fileLocation), weight);\r\n\t\t\t\t} catch (IOException e1) {\r\n\t\t\t\t\te1.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}", "title": "" } ]
[ { "docid": "237f00e85bf743ec961a665871d60d83", "score": "0.7598835", "text": "@Override\n\tpublic void onWeightClick(View v) {\n\t\t\n\t}", "title": "" }, { "docid": "c815b83ea3e25f98e457061aece9d609", "score": "0.7507828", "text": "@Override\n\t\tpublic void onWeightClick(View v) {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "0a640ec756ad02aad8832dae5d8eba14", "score": "0.7505502", "text": "@Override\r\n\tpublic void Accelerator() {\n\t\tSystem.out.println(\"Based On Weight\");\r\n\t}", "title": "" }, { "docid": "550b0d7792c2424946f127de8a61770b", "score": "0.74071187", "text": "private void jButton14ActionPerformed(java.awt.event.ActionEvent evt) {\n \n setWeights();\n \n }", "title": "" }, { "docid": "106447d248c4bccc60caca9a0b82812b", "score": "0.7104353", "text": "public void setWeight(double weight){\n this.weight=weight;\n \n }", "title": "" }, { "docid": "0a0c727c88d40e940e0ef0084bfef41d", "score": "0.69659734", "text": "void setWeight(int weight) {\r\n this.weight = weight;\r\n }", "title": "" }, { "docid": "776df86c9905a52679e72495d847fa35", "score": "0.68819225", "text": "public void setWeight(int w){\n\t\tweight = w;\n\t}", "title": "" }, { "docid": "0321a4e4e220c46476a079ff4a77d73e", "score": "0.6879221", "text": "public void setWeight(int weight)\n {\n this.weight = weight;\n }", "title": "" }, { "docid": "5ce5efa56696d815b869cd3916107e46", "score": "0.6870805", "text": "public void setWeight(double weight){\r\n\t\tthis.weight = weight;\r\n\t}", "title": "" }, { "docid": "0573d9908494257c5befd0c3fe43d02e", "score": "0.6868758", "text": "public void setWeight(float weight)\n {\n this.weight = weight;\n }", "title": "" }, { "docid": "34bca7de40e48bc5e0f548fc6939f48e", "score": "0.6835045", "text": "public void setWeight(double weight)\n {\n this.weight = weight;\n }", "title": "" }, { "docid": "310258faffd721aadef1a9c4a44bf36c", "score": "0.6826235", "text": "public void setWeight(float weight) {\n\tthis.weight = weight;\n }", "title": "" }, { "docid": "a68cb641a22d0b2131b5f6b35d2cb8ca", "score": "0.67804366", "text": "public void setWeight(double weight) {\n this.weight = weight;\n }", "title": "" }, { "docid": "9c693b6f9f3465128869006944113b89", "score": "0.67181796", "text": "public void setWeight(Float weight) {\n this.weight = weight;\n }", "title": "" }, { "docid": "f231d015eedf79963a61524c486ffab5", "score": "0.6716339", "text": "public void setWeight(double weight)\n\t{\n\t\tthis.weight = weight;\n\t}", "title": "" }, { "docid": "f231d015eedf79963a61524c486ffab5", "score": "0.6716339", "text": "public void setWeight(double weight)\n\t{\n\t\tthis.weight = weight;\n\t}", "title": "" }, { "docid": "09d24cddf937387bd66584c7398757fa", "score": "0.67106295", "text": "@Override\n public int getWeight() { return weight; }", "title": "" }, { "docid": "2b2935d13968135ce68d516ae75db6a9", "score": "0.6709363", "text": "public void WeightOfChildBear(){\n int weight = 0;\n weight = 80;\n }", "title": "" }, { "docid": "c779457131c327a3d37ac9cacec96099", "score": "0.6704285", "text": "void setWeight(int weight);", "title": "" }, { "docid": "49bb1b011f602f2d0f8225a5baee76e7", "score": "0.6702073", "text": "@Override\n public void setWeight(double w) {\n _weight = w;\n }", "title": "" }, { "docid": "b3fa5d781ee863009d961d24d5b95052", "score": "0.6677885", "text": "public void setWeight (Double w) {\n\t\tweight = w;\n\t}", "title": "" }, { "docid": "064abe43adfd05484e6cbdab30654f4a", "score": "0.6671604", "text": "public String getWeight() {\r\n\treturn weightTextBox.getText();\r\n }", "title": "" }, { "docid": "ba19f3d8ae1dc268637e129ac0b6dc91", "score": "0.6666219", "text": "public void weightsOrBands(){\r\n\t\tif(equipPref.equals(\"Bands\")){\r\n\t\t\tshowBand();\r\n\t\t}\r\n\t\telse {\r\n\t\t\tshowWeight();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "9e5354ba1f069c33607fee586a49d702", "score": "0.664421", "text": "public void setWeight(double weight) {\n this.weight = weight;\n}", "title": "" }, { "docid": "df54285a051292cf12757a34fe6aba5f", "score": "0.6620624", "text": "private int getWeight() {\n String text = weightText.getText().toString();\n if (text.length() == 0) {\n return -1;\n }\n\n int weight = Integer.parseInt(text);\n if (weight < 0 || weight > 100) {\n return -1;\n }\n\n return weight;\n }", "title": "" }, { "docid": "c2c3b240db7d6b5bb3ce8dfad3cb00e6", "score": "0.65992135", "text": "public void setWeight(Integer weight) {\n this.weight = weight;\n }", "title": "" }, { "docid": "c9502578629b01351db572684c4d36a2", "score": "0.65897673", "text": "public void enterWeightInTheTextBox(String weight) {\n inputText(weightInLbs, weight);\n\n }", "title": "" }, { "docid": "edf039138de3bfc581fac85ff13b3183", "score": "0.65845317", "text": "@Override\r\npublic void actionPerformed(ActionEvent arg0) {\ndouble h=Double.parseDouble(t2.getText());\r\ndouble w=Double.parseDouble(t3.getText());\r\ndouble bmi=w/(h*h);\r\nt4.setText(\"BMI\"+Math.round(bmi));\r\nif(bmi>0.00 && bmi<19.00)\r\n{\r\nt5.setText(\"under weight...Eat well\");\r\n}\r\nelse if(bmi>19.00 && bmi<26.00)\r\n{\r\nt5.setText(\"normal weight...maintain this\");\r\n}\r\nelse if(bmi>26.00 && bmi<30.00)\r\n{\r\nt5.setText(\"over weight...reduce ur food\");\r\n}\r\nelse\r\n{\r\nt5.setText(\"obese..say no to food\");\r\n}\r\n\r\n}", "title": "" }, { "docid": "5c2011240bd205370eb3596530a90e4c", "score": "0.65708786", "text": "private void enterCurrentWeight() {\n\t\tSeleniumUtil.waitForElementToBeVisible(inputTetxCurrentWeightOfManageWeightLevel1, driver);\n\t\tSeleniumUtil.element(inputTetxCurrentWeightOfManageWeightLevel1, driver).sendKeys(\"150\");\n\t}", "title": "" }, { "docid": "a10f84c1544f845547f08362126f1f1d", "score": "0.6556776", "text": "public void actionPerformed(java.awt.event.ActionEvent thing) {\n\n//variables for weight and height\n double height = Double.parseDouble( inHeight.getText().trim() );\n double weight = Double.parseDouble( inHeavy.getText().trim() );\n double BMI = 703*(weight/(height*height)) ;// Formula to calculate the Body Mass Index//\n//if else statements to determine the wellness of yourself//\n if(BMI < 18.5){\n showDist.setText(BMI+\" You are underweight. \");\n }else if(BMI >= 18.5 && BMI <= 25){\n showDist.setText(BMI+\" You BMI is normal. \");\n }else if(BMI >25){\n showDist.setText(BMI+\" You are overweight. \");\n }\n }", "title": "" }, { "docid": "f764d8610186ff7c420fa790d019c54e", "score": "0.6544739", "text": "private void refreshWeight()\n\t{\n\t\tlong weight = 0;\n\n\t\tfor(final L2ItemInstance element : _items)\n\t\t\tweight += element.getItem().getWeight() * element.getCount();\n\n\t\tif(weight > Integer.MAX_VALUE)\n\t\t\t_totalWeight = Integer.MAX_VALUE;\n\t\telse\n\t\t\t_totalWeight = (int) weight;\n\t\t// notify char for overload checking\n\t\tonRefreshWeight();\n\t}", "title": "" }, { "docid": "db86bbc7ce0f56336eb50cb430cd016f", "score": "0.6496273", "text": "public void setWeight(Double w) {\n\t\t\tthis.weight = w;\n\t\t}", "title": "" }, { "docid": "62e495a36225afbe1318bc8968c9810f", "score": "0.64788306", "text": "double getWeight();", "title": "" }, { "docid": "e6cecda7ea4b41a5eedfd166b9cf6b44", "score": "0.6475563", "text": "public void setWeight (java.lang.Integer weight) {\n\t\tthis.weight = weight;\n\t}", "title": "" }, { "docid": "e0491ff4bb0fa027aee2062c30b02f3f", "score": "0.64747095", "text": "public void setWeight(int newWeight) {\n\t \tweight = newWeight;\n\t }", "title": "" }, { "docid": "402cda7f21e2b16917baf96bac6a5947", "score": "0.6464311", "text": "int getWeight();", "title": "" }, { "docid": "803521b70bdd4d671d8d5f1a2da14db1", "score": "0.6457922", "text": "public void setWeight(double weigth) {\n \t\tthis.weigth = weigth;\n \t}", "title": "" }, { "docid": "da44e0ba95ea91f7d97714b9eac694b0", "score": "0.64409554", "text": "int getStartWeight();", "title": "" }, { "docid": "9bd1082469aa50c343d70b637e2ba25e", "score": "0.6415117", "text": "public int increaseWeight() {\n return weight++;\n }", "title": "" }, { "docid": "467d14f0776881f10a00f6c5112662ff", "score": "0.64046246", "text": "public int getCurrentWeight() \n {\n return this.currentWeight;\n }", "title": "" }, { "docid": "b575cc31d5b596a3e25d1b4e7c7ffecc", "score": "0.6399927", "text": "public int getWeight(){\n\t\treturn weight;\n\t}", "title": "" }, { "docid": "79318478109387b7ce1adc773513e946", "score": "0.63971263", "text": "public int getWeight();", "title": "" }, { "docid": "79318478109387b7ce1adc773513e946", "score": "0.63971263", "text": "public int getWeight();", "title": "" }, { "docid": "79318478109387b7ce1adc773513e946", "score": "0.63971263", "text": "public int getWeight();", "title": "" }, { "docid": "3d582e6794d2ca94f1d737e7107b0559", "score": "0.6387773", "text": "public double getWeight(){\r\n\t\treturn this.weight;\r\n\t}", "title": "" }, { "docid": "4a21dbf9c7a57deb9eda4f5cc4faa6e0", "score": "0.6378698", "text": "public int getWeight() {\n return weight;\n }", "title": "" }, { "docid": "b392bc805901bb834281184e830f47bd", "score": "0.6372841", "text": "public void setWeight(double weight) {\n\t\tthis.weight.set(weight);\n\t}", "title": "" }, { "docid": "6dc245ef36b5459b52907faf6e06b56c", "score": "0.637128", "text": "public int getCurrentWeight() {\n return weight;\n }", "title": "" }, { "docid": "14cb7522bb0eb87af130fa5872973f08", "score": "0.63700324", "text": "public int weight() {\n return weight;\n }", "title": "" }, { "docid": "6306e1fb39ef6b9a00a5359d3901c998", "score": "0.63674736", "text": "public final int getWeight () {\n return this.weight;\n }", "title": "" }, { "docid": "6ec70aa3474e39795ff8cbb6971f8ba3", "score": "0.6350305", "text": "int getWeight() {\n return weight;\n }", "title": "" }, { "docid": "051ccf384b0f81f1152fbe0e7a6b7801", "score": "0.633627", "text": "@Raw\r\n\tprotected void setWeight(int weight){\r\n\t\tif (this.canHaveAsWeight(weight))\r\n\t\t\tthis.weight = weight;\r\n\t\telse\r\n\t\t\tthis.weight = 1;\r\n\t}", "title": "" }, { "docid": "fe6a1b72d7590498c0ec8a4515c13e99", "score": "0.63338906", "text": "public float GetWeight();", "title": "" }, { "docid": "c82c05b5e0bf6a6482d185444b812371", "score": "0.6332499", "text": "public int getWeight() {\r\n return weight;\r\n }", "title": "" }, { "docid": "58e449cb3284cf8c07ee2d41dc980c1a", "score": "0.6319582", "text": "public float getWeight() {\r\n return weight;\r\n }", "title": "" }, { "docid": "bdb8a6bb165320710d986711961eec71", "score": "0.63134295", "text": "public float getWeight()\n {\n return this.weight;\n }", "title": "" }, { "docid": "f65d6b4bc9b45e141db8447be7ded36e", "score": "0.63060004", "text": "public int getWeight()\r\n {\r\n return weight;\r\n }", "title": "" }, { "docid": "0ab32cc484f0dd946af458e25a16fc4d", "score": "0.6300045", "text": "abstract void setWeight(double weight);", "title": "" }, { "docid": "19718934431f4e27a953deac8d392ac0", "score": "0.62907386", "text": "@Override\n public int getWeight() {\n return 0;\n }", "title": "" }, { "docid": "34c9d0604fb58b18d2808254e52e1479", "score": "0.62859076", "text": "@Override\n public double getWeight() {\n return _weight;\n }", "title": "" }, { "docid": "19dd9298b3d7f3d795423abe63293225", "score": "0.6281683", "text": "public void actionPerformed (ActionEvent e)\n\t{\n\t\tinches = Integer.parseInt (heightField.getText());\n\t\tpounds = Integer.parseInt (weightField.getText());\n\t\tmeters = inches / 39.36;\n\t\tkilograms = pounds / 2.2;\n\t\tindex = kilograms / Math.pow(meters,2);\n\t\toutputLabel.setText (\"Your Body Mass Index is \" + Math.round(index) + \".\");\n\t}", "title": "" }, { "docid": "eacd914486b2fdd7163b065e35c7e76e", "score": "0.62815094", "text": "public final void setWeight(double weight) {\n\t\tif (weight>=80 && weight<=280){\n\t\t\tthis.weight = weight;\n\t\t}\n\t}", "title": "" }, { "docid": "ae1435a8616f902ee3d64cdb444a039a", "score": "0.6281387", "text": "public final void setWeight(final double argWeight) {\n\t\tthis.weight = argWeight;\n\t}", "title": "" }, { "docid": "089289b80e8609853df402cd5871d87a", "score": "0.6277281", "text": "@Override\r\n public double weight() {\r\n return 30.0;\r\n }", "title": "" }, { "docid": "2c3eeeabde3d8e84d7e36a6681add746", "score": "0.6266718", "text": "public float getWeight() {\n\treturn weight;\n }", "title": "" }, { "docid": "14b7807ad9560734ffe534903c7ef9e6", "score": "0.6262262", "text": "public int getWeight()\n {\n return weight;\n }", "title": "" }, { "docid": "b54366c037104873170021e8022fb173", "score": "0.6261056", "text": "public double getWeight(){\n return this.weight;\n }", "title": "" }, { "docid": "1f29a6cc1b3af663649c7dc9819c300b", "score": "0.6254283", "text": "public int getWeight() {\n return weight;\n }", "title": "" }, { "docid": "1f29a6cc1b3af663649c7dc9819c300b", "score": "0.6254283", "text": "public int getWeight() {\n return weight;\n }", "title": "" }, { "docid": "1f29a6cc1b3af663649c7dc9819c300b", "score": "0.6254283", "text": "public int getWeight() {\n return weight;\n }", "title": "" }, { "docid": "3273c21dbb291268c3caecd58388afdd", "score": "0.62537616", "text": "public void enterWeightForDog(String Text) {\n inputText(weightInKGTextBox, Text);\n }", "title": "" }, { "docid": "7d3946afb77ee4aa140e8bbd263dfe7d", "score": "0.6251004", "text": "public float getWeight()\n {\n return weight;\n }", "title": "" }, { "docid": "3f125fb71b1eab13558137cdb41e6383", "score": "0.6243368", "text": "public int getWeight() {\n\t\treturn weight;\n\t}", "title": "" }, { "docid": "811067a2c251882fd994ba201a47450a", "score": "0.6239604", "text": "public float getWeight() {\n return weight;\n }", "title": "" }, { "docid": "2bb88aa9e13de8f691bbee36235b5bdf", "score": "0.62253046", "text": "public int weight();", "title": "" }, { "docid": "0ef01a675ed22a619de235ff3e7b8bee", "score": "0.6205922", "text": "public double getWeight() {\n return this.weight;\n }", "title": "" }, { "docid": "b492c56a43ee84ad6115d39fc23a5eda", "score": "0.620527", "text": "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent openStrtngPoint = new Intent(\"android.intent.action.WEIGHTPGE\");\n\t\t\t\tstartActivity(openStrtngPoint);\n\t\t\t}", "title": "" }, { "docid": "fb72d5e25061c3940b0e86d60fc488aa", "score": "0.6201212", "text": "@FXML\n public void handleWeightingBtn(MouseEvent event) throws IOException {\n pageSwitcher.switcher(event, \"WeightingTable.fxml\");\n }", "title": "" }, { "docid": "5758f23dbf78810c3df822276f004309", "score": "0.6197592", "text": "public double getWeight(){\n return weight;\n }", "title": "" }, { "docid": "8c59b7eb86b80c05dfbc94420dc4a43b", "score": "0.6196142", "text": "protected int getWeight() {\n\t\treturn m_nWeight;\n\t}", "title": "" }, { "docid": "0a81dbeb2d02c4f9d5b1e926c13a1e59", "score": "0.6195434", "text": "@Override\n\t\t\tpublic void onClick(View v) {\n\n\t\t\t\tif (Tweight.getText().toString().equalsIgnoreCase(\"\"))\n\t\t\t\t{\n\t\t\t\t\tdisplaySubmit.setText(\"Δέν έχει γίνει εισαγωγή του βάρους\");\n\t\t\t\t\tdisplaySubmit.setTextColor(Color.RED);\n\t\t\t\t} else if (Float.parseFloat(Tweight.getText().toString()) > (float) 350.00\n\t\t\t\t\t\t\t|| Float.parseFloat(Tweight.getText().toString()) < (float) 20) \n\t\t\t\t\t{\n\t\t\t\t\tdisplaySubmit.setText(\"Λανθεσμένη είσοδο βάρους:\\nΠρέπει να είναι στο διάστημα [20-350]\");\n\t\t\t\t\tdisplaySubmit.setTextColor(Color.RED);\n\t\t\t\t\t} else if (Theight.getText().toString().equalsIgnoreCase(\"\"))\n\t\t\t\t\t\t{\n\t\t\t\t\t\tdisplaySubmit.setText(\"Δέν έχει γίνει εισαγωγή του ύψους\");\n\t\t\t\t\t\tdisplaySubmit.setTextColor(Color.RED);\n\t\t\t\t\t\t} else if (Float.parseFloat(Theight.getText().toString()) > (float) 250.00\n\t\t\t\t\t\t\t\t|| Float.parseFloat(Theight.getText().toString()) < (float) 40)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\tdisplaySubmit.setText(\"Λανθεσμένη είσοδο ύψους:\\nΠρέπει να είναι στο διάστημα [40-250]\");\n\t\t\t\t\t\t\tdisplaySubmit.setTextColor(Color.RED);\n\t\t\t\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "64c87854bdd403dfbb2a173fe27bcc3c", "score": "0.6192085", "text": "public void setWeight(java.lang.String value) {\n this.weight = value;\n }", "title": "" }, { "docid": "aa894ed86b8dc2b432e0360afe0781f0", "score": "0.61858", "text": "public int getWeight() {\n String weight = weightTextField.getText();\n try {\n int convertedWeight = Integer.parseInt(weight);\n return convertedWeight;\n }catch (NumberFormatException e){\n JOptionPane.showMessageDialog(frame, \"weight required and must be an integer\");\n return 0;\n }\n }", "title": "" }, { "docid": "2b650d13976fab47534c9493ac151adf", "score": "0.61796", "text": "public double getWeight() {\n return weight;\n }", "title": "" }, { "docid": "8da3a938343d699bf1fdb9b6f8cb4574", "score": "0.6178478", "text": "public double getWeight()\n\t{\n\t\treturn weight;\n\t}", "title": "" }, { "docid": "ca73e03ce0a46439a28875c3e4348eed", "score": "0.61734056", "text": "public int getWeight() {\n return mWeight;\n }", "title": "" }, { "docid": "9f1e4e5d99263c5ca794d15f8e8d2c59", "score": "0.6171627", "text": "public void setWeight(int weight) {\n if (weight > 0 && weight <= 3500)\n this.weight = weight;\n }", "title": "" }, { "docid": "557d838bd866c8c05a5d509360c767b3", "score": "0.61687607", "text": "public double getWeight() {\n\t\treturn weight;\n\t\t}", "title": "" }, { "docid": "6a807ad179551ae1c45009c61db3a34e", "score": "0.61584204", "text": "private void weightSliderStateChanged(final ChangeEvent e) {\n\t\tShapeTalk.drawingBoard.setStrokeIndex(weightSlider.getValue());\n\t}", "title": "" }, { "docid": "5f812bb1435bec7d32acea6c81ad7719", "score": "0.6157309", "text": "@Test\n\tpublic void qualityShouldChangeWhenWeightsChangedManually() throws Exception {\n\t\tfinal Parent root = launchScene();\n\t\tfinal TableView<WeightedRule> tableView = (TableView<WeightedRule>) root.lookup(\"#tableView\");\n\t\ttableView.getItems().get(0).setWeight(5.0);\n\t\ttableView.getItems().get(1).setWeight(5.0);\n\t\ttableView.getItems().get(2).setWeight(5.0);\n\t\t((Button) root.lookup(\"#evaluate\")).fire();\n\t\tfinal Double falsePositives = Double.valueOf(((Label) root.lookup(\"#falsePositivesQuantity\")).getText());\n\t\tfinal Double falseNegatives = Double.valueOf(((Label) root.lookup(\"#falseNegativesQuantity\")).getText());\n\t\tassertEquals(new Double(209), falsePositives);\n\t\tassertEquals(new Double(73), falseNegatives);\n\t}", "title": "" }, { "docid": "13c1584c56df2374386647dab23aee37", "score": "0.6157275", "text": "public void setWeight(java.lang.Double value) {\n this.weight = value;\n }", "title": "" }, { "docid": "d89d3cca45134230e78095357d3d0ab9", "score": "0.61511344", "text": "public abstract int getWeight();", "title": "" }, { "docid": "d89d3cca45134230e78095357d3d0ab9", "score": "0.61511344", "text": "public abstract int getWeight();", "title": "" }, { "docid": "857b50303eee5d982953d41696d82177", "score": "0.61405957", "text": "java.lang.String getWeight();", "title": "" }, { "docid": "f59a06348eb958c469d0e8cebd106d92", "score": "0.61355454", "text": "public Weight (float currentWeight) {\n\t\tthis.currentWeight = currentWeight;\n\t\tweightDates = new ArrayList<String>(); \n\t\tweightHistory = new ArrayList<Float>();\n\t}", "title": "" }, { "docid": "cae39b44dd2bc5e4f5f74b261a05e17d", "score": "0.61264294", "text": "@Override\n public void onClick(View v) {\n if (etWeightChild.getText() != null\n && etWeightChild.getText().toString().length() > 0\n && !etWeightChild.getText().toString()\n .equalsIgnoreCase(\".\")) {\n float value = Float.valueOf(etWeightChild.getText()\n .toString());\n\n etWeightChild.setText(String.valueOf(value + .1));\n } else {\n float value = Float.valueOf(0);\n\n etWeightChild.setText(String.valueOf(value + .1));\n }\n }", "title": "" }, { "docid": "ec1a488be97dad11bed560f4c7037b42", "score": "0.6116463", "text": "public double weight() {\n return weight;\n }", "title": "" }, { "docid": "05c058c43e98f43301ce892065b5cbba", "score": "0.61039084", "text": "public double getWeight()\n {\n return weight;\n }", "title": "" }, { "docid": "ecbb4d51f89d5626344633dd70176548", "score": "0.6102664", "text": "public double getWeight() {\n\t\treturn weight;\n\t}", "title": "" }, { "docid": "8c1ac82f8fa104b65c43c3c601dde590", "score": "0.6095041", "text": "public void onIncreaseButtonClicked() {\r\n\t\tif (wordChanger == null) {\r\n\t\t\tinitializeWordChanger();\r\n\t\t}\r\n\r\n\t\tint currentWpm = rsvpStatus.getCurrentWpm();\r\n\r\n\t\tif (currentWpm < 700) {\r\n\t\t\tcurrentWpm += 50;\r\n\t\t\trsvpStatus.setCurrentWpm(currentWpm);\r\n\t\t\twordChanger.setWordsPerMinute(currentWpm);\r\n\t\t}\r\n\r\n\t\tview.updateCurrentWpmLabel(currentWpm);\r\n\t}", "title": "" } ]
518bf5364cda3c6202a1a392996f93d1
Inflate the menu; this adds items to the action bar if it is present.
[ { "docid": "87c57ca2d85e76c4cfbf686c8dfe9894", "score": "0.0", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.base, menu);\n\t\treturn true;\n\t}", "title": "" } ]
[ { "docid": "9813d71a4b724b9d132f23a2cb80322c", "score": "0.7079675", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main_activity_actions, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "title": "" }, { "docid": "1d4d5f0b7f637b68b1f2843e12b93b97", "score": "0.7057401", "text": "@Override\n\t public boolean onCreateOptionsMenu(Menu menu) {\n\t MenuInflater inflater = getMenuInflater();\n\t inflater.inflate(R.menu.main_activity_actions, menu);\n\t return super.onCreateOptionsMenu(menu);\n\t }", "title": "" }, { "docid": "797cada69ce026eb3610079543cb23e3", "score": "0.7053981", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.menu_activity_actions, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "title": "" }, { "docid": "23fa59e556453058d2bdddd706d81ef5", "score": "0.704071", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(android.view.Menu menu) {\n\t\tsuper.onCreateOptionsMenu(menu);\n\t\tMenuInflater blowup=getMenuInflater();\n\t\tblowup.inflate(R.menu.coolmenu, menu);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "0d248ac9bca93578555acff1c726ea49", "score": "0.6983639", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.layout.amenufavorites_actions, menu);\n\n\t\treturn true;\n\t}", "title": "" }, { "docid": "d48074d93cc9fa97e207ded3a9318cf2", "score": "0.6975645", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "6ca5cc09a9db267fe09cd935c6bca3d8", "score": "0.69754714", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater=getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "title": "" }, { "docid": "d9f8dccdf948d8ba404dd4ab8dcf4fab", "score": "0.6955973", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater=getMenuInflater();\n inflater.inflate(R.menu.bar, menu);\n return true;\n }", "title": "" }, { "docid": "5361fca61308505b956341f77c0e301b", "score": "0.69221705", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.mainpage_activity, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "title": "" }, { "docid": "47d16fa25d516c847da78250e2c606c7", "score": "0.6917838", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "6b45c019e2a093d89a9093647aa93d8a", "score": "0.6906586", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu)\n {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.action_bar_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "4cb9e69581fbbd1517d65055054baed5", "score": "0.69034296", "text": "@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\n\t\t\treturn super.onCreateOptionsMenu(menu);\n\t\t}", "title": "" }, { "docid": "e29f41f2c322b6571c12aa1d7475776a", "score": "0.6892396", "text": "@Override\n public boolean onCreateOptionsMenu(android.view.Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "2c2541506272d9dcb18cec913484ddca", "score": "0.6882136", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n //getMenuInflater().inflate(R.menu.menu_main, menu);\n //return true;\n }", "title": "" }, { "docid": "b2b4f13c30c3e71ef3d89549d09b2bbd", "score": "0.6874423", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.bar_item, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "7c7f52bc85432234ee2050f101ef1659", "score": "0.6862368", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "title": "" }, { "docid": "de6168daad2ac8d29d980fc7c3388d94", "score": "0.684758", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflate = getMenuInflater();\n inflate.inflate(R.menu.menu, ApplicationData.amvMenu.getMenu());\n return true;\n }", "title": "" }, { "docid": "de6168daad2ac8d29d980fc7c3388d94", "score": "0.684758", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflate = getMenuInflater();\n inflate.inflate(R.menu.menu, ApplicationData.amvMenu.getMenu());\n return true;\n }", "title": "" }, { "docid": "973855182fd9a5bfd2c3910b41580942", "score": "0.68431026", "text": "@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\r\n super.onCreateOptionsMenu(menu);\r\n //folosesc inflaters petnru ca am o metoda deja createa (menu)\r\n //inflater ataseaza o parte de java la o parte de xml\r\n getMenuInflater().inflate(R.menu.app_main_menu, menu);\r\n\r\n return true;\r\n }", "title": "" }, { "docid": "233f0a1dc01f140c2d3d274dee07bb9b", "score": "0.6832009", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu)\n {\n \tsuper.onCreateOptionsMenu(menu);;\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.menu, menu);\n \treturn true;\n }", "title": "" }, { "docid": "3bfe35566bc616404911e8e4a19e37c3", "score": "0.68301374", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.action_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "2cc05d60945bafa855b419918f481973", "score": "0.6826883", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "130df34064e46b4cd517841f00e04b9d", "score": "0.68254185", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.actionbar, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "54dfc1e44acfd64fcd4d9635e999627b", "score": "0.68052787", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t MenuInflater inflater = getMenuInflater();\n\t inflater.inflate(R.menu.custom_action_bar, menu);\n\t return super.onCreateOptionsMenu(menu);\n\t}", "title": "" }, { "docid": "56d8d832ac3023a5f747878fe5a4a444", "score": "0.680371", "text": "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t\t menu.add(\"Menu 1a\").setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);\n menu.add(\"Menu 1b\").setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);\n\t}", "title": "" }, { "docid": "5c755a1a2e17389087b52eea3c41d2cb", "score": "0.67968994", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.action_bar, menu);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "714da39856e75d5bed48a23456e559fb", "score": "0.6795561", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.action_bar_menu, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }", "title": "" }, { "docid": "9d2511f2257f4eaa226d53a72d3a3d28", "score": "0.67911977", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n //inflater.inflate(R.menu.home_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "580c217d5e84d7e768636b69fc9609ca", "score": "0.67757416", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.main_menu, menu);\n }", "title": "" }, { "docid": "580c217d5e84d7e768636b69fc9609ca", "score": "0.67757416", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.main_menu, menu);\n }", "title": "" }, { "docid": "b5a712665ab7d060125a9afad44d9554", "score": "0.67729294", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu)\n\t{\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.menu_main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "title": "" }, { "docid": "2145818ed7d71aa4f1f976519d0381a5", "score": "0.67673975", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\n\t\tMenuInflater inflate=getMenuInflater();\n\t\tinflate.inflate(R.menu.menu, menu);\n\t\t\n\t\t\n\t\n\t\treturn true;\n\t}", "title": "" }, { "docid": "e39652f6f97708e89bb273747717e085", "score": "0.67633307", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater=getMenuInflater();\n\t\tinflater.inflate(R.menu.main_menu, menu);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "d48e27560cc805dd42c21fcdbf95b6d9", "score": "0.67631435", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater=getMenuInflater();\n inflater.inflate(R.menu.menu_swipe_activity, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "e70abe917fe4d0a552929d81b25da559", "score": "0.6756741", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.menu, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }", "title": "" }, { "docid": "9e8d490af5f579bb2cf9a26e01a64612", "score": "0.67540455", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.fruit_info_screen, menu);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "0c16ef8f6e725595a816b7d384ebb81c", "score": "0.6747087", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.fav_menu, menu);\n\n }", "title": "" }, { "docid": "aba9d941e02abb6f260e83b3aa1543f2", "score": "0.6746766", "text": "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\r\n\t\tinflater.inflate(R.menu.menu, menu);\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "f17d5c94a5450eef6a504fa05d35ef60", "score": "0.67448103", "text": "public void createMenuBar() {\n\t\tfinal IMenuManager menuManager = getViewSite().getActionBars().getMenuManager();\n\t\tmenuManager.add(new AddFolderAction(this));\n\t\tmenuManager.add(new AddCategoryAction(this));\n\t\tmenuManager.add(new Separator());\n\t\tmenuManager.add(new RenameElementAction(this));\n\t\tmenuManager.add(new Separator());\n\t\tmenuManager.add(new CopyTreeComponentAction(this,clipboard));\n\t\tmenuManager.add(new CutTreeComponentAction(this,clipboard));\n\t\tmenuManager.add(new PasteTreeComponentAction(this,clipboard));\n\t\tmenuManager.add(new RemoveElementAction(this));\n\t\tmenuManager.add(new Separator());\n\t\tmenuManager.add(new UpdateViewAction(this));\n\t\tmenuManager.add(new CollapseAllAction(this));\n\t}", "title": "" }, { "docid": "d6a3951f27e73f5f9b7bc97ccbd7f647", "score": "0.67441195", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main, menu);//Menu Resource, Menu\n return true;\n }", "title": "" }, { "docid": "d6a3951f27e73f5f9b7bc97ccbd7f647", "score": "0.67441195", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main, menu);//Menu Resource, Menu\n return true;\n }", "title": "" }, { "docid": "7677b80d26a474626fe92ea78f0230b7", "score": "0.6742634", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater=getMenuInflater();\n inflater.inflate(R.menu.fresh_menu, menu);\n return true;\n }", "title": "" }, { "docid": "18db5c4fb6cdaffbbce743c847478e55", "score": "0.67320824", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n\t}", "title": "" }, { "docid": "5fa9c9b92e22f3003ee92b43a421f38e", "score": "0.67315704", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t inflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "title": "" }, { "docid": "7beece16a3151963d6658b28e9b28066", "score": "0.6722708", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "7beece16a3151963d6658b28e9b28066", "score": "0.6722708", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "27fd72537e22e444e0e735fb22cebd45", "score": "0.6721104", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.ui, menu);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "70cf5cfa728c4168bad2a370e23963d2", "score": "0.671683", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(toolbar_res, menu);\n return true;\n }", "title": "" }, { "docid": "d1350753f720bf800767ed5f411d29b5", "score": "0.6716226", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu)\n\t{\n\t\tgetMenuInflater().inflate(R.menu.main_activity_actions, menu);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "fbfe5f7fb9486d8fc056ff922706085e", "score": "0.67046547", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "title": "" }, { "docid": "c95cdb5843c5dd6f863bce9f47539159", "score": "0.67028844", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.actualite_menu, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }", "title": "" }, { "docid": "90b147d6905fe9d27d67d16cf18bcd76", "score": "0.67007804", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.menu_main, menu);\n }", "title": "" }, { "docid": "fbe7a9725684068a6d180e2ee9f9dab5", "score": "0.66996926", "text": "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\r\n\t\t// generates a Menu from a menu resource file\r\n\t\t// R.menu.main_menu represents the ID of the XML resource file\r\n\t\tinflater.inflate(R.menu.menu, menu);\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "7f0b2226645babc37a0eb99ebab02231", "score": "0.66968", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.appbar, menu);\n return true;\n }", "title": "" }, { "docid": "73348ae1c8922e66029358dab9fe4521", "score": "0.66956097", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.menu_item, menu);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "f0e79b08257047bf78d6f24887ae1e09", "score": "0.6687424", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n\n\n }", "title": "" }, { "docid": "58b51e90d6d0a69b04c4cd210f2e31b4", "score": "0.6686849", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_main, menu);//Menu Resource, Menu\n return true;\n }", "title": "" }, { "docid": "58b51e90d6d0a69b04c4cd210f2e31b4", "score": "0.6686849", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_main, menu);//Menu Resource, Menu\n return true;\n }", "title": "" }, { "docid": "06641df4f9ea4023d2982804e61981e8", "score": "0.6684465", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater menuInflater = getMenuInflater();\n menuInflater.inflate(R.menu.menu, menu);\n\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "76e905c2f87712b24ccf01a0ef716f48", "score": "0.6684322", "text": "@Override\r\n public boolean onCreateOptionsMenu (Menu menu) {\n getMenuInflater().inflate(R.menu.menu_main, menu);//Menu Resource, Menu\r\n return true;\r\n }", "title": "" }, { "docid": "26adc1e57fcbad7bb2a5b6a7d57e2864", "score": "0.6683896", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) { Inflate the menu; this adds items to the action bar if it is present.\n //\n \t/*\n \t * Commenting this out for now, we will need to redo the design a bit if we want this as a menu.\n \t * I will look into a more efficient way of inflating this. Go ahead and just ignore it for now.\n \t */\n \t//getMenuInflater().inflate(R.menu.menu_add_account, menu);\n \t//\n return true;\n }", "title": "" }, { "docid": "8e732469588d275fa857dc91f372941f", "score": "0.66810954", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.actionbar_main, menu);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "dbfd8935cbffea8648348d87a8abf82f", "score": "0.66810197", "text": "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.activity_category, menu);\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "d918dec9691f9389b1e1791fd22adcd7", "score": "0.66768193", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.action_bar_menu, menu);\n return true;\n }", "title": "" }, { "docid": "e1e1ba6e055593cb2a3e7bf612d2aad0", "score": "0.6672487", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n /* Use the inflater's inflate method to inflate our menu layout to this menu */\n inflater.inflate(R.menu.main, menu);\n /* Return true so that the menu is displayed in the Toolbar */\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "6cc5da99a32692d41c31cc394b4bd681", "score": "0.6668993", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.actionbar, menu);\n return true;\n }", "title": "" }, { "docid": "2ee04141f25c0b7dd4efe16fbb659b60", "score": "0.6667957", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.home_menu, menu);//Menu Resource, Menu\n return true;\n }", "title": "" }, { "docid": "32f2b30ca557c3111fa2321cd444c8af", "score": "0.66654456", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.menu_main, menu);\n\n }", "title": "" }, { "docid": "9e90ee9aba69fb886ba0bf4523a44895", "score": "0.6660878", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n }", "title": "" }, { "docid": "48413b5f18107af04ec85f86b8721d4f", "score": "0.66592425", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\n super.onCreateOptionsMenu(menu, inflater);\n\n }", "title": "" }, { "docid": "40921ff7517ee4a054ac2f20be84a0c0", "score": "0.6658687", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n Global.mainActivity.getMenuInflater().inflate(R.menu.main, menu);\n return true;\n }", "title": "" }, { "docid": "834f6c62845d947459df685b80dd2f2d", "score": "0.6656569", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n }", "title": "" }, { "docid": "834f6c62845d947459df685b80dd2f2d", "score": "0.6656569", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n }", "title": "" }, { "docid": "834f6c62845d947459df685b80dd2f2d", "score": "0.6656569", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n }", "title": "" }, { "docid": "0d4e3aebc4bc5b0c75ee39f00b08e241", "score": "0.66552025", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tif (loggedIn) {\n\t\t\tinflater.inflate(R.menu.lookup_and_add, menu);\n\t\t}\n\t\telse {\n\t\t\tinflater.inflate(R.menu.lookup_and_add_logged_out, menu);\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "d3e1bf0e096ddb62754e800cc4637ec6", "score": "0.66519684", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.activity, menu);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "e6c72ec1b9f32acf0bc40939d970b5e4", "score": "0.66518205", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(edu.dtcc.emailman.cis282listview2.R.menu.menu_main, menu);\n return true;\n }", "title": "" }, { "docid": "4e83c010b9ba4867da4305f1c4f84972", "score": "0.6649783", "text": "@Override\n \t public boolean onCreateOptionsMenu(Menu menu)\n \t {\n \t MenuInflater menuInflater = getMenuInflater();\n \t menuInflater.inflate(R.menu.menu, menu);\n \t return true;\n \t }", "title": "" }, { "docid": "da6b64de551c39fb51c3a659ceaa75de", "score": "0.6645256", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.item_info, menu);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "a02cea8b5ad3fe19952c84bf67d82321", "score": "0.66435415", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.menu_activity_add, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }", "title": "" }, { "docid": "1a453c762ad4f106f8bafd6d4bdcea54", "score": "0.6643267", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.news_mapper, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "54819dae6818a8473fc7ab2591c860f7", "score": "0.66423064", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.init, menu);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "6d04a556b823264a818c7c9872de2e24", "score": "0.6638675", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "78b2c983f4a6c6fb0bff3fe0acaa6022", "score": "0.66377574", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n //MenuInflater inflater = getMenuInflater();\n //inflater.inflate(R.menu, menu);\n return true;\n }", "title": "" }, { "docid": "4a1dcc16de80916124a40ec94a438a14", "score": "0.663648", "text": "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.add_wishlist, menu);\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "d8ce15c753b2f57bb1cc72425602ea9f", "score": "0.6635695", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_appbar, menu);\n return true;\n }", "title": "" }, { "docid": "896f040bae68c8182568c18af9f1b080", "score": "0.663475", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "896f040bae68c8182568c18af9f1b080", "score": "0.663475", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "896f040bae68c8182568c18af9f1b080", "score": "0.663475", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "e13e923456c6b1976e6aaf1a14465816", "score": "0.6634654", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_main, menu);\n //setupActionBar();\n return true;\n }", "title": "" }, { "docid": "969171cc029ab290016039a5f224aa9a", "score": "0.6633029", "text": "@Override\r\n\tpublic boolean onCreateOptionsMenu(android.view.Menu menu) {\n\t\t\t\tsuper.onCreateOptionsMenu(menu);\r\n\t\t\t\tLog.i(\"state\", \"menu button was pushed\");\t\t\t\t\t\t\t\t//============logging=============\r\n\t\t\t\tMenuInflater blowUp = getMenuInflater();\r\n\t\t\t\tblowUp.inflate(R.menu.cool_menu, menu);\r\n\t\t\t\treturn true;\r\n\r\n\t\t\r\n\t\r\n\t}", "title": "" }, { "docid": "b09ea401caa9218ecee525659a3c546f", "score": "0.66324735", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.movielistfragment, menu);\n }", "title": "" }, { "docid": "45442c87d381deee3a66e950c314c3b6", "score": "0.6632311", "text": "@Override\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.main, menu);\n \t\treturn true;\n \t}", "title": "" }, { "docid": "af338d435cb5615924a1f8fbc74396a3", "score": "0.6631079", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.menu_base, menu);\n\t\tthis.menu = menu;\n//\t\tmenu.findItem(R.id.action_create).setActionProvider(new MyActionProvider(this));\n\t\t\n\t\t\n\t\treturn true;\n\t}", "title": "" }, { "docid": "257f720bbceb69df12a7cafe14f0f300", "score": "0.6630926", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.m1, menu);//Menu Resource, Menu\n return true;\n }", "title": "" }, { "docid": "86437b2cf081aea9adcb7a4b44938b29", "score": "0.66299045", "text": "@Override\r\n\t public boolean onCreateOptionsMenu(Menu menu) {\n\t \tMenuInflater menuInflater = getMenuInflater();\r\n\t \tmenuInflater.inflate(R.menu.activity_main, menu);\r\n\t \treturn true;\r\n\t }", "title": "" }, { "docid": "ccde3a4c4e24ff63bc4fd7be953efc4a", "score": "0.6629136", "text": "@Override\n\tpublic void onCreateOptionsMenu(Menu menu,MenuInflater inflater) {\n\t\tgetActivity().getMenuInflater().inflate(R.menu.main, menu);\n\t\t\n\t}", "title": "" }, { "docid": "6161f5f4b5cee49bea196c1e40e8d77f", "score": "0.66271466", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu)\n\t{\n\t\tgetMenuInflater().inflate(R.menu.main_menu, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "title": "" }, { "docid": "277058fcbb6c657f51a16add64c659d8", "score": "0.6626683", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "277058fcbb6c657f51a16add64c659d8", "score": "0.6626683", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "c99b09ab9f8053599448ec9542394560", "score": "0.6623158", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n \n menu.clear();\n \n if( User.getInstance().checkedIn() )\n {\n menu.add(0,0,ACTION_CHECK_OUT,getString(R.string.check_out))\n .setIcon( R.drawable.door)\n .setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS);\n\n menu.add(0,0,ACTION_REFRESH,getString(R.string.refresh))\n .setIcon( R.drawable.ic_action_refresh)\n .setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS);\n }\n }", "title": "" } ]
add2fb9ca20b69d811c265ae973835c3
Gets the value of the 'strategyId' field.
[ { "docid": "31efb208e07e6a79557124aae0c55d86", "score": "0.8245345", "text": "public java.lang.Integer getStrategyId() {\n return strategyId;\n }", "title": "" } ]
[ { "docid": "a18b87dee95fb12141dadb5caed1dab2", "score": "0.82853687", "text": "public java.lang.Integer getStrategyId() {\n return strategyId;\n }", "title": "" }, { "docid": "0f0149c7b80f4b62a90f3af641c272a1", "score": "0.6958228", "text": "public int getStrategy(){\n\t\treturn this.strategy;\n\t}", "title": "" }, { "docid": "3f696576fb3ebf270c2c4f28d627a6fe", "score": "0.62021905", "text": "public com.kafang.atgo.memory.avro.record.Order setStrategyId(java.lang.Integer value) {\n this.strategyId = value;\n\treturn this;\n }", "title": "" }, { "docid": "c223bf66b6ee6e597e176b8f4c75d277", "score": "0.60554904", "text": "public Strategy getStrategy() {\n\t\treturn this.strategy;\n\t}", "title": "" }, { "docid": "c5e6d0ed09b802850c32e6b30943229c", "score": "0.5995946", "text": "public boolean hasStrategyId() {\n return fieldSetFlags()[4];\n }", "title": "" }, { "docid": "4d3a1e36cc6af7aaf8e324b903f93316", "score": "0.5992627", "text": "public String getStrategyName() {\n\t\treturn strategyName;\n\t}", "title": "" }, { "docid": "22465cde04dd172a85e4d84b4c4b5a64", "score": "0.5907101", "text": "public Integer getId() {\r\n return id.get();\r\n }", "title": "" }, { "docid": "959971c5208fb8bf74a40a68394ad5b5", "score": "0.5905549", "text": "public int getId() {\n return id.get();\n }", "title": "" }, { "docid": "76665386870ee6004532b0127abb09fa", "score": "0.58801967", "text": "public long getPreferenceId() {\n return preferenceId;\n }", "title": "" }, { "docid": "518840edc05bf8e7f9af92382ef7ca80", "score": "0.5849309", "text": "public com.kafang.atgo.memory.avro.record.Order.Builder setStrategyId(int value) {\n validate(fields()[4], value);\n this.strategyId = value;\n fieldSetFlags()[4] = true;\n return this;\n }", "title": "" }, { "docid": "46d46cb6a51352a721a0dcd9bbff1a1d", "score": "0.58276", "text": "public String getId() {\n\t\treturn this.<String> get(\"id\");\n\t}", "title": "" }, { "docid": "81971f4f66a8538487aabb375f2cae3c", "score": "0.5782196", "text": "public Integer getsId() {\n return sId;\n }", "title": "" }, { "docid": "c6aeb3a8c2e3eb45c64d65ef35a06168", "score": "0.5761537", "text": "java.lang.String getDealerId();", "title": "" }, { "docid": "c6aeb3a8c2e3eb45c64d65ef35a06168", "score": "0.5761537", "text": "java.lang.String getDealerId();", "title": "" }, { "docid": "c6aeb3a8c2e3eb45c64d65ef35a06168", "score": "0.5761537", "text": "java.lang.String getDealerId();", "title": "" }, { "docid": "b0c57794ea87e6277e4e44c65bef7602", "score": "0.57428664", "text": "public IStrategy getStrategy(){\r\n\t\treturn this.strategy;\r\n\t}", "title": "" }, { "docid": "c13d0436659265914b25d7a07aa3e4b8", "score": "0.57207084", "text": "@Nullable\n public final Integer getId() {\n return this.id;\n }", "title": "" }, { "docid": "c13d0436659265914b25d7a07aa3e4b8", "score": "0.57207084", "text": "@Nullable\n public final Integer getId() {\n return this.id;\n }", "title": "" }, { "docid": "ed12149b5167a0228ebef56fc0c14e9c", "score": "0.570774", "text": "public int getId() {\n\t\treturn (this.id_);\n\t}", "title": "" }, { "docid": "72e17a04b14a2138c4ead5ca343672aa", "score": "0.56954557", "text": "public String getBidStrategyName() {\n return BidStrategyName;\n }", "title": "" }, { "docid": "cc34e36bade2c19eb199ec9a11a416ba", "score": "0.56778395", "text": "public String getsId() {\n return sId;\n }", "title": "" }, { "docid": "b05e9db1ce4170ea52046b6149f8b416", "score": "0.566781", "text": "int getIdValue() {\n\t\treturn this.idValue;\n\t}", "title": "" }, { "docid": "89e943303769625b907ce8a397eac2ff", "score": "0.56354505", "text": "public int getAlgorithmId() {\n return algorithmId;\n }", "title": "" }, { "docid": "5239b827100fc764ddc9b8c44f0a2dd5", "score": "0.5616171", "text": "public long getGameId() {\n return gameId_;\n }", "title": "" }, { "docid": "5239b827100fc764ddc9b8c44f0a2dd5", "score": "0.5613946", "text": "public long getGameId() {\n return gameId_;\n }", "title": "" }, { "docid": "4e03b757107005647aee86b50419d0a2", "score": "0.56092423", "text": "public String getBetId() {\n\t\treturn betId;\n\t}", "title": "" }, { "docid": "174fcb256db0441009165d61cc3e96ff", "score": "0.5608255", "text": "@Transient\n @Override\n public Integer getId()\n {\n return this.agentId;\n }", "title": "" }, { "docid": "7c322f8549cb9e1265b06120e4c09935", "score": "0.55989736", "text": "java.lang.String getDriverId();", "title": "" }, { "docid": "7c322f8549cb9e1265b06120e4c09935", "score": "0.55989736", "text": "java.lang.String getDriverId();", "title": "" }, { "docid": "a07613c0ff9feafa9968ace9918b5b53", "score": "0.55875707", "text": "public String getPolicyId() {\n return policyId;\n }", "title": "" }, { "docid": "2c598bcd16c63fed1d37a64f3d492e4e", "score": "0.5575618", "text": "public long getGameId() {\n return gameId_;\n }", "title": "" }, { "docid": "2c598bcd16c63fed1d37a64f3d492e4e", "score": "0.5575618", "text": "public long getGameId() {\n return gameId_;\n }", "title": "" }, { "docid": "54f77bbd2e6f258061d22144f90ba939", "score": "0.5569365", "text": "public final String getId()\n\t{\n\t\treturn _myId;\n\t}", "title": "" }, { "docid": "812500053cc71fcf3b584d8e852c54fb", "score": "0.5559027", "text": "public Integer getAdId() {\n return adId;\n }", "title": "" }, { "docid": "812500053cc71fcf3b584d8e852c54fb", "score": "0.5559027", "text": "public Integer getAdId() {\n return adId;\n }", "title": "" }, { "docid": "a8d18109fa14fde83fb927a6f20c8678", "score": "0.5558139", "text": "public String getStrategyName() {\n\t\treturn playerStrategy.getStrategyName();\n\t}", "title": "" }, { "docid": "0d4f70c13db86270aeaab6626304793e", "score": "0.55407774", "text": "public java.lang.String getDealerId() {\n java.lang.Object ref = dealerId_;\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 dealerId_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "0d4f70c13db86270aeaab6626304793e", "score": "0.55407774", "text": "public java.lang.String getDealerId() {\n java.lang.Object ref = dealerId_;\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 dealerId_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "0d4f70c13db86270aeaab6626304793e", "score": "0.55407774", "text": "public java.lang.String getDealerId() {\n java.lang.Object ref = dealerId_;\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 dealerId_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "127571426952ca4beac3468bd5175505", "score": "0.55364156", "text": "public Integer getId() { return this.id.get(); }", "title": "" }, { "docid": "5c78b78c92faa61c17e3cb4855622000", "score": "0.5527553", "text": "public int getConfigId() {\n\t\treturn configId;\n\t}", "title": "" }, { "docid": "d7894ab6ccdf9a631b900541ade4b86b", "score": "0.55211264", "text": "public String getId() {\n this.initialize();\n return id;\n }", "title": "" }, { "docid": "a04500e9fe5fea442cb101e13ca1a9c6", "score": "0.5513401", "text": "public long getId() {\n return id_;\n }", "title": "" }, { "docid": "a04500e9fe5fea442cb101e13ca1a9c6", "score": "0.5513401", "text": "public long getId() {\n return id_;\n }", "title": "" }, { "docid": "a04500e9fe5fea442cb101e13ca1a9c6", "score": "0.5513401", "text": "public long getId() {\n return id_;\n }", "title": "" }, { "docid": "a04500e9fe5fea442cb101e13ca1a9c6", "score": "0.5513401", "text": "public long getId() {\n return id_;\n }", "title": "" }, { "docid": "a04500e9fe5fea442cb101e13ca1a9c6", "score": "0.5513401", "text": "public long getId() {\n return id_;\n }", "title": "" }, { "docid": "5c0a7c59a938ab9a3b99a0acfcbcfa68", "score": "0.5510951", "text": "public String getId() {\r\n return Integer.toString(id);\r\n }", "title": "" }, { "docid": "585eadd0c3762ebb08ab605d259451c9", "score": "0.5510189", "text": "public Long getAdId() {\n\t\treturn adId;\n\t}", "title": "" }, { "docid": "46f579fe816551750561a906f6c450c9", "score": "0.55068326", "text": "public String getId() {\n return id.toString();\n }", "title": "" }, { "docid": "dc99dfb13bfa5a149c0521c3b19107a0", "score": "0.5506166", "text": "public final String getId()\r\n\t{\r\n\t\treturn id;\r\n\t}", "title": "" }, { "docid": "851e4fc341e21116467c6f9706466ed8", "score": "0.55054843", "text": "public String getConfigId() {\n return configId;\n }", "title": "" }, { "docid": "851e4fc341e21116467c6f9706466ed8", "score": "0.55054843", "text": "public String getConfigId() {\n return configId;\n }", "title": "" }, { "docid": "b9a089424a4677e6fa4e5a8819315119", "score": "0.5503608", "text": "public int getId() {\n return id_;\n }", "title": "" }, { "docid": "b9a089424a4677e6fa4e5a8819315119", "score": "0.5503608", "text": "public int getId() {\n return id_;\n }", "title": "" }, { "docid": "b9a089424a4677e6fa4e5a8819315119", "score": "0.5503608", "text": "public int getId() {\n return id_;\n }", "title": "" }, { "docid": "b9a089424a4677e6fa4e5a8819315119", "score": "0.5503608", "text": "public int getId() {\n return id_;\n }", "title": "" }, { "docid": "b9a089424a4677e6fa4e5a8819315119", "score": "0.5503608", "text": "public int getId() {\n return id_;\n }", "title": "" }, { "docid": "b9a089424a4677e6fa4e5a8819315119", "score": "0.5503608", "text": "public int getId() {\n return id_;\n }", "title": "" }, { "docid": "b9a089424a4677e6fa4e5a8819315119", "score": "0.5503608", "text": "public int getId() {\n return id_;\n }", "title": "" }, { "docid": "b9a089424a4677e6fa4e5a8819315119", "score": "0.5503608", "text": "public int getId() {\n return id_;\n }", "title": "" }, { "docid": "b9a089424a4677e6fa4e5a8819315119", "score": "0.5503608", "text": "public int getId() {\n return id_;\n }", "title": "" }, { "docid": "b9a089424a4677e6fa4e5a8819315119", "score": "0.5503608", "text": "public int getId() {\n return id_;\n }", "title": "" }, { "docid": "b9a089424a4677e6fa4e5a8819315119", "score": "0.5503608", "text": "public int getId() {\n return id_;\n }", "title": "" }, { "docid": "b9a089424a4677e6fa4e5a8819315119", "score": "0.5503608", "text": "public int getId() {\n return id_;\n }", "title": "" }, { "docid": "b9a089424a4677e6fa4e5a8819315119", "score": "0.5503608", "text": "public int getId() {\n return id_;\n }", "title": "" }, { "docid": "b9a089424a4677e6fa4e5a8819315119", "score": "0.5503608", "text": "public int getId() {\n return id_;\n }", "title": "" }, { "docid": "b9a089424a4677e6fa4e5a8819315119", "score": "0.5503608", "text": "public int getId() {\n return id_;\n }", "title": "" }, { "docid": "b9a089424a4677e6fa4e5a8819315119", "score": "0.5503608", "text": "public int getId() {\n return id_;\n }", "title": "" }, { "docid": "b9a089424a4677e6fa4e5a8819315119", "score": "0.5503608", "text": "public int getId() {\n return id_;\n }", "title": "" }, { "docid": "b9a089424a4677e6fa4e5a8819315119", "score": "0.5503608", "text": "public int getId() {\n return id_;\n }", "title": "" }, { "docid": "b9a089424a4677e6fa4e5a8819315119", "score": "0.5503608", "text": "public int getId() {\n return id_;\n }", "title": "" }, { "docid": "b9a089424a4677e6fa4e5a8819315119", "score": "0.55035335", "text": "public int getId() {\n return id_;\n }", "title": "" }, { "docid": "eac747c2133f7a397064d73f83245d34", "score": "0.55027395", "text": "@Override\r\n\tpublic String getId() {\n\t\treturn adUserId;\r\n\t}", "title": "" }, { "docid": "e9ce1e31e82da59581c819a985d010fa", "score": "0.54978985", "text": "public int getValue() {\r\n return this.identifier;\r\n }", "title": "" }, { "docid": "9e1e0733e10532733929bd8482a20de9", "score": "0.54966044", "text": "public int getClientId() {\n\t\treturn id.intValue();\n\t}", "title": "" }, { "docid": "9224255c73f38aaa89691a03569c4aa9", "score": "0.54957175", "text": "public long getId() {\n\t\treturn _id;\n\t}", "title": "" }, { "docid": "f0a09b7db74be985309f2dc5254e314a", "score": "0.5494886", "text": "public String getId() {\r\n\t\treturn mId;\r\n\t}", "title": "" }, { "docid": "1dfcf1bd98a8661a782d387e0a2893fc", "score": "0.5494748", "text": "public long getId() {\n return id_;\n }", "title": "" }, { "docid": "1dfcf1bd98a8661a782d387e0a2893fc", "score": "0.5494748", "text": "public long getId() {\n return id_;\n }", "title": "" }, { "docid": "1dfcf1bd98a8661a782d387e0a2893fc", "score": "0.5494748", "text": "public long getId() {\n return id_;\n }", "title": "" }, { "docid": "1dfcf1bd98a8661a782d387e0a2893fc", "score": "0.5494748", "text": "public long getId() {\n return id_;\n }", "title": "" }, { "docid": "1dfcf1bd98a8661a782d387e0a2893fc", "score": "0.5494748", "text": "public long getId() {\n return id_;\n }", "title": "" }, { "docid": "1dfcf1bd98a8661a782d387e0a2893fc", "score": "0.5494748", "text": "public long getId() {\n return id_;\n }", "title": "" }, { "docid": "3063e625bbab274731dabde55a4d9722", "score": "0.54871905", "text": "public Integer getId() {\n\t\treturn this.id;\n\t}", "title": "" }, { "docid": "3063e625bbab274731dabde55a4d9722", "score": "0.54871905", "text": "public Integer getId() {\n\t\treturn this.id;\n\t}", "title": "" }, { "docid": "3063e625bbab274731dabde55a4d9722", "score": "0.54871905", "text": "public Integer getId() {\n\t\treturn this.id;\n\t}", "title": "" }, { "docid": "3063e625bbab274731dabde55a4d9722", "score": "0.54871905", "text": "public Integer getId() {\n\t\treturn this.id;\n\t}", "title": "" }, { "docid": "f4c5664d96090e63acb52b54e6eb880f", "score": "0.548673", "text": "public Integer getServiceId() {\n return serviceId;\n }", "title": "" }, { "docid": "afff3394baa6a556edf5b109e080f64d", "score": "0.5484377", "text": "public final Long getId() {\n return id;\n }", "title": "" }, { "docid": "d71fea174ed0faa1b9d090609e9113a0", "score": "0.5482833", "text": "public long getId() {\n\t\treturn this.id;\n\t}", "title": "" }, { "docid": "702b2957d36714ec3b8abb22331f46ac", "score": "0.54819405", "text": "public final Long getId() {\r\n return id;\r\n }", "title": "" }, { "docid": "0d7ca7a9757fae18677cdbdaf4a2994c", "score": "0.54814243", "text": "public Integer getId() {\n return (Integer) get(0);\n }", "title": "" }, { "docid": "d8c1c01433b26eef10853516612537c8", "score": "0.5477777", "text": "public final String getId() {\t\r\n\t\treturn id;\r\n\t}", "title": "" }, { "docid": "65975fdf93b76a0aae0c5e5582323012", "score": "0.54733086", "text": "public PlayerStrategy getStrategyType() {\r\n return strategyType;\r\n }", "title": "" }, { "docid": "2996d1737cb4c0e507513c30ce5b7274", "score": "0.5470489", "text": "public int getId() {\n return id_;\n }", "title": "" }, { "docid": "2996d1737cb4c0e507513c30ce5b7274", "score": "0.5470489", "text": "public int getId() {\n return id_;\n }", "title": "" }, { "docid": "2996d1737cb4c0e507513c30ce5b7274", "score": "0.5470489", "text": "public int getId() {\n return id_;\n }", "title": "" }, { "docid": "2996d1737cb4c0e507513c30ce5b7274", "score": "0.5470489", "text": "public int getId() {\n return id_;\n }", "title": "" }, { "docid": "2996d1737cb4c0e507513c30ce5b7274", "score": "0.5470489", "text": "public int getId() {\n return id_;\n }", "title": "" } ]
0104671e64be214c70278fa36f81f8f4
Triggered by the Alarm at midnight
[ { "docid": "f593522be208e369a676249221055660", "score": "0.0", "text": "public void onReceive(Context context, Intent intent){\r\n\r\n // Get parameters from Broadcast Intent\r\n int mood = intent.getIntExtra(\"DailyMood\", 3);\r\n String commentary = intent.getStringExtra(\"DailyCommentary\");\r\n\r\n // Create an Intent for service with Broadcast Intent Parameters\r\n Intent i = new Intent(context, AutoSaveService.class);\r\n i.putExtra(\"DailyMood\", mood);\r\n i.putExtra(\"DailyCommentary\", commentary);\r\n context.startService(i);\r\n }", "title": "" } ]
[ { "docid": "9a03a5cf1f420aaac9dd52fd52daed9e", "score": "0.7318748", "text": "@TargetApi(24)\n/*public void setTime(int hourOfDay,int minute)\n{\n\n Calendar calendar = Calendar.getInstance();\n calendar.set(java.util.Calendar.HOUR_OF_DAY, hourOfDay);\n calendar.set(java.util.Calendar.MINUTE, minute);\n calendar.set(java.util.Calendar.SECOND, 00);\n Intent intent=new Intent(getApplicationContext(),DailyNotification.class);\n PendingIntent pendingIntent= PendingIntent.getBroadcast(\n getApplicationContext(), 100,intent,\n PendingIntent.FLAG_UPDATE_CURRENT);\n AlarmManager alarmManager=(AlarmManager)getSystemService(ALARM_SERVICE);\n alarmManager.setRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), AlarmManager.INTERVAL_DAY, pendingIntent);\n}*/\n @Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_reminder, menu);\n return true;\n }", "title": "" }, { "docid": "3a6f7c8d6b89d243063555444deaf2a7", "score": "0.7268456", "text": "public void setAlarm() {\n Intent intent = new Intent(context, AlarmReceiver.class);\n PendingIntent receivedIntent =\n PendingIntent.getBroadcast(context, 0, intent, PendingIntent.FLAG_CANCEL_CURRENT);\n AlarmManager alarms = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);\n alarms.setInexactRepeating(AlarmManager.ELAPSED_REALTIME_WAKEUP, 0,\n AlarmManager.INTERVAL_HALF_HOUR, receivedIntent);\n }", "title": "" }, { "docid": "a57ec3ff25c02fd78a38fd117a6862c4", "score": "0.7216752", "text": "public void scheduleAlarm() {\n // Construye un intent que va a ejecutar el AlarmReceiver\n Intent intent = new Intent(getApplicationContext(), MyAlarmReceiver.class);\n // Crea un PendigIntent para ser disparado cuando la alarma se apaga\n final PendingIntent pIntent = PendingIntent.getBroadcast(this, MyAlarmReceiver.REQUEST_CODE,\n intent, PendingIntent.FLAG_UPDATE_CURRENT);\n // Prepara una alarma periodica cada 5 segundos\n long firstMillis = System.currentTimeMillis(); // la alarma se establece de inmediato\n AlarmManager alarm = (AlarmManager) this.getSystemService(Context.ALARM_SERVICE);\n // El primer parametro es del tipo: ELAPSED_REALTIME, ELAPSED_REALTIME_WAKEUP, RTC_WAKEUP\n // El intervalo puede ser INTERVAL_FIFTEEN_MINUTES, INTERVAL_HALF_HOUR, INTERVAL_HOUR, INTERVAL_DAY\n alarm.setInexactRepeating(AlarmManager.RTC_WAKEUP, firstMillis,\n AlarmManager.INTERVAL_FIFTEEN_MINUTES, pIntent);\n }", "title": "" }, { "docid": "1e3c08e891e1a20933ed64ed34819105", "score": "0.7211657", "text": "protected abstract void executeAlarm();", "title": "" }, { "docid": "ad30572ae1e069919e36c4a883ff3f18", "score": "0.7151021", "text": "private void scheduleAlarm(){\n \tLong time = new GregorianCalendar().getTimeInMillis();\n \t\n \tLong interval = (long) (30*24*60*60*1000);\n \tIntent intentAlarm = new Intent(this, AlarmReciever.class);\n \t\n \tAlarmManager alarmManager = (AlarmManager) getSystemService(Context.ALARM_SERVICE);\n \t\n \t\n \talarmManager.setInexactRepeating(AlarmManager.RTC_WAKEUP, interval, interval, PendingIntent.getBroadcast(this,1, intentAlarm, PendingIntent.FLAG_UPDATE_CURRENT));\n// \talarmManager.set(AlarmManager.RTC_WAKEUP,time, PendingIntent.getBroadcast(this,1, intentAlarm, PendingIntent.FLAG_UPDATE_CURRENT));\n \tLog.e(\"alarm debug\", \"Zakazao alarm\");\n }", "title": "" }, { "docid": "e5e05a58aa8799906132cfdcfa38d663", "score": "0.71421725", "text": "public void startAlarm(){\n\t AlarmManager am = (AlarmManager)context.getSystemService(Context.ALARM_SERVICE);\n\t Calendar cal=Calendar.getInstance();\n\t cal.set(Calendar.HOUR_OF_DAY, 18);\n\t cal.set(Calendar.MINUTE,0);\n\t cal.set(Calendar.SECOND, 0);\n\t cal.set(Calendar.MILLISECOND, 0);\n\t // long firstTime = c.getTimeInMillis();\n\t am.setRepeating(AlarmManager.RTC_WAKEUP,cal.getTimeInMillis(), 5*1000,mAlarmSender);\n\t // am.setInexactRepeating(AlarmManager.RTC_WAKEUP, firstTime, 5, mAlarmSender);\n\t // am.set(AlarmManager.RTC_WAKEUP, firstTime, mAlarmSender);\n\t // am.setRepeating(AlarmManager.ELAPSED_REALTIME_WAKEUP, 5 * 60 * 1000, 5 * 60 * 1000, mAlarmSender);\n\t \n\t }", "title": "" }, { "docid": "3a5f78663a45d12067ac07df5ccb33e1", "score": "0.6982698", "text": "private void registerNotificationTime1() {\n Calendar calendar1 = Calendar.getInstance();\n calendar1.set(Calendar.HOUR_OF_DAY, 6);\n Intent intent1 = new Intent(getApplicationContext(), AlarmReceiver.class);\n PendingIntent pendingIntent1 = PendingIntent.getBroadcast(this, 100, intent1, PendingIntent.FLAG_ONE_SHOT);\n AlarmManager am = (AlarmManager) this.getSystemService(this.ALARM_SERVICE);\n am.setRepeating(AlarmManager.RTC_WAKEUP, calendar1.getTimeInMillis(), AlarmManager.INTERVAL_DAY, pendingIntent1);\n }", "title": "" }, { "docid": "2e96818ac5e7f02df556cbcd98bb7988", "score": "0.69417876", "text": "AlarmService alarms();", "title": "" }, { "docid": "07b9a7ab136eee32fa586512a671c0f0", "score": "0.69106704", "text": "private void setAlarm() {\n\t Calendar cal = Calendar.getInstance();\n\t cal.add(Calendar.SECOND, 5);\n\t\n\t //Create a new PendingIntent and add it to the AlarmManager\n\t Intent intent = new Intent(this, AlarmReceiverActivity.class);\n\t PendingIntent pendingIntent = PendingIntent.getActivity(this,\n\t 12345, intent, PendingIntent.FLAG_CANCEL_CURRENT);\n\t AlarmManager am =\n\t (AlarmManager)getSystemService(Activity.ALARM_SERVICE);\n\t am.set(AlarmManager.RTC_WAKEUP, cal.getTimeInMillis(),\n\t pendingIntent);\n\t}", "title": "" }, { "docid": "08a607fcaafaa3d26a78d649b05ea6fa", "score": "0.6839939", "text": "@Override\n public void onClick(View v) {\n\n Calendar calendar = Calendar.getInstance();\n calendar.set(Calendar.HOUR_OF_DAY, 18); // Sends the notification at 18:00\n\n // Gets the logic for the notification from NotificationReceiver class:\n Intent intent = new Intent(getApplicationContext(), NotificationReceiver.class);\n intent.setAction(\"\");\n\n PendingIntent pendingIntent = PendingIntent.getBroadcast(getApplicationContext(),\n 100, intent, PendingIntent.FLAG_UPDATE_CURRENT);\n\n AlarmManager alarmManager = (AlarmManager) getSystemService(ALARM_SERVICE);\n alarmManager.setRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), AlarmManager.INTERVAL_DAY, pendingIntent); // Sends the notification daily\n\n Toast.makeText(getBaseContext(), \"Notifications enabled\", Toast.LENGTH_SHORT).show(); // Pop up message to show user that notifications are enabled\n }", "title": "" }, { "docid": "9c840bced4c2469495c0558abbdfd292", "score": "0.6821258", "text": "public static void registerFirstAlarm(Context context){\n\t\tCalendar cal = Calendar.getInstance();\r\n\t\t// set to 0:00 and next day...\r\n\t\tcal.add(Calendar.SECOND, 1);\r\n\t\tregisterAlarm(context, cal.getTimeInMillis());\r\n\t}", "title": "" }, { "docid": "76cc7b232a6a9a2dcab4ffaeab89d7f4", "score": "0.6807294", "text": "public void set_ontime_notification() {\n Calendar ontimecal = Calendar.getInstance();\n set_calendar(ontimecal, chosenstart_year, chosenstart_monthOfYear, chosenstart_dayOfMonth, chosenstart_hour, chosenstart_minute, 00 );\n // order is; year, month, day, hour, minute, second\n long eventTime = ontimecal.getTimeInMillis();\n\n// AlarmManager alarmManager = (AlarmManager) getSystemService(Context.ALARM_SERVICE);\n Intent intentalarm1 = new Intent(this, ReminderBroadcast.class);\n notification_intent_databuilder(intentalarm1);\n PendingIntent pendingIntent = PendingIntent.getBroadcast(EditActivity.this, 0, intentalarm1, 0);\n\n AlarmManager alarmManager = (AlarmManager) getSystemService(ALARM_SERVICE);\n\n// final long timeid = System.currentTimeMillis();\n\n alarmManager.set(AlarmManager.RTC_WAKEUP, eventTime, pendingIntent);\n }", "title": "" }, { "docid": "88986a12d27745c002f4473c31f477c5", "score": "0.6759703", "text": "public void triggerAlarm() {\r\n\t\talarmStatus.setText(AlarmStatus.ACTIVE.name());\r\n\t\talarmStatus.setFont(new Font(\"Tahoma\", Font.BOLD, 14));\r\n\t\talarmStatus.setForeground(Color.RED);\r\n\t\tacknowlAlarmButton.setEnabled(true);\r\n\t}", "title": "" }, { "docid": "71e6b219cddf1ebc825ceacab2a0b06b", "score": "0.6735357", "text": "public static void startAlarmBroadcastReceiver(Context context, int hour, int minute) {\n //An intent to go to the AlarmBroadcastReceiver class:\n Intent intent = new Intent(context, AlarmBroadcastReceiver.class);\n //A pending intent, which activates when the alarm goes off:\n PendingIntent pendingIntent = PendingIntent.getBroadcast(context, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT);\n AlarmManager alarmManager = (AlarmManager)context.getSystemService(Context.ALARM_SERVICE);\n //Cancel any possible other alarms from this app (using pendingIntent) that exist in the system.\n alarmManager.cancel(pendingIntent);\n\n //Generate a Calendar object of the current date and the specified time, by parameters hour and minute. This is when the alarm will go off.\n Calendar calendar = Calendar.getInstance();\n calendar.setTimeInMillis(System.currentTimeMillis());\n calendar.set(Calendar.HOUR_OF_DAY, hour);\n calendar.set(Calendar.MINUTE, minute);\n calendar.set(Calendar.SECOND, 0);\n\n //Set the repeating alarm (daily, at the specified time):\n alarmManager.setInexactRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), AlarmManager.INTERVAL_DAY, pendingIntent);\n }", "title": "" }, { "docid": "fa1998658a0ed6907d7dd8cf682c444c", "score": "0.67250264", "text": "private void setUpNotifications(int currentSetting) {\n if(currentSetting == -1){\n Calendar calendar = Calendar.getInstance();\n calendar.setTimeInMillis(System.currentTimeMillis());\n calendar.set(Calendar.HOUR_OF_DAY, 10);\n calendar.set(Calendar.MINUTE, 30);\n calendar.set(Calendar.SECOND, 0);\n\n Intent alarmIntent = new Intent(this.getApplicationContext(), MyReceiver.class);\n PendingIntent pendingIntent = PendingIntent.getBroadcast(this, 0, alarmIntent, 0);\n AlarmManager alarmManager = (AlarmManager) getSystemService(Context.ALARM_SERVICE);\n alarmManager.setRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), AlarmManager.INTERVAL_DAY, pendingIntent);\n }\n }", "title": "" }, { "docid": "3e2950350d8a118f02673bd217bc0a42", "score": "0.6723625", "text": "private void setAlarm(long time) {\n AlarmManager am = (AlarmManager) getSystemService(Context.ALARM_SERVICE);\n\n //creating a new intent specifying the broadcast receiver\n Intent i = new Intent(this, MyAlarm.class);\n\n //creating a pending intent using the intent\n PendingIntent pi = PendingIntent.getBroadcast(this, 0, i, 0);\n\n //setting the repeating alarm that will be fired every day\n am.setRepeating(AlarmManager.RTC, time, AlarmManager.INTERVAL_DAY, pi);\n Toast.makeText(this, \"Time is set\", Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "828461e7816839083d55fbe69c8693fb", "score": "0.66595984", "text": "public void scheduleClick(View view) {\n // Handle date field\n SimpleDateFormat sdf = new SimpleDateFormat(\"yyyy-MM-dd HH:mm:ss\", Locale.ENGLISH);\n String date_string = sdf.format(m_calendar.getTime());\n // Schedule alarm based on calendar\n // Calculate the time when it expires.\n Intent intent = new Intent(this, EMAAlarmReceiver.class);\n // Store ID in the Database\n intent.putExtra(\"id\", m_id);\n PendingIntent pendingIntent = PendingIntent.getBroadcast(this, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT);\n AlarmManager alarmManager = (AlarmManager) getSystemService(ALARM_SERVICE);\n alarmManager.set(AlarmManager.RTC_WAKEUP, m_calendar.getTimeInMillis(), pendingIntent);\n Log.d(\"ALARM\", \"Alarm set at \" + date_string + \" for url with id: \" + m_id);\n Log.d(\"ALARM\", \"TIME: \" + m_calendar.getTime().toString());\n Log.d(\"ALARM\", \"NOW: \" + System.currentTimeMillis() + \" Cal: \" + m_calendar.getTimeInMillis() + \" diff: \" + (m_calendar.getTimeInMillis() - System.currentTimeMillis()));\n Toast.makeText(getApplicationContext(), \"Alarm set for \" + date_string, Toast.LENGTH_SHORT).show();\n finish();\n }", "title": "" }, { "docid": "bb30df134f00861e0326d9709499aa65", "score": "0.6635224", "text": "private void notifyDemo(){\n Calendar cal = Calendar.getInstance();\n // Ask our service to set an alarm for that date,\n // this activity talks to the client that talks to the service\n// cal.add(Calendar.SECOND,5);\n// scheduleClient.getmBoundService()\n// .setNotificationString(\"According to our estimation you are now legally qualify for driving!\");\n// scheduleClient.setAlarmForNotification(cal);\n// scheduleClient.getmBoundService().setNotificationString(\"Did you suffer from a hangover? please let us know!\");\n// scheduleClient.setAlarmForNotification(cal);\n// cal.add(Calendar.SECOND,6);\n ((MenuActivity)getActivity()).createNotification(cal,\"\");\n }", "title": "" }, { "docid": "0e69a8de178121b00c4c84fb1d882acf", "score": "0.6629386", "text": "private void createRepeatingAlarm() {\n AlarmManager mAlarmManager = (AlarmManager) getSystemService(ALARM_SERVICE);\n // Set inexact repeating alarm\n\n Intent notificationReciverIntent = new Intent(this, SelfiAlarmNotificationReceiver.class);\n PendingIntent notificationPendingIntent = PendingIntent.getBroadcast(this, 0,\n notificationReciverIntent, PendingIntent.FLAG_UPDATE_CURRENT);\n\n mAlarmManager.setInexactRepeating(\n AlarmManager.ELAPSED_REALTIME,\n SystemClock.elapsedRealtime() + INITAL_ALARM_DELAY,\n ALARM_DELAY,\n notificationPendingIntent);\n\n Log.i(TAG, \"Create the Alarm at:\" + getDateStr(new Date()));\n\n }", "title": "" }, { "docid": "76393f8e05d90a1eb09df4112d4bc286", "score": "0.6615818", "text": "public void setAlarm() {\n //When editing values of the AlarmSetting, the previous alarm must be canceled, and a new one\n //must be made\n boolean temp;\n //isAlarmSet is currently returning true for everthing somehow\n // if (pendingIntent != null && (temp = isAlarmSet())) cancelAlarm();\n cancelAlarm();\n\n if (intent == null) {\n intent = new Intent(ctx, BeepReceiver.class);\n }\n //set new action to create a unique intent for this setting\n intent.setAction(\"Alarm set at \"+this.toString());\n intent.putExtra(\"snooze\", snoozeLength);\n if (pendingIntent == null) pendingIntent = PendingIntent.getBroadcast(ctx, 0, intent, 0);\n\n Calendar calendar = Calendar.getInstance();\n calendar.setTimeInMillis(System.currentTimeMillis());\n calendar.set(Calendar.HOUR_OF_DAY, hours);\n calendar.set(Calendar.MINUTE, minutes);\n //solved problem if user set a time that had already occurred today from having the receiver being instantly notified\n if((temp=(calendar.getTimeInMillis()<System.currentTimeMillis()))) calendar.add(Calendar.DATE,1);\n long offset = 24 * 60 * 60 * 1000;\n\n long time = calendar.getTimeInMillis();\n if (am == null) am = (AlarmManager) ctx.getSystemService(Context.ALARM_SERVICE);\n am.setRepeating(AlarmManager.RTC_WAKEUP, time, offset, pendingIntent);\n alarmCallSet=true;\n Toast.makeText(ctx, \"Alarm is set at: \" + toString(), Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "c5b098adf2a731289c94bba0760c881d", "score": "0.65889454", "text": "void raiseAlarm(RMCentre.AlarmData anAlarm);", "title": "" }, { "docid": "a077946b7c9c7cbe6d9f68e26557c598", "score": "0.65605116", "text": "public void set_custom_notification(int mins) {\n Calendar customtimecal = Calendar.getInstance();\n set_calendar(customtimecal, chosenstart_year, chosenstart_monthOfYear, chosenstart_dayOfMonth, chosenstart_hour, chosenstart_minute,00 );\n long eventTime = customtimecal.getTimeInMillis();\n\n long oneMinute = (long) ((AlarmManager.INTERVAL_FIFTEEN_MINUTES)/15);\n long reminderTime = eventTime - (mins*oneMinute);\n\n Intent intentalarm2 = new Intent(this, ReminderBroadcast.class);\n notification_intent_databuilder(intentalarm2);\n final int unqid = (int) System.currentTimeMillis();\n PendingIntent pendingIntent2 = PendingIntent.getBroadcast(EditActivity.this, 0, intentalarm2, 0);\n PendingIntent pendingIntent3 = PendingIntent.getBroadcast(EditActivity.this, unqid, intentalarm2, 0);\n AlarmManager alarmManager = (AlarmManager) getSystemService(ALARM_SERVICE);\n\n alarmManager.set(AlarmManager.RTC_WAKEUP, reminderTime, pendingIntent2);\n alarmManager.set(AlarmManager.RTC_WAKEUP, eventTime, pendingIntent3);\n }", "title": "" }, { "docid": "1b9167fb12c29e493217bb4d3c3e8c8b", "score": "0.65092456", "text": "public static void registerNextAlarm(Context context){\n\t\tCalendar cal = Calendar.getInstance();\r\n\t\t// set to 0:00 and next day...\t\t\r\n\t\tcal.add(Calendar.DATE, 0);\r\n\t\tcal.set(Calendar.HOUR, 12);\r\n\t\tcal.set(Calendar.MINUTE, 0);\r\n\t\tcal.set(Calendar.MILLISECOND, 0);\r\n\t\t\r\n\t\tregisterAlarm(context, cal.getTimeInMillis());\r\n\t}", "title": "" }, { "docid": "8f2626bf9004d5bcb1838bf3459ddf85", "score": "0.6508396", "text": "private void setRecurringAlarm(Context context) {\n\n Calendar updateTime = Calendar.getInstance();\n updateTime.setTimeZone(TimeZone.getDefault());\n updateTime.set(Calendar.HOUR_OF_DAY, 12);\n updateTime.set(Calendar.MINUTE, 30);\n Intent downloader = new Intent(context, MyStartServiceReceiver.class);\n downloader.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n\n PendingIntent pendingIntent = PendingIntent.getBroadcast(context, 0,\n downloader, PendingIntent.FLAG_CANCEL_CURRENT);\n\n AlarmManager alarmManager = (AlarmManager) getSystemService(Context.ALARM_SERVICE);\n\n alarmManager.setRepeating(AlarmManager.RTC_WAKEUP, SystemClock.elapsedRealtime() + 60 * 1000,\n 60 * 1000, pendingIntent);\n Log.d(\"MyActivity\", \"Set alarmManager.setRepeating to: \" + updateTime.getTime().toLocaleString());\n\n }", "title": "" }, { "docid": "9a9040e5b25b238d79ac362f721e97e3", "score": "0.65072304", "text": "@Override\n public void run() {\n // Increments the time\n checkAlarms();\n }", "title": "" }, { "docid": "447cea15c9a668710971d42890c9f76d", "score": "0.6438951", "text": "private void setRecurringAlarm(Context context, String taskName, int hour, int minutes) {\n\n\t\tupdateTime.setTimeZone(TimeZone.getTimeZone(\"Pacific/Auckland\"));\n\n\t\thour -= 12;\n\t\tSystem.out.println(\"hour: \" + hour);\n\t\tupdateTime.set(Calendar.HOUR, hour);\n\t\tupdateTime.set(Calendar.MINUTE, minutes);\n\t\tif(updateTime.getTimeInMillis() - currentTime + 60*60*1000 < 0){\n\t\t\thour+=24;\n\t\t\tupdateTime.set(Calendar.HOUR, hour);\n\t\t}\n\t\tIntent alarm = new Intent(context, AlarmReceiver.class);\n\t\tPendingIntent ringAlarm = PendingIntent.getBroadcast(context,\n\t\t\t\t0, alarm, PendingIntent.FLAG_CANCEL_CURRENT);\n\t\tAlarmManager alarms = (AlarmManager) context.getSystemService(\n\t\t\t\tContext.ALARM_SERVICE);\n\t\tif (alarms != null) {\n\t\t\t//alarms.setExactAndAllowWhileIdle(AlarmManager.RTC_WAKEUP, updateTime.getTimeInMillis(), ringAlarm);\n\t\t\talarms.setInexactRepeating(AlarmManager.RTC_WAKEUP,\n\t\t\t\t\tupdateTime.getTimeInMillis(),\n\t\t\t\t\tAlarmManager.INTERVAL_DAY, ringAlarm);\n\t\t}\n\n\t\t//debug\n\t\tlong currentTime = Calendar.getInstance().getTimeInMillis();\n\t\tSystem.out.println(\"Time remaining on \" + taskName + \" alarm: \" + (updateTime.getTimeInMillis() - currentTime)/1000);\n\n\t\tfinal Timer timer = new Timer(taskName);\n\n\t\ttimer.schedule(new TimerTask() {\n\t\t\t@Override\n\t\t\tpublic void run() {\n\n\t\t\t\tlong currentTime = Calendar.getInstance().getTimeInMillis();\n\t\t\t\tSystem.out.println(\"Time remaining on \" + Thread.currentThread().getName() + \" alarm: \" + (updateTime.getTimeInMillis() - currentTime)/1000);\n\t\t\t\tif(updateTime.getTimeInMillis() - currentTime + 60000 < 0) timer.cancel();\n\n\t\t\t}\n\t\t}, 3000, 1*1000); //1000 is one second\n\n\t}", "title": "" }, { "docid": "131d87e6b74d2a4dbb16b7e40e428282", "score": "0.6420371", "text": "protected void startAlarm() {\n mAlarmManager = (AlarmManager) getSystemService(ALARM_SERVICE);\n\n // Create an Intent to broadcast to the AlarmNotificationReceiver\n mNotificationReceiverIntent = new Intent(MainActivity.this,\n AlarmNotificationReceiver.class);\n\n // Create an PendingIntent that holds the NotificationReceiverIntent\n mNotificationReceiverPendingIntent = PendingIntent.getBroadcast(\n MainActivity.this, 0, mNotificationReceiverIntent, 0);\n\n mAlarmManager.setRepeating(AlarmManager.ELAPSED_REALTIME,\n SystemClock.elapsedRealtime() + ALARM_DELAY,\n ALARM_DELAY, mNotificationReceiverPendingIntent);\n }", "title": "" }, { "docid": "fc28c4e475864f6b717bbb6afd925596", "score": "0.63872135", "text": "@Override\n\tpublic void pushAlarm(Alarm al) {\n\t}", "title": "" }, { "docid": "bd6f3fa307d19c6d866c6004998cb28f", "score": "0.633389", "text": "private void setNextAlarm(){\n alarmHandler.removeAlarm();\n\n // Create a new alarm for the next day.\n alarmHandler.addAlarm(null);\n }", "title": "" }, { "docid": "95c6eed2320d182184788b25d4981f40", "score": "0.63306457", "text": "public void schedule() {\n clear();\n\n SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(mContext);\n int minutes = preferences.getInt(PREF_REMINDER_MINUTES, 60);\n\n GetUpcomingEventsRequest request = new GetUpcomingEventsRequest(mContext);\n try {\n EventsList events = request.loadDataFromNetwork();\n long now = System.currentTimeMillis();\n for (Event e : events) {\n long wakeUpTime = e.getStartDate().getTime() - 1000 * 60 * minutes;\n if (wakeUpTime > now) {\n Intent intent = new Intent(mContext, MeetingPreparationReceiver.class);\n intent.putExtra(ARG_EVENT, e);\n PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0);\n mAlarmManager.set(AlarmManager.RTC, wakeUpTime, pendingIntent);\n mAlarmManager.set(AlarmManager.RTC_WAKEUP, wakeUpTime, pendingIntent);\n break;\n }\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "6a7964b5a76ff9d2a1530d36a0b40639", "score": "0.6313398", "text": "private void handleAlarmExpiration() {\n startAutoPushService(mContext);\n// setExpirationAlarm();\n }", "title": "" }, { "docid": "f5092e64f2f11730d32551d4bc916e24", "score": "0.6301895", "text": "public final void schedule() {\n AppMethodBeat.i(113876);\n this.che.ae(this.ciy, this.ciy);\n AppMethodBeat.o(113876);\n }", "title": "" }, { "docid": "26894b373f150de61b6cc7cd60c85ee9", "score": "0.6270159", "text": "private void setRepeatingAlarm() {\n Log.d(TAG, \"setRepeatingAlarm: \");\n Intent intent = new Intent(this, DataCollectReceiver.class);\n intent.putExtra(BROADCAST_DATA_SAVE_ALARM_RECEIVED, true);\n pendingIntentData = PendingIntent.getBroadcast(\n this.getApplicationContext(), 234324243, intent, 0);\n\n alarmManagerData = (AlarmManager) getSystemService(ALARM_SERVICE);\n\n //start timer, start time is earlier than current\n //trigger on interval ALARM_SENSOR_DATA_SAVE INTERVAL\n alarmManagerData.setRepeating(AlarmManager.RTC_WAKEUP, System.currentTimeMillis()\n + ALARM_SENSOR_DATA_SAVE_INTERVAL, ALARM_SENSOR_DATA_SAVE_INTERVAL, pendingIntentData);\n }", "title": "" }, { "docid": "ada38ef79e6c6dac8785d9bfeaff40f2", "score": "0.6249683", "text": "private static void checkTimeAndMaybeSetupUpdateAlarm(final Context context) {\n // Of all clients, if the one that hasn't been updated for the longest\n // is still more recent than UPDATE_FREQUENCY, do nothing.\n if (!isLastUpdateAtLeastThisOld(context, UPDATE_FREQUENCY)) return;\n\n PrivateLog.log(\"Date changed - registering alarm\");\n AlarmManager alarmManager = (AlarmManager)context.getSystemService(Context.ALARM_SERVICE);\n\n // Best effort to wake between midnight and MAX_ALARM_DELAY in the morning.\n // It doesn't matter too much if this is very inexact.\n final long now = System.currentTimeMillis();\n final long alarmTime = now + new Random().nextInt(MAX_ALARM_DELAY);\n final Intent updateIntent = new Intent(DictionaryService.UPDATE_NOW_INTENT_ACTION);\n final PendingIntent pendingIntent = PendingIntent.getBroadcast(context, 0,\n updateIntent, PendingIntent.FLAG_CANCEL_CURRENT);\n\n // We set the alarm in the type that doesn't forcefully wake the device\n // from sleep, but fires the next time the device actually wakes for any\n // other reason.\n if (null != alarmManager) alarmManager.set(AlarmManager.RTC, alarmTime, pendingIntent);\n }", "title": "" }, { "docid": "18fbf5c9fd22f2b542f1caf358008d77", "score": "0.62472457", "text": "public static void startAlarm(Context context) {\n Intent intent = new Intent(context, GradesAlarmReceiver.class);\n\n\n // Create a PendingIntent to be triggered when the alarm goes off\n final PendingIntent pIntent = PendingIntent.getBroadcast(context, GradesAlarmReceiver.REQUEST_CODE,\n intent, PendingIntent.FLAG_UPDATE_CURRENT);\n\n // Setup periodic alarm every 5 seconds\n long firstMillis = System.currentTimeMillis(); // alarm is set right away\n AlarmManager alarm = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);\n\n\n // First parameter is the type: ELAPSED_REALTIME, ELAPSED_REALTIME_WAKEUP, RTC_WAKEUP\n // Interval can be INTERVAL_FIFTEEN_MINUTES, INTERVAL_HALF_HOUR, INTERVAL_HOUR, INTERVAL_DAY\n alarm.setInexactRepeating(AlarmManager.RTC_WAKEUP, firstMillis,\n Settings.GRADES_UPDATE_INTERVAL, pIntent);\n }", "title": "" }, { "docid": "5c382e3e1fc925bf39e4b2a2034a431c", "score": "0.62366456", "text": "public static void schedule(Context context) {\n final Intent intent = new Intent(context, CheckEventsService.class);\r\n final PendingIntent pending = PendingIntent.getService(context, 0, intent, 0);\r\n \r\n // Cancel previously set alarm by CheckEventsService\r\n final AlarmManager alarm = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);\r\n alarm.cancel(pending);\r\n \r\n // Schedule new alarm, first trigger within 24 hours\r\n Calendar c = new GregorianCalendar();\r\n if (!DEBUG) {\r\n if (c.get(Calendar.HOUR_OF_DAY) > EVENT_CHECK_HOUR_OF_DAY || \r\n (c.get(Calendar.HOUR_OF_DAY) == EVENT_CHECK_HOUR_OF_DAY && c.get(Calendar.MINUTE) >= EVENT_CHECK_MINUTE_OF_DAY)) {\r\n c.add(Calendar.DAY_OF_YEAR, 1);\r\n }\r\n c.set(Calendar.HOUR_OF_DAY, EVENT_CHECK_HOUR_OF_DAY);\r\n c.set(Calendar.MINUTE, EVENT_CHECK_MINUTE_OF_DAY);\r\n c.set(Calendar.SECOND, 0);\r\n c.set(Calendar.MILLISECOND, 0);\r\n alarm.setRepeating(AlarmManager.RTC_WAKEUP, c.getTimeInMillis(), EVENTS_CHECK_INTERVAL, pending);\r\n } else {\r\n alarm.setRepeating(AlarmManager.RTC_WAKEUP, c.getTimeInMillis(), EVENTS_CHECK_INTERVAL_DEBUG, pending);\r\n }\r\n }", "title": "" }, { "docid": "80481d0fcc219e4dc44f29cd4e22fed9", "score": "0.62093335", "text": "@Override\n\t\tpublic void playAlarmSound() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "c5fe6e168f1f4cd3f02e90587f521098", "score": "0.6205261", "text": "public static void startRepeatingCalendarEventService(Context context) {\n\t\tIntent intent = new Intent(context, CheckSyncCalendarServiceReceiver.class);\n\t\tPendingIntent pending = PendingIntent.getBroadcast(context, 0, intent, PendingIntent.FLAG_CANCEL_CURRENT);\n\t\tAlarmManager service = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);\n\t\tCalendar cal = Calendar.getInstance();\n\t\t//start 10 minutes after the boot is completed or after called\n\t\tcal.add(Calendar.MINUTE, 10);\n\t\t//fetch in exactly 12 hours\n\t\tservice.setInexactRepeating(AlarmManager.RTC_WAKEUP, cal.getTimeInMillis(), AlarmManager.INTERVAL_HALF_DAY, pending);\n\t}", "title": "" }, { "docid": "f4c6c73ab9cc8ad306f039290ffeedad", "score": "0.6204296", "text": "public void updateAlarmTime() {\n Calendar now = Calendar.getInstance();\n \n if (isRelative) {\n // relative only uses minutes field, with only a single value (NOT -1)\n alarmTime = now.getTime().getTime() + (minutes[0] * 60000);\n return;\n }\n \n Calendar alarm = (Calendar)now.clone();\n alarm.set( Calendar.SECOND, 0 );\n \n debug(\"now: \" + now.getTime());\n \n //\n // the updates work in a cascade -- if next minute value is in the\n // following hour, hour is incremented. If next valid hour value is\n // in the following day, day is incremented, and so on.\n //\n \n // increase alarm minutes\n int current = alarm.get( Calendar.MINUTE );\n int offset = 0;\n // force increment at least to next minute\n offset = getOffsetToNext( current, minMinute, maxMinute, minutes );\n alarm.add( Calendar.MINUTE, offset );\n debug( \"after min: \" + alarm.getTime() );\n \n // update alarm hours if necessary\n current = alarm.get( Calendar.HOUR_OF_DAY ); // (as updated by minute shift)\n offset = getOffsetToNextOrEqual( current, minHour, maxHour, hours );\n alarm.add( Calendar.HOUR_OF_DAY, offset );\n debug( \"after hour (current:\"+current+\"): \" + alarm.getTime() );\n \n //\n // If days of month AND days of week are restricted, we take whichever match\n // comes sooner.\n // If only one is restricted, take the first match for that one.\n // If neither is restricted, don't do anything.\n //\n if( daysOfMonth[0] != -1 && daysOfWeek[0] != -1 )\n {\n // BOTH are restricted - take earlier match\n Calendar dayOfWeekAlarm = (Calendar)alarm.clone();\n updateDayOfWeekAndMonth( dayOfWeekAlarm );\n \n Calendar dayOfMonthAlarm = (Calendar)alarm.clone();\n updateDayOfMonthAndMonth( dayOfMonthAlarm );\n \n // take the earlier one\n if( dayOfMonthAlarm.getTime().getTime() < dayOfWeekAlarm.getTime().getTime() )\n {\n alarm = dayOfMonthAlarm;\n debug( \"after dayOfMonth CLOSER: \" + alarm.getTime() );\n }\n else\n {\n alarm = dayOfWeekAlarm;\n debug( \"after dayOfWeek CLOSER: \" + alarm.getTime() );\n }\n }\n else if( daysOfWeek[0] != -1 ) // only dayOfWeek is restricted\n {\n // update dayInWeek and month if necessary\n updateDayOfWeekAndMonth( alarm );\n debug( \"after dayOfWeek: \" + alarm.getTime() );\n }\n else if( daysOfMonth[0] != -1 ) // only dayOfMonth is restricted\n {\n // update dayInMonth and month if necessary\n updateDayOfMonthAndMonth( alarm );\n debug( \"after dayOfMonth: \" + alarm.getTime() );\n }\n // else if neither is restricted (both[0] == -1), we don't need to do anything.\n \n \n debug(\"alarm: \" + alarm.getTime());\n \n alarmTime = alarm.getTime().getTime();\n lastUpdateTime = System.currentTimeMillis();\n }", "title": "" }, { "docid": "57d748949c9ee7a105ae2c7150d48247", "score": "0.6196473", "text": "public void startExecutionEveryDayAt(/*agregar en esta parte aun*/ int targetHour, int targetMin, int targetSec) {\n }", "title": "" }, { "docid": "a0977377ec1085bf2678a68028f96c94", "score": "0.618397", "text": "private static void setPingAlarm (Context appContext) {\n CommonUtils.printLog(\" process id when setting alarm: \" + android.os.Process.myPid());\n alarmManager = (AlarmManager)appContext.getSystemService(Context.ALARM_SERVICE);\n Intent intent = new Intent(appContext, AlarmReceiver.class);\n pendingIntent = PendingIntent.getBroadcast(appContext, 0, intent, 0);\n CommonUtils.printLog(\"reading form json\");\n int pingFreq = Integer.parseInt(ConnOptsJsonHandler.readFromJsonFile(PING_FREQ_KEY));\n pingFreq *=60 *1000; // converting the val from minutes to millisec\n CommonUtils.printLog(\"setting alarm: \" + pingFreq);\n alarmManager.setRepeating(AlarmManager.ELAPSED_REALTIME_WAKEUP, pingFreq, pingFreq,pendingIntent);\n MqttLogger.writeDataToTempLogFile(\"alarm set\");\n\n // set up the wifi lock\n// WifiManager wm = (WifiManager) appContext.getSystemService(Context.WIFI_SERVICE);\n// WifiManager.WifiLock wifiLock = wm.createWifiLock(WifiManager.WIFI_MODE_FULL , \"MyWifiLock\");\n// wifiLock.acquire();\n }", "title": "" }, { "docid": "40a8f36932ef82c1934a4c7901d61aa6", "score": "0.6154215", "text": "public void SetTimer(View view, long alarmID, int notification, String sDate){\n \tContext context = this.getApplicationContext(); \n \talarm = new AlarmManagerBroadcastReceiver();\n \t//Toast.makeText(getBaseContext(), \"In SetTimer, alarmID is \"+alarmID, Toast.LENGTH_LONG).show();\n \t\n \tString alarmTimeSet = alarm.ConvertToAlarmString(sDate, notification);\n\t\n\t\tif(alarm != null){ \n\t\t\talarm.SetAlarm(context, alarmID, alarmTimeSet);\n\t\t\t//Log.d(\"EditScreen\",\"Alarm Set\");// for testing\n\t\t\t}else\n\t\t\t{ \n\t\t\tLog.d(\"EditScreen\",\"No alarm Set\");// for testing\n\t\t\t//Toast.makeText(context, \"Alarm is null\", Toast.LENGTH_SHORT).show(); \n\t\t\t} \n\t\t\n\t\tSharedPreferences appActivity = getSharedPreferences(\n\t\t\t\t \"com.friendsbirthdaysver6_preferences\", MODE_PRIVATE); \n\t\tSharedPreferences.Editor appActivityUpdater = appActivity.edit();\n\t \tappActivityUpdater.putBoolean(\"activated\", true);\t \n\t appActivityUpdater.commit();\n\t}", "title": "" }, { "docid": "43f1b029dc693ffad7a78e65e5b1dc06", "score": "0.61527854", "text": "private void registerWatchDog() {\n alarmManager.setInexactRepeating(AlarmManager.RTC_WAKEUP, System.currentTimeMillis() + AlarmManager.INTERVAL_HOUR,\n AlarmManager.INTERVAL_HOUR, pendingIntent);\n }", "title": "" }, { "docid": "b1bfe55ec6732dcbc65a512c153dd7c3", "score": "0.61268467", "text": "@Override\n\tpublic void alarm() {\n\t\tSystem.out.println(\"BMWModel alarm\");\n\t}", "title": "" }, { "docid": "23692bbea062784f3ef53fb94d6d69ff", "score": "0.612099", "text": "public void setAlarm(long time,int value) {\n\n AlarmManager am = (AlarmManager) getSystemService(Context.ALARM_SERVICE);\n\n //creating a new intent specifying the broadcast receiver\n Intent i = new Intent(getApplicationContext(), Updatestudentlist.class);\n\n //creating a pending intent using the intent\n if(value==1) {\n // Toast.makeText(getApplicationContext(), \"morning\", Toast.LENGTH_SHORT).show();\n i.putExtra(\"value\",\"Morning session starts\");\n PendingIntent pi = PendingIntent.getBroadcast(getApplicationContext(), 6, i, 0);\n\n //setting the repeating alarm that will be fired every day\n am.setRepeating(AlarmManager.RTC, time, AlarmManager.INTERVAL_DAY, pi);\n }\n else if (value==2) {\n // Toast.makeText(getApplicationContext(), \"evening\", Toast.LENGTH_SHORT).show();\n i.putExtra(\"value\",\"Morning session ends\");\n PendingIntent pi = PendingIntent.getBroadcast(getApplicationContext(), 5, i, 0);\n\n //setting the repeating alarm that will be fired every day\n am.setRepeating(AlarmManager.RTC, time, AlarmManager.INTERVAL_DAY, pi);\n }\n else if (value==3) {\n // Toast.makeText(getApplicationContext(), \"evening\", Toast.LENGTH_SHORT).show();\n i.putExtra(\"value\",\"Afternoon session starts\");\n PendingIntent pi = PendingIntent.getBroadcast(getApplicationContext(), 7, i, 0);\n\n //setting the repeating alarm that will be fired every day\n am.setRepeating(AlarmManager.RTC, time, AlarmManager.INTERVAL_DAY, pi);\n }\n\n else if (value==4) {\n\n i.putExtra(\"value\",\"Afternoon session ends\");\n PendingIntent pi = PendingIntent.getBroadcast(getApplicationContext(), 8, i, 0);\n\n //setting the repeating alarm that will be fired every day\n am.setRepeating(AlarmManager.RTC, time, AlarmManager.INTERVAL_DAY, pi);\n }\n else if (value==5) {\n// Toast.makeText(getApplicationContext(), \"evening\", Toast.LENGTH_SHORT).show();\n i.putExtra(\"value\",\"Evening session starts\");\n PendingIntent pi = PendingIntent.getBroadcast(getApplicationContext(), 10, i, 0);\n\n //setting the repeating alarm that will be fired every day\n am.setRepeating(AlarmManager.RTC, time, AlarmManager.INTERVAL_DAY, pi);\n }\n\n else if (value==6) {\n\n i.putExtra(\"value\",\"Evening session ends\");\n PendingIntent pi = PendingIntent.getBroadcast(getApplicationContext(), 9, i, 0);\n //setting the repeating alarm that will be fired every day\n am.setRepeating(AlarmManager.RTC, time, AlarmManager.INTERVAL_DAY, pi);\n }\n }", "title": "" }, { "docid": "65a11688eaa2c2cc5b26deff7b4e8896", "score": "0.610748", "text": "public void setAlarm(Context context, long triggerTime){\n AlarmManager alarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);\n Intent intent = new Intent(context, AlarmReceiver.class);\n\n //pass data to display when alarm is triggered\n //these 2 lines need to be placed before creating the pending intent object\n intent.putExtra(AlarmReceiver.ALARM_TIME, triggerTime);\n intent.putExtra(AlarmReceiver.ALARM_TEXT, \"test text\");\n\n PendingIntent alarmIntent = PendingIntent.getBroadcast(context, (int) triggerTime, intent, PendingIntent.FLAG_ONE_SHOT);\n\n Calendar calendar = new GregorianCalendar();\n calendar.setTimeInMillis(triggerTime);\n DateFormat dateFormat = DateFormat.getDateTimeInstance();\n\n alarmManager.set(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), alarmIntent);\n //Toast.makeText(context, \"Alarm Scheduled :\" + dateFormat.format(calendar.getTime()),Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "9965e7133cf89cb6aebf29c554e393c6", "score": "0.6097715", "text": "public static void activateAlarm(int index)\n\t{\n\t\t\n\t\tSystem.out.println(\"Alarm Done!\");\n\t}", "title": "" }, { "docid": "e1840e267935730f02b125fd5586c2a4", "score": "0.60957396", "text": "private void startBackupService() {\n\n AlarmManager alarmManager = (AlarmManager)getSystemService(Context.ALARM_SERVICE);\n Intent intent = new Intent(HomePageActivity.this, ScheduledBackup.class);\n PendingIntent pendingIntent = PendingIntent.getBroadcast(this, 0, intent, 0);\n\n Calendar calendar = Calendar.getInstance();\n calendar.setTimeInMillis(System.currentTimeMillis());\n calendar.set(Calendar.HOUR_OF_DAY, 4);\n\n alarmManager.setRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), AlarmManager.INTERVAL_DAY, pendingIntent);\n }", "title": "" }, { "docid": "0e6ab7d719443dabcdac27033a5c67ae", "score": "0.6094718", "text": "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tsettingAlarm();\n\t\t\t}", "title": "" }, { "docid": "46f28e50fae2c4146ae3f822e8057a60", "score": "0.6092064", "text": "public static void setReminderAlarm(Context context, Alarm alarm) {\n\n //Check whether the alarm is set to run on any days\n if (!AlarmUtils.isAlarmActive(alarm)) {\n //If alarm not set to run on any days, cancel any existing notifications for this alarm\n cancelReminderAlarm(context, alarm);\n return;\n }\n\n final Calendar nextAlarmTime = getTimeForNextAlarm(alarm);\n alarm.setTime(nextAlarmTime.getTimeInMillis());\n\n final Intent intent = new Intent(context, AlarmReceiver.class);\n final Bundle bundle = new Bundle();\n bundle.putParcelable(ALARM_KEY, alarm);\n intent.putExtra(BUNDLE_EXTRA, bundle);\n\n final PendingIntent pIntent = PendingIntent.getBroadcast(\n context,\n alarm.notificationId(),\n intent,\n FLAG_UPDATE_CURRENT\n );\n\n ScheduleAlarm.with(context).schedule(alarm, pIntent);\n }", "title": "" }, { "docid": "92c1aa146b0ca4654d3b332426d88c50", "score": "0.6089662", "text": "@Override\n public int onStartCommand(Intent intent, int flags, int startId) {\n Calendar calendar = Calendar.getInstance();\n int time;\n int minute;\n\n Log.d(\"PERIODICSERVICE\", \"Timp: \" + MainActivity.time);\n if (MainActivity.time == null) {\n time = 12;\n minute = 0;\n } else {\n String timp = MainActivity.time;\n String timps = \"\";\n String minutes = \"\";\n\n for (int i = 0; i < timp.length(); i++) {\n if (timp.charAt(i) != ':')\n timps += timp.charAt(i);\n else\n break;\n }\n\n for (int i = timp.length() - 1; i >= 0; i--) {\n if (timp.charAt(i) != ':')\n minutes += timp.charAt(i);\n else\n break;\n }\n\n time = Integer.parseInt(timps);\n minute = Integer.parseInt(minutes);\n }\n\n calendar.set(Calendar.HOUR_OF_DAY, time);\n calendar.set(Calendar.MINUTE, minute);\n calendar.set(Calendar.SECOND, 0);\n calendar = Calendar.getInstance();\n Intent i = new Intent(this, LogicNotificationAndSendSMS.class);\n PendingIntent pintent = PendingIntent.getService(this, 0, i, 0);\n AlarmManager alarm = (AlarmManager) getSystemService(Context.ALARM_SERVICE);\n alarm.setRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), AlarmManager.INTERVAL_DAY, pintent);\n\n return super.onStartCommand(intent, flags, startId);\n }", "title": "" }, { "docid": "0fadde8d49e425e7245b4a52613e6096", "score": "0.60877734", "text": "@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tcalendar.set(Calendar.HOUR_OF_DAY, alarm_timepicker.getCurrentHour());\n\t\t\t\tcalendar.set(Calendar.MINUTE, alarm_timepicker.getCurrentMinute());\n\t\t\t\t\n\t\t\t\t//get the value of hour and minutes\n\t\t\t\tint hour = alarm_timepicker.getCurrentHour();\n\t\t\t\tint minutes = alarm_timepicker.getCurrentMinute();\n\t\t\t\t\n\t\t\t\t//convert int into string\n\t\t\t\tString hour_string = String.valueOf(hour);\n\t\t\t\tString minute_string = String.valueOf(minutes);\n\t\t\t\t\n\t\t\t\tif (minutes < 10){\n\t\t\t\t\tminute_string = \"0\"+ minute_string;\n\t\t\t\t}\n\t\t\t\tmy_intent.putExtra(\"extra\", \"alarm on\");\n\t\t\t\t//method changes the update textbox\n\t\t\t\tset_alarm_text(\"Alarm set to : \"+ hour_string + \" : \"+ minute_string);\n\t\t\t\t\n\t\t\t\t//create a pendding intent to delay th intent\n\t\t\t\t//until the specified calender time;\n\t\t\t\tpending_intent = PendingIntent.getBroadcast(LayoutAlarmActivity.this, 0, my_intent, PendingIntent.FLAG_UPDATE_CURRENT);\n\t\t\t\t\n\t\t\t\t//set alarm manager\n\t\t\t\talarm_manager.set(AlarmManager.RTC_WAKEUP,calendar.getTimeInMillis(),\n\t\t\t\t\t\t\t\tpending_intent);\n\t\t\t\t\n\t\t\t\t//put in extras String into my_intent\n\t\t\t\t//tells the clock that you pressed the alarm on button\n\t\t\t\t\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "f1291a2e4cdb1af35e6b5e5e36a74da1", "score": "0.6085998", "text": "public void schedule() {\n AppMethodBeat.i(113879);\n this.ciw.chO.f(this, this.ciy);\n AppMethodBeat.o(113879);\n }", "title": "" }, { "docid": "049e13bb3741ff8e2d42ac90bcef3404", "score": "0.6079556", "text": "public void setAlarm() {\n \tif (SLEEP_MODE_ACTIVE) {\n \t\tCURRENT_POLL_INTERVAL = SLEEP_POLL_INTERVAL;\n \t}else {\n \t\tCURRENT_POLL_INTERVAL = POLL_INTERVAL;\n \t}\n \tint interval = Integer.parseInt(HttpConnectionsHelper.getInStringSeconds(Integer.toString(AlarmReceiver.POLL_INTERVAL)));\n \t\n \tif (jobExecutionContext != null){\n \t\tif (interval != CURRENT_POLL_INTERVAL) {\n \t\t\ttry {\n \t\t\t\tTrigger updateTrigger = TriggerBuilder\n \t\t\t\t\t\t.newTrigger()\n \t\t\t\t\t\t.withSchedule(\n \t\t\t\t\t\t\t\tSimpleScheduleBuilder.simpleSchedule()\n \t\t\t\t\t\t\t\t.withIntervalInSeconds(interval).repeatForever())\n \t\t\t\t\t\t\t\t.build();\n \t\t\t\tTrigger oldTrigger = jobExecutionContext.getTrigger();\n \t\t\t\tScheduler scheduler = StdSchedulerFactory.getDefaultScheduler();\n \t\t\t\tscheduler.rescheduleJob(oldTrigger.getKey(), updateTrigger);\n \t\t\t} catch (SchedulerException e) {\n \t\t\t\te.printStackTrace();\n \t\t\t}\n \t\t}\n \t} else{\n \t\tinitSchedulerForPolling(interval);\n \t}\n \t\n }", "title": "" }, { "docid": "3db2446bba80dd3bff8ceee8dfa4fde4", "score": "0.6067457", "text": "private void startLocationTracker() {\n AlarmManager alarmManager = (AlarmManager) getSystemService(Context.ALARM_SERVICE);\n PendingIntent pendingIntent = PendingIntent.getBroadcast(this, 0, intent, 0);\n alarmManager.setRepeating(AlarmManager.RTC_WAKEUP, Calendar.getInstance().getTimeInMillis(),\n LocationProvider.FIVE_MINUTES, pendingIntent);\n }", "title": "" }, { "docid": "02b1b0ab5427e62f02983222829c8e00", "score": "0.6061842", "text": "@Override\n public void onRequestAlarm(JSONObject json) {\n\n }", "title": "" }, { "docid": "26f85e887691c6e5af645c46a6710bc5", "score": "0.6061714", "text": "public Alarm() {\n\t\tMachine.timer().setInterruptHandler(new Runnable() {\n\t\t\tpublic void run() {\n\t\t\t\ttimerInterrupt();\n\t\t\t}\n\t\t});\n\t}", "title": "" }, { "docid": "4958e5816291271051996ab8548a27bb", "score": "0.60540545", "text": "private void schedule(long period) {\r\n if (logger.isLoggable(BasicLevel.DEBUG))\r\n logger.log(BasicLevel.DEBUG, \"Schedule wake up task, period=\" + period);\r\n\r\n if (period > 0) {\r\n try {\r\n Timer timer = AgentServer.getTimer();\r\n if (!schedule) {\r\n timer.schedule(this, period, period);\r\n schedule = true;\r\n }\r\n } catch (Exception exc) {\r\n if (logger.isLoggable(BasicLevel.WARN))\r\n logger.log(BasicLevel.WARN, \"--- \" + this, exc);\r\n }\r\n }\r\n }", "title": "" }, { "docid": "1be3ed1ec145da3bdc36102401da79a5", "score": "0.6048799", "text": "@Override\n public void onReceive(Context context, Intent intent){\n Log.i(\"AlarmReceiver received an alarm\");\n\n Dao dao = new Dao(context);\n\n // check to see we actually want to fire the alarm on this day\n int dayOfWeek = Calendar.getInstance().get(Calendar.DAY_OF_WEEK);\n if (dao.getBooleanPreference(Constants.DAY_PREPEND + dayOfWeek)) {\n Log.i(\"We DO WANT to fire alarm for \" + dayOfWeek + \"->\" + Constants.DAY_MAP_NAMES[dayOfWeek]);\n\n dao.setBooleanPreference(Constants.DO_ALARM, true);\n\n AlarmAlertWakeLock.acquireCpuWakeLock(context);\n\n Intent playAlarm = new Intent(context, MainAlarm.class);\n playAlarm.putExtra(Constants.FROM_ALARM, true);\n playAlarm.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n playAlarm.addFlags(16384);\n\n context.startActivity(playAlarm);\n } else {\n Log.i(\"We DONT WANT to fire alarm for \" + dayOfWeek + \"->\" + Constants.DAY_MAP_NAMES[dayOfWeek]);\n }\n\n }", "title": "" }, { "docid": "fa24dc07d99651c63dd64a2b46e1dfc4", "score": "0.60473704", "text": "public void triggerAlarmManager(int alarmTriggerTime) {\n // get a Calendar object with current time\n Calendar cal = Calendar.getInstance();\n // add alarmTriggerTime seconds to the calendar object\n cal.add(Calendar.SECOND, alarmTriggerTime);\n\n AlarmManager manager = (AlarmManager) getSystemService(Context.ALARM_SERVICE);//get instance of alarm manager\n manager.set(AlarmManager.RTC_WAKEUP, cal.getTimeInMillis(), pendingIntent);//set alarm manager with entered timer by converting into milliseconds\n\n Toast.makeText(this, \"Alarm Set for \" + alarmTriggerTime + \" seconds.\", Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "67bbccc71b3a3c5600b4dc994e1216d8", "score": "0.6043545", "text": "void setAlarmHours(int warningHours, int urgentHours);", "title": "" }, { "docid": "26f5a1d01cb8b084a6f179909f2f5a69", "score": "0.60433537", "text": "public void powerHourResumed() {\n\t\t\n\t}", "title": "" }, { "docid": "fe449efda0c341e66edf1f1ecd79812b", "score": "0.6023418", "text": "public static void scheduleWeeklyGoalsService(Context context){\n if(UserAccountUtilities.getUserKey(context) != null){\n //Sets up a PendingIntent to start the Service\n AlarmManager alarmManager = (AlarmManager)context.getSystemService(ALARM_SERVICE);\n String userKey = UserAccountUtilities.getUserKey(context);\n Intent serviceIntent = new Intent(context, WeeklyGoalsService.class);\n serviceIntent.putExtra(WeeklyGoalsService.USER_KEY_EXTRA, userKey);\n PendingIntent pendingIntent = PendingIntent.getService(context, 0, serviceIntent, 0);\n\n //Cancels any previous scheduled PendingIntents\n if(alarmManager != null){\n alarmManager.cancel(pendingIntent);\n }\n\n //Sets the execution date to the start of Monday\n Calendar calendar = Calendar.getInstance();\n\n do{\n calendar.add(Calendar.DAY_OF_WEEK, 1);\n } while(calendar.get(Calendar.DAY_OF_WEEK) != Calendar.MONDAY);\n\n calendar.set(Calendar.AM_PM, Calendar.AM);\n calendar.set(Calendar.HOUR, 0);\n calendar.set(Calendar.MINUTE, 0);\n calendar.set(Calendar.SECOND, 0);\n\n //Schedules the Service to run on Monday morning\n if(alarmManager != null){\n alarmManager.set(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), pendingIntent);\n }\n }\n }", "title": "" }, { "docid": "f004542ea7e16cebc4b08dcbb21085a6", "score": "0.59987223", "text": "public static void generaAlarmaSincronizarApp (Context context) {\n \n try {\n AlarmManager alarmManager = (AlarmManager) context.getSystemService (Context.ALARM_SERVICE);\n Intent alarmIntent = new Intent (BROADCAST_APP_SYNC); // AlarmReceiver1 = broadcast receiver\n PendingIntent pendingIntent = PendingIntent.getBroadcast (context, ALARMMANAGER_REQUESTCODE_APP_SYNC, alarmIntent, flagBanner);\n if (alarmManager != null) {\n alarmManager.cancel (pendingIntent);\n Calendar alarmStartTime = Calendar.getInstance ();\n alarmStartTime.add(Calendar.HOUR_OF_DAY, BrioGlobales.TIME_SYNC_HOUR);\n alarmStartTime.add(Calendar.MINUTE, BrioGlobales.TIME_SYNC_MIN);\n alarmStartTime.add(Calendar.SECOND, BrioGlobales.TIME_SYNC_SEC);\n alarmManager.set(AlarmManager.RTC_WAKEUP, alarmStartTime.getTimeInMillis(), pendingIntent);\n \n// alarmManager.setRepeating (AlarmManager.RTC_WAKEUP, alarmStartTime.getTimeInMillis (), INTERVAL_APP_SYNC, pendingIntent);\n String fecha = new SimpleDateFormat (\"yyyy-MM-dd HH:mm:ss\").format (alarmStartTime.getTimeInMillis ());\n // Log.e(TAG + \" - \", \"generaAlarmaSincronizarApp:\" + fecha);\n }\n } catch (Exception e) {\n e.printStackTrace ();\n BrioGlobales.ArchivoLog.escribirLineaFichero (BrioUtilsFechas.obtenerFechaDiaHoraFormat () + TAG + \"->generaAlarmaSincronizarApp\" + e.getMessage ());\n }\n }", "title": "" }, { "docid": "c18a8e814bb168e7f1d04ede6930362c", "score": "0.59889925", "text": "private void sched(Context contexto) {\n\t\tIntent it = new Intent(\"RT_LOCK\");\n\t\tPendingIntent p = PendingIntent.getBroadcast(contexto, 0, it, 0);\n\t\n\t\t// Para executar o alarme depois de x segundos a partir de agora\n\t\tCalendar c = Calendar.getInstance();\n\t\tc.setTimeInMillis(System.currentTimeMillis());\n\t\tc.add(Calendar.SECOND, 2);\n\t\n\t\t// Agenda o alarme\n\t\tAlarmManager alarme = (AlarmManager) contexto.getSystemService(Context.ALARM_SERVICE);\n\t\tlong time = c.getTimeInMillis();\n\t\talarme.set(AlarmManager.RTC_WAKEUP, time, p);\n//\t\talarme.setRepeating(AlarmManager.RTC_WAKEUP, time, tempoRepetir, p);\t\t\n\t}", "title": "" }, { "docid": "259730f4becfaf3d37425cd03f9affcc", "score": "0.5982656", "text": "@Override\n\t\tpublic void playAlarmBeep() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "48870085f7dd7e4e43f815f92befeeaf", "score": "0.5970404", "text": "private static void scheduleAutomaticUpdates(Context context) {\r\n AlarmManager alarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);\r\n\r\n if (LogUtils.DEBUG) {\r\n Log.d(TAG, \"Starting automatic updates schedule..\");\r\n }\r\n alarmManager.setRepeating(AlarmManager.RTC, System.currentTimeMillis(), Configuration\r\n .getUpdateInterval(context), PendingIntent.getBroadcast(context, 0, new Intent(\r\n Updater.ACTION_UPDATE_COUNTERS), PendingIntent.FLAG_CANCEL_CURRENT));\r\n }", "title": "" }, { "docid": "2f445c89d665534e20bcb9c05d47418e", "score": "0.5968714", "text": "public void tick(LocalTime t, LocalDate d){\n\t\t//Change the time based on current weather/traffic conditions\n\t\tDuration traffic = getTrafficShift();\n\t\tDuration weather = getWeatherShift();\n\t\t//If there are no alarms set to go off today, don't bother checking. \n\t\tif(alarms.peek() != null && alarms.getFirst().getDay().equals(d)){\n\t\tif(traffic != null)\n\t\t\tt.plus(traffic);\n\t\tif(weather != null)\n\t\t\tt.plus(weather);\n\t\t//If the shifted time either passed by or is at the soonest alarm time(s), trip it/them.\n\t\twhile(!alarms.isEmpty() && alarms.getFirst().getTime().compareTo(t) <= 0){\n\t\t\tAlarm alarm = alarms.removeFirst();\n\t\t\tthis.tripAlarm(alarm);\n\t\t\t//If the alarm is set to repeat, re-add it but set for tomorrow. \n\t\t\tif(alarm.doesRepeat())\n\t\t\t\tthis.setAlarm(alarm.getTime(), alarm.getDay().plusDays(1), true);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "f966f488272b2d8435202e9967d53167", "score": "0.59644896", "text": "private void setRecurringAlarmProd(Context context) {\r\n\r\n Calendar updateTime = Calendar.getInstance();\r\n updateTime.setTimeInMillis(System.currentTimeMillis());\r\n\r\n // collect stats on every 50th minute of the day\r\n updateTime.set(Calendar.MINUTE, 50);\r\n updateTime.set(Calendar.SECOND, 0);\r\n Intent downloader = new Intent(context, StatsCollectionAlarmReceiver.class);\r\n PendingIntent statCollector = PendingIntent.getBroadcast(context,\r\n 0, downloader, 0);\r\n AlarmManager alarms = (AlarmManager) getSystemService(\r\n Context.ALARM_SERVICE);\r\n alarms.setInexactRepeating(AlarmManager.RTC_WAKEUP,\r\n updateTime.getTimeInMillis(),\r\n AlarmManager.INTERVAL_HOUR, statCollector);\r\n\r\n // send data at 23:55 every day\r\n Calendar uploadTime = Calendar.getInstance();\r\n uploadTime.setTimeInMillis(System.currentTimeMillis());\r\n uploadTime.set(Calendar.HOUR_OF_DAY, 23);\r\n uploadTime.set(Calendar.MINUTE, 55);\r\n uploadTime.set(Calendar.SECOND, 0);\r\n\r\n Intent uploadIntent = new Intent(context, ServerUploaderReceiver.class);\r\n PendingIntent uploadPending = PendingIntent.getBroadcast(context, 0, uploadIntent, 0);\r\n AlarmManager uploadAlarm = (AlarmManager) getSystemService(Context.ALARM_SERVICE);\r\n uploadAlarm.setInexactRepeating(AlarmManager.RTC_WAKEUP,\r\n uploadTime.getTimeInMillis(),\r\n AlarmManager.INTERVAL_DAY,\r\n uploadPending);\r\n }", "title": "" }, { "docid": "b6b98eaa5346a07f31f3f7649e430753", "score": "0.59527904", "text": "public void setAlarm(String time) throws UiObjectNotFoundException {\n\t\tUiObject uiTab = getObjByClsIdx(\"android.app.ActionBar$Tab\", 0);\n\t\tif (!uiTab.isSelected())\n\t\t\tuiTab.clickAndWaitForNewWindow();\n\t\tgetObjByDesc(\"Add alarm\").clickAndWaitForNewWindow();\n\t\t//TODO:\n\t}", "title": "" }, { "docid": "080f893811b4adacabcb83ef68747475", "score": "0.59518313", "text": "public void setAlarm(VibrateTimer vt, Context context){\n\t\tif(!datastore.contains(vt.getId()))\n\t\t\tdatastore.addToDB(vt);\n\t\tList<Calendar> startTimes = vt.getStartAlarmCalendars();\n\t\tList<Calendar> endTimes = vt.getEndAlarmCalendars();\n\t\tint timerId = vt.getId();\n\t\tfor (Calendar startTime : startTimes) {\n\t\t\tint id = timerId + startTime.get(Calendar.DAY_OF_WEEK);\n\t\t\tIntent activateVibration = new Intent(parent, VibrateOnBroadcastReceiver.class); \n\t\t\tcreateSystemTimer(startTime.getTimeInMillis(), id, activateVibration);\n\t\t}\n\t\tfor(Calendar endTime : endTimes){\n\t\t\tint id = timerId + endTime.get(Calendar.DAY_OF_WEEK) + 10;\n\t\t\tIntent disableVibration = new Intent(parent, VibrateOffBroadcastReceiver.class);\n\t\t\tcreateSystemTimer(endTime.getTimeInMillis(), id, disableVibration);\n\t\t}\n\t}", "title": "" }, { "docid": "13717e7772421c211e4f79e8a219fb56", "score": "0.5947727", "text": "public static boolean setReminder(Context context, Class<?> cls, int year, int month, int day,\n int hour, int min,int tripID)\n {\n //get a Calendar instance based on the current time\n Calendar calendar = Calendar.getInstance();\n\n //set the scheduled trip time\n Calendar setcalendar = Calendar.getInstance();\n setcalendar.set(year,month,day);\n setcalendar.set(Calendar.HOUR_OF_DAY, hour);\n setcalendar.set(Calendar.MINUTE, min);\n\n // check whether this scheduled time is in the future, show a error message if it is in the\n // past\n if(setcalendar.before(calendar)){\n Toast.makeText(context,\"Wrong for creating a future trip, Please try it again!\",Toast.LENGTH_SHORT).show();\n return false;\n }else {\n // Enable a receiver\n ComponentName receiver = new ComponentName(context, cls);\n PackageManager pm = context.getPackageManager();\n\n pm.setComponentEnabledSetting(receiver,\n PackageManager.COMPONENT_ENABLED_STATE_ENABLED,\n PackageManager.DONT_KILL_APP);\n\n // Create new intent\n Intent intent1 = new Intent(context, cls);\n PendingIntent pendingIntent = PendingIntent.getBroadcast(context, tripID, intent1, PendingIntent.FLAG_ONE_SHOT);\n\n // Set an alarm\n AlarmManager am = (AlarmManager) context.getSystemService(ALARM_SERVICE);\n am.setInexactRepeating(AlarmManager.RTC_WAKEUP, setcalendar.getTimeInMillis(), AlarmManager.INTERVAL_DAY, pendingIntent);\n Toast.makeText(context, \"A future reminder is successfully set!\", Toast.LENGTH_SHORT).show();\n }\n return true;\n }", "title": "" }, { "docid": "5827b3edffd8bc8c2b98c1081f13c9a3", "score": "0.5946852", "text": "public static void scheduleAlarm(Context context, long offset, NotificationType notificationType )\n {\n\n Long time = new GregorianCalendar().getTimeInMillis() + offset;\n // create an Intent and set the class which will execute when Alarm triggers, here we have\n // given AlarmReciever in the Intent, the onRecieve() method of this class will execute when\n // alarm triggers and\n //we will write the code to send SMS inside onRecieve() method pf Alarmreciever class\n Intent intentAlarm = new Intent(context, AlarmReceiver.class);\n\n intentAlarm.putExtra(NOTIFICATION_TYPE, notificationType.name());\n\n final int alarmId = notificationType == NotificationType.JOURNALTIME ? AlarmType.JOURNAL.ordinal() : AlarmType.TIP.ordinal();\n // find any previous scheduled alarm and cancel them\n PendingIntent pendingIntent = PendingIntent.getBroadcast(context, alarmId, intentAlarm, PendingIntent.FLAG_UPDATE_CURRENT);\n\n // create the object\n AlarmManager alarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);\n\n if(pendingIntent != null) {\n pendingIntent.cancel();\n alarmManager.cancel(pendingIntent);\n }\n\n //set the alarm for particular time\n alarmManager.setInexactRepeating(AlarmManager.RTC_WAKEUP, time, MILLISECONDS_A_DAY, PendingIntent.getBroadcast(context, alarmId, intentAlarm, PendingIntent.FLAG_UPDATE_CURRENT));\n }", "title": "" }, { "docid": "9f5c6a97eeda545dc70089ebf4641b66", "score": "0.59296", "text": "int checkForAlarm();", "title": "" }, { "docid": "73f6564376ef9c60bd68290f9b385d9e", "score": "0.59011734", "text": "public void checkForAppt() throws SQLException, ParseException{\r\n\tLocalDateTime now = LocalDateTime.now();\r\n LocalDateTime future = LocalDateTime.now().plusMinutes(15);\r\n \r\n String sNow = now.format(formatter);\r\n String sFuture = future.format(formatter);\r\n String location = \"UTC\";\r\n \r\n //Taking Current Time and 15 min and switching into \"UTC\" Time\r\n String sNowU = Appointment.getUTCLocationDateTime(location, sNow);\r\n String sFutureU = Appointment.getUTCLocationDateTime(location, sFuture);\r\n \r\n //Check against database if there are any appointments within 15 min. \r\n if (Appointment.appointmentAvialableUser(sNowU,sFutureU) == false){\r\n //Message for Appointment within 15 min\r\n Alert alert = new Alert(Alert.AlertType.INFORMATION);\r\n alert.setTitle(\"Appointment\");\r\n alert.setHeaderText(\"Pending Appointment\");\r\n alert.setContentText(\"You have an Appointment with 15 min\");\r\n alert.showAndWait();\r\n } \r\n }", "title": "" }, { "docid": "209812223d8916a6c653f837ceda8191", "score": "0.58967733", "text": "public Alarm() {\r\n \r\n \t\r\n\tMachine.timer().setInterruptHandler(new Runnable() {\r\n\t\tpublic void run() { timerInterrupt(); }\r\n\t });\r\n }", "title": "" }, { "docid": "0fe24babdc45a8e2446ae72b31bbc2b5", "score": "0.5893434", "text": "public void onClick(View view) {\n\t\t\t\tstopService(alarmIntent);\n\t\t\t\tsetCurrentTime();\n\t\t\t\tsetCurrentDate();\n\t\t\t\tCalendar cal = Calendar.getInstance();\n\t\t\t\tmanager = (AlarmManager) getSystemService(Context.ALARM_SERVICE);\n\n\t\t\t\tSimpleDateFormat format = new SimpleDateFormat(\n\t\t\t\t\t\t\"MM-dd-yyyy HH:mm\");\n\t\t\t\tString setDateTime = date.getText().toString() + \" \"\n\t\t\t\t\t\t+ time.getText().toString();\n\t\t\t\tString currentDateTime = currentDate.toString() + \" \"\n\t\t\t\t\t\t+ currentTime.toString();\n\t\t\t\tDate d1 = null;\n\t\t\t\tDate d2 = null;\n\t\t\t\ttry {\n\t\t\t\t\td1 = format.parse(setDateTime);\n\t\t\t\t\td2 = format.parse(currentDateTime);\n\t\t\t\t\tLong diff = (d1.getTime() - d2.getTime());\n\t\t\t\t\tLog.i(\"works12\", \"Works in \" + diff.toString());\n\t\t\t\t\tBundle bundle = new Bundle();\n\t\t\t\t\tbundle.putString(\"phoneNo\", txtphoneNo.getText().toString());\n\t\t\t\t\tbundle.putString(\"txtMessage\", txtMessage.getText()\n\t\t\t\t\t\t\t.toString());\n\t\t\t\t\tbundle.putInt(\"serviceCounter\",1);\n\t\t\t\t\talarmIntent.putExtras(bundle);\n\t\t\t\t\tstartService(alarmIntent);\n\t\t\t\t\tmanager.setRepeating(AlarmManager.RTC_WAKEUP,\n\t\t\t\t\t\t\tcal.getTimeInMillis(), diff, pendingIntent);\n\t\t\t\t} catch (ParseException 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\n\t\t\t}", "title": "" }, { "docid": "ba34cece6aadb6ec107ff76b6f821dc7", "score": "0.5892119", "text": "public AlarmEntry(int startHour,int startMin,byte repeat,boolean isOn){\n this.startHour = startHour;\n this.startMin = startMin;\n this.repeat = repeat;\n this.isOn = isOn;\n }", "title": "" }, { "docid": "efaeb2fb458f25580eb66d4473cc8c4e", "score": "0.5890011", "text": "@Override\n\t\t\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\t\t\t\t\t\tIntent notificationIntent = new Intent(\n\t\t\t\t\t\t\t\tMainActivity.this, NotificationService.class);\n\t\t\t\t\t\tpendingIntent = PendingIntent.getService(\n\t\t\t\t\t\t\t\tMainActivity.this, 0, notificationIntent, 0);\n\t\t\t\t\t\tAlarmManager alarmManager = (AlarmManager) getSystemService(ALARM_SERVICE);\n\t\t\t\t\t\tCalendar calendar = Calendar.getInstance();\n\t\t\t\t\t\tcalendar.setTimeInMillis(System.currentTimeMillis());\n\t\t\t\t\t\tcalendar.add(Calendar.MINUTE, timings[which]);\n\t\t\t\t\t\talarmManager.set(AlarmManager.RTC_WAKEUP,\n\t\t\t\t\t\t\t\tcalendar.getTimeInMillis(), pendingIntent);\n\n\t\t\t\t\t\tToast.makeText(MainActivity.this,\n\t\t\t\t\t\t\t\t\"Reminder is Set!\", Toast.LENGTH_SHORT)\n\t\t\t\t\t\t\t\t.show();\n\t\t\t\t\t\tdialog.dismiss();\n\n\t\t\t\t\t\t// alert the user with another notification, that says\n\t\t\t\t\t\t// remider has set\n\n\t\t\t\t\t\t// Set the icon, scrolling text and timestamp\n\t\t\t\t\t\tUri soundUri = RingtoneManager\n\t\t\t\t\t\t\t\t.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION);\n\n\t\t\t\t\t\t// The PendingIntent to launch our activity if the user\n\t\t\t\t\t\t// selects this notification\n\t\t\t\t\t\tPendingIntent contentIntent = PendingIntent\n\t\t\t\t\t\t\t\t.getActivity(MainActivity.this, 0, new Intent(\n\t\t\t\t\t\t\t\t\t\tMainActivity.this, MainActivity.class),\n\t\t\t\t\t\t\t\t\t\t0);\n\n\t\t\t\t\t\tNotification notification = new Notification.Builder(\n\t\t\t\t\t\t\t\tMainActivity.this)\n\t\t\t\t\t\t\t\t.setContentTitle(\"ParkMyCar\")\n\t\t\t\t\t\t\t\t.setContentText(\n\t\t\t\t\t\t\t\t\t\t\"Reminder is set to: \"\n\t\t\t\t\t\t\t\t\t\t\t\t+ calendar.get(Calendar.HOUR)\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+ calendar.get(Calendar.MINUTE)\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+ calendar.getDisplayName(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tCalendar.AM_PM,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tCalendar.SHORT,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tLocale.US))\n\t\t\t\t\t\t\t\t.setWhen(System.currentTimeMillis())\n\t\t\t\t\t\t\t\t.setSound(soundUri)\n\t\t\t\t\t\t\t\t.setSmallIcon(R.drawable.ic_launcher)\n\t\t\t\t\t\t\t\t.setContentIntent(contentIntent)\n\t\t\t\t\t\t\t\t.setVibrate(\n\t\t\t\t\t\t\t\t\t\tnew long[] { 1000, 1000, 1000, 1000,\n\t\t\t\t\t\t\t\t\t\t\t\t1000 })\n\t\t\t\t\t\t\t\t.setLights(Color.RED, 3000, 3000).build();\n\n\t\t\t\t\t\t// clear notification after pressing:\n\t\t\t\t\t\tnotification.flags |= Notification.FLAG_AUTO_CANCEL;\n\n\t\t\t\t\t\t// Send the notification.\n\n\t\t\t\t\t\tNotificationManager mNM = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);\n\t\t\t\t\t\tif (mNM != null) {\n\t\t\t\t\t\t\tmNM.cancel(123456);\n\t\t\t\t\t\t\tmNM.cancel(123457);\n\t\t\t\t\t\t\tmNM.notify(123457, notification);\n\t\t\t\t\t\t}\n\t\t\t\t\t}", "title": "" }, { "docid": "3e093bd170d1d4acdb589a49cb801974", "score": "0.5889386", "text": "@Override\n public void onReceive(@NonNull Context context, Intent intent) {\n Log.d(\"SnoozeReceiver\", \"snoozing\");\n Calendar calendar = Calendar.getInstance();\n calendar.add(Calendar.MINUTE, Integer.parseInt(PreferenceManager.getDefaultSharedPreferences(context).getString(PreferenceKeys.SNOOZE, PreferenceKeys.DEFAULT_SNOOZE)));\n Alarm.setAlarm(calendar, context);\n NotificationManagerCompat.from(context).cancel(AlarmReceiver.NOTIFICATION_ID);\n PreferenceManager.getDefaultSharedPreferences(context).edit().putInt(PreferenceKeys.ALARM_MODE, 2).apply();\n AlarmReceiver.stopRingtone();\n context.sendBroadcast(new Intent(ALARM_BROADCAST));\n }", "title": "" }, { "docid": "8218ce26ace93f78775da16aaf423b04", "score": "0.5888053", "text": "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tif(cb5.isChecked()){\n\t\t\t\t\tContext c=MainActivity.this;\n\t\t\t\t\t//...................jan...1\n\t\t\t\t i5=new Intent(getBaseContext(),alarm5.class);\n\t\t\t pi5=PendingIntent.getBroadcast(getBaseContext(), 0, i5,PendingIntent.FLAG_CANCEL_CURRENT);\n\t\t\t Calendar cal5=Calendar.getInstance();\n\t\t\t cal5.setTimeInMillis(System.currentTimeMillis()); //cal.getTimeInMillis();\n\t\t\t // cal.set(2014,0,1, 6 ,00,00);\n\t\t\t //cal.add(Calendar.SECOND,5);\n\t\t\t \n\t\t\t cal5.set(Calendar.MONTH,1);\n\t\t\t cal5.set(Calendar.DAY_OF_MONTH,24);\n\t\t\t cal5.set(Calendar.HOUR_OF_DAY,7);\n\t\t\t cal5.set(Calendar.MINUTE,00);\n\t\t\t cal5.set(Calendar.SECOND, 00);\n\t\t\t manager=(AlarmManager) c.getSystemService(ALARM_SERVICE);\n\t\t\t manager.setRepeating(AlarmManager.RTC_WAKEUP,cal5.getTimeInMillis(),5*1000*60,pi5);\n\t\t\t \n\t\t\t\t\tb5.setVisibility(View.VISIBLE);\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "ac4f631e50a2baf65bbbb710b7963858", "score": "0.58835584", "text": "public void MADailyTimesheet()\r\n\t{\r\n\t\tString pass = \"MA_Daily\";\r\n\t\talaskaAssociate(pass);\r\n\t}", "title": "" }, { "docid": "e6378d7db1ec48af02fc2d04e0654220", "score": "0.5871751", "text": "@Scheduled(every = \"1m\")\n void onTime(){\n }", "title": "" }, { "docid": "64a441d9df6c8d6c8ce83cd22a14ce5a", "score": "0.5866127", "text": "private void createSystemTimer(long time, int id, Intent intent){\n\t\tPendingIntent startVibrating = PendingIntent.getBroadcast(parent,\n\t\t\t\tid, intent, PendingIntent.FLAG_UPDATE_CURRENT);\n\t\tam.setRepeating(AlarmManager.RTC, time, WEEK_MILLISECONDS, startVibrating); \n\t}", "title": "" }, { "docid": "1771b27e521e06e05a25ee437c39e3fd", "score": "0.5865324", "text": "@Scheduled(cron=\"0 0 23 * * *\")\n\t//@Scheduled(cron=\"0 59 16 * * *\")\n\t//@Scheduled(cron=\"*/5 * * * * ?\")\n\t//@Scheduled(cron=\"*/5 * * * * *\")\n\tpublic void doSchedule() {\n\t\tlogger.info(\"Start schedule\");\n\t\tmraWorker.work();\n\t\tlogger.info(\"End schedule\");\n\t}", "title": "" }, { "docid": "8fe3360fffbff330f5165f0b9afd11b7", "score": "0.58541465", "text": "public Alarm() {\n\t\tthis.id = this.generateUniqueId();\n\t\t\n\t\tCalendar calendar = Calendar.getInstance();\n\t\tthis.hour = calendar.get(Calendar.HOUR_OF_DAY);\n\t\tthis.minute = calendar.get(Calendar.MINUTE);\n\t\t\n\t\tthis.city = new City();\n\t\tthis.active = Boolean.TRUE;\n\t}", "title": "" }, { "docid": "415592eceeafe681cec9131a29f1b31d", "score": "0.58537143", "text": "public void openAlarm() {\n Intent intent = new Intent(this, alarm.class);\n startActivity(intent);\n }", "title": "" }, { "docid": "f1395f4b3f8a2984afa11d08f76b9e50", "score": "0.58523154", "text": "WarbandsAlarm() {\n\n dayToEpochMillis = processFile(\"warbands.txt\");\n\n }", "title": "" }, { "docid": "9c6b8329250507178102fd90693867cb", "score": "0.58492553", "text": "public static void startRepeatingNotificationService(Context context) {\n\t\tIntent intent = new Intent(context, CheckNotificationServiceReceiver.class);\n\t\tPendingIntent pending = PendingIntent.getBroadcast(context, 0, intent, PendingIntent.FLAG_CANCEL_CURRENT);\n\t\tAlarmManager service = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);\n\t\tCalendar cal = Calendar.getInstance();\n\t\t//start 10 minutes after the boot is completed or after called\n\t\tcal.add(Calendar.MINUTE, 10);\n\t\t//fetch in exactly half an hour\n\t\tservice.setInexactRepeating(AlarmManager.RTC_WAKEUP, cal.getTimeInMillis(), AlarmManager.INTERVAL_HOUR, pending);\n\t}", "title": "" }, { "docid": "657c1ada4477bcc7ec17a14477b2c6fc", "score": "0.5837954", "text": "public void alarmSet(long num){\n Calendar t = Calendar.getInstance();\n // Set start time after the given time\n t.setTimeInMillis(num);\n result = true;\n Context context = this;\n AlarmManager alarmMgr;\n alarmMgr = (AlarmManager)getSystemService(Context.ALARM_SERVICE);\n Intent intent = new Intent(this, AlarmReceiver.class);\n intent.putExtra(\"some_constant\", result);\n PendingIntent pendingIntent = PendingIntent.getBroadcast(context, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT);\n alarmMgr.set(AlarmManager.RTC_WAKEUP, t.getTimeInMillis(), pendingIntent);\n\n // Start getting hardware data to determine what is the right time to stop.\n getDataAsyncTask tsk = new getDataAsyncTask(num+1000);\n tsk.execute();\n }", "title": "" }, { "docid": "e3921b79c1bda93376729e27ee59213e", "score": "0.58361137", "text": "public void schedule();", "title": "" }, { "docid": "3b6460b773b70215a7d75e2eeceda65b", "score": "0.58320993", "text": "@Override\n public void onTimeSet(TimePicker view, int hourOfDay, int minute) {\n cHour = hourOfDay;\n cMinute = minute;\n\n customCalender.set(cYear,cMonth,cDay,cHour,cMinute);\n\n startTime = customCalender.getTimeInMillis();\n startAlarm((int) startTime);\n tvDate.setText(date_time+\" \"+hourOfDay + \":\" + minute);\n }", "title": "" }, { "docid": "a7879e6f9c28ee3dd8686fb0a7429309", "score": "0.5830191", "text": "@Override\r\n\tpublic void morning() {\n\t\tSystem.out.println(\"Shubodaya\");\r\n\t\t\r\n\t}", "title": "" }, { "docid": "bb88c2c1a3c6472de7408beef2b3cbe3", "score": "0.58285964", "text": "protected void setExpirationAlarm() {\n AlarmManager alarmManager = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE);\n Intent intent = new Intent(ACTION_ALARM_EXPIRING);\n PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, 0, intent, PendingIntent.FLAG_ONE_SHOT\n | PendingIntent.FLAG_UPDATE_CURRENT);\n alarmManager.cancel(pendingIntent);\n long expirationDate = getAlarmExpiration();\n if (getAlarmExpirationTimeout() > 0 && expirationDate > 0) {\n long currentTimeMillis = System.currentTimeMillis();\n long timeout = expirationDate - currentTimeMillis;\n // if alarm has expired, recalculate a new expiration date\n if (timeout <= 0) {\n expirationDate = currentTimeMillis + timeout % MS_PER_DAY + MS_PER_DAY;\n expirationDate = currentTimeMillis + getAlarmExpirationTimeout();\n }\n\n alarmManager.set(AlarmManager.RTC, expirationDate, pendingIntent);\n }\n }", "title": "" }, { "docid": "b29051c62224b113c8cff92a1447c2d1", "score": "0.5827688", "text": "@Override\n public void autonomousPeriodic() {\n SmartDashboard.putNumber(\"MatchTime\", Timer.getMatchTime());\n Scheduler.getInstance().run();\n }", "title": "" }, { "docid": "35c725ddc6f3d65e03f48ad139bf9a57", "score": "0.58096844", "text": "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tif(cb4.isChecked()){\n\t\t\t\t\tContext c=MainActivity.this;\n\t\t\t\t\t//...................jan...1\n\t\t\t\t i4=new Intent(getBaseContext(),alarm4.class);\n\t\t\t pi4=PendingIntent.getBroadcast(getBaseContext(), 0, i4,PendingIntent.FLAG_CANCEL_CURRENT);\n\t\t\t Calendar cal4=Calendar.getInstance();\n\t\t\t cal4.setTimeInMillis(System.currentTimeMillis()); //cal.getTimeInMillis();\n\t\t\t // cal.set(2014,0,1, 6 ,00,00);\n\t\t\t //cal.add(Calendar.SECOND,5);\n\t\t\t \n\t\t\t cal4.set(Calendar.MONTH,1);\n\t\t\t cal4.set(Calendar.DAY_OF_MONTH,16);\n\t\t\t cal4.set(Calendar.HOUR_OF_DAY,7);\n\t\t\t cal4.set(Calendar.MINUTE,00);\n\t\t\t cal4.set(Calendar.SECOND, 00);\n\t\t\t manager=(AlarmManager) c.getSystemService(ALARM_SERVICE);\n\t\t\t manager.setRepeating(AlarmManager.RTC_WAKEUP,cal4.getTimeInMillis(),5*1000*60,pi4);\n\t\t\t \n\t\t\t\t\tb4.setVisibility(View.VISIBLE);\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "71fa497364805b5f63e8aa1100497617", "score": "0.58076096", "text": "private void setRecurringAlarmTest(Context context) {\r\n long minuteCollect = 1000 * 60L;\r\n\r\n Calendar updateTime = Calendar.getInstance();\r\n updateTime.setTimeInMillis(System.currentTimeMillis());\r\n\r\n Intent downloader = new Intent(context, StatsCollectionAlarmReceiver.class);\r\n PendingIntent statCollector = PendingIntent.getBroadcast(context,\r\n 0, downloader, 0);\r\n AlarmManager alarms = (AlarmManager) getSystemService(\r\n Context.ALARM_SERVICE);\r\n alarms.setInexactRepeating(AlarmManager.RTC_WAKEUP,\r\n updateTime.getTimeInMillis(),\r\n minuteCollect, statCollector);\r\n\r\n Calendar uploadTime = Calendar.getInstance();\r\n uploadTime.setTimeInMillis(System.currentTimeMillis());\r\n\r\n Intent uploadIntent = new Intent(context, ServerUploaderReceiver.class);\r\n PendingIntent uploadPending = PendingIntent.getBroadcast(context, 0, uploadIntent, 0);\r\n AlarmManager uploadAlarm = (AlarmManager) getSystemService(Context.ALARM_SERVICE);\r\n uploadAlarm.setInexactRepeating(AlarmManager.RTC_WAKEUP,\r\n uploadTime.getTimeInMillis(),\r\n AlarmManager.INTERVAL_HOUR,\r\n uploadPending);\r\n }", "title": "" }, { "docid": "7e32abf70454898d690565df85a4d191", "score": "0.5806986", "text": "public void startAlertTimer() {\n alertTimer = new Timer();\n alertTimer.scheduleAtFixedRate(new AlertTask(this.activeClock, this.activeCalendar), new Date(), interval);\n this.setChanged();\n }", "title": "" }, { "docid": "3c9fb777e00f7b73089c91d16f40f934", "score": "0.5802248", "text": "public void setAlarms(Context context) {\r\n\t\tCalendar calendar = Calendar.getInstance();\r\n\t\t\r\n\t\t// Set repeating alarm for notifying the user\r\n//\t\tcalendar.set(Calendar.HOUR_OF_DAY, 12);\r\n//\t\tcalendar.set(Calendar.MINUTE, 0);\r\n//\t\tcalendar.set(Calendar.SECOND, 0);\r\n\t\tIntent notification = new Intent(context, NotificationReceiver.class);\r\n\t\tnotificationPendingIntent = PendingIntent.getBroadcast(context, 0, notification, PendingIntent.FLAG_CANCEL_CURRENT);\r\n\t\talarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);\r\n\t\talarmManager.cancel(notificationPendingIntent);\r\n//\t\talarmManager.setRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis() + 3*AlarmManager.INTERVAL_DAY,\r\n//\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t3*AlarmManager.INTERVAL_DAY, notificationPendingIntent);\r\n\r\n\t\t// Set repeating alarm for fetching data from server\r\n\t\tint hours = 10 + (int) (Math.random() * ((12 - 10) + 1));\r\n\t\tint minutes = 0 + (int) (Math.random() * ((60 - 0) + 1));\r\n\t\tcalendar.set(Calendar.HOUR_OF_DAY, hours);\r\n\t\tcalendar.set(Calendar.MINUTE, minutes);\r\n\t\tcalendar.set(Calendar.SECOND, 0);\r\n\t\tIntent dataFetch = new Intent(context, DataFetchReceiver.class);\r\n\t\tfetchingPendingIntent = PendingIntent.getBroadcast(context, 0, dataFetch, PendingIntent.FLAG_CANCEL_CURRENT);\r\n\t\talarmManager.cancel(fetchingPendingIntent);\r\n\t\talarmManager.setRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis() + AlarmManager.INTERVAL_DAY,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlarmManager.INTERVAL_DAY, fetchingPendingIntent);\r\n\t\t\r\n\t\t// Set repeating alarm for uploading usage data to server\r\n\t\thours = 17 + (int) (Math.random() * ((19 - 17) + 1));\r\n\t\tminutes = 0 + (int) (Math.random() * ((60 - 0) + 1));\r\n\t\tcalendar.set(Calendar.HOUR_OF_DAY, hours);\r\n\t\tcalendar.set(Calendar.MINUTE, minutes);\r\n\t\tcalendar.set(Calendar.SECOND, 0);\r\n\t\tIntent usageUpload = new Intent(context, UsageUploadReceiver.class);\r\n\t\tuploadPendingIntent = PendingIntent.getBroadcast(context, 0, usageUpload, PendingIntent.FLAG_CANCEL_CURRENT);\r\n\t\talarmManager.cancel(uploadPendingIntent);\r\n\t\talarmManager.setRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), AlarmManager.INTERVAL_DAY, uploadPendingIntent);\r\n\t}", "title": "" }, { "docid": "076f34b36c7b4e471c347f60a079456b", "score": "0.5799728", "text": "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tif(cb1.isChecked()){\n\t\t\t\t\tContext c=MainActivity.this;\n\t\t\t\t\t//...................jan...1\n\t\t\t\t i=new Intent(getBaseContext(),alarm.class);\n\t\t\t pi=PendingIntent.getBroadcast(getBaseContext(), 0, i,PendingIntent.FLAG_CANCEL_CURRENT);\n\t\t\t Calendar cal=Calendar.getInstance();\n\t\t\t cal.setTimeInMillis(System.currentTimeMillis()); //cal.getTimeInMillis();\n\t\t\t // cal.set(2014,0,1, 6 ,00,00);\n\t\t\t //cal.add(Calendar.SECOND,5);\n\t\t\t \n\t\t\t cal.set(Calendar.MONTH,0);\n\t\t\t cal.set(Calendar.DAY_OF_MONTH,30);\n\t\t\t cal.set(Calendar.HOUR_OF_DAY,7);\n\t\t\t cal.set(Calendar.MINUTE,00);\n\t\t\t cal.set(Calendar.SECOND, 00);\n\t\t\t manager=(AlarmManager) c.getSystemService(ALARM_SERVICE);\n\t\t\t manager.setRepeating(AlarmManager.RTC_WAKEUP,cal.getTimeInMillis(),5*1000*60,pi);\n\t\t\t \n\t\t\t\t\tb.setVisibility(View.VISIBLE);\n\t\t\t\t\t\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\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "f748476da136c13d3d08d373395bbd25", "score": "0.57983375", "text": "public void test_repeatEachHour_iterations_noSchedule(){\n\t\tDate now = new Date(112, 4, 3, 21, 31);\n\t\tDate end = new Date(112, 5, 3, 12, 31);\n\t\tDate start = new Date(112, 4, 3, 18, 38);\n\n\t\tReminder a = new Reminder(\"\", \"\", start, end, true, Reminder.END_TYPE_ITERATIONS, Reminder.REPEAT_PERIOD_HOUR, 1, 2);\n\t\t\n\t\tDate result = a.getNextTimeLapse(now);\n\t\tassertNull(result);\n\t}", "title": "" } ]
c59c9c399b56649f4d4a85b05767460b
EVENT HANDLERS ////////////////////////////////////////////////////////// / If sources for events kept isolated, components (Toolbars, Menubars, CrossReferences) can be added to any frame.
[ { "docid": "5d994598d53c077e3511d3f8785e7b95", "score": "0.0", "text": "@Override\n\tpublic void referenceClicked(String link) {\n\t\tnoteMap.openClickedNote(link);\n\t}", "title": "" } ]
[ { "docid": "3f4aa2e755d09aad8f0181917f9602b6", "score": "0.6619256", "text": "private static void eventController(){\r\n\r\n\t\t_frame.addWindowListener(new WindowAdapter(){ \t\t\t\t//windowAdapter is a dummy class\r\n\t\t\t@Override\r\n\t\t\tpublic void windowClosing(WindowEvent e){\r\n\t\t\t\tquit();\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\t_send.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\tperformAction();\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\t_menuItemBrown.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\t_corpusNormalizer.show();\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\t_menuItemLocations.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\t_fileLocator.show();\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\t_menuItemAnalysis.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\t_analysis.show();\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\t_menuItemQuit.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\tquit();\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\t_menuItemPennTags.addActionListener(new ActionListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\t_pennTagViewer.show();\r\n\t\t\t}\r\n\t\t});\r\n\t}", "title": "" }, { "docid": "c4ad984de1e98aa3b12e62ac5af34ef1", "score": "0.6332061", "text": "@Override\n\t\t\tpublic void componentShown(ComponentEvent e) {\n\t\t\t}", "title": "" }, { "docid": "d23cc24a653b2cfca530956896f7ab90", "score": "0.6329105", "text": "@Override\r\n\tpublic void componentMoved(ComponentEvent e) {\n\r\n\t}", "title": "" }, { "docid": "52e2782a26edc9fa0c47e09ff9608039", "score": "0.63215", "text": "@Override\n public void componentShown(ComponentEvent e) {\n }", "title": "" }, { "docid": "52e2782a26edc9fa0c47e09ff9608039", "score": "0.63215", "text": "@Override\n public void componentShown(ComponentEvent e) {\n }", "title": "" }, { "docid": "52e2782a26edc9fa0c47e09ff9608039", "score": "0.63215", "text": "@Override\n public void componentShown(ComponentEvent e) {\n }", "title": "" }, { "docid": "52e2782a26edc9fa0c47e09ff9608039", "score": "0.63215", "text": "@Override\n public void componentShown(ComponentEvent e) {\n }", "title": "" }, { "docid": "52e2782a26edc9fa0c47e09ff9608039", "score": "0.63215", "text": "@Override\n public void componentShown(ComponentEvent e) {\n }", "title": "" }, { "docid": "da6cde8af55307cc94a43a14cc749abe", "score": "0.6315602", "text": "public void event_BeforeShowComponent(Component comp) { }", "title": "" }, { "docid": "f66d716aae7ca6bd992a6121283f1f81", "score": "0.6281535", "text": "@Override\n\tpublic void componentShown(ComponentEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "f66d716aae7ca6bd992a6121283f1f81", "score": "0.6281535", "text": "@Override\n\tpublic void componentShown(ComponentEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "0f1300c360c84351aba5a2f3c9a6b926", "score": "0.62809074", "text": "protected void onGuiEvent(GuiEvent e) {\n }", "title": "" }, { "docid": "0f1300c360c84351aba5a2f3c9a6b926", "score": "0.62809074", "text": "protected void onGuiEvent(GuiEvent e) {\n }", "title": "" }, { "docid": "facf7e7bb1fb1c03a2ee9674af1ad53c", "score": "0.6275093", "text": "@Override\r\n\tpublic void componentShown(ComponentEvent arg0) {\n\t\t\r\n\t}", "title": "" }, { "docid": "3b22b413685634086acfad68ee157dac", "score": "0.62619966", "text": "private CommonButtonPanelListener(JFrame parent) {\r\n\t\t\tthis.parent = parent;\r\n\t\t}", "title": "" }, { "docid": "c6739eacb29f1ad84928e88c66b3438d", "score": "0.6261136", "text": "@Override\n\t\t public void componentShown(ComponentEvent e) {\n\t\n\t\t }", "title": "" }, { "docid": "595cce674adeb1491ecd5b90cfd1f6e0", "score": "0.6247599", "text": "public void componentMoved(ComponentEvent e) {\r\n\t\t\t\tlogger.finest(\"window frame moved\");\r\n\t\t\t\t\r\n\t\t\t\tpopUpNotification.setVisible(false);\r\n\t\t\t\tpopUpHelp.setVisible(false);\r\n\t\t\t\tinitPopUps();\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "40d1ab1c095569c6f179b442680c3cb1", "score": "0.62419796", "text": "@Override\n\tpublic void componentShown(ComponentEvent arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "40d1ab1c095569c6f179b442680c3cb1", "score": "0.62419796", "text": "@Override\n\tpublic void componentShown(ComponentEvent arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "ac967da19ca9061b8c396f25008d5ae5", "score": "0.62344575", "text": "private void formInternalFrameActivated(javax.swing.event.InternalFrameEvent evt) {\n \n }", "title": "" }, { "docid": "f068f0d205e77fb04451d4e45b7d4e0a", "score": "0.62254566", "text": "@Override\n public void componentMoved(ComponentEvent e) {\n }", "title": "" }, { "docid": "f068f0d205e77fb04451d4e45b7d4e0a", "score": "0.62254566", "text": "@Override\n public void componentMoved(ComponentEvent e) {\n }", "title": "" }, { "docid": "f068f0d205e77fb04451d4e45b7d4e0a", "score": "0.62254566", "text": "@Override\n public void componentMoved(ComponentEvent e) {\n }", "title": "" }, { "docid": "f068f0d205e77fb04451d4e45b7d4e0a", "score": "0.62254566", "text": "@Override\n public void componentMoved(ComponentEvent e) {\n }", "title": "" }, { "docid": "f068f0d205e77fb04451d4e45b7d4e0a", "score": "0.62254566", "text": "@Override\n public void componentMoved(ComponentEvent e) {\n }", "title": "" }, { "docid": "f69d4d86e7f9bec61b2685cb299fe313", "score": "0.6225118", "text": "@Override\r\n\tpublic void componentMoved(ComponentEvent arg0) {\n\t}", "title": "" }, { "docid": "c8f76c6733ca26d90b2be67f481a61cc", "score": "0.6216025", "text": "private void addEvents() {\n\t\tthis.addMouseListener(new MouseAdapter() {\n\t\t\tpublic void mouseClicked(java.awt.event.MouseEvent evt) {\n\t\t\t\txuLyShowProduct();\n \n }\n\t\t});\n\t\tbtnShow.addActionListener(new ActionListener() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\txuLyShowProduct();\n\t\t\t}\n\t\t});\n\t\tbtnAdd.addActionListener(new ActionListener() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\txuLyThemSanPhamVaoGioHang();\n\t\t\t}\n\t\t});\n\t}", "title": "" }, { "docid": "b82a5e39e57cd0a54075f0aa1deb9ee6", "score": "0.62088144", "text": "@Override\n\tpublic void componentShown(ComponentEvent arg0) {\n\n\t}", "title": "" }, { "docid": "432f06c91bb7eefeb90d8407c082bfc7", "score": "0.62059665", "text": "@Override\r\n\tpublic void internalFrameActivated(InternalFrameEvent e) {\n\t\t\r\n\t}", "title": "" }, { "docid": "329060485d04cc50a65f34ee42e7e249", "score": "0.62015164", "text": "@Override\n\tpublic void componentMoved(ComponentEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "329060485d04cc50a65f34ee42e7e249", "score": "0.62015164", "text": "@Override\n\tpublic void componentMoved(ComponentEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "258be6c2504f72b1058824edec7c7a80", "score": "0.61689436", "text": "@Override\n\tpublic void componentMoved(ComponentEvent arg0) {\n\n\t}", "title": "" }, { "docid": "7a485cda48020b6cc04d639212f40df0", "score": "0.61605763", "text": "@Override\n\tpublic void componentMoved(ComponentEvent arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "7a485cda48020b6cc04d639212f40df0", "score": "0.61605763", "text": "@Override\n\tpublic void componentMoved(ComponentEvent arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "4b9078854225198512eff10269b110e9", "score": "0.61592907", "text": "@Override\n\t\t\tpublic void componentMoved(ComponentEvent e) {\n\t\t\t}", "title": "" }, { "docid": "59bb167b2335a7a4357097af70fa1540", "score": "0.6140193", "text": "public void componentShown(ComponentEvent e) {\n \t}", "title": "" }, { "docid": "2e3c430f334ab62be5dd096079cbfdf6", "score": "0.61350083", "text": "@Override\r\n\tpublic void internalFrameOpened(InternalFrameEvent e) {\n\t\t\r\n\t}", "title": "" }, { "docid": "8ef7a499ee9338989be5156cbdf4e6a3", "score": "0.6132899", "text": "@Override\n\t\t public void componentMoved(ComponentEvent e) {\n\t\n\t\t }", "title": "" }, { "docid": "f738b18217b24a8f731912ff8aa9a1c1", "score": "0.61241937", "text": "public void handleEvent(Event event) {\n if (toolBarManager.getContextMenuManager() == null) {\n handleContextMenu(event);\n }\n }", "title": "" }, { "docid": "3ed33d8abbb19588c42ea5eb215347ce", "score": "0.61135834", "text": "private void actionListeners(){\n\t\t_event = new EventHandler(_model);\n\t\t_burningShipMenu.addActionListener(_event);\n\t\t_juliaMenu.addActionListener(_event);\n\t\t_multibrotMenu.addActionListener(_event);\n\t\t_mandelbrotMenu.addActionListener(_event);\n\t\t\n\t\t_color0Menu.addActionListener(_event);\n\t\t_color1Menu.addActionListener(_event);\n\t\t_color2Menu.addActionListener(_event);\n\t\t_color3Menu.addActionListener(_event);\n\t\t_escapeDistMenu.addActionListener(_event);\n\t\t_setMaxPassesMenu.addActionListener(_event);\n\t\t_resetZoomMenu.addActionListener(_event);\n\t\t_setNumThreadsMenu.addActionListener(_event);\n\t\t_exit.addActionListener(_event);\n\t\t_mevent = new MouseHandler(_model, this);\n\t\t_fractalPanel.addMouseListener(_mevent);\n\t\t_fractalPanel.addMouseMotionListener(_mevent);\n\t}", "title": "" }, { "docid": "6fc4b78274a7f034ec0b2de2176ee012", "score": "0.61064637", "text": "public NewEventActionListener(EnvironmentFrame parentFrame)\n {\n this.parentFrame = parentFrame;\n }", "title": "" }, { "docid": "435735a2cb14265771e19c8f478a3521", "score": "0.60918677", "text": "@Override\r\n\t\tpublic void internalFrameActivated(InternalFrameEvent e) {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "e6e619e42df3508ff0f4abec2b243332", "score": "0.60593307", "text": "public void componentShown(ComponentEvent e) {\r\n }", "title": "" }, { "docid": "f193552339c2a6da445e2b6361a44f58", "score": "0.6057811", "text": "public void componentShown(ComponentEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "03a0c446b89025094ec407e7f738e3db", "score": "0.6053773", "text": "@Override\r\n\tpublic void internalFrameIconified(InternalFrameEvent e) {\n\t\t\r\n\t}", "title": "" }, { "docid": "3e5de15575858621441263780e84acce", "score": "0.604627", "text": "private MenuBarListener(JFrame parent) {\r\n\t\t\tthis.parent = parent;\r\n\t\t}", "title": "" }, { "docid": "222ae77288f4104290479c838e5cf545", "score": "0.60279995", "text": "private void addEvents() {\n\t\taddDomHandler(new MouseOverHandler() {\n\n\t\t\tpublic void onMouseOver(MouseOverEvent event) {\n\t\t\t\taddThisOpen(anchor.getElement());\n\t\t\t}\n\t\t}, MouseOverEvent.getType());\n\t\taddDomHandler(new MouseOutHandler() {\n\n\t\t\tpublic void onMouseOut(MouseOutEvent event) {\n\t\t\t\taddThisClose();\n\t\t\t}\n\t\t}, MouseOutEvent.getType());\n\t\taddDomHandler(new ClickHandler() {\n\n\t\t\tpublic void onClick(ClickEvent event) {\n\t\t\t\taddThisSendTo();\n\t\t\t\tevent.preventDefault();\n\t\t\t}\n\t\t}, ClickEvent.getType());\n\t}", "title": "" }, { "docid": "35e91c016e099e4e074454dc8901d164", "score": "0.60177994", "text": "public GuiListener(MainFrame frame) {\n\n\t\tthis.frame = frame;\n\n\t\t/* the bad words, which are available in the class MainFrame, are added to the bad word \n\t\t filter-object */\n\t\t\n\t\tfilter = new BadWordFilter(new Message(\"\", \"\"));\n\t\tfilter.addBadWords(frame.badWords);\n\n\t\t/* the translations, which are available in the class MainFrame, are added to the \n\t\t translator-object */\n\t\t\n\t\ttranslator = new Translator(filter);\n\t\ttranslator.addTranslations(frame.translations);\n\t}", "title": "" }, { "docid": "ab52124cc5491350bbdef457c2d5fbaa", "score": "0.6015831", "text": "@Override\r\n\t\tpublic void internalFrameOpened(InternalFrameEvent e) {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "d84fb7a433337dc392930a0d231ae66b", "score": "0.6011281", "text": "private void attachEventHandlers() {\n // About Menu Item Handler\n optionsModuleChooserMenuBar.addAboutHandler(a -> alertDialogBuilder(AlertType.INFORMATION, \"Information Dialog\", null, \"Options Module Chooser MVC app v1.0\"));\n\n // Exit Menu Item Handler\n optionsModuleChooserMenuBar.addExitHandler(e -> System.exit(0));\n\n // Creating, Save and Load the Students Profile\n studentProfileViewPane.addCreateStudentProfileHandler(new StudentProfilesHandler());\n optionsModuleChooserMenuBar.addLoadStudentDataHandler(new LoadStudentHandler());\n optionsModuleChooserMenuBar.addSaveStudentDataHandler(new SaveStudentHandler());\n\n // Submit Button Module Selections\n moduleSelectionViewPane.addSubmitModulesHandler(new SubmitModulesHandler());\n\n // Reset Button\n moduleSelectionViewPane.addResetModulesHandler(new ResetModulesHandler());\n\n // Term 1 - Add & Remove Handlers\n term1SelectionPane.addAddHandler(new AddHandler(term1SelectionPane));\n term1SelectionPane.addRemoveHandler(new RemoveHandler(term1SelectionPane));\n\n // Term 2 - Add & Remove Handlers\n term2SelectionPane.addAddHandler(new AddHandler(term2SelectionPane));\n term2SelectionPane.addRemoveHandler(new RemoveHandler(term2SelectionPane));\n\n // Term 1 - Select and Remove items with double clicks\n term1SelectionPane.addDoubleMouseAddClickSelectionHandler(new DoubleMouseAddClickSelectionHandler(term1SelectionPane));\n term1SelectionPane.addDoubleMouseRemoveClickSelectionHandler(new DoubleMouseRemoveClickSelectionHandler(term1SelectionPane));\n\n // Term 2 - Select and Remove items with double clicks\n term2SelectionPane.addDoubleMouseAddClickSelectionHandler(new DoubleMouseAddClickSelectionHandler(term2SelectionPane));\n term2SelectionPane.addDoubleMouseRemoveClickSelectionHandler(new DoubleMouseRemoveClickSelectionHandler(term2SelectionPane));\n\n overviewViewPane.addSaveOverviewHandler(new SaveOverviewHandler());\n\n optionsModuleChooserMenuBar.addLoadCourseDataHandler(new LoadCoursesHandler());\n }", "title": "" }, { "docid": "3592c139f4826b256ca0abb86d96944a", "score": "0.6003618", "text": "@Override\n\t\t\t\tpublic void internalFrameIconified(InternalFrameEvent arg0) {\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "6d3088a7e312edb7709f1b4fc55066e6", "score": "0.5992633", "text": "@Override\n\t\t\t\tpublic void internalFrameOpened(InternalFrameEvent arg0) {\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "c3a04e68571ef98ac5b67e932d393d89", "score": "0.59763455", "text": "@Override\n\tpublic void addEventHandlers() {\n\n\t}", "title": "" }, { "docid": "331a7f935dd9b9665455259e844698c2", "score": "0.59609246", "text": "@Override\r\n\t\tpublic void internalFrameIconified(InternalFrameEvent e) {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "b673baa8201dd9e8b4d5828f66442499", "score": "0.5950886", "text": "public void componentShown(final ComponentEvent e)\r\n {\r\n // Nothing to do here\r\n }", "title": "" }, { "docid": "a088a43012f93b0737855367e07e3981", "score": "0.59369737", "text": "public void componentMoved(ComponentEvent arg0) {\n\n }", "title": "" }, { "docid": "c60b1ed30187f50ab99cc35cee64ece3", "score": "0.5908967", "text": "interface FrameOrderingPanelListener {\n\tvoid frameOrderingPanel_hotItemClicked(int iId);\n\tvoid frameOrderingPanel_hotItemLongClicked(int iId);\n\tvoid frameOrderingPanel_functionClicked(int iId, String[] sName, String sParameter);\n\tvoid frameOrderingPanel_lookupClicked(int iId);\n\tvoid frameOrderingPanel_hotModifierClicked(int iId, String sParameter);\n\tvoid frameOrderingPanel_modifierLookupClicked(int iId, String sParameter);\n\tvoid frameOrderingPanel_paymentClicked(int iId, String sParameter);\n\tvoid frameOrderingPanel_subPanelPageClicked(int iId);\n\tvoid frameOrderingPanel_discountClicked(int iId, String sParameter);\n\tvoid frameOrderingPanel_tabClicked();\n\tvoid frameOrderingPanel_UpdateMenuItem();\n\tboolean frameOrderingPanel_OrderingTimeout();\n\tboolean frameOrderingPanel_CashierTimeout();\n\tvoid frameOrderingPanel_barcodeReaded(int iCurrentFrameId, String sValue);\n\tvoid frameOrderingPanel_clearOctopusDisplay();\n}", "title": "" }, { "docid": "c748c7cecfc649f6ec0f7535427baa4e", "score": "0.5894442", "text": "@Override //also have listener that displays\n public void mouseClicked(MouseEvent e) { //all the tasks of that much\n monthFrame.makeNewFrame();\n }", "title": "" }, { "docid": "af3369140ff933721cf8eb7fe4d9830d", "score": "0.5882799", "text": "private void addListeners(){\n newBtn.addEventHandler(MouseEvent.MOUSE_RELEASED,\n new EventHandler<MouseEvent>() {\n @Override\n public void handle(MouseEvent e) {\n create();\n }\n }\n );\n\n openBtn.addEventHandler(MouseEvent.MOUSE_RELEASED,\n new EventHandler<MouseEvent>() {\n @Override\n public void handle(MouseEvent e) {\n open();\n }\n }\n );\n }", "title": "" }, { "docid": "588de7f3205e50f7885e0679ffdf7a25", "score": "0.5876322", "text": "public void componentMoved(ComponentEvent e) {\n\t\t\n\t}", "title": "" }, { "docid": "3cdcb8d0fc2f92f4fb6b613a1697e758", "score": "0.58579344", "text": "@Override\r\n protected void handleEvent(AppEvent event)\r\n {\n if (event.getType() == AppEvents.ViewOAITest) {\r\n LayoutContainer centerPanel = (LayoutContainer) Registry.get(AppView.CENTER_PANEL);\r\n centerPanel.removeAll();\r\n\r\n eraseBrowseNavPanel();\r\n\r\n centerPanel.add(oaiTestPanel);\r\n oaiTestPanel.newOAITest();\r\n centerPanel.layout();\r\n }\r\n if (event.getType() == AppEvents.ViewOAISpecificSet) {\r\n LayoutContainer centerPanel = (LayoutContainer) Registry.get(AppView.CENTER_PANEL);\r\n centerPanel.removeAll();\r\n\r\n eraseBrowseNavPanel();\r\n\r\n centerPanel.add(oaiTestPanel);\r\n DataSourceUI dataSourceUI = (DataSourceUI) event.getData();\r\n oaiTestPanel.loadOAITest(dataSourceUI);\r\n centerPanel.layout();\r\n }else if (event.getType() == AppEvents.ViewRestRecordOperations) {\r\n LayoutContainer centerPanel = (LayoutContainer) Registry.get(AppView.CENTER_PANEL);\r\n centerPanel.removeAll();\r\n\r\n eraseBrowseNavPanel();\r\n\r\n centerPanel.add(restRecordOperationsPanel);\r\n centerPanel.layout();\r\n }\r\n }", "title": "" }, { "docid": "de6ac1126e655d4e3bb5d3099bdda571", "score": "0.5857157", "text": "private void createEvents() {\n\r\n\t\tbtnWr.addActionListener((ActionListener) new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\tMenu frame = new Menu(getContentPane().getSize().width, getContentPane().getSize().height,\r\n\t\t\t\t\t\tgetContentPane().getBounds().x, getContentPane().getBounds().y,\r\n\t\t\t\t\t\tgetContentPane().getBounds().width, getContentPane().getBounds().height);\r\n\t\t\t\tdispose();\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tbtnDodajNowOsob.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\tTypLekcjaFrame frame = new TypLekcjaFrame(getContentPane().getSize().width,\r\n\t\t\t\t\t\tgetContentPane().getSize().height, getContentPane().getBounds().x,\r\n\t\t\t\t\t\tgetContentPane().getBounds().y, getContentPane().getBounds().width,\r\n\t\t\t\t\t\tgetContentPane().getBounds().height);\r\n\t\t\t\tdispose();\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\t// gdy klikniemy w element po lewej stronie\r\n\t\tlessonJList.addMouseListener(new MouseAdapter() {\r\n\t\t\tpublic void mouseClicked(MouseEvent e) {\r\n\r\n\t\t\t\tint id = ((Lekcja) lessonList.get(lessonJList.getSelectedIndex())).getId();\r\n\r\n\t\t\t\tSession session = HibernateUtil.getSessionFactory().getCurrentSession();\r\n\t\t\t\tsession.beginTransaction();\r\n\t\t\t\tLekcja lesson = session.get(Lekcja.class, id);\r\n\r\n\t\t\t\tDefaultListModel listaLekcji = new DefaultListModel();\r\n\r\n\t\t\t\t// sprawdzam typ osoby i wyświetlam w lewym panelu dane o nim a w prawym\r\n\t\t\t\t// powiązania na jego temat\r\n\t\t\t\t// rightpersonlist to lista\r\n\t\t\t\t// JRighthlist to gui\r\n\r\n\t\t\t\tif (lesson instanceof Indywidualna) {\r\n\t\t\t\t\tlessonInfoLabel.setText(\"<html>typ: \" + lesson.getClass().getSimpleName() + \"<br/>Cena: \"\r\n\t\t\t\t\t\t\t+ lesson.getCena() + \"<br/>Spot: \" + lesson.getSpot() + \"<br/>Długość: \"\r\n\t\t\t\t\t\t\t+ lesson.getTypLekcja() + \"<br/>Instruktor: \" + lesson.getInstruktor().getImie() + \" \"\r\n\t\t\t\t\t\t\t+ lesson.getInstruktor().getNazwisko() + \"<br/>Kursanci: \" + lesson.getKursant().getImie()\r\n\t\t\t\t\t\t\t+ \" \" + lesson.getKursant().getNazwisko() + \"<html>\");\r\n\t\t\t\t} else if (lesson instanceof Grupowa) {\r\n\t\t\t\t\tlessonInfoLabel.setText(\"<html>typ: \" + lesson.getClass().getSimpleName() + \"<br/>Cena: \"\r\n\t\t\t\t\t\t\t+ lesson.getCena() + \"<br/>Spot: \" + lesson.getSpot() + \"<br/>Długość: \"\r\n\t\t\t\t\t\t\t+ lesson.getTypLekcja() + \"<br/>Numer grupy: \" + ((Grupowa) lesson).getNumer()\r\n\t\t\t\t\t\t\t+ \"<br/>Rodzaj grupy: \" + ((Grupowa) lesson).getRodzajGrupa() + \"<br/>Instruktor: \"\r\n\t\t\t\t\t\t\t+ lesson.getInstruktor().getImie() + \" \" + lesson.getInstruktor().getNazwisko()\r\n\t\t\t\t\t\t\t+ \"<br/>Kursanci: \" + lesson.getKursant().getImie() + \" \"\r\n\t\t\t\t\t\t\t+ lesson.getKursant().getNazwisko() + \"<html>\");\r\n\t\t\t\t}\r\n\r\n\t\t\t\tsession.getTransaction().commit();\r\n\t\t\t}\r\n\r\n\t\t});\r\n\r\n\t}", "title": "" }, { "docid": "f7b3078b0dbc89e4f6e9074e1b2e3cd9", "score": "0.5842241", "text": "public void GotMouseEvent(MouseEvent evt) {\n Vector2f absCoords = new Vector2f(Ref.glRef.GetResolution());\n Vector2f orgCoords = new Vector2f(evt.Position);\n absCoords.x *= evt.Position.x;\n absCoords.y *= 1-evt.Position.y;\n \n evt.Position = absCoords;\n \n Vector2f position = null, size = null;\n if(popupContainer != null) {\n position = popupContainer.getPosition();\n size = popupContainer.getLayoutSize();\n }\n \n if(popupContainer != null && absCoords.x >= position.x && absCoords.x < position.x + size.x &&\n absCoords.y >= position.y && absCoords.y < position.y + size.y) {\n popupContainer.MouseEvent(evt);\n } else if(popupContainer != null && evt.Button == 0 && evt.Pressed) {\n // remove popupcont\n popupContainer = null;\n } else {\n position = sidepanel.getPosition();\n size = sidepanel.getLayoutSize();\n if(absCoords.x >= position.x && absCoords.x < position.x + size.x &&\n absCoords.y >= position.y && absCoords.y < position.y + size.y) {\n sidepanel.MouseEvent(evt);\n } else {\n position = menupanel.getPosition();\n size = menupanel.getLayoutSize();\n if(absCoords.x >= position.x && absCoords.x < position.x + size.x &&\n absCoords.y >= position.y && absCoords.y < position.y + size.y) {\n menupanel.MouseEvent(evt);\n } else {\n position = stashpanel.getPosition();\n size = stashpanel.getLayoutSize();\n if(absCoords.x >= position.x && absCoords.x < position.x + size.x &&\n absCoords.y >= position.y && absCoords.y < position.y + size.y) {\n stashpanel.MouseEvent(evt);\n } else if(mat_show) {\n matSelect.MouseEvent(evt);\n } else {\n evt.Position = orgCoords;\n toolMouseEvent(evt);\n }\n }\n \n \n }\n }\n // }\n \n \n }", "title": "" }, { "docid": "8788b449d07d9b5e86a799c9ef75b06c", "score": "0.58391273", "text": "public void componentShown(ComponentEvent arg0) {\n\t}", "title": "" }, { "docid": "60c90293ab8f5fedaa0700110579b142", "score": "0.58305806", "text": "@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tif(e.getActionCommand().equals(\"addTransfer\")){\n\t\t\tframe.getContentPane().removeAll();\n\t\t\tthis.currentPanel = new HallTransferUI(this);\n\t\t\tframe.add(currentPanel);\n\t\t\tframe.validate();\n\t\t\tframe.repaint();\n\t\t\t\n\t\t}else if(e.getActionCommand().equals(\"addArrival\")){\n\t\t\tframe.getContentPane().removeAll();\n\t\t\tthis.currentPanel = new HallArrivalUI(this);\n\t\t\tframe.add(currentPanel);\n\t\t\tframe.validate();\n\t\t\tframe.repaint();\n\t\t\t\n\t\t}else if(e.getActionCommand().equals(\"addDeliver\")){\n\t\t\tframe.getContentPane().removeAll();\n\t\t\tthis.currentPanel = new HallDeliverUI(this);\n\t\t\tframe.add(currentPanel);\n\t\t\tframe.validate();\n\t\t\tframe.repaint();\n\t\t\t\n\t\t}else if(e.getActionCommand().equals(\"addPayment\")){\n\t\t\tframe.getContentPane().removeAll();\n\t\t\tthis.currentPanel = new HallPaymentUI(this);\n\t\t\tframe.add(currentPanel);\n\t\t\tframe.validate();\n\t\t\tframe.repaint();\n\t\t\t\n\t\t}else if(e.getActionCommand().equals(\"manageDriver\")){\n\t\t\tframe.getContentPane().removeAll();\n\t\t\tthis.currentPanel = new DriverUI(this);\n\t\t\tframe.add(currentPanel);\n\t\t\tframe.validate();\n\t\t\tframe.repaint();\n\t\t\t\n\t\t}else if(e.getActionCommand().equals(\"manageCar\")){\n\t\t\tframe.getContentPane().removeAll();\n\t\t\tthis.currentPanel = new CarUI(this);\n\t\t\tframe.add(currentPanel);\n\t\t\tframe.validate();\n\t\t\tframe.repaint();\n\t\t\t\n\t\t}\n\t}", "title": "" }, { "docid": "9f094bde5dfc7d2ec1db2c3cc89d787e", "score": "0.5801224", "text": "private void constructFrameComponents()\r\n {\r\n toolBar = new ToolBar(graph);\r\n panel = new GraphPanel(toolBar, graph);\r\n terminal = new JTextArea();\r\n terminalPanel = new TerminalPanel(terminal);\r\n scrollPane = new JScrollPane(panel);\r\n stateControlPanel = new StateControlPanel();\r\n stateControlPanel.setVisible(false);\r\n this.add(toolBar, BorderLayout.NORTH);\r\n this.add(scrollPane, BorderLayout.CENTER);\r\n this.add(stateControlPanel,BorderLayout.EAST);\r\n this.add(terminalPanel, BorderLayout.SOUTH);\r\n }", "title": "" }, { "docid": "1f9f83804715db3be7c9b57a47f1cb63", "score": "0.5790897", "text": "public void componentMoved(final ComponentEvent e)\r\n {\r\n // Nothing to do here\r\n }", "title": "" }, { "docid": "2b07e6e5e9a5108bee4c7c42bbfce90d", "score": "0.5789441", "text": "private void jButton1AncestorAdded(javax.swing.event.AncestorEvent evt) {\n }", "title": "" }, { "docid": "7e4ae6daf235eb7c83957f68f97823cd", "score": "0.5787256", "text": "@Override\n public void mouseClicked(MouseEvent e) {\n frame.dispose();\n ast.Stop();\n CoolMenu menu = new CoolMenu();\n\n }", "title": "" }, { "docid": "8c7e9f9ce052702cf35204c8b2d966e0", "score": "0.57868105", "text": "@Override\n public void addComponents(Frame windowFrame) {\n windowFrame.setLayout(new GridLayout(1, 3));\n windowFrame.setBackground(Color.lightGray);\n\n //******************************************************************************************************\n //Info panel to select elevator and to display relevant information about currently selected elevator\n //******************************************************************************************************\n infoPanel = new Panel();\n infoPanel.setLayout(new GridBagLayout());\n\n GridBagConstraints c = new GridBagConstraints();\n c.gridx = 0;\n c.gridy = 0;\n c.anchor = GridBagConstraints.WEST;\n c.weightx = 1;\n elevatorSelection = new Choice();\n elevatorSelection.setSize(50, 75);\n elevatorSelection.addItemListener(e -> {\n controller.setSelectedElevator(elevatorSelection.getSelectedIndex());\n floorSelection.select(floorIndex);\n });\n infoPanel.add(elevatorSelection, c);\n elevatorSelection.setVisible(false);\n\n c.gridx = 0;\n c.gridy = 1;\n c.anchor = GridBagConstraints.WEST;\n c.weightx = 1;\n Label labelPayload = new Label(\"Payload:\");\n infoPanel.add(labelPayload, c);\n\n c.gridy = 2;\n c.anchor = GridBagConstraints.CENTER;\n payload = new Label(\"____\");\n infoPanel.add(payload, c);\n\n c.gridy = 3;\n c.anchor = GridBagConstraints.WEST;\n Label labelSpeed = new Label(\"Speed:\");\n infoPanel.add(labelSpeed, c);\n\n c.gridy = 4;\n c.anchor = GridBagConstraints.CENTER;\n speed = new Label(\"__\");\n infoPanel.add(speed, c);\n\n c.gridy = 5;\n c.anchor = GridBagConstraints.WEST;\n Label labelDoorStatus = new Label(\"Door Status:\");\n infoPanel.add(labelDoorStatus, c);\n\n c.gridy = 6;\n c.anchor = GridBagConstraints.CENTER;\n doorStatus = new Label(\"__\");\n infoPanel.add(doorStatus, c);\n\n c.gridy = 7;\n c.anchor = GridBagConstraints.WEST;\n Label labelTarget = new Label(\"Target:\");\n infoPanel.add(labelTarget, c);\n\n c.gridy = 8;\n c.anchor = GridBagConstraints.CENTER;\n target = new Label(\"__\");\n infoPanel.add(target, c);\n\n Font myFont = new Font(\"Helvetica\", Font.PLAIN, 30);\n infoPanel.setFont(myFont);\n\n //******************************************************************************************************\n //Position panel to display current floor and direction which the elevator is going\n //******************************************************************************************************\n Panel positionPanel = new Panel();\n positionPanel.setLayout(new GridBagLayout());\n\n c = new GridBagConstraints();\n c.gridx = 0;\n c.gridy = 0;\n c.weighty = 1;\n c.fill = GridBagConstraints.HORIZONTAL;\n positionPanel.add(new Panel(), c);\n\n c = new GridBagConstraints();\n c.gridx = 0;\n c.gridy = 1;\n c.anchor = GridBagConstraints.CENTER;\n c.weightx = 1;\n directionUp = new Label(\"UP\");\n directionUp.setFont(new Font(\"Helvetica\", Font.BOLD, 45));\n positionPanel.add(directionUp, c);\n\n c = new GridBagConstraints();\n c.gridx = 0;\n c.gridy = 2;\n c.weighty = 1;\n c.fill = GridBagConstraints.HORIZONTAL;\n positionPanel.add(new Panel(), c);\n\n c = new GridBagConstraints();\n c.gridx = 0;\n c.gridy = 3;\n c.anchor = GridBagConstraints.CENTER;\n c.weightx = 1;\n currentPosition = new Label(\"PO\");\n currentPosition.setFont(new Font(\"Helvetica\", Font.BOLD, 35));\n positionPanel.add(currentPosition, c);\n\n c = new GridBagConstraints();\n c.gridx = 0;\n c.gridy = 3;\n c.anchor = GridBagConstraints.CENTER;\n c.weightx = 1;\n floorSelection = new Choice();\n floorSelection.setSize(50, 75);\n floorSelection.addItemListener(e -> controller.setSelectedFloor(elevatorIndex, floorSelection.getSelectedIndex()));\n floorSelection.setFont(new Font(\"Helvetica\", Font.BOLD, 20));\n positionPanel.add(floorSelection, c);\n\n c = new GridBagConstraints();\n c.gridx = 0;\n c.gridy = 4;\n c.weighty = 1;\n c.fill = GridBagConstraints.HORIZONTAL;\n positionPanel.add(new Panel(), c);\n\n c = new GridBagConstraints();\n c.gridx = 0;\n c.gridy = 5;\n c.anchor = GridBagConstraints.CENTER;\n c.weightx = 1;\n directionDown = new Label(\"DOWN\");\n directionDown.setFont(new Font(\"Helvetica\", Font.BOLD, 45));\n positionPanel.add(directionDown, c);\n\n c = new GridBagConstraints();\n c.gridx = 0;\n c.gridy = 6;\n c.weighty = 1;\n c.fill = GridBagConstraints.HORIZONTAL;\n positionPanel.add(new Panel(), c);\n\n\n //******************************************************************************************************\n // Floor panel for mode selection, to display on which floor UP and DOWN buttons are pressed and which\n // are pressed on the panel inside the elevator\n //******************************************************************************************************\n Panel floorPanel = new Panel();\n floorPanel.setLayout(new GridBagLayout());\n\n //Upper Panel for mode selection\n Panel modePanel = new Panel(new GridLayout());\n\n CheckboxGroup cbg = new CheckboxGroup();\n checkBoxAuto = new Checkbox(\"Aut\", cbg, true);\n checkBoxAuto.setBounds(100, 100, 50, 50);\n checkBoxManual = new Checkbox(\"Man\", cbg, false);\n checkBoxManual.setBounds(100, 150, 50, 50);\n\n checkBoxAuto.addItemListener(e -> {\n controller.setAutomaticMode(elevatorIndex, true);\n floorSelection.select(floorIndex);\n });\n checkBoxManual.addItemListener(e -> {\n controller.setAutomaticMode(elevatorIndex, false);\n floorSelection.select(floorIndex);\n });\n\n checkBoxAuto.setEnabled(false);\n checkBoxManual.setEnabled(false);\n\n c = new GridBagConstraints();\n c.gridx = 0;\n c.gridy = 0;\n c.weighty = 1;\n c.fill = GridBagConstraints.CENTER;\n Label labelMode = new Label(\"Mode:\");\n modePanel.add(labelMode);\n\n modePanel.add(checkBoxAuto);\n modePanel.add(checkBoxManual);\n\n floorPanel.add(modePanel, c);\n floorPanel.setFont(new Font(\"Helvetica\", Font.PLAIN, 20));\n\n // Second panel for pressed button information\n Panel callStopPanel = new Panel();\n callStopPanel.setLayout(new GridBagLayout());\n\n c = new GridBagConstraints();\n c.gridx = 0;\n c.gridy = 0;\n c.anchor = GridBagConstraints.WEST;\n Label labelCallStop = new Label(\"Call/Stop pressed on floor: \");\n callStopPanel.add(labelCallStop, c);\n c.gridx = 0;\n c.gridy = 1;\n UpButtonsPressed = new Label(\"\");\n callStopPanel.add(UpButtonsPressed, c);\n c.gridx = 0;\n c.gridy = 2;\n downButtonsPressed = new Label(\"\");\n callStopPanel.add(downButtonsPressed, c);\n c.gridx = 0;\n c.gridy = 3;\n Label labelElevatorPanel = new Label(\"Pressed on Elevator panel:\");\n callStopPanel.add(labelElevatorPanel, c);\n c.gridx = 0;\n c.gridy = 4;\n elevatorPanelButtonsPressed = new Label(\"\");\n callStopPanel.add(elevatorPanelButtonsPressed, c);\n\n callStopPanel.setFont(new Font(\"Helvetica\", Font.PLAIN, 20));\n\n c = new GridBagConstraints();\n c.gridx = 0;\n c.gridy = 1;\n c.weighty = 1;\n c.fill = GridBagConstraints.HORIZONTAL;\n floorPanel.add(callStopPanel, c);\n\n //Add all panels to Frame\n windowFrame.add(infoPanel);\n windowFrame.add(positionPanel);\n windowFrame.add(floorPanel);\n }", "title": "" }, { "docid": "38bfe0d66a241ee94b99e2ea1f19b08a", "score": "0.5786061", "text": "void IHEY2ObsContextPanel_focusGained(java.awt.event.FocusEvent event)\r\n\t{\n\t\tobservationContextList.setVisible(true);\r\n\t\tSystem.out.println(\"Made it visible\");\r\n\t\t\t \r\n\t}", "title": "" }, { "docid": "0b9c0ef1093a2b2bb59e66f1cd3c072d", "score": "0.5770453", "text": "@Override\r\n\t\t\tpublic void handle(MouseEvent event) {\n\t\t\t\t\r\n\r\n\t\t\t}", "title": "" }, { "docid": "699523482652d1d927a05ece5ab53e58", "score": "0.5769832", "text": "public MainWindowEventObject(Object source) {\r\n super(source);\r\n }", "title": "" }, { "docid": "d94529ec0921230bfa0dc660e58e9f23", "score": "0.57583046", "text": "private void SalirPnl(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_SalirPnl\n \n }", "title": "" }, { "docid": "18bdc4ae262f3774a997d79fe12d7add", "score": "0.5757046", "text": "@Override\n\t\t\tpublic void windowActivated(WindowEvent arg0) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "18bdc4ae262f3774a997d79fe12d7add", "score": "0.5757046", "text": "@Override\n\t\t\tpublic void windowActivated(WindowEvent arg0) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "0c4a791479f2f58ca13e9b826629b991", "score": "0.5747723", "text": "@Override\r\n public void handle(MouseEvent event) {\n }", "title": "" }, { "docid": "43e1dc66a14fb3e1f2196791e09709a8", "score": "0.574251", "text": "protected void installListeners() {\n MouseWheelListener wheelTracker = new MouseWheelListener() {\n /**\n *\n */\n public void mouseWheelMoved(MouseWheelEvent e) {\n if (e.getSource() instanceof mxGraphOutline || e.isControlDown()) {\n SoftwareModeling.this.mouseWheelMoved(e);\n }\n }\n\n };\n\n // Handles mouse wheel events in the outline and graph component\n graphOutline.addMouseWheelListener(wheelTracker);\n graphComponent.addMouseWheelListener(wheelTracker);\n\n // Installs the popup menu in the outline\n graphOutline.addMouseListener(new MouseAdapter() {\n\n /**\n *\n */\n public void mousePressed(MouseEvent e) {\n // Handles context menu on the Mac where the trigger is on\n // mousepressed\n mouseReleased(e);\n }\n\n /**\n *\n */\n public void mouseReleased(MouseEvent e) {\n if (e.isPopupTrigger()) {\n showOutlinePopupMenu(e);\n }\n }\n\n });\n\n // Installs the popup menu in the graph component\n graphComponent.getGraphControl().addMouseListener(new MouseAdapter() {\n public void mousePressed(MouseEvent e) {\n // Handles context menu on the Mac where the trigger is on\n // mousepressed\n mouseReleased(e);\n\n mxCell cell = (mxCell) graphComponent.getCellAt(e.getX(), e.getY(), false);\n myConstants.cell = cell;\n if (cell != null) {\n if (cell != null && graphComponent.getGraph().isCellEditable(cell)) {\n javax.swing.JTabbedPane p2 = myConstants.jTabbedPane2;\n String tip = graphComponent.getGraph().getToolTipForCell(cell);\n System.out.println(tip);\n String tiptext = tip.substring(6, tip.length() - 7);\n System.out.println(tiptext);\n String[] arr = tiptext.split(\"<br>\");\n String dir = arr[arr.length - 1].split(\"=\")[1];//获取路径\n p2.setEnabled(true);\n swRight.setProid(dir);\n swRight.setObjid(cell.getId());\n String[] arrStyle = cell.getStyle().split(\";\");\n String style = arrStyle[arrStyle.length - 1];\n // 软件资源建模界面,软件步骤\n if (style.equals(\"one\")) {\n try {\n // buRight.setCellId(cell.getId());\n p2.setSelectedIndex(1);\n swRight.getjButton1().setEnabled(false);\n swRight.getjButton2().setEnabled(true);\n swRight.getQingjingmingcheng().setText(\"\");\n swRight.getZhixingzhe().setText(\"\");\n swRight.getShuchuchengguo().setText(\"\");\n swRight.getShijian().setText(\"\");\n swRight.getDidian().setText(\"\");\n swRight.getBiaozhun().setText(\"\");\n swRight.getFuzhusheshi().setText(\"\");\n swRight.getKongqihuanjing().setText(\"\");\n swRight.getKongjian().setText(\"\");\n swRight.getZuzhijili().setText(\"\");\n swRight.getNeirongmiaoshu().setText(\"\");\n swRight.setProid(dir);\n swRight.setObjid(String.valueOf(cell.getId()));\n\n int count = DaoSolution.exist(dir, String.valueOf(cell.getId()));\n if (count > 0) {\n SolutionBuild model = DaoSolution.getModel(dir, String.valueOf(cell.getId()));\n swRight.getQingjingmingcheng().setText(model.getQingjingmingcheng());\n swRight.getZhixingzhe().setText(model.getZhixingzhe());\n swRight.getShuchuchengguo().setText(model.getShuchuchengguo());\n swRight.getShijian().setText(model.getDate());\n swRight.getDidian().setText(model.getPlace());\n swRight.getBiaozhun().setText(model.getStandard());\n swRight.getFuzhusheshi().setText(model.getFuzhusheshi());\n swRight.getKongqihuanjing().setText(model.getKongqihuanjing());\n swRight.getKongjian().setText(model.getKongjian());\n swRight.getZuzhijili().setText(model.getZuzhijili());\n swRight.getNeirongmiaoshu().setText(model.getNeirongmiaoshu());\n }\n\n } catch (SQLException ex) {\n Logger.getLogger(SoftwareModeling.class.getName()).log(Level.SEVERE, null, ex);\n }\n } else if (style.equals(\"two\")) {\n try {\n p2.setSelectedIndex(0);\n swRight.getjButton1().setEnabled(true);\n swRight.getjButton2().setEnabled(false);\n swRight.setProid(dir);\n swRight.setObjid(String.valueOf(cell.getId()));\n\n swRight.getYewuhuodong().setText(\"\");\n swRight.getYewuhuodongbianhao().setText(\"\");\n\n swRight.getFuguocheng().setText(\"\");\n swRight.getHuodongmiaoshu().setText(\"\");\n\n int count = DaoYUHD.exist(dir, String.valueOf(cell.getId()));\n if (count > 0) {\n YUHD model = DaoYUHD.getModel(dir, String.valueOf(cell.getId()));\n swRight.setProid(dir);\n swRight.setObjid(model.getObjid());\n\n swRight.getYewuhuodong().setText(model.getHuodongmingcheng());\n swRight.getYewuhuodongbianhao().setText(model.getYwuhuodongbianhao());\n\n swRight.getFuguocheng().setText(model.getFuguocheng());\n swRight.getHuodongmiaoshu().setText(model.getHuodongmiaoshu());\n }\n } catch (SQLException ex) {\n Logger.getLogger(SoftwareModeling.class.getName()).log(Level.SEVERE, null, ex);\n }\n\n }\n }\n }\n }\n\n /**\n *\n */\n public void mouseReleased(MouseEvent e) {\n if (e.isPopupTrigger()) {\n showGraphPopupMenu(e);\n }\n }\n\n });\n\n // Installs a mouse motion listener to display the mouse location\n graphComponent.getGraphControl().addMouseMotionListener(new MouseMotionListener() {\n\n /*\n * (non-Javadoc)\n * \n * @see\n * java.awt.event.MouseMotionListener#mouseDragged(java.awt.event.\n * MouseEvent)\n */\n public void mouseDragged(MouseEvent e) {\n mouseLocationChanged(e);\n }\n\n /*\n * (non-Javadoc)\n * \n * @see\n * java.awt.event.MouseMotionListener#mouseMoved(java.awt.event.\n * MouseEvent)\n */\n public void mouseMoved(MouseEvent e) {\n mouseDragged(e);\n }\n\n });\n }", "title": "" }, { "docid": "e505a4277a44a3cfe020fd46e7ff8220", "score": "0.573787", "text": "@Override\n\t\t\tpublic void windowActivated(WindowEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "e9313000595450ee5aebd970dd843f65", "score": "0.5736115", "text": "protected void attachFrame () {\n }", "title": "" }, { "docid": "6d82e8f805de9d856bc57a25285a87e8", "score": "0.5727415", "text": "@Override\n public void handle(MouseEvent event) {\n \n }", "title": "" }, { "docid": "ae4213a4530eaafbf8ec4168cc919e83", "score": "0.5713243", "text": "@Override\r\n public void mouseReleased(MouseEvent arg0) {\n\r\n }", "title": "" }, { "docid": "d4a7c186ac0545ec04cf6b9f9a5d5628", "score": "0.57100487", "text": "@Override\r\n\tpublic void componentShown(ComponentEvent event) {\n\t\trepaintCanvas();\r\n\t}", "title": "" }, { "docid": "573ebf7b64fb47bf973f1a6ad3646931", "score": "0.57025903", "text": "public native final void addTarget(EventTarget e) /*-{\nthis.addTarget(e); \n}-*/;", "title": "" }, { "docid": "60e156b363733ba93d62079a99cd5807", "score": "0.5691822", "text": "private void Jugador1MouseEntered(java.awt.event.MouseEvent evt) {\n }", "title": "" }, { "docid": "71ad02d95720d1e1483a5fb3fe600ea7", "score": "0.5691386", "text": "@Override\r\n public void mouseReleased(MouseEvent e) {\n }", "title": "" }, { "docid": "8993d46b21a53c643463b0d1ec17f9be", "score": "0.5688995", "text": "public void addBtnHandler(MouseEvent event){\n AddScreenStarter a = new AddScreenStarter(); //Open add windwo\n a.start(null);\n }", "title": "" }, { "docid": "3c766d54ca7d10eb57b0efdc48a44e0d", "score": "0.5686285", "text": "private void toolbarEmpMouseDragged(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_toolbarEmpMouseDragged\n int x = evt.getXOnScreen();\n int y = evt.getYOnScreen();\n // Move frame by the mouse delta\n setLocation(getLocationOnScreen().x + x - lastX,\n getLocationOnScreen().y + y - lastY);\n lastX = x;\n lastY = y;\n }", "title": "" }, { "docid": "088ed74ebba666bf6ff3d60f44b1697e", "score": "0.56818753", "text": "private void afegirListeners() {\n botoReiniciarWave.addListener(new ComponentListener() {\n\n public void componentActivated(AbstractComponent comp) {\n state.enterState(EstatSeguentWave.ID);\n }\n });\n botoMenuPrincipal.addListener(new ComponentListener() {\n\n public void componentActivated(AbstractComponent comp) {\n state.enterState(EstatMenuPrincipal.ID);\n }\n });\n }", "title": "" }, { "docid": "713aaedff22e9a61a544ebad676ebe60", "score": "0.5681321", "text": "private void formMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_formMouseClicked\n\n }", "title": "" }, { "docid": "5f8cb01f4c091f01fcec5911c83a04c2", "score": "0.5676959", "text": "@Override\n\tprotected void initEvents() {\n\n\t}", "title": "" }, { "docid": "87248f5e41ca5a07c7a314278758c402", "score": "0.5673051", "text": "public void componentMoved(ComponentEvent arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "659df875f9e93f8da1619954b968fd67", "score": "0.56706494", "text": "@Override\n \t\t\tpublic void componentResized(ComponentEvent arg0) {\n \n \t\t\t\tbottomPanel.setBounds(HOME_SPACE_LEFT_X, frame.getHeight() - HOME_BOTTOM_SPACE_Y, frame.getWidth() - HOME_SPACE_RIGHT_X, 12);\n \n \t\t\t\tif (currentOs != MAC_OS) {\n \t\t\t\t\tbackgroundPanel.setBounds(HOME_SPACE_LEFT_X, menuBarWindows.getHeight(), frame.getWidth() - HOME_SPACE_RIGHT_X, frame.getHeight() - HOME_SPACE_Y - menuBarWindows.getHeight());\n \t\t\t\t} else {\n \n \t\t\t\t\tbackgroundPanel.setSize(frame.getWidth() - HOME_SPACE_RIGHT_X, frame.getHeight() - HOME_SPACE_Y);\n \t\t\t\t\tbackgroundPanel.rerenderBackground();\n \n \t\t\t\t\tbottomPanel.rerenderBackground();\n \t\t\t\t}\n \n \t\t\t\tworkspacePanel.setBounds(0, 0, backgroundPanel.getWidth(), backgroundPanel.getHeight());\n \n \t\t\t\tif (currentOs != MAC_OS) {\n \t\t\t\t\tmenuBarWindows.setBounds(0, 0, getWidth(), 30);\n \t\t\t\t}\n \n \t\t\t\tnavBar.setBounds(0, backgroundPanel.getHeight() - 40 - 40, getWidth(), 80);\n \t\t\t\tworkspacePanel.add(navBar);\n \n \t\t\t\tif (tabbedPane != null) {\n \t\t\t\t\ttabbedPane.setBounds(20, 20, workspacePanel.getWidth() - 40, workspacePanel.getHeight() - 40 - navBar.getHeight());\n \t\t\t\t}\n \t\t\t\tif (tabBar != null) {\n \t\t\t\t\ttabBar.setBounds(0, 0, frame.getWidth(), frame.getHeight());\n \t\t\t\t\ttabBar.setLayout(null);\n \t\t\t\t}\n \t\t\t\tif (boxChartImage != null) {\n \t\t\t\t\tboxChartImage.setBounds(tabBar.getWidth() - 70, 15, 50, 40);\n \t\t\t\t}\n \t\t\t\tif (histogramChartImage != null) {\n \t\t\t\t\thistogramChartImage.setBounds(tabBar.getWidth() - 105, 15, 50, 40);\n \t\t\t\t}\n \t\t\t\tif (scatterplotChartImage != null) {\n \t\t\t\t\tscatterplotChartImage.setBounds(tabBar.getWidth() - 140, 15, 50, 40);\n \t\t\t\t}\n \t\t\t\tif (infoPanel != null) {\n \t\t\t\t\tinfoPanel.setBounds(0, workspacePanel.getHeight() - 112, getWidth(), 43);\n \t\t\t\t}\n \t\t\t\tif (studentPanel != null) {\n \t\t\t\t\tstudentPanel.setBounds(frame.getWidth() - 45, 45, 250, getHeight() - 20);\n \t\t\t\t\tstudentPanel.setNewX(getWidth() - 45);\n \t\t\t\t\tstudentPanel.setOldX(getWidth() - 250);\n \t\t\t\t}\n \t\t\t\tif (searchPanel != null) {\n \t\t\t\t\tsearchPanel.setBounds(workspacePanel.getWidth() - 170, 10, 150, 30);\n \t\t\t\t}\n \n \t\t\t}", "title": "" }, { "docid": "cedc90abd5551a175b4f5d059813cc2e", "score": "0.56696784", "text": "@Override\n\t\tpublic void windowActivated(WindowEvent e) {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "cedc90abd5551a175b4f5d059813cc2e", "score": "0.56696784", "text": "@Override\n\t\tpublic void windowActivated(WindowEvent e) {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "cedc90abd5551a175b4f5d059813cc2e", "score": "0.56696784", "text": "@Override\n\t\tpublic void windowActivated(WindowEvent e) {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "747794285da5db511996d6adf22d113c", "score": "0.5666944", "text": "public void initListeners() {\n\t\t// Diese Listener definiere ich als anonyme Klassen!\n\t\t// Das bedeutet, dass ihre Klassendefinition quasi einfach so in\n\t\t// dieser Methode steht. Damit vermeide ich, für jede Kleinigkeit\n\t\t// und jeden Listener eine einzelne Klasse schreiben zu müssen.\n\t\t\n\t\t// Diese Selbst-Referenz führe ich ein, um innerhalb der Listener-Implementierungen\n\t\t// auf die GUI zugreifen zu können. Alternativ könnte man auch jedes mal \"GarageGUI.this\" schreiben!\n\t\tfinal ShopGUI frame = this;\n\t\t\n\t\t// Quit-Listener für das \"Datei\"-Menü\n\t\tActionListener listenerQuit = new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent ae) {\n\t\t\t\t// Anwendung beenden\n\t\t\t\tframe.setVisible(false);\n\t\t\t\ttry {\n\t\t\t\t\tconnection.logout();\n\t\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\t\tJOptionPane.showMessageDialog(null, e.getMessage());\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tJOptionPane.showMessageDialog(null, e.getMessage());\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\tframe.dispose();\n\t\t\t}\n\t\t};\n\t\tmenuItemQuit.addActionListener(listenerQuit);\n\t\t\n\t\t// WINDOW LISTENER\n\t\tthis.addWindowListener(new WindowAdapter(){\n\t\t\tpublic void windowClosing(WindowEvent e){\n\t\t\t\tsuper.windowClosing(e);\n\t\t\t\ttry {\n\t\t\t\t\tconnection.logout();\n\t\t\t\t} catch (FileNotFoundException e1) {\n\t\t\t\t\tJOptionPane.showMessageDialog(null, e1.getMessage());\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t} catch (IOException e1) {\n\t\t\t\t\tJOptionPane.showMessageDialog(null, e1.getMessage());\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t}\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t});\n\n\n\t\t// Back Button für Registrier Panel\n\t\tActionListener listenerBack = new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent ae) {\n\t\t\t\tframe.cardLayout.show(centerPanel, \"loginPanel\");\n\t\t\t\tframe.pack();\n\t\t\t}\n\t\t};\t\t\n\t\tregPanel.addActionListenerBack(listenerBack);\n\n\t\t// Event Listener für Login Button\n\t\tActionListener listenerLogin = new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent ae) {\n\t\t\t\tString name = loginPanel.getUserName();\n\t\t\t\tchar[] pw = loginPanel.getPasswort();\n\t\t\t\ttry {\n\t\t\t\t\taktuellerBenutzer = connection.userLogin(name, pw);\n\t\t\t\t\tif (aktuellerBenutzer instanceof Kunde) {\n\t\t\t\t\t\t// Top Panel und Bot Panel erstellen und hinzufügen\n\t\t\t\t\t\ttopPanel = new TopPanel();\n\t\t\t\t\t\tframe.getContentPane().add(topPanel, BorderLayout.NORTH);\n\t\t\t\t\t\t\n\t\t\t\t\t\t// Bottom Panel \n\t\t\t\t\t\tbotPanel = new BottomPanel();\n\t\t\t\t\t\tframe.getContentPane().add(botPanel, BorderLayout.SOUTH);\n\t\t\t\t\t\tkunde = (Kunde)aktuellerBenutzer;\n\t\t\t\t\t\tframe.cardLayout.show(westPanel, \"kundeMenu\");\n\t\t\t\t\t\tframe.cardLayout.show(centerPanel, \"artikelPanel\");\n\t\t\t\t\t\t// Warenkorb Panel erstellen und hinzufügen\n\t\t\t\t\t\twarenkorbPanel = new WarenkorbPanel(kunde.getWarenkorb());\n\t\t\t\t\t\twarenkorbPanel.setBorder(BorderFactory.createLineBorder(Color.black));\n\t\t\t\t\t\t\n\t\t\t\t\t\t// Listener für zur Kasse Button\n\t\t\t\t\t\tActionListener listenerZurKasse = new ActionListener() {\n\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\tpublic void actionPerformed(ActionEvent ae) {\n\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\tRechnung re = connection.rechnungErstellen(kunde);\n\t\t\t\t\t\t\t\t\tRechnungPanel rechnungPanel = new RechnungPanel(re);\n\t\t\t\t\t\t\t\t\tcenterPanel.add(rechnungPanel, \"rechnungPanel\");\n\t\t\t\t\t\t\t\t\tframe.cardLayout.show(centerPanel, \"rechnungPanel\");\n\t\t\t\t\t\t\t\t\tconnection.warenkorbLeeren(kunde);\n\t\t\t\t\t\t\t\t\tkunde = (Kunde)connection.getUser();\n\t\t\t\t\t\t\t\t\tHashMap<Artikel, Integer> warenkorbListe = kunde.getWarenkorb().getInhalt();\n\t\t\t\t\t\t\t\t\tWarenkorbTableModell wtm = (WarenkorbTableModell) warenkorbPanel.warenkorbListe.getModel();\n\t\t\t\t\t\t\t\t\twtm.updateDataVector(warenkorbListe);\t\t\t\n\t\t\t\t\t\t\t\t\tframe.pack();\n\t\t\t\t\t\t\t\t\t// Listener für zur Kasse Button\n\t\t\t\t\t\t\t\t\tActionListener listenerBack = new ActionListener() {\n\t\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\t\tpublic void actionPerformed(ActionEvent ae) {\n\t\t\t\t\t\t\t\t\t\t\tframe.cardLayout.show(centerPanel, \"artikelPanel\");\n\t\t\t\t\t\t\t\t\t\t\tartikelListe = connection.gibAlleArtikel();\t\n\t\t\t\t\t\t\t\t\t\t\tcenterPanel.remove(artikelPanel);\n\t\t\t\t\t\t\t\t\t\t\tartikelPanel = new ArtikelPanel(artikelListe);\n\t\t\t\t\t\t\t\t\t\t\tcenterPanel.add(artikelPanel, \"artikelPanel\");\n\t\t\t\t\t\t\t\t\t\t\tframe.cardLayout.show(centerPanel, \"artikelPanel\");\n\t\t\t\t\t\t\t\t\t\t\tframe.pack();\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\trechnungPanel.rechnungListePanel.addActionListenerBack(listenerBack);\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\t\t\t\tJOptionPane.showMessageDialog(null, e.getMessage()); \n\t\t\t\t\t\t\t\t\te.printStackTrace();\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\twarenkorbPanel.addActionListenerZurKasse(listenerZurKasse);\n\t\t\t\t\t\teastPanel.add(warenkorbPanel, \"warenkorbPanel\");\n\t\t\t\t\t\tframe.cardLayout.show(eastPanel, \"warenkorbPanel\");\n\t\t\t\t\t\tframe.westPanel.setVisible(true);\t\t\n\t\t\t\t\t\tframe.eastPanel.setVisible(true);\t\n\t\t\t\t\t\tframe.pack();\n\n\t\t\t\t\t} else if(aktuellerBenutzer instanceof Mitarbeiter) {\n\t\t\t\t\t\t// Top Panel und Bot Panel erstellen und hinzufügen\n\t\t\t\t\t\ttopPanel = new TopPanel();\n\t\t\t\t\t\tframe.getContentPane().add(topPanel, BorderLayout.NORTH);\n\t\t\t\t\t\t\n\t\t\t\t\t\t// Bottom Panel \n\t\t\t\t\t\tbotPanel = new BottomPanel();\n\t\t\t\t\t\tframe.getContentPane().add(botPanel, BorderLayout.SOUTH);\n\t\t\t\t\t\t// protokollMenu wird erstellt\n\t\t\t\t\t\tprotokollMenuPanel = new ProtokollMenuPanel(connection.gibAlleArtikel());\n\t\t\t\t\t\tprotokollMenuPanel.setBorder(BorderFactory.createLineBorder(Color.black));\n\t\t\t\t\t\teastPanel.add(protokollMenuPanel, \"protokollMenuPanel\");\n\t\t\t\t\t\t\n\t\t\t\t\t\t// Selection Listener für ProtokolMenuPanel\n\t\t\t\t\t\tListSelectionListener listSelectProtokollMenuPanel = new ListSelectionListener() {\n\t\t\t\t\t\t\tpublic void valueChanged(ListSelectionEvent e) {\n\t\t\t\t \t\tif(e.getValueIsAdjusting()) return;\n\t\t\t\t \t int row = protokollMenuPanel.artikelListe.getSelectedRow();\n\t\t\t\t \t Artikel a = null;\n\t\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t\ta = connection.findArtikelByNumber(Integer.parseInt((String) protokollMenuPanel.artikelListe.getValueAt(row, 0)));\n\t\t\t\t\t\t\t\t\t} catch (NumberFormatException\n\t\t\t\t\t\t\t\t\t\t\t| ArtikelNichtVerfuegbarException e1) {\n\t\t\t\t\t\t\t\t\t\tJOptionPane.showMessageDialog(null, e); \n\t\t\t\t\t\t\t\t\t\te1.printStackTrace();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tprotokollPanel.drawChart(connection.gibEreignisseNachArtikelUndTagen(a), a.getName());\n\t\t\t\t \t frame.repaint();\n\t\t\t\t \t frame.revalidate();\n\t\t\t\t \t \n\t\t\t\t\t } \n\t\t\t\t };\n\t\t\t\t protokollMenuPanel.addListSelectionListener(listSelectProtokollMenuPanel);\n\t\t\t\t ActionListener listenerBack = new ActionListener() {\n\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\tpublic void actionPerformed(ActionEvent ae) {\n\t\t\t\t\t\t\t\tframe.cardLayout.show(westPanel, \"mitarbeiterMenu\");\n\t\t\t\t\t\t\t\tframe.cardLayout.show(centerPanel, \"mitarbeiterPanel\");\n\t\t\t\t\t\t\t\teastPanel.setVisible(false);\n\t\t\t\t\t\t\t\twestPanel.setVisible(true);\n\t\t\t\t\t\t\t\tframe.pack();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t\tprotokollMenuPanel.addActionListenerBack(listenerBack);\n\t\t\t\t\t\t\n\t\t\t\t\t\tframe.westPanel.setVisible(true);\n\t\t\t\t\t\tframe.eastPanel.setVisible(false);\n\t\t\t\t\t\tframe.cardLayout.show(westPanel, \"mitarbeiterMenu\");\n\t\t\t\t\t\tframe.cardLayout.show(centerPanel, \"mitarbeiterPanel\");\n\t\t\t\t\t\tframe.pack();\n\t\t\t\t\t}\n\t\t\t\t\tframe.pack();\n\t\t\t\t} catch (LoginFehlgeschlagenException e) {\n\t\t\t\t\tJOptionPane.showMessageDialog(null, e); \n\t\t\t\t\te.printStackTrace();\n\t\t\t\t} catch (UserIstSchonEingeloggtException e) {\n\t\t\t\t\tJOptionPane.showMessageDialog(null, e); \n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tloginPanel.addActionListenerLogin(listenerLogin);\n\t\n\t\t// Event Listener für Registrieren Button\n\t\tActionListener listenerRegistrieren = new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent ae) {\n\t\t\t\tframe.cardLayout.show(centerPanel, \"regPanel\");\n\t\t\t\tframe.pack();\n\t\t\t}\n\t\t};\n\t\tloginPanel.addActionListenerRegistieren(listenerRegistrieren);\n\t\t\n\t\t// Event Listener für Registrier Button (OKAY) von regPanel\n\t\tActionListener listenerReg = new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent ae) {\n\t\t\t\tif(Arrays.equals(regPanel.getPw1(),regPanel.getPw2())) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tframe.connection.fuegeUserEin(regPanel.getUserName(), regPanel.getPw1(), regPanel.getAnrede(), regPanel.getName(), regPanel.getStr(), Integer.parseInt(regPanel.getPlz()), regPanel.getOrt(), regPanel.getLand());\n\t\t\t\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t\t\t\tJOptionPane.showMessageDialog(null, e.getMessage()); \n\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t} catch (InkorrekteRegWerteException e) {\n\t\t\t\t\t\tJOptionPane.showMessageDialog(null, e.getMessage()); \n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Passwort stimmt nicht überein.\");\n\t\t\t\t}\n\t\t\t\tframe.cardLayout.show(centerPanel, \"loginPanel\");\n\t\t\t\tframe.pack();\t\t\t}\n\t\t};\n\t\tregPanel.addActionListenerReg(listenerReg);\n\t\t\n\t\t// Event Listener für Logout Button \n\t\tActionListener listenerLogout = new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent ae) {\n\t\t\t\taktuellerBenutzer = null;\n\t\t\t\tkunde = null;\n\t\t\t\tconnection.userLogout();\n\t\t\t\tframe.topPanel.setVisible(false);\n\t\t\t\tframe.botPanel.setVisible(false);\n\t\t\t\tframe.eastPanel.setVisible(false);\n\t\t\t\tframe.cardLayout.show(centerPanel, \"loginPanel\");\n\t\t\t\tframe.westPanel.setVisible(false);\n\t\t\t\t// Vorgefüllte textFelder löschen\n \t usrDelPanel.setArtikelNummerTextfield(null);\n \t artDelPanel.setArtikelNummerTextfield(null);\n \t artMengPanel.setArtikelNummerTextfield(null);\n \t artMengPanel.setArtikelMengeTextfield(null);\n \t artAusWPanel.setArtikelNummerTextfield(null);\n \t artMengeInWPanel.setArtikelNummerTextfield(null);\n \t artMengeInWPanel.setArtikelMengeTextfield(null);\n \t artInWPanel.setArtikelNummerTextfield(null);\n \t artInWPanel.setArtikelMengeTextfield(null);\n \t usrDelPanel.setArtikelNummerTextfield(null);\n\t\t\t\t\n\t\t\t\tframe.pack();\n\t\t\t}\n\t\t};\n\t\tkundeMenuPanel.addActionListenerLogout(listenerLogout);\n\t\tmitarbeiterMenuPanel.addActionListenerLogout(listenerLogout);\n\t\t\n\t\t// Listener für Kunden und Mitarbeitermenü initialisieren\n\t\tinitListenerMitarbeiter();\n\t\tinitListenerKunde();\n\t}", "title": "" }, { "docid": "33eb54509354762c49476276eced774e", "score": "0.5664435", "text": "private void EntrarPnl(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_EntrarPnl\n \n }", "title": "" }, { "docid": "f8cc93c24b174e2d44453bfd490cf8d8", "score": "0.5657849", "text": "public void hierarchyChanged(HierarchyEvent e)\r\n/* */ {\r\n/* 411 */ if (((e.getChangeFlags() & 0x4) != 0L) && \r\n/* 412 */ ((e.getSource() instanceof Window))) {\r\n/* 413 */ Window secondaryWindow = (Window)e.getSource();\r\n/* 414 */ if (!secondaryWindow.isShowing()) {\r\n/* 415 */ SingleFrameApplication.this.saveSession(secondaryWindow);\r\n/* */ }\r\n/* */ }\r\n/* */ }", "title": "" }, { "docid": "958d08b7ad31da52b00c2f31f39e4697", "score": "0.5656675", "text": "@Override\n\t\t\tpublic void mouseReleased(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "958d08b7ad31da52b00c2f31f39e4697", "score": "0.5656675", "text": "@Override\n\t\t\tpublic void mouseReleased(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" } ]
abb33f85d76f7e8736e63ece06e7d531
databinding method to get an XML representation of this object
[ { "docid": "a83516cd49d413aec04ec778bbd0ba4c", "score": "0.0", "text": "public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName)\r\n throws org.apache.axis2.databinding.ADBException{\r\n\r\n\r\n \r\n java.util.ArrayList elementList = new java.util.ArrayList();\r\n java.util.ArrayList attribList = new java.util.ArrayList();\r\n\r\n \r\n elementList.add(new javax.xml.namespace.QName(\"http://beanCCAA.batch.vuds.map.es\",\r\n \"strDescripcionViaReclamacion\"));\r\n \r\n elementList.add(localStrDescripcionViaReclamacion==null?null:\r\n org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localStrDescripcionViaReclamacion));\r\n \r\n elementList.add(new javax.xml.namespace.QName(\"http://beanCCAA.batch.vuds.map.es\",\r\n \"strOrganismoReclamacion\"));\r\n \r\n elementList.add(localStrOrganismoReclamacion==null?null:\r\n org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localStrOrganismoReclamacion));\r\n \r\n elementList.add(new javax.xml.namespace.QName(\"http://beanCCAA.batch.vuds.map.es\",\r\n \"strRecurso\"));\r\n \r\n elementList.add(localStrRecurso==null?null:\r\n org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localStrRecurso));\r\n \r\n elementList.add(new javax.xml.namespace.QName(\"http://beanCCAA.batch.vuds.map.es\",\r\n \"strResultadoProceso\"));\r\n \r\n elementList.add(localStrResultadoProceso==null?null:\r\n org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localStrResultadoProceso));\r\n \r\n elementList.add(new javax.xml.namespace.QName(\"http://beanCCAA.batch.vuds.map.es\",\r\n \"strTipologiaInstrumentoReclamacion\"));\r\n \r\n elementList.add(localStrTipologiaInstrumentoReclamacion==null?null:\r\n org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localStrTipologiaInstrumentoReclamacion));\r\n \r\n elementList.add(new javax.xml.namespace.QName(\"http://beanCCAA.batch.vuds.map.es\",\r\n \"strTipologiaViaReclamacion\"));\r\n \r\n elementList.add(localStrTipologiaViaReclamacion==null?null:\r\n org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localStrTipologiaViaReclamacion));\r\n \r\n\r\n return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray());\r\n \r\n \r\n\r\n }", "title": "" } ]
[ { "docid": "e8e01405cbdc7e8bfc26bf89b5568b29", "score": "0.6845753", "text": "@Override\n\tpublic Object toXML() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "cc3f6ed93d15893ac1d6b6e5e6c56649", "score": "0.6763015", "text": "public final String toXML() {\r\n if (this.isAsXML())\r\n return getObjAsXML();\r\n else\r\n return convertToXML();\r\n }", "title": "" }, { "docid": "c155ad034b2e96caefb5639eefb8f90c", "score": "0.6757254", "text": "public String getXMLRepresentation();", "title": "" }, { "docid": "186133d56467b16e29648436e46b6733", "score": "0.66197604", "text": "public String toXML() {\n\t\treturn null;\t\t\n\t}", "title": "" }, { "docid": "9c13d936ad4305e6289f1e585c402678", "score": "0.6605638", "text": "public String toXML() {\r\n\t\tXStream xstream = new XStream();\r\n\t\treturn xstream.toXML(this);\r\n\t}", "title": "" }, { "docid": "604e04bbf9da4596b20c2423d241a629", "score": "0.6512309", "text": "@Override\n public String toString() {\n return ToStringBuilder.reflectionToString(this, JAXBToStringStyle.DEFAULT_STYLE);\n }", "title": "" }, { "docid": "604e04bbf9da4596b20c2423d241a629", "score": "0.6512309", "text": "@Override\n public String toString() {\n return ToStringBuilder.reflectionToString(this, JAXBToStringStyle.DEFAULT_STYLE);\n }", "title": "" }, { "docid": "fb78209b3b62604612e537640cba5c78", "score": "0.64924896", "text": "@Override\r\n public String toString() {\r\n return JAXBToStringBuilder.valueOf(this, JAXBToStringStyle.SIMPLE_STYLE);\r\n }", "title": "" }, { "docid": "19405f97dda39eef550fc14cb47ccf61", "score": "0.6455136", "text": "public String toXml();", "title": "" }, { "docid": "d1c13f7945dc4b07dc4ad5845172e39e", "score": "0.64304435", "text": "private String model2xml() {\n\t\tString xml = null;\n\t\ttry {\n\t\t\tJasperDesign report = bundle.getJasperDesign();\n\t\t\treport.removeProperty(DataQueryAdapters.DEFAULT_DATAADAPTER);\n\t\t\tString version = jrContext.getProperty(JRVersionPreferencesPages.JSS_COMPATIBILITY_VERSION, JRXmlWriterHelper.LAST_VERSION);\n\t\t\txml = JRXmlWriterHelper.writeReport(jrContext, report, net.sf.jasperreports.eclipse.util.FileUtils.UTF8_ENCODING, version); //$NON-NLS-1$\n\t\t} catch (Throwable e) {\n\t\t\tUIUtils.showError(e);\n\t\t}\n\t\treturn xml;\n\t}", "title": "" }, { "docid": "aa79803d20e9cef5c6e2d60de24ecb63", "score": "0.6281732", "text": "public String asXML() throws Exception {\n\t\tJAXBContext context = JAXBContext.newInstance(FolderJPA.class);\n\t\tMarshaller marshaller = context.createMarshaller();\n\t\tjava.io.StringWriter sw = new StringWriter();\n\t\tmarshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);\n\t\tmarshaller.marshal(this, sw);\n\t\tString result = sw.toString();\n\t\treturn result;\n\t}", "title": "" }, { "docid": "38e8a83a6f06c621aad3d8d5845bb3bd", "score": "0.62488425", "text": "public String toXml() {\n\t\treturn(_value);\n\t}", "title": "" }, { "docid": "c0dd63be5c0dc77a0eca30851c5d2b96", "score": "0.623717", "text": "public String asXML()\n\t{\n\t\treturn null;\n\t}", "title": "" }, { "docid": "3981bf09aec665c01843cc903e37d6ac", "score": "0.62051135", "text": "@Override\n\tpublic String toXMLString() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "5d3fdc91d362bd1eb03292e6476bb0ba", "score": "0.6171108", "text": "@Override\n public String getXml() {\n StringBuilder retval = new StringBuilder();\n\n retval.append( super.getXml() );\n //example value to xml\n retval.append( XmlHandler.addTagValue( \"example\", \"value\" ) );\n\n return retval.toString();\n }", "title": "" }, { "docid": "67621d0ae534049400d690df359df175", "score": "0.6127815", "text": "public String getXML();", "title": "" }, { "docid": "67621d0ae534049400d690df359df175", "score": "0.6127815", "text": "public String getXML();", "title": "" }, { "docid": "c34e79bff4846e70aa00d0006a2723fb", "score": "0.61241585", "text": "public String getXml() {\n return xml;\n }", "title": "" }, { "docid": "a5344f49c926475c027cc9d705567d2a", "score": "0.60028994", "text": "@Override\n public List<Element> getXMLElement() {\n List<Element> rtnList = new LinkedList<>();\n // create and add the content Element\n for(Element e : super.getXMLElement()) {\n rtnList.add(e);\n }\n Element bean = new Element(\"PostcodeBean\");\n rtnList.add(bean);\n // set the data\n bean.setAttribute(\"postcode\", postcode);\n bean.setAttribute(\"population\", Integer.toString(population));\n bean.setAttribute(\"households\", Integer.toString(households));\n\n bean.setAttribute(\"serialVersionUID\", Long.toString(serialVersionUID));\n return (rtnList);\n }", "title": "" }, { "docid": "0bf747973cfd842bc6ebc9f2c8c06184", "score": "0.5969638", "text": "public String getXml() throws HopException {\n convertIOMetaToTransformNames();\n return XmlMetadataUtil.serializeObjectToXml(this);\n }", "title": "" }, { "docid": "2507bf372abbab5cc51cecbce46edfdc", "score": "0.5955636", "text": "public String toXml() {\n return doc.toXml();\n }", "title": "" }, { "docid": "8892412e4ce72ede9af45f24a4ed8063", "score": "0.5946703", "text": "public String xml();", "title": "" }, { "docid": "9d256d6f97811413adfa927dcce8fa0d", "score": "0.59206736", "text": "public String toString()\n {\n return xmlWrap(xml);\n }", "title": "" }, { "docid": "9029d62251770e2ae888e29389facc51", "score": "0.5902232", "text": "public Element toXml();", "title": "" }, { "docid": "daa12afe702cd72e7c047002d231a076", "score": "0.5866241", "text": "public String getXml(){\n\n String xml = \"\";\n \n xml += \" <rows>\\n\";\n \n for(Columna c : this.columnas)\n xml += c.getXml();\n \n xml += \" </rows>\\n\";\n \n return xml;\n }", "title": "" }, { "docid": "8e6e8ad8b7f8c8ff015359e276275f48", "score": "0.583477", "text": "public final String toXml() {\n\t\treturn toXml((String) null);\n\t}", "title": "" }, { "docid": "778004607259366a799b370db5e91b47", "score": "0.5819225", "text": "protected String settingsToXml() {\n\t\tStringWriter writer = new StringWriter();\n\t\tJAXB.marshal(this.settings, writer);\n\t\treturn writer.toString();\n\t}", "title": "" }, { "docid": "8de192708db7e98c9eb9a1f3c436a4af", "score": "0.5812585", "text": "java.lang.String getXml();", "title": "" }, { "docid": "fcc58515baa901976025090a3570317d", "score": "0.57924026", "text": "@Override\n\tpublic String toXMLString(Object value) {\n\t\treturn value.toString();\n\t}", "title": "" }, { "docid": "2d5899282aba10f0c2b46ea75601281c", "score": "0.574458", "text": "public String toXml() {\n StringBuffer xml = new StringBuffer();\n\n xml.append(\"<childSampleType\");\n\n BigrXmlUtils.writeAttribute(xml, \"cui\", getCui());\n BigrXmlUtils.writeAttribute(xml, \"cuiDescription\", getCuiDescription());\n\n xml.append(\"/>\\n\");\n\n return xml.toString();\n }", "title": "" }, { "docid": "1aa4829e40e76bdf508f7f29cb66cf15", "score": "0.5735157", "text": "String toXML(Object inObject) throws JAXBException {\r\n Marshaller marshaller = getMarshaller();\r\n StringWriter writer = new StringWriter();\r\n marshaller.marshal(inObject, writer);\r\n //no need to close or flush the writer as they do nothing.\r\n return writer.toString();\r\n }", "title": "" }, { "docid": "53d95240f2da46792f9600aa4503099c", "score": "0.57296246", "text": "public StringBuffer exportToXML() {\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "dfab78d0fbf31b3862fdbd480b58a974", "score": "0.5724638", "text": "protected String toXMLFragment() {\n StringBuffer xml = new StringBuffer();\n if (isSetCount()) {\n xml.append(\"<Count>\");\n xml.append(getCount() + \"\");\n xml.append(\"</Count>\");\n }\n if (isSetAmount()) {\n Amount amount = getAmount();\n xml.append(\"<Amount>\");\n xml.append(amount.toXMLFragment());\n xml.append(\"</Amount>\");\n } \n if (isSetLastResetCount()) {\n xml.append(\"<LastResetCount>\");\n xml.append(getLastResetCount() + \"\");\n xml.append(\"</LastResetCount>\");\n }\n if (isSetLastResetAmount()) {\n Amount lastResetAmount = getLastResetAmount();\n xml.append(\"<LastResetAmount>\");\n xml.append(lastResetAmount.toXMLFragment());\n xml.append(\"</LastResetAmount>\");\n } \n if (isSetLastResetTimestamp()) {\n xml.append(\"<LastResetTimestamp>\");\n xml.append(getLastResetTimestamp() + \"\");\n xml.append(\"</LastResetTimestamp>\");\n }\n return xml.toString();\n }", "title": "" }, { "docid": "e4815edecf721b3fc834a044a2e3f955", "score": "0.5693386", "text": "String toXML();", "title": "" }, { "docid": "e4815edecf721b3fc834a044a2e3f955", "score": "0.5693386", "text": "String toXML();", "title": "" }, { "docid": "7130536760fdeb8db9afbba0d8eeaaac", "score": "0.5667469", "text": "@Override\n\tpublic String toXML()\n\t{\n\t\tString s = \"<line id=\\\"#i\\\" x1=\\\"#x1\\\" y1=\\\"#y1\\\" x2=\\\"#x2\\\" y2=\\\"#y2\\\" \"\n\t\t\t+ \"stroke=\\\"#s\\\" stroke-width=\\\"#w\\\"/> \";\n\n\t\ts = s.replaceAll(\"#i\", getID());\n\t\ts = s.replaceAll(\"#s\", colorToHex(getColor()));\n\t\ts = s.replaceAll(\"#w\", \"\" + getThickness());\n\t\tWhiteboardPoint p1 = getWhiteboardPointStart();\n\t\tWhiteboardPoint p2 = getWhiteboardPointEnd();\n\n\t\ts = s.replaceAll(\"#x1\", \"\" + p1.getX());\n\t\ts = s.replaceAll(\"#y1\", \"\" + p1.getY());\n\n\t\ts = s.replaceAll(\"#x2\", \"\" + p2.getX());\n\t\ts = s.replaceAll(\"#y2\", \"\" + p2.getY());\n\n\t\treturn s;\n\t}", "title": "" }, { "docid": "92d2f15b74d4835180071f1e76d0734b", "score": "0.5631781", "text": "public XmlBeanTranslator() {\n\t\tsuper();\n\t\tthis.formattedOutput = false ;\n\t\tthis.rootTag = ROOT_TAG ;\n\t}", "title": "" }, { "docid": "2e4be8b61a882d468fb568c3a9198202", "score": "0.56273746", "text": "public Element toXml() {\n Element retval = new Element(\"prop\");\n retval.setAttribute(\"name\", toString());\n return retval;\n }", "title": "" }, { "docid": "47a080e12d1035d3aa8a243598e5c9e9", "score": "0.56027484", "text": "XMLDataValue getXMLDataValue();", "title": "" }, { "docid": "4a02288cd159a44635308f3300b5bb9d", "score": "0.55923593", "text": "public String toStringFXML(){\r\n\t\tString re = \"\";\r\n\t\t\r\n\t\tif(this.type == ComponentType.AnchorPane){\r\n\t\t\tre = \"<\" + this.type + \" maxHeight=\\\"-Infinity\\\" maxWidth=\\\"-Infinity\\\"\"\r\n\t\t\t\t\t+ \" minHeight=\\\"-Infinity\\\" minWidth=\\\"-Infinity\\\"\"\r\n\t\t\t\t\t+ \" prefHeight=\\\"415.0\\\" prefWidth=\\\"770.0\\\"> <children>\";\r\n\t\t}else if(this.type == ComponentType.Button){\r\n\t\t\tre = \"<\" + this.type + \" mnemonicParsing=\\\"false\\\" text=\\\"\"+this.text+\"\\\" />\";\r\n\t\t}else if(this.type == ComponentType.HBox){\r\n\t\t\tre = \"<\" + this.type + \"> <children>\";\r\n\t\t}else if(this.type == ComponentType.Label){\r\n\t\t\tre = \"<\"+this.type+\" text=\\\"\" + this.text+\"\\\" />\";\r\n\t\t}else if(this.type == ComponentType.TextArea){\r\n\t\t\tre = \"<\"+this.type+\" promptText=\\\"\"+this.text+\"\\\" />\";\r\n\t\t}else if(this.type==ComponentType.VBox){\r\n\t\t\tre = \"<\"+this.type+\"> <children>\";\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\treturn re;\r\n\t}", "title": "" }, { "docid": "b2a5f4ce8ef43faa8abc34ccbecaaf46", "score": "0.55874527", "text": "@GET\r\n @Produces(MediaType.APPLICATION_XML)\r\n public String getXml() {\r\n //TODO return proper representation object\r\n throw new UnsupportedOperationException();\r\n }", "title": "" }, { "docid": "b2a5f4ce8ef43faa8abc34ccbecaaf46", "score": "0.55874527", "text": "@GET\r\n @Produces(MediaType.APPLICATION_XML)\r\n public String getXml() {\r\n //TODO return proper representation object\r\n throw new UnsupportedOperationException();\r\n }", "title": "" }, { "docid": "acc04f7cc3dede54a4e2cf7a9f700620", "score": "0.5577767", "text": "@Override\r\n public Element toXML(){\r\n Element root = new Element(\"ApplicationFactory\");\r\n \r\n root.setAttribute(\"classname\", this.getClass().getName());\r\n root.setAttribute(\"seed\", String.valueOf(this.seed));\r\n \r\n // set parameters\r\n root.setAttribute(\"numTasks\", String.valueOf(this.numTasks));\r\n \r\n return root;\r\n }", "title": "" }, { "docid": "f302aa03867e2f59f4f65a9cede6f3db", "score": "0.55757207", "text": "@Override\n public List<Element> getXMLElement() {\n List<Element> rtnList = new LinkedList<Element>();\n // create and add the content Element\n for(Element e : super.getXMLElement()) {\n rtnList.add(e);\n }\n Element bean = new Element(\"CustomerCreditBean\");\n rtnList.add(bean);\n // set the data\n bean.setAttribute(\"accountId\", Integer.toString(accountId));\n bean.setAttribute(\"creditYwd\", Integer.toString(creditYwd));\n bean.setAttribute(\"creditId\", Integer.toString(creditId));\n bean.setAttribute(\"credit\", Long.toString(credit));\n bean.setAttribute(\"creditType\", creditType.toString());\n bean.setAttribute(\"debitYwd\", Integer.toString(debitYwd));\n bean.setAttribute(\"debitId\", Integer.toString(debitId));\n bean.setAttribute(\"debit\", Long.toString(debit));\n bean.setAttribute(\"debitType\", debitType.toString());\n\n bean.setAttribute(\"serialVersionUID\", Long.toString(serialVersionUID));\n return (rtnList);\n }", "title": "" }, { "docid": "af30aada457bd8a34383eac0757f8d4c", "score": "0.5530437", "text": "String toXml(Dto obj);", "title": "" }, { "docid": "202db26ea7db3f49d44a4da5306c9aa6", "score": "0.55133057", "text": "public String toString() {\n String str = null;\n try {\n str = new String(toXML());\n } catch(Exception ex) {}\n return str;\n }", "title": "" }, { "docid": "a1707907335ad280687690f78f7fa01d", "score": "0.55001366", "text": "public Document getDataXML() {\n\t\treturn dataXML;\n\t}", "title": "" }, { "docid": "a7bb3f00719232c98c40d35e270ef7a1", "score": "0.54976314", "text": "@GET\n @Produces(MediaType.APPLICATION_XML)\n public String getXml() {\n //TODO return proper representation object\n throw new UnsupportedOperationException();\n }", "title": "" }, { "docid": "50dd94a3d0cc8c8bd60a616dfb28a5b9", "score": "0.5489722", "text": "public String toXML()\r\n\t {\r\n\t\tString xml = \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\";\r\n\t\txml += \"<sketch id = \\\"\" + this.id + \"\\\">\";\r\n\t\t\r\n\t\tfor(int i =0; i < strokeList.size(); i++)\r\n\t\t{\r\n\t\t\txml += strokeList.get(i).toXML();\r\n\t\t}\r\n\t\t\r\n\t\txml += \"</sketch>\";\r\n\t\treturn xml;\r\n\t }", "title": "" }, { "docid": "aed7e03cbcbce0e5c872282eefc2c1ab", "score": "0.54737926", "text": "Xml createXml();", "title": "" }, { "docid": "f0c1a4909775b1bf43320411cbf676b5", "score": "0.54570776", "text": "public String toXML() {\n\t\tString toReturn = \"\";\n\t\t\n\t\t// Add the opening tags\n\t\ttoReturn += \"<Metadata>\";\n\t\t\n\t\ttoReturn += \"<StringAttributeNames>\";\n\t\t\n\t\t// Save all string attribute names\n\t\tfor (String name : stringAttributeNames) {\n\t\t\ttoReturn += \"<Name>\";\n\t\t\ttoReturn += name;\n\t\t\ttoReturn += \"</Name>\";\n\t\t}\n\t\t\n\t\ttoReturn += \"</StringAttributeNames>\";\n\t\t\n\t\ttoReturn += \"<EnumAttributeNames>\";\n\t\t\n\t\t// Save all enum attribute names\n\t\tfor (String name : enumAttributeNames) {\n\t\t\ttoReturn += \"<Name>\";\n\t\t\ttoReturn += name;\n\t\t\ttoReturn += \"</Name>\";\n\t\t}\n\t\t\n\t\ttoReturn += \"</EnumAttributeNames>\";\n\t\t\n\t\ttoReturn += \"<DoubleAttributeNames>\";\n\t\t\n\t\t// Save all double attribute names\n\t\tfor (String name : doubleAttributeNames) {\n\t\t\ttoReturn += \"<Name>\";\n\t\t\ttoReturn += name;\n\t\t\ttoReturn += \"</Name>\";\n\t\t}\n\t\t\n\t\ttoReturn += \"</DoubleAttributeNames>\";\n\t\t\n\t\ttoReturn += \"<NamesToDisplay>\";\n\t\t\n\t\t// Save all attribute names to display\n\t\tfor (String name : namesToDisplay) {\n\t\t\ttoReturn += \"<Name>\";\n\t\t\ttoReturn += name;\n\t\t\ttoReturn += \"</Name>\";\n\t\t}\n\t\t\n\t\ttoReturn += \"</NamesToDisplay>\";\n\t\t\n\t\ttoReturn += \"<TypesToDisplay>\";\n\t\t\n\t\t// Save all attribute types to display\n\t\tfor (String name : typesToDisplay) {\n\t\t\ttoReturn += \"<Name>\";\n\t\t\ttoReturn += name;\n\t\t\ttoReturn += \"</Name>\";\n\t\t}\n\t\t\n\t\ttoReturn += \"</TypesToDisplay>\";\n\t\t\n\t\ttoReturn += \"<CompositeLevel>\";\n\t\t\n\t\t// Save all composite levels for displaying purposes\n\t\tfor (Integer val : compositeLevel) {\n\t\t\ttoReturn += \"<Name>\";\n\t\t\ttoReturn += val.toString();\n\t\t\ttoReturn += \"</Name>\";\n\t\t}\n\t\t\n\t\t// Add the closing tags to the XML\n\t\ttoReturn += \"</CompositeLevel>\";\n\t\t\n\t\ttoReturn += \"</Metadata>\";\n\t\t\n\t\treturn(toReturn);\n\t}", "title": "" }, { "docid": "c7107b915214694b3c391b2e24981e81", "score": "0.54455596", "text": "public String savetoXML();", "title": "" }, { "docid": "74c9a91b7a63ef1a232c71481027ed2c", "score": "0.54449856", "text": "public GenerateXML() {\r\n try {\r\n \t//DOM to make a blank document\r\n \tdocFact = DocumentBuilderFactory.newInstance();\r\n \tdocBuild = docFact.newDocumentBuilder();\r\n \t\r\n\r\n } catch (Exception e) {\r\n System.out.println(e);\r\n }\r\n }", "title": "" }, { "docid": "21cd7a94a95649044bacbb0585a59da9", "score": "0.54448104", "text": "public final String getDetailsXml() {\n\t\treturn this.detailsXml;\n\t}", "title": "" }, { "docid": "8d8b25b650f92fb9469c6261a3c5983c", "score": "0.5440596", "text": "@Override\n @Generated(value = \"com.sun.tools.xjc.Driver\", date = \"2014-06-21T04:08:14-04:00\", comments = \"JAXB RI v2.2.7\")\n public String toString() {\n return ToStringBuilder.reflectionToString(this, JAXBToStringStyle.MULTI_LINE_STYLE);\n }", "title": "" }, { "docid": "072c2d6979348a3d65198a555f9c893d", "score": "0.5432943", "text": "public String createXML () {\n\t\tif(this.validateFields() == false)\r\n\t\t\treturn null;\r\n\t\telse {\r\n\t\t\tString xmlToChangeString = this.xml.toString(); \r\n\t\t\t\r\n\t\t\txmlToChangeString = xmlToChangeString.replaceAll(\"\\\\{OWNER\\\\}\",this.owner);\r\n\t\t\txmlToChangeString = xmlToChangeString.replaceAll(\"\\\\{UNIQUE_ID\\\\}\",this.unigueID);\r\n\t\t\txmlToChangeString = xmlToChangeString.replaceAll(\"\\\\{LONGITUDE\\\\}\",this.longitude);\r\n\t\t\txmlToChangeString = xmlToChangeString.replaceAll(\"\\\\{LATITUDE\\\\}\",this.latitude);\r\n\t\t\txmlToChangeString = xmlToChangeString.replaceAll(\"\\\\{TIMESTAMP\\\\}\",this.timestamp);\r\n\t\t\txmlToChangeString = xmlToChangeString.replaceAll(\"\\\\{PHENOMENON_1\\\\}\",this.phenomenon1);\r\n\t\t\txmlToChangeString = xmlToChangeString.replaceAll(\"\\\\{PHENOMENON_URN_1\\\\}\",this.phenomenonURN1);\r\n\t\t\txmlToChangeString = xmlToChangeString.replaceAll(\"\\\\{VALUE_1\\\\}\",this.temperatureValue);\r\n\t\t\txmlToChangeString = xmlToChangeString.replaceAll(\"\\\\{PHENOMENON_2\\\\}\",this.phenomenon2);\r\n\t\t\txmlToChangeString = xmlToChangeString.replaceAll(\"\\\\{PHENOMENON_URN_2\\\\}\",this.phenomenonURN2);\r\n\t\t\txmlToChangeString = xmlToChangeString.replaceAll(\"\\\\{VALUE_2\\\\}\",this.lightValue);\r\n\t\t\t\r\n\t\t\t//System.out.println(this.xml.toString());\r\n\t\t\t//System.out.println(xmlToChangeString.toString());\r\n\t\t\t\r\n\t\t\treturn xmlToChangeString;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "df78dda4b683e1edb689a597379fd090", "score": "0.54286623", "text": "@Override\n\tpublic String toString() { return serialize(); }", "title": "" }, { "docid": "abe0e63472bc3a78740afbb5fb2c8fd5", "score": "0.5423292", "text": "String getAllProductAsXML();", "title": "" }, { "docid": "d6ad3629b5561378272e83a36a42db2b", "score": "0.54051733", "text": "public String resultsXml();", "title": "" }, { "docid": "5294e7d9459f344415754b96cda1ed6f", "score": "0.53904575", "text": "public String toXML()\n {\n return \"<\" + ELEMENT_NAME + \" id='\" + correctedMessageUID\n + \"' xmlns='\" + NAMESPACE + \"' />\";\n }", "title": "" }, { "docid": "e5e4f80bcdc6ad6e00ca960e0544e2f1", "score": "0.53735745", "text": "@Override\n\tpublic void serializeUI() {\n\t\t\n\t}", "title": "" }, { "docid": "deeedbc057360ba6edb247c2b03415a9", "score": "0.5369759", "text": "com.google.protobuf.ByteString\n getXmlBytes();", "title": "" }, { "docid": "d3ab3d34285a1c6c1b6e6e56441a62c8", "score": "0.53430843", "text": "@Override\n\tpublic String getXML() throws KettleException {\n\t\tXStream xs = new XStream(new DomDriver());\n\t\txs.alias(\"DataTable\", DataTable.class);\n\t\txs.registerConverter(new DataTableConverter());\n\t\tStringBuilder xml = new StringBuilder();\n\t\txml.append(XMLHandler.addTagValue(Field.DIMENSION_TABLE.name(), xs.toXML(this.dimensionTable)));\n\t\txml.append(XMLHandler.addTagValue(Field.VOCABULARY_TABLE.name(), xs.toXML(this.vocabularyTable)));\n\t\txml.append(XMLHandler.addTagValue(Field.DATACUBE_OUTPUT_FIELD_NAME.name(), dataCubeOutputFieldName));\n\t\txml.append(XMLHandler.addTagValue(Field.KEEP_INPUT_FIELDS.name(), keepInputFields));\n\t\treturn xml.toString();\n\t}", "title": "" }, { "docid": "206b479c6e981490dfcc9d9ff58f55c0", "score": "0.53251404", "text": "public XMLNode getDataXML() {\n\n //Obtiene el XML node\n XMLNode xmlNode = null;\n\n xmlNode = (XMLNode)writeXML(0, XMLInterface.XML_IGNORE_DEPTH_COUNT);\n //Regresa el resultado\n return xmlNode;\n }", "title": "" }, { "docid": "c2b4aae5caf083f364e651019b42c070", "score": "0.5299584", "text": "@Override\n public synchronized Appendable renderXml(final int spacing) {\n final StringBuilder xml = new StringBuilder();\n toXmlString(this, xml, spacing);\n return xml;\n }", "title": "" }, { "docid": "f84b651bea1e2b70166f2c3598547ad4", "score": "0.52911186", "text": "public WriteXml() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "5d18f4f3c2f124c86800633cb412ffbd", "score": "0.52899456", "text": "org.apache.xmlbeans.XmlString xgetHeterogen();", "title": "" }, { "docid": "7a0e8969a38c8f801828796c50634577", "score": "0.5283487", "text": "public String getXML(Object obj) throws JAXBException {\n\t\tStringWriter stringWriter = new StringWriter();\n\t\tJAXBContext context = null;\n\t\tMarshaller marshaller = null;\n\t\tcontext = JAXBContext.newInstance(obj.getClass());\n\t\tmarshaller = context.createMarshaller();\n\t\tmarshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);\n\t\tmarshaller.setProperty(Marshaller.JAXB_ENCODING, \"UTF-8\");\n\t\tmarshaller.marshal(obj, stringWriter);\n\t\tString xmlString = stringWriter.getBuffer().toString();\n\n\t\tStringWriter writer = new StringWriter();\n\n\t\tTransformerFactory tf = TransformerFactory.newInstance();\n\t\tTransformer transformer;\n\t\ttry {\n\t\t\ttransformer = tf.newTransformer();\n\t\t\ttransformer.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, \"yes\");\n\t\t\ttransformer.transform(new StreamSource(new StringReader(xmlString)), new StreamResult(writer));\n\t\t} catch (TransformerConfigurationException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (TransformerException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\treturn writer.getBuffer().toString();\n\t}", "title": "" }, { "docid": "bff35866555d8e510d884f4c7af65171", "score": "0.528343", "text": "XmlContents createXmlContents();", "title": "" }, { "docid": "604fd2eea4ea524dbc25b331113562bc", "score": "0.5242261", "text": "public String toString() {\n return root.toString();\n }", "title": "" }, { "docid": "3616d9f52ad4608889d34f52704e0fad", "score": "0.52375895", "text": "public static String toXml(Person person){\n\t\txstream.setMode(XStream.NO_REFERENCES);\n\t\t//注册使用了注解的实体\n\t\txstream.processAnnotations(new Class[]{Person.class, Address.class});\n\t\tString xml = xstream.toXML(person);\n\t\treturn xml;\n\t}", "title": "" }, { "docid": "7d856fb29480081ea30077277f404c77", "score": "0.52293587", "text": "@Override\n\tpublic List<Map<String, Object>> viewXML() {\n\t\tList<Map<String,Object>> mlist = new ArrayList<Map<String,Object>>();\n\t\tString sql = \"select * from comment\";\n\t\t\n\t\t\n\t\ttry {\n\t\t\tdb.getConnetion();\n\t\t\tmlist = db.findMoreResult(sql, null);\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}finally{\n\t\t\tdb.releaseConn();\n\t\t}\n\t\t\n\t\t\n\t\treturn mlist;\n\t}", "title": "" }, { "docid": "00c7f9e5a3be9ecc05b2fba5562aa0c6", "score": "0.522926", "text": "private String getXMLAsString(Object object) throws Exception {\n\t\t\n\t\tStringWriter sw = new StringWriter();\n\t\tJAXBContext context = JAXBContext.newInstance(object.getClass());\n\t\tMarshaller m = context.createMarshaller();\n\t\t\n\t\t//for pretty-print XML in JAXB\n\t\tm.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);\n\t\tm.setProperty(Marshaller.JAXB_FRAGMENT, Boolean.TRUE);\n\n\t\t// Write to File\n\t\tm.marshal(object, sw);\n\t\treturn sw.toString();\n\t}", "title": "" }, { "docid": "8e060c965ae57ab1bff10d44e3685349", "score": "0.52241594", "text": "public Element toXML() {\n\t\tElement e = DocumentHelper.createElement(\"excerption\"); //$NON-NLS-1$\n\t\te.addElement(\"sourceFilePath\").addText(pathInSourceFile); //$NON-NLS-1$\n\t\te.addElement(\"startPos\").addText(startPos.toString()); //$NON-NLS-1$\n\t\te.addElement(\"endPos\").addText(endPos.toString()); //$NON-NLS-1$\n\t\treturn e;\n\t}", "title": "" }, { "docid": "727a3f863243b2a47d7cb303aa0af723", "score": "0.52241284", "text": "private String getFormXML() {\n FormXmlBuilder builder = new FormXmlBuilder(config, pack, meta, form, new XmlValidatorImpl());\n return builder.getXML();\n }", "title": "" }, { "docid": "e155c18bb7a2ae63d8cd31e0ed83f06f", "score": "0.5217558", "text": "public abstract String getXmlFormat();", "title": "" }, { "docid": "e7309ffa576a556cf4b8857f9a388e7a", "score": "0.52073646", "text": "@Override\r\n\tpublic String toString() {\r\n\t\treturn getClass().getSimpleName() + \"<adapting:\" + adapteeClass.getName() + \">\";\r\n\t}", "title": "" }, { "docid": "37fac23c634d57440061150ae748e39a", "score": "0.5202743", "text": "public SoapDataConsumer(){\n Jaxb2Marshaller marshaller = new Jaxb2Marshaller();\n marshaller.setContextPath(\"es.daniel.outputgui.data\");\n setMarshaller(marshaller);\n setUnmarshaller(marshaller);\n }", "title": "" }, { "docid": "722157fd441f8e13be61ad6a19ef591d", "score": "0.5200999", "text": "private String streamXML() {\n return BatchExecutionHelper.newXStreamMarshaller().toXML(batchCommand());\n }", "title": "" }, { "docid": "616707300cbaffcc356bc232e682257c", "score": "0.5186972", "text": "public java.lang.String getXml() {\n java.lang.Object ref = xml_;\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 xml_ = s;\n return s;\n }\n }", "title": "" }, { "docid": "f77195e6143d0ec1f52b105b0d457adf", "score": "0.5172341", "text": "public Document getRelationXML() {\n\t\treturn relationXML;\n\t}", "title": "" }, { "docid": "b8de20901330319d5e10d7a2cf8e3f10", "score": "0.51723355", "text": "abstract public String getXMLString();", "title": "" }, { "docid": "540d07353a4ce99d60949a3a5dc88336", "score": "0.51626146", "text": "public boolean getEscapeXml() {\n\t\treturn super.escapeXml;\n\t}", "title": "" }, { "docid": "13e545b1ee37665b49259db5101a0e5b", "score": "0.51601154", "text": "public java.lang.String getXml() {\n java.lang.Object ref = xml_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n xml_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "2e6dcfe52077b5f73c4e7bfcd06d9068", "score": "0.5158704", "text": "@Override\n\tpublic String toString() {\n\t\t//TODO implement me!!!\n\t}", "title": "" }, { "docid": "da4620c3c1ab52fd6731b7fbaa477324", "score": "0.51572603", "text": "@Override\n\t\t\tpublic String toString() {\n\t\t\t\treturn super.toString();\n\t\t\t}", "title": "" }, { "docid": "bf64269dec12dea95c92beef105cfb71", "score": "0.5154453", "text": "@Override\n\t\tpublic String toString() {\n\t\t\treturn \"DataTree [rootNode=\" + rootNode + \"]\";\n\t\t}", "title": "" }, { "docid": "5a47b58b163a949b09de942472d11852", "score": "0.51446587", "text": "@Override\n protected void loadXMLDescription() {\n\n }", "title": "" }, { "docid": "d653e4080e238a2e351d228c0c637483", "score": "0.51343125", "text": "@Override\r\n public String toString() {\r\n return ReflectionToStringBuilder.toString(this);\r\n }", "title": "" }, { "docid": "dc526cd149ceeda31a5a38bc4c4930dc", "score": "0.5129467", "text": "@Override\r\n public String toString() {\r\n return OpbToStringHelper.toString(this);\r\n }", "title": "" }, { "docid": "1234913465dbee4e40c9a6530e86ba8d", "score": "0.5125928", "text": "public String toString_d() {\r\n return root.toStringAll();\r\n }", "title": "" }, { "docid": "1946bf0ca0bacaf3631b0583efda5efc", "score": "0.5121113", "text": "@Override\r\n\tpublic Element serialize() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "f4e68b88279ce340f50ebd347246820c", "score": "0.5110834", "text": "@Override\r\n\tpublic String toString() {\n\t\treturn super.toString();\r\n\t}", "title": "" }, { "docid": "f4e68b88279ce340f50ebd347246820c", "score": "0.5110834", "text": "@Override\r\n\tpublic String toString() {\n\t\treturn super.toString();\r\n\t}", "title": "" }, { "docid": "f4e68b88279ce340f50ebd347246820c", "score": "0.5110834", "text": "@Override\r\n\tpublic String toString() {\n\t\treturn super.toString();\r\n\t}", "title": "" }, { "docid": "c6c89617345a97ed8b43fdb0810f9b70", "score": "0.510919", "text": "@Override\r\n\tpublic String toString() {\n\t\treturn elemento.toString();\r\n\t}", "title": "" }, { "docid": "56dd4195fb5492509dc26ad221dbe026", "score": "0.51023185", "text": "@Override\n public XmlStringBuilder toXML(XmlEnvironment xmlEnvironment)\n {\n XmlStringBuilder xml = new XmlStringBuilder(this);\n\n // add the rest of the attributes if any\n for (Map.Entry<String, Object> entry : attributes.entrySet()) {\n xml.optAttribute(entry.getKey(), entry.getValue().toString());\n }\n xml.rightAngleBracket();\n\n xml.optElement(ELEMENT_DISPLAY_TEXT, displayText);\n xml.optElement(ELEMENT_CALLID, callID);\n xml.optElement(ELEMENT_FROMTAG, fromTag);\n xml.optElement(ELEMENT_TOTAG, toTag);\n\n for (ExtensionElement ext : getChildExtensions()) {\n xml.append(ext.toXML(XmlEnvironment.EMPTY));\n }\n xml.closeElement(ELEMENT);\n return xml;\n }", "title": "" }, { "docid": "74de2cee768e44bf752daa01709d286b", "score": "0.5101795", "text": "@Override\n\tpublic String toString() {\n\t\treturn \"\"; // TODO\n\t}", "title": "" }, { "docid": "12948e758967f812bbf98140be1846fe", "score": "0.5094558", "text": "@Override\r\n public String toString() {\r\n return super.toString();\r\n }", "title": "" }, { "docid": "c53a783b3905630f68ac6efb23f39b2a", "score": "0.5093339", "text": "public String serialize() {\n Gson gson = new Gson();\n return gson.toJson(this);\n }", "title": "" }, { "docid": "006cd3b74e48ae3b1571f5181edb77d1", "score": "0.5092021", "text": "public String toStringFXMLend(){\r\n\t\tString re = \"\";\r\n\t\t\r\n\t\tif(this.type == ComponentType.AnchorPane){\r\n\t\t\tre = \"</children> </AnchorPane>\";\r\n\t\t}else if(this.type == ComponentType.Button){\r\n\t\t\tre = \"\";\r\n\t\t}else if(this.type == ComponentType.HBox){\r\n\t\t\tre = \"</children> </HBox>\";\r\n\t\t}else if(this.type == ComponentType.Label){\r\n\t\t\tre = \" \";\r\n\t\t}else if(this.type == ComponentType.TextArea){\r\n\t\t\tre = \" \";\r\n\t\t}else if(this.type==ComponentType.VBox){\r\n\t\t\tre = \"</children> </VBox>\";\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\treturn re;\r\n\t}", "title": "" } ]
6facd61747cc7efe8fd9c7f37db1f111
Does the current album have a cache
[ { "docid": "7a083fc96340fa3e754d97f59b3f41c3", "score": "0.6619445", "text": "private boolean isCurrentCacheFolderData(int position) {\n mTvPictureTitle.setTag(R.id.view_index_tag, position);\n LocalMediaFolder currentFolder = albumView.getFolder(position);\n if (currentFolder != null\n && currentFolder.getData() != null\n && currentFolder.getData().size() > 0) {\n mAdapter.bindData(currentFolder.getData());\n mPage = currentFolder.getCurrentDataPage();\n isHasMore = currentFolder.isHasMore();\n mRecyclerView.smoothScrollToPosition(0);\n\n return true;\n }\n return false;\n }", "title": "" } ]
[ { "docid": "deafc5d4f3b82882bab355b463071366", "score": "0.76296526", "text": "boolean inCache();", "title": "" }, { "docid": "18abcd9ac09bd32c2461b459d8b59781", "score": "0.72413254", "text": "public boolean isCached() {\n return isCached;\n }", "title": "" }, { "docid": "aac2c19fb3e8988b35c9440a428b7a9f", "score": "0.72177833", "text": "boolean getCacheable();", "title": "" }, { "docid": "d038d67dcc4de6aee2b7cda10f4e6152", "score": "0.72078073", "text": "public boolean isCache()\n/* */ {\n/* 116 */ return this.cacheLimit > 0;\n/* */ }", "title": "" }, { "docid": "829be70dde0517350e67ceae4aee8235", "score": "0.71843857", "text": "public boolean issetCache() {\n\t\treturn file.exists();\n\t}", "title": "" }, { "docid": "391248b4776a671eb6dc918964069b18", "score": "0.71234816", "text": "public boolean isCached(HttpRequest request) {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "e046085260a9e324159d74c2cd6297bc", "score": "0.7039727", "text": "public boolean isCache() {\n return false;\n }", "title": "" }, { "docid": "214bf048fd3062841c47a4193c2192ac", "score": "0.70026225", "text": "public boolean isCached() {\n if (file == null) {\n return false;\n }\n else {\n try {\n if ((file.canRead()) && (file.isFile())) {\n return true;\n }\n else {\n return false;\n }\n }\n catch(Exception e) {\n return false;\n }\n }\n }", "title": "" }, { "docid": "d34c6bed895df42240d1b0c5f4f7dea2", "score": "0.6958621", "text": "public boolean isCached(String url) {\n return mImageLoader.isCached(url);\n }", "title": "" }, { "docid": "cfa493b84d8adbd6996c031360a1d0cc", "score": "0.6943998", "text": "boolean isCached(final String eventId);", "title": "" }, { "docid": "0d61136eead55fe3d35e07767569aa99", "score": "0.6811189", "text": "private boolean isUseCache(Request<?> request) {\n return request.isShouldCache() && null != requestCache.get(request.getUrl());\n }", "title": "" }, { "docid": "27e4f9fc57d87bd61614fac26c79f064", "score": "0.6803453", "text": "boolean isCached(K key);", "title": "" }, { "docid": "aa93362c42071e7427ec85d3c5897b80", "score": "0.6797381", "text": "protected boolean getCache() {\n\t\treturn true;\n\t}", "title": "" }, { "docid": "6f3320c526ac19215ffa3d986ae17c83", "score": "0.6795391", "text": "public boolean isUseCache() {\n return useCache;\n }", "title": "" }, { "docid": "db9f10e1938aee6c6c1cd7951c19d507", "score": "0.6787398", "text": "public boolean isSetCached()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().find_attribute_user(CACHED$8) != null;\n }\n }", "title": "" }, { "docid": "9e919b34c363c8cbec61e26ac49fd82d", "score": "0.6779519", "text": "public boolean isCacheEntity() {\n return request == null;\n }", "title": "" }, { "docid": "ebda8d02e16c0dfebba553353c0804ca", "score": "0.6737055", "text": "public boolean hasCacheFiles(){\n File filePath = context.getFilesDir();\n\n if (filePath.isDirectory())\n {\n if(filePath.list().length > 0){\n return true;\n }\n }\n return false;\n }", "title": "" }, { "docid": "de383b2066ab2a6cfd766b5e9d35f266", "score": "0.66860276", "text": "public boolean isUseCache() {\r\n\t\treturn useCache;\r\n\t}", "title": "" }, { "docid": "d07b6af2b805248ce4277d60b45f27b7", "score": "0.6648068", "text": "@VisibleForTesting\n protected boolean isCached(Uri baseUri, long id) {\n int match = findMatch(baseUri, \"isCached\");\n int table = match >> BASE_SHIFT;\n ContentCache cache = mContentCaches[table];\n if (cache == null) return false;\n Cursor cc = cache.get(Long.toString(id));\n return (cc != null);\n }", "title": "" }, { "docid": "2f3b189e2ccd4ca8ed370594ee701c4a", "score": "0.66463876", "text": "private boolean getShowFromCache(String request) {\n\t\tint showId = 0;\n\t\t\n\t\ttry {\n\t\t\tshowId = Integer.parseInt(request.substring(request.lastIndexOf(\"/\")+1));\t\n\t\t} catch (StringIndexOutOfBoundsException e) {\n\t\t\tLog.e(TAG, \"Can't look for \" + request + \" so assuming not in cache.\");\n\t\t\treturn false;\n\t\t} catch (NumberFormatException nfe) {\n\t\t\tLog.e(TAG, \"Request doesn't contain a showId: \" + request);\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\tLog.i(TAG, \"found showId in requestforcache: \" + showId);\n\t\tCursor cursor = mDbHelper.fetchShow(showId);\n\t\tboolean isEmpty = cursor.getCount() == 0; \n\t\tif (!isEmpty) {\n\t\t\tthis.bdShow = mDbHelper.cursorToShow(cursor);\n\t\t}\n\t\tcursor.close();\n\t\t\n\t\treturn !isEmpty;\n\t}", "title": "" }, { "docid": "8269d8ebb49810599076c0d3a498fc82", "score": "0.6640367", "text": "protected boolean cached(String cacheKey){\r\n\t\treturn cache.containsKey(cacheKey);\r\n\t}", "title": "" }, { "docid": "4059584b1385c681c0a25b8b242b5f6b", "score": "0.6634547", "text": "boolean isCacheable();", "title": "" }, { "docid": "ff9bbe2b21cc434bd6e5db558bbc37e6", "score": "0.65632176", "text": "public boolean showExistsInCache(Show show) {\n return false;\n }", "title": "" }, { "docid": "b580aca435c4d5bb88f69ac24adacc27", "score": "0.6557416", "text": "public boolean hasCached(ModuleId identifier) {\n\t\treturn cache.containsKey(identifier);\n\t}", "title": "" }, { "docid": "99cf17f336ce186804b350596385bce2", "score": "0.65320903", "text": "public boolean hasCachedValues() {\n return !unknown;\n }", "title": "" }, { "docid": "4995a9e72359a6d6965d474871a0d908", "score": "0.6495131", "text": "public boolean isCacheHash() {\n return isUseLazyhash() || isUsePrehashed();\n }", "title": "" }, { "docid": "ea6e70a137276c8a1ef7587b9a8ae946", "score": "0.6491721", "text": "public boolean isCacheStillValid() {\n return true;\n }", "title": "" }, { "docid": "7a9288c487ccfd39289950eda2e7d155", "score": "0.6484382", "text": "boolean getAutoCacheState();", "title": "" }, { "docid": "27e9c2583d389883660cd1b636a330cb", "score": "0.64427316", "text": "public boolean isCacheUnresolved()\n/* */ {\n/* 139 */ return this.cacheUnresolved;\n/* */ }", "title": "" }, { "docid": "7d5be4984e2cbde4b00c56b6c8aec755", "score": "0.64384407", "text": "private boolean fetchFilesFromCache() {\n if (adapter != null) {\n adapter.cancelThumbLoad();\n }\n\n if (!viewmode.equals(\"files\")) {\n return false;\n }\n\n // Get cached children\n ArrayList<FileItem> cachedFiles = filelistCache.getChildren(getCurrentFolderId());\n\n if (cachedFiles.size() > 0) {\n emptyList();\n items.addAll(cachedFiles);\n filteredItems.addAll(cachedFiles);\n\n if (hierarchy.size() == 1) {\n hierarchy.set(0, filelistCache.getFile(getCurrentFolderId()));\n }\n\n displayFiles();\n }\n\n return (cachedFiles.size() > 0);\n }", "title": "" }, { "docid": "b516d783c96f6dedde6e3bed0d18499e", "score": "0.64372164", "text": "@Override\r\n\tpublic boolean needCache() {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "43bd00797896e282563a685204119d7a", "score": "0.6421426", "text": "public boolean isReady()\r\n\t{\r\n\t\treturn cache.isReady();\r\n\t}", "title": "" }, { "docid": "20b0c43a41f5d5e26cdd3fda61f4867f", "score": "0.64200795", "text": "boolean isCached(Statement statement);", "title": "" }, { "docid": "8dd0718a91be386ccae87857d7c6d068", "score": "0.6403824", "text": "public boolean isCacheStillValid() {\n return false;\n }", "title": "" }, { "docid": "3722a4273dc0cfe0b85938b5822f6ca4", "score": "0.6374796", "text": "public static boolean hasExternalCacheDir() {\n return Build.VERSION.SDK_INT >= Build.VERSION_CODES.FROYO;\n }", "title": "" }, { "docid": "45a63ce1888cbe7b6ca725692692aad5", "score": "0.6349914", "text": "public boolean isUsingCaching() {\r\n\t\treturn useCaching;\r\n\t}", "title": "" }, { "docid": "f5665acbd7575363c4fa886ea4830ef5", "score": "0.6303272", "text": "public boolean isPresent(CacheKey cacheKey)\n\t\t\tthrows com.tyba.technicalServices.cache.CachingException {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "4f25728158837e8f0654c429bf7bc45b", "score": "0.62521553", "text": "public boolean contains(String imageUrl) {\n\t\treturn cacheInfo.containsKey(imageUrl);\n\t}", "title": "" }, { "docid": "3db356098ae5ac747a09b32d96ef853d", "score": "0.61955327", "text": "boolean hasAsset();", "title": "" }, { "docid": "3db356098ae5ac747a09b32d96ef853d", "score": "0.61955327", "text": "boolean hasAsset();", "title": "" }, { "docid": "3db356098ae5ac747a09b32d96ef853d", "score": "0.61955327", "text": "boolean hasAsset();", "title": "" }, { "docid": "e507fca35852b614ab5f6c4692154577", "score": "0.6195203", "text": "public boolean isCachedAtomContainer(IAtomContainer container) {\n\t\tif (cachedDescriptorValues == null) return false;\n\t\treturn (cachedDescriptorValues.get(PREVIOUS_ATOMCONTAINER) == container);\n\t}", "title": "" }, { "docid": "5603abbf6f260d45a21e5bcc7a07b804", "score": "0.6156898", "text": "public boolean getCacheWiz();", "title": "" }, { "docid": "603a442d422d0f1424c0d9aa44f10e06", "score": "0.6152814", "text": "public boolean hasItem() {\n return genClient.cacheHasKey(CacheKey.item);\n }", "title": "" }, { "docid": "d8461ddbbfb2c376803b0e53ce426355", "score": "0.6152263", "text": "public boolean hasAsset() {\n return asset_ != null;\n }", "title": "" }, { "docid": "0f029831aba4df3ffbf3caed9e879a0f", "score": "0.61150336", "text": "public boolean isCacheInvalidationRequired() {\n\t\treturn hasFormulaProperties() ||\n\t\t\t\t( !isVersioned() && ( entityMetamodel.isDynamicUpdate() || getTableSpan() > 1 ) );\n\t}", "title": "" }, { "docid": "2eba4a4b0c84fd294e6c7cc67c60a2f4", "score": "0.61084026", "text": "@Override\n public boolean test(UnknownSdkSnapshot snapshot) {\n if (snapshot.equals(myPreviousRequestCache)) return false;\n myPreviousRequestCache = snapshot;\n return true;\n }", "title": "" }, { "docid": "2710018e4569e0a6f12b9466afe40d29", "score": "0.6105956", "text": "private boolean loadImageCache() {\n\t\timageCache = new HashMap<>();\n\t\t\n\t\ttry {\n\t\t\timageCache.put(\"b-left\", ImageIO.read(new File(path, \"b-left.png\")));\n\t\t\timageCache.put(\"b-right\", ImageIO.read(new File(path, \"b-right.png\")));\n\t\t\timageCache.put(\"player\", ImageIO.read(new File(path, \"player.png\")));\n\t\t\timageCache.put(\"farmer\", ImageIO.read(new File(path, \"farmer.png\")));\n\t\t\timageCache.put(\"doctor\", ImageIO.read(new File(path, \"doctor.png\")));\n\t\t} catch (Exception e) {\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\treturn true;\n\t\t\n\t}", "title": "" }, { "docid": "099cfc4e74efb45ddbafb562f0c2a96f", "score": "0.6103004", "text": "boolean noCache();", "title": "" }, { "docid": "e5f2a2198d46d24e55e8453cfa8d810a", "score": "0.60860825", "text": "public boolean hasItems() {\n return cacheHasKey(CacheKey.items);\n }", "title": "" }, { "docid": "ac01da250658c0e687ac49db3d05315e", "score": "0.60791415", "text": "public static boolean hasNextCache() {\n \t\tfor (boolean cached : plugins.values()) {\n \t\t\tif (!cached) {\n \t\t\t\treturn true;\n \t\t\t}\n \t\t}\n \t\treturn false;\n \t}", "title": "" }, { "docid": "2f36d60eefe21edf870be9ae23bad1d1", "score": "0.6077906", "text": "public boolean isCacheable() {\n return true;\n }", "title": "" }, { "docid": "4d8b14d971d0346361343ff4294bd719", "score": "0.6073825", "text": "boolean isBrowserCacheable() {\n return (isReleaseVersion() && isMatchingPluginVersionInstalled());\n }", "title": "" }, { "docid": "745a3a662f1e22804eba837150bafb1a", "score": "0.6056173", "text": "private boolean cacheOutdated() {\n return this.__cacheTraceCount < 0 || this.__cacheTraceCount != this.spectra.getTraces().size();\n }", "title": "" }, { "docid": "184d3215d2821afa0ebc2a36ddb1d475", "score": "0.6054722", "text": "public boolean isUseHitTestCache() {\n return useHitTestCache;\n }", "title": "" }, { "docid": "b0269d866f1d186de53ddf562164c881", "score": "0.605448", "text": "public boolean isPresent(CacheKey cacheKey, String regionName)\n\t\t\tthrows com.tyba.technicalServices.cache.CachingException {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "6c65f942d1e72cd3b7d448501705f983", "score": "0.60105526", "text": "protected boolean onPerformCacheRead() {\n if (!isLoading()) {\n cache.readAsync(getAdapter(), this);\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "98a0552d6ffaa1cf5dbc21d3745e39da", "score": "0.599941", "text": "public static boolean isCached(String group) {\n return getGroups().contains(group);\n }", "title": "" }, { "docid": "496857c365d945e789a44104d5ba5952", "score": "0.5997869", "text": "boolean getIgnoreCache();", "title": "" }, { "docid": "cff19feeb79350b77c213537b6d02dac", "score": "0.5995454", "text": "public boolean getCached()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CACHED$8);\n if (target == null)\n {\n return false;\n }\n return target.getBooleanValue();\n }\n }", "title": "" }, { "docid": "f746860ff50b60578b112dfb3af3eaeb", "score": "0.5984334", "text": "public static boolean isCacheAvailableOnAndroid() {\n try {\n Class<?> cache = Class.forName(\"android.net.http.HttpResponseCache\");\n cache.getMethod(\"getInstalled\").invoke(null);\n androidSupportCache = true;\n } catch (ClassNotFoundException e) {\n LogUtil.printError(\"Could not find Class: android.net.http.HttpResponseCache\", e.getCause());\n androidSupportCache = false;\n } catch (NoSuchMethodException e) {\n LogUtil.printError(\"Could not find Method: getInstalled\", e.getCause());\n androidSupportCache = false;\n } catch (IllegalAccessException e) {\n LogUtil.printError(\"Could not access Method: getInstalled\", e.getCause());\n androidSupportCache = false;\n } catch (InvocationTargetException e) {\n LogUtil.printError(\"Failed to invoke Method: getInstalled\", e.getCause());\n androidSupportCache = false;\n }\n return androidSupportCache;\n }", "title": "" }, { "docid": "6b23ea12e8989beaafe71869555a4188", "score": "0.5955326", "text": "public boolean containsCache(String serviceType,String opName){\n\tDescription description = new Description(serviceType, opName);\n \tif (caches.containsKey(description))\n \t{\n \t List<ServiceDescription> descriptions = caches.get(description);\n \t return descriptions!= null && descriptions.size() > 0;\n \t}\n \treturn false;\n }", "title": "" }, { "docid": "ffd03863c699c016d13293e07703eff7", "score": "0.59547454", "text": "public boolean addCache() {\n\n if (poplist.isEmpty() || remainingMemory == 0)\n return false; // if the RequestList is empty or the cache is full return false\n\n // Delete video that are too big for the buffer\n while (!poplist.isEmpty() && Parser.videos.get(poplist.get(poplist.lastKey())) > remainingMemory) {\n poplist.remove(poplist.firstKey());\n }\n \n if (poplist.isEmpty() || remainingMemory == 0)\n return false; // if the RequestList is empty or the cache is full return false\n\n int videoAdd = poplist.remove(poplist.lastKey());// Get the id of the video to add to the buffer\n\n videos.add(videoAdd);\n remainingMemory -= Parser.videos.get(videoAdd); // reduce de size of remainingMemory\n return true;\n }", "title": "" }, { "docid": "67e64db8661bac723662d84b0a0f38b2", "score": "0.59303117", "text": "@java.lang.Override\n public boolean hasAsset() {\n return asset_ != null;\n }", "title": "" }, { "docid": "c6eb097e3a13d2a1b328fb8fb84ddd73", "score": "0.5922155", "text": "boolean isCached(Class type, Serializable key);", "title": "" }, { "docid": "4b91471dec11033d15d37c57bdbcad32", "score": "0.5916015", "text": "@Override\n\tpublic final boolean isCacheable() {\n\t\treturn true;\n\t}", "title": "" }, { "docid": "b18f3b59154b2078d59f09619e2cf254", "score": "0.58757067", "text": "private boolean getEpisodeFromCache(String request) {\n\t\tint epId = 0;\n\n\t\ttry {\n\t\t\tepId = Integer.parseInt(request.substring(request.lastIndexOf(\"/\")+1));\t\n\t\t} catch (StringIndexOutOfBoundsException e) {\n\t\t\tLog.e(TAG, \"Can't look for \" + request + \" so assuming not in cache.\");\n\t\t\treturn false;\n\t\t} catch (NumberFormatException nfe) {\n\t\t\tLog.e(TAG, \"Request doesn't contain an epId: \" + request);\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\tLog.i(TAG, \"found epid in cache: \" + epId);\n\t\tCursor cursor = mDbHelper.fetchEpisode(epId);\n\t\tboolean isEmpty = cursor.getCount() != 0; \n\t\tif (!isEmpty) {\n\t\t\tthis.bdEp= mDbHelper.cursorToEpisode(cursor);\n\t\t}\n\t\tcursor.close();\n\t\n\t\treturn !isEmpty;\n\t}", "title": "" }, { "docid": "7ee8ab21790471fe064ad3f16eedc086", "score": "0.58604056", "text": "@Override\n public boolean isOn() {\n if (BardFeatureFlag.DRUID_CACHE.isSet() || BardFeatureFlag.DRUID_CACHE_V2.isSet()) {\n // no cache\n if (this.value.equals(\"NoCache\")) {\n return ! BardFeatureFlag.DRUID_CACHE.isOn();\n }\n\n return (this.value.equals(\"Ttl\")\n && !BardFeatureFlag.DRUID_CACHE_V2.isOn()\n && BardFeatureFlag.DRUID_CACHE.isOn()\n )\n || (this.value.equals(\"LocalSignature\")\n && BardFeatureFlag.DRUID_CACHE.isOn()\n && BardFeatureFlag.DRUID_CACHE_V2.isOn());\n }\n return value.equalsIgnoreCase(\n SYSTEM_CONFIG.getStringProperty(\n SYSTEM_CONFIG.getPackageVariableName(\"query_response_caching_strategy\"),\n \"NoCache\"\n )\n );\n }", "title": "" }, { "docid": "7fa0c85638a6a8f35708cb8f5d047be4", "score": "0.5858174", "text": "public boolean isCacheable() {\n return false;\n }", "title": "" }, { "docid": "98453be7b45826d2ff68badae4d8756b", "score": "0.58538043", "text": "public boolean hasName() {\n return genClient.cacheHasKey(CacheKey.name);\n }", "title": "" }, { "docid": "e0f21f41e4168a28d8bb14050e1adbf7", "score": "0.5827156", "text": "public boolean hasName() {\n return cacheHasKey(CacheKey.name);\n }", "title": "" }, { "docid": "2e0cddbb8e3758effd4d48021a909c3a", "score": "0.5824984", "text": "private boolean shouldSaveToCache(ArrayList<DataSegment> segments) {\n for (DataSegment segment:segments) {\n if (segment.shouldSaveToCache()) return true; // store the whole sequence in the cache if one segment requests it\n }\n return false;\n }", "title": "" }, { "docid": "50805e1a9986b0f7387e300c27fa5ed2", "score": "0.5804496", "text": "protected void cacheExists(final boolean exists) {\n\t\tcachedExistsMap.put(new CacheKey(getClient(), getURI()), new CachedExists(exists)); //cache the information\n\t}", "title": "" }, { "docid": "a6bd43aa41be2853ffbce09029328b98", "score": "0.5801068", "text": "public boolean isDeliveryDetailsCached(int offset) {\n return mRealm.where(DeliveryDetailsRealm.class).equalTo(\"id\", offset).count() > 0;\n }", "title": "" }, { "docid": "56b3488372e11a10a414be95684d7fc0", "score": "0.5789826", "text": "private boolean checkIfCachedSimulationIsPossible() {\n\n if ((support.getMySimulationCache() != null) && (support.getMySimulationCache().getCacheSize() >= 1)) {\n if (support.getMySimulationCache().checkIfAllParameterMatchTable((parameterTableModel) this.jTableParameterList.getModel())) {\n support.log(\"Cached Simulation available, all Parameter match.\", typeOfLogLevel.INFO);\n support.setMySimulationCache(support.getMySimulationCache());\n support.setCachedSimulationEnabled(true);\n this.jButtonEmptyCache.setEnabled(true);\n } else {\n support.log(\"Cached Simulation not available, but all Parameter match. Maybe Stepping or Range is wrong.\", typeOfLogLevel.INFO);\n support.setCachedSimulationEnabled(false);\n }\n } else {\n support.log(\"Cached Simulation not available, no simulation cache given.\", typeOfLogLevel.INFO);\n support.setCachedSimulationEnabled(false);\n this.jButtonEmptyCache.setEnabled(false);\n }\n this.updateComboBoxSimulationType();\n this.jButtonEmptyCache.setEnabled(support.getMySimulationCache().getCacheSize() >= 1);\n this.saveProperties();\n return support.isCachedSimulationAvailable();\n }", "title": "" }, { "docid": "a45a5a22b6a382d4f233327552a50c23", "score": "0.5769164", "text": "public boolean isConnected() {\r\n if (cacheServer != null && cacheServer.isConnected()) {\r\n return true;\r\n }\r\n return false;\r\n }", "title": "" }, { "docid": "7d4e3b18892ee06063654a03d366d34e", "score": "0.57551414", "text": "private static boolean isUseTransactionCache() {\n\t\t// TODO Auto-generated method stub\n\t\treturn false;\n\t}", "title": "" }, { "docid": "63118c93551ca38f81cfd8200c2cb7f2", "score": "0.57228124", "text": "public boolean getCacheWizFwd();", "title": "" }, { "docid": "320e5a69685322b3e1f2d92af7091c5a", "score": "0.5705474", "text": "public static boolean isEnvironmentCached() {\n return cacheEnvironment;\n }", "title": "" }, { "docid": "c1061bff10238b384b1fd7bef2c59246", "score": "0.57022905", "text": "public boolean isFresh() {\n return System.currentTimeMillis() - this.lastModified <= this.maxAge;\n }", "title": "" }, { "docid": "d9b6fe7d610359db65fb400c5dd91afe", "score": "0.5697668", "text": "public boolean hasAsset() {\n return assetBuilder_ != null || asset_ != null;\n }", "title": "" }, { "docid": "d9b6fe7d610359db65fb400c5dd91afe", "score": "0.5697668", "text": "public boolean hasAsset() {\n return assetBuilder_ != null || asset_ != null;\n }", "title": "" }, { "docid": "c9bb4040dfcdd393c01492955f0c4ee1", "score": "0.56806296", "text": "@Override\n\tpublic boolean isExpired() {\n\t\treturn _editionGallery.isExpired();\n\t}", "title": "" }, { "docid": "424de13ac116bd76bfb825a6d7cc5244", "score": "0.56690985", "text": "boolean isFresh();", "title": "" }, { "docid": "e43061217f8dbeb45e3201bae965c5fc", "score": "0.5644729", "text": "private boolean checkRefreshNecessary()\n {\n boolean refreshNecessary = false;\n\n long currentTimestamp = Instant.now().getEpochSecond();\n long expires_At = currentAthlete.getExpires_At();\n\n if ((expires_At - 3600) < currentTimestamp)\n {\n refreshNecessary = true;\n }\n\n return refreshNecessary;\n }", "title": "" }, { "docid": "0d0e54c886e119a0e952229551df9bcb", "score": "0.5638528", "text": "public boolean cached(int i) {\r\n\t\tboolean ok;\r\n\t\tint pos = lookup(i);\r\n\t\tif (index[pos] == i) {\r\n\t\t\tif (last_used[pos] > 0) {\r\n\t\t\t\tok = true;\r\n\t\t\t} else {\r\n\t\t\t\tok = false;\r\n\t\t\t};\r\n\t\t} else {\r\n\t\t\tok = false;\r\n\t\t};\r\n\t\treturn (ok);\r\n\t}", "title": "" }, { "docid": "5112286f7b5f7abc49681f6c00de7d76", "score": "0.5629166", "text": "@Cacheable({\"product5\"})\n boolean existsByName(String name);", "title": "" }, { "docid": "24c0b6e34257a77b3dd83a1bed2530d6", "score": "0.5628819", "text": "public boolean isInMemory();", "title": "" }, { "docid": "34abcc009819688fb4ead2f06ae70d12", "score": "0.56279564", "text": "boolean getCachePreparedQuery();", "title": "" }, { "docid": "dcdd0de06352c187a155a066d8fdb860", "score": "0.5596803", "text": "public boolean isFetching()\n {\n return mFetchTask != null;\n }", "title": "" }, { "docid": "e5f4b5d99fc807eb5204d58317289191", "score": "0.5586782", "text": "@Override\n\tprotected boolean isValidDataCacheEnabled() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "0cb181afd44f8de7eef49bd13d04bbd5", "score": "0.5586579", "text": "public boolean loadCacheFromManifest() throws IOException {\n if (_fileSystem.exists(_newManifest)) {\n loadCacheFromManifest(_newManifest);\n return true;\n } else if (_fileSystem.exists(_manifest)) {\n loadCacheFromManifest(_manifest);\n return true;\n } else {\n return false;\n }\n }", "title": "" }, { "docid": "a8a3e038de5d733c654ae82fb618bf83", "score": "0.5584928", "text": "public boolean contains(Object key) {\n\t\treturn underlyingCache.toMap().containsKey( key );\r\n\t}", "title": "" }, { "docid": "c37af592ed1c8e30ca83236d037485d1", "score": "0.55421704", "text": "public boolean hasCover() {\n\treturn image_cover != null;\n }", "title": "" }, { "docid": "0d06f0391651c8d35e80f0906a2b215d", "score": "0.55384237", "text": "public static void isCacheEmpty() throws ClassNotFoundException, RemoteReadException, IOException\n\t{\n\t\tString cacheKey;\n\t\tIsCacheEmptyInPointingStoreResponse response;\n\t\tfor (int i = 0; i < cacheMaxNum; i++)\n\t\t{\n\t\t\tcacheKey = \"Cache\" + i;\n\t\t\tresponse = FrontReader.RR().isPointingCacheEmpty(cacheKey);\n\t\t\tif (response.isEmpty())\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Cache key = \" + cacheKey + \" is EMPTY in the store\");\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Cache key = \" + cacheKey + \" is NOT EMPTY in the store\");\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "ac1697aa2f376a7b923e38bf18cc355e", "score": "0.55345356", "text": "boolean hasUse();", "title": "" }, { "docid": "4ddebd38b8d0b0c85264d523021390bc", "score": "0.55259097", "text": "public boolean clearCache() {\n if (cache!=null) return cache.clearCache();\n else return true;\n }", "title": "" }, { "docid": "78b30b10f93e3752118431ba1f35499a", "score": "0.55223393", "text": "public boolean hasTitle() {\n return genClient.cacheHasKey(CacheKey.title);\n }", "title": "" }, { "docid": "56053a3725f03a78f175c981061bd30e", "score": "0.5513136", "text": "public Object getCache();", "title": "" }, { "docid": "f9a82acb62b4bc1f08d8dd7c89234e24", "score": "0.5506789", "text": "private static boolean hasCacheProperty(String cacheName, String suffix) {\n String propName = PROPERTY_PREFIX_CACHE + cacheName.replaceAll(\" \", \"\") + suffix;\n String sizeProp = JiveGlobals.getProperty(propName);\n if (sizeProp == null && cacheNames.containsKey(cacheName)) {\n // No system property was found for the cache name so try now with short name\n propName = PROPERTY_PREFIX_CACHE + cacheNames.get(cacheName) + suffix;\n sizeProp = JiveGlobals.getProperty(propName);\n }\n if (sizeProp != null) {\n try {\n Long.parseLong(sizeProp);\n return true;\n }\n catch (NumberFormatException nfe) {\n log.warn(\"Unable to parse \" + propName + \" using default value.\");\n }\n }\n return false;\n }", "title": "" } ]
f50c586715978f4a0436a96c60923551
METHOD TO SAVE CTC DETAILS
[ { "docid": "d994d265f37b01d66058851b40640a70", "score": "0.65014124", "text": "public String save() throws Exception {\r\n\t\ttry {\r\n\t\t\tCTCDetailModel model = new CTCDetailModel();\r\n\t\t\tmodel.initiate(context, session);\r\n\t\t\tString str = null;\r\n\t\t\tString empId = ctcDetail.getEmpId();\r\n\t\t\tString qury = \" SELECT DISTINCT NVL(CREDIT_AMT,0),HRMS_CREDIT_HEAD.CREDIT_CODE ,HRMS_CREDIT_HEAD.CREDIT_NAME ,\"\r\n\t\t\t\t\t+ \"\tNVL(CREDIT_APPLICABLE,'Y') , EMP_ID\tFROM HRMS_EMP_CREDIT \"\r\n\t\t\t\t\t+ \"\tRIGHT JOIN HRMS_CREDIT_HEAD ON (HRMS_CREDIT_HEAD.CREDIT_CODE=HRMS_EMP_CREDIT.CREDIT_CODE AND EMP_ID=\"\r\n\t\t\t\t\t+ empId\r\n\t\t\t\t\t+ \" ) \"\r\n\t\t\t\t\t+ \"\tORDER BY EMP_ID,HRMS_CREDIT_HEAD.CREDIT_CODE\";\r\n\t\t\tObject amt[][] = model.getSqlModel().getSingleResult(qury);\r\n\t\t\tString[] amount = request.getParameterValues(\"amount\");\r\n\t\t\tString[] code = request.getParameterValues(\"ctcNameIdItt\");\r\n\t\t\tlogger.info(\"code lenght -- \" + code.length);\r\n\t\t\tfor (int i = 0; i < amount.length; i++) {// for loop for\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// retrieving data from\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// jsp\r\n\r\n\t\t\t\tObject[] bean = new Object[4];\r\n\r\n\t\t\t\tif (amount[i].trim().equalsIgnoreCase(String.valueOf(\"\"))\r\n\t\t\t\t\t\t|| amount[i] == null) {// if amount is blank or null\r\n\t\t\t\t\tamount[i] = String.valueOf(\"0\");\r\n\t\t\t\t}// end of if\r\n\r\n\t\t\t\tbean[0] = code[i];// code\r\n\t\t\t\tbean[1] = String.valueOf(\"Y\");// applicable\r\n\t\t\t\tbean[2] = amount[i];// amount\r\n\t\t\t\tbean[3] = empId;// empid\r\n\r\n\t\t\t\tlogger.info(\"ctcNameIdItt \" + bean[0] + \"amount is\" + bean[2]\r\n\t\t\t\t\t\t+ \"emp id is\" + bean[3]);\r\n\t\t\t\tstr = model.addCreditData(bean, ctcDetail, request);\r\n\r\n\t\t\t}// end of for\r\n\t\t\t\tmodel.updateSalGrade(ctcDetail);\r\n\t\t\tempId = ctcDetail.getEmpId();\r\n\t\t\tmodel.updateFormula(ctcDetail);\r\n\t\t\t/**\r\n\t\t\t * Following code calculates the tax and updates tax process\r\n\t\t\t */\r\n\r\n\t\t\ttry {\r\n\t\t\t\tCommonTaxCalculationModel taxtmodel = new CommonTaxCalculationModel();\r\n\t\t\t\tlogger.info(\"I m calling tax calculation method\");\r\n\t\t\t\ttaxtmodel.initiate(context, session);\r\n\t\t\t\tObject[][] empList = new Object[1][1];\r\n\t\t\t\tCalendar cal = Calendar.getInstance();\r\n\t\t\t\tcal.setTime(new Date());\r\n\t\t\t\tint fromYear = Integer.parseInt(String.valueOf(cal\r\n\t\t\t\t\t\t.get(Calendar.YEAR)));\r\n\t\t\t\tint month = Integer.parseInt(String.valueOf(cal\r\n\t\t\t\t\t\t.get(Calendar.MONTH)));\r\n\t\t\t\tif (month <= 2)\r\n\t\t\t\t\tfromYear--;\r\n\t\t\t\tempList[0][0] = ctcDetail.getEmpId();// employee id\r\n\t\t\t\tif (empList != null && empList.length > 0) {// if employee id\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// not null\r\n\t\t\t\t\ttaxtmodel.calculateTax(empList, String.valueOf(fromYear),\r\n\t\t\t\t\t\t\tString.valueOf(fromYear + 1));\r\n\t\t\t\t}// end of if\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\tlogger\r\n\t\t\t\t\t\t.error(\"Exception in addCreditData() while calling calculateTax : \"\r\n\t\t\t\t\t\t\t\t+ e);\r\n\t\t\t} // end of catch\r\n\t\t\taddActionMessage(str);\r\n\t\t\treset();\r\n\t\t\tempDetail();\r\n\t\t\tctcDetail.setEditFlag(false);\r\n\t\t\tctcDetail.setEditDetail(false);\r\n\t\t\tgetProfileImage();\r\n\t\t\tmodel.terminate();\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn SUCCESS;\r\n\r\n\t}", "title": "" } ]
[ { "docid": "87160ba339ca444087b94d3de7079a19", "score": "0.6259128", "text": "public void save() throws OperationFailedException\n {\n assertConnected();\n\n List<GenericDetail> details = infoRetreiver.getContactDetails(uin);\n VCard vCard = new VCard();\n for (GenericDetail detail : details)\n {\n if (detail instanceof ImageDetail)\n {\n byte[] avatar = ((ImageDetail) detail).getBytes();\n if (avatar == null) vCard.setAvatar(new byte[0]);\n else vCard.setAvatar(avatar);\n fireServerStoredDetailsChangeEvent(\n jabberProvider,\n ServerStoredDetailsChangeEvent.DETAIL_ADDED,\n null,\n detail);\n }\n else if (detail.getClass().equals(FirstNameDetail.class))\n {\n vCard.setFirstName((String)detail.getDetailValue());\n }\n else if (detail.getClass().equals(MiddleNameDetail.class))\n {\n vCard.setMiddleName((String)detail.getDetailValue());\n }\n else if (detail.getClass().equals(LastNameDetail.class))\n {\n vCard.setLastName((String)detail.getDetailValue());\n }\n else if (detail.getClass().equals(NicknameDetail.class))\n vCard.setNickName((String)detail.getDetailValue());\n else if (detail.getClass().equals(URLDetail.class))\n {\n if (detail.getDetailValue() != null)\n vCard.setField(\n \"URL\", detail.getDetailValue().toString());\n }\n else if (detail.getClass().equals(BirthDateDetail.class))\n {\n if (detail.getDetailValue() != null)\n {\n Calendar c = ((BirthDateDetail)detail).getCalendar();\n DateFormat dateFormat =\n new SimpleDateFormat(\n JabberActivator.getResources().getI18NString(\n \"plugin.accountinfo.BDAY_FORMAT\"));\n String strdate = dateFormat.format(c.getTime());\n vCard.setField(\"BDAY\", strdate);\n }\n }\n else if (detail.getClass().equals(AddressDetail.class))\n vCard.setAddressFieldHome(\n \"STREET\", (String)detail.getDetailValue());\n else if (detail.getClass().equals(CityDetail.class))\n vCard.setAddressFieldHome(\n \"LOCALITY\", (String)detail.getDetailValue());\n else if (detail.getClass().equals(ProvinceDetail.class))\n vCard.setAddressFieldHome(\n \"REGION\", (String)detail.getDetailValue());\n else if (detail.getClass().equals(PostalCodeDetail.class))\n vCard.setAddressFieldHome(\n \"PCODE\", (String)detail.getDetailValue());\n else if (detail.getClass().equals(CountryDetail.class))\n vCard.setAddressFieldHome(\n \"CTRY\", (String)detail.getDetailValue());\n else if (detail.getClass().equals(PhoneNumberDetail.class))\n vCard.setPhoneHome(\"VOICE\", (String)detail.getDetailValue());\n else if (detail.getClass().equals(WorkPhoneDetail.class))\n vCard.setPhoneWork(\"VOICE\", (String)detail.getDetailValue());\n else if (detail.getClass().equals(MobilePhoneDetail.class))\n vCard.setPhoneHome(\"CELL\", (String)detail.getDetailValue());\n else if (detail.getClass().equals(VideoDetail.class))\n vCard.setPhoneHome(\"VIDEO\", (String)detail.getDetailValue());\n else if (detail.getClass().equals(WorkVideoDetail.class))\n vCard.setPhoneWork(\"VIDEO\", (String)detail.getDetailValue());\n else if (detail.getClass().equals(EmailAddressDetail.class))\n vCard.setEmailHome((String)detail.getDetailValue());\n else if (detail.getClass().equals(WorkEmailAddressDetail.class))\n vCard.setEmailWork((String)detail.getDetailValue());\n else if (detail.getClass().equals(WorkOrganizationNameDetail.class))\n vCard.setOrganization((String)detail.getDetailValue());\n else if (detail.getClass().equals(JobTitleDetail.class))\n vCard.setField(\"TITLE\", (String)detail.getDetailValue());\n else if (detail.getClass().equals(AboutMeDetail.class))\n vCard.setField(\"ABOUTME\", (String)detail.getDetailValue());\n }\n\n //Fix the display name detail\n String tmp;\n\n tmp = infoRetreiver.checkForFullName(vCard);\n if(tmp != null)\n {\n DisplayNameDetail displayNameDetail = new DisplayNameDetail(\n StringEscapeUtils.unescapeXml(tmp));\n Iterator<GenericDetail> detailIt\n = infoRetreiver.getDetails(uin, DisplayNameDetail.class);\n while(detailIt.hasNext())\n {\n infoRetreiver.getCachedContactDetails(uin)\n .remove(detailIt.next());\n }\n infoRetreiver.getCachedContactDetails(uin).add(displayNameDetail);\n }\n\n try\n {\n VCardManager\n .getInstanceFor(jabberProvider.getConnection())\n .saveVCard(vCard);\n }\n catch (XMPPException\n | InterruptedException\n | NoResponseException\n | NotConnectedException xmppe)\n {\n logger.error(\"Error loading/saving vcard: \", xmppe);\n throw new OperationFailedException(\n \"Error loading/saving vcard: \", 1, xmppe);\n }\n }", "title": "" }, { "docid": "795e9ed17f2dcb2c6703744b0b628504", "score": "0.6232161", "text": "private void commitAboutDetails() {\n\t\tInvoiceGenerator.invoice.setMessers(txtMessers.getText());\r\n\t\tInvoiceGenerator.invoice.setBuyers_vat_no(new BigDecimal(txtBuyersVatNo.getText()));\r\n\t\tInvoiceGenerator.invoice.setAddress(txtrAddress.getText());\r\n\t}", "title": "" }, { "docid": "7e82ee539891077181624fe1e5967cfb", "score": "0.6123587", "text": "public CourierVO saveCourier(CourierVO courierVO);", "title": "" }, { "docid": "a655dd0222dc04b0260382a0dfaa6a0a", "score": "0.6075981", "text": "public void createNewCashDetails(CashManagementDocument cmDoc, String cashieringSource);", "title": "" }, { "docid": "50be8f3a5a80ddfd48c77a1251c5993d", "score": "0.6026163", "text": "HouseHoldDetail saveHouseHoldDetail(HouseHoldDetail houseHoldDetail);", "title": "" }, { "docid": "934e43d3a482d608da2cfe98be10d022", "score": "0.60123944", "text": "@Override\n\tpublic String persistCustomerDetails(Customer cust) {\n\t\treturn rentalDao.persistCustomerDetails(cust);\n\t}", "title": "" }, { "docid": "6a079323144c4d05c44affee9f40baf3", "score": "0.6009565", "text": "public void saveCompaign() {\n campaignio.saveCompaign(campaign);\n }", "title": "" }, { "docid": "2394ca9c08e2f4428abdeae92e360e1f", "score": "0.59598583", "text": "private void saveInfo() {\n\n\t\t// make sure the data in here is stored in the consultation class.\n\t\tVerifyPhysicianInfo();\n\t\tVerifySocialHistory();\n\t\tVerifyAssessmentAndPlan();\n\t\tVerifyVitalSigns();\n\n\t\t// ////////////////Physician Info ////////////////////////////\n\t\tPhysicianInfo pI = _globals.GetConsultation().GetPI();\n\t\tif (pI != null) \n\t\t{\n\t\t\tString Sname = pI.PhysicianName;\n\t\t\tString Sorg = pI.PhysicianOrganization;\n\t\t\tMap<String, Object> columnsValuesPI = new HashMap<String, Object>();\n\t\t\tcolumnsValuesPI.put(\"MyTimeStamp\", ScurrTimestamp);\n\t\t\tcolumnsValuesPI.put(\"profileID\", SprofileId_);\n\t\t\tcolumnsValuesPI.put(\"Name\", Sname);\n\t\t\tcolumnsValuesPI.put(\"Organization\", Sorg);\n\n\t\t\t_db.addRow(columnsValuesPI, \"physician_info\");\n\t\t\t_db.printAllValues(\"physician_info\");\n\t\t}\n\t\t\n\t\t// ////////////////Assesmnt & Plans ////////////////////////////\n\t\tString sAssesmentPlans = \" \";\n\t\tsAssesmentPlans = _assesmentPlans_EditText.getText().toString();\n\t\t\n\t\tMap<String, Object> columnsValuesAP = new HashMap<String, Object>();\n\t\tcolumnsValuesAP.put(\"MyTimeStamp\", ScurrTimestamp);\n\t\tcolumnsValuesAP.put(\"profileID\", SprofileId_);\n\t\tcolumnsValuesAP.put(\"Note\", sAssesmentPlans);\n\n\t\t_db.addRow(columnsValuesAP, \"assesment_note\");\n\t\t_db.printAllValues(\"assesment_note\");\n\t\t\t\n\t\t// ////////////////IllnessHistory ////////////////////////////\n\t\tList<ChiefComplaint> listHistory = _globals.GetConsultation().GetCCs();\n\t\tif (listHistory != null)\n\t\t{\n\t\t\tfor (int i = 0; i < listHistory.size(); i++) \n\t\t\t{\n\t\t\t\tChiefComplaint hist1 = listHistory.get(i);\n\t\t\t\t// Long ScurrTimestamp = System.currentTimeMillis()/1000;\n\t\t\t\t// int profileId_ = _globals.GetProfile().ProfileID;\n\t\t\t\tString Ssymptom = hist1.Symptom;\n\t\t\t\tString Sonset = hist1.OnsetOfSymptom;\n\t\t\t\tString Lduration = hist1.duration;\n\t\t\t\tString SOTC = hist1.OTCTreatment;\n\t\t\t\t// String LendDate = hist1.Note;\n\t\t\t\t// System.out.println(\"dosage \" + med1.StartDate);\n\t\t\t\tMap<String, Object> columnsValues2 = new HashMap<String, Object>();\n\t\t\t\tcolumnsValues2.put(\"MyTimeStamp\", ScurrTimestamp);\n\t\t\t\tcolumnsValues2.put(\"profileID\", SprofileId_);\n\t\t\t\tcolumnsValues2.put(\"Symptom\", Ssymptom);\n\t\t\t\tcolumnsValues2.put(\"Onset\", Sonset);\n\t\t\t\tcolumnsValues2.put(\"Duration\", Lduration);\n\t\t\t\tcolumnsValues2.put(\"OTC\", SOTC);\n\n\t\t\t\t_db.addRow(columnsValues2, \"illness_history\");\n\t\t\t\t_db.printAllValues(\"illness_history\");\n\t\t\t}\n\t\t}\n\t\t// //////////////////////////////////////////////////////////\n\n\t\t// //////////////// Medication ////////////////////////////\n\t\tList<Medication> listMeds = _globals.GetConsultation().GetMeds();\n\t\tif (listMeds != null) {\n\t\t\tfor (int i = 0; i < listMeds.size(); i++) {\n\t\t\t\tMedication med1 = listMeds.get(i);\n\n\t\t\t\tString Sdosage = med1.Dosage;\n\t\t\t\tString Sdrug = med1.Drug;\n\t\t\t\tString Sfreq = med1.Freq;\n\t\t\t\tLong LstartDate = med1.StartDate;\n\t\t\t\tLong LendDate = med1.EndDate;\n\t\t\t\t// System.out.println(\"dosage \" + med1.StartDate);\n\t\t\t\tMap<String, Object> columnsValues2 = new HashMap<String, Object>();\n\t\t\t\tcolumnsValues2.put(\"MyTimeStamp\", ScurrTimestamp);\n\t\t\t\tcolumnsValues2.put(\"profileID\", SprofileId_);\n\t\t\t\tcolumnsValues2.put(\"drug\", Sdrug);\n\t\t\t\tcolumnsValues2.put(\"dosage\", Sdosage);\n\t\t\t\tcolumnsValues2.put(\"frequency\", Sfreq);\n\t\t\t\tcolumnsValues2.put(\"start_date\", LstartDate);\n\t\t\t\tcolumnsValues2.put(\"stop_date\", LendDate);\n\n\t\t\t\t_db.addRow(columnsValues2, \"current_medication\");\n\t\t\t\t_db.printAllValues(\"current_medication\");\n\t\t\t}\n\t\t}\n\t\t// //////////////////////////////////////////////////////////\n\n\t\t// //////////////// Allergies ////////////////////////////\n\n\t\tList<Allergy> listAllergies = _globals.GetConsultation().GetAlgs();\n\t\tif (listAllergies != null) {\n\t\t\tfor (int i = 0; i < listAllergies.size(); i++) {\n\t\t\t\tAllergy all1 = listAllergies.get(i);\n\n\t\t\t\tString Stype = all1.Type;\n\t\t\t\tString Sreaction = all1.Reaction;\n\t\t\t\tString Sseverity = all1.Severity;\n\t\t\t\tLong LlastDate = all1.LastDate;\n\t\t\t\tString Streatment = all1.Treatment;\n\t\t\t\t// System.out.println(\"dosage \" + med1.StartDate);\n\t\t\t\tMap<String, Object> columnsValues2 = new HashMap<String, Object>();\n\t\t\t\tcolumnsValues2.put(\"MyTimeStamp\", ScurrTimestamp);\n\t\t\t\tcolumnsValues2.put(\"profileID\", SprofileId_);\n\t\t\t\tcolumnsValues2.put(\"allergyType\", Stype);\n\t\t\t\tcolumnsValues2.put(\"reaction\", Sreaction);\n\t\t\t\tcolumnsValues2.put(\"severity\", Sseverity);\n\t\t\t\tcolumnsValues2.put(\"date_last_occurred\", LlastDate);\n\t\t\t\tcolumnsValues2.put(\"treatment\", Streatment);\n\n\t\t\t\t_db.addRow(columnsValues2, \"allergies\");\n\t\t\t\t_db.printAllValues(\"allergies\");\n\t\t\t}\n\t\t}\n\t\t// //////////////////////////////////////////////////////////\n\n\t\t// //////////////// Body Systems ////////////////////////////\n\t\tBodySystemReview listRBS = _globals.GetConsultation().GetRBS();\n\t\tif (listRBS != null) {\n\t\t\t//System.out.println(\"RBS \" + listRBS);\n\t\t\tBodySystemReview rbs1 = listRBS;\n\t\t\t\n\t\t\tString SSkin = rbs1.Skin;\n\t\t\tSystem.out.println(\"RBS \" + SSkin);\n\t\t\tString SVision = rbs1.Vision;\n\t\t\tString SHearing = rbs1.Hearing;\n\t\t\tString SRespiratory = rbs1.Respiratory;\n\t\t\tString SCardiovascular = rbs1.Cardiovascular;\n\t\t\tString SGastrointestinal = rbs1.Gastrointestinal;\n\t\t\tString SGynecologic = rbs1.Gynecologic;\n\t\t\tString SMusculoskeletal = rbs1.Musculoskeletal;\n\t\t\tString SVascular = rbs1.Vascular;\n\t\t\tString SNeurologic = rbs1.Neurologic;\n\t\t\tString SHematologic = rbs1.Hematologic;\n\t\t\tString SEndocrine = rbs1.Endocrine;\n\t\t\tString SPsychiatric = rbs1.Psychiatric;\n\t\t\tString SUrological = rbs1.Urological;\n\t\t\tSystem.out.println(\"S_Uro: \" + rbs1.Urological);\n\t\t\tString SOther = rbs1.Other;\n\n\t\t\t// System.out.println(\"dosage \" + med1.StartDate);\n\t\t\tMap<String, Object> columnsValues2 = new HashMap<String, Object>();\n\t\t\tcolumnsValues2.put(\"MyTimeStamp\", ScurrTimestamp);\n\t\t\tcolumnsValues2.put(\"profileID\", SprofileId_);\n\t\t\tcolumnsValues2.put(\"skin\", SSkin);\n\t\t\tcolumnsValues2.put(\"vision\", SVision);\n\t\t\tcolumnsValues2.put(\"hearing\", SHearing);\n\t\t\tcolumnsValues2.put(\"respiratory\", SRespiratory);\n\t\t\tcolumnsValues2.put(\"cardiovascular\", SCardiovascular);\n\t\t\tcolumnsValues2.put(\"gastrointestinal\", SGastrointestinal);\n\t\t\tcolumnsValues2.put(\"gynecologic\", SGynecologic);\n\t\t\tcolumnsValues2.put(\"musculoskeletal\", SMusculoskeletal);\n\t\t\tcolumnsValues2.put(\"vascular\", SVascular);\n\t\t\tcolumnsValues2.put(\"neurologic\", SNeurologic);\n\t\t\tcolumnsValues2.put(\"hematologic\", SHematologic);\n\t\t\tcolumnsValues2.put(\"endocrine\", SEndocrine);\n\t\t\tcolumnsValues2.put(\"psychiatric\", SPsychiatric);\n\t\t\tcolumnsValues2.put(\"urological\", SUrological);\n\t\t\tcolumnsValues2.put(\"other\", SOther);\n\t\t\t\n\t\t\t_db.addRow(columnsValues2, \"body_systems\");\n\t\t\t_db.printAllValues(\"body_systems\");\n\n\t\t}\n\t\t// //////////////////////////////////////////////////////////\n\n\t\t// //////////////// Procedure History ////////////////////////////\n\n\t\tList<ProcedureHistory> listProcedures = _globals.GetConsultation()\n\t\t\t\t.GetPHs();\n\t\tif (listProcedures != null) {\n\t\t\tfor (int i = 0; i < listProcedures.size(); i++) {\n\t\t\t\tProcedureHistory ph1 = listProcedures.get(i);\n\n\t\t\t\tString SProcedure = ph1.Procedure;\n\t\t\t\tString SPhysician = ph1.Physician;\n\t\t\t\tString SLocation = ph1.Location;\n\t\t\t\tLong LDate = ph1.Date;\n\t\t\t\tString SResult = ph1.Result;\n\t\t\t\t// System.out.println(\"dosage \" + med1.StartDate);\n\t\t\t\tMap<String, Object> columnsValues2 = new HashMap<String, Object>();\n\t\t\t\tcolumnsValues2.put(\"MyTimeStamp\", ScurrTimestamp);\n\t\t\t\tcolumnsValues2.put(\"profileID\", SprofileId_);\n\t\t\t\tcolumnsValues2.put(\"procedure_name\", SProcedure);\n\t\t\t\tcolumnsValues2.put(\"physician_name\", SPhysician);\n\t\t\t\tcolumnsValues2.put(\"institution_location\", SLocation);\n\t\t\t\tcolumnsValues2.put(\"date\", LDate);\n\t\t\t\tcolumnsValues2.put(\"result\", SResult);\n\t\t\t\t_db.addRow(columnsValues2, \"procedure_history\");\n\t\t\t\t_db.printAllValues(\"procedure_history\");\n\t\t\t}\n\t\t}\n\t\t// //////////////////////////////////////////////////////////\n\n\t\t// ////////////////Diagnostic Findings ////////////////////////////\n\n\t\tList<DiagnosticFinding> listDiagnostics = _globals.GetConsultation()\n\t\t\t\t.GetDFs();\n\t\tif (listDiagnostics != null) {\n\t\t\tfor (int i = 0; i < listDiagnostics.size(); i++) {\n\t\t\t\tDiagnosticFinding df1 = listDiagnostics.get(i);\n\n\t\t\t\tString STest = df1.Test;\n\t\t\t\tString SResult = df1.Result;\n\t\t\t\tString SInterpretation = df1.Interpretation;\n\t\t\t\tLong LDate = df1.Date;\n\n\t\t\t\t// System.out.println(\"dosage \" + med1.StartDate);\n\t\t\t\tMap<String, Object> columnsValues2 = new HashMap<String, Object>();\n\t\t\t\tcolumnsValues2.put(\"MyTimeStamp\", ScurrTimestamp);\n\t\t\t\tcolumnsValues2.put(\"profileID\", SprofileId_);\n\t\t\t\tcolumnsValues2.put(\"test_name\", STest);\n\t\t\t\tcolumnsValues2.put(\"result_finding\", SResult);\n\t\t\t\tcolumnsValues2.put(\"interpretation\", SInterpretation);\n\t\t\t\tcolumnsValues2.put(\"date\", LDate);\n\n\t\t\t\t_db.addRow(columnsValues2, \"diagnosis_finding\");\n\t\t\t\t_db.printAllValues(\"diagnosis_finding\");\n\t\t\t}\n\t\t}\n\t\t// //////////////////////////////////////////////////////////\n\n\t\t// ////////////////Immunization ////////////////////////////\n\t\tList<Immunization> listImmune = _globals.GetConsultation().GetIVs();\n\t\tif (listImmune != null) {\n\t\t\tfor (int i = 0; i < listImmune.size(); i++) {\n\t\t\t\tImmunization if1 = listImmune.get(i);\n\n\t\t\t\tString SName = if1.Vaccine;\n\t\t\t\tString SType = if1.Type;\n\t\t\t\tString SDose = if1.Dose;\n\t\t\t\tLong LDate = if1.Date;\n\t\t\t\tint IAge = if1.Age;\n\t\t\t\tString SLot = if1.LotNumber;\n\n\t\t\t\t// System.out.println(\"dosage \" + med1.StartDate);\n\t\t\t\tMap<String, Object> columnsValues2 = new HashMap<String, Object>();\n\t\t\t\tcolumnsValues2.put(\"MyTimeStamp\", ScurrTimestamp);\n\t\t\t\tcolumnsValues2.put(\"profileID\", SprofileId_);\n\t\t\t\tcolumnsValues2.put(\"vaccine_name\", SName);\n\t\t\t\tcolumnsValues2.put(\"vaccine_type\", SType);\n\t\t\t\tcolumnsValues2.put(\"dose\", SDose);\n\t\t\t\tcolumnsValues2.put(\"age\", IAge);\n\t\t\t\tcolumnsValues2.put(\"date_administered\", LDate);\n\t\t\t\tcolumnsValues2.put(\"lot_number\", SLot);\n\n\t\t\t\t_db.addRow(columnsValues2, \"immunization\");\n\t\t\t\t_db.printAllValues(\"immunization\");\n\t\t\t}\n\t\t}\n\t\t// //////////////////////////////////////////////////////////\n\n\t\t// ////////////////Social History ////////////////////////////\n\t\tSocialHistory listSocialhist = _globals.GetConsultation().GetSH();\n\t\tif (listSocialhist != null) {\n\t\t\tString SmaritalStatus = listSocialhist.MaritalStatus;\n\t\t\tString Soccupation = listSocialhist.Occupation;\n\t\t\tString Scoffe_consumption = listSocialhist.CoffeeConsumption;\n\t\t\tString Stobacco_use = listSocialhist.TobaccoUse;\n\t\t\tString Salcohol_Use = listSocialhist.AlcoholUse;\n\t\t\tString Sdrug_use = listSocialhist.DrugUse;\n\n\t\t\t// System.out.println(\"dosage \" + med1.StartDate);\n\t\t\tMap<String, Object> columnsValuessoc = new HashMap<String, Object>();\n\t\t\tcolumnsValuessoc.put(\"MyTimeStamp\", ScurrTimestamp);\n\t\t\tcolumnsValuessoc.put(\"profileID\", SprofileId_);\n\t\t\tcolumnsValuessoc.put(\"maritalStatus\", SmaritalStatus);\n\t\t\tcolumnsValuessoc.put(\"occupation\", Soccupation);\n\t\t\tcolumnsValuessoc.put(\"coffe_consumption\", Scoffe_consumption);\n\t\t\tcolumnsValuessoc.put(\"tobacco_use\", Stobacco_use);\n\t\t\tcolumnsValuessoc.put(\"alcohol_use\", Salcohol_Use);\n\t\t\tcolumnsValuessoc.put(\"drug_use\", Sdrug_use);\n\n\t\t\t_db.addRow(columnsValuessoc, \"social_history\");\n\t\t\t_db.printAllValues(\"social_history\");\n\t\t}\n\t\t// //////////////////////////////////////////////////////////\n\t\t\n\t\t// ////////////////Vital Signs ////////////////////////////\n\t\tVitalSigns listVS = _globals.GetConsultation().GetVS();\n\t\tif (listVS != null) {\n\t\t\t\t\t \n\t\t\t// System.out.println(\"dosage \" + med1.StartDate);\n\t\t\tMap<String, Object> columnsValuessoc = new HashMap<String, Object>();\n\t\t\tcolumnsValuessoc.put(\"MyTimeStamp\", ScurrTimestamp);\n\t\t\tcolumnsValuessoc.put(\"profileID\", SprofileId_);\n\t\t\tcolumnsValuessoc.put(\"pulse\", listVS.Pulse);\n\t\t\tcolumnsValuessoc.put(\"respiratory_rate\", listVS.RespirateRate);\n\t\t\tcolumnsValuessoc.put(\"systolic_blood_pressure\", listVS.SystolicBloodPressure);\n\t\t\tcolumnsValuessoc.put(\"diastolic_blood_pressure\", listVS.DisstolicBloodPressure);\n\t\t\tcolumnsValuessoc.put(\"body_temp\", listVS.BodyTemp);\n\t\t\tcolumnsValuessoc.put(\"height\", listVS.Height);\n\t\t\tcolumnsValuessoc.put(\"weight\", listVS.Weight);\n\t\t\tcolumnsValuessoc.put(\"BMI\", listVS.BMI);\n\t\t\tSystem.out.println(\"Systolic \" + listVS.SystolicBloodPressure + \" \" + listVS.DisstolicBloodPressure + \" \" + listVS.BodyTemp);\n\t\t\t_db.addRow(columnsValuessoc, \"vital_signs\");\n\t\t\t_db.printAllValues(\"vital_signs\");\n\t\t}\n\t\t// //////////////////////////////////////////////////////////\n\t\t_globals.GetConsultation().ClearThemAll();\n\t\tIntent i = new Intent(Page_ConsultationReport.this,\n\t\t\t\tPage_Patient_History.class);\n\t\tstartActivity(i);\n\t}", "title": "" }, { "docid": "870d68e861f03294d0f271d40b509a49", "score": "0.59450334", "text": "@Override\r\n\tpublic String save() throws Exception {\n\t\ttry {\r\n\t\t\tif(_id==null){\r\n\t\t\t\t_id=mongoSequence.currval(PubConstants.SUC_ACTIVITYINFO); \r\n\t\t\t} \r\n\t\t\tString custid=SpringSecurityUtils.getCurrentUser().getId(); \r\n\t\t\tentity.set_id(_id); \r\n\t\t\tentity.setCustid(custid);\r\n\t\t\tentity.setCreatedate(new Date());\r\n\t\t\tentity.setEwmurl(wwzService.recode(\"activity-mbTicket-\"+_id,SysConfig.getProperty(\"ip\")+\"/suc/activity!mbTicket.action?custid=\"+custid+\"&id=\"+_id, entity.getPicurl(),true, 200, 1000));\r\n\t\t\tbaseDao.insert(PubConstants.SUC_ACTIVITYINFO, entity);\r\n\t\t\taddActionMessage(\"添加成功\");\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\taddActionMessage(\"添加失败\");\r\n\t\t}\r\n\t\treturn RELOAD;\r\n\t}", "title": "" }, { "docid": "d58b6fdb93a2388989095ba43829c446", "score": "0.5905024", "text": "public void accountDetails(Cuenta c){\n\t\tcleaner();\n\t\tSystem.out.println(\"Account Details\");\n\t\tSystem.out.println(\"Name : \" +c.getName());\n\t\tSystem.out.println(\"Amount : \" +c.getAmount());\n\t\tSystem.out.println(\"Number : \" +c.getNumber());\n\t}", "title": "" }, { "docid": "36c742c9b00d818cddf0d0be3d21e881", "score": "0.5901922", "text": "public void saveAddTaskDetails(){\n\t\tinfo(\"Save a task with more detail\");\n\t\twaitForAndGetElement(ELEMENT_BUTTON_TASK_SAVE_DETAILS, DEFAULT_TIMEOUT, 1);\n\t\tclickByJavascript(ELEMENT_BUTTON_TASK_SAVE_DETAILS, 2);\n\t\t//click(ELEMENT_BUTTON_TASK_SAVE_DETAILS);\n\t\twaitForElementNotPresent(ELEMENT_BUTTON_TASK_SAVE_DETAILS);\n\t\tUtils.pause(500);\n\t}", "title": "" }, { "docid": "2786a3a6a6772d49c4bcc56ad0bf0299", "score": "0.5820691", "text": "public void saveCurrencyInfo(CurrencyInfo currencyInfo);", "title": "" }, { "docid": "462b6d3b4a93dc77c91ad64c69f299f1", "score": "0.57892174", "text": "public void saveOrganizationAdditionalInfo(Record record);", "title": "" }, { "docid": "24f88478a85ee454052efd9ff4201af3", "score": "0.576728", "text": "void saveCostCenter(CfCostCenter costCenter);", "title": "" }, { "docid": "103bda8fa0e607d86d234a111753cf71", "score": "0.5762906", "text": "@Override\n\tpublic ConnectCntVO writeDetail(ConnectCntVO vo) {\n\t\treturn dao.writeDetail(vo);\n\t}", "title": "" }, { "docid": "2a0a0f847639ee0c917daae095ea5c4b", "score": "0.5730324", "text": "public void saveCustomer(Customer theCustomer);", "title": "" }, { "docid": "129b20c9426c89d682007f9aca8f0cd7", "score": "0.5728826", "text": "public void saveAddressDetail(Record inputRecord);", "title": "" }, { "docid": "e756a40d2abdf4e285524e61b45f888e", "score": "0.5727654", "text": "AdditionalContactDetails saveAdditionalContactDetails(AdditionalContactDetails contact);", "title": "" }, { "docid": "862f0b2467a2f367b602a5ae8626540f", "score": "0.57157594", "text": "public void saveCreditCard(CreditCard card) {\n\n\t}", "title": "" }, { "docid": "5808d9482adda70839f9d863dd307c01", "score": "0.5683704", "text": "public TransactionMaster saveTransMaster(TransactionMaster tm);", "title": "" }, { "docid": "994a095becad8180de35d2fc52ca32e9", "score": "0.5645509", "text": "void saveComemnt(Comment comment);", "title": "" }, { "docid": "f3302de9b9e520aebc45ba9c00cb5f70", "score": "0.56310254", "text": "private void saveCDRListIntoDatabase(List<CallDetailRecord> callDetailRecords) {\r\n // Iterate through CallDetailRecords List and save all into Database\r\n for (CallDetailRecord callDetailRecord : callDetailRecords) {\r\n callDetailRecordService.save(callDetailRecord);\r\n }\r\n }", "title": "" }, { "docid": "99cd25d9028e22667b147e5597e706ae", "score": "0.5628185", "text": "public void saveAddressAdditionalInfo(Record record);", "title": "" }, { "docid": "563b801607bb4336d63f57f9428a0e21", "score": "0.56092584", "text": "public void save() {\r\n\t\tcustomerService.saveSuccess();\r\n\t}", "title": "" }, { "docid": "3f468f70e581a7cc340b7d7d9eeb9a77", "score": "0.5606284", "text": "public void saveCustomer() {\n\t\tif (checkInputs())\n\t\t\tcustomerView.getStatusText().setText(\"Please enter all the inputs\");\n\t\telse {\n\t\t\n\t\tSystem.out.println(\"Save has been called\");\n\t\tfetchCustomerInformation();\n\t\tString response = modelControllerCustomer.sendCustomerInfo();\n\t\tcustomerView.getStatusText().setText(response);\n\t\t}\n\t}", "title": "" }, { "docid": "c4a010ddce0565f8f50d4fb140fafe57", "score": "0.5583164", "text": "public void saveUC() {\n UCDTO uc = ucDetailModel.provideUCDTO();\n boolean wasNew = uc.isNew();\n\n try {\n ucBean.save(uc);\n ucDetailModel.setUc(ucBean.find(uc.getInternalId()));\n PresentSuccessMessage(\"ucdetailform\", wasNew ? \"Adicionado com sucesso\" : \"Guardado com sucesso\");\n } catch (EntityValidationException eve) {\n PresentErrorMessages(\"ucdetailform\", eve.getEntityValidationErrors(), errorMessages);\n } catch (EntityNotFoundException enf) {\n PresentErrorMessage(\"ucdetailform\", \"UC a ser editada, não foi encontrada ou foi removida.\");\n }\n }", "title": "" }, { "docid": "dbe41ffe3d60e28c5a4fd81ca4136232", "score": "0.5577085", "text": "CarrierContactDetails saveCarrierContactDetails(CarrierContactDetails contact);", "title": "" }, { "docid": "d345119d06c9ff672d17290873878600", "score": "0.5571702", "text": "Doctor save(Doctor doctor);", "title": "" }, { "docid": "3f48d313949dece649c3edcfd5974360", "score": "0.55691993", "text": "public Customer save(long customerId, NameDB name);", "title": "" }, { "docid": "3d24cc16668833a28cd866c44f511d3e", "score": "0.5562218", "text": "public void savePersonAdditionalInfo(Record record);", "title": "" }, { "docid": "ba510bb960d469b40390397d87410b9a", "score": "0.5560665", "text": "@Override\n\tpublic AboutDetailEntity saveDetail(AboutDetailEntity client) {\n\t\treturn aboutDetail.save(client);\n\t}", "title": "" }, { "docid": "856cc126d28092e06e12c3a5a8234e8e", "score": "0.554195", "text": "private void saveCase(Session session, CaseComponent description){\n System.out.println(\"SAVE CASE ONLY\");\n Case _case = (Case) description;\n Army army = _case.getArmy();\n session.createSQLQuery(CASE_QUERY)\n .setInteger(0, _case.getID())\n .setInteger(1, army.getID())\n .setString(2, _case.getOpponent().toString())\n .setString(3, _case.getOutcome().toString())\n .executeUpdate();\n }", "title": "" }, { "docid": "99ddeb9cbdbb2ac6162f837cad907ed0", "score": "0.5533686", "text": "public boolean saveCustomerTODetails(CustomerMO CustomerTOObject) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "0c70dfaa8ef5d10f2933cd5c2481f2a4", "score": "0.55213207", "text": "void save(Centro centro);", "title": "" }, { "docid": "b1961a2f363ad0a47881bf548576ff2f", "score": "0.55157715", "text": "public void save_Customer_OrderDetails(Order order) {\n\t\tthis.cust_order.add(order);\n\n\t}", "title": "" }, { "docid": "41fb322e5c10b67fa50a7f705557c01c", "score": "0.55039805", "text": "public void save_Customer_Vehicle() {\n\t\tthis.cust_vehno = \"AP04\" + (int) (Math.random() * 1000);\n\n\t}", "title": "" }, { "docid": "308012f2582058c5e6c63752761a82a9", "score": "0.549733", "text": "private void saveContact() {\n DatabaseConnector databaseConnector = new DatabaseConnector(this);\n\n if (getIntent().getExtras() == null) {\n // insert the contact information into the database\n databaseConnector.insertContact(api2.getCityName());\n } // end if\n else {\n// databaseConnector.updateContact(rowID, nameEditText.getText().toString(), emailEditText\n// .getText().toString(), phoneEditText.getText().toString(), streetEditText\n// .getText().toString(), cityEditText.getText().toString());\n } // end else\n }", "title": "" }, { "docid": "450edb818906d7c8b8a3b69bd37761cf", "score": "0.549555", "text": "EmployeeCertificationDetails saveEmployeeCertification(EmployeeCertificationDetails certificationDetails);", "title": "" }, { "docid": "96ad73cb3c3be3f75a157f1a7e1184e5", "score": "0.5492424", "text": "int insert(CouponDetail record);", "title": "" }, { "docid": "64f847ecaa392a31ae7e87792b46926e", "score": "0.5491097", "text": "int insert(TCpyEquityPledge record);", "title": "" }, { "docid": "ab531169063b70eb2003704ace228a71", "score": "0.5488238", "text": "@Override\r\n\tpublic void save(TP4piccard piccard) {\n\r\n\t}", "title": "" }, { "docid": "eafb3a8f5132401a4095d336c40a8a47", "score": "0.5474344", "text": "void saveDeposit (DepositLog depositLog);", "title": "" }, { "docid": "099931658525ba24cf2a0078a1549857", "score": "0.5470526", "text": "public void getCustomerDetails() {\n\n\t\ttry{\n\t\t\tif (customerDetailsList.size() != 0) {\n\n\t\t\t\tCustomerIdProof customerDetails = customerDetailsList.get(0);\n\n\t\t\t\tsetSelectCard(customerDetails.getFsBizComponentDataByIdentityTypeId().getComponentDataId());\n\t\t\t\tsetIdNumber(customerDetails.getIdentityInt());\n\t\t\t\tsetCustomerName(customerDetails.getFsCustomer().getFirstName());\n\t\t\t\tsetCustomerCrNumber(customerDetails.getFsCustomer().getCrNo() == null ? \"\" : customerDetails.getFsCustomer().getCrNo());\n\t\t\t\tsetCustomerId(customerDetails.getFsCustomer().getCustomerId());\n\t\t\t\tsetCustomerrefno(customerDetails.getFsCustomer().getCustomerReference());\n\t\t\t\tsetFirstName(customerDetails.getFsCustomer().getFirstName());\n\t\t\t\tsetSecondName(customerDetails.getFsCustomer().getMiddleName());\n\t\t\t\tsetThirdName(customerDetails.getFsCustomer().getLastName());\n\t\t\t\tsetCustomerFullName(nullCheck(getFirstName()) + \" \" + nullCheck(getSecondName()) + \" \" + nullCheck(getThirdName()));\n\t\t\t\tsetCustomerLocalFullName(nullCheck(customerDetails.getFsCustomer().getFirstNameLocal()) + \" \" + nullCheck(customerDetails.getFsCustomer().getMiddleNameLocal()) + \" \" + nullCheck(customerDetails.getFsCustomer().getLastNameLocal()));\n\t\t\t\tsetCustomerIsActive(customerDetails.getFsCustomer().getIsActive());\n\t\t\t\tsetCustomerExpDate(customerDetails.getIdentityExpiryDate());\n\t\t\t\tsetCustomerTypeId(customerDetails.getFsBizComponentDataByCustomerTypeId().getComponentDataId());\n\t\t\t\tString customerTypeString = iPersonalRemittanceService.getCustomerType(getCustomerTypeId());\n\t\t\t\tif (customerTypeString != null) {\n\t\t\t\t\tsetCustomerType(customerTypeString);\n\t\t\t\t}\n\t\t\t\tif (getCustomerExpDate() != null) {\n\t\t\t\t\tsetCustomerExpireDateMsg(new SimpleDateFormat(\"dd/MM/yyyy\").format(getCustomerExpDate()));\n\t\t\t\t}\n\t\t\t\tsetNationality(customerDetails.getFsCustomer().getFsCountryMasterByNationality().getCountryId());\n\t\t\t\tsetDateOfBrith(customerDetails.getFsCustomer().getDateOfBirth());\n\t\t\t\tString teleCountryId = generalService.getTelephoneCountryBasedOnNationality(customerDetails.getFsCustomer().getFsCountryMasterByNationality().getCountryId());\n\t\t\t\tsetCountryCode(teleCountryId);\n\t\t\t\tsetMcountryCode(teleCountryId);\n\t\t\t\tBigDecimal occupationID = generalService.getOccupationId(customerDetails.getFsCustomer().getCustomerId());\n\t\t\t\tsetLoyaltyPoints(iPersonalRemittanceService.getLoyaltyPointFromFunction(sessionStateManage.getCountryId(),getCustomerrefno()));\n\t\t\t\tSystem.out.println(\"Loyalty Points :\"+customerDetails.getFsCustomer().getLoyaltyPoints());\n\t\t\t\tif (occupationID != null) {\n\t\t\t\t\tString occupation = generalService.getOccupationDesc(occupationID,sessionStateManage.getLanguageId());\n\t\t\t\t\tif (occupation != null) {\n\t\t\t\t\t\tsetOccupation(occupation);\n\t\t\t\t\t}else {\n\t\t\t\t\t\tsetOccupation(\"UN-EMPLOYEE\");\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tsetOccupation(\"UN-EMPLOYEE\");\n\t\t\t\t}\n\t\t\t}\n\t\t}catch(Exception e){\n\t\t\tsetErrmsg(e.getMessage());\n\t\t\tRequestContext.getCurrentInstance().execute(\"alertmsg.show();\");\n\t\t}\n\n\t\tlog.info(\"Exit into getCustomerDetails method \");\n\t}", "title": "" }, { "docid": "0d2e017e05ae1eb6de05fcc50e2d371c", "score": "0.5459279", "text": "public void saveCarrera(Carrera carrera) {\n\t\t\n\t}", "title": "" }, { "docid": "38e58287d1226e36e7b767b90d559e20", "score": "0.54541916", "text": "@Override\r\n\tpublic void save(CusReprieveEntity t) {\n\t\tcusReprieveDao.save(t);\r\n\t}", "title": "" }, { "docid": "3d3b560d9b765bafb95552761e77992a", "score": "0.5451462", "text": "public void saveStateToDB() {\n DatabasePortal myDB = DatabasePortal.getInstance();\n // add customers\n for (Customer customer : getBank().getCustomers()) {\n myDB.addCustomer(customer);\n }\n // add managers\n for (Manager manager : getBank().getManagers()) {\n myDB.addManager(manager);\n }\n myDB.storeSession(getDay());\n }", "title": "" }, { "docid": "1d6ea0dd3c6e128e96f4c932013e198d", "score": "0.5442654", "text": "public void saveCoche(Coche coche) {\n\t\t\n\t}", "title": "" }, { "docid": "11251836b076ff8d7e372ebd3826c028", "score": "0.5435004", "text": "int insert(TMallCkInfo record);", "title": "" }, { "docid": "c33fc81670c242e3bfbd7627cd7190db", "score": "0.54275495", "text": "CARC13SO saveSecurityClass(CARC13SI carc13si);", "title": "" }, { "docid": "03f573302f42535b9704b2110bfc1df4", "score": "0.54262114", "text": "int insert(consigneeManage record);", "title": "" }, { "docid": "a910fbda9ef59c0f59daba2095e32b68", "score": "0.5414545", "text": "@Override\n public Compte saveCompte(Compte cp) {\n cp.setDateCreation(new Date());\n return cpRepo.save(cp);\n }", "title": "" }, { "docid": "b31b7647f95eba3d63022bafe3f48ad7", "score": "0.541413", "text": "@Override\r\n\tpublic void vehicleDetailsInfo(VehicleDetails vehicleDetails) throws SQLException {\n\t\tConnection con = ConnectionManagerMysql.connectToSql(); //connection establishment\r\n//\t\tStatement st = con.createStatement();\r\n//\t\tResultSet rs = st.executeQuery(\"SELECT * FROM insurance_policy\");\r\n//\t\tVehicleDetails vehicleDetails = new VehicleDetails();\r\n\t\tString insurancePolicyDetailsInsert = \"INSERT INTO vehicleInfo VALUES (?,?,?,?)\";\r\n\t\t\r\n\r\n\t\tPreparedStatement ps = con.prepareStatement(insurancePolicyDetailsInsert);\r\n\t\tps.setString(1, vehicleDetails.getVehicle_RC());\r\n\t\tps.setString(2, vehicleDetails.getCustomer_Id());\r\n\t\tps.setLong(3,vehicleDetails.getAaNum());\r\n\t\tps.setString(4,vehicleDetails.getLicense_Num());\r\n\t\t\r\n\t\r\n\t\t\r\n\t\t\r\n\t\tint execution = ps.executeUpdate();\r\n\t\tif(execution >0) {\r\n\t\t\tSystem.out.println(\"Inserted succesfully\");\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "3e0d320d78a937b4f60c2d272e15b427", "score": "0.54019153", "text": "@Override\r\n\tpublic boolean saveCustomer(CustomerDetails customerDetails) {\n\t\tTransaction transaction1=null;\r\n\t\tTransaction transaction=null;\r\n\t\ttry{\r\n\t\tSession session=sessionFactory.getCurrentSession();\r\n\t\ttransaction=session.beginTransaction();\r\n\t\tCustomerDetails customer=new CustomerDetails();\r\n\t\tcustomer.setCustomerName(customerDetails.getCustomerName());\r\n\t\tcustomer.setCustomerAddr(customerDetails.getCustomerAddr());\r\n\t\tcustomer.setCustomerPhone(customerDetails.getCustomerPhone());\r\n\t\tcustomer.setUsername(customerDetails.getUsername());\r\n\t\tcustomer.setAddressType(customerDetails.getAddressType());\r\n\t\tcustomer.setCode(customerDetails.getCode());\r\n\t\tcustomer.setCost(customerDetails.getCost());\r\n\t\tcustomer.setEmail(\"[email protected]\");\r\n\t\tsession.save(customer);\t\r\n\t\t}catch(Exception e){\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\tfinally{\r\n\t\t\t\r\n\t\t\ttransaction.commit();\r\n\t\t}\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "7db7beaa1e64929f5576cd8e665641e2", "score": "0.53819686", "text": "@Override\r\n\tpublic void saveRecord(View view) {\r\n\t\t// String for costs amount\r\n\t\tfinal String amount = ((EditText)findViewById(R.id.amount_input_field)).getText().toString();\r\n\t\t// Float number for amount format check\r\n\t\tdouble cislo;\r\n\r\n\t\tif (amount.trim().equals(\"\")) {\r\n\t\t\t(new ErrorDialog(context, R.string.input_error,\r\n\t\t\t\t\tR.string.empty_amount)).show();\r\n\t\t\treturn;\r\n\t\t}\r\n\t\ttry {\r\n\t\t\t// Check float format\r\n\t\t\tcislo = Double.parseDouble(amount);\r\n\t\t} catch (NumberFormatException e) {\r\n\t\t\t(new ErrorDialog(context, R.string.input_error,\r\n\t\t\t\t\tR.string.bad_amount_format)).show();\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tCurrencyLocale currency = null;\r\n\t\tCategory category = null;\r\n\t\tJourney journey = null;\r\n\t\t// String for selected currency\r\n\t\ttry {\r\n\t\t\tcurrency = (CurrencyLocale)curSpinner.getAdapter().getItem(curSpinner.getSelectedItemPosition());\r\n\t\t} catch (ArrayIndexOutOfBoundsException e) {\r\n\t\t\t(new ErrorDialog(context, R.string.input_error, R.string.empty_currency_name)).show();\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t// String for selected category\r\n\t\ttry {\r\n\t\t\tcategory = (Category)catSpinner.getAdapter().getItem(catSpinner.getSelectedItemPosition());\r\n\t\t} catch (ArrayIndexOutOfBoundsException e) {\r\n\t\t\t(new ErrorDialog(context, R.string.input_error, R.string.empty_category_name)).show();\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t// String for selected journey\r\n\t\ttry {\r\n\t\t\tjourney = (Journey)jouSpinner.getAdapter().getItem(jouSpinner.getSelectedItemPosition());\r\n\t\t} catch (ArrayIndexOutOfBoundsException e) {\r\n\t\t\t(new ErrorDialog(context, R.string.input_error, R.string.empty_journey_name)).show();\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tToast.makeText(context, R.string.saving_cost, Toast.LENGTH_SHORT).show();\r\n\t\tdataSource.updateRecord(id_record, category.getId(), currency.getCurrency().getCurrencyCode(),\r\n\t\t\t\tjourney.getId(), cislo, date, time);\r\n\t\tToast.makeText(context, R.string.cost_saved, Toast.LENGTH_SHORT).show();\r\n\t\t//Toast.makeText(context, \"OK ;)\", Toast.LENGTH_SHORT).show();\r\n\t\tstartView();\r\n\t}", "title": "" }, { "docid": "36c8c3e9c851d37cf1419181ceb93df0", "score": "0.5375935", "text": "void saveData();", "title": "" }, { "docid": "f3a9a45d4df90702bc9e1b186a2afe28", "score": "0.53742015", "text": "public void populateCustomerCreditMemoDetails() {\n CustomerCreditMemoDetail customerCreditMemoDetail;\n KualiDecimal invItemTaxAmount, openInvoiceQuantity, openInvoiceAmount;\n\n CustomerInvoiceDetailService customerInvoiceDetailService = SpringContext.getBean(CustomerInvoiceDetailService.class);\n setStatusCode(ArConstants.CustomerCreditMemoStatuses.IN_PROCESS);\n \n //set accounts receivable document header\n AccountsReceivableDocumentHeader accountsReceivableDocumentHeader = SpringContext.getBean(AccountsReceivableDocumentHeaderService.class).getNewAccountsReceivableDocumentHeaderForCurrentUser();\n accountsReceivableDocumentHeader.setDocumentNumber(getDocumentNumber());\n accountsReceivableDocumentHeader.setCustomerNumber(invoice.getAccountsReceivableDocumentHeader().getCustomerNumber());\n setAccountsReceivableDocumentHeader(accountsReceivableDocumentHeader);\n\n List<CustomerInvoiceDetail> customerInvoiceDetails = invoice.getCustomerInvoiceDetailsWithoutDiscounts();\n for (CustomerInvoiceDetail customerInvoiceDetail : customerInvoiceDetails) {\n customerCreditMemoDetail = new CustomerCreditMemoDetail();\n\n if(ObjectUtils.isNull(customerInvoiceDetail.getInvoiceItemTaxAmount())){\n customerInvoiceDetail.setInvoiceItemTaxAmount(KualiDecimal.ZERO);\n }\n customerCreditMemoDetail.setInvoiceLineTotalAmount(customerInvoiceDetail.getInvoiceItemTaxAmount(), customerInvoiceDetail.getInvoiceItemPreTaxAmount());\n customerCreditMemoDetail.setReferenceInvoiceItemNumber(customerInvoiceDetail.getSequenceNumber());\n openInvoiceAmount = customerInvoiceDetail.getAmountOpen();\n\n customerCreditMemoDetail.setInvoiceOpenItemAmount(openInvoiceAmount);\n customerCreditMemoDetail.setInvoiceOpenItemQuantity(getInvoiceOpenItemQuantity(customerCreditMemoDetail, customerInvoiceDetail));\n customerCreditMemoDetail.setDocumentNumber(this.documentNumber);\n customerCreditMemoDetail.setFinancialDocumentReferenceInvoiceNumber(this.financialDocumentReferenceInvoiceNumber);\n\n // this is a hookup for institution custom to update financial object code for prior year(s) invoice\n //customerInvoiceDetailService.updateFinancialObjectCode(customerCreditMemoDetail);\n \n creditMemoDetails.add(customerCreditMemoDetail);\n }\n\n }", "title": "" }, { "docid": "d07b38bb0b5e41384b216170f0516635", "score": "0.53703964", "text": "public void populateCashDetailsForDeposit(CashManagementDocument cmDoc);", "title": "" }, { "docid": "5cff14f4e28a9477316244fb4777be1c", "score": "0.5361429", "text": "protected void fileSave()\n {\n String id = mainTab.getTransId();\n String firstName = mainTab.getFirstName();\n String lastName = mainTab.getLastName();\n String compName = mainTab.getCompName();\n\n System.out.println(id + \" \" + firstName + \" \" + lastName + \" \" + compName);\n\n String sqlStmt = \" select \" + prospectObj.ID + \", \" +\n prospectObj.FIRST_NAME + \", \" +\n prospectObj.LAST_NAME + \", \" +\n prospectObj.COMPANY_NAME +\n \" from \" + prospectObj.TABLE_NAME +\n \" where \" + prospectObj.FIRST_NAME + \" = '\" + firstName + \"' and \" +\n prospectObj.LAST_NAME + \" = '\" + lastName + \" ' and \" +\n prospectObj.COMPANY_NAME + \" = '\" + compName + \"'\";\n\n csDBAdapter dbAdapter = csDBAdapterFactory.getInstance().getDBAdapter();\n\n try {\n SessionMetaData sessionMeta = SessionMetaData.getInstance();\n DBRecSet attribs = dbAdapter.execDynamicSQL(sessionMeta.getClientServerSecurity(),\n sqlStmt);\n boolean duplicateFound = false;\n String duplicateId = null;\n if (attribs.getSize() > 0) {\n for (int i=0; i<attribs.getSize(); i++) {\n String pspectId = attribs.getRec(i).getAttribVal(prospectObj.ID);\n String pspectFirstName = attribs.getRec(i).getAttribVal(prospectObj.FIRST_NAME);\n String pspectLastName = attribs.getRec(i).getAttribVal(prospectObj.LAST_NAME);\n String pspectCompName = attribs.getRec(i).getAttribVal(prospectObj.COMPANY_NAME);\n if (!pspectId.equals(id)){\n duplicateFound = true;\n duplicateId = pspectId;\n }\n System.out.println(pspectId + \" \" + pspectFirstName + \" \" + pspectLastName + \" \" + pspectCompName);\n }\n }\n\n if (duplicateFound) {\n JOptionPane.showMessageDialog(this, \"A prospect already exists that has the same \" +\n \"Company Name, First Name and Last Name.\\nPlease enter a distinct prospect.\" +\n \" The duplicate ID is: \" + duplicateId + \".\",\n \"Unable To Save\",\n JOptionPane.WARNING_MESSAGE);\n } else {\n //Update the userId, date created fields.\n mainTab.updateUserIdDateCreated();\n\n //Call the same method in the base class to do the\n //rest of the regular save logic.\n super.fileSave();\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "1f337b60c73e30bae770077d18c9573c", "score": "0.5361337", "text": "@Test\n\t@Rollback(false)\n\t@Order(6)\n\tpublic void testSaveCustomerDetail() {\n\t\tcustomerDetail = new CustomerDetail(receiver);\t\n\t\tcustomer.setCustomerDetail(customerDetail);\n\t\tcustomerDetailService.save(customerDetail);\n\t\tassertTrue(customerDetail.getCustomerDetailId() > 0);\n\t}", "title": "" }, { "docid": "3f7c807ef536444d9af9d7fa0c932a39", "score": "0.5360865", "text": "@Override\n public boolean save(InvoiceDTO entity) throws Exception{\n Invoice invoice=new Invoice(0,entity.getDiscription(),entity.getCid());\n return invoiceDAO.save(invoice);\n \n \n \n \n }", "title": "" }, { "docid": "6c0720128e69e46b179b39326d5bfafd", "score": "0.5348095", "text": "@Override\n public void save(Customer customer) {\n }", "title": "" }, { "docid": "42f5f22fd8412265764032eb5cb671ea", "score": "0.5328473", "text": "public Customer save(Customer cus1) {\r\n\t\treturn customerRepository.save(cus1);\r\n\t}", "title": "" }, { "docid": "c7f410b1f5e767f19539dbb5d0cbf473", "score": "0.53257686", "text": "Contact saveContact(Contact contact) throws Exception;", "title": "" }, { "docid": "486324a8a16f4a36d30045342eb25c35", "score": "0.5322166", "text": "@Override\r\n\tpublic void save(Compte t) {\n\t\tString sql =\"INSERT INTO compte(idClient,numCompte,solde,typeCompte) VALUES (?,?,?,?)\";\r\n\t\t\r\n\t\ttry {\r\n\t\t\tpst = con.prepareStatement(sql);\r\n\t\t\tpst.setInt(1, t.getIdClient());\r\n\t\t\tpst.setDouble(2, t.getNumCompte());\r\n\t\t\tpst.setDouble(3, t.getSolde());\r\n\t\t\tpst.setString(4, t.getTypeCompte());\r\n\t\t\tpst.execute();\r\n\t\t\tSystem.out.println(\"Enregistrement effectue\");\r\n\t\t} catch (Exception e) {\r\n\t\t\tSystem.out.println(\"Enregistrement non effectue\");\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "94d0946fe0c584cff6098ec08e6e2cd4", "score": "0.531947", "text": "public void saveData() {\n data.writeAnimaDetails(allAnimals);\n data.writeKeeperDetails(allKeepers);\n data.writeCageDetails(allCages);\n\n }", "title": "" }, { "docid": "b7464be07adfee87d35a92ed018a2a4a", "score": "0.5313583", "text": "@Override\n public void save(Candidato candidato) {\n conn = Conexao.getConnection();\n if (candidato == null) {\n System.out.println(\"O campo candidato não pode ser nulo\");\n\n } else {\n try {\n \n ps = conn.prepareStatement(INSERIR);\n ps.setString(1, candidato.getPrimeiroNomeCandidato());\n ps.setString(2, candidato.getSegundoNomeCandidato());\n ps.setString(3, candidato.getUltimoNomeFuncionario());\n ps.setString(4, candidato.getAlcunhaFuncionario());\n ps.setBytes(5, candidato.getFotoCandidato());\n ps.setString(6, candidato.getUrlFotoCandidato());\n ps.setDate(7, candidato.getDataNascimentoCandidato());\n ps.setString(8, candidato.getTelefoneFixo());\n ps.setString(9, candidato.getTelemovelPrincipal());\n ps.setString(10, candidato.getTelemovelSecundario());\n ps.setString(11, candidato.getEmailPrincipal());\n ps.setString(12, candidato.getEmailSecundario());\n ps.setString(13, candidato.getCasaCandidato());\n ps.setString(14, candidato.getRuaFuncionario());\n ps.setString(15, candidato.getBairroCandidato());\n ps.setInt(16, candidato.getMunicipioCandidato().getIdMunicipio());\n ps.executeUpdate();\n\n } catch (SQLException ex) {\n System.out.println(\"erro na insercao de dados: \" + ex.getMessage());\n } finally {\n Conexao.closeConnection(conn, ps);\n }\n }\n\n }", "title": "" }, { "docid": "3178c58777273788fd4e5fd3447d773d", "score": "0.53121614", "text": "int insert(CareOrderItem record);", "title": "" }, { "docid": "148cd47b9b169153ac1b687103d59ba5", "score": "0.53044575", "text": "@Override\r\n\tpublic void addCustomer(Customerdetail c) {\n\t\ttemplate.save(c);\r\n\t}", "title": "" }, { "docid": "e63c1552b4850821281d0806c1fcc134", "score": "0.52988344", "text": "private void saveAndReturn() {\n SimpleDateFormat sfaDate = new SimpleDateFormat(\"MM/dd/yyyy HH:mm:ss\", Locale.US);\n SimpleDateFormat sfdDate = new SimpleDateFormat(\"MM/dd/yyyy HH:mm:ss\", Locale.US);\n\n // Initializes dates with new date\n Date assignDate = new Date();\n Date dueDate = new Date();\n\n // Parses dates that user typed in according to format\n try {\n assignDate = sfaDate.parse(mAssignDate.getText().toString());\n } catch (ParseException e) {\n e.printStackTrace();\n }\n\n try {\n dueDate = sfdDate.parse(mDueDate.getText().toString());\n } catch (ParseException e) {\n e.printStackTrace();\n }\n\n // Casts classId as int\n// int cid = Integer.parseInt(mClassId.getText().toString());\n\n // Saves data to Db in the correct format\n mViewModel.saveData(mTitle.getText().toString(),\n mDescription.getText().toString(),\n mCategory.getSelectedItem().toString(),\n assignDate,\n dueDate,\n cClassIdItem);\n finish();\n }", "title": "" }, { "docid": "f8a88706895d92b5d0c56ac4fcdfa6a5", "score": "0.52972454", "text": "@Test\n\tvoid testEditCustomerDetails() {\n\t\tCustomer cust = new Customer(new Name(\"first1\",\"mid1\",\"last1\"),\"street1\");\n\t\tAccount acc = service.createAccount(cust, \"saving\");\n\t\t\n\t\tList<Customer> customers = service.getAllCustomersByAccId(acc.getId());\n\t\tassertEquals(customers.size(), 1);\n\t\tassertEquals(customers.get(0).getAddress(),\"street1\");\n\t\t\n\t\tCustomer custChange = new Customer(customers.get(0).getId(),new Name(\"first1\",\"mid1\",\"last1\"),\"street2\");\n\t\tCustomer cust1 = service.editCustomerDetails(custChange);\n\t\t\n\t\tList<Customer> customersList = service.getAllCustomersByAccId(acc.getId());\n\t\tassertEquals(customersList.size(), 1);\n\t\tassertEquals(customersList.get(0).getAddress(),\"street2\");\n\t}", "title": "" }, { "docid": "329c7df5aa9b208d243f22e142173362", "score": "0.5278722", "text": "@Override\r\n\tpublic String createAccount(Customer c) {\r\n\t\tString result=\"\";\r\n\t\ttry {\r\n\t\t\t\r\n\t\t\t//Row Insertion in Account table\r\n\t\t\tps=con.prepareStatement(\"insert into Account values(?,?,?,?,?,?,?,?,?,?,?) \");\r\n\t\t ps.setLong(1, c.getAccountNumber());\r\n\t\t ps.setString(2, c.getFirstName());\r\n\t\t ps.setString(3, c.getLastName());\r\n\t\t ps.setInt(4, c.getAge());\r\n\t\t ps.setLong(5, c.getMobileNumber());\r\n\t\t ps.setString(6, c.getEmailId());\r\n\t\t ps.setString(7, c.getCity());\r\n\t\t ps.setString(8, c.getState());\r\n\t\t ps.setInt(9, c.getPinCode());\r\n\t\t ps.setDouble(10, c.getBalance());\r\n\t\t ps.setLong(11, c.getAadharCardNumber());\r\n\t\t \r\n\t\t //Query Execution\r\n\t\t int x=ps.executeUpdate();\r\n\t\t if(x!=0) {\r\n\t\t \tString s=\"Credited With Rs. \"+c.getBalance()+\" on \"+new Date();\r\n\t\t \tc.setTransaction(s);\r\n\t\t \t\r\n\t\t \t ps1=con.prepareStatement(\"insert into Transcript values(?,?)\");\r\n\t\t\t\t ps1.setLong(1,c.getAccountNumber());\r\n\t\t\t\t ps1.setString(2, c.getTransaction());\r\n\t\t\t\t ps1.execute();\r\n\t\t\t\t \r\n\t\t \tresult=\"Account Created With Name :\"+c.getFirstName()+\" and Account_Number:\"+c.getAccountNumber();\r\n\t\t }\r\n\t\t else {\r\n\t\t \tresult=\"Unable to create an Account. \\nTry Next Time \";\r\n\t\t }\r\n\t\t \r\n\t\t \r\n\t\t} catch (SQLException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t \r\n\t\t return result;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "4235b0be586c419e66f7f9616b8ed31f", "score": "0.52745724", "text": "public void save(Cancel cancel) {\n\t\tStringBuffer sql=new StringBuffer(\"insert into CSMS_Cancel(\");\n\t\tsql.append(FieldUtil.getFieldMap(Cancel.class,cancel).get(\"nameStr\")+\") values(\");\n\t\tsql.append(FieldUtil.getFieldMap(Cancel.class,cancel).get(\"valueStr\")+\")\");\n\t\tsave(sql.toString());\n\t}", "title": "" }, { "docid": "364f4c84962abb5ea1383bd069dc49e0", "score": "0.5272034", "text": "BusinessClientContact saveBusinessClientContact(BusinessClientContact contact);", "title": "" }, { "docid": "fdb639729267015d498b4c18b074df11", "score": "0.52627075", "text": "@Override\n\tpublic void save(Customer customer) {\n\t\t\n\t}", "title": "" }, { "docid": "50496234f5bc62f21c2a5f1d55f8376a", "score": "0.5261036", "text": "public String calCtc() {\r\n\t\ttry {\r\n\t\t\tCTCDetailModel model = new CTCDetailModel();\r\n\t\t\tmodel.initiate(context, session);\r\n\t\t\tmodel.getEmpDetails(ctcDetail, request);\r\n\t\t\tObject[][] rows = model.showFormula(ctcDetail, request);\r\n\t\t\tctcDetail.setNoData(\"false\");\r\n\t\t\tgetProfileImage();\r\n\t\t\tmodel.terminate();\r\n\t\t\tString viewFm = \"viewFm\";\r\n\t\t\trequest.setAttribute(\"rows\", rows);\r\n\t\t\trequest.setAttribute(\"viewFm\", viewFm);\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn \"success\";\r\n\r\n\t}", "title": "" }, { "docid": "1b44b7a2762db00ceb82f69f4e335979", "score": "0.52555114", "text": "public void finishTransaction() throws Exception{\n\t\tif(cust!=null){\r\n\t\t\ttran.setCustId(cust.getId());\r\n\t\t}\r\n\t\t\r\n\t\tTranConfirm tc = new TranConfirm(shlSaleWindow, SWT.DIALOG_TRIM | SWT.APPLICATION_MODAL);\r\n\t\t//tc.setConfirm(Double.toString(tran.getTotal()), Double.toString(tran.getTax()), Double.toString(tran.getSubtotal()));\r\n\t\ttc.setConfirm(tran);\r\n\t\ttc.open();\r\n\t\tif(tc.getAnswer())\r\n\t\t{\r\n\t\t\r\n\t\ttran.setStoreId(store.getId());\r\n\t\ttran.setEmpId(emp.getId());\r\n\t\ttran.setEntrydate(new Date());\r\n\t\t//tran.save();\r\n\t\t\r\n\t\tPaymentWin paywin = new PaymentWin(shlSaleWindow, 0, tran);\r\n\t\tpaywin.open();\r\n\t\t{\r\n\t\t//Save Payment\r\n//\t\tPayment pay = BusinessObjectDAO.getInstance().create(\"Payment\");\r\n//\t\tpay.setAmount(tran.getTotal());\r\n//\t\tpay.setPaytype(\"Cash\");\r\n//\t\tpay.setTranid(tran.getId());\r\n//\t\tpay.save();\r\n\t\t//tran.setPaymentId(pay.getId());\r\n\t\t\r\n\t\t//Save Commission\r\n\t\tcomm = BusinessObjectDAO.getInstance().create(\"Commission\");\r\n\t\ttran.setCommissionId(comm.getId());\r\n\t\tcomm.setEmpId(emp.getId());\r\n\t\tcomm.setEntryDate(new Date());\r\n\t\tcomm.setTranId(tran.getId());\r\n\t\tcomm.setAmt(getComm());\r\n\t\tSystem.out.println(comm.getAmt());\r\n\t\tcomm.save();\r\n\t\t\r\n\t\t//Commission Journal Entry\r\n\t\tJournalEntry JE = BusinessObjectDAO.getInstance().create(\"JournalEntry\");\r\n\t\tJE.setEntrydate(new Date());\r\n\t\tJE.setTranId(tran.getId());\r\n\t\tJE.save();\r\n\t\tCreditDebit CD = BusinessObjectDAO.getInstance().create(\"CreditDebit\");\r\n\t\tCD.setAmount(comm.getAmt());\r\n\t\tCD.setDorc(false);\r\n\t\tCD.setJournalId(JE.getId());\r\n\t\tCD.setGeneralname(\"Comm Payable\");\r\n\t\tCD.save();\r\n\t\tCreditDebit CD2 = BusinessObjectDAO.getInstance().create(\"CreditDebit\");\r\n\t\tCD2.setAmount(comm.getAmt());\r\n\t\tCD2.setDorc(true);\r\n\t\tCD2.setGeneralname(\"Comm Expense\");\r\n\t\tCD2.setJournalId(JE.getId());\r\n\t\tCD2.save();\r\n\t\t\r\n\t\t\r\n\t\t//Save sale objects.\r\n\t\tfor(RevenueSource s:saleList){\r\n\t\t\ts.save();\r\n\t\t}\r\n\t\t\r\n\t\t//Update inventory and run journal entries.\r\n\t\tupdateInventory();\r\n\t\tString journalid = TransactionCtlr.getInstance().journalEntries(tran);\r\n\t\ttran.setJournalId(journalid);\r\n\t\t\r\n\t\tsearchText.setText(\"\");\r\n\t\tphoneField.setText(\"\");\r\n\t\taddressField.setText(\"\");\r\n\t\tcustField.setText(\"\");\r\n\t\tsearchProd.setText(\"\");\r\n\t\tprodnameField.setText(\"\");\r\n\t\tpriceField.setText(\"\");\r\n\t\tquantityField.setSelection(0);\r\n\t\tdescField.setText(\"\");\r\n\t\tsubtotalField.setText(\"\");\r\n\t\ttotalField.setText(\"\");\r\n\t\ttaxField.setText(\"\");\r\n\t\tclist.clear();\r\n\t\ttableViewer.refresh();\r\n\t\t\r\n\t\ttran.save();\r\n\t\tString tempTran = tran.getId();\r\n\t\tSystem.out.println(\"Transation Saved.\");\r\n\t\tclearSalesWin();\r\n\t\tpopulate();\r\n\t\t\r\n\t\tTransaction t1 = BusinessObjectDAO.getInstance().searchForBO(\"Transaction\", new SearchCriteria(\"id\", tempTran));\r\n\t\tSystem.out.println(\"Storeid: \" + t1.getStoreId());\r\n\t\tSystem.out.println(\"Date: \" + t1.getEntrydate());\r\n\t\tSystem.out.println(\"Subtotal: \" + t1.getSubtotal());\r\n\t\tSystem.out.println(\"Total: \" + t1.getTotal());\r\n\t\tSystem.out.println(\"Tax: \" + t1.getTax());\r\n\t\tSystem.out.println(\"JournalEntry \" + t1.getJe().getEntrydate());\r\n\t\tSystem.out.println(\"Commission \" + t1.getComm().getAmt());\r\n\t\tSystem.out.println(\"Payment \" + t1.getPayment().getAmount());\r\n\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "5696c93d699c3e23220ffe7ef43389c2", "score": "0.5252136", "text": "@Override\n public void save(Contact contact) {\n\n }", "title": "" }, { "docid": "22e45759b51c86cec08d9f4a826904f6", "score": "0.5249909", "text": "protected void save(){\r\n if(file == null){\r\n throw new RuntimeException(\"The CustomerManager class has not been loaded: it cannot be saved!\");\r\n }\r\n \r\n try {\r\n PrintStream out = new PrintStream(file);\r\n for(Customer c : customers.values()){\r\n out.print(c.getName() + \"--\");\r\n out.print(c.getPhoneNo() + \"--\");\r\n out.print(c.getAddress());\r\n out.println();\r\n }\r\n out.close();\r\n } catch (FileNotFoundException e) {\r\n e.printStackTrace(); //DEBUG\r\n //Irrecoverable.\r\n }\r\n }", "title": "" }, { "docid": "f22ddcc01a9cdad465c049e9806b4754", "score": "0.5249624", "text": "public void addcustomer(String cus_id, String name, String address, String tel) {\r\n try{\r\n \r\n stmt=DBconnection.getStatementConnection();\r\n stmt.executeUpdate\r\n (\"INSERT INTO customer VALUE('\"+cus_id+\"','\"+name+\"','\"+address+\"','\"+tel+\"')\");\r\n JOptionPane.showMessageDialog(null,\"You are Succesful Added Data..!\");\r\n } \r\n catch(Exception e){\r\n e.printStackTrace();\r\n }\r\n }", "title": "" }, { "docid": "c3db8f68e3f2d4811d23cb6e30806d9c", "score": "0.52481365", "text": "@Override\n public boolean onSave(EditTransaction et) {\n\n et.retrieveData(VisitDrugDental.TOOTHAREA, typecode, false, null, null);\n\n ContentValues cv = et.getContentValues();\n cv.put(VisitDrugDental.TOOTHAREA, typecode.getText().toString());\n cv.put(VisitDrugDental.SURFACE, quality.getSelectionId());\n cv.put(VisitDrugDental.COMMENT, quality2.getText().toString());\n return true;\n }", "title": "" }, { "docid": "a904294236121127a1fe7e5405946a82", "score": "0.5247888", "text": "public void saveCurrencyChange(CurrencyChange currencyChange);", "title": "" }, { "docid": "e058bbd69bb64a25fd23bb0af74e4e1e", "score": "0.52471304", "text": "void saveContextToFile();", "title": "" }, { "docid": "331f3a7cad199f528fadae2eff9645b5", "score": "0.52345407", "text": "public void saveData() throws PersistenceException, IOException {\r\n\t\tgerenteComentario.saveData();\r\n\r\n\t}", "title": "" }, { "docid": "78a056fe67bdd25295fdd4a48598fc53", "score": "0.5230619", "text": "public void save(Button.ClickEvent event) {\n try {\n // Commit the fields from UI to DAO\n formFieldBindings.commit();\n\n // Save DAO to backend with direct synchronous service API\n\n //getUI().service.save(contact);\n expenseView.dataAccess.postExpense(expenseItem);\n\n String msg = String.format(\"Saved '%s %s'.\",\n expenseItem.getExpense(),\n expenseItem.getDescription());\n show(msg, Type.TRAY_NOTIFICATION);\n expenseView.refreshContacts();\n } catch (FieldGroup.CommitException e) {\n // Validation exceptions could be shown here\n }\n }", "title": "" }, { "docid": "47bb746cd8c98dad72042e4ec44bfd88", "score": "0.5229879", "text": "void saveOrder(Order order);", "title": "" }, { "docid": "47bb746cd8c98dad72042e4ec44bfd88", "score": "0.5229879", "text": "void saveOrder(Order order);", "title": "" }, { "docid": "d27e5b0a2a310fcc4071d3c02a60f50d", "score": "0.52269995", "text": "public void saveFormData() {\r\n StrictEquals stCloseout = new StrictEquals();\r\n AwardCloseOutBean qryBean = new AwardCloseOutBean();\r\n Hashtable htData = new Hashtable();\r\n htData = getCloseOutData();\r\n try{\r\n setSaveFormData();\r\n if(validate()){\r\n CoeusVector cvdTemp = queryEngine.executeQuery(queryKey,AwardCloseOutBean.class, CoeusVector.FILTER_ACTIVE_BEANS);\r\n if(cvdTemp!= null && cvdTemp.size() > 0){\r\n qryBean = (AwardCloseOutBean)cvdTemp.get(0);\r\n }else{\r\n CoeusVector cvTempData = (CoeusVector)htData.get(AwardCloseOutBean.class);\r\n if(cvTempData!= null && cvTempData.size()> 0){\r\n// qryBean = (AwardCloseOutBean)htData.get(AwardCloseOutBean.class);\r\n qryBean = (AwardCloseOutBean)cvTempData.elementAt(0);\r\n }\r\n }\r\n dataChange = stCloseout.compare(awardCloseOutBean, qryBean);\r\n if(!dataChange){\r\n CoeusVector dataObject = new CoeusVector();\r\n dataObject.add(awardCloseOutBean);\r\n if(dataObject!= null && dataObject.size()>0){\r\n if(functionType==NEW_AWARD){\r\n awardCloseOutBean.setAcType(TypeConstants.INSERT_RECORD);\r\n queryEngine.addCollection(queryKey,AwardCloseOutBean.class, dataObject);\r\n }\r\n awardCloseOutBean.setAcType(TypeConstants.UPDATE_RECORD);\r\n queryEngine.addCollection(queryKey,AwardCloseOutBean.class, dataObject);\r\n }\r\n }\r\n dlgCloseout.dispose();\r\n }\r\n }catch (CoeusException coeusException){\r\n coeusException.printStackTrace();\r\n }catch (CoeusUIException coeusUIException){\r\n coeusUIException.printStackTrace();\r\n }\r\n }", "title": "" }, { "docid": "238d9a3842716ffbe7a02227b7d8fa2d", "score": "0.52209747", "text": "public void save(Context ctx) {\n ContentValues values = new ContentValues();\n ContentResolver cr = ctx.getContentResolver();\n long targetGroupId = prepareTargetGroupId(ctx);\n createContact(ctx, targetGroupId);\n\n // Display confirmation\n Context context = ctx;\n CharSequence text = ctx.getText(R.string.contact_saved);\n int duration = Toast.LENGTH_SHORT;\n\n Toast toast = Toast.makeText(context, text, duration);\n toast.show();\n }", "title": "" }, { "docid": "eb85012a4ff266c03cd50cd0afddeec9", "score": "0.522002", "text": "void accDetails(int id);", "title": "" }, { "docid": "218b2f0ff9e32855929db4834a8aa04e", "score": "0.52197987", "text": "private void saveData() {\n String f_code = txtCode.getText().trim();\n String f_desc = txtDesc.getText().trim();\n\n if (f_code == null || f_code.equals(\"\")) {\n Log.m(\"กรุณาระบุรหัสโรงงาน (Code)\");\n txtCode.requestFocus();\n } else if (f_code.length() > 3) {\n Log.m(\"กรุณาระบุรหัสกลุ่ม (Code) ไม่เกิน 3 ตัว\");\n } else if (f_desc == null || f_desc.equals(\"\")) {\n Log.m(\"กรุณาระบุชื่อชื่อโรงงาน (Description)\");\n txtCode.setEditable(false);\n txtDesc.requestFocus();\n } else {\n FactoryControl factory = new FactoryControl();\n FactoryBean bean = new FactoryBean();\n bean.setFactorycode(f_code);\n bean.setFactoryname(f_desc);\n\n factory.insert(bean);\n\n clearForm();\n loadData();\n }\n }", "title": "" }, { "docid": "3f2f6ec62155136c0bf08612720cd4cd", "score": "0.5218394", "text": "private void saveFurtherInformationDataToDatabase(List<ParseObject> list) {\n for (int i = 0; i < list.size(); i++) {\n ParseObject furtherInformationFromParse = list.get(i);\n int civicID = furtherInformationFromParse.getInt(PARSE_CORRESPONDING_CIVIC_ID);\n String dayTicket = furtherInformationFromParse.getString(PARSE_DAY_TICKET);\n String sports = furtherInformationFromParse.getString(PARSE_SPORTS);\n furtherInformationDatabase.addFurtherInformationItem(civicID, dayTicket, sports);\n }\n }", "title": "" }, { "docid": "0162dc5bd61b1756ccbd244b24bb84a7", "score": "0.5203037", "text": "void saveExpirableTransactionRecord();", "title": "" }, { "docid": "c0308be895e8cc496a93ae3857c628f5", "score": "0.52018684", "text": "int insert(AccountInvoiceCancelEntity record);", "title": "" }, { "docid": "fa112a2481aba371363a9e309e26c157", "score": "0.5196272", "text": "public void save() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "8bb869c39ece3df44a816fde99512957", "score": "0.51950395", "text": "public long createContractorEntry(String cName, String cMobile, String cEmail, String cAddr, String cType, String cCharge, String cNotes) {\n\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\n\t\t\t\tContentValues cv = new ContentValues();\n\t\t\t\t//(column to pass it, what to pass in)\n\t\t\t\tcv.put(CONTRACTOR_NAME, cName);\n\t\t\t\tcv.put(CONTRACTOR_MOBILE, cMobile);\n\t\t\t\tcv.put(CONTRACTOR_EMAIL, cEmail);\n\t\t\t\tcv.put(CONTRACTOR_ADDR, cAddr);\n\t\t\t\tcv.put(CONTRACTOR_TYPE, cType);\n\t\t\t\tcv.put(CONTRACTOR_CHARGE, cCharge);\n\t\t\t\tcv.put(CONTRACTOR_NOTES, cNotes);\n\t\t\t\t\n\t\t\t\t//table, null, what to put in(puts)\n\t\t\t\treturn sqlitedatabase.insert(TABLE_CONTRACTORS, null , cv); \t\n\t\t\t}", "title": "" }, { "docid": "dd45f85bbb9766af1044b597530f1858", "score": "0.51915526", "text": "private void storeData()\n\t{\n\t\tif(strFilePath!=null)\n\t\t{\n\t\t\tString strLogin=getResources().getString(R.string.login_table);\n\t\t\tString strMainSection=getResources().getString(R.string.mainsection_table);\n\t\t\tString strSection=getResources().getString(R.string.subsection_table);\n\t\t\tString strAuditData=getResources().getString(R.string.auditdata_table);\n\t\t\tOJTDAO database=new OJTDAO(Utility.context, getResources().getString(R.string.db_name));\n\t\t\tdatabase.create(strLogin,strMainSection,strSection,strAuditData);\n\t\t\tContentValues contentvalues=new ContentValues();\n\t\t\tcontentvalues.put(\"bsipath\", strFilePath);\n\t\t\tdatabase.update(contentvalues, strAuditData, \"status=?\", new String[]{\"0\"});\n\t\t\tdatabase.close();\n\t\t\tstrLogin=null;\n\t\t\tstrMainSection=null;\n\t\t\tstrSection=null;\n\t\t\tstrAuditData=null;\n\t\t\tstrFilePath=null;\n\t\t}\n\t}", "title": "" }, { "docid": "746c5ef78fdd8fb3e97e2148e8a8d7ca", "score": "0.5191298", "text": "public int save(int idArea, String name){\n int i=0;\n try{\n Date date = new Date(0000-00-00);\n //Preparando\n getConexion();\n hp = new Helpers();\n qs = new Query();\n String Table = this._table;\n String now = hp.getDateNow();\n \n objCargo = new Cargo(0,name,idArea,now,now);\n //Iniciando consulta y asignando valores\n pt = qs.sqlRegister(Table);\n pt.setInt(1,objCargo.getIdare());\n pt.setString(2,objCargo.getName());\n pt.setDate(3,date.valueOf(objCargo.getCreated()));\n pt.setDate(4,date.valueOf(objCargo.getModified()));\n //Ejecucion y cierre\n i= pt.executeUpdate();\n pt.close();\n closeConexion();\n return i;\n }\n catch(Exception e){\n System.out.println(_error + \"save: \"+e);\n return i;\n }\n }", "title": "" }, { "docid": "81bfd1bf34cb5fca3bb913d8374ad6fd", "score": "0.5187874", "text": "public void saveEntry(int i)\n {\n PCInfo[i].setPCInfo(txtPCName.getText(),txtPCID.getText(),txtIP.getText()); \n\n // You may also wish to write all the records that are currently in the array\n // to your data file on the hard drive (USB, SSD, or equivalent)\n writeFile(dataFileName);\n }", "title": "" }, { "docid": "aa7e22b72668f3e93e332ec832ab40c2", "score": "0.5186927", "text": "@Override\n\tpublic boolean save(CitasDTO citasObjDTO) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "af55cd8c6c5134d9482068a969e734e4", "score": "0.5181355", "text": "public void save(){\n \t}", "title": "" } ]
0f2b27f06c15cd6256fe61646970db6a
optional uint32 hp = 14;
[ { "docid": "21847fc8c3955cde4727cf07505ae7d0", "score": "0.0", "text": "public Builder clearHp() {\n bitField0_ = (bitField0_ & ~0x00002000);\n hp_ = 0;\n onChanged();\n return this;\n }", "title": "" } ]
[ { "docid": "7ec9909d7728133a432fb3b1b0118e1a", "score": "0.6394599", "text": "public int getHP()\n {\n return hp;\n }", "title": "" }, { "docid": "470626ece5cd7a12adb04d84dcb9d712", "score": "0.6199038", "text": "public int getHp(){ return hp; }", "title": "" }, { "docid": "276858ef0286a9bb0cde25d508699c53", "score": "0.61816096", "text": "int getHp();", "title": "" }, { "docid": "410f29084533959e905960aa822cf221", "score": "0.6144413", "text": "public int getHP() { return HP; }", "title": "" }, { "docid": "948cba96190c130f68bd9ce08dbbd815", "score": "0.60699517", "text": "public int getHP() {\n return HP;\n }", "title": "" }, { "docid": "f30ed126de257d21418ef02524b96397", "score": "0.60020787", "text": "public int getHp() {\n return hp;\n }", "title": "" }, { "docid": "c546642330f4695c6dede85262eac588", "score": "0.5896802", "text": "public Quantum183 getHMax(){\n return localHMax;\n }", "title": "" }, { "docid": "dc3e627f610982725a8a1ff285d79f3b", "score": "0.58374286", "text": "int getPlayerHp();", "title": "" }, { "docid": "3cdf16c4a4c15da827ce4d61f8a6cbb3", "score": "0.5812814", "text": "public int getStrongholdHP() { \r\n return strongholdHP;\r\n }", "title": "" }, { "docid": "166b7a3ffbdc7eeaf51b4ae922e96463", "score": "0.5805682", "text": "public int getHp() {\r\n\t return _hp;\r\n\t}", "title": "" }, { "docid": "1d2854cab3c4e0af2ccbff9354da95c9", "score": "0.5800835", "text": "public int getSoHuu();", "title": "" }, { "docid": "c048bcee506c99cb4f614384cabc74bd", "score": "0.5788226", "text": "public int getHp() {\n return hp_;\n }", "title": "" }, { "docid": "8edc38b0f77ef2299d22f45f35504e2c", "score": "0.5722957", "text": "@Basic \n public int getHP() {\n\t\treturn HP;\n\t}", "title": "" }, { "docid": "0070a00346c0c34cfe55352d33abae2a", "score": "0.57074976", "text": "public Quantum183 getHbMax(){\n return localHbMax;\n }", "title": "" }, { "docid": "3a22a21f89515506b512a6369e4c819d", "score": "0.5694292", "text": "int readVarUInt32() throws IOException;", "title": "" }, { "docid": "55e789a4dafcbf55973429377057c168", "score": "0.56715405", "text": "public int getNowHp() {\n return nowHp_;\n }", "title": "" }, { "docid": "7567a958d121192189d8779ade8120a0", "score": "0.56703043", "text": "int getHarm();", "title": "" }, { "docid": "28a2d6c7c9c6e9f3f82b069b1f5c35eb", "score": "0.5667424", "text": "void mo8236a(C1905h hVar);", "title": "" }, { "docid": "b75d728a6d2739e7cc2e53301a2fa953", "score": "0.5627609", "text": "int mo91973h(CatalogVHData bVar);", "title": "" }, { "docid": "8bfbec3ad6daf0a2262a7e15ebfc261c", "score": "0.56031793", "text": "int getMaxHp();", "title": "" }, { "docid": "4300dce3973c9e3e35eb1c1b7265b1d5", "score": "0.5586783", "text": "public int getHp() {\n return hp_;\n }", "title": "" }, { "docid": "d8617dd6d8e1627a3464f595fbade248", "score": "0.558243", "text": "public IllegalHPException(int hp) {\n HP = hp;\n }", "title": "" }, { "docid": "76f16c42fbcf00ea054c496f662db9e4", "score": "0.5563352", "text": "public final int mo5109h() {\n return 2;\n }", "title": "" }, { "docid": "8d6eaf7b169b5ef3cfa7000e5d414c1b", "score": "0.55558723", "text": "public interface ASN_TIMETICKS\n{\n public static final short value = (short)(0x43);\n}", "title": "" }, { "docid": "40ee9fa150e05da204ef9a3e8729a988", "score": "0.55530906", "text": "public Quantum183 getHMin(){\n return localHMin;\n }", "title": "" }, { "docid": "e7eb68d3b6f60462541aeb4ecd60939a", "score": "0.55514115", "text": "public String getHp() {\r\n return hp;\r\n }", "title": "" }, { "docid": "29a10f427c5c4757ad24c7b1ba249065", "score": "0.554444", "text": "public void setSoHuu(int soHuu);", "title": "" }, { "docid": "c4100ad9cfef55c6f00b096fc4c11827", "score": "0.5537589", "text": "public interface HqPlayerType {\n int EXO_PLAYER = 178;\n int IJK_PLAYER = 981;\n int UNKNOWN_PLAYER = 736;\n}", "title": "" }, { "docid": "fa29ae40131233ba32c143150a3034fd", "score": "0.55252016", "text": "public abstract int mo232h();", "title": "" }, { "docid": "dc9e06840a74ded0886ab8fa111dbc3c", "score": "0.5518962", "text": "public String getHp() {\n return hp;\n }", "title": "" }, { "docid": "aa2a4b1d8dcb46edaa27ad6a8ae6c278", "score": "0.55061316", "text": "public int getPStackHighwater() {\n return pStackHighwater;\n }", "title": "" }, { "docid": "e47a48c3659e8a72da26defad9c9670c", "score": "0.5496704", "text": "short PC();", "title": "" }, { "docid": "f08da19bc7aaf456165a39d7b945cc7f", "score": "0.5472919", "text": "public void setHealth(int h) {health = h;}", "title": "" }, { "docid": "13618cbaca2ec5d5ed4bd659040d2feb", "score": "0.54603016", "text": "public Quantum183 getHbMin(){\n return localHbMin;\n }", "title": "" }, { "docid": "07cd882d2103942fd48203f2857ada9d", "score": "0.5454864", "text": "public int getLostHealth(){\n return this.lostHealth;\n }", "title": "" }, { "docid": "70f50414180fc95e0ee3cec55fd7cf49", "score": "0.5453357", "text": "public int getHopDongSauCung();", "title": "" }, { "docid": "dbab29f22e10a3ccd4bbc81362f64024", "score": "0.54304695", "text": "public void setHp(int hp) {\n\t\tthis.hp = hp;\n\t}", "title": "" }, { "docid": "68137e0af28ec62657efb7852bd2e371", "score": "0.5428447", "text": "public static int m1088h() {\n return 4;\n }", "title": "" }, { "docid": "461d1cb17f831faf2f4667f45669f284", "score": "0.5426177", "text": "public void setHP(int HP) {\n this.HP = HP;\n }", "title": "" }, { "docid": "5eb73b9f4af7205e20eaaa42cd49065b", "score": "0.5413871", "text": "public int getNowHp() {\n return nowHp_;\n }", "title": "" }, { "docid": "20ead96829a3ab8529d0460be75eb890", "score": "0.54133594", "text": "void mo31969a(zzlh zzlh);", "title": "" }, { "docid": "9cbb65eb6e5deeedec6e1057a25c9a9f", "score": "0.5378084", "text": "boolean mo3767h();", "title": "" }, { "docid": "415e5dd380650cd5e0c88cd7f08fab99", "score": "0.53641313", "text": "public int getHandi() {\n return handicap;\n }", "title": "" }, { "docid": "3b97d109cd98610c1ca39f44bfb90abd", "score": "0.5363434", "text": "int getPlayerHp(){\n return this.player.getHp();\n }", "title": "" }, { "docid": "a1794c2ab98784c22b38dc8831f3e315", "score": "0.5362642", "text": "public void setHMax(Quantum183 param){\n \n this.localHMax=param;\n \n\n }", "title": "" }, { "docid": "2fde14c552111b7b568c84f326bb8211", "score": "0.53534687", "text": "public abstract int mo15794h();", "title": "" }, { "docid": "5ef8e483442b9b49a2c9bae97fe87175", "score": "0.53381145", "text": "public void setHp(String hp) {\r\n this.hp = hp;\r\n }", "title": "" }, { "docid": "f9a630b859f94f3092d96fb326706d6f", "score": "0.53254855", "text": "int getHealth();", "title": "" }, { "docid": "72bda36c9bf0ee4639e4e0072dcdd7f9", "score": "0.5323601", "text": "public int getHealth() {return health;}", "title": "" }, { "docid": "7bedaf458d44b931937c2524692ce534", "score": "0.5316375", "text": "private int m7870i() {\n return 0;\n }", "title": "" }, { "docid": "7370e85287e14610788f8428052a2b8e", "score": "0.53150165", "text": "public void setHp(String hp) {\n this.hp = hp;\n }", "title": "" }, { "docid": "174dbb5774fc7ddd3577de598dd0b3fd", "score": "0.5311998", "text": "int mo91967e(CatalogVHData bVar);", "title": "" }, { "docid": "649f396d99107ab5116be91811aa99d9", "score": "0.5300439", "text": "@NativeType(\"uint32_t\")\n public int value() { return nvalue(address()); }", "title": "" }, { "docid": "fbe1f11444878fec1a46bfa5ad4a3be2", "score": "0.529744", "text": "public static void main(String[] args) {\n\n short num;\n\n num = 150;\n System.out.println(num);\n }", "title": "" }, { "docid": "55c741eeb484cbe6cc98869da1f2c18d", "score": "0.52963275", "text": "public Hobbit() {\n\t_HP = 130;\n\t_strength = 100;\n\t_defense = 50;\n\t_attack = .4;\n }", "title": "" }, { "docid": "4388646a69cebbcf4ce52d421e9b75f4", "score": "0.52898544", "text": "private Integer optUInt16Null(JSONObject json, String name) {\n\t\tint i = json.optInt(name, -1);\n\t\tif (i < 0 || i > (0xFFFF)) {\n\t\t\treturn null;\n\t\t}\n\t\telse {\n\t\t\treturn new Integer(i);\n\t\t}\n\t}", "title": "" }, { "docid": "d2c4ab490e754a4e2c22b77440e9ad6f", "score": "0.52742803", "text": "int readVarInt32() throws IOException;", "title": "" }, { "docid": "a4a4f69cd455b99f78deedf7a2135ba0", "score": "0.52716786", "text": "public int getH() {\n\t\treturn h;\r\n\t}", "title": "" }, { "docid": "1017bd47dd1093c1d2d9a90a4a6a5c82", "score": "0.5270065", "text": "public Integer getXh() {\n return xh;\n }", "title": "" }, { "docid": "1017bd47dd1093c1d2d9a90a4a6a5c82", "score": "0.5270065", "text": "public Integer getXh() {\n return xh;\n }", "title": "" }, { "docid": "c6ccc0a40e300050778db51add50664a", "score": "0.5268479", "text": "public interface PriorityOrder\n{\n public static final short value = (short)(2);\n}", "title": "" }, { "docid": "1fd954605b00bec240dd6facbab4754f", "score": "0.5264762", "text": "public int getHealth()\r\n {\r\n return health;\r\n }", "title": "" }, { "docid": "d189792a2b6aaad0fe884ec1f937ff60", "score": "0.5264113", "text": "int getH();", "title": "" }, { "docid": "3e680f98ed92ef66f5251f17bac084c7", "score": "0.52624947", "text": "public int getMinHeigth(){ return minHeigth; }", "title": "" }, { "docid": "3d21dee087787ec2d229127ad43709b4", "score": "0.52606297", "text": "boolean mo18477h();", "title": "" }, { "docid": "b5dfcb2ead6a95048edb3e06547903f3", "score": "0.5256657", "text": "int getInteger7();", "title": "" }, { "docid": "0465b78d4197acd204960a9631c9b982", "score": "0.5255218", "text": "public short mo34e() {\n return 256;\n }", "title": "" }, { "docid": "0fccb2ee63a30a5c9a3db0ea4ba763b6", "score": "0.5251603", "text": "short readVarInt16() throws IOException;", "title": "" }, { "docid": "cfa3aebc055bf60dac56dfe1c3987071", "score": "0.5251369", "text": "public int getArmorValue()\r\n/* 31: */ {\r\n/* 32: 34 */ return ck() * 3;\r\n/* 33: */ }", "title": "" }, { "docid": "4e4e169bb739b02f848184de3ed1270b", "score": "0.523922", "text": "int getVariable();", "title": "" }, { "docid": "6b22a9bf8e64b6ddde88b4225ad0debb", "score": "0.52319217", "text": "BigInteger readVarUInt() throws IOException;", "title": "" }, { "docid": "f1b867542ed3b69a5038f5c11879e101", "score": "0.52294075", "text": "public void setHp(int amount)\r\n \t{\r\n \t\thp=amount;\r\n \t}", "title": "" }, { "docid": "a85bed07af1a482acd4999bd482027ce", "score": "0.5225163", "text": "public void setHMin(Quantum183 param){\n \n this.localHMin=param;\n \n\n }", "title": "" }, { "docid": "c4306917f041b667a92bd6e1cbcac6ab", "score": "0.52230537", "text": "int mo91971g(CatalogVHData bVar);", "title": "" }, { "docid": "b5e838fff04700d45ae2a5d3001b32d0", "score": "0.5222151", "text": "private void setPlayerOverheadHP(Player player, int hp) {\n GamePlayer gamePlayer = API.getGamePlayer(player);\n if (gamePlayer == null) {\n return;\n }\n ScoreboardHandler.getInstance().updatePlayerHP(player, hp);\n double maxHP = getPlayerMaxHPLive(player);\n double healthPercentage = ((double) hp / maxHP);\n if (healthPercentage * 100.0F > 100.0F) {\n healthPercentage = 1.0;\n }\n float healthToDisplay = (float) (healthPercentage * 100.F);\n int playerLevel = gamePlayer.getLevel();\n String playerLevelInfo = ChatColor.AQUA.toString() + ChatColor.BOLD + \"LVL \" + ChatColor.AQUA + playerLevel;\n String separator = ChatColor.WHITE.toString() + \" - \";\n String playerHPInfo;\n BossBarAPI.Color color;\n if (API.isInSafeRegion(player.getLocation())) {\n color = BossBarAPI.Color.GREEN;\n playerHPInfo = ChatColor.GREEN.toString() + ChatColor.BOLD + \"HP \" + ChatColor.GREEN + hp + ChatColor.BOLD + \" / \" + ChatColor.GREEN + (int) maxHP;\n } else if (API.isNonPvPRegion(player.getLocation())) {\n color = BossBarAPI.Color.YELLOW;\n playerHPInfo = ChatColor.YELLOW.toString() + ChatColor.BOLD + \"HP \" + ChatColor.YELLOW + hp + ChatColor.BOLD + \" / \" + ChatColor.YELLOW + (int) maxHP;\n } else {\n color = BossBarAPI.Color.RED;\n playerHPInfo = ChatColor.RED.toString() + ChatColor.BOLD + \"HP \" + ChatColor.RED + hp + ChatColor.BOLD + \" / \" + ChatColor.RED + (int) maxHP;\n }\n double exp = ((double) gamePlayer.getExperience()) / ((double) gamePlayer.getEXPNeeded(playerLevel));\n exp *= 100;\n String playerEXPInfo = ChatColor.LIGHT_PURPLE.toString() + ChatColor.BOLD + \"XP \" + ChatColor.LIGHT_PURPLE + (int) exp + \"%\";\n if (playerLevel == 100) {\n playerEXPInfo = ChatColor.LIGHT_PURPLE + ChatColor.BOLD.toString() + \"MAX\";\n }\n BossBarAPI.removeAllBars(player);\n BossBarAPI.addBar(player, new TextComponent(\" \" + playerLevelInfo + separator + playerHPInfo + separator + playerEXPInfo), color, BossBarAPI.Style.NOTCHED_20, healthToDisplay);\n }", "title": "" }, { "docid": "9819392a394f73f271d03308347ed29d", "score": "0.52202576", "text": "int getSupportValue();", "title": "" }, { "docid": "bb192f2ef6ab056bff9da8b8f9c4000a", "score": "0.5217147", "text": "public int getHp() {\n\t\treturn this.hp;\n\t}", "title": "" }, { "docid": "94b904fa52ceacebb6d6369dee2f7c26", "score": "0.51986456", "text": "public int getHealth()\n {\n return health;\n }", "title": "" }, { "docid": "3354264dd3b7e903c2bbfd401787d18c", "score": "0.5197724", "text": "int getInteger17();", "title": "" }, { "docid": "464e01d5e561eb42db148a6d0b2eaeff", "score": "0.51898694", "text": "public int[] uj10HosszuIntTomb() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "0cdca1693413494ba07256f861ed4756", "score": "0.518656", "text": "public int getReservedPieceNumber() {\n return -1;\n }", "title": "" }, { "docid": "6d062fee26bbba0d2c1fe5eeb057c3bf", "score": "0.5186389", "text": "public void setHbMax(Quantum183 param){\n \n this.localHbMax=param;\n \n\n }", "title": "" }, { "docid": "49c52121161b57855ad2ed6c3f7c519f", "score": "0.51790047", "text": "public Quantum183 getSnMax(){\n return localSnMax;\n }", "title": "" }, { "docid": "43c9b2ed6b3988563f3732711e29eeb9", "score": "0.51743656", "text": "public int getHealth(){\n return this.health;\n }", "title": "" }, { "docid": "43c9b2ed6b3988563f3732711e29eeb9", "score": "0.51743656", "text": "public int getHealth(){\n return this.health;\n }", "title": "" }, { "docid": "7d6e44dfe652b404f4f46d5c4e6403bf", "score": "0.51711386", "text": "int maxGasLevel();", "title": "" }, { "docid": "a7e2681c5d4fa78afe9b7c0c22bd4778", "score": "0.5165623", "text": "public abstract double getHpFactor();", "title": "" }, { "docid": "9790a873e2c7d9e0042eadcc31c539e8", "score": "0.51613426", "text": "public int getHealth() {\n return health;\r\n }", "title": "" }, { "docid": "1620eb42883c3d59bc82b549640739fb", "score": "0.5155153", "text": "public int getgame_over(){\n \treturn game_over;\n }", "title": "" }, { "docid": "a330c22832de4f42e5b8c19661a0d13c", "score": "0.5152538", "text": "public static int HARDNESS(int code) { return c().data[code&RESOURCE_MASK][3];}", "title": "" }, { "docid": "a93c14c4c92aa776d17138f23e84faaf", "score": "0.5149874", "text": "@Override\n public int getAscensionMaxHPLoss() {\n return 0;\n }", "title": "" }, { "docid": "c85088873f1dbb43870456f895719346", "score": "0.51447797", "text": "public short mo34e() {\n return 549;\n }", "title": "" }, { "docid": "7c2efa47ae04d885b63bc64124e43b8f", "score": "0.5142784", "text": "int\ngetMax() { \nreturn\nharr[0]; }", "title": "" }, { "docid": "28a11db21248a83b1a3dc6f36ddfb6f2", "score": "0.5139172", "text": "double getHobOccupancyFactor();", "title": "" }, { "docid": "e182f3bce315ff186199c616d5ef3a25", "score": "0.5138854", "text": "public int method_2460(ahb var1) {\r\n return 4;\r\n }", "title": "" }, { "docid": "6f40e6dfc22de92a2dcd709c2990fb4b", "score": "0.51381016", "text": "public int varNum() {\n return 0;\n }", "title": "" }, { "docid": "6973debe489aecb46dc95bb89f3c84c0", "score": "0.51299953", "text": "public short mo34e() {\n return 182;\n }", "title": "" }, { "docid": "8e901150aa805d671c2c2c2cc2bc013d", "score": "0.5126407", "text": "public int getDefence(){\n return 5;\n }", "title": "" }, { "docid": "ee7894885a4899332cd6843d3e5a7a43", "score": "0.51227814", "text": "public long getWood() {\n return wood_;\n }", "title": "" }, { "docid": "6a598510b2b1402f9b0364665264619f", "score": "0.5121361", "text": "public int getNumberOfMinionsInHand();", "title": "" }, { "docid": "a81e38817017f97570ecef9a66c1fdc1", "score": "0.5120002", "text": "abstract protected int getHedgehogFoodValue();", "title": "" } ]
d573fe61a6e30be359567f24fd12ffbb
/ maybe later we put in the GramTarget container instead of only building KtK here?
[ { "docid": "fee9984885808f682dc6cf408e696105", "score": "0.0", "text": "public DenseMatrix buildBasicKtK(FeatureList featureList, ProgressReporter reporter) throws ApplicationException {\n checkFeatureList(featureList, true);\n \n int size = featureList.size();\n int numGenes = cache.getNodeIds(organismId).getNodeIds().length; \n \n DenseMatrix KtK = new DenseMatrix(size, size);\n FeatureLoader featureLoader = new FeatureLoader(cache, namespace, organismId);\n \n KtK.set(0, 0, numGenes*numGenes);\n for (int i = 1; i < size; i++) {\n Feature iFeature = featureList.get(i);\n// logger.debug(String.format(\"processing %d'th feature, type %s\", i, iFeature.getType().toString()));\n SymMatrix network_i = featureLoader.load(iFeature);\n \n double networkSum = network_i.elementSum();\n KtK.set(i, 0, networkSum);\n KtK.set(0, i, networkSum);\n\n for (int j = 1; j <= i; j++) {\n if (progress.isCanceled()) {\n throw new CancellationException();\n }\n \n Feature jFeature = featureList.get(j);\n SymMatrix network_j = featureLoader.load(jFeature);\n \n double prodSum = network_j.elementMultiplySum(network_i);\n// double prodSum = network_i.elementMultiplySum(network_j);\n KtK.set(i, j, prodSum);\n KtK.set(j, i, prodSum);\n }\n } \n \n return KtK; \n }", "title": "" } ]
[ { "docid": "a29dcffb14f8e6368cab7791cae1b078", "score": "0.5386046", "text": "<K> FreecellOperations<K> build();", "title": "" }, { "docid": "73ea1632999202dbc8aa527a083b7d5d", "score": "0.5334126", "text": "public void assembleTrape() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "20664b3d5b32af57dbf2f4ddf390b933", "score": "0.5237057", "text": "private SpectraTagger(){\n\t\t\n\t}", "title": "" }, { "docid": "4cb9d2e9f5cb8c81b6a50994e37057f3", "score": "0.5209391", "text": "ConceptMapTarget createConceptMapTarget();", "title": "" }, { "docid": "ac72f7c2b67609946b0b29b4fa626ed1", "score": "0.5166616", "text": "@Override\n\tprotected void build ()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "8787d3300d92673d047fe8a7870fd0fa", "score": "0.51487267", "text": "@Override\n\t\tprotected void buildInternal(MultiLabelInstances trainingSet)\n\t\t\t\tthrows Exception {\n\n\t\t}", "title": "" }, { "docid": "fa699da9a1b51a2e2af586a8c03c5cc6", "score": "0.5148047", "text": "@Override \n\t\t public boolean isGenerateBuilders() {\n\t\t\t return true; \n\t\t }", "title": "" }, { "docid": "b2891004e71124276383884864974769", "score": "0.51106954", "text": "ErgoProver build();", "title": "" }, { "docid": "4de157c531336836d95315cc814fd441", "score": "0.508651", "text": "private LexusES300Builder() {\n\t\t\n\t}", "title": "" }, { "docid": "24c66c67d85f78cf196750e6c05e0746", "score": "0.5075395", "text": "StructureMapTarget createStructureMapTarget();", "title": "" }, { "docid": "138c9eb9e86ae455d47c1a7cd0367182", "score": "0.5050548", "text": "public void createTarget(Graphics g) {\n target = new Target((int) (Math.random() * 390 + 1), (int) (Math.random() * 350 + 1), ((int) (Math.random() * 4)) + 0);\r\n target.draw(g);\r\n }", "title": "" }, { "docid": "450630249b4c5d7a1eef809b0f346823", "score": "0.4992135", "text": "private void buildTargetTree()\n {\n // set is building flag\n _isBuildingTree = true;\n\n // clear tree\n _treeTarget.clear();\n\n // build the tree staring at the root\n try\n {\n buildNode(_treeTarget.getRoot());\n }\n catch(Exception e)\n {\n GuiManager.showErrorDialog(this, ERR_BUILDTREE.getText(), e);\n }\n\n // refresh the tree to ensure proper display\n _treeTarget.refreshModel();\n\n // set is building flag\n _isBuildingTree = false;\n\n }", "title": "" }, { "docid": "78bf57b8931c2fc929a2665e9ec28cd8", "score": "0.49656785", "text": "private void setupGoogleMtStep() {\n\t\tString googleKey = null;\r\n\t\ttry( FileInputStream fis = new FileInputStream(new File(\"autotranslator.config\")) ) {\r\n\t\t\tProperties prop = new Properties();\r\n\t\t\tprop.load(fis);\r\n\t\t\tgoogleKey = prop.getProperty(\"googleKey\");\r\n\t\t}\r\n\t\tcatch (Exception e) {\r\n\t\t\tthrow new RuntimeException(\"Error loading the configuration file.\", e);\r\n\t\t}\r\n\r\n\t\t// Construct the Leveraging step\r\n\t\tLeveragingStep step = new LeveragingStep();\r\n\t\tnet.sf.okapi.steps.leveraging.Parameters params \r\n\t\t\t= (net.sf.okapi.steps.leveraging.Parameters)step.getParameters();\r\n\t\tparams.setMakeTMX(false);\r\n\t\tparams.setFillTarget(true);\r\n\t\tparams.setFillIfTargetIsEmpty(true);\r\n\t\tparams.setFillIfTargetIsSameAsSource(false);\r\n\t\tparams.setUseTargetPrefix(false);\r\n\r\n\t\tparams.setResourceClassName(\"net.sf.okapi.connectors.google.GoogleMTv2Connector\");\r\n\t\tnet.sf.okapi.connectors.google.GoogleMTv2Parameters p = new net.sf.okapi.connectors.google.GoogleMTv2Parameters();\r\n\t\tp.setApiKey(googleKey);\r\n\t\tp.setUsePBMT(false);\r\n\t\tparams.setResourceParameters(p.toString());\r\n\t\t\r\n\t\tdriver.addStep(step);\r\n\t}", "title": "" }, { "docid": "bd03a4f132498f7aa98702ee46aa402b", "score": "0.49499375", "text": "private void createTeapot(Appearance ap, TransformGroup tg) {\n\t\tString classPath = System.getProperty(\"user.dir\");\n\t\t\n\t\tcreateTeapotPart(classPath + \"/\" + filenames[0]);\n\n\t\t// Create a 3d shape using the co-ordinates from the file and add the\n\t\t// shape to the scene\n\t\tShape3D shape1 = new TeapotSurface(pts, idx);\n\t\tshape1.setAppearance(ap);\n\t\ttg.addChild(shape1);\n\t\tcreateTeapotPart(classPath + \"/\" + filenames[1]);\n\t\tShape3D shape2 = new TeapotSurface(pts, idx);\n\t\tshape2.setAppearance(ap);\n\t\ttg.addChild(shape2);\n\t\tcreateTeapotPart(classPath + \"/\" + filenames[2]);\n\t\tShape3D shape3 = new TeapotSurface(pts, idx);\n\t\tshape3.setAppearance(ap);\n\t\ttg.addChild(shape3);\n\t\tcreateTeapotPart(classPath + \"/\" + filenames[3]);\n\t\tShape3D shape4 = new TeapotSurface(pts, idx);\n\t\tshape4.setAppearance(ap);\n\t\ttg.addChild(shape4);\n\t\tcreateTeapotPart(classPath + \"/\" + filenames[4]);\n\t\tShape3D shape5 = new TeapotSurface(pts, idx);\n\t\tshape5.setAppearance(ap);\n\t\ttg.addChild(shape5);\n\t\tcreateTeapotPart(classPath + \"/\" + filenames[5]);\n\t\tShape3D shape6 = new TeapotSurface(pts, idx);\n\t\tshape6.setAppearance(ap);\n\t\ttg.addChild(shape6);\n\t\tcreateTeapotPart(classPath + \"/\" + filenames[6]);\n\t\tShape3D shape7 = new TeapotSurface(pts, idx);\n\t\tshape7.setAppearance(ap);\n\t\ttg.addChild(shape7);\n\t\tcreateTeapotPart(classPath + \"/\" + filenames[7]);\n\t\tShape3D shape8 = new TeapotSurface(pts, idx);\n\t\tshape8.setAppearance(ap);\n\t\ttg.addChild(shape8);\n\t}", "title": "" }, { "docid": "405418f82ebf482f7a7e92009e196d44", "score": "0.4943489", "text": "void build();", "title": "" }, { "docid": "17139ce597bcf4ea6b84df0b722dac32", "score": "0.48769566", "text": "@Override\n\tprotected void buildPillars() {\n\t\tSystem.out.println(\"building pillars with RCC for glass house\");\n\t}", "title": "" }, { "docid": "dc287c1577e8dfbb3179331de38678df", "score": "0.48762792", "text": "@DebuggerTargetObjectIface(\"BreakpointContainer\")\npublic interface TargetBreakpointContainer<T extends TargetBreakpointContainer<T>>\n\t\textends TypedTargetObject<T> {\n\tenum Private {\n\t\t;\n\t\tprivate abstract class Cls implements TargetBreakpointContainer<Cls> {\n\t\t}\n\t}\n\n\t@SuppressWarnings({ \"unchecked\", \"rawtypes\" })\n\tClass<Private.Cls> tclass = (Class) TargetBreakpointContainer.class;\n\n\tString SUPPORTED_BREAK_KINDS_ATTRIBUTE_NAME = PREFIX_INVISIBLE + \"supported_breakpoint_kinds\";\n\n\tpublic interface TargetBreakpointKindSet extends Set<TargetBreakpointKind> {\n\t\tpublic static class EmptyTargetBreakpointKindSet\n\t\t\t\textends AbstractEmptySet<TargetBreakpointKind> implements TargetBreakpointKindSet {\n\t\t\t// Nothing\n\t\t}\n\n\t\tpublic static class ImmutableTargetBreakpointKindSet\n\t\t\t\textends AbstractNSet<TargetBreakpointKind>\n\t\t\t\timplements TargetBreakpointKindSet {\n\n\t\t\tpublic ImmutableTargetBreakpointKindSet(TargetBreakpointKind... kinds) {\n\t\t\t\tsuper(kinds);\n\t\t\t}\n\n\t\t\tpublic ImmutableTargetBreakpointKindSet(Set<TargetBreakpointKind> set) {\n\t\t\t\tsuper(set);\n\t\t\t}\n\t\t}\n\n\t\tTargetBreakpointKindSet EMPTY = new EmptyTargetBreakpointKindSet();\n\n\t\tpublic static TargetBreakpointKindSet of() {\n\t\t\treturn EMPTY;\n\t\t}\n\n\t\tpublic static TargetBreakpointKindSet of(TargetBreakpointKind... kinds) {\n\t\t\treturn new ImmutableTargetBreakpointKindSet(kinds);\n\t\t}\n\n\t\tpublic static TargetBreakpointKindSet copyOf(Set<TargetBreakpointKind> set) {\n\t\t\treturn new ImmutableTargetBreakpointKindSet(set);\n\t\t}\n\t}\n\n\t/**\n\t * Get the kinds of supported breakpoints\n\t * \n\t * <p>\n\t * Different debuggers have differing vocabularies of breakpoints, and may only support a subset\n\t * of those recognized by Ghidra. This attribute describes those supported.\n\t * \n\t * @return the set of supported kinds\n\t */\n\t@TargetAttributeType(name = SUPPORTED_BREAK_KINDS_ATTRIBUTE_NAME, required = true, hidden = true)\n\tpublic default TargetBreakpointKindSet getSupportedBreakpointKinds() {\n\t\treturn getTypedAttributeNowByName(SUPPORTED_BREAK_KINDS_ATTRIBUTE_NAME,\n\t\t\tTargetBreakpointKindSet.class, TargetBreakpointKindSet.of());\n\t}\n\n\t/**\n\t * Specify a breakpoint having the given expression and kinds\n\t * \n\t * <p>\n\t * Certain combinations of kinds and expression may not be reasonable. In those cases, the\n\t * debugger may choose to reject, split, and/or adjust the request.\n\t * \n\t * @param expression the expression, in the native debugger's syntax\n\t * @param kinds the desired set of kinds\n\t * @return a future which completes when the request is processed\n\t */\n\tpublic CompletableFuture<Void> placeBreakpoint(String expression,\n\t\t\tSet<TargetBreakpointKind> kinds);\n\n\t/**\n\t * Specify a breakpoint having the given range and kinds\n\t * \n\t * <p>\n\t * Certain combinations of kinds and range may not be reasonable. In those cases, the debugger\n\t * may choose to reject, split, and/or adjust the request.\n\t * \n\t * @param range the range of addresses for the breakpoint\n\t * @param kinds the desired set of kinds\n\t * @return a future which completes when the request is processed\n\t */\n\tpublic CompletableFuture<Void> placeBreakpoint(AddressRange range,\n\t\t\tSet<TargetBreakpointKind> kinds);\n\n\t/**\n\t * Specify a breakpoint having the given address and kinds\n\t * \n\t * <p>\n\t * Certain combinations of kinds may not be reasonable. In those cases, the debugger may choose\n\t * to reject, split, and/or adjust the request.\n\t * \n\t * @param expression the expression, in the native debugger's syntax\n\t * @param kinds the desired set of kinds\n\t * @return a future which completes when the request is processed\n\t */\n\tpublic default CompletableFuture<Void> placeBreakpoint(Address address,\n\t\t\tSet<TargetBreakpointKind> kinds) {\n\t\treturn placeBreakpoint(new AddressRangeImpl(address, address), kinds);\n\t}\n\n\tpublic interface TargetBreakpointListener extends TargetObjectListener {\n\t\t/**\n\t\t * A breakpoint trapped execution\n\t\t * \n\t\t * <p>\n\t\t * The program counter can be obtained in a few ways. The most reliable is to get the\n\t\t * address of the effective breakpoint. If available, the frame will also contain the\n\t\t * program counter. Finally, the trapped object or one of its relatives may offer the\n\t\t * program counter.\n\t\t * \n\t\t * @param container the container whose breakpoint trapped execution\n\t\t * @param trapped the object whose execution was trapped\n\t\t * @param frame the innermost stack frame, if available, of the trapped object\n\t\t * @param spec the breakpoint specification\n\t\t * @param breakpoint the breakpoint location that actually trapped execution\n\t\t */\n\t\tdefault void breakpointHit(TargetBreakpointContainer<?> container, TargetObjectRef trapped,\n\t\t\t\tTypedTargetObjectRef<? extends TargetStackFrame<?>> frame,\n\t\t\t\tTypedTargetObjectRef<? extends TargetBreakpointSpec<?>> spec,\n\t\t\t\tTypedTargetObjectRef<? extends TargetBreakpointLocation<?>> breakpoint) {\n\t\t}\n\t}\n}", "title": "" }, { "docid": "a55b4556d4150238c774f1786ae2d019", "score": "0.48729417", "text": "@Test\n public void processSimpleAugment() {\n setUp();\n // As an application, creates the object.\n\n // Creates container cont1s with the leaf.\n org.onosproject.yang.gen.v1.ytbsimpleaugment.rev20160826\n .ytbsimpleaugment.cont1.cont2.augmentedcont2.cont1s\n .Cont1s cont1s1 = new org.onosproject.yang.gen.v1.ytbsimpleaugment\n .rev20160826.ytbsimpleaugment.cont1.cont2\n .augmentedcont2.cont1s.DefaultCont1s();\n\n // Appends the created container into another container.\n Cont1s cont1s = new DefaultCont1s();\n cont1s.cont1s(cont1s1);\n\n // Creates augment with the container and leaf.\n DefaultAugmentedCont2 augment = new DefaultAugmentedCont2();\n augment.cont1s(cont1s);\n augment.leaf4(500);\n\n // Creates for the node which will be getting augmented.\n // Creates cont2 where content will be augmented into.\n DefaultCont2 augCont2 = new DefaultCont2();\n augCont2.addAugmentation(augment);\n\n // Creates cont1 where cont2 is added.\n DefaultCont1 cont1 = new DefaultCont1();\n cont1.cont2(augCont2);\n\n // Builds YANG tree in YTB.\n data = new DefaultModelObjectData.Builder();\n data.addModelObject(cont1);\n rscData = treeBuilder.getResourceData(data.build());\n\n nameSpace = \"yms:test:ytb:simple:augment\";\n id = rscData.resourceId();\n keys = id.nodeKeys();\n assertThat(1, is(keys.size()));\n\n sid = keys.get(0).schemaId();\n assertThat(\"/\", is(sid.name()));\n assertThat(null, is(sid.namespace()));\n\n dataNodes = rscData.dataNodes();\n assertThat(1, is(dataNodes.size()));\n\n node = dataNodes.get(0);\n validateDataNode(node, \"cont1\", nameSpace,\n SINGLE_INSTANCE_NODE,\n true, null);\n //Here only one instance of list will be added because config is\n // false. so there will be no difference in 2 instance of list node.\n Map<NodeKey, DataNode> child = ((InnerNode) node).childNodes();\n assertThat(1, is(child.size()));\n Iterator<Map.Entry<NodeKey, DataNode>> it = child.entrySet().iterator();\n\n Map.Entry<NodeKey, DataNode> n = it.next();\n validateDataNode(n.getValue(), \"cont2\", nameSpace,\n SINGLE_INSTANCE_NODE,\n true, null);\n child = ((InnerNode) n.getValue()).childNodes();\n assertThat(2, is(child.size()));\n\n it = child.entrySet().iterator();\n n = it.next();\n validateDataNode(n.getValue(), \"leaf4\", nameSpace,\n SINGLE_INSTANCE_LEAF_VALUE_NODE,\n true, \"500\");\n\n n = it.next();\n validateDataNode(n.getValue(), \"cont1s\", nameSpace,\n SINGLE_INSTANCE_NODE,\n true, null);\n\n child = ((InnerNode) n.getValue()).childNodes();\n assertThat(1, is(child.size()));\n\n it = child.entrySet().iterator();\n n = it.next();\n validateDataNode(n.getValue(), \"cont1s\", nameSpace,\n SINGLE_INSTANCE_NODE,\n true, null);\n }", "title": "" }, { "docid": "5192fd7a3d44da09962432dafe598a4a", "score": "0.48603547", "text": "protected void setupTransform(Transformer t) {\n\t\t// This space available\n\t}", "title": "" }, { "docid": "b78c48dfb7e7184713f5aea8368c3989", "score": "0.48233432", "text": "public void test030() {\n // first series shows that a clean build is OK\n this.runConformTest(new String[] { \"X.java\", \"public interface X<T extends X<T, K, S>, \\n\" + \" K extends X.K<T, S>, \\n\" + \" S extends X.S> {\\n\" + \"\tpublic interface K<KT extends X<KT, ?, KS>, \\n\" + \"\t KS extends X.S> {\\n\" + \"\t}\\n\" + \"\tpublic interface S {\\n\" + \"\t}\\n\" + \"}\\n\", \"Y.java\", \"public class Y<T extends X<T, K, S>, \\n\" + \" K extends X.K<T, S>, \\n\" + \" S extends X.S> { \\n\" + \"}\\n\" }, \"\\\"\" + OUTPUT_DIR + File.separator + \"Y.java\\\"\" + \" -1.5 -g -preserveAllLocals\" + \" -cp \\\"\" + OUTPUT_DIR + File.separator + \"\\\"\" + \" -proceedOnError -referenceInfo\" + \" -d \\\"\" + OUTPUT_DIR + \"\\\"\", \"\", \"\", true);\n // second series shows that a staged build - that simulates the auto build context - is OK as well\n this.runConformTest(new String[] { \"X.java\", \"public interface X<T extends X<T, K, S>, \\n\" + \" K extends X.K<T, S>, \\n\" + \" S extends X.S> {\\n\" + \"\tpublic interface K<KT extends X<KT, ?, KS>, \\n\" + \"\t KS extends X.S> {\\n\" + \"\t}\\n\" + \"\tpublic interface S {\\n\" + \"\t}\\n\" + \"}\\n\" }, \"\\\"\" + OUTPUT_DIR + File.separator + \"X.java\\\"\" + \" -1.5 -g -preserveAllLocals\" + \" -proceedOnError -referenceInfo\" + \" -d \\\"\" + OUTPUT_DIR + \"\\\"\", \"\", \"\", true);\n this.runConformTest(new String[] { \"Y.java\", \"public class Y<T extends X<T, K, S>, \\n\" + \" K extends X.K<T, S>, \\n\" + \" S extends X.S> { \\n\" + \"}\\n\" }, \"\\\"\" + OUTPUT_DIR + File.separator + \"Y.java\\\"\" + \" -1.5 -g -preserveAllLocals\" + \" -cp \\\"\" + OUTPUT_DIR + File.separator + \"\\\"\" + \" -proceedOnError -referenceInfo\" + \" -d \\\"\" + OUTPUT_DIR + \"\\\"\", \"\", \"\", false);\n }", "title": "" }, { "docid": "caa8166a831ccba8f0255c2b73b710a6", "score": "0.48041636", "text": "private WordCloudGenerator() { }", "title": "" }, { "docid": "4de5d771812bf28124e10bf9016e3377", "score": "0.479243", "text": "private PlainteAggregateRootBuilder (){\n\t\t\n\t}", "title": "" }, { "docid": "94baaefbf5a8f7ff7e1713ef90870f98", "score": "0.47748318", "text": "Clerk createClerk();", "title": "" }, { "docid": "f9a477f364df4e603ae7accbd26c6b1d", "score": "0.47641793", "text": "@Override\n\tpublic void setupQueryContext(KeyedTopKQueue topk, Map<Long, MergedMidSeg> map) throws IOException {\n\n\t}", "title": "" }, { "docid": "43b37289f4c5d39cc19788e51dca31a5", "score": "0.47491822", "text": "GraphDefinitionTarget createGraphDefinitionTarget();", "title": "" }, { "docid": "29ed0efc84749b4346c9d82cb422a83e", "score": "0.47369036", "text": "T build();", "title": "" }, { "docid": "955890762902c0953f2ba8978a915582", "score": "0.47357923", "text": "@Test\n public void processSimpleAugmentModIdC1() {\n setUp();\n // As an application, creates the object.\n\n // Creates container cont1s with the leaf.\n org.onosproject.yang.gen.v1.ytbsimpleaugment.rev20160826\n .ytbsimpleaugment.cont1.cont2.augmentedcont2.cont1s\n .Cont1s cont1s1 = new org.onosproject.yang.gen.v1.ytbsimpleaugment\n .rev20160826.ytbsimpleaugment.cont1.cont2\n .augmentedcont2.cont1s.DefaultCont1s();\n\n // Appends the created container into another container.\n Cont1s cont1s = new DefaultCont1s();\n cont1s.cont1s(cont1s1);\n\n // Creates augment with the container and leaf.\n DefaultAugmentedCont2 augment = new DefaultAugmentedCont2();\n augment.cont1s(cont1s);\n augment.leaf4(500);\n\n // Creates for the node which will be getting augmented.\n // Creates cont2 where content will be augmented into.\n DefaultCont2 augCont2 = new DefaultCont2();\n augCont2.addAugmentation(augment);\n\n // Builds YANG tree in YTB.\n data = new DefaultModelObjectData.Builder();\n data.addModelObject(augCont2);\n mid = ModelObjectId.builder().addChild(DefaultCont1.class).build();\n data.identifier(mid);\n rscData = treeBuilder.getResourceData(data.build());\n\n nameSpace = \"yms:test:ytb:simple:augment\";\n id = rscData.resourceId();\n keys = id.nodeKeys();\n assertThat(2, is(keys.size()));\n\n sid = keys.get(0).schemaId();\n assertThat(\"/\", is(sid.name()));\n assertThat(null, is(sid.namespace()));\n\n sid = keys.get(1).schemaId();\n assertThat(\"cont1\", is(sid.name()));\n assertThat(nameSpace, is(sid.namespace()));\n\n dataNodes = rscData.dataNodes();\n assertThat(1, is(dataNodes.size()));\n\n node = dataNodes.get(0);\n validateDataNode(node, \"cont2\", nameSpace,\n SINGLE_INSTANCE_NODE,\n true, null);\n //Here only one instance of list will be added because config is\n // false. so there will be no difference in 2 instance of list node.\n Map<NodeKey, DataNode> child = ((InnerNode) node).childNodes();\n assertThat(2, is(child.size()));\n Iterator<Map.Entry<NodeKey, DataNode>> it = child.entrySet().iterator();\n\n Map.Entry<NodeKey, DataNode> n = it.next();\n validateDataNode(n.getValue(), \"leaf4\", nameSpace,\n SINGLE_INSTANCE_LEAF_VALUE_NODE,\n true, \"500\");\n\n n = it.next();\n validateDataNode(n.getValue(), \"cont1s\", nameSpace,\n SINGLE_INSTANCE_NODE,\n true, null);\n\n child = ((InnerNode) n.getValue()).childNodes();\n assertThat(1, is(child.size()));\n\n it = child.entrySet().iterator();\n n = it.next();\n validateDataNode(n.getValue(), \"cont1s\", nameSpace,\n SINGLE_INSTANCE_NODE,\n true, null);\n }", "title": "" }, { "docid": "3e244050d8343d87eb010b54c400c389", "score": "0.4730468", "text": "K create( );", "title": "" }, { "docid": "c2d02b7d86228bd60bcb495f2961325a", "score": "0.47282544", "text": "TargetDefinition createTargetDefinition();", "title": "" }, { "docid": "2fc54caf63ae66057d1a4189adda3e62", "score": "0.4723822", "text": "@Test\n public void processSimpleAugmentModIdC2() {\n setUp();\n // As an application, creates the object.\n\n // Creates container cont1s with the leaf.\n org.onosproject.yang.gen.v1.ytbsimpleaugment.rev20160826\n .ytbsimpleaugment.cont1.cont2.augmentedcont2.cont1s\n .Cont1s cont1s1 = new org.onosproject.yang.gen.v1.ytbsimpleaugment\n .rev20160826.ytbsimpleaugment.cont1.cont2\n .augmentedcont2.cont1s.DefaultCont1s();\n\n // Appends the created container into another container.\n Cont1s cont1s = new DefaultCont1s();\n cont1s.cont1s(cont1s1);\n\n // Creates augment with the container and leaf.\n DefaultAugmentedCont2 augment = new DefaultAugmentedCont2();\n augment.cont1s(cont1s);\n augment.leaf4(500);\n\n // Builds YANG tree in YTB.\n data = new DefaultModelObjectData.Builder();\n data.addModelObject(augment);\n mid = ModelObjectId.builder().addChild(DefaultCont1.class)\n .addChild(DefaultCont2.class).build();\n\n data.identifier(mid);\n rscData = treeBuilder.getResourceData(data.build());\n\n nameSpace = \"yms:test:ytb:simple:augment\";\n id = rscData.resourceId();\n keys = id.nodeKeys();\n assertThat(3, is(keys.size()));\n\n sid = keys.get(0).schemaId();\n assertThat(\"/\", is(sid.name()));\n assertThat(null, is(sid.namespace()));\n\n sid = keys.get(1).schemaId();\n assertThat(\"cont1\", is(sid.name()));\n assertThat(nameSpace, is(sid.namespace()));\n\n sid = keys.get(2).schemaId();\n assertThat(\"cont2\", is(sid.name()));\n assertThat(nameSpace, is(sid.namespace()));\n\n dataNodes = rscData.dataNodes();\n assertThat(2, is(dataNodes.size()));\n\n node = dataNodes.get(0);\n validateDataNode(node, \"leaf4\", nameSpace,\n SINGLE_INSTANCE_LEAF_VALUE_NODE,\n true, \"500\");\n\n node = dataNodes.get(1);\n validateDataNode(node, \"cont1s\", nameSpace,\n SINGLE_INSTANCE_NODE,\n true, null);\n }", "title": "" }, { "docid": "a4de4bc5012a36af53e00617494c1e3f", "score": "0.4707643", "text": "protected MordorFrameBuilds(){\t}", "title": "" }, { "docid": "2a7a6f1ea8841ec67bd0169e4ebed4b4", "score": "0.4701434", "text": "public void initTarget(){\n\t\tfor(Building b : listBuildings){\n\t\t\tif(b.getAttackBehavior()!=null){\n\t\t\t\tb.getAttackBehavior().setMainTarget(ScreenManager.fightScreen.getOtherTeam(b.getMyTeam()).getCastle());\n\t\t\t\tb.getAttackBehavior().setCurrentTarget(ScreenManager.fightScreen.getOtherTeam(b.getMyTeam()).getCastle());\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "46169bacfb13c359fabda562d2b2b968", "score": "0.46841028", "text": "public void setUpTargetPanel() {\n jp.setLayout(new GridBagLayout());\n GridBagConstraints gc = new GridBagConstraints();\n gc.fill = GridBagConstraints.HORIZONTAL;\n\n for (int i = 0; i < labels.length; i++) {\n setUpLabels(labels[i],i,gc,jp);\n }\n\n targetCalories(gc);\n remainingCalories(gc);\n caloriesEaten(gc);\n }", "title": "" }, { "docid": "a2e45b0edbd4c70d0bbbea093da7e872", "score": "0.4667291", "text": "@Override\r\n\tpublic void use(Target target) {\n\r\n\t}", "title": "" }, { "docid": "7fe91f50132da81bb3a3a407b7f46083", "score": "0.46549326", "text": "@Override\n\tprotected void processEngine() {\n\t\t\n\t}", "title": "" }, { "docid": "e48d06bd3a4ecf12aa2675a686d9740c", "score": "0.46543905", "text": "public void prepareAttackTargets() {\n\t}", "title": "" }, { "docid": "69b616f6c8e18a4df2852b64bae9c28d", "score": "0.4643801", "text": "public static void updateTexturePackClouds() {\n }", "title": "" }, { "docid": "897f38bff50bbec872331acf494892a7", "score": "0.46419102", "text": "@Override\n public void run() {\n for (Map.Entry<Integer, GooeySpace> entry :\n scene.spaces.entrySet()) {\n entry.getValue().clearPieces();\n }\n\n // Add the GooeySpace suspect pieces back.\n for (Map.Entry<SuspectCard, Integer> entry :\n gameState.getSuspectLocations().entrySet()) {\n SuspectCard suspectCard = entry.getKey();\n Integer locationId = entry.getValue();\n\n // Get the GooeySpace mapped to locationId\n GooeySpace space = scene.spaces.get(locationId);\n space.addSuspect(suspectCard);\n }\n\n // Add the GooeySpace weapon pieces back.\n for (Map.Entry<WeaponCard, Integer> entry :\n gameState.getWeaponLocations().entrySet()) {\n WeaponCard card = entry.getKey();\n Integer locationId = entry.getValue();\n\n // Get the GooeySpace mapped to locationId\n GooeySpace space = scene.spaces.get(locationId);\n space.addWeapon(card);\n }\n if (gameState.isGameActive()) {\n scene.clearCards();\n // Populate the face up cards and my cards\n for (Card card : gameState.getFaceUpCards()) {\n scene.addOtherCard(card);\n }\n\n for (Card card : gameState.getCards()) {\n scene.addMyCard(card);\n }\n }\n\n if (clientState.isConfigured()) {\n scene.suspectField.setText(\n clientState.getMySuspect().getName());\n }\n }", "title": "" }, { "docid": "a4882dbbbca62576bc9aadf087fca6c8", "score": "0.46334934", "text": "public void spawnTargetIn(){\n for(int x = 0; x < MAPIMGWIDTH; x++){\n for(int y = 0; y < MAPIMGHEIGHT; y++){\n if((Target)field[x][y][4] != null){\n spawnTarget = false;\n }\n if(spawnTarget && ((Player)field[x][y][1]) != null){\n field[x][y][4] = new Target(x * TILESIZE + TILESIZE/2, y * TILESIZE + TILESIZE/2);\n targetX = x;\n targetY = y;\n spawnTarget = true;\n maxY = targetY + 1;\n minY = targetY - 1;\n maxX = targetX + 1;\n minX = targetX - 1;\n }\n }\n }\n }", "title": "" }, { "docid": "35c914924c2913dd18f40561cb6dfe4d", "score": "0.46322966", "text": "protected abstract void doBuildTemplate(RunData runData, Context context,\n AntelopeTaskInstance taskInstance, FormTool form) throws Exception;", "title": "" }, { "docid": "4f1718d0bac716b831532d59ff80c800", "score": "0.46285734", "text": "private void getAllTargetsIntern() {\n getPixels();\n\n // concatenate the two lists such that PPA labeled targets are first\n allTargets = newArrayListWithExpectedSize(ppaTargets.size()\n + stellarTargets.size());\n allTargets.addAll(ppaTargets);\n allTargets.addAll(stellarTargets);\n }", "title": "" }, { "docid": "e4a568b380fc9e1e2bf25197a1970d8e", "score": "0.4628163", "text": "private void findTargetPush()\r\n {\r\n AxisAlignedBB impactBox = this.getEntityBoundingBox().expand(12D, 6D, 12D); \r\n List<EntityLivingBase> list = this.world.getEntitiesWithinAABB(EntityLivingBase.class, impactBox);\r\n \r\n //valid entity\r\n list.removeIf(ent -> this.equals(ent) || !ent.canBePushed() || !ent.canBeCollidedWith());\r\n \r\n //從可騎乘目標中挑出一個目標騎乘\r\n if (list.size() > 0)\r\n {\r\n \tthis.targetPush = list.get(rand.nextInt(list.size()));\r\n \tthis.tickPush = 0;\r\n\t\t\tthis.isPushing = true;\r\n }\r\n }", "title": "" }, { "docid": "339f0371e7ea38d751e17fe6de3b3608", "score": "0.4627067", "text": "@Override\n\tpublic void crecer() {\n\n\t}", "title": "" }, { "docid": "339f0371e7ea38d751e17fe6de3b3608", "score": "0.4627067", "text": "@Override\n\tpublic void crecer() {\n\n\t}", "title": "" }, { "docid": "ce72683ac8d1b62c98b58ac7006451a6", "score": "0.4624421", "text": "@Override\n protected void buildStructure() {\n\n }", "title": "" }, { "docid": "006fb30daf647fec761633ad99f9d8ea", "score": "0.4618779", "text": "private void createDecoration() {\n\t\tRandom rand = new Random();\r\n\t\t\r\n\t\tint x = rand.nextInt(1281) + 1;\r\n\t\tint y = rand.nextInt(321) + 400;\r\n\t\tint cloudSpeed = -(rand.nextInt(11) + 35);\r\n\t\tint farCloudSpeed = -(rand.nextInt(11) + 10);\r\n\t\tint numberOfTrees = 6;\r\n\t\tint treeHeight = 75;\r\n\t\t\r\n\t\tint[] trees_positions = {80, 350, 425, 750, 850, 1200};\r\n\t\tITextureRegion region = resourcesManager.game_trees_1_region;\r\n\t\tSprite treeSprite = new Sprite(0, 0, region.deepCopy(), vbom);\r\n\t\t\r\n\t\tfor (int i = 0; i < numberOfTrees; i++) {\r\n\t\t\t\r\n\t\t\tint tree = rand.nextInt(6);\r\n\t\t\tint treeOffsetX = rand.nextInt(51) - 25;\r\n\t\t\tint treeOffsetY = rand.nextInt(101);\r\n\t\t\t\r\n\t\t\tswitch (tree) {\r\n\t\t\tcase 0:\r\n\t\t\t\tregion = resourcesManager.game_trees_1_region;\r\n\t\t\t\tbreak;\r\n\t\t\tcase 1:\r\n\t\t\t\tregion = resourcesManager.game_trees_2_region;\r\n\t\t\t\tbreak;\r\n\t\t\tcase 2:\r\n\t\t\t\tregion = resourcesManager.game_trees_3_region;\r\n\t\t\t\tbreak;\r\n\t\t\tcase 3:\r\n\t\t\t\tregion = resourcesManager.game_trees_4_region;\r\n\t\t\t\tbreak;\r\n\t\t\tcase 4:\r\n\t\t\t\tregion = resourcesManager.game_trees_5_region;\r\n\t\t\t\tbreak;\r\n\t\t\tcase 5:\r\n\t\t\t\tregion = resourcesManager.game_trees_6_region;\r\n\t\t\t\tbreak;\r\n\t\t\tdefault:\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\ttreeSprite = new Sprite(trees_positions[i] + treeOffsetX, treeHeight + treeOffsetY, region.deepCopy(), vbom);\r\n\t\t\tGameScene.this.attachChild(treeSprite);\r\n\t\t}\r\n\t\t\r\n\t\t\tSprite cloud1 = new Sprite(x, y, resourcesManager.game_cloud_1_region, vbom) {\r\n\t\t\t\tprotected void onManagedUpdate(float pSecondsElapsed) {\r\n\t\t\t\t\tsuper.onManagedUpdate(pSecondsElapsed);\r\n\t\t\t\t\tif (this.getX() < -200) {\r\n\t\t\t\t\t\tthis.setPosition(1480, this.getY());\r\n\t\t\t\t\t}\r\n\t\t\t\t};\r\n\t\t\t};\r\n\t\t\tPhysicsHandler handler = new PhysicsHandler(cloud1);\r\n\t\t\tcloud1.registerUpdateHandler(handler);\r\n\t\t\thandler.setVelocity(cloudSpeed, 0);\r\n\t\t\t\r\n\t\t\tx = rand.nextInt(1281) + 1;\r\n\t\t\ty = rand.nextInt(321) + 400;\r\n\t\t\tcloudSpeed = -(rand.nextInt(11) + 35);\r\n\t\t\t\r\n\t\t\tSprite cloud2 = new Sprite(x, y, resourcesManager.game_cloud_2_region, vbom) {\r\n\t\t\t\tprotected void onManagedUpdate(float pSecondsElapsed) {\r\n\t\t\t\t\tsuper.onManagedUpdate(pSecondsElapsed);\r\n\t\t\t\t\tif (this.getX() < -200) {\r\n\t\t\t\t\t\tthis.setPosition(1480, this.getY());\r\n\t\t\t\t\t}\r\n\t\t\t\t};\r\n\t\t\t};\r\n\t\t\tPhysicsHandler handler2 = new PhysicsHandler(cloud2);\r\n\t\t\tcloud1.registerUpdateHandler(handler2);\r\n\t\t\thandler2.setVelocity(cloudSpeed, 0);\r\n\t\t\t\r\n\t\t\tx = rand.nextInt(1281) + 1;\r\n\t\t\ty = rand.nextInt(321) + 400;\r\n\t\t\t\r\n\t\t\tSprite farCloud1 = new Sprite(x, y, resourcesManager.game_far_cloud_1_region, vbom) {\r\n\t\t\t\tprotected void onManagedUpdate(float pSecondsElapsed) {\r\n\t\t\t\t\tsuper.onManagedUpdate(pSecondsElapsed);\r\n\t\t\t\t\tif (this.getX() < -200) {\r\n\t\t\t\t\t\tthis.setPosition(1480, this.getY());\r\n\t\t\t\t\t}\r\n\t\t\t\t};\r\n\t\t\t};\r\n\t\t\tPhysicsHandler handler4 = new PhysicsHandler(farCloud1);\r\n\t\t\tfarCloud1.registerUpdateHandler(handler4);\r\n\t\t\thandler4.setVelocity(farCloudSpeed, 0);\r\n\t\t\t\r\n\t\t\tx = rand.nextInt(1281) + 1;\r\n\t\t\ty = rand.nextInt(321) + 400;\r\n\t\t\tfarCloudSpeed = -(rand.nextInt(11) + 10);\r\n\t\t\t\r\n\t\t\tSprite farCloud2 = new Sprite(x, y, resourcesManager.game_far_cloud_2_region, vbom) {\r\n\t\t\t\tprotected void onManagedUpdate(float pSecondsElapsed) {\r\n\t\t\t\t\tsuper.onManagedUpdate(pSecondsElapsed);\r\n\t\t\t\t\tif (this.getX() < -200) {\r\n\t\t\t\t\t\tthis.setPosition(1480, this.getY());\r\n\t\t\t\t\t}\r\n\t\t\t\t};\r\n\t\t\t};\r\n\t\t\tPhysicsHandler handler5 = new PhysicsHandler(farCloud2);\r\n\t\t\tfarCloud2.registerUpdateHandler(handler5);\r\n\t\t\thandler5.setVelocity(farCloudSpeed, 0);\r\n\t\t\t\r\n\t\t\tGameScene.this.attachChild(cloud1);\r\n\t\t\tGameScene.this.attachChild(cloud2);\r\n\t\t\tGameScene.this.attachChild(farCloud1);\r\n\t\t\tGameScene.this.attachChild(farCloud2);\r\n\t}", "title": "" }, { "docid": "9640dd08ae17a289484f910f69cfff0f", "score": "0.461255", "text": "@Override\n public void initializeGenKill() {\n int other_tid = st.thFieldMap.get(this.tField);\n this.KILL.addAll(st.N.get(other_tid));\n }", "title": "" }, { "docid": "b9ca985e4eb75286b1d2a5171f9d4350", "score": "0.4598972", "text": "public void build() {\n\tstartitup();\n\t}", "title": "" }, { "docid": "7217d3365ecf86726ac948f8652c8c91", "score": "0.4596234", "text": "@Override\n\tpublic DI build(Map<String, Object> map) throws ObjectBuilderException {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "f5f9ffc777f86cb5870a6eb9f1b3f07d", "score": "0.45928293", "text": "public void buildMappings() {\n \t\tsecondPassCompile();\n \t}", "title": "" }, { "docid": "0b144aa46222fd75cdc14d52ba1fcfd3", "score": "0.4587474", "text": "@Override \n\npublic Context build (Context<Object>context){\n\t\n\n\tNetworkBuilder<Object>netBuilder = new NetworkBuilder<Object>(\"DC interaction network\", context,true);\n\tnetBuilder.buildNetwork();\n\tGridFactory gridFactory = GridFactoryFinder.createGridFactory(null);\n\tGrid<Object> grid = gridFactory.createGrid(\"grid\", context,\n\tnew GridBuilderParameters<Object>(new BouncyBorders(), //new WrapAroundBorders()\n\tnew SimpleGridAdder<Object>(),\n\ttrue,Constants.GRID_WIDTH,Constants.GRID_SIZE,Constants.GRID_SIZE));\n\n\t//set up parameters\n\tParameters params = RunEnvironment.getInstance().getParameters();\n\tdouble Inner_Radius = Constants.INNER_RADIUS;\n\tdouble Outer_Radius = Constants.OUTER_RADIUS;\n\tdouble entry_percent = Constants.ENTRY_PERCENTAGE;\n\tdouble exit_percent = Constants.EXIT_PERCENTAGE; \n\tint gridWidth = Constants.GRID_WIDTH;\n\tint gridHeight = Constants.GRID_SIZE;\n\tint gridz = Constants.GRID_SIZE;\n\tint TCellCount = Constants.Initial_Tcellcount;\n\tint DCCount = Constants.initialDC;//(int)params.getValue(\"initialDC\");//Constants.INITIAL_DC_COUNT; //(Integer)params.getValue(\"DC_count\");\n\tint centreP = Constants.CENTRE_POINT; //(for a hemisphere this is only for j and k , for a quarter this is only for j else is 0\n\tint centreX= 0;\n\n\t//Duration of simulation\n\tRunEnvironment.getInstance().endAt(Constants.SIMULATION_LENGTH);\n\n\t//and set up geometry value layer\n\n\tGridValueLayer geometryLayer = new GridValueLayer(\"Geometry\",true,\n\t\t\tnew BouncyBorders(), Constants.GRID_WIDTH,Constants.GRID_SIZE,Constants.GRID_SIZE); //new WrapAroundBorders()\n\t\t\tfor (int i=0; i<gridWidth; i++){\n\t\t\t\tfor (int j=0; j<gridHeight; j++){\n\t\t\t\t\tfor (int k = 0; k < gridz; k++){\n\t\t\t\t\t\tgeometryLayer.set(0,i, j,k);\n\t\t\t\t\t\tcontext.addValueLayer(geometryLayer);\n\t\t\t\t\t}}}\n\n\t\t\t// extra value layer to take a cross section of the GridValueLayer geometry\n\t\t\tGridValueLayer crossSectionLayer = new GridValueLayer(\"CrossSection\",true,\n\t\t\t\t\tnew BouncyBorders(), Constants.GRID_SIZE,Constants.GRID_SIZE); //new WrapAroundBorders()\n\t\t\t\t\t\tfor (int j=0; j<gridHeight; j++){\n\t\t\t\t\t\t\tfor (int k = 0; k < gridz; k++){\n\t\t\t\t\t\t\t\tcrossSectionLayer.set(0,j,k);\n\t\t\t\t\t\t\t\tcontext.addValueLayer(crossSectionLayer);\n\t\t\t\t\t\t\t}}\n\t\t\t//also need a relevant 2D grid for that \n\t\t\t\t\t\tGridFactory gridFactory2 = GridFactoryFinder.createGridFactory(null);\n\t\t\t\t\t\tGrid<Object> grid2 = gridFactory.createGrid(\"grid2\", context,\n\t\t\t\t\t\tnew GridBuilderParameters<Object>(new BouncyBorders(), //new WrapAroundBorders()\n\t\t\t\t\t\tnew SimpleGridAdder<Object>(),true,Constants.GRID_SIZE,Constants.GRID_SIZE));\n\n\n\t\t\t//make boundary\n\t\t\t\t\t\tfor (int i =0; i < gridWidth; i++){\n\t\t\t\t\t\t\tfor (int j = 0; j < gridHeight; j++){\n\t\t\t\t\t\t\t\tfor (int k = 0; k < gridz; k++){\n\t\t\t\t\t\t\t\t\tGridPoint centre = new GridPoint(centreX,centreP,centreP);\n\t\t\t\t\t\t\t\t\tGridPoint otherPoint= new GridPoint(i,j,k);\n\t\t\t\t\t\t\t\t\tif (grid.getDistance(otherPoint,centre) < Outer_Radius )\n\t\t\t\t\t\t\t\t\t{geometryLayer.set(15,i, j,k);}}}}\n\n\t\t\t\t\t\tdouble entry_radius = entry_percent * Outer_Radius;\n\t\t\t\t\t\tdouble exit_radius = exit_percent * Outer_Radius;\n\t\t\t\t\t\tdouble exit_height = 0.75 * Outer_Radius + (gridHeight/2); //75% of the height of the node\n\n\t\t\t//make general inside\n\t\t\t\t\t\tfor (int i =0; i < gridWidth; i++){\n\t\t\t\t\t\t\tfor (int j = 0; j < gridHeight; j++){\n\t\t\t\t\t\t\t\tfor (int k = 0; k < gridz; k++){\n\t\t\t\t\t\t\t\t\tGridPoint centre = new GridPoint(centreX,centreP,centreP);\n\t\t\t\t\t\t\t\t\tGridPoint otherPoint= new GridPoint(i,j,k);\n\t\t\t\t\t\t\t\t\tif (grid.getDistance(otherPoint,centre) < Inner_Radius )\n\t\t\t\t\t\t\t\t\t{geometryLayer.set(20,i, j,k);}\n\t\t\t\t\t\t\t\t}}}\n\t\t\t//make exit \n\t\t\t\t\t\tfor (int i =0; i < gridWidth; i++){\n\t\t\t\t\t\t\tfor (int j = 0; j < gridHeight; j++){\n\t\t\t\t\t\t\t\tfor (int k = 0; k < gridz; k++){\n\t\t\t\t\t\t\t\t\tGridPoint centre = new GridPoint(centreX,centreP,centreP);\n\t\t\t\t\t\t\t\t\tGridPoint otherPoint= new GridPoint(i,j,k);\n\t\t\t\t\t\t\t\t\tif (j < exit_height ){ \n\t\t\t\t\t\t\t\t\t\tif (grid.getDistance(otherPoint,centre) < Inner_Radius )\n\t\t\t\t\t\t\t\t\t\t{geometryLayer.set(18,i, j,k);}} }}}\n\n\t\t\t//make rest of entry\n\t\t\t\t\t\tfor (int i =0; i < gridWidth; i++){\n\t\t\t\t\t\t\tfor (int j = 0; j < gridHeight; j++){\n\t\t\t\t\t\t\t\tfor (int k = 0; k < gridz; k++){\n\t\t\t\t\t\t\t\t\tGridPoint centre = new GridPoint(centreX,centreP,centreP);\n\t\t\t\t\t\t\t\t\tGridPoint otherPoint= new GridPoint(i,j,k);\n\t\t\t\t\t\t\t\t\tif (grid.getDistance(otherPoint,centre) < exit_radius )\n\t\t\t\t\t\t\t\t\t{geometryLayer.set(20,i, j,k);}}}}\n\n\t\t\t//make inside\n\t\t\t\t\t\tfor (int i =0; i < gridWidth; i++){\n\t\t\t\t\t\t\tfor (int j = 0; j < gridHeight; j++){\n\t\t\t\t\t\t\t\tfor (int k = 0; k < gridz; k++){\n\t\t\t\t\t\t\t\t\tGridPoint centre = new GridPoint(centreX,centreP,centreP);\n\t\t\t\t\t\t\t\t\tGridPoint otherPoint= new GridPoint(i,j,k);\n\t\t\t\t\t\t\t\t\tif (grid.getDistance(otherPoint,centre) < entry_radius)\n\t\t\t\t\t\t\t\t\t{geometryLayer.set(24,i, j,k);}\n\t\t\t\t\t\t\t\t}}}\n\n\t\t\t// take the middle cross section and convert to a 2 D grid\n\t\t\t\t\t\tfor (int j=0; j<gridHeight; j++){\n\t\t\t\t\t\t\tfor (int k = 0; k < gridz; k++){\n\t\t\t\t\t\t\t\tdouble v1 = geometryLayer.get(1,j,k);\n\t\t\t\t\t\t\t\tcrossSectionLayer.set(v1,j,k);}}\n\n\t\t\t//then add create and objects to the context\n\t\t\tSystem.out.println(\"Initial number of T cell = \"+ Constants.Initial_Tcellcount);\n\t\t\tint numberofcognate = (int)Math.round(Constants.Initial_Tcellcount *(Double)params.getValue(\"cognition\"));// (Constants.COGNATE_VALUE ));\n\t\t\tint numberCD4 = (int)Math.round(Constants.RatioCD4*numberofcognate);\n\t\t\tSystem.out.println(\"Number of CD4 \"+numberCD4);\n\t\t\tint numberCD8 = (int)Math.round(Constants.RatioCD8*numberofcognate);\n\t\t\tSystem.out.println(\"Number of CD8 \"+numberCD8);\n\t\t\tint numberNormalCells = TCellCount - numberofcognate;\n\t\t\tint age = RandomHelper.createNormal(1080,100).nextInt();\n\t\t\tint retain_time = 0;\n\t\t\tint timeSinceFirstBound =0;\n\t\t\tint timeSinceLastBound = 11;\n\t\t\tboolean activated = false;\n\t\t\tboolean effector = false;\n\t\t\tdouble stimulation = 0;\n\t\t\tint profCount = 0;\n\t\t\tdouble S1P1 = 1; \n\t\t\tint istring = 0;\n\t\t\tboolean trackingvalue = false;\n\t\t\tint timeAct = 0;\n\t\t\tint timeSinceEntered = 0;\n\t\t\tint DCContacted = 0;\n\t\t\tint TimeSinceDif = 0;\n\t\t\tboolean M=false;\n\t\t\tfor (int i =0;i<numberNormalCells; i++) {\n\t\t\tcontext.add(new UncognateCell(\n\t\t\tgrid,\t\n\t\t\tretain_time,\n\t\t\tage,\n\t\t\ttimeSinceLastBound,\n\t\t\ttimeSinceEntered,\n\t\t\tDCContacted,\n\t\t\tS1P1,\n\t\t\tistring,\n\t\t\ttrackingvalue\n\t\t));}\n// need to alter the random adder so that it only adds to grid points with centre point \n\nfor (int i = 0; i <numberCD4;i++){\n\tboolean CD4=true;\n\tboolean CD8 = false;\n\tcontext.add(new CognateCell(\n\t\t\tgrid, \t\t\n\t\t\tretain_time,\n\t\t\tage,\n\t timeSinceLastBound,\n\t timeSinceEntered,\n\t DCContacted,\n\t timeSinceFirstBound,\n\t stimulation,\n\t activated,\n\t effector,\n\t profCount,\n\t S1P1,\n\t istring,\n\t trackingvalue,\n\t timeAct,\n\t CD4,\n\t CD8,\n\t M,\n\t TimeSinceDif\n\t ));\n\t\n}\n\nfor (int i = 0; i <numberCD8;i++){\n\tboolean CD4=false;\n\tboolean CD8 = true;\n\tcontext.add(new CognateCell(\n\t\t\tgrid, \t\t\n\t\t\tretain_time,\n\t\t\tage,\n\t timeSinceLastBound,\n\t timeSinceEntered,\n\t DCContacted,\n\t timeSinceFirstBound,\n\t stimulation,\n\t activated,\n\t effector,\n\t profCount,\n\t S1P1,\n\t istring,\n\t trackingvalue,\n\t timeAct,\n\t CD4,\n\t CD8,\n\t M,\n\t TimeSinceDif\n\t ));\n\t\n}\n\n//option to add all the DCs here if wanted,\nfor (int i = 0;i<DCCount;i++){\n int retainTime = 0;\n int boundCount = 0;\n double value =(Double)params.getValue(\"MHCstartingvalue\");\n double MHCI = RandomHelper.createNormal(value, 10).nextDouble();//RandomHelper.nextIntFromTo(200, 280);\n double MHCII = RandomHelper.createNormal(value, 10).nextDouble();\n int TcellsContacted = 0;\n int cogTcellsContacted=0;\n int age2 = 1;\n boolean licenced = false;\n context.add(new DC(\n \t\tgrid,\n \t\tretainTime,\n \t\tMHCI,\n \t\tMHCII,\n \t\tboundCount,\n \t\tTcellsContacted,\n \t\tcogTcellsContacted,\n \t\tage2,\n \t\tlicenced\n \t\t));\n //context add ensures they are added to the collection context.\n }\n\n\t//list the areas the objects can be added to \n\tList<GridPoint>FreePoints = new ArrayList<GridPoint>();\n\tfor (int r =0; r < gridWidth; r++)\n\t\t{ for (int j = 0; j < gridHeight; j++)\n \t\t{for (int k = 0; k < gridz; k++)\n \t\t\t{ GridPoint centre = new GridPoint(centreX,centreP,centreP);\n \t\t\tGridPoint otherPoint= new GridPoint(r,j,k);\n \t\t\tif (grid.getDistance(otherPoint,centre) < (Constants.INNER_RADIUS - 1))\n \t\t\t\t{FreePoints.add(otherPoint);}}}}\n\t\n\t//move objects to points in the list\n\tfor (Object obj:context)\n\t\t{ SimUtilities.shuffle(FreePoints, RandomHelper.getUniform()); \n\t\t\tint index = 0;\n\t\t\tGridPoint point = FreePoints.get(index);\t\n\t\t\tgrid.moveTo (obj, (int)point.getX(),(int)point.getY(),(int)point.getZ());}\n\n\t//if want to count Cells added,\n\t\tint index3 =0;\n\t\tint index4 = 0;\n\t\tfor (Object obj:context){\n\t\t\tif (obj instanceof CognateCell)\n\t\t\t{\n\t\t\t\tif ( ((CognateCell)obj).getCD4() == true)\n\t\t\t\t{index3++;}\n\t\t\t\tif (((CognateCell)obj).getCD8() == true)\n\t\t\t\t{index4++;}\t}}\n\t\tSystem.out.println(\"CD4:CD8 \" + index3 +\" \"+index4);\n\t\t\nreturn context;\n\n}", "title": "" }, { "docid": "6b36cb139721b16abbf6708481249022", "score": "0.45829362", "text": "private BuildStageTemplates() {\n }", "title": "" }, { "docid": "0b200a47d860975892ac7216a49abafc", "score": "0.45790437", "text": "GoalTarget createGoalTarget();", "title": "" }, { "docid": "ce33facc7cc8f8d5ec60a6745fae9b0a", "score": "0.4578614", "text": "public GraphCopyCommand(final Graph sourceGraph, final Graph targetGraph,\n\t\t\tfinal EObject container) {\n\t\tthis.sourceGraph = sourceGraph;\n\t\tthis.targetGraph = targetGraph;\n\t\tnodes = new HashMap<Node, Node>();\n\n\t\tList<Mapping> mappings = new ArrayList<Mapping>();\n\n\t\tif (container instanceof Rule) {\n\t\t\tmappings = ((Rule) container).getMappings();\n\t\t} else if (container instanceof NestedCondition) {\n\t\t\tmappings = ((NestedCondition) container).getMappings();\n\t\t}\n\n\t\tfor (Node node : sourceGraph.getNodes()) {\n\t\t\tboolean nodeMapped = false;\n\t\t\tfor (Mapping mapping : new ArrayList<Mapping>(mappings)) {\n\t\t\t\tif (mapping.getOrigin() == node\n\t\t\t\t\t\t&& mapping.getImage().getGraph() == targetGraph) {\n\t\t\t\t\tnodeMapped = true;\n\t\t\t\t\t// add(new DeleteMappingCommand(mapping));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (!nodeMapped) {\n\t\t\t\tNode newNode = HenshinFactory.eINSTANCE.createNode();\n\n\t\t\t\tif (node.getName() != null) {\n\t\t\t\t\tnewNode.setName(new String(node.getName()));\n\t\t\t\t}\n\n\t\t\t\tnewNode.setType(node.getType());\n\n\t\t\t\tNodeLayout nodeLayout = HenshinLayoutUtil.INSTANCE\n\t\t\t\t\t\t.getLayout(node);\n\n\t\t\t\tint x = nodeLayout.getX();\n\t\t\t\tint y = nodeLayout.getY();\n\n\t\t\t\tNodeLayout targetLayout = null;\n\t\t\t\tCreateNodeCommand newNodeCmd = null;\n\n\t\t\t\tif (targetGraph.eContainer() instanceof NestedCondition) {\n\t\t\t\t\tnewNodeCmd = new CreateNodeCommand(targetGraph, newNode, x,\n\t\t\t\t\t\t\ty);\n\n\t\t\t\t} else if ((sourceGraph.isLhs() && targetGraph.isRhs())\n\t\t\t\t\t\t|| (!sourceGraph.isLhs() && !targetGraph.isLhs())) {\n\t\t\t\t\tnewNodeCmd = new CreateNodeCommand(targetGraph, newNode, x,\n\t\t\t\t\t\t\ty, false, false);\n\n\t\t\t\t}\n\n\t\t\t\tif (newNodeCmd != null) {\n\t\t\t\t\tadd(newNodeCmd);\n\n\t\t\t\t\ttargetLayout = newNodeCmd.getNodeLayout();\n\t\t\t\t}\n\n\t\t\t\tCreateNodeMappingCommand mapCmd = new CreateNodeMappingCommand(\n\t\t\t\t\t\tnode, newNode, container);\n\n\t\t\t\tmapCmd.setImageLayout(targetLayout);\n\t\t\t\tmapCmd.setImgGraph(targetGraph);\n\n\t\t\t\tadd(mapCmd);\n\n\t\t\t\tnodes.put(node, newNode);\n\n\t\t\t\tfor (Attribute attr : node.getAttributes()) {\n\t\t\t\t\tadd(new CreateAttributeCommand(newNode, new String(\n\t\t\t\t\t\t\tattr.getValue()), attr.getType()));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (Edge edge : sourceGraph.getEdges()) {\n\t\t\tadd(new CreateEdgeCommand(targetGraph, nodes.get(edge.getSource()),\n\t\t\t\t\tnodes.get(edge.getTarget()), edge.getType()));\n\t\t}\n\n\t}", "title": "" }, { "docid": "67dffa8733956e50e35a8b7f8e9949a3", "score": "0.45771143", "text": "@Override\r\n \tprotected void processEndBatch () {\n \t\tUtil.createDirectories(manifest.getPackageRoot()+\"omegat/\");\r\n \t\tUtil.createDirectories(manifest.getPackageRoot()+\"glossary/\");\r\n \t\tUtil.createDirectories(manifest.getTempTargetDirectory());\r\n \t\tUtil.createDirectories(manifest.getTempTmDirectory());\r\n \r\n \t\t// Write the OmegaT project file\r\n \t\tcreateOmegaTProject();\r\n \t\t\r\n \t\t// Call base class method\r\n \t\tsuper.processEndBatch();\r\n \t}", "title": "" }, { "docid": "1b3e4454ec6ceede4dfaba97e57f32ec", "score": "0.45768824", "text": "public void update(GameContainer gc, GameManager gm, float dt){\n\t\t\n\t\t// if the targhet hasnbt been set, set it\n\t\tif(target == null){\n\t\t\ttarget = gm.getObject(targetTag);\n\t\t}\n\t\t\n\t\t// if the target was not found, return.\n\t\tif(target == null)return;\n\t\t\n\t\t//////////////////////////////////////////////////////////////////////////////////////////////////////////\n\t\t// \t\t\t\t\t\t\t\t\tDYNAMIC CAMERA MOVEMENT\n\t\t// Camera movement speed will depend on how far the target is from the center of the screen\n\t\t// Camera will not follow player exactly, instead camera will 'lag' behind the target.\n\t\t\n\t\t// I DO NOT LIKE THIS EFFECT, IT NEEDS TO BE FIXED OR DONT USE\n\t\t\n\t\t// Determine where the camera will move towards\n\t\t//targetCameraLocationX = (target.getPosX() - target.getWidth()/2) - gc.getWidth()/2;\n\t\t//targetCameraLocationY = (target.getPosY() - target.getHeight()/2) - gc.getHeight()/2;\n\t\t\n\t\t// Determine how much the camera should move this frame\n\t\t//offX -= dt * (offX - targetCameraLocationX) * cameraSpeedConstant;\n\t\t//offY -= dt * (offY - targetCameraLocationY) * cameraSpeedConstant;\n\t\t///////////////////////////////////////////////////////////////////////////////////////////////////////////\n\t\t\n\t\t\n\t\t///////////////////////////////////////////////////////////////////////////////////////////////////////////\n\t\t//\t\t\t\t\t\t\t\t\t\t\tREGULAR CAMERA\n\t\toffX = (target.getPosX() - target.getWidth()/2) - gc.getWidth()/2; //center camera in middle of screen by subtracting half width\n\t\toffY = (target.getPosY() - target.getHeight()/2) - gc.getHeight()/2;\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t//Dont show zone outside level\n\t\tif(offX < 0){\n\t\t\toffX = 0;\n\t\t}\n\t\t\n\t\tif(offY < 0){\n\t\t\toffY = 0;\n\t\t}\n\t\t\n\t\tif(offX > (gm.getLevelWidth() * GameManager.TS) - gc.getWidth()){\n\t\t\toffX = (gm.getLevelWidth() * GameManager.TS) - gc.getWidth();\n\t\t\t//System.out.println(\"Level Width: \" + gm.getLevelWidth());\n\t\t}\n\t\t\n\t\tif(offY > (gm.getLevelHeight() * GameManager.TS) - gc.getHeight()){\n\t\t\toffY = (gm.getLevelHeight() * GameManager.TS) - gc.getHeight();\n\t\t\t//System.out.println(\"Level Width: \" + gm.getLevelWidth());\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t// Set CamX and CamY\n\t\tgc.getRenderer().setCamX((int)offX);\n\t\tgc.getRenderer().setCamY((int)offY);\n\t\t\n\t}", "title": "" }, { "docid": "9644ce1c088233e6c74fb1bf40af90a9", "score": "0.4570092", "text": "object_detection.protos.FasterRcnnOuterClass.Context getContextConfig();", "title": "" }, { "docid": "d0d2a263f384cd94ebf59ab9bf9d0714", "score": "0.45685995", "text": "public MachineGun(KeyPointEntity owner)\r\n\t{\r\n\t\tthis.owner = owner;\r\n\t}", "title": "" }, { "docid": "8987eb5cb3cc2e67512fc5514d251254", "score": "0.4562434", "text": "@Override\n\tprotected void loadKaraokeResources() {\n\t\tLog.d(TAG, \"loadKaraokeResources: \");\n\t\tttpAmefuri1 = mTexturePackLoaderFromSource.load(\"amefuri1.xml\");\n\t\tttpAmefuri1.loadTexture();\n\t\tttpLibAmefuri1 = ttpAmefuri1.getTexturePackTextureRegionLibrary();\n\t\tttpAmefuri2 = mTexturePackLoaderFromSource.load(\"amefuri2.xml\");\n\t\tttpAmefuri2.loadTexture();\n//\t\tttpLibAmefuri2 = ttpAmefuri2.getTexturePackTextureRegionLibrary();\n\t\tttpAmefuri3 = mTexturePackLoaderFromSource.load(\"amefuri3.xml\");\n\t\tttpAmefuri3.loadTexture();\n\t\tttpLibAmefuri3 = ttpAmefuri3.getTexturePackTextureRegionLibrary();\n\t\t\n\t\tttrBackground = ttpLibAmefuri3.get(Vol3AmefuriResource.A3_04_IPHONE3G_AMEFURI_HAIKEI_ID);\n\t\tttrRBus = ttpLibAmefuri1.get(Vol3AmefuriResource.A3_06_1_IPHONE3G_E0003_BUS_ID);\n\t\t// Whell\n\t\tttrRWheel = ttpLibAmefuri1.get(Vol3AmefuriResource.A3_06_2_IPHONE3G_E0003_BUS_ID);\n\t\t\n\t\tttrRHuman = getTiledTextureFromPacker(ttpAmefuri1, \n\t\t\t\tVol3AmefuriResource.A3_12_1_IPHONE3G_HUMAN_ID,\n\t\t\t\tVol3AmefuriResource.A3_12_2_IPHONE3G_HUMAN_ID,\n\t\t\t\tVol3AmefuriResource.A3_12_3_IPHONE3G_HUMAN_ID,\n\t\t\t\tVol3AmefuriResource.A3_12_4_IPHONE3G_HUMAN_ID);\n\n\t\tttrRHuman2 = getTiledTextureFromPacker(ttpAmefuri1,\n\t\t\t\tVol3AmefuriResource.A3_16_1_IPHONE3G_HUMAN_ACTION_ID,\n\t\t\t\tVol3AmefuriResource.A3_16_2_IPHONE3G_HUMAN_ACTION_ID);\n\t\tttrRHumanBound = ttpLibAmefuri3.get(Vol3AmefuriResource.HUMAN_TEMP_ID);\n\t\tttrRCat = getTiledTextureFromPacker(ttpAmefuri1,\n\t\t\t\tVol3AmefuriResource.A3_17_1_IPHONE3G_CATS_BEFORE_ID,\n\t\t\t\tVol3AmefuriResource.A3_17_2_IPHONE3G_CATS_AFTER_ID);\n\t\t\n\t\tttrRFlog = getTiledTextureFromPacker(ttpAmefuri1, \n\t\t\t\tVol3AmefuriResource.A3_11_1_IPHONE3G_E0002_FROG_ID,\n\t\t\t\tVol3AmefuriResource.A3_11_2_IPHONE3G_E0002_FROG_ID,\n\t\t\t\tVol3AmefuriResource.A3_11_3_IPHONE3G_E0002_FROG_ID,\n\t\t\t\tVol3AmefuriResource.A3_11_4_IPHONE3G_E0002_FROG_ID);\n\t\t\n\t\tttrRain = getTiledTextureFromPacker(ttpAmefuri2, \n\t\t\t\tVol3AmefuriResource.A3_14_1_IPHONE3G_RAIN_ID,\n\t\t\t\tVol3AmefuriResource.A3_14_2_IPHONE3G_RAIN_ID,\n\t\t\t\tVol3AmefuriResource.A3_14_3_IPHONE3G_RAIN_ID,\n\t\t\t\tVol3AmefuriResource.A3_14_4_IPHONE3G_RAIN_ID);\n\t}", "title": "" }, { "docid": "ef40053701d49ca9b7019394194af0d2", "score": "0.45568517", "text": "public Pikeman(Pane layer, Castle src, Castle target)\r\n\t{\r\n\t\tsuper(layer, Settings.COST_PRODUCTION_PIKEMAN, Settings.TIME_COST_PIKEMAN, \r\n\t\t\t\tSettings.SPEED_PIKEMAN, Settings.HEALTH_PIKEMAN, Settings.DAMMAGES_PIKEMAN, src, target);\r\n\t\tr.setFill(Color.RED);\r\n\t}", "title": "" }, { "docid": "2c344791dc68729e286c26fac8a283ff", "score": "0.4544706", "text": "@Test\n public void build_default() throws Exception {\n OBOSession oboSession = OboUtils.createOBOSession( CvObjectOntologyBuilderTest.class.getResource(\"/ontologies/psi-mi25-1_51.obo\" ));\n log.debug( oboSession.getObjects().size() );\n\n CvObjectOntologyBuilder ontologyBuilder = new CvObjectOntologyBuilder( oboSession );\n Assert.assertEquals( 16, ontologyBuilder.getRootOBOObjects().size() );\n\n int allOrphanCvs = ontologyBuilder.getOrphanCvObjects().size();\n Assert.assertEquals( 54, allOrphanCvs );\n\n List<CvDagObject> allCvs = ontologyBuilder.getAllCvs();\n int allCvsSize = allCvs.size();\n Assert.assertEquals( 987, allCvsSize );\n\n List<CvDagObject> orderedList = ontologyBuilder.getAllOrderedCvs( allCvs );\n Assert.assertEquals( 987, orderedList.size() );\n\n for ( CvDagObject cvdag : orderedList ) {\n log.debug( \"CvDag: \\t\" + cvdag.getMiIdentifier() + \"\\t\" + cvdag.getObjClass() + \"\\t\" + cvdag.getShortLabel() );\n }\n\n\n if ( log.isDebugEnabled() )\n log.debug( \"ontologyBuilder.getAllCvsAsList().size() \" + ontologyBuilder.getAllCvs().size() );\n Assert.assertEquals(\"CvInteraction\", ontologyBuilder.findCvClassforMI( \"MI:0439\" ).getSimpleName());\n Assert.assertEquals(\"CvDatabase\", ontologyBuilder.findCvClassforMI( \"MI:0244\" ).getSimpleName() );//non-root object\n Assert.assertEquals(\"CvFeatureIdentification\", ontologyBuilder.findCvClassforMI( \"MI:0003\" ).getSimpleName() );//root object\n\n //an example term with 3 Aliases and 2 xrefs, a database xref and identity xref\n /**\n * [Term]\n id: MI:0439\n name: random spore analysis\n def: \"A technique used to detect genetic interactions between 2 (or more) genes in a sporulating organism by scoring a large population of haploid spores for a phenotype and correlating the phenotype with the presence of single vs double (multiple) mutations. A diploid heterozygous organism harbouring mutations in two (or more) genes is induced to sporulate. Resulting spores are meiotic segregants that are haploid and are either wild type or mutant at each locus. Spores are scored for a phenotype, such as loss of viability.\" [PMID:14755292]\n subset: PSI-MI slim\n synonym: \"random-spore analysis\" EXACT PSI-MI-alternate []\n synonym: \"RSA\" EXACT PSI-MI-alternate []\n synonym: \"rsa\" EXACT PSI-MI-short []\n synonym: \"spore germination\" EXACT PSI-MI-alternate []\n is_a: MI:0254 ! genetic interference\n\n */\n OBOObject testObj = ( OBOObject ) oboSession.getObject( \"MI:0439\" );\n CvObject cvObject = ontologyBuilder.toCvObject( testObj );\n Assert.assertEquals( \"random spore analysis\", cvObject.getFullName() );\n Assert.assertEquals( \"MI:0439\", CvObjectUtils.getIdentity( cvObject ) );\n Assert.assertEquals( \"MI:0439\", cvObject.getMiIdentifier() );\n Assert.assertEquals( \"rsa\", cvObject.getShortLabel() );\n Assert.assertEquals( 3, cvObject.getAliases().size() );\n Assert.assertEquals( 2, cvObject.getXrefs().size() );\n Assert.assertTrue( CvObjectUtils.hasIdentity( cvObject, \"MI:0439\" ) );\n\n //Obsolote Term test MI:0443\n OBOObject testObsoleteObj = ( OBOObject ) oboSession.getObject( \"MI:0443\" );\n Assert.assertEquals( true, testObsoleteObj.isObsolete() );\n\n //947+1=948 root object MI:0000\n Assert.assertEquals( 957, ontologyBuilder.getAllMIOBOObjects().size() );\n Assert.assertEquals( 54, ontologyBuilder.getObsoleteOBOObjects().size() );\n Assert.assertEquals( 54, ontologyBuilder.getOrphanOBOObjects().size() );\n Assert.assertEquals( 11, ontologyBuilder.getInvalidOBOObjects().size() );\n //957+11+1=959\n Assert.assertEquals( 969, ontologyBuilder.getAllOBOObjects().size() );\n\n OBOObject endogenousObj = ( OBOObject ) oboSession.getObject( \"MI:0222\" );\n CvObject endogenousCvObject = ontologyBuilder.toCvObject( endogenousObj );\n testCvObject( endogenousCvObject );\n\n OBOObject rnaCleavage = ( OBOObject ) oboSession.getObject( \"MI:0902\" );\n CvObject rnaCleavageCv = ontologyBuilder.toCvObject( rnaCleavage );\n testCvObject( rnaCleavageCv );\n\n\n OBOObject obsoleteTerm = ( OBOObject ) oboSession.getObject( \"MI:0021\" );\n CvObject obsoleteCv = ontologyBuilder.toCvObject( obsoleteTerm );\n testCvObject( obsoleteCv );\n\n OBOObject defTerm = ( OBOObject ) oboSession.getObject( \"MI:0409\" );\n CvObject longDefCv = ontologyBuilder.toCvObject( defTerm );\n testCvObject( longDefCv );\n\n //OBOObject testObj = (OBOObject)oboSession.getObject(\"MI:0001\");//root Cv interaction detection method\n //OBOObject testObj = (OBOObject)oboSession.getObject(\"MI:0012\");\n //OBOObject testObj = (OBOObject)oboSession.getObject(\"MI:0192\");//with GO\n //OBOObject testObj = (OBOObject)oboSession.getObject(\"MI:0122\");//with unique resid\n //OBOObject testObj = (OBOObject)oboSession.getObject(\"MI:0460\"); //def with url\n //OBOObject testObj = (OBOObject)oboSession.getObject(\"MI:0021\"); //def with OBSOLETE\n //OBOObject testObj = (OBOObject)oboSession.getObject(\"MI:2002\"); //example with pubmed\n //OBOObject testObj = (OBOObject)oboSession.getObject(\"MI:0108\"); //example with comment subset PSI-MI slim\n //OBOObject testObj = (OBOObject)oboSession.getObject(\"MI:2120\"); //example with comment subset Drugable\n //OBOObject testObj = (OBOObject)oboSession.getObject(\"MI:0031\"); //example with alias\n //OBOObject testObj = (OBOObject)oboSession.getObject(\"MI:0244\"); //example with 4 annotations + search-url\n\n\n }", "title": "" }, { "docid": "0a5839884e38d1ebd9d81a098664e102", "score": "0.4543646", "text": "public TCaseBuilder()\n {\n start();\n }", "title": "" }, { "docid": "30faf8e442606e3e443afce71d3dfb5e", "score": "0.45364398", "text": "public SinglePlayEnvironment(String nnetPath, Random random, int testLevelID) {\n // Screen width and height\n this.width = 800;\t//Gdx.graphics.getWidth();\n this.height = 1216;\t//Gdx.graphics.getHeight();\n //Gdx.graphics.setDisplayMode((int)width, (int)height, false);\n\n // The test level to display\n String levelPath = TrainingParams.TileMapsPath + \"TestLevel\" + testLevelID + \".tmx\";\n\n // Setup camera\n this.Camera = new OrthographicCamera();\n this.Camera.setToOrtho(false, width, height);\n this.Camera.update();\n\n // Setup map asset\n this.TiledMap = new TmxMapLoader().load(levelPath);\n this.TiledMapRenderer = new OrthogonalTiledMapRenderer(this.TiledMap);\n\n // Setup input (motion grabbing) processing\n Gdx.input.setInputProcessor(this);\n\n // Setup Rendering Objects\n this.MapNodeSR = new ShapeRenderer();\n this.SpriteBatchRenderer = new SpriteBatch();\n this.LineRenderer = new ShapeRenderer();\n \n // Setup Trackers\n this.BulletTracker = Collections.newSetFromMap(new ConcurrentHashMap<GreenBullet, Boolean>());\n this.trainees = Collections.newSetFromMap(new ConcurrentHashMap<TrainingAgent, Boolean>());\n this.shooters = Collections.newSetFromMap(new ConcurrentHashMap<TrainingShooter, Boolean>());\n \n // Generate TileMap Objects\n this.TraverseNodes = new ConcurrentHashMap<Integer, TileNode>();\n this.TileNodeGraph = createGraphFromTileMap(this.TraverseNodes, (TiledMapTileLayer) this.TiledMap.getLayers().get(1));\n \n // Add a Training Shooter\n this.shooters.add(new TrainingShooter(190, 630, this.trainees, this.shooters, this.BulletTracker, random));\n this.shooters.add(new TrainingShooter(540, 700, this.trainees, this.shooters, this.BulletTracker, random));\n this.shooters.add(new TrainingShooter(510, 90, this.trainees, this.shooters, this.BulletTracker, random));\n this.shooters.add(new TrainingShooter( 65, 1090, this.trainees, this.shooters, this.BulletTracker, random));\n this.shooters.add(new TrainingShooter(740, 1090, this.trainees, this.shooters, this.BulletTracker, random));\n this.shooters.add(new TrainingShooter(410, 960, this.trainees, this.shooters, this.BulletTracker, random));\n \n int startX = 16;\n int startY = 16;\n \n switch(testLevelID) {\n case 1:\n \tstartX = 16;\n startY = 16;\n break;\n case 2:\n \tstartX = 784;\n startY = 16;\n break;\n case 3:\n \tstartX = 784;\n startY = 1200;\n break;\n case 4:\n \tstartX = 16;\n startY = 1200;\n break;\n case 5:\n \tstartX = 16;\n startY = 16;\n break;\n }\n \n // Add the Trainee\n if( NNET ) { \n \tthis.trainees.add(new TrainingAgent(testLevelID, NeuralNetwork.createFromFile(nnetPath), startX, startY,\n this.TraverseNodes, random, this.TiledMap, this.trainees, this.shooters, this.BulletTracker));\n }\n \n if( PUPPET ) {\n \tthis.puppet = new PuppetAgent(this.TiledMap, this.TraverseNodes, new TileAStarPathFinder(), startX, startY, this.BulletTracker, this.shooters);\n }\n }", "title": "" }, { "docid": "6f9453575c664e3f2f2ee72768384aee", "score": "0.45312124", "text": "public TartGP() {}", "title": "" }, { "docid": "c88ab6b53ebc9e65636a4fdb7becda68", "score": "0.45305997", "text": "@Test\n public void testPutContainer() {\n System.out.println(\"putContainer\");\n Controller instance = new Controller(new WindowTest());\n instance.Start();\n \n AGV agv = instance.buffers.get(0).ownedAGV.get(0);\n Crane bufferCrane = instance.buffers.get(0).crane;\n try {\n instance.putContainer(agv, bufferCrane);\n } catch (Exception e){\n \n }\n \n assertEquals(true,true);\n // TODO review the generated test code and remove the default call to fail.\n \n }", "title": "" }, { "docid": "ee5f7edf53964f7631e6226690a1dc63", "score": "0.45176694", "text": "public interface Producer {\n\n public static final int DEFAULT = 0;\n public static final int SKIP_DUPLICATE_TEST = 1;\n // Producer delivers from Path of from Provenance Graph\n public static final int EXTENSION = 2;\n\t\n\t/**\n\t * KGRAM calls this method before executing a query.\n\t * It enables to initialize the Producer\n\t * \n\t */\n\tdefault void init(Query q) {};\n\tdefault void start(Query q) {};\n\tdefault void finish(Query q) {};\n\t\n\t/**\n\t * A hook to tune Producer\n\t */\n\tvoid setMode(int n);\n \n public int getMode();\n\t\n\t\n\t/**\n\t * Return all graph nodes that are known by the Producer.\n\t * Should return graph nodes that are member of from (if any).\n\t * \n\t * @param gNode The graph query node \n\t * @param from The from named node list (may be empty)\n\t * @param env The binding environment\n\t * @return graph nodes\n\t */\n\tIterable<Node> getGraphNodes(Node gNode, List<Node> from, Environment env);\n\t\n\t/**\n\t * Check whether a node is a graph node and if yes, check it is member of from (if any)\n\t * @param gNode The graph query node \n\t * @param from The from named node list (may be empty)\n\t * @param env The binding environment\n\t * @return true if the node is a graph node\n\t */\n\tboolean isGraphNode(Node gNode, List<Node> from, Environment env);\n\t\n\t/**\n\t * Return candidate edges that match a query edge. Matcher checks conformity afterwards.\n\t * If there is a gNode\n\t * If it is bound in environment, should return edges from the same graph as gNode value.\n\t * Otherwise if there is a from, should return edges whose graph is in from.\n\t * If there is no gNode, if there is a from, should return edges whose graph is in from. \n\t * Should return edges whose nodes conform to current bindings in environment, nevertheless bindings are checked afterwards in KGRAM.\n\t * \n\t * @param gNode The query graph node if any\n\t * @param from The from named if gNode is not null, otherwise the from (from may be empty)\n\t * @param qEdge The query edge\n\t * @param env The current mapping : query node -> target node\n\t * @return Candidate edge iterator\n\t */\n\tIterable<Entity> getEdges(Node gNode, List<Node> from, Edge qEdge, Environment env);\n \n Mappings getMappings(Node gNode, List<Node> from, Exp exp, Environment env);\n\n\t\n\t\n\t/**\n\t * Same as candidate() for edges\n\t * @param gNode\n\t * @param from\n\t * @param qNode\n\t * @param env\n\t * @return\n\t */\n\tIterable<Entity> getNodes(Node gNode, List<Node> from, Node qNode, Environment env);\n\n\t\n\t\n\t/**************** PATH **************/\n\t\n\t\n\t/**\n\t * Start the processing of a path instruction with qEdge as pseudo query edge.\n\t * index is the index of the node in qEdge where to start path.\n\t * It is the index of the node that we want to enumerate in getNodes()\n\t * \n\t * @param qEdge\n\t * @param index\n\t */\n\tvoid initPath(Edge qEdge, int index);\n\t\n\t\n\t/**\n\t * Return nodes for Zero length path \n\t * \n\t * @param gNode The graph node where to get nodes (may be null)\n\t * @param from from or from named, may be empty\n\t * @param qEdge Pseudo query edge for path\n\t * @param env The binding environment\n\t * @param exp either property name or a ! (pname | pname) or null\n\t * @param index of the node to return\n\t * @return Iterable of start nodes for exp\n\t * \n\t * SPARQL 1.1 requires:\n\t * ZeroLengthPath match all nodes of (current) graph, including Literals\n\t * If the argument is a constant, it matches even if it is not a node of the graph\n\t * \n\t */\n\t\n\tIterable<Entity> getNodes(Node gNode, List<Node> from, Edge qEdge, Environment env, \n\t\t\tList<Regex> exp, int index);\n\t\n\t\n\t/**\n\t * Return candidate edges for a path step for an elementary regex exp.\n\t * Edge start at start Node, start is the node at index.\n\t * Hence start can be edge.getNode(0) as well as edge.getNode(1)\n\t * \n\t * isInverse = true means consider also target edge nodes in reverse order\n\t * query: start = Bob ; ?a ^foaf:knows ?b\n\t * target: Jack foaf:knows Bob\n\t * return edge above because we consider also Bob foaf:knows Jack\n\t * This is orthogonal to index = 1, in which case we also consider nodes in inverse order\n\t * \n\t * @param gNode The start node of edges\n\t * @param from from or from named, may be empty\n\t * @param qEdge Pseudo query edge for path\n\t * @param env The binding environment\n\t * @param exp either property name or a ! (pname | pname)\n\t * @param src current source if any\n\t * @param start The start node for current edge\n\t * @param index of the start node in edge\n\t * exp.isInverse() authorize to consider nodes in reverse order (as if the symmetric relation would exist)\n\t * @return Iterable of start nodes for exp\n\t */\n\tIterable<Entity> getEdges(Node gNode, List<Node> from, Edge qEdge, Environment env, \n\t\t\tRegex exp, Node src, Node start, int index);\n\t\n\t\n\t\n\t/**************** value to node **************/\n\t\n\t\n\t/**\n\t * Given a value from the filter language, return a Node that contains this value\n\t * use case: select fun(?x) as ?y\n\t * \n\t * @param value a target value from the filter language\n\t */\n\tNode getNode(Object value);\n \n // cast java value into IDatatype value\n Object getValue(Object value);\n \n // DatatypeValue from IDatatype or from Java value\n DatatypeValue getDatatypeValue(Object value);\n \t\n\t/**\n\t * use case: filter (?x = ?y) filter(?x = 'cst')\n\t * is it possible to bind ?x to the argument to optimize query processing ?\n\t * node is the argument \n\t */\n\tboolean isBindable(Node node);\n\t\n\t\n\t/**\n\t * Given a value from the filter language, return a list of Node that represent this value\n\t * use case: select (xpath('/book/title') ?as list) \n\t * \n\t * @param value\n\t * @return List<Node>\n\t */\n\tList<Node> toNodeList(Object value);\n\t\n\t\n\t/**\n\t * Given an object resulting from the evaluation of an extension function, return Mappings\n\t * that represents the values\n\t * use case: select (sql('select fom where') as (?x, ?y))\n\t * in case of sql, the object is a java.sql.ResultSet\n\t * \n\t * @param qNodes the query nodes to bind with values of object\n\t * @param object\n\t * @return Mappings\n\t */\n\tMappings map(List<Node> qNodes, Object object);\n\n /**\n * graph node { }\n * Node node represents (contains) a graph \n */\n boolean isProducer(Node node);\n\n Producer getProducer(Node node, Environment env);\n \n // use case: Producer created for a specific query\n Query getQuery();\n\t\n // May return an object that implement the RDF graph\n Object getGraph();\n \n void setGraphNode(Node n);\n \n Node getGraphNode();\n \n Entity copy(Entity ent);\n\n\t void close();\n}", "title": "" }, { "docid": "85ec20add82b940135b1a80283b607ff", "score": "0.45173445", "text": "public void TransformBy ( Transformation rkTransform,\r\n BoundingVolume pkResult)\r\n {\r\n Sphere3f rkTarget = ((SphereBV)pkResult).m_kSphere;\r\n rkTarget.Center = rkTransform.ApplyForward(m_kSphere.Center);\r\n rkTarget.Radius = rkTransform.GetNorm()*m_kSphere.Radius;\r\n }", "title": "" }, { "docid": "60e1818fe132ae7e742a121cf10b38cf", "score": "0.45151228", "text": "private Task createTransportLeg(Task task, NewWorkflow wf, TransportTuple tt)\n {\n NewTask subtask = theLDMF.newTask();\n Vector prepphrases = new Vector();\n //Enumeration origpp = task.getPrepositionalPhrases();\n //while (origpp.hasMoreElements()) {\n // PrepositionalPhrase pp = (PrepositionalPhrase)origpp.nextElement();\n // if ((pp.getPreposition().equals(Constants.Preposition.FOR)) && \n // (pp.getIndirectObject() instanceof Asset) ) {\t\n // prepphrases.addElement(pp);\n // }\n // }\n NewPrepositionalPhrase newpp = theLDMF.newPrepositionalPhrase();\n newpp.setPreposition(Constants.Preposition.OFTYPE);\n AbstractAsset transasset = null;\n try {\n Asset trans_proto = theLDMF.createPrototype(Class.forName(\"org.cougaar.planning.ldm.asset.AbstractAsset\"),\n \"StrategicTransportation\");\n transasset = (AbstractAsset)theLDMF.createInstance(trans_proto);\n } catch (Exception e) {\n e.printStackTrace();\n }\n newpp.setIndirectObject(transasset);\n prepphrases.addElement(newpp);\n \n NewPrepositionalPhrase frompp = theLDMF.newPrepositionalPhrase();\n frompp.setPreposition(Constants.Preposition.FROM);\n frompp.setIndirectObject(tt.getFrom());\n prepphrases.addElement(frompp);\n \n NewPrepositionalPhrase topp = theLDMF.newPrepositionalPhrase();\n topp.setPreposition(Constants.Preposition.TO);\n topp.setIndirectObject(tt.getTo());\n prepphrases.addElement(topp);\n \n subtask.setParentTask(task);\n subtask.setDirectObject(task.getDirectObject());\n subtask.setPrepositionalPhrases(prepphrases.elements());\n subtask.setVerb(task.getVerb());\n subtask.setPlan(task.getPlan());\n \n Vector prefs = new Vector();\n AspectValue startAV = AspectValue.newAspectValue(AspectType.START_TIME, tt.getStartTime().getTime());\n ScoringFunction startSF = ScoringFunction.createPreferredAtValue(startAV, 2);\n Preference startPref = theLDMF.newPreference(AspectType.START_TIME, startSF);\n prefs.addElement(startPref);\n\n AspectValue endAV = AspectValue.newAspectValue(AspectType.END_TIME, tt.getEndTime().getTime());\n ScoringFunction endSF = ScoringFunction.createPreferredAtValue(endAV, 2);\n Preference endPref = theLDMF.newPreference(AspectType.END_TIME, endSF);\n prefs.addElement(endPref);\n \n subtask.setPreferences(prefs.elements());\n subtask.setSource(getMessageAddress());\n wf.addTask(subtask);\n subtask.setWorkflow(wf);\n publishAdd(subtask);\n \n return subtask;\n }", "title": "" }, { "docid": "dc11f29ab80e0ee4ecc6732e387f7243", "score": "0.45090353", "text": "public final void f() {\n /*\n r7 = this;\n T extends com.my.target.mediation.MediationAdapter r0 = r7.e\n r1 = 0\n java.lang.String r2 = \"MediationEngine error: \"\n if (r0 == 0) goto L_0x0015\n r0.destroy() // Catch:{ all -> 0x000b }\n goto L_0x0013\n L_0x000b:\n r0 = move-exception\n java.lang.StringBuilder r3 = a2.b.a.a.a.L(r2)\n a2.b.a.a.a.r1(r0, r3)\n L_0x0013:\n r7.e = r1\n L_0x0015:\n android.content.Context r0 = r7.g()\n if (r0 != 0) goto L_0x0021\n java.lang.String r0 = \"MediationEngine: can't configure next ad network, context is null\"\n com.my.target.ae.b(r0)\n return\n L_0x0021:\n com.my.target.cl r3 = r7.a\n com.my.target.cm r3 = r3.bK()\n if (r3 != 0) goto L_0x0032\n java.lang.String r0 = \"MediationEngine: no ad networks available\"\n com.my.target.ae.a(r0)\n r7.e()\n return\n L_0x0032:\n java.lang.String r4 = \"MediationEngine: prepare adapter for \"\n java.lang.StringBuilder r4 = a2.b.a.a.a.L(r4)\n java.lang.String r5 = r3.getName()\n r4.append(r5)\n java.lang.String r5 = \" ad network\"\n r4.append(r5)\n java.lang.String r4 = r4.toString()\n com.my.target.ae.a(r4)\n java.lang.String r4 = r3.getName()\n java.lang.String r5 = \"myTarget\"\n boolean r4 = r5.equals(r4)\n if (r4 == 0) goto L_0x005c\n com.my.target.mediation.MediationAdapter r1 = r7.d()\n goto L_0x007d\n L_0x005c:\n java.lang.String r4 = r3.bM()\n java.lang.Class r4 = java.lang.Class.forName(r4) // Catch:{ all -> 0x0075 }\n r5 = 0\n java.lang.Class[] r6 = new java.lang.Class[r5] // Catch:{ all -> 0x0075 }\n java.lang.reflect.Constructor r4 = r4.getConstructor(r6) // Catch:{ all -> 0x0075 }\n java.lang.Object[] r5 = new java.lang.Object[r5] // Catch:{ all -> 0x0075 }\n java.lang.Object r4 = r4.newInstance(r5) // Catch:{ all -> 0x0075 }\n com.my.target.mediation.MediationAdapter r4 = (com.my.target.mediation.MediationAdapter) r4 // Catch:{ all -> 0x0075 }\n r1 = r4\n goto L_0x007d\n L_0x0075:\n r4 = move-exception\n java.lang.StringBuilder r2 = a2.b.a.a.a.L(r2)\n a2.b.a.a.a.r1(r4, r2)\n L_0x007d:\n r7.e = r1\n if (r1 == 0) goto L_0x00b7\n boolean r1 = r7.c(r1)\n if (r1 == 0) goto L_0x00b7\n java.lang.String r1 = \"MediationEngine: adapter created\"\n com.my.target.ae.a(r1)\n com.my.target.az$b r1 = new com.my.target.az$b\n r1.<init>(r3)\n r7.d = r1\n int r1 = r3.getTimeout()\n if (r1 <= 0) goto L_0x00a4\n com.my.target.ik r1 = com.my.target.ik.J(r1)\n r7.c = r1\n com.my.target.az<T>$b r2 = r7.d\n r1.d(r2)\n L_0x00a4:\n com.my.target.cz r1 = r3.getStatHolder()\n java.lang.String r2 = \"networkRequested\"\n java.util.ArrayList r1 = r1.K(r2)\n com.my.target.im.a(r1, r0)\n T extends com.my.target.mediation.MediationAdapter r1 = r7.e\n r7.b(r1, r3, r0)\n goto L_0x00d3\n L_0x00b7:\n java.lang.String r0 = \"MediationEngine: can't create adapter, class \"\n java.lang.StringBuilder r0 = a2.b.a.a.a.L(r0)\n java.lang.String r1 = r3.bM()\n r0.append(r1)\n java.lang.String r1 = \" not found or invalid\"\n r0.append(r1)\n java.lang.String r0 = r0.toString()\n com.my.target.ae.b(r0)\n r7.f()\n L_0x00d3:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.my.target.az.f():void\");\n }", "title": "" }, { "docid": "6b859a74cc959810b2caea053cd4a807", "score": "0.4507441", "text": "PlanDefinitionTarget createPlanDefinitionTarget();", "title": "" }, { "docid": "0f1975e56ae598363bf92a544984f371", "score": "0.45069724", "text": "private void initFabricMaps(){\n\n //Set fabric map nodeId-id\n List<FabricMap> lFabricMap = new ArrayList<FabricMap>();\n FabricMapBuilder fmb = new FabricMapBuilder();\n\n // circle the hash table\n Iterator<Entry<NodeId,Long>> iter = this.nodeIdMapTag.entrySet().iterator();\n while (iter.hasNext()) {\n Map.Entry<NodeId,Long> entry = (Map.Entry<NodeId,Long>) iter.next();\n FabricMap fm = fmb.setId(entry.getValue())\n .setNodeId(entry.getKey())\n .build();\n lFabricMap.add(fm);\n }\n FabricMaps maps = new FabricMapsBuilder().setFabricMap(lFabricMap).build();\n\n // submit to Operational Data Store!\n DataModificationTransaction it = this.dataBrokerService.beginTransaction();\n InstanceIdentifier<FabricMaps> dataRef = InstanceIdentifier.builder(FabricMaps.class).toInstance();\n it.putOperationalData(dataRef, maps);\n it.commit();\n\n // return\n return;\n }", "title": "" }, { "docid": "7fcbe4e54b71b4f7767a23593df10c17", "score": "0.45061353", "text": "object_detection.protos.AnchorGeneratorOuterClass.AnchorGenerator getFirstStageAnchorGenerator();", "title": "" }, { "docid": "684a2e935aa45415c594a3d909119f3b", "score": "0.4501258", "text": "private void initFabricFlows(){\n HashSet<Long> ids = new HashSet<Long>(this.tagMapNodeId.keySet());\n\n // create multi-thread to creat each node to others' path\n // install each path into the switch\n for(Long srcId : ids){\n new Thread(new InstallFabric(srcId,tagMapNodeId,flowWriterService,linksInSrcDst)).start();\n }\n\n return;\n }", "title": "" }, { "docid": "dacad3f6cd2104426bc9010e4dd3b470", "score": "0.45012346", "text": "public void run() {\n\t\tint sampleIndex = this.sortedIndices[sortedIndices.length-1] + 1;\r\n\t\tthis.source = new ImagePlus( \"sample\", alignedStack.getStack().getProcessor(sampleIndex).convertToByte(true) );\r\n\t\tImageConverter.setDoScaling(true);\r\n\t\tImageConverter ic = new ImageConverter( alignedStack );\r\n\t\tic.convertToGray8();\r\n\t\t// Output stack\r\n\t\tint nChannels = 2;\r\n int nSlices = alignedStack.getStack().getSize();\r\n int nFrames = 1;\r\n //ImagePlus impMerged = IJ.createHyperStack( \"merged\", this.source.getWidth(), this.source.getHeight(), nChannels, nSlices, nFrames, this.source.getBitDepth() );\r\n\r\n\t\t//for ( int refIndex = nReferenceImages - param.CONGEALING_NREFERENCES; refIndex <= nReferenceImages; refIndex++ ) {\r\n\t\tfor ( int refIndex = 1; refIndex <= nReferenceImages; refIndex++ ) {\r\n\t\t\tTransformation transfo = registerOne( sampleId, idMap.getKey(refIndex) );\r\n\t\t\ttransfosElastic.put( idMap.getKey(refIndex), transfo );\r\n\t\t\t//ImagePlus reg = transfo.getInverseResults();\r\n\t\t\t//impMerged.getImageStack().setProcessor( LibImage.convertSimilar( reg.getStack().getProcessor(1), this.target.getProcessor()) , 2 * refIndex );\r\n\t\t\t//impMerged.getImageStack().setProcessor( this.source.getProcessor() , 2 * refIndex - 1 );\r\n\t\t}\r\n\r\n\t\t//CompositeImage impComp = new CompositeImage( impMerged, CompositeImage.COMPOSITE );\r\n\t\t//impComp.show();\r\n\r\n\t\t//int refIndex = this.stackProps.get( refId ).index;\r\n\t\t//this.source.show();\r\n\t\t//this.target.show();\r\n\t}", "title": "" }, { "docid": "57c76f363910bf3e891fcee1a4736fb2", "score": "0.45002943", "text": "@Test\n public void testConstructor() {\n OtmModelManager mgr = TestOtmModelManager.build();\n OtmLibrary lib = TestLibrary.buildOtm( mgr );\n // OtmLibrary lib = mgr.add( new TLLibrary() );\n spriteMgr = TestSpriteManager.buildSpriteManager();\n gc = spriteMgr.getSettingsManager().getGc();\n\n OtmBusinessObject bo = TestBusiness.buildOtm( lib, \"Bo1\" );\n OtmContextualFacet cfC = TestCustomFacet.buildOtm( bo, \"CF1\" );\n OtmContextualFacet cfE = TestCustomFacet.buildOtm( bo, \"CF2\" );\n OtmAttribute<?> attr = TestOtmPropertiesBase.buildAttribute( cfE );\n assertTrue( attr != null );\n attr.setName( \"thisisareallyreallyreallylongnametoassureexpandedwidthiswiderthancollapsed\" );\n\n cfC.setExpanded( false );\n cfE.setExpanded( true );\n\n // 157 x 28\n csC = new ContextualFacetSprite( cfC, spriteMgr );\n assertTrue( \"Must have had size set.\", csC.getBoundaries() != null );\n assertTrue( \"Must have width.\", csC.getWidth() > 0 );\n assertTrue( \"Must have height.\", csC.getHeight() > 0 );\n\n // 567 x 116\n csE = new ContextualFacetSprite( cfE, spriteMgr );\n assertTrue( \"Must have had size set.\", csE.getBoundaries() != null );\n assertTrue( \"Must have width.\", csE.getWidth() > csC.getWidth() );\n assertTrue( \"Must have height.\", csE.getHeight() > csC.getHeight() );\n }", "title": "" }, { "docid": "1d67ff87010a8aefbbdc276dd64ea9a6", "score": "0.45002273", "text": "public StorageTargetSpaceAllocation() {\n }", "title": "" }, { "docid": "2ac3da1f6b0e87946151c46725456589", "score": "0.44964144", "text": "public Marker(T aTarget)\n {\n _target = aTarget;\n setRect(2, 0, 9, 5);\n }", "title": "" }, { "docid": "4e5ddf09271060b57f9c1ca0186cd913", "score": "0.44886574", "text": "static KawtToolkit init () {\n\n\t//System.out.println (\"ti0\");\n\n\tRuntime.getRuntime ().gc (); // dont ask why this is neccessary...\n\n\t//System.out.println (\"ti1\");\n\n\tString laf = classbase+\".LafImpl\";\n\n\ttry { \n\t Class.forName(\"com.sun.midp.palm.Info\"); \n\t laf = \"de.kawt.impl.kjava.LafImpl\";\n\t}\n\tcatch (Throwable x) {}\n\n\ttry {\n\t Laf.laf = (Laf) Class.forName (laf).newInstance ();\n\t}\n\tcatch (Exception e) {\n\t Laf.laf = new Laf ();\n\t}\n\n\t//System.out.println (\"*** ti2/cb: \"+classbase);\n\n try {\n\t //System.out.println (\"*** ti3\");\n graphicsImpl = Class.forName (classbase+\".GraphicsImpl\");\n\t //System.out.println (\"*** ti4\");\n return (KawtToolkit) Class.forName \n\t\t(classbase+\".ToolkitImpl\").newInstance ();\n }\n catch (Exception e) {\n\t //System.out.println (\"*** ti5: \"+e);\n throw new RuntimeException (\"kawt init failure: \"+e.toString ());\n }\n }", "title": "" }, { "docid": "b95afd3dde7d533c59aef00bb22b49be", "score": "0.44860637", "text": "private Collection<TargetNode> findTargetNodes(InjectorTarget injectorTarget, List<InjectionPoint> injectionPoints) {\n/* 217 */ MethodNode method = injectorTarget.getMethod();\n/* 218 */ Map<Integer, TargetNode> targetNodes = new TreeMap<Integer, TargetNode>();\n/* 219 */ Collection<AbstractInsnNode> nodes = new ArrayList<AbstractInsnNode>(32);\n/* */ \n/* 221 */ for (InjectionPoint injectionPoint : injectionPoints) {\n/* 222 */ nodes.clear();\n/* */ \n/* 224 */ if (findTargetNodes(method, injectionPoint, injectorTarget.getSlice(injectionPoint), nodes)) {\n/* 225 */ for (AbstractInsnNode insn : nodes) {\n/* 226 */ Integer key = Integer.valueOf(method.instructions.indexOf(insn));\n/* 227 */ TargetNode targetNode = targetNodes.get(key);\n/* 228 */ if (targetNode == null) {\n/* 229 */ targetNode = new TargetNode(insn);\n/* 230 */ targetNodes.put(key, targetNode);\n/* */ } \n/* 232 */ targetNode.nominators.add(injectionPoint);\n/* */ } \n/* */ }\n/* */ } \n/* */ \n/* 237 */ return targetNodes.values();\n/* */ }", "title": "" }, { "docid": "5ffdb173de7cc980bf7ca7bc3de80f73", "score": "0.4478136", "text": "public DnnTransform(Lop input, OpOpDnn op, DataType dt, ValueType vt, ExecType et, int k, double intermediateMemBudget) {\n\t\tsuper(Lop.Type.Transform, dt, vt);\n\t\tinit(input, op, dt, vt, et);\n\t\tnumThreads = k;\n\t\tthis.intermediateMemBudget = intermediateMemBudget;\n\t}", "title": "" }, { "docid": "8e4a2eb24ea69db05eca048f3b6cbf38", "score": "0.44713697", "text": "private TensorBuffer createEmbedding(Bitmap style) {\n TensorImage styleImage = TensorImage.fromBitmap(style);\n MagentaArbitraryImageStylizationV1256Int8Prediction1.Outputs outputs = embedder.process(styleImage);\n\n return outputs.getStyleBottleneckAsTensorBuffer();\n }", "title": "" }, { "docid": "56b78139efe38b8f2259bd9de8a41a9f", "score": "0.44703373", "text": "private GEngine(){\r\n\t\tGdx.app.log(\"GEngine\", \"Running constructor\");\r\n\t\t\r\n\t\tbatch = Main.getInstance().batch;\r\n\t\tcamera = new OrthographicCamera();\r\n\t\tcamera.setToOrtho(true);\r\n\t\t\r\n\t\tuiCamera = new OrthographicCamera();\r\n\t\tuiCamera.setToOrtho(false);\r\n\t\t\r\n\t\tuserInterface = new GameUI(uiCamera);\r\n\t\t\r\n\t\tinputHandler = new InputHandler();\r\n\t\tactionHandler = new ActionHandler();\r\n\t\thighlighter = new Highlighter(this);\r\n\t\t\r\n\t\tgUnits = new HashMap<Integer,GUnit>();\r\n\t\tgBuildings = new HashMap<Integer,GBuilding>();\r\n\t\tdecideSmoothLines();\r\n\t\t\r\n\t\tcameraController = new CameraController(camera);\r\n\t\tMain.getInstance().gestureMultiplexer.addProcessor(cameraController);\r\n\t\tMain.getInstance().addProcessor(cameraController);\r\n\t}", "title": "" }, { "docid": "9f9fa14995e8ada03757f6849a432c1d", "score": "0.44636902", "text": "protected ATPGenericPhase() {}", "title": "" }, { "docid": "b1d1f000badf53268c2485b3ad8db9f1", "score": "0.44634688", "text": "java.util.HashMap<Integer, Integer> getTargetMap() { return targetMap; }", "title": "" }, { "docid": "e8998b9a85100e736ccd43a07b60d86f", "score": "0.44628966", "text": "private ITreeAutomatonBU<LETTER, STATE> buildEmptyLanguageTree() {\r\n\t\treturn new TreeAutomatonBU<>();\r\n\t}", "title": "" }, { "docid": "826e2d58afdc529858a6e7658c219c20", "score": "0.44541216", "text": "private TGDGeneratorsMap getGeneratorsMap(FORule tgd, MappingTask mappingTask) {\n\t\tTGDGeneratorsMap custom = new GenerateValueGenerators().generateValueGenerators(tgd, mappingTask);\n\t\tthis.generatorsMaps.put(tgd, custom);\n\t\treturn custom;\n\t}", "title": "" }, { "docid": "e30388a9e55b4aab9277e413c28cd7de", "score": "0.444775", "text": "private ScoutBeeTargets(){\n }", "title": "" }, { "docid": "52ba05b0590869469e9e0e0c20274baf", "score": "0.44477466", "text": "public KdTree()\n {\n allpoints = new Queue<Point2D>();\n }", "title": "" }, { "docid": "38fa72bcd79564cf9df891aea73cf93f", "score": "0.44446218", "text": "public StatefulKnowledgeSession createKSession(){\n //Create the kbuilder\n KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();\n\n //Add simpleProcess.bpmn to kbuilder\n kbuilder.add(new ClassPathResource(\"rules/dynamic/subProcessSelectionRules.drl\"), ResourceType.DRL);\n kbuilder.add(new ClassPathResource(\"process/dynamic/dynamicReusableSubProcess-Parent.bpmn\"), ResourceType.BPMN2);\n kbuilder.add(new ClassPathResource(\"process/dynamic/personTaggerProcess.bpmn\"), ResourceType.BPMN2);\n kbuilder.add(new ClassPathResource(\"process/dynamic/carTaggerProcess.bpmn\"), ResourceType.BPMN2);\n System.out.println(\"Compiling resources\");\n \n //Check for errors\n if (kbuilder.hasErrors()) {\n if (kbuilder.getErrors().size() > 0) {\n for (KnowledgeBuilderError error : kbuilder.getErrors()) {\n System.out.println(\"Error building kbase: \" + error.getMessage());\n }\n }\n throw new RuntimeException(\"Error building kbase!\");\n }\n\n //Create a knowledge base and add the generated package\n KnowledgeBase kbase = KnowledgeBaseFactory.newKnowledgeBase();\n kbase.addKnowledgePackages(kbuilder.getKnowledgePackages());\n\n //return a new statefull session\n return kbase.newStatefulKnowledgeSession();\n }", "title": "" }, { "docid": "aa9cc2bd5d590d9e1f758f7f43d26f14", "score": "0.44409928", "text": "private void prepareTest() {\r\n OpBroker broker = session.newBroker();\r\n try {\r\n OpTransaction t = broker.newTransaction();\r\n\r\n //create the project node and the project plan\r\n OpProjectNode project = new OpProjectNode();\r\n project.setName(PROJECT_NAME);\r\n project.setType(OpProjectNode.PROJECT);\r\n project.setStart(new Date(getCalendarWithExactDaySet(2007, 6, 10).getTimeInMillis()));\r\n OpProjectPlan projectPlan = new OpProjectPlan();\r\n projectPlan.setStart(new Date(getCalendarWithExactDaySet(2007, 6, 10).getTimeInMillis()));\r\n projectPlan.setFinish(new Date(getCalendarWithExactDaySet(2007, 6, 30).getTimeInMillis()));\r\n projectPlan.setProjectNode(project);\r\n\r\n //create the activity - assignment - resource\r\n OpActivity activity = new OpActivity();\r\n activity.setName(ACTIVITY_NAME);\r\n activity.setProjectPlan(projectPlan);\r\n activity.setBaseTravelCosts(30d);\r\n activity.setBaseMaterialCosts(50d);\r\n OpResource resource = new OpResource();\r\n resource.setName(RESOURCE_NAME);\r\n OpAssignment assignment = new OpAssignment();\r\n activity.addAssignment(assignment);\r\n assignment.setResource(resource);\r\n\r\n //create the workRecord\r\n OpWorkRecord workRecord = new OpWorkRecord();\r\n workRecord.setAssignment(assignment);\r\n\r\n //create the OpCostRecords\r\n OpCostRecord costRecord1 = new OpCostRecord();\r\n costRecord1.setType(OpCostRecord.TRAVEL_COST);\r\n costRecord1.setActualCosts(20d);\r\n costRecord1.setRemainingCosts(10d);\r\n costRecord1.setComment(\"Comment cost record 1\");\r\n costRecord1.setWorkRecord(workRecord);\r\n OpCostRecord costRecord2 = new OpCostRecord();\r\n costRecord2.setType(OpCostRecord.MATERIAL_COST);\r\n costRecord2.setActualCosts(25d);\r\n costRecord2.setRemainingCosts(25d);\r\n costRecord2.setComment(\"Comment cost record 2\");\r\n costRecord2.setWorkRecord(workRecord);\r\n\r\n //create an attachment for the first cost record\r\n OpAttachment attachment1 = new OpAttachment();\r\n attachment1.setLinked(true);\r\n attachment1.setName(\"Attachment 1\");\r\n attachment1.setLocation(\"http://www.google.com/\");\r\n attachment1.setObject(costRecord1);\r\n\r\n broker.makePersistent(project);\r\n broker.makePersistent(projectPlan);\r\n broker.makePersistent(activity);\r\n broker.makePersistent(resource);\r\n broker.makePersistent(assignment);\r\n broker.makePersistent(workRecord);\r\n broker.makePersistent(costRecord1);\r\n broker.makePersistent(costRecord2);\r\n broker.makePersistent(attachment1);\r\n\r\n t.commit();\r\n }\r\n finally {\r\n broker.close();\r\n }\r\n }", "title": "" }, { "docid": "23780d3dac15d3d5a8fd3a77f3900c55", "score": "0.4437428", "text": "private MiuiGxzwAnimArgs build() {\n return new MiuiGxzwAnimArgs(this.res, this.startPosition, this.repeat, this.frameInterval, this.backgroundRes, this.backgroundFrame, this.customerDrawBitmap, this.feedback, this.aod, this.translateX, this.translateY);\n }", "title": "" }, { "docid": "84286c1f9e52a5dcc75da6a9ca870861", "score": "0.44365707", "text": "private void setUpTargetSpaces()\n {\n //Red Circle\n boardSquares[1][4].setIcon(redCircle);\n boardSquares[1][4].setTopEdge(true);\n boardSquares[1][4].setLeftEdge(true);\n boardSquares[0][4].setBottomEdge(true);\n boardSquares[0][4].setIcon(bottomSideBarrier);\n boardSquares[1][3].setRightEdge(true);\n boardSquares[1][3].setIcon(rightSideBarrier);\n boardSquares[1][4].setTargetSpace(\"redCircle\");\n boardSquares[1][4].sendIcon(redCircle);\n ///\n boardSquares[1][4].setSquareColour(\"red\");\n ///\n targetMap.put(\"redCircle\", redCircle);\n \n //Red Square\n boardSquares[1][13].setIcon(redSquare);\n boardSquares[1][13].setTopEdge(true);\n boardSquares[1][13].setLeftEdge(true);\n boardSquares[0][13].setBottomEdge(true);\n boardSquares[0][13].setIcon(bottomSideBarrier);\n boardSquares[1][12].setRightEdge(true);\n boardSquares[1][12].setIcon(rightSideBarrier);\n boardSquares[1][13].setTargetSpace(\"redSquare\");\n boardSquares[1][13].sendIcon(redSquare);\n ///\n boardSquares[1][13].setSquareColour(\"red\");\n ///\n targetMap.put(\"redSquare\", redSquare);\n \n //Green Triangle\n boardSquares[2][1].setIcon(greenTriangle);\n boardSquares[2][1].setTopEdge(true);\n boardSquares[2][1].setRightEdge(true);\n boardSquares[1][1].setBottomEdge(true);\n boardSquares[1][1].setIcon(bottomSideBarrier);\n boardSquares[2][2].setLeftEdge(true);\n boardSquares[2][2].setIcon(leftSideBarrier);\n boardSquares[2][1].setTargetSpace(\"greenTriangle\");\n boardSquares[2][1].sendIcon(greenTriangle);\n ///\n boardSquares[2][1].setSquareColour(\"green\");\n ///\n targetMap.put(\"greenTriangle\", greenTriangle);\n \n //Blue Triangle\n boardSquares[2][9].setIcon(blueTriangle);\n boardSquares[2][9].setBottomEdge(true);\n boardSquares[2][9].setRightEdge(true);\n boardSquares[3][9].setTopEdge(true);\n boardSquares[3][9].setIcon(topSideBarrier);\n boardSquares[2][10].setLeftEdge(true);\n boardSquares[2][10].setIcon(leftSideBarrier);\n boardSquares[2][9].setTargetSpace(\"blueTriangle\");\n boardSquares[2][9].sendIcon(blueTriangle);\n ///\n boardSquares[2][9].setSquareColour(\"blue\");\n ///\n targetMap.put(\"blueTriangle\", blueTriangle);\n \n //Yellow Star\n boardSquares[3][6].setIcon(yellowStar);\n boardSquares[3][6].setBottomEdge(true);\n boardSquares[3][6].setRightEdge(true);\n boardSquares[4][6].setTopEdge(true);\n boardSquares[4][6].setIcon(topSideBarrier);\n boardSquares[3][7].setLeftEdge(true);\n boardSquares[3][7].setIcon(leftSideBarrier);\n boardSquares[3][6].setTargetSpace(\"yellowStar\");\n boardSquares[3][6].sendIcon(yellowStar);\n ///\n boardSquares[3][6].setSquareColour(\"yellow\");\n ///\n targetMap.put(\"yellowStar\", yellowStar);\n \n //Green Star\n boardSquares[5][14].setIcon(greenStar);\n boardSquares[5][14].setBottomEdge(true);\n boardSquares[5][14].setLeftEdge(true);\n boardSquares[6][14].setTopEdge(true);\n boardSquares[6][14].setIcon(topSideBarrier);\n boardSquares[5][13].setRightEdge(true);\n boardSquares[5][13].setIcon(rightSideBarrier);\n boardSquares[5][14].setTargetSpace(\"greenStar\");\n boardSquares[5][14].sendIcon(greenStar);\n ///\n boardSquares[5][14].setSquareColour(\"green\");\n ///\n targetMap.put(\"greenStar\", greenStar);\n \n //Blue Square\n boardSquares[6][3].setIcon(blueSquare);\n boardSquares[6][3].setBottomEdge(true);\n boardSquares[6][3].setLeftEdge(true);\n boardSquares[7][3].setTopEdge(true);\n boardSquares[7][3].setIcon(topSideBarrier);\n boardSquares[6][2].setRightEdge(true);\n boardSquares[6][2].setIcon(rightSideBarrier);\n boardSquares[6][3].setTargetSpace(\"blueSquare\");\n boardSquares[6][3].sendIcon(blueSquare);\n ///\n boardSquares[6][3].setSquareColour(\"blue\");\n ///\n targetMap.put(\"blueSquare\", blueSquare);\n \n //Yellow Circle\n boardSquares[6][11].setIcon(yellowCircle);\n boardSquares[6][11].setTopEdge(true);\n boardSquares[6][11].setRightEdge(true);\n boardSquares[5][11].setBottomEdge(true);\n boardSquares[5][11].setIcon(bottomSideBarrier);\n boardSquares[6][12].setLeftEdge(true);\n boardSquares[6][12].setIcon(leftSideBarrier);\n boardSquares[6][11].setTargetSpace(\"yellowCircle\");\n boardSquares[6][11].sendIcon(yellowCircle);\n ///\n boardSquares[6][11].setSquareColour(\"yellow\");\n ///\n targetMap.put(\"yellowCircle\", yellowCircle);\n \n //Multivortex\n boardSquares[8][5].setIcon(multivortex);\n boardSquares[8][5].setTopEdge(true);\n boardSquares[8][5].setRightEdge(true);\n boardSquares[7][5].setBottomEdge(true);\n boardSquares[7][5].setIcon(bottomSideBarrier);\n boardSquares[8][6].setLeftEdge(true);\n boardSquares[8][6].setIcon(leftSideBarrier);\n boardSquares[8][5].setTargetSpace(\"multivortex\");\n boardSquares[8][5].sendIcon(multivortex);\n ///\n boardSquares[8][5].setSquareColour(\"multi\");\n ///\n targetMap.put(\"multivortex\", multivortex);\n \n //Blue Circle\n boardSquares[9][1].setIcon(blueCircle);\n boardSquares[9][1].setBottomEdge(true);\n boardSquares[9][1].setRightEdge(true);\n boardSquares[10][1].setTopEdge(true);\n boardSquares[10][1].setIcon(topSideBarrier);\n boardSquares[9][2].setLeftEdge(true);\n boardSquares[9][2].setIcon(leftSideBarrier);\n boardSquares[9][1].setTargetSpace(\"blueCircle\");\n boardSquares[9][1].sendIcon(blueCircle);\n ///\n boardSquares[9][1].setSquareColour(\"blue\");\n ///\n targetMap.put(\"blueCircle\", blueCircle);\n \n //Yellow Square\n boardSquares[9][14].setIcon(yellowSquare);\n boardSquares[9][14].setBottomEdge(true);\n boardSquares[9][14].setRightEdge(true);\n boardSquares[10][14].setTopEdge(true);\n boardSquares[10][14].setIcon(topSideBarrier);\n boardSquares[9][15].setLeftEdge(true);\n boardSquares[9][15].setIcon(leftSideBarrier);\n boardSquares[9][14].setTargetSpace(\"yellowSquare\");\n boardSquares[9][14].sendIcon(yellowSquare);\n ///\n boardSquares[9][14].setSquareColour(\"yellow\");\n ///\n targetMap.put(\"yellowSquare\", yellowSquare);\n \n //Green Square\n boardSquares[10][4].setIcon(greenSquare);\n boardSquares[10][4].setBottomEdge(true);\n boardSquares[10][4].setLeftEdge(true);\n boardSquares[11][4].setTopEdge(true);\n boardSquares[11][4].setIcon(topSideBarrier);\n boardSquares[10][3].setRightEdge(true);\n boardSquares[10][3].setIcon(rightSideBarrier);\n boardSquares[10][4].setTargetSpace(\"greenSquare\");\n boardSquares[10][4].sendIcon(greenSquare);\n ///\n boardSquares[10][4].setSquareColour(\"green\");\n ///\n targetMap.put(\"greenSquare\", greenSquare);\n \n //Red Triangle\n boardSquares[10][8].setIcon(redTriangle);\n boardSquares[10][8].setTopEdge(true);\n boardSquares[10][8].setRightEdge(true);\n boardSquares[9][8].setBottomEdge(true);\n boardSquares[9][8].setIcon(bottomSideBarrier);\n boardSquares[10][9].setLeftEdge(true);\n boardSquares[10][9].setIcon(leftSideBarrier);\n boardSquares[10][8].setTargetSpace(\"redTriangle\");\n boardSquares[10][8].sendIcon(redTriangle);\n ///\n boardSquares[10][8].setSquareColour(\"red\");\n ///\n targetMap.put(\"redTriangle\", redTriangle);\n \n //Green Circle\n boardSquares[11][13].setIcon(greenCircle);\n boardSquares[11][13].setBottomEdge(true);\n boardSquares[11][13].setLeftEdge(true);\n boardSquares[12][13].setTopEdge(true);\n boardSquares[12][13].setIcon(topSideBarrier);\n boardSquares[11][12].setRightEdge(true);\n boardSquares[11][12].setIcon(rightSideBarrier);\n boardSquares[11][13].setTargetSpace(\"greenCircle\");\n boardSquares[11][13].sendIcon(greenCircle);\n ///\n boardSquares[11][13].setSquareColour(\"green\");\n ///\n targetMap.put(\"greenCircle\", greenCircle);\n \n //Red Star\n boardSquares[13][5].setIcon(redStar);\n boardSquares[13][5].setTopEdge(true);\n boardSquares[13][5].setRightEdge(true);\n boardSquares[12][5].setBottomEdge(true);\n boardSquares[12][5].setIcon(bottomSideBarrier);\n boardSquares[13][6].setLeftEdge(true);\n boardSquares[13][6].setIcon(leftSideBarrier);\n boardSquares[13][5].setTargetSpace(\"redStar\");\n boardSquares[13][5].sendIcon(redStar);\n ///\n boardSquares[13][5].setSquareColour(\"red\");\n ///\n targetMap.put(\"redStar\", redStar);\n \n //Blue Star\n boardSquares[13][10].setIcon(blueStar);\n boardSquares[13][10].setTopEdge(true);\n boardSquares[13][10].setLeftEdge(true);\n boardSquares[12][10].setBottomEdge(true);\n boardSquares[12][10].setIcon(bottomSideBarrier);\n boardSquares[13][9].setRightEdge(true);\n boardSquares[13][9].setIcon(rightSideBarrier);\n boardSquares[13][10].setTargetSpace(\"blueStar\");\n boardSquares[13][10].sendIcon(blueStar);\n ///\n boardSquares[13][10].setSquareColour(\"blue\");\n ///\n targetMap.put(\"blueStar\", blueStar);\n \n //Yellow Triangle\n boardSquares[14][3].setIcon(yellowTriangle);\n boardSquares[14][3].setTopEdge(true);\n boardSquares[14][3].setLeftEdge(true);\n boardSquares[13][3].setBottomEdge(true);\n boardSquares[13][3].setIcon(bottomSideBarrier);\n boardSquares[14][2].setRightEdge(true);\n boardSquares[14][2].setIcon(rightSideBarrier);\n boardSquares[14][3].setTargetSpace(\"yellowTriangle\");\n boardSquares[14][3].sendIcon(yellowTriangle);\n ///\n boardSquares[14][3].setSquareColour(\"yellow\");\n ///\n targetMap.put(\"yellowTriangle\", yellowTriangle);\n }", "title": "" }, { "docid": "7b72ee0e47bc125acc2393e69ff3de1b", "score": "0.44362316", "text": "@Override\n protected <T extends DataObject> GarbageCollectionRunnable genGCTask(Class<T> clazz) {\n return new GlobalGCRunnable(dbClient, clazz, dependencyTracker, gcDelayMins, coordinator);\n }", "title": "" }, { "docid": "c833b52a7be426f970937d26aaadca32", "score": "0.44362012", "text": "public void runContainer(ExecutionContainer container) {\n\t\tString libDir = \"\";\n\t\ttry {\n\t\t\tlibDir = PASTAUtil.getTemplateResource(\"lib/\").getAbsolutePath();\n\t\t} catch (FileNotFoundException e) {\n\t\t\tlogger.error(\"Could not load lib directory for Docker container.\", e);\n\t\t}\n\t\t\n\t\tMap<String, String> labels = new HashMap<>();\n\t\tlabels.put(\"image\", container.getImageName());\n\t\t\n\t\tList<Bind> binds = new LinkedList<>();\n\t\t\n\t\tString hostSrc = toHostPath(container.getSrcLoc().getAbsolutePath());\n\t\tString hostOut = toHostPath(container.getOutLoc().getAbsolutePath());\n\t\tString hostLib = toHostPath(libDir);\n\t\t\n\t\tbinds.add(new Bind(hostSrc, new Volume(PASTA_SRC + \"/\")));\n\t\tbinds.add(new Bind(hostOut, new Volume(PASTA_OUT + \"/\")));\n\t\tbinds.add(new Bind(hostLib, new Volume(PASTA_LIB + \"/\")));\n\t\t\n\t\tif(container.getLanguage().getId().equals(\"matlab\")) {\n\t\t\tbinds.add(new Bind(WhichProgram.getInstance().path(\"matlab.install\"), new Volume(PASTA_BIN + \"/MATLAB/\")));\n\t\t}\n\t\t\n\t\ttry {\n\t\t\tCreateContainerCmd cmd = dockerClient\n\t\t\t\t\t.createContainerCmd(container.getImageName())\n\t\t\t\t\t.withName(container.getLabel())\n\t\t\t\t\t.withLabels(labels)\n\t\t\t\t\t.withTty(true)\n\t\t\t\t\t.withBinds(binds);\n\t\t\t\n\t\t\tString macKey = container.getLanguage().getId() + \".hardware-address\";\n\t\t\tString mac = LanguageManager.getInstance().getProperty(macKey);\n\t\t\tif(mac != null && !mac.isEmpty()) {\n\t\t\t\tcmd = cmd.withMacAddress(mac);\n\t\t\t}\n\t\t\t\n\t\t\tString portsKey = container.getLanguage().getId() + \".exposed-ports\";\n\t\t\tString ports = LanguageManager.getInstance().getProperty(portsKey);\n\t\t\tif(ports != null && !ports.isEmpty()) {\n\t\t\t\tcmd = cmd.withExposedPorts(parsePorts(ports));\n\t\t\t}\n\t\t\t\n\t\t\tCreateContainerResponse resp = cmd.exec();\n\t\t\tcontainer.setId(resp.getId());\n\t\t\t\n\t\t\tdockerClient\n\t\t\t.startContainerCmd(container.getId())\n\t\t\t.exec();\n\t\t\t\n\t\t\trunCommand(container, \"sh\", \"-c\", \"cp -rp \" + PASTA_SRC + \"/* .\");\n\t\t} catch (ConflictException e) {\n\t\t\tlogger.error(\"Container \" + container.getLabel() + \" already running.\");\n\t\t}\n\t}", "title": "" }, { "docid": "2f35afc8538149370e0e509be6440d82", "score": "0.4433783", "text": "public GenericContainerStill(T t, RetroImageRequest imageRequest){\n obj = t;\n this.imageRequest = imageRequest;\n }", "title": "" }, { "docid": "48a986b8f165f3aab5a0d2700a8d38c7", "score": "0.44318816", "text": "public TConTextureResourcePackBase(String name)\r\n/* 40: */ {\r\n/* 41: 39 */ this.name = name.toLowerCase();\r\n/* 42: 40 */ this.delegate = FMLClientHandler.instance().getResourcePackFor(\"TConstruct\");\r\n/* 43: */ }", "title": "" }, { "docid": "20ee453e2868008ee480320adc6fc781", "score": "0.44313464", "text": "private GraphGenerationAfcl() {}", "title": "" }, { "docid": "f6bab49775dc3bf7314bd83c4419741a", "score": "0.44277564", "text": "public TagModifyBuilder() {\r\n tagModify = new TagModify();\r\n }", "title": "" }, { "docid": "fbc13012b68cc4c795f1c3928dac85a9", "score": "0.44265285", "text": "@Test\n public void processChoiceWithNodeAndLeafList() {\n setUp();\n\n // As an application, creates the object.\n\n // Creates reproduce container for list predict-1.\n Reproduce reproduce1 = new DefaultReproduce();\n reproduce1.yangAutoPrefixCatch((short) 90);\n\n // Assigns predict-1 with the container.\n Predict predict1 = new DefaultPredict();\n predict1.reproduce(reproduce1);\n\n // Creates reproduce container for list predict-2.\n Reproduce reproduce2 = new DefaultReproduce();\n reproduce2.yangAutoPrefixCatch((short) 100);\n\n // Assigns predict-2 with the container.\n Predict predict2 = new DefaultPredict();\n predict2.reproduce(reproduce2);\n\n List<Predict> predictList = new ArrayList<>();\n predictList.add(predict1);\n predictList.add(predict2);\n\n // Case container is added to the choice content-test.\n ChoiceContainer containerCase = new DefaultChoiceContainer();\n containerCase.predict(predictList);\n // Case container is added to the choice content-test.\n org.onosproject.yang.gen.v1.ytbchoicewithcontainerandleaflist.rev20160826\n .ytbchoicewithcontainerandleaflist.contenttest\n .DefaultChoiceContainer contentTest =\n new org.onosproject.yang.gen.v1.ytbchoicewithcontainerandleaflist\n .rev20160826.ytbchoicewithcontainerandleaflist.contenttest\n .DefaultChoiceContainer();\n contentTest.choiceContainer(containerCase);\n\n // Creates string list for leaf-list final.\n List<String> stringList = new ArrayList<>();\n stringList.add(VAL);\n stringList.add(IND);\n\n // For choice current value, the leaf list gets added as case.\n DefaultYtbAbsent currentValue = new DefaultYtbAbsent();\n currentValue.yangAutoPrefixFinal(stringList);\n\n // Builds YANG tree in YTB.\n data = new DefaultModelObjectData.Builder();\n data.addModelObject(contentTest).addModelObject(currentValue);\n rscData = treeBuilder.getResourceData(data.build());\n\n nameSpace = \"yms:test:ytb:choice:with:container:and:leaf:list\";\n id = rscData.resourceId();\n keys = id.nodeKeys();\n assertThat(1, is(keys.size()));\n\n sid = keys.get(0).schemaId();\n assertThat(\"/\", is(sid.name()));\n assertThat(null, is(sid.namespace()));\n\n dataNodes = rscData.dataNodes();\n assertThat(3, is(dataNodes.size()));\n\n node = dataNodes.get(0);\n validateDataNode(node, \"choice-container\", nameSpace,\n SINGLE_INSTANCE_NODE,\n true, null);\n //Here only one instance of list will be added because config is\n // false. so there will be no difference in 2 instance of list node.\n Map<NodeKey, DataNode> child = ((InnerNode) node).childNodes();\n assertThat(1, is(child.size()));\n Iterator<Map.Entry<NodeKey, DataNode>> it = child.entrySet().iterator();\n\n Map.Entry<NodeKey, DataNode> n = it.next();\n validateDataNode(n.getValue(), \"predict\", nameSpace,\n MULTI_INSTANCE_NODE,\n true, null);\n child = ((InnerNode) n.getValue()).childNodes();\n assertThat(1, is(child.size()));\n\n it = child.entrySet().iterator();\n n = it.next();\n validateDataNode(n.getValue(), \"reproduce\", nameSpace,\n SINGLE_INSTANCE_NODE,\n true, null);\n\n child = ((InnerNode) n.getValue()).childNodes();\n assertThat(1, is(child.size()));\n\n it = child.entrySet().iterator();\n n = it.next();\n validateDataNode(n.getValue(), \"catch\", nameSpace,\n SINGLE_INSTANCE_LEAF_VALUE_NODE,\n true, \"100\");\n\n node = dataNodes.get(1);\n validateDataNode(node, \"final\", nameSpace,\n MULTI_INSTANCE_LEAF_VALUE_NODE,\n true, VAL);\n\n node = dataNodes.get(2);\n validateDataNode(node, \"final\", nameSpace,\n MULTI_INSTANCE_LEAF_VALUE_NODE,\n true, IND);\n }", "title": "" }, { "docid": "a8f6c54e20c1bab9a2dffac7b64b6576", "score": "0.44230413", "text": "public void build(Workspace workspace) {\n Set<String> loaded = new HashSet<String>();\n if (!preferredGroupOrdering.isEmpty()) {\n for (final String group : preferredGroupOrdering) {\n if (loaded.contains(group)) continue;\n\n for (ToolSet ts : toBeLoaded) {\n if (ts.getToolSetName().equals(group)) {\n loaded.add(group);\n workspace.addToolSet(ts);\n }\n }\n\n if (loaded.contains(group)) continue;\n\n if (toBeLoadedGroups.containsKey(group)) {\n loaded.add(group);\n\n final List<Tool> toBeRendered = new ArrayList<Tool>();\n for (ToolProvider provider : toBeLoadedGroups.get(group)) {\n Tool t = provider.getTool();\n if (t != null) {\n toBeRendered.add(t);\n }\n }\n\n if (!toBeRendered.isEmpty()) {\n ToolSet ts = new ToolSet() {\n public Tool[] getAllProvidedTools() {\n Tool[] toolArray = new Tool[toBeRendered.size()];\n toBeRendered.toArray(toolArray);\n return toolArray;\n }\n\n public String getToolSetName() {\n return group;\n }\n\n public Widget getWidget() {\n return null;\n }\n };\n\n workspace.addToolSet(ts);\n }\n }\n }\n }\n\n for (ToolSet ts : toBeLoaded) {\n if (loaded.contains(ts.getToolSetName())) continue;\n workspace.addToolSet(ts);\n }\n\n for (final String group : toBeLoadedGroups.keySet()) {\n if (loaded.contains(group)) continue;\n\n final List<Tool> toBeRendered = new ArrayList<Tool>();\n for (ToolProvider provider : toBeLoadedGroups.get(group)) {\n Tool t = provider.getTool();\n if (t != null) {\n toBeRendered.add(t);\n }\n }\n\n if (!toBeRendered.isEmpty()) {\n\n ToolSet ts = new ToolSet() {\n public Tool[] getAllProvidedTools() {\n Tool[] toolArray = new Tool[toBeRendered.size()];\n toBeRendered.toArray(toolArray);\n return toolArray;\n }\n\n public String getToolSetName() {\n return group;\n }\n\n public Widget getWidget() {\n return null;\n }\n };\n\n workspace.addToolSet(ts);\n }\n }\n\n }", "title": "" }, { "docid": "257aa3c6f47af81d622da06f978fb54f", "score": "0.44214725", "text": "@Test\n public void testEmptyAdd() {\n Coordinates coords = new Coordinates(\n new Angle(0, ARCSECS), new Angle(midDetector, ARCSECS)\n );\n\n SPTarget guideTarget = new SPTarget(coords.getRaDeg(), coords.getDecDeg());\n TargetEnvironment env = group.add(guideTarget, baseContext);\n\n // Adds an ODGW1 target by default.\n ImList<GuideProbeTargets> col = env.getOrCreatePrimaryGuideGroup().getAll();\n assertEquals(1, col.size());\n\n Option<GuideProbeTargets> gtOpt = env.getPrimaryGuideProbeTargets(GsaoiOdgw.odgw1);\n assertFalse(gtOpt.isEmpty());\n\n GuideProbeTargets gt = gtOpt.getValue();\n assertEquals(1, gt.getOptions().size());\n assertEquals(guideTarget, gt.getOptions().head());\n }", "title": "" } ]
1b544633c2886b0d8ef18c775c81cd06
/ renamed from: b
[ { "docid": "470c892bae4138d035aba8c1c6e0b20d", "score": "0.0", "text": "public final int mo108692b(boolean z) {\n return this.f116903b.mo108360r(z);\n }", "title": "" } ]
[ { "docid": "f10eeee19fb0098f7e0722f1f95196f5", "score": "0.63879395", "text": "A to(B b);", "title": "" }, { "docid": "ed31931c79d2c900e8a8ac9fee8189aa", "score": "0.63020164", "text": "protected void b(sa paramsa)\n/* */ {\n/* 47 */ a(a(paramsa));\n/* */ }", "title": "" }, { "docid": "da0c4ac2bb0ebbc548180f9ebaee4c39", "score": "0.6269306", "text": "@Override\n\tpublic void b() {\n\t\t\n\t}", "title": "" }, { "docid": "da0c4ac2bb0ebbc548180f9ebaee4c39", "score": "0.6269306", "text": "@Override\n\tpublic void b() {\n\t\t\n\t}", "title": "" }, { "docid": "da0c4ac2bb0ebbc548180f9ebaee4c39", "score": "0.6269306", "text": "@Override\n\tpublic void b() {\n\t\t\n\t}", "title": "" }, { "docid": "4be742ea3632261871da1c57f4ef0578", "score": "0.61302483", "text": "@Override\r\n\tpublic void b() {\n\t\t\r\n\t}", "title": "" }, { "docid": "aae648468da11e66ba47eb5f38de8014", "score": "0.60627127", "text": "B from(A a);", "title": "" }, { "docid": "7cbe44cca24a495c34660918fc6d84e6", "score": "0.6037736", "text": "public interface bza extends bzd {\n /* renamed from: b */\n void mo2561b(Activity activity);\n}", "title": "" }, { "docid": "d023199dcad175e7682fc1d29bc76e43", "score": "0.60129726", "text": "interface C0029b {\n /* renamed from: a */\n void mo23a(Fragment fragment, boolean z);\n\n /* renamed from: b */\n void mo24b(Fragment fragment, boolean z);\n }", "title": "" }, { "docid": "06f92d5c9203921b1fa9af0af8aca961", "score": "0.5992103", "text": "private static byte transformByte(byte b) {\n\t\treturn (byte) ((-1 * b) - 1);\n\t}", "title": "" }, { "docid": "75bf2cba2369b50ecc7465bcbe8fd8a8", "score": "0.59695125", "text": "private static class <init> extends <init>\n{\n\n protected void a(b b1, b b2)\n {\n super.a(b1, b2);\n b1 = a(b1.a);\n if (b1 != null)\n {\n b2.c(b1.toString());\n }\n }", "title": "" }, { "docid": "da78324d6b7a43bc8a3f075bfc16071c", "score": "0.5959989", "text": "public void a(bnn parambnn)\n/* */ {\n/* 296 */ this.b = parambnn;\n/* */ }", "title": "" }, { "docid": "658e2157a962e8e3911961071abbf52d", "score": "0.5928028", "text": "protected void func_70088_a() {}", "title": "" }, { "docid": "238ae3b927538f25d15420a80adab1a5", "score": "0.5918345", "text": "a(b out) {\n/* 89 */ this.c = out;\n/* */ }", "title": "" }, { "docid": "a12edca3c0efee2b24448e2574f3ac08", "score": "0.58824575", "text": "public interface C8082a {\n /* renamed from: a */\n void mo21171a(BasePanelViewHolder basePanelViewHolder, C8135b bVar);\n }", "title": "" }, { "docid": "cebabce909fddbf24a0d356c4f803aaa", "score": "0.58621997", "text": "public void a(bms parambms, List<bms> paramList, Random paramRandom)\r\n/* 32: */ {\r\n/* 33:1480 */ if (parambms != null) {\r\n/* 34:1481 */ ((bmh)parambms).b = this;\r\n/* 35: */ }\r\n/* 36: */ }", "title": "" }, { "docid": "32ef611ea86de6200f0ae08ad6fb955f", "score": "0.5858214", "text": "public interface C6376a {\n /* renamed from: a */\n String mo15283a(String str, byte[] bArr);\n }", "title": "" }, { "docid": "57a1aab9c16ae2b41f8562d9b3c4cb00", "score": "0.58578014", "text": "public void a(ayg ☃) {}\r\n/* */ \r\n/* */ \r\n/* */ public boolean u() {\r\n/* 185 */ return this.b.u();\r\n/* */ }", "title": "" }, { "docid": "5a1abedafe312d873283357f46b6a0a4", "score": "0.5820339", "text": "public interface b {\n }", "title": "" }, { "docid": "772bcad36761343018c5c8997bb20737", "score": "0.57546794", "text": "public Variable cB(Variable v);", "title": "" }, { "docid": "42b7f2d116da053c1c763f3ef04c21dd", "score": "0.57546276", "text": "public caw b()\r\n/* 57: */ {\r\n/* 58: 74 */ return a(this.i);\r\n/* 59: */ }", "title": "" }, { "docid": "06aed893717a6a7d9ae93dff91f1f61d", "score": "0.57200915", "text": "public abstract String mo1303b(bb bbVar);", "title": "" }, { "docid": "8290c6da61aafb090398bd53f58c012c", "score": "0.57197136", "text": "public interface b extends g<f>, a, com.bankeen.ui.preferences.alerts.daily.a.a {\n void a();\n\n void b();\n }", "title": "" }, { "docid": "128db383d6860920ceddc12e6d687cc9", "score": "0.57156146", "text": "interface C0006b {\n /* renamed from: a */\n void mo165a();\n\n /* renamed from: b */\n void mo166b();\n }", "title": "" }, { "docid": "6f54f7a3bb15a70335df552a11e4d44b", "score": "0.57021916", "text": "public void method_1871() {\n super.b();\n class_353.method_2299(this, true);\n }", "title": "" }, { "docid": "9805c87ab5b244efef8df652379c5ee4", "score": "0.5699473", "text": "public biq(bbi parambbi)\r\n/* 9: */ {\r\n/* 10:17 */ this.a = aty.H.P().a(bbh.a, parambbi);\r\n/* 11: */ }", "title": "" }, { "docid": "5631ea7b6c2591df2d8c10ec88ce67fb", "score": "0.56937665", "text": "public void b()\r\n/* 25: */ {\r\n/* 26: 40 */ this.a.init();\r\n/* 27: 41 */ super.b();\r\n/* 28: */ }", "title": "" }, { "docid": "b6d784afa9ac1e4472d2caa2c6208302", "score": "0.5647512", "text": "public interface C1027j {\n /* renamed from: a */\n bb m7398a();\n}", "title": "" }, { "docid": "744ac09907386b81c7ed7c0bc018b4b2", "score": "0.5642841", "text": "public TransportObjectB(String name, String code)\n {\n super(weight, name, code, type);\n }", "title": "" }, { "docid": "8411df9d4a44c0ba3b403175c54bf596", "score": "0.56415564", "text": "public abstract void a(bth bth, ServiceConnection serviceConnection);", "title": "" }, { "docid": "4763c0965f3d87aedb8023bfb33029d2", "score": "0.56330496", "text": "public interface C0594ca extends b<EditorChoiceFragment> {\n\n /* renamed from: c.c.a.h.b.ca$a */\n /* compiled from: FragmentModule_EditorChoiceFragment$app_bazaarRelease */\n public static abstract class a extends b.a<EditorChoiceFragment> {\n }\n}", "title": "" }, { "docid": "ce8c605716ed79e05776643c4d6cf111", "score": "0.56300116", "text": "public Residue<C>[] egcd(Residue<C> b) {\n throw new RuntimeException(\"egcd not implemented \" + this.getClass().getName());\n }", "title": "" }, { "docid": "ae082449770250dd0451e69edf8bd89d", "score": "0.5621877", "text": "public static Item b(int paramInt)\r\n/* 22: */ {\r\n/* 23: 56 */ return (Item)e.a(paramInt);\r\n/* 24: */ }", "title": "" }, { "docid": "747b1f7c071c9a624054526fb0e86919", "score": "0.5615625", "text": "public void b(T t) {\n }", "title": "" }, { "docid": "ac73351a1342175bf07535050c440f7f", "score": "0.5614457", "text": "public interface C0382a {\n /* renamed from: b */\n void mo884b(boolean z);\n }", "title": "" }, { "docid": "e53073f40db8ca2792fa26f8f7cc2c38", "score": "0.5599024", "text": "public interface C0049c {\n c a(b bVar);\n }", "title": "" }, { "docid": "1c6a9ca9ef19568ed1a2dc04f75c0669", "score": "0.55896056", "text": "public abstract void mo3155a(String str, String str2, byte b);", "title": "" }, { "docid": "1b29da759b5b4e4eb1ad5eeb65cb8189", "score": "0.5587971", "text": "public interface C1749d {\n /* renamed from: b */\n public static final int f5292b = -1;\n\n /* renamed from: a */\n int mo1631a(byte[] bArr);\n\n /* renamed from: a */\n void mo1632a();\n\n /* renamed from: b */\n void mo1634b();\n\n /* renamed from: c */\n void mo1635c();\n}", "title": "" }, { "docid": "70eb640ee192c311a336e2fdba6129bf", "score": "0.55870116", "text": "public a b() {\r\n return new a();\r\n }", "title": "" }, { "docid": "9c1d775053a25221f1c8d45048dab34e", "score": "0.55792975", "text": "public interface C4357yv {\n /* renamed from: a */\n byte[] mo16211a(byte[] bArr) throws GeneralSecurityException;\n}", "title": "" }, { "docid": "84ee1f6579fbd79882cffdcb647766b5", "score": "0.55762553", "text": "bb m7398a();", "title": "" }, { "docid": "14cd4c76dafe844d20ac9d3b7af22a20", "score": "0.55745566", "text": "public interface C9062f {\n /* renamed from: b */\n void mo32625b(PayResult payResult);\n}", "title": "" }, { "docid": "00ef36991d9c2221bb0f2d8196200020", "score": "0.5563203", "text": "public n b() {\n return a(this.a);\n }", "title": "" }, { "docid": "113e743365abbe72834a1eefb371e7c4", "score": "0.5549327", "text": "public void a(b bVar) {\n j.b();\n this.f9842c.remove(bVar.f9849a);\n if (bVar.f9850b) {\n E<?> e2 = bVar.f9851c;\n if (e2 != null) {\n y yVar = new y(e2, true, false);\n yVar.a(bVar.f9849a, this.f9843d);\n this.f9843d.a(bVar.f9849a, yVar);\n }\n }\n }", "title": "" }, { "docid": "96548277bba096cf9b076d4eb85556f3", "score": "0.5545148", "text": "public void a(adi ☃) {}\r\n/* */ \r\n/* */ \r\n/* */ public boolean y() {\r\n/* 217 */ return this.b.y();\r\n/* */ }", "title": "" }, { "docid": "40237b22c327d1f368202eb21dcbed04", "score": "0.55398697", "text": "public static <T> blm<T> b(blm<? super T>... ☃) {\r\n/* 34 */ return new c<>(a(☃));\r\n/* */ }", "title": "" }, { "docid": "7fdaa6e9c092ebc9a5eb3852bc5e2dc8", "score": "0.55394745", "text": "public interface C0383b {\n /* renamed from: a */\n void mo251a();\n }", "title": "" }, { "docid": "ec218d38b6556e220abee6d83e4f32e9", "score": "0.5536849", "text": "public String b() {\n }", "title": "" }, { "docid": "45716e9deb3c268478219ce1733a481b", "score": "0.5531568", "text": "h b(int i, int j)\n {\n class b {}\n\n return new b(i, j - i);\n }", "title": "" }, { "docid": "adbb997d79ae4a2bb87d3a4ffec5798e", "score": "0.553006", "text": "public interface boj extends boi {\n /* renamed from: a */\n void mo2224a(bsn bsn);\n\n /* renamed from: a */\n void mo2225a(bss bss);\n\n /* renamed from: a */\n void mo2226a(btp btp, Set set);\n\n /* renamed from: a */\n void mo2227a(String str, PrintWriter printWriter);\n\n /* renamed from: c */\n int mo2183c();\n\n /* renamed from: d */\n void mo2228d();\n\n /* renamed from: e */\n boolean mo2229e();\n\n /* renamed from: f */\n boolean mo2230f();\n\n /* renamed from: g */\n boolean mo2231g();\n\n /* renamed from: h */\n bnr[] mo2232h();\n\n /* renamed from: i */\n Set mo2233i();\n\n /* renamed from: j */\n void mo2234j();\n\n /* renamed from: k */\n void mo2235k();\n\n /* renamed from: l */\n void mo2236l();\n}", "title": "" }, { "docid": "661f879fc33480a6260343e82448d33a", "score": "0.5526336", "text": "public gy h() {\r\n/* 68 */ return this.b.h();\r\n/* */ }", "title": "" }, { "docid": "7aeb30de10ba711f5d1007510870b301", "score": "0.5514092", "text": "public interface b {\n boolean a(d.a.y.b bVar);\n\n boolean b(d.a.y.b bVar);\n\n boolean c(d.a.y.b bVar);\n}", "title": "" }, { "docid": "562b2750d691affb8c822107927ec988", "score": "0.5509033", "text": "public int b()\r\n/* 46: */ {\r\n/* 47:56 */ return this.a;\r\n/* 48: */ }", "title": "" }, { "docid": "322bb69489d1d56efdf5915990913655", "score": "0.5504638", "text": "private static void c(BlockType paramatr)\r\n/* 784: */ {\r\n/* 785:846 */ a(paramatr, new aju(paramatr));\r\n/* 786: */ }", "title": "" }, { "docid": "380a8257d861301ebfe7e3060a77da8f", "score": "0.5504012", "text": "public String a_() {\n/* 38 */ return b(null);\n/* */ }", "title": "" }, { "docid": "35ef19faa3b485ad8e00b5c0e7ccb2ac", "score": "0.5493104", "text": "public void setOriginalStrand(String b) {\n\t\tbases = b;\n\t\toriginalAcids = this.getAcids(bases);\n\t}", "title": "" }, { "docid": "ecd5a59374ec65796e401cd3aeea08b2", "score": "0.5485029", "text": "public TransportObjectB(TransportObject object)\n {\n super(weight, object.getName(), object.getHashCode(), object.getType());\n }", "title": "" }, { "docid": "6c4684b099437c53cb654cc15d4fba41", "score": "0.54799867", "text": "public m b() {\n return a(this.a, this.b);\n }", "title": "" }, { "docid": "d30aef886aaad5b97eeec7ed37dbeceb", "score": "0.54765683", "text": "public void b() {\n super.b();\n this.n = null;\n }", "title": "" }, { "docid": "b05e7071be87da927d57ca814bcdab59", "score": "0.5475401", "text": "@Override\n public T b(com.google.a.d.a a2) throws IOException {\n if (a2.f() == com.google.a.d.b.i) {\n a2.j();\n return null;\n }\n T t2 = this.a.a();\n try {\n a2.c();\n while (a2.e()) {\n String string = a2.g();\n b b2 = (b)this.b.get((Object)string);\n if (b2 == null || !b2.i) {\n a2.n();\n continue;\n }\n b2.a(a2, t2);\n }\n }\n catch (IllegalStateException var4_5) {\n throw new t((Throwable)var4_5);\n }\n catch (IllegalAccessException var3_6) {\n throw new AssertionError((Object)var3_6);\n }\n a2.d();\n return t2;\n }", "title": "" }, { "docid": "1e343b0f5a9181d3baa5e3ff8195783e", "score": "0.54699564", "text": "public a b() {\n return new a();\n }", "title": "" }, { "docid": "17cbb9c9426839e674480c50d4ae5d4e", "score": "0.5457635", "text": "public void b(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6)\r\n/* 41: */ {\r\n/* 42: 54 */ this.a.blit(paramInt1, paramInt2, paramInt3, paramInt4, paramInt5, paramInt6);\r\n/* 43: 55 */ super.b(paramInt1, paramInt2, paramInt3, paramInt4, paramInt5, paramInt6);\r\n/* 44: */ }", "title": "" }, { "docid": "ba0bfd7602a6ec53880c80bee6eb4793", "score": "0.54551303", "text": "public interface C14088g {\n /* renamed from: a */\n void mo26415a(byte[] bArr, long j, int i, int i2, int i3, int i4);\n\n void bSo();\n}", "title": "" }, { "docid": "1abda18cf77f48c1e6b8f5634bfcf8ea", "score": "0.54517704", "text": "public abstract int mo1290a(bb bbVar);", "title": "" }, { "docid": "db40a6fef34d0e8674a1f2b4a504fdb4", "score": "0.54462796", "text": "@Test\n public void compNotRefinesB() {\n assertFalse(new Refinement(new Composition(new TransitionSystem[]{a, aa}), b).check());\n }", "title": "" }, { "docid": "f9610e7d11919b7b7548ddd1bd80474e", "score": "0.5445199", "text": "public interface C6762f {\n /* renamed from: a */\n boolean mo27014a(String str);\n\n /* renamed from: b */\n String mo27015b(String str);\n\n /* renamed from: b */\n Iterator<String> mo27016b();\n\n byte[] getContent();\n}", "title": "" }, { "docid": "6b3c46f6fffdd76d172c711400b3d7f6", "score": "0.544048", "text": "public void b(World paramaqu, Random paramRandom, BlockPosition paramdt, Block parambec)\r\n/* 224: */ {\r\n/* 225:238 */ a(paramaqu, paramdt, new ItemStack(this, 1, e(paramaqu, paramdt).a()));\r\n/* 226: */ }", "title": "" }, { "docid": "2a2c0209fc17b01d362a18ca64e19f0b", "score": "0.54347414", "text": "public interface C43223h {\n /* renamed from: b */\n String mo104951b(String str);\n}", "title": "" }, { "docid": "162b30742b7e25a62f056431ade869b0", "score": "0.5433485", "text": "public interface C39030a {\n /* renamed from: a */\n void mo35963a(byte[][] bArr, int i, int i2);\n }", "title": "" }, { "docid": "b284337d54cf96a5e0154b3070820860", "score": "0.5430163", "text": "@Override\n\tpublic void process(Type b) {\n\t\t\n\t}", "title": "" }, { "docid": "f845d943e049c3a2d3e3cb2ca4619ef3", "score": "0.542776", "text": "public String b()\r\n/* 22: */ {\r\n/* 23:82 */ return this.i;\r\n/* 24: */ }", "title": "" }, { "docid": "dfec21d6afb8da2c64ff233beb2708b1", "score": "0.5418292", "text": "void mehtod4(List<? super B> list) {\n }", "title": "" }, { "docid": "c9696e4c97aefc9b28c8063dcedc3cd9", "score": "0.54182875", "text": "public static void changeA (int b) {\r\n Car c = new Car(\"red\", \"V8\");\r\n c.a = b;\r\n }", "title": "" }, { "docid": "0f5ffed4c4b91d2bb9ada818ffa02936", "score": "0.53957516", "text": "public bur(bvb parambvb, int paramInt1, int paramInt2, int paramInt3, String paramString, boolean paramBoolean)\r\n/* 9: */ {\r\n/* 10:12 */ super(paramInt1, paramInt2, paramInt3, 150, 20, \"\");\r\n/* 11:13 */ this.p = paramString;\r\n/* 12:14 */ this.o = paramBoolean;\r\n/* 13:15 */ this.j = c();\r\n/* 14:16 */ this.q = parambvb;\r\n/* 15: */ }", "title": "" }, { "docid": "f6c03921d0e5e42a5fd9cc002ef6efc0", "score": "0.53859365", "text": "@Override\n\tpublic String toString(){\n\t\treturn a + \" to \" + b;\n\t}", "title": "" }, { "docid": "5447392906ccafa0baf06dee894b8ab4", "score": "0.53809375", "text": "public interface b {\n\n /* compiled from: AnalyticsListener */\n public static final class a {\n\n /* renamed from: a reason: collision with root package name */\n public final long f7370a;\n\n /* renamed from: b reason: collision with root package name */\n public final Z f7371b;\n\n /* renamed from: c reason: collision with root package name */\n public final int f7372c;\n\n /* renamed from: d reason: collision with root package name */\n public final v.a f7373d;\n\n /* renamed from: e reason: collision with root package name */\n public final long f7374e;\n\n /* renamed from: f reason: collision with root package name */\n public final long f7375f;\n\n /* renamed from: g reason: collision with root package name */\n public final long f7376g;\n\n public a(long j2, Z z, int i2, v.a aVar, long j3, long j4, long j5) {\n this.f7370a = j2;\n this.f7371b = z;\n this.f7372c = i2;\n this.f7373d = aVar;\n this.f7374e = j3;\n this.f7375f = j4;\n this.f7376g = j5;\n }\n }\n\n void a(a aVar);\n\n void a(a aVar, int i2);\n\n void a(a aVar, int i2, int i3);\n\n void a(a aVar, int i2, int i3, int i4, float f2);\n\n void a(a aVar, int i2, long j2);\n\n void a(a aVar, int i2, long j2, long j3);\n\n void a(a aVar, int i2, e eVar);\n\n void a(a aVar, int i2, Format format);\n\n void a(a aVar, int i2, String str, long j2);\n\n void a(a aVar, Surface surface);\n\n void a(a aVar, K k2);\n\n void a(a aVar, w.b bVar, w.c cVar);\n\n void a(a aVar, w.b bVar, w.c cVar, IOException iOException, boolean z);\n\n void a(a aVar, w.c cVar);\n\n void a(a aVar, ExoPlaybackException exoPlaybackException);\n\n void a(a aVar, Metadata metadata);\n\n void a(a aVar, TrackGroupArray trackGroupArray, o oVar);\n\n void a(a aVar, Exception exc);\n\n void a(a aVar, boolean z);\n\n void a(a aVar, boolean z, int i2);\n\n void b(a aVar);\n\n void b(a aVar, int i2);\n\n void b(a aVar, int i2, long j2, long j3);\n\n void b(a aVar, int i2, e eVar);\n\n void b(a aVar, w.b bVar, w.c cVar);\n\n void b(a aVar, w.c cVar);\n\n void b(a aVar, boolean z);\n\n void c(a aVar);\n\n void c(a aVar, int i2);\n\n void c(a aVar, w.b bVar, w.c cVar);\n\n void d(a aVar);\n\n void d(a aVar, int i2);\n\n void e(a aVar);\n\n void f(a aVar);\n\n void g(a aVar);\n\n void h(a aVar);\n\n void i(a aVar);\n}", "title": "" }, { "docid": "5d259e9a9ed31ac29902b25db191acd1", "score": "0.53799117", "text": "@Override\n\tpublic void bewegen() {\n\t\t\n\t}", "title": "" }, { "docid": "32609437aec2038aa5e9b1be81b1f879", "score": "0.53788596", "text": "public interface C6027a {\n /* renamed from: a */\n void mo13161a(C6024b bVar, C6023a aVar, C6025c cVar);\n }", "title": "" }, { "docid": "8c703fafc30a3b60d540a72dd2023e56", "score": "0.53764886", "text": "public static void main(String args[])\r\n{\r\n\r\nA a1=new A();\r\nB b2=(B)a1;\r\n\r\n}", "title": "" }, { "docid": "3d0a129fe8428e9bcda40ec1dd13317a", "score": "0.53728455", "text": "public abstract void b(ewx ewx);", "title": "" }, { "docid": "e8e8967a9b5cd09af53cbcf6f6e9fae6", "score": "0.5370867", "text": "private BlockType e()\r\n/* 37: */ {\r\n/* 38:49 */ return this.b.getType();\r\n/* 39: */ }", "title": "" }, { "docid": "471d3d80d00c33ecf369807d75d0d8d7", "score": "0.5367537", "text": "private static String swapInplace(int a, int b) {\n\t\t\n\t\ta = b^a;\n\t\tb = b^a;\n\t\ta = a|b;\n\t\t\n\t\t\n\t\treturn \"a=\"+ a + \" b=\" + b;\n\t}", "title": "" }, { "docid": "ed8278d1a25e61a182dbc30feb8da45c", "score": "0.53639895", "text": "private void fixAdobeReaderBug(Body b){\n\t\tString copyFile = \"<com.adobe.libs.buildingblocks.utils.BBFileUtils: java.lang.String \" +\n\t\t\t\t\"copyFileFromRawResourcesToStorage(android.content.Context,java.lang.String,int,java.lang.String)>\";\n\t\tif(!b.getMethod().getSignature().equals(copyFile)){\n\t\t\treturn;\n\t\t}\n\t\tChain<Local> locals = b.getLocals();\n\t\tLocal leftLocal = null;\n\t\tLocal rightLocal = null;\n\t\tfor(Local l:locals){\n\t\t\tif(l.getName().equals(\"$r9\")){\n\t\t\t\tif(l.getType().equals(Constants.string_Type)){\n\t\t\t\t\tl.setType(Constants.file_Type);\n\t\t\t\t\tleftLocal = l;\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(l.getName().equals(\"r22\")){\n\t\t\t\tif(l.getType().equals(Constants.file_Type)){\n\t\t\t\t\trightLocal = l;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfinal AssignStmt replace = Jimple.v().newAssignStmt(leftLocal, Jimple.v().newCastExpr(rightLocal, Constants.file_Type));\n\t\tfinal PatchingChain<Unit> units = b.getUnits();\n\t\tfor(Iterator<Unit> iter = units.snapshotIterator(); iter.hasNext();) {\n\t\t\tfinal Unit u = iter.next();\n\t\t\tu.apply(new AbstractStmtSwitch() {\n\t\t\t\t@Override\t\t\t\n\t\t\t\tpublic void caseAssignStmt(AssignStmt stmt) {\n\t\t\t\t\tAssignStmt as = (AssignStmt)stmt;\n\t\t\t\t\tValue leftOp = as.getLeftOp();\n\t\t\t\t\tValue rightOp = as.getRightOp();\n\t\t\t\t\t\n\t\t\t\t\tif(rightOp instanceof CastExpr&&leftOp instanceof Local){\n\t\t\t\t\t\tLocal leftLocal = (Local)leftOp;\n\t\t\t\t\t\tCastExpr castExpr = (CastExpr)rightOp;\n\t\t\t\t\t\tValue v = castExpr.getOp();\n\t\t\t\t\t\tRefType type = (RefType)castExpr.getCastType();\n\t\t\t\t\t\tif(type.equals(Constants.string_Type)&&v instanceof Local){\n\t\t\t\t\t\t\tLocal local = (Local)v;\n\t\t\t\t\t\t\tif(local.getName().equals(\"r22\")&&leftLocal.getName().equals(\"$r9\")){\n\t\t\t\t\t\t\t\tunits.insertBefore(replace, u);\n\t\t\t\t\t\t\t\tunits.remove(u);\n\t\t\t\t\t\t\t\tG.v().out.println(\"532: \"+stmt);\n\t\t\t\t\t\t\t}\n\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\t}", "title": "" }, { "docid": "d8f690ac050efe12e72b5d9365ae4c9d", "score": "0.53636074", "text": "void mo2224a(bsn bsn);", "title": "" }, { "docid": "12036434bf6796bb5cb2874c5667f87a", "score": "0.5363022", "text": "protected void b(NBTTagCompound paramfn)\r\n/* 26: */ {\r\n/* 27:1474 */ super.b(paramfn);\r\n/* 28:1475 */ this.a = paramfn.getBoolean(\"Mob\");\r\n/* 29: */ }", "title": "" }, { "docid": "ef6832c9ac8897a8c1806ad05df63d48", "score": "0.53620183", "text": "public void b(String var0) {\n/* 228 */ this.metadata = var0;\n/* */ }", "title": "" }, { "docid": "6bb82b473a9f707f03cb5cb6b11957bb", "score": "0.53569627", "text": "interface C46974a {\n /* renamed from: a */\n void mo118130a();\n }", "title": "" }, { "docid": "6ad00a2c8bcc7eace0a6f5e813c6a5c0", "score": "0.53568697", "text": "public interface a<T, R> extends e.a<R>, b<T, R> {\n }", "title": "" }, { "docid": "6ede3bb56c8da24f8ba0a3ccc50b9f20", "score": "0.53548163", "text": "public interface C22573a {\n /* renamed from: a */\n void mo59222a(C37723b bVar, boolean z);\n\n /* renamed from: a */\n void mo59223a(Exception exc);\n }", "title": "" }, { "docid": "4e6a75296e170c4f7ef9da4ffbf823af", "score": "0.53528804", "text": "public interface C0921a {\n /* renamed from: a */\n void mo866a();\n }", "title": "" }, { "docid": "a4b92938a865a4ba3f887dca9d926d19", "score": "0.53387415", "text": "public void mo23792b() {\n }", "title": "" }, { "docid": "87263d248094a3445960fded80d1e7cd", "score": "0.53271306", "text": "public A doBackward(B b) {\n return convert(this.bimap.inverse(), b);\n }", "title": "" }, { "docid": "926ba2d2864a68258800f6864e6bd8e2", "score": "0.5324452", "text": "protected void a(dz paramdz)\r\n/* 28: */ {\r\n/* 29:332 */ if (this.b) {\r\n/* 30:333 */ paramdz.i().b(1000, paramdz.d(), 0);\r\n/* 31: */ } else {\r\n/* 32:335 */ paramdz.i().b(1001, paramdz.d(), 0);\r\n/* 33: */ }\r\n/* 34: */ }", "title": "" }, { "docid": "64437b76ce982ed54875ba0f4f4c39c8", "score": "0.5324087", "text": "public void setB(Coordinate b) {\n\t\tthis.b = b;\n\t}", "title": "" }, { "docid": "b6504bd04446b710d8861cbe2453845f", "score": "0.53222096", "text": "public interface C5011c {\n /* renamed from: b */\n void mo4564b(String str, Throwable th);\n }", "title": "" }, { "docid": "419cbf80ee60c4b42449a40b4ce6a6f5", "score": "0.5321218", "text": "@Override\n public final void b(boolean bl2) {\n int n = bl2 ? 4 : 0;\n this.a(n, 4);\n }", "title": "" }, { "docid": "aeb3364b7dfbe7171119296df04cc207", "score": "0.53200674", "text": "public interface C18914b {\n /* renamed from: a */\n C18909a mo50290a();\n}", "title": "" }, { "docid": "e1eabd743dd7cb2921a552c1bc16ff58", "score": "0.53186834", "text": "private interface C2120g {\n /* renamed from: a */\n void mo1518a();\n\n /* renamed from: b */\n void mo1519b();\n }", "title": "" }, { "docid": "b7df55c4609ba45546edc4d52b7461e2", "score": "0.5318481", "text": "public interface b extends e {\n\n /* compiled from: CoroutineContext.kt */\n public static final class a {\n public static <E extends b> E a(b bVar, c<E> cVar) {\n j.b(cVar, \"key\");\n if (!j.a((Object) bVar.getKey(), (Object) cVar)) {\n return null;\n }\n if (bVar != null) {\n return bVar;\n }\n throw new TypeCastException(\"null cannot be cast to non-null type E\");\n }\n\n public static e a(b bVar, e eVar) {\n j.b(eVar, \"context\");\n return a.a(bVar, eVar);\n }\n\n public static e b(b bVar, c<?> cVar) {\n j.b(cVar, \"key\");\n return j.a((Object) bVar.getKey(), (Object) cVar) ? EmptyCoroutineContext.f15784a : bVar;\n }\n\n public static <R> R a(b bVar, R r, h.f.a.c<? super R, ? super b, ? extends R> cVar) {\n j.b(cVar, \"operation\");\n return cVar.b(r, bVar);\n }\n }\n\n <E extends b> E get(c<E> cVar);\n\n c<?> getKey();\n }", "title": "" }, { "docid": "e57fb23ece079a7440673f5511d87dad", "score": "0.53145474", "text": "@Override\r\n\t\t\tpublic void set(Base b) {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "7b5248784db65954bf4f0f01aa59b67e", "score": "0.5313573", "text": "public k b() {\n return a(this.a, this.b);\n }", "title": "" } ]
cc6a544546fe0ad93061d09432391037
Avoid override when use setOnScrollListener
[ { "docid": "cde0b23840b399cf2071bc019800848f", "score": "0.7833081", "text": "@Override\n public void onScrollStateChanged(AbsListView view, int scrollState) {\n if (mOnScrollListener != null) {\n mOnScrollListener.onScrollStateChanged(view, scrollState);\n }\n }", "title": "" } ]
[ { "docid": "d77ff42e1ac0e94a8c1738891e7b7abc", "score": "0.86333126", "text": "@Override\r\n\t\tpublic void onScroll() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "0b5b44026a6623efa13914a861f5f762", "score": "0.84358513", "text": "@Override\nprotected void applyScrollListener() {\n\t\n}", "title": "" }, { "docid": "862d5d2f6958e2ce343e480c642f3442", "score": "0.83996207", "text": "@Override\n\tpublic void onScrollChanged() {\n\t}", "title": "" }, { "docid": "751c77cefee096723ad793df9e133849", "score": "0.8136019", "text": "@Override\r\n public void onScrollChanged(int l, int t, int oldl, int oldt) {\n\r\n }", "title": "" }, { "docid": "b81bdbef25dfe71a3e1938288833ea85", "score": "0.80191433", "text": "public void onScrollStarted();", "title": "" }, { "docid": "e2db8dafbc365284d306b5fa8c897eb9", "score": "0.796341", "text": "public interface ScrollViewListener {\n void onScrollChanged(MyScrollView context, int x, int y, int oldx, int oldy);\n}", "title": "" }, { "docid": "aaa1a10c9c80fc37eb9dec88068d056a", "score": "0.7915554", "text": "public interface ScrollViewListener {\n void onScrollChanged(ScrollViewExt scrollView,\n int x, int y, int oldx, int oldy);\n}", "title": "" }, { "docid": "1e26f7a3af6e1a660576db00aa483357", "score": "0.7849633", "text": "@Override\n\tpublic void onScrollStateChanged(AbsListView arg0, int arg1) {\n\n\t}", "title": "" }, { "docid": "39c179edac397a904922c5710b86ac70", "score": "0.7836892", "text": "@Override\n\tpublic void onScroll(AbsListView arg0, int arg1, int arg2, int arg3) {\n\t\t\n\t}", "title": "" }, { "docid": "b94084e70c3d700295cd18dbf56c16f8", "score": "0.7791638", "text": "public interface OnScrollListener {\n public void onScroll(int scrollDistance);\n}", "title": "" }, { "docid": "fb3733ce8ec4463428ccd29fd1dd6c59", "score": "0.77891046", "text": "void onScrollChange(View v, int scrollX, int scrollY, int oldScrollX, int oldScrollY);", "title": "" }, { "docid": "e850baa775d9652fcb325995f8776fa8", "score": "0.77883434", "text": "@Override\n\t\t\t\tpublic void onScrollStateChanged(AbsListView view,\n\t\t\t\t\t\tint scrollState) {\n\n\t\t\t\t}", "title": "" }, { "docid": "08b19a9df0c9f99b9a3950d2af31212d", "score": "0.7788097", "text": "@Override\n\t\tpublic void onScroll(AbsListView arg0, int arg1, int arg2, int arg3) {\n\n\t\t}", "title": "" }, { "docid": "ae78f1dc43b03f123f13a452f3661782", "score": "0.7783807", "text": "@Override\n\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\n\t}", "title": "" }, { "docid": "63c75f653f65f1c2a11cdf659bcc35cb", "score": "0.7774128", "text": "@Override\n\t\t\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\n\n\t\t\t}", "title": "" }, { "docid": "63c75f653f65f1c2a11cdf659bcc35cb", "score": "0.7774128", "text": "@Override\n\t\t\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\n\n\t\t\t}", "title": "" }, { "docid": "63c75f653f65f1c2a11cdf659bcc35cb", "score": "0.7774128", "text": "@Override\n\t\t\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\n\n\t\t\t}", "title": "" }, { "docid": "0d0d2096401cb0b47228485d4a856e3b", "score": "0.7768989", "text": "@Override\r\n\t\t\tpublic void onScroll(AbsListView arg0, int arg1, int arg2, int arg3) {\n\r\n\t\t\t}", "title": "" }, { "docid": "3a7898c0fa76584f02dba32f85c61bac", "score": "0.7748876", "text": "@Override\n public void onScroll(AbsListView view, int firstVisibleItem,\n int visibleItemCount, int totalItemCount) {\n }", "title": "" }, { "docid": "3a7898c0fa76584f02dba32f85c61bac", "score": "0.7748876", "text": "@Override\n public void onScroll(AbsListView view, int firstVisibleItem,\n int visibleItemCount, int totalItemCount) {\n }", "title": "" }, { "docid": "8c90d5aecaa32ab86e109caf4e0ce61e", "score": "0.7747278", "text": "@Override\n\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\n\t\t\n\t}", "title": "" }, { "docid": "8c90d5aecaa32ab86e109caf4e0ce61e", "score": "0.7747278", "text": "@Override\n\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\n\t\t\n\t}", "title": "" }, { "docid": "8c90d5aecaa32ab86e109caf4e0ce61e", "score": "0.7747278", "text": "@Override\n\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\n\t\t\n\t}", "title": "" }, { "docid": "8c90d5aecaa32ab86e109caf4e0ce61e", "score": "0.7747278", "text": "@Override\n\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\n\t\t\n\t}", "title": "" }, { "docid": "8c90d5aecaa32ab86e109caf4e0ce61e", "score": "0.7747278", "text": "@Override\n\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\n\t\t\n\t}", "title": "" }, { "docid": "8a314f737708722c73bf1991805b7d06", "score": "0.7741656", "text": "@Override\n public void onScrollStateChanged(AbsListView view, int scrollState) {\n }", "title": "" }, { "docid": "6cea830e7549a025aa26b1ee4eb1c12f", "score": "0.77391213", "text": "@Override\r\n\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\n\t\t\r\n\t}", "title": "" }, { "docid": "a9fccb93a6b079d2f2a41f1359d68770", "score": "0.7738768", "text": "@Override\n\tpublic void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {\n\t\t\n\t}", "title": "" }, { "docid": "0bc4f44e158247ecb2a2f05eb40e50c8", "score": "0.77315193", "text": "@Override\n\t\t\tpublic void onScroll(AbsListView view, int firstVisibleItem,\n\t\t\t\t\tint visibleItemCount, int totalItemCount) {\n\t\t\t}", "title": "" }, { "docid": "0bc4f44e158247ecb2a2f05eb40e50c8", "score": "0.77315193", "text": "@Override\n\t\t\tpublic void onScroll(AbsListView view, int firstVisibleItem,\n\t\t\t\t\tint visibleItemCount, int totalItemCount) {\n\t\t\t}", "title": "" }, { "docid": "ca479af1839a467492c22c270ac51203", "score": "0.77289075", "text": "@Override\n public void onScrollStateChanged(AbsListView view, int scrollState) {\n }", "title": "" }, { "docid": "ca479af1839a467492c22c270ac51203", "score": "0.77289075", "text": "@Override\n public void onScrollStateChanged(AbsListView view, int scrollState) {\n }", "title": "" }, { "docid": "ca479af1839a467492c22c270ac51203", "score": "0.77289075", "text": "@Override\n public void onScrollStateChanged(AbsListView view, int scrollState) {\n }", "title": "" }, { "docid": "c0369cd5d193bf3a31b9202ba0d5b4cc", "score": "0.77237576", "text": "@Override\r\n\t\tpublic void onScroll(AbsListView view, int firstVisibleItem,\r\n\t\t\t\tint visibleItemCount, int totalItemCount) {\n\r\n\t\t}", "title": "" }, { "docid": "70807dcb2ffd4543ac73b4bfb9939498", "score": "0.772013", "text": "public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {\n\t\t }", "title": "" }, { "docid": "90eda62464fe4d89048faf1c5c602d01", "score": "0.7710024", "text": "@Override\n\t\t\t\tpublic void onScroll(AbsListView view, int firstVisibleItem,\n\t\t\t\t\t\tint visibleItemCount, int totalItemCount) {\n\n\t\t\t\t}", "title": "" }, { "docid": "3e29ee64d481dc5ad05140456fee5335", "score": "0.7705119", "text": "@Override\r\n\tpublic void onScroll(AbsListView view, int firstVisibleItem,\r\n\t\t\tint visibleItemCount, int totalItemCount) {\n\t\t\r\n\t}", "title": "" }, { "docid": "9b088f74aee08df6780dc5df065716ca", "score": "0.7704368", "text": "@Override\n\tpublic void onScroll(AbsListView view, int firstVisibleItem,\n\t\t\tint visibleItemCount, int totalItemCount) {\n\t\t\n\t}", "title": "" }, { "docid": "9b088f74aee08df6780dc5df065716ca", "score": "0.7704368", "text": "@Override\n\tpublic void onScroll(AbsListView view, int firstVisibleItem,\n\t\t\tint visibleItemCount, int totalItemCount) {\n\t\t\n\t}", "title": "" }, { "docid": "9b088f74aee08df6780dc5df065716ca", "score": "0.7704368", "text": "@Override\n\tpublic void onScroll(AbsListView view, int firstVisibleItem,\n\t\t\tint visibleItemCount, int totalItemCount) {\n\t\t\n\t}", "title": "" }, { "docid": "3b59f83226cab31733440f70afee68ff", "score": "0.7701807", "text": "public interface OnScrolledListener {\n void scroll(int y);\n}", "title": "" }, { "docid": "dda21c3e9a85e668da60a8c53de46523", "score": "0.7686635", "text": "void onScrollChange(int scrollY, int oldScrollY);", "title": "" }, { "docid": "cbd64eed08086cd9082fe2fd323a52ef", "score": "0.7678306", "text": "@Override\r\n public void onScrollStateChanged(AbsListView view, int scrollState) {\n \r\n }", "title": "" }, { "docid": "8ba530f2c5d739c4e4d6750675034b03", "score": "0.7670431", "text": "@Override\n\tpublic void onScroll(AbsListView view, int firstVisibleItem,\n\t\t\tint visibleItemCount, int totalItemCount) {\n\n\t}", "title": "" }, { "docid": "724fb531e21713e9153c9f51c38bfa35", "score": "0.7668093", "text": "public void onScrollEnded();", "title": "" }, { "docid": "dc7566ddb58bc1897a77d940adc976b4", "score": "0.7664865", "text": "@Override\n\tpublic void onScrollChanged(int top, int oldTop) {\n\t\t\n\t}", "title": "" }, { "docid": "ddb117a24eb17a50009dfa9cfc6c4ad2", "score": "0.7649211", "text": "@Override\n public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {\n\n }", "title": "" }, { "docid": "5b9fc3089e6895e2e39d723a564eedaa", "score": "0.76465106", "text": "@Override\r\n\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\n\r\n\t}", "title": "" }, { "docid": "a09232a301dd6416c8dcf38b926c2ef0", "score": "0.7638553", "text": "@Override\n\t\t\tpublic void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {\n\n\t\t\t}", "title": "" }, { "docid": "a09232a301dd6416c8dcf38b926c2ef0", "score": "0.7638553", "text": "@Override\n\t\t\tpublic void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {\n\n\t\t\t}", "title": "" }, { "docid": "dc9a8c74157db9dce580cee86a88bdf7", "score": "0.7633412", "text": "@Override\r\n\t\t\tpublic void onScroll(AbsListView view, int firstVisibleItem,\r\n\t\t\t\t\tint visibleItemCount, int totalItemCount)\r\n\t\t\t{\n\r\n\t\t\t}", "title": "" }, { "docid": "751b91116d10bf6b1cba138788fd8d99", "score": "0.76221836", "text": "@Override\r\n\tpublic void onScroll(float progress, float scrollXProgress) {\n\r\n\t}", "title": "" }, { "docid": "7b5b8ff0f8dd94a8b5710c1aa0b70af4", "score": "0.7620962", "text": "public void onScrollStateChanged(AbsListView view, int scrollState) {\n \n \t}", "title": "" }, { "docid": "251aee47c64de83e67718645b6548456", "score": "0.7595475", "text": "@Override\r\n\tpublic boolean onScroll(MotionEvent arg0, MotionEvent arg1, float arg2,\r\n\t\t\tfloat arg3) {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "c2e382f2e9876c9d9041ee6611ced472", "score": "0.7563674", "text": "@Override\n\tpublic boolean onScroll(MotionEvent arg0, MotionEvent arg1, float arg2,\n\t\t\tfloat arg3) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "0c47be9d6e0fa40b4074e1e40c49a23d", "score": "0.75612223", "text": "@Override\npublic void onScroll(AbsListView arg0, int arg1, int arg2, int arg3) {\n\t\n}", "title": "" }, { "docid": "b2f909a4858f8dcaebe928489f9ec0f3", "score": "0.7556109", "text": "@Override\n public void onScrollStateChanged(AbsListView view, int scrollState) {\n\n }", "title": "" }, { "docid": "26def79823ffc244011050d85fda4f0c", "score": "0.75427306", "text": "@Override\n\tpublic void handleScroll(ScrollEvent event) {\n\t}", "title": "" }, { "docid": "b7d5b2cd9178677ba2b6b77eeab669e5", "score": "0.75209975", "text": "boolean onScroll(int index, int dy, int scrollY);", "title": "" }, { "docid": "45e5f56d44d82d3edf53b35acaddd545", "score": "0.7478818", "text": "public final void setOnScrollListener(OnScrollListener l) {\n\t\tmScrollListener = l;\n\t}", "title": "" }, { "docid": "6f82b888269b946deefef17ae86a4e69", "score": "0.7446626", "text": "@Override\npublic void onScrollStateChanged(AbsListView arg0, int arg1) {\n\t\n}", "title": "" }, { "docid": "1fb217c069b4fee7ed6c0eca9c27fa9a", "score": "0.7427106", "text": "protected void onScrollInteractionBegin() {\n }", "title": "" }, { "docid": "af82608091be5cdea28843bcfc367209", "score": "0.73917687", "text": "@Override\n public void onScrollingStarted(WheelView wheel) {\n\n }", "title": "" }, { "docid": "af82608091be5cdea28843bcfc367209", "score": "0.73917687", "text": "@Override\n public void onScrollingStarted(WheelView wheel) {\n\n }", "title": "" }, { "docid": "af82608091be5cdea28843bcfc367209", "score": "0.73917687", "text": "@Override\n public void onScrollingStarted(WheelView wheel) {\n\n }", "title": "" }, { "docid": "c86d1bf7a9c0b68b783b77aef36a009e", "score": "0.73522204", "text": "@Override\n\t\t\t\tpublic void onPageScrollStateChanged(int arg0) {\n\n\t\t\t\t}", "title": "" }, { "docid": "a58cf5b6b14661b14fd7b9d8fccec992", "score": "0.734956", "text": "public boolean onScroll(ScrollEvent event);", "title": "" }, { "docid": "10774b5197f96c0af0bda3ddd1de42e6", "score": "0.73473305", "text": "@Override\n public boolean onScroll(float displacement, float delta, float velocity) {\n return true;\n }", "title": "" }, { "docid": "631749914ef70e66b112ae714cad5e02", "score": "0.73404175", "text": "@Override\r\n\t\t\tpublic void onScrolledDown () {\n\t\t\t}", "title": "" }, { "docid": "4e841f2880c821746684efb09d2979ad", "score": "0.7331775", "text": "@Override\n public void onPageScrollStateChanged(int arg0) {\n\n }", "title": "" }, { "docid": "e774e4647475218ff44b4d1adef6b75d", "score": "0.73153585", "text": "@Override\n public void onPageScrollStateChanged(int arg0) {\n }", "title": "" }, { "docid": "e774e4647475218ff44b4d1adef6b75d", "score": "0.73153585", "text": "@Override\n public void onPageScrollStateChanged(int arg0) {\n }", "title": "" }, { "docid": "1fd89a300753c3b471c26b7271aa92fa", "score": "0.7311472", "text": "@Override\n\t\t\tpublic void onPageScrollStateChanged(int arg0) {\n\n\t\t\t}", "title": "" }, { "docid": "1fd89a300753c3b471c26b7271aa92fa", "score": "0.7311472", "text": "@Override\n\t\t\tpublic void onPageScrollStateChanged(int arg0) {\n\n\t\t\t}", "title": "" }, { "docid": "1fd89a300753c3b471c26b7271aa92fa", "score": "0.7311472", "text": "@Override\n\t\t\tpublic void onPageScrollStateChanged(int arg0) {\n\n\t\t\t}", "title": "" }, { "docid": "1fd89a300753c3b471c26b7271aa92fa", "score": "0.7311472", "text": "@Override\n\t\t\tpublic void onPageScrollStateChanged(int arg0) {\n\n\t\t\t}", "title": "" }, { "docid": "1fd89a300753c3b471c26b7271aa92fa", "score": "0.7311472", "text": "@Override\n\t\t\tpublic void onPageScrollStateChanged(int arg0) {\n\n\t\t\t}", "title": "" }, { "docid": "1fd89a300753c3b471c26b7271aa92fa", "score": "0.7311472", "text": "@Override\n\t\t\tpublic void onPageScrollStateChanged(int arg0) {\n\n\t\t\t}", "title": "" }, { "docid": "1fd89a300753c3b471c26b7271aa92fa", "score": "0.7311472", "text": "@Override\n\t\t\tpublic void onPageScrollStateChanged(int arg0) {\n\n\t\t\t}", "title": "" }, { "docid": "1fd89a300753c3b471c26b7271aa92fa", "score": "0.7311472", "text": "@Override\n\t\t\tpublic void onPageScrollStateChanged(int arg0) {\n\n\t\t\t}", "title": "" }, { "docid": "73d664f32f3d8bdacd6ffcae12a481e7", "score": "0.730659", "text": "public interface OnRecyclerViewScrollListener {\n public void onScrollStateChanged(android.support.v7.widget.RecyclerView recyclerView, int newState);\n\n public void onScrolled(android.support.v7.widget.RecyclerView recyclerView, int dx, int dy);\n}", "title": "" }, { "docid": "071d20ee4198c7117eaaefc9ed63740b", "score": "0.73026425", "text": "@Override\n public void onPageScrollStateChanged(int arg0) {\n }", "title": "" }, { "docid": "cd63357d2d95b3b6e57d53213bc1d02f", "score": "0.7294779", "text": "@Override\n\t\t\tpublic void onPageScrollStateChanged(int arg0) {\n\t\t\t}", "title": "" }, { "docid": "cd63357d2d95b3b6e57d53213bc1d02f", "score": "0.7294779", "text": "@Override\n\t\t\tpublic void onPageScrollStateChanged(int arg0) {\n\t\t\t}", "title": "" }, { "docid": "cd63357d2d95b3b6e57d53213bc1d02f", "score": "0.7294779", "text": "@Override\n\t\t\tpublic void onPageScrollStateChanged(int arg0) {\n\t\t\t}", "title": "" }, { "docid": "cd63357d2d95b3b6e57d53213bc1d02f", "score": "0.7294779", "text": "@Override\n\t\t\tpublic void onPageScrollStateChanged(int arg0) {\n\t\t\t}", "title": "" }, { "docid": "ed9d8861401ecca1edd8cbf89a9f192b", "score": "0.72915274", "text": "@Override\n public void onPageScrollStateChanged(int arg0) {\n \n }", "title": "" }, { "docid": "cdf5226b643e20c25f1bec39d045ff8f", "score": "0.7288879", "text": "@Override\r\n public void onScrolled(RecyclerView recyclerView, int dx, int dy){\r\n if(this.externalListener != null) {\r\n this.externalListener.onScrolled(recyclerView, dx, dy);\r\n }\r\n }", "title": "" }, { "docid": "fc7daa5c1486ecf3668c02e3634962b8", "score": "0.72858495", "text": "@Override\n public void onPageScrollStateChanged(int arg0) {\n\n }", "title": "" }, { "docid": "fc7daa5c1486ecf3668c02e3634962b8", "score": "0.72858495", "text": "@Override\n public void onPageScrollStateChanged(int arg0) {\n\n }", "title": "" }, { "docid": "fc7daa5c1486ecf3668c02e3634962b8", "score": "0.72858495", "text": "@Override\n public void onPageScrollStateChanged(int arg0) {\n\n }", "title": "" }, { "docid": "4ca6e3c813bfc05f8f3b60b01457b6cc", "score": "0.72762173", "text": "@Override\r\n\t\t\tpublic void onScrollStateChanged(AbsListView view, int scrollState) {\n\t\t\t\tswitch (scrollState) {\r\n\t\t\t\tcase SCROLL_STATE_FLING:\r\n\t\t\t\tcase SCROLL_STATE_TOUCH_SCROLL:\r\n\t\t\t\t\tworkStatus = STATE_IDLE;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase SCROLL_STATE_IDLE:\r\n\t\t\t\t\tworkStatus = STATE_STOP;\r\n\t\t\t\t\tbreak;\r\n\r\n\t\t\t\tdefault:\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}", "title": "" }, { "docid": "aefaee8f50878a04cf0a71550219b132", "score": "0.72755957", "text": "@Override\r\n\t\t\tpublic void onPageScrollStateChanged(int arg0) {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "aefaee8f50878a04cf0a71550219b132", "score": "0.72755957", "text": "@Override\r\n\t\t\tpublic void onPageScrollStateChanged(int arg0) {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "aefaee8f50878a04cf0a71550219b132", "score": "0.72755957", "text": "@Override\r\n\t\t\tpublic void onPageScrollStateChanged(int arg0) {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "51c7a3c7ab7a37bcdd5e9994aaee5a82", "score": "0.72692853", "text": "@Override\n\tpublic void onPageScrollStateChanged(int arg0) {\n\n\t}", "title": "" }, { "docid": "51c7a3c7ab7a37bcdd5e9994aaee5a82", "score": "0.72692853", "text": "@Override\n\tpublic void onPageScrollStateChanged(int arg0) {\n\n\t}", "title": "" }, { "docid": "51c7a3c7ab7a37bcdd5e9994aaee5a82", "score": "0.72692853", "text": "@Override\n\tpublic void onPageScrollStateChanged(int arg0) {\n\n\t}", "title": "" }, { "docid": "51c7a3c7ab7a37bcdd5e9994aaee5a82", "score": "0.72692853", "text": "@Override\n\tpublic void onPageScrollStateChanged(int arg0) {\n\n\t}", "title": "" }, { "docid": "51c7a3c7ab7a37bcdd5e9994aaee5a82", "score": "0.72692853", "text": "@Override\n\tpublic void onPageScrollStateChanged(int arg0) {\n\n\t}", "title": "" } ]
275bb29f32951f985bd53a5e5d185fed
The doGet method of the servlet. This method is called when a form has its tag value method equals to get.
[ { "docid": "dc211da43ebeb990e9d39023a92d2292", "score": "0.0", "text": "public void doGet(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(request, response);\n\t}", "title": "" } ]
[ { "docid": "8a69612518b2ebe27bf01421db851720", "score": "0.7371096", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException{\r\n\t perForm(request,response);\r\n\t}", "title": "" }, { "docid": "563585596a1523b636e4dcceff7547e4", "score": "0.7255866", "text": "@Override\r\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n doGet(request, response);\r\n }", "title": "" }, { "docid": "6e183765a52a5a3921a8cdb2b9b11cff", "score": "0.7207248", "text": "public void doGet(HttpServletRequest req, HttpServletResponse resp)\r\n throws ServletException, IOException {\r\n\r\n doPost(req, resp); // call doPost processing\r\n\r\n }", "title": "" }, { "docid": "a97ee9260c4f1cfc4a68b57c53b9997e", "score": "0.7205568", "text": "@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\r\n\t}", "title": "" }, { "docid": "a97ee9260c4f1cfc4a68b57c53b9997e", "score": "0.7205568", "text": "@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\r\n\t}", "title": "" }, { "docid": "28eff473183c65a1947b7ae02c12eded", "score": "0.7199107", "text": "@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n doPost(request, response);\r\n }", "title": "" }, { "docid": "28eff473183c65a1947b7ae02c12eded", "score": "0.7199107", "text": "@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n doPost(request, response);\r\n }", "title": "" }, { "docid": "28eff473183c65a1947b7ae02c12eded", "score": "0.7199107", "text": "@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n doPost(request, response);\r\n }", "title": "" }, { "docid": "0c6f3a271fc8ba2424c6da0fe676b490", "score": "0.71714604", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n doPost(request, response);\n }", "title": "" }, { "docid": "d3b6a08fe7a6dc0a7a5231caa6a82a55", "score": "0.7170735", "text": "@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tthis.doPost(req, resp);\r\n\t}", "title": "" }, { "docid": "00b432a2f780da2bcec47b3948a51ff8", "score": "0.7154274", "text": "@Override\r\n public void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n doPost(request,response);\r\n }", "title": "" }, { "docid": "dfd4364371e5c690cd8ea048f22d3793", "score": "0.7147406", "text": "@Override\n protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n doPost(req, resp);\n }", "title": "" }, { "docid": "37d94bd813f2de8b11d34303dd49de66", "score": "0.71391207", "text": "@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\r\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(req, resp);\r\n\t}", "title": "" }, { "docid": "37d94bd813f2de8b11d34303dd49de66", "score": "0.71391207", "text": "@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\r\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(req, resp);\r\n\t}", "title": "" }, { "docid": "f44d66e4c35cfafd182c9ce4038e6f9c", "score": "0.713383", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}", "title": "" }, { "docid": "f44d66e4c35cfafd182c9ce4038e6f9c", "score": "0.713383", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}", "title": "" }, { "docid": "f44d66e4c35cfafd182c9ce4038e6f9c", "score": "0.713383", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}", "title": "" }, { "docid": "f44d66e4c35cfafd182c9ce4038e6f9c", "score": "0.713383", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}", "title": "" }, { "docid": "f44d66e4c35cfafd182c9ce4038e6f9c", "score": "0.713383", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}", "title": "" }, { "docid": "f44d66e4c35cfafd182c9ce4038e6f9c", "score": "0.713383", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}", "title": "" }, { "docid": "f44d66e4c35cfafd182c9ce4038e6f9c", "score": "0.713383", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}", "title": "" }, { "docid": "f44d66e4c35cfafd182c9ce4038e6f9c", "score": "0.713383", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}", "title": "" }, { "docid": "f44d66e4c35cfafd182c9ce4038e6f9c", "score": "0.713383", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}", "title": "" }, { "docid": "f44d66e4c35cfafd182c9ce4038e6f9c", "score": "0.713383", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}", "title": "" }, { "docid": "f44d66e4c35cfafd182c9ce4038e6f9c", "score": "0.713383", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}", "title": "" }, { "docid": "f44d66e4c35cfafd182c9ce4038e6f9c", "score": "0.713383", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}", "title": "" }, { "docid": "465de1698b005c8bf322b3145c566a87", "score": "0.71297204", "text": "@Override\n\tprotected void doGet(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(request, response); //call doPost() for flow control logic.\n\t}", "title": "" }, { "docid": "e11169f3af74f9ffff31ceb1d0ef0757", "score": "0.7114754", "text": "@Override\n protected void doGet(HttpServletRequest req, HttpServletResponse resp)\n throws ServletException, IOException {\n doPost(req, resp);\n }", "title": "" }, { "docid": "c093dcd06f4e0b15ad4b87f7c5aca0f5", "score": "0.7114104", "text": "protected void doGet( HttpServletRequest request, HttpServletResponse response ) throws ServletException, IOException\n {\n \t// Maneja el GET y el POST de la misma manera\n procesarSolicitud( request, response );\n }", "title": "" }, { "docid": "30b463ea03db1f85950c9e84d76dc905", "score": "0.7106074", "text": "@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\t doGet(req, resp);\n\t}", "title": "" }, { "docid": "1098926486d6510ec701a85ab610560f", "score": "0.7098881", "text": "@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\r\n\t\t\tthrows ServletException, IOException {\n\t\tthis.doPost(req, resp);\r\n\t}", "title": "" }, { "docid": "6a48574d66e619970acfbad76a3eb9fe", "score": "0.7088295", "text": "public void doGet(HttpServletRequest request, HttpServletResponse response)\r\n\t\t\tthrows ServletException, IOException {doPost(request, response);}", "title": "" }, { "docid": "4a19e446bd3c39e6093b905e35d66075", "score": "0.70881087", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n doPost(request, response);\n }", "title": "" }, { "docid": "4a19e446bd3c39e6093b905e35d66075", "score": "0.70881087", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n doPost(request, response);\n }", "title": "" }, { "docid": "4a19e446bd3c39e6093b905e35d66075", "score": "0.70881087", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n doPost(request, response);\n }", "title": "" }, { "docid": "4a19e446bd3c39e6093b905e35d66075", "score": "0.70881087", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n doPost(request, response);\n }", "title": "" }, { "docid": "d8bbdb19094288234b359704549b780e", "score": "0.7087069", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tthis.doPost(req, resp);\n\t}", "title": "" }, { "docid": "d8bbdb19094288234b359704549b780e", "score": "0.7087069", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tthis.doPost(req, resp);\n\t}", "title": "" }, { "docid": "d8bbdb19094288234b359704549b780e", "score": "0.7087069", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tthis.doPost(req, resp);\n\t}", "title": "" }, { "docid": "a3c4951b06f6803c43f4e72ac81a094e", "score": "0.7083461", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n \t\tdoPost(request, response);\n\t}", "title": "" }, { "docid": "8ac5948912f832602f0e611747ed2458", "score": "0.70831424", "text": "public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException, ServletException {\r\n doPost(req, resp);\r\n }", "title": "" }, { "docid": "29e02f1482d054334b3cfa61172d4226", "score": "0.7078801", "text": "public void doGet(HttpServletRequest request, HttpServletResponse response)\r\n\t\t\tthrows ServletException, IOException {\r\n\r\n\r\nthis.doPost(request, response);\r\n\r\n\t}", "title": "" }, { "docid": "1a5d2941c3ac0fac07c6e33d87144c59", "score": "0.7077007", "text": "@Override\n protected abstract void doGet(HttpServletRequest req, HttpServletResponse resp) \n\tthrows ServletException, IOException;", "title": "" }, { "docid": "fceb442cde35b849bab13216225cd027", "score": "0.7072391", "text": "@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n doPost(request,response);\r\n }", "title": "" }, { "docid": "930a1ee2ae0a948585ae36cf7fb6fb7b", "score": "0.7068362", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n doPost(request,response);\r\n }", "title": "" }, { "docid": "930a1ee2ae0a948585ae36cf7fb6fb7b", "score": "0.7068362", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n doPost(request,response);\r\n }", "title": "" }, { "docid": "2b97d72d8cc3c53b0034ed3b29c194a3", "score": "0.70676684", "text": "@Override\n protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n doGet(req, resp);\n }", "title": "" }, { "docid": "e828d2cf622ec99748afbcbd4a01ffc5", "score": "0.70546377", "text": "@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\r\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(req,resp);\r\n\t}", "title": "" }, { "docid": "e828d2cf622ec99748afbcbd4a01ffc5", "score": "0.70546377", "text": "@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\r\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(req,resp);\r\n\t}", "title": "" }, { "docid": "e0a5179faab431e534f95ea30e86dad7", "score": "0.7050164", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}", "title": "" }, { "docid": "e0a5179faab431e534f95ea30e86dad7", "score": "0.7050164", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}", "title": "" }, { "docid": "e0a5179faab431e534f95ea30e86dad7", "score": "0.7050164", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}", "title": "" }, { "docid": "83faebba0cb1dd4e7219eb9b8128dc5d", "score": "0.70495355", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\n\t\tSystem.out.println(\"Chamou pelo método GET\");\n\t}", "title": "" }, { "docid": "471aa304bc8bdc95eb6d2386e334f119", "score": "0.7048971", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\t\tdoPost(request, response);\r\n\t\t}", "title": "" }, { "docid": "93bc80796c8339b02714a5f2397a06bb", "score": "0.7036657", "text": "@Override\n\tprotected void doGet(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(request, response);\n\t}", "title": "" }, { "docid": "93bc80796c8339b02714a5f2397a06bb", "score": "0.7036657", "text": "@Override\n\tprotected void doGet(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(request, response);\n\t}", "title": "" }, { "docid": "41033acbfb1375a0e572e0147c6379fd", "score": "0.70351475", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException\r\n\t{\r\n\r\n\t\tdoPost(request, response);\r\n\t}", "title": "" }, { "docid": "fb6264fafb16f603c6ac2e042cc94d32", "score": "0.70306224", "text": "@Override\r\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n doGet(request, response);\r\n }", "title": "" }, { "docid": "48875dc9f472eea6fe559e20c4be5d3f", "score": "0.70232064", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \n doPost(request, response);\n }", "title": "" }, { "docid": "3beb428513ead9a2a9eb81645303813e", "score": "0.70098835", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\r\n\t\tdoPost(request, response);\r\n\t}", "title": "" }, { "docid": "b4f620dddc1587e9ad71ca97ad86a6f3", "score": "0.7007046", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tdoPost(request, response);\r\n\t}", "title": "" }, { "docid": "b4f620dddc1587e9ad71ca97ad86a6f3", "score": "0.7007046", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tdoPost(request, response);\r\n\t}", "title": "" }, { "docid": "434a27b5b9ff01553d381ebec87e4e16", "score": "0.7005563", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "001224d7881d3153ee305f047dc16626", "score": "0.70048577", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException \n\t{\n\t\t\n\t}", "title": "" }, { "docid": "01c3f297ded56fa1d2b43faa5eb8ef8e", "score": "0.7002859", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException \n\t{\n\t\tdoPost(request, response);\n\t}", "title": "" }, { "docid": "0c334655922039340e99c206bd7bce93", "score": "0.69976825", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processGetRequest(request, response);\n }", "title": "" }, { "docid": "697d52a8d528032a4fe7eadba6e0279c", "score": "0.6996101", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tthis.doPost(req, resp);\n\t}", "title": "" }, { "docid": "697d52a8d528032a4fe7eadba6e0279c", "score": "0.6996101", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tthis.doPost(req, resp);\n\t}", "title": "" }, { "docid": "3a27701bf33d6087ed35334460a96f23", "score": "0.69949937", "text": "protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t}", "title": "" }, { "docid": "8d4fbcda7d4e278dc95386ef821bb030", "score": "0.6989294", "text": "@Override\n protected void doGet(HttpServletRequest request,\n HttpServletResponse response) throws ServletException, IOException {\n //because it is calling the post the get requests to this servlet\n //perform the same operations as the post requests\n doPost(request, response);\n }", "title": "" }, { "docid": "649ba89f94ad2a40b203a0c7c28a521a", "score": "0.6985465", "text": "@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n doGet(request, response);\n }", "title": "" }, { "docid": "2f5cd5b7eda12ce374aab1b546dbaa51", "score": "0.69812506", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n }", "title": "" }, { "docid": "bc57bda20ab7151fc59db91cf12fa992", "score": "0.69789743", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\t\n\t}", "title": "" }, { "docid": "aa9d1c8928477805247df05362360af1", "score": "0.69766104", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n this.doPost(request,response);\n }", "title": "" }, { "docid": "1f067f2929bccc03211ae4deeb94ba3f", "score": "0.6975308", "text": "@Override\n protected void doGet (HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException\n {\n\t \n\t \n }", "title": "" }, { "docid": "4ff02b789e5ab92b9bd9c40abe9ff61f", "score": "0.69666255", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\r\n\t\tdoPost(request,response);\r\n\t}", "title": "" }, { "docid": "650a1df10f2b571e34303d7ac94f41f8", "score": "0.69602424", "text": "public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\r\n\r\n\t\tdoPost(request, response);\r\n\t}", "title": "" }, { "docid": "7af0abd4724b5dfe0265a5f0ff9e0a82", "score": "0.6958937", "text": "public void doGet(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n this.doPost(request, response);\n\t\t\n\t}", "title": "" }, { "docid": "01237c5cf8fd6def1332f54ece8c8546", "score": "0.69588125", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tdoPost(request,response);\r\n\t}", "title": "" }, { "docid": "677c85de8f5ae7490744d7801988c3e4", "score": "0.69569886", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \n/******************************************************************************\n *--Declaration/Instantiation Section-- *\n ******************************************************************************/\n _MyPage = (NonBillablePage)request.getSession().getAttribute(\"myEditNonBillablePage\");\n _MyNonBillable = (NonBillableType)request.getSession().getAttribute(\"BNonBillableType\");\n _ButtonClicked = \"doGet\";\n/******************************************************************************\n *--Refresh Section-- *\n ******************************************************************************/\n\n _MyPage.setName(_MyNonBillable.getNonBillableTypeName());\n _MyPage.setNonBillableID(_MyNonBillable.getNonBillableTypeID());\n _MyPage.setRemarks(_MyNonBillable.getRemarks());\n _MyPage.setStatus(_MyNonBillable.getStatus()+\"\");\n \n/******************************************************************************\n *--Check Input Section-- *\n ******************************************************************************/\n\n/******************************************************************************\n *--Process Section-- *\n ******************************************************************************/\n \n processRequest(request, response);\n }", "title": "" }, { "docid": "f5b95ecb0513c40fa5c9c315a1871382", "score": "0.69523257", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tthis.doPost(request, response);\r\n\t}", "title": "" }, { "docid": "38ddfd3aee2e8539a604c124a1b592f9", "score": "0.6948428", "text": "public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\r\n\r\n\t\tthis.doPost(request, response);\r\n\t}", "title": "" }, { "docid": "8009af9b39c9ee014aaa7df1b812e783", "score": "0.69409", "text": "public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n doPost(request, response);\n }", "title": "" }, { "docid": "6d76b96f3ca44e1e3c5bf83d3a08824f", "score": "0.6938494", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n System.out.println(\"entro get\");\n processRequest(request, response);\n }", "title": "" }, { "docid": "630e4e0f400cc2260ecc3c4603767eb6", "score": "0.69361514", "text": "public void doGet(HttpServletRequest request,HttpServletResponse response) throws ServletException,IOException\n {\n doPost(request,response);\n }", "title": "" }, { "docid": "8413940570936e007ab37a0081edf56d", "score": "0.6935202", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tdoPost(request, response);\n\t}", "title": "" }, { "docid": "8413940570936e007ab37a0081edf56d", "score": "0.6935202", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tdoPost(request, response);\n\t}", "title": "" }, { "docid": "8413940570936e007ab37a0081edf56d", "score": "0.6935202", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tdoPost(request, response);\n\t}", "title": "" }, { "docid": "8413940570936e007ab37a0081edf56d", "score": "0.6935202", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tdoPost(request, response);\n\t}", "title": "" }, { "docid": "8413940570936e007ab37a0081edf56d", "score": "0.6935202", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tdoPost(request, response);\n\t}", "title": "" }, { "docid": "8413940570936e007ab37a0081edf56d", "score": "0.6935202", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tdoPost(request, response);\n\t}", "title": "" }, { "docid": "8413940570936e007ab37a0081edf56d", "score": "0.6935202", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tdoPost(request, response);\n\t}", "title": "" }, { "docid": "793012c260c8dc6fc6e1440a4167b840", "score": "0.6932762", "text": "@Override\n protected void doGet(HttpServletRequest req, HttpServletResponse resp)\n throws ServletException, IOException\n {\n }", "title": "" }, { "docid": "6d61df8c2ef2213f810586e730b93216", "score": "0.6912494", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\n\t}", "title": "" }, { "docid": "c172ae36dd4e5c686f633ff90255b2e6", "score": "0.6901335", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "title": "" }, { "docid": "c172ae36dd4e5c686f633ff90255b2e6", "score": "0.6901335", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "title": "" }, { "docid": "c172ae36dd4e5c686f633ff90255b2e6", "score": "0.6901335", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "title": "" }, { "docid": "c172ae36dd4e5c686f633ff90255b2e6", "score": "0.6901335", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "title": "" }, { "docid": "c172ae36dd4e5c686f633ff90255b2e6", "score": "0.6901335", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "title": "" }, { "docid": "dc80bcd0afd44f05df9ff5e6aa296749", "score": "0.68972427", "text": "@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoGet(req, resp);\n\t}", "title": "" }, { "docid": "dc80bcd0afd44f05df9ff5e6aa296749", "score": "0.68972427", "text": "@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoGet(req, resp);\n\t}", "title": "" } ]
f293c52ba4e9bab986a5111094fb79d0
required .CMsgProtoDefHeader header = 1;
[ { "docid": "11ce068639c3a30fb0f40d9ca5f560cd", "score": "0.65592545", "text": "public Builder setHeader(TfProtoDefMessages.CMsgProtoDefHeader value) {\n if (headerBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n header_ = value;\n onChanged();\n } else {\n headerBuilder_.setMessage(value);\n }\n bitField0_ |= 0x00000001;\n return this;\n }", "title": "" } ]
[ { "docid": "80a31e3012ac4103fe06db8d7612e5c1", "score": "0.7976947", "text": "TfProtoDefMessages.CMsgProtoDefHeader getHeader();", "title": "" }, { "docid": "80a31e3012ac4103fe06db8d7612e5c1", "score": "0.7976947", "text": "TfProtoDefMessages.CMsgProtoDefHeader getHeader();", "title": "" }, { "docid": "80a31e3012ac4103fe06db8d7612e5c1", "score": "0.7976947", "text": "TfProtoDefMessages.CMsgProtoDefHeader getHeader();", "title": "" }, { "docid": "80a31e3012ac4103fe06db8d7612e5c1", "score": "0.7976947", "text": "TfProtoDefMessages.CMsgProtoDefHeader getHeader();", "title": "" }, { "docid": "80a31e3012ac4103fe06db8d7612e5c1", "score": "0.7976947", "text": "TfProtoDefMessages.CMsgProtoDefHeader getHeader();", "title": "" }, { "docid": "80a31e3012ac4103fe06db8d7612e5c1", "score": "0.7976947", "text": "TfProtoDefMessages.CMsgProtoDefHeader getHeader();", "title": "" }, { "docid": "80a31e3012ac4103fe06db8d7612e5c1", "score": "0.7976947", "text": "TfProtoDefMessages.CMsgProtoDefHeader getHeader();", "title": "" }, { "docid": "80a31e3012ac4103fe06db8d7612e5c1", "score": "0.7976947", "text": "TfProtoDefMessages.CMsgProtoDefHeader getHeader();", "title": "" }, { "docid": "80a31e3012ac4103fe06db8d7612e5c1", "score": "0.7976947", "text": "TfProtoDefMessages.CMsgProtoDefHeader getHeader();", "title": "" }, { "docid": "80a31e3012ac4103fe06db8d7612e5c1", "score": "0.7976947", "text": "TfProtoDefMessages.CMsgProtoDefHeader getHeader();", "title": "" }, { "docid": "80a31e3012ac4103fe06db8d7612e5c1", "score": "0.7975679", "text": "TfProtoDefMessages.CMsgProtoDefHeader getHeader();", "title": "" }, { "docid": "80a31e3012ac4103fe06db8d7612e5c1", "score": "0.7975679", "text": "TfProtoDefMessages.CMsgProtoDefHeader getHeader();", "title": "" }, { "docid": "9113e7d4002c785704e79d6ab38b8b86", "score": "0.77259624", "text": "TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();", "title": "" }, { "docid": "9113e7d4002c785704e79d6ab38b8b86", "score": "0.77259624", "text": "TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();", "title": "" }, { "docid": "9113e7d4002c785704e79d6ab38b8b86", "score": "0.77259624", "text": "TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();", "title": "" }, { "docid": "9113e7d4002c785704e79d6ab38b8b86", "score": "0.77259624", "text": "TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();", "title": "" }, { "docid": "9113e7d4002c785704e79d6ab38b8b86", "score": "0.77259624", "text": "TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();", "title": "" }, { "docid": "9113e7d4002c785704e79d6ab38b8b86", "score": "0.77259624", "text": "TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();", "title": "" }, { "docid": "9113e7d4002c785704e79d6ab38b8b86", "score": "0.77259624", "text": "TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();", "title": "" }, { "docid": "9113e7d4002c785704e79d6ab38b8b86", "score": "0.77259624", "text": "TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();", "title": "" }, { "docid": "9113e7d4002c785704e79d6ab38b8b86", "score": "0.77259624", "text": "TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();", "title": "" }, { "docid": "9113e7d4002c785704e79d6ab38b8b86", "score": "0.7725694", "text": "TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();", "title": "" }, { "docid": "9113e7d4002c785704e79d6ab38b8b86", "score": "0.7725221", "text": "TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();", "title": "" }, { "docid": "9113e7d4002c785704e79d6ab38b8b86", "score": "0.7725221", "text": "TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder();", "title": "" }, { "docid": "b0214e477d5b8f9f1571716c0932dde1", "score": "0.73182136", "text": "TfProtoDefMessages.CMsgHeaderOnly getInstanceDefTypeHeaderOnly();", "title": "" }, { "docid": "969de67c227b300717037167a09cc248", "score": "0.6867404", "text": "private CMsgProtoDefHeader(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "bc08768eec43f91692f3e248f3f401e5", "score": "0.6838372", "text": "pipe.common.Common.HeaderOrBuilder getHeaderOrBuilder();", "title": "" }, { "docid": "bc08768eec43f91692f3e248f3f401e5", "score": "0.6838372", "text": "pipe.common.Common.HeaderOrBuilder getHeaderOrBuilder();", "title": "" }, { "docid": "8f160d4ddee4a8998fb8b84fade7a642", "score": "0.67086434", "text": "TfProtoDefMessages.CMsgHeaderOnlyOrBuilder getInstanceDefTypeHeaderOnlyOrBuilder();", "title": "" }, { "docid": "f33e180b4113c21bb7f10f9d11e01452", "score": "0.67026544", "text": "@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }", "title": "" }, { "docid": "f33e180b4113c21bb7f10f9d11e01452", "score": "0.67026544", "text": "@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }", "title": "" }, { "docid": "f33e180b4113c21bb7f10f9d11e01452", "score": "0.67026544", "text": "@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }", "title": "" }, { "docid": "f33e180b4113c21bb7f10f9d11e01452", "score": "0.6702624", "text": "@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }", "title": "" }, { "docid": "f33e180b4113c21bb7f10f9d11e01452", "score": "0.6702624", "text": "@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }", "title": "" }, { "docid": "f33e180b4113c21bb7f10f9d11e01452", "score": "0.6702624", "text": "@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }", "title": "" }, { "docid": "f33e180b4113c21bb7f10f9d11e01452", "score": "0.6701467", "text": "@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }", "title": "" }, { "docid": "f33e180b4113c21bb7f10f9d11e01452", "score": "0.67012644", "text": "@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }", "title": "" }, { "docid": "f33e180b4113c21bb7f10f9d11e01452", "score": "0.67012644", "text": "@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }", "title": "" }, { "docid": "f33e180b4113c21bb7f10f9d11e01452", "score": "0.67012644", "text": "@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }", "title": "" }, { "docid": "f33e180b4113c21bb7f10f9d11e01452", "score": "0.67012644", "text": "@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }", "title": "" }, { "docid": "f33e180b4113c21bb7f10f9d11e01452", "score": "0.67012644", "text": "@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }", "title": "" }, { "docid": "5631fffd2857adaae5a89de8dd4b3932", "score": "0.66593623", "text": "@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }", "title": "" }, { "docid": "5631fffd2857adaae5a89de8dd4b3932", "score": "0.66593623", "text": "@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }", "title": "" }, { "docid": "5631fffd2857adaae5a89de8dd4b3932", "score": "0.66593623", "text": "@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }", "title": "" }, { "docid": "5631fffd2857adaae5a89de8dd4b3932", "score": "0.6658864", "text": "@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }", "title": "" }, { "docid": "5631fffd2857adaae5a89de8dd4b3932", "score": "0.6658864", "text": "@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }", "title": "" }, { "docid": "5631fffd2857adaae5a89de8dd4b3932", "score": "0.6658864", "text": "@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }", "title": "" }, { "docid": "5631fffd2857adaae5a89de8dd4b3932", "score": "0.6658594", "text": "@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }", "title": "" }, { "docid": "5631fffd2857adaae5a89de8dd4b3932", "score": "0.6658594", "text": "@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }", "title": "" }, { "docid": "5631fffd2857adaae5a89de8dd4b3932", "score": "0.6658594", "text": "@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }", "title": "" }, { "docid": "5631fffd2857adaae5a89de8dd4b3932", "score": "0.6658482", "text": "@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }", "title": "" }, { "docid": "5631fffd2857adaae5a89de8dd4b3932", "score": "0.6658482", "text": "@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }", "title": "" }, { "docid": "5631fffd2857adaae5a89de8dd4b3932", "score": "0.6658351", "text": "@java.lang.Override\n public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }", "title": "" }, { "docid": "55d04b4693a604539a62c1fa38a678f1", "score": "0.6493601", "text": "public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n if (headerBuilder_ != null) {\n return headerBuilder_.getMessageOrBuilder();\n } else {\n return header_ == null ?\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }\n }", "title": "" }, { "docid": "55d04b4693a604539a62c1fa38a678f1", "score": "0.6493601", "text": "public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n if (headerBuilder_ != null) {\n return headerBuilder_.getMessageOrBuilder();\n } else {\n return header_ == null ?\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }\n }", "title": "" }, { "docid": "55d04b4693a604539a62c1fa38a678f1", "score": "0.6493601", "text": "public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n if (headerBuilder_ != null) {\n return headerBuilder_.getMessageOrBuilder();\n } else {\n return header_ == null ?\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }\n }", "title": "" }, { "docid": "55d04b4693a604539a62c1fa38a678f1", "score": "0.6493601", "text": "public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n if (headerBuilder_ != null) {\n return headerBuilder_.getMessageOrBuilder();\n } else {\n return header_ == null ?\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }\n }", "title": "" }, { "docid": "55d04b4693a604539a62c1fa38a678f1", "score": "0.6493284", "text": "public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n if (headerBuilder_ != null) {\n return headerBuilder_.getMessageOrBuilder();\n } else {\n return header_ == null ?\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }\n }", "title": "" }, { "docid": "55d04b4693a604539a62c1fa38a678f1", "score": "0.6491899", "text": "public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n if (headerBuilder_ != null) {\n return headerBuilder_.getMessageOrBuilder();\n } else {\n return header_ == null ?\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }\n }", "title": "" }, { "docid": "55d04b4693a604539a62c1fa38a678f1", "score": "0.6491899", "text": "public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n if (headerBuilder_ != null) {\n return headerBuilder_.getMessageOrBuilder();\n } else {\n return header_ == null ?\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }\n }", "title": "" }, { "docid": "55d04b4693a604539a62c1fa38a678f1", "score": "0.6491179", "text": "public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n if (headerBuilder_ != null) {\n return headerBuilder_.getMessageOrBuilder();\n } else {\n return header_ == null ?\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }\n }", "title": "" }, { "docid": "55d04b4693a604539a62c1fa38a678f1", "score": "0.6491179", "text": "public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n if (headerBuilder_ != null) {\n return headerBuilder_.getMessageOrBuilder();\n } else {\n return header_ == null ?\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }\n }", "title": "" }, { "docid": "55d04b4693a604539a62c1fa38a678f1", "score": "0.6491179", "text": "public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n if (headerBuilder_ != null) {\n return headerBuilder_.getMessageOrBuilder();\n } else {\n return header_ == null ?\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }\n }", "title": "" }, { "docid": "55d04b4693a604539a62c1fa38a678f1", "score": "0.64904314", "text": "public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n if (headerBuilder_ != null) {\n return headerBuilder_.getMessageOrBuilder();\n } else {\n return header_ == null ?\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }\n }", "title": "" }, { "docid": "55d04b4693a604539a62c1fa38a678f1", "score": "0.64904314", "text": "public TfProtoDefMessages.CMsgProtoDefHeaderOrBuilder getHeaderOrBuilder() {\n if (headerBuilder_ != null) {\n return headerBuilder_.getMessageOrBuilder();\n } else {\n return header_ == null ?\n TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n }\n }", "title": "" }, { "docid": "1499687717c723acb46e8c8c29151780", "score": "0.6461917", "text": "public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n if (headerBuilder_ == null) {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n } else {\n return headerBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "1499687717c723acb46e8c8c29151780", "score": "0.64612067", "text": "public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n if (headerBuilder_ == null) {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n } else {\n return headerBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "1499687717c723acb46e8c8c29151780", "score": "0.6461059", "text": "public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n if (headerBuilder_ == null) {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n } else {\n return headerBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "1499687717c723acb46e8c8c29151780", "score": "0.6461059", "text": "public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n if (headerBuilder_ == null) {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n } else {\n return headerBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "1499687717c723acb46e8c8c29151780", "score": "0.6460748", "text": "public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n if (headerBuilder_ == null) {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n } else {\n return headerBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "1499687717c723acb46e8c8c29151780", "score": "0.6460748", "text": "public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n if (headerBuilder_ == null) {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n } else {\n return headerBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "1499687717c723acb46e8c8c29151780", "score": "0.6460748", "text": "public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n if (headerBuilder_ == null) {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n } else {\n return headerBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "1499687717c723acb46e8c8c29151780", "score": "0.6460748", "text": "public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n if (headerBuilder_ == null) {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n } else {\n return headerBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "1499687717c723acb46e8c8c29151780", "score": "0.6460639", "text": "public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n if (headerBuilder_ == null) {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n } else {\n return headerBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "1499687717c723acb46e8c8c29151780", "score": "0.6460639", "text": "public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n if (headerBuilder_ == null) {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n } else {\n return headerBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "1499687717c723acb46e8c8c29151780", "score": "0.6460639", "text": "public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n if (headerBuilder_ == null) {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n } else {\n return headerBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "1499687717c723acb46e8c8c29151780", "score": "0.6460639", "text": "public TfProtoDefMessages.CMsgProtoDefHeader getHeader() {\n if (headerBuilder_ == null) {\n return header_ == null ? TfProtoDefMessages.CMsgProtoDefHeader.getDefaultInstance() : header_;\n } else {\n return headerBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "84eed9ea7d88da02ae79c4f6574b54d0", "score": "0.64358544", "text": "public interface MsgProtocol {\n /** 默认flag值 */\n public byte defaultFlag = 1;\n /** 最大长度 */\n public int maxPackLength = 1024 * 5;\n /** 标识数占得 byte数 */\n public int flagSize = 1;//\n /** 协议中 长度部分 占用的byte数,其值表示( 协议号+内容) 的长度 */\n public int lengthSize = 4;//\n /** 消息号占用的byte数 */\n public int msgCodeSize = 4;\n}", "title": "" }, { "docid": "ed63f65a45529d69da13e7aa358b8372", "score": "0.632798", "text": "public TfProtoDefMessages.CMsgProtoDefHeader.Builder getHeaderBuilder() {\n bitField0_ |= 0x00000001;\n onChanged();\n return getHeaderFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "ed63f65a45529d69da13e7aa358b8372", "score": "0.632798", "text": "public TfProtoDefMessages.CMsgProtoDefHeader.Builder getHeaderBuilder() {\n bitField0_ |= 0x00000001;\n onChanged();\n return getHeaderFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "ed63f65a45529d69da13e7aa358b8372", "score": "0.632798", "text": "public TfProtoDefMessages.CMsgProtoDefHeader.Builder getHeaderBuilder() {\n bitField0_ |= 0x00000001;\n onChanged();\n return getHeaderFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "ed63f65a45529d69da13e7aa358b8372", "score": "0.632798", "text": "public TfProtoDefMessages.CMsgProtoDefHeader.Builder getHeaderBuilder() {\n bitField0_ |= 0x00000001;\n onChanged();\n return getHeaderFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "ed63f65a45529d69da13e7aa358b8372", "score": "0.6327849", "text": "public TfProtoDefMessages.CMsgProtoDefHeader.Builder getHeaderBuilder() {\n bitField0_ |= 0x00000001;\n onChanged();\n return getHeaderFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "ed63f65a45529d69da13e7aa358b8372", "score": "0.6327849", "text": "public TfProtoDefMessages.CMsgProtoDefHeader.Builder getHeaderBuilder() {\n bitField0_ |= 0x00000001;\n onChanged();\n return getHeaderFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "ed63f65a45529d69da13e7aa358b8372", "score": "0.6327849", "text": "public TfProtoDefMessages.CMsgProtoDefHeader.Builder getHeaderBuilder() {\n bitField0_ |= 0x00000001;\n onChanged();\n return getHeaderFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "ed63f65a45529d69da13e7aa358b8372", "score": "0.6327849", "text": "public TfProtoDefMessages.CMsgProtoDefHeader.Builder getHeaderBuilder() {\n bitField0_ |= 0x00000001;\n onChanged();\n return getHeaderFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "ed63f65a45529d69da13e7aa358b8372", "score": "0.6327168", "text": "public TfProtoDefMessages.CMsgProtoDefHeader.Builder getHeaderBuilder() {\n bitField0_ |= 0x00000001;\n onChanged();\n return getHeaderFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "ed63f65a45529d69da13e7aa358b8372", "score": "0.6326178", "text": "public TfProtoDefMessages.CMsgProtoDefHeader.Builder getHeaderBuilder() {\n bitField0_ |= 0x00000001;\n onChanged();\n return getHeaderFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "ed63f65a45529d69da13e7aa358b8372", "score": "0.6326178", "text": "public TfProtoDefMessages.CMsgProtoDefHeader.Builder getHeaderBuilder() {\n bitField0_ |= 0x00000001;\n onChanged();\n return getHeaderFieldBuilder().getBuilder();\n }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "4b493651108f4ef58570af03fb86c2c0", "score": "0.0", "text": "@Override\n\tpublic void insertComplaint(Complaintdetail complaint) {\n\t\tem.persist(complaint);\n\t\t\n\t}", "title": "" } ]
[ { "docid": "b7c706d331e2b507ec0ff8404ad87dc7", "score": "0.69742316", "text": "@Override\r\n\t\t\tpublic void crispel() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "76b3966c8e3f64884c4127d1a3df09a8", "score": "0.68059677", "text": "@Override\r\n\t\t\tpublic void maruti() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "34b43810a805e0d48661629f62b35f2b", "score": "0.6648208", "text": "@Override\r\n\tpublic void 위험물회피() {\n\t\t\r\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65278774", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "096eb77080c8c192fe461650f49ca14b", "score": "0.65149313", "text": "@Override\r\n public void catering() {\r\n\r\n }", "title": "" }, { "docid": "a21047eaafcc2c1ada6326bfbe33e0ad", "score": "0.64755934", "text": "@Override\r\n public void alquilar() {\n }", "title": "" }, { "docid": "646377f9a04958a6eeea1118fddba04e", "score": "0.64358324", "text": "@Override\n\tpublic void refuel() {\n\n\t}", "title": "" }, { "docid": "c2f383f280f298416bf45e72c374ecfa", "score": "0.6414421", "text": "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cc5af39f74474ffdb7b456b8a10d5774", "score": "0.6357822", "text": "@Override\r\n\tpublic void 길안내() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c18c3127184f8abd7be145ddb9d4c3e6", "score": "0.6348844", "text": "@Override\r\n\tpublic void 온도내리기() {\n\t\t\r\n\t}", "title": "" }, { "docid": "bde53ee3de9072b04cd122133e6162a1", "score": "0.6326172", "text": "public void soigner() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fdbf96893589fef5cdd1a8fe92e98938", "score": "0.62869394", "text": "@Override\n\tpublic void enfria() {\n\n\t}", "title": "" }, { "docid": "9ee6be05232928533401d708d518b6ed", "score": "0.62742454", "text": "@Override\r\n\t\t\tpublic void enginetype() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "83c17378086426b4324c4ea8c160e29d", "score": "0.626611", "text": "@Override\r\n\tpublic void provjeri() {\n\r\n\t}", "title": "" }, { "docid": "556495e35d508ac961dae051dd40b377", "score": "0.61844474", "text": "@Override\n\tpublic void afficher() {\n\t\t\n\t}", "title": "" }, { "docid": "9da42c54ca8fb8825afce96ad2d2781c", "score": "0.61519784", "text": "@Override\r\n\tpublic void comenzar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ce01e16cbc1fc0a29d28a4365b63f79d", "score": "0.6131432", "text": "@Override\n\tprotected void specialFuntion() {\n\t\t\n\t}", "title": "" }, { "docid": "c387be8fe936bea8d505f3a779d6ba15", "score": "0.61139184", "text": "@Override\n\tpublic void actualise() {\n\t\t\n\t}", "title": "" }, { "docid": "30c236da9912ee76f7962e7da2c72b59", "score": "0.6074856", "text": "@Override\n\tpublic void chante() {\n\t\t\n\t}", "title": "" }, { "docid": "7839d9b18f833d7ad1ccae8536c829da", "score": "0.605568", "text": "@Override\r\n\tpublic void zielone_swiatlo() {\n\t\t\r\n\t}", "title": "" }, { "docid": "f13a29996996a34a710d85285e104a7f", "score": "0.6034386", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "90586632a4af36d51003a1554ebef902", "score": "0.6030915", "text": "public void mo24205Oz() {\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": "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": "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": "0b7a2d4389f8d1afdedab87d2ac4fb96", "score": "0.5973926", "text": "@Override\n\tprotected void generateData() {\n\t\treturn;\t\t\n\t}", "title": "" }, { "docid": "43f0eb79e8610935222f70ad7a047f4f", "score": "0.59676504", "text": "protected void Referesh() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "69f727ad790d8c02f9f110fb4190bf05", "score": "0.5958382", "text": "@Override\r\n\tpublic void 에어백펼치기() {\n\t\t\r\n\t}", "title": "" }, { "docid": "4fd121321f2d50da2f5700be65d017d8", "score": "0.59534895", "text": "@Override\n\tpublic void filngtonext() {\n\t\t\n\t}", "title": "" }, { "docid": "5289bcfa483e278c4782f4e45b7117eb", "score": "0.59168786", "text": "@Override\n\tpublic void generer() {\n\t\t\n\t}", "title": "" }, { "docid": "c52abf264dc130278399a6a822295dca", "score": "0.5916093", "text": "@Override\n\t\t\tpublic void e() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "661a589ba018609d85af5ba0fc651d02", "score": "0.5909626", "text": "@Override\n\t\tprotected void process() {\n\t\t}", "title": "" }, { "docid": "661a589ba018609d85af5ba0fc651d02", "score": "0.5909626", "text": "@Override\n\t\tprotected void process() {\n\t\t}", "title": "" }, { "docid": "c28afddea09ba99a1adc54b371dabaa1", "score": "0.59047043", "text": "@Override\r\n\tpublic void 온도높이기() {\n\t\t\r\n\t}", "title": "" }, { "docid": "afad8999ad242028a092a07078328021", "score": "0.5886539", "text": "public void mo55240a() {\n }", "title": "" }, { "docid": "6827ba40809e6f9bad9a043036edaa04", "score": "0.58847684", "text": "@Override\r\n\tpublic void dormir() {\n\t}", "title": "" }, { "docid": "6afb1e3a721c7314f12581b77ae35716", "score": "0.5883849", "text": "@Override\n\tprotected void colisao() {\n\t\t\n\t}", "title": "" }, { "docid": "40a41a107fa03a270a78b03d0bcf910d", "score": "0.58717483", "text": "private void ergebnisAuswerten() {\n\n\t}", "title": "" }, { "docid": "c5fa2315669c0925b60762f7cca5f0f6", "score": "0.58611465", "text": "public void mo5203c() {\n }", "title": "" }, { "docid": "a672d2d2a4b7bb037f7f20d62ff1f55e", "score": "0.58465064", "text": "@Override\n\tpublic void ss() {\n\t\t\n\t}", "title": "" }, { "docid": "fa29da40be3a8b33b07b21fe8e0ba298", "score": "0.5842648", "text": "@Override\n\tpublic void notity() {\n\t\t\n\t}", "title": "" }, { "docid": "4ff7fd5d2a0aebc561e81557b528262a", "score": "0.58340675", "text": "@Override\n\tprotected void initialize() {\n\n }", "title": "" }, { "docid": "f323cb003520a5608cea47c5412447e4", "score": "0.58295655", "text": "@Override\n\t\t\t\tpublic int characteristics() {\n\t\t\t\t\treturn 0;\n\t\t\t\t}", "title": "" }, { "docid": "089be79d90be02605e37d2a48b09e194", "score": "0.58192337", "text": "@Override\n\tpublic void gril() {\n\n\t}", "title": "" }, { "docid": "b14d9313b224be37257260448fc816d3", "score": "0.58025044", "text": "@Override\n\tpublic void breathes()\n\t{\n\n\t}", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.57931334", "text": "@Override\n protected void initialize() {\n \n }", "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": "630b43215e2b87f8b2bd389cae71f8a6", "score": "0.5789139", "text": "@Override\n\tprotected void dataAcquisition() {\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "79a702a1409937a9a2dd8f8167323190", "score": "0.5784611", "text": "@Override\n\tvoid promocja() {\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": "86ca2b6b7e0174532c4a1f8a4dec7946", "score": "0.577024", "text": "@Override\r\n\tpublic void 주차보조() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e74841359f2b616460c1fcf1e3e0b696", "score": "0.57600427", "text": "@Override\n\tpublic void Oeffne_Schadenanlage() {\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": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.57514423", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "a8b768dae1b52549249069e4d6a9253f", "score": "0.5750039", "text": "@Override\n public int getType() {\n return 0;\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": "f98329c4ce112f2ebcf93e4b478576a0", "score": "0.5745665", "text": "@Override\r\n\tpublic void work4() {\n\t\t\r\n\t}", "title": "" }, { "docid": "6cfde2be0b51f55a421cdc3e28609c66", "score": "0.57384264", "text": "@Override\n\tprotected void salario() {\n\t\t\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": "f5fd4f1b89ecbb54b8b64a1b9e40552c", "score": "0.5733982", "text": "protected void mo7431b() {\n }", "title": "" }, { "docid": "3fb97b46c147b19f8180197325c66d34", "score": "0.5722489", "text": "@Override\n public void quite() {\n }", "title": "" }, { "docid": "f448e47f2da25727e964a3718545f012", "score": "0.5718643", "text": "public final void mo93547c() {\n }", "title": "" }, { "docid": "9a26c4906f8195084e9ec158504cab47", "score": "0.571633", "text": "@Override\n public void init() {\n \n }", "title": "" }, { "docid": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.5714686", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "d7c48eb628caa38ca564de355edb7e6e", "score": "0.5709367", "text": "@Override\n public int getType() {\n return 1;\n }", "title": "" }, { "docid": "593053b99bc5abca6d010d9e21a31e6b", "score": "0.570741", "text": "@Override\r\n\tpublic void 자율주행하기() {\n\t\t\r\n\t}", "title": "" }, { "docid": "28872bba7a5c17cad13c73f21624cabc", "score": "0.57049847", "text": "@Override\n\tpublic void CreateRs() {\n\t\t\n\t}", "title": "" }, { "docid": "8e056894cd061aea767d71a9c1b43d97", "score": "0.5701457", "text": "@Override\n\tpublic void init(){\n\t}", "title": "" }, { "docid": "2102a3691307d06f0d2ee35d192fccc6", "score": "0.57008916", "text": "protected Encontro() {\n\t}", "title": "" }, { "docid": "e8f6ecd3f06f1f0e76ca511991b76265", "score": "0.5697829", "text": "protected void defesa(){}", "title": "" }, { "docid": "39132efb6b42f8ec625d96ff6226d80b", "score": "0.5696396", "text": "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "title": "" }, { "docid": "09b27558b293ecd91a8d2d3a705d8a37", "score": "0.5676146", "text": "@Override\n\t\t\tpublic void c() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "c937f9289f415cfdd7aefc5d621d0867", "score": "0.567194", "text": "@Override\n protected void inicializar() {\n }", "title": "" }, { "docid": "75e13fc47dcc1e84b4615e5de4d4c091", "score": "0.56708115", "text": "@Override\n public String getName() {\n return null;\n }", "title": "" }, { "docid": "b6c641fa6ba40a5b14cc33cb07aa0671", "score": "0.5669723", "text": "@Override\n\tprotected void initData() {\n\t}", "title": "" }, { "docid": "81488a3212e9004be8808ba15e91f1a5", "score": "0.56636477", "text": "public final void mo93546b() {\n }", "title": "" }, { "docid": "1b6ae1f9acb8e538994b7d00bae50317", "score": "0.5662892", "text": "@Override\n\tprotected void skirmish() {\n\n\t}", "title": "" }, { "docid": "da07444f023c4f45aa766ef285cccf1c", "score": "0.56608945", "text": "@Override\n\tpublic void 吃斋() {\n\n\t}", "title": "" }, { "docid": "9f6aa437b415b967faa876e403ae9f7b", "score": "0.5658635", "text": "@Override\n\t\t\tpublic boolean esTorre() {\n\t\t\t\treturn false;\n\t\t\t}", "title": "" }, { "docid": "9f6aa437b415b967faa876e403ae9f7b", "score": "0.5658635", "text": "@Override\n\t\t\tpublic boolean esTorre() {\n\t\t\t\treturn false;\n\t\t\t}", "title": "" }, { "docid": "9f6aa437b415b967faa876e403ae9f7b", "score": "0.5658635", "text": "@Override\n\t\t\tpublic boolean esTorre() {\n\t\t\t\treturn false;\n\t\t\t}", "title": "" }, { "docid": "9f6aa437b415b967faa876e403ae9f7b", "score": "0.5658635", "text": "@Override\n\t\t\tpublic boolean esTorre() {\n\t\t\t\treturn false;\n\t\t\t}", "title": "" }, { "docid": "9f6aa437b415b967faa876e403ae9f7b", "score": "0.5658635", "text": "@Override\n\t\t\tpublic boolean esTorre() {\n\t\t\t\treturn false;\n\t\t\t}", "title": "" } ]
27882d4ce844f85ff9446921c8bc1089
Create and set up a grid bag constraint with the values given.
[ { "docid": "d167bac5d66d99685633004bc27ae159", "score": "0.5341002", "text": "private GridBagConstraints getConstraints (int x, int y, int width, int height, int fill,\n\t\t\t int anchor, double weightX, double weightY){\n\t\t\tGridBagConstraints c = new GridBagConstraints ();\n\t\t\tc.gridx \t= x;\n\t\t\tc.gridy \t= y;\n\t\t\tc.gridwidth = width;\n\t\t\tc.gridheight = height;\n\t\t\tc.fill \t\t= fill;\n\t\t\tc.anchor \t= anchor;\n\t\t\tc.weightx\t= weightX;\n\t\t\tc.weighty \t= weightY;\n\t\t\treturn c;\n\t\t}", "title": "" } ]
[ { "docid": "d27b5feb9b514a685a4146b341639bec", "score": "0.604428", "text": "public default void setConstraints(GridPane gridpane,int columnCount,int rowCount,int vGap,int hGap,String cssTag) {\n\t\tif(vGap != 0) {gridpane.setVgap(vGap);}\n\t\tif(hGap != 0) {gridpane.setHgap(hGap);}\n\t\tList<ColumnConstraints> columns = new ArrayList<>();\n\t\tint columnNum = 0;\n\t\twhile(columnNum < columnCount) {\n\t\t\tColumnConstraints newColumn = new ColumnConstraints();\n\t\t\tnewColumn.setPercentWidth(100/columnCount);\n\t\t\tcolumns.add(newColumn);\n\t\t\tcolumnNum = columnNum+1;\n\t\t}\n\t\tfor(ColumnConstraints column: columns) {\n\t\t\tgridpane.getColumnConstraints().add(column);\n\t\t}\n\t\t\n\t\tList<RowConstraints> rows = new ArrayList<>();\n\t\tint rowNum = 0;\n\t\twhile(rowNum < rowCount) {\n\t\t\tRowConstraints newRow = new RowConstraints();\n\t\t\tnewRow.setPercentHeight(100/rowCount);\n\t\t\trows.add(newRow);\n\t\t\trowNum = rowNum+1;\n\t\t}\n\t\tfor(RowConstraints row: rows) {\n\t\t\tgridpane.getRowConstraints().add(row);\n\t\t}\n\t\tgridpane.getStyleClass().add(cssTag);\n\t}", "title": "" }, { "docid": "9e3d205ff8b0988f9bd4d0f68f2d57a4", "score": "0.58780694", "text": "public CellConstraints createCellConstraints();", "title": "" }, { "docid": "f40fc224c2c2a7a1ff4cee63c6cd97a0", "score": "0.5660984", "text": "private Object Constraint(int i, int j, double d, double k, int horizontal) {\n\t\tGridBagConstraints c = new GridBagConstraints();\n\t\tc.gridx = i;\n\t\tc.gridy = j;\n\t\tc.weightx = d;\n\t\tc.weighty = k;\n\t\tc.fill = horizontal;\n\t\treturn c;\n\t}", "title": "" }, { "docid": "04e6f2b70bd856d430095395b50ab830", "score": "0.545238", "text": "void addConstraint(List<Float> cs);", "title": "" }, { "docid": "edc3b198eb8c395870c36ebbe03bebde", "score": "0.5372047", "text": "@Test\r\n\tpublic void testECCORE_LLG1_ConstraintGeneration() throws Exception\r\n\t{\r\n\t\tIloCplex cplexSolver = new IloCplex();\r\n\t\tList<Integer> items = new LinkedList<Integer>();\r\n\t\titems.add(1);\r\n\t\titems.add(2);\r\n\t\t\r\n\t\tdouble marginalValueL1 = 0.1;\r\n\t\tdouble marginalValueL2 = 0.2;\r\n\t\tdouble marginalValueG = 0.4;\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tList<Integer> bundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValueL1);\r\n\t\tCombinatorialType t1 = new CombinatorialType();\r\n\t\tt1.addAtomicBid(atom11);\r\n\r\n\t\t//Local bidder\r\n\t\tbundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(1) );\r\n\t\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValueL2);\r\n\t\tCombinatorialType t2 = new CombinatorialType();\r\n\t\tt2.addAtomicBid(atom21);\r\n\t\t\r\n\t\t//Global bidder\r\n\t\tbundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tbundle.add( items.get(1) );\r\n\t\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValueG);\r\n\t\tCombinatorialType t3 = new CombinatorialType();\r\n\t\tt3.addAtomicBid(atom31);\r\n\t\t\r\n\t\tList<Type> bids = new LinkedList<Type>();\r\n\t\tbids.add(t1);\r\n\t\tbids.add(t2);\r\n\t\tbids.add(t3);\r\n\t\t\r\n\t\tList<Double> costs = new LinkedList<Double>();\r\n\t\tcosts.add(0.05);\r\n\t\tcosts.add(0.1);\r\n\t\t\r\n\t\tGridGenerator generator = new GridGenerator(1, 2);\r\n\t\tgenerator.setSeed(0);\r\n\t\tgenerator.buildProximityGraph();\r\n\t\tGraph grid = generator.getGrid();\r\n\t\t\r\n\t\tassertTrue(grid.getVertices().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\r\n\t\t\r\n\t\tdouble primaryReductionCoef = 0.3;\r\n\t\tdouble secondaryReductionCoef = 0.2;\r\n\t\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\r\n\t\tjpmf.setNumberOfSamples(1000000);\r\n\t\tjpmf.setNumberOfBombsToThrow(1);\r\n\t\t\r\n\t\tIBombingStrategy b = new FocusedBombingStrategy(grid, 1., primaryReductionCoef, secondaryReductionCoef);\r\n\t\tList<IBombingStrategy> bombs = new LinkedList<IBombingStrategy>();\r\n\t\tbombs.add(b);\r\n\t\t\r\n\t\tList<Double> pd = new LinkedList<Double>();\r\n\t\tpd.add(1.);\r\n\t\t\r\n\t\tjpmf.setBombs(bombs, pd);\r\n\t\tjpmf.update();\r\n\t\t\r\n\t\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\r\n\t\tauction.setSolver(cplexSolver);\r\n\t\tauction.setPaymentRule(\"EC-CORE\");\r\n\t\tauction.setSeed(0);\r\n\t\ttry\r\n\t\t{\r\n\t\t\tauction.solveIt();\r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\tif( e.getMessage().equals(\"VCG is in the Core\") )\r\n\t\t\t{\r\n\t\t\t\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\r\n\t\t\t\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\r\n\t\t\t\t//System.out.println(\"Test sw = \" + allocation.getExpectedWelfare() );\r\n\t\t\t\tassertTrue( allocation.getBiddersInvolved(0).size() == 1 );\r\n\t\t\t\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.175 ) < 1e-4);\r\n\t\t\t\t\r\n\t\t\t\t//Get allocated buyers involved in the trade \r\n\t\t\t\tassertTrue( allocation.getBiddersInvolved(0).size() == 1);\r\n\t\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 3 );\r\n\t\t\t\t\r\n\t\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 1 );\r\n\t\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\r\n\t\t\t\t\r\n\t\t\t\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6) );\r\n\t\t\t\t\r\n\t\t\t\tdouble[] payments = auction.getPayments();\r\n\t\t\t\tassertTrue( payments.length == 1);\r\n\t\t\t\t\r\n\t\t\t\t//System.out.println(\"payments[0]=\"+payments[0] + \" payments[1]=\" + payments[1]);\r\n\t\t\t\t//System.out.println(\">> \" + allocation.getRealizedRV(0, 0) + \" p[0]=\"+payments[0] + \" p[1]=\"+payments[1]);\r\n\t\t\t\tif( allocation.getRealizedRV(0, 0) == 0.7 )\r\n\t\t\t\t{\r\n\t\t\t\t\tassertTrue( Math.abs(payments[0] - 0.2175) < 1e-4 );\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tassertTrue( allocation.isAllocated(0) );\r\n\t\t\t\tassertTrue( !allocation.isAllocated(1) );\r\n\t\t\t\tassertTrue( !allocation.isAllocated(2) );\r\n\t\t\t\tassertTrue( allocation.isAllocated(3) );\r\n\t\t\t\treturn;\r\n\t\t\t}\t\r\n\t\t}\r\n\t\tassertTrue(false); \t//PaymentException must be thrown\r\n\t}", "title": "" }, { "docid": "f522dc1c3609b0e42ca32e95cc38c4a7", "score": "0.53051937", "text": "private void initialize() {\n\t\tGridBagConstraints gridBagConstraints81 = new GridBagConstraints();\n\t\tgridBagConstraints81.gridx = 1;\n\t\tgridBagConstraints81.weighty = 1.0D;\n\t\tgridBagConstraints81.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints81.gridy = 11;\n\t\tGridBagConstraints gridBagConstraints10 = new GridBagConstraints();\n\t\tgridBagConstraints10.gridx = 1;\n\t\tgridBagConstraints10.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints10.gridy = 9;\n\t\tGridBagConstraints gridBagConstraints9 = new GridBagConstraints();\n\t\tgridBagConstraints9.gridx = 0;\n\t\tgridBagConstraints9.insets = new Insets(5, 10, 0, 0);\n\t\tgridBagConstraints9.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints9.gridy = 9;\n\t\tlblPossibilityDriverHasCar = new JLabel();\n\t\tlblPossibilityDriverHasCar.setText(\"Possibility driver has car:\");\n\t\tGridBagConstraints gridBagConstraints8 = new GridBagConstraints();\n\t\tgridBagConstraints8.gridx = 1;\n\t\tgridBagConstraints8.anchor = GridBagConstraints.NORTHWEST;\n\t\tgridBagConstraints8.gridy = 10;\n\t\tGridBagConstraints gridBagConstraints71 = new GridBagConstraints();\n\t\tgridBagConstraints71.gridx = 1;\n\t\tgridBagConstraints71.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints71.gridy = 8;\n\t\tGridBagConstraints gridBagConstraints6 = new GridBagConstraints();\n\t\tgridBagConstraints6.gridx = 1;\n\t\tgridBagConstraints6.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints6.gridy = 7;\n\t\tGridBagConstraints gridBagConstraints51 = new GridBagConstraints();\n\t\tgridBagConstraints51.gridx = 1;\n\t\tgridBagConstraints51.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints51.gridy = 6;\n\t\tGridBagConstraints gridBagConstraints4 = new GridBagConstraints();\n\t\tgridBagConstraints4.gridx = 0;\n\t\tgridBagConstraints4.insets = new Insets(5, 10, 0, 0);\n\t\tgridBagConstraints4.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints4.gridy = 10;\n\t\tlblPossibilityAdultHasJob = new JLabel();\n\t\tlblPossibilityAdultHasJob.setText(\"Possibility adult has job:\");\n\t\tGridBagConstraints gridBagConstraints32 = new GridBagConstraints();\n\t\tgridBagConstraints32.gridx = 0;\n\t\tgridBagConstraints32.insets = new Insets(5, 10, 0, 0);\n\t\tgridBagConstraints32.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints32.gridy = 8;\n\t\tlblPossibilityAdultIsDriver = new JLabel();\n\t\tlblPossibilityAdultIsDriver.setText(\"Possibility adult is driver:\");\n\t\tGridBagConstraints gridBagConstraints21 = new GridBagConstraints();\n\t\tgridBagConstraints21.gridx = 0;\n\t\tgridBagConstraints21.insets = new Insets(5, 10, 0, 10);\n\t\tgridBagConstraints21.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints21.gridy = 7;\n\t\tlblAverageChildrenPerHouse = new JLabel();\n\t\tlblAverageChildrenPerHouse.setText(\"Average children per house:\");\n\t\tGridBagConstraints gridBagConstraints13 = new GridBagConstraints();\n\t\tgridBagConstraints13.gridx = 0;\n\t\tgridBagConstraints13.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints13.insets = new Insets(5, 10, 0, 0);\n\t\tgridBagConstraints13.gridy = 6;\n\t\tlblAverageAdultsPerHouse = new JLabel();\n\t\tlblAverageAdultsPerHouse.setText(\"Average adults per house:\");\n\t\tGridBagConstraints gridBagConstraints31 = new GridBagConstraints();\n\t\tgridBagConstraints31.gridx = 0;\n\t\tgridBagConstraints31.insets = new Insets(5, 0, 5, 10);\n\t\tgridBagConstraints31.anchor = GridBagConstraints.NORTH;\n\t\tgridBagConstraints31.fill = GridBagConstraints.NONE;\n\t\tgridBagConstraints31.gridwidth = 2;\n\t\tgridBagConstraints31.gridy = 4;\n\t\tGridBagConstraints gridBagConstraints2 = new GridBagConstraints();\n\t\tgridBagConstraints2.gridx = 0;\n\t\tgridBagConstraints2.insets = new Insets(5, 0, 5, 10);\n\t\tgridBagConstraints2.anchor = GridBagConstraints.NORTH;\n\t\tgridBagConstraints2.fill = GridBagConstraints.NONE;\n\t\tgridBagConstraints2.gridwidth = 2;\n\t\tgridBagConstraints2.gridy = 2;\n\t\tGridBagConstraints gridBagConstraints5 = new GridBagConstraints();\n\t\tgridBagConstraints5.gridx = 1;\n\t\tgridBagConstraints5.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints5.gridy = 3;\n\t\tGridBagConstraints gridBagConstraints41 = new GridBagConstraints();\n\t\tgridBagConstraints41.gridx = 1;\n\t\tgridBagConstraints41.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints41.gridy = 1;\n\t\tGridBagConstraints gridBagConstraints12 = new GridBagConstraints();\n\t\tgridBagConstraints12.gridx = 1;\n\t\tgridBagConstraints12.anchor = GridBagConstraints.NORTH;\n\t\tgridBagConstraints12.fill = GridBagConstraints.HORIZONTAL;\n\t\tgridBagConstraints12.insets = new Insets(0, 0, 0, 10);\n\t\tgridBagConstraints12.gridy = 5;\n\t\tGridBagConstraints gridBagConstraints3 = new GridBagConstraints();\n\t\tgridBagConstraints3.gridx = 0;\n\t\tgridBagConstraints3.insets = new Insets(0, 10, 0, 5);\n\t\tgridBagConstraints3.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints3.gridy = 3;\n\t\tlblWorkPositions = new JLabel();\n\t\tlblWorkPositions.setText(\"Work positions:\");\n\t\tGridBagConstraints gridBagConstraints11 = new GridBagConstraints();\n\t\tgridBagConstraints11.gridx = 0;\n\t\tgridBagConstraints11.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints11.insets = new Insets(0, 10, 0, 0);\n\t\tgridBagConstraints11.gridy = 1;\n\t\tlblPopulation = new JLabel();\n\t\tlblPopulation.setText(\"Population:\");\n\t\tGridBagConstraints gridBagConstraints7 = new GridBagConstraints();\n\t\tgridBagConstraints7.gridx = 0;\n\t\tgridBagConstraints7.weighty = 0.0D;\n\t\tgridBagConstraints7.anchor = GridBagConstraints.NORTHWEST;\n\t\tgridBagConstraints7.insets = new Insets(0, 10, 0, 0);\n\t\tgridBagConstraints7.gridy = 5;\n\t\tlblColorTitle = new JLabel();\n\t\tlblColorTitle.setText(\"Color:\");\n\t\tGridBagConstraints gridBagConstraints1 = new GridBagConstraints();\n\t\tgridBagConstraints1.fill = GridBagConstraints.HORIZONTAL;\n\t\tgridBagConstraints1.gridy = 0;\n\t\tgridBagConstraints1.weightx = 1.0;\n\t\tgridBagConstraints1.insets = new Insets(10, 0, 0, 10);\n\t\tgridBagConstraints1.gridx = 1;\n\t\tGridBagConstraints gridBagConstraints = new GridBagConstraints();\n\t\tgridBagConstraints.gridx = 0;\n\t\tgridBagConstraints.insets = new Insets(10, 10, 0, 0);\n\t\tgridBagConstraints.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints.gridy = 0;\n\t\tlblNameTitle = new JLabel();\n\t\tlblNameTitle.setText(\"Name:\");\n\t\tthis.setSize(351, 280);\n\t\tthis.setLayout(new GridBagLayout());\n\t\tthis.add(lblNameTitle, gridBagConstraints);\n\t\tthis.add(getTxtName(), gridBagConstraints1);\n\t\tthis.add(lblColorTitle, gridBagConstraints7);\n\t\tthis.add(lblPopulation, gridBagConstraints11);\n\t\tthis.add(lblWorkPositions, gridBagConstraints3);\n\t\tthis.add(getBtnChangeColor(), gridBagConstraints12);\n\t\tthis.add(getSpnPopulation(), gridBagConstraints41);\n\t\tthis.add(getSpnWorkPositions(), gridBagConstraints5);\n\t\tthis.add(getBtnResidentJobs(), gridBagConstraints2);\n\t\tthis.add(getBtnWorkerJobs(), gridBagConstraints31);\n\t\tthis.add(lblAverageAdultsPerHouse, gridBagConstraints13);\n\t\tthis.add(lblAverageChildrenPerHouse, gridBagConstraints21);\n\t\tthis.add(lblPossibilityAdultIsDriver, gridBagConstraints32);\n\t\tthis.add(lblPossibilityAdultHasJob, gridBagConstraints4);\n\t\tthis.add(getSpnAverageAdultsPerHouse(), gridBagConstraints51);\n\t\tthis.add(getSpnAverageChildrenPerHouse(), gridBagConstraints6);\n\t\tthis.add(getSpnPossibilityAdultIsDriver(), gridBagConstraints71);\n\t\tthis.add(getSpnPossibilityAdultHasJob(), gridBagConstraints8);\n\t\tthis.add(lblPossibilityDriverHasCar, gridBagConstraints9);\n\t\tthis.add(getSpnPossibilityDriverHasCar(), gridBagConstraints10);\n\t\tthis.add(getChkEnabled(), gridBagConstraints81);\n\t}", "title": "" }, { "docid": "f522dc1c3609b0e42ca32e95cc38c4a7", "score": "0.53051937", "text": "private void initialize() {\n\t\tGridBagConstraints gridBagConstraints81 = new GridBagConstraints();\n\t\tgridBagConstraints81.gridx = 1;\n\t\tgridBagConstraints81.weighty = 1.0D;\n\t\tgridBagConstraints81.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints81.gridy = 11;\n\t\tGridBagConstraints gridBagConstraints10 = new GridBagConstraints();\n\t\tgridBagConstraints10.gridx = 1;\n\t\tgridBagConstraints10.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints10.gridy = 9;\n\t\tGridBagConstraints gridBagConstraints9 = new GridBagConstraints();\n\t\tgridBagConstraints9.gridx = 0;\n\t\tgridBagConstraints9.insets = new Insets(5, 10, 0, 0);\n\t\tgridBagConstraints9.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints9.gridy = 9;\n\t\tlblPossibilityDriverHasCar = new JLabel();\n\t\tlblPossibilityDriverHasCar.setText(\"Possibility driver has car:\");\n\t\tGridBagConstraints gridBagConstraints8 = new GridBagConstraints();\n\t\tgridBagConstraints8.gridx = 1;\n\t\tgridBagConstraints8.anchor = GridBagConstraints.NORTHWEST;\n\t\tgridBagConstraints8.gridy = 10;\n\t\tGridBagConstraints gridBagConstraints71 = new GridBagConstraints();\n\t\tgridBagConstraints71.gridx = 1;\n\t\tgridBagConstraints71.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints71.gridy = 8;\n\t\tGridBagConstraints gridBagConstraints6 = new GridBagConstraints();\n\t\tgridBagConstraints6.gridx = 1;\n\t\tgridBagConstraints6.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints6.gridy = 7;\n\t\tGridBagConstraints gridBagConstraints51 = new GridBagConstraints();\n\t\tgridBagConstraints51.gridx = 1;\n\t\tgridBagConstraints51.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints51.gridy = 6;\n\t\tGridBagConstraints gridBagConstraints4 = new GridBagConstraints();\n\t\tgridBagConstraints4.gridx = 0;\n\t\tgridBagConstraints4.insets = new Insets(5, 10, 0, 0);\n\t\tgridBagConstraints4.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints4.gridy = 10;\n\t\tlblPossibilityAdultHasJob = new JLabel();\n\t\tlblPossibilityAdultHasJob.setText(\"Possibility adult has job:\");\n\t\tGridBagConstraints gridBagConstraints32 = new GridBagConstraints();\n\t\tgridBagConstraints32.gridx = 0;\n\t\tgridBagConstraints32.insets = new Insets(5, 10, 0, 0);\n\t\tgridBagConstraints32.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints32.gridy = 8;\n\t\tlblPossibilityAdultIsDriver = new JLabel();\n\t\tlblPossibilityAdultIsDriver.setText(\"Possibility adult is driver:\");\n\t\tGridBagConstraints gridBagConstraints21 = new GridBagConstraints();\n\t\tgridBagConstraints21.gridx = 0;\n\t\tgridBagConstraints21.insets = new Insets(5, 10, 0, 10);\n\t\tgridBagConstraints21.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints21.gridy = 7;\n\t\tlblAverageChildrenPerHouse = new JLabel();\n\t\tlblAverageChildrenPerHouse.setText(\"Average children per house:\");\n\t\tGridBagConstraints gridBagConstraints13 = new GridBagConstraints();\n\t\tgridBagConstraints13.gridx = 0;\n\t\tgridBagConstraints13.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints13.insets = new Insets(5, 10, 0, 0);\n\t\tgridBagConstraints13.gridy = 6;\n\t\tlblAverageAdultsPerHouse = new JLabel();\n\t\tlblAverageAdultsPerHouse.setText(\"Average adults per house:\");\n\t\tGridBagConstraints gridBagConstraints31 = new GridBagConstraints();\n\t\tgridBagConstraints31.gridx = 0;\n\t\tgridBagConstraints31.insets = new Insets(5, 0, 5, 10);\n\t\tgridBagConstraints31.anchor = GridBagConstraints.NORTH;\n\t\tgridBagConstraints31.fill = GridBagConstraints.NONE;\n\t\tgridBagConstraints31.gridwidth = 2;\n\t\tgridBagConstraints31.gridy = 4;\n\t\tGridBagConstraints gridBagConstraints2 = new GridBagConstraints();\n\t\tgridBagConstraints2.gridx = 0;\n\t\tgridBagConstraints2.insets = new Insets(5, 0, 5, 10);\n\t\tgridBagConstraints2.anchor = GridBagConstraints.NORTH;\n\t\tgridBagConstraints2.fill = GridBagConstraints.NONE;\n\t\tgridBagConstraints2.gridwidth = 2;\n\t\tgridBagConstraints2.gridy = 2;\n\t\tGridBagConstraints gridBagConstraints5 = new GridBagConstraints();\n\t\tgridBagConstraints5.gridx = 1;\n\t\tgridBagConstraints5.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints5.gridy = 3;\n\t\tGridBagConstraints gridBagConstraints41 = new GridBagConstraints();\n\t\tgridBagConstraints41.gridx = 1;\n\t\tgridBagConstraints41.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints41.gridy = 1;\n\t\tGridBagConstraints gridBagConstraints12 = new GridBagConstraints();\n\t\tgridBagConstraints12.gridx = 1;\n\t\tgridBagConstraints12.anchor = GridBagConstraints.NORTH;\n\t\tgridBagConstraints12.fill = GridBagConstraints.HORIZONTAL;\n\t\tgridBagConstraints12.insets = new Insets(0, 0, 0, 10);\n\t\tgridBagConstraints12.gridy = 5;\n\t\tGridBagConstraints gridBagConstraints3 = new GridBagConstraints();\n\t\tgridBagConstraints3.gridx = 0;\n\t\tgridBagConstraints3.insets = new Insets(0, 10, 0, 5);\n\t\tgridBagConstraints3.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints3.gridy = 3;\n\t\tlblWorkPositions = new JLabel();\n\t\tlblWorkPositions.setText(\"Work positions:\");\n\t\tGridBagConstraints gridBagConstraints11 = new GridBagConstraints();\n\t\tgridBagConstraints11.gridx = 0;\n\t\tgridBagConstraints11.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints11.insets = new Insets(0, 10, 0, 0);\n\t\tgridBagConstraints11.gridy = 1;\n\t\tlblPopulation = new JLabel();\n\t\tlblPopulation.setText(\"Population:\");\n\t\tGridBagConstraints gridBagConstraints7 = new GridBagConstraints();\n\t\tgridBagConstraints7.gridx = 0;\n\t\tgridBagConstraints7.weighty = 0.0D;\n\t\tgridBagConstraints7.anchor = GridBagConstraints.NORTHWEST;\n\t\tgridBagConstraints7.insets = new Insets(0, 10, 0, 0);\n\t\tgridBagConstraints7.gridy = 5;\n\t\tlblColorTitle = new JLabel();\n\t\tlblColorTitle.setText(\"Color:\");\n\t\tGridBagConstraints gridBagConstraints1 = new GridBagConstraints();\n\t\tgridBagConstraints1.fill = GridBagConstraints.HORIZONTAL;\n\t\tgridBagConstraints1.gridy = 0;\n\t\tgridBagConstraints1.weightx = 1.0;\n\t\tgridBagConstraints1.insets = new Insets(10, 0, 0, 10);\n\t\tgridBagConstraints1.gridx = 1;\n\t\tGridBagConstraints gridBagConstraints = new GridBagConstraints();\n\t\tgridBagConstraints.gridx = 0;\n\t\tgridBagConstraints.insets = new Insets(10, 10, 0, 0);\n\t\tgridBagConstraints.anchor = GridBagConstraints.WEST;\n\t\tgridBagConstraints.gridy = 0;\n\t\tlblNameTitle = new JLabel();\n\t\tlblNameTitle.setText(\"Name:\");\n\t\tthis.setSize(351, 280);\n\t\tthis.setLayout(new GridBagLayout());\n\t\tthis.add(lblNameTitle, gridBagConstraints);\n\t\tthis.add(getTxtName(), gridBagConstraints1);\n\t\tthis.add(lblColorTitle, gridBagConstraints7);\n\t\tthis.add(lblPopulation, gridBagConstraints11);\n\t\tthis.add(lblWorkPositions, gridBagConstraints3);\n\t\tthis.add(getBtnChangeColor(), gridBagConstraints12);\n\t\tthis.add(getSpnPopulation(), gridBagConstraints41);\n\t\tthis.add(getSpnWorkPositions(), gridBagConstraints5);\n\t\tthis.add(getBtnResidentJobs(), gridBagConstraints2);\n\t\tthis.add(getBtnWorkerJobs(), gridBagConstraints31);\n\t\tthis.add(lblAverageAdultsPerHouse, gridBagConstraints13);\n\t\tthis.add(lblAverageChildrenPerHouse, gridBagConstraints21);\n\t\tthis.add(lblPossibilityAdultIsDriver, gridBagConstraints32);\n\t\tthis.add(lblPossibilityAdultHasJob, gridBagConstraints4);\n\t\tthis.add(getSpnAverageAdultsPerHouse(), gridBagConstraints51);\n\t\tthis.add(getSpnAverageChildrenPerHouse(), gridBagConstraints6);\n\t\tthis.add(getSpnPossibilityAdultIsDriver(), gridBagConstraints71);\n\t\tthis.add(getSpnPossibilityAdultHasJob(), gridBagConstraints8);\n\t\tthis.add(lblPossibilityDriverHasCar, gridBagConstraints9);\n\t\tthis.add(getSpnPossibilityDriverHasCar(), gridBagConstraints10);\n\t\tthis.add(getChkEnabled(), gridBagConstraints81);\n\t}", "title": "" }, { "docid": "627b19e547068d6bafde8dd9b8e87c22", "score": "0.52754784", "text": "private GridBagConstraints getConstraintsForPurchaseMenu() {\n\t\tGridBagConstraints gc = new GridBagConstraints();\n\n\t\tgc.fill = GridBagConstraints.HORIZONTAL;\n\t\tgc.anchor = GridBagConstraints.NORTH;\n\t\tgc.gridwidth = GridBagConstraints.REMAINDER;\n\t\tgc.weightx = 1.0d;\n\t\tgc.weighty = 0d;\n\n\t\treturn gc;\n\t}", "title": "" }, { "docid": "eb17165bf7c5cae34d37e9bc25dc2c28", "score": "0.52411306", "text": "public static GridBagConstraints makeGBC(int x, int y, int fill, double wx, double wy) {\n GridBagConstraints gbc = new GridBagConstraints();\n gbc.gridx = x;\n gbc.gridy = y;\n gbc.fill = fill;\n gbc.weightx = wx;\n gbc.weighty = wy;\n return gbc;\n }", "title": "" }, { "docid": "0d3adc293744f3b964d6fca5f890d404", "score": "0.5234562", "text": "private void initialize() {\r\n\ttry {\r\n\t\t// user code begin {1}\r\n\t\t// user code end\r\n\t\tsetName(\"ScalePanel\");\r\n\t\tsetLayout(new java.awt.GridBagLayout());\r\n\t\tsetSize(120, 247);\r\n\r\n\t\tjava.awt.GridBagConstraints constraintsCheckboxAuto = new java.awt.GridBagConstraints();\r\n\t\tconstraintsCheckboxAuto.gridx = 0; constraintsCheckboxAuto.gridy = 1;\r\n\t\tconstraintsCheckboxAuto.gridwidth = 2;\r\n\t\tconstraintsCheckboxAuto.fill = java.awt.GridBagConstraints.HORIZONTAL;\r\n\t\tconstraintsCheckboxAuto.anchor = java.awt.GridBagConstraints.WEST;\r\n\t\tconstraintsCheckboxAuto.insets = new java.awt.Insets(0, 10, 0, 5);\r\n\t\tadd(getCheckboxAuto(), constraintsCheckboxAuto);\r\n\r\n\t\tjava.awt.GridBagConstraints constraintsCheckboxManual = new java.awt.GridBagConstraints();\r\n\t\tconstraintsCheckboxManual.gridx = 0; constraintsCheckboxManual.gridy = 4;\r\n\t\tconstraintsCheckboxManual.gridwidth = 2;\r\n\t\tconstraintsCheckboxManual.fill = java.awt.GridBagConstraints.HORIZONTAL;\r\n\t\tconstraintsCheckboxManual.anchor = java.awt.GridBagConstraints.WEST;\r\n\t\tconstraintsCheckboxManual.insets = new java.awt.Insets(0, 10, 0, 5);\r\n\t\tadd(getCheckboxManual(), constraintsCheckboxManual);\r\n\r\n\t\tjava.awt.GridBagConstraints constraintsTextFieldMin = new java.awt.GridBagConstraints();\r\n\t\tconstraintsTextFieldMin.gridx = 1; constraintsTextFieldMin.gridy = 5;\r\n\t\tconstraintsTextFieldMin.fill = java.awt.GridBagConstraints.HORIZONTAL;\r\n\t\tconstraintsTextFieldMin.anchor = java.awt.GridBagConstraints.EAST;\r\n\t\tconstraintsTextFieldMin.insets = new java.awt.Insets(0, 0, 0, 5);\r\n\t\tadd(getTextFieldMin(), constraintsTextFieldMin);\r\n\r\n\t\tjava.awt.GridBagConstraints constraintsTextFieldMax = new java.awt.GridBagConstraints();\r\n\t\tconstraintsTextFieldMax.gridx = 1; constraintsTextFieldMax.gridy = 6;\r\n\t\tconstraintsTextFieldMax.fill = java.awt.GridBagConstraints.HORIZONTAL;\r\n\t\tconstraintsTextFieldMax.anchor = java.awt.GridBagConstraints.EAST;\r\n\t\tconstraintsTextFieldMax.weightx = 1.0;\r\n\t\tconstraintsTextFieldMax.insets = new java.awt.Insets(0, 0, 5, 5);\r\n\t\tadd(getTextFieldMax(), constraintsTextFieldMax);\r\n\r\n\t\tjava.awt.GridBagConstraints constraintsLabelMin = new java.awt.GridBagConstraints();\r\n\t\tconstraintsLabelMin.gridx = 0; constraintsLabelMin.gridy = 5;\r\n\t\tconstraintsLabelMin.anchor = java.awt.GridBagConstraints.WEST;\r\n\t\tconstraintsLabelMin.insets = new java.awt.Insets(0, 15, 0, 5);\r\n\t\tadd(getLabelMin(), constraintsLabelMin);\r\n\r\n\t\tjava.awt.GridBagConstraints constraintsLabelMax = new java.awt.GridBagConstraints();\r\n\t\tconstraintsLabelMax.gridx = 0; constraintsLabelMax.gridy = 6;\r\n\t\tconstraintsLabelMax.anchor = java.awt.GridBagConstraints.WEST;\r\n\t\tconstraintsLabelMax.insets = new java.awt.Insets(0, 15, 0, 5);\r\n\t\tadd(getLabelMax(), constraintsLabelMax);\r\n\r\n\t\tjava.awt.GridBagConstraints constraintsLabelRealMin = new java.awt.GridBagConstraints();\r\n\t\tconstraintsLabelRealMin.gridx = 1; constraintsLabelRealMin.gridy = 2;\r\n\t\tconstraintsLabelRealMin.fill = java.awt.GridBagConstraints.HORIZONTAL;\r\n\t\tconstraintsLabelRealMin.insets = new java.awt.Insets(0, 0, 0, 5);\r\n\t\tadd(getLabelRealMin(), constraintsLabelRealMin);\r\n\r\n\t\tjava.awt.GridBagConstraints constraintsLabelRealMax = new java.awt.GridBagConstraints();\r\n\t\tconstraintsLabelRealMax.gridx = 1; constraintsLabelRealMax.gridy = 3;\r\n\t\tconstraintsLabelRealMax.fill = java.awt.GridBagConstraints.HORIZONTAL;\r\n\t\tconstraintsLabelRealMax.insets = new java.awt.Insets(0, 0, 0, 5);\r\n\t\tadd(getLabelRealMax(), constraintsLabelRealMax);\r\n\r\n\t\tjava.awt.GridBagConstraints constraintsCheckboxGrayscale = new java.awt.GridBagConstraints();\r\n\t\tconstraintsCheckboxGrayscale.gridx = 0; constraintsCheckboxGrayscale.gridy = 8;\r\n\t\tconstraintsCheckboxGrayscale.gridwidth = 2;\r\n\t\tconstraintsCheckboxGrayscale.fill = java.awt.GridBagConstraints.HORIZONTAL;\r\n\t\tconstraintsCheckboxGrayscale.insets = new java.awt.Insets(0, 10, 0, 5);\r\n\t\tadd(getCheckboxGrayscale(), constraintsCheckboxGrayscale);\r\n\r\n\t\tjava.awt.GridBagConstraints constraintsCheckboxBlueToRed = new java.awt.GridBagConstraints();\r\n\t\tconstraintsCheckboxBlueToRed.gridx = 0; constraintsCheckboxBlueToRed.gridy = 9;\r\n\t\tconstraintsCheckboxBlueToRed.gridwidth = 2;\r\n\t\tconstraintsCheckboxBlueToRed.fill = java.awt.GridBagConstraints.HORIZONTAL;\r\n\t\tconstraintsCheckboxBlueToRed.insets = new java.awt.Insets(0, 10, 5, 5);\r\n\t\tadd(getCheckboxBlueToRed(), constraintsCheckboxBlueToRed);\r\n\r\n\t\tjava.awt.GridBagConstraints constraintsJLabel3 = new java.awt.GridBagConstraints();\r\n\t\tconstraintsJLabel3.gridx = 0; constraintsJLabel3.gridy = 0;\r\n\t\tconstraintsJLabel3.gridwidth = 2;\r\n\t\tconstraintsJLabel3.fill = java.awt.GridBagConstraints.BOTH;\r\n\t\tconstraintsJLabel3.weightx = 1.0;\r\n\t\tconstraintsJLabel3.insets = new java.awt.Insets(5, 5, 0, 5);\r\n\t\tadd(getJLabel3(), constraintsJLabel3);\r\n\r\n\t\tjava.awt.GridBagConstraints constraintsJLabel = new java.awt.GridBagConstraints();\r\n\t\tconstraintsJLabel.gridx = 0; constraintsJLabel.gridy = 2;\r\n\t\tconstraintsJLabel.anchor = java.awt.GridBagConstraints.WEST;\r\n\t\tconstraintsJLabel.insets = new java.awt.Insets(0, 15, 0, 5);\r\n\t\tadd(getJLabel(), constraintsJLabel);\r\n\r\n\t\tjava.awt.GridBagConstraints constraintsJLabel1 = new java.awt.GridBagConstraints();\r\n\t\tconstraintsJLabel1.gridx = 0; constraintsJLabel1.gridy = 3;\r\n\t\tconstraintsJLabel1.anchor = java.awt.GridBagConstraints.WEST;\r\n\t\tconstraintsJLabel1.insets = new java.awt.Insets(0, 15, 0, 5);\r\n\t\tadd(getJLabel1(), constraintsJLabel1);\r\n\r\n\t\tjava.awt.GridBagConstraints constraintsJLabel2 = new java.awt.GridBagConstraints();\r\n\t\tconstraintsJLabel2.gridx = 0; constraintsJLabel2.gridy = 7;\r\n\t\tconstraintsJLabel2.gridwidth = 2;\r\n\t\tconstraintsJLabel2.fill = java.awt.GridBagConstraints.BOTH;\r\n\t\tconstraintsJLabel2.weightx = 1.0;\r\n\t\tconstraintsJLabel2.insets = new java.awt.Insets(0, 5, 0, 5);\r\n\t\tadd(getJLabel2(), constraintsJLabel2);\r\n\t\tinitConnections();\r\n\t\tconnEtoM1();\r\n\t\tconnEtoM2();\r\n\t\tconnEtoM15();\r\n\t\tconnEtoM16();\r\n\t} catch (java.lang.Throwable ivjExc) {\r\n\t\thandleException(ivjExc);\r\n\t}\r\n\t// user code begin {2}\r\n\t// user code end\r\n}", "title": "" }, { "docid": "f914fe8867c9fcd6dd0f0f68a1fb031f", "score": "0.52318496", "text": "IConstraint createConstraint();", "title": "" }, { "docid": "1ee3a4460762b24d544ac82c941dfd82", "score": "0.5225493", "text": "CapacityGoal(BalancingConstraint constraint) {\n _balancingConstraint = constraint;\n }", "title": "" }, { "docid": "0b4ba48c7151f300d26d80a6ed4f2041", "score": "0.5219229", "text": "@Test\r\n\tpublic void testECCCORE_LLG_ConstraintGeneration() throws IloException \r\n\t{\r\n\t\tIloCplex cplexSolver = new IloCplex();\r\n\t\tList<Integer> items = new LinkedList<Integer>();\r\n\t\titems.add(1);\r\n\t\titems.add(2);\r\n\t\t\r\n\t\tdouble marginalValueL1 = 0.1;\r\n\t\tdouble marginalValueL2 = 0.2;\r\n\t\tdouble marginalValueG = 0.3;\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tList<Integer> bundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValueL1);\r\n\t\tCombinatorialType t1 = new CombinatorialType();\r\n\t\tt1.addAtomicBid(atom11);\r\n\r\n\t\t//Local bidder\r\n\t\tbundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(1) );\r\n\t\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValueL2);\r\n\t\tCombinatorialType t2 = new CombinatorialType();\r\n\t\tt2.addAtomicBid(atom21);\r\n\t\t\r\n\t\t//Global bidder\r\n\t\tbundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tbundle.add( items.get(1) );\r\n\t\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValueG);\r\n\t\tCombinatorialType t3 = new CombinatorialType();\r\n\t\tt3.addAtomicBid(atom31);\r\n\t\t\r\n\t\tList<Type> bids = new LinkedList<Type>();\r\n\t\tbids.add(t1);\r\n\t\tbids.add(t2);\r\n\t\tbids.add(t3);\r\n\t\t\r\n\t\tList<Double> costs = new LinkedList<Double>();\r\n\t\tcosts.add(0.05);\r\n\t\tcosts.add(0.1);\r\n\t\t\r\n\t\tGridGenerator generator = new GridGenerator(1, 2);\r\n\t\tgenerator.setSeed(0);\r\n\t\tgenerator.buildProximityGraph();\r\n\t\tGraph grid = generator.getGrid();\r\n\t\t\r\n\t\tassertTrue(grid.getVertices().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\r\n\t\t\r\n\t\tdouble primaryReductionCoef = 0.3;\r\n\t\tdouble secondaryReductionCoef = 0.2;\r\n\t\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\r\n\t\tjpmf.setNumberOfSamples(1000000);\r\n\t\tjpmf.setNumberOfBombsToThrow(1);\r\n\t\t\r\n\t\tIBombingStrategy b1 = new FocusedBombingStrategy(grid, 1., primaryReductionCoef, secondaryReductionCoef);\r\n\t\tIBombingStrategy b2 = new FocusedBombingStrategy(grid, 1., 0.4, 0.3);\r\n\t\tList<IBombingStrategy> bombs = new LinkedList<IBombingStrategy>();\r\n\t\tbombs.add(b1);\r\n\t\tbombs.add(b2);\r\n\t\t\r\n\t\tList<Double> pd = new LinkedList<Double>();\r\n\t\tpd.add(0.5);\r\n\t\tpd.add(0.5);\r\n\t\t\r\n\t\tjpmf.setBombs(bombs, pd);\r\n\t\tjpmf.update();\r\n\t\t\r\n\t\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\r\n\t\tauction.setSolver(cplexSolver);\r\n\t\tauction.setPaymentRule(\"ECC-CORE\");\r\n\t\tauction.setSeed(0);\r\n\t\ttry\r\n\t\t{\r\n\t\t\tauction.solveIt();\r\n\t\t\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\r\n\t\t\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\r\n\t\t\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.105 ) < 1e-4);\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).size() == 2 );\r\n\t\t\t\r\n\t\t\t//Get allocated buyers involved in the trade \r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 1 );\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(1) == 2 );\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 2 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\t\t//First bidder gets its first bid\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(1) == 0 );\t\t//Second bidder gets its first bid\t\t\r\n\t\t\t\r\n\t\t\tdouble[] payments = auction.getPayments();\r\n\t\t\tassertTrue( payments.length == 2);\r\n\t\t\t\r\n\t\t\tSystem.out.println(\">> \" + allocation.getRealizedRV(0, 0) + \" \" + allocation.getRealizedRV(0, 1) + \" p[0]=\"+payments[0] + \" p[1]=\"+payments[1]);\r\n\t\t\tif( Math.abs(allocation.getRealizedRV(0, 0) - 0.7) < 1e-4 && Math.abs(allocation.getRealizedRV(0, 1) - 0.8) < 1e-4 )\r\n\t\t\t{\r\n\t\t\t\tassertTrue( Math.abs(payments[0] - 0.065) < 1e-4 );\r\n\t\t\t\tassertTrue( Math.abs(payments[1] - 0.155) < 1e-4 );\r\n\t\t\t}\r\n\t\t\telse if( Math.abs(allocation.getRealizedRV(0, 0) - 0.8) < 1e-4 && Math.abs(allocation.getRealizedRV(0, 1) - 0.7) < 1e-4 )\r\n\t\t\t{\r\n\t\t\t\tassertTrue( Math.abs(payments[0] - 0.0775) < 1e-4 );\r\n\t\t\t\tassertTrue( Math.abs(payments[1] - 0.1375) < 1e-4 );\r\n\t\t\t} \r\n\t\t\telse if( Math.abs(allocation.getRealizedRV(0, 0) - 0.6) < 1e-4 && Math.abs(allocation.getRealizedRV(0, 1) - 0.7) < 1e-4 )\r\n\t\t\t{\r\n\t\t\t\tassertTrue( Math.abs(payments[0] - 0.055) < 1e-4 );\r\n\t\t\t\tassertTrue( Math.abs(payments[1] - 0.135) < 1e-4 );\r\n\t\t\t}\r\n\t\t\telse if( Math.abs(allocation.getRealizedRV(0, 0) - 0.7) < 1e-4 && Math.abs(allocation.getRealizedRV(0, 1) - 0.6) < 1e-4 )\r\n\t\t\t{\r\n\t\t\t\tassertTrue( Math.abs(payments[0] - 0.0675) < 1e-4 );\r\n\t\t\t\tassertTrue( Math.abs(payments[1] - 0.1175) < 1e-4 );\r\n\t\t\t}\r\n\t\t\telse throw new RuntimeException(\"Wrong realized a vailabilities\");\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.isAllocated(0) );\r\n\t\t\tassertTrue( allocation.isAllocated(1) );\r\n\t\t\tassertTrue( allocation.isAllocated(2) );\r\n\t\t\tassertTrue(!allocation.isAllocated(3) );\r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{ \r\n\t\t\te.printStackTrace(); \r\n\t\t}\r\n\t}", "title": "" }, { "docid": "e2749d480d9b94f5d29562c9b367f6f8", "score": "0.5210333", "text": "public ConstraintHandler(GUIBuilderState guiState) {\n super(guiState);\n }", "title": "" }, { "docid": "ac37ed143a2ef110eb034cd8fe4db82f", "score": "0.52085215", "text": "public static GridBagConstraints makeGBC(int x, int y, int w, int h, int fill, \n double wx, double wy) {\n GridBagConstraints gbc = new GridBagConstraints();\n gbc.gridx = x;\n gbc.gridy = y;\n gbc.gridwidth = w;\n gbc.gridheight = h;\n gbc.fill = fill;\n gbc.weightx = wx;\n gbc.weighty = wy;\n return gbc;\n }", "title": "" }, { "docid": "2402909adc50aef6bb89e874a65ec254", "score": "0.5208407", "text": "private void initialize() {\n\t\tGridBagConstraints gridBagConstraints11 = new GridBagConstraints();\n\t\tgridBagConstraints11.gridx = 0;\n\t\tgridBagConstraints11.gridwidth = 2;\n\t\tgridBagConstraints11.insets = new Insets(3, 0, 3, 0);\n\t\tgridBagConstraints11.anchor = GridBagConstraints.CENTER;\n\t\tgridBagConstraints11.gridy = 1;\n\t\tGridBagConstraints gridBagConstraints1 = new GridBagConstraints();\n\t\tgridBagConstraints1.gridx = 0;\n\t\tgridBagConstraints1.fill = GridBagConstraints.BOTH;\n\t\tgridBagConstraints1.weightx = 1.0D;\n\t\tgridBagConstraints1.weighty = 1.0D;\n\t\tgridBagConstraints1.gridy = 3;\n\t\tGridBagConstraints gridBagConstraints = new GridBagConstraints();\n\t\tgridBagConstraints.gridx = 0;\n\t\tgridBagConstraints.gridwidth = 2;\n\t\tgridBagConstraints.fill = GridBagConstraints.BOTH;\n\t\tgridBagConstraints.weightx = 1.0D;\n\t\tgridBagConstraints.weighty = 2.0D;\n\t\tgridBagConstraints.insets = new Insets(5, 1, 0, 0);\n\t\tgridBagConstraints.gridy = 0;\n\t\tGridBagConstraints fromTopButtonConstraints = new GridBagConstraints();\n\t\tfromTopButtonConstraints.gridx = 0;\n\t\tfromTopButtonConstraints.gridy = 2;\n\t\tfromTopButtonConstraints.weightx = 1.0D;\n\t\tfromTopButtonConstraints.weighty = 1.0D;\n\t\tfromTopButtonConstraints.fill = GridBagConstraints.BOTH;\n\t\tGridBagConstraints nextButtonConstraints = new GridBagConstraints();\n\t\tnextButtonConstraints.gridx = 1;\n\t\tnextButtonConstraints.gridy = 2;\n\t\tnextButtonConstraints.weightx = 1.0D;\n\t\tnextButtonConstraints.weighty = 1.0D;\n\t\tnextButtonConstraints.fill = GridBagConstraints.BOTH;\n\t\tGridBagConstraints previousButtonConstraints = new GridBagConstraints();\n\t\tpreviousButtonConstraints.gridx = 1;\n\t\tpreviousButtonConstraints.gridy = 3;\n\t\tpreviousButtonConstraints.weightx = 1.0D;\n\t\tpreviousButtonConstraints.weighty = 1.0D;\n\t\tpreviousButtonConstraints.fill = GridBagConstraints.BOTH;\n\t\tthis.setLayout(new GridBagLayout());\n\t\tthis.setBounds(new Rectangle(0, 0, 318, 138));\n\t\tGridBagConstraints closeConstraints = new GridBagConstraints();\n\t\tcloseConstraints.gridx = 0;\n\t\tcloseConstraints.gridy = 4;\n\t\tcloseConstraints.weightx = 1.0D;\n\t\tcloseConstraints.weighty = 1.0D;\n\t\tcloseConstraints.gridwidth = 3;\n\t\tcloseConstraints.gridheight = 2;\n\t\tcloseConstraints.insets = new Insets(11, 0, 0, 0);\n\t\tcloseConstraints.fill = GridBagConstraints.BOTH;\n\t\tthis.add(getFromTopButton(), fromTopButtonConstraints);\n\t\tthis.add(getNextButton(), nextButtonConstraints);\n\t\tthis.add(getFromBottomButton(), gridBagConstraints1);\n\t\tthis.add(getPreviousButton(), previousButtonConstraints);\n\t\tthis.add(getCloseButton(), closeConstraints);\n\t\tthis.add(getTextPanel(), gridBagConstraints);\n\t\tthis.add(getCasePanel(), gridBagConstraints11);\n\t}", "title": "" }, { "docid": "145f96c362fd56d76f0b88172e97b0c8", "score": "0.52077794", "text": "public void orderNSquaredConstraints() {\n\t\tGRBVar[][][] feasibilityVariables = new GRBVar[size][size][size * size];\r\n\r\n\t\tfor (int i = 0; i < size; i++) {\r\n\t\t\tfor (int j = 0; j < size; j++) {\r\n\t\t\t\tfor (int k = 0; k < size * size; k++) {\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tif (k != 0) {\r\n\t\t\t\t\t\t\tfeasibilityVariables[i][j][k] = GRBModel.addVar(0.0, 1.0, 0.0, GRB.BINARY,\r\n\t\t\t\t\t\t\t\t\t\"feasibilityVariables_row_\" + row + \"column\" + column + \"Timestep\" + k\r\n\t\t\t\t\t\t\t\t\t\t\t+ Math.random());\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tif (i == 0 && j == 0) {\r\n\t\t\t\t\t\t\t\tfeasibilityVariables[i][j][k] = GRBModel.addVar(1.0, 1.0, 1.0, GRB.BINARY,\r\n\t\t\t\t\t\t\t\t\t\t\"feasibilityVariables_row_\" + row + \"column\" + column + \"Timestep\" + k\r\n\t\t\t\t\t\t\t\t\t\t\t\t+ Math.random());\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\tfeasibilityVariables[i][j][k] = GRBModel.addVar(0.0, 0.0, 0.0, GRB.BINARY,\r\n\t\t\t\t\t\t\t\t\t\t\"feasibilityVariables_row_\" + row + \"column\" + column + \"Timestep\" + k\r\n\t\t\t\t\t\t\t\t\t\t\t\t+ Math.random());\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tGRBLinExpr obstacleConstraint = new GRBLinExpr();\r\n\t\t\t\t\t\tobstacleConstraint.addConstant(1.0);\r\n\t\t\t\t\t\tobstacleConstraint.addTerm(-1.0, grid.get(i).get(j));\r\n\t\t\t\t\t\tGRBModel.addConstr(feasibilityVariables[i][j][k], GRB.LESS_EQUAL, obstacleConstraint,\r\n\t\t\t\t\t\t\t\t\"obsConstrForRow\" + row + \"Column\" + column + \"Timestep\" + k + Math.random());\r\n\t\t\t\t\t} catch (GRBException e) {\r\n\t\t\t\t\t\te.printStackTrace();\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\tfor (int i = 0; i < size; i++) {\r\n\t\t\tfor (int j = 0; j < size; j++) {\r\n\t\t\t\tfor (int k = 1; k < size * size; k++) {\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tGRBVar[] orCondition = new GRBVar[5];\r\n\t\t\t\t\t\tGRBVar orVariable = GRBModel.addVar(0.0, 1.0, 0.0, GRB.BINARY, \"milne\" + Math.random());\r\n\t\t\t\t\t\torCondition[0] = feasibilityVariables[i][j][k - 1];\r\n\t\t\t\t\t\tif (i > 0)\r\n\t\t\t\t\t\t\torCondition[1] = feasibilityVariables[i - 1][j][k - 1];\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\torCondition[1] = GRBModel.addVar(0.0, 0.0, 0.0, GRB.BINARY, \"milne\" + Math.random());\r\n\t\t\t\t\t\tif (i != size - 1)\r\n\t\t\t\t\t\t\torCondition[2] = feasibilityVariables[i + 1][j][k - 1];\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\torCondition[2] = GRBModel.addVar(0.0, 0.0, 0.0, GRB.BINARY, \"milne\" + Math.random());\r\n\t\t\t\t\t\tif (j > 0)\r\n\t\t\t\t\t\t\torCondition[3] = feasibilityVariables[i][j - 1][k - 1];\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\torCondition[3] = GRBModel.addVar(0.0, 0.0, 0.0, GRB.BINARY, \"milne\" + Math.random());\r\n\t\t\t\t\t\tif (j != size - 1)\r\n\t\t\t\t\t\t\torCondition[4] = feasibilityVariables[i][j + 1][k - 1];\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\torCondition[4] = GRBModel.addVar(0.0, 0.0, 0.0, GRB.BINARY, \"milne\" + Math.random());\r\n\r\n\t\t\t\t\t\tGRBModel.addGenConstrOr(orVariable, orCondition, \"orI\" + i + \"j\" + j + \"k\" + k);\r\n\t\t\t\t\t\tGRBModel.addConstr(feasibilityVariables[i][j][k], GRB.LESS_EQUAL, orVariable,\r\n\t\t\t\t\t\t\t\t\"orConstrI\" + i + \"j\" + j + \"k\" + k);\r\n\r\n\t\t\t\t\t\tGRBLinExpr kPlusOneConstraint = new GRBLinExpr();\r\n\t\t\t\t\t\tkPlusOneConstraint.addTerm(-1.0, grid.get(i).get(j));\r\n\t\t\t\t\t\tkPlusOneConstraint.addTerm(1.0, orVariable);\r\n\t\t\t\t\t\tGRBModel.addConstr(feasibilityVariables[i][j][k], GRB.GREATER_EQUAL, kPlusOneConstraint,\r\n\t\t\t\t\t\t\t\t\"kPlusONeConstraintI\" + i + \"j\" + j + \"k\" + k);\r\n\r\n\t\t\t\t\t} catch (GRBException e) {\r\n\t\t\t\t\t\te.printStackTrace();\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\ttry {\r\n\t\t\tGRBModel.addConstr(feasibilityVariables[size - 1][0][(size * size) - 1], GRB.EQUAL, 1,\r\n\t\t\t\t\t\"NewFeasibilityConstraint\");\r\n\t\t} catch (GRBException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "b687e6edc4be9134debe7c268600393b", "score": "0.52023256", "text": "@Test\r\n\tpublic void testECCCORE_LLG2_ConstraintGeneration() throws Exception \r\n\t{\r\n\t\tIloCplex cplexSolver = new IloCplex();\r\n\t\tList<Integer> items = new LinkedList<Integer>();\r\n\t\titems.add(1);\r\n\t\titems.add(2);\r\n\t\t\r\n\t\tdouble marginalValueL1 = 0.3867;\r\n\t\tdouble marginalValueL2 = 0.7139;\r\n\t\tdouble marginalValueG = 0.9067;\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tList<Integer> bundle = Arrays.asList( items.get(0) );\r\n\t\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValueL1);\r\n\t\tCombinatorialType t1 = new CombinatorialType();\r\n\t\tt1.addAtomicBid(atom11);\r\n\r\n\t\t//Local bidder\r\n\t\tbundle = Arrays.asList( items.get(1) );\r\n\t\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValueL2);\r\n\t\tCombinatorialType t2 = new CombinatorialType();\r\n\t\tt2.addAtomicBid(atom21);\r\n\t\t\r\n\t\t//Global bidder\r\n\t\tbundle = Arrays.asList( items.get(0), items.get(1) );\r\n\t\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValueG);\r\n\t\tCombinatorialType t3 = new CombinatorialType();\r\n\t\tt3.addAtomicBid(atom31);\r\n\t\t\r\n\t\tList<Type> bids = Arrays.asList(t1, t2, t3);\r\n\t\t\r\n\t\tList<Double> costs = Arrays.asList(0.7275, 0.6832);\r\n\t\t\r\n\t\tGridGenerator generator = new GridGenerator(1, 2);\r\n\t\tgenerator.setSeed(0);\r\n\t\tgenerator.buildProximityGraph();\r\n\t\tGraph grid = generator.getGrid();\r\n\t\t\r\n\t\tassertTrue(grid.getVertices().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\r\n\t\t\r\n\t\tdouble primaryReductionCoef = 0.3;\r\n\t\tdouble secondaryReductionCoef = 0.2;\r\n\t\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\r\n\t\tjpmf.setNumberOfSamples(1000000);\r\n\t\tjpmf.setNumberOfBombsToThrow(1);\r\n\t\t\r\n\t\tIBombingStrategy b = new FocusedBombingStrategy(grid, 1., primaryReductionCoef, secondaryReductionCoef);\r\n\t\tList<IBombingStrategy> bombs = new LinkedList<IBombingStrategy>();\r\n\t\tbombs.add(b);\r\n\t\t\r\n\t\tList<Double> pd = Arrays.asList(1.);\r\n\t\t\r\n\t\tjpmf.setBombs(bombs, pd);\r\n\t\tjpmf.update();\r\n\t\t\r\n\t\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\r\n\t\tauction.setSolver(cplexSolver);\r\n\t\tauction.setPaymentRule(\"ECC-CORE\");\r\n\t\tauction.setSeed(0);\r\n\t\ttry\r\n\t\t{\r\n\t\t\tauction.solveIt();\r\n\t\t\tthrow new RuntimeException(\"VCG should be in the core for this setting\");\r\n\t\t}\r\n\t\tcatch (PaymentException e)\r\n\t\t{\r\n\t\t\tif( e.getMessage().equals(\"VCG is in the Core\"))\r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\"VCG is in the Core\");\r\n\t\t\t\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\r\n\t\t\t\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\r\n\t\t\t\tassertTrue(allocation.getBiddersInvolved(0).size() == 1);\r\n\t\t\t\tassertTrue(allocation.getBiddersInvolved(0).get(0) == 2);\r\n\t\t\t\t\r\n\t\t\t\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.0230 ) < 1e-4);\r\n\t\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 1 );\r\n\t\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\r\n\t\t\t\t\r\n\t\t\t\tdouble[] payments = auction.getPayments();\r\n\t\t\t\tassertTrue(payments.length == 1);\r\n\t\t\t\t\r\n\t\t\t\tif(allocation.getRealizedRV(0, 0) == 0.7)\r\n\t\t\t\t\tassertTrue( Math.abs( payments[0] - 0.6832*0.7) < 1e-4 );\r\n\t\t\t\telse if(allocation.getRealizedRV(0, 0) == 0.8)\r\n\t\t\t\t\tassertTrue( Math.abs( payments[0] - 0.6832*0.8) < 1e-4 );\r\n\t\t\t\telse throw new RuntimeException(\"Incorrect realization of RV\");\r\n\t\t\t\t\r\n\t\t\t\tassertTrue( allocation.isAllocated(0) );\r\n\t\t\t\tassertTrue( !allocation.isAllocated(1) );\r\n\t\t\t\tassertTrue( allocation.isAllocated(2) );\r\n\t\t\t\tassertTrue( !allocation.isAllocated(3) );\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "0a27c464ced090191cec296a2c034115", "score": "0.51861435", "text": "private void init(){\n setLayout(m_gbl);\n\n m_gbc.gridx = 0;\n m_gbc.gridy = 0;\n m_gbc.gridwidth = 1;\n //m_gbc.weightx = 1;\n //m_gbc.weighty = 1;\n m_gbc.fill = GridBagConstraints.VERTICAL;\n m_gbc.insets = new Insets(2,2,2,2);\n\n m_gbc.anchor = GridBagConstraints.EAST;\n m_numClustLbl = new JLabel();\n m_numClustLbl.setText(\"Number of clusters: \");\n //m_numClustLbl.setFont(new Font(\"Arial\", Font.BOLD,10));\n m_numClustLbl.setToolTipText(\"Enter integer value > 2 specifying number of clusters desired.\");\n m_gbl.setConstraints(m_numClustLbl, m_gbc);\n\n m_gbc.gridx = 1;\n m_gbc.anchor = GridBagConstraints.WEST;\n m_numClust = new JTextField(Integer.toString((_src.getNumberOfClusters() < 2)?5:_src.getNumberOfClusters()), 5);\n m_numClust.setFont(new Font(\"Arial\", Font.BOLD,12));\n m_numClust.setToolTipText(\"Enter integer value > 2 specifying number of clusters desired.\");\n m_gbl.setConstraints(m_numClust, m_gbc);\n\n\n\n m_gbc.gridx = 0;\n m_gbc.gridy++;\n m_gbc.gridwidth = 1;\n m_gbc.fill = GridBagConstraints.VERTICAL;\n m_gbc.insets = new Insets(2,2,2,2);\n\n m_gbc.anchor = GridBagConstraints.EAST;\n m_maxPartLbl = new JLabel();\n m_maxPartLbl.setText(\"Max partition size: \");\n m_maxPartLbl.setToolTipText(\"Enter integer value > 0 specifying max partition size.\");\n m_gbl.setConstraints(m_maxPartLbl, m_gbc);\n\n m_gbc.gridx = 1;\n m_gbc.anchor = GridBagConstraints.WEST;\n m_maxPart = new JTextField(Integer.toString((_src.getmaxPartitionSize() < 1)?250:_src.getmaxPartitionSize()), 7);\n m_maxPart.setFont(new Font(\"Arial\", Font.BOLD,12));\n m_maxPart.setToolTipText(\"Enter integer value > 0 specifying max partition size.\");\n m_gbl.setConstraints(m_maxPart, m_gbc);\n\n\n\n m_gbc.gridx = 0;\n m_gbc.gridy++;\n m_gbc.gridwidth = 1;\n m_gbc.fill = GridBagConstraints.VERTICAL;\n m_gbc.insets = new Insets(2,2,2,2);\n\n m_gbc.anchor = GridBagConstraints.EAST;\n m_nthSortLbl = new JLabel();\n m_nthSortLbl.setText(\"Sort attribute: \");\n m_nthSortLbl.setToolTipText(\"Enter integer value >= 0 specifying the index of attribute to sort on.\");\n m_gbl.setConstraints(m_nthSortLbl, m_gbc);\n\n m_gbc.gridx = 1;\n m_gbc.anchor = GridBagConstraints.WEST;\n m_nthSort = new JTextField(Integer.toString((_src.getNthSortTerm() < 0)?0:_src.getNthSortTerm()), 5);\n m_nthSort.setFont(new Font(\"Arial\", Font.BOLD,12));\n m_nthSort.setToolTipText(\"Enter integer value >= 0 specifying the index of attribute to sort on.\");\n m_gbl.setConstraints(m_nthSort, m_gbc);\n\n m_gbc.gridwidth = 2;\n\n m_gbc.gridx = 0;\n m_gbc.gridy++;\n m_gbc.insets = new Insets(4,2,2,2);\n m_gbc.anchor = GridBagConstraints.CENTER;\n m_verbose = new JCheckBox(\"Verbose\", _src.getVerbose());\n m_verbose.setToolTipText(\"Print verbose messages to console.\");\n m_gbl.setConstraints(m_verbose, m_gbc);\n m_verbose.setVisible(_showVerbose);\n\n m_gbc.gridy++;\n m_gbc.anchor = GridBagConstraints.CENTER;\n m_gbc.insets = new Insets(4,2,2,2);\n this.m_checkMV = new JCheckBox(\"Check Missing for Values\",_src.getCheckMissingValues());\n m_checkMV.setToolTipText(\"Screen for missing values in the input table.\");\n m_gbl.setConstraints(m_checkMV, m_gbc);\n m_checkMV.setVisible(this._showMVCheck);\n\n add(m_numClustLbl);\n add(m_numClust);\n add(m_maxPartLbl);\n add(m_maxPart);\n add(m_nthSortLbl);\n add(m_nthSort);\n add(m_verbose);\n add(m_checkMV);\n\n this.setMinimumSize(this.getPreferredSize());\n this.validateTree();\n\n }", "title": "" }, { "docid": "ba1b7855a1e9696956b883ecba75c952", "score": "0.51832074", "text": "private void populateConstraints() {\n constraints = ArrayListMultimap.create();\n for (Name name : moduleVersionPool.keySet()) {\n Set<Name> dependencies = Sets.newLinkedHashSet();\n for (Module module : registry.getModuleVersions(name)) {\n for (DependencyInfo dependency : module.getMetadata().getDependencies()) {\n dependencies.add(dependency.getId());\n }\n }\n\n for (Name dependency : dependencies) {\n Map<Version, VersionRange> constraintTable = Maps.newHashMapWithExpectedSize(moduleVersionPool.get(name).size());\n for (Version version : moduleVersionPool.get(name)) {\n Module versionedModule = registry.getModule(name, version);\n DependencyInfo info = versionedModule.getMetadata().getDependencyInfo(dependency);\n if (info != null) {\n constraintTable.put(version, info.versionRange());\n }\n }\n constraints.put(name, new Constraint(name, dependency, constraintTable));\n constraints.put(dependency, new Constraint(name, dependency, constraintTable));\n }\n }\n }", "title": "" }, { "docid": "8dd20871c54b3ff388c9492d5f49c70e", "score": "0.51780474", "text": "public void setConstraints (ConstraintKnowledge constraints) {\n\tthis.ck=constraints;\n }", "title": "" }, { "docid": "85c394a4a519d36e96470539031f9b67", "score": "0.5174419", "text": "public static GridBagConstraints makeGBC(int x, int y, int w, int h, int fill, \n Insets insets, double wx, double wy) {\n GridBagConstraints gbc = new GridBagConstraints();\n gbc.gridx = x;\n gbc.gridy = y;\n gbc.gridwidth = w;\n gbc.gridheight = h;\n gbc.fill = fill;\n gbc.insets = insets;\n gbc.weightx = wx;\n gbc.weighty = wy;\n return gbc;\n }", "title": "" }, { "docid": "e01b3df662cf348a6b8e241a580ee54d", "score": "0.5163964", "text": "public static GridBagConstraints makeGBC(int x, int y, int fill, Insets insets, double wx, double wy) {\n GridBagConstraints gbc = new GridBagConstraints();\n gbc.gridx = x;\n gbc.gridy = y;\n gbc.fill = fill;\n gbc.insets = insets;\n gbc.weightx = wx;\n gbc.weighty = wy;\n return gbc;\n }", "title": "" }, { "docid": "30ff384905d5f522983bb43ec65df76e", "score": "0.5154774", "text": "public void setConstraints (Container cont, Component it, int x, int y,\n\t\t\t\tint width, int height, int fill,\n\t\t\t int anchor, double weightX, double weightY)\n\t\t{\n\t\t\tGridBagConstraints c = this.getConstraints (x, y, width, height, fill, anchor, weightX, weightY);\n\t\t\tc.insets = new Insets (2, 2, 2, 2);\n\t\t\t((GridBagLayout) cont.getLayout()).setConstraints (it, c);\n\t\t\tcont.add (it);\n\t\t}", "title": "" }, { "docid": "3be9b4deb79ee234be24a0e7572843cc", "score": "0.5138083", "text": "public void addGridBagComponent(Container container, JComponent comp, GridBagLayout g, GridBagConstraints c,\n int gx, int gy, int a, int gw, int gh, int f, double wx, double wy)\n {\n c.gridx = gx;\n c.gridy = gy;\n c.anchor = a;\n c.insets = new Insets(2, 2, 2, 2);\n c.ipadx = 2;\n c.ipady = 2;\n c.gridwidth = gw;\n c.gridheight = gh;\n c.fill = f;\n c.weightx = wx;\n c.weighty = wy;\n g.setConstraints(comp, c);\n container.add(comp);\n }", "title": "" }, { "docid": "dc3e0d75095da7cc3c141209c546322b", "score": "0.512167", "text": "private GridBagConstraints createGbc(int x, int y) {\n GridBagConstraints gbc = new GridBagConstraints();\n gbc.gridx = x;\n gbc.gridy = y;\n gbc.gridwidth = 1;\n gbc.gridheight = 1;\n\n gbc.anchor = x == 0 ? GridBagConstraints.WEST : GridBagConstraints.EAST;\n gbc.fill = GridBagConstraints.HORIZONTAL;\n\n gbc.insets = (x == 0) ? WEST_INSETS : EAST_INSETS;\n gbc.weightx = (x == 0) ? 0.1 : 1.0;\n gbc.weighty = 0.75;\n return gbc;\n }", "title": "" }, { "docid": "13a22febbe5c28246d3768d54d1e339f", "score": "0.5093586", "text": "public BubbleGrid(int[][] grid) {\n this.grid = grid;\n }", "title": "" }, { "docid": "d22207461d2f7ceb471e0e3605bf01ba", "score": "0.50913906", "text": "private void initFixedConstraints() {\n\n\t\tboolean hasChanged = true;\n\t\t//While the fixed constrains where changed \n\t\twhile (hasChanged) {\n\t\t\thasChanged = false;\n\t\t\t//Loops over the fixed constrains for each index\n\t\t\tfor (int i = 0; i < fixedConstrains.length; i++) {\n\t\t\t\tint radIndex = (int) Math.floor(i / size);\n\t\t\t\tint colIndex = i % size;\n\t\t\t\t\n\t\t\t\t//Removes the fixed values for the row from the possible values this index can be\n\t\t\t\tfor (int k = radIndex * size, to = radIndex * size + size; k < to; k++) {\n\t\t\t\t\tif (i != k && isConstrainedIndex(k))\n\t\t\t\t\t\tfixedConstrains[i].removeValue(values[k]);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t//Same for column\n\t\t\t\tfor (int j = colIndex; j < values.length; j += size) {\n\t\t\t\t\tif (i != j && isConstrainedIndex(j))\n\t\t\t\t\t\tfixedConstrains[i].removeValue(values[j]);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t//Same for bulk\n\t\t\t\tint startIndex = i - (radIndex % bulkSize) * size - colIndex\n\t\t\t\t\t\t% bulkSize, bulkLength = startIndex + size\n\t\t\t\t\t\t* (bulkSize - 1) + bulkSize;\n\t\t\t\tfor (int k = startIndex; k < bulkLength; k += size) {\n\t\t\t\t\tfor (int k2 = 0; k2 < bulkSize; k2++) {\n\t\t\t\t\t\tint index = k + k2;\n\t\t\t\t\t\tif (i != index && isConstrainedIndex(index))\n\t\t\t\t\t\t\tfixedConstrains[i].removeValue(values[index]);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t//If this index only can be one value set it to this value \n\t\t\t\t// and make it a fixed value\n\t\t\t\t//Also set that the fixed constrains have changed\n\t\t\t\tif (fixedConstrains[i].size() == 1 && !isConstrainedIndex(i)) {\n\t\t\t\t\thasChanged = true;\n\t\t\t\t\tconstrainedIndexes[i] = true;\n\t\t\t\t\tvalues[i] = fixedConstrains[i].get(0);\n\t\t\t\t}\n\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "dceb1eacc0bf71d66ea1c819224ee1fc", "score": "0.50773364", "text": "public void setConstraints (Container cont, Component it, int x, int y, int width, int height, int fill,\n\t\t\t int anchor, double weightX, double weightY, Insets insets)\n\t\t{\n\t\t\tGridBagConstraints c = this.getConstraints (x, y, width, height, fill, anchor, weightX, weightY);\n\t\t\tc.insets \t= insets;\n\t\t\t((GridBagLayout) cont.getLayout()).setConstraints (it, c);\n\t\t\tcont.add (it);\n\t\t}", "title": "" }, { "docid": "447f0f5a3181d4f1a8efc7c52199039d", "score": "0.505438", "text": "public Graph(int V){\n\t\tthis.V=V;\n\t\tthis.E=0;\n\t\tbg= (Bag<Integer>[]) new Bag[V]; //casting done\n\t\tfor(int i=0;i<V;i++){\n\t\t\tbg[i]= new Bag<Integer>();\n\t\t}\n\t}", "title": "" }, { "docid": "5d8c1c2e976f2a2dfc9bf5423a107e27", "score": "0.5007862", "text": "public void createGrid(){\n\t\tcreateBorder();\n\t\tcreateRandomFences();\n\t\tcreateMhos();\n\t}", "title": "" }, { "docid": "63bc42fea2288abd702d88173324ce5a", "score": "0.49861103", "text": "public static void inputBounds(){\n \t int lowerBound = lowerBoundValidation();\n \t Matrix.setLowerBound(lowerBound);\n \t int upperBound = upperBoundValidation(lowerBound);\n \t Matrix.setUpperBound(upperBound);\n }", "title": "" }, { "docid": "e3b52ac092562db090ee35c482bb930e", "score": "0.49368092", "text": "private <T extends BinaryInvariant> void augmentInvariant(T inv,\n Pair<IThresholdConstraint, IThresholdConstraint> constraints) {\n TempConstrainedInvariant<T> lowerConstrInv = new TempConstrainedInvariant<T>(\n inv, constraints.getLeft(),\n AbstractMain.getInstance().options.outputSupportCount);\n TempConstrainedInvariant<T> upperConstrInv = new TempConstrainedInvariant<T>(\n inv, constraints.getRight(),\n AbstractMain.getInstance().options.outputSupportCount);\n\n constrainedInvs.add(lowerConstrInv);\n constrainedInvs.add(upperConstrInv);\n }", "title": "" }, { "docid": "299ba97b86e7966fe81aba441acdb635", "score": "0.49207297", "text": "private void PrepareGrid()\n {\n // Define grid parameters\n grid = new GridPane();\n grid.setHgap(10);\n grid.setVgap(10);\n grid.setPadding(new Insets(20, 150, 10, 10));\n\n // Add labels & controls to grid\n grid.add(new Label(ADD_GOOD_NAME_PLACEHOLDER), 0, 0);\n grid.add(name, 1, 0);\n grid.add(new Label(ADD_GOOD_VOLUME_PLACEHOLDER), 0, 1);\n grid.add(volume, 1, 1);\n grid.add(new Label(ADD_GOOD_PHOTO_PLACEHOLDER), 0, 2);\n grid.add(photoChooser, 1, 2);\n grid.add(pickedPhoto, 2, 2);\n grid.add(new Label(ADD_GOOD_PRICE_PLACEHOLDER), 0, 3);\n grid.add(price, 1, 3);\n }", "title": "" }, { "docid": "df65285c8455cd2eca796535b8dad4b1", "score": "0.4915356", "text": "public void SetConstraint(int value)\n {\n constraint = value;\n }", "title": "" }, { "docid": "8ffa27ea712ae74b70e3a1a84e516175", "score": "0.48800376", "text": "public void setConstraint(graphene.model.idl.G_Constraint value) {\n this.constraint = value;\n }", "title": "" }, { "docid": "abb0c61b216bb9c312002227c349dbef", "score": "0.48706537", "text": "protected void addConstraint(){\n\t}", "title": "" }, { "docid": "304415ab69c654dd6213ba0390225e59", "score": "0.4864711", "text": "public void createGrid(){\r\n grid.setAlignment(Pos.CENTER);\r\n grid.setHgap(10);\r\n grid.setVgap(10);\r\n grid.setPadding(new Insets(25, 25, 25, 25));\r\n }", "title": "" }, { "docid": "a48e3760625c3e6cb4ee1a646b3a0539", "score": "0.48610926", "text": "public StdConstraint() { }", "title": "" }, { "docid": "493ed67390885792f0b1f9c6b92ec92c", "score": "0.48498955", "text": "private void initializeGrid() {\n int count = this.nBombs;\n while (count > 0) {\n int randX = ThreadLocalRandom.current().nextInt(0, this.fieldSize);\n int randY = ThreadLocalRandom.current().nextInt(0, this.fieldSize);\n if (!this.grid[randX][randY]) {\n this.grid[randX][randY] = true;\n count--;\n }\n }\n }", "title": "" }, { "docid": "53cb8e400dafae2c83df3c5cdea1452c", "score": "0.48495522", "text": "public void CreateMatrix()\n {\n for (int i = 0; i <= 31; i++)\n {\n ColumnConstraints column = new ColumnConstraints();\n RowConstraints row = new RowConstraints();\n column.setPercentWidth(3.125);\n column.setHgrow(SOMETIMES);\n row.setPercentHeight(2.5);\n row.setVgrow(SOMETIMES);\n root.getColumnConstraints().add(column);\n root.getRowConstraints().add(row);\n }\n for (int j = 0; j <= 7; j++)\n {\n RowConstraints row = new RowConstraints();\n row.setPercentHeight(2.5);\n row.setVgrow(SOMETIMES);\n root.getRowConstraints().add(row);\n }\n }", "title": "" }, { "docid": "863c28ca07e386b5141bb3120f660a57", "score": "0.48425427", "text": "void setBounds(int idx, float lower, float upper);", "title": "" }, { "docid": "a2a152f979a52c8ed6ebf569ac6e7dfc", "score": "0.48311076", "text": "private void createValueAndWeightParams() {\n\t\t// make parameter for value\n\t\t DoubleValueWeightConstraint constraint = (DoubleValueWeightConstraint)model.getConstraint();\n \t DoubleConstraint valConstraint=null, weightConstraint = null;\n \t if(constraint!=null) {\n \t\t valConstraint = new DoubleConstraint(constraint.getMinVal(), constraint.getMaxVal());\n \t\t valConstraint.setNullAllowed(true);\n \t\t weightConstraint = new DoubleConstraint(constraint.getMinWt(), constraint.getMaxWt());\n \t\t weightConstraint.setNullAllowed(true);\n \t }\n \t valueParameter = new DoubleParameter(VALUE, valConstraint, model.getUnits());\n \t valueParameter.addParameterChangeListener(this);\n \t // make paramter for weight\n \t weightParameter = new DoubleParameter(WEIGHT, weightConstraint);\n \t weightParameter.addParameterChangeListener(this);\n \t // set initial values in value and weight\n \t ValueWeight valueWeight = (ValueWeight)this.model.getValue();\n \t if(valueWeight!=null) {\n \t\t valueParameter.setValue(valueWeight.getValue());\n \t\t weightParameter.setValue(valueWeight.getWeight());\n \t }\n\t}", "title": "" }, { "docid": "a5cef3f1c9197e6ac2a9886584017461", "score": "0.48063484", "text": "public void finalizeConstraints(char[] item1ValidBags, char[] item2ValidBags){\r\n\t\tString v1 = String.valueOf(item1ValidBags);\r\n\t\tString v2 = String.valueOf(item2ValidBags);\r\n\t\tfor (int i=1; i < matrix.length; i++){\r\n\t\t\tfor (int j = 1; j < matrix.length; j++){\r\n\t\t\t\tif (v1.indexOf(matrix[i][0]) == -1){\r\n\t\t\t\t\tmatrix[i][j] = 'f';\r\n\t\t\t\t}\r\n\t\t\t\tif (v2.indexOf(matrix[0][j]) == -1){\r\n\t\t\t\t\tmatrix[i][j] = 'f';\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "12a03fce14ba14d8b183e9a3e715ecc3", "score": "0.480391", "text": "public void makeGrid(int x, int y){\n gridContraints = new GridBagConstraints();\n gridContraints.anchor = GridBagConstraints.FIRST_LINE_START;\n buttons = new Cell[x][y];\n// gamePanel.p\n for(int i = 0; i < y; i++){\n for (int j = 0; j < x; j++){\n int[] pos = new int[2];\n pos[0] = j;\n pos[1] = i;\n buttons[j][i] = new Cell(pos);\n gridContraints.gridx = j;\n gridContraints.gridy = i;\n buttons[j][i].addActionListener(new FirstButtonClickListener());\n gamePanel.add(buttons[j][i],gridContraints);\n// gamePanel.paintImmediately(new Rectangle(j,i,40,40));\n }\n }\n }", "title": "" }, { "docid": "d455db9891c31a35dbe51ccdb2f6beb9", "score": "0.47971195", "text": "public void visitsConstraints() {\r\n\r\n\t\tGRBLinExpr sumOfDecisions = new GRBLinExpr();\r\n\r\n\t\tdouble[] ones;\r\n\r\n\t\tones = new double[timestep + 1];\r\n\t\tArrays.fill(ones, 1.0);\r\n\r\n\t\tGRBVar[] decisionsUntilK = decisions.get(row).get(column).subList(0, timestep + 1)\r\n\t\t\t\t.toArray(new GRBVar[timestep + 1]); // decisions to move to this cell, up until this point. +1 is because\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t// timestep starts at 0\r\n\r\n\t\ttry {\r\n\t\t\tsumOfDecisions = new GRBLinExpr();\r\n\t\t\tsumOfDecisions.addTerms(ones, decisionsUntilK);\r\n\t\t\tsumOfDecisions.addTerm(timestep + 2, grid.get(row).get(column)); // if obstacle present, disallow Squeaky from visiting here\r\n\t\t\tGRBModel.addConstr(visits.get(row).get(column).get(timestep), GRB.EQUAL, sumOfDecisions,\r\n\t\t\t\t\t\"visitscount_\" + timestep + \"row\" + row + \"column\" + column);\r\n\t\t} catch (GRBException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\tSystem.out.println(\"Abnormal exception - exiting now.\");\r\n\t\t\tSystem.exit(1);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "60914c3925b204b0782e1676b3462310", "score": "0.4790822", "text": "public KnapsackStateImpl() {\n _isBound = new ArrayList<Boolean>();\n _isIn = new ArrayList<Boolean>();\n }", "title": "" }, { "docid": "5665572689a27f9b7c694b7a1ebd7be2", "score": "0.4790372", "text": "private void initialize() {\r\n\t\tthis.setSize(800, 600);\r\n\t\tthis.setLayout(new GridBagLayout());\r\n\r\n\t\tGridBagConstraints gridBagConstraints2 = new GridBagConstraints();\r\n\t\tgridBagConstraints2.gridx = 2;\r\n\t\tgridBagConstraints2.anchor = GridBagConstraints.WEST;\r\n\t\tgridBagConstraints2.gridy = 7;\r\n\t\tlblRightChannelPeak = new JLabel();\r\n\t\tlblRightChannelPeak.setText(\"Right channel peak:\");\r\n\t\tGridBagConstraints gridBagConstraints1 = new GridBagConstraints();\r\n\t\tgridBagConstraints1.gridx = 2;\r\n\t\tgridBagConstraints1.anchor = GridBagConstraints.WEST;\r\n\t\tgridBagConstraints1.gridy = 6;\r\n\t\tlblLeftChannelPeak = new JLabel();\r\n\t\tlblLeftChannelPeak.setText(\"Left channel peak:\");\r\n\t\tGridBagConstraints gridBagConstraints = new GridBagConstraints();\r\n\t\tgridBagConstraints.gridx = 0;\r\n\t\tgridBagConstraints.anchor = GridBagConstraints.WEST;\r\n\t\tgridBagConstraints.gridy = 6;\r\n\t\tlblRecordingInterfaces = new JLabel();\r\n\t\tlblRecordingInterfaces.setText(\"Recording Interfaces\");\r\n\r\n\t\tGridBagConstraints lstRecordingInterfacesConstraints = new GridBagConstraints();\r\n\t\tlstRecordingInterfacesConstraints.fill = GridBagConstraints.BOTH;\r\n\t\tlstRecordingInterfacesConstraints.gridy = 7;\r\n\t\tlstRecordingInterfacesConstraints.weightx = 1.0;\r\n\t\tlstRecordingInterfacesConstraints.weighty = 1.0;\r\n\t\tlstRecordingInterfacesConstraints.gridx = 0;\r\n\t\tlstRecordingInterfacesConstraints.gridheight = 3;\r\n\t\t\r\n\t\t// Add top row spacer.\r\n\t\tGridBagConstraints topRowConstraint = new GridBagConstraints();\r\n\t\ttopRowConstraint.gridx = 0;\r\n\t\ttopRowConstraint.gridy = 0;\r\n\t\ttopRowConstraint.gridwidth = 3;\r\n\t\ttopRowConstraint.fill = GridBagConstraints.BOTH;\r\n\t\ttopRowConstraint.weightx = 0.0;\r\n\t\ttopRowConstraint.weighty = 0.0;\r\n\t\t\r\n\t\tGridBagConstraints cboRightOutputChannelConstraints = new GridBagConstraints();\r\n\t\tcboRightOutputChannelConstraints.fill = GridBagConstraints.NONE;\r\n\t\tcboRightOutputChannelConstraints.gridy = 5;\r\n\t\tcboRightOutputChannelConstraints.weightx = 1.0;\r\n\t\tcboRightOutputChannelConstraints.anchor = GridBagConstraints.NORTHWEST;\r\n\t\tcboRightOutputChannelConstraints.insets = new Insets(5, 5, 5, 5);\r\n\t\tcboRightOutputChannelConstraints.gridx = 1;\r\n\t\t\r\n\t\tGridBagConstraints cboLeftOutputChannelConstraints = new GridBagConstraints();\r\n\t\tcboLeftOutputChannelConstraints.fill = GridBagConstraints.NONE;\r\n\t\tcboLeftOutputChannelConstraints.gridy = 3;\r\n\t\tcboLeftOutputChannelConstraints.weightx = 1.0;\r\n\t\tcboLeftOutputChannelConstraints.anchor = GridBagConstraints.NORTHWEST;\r\n\t\tcboLeftOutputChannelConstraints.insets = new Insets(5, 5, 5, 5);\r\n\t\tcboLeftOutputChannelConstraints.gridx = 1;\r\n\t\t\r\n\t\tGridBagConstraints btnInterfacesConstraints = new GridBagConstraints();\r\n\t\tbtnInterfacesConstraints.gridx = 0;\r\n\t\tbtnInterfacesConstraints.gridy = 1;\r\n\t\tbtnInterfacesConstraints.gridwidth = 1;\r\n\t\tbtnInterfacesConstraints.anchor = GridBagConstraints.NORTHWEST;\r\n\t\tbtnInterfacesConstraints.insets = new Insets(5, 5, 5, 5);\r\n\t\tbtnInterfacesConstraints.gridheight = 1;\r\n\t\t\r\n\t\tGridBagConstraints btnRecordConstraints = new GridBagConstraints();\r\n\t\tbtnRecordConstraints.gridx = 2;\r\n\t\tbtnRecordConstraints.gridy = 4;\r\n\t\tbtnRecordConstraints.gridheight = 1;\r\n\t\tbtnRecordConstraints.anchor = GridBagConstraints.NORTHWEST;\r\n\t\tbtnRecordConstraints.insets = new Insets(5, 5, 5, 5);\r\n\t\tbtnRecordConstraints.gridwidth = 1;\r\n\t\t\r\n\t\tGridBagConstraints lblInterfacesConstraints = new GridBagConstraints();\r\n\t\tlblInterfacesConstraints.gridx = 0;\r\n\t\tlblInterfacesConstraints.insets = new Insets(5, 5, 5, 5);\r\n\t\tlblInterfacesConstraints.anchor = GridBagConstraints.SOUTHWEST;\r\n\t\tlblInterfacesConstraints.gridy = 2;\r\n\t\t\r\n\t\tGridBagConstraints lstInterfacesConstaints = new GridBagConstraints();\r\n\t\tlstInterfacesConstaints.gridx = 0;\r\n\t\tlstInterfacesConstaints.fill = GridBagConstraints.BOTH;\r\n\t\tlstInterfacesConstaints.anchor = GridBagConstraints.NORTHWEST;\r\n\t\tlstInterfacesConstaints.gridheight = 3;\r\n\t\tlstInterfacesConstaints.weightx = 0.5;\r\n\t\tlstInterfacesConstaints.weighty = 0.5;\r\n\t\tlstInterfacesConstaints.gridy = 3;\r\n\t\t\r\n\t\tGridBagConstraints lblLeftOutputChannelConstraints = new GridBagConstraints();\r\n\t\tlblLeftOutputChannelConstraints.gridx = 1;\r\n\t\tlblLeftOutputChannelConstraints.gridy = 2;\r\n\t\tlblLeftOutputChannelConstraints.gridheight = 1;\r\n\t\tlblLeftOutputChannelConstraints.insets = new Insets(5, 5, 5, 5);\r\n\t\tlblLeftOutputChannelConstraints.anchor = GridBagConstraints.SOUTHWEST;\r\n\t\tlblLeftOutputChannelConstraints.gridwidth = 1;\r\n\r\n\t\tGridBagConstraints lblRightOutputChannelConstraints = new GridBagConstraints();\r\n\t\tlblRightOutputChannelConstraints.gridx = 1;\r\n\t\tlblRightOutputChannelConstraints.gridy = 4;\r\n\t\tlblRightOutputChannelConstraints.gridheight = 1;\r\n\t\tlblRightOutputChannelConstraints.insets = new Insets(5, 5, 5, 5);\r\n\t\tlblRightOutputChannelConstraints.anchor = GridBagConstraints.SOUTHWEST;\r\n\t\tlblRightOutputChannelConstraints.gridwidth = 1;\r\n\t\t\r\n\t\tGridBagConstraints lblInputChannelConstraints = new GridBagConstraints();\r\n\t\tlblInputChannelConstraints.gridx = 1;\r\n\t\tlblInputChannelConstraints.gridy = 6;\r\n\t\tlblInputChannelConstraints.gridheight = 1;\r\n\t\tlblInputChannelConstraints.insets = new Insets(5, 5, 5, 5);\r\n\t\tlblInputChannelConstraints.anchor = GridBagConstraints.SOUTHWEST;\r\n\t\tlblInputChannelConstraints.gridwidth = 1;\r\n\r\n\t\tGridBagConstraints cboInputChannelConstraints = new GridBagConstraints();\r\n\t\tcboInputChannelConstraints.fill = GridBagConstraints.NONE;\r\n\t\tcboInputChannelConstraints.gridy = 7;\r\n\t\tcboInputChannelConstraints.weightx = 1.0;\r\n\t\tcboInputChannelConstraints.anchor = GridBagConstraints.NORTHWEST;\r\n\t\tcboInputChannelConstraints.insets = new Insets(5, 5, 5, 5);\r\n\t\tcboInputChannelConstraints.gridx = 1;\r\n\r\n\t\tGridBagConstraints lblSamplingRateConstraints = new GridBagConstraints();\r\n\t\tlblSamplingRateConstraints.gridx = 2;\r\n\t\tlblSamplingRateConstraints.gridy = 2;\r\n\t\tlblSamplingRateConstraints.gridheight = 1;\r\n\t\tlblSamplingRateConstraints.insets = new Insets(5, 5, 5, 5);\r\n\t\tlblSamplingRateConstraints.anchor = GridBagConstraints.SOUTHWEST;\r\n\t\tlblSamplingRateConstraints.gridwidth = 1;\r\n\r\n\t\tGridBagConstraints cboSamplingRateConstraints = new GridBagConstraints();\r\n\t\tcboSamplingRateConstraints.fill = GridBagConstraints.NONE;\r\n\t\tcboSamplingRateConstraints.gridy = 3;\r\n\t\tcboSamplingRateConstraints.weightx = 1.0;\r\n\t\tcboSamplingRateConstraints.anchor = GridBagConstraints.NORTHWEST;\r\n\t\tcboSamplingRateConstraints.insets = new Insets(5, 5, 5, 5);\r\n\t\tcboSamplingRateConstraints.gridx = 2;\r\n\t\t\r\n\t\tGridBagConstraints bottomRowConstraint = new GridBagConstraints();\r\n\t\tbottomRowConstraint.gridx = 0;\r\n\t\tbottomRowConstraint.gridy = 11;\r\n\t\tbottomRowConstraint.gridwidth = 3;\r\n\t\tbottomRowConstraint.fill = GridBagConstraints.BOTH;\r\n\t\tbottomRowConstraint.weightx = 0.0;\r\n\t\tbottomRowConstraint.weighty = 0.0;\r\n\r\n\r\n\t\tthis.add(getPnlTopSpace(), topRowConstraint);\r\n\t\tthis.add(getBtnInterfaces(), btnInterfacesConstraints);\r\n\t\tthis.add(getLblPlaybackInterfaces(), lblInterfacesConstraints);\r\n\t\tthis.add(getLstInterfaces(), lstInterfacesConstaints);\r\n\t\tthis.add(getLblLeftOutputChannel(), lblLeftOutputChannelConstraints);\r\n\t\tthis.add(getCboLeftOutputChannel(), cboLeftOutputChannelConstraints);\r\n\t\tthis.add(getLblRightOutputChannel(), lblRightOutputChannelConstraints);\r\n\t\tthis.add(getCboRightOutputChannel(), cboRightOutputChannelConstraints);\r\n\t\tthis.add(getLblInputChannel(), lblInputChannelConstraints);\r\n\t\tthis.add(getCboInputChannel(), cboInputChannelConstraints);\r\n\t\tthis.add(getLblSamplingRate(), lblSamplingRateConstraints);\r\n\t\tthis.add(getCboSamplingRate(), cboSamplingRateConstraints);\r\n\t\tthis.add(getBtnRecord(), btnRecordConstraints);\r\n\t\tthis.add(getPnlBottomSpace(), bottomRowConstraint);\r\n\t\tthis.add(getLstRecordingInterfaces(), lstRecordingInterfacesConstraints);\r\n\t\tthis.add(lblRecordingInterfaces, gridBagConstraints);\r\n\t\tthis.add(lblLeftChannelPeak, gridBagConstraints1);\r\n\t\tthis.add(lblRightChannelPeak, gridBagConstraints2);\r\n\t}", "title": "" }, { "docid": "00ffe44642f2aebf13904e3d7150d5df", "score": "0.47811848", "text": "@Test\r\n\tpublic void testECVCG_LLG1() throws IloException \r\n\t{\r\n\t\tIloCplex cplexSolver = new IloCplex();\r\n\t\tList<Integer> items = new LinkedList<Integer>();\r\n\t\titems.add(1);\r\n\t\titems.add(2);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tList<Integer> bundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tdouble marginalValue = 0.1;\r\n\t\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t1 = new CombinatorialType();\r\n\t\tt1.addAtomicBid(atom11);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tbundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.2;\r\n\t\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t2 = new CombinatorialType();\r\n\t\tt2.addAtomicBid(atom21);\r\n\t\t\r\n\t\t//Global bidder\r\n\t\tbundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.35;\r\n\t\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t3 = new CombinatorialType();\r\n\t\tt3.addAtomicBid(atom31);\r\n\t\t\r\n\t\tList<Type> bids = new LinkedList<Type>();\r\n\t\tbids.add(t1);\r\n\t\tbids.add(t2);\r\n\t\tbids.add(t3);\r\n\t\t\r\n\t\tList<Double> costs = new LinkedList<Double>();\r\n\t\tcosts.add(0.05);\r\n\t\tcosts.add(0.1);\r\n\t\t\r\n\t\tGridGenerator generator = new GridGenerator(1, 2);\r\n\t\tgenerator.setSeed(0);\r\n\t\tgenerator.buildProximityGraph();\r\n\t\tGraph grid = generator.getGrid();\r\n\t\t\r\n\t\tassertTrue(grid.getVertices().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\r\n\t\t\r\n\t\tdouble primaryReductionCoef = 0.3;\r\n\t\tdouble secondaryReductionCoef = 0.2;\r\n\t\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\r\n\t\tjpmf.setNumberOfSamples(1000000);\r\n\t\tjpmf.setNumberOfBombsToThrow(1);\r\n\t\t\r\n\t\tIBombingStrategy b = new FocusedBombingStrategy(grid, 1., primaryReductionCoef, secondaryReductionCoef);\r\n\t\tList<IBombingStrategy> bombs = new LinkedList<IBombingStrategy>();\r\n\t\tbombs.add(b);\r\n\t\t\r\n\t\tList<Double> probDistribution = new LinkedList<Double>();\r\n\t\tprobDistribution.add(1.);\r\n\t\t\r\n\t\tjpmf.setBombs(bombs, probDistribution);\r\n\t\tjpmf.update();\r\n\t\t\r\n\t\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\r\n\t\tauction.setSolver(cplexSolver);\r\n\t\tauction.setSeed(0);\r\n\t\ttry\r\n\t\t{\r\n\t\t\tauction.solveIt();\r\n\t\t\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\r\n\t\t\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\r\n\t\t\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.14 ) < 1e-4);\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).size() == 1 );\r\n\t\t\t\r\n\t\t\t//Get allocated buyers involved in the trade \r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 3 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 1 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\t\t\r\n\t\t\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6) );\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.getRealizedRV(0, 0) == 0.7);\r\n\t\t\tassertTrue( allocation.getRealizedRVsPerGood(0).size() == 2 );\r\n\t\t\tassertTrue( (allocation.getRealizedRVsPerGood(0).get(0) == (1.-primaryReductionCoef)) || (allocation.getRealizedRVsPerGood(0).get(0) == (1.-secondaryReductionCoef)));\r\n\t\t\tif( allocation.getRealizedRVsPerGood(0).get(0) == (1.-primaryReductionCoef) )\r\n\t\t\t\tassertTrue(allocation.getRealizedRVsPerGood(0).get(1) == (1.-secondaryReductionCoef));\r\n\t\t\telse if( allocation.getRealizedRVsPerGood(0).get(0) == (1.-secondaryReductionCoef) )\r\n\t\t\t\tassertTrue(allocation.getRealizedRVsPerGood(0).get(1) == (1.-primaryReductionCoef));\r\n\t\t\t\r\n\t\t\tdouble[] payments = auction.getPayments();\r\n\t\t\tassertTrue( payments.length == 1);\r\n\t\t\t\r\n\t\t\t//System.out.println(\"Realized value = \" + allocation.getRealizedRV(0, 0) + \" p=\"+payments[0]);\r\n\t\t\tif( allocation.getRealizedRV(0, 0) == 0.7 )\t\t\t\t\t\t//Min{0.7, 0.8}\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.2175 ) < 1e-4);\r\n\t\t\t//else if( allocation.getRealizedRV(0, 0) == 0.8 )\r\n\t\t\t//\tassertTrue( Math.abs( payments[0] - 0.2225 ) < 1e-4);\r\n\t\t\telse throw new RuntimeException(\"Wrong realized value\");\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.isAllocated(0) );\r\n\t\t\tassertTrue(!allocation.isAllocated(1) );\r\n\t\t\tassertTrue(!allocation.isAllocated(2) );\r\n\t\t\tassertTrue( allocation.isAllocated(3) );\r\n\t\t}\r\n\t\tcatch (Exception e) \r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "ef021924854dbf4cabb54452680df826", "score": "0.47810593", "text": "public B6DSLBoundedTemplate() {\n super();\n }", "title": "" }, { "docid": "ebe67821eb417171a413303eca45e7fb", "score": "0.47644618", "text": "public void setValueConstrains(int minValue, int maxValue) {\n \t\tthis.minValue = minValue;\n \t\tthis.maxValue = maxValue;\n \t}", "title": "" }, { "docid": "93943544cc3973e721c1c9500fc9ab4e", "score": "0.4761996", "text": "public void setBounded(boolean bounded) {\r\n this.bounded = bounded;\r\n }", "title": "" }, { "docid": "f010ad736449bc9208ac3c9f56d6f819", "score": "0.47544873", "text": "private void initGrid()\n\t{\n\t\tMap<Integer, Integer> chitsAvailable = getChitsAvailable();\n\t\tMap<ResourceType, Integer> resourcesAvailable = getResourcesAvailable();\n\n\t\t// for each column\n\t\tfor (int x = -SIZE_OF_GRID; x <= SIZE_OF_GRID; x++)\n\t\t{\n\t\t\t// for each row\n\t\t\tfor (int y = -SIZE_OF_GRID; y <= SIZE_OF_GRID; y++)\n\t\t\t{\n\t\t\t\t// If in boundaries\n\t\t\t\tif (inBoundries(x, y))\n\t\t\t\t{\n\n\t\t\t\t\t// Condition for whether or not the coordinate is a hex.\n\t\t\t\t\tif (Math.abs(x + y) % 3 == 0 || x + y == 0) // TODO make\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// more generic.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// NO magic\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// number\n\t\t\t\t\t{\n\t\t\t\t\t\tHex hex = new Hex(x, y);\n\n\t\t\t\t\t\tallocateResource(hex, chitsAvailable, resourcesAvailable);\n\t\t\t\t\t\tgrid.put(new Point(x, y), hex);\n\t\t\t\t\t}\n\n\t\t\t\t\t// Condition for whether or not the coordinate is a node\n\t\t\t\t\telse\n\t\t\t\t\t\tnodes.put(new Point(x, y), new Node(x, y));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tsetUpReferences();\n\t\tmakePorts();\n\t}", "title": "" }, { "docid": "5c542c6e951e825959ef53d63e32e15d", "score": "0.4751503", "text": "public ConwayGrid(int mysize){\n\t\tsuper(mysize);\n\t\t\n\t\n\t}", "title": "" }, { "docid": "9f833f672a173fa9b768a5b2d1d9b360", "score": "0.474957", "text": "@Test\r\n\tpublic void testECVCG_LLG() throws IloException \r\n\t{\r\n\t\tIloCplex cplexSolver = new IloCplex();\r\n\t\tList<Integer> items = Arrays.asList(1, 2);\r\n\t\t\r\n\t\t//Local bidder \r\n\t\tList<Integer> bundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tdouble marginalValue = 0.1;\r\n\t\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t1 = new CombinatorialType();\r\n\t\tt1.addAtomicBid(atom11);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tbundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.2;\r\n\t\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t2 = new CombinatorialType();\r\n\t\tt2.addAtomicBid(atom21);\r\n\t\t\r\n\t\t//Global bidder\r\n\t\tbundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.15;\r\n\t\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t3 = new CombinatorialType();\r\n\t\tt3.addAtomicBid(atom31);\r\n\t\t\r\n\t\tList<Type> bids = new LinkedList<Type>();\r\n\t\tbids.add(t1);\r\n\t\tbids.add(t2);\r\n\t\tbids.add(t3);\r\n\t\t\r\n\t\tList<Double> costs = new LinkedList<Double>();\r\n\t\tcosts.add(0.05);\r\n\t\tcosts.add(0.1);\r\n\t\t\r\n\t\tGridGenerator generator = new GridGenerator(1, 2);\r\n\t\tgenerator.setSeed(0);\r\n\t\tgenerator.buildProximityGraph();\r\n\t\tGraph grid = generator.getGrid();\r\n\t\t\r\n\t\tassertTrue(grid.getVertices().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\r\n\t\t\r\n\t\tdouble primaryReductionCoef = 1.0;\r\n\t\tdouble secondaryReductionCoef = 0.5;\r\n\t\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\r\n\t\tjpmf.setNumberOfSamples(1000000);\r\n\t\tjpmf.setNumberOfBombsToThrow(1);\r\n\t\t\r\n\t\tIBombingStrategy b = new FocusedBombingStrategy(grid, 1, primaryReductionCoef, secondaryReductionCoef);\r\n\t\tList<IBombingStrategy> bombingStrategies = new LinkedList<IBombingStrategy>();\r\n\t\t\r\n\t\tList<Double> probDistribution = new LinkedList<Double>();\r\n\t\tprobDistribution.add(1.);\r\n\t\t\r\n\t\tbombingStrategies.add(b);\r\n\t\tjpmf.setBombs(bombingStrategies, probDistribution);\r\n\t\tjpmf.update();\r\n\t\t\r\n\t\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\r\n\t\tauction.setSolver(cplexSolver);\r\n\t\tauction.setSeed(0);\r\n\t\ttry\r\n\t\t{\r\n\t\t\tauction.solveIt();\r\n\t\t\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\r\n\t\t\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\r\n\t\t\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.0375 ) < 1e-4);\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).size() == 2 );\r\n\t\t\t\r\n\t\t\t//Get allocated buyers involved in the trade \r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 1 );\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(1) == 2 );\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 2 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\t\t//First bidder gets its first bid\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(1) == 0 );\t\t//Second bidder gets its first bid\t\t\r\n\t\t\t\r\n\t\t\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6) );\r\n\t\t\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 1) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 1) - (1.-secondaryReductionCoef)) < 1e-6) );\r\n\t\t\t\r\n\t\t\tif((Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6))\r\n\t\t\t{\r\n\t\t\t\tassertTrue( allocation.getRealizedRVsPerGood(0).size() == 2 );\r\n\t\t\t\tassertTrue( allocation.getRealizedRVsPerGood(0).get(0) == 1.-primaryReductionCoef );\r\n\t\t\t}\r\n\t\t\telse if ((Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6))\r\n\t\t\t{\r\n\t\t\t\tassertTrue( allocation.getRealizedRVsPerGood(0).size() == 2 );\r\n\t\t\t\tassertTrue( allocation.getRealizedRVsPerGood(0).get(0) == 1.-secondaryReductionCoef );\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tdouble[] payments = auction.getPayments();\r\n\t\t\tassertTrue( payments.length == 2);\r\n\t\t\t\r\n\t\t\tif( allocation.getRealizedRV(0, 0) == 0.5 )\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.025 ) < 1e-4);\r\n\t\t\telse if( allocation.getRealizedRV(0, 0) == 0. )\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0. ) < 1e-4);\r\n\t\t\t\r\n\t\t\tif( allocation.getRealizedRV(0, 1) == 0.5 )\r\n\t\t\t\tassertTrue( Math.abs( payments[1] - 0.05 ) < 1e-4);\r\n\t\t\telse if( allocation.getRealizedRV(0, 1) == 0. )\r\n\t\t\t\tassertTrue( Math.abs( payments[1] - 0. ) < 1e-4);\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.isAllocated(0) );\r\n\t\t\tassertTrue( allocation.isAllocated(1) );\r\n\t\t\tassertTrue( allocation.isAllocated(2) );\r\n\t\t\tassertTrue(!allocation.isAllocated(3) );\r\n\t\t}\r\n\t\tcatch (Exception e) \r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "5935bc71ee3854a954ca11ee313c13a1", "score": "0.4743987", "text": "public IntArrayBag( int initialCapacity ) {\r\n \r\n // First check if the parameter is zero or less. \r\n // Throw an exception if true.\r\n \r\n if (initialCapacity < 0)\r\n\r\n throw new IllegalArgumentException( \"The initialCapacity is negative: \" + initialCapacity );\r\n \r\n // Inizialize the instance variables.\r\n\r\n data = new int[initialCapacity];\r\n \r\n // Each bag starts with zero items.\r\n \r\n manyItems = 0;\r\n \r\n }", "title": "" }, { "docid": "1479ae915966c7fc45b528e98d6c7fc9", "score": "0.47427195", "text": "public void initState() {\n\t\tfor (int i = 0; i < values.length; i++) {\n\t\t\tif (!constrainedIndexes[i]) {\n\t\t\t\tvalues[i] = fixedConstrains[i].getRandom();\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "ae05efff4576d9eddf2824166be71914", "score": "0.47256303", "text": "public GeoConstraints() {\n }", "title": "" }, { "docid": "25f28cb6df6ced56817a338e01d4dbd1", "score": "0.4717826", "text": "@Test\r\n\tpublic void testECVCG_LLG2() throws IloException \r\n\t{\r\n\t\tIloCplex cplexSolver = new IloCplex();\r\n\t\tList<Integer> items = new LinkedList<Integer>();\r\n\t\titems.add(1);\r\n\t\titems.add(2);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tList<Integer> bundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tdouble marginalValue = 0.1;\r\n\t\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t1 = new CombinatorialType();\r\n\t\tt1.addAtomicBid(atom11);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tbundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.2;\r\n\t\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t2 = new CombinatorialType();\r\n\t\tt2.addAtomicBid(atom21);\r\n\t\t\r\n\t\t//Global bidder\r\n\t\tbundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.3;\r\n\t\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t3 = new CombinatorialType();\r\n\t\tt3.addAtomicBid(atom31);\r\n\t\t\r\n\t\tList<Type> bids = new LinkedList<Type>();\r\n\t\tbids.add(t1);\r\n\t\tbids.add(t2);\r\n\t\tbids.add(t3);\r\n\t\t\r\n\t\tList<Double> costs = new LinkedList<Double>();\r\n\t\tcosts.add(0.05);\r\n\t\tcosts.add(0.1);\r\n\t\t\r\n\t\tGridGenerator generator = new GridGenerator(1, 2);\r\n\t\tgenerator.setSeed(0);\r\n\t\tgenerator.buildProximityGraph();\r\n\t\tGraph grid = generator.getGrid();\r\n\t\t\r\n\t\tassertTrue(grid.getVertices().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\r\n\t\t\r\n\t\tdouble primaryReductionCoef = 0.3;\r\n\t\tdouble secondaryReductionCoef = 0.2;\r\n\t\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\r\n\t\tjpmf.setNumberOfSamples(1000000);\r\n\t\tjpmf.setNumberOfBombsToThrow(1);\r\n\t\t\r\n\t\tIBombingStrategy b = new FocusedBombingStrategy(grid, 1, primaryReductionCoef, secondaryReductionCoef);\r\n\t\tList<IBombingStrategy> bombs = new LinkedList<IBombingStrategy>();\r\n\t\tbombs.add(b);\r\n\t\t\r\n\t\tList<Double> probDistribution = new LinkedList<Double>();\r\n\t\tprobDistribution.add(1.);\r\n\t\t\r\n\t\tjpmf.setBombs(bombs, probDistribution);\r\n\t\tjpmf.update();\r\n\t\t\r\n\t\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\r\n\t\tauction.setSolver(cplexSolver);\r\n\t\tauction.setSeed(0);\r\n\t\ttry\r\n\t\t{\r\n\t\t\tauction.solveIt();\r\n\t\t\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\r\n\t\t\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\r\n\t\t\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.1125 ) < 1e-4);\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).size() == 2 );\r\n\t\t\t\r\n\t\t\t//Get allocated buyers involved in the trade \r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 1 );\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(1) == 2 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 2 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\t\t\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(1) == 0 );\r\n\t\t\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6) );\r\n\t\t\t\r\n\t\t\tdouble[] payments = auction.getPayments();\r\n\t\t\tassertTrue( payments.length == 2);\r\n\t\t\t\r\n\t\t\t//System.out.println(\"Realized value = \" + allocation.getRealizedRV(0, 0) + \" p=\"+payments[1]);\r\n\t\t\tif( allocation.getRealizedRV(0, 0) == 0.7 )\r\n\t\t\t{\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.065 ) < 1e-4);\r\n\t\t\t\tassertTrue( Math.abs( payments[1] - 0.1475) < 1e-4);\r\n\t\t\t}\r\n\t\t\telse if( allocation.getRealizedRV(0, 0) == 0.8 )\r\n\t\t\t{\t\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.07 ) < 1e-4);\r\n\t\t\t\tassertTrue( Math.abs( payments[1] - 0.1375) < 1e-4);\r\n\t\t\t}\r\n\t\t\telse throw new RuntimeException(\"Wrong realized value\");\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.isAllocated(0) );\r\n\t\t\tassertTrue( allocation.isAllocated(1) );\r\n\t\t\tassertTrue( allocation.isAllocated(2) );\r\n\t\t\tassertTrue(!allocation.isAllocated(3) );\r\n\t\t}\r\n\t\tcatch (Exception e) \r\n\t\t{ \r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "92510008184a36cd724191b80a4d9912", "score": "0.4717275", "text": "@Test\r\n\tpublic void testECCVCG_LLG1() throws IloException \r\n\t{\r\n\t\tIloCplex cplexSolver = new IloCplex();\r\n\t\tList<Integer> items = new LinkedList<Integer>();\r\n\t\titems.add(1);\r\n\t\titems.add(2);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tList<Integer> bundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tdouble marginalValue = 0.1;\r\n\t\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t1 = new CombinatorialType();\r\n\t\tt1.addAtomicBid(atom11);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tbundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.2;\r\n\t\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t2 = new CombinatorialType();\r\n\t\tt2.addAtomicBid(atom21);\r\n\t\t\r\n\t\t//Global bidder\r\n\t\tbundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.35;\r\n\t\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t3 = new CombinatorialType();\r\n\t\tt3.addAtomicBid(atom31);\r\n\t\t\r\n\t\tList<Type> bids = new LinkedList<Type>();\r\n\t\tbids.add(t1);\r\n\t\tbids.add(t2);\r\n\t\tbids.add(t3);\r\n\t\t\r\n\t\tList<Double> costs = new LinkedList<Double>();\r\n\t\tcosts.add(0.05);\r\n\t\tcosts.add(0.1);\r\n\t\t\r\n\t\tGridGenerator generator = new GridGenerator(1, 2);\r\n\t\tgenerator.setSeed(0);\r\n\t\tgenerator.buildProximityGraph();\r\n\t\tGraph grid = generator.getGrid();\r\n\t\t\r\n\t\tassertTrue(grid.getVertices().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\r\n\t\t\r\n\t\tdouble primaryReductionCoef = 0.3;\r\n\t\tdouble secondaryReductionCoef = 0.2;\r\n\t\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\r\n\t\tjpmf.setNumberOfSamples(1000000);\r\n\t\tjpmf.setNumberOfBombsToThrow(1);\r\n\t\t\r\n\t\tIBombingStrategy b = new FocusedBombingStrategy(grid, 1., primaryReductionCoef, secondaryReductionCoef);\r\n\t\tList<IBombingStrategy> bombs = new LinkedList<IBombingStrategy>();\r\n\t\tbombs.add(b);\r\n\t\t\r\n\t\tList<Double> pd = new LinkedList<Double>();\r\n\t\tpd.add(1.);\r\n\t\t\r\n\t\tjpmf.setBombs(bombs, pd);\r\n\t\tjpmf.update();\r\n\t\t\r\n\t\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\r\n\t\tauction.setSolver(cplexSolver);\r\n\t\tauction.setPaymentRule(\"ECC-VCG_LLG\");\r\n\t\tauction.setSeed(0);\r\n\t\ttry\r\n\t\t{\r\n\t\t\tauction.solveIt();\r\n\t\t\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\r\n\t\t\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\r\n\t\t\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.14 ) < 1e-4);\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).size() == 1 );\r\n\t\t\t\r\n\t\t\t//Get allocated buyers involved in the trade \r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 3 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 1 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\t\t\r\n\t\t\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6) );\r\n\t\t\t\r\n\t\t\tdouble[] payments = auction.getPayments();\r\n\t\t\tassertTrue( payments.length == 1);\r\n\t\t\t\r\n\t\t\tSystem.out.println(\"Realized value = \" + allocation.getRealizedRV(0, 0) + \" p=\"+payments[0]);\r\n\t\t\tassertTrue(allocation.getRealizedRV(0, 0) == 0.7);\r\n\t\t\t\r\n\t\t\tif( allocation.getRealizedRVsPerGood(0).get(0) == 0.7 )\t\t\t\t\t\t//Min{0.7, 0.8}\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.22 ) < 1e-4);\r\n\t\t\telse if( allocation.getRealizedRVsPerGood(0).get(0) == 0.8 )\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.215 ) < 1e-4);\r\n\t\t\telse throw new RuntimeException(\"Wrong realized value\");\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.isAllocated(0) );\r\n\t\t\tassertTrue(!allocation.isAllocated(1) );\r\n\t\t\tassertTrue(!allocation.isAllocated(2) );\r\n\t\t\tassertTrue( allocation.isAllocated(3) );\r\n\t\t}\r\n\t\tcatch (Exception e) \r\n\t\t{\r\n\t\t\te.printStackTrace(); \r\n\t\t}\r\n\t}", "title": "" }, { "docid": "339566701a858924bbc5d249df969dec", "score": "0.4715284", "text": "public BubbleGrid(Vector2 origin) {\n this.origin = origin;\n }", "title": "" }, { "docid": "8f52e8d35ab380c9995cb173bb8499ad", "score": "0.47129995", "text": "private void setupConstraints() {\n ConstraintBuilder builder;\n\n for (Event event : tournament.getEvents()) {\n // Restricciones de equipos\n if (event.hasTeams()) {\n builder = new ConstraintBuilder(new TeamsConstraint(event));\n constraints.addAll(builder.getConstraints());\n }\n\n // Restricciones de modo de enfrentamiento\n if (event.getMatchesPerPlayer() > 1 && event.getPlayersPerMatch() > 1) {\n MatchupMode mode = event.getMatchupMode();\n if (mode == MatchupMode.ALL_DIFFERENT || mode == MatchupMode.ALL_EQUAL) {\n builder = new ConstraintBuilder(new MatchupModeConstraint(event));\n constraints.addAll(builder.getConstraints());\n }\n }\n\n // Restricciones de suma de partidos\n builder = new ConstraintBuilder(new TotalMatchesConstraint(event));\n constraints.addAll(builder.getConstraints());\n\n // Restricciones de emparejamientos predefinidos\n if (event.hasPredefinedMatchups()) {\n builder = new ConstraintBuilder(new PredefinedMatchupsConstraint(event));\n constraints.addAll(builder.getConstraints());\n }\n\n // Restricciones de número de partidos por jugador\n builder = new ConstraintBuilder(new MatchesPerPlayerConstraint(event));\n constraints.addAll(builder.getConstraints());\n\n // Restricciones de número de jugadores en la misma pista\n builder = new ConstraintBuilder(new LocalizationOccupationConstraint(event));\n constraints.addAll(builder.getConstraints());\n }\n\n // Restricciones que mapean los comienzos de los partidos\n //builder = new ConstraintBuilder(new MatchStartMappingConstraint(tournament));\n //constraints.addAll(builder.getConstraints());\n\n // Restricciones que mapean los partidos\n builder = new ConstraintBuilder(new MatchMappingConstraint(tournament));\n constraints.addAll(builder.getConstraints());\n\n // Restricciones de jugadores de distintas categorías en la misma pista\n builder = new ConstraintBuilder(new LocalizationCollisionConstraint(tournament));\n constraints.addAll(builder.getConstraints());\n\n // Restricciones de jugador en la misma pista a la misma hora en distintas categorías\n builder = new ConstraintBuilder(new PlayerNotSimultaneousConstraint(tournament));\n constraints.addAll(builder.getConstraints());\n }", "title": "" }, { "docid": "aa53b4ed9177e21b5272366ff16e7de2", "score": "0.4710205", "text": "private _02_architecture_constraintsPackage() {}", "title": "" }, { "docid": "b24416e91411116704a2fea8a9b40e15", "score": "0.46988508", "text": "private void addGridBagComponent(Component c, int row, GridBagConstraints constraints) {\n constraints.gridx = 1;\n constraints.gridy = row;\n constraints.gridheight = 1;\n constraints.gridwidth = GridBagConstraints.REMAINDER;\n constraints.fill = GridBagConstraints.NONE;\n constraints.weightx = 1.0;\n add(c, constraints);\n }", "title": "" }, { "docid": "25a30787d2f8dcc754ded991a220a61b", "score": "0.46961606", "text": "@Override\r\n public void construct(List<Integer> coinKinds, int selectionButtonCount, int coinRackCapacity, int popCanRackCapacity, int receptacleCapacity) {\n \tint[] coinKindList = new int[coinKinds.size()]; \r\n \tfor (int i = 0; i < coinKinds.size(); i++) { \r\n \t\tcoinKindList[i] = coinKinds.get(i);\r\n \t}\r\n \t\r\n \t//Construct the vending machine\r\n \tvendingMachine = new VendingMachine(coinKindList, selectionButtonCount, coinRackCapacity, popCanRackCapacity, receptacleCapacity);\r\n }", "title": "" }, { "docid": "97dc3fa8e1f5f6f608e25367530793a9", "score": "0.46915746", "text": "@Test\r\n\tpublic void testECCVCG_LLG() throws IloException \r\n\t{\r\n\t\tIloCplex cplexSolver = new IloCplex();\r\n\t\tList<Integer> items = new LinkedList<Integer>();\r\n\t\titems.add(1);\r\n\t\titems.add(2);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tList<Integer> bundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tdouble marginalValue = 0.1;\r\n\t\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t1 = new CombinatorialType();\r\n\t\tt1.addAtomicBid(atom11);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tbundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.2;\r\n\t\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t2 = new CombinatorialType();\r\n\t\tt2.addAtomicBid(atom21);\r\n\t\t\r\n\t\t//Global bidder\r\n\t\tbundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.15;\r\n\t\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t3 = new CombinatorialType();\r\n\t\tt3.addAtomicBid(atom31);\r\n\t\t\r\n\t\tList<Type> bids = new LinkedList<Type>();\r\n\t\tbids.add(t1);\r\n\t\tbids.add(t2);\r\n\t\tbids.add(t3);\r\n\t\t\r\n\t\tList<Double> costs = new LinkedList<Double>();\r\n\t\tcosts.add(0.05);\r\n\t\tcosts.add(0.1);\r\n\t\t\r\n\t\tGridGenerator generator = new GridGenerator(1, 2);\r\n\t\tgenerator.setSeed(0);\r\n\t\tgenerator.buildProximityGraph();\r\n\t\tGraph grid = generator.getGrid();\r\n\t\t\r\n\t\tassertTrue(grid.getVertices().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\r\n\t\t\r\n\t\tdouble primaryReductionCoef = 1.0;\r\n\t\tdouble secondaryReductionCoef = 0.5;\r\n\t\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\r\n\t\tjpmf.setNumberOfSamples(1000000);\r\n\t\tjpmf.setNumberOfBombsToThrow(1);\r\n\t\t\r\n\t\tIBombingStrategy b = new FocusedBombingStrategy(grid, 1, primaryReductionCoef, secondaryReductionCoef);\r\n\t\tList<IBombingStrategy> bombs = new LinkedList<IBombingStrategy>();\r\n\t\tbombs.add(b);\r\n\t\t\r\n\t\tList<Double> probDistribution = new LinkedList<Double>();\r\n\t\tprobDistribution.add(1.);\r\n\t\t\r\n\t\tjpmf.setBombs(bombs, probDistribution);\r\n\t\tjpmf.update();\r\n\t\t\r\n\t\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\r\n\t\tauction.setPaymentRule(\"ECC-VCG_LLG\");\r\n\t\tauction.setSolver(cplexSolver);\r\n\t\tauction.setSeed(0);\r\n\t\ttry\r\n\t\t{\r\n\t\t\tauction.solveIt();\r\n\t\t\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\r\n\t\t\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\r\n\t\t\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.0375 ) < 1e-4);\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).size() == 2 );\r\n\t\t\t\r\n\t\t\t//Get allocated buyers involved in the trade \r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 1 );\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(1) == 2 );\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 2 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\t\t//First bidder gets its first bid\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(1) == 0 );\t\t//Second bidder gets its first bid\t\t\r\n\t\t\t\r\n\t\t\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6) );\r\n\t\t\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 1) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 1) - (1.-secondaryReductionCoef)) < 1e-6) );\r\n\t\t\t\r\n\t\t\tdouble[] payments = auction.getPayments();\r\n\t\t\tassertTrue( payments.length == 2);\r\n\t\t\t\r\n\t\t\tif( allocation.getRealizedRV(0, 0) == 0.5 )\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.025 ) < 1e-4);\r\n\t\t\telse if( allocation.getRealizedRV(0, 0) == 0. )\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0. ) < 1e-4);\r\n\t\t\t\r\n\t\t\tif( allocation.getRealizedRV(0, 1) == 0.5 )\r\n\t\t\t\tassertTrue( Math.abs( payments[1] - 0.05 ) < 1e-4);\r\n\t\t\telse if( allocation.getRealizedRV(0, 1) == 0. )\r\n\t\t\t\tassertTrue( Math.abs( payments[1] - 0. ) < 1e-4);\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.isAllocated(0) );\r\n\t\t\tassertTrue( allocation.isAllocated(1) );\r\n\t\t\tassertTrue( allocation.isAllocated(2) );\r\n\t\t\tassertTrue(!allocation.isAllocated(3) );\r\n\t\t}\r\n\t\tcatch (Exception e) \r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "c965a1c52b9ccd41ad6e94e2a561781f", "score": "0.46815646", "text": "@Test\r\n\tpublic void testECRVCG_LLG1() throws IloException \r\n\t{\r\n\t\tIloCplex cplexSolver = new IloCplex();\r\n\t\tList<Integer> items = new LinkedList<Integer>();\r\n\t\titems.add(1);\r\n\t\titems.add(2);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tList<Integer> bundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tdouble marginalValue = 0.1;\r\n\t\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t1 = new CombinatorialType();\r\n\t\tt1.addAtomicBid(atom11);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tbundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.2;\r\n\t\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t2 = new CombinatorialType();\r\n\t\tt2.addAtomicBid(atom21);\r\n\t\t\r\n\t\t//Global bidder\r\n\t\tbundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.35;\r\n\t\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t3 = new CombinatorialType();\r\n\t\tt3.addAtomicBid(atom31);\r\n\t\t\r\n\t\tList<Type> bids = new LinkedList<Type>();\r\n\t\tbids.add(t1);\r\n\t\tbids.add(t2);\r\n\t\tbids.add(t3);\r\n\t\t\r\n\t\tList<Double> costs = new LinkedList<Double>();\r\n\t\tcosts.add(0.05);\r\n\t\tcosts.add(0.1);\r\n\t\t\r\n\t\tGridGenerator generator = new GridGenerator(1, 2);\r\n\t\tgenerator.setSeed(0);\r\n\t\tgenerator.buildProximityGraph();\r\n\t\tGraph grid = generator.getGrid();\r\n\t\t\r\n\t\tassertTrue(grid.getVertices().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\r\n\t\t\r\n\t\tdouble primaryReductionCoef = 0.3;\r\n\t\tdouble secondaryReductionCoef = 0.2;\r\n\t\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\r\n\t\tjpmf.setNumberOfSamples(1000000);\r\n\t\tjpmf.setNumberOfBombsToThrow(1);\r\n\t\t\r\n\t\tIBombingStrategy b = new FocusedBombingStrategy( grid, 1, primaryReductionCoef, secondaryReductionCoef);\r\n\t\tList<IBombingStrategy> bombs = new LinkedList<IBombingStrategy>();\r\n\t\tbombs.add(b);\r\n\t\t\r\n\t\tList<Double> probDistribution = new LinkedList<Double>();\r\n\t\tprobDistribution.add(1.);\r\n\t\t\r\n\t\tjpmf.setBombs(bombs, probDistribution);\r\n\t\tjpmf.update();\r\n\t\t\r\n\t\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\r\n\t\tauction.setSolver(cplexSolver);\r\n\t\tauction.setPaymentRule(\"ECR-VCG_LLG\");\r\n\t\tauction.setSeed(0);\r\n\t\ttry\r\n\t\t{\r\n\t\t\tauction.solveIt();\r\n\t\t\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\r\n\t\t\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\r\n\t\t\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.14 ) < 1e-4);\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).size() == 1 );\r\n\t\t\t\r\n\t\t\t//Get allocated buyers involved in the trade \r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 3 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 1 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\t\t\r\n\t\t\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6) );\r\n\t\t\t\r\n\t\t\tdouble[] payments = auction.getPayments();\r\n\t\t\tassertTrue( payments.length == 1);\r\n\t\t\t\r\n\t\t\tSystem.out.println(\"Realized value = \" + allocation.getRealizedRV(0, 0) + \" p=\"+payments[0]);\r\n\t\t\tassertTrue(allocation.getRealizedRV(0, 0) == 0.7);\r\n\t\t\t\r\n\t\t\tif( allocation.getRealizedRVsPerGood(0).get(0) == 0.7 )\t\t\t\t\t\t//Min{0.7, 0.8}\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.22 ) < 1e-4);\r\n\t\t\telse if( allocation.getRealizedRVsPerGood(0).get(0) == 0.8 )\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.215 ) < 1e-4);\r\n\t\t\telse throw new RuntimeException(\"Wrong realized value\");\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.isAllocated(0) );\r\n\t\t\tassertTrue(!allocation.isAllocated(1) );\r\n\t\t\tassertTrue(!allocation.isAllocated(2) );\r\n\t\t\tassertTrue( allocation.isAllocated(3) );\r\n\t\t}\r\n\t\tcatch (Exception e) \r\n\t\t{\r\n\t\t\te.printStackTrace(); \r\n\t\t}\r\n\t}", "title": "" }, { "docid": "7ba76cb04349ac33416988d190d3dc38", "score": "0.46700838", "text": "@Test\r\n\tpublic void testECCVCG_LLG3() throws IloException \r\n\t{\r\n\t\tIloCplex cplexSolver = new IloCplex();\r\n\t\tList<Integer> items = new LinkedList<Integer>();\r\n\t\titems.add(1);\r\n\t\titems.add(2);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tList<Integer> bundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tdouble marginalValue = 0.1;\r\n\t\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t1 = new CombinatorialType();\r\n\t\tt1.addAtomicBid(atom11);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tbundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.02;\r\n\t\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t2 = new CombinatorialType();\r\n\t\tt2.addAtomicBid(atom21);\r\n\t\t\r\n\t\t//Global bidder\r\n\t\tbundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.3;\r\n\t\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t3 = new CombinatorialType();\r\n\t\tt3.addAtomicBid(atom31);\r\n\t\t\r\n\t\tList<Type> bids = new LinkedList<Type>();\r\n\t\tbids.add(t1);\r\n\t\tbids.add(t2);\r\n\t\tbids.add(t3);\r\n\t\t\r\n\t\tList<Double> costs = new LinkedList<Double>();\r\n\t\tcosts.add(0.05);\r\n\t\tcosts.add(0.21);\r\n\t\t\r\n\t\tGridGenerator generator = new GridGenerator(1, 2);\r\n\t\tgenerator.setSeed(0);\r\n\t\tgenerator.buildProximityGraph();\r\n\t\tGraph grid = generator.getGrid();\r\n\t\t\r\n\t\tassertTrue(grid.getVertices().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\r\n\t\t\r\n\t\tdouble primaryReductionCoef = 0.3;\r\n\t\tdouble secondaryReductionCoef = 0.2;\r\n\t\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\r\n\t\tjpmf.setNumberOfSamples(1000000);\r\n\t\tjpmf.setNumberOfBombsToThrow(1);\r\n\t\t\r\n\t\tIBombingStrategy b1 = new FocusedBombingStrategy(grid, 1., primaryReductionCoef, secondaryReductionCoef);\r\n\t\tIBombingStrategy b2 = new FocusedBombingStrategy(grid, 1., 0.4, 0.3);\r\n\t\tList<IBombingStrategy> bombs = new LinkedList<IBombingStrategy>();\r\n\t\tbombs.add(b1);\r\n\t\tbombs.add(b2);\r\n\t\t\r\n\t\tList<Double> pd = new LinkedList<Double>();\r\n\t\tpd.add(0.5);\r\n\t\tpd.add(0.5);\r\n\t\tjpmf.setBombs(bombs, pd);\r\n\t\tjpmf.update();\r\n\t\t\r\n\t\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\r\n\t\tauction.setSolver(cplexSolver);\r\n\t\tauction.setPaymentRule(\"ECC-VCG_LLG\");\r\n\t\tauction.setSeed(0);\r\n\t\ttry\r\n\t\t{\r\n\t\t\tauction.solveIt();\r\n\t\t\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\r\n\t\t\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\r\n\t\t\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.035 ) < 1e-4);\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).size() == 1 );\r\n\t\t\t\r\n\t\t\t//Get allocated buyers involved in the trade \r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 1 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 1 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\t\t\r\n\t\t\t\r\n\t\t\tdouble[] payments = auction.getPayments();\r\n\t\t\tassertTrue( payments.length == 1);\r\n\t\t\t\r\n\t\t\tSystem.out.println(\">> \" + allocation.getRealizedRV(0, 0) + \" payments[0]=\"+payments[0]);\r\n\t\t\tif( allocation.getRealizedRV(0, 0) == 0.6 )\r\n\t\t\t{\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.054 ) < 1e-4);\r\n\t\t\t}\r\n\t\t\telse if( allocation.getRealizedRV(0, 0) == 0.7 )\r\n\t\t\t{\t\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.061 ) < 1e-4);\r\n\t\t\t}\r\n\t\t\telse if( allocation.getRealizedRV(0, 0) == 0.8 )\r\n\t\t\t{\t\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.068 ) < 1e-4);\r\n\t\t\t} \r\n\t\t\telse throw new RuntimeException(\"Wrong realized value\");\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.isAllocated(0) );\r\n\t\t\tassertTrue( allocation.isAllocated(1) );\r\n\t\t\tassertTrue(!allocation.isAllocated(2) );\r\n\t\t\tassertTrue(!allocation.isAllocated(3) );\r\n\t\t}\r\n\t\tcatch (Exception e) \r\n\t\t{ \r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "e1a74e0821ddf83952ac4cca81d3ad1b", "score": "0.46652636", "text": "public Cage()\n {\n constraintModifier = ' ';\n constraint = 0;\n cagePerimiter = new ArrayList<BoardPosition>();\n }", "title": "" }, { "docid": "87717038382c67187328bae91c5951f1", "score": "0.46612749", "text": "@ZAttr(id=766)\n public void setConstraint(String[] zimbraConstraint) throws com.zimbra.common.service.ServiceException {\n HashMap<String,Object> attrs = new HashMap<String,Object>();\n attrs.put(Provisioning.A_zimbraConstraint, zimbraConstraint);\n getProvisioning().modifyAttrs(this, attrs);\n }", "title": "" }, { "docid": "929463d7ece8922f442f759bb877e424", "score": "0.46568972", "text": "@Test\r\n\tpublic void testECCVCG_LLG2() throws IloException \r\n\t{\r\n\t\tIloCplex cplexSolver = new IloCplex();\r\n\t\tList<Integer> items = new LinkedList<Integer>();\r\n\t\titems.add(1);\r\n\t\titems.add(2);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tList<Integer> bundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tdouble marginalValue = 0.1;\r\n\t\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t1 = new CombinatorialType();\r\n\t\tt1.addAtomicBid(atom11);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tbundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.2;\r\n\t\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t2 = new CombinatorialType();\r\n\t\tt2.addAtomicBid(atom21);\r\n\t\t\r\n\t\t//Global bidder\r\n\t\tbundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.3;\r\n\t\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t3 = new CombinatorialType();\r\n\t\tt3.addAtomicBid(atom31);\r\n\t\t\r\n\t\tList<Type> bids = new LinkedList<Type>();\r\n\t\tbids.add(t1);\r\n\t\tbids.add(t2);\r\n\t\tbids.add(t3);\r\n\t\t\r\n\t\tList<Double> costs = new LinkedList<Double>();\r\n\t\tcosts.add(0.05);\r\n\t\tcosts.add(0.1);\r\n\t\t\r\n\t\tGridGenerator generator = new GridGenerator(1, 2);\r\n\t\tgenerator.setSeed(0);\r\n\t\tgenerator.buildProximityGraph();\r\n\t\tGraph grid = generator.getGrid();\r\n\t\t\r\n\t\tassertTrue(grid.getVertices().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\r\n\t\t\r\n\t\tdouble primaryReductionCoef = 0.3;\r\n\t\tdouble secondaryReductionCoef = 0.2;\r\n\t\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\r\n\t\tjpmf.setNumberOfSamples(1000000);\r\n\t\tjpmf.setNumberOfBombsToThrow(1);\r\n\t\t\r\n\t\tIBombingStrategy b = new FocusedBombingStrategy(grid, 1, primaryReductionCoef, secondaryReductionCoef);\r\n\t\tList<IBombingStrategy> bombs = new LinkedList<IBombingStrategy>();\r\n\t\tbombs.add(b);\r\n\t\r\n\t\tList<Double> probDistribution = new LinkedList<Double>();\r\n\t\tprobDistribution.add(1.);\r\n\t\t\r\n\t\tjpmf.setBombs(bombs, probDistribution);\r\n\t\tjpmf.update();\r\n\t\t\r\n\t\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\r\n\t\tauction.setSolver(cplexSolver);\r\n\t\tauction.setPaymentRule(\"ECC-VCG_LLG\");\r\n\t\tauction.setSeed(0);\r\n\t\ttry\r\n\t\t{\r\n\t\t\tauction.solveIt();\r\n\t\t\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\r\n\t\t\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\r\n\t\t\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.1125 ) < 1e-4);\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).size() == 2 );\r\n\t\t\t\r\n\t\t\t//Get allocated buyers involved in the trade \r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 1 );\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(1) == 2 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 2 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\t\t\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(1) == 0 );\r\n\t\t\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6) );\r\n\t\t\t\r\n\t\t\tdouble[] payments = auction.getPayments();\r\n\t\t\tassertTrue( payments.length == 2);\r\n\t\t\t\r\n\t\t\tif( allocation.getRealizedRV(0, 0) == 0.7 )\r\n\t\t\t{\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.06 ) < 1e-4);\r\n\t\t\t\tassertTrue( Math.abs( payments[1] - 0.15) < 1e-4);\r\n\t\t\t}\r\n\t\t\telse if( allocation.getRealizedRV(0, 0) == 0.8 )\r\n\t\t\t{\t\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.075 ) < 1e-4);\r\n\t\t\t\tassertTrue( Math.abs( payments[1] - 0.135) < 1e-4);\r\n\t\t\t}\r\n\t\t\telse throw new RuntimeException(\"Wrong realized value\");\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.isAllocated(0) );\r\n\t\t\tassertTrue( allocation.isAllocated(1) );\r\n\t\t\tassertTrue( allocation.isAllocated(2) );\r\n\t\t\tassertTrue(!allocation.isAllocated(3) );\r\n\t\t}\r\n\t\tcatch (Exception e) \r\n\t\t{ \r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "875eb340033e4edf60a01f2115d85abb", "score": "0.4642035", "text": "public Grid(int rows, int cols, String[] vals)\n {\n grid = new String[rows][cols];\n for(rows = 0; rows < grid.length; rows++)\n {\n for( cols = 0; cols < grid[rows].length; cols++)\n {\n grid[rows][cols] = vals[(int)(Math.random()*5)]; \n }\n } \n }", "title": "" }, { "docid": "a2c147cb1d9059b9fa4c4af37162fc3b", "score": "0.46399963", "text": "public Grid(int rows, int cols, String[] vals)\n {\n grid = new String[rows][cols];\n for(rows = 0; rows < grid.length; rows++)\n {\n for( cols = 0; cols < grid[rows].length; cols++)\n {\n grid[rows][cols] = vals[(int)(Math.random()*5)]; \n }\n }\n \n \n \n }", "title": "" }, { "docid": "5577da0c7c0715e0b05b509b2c8e4b24", "score": "0.46358532", "text": "@Test\r\n\tpublic void testECRVCG_LLG3() throws IloException \r\n\t{\r\n\t\tIloCplex cplexSolver = new IloCplex();\r\n\t\tList<Integer> items = new LinkedList<Integer>();\r\n\t\titems.add(1);\r\n\t\titems.add(2);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tList<Integer> bundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tdouble marginalValue = 0.1;\r\n\t\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t1 = new CombinatorialType();\r\n\t\tt1.addAtomicBid(atom11);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tbundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.02;\r\n\t\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t2 = new CombinatorialType();\r\n\t\tt2.addAtomicBid(atom21);\r\n\t\t\r\n\t\t//Global bidder\r\n\t\tbundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.3;\r\n\t\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t3 = new CombinatorialType();\r\n\t\tt3.addAtomicBid(atom31);\r\n\t\t\r\n\t\tList<Type> bids = new LinkedList<Type>();\r\n\t\tbids.add(t1);\r\n\t\tbids.add(t2);\r\n\t\tbids.add(t3);\r\n\t\t\r\n\t\tList<Double> costs = new LinkedList<Double>();\r\n\t\tcosts.add(0.05);\r\n\t\tcosts.add(0.21);\r\n\t\t\r\n\t\tGridGenerator generator = new GridGenerator(1, 2);\r\n\t\tgenerator.setSeed(0);\r\n\t\tgenerator.buildProximityGraph();\r\n\t\tGraph grid = generator.getGrid();\r\n\t\t\r\n\t\tassertTrue(grid.getVertices().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\r\n\t\t\r\n\t\tdouble primaryReductionCoef = 0.3;\r\n\t\tdouble secondaryReductionCoef = 0.2;\r\n\t\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\r\n\t\tjpmf.setNumberOfSamples(1000000);\r\n\t\tjpmf.setNumberOfBombsToThrow(1);\r\n\t\t\r\n\t\tIBombingStrategy b1 = new FocusedBombingStrategy(grid, 1., primaryReductionCoef, secondaryReductionCoef);\r\n\t\tIBombingStrategy b2 = new FocusedBombingStrategy(grid, 1., 0.4, 0.3);\r\n\t\tList<IBombingStrategy> bombs = new LinkedList<IBombingStrategy>();\r\n\t\tbombs.add(b1);\r\n\t\tbombs.add(b2);\r\n\t\t\r\n\t\tList<Double> pd = new LinkedList<Double>();\r\n\t\tpd.add(0.5);\r\n\t\tpd.add(0.5);\r\n\t\t\r\n\t\tjpmf.setBombs(bombs, pd);\r\n\t\tjpmf.update();\r\n\t\t\r\n\t\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\r\n\t\tauction.setSolver(cplexSolver);\r\n\t\tauction.setPaymentRule(\"ECR-VCG_LLG\");\r\n\t\tauction.setSeed(0);\r\n\t\ttry\r\n\t\t{\r\n\t\t\tauction.solveIt();\r\n\t\t\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\r\n\t\t\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\r\n\t\t\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.035 ) < 1e-4);\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).size() == 1 );\r\n\t\t\t\r\n\t\t\t//Get allocated buyers involved in the trade \r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 1 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 1 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\t\t\r\n\t\t\t\r\n\t\t\tdouble[] payments = auction.getPayments();\r\n\t\t\tassertTrue( payments.length == 1);\r\n\t\t\t\r\n\t\t\tSystem.out.println(\">> \" + allocation.getRealizedRVsPerGood(0).get(0) + \" \" + allocation.getRealizedRVsPerGood(0).get(1) + \" payments[0]=\"+payments[0]);\r\n\t\t\tif( allocation.getRealizedRVsPerGood(0).get(0) == 0.6 && allocation.getRealizedRVsPerGood(0).get(1) == 0.7 )\r\n\t\t\t{\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.054 ) < 1e-4);\r\n\t\t\t}\r\n\t\t\telse if( allocation.getRealizedRVsPerGood(0).get(0) == 0.7 && allocation.getRealizedRVsPerGood(0).get(1) == 0.6 )\r\n\t\t\t{\t\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.059 ) < 1e-4);\r\n\t\t\t}\r\n\t\t\telse if( allocation.getRealizedRVsPerGood(0).get(0) == 0.7 && allocation.getRealizedRVsPerGood(0).get(1) == 0.8 )\r\n\t\t\t{\t\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.063 ) < 1e-4);\r\n\t\t\t} \r\n\t\t\telse if( allocation.getRealizedRVsPerGood(0).get(0) == 0.8 && allocation.getRealizedRVsPerGood(0).get(1) == 0.7 )\r\n\t\t\t{\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.068 ) < 1e-4);\r\n\t\t\t}\r\n\t\t\telse throw new RuntimeException(\"Wrong realized value\");\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.isAllocated(0) );\r\n\t\t\tassertTrue( allocation.isAllocated(1) );\r\n\t\t\tassertTrue(!allocation.isAllocated(2) );\r\n\t\t\tassertTrue(!allocation.isAllocated(3) );\r\n\t\t}\r\n\t\tcatch (Exception e) \r\n\t\t{ \r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "0c9949472e8a833d535a8498d86c6a53", "score": "0.46351486", "text": "public void addConstraint(List<Integer> coefs, List<String> vars, \n int eq, int bound)\n {\n if (coefs.size() != vars.size())\n return;\n\n if (constraints.length() != 0)\n constraints.append(NEWLINE);\n\n constraints.append(SPACE);\n constraints.append(CONSPREFIX);\n constraints.append(++numConstraints);\n constraints.append(COLON);\n\n for (int index = 0; index < vars.size(); index++)\n {\n constraints.append(SPACE);\n\n if (index != 0)\n {\n constraints.append(PLUS);\n constraints.append(SPACE);\n }\n\n constraints.append(coefs.get(index));\n constraints.append(SPACE);\n constraints.append(vars.get(index));\n }\n\n constraints.append(SPACE);\n if (eq == 0)\n constraints.append(EQ);\n else if (eq > 0)\n constraints.append(GTE);\n else constraints.append(LTE);\n\n constraints.append(SPACE);\n\n constraints.append(bound);\n }", "title": "" }, { "docid": "84fd1f3d0c04ef5a8fe62195bccdf704", "score": "0.46294436", "text": "public void build() {\r\n\r\n GridBagConstraints constraint = new GridBagConstraints();\r\n\r\n constraint.anchor = GridBagConstraints.FIRST_LINE_START;\r\n constraint.gridx = 0;\r\n constraint.gridy = 0;\r\n constraint.gridheight = 1;\r\n constraint.gridwidth = 1;\r\n\r\n constraint.insets = new Insets(0, 0, 50, 300);\r\n add(back, constraint);\r\n\r\n constraint.anchor = GridBagConstraints.CENTER;\r\n constraint.insets = new Insets(10, 0, 0, 0);\r\n constraint.gridy = 1;\r\n constraint.ipadx = 250;\r\n add(name, constraint);\r\n\r\n constraint.gridy = 2;\r\n add(surname, constraint);\r\n\r\n constraint.gridy = 3;\r\n add(email, constraint);\r\n\r\n constraint.gridy = 4;\r\n add(password, constraint);\r\n\r\n constraint.gridy = 5;\r\n add(confirmationPassword, constraint);\r\n\r\n constraint.gridy = 6;\r\n constraint.ipadx = 0;\r\n constraint.ipady = 0;\r\n add(register, constraint);\r\n }", "title": "" }, { "docid": "3bb8a11e7d91d91810d5f23f0c87c4bb", "score": "0.46218696", "text": "@ZAttr(id=766)\n public Map<String,Object> setConstraint(String[] zimbraConstraint, Map<String,Object> attrs) {\n if (attrs == null) attrs = new HashMap<String,Object>();\n attrs.put(Provisioning.A_zimbraConstraint, zimbraConstraint);\n return attrs;\n }", "title": "" }, { "docid": "4658b389694fd5c5e130e29a013646d4", "score": "0.46174568", "text": "@Test\r\n\tpublic void testExpVCG_LLG() \r\n\t{\r\n\t\tList<Integer> items = new LinkedList<Integer>();\r\n\t\titems.add(1);\r\n\t\titems.add(2);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tList<Integer> bundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tdouble marginalValue = 0.1;\r\n\t\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t1 = new CombinatorialType();\r\n\t\tt1.addAtomicBid(atom11);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tbundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.2;\r\n\t\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t2 = new CombinatorialType();\r\n\t\tt2.addAtomicBid(atom21);\r\n\t\t\r\n\t\t//Global bidder\r\n\t\tbundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.15;\r\n\t\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t3 = new CombinatorialType();\r\n\t\tt3.addAtomicBid(atom31);\r\n\t\t\r\n\t\tList<Type> bids = new LinkedList<Type>();\r\n\t\tbids.add(t1);\r\n\t\tbids.add(t2);\r\n\t\tbids.add(t3);\r\n\t\t\r\n\t\tList<Double> costs = new LinkedList<Double>();\r\n\t\tcosts.add(0.05);\r\n\t\tcosts.add(0.1);\r\n\t\t\r\n\t\tGridGenerator generator = new GridGenerator(1, 2);\r\n\t\tgenerator.setSeed(0);\r\n\t\tgenerator.buildProximityGraph();\r\n\t\tGraph grid = generator.getGrid();\r\n\t\t\r\n\t\tassertTrue(grid.getVertices().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\r\n\t\t\r\n\t\tdouble primaryReductionCoef = 1.0;\r\n\t\tdouble secondaryReductionCoef = 0.5;\r\n\t\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\r\n\t\tjpmf.setNumberOfSamples(1000000);\r\n\t\tjpmf.setNumberOfBombsToThrow(1);\r\n\t\t\r\n\t\tIBombingStrategy b = new FocusedBombingStrategy(grid, 1, primaryReductionCoef, secondaryReductionCoef);\r\n\t\tList<IBombingStrategy> bombs = new LinkedList<IBombingStrategy>();\r\n\t\tbombs.add(b);\r\n\t\t\r\n\t\tList<Double> probDistribution = new LinkedList<Double>();\r\n\t\tprobDistribution.add(1.);\r\n\t\t\r\n\t\tjpmf.setBombs(bombs, probDistribution );\r\n\t\tjpmf.update();\r\n\t\t\r\n\t\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\r\n\t\tauction.setPaymentRule(\"Exp-VCG_LLG\");\r\n\t\tauction.setSeed(0);\r\n\t\ttry\r\n\t\t{\r\n\t\t\tauction.solveIt();\r\n\t\t\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\r\n\t\t\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\r\n\t\t\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.0375 ) < 1e-4);\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).size() == 2 );\r\n\t\t\t\r\n\t\t\t//Get allocated buyers involved in the trade \r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 1 );\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(1) == 2 );\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 2 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\t\t//First bidder gets its first bid\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(1) == 0 );\t\t//Second bidder gets its first bid\t\t\r\n\t\t\t\r\n\t\t\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6) );\r\n\t\t\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 1) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 1) - (1.-secondaryReductionCoef)) < 1e-6) );\r\n\t\t\t\r\n\t\t\tdouble[] payments = auction.getPayments();\r\n\t\t\tassertTrue( payments.length == 2);\r\n\t\t\t\r\n\t\t\tSystem.out.println(\">> \" + payments[0]);\r\n\t\t\tassertTrue( Math.abs( payments[0] - 0.0125 ) < 1e-4);\r\n\t\t\tassertTrue( Math.abs( payments[1] - 0.025 ) < 1e-4);\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.isAllocated(0) );\r\n\t\t\tassertTrue( allocation.isAllocated(1) );\r\n\t\t\tassertTrue( allocation.isAllocated(2) );\r\n\t\t\tassertTrue(!allocation.isAllocated(3) );\r\n\t\t}\r\n\t\tcatch (Exception e) \r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "33653b0321ca2d68e6eff06023b0f19b", "score": "0.4617007", "text": "@Test\r\n\tpublic void testECRVCG_LLG() throws IloException \r\n\t{\r\n\t\tIloCplex cplexSolver = new IloCplex();\r\n\t\tList<Integer> items = new LinkedList<Integer>();\r\n\t\titems.add(1);\r\n\t\titems.add(2);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tList<Integer> bundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tdouble marginalValue = 0.1;\r\n\t\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t1 = new CombinatorialType();\r\n\t\tt1.addAtomicBid(atom11);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tbundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.2;\r\n\t\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t2 = new CombinatorialType();\r\n\t\tt2.addAtomicBid(atom21);\r\n\t\t\r\n\t\t//Global bidder\r\n\t\tbundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.15;\r\n\t\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t3 = new CombinatorialType();\r\n\t\tt3.addAtomicBid(atom31);\r\n\t\t\r\n\t\tList<Type> bids = new LinkedList<Type>();\r\n\t\tbids.add(t1);\r\n\t\tbids.add(t2);\r\n\t\tbids.add(t3);\r\n\t\t\r\n\t\tList<Double> costs = new LinkedList<Double>();\r\n\t\tcosts.add(0.05);\r\n\t\tcosts.add(0.1);\r\n\t\t\r\n\t\tGridGenerator generator = new GridGenerator(1, 2);\r\n\t\tgenerator.setSeed(0);\r\n\t\tgenerator.buildProximityGraph();\r\n\t\tGraph grid = generator.getGrid();\r\n\t\t\r\n\t\tassertTrue(grid.getVertices().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\r\n\t\t\r\n\t\tdouble primaryReductionCoef = 1.0;\r\n\t\tdouble secondaryReductionCoef = 0.5;\r\n\t\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\r\n\t\tjpmf.setNumberOfSamples(1000000);\r\n\t\tjpmf.setNumberOfBombsToThrow(1);\r\n\t\t\r\n\t\tIBombingStrategy b = new FocusedBombingStrategy(grid, 1., primaryReductionCoef, secondaryReductionCoef);\r\n\t\tList<IBombingStrategy> bombs = new LinkedList<IBombingStrategy>();\r\n\t\tbombs.add(b);\r\n\t\t\r\n\t\tList<Double> pd = new LinkedList<Double>();\r\n\t\tpd.add(1.);\r\n\t\t\r\n\t\tjpmf.setBombs(bombs, pd);\r\n\t\tjpmf.update();\r\n\t\t\r\n\t\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\r\n\t\tauction.setPaymentRule(\"ECR-VCG_LLG\");\r\n\t\tauction.setSolver(cplexSolver);\r\n\t\tauction.setSeed(0);\r\n\t\ttry\r\n\t\t{\r\n\t\t\tauction.solveIt();\r\n\t\t\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\r\n\t\t\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\r\n\t\t\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.0375 ) < 1e-4);\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).size() == 2 );\r\n\t\t\t\r\n\t\t\t//Get allocated buyers involved in the trade \r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 1 );\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(1) == 2 );\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 2 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\t\t//First bidder gets its first bid\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(1) == 0 );\t\t//Second bidder gets its first bid\t\t\r\n\t\t\t\r\n\t\t\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6) );\r\n\t\t\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 1) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 1) - (1.-secondaryReductionCoef)) < 1e-6) );\r\n\t\t\t\r\n\t\t\tdouble[] payments = auction.getPayments();\r\n\t\t\tassertTrue( payments.length == 2);\r\n\t\t\t\r\n\t\t\tif( allocation.getRealizedRV(0, 0) == 0.5 )\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.025 ) < 1e-4);\r\n\t\t\telse if( allocation.getRealizedRV(0, 0) == 0. )\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0. ) < 1e-4);\r\n\t\t\t\r\n\t\t\tif( allocation.getRealizedRV(0, 1) == 0.5 )\r\n\t\t\t\tassertTrue( Math.abs( payments[1] - 0.05 ) < 1e-4);\r\n\t\t\telse if( allocation.getRealizedRV(0, 1) == 0. )\r\n\t\t\t\tassertTrue( Math.abs( payments[1] - 0. ) < 1e-4);\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.isAllocated(0) );\r\n\t\t\tassertTrue( allocation.isAllocated(1) );\r\n\t\t\tassertTrue( allocation.isAllocated(2) );\r\n\t\t\tassertTrue(!allocation.isAllocated(3) );\r\n\t\t}\r\n\t\tcatch (Exception e) \r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "b72a5b036a53fd226f1b94dde2128f71", "score": "0.46107557", "text": "@Test\r\n\tpublic void testECRVCG_LLG2() throws IloException \r\n\t{\r\n\t\tIloCplex cplexSolver = new IloCplex();\r\n\t\tList<Integer> items = new LinkedList<Integer>();\r\n\t\titems.add(1);\r\n\t\titems.add(2);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tList<Integer> bundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tdouble marginalValue = 0.1;\r\n\t\tAtomicBid atom11 = new AtomicBid(1, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t1 = new CombinatorialType();\r\n\t\tt1.addAtomicBid(atom11);\r\n\t\t\r\n\t\t//Local bidder\r\n\t\tbundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.2;\r\n\t\tAtomicBid atom21 = new AtomicBid(2, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t2 = new CombinatorialType();\r\n\t\tt2.addAtomicBid(atom21);\r\n\t\t\r\n\t\t//Global bidder\r\n\t\tbundle = new LinkedList<Integer>();\r\n\t\tbundle.add( items.get(0) );\r\n\t\tbundle.add( items.get(1) );\r\n\t\tmarginalValue = 0.3;\r\n\t\tAtomicBid atom31 = new AtomicBid(3, bundle, marginalValue);\r\n\t\t\r\n\t\tCombinatorialType t3 = new CombinatorialType();\r\n\t\tt3.addAtomicBid(atom31);\r\n\t\t\r\n\t\tList<Type> bids = new LinkedList<Type>();\r\n\t\tbids.add(t1);\r\n\t\tbids.add(t2);\r\n\t\tbids.add(t3);\r\n\t\t\r\n\t\tList<Double> costs = new LinkedList<Double>();\r\n\t\tcosts.add(0.05);\r\n\t\tcosts.add(0.1);\r\n\t\t\r\n\t\tGridGenerator generator = new GridGenerator(1, 2);\r\n\t\tgenerator.setSeed(0);\r\n\t\tgenerator.buildProximityGraph();\r\n\t\tGraph grid = generator.getGrid();\r\n\t\t\r\n\t\tassertTrue(grid.getVertices().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().size() == 2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(0).get(0)._v.getID()==2);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).size() == 1);\r\n\t\tassertTrue(grid.getAdjacencyLists().get(1).get(0)._v.getID()==1);\r\n\t\t\r\n\t\tdouble primaryReductionCoef = 0.3;\r\n\t\tdouble secondaryReductionCoef = 0.2;\r\n\t\tJointProbabilityMass jpmf = new JointProbabilityMass( grid );\r\n\t\tjpmf.setNumberOfSamples(1000000);\r\n\t\tjpmf.setNumberOfBombsToThrow(1);\r\n\t\t\r\n\t\tIBombingStrategy b = new FocusedBombingStrategy(grid, 1., primaryReductionCoef, secondaryReductionCoef);\r\n\t\tList<IBombingStrategy> bombs = new LinkedList<IBombingStrategy>();\r\n\t\tbombs.add(b);\r\n\t\t\r\n\t\tList<Double> pd = new LinkedList<Double>();\r\n\t\tpd.add(1.);\r\n\t\t\r\n\t\tjpmf.setBombs(bombs, pd);\r\n\t\tjpmf.update();\r\n\t\t\r\n\t\tProbabilisticCAXOR auction = new ProbabilisticCAXOR( bids.size(), items.size(), bids, costs, jpmf);\r\n\t\tauction.setSolver(cplexSolver);\r\n\t\tauction.setPaymentRule(\"ECR-VCG_LLG\");\r\n\t\tauction.setSeed(0);\r\n\t\ttry\r\n\t\t{\r\n\t\t\tauction.solveIt();\r\n\t\t\tAllocationEC allocation = (AllocationEC)auction.getAllocation();\r\n\t\t\tassertTrue(allocation.getNumberOfAllocatedAuctioneers() == 1);\r\n\t\t\tassertTrue(Math.abs( allocation.getExpectedWelfare() - 0.1125 ) < 1e-4);\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).size() == 2 );\r\n\t\t\t\r\n\t\t\t//Get allocated buyers involved in the trade \r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(0) == 1 );\r\n\t\t\tassertTrue( allocation.getBiddersInvolved(0).get(1) == 2 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).size() == 2 );\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(0) == 0 );\t\t\r\n\t\t\tassertTrue( allocation.getAllocatedBundlesOfTrade(0).get(1) == 0 );\r\n\t\t\tassertTrue( (Math.abs(allocation.getRealizedRV(0, 0) - (1.-primaryReductionCoef)) < 1e-6) || (Math.abs(allocation.getRealizedRV(0, 0) - (1.-secondaryReductionCoef)) < 1e-6) );\r\n\t\t\t\r\n\t\t\tdouble[] payments = auction.getPayments();\r\n\t\t\tassertTrue( payments.length == 2);\r\n\t\t\t\r\n\t\t\tif( allocation.getRealizedRV(0, 0) == 0.7 )\r\n\t\t\t{\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.06 ) < 1e-4);\r\n\t\t\t\tassertTrue( Math.abs( payments[1] - 0.15) < 1e-4);\r\n\t\t\t}\r\n\t\t\telse if( allocation.getRealizedRV(0, 0) == 0.8 )\r\n\t\t\t{\t\r\n\t\t\t\tassertTrue( Math.abs( payments[0] - 0.075 ) < 1e-4);\r\n\t\t\t\tassertTrue( Math.abs( payments[1] - 0.135) < 1e-4);\r\n\t\t\t}\r\n\t\t\telse throw new RuntimeException(\"Wrong realized value\");\r\n\t\t\t\r\n\t\t\tassertTrue( allocation.isAllocated(0) );\r\n\t\t\tassertTrue( allocation.isAllocated(1) );\r\n\t\t\tassertTrue( allocation.isAllocated(2) );\r\n\t\t\tassertTrue(!allocation.isAllocated(3) );\r\n\t\t}\r\n\t\tcatch (Exception e) \r\n\t\t{ \r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "5d0a128ca6f5d9e11321cc2c6b9209be", "score": "0.46090695", "text": "protected void createConstraintAnnotations() {\r\n\t\tString source = \"http://www.polarsys.org/kitalpha/emde/1.0.0/constraint\"; //$NON-NLS-1$\t\r\n\t\taddAnnotation(capellaTagEClass, source,\r\n\t\t\t\tnew String[] { \"ExtendedElement\", \" http://www.polarsys.org/capella/core/core/1.0.0#//CapellaElement\" //$NON-NLS-1$ //$NON-NLS-2$\r\n\t\t});\r\n\t}", "title": "" }, { "docid": "c77d4ffe17a1b950710664e2384fb154", "score": "0.46085814", "text": "public FSGridLayout(int rows, int cols, int hgap, int vgap) {\n\t\tsuper(rows, cols, hgap, vgap);\n\t}", "title": "" }, { "docid": "b7400c03a5a29f938d1e42cab55078a0", "score": "0.45865086", "text": "public void CreateRectangle() {\n\t\tfor (int row = 0; row < 4; row++) {\n\t\t\tfor (int col = 0; col < 3; col++) {\n\t\t\t\tint x = initialX + (RECTSIZE + COLGAPSIZE) * col;\n\t\t\t\tint y = initialY + (RECTSIZE + ROWGAPSIZE) * row;\n\t\t\t\tif (row > 1)\n\t\t\t\t\ty += 20;// the gap changes when the row lager than 1\n\t\t\t\tbagRectangle[row][col] = new Rectangle(x, y, RECTSIZE, RECTSIZE);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "0eb5a5f13db204d05754f442031b721e", "score": "0.45814967", "text": "private void setBasket() {\n // ground of the basket like shape\n Shape groundShape = new BoxShape(30, 0.5f);\n Body ground = new StaticBody(this, groundShape);\n ground.setPosition(new Vec2(0, -20f));\n\n // walls of the basket like shape\n Shape wallShape = new BoxShape(0.05f, 3f);\n Body leftWall = new StaticBody(this, wallShape);\n leftWall.setPosition(new Vec2(-1, -20));\n Body rightWall = new StaticBody(this, wallShape);\n rightWall.setPosition(new Vec2(1, -20));\n }", "title": "" }, { "docid": "94fbca0be5e69a59940e9f5a7452f675", "score": "0.45761022", "text": "public Tetrad(MyBoundedGrid<Block> grid)\r\n {\r\n this.grid = grid;\r\n block = new Block[4];\r\n shadow = new Block[4];\r\n for (int i=0; i<block.length; i++)\r\n {\r\n block[i] = new Block();\r\n shadow[i] = new Block();\r\n }\r\n \r\n type = (int)(Math.random()*7); \r\n setColor();\r\n lock = new Semaphore(1, true);\r\n }", "title": "" }, { "docid": "d80cf6b7cedfd74caa51d44338d0744f", "score": "0.45729488", "text": "public PointBag() {\n\t\tthis(DEFAULT_CAP);\n\t}", "title": "" }, { "docid": "06cb5c20f67ae655970b261199e317c9", "score": "0.4568783", "text": "private static void makeAmtConfig() {\n\t\t\n\t\t/* Set make amount columns */\n\t ColumnConstraints makeAmtCol1 = new ColumnConstraints();\n\t makeAmtCol1.setPercentWidth(75);\n\t makeAmtCol1.setHalignment(HPos.CENTER);\n\t ColumnConstraints makeAmtCol2 = new ColumnConstraints();\n\t makeAmtCol2.setPercentWidth(25);\n\t makeAmtCol2.setHalignment(HPos.CENTER);\n\t makeAmtPane.getColumnConstraints().addAll(makeAmtCol1, makeAmtCol2);\n\t \n\t /* Set make amount rows */\n\t RowConstraints makeAmtRow1 = new RowConstraints();\n\t makeAmtRow1.setPercentHeight(50);\n\t RowConstraints makeAmtRow2 = new RowConstraints();\n\t makeAmtRow2.setPercentHeight(50);\n\t RowConstraints makeAmtRow3 = new RowConstraints();\n\t makeAmtRow3.setPercentHeight(50);\n\t RowConstraints makeAmtRow4 = new RowConstraints();\n\t makeAmtRow4.setPercentHeight(50);\n\t makeAmtPane.getRowConstraints().addAll(makeAmtRow1, makeAmtRow2, makeAmtRow3, makeAmtRow4);\n\t \n\t\t/* Make amount slider setup */\n\t\tmakeAmtSlider.setShowTickMarks(true);\n\t\tmakeAmtSlider.setShowTickLabels(true);\n\t\tmakeAmtSlider.setMajorTickUnit(25);\n\t\tmakeAmtSlider.setMinorTickCount(4);\n\t\tmakeAmtSlider.setPrefWidth(1000);\n\t\tmakeAmtSlider.valueProperty().addListener(new ChangeListener<Number>() {\n public void changed(ObservableValue<? extends Number> ov, Number old_val, Number new_val) {\n \tmakeAmtSlider.setValue(new_val.intValue());\n \tif (((int) makeAmtMult.getValue() * new_val.intValue() < 1)) { makeButton.setDisable(true); }\n \telse { makeButton.setDisable(false); }\n makeAmtVal.setText(String.valueOf((int)((int) makeAmtMult.getValue() * new_val.intValue()))); }\n });\n\t\t\n\t\t/* Make amount multiplier setup */\n\t\tmakeAmtMult.setShowTickMarks(true);\n\t\tmakeAmtMult.setShowTickLabels(true);\n\t\tmakeAmtMult.setSnapToTicks(true);\n\t\tmakeAmtMult.setMajorTickUnit(5);\n\t\tmakeAmtMult.setMinorTickCount(4);\n\t\tmakeAmtMult.setPrefWidth(1000);\n\t\tmakeAmtMult.valueProperty().addListener(new ChangeListener<Number>() {\n public void changed(ObservableValue<? extends Number> ov, Number old_val, Number new_val) {\n \tif (((int) makeAmtSlider.getValue() * new_val.intValue() < 1)) { makeButton.setDisable(true); }\n \telse { makeButton.setDisable(false); }\n makeAmtVal.setText(String.valueOf((int)((int) makeAmtSlider.getValue() * new_val.intValue()))); }\n });\n\n\t\t/* Add everything to pane */\n\t makeAmtPane.add(makeAmtLabel, 0, 0);\n\t makeAmtPane.add(makeAmtSlider, 0, 1);\n\t makeAmtPane.add(makeMultLabel, 0, 2);\n\t makeAmtPane.add(makeAmtMult, 0, 3);\n\t makeAmtPane.add(makeAmtVal, 1, 1);\n\t makeAmtPane.add(makeButton, 1, 2);\n\t}", "title": "" }, { "docid": "84f78c80e1a14b1be322c011689177a0", "score": "0.45613772", "text": "private void initialize() {\n\t\tframe = new JFrame();\n\t\tframe.setBounds(100, 100, 450, 300);\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tGridBagLayout gridBagLayout = new GridBagLayout();\n\t\tgridBagLayout.columnWidths = new int[]{0, 0};\n\t\tgridBagLayout.rowHeights = new int[]{0, 0, 0, 0, 154, 0};\n\t\tgridBagLayout.columnWeights = new double[]{0, 1.0};\n\t\tgridBagLayout.rowWeights = new double[]{0.0, 0.0, 0.0, 1.0, 0.0, Double.MIN_VALUE};\n\t\tframe.getContentPane().setLayout(gridBagLayout);\n\t\t\n\t\tJLabel lblId = new JLabel(\"Id:\");\n\t\tGridBagConstraints gbc_lblId = new GridBagConstraints();\n\t\tgbc_lblId.anchor = GridBagConstraints.EAST;\n\t\tgbc_lblId.insets = new Insets(0, 5, 5, 5);\n\t\tgbc_lblId.gridx = 0;\n\t\tgbc_lblId.gridy = 0;\n\t\tframe.getContentPane().add(lblId, gbc_lblId);\n\t\t\n\t\tjtfid = new JTextField();\n\t\tGridBagConstraints gbc_jtfid = new GridBagConstraints();\n\t\tgbc_jtfid.ipady = 1;\n\t\tgbc_jtfid.ipadx = 1;\n\t\tgbc_jtfid.insets = new Insets(5, 0, 5, 25);\n\t\tgbc_jtfid.fill = GridBagConstraints.HORIZONTAL;\n\t\tgbc_jtfid.gridx = 1;\n\t\tgbc_jtfid.gridy = 0;\n\t\tframe.getContentPane().add(jtfid, gbc_jtfid);\n\t\tjtfid.setColumns(10);\n\t\t\n\t\tJLabel lblCif = new JLabel(\"CIF:\");\n\t\tGridBagConstraints gbc_lblCif = new GridBagConstraints();\n\t\tgbc_lblCif.anchor = GridBagConstraints.EAST;\n\t\tgbc_lblCif.insets = new Insets(0, 5, 5, 5);\n\t\tgbc_lblCif.gridx = 0;\n\t\tgbc_lblCif.gridy = 1;\n\t\tframe.getContentPane().add(lblCif, gbc_lblCif);\n\t\t\n\t\tjtfCIF = new JTextField();\n\t\tGridBagConstraints gbc_jtfCIF = new GridBagConstraints();\n\t\tgbc_jtfCIF.insets = new Insets(0, 0, 5, 25);\n\t\tgbc_jtfCIF.fill = GridBagConstraints.HORIZONTAL;\n\t\tgbc_jtfCIF.gridx = 1;\n\t\tgbc_jtfCIF.gridy = 1;\n\t\tframe.getContentPane().add(jtfCIF, gbc_jtfCIF);\n\t\tjtfCIF.setColumns(10);\n\t\t\n\t\tJLabel lblNombreFabricante = new JLabel(\"nombre\");\n\t\tGridBagConstraints gbc_lblNombreFabricante = new GridBagConstraints();\n\t\tgbc_lblNombreFabricante.anchor = GridBagConstraints.EAST;\n\t\tgbc_lblNombreFabricante.insets = new Insets(0, 5, 5, 5);\n\t\tgbc_lblNombreFabricante.gridx = 0;\n\t\tgbc_lblNombreFabricante.gridy = 2;\n\t\tframe.getContentPane().add(lblNombreFabricante, gbc_lblNombreFabricante);\n\t\t\n\t\tjtfnombre = new JTextField();\n\t\tGridBagConstraints gbc_jtfnombre = new GridBagConstraints();\n\t\tgbc_jtfnombre.insets = new Insets(0, 0, 5, 25);\n\t\tgbc_jtfnombre.fill = GridBagConstraints.HORIZONTAL;\n\t\tgbc_jtfnombre.gridx = 1;\n\t\tgbc_jtfnombre.gridy = 2;\n\t\tframe.getContentPane().add(jtfnombre, gbc_jtfnombre);\n\t\tjtfnombre.setColumns(10);\n\t\t\n\t\tJPanel panel = new JPanel();\n\t\tGridBagConstraints gbc_panel = new GridBagConstraints();\n\t\tgbc_panel.insets = new Insets(0, 0, 5, 0);\n\t\tgbc_panel.gridwidth = 2;\n\t\tgbc_panel.fill = GridBagConstraints.BOTH;\n\t\tgbc_panel.gridx = 0;\n\t\tgbc_panel.gridy = 3;\n\t\tframe.getContentPane().add(panel, gbc_panel);\n\t\tpanel.setLayout(new FlowLayout(FlowLayout.CENTER, 5, 5));\n\t\t\n\t\tJButton btnPrimero = new JButton(\"<<\");\n\t\tpanel.add(btnPrimero);\n\t\t\n\t\tJButton btnAnterior = new JButton(\"<\");\n\t\tpanel.add(btnAnterior);\n\t\t\n\t\tJButton btnSiguiente = new JButton(\">\");\n\t\tpanel.add(btnSiguiente);\n\t\t\n\t\tJButton btnUltimo = new JButton(\">>\");\n\t\tpanel.add(btnUltimo);\n\t\tgbc_panel.fill = GridBagConstraints.BOTH;\n\t\tgbc_panel.gridx = 0;\n\t\tgbc_panel.gridy = 4;\n\t\t\n\t\tJPanel panel_1 = new JPanel();\n\t\tGridBagConstraints gbc_panel_1 = new GridBagConstraints();\n\t\tgbc_panel_1.gridwidth = 2;\n\t\tgbc_panel_1.fill = GridBagConstraints.BOTH;\n\t\tgbc_panel_1.gridx = 0;\n\t\tgbc_panel_1.gridy = 4;\n\t\tframe.getContentPane().add(panel_1, gbc_panel_1);\n\t\tpanel_1.setLayout(new FlowLayout(FlowLayout.CENTER, 5, 5));\n\t\t\n\t\tJButton btnNuevo = new JButton(\"Nuevo\");\n\t\tpanel_1.add(btnNuevo);\n\t\t\n\t\tJButton btnGuardar = new JButton(\"Guardar\");\n\t\tpanel_1.add(btnGuardar);\n\t\t\n\t\tJButton btnBorrar = new JButton(\"Borrar\");\n\t\tpanel_1.add(btnBorrar);\n\t}", "title": "" }, { "docid": "ddefdb915c0e0fdf1010677cbd3c3a7e", "score": "0.45611942", "text": "public void makeGrid(Cell[][] actualGrid){\n gamePanel.removeAll();\n gamePanel.setVisible(false);\n for(int i = 0; i < GC.getGridY(); i++){\n for (int j = 0; j < GC.getGridX(); j++){\n buttons[j][i] = actualGrid[j][i];\n if(buttons[j][i] instanceof Empty){\n buttons[j][i].addMouseListener(new GameControlEmptyListener());\n buttons[j][i].addActionListener(new CellListener());\n }\n else if(buttons[j][i] instanceof Bomb){\n buttons[j][i].addActionListener(new BombListener());\n }\n else{\n buttons[j][i].addActionListener(new CellListener());\n }\n buttons[j][i].addMouseListener(new GameControlMarkListener());\n\n gridContraints.gridx = j;\n gridContraints.gridy = i;\n gamePanel.add(buttons[j][i],gridContraints);\n }\n }\n controlContainer.add(gamePanel,gameConstraint);\n gamePanel.setVisible(true);\n }", "title": "" }, { "docid": "6fb3a9cfd43eb278caceeeacbc370a79", "score": "0.45576403", "text": "private void addComponent(Component component, int gridx, int gridy,\n int gridwidth, int gridheight, int weightx, int weighty, int ipady, int fill,\n int anchor) {\n \n GridBagConstraints constraints = new GridBagConstraints();\n constraints.gridx = gridx;\n constraints.gridy = gridy;\n constraints.gridwidth = gridwidth;\n constraints.gridheight = gridheight;\n constraints.weightx = weightx;\n constraints.weighty = weighty;\n constraints.fill = fill;\n\t\tconstraints.ipady = ipady;\n constraints.anchor = anchor;\n gridbag.setConstraints(component, constraints);\n pane.add(component);\n }", "title": "" }, { "docid": "5d8ac3de9904ba99a4b2009fa630c58e", "score": "0.45383775", "text": "public void configure(int ti){\r\n setLayout(new GridBagLayout());\r\n setTitle(\"Neue Bestellung\");\r\n setResizable(false);\r\n setSize(new Dimension(380,370));\r\n setLocation(500,300);\r\n GridBagConstraints bagConstraints = new GridBagConstraints();\r\n setLayout(new GridBagLayout());\r\n setHeader(bagConstraints, \"Neue Bestellung hinzufügen\");\r\n setTableCombo(ti,bagConstraints);\r\n setPersonCombo(bagConstraints);\r\n setReservedRadio(bagConstraints);\r\n setEating(bagConstraints);\r\n setDrinking(bagConstraints);\r\n setCommit(bagConstraints);\r\n setVisible(true);\r\n setAlwaysOnTop(true);\r\n setDefaultCloseOperation(this.HIDE_ON_CLOSE);\r\n }", "title": "" }, { "docid": "c9a9717a067214e37119b69a05ad59b6", "score": "0.45284832", "text": "private void initialize() {\r\n\t\t// user code begin {1}\r\n\t\t// user code end\r\n\t\tGridBagConstraints gridBagConstraints2 = new GridBagConstraints();\r\n\t\tgridBagConstraints2.fill = GridBagConstraints.NONE;\r\n\t\tgridBagConstraints2.gridy = 0;\r\n\t\tgridBagConstraints2.weightx = 0.0;\r\n\t\tgridBagConstraints2.gridx = 0;\r\n\t\tGridBagConstraints gridBagConstraints1 = new GridBagConstraints();\r\n\t\tgridBagConstraints1.fill = GridBagConstraints.NONE;\r\n\t\tgridBagConstraints1.gridy = 0;\r\n\t\tgridBagConstraints1.weightx = 0.0;\r\n\t\tgridBagConstraints1.gridx = 4;\r\n\t\tsetName(\"DataTablePanel\");\r\n\t\tsetLayout(new java.awt.GridBagLayout());\r\n\t\tsetBackground(new java.awt.Color(181, 183, 154));\r\n\t\tsetSize(489, 203);\r\n\r\n\t\tjava.awt.GridBagConstraints constraintsBarraEstadosPanel = new java.awt.GridBagConstraints();\r\n\t\tconstraintsBarraEstadosPanel.gridx = 2;\r\n\t\tconstraintsBarraEstadosPanel.gridy = 0;\r\n\t\tconstraintsBarraEstadosPanel.fill = GridBagConstraints.BOTH;\r\n\t\tconstraintsBarraEstadosPanel.weighty = 0.0D;\r\n\t\tconstraintsBarraEstadosPanel.weightx = 1.0;\r\n\t\tjava.awt.GridBagConstraints constraintsJScrollPane = new java.awt.GridBagConstraints();\r\n\t\tconstraintsJScrollPane.gridx = 0;\r\n\t\tconstraintsJScrollPane.gridy = 2;\r\n\t\tconstraintsJScrollPane.gridwidth = 5;\r\n\t\tconstraintsJScrollPane.fill = java.awt.GridBagConstraints.BOTH;\r\n\t\tconstraintsJScrollPane.weightx = 1.0;\r\n\t\tconstraintsJScrollPane.weighty = 1.0;\r\n\t\tjava.awt.GridBagConstraints constraintsBar02Panel1 = new java.awt.GridBagConstraints();\r\n\t\tconstraintsBar02Panel1.gridx = 0;\r\n\t\tconstraintsBar02Panel1.gridy = 3;\r\n\t\tconstraintsBar02Panel1.gridwidth = 5;\r\n\t\tconstraintsBar02Panel1.fill = java.awt.GridBagConstraints.HORIZONTAL;\r\n\t\tconstraintsBar02Panel1.weightx = 1.0;\r\n\t\tgetTableExt().setFont(efren.util.FontManager.currentSystemPlainFont());\r\n\t\tthis.setBorder(javax.swing.BorderFactory.createLoweredBevelBorder());\r\n\t\tthis.add(getJScrollPane(), constraintsJScrollPane);\r\n\t\tthis.add(getBar02Panel1(), constraintsBar02Panel1);\r\n\t\tthis.add(getBarraEstadosPanel(), constraintsBarraEstadosPanel);\r\n\t\tthis.add(getJToolBar(), gridBagConstraints1);\r\n\t\tthis.add(getJToolBar1(), gridBagConstraints2);\r\n\t\tthis.getTableExt().setContainerPanel(this);\r\n\r\n\t\ttry {\r\n\t\t\tinitConnections();\r\n\t\t} catch (Exception e) {\r\n\t\t\te.getMessage();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "1639996ceaaed34739aa9273e04a4086", "score": "0.45103872", "text": "ConstraintTypeFormula() {\n }", "title": "" }, { "docid": "d6358126799efd6b630641c8eace6b87", "score": "0.4509758", "text": "public void createGrid() {\r\n\t\tfor (int i = 0; i < length; i++) {\r\n\t\t\tfor (int j = 0; j < width; j++) {\r\n\t\t\t\tgrid[i][j] = new Point(i, j);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "bfed6c1f53b06f036d1bdf2172c45d01", "score": "0.44971418", "text": "private Grid() {}", "title": "" }, { "docid": "9b4c49cf74e9ed91e49a5355dd34f642", "score": "0.44953603", "text": "public static void createGrid( ArrayList<Integer> gridNumbers )\r\n\t{\r\n\t\tgrid = new int[numOfVariables+1][numOfVariables+1];\r\n\t\tfor( int i = 0; i < numOfVariables+1; i++ )\r\n\t\t{\r\n\t\t\tfor( int j = 0; j < numOfVariables+1; j++ )\r\n\t\t\t{\r\n\t\t\t\tgrid[i][j] = gridNumbers.get( 0 );\r\n\t\t\t\tgridNumbers.remove( 0 );\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "aacb17241c5387032f814dfd20aaa144", "score": "0.4494996", "text": "public BudgetConstraint(double weight, double[] highestValues, ConstraintScope c) {\r\n\t\tsuper(weight, MSPolicy.DESCENDENT_TYPE, c);\r\n\t\tthis.constraintName = \"Budget\";\r\n\t\thighRamCost = highestValues[0];\r\n\t\thighStorageCost = highestValues[1];\r\n\t}", "title": "" }, { "docid": "c16c5a2afb71cd52f95fb9b7a0272593", "score": "0.44887152", "text": "public abstract void buildGrid();", "title": "" }, { "docid": "89d454f669af9464cf4c75412b6048f1", "score": "0.44861525", "text": "public PointBag(int capacity) {\n\t\tpoints = new Point[capacity];\n\t\tsize = 0;\n\t}", "title": "" }, { "docid": "e516fbcfc04995f0e1ec4d1a6910ac57", "score": "0.4479026", "text": "public void putConstraintViews(ConstraintView[] constraintViews)\n {\n _desktopPane.putGraphComponents(constraintViews);\n }", "title": "" } ]
c1e4b6d0b67428ae2662fc414452f1e2
suleta un objeto de la mochila
[ { "docid": "424146e5d49135223452c41787c43e3b", "score": "0.0", "text": "public void dropItem(String nombreObjeto)\n {\n for(int i = 0;i<mochila.size();i++)\n {\n if(mochila.get(i).getNombre().equals(nombreObjeto))\n {\n currentRoom.addItem(mochila.get(i));\n pesoActual -=mochila.get(i).getPeso();\n mochila.remove(i);\n\n }\n }\n }", "title": "" } ]
[ { "docid": "ce6a5840c01d886ddf9923c082373a7e", "score": "0.6673176", "text": "public Pasta (){\n\t\t\n\t}", "title": "" }, { "docid": "73d13859db2752df14b92b3c7a368aaa", "score": "0.66469675", "text": "public ObjetoGrafico() {\n\t}", "title": "" }, { "docid": "ca8ea2fa0ee80483283caf80aa4bf7e0", "score": "0.6622898", "text": "public conta(){\n \n }", "title": "" }, { "docid": "112d4e044819ac429477fca6cc0b65f6", "score": "0.65937316", "text": "public Aktuelles(){}", "title": "" }, { "docid": "26c1be8a070a82fe6c3921ec0214e6da", "score": "0.6538352", "text": "public Trabalho(){}", "title": "" }, { "docid": "df53ef2c9b957798cf20c50b7feb0f26", "score": "0.6492857", "text": "public Objet() {\r\n\t\tcouleur = \"\";\r\n\t\tnbre = 0;\r\n\t\tpos = 0;\r\n\t}", "title": "" }, { "docid": "68e95f76aa53bf1591300ec2978f2748", "score": "0.6470249", "text": "public void createObject()//laver et nyt object\n {\n \n }", "title": "" }, { "docid": "0b0d94da0a79bf7fce1c962132afdbd2", "score": "0.6453352", "text": "private Modelo(Marca marca) {\n\t\tthis.marca = marca;\n\t}", "title": "" }, { "docid": "f9a47b48cf17a19799b6862d4b8af736", "score": "0.6397971", "text": "public Proyecto(){}", "title": "" }, { "docid": "0ac31408fe3017bd70f4f4931920f163", "score": "0.63777465", "text": "public CasaDeVacanta(){\n\n}", "title": "" }, { "docid": "485fa3c412d3fdcf5acbe7446c5678a4", "score": "0.6366477", "text": "public Model(){\r\n this.encomendas = new Encomendas();\r\n this.lojas = new Lojas();\r\n this.transportadoras = new Transportadoras();\r\n this.utilizadores = new Utilizadores();\r\n this.voluntarios = new Voluntarios();\r\n }", "title": "" }, { "docid": "70a3f39cbf44695f9cf4cb517c8cf5cf", "score": "0.6348461", "text": "public Reserva() {\n this.passageiro = new Passageiro(); // evito erro de null pointer\n this.voo = new Voo(); // evito erro de acesso a espaco na memoria inexistente\n }", "title": "" }, { "docid": "801844e45fe45a2a36c841a7e3cd65a2", "score": "0.6342926", "text": "public Paziente(){\r\n\t\t\r\n\t}", "title": "" }, { "docid": "891e923fcf4ff36755488e348c2b10df", "score": "0.6342149", "text": "public AlunoMB() {\r\n }", "title": "" }, { "docid": "23ebe251ad4bd2d8ede854c0c6ea7e58", "score": "0.6319918", "text": "public Acta(){\n\n\t}", "title": "" }, { "docid": "723cd8fd8153dce27ee1b8a0bbc1aa82", "score": "0.63149565", "text": "public admCurso(){//creamos el constructor de la clase admCurso\n ConexCurso = new conexionBD();// crear un objeto con la coneccionBD \n ConexCurso.Conectar();// Conectar a la base de datos\n ListaCurso = new ArrayList<>();// creamos una instancia de la lista\n \n}", "title": "" }, { "docid": "ef7bf650f1f9d78359d33246ebe361c9", "score": "0.6297741", "text": "public Conta() {}", "title": "" }, { "docid": "49823f8da9e1985625b2e626ebfddd52", "score": "0.62557864", "text": "public Saida(){\n \n }", "title": "" }, { "docid": "ee77db466b1383b772b5363a6bafc28c", "score": "0.625244", "text": "public LnEstado() {\n this.conexion = new Conexion(\"empresa\");//Se establece la conexion\n }", "title": "" }, { "docid": "dea42d5fb1fd2ac7090189dde69b6c49", "score": "0.6245045", "text": "public Une_Carte() {\r\n }", "title": "" }, { "docid": "db853408d3a27511a5d982b8c1fc95aa", "score": "0.6244785", "text": "private Puesto(){}", "title": "" }, { "docid": "1eafbb01dbcbfcc91227cf84d863c6b0", "score": "0.62410516", "text": "private Tramo(){}", "title": "" }, { "docid": "5044e41d7fc96ce4dffd0f07ff346e8b", "score": "0.62382305", "text": "public Aluno() {\n\t}", "title": "" }, { "docid": "0463442ecb8a044200901a479c7dd1f3", "score": "0.62010545", "text": "private void iniciar() {\n this.principal=new Container();\n this.contenedores=new Container[cantidad][2];\n this.objetos=new Object[cantidad][5];\n crearObjetos();\n }", "title": "" }, { "docid": "dee9dfe189fbf707872f0e5a9b47763b", "score": "0.61944443", "text": "public Carrera() {\n\t}", "title": "" }, { "docid": "32eaff37533fa443301834a55edfbcbc", "score": "0.61719537", "text": "@Override\n protected Object _crearCuentaBancaria() {return new CuentaBancaria(\"SONIA\", \"123456\", \"SAN\");}", "title": "" }, { "docid": "0a9f97f9e43b17e821cedb4701e920f7", "score": "0.6160132", "text": "public Contador(){\n \n }", "title": "" }, { "docid": "6c46cf2ede5f6601887ac897b32dc065", "score": "0.6158325", "text": "public Trabaja(){\r\n\t}", "title": "" }, { "docid": "6bed6f26700123aa32c3943f58f25b4e", "score": "0.6152904", "text": "public Prueba() {\n }", "title": "" }, { "docid": "6bed6f26700123aa32c3943f58f25b4e", "score": "0.6152904", "text": "public Prueba() {\n }", "title": "" }, { "docid": "33ef0049239d375a1a902820bae4f38f", "score": "0.6145739", "text": "public Parametro() {\n this.iniciar();\n }", "title": "" }, { "docid": "ad37accc0618e6835aaf3f7311f7b246", "score": "0.6144657", "text": "public VentasVista() {\n }", "title": "" }, { "docid": "f7400ea1cd7fcef5885dcf6efd234326", "score": "0.61404467", "text": "public CambioPagina() {\r\n }", "title": "" }, { "docid": "0131feadf6342682f704ba56b7ce6767", "score": "0.61394143", "text": "public MVCModelo()\n\t{\n\t\tdatos = new ArrayList< DoubleLinkedList<Viaje>>();\n\t\tdatos.add(new DoubleLinkedList<Viaje>());\n\t\tdatos.add(new DoubleLinkedList<Viaje>());\n\t}", "title": "" }, { "docid": "7cd935ccb16b30435472918b145d0bd1", "score": "0.61352855", "text": "VARE getObj();", "title": "" }, { "docid": "be52189aa243d1bdbc6b3b470f6cb87d", "score": "0.6134424", "text": "public Automatico(){\n\t\t\n\t\tvalores = Valores.getInstance();\n\t\t\n\t}", "title": "" }, { "docid": "58f7350f4183754465365bcedd00e60a", "score": "0.61199903", "text": "public Muro()\n {\n entradas = new ArrayList <Entrada>();\n }", "title": "" }, { "docid": "d42de1bfa7c6125226dd70d03b3cdd29", "score": "0.6112628", "text": "public DetalleRangoCupoTrans () {\r\n\r\n }", "title": "" }, { "docid": "ad4b34c8932e396ac81b5079bf185b66", "score": "0.6109783", "text": "public CasaDeCambio() {\n }", "title": "" }, { "docid": "5cbbf93fab2e1f16747821addc9bfe9b", "score": "0.61090016", "text": "public void Malo2() {\r\n malo = new Malo2(600, 30, 1);\r\n\r\n }", "title": "" }, { "docid": "33090984c599b1fcaaea9883b3aef5e0", "score": "0.610784", "text": "public Competicao () {\n\t\t\n\t}", "title": "" }, { "docid": "e8bc835a144aa8335e53ec26c92d54f1", "score": "0.60967904", "text": "@Override\n protected ContaAnime preencheObjeto(ResultSet resultado) {\n ContaAnime tmp = new ContaAnime();\n AnimeDAO daoAnime = new AnimeDAO();\n Anime anime = new Anime();\n \n try {\n tmp.setId(resultado.getInt(1));\n \n \n //select id,idConta,idFilme,classificacao\n tmp.setClassificacao(resultado.getInt(4));\n tmp.getAnime().setId(resultado.getInt(3));\n tmp.setComentario(resultado.getString(5));\n tmp.setAnime(daoAnime.Abrir(tmp.getAnime().getId()));\n \n \n \n \n \n } catch (SQLException ex) {\n Logger.getLogger(ContaAnimeDAO.class.getName()).log(Level.SEVERE, null, ex);\n }\n // Retorna o objeto\n return tmp;\n \n \n }", "title": "" }, { "docid": "c581dc0f9c429737f464437b66429a82", "score": "0.6096473", "text": "public Game(){\n\t\tcontroleur = new Controleur();\n\t}", "title": "" }, { "docid": "eeb252fd9d61c5dc2049af0a080b0d87", "score": "0.6094698", "text": "public Receta() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "c5ac52875dad8d1bb9f9ed060abfeca5", "score": "0.60849667", "text": "private FullSingleObject() {\r\n\t}", "title": "" }, { "docid": "b0370fb362b4fc5b5880c836aad96436", "score": "0.6072586", "text": "public CamisetaModel() {\n\t\t\n\t}", "title": "" }, { "docid": "81223d979613536d75f86449a356814d", "score": "0.6066614", "text": "public Akcija() {\n\n }", "title": "" }, { "docid": "a9b0510b1424c8e6916734f013e262d9", "score": "0.6062865", "text": "public AudiAnalista()\r\n {\r\n }", "title": "" }, { "docid": "5140c94888e22a6477bdb621e5c494bb", "score": "0.6058119", "text": "public GRAFO(){\n\t//Pre: true\n\t//Post: El Grafo esta inicializado en Vacio\n\t\tLv = new Lista();\n\t}", "title": "" }, { "docid": "6bd374f3ab76627ec5d8981a3c054e5b", "score": "0.60523206", "text": "private SingleObject(){}", "title": "" }, { "docid": "bde44db92533741115471531a8367f76", "score": "0.6044165", "text": "private SingleObject() {\r\n\t}", "title": "" }, { "docid": "1ee3d580bc8f3ee7b30c320d312fad16", "score": "0.6038586", "text": "public Celula(Player elemento) {\n this.elemento = elemento;\n this.prox = null;\n }", "title": "" }, { "docid": "d398cbe2c0b2f6d8aba8b49c4752d14e", "score": "0.6038088", "text": "public SolicitudPedidoMB() {\r\n\r\n }", "title": "" }, { "docid": "714c7a4d5ffc0c7fa7c4004f3340c7a1", "score": "0.60343724", "text": "public Persona() {\n\n\t\t\n\t\t\n\n\t}", "title": "" }, { "docid": "0fe5de3cf4f9acf96b66d52fb641d365", "score": "0.6032546", "text": "public MyProjet() {\r\n }", "title": "" }, { "docid": "9996aee2f211b0fbf85355176e00b496", "score": "0.6030818", "text": "public Agenda(){\r\n this.tamanhoDaAgenda = 100;\r\n }", "title": "" }, { "docid": "e3f37776fefc6d03f7889470810ba4c9", "score": "0.60267484", "text": "public ModelJadwalSolat() {\n }", "title": "" }, { "docid": "032bed7927ca2051486564ebc300a28d", "score": "0.6024238", "text": "public Lavadora() {\r\n\t \r\n }", "title": "" }, { "docid": "2aeb5442db6e1500567ca0fce2cf1f5a", "score": "0.6018483", "text": "private ControleInformacao() {\r\n }", "title": "" }, { "docid": "964b54d3bb4280bbf42a4f62956f1713", "score": "0.6017669", "text": "public MVCModelo()\n\t{\n\t\tcolaMes= new MaxPQ<>();\n\t\tcolaDia= new MaxPQ<>();\n\t\tcolaHora= new MaxPQ<>();\n\t\tnodos= new LinearProbingHashST<>();\n\t}", "title": "" }, { "docid": "5722e2efd99e3907458d4c59e753a5bb", "score": "0.60171026", "text": "public Modalitet() {\n }", "title": "" }, { "docid": "82fc3d49848ada94017334e45632b789", "score": "0.60091984", "text": "public CrearDirectorio() {\n }", "title": "" }, { "docid": "1389e234247930123b2dc67fef25ed4d", "score": "0.6004337", "text": "private RepositorioTarefa() {\n\n }", "title": "" }, { "docid": "5c1a2c27137d0b9a0a75d86ab699ce0a", "score": "0.60026497", "text": "public Partida() {\n }", "title": "" }, { "docid": "6cafb829ce94070fa02659140d26be62", "score": "0.5998955", "text": "Anclaje() {\n /*\n Constructor vacío para la clase Anclaje para utilizar\n los vlaores por defecto declarados en la clase\n */\n }", "title": "" }, { "docid": "22e794bd0e567233b120292bb04445b0", "score": "0.599597", "text": "Aluno createAluno();", "title": "" }, { "docid": "cf44d8280308eb67d1210403b953f424", "score": "0.5995148", "text": "public Producto(){\n }", "title": "" }, { "docid": "6f5b83e5933eb2c2bf880b3fea50abf3", "score": "0.599421", "text": "public Tiempo(){\r\n\t\tid = new TiempoId();\r\n\t}", "title": "" }, { "docid": "03ccc45ec144709d1e217bbae90e9765", "score": "0.59882563", "text": "public Pessoa() {\r\n super();\r\n }", "title": "" }, { "docid": "524bfc1dee8db786d098350f313314b3", "score": "0.5988196", "text": "public Figura() {\r\n \r\n }", "title": "" }, { "docid": "5a9d2b8acbc080ee25e542f37978092e", "score": "0.59846103", "text": "public Producto(){\t}", "title": "" }, { "docid": "ef5918c2a38ebe9a97cf083d2020e570", "score": "0.59707034", "text": "public Pelicula(){\n\t\t\n\t}", "title": "" }, { "docid": "0001bacfa0e03ea6a52d5cd8a5649715", "score": "0.5965354", "text": "public EstoqueFarmacia() {\n }", "title": "" }, { "docid": "94024769b4fa7948e7d4ce0ab30d39ba", "score": "0.5964716", "text": "private void crearCuerpo()\n {\n cuerpoPoligono =new CuerpoPoligono(getElementos(),new CuerpoDinamico());\n }", "title": "" }, { "docid": "5bdd462737865ddd8b9a6d61e8d35f88", "score": "0.59636587", "text": "public Demanda(){}", "title": "" }, { "docid": "b82b46e5e2fb229f5aa7a292c23378a3", "score": "0.59606373", "text": "public RequisitoVista() {\r\n }", "title": "" }, { "docid": "3673d7377da1bbf945d37c261224dfa1", "score": "0.596043", "text": "public Dispositivo() {\n\t\t\n\t}", "title": "" }, { "docid": "f991ab1c145d60fdf1bb63b9645b5480", "score": "0.5958423", "text": "public Academico(){}", "title": "" }, { "docid": "cf7795ce700107e21e0a90ef4e4fd04a", "score": "0.595638", "text": "public Oem() {\n oemBo = new OemBO();\n }", "title": "" }, { "docid": "496037180096e8f50dd77a62cf38d511", "score": "0.59550446", "text": "public Comentario() {\n }", "title": "" }, { "docid": "24ff27c4c0ce3d94ed8cfeaa1436a378", "score": "0.594914", "text": "Lavadora(){\r\n\t\tsuper();\r\n\t\tthis.carga= 5;\r\n\t}", "title": "" }, { "docid": "0ac86cadf18c12bc40bc7c6d9a4274e7", "score": "0.59462374", "text": "public ArticuloBean() {\r\n proveedor = new FacProveedor();\r\n articulo = new FacArticulo();\r\n proveedorArticulo = new FacProveedorArticulo();\r\n articuloDetalle = new AudDetEstadoFinan();\r\n cargarCombos();\r\n cargarDependencias();\r\n }", "title": "" }, { "docid": "05ef74bdbf2e9ee5282352e8c7893274", "score": "0.5943137", "text": "public Tmio1Ruta() {\n\t}", "title": "" }, { "docid": "1c63f0681386a48e09b6157bf24f951e", "score": "0.5942481", "text": "public Cuenta() {\n }", "title": "" }, { "docid": "d79ccbdeed875cd867fd85305a99d378", "score": "0.59419185", "text": "public Pessoa() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "5f0155f595685da75914a03d0a6cc74b", "score": "0.5940446", "text": "public FiltroTarifaSocialRevisaoMotivo() {\r\n\t}", "title": "" }, { "docid": "ad7e4b0d26e161fd8d9fd998b1ef52fa", "score": "0.59380037", "text": "private Dovahzul(){}", "title": "" }, { "docid": "8e09f78ac1ef6ce691edf847e3e30cb5", "score": "0.59315425", "text": "public Producto() {\n }", "title": "" }, { "docid": "fa6be62ce49389469f73276de4e1ad24", "score": "0.59281045", "text": "public Aluno() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "1111c13ed591bb36d67a12a5c1940a5b", "score": "0.5926359", "text": "public concesionario()\n {\n concesionario = new ArrayList<coche>();\n id=1;\n }", "title": "" }, { "docid": "ecb914debb4783e489989b1091b824bb", "score": "0.5924232", "text": "public Persona() {\r\n }", "title": "" }, { "docid": "83b703e288ef5db0510946d88ec0cfdb", "score": "0.59183264", "text": "public Texto() {\r\n }", "title": "" }, { "docid": "89291bbdd7623fb988ae4ae4ae7b3140", "score": "0.59159297", "text": "public Articoli(){\r\n this.id = 0;\r\n this.idVenditore = 0;\r\n this.nomeArticolo = \"\";\r\n this.urlImmagine = \"\";\r\n this.descrizione = \"\";\r\n this.prezzo = 0.0;\r\n this.quantita = 0;\r\n }", "title": "" }, { "docid": "1027a1e183d86a9f58c957a00faaac24", "score": "0.5915056", "text": "public Campeonato() {\n }", "title": "" }, { "docid": "df0d42a9972db3f6ed0736d282e867db", "score": "0.591132", "text": "public Vendeur() {\n\t}", "title": "" }, { "docid": "abb2461ea45e8a55a5627e44e04ed945", "score": "0.5910131", "text": "public Problema() {\n\t\tconfiguraciones = new ArrayList<Configuracion>();\n\t\t\n\t\tcadenas = new ArrayList<String>();\n\t}", "title": "" }, { "docid": "ecd30f6c460c5c40288b3773e7d21b42", "score": "0.5902358", "text": "public ClassificaManagement() {\n this.objects=new Object[DEFAULT_SIZE];\n \n }", "title": "" }, { "docid": "ba4e3984beafc9efdf51c00f86a59eea", "score": "0.5901618", "text": "public Parametro() {\r\n\t}", "title": "" }, { "docid": "18ca5a994c9d28f8d1c0ac9743862f41", "score": "0.5897845", "text": "private Fachada(){}", "title": "" }, { "docid": "c2a41ef1d9bf630d445db296477dc0ab", "score": "0.58966315", "text": "public ZafMae04(ZafParSis obj)\n {\n try\n {\n //Inicializar objetos.\n objParSis=(ZafParSis)obj.clone();\n objUti=new ZafUtil();\n initComponents();\n if (!configurarFrm())\n exitForm();\n agregarDocLis();\n }\n catch (CloneNotSupportedException e)\n {\n this.setTitle(this.getTitle() + \" [ERROR]\");\n }\n }", "title": "" }, { "docid": "4e3a94ea30aa78ff84c814f2bff8c241", "score": "0.5892311", "text": "public Valuta() {\r\n\t\tsuper();\r\n\t}", "title": "" } ]
f7d018c9a261a8de299b13ea5c1f5ef4
Set ring end time
[ { "docid": "05237a8d2a02bd201238b0f8eaed6c4a", "score": "0.6610572", "text": "int AD101_SetRingOffTime(int nSecond);", "title": "" } ]
[ { "docid": "9d26363e016a6d7315f472be24586996", "score": "0.7409692", "text": "void setEnd(int newTime);", "title": "" }, { "docid": "23fd53202da7ec46caab7445e2c863d0", "score": "0.6829639", "text": "void setEndFreeTime(int time) {\r\n endFreeTime = time;\r\n }", "title": "" }, { "docid": "edd0cda54738618849e9aee9c9045ea8", "score": "0.6810411", "text": "public void setEndTime(long etime) {\n endTime = etime;\n }", "title": "" }, { "docid": "5b02e379d45f9931109aef7e5d86483f", "score": "0.66446024", "text": "public void setEnd(boolean t)\r\n\t {\r\n\t endtime=t;\r\n\t }", "title": "" }, { "docid": "488b70a6b89224e95a167533785bcd11", "score": "0.6615884", "text": "public void setEndTime(int et){\n this.endTime = et;\n }", "title": "" }, { "docid": "1c083299d868a729ec2d10a5241733fc", "score": "0.644304", "text": "private static void setEndTime() {\r\n\t\tend = Instant.now();\r\n\t\tLOG.info(\"Program End: \" + end);\r\n\t}", "title": "" }, { "docid": "86f3bdc892a1abad48dbd74a7cd63bb3", "score": "0.63893056", "text": "void setEndBusyTime(int time) {\r\n endBusyTime = time;\r\n customer.setFinishTime(time);\r\n }", "title": "" }, { "docid": "731aefd6fbc55a85d99e4cbe12b9680a", "score": "0.6379463", "text": "void setEndTimestamp( long val );", "title": "" }, { "docid": "ad0903aa759b15cd8e36280f77a6c6c2", "score": "0.6370534", "text": "public static void setEndTime() {\n\t\tendTime = System.currentTimeMillis();\n\t}", "title": "" }, { "docid": "8e5b004bf0972a6e0ad9b64e34e7dae6", "score": "0.63350713", "text": "protected void setEndTime(int endTime) {\n this.lastTick = endTime;\n }", "title": "" }, { "docid": "9981d53880e9901bcb7539abae04abff", "score": "0.62401706", "text": "public void setEndTime(long value) {\r\n this.endTime = value;\r\n }", "title": "" }, { "docid": "4663ce27d096f20434d4802e3b91c151", "score": "0.6237707", "text": "private void updateSegmentEndtime( long time )\n {\n Log.d( DatabaseHelper.LOG_TAG, \"updateSegmentEndtime to \" + time );\n \n long currentSegmentId = getCurrentSegment( getCurrentTrack() );\n \n ContentValues args = new ContentValues();\n args.put( SegmentsColumns.ENDTIME, time );\n \n SQLiteDatabase mDb = getWritableDatabase();\n mDb.update( Segments.TABLE, args, BaseColumns._ID + \"=\" + currentSegmentId, null );\n mDb.close();\n \n ContentResolver resolver = this.mContext.getContentResolver();\n Uri notifyUri = Uri.withAppendedPath( Segments.CONTENT_URI, \"\"+currentSegmentId ) ;\n resolver.notifyChange( notifyUri, null );\n \n updateTrackEndtime( time );\n }", "title": "" }, { "docid": "bfa8d32fa7bb9868e681f7d196b6573d", "score": "0.62339175", "text": "public void setEndTime() {\n\t\tDate now = new Date();\n\t\tSimpleDateFormat endTimeFormat = new SimpleDateFormat(\"yyyy-MM-dd HH:mm:ss\");\n\t\tthis.endTime=endTimeFormat.format(now);\n\t\t//System.out.print(this.endTime);\n\t}", "title": "" }, { "docid": "3d824f8c6e8a120aca189a54e3f06620", "score": "0.6227967", "text": "private void setTimePeriodicRest(float time){\r\n\t\tthis.periodicRest = time;\r\n\t}", "title": "" }, { "docid": "efd0eac46642cb08c9e6d96d261d4fd8", "score": "0.62132114", "text": "@Override\n\tpublic void setEndTime(long endTime) {\n\t\t\n\t}", "title": "" }, { "docid": "fd2fb0f293c49e154fc8aaeb858c3fed", "score": "0.62092084", "text": "public void setAttendTime(int time){\n\t\tthis.attendTime = time;\n\t}", "title": "" }, { "docid": "c90d38b605ceaec1f8121d372c43c44b", "score": "0.6183165", "text": "private void setEndTime(){\n LocalTime start = LocalTime.of(8,15);\n LocalTime end = LocalTime.of(22,0);\n\n while (start.isBefore(end.plusSeconds(1))){\n endTimeCB.getItems().add(start);\n start = start.plusMinutes(15);\n }\n }", "title": "" }, { "docid": "2f1dc6a7d19f40f1414afdcfa2997b28", "score": "0.6171944", "text": "private void setTimeResting(float time) {\r\n\t\tthis.timeResting = time;\r\n\t}", "title": "" }, { "docid": "ba991b13c342d34c7c4c10aefaeef392", "score": "0.61561066", "text": "public void setEndFixedTime(long value) {\n endFixedTime = value;\n }", "title": "" }, { "docid": "4649fa052c335f7bd7c54d2fb2cde4db", "score": "0.61500347", "text": "public void setTimeEnd(Date timeEnd) {\n this.timeEnd = timeEnd;\n }", "title": "" }, { "docid": "1d8408811cb24d9d1c485e40e3b07625", "score": "0.6138832", "text": "public void setEndtime(Date endtime) {\n this.endtime = endtime;\n }", "title": "" }, { "docid": "63195608d54d7d9c98c230036161d2b1", "score": "0.61151665", "text": "public void setEndSpawningTime(long endSpawningTime) {\r\n\t\tthis.endSpawningTime = endSpawningTime;\r\n\t}", "title": "" }, { "docid": "13bc7aea6db6a823183f371ea6248f04", "score": "0.6102285", "text": "public M csmsUpdatetimeEnd(Object end){this.put(\"csmsUpdatetimeEnd\", end);return this;}", "title": "" }, { "docid": "89ed6e9701d2f8a329d8dc824ec3442a", "score": "0.5999415", "text": "public void setEndtime(Date endtime) {\n\t\tthis.endtime = endtime;\n\t}", "title": "" }, { "docid": "44a3b46a71a73a878786c8a28158fe03", "score": "0.59953994", "text": "public void setEndTime(long p_endTime) {\n m_endTime = p_endTime;\n m_endTimeSet = true;\n }", "title": "" }, { "docid": "42750891011ee237b668389b83200fef", "score": "0.59594095", "text": "public void setEndtime (java.lang.String endtime) {\r\n\t\tthis.endtime = endtime;\r\n\t}", "title": "" }, { "docid": "889e46f23af126ed00ea86542d2f09a8", "score": "0.59196484", "text": "public void setEndTime(Long endTime) {\n this.endTime = endTime;\n }", "title": "" }, { "docid": "19be827a391766153a834a02bb2324bd", "score": "0.5911882", "text": "public void setEndTime(String EndTime) {\n this.EndTime = EndTime;\n }", "title": "" }, { "docid": "19be827a391766153a834a02bb2324bd", "score": "0.5911882", "text": "public void setEndTime(String EndTime) {\n this.EndTime = EndTime;\n }", "title": "" }, { "docid": "19be827a391766153a834a02bb2324bd", "score": "0.5911882", "text": "public void setEndTime(String EndTime) {\n this.EndTime = EndTime;\n }", "title": "" }, { "docid": "19be827a391766153a834a02bb2324bd", "score": "0.5911882", "text": "public void setEndTime(String EndTime) {\n this.EndTime = EndTime;\n }", "title": "" }, { "docid": "f5964f1fee5a72ed7c9d0a51f9ca1993", "score": "0.5888969", "text": "public Builder setEndAutoTime(int value) {\n \n endAutoTime_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "bfaf7bf1d159725ffd6a87261047e026", "score": "0.5859561", "text": "public void setEnd(ReadableInstant end) {\n long endMillis = DateTimeUtils.getInstantMillis(end);\n super.setInterval(getStartMillis(), endMillis, getChronology());\n }", "title": "" }, { "docid": "20318e42f3ec1007b517cc43b56a6def", "score": "0.5846296", "text": "protected void doSetStopTime(long time) {\n\t}", "title": "" }, { "docid": "0ac80f63779d9862f570199c6329e958", "score": "0.58331645", "text": "public void setEndTime(String endTime);", "title": "" }, { "docid": "5b5ff7cea29cf424ebefef8d7f5b04d8", "score": "0.5828363", "text": "public rocks.theodolite.benchmarks.commons.model.records.HourOfDayActivePowerRecord.Builder setPeriodEnd(long value) {\n validate(fields()[3], value);\n this.periodEnd = value;\n fieldSetFlags()[3] = true;\n return this;\n }", "title": "" }, { "docid": "169db1606dcb080f39fd870b4d49a56b", "score": "0.58043945", "text": "public void setEndTime(long time, JobState jobState) {\n endTime = time;\n executionTime = endTime - startTime;\n finalJobState = jobState;\n completed = true;\n }", "title": "" }, { "docid": "d9917e54c9123ca1450d9dc4f0b076d8", "score": "0.5798877", "text": "public void setEndTime(Date end) {\r\n this.endTime = end.getTime();\r\n }", "title": "" }, { "docid": "118f51d08f40f69988551514a8f15449", "score": "0.5796581", "text": "public M cscUpdateTimeEnd(Object end){this.put(\"cscUpdateTimeEnd\", end);return this;}", "title": "" }, { "docid": "38e3bfd373864d8eef056d34fb8eb9c3", "score": "0.5772403", "text": "public void setEndTime(Date endTime)\n/* */ {\n/* 161 */ this.endTime = endTime;\n/* */ }", "title": "" }, { "docid": "eae1fb81a6f0b5fd99fb488599384f87", "score": "0.57722205", "text": "public Builder end_at_ms(Long end_at_ms) {\n this.end_at_ms = end_at_ms;\n return this;\n }", "title": "" }, { "docid": "9249c708a0840b46dd3ea9d4420aa362", "score": "0.5762268", "text": "private void setTimePending(double time) {\r\n\t\tthis.timeToPend = time;\r\n\t}", "title": "" }, { "docid": "13344505f76cbfc30381c9c2cae37d37", "score": "0.5716761", "text": "public void setEndTime(long newVal)\r\n {\r\n setEndTime(new java.util.Date(newVal));\r\n }", "title": "" }, { "docid": "1985b2e5cd8ac3b5e3a0c98640152da5", "score": "0.57049847", "text": "public void setTime(int t) {\n\t\tclock = t;\n\t}", "title": "" }, { "docid": "11199c45919c70172e8da34387f78d2c", "score": "0.5704042", "text": "public void setPeriodEnd(long value) {\n this.periodEnd = value;\n }", "title": "" }, { "docid": "821d852068588f22a06df6b9c7561f91", "score": "0.56931555", "text": "public final void setEnd(java.util.Date end)\n\t{\n\t\tsetEnd(getContext(), end);\n\t}", "title": "" }, { "docid": "990102d8fc749b6082ac1bf2f19eda15", "score": "0.5658207", "text": "public void setEndMillis(long endInstant) {\n super.setInterval(getStartMillis(), endInstant, getChronology());\n }", "title": "" }, { "docid": "610e20a74fa57186d9f31896037f22e5", "score": "0.56423706", "text": "public void setEndTime(TimeRange endTime) {\n this.endTime = endTime;\n }", "title": "" }, { "docid": "6f720f6605e9956e46473aa97db51186", "score": "0.56365806", "text": "public void setEnd(String end) {\n\t\tthis.end = LocalTime.parse(end, DateTimeFormatter.ofPattern(\"hh:mma\", Locale.US));\n\t}", "title": "" }, { "docid": "82f830196026e92af7c7918d492b62d6", "score": "0.5626486", "text": "@Override\n public Date getEndTime(){\n return end;\n }", "title": "" }, { "docid": "bd1f2ae775ca19271db82a7f78f3316a", "score": "0.56151116", "text": "public void setEndTime(String endTime) {\n this.endTime = endTime;\n }", "title": "" }, { "docid": "1fdc854a5cd96ac0e1a9660859740ab8", "score": "0.56060773", "text": "public Builder setEnd(long value) {\n \n end_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "0766645c5b43d3c18828b7258bb27e3c", "score": "0.5586819", "text": "public M cscAddTimeEnd(Object end){this.put(\"cscAddTimeEnd\", end);return this;}", "title": "" }, { "docid": "510df811fe3b5d81028cfe3c7defe0c7", "score": "0.55808127", "text": "public void setTime(long time) {\n this.time = time;\n }", "title": "" }, { "docid": "fc747ee167c2c00d45de8f4d212b19a5", "score": "0.5578063", "text": "public void setEndTime(java.util.Calendar endTime)\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(ENDTIME$8, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ENDTIME$8);\n }\n target.setCalendarValue(endTime);\n }\n }", "title": "" }, { "docid": "3c89d73230bd936dcc16ed20302a7060", "score": "0.55763876", "text": "void setStart(int newTime);", "title": "" }, { "docid": "51df4edabc3ce0b620eae307ebb55390", "score": "0.5572438", "text": "public void setEndTime(String endTime) {\r\n this.endTime = endTime;\r\n }", "title": "" }, { "docid": "409d92cbe5cbf82cee0122159e73f2b2", "score": "0.5569874", "text": "public void setEndTime(java.util.Date value);", "title": "" }, { "docid": "d065fb1eed23f1531bd71b1d04067008", "score": "0.5560567", "text": "public void setEndTime(java.util.Calendar endTime)\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(ENDTIME$6, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ENDTIME$6);\n }\n target.setCalendarValue(endTime);\n }\n }", "title": "" }, { "docid": "856edee04fe1aab4fed3b61a6e829dcc", "score": "0.5550547", "text": "private void setTimeSinceRest(float time){\r\n\t\tthis.timeSinceRest = time;\r\n\t}", "title": "" }, { "docid": "40afc0532b58b2d81de48b6f9e6c4de4", "score": "0.5546836", "text": "public M csmsAddtimeEnd(Object end){this.put(\"csmsAddtimeEnd\", end);return this;}", "title": "" }, { "docid": "993fcf859b87028e38de1495950efd9b", "score": "0.5542707", "text": "public void setEndTime(Date endTime) {\n this.endTime = endTime;\n }", "title": "" }, { "docid": "c45a422e6b2b0f8ae7b2e246a8fe54b7", "score": "0.5521672", "text": "public void setEndTime(String endTime) {\n this.endTime = endTime;\n }", "title": "" }, { "docid": "c45a422e6b2b0f8ae7b2e246a8fe54b7", "score": "0.5521672", "text": "public void setEndTime(String endTime) {\n this.endTime = endTime;\n }", "title": "" }, { "docid": "c61539db690faaf03359f1516cb01342", "score": "0.5509948", "text": "@Override\n\tpublic void setTime(ZonedDateTime time) {\n\t\tthis.time = time;\n\t\tthis.update();\n\t}", "title": "" }, { "docid": "ce26bcd2fab1ce54bf8ae6e9179f9b38", "score": "0.5503434", "text": "@Override\n protected void end() {\n Robot.toteElevator.setToteElevatorSpeed(0);\n Robot.toteElevator.updateBrakeSetting();\n super.end();\n }", "title": "" }, { "docid": "6c93ac55a639acd593a0ad717fa761e0", "score": "0.5501491", "text": "private void updateTrackEndtime( long time )\n {\n Log.d( DatabaseHelper.LOG_TAG, \"updateTrackEndtime to \" + time );\n \n long currentTrackId = getCurrentTrack();\n \n ContentValues args = new ContentValues();\n args.put( TracksColumns.ENDTIME, time );\n \n SQLiteDatabase mDb = getWritableDatabase();\n mDb.update( Tracks.TABLE, args, BaseColumns._ID + \"=\" + currentTrackId, null );\n mDb.close();\n \n ContentResolver resolver = this.mContext.getContentResolver();\n Uri notifyUri = Uri.withAppendedPath( Tracks.CONTENT_URI, \"\"+currentTrackId ) ;\n Log.d( DatabaseHelper.LOG_TAG, \"notifyChange to \" + notifyUri );\n resolver.notifyChange( notifyUri, null );\n }", "title": "" }, { "docid": "f60963dd4b2597ec439f62da152856b7", "score": "0.55003476", "text": "public void setClock(int time) {\n processTime = time;\n }", "title": "" }, { "docid": "f8dfa0e9f968763fa20b7cd70a0322bf", "score": "0.5496388", "text": "public long getEndTime(){\n\t\treturn lEnd;\n\t}", "title": "" }, { "docid": "1609ba7b821298caf819deee4d2b5a04", "score": "0.5495566", "text": "@OnClick(R.id.et_endTime)\n public void endTimer()\n {\n Calendar mcurrentTime = Calendar.getInstance();\n int hour = mcurrentTime.get(Calendar.HOUR_OF_DAY);\n int minute = mcurrentTime.get(Calendar.MINUTE);\n final TimePickerDialog mTimePicker;\n mTimePicker = new TimePickerDialog(getActivity(), new TimePickerDialog.OnTimeSetListener() {\n @Override\n public void onTimeSet(TimePicker timePicker, int selectedHour, int selectedMinute) {\n\n et_endTime.setText( String.format(\"%02d:%02d\", selectedHour, selectedMinute));\n e_endTime=String.format(\"%02d:%02d\", selectedHour, selectedMinute);\n\n }\n }, hour, minute, true);//Yes 24 hour time\n mTimePicker.setTitle(\"Select Time\");\n mTimePicker.show();\n }", "title": "" }, { "docid": "4308a19842b0e62dfc8bb1b815843c0e", "score": "0.5495067", "text": "public void setTime(Long time) {\n this.time = time;\n }", "title": "" }, { "docid": "e8332f04b8c2cefb6c24db94379dd41e", "score": "0.5491652", "text": "void setTimeStopped(long timeStopped);", "title": "" }, { "docid": "a9876c382acdd75b2e7033b640396849", "score": "0.548466", "text": "public long getEndTime() {\n return endTime;\n }", "title": "" }, { "docid": "27863eb4aa7c63fa6ce91143ae16ad85", "score": "0.54818916", "text": "public Slot setEnd(InstantDt theValue) {\n\t\tmyEnd = theValue;\n\t\treturn this;\n\t}", "title": "" }, { "docid": "efba96c8ad3109960521ce20263ca620", "score": "0.54714227", "text": "public void setCallOutTime(Double callOutTime)\n/* */ {\n/* 279 */ this.callOutTime = callOutTime;\n/* */ }", "title": "" }, { "docid": "a7d10bd4a2b85c2bccfb8e200ce18231", "score": "0.54706204", "text": "public void finish() {\n this.mEndTime = SystemClock.uptimeMillis();\n }", "title": "" }, { "docid": "16d50fe9f61ff4cb9b8eb81738066771", "score": "0.5452626", "text": "public int getEndTime() {return endTime;}", "title": "" }, { "docid": "6afd84177654b1f92328780fb967bc83", "score": "0.54504687", "text": "public void xsetEndTime(org.apache.xmlbeans.XmlDateTime endTime)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlDateTime target = null;\n target = (org.apache.xmlbeans.XmlDateTime)get_store().find_element_user(ENDTIME$8, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlDateTime)get_store().add_element_user(ENDTIME$8);\n }\n target.set(endTime);\n }\n }", "title": "" }, { "docid": "7d66dab9a7e5b2834e0b817414db9d12", "score": "0.54443455", "text": "public void setTime(long tTime) {\n this.tTime = tTime;\n }", "title": "" }, { "docid": "19c92cf3034c2a4dd04f5cbd84de68e8", "score": "0.5443692", "text": "int getEndAutoTime();", "title": "" }, { "docid": "8f71a7284e84c0d3b44502231b3b32f8", "score": "0.54436046", "text": "public void setRestTime(TextView textView) {\n int restTime = mExerciseDbCursor.getInt(mExerciseDbCursor.getColumnIndex(WorkoutViewContract.WorkoutViewEntry.COLUMN_REST_TIME));\n String restTimeString = \"Rest: \" + String.valueOf(restTime) + \" seconds\";\n textView.setText(restTimeString);\n }", "title": "" }, { "docid": "40c8433a1c1865366034faa00eff3728", "score": "0.5443349", "text": "public void xsetEndTime(org.apache.xmlbeans.XmlDateTime endTime)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlDateTime target = null;\n target = (org.apache.xmlbeans.XmlDateTime)get_store().find_element_user(ENDTIME$6, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlDateTime)get_store().add_element_user(ENDTIME$6);\n }\n target.set(endTime);\n }\n }", "title": "" }, { "docid": "1a7235239055c6c67da1468d23367658", "score": "0.54400223", "text": "public void setEndTime(LocalTime endTime) {\n this.endTime = endTime;\n }", "title": "" }, { "docid": "0a1bb8d287f042bf7dcd338d24b19675", "score": "0.5439721", "text": "@Override\n public int getTimeActivityEnd() { return TIME_ACTIVITY_END; }", "title": "" }, { "docid": "fc449208f5bc4691d38d22d005fab628", "score": "0.5439404", "text": "public Builder clearEndAutoTime() {\n \n endAutoTime_ = 0;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "45928fafda8d1b79d3959571d9bf5229", "score": "0.5438745", "text": "public long getEndSpawningTime() {\r\n\t\treturn endSpawningTime;\r\n\t}", "title": "" }, { "docid": "e1911927e180331076ab231ae965fb08", "score": "0.54349095", "text": "public long getEndTime() {\r\n return endTime;\r\n }", "title": "" }, { "docid": "fca317a5aff949495ce4ef73c495695d", "score": "0.5431255", "text": "void setTimeToPoll(Long time) {\n RSSConfiguration.getInstance().setTimeToPoll(time);\n log.info(\"Set time to poll to \" + time);\n }", "title": "" }, { "docid": "c8b6ce067a8fe2ba154bfb1a8132a8ae", "score": "0.54202443", "text": "long getEndTime();", "title": "" }, { "docid": "88a5642c2b2d6e08b9d5b21bf29c36ac", "score": "0.5408789", "text": "public final void setEnd(com.mendix.systemwideinterfaces.core.IContext context, java.util.Date end)\n\t{\n\t\tgetMendixObject().setValue(context, MemberNames.End.toString(), end);\n\t}", "title": "" }, { "docid": "0232b775117aa967d80494a6f62cc001", "score": "0.5402836", "text": "public void setEndTime(Date endTime) {\n\t this.endTime = endTime;\n\t}", "title": "" }, { "docid": "d063263a58f6dffa33c2c1d834edd1ef", "score": "0.5402175", "text": "public void setTime(int time) \n {\n timer = time;\n }", "title": "" }, { "docid": "0f1d7184fbb8880a4e9d4dc72a37d7b3", "score": "0.5387906", "text": "public void setEnd(double end) {\n\t\tthis.end = end;\n\t}", "title": "" }, { "docid": "6597d0eca0f9620bbca0f3b432d901d9", "score": "0.5362086", "text": "public Date getEndtime() {\n return endtime;\n }", "title": "" }, { "docid": "915dd81a480403d53dc74d761648f774", "score": "0.5355109", "text": "public static void setTime(int time) {\r\n\t\tif (requester != null) {\r\n\t\t\trequester.sendMessage(new SetTime(time));\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "0f38fa359fcc75b373437add51fa1f3e", "score": "0.5348006", "text": "@Override\n protected void end() {\n Robot.elevator.setSpeed(0.0);\n }", "title": "" }, { "docid": "2a94ed08d9552563b1138a09a0f9c947", "score": "0.5340123", "text": "@Override\n\tpublic void setTimeRange(long startTime, long endTime) {\n\t\t\n\t}", "title": "" }, { "docid": "a903a089fbe2b127559f8bafc4b3591d", "score": "0.5338189", "text": "public void setEnd(int end)\n {\n _end = end;\n }", "title": "" }, { "docid": "9a925c15fcab95d4221d5adcad2da8c1", "score": "0.5335765", "text": "@Override\n\tpublic long getEndTime() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "ae4ac35b1f8868603d369e248edbadd4", "score": "0.53315455", "text": "public void setTime( Times time )\r\n {\r\n this.time = new Times(time);\r\n }", "title": "" } ]
c1d23db51c87f4b6171361f3bddf5c81
/ every time entering a method
[ { "docid": "7437e797d775b0de1b6d7bb332a7f080", "score": "0.0", "text": "@Before (\n marker = BodyMarker.class,\n scope = \"*.*\",\n order = 1000)\n public static void before_enter (final CallContext msc) {\n IPCAnalysisStub.boundary_start (msc.thisMethodFullName ());\n }", "title": "" } ]
[ { "docid": "7030c4f1163697a293880bfede661677", "score": "0.6651051", "text": "private void Goal() {\n\t\t\r\n\t}", "title": "" }, { "docid": "630c56482d5f5fcff05ee19796788da5", "score": "0.6615657", "text": "public void enter() {\n\t}", "title": "" }, { "docid": "fdf02ca4ecb9cacccbe507e1e6c0bf03", "score": "0.65053207", "text": "public void nextCaller(){\n\t}", "title": "" }, { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.64930415", "text": "private void apparence() {\r\n\r\n\t}", "title": "" }, { "docid": "3d596e8e5ed80aeb8c48c85654e0a370", "score": "0.6462188", "text": "@Override\r\n\tpublic void runsOn() {\n\t\t\r\n\t}", "title": "" }, { "docid": "895047da41541a1fd01ec250531e9575", "score": "0.64543474", "text": "@Override\n\tpublic void enter() {\n\n\t}", "title": "" }, { "docid": "e4e0c05dbe896a5dec1120724da1bcc8", "score": "0.64265114", "text": "protected void perAct() {\n\n\t}", "title": "" }, { "docid": "87dd605b4eb53a19bcade1f878d2f219", "score": "0.639046", "text": "public final void start(){\n\t\t\n\t\tSystem.out.println(\"i am inside the final method\");\n\t}", "title": "" }, { "docid": "00075c50e26b18237953cd05ffd5428b", "score": "0.6339943", "text": "@Override\n\tpublic void beber() {\n\t\t\n\t}", "title": "" }, { "docid": "0c7fbac3312d29ea7b0fbe2ca4f4fc76", "score": "0.63204217", "text": "public void method() {\n\t System.out.println(\"Inside\");\n }", "title": "" }, { "docid": "001227e6b58a587f9eb4f77b15fc3588", "score": "0.6282745", "text": "@Override\n\tprotected void local() {\n\t\t\n\t}", "title": "" }, { "docid": "a53d232dac89259f961cbc93762f65b2", "score": "0.62347394", "text": "@Override\r\n\t\t\tvoid n() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "d61d3ecb30a6b9ffaa60a2acb61562d2", "score": "0.62307465", "text": "public static void begin() {\n\r\n }", "title": "" }, { "docid": "a6e9388ba580a030c48b527221f8e81a", "score": "0.62304455", "text": "@Override\n\tpublic void actuar() {\n\t\t\n\t}", "title": "" }, { "docid": "c5ed0b1f1d44d410369904734d551a9e", "score": "0.62259454", "text": "@Override\n\tpublic void onEnter() {\n\n\t}", "title": "" }, { "docid": "4650249bdf83e40517dab67e3e731f03", "score": "0.6206447", "text": "public void attaquer() {\n\t}", "title": "" }, { "docid": "ea37fd66145e23bdff37ef18f663ba44", "score": "0.61970353", "text": "@Override\n\tpublic void flagfunction() {\n\t\t\n\t}", "title": "" }, { "docid": "9f03845ba4d233011f17c09112b86e7f", "score": "0.6196952", "text": "@Override\r\n\tpublic void fun() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b7a85a3b57a8081589607db97fda3efc", "score": "0.6192503", "text": "@Override\n public void periodic() {\n\n }", "title": "" }, { "docid": "b7a85a3b57a8081589607db97fda3efc", "score": "0.6192503", "text": "@Override\n public void periodic() {\n\n }", "title": "" }, { "docid": "b7a85a3b57a8081589607db97fda3efc", "score": "0.6192503", "text": "@Override\n public void periodic() {\n\n }", "title": "" }, { "docid": "b7a85a3b57a8081589607db97fda3efc", "score": "0.6192503", "text": "@Override\n public void periodic() {\n\n }", "title": "" }, { "docid": "b7a85a3b57a8081589607db97fda3efc", "score": "0.6192503", "text": "@Override\n public void periodic() {\n\n }", "title": "" }, { "docid": "b7a85a3b57a8081589607db97fda3efc", "score": "0.6192503", "text": "@Override\n public void periodic() {\n\n }", "title": "" }, { "docid": "b7a85a3b57a8081589607db97fda3efc", "score": "0.6192503", "text": "@Override\n public void periodic() {\n\n }", "title": "" }, { "docid": "abaa5b55c27e2367782a1937e5695aa6", "score": "0.61894387", "text": "@Override\r\n public void periodic() {\n\r\n }", "title": "" }, { "docid": "d2acbc298e3a6a60f67949d3d13de56b", "score": "0.6184727", "text": "public void appelerGarcon() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.6182375", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.6182375", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.6182375", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.6182375", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.6182375", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.6182375", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.6182375", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.6182375", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.6182375", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.6182375", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.6182375", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.6182375", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.6182375", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.6182375", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.6182375", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.6182375", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.6182375", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.6182375", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.6182375", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.6182375", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.6182375", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.6182375", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.6182375", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.6182375", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.6182375", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.6182375", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.6182375", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.6182375", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.6182375", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "a7673c4b4b113e68275b4afb1cbf5b8e", "score": "0.6177691", "text": "@Override\r\n protected void onMethodEnter()\r\n {\n invokeStatic(typeBeingWoven, staticInitMethod);\r\n super.onMethodEnter();\r\n }", "title": "" }, { "docid": "80081e851d06bd19297996345761e04c", "score": "0.61774176", "text": "@Override\n\tpublic void time() {\n\t\tSystem.out.println(\"Class in the Afternoon!\");\n\t}", "title": "" }, { "docid": "e3baf100746c67ea258c65c49bfb0e76", "score": "0.6169409", "text": "@Override\n public void always_executed_hook() {\n get_logger().info(\"In always_executed_hook method()\");\n }", "title": "" }, { "docid": "40577cf33330bd70c08bc8e310b4436d", "score": "0.61690927", "text": "@Override\n\tpublic void falar() {\n\n\t}", "title": "" }, { "docid": "80887229cd7860f253bdaefb01f1687d", "score": "0.6166737", "text": "protected void mo3535a() {\n }", "title": "" }, { "docid": "2dfdb53ad81f60adacb98bafc90651b1", "score": "0.61521757", "text": "@Override\r\n\t\tvoid n() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "221d4c2d78326c3c7caa7a4128c510c4", "score": "0.6141022", "text": "public void endOfTheWorld() {\n }", "title": "" }, { "docid": "855801dd91248e0a1bc83dff4324d504", "score": "0.61381906", "text": "public void excute(){\n }", "title": "" }, { "docid": "b5231ebf993b77997cfec4c8312c209f", "score": "0.61368984", "text": "@Override\r\n public void periodic() {\n }", "title": "" }, { "docid": "9e19b5d913fc1c071d660ef9e3115e9e", "score": "0.6121315", "text": "@Override\n\tpublic void periodic() {\n\n }", "title": "" }, { "docid": "41958b82a38fd6e07787daf066823688", "score": "0.61151904", "text": "public void always() {\n }", "title": "" }, { "docid": "9969c2cd0a26f223be9eea348d1c6160", "score": "0.61044514", "text": "private static void 로또수동생성() {\n\t\t\r\n\t}", "title": "" }, { "docid": "551d43e8a73edb7fd04cb89e87276b8b", "score": "0.61032", "text": "@Override\n\tpublic void periodic() {\n\t}", "title": "" }, { "docid": "b4eb8809bc9bc1e64076010d36e77b7f", "score": "0.60943514", "text": "public void enter() {\n System.out.println(\"Entering state\");\n }", "title": "" }, { "docid": "76a80470fd21f5a9092c258ed3a8a632", "score": "0.6093768", "text": "private static void 로또번호리스트() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fe36dbf033e639f71f461467c00b7306", "score": "0.60918224", "text": "@Override\n\t\tpublic void onThinking() {\n\t\t\tLog.i(TAG, \"In progress\");\n\t\t}", "title": "" }, { "docid": "d9642ed5311e1eb57a7f1d1298ffa267", "score": "0.60843045", "text": "@Override\n\tvoid monMaitreMeLave() {\n\n\t}", "title": "" }, { "docid": "8d63499560d467b4c53ed2535c30f5f4", "score": "0.6077471", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "8d63499560d467b4c53ed2535c30f5f4", "score": "0.6077471", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "8d63499560d467b4c53ed2535c30f5f4", "score": "0.6077471", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "883a011db373136dd93d9ea2a1acd298", "score": "0.60663337", "text": "@Override\n public void periodic() {\n // This method will be called once per scheduler run\n\n }", "title": "" }, { "docid": "f4c0242296797398e2b40d70a07df943", "score": "0.6064958", "text": "private void thingCounterIncr() {}", "title": "" }, { "docid": "2bd152bb33ecbe797b9818e175c5d4ec", "score": "0.6057873", "text": "public void mo55659a() {\n }", "title": "" }, { "docid": "3cb6fea36147d048eb9bd44b83fbe365", "score": "0.60576326", "text": "public void enterMethod(MethodInfo info) {\n\r\n\t}", "title": "" }, { "docid": "cca56b9c5f15aa48fcce3accc863097a", "score": "0.6056826", "text": "public void(){\n }", "title": "" }, { "docid": "dde8675b16a700f1baa58027d96bf7a5", "score": "0.6047797", "text": "protected void beforeLoop() {\n }", "title": "" }, { "docid": "7fe506c36bcc63f1216d9c53abb8266f", "score": "0.60449135", "text": "public void Something(){\n System.out.println(\"Something done.\");\n }", "title": "" }, { "docid": "a1113d0fc8cb0c23dc19ebb8e6ed5c6f", "score": "0.6043874", "text": "public void mo119665g() {\n }", "title": "" }, { "docid": "a97ffbd55898f7453e23b99acc8e3efa", "score": "0.6040829", "text": "void clockStarted();", "title": "" }, { "docid": "f0671ebb94840079b77d3969f9ddec85", "score": "0.6037243", "text": "void inicialitzar();", "title": "" }, { "docid": "92001736a2ac49c6f975b4fc450982d1", "score": "0.6036135", "text": "@Override\n public void doSparring() {\n \n }", "title": "" }, { "docid": "7855cb0887ef3a8afdf13f20ba80fa8a", "score": "0.60342807", "text": "void cl(){\r\n\t\tSystem.out.println(\"normel method...\");\r\n\t}", "title": "" }, { "docid": "2c6bf13dd3d7954c8efeacb9416e2392", "score": "0.6027318", "text": "public void zzmr() {\n }", "title": "" }, { "docid": "4f73241e4b3e9681ef2a1f13dae2117c", "score": "0.6021307", "text": "@Override\n\t\t\t\t\t\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\t\t\t\t\t\treStart();\n\t\t\t\t\t\t\t\t\t\t\t\t}", "title": "" }, { "docid": "18af065f1803942329b75959ac6d0aac", "score": "0.6007951", "text": "public void doAnythingElse() {\n\t}", "title": "" }, { "docid": "169b8a1b67106f4b6a97f977d35732a9", "score": "0.60041547", "text": "void accionRestar() {\n \r\n }", "title": "" }, { "docid": "0d996fa345e18b74a73dce6394fc0b15", "score": "0.60025305", "text": "@Override\r\n\tpublic void sunricers() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c92aaacc04e9ba9761b8b18281f6ff6e", "score": "0.59963477", "text": "private void iniEvent() {\n\n\t}", "title": "" }, { "docid": "706608f100b5f9525b07c2265724729d", "score": "0.59954095", "text": "private static void begruessen()\r\n\t{\r\n\t\tDebugAusgabeKlasse.ausgeben(LokalisierungsKeys.BEGRUESSUNG_BEI_PROGRAMMSTART);\r\n\t}", "title": "" }, { "docid": "7b68113c2158e639eb9c018e935641d1", "score": "0.5994535", "text": "@Override\n\tpublic void onBegin() {\n\t\t\n\t}", "title": "" }, { "docid": "48a5f62f89dc78c50c4ec2b36f07e90b", "score": "0.5991729", "text": "void methodA(){\n System.out.println(\"method A\");\n }", "title": "" }, { "docid": "c1ae23f562732eecc76dddc1a39be2f2", "score": "0.59878075", "text": "public void gameStarted() {}", "title": "" }, { "docid": "b3e1c967102f1a17da7f78d167653987", "score": "0.5986989", "text": "private void start() {\n\t\r\n}", "title": "" }, { "docid": "1d691eb16c35ac63522877c654564635", "score": "0.5986171", "text": "public final void aktualisiere() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t// tut nichts, da er mit der Info nichts anfangen kann\r\n\t}", "title": "" }, { "docid": "89050337f1b567c4dab9dd0a41d4dc9d", "score": "0.5980552", "text": "@Override\r\n public void doAtTheEnd() {\r\n doPeriodically();\r\n }", "title": "" } ]
518bf5364cda3c6202a1a392996f93d1
Inflate the menu; this adds items to the action bar if it is present.
[ { "docid": "6aaffed15b43626074b84e6112cb0fe6", "score": "0.0", "text": "@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.toolbarnavigation, menu);\r\n return true;\r\n }", "title": "" } ]
[ { "docid": "d74efebd6fe79f46209a7e8cb2c52d89", "score": "0.7182902", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater mif= getMenuInflater();\n\t\tmif.inflate(R.menu.main_activity_action, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "title": "" }, { "docid": "fbc818363f43bfa4def513470fc61eb3", "score": "0.70953584", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n \n }", "title": "" }, { "docid": "9813d71a4b724b9d132f23a2cb80322c", "score": "0.70787674", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main_activity_actions, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "title": "" }, { "docid": "9813d71a4b724b9d132f23a2cb80322c", "score": "0.70787674", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main_activity_actions, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "title": "" }, { "docid": "4f67034b0c009c91afff1a3c9ce6240a", "score": "0.7026569", "text": "@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\r\n inflater.inflate(R.menu.main_activities_actions, menu);\r\n return super.onCreateOptionsMenu(menu);\r\n }", "title": "" }, { "docid": "1ae01ac120460ecb9278d0ee2036eb5a", "score": "0.69988716", "text": "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tthis.getMenuInflater().inflate(R.menu.main_activity_actions, menu);\r\n\t\treturn super.onCreateOptionsMenu(menu);\r\n\t}", "title": "" }, { "docid": "d9f8dccdf948d8ba404dd4ab8dcf4fab", "score": "0.6955428", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater=getMenuInflater();\n inflater.inflate(R.menu.bar, menu);\n return true;\n }", "title": "" }, { "docid": "2066a0138662a0f763a22c8eefb48727", "score": "0.6921628", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.action_buttons, menu); // loads the action buttons @action_buttons.xml\n return super.onCreateOptionsMenu(menu);\n\t}", "title": "" }, { "docid": "d317d5cdf47c613388dc87fa624092cf", "score": "0.69179773", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main, menu);\n \treturn super.onCreateOptionsMenu(menu);\n\t}", "title": "" }, { "docid": "47d16fa25d516c847da78250e2c606c7", "score": "0.6916928", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "47d16fa25d516c847da78250e2c606c7", "score": "0.6916928", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "47d16fa25d516c847da78250e2c606c7", "score": "0.6916928", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "47d16fa25d516c847da78250e2c606c7", "score": "0.6916928", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "509fae1ba18012276eddf232dcd6d282", "score": "0.69046056", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.action_bar, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "e1c5959fedb949b948373ccfa85852c4", "score": "0.6902698", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n\n }", "title": "" }, { "docid": "4d0d7a830c288fb93503f933974685fe", "score": "0.6887943", "text": "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\r\n\t\tinflater.inflate(R.menu.main_menu, menu);\r\n\t\treturn super.onCreateOptionsMenu(menu);\r\n\t}", "title": "" }, { "docid": "a3151c4e13cae7dacb6dec6daf295d1a", "score": "0.6880202", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.item, menu);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "451b71888e43598067b4eda39f0ffe42", "score": "0.68761444", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_items, menu); //Inflate the menu called menu_items and display on tool bar\n return true;\n }", "title": "" }, { "docid": "4b695542930b2e201fe9008a5ab09b12", "score": "0.68758297", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.archive, menu);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "a924bfd5d9db8594d922ba94de06300c", "score": "0.68707335", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "1a035ab9f1345858047008a1bcc3fa4c", "score": "0.687023", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater menuInflater = new MenuInflater(this);\n menuInflater.inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "af7225c9bd422c4118f1c584f5a5f619", "score": "0.6866039", "text": "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.holder, menu);\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "7c7f52bc85432234ee2050f101ef1659", "score": "0.68621665", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "title": "" }, { "docid": "adeb821bed22cdc354bbd21fc992fa61", "score": "0.6847388", "text": "@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\n super.onCreateOptionsMenu(menu);\r\n MenuInflater blowup=getMenuInflater();\r\n blowup.inflate(R.menu.menu, menu);\r\n return true;\r\n }", "title": "" }, { "docid": "82c234879313705c11bfce72b53dcae0", "score": "0.6846226", "text": "@Override\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.inventory, menu);\n \t\treturn true;\n \t}", "title": "" }, { "docid": "c9ae23a98029ee7ecf5e58c84bb404cd", "score": "0.684009", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n getMenuInflater().inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "77b5a3be405fc7842bcdff35e4968b6b", "score": "0.68381715", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tsuper.onCreateOptionsMenu(menu);\n\t\tMenuInflater inflater = getMenuInflater();\n\t\t/* getMenuInflater() */inflater.inflate(R.menu.menu, menu);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "3e94ddb059e739ddb4b096f022f97ece", "score": "0.6833407", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.actions, menu);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "b83018f1aef05ed30131b15e514f07ac", "score": "0.6823394", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n }", "title": "" }, { "docid": "a6ba221423784f86e4efcf17cdf92606", "score": "0.6813087", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);//Menu Resource, Menu\n return true;\n }", "title": "" }, { "docid": "4f7c5df11c44d860667748976361a1a3", "score": "0.6809537", "text": "@Override\npublic boolean onCreateOptionsMenu(Menu menu) {\n\tMenuInflater inflator=getMenuInflater();\n\tinflator.inflate(R.menu.menu, menu);\n\treturn true;\n}", "title": "" }, { "docid": "bc31c73990e5b0d621c4e7a1dfc61faa", "score": "0.68021864", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n Log.i(\"menu\",\"getmenuinflater\");\n return true;\n }", "title": "" }, { "docid": "1771f60acf022163d7b00bdd2deb1cb3", "score": "0.67977905", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "ea6c841abb9876e1b4160ca652078e91", "score": "0.6791314", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t inflater.inflate(R.menu.menu, menu);\n\t \n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "title": "" }, { "docid": "75fc012d3b4ad5c03f315d95069f4ad5", "score": "0.6785732", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.lateral, menu);\n return true;\n }", "title": "" }, { "docid": "9c2aab8b80c508c4c2ce9d34a7f5774f", "score": "0.6785593", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater awesome = getMenuInflater();\n\t\tawesome.inflate(R.menu.main_menu, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t\t\n\t}", "title": "" }, { "docid": "fe2f2293c791d75fbd7451d031ac53b5", "score": "0.67755157", "text": "@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\r\n MenuInflater inflater = getMenuInflater();\r\n inflater.inflate(R.menu.menu_items,menu);\r\n return true;\r\n }", "title": "" }, { "docid": "46f1e4eed2dab6007835ce1ac36e1c92", "score": "0.67754984", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menubar, menu);\n return true;\n }", "title": "" }, { "docid": "6a21d407035dd3e243859db1a74c70ed", "score": "0.67746866", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_actions, menu);\n return true;\n }", "title": "" }, { "docid": "9191995182c9174a1544c51a98e5e750", "score": "0.6773825", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_archive, menu);\n return true;\n }", "title": "" }, { "docid": "53665231caec76382079118f8bb36336", "score": "0.67670035", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.main, menu);\n }", "title": "" }, { "docid": "53665231caec76382079118f8bb36336", "score": "0.67670035", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.main, menu);\n }", "title": "" }, { "docid": "e75892cebd2cb749accb826f4b2ce487", "score": "0.67633086", "text": "@Override\npublic boolean onCreateOptionsMenu(Menu menu) {\n\t MenuInflater inflater=new MenuInflater(this);\n\t inflater.inflate(R.menu.main, menu);\n\t \n\treturn super.onCreateOptionsMenu(menu);\n}", "title": "" }, { "docid": "ca3327872559a9645484bbaa602e9250", "score": "0.67531055", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater im = getMenuInflater();\n\t\tim.inflate(R.menu.cool_menu, menu);\n\t\treturn true;\n\n\t}", "title": "" }, { "docid": "6593b9da4a59c909d5b933290320419b", "score": "0.6752168", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.items, menu);\n return true;\n }", "title": "" }, { "docid": "6593b9da4a59c909d5b933290320419b", "score": "0.6752168", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.items, menu);\n return true;\n }", "title": "" }, { "docid": "a9f72b0a5cecfa9aeb8dd243e10fab29", "score": "0.6748495", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_toolbar_actionbar, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "a297d8c9b74bd43bd9c9924098dcda55", "score": "0.6746953", "text": "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.inventory, menu);\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "794a1678f2483bc46fb5f63e48dd8b14", "score": "0.6743387", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.actions, menu);\n return true;\n }", "title": "" }, { "docid": "e1fc9a05fefe49e78b37db80a35ac64b", "score": "0.674201", "text": "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t\tMenuItem item1 = menu.add(0, 0, 0, \"All Delete\");\n\t\titem1.setIcon(android.R.drawable.ic_menu_edit);\n\t\titem1.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);\n\t}", "title": "" }, { "docid": "c619adec870dd0596de07ac23e3ee955", "score": "0.6722745", "text": "@Override\r\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\r\n\t}", "title": "" }, { "docid": "7beece16a3151963d6658b28e9b28066", "score": "0.67226785", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "762bd7d6305624fb3ed918f668cd10cc", "score": "0.67205226", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.menu_main, menu);\n }", "title": "" }, { "docid": "70cf5cfa728c4168bad2a370e23963d2", "score": "0.67163664", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(toolbar_res, menu);\n return true;\n }", "title": "" }, { "docid": "88a308ef320dea5a54ba8df857f33c55", "score": "0.67136246", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_lateral, menu);\n return true;\n }", "title": "" }, { "docid": "c61efb498e78bf50a1e6733f4c10b428", "score": "0.6712936", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n\n MenuInflater menuInflater= getMenuInflater();\n\n menuInflater.inflate(R.menu.main_menu, menu);\n\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "68ff5248461aa52f1d14fba35beb0c24", "score": "0.6704989", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater menuInflater=getMenuInflater();\n menuInflater.inflate(R.menu.menu, menu);\n //getMenuInflater().inflate(R.menu.menu_main, menu);\n return true;\n }", "title": "" }, { "docid": "d7cb657b98ec4dd6045fdcea2d92a817", "score": "0.670269", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\t\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "title": "" }, { "docid": "6f40aaf480c62338798d3697d6f15938", "score": "0.6696186", "text": "public boolean onCreateOptionsMenu(android.view.Menu menu) {\n\t\t\tsuper.onCreateOptionsMenu(menu);\n\t\t\tMenuInflater blowup=getMenuInflater();\n\t\t\tblowup.inflate(R.menu.main, menu);\n\t\t\treturn true;\n\t\t}", "title": "" }, { "docid": "4ed8e9e26b9ef0556b32d687e92b86af", "score": "0.6695448", "text": "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t super.onCreateOptionsMenu(menu, inflater);\n\t}", "title": "" }, { "docid": "2c3f6225a3db9c3fc9a58a3e0c87a920", "score": "0.66928923", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu){\n getMenuInflater().inflate(R.menu.action_bar, menu);\n return true;\n }", "title": "" }, { "docid": "f705af98b22b81d8cfdcdaca7fe37a29", "score": "0.6691919", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.main, menu);\n\n super.onCreateOptionsMenu(menu,inflater);\n }", "title": "" }, { "docid": "d62db5cecbe9745b88ab74e4d7881798", "score": "0.66881996", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.main, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }", "title": "" }, { "docid": "58b51e90d6d0a69b04c4cd210f2e31b4", "score": "0.6686782", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_main, menu);//Menu Resource, Menu\n return true;\n }", "title": "" }, { "docid": "213f076590e745bf6792506509ae0c3d", "score": "0.6683743", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.actionbar_menu, menu);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "3466c6986f2fe141e0161be6d135b76d", "score": "0.667976", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater M = getMenuInflater();\n M.inflate(R.menu.main, menu);\n\n // getMenuInflater().inflate(R.main.main, main);\n return true;\n }", "title": "" }, { "docid": "0b6599173ec5768f63e35e5407a9ea95", "score": "0.66750103", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\n super.onCreateOptionsMenu(menu, inflater);\n }", "title": "" }, { "docid": "86c590ff738fa4c01f843813579dbf51", "score": "0.66742015", "text": "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tinflater.inflate(R.menu.modulesfragment_actionbar, menu);\n\t\t\n\t\tif(exam != null) {\n\t\t\tmenu.removeItem(R.id.action_add_exam);\n\t\t}\n\t}", "title": "" }, { "docid": "b93a1090c194037dc76c79a162e44ee5", "score": "0.66728455", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)\n {\n super.onCreateOptionsMenu(menu, inflater);\n }", "title": "" }, { "docid": "89d08db6734f62c736882b3842146a6c", "score": "0.66676044", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "c356a9baad005daaee9b4b000d81de39", "score": "0.6663499", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "title": "" }, { "docid": "aba1fba6ddcb6bb43753edbad2938279", "score": "0.66625786", "text": "@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\n \tgetMenuInflater().inflate(R.menu.main, menu);\r\n \treturn true;\r\n }", "title": "" }, { "docid": "68e3b122be1d5c7f8c5453023920e99e", "score": "0.6662311", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n }", "title": "" }, { "docid": "266afa8e337221c867730ce499a1a9bf", "score": "0.6661733", "text": "@Override\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.main_screen, menu);\n \t\treturn true;\n \t}", "title": "" }, { "docid": "9e90ee9aba69fb886ba0bf4523a44895", "score": "0.66609097", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n }", "title": "" }, { "docid": "9e90ee9aba69fb886ba0bf4523a44895", "score": "0.66609097", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n }", "title": "" }, { "docid": "57a00d62db4e95d21c2686f9de75c8e3", "score": "0.66600406", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_food_items, menu);\n return true;\n }", "title": "" }, { "docid": "9a283eccc2fb94f0580cb8fe3eeb300b", "score": "0.6657578", "text": "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}", "title": "" }, { "docid": "9a283eccc2fb94f0580cb8fe3eeb300b", "score": "0.6657578", "text": "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}", "title": "" }, { "docid": "834f6c62845d947459df685b80dd2f2d", "score": "0.6656586", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n }", "title": "" }, { "docid": "d80517ef6e8c1d2bb16beb0228b07bd5", "score": "0.6656327", "text": "@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}", "title": "" }, { "docid": "a3c651a9a3cd0bab9669c2a6e4a05b29", "score": "0.66533417", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.xml__id, menu);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "3e8720a0ec0a7b29939158c5939793e8", "score": "0.6650132", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "1636840ec330d0059f2dc0682da90483", "score": "0.66490555", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n\n }", "title": "" }, { "docid": "09b93fe42ba987456e7fe8007339cc0c", "score": "0.6642647", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.my_items_list, menu);\n return true;\n }", "title": "" }, { "docid": "e4259acba5563ad673e43d4331c2b8de", "score": "0.66410965", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater menuInflater = getMenuInflater();\n menuInflater.inflate(R.menu.main_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "bffd5822f812f403e58aaeab74256590", "score": "0.6639924", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.mainbasket, menu);\n return true;\n }", "title": "" }, { "docid": "e2e647c65783c7d50584c0a3d7fc2874", "score": "0.66383636", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n actionBarMenu = menu;\n getMenuInflater().inflate(R.menu.main, menu);\n return true;\n }", "title": "" }, { "docid": "ba79c1c8dc121f6767fffd2174489c3c", "score": "0.66367024", "text": "@Override\n public boolean onCreateOptionsMenu(android.view.Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return true;\n }", "title": "" }, { "docid": "d489782153a062021a100d0839c9f034", "score": "0.66360873", "text": "@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\n \tgetMenuInflater().inflate(R.menu.main, menu);\r\n \treturn true;\r\n }", "title": "" }, { "docid": "896f040bae68c8182568c18af9f1b080", "score": "0.6634786", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "896f040bae68c8182568c18af9f1b080", "score": "0.6634786", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "896f040bae68c8182568c18af9f1b080", "score": "0.6634786", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "896f040bae68c8182568c18af9f1b080", "score": "0.6634786", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "2070510652543f64ffa0e9fcbc7cead6", "score": "0.66335195", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n if(menu.findItem(R.id.add_feed_menu) != null){\n menu.findItem(R.id.add_feed_menu).setVisible(true);\n menu.findItem(R.id.refresh_menu).setVisible(true);\n }\n }", "title": "" }, { "docid": "e9e40756280254842ea3abc90e82d898", "score": "0.6633264", "text": "@Override\r\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tMenuInflater inflater = getMenuInflater();\r\n \t\tinflater.inflate(R.menu.add_illustration_menu, menu);\r\n \r\n \t\tinflater.inflate(R.menu.standard_menu, menu);\r\n \t\treturn super.onCreateOptionsMenu(menu);\r\n \t}", "title": "" }, { "docid": "4dbc23a78c228b5dd7745f51c9e3cb1e", "score": "0.66329557", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.activity_main, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "45442c87d381deee3a66e950c314c3b6", "score": "0.6632049", "text": "@Override\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.main, menu);\n \t\treturn true;\n \t}", "title": "" }, { "docid": "45442c87d381deee3a66e950c314c3b6", "score": "0.6632049", "text": "@Override\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.main, menu);\n \t\treturn true;\n \t}", "title": "" }, { "docid": "e1a12324b9f13e82d6f713ef97f3b274", "score": "0.66315657", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.action_bar, menu);\n return true;\n }", "title": "" }, { "docid": "c769f4224e575554d1426fe804c708a9", "score": "0.66269803", "text": "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.poi_item_manager, menu);\r\n\t\treturn true;\r\n\t}", "title": "" } ]
96a3e6a1f895703cdacbfb0988f7a87c
/ get int 1 or 0 for boolean b
[ { "docid": "38f11f9f307f5e7b116ff83267e6850d", "score": "0.8063362", "text": "public static int booleanValue(boolean b) {\n\t\tint i;\n\t\ti = b ? 1 : 0;\n\t\treturn i;\n\t}", "title": "" } ]
[ { "docid": "d866cbad783042476468001cddaf5162", "score": "0.8242461", "text": "private int booleanToInteger(boolean b){\n return b ? 1 : 0;\n }", "title": "" }, { "docid": "239049029908ce64e22c280dbc81ba87", "score": "0.79211825", "text": "private int btoi(boolean b){\n if(b) return 1;\n else return 0;\n }", "title": "" }, { "docid": "fddfa47ed0653dc9bfa60ec92c0c252a", "score": "0.7905178", "text": "public static int toInt(boolean b) {\n\t\treturn b ? 1 : 0;\n\t}", "title": "" }, { "docid": "8dd5ee5efa91253eee62bcdef9f2a8b4", "score": "0.7641235", "text": "public int boolValue(boolean value);", "title": "" }, { "docid": "9ce218fb36b2471e7f51ecdfebd4944a", "score": "0.7075214", "text": "public static int convertBooleanToInt( boolean aValue )\r\n {\r\n return aValue ? TRUE : FALSE;\r\n }", "title": "" }, { "docid": "e39ae62b0a488884765a4f0687895643", "score": "0.70302343", "text": "boolean getBoolValue();", "title": "" }, { "docid": "2d57ce1c6d5a62cc382b604d6871f4d7", "score": "0.7028382", "text": "public static SchemeBoolean getBoolean(boolean b)\n {\n \tif (b)\n return TRUE;\n\telse\n\t return FALSE;\n }", "title": "" }, { "docid": "546d0cac6e8909bf2f317e3afa91eaeb", "score": "0.6925652", "text": "@Override\n\tpublic Value visitBooleanLiteral(BooleanLiteral nd) {\n\t\t/*\n\t\t * TODO: return something meaningful here (hint: translate 'true' to integer\n\t\t * constant 1, 'false' to integer constant 0)\n\t\t */\n\t\tif (nd.getValue())\n\t\t\treturn IntConstant.v(1);\n\t\telse\n\t\t\treturn IntConstant.v(0);\n\t}", "title": "" }, { "docid": "3bf0c82d00247c8f28eba4f65335d4bc", "score": "0.678166", "text": "boolean getBool();", "title": "" }, { "docid": "7a6cdc575744a282e9936357447ec1b9", "score": "0.6757509", "text": "boolean getBooleanValue();", "title": "" }, { "docid": "c089c38e01ed7813a87c32aae2938bd1", "score": "0.67361003", "text": "Boolean getBooleanValue();", "title": "" }, { "docid": "fb919cf46eda7d531ef38a884e3c0544", "score": "0.66758144", "text": "private boolean toBoolean(int i){\n return i != 0; //se e solo se != 0\n }", "title": "" }, { "docid": "cf7782dd0cff9fcb63142b3e4ba90ad3", "score": "0.65881175", "text": "abstract boolean value();", "title": "" }, { "docid": "5c82284570b9871d27ccecd17dcb5c8b", "score": "0.6579536", "text": "public boolean getAsBoolean ();", "title": "" }, { "docid": "d54bbd9d6060131973fc5959bdca20d3", "score": "0.653363", "text": "public static void isTrue(boolean b) {\n\t\t\n\t}", "title": "" }, { "docid": "26b20e4f6c05b4981b1d10315a938557", "score": "0.6490512", "text": "String getBoolean();", "title": "" }, { "docid": "26b20e4f6c05b4981b1d10315a938557", "score": "0.6490512", "text": "String getBoolean();", "title": "" }, { "docid": "854dbd55f08a0c20104f9b19ceb4d918", "score": "0.646222", "text": "public static Integer booleanToInteger(Boolean value) {\n return value ? Integer.valueOf(1) : Integer.valueOf(0);\n }", "title": "" }, { "docid": "8c134b2244b7850ec7f183015334431d", "score": "0.64529335", "text": "Boolean createBoolean();", "title": "" }, { "docid": "8c134b2244b7850ec7f183015334431d", "score": "0.64529335", "text": "Boolean createBoolean();", "title": "" }, { "docid": "3fb7173f5e6758594d025ba7685ee4d1", "score": "0.6443293", "text": "private boolean integerToBoolean(int x){\n return x > 0 ? true: false;\n }", "title": "" }, { "docid": "32e302d720faf3f249aea20da241a89f", "score": "0.641326", "text": "boolean isBoolean_01();", "title": "" }, { "docid": "c5f247e4146e76afb24e2a1836a0a466", "score": "0.6400018", "text": "boolean isBoolean_1();", "title": "" }, { "docid": "34f3f659a3148c0731d6ebbebea6c02b", "score": "0.6374879", "text": "public abstract Boolean getValue();", "title": "" }, { "docid": "40359b9b248cf673b545e059bb00348e", "score": "0.6371988", "text": "public static boolean isTrue(Boolean b) {\r\n if (b == null) {\r\n return false;\r\n } else {\r\n return b;\r\n }\r\n }", "title": "" }, { "docid": "47cf72f20449f4dfd730c297d5758418", "score": "0.63221693", "text": "public static boolean convertIntToBoolean( int aValue )\r\n {\r\n return aValue == TRUE;\r\n }", "title": "" }, { "docid": "8da14237a730b3e14724658b9fc7c34d", "score": "0.62972414", "text": "static boolean cToBool(char c){\n boolean resp = false;\n if(c == '1')\n resp = true;\n return resp;\n }", "title": "" }, { "docid": "f3717b7ed5a1b3ce9356c591ecb9a5ae", "score": "0.62954444", "text": "public boolean getBoolVal1(){\n\t\tif(!bboolVal1) assert(false);\n\t\treturn boolVal1;\n\t}", "title": "" }, { "docid": "96aff0908f7950f458253d94a0525c13", "score": "0.6286469", "text": "BooleanVariableValue createBooleanVariableValue();", "title": "" }, { "docid": "991ec9f71564bbe55493f114e0ae15fc", "score": "0.62847173", "text": "@Test public void representationOfBooleanPrimitive() throws Exception {\n assertEquals(\"b:1;\", representationOf(true));\n assertEquals(\"b:0;\", representationOf(false));\n }", "title": "" }, { "docid": "e00d93b36d1669602dce3f439f94e51b", "score": "0.62844515", "text": "static native int jniParseBool(AtomicInteger out, String value);", "title": "" }, { "docid": "ba1ce9f528a171100937638e369cdb08", "score": "0.62787855", "text": "public abstract boolean getValue();", "title": "" }, { "docid": "7cdc4b99a23ad5946619c29bfe33e5a9", "score": "0.62728864", "text": "BoolExp (tree.Exp b) { bool = b; }", "title": "" }, { "docid": "380ac20eecd5db6623f840152e4fb166", "score": "0.61979914", "text": "public static String getBoolValue(String myInt){\r\n \r\n switch(myInt){\r\n case \"1\": return \"true\";\r\n default: return \"false\";\r\n }\r\n }", "title": "" }, { "docid": "30926f82cb0b674646dbe8d46ed59968", "score": "0.61918586", "text": "boolean m12623b();", "title": "" }, { "docid": "94e99eb62c6d00a6994dc53240e5e463", "score": "0.61779267", "text": "public static native boolean truth(Object a) /*-{\n return a ? true : false;\n }-*/;", "title": "" }, { "docid": "3ecd6dcb516a5c48c4a28f90d49657a8", "score": "0.6171847", "text": "public Object getValue () {\n return new Boolean ( true );\n }", "title": "" }, { "docid": "f925b08b44f0e05c2d2b4572465524b7", "score": "0.6159973", "text": "public static PyObject __bor__bool_bool(PyBool l, PyBool obj){\n boolean res = l.value | obj.value;\n if(res){\n return PySingletons.True;\n }\n else{\n return PySingletons.False;\n }\n }", "title": "" }, { "docid": "3b320e8179112cf0baf06a145a687214", "score": "0.614999", "text": "boolean value(State s);", "title": "" }, { "docid": "6d57f5016161a8ee1a8b282f171fa896", "score": "0.61284053", "text": "@Override\n\tpublic int getOpRet() {\n\t\treturn opRet==true?1:0;\n\t}", "title": "" }, { "docid": "2f1da1ad03a4689eff274b64e2fa94d1", "score": "0.6100362", "text": "boolean getFlag();", "title": "" }, { "docid": "234b2b81e2aeffaf3398d2bc300a0f69", "score": "0.6092668", "text": "public boolean writeBoolean(String path, boolean b){\r\n\t\tif (b){\r\n\t\t\treturn writeString(path, Integer.toString(1));\r\n\t\t} \r\n\t\tif (!b){\r\n\t\t\treturn writeString(path, Integer.toString(0));\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "35ea595f129ce5a7fcd2f586cd2007bb", "score": "0.6066358", "text": "boolean hasBValue();", "title": "" }, { "docid": "f3b479dbbc7f324f5c0d9b742eb91f15", "score": "0.60462713", "text": "boolean hasBoolValue();", "title": "" }, { "docid": "1afebccea2f57a5ea29d5d1d8ba72d35", "score": "0.60197914", "text": "public static PyObject __bxor__bool_bool(PyBool l, PyBool obj){\n boolean res = l.value ^ obj.value;\n if(res){\n return PySingletons.True;\n }\n else{\n return PySingletons.False;\n }\n }", "title": "" }, { "docid": "a5f91040c5b7cd0787bf07b6a92b6cd4", "score": "0.6019734", "text": "public static Byte booleanToByte(Boolean value) {\n return value ? (byte)1 : (byte)0;\n }", "title": "" }, { "docid": "cb45a8290821574cac7e493d934ee81f", "score": "0.6018245", "text": "BooleanVariable createBooleanVariable();", "title": "" }, { "docid": "cb45a8290821574cac7e493d934ee81f", "score": "0.6018245", "text": "BooleanVariable createBooleanVariable();", "title": "" }, { "docid": "49c257ae47e20cc09fce565a8b37d89e", "score": "0.6017441", "text": "boolean getBooleanNext();", "title": "" }, { "docid": "efb72bd52530892185591ee1442ec5e1", "score": "0.60135883", "text": "public boolean b() {\n boolean booleanValue;\n synchronized (e) {\n if (this.d == null) {\n this.d = Boolean.valueOf(g.a().c());\n }\n if (DJIA.DEV_FLAG) {\n DJIA.log.a(DJIA.LOG_TAG, \"mIsBaseInfoSent is \" + this.d);\n }\n booleanValue = this.d.booleanValue();\n }\n return booleanValue;\n }", "title": "" }, { "docid": "e469c7a34110dd56a8ff8b6180c5fb24", "score": "0.6009434", "text": "public static Long booleanToLong(Boolean value) {\n return value? Long.valueOf(1) : Long.valueOf(0);\n }", "title": "" }, { "docid": "06854b11c578163fe9d1a86ef30a5bdb", "score": "0.6003766", "text": "@Test public void representationOfBooleans() throws Exception {\n assertEquals(\"b:1;\", representationOf(new Boolean(true)));\n assertEquals(\"b:0;\", representationOf(new Boolean(false)));\n }", "title": "" }, { "docid": "465268b9ce55574931ea27bd28d8c244", "score": "0.59957165", "text": "public Bool() {\n type = DataType.BaseType.BOOL;\n }", "title": "" }, { "docid": "00cbba13a7194bac78be05d9a4d153a0", "score": "0.59949684", "text": "public abstract AnyBool asAnyBool();", "title": "" }, { "docid": "bb9960ea0aede2b983b26a7c72e2bfff", "score": "0.59919745", "text": "public boolean getBool() {\n\t\tbyte b;\n\n\t\ttry { // Un booleano ocupa un byte. \n\t\t\tb = (byte) is.read();\n\n\t\t\tif (b == 0) { // Cero indica falso. \n\t\t\t\treturn false;\n\t\t\t} else { // Cualquier otro valor, cierto. \n\t\t\t\treturn true;\n\t\t\t}\n\t\t} catch (IOException ioe) {\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "63314d8485f1075377358c4890c1b1c3", "score": "0.59855336", "text": "boolean mo21731b();", "title": "" }, { "docid": "db504a8540c31542fe4c048164413d0a", "score": "0.5975688", "text": "BoolType createBoolType();", "title": "" }, { "docid": "fc068102b6c219f7cb5938094b5aff23", "score": "0.5975203", "text": "public Boolean getBval()\n {\n return bval; \n }", "title": "" }, { "docid": "4058afef3d568ae47af8e0660f812cb0", "score": "0.59748065", "text": "public boolean getIsTrue(){return isTrue;}", "title": "" }, { "docid": "d3dc9d65deee9c313df1bce51473de12", "score": "0.5958469", "text": "@DISPID(204) //= 0xcc. The runtime will prefer the VTID if present\r\n @VTID(13)\r\n boolean isBoolean();", "title": "" }, { "docid": "8f71635a80fa0376022d606f8c50ca7b", "score": "0.5955694", "text": "public void method_4511(boolean var1) {\r\n String[] var2 = class_752.method_4253();\r\n int var10002 = var1;\r\n if(var2 != null) {\r\n var10002 = var1 != 0?1:0;\r\n }\r\n\r\n this.field_3036.method_9506(18, Byte.valueOf((byte)var10002));\r\n }", "title": "" }, { "docid": "81f6a060d8fb13aac3a59bcb945b8924", "score": "0.59553605", "text": "public static PyObject __add__int_bool(PyInteger l, PyBool obj) {\n\n long r = (long)l.value;\n if (obj.value){\n r+=1;\n }\n\n if( r > (long)Integer.MAX_VALUE || r < (long)Integer.MIN_VALUE){\n return new PyLong(r);\n }\n return new PyInteger((int)r);\n\n }", "title": "" }, { "docid": "3cbaef9768c859c8a47d7b325ef84db5", "score": "0.5942853", "text": "public boolean a() {\n return ((Boolean) a(Boolean.valueOf(this.a))).booleanValue();\n }", "title": "" }, { "docid": "e9c98f453341d23f5839d54045163470", "score": "0.59405583", "text": "boolean getBoolean(int columnIndex) throws SQLException;", "title": "" }, { "docid": "62c81adfd7dfb534d9616ddfe432a7ab", "score": "0.59377664", "text": "public String bool2String(boolean b) {\n\tif (b) { return getYes();}\n\telse { return getNo();}\n\n}", "title": "" }, { "docid": "9d97b5ad68ed37f96cb1e59bb7676582", "score": "0.593696", "text": "public abstract Boolean asistir();", "title": "" }, { "docid": "d15ad828cc22a24f0906041bb7020330", "score": "0.59295315", "text": "BoolConstant createBoolConstant();", "title": "" }, { "docid": "a8fb6c8367f11c81357d3ea41ab0c995", "score": "0.5919818", "text": "public boolean b(int i2) {\n return i2 != 0 && (i2 & 1) == 0;\n }", "title": "" }, { "docid": "c0753ae7e701cfd2ab8bc2c4ba36dd41", "score": "0.591667", "text": "public int b() { return b; }", "title": "" }, { "docid": "928682effcac804b735b53ac7d1f23ec", "score": "0.5911291", "text": "void mo8325b(boolean z);", "title": "" }, { "docid": "63ef595ba4563a0e97da7b0c38863bef", "score": "0.5899309", "text": "private boolean b(int paramInt)\r\n/* 53: */ {\r\n/* 54:53 */ return (paramInt & 0x1) == 0;\r\n/* 55: */ }", "title": "" }, { "docid": "b4fd8a54c836ce685242074f8f68bbca", "score": "0.58974826", "text": "public Boolean getBoolean() {\n\tboolean b=sc.hasNextBoolean();\n\t\treturn b;\n\t}", "title": "" }, { "docid": "13a1f79536f807036d038fbe0b835680", "score": "0.5896472", "text": "public static TypeDescriptor boolOp(TypeDescriptor a, TypeDescriptor b) {\n return (a.equals(boolType) && b.equals(boolType))\n ? boolType\n : errType;\n }", "title": "" }, { "docid": "d6d09d321e1354d396c9f9915862bfb5", "score": "0.58923805", "text": "public boolean isBoolean();", "title": "" }, { "docid": "1ca655a2f924b0f58f470b37e45d594a", "score": "0.58901894", "text": "public static SchemeBoolean getTrue()\n {\n\treturn TRUE;\n }", "title": "" }, { "docid": "ddc6efbef1cc28084141135d6b0977cc", "score": "0.5886432", "text": "private int K(boolean k)\r\n {\r\n \t\treturn k ? 1 : -1;\r\n }", "title": "" }, { "docid": "b0a3c6b1deaba56dc4f4cfd994700cb4", "score": "0.5878657", "text": "public void a(boolean paramBoolean) {\n/* 142 */ a(d.h, Boolean.valueOf(paramBoolean));\n/* */ }", "title": "" }, { "docid": "daf46c8a08e02b94754953021b0f5964", "score": "0.5868671", "text": "@Override\n public boolean getBoolean1() {\n return getCv().getBoolean1();\n }", "title": "" }, { "docid": "c46a4f700c8a7bf5acfd0de0cbea5098", "score": "0.58660376", "text": "public RubyBoolean getTrue() {\n return trueObject;\n }", "title": "" }, { "docid": "77ff177dbc66adf56faefd9a18965863", "score": "0.5863773", "text": "public SimpleBoolean value(State s) {\r\n\t\treturn e.value(s);\r\n\t}", "title": "" }, { "docid": "7548070bfb3dec5191c699d768d511b6", "score": "0.5857665", "text": "public static Boolean integerToBoolean(Integer value) {\n return value == 0 ? Boolean.FALSE : Boolean.TRUE;\n }", "title": "" }, { "docid": "65f7325f7231dd208dc2266b219a1a42", "score": "0.5848977", "text": "public void b(boolean paramBoolean) {\n/* 177 */ a(d.g, Boolean.valueOf(paramBoolean));\n/* */ }", "title": "" }, { "docid": "89f6cdf5dda653604b6202f84e27e70d", "score": "0.584804", "text": "public static DataType cboolean() {\n return primitiveTypeMap.get(Name.BOOLEAN);\n }", "title": "" }, { "docid": "7eff3055b802bfae024d08d14c20de5a", "score": "0.58475125", "text": "public boolean getBoolean(String arg0) {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "aedfa2e4b4647a77bcab13aa6a3f0b2f", "score": "0.5826846", "text": "public boolean getBit(int index)\n\t{\n\t\treturn (val & (1 << index)) != 0;\n\t}", "title": "" }, { "docid": "24364bbbe53c58ce93effd686550398e", "score": "0.5825051", "text": "BooleanLiteral createBooleanLiteral();", "title": "" }, { "docid": "24364bbbe53c58ce93effd686550398e", "score": "0.5825051", "text": "BooleanLiteral createBooleanLiteral();", "title": "" }, { "docid": "e788cff13284c47261cff1a9bae7d0d8", "score": "0.5824864", "text": "boolean interpret();", "title": "" }, { "docid": "be3d3fe8eaa3b9299ad62d3097f28ffc", "score": "0.58155257", "text": "static native int jniGetBool(AtomicInteger out, long cfg, String name);", "title": "" }, { "docid": "e7fd8d41af45710782e58815da155b9e", "score": "0.5812757", "text": "public int getBit() \r\n\t{\r\n\t\treturn bit;\r\n\t}", "title": "" }, { "docid": "573cd63ba22bd8650fb76433e305eab2", "score": "0.5812649", "text": "Boolean isBooleanTerm1();", "title": "" }, { "docid": "9e417c5e366dc30313ace69746057bb8", "score": "0.5812079", "text": "boolean getProposedBooleanValue(Variable var);", "title": "" }, { "docid": "79074133508e320cef094986c28d7a38", "score": "0.5808775", "text": "@Test public void valueOfBoolean() throws Exception {\n assertEquals(true, valueOf(\"b:1;\"));\n assertEquals(false, valueOf(\"b:0;\"));\n }", "title": "" }, { "docid": "311e3e82e30198b4e559e72cf9cc3fb9", "score": "0.5806759", "text": "boolean mo1179b();", "title": "" }, { "docid": "3688a7738b9b712a84541474c1d1a02a", "score": "0.58047473", "text": "public static void isTrue(boolean b, String string) {\n\t\t\n\t}", "title": "" }, { "docid": "65bb6c6d7ec1144a0c8adf1dade961b9", "score": "0.5795026", "text": "public final boolean a() {\n /*\n r5 = this;\n r4 = 28\n r1 = 1\n r2 = 0\n boolean r0 = r5.d\n if (r0 != 0) goto L_0x0023\n int r0 = android.os.Build.VERSION.SDK_INT\n if (r0 < r4) goto L_0x0025\n r0 = r1\n L_0x000d:\n boolean r3 = r5.a\n if (r3 == 0) goto L_0x001b\n int r3 = r5.b\n if (r3 > 0) goto L_0x0027\n r3 = r4\n L_0x0016:\n if (r3 < r4) goto L_0x002a\n r3 = r1\n L_0x0019:\n if (r3 == 0) goto L_0x002c\n L_0x001b:\n r3 = r1\n L_0x001c:\n if (r0 == 0) goto L_0x002e\n if (r3 == 0) goto L_0x002e\n r0 = r1\n L_0x0021:\n if (r0 == 0) goto L_0x0024\n L_0x0023:\n r2 = r1\n L_0x0024:\n return r2\n L_0x0025:\n r0 = r2\n goto L_0x000d\n L_0x0027:\n int r3 = r5.b\n goto L_0x0016\n L_0x002a:\n r3 = r2\n goto L_0x0019\n L_0x002c:\n r3 = r2\n goto L_0x001c\n L_0x002e:\n r0 = r2\n goto L_0x0021\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.loc.p.b.a():boolean\");\n }", "title": "" }, { "docid": "4fe8a2339d9215402083bab238cbdc64", "score": "0.57939506", "text": "public static Boolean valueOf(Boolean value) {\r\n return value ? Boolean.TRUE : Boolean.FALSE;\r\n }", "title": "" }, { "docid": "ce7cf9644a01dec264e70e698c7244c0", "score": "0.5793906", "text": "boolean mo134641b();", "title": "" }, { "docid": "51caec6f82f59491fd3e355319018872", "score": "0.5793676", "text": "boolean mo13355a();", "title": "" }, { "docid": "04072befb17959741ea39b99f0ee752d", "score": "0.5777131", "text": "boolean mo2324b();", "title": "" } ]
d6d01eeb5a2268515ae8038724724dd2
TODO: Warning this method won't work in the case the id fields are not set
[ { "docid": "609af2773215633720ce94aa21082e05", "score": "0.0", "text": "@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof AttributeEnumeration)) {\r\n return false;\r\n }\r\n AttributeEnumeration other = (AttributeEnumeration) object;\r\n if ((this.attributeEnumerationPK == null && other.attributeEnumerationPK != null) || (this.attributeEnumerationPK != null && !this.attributeEnumerationPK.equals(other.attributeEnumerationPK))) {\r\n return false;\r\n }\r\n return true;\r\n }", "title": "" } ]
[ { "docid": "2ea3f646855a4de84777156e9d69a012", "score": "0.67264146", "text": "private int getId(){\n\t\t return id;\n\t }", "title": "" }, { "docid": "be61a06bd9418dd678f25642f5ddfa42", "score": "0.66328716", "text": "public void setId(long id) {this.id = id; }", "title": "" }, { "docid": "34f045641c8a043f7fab0a39729a6601", "score": "0.65844834", "text": "public void setId(Integer id) { this.id = id; }", "title": "" }, { "docid": "0847e73c7b4cc818acc9450f87baf6ce", "score": "0.6577308", "text": "public void setId(int id) { this.id = id; }", "title": "" }, { "docid": "0726e82f8e61c201289edfe685d77472", "score": "0.65736425", "text": "public int getId() { return id; }", "title": "" }, { "docid": "0726e82f8e61c201289edfe685d77472", "score": "0.65736425", "text": "public int getId() { return id; }", "title": "" }, { "docid": "0726e82f8e61c201289edfe685d77472", "score": "0.65736425", "text": "public int getId() { return id; }", "title": "" }, { "docid": "cb7878360ea0f28ae5871125e9671228", "score": "0.6558154", "text": "public void setId (Long pId)\n {\n this.id=pId;\n }", "title": "" }, { "docid": "5186e1ce01315036681f78aee861b407", "score": "0.65468985", "text": "public void setId() {\n this.id = id;\r\n }", "title": "" }, { "docid": "1991be481f9f0b5852403121b14f0048", "score": "0.6528518", "text": "public int getId() { return this.id; }", "title": "" }, { "docid": "1991be481f9f0b5852403121b14f0048", "score": "0.6528518", "text": "public int getId() { return this.id; }", "title": "" }, { "docid": "72381e36cd861d7983f95633fec329fa", "score": "0.65207356", "text": "public int getId() {return id;}", "title": "" }, { "docid": "4346e5a854bafebc22dbca1980d8631f", "score": "0.6506292", "text": "public void setId(String id) { this.id = id; }", "title": "" }, { "docid": "d048f526390cef538b93f3434c48f249", "score": "0.6404033", "text": "public int getId(){\r\n return id;\r\n }", "title": "" }, { "docid": "d048f526390cef538b93f3434c48f249", "score": "0.6404033", "text": "public int getId(){\r\n return id;\r\n }", "title": "" }, { "docid": "d048f526390cef538b93f3434c48f249", "score": "0.6404033", "text": "public int getId(){\r\n return id;\r\n }", "title": "" }, { "docid": "2d6404813a2d56afe36d8155397d8a74", "score": "0.6391066", "text": "public int getId(){\n return this.id;\n }", "title": "" }, { "docid": "fe6ba866b866aa3103945a514b99fac1", "score": "0.6385022", "text": "@Override\n\tpublic void fildById(long id) {\n\t\t\n\t}", "title": "" }, { "docid": "6b7063f5d3e36a5ba43d1dc760010e36", "score": "0.6378473", "text": "@Override\n\tprotected Serializable pkVal() {\n\t\treturn id;\n\t}", "title": "" }, { "docid": "6b7063f5d3e36a5ba43d1dc760010e36", "score": "0.6378473", "text": "@Override\n\tprotected Serializable pkVal() {\n\t\treturn id;\n\t}", "title": "" }, { "docid": "a190569955873b13bfbfc77c1ca3048e", "score": "0.6377697", "text": "@Override\r\n\t\t\tpublic long getId() {\n\t\t\t\treturn 0;\r\n\t\t\t}", "title": "" }, { "docid": "a190569955873b13bfbfc77c1ca3048e", "score": "0.6377697", "text": "@Override\r\n\t\t\tpublic long getId() {\n\t\t\t\treturn 0;\r\n\t\t\t}", "title": "" }, { "docid": "a190569955873b13bfbfc77c1ca3048e", "score": "0.6377697", "text": "@Override\r\n\t\t\tpublic long getId() {\n\t\t\t\treturn 0;\r\n\t\t\t}", "title": "" }, { "docid": "a190569955873b13bfbfc77c1ca3048e", "score": "0.6377697", "text": "@Override\r\n\t\t\tpublic long getId() {\n\t\t\t\treturn 0;\r\n\t\t\t}", "title": "" }, { "docid": "a190569955873b13bfbfc77c1ca3048e", "score": "0.6377697", "text": "@Override\r\n\t\t\tpublic long getId() {\n\t\t\t\treturn 0;\r\n\t\t\t}", "title": "" }, { "docid": "a190569955873b13bfbfc77c1ca3048e", "score": "0.6377697", "text": "@Override\r\n\t\t\tpublic long getId() {\n\t\t\t\treturn 0;\r\n\t\t\t}", "title": "" }, { "docid": "45d95b1e4ff8c2de3d9f58d7a5909ce9", "score": "0.63734204", "text": "public void setId(long id) {\n this.id = id;\n }", "title": "" }, { "docid": "043394b8e6adaf980c2478e40610782c", "score": "0.6371339", "text": "@Override\n public int getID() {\n return 0;\n }", "title": "" }, { "docid": "cfdad6033866ec5853f03b81a4ee00d0", "score": "0.6368857", "text": "public void setId(Long id)\n/* */ {\n/* 39 */ this.id = id;\n/* */ }", "title": "" }, { "docid": "60d9eee31087a33ef9148d2e8731f8a2", "score": "0.6353283", "text": "void setId(String id){\n this.id = id;\n }", "title": "" }, { "docid": "1d95fbf0085059f6ba552b7b2bb6bcd3", "score": "0.6346895", "text": "public Integer getId() { return id; }", "title": "" }, { "docid": "1d95fbf0085059f6ba552b7b2bb6bcd3", "score": "0.6346895", "text": "public Integer getId() { return id; }", "title": "" }, { "docid": "3e4436db53e986df6adebee790236105", "score": "0.63341516", "text": "@Override\n\tpublic void validateId(Long id) {\n\n\t}", "title": "" }, { "docid": "4c1fcbfc5fd65634915cb1cf2a513611", "score": "0.633019", "text": "@Override\n public Long getId() {\n return id;\n }", "title": "" }, { "docid": "f003e9fba3158cf593e1f6a182180bed", "score": "0.63251114", "text": "public String getId(){ return id; }", "title": "" }, { "docid": "8337ded66d2c194d61e666fdf631f439", "score": "0.6317254", "text": "@Override\n public Integer getId() {\n return id;\n }", "title": "" }, { "docid": "54e02fbf0b61ccc5872190ffc2afa275", "score": "0.6313735", "text": "public Long getId() { return id; }", "title": "" }, { "docid": "54e02fbf0b61ccc5872190ffc2afa275", "score": "0.6313735", "text": "public Long getId() { return id; }", "title": "" }, { "docid": "ff8afa5ef3eeeeee214ec8a1bf4bf1f2", "score": "0.6308969", "text": "public Integer getId() {\nreturn this.id;\n}", "title": "" }, { "docid": "056f66ef4f9795874d5e1936cbd0e0b7", "score": "0.6304997", "text": "public int getId(){\n return id;\n }", "title": "" }, { "docid": "056f66ef4f9795874d5e1936cbd0e0b7", "score": "0.6304997", "text": "public int getId(){\n return id;\n }", "title": "" }, { "docid": "056f66ef4f9795874d5e1936cbd0e0b7", "score": "0.6304997", "text": "public int getId(){\n return id;\n }", "title": "" }, { "docid": "056f66ef4f9795874d5e1936cbd0e0b7", "score": "0.6304997", "text": "public int getId(){\n return id;\n }", "title": "" }, { "docid": "2bd18b580753f5c542a2b844c888c648", "score": "0.6299508", "text": "@Override\n public long getId() {\n return id;\n }", "title": "" }, { "docid": "2bd18b580753f5c542a2b844c888c648", "score": "0.6299508", "text": "@Override\n public long getId() {\n return id;\n }", "title": "" }, { "docid": "617b80cba328af3c9236dcd1cece0991", "score": "0.6296255", "text": "public int getId() {\n return id;\n }", "title": "" }, { "docid": "617b80cba328af3c9236dcd1cece0991", "score": "0.6296255", "text": "public int getId() {\n return id;\n }", "title": "" }, { "docid": "f906affcecd6e02b44a4aab12f6b5f4c", "score": "0.6295485", "text": "@Override\r\n public long getId() {\r\n return id;\r\n }", "title": "" }, { "docid": "86d191508bca5b8419a7198c0d176215", "score": "0.6294937", "text": "public void setID(String id) { this.id = id; }", "title": "" }, { "docid": "86d5dccf7cd39919a982345740c16106", "score": "0.6285577", "text": "private Integer getId () {\n return id;\n }", "title": "" }, { "docid": "841ef7f2b9d9cb04f22e891c3d4b8e45", "score": "0.62725466", "text": "public int getId(){\n return this.id;\n }", "title": "" }, { "docid": "841ef7f2b9d9cb04f22e891c3d4b8e45", "score": "0.62725466", "text": "public int getId(){\n return this.id;\n }", "title": "" }, { "docid": "841ef7f2b9d9cb04f22e891c3d4b8e45", "score": "0.62725466", "text": "public int getId(){\n return this.id;\n }", "title": "" }, { "docid": "841ef7f2b9d9cb04f22e891c3d4b8e45", "score": "0.62725466", "text": "public int getId(){\n return this.id;\n }", "title": "" }, { "docid": "64dc1df658a5c8677407b96a0af51e2f", "score": "0.62647945", "text": "public void setID(int id) { \r\n this.id = id; \r\n }", "title": "" }, { "docid": "e7143c96e21d1967509444bb7fd1ebc0", "score": "0.6257621", "text": "@Override\n\tpublic void setId(Long id) {\n\t\t\n\t}", "title": "" }, { "docid": "32f1a9191bd511ff94bfcbe520d98a08", "score": "0.6244713", "text": "public long getId() { return id; }", "title": "" }, { "docid": "2fe7b81eedf5f53431866c0fceb20540", "score": "0.6242365", "text": "public void setId(Long id)\n/* */ {\n/* 72 */ this.id = id;\n/* */ }", "title": "" }, { "docid": "9b126c93aed8ac67677daf0381b825a7", "score": "0.6240275", "text": "void setId(int id)\n {\n this.id = id;\n }", "title": "" }, { "docid": "beeff237f6270a0a447da3efd6bf73af", "score": "0.6238265", "text": "@Override\n\tpublic Long getId() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "beeff237f6270a0a447da3efd6bf73af", "score": "0.6238265", "text": "@Override\n\tpublic Long getId() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "beeff237f6270a0a447da3efd6bf73af", "score": "0.6238265", "text": "@Override\n\tpublic Long getId() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "182a00edc5b7ea0b45440649707ca9d2", "score": "0.6223203", "text": "@Override\n\tpublic void setId(Long id) {\n\t}", "title": "" }, { "docid": "1f0e142fea21d963bf589694fe09e359", "score": "0.6220433", "text": "void setId(long id) {\n this.id = id;\n }", "title": "" }, { "docid": "e0a48d763c64445de504666cf016ba52", "score": "0.6217962", "text": "public void setId(String value) {\n this.id = value;\n }", "title": "" }, { "docid": "cd2d0d0c9b31ceaea7289e225b24bac9", "score": "0.6209563", "text": "public void setId(int id)\n {\n this.id = id;\n }", "title": "" }, { "docid": "605caa4cb7aea4133af9d212d98594d3", "score": "0.62067384", "text": "public void setId(java.lang.Integer id) { \n this.id = id; \n }", "title": "" }, { "docid": "be5850996f4de94ca7fd9440f2fbf9db", "score": "0.62051886", "text": "public void setId(int id){\r\n this.id = id;\r\n }", "title": "" }, { "docid": "76c998ce9ffc25fa50f060f6bc85137a", "score": "0.6203707", "text": "public int getID() {return this.id;}", "title": "" }, { "docid": "e5f1aadae01879f7a78ce1fc59d9d74d", "score": "0.6191058", "text": "public void setId(Long id)\n\t{\n this.id = id;\n }", "title": "" }, { "docid": "3f33378b4dae14f30e35e33ae528a6eb", "score": "0.6189607", "text": "public Long getId()\n {\n return id;\n }", "title": "" }, { "docid": "553f022d92cd42e529e2201c8c72716e", "score": "0.6184117", "text": "public String getId() {return id;}", "title": "" }, { "docid": "f7795cf4998791a21ecbf489352a6d84", "score": "0.6180895", "text": "public int getId ()\r\n {\r\n return id;\r\n }", "title": "" }, { "docid": "689737315ad274300d409b07f7bb37d3", "score": "0.6170892", "text": "@Override\r\n\t\t\tpublic int getId() {\n\t\t\t\treturn 0;\r\n\t\t\t}", "title": "" }, { "docid": "689737315ad274300d409b07f7bb37d3", "score": "0.6170892", "text": "@Override\r\n\t\t\tpublic int getId() {\n\t\t\t\treturn 0;\r\n\t\t\t}", "title": "" }, { "docid": "689737315ad274300d409b07f7bb37d3", "score": "0.6170892", "text": "@Override\r\n\t\t\tpublic int getId() {\n\t\t\t\treturn 0;\r\n\t\t\t}", "title": "" }, { "docid": "61e8667c1e6a8fe1660705de0a34d386", "score": "0.61633444", "text": "void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "d789c5fdc7aa36ab198ae7454c8eab1c", "score": "0.61621815", "text": "public void setId(String id)\n/* */ {\n/* 72 */ this.id = id;\n/* */ }", "title": "" }, { "docid": "28fb56ce01a52d72a88d392f75cc4ff9", "score": "0.6157086", "text": "@Override\n\tlong getID() {\n\t\treturn id;\n\t}", "title": "" }, { "docid": "bb938c0a267ac6e2cb5e6b135cf1ed68", "score": "0.6155131", "text": "@Override\n public int getId() {\n return id;\n }", "title": "" }, { "docid": "93d4dbe6f99e96118de0c19dced5b542", "score": "0.61486626", "text": "public String getIdField();", "title": "" }, { "docid": "7bb2d71c1ac3cd01f30bd011dc8e6602", "score": "0.61475587", "text": "public String getID() { return id; }", "title": "" }, { "docid": "7bb2d71c1ac3cd01f30bd011dc8e6602", "score": "0.61475587", "text": "public String getID() { return id; }", "title": "" }, { "docid": "a603ab2be3abb5139dbc9b57bd52dd22", "score": "0.61460084", "text": "public void setId(int id){\n this.id = id;\n }", "title": "" }, { "docid": "3d781bc213b63f37f826edef4350867b", "score": "0.61326534", "text": "@Override\n\tpublic void setId(int id) {\n\t\t\n\t}", "title": "" }, { "docid": "95a3701ea60ee5e62b0b90e4ccd9d068", "score": "0.6121451", "text": "@Override\r\n\t\t\tpublic String getId() {\n\t\t\t\treturn null;\r\n\t\t\t}", "title": "" }, { "docid": "408a8ba764cbf657e234b706ecc53505", "score": "0.6121042", "text": "@Override\n \tpublic String getId()\n \t{\n \t\treturn myId;\n \t}", "title": "" }, { "docid": "e5e40506424a106f08233550ccf6c471", "score": "0.6104574", "text": "public void setId(int id){\n this.id = id;\n }", "title": "" }, { "docid": "e5e40506424a106f08233550ccf6c471", "score": "0.6104574", "text": "public void setId(int id){\n this.id = id;\n }", "title": "" }, { "docid": "39e2222efef0e9307de32ba60b42c794", "score": "0.6104423", "text": "@Override\n public long getId();", "title": "" }, { "docid": "6603df875c35093d1e4a642c37c09f46", "score": "0.61041874", "text": "@java.lang.Override\n public int getId() {\n return id_;\n }", "title": "" }, { "docid": "6627a5f7184cacf054f1a0d73e0e46e4", "score": "0.6094719", "text": "public int getId(){\n return localId;\n }", "title": "" }, { "docid": "6627a5f7184cacf054f1a0d73e0e46e4", "score": "0.6094719", "text": "public int getId(){\n return localId;\n }", "title": "" }, { "docid": "d7347a31455edf335999eec176e902d4", "score": "0.6094328", "text": "int getId() {\r\n\t\treturn id;\r\n\t}", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.6060657", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.6060657", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.6060657", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.6060657", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.6060657", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.6060657", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.6060657", "text": "java.lang.String getId();", "title": "" } ]
102935cac49f330b2bff1baf818a731f
This interface must be implemented by activities that contain this fragment to allow an interaction in this fragment to be communicated to the activity and potentially other fragments contained in that activity. See the Android Training lesson Communicating with Other Fragments for more information.
[ { "docid": "c829a94e29eeb1f1a58d9ec35cc97712", "score": "0.0", "text": "public interface OnFragmentInteractionListener {\n void onFragmentInteraction(Uri uri);\n }", "title": "" } ]
[ { "docid": "99ab694104cc186d3c4509239146a610", "score": "0.7300961", "text": "public interface FragmentCommunicator {\n\n void changeFragment(View v, String currentFrag);\n}", "title": "" }, { "docid": "90ba17b9e4e05d6752d9c4542a3899b9", "score": "0.7289868", "text": "public interface FragmentInteractionListener{\n void sending_data(Trails trails);\n void editing_data(Trails trails);\n }", "title": "" }, { "docid": "5b7156708aaa7a84155646a438ef1101", "score": "0.72048604", "text": "@Override\n public void onFragmentInteraction() {\n }", "title": "" }, { "docid": "80a2c57ba8cc857535bc9b602df1d1ad", "score": "0.71740633", "text": "public interface OnFragmentInteractionListener {\n\n }", "title": "" }, { "docid": "8a3cc5bc713506834460bfd647925731", "score": "0.71690947", "text": "public interface OnFragmentInteractionListener {\n }", "title": "" }, { "docid": "1e178e952dd90e30c5ed01049a5525c2", "score": "0.7167677", "text": "public interface OnFragmentInteractionListener {\n void onFragmentInteraction(String purpose, String un, String pw);\n }", "title": "" }, { "docid": "3522f62ff5c6a2358ba70281919548ac", "score": "0.70694494", "text": "public interface OnFragmentInteractionListener {\n\n void onFragmentInteraction(int position);\n\n}", "title": "" }, { "docid": "5251b462e0153c2ec8415b2175e3ed55", "score": "0.7060964", "text": "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onChatSelected(String contactID, String conversationID);\n void logout();\n }", "title": "" }, { "docid": "d11d9392989177823293c935fb4bf9f1", "score": "0.7058494", "text": "public interface FragmentInterface {\r\n\r\n void onClicCategoria(String id);\r\n\r\n void onClicApp(App app);\r\n}", "title": "" }, { "docid": "c9779de9b5f005ae16ff6379e6d2039a", "score": "0.7037439", "text": "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onFragmentInteraction(int position, int fragmentCaller );\n }", "title": "" }, { "docid": "8b9e9c16bb0d159ba1f9dee256ff978a", "score": "0.7032914", "text": "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onFragmentInteraction(Celebrity celebrity);\n }", "title": "" }, { "docid": "a7c41c3c30e8df80e0dc9e95c5de0195", "score": "0.7026933", "text": "public interface FragmentComunication {\n\n public void sendAppointment(Appointment appointment);\n\n public void sendEvent(Event event);\n\n}", "title": "" }, { "docid": "66d57c6a37ffa77a73b06569feef04cb", "score": "0.7025223", "text": "public interface OnAddFragmentInteractionListener {\n // TODO: Update argument type and name\n void onAddFragmentInteraction();\n }", "title": "" }, { "docid": "3497aeb3f37ad363cf1801c2c69bf8d8", "score": "0.70208305", "text": "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n public void onInvoicesFragmentInteraction(String string);\n }", "title": "" }, { "docid": "b3adc37d3037d924d0216d812f10a85b", "score": "0.7020728", "text": "public interface OnFragmentInteractionListener {\n void onFragmentInteraction();\n }", "title": "" }, { "docid": "30a1f6e3930af198686e2c310ba9c601", "score": "0.70091873", "text": "public interface OnFragmentInteractionListener {\n void onOpenChat(int theChatId);\n void onSearchInteractionListener();\n }", "title": "" }, { "docid": "464cf2d546ebbb9d121428acc19326e6", "score": "0.699435", "text": "public interface MainActivityView {\n void onSetupFragmentList(ListFragment fragment);\n void onSetupFragmentItemForm(ItemFormFragment mItemFormFragment);\n}", "title": "" }, { "docid": "79407c552f0483734d85e395fc589226", "score": "0.69853145", "text": "public interface FragmentCommunicator{\n public void passDataToFragmentSpinnerGroup(int someValue,ViewModelSongNumberIndex index);\n public void passDataToFragmentSongNumber(int someValue);\n\n }", "title": "" }, { "docid": "31a8f75aea610148b4f2b5fd7ed1e08f", "score": "0.6976336", "text": "public interface OnFragmentInteractionListener {\n void onFragmentInteraction(String name);\n }", "title": "" }, { "docid": "d874193e002dffe716c7053618dfbf68", "score": "0.69748276", "text": "void onFragmentInteraction();", "title": "" }, { "docid": "d874193e002dffe716c7053618dfbf68", "score": "0.69748276", "text": "void onFragmentInteraction();", "title": "" }, { "docid": "d874193e002dffe716c7053618dfbf68", "score": "0.69748276", "text": "void onFragmentInteraction();", "title": "" }, { "docid": "efd9f573469f73ffdc4d7a8e89ce7733", "score": "0.69688505", "text": "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n }", "title": "" }, { "docid": "904e0617e96ac63f446bc15027d45346", "score": "0.6964382", "text": "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onFragmentInteraction();\n }", "title": "" }, { "docid": "904e0617e96ac63f446bc15027d45346", "score": "0.6964382", "text": "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onFragmentInteraction();\n }", "title": "" }, { "docid": "4b724b79b4a9270f539e7fee87124edb", "score": "0.69475704", "text": "public interface FragmentComunication {\n\n public void sendCourse (Course course);\n\n public void sendCategory (int id);\n\n public void sendMyCourse (Course course);\n\n public void setFragment(int position);\n}", "title": "" }, { "docid": "ac91dc34720cb7ec74816d6fdff751eb", "score": "0.69426745", "text": "public interface OnFragmentInteractionListener {\r\n void recebidoFragmento2(int numero);\r\n int enviaFragmento2();\r\n }", "title": "" }, { "docid": "70ba84ab1e82c71cd4de07cb1c4be701", "score": "0.69269186", "text": "public interface OnFragmentInteractionListener{\n void onOkPressed(String email, String phone);\n }", "title": "" }, { "docid": "27e1aea494160f4fac20a96204e93900", "score": "0.6924753", "text": "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onImageClickListener();\n int getMessage();\n void setStudent(Student student);\n Student getStudent();\n void moveFromProfileToDisplayFragment();\n }", "title": "" }, { "docid": "fc293ec08c33d91633ce1615d27afa23", "score": "0.69125986", "text": "public interface OnFragmentInteractionListener {\n\n // change to the right section in navigation drawer\n public void onSectionAttached(int number);\n public boolean sendMsg(String message);\n /* public void resetAllMotors();\n public int getMotorCount();\n public void adjustAllMotorToZero();\n public boolean liftMotorUp(int index, float roations);\n public boolean liftMotorDown(int index, float rotations);\n public boolean moveMotorToPos(int index, float position);\n public boolean moveToForm(long id, float[] motorPos, int[] ledValues );\n*/\n public void updateAdatpers();\n public PanelingLampDBHelper getDBHelper();\n public void dispatchTakePictureIntent();\n public void showAddNewFormDialog(float[] motorV, int[] ledV);\n\n public void onScrollUp(int l, int t, int x, int y, int dx, int dy);\n public void onScrollDown(int l, int t, int x, int y, int dx, int dy);\n\n}", "title": "" }, { "docid": "30808e2e8e73793d97c4d8a65964b2f2", "score": "0.68942803", "text": "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n public void onFragmentInteraction(Uri uri);\n void loadMovieDetailFragment(Movie movie);\n }", "title": "" }, { "docid": "ce0956053c1f157b63bc05b61310d42e", "score": "0.6875637", "text": "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onFragmentInteraction(String title);\n }", "title": "" }, { "docid": "ed064d25d3a87356e1ca8a5998ba6336", "score": "0.6862568", "text": "public interface OnFragmentInteractionListener {\n void onFragmentInteraction(int action);\n }", "title": "" }, { "docid": "0552b547bcf10f5813a4279f7391eaa8", "score": "0.68615335", "text": "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void goToExpenseOnCancel();\n void goToExpenseOnAdd(Expense expense);\n }", "title": "" }, { "docid": "ffa6ce3b9ce5125dc3eba23a134f15d9", "score": "0.6861348", "text": "public interface OnFragmentInteractionListener {\n void onEditPersFragmentInteraction(String nombre, String alias, String desc, Uri retrato, List<String> imagenes, long id);\n }", "title": "" }, { "docid": "600d0115e15b996ce9cc9ae3f75a5f42", "score": "0.68465996", "text": "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onViewFocused(Activity activity, View view);\n void onFragmentInteraction();\n }", "title": "" }, { "docid": "94244f56ef92cfd91b329d0cca1d44ef", "score": "0.6846414", "text": "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onFragmentInteraction(String interaction);\n }", "title": "" }, { "docid": "f882ad771a56cf899a662ae4cb7bc53f", "score": "0.68446934", "text": "public interface OnFragmentInteractionListener {\n void onFragmentInteraction(String tag);\n }", "title": "" }, { "docid": "142b4edc956c0f42687dfb5b0993e891", "score": "0.68434805", "text": "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onEpisodeLog(long symptomId, CharSequence name, int type);\n void onMainFragmentResume();\n }", "title": "" }, { "docid": "c6b6183272b846321f8a932707062299", "score": "0.6834096", "text": "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n public void onSuccess();\n public void onFailure(String errMsg);\n }", "title": "" }, { "docid": "982e05c9836d952cbd4960a7170db5eb", "score": "0.68125194", "text": "public interface OnFragmentInteractionListener {\n\n void onFragmentInteraction(SPMaintain maintain);\n}", "title": "" }, { "docid": "f4a4d8e5f9df1e7ec1c517ce82512897", "score": "0.68024516", "text": "public interface OnFragmentInteractionListener {\n void changeViewVisible();\n}", "title": "" }, { "docid": "d8c85e1869da50df4ae8dc82e649d641", "score": "0.67952377", "text": "public interface SendFragmentView extends MvpView {\n String getRecipient();\n String getSubject();\n String getContentMessage();\n String getAttachment();\n void chooseFile();\n void sendMessage();\n void initializeForm(View view);\n void errorRecipient();\n void errorContent();\n}", "title": "" }, { "docid": "da46233a62ff8c25aacb77b46480b7e4", "score": "0.67937285", "text": "public interface DoccumentInterface {\n\n public void callFragment(Fragment fragment);\n}", "title": "" }, { "docid": "57a9123965198bd3d9b52a6906ce9e8e", "score": "0.6779503", "text": "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onFragmentInteraction(Uri uri);\n\n //enviar la cancion que se debe de reproducir a la actividad\n void reproducirAudio(Playlist playlist);\n void audioAtras(Playlist playlist);\n void audioAdelante(Playlist playlist);\n void reanudarPausarAudio(Playlist playlist);\n\n }", "title": "" }, { "docid": "1f817ac8ef50bd7774da0496c223861c", "score": "0.6778074", "text": "public interface OnFragmentInteractionListener {\n void loadFragment5();\n }", "title": "" }, { "docid": "f70ba6d3c8779aa25efe9e38ff8404dd", "score": "0.6771635", "text": "public void onFragmentInteraction(Bundle bundle);", "title": "" }, { "docid": "f1a778fb884d01d78ac42ed9166c38ca", "score": "0.6771381", "text": "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n public void onFragmentInteraction(String id);\n }", "title": "" }, { "docid": "f1a778fb884d01d78ac42ed9166c38ca", "score": "0.6771381", "text": "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n public void onFragmentInteraction(String id);\n }", "title": "" }, { "docid": "f1a778fb884d01d78ac42ed9166c38ca", "score": "0.6771381", "text": "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n public void onFragmentInteraction(String id);\n }", "title": "" }, { "docid": "f1a778fb884d01d78ac42ed9166c38ca", "score": "0.6771381", "text": "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n public void onFragmentInteraction(String id);\n }", "title": "" }, { "docid": "b5267b6dd1714d7d836a1e497c06a619", "score": "0.6756734", "text": "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n //void onFragmentInteraction(Uri uri);\n void update(String data);\n }", "title": "" }, { "docid": "334d6df0caf91326e9eb0e9db0cedae3", "score": "0.67561674", "text": "public interface OnFragmentInteractionListener {\r\n public void editTask(long id);\r\n }", "title": "" }, { "docid": "15b68f4f4ebb050c4f52cc04870294c5", "score": "0.6751458", "text": "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onFragmentInteraction( String action);\n }", "title": "" }, { "docid": "9365d23329888f1813f063f6bda992ba", "score": "0.67304933", "text": "void onFragmentInteraction(Celebrity celebrity);", "title": "" }, { "docid": "0f704a02ace5d0ac19dd70560d459e08", "score": "0.67259747", "text": "public interface OnDreamFragmentInteractionListener {\n //not yet implemented\n void onDreamFragmentInteraction(Dream dream);\n }", "title": "" }, { "docid": "5f29a589131e5e2cda64779071cb1142", "score": "0.67127055", "text": "public interface OnFragmentInteractionListener {\n void onFragmentTouch();\n }", "title": "" }, { "docid": "25d82e76b59062047528104504b2a227", "score": "0.66996443", "text": "public interface OnFragmentInteractionListener\n {\n void onButtonClick(String id);\n }", "title": "" }, { "docid": "e08ee5637ec95ea295fd72df335044bd", "score": "0.6686844", "text": "public interface IView {\n void change(Fragment fragment);\n}", "title": "" }, { "docid": "1b2392a643d9be93c3847ba953af2fa3", "score": "0.6676019", "text": "void onFragmentInteraction(String interaction);", "title": "" }, { "docid": "ccfc7d2459f33e9fb703cf0e00eea0bf", "score": "0.6675201", "text": "public interface onFragmentAttachedListenner {\n public String getUsername();\n\n}", "title": "" }, { "docid": "2499dd7448a5ce2a82a2a86290a7c013", "score": "0.66568166", "text": "public interface OnFragmentSelectedListener {\n public void onFragmentSelected(int position);\n}", "title": "" }, { "docid": "5ad0756d102f4e2e471c179b6ec15ea3", "score": "0.6656639", "text": "public interface OnFragmentInteractionListener {\n void checkPermission();\n }", "title": "" }, { "docid": "72fb17f7ae80373612013faf176cf64e", "score": "0.6651437", "text": "public void onFragmentInteraction(int position);", "title": "" }, { "docid": "63651151a4253205851283f58947612b", "score": "0.6651098", "text": "public interface OnFragmentInteractionListener {\n void onRegistrationSuccess();\n }", "title": "" }, { "docid": "cc8a2571de66645998f11b60d0d16bbf", "score": "0.66449755", "text": "public interface IFragment {\n /** Standard activity result: operation canceled. */\n public static final int RESULT_CANCELED = 0;\n /** Standard activity result: operation succeeded. */\n public static final int RESULT_OK = -1;\n /** Start of user-defined activity results. */\n public static final int RESULT_FIRST_USER = 1;\n /**\n * void onAttach(Activity activity);\n * <p>\n * void onCreate(Bundle savedInstanceState);\n * <p>\n * View onCreateView(LayoutInflater inflater, ViewGroup container,\n * Bundle savedInstanceState);\n * <p>\n * void onBecomeVisible();\n * <p>\n * void onResume();\n * <p>\n * void onPause();\n * <p>\n * void onStop();\n * <p>\n * void onDestroyView();\n * <p>\n * void onDestroy();\n * <p>\n * void onDetach();\n */\n void finish();\n\n /**\n * @param frament\n * @param pop true pop to the frament in the stack if exist; false start anew directly\n */\n void startNewFragment(Class<? extends Fragment> frament, boolean pop);\n\n void startNewFragment(Class<? extends Fragment> frament);\n\n void startNewFragment(Intent intent, Class<? extends Fragment> frament);\n\n void startNewFragment(Intent intent);\n /**\n * @param intent\n * @param frament\n * @param pop true pop to the frament in the stack if exist; false start anew directly\n */\n void startNewFragment(Intent intent, Class<? extends Fragment> frament, boolean pop);\n\n Intent getIntent();\n\n void setIntent(Intent intent);\n\n void onNewIntent(Intent intent);\n\n boolean isDestroy();\n\n Context getContext();\n\n Activity getActivity();\n\n boolean isActive();\n\n void bindManager(IFragmentManager manager);\n\n void setView(View contentView);\n\n View getView();\n\n void onLowMemory();\n\n void startFragmentForResult(Intent intent, Class<? extends Fragment> fragment, int requestCode);\n\n// void onFragmentResult(int requestCode, int resultCode, Intent data);\n\n// void onActivityResult(int requestCode, int resultCode, Intent data);\n\n void onRequest(int requestCode);\n\n int requestCode();\n\n Window getWindow();\n\n View findViewById(int id);\n\n void setContentView(int id);\n\n void setContentView(View view);\n\n void startActivity(Intent intent);\n\n boolean bindService(Intent service, ServiceConnection conn,\n int flags);\n\n void unbindService(ServiceConnection conn);\n\n void startActivityForResult(Intent intent, int requestCode);\n\n void startService(Intent intent);\n\n String getString(int id);\n public boolean onKeyBack();\n}", "title": "" }, { "docid": "0ca25cada541de1baf0d9479ab5c14a5", "score": "0.6642654", "text": "public void onFragmentInteraction(String id);", "title": "" }, { "docid": "0ca25cada541de1baf0d9479ab5c14a5", "score": "0.6642654", "text": "public void onFragmentInteraction(String id);", "title": "" }, { "docid": "0ca25cada541de1baf0d9479ab5c14a5", "score": "0.6642654", "text": "public void onFragmentInteraction(String id);", "title": "" }, { "docid": "0ca25cada541de1baf0d9479ab5c14a5", "score": "0.6642654", "text": "public void onFragmentInteraction(String id);", "title": "" }, { "docid": "480919ddb02b695007f266417323a9e8", "score": "0.6636361", "text": "public interface ActivityViewFragment {\n\n /**\n * Called when the activity's onBackPressed() method is called.\n * @return Return true if the activity should continue with normal processing.\n */\n boolean onBackPressed();\n\n}", "title": "" }, { "docid": "266974a24e6b69f916048d6c03b1e5e8", "score": "0.6634221", "text": "public interface OnFragmentInteractionListener{\n void onOkPressed(String description, String region, Boolean delete);\n }", "title": "" }, { "docid": "dc7a52ae1bafc312f50b31783c0b36d8", "score": "0.66267836", "text": "public interface GamecodeFragmentView extends View {\n boolean isCameraPermissionGranted();\n void openDonateFragment(int streamId, String streamName, String streamer_id);\n}", "title": "" }, { "docid": "428326dc990a726ea0cc507817985300", "score": "0.66133785", "text": "@Override\n public void onAttach(@NonNull Context context) {\n super.onAttach(context);\n if(context instanceof TopFragmentInterface )\n topFragmentInterfaceListener = (TopFragmentInterface) context;\n // here, context is the MainActivity\n // Assign context to TopFragmentInterfaceListener means that MainActivity implements that interface\n // and changeImage() method is definitely implemented in MainActivity\n }", "title": "" }, { "docid": "585ba99c8ae0eb62797cfad86ce2a0a1", "score": "0.6611608", "text": "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n public void showFragment(int fragmentIndex, boolean addToBackStack);\n public void setCurrentItem(EventItem item);\n public EventItem getCurrentItem();\n }", "title": "" }, { "docid": "c7b7db689498db094130fc93471ca8ad", "score": "0.6608704", "text": "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n public void onTopHeadlineSelected(int id);\n\n }", "title": "" }, { "docid": "02e4af598bb3b603a5d05a9804b7495b", "score": "0.66085076", "text": "public interface FragmentInterface {\n public void fragmentResult(Fragment fragment, String title);\n}", "title": "" }, { "docid": "b50f14787c239e8736bb246312134bd9", "score": "0.66028047", "text": "public interface WebCamExtendedInfoFragment {\r\n public void initUserInterface(WebCamExtendedInfoDto[] webCamExtendedInfoDtos);\r\n public FragmentActivity getActivity();\r\n}", "title": "" }, { "docid": "32844b117c23b9ce4e87dd397fc24eb2", "score": "0.65949976", "text": "void onFragmentInteraction(int position);", "title": "" }, { "docid": "26a31cff8a9c42dbeb227cbc415583bd", "score": "0.6594466", "text": "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onSignUpPressed(String name, String email, String college, String address,String pincode,int age,String gender);\n }", "title": "" }, { "docid": "dcb03bf41c74b9e0650f4d7025b6c08a", "score": "0.65792894", "text": "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n public void onFragmentInteraction(Uri uri);\n public Project getProject();\n }", "title": "" }, { "docid": "3def03bb68e3de684fe9d4f64f934851", "score": "0.65772885", "text": "@Override\r\n public void onClick(View v) {\n TheListener listener = (TheListener) getActivity();\r\n\r\n // this method call helps to send data from fragment to the parent activity\r\n assert listener != null;\r\n listener.printMessage(\"Message sent by listener\");\r\n }", "title": "" }, { "docid": "4de72cfbfa38b1e25ad42b422ecbb8ba", "score": "0.65698195", "text": "void onFragmentInteraction(int position, int fragmentCaller );", "title": "" }, { "docid": "05b7e7b3a56df82dbfc4dee848385daa", "score": "0.6569739", "text": "public interface OnFragmentInteractionListener {\n\t\t// TODO: Update argument type and name\n\t\tpublic void onFragmentInteraction(Uri uri);\n\t}", "title": "" }, { "docid": "05b7e7b3a56df82dbfc4dee848385daa", "score": "0.6569739", "text": "public interface OnFragmentInteractionListener {\n\t\t// TODO: Update argument type and name\n\t\tpublic void onFragmentInteraction(Uri uri);\n\t}", "title": "" }, { "docid": "26734e99afd55ea14d1e87189295cb36", "score": "0.6565969", "text": "void onAddFragmentInteraction();", "title": "" }, { "docid": "60afb7ca84a6a1e8f3aa49f71a79e56e", "score": "0.65542364", "text": "public interface QuickFragmentPresenter extends FragmentPresenter {\n void onProvider(Context context, String status);\n void onClickMapView(Context context);\n void onClickAddContacts();\n void removeContacts();\n void onContactsActivityResult(Context context, Intent data);\n void onClickContacts();\n void onClickFindLocation();\n void onInputAddContacts(Context context, String number);\n void onCheckedProvider(int checkedId);\n void onClickShare(Context context);\n void onClickSMS(Context context);\n void sendSMS(Context context, String target);\n void onClick112(Context context);\n void onClick119(Context context);\n void registerReceiver(Context context);\n void unregisterReceiver(Context context);\n void onClickCopy(Context context);\n interface View extends FragmentPresenter.View {\n void showAddress(String address);\n void showLatlng(String latlng);\n void navigateToGPS(Intent intent);\n void showToast(String msg);\n void removeUpdates();\n void navigateToMap(Intent intent);\n void navigateToContacts(Intent intent);\n void navigateToShare(Intent intent);\n void addContacts(ArrayList<ContactsItem> itemArrayList);\n void findLocation(String locationProvider);\n void clearInputContactsEditText();\n void showRemoveContactsAlert();\n void clearLocationInfoTextView();\n void showSMSDialog(String message, String target);\n void showShortUrl(String shortUrl);\n }\n}", "title": "" }, { "docid": "93a25d92b030520c9fb2289d931e5bbe", "score": "0.65465105", "text": "public interface OnFragmentVideoInteractionListener {\n void onFragmentInteraction(long playbackposition, int currentWindow, boolean playwhenready, String description, String thumbnail, String video);\n }", "title": "" }, { "docid": "e8c2c9f1606384bf4940f3725ce97d3c", "score": "0.65458995", "text": "@Override\n\tpublic void onAttach(Context context)\n\t{\n\t\tsuper.onAttach(context);\n\t\tif(context instanceof OnFragmentInteractionListener){\n\t\t\tlistener=(OnFragmentInteractionListener)context;\n\t\t}\n\t\telse{\n\t\t\tthrow new RuntimeException(context.toString()+\" must implement OnFragmentInterActionListener\");\n\t\t}\n\t}", "title": "" }, { "docid": "456cee6cd425aeceda37e479126612c4", "score": "0.65438724", "text": "@Override\n public void onAttach(Activity activity) {\n super.onAttach(activity);\n //check for implementation by trying to cast to an instance of the interface\n try {\n _hostActivity = (InteractionWithGoalViewFragmentListener) activity;\n } catch (ClassCastException e) {\n // if fails, interface wasn't implemented\n throw new ClassCastException(activity.toString() + \" must implement \" +\n \"InteractionWithGoalViewFragmentListener\");\n }\n }", "title": "" }, { "docid": "ea24b92808ed89943a56111c0f24eae7", "score": "0.6537932", "text": "public interface DatosFragmentListener {\n public void OnBackClicked();\n}", "title": "" }, { "docid": "327c59e63ecb2279989a9459b086ac84", "score": "0.65343386", "text": "@Override\r\n public void onAttach(Context context) {\r\n super.onAttach(context);\r\n if (context instanceof OnFragmentInteractionListener){\r\n listener = (OnFragmentInteractionListener) context;\r\n } else {\r\n throw new RuntimeException(context.toString()\r\n + \" must implement OnFragmentInteractionListener\");\r\n }\r\n }", "title": "" }, { "docid": "a1701b2dcec422be3a85113d49e7c457", "score": "0.65335256", "text": "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onVideofdetFragmentInteraction(String uri);\n }", "title": "" }, { "docid": "97f3c840d62de53f9e81ab54d9403a24", "score": "0.65325695", "text": "public interface OnListFragmentInteractionListener {\n// void onListFragmentInteraction(DummyItem item);\n }", "title": "" }, { "docid": "e72eb02a15da8268cf5ff1c893db6816", "score": "0.6532474", "text": "public interface OnFragmentInteractionListener {\n public void onFragmentInteraction(Uri uri);\n }", "title": "" }, { "docid": "e72eb02a15da8268cf5ff1c893db6816", "score": "0.6532474", "text": "public interface OnFragmentInteractionListener {\n public void onFragmentInteraction(Uri uri);\n }", "title": "" }, { "docid": "e72eb02a15da8268cf5ff1c893db6816", "score": "0.6532474", "text": "public interface OnFragmentInteractionListener {\n public void onFragmentInteraction(Uri uri);\n }", "title": "" }, { "docid": "e72eb02a15da8268cf5ff1c893db6816", "score": "0.6532474", "text": "public interface OnFragmentInteractionListener {\n public void onFragmentInteraction(Uri uri);\n }", "title": "" }, { "docid": "e72eb02a15da8268cf5ff1c893db6816", "score": "0.6532474", "text": "public interface OnFragmentInteractionListener {\n public void onFragmentInteraction(Uri uri);\n }", "title": "" }, { "docid": "0091c57bbb023fbc9197fa1781668211", "score": "0.6517793", "text": "public interface NotesFragmentListener {\n // goes to note details activity\n public void goToNote(Note note);\n }", "title": "" }, { "docid": "2b26b5965ff6009a25e224355bf01801", "score": "0.65112936", "text": "public interface OnFragmentInteractionListener {\n void onFragmentInteraction(Uri uri);\n }", "title": "" } ]
6fe226de390378c533a52976bf612615
Return the value associated with the column: lesseeaddrkey
[ { "docid": "6aa618deac94444223956e411190051c", "score": "0.719716", "text": "public String getLesseeaddrkey () {\n\t\treturn lesseeaddrkey;\n\t}", "title": "" } ]
[ { "docid": "70c7b96fa36fce14d76bd0bb7c87d8ed", "score": "0.6374328", "text": "Address getValueAddress();", "title": "" }, { "docid": "fca0fbdb120144e5c321e4cce36f1e14", "score": "0.6326447", "text": "public void setLesseeaddrkey (String lesseeaddrkey) {\n\t\tthis.lesseeaddrkey = lesseeaddrkey;\n\t}", "title": "" }, { "docid": "d1110032eafec115a39a13001a8cd4ee", "score": "0.6141116", "text": "public String slaveAddress() throws SQLException {\n\t\tString sqlCreate = \"SELECT Address FROM Addresstable\";\n\t\tLog.log(sqlCreate);\n\t\tstmt = con.createStatement();\n\t\tResultSet rs = stmt.executeQuery(\"fish\");\n\t\trs.next();\n\t\treturn rs.getString(\"Address\");\n\t}", "title": "" }, { "docid": "6c832d5039e712fbaad6fb0d9b4ffbd5", "score": "0.58568144", "text": "private static InetSocketAddress correctQueryByAddr(String key, TreeMap<Long, InetSocketAddress> tree) {\n long hash = Helper.hashString(key);\n Long succId = tree.ceilingKey(hash);\n if(succId == null) \n return tree.firstEntry().getValue();\n else\n return tree.get(succId);\n }", "title": "" }, { "docid": "27066bf62af166e0614498aec7970918", "score": "0.5615808", "text": "long getAddressId();", "title": "" }, { "docid": "27066bf62af166e0614498aec7970918", "score": "0.5615808", "text": "long getAddressId();", "title": "" }, { "docid": "6c5b635b56354e0898fac3c10345edce", "score": "0.5562131", "text": "java.lang.String getAddress();", "title": "" }, { "docid": "6c5b635b56354e0898fac3c10345edce", "score": "0.5562131", "text": "java.lang.String getAddress();", "title": "" }, { "docid": "6c5b635b56354e0898fac3c10345edce", "score": "0.5562131", "text": "java.lang.String getAddress();", "title": "" }, { "docid": "6c5b635b56354e0898fac3c10345edce", "score": "0.5562131", "text": "java.lang.String getAddress();", "title": "" }, { "docid": "6c5b635b56354e0898fac3c10345edce", "score": "0.5562131", "text": "java.lang.String getAddress();", "title": "" }, { "docid": "6c5b635b56354e0898fac3c10345edce", "score": "0.5562131", "text": "java.lang.String getAddress();", "title": "" }, { "docid": "6c5b635b56354e0898fac3c10345edce", "score": "0.5562131", "text": "java.lang.String getAddress();", "title": "" }, { "docid": "0ede23806ece53ed15a83c5d45860267", "score": "0.5557531", "text": "@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getAddressLine2KanjiInternal();", "title": "" }, { "docid": "1a130198cf9d3de94a9ef7b2239a2175", "score": "0.5542421", "text": "String getX121address();", "title": "" }, { "docid": "eddfc79c7a0f46c686b7761bf485fbb3", "score": "0.549051", "text": "TypedValue getAddress();", "title": "" }, { "docid": "61e6f30e448f40860568f2128b7f9aff", "score": "0.54789734", "text": "public StrColumn getTecheditorAddress() {\n return new DelegatingStrColumn(parentBlock.getColumn(\"journal_techeditor_address\"));\n }", "title": "" }, { "docid": "cef5261ec9dd4e763839881b44be6e46", "score": "0.54715806", "text": "String getFromAddress();", "title": "" }, { "docid": "cf808e9a7eada710ad5072893d6b6250", "score": "0.54566544", "text": "java.lang.String getAddr();", "title": "" }, { "docid": "f491e970434da29991c57aa7425f126f", "score": "0.5419563", "text": "int getGroupAddress();", "title": "" }, { "docid": "ec866d28fbd542b8c306dc7f1ea12804", "score": "0.5419208", "text": "public StrColumn getAddress() {\n return new DelegatingStrColumn(parentBlock.getColumn(\"journal_coeditor_address\"));\n }", "title": "" }, { "docid": "f0388cd7b43575e886a7fc8c1cdcebae", "score": "0.5407656", "text": "@Override\n public NetworkTableEntry getEntry(String key) {\n return m_table.getEntry(key);\n }", "title": "" }, { "docid": "42a34591ab505e3ee0b8d7f79c3718ea", "score": "0.5397273", "text": "public String getAddr()\n {\n return addr;\n }", "title": "" }, { "docid": "2e0da50ce4aa7af6402a467f7bbdeef2", "score": "0.5380544", "text": "java.lang.String getAddress1();", "title": "" }, { "docid": "2e0da50ce4aa7af6402a467f7bbdeef2", "score": "0.5380544", "text": "java.lang.String getAddress1();", "title": "" }, { "docid": "f46d6ff5b28a513baed320a8896ee032", "score": "0.5376715", "text": "com.google.protobuf.StringValue getAddress();", "title": "" }, { "docid": "754652d3b6fe475a6357828fe9ac7056", "score": "0.5370565", "text": "public String getAddressline() {\n return addressline;\n }", "title": "" }, { "docid": "4d5e0f39a8e23f1fb4707d4f4ac0850a", "score": "0.5352093", "text": "public long address() {\n\t\treturn address;\n\t}", "title": "" }, { "docid": "e0e306c42ea8b5240608dce45266374f", "score": "0.5343776", "text": "String getAddress();", "title": "" }, { "docid": "e0e306c42ea8b5240608dce45266374f", "score": "0.5343776", "text": "String getAddress();", "title": "" }, { "docid": "e0e306c42ea8b5240608dce45266374f", "score": "0.5343776", "text": "String getAddress();", "title": "" }, { "docid": "465a04531037c73a8af7c76043ed3703", "score": "0.53423625", "text": "RefDataValue getDataValue(RowLocation value);", "title": "" }, { "docid": "d4445bdd5c36e0d25302559c781c7920", "score": "0.5339275", "text": "public String getStringValueByKeyFromOtherTable(String key) {\n\t\textractUniDataSetByUniDataSetAndExtendedKey(this, key);\n\t\treturn ud.getValueAsString();\n\t}", "title": "" }, { "docid": "121c2d0c5bc7d920105406bc2332a0f3", "score": "0.53186893", "text": "private static String getAddress(byte[] publicKey) {\n Keccak.DigestKeccak keccak = new Keccak.Digest256();\n keccak.update(publicKey);\n return toHexString(keccak.digest(), 0, keccak.digest().length);\n }", "title": "" }, { "docid": "99dbd450a1379232b6d58f901c23703d", "score": "0.5318584", "text": "@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getAddressLine1KanjiInternal();", "title": "" }, { "docid": "18b05f48005001f220a2f2f740c45754", "score": "0.5314477", "text": "@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getAddressLine1Internal();", "title": "" }, { "docid": "c321b3064b49a00bb8fcbe12fd8e06b2", "score": "0.52808493", "text": "java.lang.String getAddress2();", "title": "" }, { "docid": "c321b3064b49a00bb8fcbe12fd8e06b2", "score": "0.52808493", "text": "java.lang.String getAddress2();", "title": "" }, { "docid": "fcb795fb36e6479004beeed98a1d7e12", "score": "0.52759856", "text": "@Override\n\tpublic String getIp(String key, String value) {\n\t\tStringBuffer temp = new StringBuffer();\n\t\ttemp.append(key).append( MyUtils.IntegerToString16For4(Long.toHexString(MyUtils.ipToLong(value)).length())).append(Long.toHexString(MyUtils.ipToLong(value)));\n\t\treturn temp.toString();\n\t}", "title": "" }, { "docid": "1697d57dee89e4931f379933a01d2415", "score": "0.5273175", "text": "String getAddressDisplayValue(Location location);", "title": "" }, { "docid": "96dcf10a688cd2a401c92249d8d4932d", "score": "0.5242022", "text": "public String getEntry(int rowId, String columnName);", "title": "" }, { "docid": "f7eb96b9afe3b740892e88d0f8e08936", "score": "0.52411675", "text": "@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getAddressLine2Internal();", "title": "" }, { "docid": "1706c2cb9de1fe61ac4941c4c64c3cc9", "score": "0.52311057", "text": "public java.lang.Integer getAddress_code() {\n return address_code;\n }", "title": "" }, { "docid": "848f55d5d59397618f9a9e14a4d099d3", "score": "0.5230328", "text": "public String getAddr() {\n return addr;\n }", "title": "" }, { "docid": "635066fcd192794e4ae4898444fb6111", "score": "0.52244735", "text": "int getAddress();", "title": "" }, { "docid": "ae1f78a7594ebe6ecce847dacf097c21", "score": "0.5185462", "text": "protected int getAddr() {\n\t\treturn addr;\n\t}", "title": "" }, { "docid": "a045a0de79c8720db5a04f149e4cb27d", "score": "0.5179652", "text": "String getLocalAddress();", "title": "" }, { "docid": "fb81fa9811c7bd9c6c2a025cfae8e814", "score": "0.5157674", "text": "public String getAddress() {\n\t\treturn String.format(addressLength, Integer.toHexString(address)).replaceAll(\" \", \"0\").toUpperCase();\n\t}", "title": "" }, { "docid": "83baffed5a0cf1d82b1ce9a5817a8934", "score": "0.5153311", "text": "public String getAddress1();", "title": "" }, { "docid": "3eabf24e4ecb9c06ab4a9340ef7a0d7d", "score": "0.5139402", "text": "public String getAddress();", "title": "" }, { "docid": "3eabf24e4ecb9c06ab4a9340ef7a0d7d", "score": "0.5139402", "text": "public String getAddress();", "title": "" }, { "docid": "3eabf24e4ecb9c06ab4a9340ef7a0d7d", "score": "0.5139402", "text": "public String getAddress();", "title": "" }, { "docid": "a92e7bd6ddbfee08e978208e076113ee", "score": "0.513072", "text": "public String getDepotaddrkey () {\n\t\treturn _depotaddrkey;\n\t}", "title": "" }, { "docid": "5d136441cafdebdf6db8b29b11534734", "score": "0.5126919", "text": "public String getAddress() {\n\t\t\tObject ref = address_;\n\t\t\tif (ref instanceof String) {\n\t\t\t\treturn (String) ref;\n\t\t\t} else {\n\t\t\t\tByteString bs = (ByteString) ref;\n\t\t\t\tString s = bs.toStringUtf8();\n\t\t\t\tif (bs.isValidUtf8()) {\n\t\t\t\t\taddress_ = s;\n\t\t\t\t}\n\t\t\t\treturn s;\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "9983e5beba1b02418ca2ca0636261a7e", "score": "0.51249796", "text": "java.lang.String getAddress4();", "title": "" }, { "docid": "344cff91c540f5c4418c499767480168", "score": "0.51192087", "text": "public abstract LinkedList<String> getCandidateKey(String database, String table);", "title": "" }, { "docid": "7d2edbe93493759fd2b8793bb82b7699", "score": "0.5093959", "text": "String getCellRangeAddress();", "title": "" }, { "docid": "d71a425f3eca2ce306f05b686a6350af", "score": "0.50908417", "text": "public Object getValue(String name) throws TableKeyNotDefinedException{\n synchronized(entryStore){\r\n NetworkTableEntry entry = entryStore.getEntry(name);\r\n if(entry == null)\r\n throw new TableKeyNotDefinedException(name);\r\n return entry.getValue();\r\n }\r\n\t}", "title": "" }, { "docid": "6925a322a0f8871ddacd8ed211ebb0bf", "score": "0.5083", "text": "public int getLKey()\n {\n return field_8_lKey;\n }", "title": "" }, { "docid": "acb7b78ecf50843c4c5e8ef3a834cbda", "score": "0.5082282", "text": "public int getAddress() {\n return address;\n }", "title": "" }, { "docid": "acb7b78ecf50843c4c5e8ef3a834cbda", "score": "0.5082282", "text": "public int getAddress() {\n return address;\n }", "title": "" }, { "docid": "b21c0f1ab6e5661201f29df6b4f3509e", "score": "0.5080677", "text": "@java.lang.Override\n public int getAddress() {\n return address_;\n }", "title": "" }, { "docid": "fc45064f6798f6cff3f5d86288aa0ff8", "score": "0.50559103", "text": "public abstract long getKey(int ndx) throws PsseModelException;", "title": "" }, { "docid": "799f1ae2d71f05909ae26ffa7e9d12d5", "score": "0.50555736", "text": "public KeyValuePair<String, String> getVCFLineGenome(String sLine, Long lLineNr){\n\t\tKeyValuePair<String, String> result = new KeyValuePair<String, String>();\n\t\tresult = extractKeyValuePairFromLine(sLine, fREGEXPDATALINE);\t\n\t\tresult.setKey(lLineNr.toString());\n\t\treturn result;\n\t}", "title": "" }, { "docid": "3236dd31b102b91f4f5bf54e88205cc0", "score": "0.5049339", "text": "public String getAddress() {\n\t\t\t\tObject ref = address_;\n\t\t\t\tif (!(ref instanceof String)) {\n\t\t\t\t\tString s = ((ByteString) ref).toStringUtf8();\n\t\t\t\t\taddress_ = s;\n\t\t\t\t\treturn s;\n\t\t\t\t} else {\n\t\t\t\t\treturn (String) ref;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "b7592ab4533c7fbee01236b81378a670", "score": "0.50490814", "text": "public String getDBHostName_tra() {\n //return (String) getAttributeInternal(DBHOSTNAME_TRA);\n Scheduler scheduler = this.getStdSchedulerInVORImpl();\n \n\n try {\n JobDetail jobDetail = this.getCurrentRowJobDetail(scheduler);\n return jobDetail.getJobDataMap().getString(\"hostName\");\n } catch (SchedulerException e) {\n e.printStackTrace();\n return \"数据库主机Ip 信息获取错误!(voImpl 748行)\"; \n }\n }", "title": "" }, { "docid": "2a7cf811ac2e017e1739825044bea470", "score": "0.5043482", "text": "@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getInsuredAddressLine1();", "title": "" }, { "docid": "cef87f85a3fc9598b8d5318d215fceb9", "score": "0.5042781", "text": "public String getAddr() {\n\t\t\n\t\treturn String.format(\"%d.%d.%d.%d\", this.addr[0], this.addr[1], this.addr[2], this.addr[3]);\n\t}", "title": "" }, { "docid": "d1c9775553bef1a951f33a1d1676e28e", "score": "0.504212", "text": "public java.lang.String getAddress () {\n\t\treturn address;\n\t}", "title": "" }, { "docid": "c1ec630d0f3a8028bb4e00ce4f650d58", "score": "0.5040691", "text": "public String\n get_address()\n {\n return byte_address;\n }", "title": "" }, { "docid": "fcac0fe920f6f59ba7a96cfa2ad77780", "score": "0.50370973", "text": "public Criteria andSnmpAddressEqualToColumn(Server.Column column) {\n addCriterion(new StringBuilder(\"snmp_address = \").append(column.getEscapedColumnName()).toString());\n return (Criteria) this;\n }", "title": "" }, { "docid": "227b82b3fac6092172ad7919cae5e467", "score": "0.5035735", "text": "String getaddress()\n\t{\n\t\treturn address;\n\t}", "title": "" }, { "docid": "35307347477304407c188a4e6e53cbe8", "score": "0.50343984", "text": "public java.lang.String getChargeBackRetrievalAddressFlag() {\n return genClient.cacheGet(CacheKey.chargeBackRetrievalAddressFlag);\n }", "title": "" }, { "docid": "5e152e5bb7be3e092dec1c936d6caf41", "score": "0.50288814", "text": "public String getSecondaryAddress() throws RemoteException{\n return secondaryAddress + addressEnd;\n }", "title": "" }, { "docid": "ea026aa757c32380b84c442fa70e92c3", "score": "0.50273114", "text": "LuaValue key();", "title": "" }, { "docid": "fd82054896ef391bd0eafb4819c58382", "score": "0.5027231", "text": "public long getAddressId() {\n return addressId_;\n }", "title": "" }, { "docid": "fd82054896ef391bd0eafb4819c58382", "score": "0.5027231", "text": "public long getAddressId() {\n return addressId_;\n }", "title": "" }, { "docid": "44af69438d18b14ee0ee5d1a3e62c73c", "score": "0.5025611", "text": "public int rbGetAddr()\r\n/* 45: */ {\r\n/* 46: 42 */ return this.rbaddr;\r\n/* 47: */ }", "title": "" }, { "docid": "a2799f12b006b3d63956f7c1d3010a40", "score": "0.50215447", "text": "public String getAddress() { return address.toString(); }", "title": "" }, { "docid": "69cc5753635f6319b7344404655d1346", "score": "0.501458", "text": "objkey_column getObjkey_column();", "title": "" }, { "docid": "c5d91d3bfbd868edc29d65d3210ea061", "score": "0.50138766", "text": "public String get_address() {return address;}", "title": "" }, { "docid": "fd4a049bcd8577b411428571d5201cf9", "score": "0.5008454", "text": "public String getAddress(){\n\t\treturn address;\n\t}", "title": "" }, { "docid": "194d66eb7d51fd018dd7c8c57d0dbe37", "score": "0.50053704", "text": "long getDistributorAddressId();", "title": "" }, { "docid": "194d66eb7d51fd018dd7c8c57d0dbe37", "score": "0.50053704", "text": "long getDistributorAddressId();", "title": "" }, { "docid": "194d66eb7d51fd018dd7c8c57d0dbe37", "score": "0.50053704", "text": "long getDistributorAddressId();", "title": "" }, { "docid": "cf83582b4a7c25e0be283d2137de10de", "score": "0.49932542", "text": "io.opencannabis.schema.geo.Address getAddress();", "title": "" }, { "docid": "bf747409424890ed5790c9c0273338f0", "score": "0.49915928", "text": "@Override\n\tpublic String getAddress() {\n\t\treturn s_yinhuanaddress;\n\t}", "title": "" }, { "docid": "b876379fa014575b2d8520ded0845144", "score": "0.49910188", "text": "public long getDataAddress() {\n if (!isDataValid()) {\n throw new UcxException(\"Data is not received yet.\");\n }\n return address;\n }", "title": "" }, { "docid": "235427c07e1003e70d358f312277a7ed", "score": "0.49861914", "text": "public int getVal(int lig, int col){\n return tableau[lig][col];\n }", "title": "" }, { "docid": "d1ab80e39e5f9474315c8c403da33ca7", "score": "0.49809945", "text": "public String getAddress()\n/* */ {\n/* 325 */ return this.address;\n/* */ }", "title": "" }, { "docid": "7693e11b449ab169b381a179ba179e33", "score": "0.49768013", "text": "public Address getAddress() {\n\t\treturn addr;\n\t}", "title": "" }, { "docid": "8f2bf78d6335b73d08763dff8e7b0178", "score": "0.49759096", "text": "public String get(Column cd);", "title": "" }, { "docid": "ecaa0747ac770753ed73d7636ebd5d31", "score": "0.4973988", "text": "public java.lang.String getStreetAddress()\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_element_user(STREETADDRESS$0, 0);\r\n if (target == null)\r\n {\r\n return null;\r\n }\r\n return target.getStringValue();\r\n }\r\n }", "title": "" }, { "docid": "8aef467d90d744bd0c00ebc5509619c5", "score": "0.49709967", "text": "public double getAddress() {\r\n return address;\r\n }", "title": "" }, { "docid": "af52568b78ae49b727783abfa36997e1", "score": "0.49707818", "text": "java.lang.String getUnstructuredAddress();", "title": "" }, { "docid": "75dc2f7456b4004626e60fc0e851dfd1", "score": "0.4955454", "text": "public int getValue(String key){\n\t\tString value = this.sTable.get(key);\n\t\tSymbolTable symbolTable = SymbolTable.getSymbolTable();\n\t\treturn symbolTable.get(value);\n\t}", "title": "" }, { "docid": "f02ea6ac87fa3c4a800ff5d6372bfb32", "score": "0.49548182", "text": "public String getLocationkey () {\n\t\treturn locationkey;\n\t}", "title": "" }, { "docid": "d6e1e2d708f4660b98bbd36af06ceefe", "score": "0.49543262", "text": "String getRec_val();", "title": "" }, { "docid": "3ee01144bf8ea73e10cce590ea58fec5", "score": "0.49534282", "text": "long getStartAddress();", "title": "" }, { "docid": "9db9f240474afc15297a9c1a4ba01199", "score": "0.4950311", "text": "String address();", "title": "" } ]